pptx-react-viewer 3.9.0 → 3.10.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 (161) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/{AiChatPanel-II6VOOAL.mjs → AiChatPanel-BQSUE2OO.mjs} +4 -4
  3. package/dist/AiChatPanel-BQSUE2OO.mjs.br +0 -0
  4. package/dist/AiChatPanel-BQSUE2OO.mjs.gz +0 -0
  5. package/dist/{AiChatPanel-3A42W7RW.js → AiChatPanel-NSVSBJC7.js} +25 -25
  6. package/dist/AiChatPanel-NSVSBJC7.js.br +0 -0
  7. package/dist/AiChatPanel-NSVSBJC7.js.gz +0 -0
  8. package/dist/{Area3DChartScene-JM3CQ3WQ.mjs → Area3DChartScene-2FQHPGNE.mjs} +1 -1
  9. package/dist/{Area3DChartScene-JM3CQ3WQ.mjs.br → Area3DChartScene-2FQHPGNE.mjs.br} +0 -0
  10. package/dist/Area3DChartScene-2FQHPGNE.mjs.gz +0 -0
  11. package/dist/{Area3DChartScene-XJK4ZA4R.js → Area3DChartScene-V3W2V7N5.js} +2 -2
  12. package/dist/{Area3DChartScene-XJK4ZA4R.js.br → Area3DChartScene-V3W2V7N5.js.br} +0 -0
  13. package/dist/Area3DChartScene-V3W2V7N5.js.gz +0 -0
  14. package/dist/{Bar3DChartScene-RGRZY5P6.js → Bar3DChartScene-55XMAUC7.js} +2 -2
  15. package/dist/Bar3DChartScene-55XMAUC7.js.br +0 -0
  16. package/dist/Bar3DChartScene-55XMAUC7.js.gz +0 -0
  17. package/dist/{Bar3DChartScene-VNFWI2QG.mjs → Bar3DChartScene-PSJEVANA.mjs} +1 -1
  18. package/dist/{Bar3DChartScene-VNFWI2QG.mjs.br → Bar3DChartScene-PSJEVANA.mjs.br} +0 -0
  19. package/dist/Bar3DChartScene-PSJEVANA.mjs.gz +0 -0
  20. package/dist/{Line3DChartScene-MEY42DBF.js → Line3DChartScene-5KACYRSQ.js} +2 -2
  21. package/dist/{Line3DChartScene-MEY42DBF.js.br → Line3DChartScene-5KACYRSQ.js.br} +0 -0
  22. package/dist/Line3DChartScene-5KACYRSQ.js.gz +0 -0
  23. package/dist/{Line3DChartScene-GXOWGIFJ.mjs → Line3DChartScene-BUVNUFNO.mjs} +1 -1
  24. package/dist/{Line3DChartScene-GXOWGIFJ.mjs.br → Line3DChartScene-BUVNUFNO.mjs.br} +0 -0
  25. package/dist/Line3DChartScene-BUVNUFNO.mjs.gz +0 -0
  26. package/dist/{Model3DScene-MWXTGHDM.js → Model3DScene-6U6TN36M.js} +2 -2
  27. package/dist/Model3DScene-6U6TN36M.js.br +0 -0
  28. package/dist/Model3DScene-6U6TN36M.js.gz +0 -0
  29. package/dist/{Model3DScene-WJ3MMIZH.mjs → Model3DScene-REKMR2L6.mjs} +1 -1
  30. package/dist/Model3DScene-REKMR2L6.mjs.br +0 -0
  31. package/dist/Model3DScene-REKMR2L6.mjs.gz +0 -0
  32. package/dist/{PieChart3DScene-WXJEDYMK.mjs → PieChart3DScene-4L2VVIUJ.mjs} +1 -1
  33. package/dist/{PieChart3DScene-WXJEDYMK.mjs.br → PieChart3DScene-4L2VVIUJ.mjs.br} +0 -0
  34. package/dist/PieChart3DScene-4L2VVIUJ.mjs.gz +0 -0
  35. package/dist/{PieChart3DScene-FJJGOQIS.js → PieChart3DScene-MV3JF7EM.js} +2 -2
  36. package/dist/{PieChart3DScene-FJJGOQIS.js.br → PieChart3DScene-MV3JF7EM.js.br} +0 -0
  37. package/dist/PieChart3DScene-MV3JF7EM.js.gz +0 -0
  38. package/dist/{SurfaceChart3DScene-IKPE2SVE.mjs → SurfaceChart3DScene-ARE7OBFI.mjs} +1 -1
  39. package/dist/SurfaceChart3DScene-ARE7OBFI.mjs.br +0 -0
  40. package/dist/SurfaceChart3DScene-ARE7OBFI.mjs.gz +0 -0
  41. package/dist/{SurfaceChart3DScene-VDK3F224.js → SurfaceChart3DScene-SFIOK3G3.js} +2 -2
  42. package/dist/{SurfaceChart3DScene-VDK3F224.js.br → SurfaceChart3DScene-SFIOK3G3.js.br} +0 -0
  43. package/dist/SurfaceChart3DScene-SFIOK3G3.js.gz +0 -0
  44. package/dist/{chunk-G3JPCRKN.js → chunk-2Q2NFPXA.js} +70189 -52226
  45. package/dist/chunk-2Q2NFPXA.js.br +0 -0
  46. package/dist/chunk-2Q2NFPXA.js.gz +0 -0
  47. package/dist/{chunk-3NIJ5HIZ.js → chunk-DZ3HWACD.js} +1818 -1279
  48. package/dist/chunk-DZ3HWACD.js.br +0 -0
  49. package/dist/chunk-DZ3HWACD.js.gz +0 -0
  50. package/dist/{chunk-5CPGDXD6.js → chunk-FHOUTYMB.js} +457 -445
  51. package/dist/chunk-FHOUTYMB.js.br +0 -0
  52. package/dist/chunk-FHOUTYMB.js.gz +0 -0
  53. package/dist/{chunk-PCCM7NVY.mjs → chunk-HJZA3O3S.mjs} +21 -10
  54. package/dist/chunk-HJZA3O3S.mjs.br +0 -0
  55. package/dist/chunk-HJZA3O3S.mjs.gz +0 -0
  56. package/dist/{chunk-K6Q6KLA6.js → chunk-HYUPPQJW.js} +6168 -1929
  57. package/dist/chunk-HYUPPQJW.js.br +0 -0
  58. package/dist/chunk-HYUPPQJW.js.gz +0 -0
  59. package/dist/{chunk-76Z3X6JX.mjs → chunk-KWHURCVT.mjs} +599 -60
  60. package/dist/chunk-KWHURCVT.mjs.br +0 -0
  61. package/dist/chunk-KWHURCVT.mjs.gz +0 -0
  62. package/dist/{chunk-NTWFXLZX.mjs → chunk-M6GIPAY4.mjs} +2 -2
  63. package/dist/chunk-M6GIPAY4.mjs.br +0 -0
  64. package/dist/chunk-M6GIPAY4.mjs.gz +0 -0
  65. package/dist/{chunk-3Y63XPIN.mjs → chunk-T4ZRSRQZ.mjs} +6164 -1925
  66. package/dist/chunk-T4ZRSRQZ.mjs.br +0 -0
  67. package/dist/chunk-T4ZRSRQZ.mjs.gz +0 -0
  68. package/dist/{chunk-JBSAKP4Z.mjs → chunk-TAGG5YNA.mjs} +61 -1
  69. package/dist/chunk-TAGG5YNA.mjs.br +0 -0
  70. package/dist/chunk-TAGG5YNA.mjs.gz +0 -0
  71. package/dist/{chunk-VQX7G75Z.mjs → chunk-UKPGYJ7G.mjs} +70151 -52196
  72. package/dist/chunk-UKPGYJ7G.mjs.br +0 -0
  73. package/dist/chunk-UKPGYJ7G.mjs.gz +0 -0
  74. package/dist/{chunk-LBJAVP3H.js → chunk-XW46A7DN.js} +176 -176
  75. package/dist/chunk-XW46A7DN.js.br +0 -0
  76. package/dist/chunk-XW46A7DN.js.gz +0 -0
  77. package/dist/{chunk-TEVGDXVW.js → chunk-Y6GG2OOW.js} +61 -1
  78. package/dist/chunk-Y6GG2OOW.js.br +0 -0
  79. package/dist/chunk-Y6GG2OOW.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-CGKutKk1.d.ts.map +1 -1
  87. package/dist/index.d.ts +228 -19
  88. package/dist/index.d.ts.map +1 -1
  89. package/dist/index.js +47 -47
  90. package/dist/index.js.br +0 -0
  91. package/dist/index.js.gz +0 -0
  92. package/dist/index.mjs +6 -6
  93. package/dist/index.mjs.br +0 -0
  94. package/dist/index.mjs.gz +0 -0
  95. package/dist/internals.d.ts +217 -10
  96. package/dist/internals.d.ts.map +1 -1
  97. package/dist/internals.js +79 -79
  98. package/dist/internals.js.br +0 -0
  99. package/dist/internals.js.gz +0 -0
  100. package/dist/internals.mjs +4 -4
  101. package/dist/internals.mjs.br +0 -0
  102. package/dist/internals.mjs.gz +0 -0
  103. package/dist/pptx-viewer.css +1 -1
  104. package/dist/pptx-viewer.css.br +0 -0
  105. package/dist/pptx-viewer.css.gz +0 -0
  106. package/dist/{useViewerBuildingBlocks-C8F_4Pzb.d.ts → useViewerBuildingBlocks-FbK-4ORi.d.ts} +2 -1
  107. package/dist/useViewerBuildingBlocks-FbK-4ORi.d.ts.map +1 -0
  108. package/dist/viewer/index.d.ts +207 -5
  109. package/dist/viewer/index.d.ts.map +1 -1
  110. package/dist/viewer/index.js +27 -27
  111. package/dist/viewer/index.js.br +0 -0
  112. package/dist/viewer/index.js.gz +0 -0
  113. package/dist/viewer/index.mjs +6 -6
  114. package/dist/viewer/index.mjs.br +0 -0
  115. package/dist/viewer/index.mjs.gz +0 -0
  116. package/package.json +9 -9
  117. package/dist/AiChatPanel-3A42W7RW.js.br +0 -0
  118. package/dist/AiChatPanel-3A42W7RW.js.gz +0 -0
  119. package/dist/AiChatPanel-II6VOOAL.mjs.br +0 -0
  120. package/dist/AiChatPanel-II6VOOAL.mjs.gz +0 -0
  121. package/dist/Area3DChartScene-JM3CQ3WQ.mjs.gz +0 -0
  122. package/dist/Area3DChartScene-XJK4ZA4R.js.gz +0 -0
  123. package/dist/Bar3DChartScene-RGRZY5P6.js.br +0 -0
  124. package/dist/Bar3DChartScene-RGRZY5P6.js.gz +0 -0
  125. package/dist/Bar3DChartScene-VNFWI2QG.mjs.gz +0 -0
  126. package/dist/Line3DChartScene-GXOWGIFJ.mjs.gz +0 -0
  127. package/dist/Line3DChartScene-MEY42DBF.js.gz +0 -0
  128. package/dist/Model3DScene-MWXTGHDM.js.br +0 -0
  129. package/dist/Model3DScene-MWXTGHDM.js.gz +0 -0
  130. package/dist/Model3DScene-WJ3MMIZH.mjs.br +0 -0
  131. package/dist/Model3DScene-WJ3MMIZH.mjs.gz +0 -0
  132. package/dist/PieChart3DScene-FJJGOQIS.js.gz +0 -0
  133. package/dist/PieChart3DScene-WXJEDYMK.mjs.gz +0 -0
  134. package/dist/SurfaceChart3DScene-IKPE2SVE.mjs.br +0 -0
  135. package/dist/SurfaceChart3DScene-IKPE2SVE.mjs.gz +0 -0
  136. package/dist/SurfaceChart3DScene-VDK3F224.js.gz +0 -0
  137. package/dist/chunk-3NIJ5HIZ.js.br +0 -0
  138. package/dist/chunk-3NIJ5HIZ.js.gz +0 -0
  139. package/dist/chunk-3Y63XPIN.mjs.br +0 -0
  140. package/dist/chunk-3Y63XPIN.mjs.gz +0 -0
  141. package/dist/chunk-5CPGDXD6.js.br +0 -0
  142. package/dist/chunk-5CPGDXD6.js.gz +0 -0
  143. package/dist/chunk-76Z3X6JX.mjs.br +0 -0
  144. package/dist/chunk-76Z3X6JX.mjs.gz +0 -0
  145. package/dist/chunk-G3JPCRKN.js.br +0 -0
  146. package/dist/chunk-G3JPCRKN.js.gz +0 -0
  147. package/dist/chunk-JBSAKP4Z.mjs.br +0 -0
  148. package/dist/chunk-JBSAKP4Z.mjs.gz +0 -0
  149. package/dist/chunk-K6Q6KLA6.js.br +0 -0
  150. package/dist/chunk-K6Q6KLA6.js.gz +0 -0
  151. package/dist/chunk-LBJAVP3H.js.br +0 -0
  152. package/dist/chunk-LBJAVP3H.js.gz +0 -0
  153. package/dist/chunk-NTWFXLZX.mjs.br +0 -0
  154. package/dist/chunk-NTWFXLZX.mjs.gz +0 -0
  155. package/dist/chunk-PCCM7NVY.mjs.br +0 -0
  156. package/dist/chunk-PCCM7NVY.mjs.gz +0 -0
  157. package/dist/chunk-TEVGDXVW.js.br +0 -0
  158. package/dist/chunk-TEVGDXVW.js.gz +0 -0
  159. package/dist/chunk-VQX7G75Z.mjs.br +0 -0
  160. package/dist/chunk-VQX7G75Z.mjs.gz +0 -0
  161. package/dist/useViewerBuildingBlocks-C8F_4Pzb.d.ts.map +0 -1
package/dist/index.js CHANGED
@@ -1,176 +1,176 @@
1
1
  'use strict';
2
2
 
3
- var chunk3NIJ5HIZ_js = require('./chunk-3NIJ5HIZ.js');
4
- require('./chunk-K6Q6KLA6.js');
5
- var chunk5CPGDXD6_js = require('./chunk-5CPGDXD6.js');
6
- var chunkLBJAVP3H_js = require('./chunk-LBJAVP3H.js');
7
- var chunkG3JPCRKN_js = require('./chunk-G3JPCRKN.js');
8
- var chunkTEVGDXVW_js = require('./chunk-TEVGDXVW.js');
3
+ var chunkDZ3HWACD_js = require('./chunk-DZ3HWACD.js');
4
+ require('./chunk-HYUPPQJW.js');
5
+ var chunkFHOUTYMB_js = require('./chunk-FHOUTYMB.js');
6
+ var chunkXW46A7DN_js = require('./chunk-XW46A7DN.js');
7
+ var chunk2Q2NFPXA_js = require('./chunk-2Q2NFPXA.js');
8
+ var chunkY6GG2OOW_js = require('./chunk-Y6GG2OOW.js');
9
9
  require('./chunk-4VNS5WPM.js');
10
10
 
11
11
 
12
12
 
13
13
  Object.defineProperty(exports, "PowerPointViewer", {
14
14
  enumerable: true,
15
- get: function () { return chunk3NIJ5HIZ_js.PowerPointViewer; }
15
+ get: function () { return chunkDZ3HWACD_js.PowerPointViewer; }
16
16
  });
17
17
  Object.defineProperty(exports, "SlideCanvas", {
18
18
  enumerable: true,
19
- get: function () { return chunk3NIJ5HIZ_js.SlideCanvas; }
19
+ get: function () { return chunkDZ3HWACD_js.SlideCanvas; }
20
20
  });
21
21
  Object.defineProperty(exports, "SlideTemplateGalleryDialog", {
22
22
  enumerable: true,
23
- get: function () { return chunk3NIJ5HIZ_js.SlideTemplateGalleryDialog; }
23
+ get: function () { return chunkDZ3HWACD_js.SlideTemplateGalleryDialog; }
24
24
  });
25
25
  Object.defineProperty(exports, "SlideTemplatePreview", {
26
26
  enumerable: true,
27
- get: function () { return chunk3NIJ5HIZ_js.SlideTemplatePreview; }
27
+ get: function () { return chunkDZ3HWACD_js.SlideTemplatePreview; }
28
28
  });
29
29
  Object.defineProperty(exports, "Toolbar", {
30
30
  enumerable: true,
31
- get: function () { return chunk3NIJ5HIZ_js.Toolbar; }
31
+ get: function () { return chunkDZ3HWACD_js.Toolbar; }
32
32
  });
33
33
  Object.defineProperty(exports, "ViewerThemeProvider", {
34
34
  enumerable: true,
35
- get: function () { return chunk3NIJ5HIZ_js.ViewerThemeProvider; }
35
+ get: function () { return chunkDZ3HWACD_js.ViewerThemeProvider; }
36
36
  });
37
37
  Object.defineProperty(exports, "useViewerTheme", {
38
38
  enumerable: true,
39
- get: function () { return chunk3NIJ5HIZ_js.useViewerTheme; }
39
+ get: function () { return chunkDZ3HWACD_js.useViewerTheme; }
40
40
  });
41
41
  Object.defineProperty(exports, "renderToCanvas", {
42
42
  enumerable: true,
43
- get: function () { return chunk5CPGDXD6_js.renderToCanvas; }
43
+ get: function () { return chunkFHOUTYMB_js.renderToCanvas; }
44
44
  });
45
45
  Object.defineProperty(exports, "useViewerBuildingBlocks", {
46
46
  enumerable: true,
47
- get: function () { return chunk5CPGDXD6_js.useViewerBuildingBlocks; }
47
+ get: function () { return chunkFHOUTYMB_js.useViewerBuildingBlocks; }
48
48
  });
49
49
  Object.defineProperty(exports, "getAnimationInitialStyle", {
50
50
  enumerable: true,
51
- get: function () { return chunkLBJAVP3H_js.getAnimationInitialStyle; }
51
+ get: function () { return chunkXW46A7DN_js.getAnimationInitialStyle; }
52
52
  });
53
53
  Object.defineProperty(exports, "AVATAR_COLOR_SWATCHES", {
54
54
  enumerable: true,
55
- get: function () { return chunkG3JPCRKN_js.AVATAR_COLOR_SWATCHES; }
55
+ get: function () { return chunk2Q2NFPXA_js.AVATAR_COLOR_SWATCHES; }
56
56
  });
57
57
  Object.defineProperty(exports, "DEFAULT_VIEWER_PROFILE", {
58
58
  enumerable: true,
59
- get: function () { return chunkG3JPCRKN_js.DEFAULT_VIEWER_PROFILE; }
59
+ get: function () { return chunk2Q2NFPXA_js.DEFAULT_VIEWER_PROFILE; }
60
60
  });
61
61
  Object.defineProperty(exports, "PPTX_OPEN_ACCEPT", {
62
62
  enumerable: true,
63
- get: function () { return chunkG3JPCRKN_js.PPTX_OPEN_ACCEPT; }
63
+ get: function () { return chunk2Q2NFPXA_js.PPTX_OPEN_ACCEPT; }
64
64
  });
65
65
  Object.defineProperty(exports, "PRESENTATION_OPEN_EXTENSIONS", {
66
66
  enumerable: true,
67
- get: function () { return chunkG3JPCRKN_js.PRESENTATION_OPEN_EXTENSIONS; }
67
+ get: function () { return chunk2Q2NFPXA_js.PRESENTATION_OPEN_EXTENSIONS; }
68
68
  });
69
69
  Object.defineProperty(exports, "SLIDE_TEMPLATES", {
70
70
  enumerable: true,
71
- get: function () { return chunkG3JPCRKN_js.SLIDE_TEMPLATES; }
71
+ get: function () { return chunk2Q2NFPXA_js.SLIDE_TEMPLATES; }
72
72
  });
73
73
  Object.defineProperty(exports, "THEME_CATALOG", {
74
74
  enumerable: true,
75
- get: function () { return chunkG3JPCRKN_js.THEME_CATALOG; }
75
+ get: function () { return chunk2Q2NFPXA_js.THEME_CATALOG; }
76
76
  });
77
77
  Object.defineProperty(exports, "VIEWER_PREFS_STORAGE_KEY", {
78
78
  enumerable: true,
79
- get: function () { return chunkG3JPCRKN_js.VIEWER_PREFS_STORAGE_KEY; }
79
+ get: function () { return chunk2Q2NFPXA_js.VIEWER_PREFS_STORAGE_KEY; }
80
80
  });
81
81
  Object.defineProperty(exports, "buildSlideTemplateContent", {
82
82
  enumerable: true,
83
- get: function () { return chunkG3JPCRKN_js.buildSlideTemplateContent; }
83
+ get: function () { return chunk2Q2NFPXA_js.buildSlideTemplateContent; }
84
84
  });
85
85
  Object.defineProperty(exports, "buildSlideTemplateSlide", {
86
86
  enumerable: true,
87
- get: function () { return chunkG3JPCRKN_js.buildSlideTemplateSlide; }
87
+ get: function () { return chunk2Q2NFPXA_js.buildSlideTemplateSlide; }
88
88
  });
89
89
  Object.defineProperty(exports, "clearAllLocalViewerData", {
90
90
  enumerable: true,
91
- get: function () { return chunkG3JPCRKN_js.clearAllLocalViewerData; }
91
+ get: function () { return chunk2Q2NFPXA_js.clearAllLocalViewerData; }
92
92
  });
93
93
  Object.defineProperty(exports, "clearStoredViewerPrefs", {
94
94
  enumerable: true,
95
- get: function () { return chunkG3JPCRKN_js.clearStoredViewerPrefs; }
95
+ get: function () { return chunk2Q2NFPXA_js.clearStoredViewerPrefs; }
96
96
  });
97
97
  Object.defineProperty(exports, "defaultCssVars", {
98
98
  enumerable: true,
99
- get: function () { return chunkG3JPCRKN_js.defaultCssVars; }
99
+ get: function () { return chunk2Q2NFPXA_js.defaultCssVars; }
100
100
  });
101
101
  Object.defineProperty(exports, "defaultRadius", {
102
102
  enumerable: true,
103
- get: function () { return chunkG3JPCRKN_js.defaultRadius; }
103
+ get: function () { return chunk2Q2NFPXA_js.defaultRadius; }
104
104
  });
105
105
  Object.defineProperty(exports, "defaultThemeColors", {
106
106
  enumerable: true,
107
- get: function () { return chunkG3JPCRKN_js.defaultThemeColors; }
107
+ get: function () { return chunk2Q2NFPXA_js.defaultThemeColors; }
108
108
  });
109
109
  Object.defineProperty(exports, "getLocalStorageUsageSummary", {
110
110
  enumerable: true,
111
- get: function () { return chunkG3JPCRKN_js.getLocalStorageUsageSummary; }
111
+ get: function () { return chunk2Q2NFPXA_js.getLocalStorageUsageSummary; }
112
112
  });
113
113
  Object.defineProperty(exports, "isLegacyBinaryPresentation", {
114
114
  enumerable: true,
115
- get: function () { return chunkG3JPCRKN_js.isLegacyBinaryPresentation; }
115
+ get: function () { return chunk2Q2NFPXA_js.isLegacyBinaryPresentation; }
116
116
  });
117
117
  Object.defineProperty(exports, "isSupportedPresentationFile", {
118
118
  enumerable: true,
119
- get: function () { return chunkG3JPCRKN_js.isSupportedPresentationFile; }
119
+ get: function () { return chunk2Q2NFPXA_js.isSupportedPresentationFile; }
120
120
  });
121
121
  Object.defineProperty(exports, "presentationBaseName", {
122
122
  enumerable: true,
123
- get: function () { return chunkG3JPCRKN_js.presentationBaseName; }
123
+ get: function () { return chunk2Q2NFPXA_js.presentationBaseName; }
124
124
  });
125
125
  Object.defineProperty(exports, "readStoredViewerPrefs", {
126
126
  enumerable: true,
127
- get: function () { return chunkG3JPCRKN_js.readStoredViewerPrefs; }
127
+ get: function () { return chunk2Q2NFPXA_js.readStoredViewerPrefs; }
128
128
  });
129
129
  Object.defineProperty(exports, "resolveProfileInitial", {
130
130
  enumerable: true,
131
- get: function () { return chunkG3JPCRKN_js.resolveProfileInitial; }
131
+ get: function () { return chunk2Q2NFPXA_js.resolveProfileInitial; }
132
132
  });
133
133
  Object.defineProperty(exports, "resolveThemeCatalogEntry", {
134
134
  enumerable: true,
135
- get: function () { return chunkG3JPCRKN_js.resolveThemeCatalogEntry; }
135
+ get: function () { return chunk2Q2NFPXA_js.resolveThemeCatalogEntry; }
136
136
  });
137
137
  Object.defineProperty(exports, "saveViewerProfile", {
138
138
  enumerable: true,
139
- get: function () { return chunkG3JPCRKN_js.saveViewerProfile; }
139
+ get: function () { return chunk2Q2NFPXA_js.saveViewerProfile; }
140
140
  });
141
141
  Object.defineProperty(exports, "savedPresentationFileName", {
142
142
  enumerable: true,
143
- get: function () { return chunkG3JPCRKN_js.savedPresentationFileName; }
143
+ get: function () { return chunk2Q2NFPXA_js.savedPresentationFileName; }
144
144
  });
145
145
  Object.defineProperty(exports, "themeToCssVars", {
146
146
  enumerable: true,
147
- get: function () { return chunkG3JPCRKN_js.themeToCssVars; }
147
+ get: function () { return chunk2Q2NFPXA_js.themeToCssVars; }
148
148
  });
149
149
  Object.defineProperty(exports, "vermilionDarkColors", {
150
150
  enumerable: true,
151
- get: function () { return chunkG3JPCRKN_js.vermilionDarkColors; }
151
+ get: function () { return chunk2Q2NFPXA_js.vermilionDarkColors; }
152
152
  });
153
153
  Object.defineProperty(exports, "vermilionDarkTheme", {
154
154
  enumerable: true,
155
- get: function () { return chunkG3JPCRKN_js.vermilionDarkTheme; }
155
+ get: function () { return chunk2Q2NFPXA_js.vermilionDarkTheme; }
156
156
  });
157
157
  Object.defineProperty(exports, "vermilionLightColors", {
158
158
  enumerable: true,
159
- get: function () { return chunkG3JPCRKN_js.vermilionLightColors; }
159
+ get: function () { return chunk2Q2NFPXA_js.vermilionLightColors; }
160
160
  });
161
161
  Object.defineProperty(exports, "vermilionLightTheme", {
162
162
  enumerable: true,
163
- get: function () { return chunkG3JPCRKN_js.vermilionLightTheme; }
163
+ get: function () { return chunk2Q2NFPXA_js.vermilionLightTheme; }
164
164
  });
165
165
  Object.defineProperty(exports, "vermilionRadius", {
166
166
  enumerable: true,
167
- get: function () { return chunkG3JPCRKN_js.vermilionRadius; }
167
+ get: function () { return chunk2Q2NFPXA_js.vermilionRadius; }
168
168
  });
169
169
  Object.defineProperty(exports, "writeStoredViewerPrefs", {
170
170
  enumerable: true,
171
- get: function () { return chunkG3JPCRKN_js.writeStoredViewerPrefs; }
171
+ get: function () { return chunk2Q2NFPXA_js.writeStoredViewerPrefs; }
172
172
  });
173
173
  Object.defineProperty(exports, "LOCALE_CATALOG", {
174
174
  enumerable: true,
175
- get: function () { return chunkTEVGDXVW_js.LOCALE_CATALOG; }
175
+ get: function () { return chunkY6GG2OOW_js.LOCALE_CATALOG; }
176
176
  });
package/dist/index.js.br CHANGED
Binary file
package/dist/index.js.gz CHANGED
Binary file
package/dist/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
- export { PowerPointViewer, SlideCanvas, SlideTemplateGalleryDialog, SlideTemplatePreview, Toolbar, ViewerThemeProvider, useViewerTheme } from './chunk-76Z3X6JX.mjs';
2
- import './chunk-3Y63XPIN.mjs';
3
- export { renderToCanvas, useViewerBuildingBlocks } from './chunk-PCCM7NVY.mjs';
4
- export { getAnimationInitialStyle } from './chunk-NTWFXLZX.mjs';
5
- export { AVATAR_COLOR_SWATCHES, DEFAULT_VIEWER_PROFILE, PPTX_OPEN_ACCEPT, PRESENTATION_OPEN_EXTENSIONS, SLIDE_TEMPLATES, THEME_CATALOG, VIEWER_PREFS_STORAGE_KEY, buildSlideTemplateContent, buildSlideTemplateSlide, clearAllLocalViewerData, clearStoredViewerPrefs, defaultCssVars, defaultRadius, defaultThemeColors, getLocalStorageUsageSummary, isLegacyBinaryPresentation, isSupportedPresentationFile, presentationBaseName, readStoredViewerPrefs, resolveProfileInitial, resolveThemeCatalogEntry, saveViewerProfile, savedPresentationFileName, themeToCssVars, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius, writeStoredViewerPrefs } from './chunk-VQX7G75Z.mjs';
6
- export { LOCALE_CATALOG } from './chunk-JBSAKP4Z.mjs';
1
+ export { PowerPointViewer, SlideCanvas, SlideTemplateGalleryDialog, SlideTemplatePreview, Toolbar, ViewerThemeProvider, useViewerTheme } from './chunk-KWHURCVT.mjs';
2
+ import './chunk-T4ZRSRQZ.mjs';
3
+ export { renderToCanvas, useViewerBuildingBlocks } from './chunk-HJZA3O3S.mjs';
4
+ export { getAnimationInitialStyle } from './chunk-M6GIPAY4.mjs';
5
+ export { AVATAR_COLOR_SWATCHES, DEFAULT_VIEWER_PROFILE, PPTX_OPEN_ACCEPT, PRESENTATION_OPEN_EXTENSIONS, SLIDE_TEMPLATES, THEME_CATALOG, VIEWER_PREFS_STORAGE_KEY, buildSlideTemplateContent, buildSlideTemplateSlide, clearAllLocalViewerData, clearStoredViewerPrefs, defaultCssVars, defaultRadius, defaultThemeColors, getLocalStorageUsageSummary, isLegacyBinaryPresentation, isSupportedPresentationFile, presentationBaseName, readStoredViewerPrefs, resolveProfileInitial, resolveThemeCatalogEntry, saveViewerProfile, savedPresentationFileName, themeToCssVars, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius, writeStoredViewerPrefs } from './chunk-UKPGYJ7G.mjs';
6
+ export { LOCALE_CATALOG } from './chunk-TAGG5YNA.mjs';
7
7
  import './chunk-XGB3TDIC.mjs';
package/dist/index.mjs.br CHANGED
Binary file
package/dist/index.mjs.gz CHANGED
Binary file
@@ -3076,6 +3076,18 @@ interface PptxChartDataPoint {
3076
3076
  }
3077
3077
  /** Schema values accepted by `c:dLblPos`. */
3078
3078
  type PptxChartDataLabelPosition = 'bestFit' | 'b' | 'ctr' | 'inBase' | 'inEnd' | 'l' | 'outEnd' | 'r' | 't';
3079
+ /**
3080
+ * `c15:dlblRangeCache`/`c15:datalabelsRange` (CT_SeriesDataLabelsRange):
3081
+ * PowerPoint 2013+'s "Value From Cells" custom label source, one cell range
3082
+ * supplying every label in a group (chart-type or series `c:dLbls`), with a
3083
+ * cache aligned to point order. See `utils/chart-data-labels-range.ts`.
3084
+ */
3085
+ interface PptxChartDataLabelsRange {
3086
+ /** `c15:f`: the cell range formula (e.g. `Sheet1!$D$2:$D$5`). */
3087
+ formula: string;
3088
+ /** `c15:dlblRangeCache`: cached label text, index-aligned with data points. */
3089
+ cache: string[];
3090
+ }
3079
3091
  /** Individual data label override (c:dLbl). */
3080
3092
  interface PptxChartDataLabel {
3081
3093
  idx: number;
@@ -3117,6 +3129,14 @@ interface PptxChartDataLabel {
3117
3129
  * over any chart/series-level default when set.
3118
3130
  */
3119
3131
  spPr?: PptxChartShapeProps;
3132
+ /**
3133
+ * `c15:xForSave`: this override exists only so its properties survive a
3134
+ * save/reload round trip; PowerPoint merges it back onto the series'
3135
+ * default label on load. Round-tripped as-is (an edited chart keeps an
3136
+ * existing point's whole `extLst`, this flag included); introspection
3137
+ * only otherwise. See `utils/chart-data-labels-range.ts`.
3138
+ */
3139
+ savedForCompatibilityOnly?: boolean;
3120
3140
  }
3121
3141
  /** Axis number format. */
3122
3142
  interface PptxChartAxisNumFmt {
@@ -3505,6 +3525,22 @@ interface PptxChartDataLabelOptions {
3505
3525
  * (point > series > chart-type).
3506
3526
  */
3507
3527
  txPr?: PptxChartLegendTextStyle;
3528
+ /**
3529
+ * PowerPoint 2013+ "Value From Cells", series-wide form
3530
+ * (`c15:datalabelsRange`, chart15 uri `{CE6537A1-...}`): one cell range
3531
+ * supplies every label in this group, aligned by point index. A
3532
+ * SERIES-WIDE alternative to the per-point `c15:dlblFieldTable` mechanism
3533
+ * (already resolved into {@link PptxChartDataLabel.text} at parse time).
3534
+ * See `utils/chart-data-labels-range.ts`.
3535
+ */
3536
+ dataLabelsRange?: PptxChartDataLabelsRange;
3537
+ /**
3538
+ * `c15:showDataLabelsRange` at the SAME level as {@link dataLabelsRange}:
3539
+ * whether every label in this group resolves through the range's cache.
3540
+ * Distinct from the per-point {@link PptxChartDataLabel} flag of the same
3541
+ * XML name. Only meaningful when {@link dataLabelsRange} is set.
3542
+ */
3543
+ showDataLabelsRange?: boolean;
3508
3544
  }
3509
3545
  /** Typed text defaults for a single chart legend entry. */
3510
3546
  interface PptxChartLegendTextStyle {
@@ -3779,6 +3815,19 @@ interface PptxChartData {
3779
3815
  * when the chart has no such extension. See {@link PptxChartFilteredSeries}.
3780
3816
  */
3781
3817
  filteredSeries?: PptxChartFilteredSeries[];
3818
+ /**
3819
+ * `c15:filteredSeriesTitle`: the auto-generated series title text (e.g.
3820
+ * "Series 3") PowerPoint preserved when the chart filter hid the series
3821
+ * whose data would otherwise have supplied it. See
3822
+ * `utils/chart-ext-titles.ts`. Read-mostly like {@link filteredSeries}.
3823
+ */
3824
+ filteredSeriesTitle?: string;
3825
+ /**
3826
+ * `c15:filteredCategoryTitle`: the auto-numbered category labels ("1",
3827
+ * "2", "3", ...) PowerPoint preserved when the chart filter hid the
3828
+ * category axis source entirely. See `utils/chart-ext-titles.ts`.
3829
+ */
3830
+ filteredCategoryTitle?: string[];
3782
3831
  /** Chart style/formatting metadata. */
3783
3832
  style?: PptxChartStyle;
3784
3833
  /** Grouping mode for bar/area/line charts: 'clustered' | 'stacked' | 'percentStacked' */
@@ -4701,7 +4750,95 @@ interface PptxSmartArtLayoutNode {
4701
4750
  rules?: PptxSmartArtNumericRule[];
4702
4751
  /** `dgm:shape`: this node's own preset geometry override, when present. */
4703
4752
  shape?: PptxSmartArtLayoutNodeShape;
4753
+ /**
4754
+ * `dgm:presOf` (CT_PresentationOf, same iterator shape as `dgm:forEach`):
4755
+ * which data-model point(s) this node's OWN text/geometry binds to -
4756
+ * `axis: ['self']` the point currently being iterated, `['des']` all of
4757
+ * its descendants, `['ch']` its direct children, and so on. Absent or
4758
+ * empty `axis` (including a bare `<dgm:presOf/>`) means the node carries
4759
+ * no text of its own (a pure positioning/decoration wrapper - `composite`,
4760
+ * `sp` spacer, connector cap). See `smartart-layout-interpreter-item-
4761
+ * roles.ts`, the one consumer: it is what lets the interpreter tell a
4762
+ * text-bearing per-item role (a list layout's `childText`, a card
4763
+ * layout's `roleText`/`bodyText`) apart from a same-generation sibling
4764
+ * that positions or decorates instead.
4765
+ */
4766
+ presentationOf?: PptxSmartArtIteratorAttributes;
4767
+ /**
4768
+ * EVERY `dgm:constr` reachable from this node, including ones declared
4769
+ * inside a `dgm:choose`/`dgm:if`/`dgm:else` that wraps THIS layoutNode's
4770
+ * `constrLst` (a genuinely conditional constraint set, e.g. one branch
4771
+ * per data-point count - `gear`'s composite positions its `gear1`/
4772
+ * `gear2`/`gear3` slots this way, so its plain, direct-child-only
4773
+ * `constraints` above is empty for it). Stops at a nested `dgm:layoutNode`
4774
+ * boundary: that child's own conditional constrLst becomes ITS
4775
+ * `allConstraints`, not folded into the parent's. Read-only /
4776
+ * interpretation-only - `constraints` above (this node's own DIRECT
4777
+ * constrLst) remains the one `applySmartArtLayoutDefinition` round-trips,
4778
+ * so editing an unrelated property can never collapse a genuinely
4779
+ * conditional constrLst into a single branch. `undefined` when this node
4780
+ * declares no constrLst at all, in or out of a choose (the common case);
4781
+ * otherwise a superset of `constraints` (every branch, blindly unioned -
4782
+ * this interpreter does not evaluate `dgm:choose` conditions when
4783
+ * indexing constraints, matching the same "flatten both branches"
4784
+ * convention `nestedLayoutNodes` already uses for `children`). See
4785
+ * `smartart-constraint-solver.ts`'s `buildConstraintIndex`, the only
4786
+ * consumer.
4787
+ */
4788
+ allConstraints?: PptxSmartArtConstraint[];
4704
4789
  children?: PptxSmartArtLayoutNode[];
4790
+ /**
4791
+ * The iterator attributes of the ENCLOSING `dgm:forEach` this node was
4792
+ * found through, when `nestedLayoutNodes` (`smartart-layout-definition
4793
+ * .ts`) reached it by walking one - as opposed to being a direct child of
4794
+ * its parent layoutNode, or reached only through a `dgm:choose` wrapper
4795
+ * (a condition, not an iteration, leaves this `undefined`).
4796
+ *
4797
+ * `forEach` above records a node's OWN direct `dgm:forEach` children
4798
+ * (which wrap ITS descendants); this is the opposite direction - the
4799
+ * forEach that wraps the node ITSELF, one level up. A layoutNode can sit
4800
+ * inside more than one enclosing forEach only via nesting, so this is
4801
+ * always the SINGLE nearest one, not a list.
4802
+ *
4803
+ * This is what tells a genuinely repeated per-child template
4804
+ * (`axis="ch"`, `ptType` absent or `"node"`) apart from a once-only or
4805
+ * transition-only sibling that merely happens to sit inside SOME
4806
+ * `dgm:forEach` (a `ptType="parTrans"`/`"sibTrans"` connector, or
4807
+ * `axis="followSib" cnt="1"`) - both can be direct siblings under the
4808
+ * SAME parent layoutNode (`lProcess1`'s `vertFlow` has one forEach for
4809
+ * its `parTrans` connector and a SEPARATE one, `axis="ch"`, for its
4810
+ * repeated `child` items; `vertFlow.forEach` bundles both, but only
4811
+ * `child.forEachOrigin` says which ONE produced it). See
4812
+ * `smartart-layout-interpreter-item-roles-recursive.ts`, the one
4813
+ * consumer. Read-only / interpretation-only, like `allConstraints`:
4814
+ * never round-tripped by `applySmartArtLayoutDefinition`.
4815
+ */
4816
+ forEachOrigin?: PptxSmartArtIteratorAttributes;
4817
+ /**
4818
+ * The condition of the NEAREST enclosing `dgm:if` this node was found
4819
+ * through, when `nestedLayoutNodes` (`smartart-layout-definition.ts`)
4820
+ * reached it via a `dgm:choose`'s `if` branch (as opposed to a direct
4821
+ * child, a `dgm:else` branch - always `undefined` here, see below - or a
4822
+ * `dgm:forEach`, which sets {@link forEachOrigin} instead). Lets a
4823
+ * caller that already has the data-model node list decide whether this
4824
+ * node's OWN branch is genuinely live for a specific point, instead of
4825
+ * treating every choose-flattened branch as unconditionally present
4826
+ * (`nestedLayoutNodes`' pre-existing "flatten every branch" convention,
4827
+ * still the default when this is absent or a caller does not evaluate
4828
+ * it) - e.g. `cycle-matrix--fallback-n2.pptx`'s `child1group`..
4829
+ * `child4group`, each gated on a DIFFERENT top-level point existing and
4830
+ * having its own child (`axis="ch ch" st="N 1" cnt="1 0" func="cnt"
4831
+ * op="gte" val="1"`).
4832
+ *
4833
+ * Deliberately `undefined` for a `dgm:else` branch: ECMA-376 defines it
4834
+ * as "none of the sibling ifs matched", which would need the FULL
4835
+ * sibling list's conditions negated and ANDed together, not a single
4836
+ * condition - no gallery fixture measured needs an else branch's own
4837
+ * guard yet, so it is left unconditional (rendered by default, matching
4838
+ * the pre-existing flatten-everything behaviour) rather than guessed at.
4839
+ * Evaluate with `smartart-layout-interpreter-when.ts`'s `evaluateWhen`.
4840
+ */
4841
+ chooseGuard?: PptxSmartArtWhen;
4705
4842
  }
4706
4843
  /** Metadata and root node from DiagramML CT_DiagramDefinition. */
4707
4844
  interface PptxSmartArtLayoutDefinition {
@@ -5334,6 +5471,14 @@ interface PptxSmartArtData {
5334
5471
  * Consulted by the fallback layout engine for direction/org-chart hints.
5335
5472
  */
5336
5473
  presLayoutVars?: PptxSmartArtPresLayoutVars;
5474
+ /**
5475
+ * The deck's own theme minor-Latin font (`a:fontScheme/a:minorFont/a:latin/
5476
+ * @typeface`): what SmartArt text actually renders in when no per-run
5477
+ * `a:latin` override is present (the common case - see
5478
+ * `smartart-layout-item-font-size.ts`'s font-fit, the one consumer).
5479
+ * Undefined when the theme carries no font scheme at all.
5480
+ */
5481
+ themeMinorFont?: string;
5337
5482
  /** Relationship ID for the diagram data part (for round-trip save). */
5338
5483
  dataRelId?: string;
5339
5484
  /** Relationship ID for the diagram layout part. */
@@ -6293,7 +6438,7 @@ interface SmartArtPptxElement extends PptxElementBase {
6293
6438
  *
6294
6439
  * Used to show type-specific icons and previews in the editor.
6295
6440
  */
6296
- type OleObjectType = 'excel' | 'word' | 'pdf' | 'visio' | 'mathtype' | 'package' | 'unknown';
6441
+ type OleObjectType = 'excel' | 'word' | 'powerpoint' | 'pdf' | 'visio' | 'mathtype' | 'package' | 'unknown';
6297
6442
  /**
6298
6443
  * An OLE (Object Linking and Embedding) object.
6299
6444
  *
@@ -6371,6 +6516,15 @@ interface OlePptxElement extends PptxElementBase {
6371
6516
  * `false`; `undefined` means the source authored no explicit value.
6372
6517
  */
6373
6518
  oleUpdateAutomatic?: boolean;
6519
+ /**
6520
+ * Set by the in-viewer OLE content editors (`ole-edit-api.ts`) whenever
6521
+ * `oleEmbeddedData` and/or `previewImageData` have been changed in memory
6522
+ * and still need to be written back into the saved package. Never
6523
+ * authored from a parsed file; purely an in-memory save signal, mirroring
6524
+ * `PptxSlide.isDirty`. The save writer clears it once the pending write
6525
+ * has been queued.
6526
+ */
6527
+ oleContentDirty?: boolean;
6374
6528
  /** Accessibility description from `p:nvGraphicFramePr/p:cNvPr/@descr`. */
6375
6529
  altText?: string;
6376
6530
  /** Accessibility title from `p:nvGraphicFramePr/p:cNvPr/@title`. */
@@ -7300,10 +7454,27 @@ interface PptxNativeAnimation {
7300
7454
  buildLevel?: number;
7301
7455
  /** Group ID linking a `p:bldP` entry to its timing animation node. */
7302
7456
  groupId?: string;
7303
- /** Sound relationship ID to play when animation triggers (`p:stSnd`). */
7457
+ /**
7458
+ * Sound relationship ID to play when animation triggers. Modern PowerPoint
7459
+ * (COM-verified against 2016) writes this as a `p:audio/p:cMediaNode`
7460
+ * sibling of the effect's own `p:childTnLst`, targeting `p:sndTgt` rather
7461
+ * than a shape; the legacy `p:stSnd` form (directly on `p:cTn`) is still
7462
+ * accepted on load for round-trip of older-authored decks, but PowerPoint
7463
+ * itself no longer writes it and does not recognise it back
7464
+ * (`Effect.EffectInformation.SoundEffect` reads empty against it).
7465
+ */
7304
7466
  soundRId?: string;
7305
7467
  /** Resolved sound file path from relationship. */
7306
7468
  soundPath?: string;
7469
+ /**
7470
+ * The embedded sound's `@_name` (from `p:snd`/`p:sndTgt`). For one of
7471
+ * PowerPoint's 19 built-in stock sounds this is the exact upper-case file
7472
+ * name PowerPoint itself writes (e.g. `"CHIMES.WAV"`); see
7473
+ * `pptx-viewer-shared`'s `effect-sound-catalogue.ts`, which matches this
7474
+ * value back to a gallery entry. Absent for a custom sound with no name,
7475
+ * or when unresolved.
7476
+ */
7477
+ soundName?: string;
7307
7478
  /** Whether to stop any currently playing sound (`p:endSnd`). */
7308
7479
  stopSound?: boolean;
7309
7480
  /**
@@ -7863,10 +8034,24 @@ interface PptxElementAnimation {
7863
8034
  motionPathRotationCenterX?: number;
7864
8035
  /** Motion-path rotation centre Y in slide percentage units (`p:rCtr/@y`). */
7865
8036
  motionPathRotationCenterY?: number;
7866
- /** Sound relationship ID to play when animation triggers (`p:stSnd`). */
8037
+ /**
8038
+ * Sound relationship ID to play when animation triggers. Written on save
8039
+ * as a `p:audio/p:cMediaNode` sibling of the effect's own `p:childTnLst`
8040
+ * (see `PptxNativeAnimation.soundRId` for the COM-verified detail).
8041
+ */
7867
8042
  soundRId?: string;
7868
8043
  /** Resolved sound file path from relationship. */
7869
8044
  soundPath?: string;
8045
+ /**
8046
+ * The `@_name` to write on the embedded sound (`p:sndTgt`). For a stock
8047
+ * gallery pick this is the exact PowerPoint file name (e.g.
8048
+ * `"CHIMES.WAV"`), which is what makes PowerPoint itself recognise the
8049
+ * sound as that built-in entry when it reopens the saved deck (there is no
8050
+ * separate "built-in" flag anywhere in the schema). Set by
8051
+ * `pptx-viewer-shared`'s `setEffectSound` when the pick carries a
8052
+ * `soundName`; absent for a custom file with no meaningful name.
8053
+ */
8054
+ soundName?: string;
7870
8055
  /** Whether to stop any currently playing sound (`p:endSnd`). */
7871
8056
  stopSound?: boolean;
7872
8057
  /**
@@ -7881,7 +8066,9 @@ interface PptxElementAnimation {
7881
8066
  /**
7882
8067
  * Display name for the chosen sound (e.g. the uploaded file's name),
7883
8068
  * shown by the authoring UI's sound picker. Purely cosmetic; has no
7884
- * OOXML equivalent and is not required for playback.
8069
+ * OOXML equivalent and is not required for playback. For a stock gallery
8070
+ * pick, the UI derives its label from {@link soundName} via the catalogue
8071
+ * instead of this field.
7885
8072
  */
7886
8073
  soundFileName?: string;
7887
8074
  /**
@@ -10229,7 +10416,7 @@ interface PptxHandlerLoadOptions {
10229
10416
  allowExternalImages?: boolean;
10230
10417
  }
10231
10418
  /** Output format for the save pipeline. */
10232
- type PptxSaveFormat = 'pptx' | 'ppsx' | 'pptm';
10419
+ type PptxSaveFormat = 'pptx' | 'ppsx' | 'pptm' | 'ppt';
10233
10420
  interface PptxHandlerSaveOptions {
10234
10421
  headerFooter?: PptxHeaderFooter;
10235
10422
  presentationProperties?: PptxPresentationProperties;
@@ -10325,8 +10512,23 @@ interface PptxHandlerSaveOptions {
10325
10512
  * - `'pptx'` (default): Standard presentation.
10326
10513
  * - `'ppsx'`: Slide-show file (opens in presentation mode).
10327
10514
  * - `'pptm'`: Macro-enabled presentation (requires VBA data).
10515
+ * - `'ppt'`: Legacy binary PowerPoint 97-2003 presentation. Bypasses the
10516
+ * OOXML ZIP pipeline entirely; see `PptxHandlerRuntimeSaveLegacyPpt`.
10517
+ * Elements with no binary equivalent (charts, SmartArt, media, OLE, ink,
10518
+ * 3D models) are degraded to a rasterised preview picture or a labelled
10519
+ * placeholder, each reported via a `scope: 'save'`-adjacent
10520
+ * `PptxCompatibilityWarning`.
10328
10521
  */
10329
10522
  outputFormat?: PptxSaveFormat;
10523
+ /**
10524
+ * Password for RC4 CryptoAPI encryption of a `'ppt'`-format save. Ignored
10525
+ * for every other {@link outputFormat}; encrypting a `.pptx`/`.ppsx`/`.pptm`
10526
+ * save uses {@link IPptxHandlerRuntime.saveEncrypted}'s separate AES/Agile
10527
+ * OLE2 wrapping instead, since the legacy binary format's own encryption
10528
+ * scheme is embedded directly in the `.ppt` stream rather than wrapping an
10529
+ * already-produced package.
10530
+ */
10531
+ pptPassword?: string;
10330
10532
  /**
10331
10533
  * Embedded fonts to write back (or add) to the saved PPTX.
10332
10534
  *
@@ -12303,11 +12505,13 @@ interface ReadOnlyRecommendation {
12303
12505
  /**
12304
12506
  * Whether lifting this recommendation requires a correct password, rather
12305
12507
  * than a plain "Edit anyway". True only for a `modifyVerifier` that carries
12306
- * a hash this viewer can actually check (`hashData` + `saltData` +
12307
- * `algorithmName`, see `checkModifyPassword`). "Mark as Final" is purely
12308
- * advisory and never requires one, and a `modifyVerifier` missing pieces of
12309
- * its hash cannot be verified either way, so both fall back to the plain
12310
- * "Edit anyway" a binding already had.
12508
+ * a hash this viewer can actually check (`hashData` plus a resolvable
12509
+ * algorithm, see `checkModifyPassword`; `saltData` is optional and NOT
12510
+ * required, a missing salt is still checkable). "Mark as Final" is purely
12511
+ * advisory and never requires one, and a `modifyVerifier` with no hash at
12512
+ * all, or naming an algorithm this viewer does not implement, cannot be
12513
+ * verified either way, so both fall back to the plain "Edit anyway" a
12514
+ * binding already had.
12311
12515
  */
12312
12516
  readonly requiresPassword: boolean;
12313
12517
  }
@@ -12666,6 +12870,7 @@ interface ToolbarProps {
12666
12870
  onSaveAsPptx: () => void;
12667
12871
  onSaveAsPpsx: () => void;
12668
12872
  onSaveAsPptm: () => void;
12873
+ onSaveAsPpt: () => void;
12669
12874
  hasMacros: boolean;
12670
12875
  onCopySlideAsImage: () => void;
12671
12876
  onPrint: () => void;
@@ -14984,6 +15189,7 @@ interface ExportHandlersResult {
14984
15189
  handleSaveAsPptx: () => void;
14985
15190
  handleSaveAsPpsx: () => void;
14986
15191
  handleSaveAsPptm: () => void;
15192
+ handleSaveAsPpt: () => void;
14987
15193
  handleCancelExport: () => void;
14988
15194
  exportModalOpen: boolean;
14989
15195
  exportModalTitle: string;
@@ -16028,6 +16234,7 @@ interface ExportSaveAsResult {
16028
16234
  handleSaveAsPptx: () => void;
16029
16235
  handleSaveAsPpsx: () => void;
16030
16236
  handleSaveAsPptm: () => void;
16237
+ handleSaveAsPpt: () => void;
16031
16238
  }
16032
16239
  declare function useExportSaveAs(input: UseExportSaveAsInput): ExportSaveAsResult;
16033
16240
  //#endregion