pptx-react-viewer 2.19.2 → 2.19.4
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 +16 -0
- package/dist/{AiChatPanel-AXR77RD4.js → AiChatPanel-F4X3OZFG.js} +23 -23
- package/dist/AiChatPanel-F4X3OZFG.js.br +0 -0
- package/dist/AiChatPanel-F4X3OZFG.js.gz +0 -0
- package/dist/{AiChatPanel-YSU5335E.mjs → AiChatPanel-P663354U.mjs} +3 -3
- package/dist/AiChatPanel-P663354U.mjs.br +0 -0
- package/dist/AiChatPanel-P663354U.mjs.gz +0 -0
- package/dist/{Model3DScene-6CTGUN5U.mjs → Model3DScene-F6FAHPW7.mjs} +1 -1
- package/dist/Model3DScene-F6FAHPW7.mjs.br +0 -0
- package/dist/Model3DScene-F6FAHPW7.mjs.gz +0 -0
- package/dist/{Model3DScene-NM45GVMN.js → Model3DScene-TGGZF6XI.js} +2 -2
- package/dist/Model3DScene-TGGZF6XI.js.br +0 -0
- package/dist/Model3DScene-TGGZF6XI.js.gz +0 -0
- package/dist/PowerPointViewer-DVFkeluD.d.ts.map +1 -1
- package/dist/{audience-content-store-ChVOSdBh.d.ts → audience-content-store-C4BFFhV5.d.ts} +10 -3
- package/dist/{audience-content-store-ChVOSdBh.d.ts.map → audience-content-store-C4BFFhV5.d.ts.map} +1 -1
- package/dist/{chunk-ERDUPMYL.mjs → chunk-2HNIYZ3O.mjs} +1 -1
- package/dist/chunk-2HNIYZ3O.mjs.br +0 -0
- package/dist/chunk-2HNIYZ3O.mjs.gz +0 -0
- package/dist/{chunk-IJSPE6Z6.mjs → chunk-6GRIVSUK.mjs} +17 -10
- package/dist/chunk-6GRIVSUK.mjs.br +0 -0
- package/dist/chunk-6GRIVSUK.mjs.gz +0 -0
- package/dist/{chunk-AYQYOPPU.js → chunk-D4LINQVA.js} +146 -146
- package/dist/chunk-D4LINQVA.js.br +0 -0
- package/dist/chunk-D4LINQVA.js.gz +0 -0
- package/dist/{chunk-OE4DTBMB.js → chunk-FBXLCEK7.js} +376 -375
- package/dist/chunk-FBXLCEK7.js.br +0 -0
- package/dist/chunk-FBXLCEK7.js.gz +0 -0
- package/dist/{chunk-EQ3W73I7.mjs → chunk-FWX6HUVA.mjs} +1 -1
- package/dist/chunk-FWX6HUVA.mjs.br +0 -0
- package/dist/chunk-FWX6HUVA.mjs.gz +0 -0
- package/dist/{chunk-C7XKYQEW.js → chunk-IJY5WNZK.js} +96 -0
- package/dist/chunk-IJY5WNZK.js.br +0 -0
- package/dist/chunk-IJY5WNZK.js.gz +0 -0
- package/dist/{chunk-J4KGFXAM.mjs → chunk-J3JFXIDN.mjs} +96 -1
- package/dist/chunk-J3JFXIDN.mjs.br +0 -0
- package/dist/chunk-J3JFXIDN.mjs.gz +0 -0
- package/dist/{chunk-HWMWR7D6.js → chunk-PEGZP2W2.js} +3 -3
- package/dist/chunk-PEGZP2W2.js.br +0 -0
- package/dist/chunk-PEGZP2W2.js.gz +0 -0
- package/dist/{chunk-PU3OPA6D.mjs → chunk-PY4526QN.mjs} +6 -5
- package/dist/chunk-PY4526QN.mjs.br +0 -0
- package/dist/chunk-PY4526QN.mjs.gz +0 -0
- package/dist/{chunk-PHEJ2UKP.js → chunk-V7GPBZKH.js} +1029 -1022
- package/dist/chunk-V7GPBZKH.js.br +0 -0
- package/dist/chunk-V7GPBZKH.js.gz +0 -0
- package/dist/index.js +45 -45
- package/dist/index.js.br +0 -0
- package/dist/index.js.gz +0 -0
- package/dist/index.mjs +5 -5
- package/dist/index.mjs.br +0 -0
- package/dist/index.mjs.gz +0 -0
- package/dist/internals.d.ts +68 -5
- package/dist/internals.js +78 -78
- package/dist/internals.js.br +0 -0
- package/dist/internals.js.gz +0 -0
- package/dist/internals.mjs +3 -3
- package/dist/internals.mjs.br +0 -0
- package/dist/internals.mjs.gz +0 -0
- package/dist/viewer/index.js +26 -26
- package/dist/viewer/index.js.br +0 -0
- package/dist/viewer/index.js.gz +0 -0
- package/dist/viewer/index.mjs +5 -5
- package/dist/viewer/index.mjs.br +0 -0
- package/dist/viewer/index.mjs.gz +0 -0
- package/package.json +1 -1
- package/dist/AiChatPanel-AXR77RD4.js.br +0 -0
- package/dist/AiChatPanel-AXR77RD4.js.gz +0 -0
- package/dist/AiChatPanel-YSU5335E.mjs.br +0 -0
- package/dist/AiChatPanel-YSU5335E.mjs.gz +0 -0
- package/dist/Model3DScene-6CTGUN5U.mjs.br +0 -0
- package/dist/Model3DScene-6CTGUN5U.mjs.gz +0 -0
- package/dist/Model3DScene-NM45GVMN.js.br +0 -0
- package/dist/Model3DScene-NM45GVMN.js.gz +0 -0
- package/dist/chunk-AYQYOPPU.js.br +0 -0
- package/dist/chunk-AYQYOPPU.js.gz +0 -0
- package/dist/chunk-C7XKYQEW.js.br +0 -0
- package/dist/chunk-C7XKYQEW.js.gz +0 -0
- package/dist/chunk-EQ3W73I7.mjs.br +0 -0
- package/dist/chunk-EQ3W73I7.mjs.gz +0 -0
- package/dist/chunk-ERDUPMYL.mjs.br +0 -0
- package/dist/chunk-ERDUPMYL.mjs.gz +0 -0
- package/dist/chunk-HWMWR7D6.js.br +0 -0
- package/dist/chunk-HWMWR7D6.js.gz +0 -0
- package/dist/chunk-IJSPE6Z6.mjs.br +0 -0
- package/dist/chunk-IJSPE6Z6.mjs.gz +0 -0
- package/dist/chunk-J4KGFXAM.mjs.br +0 -0
- package/dist/chunk-J4KGFXAM.mjs.gz +0 -0
- package/dist/chunk-OE4DTBMB.js.br +0 -0
- package/dist/chunk-OE4DTBMB.js.gz +0 -0
- package/dist/chunk-PHEJ2UKP.js.br +0 -0
- package/dist/chunk-PHEJ2UKP.js.gz +0 -0
- package/dist/chunk-PU3OPA6D.mjs.br +0 -0
- package/dist/chunk-PU3OPA6D.mjs.gz +0 -0
|
Binary file
|
|
Binary file
|
package/dist/index.js
CHANGED
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
var
|
|
6
|
-
var
|
|
3
|
+
var chunkV7GPBZKH_js = require('./chunk-V7GPBZKH.js');
|
|
4
|
+
require('./chunk-PEGZP2W2.js');
|
|
5
|
+
var chunkFBXLCEK7_js = require('./chunk-FBXLCEK7.js');
|
|
6
|
+
var chunkD4LINQVA_js = require('./chunk-D4LINQVA.js');
|
|
7
7
|
var chunkMVKRI3CZ_js = require('./chunk-MVKRI3CZ.js');
|
|
8
|
-
var
|
|
8
|
+
var chunkIJY5WNZK_js = require('./chunk-IJY5WNZK.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 chunkV7GPBZKH_js.PowerPointViewer; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "SlideCanvas", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkV7GPBZKH_js.SlideCanvas; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "SlideTemplateGalleryDialog", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkV7GPBZKH_js.SlideTemplateGalleryDialog; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "SlideTemplatePreview", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkV7GPBZKH_js.SlideTemplatePreview; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "Toolbar", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkV7GPBZKH_js.Toolbar; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "ViewerThemeProvider", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunkV7GPBZKH_js.ViewerThemeProvider; }
|
|
36
36
|
});
|
|
37
37
|
Object.defineProperty(exports, "useViewerTheme", {
|
|
38
38
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunkV7GPBZKH_js.useViewerTheme; }
|
|
40
40
|
});
|
|
41
41
|
Object.defineProperty(exports, "renderToCanvas", {
|
|
42
42
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunkFBXLCEK7_js.renderToCanvas; }
|
|
44
44
|
});
|
|
45
45
|
Object.defineProperty(exports, "useViewerBuildingBlocks", {
|
|
46
46
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunkFBXLCEK7_js.useViewerBuildingBlocks; }
|
|
48
48
|
});
|
|
49
49
|
Object.defineProperty(exports, "getAnimationInitialStyle", {
|
|
50
50
|
enumerable: true,
|
|
51
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunkD4LINQVA_js.getAnimationInitialStyle; }
|
|
52
52
|
});
|
|
53
53
|
Object.defineProperty(exports, "LOCALE_CATALOG", {
|
|
54
54
|
enumerable: true,
|
|
@@ -56,121 +56,121 @@ Object.defineProperty(exports, "LOCALE_CATALOG", {
|
|
|
56
56
|
});
|
|
57
57
|
Object.defineProperty(exports, "AVATAR_COLOR_SWATCHES", {
|
|
58
58
|
enumerable: true,
|
|
59
|
-
get: function () { return
|
|
59
|
+
get: function () { return chunkIJY5WNZK_js.AVATAR_COLOR_SWATCHES; }
|
|
60
60
|
});
|
|
61
61
|
Object.defineProperty(exports, "DEFAULT_VIEWER_PROFILE", {
|
|
62
62
|
enumerable: true,
|
|
63
|
-
get: function () { return
|
|
63
|
+
get: function () { return chunkIJY5WNZK_js.DEFAULT_VIEWER_PROFILE; }
|
|
64
64
|
});
|
|
65
65
|
Object.defineProperty(exports, "PPTX_OPEN_ACCEPT", {
|
|
66
66
|
enumerable: true,
|
|
67
|
-
get: function () { return
|
|
67
|
+
get: function () { return chunkIJY5WNZK_js.PPTX_OPEN_ACCEPT; }
|
|
68
68
|
});
|
|
69
69
|
Object.defineProperty(exports, "PRESENTATION_OPEN_EXTENSIONS", {
|
|
70
70
|
enumerable: true,
|
|
71
|
-
get: function () { return
|
|
71
|
+
get: function () { return chunkIJY5WNZK_js.PRESENTATION_OPEN_EXTENSIONS; }
|
|
72
72
|
});
|
|
73
73
|
Object.defineProperty(exports, "SLIDE_TEMPLATES", {
|
|
74
74
|
enumerable: true,
|
|
75
|
-
get: function () { return
|
|
75
|
+
get: function () { return chunkIJY5WNZK_js.SLIDE_TEMPLATES; }
|
|
76
76
|
});
|
|
77
77
|
Object.defineProperty(exports, "THEME_CATALOG", {
|
|
78
78
|
enumerable: true,
|
|
79
|
-
get: function () { return
|
|
79
|
+
get: function () { return chunkIJY5WNZK_js.THEME_CATALOG; }
|
|
80
80
|
});
|
|
81
81
|
Object.defineProperty(exports, "VIEWER_PREFS_STORAGE_KEY", {
|
|
82
82
|
enumerable: true,
|
|
83
|
-
get: function () { return
|
|
83
|
+
get: function () { return chunkIJY5WNZK_js.VIEWER_PREFS_STORAGE_KEY; }
|
|
84
84
|
});
|
|
85
85
|
Object.defineProperty(exports, "buildSlideTemplateContent", {
|
|
86
86
|
enumerable: true,
|
|
87
|
-
get: function () { return
|
|
87
|
+
get: function () { return chunkIJY5WNZK_js.buildSlideTemplateContent; }
|
|
88
88
|
});
|
|
89
89
|
Object.defineProperty(exports, "buildSlideTemplateSlide", {
|
|
90
90
|
enumerable: true,
|
|
91
|
-
get: function () { return
|
|
91
|
+
get: function () { return chunkIJY5WNZK_js.buildSlideTemplateSlide; }
|
|
92
92
|
});
|
|
93
93
|
Object.defineProperty(exports, "clearAllLocalViewerData", {
|
|
94
94
|
enumerable: true,
|
|
95
|
-
get: function () { return
|
|
95
|
+
get: function () { return chunkIJY5WNZK_js.clearAllLocalViewerData; }
|
|
96
96
|
});
|
|
97
97
|
Object.defineProperty(exports, "clearStoredViewerPrefs", {
|
|
98
98
|
enumerable: true,
|
|
99
|
-
get: function () { return
|
|
99
|
+
get: function () { return chunkIJY5WNZK_js.clearStoredViewerPrefs; }
|
|
100
100
|
});
|
|
101
101
|
Object.defineProperty(exports, "defaultCssVars", {
|
|
102
102
|
enumerable: true,
|
|
103
|
-
get: function () { return
|
|
103
|
+
get: function () { return chunkIJY5WNZK_js.defaultCssVars; }
|
|
104
104
|
});
|
|
105
105
|
Object.defineProperty(exports, "defaultRadius", {
|
|
106
106
|
enumerable: true,
|
|
107
|
-
get: function () { return
|
|
107
|
+
get: function () { return chunkIJY5WNZK_js.defaultRadius; }
|
|
108
108
|
});
|
|
109
109
|
Object.defineProperty(exports, "defaultThemeColors", {
|
|
110
110
|
enumerable: true,
|
|
111
|
-
get: function () { return
|
|
111
|
+
get: function () { return chunkIJY5WNZK_js.defaultThemeColors; }
|
|
112
112
|
});
|
|
113
113
|
Object.defineProperty(exports, "getLocalStorageUsageSummary", {
|
|
114
114
|
enumerable: true,
|
|
115
|
-
get: function () { return
|
|
115
|
+
get: function () { return chunkIJY5WNZK_js.getLocalStorageUsageSummary; }
|
|
116
116
|
});
|
|
117
117
|
Object.defineProperty(exports, "isLegacyBinaryPresentation", {
|
|
118
118
|
enumerable: true,
|
|
119
|
-
get: function () { return
|
|
119
|
+
get: function () { return chunkIJY5WNZK_js.isLegacyBinaryPresentation; }
|
|
120
120
|
});
|
|
121
121
|
Object.defineProperty(exports, "isSupportedPresentationFile", {
|
|
122
122
|
enumerable: true,
|
|
123
|
-
get: function () { return
|
|
123
|
+
get: function () { return chunkIJY5WNZK_js.isSupportedPresentationFile; }
|
|
124
124
|
});
|
|
125
125
|
Object.defineProperty(exports, "presentationBaseName", {
|
|
126
126
|
enumerable: true,
|
|
127
|
-
get: function () { return
|
|
127
|
+
get: function () { return chunkIJY5WNZK_js.presentationBaseName; }
|
|
128
128
|
});
|
|
129
129
|
Object.defineProperty(exports, "readStoredViewerPrefs", {
|
|
130
130
|
enumerable: true,
|
|
131
|
-
get: function () { return
|
|
131
|
+
get: function () { return chunkIJY5WNZK_js.readStoredViewerPrefs; }
|
|
132
132
|
});
|
|
133
133
|
Object.defineProperty(exports, "resolveProfileInitial", {
|
|
134
134
|
enumerable: true,
|
|
135
|
-
get: function () { return
|
|
135
|
+
get: function () { return chunkIJY5WNZK_js.resolveProfileInitial; }
|
|
136
136
|
});
|
|
137
137
|
Object.defineProperty(exports, "resolveThemeCatalogEntry", {
|
|
138
138
|
enumerable: true,
|
|
139
|
-
get: function () { return
|
|
139
|
+
get: function () { return chunkIJY5WNZK_js.resolveThemeCatalogEntry; }
|
|
140
140
|
});
|
|
141
141
|
Object.defineProperty(exports, "saveViewerProfile", {
|
|
142
142
|
enumerable: true,
|
|
143
|
-
get: function () { return
|
|
143
|
+
get: function () { return chunkIJY5WNZK_js.saveViewerProfile; }
|
|
144
144
|
});
|
|
145
145
|
Object.defineProperty(exports, "savedPresentationFileName", {
|
|
146
146
|
enumerable: true,
|
|
147
|
-
get: function () { return
|
|
147
|
+
get: function () { return chunkIJY5WNZK_js.savedPresentationFileName; }
|
|
148
148
|
});
|
|
149
149
|
Object.defineProperty(exports, "themeToCssVars", {
|
|
150
150
|
enumerable: true,
|
|
151
|
-
get: function () { return
|
|
151
|
+
get: function () { return chunkIJY5WNZK_js.themeToCssVars; }
|
|
152
152
|
});
|
|
153
153
|
Object.defineProperty(exports, "vermilionDarkColors", {
|
|
154
154
|
enumerable: true,
|
|
155
|
-
get: function () { return
|
|
155
|
+
get: function () { return chunkIJY5WNZK_js.vermilionDarkColors; }
|
|
156
156
|
});
|
|
157
157
|
Object.defineProperty(exports, "vermilionDarkTheme", {
|
|
158
158
|
enumerable: true,
|
|
159
|
-
get: function () { return
|
|
159
|
+
get: function () { return chunkIJY5WNZK_js.vermilionDarkTheme; }
|
|
160
160
|
});
|
|
161
161
|
Object.defineProperty(exports, "vermilionLightColors", {
|
|
162
162
|
enumerable: true,
|
|
163
|
-
get: function () { return
|
|
163
|
+
get: function () { return chunkIJY5WNZK_js.vermilionLightColors; }
|
|
164
164
|
});
|
|
165
165
|
Object.defineProperty(exports, "vermilionLightTheme", {
|
|
166
166
|
enumerable: true,
|
|
167
|
-
get: function () { return
|
|
167
|
+
get: function () { return chunkIJY5WNZK_js.vermilionLightTheme; }
|
|
168
168
|
});
|
|
169
169
|
Object.defineProperty(exports, "vermilionRadius", {
|
|
170
170
|
enumerable: true,
|
|
171
|
-
get: function () { return
|
|
171
|
+
get: function () { return chunkIJY5WNZK_js.vermilionRadius; }
|
|
172
172
|
});
|
|
173
173
|
Object.defineProperty(exports, "writeStoredViewerPrefs", {
|
|
174
174
|
enumerable: true,
|
|
175
|
-
get: function () { return
|
|
175
|
+
get: function () { return chunkIJY5WNZK_js.writeStoredViewerPrefs; }
|
|
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-
|
|
2
|
-
import './chunk-
|
|
3
|
-
export { renderToCanvas, useViewerBuildingBlocks } from './chunk-
|
|
4
|
-
export { getAnimationInitialStyle } from './chunk-
|
|
1
|
+
export { PowerPointViewer, SlideCanvas, SlideTemplateGalleryDialog, SlideTemplatePreview, Toolbar, ViewerThemeProvider, useViewerTheme } from './chunk-6GRIVSUK.mjs';
|
|
2
|
+
import './chunk-FWX6HUVA.mjs';
|
|
3
|
+
export { renderToCanvas, useViewerBuildingBlocks } from './chunk-PY4526QN.mjs';
|
|
4
|
+
export { getAnimationInitialStyle } from './chunk-2HNIYZ3O.mjs';
|
|
5
5
|
export { LOCALE_CATALOG } from './chunk-SQJBFMEX.mjs';
|
|
6
|
-
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-
|
|
6
|
+
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-J3JFXIDN.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
|
@@ -9105,6 +9105,25 @@ interface MorphCrossfadeGroup {
|
|
|
9105
9105
|
outgoing: PptxElement;
|
|
9106
9106
|
/** The incoming half, rendered in the INCOMING slide's context. */
|
|
9107
9107
|
incoming: PptxElement;
|
|
9108
|
+
/**
|
|
9109
|
+
* The dissolve to run on the outgoing half's own WRAPPER, not on the element.
|
|
9110
|
+
*
|
|
9111
|
+
* A pair that dissolves where it stands never moves, so its journey keyframes
|
|
9112
|
+
* are an identity transform and are dropped; what is left is the fade. Put
|
|
9113
|
+
* that fade on the element and the element becomes its own compositing layer,
|
|
9114
|
+
* whose raster the browser snaps to whole device pixels: the wording is
|
|
9115
|
+
* painted up to a third of a pixel from where the live stage paints it, so it
|
|
9116
|
+
* visibly twitches as the transition starts and again as it ends. Measured on
|
|
9117
|
+
* the wheel deck at four show sizes, moving the fade onto the slide-sized
|
|
9118
|
+
* wrapper takes the arriving half from 0.22-0.31px off to under 0.02px - a
|
|
9119
|
+
* mean pixel difference of 0.01/255 against the settled slide.
|
|
9120
|
+
*
|
|
9121
|
+
* Undefined when the pair MOVES: it needs its journey keyframes on the
|
|
9122
|
+
* element, and a shape that is travelling cannot be seen to snap.
|
|
9123
|
+
*/
|
|
9124
|
+
outgoingAnimation?: string;
|
|
9125
|
+
/** The arriving half's dissolve. @see MorphCrossfadeGroup.outgoingAnimation */
|
|
9126
|
+
incomingAnimation?: string;
|
|
9108
9127
|
}
|
|
9109
9128
|
//#endregion
|
|
9110
9129
|
//#region src/render/morph-plan.d.ts
|
|
@@ -9171,10 +9190,14 @@ interface MorphTransitionPlan {
|
|
|
9171
9190
|
* {@link MorphTransitionPlan.outgoingElements} and
|
|
9172
9191
|
* {@link MorphTransitionPlan.overlayIncomingElements}: a binding that renders
|
|
9173
9192
|
* the groups paints each half exactly once, and one that ignored them would
|
|
9174
|
-
* drop the pair rather than paint it twice.
|
|
9175
|
-
*
|
|
9176
|
-
*
|
|
9177
|
-
*
|
|
9193
|
+
* drop the pair rather than paint it twice.
|
|
9194
|
+
*
|
|
9195
|
+
* A pair that dissolves where it stands also has its dissolve moved OFF the
|
|
9196
|
+
* two elements and onto {@link MorphCrossfadeGroup.outgoingAnimation} /
|
|
9197
|
+
* {@link MorphCrossfadeGroup.incomingAnimation}, for the binding to put on
|
|
9198
|
+
* the wrapper it paints each half in; the elements are then absent from
|
|
9199
|
+
* `outgoingAnimations` / `overlayIncomingAnimations` too, so no scoped rule
|
|
9200
|
+
* animates them. One that MOVES keeps its animations where they were.
|
|
9178
9201
|
*
|
|
9179
9202
|
* Painted above {@link MorphTransitionPlan.overlayIncomingElements}, in the
|
|
9180
9203
|
* incoming slide's document order.
|
|
@@ -9377,6 +9400,39 @@ interface CollaborationLivePatcher {
|
|
|
9377
9400
|
dispose: () => void;
|
|
9378
9401
|
}
|
|
9379
9402
|
//#endregion
|
|
9403
|
+
//#region src/render/collaboration-load-origin.d.ts
|
|
9404
|
+
/**
|
|
9405
|
+
* Who asked for the deck that just finished loading, and what that means for a
|
|
9406
|
+
* room that already holds slides.
|
|
9407
|
+
*
|
|
9408
|
+
* Every binding brackets its content-load with an adoption check: when a load
|
|
9409
|
+
* lands while a collaboration session is up and the shared doc already has
|
|
9410
|
+
* slides, the ROOM wins and the freshly parsed deck is thrown away. That rule
|
|
9411
|
+
* exists for one case only - a late joiner whose bootstrap deck (the blank or
|
|
9412
|
+
* sample deck the host mounted the viewer with) finishes parsing after the
|
|
9413
|
+
* room's real slides arrived, which would otherwise clobber them with nothing
|
|
9414
|
+
* left to repair it, since the doc itself never changed.
|
|
9415
|
+
*
|
|
9416
|
+
* Applied to EVERY load it also swallows the deck a user deliberately opens
|
|
9417
|
+
* during a session. Joining a room and then opening a file left the viewer on
|
|
9418
|
+
* the room's blank starter deck: the file parsed, was committed, and was
|
|
9419
|
+
* immediately overwritten (reproduced in the vanilla demo - a 7-slide deck
|
|
9420
|
+
* opened in a room settled back to the room's 1 slide, and the bigger the file
|
|
9421
|
+
* the longer the window). Opening a file is an act of authorship, so it is
|
|
9422
|
+
* published to the room instead.
|
|
9423
|
+
*
|
|
9424
|
+
* @module render/collaboration-load-origin
|
|
9425
|
+
*/
|
|
9426
|
+
/**
|
|
9427
|
+
* Why a content load ran.
|
|
9428
|
+
*
|
|
9429
|
+
* - `bootstrap`: the deck the host handed the viewer at mount (`source`), or a
|
|
9430
|
+
* session restore. Nobody chose it during the session.
|
|
9431
|
+
* - `user`: opened during the session - File > Open, a recent file, a dropped
|
|
9432
|
+
* file, or a host calling the load API.
|
|
9433
|
+
*/
|
|
9434
|
+
type CollabLoadOrigin = 'bootstrap' | 'user';
|
|
9435
|
+
//#endregion
|
|
9380
9436
|
//#region src/render/slide-compare.d.ts
|
|
9381
9437
|
type SlideDiffStatus = 'added' | 'removed' | 'changed' | 'unchanged';
|
|
9382
9438
|
type ElementChangeKind = 'added' | 'removed' | 'moved' | 'resized' | 'textChanged';
|
|
@@ -10891,8 +10947,15 @@ interface UseYjsDocumentSyncInput {
|
|
|
10891
10947
|
* each bump re-adopts the doc's slides when the room has content.
|
|
10892
10948
|
*/
|
|
10893
10949
|
loadVersion?: number;
|
|
10950
|
+
/**
|
|
10951
|
+
* Why the last content load ran. Only a `bootstrap` deck (the host's
|
|
10952
|
+
* `content`) yields to a room that already holds slides; a file the user
|
|
10953
|
+
* opened mid-session is what they asked for and is published instead
|
|
10954
|
+
* (`shouldRoomSlidesReplaceLoad`).
|
|
10955
|
+
*/
|
|
10956
|
+
loadOrigin?: CollabLoadOrigin;
|
|
10894
10957
|
}
|
|
10895
|
-
declare function useYjsDocumentSync({ doc, slides, templateElementsBySlideId, setSlides, isConnected, isSynced, config, getSourceBytes, loadVersion }: UseYjsDocumentSyncInput): void;
|
|
10958
|
+
declare function useYjsDocumentSync({ doc, slides, templateElementsBySlideId, setSlides, isConnected, isSynced, config, getSourceBytes, loadVersion, loadOrigin }: UseYjsDocumentSyncInput): void;
|
|
10896
10959
|
//#endregion
|
|
10897
10960
|
//#region src/viewer/hooks/collaboration/useBroadcastFollower.d.ts
|
|
10898
10961
|
interface UseBroadcastFollowerInput {
|