pptx-react-viewer 3.1.3 → 3.1.4
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 +11 -0
- package/dist/{AiChatPanel-5JAQBLTU.mjs → AiChatPanel-ITCVRVKP.mjs} +3 -3
- package/dist/AiChatPanel-ITCVRVKP.mjs.br +0 -0
- package/dist/AiChatPanel-ITCVRVKP.mjs.gz +0 -0
- package/dist/{AiChatPanel-C3E7UV7T.js → AiChatPanel-TO5PHBGW.js} +23 -23
- package/dist/AiChatPanel-TO5PHBGW.js.br +0 -0
- package/dist/AiChatPanel-TO5PHBGW.js.gz +0 -0
- package/dist/{Area3DChartScene-XY2PKRMA.js → Area3DChartScene-2UNQ3J3V.js} +2 -2
- package/dist/Area3DChartScene-2UNQ3J3V.js.br +0 -0
- package/dist/Area3DChartScene-2UNQ3J3V.js.gz +0 -0
- package/dist/{Area3DChartScene-KE434ERF.mjs → Area3DChartScene-7PHPDOTG.mjs} +1 -1
- package/dist/Area3DChartScene-7PHPDOTG.mjs.br +0 -0
- package/dist/Area3DChartScene-7PHPDOTG.mjs.gz +0 -0
- package/dist/{Bar3DChartScene-2KQABQZM.mjs → Bar3DChartScene-BLPUHYRZ.mjs} +1 -1
- package/dist/Bar3DChartScene-BLPUHYRZ.mjs.br +0 -0
- package/dist/Bar3DChartScene-BLPUHYRZ.mjs.gz +0 -0
- package/dist/{Bar3DChartScene-YMADUUZN.js → Bar3DChartScene-MC5S3AGT.js} +2 -2
- package/dist/Bar3DChartScene-MC5S3AGT.js.br +0 -0
- package/dist/Bar3DChartScene-MC5S3AGT.js.gz +0 -0
- package/dist/{Line3DChartScene-AB7N6ORX.js → Line3DChartScene-JVVZRIDD.js} +2 -2
- package/dist/Line3DChartScene-JVVZRIDD.js.br +0 -0
- package/dist/Line3DChartScene-JVVZRIDD.js.gz +0 -0
- package/dist/{Line3DChartScene-K3BSK6BB.mjs → Line3DChartScene-L5B4YFG3.mjs} +1 -1
- package/dist/Line3DChartScene-L5B4YFG3.mjs.br +0 -0
- package/dist/Line3DChartScene-L5B4YFG3.mjs.gz +0 -0
- package/dist/{Model3DScene-NT5RRIB5.mjs → Model3DScene-6TNWS5LV.mjs} +1 -1
- package/dist/Model3DScene-6TNWS5LV.mjs.br +0 -0
- package/dist/Model3DScene-6TNWS5LV.mjs.gz +0 -0
- package/dist/{Model3DScene-VSLGUWC7.js → Model3DScene-LRDNQNKJ.js} +2 -2
- package/dist/Model3DScene-LRDNQNKJ.js.br +0 -0
- package/dist/Model3DScene-LRDNQNKJ.js.gz +0 -0
- package/dist/{PieChart3DScene-6MUFRFYJ.js → PieChart3DScene-PZWZCXHX.js} +2 -2
- package/dist/PieChart3DScene-PZWZCXHX.js.br +0 -0
- package/dist/PieChart3DScene-PZWZCXHX.js.gz +0 -0
- package/dist/{PieChart3DScene-NFRBKII7.mjs → PieChart3DScene-XXAIVP4I.mjs} +1 -1
- package/dist/PieChart3DScene-XXAIVP4I.mjs.br +0 -0
- package/dist/PieChart3DScene-XXAIVP4I.mjs.gz +0 -0
- package/dist/{SurfaceChart3DScene-UKIOTKJC.mjs → SurfaceChart3DScene-CRUGJSCY.mjs} +1 -1
- package/dist/SurfaceChart3DScene-CRUGJSCY.mjs.br +1 -0
- package/dist/SurfaceChart3DScene-CRUGJSCY.mjs.gz +0 -0
- package/dist/{SurfaceChart3DScene-2UQOKVFB.js → SurfaceChart3DScene-UBQV3ZN2.js} +2 -2
- package/dist/SurfaceChart3DScene-UBQV3ZN2.js.br +0 -0
- package/dist/SurfaceChart3DScene-UBQV3ZN2.js.gz +0 -0
- package/dist/UTIF-LAD5QYGQ.mjs +6400 -0
- package/dist/UTIF-LAD5QYGQ.mjs.br +0 -0
- package/dist/UTIF-LAD5QYGQ.mjs.gz +0 -0
- package/dist/UTIF-POYWAAGO.js +6402 -0
- package/dist/UTIF-POYWAAGO.js.br +0 -0
- package/dist/UTIF-POYWAAGO.js.gz +0 -0
- package/dist/{chunk-5WH6UVWC.mjs → chunk-57MGKBJ4.mjs} +253 -77
- package/dist/chunk-57MGKBJ4.mjs.br +0 -0
- package/dist/chunk-57MGKBJ4.mjs.gz +0 -0
- package/dist/{chunk-BZ6OM3H5.mjs → chunk-A2UAUSJM.mjs} +113 -6
- package/dist/chunk-A2UAUSJM.mjs.br +0 -0
- package/dist/chunk-A2UAUSJM.mjs.gz +0 -0
- package/dist/{chunk-ACVLIDUS.mjs → chunk-BPWSJLLG.mjs} +158 -29
- package/dist/chunk-BPWSJLLG.mjs.br +0 -0
- package/dist/chunk-BPWSJLLG.mjs.gz +0 -0
- package/dist/{chunk-K4DUVYZ7.js → chunk-LGVNUG3G.js} +3 -3
- package/dist/chunk-LGVNUG3G.js.br +0 -0
- package/dist/chunk-LGVNUG3G.js.gz +0 -0
- package/dist/{chunk-XBR7W47W.js → chunk-LXYDXLKZ.js} +510 -403
- package/dist/chunk-LXYDXLKZ.js.br +0 -0
- package/dist/chunk-LXYDXLKZ.js.gz +0 -0
- package/dist/{chunk-Z3DEULRJ.mjs → chunk-QOLYY7E3.mjs} +1 -1
- package/dist/chunk-QOLYY7E3.mjs.br +0 -0
- package/dist/chunk-QOLYY7E3.mjs.gz +0 -0
- package/dist/{chunk-OABOL32L.js → chunk-T2QG2HD5.js} +302 -171
- package/dist/chunk-T2QG2HD5.js.br +0 -0
- package/dist/chunk-T2QG2HD5.js.gz +0 -0
- package/dist/{chunk-GCOGKBK3.js → chunk-T44LBKF6.js} +1342 -1166
- package/dist/chunk-T44LBKF6.js.br +0 -0
- package/dist/chunk-T44LBKF6.js.gz +0 -0
- package/dist/{chunk-SRAXNEJX.mjs → chunk-XIHK52SB.mjs} +1525 -341
- package/dist/chunk-XIHK52SB.mjs.br +0 -0
- package/dist/chunk-XIHK52SB.mjs.gz +0 -0
- package/dist/{chunk-HMZA25W2.js → chunk-YDEEINER.js} +1528 -343
- package/dist/chunk-YDEEINER.js.br +0 -0
- package/dist/chunk-YDEEINER.js.gz +0 -0
- package/dist/index.d.ts +139 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +49 -49
- 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 +139 -3
- 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.d.ts +139 -3
- 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 +2 -2
- package/dist/AiChatPanel-5JAQBLTU.mjs.br +0 -0
- package/dist/AiChatPanel-5JAQBLTU.mjs.gz +0 -0
- package/dist/AiChatPanel-C3E7UV7T.js.br +0 -0
- package/dist/AiChatPanel-C3E7UV7T.js.gz +0 -0
- package/dist/Area3DChartScene-KE434ERF.mjs.br +0 -0
- package/dist/Area3DChartScene-KE434ERF.mjs.gz +0 -0
- package/dist/Area3DChartScene-XY2PKRMA.js.br +0 -0
- package/dist/Area3DChartScene-XY2PKRMA.js.gz +0 -0
- package/dist/Bar3DChartScene-2KQABQZM.mjs.br +0 -0
- package/dist/Bar3DChartScene-2KQABQZM.mjs.gz +0 -0
- package/dist/Bar3DChartScene-YMADUUZN.js.br +0 -0
- package/dist/Bar3DChartScene-YMADUUZN.js.gz +0 -0
- package/dist/Line3DChartScene-AB7N6ORX.js.br +0 -0
- package/dist/Line3DChartScene-AB7N6ORX.js.gz +0 -0
- package/dist/Line3DChartScene-K3BSK6BB.mjs.br +0 -0
- package/dist/Line3DChartScene-K3BSK6BB.mjs.gz +0 -0
- package/dist/Model3DScene-NT5RRIB5.mjs.br +0 -0
- package/dist/Model3DScene-NT5RRIB5.mjs.gz +0 -0
- package/dist/Model3DScene-VSLGUWC7.js.br +0 -0
- package/dist/Model3DScene-VSLGUWC7.js.gz +0 -0
- package/dist/PieChart3DScene-6MUFRFYJ.js.br +0 -0
- package/dist/PieChart3DScene-6MUFRFYJ.js.gz +0 -0
- package/dist/PieChart3DScene-NFRBKII7.mjs.br +0 -0
- package/dist/PieChart3DScene-NFRBKII7.mjs.gz +0 -0
- package/dist/SurfaceChart3DScene-2UQOKVFB.js.br +0 -0
- package/dist/SurfaceChart3DScene-2UQOKVFB.js.gz +0 -0
- package/dist/SurfaceChart3DScene-UKIOTKJC.mjs.br +0 -0
- package/dist/SurfaceChart3DScene-UKIOTKJC.mjs.gz +0 -0
- package/dist/chunk-5WH6UVWC.mjs.br +0 -0
- package/dist/chunk-5WH6UVWC.mjs.gz +0 -0
- package/dist/chunk-ACVLIDUS.mjs.br +0 -0
- package/dist/chunk-ACVLIDUS.mjs.gz +0 -0
- package/dist/chunk-BZ6OM3H5.mjs.br +0 -0
- package/dist/chunk-BZ6OM3H5.mjs.gz +0 -0
- package/dist/chunk-GCOGKBK3.js.br +0 -0
- package/dist/chunk-GCOGKBK3.js.gz +0 -0
- package/dist/chunk-HMZA25W2.js.br +0 -0
- package/dist/chunk-HMZA25W2.js.gz +0 -0
- package/dist/chunk-K4DUVYZ7.js.br +0 -0
- package/dist/chunk-K4DUVYZ7.js.gz +0 -0
- package/dist/chunk-OABOL32L.js.br +0 -0
- package/dist/chunk-OABOL32L.js.gz +0 -0
- package/dist/chunk-SRAXNEJX.mjs.br +0 -0
- package/dist/chunk-SRAXNEJX.mjs.gz +0 -0
- package/dist/chunk-XBR7W47W.js.br +0 -0
- package/dist/chunk-XBR7W47W.js.gz +0 -0
- package/dist/chunk-Z3DEULRJ.mjs.br +0 -0
- package/dist/chunk-Z3DEULRJ.mjs.gz +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { computeFocusTargets, aiChangeAnimationCss, changeGhostStyle, createChatHistoryStore, toRenderableParts } from './chunk-
|
|
2
|
-
import { useViewerOptions, useReducedMotion, useViewerState, useIsMobile, useResizablePanels, useDerivedSlideState, useZoomViewport, useEditorHistory, usePresentationSetup, useTouchGestures, useViewerDialogs, useEditorOperations, useViewerIntegration, useLayoutSwitching, ViewerOptionsContext, useYjsDocumentSync, useCollaborationLivePatch, useFollowMode, useBroadcastFollower, scopeLayoutOptionsToActiveSlide, useToolbarVisibility, useKeyboardInsets, useModalDismissDrag, useCollaborativeState, useViewerOptionsContext, useVirtualizedSlides, useSwipeNavigation, useSheetDismissDrag, detectTargetType, parseEmailUrl, parseSlideFromUrl, ACTION_VERB_MAP } from './chunk-
|
|
3
|
-
import { MIN_ELEMENT_SIZE, DEFAULT_STROKE_COLOR, getConnectorPathGeometry, buildLineShadowCss, buildLineGlowFilter, renderConnectorMarker, getShapeVisualStyle, getTextStyleForElement, DEFAULT_TEXT_COLOR, renderVectorShape, isConnectorOrLineElement, build3DExtrusionData, getImageRenderStyle, cn, getTextLayoutStyle, renderTableElement, renderMediaElement, shouldRenderFallbackLabel, SHAPE_PRESETS, ANIMATION_PRESET_OPTIONS, DEFAULT_FILL_COLOR, hasDagDuotoneEffect, renderDagDuotoneSvgFilter, getCropShapeClipPath, getImageTilingStyle, getDuotoneColors, getTextWarpStyle, renderTextSegments, buildReactChartViewModel, renderChartElement, buildTextBody3DSceneStyle, SLIDE_NAV_THUMBNAIL_WIDTH, DEFAULT_TEXT_FONT_SIZE, DEFAULT_FONT_FAMILY, TOOLBAR_SECTIONS, DEFAULT_SECTION_GROUP_ID, SHORTCUT_REFERENCE_ITEMS as SHORTCUT_REFERENCE_ITEMS$1, HYPERLINK_COLOR, GRID_SIZE, CONNECTOR_ARROW_OPTIONS, ARROW_SIZE_OPTIONS, startMotionPathPreview, startPreviewAnimation, stopPreviewAnimation, THEME_COLOR_SWATCHES, STROKE_DASH_OPTIONS } from './chunk-
|
|
1
|
+
import { computeFocusTargets, aiChangeAnimationCss, changeGhostStyle, createChatHistoryStore, toRenderableParts } from './chunk-QOLYY7E3.mjs';
|
|
2
|
+
import { useViewerOptions, useReducedMotion, useViewerState, useIsMobile, useResizablePanels, useDerivedSlideState, useZoomViewport, useEditorHistory, usePresentationSetup, useTouchGestures, useViewerDialogs, useEditorOperations, useViewerIntegration, useLayoutSwitching, ViewerOptionsContext, useYjsDocumentSync, useCollaborationLivePatch, useFollowMode, useBroadcastFollower, scopeLayoutOptionsToActiveSlide, useToolbarVisibility, useKeyboardInsets, useModalDismissDrag, useCollaborativeState, useViewerOptionsContext, useVirtualizedSlides, useSwipeNavigation, useSheetDismissDrag, detectTargetType, parseEmailUrl, parseSlideFromUrl, ACTION_VERB_MAP } from './chunk-A2UAUSJM.mjs';
|
|
3
|
+
import { MIN_ELEMENT_SIZE, DEFAULT_STROKE_COLOR, getConnectorPathGeometry, buildLineShadowCss, buildLineGlowFilter, renderConnectorMarker, getShapeVisualStyle, getTextStyleForElement, DEFAULT_TEXT_COLOR, renderVectorShape, isConnectorOrLineElement, build3DExtrusionData, getImageRenderStyle, cn, getImageSurfaceStyle, getTextLayoutStyle, renderTableElement, renderMediaElement, shouldRenderFallbackLabel, SHAPE_PRESETS, ANIMATION_PRESET_OPTIONS, DEFAULT_FILL_COLOR, hasDagDuotoneEffect, renderDagDuotoneSvgFilter, getImageSurfaceMaskStyle, getCropShapeClipPath, getImageTilingStyle, getDuotoneColors, getTextWarpStyle, renderTextSegments, buildReactChartViewModel, renderChartElement, buildTextBody3DSceneStyle, SLIDE_NAV_THUMBNAIL_WIDTH, DEFAULT_TEXT_FONT_SIZE, DEFAULT_FONT_FAMILY, TOOLBAR_SECTIONS, DEFAULT_SECTION_GROUP_ID, SHORTCUT_REFERENCE_ITEMS as SHORTCUT_REFERENCE_ITEMS$1, HYPERLINK_COLOR, GRID_SIZE, CONNECTOR_ARROW_OPTIONS, ARROW_SIZE_OPTIONS, startMotionPathPreview, startPreviewAnimation, stopPreviewAnimation, THEME_COLOR_SWATCHES, STROKE_DASH_OPTIONS } from './chunk-BPWSJLLG.mjs';
|
|
4
|
+
import { hasShapeProperties, normalizeHexColor, colorWithOpacity, normalizeStrokeDashType, getSvgStrokeDasharray, getCompoundLineOffsets, getCompoundLineWidths, svgLineCap, hasTextProperties, getElementTransform, getAriaRoleDescription, getAriaLabel, getAriaRole, resolveElementInteractivity, isEditableTextElement, isElementRendered, isElementActionable, getImageEffectsOpacity, getImageEffectsFilter, inlineElementPointerEvents, isHollowShapeElement, LINK_TOOLTIP_HOST_CLASS, ACTION_BUTTON_PRESETS, mediaTransportVisible, isInkElement, getGroupChildParentFill, getElementLabel, SWITCHABLE_LAYOUT_TYPES, compileEquationTemplateMathMl, buildUserFontFaceStyles, readStoredViewerPrefs, resolveThemeCatalogEntry, THEME_CATALOG, writeStoredViewerPrefs, openPptxFile, readBackstageRecentFile, resolveAutosaveActivation, viewerOptionsToPreferences, applyPreferenceToOptions, listAutosaveSnapshots, deleteAutosaveSnapshot, resolveExpiredAutosaveSnapshots, resolveHistoryDepth, applyAutoCorrect, resolveImageResolutionScale, resolveAutosaveIntervalMs, resolveAutosaveIntervalSeconds, shouldShowAutosaveRecoveryPrompt, resolveOptionRootClasses, resolve3DRenderingFlags, paintedStrokeWidth, buildCssGradientFromShapeStyle, ensureActionAffordanceStyles, resolveElementActionAffordance, actionAffordanceLabels, getComputedEffectStyle, getSoftEdgeSvgFilter, buildStrokeOutline, buildHollowHitOutline, buildSubpathFillOverlay, isImageLikeElement, getComputedFillStyle, strokeOutlineViewBox, revealedSmartArtNodeCount, buildSmartArtA11y, computeSmartArtElementLayout, flattenNodes, buildSummaryZoomView, isImageTiled, getImageColorWashStyle, placeCaretAtEnd, getPendingSelectionRestore, restoreSegmentSelection, getTextCompensationTransform, resolveChartKind, ensureChartInteractionStyles, applyChartPartHighlight, applyChartBuildReveal, formatAxisValue, hasPressureVariation, getInkReplayStyles, INK_REPLAY_KEYFRAMES, resolveInkColor, resolveInkWidth, resolveInkOpacity, pressuresToWidths, getContentPartReplayStyles, resolveOleType, getOleAriaLabel, getOleTypeColor, getOleTypeLabel, filterRenderedElements, resolveGroupChildFill, isLinkedTextBox, getOverflowSegments, shouldUseSvgWarp, getTextBodyRotationTransform, isWedgeCalloutPresetShape, RULER_THICKNESS, RULER_FONT_SIZE, buildPreviewElements, deriveSlideFieldContext, SLIDE_TRANSITION_OPTIONS, hiddenSlideCue, HIDDEN_SLIDE_SLASH_GRADIENT, HIDDEN_SLIDE_LABEL_KEY, themeToCssVars, shouldClearAutosaveCacheOnClose, applyMotionPathPreset, resetSlideLayoutPath, DEFAULT_INSERT_CHART_KIND, hasCopyableFormat, templateSchemeFromTheme, createBackstagePresentation, playFeedbackSound, shouldDiscardAutosaveOnSuccessfulSave, setMasterViewBackgroundColor, printPropertiesFrameSlides, printPropertiesSlidesPerPage, VIEWER_OPTIONS_TABS, DEFAULT_QUICK_ACCESS_COMMAND_IDS, buildJoinCollaborationConfig, buildCreateCollaborationConfig, generateBroadcastRoomId, DEFAULT_BROADCAST_SERVER_URL, buildBroadcastViewerUrl, resolveTransportForServerUrl, ACTION_INDICATOR_CLASS, ACTION_INDICATOR_ICON_PATH, LINK_TOOLTIP_CLASS, LINK_TOOLTIP_PANEL_CLASS, LINK_TOOLTIP_LABEL_CLASS, LINK_TOOLTIP_HINT_CLASS, DEFAULT_PALETTE2, resolvePalette, computeDrawingViewBox, projectDrawingShapes, styleShadowFilter, resolveDrawingShapeNodeId, buildChromeStyle, getImageSvgFilters, buildDuotoneCacheKey, getDuotoneCachedResult, applyDuotone, setDuotoneCachedResult, buildCacheKey, DEFAULT_COLOR_CHANGE_TOLERANCE, getCachedResult, applyColorChange, setCachedResult, findChartPartTarget, advanceChartValueDrag, beginChartValueDrag, buildSurfaceChart3DDataForElement, buildBarChart3DDataForElement, buildLineChart3DDataForElement, buildAreaChart3DDataForElement, buildPieChart3DDataForElement, withChartTitle, buildSmartArt3DModel, extractPathPoints, generatePressureCircles, generateNibMarks, isBrowserOpenableMime, formatBytes, getOleDisplayName, getOleBadgeLabel, openUrlInNewTab, getSubstituteFontFamily, getWarpPath, getSlideBackgroundStyle, filterCommands, resolveTitleBarStatusKey, TITLE_BAR_CLASSES, TITLE_BAR_DEFAULT_FILE_KEY, resolveScreenTip, masterViewBackgroundColor, buildFieldSubstitutionContext, shouldConfirmExternalHyperlink, safeOpenUrl, resolvePresentationAction, isPpactionUrl, parsePpactionUrl, isPresentationAdvanceClick, toggleBlackboard, PRESENT_TOOLBAR_CLASSES, buildContextMenuEntries, themeColorSchemesEqual, EXPANDED_MAX_HEIGHT, STATUS_BAR_CLASSES, buildBarActions, formatVersionTimestamp, formatRelativeTime, scanAvailableFontFamilies, PRESETS, CATEGORIES, convertOmmlToLatex, compileLatexEquation, convertLatexToOmml, EQUATION_TEMPLATES, clampPercent2, resolveDefaultPrintSettings, HANDOUT_OPTIONS, TOOLBAR_TABS, SHORTCUT_REFERENCE_ITEMS, resolveViewerAddinRows, availableQuickAccessCommands, addQuickAccessCommand, removeQuickAccessCommand, moveQuickAccessCommand, CUSTOM_FONT_ACCEPT, activateModalFocus, buildCollaborationShareUrl, buildActiveSessionUsers, SORTER_MIN_ZOOM, SORTER_ZOOM_STEP, SORTER_MAX_ZOOM, canGoPrevious, formatSlideCounter, READING_VIEW_COUNTER_ATTR, canGoNext, READING_VIEW_ATTR, OUTLINE_LEVEL_ATTR, OUTLINE_SLIDE_ATTR, OUTLINE_ROW_ATTR, OUTLINE_VIEW_ATTR, mobileElapsedSince, nextPresentedSlide, presenterPrevDisabled, presenterNextDisabled, formatMobileElapsed, mobileSlideCounter, presenterPaneAdvancesOnClick, presenterTimerProgress, PRESENTER_CONSOLE_CLASSES, formatElapsed, centeredSvgTextLines, computeInlineEditorRect, findSmartArtNodeText, setSmartArtNodeStyle, rebuildDrawingShapesIfCleared, shouldCommitSmartArtNodeText, updateSmartArtNodeText, groupIntoParagraphs, substituteFieldText, extraQuickAccessCommands, TAB_ROW_ACTION_CLASSES, listBackstageRecentFiles, BACKSTAGE_NAV, INSERT_CHART_TYPES, CHARACTER_SPACING_OPTIONS, RIBBON_SHAPE_SWATCHES, shapeFillChange, shapeOutlineChange, readRibbonTransitionDraft, ribbonTransitionUpdates, readSoundFileAsDataUrl, applyTransitionSoundFile, playSlideTransitionPreview, RIBBON_TRANSITION_PRESETS, transitionSoundOptions, transitionSoundSelectedValue, DEFAULT_MOTION_PATH_PRESET_ID, SLIDE_SHOW_OPTIONS, slideShowOptionChange, readSlideShowOption, SLIDE_VIRTUALIZATION_THRESHOLD, PRESENTATION_HIT_TEST_CSS, PRESENTATION_STAGE_ATTRIBUTE, getSlideTransitionAnimations, MORPH_CROSSFADE_GROUP_STYLE, MORPH_CROSSFADE_HALF_STYLE, SLIDE_TRANSITION_KEYFRAMES, annotationOverlayZIndex, presentationInkPath, resolveNotesSchematicBodyFontSizePx, motionPathFor, setMotionPath, getShapeAdjustmentHandleDescriptors, PRESENTER_NAVIGATOR_LABEL_KEYS, PEN_COLORS, HIGHLIGHTER_COLORS, isBlackboardActive, slideSizeToCanvasPx, resolveSelectionPaneRename, PRESET_THEMES, resolveNotesSegments, segmentsToEditorHtml, DEBOUNCE_MS, createPlainNotesSegments, parseSegmentsFromRichEditor, segmentsToPlainText, getCurrentParagraphIndex, segmentsToParagraphs, paragraphsToSegments, MAX_INDENT_LEVEL, INDENT_PX, isUrlSafe, buildNotesPrintHtml, toggleSheet, sanitizeMathMl, computeHandoutLayout, getPrintableArea, generateNoteLineCount, computeAllNotesPages, getNotesPrintableArea, downloadBlob, clampOptionNumber, QUICK_ACCESS_COMMAND_CATALOG, registerCustomFont, openReadingView, applyReadingViewCommand, createPresentationKeyBuffer, readingViewFitScale, READING_VIEW_STAGE_ATTR, buildOutline, applyOutlineEdit, mapOutlineKey, notesSegmentsToSpans, erasePresentationInkAt, movePresenterPointer, appendPresentationInkPoint, PRESENTER_CONSOLE_CONTROLS, NOTES_FONT_SIZE_DEFAULT, formatTime, NOTES_FONT_SIZE_MIN, clampNotesFontSize, NOTES_FONT_SIZE_STEP, NOTES_FONT_SIZE_MAX, BACKSTAGE_TEMPLATES, formatBackstageDate, formatBackstageSize, backstageCardsFor, DEFAULT_VIEWER_PROFILE, resolveProfileInitial, AVATAR_COLOR_SWATCHES, resolveDefaultFontFamily, buildFontCatalog, TRANSITION_SOUND_OTHER_VALUE, TRANSITION_SOUND_NONE_VALUE, clearTransitionSound, ENTRANCE_PRESET_VALUES, EMPHASIS_PRESET_VALUES, EXIT_PRESET_VALUES, MOTION_PATH_FAMILIES, motionPathFamilyLabelKey, motionPathPresetsByFamily, motionPathPresetLabelKey, masterViewPseudoSlide, authorConnectorBetweenSites, findEraserHitElementId, generateTicks, rulerDragToGuidePosition, getElementTransformWithoutRotation, buildCommentMarkers, COMMENT_MARKER_SIZE, collectConnectorSiteCandidates, getConnectorEndpointHandles, findConnectorSiteNear, motionPathToSvgD, motionPathEndPixel, isEditableMotionPath, setMotionPathEnd, themeColorLabel, buildThemeColorGrid, THEME_COLOR_SCHEME_KEYS, COMMON_FONTS, buildSmartArtPresetData, handleReadingViewKey, getLocalStorageUsageSummary, saveViewerProfile, clearAllLocalViewerData, isCurrentLayout, SLIDE_TEMPLATES, computeAnchoredPopupPosition, CONNECTOR_SITE_SNAP_PX, resolveConnectorEndpointUpdate, withConnectorEndpointUpdate, getShapeConnectionSites, isElementLocked, mergeSlideTransition, mapSlideSorterKey, isEditorTextInputTarget, clampSorterZoom, buildLayoutPreviewGeometry, buildSlideTemplateContent, elementLockTogglePatch, buildTableDataGrid, appendTableElementRow, removeLastTableElementRow, appendTableElementColumn, removeLastTableElementColumn, removeTableElementColumn, removeTableElementRow, setTableElementCellText, TABLE_STYLE_PRESETS, applyTableStylePreset, evenColumnWidths, redistributeColumnWidth, evenRowHeights, patchChartData, setChartCategoryLabel, setChartCellValue, addChartCategory, removeChartCategory, addChartSeries, removeChartSeries, setChartAxisLogScale, setChartAxisTitleStyle, setChartAxisGridlineStyle, setChartSeriesMarker, setChartSeriesChartType, setChartDataPointFill, setChartDataPointExplosion, setChartDataPointMarker, setChartDataPointLabel, describeSmartArtBounds, canAddTopLevelNode, classifyExtraConnections, siblingIndex, siblingCount, canRemoveTopLevelNode, buildOleObjectNamePatch, getOleObjectTypeLabel, sanitizeGradientStops, pptxActionToElementAction, withFrameSlides, withSlidesPerPage, applyThemeOverrideToSlide, COLOR_MAP_ALIAS_KEYS, DEFAULT_COLOR_MAP, schemaLabel, THEME_COLOR_SLOT_LABEL_KEYS, resolveSlideSizeSelection, SLIDE_SIZE_PRESETS, TRANSITION_VALID_DIRECTIONS, TRANSITION_ORIENTATION_TYPES, clampTransitionNumber, TRANSITION_SPEED_OPTIONS, TRANSITION_MORPH_OPTIONS, flattenTagCollections, resolveTemplateBackgroundRows, formatCommentTimestamp, buildAnimationTimelineRows, clearMotionPath, getEffectSoundState, setEffectSound, setAfterAnimation, setAfterAnimationColor, DIRECTIONAL_PRESETS, buildAnimationTimelineBars, motionPathPresetIdForPath, computeMergeCellRight, computeMergeCellDown, computeSplitCell, CHART_TYPE_OPTIONS, SMARTART_COLOR_SCHEME_LABEL_KEYS, SMARTART_STYLE_LABEL_KEYS, addSmartArtNodeAsChild, removeSmartArtNode, addSiblingAfter, removeEmptyNode, demote, promote, reorder, clampCropValue, DUOTONE_PRESETS, ARTISTIC_EFFECTS, resolveActionType, ELEMENT_ACTION_TYPE_OPTIONS, toSlideIndex, elementActionToPptxAction, canCommitActionType, slideSizeFromPreset, withSlideSizeOrientation, TRANSITION_DIR_ARROWS, buildDirectionGrid, updateTagInCollections, deleteTagFromCollections, addTagToCollections, commentTextSegments, COMMENT_MENTION_CLASS, COMMENT_MENTION_ATTRIBUTE, reorderAnimationTimelineRows, applyAnimationTimelineOrder, animationEffectLabel, LBL, SEL, FILL_MODE_OPTIONS, SECTION_HEADING, NUM, switchSmartArtLayout, SHAPE_QUICK_STYLES, quickStyleSwatchCss, getPatternSvg, TEXT_WARP_PRESETS, warpPreviewPath, text3dPtToEmu, text3dEmuToPt, MATERIAL_PRESETS, GRADIENT_TYPE_OPTIONS, PATTERN_OPTIONS, FILL_PATTERN_LABEL_KEYS, openNativeEyeDropper, toggleText3dExtrusion, BEVEL_PRESETS } from './chunk-XIHK52SB.mjs';
|
|
4
5
|
import { LOCALE_CATALOG, translationsEn } from './chunk-ARJE3V6V.mjs';
|
|
5
|
-
import { hasShapeProperties, normalizeHexColor, colorWithOpacity, normalizeStrokeDashType, getSvgStrokeDasharray, getCompoundLineOffsets, getCompoundLineWidths, svgLineCap, hasTextProperties, getElementTransform, getAriaRoleDescription, getAriaLabel, getAriaRole, resolveElementInteractivity, isEditableTextElement, isElementRendered, isElementActionable, getImageEffectsOpacity, getImageEffectsFilter, inlineElementPointerEvents, isHollowShapeElement, LINK_TOOLTIP_HOST_CLASS, ACTION_BUTTON_PRESETS, mediaTransportVisible, isInkElement, getGroupChildParentFill, getElementLabel, SWITCHABLE_LAYOUT_TYPES, compileEquationTemplateMathMl, buildUserFontFaceStyles, readStoredViewerPrefs, resolveThemeCatalogEntry, THEME_CATALOG, writeStoredViewerPrefs, openPptxFile, readBackstageRecentFile, resolveAutosaveActivation, viewerOptionsToPreferences, applyPreferenceToOptions, listAutosaveSnapshots, deleteAutosaveSnapshot, resolveExpiredAutosaveSnapshots, resolveHistoryDepth, applyAutoCorrect, resolveImageResolutionScale, resolveAutosaveIntervalMs, resolveAutosaveIntervalSeconds, shouldShowAutosaveRecoveryPrompt, resolveOptionRootClasses, resolve3DRenderingFlags, paintedStrokeWidth, buildCssGradientFromShapeStyle, ensureActionAffordanceStyles, resolveElementActionAffordance, actionAffordanceLabels, getComputedEffectStyle, getSoftEdgeSvgFilter, buildStrokeOutline, buildHollowHitOutline, buildSubpathFillOverlay, isImageLikeElement, getComputedFillStyle, strokeOutlineViewBox, revealedSmartArtNodeCount, buildSmartArtA11y, computeSmartArtElementLayout, flattenNodes, buildSummaryZoomView, isImageTiled, getImageColorWashStyle, placeCaretAtEnd, getPendingSelectionRestore, restoreSegmentSelection, getTextCompensationTransform, resolveChartKind, ensureChartInteractionStyles, applyChartPartHighlight, applyChartBuildReveal, formatAxisValue, hasPressureVariation, getInkReplayStyles, INK_REPLAY_KEYFRAMES, resolveInkColor, resolveInkWidth, resolveInkOpacity, pressuresToWidths, getContentPartReplayStyles, resolveOleType, getOleAriaLabel, getOleTypeColor, getOleTypeLabel, filterRenderedElements, resolveGroupChildFill, isLinkedTextBox, getOverflowSegments, shouldUseSvgWarp, getTextBodyRotationTransform, RULER_THICKNESS, RULER_FONT_SIZE, buildPreviewElements, deriveSlideFieldContext, SLIDE_TRANSITION_OPTIONS, hiddenSlideCue, HIDDEN_SLIDE_SLASH_GRADIENT, HIDDEN_SLIDE_LABEL_KEY, themeToCssVars, shouldClearAutosaveCacheOnClose, applyMotionPathPreset, resetSlideLayoutPath, DEFAULT_INSERT_CHART_KIND, hasCopyableFormat, templateSchemeFromTheme, createBackstagePresentation, playFeedbackSound, shouldDiscardAutosaveOnSuccessfulSave, setMasterViewBackgroundColor, printPropertiesFrameSlides, printPropertiesSlidesPerPage, VIEWER_OPTIONS_TABS, DEFAULT_QUICK_ACCESS_COMMAND_IDS, buildJoinCollaborationConfig, buildCreateCollaborationConfig, generateBroadcastRoomId, DEFAULT_BROADCAST_SERVER_URL, buildBroadcastViewerUrl, resolveTransportForServerUrl, ACTION_INDICATOR_CLASS, ACTION_INDICATOR_ICON_PATH, LINK_TOOLTIP_CLASS, LINK_TOOLTIP_PANEL_CLASS, LINK_TOOLTIP_LABEL_CLASS, LINK_TOOLTIP_HINT_CLASS, DEFAULT_PALETTE2, resolvePalette, computeDrawingViewBox, projectDrawingShapes, styleShadowFilter, resolveDrawingShapeNodeId, buildChromeStyle, getImageSvgFilters, buildDuotoneCacheKey, getDuotoneCachedResult, applyDuotone, setDuotoneCachedResult, buildCacheKey, DEFAULT_COLOR_CHANGE_TOLERANCE, getCachedResult, applyColorChange, setCachedResult, findChartPartTarget, advanceChartValueDrag, beginChartValueDrag, buildSurfaceChart3DDataForElement, buildBarChart3DDataForElement, buildLineChart3DDataForElement, buildAreaChart3DDataForElement, buildPieChart3DDataForElement, withChartTitle, buildSmartArt3DModel, extractPathPoints, generatePressureCircles, generateNibMarks, isBrowserOpenableMime, formatBytes, getOleDisplayName, getOleBadgeLabel, openUrlInNewTab, getSubstituteFontFamily, getWarpPath, getSlideBackgroundStyle, filterCommands, resolveTitleBarStatusKey, TITLE_BAR_CLASSES, TITLE_BAR_DEFAULT_FILE_KEY, resolveScreenTip, masterViewBackgroundColor, buildFieldSubstitutionContext, shouldConfirmExternalHyperlink, safeOpenUrl, resolvePresentationAction, isPpactionUrl, parsePpactionUrl, isPresentationAdvanceClick, toggleBlackboard, PRESENT_TOOLBAR_CLASSES, buildContextMenuEntries, themeColorSchemesEqual, EXPANDED_MAX_HEIGHT, STATUS_BAR_CLASSES, buildBarActions, formatVersionTimestamp, formatRelativeTime, scanAvailableFontFamilies, PRESETS, CATEGORIES, convertOmmlToLatex, compileLatexEquation, convertLatexToOmml, EQUATION_TEMPLATES, clampPercent, resolveDefaultPrintSettings, HANDOUT_OPTIONS, TOOLBAR_TABS, SHORTCUT_REFERENCE_ITEMS, resolveViewerAddinRows, availableQuickAccessCommands, addQuickAccessCommand, removeQuickAccessCommand, moveQuickAccessCommand, CUSTOM_FONT_ACCEPT, activateModalFocus, buildCollaborationShareUrl, buildActiveSessionUsers, SORTER_MIN_ZOOM, SORTER_ZOOM_STEP, SORTER_MAX_ZOOM, canGoPrevious, formatSlideCounter, READING_VIEW_COUNTER_ATTR, canGoNext, READING_VIEW_ATTR, OUTLINE_LEVEL_ATTR, OUTLINE_SLIDE_ATTR, OUTLINE_ROW_ATTR, OUTLINE_VIEW_ATTR, mobileElapsedSince, nextPresentedSlide, presenterPrevDisabled, presenterNextDisabled, formatMobileElapsed, mobileSlideCounter, presenterPaneAdvancesOnClick, presenterTimerProgress, PRESENTER_CONSOLE_CLASSES, formatElapsed, centeredSvgTextLines, computeInlineEditorRect, findSmartArtNodeText, setSmartArtNodeStyle, rebuildDrawingShapesIfCleared, shouldCommitSmartArtNodeText, updateSmartArtNodeText, groupIntoParagraphs, substituteFieldText, extraQuickAccessCommands, TAB_ROW_ACTION_CLASSES, listBackstageRecentFiles, BACKSTAGE_NAV, INSERT_CHART_TYPES, CHARACTER_SPACING_OPTIONS, RIBBON_SHAPE_SWATCHES, shapeFillChange, shapeOutlineChange, readRibbonTransitionDraft, ribbonTransitionUpdates, readSoundFileAsDataUrl, applyTransitionSoundFile, playSlideTransitionPreview, RIBBON_TRANSITION_PRESETS, transitionSoundOptions, transitionSoundSelectedValue, DEFAULT_MOTION_PATH_PRESET_ID, SLIDE_SHOW_OPTIONS, slideShowOptionChange, readSlideShowOption, SLIDE_VIRTUALIZATION_THRESHOLD, PRESENTATION_HIT_TEST_CSS, PRESENTATION_STAGE_ATTRIBUTE, getSlideTransitionAnimations, MORPH_CROSSFADE_GROUP_STYLE, MORPH_CROSSFADE_HALF_STYLE, SLIDE_TRANSITION_KEYFRAMES, annotationOverlayZIndex, presentationInkPath, resolveNotesSchematicBodyFontSizePx, motionPathFor, setMotionPath, getShapeAdjustmentHandleDescriptors, PRESENTER_NAVIGATOR_LABEL_KEYS, PEN_COLORS, HIGHLIGHTER_COLORS, isBlackboardActive, slideSizeToCanvasPx, resolveSelectionPaneRename, PRESET_THEMES, resolveNotesSegments, segmentsToEditorHtml, DEBOUNCE_MS, createPlainNotesSegments, parseSegmentsFromRichEditor, segmentsToPlainText, getCurrentParagraphIndex, segmentsToParagraphs, paragraphsToSegments, MAX_INDENT_LEVEL, INDENT_PX, isUrlSafe, buildNotesPrintHtml, toggleSheet, sanitizeMathMl, computeHandoutLayout, getPrintableArea, generateNoteLineCount, computeAllNotesPages, getNotesPrintableArea, downloadBlob, clampOptionNumber, QUICK_ACCESS_COMMAND_CATALOG, registerCustomFont, openReadingView, applyReadingViewCommand, createPresentationKeyBuffer, readingViewFitScale, READING_VIEW_STAGE_ATTR, buildOutline, applyOutlineEdit, mapOutlineKey, notesSegmentsToSpans, erasePresentationInkAt, movePresenterPointer, appendPresentationInkPoint, PRESENTER_CONSOLE_CONTROLS, NOTES_FONT_SIZE_DEFAULT, formatTime, NOTES_FONT_SIZE_MIN, clampNotesFontSize, NOTES_FONT_SIZE_STEP, NOTES_FONT_SIZE_MAX, BACKSTAGE_TEMPLATES, formatBackstageDate, formatBackstageSize, backstageCardsFor, DEFAULT_VIEWER_PROFILE, resolveProfileInitial, AVATAR_COLOR_SWATCHES, resolveDefaultFontFamily, buildFontCatalog, TRANSITION_SOUND_OTHER_VALUE, TRANSITION_SOUND_NONE_VALUE, clearTransitionSound, ENTRANCE_PRESET_VALUES, EMPHASIS_PRESET_VALUES, EXIT_PRESET_VALUES, MOTION_PATH_FAMILIES, motionPathFamilyLabelKey, motionPathPresetsByFamily, motionPathPresetLabelKey, masterViewPseudoSlide, authorConnectorBetweenSites, findEraserHitElementId, generateTicks, rulerDragToGuidePosition, getElementTransformWithoutRotation, buildCommentMarkers, COMMENT_MARKER_SIZE, collectConnectorSiteCandidates, getConnectorEndpointHandles, findConnectorSiteNear, motionPathToSvgD, motionPathEndPixel, isEditableMotionPath, setMotionPathEnd, themeColorLabel, buildThemeColorGrid, THEME_COLOR_SCHEME_KEYS, COMMON_FONTS, buildSmartArtPresetData, handleReadingViewKey, getLocalStorageUsageSummary, saveViewerProfile, clearAllLocalViewerData, isCurrentLayout, SLIDE_TEMPLATES, computeAnchoredPopupPosition, CONNECTOR_SITE_SNAP_PX, resolveConnectorEndpointUpdate, withConnectorEndpointUpdate, getShapeConnectionSites, isElementLocked, mergeSlideTransition, mapSlideSorterKey, isEditorTextInputTarget, clampSorterZoom, buildLayoutPreviewGeometry, buildSlideTemplateContent, elementLockTogglePatch, buildTableDataGrid, appendTableElementRow, removeLastTableElementRow, appendTableElementColumn, removeLastTableElementColumn, removeTableElementColumn, removeTableElementRow, setTableElementCellText, TABLE_STYLE_PRESETS, applyTableStylePreset, evenColumnWidths, redistributeColumnWidth, evenRowHeights, patchChartData, setChartCategoryLabel, setChartCellValue, addChartCategory, removeChartCategory, addChartSeries, removeChartSeries, setChartAxisLogScale, setChartAxisTitleStyle, setChartAxisGridlineStyle, setChartSeriesMarker, setChartSeriesChartType, setChartDataPointFill, setChartDataPointExplosion, setChartDataPointMarker, setChartDataPointLabel, describeSmartArtBounds, canAddTopLevelNode, classifyExtraConnections, siblingIndex, siblingCount, canRemoveTopLevelNode, buildOleObjectNamePatch, getOleObjectTypeLabel, sanitizeGradientStops, pptxActionToElementAction, withFrameSlides, withSlidesPerPage, applyThemeOverrideToSlide, COLOR_MAP_ALIAS_KEYS, DEFAULT_COLOR_MAP, schemaLabel, THEME_COLOR_SLOT_LABEL_KEYS, resolveSlideSizeSelection, SLIDE_SIZE_PRESETS, TRANSITION_VALID_DIRECTIONS, TRANSITION_ORIENTATION_TYPES, clampTransitionNumber, TRANSITION_SPEED_OPTIONS, TRANSITION_MORPH_OPTIONS, flattenTagCollections, resolveTemplateBackgroundRows, formatCommentTimestamp, buildAnimationTimelineRows, clearMotionPath, getEffectSoundState, setEffectSound, setAfterAnimation, setAfterAnimationColor, DIRECTIONAL_PRESETS, buildAnimationTimelineBars, motionPathPresetIdForPath, computeMergeCellRight, computeMergeCellDown, computeSplitCell, CHART_TYPE_OPTIONS, SMARTART_COLOR_SCHEME_LABEL_KEYS, SMARTART_STYLE_LABEL_KEYS, addSmartArtNodeAsChild, removeSmartArtNode, addSiblingAfter, removeEmptyNode, demote, promote, reorder, clampCropValue, DUOTONE_PRESETS, ARTISTIC_EFFECTS, resolveActionType, ELEMENT_ACTION_TYPE_OPTIONS, toSlideIndex, elementActionToPptxAction, canCommitActionType, slideSizeFromPreset, withSlideSizeOrientation, TRANSITION_DIR_ARROWS, buildDirectionGrid, updateTagInCollections, deleteTagFromCollections, addTagToCollections, commentTextSegments, COMMENT_MENTION_CLASS, COMMENT_MENTION_ATTRIBUTE, reorderAnimationTimelineRows, applyAnimationTimelineOrder, animationEffectLabel, LBL, SEL, FILL_MODE_OPTIONS, SECTION_HEADING, NUM, switchSmartArtLayout, SHAPE_QUICK_STYLES, quickStyleSwatchCss, getPatternSvg, TEXT_WARP_PRESETS, warpPreviewPath, text3dPtToEmu, text3dEmuToPt, MATERIAL_PRESETS, GRADIENT_TYPE_OPTIONS, PATTERN_OPTIONS, FILL_PATTERN_LABEL_KEYS, openNativeEyeDropper, toggleText3dExtrusion, BEVEL_PRESETS } from './chunk-SRAXNEJX.mjs';
|
|
6
6
|
import React19, { createContext, useMemo, useState, useCallback, lazy, forwardRef, useEffect, useRef, Suspense, useLayoutEffect, useContext, Fragment as Fragment$1, useDeferredValue } from 'react';
|
|
7
7
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
8
8
|
import { useTranslation } from 'react-i18next';
|
|
@@ -514,7 +514,7 @@ function FailedToLoad() {
|
|
|
514
514
|
var LazyArea3DChartScene = React19.lazy(
|
|
515
515
|
async () => {
|
|
516
516
|
try {
|
|
517
|
-
return await import('./Area3DChartScene-
|
|
517
|
+
return await import('./Area3DChartScene-7PHPDOTG.mjs');
|
|
518
518
|
} catch {
|
|
519
519
|
return { default: FailedToLoad };
|
|
520
520
|
}
|
|
@@ -570,7 +570,7 @@ function FailedToLoad2() {
|
|
|
570
570
|
var LazyBar3DChartScene = React19.lazy(
|
|
571
571
|
async () => {
|
|
572
572
|
try {
|
|
573
|
-
return await import('./Bar3DChartScene-
|
|
573
|
+
return await import('./Bar3DChartScene-BLPUHYRZ.mjs');
|
|
574
574
|
} catch {
|
|
575
575
|
return { default: FailedToLoad2 };
|
|
576
576
|
}
|
|
@@ -626,7 +626,7 @@ function FailedToLoad3() {
|
|
|
626
626
|
var LazyLine3DChartScene = React19.lazy(
|
|
627
627
|
async () => {
|
|
628
628
|
try {
|
|
629
|
-
return await import('./Line3DChartScene-
|
|
629
|
+
return await import('./Line3DChartScene-L5B4YFG3.mjs');
|
|
630
630
|
} catch {
|
|
631
631
|
return { default: FailedToLoad3 };
|
|
632
632
|
}
|
|
@@ -682,7 +682,7 @@ function FailedToLoad4() {
|
|
|
682
682
|
var LazyPieChart3DScene = React19.lazy(
|
|
683
683
|
async () => {
|
|
684
684
|
try {
|
|
685
|
-
return await import('./PieChart3DScene-
|
|
685
|
+
return await import('./PieChart3DScene-XXAIVP4I.mjs');
|
|
686
686
|
} catch {
|
|
687
687
|
return { default: FailedToLoad4 };
|
|
688
688
|
}
|
|
@@ -738,7 +738,7 @@ function FailedToLoad5() {
|
|
|
738
738
|
var LazySurfaceChart3DScene = React19.lazy(
|
|
739
739
|
async () => {
|
|
740
740
|
try {
|
|
741
|
-
return await import('./SurfaceChart3DScene-
|
|
741
|
+
return await import('./SurfaceChart3DScene-CRUGJSCY.mjs');
|
|
742
742
|
} catch {
|
|
743
743
|
return { default: FailedToLoad5 };
|
|
744
744
|
}
|
|
@@ -1815,10 +1815,11 @@ function getContainerStyle({
|
|
|
1815
1815
|
templateEditing
|
|
1816
1816
|
}) {
|
|
1817
1817
|
const ss = hasShapeProperties(el) ? el.shapeStyle : void 0;
|
|
1818
|
+
const isPicture = el.type === "picture" || el.type === "image";
|
|
1818
1819
|
const blurGrowVisible = Boolean(
|
|
1819
1820
|
ss?.blurGrow && typeof ss.blurRadius === "number" && ss.blurRadius > 0
|
|
1820
1821
|
);
|
|
1821
|
-
const overflowValue = has3DExtrusion || blurGrowVisible ? "visible" : isImg ? "hidden" : void 0;
|
|
1822
|
+
const overflowValue = has3DExtrusion || blurGrowVisible || isPicture ? "visible" : isImg || el.type === "media" ? "hidden" : void 0;
|
|
1822
1823
|
return {
|
|
1823
1824
|
left: isFullscreenMedia ? 0 : el.x,
|
|
1824
1825
|
top: isFullscreenMedia ? 0 : el.y,
|
|
@@ -1827,7 +1828,7 @@ function getContainerStyle({
|
|
|
1827
1828
|
transform: isFullscreenMedia ? "none" : getElementTransform(el),
|
|
1828
1829
|
transformOrigin: "center",
|
|
1829
1830
|
overflow: overflowValue,
|
|
1830
|
-
clipPath: isImg && !has3DExtrusion ? getCropShapeClipPath(el) : void 0,
|
|
1831
|
+
clipPath: isPicture ? void 0 : isImg && !has3DExtrusion ? getCropShapeClipPath(el) : void 0,
|
|
1831
1832
|
zIndex: isFullscreenMedia ? 20 : zIndex,
|
|
1832
1833
|
visibility: animationState?.visible === false ? "hidden" : "visible",
|
|
1833
1834
|
animation: animationState?.cssAnimation,
|
|
@@ -1835,6 +1836,16 @@ function getContainerStyle({
|
|
|
1835
1836
|
transition: isFullscreenMedia ? "left 0.3s ease, top 0.3s ease, width 0.3s ease, height 0.3s ease" : void 0,
|
|
1836
1837
|
borderColor: isFullscreenMedia ? "transparent" : void 0,
|
|
1837
1838
|
...shapeVisualStyle,
|
|
1839
|
+
...isPicture ? {
|
|
1840
|
+
backgroundColor: "transparent",
|
|
1841
|
+
backgroundImage: void 0,
|
|
1842
|
+
backgroundRepeat: void 0,
|
|
1843
|
+
backgroundSize: void 0,
|
|
1844
|
+
backgroundPosition: void 0,
|
|
1845
|
+
borderRadius: void 0,
|
|
1846
|
+
clipPath: void 0,
|
|
1847
|
+
overflow: "visible"
|
|
1848
|
+
} : {},
|
|
1838
1849
|
// COMPOSE the effect alpha (`a:alphaModFix` on the effect DAG) with the
|
|
1839
1850
|
// element opacity instead of letting the spread clobber it. The other four
|
|
1840
1851
|
// bindings multiply the two; React spread the shape style over its own
|
|
@@ -1938,7 +1949,9 @@ function renderOutlinePaint(paint) {
|
|
|
1938
1949
|
return /* @__PURE__ */ jsx("linearGradient", { id: paint.id, x1: paint.x1, y1: paint.y1, x2: paint.x2, y2: paint.y2, children: stops });
|
|
1939
1950
|
}
|
|
1940
1951
|
function ShapeEffectOverlay({
|
|
1941
|
-
element
|
|
1952
|
+
element,
|
|
1953
|
+
animatesFill = false,
|
|
1954
|
+
animatesStroke = false
|
|
1942
1955
|
}) {
|
|
1943
1956
|
if (!hasShapeProperties(element)) {
|
|
1944
1957
|
return null;
|
|
@@ -1958,6 +1971,7 @@ function ShapeEffectOverlay({
|
|
|
1958
1971
|
const fillOverlayStyle = overlay ? {
|
|
1959
1972
|
position: "absolute",
|
|
1960
1973
|
inset: 0,
|
|
1974
|
+
...isImageLikeElement(element) ? getImageSurfaceMaskStyle(element) : {},
|
|
1961
1975
|
background: overlay.color,
|
|
1962
1976
|
mixBlendMode: overlay.blendMode,
|
|
1963
1977
|
pointerEvents: "none"
|
|
@@ -1970,8 +1984,21 @@ function ShapeEffectOverlay({
|
|
|
1970
1984
|
"aria-hidden": "true",
|
|
1971
1985
|
viewBox: `0 0 ${subpathFill.viewBoxWidth} ${subpathFill.viewBoxHeight}`,
|
|
1972
1986
|
preserveAspectRatio: "none",
|
|
1973
|
-
style: {
|
|
1974
|
-
|
|
1987
|
+
style: {
|
|
1988
|
+
position: "absolute",
|
|
1989
|
+
inset: 0,
|
|
1990
|
+
width: "100%",
|
|
1991
|
+
height: "100%"
|
|
1992
|
+
},
|
|
1993
|
+
children: subpathFill.paints.map((paint, idx) => /* @__PURE__ */ jsx(
|
|
1994
|
+
"path",
|
|
1995
|
+
{
|
|
1996
|
+
d: paint.d,
|
|
1997
|
+
fill: animatesFill ? "inherit" : paint.fill,
|
|
1998
|
+
stroke: "none"
|
|
1999
|
+
},
|
|
2000
|
+
idx
|
|
2001
|
+
))
|
|
1975
2002
|
}
|
|
1976
2003
|
) : null,
|
|
1977
2004
|
softEdge ? /* @__PURE__ */ jsx(
|
|
@@ -1980,7 +2007,12 @@ function ShapeEffectOverlay({
|
|
|
1980
2007
|
width: 0,
|
|
1981
2008
|
height: 0,
|
|
1982
2009
|
"aria-hidden": "true",
|
|
1983
|
-
style: {
|
|
2010
|
+
style: {
|
|
2011
|
+
position: "absolute",
|
|
2012
|
+
width: 0,
|
|
2013
|
+
height: 0,
|
|
2014
|
+
overflow: "hidden"
|
|
2015
|
+
},
|
|
1984
2016
|
children: /* @__PURE__ */ jsx("defs", { dangerouslySetInnerHTML: { __html: softEdge.filterMarkup } })
|
|
1985
2017
|
}
|
|
1986
2018
|
) : null,
|
|
@@ -2007,7 +2039,7 @@ function ShapeEffectOverlay({
|
|
|
2007
2039
|
{
|
|
2008
2040
|
d: strokeOutline.d,
|
|
2009
2041
|
fill: "none",
|
|
2010
|
-
stroke: strokeOutline.stroke,
|
|
2042
|
+
stroke: animatesStroke ? "inherit" : strokeOutline.stroke,
|
|
2011
2043
|
strokeWidth: strand.strokeWidth,
|
|
2012
2044
|
strokeDasharray: strokeOutline.dashArray,
|
|
2013
2045
|
strokeLinecap: strokeOutline.lineCap,
|
|
@@ -2052,12 +2084,23 @@ function ShapeEffectOverlay({
|
|
|
2052
2084
|
"aria-hidden": "true",
|
|
2053
2085
|
style: reflection,
|
|
2054
2086
|
children: reflectionImgSrc ? /* @__PURE__ */ jsx(
|
|
2055
|
-
"
|
|
2087
|
+
"div",
|
|
2056
2088
|
{
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2089
|
+
className: "pptx-react-reflection-picture-surface",
|
|
2090
|
+
style: getImageSurfaceStyle(element),
|
|
2091
|
+
children: /* @__PURE__ */ jsx(
|
|
2092
|
+
"img",
|
|
2093
|
+
{
|
|
2094
|
+
src: reflectionImgSrc,
|
|
2095
|
+
alt: "",
|
|
2096
|
+
draggable: false,
|
|
2097
|
+
style: {
|
|
2098
|
+
width: "100%",
|
|
2099
|
+
height: "100%",
|
|
2100
|
+
...getImageRenderStyle(element)
|
|
2101
|
+
}
|
|
2102
|
+
}
|
|
2103
|
+
)
|
|
2061
2104
|
}
|
|
2062
2105
|
) : reflectionFill ? /* @__PURE__ */ jsx(
|
|
2063
2106
|
"div",
|
|
@@ -2138,6 +2181,8 @@ var ElementRenderer = React19.memo(
|
|
|
2138
2181
|
const chartUpdateHandler = smartArtUpdateHandler;
|
|
2139
2182
|
const { hf, fc, sw, sc } = shapeParams(el);
|
|
2140
2183
|
const allow = resolveElementInteractivity(el);
|
|
2184
|
+
const backgroundAnimationState = presentationElementStates?.get(`${el.id}::pptx-bg`);
|
|
2185
|
+
const visualAnimationState = backgroundAnimationState ?? animationState;
|
|
2141
2186
|
const isTxt = isEditableTextElement(el) && allow.textEditable;
|
|
2142
2187
|
const txtSE = hasTextProperties(el) ? el.textStyle : void 0;
|
|
2143
2188
|
const ss = getShapeVisualStyle(
|
|
@@ -2146,20 +2191,20 @@ var ElementRenderer = React19.memo(
|
|
|
2146
2191
|
fc,
|
|
2147
2192
|
sw,
|
|
2148
2193
|
sc,
|
|
2149
|
-
|
|
2150
|
-
|
|
2194
|
+
visualAnimationState?.animatesFill,
|
|
2195
|
+
visualAnimationState?.animatesStroke
|
|
2151
2196
|
);
|
|
2152
2197
|
const ts = getTextStyleForElement(el, DEFAULT_TEXT_COLOR);
|
|
2198
|
+
const isImg = el.type === "picture" || el.type === "image";
|
|
2153
2199
|
const vs = renderVectorShape(
|
|
2154
2200
|
el,
|
|
2155
|
-
hf,
|
|
2201
|
+
isImg ? false : hf,
|
|
2156
2202
|
fc,
|
|
2157
2203
|
sw,
|
|
2158
2204
|
sc,
|
|
2159
|
-
|
|
2160
|
-
|
|
2205
|
+
visualAnimationState?.animatesFill,
|
|
2206
|
+
visualAnimationState?.animatesStroke
|
|
2161
2207
|
);
|
|
2162
|
-
const isImg = el.type === "picture" || el.type === "image";
|
|
2163
2208
|
const isModel3D = el.type === "model3d";
|
|
2164
2209
|
const isConn = isConnectorOrLineElement(el);
|
|
2165
2210
|
const shapeStyle3d = hasShapeProperties(el) ? el.shapeStyle : void 0;
|
|
@@ -2207,7 +2252,7 @@ var ElementRenderer = React19.memo(
|
|
|
2207
2252
|
});
|
|
2208
2253
|
const selB = isSelected ? `outline-1 -outline-offset-1 outline-${selClr} ring-2 ring-${selClr}/50` : showHoverBorder ? "outline-1 -outline-offset-1 outline-transparent hover:outline-primary/40" : "";
|
|
2209
2254
|
const cur = effectiveIsInlineEditing ? "cursor-text" : effectiveCanInteract ? !allow.movable ? "cursor-default" : "cursor-move" : hasAction || isZoom ? "cursor-pointer" : "";
|
|
2210
|
-
const isPresentationPassive =
|
|
2255
|
+
const isPresentationPassive = presenting === true;
|
|
2211
2256
|
const isFullscreenMedia = el.type === "media" && Boolean(el.fullScreen) && isPresentationPassive && isMediaPlaying;
|
|
2212
2257
|
const ariaRole = getAriaRole(el, { actionable: isActionable });
|
|
2213
2258
|
const ariaLabel = getAriaLabel(el);
|
|
@@ -2267,15 +2312,50 @@ var ElementRenderer = React19.memo(
|
|
|
2267
2312
|
zIndex,
|
|
2268
2313
|
opacity,
|
|
2269
2314
|
animationState,
|
|
2270
|
-
shapeVisualStyle: ss,
|
|
2315
|
+
shapeVisualStyle: backgroundAnimationState ? {} : ss,
|
|
2271
2316
|
has3DExtrusion: extrusionData.hasExtrusion,
|
|
2272
2317
|
templateEditing
|
|
2273
2318
|
}),
|
|
2274
2319
|
...interactionProps,
|
|
2275
2320
|
children: [
|
|
2276
2321
|
renderDagDuotoneFilterForElement(el),
|
|
2277
|
-
/* @__PURE__ */
|
|
2278
|
-
|
|
2322
|
+
backgroundAnimationState ? /* @__PURE__ */ jsxs(
|
|
2323
|
+
"div",
|
|
2324
|
+
{
|
|
2325
|
+
"data-pptx-animation-layer": "background",
|
|
2326
|
+
style: {
|
|
2327
|
+
...ss,
|
|
2328
|
+
position: "absolute",
|
|
2329
|
+
inset: 0,
|
|
2330
|
+
transformOrigin: "center",
|
|
2331
|
+
visibility: backgroundAnimationState.visible === false ? "hidden" : "visible",
|
|
2332
|
+
animation: backgroundAnimationState.cssAnimation,
|
|
2333
|
+
pointerEvents: "none"
|
|
2334
|
+
},
|
|
2335
|
+
children: [
|
|
2336
|
+
/* @__PURE__ */ jsx(
|
|
2337
|
+
ShapeEffectOverlay,
|
|
2338
|
+
{
|
|
2339
|
+
element: el,
|
|
2340
|
+
animatesFill: visualAnimationState?.animatesFill,
|
|
2341
|
+
animatesStroke: visualAnimationState?.animatesStroke
|
|
2342
|
+
}
|
|
2343
|
+
),
|
|
2344
|
+
extrusionData.hasExtrusion && /* @__PURE__ */ jsx(Extrusion3DOverlay, { data: extrusionData }),
|
|
2345
|
+
isImg ? null : vs
|
|
2346
|
+
]
|
|
2347
|
+
}
|
|
2348
|
+
) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
2349
|
+
/* @__PURE__ */ jsx(
|
|
2350
|
+
ShapeEffectOverlay,
|
|
2351
|
+
{
|
|
2352
|
+
element: el,
|
|
2353
|
+
animatesFill: visualAnimationState?.animatesFill,
|
|
2354
|
+
animatesStroke: visualAnimationState?.animatesStroke
|
|
2355
|
+
}
|
|
2356
|
+
),
|
|
2357
|
+
extrusionData.hasExtrusion && /* @__PURE__ */ jsx(Extrusion3DOverlay, { data: extrusionData })
|
|
2358
|
+
] }),
|
|
2279
2359
|
renderBody({
|
|
2280
2360
|
el,
|
|
2281
2361
|
isImg,
|
|
@@ -2284,7 +2364,7 @@ var ElementRenderer = React19.memo(
|
|
|
2284
2364
|
spellCheck: spellCheckEnabled,
|
|
2285
2365
|
txtSE,
|
|
2286
2366
|
txtS: ts,
|
|
2287
|
-
vecShape: vs,
|
|
2367
|
+
vecShape: backgroundAnimationState && !isImg ? null : vs,
|
|
2288
2368
|
imgStyle: getImageRenderStyle(el),
|
|
2289
2369
|
imgFilter: getImageEffectsFilter(el),
|
|
2290
2370
|
imgOpacity: getImageEffectsOpacity(el),
|
|
@@ -2439,10 +2519,10 @@ function renderGroup(children, parentGroupFill) {
|
|
|
2439
2519
|
backgroundSize: inheritedFill.backgroundSize,
|
|
2440
2520
|
backgroundPosition: inheritedFill.backgroundPosition
|
|
2441
2521
|
} : baseSs;
|
|
2442
|
-
const
|
|
2522
|
+
const isI = c.type === "picture" || c.type === "image";
|
|
2523
|
+
const vs = renderVectorShape(c, isI ? false : hf, fc, sw, sc);
|
|
2443
2524
|
const ts = getTextStyleForElement(c, DEFAULT_TEXT_COLOR);
|
|
2444
2525
|
const isTxt = isEditableTextElement(c);
|
|
2445
|
-
const isI = c.type === "picture" || c.type === "image";
|
|
2446
2526
|
return /* @__PURE__ */ jsxs(
|
|
2447
2527
|
"div",
|
|
2448
2528
|
{
|
|
@@ -2455,9 +2535,17 @@ function renderGroup(children, parentGroupFill) {
|
|
|
2455
2535
|
height: Math.max(c.height, MIN_ELEMENT_SIZE),
|
|
2456
2536
|
transform: getElementTransform(c),
|
|
2457
2537
|
transformOrigin: "center",
|
|
2458
|
-
overflow: isI ? "hidden" : void 0,
|
|
2459
|
-
clipPath: isI ? getCropShapeClipPath(c) : void 0,
|
|
2460
2538
|
...ss,
|
|
2539
|
+
...isI ? {
|
|
2540
|
+
backgroundColor: "transparent",
|
|
2541
|
+
backgroundImage: void 0,
|
|
2542
|
+
backgroundRepeat: void 0,
|
|
2543
|
+
backgroundSize: void 0,
|
|
2544
|
+
backgroundPosition: void 0,
|
|
2545
|
+
borderRadius: void 0,
|
|
2546
|
+
clipPath: void 0,
|
|
2547
|
+
overflow: "visible"
|
|
2548
|
+
} : {},
|
|
2461
2549
|
// Explicit z-index preserves document order stacking within the
|
|
2462
2550
|
// group: later children in the array (= later in p:grpSp XML)
|
|
2463
2551
|
// render on top, matching PowerPoint's painter's algorithm.
|
|
@@ -2470,22 +2558,25 @@ function renderGroup(children, parentGroupFill) {
|
|
|
2470
2558
|
// A nested group: recurse, chaining the inherited fill so a
|
|
2471
2559
|
// `grpFill` shape under a fill-less sub-group still paints.
|
|
2472
2560
|
renderGroup(c.children, getGroupChildParentFill(c, parentGroupFill))
|
|
2473
|
-
) : isI && ("svgData" in c && c.svgData || "imageData" in c && c.imageData) ?
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
|
|
2478
|
-
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
|
|
2482
|
-
|
|
2483
|
-
|
|
2484
|
-
|
|
2485
|
-
|
|
2486
|
-
|
|
2487
|
-
|
|
2488
|
-
|
|
2561
|
+
) : isI && ("svgData" in c && c.svgData || "imageData" in c && c.imageData) ? /* @__PURE__ */ jsxs("div", { className: "absolute inset-0 pointer-events-none", style: getImageSurfaceStyle(c), children: [
|
|
2562
|
+
isImageTiled(c) ? /* @__PURE__ */ jsx(
|
|
2563
|
+
"div",
|
|
2564
|
+
{
|
|
2565
|
+
className: "pointer-events-none select-none w-full h-full",
|
|
2566
|
+
style: getImageTilingStyle(c)
|
|
2567
|
+
}
|
|
2568
|
+
) : /* @__PURE__ */ jsx(
|
|
2569
|
+
"img",
|
|
2570
|
+
{
|
|
2571
|
+
src: "svgData" in c && c.svgData ? c.svgData : c.imageData,
|
|
2572
|
+
alt: translationsEn["pptx.ink.groupChildAlt"],
|
|
2573
|
+
className: "pointer-events-none select-none",
|
|
2574
|
+
style: getImageRenderStyle(c),
|
|
2575
|
+
draggable: false
|
|
2576
|
+
}
|
|
2577
|
+
),
|
|
2578
|
+
vs ? /* @__PURE__ */ jsx("div", { className: "pointer-events-none absolute inset-0", children: vs }) : null
|
|
2579
|
+
] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
2489
2580
|
vs,
|
|
2490
2581
|
isTxt ? /* @__PURE__ */ jsx(
|
|
2491
2582
|
"div",
|
|
@@ -2927,7 +3018,7 @@ function FailedToLoad6() {
|
|
|
2927
3018
|
var LazyModel3DScene = React19.lazy(
|
|
2928
3019
|
async () => {
|
|
2929
3020
|
try {
|
|
2930
|
-
return await import('./Model3DScene-
|
|
3021
|
+
return await import('./Model3DScene-6TNWS5LV.mjs');
|
|
2931
3022
|
} catch {
|
|
2932
3023
|
return { default: FailedToLoad6 };
|
|
2933
3024
|
}
|
|
@@ -3518,6 +3609,7 @@ function SmartArtNodeText({
|
|
|
3518
3609
|
fontSize,
|
|
3519
3610
|
fontWeight,
|
|
3520
3611
|
fontStyle,
|
|
3612
|
+
fontFamily,
|
|
3521
3613
|
className,
|
|
3522
3614
|
textAnchor = "middle",
|
|
3523
3615
|
anchor = "middle",
|
|
@@ -3534,6 +3626,7 @@ function SmartArtNodeText({
|
|
|
3534
3626
|
fontSize,
|
|
3535
3627
|
fontWeight,
|
|
3536
3628
|
fontStyle,
|
|
3629
|
+
fontFamily,
|
|
3537
3630
|
className,
|
|
3538
3631
|
children: positionedLines.map((line, i) => /* @__PURE__ */ jsx("tspan", { x, y: line.y, children: line.text }, i))
|
|
3539
3632
|
}
|
|
@@ -3564,6 +3657,7 @@ function SmartArtNodeText({
|
|
|
3564
3657
|
fontSize,
|
|
3565
3658
|
fontWeight,
|
|
3566
3659
|
fontStyle,
|
|
3660
|
+
fontFamily,
|
|
3567
3661
|
className,
|
|
3568
3662
|
children: lines.map((line, i) => /* @__PURE__ */ jsx("tspan", { x, y: startY + i * lineHeight, children: line }, i))
|
|
3569
3663
|
}
|
|
@@ -3618,15 +3712,15 @@ function shapeBody(shape) {
|
|
|
3618
3712
|
transform: shape.transform
|
|
3619
3713
|
}
|
|
3620
3714
|
);
|
|
3621
|
-
case "
|
|
3715
|
+
case "path":
|
|
3622
3716
|
return /* @__PURE__ */ jsx(
|
|
3623
|
-
"
|
|
3717
|
+
"path",
|
|
3624
3718
|
{
|
|
3625
|
-
|
|
3719
|
+
d: shape.pathData,
|
|
3626
3720
|
fill: shape.fill,
|
|
3627
3721
|
stroke: shape.stroke,
|
|
3628
3722
|
strokeWidth: shape.strokeWidth,
|
|
3629
|
-
transform: shape.
|
|
3723
|
+
transform: shape.pathTransform
|
|
3630
3724
|
}
|
|
3631
3725
|
);
|
|
3632
3726
|
default:
|
|
@@ -3680,6 +3774,9 @@ function DrawingShapeRenderer({
|
|
|
3680
3774
|
lines: shape.textLines,
|
|
3681
3775
|
fill: shape.fontColor,
|
|
3682
3776
|
fontSize: shape.fontSize,
|
|
3777
|
+
fontFamily: shape.fontFamily,
|
|
3778
|
+
fontWeight: shape.fontWeight,
|
|
3779
|
+
fontStyle: shape.fontStyle,
|
|
3683
3780
|
className: "pointer-events-none"
|
|
3684
3781
|
}
|
|
3685
3782
|
) : null
|
|
@@ -4644,7 +4741,10 @@ function renderBody(options) {
|
|
|
4644
4741
|
);
|
|
4645
4742
|
}
|
|
4646
4743
|
if (isImg) {
|
|
4647
|
-
return
|
|
4744
|
+
return /* @__PURE__ */ jsxs("div", { className: "absolute inset-0 pointer-events-none", style: getImageSurfaceStyle(el), children: [
|
|
4745
|
+
renderImg(el, imgStyle, imgFilter, imgAlt, imgOpacity),
|
|
4746
|
+
vecShape ? /* @__PURE__ */ jsx("div", { className: "pointer-events-none absolute inset-0", children: vecShape }) : null
|
|
4747
|
+
] });
|
|
4648
4748
|
}
|
|
4649
4749
|
if (isEditing) {
|
|
4650
4750
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
@@ -4703,7 +4803,7 @@ function renderBody(options) {
|
|
|
4703
4803
|
}
|
|
4704
4804
|
if (el.type === "media") {
|
|
4705
4805
|
return renderMediaElement(el, media, {
|
|
4706
|
-
autoPlay: isPresentationPassive,
|
|
4806
|
+
autoPlay: isPresentationPassive && el.autoPlay === true,
|
|
4707
4807
|
fullScreen: isPresentationPassive && Boolean(el.fullScreen),
|
|
4708
4808
|
isPresentationMode: isPresentationPassive,
|
|
4709
4809
|
// A still of a slide never carries a transport, whatever the canvas
|
|
@@ -4745,6 +4845,15 @@ function renderBody(options) {
|
|
|
4745
4845
|
var noop = () => {
|
|
4746
4846
|
};
|
|
4747
4847
|
var EMPTY_MEDIA_DATA_URLS = /* @__PURE__ */ new Map();
|
|
4848
|
+
function defaultTextColorForFill(fillColor) {
|
|
4849
|
+
const hex = String(fillColor ?? "").replace(/^#/u, "");
|
|
4850
|
+
if (!/^[0-9a-f]{6}$/iu.test(hex)) {
|
|
4851
|
+
return DEFAULT_TEXT_COLOR;
|
|
4852
|
+
}
|
|
4853
|
+
const channels = [0, 2, 4].map((offset) => Number.parseInt(hex.slice(offset, offset + 2), 16) / 255).map((channel) => channel <= 0.04045 ? channel / 12.92 : ((channel + 0.055) / 1.055) ** 2.4);
|
|
4854
|
+
const luminance = channels[0] * 0.2126 + channels[1] * 0.7152 + channels[2] * 0.0722;
|
|
4855
|
+
return luminance > 0.179 ? DEFAULT_TEXT_COLOR : "#ffffff";
|
|
4856
|
+
}
|
|
4748
4857
|
function StaticElementRendererImpl({
|
|
4749
4858
|
element,
|
|
4750
4859
|
activeSlide,
|
|
@@ -4782,9 +4891,12 @@ function StaticElementRendererImpl({
|
|
|
4782
4891
|
} : baseVisualStyle;
|
|
4783
4892
|
const textStyle = getTextStyleForElement(
|
|
4784
4893
|
element,
|
|
4785
|
-
element.type === "shape" && hasFill ?
|
|
4894
|
+
element.type === "shape" && hasFill ? defaultTextColorForFill(fill) : DEFAULT_TEXT_COLOR
|
|
4786
4895
|
);
|
|
4787
4896
|
const isImage = element.type === "picture" || element.type === "image";
|
|
4897
|
+
const letsTextOverflow = hasTextProperties(element) && element.textStyle?.autoFitMode === "shrink" && (element.type === "text" || element.locks?.txBox === true);
|
|
4898
|
+
const shapeType = hasShapeProperties(element) ? element.shapeType : void 0;
|
|
4899
|
+
const isCallout = isWedgeCalloutPresetShape(shapeType) || String(shapeType ?? "").toLowerCase().includes("callout");
|
|
4788
4900
|
const action = element.actionClick;
|
|
4789
4901
|
const isActionable = Boolean(action && onActionClick);
|
|
4790
4902
|
const contractRole = exposeElementId ? getAriaRole(element, { actionable: isElementActionable(element) }) : isActionable ? "button" : void 0;
|
|
@@ -4795,7 +4907,7 @@ function StaticElementRendererImpl({
|
|
|
4795
4907
|
"data-element-id": exposeElementId ? element.id : void 0,
|
|
4796
4908
|
"data-pptx-element": exposeElementId ? "true" : void 0,
|
|
4797
4909
|
"data-pptx-action": isActionable ? "click" : void 0,
|
|
4798
|
-
className: `${positioned ? "absolute" : "relative"} ${isConnectorOrLineElement(element) ? "" : "overflow-hidden"} ${isActionable ? "pointer-events-auto cursor-pointer" : "pointer-events-none"}`,
|
|
4910
|
+
className: `${positioned ? "absolute" : "relative"} ${isImage || element.type === "group" || isConnectorOrLineElement(element) || isCallout || letsTextOverflow ? "" : "overflow-hidden"} ${isActionable ? "pointer-events-auto cursor-pointer" : "pointer-events-none"}`,
|
|
4799
4911
|
role: contractRole,
|
|
4800
4912
|
"aria-label": exposeElementId ? getAriaLabel(element) : void 0,
|
|
4801
4913
|
"aria-roledescription": exposeElementId ? getAriaRoleDescription(element) : void 0,
|
|
@@ -4826,6 +4938,16 @@ function StaticElementRendererImpl({
|
|
|
4826
4938
|
transformOrigin: "center",
|
|
4827
4939
|
zIndex,
|
|
4828
4940
|
...visualStyle,
|
|
4941
|
+
...isImage ? {
|
|
4942
|
+
backgroundColor: "transparent",
|
|
4943
|
+
backgroundImage: void 0,
|
|
4944
|
+
backgroundRepeat: void 0,
|
|
4945
|
+
backgroundSize: void 0,
|
|
4946
|
+
backgroundPosition: void 0,
|
|
4947
|
+
borderRadius: void 0,
|
|
4948
|
+
clipPath: void 0,
|
|
4949
|
+
overflow: "visible"
|
|
4950
|
+
} : {},
|
|
4829
4951
|
animation
|
|
4830
4952
|
},
|
|
4831
4953
|
children: [
|
|
@@ -4855,7 +4977,13 @@ function StaticElementRendererImpl({
|
|
|
4855
4977
|
spellCheck: false,
|
|
4856
4978
|
txtSE: hasTextProperties(element) ? element.textStyle : void 0,
|
|
4857
4979
|
txtS: textStyle,
|
|
4858
|
-
vecShape: renderVectorShape(
|
|
4980
|
+
vecShape: renderVectorShape(
|
|
4981
|
+
element,
|
|
4982
|
+
isImage ? false : hasFill,
|
|
4983
|
+
fill,
|
|
4984
|
+
strokeWidth,
|
|
4985
|
+
stroke
|
|
4986
|
+
),
|
|
4859
4987
|
imgStyle: imageAnimation ? { ...getImageRenderStyle(element), animation: imageAnimation } : getImageRenderStyle(element),
|
|
4860
4988
|
imgFilter: getImageEffectsFilter(element),
|
|
4861
4989
|
imgOpacity: getImageEffectsOpacity(element),
|
|
@@ -6157,7 +6285,7 @@ function AccountPage() {
|
|
|
6157
6285
|
return void 0;
|
|
6158
6286
|
});
|
|
6159
6287
|
};
|
|
6160
|
-
const version = "3.1.
|
|
6288
|
+
const version = "3.1.3" ;
|
|
6161
6289
|
return /* @__PURE__ */ jsxs("div", { className: "mt-8 max-w-[700px] space-y-6", children: [
|
|
6162
6290
|
/* @__PURE__ */ jsxs("section", { className: cardClass, children: [
|
|
6163
6291
|
/* @__PURE__ */ jsxs("h2", { className: "flex items-center gap-2 text-sm font-semibold", children: [
|
|
@@ -10640,7 +10768,7 @@ function getReactSlideBackgroundStyle(slide) {
|
|
|
10640
10768
|
const style = getSlideBackgroundStyle(slide);
|
|
10641
10769
|
return {
|
|
10642
10770
|
backgroundColor: style["background-color"],
|
|
10643
|
-
backgroundImage: style["background-image"],
|
|
10771
|
+
backgroundImage: slide?.backgroundImage ? void 0 : style["background-image"],
|
|
10644
10772
|
backgroundSize: style["background-size"],
|
|
10645
10773
|
backgroundRepeat: style["background-repeat"]
|
|
10646
10774
|
};
|
|
@@ -12100,6 +12228,48 @@ function ActiveXControlOverlay({
|
|
|
12100
12228
|
);
|
|
12101
12229
|
}) });
|
|
12102
12230
|
}
|
|
12231
|
+
function SlideBackgroundImageLayer({
|
|
12232
|
+
slide
|
|
12233
|
+
}) {
|
|
12234
|
+
if (!slide?.backgroundImage) {
|
|
12235
|
+
return null;
|
|
12236
|
+
}
|
|
12237
|
+
const properties = slide.backgroundImageProperties ?? {};
|
|
12238
|
+
const originalEffects = properties.imageEffects;
|
|
12239
|
+
const renderEffects = originalEffects ? { ...originalEffects } : void 0;
|
|
12240
|
+
if (renderEffects) {
|
|
12241
|
+
delete renderEffects.alphaModFix;
|
|
12242
|
+
delete renderEffects.alphaModFixRawXml;
|
|
12243
|
+
}
|
|
12244
|
+
const idPart = String(slide.id || "slide").replace(/[^A-Za-z0-9_-]/gu, "-");
|
|
12245
|
+
const backgroundElement = {
|
|
12246
|
+
id: `slide-background-${idPart}`,
|
|
12247
|
+
type: "picture",
|
|
12248
|
+
x: 0,
|
|
12249
|
+
y: 0,
|
|
12250
|
+
width: 1,
|
|
12251
|
+
height: 1,
|
|
12252
|
+
...properties,
|
|
12253
|
+
imageData: slide.backgroundImage,
|
|
12254
|
+
imageEffects: renderEffects
|
|
12255
|
+
};
|
|
12256
|
+
const opacity = typeof originalEffects?.alphaModFix === "number" ? Math.max(0, Math.min(1, originalEffects.alphaModFix / 100)) : void 0;
|
|
12257
|
+
return /* @__PURE__ */ jsx(
|
|
12258
|
+
"div",
|
|
12259
|
+
{
|
|
12260
|
+
"aria-hidden": "true",
|
|
12261
|
+
className: "absolute inset-0 overflow-hidden pointer-events-none select-none",
|
|
12262
|
+
style: { zIndex: 0 },
|
|
12263
|
+
children: renderImg(
|
|
12264
|
+
backgroundElement,
|
|
12265
|
+
getImageRenderStyle(backgroundElement),
|
|
12266
|
+
getImageEffectsFilter(backgroundElement),
|
|
12267
|
+
"",
|
|
12268
|
+
opacity
|
|
12269
|
+
)
|
|
12270
|
+
}
|
|
12271
|
+
);
|
|
12272
|
+
}
|
|
12103
12273
|
var EMPTY_ADJUSTMENT_HANDLES = [];
|
|
12104
12274
|
function SlideCanvas({
|
|
12105
12275
|
activeSlide,
|
|
@@ -12328,6 +12498,7 @@ function SlideCanvas({
|
|
|
12328
12498
|
onPointerMove: handleStagePointerMove,
|
|
12329
12499
|
onPointerUp: handleStagePointerUp,
|
|
12330
12500
|
children: [
|
|
12501
|
+
/* @__PURE__ */ jsx(SlideBackgroundImageLayer, { slide: activeSlide }),
|
|
12331
12502
|
presentationKeyframesCss && /* @__PURE__ */ jsx("style", { children: presentationKeyframesCss }),
|
|
12332
12503
|
/* @__PURE__ */ jsx(GridOverlay, { canvasSize, gridSpacingPx, visible: showGrid }),
|
|
12333
12504
|
/* @__PURE__ */ jsx(
|
|
@@ -12660,7 +12831,7 @@ function ExportProgressModal({
|
|
|
12660
12831
|
if (!isOpen) {
|
|
12661
12832
|
return null;
|
|
12662
12833
|
}
|
|
12663
|
-
const clampedProgress =
|
|
12834
|
+
const clampedProgress = clampPercent2(progress);
|
|
12664
12835
|
return /* @__PURE__ */ jsx(
|
|
12665
12836
|
"div",
|
|
12666
12837
|
{
|
|
@@ -12963,6 +13134,7 @@ function SlideThumbnailImpl({
|
|
|
12963
13134
|
transformOrigin: "top left"
|
|
12964
13135
|
},
|
|
12965
13136
|
children: [
|
|
13137
|
+
/* @__PURE__ */ jsx(SlideBackgroundImageLayer, { slide }),
|
|
12966
13138
|
slide.transition && slide.transition.type !== "none" && slide.transition.type !== "cut" && /* @__PURE__ */ jsx(
|
|
12967
13139
|
"div",
|
|
12968
13140
|
{
|
|
@@ -30501,7 +30673,7 @@ function SlideLayer({ slide, templateElements, canvasSize }) {
|
|
|
30501
30673
|
const safeWidth = Math.max(canvasSize.width, 1);
|
|
30502
30674
|
const safeHeight = Math.max(canvasSize.height, 1);
|
|
30503
30675
|
const elements = [...templateElements, ...slide.elements];
|
|
30504
|
-
return /* @__PURE__ */
|
|
30676
|
+
return /* @__PURE__ */ jsxs(
|
|
30505
30677
|
"div",
|
|
30506
30678
|
{
|
|
30507
30679
|
className: "relative overflow-hidden",
|
|
@@ -30513,16 +30685,19 @@ function SlideLayer({ slide, templateElements, canvasSize }) {
|
|
|
30513
30685
|
backgroundSize: slide.backgroundImage ? "cover" : void 0,
|
|
30514
30686
|
backgroundPosition: slide.backgroundImage ? "center" : void 0
|
|
30515
30687
|
},
|
|
30516
|
-
children:
|
|
30517
|
-
|
|
30518
|
-
|
|
30519
|
-
|
|
30520
|
-
|
|
30521
|
-
|
|
30522
|
-
|
|
30523
|
-
|
|
30524
|
-
|
|
30525
|
-
|
|
30688
|
+
children: [
|
|
30689
|
+
/* @__PURE__ */ jsx(SlideBackgroundImageLayer, { slide }),
|
|
30690
|
+
elements.map((element, index) => /* @__PURE__ */ jsx(
|
|
30691
|
+
StaticElementRenderer,
|
|
30692
|
+
{
|
|
30693
|
+
element,
|
|
30694
|
+
activeSlide: slide,
|
|
30695
|
+
allSlides: [slide],
|
|
30696
|
+
zIndex: index
|
|
30697
|
+
},
|
|
30698
|
+
element.id
|
|
30699
|
+
))
|
|
30700
|
+
]
|
|
30526
30701
|
}
|
|
30527
30702
|
);
|
|
30528
30703
|
}
|
|
@@ -34591,6 +34766,7 @@ function PresentationStage({
|
|
|
34591
34766
|
...getReactSlideBackgroundStyle(activeSlide)
|
|
34592
34767
|
},
|
|
34593
34768
|
children: [
|
|
34769
|
+
/* @__PURE__ */ jsx(SlideBackgroundImageLayer, { slide: activeSlide }),
|
|
34594
34770
|
/* @__PURE__ */ jsx("style", { children: PRESENTATION_HIT_TEST_CSS }),
|
|
34595
34771
|
presentationKeyframesCss && /* @__PURE__ */ jsx("style", { children: presentationKeyframesCss }),
|
|
34596
34772
|
templateElements.map((element, index) => /* @__PURE__ */ jsx(
|
|
@@ -35220,7 +35396,7 @@ ${url}`)) {
|
|
|
35220
35396
|
var AiChatPanel = lazy(async () => {
|
|
35221
35397
|
const [{ useChat }, { default: Panel }] = await Promise.all([
|
|
35222
35398
|
import('@ai-sdk/react'),
|
|
35223
|
-
import('./AiChatPanel-
|
|
35399
|
+
import('./AiChatPanel-ITCVRVKP.mjs')
|
|
35224
35400
|
]);
|
|
35225
35401
|
function BoundAiChatPanel(props) {
|
|
35226
35402
|
return /* @__PURE__ */ jsx(Panel, { ...props, useChat });
|