pptx-react-viewer 2.16.0 → 2.16.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -0
- package/dist/{AiChatPanel-VKGWK23E.js → AiChatPanel-OHB6CVLY.js} +22 -22
- package/dist/AiChatPanel-OHB6CVLY.js.br +0 -0
- package/dist/AiChatPanel-OHB6CVLY.js.gz +0 -0
- package/dist/{AiChatPanel-TYU52HDW.mjs → AiChatPanel-UPNVIENY.mjs} +3 -3
- package/dist/AiChatPanel-UPNVIENY.mjs.br +0 -0
- package/dist/AiChatPanel-UPNVIENY.mjs.gz +0 -0
- package/dist/{Model3DScene-TG7OSR6V.js → Model3DScene-7FKWPESH.js} +2 -2
- package/dist/{Model3DScene-TG7OSR6V.js.br → Model3DScene-7FKWPESH.js.br} +0 -0
- package/dist/Model3DScene-7FKWPESH.js.gz +0 -0
- package/dist/{Model3DScene-267BHD5T.mjs → Model3DScene-KEUY3M7X.mjs} +1 -1
- package/dist/{Model3DScene-267BHD5T.mjs.br → Model3DScene-KEUY3M7X.mjs.br} +0 -0
- package/dist/Model3DScene-KEUY3M7X.mjs.gz +0 -0
- package/dist/{SurfaceChart3DScene-RPRVXRQZ.mjs → SurfaceChart3DScene-2MLBPJ63.mjs} +1 -1
- package/dist/{SurfaceChart3DScene-RPRVXRQZ.mjs.br → SurfaceChart3DScene-2MLBPJ63.mjs.br} +0 -0
- package/dist/SurfaceChart3DScene-2MLBPJ63.mjs.gz +0 -0
- package/dist/{SurfaceChart3DScene-GK4JHZAC.js → SurfaceChart3DScene-NPJQXIGW.js} +2 -2
- package/dist/SurfaceChart3DScene-NPJQXIGW.js.br +0 -0
- package/dist/SurfaceChart3DScene-NPJQXIGW.js.gz +0 -0
- package/dist/{chunk-P3Y3OMAD.js → chunk-3NDRTC7T.js} +303 -40
- package/dist/chunk-3NDRTC7T.js.br +0 -0
- package/dist/{chunk-P3Y3OMAD.js.gz → chunk-3NDRTC7T.js.gz} +0 -0
- package/dist/{chunk-VNVURLZM.mjs → chunk-6ROCCY4M.mjs} +14 -9
- package/dist/chunk-6ROCCY4M.mjs.br +0 -0
- package/dist/chunk-6ROCCY4M.mjs.gz +0 -0
- package/dist/{chunk-PILJZ5OE.js → chunk-7UBDMCI7.js} +3 -3
- package/dist/chunk-7UBDMCI7.js.br +0 -0
- package/dist/chunk-7UBDMCI7.js.gz +0 -0
- package/dist/{chunk-GOPIG4VW.js → chunk-DQTTI6D4.js} +348 -344
- package/dist/chunk-DQTTI6D4.js.br +0 -0
- package/dist/chunk-DQTTI6D4.js.gz +0 -0
- package/dist/{chunk-OIITLGKQ.mjs → chunk-ENOHLGJ2.mjs} +298 -40
- package/dist/chunk-ENOHLGJ2.mjs.br +0 -0
- package/dist/{chunk-OIITLGKQ.mjs.gz → chunk-ENOHLGJ2.mjs.gz} +0 -0
- package/dist/{chunk-AX75ONFY.js → chunk-IN7D2T4R.js} +373 -375
- package/dist/chunk-IN7D2T4R.js.br +0 -0
- package/dist/chunk-IN7D2T4R.js.gz +0 -0
- package/dist/{chunk-ULB35HMJ.mjs → chunk-LJZFG6YP.mjs} +1 -1
- package/dist/chunk-LJZFG6YP.mjs.br +0 -0
- package/dist/chunk-LJZFG6YP.mjs.gz +0 -0
- package/dist/{chunk-7W5MCYBN.js → chunk-N6IE34HX.js} +1060 -1055
- package/dist/chunk-N6IE34HX.js.br +0 -0
- package/dist/chunk-N6IE34HX.js.gz +0 -0
- package/dist/{chunk-TWPZJXLC.mjs → chunk-RUK5XZGO.mjs} +11 -7
- package/dist/chunk-RUK5XZGO.mjs.br +0 -0
- package/dist/chunk-RUK5XZGO.mjs.gz +0 -0
- package/dist/{chunk-FFBY2TKD.mjs → chunk-ZOOGEDYG.mjs} +131 -133
- package/dist/chunk-ZOOGEDYG.mjs.br +0 -0
- package/dist/chunk-ZOOGEDYG.mjs.gz +0 -0
- package/dist/index.js +39 -39
- package/dist/index.js.br +0 -0
- package/dist/index.js.gz +0 -0
- package/dist/index.mjs +5 -5
- package/dist/index.mjs.br +0 -0
- package/dist/index.mjs.gz +0 -0
- package/dist/internals.d.ts +16 -0
- package/dist/internals.d.ts.map +1 -1
- package/dist/internals.js +78 -78
- package/dist/internals.js.br +0 -0
- package/dist/internals.js.gz +0 -0
- package/dist/internals.mjs +3 -3
- package/dist/internals.mjs.br +0 -0
- package/dist/internals.mjs.gz +0 -0
- package/dist/viewer/index.js +26 -26
- package/dist/viewer/index.js.br +0 -0
- package/dist/viewer/index.js.gz +0 -0
- package/dist/viewer/index.mjs +5 -5
- package/dist/viewer/index.mjs.br +0 -0
- package/dist/viewer/index.mjs.gz +0 -0
- package/package.json +1 -1
- package/dist/AiChatPanel-TYU52HDW.mjs.br +0 -0
- package/dist/AiChatPanel-TYU52HDW.mjs.gz +0 -0
- package/dist/AiChatPanel-VKGWK23E.js.br +0 -0
- package/dist/AiChatPanel-VKGWK23E.js.gz +0 -0
- package/dist/Model3DScene-267BHD5T.mjs.gz +0 -0
- package/dist/Model3DScene-TG7OSR6V.js.gz +0 -0
- package/dist/SurfaceChart3DScene-GK4JHZAC.js.br +0 -0
- package/dist/SurfaceChart3DScene-GK4JHZAC.js.gz +0 -0
- package/dist/SurfaceChart3DScene-RPRVXRQZ.mjs.gz +0 -0
- package/dist/chunk-7W5MCYBN.js.br +0 -0
- package/dist/chunk-7W5MCYBN.js.gz +0 -0
- package/dist/chunk-AX75ONFY.js.br +0 -0
- package/dist/chunk-AX75ONFY.js.gz +0 -0
- package/dist/chunk-FFBY2TKD.mjs.br +0 -0
- package/dist/chunk-FFBY2TKD.mjs.gz +0 -0
- package/dist/chunk-GOPIG4VW.js.br +0 -0
- package/dist/chunk-GOPIG4VW.js.gz +0 -0
- package/dist/chunk-OIITLGKQ.mjs.br +0 -0
- package/dist/chunk-P3Y3OMAD.js.br +0 -0
- package/dist/chunk-PILJZ5OE.js.br +0 -0
- package/dist/chunk-PILJZ5OE.js.gz +0 -0
- package/dist/chunk-TWPZJXLC.mjs.br +0 -0
- package/dist/chunk-TWPZJXLC.mjs.gz +0 -0
- package/dist/chunk-ULB35HMJ.mjs.br +0 -0
- package/dist/chunk-ULB35HMJ.mjs.gz +0 -0
- package/dist/chunk-VNVURLZM.mjs.br +0 -0
- package/dist/chunk-VNVURLZM.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, partitionTemplateElements, UNGROUPED_SECTION_ID, buildSaveSlides, DEFAULT_TABLE_ROWS, DEFAULT_TABLE_COLUMNS, executeMediaCommand, buildPdfFromImageData, buildNotesPdf, EMU_PER_PX, GRID_SIZE, DEFAULT_TEXT_FONT_SIZE } from './chunk-
|
|
1
|
+
import { cloneHistorySnapshot, MIN_ELEMENT_SIZE, ZOOM_TO_SELECTION_PADDING, DEFAULT_CANVAS_HEIGHT, DEFAULT_CANVAS_WIDTH, partitionTemplateElements, UNGROUPED_SECTION_ID, buildSaveSlides, DEFAULT_TABLE_ROWS, DEFAULT_TABLE_COLUMNS, executeMediaCommand, buildPdfFromImageData, buildNotesPdf, EMU_PER_PX, GRID_SIZE, DEFAULT_TEXT_FONT_SIZE } from './chunk-ZOOGEDYG.mjs';
|
|
2
2
|
import { translationsEn } from './chunk-5YV26HMJ.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, createCollaborationLivePatcher, publishLiveInlineText, PptxHandler, collectMediaElements, collectImagePaths, buildInitialGuides, EncryptedFileError, saveAutosaveSnapshot, isTemplateElementId, hasShapeProperties, hasTextProperties, getInlineEditorSelection, applyStyleToSelectedSegments, setPendingSelectionRestore, applyCaseTransformToSegments, transformTextCase, 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, mayLeaveSlideShow, stopAllPersistentAudio, remapTextToSegments, guidePxToEmu, shouldLoopContinuously, applyRehearsalTimings, copyFormatFromElement, applyFormatToElement, mapEditorKey, isEditorTextInputTarget, createViewerOptionsStore, readSlidesFromYDoc, reconcileSlidesInYDoc, LOCAL_SYNC_ORIGIN, observeYDocSlides, shouldAutoFollowBroadcaster, createTouchGestureRecognizer, MAX_ZOOM_SCALE, MIN_ZOOM_SCALE, isKeyboardOpen, openPptxFile, readBackstageRecentFile, isActionHidden, buildElementClipboardPayload, generatePackageReadme, exportDeckJson, groupElements, generateElementId, makeCloneId, alignElements, distributeElements, bringForward, sendBackward, bringToFront, sendToBack, newTableElement, createDefaultChartElement, readViewportMetrics, computeKeyboardInset, mergeShapes, mapPresentationKey, lastShowSlideIndex, firstShowSlideIndex, mapPresentationWheel, buildPrintDocument, buildOutlineHtml, buildSlidesHtml, buildNotesHtml, buildHandoutsHtml, createBlankSlide, makeSlideId, buildSlideTemplateSlide, templateSchemeFromTheme, buildThemeColorMap, reResolveSlideColors, computeEntranceAnimationDelay, createPresentationSessionId, resolveTransitionDurationMs, runPresentationAction, createPresenterTimer, createInitialPresentationSnapshot, mergePresentationSnapshot, resetPresenterTimer, presenterElapsed, stepPresenterZoom, togglePresenterTimer, canvasToJpegData, downloadDataUrl, pickSupportedMimeType, WEBM_MIME_CANDIDATES, fpsToFrameIntervalMs, segmentFrameCount, encodeGif, resolveShowSlideIndexes, groupSlidesBySection, hasCopyableFormat, createBackstagePresentation, buildFieldSubstitutionContext, cloneElementForPaste, computeScrollDelta, getPresetShapeClipPath, svgPathToPolygons, polygonsToSvgPath, rerouteConnectorsForMovedElements, applyReroutedConnectors, SvgExporter, buildPrintHtmlDocument, deleteTableColumn, rebuildTableStructureInRawXml, insertTableColumn, deleteTableRow, insertTableRow, updateCellTextStyleInRawXml, updateCellTextInRawXml, splitCell, updateMergeAttrsInRawXml, mergeCells, isPpactionUrl, parsePpactionUrl, safeOpenUrl, ACTION_BUTTON_PRESETS, elementActionToPptxAction, buildSmartArtPresetData, computeSnapToShape, publishLiveGeometry, computeMarqueeHitIds, mergeAdditiveSelection, applyResize, snapBoxToGrid, applyMotionPathPreset } from './chunk-
|
|
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, createCollaborationLivePatcher, publishLiveInlineText, PptxHandler, collectMediaElements, collectImagePaths, buildInitialGuides, EncryptedFileError, saveAutosaveSnapshot, isTemplateElementId, hasShapeProperties, hasTextProperties, getInlineEditorSelection, applyStyleToSelectedSegments, setPendingSelectionRestore, applyCaseTransformToSegments, transformTextCase, 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, mayLeaveSlideShow, stopAllPersistentAudio, remapTextToSegments, guidePxToEmu, shouldLoopContinuously, applyRehearsalTimings, copyFormatFromElement, applyFormatToElement, mapEditorKey, isEditorTextInputTarget, createViewerOptionsStore, readSlidesFromYDoc, reconcileSlidesInYDoc, LOCAL_SYNC_ORIGIN, observeYDocSlides, shouldAutoFollowBroadcaster, createTouchGestureRecognizer, MAX_ZOOM_SCALE, MIN_ZOOM_SCALE, isKeyboardOpen, openPptxFile, readBackstageRecentFile, isActionHidden, buildElementClipboardPayload, generatePackageReadme, exportDeckJson, groupElements, generateElementId, makeCloneId, alignElements, distributeElements, bringForward, sendBackward, bringToFront, sendToBack, newTableElement, createDefaultChartElement, readViewportMetrics, computeKeyboardInset, mergeShapes, mapPresentationKey, lastShowSlideIndex, firstShowSlideIndex, mapPresentationWheel, buildPrintDocument, buildOutlineHtml, buildSlidesHtml, buildNotesHtml, buildHandoutsHtml, createBlankSlide, makeSlideId, buildSlideTemplateSlide, templateSchemeFromTheme, buildThemeColorMap, reResolveSlideColors, computeEntranceAnimationDelay, createPresentationSessionId, resolveTransitionDurationMs, runPresentationAction, createPresenterTimer, createInitialPresentationSnapshot, mergePresentationSnapshot, resetPresenterTimer, presenterElapsed, stepPresenterZoom, togglePresenterTimer, canvasToJpegData, downloadDataUrl, pickSupportedMimeType, WEBM_MIME_CANDIDATES, fpsToFrameIntervalMs, segmentFrameCount, encodeGif, resolveShowSlideIndexes, groupSlidesBySection, hasCopyableFormat, createBackstagePresentation, buildFieldSubstitutionContext, cloneElementForPaste, computeScrollDelta, getPresetShapeClipPath, svgPathToPolygons, polygonsToSvgPath, rerouteConnectorsForMovedElements, applyReroutedConnectors, SvgExporter, buildPrintHtmlDocument, deleteTableColumn, rebuildTableStructureInRawXml, insertTableColumn, deleteTableRow, insertTableRow, updateCellTextStyleInRawXml, updateCellTextInRawXml, splitCell, updateMergeAttrsInRawXml, mergeCells, isPpactionUrl, parsePpactionUrl, safeOpenUrl, ACTION_BUTTON_PRESETS, elementActionToPptxAction, buildSmartArtPresetData, computeSnapToShape, publishLiveGeometry, computeMarqueeHitIds, mergeAdditiveSelection, applyResize, snapBoxToGrid, applyMotionPathPreset } from './chunk-ENOHLGJ2.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';
|
|
@@ -2546,11 +2546,15 @@ function usePresentationMode(input) {
|
|
|
2546
2546
|
}
|
|
2547
2547
|
return merged;
|
|
2548
2548
|
}, [morphPlan, presentationElementStates]);
|
|
2549
|
-
const morphedKeyframesCss = useMemo(
|
|
2550
|
-
()
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2549
|
+
const morphedKeyframesCss = useMemo(() => {
|
|
2550
|
+
if (!morphPlan) {
|
|
2551
|
+
return presentationKeyframesCss;
|
|
2552
|
+
}
|
|
2553
|
+
const imageRules = buildMorphAnimationRules(morphPlan, "", "incoming", "image");
|
|
2554
|
+
return `${presentationKeyframesCss ?? ""}
|
|
2555
|
+
${morphPlan.keyframesCss}
|
|
2556
|
+
${imageRules}`;
|
|
2557
|
+
}, [morphPlan, presentationKeyframesCss]);
|
|
2554
2558
|
return {
|
|
2555
2559
|
presentationSlideIndex,
|
|
2556
2560
|
setPresentationSlideIndex,
|
|
Binary file
|
|
Binary file
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { translationsEn } from './chunk-5YV26HMJ.mjs';
|
|
2
|
-
import { SHAPE_PRESET_DEFS, computeValueRangeForChart, VIEWER_SHORTCUT_REFERENCE, getAnimationInitialStyle, cloneHistorySnapshot, hasShapeProperties, isTemplateElement, getImageFitStyle, isImageLikeElement, runMediaCommand, findMediaElementByElementId, mediaPlaybackAttributes, buildTextBlockStyle, hasTextProperties, toCssWritingMode, toCssTextOrientation, toCssVerticalDirection, getKinsokuLineBreakStyles, buildTextBody3DSceneStyle, resolveParagraphRtl, resolveParagraphAlign, resolveCssTextAlign, resolveParagraphStrutFontSize, colorWithOpacity, normalizeHexColor, build3DExtrusionData, isIdentityRectClip, getResolvedShapeClipPath, isStrokeOnlyPresetElement, normalizeStrokeDashType, buildCssGradientFromShapeStyle, buildShadowCssFromShapeStyle, buildInnerShadowCssFromShapeStyle, suppressesCssBorder, buildMultiLayerShadowCss, buildGlowBoxShadow, getCompoundLineBoxShadow, getSoftEdgeFilterId, getEffectDagFilter, buildPatternFillCss, buildReflectionCss, getCssBorderDashStyle, getCompoundLineBorderWidth, getSvgStrokeDasharray, buildSvgGradientDef, isCalloutShape, getCalloutLeaderLineGeometry, buildCalloutLeaderLineSvgPath, getCalloutViewBoxBounds, svgLineCap, getCompoundLineOffsets, getCompoundLineWidths, computeSelectionRect, DEFAULT_FONT_FAMILY, rectToCells, isCellInRect, buildChartViewModel, buildNotesPdfBytes, buildSlidesPdfBytes, buildPreviewAnimation, buildMotionPathPreview, getRoundRectRadiusPx2, registerPersistentAudio, proportionalLineHeight, substituteFieldText, resolveUnderlineDecorationStyle,
|
|
2
|
+
import { SHAPE_PRESET_DEFS, computeValueRangeForChart, VIEWER_SHORTCUT_REFERENCE, getAnimationInitialStyle, cloneHistorySnapshot, hasShapeProperties, isTemplateElement, getImageFitStyle, isImageLikeElement, runMediaCommand, findMediaElementByElementId, mediaPlaybackAttributes, buildTextBlockStyle, hasTextProperties, toCssWritingMode, toCssTextOrientation, toCssVerticalDirection, getKinsokuLineBreakStyles, buildTextBody3DSceneStyle, resolveParagraphRtl, resolveParagraphAlign, resolveCssTextAlign, resolveParagraphStrutFontSize, colorWithOpacity, normalizeHexColor, build3DExtrusionData, isIdentityRectClip, getResolvedShapeClipPath, isStrokeOnlyPresetElement, normalizeStrokeDashType, buildCssGradientFromShapeStyle, buildShadowCssFromShapeStyle, buildInnerShadowCssFromShapeStyle, suppressesCssBorder, buildMultiLayerShadowCss, buildGlowBoxShadow, getCompoundLineBoxShadow, getSoftEdgeFilterId, getEffectDagFilter, buildPatternFillCss, buildReflectionCss, getCssBorderDashStyle, getCompoundLineBorderWidth, getSvgStrokeDasharray, buildSvgGradientDef, isCalloutShape, getCalloutLeaderLineGeometry, buildCalloutLeaderLineSvgPath, getCalloutViewBoxBounds, svgLineCap, getCompoundLineOffsets, getCompoundLineWidths, computeSelectionRect, DEFAULT_FONT_FAMILY, rectToCells, isCellInRect, buildChartViewModel, buildNotesPdfBytes, buildSlidesPdfBytes, buildPreviewAnimation, buildMotionPathPreview, getRoundRectRadiusPx2, mediaFallbackVisual, registerPersistentAudio, proportionalLineHeight, substituteFieldText, resolveUnderlineDecorationStyle, resolveAutoFitFontScale, getSubstituteFontFamily, parsePanoseString, hasDistinctScriptFonts, resolveMetricTrackingPx, buildTextReflectionCss, getTextAlphaOpacity, buildTextRunFilterChain, buildTextShadowCss, TEXT_BUILD_ID_SEP, buildTextBuildSpec, textBuildSpanStyle, sanitizeGradientStops, getGradientTileFlipCss, getGradientTileRectCss, apply3dEffects, clampUnitInterval, customGeometryPathsToSvgSubpaths, svgGradientFillRef, computeColumnBoundaries, parseDrawingColor, parseDrawingColorOpacity, getCellDiagonalBorders, getPatternSvg, ooxmlDashToCssBorderStyle, cell3DBevelCss, getChartStylePalette, chartAreaFill, computeLayout, valueToY, formatAxisValue, computeLayoutOptions, splitSeriesByAxis, computeValueRange, getSecondaryValueAxis, seriesColor, paletteColor, resolveRegionCode, normalizeValue, sequentialColorScale, mediaFallbackIcon, mediaFallbackLabelKey, MEDIA_CHROME_ATTRIBUTE, convertOmmlToMathMl, sanitizeMathMl, buildTextFillCss, resolvePictureBullet, computeResizedColumnWidths, computeResizedRowHeight, DEFAULT_ROW_HEIGHT, resolveFontRefIdx, tintColor2, shadeColor2, ooxmlGradientAngleToCssDegrees, segmentByScript, resolveFontForScript, generateLogTicks, formatAxisValueWithUnits, getDisplayUnitLabel, hexToRgbChannels, chartPartToAttrs } from './chunk-ENOHLGJ2.mjs';
|
|
3
3
|
import { clsx } from 'clsx';
|
|
4
4
|
import { twMerge } from 'tailwind-merge';
|
|
5
5
|
import React6, { useState, useEffect, useMemo, Suspense, useRef, useCallback, useLayoutEffect } from 'react';
|
|
6
6
|
import { LuTriangle, LuPlus, LuMoveRight, LuMinus, LuDiamond, LuDatabase, LuCircle, LuSquare } from 'react-icons/lu';
|
|
7
|
-
import { useTranslation } from 'react-i18next';
|
|
8
7
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
8
|
+
import { useTranslation } from 'react-i18next';
|
|
9
9
|
|
|
10
10
|
// src/viewer/utils/animation-effects.ts
|
|
11
11
|
function getAnimationInitialStyle2(preset, nativeAnimation) {
|
|
@@ -544,36 +544,6 @@ function CaptionTrackRenderer({
|
|
|
544
544
|
);
|
|
545
545
|
}) });
|
|
546
546
|
}
|
|
547
|
-
function MediaNotFoundPlaceholder({
|
|
548
|
-
mediaType
|
|
549
|
-
}) {
|
|
550
|
-
const { t } = useTranslation();
|
|
551
|
-
const isVideo = mediaType === "video";
|
|
552
|
-
return /* @__PURE__ */ jsxs("div", { className: "w-full h-full flex flex-col items-center justify-center gap-2 pointer-events-none bg-black/30 rounded border border-dashed border-white/20", children: [
|
|
553
|
-
/* @__PURE__ */ jsx(
|
|
554
|
-
"svg",
|
|
555
|
-
{
|
|
556
|
-
width: "36",
|
|
557
|
-
height: "36",
|
|
558
|
-
viewBox: "0 0 24 24",
|
|
559
|
-
fill: "none",
|
|
560
|
-
stroke: "currentColor",
|
|
561
|
-
strokeWidth: "1.5",
|
|
562
|
-
className: "text-white/50",
|
|
563
|
-
children: isVideo ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
564
|
-
/* @__PURE__ */ jsx("rect", { x: "2", y: "4", width: "20", height: "16", rx: "2" }),
|
|
565
|
-
/* @__PURE__ */ jsx("line", { x1: "2", y1: "4", x2: "22", y2: "20" })
|
|
566
|
-
] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
567
|
-
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "10" }),
|
|
568
|
-
/* @__PURE__ */ jsx("line", { x1: "4", y1: "4", x2: "20", y2: "20" })
|
|
569
|
-
] })
|
|
570
|
-
}
|
|
571
|
-
),
|
|
572
|
-
/* @__PURE__ */ jsx("span", { className: "text-[10px] text-white/50", children: t("pptx.media.typeNotFound", {
|
|
573
|
-
type: isVideo ? t("pptx.file.video") : t("pptx.file.audio")
|
|
574
|
-
}) })
|
|
575
|
-
] });
|
|
576
|
-
}
|
|
577
547
|
function VideoWithMetadata({
|
|
578
548
|
element,
|
|
579
549
|
mediaRef,
|
|
@@ -896,6 +866,109 @@ function PresentationMediaController({
|
|
|
896
866
|
)
|
|
897
867
|
] });
|
|
898
868
|
}
|
|
869
|
+
function label(key) {
|
|
870
|
+
return key === void 0 ? void 0 : translationsEn[key];
|
|
871
|
+
}
|
|
872
|
+
function FallbackIcon({
|
|
873
|
+
paths,
|
|
874
|
+
size,
|
|
875
|
+
className
|
|
876
|
+
}) {
|
|
877
|
+
if (paths.length === 0) {
|
|
878
|
+
return null;
|
|
879
|
+
}
|
|
880
|
+
return /* @__PURE__ */ jsx(
|
|
881
|
+
"svg",
|
|
882
|
+
{
|
|
883
|
+
width: size,
|
|
884
|
+
height: size,
|
|
885
|
+
viewBox: "0 0 24 24",
|
|
886
|
+
fill: "none",
|
|
887
|
+
stroke: "currentColor",
|
|
888
|
+
strokeWidth: "1.5",
|
|
889
|
+
className,
|
|
890
|
+
children: paths.map((d) => /* @__PURE__ */ jsx("path", { d }, d))
|
|
891
|
+
}
|
|
892
|
+
);
|
|
893
|
+
}
|
|
894
|
+
function Badge({
|
|
895
|
+
visual,
|
|
896
|
+
element
|
|
897
|
+
}) {
|
|
898
|
+
if (visual.badge === "none") {
|
|
899
|
+
return null;
|
|
900
|
+
}
|
|
901
|
+
const isMissing = visual.badge === "missing";
|
|
902
|
+
return /* @__PURE__ */ jsxs(
|
|
903
|
+
"div",
|
|
904
|
+
{
|
|
905
|
+
className: `absolute inset-0 flex flex-col items-center justify-center ${isMissing ? "gap-1" : ""}`,
|
|
906
|
+
...{ [MEDIA_CHROME_ATTRIBUTE]: visual.badge },
|
|
907
|
+
children: [
|
|
908
|
+
/* @__PURE__ */ jsx(
|
|
909
|
+
FallbackIcon,
|
|
910
|
+
{
|
|
911
|
+
paths: mediaFallbackIcon(visual, element.mediaType),
|
|
912
|
+
size: isMissing ? 32 : 48,
|
|
913
|
+
className: isMissing ? "text-white/60" : "text-white/80 drop-shadow-md"
|
|
914
|
+
}
|
|
915
|
+
),
|
|
916
|
+
isMissing && /* @__PURE__ */ jsx("span", { className: "text-[10px] text-white/60", children: label(mediaFallbackLabelKey(visual, element.mediaType)) })
|
|
917
|
+
]
|
|
918
|
+
}
|
|
919
|
+
);
|
|
920
|
+
}
|
|
921
|
+
function Placeholder({
|
|
922
|
+
visual,
|
|
923
|
+
element
|
|
924
|
+
}) {
|
|
925
|
+
if (visual.placeholder === "none") {
|
|
926
|
+
return null;
|
|
927
|
+
}
|
|
928
|
+
const isMissing = visual.placeholder === "missing";
|
|
929
|
+
return /* @__PURE__ */ jsxs(
|
|
930
|
+
"div",
|
|
931
|
+
{
|
|
932
|
+
className: `w-full h-full flex flex-col items-center justify-center gap-1 pointer-events-none rounded ${isMissing ? "bg-black/30 border border-dashed border-white/20" : element.mediaType === "audio" ? "bg-black/10" : "bg-black/20"}`,
|
|
933
|
+
...{ [MEDIA_CHROME_ATTRIBUTE]: visual.placeholder },
|
|
934
|
+
children: [
|
|
935
|
+
/* @__PURE__ */ jsx(
|
|
936
|
+
FallbackIcon,
|
|
937
|
+
{
|
|
938
|
+
paths: mediaFallbackIcon(visual, element.mediaType),
|
|
939
|
+
size: isMissing ? 36 : element.mediaType === "audio" ? 24 : 32,
|
|
940
|
+
className: isMissing ? "text-white/50" : "text-white/70"
|
|
941
|
+
}
|
|
942
|
+
),
|
|
943
|
+
/* @__PURE__ */ jsx("span", { className: `text-[10px] ${isMissing ? "text-white/50" : "text-white/70"}`, children: label(mediaFallbackLabelKey(visual, element.mediaType)) })
|
|
944
|
+
]
|
|
945
|
+
}
|
|
946
|
+
);
|
|
947
|
+
}
|
|
948
|
+
function renderMediaFallback({
|
|
949
|
+
element,
|
|
950
|
+
posterUrl,
|
|
951
|
+
surface
|
|
952
|
+
}) {
|
|
953
|
+
const visual = mediaFallbackVisual(surface, {
|
|
954
|
+
hasPoster: Boolean(posterUrl),
|
|
955
|
+
missing: element.mediaMissing === true
|
|
956
|
+
});
|
|
957
|
+
if (visual.poster && posterUrl) {
|
|
958
|
+
return /* @__PURE__ */ jsxs("div", { className: "w-full h-full relative pointer-events-none", children: [
|
|
959
|
+
/* @__PURE__ */ jsx(
|
|
960
|
+
"img",
|
|
961
|
+
{
|
|
962
|
+
src: posterUrl,
|
|
963
|
+
alt: visual.dimPoster ? translationsEn["pptx.media.posterAlt"] : translationsEn["pptx.media.videoPosterAlt"],
|
|
964
|
+
className: `w-full h-full object-contain${visual.dimPoster ? " opacity-50" : ""}`
|
|
965
|
+
}
|
|
966
|
+
),
|
|
967
|
+
/* @__PURE__ */ jsx(Badge, { visual, element })
|
|
968
|
+
] });
|
|
969
|
+
}
|
|
970
|
+
return /* @__PURE__ */ jsx(Placeholder, { visual, element });
|
|
971
|
+
}
|
|
899
972
|
function renderMediaElement(element, mediaDataUrls, options) {
|
|
900
973
|
if (element.type !== "media") {
|
|
901
974
|
return /* @__PURE__ */ jsx("div", { className: "w-full h-full flex items-center justify-center text-[11px] text-white/80 pointer-events-none", children: translationsEn["pptx.media.title"] });
|
|
@@ -911,39 +984,12 @@ function renderMediaElement(element, mediaDataUrls, options) {
|
|
|
911
984
|
const isFullScreen = options?.fullScreen === true;
|
|
912
985
|
const isPresentationMode = options?.isPresentationMode === true;
|
|
913
986
|
const showTransport = options?.showTransport ?? !isPresentationMode;
|
|
987
|
+
const surface = {
|
|
988
|
+
presenting: isPresentationMode,
|
|
989
|
+
preview: options?.preview === true
|
|
990
|
+
};
|
|
914
991
|
if (element.mediaMissing) {
|
|
915
|
-
|
|
916
|
-
return /* @__PURE__ */ jsxs("div", { className: "w-full h-full relative pointer-events-none", children: [
|
|
917
|
-
/* @__PURE__ */ jsx(
|
|
918
|
-
"img",
|
|
919
|
-
{
|
|
920
|
-
src: posterUrl,
|
|
921
|
-
alt: translationsEn["pptx.media.posterAlt"],
|
|
922
|
-
className: "w-full h-full object-contain opacity-50"
|
|
923
|
-
}
|
|
924
|
-
),
|
|
925
|
-
/* @__PURE__ */ jsxs("div", { className: "absolute inset-0 flex flex-col items-center justify-center gap-1", children: [
|
|
926
|
-
/* @__PURE__ */ jsxs(
|
|
927
|
-
"svg",
|
|
928
|
-
{
|
|
929
|
-
width: "32",
|
|
930
|
-
height: "32",
|
|
931
|
-
viewBox: "0 0 24 24",
|
|
932
|
-
fill: "none",
|
|
933
|
-
stroke: "currentColor",
|
|
934
|
-
strokeWidth: "1.5",
|
|
935
|
-
className: "text-white/60",
|
|
936
|
-
children: [
|
|
937
|
-
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "10" }),
|
|
938
|
-
/* @__PURE__ */ jsx("line", { x1: "4", y1: "4", x2: "20", y2: "20" })
|
|
939
|
-
]
|
|
940
|
-
}
|
|
941
|
-
),
|
|
942
|
-
/* @__PURE__ */ jsx("span", { className: "text-[10px] text-white/60", children: translationsEn["pptx.media.notFound"] })
|
|
943
|
-
] })
|
|
944
|
-
] });
|
|
945
|
-
}
|
|
946
|
-
return /* @__PURE__ */ jsx(MediaNotFoundPlaceholder, { mediaType: mediaType ?? "video" });
|
|
992
|
+
return renderMediaFallback({ element, posterUrl, surface });
|
|
947
993
|
}
|
|
948
994
|
if (mediaType === "video") {
|
|
949
995
|
if (dataUrl) {
|
|
@@ -976,47 +1022,7 @@ function renderMediaElement(element, mediaDataUrls, options) {
|
|
|
976
1022
|
}
|
|
977
1023
|
);
|
|
978
1024
|
}
|
|
979
|
-
|
|
980
|
-
return /* @__PURE__ */ jsxs("div", { className: "w-full h-full relative pointer-events-none", children: [
|
|
981
|
-
/* @__PURE__ */ jsx(
|
|
982
|
-
"img",
|
|
983
|
-
{
|
|
984
|
-
src: posterUrl,
|
|
985
|
-
alt: translationsEn["pptx.media.videoPosterAlt"],
|
|
986
|
-
className: "w-full h-full object-contain"
|
|
987
|
-
}
|
|
988
|
-
),
|
|
989
|
-
/* @__PURE__ */ jsx("div", { className: "absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ jsx(
|
|
990
|
-
"svg",
|
|
991
|
-
{
|
|
992
|
-
width: "48",
|
|
993
|
-
height: "48",
|
|
994
|
-
viewBox: "0 0 24 24",
|
|
995
|
-
fill: "none",
|
|
996
|
-
stroke: "currentColor",
|
|
997
|
-
strokeWidth: "1.5",
|
|
998
|
-
className: "text-white/80 drop-shadow-md",
|
|
999
|
-
children: /* @__PURE__ */ jsx("polygon", { points: "5 3 19 12 5 21 5 3" })
|
|
1000
|
-
}
|
|
1001
|
-
) })
|
|
1002
|
-
] });
|
|
1003
|
-
}
|
|
1004
|
-
return /* @__PURE__ */ jsxs("div", { className: "w-full h-full flex flex-col items-center justify-center gap-1 pointer-events-none bg-black/20 rounded", children: [
|
|
1005
|
-
/* @__PURE__ */ jsx(
|
|
1006
|
-
"svg",
|
|
1007
|
-
{
|
|
1008
|
-
width: "32",
|
|
1009
|
-
height: "32",
|
|
1010
|
-
viewBox: "0 0 24 24",
|
|
1011
|
-
fill: "none",
|
|
1012
|
-
stroke: "currentColor",
|
|
1013
|
-
strokeWidth: "1.5",
|
|
1014
|
-
className: "text-white/70",
|
|
1015
|
-
children: /* @__PURE__ */ jsx("polygon", { points: "5 3 19 12 5 21 5 3" })
|
|
1016
|
-
}
|
|
1017
|
-
),
|
|
1018
|
-
/* @__PURE__ */ jsx("span", { className: "text-[10px] text-white/70", children: "Video" })
|
|
1019
|
-
] });
|
|
1025
|
+
return renderMediaFallback({ element, posterUrl, surface });
|
|
1020
1026
|
}
|
|
1021
1027
|
if (mediaType === "audio") {
|
|
1022
1028
|
if (dataUrl) {
|
|
@@ -1046,28 +1052,12 @@ function renderMediaElement(element, mediaDataUrls, options) {
|
|
|
1046
1052
|
}
|
|
1047
1053
|
);
|
|
1048
1054
|
}
|
|
1049
|
-
return
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
width: "24",
|
|
1054
|
-
height: "24",
|
|
1055
|
-
viewBox: "0 0 24 24",
|
|
1056
|
-
fill: "none",
|
|
1057
|
-
stroke: "currentColor",
|
|
1058
|
-
strokeWidth: "1.5",
|
|
1059
|
-
className: "text-white/70",
|
|
1060
|
-
children: [
|
|
1061
|
-
/* @__PURE__ */ jsx("path", { d: "M9 18V5l12-2v13" }),
|
|
1062
|
-
/* @__PURE__ */ jsx("circle", { cx: "6", cy: "18", r: "3" }),
|
|
1063
|
-
/* @__PURE__ */ jsx("circle", { cx: "18", cy: "16", r: "3" })
|
|
1064
|
-
]
|
|
1065
|
-
}
|
|
1066
|
-
),
|
|
1067
|
-
/* @__PURE__ */ jsx("span", { className: "text-[10px] text-white/70", children: "Audio" })
|
|
1068
|
-
] });
|
|
1055
|
+
return renderMediaFallback({ element, posterUrl, surface });
|
|
1056
|
+
}
|
|
1057
|
+
if (surface.presenting || surface.preview) {
|
|
1058
|
+
return null;
|
|
1069
1059
|
}
|
|
1070
|
-
return /* @__PURE__ */ jsx("div", { className: "w-full h-full flex items-center justify-center text-[11px] text-white/80 pointer-events-none", children: "
|
|
1060
|
+
return /* @__PURE__ */ jsx("div", { className: "w-full h-full flex items-center justify-center text-[11px] text-white/80 pointer-events-none", children: translationsEn["pptx.media.title"] });
|
|
1071
1061
|
}
|
|
1072
1062
|
|
|
1073
1063
|
// src/viewer/utils/text-utils.tsx
|
|
@@ -1726,7 +1716,7 @@ function renderSingleSegment(element, segment, segmentIndex, fallbackColor, find
|
|
|
1726
1716
|
const rawBaseline = typeof segmentStyle.baseline === "number" ? segmentStyle.baseline : 0;
|
|
1727
1717
|
const baselineFraction = rawBaseline === 0 ? 0 : Math.abs(rawBaseline) >= 1e3 ? rawBaseline / 1e5 : rawBaseline / 100;
|
|
1728
1718
|
const baselineFontScale = baselineFraction !== 0 ? 0.65 : 1;
|
|
1729
|
-
const
|
|
1719
|
+
const authoredLetterSpacing = typeof segmentStyle.characterSpacing === "number" && segmentStyle.characterSpacing !== 0 ? segmentStyle.characterSpacing / 100 * (96 / 72) : 0;
|
|
1730
1720
|
const textFillStyles = buildTextFillCss2(segmentStyle);
|
|
1731
1721
|
const rawFontSize = segmentStyle.fontSize || element.textStyle?.fontSize || DEFAULT_TEXT_FONT_SIZE;
|
|
1732
1722
|
const autoFitScale = resolveAutoFitFontScale(element.textStyle);
|
|
@@ -1756,6 +1746,14 @@ function renderSingleSegment(element, segment, segmentIndex, fallbackColor, find
|
|
|
1756
1746
|
)
|
|
1757
1747
|
};
|
|
1758
1748
|
const needsScriptFonts = hasDistinctScriptFonts(scriptFonts);
|
|
1749
|
+
const metricTracking = resolveMetricTrackingPx(textValue, {
|
|
1750
|
+
fontFamily: baseFontFamily,
|
|
1751
|
+
fontSizePx: baseFontSize * baselineFontScale,
|
|
1752
|
+
bold: Boolean(segmentStyle.bold),
|
|
1753
|
+
italic: Boolean(segmentStyle.italic)
|
|
1754
|
+
});
|
|
1755
|
+
const totalLetterSpacing = authoredLetterSpacing + metricTracking;
|
|
1756
|
+
const letterSpacing = totalLetterSpacing === 0 ? void 0 : `${totalLetterSpacing}px`;
|
|
1759
1757
|
const spanStyle = {
|
|
1760
1758
|
color: resolvedSegmentColor,
|
|
1761
1759
|
fontSize: baseFontSize * baselineFontScale,
|
|
@@ -6162,7 +6160,7 @@ function FailedToLoad() {
|
|
|
6162
6160
|
var LazySurfaceChart3DScene = React6.lazy(
|
|
6163
6161
|
async () => {
|
|
6164
6162
|
try {
|
|
6165
|
-
return await import('./SurfaceChart3DScene-
|
|
6163
|
+
return await import('./SurfaceChart3DScene-2MLBPJ63.mjs');
|
|
6166
6164
|
} catch {
|
|
6167
6165
|
return { default: FailedToLoad };
|
|
6168
6166
|
}
|
|
@@ -6494,7 +6492,7 @@ function renderTreemapChart(element, chartData, categoryLabels) {
|
|
|
6494
6492
|
`${element.id}-tm-${item.index}`
|
|
6495
6493
|
)
|
|
6496
6494
|
);
|
|
6497
|
-
const
|
|
6495
|
+
const label2 = categoryLabels[item.index] ?? `${item.index + 1}`;
|
|
6498
6496
|
if (w > 30 && h > 14) {
|
|
6499
6497
|
rects.push(
|
|
6500
6498
|
/* @__PURE__ */ jsx(
|
|
@@ -6506,7 +6504,7 @@ function renderTreemapChart(element, chartData, categoryLabels) {
|
|
|
6506
6504
|
fontSize: Math.min(10, h * 0.3),
|
|
6507
6505
|
fill: "#fff",
|
|
6508
6506
|
fontWeight: 600,
|
|
6509
|
-
children:
|
|
6507
|
+
children: label2
|
|
6510
6508
|
},
|
|
6511
6509
|
`${element.id}-tm-lbl-${item.index}`
|
|
6512
6510
|
)
|
|
@@ -6973,14 +6971,14 @@ function layoutToCategory(layout) {
|
|
|
6973
6971
|
};
|
|
6974
6972
|
return map[layout] ?? "list";
|
|
6975
6973
|
}
|
|
6976
|
-
function smartArtNodeGroupProps(nodeId, shadow,
|
|
6974
|
+
function smartArtNodeGroupProps(nodeId, shadow, label2) {
|
|
6977
6975
|
const props = {
|
|
6978
6976
|
"data-smartart-node-id": nodeId,
|
|
6979
6977
|
style: { filter: shadow, pointerEvents: "auto" }
|
|
6980
6978
|
};
|
|
6981
|
-
if (
|
|
6979
|
+
if (label2) {
|
|
6982
6980
|
props.role = "img";
|
|
6983
|
-
props["aria-label"] =
|
|
6981
|
+
props["aria-label"] = label2;
|
|
6984
6982
|
}
|
|
6985
6983
|
return props;
|
|
6986
6984
|
}
|
|
Binary file
|
|
Binary file
|
package/dist/index.js
CHANGED
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
var
|
|
6
|
-
var
|
|
3
|
+
var chunkN6IE34HX_js = require('./chunk-N6IE34HX.js');
|
|
4
|
+
require('./chunk-7UBDMCI7.js');
|
|
5
|
+
var chunkDQTTI6D4_js = require('./chunk-DQTTI6D4.js');
|
|
6
|
+
var chunkIN7D2T4R_js = require('./chunk-IN7D2T4R.js');
|
|
7
7
|
var chunk3ISYPBSX_js = require('./chunk-3ISYPBSX.js');
|
|
8
|
-
var
|
|
8
|
+
var chunk3NDRTC7T_js = require('./chunk-3NDRTC7T.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
|
|
15
|
+
get: function () { return chunkN6IE34HX_js.PowerPointViewer; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "SlideCanvas", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkN6IE34HX_js.SlideCanvas; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "SlideTemplateGalleryDialog", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkN6IE34HX_js.SlideTemplateGalleryDialog; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "SlideTemplatePreview", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkN6IE34HX_js.SlideTemplatePreview; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "Toolbar", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkN6IE34HX_js.Toolbar; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "ViewerThemeProvider", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunkN6IE34HX_js.ViewerThemeProvider; }
|
|
36
36
|
});
|
|
37
37
|
Object.defineProperty(exports, "useViewerTheme", {
|
|
38
38
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunkN6IE34HX_js.useViewerTheme; }
|
|
40
40
|
});
|
|
41
41
|
Object.defineProperty(exports, "renderToCanvas", {
|
|
42
42
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunkDQTTI6D4_js.renderToCanvas; }
|
|
44
44
|
});
|
|
45
45
|
Object.defineProperty(exports, "useViewerBuildingBlocks", {
|
|
46
46
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunkDQTTI6D4_js.useViewerBuildingBlocks; }
|
|
48
48
|
});
|
|
49
49
|
Object.defineProperty(exports, "getAnimationInitialStyle", {
|
|
50
50
|
enumerable: true,
|
|
51
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunkIN7D2T4R_js.getAnimationInitialStyle; }
|
|
52
52
|
});
|
|
53
53
|
Object.defineProperty(exports, "LOCALE_CATALOG", {
|
|
54
54
|
enumerable: true,
|
|
@@ -56,97 +56,97 @@ Object.defineProperty(exports, "LOCALE_CATALOG", {
|
|
|
56
56
|
});
|
|
57
57
|
Object.defineProperty(exports, "AVATAR_COLOR_SWATCHES", {
|
|
58
58
|
enumerable: true,
|
|
59
|
-
get: function () { return
|
|
59
|
+
get: function () { return chunk3NDRTC7T_js.AVATAR_COLOR_SWATCHES; }
|
|
60
60
|
});
|
|
61
61
|
Object.defineProperty(exports, "DEFAULT_VIEWER_PROFILE", {
|
|
62
62
|
enumerable: true,
|
|
63
|
-
get: function () { return
|
|
63
|
+
get: function () { return chunk3NDRTC7T_js.DEFAULT_VIEWER_PROFILE; }
|
|
64
64
|
});
|
|
65
65
|
Object.defineProperty(exports, "SLIDE_TEMPLATES", {
|
|
66
66
|
enumerable: true,
|
|
67
|
-
get: function () { return
|
|
67
|
+
get: function () { return chunk3NDRTC7T_js.SLIDE_TEMPLATES; }
|
|
68
68
|
});
|
|
69
69
|
Object.defineProperty(exports, "THEME_CATALOG", {
|
|
70
70
|
enumerable: true,
|
|
71
|
-
get: function () { return
|
|
71
|
+
get: function () { return chunk3NDRTC7T_js.THEME_CATALOG; }
|
|
72
72
|
});
|
|
73
73
|
Object.defineProperty(exports, "VIEWER_PREFS_STORAGE_KEY", {
|
|
74
74
|
enumerable: true,
|
|
75
|
-
get: function () { return
|
|
75
|
+
get: function () { return chunk3NDRTC7T_js.VIEWER_PREFS_STORAGE_KEY; }
|
|
76
76
|
});
|
|
77
77
|
Object.defineProperty(exports, "buildSlideTemplateContent", {
|
|
78
78
|
enumerable: true,
|
|
79
|
-
get: function () { return
|
|
79
|
+
get: function () { return chunk3NDRTC7T_js.buildSlideTemplateContent; }
|
|
80
80
|
});
|
|
81
81
|
Object.defineProperty(exports, "buildSlideTemplateSlide", {
|
|
82
82
|
enumerable: true,
|
|
83
|
-
get: function () { return
|
|
83
|
+
get: function () { return chunk3NDRTC7T_js.buildSlideTemplateSlide; }
|
|
84
84
|
});
|
|
85
85
|
Object.defineProperty(exports, "clearAllLocalViewerData", {
|
|
86
86
|
enumerable: true,
|
|
87
|
-
get: function () { return
|
|
87
|
+
get: function () { return chunk3NDRTC7T_js.clearAllLocalViewerData; }
|
|
88
88
|
});
|
|
89
89
|
Object.defineProperty(exports, "clearStoredViewerPrefs", {
|
|
90
90
|
enumerable: true,
|
|
91
|
-
get: function () { return
|
|
91
|
+
get: function () { return chunk3NDRTC7T_js.clearStoredViewerPrefs; }
|
|
92
92
|
});
|
|
93
93
|
Object.defineProperty(exports, "defaultCssVars", {
|
|
94
94
|
enumerable: true,
|
|
95
|
-
get: function () { return
|
|
95
|
+
get: function () { return chunk3NDRTC7T_js.defaultCssVars; }
|
|
96
96
|
});
|
|
97
97
|
Object.defineProperty(exports, "defaultRadius", {
|
|
98
98
|
enumerable: true,
|
|
99
|
-
get: function () { return
|
|
99
|
+
get: function () { return chunk3NDRTC7T_js.defaultRadius; }
|
|
100
100
|
});
|
|
101
101
|
Object.defineProperty(exports, "defaultThemeColors", {
|
|
102
102
|
enumerable: true,
|
|
103
|
-
get: function () { return
|
|
103
|
+
get: function () { return chunk3NDRTC7T_js.defaultThemeColors; }
|
|
104
104
|
});
|
|
105
105
|
Object.defineProperty(exports, "getLocalStorageUsageSummary", {
|
|
106
106
|
enumerable: true,
|
|
107
|
-
get: function () { return
|
|
107
|
+
get: function () { return chunk3NDRTC7T_js.getLocalStorageUsageSummary; }
|
|
108
108
|
});
|
|
109
109
|
Object.defineProperty(exports, "readStoredViewerPrefs", {
|
|
110
110
|
enumerable: true,
|
|
111
|
-
get: function () { return
|
|
111
|
+
get: function () { return chunk3NDRTC7T_js.readStoredViewerPrefs; }
|
|
112
112
|
});
|
|
113
113
|
Object.defineProperty(exports, "resolveProfileInitial", {
|
|
114
114
|
enumerable: true,
|
|
115
|
-
get: function () { return
|
|
115
|
+
get: function () { return chunk3NDRTC7T_js.resolveProfileInitial; }
|
|
116
116
|
});
|
|
117
117
|
Object.defineProperty(exports, "resolveThemeCatalogEntry", {
|
|
118
118
|
enumerable: true,
|
|
119
|
-
get: function () { return
|
|
119
|
+
get: function () { return chunk3NDRTC7T_js.resolveThemeCatalogEntry; }
|
|
120
120
|
});
|
|
121
121
|
Object.defineProperty(exports, "saveViewerProfile", {
|
|
122
122
|
enumerable: true,
|
|
123
|
-
get: function () { return
|
|
123
|
+
get: function () { return chunk3NDRTC7T_js.saveViewerProfile; }
|
|
124
124
|
});
|
|
125
125
|
Object.defineProperty(exports, "themeToCssVars", {
|
|
126
126
|
enumerable: true,
|
|
127
|
-
get: function () { return
|
|
127
|
+
get: function () { return chunk3NDRTC7T_js.themeToCssVars; }
|
|
128
128
|
});
|
|
129
129
|
Object.defineProperty(exports, "vermilionDarkColors", {
|
|
130
130
|
enumerable: true,
|
|
131
|
-
get: function () { return
|
|
131
|
+
get: function () { return chunk3NDRTC7T_js.vermilionDarkColors; }
|
|
132
132
|
});
|
|
133
133
|
Object.defineProperty(exports, "vermilionDarkTheme", {
|
|
134
134
|
enumerable: true,
|
|
135
|
-
get: function () { return
|
|
135
|
+
get: function () { return chunk3NDRTC7T_js.vermilionDarkTheme; }
|
|
136
136
|
});
|
|
137
137
|
Object.defineProperty(exports, "vermilionLightColors", {
|
|
138
138
|
enumerable: true,
|
|
139
|
-
get: function () { return
|
|
139
|
+
get: function () { return chunk3NDRTC7T_js.vermilionLightColors; }
|
|
140
140
|
});
|
|
141
141
|
Object.defineProperty(exports, "vermilionLightTheme", {
|
|
142
142
|
enumerable: true,
|
|
143
|
-
get: function () { return
|
|
143
|
+
get: function () { return chunk3NDRTC7T_js.vermilionLightTheme; }
|
|
144
144
|
});
|
|
145
145
|
Object.defineProperty(exports, "vermilionRadius", {
|
|
146
146
|
enumerable: true,
|
|
147
|
-
get: function () { return
|
|
147
|
+
get: function () { return chunk3NDRTC7T_js.vermilionRadius; }
|
|
148
148
|
});
|
|
149
149
|
Object.defineProperty(exports, "writeStoredViewerPrefs", {
|
|
150
150
|
enumerable: true,
|
|
151
|
-
get: function () { return
|
|
151
|
+
get: function () { return chunk3NDRTC7T_js.writeStoredViewerPrefs; }
|
|
152
152
|
});
|
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-
|
|
2
|
-
import './chunk-
|
|
3
|
-
export { renderToCanvas, useViewerBuildingBlocks } from './chunk-
|
|
4
|
-
export { getAnimationInitialStyle } from './chunk-
|
|
1
|
+
export { PowerPointViewer, SlideCanvas, SlideTemplateGalleryDialog, SlideTemplatePreview, Toolbar, ViewerThemeProvider, useViewerTheme } from './chunk-6ROCCY4M.mjs';
|
|
2
|
+
import './chunk-LJZFG6YP.mjs';
|
|
3
|
+
export { renderToCanvas, useViewerBuildingBlocks } from './chunk-RUK5XZGO.mjs';
|
|
4
|
+
export { getAnimationInitialStyle } from './chunk-ZOOGEDYG.mjs';
|
|
5
5
|
export { LOCALE_CATALOG } from './chunk-5YV26HMJ.mjs';
|
|
6
|
-
export { AVATAR_COLOR_SWATCHES, DEFAULT_VIEWER_PROFILE, SLIDE_TEMPLATES, THEME_CATALOG, VIEWER_PREFS_STORAGE_KEY, buildSlideTemplateContent, buildSlideTemplateSlide, clearAllLocalViewerData, clearStoredViewerPrefs, defaultCssVars, defaultRadius, defaultThemeColors, getLocalStorageUsageSummary, readStoredViewerPrefs, resolveProfileInitial, resolveThemeCatalogEntry, saveViewerProfile, themeToCssVars, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius, writeStoredViewerPrefs } from './chunk-
|
|
6
|
+
export { AVATAR_COLOR_SWATCHES, DEFAULT_VIEWER_PROFILE, SLIDE_TEMPLATES, THEME_CATALOG, VIEWER_PREFS_STORAGE_KEY, buildSlideTemplateContent, buildSlideTemplateSlide, clearAllLocalViewerData, clearStoredViewerPrefs, defaultCssVars, defaultRadius, defaultThemeColors, getLocalStorageUsageSummary, readStoredViewerPrefs, resolveProfileInitial, resolveThemeCatalogEntry, saveViewerProfile, themeToCssVars, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius, writeStoredViewerPrefs } from './chunk-ENOHLGJ2.mjs';
|
|
7
7
|
import './chunk-XGB3TDIC.mjs';
|
package/dist/index.mjs.br
CHANGED
|
Binary file
|
package/dist/index.mjs.gz
CHANGED
|
Binary file
|