pptx-react-viewer 2.10.0 → 2.11.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 (125) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/{AiChatPanel-KTMWRUD5.js → AiChatPanel-E6W3EACA.js} +23 -23
  3. package/dist/AiChatPanel-E6W3EACA.js.br +0 -0
  4. package/dist/AiChatPanel-E6W3EACA.js.gz +0 -0
  5. package/dist/{AiChatPanel-35CHYS5N.mjs → AiChatPanel-RMQIJDUJ.mjs} +4 -4
  6. package/dist/AiChatPanel-RMQIJDUJ.mjs.br +0 -0
  7. package/dist/AiChatPanel-RMQIJDUJ.mjs.gz +0 -0
  8. package/dist/{Model3DScene-TMNUKCL6.js → Model3DScene-U4B4NZJT.js} +2 -2
  9. package/dist/Model3DScene-U4B4NZJT.js.br +0 -0
  10. package/dist/Model3DScene-U4B4NZJT.js.gz +0 -0
  11. package/dist/{Model3DScene-2VMN3B65.mjs → Model3DScene-WHSHBMR5.mjs} +1 -1
  12. package/dist/Model3DScene-WHSHBMR5.mjs.br +0 -0
  13. package/dist/Model3DScene-WHSHBMR5.mjs.gz +0 -0
  14. package/dist/{SurfaceChart3DScene-KPNP3QD5.js → SurfaceChart3DScene-5S43UBRD.js} +2 -2
  15. package/dist/SurfaceChart3DScene-5S43UBRD.js.br +0 -0
  16. package/dist/SurfaceChart3DScene-5S43UBRD.js.gz +0 -0
  17. package/dist/{SurfaceChart3DScene-GKRDDN2U.mjs → SurfaceChart3DScene-77JP5XH5.mjs} +1 -1
  18. package/dist/{SurfaceChart3DScene-GKRDDN2U.mjs.br → SurfaceChart3DScene-77JP5XH5.mjs.br} +0 -0
  19. package/dist/SurfaceChart3DScene-77JP5XH5.mjs.gz +0 -0
  20. package/dist/{chunk-FY2AFXKP.mjs → chunk-DD54KUDG.mjs} +29 -4
  21. package/dist/chunk-DD54KUDG.mjs.br +0 -0
  22. package/dist/chunk-DD54KUDG.mjs.gz +0 -0
  23. package/dist/{chunk-IJVDNQLG.js → chunk-FAP6OPLL.js} +275 -249
  24. package/dist/chunk-FAP6OPLL.js.br +0 -0
  25. package/dist/chunk-FAP6OPLL.js.gz +0 -0
  26. package/dist/{chunk-TJ55KUWH.mjs → chunk-FV7HEYCX.mjs} +1069 -114
  27. package/dist/chunk-FV7HEYCX.mjs.br +0 -0
  28. package/dist/chunk-FV7HEYCX.mjs.gz +0 -0
  29. package/dist/{chunk-LXTKPSIG.mjs → chunk-HF6L2CTF.mjs} +1 -1
  30. package/dist/chunk-HF6L2CTF.mjs.br +0 -0
  31. package/dist/chunk-HF6L2CTF.mjs.gz +0 -0
  32. package/dist/{chunk-MMK4K3QI.js → chunk-IOVOQ6ZJ.js} +136 -1
  33. package/dist/chunk-IOVOQ6ZJ.js.br +0 -0
  34. package/dist/chunk-IOVOQ6ZJ.js.gz +0 -0
  35. package/dist/{chunk-JWMXOYSX.js → chunk-IXBM3HWH.js} +2289 -1824
  36. package/dist/chunk-IXBM3HWH.js.br +0 -0
  37. package/dist/chunk-IXBM3HWH.js.gz +0 -0
  38. package/dist/{chunk-H74UXL4Q.js → chunk-KDJBWJJH.js} +1102 -113
  39. package/dist/chunk-KDJBWJJH.js.br +0 -0
  40. package/dist/chunk-KDJBWJJH.js.gz +0 -0
  41. package/dist/{chunk-OHPF2HTP.mjs → chunk-NJ4PTG4F.mjs} +40 -28
  42. package/dist/chunk-NJ4PTG4F.mjs.br +0 -0
  43. package/dist/chunk-NJ4PTG4F.mjs.gz +0 -0
  44. package/dist/{chunk-LCG7WBAG.mjs → chunk-PXYZFWDA.mjs} +625 -160
  45. package/dist/chunk-PXYZFWDA.mjs.br +0 -0
  46. package/dist/chunk-PXYZFWDA.mjs.gz +0 -0
  47. package/dist/{chunk-A7HLINZU.js → chunk-QT6BPOZM.js} +361 -349
  48. package/dist/chunk-QT6BPOZM.js.br +0 -0
  49. package/dist/chunk-QT6BPOZM.js.gz +0 -0
  50. package/dist/{chunk-SL3XPERE.mjs → chunk-RHR7GTDX.mjs} +136 -1
  51. package/dist/chunk-RHR7GTDX.mjs.br +0 -0
  52. package/dist/chunk-RHR7GTDX.mjs.gz +0 -0
  53. package/dist/{chunk-SPJR6MPI.js → chunk-X3SFCKAF.js} +3 -3
  54. package/dist/chunk-X3SFCKAF.js.br +0 -0
  55. package/dist/chunk-X3SFCKAF.js.gz +0 -0
  56. package/dist/i18n.js +4 -4
  57. package/dist/i18n.js.br +0 -0
  58. package/dist/i18n.js.gz +0 -0
  59. package/dist/i18n.mjs +1 -1
  60. package/dist/i18n.mjs.br +0 -0
  61. package/dist/i18n.mjs.gz +0 -0
  62. package/dist/index.d.ts +28 -3
  63. package/dist/index.d.ts.map +1 -1
  64. package/dist/index.js +36 -36
  65. package/dist/index.js.br +0 -0
  66. package/dist/index.js.gz +0 -0
  67. package/dist/index.mjs +6 -6
  68. package/dist/index.mjs.br +0 -0
  69. package/dist/index.mjs.gz +0 -0
  70. package/dist/internals.d.ts +38 -3
  71. package/dist/internals.d.ts.map +1 -1
  72. package/dist/internals.js +79 -79
  73. package/dist/internals.js.br +0 -0
  74. package/dist/internals.js.gz +0 -0
  75. package/dist/internals.mjs +4 -4
  76. package/dist/internals.mjs.br +0 -0
  77. package/dist/internals.mjs.gz +0 -0
  78. package/dist/pptx-viewer.css +1 -1
  79. package/dist/pptx-viewer.css.br +0 -0
  80. package/dist/pptx-viewer.css.gz +0 -0
  81. package/dist/{useViewerBuildingBlocks-CpUwhBD5.d.ts → useViewerBuildingBlocks-YvCYsxa3.d.ts} +21 -5
  82. package/dist/useViewerBuildingBlocks-YvCYsxa3.d.ts.map +1 -0
  83. package/dist/viewer/index.js +22 -22
  84. package/dist/viewer/index.js.br +0 -0
  85. package/dist/viewer/index.js.gz +0 -0
  86. package/dist/viewer/index.mjs +6 -6
  87. package/dist/viewer/index.mjs.br +0 -0
  88. package/dist/viewer/index.mjs.gz +0 -0
  89. package/package.json +1 -1
  90. package/dist/AiChatPanel-35CHYS5N.mjs.br +0 -0
  91. package/dist/AiChatPanel-35CHYS5N.mjs.gz +0 -0
  92. package/dist/AiChatPanel-KTMWRUD5.js.br +0 -0
  93. package/dist/AiChatPanel-KTMWRUD5.js.gz +0 -0
  94. package/dist/Model3DScene-2VMN3B65.mjs.br +0 -0
  95. package/dist/Model3DScene-2VMN3B65.mjs.gz +0 -0
  96. package/dist/Model3DScene-TMNUKCL6.js.br +0 -0
  97. package/dist/Model3DScene-TMNUKCL6.js.gz +0 -0
  98. package/dist/SurfaceChart3DScene-GKRDDN2U.mjs.gz +0 -0
  99. package/dist/SurfaceChart3DScene-KPNP3QD5.js.br +0 -0
  100. package/dist/SurfaceChart3DScene-KPNP3QD5.js.gz +0 -0
  101. package/dist/chunk-A7HLINZU.js.br +0 -0
  102. package/dist/chunk-A7HLINZU.js.gz +0 -0
  103. package/dist/chunk-FY2AFXKP.mjs.br +0 -0
  104. package/dist/chunk-FY2AFXKP.mjs.gz +0 -0
  105. package/dist/chunk-H74UXL4Q.js.br +0 -0
  106. package/dist/chunk-H74UXL4Q.js.gz +0 -0
  107. package/dist/chunk-IJVDNQLG.js.br +0 -0
  108. package/dist/chunk-IJVDNQLG.js.gz +0 -0
  109. package/dist/chunk-JWMXOYSX.js.br +0 -0
  110. package/dist/chunk-JWMXOYSX.js.gz +0 -0
  111. package/dist/chunk-LCG7WBAG.mjs.br +0 -0
  112. package/dist/chunk-LCG7WBAG.mjs.gz +0 -0
  113. package/dist/chunk-LXTKPSIG.mjs.br +0 -0
  114. package/dist/chunk-LXTKPSIG.mjs.gz +0 -0
  115. package/dist/chunk-MMK4K3QI.js.br +0 -0
  116. package/dist/chunk-MMK4K3QI.js.gz +0 -0
  117. package/dist/chunk-OHPF2HTP.mjs.br +0 -0
  118. package/dist/chunk-OHPF2HTP.mjs.gz +0 -0
  119. package/dist/chunk-SL3XPERE.mjs.br +0 -0
  120. package/dist/chunk-SL3XPERE.mjs.gz +0 -0
  121. package/dist/chunk-SPJR6MPI.js.br +0 -0
  122. package/dist/chunk-SPJR6MPI.js.gz +0 -0
  123. package/dist/chunk-TJ55KUWH.mjs.br +0 -0
  124. package/dist/chunk-TJ55KUWH.mjs.gz +0 -0
  125. package/dist/useViewerBuildingBlocks-CpUwhBD5.d.ts.map +0 -1
Binary file
Binary file
@@ -1960,6 +1960,48 @@ var translationsEn = {
1960
1960
  "pptx.animation.sequence.byParagraph": "By Paragraph",
1961
1961
  "pptx.animation.sequence.byWord": "By Word",
1962
1962
  "pptx.animation.sequence.byLetter": "By Letter",
1963
+ // Motion-path authoring: the gallery families/presets, the panel row, and
1964
+ // the on-canvas path editor handles.
1965
+ "pptx.animation.motionPath": "Motion Paths",
1966
+ "pptx.animation.motionPath.family.lines": "Lines",
1967
+ "pptx.animation.motionPath.family.arcs": "Arcs",
1968
+ "pptx.animation.motionPath.family.turns": "Turns",
1969
+ "pptx.animation.motionPath.family.shapes": "Shapes",
1970
+ "pptx.animation.motionPath.family.loops": "Loops",
1971
+ "pptx.animation.motionPath.preset.lineRight": "Right",
1972
+ "pptx.animation.motionPath.preset.lineLeft": "Left",
1973
+ "pptx.animation.motionPath.preset.lineDown": "Down",
1974
+ "pptx.animation.motionPath.preset.lineUp": "Up",
1975
+ "pptx.animation.motionPath.preset.lineDiagonalUpRight": "Diagonal Up Right",
1976
+ "pptx.animation.motionPath.preset.lineDiagonalDownRight": "Diagonal Down Right",
1977
+ "pptx.animation.motionPath.preset.lineDiagonalUpLeft": "Diagonal Up Left",
1978
+ "pptx.animation.motionPath.preset.lineDiagonalDownLeft": "Diagonal Down Left",
1979
+ "pptx.animation.motionPath.preset.arcUp": "Arc Up",
1980
+ "pptx.animation.motionPath.preset.arcDown": "Arc Down",
1981
+ "pptx.animation.motionPath.preset.arcRight": "Arc Right",
1982
+ "pptx.animation.motionPath.preset.arcLeft": "Arc Left",
1983
+ "pptx.animation.motionPath.preset.turnUp": "Turn Up",
1984
+ "pptx.animation.motionPath.preset.turnDown": "Turn Down",
1985
+ "pptx.animation.motionPath.preset.turnRight": "Turn Right",
1986
+ "pptx.animation.motionPath.preset.turnLeft": "Turn Left",
1987
+ "pptx.animation.motionPath.preset.sCurve": "S Curve",
1988
+ "pptx.animation.motionPath.preset.zigzag": "Zigzag",
1989
+ "pptx.animation.motionPath.preset.circle": "Circle",
1990
+ "pptx.animation.motionPath.preset.square": "Square",
1991
+ "pptx.animation.motionPath.preset.triangle": "Triangle",
1992
+ "pptx.animation.motionPath.preset.diamond": "Diamond",
1993
+ "pptx.animation.motionPath.preset.hexagon": "Hexagon",
1994
+ "pptx.animation.motionPath.preset.loopDeLoop": "Loop de Loop",
1995
+ "pptx.animation.motionPath.preset.figureEight": "Figure 8",
1996
+ "pptx.animation.motionPath.preset.spiral": "Spiral",
1997
+ "pptx.animation.motionPath.label": "Motion Path",
1998
+ "pptx.animation.motionPath.custom": "Custom Path",
1999
+ "pptx.animation.motionPath.none": "No motion path",
2000
+ "pptx.animation.motionPath.remove": "Remove motion path",
2001
+ "pptx.animation.motionPath.editHint": "Drag the end point on the slide to retarget the path",
2002
+ "pptx.animation.motionPath.endHandle": "Motion path end point",
2003
+ "pptx.animation.motionPath.overlay": "Motion path preview",
2004
+ "pptx.animations.motionPathGalleryAria": "Motion Paths: Lines, Arcs, Turns, Shapes, and Loops",
1963
2005
  // --- 2026-07-03 missing-key sweep: keys used by Vue/Angular with no
1964
2006
  // existing dictionary entry (React has 0 such gaps and is the ground-
1965
2007
  // truth reference these were derived from). Appended flat rather than
@@ -2117,6 +2159,11 @@ var translationsEn = {
2117
2159
  "pptx.view.masterViews": "Master Views",
2118
2160
  "pptx.view.normal": "Normal",
2119
2161
  "pptx.view.presentationViews": "Presentation Views",
2162
+ "pptx.view.outlineView": "Outline View",
2163
+ "pptx.view.outlineViewTooltip": "Outline view: edit the deck as indented text",
2164
+ "pptx.outline.titleLine": "Slide title",
2165
+ "pptx.outline.bodyLine": "Outline line",
2166
+ "pptx.outline.hint": "Tab and Shift+Tab change the level. Enter adds a line; on a title it adds a slide.",
2120
2167
  "pptx.view.readingView": "Reading View",
2121
2168
  "pptx.view.selection": "Selection",
2122
2169
  "pptx.view.slideMasterTooltip": "Edit slide masters and layouts",
@@ -3033,7 +3080,95 @@ var translationsEn = {
3033
3080
  "pptx.backstage.card.share.title": "Share with People",
3034
3081
  "pptx.backstage.card.share.body": "Invite collaborators and work on the presentation together.",
3035
3082
  "pptx.backstage.card.sharePackage.title": "Package for Sharing",
3036
- "pptx.backstage.card.sharePackage.body": "Download a self-contained package for offline sharing."
3083
+ "pptx.backstage.card.sharePackage.body": "Download a self-contained package for offline sharing.",
3084
+ // OOXML wire tokens that controls used to render verbatim. Wording follows
3085
+ // PowerPoint's own dialogs; see `render/schema-label-keys.ts` for the
3086
+ // token -> key lookups these back.
3087
+ "pptx.themeColor.dark1": "Dark 1",
3088
+ "pptx.themeColor.light1": "Light 1",
3089
+ "pptx.themeColor.dark2": "Dark 2",
3090
+ "pptx.themeColor.light2": "Light 2",
3091
+ "pptx.themeColor.accent1": "Accent 1",
3092
+ "pptx.themeColor.accent2": "Accent 2",
3093
+ "pptx.themeColor.accent3": "Accent 3",
3094
+ "pptx.themeColor.accent4": "Accent 4",
3095
+ "pptx.themeColor.accent5": "Accent 5",
3096
+ "pptx.themeColor.accent6": "Accent 6",
3097
+ "pptx.themeColor.hyperlink": "Hyperlink",
3098
+ "pptx.themeColor.followedHyperlink": "Followed Hyperlink",
3099
+ "pptx.smartart.schemeColorful1": "Colourful 1",
3100
+ "pptx.smartart.schemeColorful2": "Colourful 2",
3101
+ "pptx.smartart.schemeColorful3": "Colourful 3",
3102
+ "pptx.smartart.schemeMonochromatic1": "Monochromatic 1",
3103
+ "pptx.smartart.schemeMonochromatic2": "Monochromatic 2",
3104
+ "pptx.smartart.styleFlat": "Flat",
3105
+ "pptx.smartart.styleModerate": "Moderate",
3106
+ "pptx.smartart.styleIntense": "Intense",
3107
+ "pptx.smartart.category.matrix": "Matrix",
3108
+ "pptx.smartart.category.pyramid": "Pyramid",
3109
+ "pptx.smartart.category.funnel": "Funnel",
3110
+ "pptx.smartart.category.target": "Target",
3111
+ "pptx.smartart.category.gear": "Gear",
3112
+ "pptx.smartart.category.venn": "Venn",
3113
+ "pptx.smartart.category.timeline": "Timeline",
3114
+ "pptx.smartart.category.chevron": "Chevron",
3115
+ "pptx.smartart.category.bending": "Bending",
3116
+ "pptx.chart.typeOfPie": "Pie of Pie",
3117
+ "pptx.chart.typeBar3D": "Bar (3-D)",
3118
+ "pptx.chart.typeLine3D": "Line (3-D)",
3119
+ "pptx.chart.typePie3D": "Pie (3-D)",
3120
+ "pptx.chart.typeArea3D": "Area (3-D)",
3121
+ "pptx.chart.typeSurface": "Surface",
3122
+ "pptx.chart.typeHistogram": "Histogram",
3123
+ "pptx.chart.typeFunnel": "Funnel",
3124
+ "pptx.chart.typeTreemap": "Treemap",
3125
+ "pptx.chart.typeSunburst": "Sunburst",
3126
+ "pptx.chart.typeBoxWhisker": "Box and Whisker",
3127
+ "pptx.chart.typeRegionMap": "Filled Map",
3128
+ "pptx.chart.typeUnknown": "Unknown",
3129
+ "pptx.chart.groupingStandard": "Standard",
3130
+ "pptx.chart.seriesAxis": "Series axis",
3131
+ "pptx.chart.labelPosAbove": "Above",
3132
+ "pptx.chart.labelPosBelow": "Below",
3133
+ "pptx.chart.labelPosLeft": "Left",
3134
+ "pptx.chart.labelPosRight": "Right",
3135
+ "pptx.chart.errorBarCustom": "Custom",
3136
+ "pptx.chart.errorBarDirectionX": "Horizontal (X)",
3137
+ "pptx.chart.errorBarDirectionY": "Vertical (Y)",
3138
+ "pptx.transitionPresets.conveyor": "Conveyor",
3139
+ "pptx.transitionPresets.doors": "Doors",
3140
+ "pptx.transitionPresets.ferris": "Ferris Wheel",
3141
+ "pptx.transitionPresets.flash": "Flash",
3142
+ "pptx.transitionPresets.flythrough": "Fly Through",
3143
+ "pptx.transitionPresets.gallery": "Gallery",
3144
+ "pptx.transitionPresets.glitter": "Glitter",
3145
+ "pptx.transitionPresets.honeycomb": "Honeycomb",
3146
+ "pptx.transitionPresets.pan": "Pan",
3147
+ "pptx.transitionPresets.prism": "Prism",
3148
+ "pptx.transitionPresets.reveal": "Reveal",
3149
+ "pptx.transitionPresets.ripple": "Ripple",
3150
+ "pptx.transitionPresets.shred": "Shred",
3151
+ "pptx.transitionPresets.switch": "Switch",
3152
+ "pptx.transitionPresets.vortex": "Vortex",
3153
+ "pptx.transitionPresets.warp": "Warp",
3154
+ "pptx.transitionPresets.wheelReverse": "Reverse Wheel",
3155
+ "pptx.transitionPresets.window": "Window",
3156
+ "pptx.transitionPresets.cube": "Cube",
3157
+ "pptx.transitionPresets.flip": "Flip",
3158
+ "pptx.transitionPresets.rotate": "Rotate",
3159
+ "pptx.transitionPresets.orbit": "Orbit",
3160
+ "pptx.transitionPresets.fallOver": "Fall Over",
3161
+ "pptx.transitionPresets.drape": "Drape",
3162
+ "pptx.transitionPresets.curtains": "Curtains",
3163
+ "pptx.transitionPresets.wind": "Wind",
3164
+ "pptx.transitionPresets.prestige": "Prestige",
3165
+ "pptx.transitionPresets.fracture": "Fracture",
3166
+ "pptx.transitionPresets.crush": "Crush",
3167
+ "pptx.transitionPresets.peelOff": "Peel Off",
3168
+ "pptx.transitionPresets.pageCurlDouble": "Page Curl Double",
3169
+ "pptx.transitionPresets.pageCurlSingle": "Page Curl Single",
3170
+ "pptx.transitionPresets.airplane": "Airplane",
3171
+ "pptx.transitionPresets.origami": "Origami"
3037
3172
  };
3038
3173
  function keyToLabel(key) {
3039
3174
  const last = key.split(".").pop() ?? key;
Binary file
Binary file
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkH74UXL4Q_js = require('./chunk-H74UXL4Q.js');
3
+ var chunkKDJBWJJH_js = require('./chunk-KDJBWJJH.js');
4
4
  var chunk4VNS5WPM_js = require('./chunk-4VNS5WPM.js');
5
5
  var mcp = require('pptx-viewer-mcp');
6
6
  var mcpSchemas = require('pptx-viewer-mcp/schemas');
@@ -14879,7 +14879,7 @@ async function buildSlideMarkdown(slides, slideIndex2, meta3, options = {}) {
14879
14879
  };
14880
14880
  let markdown;
14881
14881
  try {
14882
- const converter = new chunkH74UXL4Q_js.PptxMarkdownConverter(
14882
+ const converter = new chunkKDJBWJJH_js.PptxMarkdownConverter(
14883
14883
  "",
14884
14884
  {
14885
14885
  sourceName: meta3.title ?? "deck.pptx",
@@ -15470,7 +15470,7 @@ var getTheme = (ctx) => {
15470
15470
  name: theme?.name,
15471
15471
  colorScheme: theme?.colorScheme,
15472
15472
  fontScheme: theme?.fontScheme,
15473
- availablePresets: Object.keys(chunkH74UXL4Q_js.ThemePresets)
15473
+ availablePresets: Object.keys(chunkKDJBWJJH_js.ThemePresets)
15474
15474
  };
15475
15475
  };
15476
15476
  var readExecutors = {
Binary file
Binary file
package/dist/i18n.js CHANGED
@@ -1,19 +1,19 @@
1
1
  'use strict';
2
2
 
3
- var chunkMMK4K3QI_js = require('./chunk-MMK4K3QI.js');
3
+ var chunkIOVOQ6ZJ_js = require('./chunk-IOVOQ6ZJ.js');
4
4
  require('./chunk-4VNS5WPM.js');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "LOCALE_CATALOG", {
9
9
  enumerable: true,
10
- get: function () { return chunkMMK4K3QI_js.LOCALE_CATALOG; }
10
+ get: function () { return chunkIOVOQ6ZJ_js.LOCALE_CATALOG; }
11
11
  });
12
12
  Object.defineProperty(exports, "keyToLabel", {
13
13
  enumerable: true,
14
- get: function () { return chunkMMK4K3QI_js.keyToLabel; }
14
+ get: function () { return chunkIOVOQ6ZJ_js.keyToLabel; }
15
15
  });
16
16
  Object.defineProperty(exports, "translationsEn", {
17
17
  enumerable: true,
18
- get: function () { return chunkMMK4K3QI_js.translationsEn; }
18
+ get: function () { return chunkIOVOQ6ZJ_js.translationsEn; }
19
19
  });
package/dist/i18n.js.br CHANGED
Binary file
package/dist/i18n.js.gz CHANGED
Binary file
package/dist/i18n.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export { LOCALE_CATALOG, keyToLabel, translationsEn } from './chunk-SL3XPERE.mjs';
1
+ export { LOCALE_CATALOG, keyToLabel, translationsEn } from './chunk-RHR7GTDX.mjs';
2
2
  import './chunk-XGB3TDIC.mjs';
package/dist/i18n.mjs.br CHANGED
Binary file
package/dist/i18n.mjs.gz CHANGED
Binary file
package/dist/index.d.ts CHANGED
@@ -8621,6 +8621,15 @@ interface ElementAnimationState {
8621
8621
  */
8622
8622
  animatesStroke?: boolean;
8623
8623
  }
8624
+ //#endregion
8625
+ //#region src/render/motion-path-authoring.d.ts
8626
+ /**
8627
+ * The bucket a ribbon gallery click targets. Widens the three preset buckets
8628
+ * with `motionPath` so a binding's single "apply animation" callback can carry
8629
+ * a motion-path preset id too, instead of every binding growing a second
8630
+ * callback threaded through the same six components.
8631
+ */
8632
+ type AnimationApplyGroup = 'entrance' | 'emphasis' | 'exit' | 'motionPath';
8624
8633
  /** The unit system used for ruler display. */
8625
8634
  type RulerUnit = 'inches' | 'centimetres';
8626
8635
  //#endregion
@@ -9442,8 +9451,12 @@ interface ToolbarProps {
9442
9451
  onToggleInspector: () => void;
9443
9452
  /** Opens the inspector pane and switches to the properties tab (for animation panel). */
9444
9453
  onOpenAnimationPanel: () => void;
9445
- /** Adds an animation preset to the selected element. */
9446
- onAddAnimation?: (preset: string, group: 'entrance' | 'emphasis' | 'exit') => void;
9454
+ /**
9455
+ * Adds an animation to the selected element. For the three preset buckets
9456
+ * `preset` is a `PptxAnimationPreset`; for `motionPath` it is a motion-path
9457
+ * catalogue id.
9458
+ */
9459
+ onAddAnimation?: (preset: string, group: AnimationApplyGroup) => void;
9447
9460
  /** Removes all animations from the selected element. */
9448
9461
  onRemoveAnimation?: () => void;
9449
9462
  onToggleCompactToolbar: () => void;
@@ -9527,6 +9540,8 @@ interface ToolbarProps {
9527
9540
  onToggleSlideSorter: () => void;
9528
9541
  /** Enter PowerPoint's Reading View (full window, not the fullscreen show). */
9529
9542
  onOpenReadingView: () => void;
9543
+ /** Enter PowerPoint's Outline view: the deck as editable indented text. */
9544
+ onOpenOutlineView: () => void;
9530
9545
  onUpdateTextStyle: (updates: Partial<TextStyle>) => void;
9531
9546
  /** Rewrite the selected text's characters (PowerPoint's Aa "Change Case" dropdown). */
9532
9547
  onTransformTextCase: (mode: ChangeCaseMode) => void;
@@ -9571,6 +9586,10 @@ interface ToolbarProps {
9571
9586
  eyedropperActive?: boolean;
9572
9587
  onToggleEyedropper?: () => void;
9573
9588
  onOpenSetUpSlideShow?: () => void;
9589
+ /** PowerPoint's Hide Slide toggle for the active slide (Slide Show tab). */
9590
+ onToggleHideSlide?: () => void;
9591
+ /** Whether the active slide is hidden, for Hide Slide's pressed state. */
9592
+ activeSlideHidden?: boolean;
9574
9593
  onOpenBroadcastDialog?: () => void;
9575
9594
  onToggleSubtitles?: () => void;
9576
9595
  showSubtitles?: boolean;
@@ -9705,6 +9724,12 @@ interface SlideCanvasProps {
9705
9724
  onMoveGuide?: (guideId: string, position: number) => void;
9706
9725
  onDeleteGuide?: (guideId: string) => void;
9707
9726
  onCreateGuideFromRuler?: (axis: 'h' | 'v', positionPx: number) => void;
9727
+ /**
9728
+ * Commits the slide's animation list after an on-canvas motion-path edit
9729
+ * (dragging the path's end handle). Absent means the path is drawn but
9730
+ * read-only.
9731
+ */
9732
+ onUpdateSlideAnimations?: (animations: PptxElementAnimation[]) => void;
9708
9733
  /** When true, shows connection sites on shapes and enables connector drawing. */
9709
9734
  connectorCreationMode?: boolean;
9710
9735
  /** Called when a new connector is created between two shapes. */
@@ -9796,7 +9821,7 @@ declare function useViewerBuildingBlocks(input: UseViewerBuildingBlocksInput): V
9796
9821
  declare function Toolbar(p: ToolbarProps): React$1__default.ReactElement;
9797
9822
  //#endregion
9798
9823
  //#region src/viewer/components/SlideCanvas.d.ts
9799
- declare function SlideCanvas({ activeSlide, templateElements, canvasSize, zoom, mode, canEdit, editTemplateMode, selectedElementIdSet, selectedElement, inlineEditingElementId, inlineEditingText, spellCheckEnabled, mediaDataUrls, tableEditorState, marqueeSelectionState, snapLines, showGrid, gridSpacingPx, showRulers, rulerUnit, guides, presentationElementStates, presentationKeyframesCss, onClick, onDoubleClick, onMouseDown, onContextMenu, onCanvasMouseDown, onResizePointerDown, onAdjustmentPointerDown, onRotate, onInlineEditChange, onInlineEditCommit, onInlineEditCancel, onTableCellSelect, onCommitCellEdit, onUpdateSmartArtElement, onFormatText, onResizeTableColumns, onResizeTableRow, findResults, findResultIndex, activeSlideIndex, activeTool, drawingColor, drawingWidth, isDrawingRef, onAddInkElement, onAddFreeformShape, onEraseInkElement, onActionClick, onHyperlinkClick, comments, showCommentMarkers, onCommentMarkerClick, onMoveGuide, onDeleteGuide, onCreateGuideFromRuler, connectorCreationMode, onCreateConnector, allSlides, onZoomClick, sourceSlideIndex, fieldContext, tableStyleContext, collaborationOverlay, aiActive }: SlideCanvasProps): React$1.JSX.Element;
9824
+ declare function SlideCanvas({ activeSlide, templateElements, canvasSize, zoom, mode, canEdit, editTemplateMode, selectedElementIdSet, selectedElement, inlineEditingElementId, inlineEditingText, spellCheckEnabled, mediaDataUrls, tableEditorState, marqueeSelectionState, snapLines, showGrid, gridSpacingPx, showRulers, rulerUnit, guides, presentationElementStates, presentationKeyframesCss, onClick, onDoubleClick, onMouseDown, onContextMenu, onCanvasMouseDown, onResizePointerDown, onAdjustmentPointerDown, onRotate, onInlineEditChange, onInlineEditCommit, onInlineEditCancel, onTableCellSelect, onCommitCellEdit, onUpdateSmartArtElement, onFormatText, onResizeTableColumns, onResizeTableRow, findResults, findResultIndex, activeSlideIndex, activeTool, drawingColor, drawingWidth, isDrawingRef, onAddInkElement, onAddFreeformShape, onEraseInkElement, onActionClick, onHyperlinkClick, comments, showCommentMarkers, onCommentMarkerClick, onMoveGuide, onDeleteGuide, onCreateGuideFromRuler, connectorCreationMode, onCreateConnector, onUpdateSlideAnimations, allSlides, onZoomClick, sourceSlideIndex, fieldContext, tableStyleContext, collaborationOverlay, aiActive }: SlideCanvasProps): React$1.JSX.Element;
9800
9825
  //#endregion
9801
9826
  //#region src/lib/canvas-export.d.ts
9802
9827
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../src/viewer/components/Toolbar.tsx","../src/viewer/components/SlideCanvas.tsx","../src/lib/canvas-export.ts"],"mappings":";;;;;;;;iBA4BgB,QAAQ,GAAG,eAAe,MAAM;;;iBCRhC,cACf,aACA,kBACA,YACA,MACA,MACA,SACA,kBACA,sBACA,iBACA,wBACA,mBACA,mBACA,eACA,kBACA,uBACA,WACA,UACA,eACA,YACA,WACA,QACA,2BACA,0BACA,SACA,eACA,aACA,eACA,mBACA,qBACA,yBACA,UACA,oBACA,oBACA,oBACA,mBACA,kBACA,yBACA,cACA,sBACA,kBACA,aACA,iBACA,kBACA,YACA,cACA,cACA,cACA,iBACA,oBACA,mBACA,eACA,kBACA,UACA,oBACA,sBACA,aACA,eACA,wBACA,uBACA,mBACA,WACA,aACA,kBACA,cACA,mBACA,sBACA,YACE,mCAAgB,IAAA;;;;;;;;;;;;;;;;;;;iBCrDG,eACrB,SAAS,aACT,UAAS,QAAQ,WACf,QAAQ"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../src/viewer/components/Toolbar.tsx","../src/viewer/components/SlideCanvas.tsx","../src/lib/canvas-export.ts"],"mappings":";;;;;;;;iBA4BgB,QAAQ,GAAG,eAAe,MAAM;;;iBCJhC,cACf,aACA,kBACA,YACA,MACA,MACA,SACA,kBACA,sBACA,iBACA,wBACA,mBACA,mBACA,eACA,kBACA,uBACA,WACA,UACA,eACA,YACA,WACA,QACA,2BACA,0BACA,SACA,eACA,aACA,eACA,mBACA,qBACA,yBACA,UACA,oBACA,oBACA,oBACA,mBACA,kBACA,yBACA,cACA,sBACA,kBACA,aACA,iBACA,kBACA,YACA,cACA,cACA,cACA,iBACA,oBACA,mBACA,eACA,kBACA,UACA,oBACA,sBACA,aACA,eACA,wBACA,uBACA,mBACA,yBACA,WACA,aACA,kBACA,cACA,mBACA,sBACA,YACE,mCAAgB,IAAA;;;;;;;;;;;;;;;;;;;iBC1DG,eACrB,SAAS,aACT,UAAS,QAAQ,WACf,QAAQ"}
package/dist/index.js CHANGED
@@ -1,132 +1,132 @@
1
1
  'use strict';
2
2
 
3
- var chunkJWMXOYSX_js = require('./chunk-JWMXOYSX.js');
4
- require('./chunk-SPJR6MPI.js');
5
- var chunkA7HLINZU_js = require('./chunk-A7HLINZU.js');
6
- var chunkIJVDNQLG_js = require('./chunk-IJVDNQLG.js');
7
- var chunkMMK4K3QI_js = require('./chunk-MMK4K3QI.js');
8
- var chunkH74UXL4Q_js = require('./chunk-H74UXL4Q.js');
3
+ var chunkIXBM3HWH_js = require('./chunk-IXBM3HWH.js');
4
+ require('./chunk-X3SFCKAF.js');
5
+ var chunkQT6BPOZM_js = require('./chunk-QT6BPOZM.js');
6
+ var chunkFAP6OPLL_js = require('./chunk-FAP6OPLL.js');
7
+ var chunkIOVOQ6ZJ_js = require('./chunk-IOVOQ6ZJ.js');
8
+ var chunkKDJBWJJH_js = require('./chunk-KDJBWJJH.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 chunkJWMXOYSX_js.PowerPointViewer; }
15
+ get: function () { return chunkIXBM3HWH_js.PowerPointViewer; }
16
16
  });
17
17
  Object.defineProperty(exports, "SlideCanvas", {
18
18
  enumerable: true,
19
- get: function () { return chunkJWMXOYSX_js.SlideCanvas; }
19
+ get: function () { return chunkIXBM3HWH_js.SlideCanvas; }
20
20
  });
21
21
  Object.defineProperty(exports, "Toolbar", {
22
22
  enumerable: true,
23
- get: function () { return chunkJWMXOYSX_js.Toolbar; }
23
+ get: function () { return chunkIXBM3HWH_js.Toolbar; }
24
24
  });
25
25
  Object.defineProperty(exports, "ViewerThemeProvider", {
26
26
  enumerable: true,
27
- get: function () { return chunkJWMXOYSX_js.ViewerThemeProvider; }
27
+ get: function () { return chunkIXBM3HWH_js.ViewerThemeProvider; }
28
28
  });
29
29
  Object.defineProperty(exports, "useViewerTheme", {
30
30
  enumerable: true,
31
- get: function () { return chunkJWMXOYSX_js.useViewerTheme; }
31
+ get: function () { return chunkIXBM3HWH_js.useViewerTheme; }
32
32
  });
33
33
  Object.defineProperty(exports, "renderToCanvas", {
34
34
  enumerable: true,
35
- get: function () { return chunkA7HLINZU_js.renderToCanvas; }
35
+ get: function () { return chunkQT6BPOZM_js.renderToCanvas; }
36
36
  });
37
37
  Object.defineProperty(exports, "useViewerBuildingBlocks", {
38
38
  enumerable: true,
39
- get: function () { return chunkA7HLINZU_js.useViewerBuildingBlocks; }
39
+ get: function () { return chunkQT6BPOZM_js.useViewerBuildingBlocks; }
40
40
  });
41
41
  Object.defineProperty(exports, "getAnimationInitialStyle", {
42
42
  enumerable: true,
43
- get: function () { return chunkIJVDNQLG_js.getAnimationInitialStyle; }
43
+ get: function () { return chunkFAP6OPLL_js.getAnimationInitialStyle; }
44
44
  });
45
45
  Object.defineProperty(exports, "LOCALE_CATALOG", {
46
46
  enumerable: true,
47
- get: function () { return chunkMMK4K3QI_js.LOCALE_CATALOG; }
47
+ get: function () { return chunkIOVOQ6ZJ_js.LOCALE_CATALOG; }
48
48
  });
49
49
  Object.defineProperty(exports, "AVATAR_COLOR_SWATCHES", {
50
50
  enumerable: true,
51
- get: function () { return chunkH74UXL4Q_js.AVATAR_COLOR_SWATCHES; }
51
+ get: function () { return chunkKDJBWJJH_js.AVATAR_COLOR_SWATCHES; }
52
52
  });
53
53
  Object.defineProperty(exports, "DEFAULT_VIEWER_PROFILE", {
54
54
  enumerable: true,
55
- get: function () { return chunkH74UXL4Q_js.DEFAULT_VIEWER_PROFILE; }
55
+ get: function () { return chunkKDJBWJJH_js.DEFAULT_VIEWER_PROFILE; }
56
56
  });
57
57
  Object.defineProperty(exports, "THEME_CATALOG", {
58
58
  enumerable: true,
59
- get: function () { return chunkH74UXL4Q_js.THEME_CATALOG; }
59
+ get: function () { return chunkKDJBWJJH_js.THEME_CATALOG; }
60
60
  });
61
61
  Object.defineProperty(exports, "VIEWER_PREFS_STORAGE_KEY", {
62
62
  enumerable: true,
63
- get: function () { return chunkH74UXL4Q_js.VIEWER_PREFS_STORAGE_KEY; }
63
+ get: function () { return chunkKDJBWJJH_js.VIEWER_PREFS_STORAGE_KEY; }
64
64
  });
65
65
  Object.defineProperty(exports, "clearAllLocalViewerData", {
66
66
  enumerable: true,
67
- get: function () { return chunkH74UXL4Q_js.clearAllLocalViewerData; }
67
+ get: function () { return chunkKDJBWJJH_js.clearAllLocalViewerData; }
68
68
  });
69
69
  Object.defineProperty(exports, "clearStoredViewerPrefs", {
70
70
  enumerable: true,
71
- get: function () { return chunkH74UXL4Q_js.clearStoredViewerPrefs; }
71
+ get: function () { return chunkKDJBWJJH_js.clearStoredViewerPrefs; }
72
72
  });
73
73
  Object.defineProperty(exports, "defaultCssVars", {
74
74
  enumerable: true,
75
- get: function () { return chunkH74UXL4Q_js.defaultCssVars; }
75
+ get: function () { return chunkKDJBWJJH_js.defaultCssVars; }
76
76
  });
77
77
  Object.defineProperty(exports, "defaultRadius", {
78
78
  enumerable: true,
79
- get: function () { return chunkH74UXL4Q_js.defaultRadius; }
79
+ get: function () { return chunkKDJBWJJH_js.defaultRadius; }
80
80
  });
81
81
  Object.defineProperty(exports, "defaultThemeColors", {
82
82
  enumerable: true,
83
- get: function () { return chunkH74UXL4Q_js.defaultThemeColors; }
83
+ get: function () { return chunkKDJBWJJH_js.defaultThemeColors; }
84
84
  });
85
85
  Object.defineProperty(exports, "getLocalStorageUsageSummary", {
86
86
  enumerable: true,
87
- get: function () { return chunkH74UXL4Q_js.getLocalStorageUsageSummary; }
87
+ get: function () { return chunkKDJBWJJH_js.getLocalStorageUsageSummary; }
88
88
  });
89
89
  Object.defineProperty(exports, "readStoredViewerPrefs", {
90
90
  enumerable: true,
91
- get: function () { return chunkH74UXL4Q_js.readStoredViewerPrefs; }
91
+ get: function () { return chunkKDJBWJJH_js.readStoredViewerPrefs; }
92
92
  });
93
93
  Object.defineProperty(exports, "resolveProfileInitial", {
94
94
  enumerable: true,
95
- get: function () { return chunkH74UXL4Q_js.resolveProfileInitial; }
95
+ get: function () { return chunkKDJBWJJH_js.resolveProfileInitial; }
96
96
  });
97
97
  Object.defineProperty(exports, "resolveThemeCatalogEntry", {
98
98
  enumerable: true,
99
- get: function () { return chunkH74UXL4Q_js.resolveThemeCatalogEntry; }
99
+ get: function () { return chunkKDJBWJJH_js.resolveThemeCatalogEntry; }
100
100
  });
101
101
  Object.defineProperty(exports, "saveViewerProfile", {
102
102
  enumerable: true,
103
- get: function () { return chunkH74UXL4Q_js.saveViewerProfile; }
103
+ get: function () { return chunkKDJBWJJH_js.saveViewerProfile; }
104
104
  });
105
105
  Object.defineProperty(exports, "themeToCssVars", {
106
106
  enumerable: true,
107
- get: function () { return chunkH74UXL4Q_js.themeToCssVars; }
107
+ get: function () { return chunkKDJBWJJH_js.themeToCssVars; }
108
108
  });
109
109
  Object.defineProperty(exports, "vermilionDarkColors", {
110
110
  enumerable: true,
111
- get: function () { return chunkH74UXL4Q_js.vermilionDarkColors; }
111
+ get: function () { return chunkKDJBWJJH_js.vermilionDarkColors; }
112
112
  });
113
113
  Object.defineProperty(exports, "vermilionDarkTheme", {
114
114
  enumerable: true,
115
- get: function () { return chunkH74UXL4Q_js.vermilionDarkTheme; }
115
+ get: function () { return chunkKDJBWJJH_js.vermilionDarkTheme; }
116
116
  });
117
117
  Object.defineProperty(exports, "vermilionLightColors", {
118
118
  enumerable: true,
119
- get: function () { return chunkH74UXL4Q_js.vermilionLightColors; }
119
+ get: function () { return chunkKDJBWJJH_js.vermilionLightColors; }
120
120
  });
121
121
  Object.defineProperty(exports, "vermilionLightTheme", {
122
122
  enumerable: true,
123
- get: function () { return chunkH74UXL4Q_js.vermilionLightTheme; }
123
+ get: function () { return chunkKDJBWJJH_js.vermilionLightTheme; }
124
124
  });
125
125
  Object.defineProperty(exports, "vermilionRadius", {
126
126
  enumerable: true,
127
- get: function () { return chunkH74UXL4Q_js.vermilionRadius; }
127
+ get: function () { return chunkKDJBWJJH_js.vermilionRadius; }
128
128
  });
129
129
  Object.defineProperty(exports, "writeStoredViewerPrefs", {
130
130
  enumerable: true,
131
- get: function () { return chunkH74UXL4Q_js.writeStoredViewerPrefs; }
131
+ get: function () { return chunkKDJBWJJH_js.writeStoredViewerPrefs; }
132
132
  });
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, Toolbar, ViewerThemeProvider, useViewerTheme } from './chunk-LCG7WBAG.mjs';
2
- import './chunk-LXTKPSIG.mjs';
3
- export { renderToCanvas, useViewerBuildingBlocks } from './chunk-OHPF2HTP.mjs';
4
- export { getAnimationInitialStyle } from './chunk-FY2AFXKP.mjs';
5
- export { LOCALE_CATALOG } from './chunk-SL3XPERE.mjs';
6
- export { AVATAR_COLOR_SWATCHES, DEFAULT_VIEWER_PROFILE, THEME_CATALOG, VIEWER_PREFS_STORAGE_KEY, clearAllLocalViewerData, clearStoredViewerPrefs, defaultCssVars, defaultRadius, defaultThemeColors, getLocalStorageUsageSummary, readStoredViewerPrefs, resolveProfileInitial, resolveThemeCatalogEntry, saveViewerProfile, themeToCssVars, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius, writeStoredViewerPrefs } from './chunk-TJ55KUWH.mjs';
1
+ export { PowerPointViewer, SlideCanvas, Toolbar, ViewerThemeProvider, useViewerTheme } from './chunk-PXYZFWDA.mjs';
2
+ import './chunk-HF6L2CTF.mjs';
3
+ export { renderToCanvas, useViewerBuildingBlocks } from './chunk-NJ4PTG4F.mjs';
4
+ export { getAnimationInitialStyle } from './chunk-DD54KUDG.mjs';
5
+ export { LOCALE_CATALOG } from './chunk-RHR7GTDX.mjs';
6
+ export { AVATAR_COLOR_SWATCHES, DEFAULT_VIEWER_PROFILE, THEME_CATALOG, VIEWER_PREFS_STORAGE_KEY, clearAllLocalViewerData, clearStoredViewerPrefs, defaultCssVars, defaultRadius, defaultThemeColors, getLocalStorageUsageSummary, readStoredViewerPrefs, resolveProfileInitial, resolveThemeCatalogEntry, saveViewerProfile, themeToCssVars, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius, writeStoredViewerPrefs } from './chunk-FV7HEYCX.mjs';
7
7
  import './chunk-XGB3TDIC.mjs';
package/dist/index.mjs.br CHANGED
Binary file
package/dist/index.mjs.gz CHANGED
Binary file
@@ -8465,6 +8465,15 @@ interface ElementAnimationState {
8465
8465
  */
8466
8466
  animatesStroke?: boolean;
8467
8467
  }
8468
+ //#endregion
8469
+ //#region src/render/motion-path-authoring.d.ts
8470
+ /**
8471
+ * The bucket a ribbon gallery click targets. Widens the three preset buckets
8472
+ * with `motionPath` so a binding's single "apply animation" callback can carry
8473
+ * a motion-path preset id too, instead of every binding growing a second
8474
+ * callback threaded through the same six components.
8475
+ */
8476
+ type AnimationApplyGroup = 'entrance' | 'emphasis' | 'exit' | 'motionPath';
8468
8477
  /** The unit system used for ruler display. */
8469
8478
  type RulerUnit = 'inches' | 'centimetres';
8470
8479
  //#endregion
@@ -9199,8 +9208,12 @@ interface ToolbarProps {
9199
9208
  onToggleInspector: () => void;
9200
9209
  /** Opens the inspector pane and switches to the properties tab (for animation panel). */
9201
9210
  onOpenAnimationPanel: () => void;
9202
- /** Adds an animation preset to the selected element. */
9203
- onAddAnimation?: (preset: string, group: 'entrance' | 'emphasis' | 'exit') => void;
9211
+ /**
9212
+ * Adds an animation to the selected element. For the three preset buckets
9213
+ * `preset` is a `PptxAnimationPreset`; for `motionPath` it is a motion-path
9214
+ * catalogue id.
9215
+ */
9216
+ onAddAnimation?: (preset: string, group: AnimationApplyGroup) => void;
9204
9217
  /** Removes all animations from the selected element. */
9205
9218
  onRemoveAnimation?: () => void;
9206
9219
  onToggleCompactToolbar: () => void;
@@ -9284,6 +9297,8 @@ interface ToolbarProps {
9284
9297
  onToggleSlideSorter: () => void;
9285
9298
  /** Enter PowerPoint's Reading View (full window, not the fullscreen show). */
9286
9299
  onOpenReadingView: () => void;
9300
+ /** Enter PowerPoint's Outline view: the deck as editable indented text. */
9301
+ onOpenOutlineView: () => void;
9287
9302
  onUpdateTextStyle: (updates: Partial<TextStyle>) => void;
9288
9303
  /** Rewrite the selected text's characters (PowerPoint's Aa "Change Case" dropdown). */
9289
9304
  onTransformTextCase: (mode: ChangeCaseMode) => void;
@@ -9328,6 +9343,10 @@ interface ToolbarProps {
9328
9343
  eyedropperActive?: boolean;
9329
9344
  onToggleEyedropper?: () => void;
9330
9345
  onOpenSetUpSlideShow?: () => void;
9346
+ /** PowerPoint's Hide Slide toggle for the active slide (Slide Show tab). */
9347
+ onToggleHideSlide?: () => void;
9348
+ /** Whether the active slide is hidden, for Hide Slide's pressed state. */
9349
+ activeSlideHidden?: boolean;
9331
9350
  onOpenBroadcastDialog?: () => void;
9332
9351
  onToggleSubtitles?: () => void;
9333
9352
  showSubtitles?: boolean;
@@ -9462,6 +9481,12 @@ interface SlideCanvasProps {
9462
9481
  onMoveGuide?: (guideId: string, position: number) => void;
9463
9482
  onDeleteGuide?: (guideId: string) => void;
9464
9483
  onCreateGuideFromRuler?: (axis: 'h' | 'v', positionPx: number) => void;
9484
+ /**
9485
+ * Commits the slide's animation list after an on-canvas motion-path edit
9486
+ * (dragging the path's end handle). Absent means the path is drawn but
9487
+ * read-only.
9488
+ */
9489
+ onUpdateSlideAnimations?: (animations: PptxElementAnimation[]) => void;
9465
9490
  /** When true, shows connection sites on shapes and enables connector drawing. */
9466
9491
  connectorCreationMode?: boolean;
9467
9492
  /** Called when a new connector is created between two shapes. */
@@ -10613,6 +10638,9 @@ interface ViewerUIState {
10613
10638
  setShowSlideSorter: React.Dispatch<React.SetStateAction<boolean>>;
10614
10639
  showReadingView: boolean;
10615
10640
  setShowReadingView: React.Dispatch<React.SetStateAction<boolean>>;
10641
+ /** PowerPoint's Outline view: the deck as editable indented text. */
10642
+ showOutlineView: boolean;
10643
+ setShowOutlineView: React.Dispatch<React.SetStateAction<boolean>>;
10616
10644
  isShortcutHelpOpen: boolean;
10617
10645
  setIsShortcutHelpOpen: React.Dispatch<React.SetStateAction<boolean>>;
10618
10646
  isAccessibilityPanelOpen: boolean;
@@ -12202,8 +12230,15 @@ interface UsePresentationKeyboardInput {
12202
12230
  movePresentationSlide: (direction: 1 | -1) => void;
12203
12231
  /** Jump to a 0-based slide index (Home / End / typed slide number). */
12204
12232
  navigateToSlide: (index: number) => void;
12205
- /** Total slide count, so End can resolve the last slide. */
12233
+ /** Total slide count, bounding the typed "slide number + Enter" jump. */
12206
12234
  slideCount: number;
12235
+ /**
12236
+ * Deck indexes the show visits, in show order (hidden slides removed).
12237
+ * Home / End land on the show's first / last slide, so a deck whose first
12238
+ * or last slide is hidden does not open one on a key PowerPoint treats as
12239
+ * "go to the start / end of the show".
12240
+ */
12241
+ showSlideIndexes: number[];
12207
12242
  onSetMode: (mode: ViewerMode) => void;
12208
12243
  /** Select a pointer tool (Ctrl+L / Ctrl+P / Ctrl+A / Ctrl+E). */
12209
12244
  onSetPointerTool?: (tool: PresentationPointerTool | 'arrow') => void;