pptx-react-viewer 3.0.4 → 3.1.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 (155) hide show
  1. package/CHANGELOG.md +63 -0
  2. package/dist/{AiChatPanel-E4V3FYLR.js → AiChatPanel-6PERJN7M.js} +24 -24
  3. package/dist/AiChatPanel-6PERJN7M.js.br +0 -0
  4. package/dist/AiChatPanel-6PERJN7M.js.gz +0 -0
  5. package/dist/{AiChatPanel-GSTUOESI.mjs → AiChatPanel-EIENGCKW.mjs} +4 -4
  6. package/dist/AiChatPanel-EIENGCKW.mjs.br +0 -0
  7. package/dist/AiChatPanel-EIENGCKW.mjs.gz +0 -0
  8. package/dist/Area3DChartScene-TXCLQLBQ.js +47 -0
  9. package/dist/Area3DChartScene-TXCLQLBQ.js.br +0 -0
  10. package/dist/Area3DChartScene-TXCLQLBQ.js.gz +0 -0
  11. package/dist/Area3DChartScene-W6SVC235.mjs +45 -0
  12. package/dist/Area3DChartScene-W6SVC235.mjs.br +0 -0
  13. package/dist/Area3DChartScene-W6SVC235.mjs.gz +0 -0
  14. package/dist/Bar3DChartScene-6RHPFLZT.js +47 -0
  15. package/dist/Bar3DChartScene-6RHPFLZT.js.br +0 -0
  16. package/dist/Bar3DChartScene-6RHPFLZT.js.gz +0 -0
  17. package/dist/Bar3DChartScene-FCVUZIJ3.mjs +45 -0
  18. package/dist/Bar3DChartScene-FCVUZIJ3.mjs.br +0 -0
  19. package/dist/Bar3DChartScene-FCVUZIJ3.mjs.gz +0 -0
  20. package/dist/Line3DChartScene-2ZFE53KO.js +47 -0
  21. package/dist/Line3DChartScene-2ZFE53KO.js.br +0 -0
  22. package/dist/Line3DChartScene-2ZFE53KO.js.gz +0 -0
  23. package/dist/Line3DChartScene-MJXFXSPW.mjs +45 -0
  24. package/dist/Line3DChartScene-MJXFXSPW.mjs.br +0 -0
  25. package/dist/Line3DChartScene-MJXFXSPW.mjs.gz +0 -0
  26. package/dist/{Model3DScene-45JR5NXN.js → Model3DScene-7VQNRY5B.js} +2 -2
  27. package/dist/Model3DScene-7VQNRY5B.js.br +0 -0
  28. package/dist/Model3DScene-7VQNRY5B.js.gz +0 -0
  29. package/dist/{Model3DScene-634CXE46.mjs → Model3DScene-A5RV3KNJ.mjs} +1 -1
  30. package/dist/Model3DScene-A5RV3KNJ.mjs.br +0 -0
  31. package/dist/Model3DScene-A5RV3KNJ.mjs.gz +0 -0
  32. package/dist/PieChart3DScene-JTHZESS3.js +47 -0
  33. package/dist/PieChart3DScene-JTHZESS3.js.br +0 -0
  34. package/dist/PieChart3DScene-JTHZESS3.js.gz +0 -0
  35. package/dist/PieChart3DScene-UEVFZZVW.mjs +45 -0
  36. package/dist/PieChart3DScene-UEVFZZVW.mjs.br +0 -0
  37. package/dist/PieChart3DScene-UEVFZZVW.mjs.gz +0 -0
  38. package/dist/{PowerPointViewer-SkkxAGKa.d.ts → PowerPointViewer-Cl6jBPNw.d.ts} +2 -2
  39. package/dist/PowerPointViewer-Cl6jBPNw.d.ts.map +1 -0
  40. package/dist/{SurfaceChart3DScene-BBQFOGVR.js → SurfaceChart3DScene-FXUNT5OK.js} +2 -2
  41. package/dist/SurfaceChart3DScene-FXUNT5OK.js.br +0 -0
  42. package/dist/SurfaceChart3DScene-FXUNT5OK.js.gz +0 -0
  43. package/dist/{SurfaceChart3DScene-OBVXGXSD.mjs → SurfaceChart3DScene-WD65PAG4.mjs} +1 -1
  44. package/dist/SurfaceChart3DScene-WD65PAG4.mjs.br +0 -0
  45. package/dist/SurfaceChart3DScene-WD65PAG4.mjs.gz +0 -0
  46. package/dist/{audience-content-store-Bx4Yj2pN.d.ts → audience-content-store-bR7Gs_1S.d.ts} +2 -2
  47. package/dist/{audience-content-store-Bx4Yj2pN.d.ts.map → audience-content-store-bR7Gs_1S.d.ts.map} +1 -1
  48. package/dist/{chunk-J4KXCPQ3.mjs → chunk-5ERW2B25.mjs} +1 -1
  49. package/dist/chunk-5ERW2B25.mjs.br +0 -0
  50. package/dist/chunk-5ERW2B25.mjs.gz +0 -0
  51. package/dist/{chunk-Z4F5BCQB.js → chunk-GCE2TYHF.js} +170 -169
  52. package/dist/chunk-GCE2TYHF.js.br +0 -0
  53. package/dist/chunk-GCE2TYHF.js.gz +0 -0
  54. package/dist/{chunk-AX4JM6TW.js → chunk-GIFQWIW5.js} +2535 -1959
  55. package/dist/chunk-GIFQWIW5.js.br +0 -0
  56. package/dist/chunk-GIFQWIW5.js.gz +0 -0
  57. package/dist/{chunk-NPA3EBET.mjs → chunk-ICAYXQVJ.mjs} +720 -144
  58. package/dist/chunk-ICAYXQVJ.mjs.br +0 -0
  59. package/dist/chunk-ICAYXQVJ.mjs.gz +0 -0
  60. package/dist/{chunk-7HPI5HBA.js → chunk-IDTNKL4S.js} +6201 -2447
  61. package/dist/chunk-IDTNKL4S.js.br +0 -0
  62. package/dist/chunk-IDTNKL4S.js.gz +0 -0
  63. package/dist/{chunk-V7ZLEZ5W.mjs → chunk-ISDTM2V3.mjs} +6172 -2447
  64. package/dist/chunk-ISDTM2V3.mjs.br +0 -0
  65. package/dist/chunk-ISDTM2V3.mjs.gz +0 -0
  66. package/dist/{chunk-ROWGR6GY.mjs → chunk-MAOUVROK.mjs} +3 -3
  67. package/dist/chunk-MAOUVROK.mjs.br +0 -0
  68. package/dist/chunk-MAOUVROK.mjs.gz +0 -0
  69. package/dist/{chunk-L5MNLIQF.mjs → chunk-MKPSUHUH.mjs} +25 -0
  70. package/dist/chunk-MKPSUHUH.mjs.br +0 -0
  71. package/dist/chunk-MKPSUHUH.mjs.gz +0 -0
  72. package/dist/{chunk-XURJHY6K.js → chunk-OTBQBTTQ.js} +391 -391
  73. package/dist/chunk-OTBQBTTQ.js.br +0 -0
  74. package/dist/chunk-OTBQBTTQ.js.gz +0 -0
  75. package/dist/{chunk-6ILXI752.mjs → chunk-OUX4O5XK.mjs} +17 -16
  76. package/dist/chunk-OUX4O5XK.mjs.br +0 -0
  77. package/dist/chunk-OUX4O5XK.mjs.gz +0 -0
  78. package/dist/{chunk-5IYGA2HX.js → chunk-OZGFMZEX.js} +3 -3
  79. package/dist/chunk-OZGFMZEX.js.br +0 -0
  80. package/dist/chunk-OZGFMZEX.js.gz +0 -0
  81. package/dist/{chunk-U6A5FWWE.js → chunk-PIUB7R2K.js} +25 -0
  82. package/dist/chunk-PIUB7R2K.js.br +0 -0
  83. package/dist/chunk-PIUB7R2K.js.gz +0 -0
  84. package/dist/i18n.js +4 -4
  85. package/dist/i18n.js.br +0 -0
  86. package/dist/i18n.js.gz +0 -0
  87. package/dist/i18n.mjs +1 -1
  88. package/dist/i18n.mjs.br +0 -0
  89. package/dist/i18n.mjs.gz +0 -0
  90. package/dist/index.d.ts +202 -9
  91. package/dist/index.js +47 -47
  92. package/dist/index.js.br +0 -0
  93. package/dist/index.js.gz +0 -0
  94. package/dist/index.mjs +6 -6
  95. package/dist/index.mjs.br +0 -0
  96. package/dist/index.mjs.gz +0 -0
  97. package/dist/internals.d.ts +159 -9
  98. package/dist/internals.js +79 -79
  99. package/dist/internals.js.br +0 -0
  100. package/dist/internals.js.gz +0 -0
  101. package/dist/internals.mjs +4 -4
  102. package/dist/internals.mjs.br +0 -0
  103. package/dist/internals.mjs.gz +0 -0
  104. package/dist/pptx-viewer.css +1 -1
  105. package/dist/pptx-viewer.css.br +0 -0
  106. package/dist/pptx-viewer.css.gz +0 -0
  107. package/dist/{types-kLpvSPxq.d.ts → types-Bzdkiakq.d.ts} +44 -1
  108. package/dist/{types-kLpvSPxq.d.ts.map → types-Bzdkiakq.d.ts.map} +1 -1
  109. package/dist/{useViewerBuildingBlocks-fh7rq4jc.d.ts → useViewerBuildingBlocks-DC1O_op4.d.ts} +2 -2
  110. package/dist/{useViewerBuildingBlocks-fh7rq4jc.d.ts.map → useViewerBuildingBlocks-DC1O_op4.d.ts.map} +1 -1
  111. package/dist/viewer/index.d.ts +196 -6
  112. package/dist/viewer/index.js +27 -27
  113. package/dist/viewer/index.js.br +0 -0
  114. package/dist/viewer/index.js.gz +0 -0
  115. package/dist/viewer/index.mjs +6 -6
  116. package/dist/viewer/index.mjs.br +0 -0
  117. package/dist/viewer/index.mjs.gz +0 -0
  118. package/package.json +2 -2
  119. package/dist/AiChatPanel-E4V3FYLR.js.br +0 -0
  120. package/dist/AiChatPanel-E4V3FYLR.js.gz +0 -0
  121. package/dist/AiChatPanel-GSTUOESI.mjs.br +0 -0
  122. package/dist/AiChatPanel-GSTUOESI.mjs.gz +0 -0
  123. package/dist/Model3DScene-45JR5NXN.js.br +0 -0
  124. package/dist/Model3DScene-45JR5NXN.js.gz +0 -0
  125. package/dist/Model3DScene-634CXE46.mjs.br +0 -0
  126. package/dist/Model3DScene-634CXE46.mjs.gz +0 -0
  127. package/dist/PowerPointViewer-SkkxAGKa.d.ts.map +0 -1
  128. package/dist/SurfaceChart3DScene-BBQFOGVR.js.br +0 -0
  129. package/dist/SurfaceChart3DScene-BBQFOGVR.js.gz +0 -0
  130. package/dist/SurfaceChart3DScene-OBVXGXSD.mjs.br +0 -0
  131. package/dist/SurfaceChart3DScene-OBVXGXSD.mjs.gz +0 -0
  132. package/dist/chunk-5IYGA2HX.js.br +0 -0
  133. package/dist/chunk-5IYGA2HX.js.gz +0 -0
  134. package/dist/chunk-6ILXI752.mjs.br +0 -0
  135. package/dist/chunk-6ILXI752.mjs.gz +0 -0
  136. package/dist/chunk-7HPI5HBA.js.br +0 -0
  137. package/dist/chunk-7HPI5HBA.js.gz +0 -0
  138. package/dist/chunk-AX4JM6TW.js.br +0 -0
  139. package/dist/chunk-AX4JM6TW.js.gz +0 -0
  140. package/dist/chunk-J4KXCPQ3.mjs.br +0 -0
  141. package/dist/chunk-J4KXCPQ3.mjs.gz +0 -0
  142. package/dist/chunk-L5MNLIQF.mjs.br +0 -0
  143. package/dist/chunk-L5MNLIQF.mjs.gz +0 -0
  144. package/dist/chunk-NPA3EBET.mjs.br +0 -0
  145. package/dist/chunk-NPA3EBET.mjs.gz +0 -0
  146. package/dist/chunk-ROWGR6GY.mjs.br +0 -0
  147. package/dist/chunk-ROWGR6GY.mjs.gz +0 -0
  148. package/dist/chunk-U6A5FWWE.js.br +0 -0
  149. package/dist/chunk-U6A5FWWE.js.gz +0 -0
  150. package/dist/chunk-V7ZLEZ5W.mjs.br +0 -0
  151. package/dist/chunk-V7ZLEZ5W.mjs.gz +0 -0
  152. package/dist/chunk-XURJHY6K.js.br +0 -0
  153. package/dist/chunk-XURJHY6K.js.gz +0 -0
  154. package/dist/chunk-Z4F5BCQB.js.br +0 -0
  155. package/dist/chunk-Z4F5BCQB.js.gz +0 -0
package/dist/index.js CHANGED
@@ -1,176 +1,176 @@
1
1
  'use strict';
2
2
 
3
- var chunkAX4JM6TW_js = require('./chunk-AX4JM6TW.js');
4
- require('./chunk-5IYGA2HX.js');
5
- var chunkXURJHY6K_js = require('./chunk-XURJHY6K.js');
6
- var chunkZ4F5BCQB_js = require('./chunk-Z4F5BCQB.js');
7
- var chunkU6A5FWWE_js = require('./chunk-U6A5FWWE.js');
8
- var chunk7HPI5HBA_js = require('./chunk-7HPI5HBA.js');
3
+ var chunkGIFQWIW5_js = require('./chunk-GIFQWIW5.js');
4
+ require('./chunk-OZGFMZEX.js');
5
+ var chunkOTBQBTTQ_js = require('./chunk-OTBQBTTQ.js');
6
+ var chunkGCE2TYHF_js = require('./chunk-GCE2TYHF.js');
7
+ var chunkPIUB7R2K_js = require('./chunk-PIUB7R2K.js');
8
+ var chunkIDTNKL4S_js = require('./chunk-IDTNKL4S.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 chunkAX4JM6TW_js.PowerPointViewer; }
15
+ get: function () { return chunkGIFQWIW5_js.PowerPointViewer; }
16
16
  });
17
17
  Object.defineProperty(exports, "SlideCanvas", {
18
18
  enumerable: true,
19
- get: function () { return chunkAX4JM6TW_js.SlideCanvas; }
19
+ get: function () { return chunkGIFQWIW5_js.SlideCanvas; }
20
20
  });
21
21
  Object.defineProperty(exports, "SlideTemplateGalleryDialog", {
22
22
  enumerable: true,
23
- get: function () { return chunkAX4JM6TW_js.SlideTemplateGalleryDialog; }
23
+ get: function () { return chunkGIFQWIW5_js.SlideTemplateGalleryDialog; }
24
24
  });
25
25
  Object.defineProperty(exports, "SlideTemplatePreview", {
26
26
  enumerable: true,
27
- get: function () { return chunkAX4JM6TW_js.SlideTemplatePreview; }
27
+ get: function () { return chunkGIFQWIW5_js.SlideTemplatePreview; }
28
28
  });
29
29
  Object.defineProperty(exports, "Toolbar", {
30
30
  enumerable: true,
31
- get: function () { return chunkAX4JM6TW_js.Toolbar; }
31
+ get: function () { return chunkGIFQWIW5_js.Toolbar; }
32
32
  });
33
33
  Object.defineProperty(exports, "ViewerThemeProvider", {
34
34
  enumerable: true,
35
- get: function () { return chunkAX4JM6TW_js.ViewerThemeProvider; }
35
+ get: function () { return chunkGIFQWIW5_js.ViewerThemeProvider; }
36
36
  });
37
37
  Object.defineProperty(exports, "useViewerTheme", {
38
38
  enumerable: true,
39
- get: function () { return chunkAX4JM6TW_js.useViewerTheme; }
39
+ get: function () { return chunkGIFQWIW5_js.useViewerTheme; }
40
40
  });
41
41
  Object.defineProperty(exports, "renderToCanvas", {
42
42
  enumerable: true,
43
- get: function () { return chunkXURJHY6K_js.renderToCanvas; }
43
+ get: function () { return chunkOTBQBTTQ_js.renderToCanvas; }
44
44
  });
45
45
  Object.defineProperty(exports, "useViewerBuildingBlocks", {
46
46
  enumerable: true,
47
- get: function () { return chunkXURJHY6K_js.useViewerBuildingBlocks; }
47
+ get: function () { return chunkOTBQBTTQ_js.useViewerBuildingBlocks; }
48
48
  });
49
49
  Object.defineProperty(exports, "getAnimationInitialStyle", {
50
50
  enumerable: true,
51
- get: function () { return chunkZ4F5BCQB_js.getAnimationInitialStyle; }
51
+ get: function () { return chunkGCE2TYHF_js.getAnimationInitialStyle; }
52
52
  });
53
53
  Object.defineProperty(exports, "LOCALE_CATALOG", {
54
54
  enumerable: true,
55
- get: function () { return chunkU6A5FWWE_js.LOCALE_CATALOG; }
55
+ get: function () { return chunkPIUB7R2K_js.LOCALE_CATALOG; }
56
56
  });
57
57
  Object.defineProperty(exports, "AVATAR_COLOR_SWATCHES", {
58
58
  enumerable: true,
59
- get: function () { return chunk7HPI5HBA_js.AVATAR_COLOR_SWATCHES; }
59
+ get: function () { return chunkIDTNKL4S_js.AVATAR_COLOR_SWATCHES; }
60
60
  });
61
61
  Object.defineProperty(exports, "DEFAULT_VIEWER_PROFILE", {
62
62
  enumerable: true,
63
- get: function () { return chunk7HPI5HBA_js.DEFAULT_VIEWER_PROFILE; }
63
+ get: function () { return chunkIDTNKL4S_js.DEFAULT_VIEWER_PROFILE; }
64
64
  });
65
65
  Object.defineProperty(exports, "PPTX_OPEN_ACCEPT", {
66
66
  enumerable: true,
67
- get: function () { return chunk7HPI5HBA_js.PPTX_OPEN_ACCEPT; }
67
+ get: function () { return chunkIDTNKL4S_js.PPTX_OPEN_ACCEPT; }
68
68
  });
69
69
  Object.defineProperty(exports, "PRESENTATION_OPEN_EXTENSIONS", {
70
70
  enumerable: true,
71
- get: function () { return chunk7HPI5HBA_js.PRESENTATION_OPEN_EXTENSIONS; }
71
+ get: function () { return chunkIDTNKL4S_js.PRESENTATION_OPEN_EXTENSIONS; }
72
72
  });
73
73
  Object.defineProperty(exports, "SLIDE_TEMPLATES", {
74
74
  enumerable: true,
75
- get: function () { return chunk7HPI5HBA_js.SLIDE_TEMPLATES; }
75
+ get: function () { return chunkIDTNKL4S_js.SLIDE_TEMPLATES; }
76
76
  });
77
77
  Object.defineProperty(exports, "THEME_CATALOG", {
78
78
  enumerable: true,
79
- get: function () { return chunk7HPI5HBA_js.THEME_CATALOG; }
79
+ get: function () { return chunkIDTNKL4S_js.THEME_CATALOG; }
80
80
  });
81
81
  Object.defineProperty(exports, "VIEWER_PREFS_STORAGE_KEY", {
82
82
  enumerable: true,
83
- get: function () { return chunk7HPI5HBA_js.VIEWER_PREFS_STORAGE_KEY; }
83
+ get: function () { return chunkIDTNKL4S_js.VIEWER_PREFS_STORAGE_KEY; }
84
84
  });
85
85
  Object.defineProperty(exports, "buildSlideTemplateContent", {
86
86
  enumerable: true,
87
- get: function () { return chunk7HPI5HBA_js.buildSlideTemplateContent; }
87
+ get: function () { return chunkIDTNKL4S_js.buildSlideTemplateContent; }
88
88
  });
89
89
  Object.defineProperty(exports, "buildSlideTemplateSlide", {
90
90
  enumerable: true,
91
- get: function () { return chunk7HPI5HBA_js.buildSlideTemplateSlide; }
91
+ get: function () { return chunkIDTNKL4S_js.buildSlideTemplateSlide; }
92
92
  });
93
93
  Object.defineProperty(exports, "clearAllLocalViewerData", {
94
94
  enumerable: true,
95
- get: function () { return chunk7HPI5HBA_js.clearAllLocalViewerData; }
95
+ get: function () { return chunkIDTNKL4S_js.clearAllLocalViewerData; }
96
96
  });
97
97
  Object.defineProperty(exports, "clearStoredViewerPrefs", {
98
98
  enumerable: true,
99
- get: function () { return chunk7HPI5HBA_js.clearStoredViewerPrefs; }
99
+ get: function () { return chunkIDTNKL4S_js.clearStoredViewerPrefs; }
100
100
  });
101
101
  Object.defineProperty(exports, "defaultCssVars", {
102
102
  enumerable: true,
103
- get: function () { return chunk7HPI5HBA_js.defaultCssVars; }
103
+ get: function () { return chunkIDTNKL4S_js.defaultCssVars; }
104
104
  });
105
105
  Object.defineProperty(exports, "defaultRadius", {
106
106
  enumerable: true,
107
- get: function () { return chunk7HPI5HBA_js.defaultRadius; }
107
+ get: function () { return chunkIDTNKL4S_js.defaultRadius; }
108
108
  });
109
109
  Object.defineProperty(exports, "defaultThemeColors", {
110
110
  enumerable: true,
111
- get: function () { return chunk7HPI5HBA_js.defaultThemeColors; }
111
+ get: function () { return chunkIDTNKL4S_js.defaultThemeColors; }
112
112
  });
113
113
  Object.defineProperty(exports, "getLocalStorageUsageSummary", {
114
114
  enumerable: true,
115
- get: function () { return chunk7HPI5HBA_js.getLocalStorageUsageSummary; }
115
+ get: function () { return chunkIDTNKL4S_js.getLocalStorageUsageSummary; }
116
116
  });
117
117
  Object.defineProperty(exports, "isLegacyBinaryPresentation", {
118
118
  enumerable: true,
119
- get: function () { return chunk7HPI5HBA_js.isLegacyBinaryPresentation; }
119
+ get: function () { return chunkIDTNKL4S_js.isLegacyBinaryPresentation; }
120
120
  });
121
121
  Object.defineProperty(exports, "isSupportedPresentationFile", {
122
122
  enumerable: true,
123
- get: function () { return chunk7HPI5HBA_js.isSupportedPresentationFile; }
123
+ get: function () { return chunkIDTNKL4S_js.isSupportedPresentationFile; }
124
124
  });
125
125
  Object.defineProperty(exports, "presentationBaseName", {
126
126
  enumerable: true,
127
- get: function () { return chunk7HPI5HBA_js.presentationBaseName; }
127
+ get: function () { return chunkIDTNKL4S_js.presentationBaseName; }
128
128
  });
129
129
  Object.defineProperty(exports, "readStoredViewerPrefs", {
130
130
  enumerable: true,
131
- get: function () { return chunk7HPI5HBA_js.readStoredViewerPrefs; }
131
+ get: function () { return chunkIDTNKL4S_js.readStoredViewerPrefs; }
132
132
  });
133
133
  Object.defineProperty(exports, "resolveProfileInitial", {
134
134
  enumerable: true,
135
- get: function () { return chunk7HPI5HBA_js.resolveProfileInitial; }
135
+ get: function () { return chunkIDTNKL4S_js.resolveProfileInitial; }
136
136
  });
137
137
  Object.defineProperty(exports, "resolveThemeCatalogEntry", {
138
138
  enumerable: true,
139
- get: function () { return chunk7HPI5HBA_js.resolveThemeCatalogEntry; }
139
+ get: function () { return chunkIDTNKL4S_js.resolveThemeCatalogEntry; }
140
140
  });
141
141
  Object.defineProperty(exports, "saveViewerProfile", {
142
142
  enumerable: true,
143
- get: function () { return chunk7HPI5HBA_js.saveViewerProfile; }
143
+ get: function () { return chunkIDTNKL4S_js.saveViewerProfile; }
144
144
  });
145
145
  Object.defineProperty(exports, "savedPresentationFileName", {
146
146
  enumerable: true,
147
- get: function () { return chunk7HPI5HBA_js.savedPresentationFileName; }
147
+ get: function () { return chunkIDTNKL4S_js.savedPresentationFileName; }
148
148
  });
149
149
  Object.defineProperty(exports, "themeToCssVars", {
150
150
  enumerable: true,
151
- get: function () { return chunk7HPI5HBA_js.themeToCssVars; }
151
+ get: function () { return chunkIDTNKL4S_js.themeToCssVars; }
152
152
  });
153
153
  Object.defineProperty(exports, "vermilionDarkColors", {
154
154
  enumerable: true,
155
- get: function () { return chunk7HPI5HBA_js.vermilionDarkColors; }
155
+ get: function () { return chunkIDTNKL4S_js.vermilionDarkColors; }
156
156
  });
157
157
  Object.defineProperty(exports, "vermilionDarkTheme", {
158
158
  enumerable: true,
159
- get: function () { return chunk7HPI5HBA_js.vermilionDarkTheme; }
159
+ get: function () { return chunkIDTNKL4S_js.vermilionDarkTheme; }
160
160
  });
161
161
  Object.defineProperty(exports, "vermilionLightColors", {
162
162
  enumerable: true,
163
- get: function () { return chunk7HPI5HBA_js.vermilionLightColors; }
163
+ get: function () { return chunkIDTNKL4S_js.vermilionLightColors; }
164
164
  });
165
165
  Object.defineProperty(exports, "vermilionLightTheme", {
166
166
  enumerable: true,
167
- get: function () { return chunk7HPI5HBA_js.vermilionLightTheme; }
167
+ get: function () { return chunkIDTNKL4S_js.vermilionLightTheme; }
168
168
  });
169
169
  Object.defineProperty(exports, "vermilionRadius", {
170
170
  enumerable: true,
171
- get: function () { return chunk7HPI5HBA_js.vermilionRadius; }
171
+ get: function () { return chunkIDTNKL4S_js.vermilionRadius; }
172
172
  });
173
173
  Object.defineProperty(exports, "writeStoredViewerPrefs", {
174
174
  enumerable: true,
175
- get: function () { return chunk7HPI5HBA_js.writeStoredViewerPrefs; }
175
+ get: function () { return chunkIDTNKL4S_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-NPA3EBET.mjs';
2
- import './chunk-J4KXCPQ3.mjs';
3
- export { renderToCanvas, useViewerBuildingBlocks } from './chunk-ROWGR6GY.mjs';
4
- export { getAnimationInitialStyle } from './chunk-6ILXI752.mjs';
5
- export { LOCALE_CATALOG } from './chunk-L5MNLIQF.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-V7ZLEZ5W.mjs';
1
+ export { PowerPointViewer, SlideCanvas, SlideTemplateGalleryDialog, SlideTemplatePreview, Toolbar, ViewerThemeProvider, useViewerTheme } from './chunk-ICAYXQVJ.mjs';
2
+ import './chunk-5ERW2B25.mjs';
3
+ export { renderToCanvas, useViewerBuildingBlocks } from './chunk-MAOUVROK.mjs';
4
+ export { getAnimationInitialStyle } from './chunk-OUX4O5XK.mjs';
5
+ export { LOCALE_CATALOG } from './chunk-MKPSUHUH.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-ISDTM2V3.mjs';
7
7
  import './chunk-XGB3TDIC.mjs';
package/dist/index.mjs.br CHANGED
Binary file
package/dist/index.mjs.gz CHANGED
Binary file
@@ -1678,6 +1678,32 @@ interface TextStyle {
1678
1678
  textReflectionEndOpacity?: number;
1679
1679
  /** Text reflection offset distance in px. */
1680
1680
  textReflectionOffset?: number;
1681
+ /**
1682
+ * Text reflection fade direction (`a:rPr/a:effectLst/a:reflection/@fadeDir`)
1683
+ * in degrees. Mirrors `ShapeStyle.reflectionFadeDirection`.
1684
+ */
1685
+ textReflectionFadeDirection?: number;
1686
+ /**
1687
+ * Text reflection horizontal scaling (`@sx`), same units as
1688
+ * `ShapeStyle.reflectionScaleX` (1000ths of a percent, e.g. 100000 = 100%).
1689
+ */
1690
+ textReflectionScaleX?: number;
1691
+ /** Text reflection vertical scaling (`@sy`). See `ShapeStyle.reflectionScaleY`. */
1692
+ textReflectionScaleY?: number;
1693
+ /**
1694
+ * Text reflection horizontal skew (`@kx`) in 60000ths of a degree. See
1695
+ * `ShapeStyle.reflectionSkewX`.
1696
+ */
1697
+ textReflectionSkewX?: number;
1698
+ /** Text reflection vertical skew (`@ky`). See `ShapeStyle.reflectionSkewY`. */
1699
+ textReflectionSkewY?: number;
1700
+ /**
1701
+ * Text reflection independent rotation (`@rot`) in degrees. See
1702
+ * `ShapeStyle.reflectionRotation`.
1703
+ */
1704
+ textReflectionRotation?: number;
1705
+ /** Text reflection anchor (`@algn`). See `ShapeStyle.reflectionAlignment`. */
1706
+ textReflectionAlignment?: 'tl' | 't' | 'tr' | 'l' | 'ctr' | 'r' | 'bl' | 'b' | 'br';
1681
1707
  /** 3D extrusion/bevel settings on the text body. */
1682
1708
  text3d?: Text3DStyle;
1683
1709
  /** 3D scene (camera + light rig) settings on the text body (`a:bodyPr/a:scene3d`). */
@@ -5379,6 +5405,21 @@ interface ContentPartInkStroke {
5379
5405
  * variable-width strokes that reflect stylus/pen pressure.
5380
5406
  */
5381
5407
  pressures?: number[];
5408
+ /**
5409
+ * Per-point pen-tilt lean direction (radians), decoded from the source
5410
+ * InkML's `OTx`/`OTy` tilt-offset channels or its `AZIMUTH` channel.
5411
+ *
5412
+ * When present (paired with {@link tiltMagnitudes}), the renderer widens
5413
+ * each point perpendicular to the lean direction, approximating a
5414
+ * calligraphic (chisel-tip) nib. Absent when the source declared no tilt
5415
+ * channel, in which case rendering is unaffected.
5416
+ */
5417
+ tiltAngles?: number[];
5418
+ /**
5419
+ * Per-point pen-tilt strength (0 upright, 1 maximally leaned), paired with
5420
+ * {@link tiltAngles}.
5421
+ */
5422
+ tiltMagnitudes?: number[];
5382
5423
  }
5383
5424
  /**
5384
5425
  * A content-part element wrapped in `mc:AlternateContent`.
@@ -5947,6 +5988,19 @@ interface PptxNativeAnimation {
5947
5988
  scaleZoomContents?: boolean;
5948
5989
  /** Parsed `p:tav` keyframes from `p:tavLst` (CT_TLAnimVariantList). */
5949
5990
  keyframes?: PptxAnimationKeyframe[];
5991
+ /**
5992
+ * The attribute {@link keyframes} drives, from the SAME node's
5993
+ * `p:cBhvr/p:attrNameLst/p:attrName` (ECMA-376 S19.5.4). `p:tavLst` is
5994
+ * schema-generic: without this, playback could see a numeric ramp but not
5995
+ * know whether it targeted opacity, position, colour, or something with
5996
+ * no CSS mapping. Lowercased and trimmed; common values seen in the wild
5997
+ * (and written by this codebase's own animation writer) include
5998
+ * `"style.opacity"`, `"style.color"`, `"style.visibility"`, `"fillcolor"`,
5999
+ * `"stroke.color"`, `"r"` (rotation, only meaningful on `p:animRot`), and
6000
+ * `"ppt_x"` / `"ppt_y"` (position, normally driven via `p:animMotion`
6001
+ * instead). Absent when the behaviour carries no `p:attrNameLst`.
6002
+ */
6003
+ attrName?: string;
5950
6004
  /** Repeat count (e.g. `2`, `Infinity` for indefinite). */
5951
6005
  repeatCount?: number;
5952
6006
  /** Whether the animation plays in reverse after completion. */
@@ -6048,6 +6102,17 @@ interface PptxNativeAnimation {
6048
6102
  textTarget?: PptxTextAnimationTarget;
6049
6103
  /** Whether this animation is inside an exclusive container (`p:excl`). */
6050
6104
  exclusive?: boolean;
6105
+ /**
6106
+ * Identifies which `p:excl` container this animation belongs to, when
6107
+ * {@link exclusive} is set. ECMA-376 S19.5.24 CT_TLExclusiveTimeNode: at
6108
+ * most one direct child of an exclusive container may be active at a
6109
+ * time, so starting one child stops any other currently-playing child of
6110
+ * the SAME container. Two different `p:excl` containers on the same slide
6111
+ * are independent groups; this id (assigned per container encountered
6112
+ * during parsing, stable only within one parse's animation list) lets
6113
+ * playback tell them apart. Absent when {@link exclusive} is unset.
6114
+ */
6115
+ exclGroupId?: number;
6051
6116
  /** Command type from `p:cmd` (@_type: call/evt/verb). */
6052
6117
  commandType?: string;
6053
6118
  /** Command string from `p:cmd` (@_cmd). */
@@ -6331,6 +6396,52 @@ interface PptxElementAnimation {
6331
6396
  soundPath?: string;
6332
6397
  /** Whether to stop any currently playing sound (`p:endSnd`). */
6333
6398
  stopSound?: boolean;
6399
+ /**
6400
+ * Pending, not-yet-embedded sound chosen in the authoring UI, as a
6401
+ * `data:audio/...;base64,...` URL. Mirrors the `imageData` /
6402
+ * `mediaData` pending-embed convention used elsewhere in the typed model:
6403
+ * on save, the writer converts this to real bytes under `ppt/media/`,
6404
+ * mints a relationship, and replaces this field with the resolved
6405
+ * {@link soundRId} / {@link soundPath}. Cleared once embedded.
6406
+ */
6407
+ soundData?: string;
6408
+ /**
6409
+ * Display name for the chosen sound (e.g. the uploaded file's name),
6410
+ * shown by the authoring UI's sound picker. Purely cosmetic; has no
6411
+ * OOXML equivalent and is not required for playback.
6412
+ */
6413
+ soundFileName?: string;
6414
+ }
6415
+ /**
6416
+ * A read-only anchor representing one of the deck's own effect groups: a
6417
+ * top-level click group (`p:par` under `p:timing`'s main sequence) that this
6418
+ * app did not author, so it is never exposed as an editable
6419
+ * {@link PptxElementAnimation}.
6420
+ *
6421
+ * The authoring UI merges these anchors alongside `PptxSlide.animations` to
6422
+ * render the FULL animation sequence (editor-authored and deck-native
6423
+ * effects together) and lets an editor-authored entry be dragged to any
6424
+ * position relative to them. `order` is the anchor's position among ALL
6425
+ * top-level click groups (editor-owned and native) at load time, in the same
6426
+ * numbering space as {@link PptxElementAnimation.order}, so the two
6427
+ * populations sort into one coherent timeline.
6428
+ *
6429
+ * Anchors are never written back: on save, an untouched anchor's own click
6430
+ * group is repositioned (if an editor-authored effect was dragged past it)
6431
+ * but never mutated, so the deck's own effect stays byte-identical apart
6432
+ * from its position in the sequence.
6433
+ */
6434
+ interface PptxAnimationTimelineAnchor {
6435
+ /**
6436
+ * Position of this group among all top-level click groups in the main
6437
+ * animation sequence at load time (dense, shared with editor entries'
6438
+ * `order`).
6439
+ */
6440
+ order: number;
6441
+ /** Shape id(s) this group's effects target, for a readable UI label. */
6442
+ targetIds: string[];
6443
+ /** Effect preset classes present in the group (entr/exit/emph/path). */
6444
+ presetClasses: Array<'entr' | 'exit' | 'emph' | 'path'>;
6334
6445
  }
6335
6446
  //#endregion
6336
6447
  //#region src/core/types/embedded-font.d.ts
@@ -7034,8 +7145,19 @@ interface PptxSlideTransition {
7034
7145
  soundLoop?: boolean;
7035
7146
  /** Resolved transition sound media path within the package. */
7036
7147
  soundPath?: string;
7037
- /** Human-readable sound file name (extracted from soundPath). */
7148
+ /** Human-readable sound file name (extracted from soundPath, or set by the
7149
+ * UI when a new file is picked, before it has a soundPath at all). */
7038
7150
  soundFileName?: string;
7151
+ /**
7152
+ * A newly-picked local sound file awaiting embedding, as a `data:` URL.
7153
+ * Set by the transitions ribbon's Sound picker (`applyTransitionSoundFile`
7154
+ * in `pptx-viewer-shared`) when the user chooses a file that is not yet
7155
+ * part of the package; mirrors `imageData`/`mediaData` on picture and media
7156
+ * elements. The save pipeline (`embedTransitionSound`) writes the bytes to
7157
+ * `ppt/media/`, mints a relationship, sets `soundRId`/`soundPath`, and
7158
+ * clears this field so a later save does not re-embed the same bytes.
7159
+ */
7160
+ soundData?: string;
7039
7161
  /**
7040
7162
  * When true, the transition stops the currently-playing sound (OOXML `p:sndAc/p:endSnd`).
7041
7163
  * Mutually exclusive with `soundRId`/`soundPath` (which use `p:stSnd`).
@@ -7309,17 +7431,29 @@ interface PptxSlide {
7309
7431
  backgroundPattern?: PptxSlideBackgroundPattern;
7310
7432
  /**
7311
7433
  * `<p:bgPr/@shadeToTitle>`: boolean flag instructing the renderer to
7312
- * shade the background toward the title placeholder colour. Captured
7313
- * for lossless round-trip only; no renderer applies the visual effect.
7314
- * Documented as a known no-op in `docs/guide/limitations.md` (legacy
7315
- * PowerPoint 97-2003 hint, not observed in any real-world corpus file
7316
- * and not settable from any modern PowerPoint UI).
7434
+ * shade the background gradient toward the title placeholder's text
7435
+ * colour. Parsed and round-tripped here on the core model; the actual
7436
+ * visual effect is applied by `pptx-viewer-shared`'s
7437
+ * `getSlideBackgroundStyle` (see `render/background-shade-to-title.ts`),
7438
+ * consumed by all five bindings, not by core itself. That module's
7439
+ * docstring explains the approximation: no published ECMA-376 or
7440
+ * MS-ODRAWXML text documents the exact legacy blend. Legacy PowerPoint
7441
+ * 97-2003 hint, not observed in any real-world corpus file this project
7442
+ * has collected and not settable from any modern PowerPoint UI; see
7443
+ * `docs/guide/limitations.md`.
7317
7444
  *
7318
7445
  * ECMA-376 §19.3.1.2 (CT_BackgroundProperties).
7319
7446
  */
7320
7447
  backgroundShadeToTitle?: boolean;
7321
7448
  transition?: PptxSlideTransition;
7322
7449
  animations?: PptxElementAnimation[];
7450
+ /**
7451
+ * Read-only anchors for the deck's own (non-editor-authored) effect
7452
+ * groups, merged with `animations` by the authoring UI so drag-to-reorder
7453
+ * can target any position in the full sequence. See
7454
+ * {@link PptxAnimationTimelineAnchor}.
7455
+ */
7456
+ animationTimelineAnchors?: PptxAnimationTimelineAnchor[];
7323
7457
  /** Native OOXML animation data parsed from `p:timing`. */
7324
7458
  nativeAnimations?: PptxNativeAnimation[];
7325
7459
  /** Preserved raw `p:timing` XML for lossless round-trip of native animations. */
@@ -8711,12 +8845,25 @@ interface IPptxHandlerRuntimeFactory {
8711
8845
  */
8712
8846
  /** Supported encryption algorithms. */
8713
8847
  type EncryptionAlgorithm = 'AES128' | 'AES256';
8848
+ /**
8849
+ * Which OOXML encryption scheme to write when creating a password-protected
8850
+ * file. Real PowerPoint can write and open either scheme; this library
8851
+ * defaults to 'agile' (Office 2010+), matching PowerPoint's own default.
8852
+ */
8853
+ type EncryptionScheme = 'agile' | 'standard';
8714
8854
  /** Encryption options for creating encrypted files. */
8715
8855
  interface EncryptionOptions {
8716
8856
  /** The encryption algorithm to use (defaults to AES256). */
8717
8857
  algorithm?: EncryptionAlgorithm;
8718
8858
  /** Number of hash iterations for key derivation (defaults to 100000). Lower values speed up tests. */
8719
8859
  spinCount?: number;
8860
+ /**
8861
+ * Which encryption scheme to write (defaults to 'agile'). 'standard'
8862
+ * writes the ECMA-376 Standard scheme (Office 2007-compatible: a single
8863
+ * password-derived AES-CBC key with a zero IV over the whole package),
8864
+ * mirroring the scheme this library already knows how to decrypt.
8865
+ */
8866
+ encryptionScheme?: EncryptionScheme;
8720
8867
  }
8721
8868
  //#endregion
8722
8869
  //#region src/core/PptxHandlerCore.d.ts
@@ -10033,10 +10180,13 @@ interface TouchGestureCallbacks {
10033
10180
  /**
10034
10181
  * Dropdown ids for the insert-chart menu. Distinct from `PptxChartType`
10035
10182
  * because PowerPoint offers Column (vertical) and Bar (horizontal) as two
10036
- * entries over the same underlying `'bar'` chart type. The six ChartEx ids
10037
- * (`histogram` through `regionMap`) map one-to-one onto their chart type.
10183
+ * entries over the same underlying `'bar'` chart type, and because `'pareto'`
10184
+ * has no `PptxChartType` of its own: it is a dropdown entry that resolves to
10185
+ * `type: 'histogram'` (see docs/guide/limitations.md's ChartEx row) with a
10186
+ * frequency-plus-cumulative-percentage default shape. The other six ChartEx
10187
+ * ids (`histogram` through `regionMap`) map one-to-one onto their chart type.
10038
10188
  */
10039
- type InsertChartKind = 'column' | 'bar' | 'line' | 'pie' | 'doughnut' | 'area' | 'scatter' | 'histogram' | 'funnel' | 'treemap' | 'sunburst' | 'boxWhisker' | 'regionMap';
10189
+ type InsertChartKind = 'column' | 'bar' | 'line' | 'pie' | 'doughnut' | 'area' | 'scatter' | 'histogram' | 'pareto' | 'funnel' | 'treemap' | 'sunburst' | 'boxWhisker' | 'regionMap';
10040
10190
  /** In-memory clipboard payload stored when an element is copied or cut. */
10041
10191
  interface ElementClipboardPayload {
10042
10192
  element: PptxElement;