pptx-react-viewer 2.20.4 → 2.20.5

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 (87) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/{AiChatPanel-C3PLXWFZ.js → AiChatPanel-3H5WGSM5.js} +23 -23
  3. package/dist/AiChatPanel-3H5WGSM5.js.br +0 -0
  4. package/dist/AiChatPanel-3H5WGSM5.js.gz +0 -0
  5. package/dist/{AiChatPanel-Y4BQX3TL.mjs → AiChatPanel-AYS6SCSC.mjs} +3 -3
  6. package/dist/AiChatPanel-AYS6SCSC.mjs.br +0 -0
  7. package/dist/AiChatPanel-AYS6SCSC.mjs.gz +0 -0
  8. package/dist/{Model3DScene-Z4JPG2NB.js → Model3DScene-6OVVKUSF.js} +2 -2
  9. package/dist/Model3DScene-6OVVKUSF.js.br +0 -0
  10. package/dist/Model3DScene-6OVVKUSF.js.gz +0 -0
  11. package/dist/{Model3DScene-QJL5F67G.mjs → Model3DScene-QQQEABW7.mjs} +1 -1
  12. package/dist/Model3DScene-QQQEABW7.mjs.br +0 -0
  13. package/dist/Model3DScene-QQQEABW7.mjs.gz +0 -0
  14. package/dist/{chunk-KEGEDUJV.js → chunk-2LOKAZHT.js} +3 -3
  15. package/dist/chunk-2LOKAZHT.js.br +0 -0
  16. package/dist/{chunk-KEGEDUJV.js.gz → chunk-2LOKAZHT.js.gz} +0 -0
  17. package/dist/{chunk-BKBYURH5.js → chunk-62EM4JYP.js} +383 -383
  18. package/dist/chunk-62EM4JYP.js.br +0 -0
  19. package/dist/chunk-62EM4JYP.js.gz +0 -0
  20. package/dist/{chunk-LBSMBRSD.js → chunk-BQJU7ZG6.js} +25 -0
  21. package/dist/chunk-BQJU7ZG6.js.br +0 -0
  22. package/dist/{chunk-LBSMBRSD.js.gz → chunk-BQJU7ZG6.js.gz} +0 -0
  23. package/dist/{chunk-YHEASDGN.mjs → chunk-BSOTRNVG.mjs} +7 -7
  24. package/dist/chunk-BSOTRNVG.mjs.br +0 -0
  25. package/dist/chunk-BSOTRNVG.mjs.gz +0 -0
  26. package/dist/{chunk-ADWJUL4F.mjs → chunk-DIJWZ6ZS.mjs} +1 -1
  27. package/dist/chunk-DIJWZ6ZS.mjs.br +0 -0
  28. package/dist/chunk-DIJWZ6ZS.mjs.gz +0 -0
  29. package/dist/{chunk-7HF5DSE4.js → chunk-ETJBX4YT.js} +147 -147
  30. package/dist/chunk-ETJBX4YT.js.br +0 -0
  31. package/dist/chunk-ETJBX4YT.js.gz +0 -0
  32. package/dist/{chunk-BDMESP3M.js → chunk-JYVQ2MTO.js} +1043 -1043
  33. package/dist/chunk-JYVQ2MTO.js.br +0 -0
  34. package/dist/chunk-JYVQ2MTO.js.gz +0 -0
  35. package/dist/{chunk-JL3GWABW.mjs → chunk-PBFNE5X5.mjs} +1 -1
  36. package/dist/chunk-PBFNE5X5.mjs.br +0 -0
  37. package/dist/chunk-PBFNE5X5.mjs.gz +0 -0
  38. package/dist/{chunk-HXFPEJA4.mjs → chunk-ULBSTLY3.mjs} +25 -0
  39. package/dist/chunk-ULBSTLY3.mjs.br +0 -0
  40. package/dist/{chunk-HXFPEJA4.mjs.gz → chunk-ULBSTLY3.mjs.gz} +0 -0
  41. package/dist/{chunk-KXHYUJI7.mjs → chunk-ZVFTYICH.mjs} +2 -2
  42. package/dist/chunk-ZVFTYICH.mjs.br +0 -0
  43. package/dist/chunk-ZVFTYICH.mjs.gz +0 -0
  44. package/dist/index.js +45 -45
  45. package/dist/index.js.br +0 -0
  46. package/dist/index.js.gz +0 -0
  47. package/dist/index.mjs +5 -5
  48. package/dist/index.mjs.br +0 -0
  49. package/dist/index.mjs.gz +0 -0
  50. package/dist/internals.js +78 -78
  51. package/dist/internals.js.br +0 -0
  52. package/dist/internals.js.gz +0 -0
  53. package/dist/internals.mjs +3 -3
  54. package/dist/internals.mjs.br +0 -0
  55. package/dist/internals.mjs.gz +0 -0
  56. package/dist/viewer/index.js +26 -26
  57. package/dist/viewer/index.js.br +0 -0
  58. package/dist/viewer/index.js.gz +0 -0
  59. package/dist/viewer/index.mjs +5 -5
  60. package/dist/viewer/index.mjs.br +0 -0
  61. package/dist/viewer/index.mjs.gz +0 -0
  62. package/package.json +1 -1
  63. package/dist/AiChatPanel-C3PLXWFZ.js.br +0 -0
  64. package/dist/AiChatPanel-C3PLXWFZ.js.gz +0 -0
  65. package/dist/AiChatPanel-Y4BQX3TL.mjs.br +0 -0
  66. package/dist/AiChatPanel-Y4BQX3TL.mjs.gz +0 -0
  67. package/dist/Model3DScene-QJL5F67G.mjs.br +0 -0
  68. package/dist/Model3DScene-QJL5F67G.mjs.gz +0 -0
  69. package/dist/Model3DScene-Z4JPG2NB.js.br +0 -0
  70. package/dist/Model3DScene-Z4JPG2NB.js.gz +0 -0
  71. package/dist/chunk-7HF5DSE4.js.br +0 -0
  72. package/dist/chunk-7HF5DSE4.js.gz +0 -0
  73. package/dist/chunk-ADWJUL4F.mjs.br +0 -0
  74. package/dist/chunk-ADWJUL4F.mjs.gz +0 -0
  75. package/dist/chunk-BDMESP3M.js.br +0 -0
  76. package/dist/chunk-BDMESP3M.js.gz +0 -0
  77. package/dist/chunk-BKBYURH5.js.br +0 -0
  78. package/dist/chunk-BKBYURH5.js.gz +0 -0
  79. package/dist/chunk-HXFPEJA4.mjs.br +0 -0
  80. package/dist/chunk-JL3GWABW.mjs.br +0 -0
  81. package/dist/chunk-JL3GWABW.mjs.gz +0 -0
  82. package/dist/chunk-KEGEDUJV.js.br +0 -0
  83. package/dist/chunk-KXHYUJI7.mjs.br +0 -0
  84. package/dist/chunk-KXHYUJI7.mjs.gz +0 -0
  85. package/dist/chunk-LBSMBRSD.js.br +0 -0
  86. package/dist/chunk-YHEASDGN.mjs.br +0 -0
  87. package/dist/chunk-YHEASDGN.mjs.gz +0 -0
Binary file
Binary file
@@ -1,5 +1,5 @@
1
1
  import { translationsEn } from './chunk-MZOZNBRO.mjs';
2
- import { SHAPE_PRESET_DEFS, VIEWER_SHORTCUT_REFERENCE, getAnimationInitialStyle, cloneHistorySnapshot, hasShapeProperties, getImageFitStyle, isImageLikeElement, getImageTilingStyle, runMediaCommand, findMediaElementByElementId, mediaPlaybackAttributes, buildTextBlockStyle, hasTextProperties, toCssWritingMode, toCssTextOrientation, toCssVerticalDirection, buildTextBodyLayoutStyle, buildTextBody3DSceneStyle, buildParagraphs, colorWithOpacity, normalizeHexColor, build3DExtrusionData, getComputedFillStyle, getComputedEffectStyle, getComputedStrokeStyle, isStrokeOnlyPresetElement, resolveShapeGeometry, normalizeStrokeDashType, getSvgStrokeDasharray, buildSvgGradientDef, isCalloutShape, getCalloutLeaderLineGeometry, buildCalloutLeaderLineSvgPath, getCalloutViewBoxBounds, svgLineCap, getCompoundLineOffsets, getCompoundLineWidths, computeSelectionRect, DEFAULT_FONT_FAMILY, cellStyleToCss, rectToCells, isCellInRect, tableContainerCss, buildChartViewModel, resolveChartKind, chartPreserveAspectRatio, buildNotesPdfBytes, buildSlidesPdfBytes, buildPreviewAnimation, buildMotionPathPreview, getRoundRectRadiusPx2, getResolvedShapeClipPath, mediaFallbackVisual, registerPersistentAudio, resolveAutoFitFontScale, getSubstituteFontFamily, parsePanoseString, hasDistinctScriptFonts, nestedTextDecorationStyle, pieceLetterSpacing, resolveMetricTrackingPx, hollowTextFillStyle, TEXT_BUILD_ID_SEP, buildTextBuildSpec, textBuildSpanStyle, apply3dEffects, clampUnitInterval, customGeometryPathsToSvgSubpaths, svgGradientFillRef, computeColumnBoundaries, getTableCellBandStyle, parseDrawingColor, parseDrawingColorOpacity, getCellDiagonalBorders, cellRunStyle, getChartStylePalette, computeChartLegendLayout, mediaFallbackIcon, mediaFallbackLabelKey, MEDIA_CHROME_ATTRIBUTE, convertOmmlToMathMl, sanitizeMathMl, tableCellCss, computeResizedColumnWidths, computeResizedRowHeight, DEFAULT_ROW_HEIGHT, ooxmlGradientAngleToCssDegrees, chartPartToAttrs, splitRunForMetrics, hexToRgbChannels, segmentByScript, resolveFontForScript } from './chunk-HXFPEJA4.mjs';
2
+ import { SHAPE_PRESET_DEFS, VIEWER_SHORTCUT_REFERENCE, getAnimationInitialStyle, cloneHistorySnapshot, hasShapeProperties, getImageFitStyle, isImageLikeElement, getImageTilingStyle, runMediaCommand, findMediaElementByElementId, mediaPlaybackAttributes, buildTextBlockStyle, hasTextProperties, toCssWritingMode, toCssTextOrientation, toCssVerticalDirection, buildTextBodyLayoutStyle, buildTextBody3DSceneStyle, buildParagraphs, colorWithOpacity, normalizeHexColor, build3DExtrusionData, getComputedFillStyle, getComputedEffectStyle, getComputedStrokeStyle, isStrokeOnlyPresetElement, resolveShapeGeometry, normalizeStrokeDashType, getSvgStrokeDasharray, buildSvgGradientDef, isCalloutShape, getCalloutLeaderLineGeometry, buildCalloutLeaderLineSvgPath, getCalloutViewBoxBounds, svgLineCap, getCompoundLineOffsets, getCompoundLineWidths, computeSelectionRect, DEFAULT_FONT_FAMILY, cellStyleToCss, rectToCells, isCellInRect, tableContainerCss, buildChartViewModel, resolveChartKind, chartPreserveAspectRatio, buildNotesPdfBytes, buildSlidesPdfBytes, buildPreviewAnimation, buildMotionPathPreview, getRoundRectRadiusPx2, getResolvedShapeClipPath, mediaFallbackVisual, registerPersistentAudio, resolveAutoFitFontScale, getSubstituteFontFamily, parsePanoseString, hasDistinctScriptFonts, nestedTextDecorationStyle, pieceLetterSpacing, resolveMetricTrackingPx, hollowTextFillStyle, TEXT_BUILD_ID_SEP, buildTextBuildSpec, textBuildSpanStyle, apply3dEffects, clampUnitInterval, customGeometryPathsToSvgSubpaths, svgGradientFillRef, computeColumnBoundaries, getTableCellBandStyle, parseDrawingColor, parseDrawingColorOpacity, getCellDiagonalBorders, cellRunStyle, getChartStylePalette, computeChartLegendLayout, mediaFallbackIcon, mediaFallbackLabelKey, MEDIA_CHROME_ATTRIBUTE, convertOmmlToMathMl, sanitizeMathMl, tableCellCss, computeResizedColumnWidths, computeResizedRowHeight, DEFAULT_ROW_HEIGHT, ooxmlGradientAngleToCssDegrees, chartPartToAttrs, splitRunForMetrics, hexToRgbChannels, segmentByScript, resolveFontForScript } from './chunk-ULBSTLY3.mjs';
3
3
  import { clsx } from 'clsx';
4
4
  import { twMerge } from 'tailwind-merge';
5
5
  import React6, { useRef, useState, useEffect, useCallback, useMemo, useLayoutEffect } from 'react';
Binary file
Binary file
@@ -71980,6 +71980,12 @@ var PptxHandlerRuntime65 = class _PptxHandlerRuntime28 extends PptxHandlerRuntim
71980
71980
  let pathData;
71981
71981
  let pathWidth;
71982
71982
  let pathHeight;
71983
+ let customGeometryRawData;
71984
+ let customGeometryAdjustHandlesXY;
71985
+ let customGeometryAdjustHandlesPolar;
71986
+ let customGeometryConnectionSites;
71987
+ let customGeometryTextRect;
71988
+ let customGeometryPaths;
71983
71989
  const custGeom = effectiveSpPr?.["a:custGeom"];
71984
71990
  if (custGeom) {
71985
71991
  const customPath = this.parseCustomGeometry(
@@ -71992,6 +71998,19 @@ var PptxHandlerRuntime65 = class _PptxHandlerRuntime28 extends PptxHandlerRuntim
71992
71998
  pathData = customPath.pathData;
71993
71999
  pathWidth = customPath.pathWidth;
71994
72000
  pathHeight = customPath.pathHeight;
72001
+ customGeometryPaths = this.buildStructuredCustomGeometryPaths(
72002
+ custGeom,
72003
+ customPath.pathWidth,
72004
+ customPath.pathHeight
72005
+ );
72006
+ customGeometryRawData = this.extractCustomGeometryRawData(custGeom);
72007
+ const typedHandles = this.extractCustomGeometryAdjustHandles(custGeom);
72008
+ customGeometryAdjustHandlesXY = typedHandles.xy;
72009
+ customGeometryAdjustHandlesPolar = typedHandles.polar;
72010
+ customGeometryConnectionSites = this.extractCustomGeometryConnectionSites(
72011
+ custGeom
72012
+ );
72013
+ customGeometryTextRect = this.extractCustomGeometryTextRect(custGeom);
71995
72014
  }
71996
72015
  }
71997
72016
  const picGeomNode = custGeom ?? effectiveSpPr?.["a:prstGeom"];
@@ -72118,6 +72137,12 @@ var PptxHandlerRuntime65 = class _PptxHandlerRuntime28 extends PptxHandlerRuntim
72118
72137
  pathData,
72119
72138
  pathWidth,
72120
72139
  pathHeight,
72140
+ customGeometryPaths,
72141
+ customGeometryRawData,
72142
+ customGeometryAdjustHandlesXY,
72143
+ customGeometryAdjustHandlesPolar,
72144
+ customGeometryConnectionSites,
72145
+ customGeometryTextRect,
72121
72146
  shapeStyle: this.extractShapeStyle(effectiveSpPr, styleNode),
72122
72147
  rotation,
72123
72148
  skewX,
Binary file
@@ -1,6 +1,6 @@
1
- import { cloneHistorySnapshot, MIN_ELEMENT_SIZE, ZOOM_TO_SELECTION_PADDING, DEFAULT_CANVAS_HEIGHT, DEFAULT_CANVAS_WIDTH, UNGROUPED_SECTION_ID, DEFAULT_SECTION_GROUP_ID, DEFAULT_TABLE_ROWS, DEFAULT_TABLE_COLUMNS, executeMediaCommand, buildPdfFromImageData, buildNotesPdf, EMU_PER_PX, GRID_SIZE, DEFAULT_TEXT_FONT_SIZE } from './chunk-JL3GWABW.mjs';
1
+ import { cloneHistorySnapshot, MIN_ELEMENT_SIZE, ZOOM_TO_SELECTION_PADDING, DEFAULT_CANVAS_HEIGHT, DEFAULT_CANVAS_WIDTH, UNGROUPED_SECTION_ID, DEFAULT_SECTION_GROUP_ID, DEFAULT_TABLE_ROWS, DEFAULT_TABLE_COLUMNS, executeMediaCommand, buildPdfFromImageData, buildNotesPdf, EMU_PER_PX, GRID_SIZE, DEFAULT_TEXT_FONT_SIZE } from './chunk-PBFNE5X5.mjs';
2
2
  import { translationsEn } from './chunk-MZOZNBRO.mjs';
3
- import { TOOLBAR_TABS, computeVirtualRange, DEFAULT_VIRTUAL_OVERSCAN, createPresenceProjector, BROADCAST_THROTTLE_MS, createSyncGate, clearLocalAwareness, validateRoomId, createDepartureChannel, resolveTransportForServerUrl, isMixedContentBlocked, CONNECTION_TIMEOUT_MS, registerCollaborationTeardown, sanitizeColor, cloneTemplateElementsBySlideId, cloneSlide, createWheelStepBuffer, createViewerZoomStore, clampZoomScale, mapEditingWheel, PresentationAnimationController, PRESENTATION_HASH, PRESENTATION_NONCE_KEY, PRESENTATION_CHANNEL_NAME, swapPresentationWindows, PRESENTATION_MESSAGE_ORIGIN, clearAudienceContent, buildPresentationAudienceUrl, resolveAudienceScreenPlacement, placeAudienceWindow, storeAudienceContent, isPresentationSessionMessage, endAudienceDisplay, createPresentationKeyBuffer, acceptsPresentationInput, resolveAutoAdvanceDelayMs, hasShowSlideAfter, nextShowSlideIndex, previousShowSlideIndex, createPresenterShowGuard, attachPresentationVisibilityPause, buildMorphTransitionPlan, morphOptionToMode, buildMorphAnimationRules, findInSlides, applyFindReplacements, createCollaborationLivePatcher, publishLiveInlineText, PptxHandler, collectMediaElements, collectImagePaths, partitionTemplateElements, resolveAuthoredCustomShowId, buildInitialGuides, EncryptedFileError, resolveAutosaveIntervalMs, shouldWriteAutosaveSnapshot, saveAutosaveSnapshot, autosaveSnapshotMark, updateMasterViewElement, isTemplateElementId, hasShapeProperties, hasTextProperties, getInlineEditorSelection, applyStyleToSelectedSegments, setPendingSelectionRestore, applyCaseTransformToSegments, transformTextCase, masterViewElements, replaceMasterViewElements, addSection, renameSection, deleteSection, moveSectionUp, moveSectionDown, moveSlidesToSection, normalizeColorsForCapture, preprocessCssForCapture, downloadBlob, sanitizeDownloadFilename, slideProgressPercent, slideStatusLabel, EXPORT_ASSEMBLING_PERCENT, EXPORT_DONE_PERCENT, isExportAbortError, recordProgressPercent, applyThemeToData, THEME_PRESETS, themeColorSchemesEqual, comparePresentation, applyAcceptSlide, applyAcceptAllSlides, collectUsedFonts, detectTouchDevice, detectOrientation, isMobileViewport, MOBILE_BREAKPOINT, TABLET_BREAKPOINT, describeFontEmbedding, mayLeaveSlideShow, stopAllPersistentAudio, remapTextToSegments, guidePxToEmu, buildSaveSlides, embeddedFontSaveOptions, resolveSlideSizeSelection, saveDeckWithPassword, shouldProbeAutosaveRecovery, probeAutosaveRecovery, acceptAutosaveRecovery, discardAutosaveRecovery, shouldLoopContinuously, applyRehearsalTimings, copyFormatFromElement, applyFormatToElement, mapEditorKey, isEditorTextInputTarget, createViewerOptionsStore, readSlidesFromYDoc, shouldRoomSlidesReplaceLoad, reconcileSlidesInYDoc, LOCAL_SYNC_ORIGIN, observeYDocSlides, shouldAutoFollowBroadcaster, createTouchGestureRecognizer, MAX_ZOOM_SCALE, MIN_ZOOM_SCALE, isKeyboardOpen, scopeLayoutOptionsToSlide, openPptxFile, readBackstageRecentFile, isActionHidden, canInteractWithElement, filterInteractableIds, beginShapeAdjustment, buildElementClipboardPayload, savedPresentationFileName, generatePackageReadme, presentationBaseName, exportDeckJson, groupElements, generateElementId, makeCloneId, ungroupElements, alignElements, distributeElements, bringForward, sendBackward, bringToFront, sendToBack, newTableElement, createDefaultChartElement, readViewportMetrics, computeKeyboardInset, mergeShapes, mapPresentationKey, lastShowSlideIndex, firstShowSlideIndex, mapPresentationWheel, computeColorFilter, computeSlideIndices, buildPrintDocument, buildOutlineHtml, buildSlidesHtml, buildNotesHtml, buildHandoutsHtml, createBlankSlide, makeSlideId, buildSlideTemplateSlide, templateSchemeFromTheme, buildThemeColorMap, reResolveSlideColors, computeEntranceAnimationDelay, createPresentationSessionId, resolveTransitionDurationMs, runPresentationAction, createPresenterTimer, createInitialPresentationSnapshot, mergePresentationSnapshot, resetPresenterTimer, presenterElapsed, stepPresenterZoom, togglePresenterTimer, addCommentToList, removeCommentFromList, editCommentInList, toggleCommentResolvedInList, replyToCommentInList, canvasToJpegData, downloadDataUrl, pickSupportedMimeType, WEBM_MIME_CANDIDATES, fpsToFrameIntervalMs, segmentFrameCount, encodeGif, resolveShowSlideIndexes, groupSlidesBySection, masterViewPseudoSlide, hasCopyableFormat, createBackstagePresentation, buildFieldSubstitutionContext, cloneElementForPaste, computeScrollDelta, getPresetShapeClipPath, svgPathToPolygons, polygonsToSvgPath, rerouteConnectorsForMovedElements, applyReroutedConnectors, SvgExporter, buildPrintHtmlDocument, deleteTableColumn, rebuildTableStructureInRawXml, insertTableColumn, deleteTableRow, insertTableRow, updateCellTextStyleInRawXml, setCellText, updateCellTextInRawXml, splitCell, updateMergeAttrsInRawXml, mergeCells, isPpactionUrl, parsePpactionUrl, safeOpenUrl, ACTION_BUTTON_PRESETS, elementActionToPptxAction, isUrlSafe, buildSmartArtPresetData, computeSnapToShape, publishLiveGeometry, getDraggedShapeAdjustments, computeMarqueeHitIds, mergeAdditiveSelection, applyResize, snapBoxToGrid, applyMotionPathPreset } from './chunk-HXFPEJA4.mjs';
3
+ import { TOOLBAR_TABS, computeVirtualRange, DEFAULT_VIRTUAL_OVERSCAN, createPresenceProjector, BROADCAST_THROTTLE_MS, createSyncGate, clearLocalAwareness, validateRoomId, createDepartureChannel, resolveTransportForServerUrl, isMixedContentBlocked, CONNECTION_TIMEOUT_MS, registerCollaborationTeardown, sanitizeColor, cloneTemplateElementsBySlideId, cloneSlide, createWheelStepBuffer, createViewerZoomStore, clampZoomScale, mapEditingWheel, PresentationAnimationController, PRESENTATION_HASH, PRESENTATION_NONCE_KEY, PRESENTATION_CHANNEL_NAME, swapPresentationWindows, PRESENTATION_MESSAGE_ORIGIN, clearAudienceContent, buildPresentationAudienceUrl, resolveAudienceScreenPlacement, placeAudienceWindow, storeAudienceContent, isPresentationSessionMessage, endAudienceDisplay, createPresentationKeyBuffer, acceptsPresentationInput, resolveAutoAdvanceDelayMs, hasShowSlideAfter, nextShowSlideIndex, previousShowSlideIndex, createPresenterShowGuard, attachPresentationVisibilityPause, buildMorphTransitionPlan, morphOptionToMode, buildMorphAnimationRules, findInSlides, applyFindReplacements, createCollaborationLivePatcher, publishLiveInlineText, PptxHandler, collectMediaElements, collectImagePaths, partitionTemplateElements, resolveAuthoredCustomShowId, buildInitialGuides, EncryptedFileError, resolveAutosaveIntervalMs, shouldWriteAutosaveSnapshot, saveAutosaveSnapshot, autosaveSnapshotMark, updateMasterViewElement, isTemplateElementId, hasShapeProperties, hasTextProperties, getInlineEditorSelection, applyStyleToSelectedSegments, setPendingSelectionRestore, applyCaseTransformToSegments, transformTextCase, masterViewElements, replaceMasterViewElements, addSection, renameSection, deleteSection, moveSectionUp, moveSectionDown, moveSlidesToSection, normalizeColorsForCapture, preprocessCssForCapture, downloadBlob, sanitizeDownloadFilename, slideProgressPercent, slideStatusLabel, EXPORT_ASSEMBLING_PERCENT, EXPORT_DONE_PERCENT, isExportAbortError, recordProgressPercent, applyThemeToData, THEME_PRESETS, themeColorSchemesEqual, comparePresentation, applyAcceptSlide, applyAcceptAllSlides, collectUsedFonts, detectTouchDevice, detectOrientation, isMobileViewport, MOBILE_BREAKPOINT, TABLET_BREAKPOINT, describeFontEmbedding, mayLeaveSlideShow, stopAllPersistentAudio, remapTextToSegments, guidePxToEmu, buildSaveSlides, embeddedFontSaveOptions, resolveSlideSizeSelection, saveDeckWithPassword, shouldProbeAutosaveRecovery, probeAutosaveRecovery, acceptAutosaveRecovery, discardAutosaveRecovery, shouldLoopContinuously, applyRehearsalTimings, copyFormatFromElement, applyFormatToElement, mapEditorKey, isEditorTextInputTarget, createViewerOptionsStore, readSlidesFromYDoc, shouldRoomSlidesReplaceLoad, reconcileSlidesInYDoc, LOCAL_SYNC_ORIGIN, observeYDocSlides, shouldAutoFollowBroadcaster, createTouchGestureRecognizer, MAX_ZOOM_SCALE, MIN_ZOOM_SCALE, isKeyboardOpen, scopeLayoutOptionsToSlide, openPptxFile, readBackstageRecentFile, isActionHidden, canInteractWithElement, filterInteractableIds, beginShapeAdjustment, buildElementClipboardPayload, savedPresentationFileName, generatePackageReadme, presentationBaseName, exportDeckJson, groupElements, generateElementId, makeCloneId, ungroupElements, alignElements, distributeElements, bringForward, sendBackward, bringToFront, sendToBack, newTableElement, createDefaultChartElement, readViewportMetrics, computeKeyboardInset, mergeShapes, mapPresentationKey, lastShowSlideIndex, firstShowSlideIndex, mapPresentationWheel, computeColorFilter, computeSlideIndices, buildPrintDocument, buildOutlineHtml, buildSlidesHtml, buildNotesHtml, buildHandoutsHtml, createBlankSlide, makeSlideId, buildSlideTemplateSlide, templateSchemeFromTheme, buildThemeColorMap, reResolveSlideColors, computeEntranceAnimationDelay, createPresentationSessionId, resolveTransitionDurationMs, runPresentationAction, createPresenterTimer, createInitialPresentationSnapshot, mergePresentationSnapshot, resetPresenterTimer, presenterElapsed, stepPresenterZoom, togglePresenterTimer, addCommentToList, removeCommentFromList, editCommentInList, toggleCommentResolvedInList, replyToCommentInList, canvasToJpegData, downloadDataUrl, pickSupportedMimeType, WEBM_MIME_CANDIDATES, fpsToFrameIntervalMs, segmentFrameCount, encodeGif, resolveShowSlideIndexes, groupSlidesBySection, masterViewPseudoSlide, hasCopyableFormat, createBackstagePresentation, buildFieldSubstitutionContext, cloneElementForPaste, computeScrollDelta, getPresetShapeClipPath, svgPathToPolygons, polygonsToSvgPath, rerouteConnectorsForMovedElements, applyReroutedConnectors, SvgExporter, buildPrintHtmlDocument, deleteTableColumn, rebuildTableStructureInRawXml, insertTableColumn, deleteTableRow, insertTableRow, updateCellTextStyleInRawXml, setCellText, updateCellTextInRawXml, splitCell, updateMergeAttrsInRawXml, mergeCells, isPpactionUrl, parsePpactionUrl, safeOpenUrl, ACTION_BUTTON_PRESETS, elementActionToPptxAction, isUrlSafe, buildSmartArtPresetData, computeSnapToShape, publishLiveGeometry, getDraggedShapeAdjustments, computeMarqueeHitIds, mergeAdditiveSelection, applyResize, snapBoxToGrid, applyMotionPathPreset } from './chunk-ULBSTLY3.mjs';
4
4
  import { useRef, useState, useEffect, useCallback, useMemo, useLayoutEffect, useSyncExternalStore, useImperativeHandle } from 'react';
5
5
  import JSZip from 'jszip';
6
6
  import { useTranslation } from 'react-i18next';
Binary file
Binary file
package/dist/index.js CHANGED
@@ -1,54 +1,54 @@
1
1
  'use strict';
2
2
 
3
- var chunkBDMESP3M_js = require('./chunk-BDMESP3M.js');
4
- require('./chunk-KEGEDUJV.js');
5
- var chunkBKBYURH5_js = require('./chunk-BKBYURH5.js');
6
- var chunk7HF5DSE4_js = require('./chunk-7HF5DSE4.js');
3
+ var chunkJYVQ2MTO_js = require('./chunk-JYVQ2MTO.js');
4
+ require('./chunk-2LOKAZHT.js');
5
+ var chunk62EM4JYP_js = require('./chunk-62EM4JYP.js');
6
+ var chunkETJBX4YT_js = require('./chunk-ETJBX4YT.js');
7
7
  var chunk6CPUGAK7_js = require('./chunk-6CPUGAK7.js');
8
- var chunkLBSMBRSD_js = require('./chunk-LBSMBRSD.js');
8
+ var chunkBQJU7ZG6_js = require('./chunk-BQJU7ZG6.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 chunkBDMESP3M_js.PowerPointViewer; }
15
+ get: function () { return chunkJYVQ2MTO_js.PowerPointViewer; }
16
16
  });
17
17
  Object.defineProperty(exports, "SlideCanvas", {
18
18
  enumerable: true,
19
- get: function () { return chunkBDMESP3M_js.SlideCanvas; }
19
+ get: function () { return chunkJYVQ2MTO_js.SlideCanvas; }
20
20
  });
21
21
  Object.defineProperty(exports, "SlideTemplateGalleryDialog", {
22
22
  enumerable: true,
23
- get: function () { return chunkBDMESP3M_js.SlideTemplateGalleryDialog; }
23
+ get: function () { return chunkJYVQ2MTO_js.SlideTemplateGalleryDialog; }
24
24
  });
25
25
  Object.defineProperty(exports, "SlideTemplatePreview", {
26
26
  enumerable: true,
27
- get: function () { return chunkBDMESP3M_js.SlideTemplatePreview; }
27
+ get: function () { return chunkJYVQ2MTO_js.SlideTemplatePreview; }
28
28
  });
29
29
  Object.defineProperty(exports, "Toolbar", {
30
30
  enumerable: true,
31
- get: function () { return chunkBDMESP3M_js.Toolbar; }
31
+ get: function () { return chunkJYVQ2MTO_js.Toolbar; }
32
32
  });
33
33
  Object.defineProperty(exports, "ViewerThemeProvider", {
34
34
  enumerable: true,
35
- get: function () { return chunkBDMESP3M_js.ViewerThemeProvider; }
35
+ get: function () { return chunkJYVQ2MTO_js.ViewerThemeProvider; }
36
36
  });
37
37
  Object.defineProperty(exports, "useViewerTheme", {
38
38
  enumerable: true,
39
- get: function () { return chunkBDMESP3M_js.useViewerTheme; }
39
+ get: function () { return chunkJYVQ2MTO_js.useViewerTheme; }
40
40
  });
41
41
  Object.defineProperty(exports, "renderToCanvas", {
42
42
  enumerable: true,
43
- get: function () { return chunkBKBYURH5_js.renderToCanvas; }
43
+ get: function () { return chunk62EM4JYP_js.renderToCanvas; }
44
44
  });
45
45
  Object.defineProperty(exports, "useViewerBuildingBlocks", {
46
46
  enumerable: true,
47
- get: function () { return chunkBKBYURH5_js.useViewerBuildingBlocks; }
47
+ get: function () { return chunk62EM4JYP_js.useViewerBuildingBlocks; }
48
48
  });
49
49
  Object.defineProperty(exports, "getAnimationInitialStyle", {
50
50
  enumerable: true,
51
- get: function () { return chunk7HF5DSE4_js.getAnimationInitialStyle; }
51
+ get: function () { return chunkETJBX4YT_js.getAnimationInitialStyle; }
52
52
  });
53
53
  Object.defineProperty(exports, "LOCALE_CATALOG", {
54
54
  enumerable: true,
@@ -56,121 +56,121 @@ Object.defineProperty(exports, "LOCALE_CATALOG", {
56
56
  });
57
57
  Object.defineProperty(exports, "AVATAR_COLOR_SWATCHES", {
58
58
  enumerable: true,
59
- get: function () { return chunkLBSMBRSD_js.AVATAR_COLOR_SWATCHES; }
59
+ get: function () { return chunkBQJU7ZG6_js.AVATAR_COLOR_SWATCHES; }
60
60
  });
61
61
  Object.defineProperty(exports, "DEFAULT_VIEWER_PROFILE", {
62
62
  enumerable: true,
63
- get: function () { return chunkLBSMBRSD_js.DEFAULT_VIEWER_PROFILE; }
63
+ get: function () { return chunkBQJU7ZG6_js.DEFAULT_VIEWER_PROFILE; }
64
64
  });
65
65
  Object.defineProperty(exports, "PPTX_OPEN_ACCEPT", {
66
66
  enumerable: true,
67
- get: function () { return chunkLBSMBRSD_js.PPTX_OPEN_ACCEPT; }
67
+ get: function () { return chunkBQJU7ZG6_js.PPTX_OPEN_ACCEPT; }
68
68
  });
69
69
  Object.defineProperty(exports, "PRESENTATION_OPEN_EXTENSIONS", {
70
70
  enumerable: true,
71
- get: function () { return chunkLBSMBRSD_js.PRESENTATION_OPEN_EXTENSIONS; }
71
+ get: function () { return chunkBQJU7ZG6_js.PRESENTATION_OPEN_EXTENSIONS; }
72
72
  });
73
73
  Object.defineProperty(exports, "SLIDE_TEMPLATES", {
74
74
  enumerable: true,
75
- get: function () { return chunkLBSMBRSD_js.SLIDE_TEMPLATES; }
75
+ get: function () { return chunkBQJU7ZG6_js.SLIDE_TEMPLATES; }
76
76
  });
77
77
  Object.defineProperty(exports, "THEME_CATALOG", {
78
78
  enumerable: true,
79
- get: function () { return chunkLBSMBRSD_js.THEME_CATALOG; }
79
+ get: function () { return chunkBQJU7ZG6_js.THEME_CATALOG; }
80
80
  });
81
81
  Object.defineProperty(exports, "VIEWER_PREFS_STORAGE_KEY", {
82
82
  enumerable: true,
83
- get: function () { return chunkLBSMBRSD_js.VIEWER_PREFS_STORAGE_KEY; }
83
+ get: function () { return chunkBQJU7ZG6_js.VIEWER_PREFS_STORAGE_KEY; }
84
84
  });
85
85
  Object.defineProperty(exports, "buildSlideTemplateContent", {
86
86
  enumerable: true,
87
- get: function () { return chunkLBSMBRSD_js.buildSlideTemplateContent; }
87
+ get: function () { return chunkBQJU7ZG6_js.buildSlideTemplateContent; }
88
88
  });
89
89
  Object.defineProperty(exports, "buildSlideTemplateSlide", {
90
90
  enumerable: true,
91
- get: function () { return chunkLBSMBRSD_js.buildSlideTemplateSlide; }
91
+ get: function () { return chunkBQJU7ZG6_js.buildSlideTemplateSlide; }
92
92
  });
93
93
  Object.defineProperty(exports, "clearAllLocalViewerData", {
94
94
  enumerable: true,
95
- get: function () { return chunkLBSMBRSD_js.clearAllLocalViewerData; }
95
+ get: function () { return chunkBQJU7ZG6_js.clearAllLocalViewerData; }
96
96
  });
97
97
  Object.defineProperty(exports, "clearStoredViewerPrefs", {
98
98
  enumerable: true,
99
- get: function () { return chunkLBSMBRSD_js.clearStoredViewerPrefs; }
99
+ get: function () { return chunkBQJU7ZG6_js.clearStoredViewerPrefs; }
100
100
  });
101
101
  Object.defineProperty(exports, "defaultCssVars", {
102
102
  enumerable: true,
103
- get: function () { return chunkLBSMBRSD_js.defaultCssVars; }
103
+ get: function () { return chunkBQJU7ZG6_js.defaultCssVars; }
104
104
  });
105
105
  Object.defineProperty(exports, "defaultRadius", {
106
106
  enumerable: true,
107
- get: function () { return chunkLBSMBRSD_js.defaultRadius; }
107
+ get: function () { return chunkBQJU7ZG6_js.defaultRadius; }
108
108
  });
109
109
  Object.defineProperty(exports, "defaultThemeColors", {
110
110
  enumerable: true,
111
- get: function () { return chunkLBSMBRSD_js.defaultThemeColors; }
111
+ get: function () { return chunkBQJU7ZG6_js.defaultThemeColors; }
112
112
  });
113
113
  Object.defineProperty(exports, "getLocalStorageUsageSummary", {
114
114
  enumerable: true,
115
- get: function () { return chunkLBSMBRSD_js.getLocalStorageUsageSummary; }
115
+ get: function () { return chunkBQJU7ZG6_js.getLocalStorageUsageSummary; }
116
116
  });
117
117
  Object.defineProperty(exports, "isLegacyBinaryPresentation", {
118
118
  enumerable: true,
119
- get: function () { return chunkLBSMBRSD_js.isLegacyBinaryPresentation; }
119
+ get: function () { return chunkBQJU7ZG6_js.isLegacyBinaryPresentation; }
120
120
  });
121
121
  Object.defineProperty(exports, "isSupportedPresentationFile", {
122
122
  enumerable: true,
123
- get: function () { return chunkLBSMBRSD_js.isSupportedPresentationFile; }
123
+ get: function () { return chunkBQJU7ZG6_js.isSupportedPresentationFile; }
124
124
  });
125
125
  Object.defineProperty(exports, "presentationBaseName", {
126
126
  enumerable: true,
127
- get: function () { return chunkLBSMBRSD_js.presentationBaseName; }
127
+ get: function () { return chunkBQJU7ZG6_js.presentationBaseName; }
128
128
  });
129
129
  Object.defineProperty(exports, "readStoredViewerPrefs", {
130
130
  enumerable: true,
131
- get: function () { return chunkLBSMBRSD_js.readStoredViewerPrefs; }
131
+ get: function () { return chunkBQJU7ZG6_js.readStoredViewerPrefs; }
132
132
  });
133
133
  Object.defineProperty(exports, "resolveProfileInitial", {
134
134
  enumerable: true,
135
- get: function () { return chunkLBSMBRSD_js.resolveProfileInitial; }
135
+ get: function () { return chunkBQJU7ZG6_js.resolveProfileInitial; }
136
136
  });
137
137
  Object.defineProperty(exports, "resolveThemeCatalogEntry", {
138
138
  enumerable: true,
139
- get: function () { return chunkLBSMBRSD_js.resolveThemeCatalogEntry; }
139
+ get: function () { return chunkBQJU7ZG6_js.resolveThemeCatalogEntry; }
140
140
  });
141
141
  Object.defineProperty(exports, "saveViewerProfile", {
142
142
  enumerable: true,
143
- get: function () { return chunkLBSMBRSD_js.saveViewerProfile; }
143
+ get: function () { return chunkBQJU7ZG6_js.saveViewerProfile; }
144
144
  });
145
145
  Object.defineProperty(exports, "savedPresentationFileName", {
146
146
  enumerable: true,
147
- get: function () { return chunkLBSMBRSD_js.savedPresentationFileName; }
147
+ get: function () { return chunkBQJU7ZG6_js.savedPresentationFileName; }
148
148
  });
149
149
  Object.defineProperty(exports, "themeToCssVars", {
150
150
  enumerable: true,
151
- get: function () { return chunkLBSMBRSD_js.themeToCssVars; }
151
+ get: function () { return chunkBQJU7ZG6_js.themeToCssVars; }
152
152
  });
153
153
  Object.defineProperty(exports, "vermilionDarkColors", {
154
154
  enumerable: true,
155
- get: function () { return chunkLBSMBRSD_js.vermilionDarkColors; }
155
+ get: function () { return chunkBQJU7ZG6_js.vermilionDarkColors; }
156
156
  });
157
157
  Object.defineProperty(exports, "vermilionDarkTheme", {
158
158
  enumerable: true,
159
- get: function () { return chunkLBSMBRSD_js.vermilionDarkTheme; }
159
+ get: function () { return chunkBQJU7ZG6_js.vermilionDarkTheme; }
160
160
  });
161
161
  Object.defineProperty(exports, "vermilionLightColors", {
162
162
  enumerable: true,
163
- get: function () { return chunkLBSMBRSD_js.vermilionLightColors; }
163
+ get: function () { return chunkBQJU7ZG6_js.vermilionLightColors; }
164
164
  });
165
165
  Object.defineProperty(exports, "vermilionLightTheme", {
166
166
  enumerable: true,
167
- get: function () { return chunkLBSMBRSD_js.vermilionLightTheme; }
167
+ get: function () { return chunkBQJU7ZG6_js.vermilionLightTheme; }
168
168
  });
169
169
  Object.defineProperty(exports, "vermilionRadius", {
170
170
  enumerable: true,
171
- get: function () { return chunkLBSMBRSD_js.vermilionRadius; }
171
+ get: function () { return chunkBQJU7ZG6_js.vermilionRadius; }
172
172
  });
173
173
  Object.defineProperty(exports, "writeStoredViewerPrefs", {
174
174
  enumerable: true,
175
- get: function () { return chunkLBSMBRSD_js.writeStoredViewerPrefs; }
175
+ get: function () { return chunkBQJU7ZG6_js.writeStoredViewerPrefs; }
176
176
  });
package/dist/index.js.br CHANGED
Binary file
package/dist/index.js.gz CHANGED
Binary file
package/dist/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
- export { PowerPointViewer, SlideCanvas, SlideTemplateGalleryDialog, SlideTemplatePreview, Toolbar, ViewerThemeProvider, useViewerTheme } from './chunk-YHEASDGN.mjs';
2
- import './chunk-ADWJUL4F.mjs';
3
- export { renderToCanvas, useViewerBuildingBlocks } from './chunk-KXHYUJI7.mjs';
4
- export { getAnimationInitialStyle } from './chunk-JL3GWABW.mjs';
1
+ export { PowerPointViewer, SlideCanvas, SlideTemplateGalleryDialog, SlideTemplatePreview, Toolbar, ViewerThemeProvider, useViewerTheme } from './chunk-BSOTRNVG.mjs';
2
+ import './chunk-DIJWZ6ZS.mjs';
3
+ export { renderToCanvas, useViewerBuildingBlocks } from './chunk-ZVFTYICH.mjs';
4
+ export { getAnimationInitialStyle } from './chunk-PBFNE5X5.mjs';
5
5
  export { LOCALE_CATALOG } from './chunk-MZOZNBRO.mjs';
6
- export { AVATAR_COLOR_SWATCHES, DEFAULT_VIEWER_PROFILE, PPTX_OPEN_ACCEPT, PRESENTATION_OPEN_EXTENSIONS, SLIDE_TEMPLATES, THEME_CATALOG, VIEWER_PREFS_STORAGE_KEY, buildSlideTemplateContent, buildSlideTemplateSlide, clearAllLocalViewerData, clearStoredViewerPrefs, defaultCssVars, defaultRadius, defaultThemeColors, getLocalStorageUsageSummary, isLegacyBinaryPresentation, isSupportedPresentationFile, presentationBaseName, readStoredViewerPrefs, resolveProfileInitial, resolveThemeCatalogEntry, saveViewerProfile, savedPresentationFileName, themeToCssVars, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius, writeStoredViewerPrefs } from './chunk-HXFPEJA4.mjs';
6
+ export { AVATAR_COLOR_SWATCHES, DEFAULT_VIEWER_PROFILE, PPTX_OPEN_ACCEPT, PRESENTATION_OPEN_EXTENSIONS, SLIDE_TEMPLATES, THEME_CATALOG, VIEWER_PREFS_STORAGE_KEY, buildSlideTemplateContent, buildSlideTemplateSlide, clearAllLocalViewerData, clearStoredViewerPrefs, defaultCssVars, defaultRadius, defaultThemeColors, getLocalStorageUsageSummary, isLegacyBinaryPresentation, isSupportedPresentationFile, presentationBaseName, readStoredViewerPrefs, resolveProfileInitial, resolveThemeCatalogEntry, saveViewerProfile, savedPresentationFileName, themeToCssVars, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius, writeStoredViewerPrefs } from './chunk-ULBSTLY3.mjs';
7
7
  import './chunk-XGB3TDIC.mjs';
package/dist/index.mjs.br CHANGED
Binary file
package/dist/index.mjs.gz CHANGED
Binary file