pptx-react-viewer 4.36.3 → 4.37.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/{chunk-VCRUM3NE.js → chunk-L4E5A5DE.js} +1070 -1039
- package/dist/chunk-L4E5A5DE.js.br +0 -0
- package/dist/chunk-L4E5A5DE.js.gz +0 -0
- package/dist/{chunk-JPVT7TY7.mjs → chunk-RXN5Q6CJ.mjs} +64 -33
- package/dist/chunk-RXN5Q6CJ.mjs.br +0 -0
- package/dist/chunk-RXN5Q6CJ.mjs.gz +0 -0
- package/dist/{chunk-F76MGAHF.mjs → chunk-RZIXD6X7.mjs} +32 -1
- package/dist/chunk-RZIXD6X7.mjs.br +0 -0
- package/dist/chunk-RZIXD6X7.mjs.gz +0 -0
- package/dist/{chunk-ODFNNB5X.js → chunk-YAODOVJY.js} +32 -0
- package/dist/chunk-YAODOVJY.js.br +0 -0
- package/dist/chunk-YAODOVJY.js.gz +0 -0
- package/dist/i18n/de.cjs +58 -7
- package/dist/i18n/de.cjs.br +0 -0
- package/dist/i18n/de.cjs.gz +0 -0
- package/dist/i18n/de.mjs +58 -7
- package/dist/i18n/de.mjs.br +0 -0
- package/dist/i18n/de.mjs.gz +0 -0
- package/dist/i18n/es.cjs +58 -7
- package/dist/i18n/es.cjs.br +0 -0
- package/dist/i18n/es.cjs.gz +0 -0
- package/dist/i18n/es.mjs +58 -7
- package/dist/i18n/es.mjs.br +0 -0
- package/dist/i18n/es.mjs.gz +0 -0
- package/dist/i18n/fr.cjs +58 -7
- package/dist/i18n/fr.cjs.br +0 -0
- package/dist/i18n/fr.cjs.gz +0 -0
- package/dist/i18n/fr.mjs +58 -7
- package/dist/i18n/fr.mjs.br +0 -0
- package/dist/i18n/fr.mjs.gz +0 -0
- package/dist/i18n/zh-CN.cjs +59 -8
- package/dist/i18n/zh-CN.cjs.br +0 -0
- package/dist/i18n/zh-CN.cjs.gz +0 -0
- package/dist/i18n/zh-CN.mjs +59 -8
- package/dist/i18n/zh-CN.mjs.br +0 -0
- package/dist/i18n/zh-CN.mjs.gz +0 -0
- package/dist/index.d.ts +3 -1
- package/dist/index.js +22 -22
- package/dist/index.js.br +0 -0
- package/dist/index.js.gz +0 -0
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.br +0 -0
- package/dist/index.mjs.gz +0 -0
- package/dist/internals.d.ts +3 -1
- package/dist/internals.js +80 -80
- package/dist/internals.js.br +0 -0
- package/dist/internals.js.gz +0 -0
- package/dist/internals.mjs +1 -1
- package/dist/internals.mjs.br +0 -0
- package/dist/internals.mjs.gz +0 -0
- package/dist/viewer/index.js +17 -17
- package/dist/viewer/index.js.br +0 -0
- package/dist/viewer/index.js.gz +0 -0
- package/dist/viewer/index.mjs +2 -2
- package/dist/viewer/index.mjs.br +0 -0
- package/dist/viewer/index.mjs.gz +0 -0
- package/package.json +3 -3
- package/dist/chunk-F76MGAHF.mjs.br +0 -0
- package/dist/chunk-F76MGAHF.mjs.gz +0 -0
- package/dist/chunk-JPVT7TY7.mjs.br +0 -0
- package/dist/chunk-JPVT7TY7.mjs.gz +0 -0
- package/dist/chunk-ODFNNB5X.js.br +0 -0
- package/dist/chunk-ODFNNB5X.js.gz +0 -0
- package/dist/chunk-VCRUM3NE.js.br +0 -0
- package/dist/chunk-VCRUM3NE.js.gz +0 -0
|
Binary file
|
|
Binary file
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { useViewerOptions, useReadOnlyRecommendationState, useCompatibilityToastsState, useReducedMotion, useViewerState, useIsMobile, useResizablePanels, useDerivedSlideState, useZoomViewport, useEditorHistory, usePresentationSetup, useTouchGestures, useViewerDialogs, useEditorOperations, useViewerIntegration, useViewPreferencesSync, useLayoutSwitching, Rendering3DFlagsContext, CollaborationProvider, useCollaboration, useCollaborationDocumentSync, useFollowMode, useBroadcastFollower, SlideBackgroundImageLayer, StaticElementRenderer, safePrompt, scopeLayoutOptionsToActiveSlide, ChartPartSelectionProvider, useToolbarVisibility, useKeyboardInsets, useModalDismissDrag, ViewerOptionsStoreContext, ViewerOptionsContext, useViewerOptionsContext, useVirtualizedSlides, useSwipeNavigation, PresentationTransitionOverlay, RemoteSelectionOverlay, CollaborationCursorOverlay, useSheetDismissDrag, detectTargetType, parseEmailUrl, parseSlideFromUrl, ACTION_VERB_MAP, ElementRenderer, InlineCollaborationContext, SmartArtRenderer, downloadBlob, playAnimationSound, ResizeHandles, imgSrc, renderStrokeView, useChartPartSelection, DUOTONE_PRESETS, getSlideTransitionAnimations, SLIDE_TRANSITION_KEYFRAMES, resolveSmartArtDataPalette } from './chunk-
|
|
1
|
+
import { useViewerOptions, useReadOnlyRecommendationState, useCompatibilityToastsState, useReducedMotion, useViewerState, useIsMobile, useResizablePanels, useDerivedSlideState, useZoomViewport, useEditorHistory, usePresentationSetup, useTouchGestures, useViewerDialogs, useEditorOperations, useViewerIntegration, useViewPreferencesSync, useLayoutSwitching, Rendering3DFlagsContext, CollaborationProvider, useCollaboration, useCollaborationDocumentSync, useFollowMode, useBroadcastFollower, SlideBackgroundImageLayer, StaticElementRenderer, safePrompt, scopeLayoutOptionsToActiveSlide, createReviewCommentsHost, ChartPartSelectionProvider, useToolbarVisibility, useKeyboardInsets, useModalDismissDrag, ViewerOptionsStoreContext, ViewerOptionsContext, useViewerOptionsContext, useVirtualizedSlides, useSwipeNavigation, PresentationTransitionOverlay, RemoteSelectionOverlay, CollaborationCursorOverlay, useSheetDismissDrag, detectTargetType, parseEmailUrl, parseSlideFromUrl, ACTION_VERB_MAP, ElementRenderer, InlineCollaborationContext, SmartArtRenderer, downloadBlob, playAnimationSound, ResizeHandles, imgSrc, renderStrokeView, useChartPartSelection, DUOTONE_PRESETS, getSlideTransitionAnimations, SLIDE_TRANSITION_KEYFRAMES, resolveSmartArtDataPalette } from './chunk-RZIXD6X7.mjs';
|
|
2
2
|
import { ANIMATION_PRESET_OPTIONS, dist_exports, cn, SLIDE_NAV_THUMBNAIL_WIDTH, SLIDE_TRANSITION_OPTIONS, normalizeHexColor, hasCopyableFormat, DEFAULT_SECTION_GROUP_ID, safeOpenUrl, isPpactionUrl, parsePpactionUrl, SHORTCUT_REFERENCE_ITEMS as SHORTCUT_REFERENCE_ITEMS$1, TOOLBAR_SECTIONS, isUrlSafe, computeHandoutLayout, getPrintableArea, generateNoteLineCount, UNGROUPED_SECTION_ID, getShapeAdjustmentHandleDescriptors, isConnectorOrLineElement, GRID_SIZE, getElementTransformWithoutRotation, getElementTransform, MIN_ELEMENT_SIZE, getElementLabel, TABLE_STYLE_PRESETS, SHAPE_PRESETS, sanitizeGradientStops, formatCommentTimestamp, clampCropValue, CONNECTOR_ARROW_OPTIONS, ARROW_SIZE_OPTIONS, DEFAULT_FILL_COLOR, startMotionPathPreview, startPreviewAnimation, stopPreviewAnimation, SHAPE_QUICK_STYLES, getPatternSvg, DEFAULT_STROKE_COLOR, STROKE_DASH_OPTIONS, openNativeEyeDropper } from './chunk-UC2VQORY.mjs';
|
|
3
|
-
import { EMPTY_RESOLVED_CUSTOMIZATION, ANIMATION_DIRECTION_LABEL_KEYS, compileEquationTemplateMathMl, resolveViewerRootOptions, buildUserFontFaceStyles, readStoredViewerPrefs, resolveThemeCatalogEntry, THEME_CATALOG, writeStoredViewerPrefs, openPptxFile, readBackstageRecentFile, isFeatureEnabled, isDialogAvailable, resolveAutosaveActivation, viewerOptionsToPreferences, applyPreferenceToOptions, resolveHistoryDepth, attachViewerHyperlinks, shouldConfirmExternalHyperlink, applyAutoCorrect, resolveImageResolutionScale, resolveAutosaveIntervalMs, resolveAutosaveIntervalSeconds, createSlidePackageClipboard, isPanelVisible, shouldShowAutosaveRecoveryPrompt, resolveOptionRootClasses, RIBBON_SCOPE_ATTR, resolve3DRenderingFlags, resolveSlideSizeSelection, RULER_THICKNESS, RULER_FONT_SIZE, editorThumbnailHeight, buildPreviewElements, deriveSlideFieldContext, deviceStrokeStageStyle, hiddenSlideCue, EDITOR_THUMBNAIL_WIDTH, HIDDEN_SLIDE_SLASH_GRADIENT, HIDDEN_SLIDE_LABEL_KEY, visibleTemplateElements, themeToCssVars, createCustomizationController, resolveEffectiveHiddenActions, listAutosaveSnapshots, resolveExpiredAutosaveSnapshots, deleteAutosaveSnapshot, masterViewCrudActions, applyMasterViewCrudAction, masterViewCrudFailureKey, EDITOR_CHROME_CSS, ribbonCustomizationCss, applyMotionPathPreset, resetSlideLayoutPath, DEFAULT_INSERT_CHART_KIND, templateSchemeFromTheme, createBackstagePresentation, playFeedbackSound, shouldDiscardAutosaveOnSuccessfulSave, buildFieldSubstitutionContext, setMasterViewBackgroundColor, canUseClipboard, runProgramNoticeStackStyle, printPropertiesFrameSlides, printPropertiesSlidesPerPage, PASTE_SPECIAL_OPTIONS, findCanvasElementNode, getDensePanelTouchTargetPx, shouldStickyActionRow, customizeOptionsTabs, VIEWER_OPTIONS_TABS, isOptionsPageVisible, DEFAULT_QUICK_ACCESS_COMMAND_IDS, isHeaderFooterDateTextVisible, isHeaderFooterHeaderTextVisible, isHeaderFooterFooterTextVisible, buildJoinCollaborationConfig, buildCreateCollaborationConfig, generateBroadcastRoomId, DEFAULT_BROADCAST_SERVER_URL, buildBroadcastViewerUrl, resolveTransportForServerUrl, getSlideBackgroundStyle, pushRecentColor, mruColorsPatch, shouldClearAutosaveCacheOnClose, canCropElement, cropSessionChanged, cancelCropUpdate, startCropSession, homeLaunchers, attachRibbonOverflow, editorThumbnailWidth, masterViewBackgroundColor, resolvePresentationAction, isPresentationAdvanceClick, toggleBlackboard, PRESENT_TOOLBAR_CLASSES, resolveEditPointsAvailability, isCurrentLayout, observeElementHeight, EXPANDED_MAX_HEIGHT, resolveStatusBarSave, statusBarViewMode, 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, slideClipboardLabels, sorterPasteInsertAt, SORTER_MIN_ZOOM, SORTER_ZOOM_STEP, SORTER_MAX_ZOOM, canGoPrevious, formatSlideCounter, READING_VIEW_COUNTER_ATTR, canGoNext, READING_VIEW_ATTR, listenForOutlineViewDismiss, OUTLINE_LEVEL_ATTR, OUTLINE_SLIDE_ATTR, OUTLINE_ROW_ATTR, OUTLINE_VIEW_ATTR, mobileElapsedSince, nextPresentedSlide, presenterPrevDisabled, presenterNextDisabled, formatMobileElapsed, mobileSlideCounter, presenterPaneAdvancesOnClick, presenterTimerProgress, PRESENTER_CONSOLE_CLASSES, formatElapsed, cropModeKeyAction, buildTitleBarState, resolveScreenTip, visibleContextualTabs, resolveActiveRibbonTab, visibleRibbonAddIns, RIBBON_ADD_IN_TAB_ATTR, contextualTabLabelKey, RIBBON_CONTEXTUAL_TAB_ATTR, buildTabRowActionsState, TAB_ROW_ACTION_CLASSES, tabRowActionsAttributes, customizeBackstageNav, BACKSTAGE_NAV, listBackstageRecentFiles, BACKSTAGE_BACK_CLASSES, BACKSTAGE_NAV_CLASSES, FREEFORM_TOOL_IDS, isDrawingToolVisible, textFontSizePtToPx, withHomeGalleries, drawingHomeControls, homeGalleryControls, homeGalleryApply, shapeOutlineChange, shapeFillChange, editingHomeControls, arrangeHomeControls, arrangePainterHomeControls, arrangeAlignAction, DESIGN_RIBBON_GROUPS, DESIGN_RIBBON_COMMANDS, designCommandState, FIXED_TAB_GALLERIES, CONTEXTUAL_TAB_GROUPS, editorThumbnailStep, resolveSlidePaneClick, SLIDE_VIRTUALIZATION_THRESHOLD, buildSectionContextMenuEntries, buildSlidePaneContextMenuEntries, slidePaneViewItems, isEditPointsEnabled, findReplacementAvailability, PRESENTATION_HIT_TEST_CSS, PRESENTATION_STAGE_ATTRIBUTE, buildStrokePathD, cursorForTool, annotationOverlayZIndex, presentationInkPath, resolveNotesSchematicBodyFontSizePx, PRESENTER_NAVIGATOR_LABEL_KEYS, getPresentationContextMenuSections, CONTEXT_MENU_PRESENTATION_LAYER, presentationViewItems, subtitleRecognitionLanguage, subtitleSettingsFromOptions, getSpeechRecognitionCtor, mergeCaptionResults, customizeContextMenuEntries, buildContextMenuEntries, contextMenuViewItems, customizeCanvasContextMenuEntries, buildCanvasContextMenuEntries, buildLayoutPreviewGeometry, scaleSlidesForSizeChange, slideSizeToCanvasPx, resolveSelectionPaneRename, themeEditorLabels, resolveNotesSegments, defaultRichEnabled, segmentsToEditorHtml, DEBOUNCE_MS, createPlainNotesSegments, parseSegmentsFromRichEditor, segmentsToPlainText, getCurrentParagraphIndex, segmentsToParagraphs, paragraphsToSegments, MAX_INDENT_LEVEL, INDENT_PX as INDENT_PX$1, buildNotesPrintHtml, MIN_TOUCH_TARGET_PX, toggleSheet, SMARTART_PREVIEW_ELEMENT_HEIGHT, SMARTART_PREVIEW_ELEMENT_WIDTH, buildSmartArtPreviewElement, sanitizeMathMl, computeAllNotesPages, getNotesPrintableArea, clampOptionNumber, QUICK_ACCESS_COMMAND_CATALOG, registerCustomFont, createSlideSorterState, sorterSelectionIndexes, selectSorterSlide, applySorterAction, sorterGridColumns, sorterMenuContext, buildSlideSorterContextMenuEntries, slideSorterContextMenuLabel, openReadingView, applyReadingViewCommand, createPresentationKeyBuffer, readingViewFitScale, READING_VIEW_STAGE_ATTR, buildOutline, applyOutlineEdit, mapOutlineKey, notesSegmentsToSpans, erasePresentationInkAt, movePresenterPointer, appendPresentationInkPoint, presenterConsoleAction, presenterConsoleViewState, NOTES_FONT_SIZE_DEFAULT, formatTime, NOTES_FONT_SIZE_MIN, clampNotesFontSize, NOTES_FONT_SIZE_STEP, NOTES_FONT_SIZE_MAX, BACKSTAGE_TEMPLATES, formatBackstageDate, formatBackstageSize, customizeBackstageCards, backstageCardsFor, DEFAULT_VIEWER_PROFILE, resolveProfileInitial, AVATAR_COLOR_SWATCHES, clipboardHomeControls, slidesHomeControls, resolveDefaultFontFamily, textFontSizePxToPt, getInlineEditorSelectionResult, selectedParagraphBulletKind, elementBulletKind, selectionBulletKind, fontPickerHomeControls, fontHomeControls, nextToggleValue, RIBBON_GROUP_ATTR, paragraphHomeAlign, paragraphHomeControls, paragraphHomeAction, arrangeShapeHomeControls, strokeWidthOf, canSetStrokeWidth, canUngroupSelection, canGroupSelection, buildRibbonGallery, readRibbonTransitionDraft, SLIDE_SHOW_COMMAND_GROUPS, RECORD_COMMAND_GROUPS, buildReviewRibbon, HELP_RIBBON_COMMANDS, galleryTextLabel, pictureSizeHomeControls, sectionAddAfterSlideIndex, masterViewPseudoSlide, PRESENTATION_ANIM_TRIGGER_ATTRIBUTE, parentSelection, slideSpaceElement, isGroupMember, motionPathFor, setMotionPath, shouldShowElementHandles, computeAnchoredPopupPosition, applyTableStyleDelete, applyTableStyleMapChange, handleReadingViewKey, getLocalStorageUsageSummary, saveViewerProfile, clearAllLocalViewerData, SLIDE_TEMPLATES, getSelectionTextStyleFlags, TEXT_DECORATION_FLAGS, dispatchCropRequest, applyRibbonGalleryItem, ribbonTransitionsDraftPatch, ribbonTransitionUpdates, ribbonTransitionsSoundChange, ribbonTransitionStockSoundUrl, playSlideTransitionPreview, playAnimationRibbonPreview, SLIDE_SHOW_OPTIONS, createViewerOptionsStore, subtitleSettingsLabels, attachEditorImagePaste, authorConnectorBetweenSites, findEraserHitElementId, generateTicks, rulerDragToGuidePosition, resolveElementInteractivity, buildChartQuickActionsDescriptor, applyChartElementToggle, CHART_QUICK_ACTION_BUTTON_SIZE, applyChartStylePreset, hideChartSeries, restoreFilteredSeries, buildCropOverlay, CROP_HANDLE_ARIA_KEY, getActiveXControlOverlayView, buildCommentMarkers, COMMENT_MARKER_SIZE, collectConnectorSiteCandidates, getConnectorEndpointHandles, findConnectorSiteNear, motionPathToSvgD, motionPathEndPixel, isEditableMotionPath, setMotionPathEnd, canEditElementPoints, MERGE_SHAPES_MENU_ITEMS, hasMultipleSelectedTableCells, isElementLocked, mergeSlideTransition, slideBackgroundClearState, slideBackgroundClearPatch, effectiveDirection, TRIGGER_OPTIONS, effectiveTimingCurve, getAfterAnimationState, mapSlideSorterKey, isEditorTextInputTarget, clampSorterZoom, buildSlideTemplateContent, updateSubtitleSettings, buildFreeformShapeElement, buildLiveInkStrokeView, beginCropDrag, CONNECTOR_SITE_SNAP_PX, resolveConnectorEndpointUpdate, withConnectorEndpointUpdate, getShapeConnectionSites, FreeformToolSession, attachOverlayKeyboard, EditPointsSession, EDIT_POINTS_STYLE, elementLockTogglePatch, buildTableDataGrid, getDenseGridLayoutPlan, appendTableElementRow, removeLastTableElementRow, appendTableElementColumn, removeLastTableElementColumn, removeTableElementColumn, removeTableElementRow, setTableElementCellText, applyTableStylePreset, tableStyleAssignmentUpdate, evenColumnWidths, redistributeColumnWidth, evenRowHeights, inspectorNumber, patchChartData, collapseChartTitleRunsForEdit, chartGridlinesState, chartGridlinesPatch, seriesSecondaryAxisPatch, setChartCategoryLabel, setChartCellValue, addChartCategory, removeChartCategory, addChartSeries, removeChartSeries, setDataLabelsRangeCache, describeSmartArtBounds, canAddTopLevelNode, classifyExtraConnections, siblingIndex, siblingCount, canRemoveTopLevelNode, imageResetPatch, imageResetState, canInteractWithElement, buildOleObjectNamePatch, shouldShowAccessibilitySection, withFrameSlides, withSlidesPerPage, schemaLabel, THEME_COLOR_SLOT_LABEL_KEYS, SLIDE_SIZE_PRESETS, TRANSITION_ORIENTATION_TYPES, clampTransitionNumber, TRANSITION_SPEED_OPTIONS, TRANSITION_MORPH_OPTIONS, flattenTagCollections, resolveTemplateBackgroundRows, commentMentionQuery, matchCommentMentionAuthors, buildAnimationTimelineRows, clearMotionPath, setTrigger, setTriggerBookmark, getEffectSoundState, setEffectSound, setEffectStockSound, setAfterAnimation, setAfterAnimationColor, directionValuesFor, buildAnimationTimelineBars, motionPathPresetIdForPath, MOTION_PATH_FAMILIES, motionPathPresetsByFamily, motionPathPresetLabelKey, motionPathFamilyLabelKey, EFFECT_SOUND_CATALOGUE, listMediaBookmarkOptions, selectedBookmarkOptionValue, hasTiltData, toElementAxes, dragCropHandle, panCropImage, clientToSlidePoint, EDIT_POINTS_TARGET_ATTR, describeTableStyleEditor, TABLE_STYLE_EDITOR_PARTS, computeMergeCellRight, computeMergeCellDown, computeSplitCell, resolveDisplayedChartType, CHART_TYPE_OPTIONS, chartDataLabelsTogglePatch, BAR3D_SHAPE_OPTIONS, bar3DShapePatch, RADAR_STYLE_OPTIONS, radarStylePatch, SURFACE_WIREFRAME_OPTIONS, surfaceWireframePatch, isSeriesUsingSecondaryAxis, seriesColorClearState, listChartUserShapeRows, withChartUserShapeAdded, createDefaultChartUserShape, withChartUserShapeRowRemoved, withChartUserShapeRowTextUpdated, SMARTART_COLOR_SCHEME_LABEL_KEYS, SMARTART_STYLE_LABEL_KEYS, addSiblingAfter, removeEmptyNode, demote, promote, reorder, cropResetState, cropResetPatch, ARTISTIC_EFFECTS, mediaTrimEndSeconds, trimmedMediaDurationMs, mediaTrimEndAbsoluteMs, mediaTrimResetState, mediaTrimEndMsFromAbsoluteMs, mediaTrimResetPatch, buildOleEditDialogDescriptor, buildOleContentUpdatePatch, buildThemeColorSwatchGrid, themeColorSwatchRows, findSelectedThemeSwatch, themeSwatchCommit, getNonVisualDescriptionFields, resolveActionType, ELEMENT_ACTION_TYPE_OPTIONS, canCommitActionType, slideSizeFromPreset, withSlideSizeOrientation, TRANSITION_DIR_ARROWS, buildDirectionGrid, updateTagInCollections, deleteTagFromCollections, addTagToCollections, commentTextSegments, COMMENT_MENTION_CLASS, COMMENT_MENTION_ATTRIBUTE, insertCommentMention, reorderAnimationTimelineRows, applyAnimationTimelineOrder, getEffectSoundAsset, animationEffectLabel, overlayPointerInput, TABLE_STYLE_BORDER_SIDES, applyTableStyleFieldEdit, withCellStyle, LBL as LBL$1, SEL as SEL$1, FILL_MODE_OPTIONS as FILL_MODE_OPTIONS$1, SECTION_HEADING, NUM as NUM$1, getChartUserShapeGroupTransform, withChartUserShapeGroupChildAdded, createDefaultChartUserShapeGroupChild, withChartUserShapeRowUpdated, getChartUserShapeRowChartBox, withChartUserShapeRowFlipUpdated, withChartUserShapeRowRotationUpdated, withChartUserShapeRowChartBoxUpdated, smartArtLayoutSwitchPatch, rebuildDrawingShapesIfCleared, mediaTrimEndMsFromSeconds, validateMediaTrimRange, quickStyleSwatchCss, shapeQuickStyleLabel, OFFICE_COLOR_SWATCHES, officeColorSwatchLabel, PATTERN_PRESET_OPTIONS as PATTERN_PRESET_OPTIONS$1, COMPOUND_LINE_OPTIONS as COMPOUND_LINE_OPTIONS$1, LINE_JOIN_OPTIONS as LINE_JOIN_OPTIONS$1, LINE_CAP_OPTIONS as LINE_CAP_OPTIONS$1, TEXT_WARP_PRESETS, warpPreviewPath, text3dPtToEmu, text3dEmuToPt, MATERIAL_PRESETS, toSlideIndex, TABLE_STYLE_BORDER_SIDE_LABEL_KEYS, TABLE_STYLE_DASH_PRESETS, GRADIENT_TYPE_OPTIONS as GRADIENT_TYPE_OPTIONS$1, PATTERN_OPTIONS, FILL_PATTERN_LABEL_KEYS, toggleText3dExtrusion, BEVEL_PRESETS, cropFit, cropFill, cropToAspectRatio } from 'ooxml-ui/pptx';
|
|
3
|
+
import { EMPTY_RESOLVED_CUSTOMIZATION, ANIMATION_DIRECTION_LABEL_KEYS, compileEquationTemplateMathMl, resolveViewerRootOptions, buildUserFontFaceStyles, readStoredViewerPrefs, resolveThemeCatalogEntry, THEME_CATALOG, writeStoredViewerPrefs, openPptxFile, readBackstageRecentFile, isFeatureEnabled, isDialogAvailable, resolveAutosaveActivation, viewerOptionsToPreferences, applyPreferenceToOptions, resolveHistoryDepth, attachViewerHyperlinks, shouldConfirmExternalHyperlink, applyAutoCorrect, resolveImageResolutionScale, resolveAutosaveIntervalMs, resolveAutosaveIntervalSeconds, createSlidePackageClipboard, isPanelVisible, shouldShowAutosaveRecoveryPrompt, resolveOptionRootClasses, RIBBON_SCOPE_ATTR, resolve3DRenderingFlags, resolveSlideSizeSelection, RULER_THICKNESS, RULER_FONT_SIZE, editorThumbnailHeight, buildPreviewElements, deriveSlideFieldContext, deviceStrokeStageStyle, hiddenSlideCue, EDITOR_THUMBNAIL_WIDTH, HIDDEN_SLIDE_SLASH_GRADIENT, HIDDEN_SLIDE_LABEL_KEY, visibleTemplateElements, themeToCssVars, createCustomizationController, resolveEffectiveHiddenActions, listAutosaveSnapshots, resolveExpiredAutosaveSnapshots, deleteAutosaveSnapshot, tableLayoutCells, masterViewCrudActions, applyMasterViewCrudAction, masterViewCrudFailureKey, EDITOR_CHROME_CSS, ribbonCustomizationCss, applyMotionPathPreset, resetSlideLayoutPath, DEFAULT_INSERT_CHART_KIND, templateSchemeFromTheme, createBackstagePresentation, playFeedbackSound, shouldDiscardAutosaveOnSuccessfulSave, buildFieldSubstitutionContext, setMasterViewBackgroundColor, canUseClipboard, runProgramNoticeStackStyle, printPropertiesFrameSlides, printPropertiesSlidesPerPage, PASTE_SPECIAL_OPTIONS, findCanvasElementNode, getDensePanelTouchTargetPx, shouldStickyActionRow, customizeOptionsTabs, VIEWER_OPTIONS_TABS, isOptionsPageVisible, DEFAULT_QUICK_ACCESS_COMMAND_IDS, isHeaderFooterDateTextVisible, isHeaderFooterHeaderTextVisible, isHeaderFooterFooterTextVisible, buildJoinCollaborationConfig, buildCreateCollaborationConfig, generateBroadcastRoomId, DEFAULT_BROADCAST_SERVER_URL, buildBroadcastViewerUrl, resolveTransportForServerUrl, getSlideBackgroundStyle, pushRecentColor, mruColorsPatch, shouldClearAutosaveCacheOnClose, canCropElement, cropSessionChanged, cancelCropUpdate, startCropSession, homeLaunchers, attachRibbonOverflow, editorThumbnailWidth, masterViewBackgroundColor, resolvePresentationAction, isPresentationAdvanceClick, toggleBlackboard, PRESENT_TOOLBAR_CLASSES, resolveEditPointsAvailability, isCurrentLayout, observeElementHeight, EXPANDED_MAX_HEIGHT, resolveStatusBarSave, statusBarViewMode, 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, slideClipboardLabels, sorterPasteInsertAt, SORTER_MIN_ZOOM, SORTER_ZOOM_STEP, SORTER_MAX_ZOOM, canGoPrevious, formatSlideCounter, READING_VIEW_COUNTER_ATTR, canGoNext, READING_VIEW_ATTR, listenForOutlineViewDismiss, OUTLINE_LEVEL_ATTR, OUTLINE_SLIDE_ATTR, OUTLINE_ROW_ATTR, OUTLINE_VIEW_ATTR, mobileElapsedSince, nextPresentedSlide, presenterPrevDisabled, presenterNextDisabled, formatMobileElapsed, mobileSlideCounter, presenterPaneAdvancesOnClick, presenterTimerProgress, PRESENTER_CONSOLE_CLASSES, formatElapsed, cropModeKeyAction, buildTitleBarState, resolveScreenTip, visibleContextualTabs, resolveActiveRibbonTab, visibleRibbonAddIns, RIBBON_ADD_IN_TAB_ATTR, contextualTabLabelKey, RIBBON_CONTEXTUAL_TAB_ATTR, buildTabRowActionsState, TAB_ROW_ACTION_CLASSES, tabRowActionsAttributes, customizeBackstageNav, BACKSTAGE_NAV, listBackstageRecentFiles, BACKSTAGE_BACK_CLASSES, BACKSTAGE_NAV_CLASSES, FREEFORM_TOOL_IDS, isDrawingToolVisible, textFontSizePtToPx, withHomeGalleries, drawingHomeControls, homeGalleryControls, homeGalleryApply, shapeOutlineChange, shapeFillChange, editingHomeControls, arrangeHomeControls, arrangePainterHomeControls, arrangeAlignAction, DESIGN_RIBBON_GROUPS, DESIGN_RIBBON_COMMANDS, designCommandState, FIXED_TAB_GALLERIES, CONTEXTUAL_TAB_GROUPS, editorThumbnailStep, resolveSlidePaneClick, SLIDE_VIRTUALIZATION_THRESHOLD, buildSectionContextMenuEntries, buildSlidePaneContextMenuEntries, slidePaneViewItems, isEditPointsEnabled, findReplacementAvailability, PRESENTATION_HIT_TEST_CSS, PRESENTATION_STAGE_ATTRIBUTE, buildStrokePathD, cursorForTool, annotationOverlayZIndex, presentationInkPath, resolveNotesSchematicBodyFontSizePx, PRESENTER_NAVIGATOR_LABEL_KEYS, getPresentationContextMenuSections, CONTEXT_MENU_PRESENTATION_LAYER, presentationViewItems, subtitleRecognitionLanguage, subtitleSettingsFromOptions, getSpeechRecognitionCtor, mergeCaptionResults, customizeContextMenuEntries, buildContextMenuEntries, contextMenuViewItems, customizeCanvasContextMenuEntries, buildCanvasContextMenuEntries, buildLayoutPreviewGeometry, scaleSlidesForSizeChange, slideSizeToCanvasPx, resolveSelectionPaneRename, themeEditorLabels, resolveNotesSegments, defaultRichEnabled, segmentsToEditorHtml, DEBOUNCE_MS, createPlainNotesSegments, parseSegmentsFromRichEditor, segmentsToPlainText, getCurrentParagraphIndex, segmentsToParagraphs, paragraphsToSegments, MAX_INDENT_LEVEL, INDENT_PX as INDENT_PX$1, buildNotesPrintHtml, MIN_TOUCH_TARGET_PX, toggleSheet, SMARTART_PREVIEW_ELEMENT_HEIGHT, SMARTART_PREVIEW_ELEMENT_WIDTH, buildSmartArtPreviewElement, sanitizeMathMl, computeAllNotesPages, getNotesPrintableArea, clampOptionNumber, QUICK_ACCESS_COMMAND_CATALOG, registerCustomFont, createSlideSorterState, sorterSelectionIndexes, selectSorterSlide, applySorterAction, sorterGridColumns, sorterMenuContext, buildSlideSorterContextMenuEntries, slideSorterContextMenuLabel, openReadingView, applyReadingViewCommand, createPresentationKeyBuffer, readingViewFitScale, READING_VIEW_STAGE_ATTR, buildOutline, applyOutlineEdit, mapOutlineKey, notesSegmentsToSpans, erasePresentationInkAt, movePresenterPointer, appendPresentationInkPoint, presenterConsoleAction, presenterConsoleViewState, NOTES_FONT_SIZE_DEFAULT, formatTime, NOTES_FONT_SIZE_MIN, clampNotesFontSize, NOTES_FONT_SIZE_STEP, NOTES_FONT_SIZE_MAX, BACKSTAGE_TEMPLATES, formatBackstageDate, formatBackstageSize, customizeBackstageCards, backstageCardsFor, DEFAULT_VIEWER_PROFILE, resolveProfileInitial, AVATAR_COLOR_SWATCHES, clipboardHomeControls, slidesHomeControls, resolveDefaultFontFamily, textFontSizePxToPt, getInlineEditorSelectionResult, selectedParagraphBulletKind, elementBulletKind, selectionBulletKind, fontPickerHomeControls, fontHomeControls, nextToggleValue, RIBBON_GROUP_ATTR, paragraphHomeAlign, paragraphHomeControls, paragraphHomeAction, arrangeShapeHomeControls, strokeWidthOf, canSetStrokeWidth, canUngroupSelection, canGroupSelection, buildRibbonGallery, readRibbonTransitionDraft, SLIDE_SHOW_COMMAND_GROUPS, RECORD_COMMAND_GROUPS, trackActiveComment, commentCounts, findCommentLocation, buildReviewRibbon, HELP_RIBBON_COMMANDS, galleryTextLabel, pictureSizeHomeControls, sectionAddAfterSlideIndex, masterViewPseudoSlide, PRESENTATION_ANIM_TRIGGER_ATTRIBUTE, parentSelection, slideSpaceElement, isGroupMember, motionPathFor, setMotionPath, shouldShowElementHandles, computeAnchoredPopupPosition, applyTableStyleDelete, applyTableStyleMapChange, handleReadingViewKey, getLocalStorageUsageSummary, saveViewerProfile, clearAllLocalViewerData, SLIDE_TEMPLATES, getSelectionTextStyleFlags, TEXT_DECORATION_FLAGS, dispatchCropRequest, applyRibbonGalleryItem, ribbonTransitionsDraftPatch, ribbonTransitionUpdates, ribbonTransitionsSoundChange, ribbonTransitionStockSoundUrl, playSlideTransitionPreview, playAnimationRibbonPreview, SLIDE_SHOW_OPTIONS, createViewerOptionsStore, subtitleSettingsLabels, isReviewCommentCommand, runReviewCommentCommand, attachEditorImagePaste, authorConnectorBetweenSites, findEraserHitElementId, generateTicks, rulerDragToGuidePosition, resolveElementInteractivity, buildChartQuickActionsDescriptor, applyChartElementToggle, CHART_QUICK_ACTION_BUTTON_SIZE, applyChartStylePreset, hideChartSeries, restoreFilteredSeries, buildCropOverlay, CROP_HANDLE_ARIA_KEY, getActiveXControlOverlayView, buildCommentMarkers, COMMENT_MARKER_SIZE, collectConnectorSiteCandidates, getConnectorEndpointHandles, findConnectorSiteNear, motionPathToSvgD, motionPathEndPixel, isEditableMotionPath, setMotionPathEnd, canEditElementPoints, MERGE_SHAPES_MENU_ITEMS, hasMultipleSelectedTableCells, isElementLocked, mergeSlideTransition, slideBackgroundClearState, slideBackgroundClearPatch, effectiveDirection, TRIGGER_OPTIONS, effectiveTimingCurve, getAfterAnimationState, mapSlideSorterKey, isEditorTextInputTarget, clampSorterZoom, buildSlideTemplateContent, updateSubtitleSettings, buildFreeformShapeElement, buildLiveInkStrokeView, beginCropDrag, CONNECTOR_SITE_SNAP_PX, resolveConnectorEndpointUpdate, withConnectorEndpointUpdate, getShapeConnectionSites, FreeformToolSession, attachOverlayKeyboard, EditPointsSession, EDIT_POINTS_STYLE, elementLockTogglePatch, buildTableDataGrid, getDenseGridLayoutPlan, appendTableElementRow, removeLastTableElementRow, appendTableElementColumn, removeLastTableElementColumn, removeTableElementColumn, removeTableElementRow, setTableElementCellText, applyTableStylePreset, tableStyleAssignmentUpdate, evenColumnWidths, redistributeColumnWidth, evenRowHeights, inspectorNumber, patchChartData, collapseChartTitleRunsForEdit, chartGridlinesState, chartGridlinesPatch, seriesSecondaryAxisPatch, setChartCategoryLabel, setChartCellValue, addChartCategory, removeChartCategory, addChartSeries, removeChartSeries, setDataLabelsRangeCache, describeSmartArtBounds, canAddTopLevelNode, classifyExtraConnections, siblingIndex, siblingCount, canRemoveTopLevelNode, imageResetPatch, imageResetState, canInteractWithElement, buildOleObjectNamePatch, shouldShowAccessibilitySection, withFrameSlides, withSlidesPerPage, schemaLabel, THEME_COLOR_SLOT_LABEL_KEYS, SLIDE_SIZE_PRESETS, TRANSITION_ORIENTATION_TYPES, clampTransitionNumber, TRANSITION_SPEED_OPTIONS, TRANSITION_MORPH_OPTIONS, flattenTagCollections, resolveTemplateBackgroundRows, commentMentionQuery, matchCommentMentionAuthors, buildAnimationTimelineRows, clearMotionPath, setTrigger, setTriggerBookmark, getEffectSoundState, setEffectSound, setEffectStockSound, setAfterAnimation, setAfterAnimationColor, directionValuesFor, buildAnimationTimelineBars, motionPathPresetIdForPath, MOTION_PATH_FAMILIES, motionPathPresetsByFamily, motionPathPresetLabelKey, motionPathFamilyLabelKey, EFFECT_SOUND_CATALOGUE, listMediaBookmarkOptions, selectedBookmarkOptionValue, hasTiltData, toElementAxes, dragCropHandle, panCropImage, clientToSlidePoint, EDIT_POINTS_TARGET_ATTR, describeTableStyleEditor, TABLE_STYLE_EDITOR_PARTS, computeMergeCellRight, computeMergeCellDown, computeSplitCell, resolveDisplayedChartType, CHART_TYPE_OPTIONS, chartDataLabelsTogglePatch, BAR3D_SHAPE_OPTIONS, bar3DShapePatch, RADAR_STYLE_OPTIONS, radarStylePatch, SURFACE_WIREFRAME_OPTIONS, surfaceWireframePatch, isSeriesUsingSecondaryAxis, seriesColorClearState, listChartUserShapeRows, withChartUserShapeAdded, createDefaultChartUserShape, withChartUserShapeRowRemoved, withChartUserShapeRowTextUpdated, SMARTART_COLOR_SCHEME_LABEL_KEYS, SMARTART_STYLE_LABEL_KEYS, addSiblingAfter, removeEmptyNode, demote, promote, reorder, cropResetState, cropResetPatch, ARTISTIC_EFFECTS, mediaTrimEndSeconds, trimmedMediaDurationMs, mediaTrimEndAbsoluteMs, mediaTrimResetState, mediaTrimEndMsFromAbsoluteMs, mediaTrimResetPatch, buildOleEditDialogDescriptor, buildOleContentUpdatePatch, buildThemeColorSwatchGrid, themeColorSwatchRows, findSelectedThemeSwatch, themeSwatchCommit, getNonVisualDescriptionFields, resolveActionType, ELEMENT_ACTION_TYPE_OPTIONS, canCommitActionType, slideSizeFromPreset, withSlideSizeOrientation, TRANSITION_DIR_ARROWS, buildDirectionGrid, updateTagInCollections, deleteTagFromCollections, addTagToCollections, commentTextSegments, COMMENT_MENTION_CLASS, COMMENT_MENTION_ATTRIBUTE, insertCommentMention, reorderAnimationTimelineRows, applyAnimationTimelineOrder, getEffectSoundAsset, animationEffectLabel, overlayPointerInput, TABLE_STYLE_BORDER_SIDES, applyTableStyleFieldEdit, withCellStyle, LBL as LBL$1, SEL as SEL$1, FILL_MODE_OPTIONS as FILL_MODE_OPTIONS$1, SECTION_HEADING, NUM as NUM$1, getChartUserShapeGroupTransform, withChartUserShapeGroupChildAdded, createDefaultChartUserShapeGroupChild, withChartUserShapeRowUpdated, getChartUserShapeRowChartBox, withChartUserShapeRowFlipUpdated, withChartUserShapeRowRotationUpdated, withChartUserShapeRowChartBoxUpdated, smartArtLayoutSwitchPatch, rebuildDrawingShapesIfCleared, mediaTrimEndMsFromSeconds, validateMediaTrimRange, quickStyleSwatchCss, shapeQuickStyleLabel, OFFICE_COLOR_SWATCHES, officeColorSwatchLabel, PATTERN_PRESET_OPTIONS as PATTERN_PRESET_OPTIONS$1, COMPOUND_LINE_OPTIONS as COMPOUND_LINE_OPTIONS$1, LINE_JOIN_OPTIONS as LINE_JOIN_OPTIONS$1, LINE_CAP_OPTIONS as LINE_CAP_OPTIONS$1, TEXT_WARP_PRESETS, warpPreviewPath, text3dPtToEmu, text3dEmuToPt, MATERIAL_PRESETS, toSlideIndex, TABLE_STYLE_BORDER_SIDE_LABEL_KEYS, TABLE_STYLE_DASH_PRESETS, GRADIENT_TYPE_OPTIONS as GRADIENT_TYPE_OPTIONS$1, PATTERN_OPTIONS, FILL_PATTERN_LABEL_KEYS, toggleText3dExtrusion, BEVEL_PRESETS, cropFit, cropFill, cropToAspectRatio } from 'ooxml-ui/pptx';
|
|
4
4
|
export { THEME_CATALOG, defaultCssVars, defaultRadius, defaultThemeColors, resolveThemeCatalogEntry, themeToCssVars, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius } from 'ooxml-ui/pptx';
|
|
5
|
-
import
|
|
5
|
+
import React103, { createContext, lazy, forwardRef, useEffect, useState, useCallback, useMemo, useRef, useLayoutEffect, useSyncExternalStore, useId, useContext, useDeferredValue, Suspense, useReducer, Fragment as Fragment$1 } from 'react';
|
|
6
6
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
7
7
|
import { useTranslation } from 'react-i18next';
|
|
8
8
|
import { LuArrowDown, LuArrowUp, LuArrowRight, LuArrowLeft, LuArrowDownRight, LuArrowDownLeft, LuArrowUpRight, LuArrowUpLeft, LuMessageSquare, LuEyeOff, LuHistory, LuSettings, LuX, LuCalendarDays, LuClock, LuHash, LuFileText, LuText, LuCast, LuShieldCheck, LuPlus, LuPanelLeftClose, LuDownload, LuTrash2, LuCheck, LuLock, LuEye, LuType, LuLoader, LuShieldAlert, LuSignature, LuInfo, LuTriangleAlert, LuPrinter, LuPenTool, LuBug, LuChevronUp, LuChevronDown, LuUpload, LuWifi, LuWifiOff, LuUsers, LuCopy, LuMinus, LuChevronLeft, LuChevronRight, LuPlay, LuPause, LuPanelLeft, LuPanelRight, LuSparkles, LuFolderOpen, LuPalette, LuSearch, LuCaseSensitive, LuReplace, LuGripVertical, LuLoaderCircle, LuGrid2X2, LuStickyNote, LuList, LuClipboardCopy, LuPaintbrush, LuShapes, LuLayoutGrid, LuWand, LuPresentation, LuTextCursorInput, LuFile, LuEllipsis, LuUserRound, LuShare2, LuSave, LuFilePlus2, LuHouse, LuFileJson, LuBox, LuVideo, LuFileImage, LuDatabase, LuClock3, LuUser, LuHardDrive, LuLogIn, LuMove, LuCopyPlus, LuClipboardPaste, LuMonitor, LuRadio, LuCaptions, LuImage, LuFilter, LuLayers, LuSettings2, LuLockOpen, LuPencil, LuReply, LuMoveRight, LuRotateCw, LuScissors, LuBookmark, LuPipette } from 'react-icons/lu';
|
|
@@ -723,7 +723,7 @@ function WebHomeControls({
|
|
|
723
723
|
host.addEventListener("home-popup", listener);
|
|
724
724
|
return () => host.removeEventListener("home-popup", listener);
|
|
725
725
|
}, [onPopup]);
|
|
726
|
-
return
|
|
726
|
+
return React103.createElement(`pptx-ui-ribbon-home-${family}`, { ref });
|
|
727
727
|
}
|
|
728
728
|
function ShapeArrangeExtras(p) {
|
|
729
729
|
const commands = useShapeFormatContext();
|
|
@@ -1210,7 +1210,7 @@ function AccountPage() {
|
|
|
1210
1210
|
return void 0;
|
|
1211
1211
|
});
|
|
1212
1212
|
};
|
|
1213
|
-
const version = "4.
|
|
1213
|
+
const version = "4.37.0" ;
|
|
1214
1214
|
return /* @__PURE__ */ jsxs("div", { className: "mt-8 max-w-[700px] space-y-6", children: [
|
|
1215
1215
|
/* @__PURE__ */ jsxs("section", { className: cardClass, children: [
|
|
1216
1216
|
/* @__PURE__ */ jsxs("h2", { className: "flex items-center gap-2 text-sm font-semibold", children: [
|
|
@@ -2265,6 +2265,12 @@ function WebRibbonSection({
|
|
|
2265
2265
|
}
|
|
2266
2266
|
function ReviewSection(p) {
|
|
2267
2267
|
const { t } = useTranslation();
|
|
2268
|
+
const [activeCommentId, setActiveCommentId] = useState(null);
|
|
2269
|
+
useEffect(() => trackActiveComment(document, setActiveCommentId), []);
|
|
2270
|
+
const host = p.commentsHost;
|
|
2271
|
+
const slides = host?.slides() ?? [];
|
|
2272
|
+
const counts = commentCounts(slides, host?.currentSlide() ?? 0);
|
|
2273
|
+
const hasActiveComment = findCommentLocation(slides, activeCommentId) !== null;
|
|
2268
2274
|
const groups = buildReviewRibbon(t, {
|
|
2269
2275
|
editable: p.canEdit,
|
|
2270
2276
|
spellCheck: p.spellCheckEnabled,
|
|
@@ -2273,9 +2279,22 @@ function ReviewSection(p) {
|
|
|
2273
2279
|
canCompare: Boolean(p.onCompare),
|
|
2274
2280
|
canComments: Boolean(p.onToggleComments),
|
|
2275
2281
|
commentsOpen: p.isCommentsPanelOpen,
|
|
2276
|
-
commentCount: p.slideCommentCount
|
|
2282
|
+
commentCount: p.slideCommentCount,
|
|
2283
|
+
totalCommentCount: counts.total,
|
|
2284
|
+
canNavigateComments: Boolean(host),
|
|
2285
|
+
hasActiveComment
|
|
2277
2286
|
});
|
|
2278
2287
|
const request = (id) => {
|
|
2288
|
+
if (isReviewCommentCommand(id)) {
|
|
2289
|
+
const navigation = id === "review.comments.previous" || id === "review.comments.next";
|
|
2290
|
+
if (host && (navigation || p.canEdit)) {
|
|
2291
|
+
const next = runReviewCommentCommand(id, host, activeCommentId);
|
|
2292
|
+
if (next !== void 0) {
|
|
2293
|
+
setActiveCommentId(next);
|
|
2294
|
+
}
|
|
2295
|
+
}
|
|
2296
|
+
return;
|
|
2297
|
+
}
|
|
2279
2298
|
switch (id) {
|
|
2280
2299
|
case "review.proofing.spelling":
|
|
2281
2300
|
p.onSetSpellCheckEnabled(!p.spellCheckEnabled);
|
|
@@ -3281,6 +3300,7 @@ function MobileSectionBody({
|
|
|
3281
3300
|
onToggleComments: p.onToggleComments,
|
|
3282
3301
|
isCommentsPanelOpen: p.isCommentsPanelOpen,
|
|
3283
3302
|
slideCommentCount: p.slideCommentCount,
|
|
3303
|
+
commentsHost: p.reviewComments,
|
|
3284
3304
|
onCompare: p.onCompare
|
|
3285
3305
|
}
|
|
3286
3306
|
) });
|
|
@@ -4296,6 +4316,7 @@ function ToolbarLateTabs({
|
|
|
4296
4316
|
onToggleComments: p.onToggleComments,
|
|
4297
4317
|
isCommentsPanelOpen: p.isCommentsPanelOpen,
|
|
4298
4318
|
slideCommentCount: p.slideCommentCount,
|
|
4319
|
+
commentsHost: p.reviewComments,
|
|
4299
4320
|
onCompare: p.onCompare,
|
|
4300
4321
|
onOpenAccessibilityCheck: p.onRunAccessibilityCheck,
|
|
4301
4322
|
onSetLanguage: p.onOpenSettings
|
|
@@ -4912,7 +4933,7 @@ function ChartQuickActionsOverlay({
|
|
|
4912
4933
|
"data-export-ignore": "true",
|
|
4913
4934
|
style: { position: "absolute", left: 0, top: 0, zIndex: 59 },
|
|
4914
4935
|
onMouseDown: (e) => e.stopPropagation(),
|
|
4915
|
-
children: descriptor.buttons.map((button) => /* @__PURE__ */ jsxs(
|
|
4936
|
+
children: descriptor.buttons.map((button) => /* @__PURE__ */ jsxs(React103.Fragment, { children: [
|
|
4916
4937
|
/* @__PURE__ */ jsx(
|
|
4917
4938
|
"button",
|
|
4918
4939
|
{
|
|
@@ -4932,7 +4953,7 @@ function ChartQuickActionsOverlay({
|
|
|
4932
4953
|
transformOrigin: "top left"
|
|
4933
4954
|
},
|
|
4934
4955
|
className: "flex items-center justify-center rounded bg-white border border-gray-300 shadow-sm hover:bg-gray-100 text-gray-700",
|
|
4935
|
-
children:
|
|
4956
|
+
children: React103.createElement(ICONS3[button.id], { className: "size-3.5" })
|
|
4936
4957
|
}
|
|
4937
4958
|
),
|
|
4938
4959
|
open === button.id && button.id === "elements" && /* @__PURE__ */ jsxs(
|
|
@@ -6078,7 +6099,7 @@ function HorizontalRulerView({ ticks, widthPx, highlight }) {
|
|
|
6078
6099
|
}
|
|
6079
6100
|
);
|
|
6080
6101
|
}
|
|
6081
|
-
var HorizontalRuler =
|
|
6102
|
+
var HorizontalRuler = React103.memo(HorizontalRulerView);
|
|
6082
6103
|
HorizontalRuler.displayName = "HorizontalRuler";
|
|
6083
6104
|
function VerticalRulerView({ ticks, heightPx, highlight }) {
|
|
6084
6105
|
return /* @__PURE__ */ jsxs(
|
|
@@ -6150,7 +6171,7 @@ function VerticalRulerView({ ticks, heightPx, highlight }) {
|
|
|
6150
6171
|
}
|
|
6151
6172
|
);
|
|
6152
6173
|
}
|
|
6153
|
-
var VerticalRuler =
|
|
6174
|
+
var VerticalRuler = React103.memo(VerticalRulerView);
|
|
6154
6175
|
VerticalRuler.displayName = "VerticalRuler";
|
|
6155
6176
|
function Ruler({
|
|
6156
6177
|
canvasSize,
|
|
@@ -8032,7 +8053,7 @@ function slideThumbnailPropsEqual(prev, next) {
|
|
|
8032
8053
|
}
|
|
8033
8054
|
return true;
|
|
8034
8055
|
}
|
|
8035
|
-
var SlideThumbnail =
|
|
8056
|
+
var SlideThumbnail = React103.memo(SlideThumbnailImpl, slideThumbnailPropsEqual);
|
|
8036
8057
|
function tableCell(props) {
|
|
8037
8058
|
const { selectedElement, tableEditorState } = props;
|
|
8038
8059
|
if (selectedElement?.type !== "table" || tableEditorState === null) {
|
|
@@ -8718,7 +8739,7 @@ function LazyThumbnailInner({
|
|
|
8718
8739
|
}
|
|
8719
8740
|
) });
|
|
8720
8741
|
}
|
|
8721
|
-
var LazyThumbnail =
|
|
8742
|
+
var LazyThumbnail = React103.memo(LazyThumbnailInner);
|
|
8722
8743
|
function declaredSectionFacts(groups, sectionId) {
|
|
8723
8744
|
const declared = groups.filter((group) => group.id !== DEFAULT_SECTION_GROUP_ID && group.id !== UNGROUPED_SECTION_ID).map((group) => group.id);
|
|
8724
8745
|
return {
|
|
@@ -8886,7 +8907,7 @@ function SlideItemInner({
|
|
|
8886
8907
|
}
|
|
8887
8908
|
);
|
|
8888
8909
|
}
|
|
8889
|
-
var SlideItem =
|
|
8910
|
+
var SlideItem = React103.memo(SlideItemInner);
|
|
8890
8911
|
function useSlidePaneCallbacks(onMoveSlide, onRenameSection, onToggleSectionCollapse) {
|
|
8891
8912
|
const [collapsedSections, setCollapsedSections] = useState({});
|
|
8892
8913
|
const [renamingSectionId, setRenamingSectionId] = useState(null);
|
|
@@ -10299,7 +10320,7 @@ function arePropsEqual(prev, next) {
|
|
|
10299
10320
|
}
|
|
10300
10321
|
return true;
|
|
10301
10322
|
}
|
|
10302
|
-
var SlideCard =
|
|
10323
|
+
var SlideCard = React103.memo(SlideCardImpl, arePropsEqual);
|
|
10303
10324
|
var ICON_CLASS = "h-3.5 w-3.5 text-muted-foreground";
|
|
10304
10325
|
function SorterContextMenu({
|
|
10305
10326
|
x,
|
|
@@ -10724,7 +10745,7 @@ function SlideSorterOverlay({
|
|
|
10724
10745
|
count: state.selectedSlideIds.length
|
|
10725
10746
|
}) })
|
|
10726
10747
|
] }),
|
|
10727
|
-
|
|
10748
|
+
React103.createElement("pptx-ui-slide-clipboard", {
|
|
10728
10749
|
ref: (node) => {
|
|
10729
10750
|
if (!node) {
|
|
10730
10751
|
return;
|
|
@@ -11640,8 +11661,8 @@ function SlideNotesPanel({
|
|
|
11640
11661
|
onHeightChange
|
|
11641
11662
|
}) {
|
|
11642
11663
|
const { t } = useTranslation();
|
|
11643
|
-
const rootRef =
|
|
11644
|
-
|
|
11664
|
+
const rootRef = React103.useRef(null);
|
|
11665
|
+
React103.useEffect(() => {
|
|
11645
11666
|
const el = rootRef.current;
|
|
11646
11667
|
if (!el || !onHeightChange) {
|
|
11647
11668
|
return void 0;
|
|
@@ -13484,9 +13505,9 @@ function PresentationSubtitleBar({
|
|
|
13484
13505
|
function renderNotesSegments(segments) {
|
|
13485
13506
|
return notesSegmentsToSpans(segments).map((span) => {
|
|
13486
13507
|
if (span.kind === "break") {
|
|
13487
|
-
return
|
|
13508
|
+
return React103.createElement("br", { key: span.key });
|
|
13488
13509
|
}
|
|
13489
|
-
return
|
|
13510
|
+
return React103.createElement(
|
|
13490
13511
|
"span",
|
|
13491
13512
|
{ key: span.key, style: span.style },
|
|
13492
13513
|
span.text
|
|
@@ -13662,7 +13683,7 @@ function scaledSlidePreviewPropsEqual(prev, next) {
|
|
|
13662
13683
|
}
|
|
13663
13684
|
return true;
|
|
13664
13685
|
}
|
|
13665
|
-
var ScaledSlidePreview =
|
|
13686
|
+
var ScaledSlidePreview = React103.memo(ScaledSlidePreviewImpl, scaledSlidePreviewPropsEqual);
|
|
13666
13687
|
function PresenterNotesRail({
|
|
13667
13688
|
slides,
|
|
13668
13689
|
current,
|
|
@@ -14891,7 +14912,7 @@ function EffectSoundRow({
|
|
|
14891
14912
|
onPickStock
|
|
14892
14913
|
}) {
|
|
14893
14914
|
const { t } = useTranslation();
|
|
14894
|
-
const fileInputRef =
|
|
14915
|
+
const fileInputRef = React103.useRef(null);
|
|
14895
14916
|
const selectedValue = soundState.catalogueId ?? (soundState.hasSound ? CURRENT_VALUE : NONE_VALUE);
|
|
14896
14917
|
const handleSelectChange = (event) => {
|
|
14897
14918
|
const value = event.target.value;
|
|
@@ -18462,7 +18483,7 @@ function ConnectorArrowsSection({
|
|
|
18462
18483
|
["Start", "End"].map((end) => {
|
|
18463
18484
|
const widthKey = end === "Start" ? "connectorStartArrowWidth" : "connectorEndArrowWidth";
|
|
18464
18485
|
const lengthKey = end === "Start" ? "connectorStartArrowLength" : "connectorEndArrowLength";
|
|
18465
|
-
return /* @__PURE__ */ jsxs(
|
|
18486
|
+
return /* @__PURE__ */ jsxs(React103.Fragment, { children: [
|
|
18466
18487
|
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1", children: [
|
|
18467
18488
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: t(END_LABEL_KEYS[end].width) }),
|
|
18468
18489
|
/* @__PURE__ */ jsx(
|
|
@@ -21390,7 +21411,7 @@ function StrokeEffectsSection({
|
|
|
21390
21411
|
] }),
|
|
21391
21412
|
EFFECT_CONFIGS.map((cfg) => {
|
|
21392
21413
|
const on = cfg.isOn(style);
|
|
21393
|
-
return /* @__PURE__ */ jsxs(
|
|
21414
|
+
return /* @__PURE__ */ jsxs(React103.Fragment, { children: [
|
|
21394
21415
|
/* @__PURE__ */ jsxs("label", { className: `inline-flex items-center gap-2 text-foreground ${COL2}`, children: [
|
|
21395
21416
|
/* @__PURE__ */ jsx(
|
|
21396
21417
|
WebCheckbox,
|
|
@@ -22245,7 +22266,7 @@ function TextWarpGallery({
|
|
|
22245
22266
|
onUpdateTextStyle
|
|
22246
22267
|
}) {
|
|
22247
22268
|
const { t } = useTranslation();
|
|
22248
|
-
const [expanded, setExpanded] =
|
|
22269
|
+
const [expanded, setExpanded] = React103.useState(false);
|
|
22249
22270
|
const currentPreset = ts?.textWarpPreset || "textNoShape";
|
|
22250
22271
|
return /* @__PURE__ */ jsxs("div", { className: "mt-2 rounded border border-border bg-card p-2 space-y-2", children: [
|
|
22251
22272
|
/* @__PURE__ */ jsxs(
|
|
@@ -22888,7 +22909,7 @@ function SmartArtStyleControls({
|
|
|
22888
22909
|
onChangeStyle
|
|
22889
22910
|
}) {
|
|
22890
22911
|
const { t } = useTranslation();
|
|
22891
|
-
const translate =
|
|
22912
|
+
const translate = React103.useCallback((key) => t(key), [t]);
|
|
22892
22913
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
22893
22914
|
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1 text-[11px]", children: [
|
|
22894
22915
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: t("pptx.smartart.colorScheme") }),
|
|
@@ -22943,9 +22964,9 @@ function SmartArtPropertiesPanel({
|
|
|
22943
22964
|
const nodes = smartArtData.nodes ?? [];
|
|
22944
22965
|
const layout = smartArtData.resolvedLayoutType;
|
|
22945
22966
|
const topLevelCount = nodes.filter((n) => !n.parentId).length;
|
|
22946
|
-
const inputRefs =
|
|
22947
|
-
const pendingFocusId =
|
|
22948
|
-
|
|
22967
|
+
const inputRefs = React103.useRef(/* @__PURE__ */ new Map());
|
|
22968
|
+
const pendingFocusId = React103.useRef(null);
|
|
22969
|
+
React103.useEffect(() => {
|
|
22949
22970
|
const id = pendingFocusId.current;
|
|
22950
22971
|
if (id) {
|
|
22951
22972
|
inputRefs.current.get(id)?.focus();
|
|
@@ -24551,7 +24572,7 @@ function CommentBody({ text, mentions, className }) {
|
|
|
24551
24572
|
index
|
|
24552
24573
|
) : (
|
|
24553
24574
|
// eslint-disable-next-line react/no-array-index-key -- segments are positional
|
|
24554
|
-
/* @__PURE__ */ jsx(
|
|
24575
|
+
/* @__PURE__ */ jsx(React103.Fragment, { children: segment.text }, index)
|
|
24555
24576
|
)
|
|
24556
24577
|
) });
|
|
24557
24578
|
}
|
|
@@ -24645,6 +24666,7 @@ function InspectorCommentRow({
|
|
|
24645
24666
|
"rounded border border-border bg-card p-2",
|
|
24646
24667
|
depth > 0 && "ml-3 border-l-2 border-l-primary/40"
|
|
24647
24668
|
),
|
|
24669
|
+
"data-comment-id": comment.id,
|
|
24648
24670
|
children: [
|
|
24649
24671
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between gap-2", children: [
|
|
24650
24672
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1.5 min-w-0", children: [
|
|
@@ -26067,7 +26089,7 @@ function PresentationPropertiesPanel({
|
|
|
26067
26089
|
onUpdateTagCollections
|
|
26068
26090
|
}) {
|
|
26069
26091
|
const { t } = useTranslation();
|
|
26070
|
-
const handleTransitionChange =
|
|
26092
|
+
const handleTransitionChange = React103.useCallback(
|
|
26071
26093
|
(updates) => {
|
|
26072
26094
|
onUpdateSlide({
|
|
26073
26095
|
transition: mergeSlideTransition(activeSlide?.transition, updates)
|
|
@@ -29458,7 +29480,7 @@ function ViewerToolbarSection(props) {
|
|
|
29458
29480
|
},
|
|
29459
29481
|
[activeSlide, propertyHandlers]
|
|
29460
29482
|
);
|
|
29461
|
-
const scopedLayoutOptions =
|
|
29483
|
+
const scopedLayoutOptions = React103.useMemo(
|
|
29462
29484
|
() => scopeLayoutOptionsToActiveSlide(s.layoutOptions, activeSlide),
|
|
29463
29485
|
[s.layoutOptions, activeSlide]
|
|
29464
29486
|
);
|
|
@@ -29862,6 +29884,12 @@ function ViewerToolbarSection(props) {
|
|
|
29862
29884
|
},
|
|
29863
29885
|
isCommentsPanelOpen: s.isInspectorPaneOpen,
|
|
29864
29886
|
slideCommentCount: activeSlide?.comments?.length ?? 0,
|
|
29887
|
+
reviewComments: createReviewCommentsHost({
|
|
29888
|
+
state: s,
|
|
29889
|
+
activeSlideIndex,
|
|
29890
|
+
updateSlides: ops.updateSlides,
|
|
29891
|
+
markDirty: history.markDirty
|
|
29892
|
+
}),
|
|
29865
29893
|
formatPainterActive: s.formatPainterActive,
|
|
29866
29894
|
canActivateFormatPainter: hasCopyableFormat(selectedElement),
|
|
29867
29895
|
onToggleFormatPainter: onToggleFormatPainterProp ?? (() => s.setFormatPainterActive((p) => !p)),
|
|
@@ -34332,6 +34360,7 @@ function useRibbonGalleryCommands2(input) {
|
|
|
34332
34360
|
themeColorMap,
|
|
34333
34361
|
handlerRef,
|
|
34334
34362
|
editable,
|
|
34363
|
+
tableEditorState,
|
|
34335
34364
|
updateElementById,
|
|
34336
34365
|
updateThemeColorScheme,
|
|
34337
34366
|
updateThemeFontScheme
|
|
@@ -34342,9 +34371,10 @@ function useRibbonGalleryCommands2(input) {
|
|
|
34342
34371
|
element: selectedElement ?? null,
|
|
34343
34372
|
themeColorMap,
|
|
34344
34373
|
theme,
|
|
34345
|
-
resolveStyleMatrix: handler ? (styleXml) => handler.resolveStyleMatrixReferences(styleXml) : void 0
|
|
34374
|
+
resolveStyleMatrix: handler ? (styleXml) => handler.resolveStyleMatrixReferences(styleXml) : void 0,
|
|
34375
|
+
selectedTableCells: tableLayoutCells(tableEditorState)
|
|
34346
34376
|
}),
|
|
34347
|
-
[selectedElement, themeColorMap, theme, handler]
|
|
34377
|
+
[selectedElement, themeColorMap, theme, handler, tableEditorState]
|
|
34348
34378
|
);
|
|
34349
34379
|
const dispatch = useCallback(
|
|
34350
34380
|
(result) => {
|
|
@@ -35219,6 +35249,7 @@ ${url}`)
|
|
|
35219
35249
|
themeColorMap: themeColorMapValue,
|
|
35220
35250
|
handlerRef,
|
|
35221
35251
|
editable: canEdit && (mode === "edit" || mode === "master"),
|
|
35252
|
+
tableEditorState: state.tableEditorState,
|
|
35222
35253
|
updateElementById: editorOps.ops.updateElementById,
|
|
35223
35254
|
updateThemeColorScheme: themeHandlers.handleUpdateThemeColorScheme,
|
|
35224
35255
|
updateThemeFontScheme: themeHandlers.handleUpdateThemeFontScheme
|
|
Binary file
|
|
Binary file
|
|
@@ -12275,6 +12275,31 @@ function buildCanvasProps(input) {
|
|
|
12275
12275
|
}
|
|
12276
12276
|
};
|
|
12277
12277
|
}
|
|
12278
|
+
|
|
12279
|
+
// src/viewer/hooks/createReviewCommentsHost.ts
|
|
12280
|
+
function createReviewCommentsHost(input) {
|
|
12281
|
+
const { state: s, activeSlideIndex, updateSlides, markDirty } = input;
|
|
12282
|
+
return {
|
|
12283
|
+
slides: () => s.slides,
|
|
12284
|
+
currentSlide: () => activeSlideIndex,
|
|
12285
|
+
goToSlide: (index) => s.setActiveSlideIndex(index),
|
|
12286
|
+
ensureCommentsOpen: () => {
|
|
12287
|
+
s.setSidebarPanelMode("comments");
|
|
12288
|
+
if (!s.isInspectorPaneOpen) {
|
|
12289
|
+
s.setIsInspectorPaneOpen(true);
|
|
12290
|
+
}
|
|
12291
|
+
},
|
|
12292
|
+
applyComments: (changes) => {
|
|
12293
|
+
updateSlides(
|
|
12294
|
+
(slides) => slides.map((slide, index) => {
|
|
12295
|
+
const change = changes.find((candidate) => candidate.slideIndex === index);
|
|
12296
|
+
return change ? { ...slide, comments: change.comments } : slide;
|
|
12297
|
+
})
|
|
12298
|
+
);
|
|
12299
|
+
markDirty();
|
|
12300
|
+
}
|
|
12301
|
+
};
|
|
12302
|
+
}
|
|
12278
12303
|
function scopeLayoutOptionsToActiveSlide(options, activeSlide) {
|
|
12279
12304
|
return scopeLayoutOptionsToSlide(options, activeSlide?.layoutPath);
|
|
12280
12305
|
}
|
|
@@ -12560,6 +12585,12 @@ function buildToolbarProps(input) {
|
|
|
12560
12585
|
},
|
|
12561
12586
|
isCommentsPanelOpen: s.isInspectorPaneOpen,
|
|
12562
12587
|
slideCommentCount: activeSlide?.comments?.length ?? 0,
|
|
12588
|
+
reviewComments: createReviewCommentsHost({
|
|
12589
|
+
state: s,
|
|
12590
|
+
activeSlideIndex,
|
|
12591
|
+
updateSlides: ops.updateSlides,
|
|
12592
|
+
markDirty: history.markDirty
|
|
12593
|
+
}),
|
|
12563
12594
|
formatPainterActive: s.formatPainterActive,
|
|
12564
12595
|
canActivateFormatPainter: hasCopyableFormat(selectedElement),
|
|
12565
12596
|
onToggleFormatPainter: () => s.setFormatPainterActive((p) => !p),
|
|
@@ -18883,4 +18914,4 @@ function useResizablePanels() {
|
|
|
18883
18914
|
};
|
|
18884
18915
|
}
|
|
18885
18916
|
|
|
18886
|
-
export { ACTION_VERB_MAP, ChartPartSelectionProvider, CollaborationCursorOverlay, CollaborationProvider, ElementRenderer, FragmentedTransitionLayer, InlineCollaborationContext, MIN_TOUCH_TARGET, MorphTransitionOverlay, PresentationTransitionOverlay, RemoteSelectionOverlay, RemoteUserCursors, Rendering3DFlagsContext, ResizeHandles, SlideBackgroundImageLayer, SlideLayer, SmartArtRenderer, StaticElementRenderer, ViewerOptionsContext, ViewerOptionsStoreContext, computeToolbarVisibility, detectTargetType, imgSrc, isAudienceTab, parseAudienceNonce, parseEmailUrl, parseSlideFromUrl, playAnimationSound, renderStrokeView, renderToCanvas, resolveSmartArtDataPalette, safePrompt, scopeLayoutOptionsToActiveSlide, useAnimationPlayback, useAnnotationHandlers, useAudienceMode, useAutosave, useBroadcastFollower, useCanvasInteractions, useChartPartSelection, useClipboardHandlers, useCollaboration, useCollaborationDocumentSync, useCollaborativeHistory, useCollaborativeState, useComments, useCompatibilityToastsState, useContentLifecycle, useDerivedElementState, useDerivedSlideState, useDialogCustomShows, useEditorHistory, useEditorOperations, useElementManipulation, useElementOperations, useExportHandlers, useExportSaveAs, useFindReplace, useFollowMode, useFontInjection, useGroupAlignLayerHandlers, useIOHandlers, useInsertElements, useIsMobile, useKeyboardInsets, useKeyboardShortcutWiring, useKeyboardShortcuts, useLayoutSwitching, useLoadContent, useMergeShapesHandler, useModalDismissDrag, usePointerHandlers, usePresenceTracking, usePresentationAnnotations, usePresentationKeyboard, usePresentationMode, usePresentationSetup, usePresenterWindow, usePrintHandlers, usePropertyHandlers, useReadOnlyRecommendationState, useRecoveryDetection, useReducedMotion, useRehearsalTimings, useResizablePanels, useSectionOperations, useSerialize, useSheetDismissDrag, useSlideManagement, useSlideNavigation, useSwipeNavigation, useTableOperations, useThemeHandlers, useThemeSwitching, useToolbarVisibility, useTouchGestures, useViewPreferencesSync, useViewerBuildingBlocks, useViewerCoreState, useViewerDialogs, useViewerIntegration, useViewerOptions, useViewerOptionsContext, useViewerState, useViewerUIState, useVirtualizedSlides, useYjsDocumentSync, useYjsProvider, useZoomNavigation, useZoomViewport };
|
|
18917
|
+
export { ACTION_VERB_MAP, ChartPartSelectionProvider, CollaborationCursorOverlay, CollaborationProvider, ElementRenderer, FragmentedTransitionLayer, InlineCollaborationContext, MIN_TOUCH_TARGET, MorphTransitionOverlay, PresentationTransitionOverlay, RemoteSelectionOverlay, RemoteUserCursors, Rendering3DFlagsContext, ResizeHandles, SlideBackgroundImageLayer, SlideLayer, SmartArtRenderer, StaticElementRenderer, ViewerOptionsContext, ViewerOptionsStoreContext, computeToolbarVisibility, createReviewCommentsHost, detectTargetType, imgSrc, isAudienceTab, parseAudienceNonce, parseEmailUrl, parseSlideFromUrl, playAnimationSound, renderStrokeView, renderToCanvas, resolveSmartArtDataPalette, safePrompt, scopeLayoutOptionsToActiveSlide, useAnimationPlayback, useAnnotationHandlers, useAudienceMode, useAutosave, useBroadcastFollower, useCanvasInteractions, useChartPartSelection, useClipboardHandlers, useCollaboration, useCollaborationDocumentSync, useCollaborativeHistory, useCollaborativeState, useComments, useCompatibilityToastsState, useContentLifecycle, useDerivedElementState, useDerivedSlideState, useDialogCustomShows, useEditorHistory, useEditorOperations, useElementManipulation, useElementOperations, useExportHandlers, useExportSaveAs, useFindReplace, useFollowMode, useFontInjection, useGroupAlignLayerHandlers, useIOHandlers, useInsertElements, useIsMobile, useKeyboardInsets, useKeyboardShortcutWiring, useKeyboardShortcuts, useLayoutSwitching, useLoadContent, useMergeShapesHandler, useModalDismissDrag, usePointerHandlers, usePresenceTracking, usePresentationAnnotations, usePresentationKeyboard, usePresentationMode, usePresentationSetup, usePresenterWindow, usePrintHandlers, usePropertyHandlers, useReadOnlyRecommendationState, useRecoveryDetection, useReducedMotion, useRehearsalTimings, useResizablePanels, useSectionOperations, useSerialize, useSheetDismissDrag, useSlideManagement, useSlideNavigation, useSwipeNavigation, useTableOperations, useThemeHandlers, useThemeSwitching, useToolbarVisibility, useTouchGestures, useViewPreferencesSync, useViewerBuildingBlocks, useViewerCoreState, useViewerDialogs, useViewerIntegration, useViewerOptions, useViewerOptionsContext, useViewerState, useViewerUIState, useVirtualizedSlides, useYjsDocumentSync, useYjsProvider, useZoomNavigation, useZoomViewport };
|
|
Binary file
|
|
Binary file
|
|
@@ -12280,6 +12280,31 @@ function buildCanvasProps(input) {
|
|
|
12280
12280
|
}
|
|
12281
12281
|
};
|
|
12282
12282
|
}
|
|
12283
|
+
|
|
12284
|
+
// src/viewer/hooks/createReviewCommentsHost.ts
|
|
12285
|
+
function createReviewCommentsHost(input) {
|
|
12286
|
+
const { state: s, activeSlideIndex, updateSlides, markDirty } = input;
|
|
12287
|
+
return {
|
|
12288
|
+
slides: () => s.slides,
|
|
12289
|
+
currentSlide: () => activeSlideIndex,
|
|
12290
|
+
goToSlide: (index) => s.setActiveSlideIndex(index),
|
|
12291
|
+
ensureCommentsOpen: () => {
|
|
12292
|
+
s.setSidebarPanelMode("comments");
|
|
12293
|
+
if (!s.isInspectorPaneOpen) {
|
|
12294
|
+
s.setIsInspectorPaneOpen(true);
|
|
12295
|
+
}
|
|
12296
|
+
},
|
|
12297
|
+
applyComments: (changes) => {
|
|
12298
|
+
updateSlides(
|
|
12299
|
+
(slides) => slides.map((slide, index) => {
|
|
12300
|
+
const change = changes.find((candidate) => candidate.slideIndex === index);
|
|
12301
|
+
return change ? { ...slide, comments: change.comments } : slide;
|
|
12302
|
+
})
|
|
12303
|
+
);
|
|
12304
|
+
markDirty();
|
|
12305
|
+
}
|
|
12306
|
+
};
|
|
12307
|
+
}
|
|
12283
12308
|
function scopeLayoutOptionsToActiveSlide(options, activeSlide) {
|
|
12284
12309
|
return pptx.scopeLayoutOptionsToSlide(options, activeSlide?.layoutPath);
|
|
12285
12310
|
}
|
|
@@ -12565,6 +12590,12 @@ function buildToolbarProps(input) {
|
|
|
12565
12590
|
},
|
|
12566
12591
|
isCommentsPanelOpen: s.isInspectorPaneOpen,
|
|
12567
12592
|
slideCommentCount: activeSlide?.comments?.length ?? 0,
|
|
12593
|
+
reviewComments: createReviewCommentsHost({
|
|
12594
|
+
state: s,
|
|
12595
|
+
activeSlideIndex,
|
|
12596
|
+
updateSlides: ops.updateSlides,
|
|
12597
|
+
markDirty: history.markDirty
|
|
12598
|
+
}),
|
|
12568
12599
|
formatPainterActive: s.formatPainterActive,
|
|
12569
12600
|
canActivateFormatPainter: chunk43TOUP5U_js.hasCopyableFormat(selectedElement),
|
|
12570
12601
|
onToggleFormatPainter: () => s.setFormatPainterActive((p) => !p),
|
|
@@ -18949,6 +18980,7 @@ exports.StaticElementRenderer = StaticElementRenderer;
|
|
|
18949
18980
|
exports.ViewerOptionsContext = ViewerOptionsContext;
|
|
18950
18981
|
exports.ViewerOptionsStoreContext = ViewerOptionsStoreContext;
|
|
18951
18982
|
exports.computeToolbarVisibility = computeToolbarVisibility;
|
|
18983
|
+
exports.createReviewCommentsHost = createReviewCommentsHost;
|
|
18952
18984
|
exports.detectTargetType = detectTargetType;
|
|
18953
18985
|
exports.imgSrc = imgSrc;
|
|
18954
18986
|
exports.isAudienceTab = isAudienceTab;
|
|
Binary file
|
|
Binary file
|
package/dist/i18n/de.cjs
CHANGED
|
@@ -3708,8 +3708,58 @@ var translations24 = {
|
|
|
3708
3708
|
"pptx.smartArt.fillColor": "F\xFCllfarbe"
|
|
3709
3709
|
};
|
|
3710
3710
|
|
|
3711
|
-
// src/de/
|
|
3711
|
+
// src/de/table-layout.ts
|
|
3712
3712
|
var translations25 = {
|
|
3713
|
+
"pptx.ribbon.tab.tableLayout": "Tabellenlayout",
|
|
3714
|
+
"pptx.ribbon.groupTable": "Tabelle",
|
|
3715
|
+
"pptx.ribbon.groupRowsColumns": "Zeilen und Spalten",
|
|
3716
|
+
"pptx.ribbon.groupMerge": "Zusammenf\xFChren",
|
|
3717
|
+
"pptx.ribbon.groupCellSize": "Zellengr\xF6\xDFe",
|
|
3718
|
+
"pptx.ribbon.groupAlignment": "Ausrichtung",
|
|
3719
|
+
"pptx.ribbon.groupTableSize": "Tabellengr\xF6\xDFe",
|
|
3720
|
+
"pptx.ribbon.groupArrange": "Anordnen",
|
|
3721
|
+
"pptx.gallery.tableLayout.select": "Ausw\xE4hlen",
|
|
3722
|
+
"pptx.gallery.tableLayout.viewGridlines": "Gitternetzlinien anzeigen",
|
|
3723
|
+
"pptx.gallery.tableLayout.deleteRows": "Zeilen l\xF6schen",
|
|
3724
|
+
"pptx.gallery.tableLayout.deleteColumns": "Spalten l\xF6schen",
|
|
3725
|
+
"pptx.gallery.tableLayout.insertAbove": "Oberhalb einf\xFCgen",
|
|
3726
|
+
"pptx.gallery.tableLayout.insertBelow": "Unterhalb einf\xFCgen",
|
|
3727
|
+
"pptx.gallery.tableLayout.insertLeft": "Links einf\xFCgen",
|
|
3728
|
+
"pptx.gallery.tableLayout.insertRight": "Rechts einf\xFCgen",
|
|
3729
|
+
"pptx.gallery.tableLayout.mergeCells": "Zellen verbinden",
|
|
3730
|
+
"pptx.gallery.tableLayout.splitCells": "Zellen teilen",
|
|
3731
|
+
"pptx.gallery.tableLayout.distributeRows": "Zeilen verteilen",
|
|
3732
|
+
"pptx.gallery.tableLayout.distributeColumns": "Spalten verteilen",
|
|
3733
|
+
"pptx.gallery.tableLayout.alignLeft": "Linksb\xFCndig",
|
|
3734
|
+
"pptx.gallery.tableLayout.alignCenter": "Zentriert",
|
|
3735
|
+
"pptx.gallery.tableLayout.alignRight": "Rechtsb\xFCndig",
|
|
3736
|
+
"pptx.gallery.tableLayout.alignTop": "Oben ausrichten",
|
|
3737
|
+
"pptx.gallery.tableLayout.alignMiddle": "Vertikal zentrieren",
|
|
3738
|
+
"pptx.gallery.tableLayout.alignBottom": "Unten ausrichten",
|
|
3739
|
+
"pptx.gallery.tableLayout.textDirection": "Textrichtung",
|
|
3740
|
+
"pptx.gallery.tableLayout.cellMargins": "Zellenr\xE4nder",
|
|
3741
|
+
"pptx.gallery.tableLayout.tableSize": "Tabellengr\xF6\xDFe",
|
|
3742
|
+
"pptx.gallery.tableLayout.arrange": "Anordnen",
|
|
3743
|
+
"pptx.gallery.tableLayout.direction.horizontal": "Horizontal",
|
|
3744
|
+
"pptx.gallery.tableLayout.direction.rotate90": "Gesamten Text um 90\xB0 drehen",
|
|
3745
|
+
"pptx.gallery.tableLayout.direction.rotate270": "Gesamten Text um 270\xB0 drehen",
|
|
3746
|
+
"pptx.gallery.tableLayout.direction.stacked": "Gestapelt",
|
|
3747
|
+
"pptx.gallery.tableLayout.needsCells": "W\xE4hlen Sie Zellen in der Tabelle aus, um diesen Befehl zu verwenden",
|
|
3748
|
+
"pptx.gallery.tableLayout.selectHint": "Klicken oder ziehen Sie in der Tabelle, um Zellen auszuw\xE4hlen",
|
|
3749
|
+
"pptx.gallery.tableLayout.inInspector": "Legen Sie dies im Inspektor fest, w\xE4hrend die Tabelle ausgew\xE4hlt ist",
|
|
3750
|
+
"pptx.gallery.tableLayout.inHome": "Verwenden Sie Start > Anordnen",
|
|
3751
|
+
"pptx.review.deleteSlideComments": "Folienkommentare l\xF6schen",
|
|
3752
|
+
"pptx.review.deleteAllComments": "Alle Kommentare l\xF6schen",
|
|
3753
|
+
"pptx.review.deleteCommentTitle": "Den ausgew\xE4hlten Kommentar l\xF6schen",
|
|
3754
|
+
"pptx.review.previousCommentTitle": "Zum vorherigen Kommentar wechseln",
|
|
3755
|
+
"pptx.review.nextCommentTitle": "Zum n\xE4chsten Kommentar wechseln",
|
|
3756
|
+
"pptx.review.noCommentsHint": "Diese Pr\xE4sentation enth\xE4lt keine Kommentare",
|
|
3757
|
+
"pptx.review.noSelectedCommentHint": "W\xE4hlen Sie zuerst mit \u201EZur\xFCck\u201C oder \u201EWeiter\u201C einen Kommentar aus",
|
|
3758
|
+
"pptx.review.markAllReadHint": "Kommentare haben in diesem Viewer keinen Lesestatus, daher gibt es nichts zu markieren"
|
|
3759
|
+
};
|
|
3760
|
+
|
|
3761
|
+
// src/de/tables.ts
|
|
3762
|
+
var translations26 = {
|
|
3713
3763
|
"pptx.table.background": "Hintergrund",
|
|
3714
3764
|
"pptx.table.bandColCycle": "Spaltenbandgr\xF6\xDFe",
|
|
3715
3765
|
"pptx.table.bandRowCycle": "Zeilenbandgr\xF6\xDFe",
|
|
@@ -3841,7 +3891,7 @@ var translations25 = {
|
|
|
3841
3891
|
};
|
|
3842
3892
|
|
|
3843
3893
|
// src/de/text-and-equations.ts
|
|
3844
|
-
var
|
|
3894
|
+
var translations27 = {
|
|
3845
3895
|
"pptx.text3d.type": "Typ",
|
|
3846
3896
|
"pptx.text3d.width": "Breite",
|
|
3847
3897
|
"pptx.text3d.height": "H\xF6he",
|
|
@@ -4016,7 +4066,7 @@ var translations26 = {
|
|
|
4016
4066
|
};
|
|
4017
4067
|
|
|
4018
4068
|
// src/de/viewer-options.ts
|
|
4019
|
-
var
|
|
4069
|
+
var translations28 = {
|
|
4020
4070
|
"pptx.options.title": "Optionen",
|
|
4021
4071
|
"pptx.options.resetAll": "Alle Optionen zur\xFCcksetzen",
|
|
4022
4072
|
"pptx.options.resetTab": "Diese Registerkarte zur\xFCcksetzen",
|
|
@@ -4232,18 +4282,19 @@ var translationsDe = {
|
|
|
4232
4282
|
...translations16,
|
|
4233
4283
|
...translations7,
|
|
4234
4284
|
...translations24,
|
|
4235
|
-
...
|
|
4285
|
+
...translations27,
|
|
4236
4286
|
...translations13,
|
|
4237
4287
|
...translations12,
|
|
4238
|
-
...
|
|
4288
|
+
...translations26,
|
|
4239
4289
|
...translations17,
|
|
4240
4290
|
...translations23,
|
|
4241
|
-
...
|
|
4291
|
+
...translations28,
|
|
4242
4292
|
...translations18,
|
|
4243
4293
|
...translations21,
|
|
4244
4294
|
...translations22,
|
|
4245
4295
|
...translations19,
|
|
4246
|
-
...translations20
|
|
4296
|
+
...translations20,
|
|
4297
|
+
...translations25
|
|
4247
4298
|
};
|
|
4248
4299
|
// Annotate the CommonJS export names for ESM import in node:
|
|
4249
4300
|
0 && (module.exports = {
|
package/dist/i18n/de.cjs.br
CHANGED
|
Binary file
|
package/dist/i18n/de.cjs.gz
CHANGED
|
Binary file
|