pptx-react-viewer 4.3.0 → 4.5.0

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 (136) hide show
  1. package/CHANGELOG.md +143 -0
  2. package/dist/{AiChatPanel-UCEK3ZTD.mjs → AiChatPanel-HXGCZPUX.mjs} +4 -4
  3. package/dist/AiChatPanel-HXGCZPUX.mjs.br +0 -0
  4. package/dist/AiChatPanel-HXGCZPUX.mjs.gz +0 -0
  5. package/dist/{AiChatPanel-7UQA25FA.js → AiChatPanel-P2N6X2KB.js} +28 -28
  6. package/dist/AiChatPanel-P2N6X2KB.js.br +0 -0
  7. package/dist/AiChatPanel-P2N6X2KB.js.gz +0 -0
  8. package/dist/{Model3DScene-X3DS3ELB.js → Model3DScene-PIFMH2TU.js} +2 -2
  9. package/dist/Model3DScene-PIFMH2TU.js.br +0 -0
  10. package/dist/Model3DScene-PIFMH2TU.js.gz +0 -0
  11. package/dist/{Model3DScene-AI2JTBQM.mjs → Model3DScene-QXMMJRV3.mjs} +1 -1
  12. package/dist/Model3DScene-QXMMJRV3.mjs.br +0 -0
  13. package/dist/Model3DScene-QXMMJRV3.mjs.gz +0 -0
  14. package/dist/{chunk-E7O4HTS5.js → chunk-6FVYG27J.js} +211 -187
  15. package/dist/chunk-6FVYG27J.js.br +0 -0
  16. package/dist/chunk-6FVYG27J.js.gz +0 -0
  17. package/dist/{chunk-OBQ453H6.mjs → chunk-APAVAD2A.mjs} +37 -0
  18. package/dist/chunk-APAVAD2A.mjs.br +0 -0
  19. package/dist/chunk-APAVAD2A.mjs.gz +0 -0
  20. package/dist/{chunk-YQJOCGOK.mjs → chunk-DX2JCSQ4.mjs} +1 -1
  21. package/dist/chunk-DX2JCSQ4.mjs.br +0 -0
  22. package/dist/chunk-DX2JCSQ4.mjs.gz +0 -0
  23. package/dist/{chunk-RXYLPESV.mjs → chunk-IDV2ITXM.mjs} +607 -102
  24. package/dist/chunk-IDV2ITXM.mjs.br +0 -0
  25. package/dist/chunk-IDV2ITXM.mjs.gz +0 -0
  26. package/dist/{chunk-UTI4CLYJ.js → chunk-LYZQLV7R.js} +3417 -1722
  27. package/dist/chunk-LYZQLV7R.js.br +0 -0
  28. package/dist/chunk-LYZQLV7R.js.gz +0 -0
  29. package/dist/{chunk-SKTZSG7Q.mjs → chunk-PRXJ3J5W.mjs} +325 -48
  30. package/dist/chunk-PRXJ3J5W.mjs.br +0 -0
  31. package/dist/chunk-PRXJ3J5W.mjs.gz +0 -0
  32. package/dist/{chunk-KAO5USPE.js → chunk-T35BGKZG.js} +5 -5
  33. package/dist/chunk-T35BGKZG.js.br +0 -0
  34. package/dist/chunk-T35BGKZG.js.gz +0 -0
  35. package/dist/{chunk-W5KLLGVH.js → chunk-UMQV2432.js} +37 -0
  36. package/dist/chunk-UMQV2432.js.br +0 -0
  37. package/dist/chunk-UMQV2432.js.gz +0 -0
  38. package/dist/{chunk-42XEZVUQ.js → chunk-UZFCFYK6.js} +1667 -1162
  39. package/dist/chunk-UZFCFYK6.js.br +0 -0
  40. package/dist/chunk-UZFCFYK6.js.gz +0 -0
  41. package/dist/{chunk-3UWJWJCR.mjs → chunk-VZNIVS3X.mjs} +3397 -1723
  42. package/dist/chunk-VZNIVS3X.mjs.br +0 -0
  43. package/dist/chunk-VZNIVS3X.mjs.gz +0 -0
  44. package/dist/{chunk-Y7LI2JIR.js → chunk-Y4VRYQQS.js} +1123 -846
  45. package/dist/chunk-Y4VRYQQS.js.br +0 -0
  46. package/dist/chunk-Y4VRYQQS.js.gz +0 -0
  47. package/dist/{chunk-PLDG3CXW.mjs → chunk-ZF5S3HHW.mjs} +31 -7
  48. package/dist/chunk-ZF5S3HHW.mjs.br +0 -0
  49. package/dist/chunk-ZF5S3HHW.mjs.gz +0 -0
  50. package/dist/i18n/de.cjs +33 -0
  51. package/dist/i18n/de.cjs.br +0 -0
  52. package/dist/i18n/de.cjs.gz +0 -0
  53. package/dist/i18n/de.mjs +33 -0
  54. package/dist/i18n/de.mjs.br +0 -0
  55. package/dist/i18n/de.mjs.gz +0 -0
  56. package/dist/i18n/es.cjs +33 -0
  57. package/dist/i18n/es.cjs.br +0 -0
  58. package/dist/i18n/es.cjs.gz +0 -0
  59. package/dist/i18n/es.mjs +33 -0
  60. package/dist/i18n/es.mjs.br +0 -0
  61. package/dist/i18n/es.mjs.gz +0 -0
  62. package/dist/i18n/fr.cjs +33 -0
  63. package/dist/i18n/fr.cjs.br +0 -0
  64. package/dist/i18n/fr.cjs.gz +0 -0
  65. package/dist/i18n/fr.mjs +33 -0
  66. package/dist/i18n/fr.mjs.br +0 -0
  67. package/dist/i18n/fr.mjs.gz +0 -0
  68. package/dist/i18n/zh-CN.cjs +33 -0
  69. package/dist/i18n/zh-CN.cjs.br +0 -0
  70. package/dist/i18n/zh-CN.cjs.gz +0 -0
  71. package/dist/i18n/zh-CN.mjs +33 -0
  72. package/dist/i18n/zh-CN.mjs.br +0 -0
  73. package/dist/i18n/zh-CN.mjs.gz +0 -0
  74. package/dist/i18n.js +4 -4
  75. package/dist/i18n.js.br +0 -0
  76. package/dist/i18n.js.gz +0 -0
  77. package/dist/i18n.mjs +1 -1
  78. package/dist/i18n.mjs.br +0 -0
  79. package/dist/i18n.mjs.gz +0 -0
  80. package/dist/index.d.ts +116 -8
  81. package/dist/index.js +49 -49
  82. package/dist/index.js.br +0 -0
  83. package/dist/index.js.gz +0 -0
  84. package/dist/index.mjs +6 -6
  85. package/dist/index.mjs.br +0 -0
  86. package/dist/index.mjs.gz +0 -0
  87. package/dist/internals.d.ts +228 -44
  88. package/dist/internals.js +105 -105
  89. package/dist/internals.js.br +0 -0
  90. package/dist/internals.js.gz +0 -0
  91. package/dist/internals.mjs +4 -4
  92. package/dist/internals.mjs.br +0 -0
  93. package/dist/internals.mjs.gz +0 -0
  94. package/dist/pptx-viewer.css +1 -1
  95. package/dist/pptx-viewer.css.br +0 -0
  96. package/dist/pptx-viewer.css.gz +0 -0
  97. package/dist/viewer/index.d.ts +97 -8
  98. package/dist/viewer/index.js +27 -27
  99. package/dist/viewer/index.js.br +0 -0
  100. package/dist/viewer/index.js.gz +0 -0
  101. package/dist/viewer/index.mjs +6 -6
  102. package/dist/viewer/index.mjs.br +0 -0
  103. package/dist/viewer/index.mjs.gz +0 -0
  104. package/package.json +1 -1
  105. package/dist/AiChatPanel-7UQA25FA.js.br +0 -0
  106. package/dist/AiChatPanel-7UQA25FA.js.gz +0 -0
  107. package/dist/AiChatPanel-UCEK3ZTD.mjs.br +0 -0
  108. package/dist/AiChatPanel-UCEK3ZTD.mjs.gz +0 -0
  109. package/dist/Model3DScene-AI2JTBQM.mjs.br +0 -0
  110. package/dist/Model3DScene-AI2JTBQM.mjs.gz +0 -0
  111. package/dist/Model3DScene-X3DS3ELB.js.br +0 -0
  112. package/dist/Model3DScene-X3DS3ELB.js.gz +0 -0
  113. package/dist/chunk-3UWJWJCR.mjs.br +0 -0
  114. package/dist/chunk-3UWJWJCR.mjs.gz +0 -0
  115. package/dist/chunk-42XEZVUQ.js.br +0 -0
  116. package/dist/chunk-42XEZVUQ.js.gz +0 -0
  117. package/dist/chunk-E7O4HTS5.js.br +0 -0
  118. package/dist/chunk-E7O4HTS5.js.gz +0 -0
  119. package/dist/chunk-KAO5USPE.js.br +0 -0
  120. package/dist/chunk-KAO5USPE.js.gz +0 -0
  121. package/dist/chunk-OBQ453H6.mjs.br +0 -0
  122. package/dist/chunk-OBQ453H6.mjs.gz +0 -0
  123. package/dist/chunk-PLDG3CXW.mjs.br +0 -0
  124. package/dist/chunk-PLDG3CXW.mjs.gz +0 -0
  125. package/dist/chunk-RXYLPESV.mjs.br +0 -0
  126. package/dist/chunk-RXYLPESV.mjs.gz +0 -0
  127. package/dist/chunk-SKTZSG7Q.mjs.br +0 -0
  128. package/dist/chunk-SKTZSG7Q.mjs.gz +0 -0
  129. package/dist/chunk-UTI4CLYJ.js.br +0 -0
  130. package/dist/chunk-UTI4CLYJ.js.gz +0 -0
  131. package/dist/chunk-W5KLLGVH.js.br +0 -0
  132. package/dist/chunk-W5KLLGVH.js.gz +0 -0
  133. package/dist/chunk-Y7LI2JIR.js.br +0 -0
  134. package/dist/chunk-Y7LI2JIR.js.gz +0 -0
  135. package/dist/chunk-YQJOCGOK.mjs.br +0 -0
  136. package/dist/chunk-YQJOCGOK.mjs.gz +0 -0
@@ -1763,6 +1763,12 @@ var translations14 = {
1763
1763
  "pptx.compare.noDifferences": "\u6CA1\u6709\u5DEE\u5F02",
1764
1764
  "pptx.compare.summary": "\u6DFB\u52A0\u4E86 {{added}}\uFF0C\u5220\u9664\u4E86 {{removed}}\uFF0C\u66F4\u6539\u4E86 {{changed}}",
1765
1765
  "pptx.compare.title": "\u6BD4\u8F83",
1766
+ "pptx.canvasContextMenu.ariaLabel": "\u753B\u5E03\u53F3\u952E\u83DC\u5355",
1767
+ "pptx.canvasContextMenu.formatBackground": "\u8BBE\u7F6E\u80CC\u666F\u683C\u5F0F...",
1768
+ "pptx.canvasContextMenu.gridAndGuides": "\u7F51\u683C\u548C\u53C2\u8003\u7EBF",
1769
+ "pptx.canvasContextMenu.layout": "\u7248\u5F0F",
1770
+ "pptx.canvasContextMenu.resetSlide": "\u91CD\u7F6E\u5E7B\u706F\u7247",
1771
+ "pptx.canvasContextMenu.ruler": "\u6807\u5C3A",
1766
1772
  "pptx.contextMenu.addComment": "\u6DFB\u52A0\u6279\u6CE8",
1767
1773
  "pptx.contextMenu.bringForward": "\u4E0A\u79FB\u4E00\u5C42",
1768
1774
  "pptx.contextMenu.bringToFront": "\u7F6E\u4E8E\u9876\u5C42",
@@ -1772,7 +1778,10 @@ var translations14 = {
1772
1778
  "pptx.contextMenu.deleteColumn": "\u5220\u9664\u5217",
1773
1779
  "pptx.contextMenu.deleteRow": "\u5220\u9664\u884C",
1774
1780
  "pptx.contextMenu.duplicate": "\u590D\u5236",
1781
+ "pptx.contextMenu.editAltText": "\u7F16\u8F91\u66FF\u6362\u6587\u5B57...",
1775
1782
  "pptx.contextMenu.editHyperlink": "\u7F16\u8F91\u8D85\u94FE\u63A5",
1783
+ "pptx.contextMenu.editText": "\u7F16\u8F91\u6587\u5B57",
1784
+ "pptx.contextMenu.formatShape": "\u8BBE\u7F6E\u5F62\u72B6\u683C\u5F0F...",
1776
1785
  "pptx.contextMenu.group": "\u7EC4\u5408",
1777
1786
  "pptx.contextMenu.insertColumnLeft": "\u5411\u5DE6\u63D2\u5165\u5217",
1778
1787
  "pptx.contextMenu.insertColumnRight": "\u5728\u53F3\u4FA7\u63D2\u5165\u5217",
@@ -1781,10 +1790,18 @@ var translations14 = {
1781
1790
  "pptx.contextMenu.mergeCells": "\u5411\u53F3\u5408\u5E76",
1782
1791
  "pptx.contextMenu.mergeSelectedCells": "\u5408\u5E76\u9009\u5B9A\u7684\u5355\u5143\u683C",
1783
1792
  "pptx.contextMenu.paste": "\u7C98\u8D34",
1793
+ "pptx.contextMenu.saveAsPicture": "\u53E6\u5B58\u4E3A\u56FE\u7247...",
1784
1794
  "pptx.contextMenu.sendBackward": "\u4E0B\u79FB\u4E00\u5C42",
1785
1795
  "pptx.contextMenu.sendToBack": "\u7F6E\u4E8E\u5E95\u5C42",
1796
+ "pptx.contextMenu.sizeAndPosition": "\u5927\u5C0F\u548C\u4F4D\u7F6E...",
1786
1797
  "pptx.contextMenu.splitCell": "\u62C6\u5206\u5355\u5143\u683C",
1787
1798
  "pptx.contextMenu.ungroup": "\u53D6\u6D88\u7EC4\u5408",
1799
+ "pptx.pasteSpecial.dialogTitle": "\u9009\u62E9\u6027\u7C98\u8D34",
1800
+ "pptx.pasteSpecial.keepSourceFormatting": "\u4FDD\u7559\u6E90\u683C\u5F0F",
1801
+ "pptx.pasteSpecial.keepTextOnly": "\u53EA\u4FDD\u7559\u6587\u672C",
1802
+ "pptx.pasteSpecial.optionsLabel": "\u7C98\u8D34\u9009\u9879",
1803
+ "pptx.pasteSpecial.picture": "\u56FE\u7247",
1804
+ "pptx.pasteSpecial.useDestinationTheme": "\u4F7F\u7528\u76EE\u6807\u4E3B\u9898",
1788
1805
  "pptx.hyperlink.actionEndShow": "\u7ED3\u675F\u653E\u6620",
1789
1806
  "pptx.hyperlink.actionFirstSlide": "\u7B2C\u4E00\u5F20\u5E7B\u706F\u7247",
1790
1807
  "pptx.hyperlink.actionLabel": "\u64CD\u4F5C",
@@ -2124,6 +2141,7 @@ var translations17 = {
2124
2141
  "pptx.media.startAutomatically": "\u81EA\u52A8",
2125
2142
  "pptx.media.playAcrossSlides": "\u8DE8\u5E7B\u706F\u7247\u64AD\u653E",
2126
2143
  "pptx.media.fullScreen": "\u5168\u5C4F",
2144
+ "pptx.media.onlineVideoTitle": "\u5728\u7EBF\u89C6\u9891",
2127
2145
  "pptx.media.hideWhenNotPlaying": "\u4E0D\u64AD\u653E\u65F6\u9690\u85CF",
2128
2146
  "pptx.media.bookmarks": "\u4E66\u7B7E",
2129
2147
  "pptx.media.bookmark": "\u4E66\u7B7E",
@@ -2485,6 +2503,15 @@ var translations19 = {
2485
2503
  "pptx.slideSorter.contextMenu.hideSlides": "\u9690\u85CF\u5E7B\u706F\u7247",
2486
2504
  "pptx.slideSorter.contextMenu.paste": "\u7C98\u8D34",
2487
2505
  "pptx.slideSorter.contextMenu.showSlides": "\u663E\u793A\u5E7B\u706F\u7247",
2506
+ "pptx.slidesPane.contextMenu.newSlide": "\u65B0\u5EFA\u5E7B\u706F\u7247",
2507
+ "pptx.slidesPane.contextMenu.duplicate": "\u590D\u5236\u5E7B\u706F\u7247",
2508
+ "pptx.slidesPane.contextMenu.duplicateCount": "\u590D\u5236 {{count}} \u5F20\u5E7B\u706F\u7247",
2509
+ "pptx.slidesPane.contextMenu.delete": "\u5220\u9664\u5E7B\u706F\u7247",
2510
+ "pptx.slidesPane.contextMenu.deleteCount": "\u5220\u9664 {{count}} \u5F20\u5E7B\u706F\u7247",
2511
+ "pptx.slidesPane.contextMenu.layout": "\u7248\u5F0F",
2512
+ "pptx.slidesPane.contextMenu.hide": "\u9690\u85CF\u5E7B\u706F\u7247",
2513
+ "pptx.slidesPane.contextMenu.show": "\u663E\u793A\u5E7B\u706F\u7247",
2514
+ "pptx.slidesPane.contextMenu.addSection": "\u6DFB\u52A0\u8282",
2488
2515
  "pptx.mobileBar.ariaLabel": "\u7F16\u8F91\u5668\u64CD\u4F5C",
2489
2516
  "pptx.mobileBar.slideControls": "\u5E7B\u706F\u7247\u63A7\u4EF6",
2490
2517
  "pptx.mobileBar.previousSlide": "\u4E0A\u4E00\u5F20\u5E7B\u706F\u7247",
@@ -2766,6 +2793,12 @@ var translations21 = {
2766
2793
  "pptx.transition.morphOption.byObject": "\u6309\u5BF9\u8C61",
2767
2794
  "pptx.transition.morphOption.byWord": "\u6309\u5B57\u8BCD",
2768
2795
  "pptx.transition.morphOption.byChar": "\u6309\u5B57\u7B26",
2796
+ "pptx.transition.pattern": "\u56FE\u6848",
2797
+ "pptx.transition.pattern.diamond": "\u83F1\u5F62",
2798
+ "pptx.transition.pattern.hexagon": "\u516D\u8FB9\u5F62",
2799
+ "pptx.transition.pattern.strip": "\u6761\u5E26",
2800
+ "pptx.transition.pattern.rectangle": "\u77E9\u5F62",
2801
+ "pptx.transition.thruBlk": "\u7ECF\u9ED1\u573A\u8FC7\u6E21",
2769
2802
  "pptx.keepAnnotations.title": "\u4FDD\u7559\u58A8\u8FF9\u6807\u6CE8\uFF1F",
2770
2803
  "pptx.keepAnnotations.description": "\u60A8\u5728 {{slides}} \u5F20\u5E7B\u706F\u7247\u4E0A\u6DFB\u52A0\u4E86 {{count}} \u6761\u58A8\u8FF9\u6807\u6CE8\u3002\u8981\u5C06\u5176\u4FDD\u7559\u5728\u5E7B\u706F\u7247\u4E0A\uFF0C\u8FD8\u662F\u653E\u5F03\uFF1F",
2771
2804
  "pptx.keepAnnotations.discard": "\u653E\u5F03",
Binary file
Binary file
@@ -1737,6 +1737,12 @@ var translations14 = {
1737
1737
  "pptx.compare.noDifferences": "\u6CA1\u6709\u5DEE\u5F02",
1738
1738
  "pptx.compare.summary": "\u6DFB\u52A0\u4E86 {{added}}\uFF0C\u5220\u9664\u4E86 {{removed}}\uFF0C\u66F4\u6539\u4E86 {{changed}}",
1739
1739
  "pptx.compare.title": "\u6BD4\u8F83",
1740
+ "pptx.canvasContextMenu.ariaLabel": "\u753B\u5E03\u53F3\u952E\u83DC\u5355",
1741
+ "pptx.canvasContextMenu.formatBackground": "\u8BBE\u7F6E\u80CC\u666F\u683C\u5F0F...",
1742
+ "pptx.canvasContextMenu.gridAndGuides": "\u7F51\u683C\u548C\u53C2\u8003\u7EBF",
1743
+ "pptx.canvasContextMenu.layout": "\u7248\u5F0F",
1744
+ "pptx.canvasContextMenu.resetSlide": "\u91CD\u7F6E\u5E7B\u706F\u7247",
1745
+ "pptx.canvasContextMenu.ruler": "\u6807\u5C3A",
1740
1746
  "pptx.contextMenu.addComment": "\u6DFB\u52A0\u6279\u6CE8",
1741
1747
  "pptx.contextMenu.bringForward": "\u4E0A\u79FB\u4E00\u5C42",
1742
1748
  "pptx.contextMenu.bringToFront": "\u7F6E\u4E8E\u9876\u5C42",
@@ -1746,7 +1752,10 @@ var translations14 = {
1746
1752
  "pptx.contextMenu.deleteColumn": "\u5220\u9664\u5217",
1747
1753
  "pptx.contextMenu.deleteRow": "\u5220\u9664\u884C",
1748
1754
  "pptx.contextMenu.duplicate": "\u590D\u5236",
1755
+ "pptx.contextMenu.editAltText": "\u7F16\u8F91\u66FF\u6362\u6587\u5B57...",
1749
1756
  "pptx.contextMenu.editHyperlink": "\u7F16\u8F91\u8D85\u94FE\u63A5",
1757
+ "pptx.contextMenu.editText": "\u7F16\u8F91\u6587\u5B57",
1758
+ "pptx.contextMenu.formatShape": "\u8BBE\u7F6E\u5F62\u72B6\u683C\u5F0F...",
1750
1759
  "pptx.contextMenu.group": "\u7EC4\u5408",
1751
1760
  "pptx.contextMenu.insertColumnLeft": "\u5411\u5DE6\u63D2\u5165\u5217",
1752
1761
  "pptx.contextMenu.insertColumnRight": "\u5728\u53F3\u4FA7\u63D2\u5165\u5217",
@@ -1755,10 +1764,18 @@ var translations14 = {
1755
1764
  "pptx.contextMenu.mergeCells": "\u5411\u53F3\u5408\u5E76",
1756
1765
  "pptx.contextMenu.mergeSelectedCells": "\u5408\u5E76\u9009\u5B9A\u7684\u5355\u5143\u683C",
1757
1766
  "pptx.contextMenu.paste": "\u7C98\u8D34",
1767
+ "pptx.contextMenu.saveAsPicture": "\u53E6\u5B58\u4E3A\u56FE\u7247...",
1758
1768
  "pptx.contextMenu.sendBackward": "\u4E0B\u79FB\u4E00\u5C42",
1759
1769
  "pptx.contextMenu.sendToBack": "\u7F6E\u4E8E\u5E95\u5C42",
1770
+ "pptx.contextMenu.sizeAndPosition": "\u5927\u5C0F\u548C\u4F4D\u7F6E...",
1760
1771
  "pptx.contextMenu.splitCell": "\u62C6\u5206\u5355\u5143\u683C",
1761
1772
  "pptx.contextMenu.ungroup": "\u53D6\u6D88\u7EC4\u5408",
1773
+ "pptx.pasteSpecial.dialogTitle": "\u9009\u62E9\u6027\u7C98\u8D34",
1774
+ "pptx.pasteSpecial.keepSourceFormatting": "\u4FDD\u7559\u6E90\u683C\u5F0F",
1775
+ "pptx.pasteSpecial.keepTextOnly": "\u53EA\u4FDD\u7559\u6587\u672C",
1776
+ "pptx.pasteSpecial.optionsLabel": "\u7C98\u8D34\u9009\u9879",
1777
+ "pptx.pasteSpecial.picture": "\u56FE\u7247",
1778
+ "pptx.pasteSpecial.useDestinationTheme": "\u4F7F\u7528\u76EE\u6807\u4E3B\u9898",
1762
1779
  "pptx.hyperlink.actionEndShow": "\u7ED3\u675F\u653E\u6620",
1763
1780
  "pptx.hyperlink.actionFirstSlide": "\u7B2C\u4E00\u5F20\u5E7B\u706F\u7247",
1764
1781
  "pptx.hyperlink.actionLabel": "\u64CD\u4F5C",
@@ -2098,6 +2115,7 @@ var translations17 = {
2098
2115
  "pptx.media.startAutomatically": "\u81EA\u52A8",
2099
2116
  "pptx.media.playAcrossSlides": "\u8DE8\u5E7B\u706F\u7247\u64AD\u653E",
2100
2117
  "pptx.media.fullScreen": "\u5168\u5C4F",
2118
+ "pptx.media.onlineVideoTitle": "\u5728\u7EBF\u89C6\u9891",
2101
2119
  "pptx.media.hideWhenNotPlaying": "\u4E0D\u64AD\u653E\u65F6\u9690\u85CF",
2102
2120
  "pptx.media.bookmarks": "\u4E66\u7B7E",
2103
2121
  "pptx.media.bookmark": "\u4E66\u7B7E",
@@ -2459,6 +2477,15 @@ var translations19 = {
2459
2477
  "pptx.slideSorter.contextMenu.hideSlides": "\u9690\u85CF\u5E7B\u706F\u7247",
2460
2478
  "pptx.slideSorter.contextMenu.paste": "\u7C98\u8D34",
2461
2479
  "pptx.slideSorter.contextMenu.showSlides": "\u663E\u793A\u5E7B\u706F\u7247",
2480
+ "pptx.slidesPane.contextMenu.newSlide": "\u65B0\u5EFA\u5E7B\u706F\u7247",
2481
+ "pptx.slidesPane.contextMenu.duplicate": "\u590D\u5236\u5E7B\u706F\u7247",
2482
+ "pptx.slidesPane.contextMenu.duplicateCount": "\u590D\u5236 {{count}} \u5F20\u5E7B\u706F\u7247",
2483
+ "pptx.slidesPane.contextMenu.delete": "\u5220\u9664\u5E7B\u706F\u7247",
2484
+ "pptx.slidesPane.contextMenu.deleteCount": "\u5220\u9664 {{count}} \u5F20\u5E7B\u706F\u7247",
2485
+ "pptx.slidesPane.contextMenu.layout": "\u7248\u5F0F",
2486
+ "pptx.slidesPane.contextMenu.hide": "\u9690\u85CF\u5E7B\u706F\u7247",
2487
+ "pptx.slidesPane.contextMenu.show": "\u663E\u793A\u5E7B\u706F\u7247",
2488
+ "pptx.slidesPane.contextMenu.addSection": "\u6DFB\u52A0\u8282",
2462
2489
  "pptx.mobileBar.ariaLabel": "\u7F16\u8F91\u5668\u64CD\u4F5C",
2463
2490
  "pptx.mobileBar.slideControls": "\u5E7B\u706F\u7247\u63A7\u4EF6",
2464
2491
  "pptx.mobileBar.previousSlide": "\u4E0A\u4E00\u5F20\u5E7B\u706F\u7247",
@@ -2740,6 +2767,12 @@ var translations21 = {
2740
2767
  "pptx.transition.morphOption.byObject": "\u6309\u5BF9\u8C61",
2741
2768
  "pptx.transition.morphOption.byWord": "\u6309\u5B57\u8BCD",
2742
2769
  "pptx.transition.morphOption.byChar": "\u6309\u5B57\u7B26",
2770
+ "pptx.transition.pattern": "\u56FE\u6848",
2771
+ "pptx.transition.pattern.diamond": "\u83F1\u5F62",
2772
+ "pptx.transition.pattern.hexagon": "\u516D\u8FB9\u5F62",
2773
+ "pptx.transition.pattern.strip": "\u6761\u5E26",
2774
+ "pptx.transition.pattern.rectangle": "\u77E9\u5F62",
2775
+ "pptx.transition.thruBlk": "\u7ECF\u9ED1\u573A\u8FC7\u6E21",
2743
2776
  "pptx.keepAnnotations.title": "\u4FDD\u7559\u58A8\u8FF9\u6807\u6CE8\uFF1F",
2744
2777
  "pptx.keepAnnotations.description": "\u60A8\u5728 {{slides}} \u5F20\u5E7B\u706F\u7247\u4E0A\u6DFB\u52A0\u4E86 {{count}} \u6761\u58A8\u8FF9\u6807\u6CE8\u3002\u8981\u5C06\u5176\u4FDD\u7559\u5728\u5E7B\u706F\u7247\u4E0A\uFF0C\u8FD8\u662F\u653E\u5F03\uFF1F",
2745
2778
  "pptx.keepAnnotations.discard": "\u653E\u5F03",
Binary file
Binary file
package/dist/i18n.js CHANGED
@@ -1,19 +1,19 @@
1
1
  'use strict';
2
2
 
3
- var chunkW5KLLGVH_js = require('./chunk-W5KLLGVH.js');
3
+ var chunkUMQV2432_js = require('./chunk-UMQV2432.js');
4
4
  require('./chunk-4VNS5WPM.js');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "LOCALE_CATALOG", {
9
9
  enumerable: true,
10
- get: function () { return chunkW5KLLGVH_js.LOCALE_CATALOG; }
10
+ get: function () { return chunkUMQV2432_js.LOCALE_CATALOG; }
11
11
  });
12
12
  Object.defineProperty(exports, "keyToLabel", {
13
13
  enumerable: true,
14
- get: function () { return chunkW5KLLGVH_js.keyToLabel; }
14
+ get: function () { return chunkUMQV2432_js.keyToLabel; }
15
15
  });
16
16
  Object.defineProperty(exports, "translationsEn", {
17
17
  enumerable: true,
18
- get: function () { return chunkW5KLLGVH_js.translationsEn; }
18
+ get: function () { return chunkUMQV2432_js.translationsEn; }
19
19
  });
package/dist/i18n.js.br CHANGED
Binary file
package/dist/i18n.js.gz CHANGED
Binary file
package/dist/i18n.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export { LOCALE_CATALOG, keyToLabel, translationsEn } from './chunk-OBQ453H6.mjs';
1
+ export { LOCALE_CATALOG, keyToLabel, translationsEn } from './chunk-APAVAD2A.mjs';
2
2
  import './chunk-XGB3TDIC.mjs';
package/dist/i18n.mjs.br CHANGED
Binary file
package/dist/i18n.mjs.gz CHANGED
Binary file
package/dist/index.d.ts CHANGED
@@ -1713,6 +1713,16 @@ interface TextStyle {
1713
1713
  hyperlinkHighlightClick?: boolean;
1714
1714
  /** Whether hyperlink ends a sound (`a:hlinkClick/@endSnd`). */
1715
1715
  hyperlinkEndSound?: boolean;
1716
+ /**
1717
+ * Raw `a:hlinkClick/a:extLst` child, preserved verbatim for round-trip.
1718
+ * Carries vendor extensions this engine does not interpret, most commonly
1719
+ * `ahyp:hlinkClr` (Microsoft's "hyperlink color" extension,
1720
+ * `{A12FA001-AC4F-418D-AE19-62706E023703}`), which records whether a
1721
+ * hyperlink run should paint with the theme's text colour instead of the
1722
+ * hyperlink colour. Dropping the whole `a:extLst` silently reverted such a
1723
+ * run to the default (themed) hyperlink colour on save.
1724
+ */
1725
+ hyperlinkExtensionXml?: XmlObject;
1716
1726
  /** Kumimoji (ideographic text combining) flag for vertical CJK text (`a:rPr/@kumimoji`). */
1717
1727
  kumimoji?: boolean;
1718
1728
  /** Normalize height flag (`a:rPr/@normalizeH`). */
@@ -1815,6 +1825,15 @@ interface TextStyle {
1815
1825
  textInnerShadowOffsetX?: number;
1816
1826
  /** Text inner shadow vertical offset in px. */
1817
1827
  textInnerShadowOffsetY?: number;
1828
+ /**
1829
+ * Original inner-shadow colour-choice XML (`a:innerShdw`'s
1830
+ * `a:prstClr`/`a:schemeClr`/`a:srgbClr`/… child), preserved verbatim so an
1831
+ * authored preset or theme colour round-trips instead of always being
1832
+ * re-serialized as a resolved `a:srgbClr`. Mirrors {@link textGlowColorXml}.
1833
+ */
1834
+ textInnerShadowColorXml?: XmlObject;
1835
+ /** Theme colour slot the inner shadow colour resolved from, when it is `a:schemeClr`. */
1836
+ textInnerShadowColorRef?: PptxThemeColorRef;
1818
1837
  /** Preset shadow type from `a:prstShdw/@prst` (e.g. "shdw1"..."shdw20"). */
1819
1838
  textPresetShadowName?: string;
1820
1839
  /** Preset shadow colour as hex string. */
@@ -1827,6 +1846,18 @@ interface TextStyle {
1827
1846
  textPresetShadowDirection?: number;
1828
1847
  /** Text blur effect radius in px (`a:blur`). */
1829
1848
  textBlurRadius?: number;
1849
+ /**
1850
+ * Text soft-edge radius in px (`a:softEdge/@rad`).
1851
+ *
1852
+ * Feathers the glyph's own edges (a uniform blur of the alpha silhouette,
1853
+ * the same effect a shape's `a:softEdge` gives its fill), unrelated to
1854
+ * `a:blur` (which blurs the whole run, colour included) or a shadow. Never
1855
+ * parsed before this field existed, so `a:softEdge` on a run was silently
1856
+ * dropped: PowerPoint fades the glyphs to near-transparent at their
1857
+ * outline (COM-verified, `audit-text` slide 14's "SOFTEDGE" run), while
1858
+ * the viewer painted them fully crisp.
1859
+ */
1860
+ textSoftEdgeRadius?: number;
1830
1861
  /**
1831
1862
  * Raw `a:effectDag` XML node from `a:rPr`, preserved verbatim for
1832
1863
  * round-trip serialisation. Mirrors the shape-level
@@ -1866,6 +1897,15 @@ interface TextStyle {
1866
1897
  textGlowRadius?: number;
1867
1898
  /** Text glow opacity (0-1). */
1868
1899
  textGlowOpacity?: number;
1900
+ /**
1901
+ * Original glow colour-choice XML (`a:glow`'s `a:schemeClr`/`a:srgbClr`/…
1902
+ * child), preserved verbatim so a theme colour reference round-trips
1903
+ * instead of always being re-serialized as a resolved `a:srgbClr` (which
1904
+ * cuts the glow off from theme/Recolor changes).
1905
+ */
1906
+ textGlowColorXml?: XmlObject;
1907
+ /** Theme colour slot the glow colour resolved from, when it is `a:schemeClr`. */
1908
+ textGlowColorRef?: PptxThemeColorRef;
1869
1909
  /** Text reflection enabled flag. */
1870
1910
  textReflection?: boolean;
1871
1911
  /** Text reflection blur radius in px. */
@@ -2002,6 +2042,18 @@ interface BulletInfo {
2002
2042
  paragraphIndex?: number;
2003
2043
  /** Bullet font family from `a:buFont`. */
2004
2044
  fontFamily?: string;
2045
+ /**
2046
+ * PANOSE font-matching hint from `a:buFont/@panose`. `a:buFont` is a
2047
+ * CT_TextFont, the same complex type as `a:latin`/`a:ea`/`a:cs`/`a:sym`
2048
+ * (which carry the equivalent `TextStyle.latinFontPanose` etc.), so a
2049
+ * bullet's own PANOSE/pitch-family/charset decide the fallback glyph
2050
+ * PowerPoint substitutes when the named typeface is missing.
2051
+ */
2052
+ fontPanose?: string;
2053
+ /** Font pitch-and-family byte from `a:buFont/@pitchFamily`. */
2054
+ fontPitchFamily?: number;
2055
+ /** Font character-set byte from `a:buFont/@charset`. */
2056
+ fontCharset?: number;
2005
2057
  /** Bullet size as percentage of text font size from `a:buSzPct`. */
2006
2058
  sizePercent?: number;
2007
2059
  /** Bullet size in points from `a:buSzPts`. */
@@ -3438,6 +3490,15 @@ interface PptxChartHistogramOptions {
3438
3490
  intervalClosed?: 'l' | 'r';
3439
3491
  underflow?: number | 'auto';
3440
3492
  overflow?: number | 'auto';
3493
+ /**
3494
+ * `c:layoutPr/cx:aggregation` was authored instead of `cx:binning`: the
3495
+ * raw rows are CATEGORICAL (a Pareto chart's `clusteredColumn` series
3496
+ * counting occurrences of each authored category, COM-verified against
3497
+ * charts-com.pptx slide 31 / chartEx6.xml), not a numeric range to bin.
3498
+ * Mutually exclusive with `binSize`/`binCount`/`intervalClosed`, which
3499
+ * only apply to a true numeric-value histogram.
3500
+ */
3501
+ aggregateByCategory?: boolean;
3441
3502
  }
3442
3503
  /** Office 2016 ChartEx waterfall series layout options. */
3443
3504
  interface PptxChartWaterfallOptions {
@@ -4102,6 +4163,18 @@ interface PptxChartData {
4102
4163
  * the source" and callers should treat it as `true`. Surface only.
4103
4164
  */
4104
4165
  wireframe?: boolean;
4166
+ /**
4167
+ * Whether the surface chart is the 2-D "top view" projection
4168
+ * (`c:surfaceChart`, PowerPoint's "Contour" / "Wireframe Contour" types)
4169
+ * rather than the 3-D isometric one (`c:surface3DChart`, "3-D Surface" /
4170
+ * "3-D Surface (Wireframe)"). Both element names map to chart type
4171
+ * `"surface"`; this bit is the only thing that tells the renderer which
4172
+ * of the two projections PowerPoint actually drew, since a top-view
4173
+ * surface has no Z-axis at all (only category and series axes) while the
4174
+ * 3-D one draws all three. Surface only; `undefined` for every other
4175
+ * chart type.
4176
+ */
4177
+ surfaceTopView?: boolean;
4105
4178
  /**
4106
4179
  * Scatter presentation mode (`c:scatterChart/c:scatterStyle/@val`).
4107
4180
  *
@@ -7291,11 +7364,17 @@ interface ZoomPptxElement extends PptxElementBase, PptxImageProperties {
7291
7364
  * `zmPr/@returnToParent` (MS-PPTX `CT_ZoomObjectProperties`, shared by all
7292
7365
  * three Zoom kinds): whether continuing forward from the destination slide
7293
7366
  * during a live show returns to this Zoom's origin slide instead of
7294
- * advancing linearly through the deck. OOXML default is `true` when the
7295
- * attribute is present but this codebase leaves it `undefined` when the
7296
- * source XML omits it, so a round-trip never fabricates the attribute.
7297
- * For `zoomType: 'summary'`, this mirrors the first tile's own value; see
7298
- * {@link SummaryZoomTarget.returnToParent} for the per-tile value.
7367
+ * advancing linearly through the deck. The schema declares `<xsd:attribute
7368
+ * name="returnToParent" type="xsd:boolean" use="optional" default="true"/>`,
7369
+ * so an ABSENT attribute means `true`, not `false`. This codebase still
7370
+ * leaves the field `undefined` (rather than fabricating `true`) when the
7371
+ * source XML omits it, so a round-trip never invents an attribute the
7372
+ * source never had; a CONSUMER of this field (playback, e.g.
7373
+ * `pptx-viewer-shared`'s `resolveZoomNavigationTarget`) must read
7374
+ * `returnToParent !== false`, not `Boolean(returnToParent)`, to get the
7375
+ * spec-correct effective value. For `zoomType: 'summary'`, this mirrors the
7376
+ * first tile's own value; see {@link SummaryZoomTarget.returnToParent} for
7377
+ * the per-tile value.
7299
7378
  */
7300
7379
  returnToParent?: boolean;
7301
7380
  /**
@@ -9295,7 +9374,12 @@ interface PptxSlideTransition {
9295
9374
  spokes?: number;
9296
9375
  /** Pattern type for shred transition. */
9297
9376
  pattern?: string;
9298
- /** Through-black flag for blinds/checker (OOXML `@_thruBlk`). */
9377
+ /**
9378
+ * Through-black flag (OOXML `@_thruBlk`). COM-verified to actually apply to
9379
+ * `cut` and `fade` (see {@link TRANSITION_THRUBLK_TYPES}); parsed generically
9380
+ * off any standard transition child so an unexpected authored value still
9381
+ * round-trips.
9382
+ */
9299
9383
  thruBlk?: boolean;
9300
9384
  /** Split orientation (horz/vert) parsed from `@_orient`. */
9301
9385
  orient?: PptxSplitOrientation;
@@ -12190,7 +12274,7 @@ interface ReflectionWrapperStyle {
12190
12274
  top: string;
12191
12275
  width: string;
12192
12276
  height: string;
12193
- /** Mirror (`scaleY(-1)`) composed with `@sx`/`@sy`/`@kx`/`@ky`/`@rot`. */
12277
+ /** `scale(@sx, @sy)` (the sign of `@sy` IS the mirror) composed with `@kx`/`@ky`/`@rot`. */
12194
12278
  transform: string;
12195
12279
  /** Anchor point for the transform above, from `@algn` (default `center top`). */
12196
12280
  transformOrigin: string;
@@ -13153,6 +13237,28 @@ interface EditorImagePasteOptions {
13153
13237
  insertElement(element: ImagePptxElement): void;
13154
13238
  }
13155
13239
  //#endregion
13240
+ //#region src/render/zoom-return-navigation.d.ts
13241
+ /**
13242
+ * The navigation-relevant fields of a Zoom click target, independent of
13243
+ * `zoomType`.
13244
+ *
13245
+ * `returnToParent` is already resolved to its EFFECTIVE value here (not the
13246
+ * raw, possibly-`undefined` `ZoomPptxElement`/`SummaryZoomTarget` field):
13247
+ * `CT_ZoomObjectProperties/@returnToParent` (MS-PPTX) is `<xsd:attribute
13248
+ * name="returnToParent" type="xsd:boolean" use="optional" default="true"/>`,
13249
+ * so an ABSENT attribute means true, not false. Core deliberately stores
13250
+ * `undefined` rather than fabricating `true` (so a round-trip never invents
13251
+ * an attribute the source never had), which makes `Boolean(x)` the wrong way
13252
+ * to read it; the two `resolve*NavigationTarget` functions below are the only
13253
+ * place that distinction should be made.
13254
+ */
13255
+ interface ZoomNavigationTarget {
13256
+ targetSlideIndex: number;
13257
+ targetSectionId?: string;
13258
+ returnToParent: boolean;
13259
+ transitionDurationMs?: number;
13260
+ }
13261
+ //#endregion
13156
13262
  //#region src/render/account.d.ts
13157
13263
  /** Local-only display profile shown in File > Account. Never sent anywhere; purely cosmetic. */
13158
13264
  interface ViewerProfile {
@@ -14416,6 +14522,8 @@ interface SlideCanvasProps {
14416
14522
  onContextMenu: (elementId: string, e: React$1__default.MouseEvent) => void;
14417
14523
  /** Called when the user presses mouse down on empty canvas space. */
14418
14524
  onCanvasMouseDown?: (e: React$1__default.MouseEvent) => void;
14525
+ /** Right-click on empty canvas (no element hit); opens the canvas context menu. */
14526
+ onCanvasContextMenu?: (e: React$1__default.MouseEvent) => void;
14419
14527
  onResizePointerDown: (elementId: string, e: React$1__default.MouseEvent, handle: string) => void;
14420
14528
  onAdjustmentPointerDown: (elementId: string, e: React$1__default.MouseEvent, descriptor: ShapeAdjustmentHandleDescriptor) => void;
14421
14529
  /** Commit a new rotation (degrees) when the on-canvas rotate handle is dragged. */
@@ -14494,7 +14602,7 @@ interface SlideCanvasProps {
14494
14602
  /** All slides in the presentation (for zoom element thumbnails). */
14495
14603
  allSlides?: readonly PptxSlide[];
14496
14604
  /** Callback fired when a zoom element is clicked in presentation mode. */
14497
- onZoomClick?: (targetSlideIndex: number, returnSlideIndex: number) => void;
14605
+ onZoomClick?: (target: ZoomNavigationTarget, returnSlideIndex: number) => void;
14498
14606
  /** Index of the current slide (for zoom return navigation). */
14499
14607
  sourceSlideIndex?: number;
14500
14608
  /** Context for text field placeholder substitution (slide number, header/footer, etc.). */