pptx-react-viewer 1.19.1 → 1.21.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 (96) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/README.md +14 -13
  3. package/dist/{Model3DScene-SLGODOXT.mjs → Model3DScene-FERG6DP5.mjs} +1 -1
  4. package/dist/Model3DScene-FERG6DP5.mjs.br +0 -0
  5. package/dist/Model3DScene-FERG6DP5.mjs.gz +0 -0
  6. package/dist/{Model3DScene-3RYDRQOD.js → Model3DScene-IGFOR6UG.js} +2 -2
  7. package/dist/{Model3DScene-3RYDRQOD.js.br → Model3DScene-IGFOR6UG.js.br} +0 -0
  8. package/dist/Model3DScene-IGFOR6UG.js.gz +0 -0
  9. package/dist/{PowerPointViewer-C4d7SKZf.d.ts → PowerPointViewer-JxHuwp4K.d.ts} +2 -2
  10. package/dist/{PowerPointViewer-C4d7SKZf.d.ts.map → PowerPointViewer-JxHuwp4K.d.ts.map} +1 -1
  11. package/dist/{SurfaceChart3DScene-YL4QD3O5.mjs → SurfaceChart3DScene-754VHVLW.mjs} +1 -1
  12. package/dist/SurfaceChart3DScene-754VHVLW.mjs.br +0 -0
  13. package/dist/SurfaceChart3DScene-754VHVLW.mjs.gz +0 -0
  14. package/dist/{SurfaceChart3DScene-3UZ5HZ2W.js → SurfaceChart3DScene-S2UEFUQ5.js} +2 -2
  15. package/dist/SurfaceChart3DScene-S2UEFUQ5.js.br +0 -0
  16. package/dist/SurfaceChart3DScene-S2UEFUQ5.js.gz +0 -0
  17. package/dist/{chunk-3TRQKGBU.mjs → chunk-2C3XYEFM.mjs} +13 -4
  18. package/dist/chunk-2C3XYEFM.mjs.br +0 -0
  19. package/dist/chunk-2C3XYEFM.mjs.gz +0 -0
  20. package/dist/{chunk-H5V24JVW.js → chunk-2YHX6IAW.js} +409 -398
  21. package/dist/chunk-2YHX6IAW.js.br +0 -0
  22. package/dist/chunk-2YHX6IAW.js.gz +0 -0
  23. package/dist/{chunk-RIRK64DM.mjs → chunk-4LPWBQTH.mjs} +24 -0
  24. package/dist/chunk-4LPWBQTH.mjs.br +0 -0
  25. package/dist/chunk-4LPWBQTH.mjs.gz +0 -0
  26. package/dist/{chunk-AALZCSY4.js → chunk-4SRCC7NB.js} +24 -0
  27. package/dist/chunk-4SRCC7NB.js.br +0 -0
  28. package/dist/chunk-4SRCC7NB.js.gz +0 -0
  29. package/dist/{chunk-VOU7OCQM.mjs → chunk-FTJ5JKLB.mjs} +24 -2
  30. package/dist/chunk-FTJ5JKLB.mjs.br +0 -0
  31. package/dist/chunk-FTJ5JKLB.mjs.gz +0 -0
  32. package/dist/{chunk-TG2ZYU7Y.mjs → chunk-K6C5G2J6.mjs} +136 -109
  33. package/dist/chunk-K6C5G2J6.mjs.br +0 -0
  34. package/dist/chunk-K6C5G2J6.mjs.gz +0 -0
  35. package/dist/{chunk-7JYQRDRI.js → chunk-PQUAAGKH.js} +816 -789
  36. package/dist/chunk-PQUAAGKH.js.br +0 -0
  37. package/dist/chunk-PQUAAGKH.js.gz +0 -0
  38. package/dist/{chunk-G5GATDE4.js → chunk-UGAJLDGZ.js} +25 -1
  39. package/dist/chunk-UGAJLDGZ.js.br +0 -0
  40. package/dist/chunk-UGAJLDGZ.js.gz +0 -0
  41. package/dist/hooks-unstable.d.ts +51 -2
  42. package/dist/hooks-unstable.d.ts.map +1 -1
  43. package/dist/hooks-unstable.js +82 -74
  44. package/dist/hooks-unstable.js.br +0 -0
  45. package/dist/hooks-unstable.js.gz +0 -0
  46. package/dist/hooks-unstable.mjs +3 -3
  47. package/dist/hooks-unstable.mjs.br +0 -0
  48. package/dist/hooks-unstable.mjs.gz +0 -0
  49. package/dist/i18n.js +3 -3
  50. package/dist/i18n.js.br +0 -0
  51. package/dist/i18n.js.gz +0 -0
  52. package/dist/i18n.mjs +1 -1
  53. package/dist/i18n.mjs.br +0 -0
  54. package/dist/i18n.mjs.gz +0 -0
  55. package/dist/{index-DmHVR48M.d.ts → index-BhR8ykQj.d.ts} +2 -2
  56. package/dist/{index-DmHVR48M.d.ts.map → index-BhR8ykQj.d.ts.map} +1 -1
  57. package/dist/index.d.ts +44 -1
  58. package/dist/index.js +18 -18
  59. package/dist/index.js.br +0 -0
  60. package/dist/index.js.gz +0 -0
  61. package/dist/index.mjs +4 -4
  62. package/dist/index.mjs.br +0 -0
  63. package/dist/index.mjs.gz +0 -0
  64. package/dist/{types-BK7Nt13M.d.ts → types-DGauquE9.d.ts} +20 -2
  65. package/dist/{types-BK7Nt13M.d.ts.map → types-DGauquE9.d.ts.map} +1 -1
  66. package/dist/viewer/index.d.ts +43 -0
  67. package/dist/viewer/index.js +20 -20
  68. package/dist/viewer/index.js.br +0 -0
  69. package/dist/viewer/index.js.gz +0 -0
  70. package/dist/viewer/index.mjs +4 -4
  71. package/dist/viewer/index.mjs.br +0 -0
  72. package/dist/viewer/index.mjs.gz +0 -0
  73. package/package.json +1 -1
  74. package/dist/Model3DScene-3RYDRQOD.js.gz +0 -0
  75. package/dist/Model3DScene-SLGODOXT.mjs.br +0 -0
  76. package/dist/Model3DScene-SLGODOXT.mjs.gz +0 -0
  77. package/dist/SurfaceChart3DScene-3UZ5HZ2W.js.br +0 -0
  78. package/dist/SurfaceChart3DScene-3UZ5HZ2W.js.gz +0 -0
  79. package/dist/SurfaceChart3DScene-YL4QD3O5.mjs.br +0 -0
  80. package/dist/SurfaceChart3DScene-YL4QD3O5.mjs.gz +0 -0
  81. package/dist/chunk-3TRQKGBU.mjs.br +0 -0
  82. package/dist/chunk-3TRQKGBU.mjs.gz +0 -0
  83. package/dist/chunk-7JYQRDRI.js.br +0 -0
  84. package/dist/chunk-7JYQRDRI.js.gz +0 -0
  85. package/dist/chunk-AALZCSY4.js.br +0 -0
  86. package/dist/chunk-AALZCSY4.js.gz +0 -0
  87. package/dist/chunk-G5GATDE4.js.br +0 -0
  88. package/dist/chunk-G5GATDE4.js.gz +0 -0
  89. package/dist/chunk-H5V24JVW.js.br +0 -0
  90. package/dist/chunk-H5V24JVW.js.gz +0 -0
  91. package/dist/chunk-RIRK64DM.mjs.br +0 -0
  92. package/dist/chunk-RIRK64DM.mjs.gz +0 -0
  93. package/dist/chunk-TG2ZYU7Y.mjs.br +0 -0
  94. package/dist/chunk-TG2ZYU7Y.mjs.gz +0 -0
  95. package/dist/chunk-VOU7OCQM.mjs.br +0 -0
  96. package/dist/chunk-VOU7OCQM.mjs.gz +0 -0
@@ -1,6 +1,6 @@
1
- import { DEFAULT_STROKE_COLOR, getConnectorPathGeometry, buildLineShadowCss, buildLineGlowFilter, renderConnectorMarker, MIN_ELEMENT_SIZE, getShapeVisualStyle, getTextStyleForElement, DEFAULT_TEXT_COLOR, renderVectorShape, isConnectorOrLineElement, build3DExtrusionData, getImageRenderStyle, cn, getTextLayoutStyle, renderTableElement, renderMediaElement, shouldRenderFallbackLabel, SHAPE_PRESETS, ANIMATION_PRESET_OPTIONS, useReducedMotion, useViewerState, useIsMobile, useResizablePanels, useDerivedSlideState, useZoomViewport, useEditorHistory, usePresentationSetup, useTouchGestures, useViewerDialogs, useEditorOperations, useViewerIntegration, useYjsDocumentSync, useFollowMode, useBroadcastFollower, DEFAULT_FILL_COLOR, hasDagDuotoneEffect, renderDagDuotoneSvgFilter, getCropShapeClipPath, resolvePalette, resolveStyle, layoutToCategory, wrapChrome, isImageTiled, getImageTilingStyle, getDuotoneColors, getTextWarpStyle, renderTextSegments, buildReactChartViewModel, renderChartElement, buildTextBody3DSceneStyle, SLIDE_TRANSITION_OPTIONS, SLIDE_NAV_THUMBNAIL_WIDTH, useKeyboardInsets, useModalDismissDrag, SHORTCUT_REFERENCE_ITEMS, useCollaborativeState, styleShadow, styleStroke, colour, fitFontSize, smartArtNodeGroupProps, chevronPoints, SmartArtNodeText, truncate, renderStepDownProcess, renderAlternatingFlow, renderDescendingProcess, renderPictureAccentList, renderVerticalBlockList, renderGroupedList, renderPyramidList, renderHorizontalPictureList, renderAccentProcess, renderVerticalChevronList, DEFAULT_TEXT_FONT_SIZE, DEFAULT_FONT_FAMILY, TOOLBAR_SECTIONS, useVirtualizedSlides, useSwipeNavigation, useSheetDismissDrag, detectTargetType, parseEmailUrl, parseSlideFromUrl, ACTION_VERB_MAP, buildTree, treeWidth, treeDepth, nodeOpacity, gearPath, resolveSmartArtDataPalette, HYPERLINK_COLOR, GRID_SIZE, startPreviewAnimation, stopPreviewAnimation } from './chunk-3TRQKGBU.mjs';
2
- import { normalizeHexColor, colorWithOpacity, normalizeStrokeDashType, getSvgStrokeDasharray, getCompoundLineOffsets, getCompoundLineWidths, svgLineCap, getElementTransform, isEditableTextElement, getAriaRole, getAriaLabel, getAriaRoleDescription, getImageEffectsOpacity, getImageEffectsFilter, getElementTransformWithoutRotation, ACTION_BUTTON_PRESETS, getElementLabel, RULER_THICKNESS, RULER_FONT_SIZE, convertLatexToOmml, convertOmmlToMathMl, sanitizeMathMl, buildUserFontFaceStyles, openPptxFile, readBackstageRecentFile, buildCssGradientFromShapeStyle, buildSmartArtA11y, buildSummaryZoomView, getImageColorWashStyle, getPendingSelectionRestore, restoreSegmentSelection, getTextCompensationTransform, formatAxisValue, hasPressureVariation, getInkReplayStyles, INK_REPLAY_KEYFRAMES, resolveInkColor, resolveInkWidth, resolveInkOpacity, pressuresToWidths, getContentPartReplayStyles, resolveOleType, getOleTypeColor, getOleTypeLabel, shouldUseSvgWarp, themeToCssVars, DEFAULT_INSERT_CHART_TYPE, hasCopyableFormat, createBackstagePresentation, buildJoinCollaborationConfig, buildCreateCollaborationConfig, generateBroadcastRoomId, DEFAULT_BROADCAST_SERVER_URL, buildBroadcastViewerUrl, resolveTransportForServerUrl, resolveDrawingShapeNodeId, getImageSvgFilters, buildDuotoneCacheKey, getDuotoneCachedResult, applyDuotone, setDuotoneCachedResult, buildCacheKey, DEFAULT_COLOR_CHANGE_TOLERANCE, getCachedResult, applyColorChange, setCachedResult, findChartPartTarget, dragValueForPart, withChartPointValue, dragAnchorViewY, withChartTitle, computeSmartArtLayout, buildSmartArt3DModel, extractPathPoints, generatePressureCircles, isBrowserOpenableMime, formatBytes, getOleBadgeLabel, openUrlInNewTab, getWarpPath, getSlideBackgroundStyle, filterCommands, resolveTitleBarStatusKey, TITLE_BAR_CLASSES, TITLE_BAR_DEFAULT_FILE_KEY, safeOpenUrl, isPpactionUrl, parsePpactionUrl, formatVersionTimestamp, formatRelativeTime, scanAvailableFontFamilies, PRESETS, CATEGORIES, convertOmmlToLatex, clampPercent, HANDOUT_OPTIONS, activateModalFocus, buildCollaborationShareUrl, presentationInkPath, mobileElapsedSince, isFirstSlide, isLastSlide, formatMobileElapsed, mobileSlideCounter, formatElapsed, computeInlineEditorRect, findSmartArtNodeText, rebuildDrawingShapesIfCleared, shouldCommitSmartArtNodeText, groupIntoParagraphs, substituteFieldText, TAB_ROW_ACTION_CLASSES, listBackstageRecentFiles, BACKSTAGE_NAV, INSERT_CHART_TYPES, SLIDE_VIRTUALIZATION_THRESHOLD, getShapeAdjustmentHandleDescriptor, getSlideTransitionAnimations, SLIDE_TRANSITION_KEYFRAMES, formatSlideCounter, isUrlSafe, computeHandoutLayout, getPrintableArea, generateNoteLineCount, computeAllNotesPages, getNotesPrintableArea, notesSegmentsToSpans, erasePresentationInkAt, movePresenterPointer, appendPresentationInkPoint, NOTES_FONT_SIZE_DEFAULT, formatTime, NOTES_FONT_SIZE_MIN, clampNotesFontSize, NOTES_FONT_SIZE_STEP, NOTES_FONT_SIZE_MAX, BACKSTAGE_TEMPLATES, formatBackstageDate, formatBackstageSize, getConnectionSites, generateTicks, getCommentMarkerPosition, buildThemeColorGrid, THEME_COLOR_LABELS, buildSmartArtPresetData, TABLE_STYLE_PRESETS, formatCommentTimestamp, DIRECTIONAL_PRESETS, computeMergeCellRight, computeMergeCellDown, computeSplitCell, DUOTONE_PRESETS, ARTISTIC_EFFECTS, LBL, SEL, FILL_MODE_OPTIONS, SECTION_HEADING, NUM, GRADIENT_TYPE_OPTIONS, PATTERN_OPTIONS } from './chunk-VOU7OCQM.mjs';
3
- import { translationsEn } from './chunk-RIRK64DM.mjs';
1
+ import { DEFAULT_STROKE_COLOR, getConnectorPathGeometry, buildLineShadowCss, buildLineGlowFilter, renderConnectorMarker, MIN_ELEMENT_SIZE, getShapeVisualStyle, getTextStyleForElement, DEFAULT_TEXT_COLOR, renderVectorShape, isConnectorOrLineElement, build3DExtrusionData, getImageRenderStyle, cn, getTextLayoutStyle, renderTableElement, renderMediaElement, shouldRenderFallbackLabel, SHAPE_PRESETS, ANIMATION_PRESET_OPTIONS, useReducedMotion, useViewerState, useIsMobile, useResizablePanels, useDerivedSlideState, useZoomViewport, useEditorHistory, usePresentationSetup, useTouchGestures, useViewerDialogs, useEditorOperations, useViewerIntegration, useYjsDocumentSync, useFollowMode, useBroadcastFollower, DEFAULT_FILL_COLOR, hasDagDuotoneEffect, renderDagDuotoneSvgFilter, getCropShapeClipPath, resolvePalette, resolveStyle, layoutToCategory, wrapChrome, isImageTiled, getImageTilingStyle, getDuotoneColors, getTextWarpStyle, renderTextSegments, buildReactChartViewModel, renderChartElement, buildTextBody3DSceneStyle, SLIDE_TRANSITION_OPTIONS, SLIDE_NAV_THUMBNAIL_WIDTH, useToolbarVisibility, useKeyboardInsets, useModalDismissDrag, SHORTCUT_REFERENCE_ITEMS, useCollaborativeState, styleShadow, styleStroke, colour, fitFontSize, smartArtNodeGroupProps, chevronPoints, SmartArtNodeText, truncate, renderStepDownProcess, renderAlternatingFlow, renderDescendingProcess, renderPictureAccentList, renderVerticalBlockList, renderGroupedList, renderPyramidList, renderHorizontalPictureList, renderAccentProcess, renderVerticalChevronList, DEFAULT_TEXT_FONT_SIZE, DEFAULT_FONT_FAMILY, TOOLBAR_SECTIONS, useVirtualizedSlides, useSwipeNavigation, useSheetDismissDrag, detectTargetType, parseEmailUrl, parseSlideFromUrl, ACTION_VERB_MAP, buildTree, treeWidth, treeDepth, nodeOpacity, gearPath, resolveSmartArtDataPalette, HYPERLINK_COLOR, GRID_SIZE, startPreviewAnimation, stopPreviewAnimation } from './chunk-2C3XYEFM.mjs';
2
+ import { normalizeHexColor, colorWithOpacity, normalizeStrokeDashType, getSvgStrokeDasharray, getCompoundLineOffsets, getCompoundLineWidths, svgLineCap, getElementTransform, isEditableTextElement, getAriaRole, getAriaLabel, getAriaRoleDescription, getImageEffectsOpacity, getImageEffectsFilter, getElementTransformWithoutRotation, ACTION_BUTTON_PRESETS, getElementLabel, RULER_THICKNESS, RULER_FONT_SIZE, convertLatexToOmml, convertOmmlToMathMl, sanitizeMathMl, buildUserFontFaceStyles, openPptxFile, readBackstageRecentFile, buildCssGradientFromShapeStyle, buildSmartArtA11y, buildSummaryZoomView, getImageColorWashStyle, getPendingSelectionRestore, restoreSegmentSelection, getTextCompensationTransform, formatAxisValue, hasPressureVariation, getInkReplayStyles, INK_REPLAY_KEYFRAMES, resolveInkColor, resolveInkWidth, resolveInkOpacity, pressuresToWidths, getContentPartReplayStyles, resolveOleType, getOleTypeColor, getOleTypeLabel, shouldUseSvgWarp, themeToCssVars, DEFAULT_INSERT_CHART_TYPE, hasCopyableFormat, createBackstagePresentation, buildJoinCollaborationConfig, buildCreateCollaborationConfig, generateBroadcastRoomId, DEFAULT_BROADCAST_SERVER_URL, buildBroadcastViewerUrl, resolveTransportForServerUrl, resolveDrawingShapeNodeId, getImageSvgFilters, buildDuotoneCacheKey, getDuotoneCachedResult, applyDuotone, setDuotoneCachedResult, buildCacheKey, DEFAULT_COLOR_CHANGE_TOLERANCE, getCachedResult, applyColorChange, setCachedResult, findChartPartTarget, dragValueForPart, withChartPointValue, dragAnchorViewY, withChartTitle, computeSmartArtLayout, buildSmartArt3DModel, extractPathPoints, generatePressureCircles, isBrowserOpenableMime, formatBytes, getOleBadgeLabel, openUrlInNewTab, getWarpPath, getSlideBackgroundStyle, filterCommands, resolveTitleBarStatusKey, TITLE_BAR_CLASSES, TITLE_BAR_DEFAULT_FILE_KEY, safeOpenUrl, isPpactionUrl, parsePpactionUrl, formatVersionTimestamp, formatRelativeTime, scanAvailableFontFamilies, PRESETS, CATEGORIES, convertOmmlToLatex, clampPercent, HANDOUT_OPTIONS, activateModalFocus, buildCollaborationShareUrl, presentationInkPath, mobileElapsedSince, isFirstSlide, isLastSlide, formatMobileElapsed, mobileSlideCounter, formatElapsed, computeInlineEditorRect, findSmartArtNodeText, rebuildDrawingShapesIfCleared, shouldCommitSmartArtNodeText, groupIntoParagraphs, substituteFieldText, TAB_ROW_ACTION_CLASSES, listBackstageRecentFiles, BACKSTAGE_NAV, INSERT_CHART_TYPES, SLIDE_VIRTUALIZATION_THRESHOLD, getShapeAdjustmentHandleDescriptor, getSlideTransitionAnimations, SLIDE_TRANSITION_KEYFRAMES, formatSlideCounter, isUrlSafe, computeHandoutLayout, getPrintableArea, generateNoteLineCount, computeAllNotesPages, getNotesPrintableArea, notesSegmentsToSpans, erasePresentationInkAt, movePresenterPointer, appendPresentationInkPoint, NOTES_FONT_SIZE_DEFAULT, formatTime, NOTES_FONT_SIZE_MIN, clampNotesFontSize, NOTES_FONT_SIZE_STEP, NOTES_FONT_SIZE_MAX, BACKSTAGE_TEMPLATES, formatBackstageDate, formatBackstageSize, getConnectionSites, generateTicks, getCommentMarkerPosition, buildThemeColorGrid, THEME_COLOR_LABELS, buildSmartArtPresetData, TABLE_STYLE_PRESETS, formatCommentTimestamp, DIRECTIONAL_PRESETS, computeMergeCellRight, computeMergeCellDown, computeSplitCell, DUOTONE_PRESETS, ARTISTIC_EFFECTS, LBL, SEL, FILL_MODE_OPTIONS, SECTION_HEADING, NUM, GRADIENT_TYPE_OPTIONS, PATTERN_OPTIONS } from './chunk-FTJ5JKLB.mjs';
3
+ import { translationsEn } from './chunk-4LPWBQTH.mjs';
4
4
  import { hasShapeProperties, hasTextProperties, isInkElement, SWITCHABLE_LAYOUT_TYPES, isImageLikeElement, getLinkedTextBoxSegments, getSubstituteFontFamily, themeColorSchemesEqual, setSmartArtNodeStyle, updateSmartArtNodeText, THEME_COLOR_SCHEME_KEYS, chartDataChangeType, chartDataUpdatePoint, chartDataAddCategory, chartDataRemoveCategory, chartDataAddSeries, chartDataRemoveSeries, setChartAxisLogScale, setChartAxisTitleStyle, setChartAxisGridlineStyle, setChartSeriesMarker, setChartSeriesChartType, setChartDataPointFill, setChartDataPointExplosion, setChartDataPointMarker, setChartDataPointLabel, getOleObjectTypeLabel, pptxActionToElementAction, applyThemeOverrideToSlide, COLOR_MAP_ALIAS_KEYS, DEFAULT_COLOR_MAP, addSmartArtNodeAsChild, removeSmartArtNode, elementActionToPptxAction, switchSmartArtLayout, addSmartArtNode, demoteSmartArtNode, promoteSmartArtNode, reorderSmartArtNode } from './chunk-3ZGCM6RC.mjs';
5
5
  import React14, { createContext, useMemo, useState, useCallback, forwardRef, useEffect, useRef, Suspense, useLayoutEffect, useContext, useDeferredValue } from 'react';
6
6
  import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
@@ -700,7 +700,10 @@ function StatusBar({
700
700
  mode,
701
701
  onSetMode,
702
702
  onToggleSlideSorter,
703
- collaborationSlot
703
+ collaborationSlot,
704
+ hideZoomControls = false,
705
+ hideNotesToggle = false,
706
+ hideFullscreenToggle = false
704
707
  }) {
705
708
  const { t } = useTranslation();
706
709
  let statusText;
@@ -737,7 +740,7 @@ function StatusBar({
737
740
  }
738
741
  ),
739
742
  /* @__PURE__ */ jsx("div", { className: "flex-1" }),
740
- onToggleNotes && /* @__PURE__ */ jsxs(
743
+ onToggleNotes && !hideNotesToggle && /* @__PURE__ */ jsxs(
741
744
  "button",
742
745
  {
743
746
  type: "button",
@@ -779,7 +782,7 @@ function StatusBar({
779
782
  children: /* @__PURE__ */ jsx(LuColumns2, { className: "w-3.5 h-3.5" })
780
783
  }
781
784
  ),
782
- /* @__PURE__ */ jsx(
785
+ !hideFullscreenToggle && /* @__PURE__ */ jsx(
783
786
  "button",
784
787
  {
785
788
  type: "button",
@@ -795,7 +798,7 @@ function StatusBar({
795
798
  /* @__PURE__ */ jsx("div", { className: "w-px h-3 bg-border/40 mx-0.5" }),
796
799
  collaborationSlot
797
800
  ] }),
798
- scale !== void 0 && /* @__PURE__ */ jsxs(Fragment, { children: [
801
+ scale !== void 0 && !hideZoomControls && /* @__PURE__ */ jsxs(Fragment, { children: [
799
802
  /* @__PURE__ */ jsx("div", { className: "w-px h-3 bg-border/60 mx-0.5" }),
800
803
  /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-0.5", children: [
801
804
  onZoomOut && /* @__PURE__ */ jsx(
@@ -2829,7 +2832,7 @@ function FailedToLoad() {
2829
2832
  var LazyModel3DScene = React14.lazy(
2830
2833
  async () => {
2831
2834
  try {
2832
- return await import('./Model3DScene-SLGODOXT.mjs');
2835
+ return await import('./Model3DScene-FERG6DP5.mjs');
2833
2836
  } catch {
2834
2837
  return { default: FailedToLoad };
2835
2838
  }
@@ -13209,6 +13212,8 @@ function FileSection(p) {
13209
13212
  const [page, setPage] = useState("home");
13210
13213
  const [query, setQuery] = useState("");
13211
13214
  const [recent, setRecent] = useState([]);
13215
+ const { isHidden } = useToolbarVisibility(p.hiddenActions);
13216
+ const exportHidden = isHidden("export");
13212
13217
  useEffect(() => {
13213
13218
  void listBackstageRecentFiles().then(setRecent);
13214
13219
  }, []);
@@ -13243,7 +13248,9 @@ function FileSection(p) {
13243
13248
  }
13244
13249
  ),
13245
13250
  /* @__PURE__ */ jsxs("nav", { className: "flex min-h-0 flex-1 flex-col py-2", children: [
13246
- BACKSTAGE_NAV.filter((item) => !item.group).map((item) => /* @__PURE__ */ jsxs(
13251
+ BACKSTAGE_NAV.filter(
13252
+ (item) => !item.group && !(item.id === "export" && exportHidden)
13253
+ ).map((item) => /* @__PURE__ */ jsxs(
13247
13254
  "button",
13248
13255
  {
13249
13256
  type: "button",
@@ -13390,7 +13397,7 @@ function FileSection(p) {
13390
13397
  }
13391
13398
  )
13392
13399
  ] }),
13393
- page === "export" && /* @__PURE__ */ jsxs("div", { className: "mt-8 grid max-w-[900px] grid-cols-2 gap-5", children: [
13400
+ page === "export" && !exportHidden && /* @__PURE__ */ jsxs("div", { className: "mt-8 grid max-w-[900px] grid-cols-2 gap-5", children: [
13394
13401
  /* @__PURE__ */ jsx(
13395
13402
  BackstageAction,
13396
13403
  {
@@ -14203,16 +14210,7 @@ function InsertSection(p) {
14203
14210
  )
14204
14211
  ] }) })
14205
14212
  ] }),
14206
- p.onOpenHeaderFooter && /* @__PURE__ */ jsx(
14207
- "button",
14208
- {
14209
- type: "button",
14210
- disabled: !canEdit,
14211
- className: pill,
14212
- onClick: p.onOpenHeaderFooter,
14213
- children: t("pptx.headerFooter.title")
14214
- }
14215
- ),
14213
+ p.onOpenHeaderFooter && /* @__PURE__ */ jsx("button", { type: "button", disabled: !canEdit, className: pill, onClick: p.onOpenHeaderFooter, children: t("pptx.headerFooter.title") }),
14216
14214
  datePickerOpen && /* @__PURE__ */ jsx(
14217
14215
  "div",
14218
14216
  {
@@ -14440,6 +14438,7 @@ function ReviewSection(p) {
14440
14438
  }
14441
14439
  function SlideShowSection(p) {
14442
14440
  const { t } = useTranslation();
14441
+ const { isHidden } = useToolbarVisibility(p.hiddenActions);
14443
14442
  return /* @__PURE__ */ jsxs(Fragment, { children: [
14444
14443
  /* @__PURE__ */ jsxs(RibbonGroup, { label: t("pptx.slideShow.start", { defaultValue: "Start Slide Show" }), children: [
14445
14444
  /* @__PURE__ */ jsx(
@@ -14479,7 +14478,7 @@ function SlideShowSection(p) {
14479
14478
  disabled: true
14480
14479
  }
14481
14480
  ),
14482
- /* @__PURE__ */ jsx(
14481
+ !isHidden("broadcast") && /* @__PURE__ */ jsx(
14483
14482
  RibbonCommand,
14484
14483
  {
14485
14484
  label: t("pptx.slideShow.broadcast"),
@@ -15623,8 +15622,9 @@ function MobileMenuSheet(props) {
15623
15622
  const { t } = useTranslation();
15624
15623
  const { open, onClose } = props;
15625
15624
  const [active, setActive] = useState("home");
15625
+ const { isTabVisible } = useToolbarVisibility(props.hiddenActions);
15626
15626
  return /* @__PURE__ */ jsx(MobileSheet, { open, onClose, autoHeight: true, title: t("pptx.mobileToolbar.menu"), children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col", children: [
15627
- /* @__PURE__ */ jsx("div", { className: "sticky top-0 z-10 bg-background border-b border-border", children: /* @__PURE__ */ jsx("div", { className: "flex flex-wrap gap-1.5 px-3 py-2", children: MENU_ITEMS.map(({ key, label, icon: Icon }) => /* @__PURE__ */ jsxs(
15627
+ /* @__PURE__ */ jsx("div", { className: "sticky top-0 z-10 bg-background border-b border-border", children: /* @__PURE__ */ jsx("div", { className: "flex flex-wrap gap-1.5 px-3 py-2", children: MENU_ITEMS.filter(({ key }) => isTabVisible(key)).map(({ key, label, icon: Icon }) => /* @__PURE__ */ jsxs(
15628
15628
  "button",
15629
15629
  {
15630
15630
  type: "button",
@@ -15783,7 +15783,8 @@ function MobileSectionBody({
15783
15783
  onToggleSubtitles: p.onToggleSubtitles ?? (() => {
15784
15784
  }),
15785
15785
  showSubtitles: p.showSubtitles ?? false,
15786
- onSetMode: p.onSetMode
15786
+ onSetMode: p.onSetMode,
15787
+ hiddenActions: p.hiddenActions
15787
15788
  }
15788
15789
  ) });
15789
15790
  case "review":
@@ -15849,7 +15850,8 @@ function MobileSectionBody({
15849
15850
  onOpenDocumentProperties: p.onOpenDocumentProperties,
15850
15851
  onOpenPasswordProtection: p.onOpenPasswordProtection,
15851
15852
  onOpenFontEmbedding: p.onOpenFontEmbedding,
15852
- onOpenDigitalSignatures: p.onOpenDigitalSignatures
15853
+ onOpenDigitalSignatures: p.onOpenDigitalSignatures,
15854
+ hiddenActions: p.hiddenActions
15853
15855
  }
15854
15856
  ) });
15855
15857
  default:
@@ -15863,6 +15865,7 @@ function MobileToolbar(props) {
15863
15865
  const { t } = useTranslation();
15864
15866
  const { mode, canUndo, canRedo, onUndo, onRedo, onSetMode, onSaveAsPptx } = props;
15865
15867
  const [menuOpen, setMenuOpen] = useState(false);
15868
+ const { isHidden } = useToolbarVisibility(props.hiddenActions);
15866
15869
  const showEdit = mode === "edit" || mode === "master";
15867
15870
  const btn = "inline-flex items-center justify-center min-w-[44px] min-h-[44px] rounded-md text-foreground/80 hover:bg-accent/60 disabled:opacity-40 disabled:cursor-not-allowed active:scale-95 transition-transform";
15868
15871
  return /* @__PURE__ */ jsxs(
@@ -15883,32 +15886,30 @@ function MobileToolbar(props) {
15883
15886
  children: /* @__PURE__ */ jsx(LuMenu, { className: "w-5 h-5" })
15884
15887
  }
15885
15888
  ),
15886
- showEdit && /* @__PURE__ */ jsxs(Fragment, { children: [
15887
- /* @__PURE__ */ jsx(
15888
- "button",
15889
- {
15890
- type: "button",
15891
- onClick: onUndo,
15892
- disabled: !canUndo,
15893
- className: btn,
15894
- title: t("pptx.toolbar.undo"),
15895
- "aria-label": t("pptx.toolbar.undo"),
15896
- children: /* @__PURE__ */ jsx(LuUndo, { className: "w-5 h-5" })
15897
- }
15898
- ),
15899
- /* @__PURE__ */ jsx(
15900
- "button",
15901
- {
15902
- type: "button",
15903
- onClick: onRedo,
15904
- disabled: !canRedo,
15905
- className: btn,
15906
- title: t("pptx.toolbar.redo"),
15907
- "aria-label": t("pptx.toolbar.redo"),
15908
- children: /* @__PURE__ */ jsx(LuRedo, { className: "w-5 h-5" })
15909
- }
15910
- )
15911
- ] }),
15889
+ showEdit && !isHidden("undo") && /* @__PURE__ */ jsx(
15890
+ "button",
15891
+ {
15892
+ type: "button",
15893
+ onClick: onUndo,
15894
+ disabled: !canUndo,
15895
+ className: btn,
15896
+ title: t("pptx.toolbar.undo"),
15897
+ "aria-label": t("pptx.toolbar.undo"),
15898
+ children: /* @__PURE__ */ jsx(LuUndo, { className: "w-5 h-5" })
15899
+ }
15900
+ ),
15901
+ showEdit && !isHidden("redo") && /* @__PURE__ */ jsx(
15902
+ "button",
15903
+ {
15904
+ type: "button",
15905
+ onClick: onRedo,
15906
+ disabled: !canRedo,
15907
+ className: btn,
15908
+ title: t("pptx.toolbar.redo"),
15909
+ "aria-label": t("pptx.toolbar.redo"),
15910
+ children: /* @__PURE__ */ jsx(LuRedo, { className: "w-5 h-5" })
15911
+ }
15912
+ ),
15912
15913
  /* @__PURE__ */ jsx("div", { className: "flex-1" }),
15913
15914
  /* @__PURE__ */ jsx(
15914
15915
  "button",
@@ -15921,7 +15922,7 @@ function MobileToolbar(props) {
15921
15922
  children: /* @__PURE__ */ jsx(LuDownload, { className: "w-5 h-5" })
15922
15923
  }
15923
15924
  ),
15924
- /* @__PURE__ */ jsx(
15925
+ !isHidden("fullscreen") && /* @__PURE__ */ jsx(
15925
15926
  "button",
15926
15927
  {
15927
15928
  type: "button",
@@ -15932,7 +15933,7 @@ function MobileToolbar(props) {
15932
15933
  children: /* @__PURE__ */ jsx(LuPresentation, { className: "w-5 h-5" })
15933
15934
  }
15934
15935
  ),
15935
- showEdit && /* @__PURE__ */ jsx(
15936
+ showEdit && !isHidden("share") && /* @__PURE__ */ jsx(
15936
15937
  "button",
15937
15938
  {
15938
15939
  type: "button",
@@ -16294,8 +16295,9 @@ function TabRowActions(p) {
16294
16295
  const { t } = useTranslation();
16295
16296
  const collab = useCollaboration();
16296
16297
  const isCollaborating = collab && collab.status === "connected";
16298
+ const { isHidden } = useToolbarVisibility(p.hiddenActions);
16297
16299
  return /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1 pr-1", children: [
16298
- p.onEnterRehearsalMode && /* @__PURE__ */ jsxs(
16300
+ p.onEnterRehearsalMode && !isHidden("record") && /* @__PURE__ */ jsxs(
16299
16301
  "button",
16300
16302
  {
16301
16303
  type: "button",
@@ -16309,7 +16311,7 @@ function TabRowActions(p) {
16309
16311
  ]
16310
16312
  }
16311
16313
  ),
16312
- /* @__PURE__ */ jsxs(
16314
+ !isHidden("share") && /* @__PURE__ */ jsxs(
16313
16315
  "button",
16314
16316
  {
16315
16317
  type: "button",
@@ -16801,6 +16803,7 @@ function ToolbarPrimaryRow(p) {
16801
16803
  function Toolbar(p) {
16802
16804
  const { mode, isNarrowViewport, isCompactToolbarOpen, toolbarSection, onSetToolbarSection } = p;
16803
16805
  const { t } = useTranslation();
16806
+ const { isTabVisible } = useToolbarVisibility(p.hiddenActions);
16804
16807
  if (isNarrowViewport && mode !== "present") {
16805
16808
  return /* @__PURE__ */ jsx(MobileToolbar, { ...p });
16806
16809
  }
@@ -16833,7 +16836,7 @@ function Toolbar(p) {
16833
16836
  role: "tablist",
16834
16837
  className: "flex items-center border-b border-border/60 px-1 max-md:overflow-x-auto max-md:scrollbar-none",
16835
16838
  children: [
16836
- TOOLBAR_SECTIONS.map((s) => /* @__PURE__ */ jsx(
16839
+ TOOLBAR_SECTIONS.filter((s) => isTabVisible(s.id)).map((s) => /* @__PURE__ */ jsx(
16837
16840
  "button",
16838
16841
  {
16839
16842
  type: "button",
@@ -16854,7 +16857,8 @@ function Toolbar(p) {
16854
16857
  {
16855
16858
  onEnterRehearsalMode: p.canEdit ? p.onEnterRehearsalMode : void 0,
16856
16859
  onOpenShareDialog: p.onOpenShareDialog,
16857
- onPackageForSharing: p.onPackageForSharing
16860
+ onPackageForSharing: p.onPackageForSharing,
16861
+ hiddenActions: p.hiddenActions
16858
16862
  }
16859
16863
  ),
16860
16864
  isNarrowViewport && /* @__PURE__ */ jsx(
@@ -16907,7 +16911,8 @@ function Toolbar(p) {
16907
16911
  onOpenDocumentProperties: p.onOpenDocumentProperties,
16908
16912
  onOpenPasswordProtection: p.onOpenPasswordProtection,
16909
16913
  onOpenFontEmbedding: p.onOpenFontEmbedding,
16910
- onOpenDigitalSignatures: p.onOpenDigitalSignatures
16914
+ onOpenDigitalSignatures: p.onOpenDigitalSignatures,
16915
+ hiddenActions: p.hiddenActions
16911
16916
  }
16912
16917
  ),
16913
16918
  sHome && /* @__PURE__ */ jsx(
@@ -17049,7 +17054,8 @@ function Toolbar(p) {
17049
17054
  onToggleSubtitles: p.onToggleSubtitles ?? (() => {
17050
17055
  }),
17051
17056
  showSubtitles: p.showSubtitles ?? false,
17052
- onSetMode: p.onSetMode
17057
+ onSetMode: p.onSetMode,
17058
+ hiddenActions: p.hiddenActions
17053
17059
  }
17054
17060
  ),
17055
17061
  sRec && /* @__PURE__ */ jsx(
@@ -24935,7 +24941,8 @@ function PresentationTouchControls({
24935
24941
  currentSlideIndex,
24936
24942
  totalSlides,
24937
24943
  onMovePresentationSlide,
24938
- onEndPresentation
24944
+ onEndPresentation,
24945
+ hideNavigation = false
24939
24946
  }) {
24940
24947
  const { t } = useTranslation();
24941
24948
  const { isTouchDevice } = useIsMobile();
@@ -24965,42 +24972,44 @@ function PresentationTouchControls({
24965
24972
  children: /* @__PURE__ */ jsx(LuX, { size: 22 })
24966
24973
  }
24967
24974
  ),
24968
- /* @__PURE__ */ jsx(
24969
- "button",
24970
- {
24971
- type: "button",
24972
- className: `fixed z-[90] top-1/2 -translate-y-1/2 ${btnClass} disabled:opacity-30`,
24973
- style: {
24974
- left: "calc(env(safe-area-inset-left, 0px) + 0.5rem)",
24975
- touchAction: "manipulation"
24976
- },
24977
- disabled: currentSlideIndex <= 0,
24978
- onClick: (e) => {
24979
- stop(e);
24980
- onMovePresentationSlide(-1);
24981
- },
24982
- "aria-label": t("pptx.presenter.previousSlide"),
24983
- children: /* @__PURE__ */ jsx(LuChevronLeft, { size: 26 })
24984
- }
24985
- ),
24986
- /* @__PURE__ */ jsx(
24987
- "button",
24988
- {
24989
- type: "button",
24990
- className: `fixed z-[90] top-1/2 -translate-y-1/2 ${btnClass} disabled:opacity-30`,
24991
- style: {
24992
- right: "calc(env(safe-area-inset-right, 0px) + 0.5rem)",
24993
- touchAction: "manipulation"
24994
- },
24995
- disabled: currentSlideIndex >= totalSlides - 1,
24996
- onClick: (e) => {
24997
- stop(e);
24998
- onMovePresentationSlide(1);
24999
- },
25000
- "aria-label": t("pptx.presenter.nextSlide"),
25001
- children: /* @__PURE__ */ jsx(LuChevronRight, { size: 26 })
25002
- }
25003
- ),
24975
+ !hideNavigation && /* @__PURE__ */ jsxs(Fragment, { children: [
24976
+ /* @__PURE__ */ jsx(
24977
+ "button",
24978
+ {
24979
+ type: "button",
24980
+ className: `fixed z-[90] top-1/2 -translate-y-1/2 ${btnClass} disabled:opacity-30`,
24981
+ style: {
24982
+ left: "calc(env(safe-area-inset-left, 0px) + 0.5rem)",
24983
+ touchAction: "manipulation"
24984
+ },
24985
+ disabled: currentSlideIndex <= 0,
24986
+ onClick: (e) => {
24987
+ stop(e);
24988
+ onMovePresentationSlide(-1);
24989
+ },
24990
+ "aria-label": t("pptx.presenter.previousSlide"),
24991
+ children: /* @__PURE__ */ jsx(LuChevronLeft, { size: 26 })
24992
+ }
24993
+ ),
24994
+ /* @__PURE__ */ jsx(
24995
+ "button",
24996
+ {
24997
+ type: "button",
24998
+ className: `fixed z-[90] top-1/2 -translate-y-1/2 ${btnClass} disabled:opacity-30`,
24999
+ style: {
25000
+ right: "calc(env(safe-area-inset-right, 0px) + 0.5rem)",
25001
+ touchAction: "manipulation"
25002
+ },
25003
+ disabled: currentSlideIndex >= totalSlides - 1,
25004
+ onClick: (e) => {
25005
+ stop(e);
25006
+ onMovePresentationSlide(1);
25007
+ },
25008
+ "aria-label": t("pptx.presenter.nextSlide"),
25009
+ children: /* @__PURE__ */ jsx(LuChevronRight, { size: 26 })
25010
+ }
25011
+ )
25012
+ ] }),
25004
25013
  /* @__PURE__ */ jsx(
25005
25014
  "span",
25006
25015
  {
@@ -28708,8 +28717,10 @@ function ViewerBottomPanels({
28708
28717
  mode,
28709
28718
  onSetMode,
28710
28719
  onToggleSlideSorter,
28711
- hideStatusBar = false
28720
+ hideStatusBar = false,
28721
+ hiddenActions
28712
28722
  }) {
28723
+ const { isHidden } = useToolbarVisibility(hiddenActions);
28713
28724
  return /* @__PURE__ */ jsxs(Fragment, { children: [
28714
28725
  onResizeBottom && !isSlideNotesCollapsed && /* @__PURE__ */ jsx(ResizeHandle, { direction: "vertical", onResize: onResizeBottom }),
28715
28726
  /* @__PURE__ */ jsx(
@@ -28740,7 +28751,10 @@ function ViewerBottomPanels({
28740
28751
  mode,
28741
28752
  onSetMode,
28742
28753
  onToggleSlideSorter,
28743
- collaborationSlot
28754
+ collaborationSlot,
28755
+ hideZoomControls: isHidden("zoom"),
28756
+ hideNotesToggle: isHidden("notes"),
28757
+ hideFullscreenToggle: isHidden("fullscreen")
28744
28758
  }
28745
28759
  )
28746
28760
  ] });
@@ -28925,6 +28939,7 @@ function scopeLayoutOptionsToActiveSlide(options, activeSlide) {
28925
28939
  function TitleBar(p) {
28926
28940
  const { t } = useTranslation();
28927
28941
  const editing = (p.mode === "edit" || p.mode === "master") && p.canEdit;
28942
+ const { isHidden } = useToolbarVisibility(p.hiddenActions);
28928
28943
  const [searchQuery, setSearchQuery] = useState("");
28929
28944
  const [searchFocused, setSearchFocused] = useState(false);
28930
28945
  const searchRef = useRef(null);
@@ -29011,7 +29026,7 @@ function TitleBar(p) {
29011
29026
  children: /* @__PURE__ */ jsx(LuSave, { className: "w-3.5 h-3.5" })
29012
29027
  }
29013
29028
  ),
29014
- /* @__PURE__ */ jsx(
29029
+ !isHidden("undo") && /* @__PURE__ */ jsx(
29015
29030
  "button",
29016
29031
  {
29017
29032
  type: "button",
@@ -29023,7 +29038,7 @@ function TitleBar(p) {
29023
29038
  children: /* @__PURE__ */ jsx(LuUndo, { className: "w-3.5 h-3.5" })
29024
29039
  }
29025
29040
  ),
29026
- /* @__PURE__ */ jsx(
29041
+ !isHidden("redo") && /* @__PURE__ */ jsx(
29027
29042
  "button",
29028
29043
  {
29029
29044
  type: "button",
@@ -29153,7 +29168,8 @@ function ViewerToolbarSection(props) {
29153
29168
  fileName,
29154
29169
  autosaveStatus,
29155
29170
  autosaveEnabled = true,
29156
- onToggleAutosave
29171
+ onToggleAutosave,
29172
+ hiddenActions
29157
29173
  } = props;
29158
29174
  const handleAddAnimation = useCallback(
29159
29175
  (preset, group) => {
@@ -29360,7 +29376,8 @@ function ViewerToolbarSection(props) {
29360
29376
  onSave: exportHandlers.handleSaveAsPptx,
29361
29377
  findReplaceOpen: findReplace.findReplaceOpen,
29362
29378
  onToggleFindReplace: () => findReplace.setFindReplaceOpen(!findReplace.findReplaceOpen),
29363
- onCommandSearch: handleCommandSearch
29379
+ onCommandSearch: handleCommandSearch,
29380
+ hiddenActions
29364
29381
  }
29365
29382
  ),
29366
29383
  /* @__PURE__ */ jsx(
@@ -29369,6 +29386,7 @@ function ViewerToolbarSection(props) {
29369
29386
  fileName,
29370
29387
  mode,
29371
29388
  canEdit,
29389
+ hiddenActions,
29372
29390
  isNarrowViewport: dialogs.isNarrowViewport,
29373
29391
  isSidebarCollapsed: !s.isSlidesPaneOpen,
29374
29392
  isInspectorPaneOpen: s.isInspectorPaneOpen,
@@ -30324,9 +30342,11 @@ function ViewerCanvasArea(props) {
30324
30342
  annotations,
30325
30343
  presentation,
30326
30344
  onEndPresentation,
30327
- findReplace
30345
+ findReplace,
30346
+ hiddenActions
30328
30347
  } = props;
30329
30348
  const { t } = useTranslation();
30349
+ const { isHidden } = useToolbarVisibility(hiddenActions);
30330
30350
  const effectiveSlide = mode === "master" ? masterPseudoSlide : activeSlide;
30331
30351
  const effectiveTemplateElements = mode === "master" ? s.activeLayout ? s.activeMaster?.elements ?? [] : [] : templateElements;
30332
30352
  const fieldContext = useMemo(() => {
@@ -30602,7 +30622,8 @@ function ViewerCanvasArea(props) {
30602
30622
  totalSlides: slides.length,
30603
30623
  onMovePresentationSlide: presentation.movePresentationSlide,
30604
30624
  onEndPresentation: onEndPresentation ?? (() => {
30605
- })
30625
+ }),
30626
+ hideNavigation: isHidden("navigation")
30606
30627
  }
30607
30628
  ),
30608
30629
  mode === "present" && /* @__PURE__ */ jsx(
@@ -31792,7 +31813,8 @@ function ViewerMainContent(props) {
31792
31813
  leftPanelWidth,
31793
31814
  onResizeLeft,
31794
31815
  rightPanelWidth,
31795
- onResizeRight
31816
+ onResizeRight,
31817
+ hiddenActions
31796
31818
  } = props;
31797
31819
  const {
31798
31820
  ops,
@@ -31887,7 +31909,8 @@ function ViewerMainContent(props) {
31887
31909
  annotations,
31888
31910
  presentation,
31889
31911
  onEndPresentation,
31890
- findReplace
31912
+ findReplace,
31913
+ hiddenActions
31891
31914
  }
31892
31915
  ),
31893
31916
  state.contextMenuState && /* @__PURE__ */ jsx(
@@ -32463,7 +32486,8 @@ var PowerPointViewer = forwardRef(
32463
32486
  onStartCollaboration,
32464
32487
  onStopCollaboration,
32465
32488
  shareDefaults,
32466
- smartArt3D = false
32489
+ smartArt3D = false,
32490
+ hiddenActions
32467
32491
  } = props;
32468
32492
  useEffect(() => {
32469
32493
  const css = buildUserFontFaceStyles(fonts);
@@ -32759,7 +32783,8 @@ var PowerPointViewer = forwardRef(
32759
32783
  fileName,
32760
32784
  autosaveStatus,
32761
32785
  autosaveEnabled,
32762
- onToggleAutosave: () => setAutosaveEnabled((p) => !p)
32786
+ onToggleAutosave: () => setAutosaveEnabled((p) => !p),
32787
+ hiddenActions
32763
32788
  }
32764
32789
  ),
32765
32790
  /* @__PURE__ */ jsx(
@@ -32793,7 +32818,8 @@ var PowerPointViewer = forwardRef(
32793
32818
  leftPanelWidth: isMobile ? void 0 : resizablePanels.leftWidth,
32794
32819
  onResizeLeft: isMobile ? void 0 : resizablePanels.onResizeLeft,
32795
32820
  rightPanelWidth: isMobile ? void 0 : resizablePanels.rightWidth,
32796
- onResizeRight: isMobile ? void 0 : resizablePanels.onResizeRight
32821
+ onResizeRight: isMobile ? void 0 : resizablePanels.onResizeRight,
32822
+ hiddenActions
32797
32823
  }
32798
32824
  ),
32799
32825
  mode !== "present" && (!isVirtualKeyboardOpen || !state.isSlideNotesCollapsed) && /* @__PURE__ */ jsx(
@@ -32819,7 +32845,8 @@ var PowerPointViewer = forwardRef(
32819
32845
  mode,
32820
32846
  onSetMode: handleSetMode,
32821
32847
  onToggleSlideSorter: () => state.setShowSlideSorter((p) => !p),
32822
- hideStatusBar: isMobile
32848
+ hideStatusBar: isMobile,
32849
+ hiddenActions
32823
32850
  }
32824
32851
  ),
32825
32852
  mode !== "present" && isMobile && /* @__PURE__ */ jsx(
Binary file
Binary file