pptx-react-viewer 3.7.0 → 3.8.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.
- package/CHANGELOG.md +13 -0
- package/dist/{AiChatPanel-L5QGWVZK.mjs → AiChatPanel-A5DCEHTO.mjs} +4 -4
- package/dist/AiChatPanel-A5DCEHTO.mjs.br +0 -0
- package/dist/AiChatPanel-A5DCEHTO.mjs.gz +0 -0
- package/dist/{AiChatPanel-M3AHKYPS.js → AiChatPanel-XLQM4BQJ.js} +25 -25
- package/dist/AiChatPanel-XLQM4BQJ.js.br +0 -0
- package/dist/AiChatPanel-XLQM4BQJ.js.gz +0 -0
- package/dist/{Area3DChartScene-AE2XYKDW.mjs → Area3DChartScene-5CMEMIBI.mjs} +1 -1
- package/dist/Area3DChartScene-5CMEMIBI.mjs.br +0 -0
- package/dist/Area3DChartScene-5CMEMIBI.mjs.gz +0 -0
- package/dist/{Area3DChartScene-ZQLQK6L4.js → Area3DChartScene-RZ3V3WOR.js} +2 -2
- package/dist/Area3DChartScene-RZ3V3WOR.js.br +0 -0
- package/dist/Area3DChartScene-RZ3V3WOR.js.gz +0 -0
- package/dist/{Bar3DChartScene-FQV62XOI.mjs → Bar3DChartScene-H3MYUJKV.mjs} +1 -1
- package/dist/Bar3DChartScene-H3MYUJKV.mjs.br +0 -0
- package/dist/Bar3DChartScene-H3MYUJKV.mjs.gz +0 -0
- package/dist/{Bar3DChartScene-TZ6ADFBS.js → Bar3DChartScene-KHCQ6TEC.js} +2 -2
- package/dist/Bar3DChartScene-KHCQ6TEC.js.br +0 -0
- package/dist/Bar3DChartScene-KHCQ6TEC.js.gz +0 -0
- package/dist/{Line3DChartScene-5CKPAX63.js → Line3DChartScene-QEACF3U3.js} +2 -2
- package/dist/Line3DChartScene-QEACF3U3.js.br +0 -0
- package/dist/Line3DChartScene-QEACF3U3.js.gz +0 -0
- package/dist/{Line3DChartScene-FEUY3PCE.mjs → Line3DChartScene-YFRPJHDX.mjs} +1 -1
- package/dist/Line3DChartScene-YFRPJHDX.mjs.br +0 -0
- package/dist/Line3DChartScene-YFRPJHDX.mjs.gz +0 -0
- package/dist/{Model3DScene-V3DHIISV.mjs → Model3DScene-O24KP723.mjs} +1 -1
- package/dist/Model3DScene-O24KP723.mjs.br +0 -0
- package/dist/Model3DScene-O24KP723.mjs.gz +0 -0
- package/dist/{Model3DScene-BLXEALM6.js → Model3DScene-QQWKGJ3T.js} +2 -2
- package/dist/{Model3DScene-BLXEALM6.js.br → Model3DScene-QQWKGJ3T.js.br} +0 -0
- package/dist/Model3DScene-QQWKGJ3T.js.gz +0 -0
- package/dist/{PieChart3DScene-VZI2VARG.mjs → PieChart3DScene-CI6CW22C.mjs} +1 -1
- package/dist/{PieChart3DScene-VZI2VARG.mjs.br → PieChart3DScene-CI6CW22C.mjs.br} +0 -0
- package/dist/PieChart3DScene-CI6CW22C.mjs.gz +0 -0
- package/dist/{PieChart3DScene-GHHT3PDV.js → PieChart3DScene-L3MHKQHW.js} +2 -2
- package/dist/{PieChart3DScene-GHHT3PDV.js.br → PieChart3DScene-L3MHKQHW.js.br} +0 -0
- package/dist/PieChart3DScene-L3MHKQHW.js.gz +0 -0
- package/dist/PowerPointViewer-Cl6jBPNw.d.ts.map +1 -1
- package/dist/{SurfaceChart3DScene-WWIMQ65D.js → SurfaceChart3DScene-5IER6VFW.js} +2 -2
- package/dist/{SurfaceChart3DScene-WWIMQ65D.js.br → SurfaceChart3DScene-5IER6VFW.js.br} +0 -0
- package/dist/SurfaceChart3DScene-5IER6VFW.js.gz +0 -0
- package/dist/{SurfaceChart3DScene-T36E2HBA.mjs → SurfaceChart3DScene-JUXRC3K2.mjs} +1 -1
- package/dist/SurfaceChart3DScene-JUXRC3K2.mjs.br +0 -0
- package/dist/SurfaceChart3DScene-JUXRC3K2.mjs.gz +0 -0
- package/dist/{audience-content-store-bR7Gs_1S.d.ts → audience-content-store-CB2WVM1K.d.ts} +12 -3
- package/dist/{audience-content-store-bR7Gs_1S.d.ts.map → audience-content-store-CB2WVM1K.d.ts.map} +1 -1
- package/dist/{chunk-TUSALM3A.js → chunk-4222CHFH.js} +1709 -1235
- package/dist/chunk-4222CHFH.js.br +0 -0
- package/dist/chunk-4222CHFH.js.gz +0 -0
- package/dist/{chunk-NV55GU5V.mjs → chunk-6IMB5DNJ.mjs} +4953 -3103
- package/dist/chunk-6IMB5DNJ.mjs.br +0 -0
- package/dist/chunk-6IMB5DNJ.mjs.gz +0 -0
- package/dist/{chunk-OBE4TB76.js → chunk-DE3S3UHX.js} +551 -574
- package/dist/chunk-DE3S3UHX.js.br +0 -0
- package/dist/chunk-DE3S3UHX.js.gz +0 -0
- package/dist/{chunk-3EJFZ7TE.js → chunk-F5NPGNMA.js} +9 -5
- package/dist/chunk-F5NPGNMA.js.br +0 -0
- package/dist/chunk-F5NPGNMA.js.gz +0 -0
- package/dist/{chunk-FGTMS7LR.mjs → chunk-FRZIBZTE.mjs} +55 -4
- package/dist/chunk-FRZIBZTE.mjs.br +0 -0
- package/dist/chunk-FRZIBZTE.mjs.gz +0 -0
- package/dist/{chunk-W24OJ7H5.js → chunk-L3ZIBQEB.js} +55 -4
- package/dist/chunk-L3ZIBQEB.js.br +0 -0
- package/dist/chunk-L3ZIBQEB.js.gz +0 -0
- package/dist/{chunk-TXY2E7VQ.mjs → chunk-PFPKBNNZ.mjs} +509 -35
- package/dist/chunk-PFPKBNNZ.mjs.br +0 -0
- package/dist/chunk-PFPKBNNZ.mjs.gz +0 -0
- package/dist/{chunk-VIFDZIVX.js → chunk-QWA5YEIZ.js} +187 -176
- package/dist/chunk-QWA5YEIZ.js.br +0 -0
- package/dist/chunk-QWA5YEIZ.js.gz +0 -0
- package/dist/{chunk-JANUSAEK.mjs → chunk-RHWQKZLB.mjs} +14 -3
- package/dist/chunk-RHWQKZLB.mjs.br +0 -0
- package/dist/chunk-RHWQKZLB.mjs.gz +0 -0
- package/dist/{chunk-WKODF5ZU.mjs → chunk-RNP5HP4L.mjs} +5 -2
- package/dist/chunk-RNP5HP4L.mjs.br +0 -0
- package/dist/chunk-RNP5HP4L.mjs.gz +0 -0
- package/dist/{chunk-DCNHUEWQ.js → chunk-SN5EUDIT.js} +4972 -3103
- package/dist/chunk-SN5EUDIT.js.br +0 -0
- package/dist/chunk-SN5EUDIT.js.gz +0 -0
- package/dist/{chunk-PC62KGU3.mjs → chunk-UPJW34YG.mjs} +124 -147
- package/dist/chunk-UPJW34YG.mjs.br +0 -0
- package/dist/chunk-UPJW34YG.mjs.gz +0 -0
- package/dist/i18n.js +4 -4
- package/dist/i18n.js.br +0 -0
- package/dist/i18n.js.gz +0 -0
- package/dist/i18n.mjs +1 -1
- package/dist/i18n.mjs.br +0 -0
- package/dist/i18n.mjs.gz +0 -0
- package/dist/index.d.ts +179 -23
- package/dist/index.js +47 -47
- package/dist/index.js.br +0 -0
- package/dist/index.js.gz +0 -0
- package/dist/index.mjs +6 -6
- package/dist/index.mjs.br +0 -0
- package/dist/index.mjs.gz +0 -0
- package/dist/internals.d.ts +352 -171
- package/dist/internals.d.ts.map +1 -1
- package/dist/internals.js +79 -79
- package/dist/internals.js.br +0 -0
- package/dist/internals.js.gz +0 -0
- package/dist/internals.mjs +4 -4
- package/dist/internals.mjs.br +0 -0
- package/dist/internals.mjs.gz +0 -0
- package/dist/types-Bzdkiakq.d.ts.map +1 -1
- package/dist/viewer/index.d.ts +150 -23
- package/dist/viewer/index.js +27 -27
- package/dist/viewer/index.js.br +0 -0
- package/dist/viewer/index.js.gz +0 -0
- package/dist/viewer/index.mjs +6 -6
- package/dist/viewer/index.mjs.br +0 -0
- package/dist/viewer/index.mjs.gz +0 -0
- package/package.json +2 -2
- package/dist/AiChatPanel-L5QGWVZK.mjs.br +0 -0
- package/dist/AiChatPanel-L5QGWVZK.mjs.gz +0 -0
- package/dist/AiChatPanel-M3AHKYPS.js.br +0 -0
- package/dist/AiChatPanel-M3AHKYPS.js.gz +0 -0
- package/dist/Area3DChartScene-AE2XYKDW.mjs.br +0 -1
- package/dist/Area3DChartScene-AE2XYKDW.mjs.gz +0 -0
- package/dist/Area3DChartScene-ZQLQK6L4.js.br +0 -0
- package/dist/Area3DChartScene-ZQLQK6L4.js.gz +0 -0
- package/dist/Bar3DChartScene-FQV62XOI.mjs.br +0 -2
- package/dist/Bar3DChartScene-FQV62XOI.mjs.gz +0 -0
- package/dist/Bar3DChartScene-TZ6ADFBS.js.br +0 -0
- package/dist/Bar3DChartScene-TZ6ADFBS.js.gz +0 -0
- package/dist/Line3DChartScene-5CKPAX63.js.br +0 -0
- package/dist/Line3DChartScene-5CKPAX63.js.gz +0 -0
- package/dist/Line3DChartScene-FEUY3PCE.mjs.br +0 -1
- package/dist/Line3DChartScene-FEUY3PCE.mjs.gz +0 -0
- package/dist/Model3DScene-BLXEALM6.js.gz +0 -0
- package/dist/Model3DScene-V3DHIISV.mjs.br +0 -0
- package/dist/Model3DScene-V3DHIISV.mjs.gz +0 -0
- package/dist/PieChart3DScene-GHHT3PDV.js.gz +0 -0
- package/dist/PieChart3DScene-VZI2VARG.mjs.gz +0 -0
- package/dist/SurfaceChart3DScene-T36E2HBA.mjs.br +0 -0
- package/dist/SurfaceChart3DScene-T36E2HBA.mjs.gz +0 -0
- package/dist/SurfaceChart3DScene-WWIMQ65D.js.gz +0 -0
- package/dist/chunk-3EJFZ7TE.js.br +0 -0
- package/dist/chunk-3EJFZ7TE.js.gz +0 -0
- package/dist/chunk-DCNHUEWQ.js.br +0 -0
- package/dist/chunk-DCNHUEWQ.js.gz +0 -0
- package/dist/chunk-FGTMS7LR.mjs.br +0 -0
- package/dist/chunk-FGTMS7LR.mjs.gz +0 -0
- package/dist/chunk-JANUSAEK.mjs.br +0 -0
- package/dist/chunk-JANUSAEK.mjs.gz +0 -0
- package/dist/chunk-NV55GU5V.mjs.br +0 -0
- package/dist/chunk-NV55GU5V.mjs.gz +0 -0
- package/dist/chunk-OBE4TB76.js.br +0 -0
- package/dist/chunk-OBE4TB76.js.gz +0 -0
- package/dist/chunk-PC62KGU3.mjs.br +0 -0
- package/dist/chunk-PC62KGU3.mjs.gz +0 -0
- package/dist/chunk-TUSALM3A.js.br +0 -0
- package/dist/chunk-TUSALM3A.js.gz +0 -0
- package/dist/chunk-TXY2E7VQ.mjs.br +0 -0
- package/dist/chunk-TXY2E7VQ.mjs.gz +0 -0
- package/dist/chunk-VIFDZIVX.js.br +0 -0
- package/dist/chunk-VIFDZIVX.js.gz +0 -0
- package/dist/chunk-W24OJ7H5.js.br +0 -0
- package/dist/chunk-W24OJ7H5.js.gz +0 -0
- package/dist/chunk-WKODF5ZU.mjs.br +0 -0
- package/dist/chunk-WKODF5ZU.mjs.gz +0 -0
|
Binary file
|
|
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, buildPdfFromImageData, buildNotesPdf, GRID_SIZE, DEFAULT_TEXT_FONT_SIZE } from './chunk-
|
|
2
|
-
import { DEFAULT_VIEWER_OPTIONS, 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, createActiveAnimationGroup, cancelBuildReveal, clearPlaybackTimers, PresentationAnimationController, resolveMediaTimeNodeElementIds, advanceMainSequence, playGroup, 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, firstShowSlideIndex, attachPresentationVisibilityPause, presentationEntrySlideIndex, buildMorphTransitionPlan, morphOptionToMode, buildMorphAnimationRules, findInSlides, applyFindReplacements, visibleTemplateElements, createCollaborationLivePatcher, publishLiveInlineText, PptxHandler, collectMediaElements, resolveMediaElementSource, collectImagePaths, applyImagePathPatches, resolveTableCellImageUrls, resolveTableStyleImageUrls, partitionTemplateElements, seedRecentColors, resolveAuthoredCustomShowId, buildInitialGuides, readOnlyRecommendation, compatibilityWarningToasts, EncryptedFileError, resolveAutosaveIntervalMs, shouldWriteAutosaveSnapshot, saveAutosaveSnapshot, autosaveSnapshotMark, hasTextProperties, remapTextToSegments, updateMasterViewElement, isTemplateElementId, updateElement, hasShapeProperties, getInlineEditorSelection, applyStyleToSelectedSegments, setPendingSelectionRestore, applyCaseTransformToSegments, transformTextCase, masterViewElements, replaceMasterViewElements, addSection, renameSection, deleteSection, moveSectionUp, moveSectionDown, moveSlidesToSection, canInteractWithElement, normalizeColorsForCapture, preprocessCssForCapture, slideProgressPercent, slideStatusLabel, EXPORT_ASSEMBLING_PERCENT, EXPORT_DONE_PERCENT, isExportAbortError, recordProgressPercent, downloadBlob, resolveImageResolutionScale, applyThemeToData, THEME_PRESETS, themeColorSchemesEqual, comparePresentation, applyAcceptSlide, applyAcceptAllSlides, collectUsedFonts, describeFontEmbedding, isMobileViewport, resolveAuthoredSlideRange, mayLeaveSlideShow, stopAllPersistentAudio, guidePxToEmu, buildSaveSlides,
|
|
3
|
-
import { translationsEn } from './chunk-
|
|
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, buildPdfFromImageData, buildNotesPdf, GRID_SIZE, DEFAULT_TEXT_FONT_SIZE } from './chunk-RHWQKZLB.mjs';
|
|
2
|
+
import { DEFAULT_VIEWER_OPTIONS, 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, createActiveAnimationGroup, cancelBuildReveal, clearPlaybackTimers, PresentationAnimationController, resolveMediaTimeNodeElementIds, advanceMainSequence, playGroup, 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, firstShowSlideIndex, attachPresentationVisibilityPause, presentationEntrySlideIndex, buildMorphTransitionPlan, morphOptionToMode, buildMorphAnimationRules, findInSlides, applyFindReplacements, visibleTemplateElements, createCollaborationLivePatcher, publishLiveInlineText, PptxHandler, collectMediaElements, resolveMediaElementSource, collectImagePaths, applyImagePathPatches, resolveTableCellImageUrls, resolveTableStyleImageUrls, partitionTemplateElements, seedRecentColors, resolveAuthoredCustomShowId, buildInitialGuides, readOnlyRecommendation, compatibilityWarningToasts, EncryptedFileError, resolveAutosaveIntervalMs, shouldWriteAutosaveSnapshot, saveAutosaveSnapshot, autosaveSnapshotMark, hasTextProperties, remapTextToSegments, updateMasterViewElement, isTemplateElementId, updateElement, hasShapeProperties, getInlineEditorSelection, applyStyleToSelectedSegments, setPendingSelectionRestore, applyCaseTransformToSegments, transformTextCase, masterViewElements, replaceMasterViewElements, addSection, renameSection, deleteSection, moveSectionUp, moveSectionDown, moveSlidesToSection, canInteractWithElement, normalizeColorsForCapture, preprocessCssForCapture, slideProgressPercent, slideStatusLabel, EXPORT_ASSEMBLING_PERCENT, EXPORT_DONE_PERCENT, isExportAbortError, recordProgressPercent, downloadBlob, resolveImageResolutionScale, applyThemeToData, THEME_PRESETS, themeColorSchemesEqual, comparePresentation, applyAcceptSlide, applyAcceptAllSlides, collectUsedFonts, describeFontEmbedding, isMobileViewport, resolveAuthoredSlideRange, mayLeaveSlideShow, stopAllPersistentAudio, guidePxToEmu, buildSaveSlides, buildDeckSaveOptions, resolveSlideSizeSelection, saveDeckWithPassword, shouldProbeAutosaveRecovery, probeAutosaveRecovery, acceptAutosaveRecovery, discardAutosaveRecovery, shouldLoopContinuously, applyRehearsalTimings, copyFormatFromElement, applyFormatToElement, collectReferencedFontFamilies, resolveGoogleWebfontHref, mapSlideShowStartKey, mapEditorKey, isEditorTextInputTarget, createViewerOptionsStore, readSlidesFromYDoc, shouldRoomSlidesReplaceLoad, reconcileSlidesInYDoc, LOCAL_SYNC_ORIGIN, observeYDocSlides, shouldAutoFollowBroadcaster, detectTouchDevice, detectOrientation, deriveViewportBreakpoints, createTouchGestureRecognizer, MAX_ZOOM_SCALE, MIN_ZOOM_SCALE, isKeyboardOpen, scopeLayoutOptionsToSlide, viewerPreferencesFromViewProperties, DEFAULT_VIEWER_PREFERENCES, viewPropertiesPatchFromPreferences, openPptxFile, readBackstageRecentFile, isActionHidden, resolveInlineEditAutoFitHeight, resolveInlineEditNormAutofitShrink, filterInteractableIds, beginShapeAdjustment, buildElementClipboardPayload, savedPresentationFileName, exportDeckJson, groupElements, generateElementId, makeCloneId, ungroupElements, alignElements, distributeElements, bringForward, sendBackward, bringToFront, sendToBack, newTableElement, createDefaultChartElement, readViewportMetrics, computeKeyboardInset, mergeShapes, mapPresentationKey, lastShowSlideIndex, mapPresentationWheel, openPendingPrintWindow, computeColorFilter, filterHiddenSlideIndices, computeSlideIndices, buildPrintDocument, finishPrintWindow, buildPrintHtmlDocument, buildOutlineHtml, buildSlidesHtml, buildNotesHtml, buildHandoutsHtml, createBlankSlide, makeSlideId, buildSlideTemplateSlide, templateSchemeFromTheme, buildThemeColorMap, reResolveSlideColors, reResolveElementColors, scheduleAutoAdvanceChain, computeEntranceAnimationDelay, createPresentationSessionId, resolveTransitionDurationMs, resolveTransitionSoundAction, runPresentationAction, safeOpenUrl, toggleStageElementMedia, resolveOleVerbTarget, openUrlInNewTab, createPresenterTimer, createInitialPresentationSnapshot, mergePresentationSnapshot, resetPresenterTimer, presenterElapsed, stepPresenterZoom, togglePresenterTimer, addCommentToList, removeCommentFromList, editCommentInList, toggleCommentResolvedInList, canvasToJpegData, downloadDataUrl, pickSupportedMimeType, WEBM_MIME_CANDIDATES, fpsToFrameIntervalMs, segmentFrameCount, encodeGif, computeGridSpacingPx, resolveShowSlideIndexes, groupSlidesBySection, masterViewPseudoSlide, resolveHistoryDepth, hasCopyableFormat, createBackstagePresentation, buildFieldSubstitutionContext, cloneElementForPaste, computeScrollDelta, getPresetShapeClipPath, svgPathToPolygons, polygonsToSvgPath, rerouteConnectorsForMovedElements, applyReroutedConnectors, SvgExporter, replyToCommentInList, deleteTableColumn, rebuildTableStructureInRawXml, insertTableColumn, deleteTableRow, insertTableRow, updateCellTextStyleInRawXml, setCellText, updateCellTextInRawXml, splitCell, updateMergeAttrsInRawXml, mergeCells, isPpactionUrl, parsePpactionUrl, resolvePresentationAction, ACTION_BUTTON_PRESETS, elementActionToPptxAction, isUrlSafe, buildSmartArtPresetData, classifyMediaType, computeSnapToShape, publishLiveGeometry, getDraggedShapeAdjustments, computeMarqueeHitIds, mergeAdditiveSelection, shouldConfirmExternalHyperlink, applyResize, lockResizeAspect, snapBoxToGrid, applyMotionPathPreset } from './chunk-6IMB5DNJ.mjs';
|
|
3
|
+
import { translationsEn } from './chunk-FRZIBZTE.mjs';
|
|
4
4
|
import { createContext, useRef, useState, useEffect, useCallback, useMemo, useLayoutEffect, useContext, useImperativeHandle, useSyncExternalStore } from 'react';
|
|
5
5
|
import { useTranslation } from 'react-i18next';
|
|
6
6
|
|
|
@@ -3645,6 +3645,8 @@ function useViewerCoreState(_input) {
|
|
|
3645
3645
|
const [recentColors, setRecentColors] = useState([]);
|
|
3646
3646
|
const [theme, setTheme] = useState();
|
|
3647
3647
|
const [tableStyleMap, setTableStyleMap] = useState();
|
|
3648
|
+
const [tableStylesDefaultId, setTableStylesDefaultId] = useState();
|
|
3649
|
+
const [tableStylesToDelete, setTableStylesToDelete] = useState([]);
|
|
3648
3650
|
const [themeOptions, setThemeOptions] = useState([]);
|
|
3649
3651
|
const [customShows, setCustomShows] = useState([]);
|
|
3650
3652
|
const [activeCustomShowId, setActiveCustomShowId] = useState(null);
|
|
@@ -3744,6 +3746,10 @@ function useViewerCoreState(_input) {
|
|
|
3744
3746
|
setTheme,
|
|
3745
3747
|
tableStyleMap,
|
|
3746
3748
|
setTableStyleMap,
|
|
3749
|
+
tableStylesDefaultId,
|
|
3750
|
+
setTableStylesDefaultId,
|
|
3751
|
+
tableStylesToDelete,
|
|
3752
|
+
setTableStylesToDelete,
|
|
3747
3753
|
themeOptions,
|
|
3748
3754
|
setThemeOptions,
|
|
3749
3755
|
customShows,
|
|
@@ -3928,6 +3934,8 @@ function useLoadContent({
|
|
|
3928
3934
|
setRecentColors,
|
|
3929
3935
|
setTheme,
|
|
3930
3936
|
setTableStyleMap,
|
|
3937
|
+
setTableStylesDefaultId,
|
|
3938
|
+
setTableStylesToDelete,
|
|
3931
3939
|
setThemeOptions,
|
|
3932
3940
|
setCustomShows,
|
|
3933
3941
|
setActiveCustomShowId,
|
|
@@ -4062,6 +4070,8 @@ function useLoadContent({
|
|
|
4062
4070
|
setRecentColors(seedRecentColors({ mruColors: parsed.mruColors }));
|
|
4063
4071
|
setTheme(parsed.theme);
|
|
4064
4072
|
setTableStyleMap(nextTableStyleMap);
|
|
4073
|
+
setTableStylesDefaultId(parsed.tableStylesDefaultId);
|
|
4074
|
+
setTableStylesToDelete([]);
|
|
4065
4075
|
setThemeOptions(parsed.themeOptions ?? []);
|
|
4066
4076
|
setCustomShows(parsed.customShows ?? []);
|
|
4067
4077
|
setActiveCustomShowId(
|
|
@@ -6906,7 +6916,7 @@ function useExportSaveAs(input) {
|
|
|
6906
6916
|
slides,
|
|
6907
6917
|
templateElementsBySlideId,
|
|
6908
6918
|
filePath,
|
|
6909
|
-
|
|
6919
|
+
serializeSlides,
|
|
6910
6920
|
headerFooter,
|
|
6911
6921
|
presentationProperties,
|
|
6912
6922
|
customShows,
|
|
@@ -6915,24 +6925,19 @@ function useExportSaveAs(input) {
|
|
|
6915
6925
|
appProperties,
|
|
6916
6926
|
customProperties,
|
|
6917
6927
|
tagCollections,
|
|
6918
|
-
slideMasters,
|
|
6919
6928
|
notesMaster,
|
|
6920
6929
|
handoutMaster,
|
|
6921
|
-
guides,
|
|
6922
|
-
activeSlideIndexForGuides,
|
|
6923
6930
|
theme,
|
|
6924
6931
|
canvasSize,
|
|
6925
|
-
slideSizeEmu
|
|
6926
|
-
password
|
|
6932
|
+
slideSizeEmu
|
|
6927
6933
|
} = input;
|
|
6928
6934
|
const handleSaveAsFormat = async (format) => {
|
|
6929
|
-
const handler = handlerRef.current;
|
|
6930
|
-
if (!handler) {
|
|
6931
|
-
return;
|
|
6932
|
-
}
|
|
6933
6935
|
const downloadName = savedPresentationFileName(filePath, format);
|
|
6934
6936
|
try {
|
|
6935
|
-
const data = await
|
|
6937
|
+
const data = await serializeSlides(format);
|
|
6938
|
+
if (!data) {
|
|
6939
|
+
return;
|
|
6940
|
+
}
|
|
6936
6941
|
const blob = new Blob([data], {
|
|
6937
6942
|
type: "application/vnd.openxmlformats-officedocument.presentationml.presentation"
|
|
6938
6943
|
});
|
|
@@ -6941,41 +6946,6 @@ function useExportSaveAs(input) {
|
|
|
6941
6946
|
console.error(`[PowerPointViewer] Save as .${format} failed:`, err);
|
|
6942
6947
|
}
|
|
6943
6948
|
};
|
|
6944
|
-
const buildSaveAsData = async (handler, format) => {
|
|
6945
|
-
const slidesWithGuides = slides.map((slide, idx) => {
|
|
6946
|
-
if (idx !== activeSlideIndexForGuides) {
|
|
6947
|
-
return slide;
|
|
6948
|
-
}
|
|
6949
|
-
const pptxGuides = guides.map((g) => ({
|
|
6950
|
-
id: g.id,
|
|
6951
|
-
orientation: g.axis === "h" ? "horz" : "vert",
|
|
6952
|
-
positionEmu: guidePxToEmu(g.position)
|
|
6953
|
-
}));
|
|
6954
|
-
return {
|
|
6955
|
-
...slide,
|
|
6956
|
-
guides: pptxGuides.length > 0 ? pptxGuides : void 0
|
|
6957
|
-
};
|
|
6958
|
-
});
|
|
6959
|
-
const slidesToSave = buildSaveSlides(slidesWithGuides, templateElementsBySlideId);
|
|
6960
|
-
const saveOptions = {
|
|
6961
|
-
// Save As shares Save's slide-size decision; leaving it out here is how
|
|
6962
|
-
// a preset picked in the inspector reached one save path and not the other.
|
|
6963
|
-
slideSize: resolveSlideSizeSelection({ current: slideSizeEmu, canvas: canvasSize }).size,
|
|
6964
|
-
headerFooter,
|
|
6965
|
-
presentationProperties,
|
|
6966
|
-
customShows: customShows.length > 0 ? customShows : void 0,
|
|
6967
|
-
sections: sections.length > 0 ? sections : void 0,
|
|
6968
|
-
coreProperties: coreProperties ?? void 0,
|
|
6969
|
-
appProperties: appProperties ?? void 0,
|
|
6970
|
-
customProperties: customProperties.length > 0 ? customProperties : void 0,
|
|
6971
|
-
tags: tagCollections.length > 0 ? tagCollections : void 0,
|
|
6972
|
-
slideMasters,
|
|
6973
|
-
notesMaster,
|
|
6974
|
-
handoutMaster,
|
|
6975
|
-
outputFormat: format
|
|
6976
|
-
};
|
|
6977
|
-
return saveDeckWithPassword(handler, slidesToSave, saveOptions, password);
|
|
6978
|
-
};
|
|
6979
6949
|
const handleExportJson = () => {
|
|
6980
6950
|
const sourceName = filePath ? filePath.replace(/\\/gu, "/").split("/").pop() : void 0;
|
|
6981
6951
|
const slideSize = resolveSlideSizeSelection({ current: slideSizeEmu, canvas: canvasSize }).size;
|
|
@@ -6991,8 +6961,8 @@ function useExportSaveAs(input) {
|
|
|
6991
6961
|
presentationProperties,
|
|
6992
6962
|
customShows: customShows.length > 0 ? customShows : void 0,
|
|
6993
6963
|
sections: sections.length > 0 ? sections : void 0,
|
|
6994
|
-
coreProperties
|
|
6995
|
-
appProperties
|
|
6964
|
+
coreProperties,
|
|
6965
|
+
appProperties,
|
|
6996
6966
|
customProperties: customProperties.length > 0 ? customProperties : void 0,
|
|
6997
6967
|
tags: tagCollections.length > 0 ? tagCollections : void 0,
|
|
6998
6968
|
notesMaster,
|
|
@@ -7357,7 +7327,7 @@ function useExportHandlers(input) {
|
|
|
7357
7327
|
filePath,
|
|
7358
7328
|
canvasStageRef,
|
|
7359
7329
|
setActiveSlideIndex,
|
|
7360
|
-
|
|
7330
|
+
serializeSlides,
|
|
7361
7331
|
headerFooter,
|
|
7362
7332
|
presentationProperties,
|
|
7363
7333
|
customShows,
|
|
@@ -7366,15 +7336,11 @@ function useExportHandlers(input) {
|
|
|
7366
7336
|
appProperties,
|
|
7367
7337
|
customProperties,
|
|
7368
7338
|
tagCollections,
|
|
7369
|
-
slideMasters,
|
|
7370
7339
|
notesMaster,
|
|
7371
7340
|
handoutMaster,
|
|
7372
|
-
guides,
|
|
7373
|
-
activeSlideIndexForGuides,
|
|
7374
7341
|
theme,
|
|
7375
7342
|
canvasSize,
|
|
7376
7343
|
slideSizeEmu,
|
|
7377
|
-
password,
|
|
7378
7344
|
imageExportScale
|
|
7379
7345
|
} = input;
|
|
7380
7346
|
const [exportModalOpen, setExportModalOpen] = useState(false);
|
|
@@ -7392,7 +7358,7 @@ function useExportHandlers(input) {
|
|
|
7392
7358
|
slides,
|
|
7393
7359
|
templateElementsBySlideId,
|
|
7394
7360
|
filePath,
|
|
7395
|
-
|
|
7361
|
+
serializeSlides,
|
|
7396
7362
|
headerFooter,
|
|
7397
7363
|
presentationProperties,
|
|
7398
7364
|
customShows,
|
|
@@ -7401,15 +7367,11 @@ function useExportHandlers(input) {
|
|
|
7401
7367
|
appProperties,
|
|
7402
7368
|
customProperties,
|
|
7403
7369
|
tagCollections,
|
|
7404
|
-
slideMasters,
|
|
7405
7370
|
notesMaster,
|
|
7406
7371
|
handoutMaster,
|
|
7407
|
-
guides,
|
|
7408
|
-
activeSlideIndexForGuides,
|
|
7409
7372
|
theme,
|
|
7410
7373
|
canvasSize,
|
|
7411
|
-
slideSizeEmu
|
|
7412
|
-
password
|
|
7374
|
+
slideSizeEmu
|
|
7413
7375
|
});
|
|
7414
7376
|
const handleExportPng = useCallback(async () => {
|
|
7415
7377
|
const stageEl = canvasStageRef.current;
|
|
@@ -8648,6 +8610,9 @@ function useSerialize(input) {
|
|
|
8648
8610
|
headerFooter,
|
|
8649
8611
|
presentationProperties,
|
|
8650
8612
|
viewProperties,
|
|
8613
|
+
tableStyleMap,
|
|
8614
|
+
tableStylesDefaultId,
|
|
8615
|
+
tableStylesToDelete = [],
|
|
8651
8616
|
customShows,
|
|
8652
8617
|
sections,
|
|
8653
8618
|
coreProperties,
|
|
@@ -8664,90 +8629,100 @@ function useSerialize(input) {
|
|
|
8664
8629
|
embedFonts = true,
|
|
8665
8630
|
purpose
|
|
8666
8631
|
} = input;
|
|
8667
|
-
return useCallback(
|
|
8668
|
-
|
|
8669
|
-
|
|
8670
|
-
|
|
8671
|
-
|
|
8672
|
-
|
|
8673
|
-
|
|
8674
|
-
|
|
8675
|
-
|
|
8676
|
-
|
|
8677
|
-
|
|
8678
|
-
|
|
8679
|
-
|
|
8632
|
+
return useCallback(
|
|
8633
|
+
async (format) => {
|
|
8634
|
+
const handler = handlerRef.current;
|
|
8635
|
+
if (!handler) {
|
|
8636
|
+
return null;
|
|
8637
|
+
}
|
|
8638
|
+
const pendingEditId = inlineEditingElementIdRef.current;
|
|
8639
|
+
const pendingEditText = inlineEditingTextRef.current;
|
|
8640
|
+
const slidesWithGuides = slides.map((slide, idx) => {
|
|
8641
|
+
let processedSlide = slide;
|
|
8642
|
+
if (pendingEditId) {
|
|
8643
|
+
const updatedElements = slide.elements.map((el) => {
|
|
8644
|
+
if (el.id !== pendingEditId || !hasTextProperties(el)) {
|
|
8645
|
+
return el;
|
|
8646
|
+
}
|
|
8647
|
+
return {
|
|
8648
|
+
...el,
|
|
8649
|
+
text: pendingEditText,
|
|
8650
|
+
textSegments: remapTextToSegments(pendingEditText, el.textSegments, el.textStyle)
|
|
8651
|
+
};
|
|
8652
|
+
});
|
|
8653
|
+
if (updatedElements.some((el, i) => el !== slide.elements[i])) {
|
|
8654
|
+
processedSlide = { ...slide, elements: updatedElements };
|
|
8680
8655
|
}
|
|
8681
|
-
return {
|
|
8682
|
-
...el,
|
|
8683
|
-
text: pendingEditText,
|
|
8684
|
-
textSegments: remapTextToSegments(pendingEditText, el.textSegments, el.textStyle)
|
|
8685
|
-
};
|
|
8686
|
-
});
|
|
8687
|
-
if (updatedElements.some((el, i) => el !== slide.elements[i])) {
|
|
8688
|
-
processedSlide = { ...slide, elements: updatedElements };
|
|
8689
8656
|
}
|
|
8690
|
-
|
|
8691
|
-
|
|
8692
|
-
|
|
8693
|
-
|
|
8694
|
-
|
|
8695
|
-
|
|
8696
|
-
|
|
8697
|
-
|
|
8698
|
-
|
|
8699
|
-
|
|
8700
|
-
|
|
8701
|
-
|
|
8702
|
-
};
|
|
8703
|
-
|
|
8704
|
-
|
|
8705
|
-
|
|
8706
|
-
|
|
8707
|
-
|
|
8708
|
-
|
|
8709
|
-
|
|
8657
|
+
if (idx !== activeSlideIndex) {
|
|
8658
|
+
return processedSlide;
|
|
8659
|
+
}
|
|
8660
|
+
const pptxGuides = guides.map((g) => ({
|
|
8661
|
+
id: g.id,
|
|
8662
|
+
orientation: g.axis === "h" ? "horz" : "vert",
|
|
8663
|
+
positionEmu: guidePxToEmu(g.position)
|
|
8664
|
+
}));
|
|
8665
|
+
return {
|
|
8666
|
+
...processedSlide,
|
|
8667
|
+
guides: pptxGuides.length > 0 ? pptxGuides : void 0
|
|
8668
|
+
};
|
|
8669
|
+
});
|
|
8670
|
+
const slidesToSave = buildSaveSlides(slidesWithGuides, templateElementsBySlideId);
|
|
8671
|
+
const saveOptions = buildDeckSaveOptions({
|
|
8672
|
+
// Without this the Slide Size card edited a viewer-only pixel value and
|
|
8673
|
+
// the saved `p:sldSz` never moved: passing `slideSize` is the only way a
|
|
8674
|
+
// slide-size edit reaches the file.
|
|
8675
|
+
slideSize: resolveSlideSizeSelection({ current: slideSizeEmu, canvas: canvasSize }).size,
|
|
8676
|
+
headerFooter,
|
|
8677
|
+
presentationProperties,
|
|
8678
|
+
viewProperties,
|
|
8679
|
+
customShows,
|
|
8680
|
+
sections,
|
|
8681
|
+
coreProperties,
|
|
8682
|
+
appProperties,
|
|
8683
|
+
customProperties,
|
|
8684
|
+
tagCollections,
|
|
8685
|
+
slideMasters,
|
|
8686
|
+
notesMaster,
|
|
8687
|
+
handoutMaster,
|
|
8688
|
+
tableStyleMap,
|
|
8689
|
+
tableStylesDefaultId,
|
|
8690
|
+
tableStylesToDelete,
|
|
8691
|
+
embedFonts,
|
|
8692
|
+
outputFormat: format
|
|
8693
|
+
});
|
|
8694
|
+
return saveDeckWithPassword(handler, slidesToSave, saveOptions, { password, purpose });
|
|
8695
|
+
},
|
|
8696
|
+
[
|
|
8697
|
+
slides,
|
|
8698
|
+
templateElementsBySlideId,
|
|
8699
|
+
canvasSize,
|
|
8700
|
+
slideSizeEmu,
|
|
8710
8701
|
headerFooter,
|
|
8711
8702
|
presentationProperties,
|
|
8712
8703
|
viewProperties,
|
|
8713
|
-
|
|
8714
|
-
|
|
8704
|
+
tableStyleMap,
|
|
8705
|
+
tableStylesDefaultId,
|
|
8706
|
+
tableStylesToDelete,
|
|
8707
|
+
customShows,
|
|
8708
|
+
sections,
|
|
8715
8709
|
coreProperties,
|
|
8716
8710
|
appProperties,
|
|
8717
|
-
customProperties
|
|
8718
|
-
|
|
8711
|
+
customProperties,
|
|
8712
|
+
tagCollections,
|
|
8719
8713
|
slideMasters,
|
|
8720
8714
|
notesMaster,
|
|
8721
8715
|
handoutMaster,
|
|
8722
|
-
|
|
8723
|
-
|
|
8724
|
-
|
|
8725
|
-
|
|
8726
|
-
|
|
8727
|
-
|
|
8728
|
-
|
|
8729
|
-
|
|
8730
|
-
|
|
8731
|
-
|
|
8732
|
-
viewProperties,
|
|
8733
|
-
customShows,
|
|
8734
|
-
sections,
|
|
8735
|
-
coreProperties,
|
|
8736
|
-
appProperties,
|
|
8737
|
-
customProperties,
|
|
8738
|
-
tagCollections,
|
|
8739
|
-
slideMasters,
|
|
8740
|
-
notesMaster,
|
|
8741
|
-
handoutMaster,
|
|
8742
|
-
guides,
|
|
8743
|
-
activeSlideIndex,
|
|
8744
|
-
handlerRef,
|
|
8745
|
-
inlineEditingElementIdRef,
|
|
8746
|
-
inlineEditingTextRef,
|
|
8747
|
-
password,
|
|
8748
|
-
embedFonts,
|
|
8749
|
-
purpose
|
|
8750
|
-
]);
|
|
8716
|
+
guides,
|
|
8717
|
+
activeSlideIndex,
|
|
8718
|
+
handlerRef,
|
|
8719
|
+
inlineEditingElementIdRef,
|
|
8720
|
+
inlineEditingTextRef,
|
|
8721
|
+
password,
|
|
8722
|
+
embedFonts,
|
|
8723
|
+
purpose
|
|
8724
|
+
]
|
|
8725
|
+
);
|
|
8751
8726
|
}
|
|
8752
8727
|
function useRecoveryDetection(input) {
|
|
8753
8728
|
const { filePath, loading, error, slideCount, autosaveAllowed = true } = input;
|
|
@@ -9194,10 +9169,10 @@ function useIOHandlers(input) {
|
|
|
9194
9169
|
ops,
|
|
9195
9170
|
zoom,
|
|
9196
9171
|
handlerRef,
|
|
9172
|
+
serializeSlides,
|
|
9197
9173
|
serializeForRecovery,
|
|
9198
9174
|
setContent,
|
|
9199
9175
|
onContentChange,
|
|
9200
|
-
password,
|
|
9201
9176
|
imageExportScale
|
|
9202
9177
|
} = input;
|
|
9203
9178
|
const exportHandlers = useExportHandlers({
|
|
@@ -9208,24 +9183,20 @@ function useIOHandlers(input) {
|
|
|
9208
9183
|
filePath,
|
|
9209
9184
|
canvasStageRef: zoom.canvasStageRef,
|
|
9210
9185
|
setActiveSlideIndex: state.setActiveSlideIndex,
|
|
9211
|
-
|
|
9186
|
+
serializeSlides,
|
|
9212
9187
|
headerFooter: state.headerFooter,
|
|
9213
9188
|
presentationProperties: state.presentationProperties,
|
|
9214
9189
|
customShows: state.customShows,
|
|
9215
9190
|
sections: state.sections,
|
|
9216
|
-
coreProperties: state.coreProperties
|
|
9217
|
-
appProperties: state.appProperties
|
|
9191
|
+
coreProperties: state.coreProperties,
|
|
9192
|
+
appProperties: state.appProperties,
|
|
9218
9193
|
customProperties: state.customProperties,
|
|
9219
9194
|
tagCollections: state.tagCollections,
|
|
9220
|
-
slideMasters: state.slideMasters,
|
|
9221
9195
|
notesMaster: state.notesMaster,
|
|
9222
9196
|
handoutMaster: state.handoutMaster,
|
|
9223
|
-
guides: state.guides,
|
|
9224
|
-
activeSlideIndexForGuides: state.activeSlideIndex,
|
|
9225
9197
|
theme: state.theme,
|
|
9226
9198
|
canvasSize,
|
|
9227
9199
|
slideSizeEmu: state.slideSizeEmu,
|
|
9228
|
-
password,
|
|
9229
9200
|
imageExportScale
|
|
9230
9201
|
});
|
|
9231
9202
|
const printHandlers = usePrintHandlers({
|
|
@@ -9424,6 +9395,8 @@ function useContentLifecycle(input) {
|
|
|
9424
9395
|
setRecentColors: state.setRecentColors,
|
|
9425
9396
|
setTheme: state.setTheme,
|
|
9426
9397
|
setTableStyleMap: state.setTableStyleMap,
|
|
9398
|
+
setTableStylesDefaultId: state.setTableStylesDefaultId,
|
|
9399
|
+
setTableStylesToDelete: state.setTableStylesToDelete,
|
|
9427
9400
|
setThemeOptions: state.setThemeOptions,
|
|
9428
9401
|
setCustomShows: state.setCustomShows,
|
|
9429
9402
|
setActiveCustomShowId: state.setActiveCustomShowId,
|
|
@@ -9466,6 +9439,9 @@ function useContentLifecycle(input) {
|
|
|
9466
9439
|
headerFooter: state.headerFooter,
|
|
9467
9440
|
presentationProperties: state.presentationProperties,
|
|
9468
9441
|
viewProperties: state.viewProperties,
|
|
9442
|
+
tableStyleMap: state.tableStyleMap,
|
|
9443
|
+
tableStylesDefaultId: state.tableStylesDefaultId,
|
|
9444
|
+
tableStylesToDelete: state.tableStylesToDelete,
|
|
9469
9445
|
customShows: state.customShows,
|
|
9470
9446
|
sections: state.sections,
|
|
9471
9447
|
coreProperties: state.coreProperties,
|
|
@@ -9799,10 +9775,10 @@ function useViewerIntegration(input) {
|
|
|
9799
9775
|
ops: editorOps.ops,
|
|
9800
9776
|
zoom,
|
|
9801
9777
|
handlerRef,
|
|
9778
|
+
serializeSlides,
|
|
9802
9779
|
serializeForRecovery,
|
|
9803
9780
|
setContent,
|
|
9804
9781
|
onContentChange,
|
|
9805
|
-
password: dialogs.presentationPassword ?? void 0,
|
|
9806
9782
|
imageExportScale
|
|
9807
9783
|
});
|
|
9808
9784
|
const {
|
|
@@ -10153,6 +10129,7 @@ function useYjsDocumentSync({
|
|
|
10153
10129
|
isSynced = true,
|
|
10154
10130
|
config,
|
|
10155
10131
|
getSourceBytes,
|
|
10132
|
+
getSaveOptions,
|
|
10156
10133
|
loadVersion = 0,
|
|
10157
10134
|
loadOrigin = "user"
|
|
10158
10135
|
}) {
|
|
@@ -10199,12 +10176,12 @@ function useYjsDocumentSync({
|
|
|
10199
10176
|
doc
|
|
10200
10177
|
);
|
|
10201
10178
|
const slidesToSave = buildSaveSlides(currentSlides, templateElementsBySlideId);
|
|
10202
|
-
const bytes = await handler.save(slidesToSave);
|
|
10179
|
+
const bytes = await handler.save(slidesToSave, getSaveOptions?.());
|
|
10203
10180
|
config.onWriteBack(bytes);
|
|
10204
10181
|
} catch {
|
|
10205
10182
|
}
|
|
10206
10183
|
}, debounceMs);
|
|
10207
|
-
}, [doc, config, getSourceBytes, templateElementsBySlideId]);
|
|
10184
|
+
}, [doc, config, getSourceBytes, getSaveOptions, templateElementsBySlideId]);
|
|
10208
10185
|
useEffect(() => {
|
|
10209
10186
|
if (loadVersion === lastLoadVersionRef.current) {
|
|
10210
10187
|
return;
|
|
Binary file
|
|
Binary file
|
package/dist/i18n.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkL3ZIBQEB_js = require('./chunk-L3ZIBQEB.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
|
|
10
|
+
get: function () { return chunkL3ZIBQEB_js.LOCALE_CATALOG; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "keyToLabel", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkL3ZIBQEB_js.keyToLabel; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "translationsEn", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkL3ZIBQEB_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-
|
|
1
|
+
export { LOCALE_CATALOG, keyToLabel, translationsEn } from './chunk-FRZIBZTE.mjs';
|
|
2
2
|
import './chunk-XGB3TDIC.mjs';
|
package/dist/i18n.mjs.br
CHANGED
|
Binary file
|
package/dist/i18n.mjs.gz
CHANGED
|
Binary file
|