pptx-react-viewer 2.19.3 → 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.
Files changed (94) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/{AiChatPanel-ITONW4RG.js → AiChatPanel-F4X3OZFG.js} +23 -23
  3. package/dist/AiChatPanel-F4X3OZFG.js.br +0 -0
  4. package/dist/AiChatPanel-F4X3OZFG.js.gz +0 -0
  5. package/dist/{AiChatPanel-6GZJUAZO.mjs → AiChatPanel-P663354U.mjs} +3 -3
  6. package/dist/AiChatPanel-P663354U.mjs.br +0 -0
  7. package/dist/AiChatPanel-P663354U.mjs.gz +0 -0
  8. package/dist/{Model3DScene-FHEYYYMP.mjs → Model3DScene-F6FAHPW7.mjs} +1 -1
  9. package/dist/Model3DScene-F6FAHPW7.mjs.br +0 -0
  10. package/dist/Model3DScene-F6FAHPW7.mjs.gz +0 -0
  11. package/dist/{Model3DScene-37TFKKMR.js → Model3DScene-TGGZF6XI.js} +2 -2
  12. package/dist/Model3DScene-TGGZF6XI.js.br +0 -0
  13. package/dist/Model3DScene-TGGZF6XI.js.gz +0 -0
  14. package/dist/PowerPointViewer-DVFkeluD.d.ts.map +1 -1
  15. package/dist/{audience-content-store-ChVOSdBh.d.ts → audience-content-store-C4BFFhV5.d.ts} +10 -3
  16. package/dist/{audience-content-store-ChVOSdBh.d.ts.map → audience-content-store-C4BFFhV5.d.ts.map} +1 -1
  17. package/dist/{chunk-QVTFZH7K.mjs → chunk-2HNIYZ3O.mjs} +1 -1
  18. package/dist/chunk-2HNIYZ3O.mjs.br +0 -0
  19. package/dist/chunk-2HNIYZ3O.mjs.gz +0 -0
  20. package/dist/{chunk-6Q5ZJ5CE.mjs → chunk-6GRIVSUK.mjs} +15 -8
  21. package/dist/chunk-6GRIVSUK.mjs.br +0 -0
  22. package/dist/chunk-6GRIVSUK.mjs.gz +0 -0
  23. package/dist/{chunk-GB7DRDDJ.js → chunk-D4LINQVA.js} +146 -146
  24. package/dist/chunk-D4LINQVA.js.br +0 -0
  25. package/dist/chunk-D4LINQVA.js.gz +0 -0
  26. package/dist/{chunk-N6EY3PJP.js → chunk-FBXLCEK7.js} +376 -375
  27. package/dist/chunk-FBXLCEK7.js.br +0 -0
  28. package/dist/chunk-FBXLCEK7.js.gz +0 -0
  29. package/dist/{chunk-JFZ3ZA6J.mjs → chunk-FWX6HUVA.mjs} +1 -1
  30. package/dist/chunk-FWX6HUVA.mjs.br +0 -0
  31. package/dist/chunk-FWX6HUVA.mjs.gz +0 -0
  32. package/dist/{chunk-MZ6E7TUV.js → chunk-IJY5WNZK.js} +7 -0
  33. package/dist/chunk-IJY5WNZK.js.br +0 -0
  34. package/dist/chunk-IJY5WNZK.js.gz +0 -0
  35. package/dist/{chunk-E3ABZJ3V.mjs → chunk-J3JFXIDN.mjs} +7 -1
  36. package/dist/chunk-J3JFXIDN.mjs.br +0 -0
  37. package/dist/chunk-J3JFXIDN.mjs.gz +0 -0
  38. package/dist/{chunk-T7KTLC6L.js → chunk-PEGZP2W2.js} +3 -3
  39. package/dist/chunk-PEGZP2W2.js.br +0 -0
  40. package/dist/chunk-PEGZP2W2.js.gz +0 -0
  41. package/dist/{chunk-SL32VQDZ.mjs → chunk-PY4526QN.mjs} +6 -5
  42. package/dist/chunk-PY4526QN.mjs.br +0 -0
  43. package/dist/chunk-PY4526QN.mjs.gz +0 -0
  44. package/dist/{chunk-LL2GSA3M.js → chunk-V7GPBZKH.js} +1029 -1022
  45. package/dist/chunk-V7GPBZKH.js.br +0 -0
  46. package/dist/chunk-V7GPBZKH.js.gz +0 -0
  47. package/dist/index.js +45 -45
  48. package/dist/index.js.br +0 -0
  49. package/dist/index.js.gz +0 -0
  50. package/dist/index.mjs +5 -5
  51. package/dist/index.mjs.br +0 -0
  52. package/dist/index.mjs.gz +0 -0
  53. package/dist/internals.d.ts +41 -1
  54. package/dist/internals.js +78 -78
  55. package/dist/internals.js.br +0 -0
  56. package/dist/internals.js.gz +0 -0
  57. package/dist/internals.mjs +3 -3
  58. package/dist/internals.mjs.br +0 -0
  59. package/dist/internals.mjs.gz +0 -0
  60. package/dist/viewer/index.js +26 -26
  61. package/dist/viewer/index.js.br +0 -0
  62. package/dist/viewer/index.js.gz +0 -0
  63. package/dist/viewer/index.mjs +5 -5
  64. package/dist/viewer/index.mjs.br +0 -0
  65. package/dist/viewer/index.mjs.gz +0 -0
  66. package/package.json +1 -1
  67. package/dist/AiChatPanel-6GZJUAZO.mjs.br +0 -0
  68. package/dist/AiChatPanel-6GZJUAZO.mjs.gz +0 -0
  69. package/dist/AiChatPanel-ITONW4RG.js.br +0 -0
  70. package/dist/AiChatPanel-ITONW4RG.js.gz +0 -0
  71. package/dist/Model3DScene-37TFKKMR.js.br +0 -0
  72. package/dist/Model3DScene-37TFKKMR.js.gz +0 -0
  73. package/dist/Model3DScene-FHEYYYMP.mjs.br +0 -0
  74. package/dist/Model3DScene-FHEYYYMP.mjs.gz +0 -0
  75. package/dist/chunk-6Q5ZJ5CE.mjs.br +0 -0
  76. package/dist/chunk-6Q5ZJ5CE.mjs.gz +0 -0
  77. package/dist/chunk-E3ABZJ3V.mjs.br +0 -0
  78. package/dist/chunk-E3ABZJ3V.mjs.gz +0 -0
  79. package/dist/chunk-GB7DRDDJ.js.br +0 -0
  80. package/dist/chunk-GB7DRDDJ.js.gz +0 -0
  81. package/dist/chunk-JFZ3ZA6J.mjs.br +0 -0
  82. package/dist/chunk-JFZ3ZA6J.mjs.gz +0 -0
  83. package/dist/chunk-LL2GSA3M.js.br +0 -0
  84. package/dist/chunk-LL2GSA3M.js.gz +0 -0
  85. package/dist/chunk-MZ6E7TUV.js.br +0 -0
  86. package/dist/chunk-MZ6E7TUV.js.gz +0 -0
  87. package/dist/chunk-N6EY3PJP.js.br +0 -0
  88. package/dist/chunk-N6EY3PJP.js.gz +0 -0
  89. package/dist/chunk-QVTFZH7K.mjs.br +0 -0
  90. package/dist/chunk-QVTFZH7K.mjs.gz +0 -0
  91. package/dist/chunk-SL32VQDZ.mjs.br +0 -0
  92. package/dist/chunk-SL32VQDZ.mjs.gz +0 -0
  93. package/dist/chunk-T7KTLC6L.js.br +0 -0
  94. package/dist/chunk-T7KTLC6L.js.gz +0 -0
Binary file
Binary file
package/dist/index.js CHANGED
@@ -1,54 +1,54 @@
1
1
  'use strict';
2
2
 
3
- var chunkLL2GSA3M_js = require('./chunk-LL2GSA3M.js');
4
- require('./chunk-T7KTLC6L.js');
5
- var chunkN6EY3PJP_js = require('./chunk-N6EY3PJP.js');
6
- var chunkGB7DRDDJ_js = require('./chunk-GB7DRDDJ.js');
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 chunkMZ6E7TUV_js = require('./chunk-MZ6E7TUV.js');
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 chunkLL2GSA3M_js.PowerPointViewer; }
15
+ get: function () { return chunkV7GPBZKH_js.PowerPointViewer; }
16
16
  });
17
17
  Object.defineProperty(exports, "SlideCanvas", {
18
18
  enumerable: true,
19
- get: function () { return chunkLL2GSA3M_js.SlideCanvas; }
19
+ get: function () { return chunkV7GPBZKH_js.SlideCanvas; }
20
20
  });
21
21
  Object.defineProperty(exports, "SlideTemplateGalleryDialog", {
22
22
  enumerable: true,
23
- get: function () { return chunkLL2GSA3M_js.SlideTemplateGalleryDialog; }
23
+ get: function () { return chunkV7GPBZKH_js.SlideTemplateGalleryDialog; }
24
24
  });
25
25
  Object.defineProperty(exports, "SlideTemplatePreview", {
26
26
  enumerable: true,
27
- get: function () { return chunkLL2GSA3M_js.SlideTemplatePreview; }
27
+ get: function () { return chunkV7GPBZKH_js.SlideTemplatePreview; }
28
28
  });
29
29
  Object.defineProperty(exports, "Toolbar", {
30
30
  enumerable: true,
31
- get: function () { return chunkLL2GSA3M_js.Toolbar; }
31
+ get: function () { return chunkV7GPBZKH_js.Toolbar; }
32
32
  });
33
33
  Object.defineProperty(exports, "ViewerThemeProvider", {
34
34
  enumerable: true,
35
- get: function () { return chunkLL2GSA3M_js.ViewerThemeProvider; }
35
+ get: function () { return chunkV7GPBZKH_js.ViewerThemeProvider; }
36
36
  });
37
37
  Object.defineProperty(exports, "useViewerTheme", {
38
38
  enumerable: true,
39
- get: function () { return chunkLL2GSA3M_js.useViewerTheme; }
39
+ get: function () { return chunkV7GPBZKH_js.useViewerTheme; }
40
40
  });
41
41
  Object.defineProperty(exports, "renderToCanvas", {
42
42
  enumerable: true,
43
- get: function () { return chunkN6EY3PJP_js.renderToCanvas; }
43
+ get: function () { return chunkFBXLCEK7_js.renderToCanvas; }
44
44
  });
45
45
  Object.defineProperty(exports, "useViewerBuildingBlocks", {
46
46
  enumerable: true,
47
- get: function () { return chunkN6EY3PJP_js.useViewerBuildingBlocks; }
47
+ get: function () { return chunkFBXLCEK7_js.useViewerBuildingBlocks; }
48
48
  });
49
49
  Object.defineProperty(exports, "getAnimationInitialStyle", {
50
50
  enumerable: true,
51
- get: function () { return chunkGB7DRDDJ_js.getAnimationInitialStyle; }
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 chunkMZ6E7TUV_js.AVATAR_COLOR_SWATCHES; }
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 chunkMZ6E7TUV_js.DEFAULT_VIEWER_PROFILE; }
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 chunkMZ6E7TUV_js.PPTX_OPEN_ACCEPT; }
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 chunkMZ6E7TUV_js.PRESENTATION_OPEN_EXTENSIONS; }
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 chunkMZ6E7TUV_js.SLIDE_TEMPLATES; }
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 chunkMZ6E7TUV_js.THEME_CATALOG; }
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 chunkMZ6E7TUV_js.VIEWER_PREFS_STORAGE_KEY; }
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 chunkMZ6E7TUV_js.buildSlideTemplateContent; }
87
+ get: function () { return chunkIJY5WNZK_js.buildSlideTemplateContent; }
88
88
  });
89
89
  Object.defineProperty(exports, "buildSlideTemplateSlide", {
90
90
  enumerable: true,
91
- get: function () { return chunkMZ6E7TUV_js.buildSlideTemplateSlide; }
91
+ get: function () { return chunkIJY5WNZK_js.buildSlideTemplateSlide; }
92
92
  });
93
93
  Object.defineProperty(exports, "clearAllLocalViewerData", {
94
94
  enumerable: true,
95
- get: function () { return chunkMZ6E7TUV_js.clearAllLocalViewerData; }
95
+ get: function () { return chunkIJY5WNZK_js.clearAllLocalViewerData; }
96
96
  });
97
97
  Object.defineProperty(exports, "clearStoredViewerPrefs", {
98
98
  enumerable: true,
99
- get: function () { return chunkMZ6E7TUV_js.clearStoredViewerPrefs; }
99
+ get: function () { return chunkIJY5WNZK_js.clearStoredViewerPrefs; }
100
100
  });
101
101
  Object.defineProperty(exports, "defaultCssVars", {
102
102
  enumerable: true,
103
- get: function () { return chunkMZ6E7TUV_js.defaultCssVars; }
103
+ get: function () { return chunkIJY5WNZK_js.defaultCssVars; }
104
104
  });
105
105
  Object.defineProperty(exports, "defaultRadius", {
106
106
  enumerable: true,
107
- get: function () { return chunkMZ6E7TUV_js.defaultRadius; }
107
+ get: function () { return chunkIJY5WNZK_js.defaultRadius; }
108
108
  });
109
109
  Object.defineProperty(exports, "defaultThemeColors", {
110
110
  enumerable: true,
111
- get: function () { return chunkMZ6E7TUV_js.defaultThemeColors; }
111
+ get: function () { return chunkIJY5WNZK_js.defaultThemeColors; }
112
112
  });
113
113
  Object.defineProperty(exports, "getLocalStorageUsageSummary", {
114
114
  enumerable: true,
115
- get: function () { return chunkMZ6E7TUV_js.getLocalStorageUsageSummary; }
115
+ get: function () { return chunkIJY5WNZK_js.getLocalStorageUsageSummary; }
116
116
  });
117
117
  Object.defineProperty(exports, "isLegacyBinaryPresentation", {
118
118
  enumerable: true,
119
- get: function () { return chunkMZ6E7TUV_js.isLegacyBinaryPresentation; }
119
+ get: function () { return chunkIJY5WNZK_js.isLegacyBinaryPresentation; }
120
120
  });
121
121
  Object.defineProperty(exports, "isSupportedPresentationFile", {
122
122
  enumerable: true,
123
- get: function () { return chunkMZ6E7TUV_js.isSupportedPresentationFile; }
123
+ get: function () { return chunkIJY5WNZK_js.isSupportedPresentationFile; }
124
124
  });
125
125
  Object.defineProperty(exports, "presentationBaseName", {
126
126
  enumerable: true,
127
- get: function () { return chunkMZ6E7TUV_js.presentationBaseName; }
127
+ get: function () { return chunkIJY5WNZK_js.presentationBaseName; }
128
128
  });
129
129
  Object.defineProperty(exports, "readStoredViewerPrefs", {
130
130
  enumerable: true,
131
- get: function () { return chunkMZ6E7TUV_js.readStoredViewerPrefs; }
131
+ get: function () { return chunkIJY5WNZK_js.readStoredViewerPrefs; }
132
132
  });
133
133
  Object.defineProperty(exports, "resolveProfileInitial", {
134
134
  enumerable: true,
135
- get: function () { return chunkMZ6E7TUV_js.resolveProfileInitial; }
135
+ get: function () { return chunkIJY5WNZK_js.resolveProfileInitial; }
136
136
  });
137
137
  Object.defineProperty(exports, "resolveThemeCatalogEntry", {
138
138
  enumerable: true,
139
- get: function () { return chunkMZ6E7TUV_js.resolveThemeCatalogEntry; }
139
+ get: function () { return chunkIJY5WNZK_js.resolveThemeCatalogEntry; }
140
140
  });
141
141
  Object.defineProperty(exports, "saveViewerProfile", {
142
142
  enumerable: true,
143
- get: function () { return chunkMZ6E7TUV_js.saveViewerProfile; }
143
+ get: function () { return chunkIJY5WNZK_js.saveViewerProfile; }
144
144
  });
145
145
  Object.defineProperty(exports, "savedPresentationFileName", {
146
146
  enumerable: true,
147
- get: function () { return chunkMZ6E7TUV_js.savedPresentationFileName; }
147
+ get: function () { return chunkIJY5WNZK_js.savedPresentationFileName; }
148
148
  });
149
149
  Object.defineProperty(exports, "themeToCssVars", {
150
150
  enumerable: true,
151
- get: function () { return chunkMZ6E7TUV_js.themeToCssVars; }
151
+ get: function () { return chunkIJY5WNZK_js.themeToCssVars; }
152
152
  });
153
153
  Object.defineProperty(exports, "vermilionDarkColors", {
154
154
  enumerable: true,
155
- get: function () { return chunkMZ6E7TUV_js.vermilionDarkColors; }
155
+ get: function () { return chunkIJY5WNZK_js.vermilionDarkColors; }
156
156
  });
157
157
  Object.defineProperty(exports, "vermilionDarkTheme", {
158
158
  enumerable: true,
159
- get: function () { return chunkMZ6E7TUV_js.vermilionDarkTheme; }
159
+ get: function () { return chunkIJY5WNZK_js.vermilionDarkTheme; }
160
160
  });
161
161
  Object.defineProperty(exports, "vermilionLightColors", {
162
162
  enumerable: true,
163
- get: function () { return chunkMZ6E7TUV_js.vermilionLightColors; }
163
+ get: function () { return chunkIJY5WNZK_js.vermilionLightColors; }
164
164
  });
165
165
  Object.defineProperty(exports, "vermilionLightTheme", {
166
166
  enumerable: true,
167
- get: function () { return chunkMZ6E7TUV_js.vermilionLightTheme; }
167
+ get: function () { return chunkIJY5WNZK_js.vermilionLightTheme; }
168
168
  });
169
169
  Object.defineProperty(exports, "vermilionRadius", {
170
170
  enumerable: true,
171
- get: function () { return chunkMZ6E7TUV_js.vermilionRadius; }
171
+ get: function () { return chunkIJY5WNZK_js.vermilionRadius; }
172
172
  });
173
173
  Object.defineProperty(exports, "writeStoredViewerPrefs", {
174
174
  enumerable: true,
175
- get: function () { return chunkMZ6E7TUV_js.writeStoredViewerPrefs; }
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-6Q5ZJ5CE.mjs';
2
- import './chunk-JFZ3ZA6J.mjs';
3
- export { renderToCanvas, useViewerBuildingBlocks } from './chunk-SL32VQDZ.mjs';
4
- export { getAnimationInitialStyle } from './chunk-QVTFZH7K.mjs';
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-E3ABZJ3V.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-J3JFXIDN.mjs';
7
7
  import './chunk-XGB3TDIC.mjs';
package/dist/index.mjs.br CHANGED
Binary file
package/dist/index.mjs.gz CHANGED
Binary file
@@ -9400,6 +9400,39 @@ interface CollaborationLivePatcher {
9400
9400
  dispose: () => void;
9401
9401
  }
9402
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
9403
9436
  //#region src/render/slide-compare.d.ts
9404
9437
  type SlideDiffStatus = 'added' | 'removed' | 'changed' | 'unchanged';
9405
9438
  type ElementChangeKind = 'added' | 'removed' | 'moved' | 'resized' | 'textChanged';
@@ -10914,8 +10947,15 @@ interface UseYjsDocumentSyncInput {
10914
10947
  * each bump re-adopts the doc's slides when the room has content.
10915
10948
  */
10916
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;
10917
10957
  }
10918
- 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;
10919
10959
  //#endregion
10920
10960
  //#region src/viewer/hooks/collaboration/useBroadcastFollower.d.ts
10921
10961
  interface UseBroadcastFollowerInput {