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.
- package/CHANGELOG.md +37 -0
- package/dist/{AiChatPanel-QJHUDIWT.mjs → AiChatPanel-HXGCZPUX.mjs} +4 -4
- package/dist/AiChatPanel-HXGCZPUX.mjs.br +0 -0
- package/dist/AiChatPanel-HXGCZPUX.mjs.gz +0 -0
- package/dist/{AiChatPanel-UFMSTNCB.js → AiChatPanel-P2N6X2KB.js} +28 -28
- package/dist/AiChatPanel-P2N6X2KB.js.br +0 -0
- package/dist/AiChatPanel-P2N6X2KB.js.gz +0 -0
- package/dist/{Model3DScene-KXNJBAQD.js → Model3DScene-PIFMH2TU.js} +2 -2
- package/dist/Model3DScene-PIFMH2TU.js.br +0 -0
- package/dist/Model3DScene-PIFMH2TU.js.gz +0 -0
- package/dist/{Model3DScene-3GOC5HUS.mjs → Model3DScene-QXMMJRV3.mjs} +1 -1
- package/dist/Model3DScene-QXMMJRV3.mjs.br +0 -0
- package/dist/Model3DScene-QXMMJRV3.mjs.gz +0 -0
- package/dist/{chunk-OWTHF5N4.js → chunk-6FVYG27J.js} +201 -191
- package/dist/chunk-6FVYG27J.js.br +0 -0
- package/dist/chunk-6FVYG27J.js.gz +0 -0
- package/dist/{chunk-JQXN6PO7.mjs → chunk-APAVAD2A.mjs} +12 -0
- package/dist/chunk-APAVAD2A.mjs.br +0 -0
- package/dist/chunk-APAVAD2A.mjs.gz +0 -0
- package/dist/{chunk-XMKLY2SE.mjs → chunk-DX2JCSQ4.mjs} +1 -1
- package/dist/chunk-DX2JCSQ4.mjs.br +0 -0
- package/dist/chunk-DX2JCSQ4.mjs.gz +0 -0
- package/dist/{chunk-LUHUYBGW.mjs → chunk-IDV2ITXM.mjs} +413 -92
- package/dist/chunk-IDV2ITXM.mjs.br +0 -0
- package/dist/chunk-IDV2ITXM.mjs.gz +0 -0
- package/dist/{chunk-7WWINBGF.js → chunk-LYZQLV7R.js} +2513 -1533
- package/dist/chunk-LYZQLV7R.js.br +0 -0
- package/dist/chunk-LYZQLV7R.js.gz +0 -0
- package/dist/{chunk-WCHKDZP6.mjs → chunk-PRXJ3J5W.mjs} +24 -5
- package/dist/chunk-PRXJ3J5W.mjs.br +0 -0
- package/dist/chunk-PRXJ3J5W.mjs.gz +0 -0
- package/dist/{chunk-CSY422LU.js → chunk-T35BGKZG.js} +5 -5
- package/dist/chunk-T35BGKZG.js.br +0 -0
- package/dist/chunk-T35BGKZG.js.gz +0 -0
- package/dist/{chunk-I4D6JQOI.js → chunk-UMQV2432.js} +12 -0
- package/dist/chunk-UMQV2432.js.br +0 -0
- package/dist/chunk-UMQV2432.js.gz +0 -0
- package/dist/{chunk-AI6K5EAE.js → chunk-UZFCFYK6.js} +1478 -1157
- package/dist/chunk-UZFCFYK6.js.br +0 -0
- package/dist/chunk-UZFCFYK6.js.gz +0 -0
- package/dist/{chunk-D3TZOCQP.mjs → chunk-VZNIVS3X.mjs} +2509 -1534
- package/dist/chunk-VZNIVS3X.mjs.br +0 -0
- package/dist/chunk-VZNIVS3X.mjs.gz +0 -0
- package/dist/{chunk-YJKR7Z3X.js → chunk-Y4VRYQQS.js} +841 -822
- package/dist/chunk-Y4VRYQQS.js.br +0 -0
- package/dist/chunk-Y4VRYQQS.js.gz +0 -0
- package/dist/{chunk-WNFHFFYE.mjs → chunk-ZF5S3HHW.mjs} +17 -7
- package/dist/chunk-ZF5S3HHW.mjs.br +0 -0
- package/dist/chunk-ZF5S3HHW.mjs.gz +0 -0
- package/dist/i18n/de.cjs +10 -0
- package/dist/i18n/de.cjs.br +0 -0
- package/dist/i18n/de.cjs.gz +0 -0
- package/dist/i18n/de.mjs +10 -0
- package/dist/i18n/de.mjs.br +0 -0
- package/dist/i18n/de.mjs.gz +0 -0
- package/dist/i18n/es.cjs +10 -0
- package/dist/i18n/es.cjs.br +0 -0
- package/dist/i18n/es.cjs.gz +0 -0
- package/dist/i18n/es.mjs +10 -0
- package/dist/i18n/es.mjs.br +0 -0
- package/dist/i18n/es.mjs.gz +0 -0
- package/dist/i18n/fr.cjs +10 -0
- package/dist/i18n/fr.cjs.br +0 -0
- package/dist/i18n/fr.cjs.gz +0 -0
- package/dist/i18n/fr.mjs +10 -0
- package/dist/i18n/fr.mjs.br +0 -0
- package/dist/i18n/fr.mjs.gz +0 -0
- package/dist/i18n/zh-CN.cjs +10 -0
- package/dist/i18n/zh-CN.cjs.br +0 -0
- package/dist/i18n/zh-CN.cjs.gz +0 -0
- package/dist/i18n/zh-CN.mjs +10 -0
- package/dist/i18n/zh-CN.mjs.br +0 -0
- package/dist/i18n/zh-CN.mjs.gz +0 -0
- package/dist/i18n.js +4 -4
- package/dist/i18n.js.br +0 -0
- package/dist/i18n.js.gz +0 -0
- package/dist/i18n.mjs +1 -1
- package/dist/i18n.mjs.br +0 -0
- package/dist/i18n.mjs.gz +0 -0
- package/dist/index.d.ts +45 -1
- package/dist/index.js +49 -49
- package/dist/index.js.br +0 -0
- package/dist/index.js.gz +0 -0
- package/dist/index.mjs +6 -6
- package/dist/index.mjs.br +0 -0
- package/dist/index.mjs.gz +0 -0
- package/dist/internals.d.ts +55 -1
- package/dist/internals.js +105 -105
- package/dist/internals.js.br +0 -0
- package/dist/internals.js.gz +0 -0
- package/dist/internals.mjs +4 -4
- package/dist/internals.mjs.br +0 -0
- package/dist/internals.mjs.gz +0 -0
- package/dist/pptx-viewer.css +1 -1
- package/dist/pptx-viewer.css.br +0 -0
- package/dist/pptx-viewer.css.gz +0 -0
- package/dist/viewer/index.d.ts +48 -1
- package/dist/viewer/index.js +27 -27
- package/dist/viewer/index.js.br +0 -0
- package/dist/viewer/index.js.gz +0 -0
- package/dist/viewer/index.mjs +6 -6
- package/dist/viewer/index.mjs.br +0 -0
- package/dist/viewer/index.mjs.gz +0 -0
- package/package.json +1 -1
- package/dist/AiChatPanel-QJHUDIWT.mjs.br +0 -0
- package/dist/AiChatPanel-QJHUDIWT.mjs.gz +0 -0
- package/dist/AiChatPanel-UFMSTNCB.js.br +0 -0
- package/dist/AiChatPanel-UFMSTNCB.js.gz +0 -0
- package/dist/Model3DScene-3GOC5HUS.mjs.br +0 -0
- package/dist/Model3DScene-3GOC5HUS.mjs.gz +0 -0
- package/dist/Model3DScene-KXNJBAQD.js.br +0 -0
- package/dist/Model3DScene-KXNJBAQD.js.gz +0 -0
- package/dist/chunk-7WWINBGF.js.br +0 -0
- package/dist/chunk-7WWINBGF.js.gz +0 -0
- package/dist/chunk-AI6K5EAE.js.br +0 -0
- package/dist/chunk-AI6K5EAE.js.gz +0 -0
- package/dist/chunk-CSY422LU.js.br +0 -0
- package/dist/chunk-CSY422LU.js.gz +0 -0
- package/dist/chunk-D3TZOCQP.mjs.br +0 -0
- package/dist/chunk-D3TZOCQP.mjs.gz +0 -0
- package/dist/chunk-I4D6JQOI.js.br +0 -0
- package/dist/chunk-I4D6JQOI.js.gz +0 -0
- package/dist/chunk-JQXN6PO7.mjs.br +0 -0
- package/dist/chunk-JQXN6PO7.mjs.gz +0 -0
- package/dist/chunk-LUHUYBGW.mjs.br +0 -0
- package/dist/chunk-LUHUYBGW.mjs.gz +0 -0
- package/dist/chunk-OWTHF5N4.js.br +0 -0
- package/dist/chunk-OWTHF5N4.js.gz +0 -0
- package/dist/chunk-WCHKDZP6.mjs.br +0 -0
- package/dist/chunk-WCHKDZP6.mjs.gz +0 -0
- package/dist/chunk-WNFHFFYE.mjs.br +0 -0
- package/dist/chunk-WNFHFFYE.mjs.gz +0 -0
- package/dist/chunk-XMKLY2SE.mjs.br +0 -0
- package/dist/chunk-XMKLY2SE.mjs.gz +0 -0
- package/dist/chunk-YJKR7Z3X.js.br +0 -0
- 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
|
|
4
|
-
require('./chunk-
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
var
|
|
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
|
|
15
|
+
get: function () { return chunkUZFCFYK6_js.PowerPointViewer; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "SlideCanvas", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkUZFCFYK6_js.SlideCanvas; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "SlideTemplateGalleryDialog", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkUZFCFYK6_js.SlideTemplateGalleryDialog; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "SlideTemplatePreview", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkUZFCFYK6_js.SlideTemplatePreview; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "Toolbar", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkUZFCFYK6_js.Toolbar; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "ViewerThemeProvider", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunkUZFCFYK6_js.ViewerThemeProvider; }
|
|
36
36
|
});
|
|
37
37
|
Object.defineProperty(exports, "useViewerTheme", {
|
|
38
38
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunkUZFCFYK6_js.useViewerTheme; }
|
|
40
40
|
});
|
|
41
41
|
Object.defineProperty(exports, "renderToCanvas", {
|
|
42
42
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunkY4VRYQQS_js.renderToCanvas; }
|
|
44
44
|
});
|
|
45
45
|
Object.defineProperty(exports, "useViewerBuildingBlocks", {
|
|
46
46
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunkY4VRYQQS_js.useViewerBuildingBlocks; }
|
|
48
48
|
});
|
|
49
49
|
Object.defineProperty(exports, "getAnimationInitialStyle", {
|
|
50
50
|
enumerable: true,
|
|
51
|
-
get: function () { return
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
83
|
+
get: function () { return chunkLYZQLV7R_js.buildSlideTemplateContent; }
|
|
84
84
|
});
|
|
85
85
|
Object.defineProperty(exports, "buildSlideTemplateSlide", {
|
|
86
86
|
enumerable: true,
|
|
87
|
-
get: function () { return
|
|
87
|
+
get: function () { return chunkLYZQLV7R_js.buildSlideTemplateSlide; }
|
|
88
88
|
});
|
|
89
89
|
Object.defineProperty(exports, "clearAllLocalViewerData", {
|
|
90
90
|
enumerable: true,
|
|
91
|
-
get: function () { return
|
|
91
|
+
get: function () { return chunkLYZQLV7R_js.clearAllLocalViewerData; }
|
|
92
92
|
});
|
|
93
93
|
Object.defineProperty(exports, "clearStoredViewerPrefs", {
|
|
94
94
|
enumerable: true,
|
|
95
|
-
get: function () { return
|
|
95
|
+
get: function () { return chunkLYZQLV7R_js.clearStoredViewerPrefs; }
|
|
96
96
|
});
|
|
97
97
|
Object.defineProperty(exports, "createImageElementFromFile", {
|
|
98
98
|
enumerable: true,
|
|
99
|
-
get: function () { return
|
|
99
|
+
get: function () { return chunkLYZQLV7R_js.createImageElementFromFile; }
|
|
100
100
|
});
|
|
101
101
|
Object.defineProperty(exports, "defaultCssVars", {
|
|
102
102
|
enumerable: true,
|
|
103
|
-
get: function () { return
|
|
103
|
+
get: function () { return chunkLYZQLV7R_js.defaultCssVars; }
|
|
104
104
|
});
|
|
105
105
|
Object.defineProperty(exports, "defaultRadius", {
|
|
106
106
|
enumerable: true,
|
|
107
|
-
get: function () { return
|
|
107
|
+
get: function () { return chunkLYZQLV7R_js.defaultRadius; }
|
|
108
108
|
});
|
|
109
109
|
Object.defineProperty(exports, "defaultThemeColors", {
|
|
110
110
|
enumerable: true,
|
|
111
|
-
get: function () { return
|
|
111
|
+
get: function () { return chunkLYZQLV7R_js.defaultThemeColors; }
|
|
112
112
|
});
|
|
113
113
|
Object.defineProperty(exports, "describeCollaborationShellState", {
|
|
114
114
|
enumerable: true,
|
|
115
|
-
get: function () { return
|
|
115
|
+
get: function () { return chunkLYZQLV7R_js.describeCollaborationShellState; }
|
|
116
116
|
});
|
|
117
117
|
Object.defineProperty(exports, "getLocalStorageUsageSummary", {
|
|
118
118
|
enumerable: true,
|
|
119
|
-
get: function () { return
|
|
119
|
+
get: function () { return chunkLYZQLV7R_js.getLocalStorageUsageSummary; }
|
|
120
120
|
});
|
|
121
121
|
Object.defineProperty(exports, "isLegacyBinaryPresentation", {
|
|
122
122
|
enumerable: true,
|
|
123
|
-
get: function () { return
|
|
123
|
+
get: function () { return chunkLYZQLV7R_js.isLegacyBinaryPresentation; }
|
|
124
124
|
});
|
|
125
125
|
Object.defineProperty(exports, "isSupportedPresentationFile", {
|
|
126
126
|
enumerable: true,
|
|
127
|
-
get: function () { return
|
|
127
|
+
get: function () { return chunkLYZQLV7R_js.isSupportedPresentationFile; }
|
|
128
128
|
});
|
|
129
129
|
Object.defineProperty(exports, "presentationBaseName", {
|
|
130
130
|
enumerable: true,
|
|
131
|
-
get: function () { return
|
|
131
|
+
get: function () { return chunkLYZQLV7R_js.presentationBaseName; }
|
|
132
132
|
});
|
|
133
133
|
Object.defineProperty(exports, "readStoredViewerPrefs", {
|
|
134
134
|
enumerable: true,
|
|
135
|
-
get: function () { return
|
|
135
|
+
get: function () { return chunkLYZQLV7R_js.readStoredViewerPrefs; }
|
|
136
136
|
});
|
|
137
137
|
Object.defineProperty(exports, "resolveProfileInitial", {
|
|
138
138
|
enumerable: true,
|
|
139
|
-
get: function () { return
|
|
139
|
+
get: function () { return chunkLYZQLV7R_js.resolveProfileInitial; }
|
|
140
140
|
});
|
|
141
141
|
Object.defineProperty(exports, "resolveThemeCatalogEntry", {
|
|
142
142
|
enumerable: true,
|
|
143
|
-
get: function () { return
|
|
143
|
+
get: function () { return chunkLYZQLV7R_js.resolveThemeCatalogEntry; }
|
|
144
144
|
});
|
|
145
145
|
Object.defineProperty(exports, "saveViewerProfile", {
|
|
146
146
|
enumerable: true,
|
|
147
|
-
get: function () { return
|
|
147
|
+
get: function () { return chunkLYZQLV7R_js.saveViewerProfile; }
|
|
148
148
|
});
|
|
149
149
|
Object.defineProperty(exports, "savedPresentationFileName", {
|
|
150
150
|
enumerable: true,
|
|
151
|
-
get: function () { return
|
|
151
|
+
get: function () { return chunkLYZQLV7R_js.savedPresentationFileName; }
|
|
152
152
|
});
|
|
153
153
|
Object.defineProperty(exports, "themeToCssVars", {
|
|
154
154
|
enumerable: true,
|
|
155
|
-
get: function () { return
|
|
155
|
+
get: function () { return chunkLYZQLV7R_js.themeToCssVars; }
|
|
156
156
|
});
|
|
157
157
|
Object.defineProperty(exports, "vermilionDarkColors", {
|
|
158
158
|
enumerable: true,
|
|
159
|
-
get: function () { return
|
|
159
|
+
get: function () { return chunkLYZQLV7R_js.vermilionDarkColors; }
|
|
160
160
|
});
|
|
161
161
|
Object.defineProperty(exports, "vermilionDarkTheme", {
|
|
162
162
|
enumerable: true,
|
|
163
|
-
get: function () { return
|
|
163
|
+
get: function () { return chunkLYZQLV7R_js.vermilionDarkTheme; }
|
|
164
164
|
});
|
|
165
165
|
Object.defineProperty(exports, "vermilionLightColors", {
|
|
166
166
|
enumerable: true,
|
|
167
|
-
get: function () { return
|
|
167
|
+
get: function () { return chunkLYZQLV7R_js.vermilionLightColors; }
|
|
168
168
|
});
|
|
169
169
|
Object.defineProperty(exports, "vermilionLightTheme", {
|
|
170
170
|
enumerable: true,
|
|
171
|
-
get: function () { return
|
|
171
|
+
get: function () { return chunkLYZQLV7R_js.vermilionLightTheme; }
|
|
172
172
|
});
|
|
173
173
|
Object.defineProperty(exports, "vermilionRadius", {
|
|
174
174
|
enumerable: true,
|
|
175
|
-
get: function () { return
|
|
175
|
+
get: function () { return chunkLYZQLV7R_js.vermilionRadius; }
|
|
176
176
|
});
|
|
177
177
|
Object.defineProperty(exports, "writeStoredViewerPrefs", {
|
|
178
178
|
enumerable: true,
|
|
179
|
-
get: function () { return
|
|
179
|
+
get: function () { return chunkLYZQLV7R_js.writeStoredViewerPrefs; }
|
|
180
180
|
});
|
|
181
181
|
Object.defineProperty(exports, "LOCALE_CATALOG", {
|
|
182
182
|
enumerable: true,
|
|
183
|
-
get: function () { return
|
|
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-
|
|
2
|
-
import './chunk-
|
|
3
|
-
export { renderToCanvas, useViewerBuildingBlocks } from './chunk-
|
|
4
|
-
export { getAnimationInitialStyle } from './chunk-
|
|
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-
|
|
6
|
-
export { LOCALE_CATALOG } from './chunk-
|
|
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
|
package/dist/internals.d.ts
CHANGED
|
@@ -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
|
-
/**
|
|
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. */
|