pptx-react-viewer 3.16.0 → 3.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 +22 -0
- package/dist/{AiChatPanel-WSH2K7T4.js → AiChatPanel-BUKJCMUY.js} +24 -24
- package/dist/AiChatPanel-BUKJCMUY.js.br +0 -0
- package/dist/AiChatPanel-BUKJCMUY.js.gz +0 -0
- package/dist/{AiChatPanel-FAAO6JYZ.mjs → AiChatPanel-US56QZBD.mjs} +3 -3
- package/dist/AiChatPanel-US56QZBD.mjs.br +0 -0
- package/dist/AiChatPanel-US56QZBD.mjs.gz +0 -0
- package/dist/{Area3DChartScene-LGLVVQEB.mjs → Area3DChartScene-6E4QEVTU.mjs} +1 -1
- package/dist/Area3DChartScene-6E4QEVTU.mjs.br +0 -0
- package/dist/Area3DChartScene-6E4QEVTU.mjs.gz +0 -0
- package/dist/{Area3DChartScene-PTKML4PN.js → Area3DChartScene-APGQOK5A.js} +2 -2
- package/dist/Area3DChartScene-APGQOK5A.js.br +0 -0
- package/dist/Area3DChartScene-APGQOK5A.js.gz +0 -0
- package/dist/{Bar3DChartScene-HCP7MA3A.mjs → Bar3DChartScene-5GRGZFE4.mjs} +1 -1
- package/dist/Bar3DChartScene-5GRGZFE4.mjs.br +0 -0
- package/dist/Bar3DChartScene-5GRGZFE4.mjs.gz +0 -0
- package/dist/{Bar3DChartScene-UXC4LE44.js → Bar3DChartScene-F4B5TNJR.js} +2 -2
- package/dist/Bar3DChartScene-F4B5TNJR.js.br +0 -0
- package/dist/Bar3DChartScene-F4B5TNJR.js.gz +0 -0
- package/dist/{Line3DChartScene-JF54KXMH.mjs → Line3DChartScene-2VRLE5RI.mjs} +1 -1
- package/dist/Line3DChartScene-2VRLE5RI.mjs.br +0 -0
- package/dist/Line3DChartScene-2VRLE5RI.mjs.gz +0 -0
- package/dist/{Line3DChartScene-Z2EVGX4C.js → Line3DChartScene-6FUMMX2T.js} +2 -2
- package/dist/Line3DChartScene-6FUMMX2T.js.br +0 -0
- package/dist/Line3DChartScene-6FUMMX2T.js.gz +0 -0
- package/dist/{Model3DScene-ZBOF56VV.js → Model3DScene-2MGI3CB6.js} +2 -2
- package/dist/Model3DScene-2MGI3CB6.js.br +0 -0
- package/dist/Model3DScene-2MGI3CB6.js.gz +0 -0
- package/dist/{Model3DScene-YWQBX477.mjs → Model3DScene-TCIKWJ7R.mjs} +1 -1
- package/dist/Model3DScene-TCIKWJ7R.mjs.br +0 -0
- package/dist/Model3DScene-TCIKWJ7R.mjs.gz +0 -0
- package/dist/{PieChart3DScene-4TRQ4V3M.mjs → PieChart3DScene-O5NZKI4T.mjs} +1 -1
- package/dist/PieChart3DScene-O5NZKI4T.mjs.br +0 -0
- package/dist/PieChart3DScene-O5NZKI4T.mjs.gz +0 -0
- package/dist/{PieChart3DScene-JPQTAS34.js → PieChart3DScene-OFZEEZRO.js} +2 -2
- package/dist/PieChart3DScene-OFZEEZRO.js.br +0 -0
- package/dist/PieChart3DScene-OFZEEZRO.js.gz +0 -0
- package/dist/{SurfaceChart3DScene-P3LX35OP.js → SurfaceChart3DScene-EK7KFNUQ.js} +2 -2
- package/dist/SurfaceChart3DScene-EK7KFNUQ.js.br +0 -0
- package/dist/SurfaceChart3DScene-EK7KFNUQ.js.gz +0 -0
- package/dist/{SurfaceChart3DScene-N76RNCUY.mjs → SurfaceChart3DScene-WXPQGMT3.mjs} +1 -1
- package/dist/SurfaceChart3DScene-WXPQGMT3.mjs.br +0 -0
- package/dist/SurfaceChart3DScene-WXPQGMT3.mjs.gz +0 -0
- package/dist/{chunk-QVEPXTUB.mjs → chunk-2DZJJ3VO.mjs} +103 -78
- package/dist/chunk-2DZJJ3VO.mjs.br +0 -0
- package/dist/{chunk-QVEPXTUB.mjs.gz → chunk-2DZJJ3VO.mjs.gz} +0 -0
- package/dist/{chunk-W5W75MFP.js → chunk-2J64KPXY.js} +167 -167
- package/dist/chunk-2J64KPXY.js.br +0 -0
- package/dist/chunk-2J64KPXY.js.gz +0 -0
- package/dist/{chunk-BNR6YPW5.mjs → chunk-BDQBJ3AM.mjs} +2 -2
- package/dist/chunk-BDQBJ3AM.mjs.br +0 -0
- package/dist/chunk-BDQBJ3AM.mjs.gz +0 -0
- package/dist/{chunk-Y2UFUL7P.js → chunk-C553GQRH.js} +5 -5
- package/dist/chunk-C553GQRH.js.br +0 -0
- package/dist/chunk-C553GQRH.js.gz +0 -0
- package/dist/{chunk-WYGPSCMS.js → chunk-CPWFKDGB.js} +1292 -1292
- package/dist/chunk-CPWFKDGB.js.br +0 -0
- package/dist/chunk-CPWFKDGB.js.gz +0 -0
- package/dist/{chunk-6B7A5JNM.mjs → chunk-GQVOQPNT.mjs} +15 -15
- package/dist/chunk-GQVOQPNT.mjs.br +0 -0
- package/dist/chunk-GQVOQPNT.mjs.gz +0 -0
- package/dist/{chunk-L2MOKP3E.js → chunk-LDFWF2KT.js} +103 -77
- package/dist/chunk-LDFWF2KT.js.br +0 -0
- package/dist/{chunk-L2MOKP3E.js.gz → chunk-LDFWF2KT.js.gz} +0 -0
- package/dist/{chunk-TJ4L42RA.js → chunk-Q2EGTNCU.js} +450 -450
- package/dist/chunk-Q2EGTNCU.js.br +0 -0
- package/dist/chunk-Q2EGTNCU.js.gz +0 -0
- package/dist/{chunk-A6UVUZUX.mjs → chunk-UISMOSNU.mjs} +1 -1
- package/dist/chunk-UISMOSNU.mjs.br +0 -0
- package/dist/chunk-UISMOSNU.mjs.gz +0 -0
- package/dist/{chunk-ERCY52HH.mjs → chunk-VK3ASDDP.mjs} +1 -1
- package/dist/chunk-VK3ASDDP.mjs.br +0 -0
- package/dist/chunk-VK3ASDDP.mjs.gz +0 -0
- package/dist/index.js +45 -45
- 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.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 +2 -2
- package/dist/AiChatPanel-FAAO6JYZ.mjs.br +0 -0
- package/dist/AiChatPanel-FAAO6JYZ.mjs.gz +0 -0
- package/dist/AiChatPanel-WSH2K7T4.js.br +0 -0
- package/dist/AiChatPanel-WSH2K7T4.js.gz +0 -0
- package/dist/Area3DChartScene-LGLVVQEB.mjs.br +0 -0
- package/dist/Area3DChartScene-LGLVVQEB.mjs.gz +0 -0
- package/dist/Area3DChartScene-PTKML4PN.js.br +0 -0
- package/dist/Area3DChartScene-PTKML4PN.js.gz +0 -0
- package/dist/Bar3DChartScene-HCP7MA3A.mjs.br +0 -0
- package/dist/Bar3DChartScene-HCP7MA3A.mjs.gz +0 -0
- package/dist/Bar3DChartScene-UXC4LE44.js.br +0 -0
- package/dist/Bar3DChartScene-UXC4LE44.js.gz +0 -0
- package/dist/Line3DChartScene-JF54KXMH.mjs.br +0 -0
- package/dist/Line3DChartScene-JF54KXMH.mjs.gz +0 -0
- package/dist/Line3DChartScene-Z2EVGX4C.js.br +0 -0
- package/dist/Line3DChartScene-Z2EVGX4C.js.gz +0 -0
- package/dist/Model3DScene-YWQBX477.mjs.br +0 -0
- package/dist/Model3DScene-YWQBX477.mjs.gz +0 -0
- package/dist/Model3DScene-ZBOF56VV.js.br +0 -0
- package/dist/Model3DScene-ZBOF56VV.js.gz +0 -0
- package/dist/PieChart3DScene-4TRQ4V3M.mjs.br +0 -0
- package/dist/PieChart3DScene-4TRQ4V3M.mjs.gz +0 -0
- package/dist/PieChart3DScene-JPQTAS34.js.br +0 -0
- package/dist/PieChart3DScene-JPQTAS34.js.gz +0 -0
- package/dist/SurfaceChart3DScene-N76RNCUY.mjs.br +0 -0
- package/dist/SurfaceChart3DScene-N76RNCUY.mjs.gz +0 -0
- package/dist/SurfaceChart3DScene-P3LX35OP.js.br +0 -0
- package/dist/SurfaceChart3DScene-P3LX35OP.js.gz +0 -0
- package/dist/chunk-6B7A5JNM.mjs.br +0 -0
- package/dist/chunk-6B7A5JNM.mjs.gz +0 -0
- package/dist/chunk-A6UVUZUX.mjs.br +0 -0
- package/dist/chunk-A6UVUZUX.mjs.gz +0 -0
- package/dist/chunk-BNR6YPW5.mjs.br +0 -0
- package/dist/chunk-BNR6YPW5.mjs.gz +0 -0
- package/dist/chunk-ERCY52HH.mjs.br +0 -0
- package/dist/chunk-ERCY52HH.mjs.gz +0 -0
- package/dist/chunk-L2MOKP3E.js.br +0 -0
- package/dist/chunk-QVEPXTUB.mjs.br +0 -0
- package/dist/chunk-TJ4L42RA.js.br +0 -0
- package/dist/chunk-TJ4L42RA.js.gz +0 -0
- package/dist/chunk-W5W75MFP.js.br +0 -0
- package/dist/chunk-W5W75MFP.js.gz +0 -0
- package/dist/chunk-WYGPSCMS.js.br +0 -0
- package/dist/chunk-WYGPSCMS.js.gz +0 -0
- package/dist/chunk-Y2UFUL7P.js.br +0 -0
- package/dist/chunk-Y2UFUL7P.js.gz +0 -0
|
Binary file
|
|
Binary file
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { computeFocusTargets, deckDataFieldChanged, aiChangeAnimationCss, changeGhostStyle, createChatHistoryStore, collectStoredChats, exportAiChatLogs, applyElementUpdate } from './chunk-
|
|
2
|
-
import { useViewerOptions, useReadOnlyRecommendationState, useCompatibilityToastsState, useReducedMotion, useViewerState, useIsMobile, useResizablePanels, useDerivedSlideState, useZoomViewport, useEditorHistory, usePresentationSetup, useTouchGestures, useViewerDialogs, useEditorOperations, useViewerIntegration, useViewPreferencesSync, useLayoutSwitching, ViewerOptionsContext, useYjsDocumentSync, useCollaborationLivePatch, useFollowMode, useBroadcastFollower, safePrompt, scopeLayoutOptionsToActiveSlide, useToolbarVisibility, useKeyboardInsets, useModalDismissDrag, useCollaborativeState, getGlyphOutline, useViewerOptionsContext, useVirtualizedSlides, useSwipeNavigation, useSheetDismissDrag, detectTargetType, parseEmailUrl, parseSlideFromUrl, ACTION_VERB_MAP, syncSelectionHandleOverlay, playAnimationSound } from './chunk-
|
|
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, STROKE_DASH_OPTIONS } from './chunk-
|
|
4
|
-
import { hasShapeProperties, normalizeHexColor, colorWithOpacity, normalizeStrokeDashType, getSvgStrokeDasharray, getCompoundLineOffsets, getCompoundLineWidths, svgLineCap, hasTextProperties, connectorWrapperTransform, getAriaRoleDescription, getAriaLabel, getAriaRole, resolveElementInteractivity, isEditableTextElement, buildTextStyleOverrideCss, isElementRendered, resolveElementAriaAttributes, 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, buildThemeColorMap, viewerOptionsToPreferences, applyPreferenceToOptions, listAutosaveSnapshots, deleteAutosaveSnapshot, resolveExpiredAutosaveSnapshots, resolveHistoryDepth, applyAutoCorrect, resolveImageResolutionScale, resolveAutosaveIntervalMs, resolveAutosaveIntervalSeconds, shouldShowAutosaveRecoveryPrompt, resolveOptionRootClasses, resolve3DRenderingFlags, resolveSlideSizeSelection, buildDeckSaveOptions, paintedStrokeWidth, buildCssGradientFromShapeStyle, ensureActionAffordanceStyles, resolveElementActionAffordance, actionAffordanceLabels, resolveElementHighlightClick, applyHighlightClickStyle, getComputedEffectStyle, getSoftEdgeSvgFilter, getEffectStyleSource, getBevelLightingSvgFilter, buildStrokeOutline, buildHollowHitOutline, buildSubpathFillOverlay, isImageLikeElement, strokeOutlineViewBox, getElementTransform, resolveRevealedSmartArtNodes, resolveRevealedDrawingShapes, buildSmartArtA11y, canDrillDown, computeSmartArtElementLayout, flattenNodes, buildSummaryZoomView, isImageTiled, getImageColorWashStyle, readEditableText, placeCaretAtEnd, getPendingSelectionRestore, restoreSegmentSelection, getTextCompensationTransform, resolveChartKind, subscribeBarFacePicturePixelSamples, getBarFacePicturePixelSampleVersion, ensureChartInteractionStyles, applyChartPartHighlight, resolveRevealedChartData, formatAxisValue, buildInkGroupStrokes, getInkReplayStyles, INK_REPLAY_KEYFRAMES, buildContentPartStrokes, getContentPartReplayStyles, resolveOleType, getOleAriaLabel, getOleTypeColor, getOleTypeLabel, filterRenderedElements, resolveGroupChildFill, isLinkedTextBox, getOverflowSegments, shouldUseSvgWarp, getTextBodyRotationTransform, placeholderPromptDescriptor, RULER_THICKNESS, RULER_FONT_SIZE, buildPreviewElements, deriveSlideFieldContext, SLIDE_TRANSITION_OPTIONS, hiddenSlideCue, HIDDEN_SLIDE_SLASH_GRADIENT, HIDDEN_SLIDE_LABEL_KEY, visibleTemplateElements, themeToCssVars, shouldClearAutosaveCacheOnClose, masterViewCrudActions, applyMasterViewCrudAction, masterViewCrudFailureKey, applyMotionPathPreset, resetSlideLayoutPath, DEFAULT_INSERT_CHART_KIND, hasCopyableFormat, templateSchemeFromTheme, createBackstagePresentation, playFeedbackSound, shouldDiscardAutosaveOnSuccessfulSave, setMasterViewBackgroundColor, canUseClipboard, runProgramNoticeStackStyle, compatToastStackStyle, printPropertiesFrameSlides, printPropertiesSlidesPerPage, getDensePanelTouchTargetPx, shouldStickyActionRow, VIEWER_OPTIONS_TABS, DEFAULT_QUICK_ACCESS_COMMAND_IDS, isHeaderFooterDateTextVisible, isHeaderFooterHeaderTextVisible, isHeaderFooterFooterTextVisible, buildJoinCollaborationConfig, buildCreateCollaborationConfig, generateBroadcastRoomId, DEFAULT_BROADCAST_SERVER_URL, buildBroadcastViewerUrl, resolveTransportForServerUrl, elementIdSelector, 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, resolveRevealedDrawingShapeNodeIds, styleShadowFilter, buildChromeStyle, modelDataToBlobUrl, getImageSvgFilters, buildDuotoneCacheKey, getDuotoneCachedResult, applyDuotone, setDuotoneCachedResult, buildCacheKey, DEFAULT_COLOR_CHANGE_TOLERANCE, getCachedResult, applyColorChange, setCachedResult, getInlineEditorSelection, findChartPartTarget, buildSurfaceChart3DDataForElement, buildBarChart3DDataForElement, buildLineChart3DDataForElement, buildAreaChart3DDataForElement, buildPieChart3DDataForElement, withChartTitle, buildSmartArt3DModel, collectCoherent3DOffNodeIds, isBrowserOpenableMime, formatBytes, getOleDisplayName, getOleBadgeLabel, openUrlInNewTab, getSubstituteFontFamily, hasGlyphEnvelope, buildGlyphEnvelope, getWarpPath, isWedgeCalloutPresetShape, isElementActionable, getSlideBackgroundStyle, pushRecentColor, mruColorsPatch, 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, advanceChartMarkDrag, advanceChartValueDrag, buildChartMarkDragGeometry, beginChartMarkDrag, beginChartValueDrag, groupIntoParagraphs, substituteFieldText, extraQuickAccessCommands, TAB_ROW_ACTION_CLASSES, listBackstageRecentFiles, BACKSTAGE_NAV, COMMON_FONT_SIZES, textFontSizePtToPx, INSERT_CHART_TYPES, CHARACTER_SPACING_OPTIONS, OFFICE_COLOR_SWATCHES, shapeFillChange, shapeOutlineChange, readRibbonTransitionDraft, ribbonTransitionUpdates, 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, getFragmentedTransitionDescriptor, SLIDE_TRANSITION_KEYFRAMES, buildStrokePathD, cursorForTool, annotationOverlayZIndex, presentationInkPath, resolveNotesSchematicBodyFontSizePx, motionPathFor, setMotionPath, getShapeAdjustmentHandleDescriptors, shouldShowElementHandles, PRESENTER_NAVIGATOR_LABEL_KEYS, PEN_COLORS, HIGHLIGHTER_COLORS, isBlackboardActive, scaleSlidesForSizeChange, slideSizeToCanvasPx, resolveSelectionPaneRename, PRESET_THEMES, resolveNotesSegments, segmentsToEditorHtml, DEBOUNCE_MS, createPlainNotesSegments, parseSegmentsFromRichEditor, segmentsToPlainText, getCurrentParagraphIndex, segmentsToParagraphs, paragraphsToSegments, MAX_INDENT_LEVEL, INDENT_PX, isUrlSafe, buildNotesPrintHtml, MIN_TOUCH_TARGET_PX, toggleSheet, SMARTART_PREVIEW_ELEMENT_HEIGHT, SMARTART_PREVIEW_ELEMENT_WIDTH, buildSmartArtPreviewElement, 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, withChartPointValue, BACKSTAGE_TEMPLATES, formatBackstageDate, formatBackstageSize, backstageCardsFor, DEFAULT_VIEWER_PROFILE, resolveProfileInitial, AVATAR_COLOR_SWATCHES, resolveDefaultFontFamily, textFontSizePxToPt, buildFontCatalog, buildThemeColorSwatchGrid, themeColorSwatchRows, findSelectedThemeSwatch, themeSwatchCommit, RIBBON_SHAPE_SWATCHES, canGroupSelection, canUngroupSelection, canSetStrokeWidth, strokeWidthOf, readSoundFileAsDataUrl, applyTransitionSoundFile, TRANSITION_SOUND_OTHER_VALUE, TRANSITION_SOUND_NONE_VALUE, clearTransitionSound, applyTransitionStockSound, transitionStockSoundId, getEffectSoundAsset, ENTRANCE_PRESET_VALUES, EMPHASIS_PRESET_VALUES, EXIT_PRESET_VALUES, MOTION_PATH_FAMILIES, motionPathFamilyLabelKey, motionPathPresetsByFamily, motionPathPresetLabelKey, masterViewPseudoSlide, MORPH_CROSSFADE_GROUP_STYLE, MORPH_CROSSFADE_HALF_STYLE, authorConnectorBetweenSites, findEraserHitElementId, generateTicks, rulerDragToGuidePosition, getElementTransformWithoutRotation, getActiveXControlOverlayView, buildCommentMarkers, COMMENT_MARKER_SIZE, collectConnectorSiteCandidates, getConnectorEndpointHandles, findConnectorSiteNear, motionPathToSvgD, motionPathEndPixel, isEditableMotionPath, setMotionPathEnd, applyTableStyleDelete, applyTableStyleMapChange, themeColorLabel, buildThemeColorGrid, THEME_COLOR_SCHEME_KEYS, COMMON_FONTS, handleReadingViewKey, getLocalStorageUsageSummary, saveViewerProfile, clearAllLocalViewerData, isCurrentLayout, SLIDE_TEMPLATES, computeAnchoredPopupPosition, buildLiveInkStrokeView, CONNECTOR_SITE_SNAP_PX, resolveConnectorEndpointUpdate, withConnectorEndpointUpdate, getShapeConnectionSites, isElementLocked, mergeSlideTransition, mapSlideSorterKey, isEditorTextInputTarget, clampSorterZoom, buildLayoutPreviewGeometry, buildSlideTemplateContent, hasTiltData, elementLockTogglePatch, buildTableDataGrid, getDenseGridLayoutPlan, appendTableElementRow, removeLastTableElementRow, appendTableElementColumn, removeLastTableElementColumn, removeTableElementColumn, removeTableElementRow, setTableElementCellText, TABLE_STYLE_PRESETS, applyTableStylePreset, tableStyleAssignmentUpdate, evenColumnWidths, redistributeColumnWidth, evenRowHeights, patchChartData, collapseChartTitleRunsForEdit, chartGridlinesState, chartGridlinesPatch, seriesSecondaryAxisPatch, setChartCategoryLabel, setChartCellValue, addChartCategory, removeChartCategory, addChartSeries, removeChartSeries, hideChartSeries, restoreFilteredSeries, setDataLabelsRangeCache, setChartAxisLogScale, setChartAxisTitleStyle, setChartAxisGridlineStyle, setChartSeriesMarker, setChartSeriesChartType, setChartDataPointFill, setChartDataPointExplosion, setChartDataPointMarker, setChartDataPointLabel, describeSmartArtBounds, canAddTopLevelNode, classifyExtraConnections, siblingIndex, siblingCount, canRemoveTopLevelNode, canInteractWithElement, buildOleObjectNamePatch, getOleObjectTypeLabel, sanitizeGradientStops, shouldShowAccessibilitySection, pptxActionToElementAction, withFrameSlides, withSlidesPerPage, applyThemeOverrideToSlide, COLOR_MAP_ALIAS_KEYS, DEFAULT_COLOR_MAP, schemaLabel, THEME_COLOR_SLOT_LABEL_KEYS, SLIDE_SIZE_PRESETS, TRANSITION_VALID_DIRECTIONS, TRANSITION_ORIENTATION_TYPES, clampTransitionNumber, TRANSITION_SPEED_OPTIONS, TRANSITION_MORPH_OPTIONS, flattenTagCollections, resolveTemplateBackgroundRows, formatCommentTimestamp, commentMentionQuery, matchCommentMentionAuthors, buildAnimationTimelineRows, clearMotionPath, getEffectSoundState, setEffectSound, setEffectStockSound, setAfterAnimation, setAfterAnimationColor, DIRECTIONAL_PRESETS, buildAnimationTimelineBars, motionPathPresetIdForPath, EFFECT_SOUND_CATALOGUE, normalizeTableStyleGuid, describeTableStyleEditor, TABLE_STYLE_EDITOR_PARTS, computeMergeCellRight, computeMergeCellDown, computeSplitCell, resolveDisplayedChartType, CHART_TYPE_OPTIONS, BAR3D_SHAPE_OPTIONS, bar3DShapePatch, RADAR_STYLE_OPTIONS, radarStylePatch, SURFACE_WIREFRAME_OPTIONS, surfaceWireframePatch, isSeriesUsingSecondaryAxis, listChartUserShapeRows, withChartUserShapeAdded, createDefaultChartUserShape, withChartUserShapeRowRemoved, withChartUserShapeRowTextUpdated, SMARTART_COLOR_SCHEME_LABEL_KEYS, SMARTART_STYLE_LABEL_KEYS, addSmartArtNodeAsChild, removeSmartArtNode, addSiblingAfter, removeEmptyNode, demote, promote, reorder, clampCropValue, DUOTONE_PRESETS, ARTISTIC_EFFECTS, mediaTrimEndSeconds, trimmedMediaDurationMs, mediaTrimEndAbsoluteMs, mediaTrimEndMsFromAbsoluteMs, buildOleEditDialogDescriptor, buildOleContentUpdatePatch, applyOleSheetCellEdit, getOleSheetGrid, applyOleDocumentParagraphEdit, getOleDocumentParagraphs, applyOleNestedDeckElementTextEdit, getOleNestedDeckDetail, replaceOleFile, getNonVisualDescriptionFields, resolveActionType, ELEMENT_ACTION_TYPE_OPTIONS, elementActionToPptxAction, canCommitActionType, slideSizeFromPreset, withSlideSizeOrientation, TRANSITION_DIR_ARROWS, buildDirectionGrid, updateTagInCollections, deleteTagFromCollections, addTagToCollections, commentTextSegments, COMMENT_MENTION_CLASS, COMMENT_MENTION_ATTRIBUTE, insertCommentMention, reorderAnimationTimelineRows, applyAnimationTimelineOrder, animationEffectLabel, TABLE_STYLE_BORDER_SIDES, applyTableStyleFieldEdit, createTableStyleEntry, addTableStyleToMap, deleteTableStyleFromMap, LBL, SEL, FILL_MODE_OPTIONS, SECTION_HEADING, NUM, getChartUserShapeGroupTransform, withChartUserShapeGroupChildAdded, createDefaultChartUserShapeGroupChild, withChartUserShapeRowUpdated, getChartUserShapeRowChartBox, withChartUserShapeRowFlipUpdated, withChartUserShapeRowRotationUpdated, withChartUserShapeRowChartBoxUpdated, switchSmartArtLayout, mediaTrimEndMsFromSeconds, validateMediaTrimRange, SHAPE_QUICK_STYLES, quickStyleSwatchCss, PATTERN_PRESET_OPTIONS, getPatternSvg, COMPOUND_LINE_OPTIONS, LINE_JOIN_OPTIONS, LINE_CAP_OPTIONS, TEXT_WARP_PRESETS, warpPreviewPath, text3dPtToEmu, text3dEmuToPt, MATERIAL_PRESETS, toSlideIndex, TABLE_STYLE_BORDER_SIDE_LABEL_KEYS, TABLE_STYLE_DASH_PRESETS, GRADIENT_TYPE_OPTIONS, PATTERN_OPTIONS, FILL_PATTERN_LABEL_KEYS, openNativeEyeDropper, toggleText3dExtrusion, BEVEL_PRESETS } from './chunk-QVEPXTUB.mjs';
|
|
1
|
+
import { computeFocusTargets, deckDataFieldChanged, aiChangeAnimationCss, changeGhostStyle, createChatHistoryStore, collectStoredChats, exportAiChatLogs, applyElementUpdate } from './chunk-UISMOSNU.mjs';
|
|
2
|
+
import { useViewerOptions, useReadOnlyRecommendationState, useCompatibilityToastsState, useReducedMotion, useViewerState, useIsMobile, useResizablePanels, useDerivedSlideState, useZoomViewport, useEditorHistory, usePresentationSetup, useTouchGestures, useViewerDialogs, useEditorOperations, useViewerIntegration, useViewPreferencesSync, useLayoutSwitching, ViewerOptionsContext, useYjsDocumentSync, useCollaborationLivePatch, useFollowMode, useBroadcastFollower, safePrompt, scopeLayoutOptionsToActiveSlide, useToolbarVisibility, useKeyboardInsets, useModalDismissDrag, useCollaborativeState, getGlyphOutline, useViewerOptionsContext, useVirtualizedSlides, useSwipeNavigation, useSheetDismissDrag, detectTargetType, parseEmailUrl, parseSlideFromUrl, ACTION_VERB_MAP, syncSelectionHandleOverlay, playAnimationSound } from './chunk-BDQBJ3AM.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, STROKE_DASH_OPTIONS } from './chunk-VK3ASDDP.mjs';
|
|
4
|
+
import { hasShapeProperties, normalizeHexColor, colorWithOpacity, normalizeStrokeDashType, getSvgStrokeDasharray, getCompoundLineOffsets, getCompoundLineWidths, svgLineCap, hasTextProperties, connectorWrapperTransform, getAriaRoleDescription, getAriaLabel, getAriaRole, resolveElementInteractivity, isEditableTextElement, buildTextStyleOverrideCss, isElementRendered, resolveElementAriaAttributes, 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, buildThemeColorMap, viewerOptionsToPreferences, applyPreferenceToOptions, listAutosaveSnapshots, deleteAutosaveSnapshot, resolveExpiredAutosaveSnapshots, resolveHistoryDepth, applyAutoCorrect, resolveImageResolutionScale, resolveAutosaveIntervalMs, resolveAutosaveIntervalSeconds, shouldShowAutosaveRecoveryPrompt, resolveOptionRootClasses, resolve3DRenderingFlags, resolveSlideSizeSelection, buildDeckSaveOptions, paintedStrokeWidth, buildCssGradientFromShapeStyle, ensureActionAffordanceStyles, resolveElementActionAffordance, actionAffordanceLabels, resolveElementHighlightClick, applyHighlightClickStyle, getComputedEffectStyle, getSoftEdgeSvgFilter, getEffectStyleSource, getBevelLightingSvgFilter, buildStrokeOutline, buildHollowHitOutline, buildSubpathFillOverlay, isImageLikeElement, strokeOutlineViewBox, getElementTransform, resolveRevealedSmartArtNodes, resolveRevealedDrawingShapes, buildSmartArtA11y, canDrillDown, computeSmartArtElementLayout, flattenNodes, buildSummaryZoomView, isImageTiled, getImageColorWashStyle, readEditableText, placeCaretAtEnd, getPendingSelectionRestore, restoreSegmentSelection, getTextCompensationTransform, resolveChartKind, subscribeBarFacePicturePixelSamples, getBarFacePicturePixelSampleVersion, ensureChartInteractionStyles, applyChartPartHighlight, resolveRevealedChartData, formatAxisValue, buildInkGroupStrokes, getInkReplayStyles, INK_REPLAY_KEYFRAMES, buildContentPartStrokes, getContentPartReplayStyles, resolveOleType, getOleAriaLabel, getOleTypeColor, getOleTypeLabel, filterRenderedElements, resolveGroupChildFill, isLinkedTextBox, getOverflowSegments, shouldUseSvgWarp, getTextBodyRotationTransform, placeholderPromptDescriptor, RULER_THICKNESS, RULER_FONT_SIZE, buildPreviewElements, deriveSlideFieldContext, SLIDE_TRANSITION_OPTIONS, hiddenSlideCue, HIDDEN_SLIDE_SLASH_GRADIENT, HIDDEN_SLIDE_LABEL_KEY, visibleTemplateElements, themeToCssVars, shouldClearAutosaveCacheOnClose, masterViewCrudActions, applyMasterViewCrudAction, masterViewCrudFailureKey, applyMotionPathPreset, resetSlideLayoutPath, DEFAULT_INSERT_CHART_KIND, hasCopyableFormat, templateSchemeFromTheme, createBackstagePresentation, playFeedbackSound, shouldDiscardAutosaveOnSuccessfulSave, setMasterViewBackgroundColor, canUseClipboard, runProgramNoticeStackStyle, compatToastStackStyle, printPropertiesFrameSlides, printPropertiesSlidesPerPage, getDensePanelTouchTargetPx, shouldStickyActionRow, VIEWER_OPTIONS_TABS, DEFAULT_QUICK_ACCESS_COMMAND_IDS, isHeaderFooterDateTextVisible, isHeaderFooterHeaderTextVisible, isHeaderFooterFooterTextVisible, buildJoinCollaborationConfig, buildCreateCollaborationConfig, generateBroadcastRoomId, DEFAULT_BROADCAST_SERVER_URL, buildBroadcastViewerUrl, resolveTransportForServerUrl, elementIdSelector, 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, resolveRevealedDrawingShapeNodeIds, styleShadowFilter, buildChromeStyle, modelDataToBlobUrl, getImageSvgFilters, buildDuotoneCacheKey, getDuotoneCachedResult, applyDuotone, setDuotoneCachedResult, buildCacheKey, DEFAULT_COLOR_CHANGE_TOLERANCE, getCachedResult, applyColorChange, setCachedResult, getInlineEditorSelection, findChartPartTarget, buildSurfaceChart3DDataForElement, buildBarChart3DDataForElement, buildLineChart3DDataForElement, buildAreaChart3DDataForElement, buildPieChart3DDataForElement, withChartTitle, buildSmartArt3DModel, collectCoherent3DOffNodeIds, isBrowserOpenableMime, formatBytes, getOleDisplayName, getOleBadgeLabel, openUrlInNewTab, getSubstituteFontFamily, hasGlyphEnvelope, buildGlyphEnvelope, getWarpPath, isWedgeCalloutPresetShape, isElementActionable, getSlideBackgroundStyle, pushRecentColor, mruColorsPatch, 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, advanceChartMarkDrag, advanceChartValueDrag, buildChartMarkDragGeometry, beginChartMarkDrag, beginChartValueDrag, groupIntoParagraphs, substituteFieldText, extraQuickAccessCommands, TAB_ROW_ACTION_CLASSES, listBackstageRecentFiles, BACKSTAGE_NAV, COMMON_FONT_SIZES, textFontSizePtToPx, INSERT_CHART_TYPES, CHARACTER_SPACING_OPTIONS, OFFICE_COLOR_SWATCHES, shapeFillChange, shapeOutlineChange, readRibbonTransitionDraft, ribbonTransitionUpdates, 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, getFragmentedTransitionDescriptor, SLIDE_TRANSITION_KEYFRAMES, buildStrokePathD, cursorForTool, annotationOverlayZIndex, presentationInkPath, resolveNotesSchematicBodyFontSizePx, motionPathFor, setMotionPath, getShapeAdjustmentHandleDescriptors, shouldShowElementHandles, PRESENTER_NAVIGATOR_LABEL_KEYS, PEN_COLORS, HIGHLIGHTER_COLORS, isBlackboardActive, scaleSlidesForSizeChange, slideSizeToCanvasPx, resolveSelectionPaneRename, PRESET_THEMES, resolveNotesSegments, segmentsToEditorHtml, DEBOUNCE_MS, createPlainNotesSegments, parseSegmentsFromRichEditor, segmentsToPlainText, getCurrentParagraphIndex, segmentsToParagraphs, paragraphsToSegments, MAX_INDENT_LEVEL, INDENT_PX, isUrlSafe, buildNotesPrintHtml, MIN_TOUCH_TARGET_PX, toggleSheet, SMARTART_PREVIEW_ELEMENT_HEIGHT, SMARTART_PREVIEW_ELEMENT_WIDTH, buildSmartArtPreviewElement, 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, withChartPointValue, BACKSTAGE_TEMPLATES, formatBackstageDate, formatBackstageSize, backstageCardsFor, DEFAULT_VIEWER_PROFILE, resolveProfileInitial, AVATAR_COLOR_SWATCHES, resolveDefaultFontFamily, textFontSizePxToPt, buildFontCatalog, buildThemeColorSwatchGrid, themeColorSwatchRows, findSelectedThemeSwatch, themeSwatchCommit, RIBBON_SHAPE_SWATCHES, canGroupSelection, canUngroupSelection, canSetStrokeWidth, strokeWidthOf, readSoundFileAsDataUrl, applyTransitionSoundFile, TRANSITION_SOUND_OTHER_VALUE, TRANSITION_SOUND_NONE_VALUE, clearTransitionSound, applyTransitionStockSound, transitionStockSoundId, getEffectSoundAsset, ENTRANCE_PRESET_VALUES, EMPHASIS_PRESET_VALUES, EXIT_PRESET_VALUES, MOTION_PATH_FAMILIES, motionPathFamilyLabelKey, motionPathPresetsByFamily, motionPathPresetLabelKey, masterViewPseudoSlide, MORPH_CROSSFADE_GROUP_STYLE, MORPH_CROSSFADE_HALF_STYLE, authorConnectorBetweenSites, findEraserHitElementId, generateTicks, rulerDragToGuidePosition, getElementTransformWithoutRotation, getActiveXControlOverlayView, buildCommentMarkers, COMMENT_MARKER_SIZE, collectConnectorSiteCandidates, getConnectorEndpointHandles, findConnectorSiteNear, motionPathToSvgD, motionPathEndPixel, isEditableMotionPath, setMotionPathEnd, hasMultipleSelectedTableCells, applyTableStyleDelete, applyTableStyleMapChange, themeColorLabel, buildThemeColorGrid, THEME_COLOR_SCHEME_KEYS, COMMON_FONTS, handleReadingViewKey, getLocalStorageUsageSummary, saveViewerProfile, clearAllLocalViewerData, isCurrentLayout, SLIDE_TEMPLATES, computeAnchoredPopupPosition, buildLiveInkStrokeView, CONNECTOR_SITE_SNAP_PX, resolveConnectorEndpointUpdate, withConnectorEndpointUpdate, getShapeConnectionSites, isElementLocked, mergeSlideTransition, mapSlideSorterKey, isEditorTextInputTarget, clampSorterZoom, buildLayoutPreviewGeometry, buildSlideTemplateContent, hasTiltData, elementLockTogglePatch, buildTableDataGrid, getDenseGridLayoutPlan, appendTableElementRow, removeLastTableElementRow, appendTableElementColumn, removeLastTableElementColumn, removeTableElementColumn, removeTableElementRow, setTableElementCellText, TABLE_STYLE_PRESETS, applyTableStylePreset, tableStyleAssignmentUpdate, evenColumnWidths, redistributeColumnWidth, evenRowHeights, patchChartData, collapseChartTitleRunsForEdit, chartGridlinesState, chartGridlinesPatch, seriesSecondaryAxisPatch, setChartCategoryLabel, setChartCellValue, addChartCategory, removeChartCategory, addChartSeries, removeChartSeries, hideChartSeries, restoreFilteredSeries, setDataLabelsRangeCache, setChartAxisLogScale, setChartAxisTitleStyle, setChartAxisGridlineStyle, setChartSeriesMarker, setChartSeriesChartType, setChartDataPointFill, setChartDataPointExplosion, setChartDataPointMarker, setChartDataPointLabel, describeSmartArtBounds, canAddTopLevelNode, classifyExtraConnections, siblingIndex, siblingCount, canRemoveTopLevelNode, canInteractWithElement, buildOleObjectNamePatch, getOleObjectTypeLabel, sanitizeGradientStops, shouldShowAccessibilitySection, pptxActionToElementAction, withFrameSlides, withSlidesPerPage, applyThemeOverrideToSlide, COLOR_MAP_ALIAS_KEYS, DEFAULT_COLOR_MAP, schemaLabel, THEME_COLOR_SLOT_LABEL_KEYS, SLIDE_SIZE_PRESETS, TRANSITION_VALID_DIRECTIONS, TRANSITION_ORIENTATION_TYPES, clampTransitionNumber, TRANSITION_SPEED_OPTIONS, TRANSITION_MORPH_OPTIONS, flattenTagCollections, resolveTemplateBackgroundRows, formatCommentTimestamp, commentMentionQuery, matchCommentMentionAuthors, buildAnimationTimelineRows, clearMotionPath, getEffectSoundState, setEffectSound, setEffectStockSound, setAfterAnimation, setAfterAnimationColor, DIRECTIONAL_PRESETS, buildAnimationTimelineBars, motionPathPresetIdForPath, EFFECT_SOUND_CATALOGUE, normalizeTableStyleGuid, describeTableStyleEditor, TABLE_STYLE_EDITOR_PARTS, computeMergeCellRight, computeMergeCellDown, computeSplitCell, resolveDisplayedChartType, CHART_TYPE_OPTIONS, BAR3D_SHAPE_OPTIONS, bar3DShapePatch, RADAR_STYLE_OPTIONS, radarStylePatch, SURFACE_WIREFRAME_OPTIONS, surfaceWireframePatch, isSeriesUsingSecondaryAxis, listChartUserShapeRows, withChartUserShapeAdded, createDefaultChartUserShape, withChartUserShapeRowRemoved, withChartUserShapeRowTextUpdated, SMARTART_COLOR_SCHEME_LABEL_KEYS, SMARTART_STYLE_LABEL_KEYS, addSmartArtNodeAsChild, removeSmartArtNode, addSiblingAfter, removeEmptyNode, demote, promote, reorder, clampCropValue, DUOTONE_PRESETS, ARTISTIC_EFFECTS, mediaTrimEndSeconds, trimmedMediaDurationMs, mediaTrimEndAbsoluteMs, mediaTrimEndMsFromAbsoluteMs, buildOleEditDialogDescriptor, buildOleContentUpdatePatch, applyOleSheetCellEdit, getOleSheetGrid, applyOleDocumentParagraphEdit, getOleDocumentParagraphs, applyOleNestedDeckElementTextEdit, getOleNestedDeckDetail, replaceOleFile, getNonVisualDescriptionFields, resolveActionType, ELEMENT_ACTION_TYPE_OPTIONS, elementActionToPptxAction, canCommitActionType, slideSizeFromPreset, withSlideSizeOrientation, TRANSITION_DIR_ARROWS, buildDirectionGrid, updateTagInCollections, deleteTagFromCollections, addTagToCollections, commentTextSegments, COMMENT_MENTION_CLASS, COMMENT_MENTION_ATTRIBUTE, insertCommentMention, reorderAnimationTimelineRows, applyAnimationTimelineOrder, animationEffectLabel, TABLE_STYLE_BORDER_SIDES, applyTableStyleFieldEdit, createTableStyleEntry, addTableStyleToMap, deleteTableStyleFromMap, LBL, SEL, FILL_MODE_OPTIONS, SECTION_HEADING, NUM, getChartUserShapeGroupTransform, withChartUserShapeGroupChildAdded, createDefaultChartUserShapeGroupChild, withChartUserShapeRowUpdated, getChartUserShapeRowChartBox, withChartUserShapeRowFlipUpdated, withChartUserShapeRowRotationUpdated, withChartUserShapeRowChartBoxUpdated, switchSmartArtLayout, mediaTrimEndMsFromSeconds, validateMediaTrimRange, SHAPE_QUICK_STYLES, quickStyleSwatchCss, PATTERN_PRESET_OPTIONS, getPatternSvg, COMPOUND_LINE_OPTIONS, LINE_JOIN_OPTIONS, LINE_CAP_OPTIONS, TEXT_WARP_PRESETS, warpPreviewPath, text3dPtToEmu, text3dEmuToPt, MATERIAL_PRESETS, toSlideIndex, TABLE_STYLE_BORDER_SIDE_LABEL_KEYS, TABLE_STYLE_DASH_PRESETS, GRADIENT_TYPE_OPTIONS, PATTERN_OPTIONS, FILL_PATTERN_LABEL_KEYS, openNativeEyeDropper, toggleText3dExtrusion, BEVEL_PRESETS } from './chunk-2DZJJ3VO.mjs';
|
|
5
5
|
import { LOCALE_CATALOG, translationsEn } from './chunk-HMX3MQR7.mjs';
|
|
6
6
|
import React20, { createContext, useMemo, useState, useCallback, lazy, forwardRef, useEffect, useRef, Suspense, useLayoutEffect, useContext, useSyncExternalStore, useId, Fragment as Fragment$1, useDeferredValue } from 'react';
|
|
7
7
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
@@ -514,7 +514,7 @@ function FailedToLoad() {
|
|
|
514
514
|
var LazyArea3DChartScene = React20.lazy(
|
|
515
515
|
async () => {
|
|
516
516
|
try {
|
|
517
|
-
return await import('./Area3DChartScene-
|
|
517
|
+
return await import('./Area3DChartScene-6E4QEVTU.mjs');
|
|
518
518
|
} catch {
|
|
519
519
|
return { default: FailedToLoad };
|
|
520
520
|
}
|
|
@@ -583,7 +583,7 @@ function FailedToLoad2() {
|
|
|
583
583
|
var LazyBar3DChartScene = React20.lazy(
|
|
584
584
|
async () => {
|
|
585
585
|
try {
|
|
586
|
-
return await import('./Bar3DChartScene-
|
|
586
|
+
return await import('./Bar3DChartScene-5GRGZFE4.mjs');
|
|
587
587
|
} catch {
|
|
588
588
|
return { default: FailedToLoad2 };
|
|
589
589
|
}
|
|
@@ -686,7 +686,7 @@ function FailedToLoad3() {
|
|
|
686
686
|
var LazyLine3DChartScene = React20.lazy(
|
|
687
687
|
async () => {
|
|
688
688
|
try {
|
|
689
|
-
return await import('./Line3DChartScene-
|
|
689
|
+
return await import('./Line3DChartScene-2VRLE5RI.mjs');
|
|
690
690
|
} catch {
|
|
691
691
|
return { default: FailedToLoad3 };
|
|
692
692
|
}
|
|
@@ -755,7 +755,7 @@ function FailedToLoad4() {
|
|
|
755
755
|
var LazyPieChart3DScene = React20.lazy(
|
|
756
756
|
async () => {
|
|
757
757
|
try {
|
|
758
|
-
return await import('./PieChart3DScene-
|
|
758
|
+
return await import('./PieChart3DScene-O5NZKI4T.mjs');
|
|
759
759
|
} catch {
|
|
760
760
|
return { default: FailedToLoad4 };
|
|
761
761
|
}
|
|
@@ -822,7 +822,7 @@ function FailedToLoad5() {
|
|
|
822
822
|
var LazySurfaceChart3DScene = React20.lazy(
|
|
823
823
|
async () => {
|
|
824
824
|
try {
|
|
825
|
-
return await import('./SurfaceChart3DScene-
|
|
825
|
+
return await import('./SurfaceChart3DScene-WXPQGMT3.mjs');
|
|
826
826
|
} catch {
|
|
827
827
|
return { default: FailedToLoad5 };
|
|
828
828
|
}
|
|
@@ -3181,7 +3181,7 @@ function FailedToLoad6() {
|
|
|
3181
3181
|
var LazyModel3DScene = React20.lazy(
|
|
3182
3182
|
async () => {
|
|
3183
3183
|
try {
|
|
3184
|
-
return await import('./Model3DScene-
|
|
3184
|
+
return await import('./Model3DScene-TCIKWJ7R.mjs');
|
|
3185
3185
|
} catch {
|
|
3186
3186
|
return { default: FailedToLoad6 };
|
|
3187
3187
|
}
|
|
@@ -6710,7 +6710,7 @@ function AccountPage() {
|
|
|
6710
6710
|
return void 0;
|
|
6711
6711
|
});
|
|
6712
6712
|
};
|
|
6713
|
-
const version = "3.
|
|
6713
|
+
const version = "3.16.0" ;
|
|
6714
6714
|
return /* @__PURE__ */ jsxs("div", { className: "mt-8 max-w-[700px] space-y-6", children: [
|
|
6715
6715
|
/* @__PURE__ */ jsxs("section", { className: cardClass, children: [
|
|
6716
6716
|
/* @__PURE__ */ jsxs("h2", { className: "flex items-center gap-2 text-sm font-semibold", children: [
|
|
@@ -13872,10 +13872,10 @@ function tableCell(props) {
|
|
|
13872
13872
|
if (selectedElement?.type !== "table" || tableEditorState === null) {
|
|
13873
13873
|
return null;
|
|
13874
13874
|
}
|
|
13875
|
-
const
|
|
13876
|
-
const cell = rows
|
|
13875
|
+
const tableData = selectedElement.tableData;
|
|
13876
|
+
const cell = tableData?.rows[tableEditorState.rowIndex]?.cells[tableEditorState.columnIndex];
|
|
13877
13877
|
return {
|
|
13878
|
-
hasMultiCellSelection:
|
|
13878
|
+
hasMultiCellSelection: hasMultipleSelectedTableCells(tableEditorState.selectedCells, tableData),
|
|
13879
13879
|
isMergedCell: Boolean(cell && ((cell.gridSpan ?? 1) > 1 || (cell.rowSpan ?? 1) > 1))
|
|
13880
13880
|
};
|
|
13881
13881
|
}
|
|
@@ -38037,7 +38037,7 @@ function useTableStyleMapHandlers(input) {
|
|
|
38037
38037
|
var AiChatPanel = lazy(async () => {
|
|
38038
38038
|
const [{ useChat }, { default: Panel }] = await Promise.all([
|
|
38039
38039
|
import('@ai-sdk/react'),
|
|
38040
|
-
import('./AiChatPanel-
|
|
38040
|
+
import('./AiChatPanel-US56QZBD.mjs')
|
|
38041
38041
|
]);
|
|
38042
38042
|
function BoundAiChatPanel(props) {
|
|
38043
38043
|
return /* @__PURE__ */ jsx(Panel, { ...props, useChat });
|
|
Binary file
|
|
Binary file
|
|
@@ -99831,6 +99831,46 @@ var init_table_cell_save_helpers = __esm({
|
|
|
99831
99831
|
init_color_xml_preservation();
|
|
99832
99832
|
}
|
|
99833
99833
|
});
|
|
99834
|
+
function ensureArray19(value) {
|
|
99835
|
+
if (value === void 0 || value === null) {
|
|
99836
|
+
return [];
|
|
99837
|
+
}
|
|
99838
|
+
return Array.isArray(value) ? value : [value];
|
|
99839
|
+
}
|
|
99840
|
+
function createDefaultXmlCell() {
|
|
99841
|
+
return {
|
|
99842
|
+
"a:txBody": {
|
|
99843
|
+
"a:bodyPr": {},
|
|
99844
|
+
"a:lstStyle": {},
|
|
99845
|
+
"a:p": {
|
|
99846
|
+
// Match PowerPoint's "Insert Table" default: every paragraph-end
|
|
99847
|
+
// run carries `lang="en-US" dirty="0"`.
|
|
99848
|
+
"a:endParaRPr": { "@_lang": "en-US", "@_dirty": "0" }
|
|
99849
|
+
}
|
|
99850
|
+
},
|
|
99851
|
+
"a:tcPr": {}
|
|
99852
|
+
};
|
|
99853
|
+
}
|
|
99854
|
+
function createDefaultXmlRow(colCount, heightEmu) {
|
|
99855
|
+
const cells2 = Array.from({ length: colCount }, () => createDefaultXmlCell());
|
|
99856
|
+
return {
|
|
99857
|
+
"@_h": String(DEFAULT_ROW_HEIGHT_EMU),
|
|
99858
|
+
"a:tc": cells2.length === 1 ? cells2[0] : cells2
|
|
99859
|
+
};
|
|
99860
|
+
}
|
|
99861
|
+
function getTblFromRawXml(rawXml) {
|
|
99862
|
+
const graphicData = rawXml["a:graphic"]?.["a:graphicData"];
|
|
99863
|
+
return graphicData?.["a:tbl"];
|
|
99864
|
+
}
|
|
99865
|
+
var DEFAULT_ROW_HEIGHT_PX;
|
|
99866
|
+
var DEFAULT_ROW_HEIGHT_EMU;
|
|
99867
|
+
var init_table_structural_helpers = __esm({
|
|
99868
|
+
"src/core/core/runtime/table-structural-helpers.ts"() {
|
|
99869
|
+
init_constants();
|
|
99870
|
+
DEFAULT_ROW_HEIGHT_PX = 40;
|
|
99871
|
+
DEFAULT_ROW_HEIGHT_EMU = DEFAULT_ROW_HEIGHT_PX * EMU_PER_PX;
|
|
99872
|
+
}
|
|
99873
|
+
});
|
|
99834
99874
|
function flattenCellTxBodyText(txBody, ensureArray20) {
|
|
99835
99875
|
if (!txBody) {
|
|
99836
99876
|
return "";
|
|
@@ -99851,6 +99891,45 @@ function flattenCellTxBodyText(txBody, ensureArray20) {
|
|
|
99851
99891
|
}
|
|
99852
99892
|
return lines.join("\n");
|
|
99853
99893
|
}
|
|
99894
|
+
function tableCellTextBodyMatches(txBody, text22, ensureArray20 = xmlArray) {
|
|
99895
|
+
return Boolean(
|
|
99896
|
+
txBody && ensureArray20(txBody["a:p"]).length > 0 && flattenCellTxBodyText(txBody, ensureArray20) === text22
|
|
99897
|
+
);
|
|
99898
|
+
}
|
|
99899
|
+
function rebuildCellTextBody(existingTxBody, text22) {
|
|
99900
|
+
const existingParagraphs = ensureArray19(
|
|
99901
|
+
existingTxBody?.["a:p"]
|
|
99902
|
+
);
|
|
99903
|
+
const firstParagraph = existingParagraphs.length > 0 ? existingParagraphs[0] : void 0;
|
|
99904
|
+
const existingRuns = firstParagraph ? ensureArray19(firstParagraph["a:r"]) : [];
|
|
99905
|
+
const firstRunProps = existingRuns.length > 0 ? existingRuns[0]["a:rPr"] : void 0;
|
|
99906
|
+
const newRun = {};
|
|
99907
|
+
if (firstRunProps !== void 0) {
|
|
99908
|
+
newRun["a:rPr"] = firstRunProps;
|
|
99909
|
+
}
|
|
99910
|
+
newRun["a:t"] = text22;
|
|
99911
|
+
const newParagraph = {};
|
|
99912
|
+
if (firstParagraph?.["a:pPr"] !== void 0) {
|
|
99913
|
+
newParagraph["a:pPr"] = firstParagraph["a:pPr"];
|
|
99914
|
+
}
|
|
99915
|
+
newParagraph["a:r"] = newRun;
|
|
99916
|
+
const newTxBody = {};
|
|
99917
|
+
if (existingTxBody?.["a:bodyPr"] !== void 0) {
|
|
99918
|
+
newTxBody["a:bodyPr"] = existingTxBody["a:bodyPr"];
|
|
99919
|
+
}
|
|
99920
|
+
if (existingTxBody?.["a:lstStyle"] !== void 0) {
|
|
99921
|
+
newTxBody["a:lstStyle"] = existingTxBody["a:lstStyle"];
|
|
99922
|
+
}
|
|
99923
|
+
newTxBody["a:p"] = newParagraph;
|
|
99924
|
+
return newTxBody;
|
|
99925
|
+
}
|
|
99926
|
+
var xmlArray;
|
|
99927
|
+
var init_table_cell_text_xml = __esm({
|
|
99928
|
+
"src/core/core/runtime/table-cell-text-xml.ts"() {
|
|
99929
|
+
init_table_structural_helpers();
|
|
99930
|
+
xmlArray = (value) => ensureArray19(value);
|
|
99931
|
+
}
|
|
99932
|
+
});
|
|
99854
99933
|
function isRichCellTxBody(txBody, ensureArray20) {
|
|
99855
99934
|
if (!txBody) {
|
|
99856
99935
|
return false;
|
|
@@ -99881,6 +99960,8 @@ var init_PptxHandlerRuntimeSaveTableStyles = __esm({
|
|
|
99881
99960
|
init_xml_reorder();
|
|
99882
99961
|
init_PptxHandlerRuntimeLayoutSwitching();
|
|
99883
99962
|
init_table_cell_save_helpers();
|
|
99963
|
+
init_table_cell_text_xml();
|
|
99964
|
+
init_table_cell_text_xml();
|
|
99884
99965
|
PptxHandlerRuntime22 = class _PptxHandlerRuntime extends PptxHandlerRuntime21 {
|
|
99885
99966
|
/**
|
|
99886
99967
|
* Write plain text into a table cell's txBody, preserving
|
|
@@ -99889,10 +99970,8 @@ var init_PptxHandlerRuntimeSaveTableStyles = __esm({
|
|
|
99889
99970
|
writeTableCellText(xmlCell, text22) {
|
|
99890
99971
|
const ensureArray20 = this.ensureArray.bind(this);
|
|
99891
99972
|
const existingTxBody = xmlCell["a:txBody"];
|
|
99892
|
-
if (existingTxBody
|
|
99893
|
-
|
|
99894
|
-
return;
|
|
99895
|
-
}
|
|
99973
|
+
if (tableCellTextBodyMatches(existingTxBody, text22, ensureArray20)) {
|
|
99974
|
+
return;
|
|
99896
99975
|
}
|
|
99897
99976
|
if (!xmlCell["a:txBody"]) {
|
|
99898
99977
|
xmlCell["a:txBody"] = { "a:bodyPr": {}, "a:p": {} };
|
|
@@ -100474,46 +100553,6 @@ var init_table_paragraph_save_order = __esm({
|
|
|
100474
100553
|
paragraphOrders = /* @__PURE__ */ new WeakMap();
|
|
100475
100554
|
}
|
|
100476
100555
|
});
|
|
100477
|
-
function ensureArray19(value) {
|
|
100478
|
-
if (value === void 0 || value === null) {
|
|
100479
|
-
return [];
|
|
100480
|
-
}
|
|
100481
|
-
return Array.isArray(value) ? value : [value];
|
|
100482
|
-
}
|
|
100483
|
-
function createDefaultXmlCell() {
|
|
100484
|
-
return {
|
|
100485
|
-
"a:txBody": {
|
|
100486
|
-
"a:bodyPr": {},
|
|
100487
|
-
"a:lstStyle": {},
|
|
100488
|
-
"a:p": {
|
|
100489
|
-
// Match PowerPoint's "Insert Table" default: every paragraph-end
|
|
100490
|
-
// run carries `lang="en-US" dirty="0"`.
|
|
100491
|
-
"a:endParaRPr": { "@_lang": "en-US", "@_dirty": "0" }
|
|
100492
|
-
}
|
|
100493
|
-
},
|
|
100494
|
-
"a:tcPr": {}
|
|
100495
|
-
};
|
|
100496
|
-
}
|
|
100497
|
-
function createDefaultXmlRow(colCount, heightEmu) {
|
|
100498
|
-
const cells2 = Array.from({ length: colCount }, () => createDefaultXmlCell());
|
|
100499
|
-
return {
|
|
100500
|
-
"@_h": String(DEFAULT_ROW_HEIGHT_EMU),
|
|
100501
|
-
"a:tc": cells2.length === 1 ? cells2[0] : cells2
|
|
100502
|
-
};
|
|
100503
|
-
}
|
|
100504
|
-
function getTblFromRawXml(rawXml) {
|
|
100505
|
-
const graphicData = rawXml["a:graphic"]?.["a:graphicData"];
|
|
100506
|
-
return graphicData?.["a:tbl"];
|
|
100507
|
-
}
|
|
100508
|
-
var DEFAULT_ROW_HEIGHT_PX;
|
|
100509
|
-
var DEFAULT_ROW_HEIGHT_EMU;
|
|
100510
|
-
var init_table_structural_helpers = __esm({
|
|
100511
|
-
"src/core/core/runtime/table-structural-helpers.ts"() {
|
|
100512
|
-
init_constants();
|
|
100513
|
-
DEFAULT_ROW_HEIGHT_PX = 40;
|
|
100514
|
-
DEFAULT_ROW_HEIGHT_EMU = DEFAULT_ROW_HEIGHT_PX * EMU_PER_PX;
|
|
100515
|
-
}
|
|
100516
|
-
});
|
|
100517
100556
|
var init_table_row_ops = __esm({
|
|
100518
100557
|
"src/core/core/runtime/table-row-ops.ts"() {
|
|
100519
100558
|
init_table_structural_helpers();
|
|
@@ -100873,33 +100912,6 @@ function updateCellTextInRawXml(element, rowIndex, colIndex, text22) {
|
|
|
100873
100912
|
);
|
|
100874
100913
|
return newRawXml;
|
|
100875
100914
|
}
|
|
100876
|
-
function rebuildCellTextBody(existingTxBody, text22) {
|
|
100877
|
-
const existingParagraphs = ensureArray19(
|
|
100878
|
-
existingTxBody?.["a:p"]
|
|
100879
|
-
);
|
|
100880
|
-
const firstParagraph = existingParagraphs.length > 0 ? existingParagraphs[0] : void 0;
|
|
100881
|
-
const existingRuns = firstParagraph ? ensureArray19(firstParagraph["a:r"]) : [];
|
|
100882
|
-
const firstRunProps = existingRuns.length > 0 ? existingRuns[0]["a:rPr"] : void 0;
|
|
100883
|
-
const newRun = {};
|
|
100884
|
-
if (firstRunProps !== void 0) {
|
|
100885
|
-
newRun["a:rPr"] = firstRunProps;
|
|
100886
|
-
}
|
|
100887
|
-
newRun["a:t"] = text22;
|
|
100888
|
-
const newParagraph = {};
|
|
100889
|
-
if (firstParagraph?.["a:pPr"] !== void 0) {
|
|
100890
|
-
newParagraph["a:pPr"] = firstParagraph["a:pPr"];
|
|
100891
|
-
}
|
|
100892
|
-
newParagraph["a:r"] = newRun;
|
|
100893
|
-
const newTxBody = {};
|
|
100894
|
-
if (existingTxBody?.["a:bodyPr"] !== void 0) {
|
|
100895
|
-
newTxBody["a:bodyPr"] = existingTxBody["a:bodyPr"];
|
|
100896
|
-
}
|
|
100897
|
-
if (existingTxBody?.["a:lstStyle"] !== void 0) {
|
|
100898
|
-
newTxBody["a:lstStyle"] = existingTxBody["a:lstStyle"];
|
|
100899
|
-
}
|
|
100900
|
-
newTxBody["a:p"] = newParagraph;
|
|
100901
|
-
return newTxBody;
|
|
100902
|
-
}
|
|
100903
100915
|
function updateCellTextStyleInRawXml(element, rowIndex, colIndex, styleUpdates) {
|
|
100904
100916
|
if (!element.rawXml) {
|
|
100905
100917
|
return void 0;
|
|
@@ -101038,11 +101050,9 @@ function updateMergeAttrsInRawXml(element, tableData) {
|
|
|
101038
101050
|
} else {
|
|
101039
101051
|
delete xmlCell["@_vMerge"];
|
|
101040
101052
|
}
|
|
101041
|
-
|
|
101042
|
-
|
|
101043
|
-
|
|
101044
|
-
cell.text
|
|
101045
|
-
);
|
|
101053
|
+
const txBody = xmlCell["a:txBody"];
|
|
101054
|
+
if (cell.text !== void 0 && !tableCellTextBodyMatches(txBody, cell.text)) {
|
|
101055
|
+
xmlCell["a:txBody"] = rebuildCellTextBody(txBody, cell.text);
|
|
101046
101056
|
}
|
|
101047
101057
|
}
|
|
101048
101058
|
}
|
|
@@ -101051,6 +101061,7 @@ function updateMergeAttrsInRawXml(element, tableData) {
|
|
|
101051
101061
|
var init_table_cell_rawxml_ops = __esm({
|
|
101052
101062
|
"src/core/core/runtime/table-cell-rawxml-ops.ts"() {
|
|
101053
101063
|
init_xml_access();
|
|
101064
|
+
init_table_cell_text_xml();
|
|
101054
101065
|
init_table_structural_helpers();
|
|
101055
101066
|
init_table_structure_rawxml();
|
|
101056
101067
|
}
|
|
@@ -168463,7 +168474,7 @@ function mergeCells(cells2, tableData) {
|
|
|
168463
168474
|
}
|
|
168464
168475
|
if (ri === rect22.startRow && ci === rect22.startCol) {
|
|
168465
168476
|
return {
|
|
168466
|
-
...withCellText(cell, combinedText),
|
|
168477
|
+
...cell.text === combinedText ? cell : withCellText(cell, combinedText),
|
|
168467
168478
|
gridSpan: colCount > 1 ? colCount : void 0,
|
|
168468
168479
|
rowSpan: rowCount > 1 ? rowCount : void 0,
|
|
168469
168480
|
hMerge: void 0,
|
|
@@ -192717,6 +192728,20 @@ function resolveSelectionPaneRename(seed, value) {
|
|
|
192717
192728
|
}
|
|
192718
192729
|
return { name: trimmed };
|
|
192719
192730
|
}
|
|
192731
|
+
function hasMultipleSelectedTableCells(cells2, tableData) {
|
|
192732
|
+
const selected = /* @__PURE__ */ new Set();
|
|
192733
|
+
for (const { row, col } of cells2 ?? []) {
|
|
192734
|
+
const cell = tableData?.rows[row]?.cells[col];
|
|
192735
|
+
if (tableData && (!cell || cell.hMerge || cell.vMerge)) {
|
|
192736
|
+
continue;
|
|
192737
|
+
}
|
|
192738
|
+
selected.add(`${row},${col}`);
|
|
192739
|
+
if (selected.size > 1) {
|
|
192740
|
+
return true;
|
|
192741
|
+
}
|
|
192742
|
+
}
|
|
192743
|
+
return false;
|
|
192744
|
+
}
|
|
192720
192745
|
var LABEL_KEYS = {
|
|
192721
192746
|
copy: "pptx.contextMenu.copy",
|
|
192722
192747
|
cut: "pptx.contextMenu.cut",
|
|
@@ -203413,6 +203438,7 @@ exports.handleReadingViewKey = handleReadingViewKey;
|
|
|
203413
203438
|
exports.hasCopyableFormat = hasCopyableFormat;
|
|
203414
203439
|
exports.hasDistinctScriptFonts = hasDistinctScriptFonts;
|
|
203415
203440
|
exports.hasGlyphEnvelope = hasGlyphEnvelope;
|
|
203441
|
+
exports.hasMultipleSelectedTableCells = hasMultipleSelectedTableCells;
|
|
203416
203442
|
exports.hasShapeProperties = hasShapeProperties;
|
|
203417
203443
|
exports.hasShowSlideAfter = hasShowSlideAfter;
|
|
203418
203444
|
exports.hasTextProperties = hasTextProperties;
|
|
Binary file
|
|
Binary file
|