pptx-react-viewer 4.4.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 +37 -0
  2. package/dist/{AiChatPanel-QJHUDIWT.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-UFMSTNCB.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-KXNJBAQD.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-3GOC5HUS.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-OWTHF5N4.js → chunk-6FVYG27J.js} +201 -191
  15. package/dist/chunk-6FVYG27J.js.br +0 -0
  16. package/dist/chunk-6FVYG27J.js.gz +0 -0
  17. package/dist/{chunk-JQXN6PO7.mjs → chunk-APAVAD2A.mjs} +12 -0
  18. package/dist/chunk-APAVAD2A.mjs.br +0 -0
  19. package/dist/chunk-APAVAD2A.mjs.gz +0 -0
  20. package/dist/{chunk-XMKLY2SE.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-LUHUYBGW.mjs → chunk-IDV2ITXM.mjs} +413 -92
  24. package/dist/chunk-IDV2ITXM.mjs.br +0 -0
  25. package/dist/chunk-IDV2ITXM.mjs.gz +0 -0
  26. package/dist/{chunk-7WWINBGF.js → chunk-LYZQLV7R.js} +2513 -1533
  27. package/dist/chunk-LYZQLV7R.js.br +0 -0
  28. package/dist/chunk-LYZQLV7R.js.gz +0 -0
  29. package/dist/{chunk-WCHKDZP6.mjs → chunk-PRXJ3J5W.mjs} +24 -5
  30. package/dist/chunk-PRXJ3J5W.mjs.br +0 -0
  31. package/dist/chunk-PRXJ3J5W.mjs.gz +0 -0
  32. package/dist/{chunk-CSY422LU.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-I4D6JQOI.js → chunk-UMQV2432.js} +12 -0
  36. package/dist/chunk-UMQV2432.js.br +0 -0
  37. package/dist/chunk-UMQV2432.js.gz +0 -0
  38. package/dist/{chunk-AI6K5EAE.js → chunk-UZFCFYK6.js} +1478 -1157
  39. package/dist/chunk-UZFCFYK6.js.br +0 -0
  40. package/dist/chunk-UZFCFYK6.js.gz +0 -0
  41. package/dist/{chunk-D3TZOCQP.mjs → chunk-VZNIVS3X.mjs} +2509 -1534
  42. package/dist/chunk-VZNIVS3X.mjs.br +0 -0
  43. package/dist/chunk-VZNIVS3X.mjs.gz +0 -0
  44. package/dist/{chunk-YJKR7Z3X.js → chunk-Y4VRYQQS.js} +841 -822
  45. package/dist/chunk-Y4VRYQQS.js.br +0 -0
  46. package/dist/chunk-Y4VRYQQS.js.gz +0 -0
  47. package/dist/{chunk-WNFHFFYE.mjs → chunk-ZF5S3HHW.mjs} +17 -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 +10 -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 +10 -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 +10 -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 +10 -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 +10 -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 +10 -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 +10 -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 +10 -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 +45 -1
  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 +55 -1
  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 +48 -1
  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-QJHUDIWT.mjs.br +0 -0
  106. package/dist/AiChatPanel-QJHUDIWT.mjs.gz +0 -0
  107. package/dist/AiChatPanel-UFMSTNCB.js.br +0 -0
  108. package/dist/AiChatPanel-UFMSTNCB.js.gz +0 -0
  109. package/dist/Model3DScene-3GOC5HUS.mjs.br +0 -0
  110. package/dist/Model3DScene-3GOC5HUS.mjs.gz +0 -0
  111. package/dist/Model3DScene-KXNJBAQD.js.br +0 -0
  112. package/dist/Model3DScene-KXNJBAQD.js.gz +0 -0
  113. package/dist/chunk-7WWINBGF.js.br +0 -0
  114. package/dist/chunk-7WWINBGF.js.gz +0 -0
  115. package/dist/chunk-AI6K5EAE.js.br +0 -0
  116. package/dist/chunk-AI6K5EAE.js.gz +0 -0
  117. package/dist/chunk-CSY422LU.js.br +0 -0
  118. package/dist/chunk-CSY422LU.js.gz +0 -0
  119. package/dist/chunk-D3TZOCQP.mjs.br +0 -0
  120. package/dist/chunk-D3TZOCQP.mjs.gz +0 -0
  121. package/dist/chunk-I4D6JQOI.js.br +0 -0
  122. package/dist/chunk-I4D6JQOI.js.gz +0 -0
  123. package/dist/chunk-JQXN6PO7.mjs.br +0 -0
  124. package/dist/chunk-JQXN6PO7.mjs.gz +0 -0
  125. package/dist/chunk-LUHUYBGW.mjs.br +0 -0
  126. package/dist/chunk-LUHUYBGW.mjs.gz +0 -0
  127. package/dist/chunk-OWTHF5N4.js.br +0 -0
  128. package/dist/chunk-OWTHF5N4.js.gz +0 -0
  129. package/dist/chunk-WCHKDZP6.mjs.br +0 -0
  130. package/dist/chunk-WCHKDZP6.mjs.gz +0 -0
  131. package/dist/chunk-WNFHFFYE.mjs.br +0 -0
  132. package/dist/chunk-WNFHFFYE.mjs.gz +0 -0
  133. package/dist/chunk-XMKLY2SE.mjs.br +0 -0
  134. package/dist/chunk-XMKLY2SE.mjs.gz +0 -0
  135. package/dist/chunk-YJKR7Z3X.js.br +0 -0
  136. package/dist/chunk-YJKR7Z3X.js.gz +0 -0
package/dist/index.js CHANGED
@@ -1,184 +1,184 @@
1
1
  'use strict';
2
2
 
3
- var chunkAI6K5EAE_js = require('./chunk-AI6K5EAE.js');
4
- require('./chunk-CSY422LU.js');
5
- var chunkYJKR7Z3X_js = require('./chunk-YJKR7Z3X.js');
6
- var chunkOWTHF5N4_js = require('./chunk-OWTHF5N4.js');
7
- var chunk7WWINBGF_js = require('./chunk-7WWINBGF.js');
8
- var chunkI4D6JQOI_js = require('./chunk-I4D6JQOI.js');
3
+ var chunkUZFCFYK6_js = require('./chunk-UZFCFYK6.js');
4
+ require('./chunk-T35BGKZG.js');
5
+ var chunkY4VRYQQS_js = require('./chunk-Y4VRYQQS.js');
6
+ var chunk6FVYG27J_js = require('./chunk-6FVYG27J.js');
7
+ var chunkLYZQLV7R_js = require('./chunk-LYZQLV7R.js');
8
+ var chunkUMQV2432_js = require('./chunk-UMQV2432.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 chunkAI6K5EAE_js.PowerPointViewer; }
15
+ get: function () { return chunkUZFCFYK6_js.PowerPointViewer; }
16
16
  });
17
17
  Object.defineProperty(exports, "SlideCanvas", {
18
18
  enumerable: true,
19
- get: function () { return chunkAI6K5EAE_js.SlideCanvas; }
19
+ get: function () { return chunkUZFCFYK6_js.SlideCanvas; }
20
20
  });
21
21
  Object.defineProperty(exports, "SlideTemplateGalleryDialog", {
22
22
  enumerable: true,
23
- get: function () { return chunkAI6K5EAE_js.SlideTemplateGalleryDialog; }
23
+ get: function () { return chunkUZFCFYK6_js.SlideTemplateGalleryDialog; }
24
24
  });
25
25
  Object.defineProperty(exports, "SlideTemplatePreview", {
26
26
  enumerable: true,
27
- get: function () { return chunkAI6K5EAE_js.SlideTemplatePreview; }
27
+ get: function () { return chunkUZFCFYK6_js.SlideTemplatePreview; }
28
28
  });
29
29
  Object.defineProperty(exports, "Toolbar", {
30
30
  enumerable: true,
31
- get: function () { return chunkAI6K5EAE_js.Toolbar; }
31
+ get: function () { return chunkUZFCFYK6_js.Toolbar; }
32
32
  });
33
33
  Object.defineProperty(exports, "ViewerThemeProvider", {
34
34
  enumerable: true,
35
- get: function () { return chunkAI6K5EAE_js.ViewerThemeProvider; }
35
+ get: function () { return chunkUZFCFYK6_js.ViewerThemeProvider; }
36
36
  });
37
37
  Object.defineProperty(exports, "useViewerTheme", {
38
38
  enumerable: true,
39
- get: function () { return chunkAI6K5EAE_js.useViewerTheme; }
39
+ get: function () { return chunkUZFCFYK6_js.useViewerTheme; }
40
40
  });
41
41
  Object.defineProperty(exports, "renderToCanvas", {
42
42
  enumerable: true,
43
- get: function () { return chunkYJKR7Z3X_js.renderToCanvas; }
43
+ get: function () { return chunkY4VRYQQS_js.renderToCanvas; }
44
44
  });
45
45
  Object.defineProperty(exports, "useViewerBuildingBlocks", {
46
46
  enumerable: true,
47
- get: function () { return chunkYJKR7Z3X_js.useViewerBuildingBlocks; }
47
+ get: function () { return chunkY4VRYQQS_js.useViewerBuildingBlocks; }
48
48
  });
49
49
  Object.defineProperty(exports, "getAnimationInitialStyle", {
50
50
  enumerable: true,
51
- get: function () { return chunkOWTHF5N4_js.getAnimationInitialStyle; }
51
+ get: function () { return chunk6FVYG27J_js.getAnimationInitialStyle; }
52
52
  });
53
53
  Object.defineProperty(exports, "AVATAR_COLOR_SWATCHES", {
54
54
  enumerable: true,
55
- get: function () { return chunk7WWINBGF_js.AVATAR_COLOR_SWATCHES; }
55
+ get: function () { return chunkLYZQLV7R_js.AVATAR_COLOR_SWATCHES; }
56
56
  });
57
57
  Object.defineProperty(exports, "DEFAULT_VIEWER_PROFILE", {
58
58
  enumerable: true,
59
- get: function () { return chunk7WWINBGF_js.DEFAULT_VIEWER_PROFILE; }
59
+ get: function () { return chunkLYZQLV7R_js.DEFAULT_VIEWER_PROFILE; }
60
60
  });
61
61
  Object.defineProperty(exports, "PPTX_OPEN_ACCEPT", {
62
62
  enumerable: true,
63
- get: function () { return chunk7WWINBGF_js.PPTX_OPEN_ACCEPT; }
63
+ get: function () { return chunkLYZQLV7R_js.PPTX_OPEN_ACCEPT; }
64
64
  });
65
65
  Object.defineProperty(exports, "PRESENTATION_OPEN_EXTENSIONS", {
66
66
  enumerable: true,
67
- get: function () { return chunk7WWINBGF_js.PRESENTATION_OPEN_EXTENSIONS; }
67
+ get: function () { return chunkLYZQLV7R_js.PRESENTATION_OPEN_EXTENSIONS; }
68
68
  });
69
69
  Object.defineProperty(exports, "SLIDE_TEMPLATES", {
70
70
  enumerable: true,
71
- get: function () { return chunk7WWINBGF_js.SLIDE_TEMPLATES; }
71
+ get: function () { return chunkLYZQLV7R_js.SLIDE_TEMPLATES; }
72
72
  });
73
73
  Object.defineProperty(exports, "THEME_CATALOG", {
74
74
  enumerable: true,
75
- get: function () { return chunk7WWINBGF_js.THEME_CATALOG; }
75
+ get: function () { return chunkLYZQLV7R_js.THEME_CATALOG; }
76
76
  });
77
77
  Object.defineProperty(exports, "VIEWER_PREFS_STORAGE_KEY", {
78
78
  enumerable: true,
79
- get: function () { return chunk7WWINBGF_js.VIEWER_PREFS_STORAGE_KEY; }
79
+ get: function () { return chunkLYZQLV7R_js.VIEWER_PREFS_STORAGE_KEY; }
80
80
  });
81
81
  Object.defineProperty(exports, "buildSlideTemplateContent", {
82
82
  enumerable: true,
83
- get: function () { return chunk7WWINBGF_js.buildSlideTemplateContent; }
83
+ get: function () { return chunkLYZQLV7R_js.buildSlideTemplateContent; }
84
84
  });
85
85
  Object.defineProperty(exports, "buildSlideTemplateSlide", {
86
86
  enumerable: true,
87
- get: function () { return chunk7WWINBGF_js.buildSlideTemplateSlide; }
87
+ get: function () { return chunkLYZQLV7R_js.buildSlideTemplateSlide; }
88
88
  });
89
89
  Object.defineProperty(exports, "clearAllLocalViewerData", {
90
90
  enumerable: true,
91
- get: function () { return chunk7WWINBGF_js.clearAllLocalViewerData; }
91
+ get: function () { return chunkLYZQLV7R_js.clearAllLocalViewerData; }
92
92
  });
93
93
  Object.defineProperty(exports, "clearStoredViewerPrefs", {
94
94
  enumerable: true,
95
- get: function () { return chunk7WWINBGF_js.clearStoredViewerPrefs; }
95
+ get: function () { return chunkLYZQLV7R_js.clearStoredViewerPrefs; }
96
96
  });
97
97
  Object.defineProperty(exports, "createImageElementFromFile", {
98
98
  enumerable: true,
99
- get: function () { return chunk7WWINBGF_js.createImageElementFromFile; }
99
+ get: function () { return chunkLYZQLV7R_js.createImageElementFromFile; }
100
100
  });
101
101
  Object.defineProperty(exports, "defaultCssVars", {
102
102
  enumerable: true,
103
- get: function () { return chunk7WWINBGF_js.defaultCssVars; }
103
+ get: function () { return chunkLYZQLV7R_js.defaultCssVars; }
104
104
  });
105
105
  Object.defineProperty(exports, "defaultRadius", {
106
106
  enumerable: true,
107
- get: function () { return chunk7WWINBGF_js.defaultRadius; }
107
+ get: function () { return chunkLYZQLV7R_js.defaultRadius; }
108
108
  });
109
109
  Object.defineProperty(exports, "defaultThemeColors", {
110
110
  enumerable: true,
111
- get: function () { return chunk7WWINBGF_js.defaultThemeColors; }
111
+ get: function () { return chunkLYZQLV7R_js.defaultThemeColors; }
112
112
  });
113
113
  Object.defineProperty(exports, "describeCollaborationShellState", {
114
114
  enumerable: true,
115
- get: function () { return chunk7WWINBGF_js.describeCollaborationShellState; }
115
+ get: function () { return chunkLYZQLV7R_js.describeCollaborationShellState; }
116
116
  });
117
117
  Object.defineProperty(exports, "getLocalStorageUsageSummary", {
118
118
  enumerable: true,
119
- get: function () { return chunk7WWINBGF_js.getLocalStorageUsageSummary; }
119
+ get: function () { return chunkLYZQLV7R_js.getLocalStorageUsageSummary; }
120
120
  });
121
121
  Object.defineProperty(exports, "isLegacyBinaryPresentation", {
122
122
  enumerable: true,
123
- get: function () { return chunk7WWINBGF_js.isLegacyBinaryPresentation; }
123
+ get: function () { return chunkLYZQLV7R_js.isLegacyBinaryPresentation; }
124
124
  });
125
125
  Object.defineProperty(exports, "isSupportedPresentationFile", {
126
126
  enumerable: true,
127
- get: function () { return chunk7WWINBGF_js.isSupportedPresentationFile; }
127
+ get: function () { return chunkLYZQLV7R_js.isSupportedPresentationFile; }
128
128
  });
129
129
  Object.defineProperty(exports, "presentationBaseName", {
130
130
  enumerable: true,
131
- get: function () { return chunk7WWINBGF_js.presentationBaseName; }
131
+ get: function () { return chunkLYZQLV7R_js.presentationBaseName; }
132
132
  });
133
133
  Object.defineProperty(exports, "readStoredViewerPrefs", {
134
134
  enumerable: true,
135
- get: function () { return chunk7WWINBGF_js.readStoredViewerPrefs; }
135
+ get: function () { return chunkLYZQLV7R_js.readStoredViewerPrefs; }
136
136
  });
137
137
  Object.defineProperty(exports, "resolveProfileInitial", {
138
138
  enumerable: true,
139
- get: function () { return chunk7WWINBGF_js.resolveProfileInitial; }
139
+ get: function () { return chunkLYZQLV7R_js.resolveProfileInitial; }
140
140
  });
141
141
  Object.defineProperty(exports, "resolveThemeCatalogEntry", {
142
142
  enumerable: true,
143
- get: function () { return chunk7WWINBGF_js.resolveThemeCatalogEntry; }
143
+ get: function () { return chunkLYZQLV7R_js.resolveThemeCatalogEntry; }
144
144
  });
145
145
  Object.defineProperty(exports, "saveViewerProfile", {
146
146
  enumerable: true,
147
- get: function () { return chunk7WWINBGF_js.saveViewerProfile; }
147
+ get: function () { return chunkLYZQLV7R_js.saveViewerProfile; }
148
148
  });
149
149
  Object.defineProperty(exports, "savedPresentationFileName", {
150
150
  enumerable: true,
151
- get: function () { return chunk7WWINBGF_js.savedPresentationFileName; }
151
+ get: function () { return chunkLYZQLV7R_js.savedPresentationFileName; }
152
152
  });
153
153
  Object.defineProperty(exports, "themeToCssVars", {
154
154
  enumerable: true,
155
- get: function () { return chunk7WWINBGF_js.themeToCssVars; }
155
+ get: function () { return chunkLYZQLV7R_js.themeToCssVars; }
156
156
  });
157
157
  Object.defineProperty(exports, "vermilionDarkColors", {
158
158
  enumerable: true,
159
- get: function () { return chunk7WWINBGF_js.vermilionDarkColors; }
159
+ get: function () { return chunkLYZQLV7R_js.vermilionDarkColors; }
160
160
  });
161
161
  Object.defineProperty(exports, "vermilionDarkTheme", {
162
162
  enumerable: true,
163
- get: function () { return chunk7WWINBGF_js.vermilionDarkTheme; }
163
+ get: function () { return chunkLYZQLV7R_js.vermilionDarkTheme; }
164
164
  });
165
165
  Object.defineProperty(exports, "vermilionLightColors", {
166
166
  enumerable: true,
167
- get: function () { return chunk7WWINBGF_js.vermilionLightColors; }
167
+ get: function () { return chunkLYZQLV7R_js.vermilionLightColors; }
168
168
  });
169
169
  Object.defineProperty(exports, "vermilionLightTheme", {
170
170
  enumerable: true,
171
- get: function () { return chunk7WWINBGF_js.vermilionLightTheme; }
171
+ get: function () { return chunkLYZQLV7R_js.vermilionLightTheme; }
172
172
  });
173
173
  Object.defineProperty(exports, "vermilionRadius", {
174
174
  enumerable: true,
175
- get: function () { return chunk7WWINBGF_js.vermilionRadius; }
175
+ get: function () { return chunkLYZQLV7R_js.vermilionRadius; }
176
176
  });
177
177
  Object.defineProperty(exports, "writeStoredViewerPrefs", {
178
178
  enumerable: true,
179
- get: function () { return chunk7WWINBGF_js.writeStoredViewerPrefs; }
179
+ get: function () { return chunkLYZQLV7R_js.writeStoredViewerPrefs; }
180
180
  });
181
181
  Object.defineProperty(exports, "LOCALE_CATALOG", {
182
182
  enumerable: true,
183
- get: function () { return chunkI4D6JQOI_js.LOCALE_CATALOG; }
183
+ get: function () { return chunkUMQV2432_js.LOCALE_CATALOG; }
184
184
  });
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-LUHUYBGW.mjs';
2
- import './chunk-XMKLY2SE.mjs';
3
- export { renderToCanvas, useViewerBuildingBlocks } from './chunk-WCHKDZP6.mjs';
4
- export { getAnimationInitialStyle } from './chunk-WNFHFFYE.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, createImageElementFromFile, defaultCssVars, defaultRadius, defaultThemeColors, describeCollaborationShellState, getLocalStorageUsageSummary, isLegacyBinaryPresentation, isSupportedPresentationFile, presentationBaseName, readStoredViewerPrefs, resolveProfileInitial, resolveThemeCatalogEntry, saveViewerProfile, savedPresentationFileName, themeToCssVars, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius, writeStoredViewerPrefs } from './chunk-D3TZOCQP.mjs';
6
- export { LOCALE_CATALOG } from './chunk-JQXN6PO7.mjs';
1
+ export { PowerPointViewer, SlideCanvas, SlideTemplateGalleryDialog, SlideTemplatePreview, Toolbar, ViewerThemeProvider, useViewerTheme } from './chunk-IDV2ITXM.mjs';
2
+ import './chunk-DX2JCSQ4.mjs';
3
+ export { renderToCanvas, useViewerBuildingBlocks } from './chunk-PRXJ3J5W.mjs';
4
+ export { getAnimationInitialStyle } from './chunk-ZF5S3HHW.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, createImageElementFromFile, defaultCssVars, defaultRadius, defaultThemeColors, describeCollaborationShellState, getLocalStorageUsageSummary, isLegacyBinaryPresentation, isSupportedPresentationFile, presentationBaseName, readStoredViewerPrefs, resolveProfileInitial, resolveThemeCatalogEntry, saveViewerProfile, savedPresentationFileName, themeToCssVars, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius, writeStoredViewerPrefs } from './chunk-VZNIVS3X.mjs';
6
+ export { LOCALE_CATALOG } from './chunk-APAVAD2A.mjs';
7
7
  import './chunk-XGB3TDIC.mjs';
package/dist/index.mjs.br CHANGED
Binary file
package/dist/index.mjs.gz CHANGED
Binary file
@@ -1804,6 +1804,15 @@ interface TextStyle {
1804
1804
  textInnerShadowOffsetX?: number;
1805
1805
  /** Text inner shadow vertical offset in px. */
1806
1806
  textInnerShadowOffsetY?: number;
1807
+ /**
1808
+ * Original inner-shadow colour-choice XML (`a:innerShdw`'s
1809
+ * `a:prstClr`/`a:schemeClr`/`a:srgbClr`/… child), preserved verbatim so an
1810
+ * authored preset or theme colour round-trips instead of always being
1811
+ * re-serialized as a resolved `a:srgbClr`. Mirrors {@link textGlowColorXml}.
1812
+ */
1813
+ textInnerShadowColorXml?: XmlObject;
1814
+ /** Theme colour slot the inner shadow colour resolved from, when it is `a:schemeClr`. */
1815
+ textInnerShadowColorRef?: PptxThemeColorRef;
1807
1816
  /** Preset shadow type from `a:prstShdw/@prst` (e.g. "shdw1"..."shdw20"). */
1808
1817
  textPresetShadowName?: string;
1809
1818
  /** Preset shadow colour as hex string. */
@@ -1816,6 +1825,18 @@ interface TextStyle {
1816
1825
  textPresetShadowDirection?: number;
1817
1826
  /** Text blur effect radius in px (`a:blur`). */
1818
1827
  textBlurRadius?: number;
1828
+ /**
1829
+ * Text soft-edge radius in px (`a:softEdge/@rad`).
1830
+ *
1831
+ * Feathers the glyph's own edges (a uniform blur of the alpha silhouette,
1832
+ * the same effect a shape's `a:softEdge` gives its fill), unrelated to
1833
+ * `a:blur` (which blurs the whole run, colour included) or a shadow. Never
1834
+ * parsed before this field existed, so `a:softEdge` on a run was silently
1835
+ * dropped: PowerPoint fades the glyphs to near-transparent at their
1836
+ * outline (COM-verified, `audit-text` slide 14's "SOFTEDGE" run), while
1837
+ * the viewer painted them fully crisp.
1838
+ */
1839
+ textSoftEdgeRadius?: number;
1819
1840
  /**
1820
1841
  * Raw `a:effectDag` XML node from `a:rPr`, preserved verbatim for
1821
1842
  * round-trip serialisation. Mirrors the shape-level
@@ -3448,6 +3469,15 @@ interface PptxChartHistogramOptions {
3448
3469
  intervalClosed?: 'l' | 'r';
3449
3470
  underflow?: number | 'auto';
3450
3471
  overflow?: number | 'auto';
3472
+ /**
3473
+ * `c:layoutPr/cx:aggregation` was authored instead of `cx:binning`: the
3474
+ * raw rows are CATEGORICAL (a Pareto chart's `clusteredColumn` series
3475
+ * counting occurrences of each authored category, COM-verified against
3476
+ * charts-com.pptx slide 31 / chartEx6.xml), not a numeric range to bin.
3477
+ * Mutually exclusive with `binSize`/`binCount`/`intervalClosed`, which
3478
+ * only apply to a true numeric-value histogram.
3479
+ */
3480
+ aggregateByCategory?: boolean;
3451
3481
  }
3452
3482
  /** Office 2016 ChartEx waterfall series layout options. */
3453
3483
  interface PptxChartWaterfallOptions {
@@ -4112,6 +4142,18 @@ interface PptxChartData {
4112
4142
  * the source" and callers should treat it as `true`. Surface only.
4113
4143
  */
4114
4144
  wireframe?: boolean;
4145
+ /**
4146
+ * Whether the surface chart is the 2-D "top view" projection
4147
+ * (`c:surfaceChart`, PowerPoint's "Contour" / "Wireframe Contour" types)
4148
+ * rather than the 3-D isometric one (`c:surface3DChart`, "3-D Surface" /
4149
+ * "3-D Surface (Wireframe)"). Both element names map to chart type
4150
+ * `"surface"`; this bit is the only thing that tells the renderer which
4151
+ * of the two projections PowerPoint actually drew, since a top-view
4152
+ * surface has no Z-axis at all (only category and series axes) while the
4153
+ * 3-D one draws all three. Surface only; `undefined` for every other
4154
+ * chart type.
4155
+ */
4156
+ surfaceTopView?: boolean;
4115
4157
  /**
4116
4158
  * Scatter presentation mode (`c:scatterChart/c:scatterStyle/@val`).
4117
4159
  *
@@ -12080,7 +12122,7 @@ interface ReflectionWrapperStyle {
12080
12122
  top: string;
12081
12123
  width: string;
12082
12124
  height: string;
12083
- /** Mirror (`scaleY(-1)`) composed with `@sx`/`@sy`/`@kx`/`@ky`/`@rot`. */
12125
+ /** `scale(@sx, @sy)` (the sign of `@sy` IS the mirror) composed with `@kx`/`@ky`/`@rot`. */
12084
12126
  transform: string;
12085
12127
  /** Anchor point for the transform above, from `@algn` (default `center top`). */
12086
12128
  transformOrigin: string;
@@ -14055,6 +14097,11 @@ interface ElementContextMenuState {
14055
14097
  y: number;
14056
14098
  elementId: string;
14057
14099
  }
14100
+ /** Tracks the position of an open empty-canvas (no element hit) context menu. */
14101
+ interface CanvasContextMenuState {
14102
+ x: number;
14103
+ y: number;
14104
+ }
14058
14105
  /** Identifies an action triggered from the element right-click context menu. */
14059
14106
  type ElementContextMenuAction = 'copy' | 'cut' | 'paste' | 'duplicate' | 'delete' | 'bring-forward' | 'send-backward' | 'bring-front' | 'send-back' | 'bringForward' | 'sendBackward' | 'bringToFront' | 'sendToBack' | 'comment' | 'addComment' | 'group' | 'ungroup' | 'editPoints' | 'editHyperlink' | 'edit-text' | 'save-as-picture' | 'edit-alt-text' | 'size-and-position' | 'format-shape';
14060
14107
  /**
@@ -14395,6 +14442,7 @@ interface CanvasInteractionHandlers {
14395
14442
  handleElementDoubleClick: (elementId: string, e: React.MouseEvent) => void;
14396
14443
  handleElementMouseDown: (elementId: string, e: React.MouseEvent) => void;
14397
14444
  handleElementContextMenu: (elementId: string, e: React.MouseEvent) => void;
14445
+ handleCanvasContextMenu: (e: React.MouseEvent) => void;
14398
14446
  handleCanvasMouseDown: (e: React.MouseEvent) => void;
14399
14447
  handleResizePointerDown: (elementId: string, e: React.MouseEvent, handle: string) => void;
14400
14448
  handleAdjustmentPointerDown: (elementId: string, e: React.MouseEvent, descriptor: ShapeAdjustmentHandleDescriptor) => void;
@@ -14574,6 +14622,7 @@ interface UseCanvasInteractionsInput {
14574
14622
  setInlineEditingElementId: React.Dispatch<React.SetStateAction<string | null>>;
14575
14623
  setInlineEditingText: React.Dispatch<React.SetStateAction<string>>;
14576
14624
  setContextMenuState: React.Dispatch<React.SetStateAction<ElementContextMenuState | null>>;
14625
+ setCanvasContextMenuState: React.Dispatch<React.SetStateAction<CanvasContextMenuState | null>>;
14577
14626
  setMarqueeSelectionState: React.Dispatch<React.SetStateAction<MarqueeSelectionState | null>>;
14578
14627
  setSnapLines: React.Dispatch<React.SetStateAction<Array<{
14579
14628
  axis: string;
@@ -15653,6 +15702,9 @@ interface ViewerUIState {
15653
15702
  setAccessibilityIssues: React.Dispatch<React.SetStateAction<AccessibilityIssue[]>>;
15654
15703
  contextMenuState: ElementContextMenuState | null;
15655
15704
  setContextMenuState: React.Dispatch<React.SetStateAction<ElementContextMenuState | null>>;
15705
+ /** The empty-canvas (no element hit) right-click menu; mutually exclusive with `contextMenuState`. */
15706
+ canvasContextMenuState: CanvasContextMenuState | null;
15707
+ setCanvasContextMenuState: React.Dispatch<React.SetStateAction<CanvasContextMenuState | null>>;
15656
15708
  tableEditorState: TableCellEditorState | null;
15657
15709
  setTableEditorState: React.Dispatch<React.SetStateAction<TableCellEditorState | null>>;
15658
15710
  spellCheckEnabled: boolean;
@@ -15865,6 +15917,8 @@ interface SlideCanvasProps {
15865
15917
  onContextMenu: (elementId: string, e: React$1.MouseEvent) => void;
15866
15918
  /** Called when the user presses mouse down on empty canvas space. */
15867
15919
  onCanvasMouseDown?: (e: React$1.MouseEvent) => void;
15920
+ /** Right-click on empty canvas (no element hit); opens the canvas context menu. */
15921
+ onCanvasContextMenu?: (e: React$1.MouseEvent) => void;
15868
15922
  onResizePointerDown: (elementId: string, e: React$1.MouseEvent, handle: string) => void;
15869
15923
  onAdjustmentPointerDown: (elementId: string, e: React$1.MouseEvent, descriptor: ShapeAdjustmentHandleDescriptor) => void;
15870
15924
  /** Commit a new rotation (degrees) when the on-canvas rotate handle is dragged. */