pptx-react-viewer 4.59.0 → 4.60.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/dist/{chunk-6A7RIFYO.mjs → chunk-FYQVCABH.mjs} +23 -4
  3. package/dist/chunk-FYQVCABH.mjs.br +0 -0
  4. package/dist/chunk-FYQVCABH.mjs.gz +0 -0
  5. package/dist/{chunk-KPBL5JMS.mjs → chunk-JXP7DZTT.mjs} +471 -150
  6. package/dist/chunk-JXP7DZTT.mjs.br +0 -0
  7. package/dist/chunk-JXP7DZTT.mjs.gz +0 -0
  8. package/dist/{chunk-2W6VOPDR.js → chunk-TXVGYIO6.js} +22 -3
  9. package/dist/chunk-TXVGYIO6.js.br +0 -0
  10. package/dist/chunk-TXVGYIO6.js.gz +0 -0
  11. package/dist/{chunk-NT5X2MHW.js → chunk-XDJKHCKL.js} +1538 -1217
  12. package/dist/chunk-XDJKHCKL.js.br +0 -0
  13. package/dist/chunk-XDJKHCKL.js.gz +0 -0
  14. package/dist/i18n/de.cjs +8 -0
  15. package/dist/i18n/de.cjs.br +0 -0
  16. package/dist/i18n/de.cjs.gz +0 -0
  17. package/dist/i18n/de.mjs +8 -0
  18. package/dist/i18n/de.mjs.br +0 -0
  19. package/dist/i18n/de.mjs.gz +0 -0
  20. package/dist/i18n/es.cjs +8 -0
  21. package/dist/i18n/es.cjs.br +0 -0
  22. package/dist/i18n/es.cjs.gz +0 -0
  23. package/dist/i18n/es.mjs +8 -0
  24. package/dist/i18n/es.mjs.br +0 -0
  25. package/dist/i18n/es.mjs.gz +0 -0
  26. package/dist/i18n/fr.cjs +8 -0
  27. package/dist/i18n/fr.cjs.br +0 -0
  28. package/dist/i18n/fr.cjs.gz +0 -0
  29. package/dist/i18n/fr.mjs +8 -0
  30. package/dist/i18n/fr.mjs.br +0 -0
  31. package/dist/i18n/fr.mjs.gz +0 -0
  32. package/dist/i18n/zh-CN.cjs +8 -0
  33. package/dist/i18n/zh-CN.cjs.br +0 -0
  34. package/dist/i18n/zh-CN.cjs.gz +0 -0
  35. package/dist/i18n/zh-CN.mjs +8 -0
  36. package/dist/i18n/zh-CN.mjs.br +0 -0
  37. package/dist/i18n/zh-CN.mjs.gz +0 -0
  38. package/dist/index.d.ts +2 -0
  39. package/dist/index.js +24 -24
  40. package/dist/index.js.br +0 -0
  41. package/dist/index.js.gz +0 -0
  42. package/dist/index.mjs +2 -2
  43. package/dist/index.mjs.br +0 -0
  44. package/dist/index.mjs.gz +0 -0
  45. package/dist/internals.d.ts +15 -0
  46. package/dist/internals.js +80 -80
  47. package/dist/internals.js.br +0 -0
  48. package/dist/internals.js.gz +0 -0
  49. package/dist/internals.mjs +1 -1
  50. package/dist/internals.mjs.br +0 -0
  51. package/dist/internals.mjs.gz +0 -0
  52. package/dist/pptx-viewer.css +1 -1
  53. package/dist/pptx-viewer.css.br +0 -0
  54. package/dist/pptx-viewer.css.gz +0 -0
  55. package/dist/viewer/index.js +18 -18
  56. package/dist/viewer/index.js.br +0 -0
  57. package/dist/viewer/index.js.gz +0 -0
  58. package/dist/viewer/index.mjs +2 -2
  59. package/dist/viewer/index.mjs.br +0 -0
  60. package/dist/viewer/index.mjs.gz +0 -0
  61. package/package.json +3 -3
  62. package/dist/chunk-2W6VOPDR.js.br +0 -0
  63. package/dist/chunk-2W6VOPDR.js.gz +0 -0
  64. package/dist/chunk-6A7RIFYO.mjs.br +0 -0
  65. package/dist/chunk-6A7RIFYO.mjs.gz +0 -0
  66. package/dist/chunk-KPBL5JMS.mjs.br +0 -0
  67. package/dist/chunk-KPBL5JMS.mjs.gz +0 -0
  68. package/dist/chunk-NT5X2MHW.js.br +0 -0
  69. package/dist/chunk-NT5X2MHW.js.gz +0 -0
Binary file
Binary file
package/dist/i18n/de.cjs CHANGED
@@ -4519,6 +4519,14 @@ var translations19 = {
4519
4519
  "pptx.presentation.liveCaptions": "Live-Untertitel",
4520
4520
  "pptx.customShows.none": "Keine",
4521
4521
  "pptx.customShows.noSlidesYet": "Diese Bildschirmpr\xE4sentation enth\xE4lt noch keine Folien.",
4522
+ "pptx.customShows.copy": "Kopieren",
4523
+ "pptx.customShows.remove": "Entfernen",
4524
+ "pptx.customShows.add": "Hinzuf\xFCgen",
4525
+ "pptx.customShows.moveUp": "Nach oben",
4526
+ "pptx.customShows.moveDown": "Nach unten",
4527
+ "pptx.customShows.slidesInPresentation": "Folien in der Pr\xE4sentation",
4528
+ "pptx.customShows.newDefaultName": "Benutzerdefinierte Pr\xE4sentation",
4529
+ "pptx.customShows.showButton": "Anzeigen",
4522
4530
  "pptx.customShows.renameNameLabel": "Pr\xE4sentationsname",
4523
4531
  "pptx.customShows.renameShow": "Bildschirmpr\xE4sentation umbenennen",
4524
4532
  "pptx.customShows.slidesInShow": "Folien in der Bildschirmpr\xE4sentation",
Binary file
Binary file
package/dist/i18n/de.mjs CHANGED
@@ -4493,6 +4493,14 @@ var translations19 = {
4493
4493
  "pptx.presentation.liveCaptions": "Live-Untertitel",
4494
4494
  "pptx.customShows.none": "Keine",
4495
4495
  "pptx.customShows.noSlidesYet": "Diese Bildschirmpr\xE4sentation enth\xE4lt noch keine Folien.",
4496
+ "pptx.customShows.copy": "Kopieren",
4497
+ "pptx.customShows.remove": "Entfernen",
4498
+ "pptx.customShows.add": "Hinzuf\xFCgen",
4499
+ "pptx.customShows.moveUp": "Nach oben",
4500
+ "pptx.customShows.moveDown": "Nach unten",
4501
+ "pptx.customShows.slidesInPresentation": "Folien in der Pr\xE4sentation",
4502
+ "pptx.customShows.newDefaultName": "Benutzerdefinierte Pr\xE4sentation",
4503
+ "pptx.customShows.showButton": "Anzeigen",
4496
4504
  "pptx.customShows.renameNameLabel": "Pr\xE4sentationsname",
4497
4505
  "pptx.customShows.renameShow": "Bildschirmpr\xE4sentation umbenennen",
4498
4506
  "pptx.customShows.slidesInShow": "Folien in der Bildschirmpr\xE4sentation",
Binary file
Binary file
package/dist/i18n/es.cjs CHANGED
@@ -4519,6 +4519,14 @@ var translations19 = {
4519
4519
  "pptx.presentation.liveCaptions": "Subt\xEDtulos en vivo",
4520
4520
  "pptx.customShows.none": "Ninguno",
4521
4521
  "pptx.customShows.noSlidesYet": "A\xFAn no hay diapositivas en esta presentaci\xF3n.",
4522
+ "pptx.customShows.copy": "Copiar",
4523
+ "pptx.customShows.remove": "Quitar",
4524
+ "pptx.customShows.add": "Agregar",
4525
+ "pptx.customShows.moveUp": "Subir",
4526
+ "pptx.customShows.moveDown": "Bajar",
4527
+ "pptx.customShows.slidesInPresentation": "Diapositivas de la presentaci\xF3n",
4528
+ "pptx.customShows.newDefaultName": "Presentaci\xF3n personalizada",
4529
+ "pptx.customShows.showButton": "Mostrar",
4522
4530
  "pptx.customShows.renameNameLabel": "Nombre de la presentaci\xF3n",
4523
4531
  "pptx.customShows.renameShow": "Cambiar nombre de la presentaci\xF3n",
4524
4532
  "pptx.customShows.slidesInShow": "Diapositivas de la presentaci\xF3n",
Binary file
Binary file
package/dist/i18n/es.mjs CHANGED
@@ -4493,6 +4493,14 @@ var translations19 = {
4493
4493
  "pptx.presentation.liveCaptions": "Subt\xEDtulos en vivo",
4494
4494
  "pptx.customShows.none": "Ninguno",
4495
4495
  "pptx.customShows.noSlidesYet": "A\xFAn no hay diapositivas en esta presentaci\xF3n.",
4496
+ "pptx.customShows.copy": "Copiar",
4497
+ "pptx.customShows.remove": "Quitar",
4498
+ "pptx.customShows.add": "Agregar",
4499
+ "pptx.customShows.moveUp": "Subir",
4500
+ "pptx.customShows.moveDown": "Bajar",
4501
+ "pptx.customShows.slidesInPresentation": "Diapositivas de la presentaci\xF3n",
4502
+ "pptx.customShows.newDefaultName": "Presentaci\xF3n personalizada",
4503
+ "pptx.customShows.showButton": "Mostrar",
4496
4504
  "pptx.customShows.renameNameLabel": "Nombre de la presentaci\xF3n",
4497
4505
  "pptx.customShows.renameShow": "Cambiar nombre de la presentaci\xF3n",
4498
4506
  "pptx.customShows.slidesInShow": "Diapositivas de la presentaci\xF3n",
Binary file
Binary file
package/dist/i18n/fr.cjs CHANGED
@@ -4519,6 +4519,14 @@ var translations19 = {
4519
4519
  "pptx.presentation.liveCaptions": "Sous-titres en direct",
4520
4520
  "pptx.customShows.none": "Aucun",
4521
4521
  "pptx.customShows.noSlidesYet": "Aucune diapositive dans ce diaporama pour l'instant.",
4522
+ "pptx.customShows.copy": "Copier",
4523
+ "pptx.customShows.remove": "Supprimer",
4524
+ "pptx.customShows.add": "Ajouter",
4525
+ "pptx.customShows.moveUp": "Monter",
4526
+ "pptx.customShows.moveDown": "Descendre",
4527
+ "pptx.customShows.slidesInPresentation": "Diapositives de la pr\xE9sentation",
4528
+ "pptx.customShows.newDefaultName": "Diaporama personnalis\xE9",
4529
+ "pptx.customShows.showButton": "Afficher",
4522
4530
  "pptx.customShows.renameNameLabel": "Nom du diaporama",
4523
4531
  "pptx.customShows.renameShow": "Renommer le diaporama",
4524
4532
  "pptx.customShows.slidesInShow": "Diapositives du diaporama",
Binary file
Binary file
package/dist/i18n/fr.mjs CHANGED
@@ -4493,6 +4493,14 @@ var translations19 = {
4493
4493
  "pptx.presentation.liveCaptions": "Sous-titres en direct",
4494
4494
  "pptx.customShows.none": "Aucun",
4495
4495
  "pptx.customShows.noSlidesYet": "Aucune diapositive dans ce diaporama pour l'instant.",
4496
+ "pptx.customShows.copy": "Copier",
4497
+ "pptx.customShows.remove": "Supprimer",
4498
+ "pptx.customShows.add": "Ajouter",
4499
+ "pptx.customShows.moveUp": "Monter",
4500
+ "pptx.customShows.moveDown": "Descendre",
4501
+ "pptx.customShows.slidesInPresentation": "Diapositives de la pr\xE9sentation",
4502
+ "pptx.customShows.newDefaultName": "Diaporama personnalis\xE9",
4503
+ "pptx.customShows.showButton": "Afficher",
4496
4504
  "pptx.customShows.renameNameLabel": "Nom du diaporama",
4497
4505
  "pptx.customShows.renameShow": "Renommer le diaporama",
4498
4506
  "pptx.customShows.slidesInShow": "Diapositives du diaporama",
Binary file
Binary file
@@ -4540,6 +4540,14 @@ var translations25 = {
4540
4540
  "pptx.presentation.liveCaptions": "\u5B9E\u65F6\u5B57\u5E55",
4541
4541
  "pptx.customShows.none": "\u65E0",
4542
4542
  "pptx.customShows.noSlidesYet": "\u8BE5\u653E\u6620\u8FD8\u6CA1\u6709\u5E7B\u706F\u7247\u3002",
4543
+ "pptx.customShows.copy": "\u590D\u5236",
4544
+ "pptx.customShows.remove": "\u5220\u9664",
4545
+ "pptx.customShows.add": "\u6DFB\u52A0",
4546
+ "pptx.customShows.moveUp": "\u4E0A\u79FB",
4547
+ "pptx.customShows.moveDown": "\u4E0B\u79FB",
4548
+ "pptx.customShows.slidesInPresentation": "\u6F14\u793A\u6587\u7A3F\u4E2D\u7684\u5E7B\u706F\u7247",
4549
+ "pptx.customShows.newDefaultName": "\u81EA\u5B9A\u4E49\u653E\u6620",
4550
+ "pptx.customShows.showButton": "\u653E\u6620",
4543
4551
  "pptx.customShows.renameNameLabel": "\u653E\u6620\u540D\u79F0",
4544
4552
  "pptx.customShows.renameShow": "\u91CD\u547D\u540D\u653E\u6620",
4545
4553
  "pptx.customShows.slidesInShow": "\u653E\u6620\u4E2D\u7684\u5E7B\u706F\u7247",
Binary file
Binary file
@@ -4514,6 +4514,14 @@ var translations25 = {
4514
4514
  "pptx.presentation.liveCaptions": "\u5B9E\u65F6\u5B57\u5E55",
4515
4515
  "pptx.customShows.none": "\u65E0",
4516
4516
  "pptx.customShows.noSlidesYet": "\u8BE5\u653E\u6620\u8FD8\u6CA1\u6709\u5E7B\u706F\u7247\u3002",
4517
+ "pptx.customShows.copy": "\u590D\u5236",
4518
+ "pptx.customShows.remove": "\u5220\u9664",
4519
+ "pptx.customShows.add": "\u6DFB\u52A0",
4520
+ "pptx.customShows.moveUp": "\u4E0A\u79FB",
4521
+ "pptx.customShows.moveDown": "\u4E0B\u79FB",
4522
+ "pptx.customShows.slidesInPresentation": "\u6F14\u793A\u6587\u7A3F\u4E2D\u7684\u5E7B\u706F\u7247",
4523
+ "pptx.customShows.newDefaultName": "\u81EA\u5B9A\u4E49\u653E\u6620",
4524
+ "pptx.customShows.showButton": "\u653E\u6620",
4517
4525
  "pptx.customShows.renameNameLabel": "\u653E\u6620\u540D\u79F0",
4518
4526
  "pptx.customShows.renameShow": "\u91CD\u547D\u540D\u653E\u6620",
4519
4527
  "pptx.customShows.slidesInShow": "\u653E\u6620\u4E2D\u7684\u5E7B\u706F\u7247",
Binary file
Binary file
package/dist/index.d.ts CHANGED
@@ -868,6 +868,8 @@ interface ToolbarProps {
868
868
  eyedropperActive?: boolean;
869
869
  onToggleEyedropper?: () => void;
870
870
  onOpenSetUpSlideShow?: () => void;
871
+ /** Slide Show > Custom Slide Show: open the Custom Shows dialog. */
872
+ onOpenCustomShows?: () => void;
871
873
  /** PowerPoint's Hide Slide toggle for the active slide (Slide Show tab). */
872
874
  onToggleHideSlide?: () => void;
873
875
  /** Whether the active slide is hidden, for Hide Slide's pressed state. */
package/dist/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var chunkNT5X2MHW_js = require('./chunk-NT5X2MHW.js');
3
+ var chunkXDJKHCKL_js = require('./chunk-XDJKHCKL.js');
4
4
  require('./chunk-F6WCYCHV.js');
5
- var chunk2W6VOPDR_js = require('./chunk-2W6VOPDR.js');
5
+ var chunkTXVGYIO6_js = require('./chunk-TXVGYIO6.js');
6
6
  var chunk5KFSMXI4_js = require('./chunk-5KFSMXI4.js');
7
7
  require('./chunk-PIRHQTI4.js');
8
8
  var pptx = require('ooxml-ui/pptx');
@@ -12,91 +12,91 @@ var i18n = require('ooxml-ui/pptx/i18n');
12
12
 
13
13
  Object.defineProperty(exports, "PowerPointViewer", {
14
14
  enumerable: true,
15
- get: function () { return chunkNT5X2MHW_js.PowerPointViewer; }
15
+ get: function () { return chunkXDJKHCKL_js.PowerPointViewer; }
16
16
  });
17
17
  Object.defineProperty(exports, "PptxI18nProvider", {
18
18
  enumerable: true,
19
- get: function () { return chunkNT5X2MHW_js.PptxI18nProvider; }
19
+ get: function () { return chunkXDJKHCKL_js.PptxI18nProvider; }
20
20
  });
21
21
  Object.defineProperty(exports, "SlideCanvas", {
22
22
  enumerable: true,
23
- get: function () { return chunkNT5X2MHW_js.SlideCanvas; }
23
+ get: function () { return chunkXDJKHCKL_js.SlideCanvas; }
24
24
  });
25
25
  Object.defineProperty(exports, "SlideTemplateGalleryDialog", {
26
26
  enumerable: true,
27
- get: function () { return chunkNT5X2MHW_js.SlideTemplateGalleryDialog; }
27
+ get: function () { return chunkXDJKHCKL_js.SlideTemplateGalleryDialog; }
28
28
  });
29
29
  Object.defineProperty(exports, "SlideTemplatePreview", {
30
30
  enumerable: true,
31
- get: function () { return chunkNT5X2MHW_js.SlideTemplatePreview; }
31
+ get: function () { return chunkXDJKHCKL_js.SlideTemplatePreview; }
32
32
  });
33
33
  Object.defineProperty(exports, "SlidesPane", {
34
34
  enumerable: true,
35
- get: function () { return chunkNT5X2MHW_js.SlidesPaneSidebar; }
35
+ get: function () { return chunkXDJKHCKL_js.SlidesPaneSidebar; }
36
36
  });
37
37
  Object.defineProperty(exports, "THEME_CATALOG", {
38
38
  enumerable: true,
39
- get: function () { return chunkNT5X2MHW_js.THEME_CATALOG; }
39
+ get: function () { return chunkXDJKHCKL_js.THEME_CATALOG; }
40
40
  });
41
41
  Object.defineProperty(exports, "Toolbar", {
42
42
  enumerable: true,
43
- get: function () { return chunkNT5X2MHW_js.Toolbar; }
43
+ get: function () { return chunkXDJKHCKL_js.Toolbar; }
44
44
  });
45
45
  Object.defineProperty(exports, "ViewerThemeProvider", {
46
46
  enumerable: true,
47
- get: function () { return chunkNT5X2MHW_js.ViewerThemeProvider; }
47
+ get: function () { return chunkXDJKHCKL_js.ViewerThemeProvider; }
48
48
  });
49
49
  Object.defineProperty(exports, "defaultCssVars", {
50
50
  enumerable: true,
51
- get: function () { return chunkNT5X2MHW_js.defaultCssVars; }
51
+ get: function () { return chunkXDJKHCKL_js.defaultCssVars; }
52
52
  });
53
53
  Object.defineProperty(exports, "defaultRadius", {
54
54
  enumerable: true,
55
- get: function () { return chunkNT5X2MHW_js.defaultRadius; }
55
+ get: function () { return chunkXDJKHCKL_js.defaultRadius; }
56
56
  });
57
57
  Object.defineProperty(exports, "defaultThemeColors", {
58
58
  enumerable: true,
59
- get: function () { return chunkNT5X2MHW_js.defaultThemeColors; }
59
+ get: function () { return chunkXDJKHCKL_js.defaultThemeColors; }
60
60
  });
61
61
  Object.defineProperty(exports, "resolveThemeCatalogEntry", {
62
62
  enumerable: true,
63
- get: function () { return chunkNT5X2MHW_js.resolveThemeCatalogEntry; }
63
+ get: function () { return chunkXDJKHCKL_js.resolveThemeCatalogEntry; }
64
64
  });
65
65
  Object.defineProperty(exports, "themeToCssVars", {
66
66
  enumerable: true,
67
- get: function () { return chunkNT5X2MHW_js.themeToCssVars; }
67
+ get: function () { return chunkXDJKHCKL_js.themeToCssVars; }
68
68
  });
69
69
  Object.defineProperty(exports, "useViewerTheme", {
70
70
  enumerable: true,
71
- get: function () { return chunkNT5X2MHW_js.useViewerTheme; }
71
+ get: function () { return chunkXDJKHCKL_js.useViewerTheme; }
72
72
  });
73
73
  Object.defineProperty(exports, "vermilionDarkColors", {
74
74
  enumerable: true,
75
- get: function () { return chunkNT5X2MHW_js.vermilionDarkColors; }
75
+ get: function () { return chunkXDJKHCKL_js.vermilionDarkColors; }
76
76
  });
77
77
  Object.defineProperty(exports, "vermilionDarkTheme", {
78
78
  enumerable: true,
79
- get: function () { return chunkNT5X2MHW_js.vermilionDarkTheme; }
79
+ get: function () { return chunkXDJKHCKL_js.vermilionDarkTheme; }
80
80
  });
81
81
  Object.defineProperty(exports, "vermilionLightColors", {
82
82
  enumerable: true,
83
- get: function () { return chunkNT5X2MHW_js.vermilionLightColors; }
83
+ get: function () { return chunkXDJKHCKL_js.vermilionLightColors; }
84
84
  });
85
85
  Object.defineProperty(exports, "vermilionLightTheme", {
86
86
  enumerable: true,
87
- get: function () { return chunkNT5X2MHW_js.vermilionLightTheme; }
87
+ get: function () { return chunkXDJKHCKL_js.vermilionLightTheme; }
88
88
  });
89
89
  Object.defineProperty(exports, "vermilionRadius", {
90
90
  enumerable: true,
91
- get: function () { return chunkNT5X2MHW_js.vermilionRadius; }
91
+ get: function () { return chunkXDJKHCKL_js.vermilionRadius; }
92
92
  });
93
93
  Object.defineProperty(exports, "renderToCanvas", {
94
94
  enumerable: true,
95
- get: function () { return chunk2W6VOPDR_js.renderToCanvas; }
95
+ get: function () { return chunkTXVGYIO6_js.renderToCanvas; }
96
96
  });
97
97
  Object.defineProperty(exports, "useViewerBuildingBlocks", {
98
98
  enumerable: true,
99
- get: function () { return chunk2W6VOPDR_js.useViewerBuildingBlocks; }
99
+ get: function () { return chunkTXVGYIO6_js.useViewerBuildingBlocks; }
100
100
  });
101
101
  Object.defineProperty(exports, "getAnimationInitialStyle", {
102
102
  enumerable: true,
package/dist/index.js.br CHANGED
Binary file
package/dist/index.js.gz CHANGED
Binary file
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
- export { PowerPointViewer, PptxI18nProvider, SlideCanvas, SlideTemplateGalleryDialog, SlideTemplatePreview, SlidesPaneSidebar as SlidesPane, THEME_CATALOG, Toolbar, ViewerThemeProvider, defaultCssVars, defaultRadius, defaultThemeColors, resolveThemeCatalogEntry, themeToCssVars, useViewerTheme, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius } from './chunk-KPBL5JMS.mjs';
1
+ export { PowerPointViewer, PptxI18nProvider, SlideCanvas, SlideTemplateGalleryDialog, SlideTemplatePreview, SlidesPaneSidebar as SlidesPane, THEME_CATALOG, Toolbar, ViewerThemeProvider, defaultCssVars, defaultRadius, defaultThemeColors, resolveThemeCatalogEntry, themeToCssVars, useViewerTheme, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius } from './chunk-JXP7DZTT.mjs';
2
2
  import './chunk-NE5JQMED.mjs';
3
- export { renderToCanvas, useViewerBuildingBlocks } from './chunk-6A7RIFYO.mjs';
3
+ export { renderToCanvas, useViewerBuildingBlocks } from './chunk-FYQVCABH.mjs';
4
4
  export { getAnimationInitialStyle } from './chunk-MR3ZSEHS.mjs';
5
5
  import './chunk-UV2HVMKZ.mjs';
6
6
  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, 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, describeCollaborationShellState, getLocalStorageUsageSummary, isLegacyBinaryPresentation, isSupportedPresentationFile, presentationBaseName, readStoredViewerPrefs, resolveProfileInitial, saveViewerProfile, savedPresentationFileName, writeStoredViewerPrefs } from 'ooxml-ui/pptx';
package/dist/index.mjs.br CHANGED
Binary file
package/dist/index.mjs.gz CHANGED
Binary file
@@ -458,6 +458,8 @@ interface ToolbarProps {
458
458
  eyedropperActive?: boolean;
459
459
  onToggleEyedropper?: () => void;
460
460
  onOpenSetUpSlideShow?: () => void;
461
+ /** Slide Show > Custom Slide Show: open the Custom Shows dialog. */
462
+ onOpenCustomShows?: () => void;
461
463
  /** PowerPoint's Hide Slide toggle for the active slide (Slide Show tab). */
462
464
  onToggleHideSlide?: () => void;
463
465
  /** Whether the active slide is hidden, for Hide Slide's pressed state. */
@@ -1483,6 +1485,8 @@ interface UseViewerDialogsInput {
1483
1485
  name: string;
1484
1486
  slideRIds: string[];
1485
1487
  }>>>;
1488
+ /** Setter for the deck slides (removing a custom show clears jumps into it). */
1489
+ setSlides: React.Dispatch<React.SetStateAction<PptxSlide[]>>;
1486
1490
  /** Setter for the active custom show id. */
1487
1491
  setActiveCustomShowId: React.Dispatch<React.SetStateAction<string | null>>;
1488
1492
  /** Setter for the slide guides array. */
@@ -1567,6 +1571,8 @@ interface ViewerDialogsResult {
1567
1571
  /** Whether the "Set Up Slide Show" configuration dialog is visible. */
1568
1572
  isSetUpSlideShowOpen: boolean;
1569
1573
  setIsSetUpSlideShowOpen: React.Dispatch<React.SetStateAction<boolean>>;
1574
+ isCustomShowsOpen: boolean;
1575
+ setIsCustomShowsOpen: React.Dispatch<React.SetStateAction<boolean>>;
1570
1576
  /** Whether the broadcast (share screen) dialog is visible. */
1571
1577
  isBroadcastDialogOpen: boolean;
1572
1578
  setIsBroadcastDialogOpen: React.Dispatch<React.SetStateAction<boolean>>;
@@ -1609,6 +1615,11 @@ interface ViewerDialogsResult {
1609
1615
  */
1610
1616
  handleAddGuide: (axis: 'h' | 'v') => void;
1611
1617
  /** Creates a new empty custom show and makes it active. */
1618
+ handleCommitCustomShows: (shows: Array<{
1619
+ id: string;
1620
+ name: string;
1621
+ slideRIds: string[];
1622
+ }>, clearedSlides: PptxSlide[] | undefined) => void;
1612
1623
  handleCreateCustomShow: () => void;
1613
1624
  /** Prompts to rename the currently active custom show. */
1614
1625
  handleRenameActiveCustomShow: () => void;
@@ -4186,8 +4197,12 @@ interface UseDialogCustomShowsInput {
4186
4197
  }>>>;
4187
4198
  setActiveCustomShowId: React.Dispatch<React.SetStateAction<string | null>>;
4188
4199
  history: EditorHistoryResult;
4200
+ /** Replaces the deck's slides (used when removing a show clears jumps into it). */
4201
+ setSlides?: React.Dispatch<React.SetStateAction<PptxSlide[]>>;
4189
4202
  }
4190
4203
  interface UseDialogCustomShowsResult {
4204
+ /** OK in the Custom Shows dialog: store the shows, clear jumps into removed ones. */
4205
+ handleCommitCustomShows: (shows: PptxCustomShow[], clearedSlides: PptxSlide[] | undefined) => void;
4191
4206
  handleCreateCustomShow: () => void;
4192
4207
  handleRenameActiveCustomShow: () => void;
4193
4208
  handleDeleteActiveCustomShow: () => void;