pptx-react-viewer 3.1.5 → 3.2.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 (157) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/{AiChatPanel-ITCVRVKP.mjs → AiChatPanel-C3E7NLX3.mjs} +4 -4
  3. package/dist/AiChatPanel-C3E7NLX3.mjs.br +0 -0
  4. package/dist/AiChatPanel-C3E7NLX3.mjs.gz +0 -0
  5. package/dist/{AiChatPanel-TO5PHBGW.js → AiChatPanel-TKBVSYD2.js} +24 -24
  6. package/dist/AiChatPanel-TKBVSYD2.js.br +0 -0
  7. package/dist/AiChatPanel-TKBVSYD2.js.gz +0 -0
  8. package/dist/{Area3DChartScene-2UNQ3J3V.js → Area3DChartScene-3A3CXKN3.js} +2 -2
  9. package/dist/Area3DChartScene-3A3CXKN3.js.br +0 -0
  10. package/dist/Area3DChartScene-3A3CXKN3.js.gz +0 -0
  11. package/dist/{Area3DChartScene-7PHPDOTG.mjs → Area3DChartScene-7YCFWEGX.mjs} +1 -1
  12. package/dist/Area3DChartScene-7YCFWEGX.mjs.br +3 -0
  13. package/dist/Area3DChartScene-7YCFWEGX.mjs.gz +0 -0
  14. package/dist/{Bar3DChartScene-BLPUHYRZ.mjs → Bar3DChartScene-7CNSJ35X.mjs} +1 -1
  15. package/dist/Bar3DChartScene-7CNSJ35X.mjs.br +0 -0
  16. package/dist/Bar3DChartScene-7CNSJ35X.mjs.gz +0 -0
  17. package/dist/{Bar3DChartScene-MC5S3AGT.js → Bar3DChartScene-BDUENAWJ.js} +2 -2
  18. package/dist/Bar3DChartScene-BDUENAWJ.js.br +0 -0
  19. package/dist/Bar3DChartScene-BDUENAWJ.js.gz +0 -0
  20. package/dist/{Line3DChartScene-JVVZRIDD.js → Line3DChartScene-R352CZ5U.js} +2 -2
  21. package/dist/Line3DChartScene-R352CZ5U.js.br +0 -0
  22. package/dist/Line3DChartScene-R352CZ5U.js.gz +0 -0
  23. package/dist/{Line3DChartScene-L5B4YFG3.mjs → Line3DChartScene-SMTHK6MD.mjs} +1 -1
  24. package/dist/Line3DChartScene-SMTHK6MD.mjs.br +3 -0
  25. package/dist/Line3DChartScene-SMTHK6MD.mjs.gz +0 -0
  26. package/dist/{Model3DScene-6TNWS5LV.mjs → Model3DScene-AUVJXXPV.mjs} +1 -1
  27. package/dist/Model3DScene-AUVJXXPV.mjs.br +0 -0
  28. package/dist/Model3DScene-AUVJXXPV.mjs.gz +0 -0
  29. package/dist/{Model3DScene-LRDNQNKJ.js → Model3DScene-Y4SGFQYW.js} +2 -2
  30. package/dist/{Model3DScene-LRDNQNKJ.js.br → Model3DScene-Y4SGFQYW.js.br} +0 -0
  31. package/dist/Model3DScene-Y4SGFQYW.js.gz +0 -0
  32. package/dist/{PieChart3DScene-PZWZCXHX.js → PieChart3DScene-TK2VT4RS.js} +2 -2
  33. package/dist/PieChart3DScene-TK2VT4RS.js.br +0 -0
  34. package/dist/PieChart3DScene-TK2VT4RS.js.gz +0 -0
  35. package/dist/{PieChart3DScene-XXAIVP4I.mjs → PieChart3DScene-UD7GRH55.mjs} +1 -1
  36. package/dist/PieChart3DScene-UD7GRH55.mjs.br +0 -0
  37. package/dist/PieChart3DScene-UD7GRH55.mjs.gz +0 -0
  38. package/dist/{SurfaceChart3DScene-UBQV3ZN2.js → SurfaceChart3DScene-ERFXZW2O.js} +2 -2
  39. package/dist/SurfaceChart3DScene-ERFXZW2O.js.br +0 -0
  40. package/dist/SurfaceChart3DScene-ERFXZW2O.js.gz +0 -0
  41. package/dist/{SurfaceChart3DScene-CRUGJSCY.mjs → SurfaceChart3DScene-TXY6UZSW.mjs} +1 -1
  42. package/dist/SurfaceChart3DScene-TXY6UZSW.mjs.br +0 -0
  43. package/dist/SurfaceChart3DScene-TXY6UZSW.mjs.gz +0 -0
  44. package/dist/{chunk-SWRY3SI5.js → chunk-ALO4ZOHQ.js} +46 -1
  45. package/dist/chunk-ALO4ZOHQ.js.br +0 -0
  46. package/dist/{chunk-SWRY3SI5.js.gz → chunk-ALO4ZOHQ.js.gz} +0 -0
  47. package/dist/{chunk-LXYDXLKZ.js → chunk-ARQGUUYU.js} +421 -460
  48. package/dist/chunk-ARQGUUYU.js.br +0 -0
  49. package/dist/chunk-ARQGUUYU.js.gz +0 -0
  50. package/dist/{chunk-T2QG2HD5.js → chunk-B6UIVRFA.js} +167 -167
  51. package/dist/chunk-B6UIVRFA.js.br +0 -0
  52. package/dist/chunk-B6UIVRFA.js.gz +0 -0
  53. package/dist/{chunk-YDEEINER.js → chunk-FJDZ7AEE.js} +6446 -3739
  54. package/dist/chunk-FJDZ7AEE.js.br +0 -0
  55. package/dist/chunk-FJDZ7AEE.js.gz +0 -0
  56. package/dist/{chunk-BPWSJLLG.mjs → chunk-FMEEIS6L.mjs} +2 -2
  57. package/dist/chunk-FMEEIS6L.mjs.br +0 -0
  58. package/dist/chunk-FMEEIS6L.mjs.gz +0 -0
  59. package/dist/{chunk-XIHK52SB.mjs → chunk-G7UBIKAG.mjs} +6445 -3740
  60. package/dist/chunk-G7UBIKAG.mjs.br +0 -0
  61. package/dist/chunk-G7UBIKAG.mjs.gz +0 -0
  62. package/dist/{chunk-P3VXXUZM.mjs → chunk-PPNXPEEZ.mjs} +20 -14
  63. package/dist/chunk-PPNXPEEZ.mjs.br +0 -0
  64. package/dist/chunk-PPNXPEEZ.mjs.gz +0 -0
  65. package/dist/{chunk-LGVNUG3G.js → chunk-Q52HT4EZ.js} +9 -8
  66. package/dist/chunk-Q52HT4EZ.js.br +0 -0
  67. package/dist/chunk-Q52HT4EZ.js.gz +0 -0
  68. package/dist/{chunk-ARJE3V6V.mjs → chunk-RHSA5BW5.mjs} +46 -1
  69. package/dist/chunk-RHSA5BW5.mjs.br +0 -0
  70. package/dist/{chunk-ARJE3V6V.mjs.gz → chunk-RHSA5BW5.mjs.gz} +0 -0
  71. package/dist/{chunk-ZPF4L6SD.js → chunk-RRAL4Y7V.js} +1136 -1130
  72. package/dist/chunk-RRAL4Y7V.js.br +0 -0
  73. package/dist/chunk-RRAL4Y7V.js.gz +0 -0
  74. package/dist/{chunk-QOLYY7E3.mjs → chunk-RX6FE24O.mjs} +7 -6
  75. package/dist/chunk-RX6FE24O.mjs.br +0 -0
  76. package/dist/chunk-RX6FE24O.mjs.gz +0 -0
  77. package/dist/{chunk-A2UAUSJM.mjs → chunk-UHR7EYFM.mjs} +18 -57
  78. package/dist/chunk-UHR7EYFM.mjs.br +0 -0
  79. package/dist/chunk-UHR7EYFM.mjs.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.d.ts +170 -17
  87. package/dist/index.js +47 -47
  88. package/dist/index.js.br +0 -0
  89. package/dist/index.js.gz +0 -0
  90. package/dist/index.mjs +6 -6
  91. package/dist/index.mjs.br +0 -0
  92. package/dist/index.mjs.gz +0 -0
  93. package/dist/internals.d.ts +170 -17
  94. package/dist/internals.d.ts.map +1 -1
  95. package/dist/internals.js +79 -79
  96. package/dist/internals.js.br +0 -0
  97. package/dist/internals.js.gz +0 -0
  98. package/dist/internals.mjs +4 -4
  99. package/dist/internals.mjs.br +0 -0
  100. package/dist/internals.mjs.gz +0 -0
  101. package/dist/viewer/index.d.ts +170 -17
  102. package/dist/viewer/index.js +27 -27
  103. package/dist/viewer/index.js.br +0 -0
  104. package/dist/viewer/index.js.gz +0 -0
  105. package/dist/viewer/index.mjs +6 -6
  106. package/dist/viewer/index.mjs.br +0 -0
  107. package/dist/viewer/index.mjs.gz +0 -0
  108. package/package.json +1 -1
  109. package/dist/AiChatPanel-ITCVRVKP.mjs.br +0 -0
  110. package/dist/AiChatPanel-ITCVRVKP.mjs.gz +0 -0
  111. package/dist/AiChatPanel-TO5PHBGW.js.br +0 -0
  112. package/dist/AiChatPanel-TO5PHBGW.js.gz +0 -0
  113. package/dist/Area3DChartScene-2UNQ3J3V.js.br +0 -0
  114. package/dist/Area3DChartScene-2UNQ3J3V.js.gz +0 -0
  115. package/dist/Area3DChartScene-7PHPDOTG.mjs.br +0 -0
  116. package/dist/Area3DChartScene-7PHPDOTG.mjs.gz +0 -0
  117. package/dist/Bar3DChartScene-BLPUHYRZ.mjs.br +0 -0
  118. package/dist/Bar3DChartScene-BLPUHYRZ.mjs.gz +0 -0
  119. package/dist/Bar3DChartScene-MC5S3AGT.js.br +0 -0
  120. package/dist/Bar3DChartScene-MC5S3AGT.js.gz +0 -0
  121. package/dist/Line3DChartScene-JVVZRIDD.js.br +0 -0
  122. package/dist/Line3DChartScene-JVVZRIDD.js.gz +0 -0
  123. package/dist/Line3DChartScene-L5B4YFG3.mjs.br +0 -0
  124. package/dist/Line3DChartScene-L5B4YFG3.mjs.gz +0 -0
  125. package/dist/Model3DScene-6TNWS5LV.mjs.br +0 -0
  126. package/dist/Model3DScene-6TNWS5LV.mjs.gz +0 -0
  127. package/dist/Model3DScene-LRDNQNKJ.js.gz +0 -0
  128. package/dist/PieChart3DScene-PZWZCXHX.js.br +0 -0
  129. package/dist/PieChart3DScene-PZWZCXHX.js.gz +0 -0
  130. package/dist/PieChart3DScene-XXAIVP4I.mjs.br +0 -0
  131. package/dist/PieChart3DScene-XXAIVP4I.mjs.gz +0 -0
  132. package/dist/SurfaceChart3DScene-CRUGJSCY.mjs.br +0 -1
  133. package/dist/SurfaceChart3DScene-CRUGJSCY.mjs.gz +0 -0
  134. package/dist/SurfaceChart3DScene-UBQV3ZN2.js.br +0 -0
  135. package/dist/SurfaceChart3DScene-UBQV3ZN2.js.gz +0 -0
  136. package/dist/chunk-A2UAUSJM.mjs.br +0 -0
  137. package/dist/chunk-A2UAUSJM.mjs.gz +0 -0
  138. package/dist/chunk-ARJE3V6V.mjs.br +0 -0
  139. package/dist/chunk-BPWSJLLG.mjs.br +0 -0
  140. package/dist/chunk-BPWSJLLG.mjs.gz +0 -0
  141. package/dist/chunk-LGVNUG3G.js.br +0 -0
  142. package/dist/chunk-LGVNUG3G.js.gz +0 -0
  143. package/dist/chunk-LXYDXLKZ.js.br +0 -0
  144. package/dist/chunk-LXYDXLKZ.js.gz +0 -0
  145. package/dist/chunk-P3VXXUZM.mjs.br +0 -0
  146. package/dist/chunk-P3VXXUZM.mjs.gz +0 -0
  147. package/dist/chunk-QOLYY7E3.mjs.br +0 -0
  148. package/dist/chunk-QOLYY7E3.mjs.gz +0 -0
  149. package/dist/chunk-SWRY3SI5.js.br +0 -0
  150. package/dist/chunk-T2QG2HD5.js.br +0 -0
  151. package/dist/chunk-T2QG2HD5.js.gz +0 -0
  152. package/dist/chunk-XIHK52SB.mjs.br +0 -0
  153. package/dist/chunk-XIHK52SB.mjs.gz +0 -0
  154. package/dist/chunk-YDEEINER.js.br +0 -0
  155. package/dist/chunk-YDEEINER.js.gz +0 -0
  156. package/dist/chunk-ZPF4L6SD.js.br +0 -0
  157. package/dist/chunk-ZPF4L6SD.js.gz +0 -0
package/dist/index.js CHANGED
@@ -1,176 +1,176 @@
1
1
  'use strict';
2
2
 
3
- var chunkZPF4L6SD_js = require('./chunk-ZPF4L6SD.js');
4
- require('./chunk-LGVNUG3G.js');
5
- var chunkLXYDXLKZ_js = require('./chunk-LXYDXLKZ.js');
6
- var chunkT2QG2HD5_js = require('./chunk-T2QG2HD5.js');
7
- var chunkYDEEINER_js = require('./chunk-YDEEINER.js');
8
- var chunkSWRY3SI5_js = require('./chunk-SWRY3SI5.js');
3
+ var chunkRRAL4Y7V_js = require('./chunk-RRAL4Y7V.js');
4
+ require('./chunk-Q52HT4EZ.js');
5
+ var chunkARQGUUYU_js = require('./chunk-ARQGUUYU.js');
6
+ var chunkB6UIVRFA_js = require('./chunk-B6UIVRFA.js');
7
+ var chunkFJDZ7AEE_js = require('./chunk-FJDZ7AEE.js');
8
+ var chunkALO4ZOHQ_js = require('./chunk-ALO4ZOHQ.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 chunkZPF4L6SD_js.PowerPointViewer; }
15
+ get: function () { return chunkRRAL4Y7V_js.PowerPointViewer; }
16
16
  });
17
17
  Object.defineProperty(exports, "SlideCanvas", {
18
18
  enumerable: true,
19
- get: function () { return chunkZPF4L6SD_js.SlideCanvas; }
19
+ get: function () { return chunkRRAL4Y7V_js.SlideCanvas; }
20
20
  });
21
21
  Object.defineProperty(exports, "SlideTemplateGalleryDialog", {
22
22
  enumerable: true,
23
- get: function () { return chunkZPF4L6SD_js.SlideTemplateGalleryDialog; }
23
+ get: function () { return chunkRRAL4Y7V_js.SlideTemplateGalleryDialog; }
24
24
  });
25
25
  Object.defineProperty(exports, "SlideTemplatePreview", {
26
26
  enumerable: true,
27
- get: function () { return chunkZPF4L6SD_js.SlideTemplatePreview; }
27
+ get: function () { return chunkRRAL4Y7V_js.SlideTemplatePreview; }
28
28
  });
29
29
  Object.defineProperty(exports, "Toolbar", {
30
30
  enumerable: true,
31
- get: function () { return chunkZPF4L6SD_js.Toolbar; }
31
+ get: function () { return chunkRRAL4Y7V_js.Toolbar; }
32
32
  });
33
33
  Object.defineProperty(exports, "ViewerThemeProvider", {
34
34
  enumerable: true,
35
- get: function () { return chunkZPF4L6SD_js.ViewerThemeProvider; }
35
+ get: function () { return chunkRRAL4Y7V_js.ViewerThemeProvider; }
36
36
  });
37
37
  Object.defineProperty(exports, "useViewerTheme", {
38
38
  enumerable: true,
39
- get: function () { return chunkZPF4L6SD_js.useViewerTheme; }
39
+ get: function () { return chunkRRAL4Y7V_js.useViewerTheme; }
40
40
  });
41
41
  Object.defineProperty(exports, "renderToCanvas", {
42
42
  enumerable: true,
43
- get: function () { return chunkLXYDXLKZ_js.renderToCanvas; }
43
+ get: function () { return chunkARQGUUYU_js.renderToCanvas; }
44
44
  });
45
45
  Object.defineProperty(exports, "useViewerBuildingBlocks", {
46
46
  enumerable: true,
47
- get: function () { return chunkLXYDXLKZ_js.useViewerBuildingBlocks; }
47
+ get: function () { return chunkARQGUUYU_js.useViewerBuildingBlocks; }
48
48
  });
49
49
  Object.defineProperty(exports, "getAnimationInitialStyle", {
50
50
  enumerable: true,
51
- get: function () { return chunkT2QG2HD5_js.getAnimationInitialStyle; }
51
+ get: function () { return chunkB6UIVRFA_js.getAnimationInitialStyle; }
52
52
  });
53
53
  Object.defineProperty(exports, "AVATAR_COLOR_SWATCHES", {
54
54
  enumerable: true,
55
- get: function () { return chunkYDEEINER_js.AVATAR_COLOR_SWATCHES; }
55
+ get: function () { return chunkFJDZ7AEE_js.AVATAR_COLOR_SWATCHES; }
56
56
  });
57
57
  Object.defineProperty(exports, "DEFAULT_VIEWER_PROFILE", {
58
58
  enumerable: true,
59
- get: function () { return chunkYDEEINER_js.DEFAULT_VIEWER_PROFILE; }
59
+ get: function () { return chunkFJDZ7AEE_js.DEFAULT_VIEWER_PROFILE; }
60
60
  });
61
61
  Object.defineProperty(exports, "PPTX_OPEN_ACCEPT", {
62
62
  enumerable: true,
63
- get: function () { return chunkYDEEINER_js.PPTX_OPEN_ACCEPT; }
63
+ get: function () { return chunkFJDZ7AEE_js.PPTX_OPEN_ACCEPT; }
64
64
  });
65
65
  Object.defineProperty(exports, "PRESENTATION_OPEN_EXTENSIONS", {
66
66
  enumerable: true,
67
- get: function () { return chunkYDEEINER_js.PRESENTATION_OPEN_EXTENSIONS; }
67
+ get: function () { return chunkFJDZ7AEE_js.PRESENTATION_OPEN_EXTENSIONS; }
68
68
  });
69
69
  Object.defineProperty(exports, "SLIDE_TEMPLATES", {
70
70
  enumerable: true,
71
- get: function () { return chunkYDEEINER_js.SLIDE_TEMPLATES; }
71
+ get: function () { return chunkFJDZ7AEE_js.SLIDE_TEMPLATES; }
72
72
  });
73
73
  Object.defineProperty(exports, "THEME_CATALOG", {
74
74
  enumerable: true,
75
- get: function () { return chunkYDEEINER_js.THEME_CATALOG; }
75
+ get: function () { return chunkFJDZ7AEE_js.THEME_CATALOG; }
76
76
  });
77
77
  Object.defineProperty(exports, "VIEWER_PREFS_STORAGE_KEY", {
78
78
  enumerable: true,
79
- get: function () { return chunkYDEEINER_js.VIEWER_PREFS_STORAGE_KEY; }
79
+ get: function () { return chunkFJDZ7AEE_js.VIEWER_PREFS_STORAGE_KEY; }
80
80
  });
81
81
  Object.defineProperty(exports, "buildSlideTemplateContent", {
82
82
  enumerable: true,
83
- get: function () { return chunkYDEEINER_js.buildSlideTemplateContent; }
83
+ get: function () { return chunkFJDZ7AEE_js.buildSlideTemplateContent; }
84
84
  });
85
85
  Object.defineProperty(exports, "buildSlideTemplateSlide", {
86
86
  enumerable: true,
87
- get: function () { return chunkYDEEINER_js.buildSlideTemplateSlide; }
87
+ get: function () { return chunkFJDZ7AEE_js.buildSlideTemplateSlide; }
88
88
  });
89
89
  Object.defineProperty(exports, "clearAllLocalViewerData", {
90
90
  enumerable: true,
91
- get: function () { return chunkYDEEINER_js.clearAllLocalViewerData; }
91
+ get: function () { return chunkFJDZ7AEE_js.clearAllLocalViewerData; }
92
92
  });
93
93
  Object.defineProperty(exports, "clearStoredViewerPrefs", {
94
94
  enumerable: true,
95
- get: function () { return chunkYDEEINER_js.clearStoredViewerPrefs; }
95
+ get: function () { return chunkFJDZ7AEE_js.clearStoredViewerPrefs; }
96
96
  });
97
97
  Object.defineProperty(exports, "defaultCssVars", {
98
98
  enumerable: true,
99
- get: function () { return chunkYDEEINER_js.defaultCssVars; }
99
+ get: function () { return chunkFJDZ7AEE_js.defaultCssVars; }
100
100
  });
101
101
  Object.defineProperty(exports, "defaultRadius", {
102
102
  enumerable: true,
103
- get: function () { return chunkYDEEINER_js.defaultRadius; }
103
+ get: function () { return chunkFJDZ7AEE_js.defaultRadius; }
104
104
  });
105
105
  Object.defineProperty(exports, "defaultThemeColors", {
106
106
  enumerable: true,
107
- get: function () { return chunkYDEEINER_js.defaultThemeColors; }
107
+ get: function () { return chunkFJDZ7AEE_js.defaultThemeColors; }
108
108
  });
109
109
  Object.defineProperty(exports, "getLocalStorageUsageSummary", {
110
110
  enumerable: true,
111
- get: function () { return chunkYDEEINER_js.getLocalStorageUsageSummary; }
111
+ get: function () { return chunkFJDZ7AEE_js.getLocalStorageUsageSummary; }
112
112
  });
113
113
  Object.defineProperty(exports, "isLegacyBinaryPresentation", {
114
114
  enumerable: true,
115
- get: function () { return chunkYDEEINER_js.isLegacyBinaryPresentation; }
115
+ get: function () { return chunkFJDZ7AEE_js.isLegacyBinaryPresentation; }
116
116
  });
117
117
  Object.defineProperty(exports, "isSupportedPresentationFile", {
118
118
  enumerable: true,
119
- get: function () { return chunkYDEEINER_js.isSupportedPresentationFile; }
119
+ get: function () { return chunkFJDZ7AEE_js.isSupportedPresentationFile; }
120
120
  });
121
121
  Object.defineProperty(exports, "presentationBaseName", {
122
122
  enumerable: true,
123
- get: function () { return chunkYDEEINER_js.presentationBaseName; }
123
+ get: function () { return chunkFJDZ7AEE_js.presentationBaseName; }
124
124
  });
125
125
  Object.defineProperty(exports, "readStoredViewerPrefs", {
126
126
  enumerable: true,
127
- get: function () { return chunkYDEEINER_js.readStoredViewerPrefs; }
127
+ get: function () { return chunkFJDZ7AEE_js.readStoredViewerPrefs; }
128
128
  });
129
129
  Object.defineProperty(exports, "resolveProfileInitial", {
130
130
  enumerable: true,
131
- get: function () { return chunkYDEEINER_js.resolveProfileInitial; }
131
+ get: function () { return chunkFJDZ7AEE_js.resolveProfileInitial; }
132
132
  });
133
133
  Object.defineProperty(exports, "resolveThemeCatalogEntry", {
134
134
  enumerable: true,
135
- get: function () { return chunkYDEEINER_js.resolveThemeCatalogEntry; }
135
+ get: function () { return chunkFJDZ7AEE_js.resolveThemeCatalogEntry; }
136
136
  });
137
137
  Object.defineProperty(exports, "saveViewerProfile", {
138
138
  enumerable: true,
139
- get: function () { return chunkYDEEINER_js.saveViewerProfile; }
139
+ get: function () { return chunkFJDZ7AEE_js.saveViewerProfile; }
140
140
  });
141
141
  Object.defineProperty(exports, "savedPresentationFileName", {
142
142
  enumerable: true,
143
- get: function () { return chunkYDEEINER_js.savedPresentationFileName; }
143
+ get: function () { return chunkFJDZ7AEE_js.savedPresentationFileName; }
144
144
  });
145
145
  Object.defineProperty(exports, "themeToCssVars", {
146
146
  enumerable: true,
147
- get: function () { return chunkYDEEINER_js.themeToCssVars; }
147
+ get: function () { return chunkFJDZ7AEE_js.themeToCssVars; }
148
148
  });
149
149
  Object.defineProperty(exports, "vermilionDarkColors", {
150
150
  enumerable: true,
151
- get: function () { return chunkYDEEINER_js.vermilionDarkColors; }
151
+ get: function () { return chunkFJDZ7AEE_js.vermilionDarkColors; }
152
152
  });
153
153
  Object.defineProperty(exports, "vermilionDarkTheme", {
154
154
  enumerable: true,
155
- get: function () { return chunkYDEEINER_js.vermilionDarkTheme; }
155
+ get: function () { return chunkFJDZ7AEE_js.vermilionDarkTheme; }
156
156
  });
157
157
  Object.defineProperty(exports, "vermilionLightColors", {
158
158
  enumerable: true,
159
- get: function () { return chunkYDEEINER_js.vermilionLightColors; }
159
+ get: function () { return chunkFJDZ7AEE_js.vermilionLightColors; }
160
160
  });
161
161
  Object.defineProperty(exports, "vermilionLightTheme", {
162
162
  enumerable: true,
163
- get: function () { return chunkYDEEINER_js.vermilionLightTheme; }
163
+ get: function () { return chunkFJDZ7AEE_js.vermilionLightTheme; }
164
164
  });
165
165
  Object.defineProperty(exports, "vermilionRadius", {
166
166
  enumerable: true,
167
- get: function () { return chunkYDEEINER_js.vermilionRadius; }
167
+ get: function () { return chunkFJDZ7AEE_js.vermilionRadius; }
168
168
  });
169
169
  Object.defineProperty(exports, "writeStoredViewerPrefs", {
170
170
  enumerable: true,
171
- get: function () { return chunkYDEEINER_js.writeStoredViewerPrefs; }
171
+ get: function () { return chunkFJDZ7AEE_js.writeStoredViewerPrefs; }
172
172
  });
173
173
  Object.defineProperty(exports, "LOCALE_CATALOG", {
174
174
  enumerable: true,
175
- get: function () { return chunkSWRY3SI5_js.LOCALE_CATALOG; }
175
+ get: function () { return chunkALO4ZOHQ_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-P3VXXUZM.mjs';
2
- import './chunk-QOLYY7E3.mjs';
3
- export { renderToCanvas, useViewerBuildingBlocks } from './chunk-A2UAUSJM.mjs';
4
- export { getAnimationInitialStyle } from './chunk-BPWSJLLG.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-XIHK52SB.mjs';
6
- export { LOCALE_CATALOG } from './chunk-ARJE3V6V.mjs';
1
+ export { PowerPointViewer, SlideCanvas, SlideTemplateGalleryDialog, SlideTemplatePreview, Toolbar, ViewerThemeProvider, useViewerTheme } from './chunk-PPNXPEEZ.mjs';
2
+ import './chunk-RX6FE24O.mjs';
3
+ export { renderToCanvas, useViewerBuildingBlocks } from './chunk-UHR7EYFM.mjs';
4
+ export { getAnimationInitialStyle } from './chunk-FMEEIS6L.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-G7UBIKAG.mjs';
6
+ export { LOCALE_CATALOG } from './chunk-RHSA5BW5.mjs';
7
7
  import './chunk-XGB3TDIC.mjs';
package/dist/index.mjs.br CHANGED
Binary file
package/dist/index.mjs.gz CHANGED
Binary file
@@ -221,6 +221,12 @@ interface PptxShapeLocks {
221
221
  * `a:spLocks` / `a:picLocks` / `a:cxnSpLocks` / `a:grpSpLocks`.
222
222
  */
223
223
  noDrilldown?: boolean;
224
+ /**
225
+ * `a:picLocks/@noCrop`: forbids cropping the picture. Declared ONLY by
226
+ * `CT_PictureLocking`, so it is written for pictures (and media authored as
227
+ * a `p:pic`) and never onto the other lock elements.
228
+ */
229
+ noCrop?: boolean;
224
230
  /**
225
231
  * Text-box flag from `p:cNvSpPr/@txBox`. Not a lock in the strict sense,
226
232
  * but it lives on the same non-visual-properties node as `a:spLocks`, so
@@ -2162,13 +2168,32 @@ interface PlaceholderTextLevelStyle {
2162
2168
  bulletSizePercent?: number;
2163
2169
  /** Bullet colour from `a:buClr` as hex string. */
2164
2170
  bulletColor?: string;
2171
+ /**
2172
+ * The colour-choice node inside `a:buClr` this level's {@link bulletColor}
2173
+ * resolved from (`a:schemeClr` / `a:sysClr` / `a:prstClr` / `a:srgbClr`,
2174
+ * transforms included), mirroring `BulletInfo.colorXml`. Re-emitted
2175
+ * verbatim on save so a themed bullet is not downgraded to a literal
2176
+ * `a:srgbClr`. Absent when the level declares no bullet colour.
2177
+ */
2178
+ bulletColorXml?: XmlObject;
2165
2179
  /** Bullet size in points from `a:buSzPts`. */
2166
2180
  bulletSizePts?: number;
2167
2181
  /** True when `a:buNone` is present at this level. */
2168
2182
  bulletNone?: boolean;
2169
2183
  marginLeft?: number;
2184
+ /** Paragraph right margin in px (from `@_marR` EMU). */
2185
+ marginRight?: number;
2170
2186
  indent?: number;
2187
+ /**
2188
+ * Paragraph alignment as a `TextStyle['align']` token (`left`, `center`,
2189
+ * `right`, `justify`, `justLow`, `dist`, `thaiDist`), never the raw OOXML
2190
+ * `@algn` value.
2191
+ */
2171
2192
  alignment?: string;
2193
+ /** Right-to-left paragraph direction (`@rtl`). */
2194
+ rtl?: boolean;
2195
+ /** Tab stops from `a:tabLst/a:tab` (positions in px). */
2196
+ tabStops?: TextStyle['tabStops'];
2172
2197
  lineSpacing?: number;
2173
2198
  lineSpacingExactPt?: number;
2174
2199
  spaceBefore?: number;
@@ -2394,6 +2419,20 @@ type PptxChartType = 'bar' | 'line' | 'pie' | 'ofPie' | 'doughnut' | 'area' | 's
2394
2419
  * ```
2395
2420
  */
2396
2421
  type PptxChartBarDirection = 'col' | 'bar';
2422
+ /**
2423
+ * 3-D bar/column shape (OOXML `ST_Shape`, `c:bar3DChart/c:shape/@val` or a
2424
+ * per-series `c:ser/c:shape` override). `coneToMax` / `pyramidToMax` scale
2425
+ * the cone/pyramid so it reaches full height at the value axis maximum,
2426
+ * appearing truncated below it; the plain `cone`/`pyramid` always come to a
2427
+ * full point at the bar's own value.
2428
+ *
2429
+ * @example
2430
+ * ```ts
2431
+ * const shape: PptxBar3DShape = "cylinder";
2432
+ * // => "cylinder", one of: "box" | "cone" | "coneToMax" | "cylinder" | "pyramid" | "pyramidToMax"
2433
+ * ```
2434
+ */
2435
+ type PptxBar3DShape = 'box' | 'cone' | 'coneToMax' | 'cylinder' | 'pyramid' | 'pyramidToMax';
2397
2436
  /**
2398
2437
  * Supported trendline regression types.
2399
2438
  *
@@ -2822,6 +2861,12 @@ interface PptxChartSeries {
2822
2861
  * series.
2823
2862
  */
2824
2863
  seriesChartType?: PptxChartType;
2864
+ /**
2865
+ * Per-series 3-D bar/column shape override (`c:ser/c:shape`), legal only
2866
+ * inside a bar3D chart-type container. Overrides {@link PptxChartData.barShape}
2867
+ * for this series alone.
2868
+ */
2869
+ shape?: PptxBar3DShape;
2825
2870
  boxWhiskerOptions?: PptxChartBoxWhiskerOptions;
2826
2871
  histogramOptions?: PptxChartHistogramOptions;
2827
2872
  waterfallOptions?: PptxChartWaterfallOptions;
@@ -3123,6 +3168,28 @@ interface PptxChartData {
3123
3168
  * default), so only horizontal bar charts need to carry the field.
3124
3169
  */
3125
3170
  barDirection?: PptxChartBarDirection;
3171
+ /**
3172
+ * 3-D bar/column shape (`c:bar3DChart/c:shape/@val`). Bar3D only; a plain
3173
+ * bar chart has no `c:shape` element. A per-series `c:ser/c:shape`
3174
+ * ({@link PptxChartSeries.shape}) overrides this for that series.
3175
+ */
3176
+ barShape?: PptxBar3DShape;
3177
+ /**
3178
+ * Radar chart drawing style (`c:radarChart/c:radarStyle/@val`). `standard`
3179
+ * draws an outline only, `marker` adds markers at each vertex (PowerPoint's
3180
+ * own default for every radar chart it authors), and `filled` paints the
3181
+ * enclosed polygon with the series fill and omits markers. Radar only.
3182
+ */
3183
+ radarStyle?: 'standard' | 'marker' | 'filled';
3184
+ /**
3185
+ * Whether a surface chart renders as a wireframe grid rather than a solid
3186
+ * coloured surface (`c:surfaceChart/c:wireframe/@val` or
3187
+ * `c:surface3DChart/c:wireframe/@val`, both modeled as chart type
3188
+ * `"surface"`). A `CT_Boolean` element: absent from the source XML
3189
+ * defaults to `true` per schema, so `undefined` here means "not present in
3190
+ * the source" and callers should treat it as `true`. Surface only.
3191
+ */
3192
+ wireframe?: boolean;
3126
3193
  /**
3127
3194
  * Scatter presentation mode (`c:scatterChart/c:scatterStyle/@val`).
3128
3195
  *
@@ -3320,6 +3387,26 @@ interface PptxBackgroundRemovalMark {
3320
3387
  * // => retains the middle of the image; the marks list stays empty
3321
3388
  * ```
3322
3389
  */
3390
+ /**
3391
+ * Snapshot of the a14 Corrections / Color panel values as they were read from
3392
+ * the file, kept on {@link PptxImageEffects.prerenderedCorrections} so a
3393
+ * renderer can tell a baked-in value from one changed in this library.
3394
+ */
3395
+ interface PptxImagePrerenderedCorrections {
3396
+ sharpenSoften?: {
3397
+ amount: number;
3398
+ };
3399
+ brightnessContrast?: {
3400
+ bright?: number;
3401
+ contrast?: number;
3402
+ };
3403
+ colorTemperature?: {
3404
+ colorTemp: number;
3405
+ };
3406
+ colorSaturation?: {
3407
+ sat: number;
3408
+ };
3409
+ }
3323
3410
  interface PptxBackgroundRemoval {
3324
3411
  /** Top edge of the retained rectangle (0..1 fraction of the image height). */
3325
3412
  top: number;
@@ -3386,18 +3473,71 @@ interface PptxImageEffects {
3386
3473
  */
3387
3474
  backgroundRemoval?: PptxBackgroundRemoval;
3388
3475
  /**
3389
- * `a14:imgLayer/@r:embed` relationship id of the PRISTINE original image
3476
+ * `a14:imgLayer/@r:embed`: relationship id of the PRISTINE original image
3390
3477
  * the baked effects were derived from (PowerPoint stores it as an HD Photo
3391
3478
  * `.wdp` part, which browsers cannot decode).
3392
3479
  */
3393
3480
  originalImageRelId?: string;
3481
+ /**
3482
+ * PowerPoint 2010+ Corrections panel "Sharpen/Soften"
3483
+ * (`a14:sharpenSoften/@amount`). Raw as the XML carries it: 1/1000ths of a
3484
+ * percent, `-100000` (fully softened) .. `100000` (fully sharpened).
3485
+ * Edit-time metadata like the artistic effects: PowerPoint bakes the result
3486
+ * into the stored bitmap.
3487
+ */
3488
+ sharpenSoften?: {
3489
+ amount: number;
3490
+ };
3491
+ /**
3492
+ * PowerPoint 2010+ Corrections panel "Brightness/Contrast"
3493
+ * (`a14:brightnessContrast/@bright`, `@contrast`). Raw 1/1000ths of a
3494
+ * percent, `-100000` .. `100000`. Distinct from the legacy `a:blip/@bright`
3495
+ * + `@contrast` pair in {@link PptxImageEffects.brightness} /
3496
+ * {@link PptxImageEffects.contrast}, which PowerPoint 2007 wrote and which
3497
+ * a renderer still applies.
3498
+ */
3499
+ brightnessContrast?: {
3500
+ bright?: number;
3501
+ contrast?: number;
3502
+ };
3503
+ /**
3504
+ * PowerPoint 2010+ Color panel "Color Tone"
3505
+ * (`a14:colorTemperature/@colorTemp`). Raw Kelvin value, `1500` .. `11500`;
3506
+ * `6500` is neutral.
3507
+ */
3508
+ colorTemperature?: {
3509
+ colorTemp: number;
3510
+ };
3511
+ /**
3512
+ * PowerPoint 2010+ Color panel "Color Saturation" (`a14:saturation/@sat`).
3513
+ * Raw 1/1000ths of a percent: `100000` is unchanged, `0` is grayscale,
3514
+ * `400000` the maximum. Named `colorSaturation` because
3515
+ * {@link PptxImageEffects.saturation} is the viewer-side -100..100 knob
3516
+ * that has no OOXML counterpart.
3517
+ */
3518
+ colorSaturation?: {
3519
+ sat: number;
3520
+ };
3521
+ /**
3522
+ * The Corrections / Color panel values ALREADY baked into the image data,
3523
+ * which a renderer must not apply a second time. The a14 counterpart of
3524
+ * {@link PptxImageEffects.artisticPrerenderedEffect}: PowerPoint writes the
3525
+ * corrected bitmap to the main `a:blip` and keeps the pristine original in
3526
+ * `a14:imgLayer` (measured on a real deck: the stored PNG is a monotone tonal
3527
+ * transform of the `.wdp` original, slope 0.7 for `contrast="-40000"`).
3528
+ *
3529
+ * Holds the VALUES rather than a boolean so that changing one of the four
3530
+ * fields in this library's inspector still renders: a field that differs
3531
+ * from its snapshot is applied, one that matches is skipped.
3532
+ */
3533
+ prerenderedCorrections?: PptxImagePrerenderedCorrections;
3394
3534
  /** Alpha modulation fixed: non-negative percentage (100 means unchanged opacity). */
3395
3535
  alphaModFix?: number;
3396
3536
  /** Original alpha modulation fixed node, including foreign attributes. */
3397
3537
  alphaModFixRawXml?: XmlObject;
3398
- /** Bi-level threshold converts to 1-bit black/white (0-100). */
3538
+ /** Bi-level threshold: converts to 1-bit black/white (0-100). */
3399
3539
  biLevel?: number;
3400
- /** Colour change swap one colour range for another (used for transparency keying). */
3540
+ /** Colour change: swap one colour range for another (used for transparency keying). */
3401
3541
  clrChange?: {
3402
3542
  clrFrom: string;
3403
3543
  clrTo: string;
@@ -3420,11 +3560,11 @@ interface PptxImageEffects {
3420
3560
  /** Original effect XML, including colour transforms and foreign attributes. */
3421
3561
  rawXml?: XmlObject;
3422
3562
  };
3423
- /** Alpha ceiling (`a:alphaCeiling`) clamps any non-zero alpha to fully opaque. Boolean flag. */
3563
+ /** Alpha ceiling (`a:alphaCeiling`): clamps any non-zero alpha to fully opaque. Boolean flag. */
3424
3564
  alphaCeiling?: boolean;
3425
3565
  /** Original alpha ceiling node, including foreign attributes. */
3426
3566
  alphaCeilingRawXml?: XmlObject;
3427
- /** Alpha floor (`a:alphaFloor`) clamps any non-fully-opaque alpha to fully transparent. Boolean flag. */
3567
+ /** Alpha floor (`a:alphaFloor`): clamps any non-fully-opaque alpha to fully transparent. Boolean flag. */
3428
3568
  alphaFloor?: boolean;
3429
3569
  /** Original alpha floor node, including foreign attributes. */
3430
3570
  alphaFloorRawXml?: XmlObject;
@@ -3448,16 +3588,16 @@ interface PptxImageEffects {
3448
3588
  */
3449
3589
  amt?: number;
3450
3590
  };
3451
- /** Alpha replace (`a:alphaRepl`) replaces alpha with the given fixed-percent value (0..100). */
3591
+ /** Alpha replace (`a:alphaRepl`): replaces alpha with the given fixed-percent value (0..100). */
3452
3592
  alphaRepl?: number;
3453
3593
  /** Original alpha replace node, including foreign attributes. */
3454
3594
  alphaReplRawXml?: XmlObject;
3455
- /** Alpha bi-level (`a:alphaBiLevel`) threshold (0..100) above which alpha becomes fully opaque. */
3595
+ /** Alpha bi-level (`a:alphaBiLevel`): threshold (0..100) above which alpha becomes fully opaque. */
3456
3596
  alphaBiLevel?: number;
3457
3597
  /** Original alpha bi-level node, including foreign attributes. */
3458
3598
  alphaBiLevelRawXml?: XmlObject;
3459
3599
  /**
3460
- * Colour replace (`a:clrRepl`) replaces all colour information in an image
3600
+ * Colour replace (`a:clrRepl`): replaces all colour information in an image
3461
3601
  * with the given solid colour. Stores the raw colour child to preserve scheme
3462
3602
  * colour references and modifiers.
3463
3603
  */
@@ -3467,24 +3607,24 @@ interface PptxImageEffects {
3467
3607
  /** Raw opaque colour XML for round-trip. */
3468
3608
  rawXml?: Record<string, unknown>;
3469
3609
  };
3470
- /** Luminance modulation (`a:lum`) bright/contrast as fixed percentages (0..100). */
3610
+ /** Luminance modulation (`a:lum`): bright/contrast as fixed percentages (0..100). */
3471
3611
  lum?: {
3472
3612
  bright?: number;
3473
3613
  contrast?: number;
3474
3614
  };
3475
- /** HSL modulation (`a:hsl`) hue (0..360 degrees), saturation/luminance (-100..100). */
3615
+ /** HSL modulation (`a:hsl`): hue (0..360 degrees), saturation/luminance (-100..100). */
3476
3616
  hsl?: {
3477
3617
  hue?: number;
3478
3618
  sat?: number;
3479
3619
  lum?: number;
3480
3620
  };
3481
- /** Image-effect tint (`a:tint` inside blip) hue (0..360), amount (-100..100). */
3621
+ /** Image-effect tint (`a:tint` inside blip): hue (0..360), amount (-100..100). */
3482
3622
  tint?: {
3483
3623
  hue?: number;
3484
3624
  amt?: number;
3485
3625
  };
3486
3626
  /**
3487
- * Fill overlay (`a:fillOverlay`) overlays a fill on top of the blip.
3627
+ * Fill overlay (`a:fillOverlay`): overlays a fill on top of the blip.
3488
3628
  * Stores blend mode and the raw inner fill XML for round-trip.
3489
3629
  */
3490
3630
  fillOverlay?: {
@@ -3526,7 +3666,7 @@ interface PptxImageEffects {
3526
3666
  background?: string;
3527
3667
  };
3528
3668
  };
3529
- /** Blur (`a:blur`) radius in EMU and grow flag. */
3669
+ /** Blur (`a:blur`): radius in EMU and grow flag. */
3530
3670
  blur?: {
3531
3671
  rad?: number;
3532
3672
  grow?: boolean;
@@ -3538,12 +3678,12 @@ interface PptxImageEffects {
3538
3678
  * @example
3539
3679
  * ```ts
3540
3680
  * const shape: PptxCropShape = "ellipse";
3541
- * // => "ellipse" one of: none | ellipse | roundedRect | triangle | diamond | pentagon | hexagon | star
3681
+ * // => "ellipse": one of: none | ellipse | roundedRect | triangle | diamond | pentagon | hexagon | star
3542
3682
  * ```
3543
3683
  */
3544
3684
  type PptxCropShape = 'none' | 'ellipse' | 'roundedRect' | 'triangle' | 'diamond' | 'pentagon' | 'hexagon' | 'star';
3545
3685
  /**
3546
- * Image content mixin present on image and picture elements.
3686
+ * Image content mixin: present on image and picture elements.
3547
3687
  *
3548
3688
  * Contains the decoded image data (base64 data URL or archive path),
3549
3689
  * alt text, crop insets, tiling settings, and image effects.
@@ -3613,7 +3753,16 @@ interface PptxImageProperties {
3613
3753
  dpi?: number;
3614
3754
  /** Image recolour/artistic effect properties. */
3615
3755
  imageEffects?: PptxImageEffects;
3616
- /** Crop-to-shape — CSS clip-path shape name. */
3756
+ /**
3757
+ * Crop-to-shape (CSS clip-path shape name).
3758
+ *
3759
+ * PowerPoint implements "Crop to Shape" by writing the picture's own
3760
+ * `a:prstGeom`, so this is a typed view over `shapeType`: on load it is
3761
+ * derived from the preset (`ellipse` -> `'ellipse'`, `roundRect` ->
3762
+ * `'roundedRect'`, `star5` -> `'star'`, ...; see
3763
+ * `utils/crop-shape-geometry`), and on save a changed value rewrites the
3764
+ * preset. `'none'` / `undefined` leaves the geometry alone.
3765
+ */
3617
3766
  cropShape?: PptxCropShape;
3618
3767
  }
3619
3768
  //#endregion
@@ -7540,7 +7689,11 @@ interface PptxSlide {
7540
7689
  */
7541
7690
  slideId?: string;
7542
7691
  sourceSlideId?: string;
7543
- /** Optional author-supplied slide name (set via `SlideBuilder.setName`). */
7692
+ /**
7693
+ * The slide name, `p:cSld/@name`: loaded from the part, written back on
7694
+ * save (an empty string clears the attribute), and settable via
7695
+ * `SlideBuilder.setName`.
7696
+ */
7544
7697
  name?: string;
7545
7698
  layoutPath?: string;
7546
7699
  layoutName?: string;