pptx-react-viewer 4.1.5 → 4.2.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 +12 -0
- package/dist/{AiChatPanel-UF3TZGAQ.mjs → AiChatPanel-SEIRQ3XP.mjs} +3 -3
- package/dist/AiChatPanel-SEIRQ3XP.mjs.br +0 -0
- package/dist/AiChatPanel-SEIRQ3XP.mjs.gz +0 -0
- package/dist/{AiChatPanel-ZBT7PKJR.js → AiChatPanel-VVTLQXQ5.js} +27 -27
- package/dist/AiChatPanel-VVTLQXQ5.js.br +0 -0
- package/dist/AiChatPanel-VVTLQXQ5.js.gz +0 -0
- package/dist/{Model3DScene-KBKADDJH.mjs → Model3DScene-DCTVSK2F.mjs} +1 -1
- package/dist/{Model3DScene-KBKADDJH.mjs.br → Model3DScene-DCTVSK2F.mjs.br} +0 -0
- package/dist/Model3DScene-DCTVSK2F.mjs.gz +0 -0
- package/dist/{Model3DScene-IFAV52XV.js → Model3DScene-SCWQXMEA.js} +2 -2
- package/dist/Model3DScene-SCWQXMEA.js.br +0 -0
- package/dist/Model3DScene-SCWQXMEA.js.gz +0 -0
- package/dist/{chunk-IXS7DALE.js → OrbitControls-4TDJCTBA.js} +1 -0
- package/dist/OrbitControls-4TDJCTBA.js.br +0 -0
- package/dist/OrbitControls-4TDJCTBA.js.gz +0 -0
- package/dist/{chunk-MV2GCDBR.mjs → OrbitControls-WCOIJFFL.mjs} +1 -0
- package/dist/OrbitControls-WCOIJFFL.mjs.br +0 -0
- package/dist/OrbitControls-WCOIJFFL.mjs.gz +0 -0
- package/dist/{chunk-D6K76ELX.js → chunk-3WYNGYB6.js} +5 -5
- package/dist/chunk-3WYNGYB6.js.br +0 -0
- package/dist/chunk-3WYNGYB6.js.gz +0 -0
- package/dist/{chunk-OKDFNVIT.mjs → chunk-4GTDG2FH.mjs} +157 -579
- package/dist/chunk-4GTDG2FH.mjs.br +0 -0
- package/dist/chunk-4GTDG2FH.mjs.gz +0 -0
- package/dist/{chunk-GUXPTFLX.js → chunk-5MRNT4V6.js} +173 -173
- package/dist/chunk-5MRNT4V6.js.br +0 -0
- package/dist/chunk-5MRNT4V6.js.gz +0 -0
- package/dist/{chunk-YFZPV7QM.mjs → chunk-B5YZABYX.mjs} +1 -1
- package/dist/chunk-B5YZABYX.mjs.br +0 -0
- package/dist/chunk-B5YZABYX.mjs.gz +0 -0
- package/dist/{chunk-Q7PKJ6AQ.js → chunk-KTSDPBQZ.js} +1315 -1212
- package/dist/chunk-KTSDPBQZ.js.br +0 -0
- package/dist/chunk-KTSDPBQZ.js.gz +0 -0
- package/dist/{chunk-GUNIJ6LG.mjs → chunk-L4XBWL7J.mjs} +1 -1
- package/dist/chunk-L4XBWL7J.mjs.br +0 -0
- package/dist/chunk-L4XBWL7J.mjs.gz +0 -0
- package/dist/{chunk-IIRZO7I2.js → chunk-P2SBIMYF.js} +1645 -2073
- package/dist/chunk-P2SBIMYF.js.br +0 -0
- package/dist/chunk-P2SBIMYF.js.gz +0 -0
- package/dist/{chunk-RAZKPNMR.js → chunk-S65QSO6T.js} +26532 -22545
- package/dist/chunk-S65QSO6T.js.br +0 -0
- package/dist/chunk-S65QSO6T.js.gz +0 -0
- package/dist/{chunk-UVMS5TV6.mjs → chunk-VPJOJJ36.mjs} +26526 -22531
- package/dist/chunk-VPJOJJ36.mjs.br +0 -0
- package/dist/chunk-VPJOJJ36.mjs.gz +0 -0
- package/dist/{chunk-TIJQMK3M.mjs → chunk-ZYIJODUR.mjs} +264 -161
- package/dist/chunk-ZYIJODUR.mjs.br +0 -0
- package/dist/chunk-ZYIJODUR.mjs.gz +0 -0
- package/dist/index.d.ts +65 -18
- package/dist/index.js +47 -47
- package/dist/index.js.br +0 -0
- package/dist/index.js.gz +0 -0
- package/dist/index.mjs +5 -5
- package/dist/index.mjs.br +0 -0
- package/dist/index.mjs.gz +0 -0
- package/dist/internals.d.ts +65 -18
- package/dist/internals.js +104 -104
- package/dist/internals.js.br +0 -0
- package/dist/internals.js.gz +0 -0
- package/dist/internals.mjs +3 -3
- package/dist/internals.mjs.br +0 -0
- package/dist/internals.mjs.gz +0 -0
- package/dist/pptx-viewer.css +1 -1
- package/dist/pptx-viewer.css.br +0 -0
- package/dist/pptx-viewer.css.gz +0 -0
- package/dist/viewer/index.d.ts +48 -1
- package/dist/viewer/index.js +26 -26
- package/dist/viewer/index.js.br +0 -0
- package/dist/viewer/index.js.gz +0 -0
- package/dist/viewer/index.mjs +5 -5
- package/dist/viewer/index.mjs.br +0 -0
- package/dist/viewer/index.mjs.gz +0 -0
- package/package.json +1 -1
- package/dist/AiChatPanel-UF3TZGAQ.mjs.br +0 -0
- package/dist/AiChatPanel-UF3TZGAQ.mjs.gz +0 -0
- package/dist/AiChatPanel-ZBT7PKJR.js.br +0 -0
- package/dist/AiChatPanel-ZBT7PKJR.js.gz +0 -0
- package/dist/Area3DChartScene-FEXGRMWJ.mjs +0 -62
- package/dist/Area3DChartScene-FEXGRMWJ.mjs.br +0 -0
- package/dist/Area3DChartScene-FEXGRMWJ.mjs.gz +0 -0
- package/dist/Area3DChartScene-JTROOJSK.js +0 -64
- package/dist/Area3DChartScene-JTROOJSK.js.br +0 -0
- package/dist/Area3DChartScene-JTROOJSK.js.gz +0 -0
- package/dist/Bar3DChartScene-P4U4BRVA.mjs +0 -62
- package/dist/Bar3DChartScene-P4U4BRVA.mjs.br +0 -0
- package/dist/Bar3DChartScene-P4U4BRVA.mjs.gz +0 -0
- package/dist/Bar3DChartScene-QX5RUSRA.js +0 -64
- package/dist/Bar3DChartScene-QX5RUSRA.js.br +0 -0
- package/dist/Bar3DChartScene-QX5RUSRA.js.gz +0 -0
- package/dist/Line3DChartScene-6NCPU5DB.mjs +0 -62
- package/dist/Line3DChartScene-6NCPU5DB.mjs.br +0 -0
- package/dist/Line3DChartScene-6NCPU5DB.mjs.gz +0 -0
- package/dist/Line3DChartScene-BWTS264J.js +0 -64
- package/dist/Line3DChartScene-BWTS264J.js.br +0 -0
- package/dist/Line3DChartScene-BWTS264J.js.gz +0 -0
- package/dist/Model3DScene-IFAV52XV.js.br +0 -0
- package/dist/Model3DScene-IFAV52XV.js.gz +0 -0
- package/dist/Model3DScene-KBKADDJH.mjs.gz +0 -0
- package/dist/OrbitControls-2XOMWUVE.mjs +0 -3
- package/dist/OrbitControls-2XOMWUVE.mjs.br +0 -0
- package/dist/OrbitControls-2XOMWUVE.mjs.gz +0 -0
- package/dist/OrbitControls-CGYUF3BY.js +0 -12
- package/dist/OrbitControls-CGYUF3BY.js.br +0 -0
- package/dist/OrbitControls-CGYUF3BY.js.gz +0 -0
- package/dist/PieChart3DScene-BJNUS5VB.js +0 -58
- package/dist/PieChart3DScene-BJNUS5VB.js.br +0 -0
- package/dist/PieChart3DScene-BJNUS5VB.js.gz +0 -0
- package/dist/PieChart3DScene-RPKCSINA.mjs +0 -56
- package/dist/PieChart3DScene-RPKCSINA.mjs.br +0 -0
- package/dist/PieChart3DScene-RPKCSINA.mjs.gz +0 -0
- package/dist/SmartArt3DScene-D4VNNPHS.mjs +0 -500
- package/dist/SmartArt3DScene-D4VNNPHS.mjs.br +0 -0
- package/dist/SmartArt3DScene-D4VNNPHS.mjs.gz +0 -0
- package/dist/SmartArt3DScene-NHD7CZJ5.js +0 -502
- package/dist/SmartArt3DScene-NHD7CZJ5.js.br +0 -0
- package/dist/SmartArt3DScene-NHD7CZJ5.js.gz +0 -0
- package/dist/SurfaceChart3DScene-FOU6J6ZR.js +0 -64
- package/dist/SurfaceChart3DScene-FOU6J6ZR.js.br +0 -0
- package/dist/SurfaceChart3DScene-FOU6J6ZR.js.gz +0 -0
- package/dist/SurfaceChart3DScene-HI35BLTV.mjs +0 -62
- package/dist/SurfaceChart3DScene-HI35BLTV.mjs.br +0 -0
- package/dist/SurfaceChart3DScene-HI35BLTV.mjs.gz +0 -0
- package/dist/chunk-D6K76ELX.js.br +0 -0
- package/dist/chunk-D6K76ELX.js.gz +0 -0
- package/dist/chunk-DNR6CH6I.js +0 -30
- package/dist/chunk-DNR6CH6I.js.br +0 -0
- package/dist/chunk-DNR6CH6I.js.gz +0 -0
- package/dist/chunk-GUNIJ6LG.mjs.br +0 -0
- package/dist/chunk-GUNIJ6LG.mjs.gz +0 -0
- package/dist/chunk-GUXPTFLX.js.br +0 -0
- package/dist/chunk-GUXPTFLX.js.gz +0 -0
- package/dist/chunk-IIRZO7I2.js.br +0 -0
- package/dist/chunk-IIRZO7I2.js.gz +0 -0
- package/dist/chunk-IXS7DALE.js.br +0 -0
- package/dist/chunk-IXS7DALE.js.gz +0 -0
- package/dist/chunk-MV2GCDBR.mjs.br +0 -0
- package/dist/chunk-MV2GCDBR.mjs.gz +0 -0
- package/dist/chunk-OKDFNVIT.mjs.br +0 -0
- package/dist/chunk-OKDFNVIT.mjs.gz +0 -0
- package/dist/chunk-Q7PKJ6AQ.js.br +0 -0
- package/dist/chunk-Q7PKJ6AQ.js.gz +0 -0
- package/dist/chunk-RAZKPNMR.js.br +0 -0
- package/dist/chunk-RAZKPNMR.js.gz +0 -0
- package/dist/chunk-T6GFCLSM.mjs +0 -27
- package/dist/chunk-T6GFCLSM.mjs.br +0 -4
- package/dist/chunk-T6GFCLSM.mjs.gz +0 -0
- package/dist/chunk-TIJQMK3M.mjs.br +0 -0
- package/dist/chunk-TIJQMK3M.mjs.gz +0 -0
- package/dist/chunk-UVMS5TV6.mjs.br +0 -0
- package/dist/chunk-UVMS5TV6.mjs.gz +0 -0
- package/dist/chunk-YFZPV7QM.mjs.br +0 -0
- package/dist/chunk-YFZPV7QM.mjs.gz +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { computeFocusTargets, deckDataFieldChanged, aiChangeAnimationCss, changeGhostStyle, createChatHistoryStore, collectStoredChats, exportAiChatLogs, applyElementUpdate } from './chunk-
|
|
2
|
-
import { useViewerOptions, useReadOnlyRecommendationState, useCompatibilityToastsState, useReducedMotion, useViewerState, useIsMobile, useResizablePanels, useDerivedSlideState, useZoomViewport, useEditorHistory, usePresentationSetup, useTouchGestures, useViewerDialogs, useEditorOperations, useViewerIntegration, useViewPreferencesSync, useLayoutSwitching,
|
|
3
|
-
import { SHAPE_PRESETS, ANIMATION_PRESET_OPTIONS, cn, SLIDE_NAV_THUMBNAIL_WIDTH, TOOLBAR_SECTIONS, DEFAULT_SECTION_GROUP_ID, SHORTCUT_REFERENCE_ITEMS as SHORTCUT_REFERENCE_ITEMS$1, isConnectorOrLineElement, GRID_SIZE, MIN_ELEMENT_SIZE, CONNECTOR_ARROW_OPTIONS, ARROW_SIZE_OPTIONS, DEFAULT_FILL_COLOR, startMotionPathPreview, startPreviewAnimation, stopPreviewAnimation, DEFAULT_STROKE_COLOR, STROKE_DASH_OPTIONS } from './chunk-
|
|
4
|
-
import { SWITCHABLE_LAYOUT_TYPES, compileEquationTemplateMathMl, buildUserFontFaceStyles, readStoredViewerPrefs, resolveThemeCatalogEntry, THEME_CATALOG, writeStoredViewerPrefs, openPptxFile, readBackstageRecentFile, resolveAutosaveActivation, buildThemeColorMap, viewerOptionsToPreferences, applyPreferenceToOptions, resolveHistoryDepth, applyAutoCorrect, resolveImageResolutionScale, resolveAutosaveIntervalMs, resolveAutosaveIntervalSeconds, shouldShowAutosaveRecoveryPrompt, resolveOptionRootClasses, resolve3DRenderingFlags, resolveSlideSizeSelection, RULER_THICKNESS, RULER_FONT_SIZE, buildPreviewElements, deriveSlideFieldContext, SLIDE_TRANSITION_OPTIONS, hiddenSlideCue, HIDDEN_SLIDE_SLASH_GRADIENT, HIDDEN_SLIDE_LABEL_KEY, visibleTemplateElements, normalizeHexColor, themeToCssVars, listAutosaveSnapshots, resolveExpiredAutosaveSnapshots, deleteAutosaveSnapshot, masterViewCrudActions, applyMasterViewCrudAction, masterViewCrudFailureKey, applyMotionPathPreset, resetSlideLayoutPath, DEFAULT_INSERT_CHART_KIND, hasCopyableFormat, templateSchemeFromTheme, createBackstagePresentation, playFeedbackSound, shouldDiscardAutosaveOnSuccessfulSave, setMasterViewBackgroundColor, canUseClipboard, runProgramNoticeStackStyle, compatToastStackStyle, printPropertiesFrameSlides, printPropertiesSlidesPerPage, getDensePanelTouchTargetPx, shouldStickyActionRow, VIEWER_OPTIONS_TABS, DEFAULT_QUICK_ACCESS_COMMAND_IDS, isHeaderFooterDateTextVisible, isHeaderFooterHeaderTextVisible, isHeaderFooterFooterTextVisible, buildJoinCollaborationConfig, buildCreateCollaborationConfig, generateBroadcastRoomId, DEFAULT_BROADCAST_SERVER_URL, buildBroadcastViewerUrl, resolveTransportForServerUrl, getSlideBackgroundStyle, pushRecentColor, mruColorsPatch, shouldClearAutosaveCacheOnClose, filterCommands, resolveTitleBarStatusKey, TITLE_BAR_CLASSES, TITLE_BAR_DEFAULT_FILE_KEY, resolveScreenTip, masterViewBackgroundColor, buildFieldSubstitutionContext, shouldConfirmExternalHyperlink, safeOpenUrl, resolvePresentationAction, isPpactionUrl, parsePpactionUrl, isPresentationAdvanceClick, toggleBlackboard, PRESENT_TOOLBAR_CLASSES, buildContextMenuEntries, themeColorSchemesEqual, observeElementHeight, EXPANDED_MAX_HEIGHT, STATUS_BAR_CLASSES, buildBarActions, formatVersionTimestamp, formatRelativeTime, scanAvailableFontFamilies, PRESETS, CATEGORIES, convertOmmlToLatex, compileLatexEquation, convertLatexToOmml, EQUATION_TEMPLATES, clampPercent2, resolveDefaultPrintSettings, HANDOUT_OPTIONS, TOOLBAR_TABS, SHORTCUT_REFERENCE_ITEMS, resolveViewerAddinRows, availableQuickAccessCommands, addQuickAccessCommand, removeQuickAccessCommand, moveQuickAccessCommand, CUSTOM_FONT_ACCEPT, activateModalFocus, buildCollaborationShareUrl, buildActiveSessionUsers, SORTER_MIN_ZOOM, SORTER_ZOOM_STEP, SORTER_MAX_ZOOM, canGoPrevious, formatSlideCounter, READING_VIEW_COUNTER_ATTR, canGoNext, READING_VIEW_ATTR, OUTLINE_LEVEL_ATTR, OUTLINE_SLIDE_ATTR, OUTLINE_ROW_ATTR, OUTLINE_VIEW_ATTR, mobileElapsedSince, nextPresentedSlide, presenterPrevDisabled, presenterNextDisabled, formatMobileElapsed, mobileSlideCounter, presenterPaneAdvancesOnClick, presenterTimerProgress, PRESENTER_CONSOLE_CLASSES, formatElapsed, extraQuickAccessCommands, TAB_ROW_ACTION_CLASSES, listBackstageRecentFiles, BACKSTAGE_NAV, BACKSTAGE_SEARCH_CLASSES, hasTextProperties, COMMON_FONT_SIZES, textFontSizePtToPx, INSERT_CHART_TYPES, ACTION_BUTTON_PRESETS, CHARACTER_SPACING_OPTIONS, OFFICE_COLOR_SWATCHES, hasShapeProperties, shapeFillChange, shapeOutlineChange, readRibbonTransitionDraft, ribbonTransitionUpdates, playSlideTransitionPreview, RIBBON_TRANSITION_PRESETS, transitionSoundOptions, transitionSoundSelectedValue, DEFAULT_MOTION_PATH_PRESET_ID, SLIDE_SHOW_OPTIONS, slideShowOptionChange, readSlideShowOption, SLIDE_VIRTUALIZATION_THRESHOLD, PRESENTATION_HIT_TEST_CSS, PRESENTATION_STAGE_ATTRIBUTE, buildStrokePathD, cursorForTool, annotationOverlayZIndex, presentationInkPath, resolveNotesSchematicBodyFontSizePx, PRESENTER_NAVIGATOR_LABEL_KEYS, PEN_COLORS, HIGHLIGHTER_COLORS, isBlackboardActive, scaleSlidesForSizeChange, slideSizeToCanvasPx, resolveSelectionPaneRename, PRESET_THEMES, resolveNotesSegments, segmentsToEditorHtml, DEBOUNCE_MS, createPlainNotesSegments, parseSegmentsFromRichEditor, segmentsToPlainText, getCurrentParagraphIndex, segmentsToParagraphs, paragraphsToSegments, MAX_INDENT_LEVEL, INDENT_PX, isUrlSafe, buildNotesPrintHtml, MIN_TOUCH_TARGET_PX, toggleSheet, SMARTART_PREVIEW_ELEMENT_HEIGHT, SMARTART_PREVIEW_ELEMENT_WIDTH, buildSmartArtPreviewElement, sanitizeMathMl, computeHandoutLayout, getPrintableArea, generateNoteLineCount, computeAllNotesPages, getNotesPrintableArea, downloadBlob, clampOptionNumber, QUICK_ACCESS_COMMAND_CATALOG, registerCustomFont, openReadingView, applyReadingViewCommand, createPresentationKeyBuffer, readingViewFitScale, READING_VIEW_STAGE_ATTR, buildOutline, applyOutlineEdit, mapOutlineKey, notesSegmentsToSpans, erasePresentationInkAt, movePresenterPointer, appendPresentationInkPoint, PRESENTER_CONSOLE_CONTROLS, NOTES_FONT_SIZE_DEFAULT, formatTime, NOTES_FONT_SIZE_MIN, clampNotesFontSize, NOTES_FONT_SIZE_STEP, NOTES_FONT_SIZE_MAX, BACKSTAGE_TEMPLATES, formatBackstageDate, formatBackstageSize, backstageCardsFor, DEFAULT_VIEWER_PROFILE, resolveProfileInitial, AVATAR_COLOR_SWATCHES, resolveDefaultFontFamily, textFontSizePxToPt, buildFontCatalog, getSelectionTextStyleFlags, getInlineEditorSelectionResult, selectedParagraphBulletKind, elementBulletKind, selectionBulletKind, TEXT_DECORATION_FLAGS, nextToggleValue, buildThemeColorSwatchGrid, themeColorSwatchRows, findSelectedThemeSwatch, themeSwatchCommit, RIBBON_SHAPE_SWATCHES, canGroupSelection, canUngroupSelection, canSetStrokeWidth, strokeWidthOf, readSoundFileAsDataUrl, applyTransitionSoundFile, TRANSITION_SOUND_OTHER_VALUE, TRANSITION_SOUND_NONE_VALUE, clearTransitionSound, applyTransitionStockSound, transitionStockSoundId, getEffectSoundAsset, ENTRANCE_PRESET_VALUES, EMPHASIS_PRESET_VALUES, EXIT_PRESET_VALUES, MOTION_PATH_FAMILIES, motionPathFamilyLabelKey, motionPathPresetsByFamily, motionPathPresetLabelKey, masterViewPseudoSlide, motionPathFor, setMotionPath, getShapeAdjustmentHandleDescriptors, shouldShowElementHandles, hasMultipleSelectedTableCells, applyTableStyleDelete, applyTableStyleMapChange, themeColorLabel, buildThemeColorGrid, THEME_COLOR_SCHEME_KEYS, COMMON_FONTS, handleReadingViewKey, getLocalStorageUsageSummary, saveViewerProfile, clearAllLocalViewerData, isCurrentLayout, SLIDE_TEMPLATES, computeAnchoredPopupPosition, attachEditorImagePaste, authorConnectorBetweenSites, findEraserHitElementId, generateTicks, rulerDragToGuidePosition, resolveElementInteractivity, getElementTransformWithoutRotation, getElementTransform, buildChartQuickActionsDescriptor, applyChartElementToggle, CHART_QUICK_ACTION_BUTTON_SIZE, applyChartStylePreset, hideChartSeries, restoreFilteredSeries, getActiveXControlOverlayView, buildCommentMarkers, COMMENT_MARKER_SIZE, collectConnectorSiteCandidates, getConnectorEndpointHandles, findConnectorSiteNear, motionPathToSvgD, motionPathEndPixel, isEditableMotionPath, setMotionPathEnd, isElementLocked, isImageLikeElement, mergeSlideTransition, getElementLabel, mapSlideSorterKey, isEditorTextInputTarget, clampSorterZoom, buildLayoutPreviewGeometry, buildSlideTemplateContent, buildFreeformShapeElement, buildLiveInkStrokeView, CONNECTOR_SITE_SNAP_PX, resolveConnectorEndpointUpdate, withConnectorEndpointUpdate, getShapeConnectionSites, elementLockTogglePatch, buildTableDataGrid, getDenseGridLayoutPlan, appendTableElementRow, removeLastTableElementRow, appendTableElementColumn, removeLastTableElementColumn, removeTableElementColumn, removeTableElementRow, setTableElementCellText, TABLE_STYLE_PRESETS, applyTableStylePreset, tableStyleAssignmentUpdate, evenColumnWidths, redistributeColumnWidth, evenRowHeights, patchChartData, collapseChartTitleRunsForEdit, chartGridlinesState, chartGridlinesPatch, seriesSecondaryAxisPatch, setChartCategoryLabel, setChartCellValue, addChartCategory, removeChartCategory, addChartSeries, removeChartSeries, setDataLabelsRangeCache, setChartAxisLogScale, setChartAxisTitleStyle, setChartAxisGridlineStyle, setChartSeriesMarker, setChartSeriesChartType, setChartDataPointFill, setChartDataPointExplosion, setChartDataPointMarker, setChartDataPointLabel, describeSmartArtBounds, canAddTopLevelNode, classifyExtraConnections, siblingIndex, siblingCount, canRemoveTopLevelNode, canInteractWithElement, buildOleObjectNamePatch, getOleObjectTypeLabel, sanitizeGradientStops, shouldShowAccessibilitySection, pptxActionToElementAction, withFrameSlides, withSlidesPerPage, applyThemeOverrideToSlide, COLOR_MAP_ALIAS_KEYS, DEFAULT_COLOR_MAP, schemaLabel, THEME_COLOR_SLOT_LABEL_KEYS, SLIDE_SIZE_PRESETS, TRANSITION_VALID_DIRECTIONS, TRANSITION_ORIENTATION_TYPES, clampTransitionNumber, TRANSITION_SPEED_OPTIONS, TRANSITION_MORPH_OPTIONS, flattenTagCollections, resolveTemplateBackgroundRows, formatCommentTimestamp, commentMentionQuery, matchCommentMentionAuthors, buildAnimationTimelineRows, clearMotionPath, getEffectSoundState, setEffectSound, setEffectStockSound, setAfterAnimation, setAfterAnimationColor, DIRECTIONAL_PRESETS, buildAnimationTimelineBars, motionPathPresetIdForPath, EFFECT_SOUND_CATALOGUE, hasTiltData, normalizeTableStyleGuid, describeTableStyleEditor, TABLE_STYLE_EDITOR_PARTS, computeMergeCellRight, computeMergeCellDown, computeSplitCell, updateMergeAttrsInRawXml, resolveDisplayedChartType, CHART_TYPE_OPTIONS, BAR3D_SHAPE_OPTIONS, bar3DShapePatch, RADAR_STYLE_OPTIONS, radarStylePatch, SURFACE_WIREFRAME_OPTIONS, surfaceWireframePatch, isSeriesUsingSecondaryAxis, listChartUserShapeRows, withChartUserShapeAdded, createDefaultChartUserShape, withChartUserShapeRowRemoved, withChartUserShapeRowTextUpdated, SMARTART_COLOR_SCHEME_LABEL_KEYS, SMARTART_STYLE_LABEL_KEYS, addSmartArtNodeAsChild, setSmartArtNodeStyle, removeSmartArtNode, addSiblingAfter, removeEmptyNode, demote, promote, updateSmartArtNodeText, reorder, clampCropValue, DUOTONE_PRESETS, ARTISTIC_EFFECTS, mediaTrimEndSeconds, trimmedMediaDurationMs, mediaTrimEndAbsoluteMs, mediaTrimEndMsFromAbsoluteMs, buildOleEditDialogDescriptor, buildOleContentUpdatePatch, applyOleSheetCellEdit, getOleSheetGrid, applyOleDocumentParagraphEdit, getOleDocumentParagraphs, applyOleNestedDeckElementTextEdit, getOleNestedDeckDetail, replaceOleFile, getNonVisualDescriptionFields, resolveActionType, ELEMENT_ACTION_TYPE_OPTIONS, elementActionToPptxAction, canCommitActionType, slideSizeFromPreset, withSlideSizeOrientation, TRANSITION_DIR_ARROWS, buildDirectionGrid, getSlideTransitionAnimations, SLIDE_TRANSITION_KEYFRAMES, updateTagInCollections, deleteTagFromCollections, addTagToCollections, commentTextSegments, COMMENT_MENTION_CLASS, COMMENT_MENTION_ATTRIBUTE, insertCommentMention, reorderAnimationTimelineRows, applyAnimationTimelineOrder, animationEffectLabel, TABLE_STYLE_BORDER_SIDES, applyTableStyleFieldEdit, createTableStyleEntry, addTableStyleToMap, deleteTableStyleFromMap, LBL, SEL, FILL_MODE_OPTIONS, SECTION_HEADING, NUM, getChartUserShapeGroupTransform, withChartUserShapeGroupChildAdded, createDefaultChartUserShapeGroupChild, withChartUserShapeRowUpdated, getChartUserShapeRowChartBox, withChartUserShapeRowFlipUpdated, withChartUserShapeRowRotationUpdated, withChartUserShapeRowChartBoxUpdated, switchSmartArtLayout, rebuildDrawingShapesIfCleared, mediaTrimEndMsFromSeconds, validateMediaTrimRange, SHAPE_QUICK_STYLES, quickStyleSwatchCss, PATTERN_PRESET_OPTIONS, getPatternSvg, COMPOUND_LINE_OPTIONS, LINE_JOIN_OPTIONS, LINE_CAP_OPTIONS, TEXT_WARP_PRESETS, warpPreviewPath, text3dPtToEmu, text3dEmuToPt, MATERIAL_PRESETS, toSlideIndex, TABLE_STYLE_BORDER_SIDE_LABEL_KEYS, TABLE_STYLE_DASH_PRESETS, GRADIENT_TYPE_OPTIONS, PATTERN_OPTIONS, FILL_PATTERN_LABEL_KEYS, openNativeEyeDropper, toggleText3dExtrusion, BEVEL_PRESETS } from './chunk-UVMS5TV6.mjs';
|
|
1
|
+
import { computeFocusTargets, deckDataFieldChanged, aiChangeAnimationCss, changeGhostStyle, createChatHistoryStore, collectStoredChats, exportAiChatLogs, applyElementUpdate } from './chunk-L4XBWL7J.mjs';
|
|
2
|
+
import { useViewerOptions, useReadOnlyRecommendationState, useCompatibilityToastsState, useReducedMotion, useViewerState, useIsMobile, useResizablePanels, useDerivedSlideState, useZoomViewport, useEditorHistory, usePresentationSetup, useTouchGestures, useViewerDialogs, useEditorOperations, useViewerIntegration, useViewPreferencesSync, useLayoutSwitching, ViewerOptionsContext, Rendering3DFlagsContext, CollaborationProvider, useCollaboration, useCollaborationDocumentSync, useFollowMode, useBroadcastFollower, SlideBackgroundImageLayer, StaticElementRenderer, safePrompt, scopeLayoutOptionsToActiveSlide, ChartPartSelectionProvider, useToolbarVisibility, useKeyboardInsets, useModalDismissDrag, useViewerOptionsContext, useVirtualizedSlides, useSwipeNavigation, PresentationTransitionOverlay, RemoteSelectionOverlay, CollaborationCursorOverlay, useSheetDismissDrag, detectTargetType, parseEmailUrl, parseSlideFromUrl, ACTION_VERB_MAP, ElementRenderer, InlineCollaborationContext, SmartArtRenderer, playAnimationSound, ResizeHandles, renderStrokeView, useChartPartSelection, resolveSmartArtDataPalette } from './chunk-4GTDG2FH.mjs';
|
|
3
|
+
import { SHAPE_PRESETS, ANIMATION_PRESET_OPTIONS, cn, SLIDE_NAV_THUMBNAIL_WIDTH, TOOLBAR_SECTIONS, DEFAULT_SECTION_GROUP_ID, SHORTCUT_REFERENCE_ITEMS as SHORTCUT_REFERENCE_ITEMS$1, isConnectorOrLineElement, GRID_SIZE, MIN_ELEMENT_SIZE, CONNECTOR_ARROW_OPTIONS, ARROW_SIZE_OPTIONS, DEFAULT_FILL_COLOR, startMotionPathPreview, startPreviewAnimation, stopPreviewAnimation, DEFAULT_STROKE_COLOR, STROKE_DASH_OPTIONS } from './chunk-B5YZABYX.mjs';
|
|
4
|
+
import { SWITCHABLE_LAYOUT_TYPES, compileEquationTemplateMathMl, buildUserFontFaceStyles, readStoredViewerPrefs, resolveThemeCatalogEntry, THEME_CATALOG, writeStoredViewerPrefs, openPptxFile, readBackstageRecentFile, resolveAutosaveActivation, buildThemeColorMap, viewerOptionsToPreferences, applyPreferenceToOptions, resolveHistoryDepth, applyAutoCorrect, resolveImageResolutionScale, resolveAutosaveIntervalMs, resolveAutosaveIntervalSeconds, shouldShowAutosaveRecoveryPrompt, resolveOptionRootClasses, resolve3DRenderingFlags, resolveSlideSizeSelection, RULER_THICKNESS, RULER_FONT_SIZE, buildPreviewElements, deriveSlideFieldContext, SLIDE_TRANSITION_OPTIONS, hiddenSlideCue, HIDDEN_SLIDE_SLASH_GRADIENT, HIDDEN_SLIDE_LABEL_KEY, visibleTemplateElements, normalizeHexColor, themeToCssVars, listAutosaveSnapshots, resolveExpiredAutosaveSnapshots, deleteAutosaveSnapshot, masterViewCrudActions, applyMasterViewCrudAction, masterViewCrudFailureKey, applyMotionPathPreset, resetSlideLayoutPath, DEFAULT_INSERT_CHART_KIND, hasCopyableFormat, templateSchemeFromTheme, createBackstagePresentation, playFeedbackSound, shouldDiscardAutosaveOnSuccessfulSave, setMasterViewBackgroundColor, canUseClipboard, runProgramNoticeStackStyle, compatToastStackStyle, printPropertiesFrameSlides, printPropertiesSlidesPerPage, getDensePanelTouchTargetPx, shouldStickyActionRow, VIEWER_OPTIONS_TABS, DEFAULT_QUICK_ACCESS_COMMAND_IDS, isHeaderFooterDateTextVisible, isHeaderFooterHeaderTextVisible, isHeaderFooterFooterTextVisible, buildJoinCollaborationConfig, buildCreateCollaborationConfig, generateBroadcastRoomId, DEFAULT_BROADCAST_SERVER_URL, buildBroadcastViewerUrl, resolveTransportForServerUrl, getSlideBackgroundStyle, pushRecentColor, mruColorsPatch, shouldClearAutosaveCacheOnClose, filterCommands, resolveTitleBarStatusKey, TITLE_BAR_CLASSES, TITLE_BAR_DEFAULT_FILE_KEY, resolveScreenTip, masterViewBackgroundColor, buildFieldSubstitutionContext, shouldConfirmExternalHyperlink, safeOpenUrl, resolvePresentationAction, isPpactionUrl, parsePpactionUrl, isPresentationAdvanceClick, toggleBlackboard, PRESENT_TOOLBAR_CLASSES, buildContextMenuEntries, themeColorSchemesEqual, observeElementHeight, EXPANDED_MAX_HEIGHT, STATUS_BAR_CLASSES, buildBarActions, formatVersionTimestamp, formatRelativeTime, scanAvailableFontFamilies, PRESETS, CATEGORIES, convertOmmlToLatex, compileLatexEquation, convertLatexToOmml, EQUATION_TEMPLATES, clampPercent2, resolveDefaultPrintSettings, HANDOUT_OPTIONS, TOOLBAR_TABS, SHORTCUT_REFERENCE_ITEMS, resolveViewerAddinRows, availableQuickAccessCommands, addQuickAccessCommand, removeQuickAccessCommand, moveQuickAccessCommand, CUSTOM_FONT_ACCEPT, activateModalFocus, buildCollaborationShareUrl, buildActiveSessionUsers, SORTER_MIN_ZOOM, SORTER_ZOOM_STEP, SORTER_MAX_ZOOM, canGoPrevious, formatSlideCounter, READING_VIEW_COUNTER_ATTR, canGoNext, READING_VIEW_ATTR, OUTLINE_LEVEL_ATTR, OUTLINE_SLIDE_ATTR, OUTLINE_ROW_ATTR, OUTLINE_VIEW_ATTR, mobileElapsedSince, nextPresentedSlide, presenterPrevDisabled, presenterNextDisabled, formatMobileElapsed, mobileSlideCounter, presenterPaneAdvancesOnClick, presenterTimerProgress, PRESENTER_CONSOLE_CLASSES, formatElapsed, extraQuickAccessCommands, TAB_ROW_ACTION_CLASSES, listBackstageRecentFiles, BACKSTAGE_NAV, BACKSTAGE_BACK_CLASSES, BACKSTAGE_NAV_CLASSES, hasTextProperties, COMMON_FONT_SIZES, textFontSizePtToPx, INSERT_CHART_TYPES, ACTION_BUTTON_PRESETS, CHARACTER_SPACING_OPTIONS, OFFICE_COLOR_SWATCHES, hasShapeProperties, shapeFillChange, shapeOutlineChange, readRibbonTransitionDraft, ribbonTransitionUpdates, playSlideTransitionPreview, RIBBON_TRANSITION_PRESETS, transitionSoundOptions, transitionSoundSelectedValue, DEFAULT_MOTION_PATH_PRESET_ID, SLIDE_SHOW_OPTIONS, slideShowOptionChange, readSlideShowOption, SLIDE_VIRTUALIZATION_THRESHOLD, PRESENTATION_HIT_TEST_CSS, PRESENTATION_STAGE_ATTRIBUTE, buildStrokePathD, cursorForTool, annotationOverlayZIndex, presentationInkPath, resolveNotesSchematicBodyFontSizePx, PRESENTER_NAVIGATOR_LABEL_KEYS, PEN_COLORS, HIGHLIGHTER_COLORS, isBlackboardActive, scaleSlidesForSizeChange, slideSizeToCanvasPx, resolveSelectionPaneRename, PRESET_THEMES, resolveNotesSegments, segmentsToEditorHtml, DEBOUNCE_MS, createPlainNotesSegments, parseSegmentsFromRichEditor, segmentsToPlainText, getCurrentParagraphIndex, segmentsToParagraphs, paragraphsToSegments, MAX_INDENT_LEVEL, INDENT_PX, isUrlSafe, buildNotesPrintHtml, MIN_TOUCH_TARGET_PX, toggleSheet, SMARTART_PREVIEW_ELEMENT_HEIGHT, SMARTART_PREVIEW_ELEMENT_WIDTH, buildSmartArtPreviewElement, sanitizeMathMl, computeHandoutLayout, getPrintableArea, generateNoteLineCount, computeAllNotesPages, getNotesPrintableArea, downloadBlob, clampOptionNumber, QUICK_ACCESS_COMMAND_CATALOG, registerCustomFont, openReadingView, applyReadingViewCommand, createPresentationKeyBuffer, readingViewFitScale, READING_VIEW_STAGE_ATTR, buildOutline, applyOutlineEdit, mapOutlineKey, notesSegmentsToSpans, erasePresentationInkAt, movePresenterPointer, appendPresentationInkPoint, PRESENTER_CONSOLE_CONTROLS, NOTES_FONT_SIZE_DEFAULT, formatTime, NOTES_FONT_SIZE_MIN, clampNotesFontSize, NOTES_FONT_SIZE_STEP, NOTES_FONT_SIZE_MAX, BACKSTAGE_TEMPLATES, formatBackstageDate, formatBackstageSize, backstageCardsFor, DEFAULT_VIEWER_PROFILE, resolveProfileInitial, AVATAR_COLOR_SWATCHES, resolveDefaultFontFamily, textFontSizePxToPt, buildFontCatalog, getSelectionTextStyleFlags, getInlineEditorSelectionResult, selectedParagraphBulletKind, elementBulletKind, selectionBulletKind, TEXT_DECORATION_FLAGS, nextToggleValue, buildThemeColorSwatchGrid, themeColorSwatchRows, findSelectedThemeSwatch, themeSwatchCommit, RIBBON_SHAPE_SWATCHES, canGroupSelection, canUngroupSelection, canSetStrokeWidth, strokeWidthOf, readSoundFileAsDataUrl, applyTransitionSoundFile, TRANSITION_SOUND_OTHER_VALUE, TRANSITION_SOUND_NONE_VALUE, clearTransitionSound, applyTransitionStockSound, transitionStockSoundId, getEffectSoundAsset, ENTRANCE_PRESET_VALUES, EMPHASIS_PRESET_VALUES, EXIT_PRESET_VALUES, MOTION_PATH_FAMILIES, motionPathFamilyLabelKey, motionPathPresetsByFamily, motionPathPresetLabelKey, masterViewPseudoSlide, motionPathFor, setMotionPath, getShapeAdjustmentHandleDescriptors, shouldShowElementHandles, hasMultipleSelectedTableCells, applyTableStyleDelete, applyTableStyleMapChange, themeColorLabel, buildThemeColorGrid, THEME_COLOR_SCHEME_KEYS, COMMON_FONTS, handleReadingViewKey, getLocalStorageUsageSummary, saveViewerProfile, clearAllLocalViewerData, isCurrentLayout, SLIDE_TEMPLATES, computeAnchoredPopupPosition, attachEditorImagePaste, authorConnectorBetweenSites, findEraserHitElementId, generateTicks, rulerDragToGuidePosition, resolveElementInteractivity, getElementTransformWithoutRotation, getElementTransform, buildChartQuickActionsDescriptor, applyChartElementToggle, CHART_QUICK_ACTION_BUTTON_SIZE, applyChartStylePreset, hideChartSeries, restoreFilteredSeries, getActiveXControlOverlayView, buildCommentMarkers, COMMENT_MARKER_SIZE, collectConnectorSiteCandidates, getConnectorEndpointHandles, findConnectorSiteNear, motionPathToSvgD, motionPathEndPixel, isEditableMotionPath, setMotionPathEnd, isElementLocked, isImageLikeElement, mergeSlideTransition, getElementLabel, mapSlideSorterKey, isEditorTextInputTarget, clampSorterZoom, buildLayoutPreviewGeometry, buildSlideTemplateContent, buildFreeformShapeElement, buildLiveInkStrokeView, CONNECTOR_SITE_SNAP_PX, resolveConnectorEndpointUpdate, withConnectorEndpointUpdate, getShapeConnectionSites, elementLockTogglePatch, buildTableDataGrid, getDenseGridLayoutPlan, appendTableElementRow, removeLastTableElementRow, appendTableElementColumn, removeLastTableElementColumn, removeTableElementColumn, removeTableElementRow, setTableElementCellText, TABLE_STYLE_PRESETS, applyTableStylePreset, tableStyleAssignmentUpdate, evenColumnWidths, redistributeColumnWidth, evenRowHeights, patchChartData, collapseChartTitleRunsForEdit, chartGridlinesState, chartGridlinesPatch, seriesSecondaryAxisPatch, setChartCategoryLabel, setChartCellValue, addChartCategory, removeChartCategory, addChartSeries, removeChartSeries, setDataLabelsRangeCache, setChartAxisLogScale, setChartAxisTitleStyle, setChartAxisGridlineStyle, setChartSeriesMarker, setChartSeriesChartType, setChartDataPointFill, setChartDataPointExplosion, setChartDataPointMarker, setChartDataPointLabel, describeSmartArtBounds, canAddTopLevelNode, classifyExtraConnections, siblingIndex, siblingCount, canRemoveTopLevelNode, canInteractWithElement, buildOleObjectNamePatch, getOleObjectTypeLabel, sanitizeGradientStops, shouldShowAccessibilitySection, pptxActionToElementAction, withFrameSlides, withSlidesPerPage, applyThemeOverrideToSlide, COLOR_MAP_ALIAS_KEYS, DEFAULT_COLOR_MAP, schemaLabel, THEME_COLOR_SLOT_LABEL_KEYS, SLIDE_SIZE_PRESETS, TRANSITION_VALID_DIRECTIONS, TRANSITION_ORIENTATION_TYPES, clampTransitionNumber, TRANSITION_SPEED_OPTIONS, TRANSITION_MORPH_OPTIONS, flattenTagCollections, resolveTemplateBackgroundRows, formatCommentTimestamp, commentMentionQuery, matchCommentMentionAuthors, buildAnimationTimelineRows, clearMotionPath, getEffectSoundState, setEffectSound, setEffectStockSound, setAfterAnimation, setAfterAnimationColor, DIRECTIONAL_PRESETS, buildAnimationTimelineBars, motionPathPresetIdForPath, EFFECT_SOUND_CATALOGUE, hasTiltData, normalizeTableStyleGuid, describeTableStyleEditor, TABLE_STYLE_EDITOR_PARTS, computeMergeCellRight, computeMergeCellDown, computeSplitCell, updateMergeAttrsInRawXml, resolveDisplayedChartType, CHART_TYPE_OPTIONS, BAR3D_SHAPE_OPTIONS, bar3DShapePatch, RADAR_STYLE_OPTIONS, radarStylePatch, SURFACE_WIREFRAME_OPTIONS, surfaceWireframePatch, isSeriesUsingSecondaryAxis, listChartUserShapeRows, withChartUserShapeAdded, createDefaultChartUserShape, withChartUserShapeRowRemoved, withChartUserShapeRowTextUpdated, SMARTART_COLOR_SCHEME_LABEL_KEYS, SMARTART_STYLE_LABEL_KEYS, addSmartArtNodeAsChild, setSmartArtNodeStyle, removeSmartArtNode, addSiblingAfter, removeEmptyNode, demote, promote, updateSmartArtNodeText, reorder, clampCropValue, DUOTONE_PRESETS, ARTISTIC_EFFECTS, mediaTrimEndSeconds, trimmedMediaDurationMs, mediaTrimEndAbsoluteMs, mediaTrimEndMsFromAbsoluteMs, buildOleEditDialogDescriptor, buildOleContentUpdatePatch, applyOleSheetCellEdit, getOleSheetGrid, applyOleDocumentParagraphEdit, getOleDocumentParagraphs, applyOleNestedDeckElementTextEdit, getOleNestedDeckDetail, replaceOleFile, getNonVisualDescriptionFields, resolveActionType, ELEMENT_ACTION_TYPE_OPTIONS, elementActionToPptxAction, canCommitActionType, slideSizeFromPreset, withSlideSizeOrientation, TRANSITION_DIR_ARROWS, buildDirectionGrid, getSlideTransitionAnimations, SLIDE_TRANSITION_KEYFRAMES, updateTagInCollections, deleteTagFromCollections, addTagToCollections, commentTextSegments, COMMENT_MENTION_CLASS, COMMENT_MENTION_ATTRIBUTE, insertCommentMention, reorderAnimationTimelineRows, applyAnimationTimelineOrder, animationEffectLabel, TABLE_STYLE_BORDER_SIDES, applyTableStyleFieldEdit, createTableStyleEntry, addTableStyleToMap, deleteTableStyleFromMap, LBL, SEL, FILL_MODE_OPTIONS, SECTION_HEADING, NUM, getChartUserShapeGroupTransform, withChartUserShapeGroupChildAdded, createDefaultChartUserShapeGroupChild, withChartUserShapeRowUpdated, getChartUserShapeRowChartBox, withChartUserShapeRowFlipUpdated, withChartUserShapeRowRotationUpdated, withChartUserShapeRowChartBoxUpdated, switchSmartArtLayout, rebuildDrawingShapesIfCleared, mediaTrimEndMsFromSeconds, validateMediaTrimRange, SHAPE_QUICK_STYLES, quickStyleSwatchCss, PATTERN_PRESET_OPTIONS, getPatternSvg, COMPOUND_LINE_OPTIONS, LINE_JOIN_OPTIONS, LINE_CAP_OPTIONS, TEXT_WARP_PRESETS, warpPreviewPath, text3dPtToEmu, text3dEmuToPt, MATERIAL_PRESETS, toSlideIndex, TABLE_STYLE_BORDER_SIDE_LABEL_KEYS, TABLE_STYLE_DASH_PRESETS, GRADIENT_TYPE_OPTIONS, PATTERN_OPTIONS, FILL_PATTERN_LABEL_KEYS, openNativeEyeDropper, toggleText3dExtrusion, BEVEL_PRESETS } from './chunk-VPJOJJ36.mjs';
|
|
5
5
|
import { LOCALE_CATALOG, ALIGNMENT_LABEL_KEYS } from './chunk-PC7H3C5W.mjs';
|
|
6
|
-
import React4, { createContext, lazy, forwardRef, useEffect, useState, useCallback, useMemo, useRef, useId, Fragment as Fragment$1, useDeferredValue, Suspense, useContext, useSyncExternalStore
|
|
6
|
+
import React4, { createContext, lazy, forwardRef, useEffect, useState, useCallback, useMemo, useRef, useId, Fragment as Fragment$1, useDeferredValue, useLayoutEffect, Suspense, useContext, useSyncExternalStore } from 'react';
|
|
7
7
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
8
8
|
import { useTranslation } from 'react-i18next';
|
|
9
9
|
import { LuMessageSquare, LuEyeOff, LuHistory, LuTrash2, LuSettings, LuX, LuCalendarDays, LuClock, LuHash, LuFileText, LuText, LuCast, LuSave, LuUndo, LuRedo, LuSearch, LuShieldCheck, LuPlus, LuPanelLeftClose, LuStickyNote, LuMonitor, LuColumns2, LuPresentation, LuMinus, LuSettings2, LuLayers, LuDownload, LuCheck, LuLock, LuEye, LuType, LuLoader, LuShieldAlert, LuSignature, LuInfo, LuTriangleAlert, LuPrinter, LuPenTool, LuBug, LuChevronUp, LuChevronDown, LuUpload, LuWifi, LuWifiOff, LuUsers, LuCopy, LuChevronLeft, LuChevronRight, LuPlay, LuPause, LuZoomOut, LuZoomIn, LuSpellCheck, LuFileDown, LuMenu, LuSparkles, LuShare2, LuPanelLeft, LuPanelRight, LuArrowLeft, LuFolderOpen, LuClipboardPaste, LuScissors, LuPaintbrush, LuSquare, LuImage, LuVideo, LuDatabase, LuAArrowUp, LuAArrowDown, LuRemoveFormatting, LuHighlighter, LuList, LuListOrdered, LuIndentDecrease, LuIndentIncrease, LuReplace, LuMousePointer2, LuShapes, LuPaintBucket, LuPenLine, LuPalette, LuPencil, LuStar, LuMoveRight, LuMousePointerClick, LuClock3, LuMonitorPlay, LuListVideo, LuCaptions, LuCamera, LuEraser, LuRotateCcw, LuCircleHelp, LuBookOpen, LuLanguages, LuGlobe, LuGitCompare, LuMessageSquarePlus, LuLockKeyhole, LuPanelTop, LuLayoutGrid, LuGrid3X3, LuPipette, LuRuler, LuMaximize2, LuCode, LuCaseSensitive, LuTimer, LuGripVertical, LuLoaderCircle, LuBold, LuItalic, LuUnderline, LuStrikethrough, LuLink, LuGrid2X2, LuCopyPlus, LuScan, LuMonitorOff, LuCirclePlay, LuCirclePause, LuArrowLeftRight, LuClipboardCopy, LuWand, LuTextCursorInput, LuFile, LuEllipsis, LuUserRound, LuFilePlus2, LuHouse, LuFileJson, LuBox, LuFileImage, LuUser, LuHardDrive, LuLogIn, LuLayoutTemplate, LuFolderPlus, LuAlignLeft, LuAlignCenter, LuAlignRight, LuAlignJustify, LuColumns3, LuSpline, LuAlignHorizontalSpaceAround, LuAlignVerticalSpaceAround, LuGroup, LuUngroup, LuMove, LuRadio, LuFilter, LuLockOpen, LuArrowDown, LuArrowUp, LuArrowRight, LuReply, LuRotateCw, LuBookmark } from 'react-icons/lu';
|
|
@@ -1569,6 +1569,90 @@ function DrawSection(p) {
|
|
|
1569
1569
|
] })
|
|
1570
1570
|
] });
|
|
1571
1571
|
}
|
|
1572
|
+
function useHostEvent(ref, type, handler) {
|
|
1573
|
+
useEffect(() => {
|
|
1574
|
+
const host = ref.current;
|
|
1575
|
+
if (!host || !handler) {
|
|
1576
|
+
return;
|
|
1577
|
+
}
|
|
1578
|
+
host.addEventListener(type, handler);
|
|
1579
|
+
return () => host.removeEventListener(type, handler);
|
|
1580
|
+
}, [ref, type, handler]);
|
|
1581
|
+
}
|
|
1582
|
+
function WebSearch({
|
|
1583
|
+
value,
|
|
1584
|
+
disabled = false,
|
|
1585
|
+
onInput,
|
|
1586
|
+
onChange,
|
|
1587
|
+
onFocus,
|
|
1588
|
+
onBlur,
|
|
1589
|
+
onKeyDown,
|
|
1590
|
+
...rest
|
|
1591
|
+
}) {
|
|
1592
|
+
const ref = useRef(null);
|
|
1593
|
+
useLayoutEffect(() => {
|
|
1594
|
+
if (ref.current) {
|
|
1595
|
+
ref.current.value = value;
|
|
1596
|
+
ref.current.disabled = disabled;
|
|
1597
|
+
}
|
|
1598
|
+
}, [value, disabled]);
|
|
1599
|
+
useHostEvent(ref, "input", onInput);
|
|
1600
|
+
useHostEvent(ref, "change", onChange);
|
|
1601
|
+
useHostEvent(ref, "focusin", onFocus);
|
|
1602
|
+
useHostEvent(ref, "focusout", onBlur);
|
|
1603
|
+
useHostEvent(ref, "keydown", onKeyDown);
|
|
1604
|
+
return /* @__PURE__ */ jsx("pptx-ui-search", { ref, value, disabled: disabled || void 0, ...rest });
|
|
1605
|
+
}
|
|
1606
|
+
function WebSelect({
|
|
1607
|
+
value,
|
|
1608
|
+
disabled = false,
|
|
1609
|
+
onChange,
|
|
1610
|
+
...rest
|
|
1611
|
+
}) {
|
|
1612
|
+
const ref = useRef(null);
|
|
1613
|
+
useLayoutEffect(() => {
|
|
1614
|
+
if (ref.current) {
|
|
1615
|
+
ref.current.value = String(value);
|
|
1616
|
+
ref.current.disabled = disabled;
|
|
1617
|
+
}
|
|
1618
|
+
}, [value, disabled]);
|
|
1619
|
+
useHostEvent(
|
|
1620
|
+
ref,
|
|
1621
|
+
"change",
|
|
1622
|
+
onChange ? (event) => onChange(event) : void 0
|
|
1623
|
+
);
|
|
1624
|
+
return /* @__PURE__ */ jsx("pptx-ui-select", { ref, value: String(value), disabled: disabled || void 0, ...rest });
|
|
1625
|
+
}
|
|
1626
|
+
function WebCheckbox({
|
|
1627
|
+
checked,
|
|
1628
|
+
disabled = false,
|
|
1629
|
+
onChange,
|
|
1630
|
+
value,
|
|
1631
|
+
...rest
|
|
1632
|
+
}) {
|
|
1633
|
+
const ref = useRef(null);
|
|
1634
|
+
useLayoutEffect(() => {
|
|
1635
|
+
if (ref.current) {
|
|
1636
|
+
ref.current.checked = checked;
|
|
1637
|
+
ref.current.disabled = disabled;
|
|
1638
|
+
}
|
|
1639
|
+
}, [checked, disabled]);
|
|
1640
|
+
useHostEvent(
|
|
1641
|
+
ref,
|
|
1642
|
+
"change",
|
|
1643
|
+
onChange ? (event) => onChange(event) : void 0
|
|
1644
|
+
);
|
|
1645
|
+
return /* @__PURE__ */ jsx(
|
|
1646
|
+
"pptx-ui-checkbox",
|
|
1647
|
+
{
|
|
1648
|
+
ref,
|
|
1649
|
+
checked: checked || void 0,
|
|
1650
|
+
disabled: disabled || void 0,
|
|
1651
|
+
value: value === void 0 ? void 0 : String(value),
|
|
1652
|
+
...rest
|
|
1653
|
+
}
|
|
1654
|
+
);
|
|
1655
|
+
}
|
|
1572
1656
|
var AccountAuthContext = createContext(void 0);
|
|
1573
1657
|
var cardClass = "border border-border bg-card p-6 text-card-foreground";
|
|
1574
1658
|
function AccountPage() {
|
|
@@ -1599,7 +1683,7 @@ function AccountPage() {
|
|
|
1599
1683
|
return void 0;
|
|
1600
1684
|
});
|
|
1601
1685
|
};
|
|
1602
|
-
const version = "4.1.
|
|
1686
|
+
const version = "4.1.6" ;
|
|
1603
1687
|
return /* @__PURE__ */ jsxs("div", { className: "mt-8 max-w-[700px] space-y-6", children: [
|
|
1604
1688
|
/* @__PURE__ */ jsxs("section", { className: cardClass, children: [
|
|
1605
1689
|
/* @__PURE__ */ jsxs("h2", { className: "flex items-center gap-2 text-sm font-semibold", children: [
|
|
@@ -1883,25 +1967,27 @@ function FileSection(p) {
|
|
|
1883
1967
|
"aria-label": t("pptx.backstage.title"),
|
|
1884
1968
|
children: [
|
|
1885
1969
|
/* @__PURE__ */ jsxs("aside", { className: "flex w-[148px] shrink-0 flex-col border-r border-border bg-secondary max-md:w-full max-md:flex-row max-md:items-center max-md:overflow-x-auto max-md:border-r-0 max-md:border-b", children: [
|
|
1886
|
-
/* @__PURE__ */ jsx(
|
|
1970
|
+
/* @__PURE__ */ jsx("div", { className: BACKSTAGE_BACK_CLASSES.row, children: /* @__PURE__ */ jsx(
|
|
1887
1971
|
"button",
|
|
1888
1972
|
{
|
|
1889
1973
|
type: "button",
|
|
1890
1974
|
"aria-label": t("pptx.backstage.back"),
|
|
1891
1975
|
onClick: p.onClose,
|
|
1892
|
-
className:
|
|
1976
|
+
className: BACKSTAGE_BACK_CLASSES.button,
|
|
1893
1977
|
children: /* @__PURE__ */ jsx(LuArrowLeft, {})
|
|
1894
1978
|
}
|
|
1895
|
-
),
|
|
1896
|
-
/* @__PURE__ */ jsxs("nav", { className: "flex min-h-0 flex-1 flex-col
|
|
1979
|
+
) }),
|
|
1980
|
+
/* @__PURE__ */ jsxs("nav", { className: "flex min-h-0 flex-1 flex-col overflow-y-auto pb-2 max-md:flex-row max-md:items-center max-md:overflow-y-visible max-md:pb-0", children: [
|
|
1897
1981
|
BACKSTAGE_NAV.filter(
|
|
1898
1982
|
(item) => !item.group && !(item.id === "export" && exportHidden)
|
|
1899
1983
|
).map((item) => /* @__PURE__ */ jsxs(
|
|
1900
1984
|
"button",
|
|
1901
1985
|
{
|
|
1902
1986
|
type: "button",
|
|
1987
|
+
"data-pptx-backstage-nav-item": true,
|
|
1988
|
+
"aria-current": page === item.id ? "page" : void 0,
|
|
1903
1989
|
onClick: () => item.id === "close" ? p.onClose() : item.id === "save" ? run(p.onSaveAsPptx) : setPage(item.id),
|
|
1904
|
-
className:
|
|
1990
|
+
className: `${BACKSTAGE_NAV_CLASSES.row} ${page === item.id ? BACKSTAGE_NAV_CLASSES.active : BACKSTAGE_NAV_CLASSES.inactive}`,
|
|
1905
1991
|
children: [
|
|
1906
1992
|
/* @__PURE__ */ jsx(BackstageNavIcon, { page: item.id }),
|
|
1907
1993
|
t(item.labelKey, { defaultValue: item.label })
|
|
@@ -1914,8 +2000,10 @@ function FileSection(p) {
|
|
|
1914
2000
|
"button",
|
|
1915
2001
|
{
|
|
1916
2002
|
type: "button",
|
|
2003
|
+
"data-pptx-backstage-nav-item": true,
|
|
2004
|
+
"aria-current": page === item.id ? "page" : void 0,
|
|
1917
2005
|
onClick: () => item.id === "options" && p.onOpenSettings ? run(p.onOpenSettings) : setPage(item.id),
|
|
1918
|
-
className:
|
|
2006
|
+
className: `${BACKSTAGE_NAV_CLASSES.row} ${page === item.id ? BACKSTAGE_NAV_CLASSES.active : BACKSTAGE_NAV_CLASSES.inactive}`,
|
|
1919
2007
|
children: [
|
|
1920
2008
|
/* @__PURE__ */ jsx(BackstageNavIcon, { page: item.id }),
|
|
1921
2009
|
t(item.labelKey, { defaultValue: item.label })
|
|
@@ -1934,21 +2022,18 @@ function FileSection(p) {
|
|
|
1934
2022
|
}
|
|
1935
2023
|
),
|
|
1936
2024
|
(page === "home" || page === "open") && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
1937
|
-
/* @__PURE__ */
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
"
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
}
|
|
1950
|
-
)
|
|
1951
|
-
] }),
|
|
2025
|
+
/* @__PURE__ */ jsx(
|
|
2026
|
+
WebSearch,
|
|
2027
|
+
{
|
|
2028
|
+
"data-pptx-search-surface": true,
|
|
2029
|
+
"data-pptx-search-input": true,
|
|
2030
|
+
className: "mt-8 w-full max-w-[540px]",
|
|
2031
|
+
value: query,
|
|
2032
|
+
onInput: (event) => setQuery(event.currentTarget.value),
|
|
2033
|
+
placeholder: t("pptx.backstage.searchPlaceholder"),
|
|
2034
|
+
"aria-label": t("pptx.backstage.searchPlaceholder")
|
|
2035
|
+
}
|
|
2036
|
+
),
|
|
1952
2037
|
page === "open" && /* @__PURE__ */ jsxs(
|
|
1953
2038
|
"button",
|
|
1954
2039
|
{
|
|
@@ -8609,6 +8694,31 @@ function SlideCanvasContent({
|
|
|
8609
8694
|
}
|
|
8610
8695
|
);
|
|
8611
8696
|
}
|
|
8697
|
+
function LoadingState({ className }) {
|
|
8698
|
+
const { t } = useTranslation();
|
|
8699
|
+
return /* @__PURE__ */ jsx(
|
|
8700
|
+
"div",
|
|
8701
|
+
{
|
|
8702
|
+
role: "status",
|
|
8703
|
+
"aria-live": "polite",
|
|
8704
|
+
"aria-atomic": "true",
|
|
8705
|
+
className: cn(
|
|
8706
|
+
"h-full w-full flex items-center justify-center text-muted-foreground",
|
|
8707
|
+
className
|
|
8708
|
+
),
|
|
8709
|
+
children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
8710
|
+
/* @__PURE__ */ jsx(
|
|
8711
|
+
"div",
|
|
8712
|
+
{
|
|
8713
|
+
className: "animate-spin rounded-full h-6 w-6 border-b-2 border-primary",
|
|
8714
|
+
"aria-hidden": "true"
|
|
8715
|
+
}
|
|
8716
|
+
),
|
|
8717
|
+
/* @__PURE__ */ jsx("span", { children: t("pptx.viewer.loading") })
|
|
8718
|
+
] })
|
|
8719
|
+
}
|
|
8720
|
+
);
|
|
8721
|
+
}
|
|
8612
8722
|
function ErrorState({ className, error }) {
|
|
8613
8723
|
return /* @__PURE__ */ jsx(
|
|
8614
8724
|
"div",
|
|
@@ -15857,7 +15967,7 @@ function AfterAnimationRow({
|
|
|
15857
15967
|
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1", children: [
|
|
15858
15968
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-[11px]", children: t("pptx.animation.afterAnimation") }),
|
|
15859
15969
|
/* @__PURE__ */ jsx(
|
|
15860
|
-
|
|
15970
|
+
WebSelect,
|
|
15861
15971
|
{
|
|
15862
15972
|
"aria-label": t("pptx.animation.afterAnimation"),
|
|
15863
15973
|
value: action,
|
|
@@ -16111,7 +16221,7 @@ function EffectSoundRow({
|
|
|
16111
16221
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-[11px]", children: t("pptx.animation.sound") }),
|
|
16112
16222
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1", children: [
|
|
16113
16223
|
/* @__PURE__ */ jsxs(
|
|
16114
|
-
|
|
16224
|
+
WebSelect,
|
|
16115
16225
|
{
|
|
16116
16226
|
"aria-label": t("pptx.animation.sound"),
|
|
16117
16227
|
value: selectedValue,
|
|
@@ -16163,7 +16273,7 @@ function MotionPathRow({
|
|
|
16163
16273
|
return /* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1", children: [
|
|
16164
16274
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-[11px]", children: t("pptx.animation.motionPath.label") }),
|
|
16165
16275
|
/* @__PURE__ */ jsxs(
|
|
16166
|
-
|
|
16276
|
+
WebSelect,
|
|
16167
16277
|
{
|
|
16168
16278
|
"aria-label": t("pptx.animation.motionPath.label"),
|
|
16169
16279
|
value: isCustom ? "custom" : presetId ?? "none",
|
|
@@ -16666,7 +16776,7 @@ function AnimationPanel({
|
|
|
16666
16776
|
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1", children: [
|
|
16667
16777
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-[11px]", children: t("pptx.animation.entrance") }),
|
|
16668
16778
|
/* @__PURE__ */ jsxs(
|
|
16669
|
-
|
|
16779
|
+
WebSelect,
|
|
16670
16780
|
{
|
|
16671
16781
|
"aria-label": t("pptx.animation.entrance"),
|
|
16672
16782
|
value: selectedElementAnimation?.entrance ?? "none",
|
|
@@ -16684,7 +16794,7 @@ function AnimationPanel({
|
|
|
16684
16794
|
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1", children: [
|
|
16685
16795
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-[11px]", children: t("pptx.animation.emphasis") }),
|
|
16686
16796
|
/* @__PURE__ */ jsxs(
|
|
16687
|
-
|
|
16797
|
+
WebSelect,
|
|
16688
16798
|
{
|
|
16689
16799
|
"aria-label": t("pptx.animation.emphasis"),
|
|
16690
16800
|
value: selectedElementAnimation?.emphasis ?? "none",
|
|
@@ -16702,7 +16812,7 @@ function AnimationPanel({
|
|
|
16702
16812
|
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1", children: [
|
|
16703
16813
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-[11px]", children: t("pptx.animation.exit") }),
|
|
16704
16814
|
/* @__PURE__ */ jsxs(
|
|
16705
|
-
|
|
16815
|
+
WebSelect,
|
|
16706
16816
|
{
|
|
16707
16817
|
"aria-label": t("pptx.animation.exit"),
|
|
16708
16818
|
value: selectedElementAnimation?.exit ?? "none",
|
|
@@ -16752,7 +16862,7 @@ function AnimationPanel({
|
|
|
16752
16862
|
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1", children: [
|
|
16753
16863
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-[11px]", children: t("pptx.animation.sequence") }),
|
|
16754
16864
|
/* @__PURE__ */ jsx(
|
|
16755
|
-
|
|
16865
|
+
WebSelect,
|
|
16756
16866
|
{
|
|
16757
16867
|
"aria-label": t("pptx.animation.sequence"),
|
|
16758
16868
|
value: selectedElementAnimation?.sequence ?? "asOne",
|
|
@@ -16789,7 +16899,7 @@ function AnimationPanel({
|
|
|
16789
16899
|
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1", children: [
|
|
16790
16900
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-[11px]", children: t("pptx.animation.trigger") }),
|
|
16791
16901
|
/* @__PURE__ */ jsx(
|
|
16792
|
-
|
|
16902
|
+
WebSelect,
|
|
16793
16903
|
{
|
|
16794
16904
|
"aria-label": t("pptx.animation.trigger"),
|
|
16795
16905
|
value: selectedElementAnimation?.trigger ?? "onClick",
|
|
@@ -16804,7 +16914,7 @@ function AnimationPanel({
|
|
|
16804
16914
|
selectedElementAnimation?.trigger === "onShapeClick" && /* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1", children: [
|
|
16805
16915
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-[11px]", children: t("pptx.animation.trigger.shapeLabel") }),
|
|
16806
16916
|
/* @__PURE__ */ jsxs(
|
|
16807
|
-
|
|
16917
|
+
WebSelect,
|
|
16808
16918
|
{
|
|
16809
16919
|
"aria-label": t("pptx.animation.trigger.shapeLabel"),
|
|
16810
16920
|
value: selectedElementAnimation?.triggerShapeId ?? "",
|
|
@@ -16856,7 +16966,7 @@ function AnimationPanel({
|
|
|
16856
16966
|
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1", children: [
|
|
16857
16967
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-[11px]", children: t("pptx.animation.timingCurve") }),
|
|
16858
16968
|
/* @__PURE__ */ jsx(
|
|
16859
|
-
|
|
16969
|
+
WebSelect,
|
|
16860
16970
|
{
|
|
16861
16971
|
"aria-label": t("pptx.animation.timingCurve"),
|
|
16862
16972
|
value: selectedElementAnimation?.timingCurve ?? "ease",
|
|
@@ -16888,7 +16998,7 @@ function AnimationPanel({
|
|
|
16888
16998
|
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1", children: [
|
|
16889
16999
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-[11px]", children: t("pptx.animation.repeatUntil") }),
|
|
16890
17000
|
/* @__PURE__ */ jsx(
|
|
16891
|
-
|
|
17001
|
+
WebSelect,
|
|
16892
17002
|
{
|
|
16893
17003
|
"aria-label": t("pptx.animation.repeatUntil"),
|
|
16894
17004
|
value: selectedElementAnimation?.repeatMode ?? "none",
|
|
@@ -16983,7 +17093,7 @@ function ActionTargetFields({
|
|
|
16983
17093
|
if (type === "customShow") {
|
|
16984
17094
|
return /* @__PURE__ */ jsxs("div", { className: "space-y-1", children: [
|
|
16985
17095
|
/* @__PURE__ */ jsxs(
|
|
16986
|
-
|
|
17096
|
+
WebSelect,
|
|
16987
17097
|
{
|
|
16988
17098
|
"data-testid": "pptx-action-custom-show",
|
|
16989
17099
|
disabled: !canEdit,
|
|
@@ -16999,7 +17109,7 @@ function ActionTargetFields({
|
|
|
16999
17109
|
),
|
|
17000
17110
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center gap-1.5 text-muted-foreground", children: [
|
|
17001
17111
|
/* @__PURE__ */ jsx(
|
|
17002
|
-
|
|
17112
|
+
WebCheckbox,
|
|
17003
17113
|
{
|
|
17004
17114
|
type: "checkbox",
|
|
17005
17115
|
"data-testid": "pptx-action-custom-show-return",
|
|
@@ -17107,7 +17217,7 @@ function ActionTriggerSection({
|
|
|
17107
17217
|
return /* @__PURE__ */ jsxs("div", { className: "space-y-1.5", "data-pptx-action-trigger": trigger, children: [
|
|
17108
17218
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground font-medium", children: label }),
|
|
17109
17219
|
/* @__PURE__ */ jsx(
|
|
17110
|
-
|
|
17220
|
+
WebSelect,
|
|
17111
17221
|
{
|
|
17112
17222
|
disabled: !canEdit,
|
|
17113
17223
|
"aria-label": label,
|
|
@@ -17183,7 +17293,7 @@ function ChartAxisOptions({ axes, canEdit, onUpdateAxis }) {
|
|
|
17183
17293
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center gap-2 text-[11px]", children: [
|
|
17184
17294
|
/* @__PURE__ */ jsx("span", { className: "w-16 text-muted-foreground shrink-0", children: t("pptx.chart.displayUnits") }),
|
|
17185
17295
|
/* @__PURE__ */ jsx(
|
|
17186
|
-
|
|
17296
|
+
WebSelect,
|
|
17187
17297
|
{
|
|
17188
17298
|
"aria-label": t("pptx.chart.displayUnits"),
|
|
17189
17299
|
disabled: !canEdit,
|
|
@@ -17231,7 +17341,7 @@ function ChartAxisOptions({ axes, canEdit, onUpdateAxis }) {
|
|
|
17231
17341
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center gap-2 text-[11px]", children: [
|
|
17232
17342
|
/* @__PURE__ */ jsx("span", { className: "w-16 text-muted-foreground shrink-0", children: t("pptx.chart.tickLabels") }),
|
|
17233
17343
|
/* @__PURE__ */ jsx(
|
|
17234
|
-
|
|
17344
|
+
WebSelect,
|
|
17235
17345
|
{
|
|
17236
17346
|
"aria-label": t("pptx.chart.tickLabels"),
|
|
17237
17347
|
disabled: !canEdit,
|
|
@@ -17246,7 +17356,7 @@ function ChartAxisOptions({ axes, canEdit, onUpdateAxis }) {
|
|
|
17246
17356
|
] }),
|
|
17247
17357
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center gap-2 cursor-pointer", children: [
|
|
17248
17358
|
/* @__PURE__ */ jsx(
|
|
17249
|
-
|
|
17359
|
+
WebCheckbox,
|
|
17250
17360
|
{
|
|
17251
17361
|
type: "checkbox",
|
|
17252
17362
|
disabled: !canEdit,
|
|
@@ -17259,7 +17369,7 @@ function ChartAxisOptions({ axes, canEdit, onUpdateAxis }) {
|
|
|
17259
17369
|
] }),
|
|
17260
17370
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center gap-2 cursor-pointer", children: [
|
|
17261
17371
|
/* @__PURE__ */ jsx(
|
|
17262
|
-
|
|
17372
|
+
WebCheckbox,
|
|
17263
17373
|
{
|
|
17264
17374
|
type: "checkbox",
|
|
17265
17375
|
disabled: !canEdit,
|
|
@@ -17305,7 +17415,7 @@ function ChartAxisStyleOptions({
|
|
|
17305
17415
|
hasScale && /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
17306
17416
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center gap-2 cursor-pointer", children: [
|
|
17307
17417
|
/* @__PURE__ */ jsx(
|
|
17308
|
-
|
|
17418
|
+
WebCheckbox,
|
|
17309
17419
|
{
|
|
17310
17420
|
type: "checkbox",
|
|
17311
17421
|
disabled: !canEdit,
|
|
@@ -17369,7 +17479,7 @@ function ChartAxisStyleOptions({
|
|
|
17369
17479
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 text-[11px]", children: [
|
|
17370
17480
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center gap-1 cursor-pointer", children: [
|
|
17371
17481
|
/* @__PURE__ */ jsx(
|
|
17372
|
-
|
|
17482
|
+
WebCheckbox,
|
|
17373
17483
|
{
|
|
17374
17484
|
type: "checkbox",
|
|
17375
17485
|
disabled: !canEdit,
|
|
@@ -17441,7 +17551,7 @@ function ChartAxisStyleOptions({
|
|
|
17441
17551
|
}
|
|
17442
17552
|
),
|
|
17443
17553
|
/* @__PURE__ */ jsx(
|
|
17444
|
-
|
|
17554
|
+
WebSelect,
|
|
17445
17555
|
{
|
|
17446
17556
|
disabled: !canEdit,
|
|
17447
17557
|
title: t("pptx.chart.gridlineDash"),
|
|
@@ -17473,7 +17583,7 @@ function ChartComboTypeOptions({
|
|
|
17473
17583
|
/* @__PURE__ */ jsx("div", { className: "space-y-1.5", children: series.map((s, i) => /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 text-[11px]", children: [
|
|
17474
17584
|
/* @__PURE__ */ jsx("span", { className: "flex-1 truncate", title: s.name, children: s.name }),
|
|
17475
17585
|
/* @__PURE__ */ jsx(
|
|
17476
|
-
|
|
17586
|
+
WebSelect,
|
|
17477
17587
|
{
|
|
17478
17588
|
disabled: !canEdit,
|
|
17479
17589
|
className: INPUT,
|
|
@@ -17647,7 +17757,7 @@ function ChartDataLabelOptions({
|
|
|
17647
17757
|
/* @__PURE__ */ jsxs("div", { className: "space-y-1.5", children: [
|
|
17648
17758
|
DATA_LABEL_CONTENT_OPTIONS.map((opt) => /* @__PURE__ */ jsxs("label", { className: "flex items-center gap-2 cursor-pointer", children: [
|
|
17649
17759
|
/* @__PURE__ */ jsx(
|
|
17650
|
-
|
|
17760
|
+
WebCheckbox,
|
|
17651
17761
|
{
|
|
17652
17762
|
type: "checkbox",
|
|
17653
17763
|
disabled: !canEdit,
|
|
@@ -17661,7 +17771,7 @@ function ChartDataLabelOptions({
|
|
|
17661
17771
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center gap-2 text-[11px]", children: [
|
|
17662
17772
|
/* @__PURE__ */ jsx("span", { className: "w-16 text-muted-foreground shrink-0", children: t("pptx.chart.labelPosition") }),
|
|
17663
17773
|
/* @__PURE__ */ jsx(
|
|
17664
|
-
|
|
17774
|
+
WebSelect,
|
|
17665
17775
|
{
|
|
17666
17776
|
"aria-label": t("pptx.chart.labelPosition"),
|
|
17667
17777
|
disabled: !canEdit,
|
|
@@ -17698,7 +17808,7 @@ function ChartDataPointMarkerOptions({
|
|
|
17698
17808
|
series.length > 1 && /* @__PURE__ */ jsxs("label", { className: "flex items-center gap-2 text-[11px]", children: [
|
|
17699
17809
|
/* @__PURE__ */ jsx("span", { className: "w-12 text-muted-foreground shrink-0", children: t("pptx.chart.series") }),
|
|
17700
17810
|
/* @__PURE__ */ jsx(
|
|
17701
|
-
|
|
17811
|
+
WebSelect,
|
|
17702
17812
|
{
|
|
17703
17813
|
"aria-label": t("pptx.chart.series"),
|
|
17704
17814
|
disabled: !canEdit,
|
|
@@ -17717,7 +17827,7 @@ function ChartDataPointMarkerOptions({
|
|
|
17717
17827
|
/* @__PURE__ */ jsx("span", { className: "flex-1 truncate", title: cat, children: cat }),
|
|
17718
17828
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center gap-1 shrink-0", children: [
|
|
17719
17829
|
/* @__PURE__ */ jsx(
|
|
17720
|
-
|
|
17830
|
+
WebCheckbox,
|
|
17721
17831
|
{
|
|
17722
17832
|
type: "checkbox",
|
|
17723
17833
|
disabled: !canEdit,
|
|
@@ -17736,7 +17846,7 @@ function ChartDataPointMarkerOptions({
|
|
|
17736
17846
|
] }),
|
|
17737
17847
|
hasOverride && point2?.marker && /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 ml-2 flex-wrap", children: [
|
|
17738
17848
|
/* @__PURE__ */ jsx(
|
|
17739
|
-
|
|
17849
|
+
WebSelect,
|
|
17740
17850
|
{
|
|
17741
17851
|
disabled: !canEdit,
|
|
17742
17852
|
className: "bg-muted border border-border rounded px-1.5 py-0.5 text-[11px]",
|
|
@@ -17808,7 +17918,7 @@ function ChartDataPointOptions({
|
|
|
17808
17918
|
series.length > 1 && /* @__PURE__ */ jsxs("label", { className: "flex items-center gap-2 text-[11px]", children: [
|
|
17809
17919
|
/* @__PURE__ */ jsx("span", { className: "w-12 text-muted-foreground shrink-0", children: t("pptx.chart.series") }),
|
|
17810
17920
|
/* @__PURE__ */ jsx(
|
|
17811
|
-
|
|
17921
|
+
WebSelect,
|
|
17812
17922
|
{
|
|
17813
17923
|
"aria-label": t("pptx.chart.series"),
|
|
17814
17924
|
disabled: !canEdit,
|
|
@@ -17904,7 +18014,7 @@ function ChartDisplayOptions({
|
|
|
17904
18014
|
/* @__PURE__ */ jsxs("div", { className: "space-y-1.5", children: [
|
|
17905
18015
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center gap-2 cursor-pointer", children: [
|
|
17906
18016
|
/* @__PURE__ */ jsx(
|
|
17907
|
-
|
|
18017
|
+
WebCheckbox,
|
|
17908
18018
|
{
|
|
17909
18019
|
type: "checkbox",
|
|
17910
18020
|
disabled: !canEdit,
|
|
@@ -17917,7 +18027,7 @@ function ChartDisplayOptions({
|
|
|
17917
18027
|
] }),
|
|
17918
18028
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center gap-2 cursor-pointer", children: [
|
|
17919
18029
|
/* @__PURE__ */ jsx(
|
|
17920
|
-
|
|
18030
|
+
WebCheckbox,
|
|
17921
18031
|
{
|
|
17922
18032
|
type: "checkbox",
|
|
17923
18033
|
disabled: !canEdit,
|
|
@@ -17931,7 +18041,7 @@ function ChartDisplayOptions({
|
|
|
17931
18041
|
style?.hasLegend && /* @__PURE__ */ jsxs("label", { className: "flex items-center gap-2 text-[11px] ml-4", children: [
|
|
17932
18042
|
/* @__PURE__ */ jsx("span", { className: "w-12 text-muted-foreground shrink-0", children: t("pptx.chart.legendPosition") }),
|
|
17933
18043
|
/* @__PURE__ */ jsx(
|
|
17934
|
-
|
|
18044
|
+
WebSelect,
|
|
17935
18045
|
{
|
|
17936
18046
|
"aria-label": t("pptx.chart.legendPosition"),
|
|
17937
18047
|
disabled: !canEdit,
|
|
@@ -17946,7 +18056,7 @@ function ChartDisplayOptions({
|
|
|
17946
18056
|
] }),
|
|
17947
18057
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center gap-2 cursor-pointer", children: [
|
|
17948
18058
|
/* @__PURE__ */ jsx(
|
|
17949
|
-
|
|
18059
|
+
WebCheckbox,
|
|
17950
18060
|
{
|
|
17951
18061
|
type: "checkbox",
|
|
17952
18062
|
disabled: !canEdit,
|
|
@@ -17959,7 +18069,7 @@ function ChartDisplayOptions({
|
|
|
17959
18069
|
] }),
|
|
17960
18070
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center gap-2 cursor-pointer", children: [
|
|
17961
18071
|
/* @__PURE__ */ jsx(
|
|
17962
|
-
|
|
18072
|
+
WebCheckbox,
|
|
17963
18073
|
{
|
|
17964
18074
|
type: "checkbox",
|
|
17965
18075
|
disabled: !canEdit,
|
|
@@ -17995,7 +18105,7 @@ function ChartErrorBarOptions({
|
|
|
17995
18105
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 text-[11px]", children: [
|
|
17996
18106
|
/* @__PURE__ */ jsx("span", { className: "flex-1 truncate", title: s.name, children: s.name }),
|
|
17997
18107
|
/* @__PURE__ */ jsx(
|
|
17998
|
-
|
|
18108
|
+
WebSelect,
|
|
17999
18109
|
{
|
|
18000
18110
|
disabled: !canEdit,
|
|
18001
18111
|
className: INPUT,
|
|
@@ -18019,7 +18129,7 @@ function ChartErrorBarOptions({
|
|
|
18019
18129
|
] }),
|
|
18020
18130
|
bars && /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 ml-2", children: [
|
|
18021
18131
|
/* @__PURE__ */ jsx(
|
|
18022
|
-
|
|
18132
|
+
WebSelect,
|
|
18023
18133
|
{
|
|
18024
18134
|
disabled: !canEdit,
|
|
18025
18135
|
className: INPUT,
|
|
@@ -18154,7 +18264,7 @@ function ChartMarkerOptions({
|
|
|
18154
18264
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 text-[11px]", children: [
|
|
18155
18265
|
/* @__PURE__ */ jsx("span", { className: "flex-1 truncate", title: s.name, children: s.name }),
|
|
18156
18266
|
/* @__PURE__ */ jsx(
|
|
18157
|
-
|
|
18267
|
+
WebSelect,
|
|
18158
18268
|
{
|
|
18159
18269
|
disabled: !canEdit,
|
|
18160
18270
|
className: INPUT,
|
|
@@ -18266,7 +18376,7 @@ function ChartSeriesColorOptions({
|
|
|
18266
18376
|
/* @__PURE__ */ jsx("span", { className: "flex-1 truncate", title: s.name, children: s.name }),
|
|
18267
18377
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center gap-1 text-muted-foreground shrink-0", children: [
|
|
18268
18378
|
/* @__PURE__ */ jsx(
|
|
18269
|
-
|
|
18379
|
+
WebCheckbox,
|
|
18270
18380
|
{
|
|
18271
18381
|
type: "checkbox",
|
|
18272
18382
|
disabled: !canEdit,
|
|
@@ -18315,7 +18425,7 @@ function ChartSubtypeOptions({
|
|
|
18315
18425
|
chartData.chartType === "bar3D" && /* @__PURE__ */ jsxs("label", { className: "flex items-center gap-2 text-[11px]", children: [
|
|
18316
18426
|
/* @__PURE__ */ jsx("span", { className: "w-16 text-muted-foreground shrink-0", children: t("pptx.chart.bar3DShapeLabel") }),
|
|
18317
18427
|
/* @__PURE__ */ jsx(
|
|
18318
|
-
|
|
18428
|
+
WebSelect,
|
|
18319
18429
|
{
|
|
18320
18430
|
"data-testid": "pptx-chart-bar3d-shape",
|
|
18321
18431
|
"aria-label": t("pptx.chart.bar3DShapeLabel"),
|
|
@@ -18330,7 +18440,7 @@ function ChartSubtypeOptions({
|
|
|
18330
18440
|
chartData.chartType === "radar" && /* @__PURE__ */ jsxs("label", { className: "flex items-center gap-2 text-[11px]", children: [
|
|
18331
18441
|
/* @__PURE__ */ jsx("span", { className: "w-16 text-muted-foreground shrink-0", children: t("pptx.chart.radarStyleLabel") }),
|
|
18332
18442
|
/* @__PURE__ */ jsx(
|
|
18333
|
-
|
|
18443
|
+
WebSelect,
|
|
18334
18444
|
{
|
|
18335
18445
|
"data-testid": "pptx-chart-radar-style",
|
|
18336
18446
|
"aria-label": t("pptx.chart.radarStyleLabel"),
|
|
@@ -18350,7 +18460,7 @@ function ChartSubtypeOptions({
|
|
|
18350
18460
|
chartData.chartType === "surface" && /* @__PURE__ */ jsxs("label", { className: "flex items-center gap-2 text-[11px]", children: [
|
|
18351
18461
|
/* @__PURE__ */ jsx("span", { className: "w-16 text-muted-foreground shrink-0", children: t("pptx.chart.surfaceWireframeLabel") }),
|
|
18352
18462
|
/* @__PURE__ */ jsx(
|
|
18353
|
-
|
|
18463
|
+
WebSelect,
|
|
18354
18464
|
{
|
|
18355
18465
|
"data-testid": "pptx-chart-surface-wireframe",
|
|
18356
18466
|
"aria-label": t("pptx.chart.surfaceWireframeLabel"),
|
|
@@ -18383,7 +18493,7 @@ function ChartTrendlineOptions({
|
|
|
18383
18493
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 text-[11px]", children: [
|
|
18384
18494
|
/* @__PURE__ */ jsx("span", { className: "flex-1 truncate", title: s.name, children: s.name }),
|
|
18385
18495
|
/* @__PURE__ */ jsx(
|
|
18386
|
-
|
|
18496
|
+
WebSelect,
|
|
18387
18497
|
{
|
|
18388
18498
|
disabled: !canEdit,
|
|
18389
18499
|
className: INPUT,
|
|
@@ -18406,7 +18516,7 @@ function ChartTrendlineOptions({
|
|
|
18406
18516
|
trendline && /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 ml-2", children: [
|
|
18407
18517
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center gap-1 text-[11px] cursor-pointer", children: [
|
|
18408
18518
|
/* @__PURE__ */ jsx(
|
|
18409
|
-
|
|
18519
|
+
WebCheckbox,
|
|
18410
18520
|
{
|
|
18411
18521
|
type: "checkbox",
|
|
18412
18522
|
disabled: !canEdit,
|
|
@@ -18419,7 +18529,7 @@ function ChartTrendlineOptions({
|
|
|
18419
18529
|
] }),
|
|
18420
18530
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center gap-1 text-[11px] cursor-pointer", children: [
|
|
18421
18531
|
/* @__PURE__ */ jsx(
|
|
18422
|
-
|
|
18532
|
+
WebCheckbox,
|
|
18423
18533
|
{
|
|
18424
18534
|
type: "checkbox",
|
|
18425
18535
|
disabled: !canEdit,
|
|
@@ -18476,7 +18586,7 @@ function ChartTypeSelector({
|
|
|
18476
18586
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center gap-2 text-[11px]", children: [
|
|
18477
18587
|
/* @__PURE__ */ jsx("span", { className: "w-10 text-muted-foreground shrink-0", children: t("pptx.chart.type") }),
|
|
18478
18588
|
/* @__PURE__ */ jsx(
|
|
18479
|
-
|
|
18589
|
+
WebSelect,
|
|
18480
18590
|
{
|
|
18481
18591
|
"aria-label": t("pptx.chart.type"),
|
|
18482
18592
|
disabled: !canEdit,
|
|
@@ -18492,7 +18602,7 @@ function ChartTypeSelector({
|
|
|
18492
18602
|
supportsGrouping && /* @__PURE__ */ jsxs("label", { className: "flex items-center gap-2 text-[11px]", children: [
|
|
18493
18603
|
/* @__PURE__ */ jsx("span", { className: "w-10 text-muted-foreground shrink-0", children: t("pptx.chart.grouping") }),
|
|
18494
18604
|
/* @__PURE__ */ jsx(
|
|
18495
|
-
|
|
18605
|
+
WebSelect,
|
|
18496
18606
|
{
|
|
18497
18607
|
"aria-label": t("pptx.chart.grouping"),
|
|
18498
18608
|
disabled: !canEdit,
|
|
@@ -18553,7 +18663,7 @@ function FlipFields({
|
|
|
18553
18663
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
18554
18664
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center gap-1 cursor-pointer", children: [
|
|
18555
18665
|
/* @__PURE__ */ jsx(
|
|
18556
|
-
|
|
18666
|
+
WebCheckbox,
|
|
18557
18667
|
{
|
|
18558
18668
|
type: "checkbox",
|
|
18559
18669
|
"aria-label": t("pptx.arrange.flipHorizontally"),
|
|
@@ -18567,7 +18677,7 @@ function FlipFields({
|
|
|
18567
18677
|
] }),
|
|
18568
18678
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center gap-1 cursor-pointer", children: [
|
|
18569
18679
|
/* @__PURE__ */ jsx(
|
|
18570
|
-
|
|
18680
|
+
WebCheckbox,
|
|
18571
18681
|
{
|
|
18572
18682
|
type: "checkbox",
|
|
18573
18683
|
"aria-label": t("pptx.arrange.flipVertically"),
|
|
@@ -19617,7 +19727,7 @@ function ConnectorArrowsSection({
|
|
|
19617
19727
|
return /* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1", children: [
|
|
19618
19728
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: t(END_LABEL_KEYS[end].arrow) }),
|
|
19619
19729
|
/* @__PURE__ */ jsx(
|
|
19620
|
-
|
|
19730
|
+
WebSelect,
|
|
19621
19731
|
{
|
|
19622
19732
|
"aria-label": t(END_LABEL_KEYS[end].arrow),
|
|
19623
19733
|
value: selectedShapeStyle?.[key] || "none",
|
|
@@ -19641,7 +19751,7 @@ function ConnectorArrowsSection({
|
|
|
19641
19751
|
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1", children: [
|
|
19642
19752
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: t(END_LABEL_KEYS[end].width) }),
|
|
19643
19753
|
/* @__PURE__ */ jsx(
|
|
19644
|
-
|
|
19754
|
+
WebSelect,
|
|
19645
19755
|
{
|
|
19646
19756
|
"aria-label": t(END_LABEL_KEYS[end].width),
|
|
19647
19757
|
value: selectedShapeStyle?.[widthKey] || "med",
|
|
@@ -19660,7 +19770,7 @@ function ConnectorArrowsSection({
|
|
|
19660
19770
|
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1", children: [
|
|
19661
19771
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: t(END_LABEL_KEYS[end].length) }),
|
|
19662
19772
|
/* @__PURE__ */ jsx(
|
|
19663
|
-
|
|
19773
|
+
WebSelect,
|
|
19664
19774
|
{
|
|
19665
19775
|
"aria-label": t(END_LABEL_KEYS[end].length),
|
|
19666
19776
|
value: selectedShapeStyle?.[lengthKey] || "med",
|
|
@@ -19906,7 +20016,7 @@ function ColorChangeSection({
|
|
|
19906
20016
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center justify-between gap-2", children: [
|
|
19907
20017
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: t("pptx.image.colorChange") }),
|
|
19908
20018
|
/* @__PURE__ */ jsx(
|
|
19909
|
-
|
|
20019
|
+
WebCheckbox,
|
|
19910
20020
|
{
|
|
19911
20021
|
type: "checkbox",
|
|
19912
20022
|
disabled: !canEdit,
|
|
@@ -19961,7 +20071,7 @@ function ColorChangeSection({
|
|
|
19961
20071
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center justify-between gap-2 col-span-2", children: [
|
|
19962
20072
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: t("pptx.image.colorChangeTransparent") }),
|
|
19963
20073
|
/* @__PURE__ */ jsx(
|
|
19964
|
-
|
|
20074
|
+
WebCheckbox,
|
|
19965
20075
|
{
|
|
19966
20076
|
type: "checkbox",
|
|
19967
20077
|
disabled: !canEdit,
|
|
@@ -19990,7 +20100,7 @@ function ColorWashSection({
|
|
|
19990
20100
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center justify-between gap-2", children: [
|
|
19991
20101
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: t("pptx.image.colorWash") }),
|
|
19992
20102
|
/* @__PURE__ */ jsx(
|
|
19993
|
-
|
|
20103
|
+
WebCheckbox,
|
|
19994
20104
|
{
|
|
19995
20105
|
type: "checkbox",
|
|
19996
20106
|
disabled: !canEdit,
|
|
@@ -20424,7 +20534,7 @@ function ImagePropertiesPanel({
|
|
|
20424
20534
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center justify-between gap-2", children: [
|
|
20425
20535
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: t("pptx.image.grayscale") }),
|
|
20426
20536
|
/* @__PURE__ */ jsx(
|
|
20427
|
-
|
|
20537
|
+
WebCheckbox,
|
|
20428
20538
|
{
|
|
20429
20539
|
type: "checkbox",
|
|
20430
20540
|
disabled: !canEdit,
|
|
@@ -20878,7 +20988,7 @@ function MediaPlaybackBookmarks({
|
|
|
20878
20988
|
/* @__PURE__ */ jsxs("label", { className: LABEL_CLS2, children: [
|
|
20879
20989
|
/* @__PURE__ */ jsx("span", { className: `text-[11px] ${LABEL_TEXT2}`, children: t("pptx.media.speed") }),
|
|
20880
20990
|
/* @__PURE__ */ jsxs(
|
|
20881
|
-
|
|
20991
|
+
WebSelect,
|
|
20882
20992
|
{
|
|
20883
20993
|
"aria-label": t("pptx.media.speed"),
|
|
20884
20994
|
disabled: !canEdit,
|
|
@@ -20940,7 +21050,7 @@ function MediaPlaybackBookmarks({
|
|
|
20940
21050
|
/* @__PURE__ */ jsxs("label", { className: LABEL_CLS2, children: [
|
|
20941
21051
|
/* @__PURE__ */ jsx("span", { className: `text-[11px] ${LABEL_TEXT2}`, children: t("pptx.media.loop") }),
|
|
20942
21052
|
/* @__PURE__ */ jsx(
|
|
20943
|
-
|
|
21053
|
+
WebCheckbox,
|
|
20944
21054
|
{
|
|
20945
21055
|
type: "checkbox",
|
|
20946
21056
|
disabled: !canEdit,
|
|
@@ -20954,7 +21064,7 @@ function MediaPlaybackBookmarks({
|
|
|
20954
21064
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center justify-between gap-2", children: [
|
|
20955
21065
|
/* @__PURE__ */ jsx("span", { className: `text-[11px] ${LABEL_TEXT2}`, children: t("pptx.media.startTrigger") }),
|
|
20956
21066
|
/* @__PURE__ */ jsxs(
|
|
20957
|
-
|
|
21067
|
+
WebSelect,
|
|
20958
21068
|
{
|
|
20959
21069
|
"aria-label": t("pptx.media.startTrigger"),
|
|
20960
21070
|
disabled: !canEdit,
|
|
@@ -20973,7 +21083,7 @@ function MediaPlaybackBookmarks({
|
|
|
20973
21083
|
element.mediaType === "audio" && /* @__PURE__ */ jsxs("label", { className: LABEL_CLS2, children: [
|
|
20974
21084
|
/* @__PURE__ */ jsx("span", { className: `text-[11px] ${LABEL_TEXT2}`, children: t("pptx.media.playAcrossSlides") }),
|
|
20975
21085
|
/* @__PURE__ */ jsx(
|
|
20976
|
-
|
|
21086
|
+
WebCheckbox,
|
|
20977
21087
|
{
|
|
20978
21088
|
type: "checkbox",
|
|
20979
21089
|
disabled: !canEdit,
|
|
@@ -20988,7 +21098,7 @@ function MediaPlaybackBookmarks({
|
|
|
20988
21098
|
/* @__PURE__ */ jsxs("label", { className: LABEL_CLS2, children: [
|
|
20989
21099
|
/* @__PURE__ */ jsx("span", { className: `text-[11px] ${LABEL_TEXT2}`, children: t("pptx.media.fullScreen") }),
|
|
20990
21100
|
/* @__PURE__ */ jsx(
|
|
20991
|
-
|
|
21101
|
+
WebCheckbox,
|
|
20992
21102
|
{
|
|
20993
21103
|
type: "checkbox",
|
|
20994
21104
|
disabled: !canEdit,
|
|
@@ -21002,7 +21112,7 @@ function MediaPlaybackBookmarks({
|
|
|
21002
21112
|
/* @__PURE__ */ jsxs("label", { className: LABEL_CLS2, children: [
|
|
21003
21113
|
/* @__PURE__ */ jsx("span", { className: `text-[11px] ${LABEL_TEXT2}`, children: t("pptx.media.hideWhenNotPlaying") }),
|
|
21004
21114
|
/* @__PURE__ */ jsx(
|
|
21005
|
-
|
|
21115
|
+
WebCheckbox,
|
|
21006
21116
|
{
|
|
21007
21117
|
type: "checkbox",
|
|
21008
21118
|
disabled: !canEdit,
|
|
@@ -21930,7 +22040,7 @@ function EffectField({
|
|
|
21930
22040
|
return /* @__PURE__ */ jsxs("label", { className: cls, children: [
|
|
21931
22041
|
/* @__PURE__ */ jsx("span", { className: LBL2, children: fieldLabel }),
|
|
21932
22042
|
/* @__PURE__ */ jsx(
|
|
21933
|
-
|
|
22043
|
+
WebSelect,
|
|
21934
22044
|
{
|
|
21935
22045
|
"aria-label": fieldLabel,
|
|
21936
22046
|
value: String(val),
|
|
@@ -21965,7 +22075,7 @@ function EffectField({
|
|
|
21965
22075
|
if (field.type === "checkbox") {
|
|
21966
22076
|
return /* @__PURE__ */ jsxs("label", { className: `flex items-center gap-2 ${field.span2 ? COL2 : ""}`, children: [
|
|
21967
22077
|
/* @__PURE__ */ jsx(
|
|
21968
|
-
|
|
22078
|
+
WebCheckbox,
|
|
21969
22079
|
{
|
|
21970
22080
|
type: "checkbox",
|
|
21971
22081
|
checked: Boolean(val),
|
|
@@ -22029,7 +22139,7 @@ function SelectRow({
|
|
|
22029
22139
|
return /* @__PURE__ */ jsxs("label", { className: `flex flex-col gap-1 ${span2 ? COL2 : ""}`, children: [
|
|
22030
22140
|
/* @__PURE__ */ jsx("span", { className: LBL2, children: label }),
|
|
22031
22141
|
/* @__PURE__ */ jsx(
|
|
22032
|
-
|
|
22142
|
+
WebSelect,
|
|
22033
22143
|
{
|
|
22034
22144
|
"aria-label": label,
|
|
22035
22145
|
value,
|
|
@@ -22477,7 +22587,7 @@ function StrokeEffectsSection({
|
|
|
22477
22587
|
/* @__PURE__ */ jsxs("label", { className: `flex flex-col gap-1 ${COL2}`, children: [
|
|
22478
22588
|
/* @__PURE__ */ jsx("span", { className: LBL2, children: t("pptx.strokeEffects.strokeDash") }),
|
|
22479
22589
|
/* @__PURE__ */ jsx(
|
|
22480
|
-
|
|
22590
|
+
WebSelect,
|
|
22481
22591
|
{
|
|
22482
22592
|
"aria-label": t("pptx.strokeEffects.strokeDash"),
|
|
22483
22593
|
value: style?.strokeDash || "solid",
|
|
@@ -22517,7 +22627,7 @@ function StrokeEffectsSection({
|
|
|
22517
22627
|
return /* @__PURE__ */ jsxs(React4.Fragment, { children: [
|
|
22518
22628
|
/* @__PURE__ */ jsxs("label", { className: `inline-flex items-center gap-2 text-foreground ${COL2}`, children: [
|
|
22519
22629
|
/* @__PURE__ */ jsx(
|
|
22520
|
-
|
|
22630
|
+
WebCheckbox,
|
|
22521
22631
|
{
|
|
22522
22632
|
type: "checkbox",
|
|
22523
22633
|
checked: on,
|
|
@@ -22684,7 +22794,7 @@ function Text3DProperties({
|
|
|
22684
22794
|
/* @__PURE__ */ jsxs("div", { className: "space-y-1.5", children: [
|
|
22685
22795
|
/* @__PURE__ */ jsxs("label", { className: "inline-flex items-center gap-2 text-foreground", children: [
|
|
22686
22796
|
/* @__PURE__ */ jsx(
|
|
22687
|
-
|
|
22797
|
+
WebCheckbox,
|
|
22688
22798
|
{
|
|
22689
22799
|
type: "checkbox",
|
|
22690
22800
|
checked: hasExtrusion,
|
|
@@ -22766,7 +22876,7 @@ function Text3DProperties({
|
|
|
22766
22876
|
hasExtrusion && /* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1 pl-4", children: [
|
|
22767
22877
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: t("pptx.text3d.material") }),
|
|
22768
22878
|
/* @__PURE__ */ jsx(
|
|
22769
|
-
|
|
22879
|
+
WebSelect,
|
|
22770
22880
|
{
|
|
22771
22881
|
"aria-label": t("pptx.text3d.material"),
|
|
22772
22882
|
value: t3d?.presetMaterial ?? "",
|
|
@@ -22799,7 +22909,7 @@ function BevelSection({
|
|
|
22799
22909
|
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1", children: [
|
|
22800
22910
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: t("pptx.text3d.bevelType") }),
|
|
22801
22911
|
/* @__PURE__ */ jsx(
|
|
22802
|
-
|
|
22912
|
+
WebSelect,
|
|
22803
22913
|
{
|
|
22804
22914
|
"aria-label": t("pptx.text3d.bevelType"),
|
|
22805
22915
|
value: bevelType ?? "none",
|
|
@@ -22897,7 +23007,7 @@ function AdvancedTextFormatting({
|
|
|
22897
23007
|
/* @__PURE__ */ jsx("div", { className: "text-[11px] uppercase tracking-wide text-muted-foreground", children: t("pptx.textProperties.advancedTextHeading") }),
|
|
22898
23008
|
/* @__PURE__ */ jsx("div", { className: "grid grid-cols-2 gap-2", children: BASELINE_TOGGLES.map(([label, baseline]) => /* @__PURE__ */ jsxs("label", { className: "inline-flex items-center gap-2 text-foreground", children: [
|
|
22899
23009
|
/* @__PURE__ */ jsx(
|
|
22900
|
-
|
|
23010
|
+
WebCheckbox,
|
|
22901
23011
|
{
|
|
22902
23012
|
type: "checkbox",
|
|
22903
23013
|
checked: ts?.baseline === baseline,
|
|
@@ -22928,7 +23038,7 @@ function AdvancedTextFormatting({
|
|
|
22928
23038
|
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1", children: [
|
|
22929
23039
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: t("pptx.textProperties.underlineStyle") }),
|
|
22930
23040
|
/* @__PURE__ */ jsx(
|
|
22931
|
-
|
|
23041
|
+
WebSelect,
|
|
22932
23042
|
{
|
|
22933
23043
|
"aria-label": t("pptx.textProperties.underlineStyle"),
|
|
22934
23044
|
value: ts?.underlineStyle || "sng",
|
|
@@ -23048,7 +23158,7 @@ function AdvancedTextFormatting({
|
|
|
23048
23158
|
] }),
|
|
23049
23159
|
/* @__PURE__ */ jsxs("label", { className: "inline-flex items-center gap-2 text-foreground", children: [
|
|
23050
23160
|
/* @__PURE__ */ jsx(
|
|
23051
|
-
|
|
23161
|
+
WebCheckbox,
|
|
23052
23162
|
{
|
|
23053
23163
|
type: "checkbox",
|
|
23054
23164
|
checked: Boolean(ts?.autoFit),
|
|
@@ -23070,7 +23180,7 @@ function TextReflectionSection({
|
|
|
23070
23180
|
return /* @__PURE__ */ jsxs("div", { className: "space-y-1.5", children: [
|
|
23071
23181
|
/* @__PURE__ */ jsxs("label", { className: "inline-flex items-center gap-2 text-foreground", children: [
|
|
23072
23182
|
/* @__PURE__ */ jsx(
|
|
23073
|
-
|
|
23183
|
+
WebCheckbox,
|
|
23074
23184
|
{
|
|
23075
23185
|
type: "checkbox",
|
|
23076
23186
|
checked: hasReflection,
|
|
@@ -23187,7 +23297,7 @@ function TextEffectsPanel({
|
|
|
23187
23297
|
/* @__PURE__ */ jsxs("div", { className: "space-y-1.5", children: [
|
|
23188
23298
|
/* @__PURE__ */ jsxs("label", { className: "inline-flex items-center gap-2 text-foreground", children: [
|
|
23189
23299
|
/* @__PURE__ */ jsx(
|
|
23190
|
-
|
|
23300
|
+
WebCheckbox,
|
|
23191
23301
|
{
|
|
23192
23302
|
type: "checkbox",
|
|
23193
23303
|
checked: hasShadow,
|
|
@@ -23299,7 +23409,7 @@ function TextEffectsPanel({
|
|
|
23299
23409
|
/* @__PURE__ */ jsxs("div", { className: "space-y-1.5", children: [
|
|
23300
23410
|
/* @__PURE__ */ jsxs("label", { className: "inline-flex items-center gap-2 text-foreground", children: [
|
|
23301
23411
|
/* @__PURE__ */ jsx(
|
|
23302
|
-
|
|
23412
|
+
WebCheckbox,
|
|
23303
23413
|
{
|
|
23304
23414
|
type: "checkbox",
|
|
23305
23415
|
checked: hasGlow,
|
|
@@ -23460,7 +23570,7 @@ function ShapeTextPanels({
|
|
|
23460
23570
|
hasShapeProperties(selectedElement) && /* @__PURE__ */ jsxs("div", { className: CARD2, children: [
|
|
23461
23571
|
/* @__PURE__ */ jsx("div", { className: HEADING2, children: t("pptx.shape.type", "Shape Type") }),
|
|
23462
23572
|
/* @__PURE__ */ jsx(
|
|
23463
|
-
|
|
23573
|
+
WebSelect,
|
|
23464
23574
|
{
|
|
23465
23575
|
value: selectedElement.shapeType || "rect",
|
|
23466
23576
|
disabled: !canEdit,
|
|
@@ -24038,7 +24148,7 @@ function SmartArtStyleControls({
|
|
|
24038
24148
|
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1 text-[11px]", children: [
|
|
24039
24149
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: t("pptx.smartart.colorScheme") }),
|
|
24040
24150
|
/* @__PURE__ */ jsx(
|
|
24041
|
-
|
|
24151
|
+
WebSelect,
|
|
24042
24152
|
{
|
|
24043
24153
|
disabled: !canEdit,
|
|
24044
24154
|
"data-testid": "smartart-color-scheme",
|
|
@@ -24464,7 +24574,7 @@ function TableCellPatternFill({
|
|
|
24464
24574
|
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-0.5", children: [
|
|
24465
24575
|
/* @__PURE__ */ jsx("span", { className: LBL, children: t("pptx.table.patternPreset") }),
|
|
24466
24576
|
/* @__PURE__ */ jsx(
|
|
24467
|
-
|
|
24577
|
+
WebSelect,
|
|
24468
24578
|
{
|
|
24469
24579
|
"aria-label": t("pptx.table.patternPreset"),
|
|
24470
24580
|
disabled: !canEdit,
|
|
@@ -24545,7 +24655,7 @@ function TableCellAdvancedFill({
|
|
|
24545
24655
|
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1", children: [
|
|
24546
24656
|
/* @__PURE__ */ jsx("span", { className: LBL, children: t("pptx.table.fillMode") }),
|
|
24547
24657
|
/* @__PURE__ */ jsx(
|
|
24548
|
-
|
|
24658
|
+
WebSelect,
|
|
24549
24659
|
{
|
|
24550
24660
|
"aria-label": t("pptx.table.fillMode"),
|
|
24551
24661
|
disabled: !canEdit,
|
|
@@ -24622,7 +24732,7 @@ function GradientControls({
|
|
|
24622
24732
|
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-0.5", children: [
|
|
24623
24733
|
/* @__PURE__ */ jsx("span", { className: LBL, children: t("pptx.table.gradientType") }),
|
|
24624
24734
|
/* @__PURE__ */ jsx(
|
|
24625
|
-
|
|
24735
|
+
WebSelect,
|
|
24626
24736
|
{
|
|
24627
24737
|
"aria-label": t("pptx.table.gradientType"),
|
|
24628
24738
|
disabled: !canEdit,
|
|
@@ -24973,7 +25083,7 @@ function TableStyleEditorFields({
|
|
|
24973
25083
|
),
|
|
24974
25084
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center gap-1", children: [
|
|
24975
25085
|
/* @__PURE__ */ jsx(
|
|
24976
|
-
|
|
25086
|
+
WebCheckbox,
|
|
24977
25087
|
{
|
|
24978
25088
|
type: "checkbox",
|
|
24979
25089
|
disabled: !canEdit,
|
|
@@ -25090,7 +25200,7 @@ function BorderSideRow({
|
|
|
25090
25200
|
}
|
|
25091
25201
|
),
|
|
25092
25202
|
/* @__PURE__ */ jsx(
|
|
25093
|
-
|
|
25203
|
+
WebSelect,
|
|
25094
25204
|
{
|
|
25095
25205
|
disabled: !canEdit,
|
|
25096
25206
|
value: state.dash,
|
|
@@ -25101,7 +25211,7 @@ function BorderSideRow({
|
|
|
25101
25211
|
),
|
|
25102
25212
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center gap-1 shrink-0", children: [
|
|
25103
25213
|
/* @__PURE__ */ jsx(
|
|
25104
|
-
|
|
25214
|
+
WebCheckbox,
|
|
25105
25215
|
{
|
|
25106
25216
|
type: "checkbox",
|
|
25107
25217
|
disabled: !canEdit,
|
|
@@ -25230,7 +25340,7 @@ function TablePropertiesPanel({
|
|
|
25230
25340
|
["lastRow", "pptx.table.lastRow"]
|
|
25231
25341
|
].map(([key, i18nKey]) => /* @__PURE__ */ jsxs("label", { className: "flex items-center gap-2 cursor-pointer", children: [
|
|
25232
25342
|
/* @__PURE__ */ jsx(
|
|
25233
|
-
|
|
25343
|
+
WebCheckbox,
|
|
25234
25344
|
{
|
|
25235
25345
|
type: "checkbox",
|
|
25236
25346
|
disabled: !canEdit,
|
|
@@ -26448,7 +26558,7 @@ function SlideSizeCard({
|
|
|
26448
26558
|
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1", children: [
|
|
26449
26559
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: t("pptx.slideSize.presets") }),
|
|
26450
26560
|
/* @__PURE__ */ jsxs(
|
|
26451
|
-
|
|
26561
|
+
WebSelect,
|
|
26452
26562
|
{
|
|
26453
26563
|
"aria-label": t("pptx.slideSize.presets"),
|
|
26454
26564
|
"data-pptx-slide-size-preset": true,
|
|
@@ -26466,7 +26576,7 @@ function SlideSizeCard({
|
|
|
26466
26576
|
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1", children: [
|
|
26467
26577
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: t("pptx.slideSize.orientation") }),
|
|
26468
26578
|
/* @__PURE__ */ jsxs(
|
|
26469
|
-
|
|
26579
|
+
WebSelect,
|
|
26470
26580
|
{
|
|
26471
26581
|
"aria-label": t("pptx.slideSize.orientation"),
|
|
26472
26582
|
"data-pptx-slide-size-orientation": true,
|
|
@@ -26510,12 +26620,12 @@ function CheckboxRow({
|
|
|
26510
26620
|
return /* @__PURE__ */ jsxs("label", { className: "flex items-center justify-between gap-2", children: [
|
|
26511
26621
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: label }),
|
|
26512
26622
|
/* @__PURE__ */ jsx(
|
|
26513
|
-
|
|
26623
|
+
WebCheckbox,
|
|
26514
26624
|
{
|
|
26515
|
-
|
|
26625
|
+
"aria-label": label,
|
|
26516
26626
|
disabled,
|
|
26517
26627
|
checked,
|
|
26518
|
-
onChange: (e) => onChange(e.
|
|
26628
|
+
onChange: (e) => onChange(e.currentTarget.checked)
|
|
26519
26629
|
}
|
|
26520
26630
|
)
|
|
26521
26631
|
] });
|
|
@@ -26532,14 +26642,14 @@ function PresentationSettingsCard({
|
|
|
26532
26642
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center justify-between gap-2", children: [
|
|
26533
26643
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: t("pptx.presentationSettings.showType") }),
|
|
26534
26644
|
/* @__PURE__ */ jsxs(
|
|
26535
|
-
|
|
26645
|
+
WebSelect,
|
|
26536
26646
|
{
|
|
26537
26647
|
"aria-label": t("pptx.presentationSettings.showType"),
|
|
26538
26648
|
disabled: !canEdit,
|
|
26539
|
-
className:
|
|
26649
|
+
className: "w-28 max-md:min-h-[44px]!",
|
|
26540
26650
|
value: presentationProperties.showType ?? "presented",
|
|
26541
26651
|
onChange: (e) => onUpdate({
|
|
26542
|
-
showType: e.
|
|
26652
|
+
showType: e.currentTarget.value
|
|
26543
26653
|
}),
|
|
26544
26654
|
children: [
|
|
26545
26655
|
/* @__PURE__ */ jsx("option", { value: "presented", children: t("pptx.presentationSettings.showTypePresented") }),
|
|
@@ -26624,7 +26734,7 @@ function ThemeSelectorCard({
|
|
|
26624
26734
|
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1", children: [
|
|
26625
26735
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: t("pptx.documentProperties.themeHeading") }),
|
|
26626
26736
|
/* @__PURE__ */ jsx(
|
|
26627
|
-
|
|
26737
|
+
WebSelect,
|
|
26628
26738
|
{
|
|
26629
26739
|
"aria-label": t("pptx.documentProperties.themeHeading"),
|
|
26630
26740
|
disabled: themeOptions.length === 0,
|
|
@@ -26743,7 +26853,7 @@ function SlideThemeOverridePanel({
|
|
|
26743
26853
|
return /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
26744
26854
|
/* @__PURE__ */ jsxs("label", { className: "inline-flex items-center gap-2 text-xs", children: [
|
|
26745
26855
|
/* @__PURE__ */ jsx(
|
|
26746
|
-
|
|
26856
|
+
WebCheckbox,
|
|
26747
26857
|
{
|
|
26748
26858
|
type: "checkbox",
|
|
26749
26859
|
disabled: !canEdit,
|
|
@@ -26768,7 +26878,7 @@ function SlideThemeOverridePanel({
|
|
|
26768
26878
|
}
|
|
26769
26879
|
),
|
|
26770
26880
|
/* @__PURE__ */ jsx(
|
|
26771
|
-
|
|
26881
|
+
WebSelect,
|
|
26772
26882
|
{
|
|
26773
26883
|
disabled: !canEdit,
|
|
26774
26884
|
className: "flex-1 bg-muted border border-border rounded px-1 py-0.5 text-[11px]",
|
|
@@ -26934,7 +27044,7 @@ function SlideTransitionSection({
|
|
|
26934
27044
|
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1", children: [
|
|
26935
27045
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-xs", children: t("pptx.transition.type") }),
|
|
26936
27046
|
/* @__PURE__ */ jsx(
|
|
26937
|
-
|
|
27047
|
+
WebSelect,
|
|
26938
27048
|
{
|
|
26939
27049
|
value: activeSlide.transition?.type || "none",
|
|
26940
27050
|
disabled: !canEdit,
|
|
@@ -27019,7 +27129,7 @@ function SlideTransitionSection({
|
|
|
27019
27129
|
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1", children: [
|
|
27020
27130
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-xs", children: t("pptx.transition.speed") }),
|
|
27021
27131
|
/* @__PURE__ */ jsx(
|
|
27022
|
-
|
|
27132
|
+
WebSelect,
|
|
27023
27133
|
{
|
|
27024
27134
|
value: activeSlide.transition?.speed ?? "fast",
|
|
27025
27135
|
disabled: !canEdit,
|
|
@@ -27035,7 +27145,7 @@ function SlideTransitionSection({
|
|
|
27035
27145
|
isMorph && /* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1", children: [
|
|
27036
27146
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-xs", children: t("pptx.transition.morphOption") }),
|
|
27037
27147
|
/* @__PURE__ */ jsx(
|
|
27038
|
-
|
|
27148
|
+
WebSelect,
|
|
27039
27149
|
{
|
|
27040
27150
|
value: activeSlide.transition?.morphOption ?? "byObject",
|
|
27041
27151
|
disabled: !canEdit,
|
|
@@ -27050,7 +27160,7 @@ function SlideTransitionSection({
|
|
|
27050
27160
|
] }),
|
|
27051
27161
|
/* @__PURE__ */ jsxs("label", { className: "inline-flex items-center gap-2 text-foreground text-xs", children: [
|
|
27052
27162
|
/* @__PURE__ */ jsx(
|
|
27053
|
-
|
|
27163
|
+
WebCheckbox,
|
|
27054
27164
|
{
|
|
27055
27165
|
type: "checkbox",
|
|
27056
27166
|
disabled: !canEdit,
|
|
@@ -27376,7 +27486,7 @@ function SlideBackgroundPanel({
|
|
|
27376
27486
|
),
|
|
27377
27487
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center gap-2 text-[11px]", children: [
|
|
27378
27488
|
/* @__PURE__ */ jsx(
|
|
27379
|
-
|
|
27489
|
+
WebCheckbox,
|
|
27380
27490
|
{
|
|
27381
27491
|
type: "checkbox",
|
|
27382
27492
|
checked: activeSlide.showMasterShapes === false,
|
|
@@ -30799,31 +30909,18 @@ function TitleBar(p) {
|
|
|
30799
30909
|
] })
|
|
30800
30910
|
] }),
|
|
30801
30911
|
/* @__PURE__ */ jsx("span", { className: TITLE_BAR_CLASSES.searchWrap, children: (p.mode === "edit" || p.mode === "master") && /* @__PURE__ */ jsxs("div", { ref: searchRef, className: "relative w-full max-w-md", children: [
|
|
30802
|
-
/* @__PURE__ */
|
|
30803
|
-
|
|
30912
|
+
/* @__PURE__ */ jsx(
|
|
30913
|
+
WebSearch,
|
|
30804
30914
|
{
|
|
30805
30915
|
"data-pptx-search-surface": true,
|
|
30806
|
-
|
|
30807
|
-
|
|
30808
|
-
|
|
30809
|
-
),
|
|
30810
|
-
|
|
30811
|
-
|
|
30812
|
-
|
|
30813
|
-
|
|
30814
|
-
{
|
|
30815
|
-
"data-pptx-search-input": true,
|
|
30816
|
-
type: "text",
|
|
30817
|
-
value: searchQuery,
|
|
30818
|
-
onChange: (e) => setSearchQuery(e.target.value),
|
|
30819
|
-
onFocus: () => setSearchFocused(true),
|
|
30820
|
-
onKeyDown: handleSearchKeyDown,
|
|
30821
|
-
placeholder: t("pptx.titleBar.searchPlaceholder"),
|
|
30822
|
-
className: "flex-1 bg-transparent text-[11px] outline-none placeholder:text-muted-foreground/60",
|
|
30823
|
-
"aria-label": t("pptx.titleBar.search")
|
|
30824
|
-
}
|
|
30825
|
-
)
|
|
30826
|
-
]
|
|
30916
|
+
"data-pptx-search-input": true,
|
|
30917
|
+
variant: "titlebar",
|
|
30918
|
+
value: searchQuery,
|
|
30919
|
+
onInput: (e) => setSearchQuery(e.currentTarget.value),
|
|
30920
|
+
onFocus: () => setSearchFocused(true),
|
|
30921
|
+
onKeyDown: handleSearchKeyDown,
|
|
30922
|
+
placeholder: t("pptx.titleBar.searchPlaceholder"),
|
|
30923
|
+
"aria-label": t("pptx.titleBar.search")
|
|
30827
30924
|
}
|
|
30828
30925
|
),
|
|
30829
30926
|
searchFocused && searchQuery.trim() && /* @__PURE__ */ jsxs("div", { className: "absolute left-0 right-0 top-full z-50 mt-1 rounded-lg border border-border bg-popover shadow-xl max-h-64 overflow-y-auto", children: [
|
|
@@ -32833,7 +32930,7 @@ function useTableStyleMapHandlers(input) {
|
|
|
32833
32930
|
var AiChatPanel = lazy(async () => {
|
|
32834
32931
|
const [{ useChat }, { default: Panel }] = await Promise.all([
|
|
32835
32932
|
import('@ai-sdk/react'),
|
|
32836
|
-
import('./AiChatPanel-
|
|
32933
|
+
import('./AiChatPanel-SEIRQ3XP.mjs')
|
|
32837
32934
|
]);
|
|
32838
32935
|
function BoundAiChatPanel(props) {
|
|
32839
32936
|
return /* @__PURE__ */ jsx(Panel, { ...props, useChat });
|
|
@@ -33044,7 +33141,7 @@ function ThemeColorSchemeEditor({
|
|
|
33044
33141
|
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-0.5", children: [
|
|
33045
33142
|
/* @__PURE__ */ jsx("span", { className: "text-[10px] text-muted-foreground", children: t("pptx.themeEditor.headingFont") }),
|
|
33046
33143
|
/* @__PURE__ */ jsxs(
|
|
33047
|
-
|
|
33144
|
+
WebSelect,
|
|
33048
33145
|
{
|
|
33049
33146
|
"aria-label": t("pptx.themeEditor.headingFont"),
|
|
33050
33147
|
className: THEME_EDITOR_INPUT,
|
|
@@ -33065,7 +33162,7 @@ function ThemeColorSchemeEditor({
|
|
|
33065
33162
|
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-0.5", children: [
|
|
33066
33163
|
/* @__PURE__ */ jsx("span", { className: "text-[10px] text-muted-foreground", children: t("pptx.themeEditor.bodyFont") }),
|
|
33067
33164
|
/* @__PURE__ */ jsxs(
|
|
33068
|
-
|
|
33165
|
+
WebSelect,
|
|
33069
33166
|
{
|
|
33070
33167
|
"aria-label": t("pptx.themeEditor.bodyFont"),
|
|
33071
33168
|
className: THEME_EDITOR_INPUT,
|
|
@@ -34898,12 +34995,15 @@ function ControlRow({
|
|
|
34898
34995
|
info
|
|
34899
34996
|
] }),
|
|
34900
34997
|
/* @__PURE__ */ jsx(
|
|
34901
|
-
|
|
34998
|
+
WebCheckbox,
|
|
34902
34999
|
{
|
|
34903
|
-
type: "checkbox",
|
|
34904
|
-
className: "h-4 w-4 shrink-0 accent-[var(--pptx-primary,#6366f1)]",
|
|
34905
35000
|
checked: value === true,
|
|
34906
|
-
|
|
35001
|
+
"aria-label": label,
|
|
35002
|
+
onChange: (event) => onOptionChange(
|
|
35003
|
+
control.group,
|
|
35004
|
+
control.key,
|
|
35005
|
+
event.currentTarget.checked
|
|
35006
|
+
)
|
|
34907
35007
|
}
|
|
34908
35008
|
)
|
|
34909
35009
|
] });
|
|
@@ -34915,13 +35015,16 @@ function ControlRow({
|
|
|
34915
35015
|
info
|
|
34916
35016
|
] }),
|
|
34917
35017
|
/* @__PURE__ */ jsx(
|
|
34918
|
-
|
|
35018
|
+
WebSelect,
|
|
34919
35019
|
{
|
|
34920
35020
|
"aria-label": label,
|
|
34921
35021
|
style: { minHeight: fieldMinHeight },
|
|
34922
|
-
className: "max-w-[55%] rounded border border-border bg-background px-2 py-1 text-xs text-foreground",
|
|
34923
35022
|
value: typeof value === "string" ? value : "",
|
|
34924
|
-
onChange: (event) => onOptionChange(
|
|
35023
|
+
onChange: (event) => onOptionChange(
|
|
35024
|
+
control.group,
|
|
35025
|
+
control.key,
|
|
35026
|
+
event.currentTarget.value
|
|
35027
|
+
),
|
|
34925
35028
|
children: control.choices.map((choice) => /* @__PURE__ */ jsx("option", { value: choice.value, children: t(choice.labelKey) }, choice.value))
|
|
34926
35029
|
}
|
|
34927
35030
|
)
|
|
@@ -37188,7 +37291,7 @@ var PowerPointViewer = forwardRef(
|
|
|
37188
37291
|
// Nothing previously provided it, so every one of those consumers was
|
|
37189
37292
|
// silently reading `DEFAULT_VIEWER_OPTIONS` forever, no matter what
|
|
37190
37293
|
// the user changed in the Options dialog.
|
|
37191
|
-
/* @__PURE__ */ jsx(ViewerOptionsContext.Provider, { value: viewerOptions, children: /* @__PURE__ */ jsx(AccountAuthContext.Provider, { value: accountAuth, children: /* @__PURE__ */ jsx(
|
|
37294
|
+
/* @__PURE__ */ jsx(ViewerOptionsContext.Provider, { value: viewerOptions, children: /* @__PURE__ */ jsx(AccountAuthContext.Provider, { value: accountAuth, children: /* @__PURE__ */ jsx(Rendering3DFlagsContext.Provider, { value: effective3D, children: /* @__PURE__ */ jsx(ViewerThemeProvider, { theme: effectiveTheme, children: /* @__PURE__ */ jsxs(
|
|
37192
37295
|
CollaborationProvider,
|
|
37193
37296
|
{
|
|
37194
37297
|
config: collaboration,
|
|
@@ -37241,7 +37344,7 @@ var PowerPointViewer = forwardRef(
|
|
|
37241
37344
|
viewerContent
|
|
37242
37345
|
]
|
|
37243
37346
|
}
|
|
37244
|
-
) }) }) }) })
|
|
37347
|
+
) }) }) }) })
|
|
37245
37348
|
);
|
|
37246
37349
|
}
|
|
37247
37350
|
);
|