pptx-react-viewer 2.11.0 → 2.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -0
- package/dist/{AiChatPanel-PJPSDMN4.js → AiChatPanel-E6W3EACA.js} +23 -23
- package/dist/AiChatPanel-E6W3EACA.js.br +0 -0
- package/dist/AiChatPanel-E6W3EACA.js.gz +0 -0
- package/dist/{AiChatPanel-EX2TBRJM.mjs → AiChatPanel-RMQIJDUJ.mjs} +4 -4
- package/dist/AiChatPanel-RMQIJDUJ.mjs.br +0 -0
- package/dist/AiChatPanel-RMQIJDUJ.mjs.gz +0 -0
- package/dist/{Model3DScene-UCBPTEAY.js → Model3DScene-U4B4NZJT.js} +2 -2
- package/dist/Model3DScene-U4B4NZJT.js.br +0 -0
- package/dist/Model3DScene-U4B4NZJT.js.gz +0 -0
- package/dist/{Model3DScene-TTQFV7OS.mjs → Model3DScene-WHSHBMR5.mjs} +1 -1
- package/dist/Model3DScene-WHSHBMR5.mjs.br +0 -0
- package/dist/Model3DScene-WHSHBMR5.mjs.gz +0 -0
- package/dist/{SurfaceChart3DScene-ADKCYYOQ.js → SurfaceChart3DScene-5S43UBRD.js} +2 -2
- package/dist/SurfaceChart3DScene-5S43UBRD.js.br +0 -0
- package/dist/SurfaceChart3DScene-5S43UBRD.js.gz +0 -0
- package/dist/{SurfaceChart3DScene-5SZCRHZI.mjs → SurfaceChart3DScene-77JP5XH5.mjs} +1 -1
- package/dist/{SurfaceChart3DScene-5SZCRHZI.mjs.br → SurfaceChart3DScene-77JP5XH5.mjs.br} +0 -0
- package/dist/SurfaceChart3DScene-77JP5XH5.mjs.gz +0 -0
- package/dist/{chunk-RJEY2KZH.mjs → chunk-DD54KUDG.mjs} +3 -3
- package/dist/chunk-DD54KUDG.mjs.br +0 -0
- package/dist/chunk-DD54KUDG.mjs.gz +0 -0
- package/dist/{chunk-MM5RMRSP.js → chunk-FAP6OPLL.js} +250 -250
- package/dist/chunk-FAP6OPLL.js.br +0 -0
- package/dist/chunk-FAP6OPLL.js.gz +0 -0
- package/dist/{chunk-C2UWTH42.mjs → chunk-FV7HEYCX.mjs} +211 -3
- package/dist/chunk-FV7HEYCX.mjs.br +0 -0
- package/dist/{chunk-C2UWTH42.mjs.gz → chunk-FV7HEYCX.mjs.gz} +0 -0
- package/dist/{chunk-UZVRM6LD.mjs → chunk-HF6L2CTF.mjs} +1 -1
- package/dist/chunk-HF6L2CTF.mjs.br +0 -0
- package/dist/chunk-HF6L2CTF.mjs.gz +0 -0
- package/dist/{chunk-N6IHR6PS.js → chunk-IOVOQ6ZJ.js} +89 -1
- package/dist/chunk-IOVOQ6ZJ.js.br +0 -0
- package/dist/{chunk-N6IHR6PS.js.gz → chunk-IOVOQ6ZJ.js.gz} +0 -0
- package/dist/{chunk-E367QIKR.js → chunk-IXBM3HWH.js} +1109 -1070
- package/dist/chunk-IXBM3HWH.js.br +0 -0
- package/dist/chunk-IXBM3HWH.js.gz +0 -0
- package/dist/{chunk-HMQVOPQH.js → chunk-KDJBWJJH.js} +222 -2
- package/dist/chunk-KDJBWJJH.js.br +0 -0
- package/dist/{chunk-HMQVOPQH.js.gz → chunk-KDJBWJJH.js.gz} +0 -0
- package/dist/{chunk-HK2UERUX.mjs → chunk-NJ4PTG4F.mjs} +30 -28
- package/dist/chunk-NJ4PTG4F.mjs.br +0 -0
- package/dist/chunk-NJ4PTG4F.mjs.gz +0 -0
- package/dist/{chunk-L2CM5EUD.mjs → chunk-PXYZFWDA.mjs} +142 -103
- package/dist/chunk-PXYZFWDA.mjs.br +0 -0
- package/dist/chunk-PXYZFWDA.mjs.gz +0 -0
- package/dist/{chunk-4J7SPY64.js → chunk-QT6BPOZM.js} +352 -350
- package/dist/chunk-QT6BPOZM.js.br +0 -0
- package/dist/chunk-QT6BPOZM.js.gz +0 -0
- package/dist/{chunk-53NXKDMZ.mjs → chunk-RHR7GTDX.mjs} +89 -1
- package/dist/chunk-RHR7GTDX.mjs.br +0 -0
- package/dist/{chunk-53NXKDMZ.mjs.gz → chunk-RHR7GTDX.mjs.gz} +0 -0
- package/dist/{chunk-VNP627O5.js → chunk-X3SFCKAF.js} +3 -3
- package/dist/chunk-X3SFCKAF.js.br +0 -0
- package/dist/chunk-X3SFCKAF.js.gz +0 -0
- package/dist/i18n.js +4 -4
- package/dist/i18n.js.br +0 -0
- package/dist/i18n.js.gz +0 -0
- package/dist/i18n.mjs +1 -1
- package/dist/i18n.mjs.br +0 -0
- package/dist/i18n.mjs.gz +0 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +36 -36
- package/dist/index.js.br +0 -0
- package/dist/index.js.gz +0 -0
- package/dist/index.mjs +6 -6
- package/dist/index.mjs.br +0 -0
- package/dist/index.mjs.gz +0 -0
- package/dist/internals.d.ts +12 -1
- package/dist/internals.d.ts.map +1 -1
- package/dist/internals.js +79 -79
- package/dist/internals.js.br +0 -0
- package/dist/internals.js.gz +0 -0
- package/dist/internals.mjs +4 -4
- package/dist/internals.mjs.br +0 -0
- package/dist/internals.mjs.gz +0 -0
- package/dist/{useViewerBuildingBlocks-Rqxm0pRS.d.ts → useViewerBuildingBlocks-YvCYsxa3.d.ts} +5 -1
- package/dist/useViewerBuildingBlocks-YvCYsxa3.d.ts.map +1 -0
- package/dist/viewer/index.js +22 -22
- package/dist/viewer/index.js.br +0 -0
- package/dist/viewer/index.js.gz +0 -0
- package/dist/viewer/index.mjs +6 -6
- package/dist/viewer/index.mjs.br +0 -0
- package/dist/viewer/index.mjs.gz +0 -0
- package/package.json +1 -1
- package/dist/AiChatPanel-EX2TBRJM.mjs.br +0 -0
- package/dist/AiChatPanel-EX2TBRJM.mjs.gz +0 -0
- package/dist/AiChatPanel-PJPSDMN4.js.br +0 -0
- package/dist/AiChatPanel-PJPSDMN4.js.gz +0 -0
- package/dist/Model3DScene-TTQFV7OS.mjs.br +0 -0
- package/dist/Model3DScene-TTQFV7OS.mjs.gz +0 -0
- package/dist/Model3DScene-UCBPTEAY.js.br +0 -0
- package/dist/Model3DScene-UCBPTEAY.js.gz +0 -0
- package/dist/SurfaceChart3DScene-5SZCRHZI.mjs.gz +0 -0
- package/dist/SurfaceChart3DScene-ADKCYYOQ.js.br +0 -0
- package/dist/SurfaceChart3DScene-ADKCYYOQ.js.gz +0 -0
- package/dist/chunk-4J7SPY64.js.br +0 -0
- package/dist/chunk-4J7SPY64.js.gz +0 -0
- package/dist/chunk-53NXKDMZ.mjs.br +0 -0
- package/dist/chunk-C2UWTH42.mjs.br +0 -0
- package/dist/chunk-E367QIKR.js.br +0 -0
- package/dist/chunk-E367QIKR.js.gz +0 -0
- package/dist/chunk-HK2UERUX.mjs.br +0 -0
- package/dist/chunk-HK2UERUX.mjs.gz +0 -0
- package/dist/chunk-HMQVOPQH.js.br +0 -0
- package/dist/chunk-L2CM5EUD.mjs.br +0 -0
- package/dist/chunk-L2CM5EUD.mjs.gz +0 -0
- package/dist/chunk-MM5RMRSP.js.br +0 -0
- package/dist/chunk-MM5RMRSP.js.gz +0 -0
- package/dist/chunk-N6IHR6PS.js.br +0 -0
- package/dist/chunk-RJEY2KZH.mjs.br +0 -0
- package/dist/chunk-RJEY2KZH.mjs.gz +0 -0
- package/dist/chunk-UZVRM6LD.mjs.br +0 -0
- package/dist/chunk-UZVRM6LD.mjs.gz +0 -0
- package/dist/chunk-VNP627O5.js.br +0 -0
- package/dist/chunk-VNP627O5.js.gz +0 -0
- package/dist/useViewerBuildingBlocks-Rqxm0pRS.d.ts.map +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { computeFocusTargets, aiChangeAnimationCss, changeGhostStyle, createChatHistoryStore, toRenderableParts } from './chunk-
|
|
2
|
-
import { useReducedMotion, useViewerState, useViewerOptions, useIsMobile, useResizablePanels, useDerivedSlideState, useZoomViewport, useEditorHistory, usePresentationSetup, useTouchGestures, useViewerDialogs, useEditorOperations, useViewerIntegration, useYjsDocumentSync, useCollaborationLivePatch, useFollowMode, useBroadcastFollower, scopeLayoutOptionsToActiveSlide, useToolbarVisibility, useKeyboardInsets, useModalDismissDrag, useCollaborativeState, useVirtualizedSlides, useSwipeNavigation, useSheetDismissDrag, detectTargetType, parseEmailUrl, parseSlideFromUrl, ACTION_VERB_MAP, downloadBlob } from './chunk-
|
|
3
|
-
import { SHAPE_PRESETS, DEFAULT_STROKE_COLOR, getConnectorPathGeometry, buildLineShadowCss, buildLineGlowFilter, renderConnectorMarker, MIN_ELEMENT_SIZE, getShapeVisualStyle, getTextStyleForElement, DEFAULT_TEXT_COLOR, renderVectorShape, isConnectorOrLineElement, build3DExtrusionData, getImageRenderStyle, cn, ANIMATION_PRESET_OPTIONS, resolvePalette, resolveStyle, layoutToCategory, wrapChrome, DEFAULT_FILL_COLOR, hasDagDuotoneEffect, renderDagDuotoneSvgFilter, getTextLayoutStyle, renderTableElement, renderMediaElement, shouldRenderFallbackLabel, getCropShapeClipPath, SLIDE_NAV_THUMBNAIL_WIDTH, styleShadow, styleStroke, colour, fitFontSize, smartArtNodeGroupProps, chevronPoints, SmartArtNodeText, truncate, renderStepDownProcess, renderAlternatingFlow, renderDescendingProcess, renderPictureAccentList, renderVerticalBlockList, renderGroupedList, renderPyramidList, renderHorizontalPictureList, renderAccentProcess, renderVerticalChevronList, isImageTiled, getImageTilingStyle, getDuotoneColors, getTextWarpStyle, renderTextSegments, buildReactChartViewModel, renderChartElement, buildTextBody3DSceneStyle, TOOLBAR_SECTIONS, SHORTCUT_REFERENCE_ITEMS as SHORTCUT_REFERENCE_ITEMS$1, buildTree, treeWidth, treeDepth, nodeOpacity, gearPath, resolveSmartArtDataPalette, DEFAULT_TEXT_FONT_SIZE, DEFAULT_FONT_FAMILY, HYPERLINK_COLOR, GRID_SIZE, CONNECTOR_ARROW_OPTIONS, ARROW_SIZE_OPTIONS, startMotionPathPreview, startPreviewAnimation, stopPreviewAnimation, THEME_COLOR_SWATCHES, STROKE_DASH_OPTIONS } from './chunk-
|
|
4
|
-
import { LOCALE_CATALOG, translationsEn } from './chunk-
|
|
5
|
-
import { hasShapeProperties, normalizeHexColor, colorWithOpacity, normalizeStrokeDashType, getSvgStrokeDasharray, getCompoundLineOffsets, getCompoundLineWidths, svgLineCap, hasTextProperties, getElementTransform, ACTION_BUTTON_PRESETS, isEditableTextElement, isElementRendered, isElementActionable, getAriaRole, getAriaLabel, getAriaRoleDescription, getImageEffectsOpacity, getImageEffectsFilter, getElementTransformWithoutRotation, SWITCHABLE_LAYOUT_TYPES, DEFAULT_VIEWER_OPTIONS, compileEquationTemplateMathMl, buildUserFontFaceStyles, readStoredViewerPrefs, resolveThemeCatalogEntry, THEME_CATALOG, writeStoredViewerPrefs, openPptxFile, readBackstageRecentFile, viewerOptionsToPreferences, applyPreferenceToOptions, listAutosaveSnapshots, deleteAutosaveSnapshot, RULER_THICKNESS, RULER_FONT_SIZE, revealedSmartArtNodeCount, buildSmartArtA11y, buildCssGradientFromShapeStyle, resolveGroupChildFill, getGroupChildParentFill, getComputedEffectStyle, getSoftEdgeSvgFilter, buildStrokeOutline, svgGradientFillRef, isInkElement, getElementLabel, buildPreviewElements, deriveSlideFieldContext, SLIDE_TRANSITION_OPTIONS, themeToCssVars, applyMotionPathPreset, DEFAULT_INSERT_CHART_TYPE, hasCopyableFormat, createBackstagePresentation, printPropertiesFrameSlides, printPropertiesSlidesPerPage, VIEWER_OPTIONS_TABS, DEFAULT_QUICK_ACCESS_COMMAND_IDS, buildJoinCollaborationConfig, buildCreateCollaborationConfig, generateBroadcastRoomId, DEFAULT_BROADCAST_SERVER_URL, buildBroadcastViewerUrl, resolveTransportForServerUrl, resolveDrawingShapeNodeId, buildSummaryZoomView, getImageColorWashStyle, isImageLikeElement, getPendingSelectionRestore, restoreSegmentSelection, getTextCompensationTransform, applyChartBuildReveal, formatAxisValue, hasPressureVariation, getInkReplayStyles, INK_REPLAY_KEYFRAMES, resolveInkColor, resolveInkWidth, resolveInkOpacity, pressuresToWidths, getContentPartReplayStyles, resolveOleType, getOleTypeColor, getOleTypeLabel, filterRenderedElements, isLinkedTextBox, getOverflowSegments, shouldUseSvgWarp, getSlideBackgroundStyle, filterCommands, resolveTitleBarStatusKey, TITLE_BAR_CLASSES, TITLE_BAR_DEFAULT_FILE_KEY, buildFieldSubstitutionContext, shouldConfirmExternalHyperlink, safeOpenUrl, isPpactionUrl, parsePpactionUrl, isPresentationAdvanceClick, buildContextMenuEntries, themeColorSchemesEqual, STATUS_BAR_CLASSES, formatVersionTimestamp, formatRelativeTime, scanAvailableFontFamilies, PRESETS, CATEGORIES, convertOmmlToLatex, compileLatexEquation, convertLatexToOmml, EQUATION_TEMPLATES, clampPercent, HANDOUT_OPTIONS, TOOLBAR_TABS, SHORTCUT_REFERENCE_ITEMS, resolveViewerAddinRows, availableQuickAccessCommands, addQuickAccessCommand, removeQuickAccessCommand, moveQuickAccessCommand, activateModalFocus, buildCollaborationShareUrl, canGoPrevious, formatSlideCounter, READING_VIEW_COUNTER_ATTR, canGoNext, READING_VIEW_ATTR, OUTLINE_LEVEL_ATTR, OUTLINE_SLIDE_ATTR, OUTLINE_ROW_ATTR, OUTLINE_VIEW_ATTR, mobileElapsedSince, isFirstSlide, isLastSlide, formatMobileElapsed, mobileSlideCounter, presenterPaneAdvancesOnClick, formatElapsed, computeInlineEditorRect, findSmartArtNodeText, setSmartArtNodeStyle, rebuildDrawingShapesIfCleared, shouldCommitSmartArtNodeText, updateSmartArtNodeText, getImageSvgFilters, buildDuotoneCacheKey, getDuotoneCachedResult, applyDuotone, setDuotoneCachedResult, buildCacheKey, DEFAULT_COLOR_CHANGE_TOLERANCE, getCachedResult, applyColorChange, setCachedResult, findChartPartTarget, dragValueForPart, withChartPointValue, dragAnchorViewY, withChartTitle, computeSmartArtLayout, buildSmartArt3DModel, extractPathPoints, generatePressureCircles, isBrowserOpenableMime, formatBytes, getOleBadgeLabel, openUrlInNewTab, getSubstituteFontFamily, getWarpPath, extraQuickAccessCommands, TAB_ROW_ACTION_CLASSES, listBackstageRecentFiles, BACKSTAGE_NAV, INSERT_CHART_TYPES, DEFAULT_MOTION_PATH_PRESET_ID, SLIDE_VIRTUALIZATION_THRESHOLD, getSlideTransitionAnimations, SLIDE_TRANSITION_KEYFRAMES, presentationInkPath, motionPathFor, setMotionPath, getShapeAdjustmentHandleDescriptor, PRESET_THEMES, isUrlSafe, sanitizeMathMl, computeHandoutLayout, getPrintableArea, generateNoteLineCount, computeAllNotesPages, getNotesPrintableArea, QUICK_ACCESS_COMMAND_CATALOG, openReadingView, applyReadingViewCommand, createPresentationKeyBuffer, readingViewFitScale, READING_VIEW_STAGE_ATTR, buildOutline, applyOutlineEdit, mapOutlineKey, notesSegmentsToSpans, erasePresentationInkAt, movePresenterPointer, appendPresentationInkPoint, NOTES_FONT_SIZE_DEFAULT, formatTime, NOTES_FONT_SIZE_MIN, clampNotesFontSize, NOTES_FONT_SIZE_STEP, NOTES_FONT_SIZE_MAX, groupIntoParagraphs, substituteFieldText, BACKSTAGE_TEMPLATES, formatBackstageDate, formatBackstageSize, backstageCardsFor, DEFAULT_VIEWER_PROFILE, resolveProfileInitial, AVATAR_COLOR_SWATCHES, ENTRANCE_PRESET_VALUES, EMPHASIS_PRESET_VALUES, EXIT_PRESET_VALUES, MOTION_PATH_FAMILIES, motionPathFamilyLabelKey, motionPathPresetsByFamily, motionPathPresetLabelKey, getConnectionSites, generateTicks, rulerDragToGuidePosition, getCommentMarkerPosition, motionPathToSvgD, motionPathEndPixel, isEditableMotionPath, setMotionPathEnd, buildThemeColorGrid, THEME_COLOR_SCHEME_KEYS, THEME_COLOR_LABELS, COMMON_FONTS, buildSmartArtPresetData, handleReadingViewKey, getLocalStorageUsageSummary, saveViewerProfile, clearAllLocalViewerData, mergeSlideTransition, buildTableDataGrid, appendTableElementRow, removeLastTableElementRow, appendTableElementColumn, removeLastTableElementColumn, removeTableElementColumn, removeTableElementRow, setTableElementCellText, TABLE_STYLE_PRESETS, chartDataChangeType, setChartCategoryLabel, setChartCellValue, addChartCategory, removeChartCategory, addChartSeries, removeChartSeries, setChartAxisLogScale, setChartAxisTitleStyle, setChartAxisGridlineStyle, setChartSeriesMarker, setChartSeriesChartType, setChartDataPointFill, setChartDataPointExplosion, setChartDataPointMarker, setChartDataPointLabel, getOleObjectTypeLabel, sanitizeGradientStops, pptxActionToElementAction, withFrameSlides, withSlidesPerPage, applyThemeOverrideToSlide, COLOR_MAP_ALIAS_KEYS, DEFAULT_COLOR_MAP, TRANSITION_VALID_DIRECTIONS, TRANSITION_ORIENTATION_TYPES, clampTransitionNumber, flattenTagCollections, formatCommentTimestamp, clearMotionPath, DIRECTIONAL_PRESETS, motionPathPresetIdForPath, computeMergeCellRight, computeMergeCellDown, computeSplitCell, addSmartArtNodeAsChild, removeSmartArtNode, clampCropValue, DUOTONE_PRESETS, ARTISTIC_EFFECTS, resolveActionType, ELEMENT_ACTION_TYPE_OPTIONS, toSlideIndex, elementActionToPptxAction, canCommitActionType, TRANSITION_DIR_ARROWS, buildDirectionGrid, updateTagInCollections, deleteTagFromCollections, addTagToCollections, LBL, SEL, FILL_MODE_OPTIONS, SECTION_HEADING, NUM, switchSmartArtLayout, addSmartArtNode, demoteSmartArtNode, promoteSmartArtNode, reorderSmartArtNode, SHAPE_QUICK_STYLES, quickStyleSwatchCss, getPatternSvg, TEXT_WARP_PRESETS, warpPreviewPath, text3dPtToEmu, text3dEmuToPt, MATERIAL_PRESETS, GRADIENT_TYPE_OPTIONS, PATTERN_OPTIONS, openNativeEyeDropper, toggleText3dExtrusion, BEVEL_PRESETS } from './chunk-
|
|
1
|
+
import { computeFocusTargets, aiChangeAnimationCss, changeGhostStyle, createChatHistoryStore, toRenderableParts } from './chunk-HF6L2CTF.mjs';
|
|
2
|
+
import { useReducedMotion, useViewerState, useViewerOptions, useIsMobile, useResizablePanels, useDerivedSlideState, useZoomViewport, useEditorHistory, usePresentationSetup, useTouchGestures, useViewerDialogs, useEditorOperations, useViewerIntegration, useYjsDocumentSync, useCollaborationLivePatch, useFollowMode, useBroadcastFollower, scopeLayoutOptionsToActiveSlide, useToolbarVisibility, useKeyboardInsets, useModalDismissDrag, useCollaborativeState, useVirtualizedSlides, useSwipeNavigation, useSheetDismissDrag, detectTargetType, parseEmailUrl, parseSlideFromUrl, ACTION_VERB_MAP, downloadBlob } from './chunk-NJ4PTG4F.mjs';
|
|
3
|
+
import { SHAPE_PRESETS, DEFAULT_STROKE_COLOR, getConnectorPathGeometry, buildLineShadowCss, buildLineGlowFilter, renderConnectorMarker, MIN_ELEMENT_SIZE, getShapeVisualStyle, getTextStyleForElement, DEFAULT_TEXT_COLOR, renderVectorShape, isConnectorOrLineElement, build3DExtrusionData, getImageRenderStyle, cn, ANIMATION_PRESET_OPTIONS, resolvePalette, resolveStyle, layoutToCategory, wrapChrome, DEFAULT_FILL_COLOR, hasDagDuotoneEffect, renderDagDuotoneSvgFilter, getTextLayoutStyle, renderTableElement, renderMediaElement, shouldRenderFallbackLabel, getCropShapeClipPath, SLIDE_NAV_THUMBNAIL_WIDTH, styleShadow, styleStroke, colour, fitFontSize, smartArtNodeGroupProps, chevronPoints, SmartArtNodeText, truncate, renderStepDownProcess, renderAlternatingFlow, renderDescendingProcess, renderPictureAccentList, renderVerticalBlockList, renderGroupedList, renderPyramidList, renderHorizontalPictureList, renderAccentProcess, renderVerticalChevronList, isImageTiled, getImageTilingStyle, getDuotoneColors, getTextWarpStyle, renderTextSegments, buildReactChartViewModel, renderChartElement, buildTextBody3DSceneStyle, TOOLBAR_SECTIONS, SHORTCUT_REFERENCE_ITEMS as SHORTCUT_REFERENCE_ITEMS$1, buildTree, treeWidth, treeDepth, nodeOpacity, gearPath, resolveSmartArtDataPalette, DEFAULT_TEXT_FONT_SIZE, DEFAULT_FONT_FAMILY, HYPERLINK_COLOR, GRID_SIZE, CONNECTOR_ARROW_OPTIONS, ARROW_SIZE_OPTIONS, startMotionPathPreview, startPreviewAnimation, stopPreviewAnimation, THEME_COLOR_SWATCHES, STROKE_DASH_OPTIONS } from './chunk-DD54KUDG.mjs';
|
|
4
|
+
import { LOCALE_CATALOG, translationsEn } from './chunk-RHR7GTDX.mjs';
|
|
5
|
+
import { hasShapeProperties, normalizeHexColor, colorWithOpacity, normalizeStrokeDashType, getSvgStrokeDasharray, getCompoundLineOffsets, getCompoundLineWidths, svgLineCap, hasTextProperties, getElementTransform, ACTION_BUTTON_PRESETS, isEditableTextElement, isElementRendered, isElementActionable, getAriaRole, getAriaLabel, getAriaRoleDescription, getImageEffectsOpacity, getImageEffectsFilter, getElementTransformWithoutRotation, SWITCHABLE_LAYOUT_TYPES, DEFAULT_VIEWER_OPTIONS, compileEquationTemplateMathMl, buildUserFontFaceStyles, readStoredViewerPrefs, resolveThemeCatalogEntry, THEME_CATALOG, writeStoredViewerPrefs, openPptxFile, readBackstageRecentFile, viewerOptionsToPreferences, applyPreferenceToOptions, listAutosaveSnapshots, deleteAutosaveSnapshot, RULER_THICKNESS, RULER_FONT_SIZE, revealedSmartArtNodeCount, buildSmartArtA11y, buildCssGradientFromShapeStyle, resolveGroupChildFill, getGroupChildParentFill, getComputedEffectStyle, getSoftEdgeSvgFilter, buildStrokeOutline, svgGradientFillRef, isInkElement, getElementLabel, buildPreviewElements, deriveSlideFieldContext, SLIDE_TRANSITION_OPTIONS, themeToCssVars, applyMotionPathPreset, DEFAULT_INSERT_CHART_TYPE, hasCopyableFormat, createBackstagePresentation, printPropertiesFrameSlides, printPropertiesSlidesPerPage, VIEWER_OPTIONS_TABS, DEFAULT_QUICK_ACCESS_COMMAND_IDS, buildJoinCollaborationConfig, buildCreateCollaborationConfig, generateBroadcastRoomId, DEFAULT_BROADCAST_SERVER_URL, buildBroadcastViewerUrl, resolveTransportForServerUrl, resolveDrawingShapeNodeId, buildSummaryZoomView, getImageColorWashStyle, isImageLikeElement, getPendingSelectionRestore, restoreSegmentSelection, getTextCompensationTransform, applyChartBuildReveal, formatAxisValue, hasPressureVariation, getInkReplayStyles, INK_REPLAY_KEYFRAMES, resolveInkColor, resolveInkWidth, resolveInkOpacity, pressuresToWidths, getContentPartReplayStyles, resolveOleType, getOleTypeColor, getOleTypeLabel, filterRenderedElements, isLinkedTextBox, getOverflowSegments, shouldUseSvgWarp, getSlideBackgroundStyle, filterCommands, resolveTitleBarStatusKey, TITLE_BAR_CLASSES, TITLE_BAR_DEFAULT_FILE_KEY, buildFieldSubstitutionContext, shouldConfirmExternalHyperlink, safeOpenUrl, isPpactionUrl, parsePpactionUrl, isPresentationAdvanceClick, buildContextMenuEntries, themeColorSchemesEqual, STATUS_BAR_CLASSES, formatVersionTimestamp, formatRelativeTime, scanAvailableFontFamilies, PRESETS, CATEGORIES, convertOmmlToLatex, compileLatexEquation, convertLatexToOmml, EQUATION_TEMPLATES, clampPercent, HANDOUT_OPTIONS, TOOLBAR_TABS, SHORTCUT_REFERENCE_ITEMS, resolveViewerAddinRows, availableQuickAccessCommands, addQuickAccessCommand, removeQuickAccessCommand, moveQuickAccessCommand, activateModalFocus, buildCollaborationShareUrl, canGoPrevious, formatSlideCounter, READING_VIEW_COUNTER_ATTR, canGoNext, READING_VIEW_ATTR, OUTLINE_LEVEL_ATTR, OUTLINE_SLIDE_ATTR, OUTLINE_ROW_ATTR, OUTLINE_VIEW_ATTR, mobileElapsedSince, nextPresentedSlide, isFirstSlide, isLastSlide, formatMobileElapsed, mobileSlideCounter, presenterPaneAdvancesOnClick, formatElapsed, computeInlineEditorRect, findSmartArtNodeText, setSmartArtNodeStyle, rebuildDrawingShapesIfCleared, shouldCommitSmartArtNodeText, updateSmartArtNodeText, getImageSvgFilters, buildDuotoneCacheKey, getDuotoneCachedResult, applyDuotone, setDuotoneCachedResult, buildCacheKey, DEFAULT_COLOR_CHANGE_TOLERANCE, getCachedResult, applyColorChange, setCachedResult, findChartPartTarget, dragValueForPart, withChartPointValue, dragAnchorViewY, withChartTitle, computeSmartArtLayout, buildSmartArt3DModel, extractPathPoints, generatePressureCircles, isBrowserOpenableMime, formatBytes, getOleBadgeLabel, openUrlInNewTab, getSubstituteFontFamily, getWarpPath, extraQuickAccessCommands, TAB_ROW_ACTION_CLASSES, listBackstageRecentFiles, BACKSTAGE_NAV, INSERT_CHART_TYPES, DEFAULT_MOTION_PATH_PRESET_ID, SLIDE_VIRTUALIZATION_THRESHOLD, getSlideTransitionAnimations, SLIDE_TRANSITION_KEYFRAMES, presentationInkPath, motionPathFor, setMotionPath, getShapeAdjustmentHandleDescriptor, PRESET_THEMES, isUrlSafe, sanitizeMathMl, computeHandoutLayout, getPrintableArea, generateNoteLineCount, computeAllNotesPages, getNotesPrintableArea, QUICK_ACCESS_COMMAND_CATALOG, openReadingView, applyReadingViewCommand, createPresentationKeyBuffer, readingViewFitScale, READING_VIEW_STAGE_ATTR, buildOutline, applyOutlineEdit, mapOutlineKey, notesSegmentsToSpans, erasePresentationInkAt, movePresenterPointer, appendPresentationInkPoint, NOTES_FONT_SIZE_DEFAULT, formatTime, NOTES_FONT_SIZE_MIN, clampNotesFontSize, NOTES_FONT_SIZE_STEP, NOTES_FONT_SIZE_MAX, groupIntoParagraphs, substituteFieldText, BACKSTAGE_TEMPLATES, formatBackstageDate, formatBackstageSize, backstageCardsFor, DEFAULT_VIEWER_PROFILE, resolveProfileInitial, AVATAR_COLOR_SWATCHES, ENTRANCE_PRESET_VALUES, EMPHASIS_PRESET_VALUES, EXIT_PRESET_VALUES, MOTION_PATH_FAMILIES, motionPathFamilyLabelKey, motionPathPresetsByFamily, motionPathPresetLabelKey, getConnectionSites, generateTicks, rulerDragToGuidePosition, getCommentMarkerPosition, motionPathToSvgD, motionPathEndPixel, isEditableMotionPath, setMotionPathEnd, buildThemeColorGrid, THEME_COLOR_SCHEME_KEYS, THEME_COLOR_LABELS, COMMON_FONTS, buildSmartArtPresetData, handleReadingViewKey, getLocalStorageUsageSummary, saveViewerProfile, clearAllLocalViewerData, mergeSlideTransition, buildTableDataGrid, appendTableElementRow, removeLastTableElementRow, appendTableElementColumn, removeLastTableElementColumn, removeTableElementColumn, removeTableElementRow, setTableElementCellText, TABLE_STYLE_PRESETS, chartDataChangeType, setChartCategoryLabel, setChartCellValue, addChartCategory, removeChartCategory, addChartSeries, removeChartSeries, setChartAxisLogScale, setChartAxisTitleStyle, setChartAxisGridlineStyle, setChartSeriesMarker, setChartSeriesChartType, setChartDataPointFill, setChartDataPointExplosion, setChartDataPointMarker, setChartDataPointLabel, getOleObjectTypeLabel, sanitizeGradientStops, pptxActionToElementAction, withFrameSlides, withSlidesPerPage, applyThemeOverrideToSlide, COLOR_MAP_ALIAS_KEYS, DEFAULT_COLOR_MAP, schemaLabel, THEME_COLOR_SLOT_LABEL_KEYS, TRANSITION_VALID_DIRECTIONS, TRANSITION_ORIENTATION_TYPES, clampTransitionNumber, flattenTagCollections, formatCommentTimestamp, clearMotionPath, DIRECTIONAL_PRESETS, motionPathPresetIdForPath, computeMergeCellRight, computeMergeCellDown, computeSplitCell, SMARTART_COLOR_SCHEME_LABEL_KEYS, SMARTART_STYLE_LABEL_KEYS, addSmartArtNodeAsChild, removeSmartArtNode, clampCropValue, DUOTONE_PRESETS, ARTISTIC_EFFECTS, resolveActionType, ELEMENT_ACTION_TYPE_OPTIONS, toSlideIndex, elementActionToPptxAction, canCommitActionType, TRANSITION_DIR_ARROWS, buildDirectionGrid, updateTagInCollections, deleteTagFromCollections, addTagToCollections, LBL, SEL, FILL_MODE_OPTIONS, SECTION_HEADING, NUM, switchSmartArtLayout, addSmartArtNode, demoteSmartArtNode, promoteSmartArtNode, reorderSmartArtNode, SHAPE_QUICK_STYLES, quickStyleSwatchCss, getPatternSvg, TEXT_WARP_PRESETS, warpPreviewPath, text3dPtToEmu, text3dEmuToPt, MATERIAL_PRESETS, GRADIENT_TYPE_OPTIONS, PATTERN_OPTIONS, FILL_PATTERN_LABEL_KEYS, openNativeEyeDropper, toggleText3dExtrusion, BEVEL_PRESETS } from './chunk-FV7HEYCX.mjs';
|
|
6
6
|
import React34, { createContext, useMemo, useState, useCallback, lazy, forwardRef, useEffect, useRef, useContext, Suspense, useLayoutEffect, Fragment as Fragment$1, useDeferredValue } from 'react';
|
|
7
7
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
8
8
|
import { useTranslation } from 'react-i18next';
|
|
@@ -584,7 +584,8 @@ function RibbonCommand({
|
|
|
584
584
|
disabled,
|
|
585
585
|
active,
|
|
586
586
|
compact = false,
|
|
587
|
-
title
|
|
587
|
+
title,
|
|
588
|
+
pressed
|
|
588
589
|
}) {
|
|
589
590
|
return /* @__PURE__ */ jsxs(
|
|
590
591
|
"button",
|
|
@@ -593,6 +594,7 @@ function RibbonCommand({
|
|
|
593
594
|
onClick,
|
|
594
595
|
disabled,
|
|
595
596
|
title: title ?? label,
|
|
597
|
+
"aria-pressed": pressed,
|
|
596
598
|
className: cn(
|
|
597
599
|
"inline-flex rounded-sm text-foreground transition-colors hover:bg-accent disabled:cursor-not-allowed disabled:opacity-35",
|
|
598
600
|
active && "bg-primary/15 text-primary ring-1 ring-primary/35",
|
|
@@ -1450,7 +1452,7 @@ function AccountPage() {
|
|
|
1450
1452
|
return void 0;
|
|
1451
1453
|
});
|
|
1452
1454
|
};
|
|
1453
|
-
const version = "2.
|
|
1455
|
+
const version = "2.11.0" ;
|
|
1454
1456
|
return /* @__PURE__ */ jsxs("div", { className: "mt-8 max-w-[700px] space-y-6", children: [
|
|
1455
1457
|
/* @__PURE__ */ jsxs("section", { className: cardClass, children: [
|
|
1456
1458
|
/* @__PURE__ */ jsxs("h2", { className: "flex items-center gap-2 text-sm font-semibold", children: [
|
|
@@ -3053,7 +3055,9 @@ function SlideShowSection(p) {
|
|
|
3053
3055
|
{
|
|
3054
3056
|
label: t("pptx.slideShow.hideSlide", { defaultValue: "Hide Slide" }),
|
|
3055
3057
|
icon: /* @__PURE__ */ jsx(LuEyeOff, {}),
|
|
3056
|
-
|
|
3058
|
+
onClick: p.onToggleHideSlide,
|
|
3059
|
+
active: p.activeSlideHidden,
|
|
3060
|
+
pressed: p.activeSlideHidden
|
|
3057
3061
|
}
|
|
3058
3062
|
),
|
|
3059
3063
|
/* @__PURE__ */ jsx(
|
|
@@ -4374,6 +4378,9 @@ function MobileSectionBody({
|
|
|
4374
4378
|
}),
|
|
4375
4379
|
onOpenSetUpSlideShow: p.onOpenSetUpSlideShow ?? (() => {
|
|
4376
4380
|
}),
|
|
4381
|
+
onToggleHideSlide: p.onToggleHideSlide ?? (() => {
|
|
4382
|
+
}),
|
|
4383
|
+
activeSlideHidden: p.activeSlideHidden ?? false,
|
|
4377
4384
|
onOpenBroadcastDialog: p.onOpenBroadcastDialog ?? (() => {
|
|
4378
4385
|
}),
|
|
4379
4386
|
onToggleSubtitles: p.onToggleSubtitles ?? (() => {
|
|
@@ -5618,6 +5625,9 @@ function Toolbar(p) {
|
|
|
5618
5625
|
}),
|
|
5619
5626
|
onOpenSetUpSlideShow: p.onOpenSetUpSlideShow ?? (() => {
|
|
5620
5627
|
}),
|
|
5628
|
+
onToggleHideSlide: p.onToggleHideSlide ?? (() => {
|
|
5629
|
+
}),
|
|
5630
|
+
activeSlideHidden: p.activeSlideHidden ?? false,
|
|
5621
5631
|
onOpenBroadcastDialog: p.onOpenBroadcastDialog ?? (() => {
|
|
5622
5632
|
}),
|
|
5623
5633
|
onToggleSubtitles: p.onToggleSubtitles ?? (() => {
|
|
@@ -8698,7 +8708,7 @@ function FailedToLoad() {
|
|
|
8698
8708
|
var LazyModel3DScene = React34.lazy(
|
|
8699
8709
|
async () => {
|
|
8700
8710
|
try {
|
|
8701
|
-
return await import('./Model3DScene-
|
|
8711
|
+
return await import('./Model3DScene-WHSHBMR5.mjs');
|
|
8702
8712
|
} catch {
|
|
8703
8713
|
return { default: FailedToLoad };
|
|
8704
8714
|
}
|
|
@@ -18920,7 +18930,7 @@ function PresenterNotesRail({
|
|
|
18920
18930
|
}) {
|
|
18921
18931
|
const { t } = useTranslation();
|
|
18922
18932
|
const slide = slides[current];
|
|
18923
|
-
const nextSlide = slides
|
|
18933
|
+
const nextSlide = nextPresentedSlide(slides, current);
|
|
18924
18934
|
const notesText = slide?.notes ?? "";
|
|
18925
18935
|
const notesSegments = slide?.notesSegments;
|
|
18926
18936
|
const [notesDraft, setNotesDraft] = useState(notesText);
|
|
@@ -19328,7 +19338,7 @@ function MobilePresenterView({
|
|
|
19328
19338
|
}, []);
|
|
19329
19339
|
const elapsed = mobileElapsedSince(presentationStartTime, now);
|
|
19330
19340
|
const currentSlide = slides[currentSlideIndex];
|
|
19331
|
-
const nextSlide =
|
|
19341
|
+
const nextSlide = nextPresentedSlide(slides, currentSlideIndex);
|
|
19332
19342
|
if (!currentSlide) {
|
|
19333
19343
|
return /* @__PURE__ */ jsx("div", { className: "absolute inset-0 z-50 flex items-center justify-center bg-card text-muted-foreground", children: t("pptx.presenter.noSlides") });
|
|
19334
19344
|
}
|
|
@@ -26773,6 +26783,53 @@ function SmartArtNodeRow({
|
|
|
26773
26783
|
}
|
|
26774
26784
|
);
|
|
26775
26785
|
}
|
|
26786
|
+
function SmartArtStyleControls({
|
|
26787
|
+
colorSchemes,
|
|
26788
|
+
styleOptions,
|
|
26789
|
+
colorScheme,
|
|
26790
|
+
style,
|
|
26791
|
+
canEdit,
|
|
26792
|
+
onChangeColorScheme,
|
|
26793
|
+
onChangeStyle
|
|
26794
|
+
}) {
|
|
26795
|
+
const { t } = useTranslation();
|
|
26796
|
+
const translate = React34.useCallback((key) => t(key), [t]);
|
|
26797
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
26798
|
+
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1 text-[11px]", children: [
|
|
26799
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: t("pptx.smartart.colorScheme") }),
|
|
26800
|
+
/* @__PURE__ */ jsx(
|
|
26801
|
+
"select",
|
|
26802
|
+
{
|
|
26803
|
+
disabled: !canEdit,
|
|
26804
|
+
"data-testid": "smartart-color-scheme",
|
|
26805
|
+
"aria-label": t("pptx.smartart.colorScheme"),
|
|
26806
|
+
className: cn(INPUT, "w-full"),
|
|
26807
|
+
value: colorScheme,
|
|
26808
|
+
onChange: (e) => onChangeColorScheme(e.target.value),
|
|
26809
|
+
children: colorSchemes.map((cs) => /* @__PURE__ */ jsx("option", { value: cs, children: schemaLabel(SMARTART_COLOR_SCHEME_LABEL_KEYS, cs, translate) }, cs))
|
|
26810
|
+
}
|
|
26811
|
+
)
|
|
26812
|
+
] }),
|
|
26813
|
+
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1 text-[11px]", children: [
|
|
26814
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: t("pptx.smartart.style") }),
|
|
26815
|
+
/* @__PURE__ */ jsx("div", { className: "flex gap-1", role: "group", "aria-label": t("pptx.smartart.style"), children: styleOptions.map((s) => /* @__PURE__ */ jsx(
|
|
26816
|
+
"button",
|
|
26817
|
+
{
|
|
26818
|
+
type: "button",
|
|
26819
|
+
disabled: !canEdit,
|
|
26820
|
+
"aria-pressed": style === s,
|
|
26821
|
+
className: cn(
|
|
26822
|
+
"flex-1 px-2 py-1 text-[10px] rounded border transition-colors",
|
|
26823
|
+
style === s ? "border-primary bg-primary/20 text-primary" : "border-border text-muted-foreground hover:bg-muted"
|
|
26824
|
+
),
|
|
26825
|
+
onClick: () => onChangeStyle(s),
|
|
26826
|
+
children: schemaLabel(SMARTART_STYLE_LABEL_KEYS, s, translate)
|
|
26827
|
+
},
|
|
26828
|
+
s
|
|
26829
|
+
)) })
|
|
26830
|
+
] })
|
|
26831
|
+
] });
|
|
26832
|
+
}
|
|
26776
26833
|
var COLOR_SCHEMES = [
|
|
26777
26834
|
"colorful1",
|
|
26778
26835
|
"colorful2",
|
|
@@ -26909,39 +26966,18 @@ function SmartArtPropertiesPanel({
|
|
|
26909
26966
|
onUpdateSmartArt: updateSmartArt
|
|
26910
26967
|
}
|
|
26911
26968
|
),
|
|
26912
|
-
/* @__PURE__ */
|
|
26913
|
-
|
|
26914
|
-
|
|
26915
|
-
|
|
26916
|
-
|
|
26917
|
-
|
|
26918
|
-
|
|
26919
|
-
|
|
26920
|
-
|
|
26921
|
-
|
|
26922
|
-
|
|
26923
|
-
|
|
26924
|
-
}
|
|
26925
|
-
)
|
|
26926
|
-
] }),
|
|
26927
|
-
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1 text-[11px]", children: [
|
|
26928
|
-
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: t("pptx.smartart.style") }),
|
|
26929
|
-
/* @__PURE__ */ jsx("div", { className: "flex gap-1", role: "group", "aria-label": t("pptx.smartart.style"), children: STYLE_OPTIONS.map((s) => /* @__PURE__ */ jsx(
|
|
26930
|
-
"button",
|
|
26931
|
-
{
|
|
26932
|
-
type: "button",
|
|
26933
|
-
disabled: !canEdit,
|
|
26934
|
-
"aria-pressed": (smartArtData.style ?? "flat") === s,
|
|
26935
|
-
className: cn(
|
|
26936
|
-
"flex-1 px-2 py-1 text-[10px] rounded border transition-colors",
|
|
26937
|
-
(smartArtData.style ?? "flat") === s ? "border-primary bg-primary/20 text-primary" : "border-border text-muted-foreground hover:bg-muted"
|
|
26938
|
-
),
|
|
26939
|
-
onClick: () => updateSmartArt({ style: s }),
|
|
26940
|
-
children: s
|
|
26941
|
-
},
|
|
26942
|
-
s
|
|
26943
|
-
)) })
|
|
26944
|
-
] }),
|
|
26969
|
+
/* @__PURE__ */ jsx(
|
|
26970
|
+
SmartArtStyleControls,
|
|
26971
|
+
{
|
|
26972
|
+
colorSchemes: COLOR_SCHEMES,
|
|
26973
|
+
styleOptions: STYLE_OPTIONS,
|
|
26974
|
+
colorScheme: smartArtData.colorScheme ?? "colorful1",
|
|
26975
|
+
style: smartArtData.style ?? "flat",
|
|
26976
|
+
canEdit,
|
|
26977
|
+
onChangeColorScheme: (colorScheme) => updateSmartArt({ colorScheme }),
|
|
26978
|
+
onChangeStyle: (style) => updateSmartArt({ style })
|
|
26979
|
+
}
|
|
26980
|
+
),
|
|
26945
26981
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
|
|
26946
26982
|
/* @__PURE__ */ jsxs("span", { className: "text-[11px] text-muted-foreground", children: [
|
|
26947
26983
|
t("pptx.smartart.textPane"),
|
|
@@ -27155,6 +27191,57 @@ function TableDataGrid({
|
|
|
27155
27191
|
] }) })
|
|
27156
27192
|
] }) });
|
|
27157
27193
|
}
|
|
27194
|
+
function TableCellPatternFill({
|
|
27195
|
+
cellStyle,
|
|
27196
|
+
canEdit,
|
|
27197
|
+
onUpdateCellStyle
|
|
27198
|
+
}) {
|
|
27199
|
+
const { t } = useTranslation();
|
|
27200
|
+
const translate = (key) => t(key);
|
|
27201
|
+
return /* @__PURE__ */ jsxs("div", { className: "space-y-1.5", children: [
|
|
27202
|
+
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-0.5", children: [
|
|
27203
|
+
/* @__PURE__ */ jsx("span", { className: LBL, children: t("pptx.table.patternPreset") }),
|
|
27204
|
+
/* @__PURE__ */ jsx(
|
|
27205
|
+
"select",
|
|
27206
|
+
{
|
|
27207
|
+
disabled: !canEdit,
|
|
27208
|
+
className: SEL,
|
|
27209
|
+
value: cellStyle.patternFillPreset ?? "ltDnDiag",
|
|
27210
|
+
onChange: (e) => onUpdateCellStyle({ patternFillPreset: e.target.value }),
|
|
27211
|
+
children: PATTERN_OPTIONS.map((p) => /* @__PURE__ */ jsx("option", { value: p, children: schemaLabel(FILL_PATTERN_LABEL_KEYS, p, translate) }, p))
|
|
27212
|
+
}
|
|
27213
|
+
)
|
|
27214
|
+
] }),
|
|
27215
|
+
/* @__PURE__ */ jsxs("div", { className: "grid grid-cols-2 gap-1.5", children: [
|
|
27216
|
+
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-0.5", children: [
|
|
27217
|
+
/* @__PURE__ */ jsx("span", { className: LBL, children: t("pptx.table.patternForeground") }),
|
|
27218
|
+
/* @__PURE__ */ jsx(
|
|
27219
|
+
"input",
|
|
27220
|
+
{
|
|
27221
|
+
type: "color",
|
|
27222
|
+
disabled: !canEdit,
|
|
27223
|
+
className: "w-full h-7 rounded border border-border bg-transparent cursor-pointer",
|
|
27224
|
+
value: cellStyle.patternFillForeground ?? "#000000",
|
|
27225
|
+
onChange: (e) => onUpdateCellStyle({ patternFillForeground: e.target.value })
|
|
27226
|
+
}
|
|
27227
|
+
)
|
|
27228
|
+
] }),
|
|
27229
|
+
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-0.5", children: [
|
|
27230
|
+
/* @__PURE__ */ jsx("span", { className: LBL, children: t("pptx.table.patternBackground") }),
|
|
27231
|
+
/* @__PURE__ */ jsx(
|
|
27232
|
+
"input",
|
|
27233
|
+
{
|
|
27234
|
+
type: "color",
|
|
27235
|
+
disabled: !canEdit,
|
|
27236
|
+
className: "w-full h-7 rounded border border-border bg-transparent cursor-pointer",
|
|
27237
|
+
value: cellStyle.patternFillBackground ?? "#FFFFFF",
|
|
27238
|
+
onChange: (e) => onUpdateCellStyle({ patternFillBackground: e.target.value })
|
|
27239
|
+
}
|
|
27240
|
+
)
|
|
27241
|
+
] })
|
|
27242
|
+
] })
|
|
27243
|
+
] });
|
|
27244
|
+
}
|
|
27158
27245
|
function TableCellAdvancedFill({
|
|
27159
27246
|
cellStyle,
|
|
27160
27247
|
canEdit,
|
|
@@ -27208,7 +27295,7 @@ function TableCellAdvancedFill({
|
|
|
27208
27295
|
}
|
|
27209
27296
|
),
|
|
27210
27297
|
fillMode === "pattern" && /* @__PURE__ */ jsx(
|
|
27211
|
-
|
|
27298
|
+
TableCellPatternFill,
|
|
27212
27299
|
{
|
|
27213
27300
|
cellStyle,
|
|
27214
27301
|
canEdit,
|
|
@@ -27334,62 +27421,6 @@ function GradientControls({
|
|
|
27334
27421
|
)
|
|
27335
27422
|
] });
|
|
27336
27423
|
}
|
|
27337
|
-
function PatternControls({
|
|
27338
|
-
cellStyle,
|
|
27339
|
-
canEdit,
|
|
27340
|
-
onUpdateCellStyle
|
|
27341
|
-
}) {
|
|
27342
|
-
const { t } = useTranslation();
|
|
27343
|
-
return /* @__PURE__ */ jsxs("div", { className: "space-y-1.5", children: [
|
|
27344
|
-
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-0.5", children: [
|
|
27345
|
-
/* @__PURE__ */ jsx("span", { className: LBL, children: t("pptx.table.patternPreset") }),
|
|
27346
|
-
/* @__PURE__ */ jsx(
|
|
27347
|
-
"select",
|
|
27348
|
-
{
|
|
27349
|
-
disabled: !canEdit,
|
|
27350
|
-
className: SEL,
|
|
27351
|
-
value: cellStyle.patternFillPreset ?? "ltDnDiag",
|
|
27352
|
-
onChange: (e) => onUpdateCellStyle({
|
|
27353
|
-
patternFillPreset: e.target.value
|
|
27354
|
-
}),
|
|
27355
|
-
children: PATTERN_OPTIONS.map((p) => /* @__PURE__ */ jsx("option", { value: p, children: p }, p))
|
|
27356
|
-
}
|
|
27357
|
-
)
|
|
27358
|
-
] }),
|
|
27359
|
-
/* @__PURE__ */ jsxs("div", { className: "grid grid-cols-2 gap-1.5", children: [
|
|
27360
|
-
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-0.5", children: [
|
|
27361
|
-
/* @__PURE__ */ jsx("span", { className: LBL, children: t("pptx.table.patternForeground") }),
|
|
27362
|
-
/* @__PURE__ */ jsx(
|
|
27363
|
-
"input",
|
|
27364
|
-
{
|
|
27365
|
-
type: "color",
|
|
27366
|
-
disabled: !canEdit,
|
|
27367
|
-
className: "w-full h-7 rounded border border-border bg-transparent cursor-pointer",
|
|
27368
|
-
value: cellStyle.patternFillForeground ?? "#000000",
|
|
27369
|
-
onChange: (e) => onUpdateCellStyle({
|
|
27370
|
-
patternFillForeground: e.target.value
|
|
27371
|
-
})
|
|
27372
|
-
}
|
|
27373
|
-
)
|
|
27374
|
-
] }),
|
|
27375
|
-
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-0.5", children: [
|
|
27376
|
-
/* @__PURE__ */ jsx("span", { className: LBL, children: t("pptx.table.patternBackground") }),
|
|
27377
|
-
/* @__PURE__ */ jsx(
|
|
27378
|
-
"input",
|
|
27379
|
-
{
|
|
27380
|
-
type: "color",
|
|
27381
|
-
disabled: !canEdit,
|
|
27382
|
-
className: "w-full h-7 rounded border border-border bg-transparent cursor-pointer",
|
|
27383
|
-
value: cellStyle.patternFillBackground ?? "#FFFFFF",
|
|
27384
|
-
onChange: (e) => onUpdateCellStyle({
|
|
27385
|
-
patternFillBackground: e.target.value
|
|
27386
|
-
})
|
|
27387
|
-
}
|
|
27388
|
-
)
|
|
27389
|
-
] })
|
|
27390
|
-
] })
|
|
27391
|
-
] });
|
|
27392
|
-
}
|
|
27393
27424
|
function TableCellFormattingPanel({
|
|
27394
27425
|
tableData: td,
|
|
27395
27426
|
tableEditorState,
|
|
@@ -28809,6 +28840,7 @@ function SlideThemeOverridePanel({
|
|
|
28809
28840
|
onUpdateSlide
|
|
28810
28841
|
}) {
|
|
28811
28842
|
const { t } = useTranslation();
|
|
28843
|
+
const translate = useCallback((key) => t(key), [t]);
|
|
28812
28844
|
const override = activeSlide?.clrMapOverride;
|
|
28813
28845
|
const isOverrideActive = override !== void 0;
|
|
28814
28846
|
const targetSlotOptions = useMemo(() => [...THEME_COLOR_SCHEME_KEYS], []);
|
|
@@ -28901,7 +28933,7 @@ function SlideThemeOverridePanel({
|
|
|
28901
28933
|
className: "flex-1 bg-muted border border-border rounded px-1 py-0.5 text-[11px]",
|
|
28902
28934
|
value: currentTarget,
|
|
28903
28935
|
onChange: (e) => handleAliasChange(alias, e.target.value),
|
|
28904
|
-
children: targetSlotOptions.map((slot) => /* @__PURE__ */ jsx("option", { value: slot, children: slot }, slot))
|
|
28936
|
+
children: targetSlotOptions.map((slot) => /* @__PURE__ */ jsx("option", { value: slot, children: schemaLabel(THEME_COLOR_SLOT_LABEL_KEYS, slot, translate) }, slot))
|
|
28905
28937
|
}
|
|
28906
28938
|
)
|
|
28907
28939
|
] }, alias);
|
|
@@ -33104,6 +33136,7 @@ function ViewerToolbarSection(props) {
|
|
|
33104
33136
|
state: s,
|
|
33105
33137
|
selectedElement,
|
|
33106
33138
|
activeSlide,
|
|
33139
|
+
activeSlideIndex,
|
|
33107
33140
|
zoom,
|
|
33108
33141
|
history,
|
|
33109
33142
|
findReplace,
|
|
@@ -33527,6 +33560,8 @@ function ViewerToolbarSection(props) {
|
|
|
33527
33560
|
eyedropperActive: s.eyedropperActive,
|
|
33528
33561
|
onToggleEyedropper: () => s.setEyedropperActive((p) => !p),
|
|
33529
33562
|
onOpenSetUpSlideShow: () => dialogs.setIsSetUpSlideShowOpen(true),
|
|
33563
|
+
onToggleHideSlide: () => slideOps.handleToggleHideSlides([activeSlideIndex]),
|
|
33564
|
+
activeSlideHidden: Boolean(activeSlide?.hidden),
|
|
33530
33565
|
onOpenBroadcastDialog: () => dialogs.setIsBroadcastDialogOpen(true),
|
|
33531
33566
|
onToggleSubtitles: dialogs.handleToggleSubtitles,
|
|
33532
33567
|
showSubtitles: Boolean(s.presentationProperties.showSubtitles),
|
|
@@ -34935,7 +34970,7 @@ ${url}`)) {
|
|
|
34935
34970
|
)
|
|
34936
34971
|
);
|
|
34937
34972
|
}
|
|
34938
|
-
var AiChatPanel = lazy(() => import('./AiChatPanel-
|
|
34973
|
+
var AiChatPanel = lazy(() => import('./AiChatPanel-RMQIJDUJ.mjs'));
|
|
34939
34974
|
function AiChatPanelLazy(props) {
|
|
34940
34975
|
return /* @__PURE__ */ jsx(
|
|
34941
34976
|
Suspense,
|
|
@@ -38082,6 +38117,9 @@ var PowerPointViewer = forwardRef(
|
|
|
38082
38117
|
mode,
|
|
38083
38118
|
slides,
|
|
38084
38119
|
visibleSlideIndexes,
|
|
38120
|
+
// File > Options > Advanced > "End with black slide". Off means the show
|
|
38121
|
+
// exits straight to the editor instead of raising the black end screen.
|
|
38122
|
+
endWithBlackSlide: viewerOptions.advanced.slideShowEndWithBlackSlide,
|
|
38085
38123
|
activeSlideIndex,
|
|
38086
38124
|
containerRef,
|
|
38087
38125
|
content,
|
|
@@ -38294,6 +38332,7 @@ var PowerPointViewer = forwardRef(
|
|
|
38294
38332
|
state,
|
|
38295
38333
|
selectedElement,
|
|
38296
38334
|
activeSlide,
|
|
38335
|
+
activeSlideIndex,
|
|
38297
38336
|
zoom,
|
|
38298
38337
|
history,
|
|
38299
38338
|
findReplace: editorOps.findReplace,
|
|
Binary file
|
|
Binary file
|