pptx-react-viewer 4.15.0 → 4.16.1

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 (134) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/dist/{AiChatPanel-CDQWJTWL.js → AiChatPanel-DFZSMXJB.js} +28 -28
  3. package/dist/AiChatPanel-DFZSMXJB.js.br +0 -0
  4. package/dist/AiChatPanel-DFZSMXJB.js.gz +0 -0
  5. package/dist/{AiChatPanel-7OVUGUKW.mjs → AiChatPanel-K3PL6O3M.mjs} +4 -4
  6. package/dist/AiChatPanel-K3PL6O3M.mjs.br +0 -0
  7. package/dist/AiChatPanel-K3PL6O3M.mjs.gz +0 -0
  8. package/dist/{Model3DScene-A3CPMFAO.mjs → Model3DScene-EOKTWVG7.mjs} +1 -1
  9. package/dist/Model3DScene-EOKTWVG7.mjs.br +0 -0
  10. package/dist/Model3DScene-EOKTWVG7.mjs.gz +0 -0
  11. package/dist/{Model3DScene-OLGB7Z7Q.js → Model3DScene-ZYC5U7NY.js} +2 -2
  12. package/dist/Model3DScene-ZYC5U7NY.js.br +0 -0
  13. package/dist/Model3DScene-ZYC5U7NY.js.gz +0 -0
  14. package/dist/{chunk-CJSIEITL.mjs → chunk-33XJSD62.mjs} +3 -0
  15. package/dist/chunk-33XJSD62.mjs.br +0 -0
  16. package/dist/{chunk-CJSIEITL.mjs.gz → chunk-33XJSD62.mjs.gz} +0 -0
  17. package/dist/{chunk-2CSRCH4H.js → chunk-4VV5HJXQ.js} +3691 -858
  18. package/dist/chunk-4VV5HJXQ.js.br +0 -0
  19. package/dist/chunk-4VV5HJXQ.js.gz +0 -0
  20. package/dist/{chunk-RQCAXUVQ.mjs → chunk-6PWT46Y4.mjs} +816 -1407
  21. package/dist/chunk-6PWT46Y4.mjs.br +0 -0
  22. package/dist/chunk-6PWT46Y4.mjs.gz +0 -0
  23. package/dist/{chunk-UP6PJEHM.js → chunk-CWVPHCMJ.js} +5 -5
  24. package/dist/chunk-CWVPHCMJ.js.br +0 -0
  25. package/dist/chunk-CWVPHCMJ.js.gz +0 -0
  26. package/dist/{chunk-Q5VQ53R3.mjs → chunk-KK2CFTKC.mjs} +2 -2
  27. package/dist/chunk-KK2CFTKC.mjs.br +0 -0
  28. package/dist/chunk-KK2CFTKC.mjs.gz +0 -0
  29. package/dist/{chunk-XEYB25ZT.js → chunk-LJEI7O6S.js} +3 -0
  30. package/dist/chunk-LJEI7O6S.js.br +0 -0
  31. package/dist/{chunk-XEYB25ZT.js.gz → chunk-LJEI7O6S.js.gz} +0 -0
  32. package/dist/{chunk-AHJ4ND7Q.mjs → chunk-QZSA3E4L.mjs} +1 -1
  33. package/dist/chunk-QZSA3E4L.mjs.br +0 -0
  34. package/dist/chunk-QZSA3E4L.mjs.gz +0 -0
  35. package/dist/{chunk-CNXVOFUW.js → chunk-RE6NDQH7.js} +197 -197
  36. package/dist/chunk-RE6NDQH7.js.br +0 -0
  37. package/dist/chunk-RE6NDQH7.js.gz +0 -0
  38. package/dist/{chunk-DNWIW75I.mjs → chunk-VUI3VE7K.mjs} +52 -8
  39. package/dist/chunk-VUI3VE7K.mjs.br +0 -0
  40. package/dist/chunk-VUI3VE7K.mjs.gz +0 -0
  41. package/dist/{chunk-AIWEM7VE.mjs → chunk-VUNRFZRR.mjs} +3679 -849
  42. package/dist/chunk-VUNRFZRR.mjs.br +0 -0
  43. package/dist/chunk-VUNRFZRR.mjs.gz +0 -0
  44. package/dist/{chunk-6ZPXMS64.js → chunk-VVGYZBF5.js} +2803 -3394
  45. package/dist/chunk-VVGYZBF5.js.br +0 -0
  46. package/dist/chunk-VVGYZBF5.js.gz +0 -0
  47. package/dist/{chunk-HGO243GV.js → chunk-XVJSAY7C.js} +864 -820
  48. package/dist/chunk-XVJSAY7C.js.br +0 -0
  49. package/dist/chunk-XVJSAY7C.js.gz +0 -0
  50. package/dist/i18n/de.cjs +6 -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 +6 -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 +6 -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 +6 -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 +6 -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 +6 -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 +6 -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 +6 -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 +140 -1
  81. package/dist/index.js +63 -63
  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 +147 -0
  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 +137 -0
  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 +1 -2
  103. package/dist/viewer/index.mjs.gz +0 -0
  104. package/package.json +2 -2
  105. package/dist/AiChatPanel-7OVUGUKW.mjs.br +0 -0
  106. package/dist/AiChatPanel-7OVUGUKW.mjs.gz +0 -0
  107. package/dist/AiChatPanel-CDQWJTWL.js.br +0 -0
  108. package/dist/AiChatPanel-CDQWJTWL.js.gz +0 -0
  109. package/dist/Model3DScene-A3CPMFAO.mjs.br +0 -0
  110. package/dist/Model3DScene-A3CPMFAO.mjs.gz +0 -0
  111. package/dist/Model3DScene-OLGB7Z7Q.js.br +0 -0
  112. package/dist/Model3DScene-OLGB7Z7Q.js.gz +0 -0
  113. package/dist/chunk-2CSRCH4H.js.br +0 -0
  114. package/dist/chunk-2CSRCH4H.js.gz +0 -0
  115. package/dist/chunk-6ZPXMS64.js.br +0 -0
  116. package/dist/chunk-6ZPXMS64.js.gz +0 -0
  117. package/dist/chunk-AHJ4ND7Q.mjs.br +0 -0
  118. package/dist/chunk-AHJ4ND7Q.mjs.gz +0 -0
  119. package/dist/chunk-AIWEM7VE.mjs.br +0 -0
  120. package/dist/chunk-AIWEM7VE.mjs.gz +0 -0
  121. package/dist/chunk-CJSIEITL.mjs.br +0 -0
  122. package/dist/chunk-CNXVOFUW.js.br +0 -0
  123. package/dist/chunk-CNXVOFUW.js.gz +0 -0
  124. package/dist/chunk-DNWIW75I.mjs.br +0 -0
  125. package/dist/chunk-DNWIW75I.mjs.gz +0 -0
  126. package/dist/chunk-HGO243GV.js.br +0 -0
  127. package/dist/chunk-HGO243GV.js.gz +0 -0
  128. package/dist/chunk-Q5VQ53R3.mjs.br +0 -0
  129. package/dist/chunk-Q5VQ53R3.mjs.gz +0 -0
  130. package/dist/chunk-RQCAXUVQ.mjs.br +0 -0
  131. package/dist/chunk-RQCAXUVQ.mjs.gz +0 -0
  132. package/dist/chunk-UP6PJEHM.js.br +0 -0
  133. package/dist/chunk-UP6PJEHM.js.gz +0 -0
  134. package/dist/chunk-XEYB25ZT.js.br +0 -0
package/dist/index.js CHANGED
@@ -1,240 +1,240 @@
1
1
  'use strict';
2
2
 
3
- var chunk6ZPXMS64_js = require('./chunk-6ZPXMS64.js');
4
- require('./chunk-UP6PJEHM.js');
5
- var chunkHGO243GV_js = require('./chunk-HGO243GV.js');
6
- var chunkCNXVOFUW_js = require('./chunk-CNXVOFUW.js');
7
- var chunk2CSRCH4H_js = require('./chunk-2CSRCH4H.js');
8
- var chunkXEYB25ZT_js = require('./chunk-XEYB25ZT.js');
3
+ var chunkVVGYZBF5_js = require('./chunk-VVGYZBF5.js');
4
+ require('./chunk-CWVPHCMJ.js');
5
+ var chunkXVJSAY7C_js = require('./chunk-XVJSAY7C.js');
6
+ var chunkRE6NDQH7_js = require('./chunk-RE6NDQH7.js');
7
+ var chunk4VV5HJXQ_js = require('./chunk-4VV5HJXQ.js');
8
+ var chunkLJEI7O6S_js = require('./chunk-LJEI7O6S.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 chunk6ZPXMS64_js.PowerPointViewer; }
15
+ get: function () { return chunkVVGYZBF5_js.PowerPointViewer; }
16
16
  });
17
17
  Object.defineProperty(exports, "SlideCanvas", {
18
18
  enumerable: true,
19
- get: function () { return chunk6ZPXMS64_js.SlideCanvas; }
19
+ get: function () { return chunkVVGYZBF5_js.SlideCanvas; }
20
20
  });
21
21
  Object.defineProperty(exports, "SlideTemplateGalleryDialog", {
22
22
  enumerable: true,
23
- get: function () { return chunk6ZPXMS64_js.SlideTemplateGalleryDialog; }
23
+ get: function () { return chunkVVGYZBF5_js.SlideTemplateGalleryDialog; }
24
24
  });
25
25
  Object.defineProperty(exports, "SlideTemplatePreview", {
26
26
  enumerable: true,
27
- get: function () { return chunk6ZPXMS64_js.SlideTemplatePreview; }
27
+ get: function () { return chunkVVGYZBF5_js.SlideTemplatePreview; }
28
28
  });
29
29
  Object.defineProperty(exports, "Toolbar", {
30
30
  enumerable: true,
31
- get: function () { return chunk6ZPXMS64_js.Toolbar; }
31
+ get: function () { return chunkVVGYZBF5_js.Toolbar; }
32
32
  });
33
33
  Object.defineProperty(exports, "ViewerThemeProvider", {
34
34
  enumerable: true,
35
- get: function () { return chunk6ZPXMS64_js.ViewerThemeProvider; }
35
+ get: function () { return chunkVVGYZBF5_js.ViewerThemeProvider; }
36
36
  });
37
37
  Object.defineProperty(exports, "useViewerTheme", {
38
38
  enumerable: true,
39
- get: function () { return chunk6ZPXMS64_js.useViewerTheme; }
39
+ get: function () { return chunkVVGYZBF5_js.useViewerTheme; }
40
40
  });
41
41
  Object.defineProperty(exports, "renderToCanvas", {
42
42
  enumerable: true,
43
- get: function () { return chunkHGO243GV_js.renderToCanvas; }
43
+ get: function () { return chunkXVJSAY7C_js.renderToCanvas; }
44
44
  });
45
45
  Object.defineProperty(exports, "useViewerBuildingBlocks", {
46
46
  enumerable: true,
47
- get: function () { return chunkHGO243GV_js.useViewerBuildingBlocks; }
47
+ get: function () { return chunkXVJSAY7C_js.useViewerBuildingBlocks; }
48
48
  });
49
49
  Object.defineProperty(exports, "getAnimationInitialStyle", {
50
50
  enumerable: true,
51
- get: function () { return chunkCNXVOFUW_js.getAnimationInitialStyle; }
51
+ get: function () { return chunkRE6NDQH7_js.getAnimationInitialStyle; }
52
52
  });
53
53
  Object.defineProperty(exports, "AVATAR_COLOR_SWATCHES", {
54
54
  enumerable: true,
55
- get: function () { return chunk2CSRCH4H_js.AVATAR_COLOR_SWATCHES; }
55
+ get: function () { return chunk4VV5HJXQ_js.AVATAR_COLOR_SWATCHES; }
56
56
  });
57
57
  Object.defineProperty(exports, "BACKSTAGE_CARD_IDS", {
58
58
  enumerable: true,
59
- get: function () { return chunk2CSRCH4H_js.BACKSTAGE_CARD_IDS; }
59
+ get: function () { return chunk4VV5HJXQ_js.BACKSTAGE_CARD_IDS; }
60
60
  });
61
61
  Object.defineProperty(exports, "BACKSTAGE_PAGE_IDS", {
62
62
  enumerable: true,
63
- get: function () { return chunk2CSRCH4H_js.BACKSTAGE_PAGE_IDS; }
63
+ get: function () { return chunk4VV5HJXQ_js.BACKSTAGE_PAGE_IDS; }
64
64
  });
65
65
  Object.defineProperty(exports, "CANVAS_CONTEXT_MENU_COMMAND_IDS", {
66
66
  enumerable: true,
67
- get: function () { return chunk2CSRCH4H_js.CANVAS_CONTEXT_MENU_COMMAND_IDS; }
67
+ get: function () { return chunk4VV5HJXQ_js.CANVAS_CONTEXT_MENU_COMMAND_IDS; }
68
68
  });
69
69
  Object.defineProperty(exports, "DEFAULT_VIEWER_PROFILE", {
70
70
  enumerable: true,
71
- get: function () { return chunk2CSRCH4H_js.DEFAULT_VIEWER_PROFILE; }
71
+ get: function () { return chunk4VV5HJXQ_js.DEFAULT_VIEWER_PROFILE; }
72
72
  });
73
73
  Object.defineProperty(exports, "EDITOR_SHORTCUT_ACTION_IDS", {
74
74
  enumerable: true,
75
- get: function () { return chunk2CSRCH4H_js.EDITOR_SHORTCUT_ACTION_IDS; }
75
+ get: function () { return chunk4VV5HJXQ_js.EDITOR_SHORTCUT_ACTION_IDS; }
76
76
  });
77
77
  Object.defineProperty(exports, "ELEMENT_CONTEXT_MENU_COMMAND_IDS", {
78
78
  enumerable: true,
79
- get: function () { return chunk2CSRCH4H_js.ELEMENT_CONTEXT_MENU_COMMAND_IDS; }
79
+ get: function () { return chunk4VV5HJXQ_js.ELEMENT_CONTEXT_MENU_COMMAND_IDS; }
80
80
  });
81
81
  Object.defineProperty(exports, "OPTIONS_PAGE_IDS", {
82
82
  enumerable: true,
83
- get: function () { return chunk2CSRCH4H_js.OPTIONS_PAGE_IDS; }
83
+ get: function () { return chunk4VV5HJXQ_js.OPTIONS_PAGE_IDS; }
84
84
  });
85
85
  Object.defineProperty(exports, "OPTIONS_SECTION_IDS", {
86
86
  enumerable: true,
87
- get: function () { return chunk2CSRCH4H_js.OPTIONS_SECTION_IDS; }
87
+ get: function () { return chunk4VV5HJXQ_js.OPTIONS_SECTION_IDS; }
88
88
  });
89
89
  Object.defineProperty(exports, "OPTIONS_SETTING_IDS", {
90
90
  enumerable: true,
91
- get: function () { return chunk2CSRCH4H_js.OPTIONS_SETTING_IDS; }
91
+ get: function () { return chunk4VV5HJXQ_js.OPTIONS_SETTING_IDS; }
92
92
  });
93
93
  Object.defineProperty(exports, "PPTX_OPEN_ACCEPT", {
94
94
  enumerable: true,
95
- get: function () { return chunk2CSRCH4H_js.PPTX_OPEN_ACCEPT; }
95
+ get: function () { return chunk4VV5HJXQ_js.PPTX_OPEN_ACCEPT; }
96
96
  });
97
97
  Object.defineProperty(exports, "PRESENTATION_OPEN_EXTENSIONS", {
98
98
  enumerable: true,
99
- get: function () { return chunk2CSRCH4H_js.PRESENTATION_OPEN_EXTENSIONS; }
99
+ get: function () { return chunk4VV5HJXQ_js.PRESENTATION_OPEN_EXTENSIONS; }
100
100
  });
101
101
  Object.defineProperty(exports, "RIBBON_TAB_IDS", {
102
102
  enumerable: true,
103
- get: function () { return chunk2CSRCH4H_js.RIBBON_TAB_IDS; }
103
+ get: function () { return chunk4VV5HJXQ_js.RIBBON_TAB_IDS; }
104
104
  });
105
105
  Object.defineProperty(exports, "SLIDE_TEMPLATES", {
106
106
  enumerable: true,
107
- get: function () { return chunk2CSRCH4H_js.SLIDE_TEMPLATES; }
107
+ get: function () { return chunk4VV5HJXQ_js.SLIDE_TEMPLATES; }
108
108
  });
109
109
  Object.defineProperty(exports, "THEME_CATALOG", {
110
110
  enumerable: true,
111
- get: function () { return chunk2CSRCH4H_js.THEME_CATALOG; }
111
+ get: function () { return chunk4VV5HJXQ_js.THEME_CATALOG; }
112
112
  });
113
113
  Object.defineProperty(exports, "TOOLBAR_BUTTON_IDS", {
114
114
  enumerable: true,
115
- get: function () { return chunk2CSRCH4H_js.TOOLBAR_BUTTON_IDS; }
115
+ get: function () { return chunk4VV5HJXQ_js.TOOLBAR_BUTTON_IDS; }
116
116
  });
117
117
  Object.defineProperty(exports, "VIEWER_DIALOG_IDS", {
118
118
  enumerable: true,
119
- get: function () { return chunk2CSRCH4H_js.VIEWER_DIALOG_IDS; }
119
+ get: function () { return chunk4VV5HJXQ_js.VIEWER_DIALOG_IDS; }
120
120
  });
121
121
  Object.defineProperty(exports, "VIEWER_EXPORT_FORMAT_IDS", {
122
122
  enumerable: true,
123
- get: function () { return chunk2CSRCH4H_js.VIEWER_EXPORT_FORMAT_IDS; }
123
+ get: function () { return chunk4VV5HJXQ_js.VIEWER_EXPORT_FORMAT_IDS; }
124
124
  });
125
125
  Object.defineProperty(exports, "VIEWER_FEATURE_IDS", {
126
126
  enumerable: true,
127
- get: function () { return chunk2CSRCH4H_js.VIEWER_FEATURE_IDS; }
127
+ get: function () { return chunk4VV5HJXQ_js.VIEWER_FEATURE_IDS; }
128
128
  });
129
129
  Object.defineProperty(exports, "VIEWER_PANEL_IDS", {
130
130
  enumerable: true,
131
- get: function () { return chunk2CSRCH4H_js.VIEWER_PANEL_IDS; }
131
+ get: function () { return chunk4VV5HJXQ_js.VIEWER_PANEL_IDS; }
132
132
  });
133
133
  Object.defineProperty(exports, "VIEWER_PREFS_STORAGE_KEY", {
134
134
  enumerable: true,
135
- get: function () { return chunk2CSRCH4H_js.VIEWER_PREFS_STORAGE_KEY; }
135
+ get: function () { return chunk4VV5HJXQ_js.VIEWER_PREFS_STORAGE_KEY; }
136
136
  });
137
137
  Object.defineProperty(exports, "buildSlideTemplateContent", {
138
138
  enumerable: true,
139
- get: function () { return chunk2CSRCH4H_js.buildSlideTemplateContent; }
139
+ get: function () { return chunk4VV5HJXQ_js.buildSlideTemplateContent; }
140
140
  });
141
141
  Object.defineProperty(exports, "buildSlideTemplateSlide", {
142
142
  enumerable: true,
143
- get: function () { return chunk2CSRCH4H_js.buildSlideTemplateSlide; }
143
+ get: function () { return chunk4VV5HJXQ_js.buildSlideTemplateSlide; }
144
144
  });
145
145
  Object.defineProperty(exports, "clearAllLocalViewerData", {
146
146
  enumerable: true,
147
- get: function () { return chunk2CSRCH4H_js.clearAllLocalViewerData; }
147
+ get: function () { return chunk4VV5HJXQ_js.clearAllLocalViewerData; }
148
148
  });
149
149
  Object.defineProperty(exports, "clearStoredViewerPrefs", {
150
150
  enumerable: true,
151
- get: function () { return chunk2CSRCH4H_js.clearStoredViewerPrefs; }
151
+ get: function () { return chunk4VV5HJXQ_js.clearStoredViewerPrefs; }
152
152
  });
153
153
  Object.defineProperty(exports, "createImageElementFromFile", {
154
154
  enumerable: true,
155
- get: function () { return chunk2CSRCH4H_js.createImageElementFromFile; }
155
+ get: function () { return chunk4VV5HJXQ_js.createImageElementFromFile; }
156
156
  });
157
157
  Object.defineProperty(exports, "defaultCssVars", {
158
158
  enumerable: true,
159
- get: function () { return chunk2CSRCH4H_js.defaultCssVars; }
159
+ get: function () { return chunk4VV5HJXQ_js.defaultCssVars; }
160
160
  });
161
161
  Object.defineProperty(exports, "defaultRadius", {
162
162
  enumerable: true,
163
- get: function () { return chunk2CSRCH4H_js.defaultRadius; }
163
+ get: function () { return chunk4VV5HJXQ_js.defaultRadius; }
164
164
  });
165
165
  Object.defineProperty(exports, "defaultThemeColors", {
166
166
  enumerable: true,
167
- get: function () { return chunk2CSRCH4H_js.defaultThemeColors; }
167
+ get: function () { return chunk4VV5HJXQ_js.defaultThemeColors; }
168
168
  });
169
169
  Object.defineProperty(exports, "describeCollaborationShellState", {
170
170
  enumerable: true,
171
- get: function () { return chunk2CSRCH4H_js.describeCollaborationShellState; }
171
+ get: function () { return chunk4VV5HJXQ_js.describeCollaborationShellState; }
172
172
  });
173
173
  Object.defineProperty(exports, "getLocalStorageUsageSummary", {
174
174
  enumerable: true,
175
- get: function () { return chunk2CSRCH4H_js.getLocalStorageUsageSummary; }
175
+ get: function () { return chunk4VV5HJXQ_js.getLocalStorageUsageSummary; }
176
176
  });
177
177
  Object.defineProperty(exports, "isLegacyBinaryPresentation", {
178
178
  enumerable: true,
179
- get: function () { return chunk2CSRCH4H_js.isLegacyBinaryPresentation; }
179
+ get: function () { return chunk4VV5HJXQ_js.isLegacyBinaryPresentation; }
180
180
  });
181
181
  Object.defineProperty(exports, "isSupportedPresentationFile", {
182
182
  enumerable: true,
183
- get: function () { return chunk2CSRCH4H_js.isSupportedPresentationFile; }
183
+ get: function () { return chunk4VV5HJXQ_js.isSupportedPresentationFile; }
184
184
  });
185
185
  Object.defineProperty(exports, "presentationBaseName", {
186
186
  enumerable: true,
187
- get: function () { return chunk2CSRCH4H_js.presentationBaseName; }
187
+ get: function () { return chunk4VV5HJXQ_js.presentationBaseName; }
188
188
  });
189
189
  Object.defineProperty(exports, "readStoredViewerPrefs", {
190
190
  enumerable: true,
191
- get: function () { return chunk2CSRCH4H_js.readStoredViewerPrefs; }
191
+ get: function () { return chunk4VV5HJXQ_js.readStoredViewerPrefs; }
192
192
  });
193
193
  Object.defineProperty(exports, "resolveProfileInitial", {
194
194
  enumerable: true,
195
- get: function () { return chunk2CSRCH4H_js.resolveProfileInitial; }
195
+ get: function () { return chunk4VV5HJXQ_js.resolveProfileInitial; }
196
196
  });
197
197
  Object.defineProperty(exports, "resolveThemeCatalogEntry", {
198
198
  enumerable: true,
199
- get: function () { return chunk2CSRCH4H_js.resolveThemeCatalogEntry; }
199
+ get: function () { return chunk4VV5HJXQ_js.resolveThemeCatalogEntry; }
200
200
  });
201
201
  Object.defineProperty(exports, "saveViewerProfile", {
202
202
  enumerable: true,
203
- get: function () { return chunk2CSRCH4H_js.saveViewerProfile; }
203
+ get: function () { return chunk4VV5HJXQ_js.saveViewerProfile; }
204
204
  });
205
205
  Object.defineProperty(exports, "savedPresentationFileName", {
206
206
  enumerable: true,
207
- get: function () { return chunk2CSRCH4H_js.savedPresentationFileName; }
207
+ get: function () { return chunk4VV5HJXQ_js.savedPresentationFileName; }
208
208
  });
209
209
  Object.defineProperty(exports, "themeToCssVars", {
210
210
  enumerable: true,
211
- get: function () { return chunk2CSRCH4H_js.themeToCssVars; }
211
+ get: function () { return chunk4VV5HJXQ_js.themeToCssVars; }
212
212
  });
213
213
  Object.defineProperty(exports, "vermilionDarkColors", {
214
214
  enumerable: true,
215
- get: function () { return chunk2CSRCH4H_js.vermilionDarkColors; }
215
+ get: function () { return chunk4VV5HJXQ_js.vermilionDarkColors; }
216
216
  });
217
217
  Object.defineProperty(exports, "vermilionDarkTheme", {
218
218
  enumerable: true,
219
- get: function () { return chunk2CSRCH4H_js.vermilionDarkTheme; }
219
+ get: function () { return chunk4VV5HJXQ_js.vermilionDarkTheme; }
220
220
  });
221
221
  Object.defineProperty(exports, "vermilionLightColors", {
222
222
  enumerable: true,
223
- get: function () { return chunk2CSRCH4H_js.vermilionLightColors; }
223
+ get: function () { return chunk4VV5HJXQ_js.vermilionLightColors; }
224
224
  });
225
225
  Object.defineProperty(exports, "vermilionLightTheme", {
226
226
  enumerable: true,
227
- get: function () { return chunk2CSRCH4H_js.vermilionLightTheme; }
227
+ get: function () { return chunk4VV5HJXQ_js.vermilionLightTheme; }
228
228
  });
229
229
  Object.defineProperty(exports, "vermilionRadius", {
230
230
  enumerable: true,
231
- get: function () { return chunk2CSRCH4H_js.vermilionRadius; }
231
+ get: function () { return chunk4VV5HJXQ_js.vermilionRadius; }
232
232
  });
233
233
  Object.defineProperty(exports, "writeStoredViewerPrefs", {
234
234
  enumerable: true,
235
- get: function () { return chunk2CSRCH4H_js.writeStoredViewerPrefs; }
235
+ get: function () { return chunk4VV5HJXQ_js.writeStoredViewerPrefs; }
236
236
  });
237
237
  Object.defineProperty(exports, "LOCALE_CATALOG", {
238
238
  enumerable: true,
239
- get: function () { return chunkXEYB25ZT_js.LOCALE_CATALOG; }
239
+ get: function () { return chunkLJEI7O6S_js.LOCALE_CATALOG; }
240
240
  });
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-RQCAXUVQ.mjs';
2
- import './chunk-AHJ4ND7Q.mjs';
3
- export { renderToCanvas, useViewerBuildingBlocks } from './chunk-DNWIW75I.mjs';
4
- export { getAnimationInitialStyle } from './chunk-Q5VQ53R3.mjs';
5
- export { AVATAR_COLOR_SWATCHES, BACKSTAGE_CARD_IDS, BACKSTAGE_PAGE_IDS, CANVAS_CONTEXT_MENU_COMMAND_IDS, DEFAULT_VIEWER_PROFILE, EDITOR_SHORTCUT_ACTION_IDS, ELEMENT_CONTEXT_MENU_COMMAND_IDS, OPTIONS_PAGE_IDS, OPTIONS_SECTION_IDS, OPTIONS_SETTING_IDS, PPTX_OPEN_ACCEPT, PRESENTATION_OPEN_EXTENSIONS, RIBBON_TAB_IDS, SLIDE_TEMPLATES, THEME_CATALOG, TOOLBAR_BUTTON_IDS, VIEWER_DIALOG_IDS, VIEWER_EXPORT_FORMAT_IDS, VIEWER_FEATURE_IDS, VIEWER_PANEL_IDS, 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-AIWEM7VE.mjs';
6
- export { LOCALE_CATALOG } from './chunk-CJSIEITL.mjs';
1
+ export { PowerPointViewer, SlideCanvas, SlideTemplateGalleryDialog, SlideTemplatePreview, Toolbar, ViewerThemeProvider, useViewerTheme } from './chunk-6PWT46Y4.mjs';
2
+ import './chunk-QZSA3E4L.mjs';
3
+ export { renderToCanvas, useViewerBuildingBlocks } from './chunk-VUI3VE7K.mjs';
4
+ export { getAnimationInitialStyle } from './chunk-KK2CFTKC.mjs';
5
+ export { AVATAR_COLOR_SWATCHES, BACKSTAGE_CARD_IDS, BACKSTAGE_PAGE_IDS, CANVAS_CONTEXT_MENU_COMMAND_IDS, DEFAULT_VIEWER_PROFILE, EDITOR_SHORTCUT_ACTION_IDS, ELEMENT_CONTEXT_MENU_COMMAND_IDS, OPTIONS_PAGE_IDS, OPTIONS_SECTION_IDS, OPTIONS_SETTING_IDS, PPTX_OPEN_ACCEPT, PRESENTATION_OPEN_EXTENSIONS, RIBBON_TAB_IDS, SLIDE_TEMPLATES, THEME_CATALOG, TOOLBAR_BUTTON_IDS, VIEWER_DIALOG_IDS, VIEWER_EXPORT_FORMAT_IDS, VIEWER_FEATURE_IDS, VIEWER_PANEL_IDS, 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-VUNRFZRR.mjs';
6
+ export { LOCALE_CATALOG } from './chunk-33XJSD62.mjs';
7
7
  import './chunk-XGB3TDIC.mjs';
package/dist/index.mjs.br CHANGED
Binary file
package/dist/index.mjs.gz CHANGED
Binary file
@@ -13915,6 +13915,25 @@ type ViewerOptionPrimitive = boolean | number | string;
13915
13915
  */
13916
13916
  type ViewerOptionsTabId = 'general' | 'proofing' | 'save' | 'language' | 'accessibility' | 'advanced' | 'ribbon' | 'quickAccess' | 'addIns' | 'trust';
13917
13917
  //#endregion
13918
+ //#region src/render/customization/host-menu-commands.d.ts
13919
+ /** Snapshot of the slide on which the host command was offered. */
13920
+ interface HostCanvasMenuContext {
13921
+ slideIndex: number;
13922
+ }
13923
+ /** Effective selection, including a single right-clicked element. */
13924
+ interface HostElementMenuContext extends HostCanvasMenuContext {
13925
+ elementIds: readonly string[];
13926
+ }
13927
+ /** Plain text labels work identically in every framework. */
13928
+ interface HostMenuCommand<C> {
13929
+ id: string;
13930
+ label: string;
13931
+ /** Default: a separate group above the built-in commands. */
13932
+ group?: 'top' | 'bottom';
13933
+ disabled?: boolean | ((context: C) => boolean);
13934
+ onSelect: (context: C) => void;
13935
+ }
13936
+ //#endregion
13918
13937
  //#region src/render/customization/ribbon-control-catalog.d.ts
13919
13938
  declare const RIBBON_CONTROL_CATALOG: {
13920
13939
  readonly home: {
@@ -14262,6 +14281,7 @@ declare const RIBBON_CONTROL_CATALOG: {
14262
14281
  readonly label: 'Language';
14263
14282
  readonly controls: {
14264
14283
  readonly translate: 'Translate';
14284
+ readonly language: 'Language';
14265
14285
  };
14266
14286
  };
14267
14287
  readonly comments: {
@@ -14496,6 +14516,9 @@ interface BackstageCustomization {
14496
14516
  }
14497
14517
  /** Right-click menu customisation. */
14498
14518
  interface ContextMenuCustomization {
14519
+ /** Additional host commands, independent of the viewer's AI connection. */
14520
+ extraElementCommands?: readonly HostMenuCommand<HostElementMenuContext>[];
14521
+ extraCanvasCommands?: readonly HostMenuCommand<HostCanvasMenuContext>[];
14499
14522
  /** Entries to remove from the element (right-click on a shape) menu. */
14500
14523
  hiddenElementCommands?: readonly ContextMenuCommandId[];
14501
14524
  /** Entries to remove from the empty-canvas menu. */
@@ -14601,6 +14624,8 @@ interface ResolvedCustomization {
14601
14624
  hiddenBackstagePages: ReadonlySet<BackstagePage>;
14602
14625
  hiddenBackstageCards: ReadonlySet<BackstageCardId>;
14603
14626
  hiddenElementCommands: ReadonlySet<ContextMenuCommandId>;
14627
+ extraElementCommands: NonNullable<ViewerCustomization['contextMenu']>['extraElementCommands'];
14628
+ extraCanvasCommands: NonNullable<ViewerCustomization['contextMenu']>['extraCanvasCommands'];
14604
14629
  hiddenCanvasCommands: ReadonlySet<CanvasContextMenuCommandId>;
14605
14630
  hiddenEditPointsCommands: ReadonlySet<EditPointsCommandId>;
14606
14631
  hiddenDrawingTools: ReadonlySet<ViewerDrawingToolId>;
@@ -14663,6 +14688,29 @@ interface ViewerCustomizationApi {
14663
14688
  setDialogAvailable(dialog: ViewerDialogId, available: boolean): void;
14664
14689
  }
14665
14690
  //#endregion
14691
+ //#region src/render/ribbon-command-view.d.ts
14692
+ /** A host supplies translated labels and controlled state; shared owns markup. */
14693
+ interface RibbonCommandView {
14694
+ id: RibbonControlId;
14695
+ label: string;
14696
+ icon: string;
14697
+ title?: string;
14698
+ disabled?: boolean;
14699
+ active?: boolean;
14700
+ pressed?: boolean;
14701
+ expanded?: boolean;
14702
+ hidden?: boolean;
14703
+ compact?: boolean;
14704
+ badge?: number;
14705
+ /** Commands with the same column share a vertical stack. */
14706
+ column?: number;
14707
+ }
14708
+ interface RibbonGroupView {
14709
+ id: RibbonGroupId;
14710
+ label: string;
14711
+ commands: readonly RibbonCommandView[];
14712
+ }
14713
+ //#endregion
14666
14714
  //#region src/render/p14-transition-keyframes.d.ts
14667
14715
  /** Part 1: conveyor / doors / ferris / flash / flythrough / gallery / glitter / honeycomb / pan. */
14668
14716
  declare const P14_TRANSITION_KEYFRAMES = "\n/* ── Conveyor (translate X with staggered timing) ──────────────────── */\n@keyframes pptx-tr-conveyor-in-from-right {\n\tfrom { transform: translateX(100%) rotateY(-30deg); }\n\t60% { transform: translateX(20%) rotateY(-10deg); }\n\tto { transform: translateX(0) rotateY(0deg); }\n}\n@keyframes pptx-tr-conveyor-out-to-left {\n\tfrom { transform: translateX(0) rotateY(0deg); }\n\t40% { transform: translateX(-20%) rotateY(10deg); }\n\tto { transform: translateX(-100%) rotateY(30deg); }\n}\n@keyframes pptx-tr-conveyor-in-from-left {\n\tfrom { transform: translateX(-100%) rotateY(30deg); }\n\t60% { transform: translateX(-20%) rotateY(10deg); }\n\tto { transform: translateX(0) rotateY(0deg); }\n}\n@keyframes pptx-tr-conveyor-out-to-right {\n\tfrom { transform: translateX(0) rotateY(0deg); }\n\t40% { transform: translateX(20%) rotateY(-10deg); }\n\tto { transform: translateX(100%) rotateY(-30deg); }\n}\n\n/* ── Doors (clip-path from center split) ──────────────────────────────\n MEASURED via COM CreateVideo: PowerPoint's `dir=\"horz\"` names a\n HORIZONTAL split line (two panels stacked top/bottom, opening upward and\n downward), and `dir=\"vert\"` a VERTICAL split line (panels side by side,\n opening left and right) - the opposite of what \"clips left/right\" vs\n \"clips top/bottom\" would suggest at a glance. Keep the clip-path bodies\n matched to the MEASURED direction, not the intuitive one. */\n@keyframes pptx-tr-doors-horz {\n\tfrom { clip-path: inset(50% 0); }\n\tto { clip-path: inset(0 0); }\n}\n@keyframes pptx-tr-doors-vert {\n\tfrom { clip-path: inset(0 50%); }\n\tto { clip-path: inset(0 0); }\n}\n\n/* ── Ferris (rotate elements around center) ───────────────────────── */\n@keyframes pptx-tr-ferris-in-from-right {\n\tfrom { transform: translateX(80%) rotate(45deg) scale(0.6); opacity: 0; }\n\tto { transform: translateX(0) rotate(0deg) scale(1); opacity: 1; }\n}\n@keyframes pptx-tr-ferris-out-to-left {\n\tfrom { transform: translateX(0) rotate(0deg) scale(1); opacity: 1; }\n\tto { transform: translateX(-80%) rotate(-45deg) scale(0.6); opacity: 0; }\n}\n@keyframes pptx-tr-ferris-in-from-left {\n\tfrom { transform: translateX(-80%) rotate(-45deg) scale(0.6); opacity: 0; }\n\tto { transform: translateX(0) rotate(0deg) scale(1); opacity: 1; }\n}\n@keyframes pptx-tr-ferris-out-to-right {\n\tfrom { transform: translateX(0) rotate(0deg) scale(1); opacity: 1; }\n\tto { transform: translateX(80%) rotate(45deg) scale(0.6); opacity: 0; }\n}\n\n/* ── Flash (bright flash opacity burst) ──────────────────────────── */\n@keyframes pptx-tr-flash-white {\n\t0% { opacity: 1; }\n\t30% { opacity: 0; }\n\t50% { opacity: 0; }\n\t100% { opacity: 1; }\n}\n@keyframes pptx-tr-flash-in {\n\t0% { opacity: 0; }\n\t50% { opacity: 0; }\n\t70% { opacity: 1; }\n\t100% { opacity: 1; }\n}\n\n/* ── Flythrough (scale + translate Z-axis feel) ──────────────────── */\n@keyframes pptx-tr-flythrough-in {\n\tfrom { transform: scale(4) translateZ(200px); opacity: 0; filter: blur(8px); }\n\tto { transform: scale(1) translateZ(0); opacity: 1; filter: blur(0); }\n}\n@keyframes pptx-tr-flythrough-out {\n\tfrom { transform: scale(1) translateZ(0); opacity: 1; filter: blur(0); }\n\tto { transform: scale(0.1) translateZ(-200px); opacity: 0; filter: blur(8px); }\n}\n@keyframes pptx-tr-flythrough-reverse-in {\n\tfrom { transform: scale(0.1) translateZ(-200px); opacity: 0; filter: blur(8px); }\n\tto { transform: scale(1) translateZ(0); opacity: 1; filter: blur(0); }\n}\n@keyframes pptx-tr-flythrough-reverse-out {\n\tfrom { transform: scale(1) translateZ(0); opacity: 1; filter: blur(0); }\n\tto { transform: scale(4) translateZ(200px); opacity: 0; filter: blur(8px); }\n}\n\n/* ── Gallery (translate with perspective) ─────────────────────────── */\n@keyframes pptx-tr-gallery-in-from-right {\n\tfrom { transform: perspective(800px) translateX(100%) rotateY(-45deg); opacity: 0.5; }\n\tto { transform: perspective(800px) translateX(0) rotateY(0deg); opacity: 1; }\n}\n@keyframes pptx-tr-gallery-out-to-left {\n\tfrom { transform: perspective(800px) translateX(0) rotateY(0deg); opacity: 1; }\n\tto { transform: perspective(800px) translateX(-100%) rotateY(45deg); opacity: 0.5; }\n}\n@keyframes pptx-tr-gallery-in-from-left {\n\tfrom { transform: perspective(800px) translateX(-100%) rotateY(45deg); opacity: 0.5; }\n\tto { transform: perspective(800px) translateX(0) rotateY(0deg); opacity: 1; }\n}\n@keyframes pptx-tr-gallery-out-to-right {\n\tfrom { transform: perspective(800px) translateX(0) rotateY(0deg); opacity: 1; }\n\tto { transform: perspective(800px) translateX(100%) rotateY(-45deg); opacity: 0.5; }\n}\n\n/* ── Glitter (particle dissolve effect) ──────────────────────────── */\n@keyframes pptx-tr-glitter-in {\n\tfrom { opacity: 0; filter: brightness(1.5) contrast(1.3) blur(2px); }\n\t60% { opacity: 0.7; filter: brightness(1.2) contrast(1.1) blur(1px); }\n\tto { opacity: 1; filter: brightness(1) contrast(1) blur(0); }\n}\n\n/* ── Honeycomb (hexagonal reveal) ────────────────────────────────── */\n@keyframes pptx-tr-honeycomb-in {\n\tfrom {\n\t\tclip-path: polygon(50% 50%, 50% 50%, 50% 50%, 50% 50%, 50% 50%, 50% 50%);\n\t\topacity: 0;\n\t}\n\tto {\n\t\tclip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);\n\t\topacity: 1;\n\t}\n}\n@keyframes pptx-tr-honeycomb-out {\n\tfrom { opacity: 1; }\n\tto { opacity: 0; filter: blur(2px); }\n}\n\n/* ── Pan (large-scale translate) ─────────────────────────────────── */\n@keyframes pptx-tr-pan-from-right {\n\tfrom { transform: translateX(100%); }\n\tto { transform: translateX(0); }\n}\n@keyframes pptx-tr-pan-to-left {\n\tfrom { transform: translateX(0); }\n\tto { transform: translateX(-100%); }\n}\n@keyframes pptx-tr-pan-from-left {\n\tfrom { transform: translateX(-100%); }\n\tto { transform: translateX(0); }\n}\n@keyframes pptx-tr-pan-to-right {\n\tfrom { transform: translateX(0); }\n\tto { transform: translateX(100%); }\n}\n@keyframes pptx-tr-pan-from-bottom {\n\tfrom { transform: translateY(100%); }\n\tto { transform: translateY(0); }\n}\n@keyframes pptx-tr-pan-to-top {\n\tfrom { transform: translateY(0); }\n\tto { transform: translateY(-100%); }\n}\n@keyframes pptx-tr-pan-from-top {\n\tfrom { transform: translateY(-100%); }\n\tto { transform: translateY(0); }\n}\n@keyframes pptx-tr-pan-to-bottom {\n\tfrom { transform: translateY(0); }\n\tto { transform: translateY(100%); }\n}\n";
@@ -15073,6 +15121,57 @@ interface SubtitleSettingsLabels {
15073
15121
  apply: string;
15074
15122
  cancel: string;
15075
15123
  }
15124
+ //#endregion
15125
+ //#region src/render/ribbon-galleries/gallery-types.d.ts
15126
+ /** Every gallery the ribbon offers. */
15127
+ type RibbonGalleryId = 'shapeStyles' | 'shapeEffects' | 'wordArtStyles' | 'pictureStyles' | 'pictureCorrections' | 'pictureColor' | 'pictureArtisticEffects' | 'bullets' | 'numbering' | 'tableStyles' | 'chartStyles' | 'chartColors' | 'chartQuickLayout' | 'smartArtStyles' | 'smartArtColors' | 'themeColors' | 'themeFonts';
15128
+ /** One tile. */
15129
+ interface RibbonGalleryItem {
15130
+ /** Stable within its gallery; what `applyRibbonGalleryItem` takes. */
15131
+ id: string;
15132
+ /** i18n key of the tile's accessible name / tooltip. */
15133
+ labelKey: string;
15134
+ /** `{{name}}` interpolation values for `labelKey`. */
15135
+ labelParams?: Readonly<Record<string, string | number>>;
15136
+ /** English fallback for bindings whose dictionary lacks `labelKey`. */
15137
+ label: string;
15138
+ /**
15139
+ * A complete, self-contained `<svg>` element (width/height/viewBox set).
15140
+ * Built only from catalogue data and theme colours, never from user text,
15141
+ * so it is safe to inject as markup.
15142
+ */
15143
+ previewSvg: string;
15144
+ /**
15145
+ * CSS `filter` the tile's preview carries (the Picture Adjust galleries),
15146
+ * for a host that draws the thumbnail over a real image instead of
15147
+ * `previewSvg`. Omitted when the preset has no CSS-expressible preview.
15148
+ */
15149
+ previewFilter?: string;
15150
+ /** True when this entry is what the selection currently carries. */
15151
+ applied: boolean;
15152
+ }
15153
+ /** A titled block of tiles (PowerPoint's "Theme Styles" / "Presets"). */
15154
+ interface RibbonGallerySection {
15155
+ id: string;
15156
+ /** i18n key of the section heading; omitted for an untitled section. */
15157
+ titleKey?: string;
15158
+ title?: string;
15159
+ /** Tiles per row in the dropped-down grid. */
15160
+ columns: number;
15161
+ /** Preview tile size in CSS px (the SVG's own width/height). */
15162
+ tileWidth: number;
15163
+ tileHeight: number;
15164
+ items: RibbonGalleryItem[];
15165
+ }
15166
+ interface RibbonGalleryDescriptor {
15167
+ id: RibbonGalleryId;
15168
+ /** i18n key of the gallery trigger / group caption. */
15169
+ labelKey: string;
15170
+ label: string;
15171
+ sections: RibbonGallerySection[];
15172
+ /** True when the selection cannot take this gallery (trigger disabled). */
15173
+ disabled: boolean;
15174
+ }
15076
15175
  type ReadOnlyRecommendationKind = 'modifyVerifier' | 'markedFinal' | null;
15077
15176
  interface ReadOnlyRecommendation {
15078
15177
  readonly kind: ReadOnlyRecommendationKind;
@@ -15175,6 +15274,53 @@ interface CropSession {
15175
15274
  absentInsets: readonly (keyof CropInsets)[];
15176
15275
  }
15177
15276
  //#endregion
15277
+ //#region src/render/theme-editor-model.d.ts
15278
+ interface ThemeEditorEdit {
15279
+ name: string;
15280
+ colorScheme: PptxThemeColorScheme;
15281
+ fontScheme: PptxThemeFontScheme;
15282
+ }
15283
+ type ThemeEditorLabels = Record<string, string>;
15284
+ //#endregion
15285
+ //#region src/web-components/theme-editor.d.ts
15286
+ interface PptxUiThemeEditorElement extends HTMLElement {
15287
+ theme: PptxTheme | undefined;
15288
+ labels: ThemeEditorLabels;
15289
+ disabled: boolean;
15290
+ }
15291
+ declare global {
15292
+ interface HTMLElementTagNameMap {
15293
+ 'pptx-ui-theme-editor': PptxUiThemeEditorElement;
15294
+ }
15295
+ }
15296
+ //#endregion
15297
+ //#region src/web-components/ribbon-section.d.ts
15298
+ interface PptxUiRibbonSectionElement extends HTMLElement {
15299
+ groups: readonly RibbonGroupView[];
15300
+ }
15301
+ declare global {
15302
+ interface HTMLElementTagNameMap {
15303
+ 'pptx-ui-ribbon-section': PptxUiRibbonSectionElement;
15304
+ }
15305
+ }
15306
+ //#endregion
15307
+ //#region src/web-components/ribbon-gallery-view.d.ts
15308
+ type GalleryTranslate = (key: string, params?: Readonly<Record<string, string | number>>) => string;
15309
+ interface PptxUiRibbonGalleryElement extends HTMLElement {
15310
+ readonly trigger: HTMLButtonElement;
15311
+ readonly popup: HTMLElement;
15312
+ descriptor: RibbonGalleryDescriptor | undefined;
15313
+ translateLabel: GalleryTranslate;
15314
+ disabled: boolean;
15315
+ open: boolean;
15316
+ close(): void;
15317
+ }
15318
+ declare global {
15319
+ interface HTMLElementTagNameMap {
15320
+ 'pptx-ui-ribbon-gallery': PptxUiRibbonGalleryElement;
15321
+ }
15322
+ }
15323
+ //#endregion
15178
15324
  //#region src/web-components/subtitle-settings.d.ts
15179
15325
  interface PptxUiSubtitleSettingsElement extends HTMLElement {
15180
15326
  settings: SubtitleSettings;
@@ -18345,6 +18491,7 @@ interface UseThemeHandlersInput {
18345
18491
  bumpHistory: () => void;
18346
18492
  }
18347
18493
  interface ThemeHandlersResult {
18494
+ handleApplyThemeEdit: (edit: ThemeEditorEdit) => Promise<void>;
18348
18495
  handleApplyTheme: (themePath: string, applyToAllMasters: boolean) => Promise<void>;
18349
18496
  handleUpdateThemeColorScheme: (colorScheme: PptxThemeColorScheme) => Promise<void>;
18350
18497
  handleUpdateThemeFontScheme: (fontScheme: PptxThemeFontScheme) => Promise<void>;