pptx-react-viewer 4.1.6 → 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 +6 -0
- package/dist/{AiChatPanel-Y2RKSHOO.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-DRCY3T2Z.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-ITHRMCLT.mjs → Model3DScene-DCTVSK2F.mjs} +1 -1
- package/dist/Model3DScene-DCTVSK2F.mjs.br +0 -0
- package/dist/Model3DScene-DCTVSK2F.mjs.gz +0 -0
- package/dist/{Model3DScene-VJZS726S.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-2O66VMWK.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-OFSKGB3W.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-P5LF34BT.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-KDTE5JOW.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-LNSYROED.js → chunk-KTSDPBQZ.js} +1309 -1210
- package/dist/chunk-KTSDPBQZ.js.br +0 -0
- package/dist/chunk-KTSDPBQZ.js.gz +0 -0
- package/dist/{chunk-QEYWSHNE.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-VWGJXNMR.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-QMSSDBKN.js → chunk-S65QSO6T.js} +26522 -22546
- package/dist/chunk-S65QSO6T.js.br +0 -0
- package/dist/chunk-S65QSO6T.js.gz +0 -0
- package/dist/{chunk-FT3MMIXW.mjs → chunk-VPJOJJ36.mjs} +26518 -22532
- package/dist/chunk-VPJOJJ36.mjs.br +0 -0
- package/dist/chunk-VPJOJJ36.mjs.gz +0 -0
- package/dist/{chunk-YHTDDCSC.mjs → chunk-ZYIJODUR.mjs} +254 -155
- 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-DRCY3T2Z.js.br +0 -0
- package/dist/AiChatPanel-DRCY3T2Z.js.gz +0 -0
- package/dist/AiChatPanel-Y2RKSHOO.mjs.br +0 -0
- package/dist/AiChatPanel-Y2RKSHOO.mjs.gz +0 -0
- package/dist/Area3DChartScene-J4LMNSGM.js +0 -64
- package/dist/Area3DChartScene-J4LMNSGM.js.br +0 -0
- package/dist/Area3DChartScene-J4LMNSGM.js.gz +0 -0
- package/dist/Area3DChartScene-TDACCSOI.mjs +0 -62
- package/dist/Area3DChartScene-TDACCSOI.mjs.br +0 -0
- package/dist/Area3DChartScene-TDACCSOI.mjs.gz +0 -0
- package/dist/Bar3DChartScene-AD72DLBJ.mjs +0 -62
- package/dist/Bar3DChartScene-AD72DLBJ.mjs.br +0 -0
- package/dist/Bar3DChartScene-AD72DLBJ.mjs.gz +0 -0
- package/dist/Bar3DChartScene-T7334CTK.js +0 -64
- package/dist/Bar3DChartScene-T7334CTK.js.br +0 -0
- package/dist/Bar3DChartScene-T7334CTK.js.gz +0 -0
- package/dist/Line3DChartScene-2ZQSCHK3.mjs +0 -62
- package/dist/Line3DChartScene-2ZQSCHK3.mjs.br +0 -0
- package/dist/Line3DChartScene-2ZQSCHK3.mjs.gz +0 -0
- package/dist/Line3DChartScene-ELVKCFJZ.js +0 -64
- package/dist/Line3DChartScene-ELVKCFJZ.js.br +0 -0
- package/dist/Line3DChartScene-ELVKCFJZ.js.gz +0 -0
- package/dist/Model3DScene-ITHRMCLT.mjs.br +0 -0
- package/dist/Model3DScene-ITHRMCLT.mjs.gz +0 -0
- package/dist/Model3DScene-VJZS726S.js.br +0 -0
- package/dist/Model3DScene-VJZS726S.js.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-N3DM33FW.js +0 -58
- package/dist/PieChart3DScene-N3DM33FW.js.br +0 -0
- package/dist/PieChart3DScene-N3DM33FW.js.gz +0 -0
- package/dist/PieChart3DScene-PYHOA7BO.mjs +0 -56
- package/dist/PieChart3DScene-PYHOA7BO.mjs.br +0 -0
- package/dist/PieChart3DScene-PYHOA7BO.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-IFBUOLNB.mjs +0 -62
- package/dist/SurfaceChart3DScene-IFBUOLNB.mjs.br +0 -0
- package/dist/SurfaceChart3DScene-IFBUOLNB.mjs.gz +0 -0
- package/dist/SurfaceChart3DScene-PUWIMT7V.js +0 -64
- package/dist/SurfaceChart3DScene-PUWIMT7V.js.br +0 -0
- package/dist/SurfaceChart3DScene-PUWIMT7V.js.gz +0 -0
- package/dist/chunk-2O66VMWK.js.br +0 -0
- package/dist/chunk-2O66VMWK.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-FT3MMIXW.mjs.br +0 -0
- package/dist/chunk-FT3MMIXW.mjs.gz +0 -0
- package/dist/chunk-IXS7DALE.js.br +0 -0
- package/dist/chunk-IXS7DALE.js.gz +0 -0
- package/dist/chunk-KDTE5JOW.mjs.br +0 -0
- package/dist/chunk-KDTE5JOW.mjs.gz +0 -0
- package/dist/chunk-LNSYROED.js.br +0 -0
- package/dist/chunk-LNSYROED.js.gz +0 -0
- package/dist/chunk-MV2GCDBR.mjs.br +0 -0
- package/dist/chunk-MV2GCDBR.mjs.gz +0 -0
- package/dist/chunk-OFSKGB3W.mjs.br +0 -0
- package/dist/chunk-OFSKGB3W.mjs.gz +0 -0
- package/dist/chunk-P5LF34BT.js.br +0 -0
- package/dist/chunk-P5LF34BT.js.gz +0 -0
- package/dist/chunk-QEYWSHNE.mjs.br +0 -0
- package/dist/chunk-QEYWSHNE.mjs.gz +0 -0
- package/dist/chunk-QMSSDBKN.js.br +0 -0
- package/dist/chunk-QMSSDBKN.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-VWGJXNMR.js.br +0 -0
- package/dist/chunk-VWGJXNMR.js.gz +0 -0
- package/dist/chunk-YHTDDCSC.mjs.br +0 -0
- package/dist/chunk-YHTDDCSC.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_BACK_CLASSES, BACKSTAGE_NAV_CLASSES, 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-FT3MMIXW.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: [
|
|
@@ -1938,21 +2022,18 @@ function FileSection(p) {
|
|
|
1938
2022
|
}
|
|
1939
2023
|
),
|
|
1940
2024
|
(page === "home" || page === "open") && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
1941
|
-
/* @__PURE__ */
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
"
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
}
|
|
1954
|
-
)
|
|
1955
|
-
] }),
|
|
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
|
+
),
|
|
1956
2037
|
page === "open" && /* @__PURE__ */ jsxs(
|
|
1957
2038
|
"button",
|
|
1958
2039
|
{
|
|
@@ -8613,6 +8694,31 @@ function SlideCanvasContent({
|
|
|
8613
8694
|
}
|
|
8614
8695
|
);
|
|
8615
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
|
+
}
|
|
8616
8722
|
function ErrorState({ className, error }) {
|
|
8617
8723
|
return /* @__PURE__ */ jsx(
|
|
8618
8724
|
"div",
|
|
@@ -15861,7 +15967,7 @@ function AfterAnimationRow({
|
|
|
15861
15967
|
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1", children: [
|
|
15862
15968
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-[11px]", children: t("pptx.animation.afterAnimation") }),
|
|
15863
15969
|
/* @__PURE__ */ jsx(
|
|
15864
|
-
|
|
15970
|
+
WebSelect,
|
|
15865
15971
|
{
|
|
15866
15972
|
"aria-label": t("pptx.animation.afterAnimation"),
|
|
15867
15973
|
value: action,
|
|
@@ -16115,7 +16221,7 @@ function EffectSoundRow({
|
|
|
16115
16221
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-[11px]", children: t("pptx.animation.sound") }),
|
|
16116
16222
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1", children: [
|
|
16117
16223
|
/* @__PURE__ */ jsxs(
|
|
16118
|
-
|
|
16224
|
+
WebSelect,
|
|
16119
16225
|
{
|
|
16120
16226
|
"aria-label": t("pptx.animation.sound"),
|
|
16121
16227
|
value: selectedValue,
|
|
@@ -16167,7 +16273,7 @@ function MotionPathRow({
|
|
|
16167
16273
|
return /* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1", children: [
|
|
16168
16274
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-[11px]", children: t("pptx.animation.motionPath.label") }),
|
|
16169
16275
|
/* @__PURE__ */ jsxs(
|
|
16170
|
-
|
|
16276
|
+
WebSelect,
|
|
16171
16277
|
{
|
|
16172
16278
|
"aria-label": t("pptx.animation.motionPath.label"),
|
|
16173
16279
|
value: isCustom ? "custom" : presetId ?? "none",
|
|
@@ -16670,7 +16776,7 @@ function AnimationPanel({
|
|
|
16670
16776
|
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1", children: [
|
|
16671
16777
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-[11px]", children: t("pptx.animation.entrance") }),
|
|
16672
16778
|
/* @__PURE__ */ jsxs(
|
|
16673
|
-
|
|
16779
|
+
WebSelect,
|
|
16674
16780
|
{
|
|
16675
16781
|
"aria-label": t("pptx.animation.entrance"),
|
|
16676
16782
|
value: selectedElementAnimation?.entrance ?? "none",
|
|
@@ -16688,7 +16794,7 @@ function AnimationPanel({
|
|
|
16688
16794
|
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1", children: [
|
|
16689
16795
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-[11px]", children: t("pptx.animation.emphasis") }),
|
|
16690
16796
|
/* @__PURE__ */ jsxs(
|
|
16691
|
-
|
|
16797
|
+
WebSelect,
|
|
16692
16798
|
{
|
|
16693
16799
|
"aria-label": t("pptx.animation.emphasis"),
|
|
16694
16800
|
value: selectedElementAnimation?.emphasis ?? "none",
|
|
@@ -16706,7 +16812,7 @@ function AnimationPanel({
|
|
|
16706
16812
|
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1", children: [
|
|
16707
16813
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-[11px]", children: t("pptx.animation.exit") }),
|
|
16708
16814
|
/* @__PURE__ */ jsxs(
|
|
16709
|
-
|
|
16815
|
+
WebSelect,
|
|
16710
16816
|
{
|
|
16711
16817
|
"aria-label": t("pptx.animation.exit"),
|
|
16712
16818
|
value: selectedElementAnimation?.exit ?? "none",
|
|
@@ -16756,7 +16862,7 @@ function AnimationPanel({
|
|
|
16756
16862
|
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1", children: [
|
|
16757
16863
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-[11px]", children: t("pptx.animation.sequence") }),
|
|
16758
16864
|
/* @__PURE__ */ jsx(
|
|
16759
|
-
|
|
16865
|
+
WebSelect,
|
|
16760
16866
|
{
|
|
16761
16867
|
"aria-label": t("pptx.animation.sequence"),
|
|
16762
16868
|
value: selectedElementAnimation?.sequence ?? "asOne",
|
|
@@ -16793,7 +16899,7 @@ function AnimationPanel({
|
|
|
16793
16899
|
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1", children: [
|
|
16794
16900
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-[11px]", children: t("pptx.animation.trigger") }),
|
|
16795
16901
|
/* @__PURE__ */ jsx(
|
|
16796
|
-
|
|
16902
|
+
WebSelect,
|
|
16797
16903
|
{
|
|
16798
16904
|
"aria-label": t("pptx.animation.trigger"),
|
|
16799
16905
|
value: selectedElementAnimation?.trigger ?? "onClick",
|
|
@@ -16808,7 +16914,7 @@ function AnimationPanel({
|
|
|
16808
16914
|
selectedElementAnimation?.trigger === "onShapeClick" && /* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1", children: [
|
|
16809
16915
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-[11px]", children: t("pptx.animation.trigger.shapeLabel") }),
|
|
16810
16916
|
/* @__PURE__ */ jsxs(
|
|
16811
|
-
|
|
16917
|
+
WebSelect,
|
|
16812
16918
|
{
|
|
16813
16919
|
"aria-label": t("pptx.animation.trigger.shapeLabel"),
|
|
16814
16920
|
value: selectedElementAnimation?.triggerShapeId ?? "",
|
|
@@ -16860,7 +16966,7 @@ function AnimationPanel({
|
|
|
16860
16966
|
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1", children: [
|
|
16861
16967
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-[11px]", children: t("pptx.animation.timingCurve") }),
|
|
16862
16968
|
/* @__PURE__ */ jsx(
|
|
16863
|
-
|
|
16969
|
+
WebSelect,
|
|
16864
16970
|
{
|
|
16865
16971
|
"aria-label": t("pptx.animation.timingCurve"),
|
|
16866
16972
|
value: selectedElementAnimation?.timingCurve ?? "ease",
|
|
@@ -16892,7 +16998,7 @@ function AnimationPanel({
|
|
|
16892
16998
|
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1", children: [
|
|
16893
16999
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-[11px]", children: t("pptx.animation.repeatUntil") }),
|
|
16894
17000
|
/* @__PURE__ */ jsx(
|
|
16895
|
-
|
|
17001
|
+
WebSelect,
|
|
16896
17002
|
{
|
|
16897
17003
|
"aria-label": t("pptx.animation.repeatUntil"),
|
|
16898
17004
|
value: selectedElementAnimation?.repeatMode ?? "none",
|
|
@@ -16987,7 +17093,7 @@ function ActionTargetFields({
|
|
|
16987
17093
|
if (type === "customShow") {
|
|
16988
17094
|
return /* @__PURE__ */ jsxs("div", { className: "space-y-1", children: [
|
|
16989
17095
|
/* @__PURE__ */ jsxs(
|
|
16990
|
-
|
|
17096
|
+
WebSelect,
|
|
16991
17097
|
{
|
|
16992
17098
|
"data-testid": "pptx-action-custom-show",
|
|
16993
17099
|
disabled: !canEdit,
|
|
@@ -17003,7 +17109,7 @@ function ActionTargetFields({
|
|
|
17003
17109
|
),
|
|
17004
17110
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center gap-1.5 text-muted-foreground", children: [
|
|
17005
17111
|
/* @__PURE__ */ jsx(
|
|
17006
|
-
|
|
17112
|
+
WebCheckbox,
|
|
17007
17113
|
{
|
|
17008
17114
|
type: "checkbox",
|
|
17009
17115
|
"data-testid": "pptx-action-custom-show-return",
|
|
@@ -17111,7 +17217,7 @@ function ActionTriggerSection({
|
|
|
17111
17217
|
return /* @__PURE__ */ jsxs("div", { className: "space-y-1.5", "data-pptx-action-trigger": trigger, children: [
|
|
17112
17218
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground font-medium", children: label }),
|
|
17113
17219
|
/* @__PURE__ */ jsx(
|
|
17114
|
-
|
|
17220
|
+
WebSelect,
|
|
17115
17221
|
{
|
|
17116
17222
|
disabled: !canEdit,
|
|
17117
17223
|
"aria-label": label,
|
|
@@ -17187,7 +17293,7 @@ function ChartAxisOptions({ axes, canEdit, onUpdateAxis }) {
|
|
|
17187
17293
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center gap-2 text-[11px]", children: [
|
|
17188
17294
|
/* @__PURE__ */ jsx("span", { className: "w-16 text-muted-foreground shrink-0", children: t("pptx.chart.displayUnits") }),
|
|
17189
17295
|
/* @__PURE__ */ jsx(
|
|
17190
|
-
|
|
17296
|
+
WebSelect,
|
|
17191
17297
|
{
|
|
17192
17298
|
"aria-label": t("pptx.chart.displayUnits"),
|
|
17193
17299
|
disabled: !canEdit,
|
|
@@ -17235,7 +17341,7 @@ function ChartAxisOptions({ axes, canEdit, onUpdateAxis }) {
|
|
|
17235
17341
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center gap-2 text-[11px]", children: [
|
|
17236
17342
|
/* @__PURE__ */ jsx("span", { className: "w-16 text-muted-foreground shrink-0", children: t("pptx.chart.tickLabels") }),
|
|
17237
17343
|
/* @__PURE__ */ jsx(
|
|
17238
|
-
|
|
17344
|
+
WebSelect,
|
|
17239
17345
|
{
|
|
17240
17346
|
"aria-label": t("pptx.chart.tickLabels"),
|
|
17241
17347
|
disabled: !canEdit,
|
|
@@ -17250,7 +17356,7 @@ function ChartAxisOptions({ axes, canEdit, onUpdateAxis }) {
|
|
|
17250
17356
|
] }),
|
|
17251
17357
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center gap-2 cursor-pointer", children: [
|
|
17252
17358
|
/* @__PURE__ */ jsx(
|
|
17253
|
-
|
|
17359
|
+
WebCheckbox,
|
|
17254
17360
|
{
|
|
17255
17361
|
type: "checkbox",
|
|
17256
17362
|
disabled: !canEdit,
|
|
@@ -17263,7 +17369,7 @@ function ChartAxisOptions({ axes, canEdit, onUpdateAxis }) {
|
|
|
17263
17369
|
] }),
|
|
17264
17370
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center gap-2 cursor-pointer", children: [
|
|
17265
17371
|
/* @__PURE__ */ jsx(
|
|
17266
|
-
|
|
17372
|
+
WebCheckbox,
|
|
17267
17373
|
{
|
|
17268
17374
|
type: "checkbox",
|
|
17269
17375
|
disabled: !canEdit,
|
|
@@ -17309,7 +17415,7 @@ function ChartAxisStyleOptions({
|
|
|
17309
17415
|
hasScale && /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
17310
17416
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center gap-2 cursor-pointer", children: [
|
|
17311
17417
|
/* @__PURE__ */ jsx(
|
|
17312
|
-
|
|
17418
|
+
WebCheckbox,
|
|
17313
17419
|
{
|
|
17314
17420
|
type: "checkbox",
|
|
17315
17421
|
disabled: !canEdit,
|
|
@@ -17373,7 +17479,7 @@ function ChartAxisStyleOptions({
|
|
|
17373
17479
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 text-[11px]", children: [
|
|
17374
17480
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center gap-1 cursor-pointer", children: [
|
|
17375
17481
|
/* @__PURE__ */ jsx(
|
|
17376
|
-
|
|
17482
|
+
WebCheckbox,
|
|
17377
17483
|
{
|
|
17378
17484
|
type: "checkbox",
|
|
17379
17485
|
disabled: !canEdit,
|
|
@@ -17445,7 +17551,7 @@ function ChartAxisStyleOptions({
|
|
|
17445
17551
|
}
|
|
17446
17552
|
),
|
|
17447
17553
|
/* @__PURE__ */ jsx(
|
|
17448
|
-
|
|
17554
|
+
WebSelect,
|
|
17449
17555
|
{
|
|
17450
17556
|
disabled: !canEdit,
|
|
17451
17557
|
title: t("pptx.chart.gridlineDash"),
|
|
@@ -17477,7 +17583,7 @@ function ChartComboTypeOptions({
|
|
|
17477
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: [
|
|
17478
17584
|
/* @__PURE__ */ jsx("span", { className: "flex-1 truncate", title: s.name, children: s.name }),
|
|
17479
17585
|
/* @__PURE__ */ jsx(
|
|
17480
|
-
|
|
17586
|
+
WebSelect,
|
|
17481
17587
|
{
|
|
17482
17588
|
disabled: !canEdit,
|
|
17483
17589
|
className: INPUT,
|
|
@@ -17651,7 +17757,7 @@ function ChartDataLabelOptions({
|
|
|
17651
17757
|
/* @__PURE__ */ jsxs("div", { className: "space-y-1.5", children: [
|
|
17652
17758
|
DATA_LABEL_CONTENT_OPTIONS.map((opt) => /* @__PURE__ */ jsxs("label", { className: "flex items-center gap-2 cursor-pointer", children: [
|
|
17653
17759
|
/* @__PURE__ */ jsx(
|
|
17654
|
-
|
|
17760
|
+
WebCheckbox,
|
|
17655
17761
|
{
|
|
17656
17762
|
type: "checkbox",
|
|
17657
17763
|
disabled: !canEdit,
|
|
@@ -17665,7 +17771,7 @@ function ChartDataLabelOptions({
|
|
|
17665
17771
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center gap-2 text-[11px]", children: [
|
|
17666
17772
|
/* @__PURE__ */ jsx("span", { className: "w-16 text-muted-foreground shrink-0", children: t("pptx.chart.labelPosition") }),
|
|
17667
17773
|
/* @__PURE__ */ jsx(
|
|
17668
|
-
|
|
17774
|
+
WebSelect,
|
|
17669
17775
|
{
|
|
17670
17776
|
"aria-label": t("pptx.chart.labelPosition"),
|
|
17671
17777
|
disabled: !canEdit,
|
|
@@ -17702,7 +17808,7 @@ function ChartDataPointMarkerOptions({
|
|
|
17702
17808
|
series.length > 1 && /* @__PURE__ */ jsxs("label", { className: "flex items-center gap-2 text-[11px]", children: [
|
|
17703
17809
|
/* @__PURE__ */ jsx("span", { className: "w-12 text-muted-foreground shrink-0", children: t("pptx.chart.series") }),
|
|
17704
17810
|
/* @__PURE__ */ jsx(
|
|
17705
|
-
|
|
17811
|
+
WebSelect,
|
|
17706
17812
|
{
|
|
17707
17813
|
"aria-label": t("pptx.chart.series"),
|
|
17708
17814
|
disabled: !canEdit,
|
|
@@ -17721,7 +17827,7 @@ function ChartDataPointMarkerOptions({
|
|
|
17721
17827
|
/* @__PURE__ */ jsx("span", { className: "flex-1 truncate", title: cat, children: cat }),
|
|
17722
17828
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center gap-1 shrink-0", children: [
|
|
17723
17829
|
/* @__PURE__ */ jsx(
|
|
17724
|
-
|
|
17830
|
+
WebCheckbox,
|
|
17725
17831
|
{
|
|
17726
17832
|
type: "checkbox",
|
|
17727
17833
|
disabled: !canEdit,
|
|
@@ -17740,7 +17846,7 @@ function ChartDataPointMarkerOptions({
|
|
|
17740
17846
|
] }),
|
|
17741
17847
|
hasOverride && point2?.marker && /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 ml-2 flex-wrap", children: [
|
|
17742
17848
|
/* @__PURE__ */ jsx(
|
|
17743
|
-
|
|
17849
|
+
WebSelect,
|
|
17744
17850
|
{
|
|
17745
17851
|
disabled: !canEdit,
|
|
17746
17852
|
className: "bg-muted border border-border rounded px-1.5 py-0.5 text-[11px]",
|
|
@@ -17812,7 +17918,7 @@ function ChartDataPointOptions({
|
|
|
17812
17918
|
series.length > 1 && /* @__PURE__ */ jsxs("label", { className: "flex items-center gap-2 text-[11px]", children: [
|
|
17813
17919
|
/* @__PURE__ */ jsx("span", { className: "w-12 text-muted-foreground shrink-0", children: t("pptx.chart.series") }),
|
|
17814
17920
|
/* @__PURE__ */ jsx(
|
|
17815
|
-
|
|
17921
|
+
WebSelect,
|
|
17816
17922
|
{
|
|
17817
17923
|
"aria-label": t("pptx.chart.series"),
|
|
17818
17924
|
disabled: !canEdit,
|
|
@@ -17908,7 +18014,7 @@ function ChartDisplayOptions({
|
|
|
17908
18014
|
/* @__PURE__ */ jsxs("div", { className: "space-y-1.5", children: [
|
|
17909
18015
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center gap-2 cursor-pointer", children: [
|
|
17910
18016
|
/* @__PURE__ */ jsx(
|
|
17911
|
-
|
|
18017
|
+
WebCheckbox,
|
|
17912
18018
|
{
|
|
17913
18019
|
type: "checkbox",
|
|
17914
18020
|
disabled: !canEdit,
|
|
@@ -17921,7 +18027,7 @@ function ChartDisplayOptions({
|
|
|
17921
18027
|
] }),
|
|
17922
18028
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center gap-2 cursor-pointer", children: [
|
|
17923
18029
|
/* @__PURE__ */ jsx(
|
|
17924
|
-
|
|
18030
|
+
WebCheckbox,
|
|
17925
18031
|
{
|
|
17926
18032
|
type: "checkbox",
|
|
17927
18033
|
disabled: !canEdit,
|
|
@@ -17935,7 +18041,7 @@ function ChartDisplayOptions({
|
|
|
17935
18041
|
style?.hasLegend && /* @__PURE__ */ jsxs("label", { className: "flex items-center gap-2 text-[11px] ml-4", children: [
|
|
17936
18042
|
/* @__PURE__ */ jsx("span", { className: "w-12 text-muted-foreground shrink-0", children: t("pptx.chart.legendPosition") }),
|
|
17937
18043
|
/* @__PURE__ */ jsx(
|
|
17938
|
-
|
|
18044
|
+
WebSelect,
|
|
17939
18045
|
{
|
|
17940
18046
|
"aria-label": t("pptx.chart.legendPosition"),
|
|
17941
18047
|
disabled: !canEdit,
|
|
@@ -17950,7 +18056,7 @@ function ChartDisplayOptions({
|
|
|
17950
18056
|
] }),
|
|
17951
18057
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center gap-2 cursor-pointer", children: [
|
|
17952
18058
|
/* @__PURE__ */ jsx(
|
|
17953
|
-
|
|
18059
|
+
WebCheckbox,
|
|
17954
18060
|
{
|
|
17955
18061
|
type: "checkbox",
|
|
17956
18062
|
disabled: !canEdit,
|
|
@@ -17963,7 +18069,7 @@ function ChartDisplayOptions({
|
|
|
17963
18069
|
] }),
|
|
17964
18070
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center gap-2 cursor-pointer", children: [
|
|
17965
18071
|
/* @__PURE__ */ jsx(
|
|
17966
|
-
|
|
18072
|
+
WebCheckbox,
|
|
17967
18073
|
{
|
|
17968
18074
|
type: "checkbox",
|
|
17969
18075
|
disabled: !canEdit,
|
|
@@ -17999,7 +18105,7 @@ function ChartErrorBarOptions({
|
|
|
17999
18105
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 text-[11px]", children: [
|
|
18000
18106
|
/* @__PURE__ */ jsx("span", { className: "flex-1 truncate", title: s.name, children: s.name }),
|
|
18001
18107
|
/* @__PURE__ */ jsx(
|
|
18002
|
-
|
|
18108
|
+
WebSelect,
|
|
18003
18109
|
{
|
|
18004
18110
|
disabled: !canEdit,
|
|
18005
18111
|
className: INPUT,
|
|
@@ -18023,7 +18129,7 @@ function ChartErrorBarOptions({
|
|
|
18023
18129
|
] }),
|
|
18024
18130
|
bars && /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 ml-2", children: [
|
|
18025
18131
|
/* @__PURE__ */ jsx(
|
|
18026
|
-
|
|
18132
|
+
WebSelect,
|
|
18027
18133
|
{
|
|
18028
18134
|
disabled: !canEdit,
|
|
18029
18135
|
className: INPUT,
|
|
@@ -18158,7 +18264,7 @@ function ChartMarkerOptions({
|
|
|
18158
18264
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 text-[11px]", children: [
|
|
18159
18265
|
/* @__PURE__ */ jsx("span", { className: "flex-1 truncate", title: s.name, children: s.name }),
|
|
18160
18266
|
/* @__PURE__ */ jsx(
|
|
18161
|
-
|
|
18267
|
+
WebSelect,
|
|
18162
18268
|
{
|
|
18163
18269
|
disabled: !canEdit,
|
|
18164
18270
|
className: INPUT,
|
|
@@ -18270,7 +18376,7 @@ function ChartSeriesColorOptions({
|
|
|
18270
18376
|
/* @__PURE__ */ jsx("span", { className: "flex-1 truncate", title: s.name, children: s.name }),
|
|
18271
18377
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center gap-1 text-muted-foreground shrink-0", children: [
|
|
18272
18378
|
/* @__PURE__ */ jsx(
|
|
18273
|
-
|
|
18379
|
+
WebCheckbox,
|
|
18274
18380
|
{
|
|
18275
18381
|
type: "checkbox",
|
|
18276
18382
|
disabled: !canEdit,
|
|
@@ -18319,7 +18425,7 @@ function ChartSubtypeOptions({
|
|
|
18319
18425
|
chartData.chartType === "bar3D" && /* @__PURE__ */ jsxs("label", { className: "flex items-center gap-2 text-[11px]", children: [
|
|
18320
18426
|
/* @__PURE__ */ jsx("span", { className: "w-16 text-muted-foreground shrink-0", children: t("pptx.chart.bar3DShapeLabel") }),
|
|
18321
18427
|
/* @__PURE__ */ jsx(
|
|
18322
|
-
|
|
18428
|
+
WebSelect,
|
|
18323
18429
|
{
|
|
18324
18430
|
"data-testid": "pptx-chart-bar3d-shape",
|
|
18325
18431
|
"aria-label": t("pptx.chart.bar3DShapeLabel"),
|
|
@@ -18334,7 +18440,7 @@ function ChartSubtypeOptions({
|
|
|
18334
18440
|
chartData.chartType === "radar" && /* @__PURE__ */ jsxs("label", { className: "flex items-center gap-2 text-[11px]", children: [
|
|
18335
18441
|
/* @__PURE__ */ jsx("span", { className: "w-16 text-muted-foreground shrink-0", children: t("pptx.chart.radarStyleLabel") }),
|
|
18336
18442
|
/* @__PURE__ */ jsx(
|
|
18337
|
-
|
|
18443
|
+
WebSelect,
|
|
18338
18444
|
{
|
|
18339
18445
|
"data-testid": "pptx-chart-radar-style",
|
|
18340
18446
|
"aria-label": t("pptx.chart.radarStyleLabel"),
|
|
@@ -18354,7 +18460,7 @@ function ChartSubtypeOptions({
|
|
|
18354
18460
|
chartData.chartType === "surface" && /* @__PURE__ */ jsxs("label", { className: "flex items-center gap-2 text-[11px]", children: [
|
|
18355
18461
|
/* @__PURE__ */ jsx("span", { className: "w-16 text-muted-foreground shrink-0", children: t("pptx.chart.surfaceWireframeLabel") }),
|
|
18356
18462
|
/* @__PURE__ */ jsx(
|
|
18357
|
-
|
|
18463
|
+
WebSelect,
|
|
18358
18464
|
{
|
|
18359
18465
|
"data-testid": "pptx-chart-surface-wireframe",
|
|
18360
18466
|
"aria-label": t("pptx.chart.surfaceWireframeLabel"),
|
|
@@ -18387,7 +18493,7 @@ function ChartTrendlineOptions({
|
|
|
18387
18493
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 text-[11px]", children: [
|
|
18388
18494
|
/* @__PURE__ */ jsx("span", { className: "flex-1 truncate", title: s.name, children: s.name }),
|
|
18389
18495
|
/* @__PURE__ */ jsx(
|
|
18390
|
-
|
|
18496
|
+
WebSelect,
|
|
18391
18497
|
{
|
|
18392
18498
|
disabled: !canEdit,
|
|
18393
18499
|
className: INPUT,
|
|
@@ -18410,7 +18516,7 @@ function ChartTrendlineOptions({
|
|
|
18410
18516
|
trendline && /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 ml-2", children: [
|
|
18411
18517
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center gap-1 text-[11px] cursor-pointer", children: [
|
|
18412
18518
|
/* @__PURE__ */ jsx(
|
|
18413
|
-
|
|
18519
|
+
WebCheckbox,
|
|
18414
18520
|
{
|
|
18415
18521
|
type: "checkbox",
|
|
18416
18522
|
disabled: !canEdit,
|
|
@@ -18423,7 +18529,7 @@ function ChartTrendlineOptions({
|
|
|
18423
18529
|
] }),
|
|
18424
18530
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center gap-1 text-[11px] cursor-pointer", children: [
|
|
18425
18531
|
/* @__PURE__ */ jsx(
|
|
18426
|
-
|
|
18532
|
+
WebCheckbox,
|
|
18427
18533
|
{
|
|
18428
18534
|
type: "checkbox",
|
|
18429
18535
|
disabled: !canEdit,
|
|
@@ -18480,7 +18586,7 @@ function ChartTypeSelector({
|
|
|
18480
18586
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center gap-2 text-[11px]", children: [
|
|
18481
18587
|
/* @__PURE__ */ jsx("span", { className: "w-10 text-muted-foreground shrink-0", children: t("pptx.chart.type") }),
|
|
18482
18588
|
/* @__PURE__ */ jsx(
|
|
18483
|
-
|
|
18589
|
+
WebSelect,
|
|
18484
18590
|
{
|
|
18485
18591
|
"aria-label": t("pptx.chart.type"),
|
|
18486
18592
|
disabled: !canEdit,
|
|
@@ -18496,7 +18602,7 @@ function ChartTypeSelector({
|
|
|
18496
18602
|
supportsGrouping && /* @__PURE__ */ jsxs("label", { className: "flex items-center gap-2 text-[11px]", children: [
|
|
18497
18603
|
/* @__PURE__ */ jsx("span", { className: "w-10 text-muted-foreground shrink-0", children: t("pptx.chart.grouping") }),
|
|
18498
18604
|
/* @__PURE__ */ jsx(
|
|
18499
|
-
|
|
18605
|
+
WebSelect,
|
|
18500
18606
|
{
|
|
18501
18607
|
"aria-label": t("pptx.chart.grouping"),
|
|
18502
18608
|
disabled: !canEdit,
|
|
@@ -18557,7 +18663,7 @@ function FlipFields({
|
|
|
18557
18663
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
18558
18664
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center gap-1 cursor-pointer", children: [
|
|
18559
18665
|
/* @__PURE__ */ jsx(
|
|
18560
|
-
|
|
18666
|
+
WebCheckbox,
|
|
18561
18667
|
{
|
|
18562
18668
|
type: "checkbox",
|
|
18563
18669
|
"aria-label": t("pptx.arrange.flipHorizontally"),
|
|
@@ -18571,7 +18677,7 @@ function FlipFields({
|
|
|
18571
18677
|
] }),
|
|
18572
18678
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center gap-1 cursor-pointer", children: [
|
|
18573
18679
|
/* @__PURE__ */ jsx(
|
|
18574
|
-
|
|
18680
|
+
WebCheckbox,
|
|
18575
18681
|
{
|
|
18576
18682
|
type: "checkbox",
|
|
18577
18683
|
"aria-label": t("pptx.arrange.flipVertically"),
|
|
@@ -19621,7 +19727,7 @@ function ConnectorArrowsSection({
|
|
|
19621
19727
|
return /* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1", children: [
|
|
19622
19728
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: t(END_LABEL_KEYS[end].arrow) }),
|
|
19623
19729
|
/* @__PURE__ */ jsx(
|
|
19624
|
-
|
|
19730
|
+
WebSelect,
|
|
19625
19731
|
{
|
|
19626
19732
|
"aria-label": t(END_LABEL_KEYS[end].arrow),
|
|
19627
19733
|
value: selectedShapeStyle?.[key] || "none",
|
|
@@ -19645,7 +19751,7 @@ function ConnectorArrowsSection({
|
|
|
19645
19751
|
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1", children: [
|
|
19646
19752
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: t(END_LABEL_KEYS[end].width) }),
|
|
19647
19753
|
/* @__PURE__ */ jsx(
|
|
19648
|
-
|
|
19754
|
+
WebSelect,
|
|
19649
19755
|
{
|
|
19650
19756
|
"aria-label": t(END_LABEL_KEYS[end].width),
|
|
19651
19757
|
value: selectedShapeStyle?.[widthKey] || "med",
|
|
@@ -19664,7 +19770,7 @@ function ConnectorArrowsSection({
|
|
|
19664
19770
|
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1", children: [
|
|
19665
19771
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: t(END_LABEL_KEYS[end].length) }),
|
|
19666
19772
|
/* @__PURE__ */ jsx(
|
|
19667
|
-
|
|
19773
|
+
WebSelect,
|
|
19668
19774
|
{
|
|
19669
19775
|
"aria-label": t(END_LABEL_KEYS[end].length),
|
|
19670
19776
|
value: selectedShapeStyle?.[lengthKey] || "med",
|
|
@@ -19910,7 +20016,7 @@ function ColorChangeSection({
|
|
|
19910
20016
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center justify-between gap-2", children: [
|
|
19911
20017
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: t("pptx.image.colorChange") }),
|
|
19912
20018
|
/* @__PURE__ */ jsx(
|
|
19913
|
-
|
|
20019
|
+
WebCheckbox,
|
|
19914
20020
|
{
|
|
19915
20021
|
type: "checkbox",
|
|
19916
20022
|
disabled: !canEdit,
|
|
@@ -19965,7 +20071,7 @@ function ColorChangeSection({
|
|
|
19965
20071
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center justify-between gap-2 col-span-2", children: [
|
|
19966
20072
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: t("pptx.image.colorChangeTransparent") }),
|
|
19967
20073
|
/* @__PURE__ */ jsx(
|
|
19968
|
-
|
|
20074
|
+
WebCheckbox,
|
|
19969
20075
|
{
|
|
19970
20076
|
type: "checkbox",
|
|
19971
20077
|
disabled: !canEdit,
|
|
@@ -19994,7 +20100,7 @@ function ColorWashSection({
|
|
|
19994
20100
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center justify-between gap-2", children: [
|
|
19995
20101
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: t("pptx.image.colorWash") }),
|
|
19996
20102
|
/* @__PURE__ */ jsx(
|
|
19997
|
-
|
|
20103
|
+
WebCheckbox,
|
|
19998
20104
|
{
|
|
19999
20105
|
type: "checkbox",
|
|
20000
20106
|
disabled: !canEdit,
|
|
@@ -20428,7 +20534,7 @@ function ImagePropertiesPanel({
|
|
|
20428
20534
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center justify-between gap-2", children: [
|
|
20429
20535
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: t("pptx.image.grayscale") }),
|
|
20430
20536
|
/* @__PURE__ */ jsx(
|
|
20431
|
-
|
|
20537
|
+
WebCheckbox,
|
|
20432
20538
|
{
|
|
20433
20539
|
type: "checkbox",
|
|
20434
20540
|
disabled: !canEdit,
|
|
@@ -20882,7 +20988,7 @@ function MediaPlaybackBookmarks({
|
|
|
20882
20988
|
/* @__PURE__ */ jsxs("label", { className: LABEL_CLS2, children: [
|
|
20883
20989
|
/* @__PURE__ */ jsx("span", { className: `text-[11px] ${LABEL_TEXT2}`, children: t("pptx.media.speed") }),
|
|
20884
20990
|
/* @__PURE__ */ jsxs(
|
|
20885
|
-
|
|
20991
|
+
WebSelect,
|
|
20886
20992
|
{
|
|
20887
20993
|
"aria-label": t("pptx.media.speed"),
|
|
20888
20994
|
disabled: !canEdit,
|
|
@@ -20944,7 +21050,7 @@ function MediaPlaybackBookmarks({
|
|
|
20944
21050
|
/* @__PURE__ */ jsxs("label", { className: LABEL_CLS2, children: [
|
|
20945
21051
|
/* @__PURE__ */ jsx("span", { className: `text-[11px] ${LABEL_TEXT2}`, children: t("pptx.media.loop") }),
|
|
20946
21052
|
/* @__PURE__ */ jsx(
|
|
20947
|
-
|
|
21053
|
+
WebCheckbox,
|
|
20948
21054
|
{
|
|
20949
21055
|
type: "checkbox",
|
|
20950
21056
|
disabled: !canEdit,
|
|
@@ -20958,7 +21064,7 @@ function MediaPlaybackBookmarks({
|
|
|
20958
21064
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center justify-between gap-2", children: [
|
|
20959
21065
|
/* @__PURE__ */ jsx("span", { className: `text-[11px] ${LABEL_TEXT2}`, children: t("pptx.media.startTrigger") }),
|
|
20960
21066
|
/* @__PURE__ */ jsxs(
|
|
20961
|
-
|
|
21067
|
+
WebSelect,
|
|
20962
21068
|
{
|
|
20963
21069
|
"aria-label": t("pptx.media.startTrigger"),
|
|
20964
21070
|
disabled: !canEdit,
|
|
@@ -20977,7 +21083,7 @@ function MediaPlaybackBookmarks({
|
|
|
20977
21083
|
element.mediaType === "audio" && /* @__PURE__ */ jsxs("label", { className: LABEL_CLS2, children: [
|
|
20978
21084
|
/* @__PURE__ */ jsx("span", { className: `text-[11px] ${LABEL_TEXT2}`, children: t("pptx.media.playAcrossSlides") }),
|
|
20979
21085
|
/* @__PURE__ */ jsx(
|
|
20980
|
-
|
|
21086
|
+
WebCheckbox,
|
|
20981
21087
|
{
|
|
20982
21088
|
type: "checkbox",
|
|
20983
21089
|
disabled: !canEdit,
|
|
@@ -20992,7 +21098,7 @@ function MediaPlaybackBookmarks({
|
|
|
20992
21098
|
/* @__PURE__ */ jsxs("label", { className: LABEL_CLS2, children: [
|
|
20993
21099
|
/* @__PURE__ */ jsx("span", { className: `text-[11px] ${LABEL_TEXT2}`, children: t("pptx.media.fullScreen") }),
|
|
20994
21100
|
/* @__PURE__ */ jsx(
|
|
20995
|
-
|
|
21101
|
+
WebCheckbox,
|
|
20996
21102
|
{
|
|
20997
21103
|
type: "checkbox",
|
|
20998
21104
|
disabled: !canEdit,
|
|
@@ -21006,7 +21112,7 @@ function MediaPlaybackBookmarks({
|
|
|
21006
21112
|
/* @__PURE__ */ jsxs("label", { className: LABEL_CLS2, children: [
|
|
21007
21113
|
/* @__PURE__ */ jsx("span", { className: `text-[11px] ${LABEL_TEXT2}`, children: t("pptx.media.hideWhenNotPlaying") }),
|
|
21008
21114
|
/* @__PURE__ */ jsx(
|
|
21009
|
-
|
|
21115
|
+
WebCheckbox,
|
|
21010
21116
|
{
|
|
21011
21117
|
type: "checkbox",
|
|
21012
21118
|
disabled: !canEdit,
|
|
@@ -21934,7 +22040,7 @@ function EffectField({
|
|
|
21934
22040
|
return /* @__PURE__ */ jsxs("label", { className: cls, children: [
|
|
21935
22041
|
/* @__PURE__ */ jsx("span", { className: LBL2, children: fieldLabel }),
|
|
21936
22042
|
/* @__PURE__ */ jsx(
|
|
21937
|
-
|
|
22043
|
+
WebSelect,
|
|
21938
22044
|
{
|
|
21939
22045
|
"aria-label": fieldLabel,
|
|
21940
22046
|
value: String(val),
|
|
@@ -21969,7 +22075,7 @@ function EffectField({
|
|
|
21969
22075
|
if (field.type === "checkbox") {
|
|
21970
22076
|
return /* @__PURE__ */ jsxs("label", { className: `flex items-center gap-2 ${field.span2 ? COL2 : ""}`, children: [
|
|
21971
22077
|
/* @__PURE__ */ jsx(
|
|
21972
|
-
|
|
22078
|
+
WebCheckbox,
|
|
21973
22079
|
{
|
|
21974
22080
|
type: "checkbox",
|
|
21975
22081
|
checked: Boolean(val),
|
|
@@ -22033,7 +22139,7 @@ function SelectRow({
|
|
|
22033
22139
|
return /* @__PURE__ */ jsxs("label", { className: `flex flex-col gap-1 ${span2 ? COL2 : ""}`, children: [
|
|
22034
22140
|
/* @__PURE__ */ jsx("span", { className: LBL2, children: label }),
|
|
22035
22141
|
/* @__PURE__ */ jsx(
|
|
22036
|
-
|
|
22142
|
+
WebSelect,
|
|
22037
22143
|
{
|
|
22038
22144
|
"aria-label": label,
|
|
22039
22145
|
value,
|
|
@@ -22481,7 +22587,7 @@ function StrokeEffectsSection({
|
|
|
22481
22587
|
/* @__PURE__ */ jsxs("label", { className: `flex flex-col gap-1 ${COL2}`, children: [
|
|
22482
22588
|
/* @__PURE__ */ jsx("span", { className: LBL2, children: t("pptx.strokeEffects.strokeDash") }),
|
|
22483
22589
|
/* @__PURE__ */ jsx(
|
|
22484
|
-
|
|
22590
|
+
WebSelect,
|
|
22485
22591
|
{
|
|
22486
22592
|
"aria-label": t("pptx.strokeEffects.strokeDash"),
|
|
22487
22593
|
value: style?.strokeDash || "solid",
|
|
@@ -22521,7 +22627,7 @@ function StrokeEffectsSection({
|
|
|
22521
22627
|
return /* @__PURE__ */ jsxs(React4.Fragment, { children: [
|
|
22522
22628
|
/* @__PURE__ */ jsxs("label", { className: `inline-flex items-center gap-2 text-foreground ${COL2}`, children: [
|
|
22523
22629
|
/* @__PURE__ */ jsx(
|
|
22524
|
-
|
|
22630
|
+
WebCheckbox,
|
|
22525
22631
|
{
|
|
22526
22632
|
type: "checkbox",
|
|
22527
22633
|
checked: on,
|
|
@@ -22688,7 +22794,7 @@ function Text3DProperties({
|
|
|
22688
22794
|
/* @__PURE__ */ jsxs("div", { className: "space-y-1.5", children: [
|
|
22689
22795
|
/* @__PURE__ */ jsxs("label", { className: "inline-flex items-center gap-2 text-foreground", children: [
|
|
22690
22796
|
/* @__PURE__ */ jsx(
|
|
22691
|
-
|
|
22797
|
+
WebCheckbox,
|
|
22692
22798
|
{
|
|
22693
22799
|
type: "checkbox",
|
|
22694
22800
|
checked: hasExtrusion,
|
|
@@ -22770,7 +22876,7 @@ function Text3DProperties({
|
|
|
22770
22876
|
hasExtrusion && /* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1 pl-4", children: [
|
|
22771
22877
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: t("pptx.text3d.material") }),
|
|
22772
22878
|
/* @__PURE__ */ jsx(
|
|
22773
|
-
|
|
22879
|
+
WebSelect,
|
|
22774
22880
|
{
|
|
22775
22881
|
"aria-label": t("pptx.text3d.material"),
|
|
22776
22882
|
value: t3d?.presetMaterial ?? "",
|
|
@@ -22803,7 +22909,7 @@ function BevelSection({
|
|
|
22803
22909
|
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1", children: [
|
|
22804
22910
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: t("pptx.text3d.bevelType") }),
|
|
22805
22911
|
/* @__PURE__ */ jsx(
|
|
22806
|
-
|
|
22912
|
+
WebSelect,
|
|
22807
22913
|
{
|
|
22808
22914
|
"aria-label": t("pptx.text3d.bevelType"),
|
|
22809
22915
|
value: bevelType ?? "none",
|
|
@@ -22901,7 +23007,7 @@ function AdvancedTextFormatting({
|
|
|
22901
23007
|
/* @__PURE__ */ jsx("div", { className: "text-[11px] uppercase tracking-wide text-muted-foreground", children: t("pptx.textProperties.advancedTextHeading") }),
|
|
22902
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: [
|
|
22903
23009
|
/* @__PURE__ */ jsx(
|
|
22904
|
-
|
|
23010
|
+
WebCheckbox,
|
|
22905
23011
|
{
|
|
22906
23012
|
type: "checkbox",
|
|
22907
23013
|
checked: ts?.baseline === baseline,
|
|
@@ -22932,7 +23038,7 @@ function AdvancedTextFormatting({
|
|
|
22932
23038
|
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1", children: [
|
|
22933
23039
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: t("pptx.textProperties.underlineStyle") }),
|
|
22934
23040
|
/* @__PURE__ */ jsx(
|
|
22935
|
-
|
|
23041
|
+
WebSelect,
|
|
22936
23042
|
{
|
|
22937
23043
|
"aria-label": t("pptx.textProperties.underlineStyle"),
|
|
22938
23044
|
value: ts?.underlineStyle || "sng",
|
|
@@ -23052,7 +23158,7 @@ function AdvancedTextFormatting({
|
|
|
23052
23158
|
] }),
|
|
23053
23159
|
/* @__PURE__ */ jsxs("label", { className: "inline-flex items-center gap-2 text-foreground", children: [
|
|
23054
23160
|
/* @__PURE__ */ jsx(
|
|
23055
|
-
|
|
23161
|
+
WebCheckbox,
|
|
23056
23162
|
{
|
|
23057
23163
|
type: "checkbox",
|
|
23058
23164
|
checked: Boolean(ts?.autoFit),
|
|
@@ -23074,7 +23180,7 @@ function TextReflectionSection({
|
|
|
23074
23180
|
return /* @__PURE__ */ jsxs("div", { className: "space-y-1.5", children: [
|
|
23075
23181
|
/* @__PURE__ */ jsxs("label", { className: "inline-flex items-center gap-2 text-foreground", children: [
|
|
23076
23182
|
/* @__PURE__ */ jsx(
|
|
23077
|
-
|
|
23183
|
+
WebCheckbox,
|
|
23078
23184
|
{
|
|
23079
23185
|
type: "checkbox",
|
|
23080
23186
|
checked: hasReflection,
|
|
@@ -23191,7 +23297,7 @@ function TextEffectsPanel({
|
|
|
23191
23297
|
/* @__PURE__ */ jsxs("div", { className: "space-y-1.5", children: [
|
|
23192
23298
|
/* @__PURE__ */ jsxs("label", { className: "inline-flex items-center gap-2 text-foreground", children: [
|
|
23193
23299
|
/* @__PURE__ */ jsx(
|
|
23194
|
-
|
|
23300
|
+
WebCheckbox,
|
|
23195
23301
|
{
|
|
23196
23302
|
type: "checkbox",
|
|
23197
23303
|
checked: hasShadow,
|
|
@@ -23303,7 +23409,7 @@ function TextEffectsPanel({
|
|
|
23303
23409
|
/* @__PURE__ */ jsxs("div", { className: "space-y-1.5", children: [
|
|
23304
23410
|
/* @__PURE__ */ jsxs("label", { className: "inline-flex items-center gap-2 text-foreground", children: [
|
|
23305
23411
|
/* @__PURE__ */ jsx(
|
|
23306
|
-
|
|
23412
|
+
WebCheckbox,
|
|
23307
23413
|
{
|
|
23308
23414
|
type: "checkbox",
|
|
23309
23415
|
checked: hasGlow,
|
|
@@ -23464,7 +23570,7 @@ function ShapeTextPanels({
|
|
|
23464
23570
|
hasShapeProperties(selectedElement) && /* @__PURE__ */ jsxs("div", { className: CARD2, children: [
|
|
23465
23571
|
/* @__PURE__ */ jsx("div", { className: HEADING2, children: t("pptx.shape.type", "Shape Type") }),
|
|
23466
23572
|
/* @__PURE__ */ jsx(
|
|
23467
|
-
|
|
23573
|
+
WebSelect,
|
|
23468
23574
|
{
|
|
23469
23575
|
value: selectedElement.shapeType || "rect",
|
|
23470
23576
|
disabled: !canEdit,
|
|
@@ -24042,7 +24148,7 @@ function SmartArtStyleControls({
|
|
|
24042
24148
|
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1 text-[11px]", children: [
|
|
24043
24149
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: t("pptx.smartart.colorScheme") }),
|
|
24044
24150
|
/* @__PURE__ */ jsx(
|
|
24045
|
-
|
|
24151
|
+
WebSelect,
|
|
24046
24152
|
{
|
|
24047
24153
|
disabled: !canEdit,
|
|
24048
24154
|
"data-testid": "smartart-color-scheme",
|
|
@@ -24468,7 +24574,7 @@ function TableCellPatternFill({
|
|
|
24468
24574
|
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-0.5", children: [
|
|
24469
24575
|
/* @__PURE__ */ jsx("span", { className: LBL, children: t("pptx.table.patternPreset") }),
|
|
24470
24576
|
/* @__PURE__ */ jsx(
|
|
24471
|
-
|
|
24577
|
+
WebSelect,
|
|
24472
24578
|
{
|
|
24473
24579
|
"aria-label": t("pptx.table.patternPreset"),
|
|
24474
24580
|
disabled: !canEdit,
|
|
@@ -24549,7 +24655,7 @@ function TableCellAdvancedFill({
|
|
|
24549
24655
|
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1", children: [
|
|
24550
24656
|
/* @__PURE__ */ jsx("span", { className: LBL, children: t("pptx.table.fillMode") }),
|
|
24551
24657
|
/* @__PURE__ */ jsx(
|
|
24552
|
-
|
|
24658
|
+
WebSelect,
|
|
24553
24659
|
{
|
|
24554
24660
|
"aria-label": t("pptx.table.fillMode"),
|
|
24555
24661
|
disabled: !canEdit,
|
|
@@ -24626,7 +24732,7 @@ function GradientControls({
|
|
|
24626
24732
|
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-0.5", children: [
|
|
24627
24733
|
/* @__PURE__ */ jsx("span", { className: LBL, children: t("pptx.table.gradientType") }),
|
|
24628
24734
|
/* @__PURE__ */ jsx(
|
|
24629
|
-
|
|
24735
|
+
WebSelect,
|
|
24630
24736
|
{
|
|
24631
24737
|
"aria-label": t("pptx.table.gradientType"),
|
|
24632
24738
|
disabled: !canEdit,
|
|
@@ -24977,7 +25083,7 @@ function TableStyleEditorFields({
|
|
|
24977
25083
|
),
|
|
24978
25084
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center gap-1", children: [
|
|
24979
25085
|
/* @__PURE__ */ jsx(
|
|
24980
|
-
|
|
25086
|
+
WebCheckbox,
|
|
24981
25087
|
{
|
|
24982
25088
|
type: "checkbox",
|
|
24983
25089
|
disabled: !canEdit,
|
|
@@ -25094,7 +25200,7 @@ function BorderSideRow({
|
|
|
25094
25200
|
}
|
|
25095
25201
|
),
|
|
25096
25202
|
/* @__PURE__ */ jsx(
|
|
25097
|
-
|
|
25203
|
+
WebSelect,
|
|
25098
25204
|
{
|
|
25099
25205
|
disabled: !canEdit,
|
|
25100
25206
|
value: state.dash,
|
|
@@ -25105,7 +25211,7 @@ function BorderSideRow({
|
|
|
25105
25211
|
),
|
|
25106
25212
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center gap-1 shrink-0", children: [
|
|
25107
25213
|
/* @__PURE__ */ jsx(
|
|
25108
|
-
|
|
25214
|
+
WebCheckbox,
|
|
25109
25215
|
{
|
|
25110
25216
|
type: "checkbox",
|
|
25111
25217
|
disabled: !canEdit,
|
|
@@ -25234,7 +25340,7 @@ function TablePropertiesPanel({
|
|
|
25234
25340
|
["lastRow", "pptx.table.lastRow"]
|
|
25235
25341
|
].map(([key, i18nKey]) => /* @__PURE__ */ jsxs("label", { className: "flex items-center gap-2 cursor-pointer", children: [
|
|
25236
25342
|
/* @__PURE__ */ jsx(
|
|
25237
|
-
|
|
25343
|
+
WebCheckbox,
|
|
25238
25344
|
{
|
|
25239
25345
|
type: "checkbox",
|
|
25240
25346
|
disabled: !canEdit,
|
|
@@ -26452,7 +26558,7 @@ function SlideSizeCard({
|
|
|
26452
26558
|
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1", children: [
|
|
26453
26559
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: t("pptx.slideSize.presets") }),
|
|
26454
26560
|
/* @__PURE__ */ jsxs(
|
|
26455
|
-
|
|
26561
|
+
WebSelect,
|
|
26456
26562
|
{
|
|
26457
26563
|
"aria-label": t("pptx.slideSize.presets"),
|
|
26458
26564
|
"data-pptx-slide-size-preset": true,
|
|
@@ -26470,7 +26576,7 @@ function SlideSizeCard({
|
|
|
26470
26576
|
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1", children: [
|
|
26471
26577
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: t("pptx.slideSize.orientation") }),
|
|
26472
26578
|
/* @__PURE__ */ jsxs(
|
|
26473
|
-
|
|
26579
|
+
WebSelect,
|
|
26474
26580
|
{
|
|
26475
26581
|
"aria-label": t("pptx.slideSize.orientation"),
|
|
26476
26582
|
"data-pptx-slide-size-orientation": true,
|
|
@@ -26514,12 +26620,12 @@ function CheckboxRow({
|
|
|
26514
26620
|
return /* @__PURE__ */ jsxs("label", { className: "flex items-center justify-between gap-2", children: [
|
|
26515
26621
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: label }),
|
|
26516
26622
|
/* @__PURE__ */ jsx(
|
|
26517
|
-
|
|
26623
|
+
WebCheckbox,
|
|
26518
26624
|
{
|
|
26519
|
-
|
|
26625
|
+
"aria-label": label,
|
|
26520
26626
|
disabled,
|
|
26521
26627
|
checked,
|
|
26522
|
-
onChange: (e) => onChange(e.
|
|
26628
|
+
onChange: (e) => onChange(e.currentTarget.checked)
|
|
26523
26629
|
}
|
|
26524
26630
|
)
|
|
26525
26631
|
] });
|
|
@@ -26536,14 +26642,14 @@ function PresentationSettingsCard({
|
|
|
26536
26642
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center justify-between gap-2", children: [
|
|
26537
26643
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: t("pptx.presentationSettings.showType") }),
|
|
26538
26644
|
/* @__PURE__ */ jsxs(
|
|
26539
|
-
|
|
26645
|
+
WebSelect,
|
|
26540
26646
|
{
|
|
26541
26647
|
"aria-label": t("pptx.presentationSettings.showType"),
|
|
26542
26648
|
disabled: !canEdit,
|
|
26543
|
-
className:
|
|
26649
|
+
className: "w-28 max-md:min-h-[44px]!",
|
|
26544
26650
|
value: presentationProperties.showType ?? "presented",
|
|
26545
26651
|
onChange: (e) => onUpdate({
|
|
26546
|
-
showType: e.
|
|
26652
|
+
showType: e.currentTarget.value
|
|
26547
26653
|
}),
|
|
26548
26654
|
children: [
|
|
26549
26655
|
/* @__PURE__ */ jsx("option", { value: "presented", children: t("pptx.presentationSettings.showTypePresented") }),
|
|
@@ -26628,7 +26734,7 @@ function ThemeSelectorCard({
|
|
|
26628
26734
|
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1", children: [
|
|
26629
26735
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: t("pptx.documentProperties.themeHeading") }),
|
|
26630
26736
|
/* @__PURE__ */ jsx(
|
|
26631
|
-
|
|
26737
|
+
WebSelect,
|
|
26632
26738
|
{
|
|
26633
26739
|
"aria-label": t("pptx.documentProperties.themeHeading"),
|
|
26634
26740
|
disabled: themeOptions.length === 0,
|
|
@@ -26747,7 +26853,7 @@ function SlideThemeOverridePanel({
|
|
|
26747
26853
|
return /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
26748
26854
|
/* @__PURE__ */ jsxs("label", { className: "inline-flex items-center gap-2 text-xs", children: [
|
|
26749
26855
|
/* @__PURE__ */ jsx(
|
|
26750
|
-
|
|
26856
|
+
WebCheckbox,
|
|
26751
26857
|
{
|
|
26752
26858
|
type: "checkbox",
|
|
26753
26859
|
disabled: !canEdit,
|
|
@@ -26772,7 +26878,7 @@ function SlideThemeOverridePanel({
|
|
|
26772
26878
|
}
|
|
26773
26879
|
),
|
|
26774
26880
|
/* @__PURE__ */ jsx(
|
|
26775
|
-
|
|
26881
|
+
WebSelect,
|
|
26776
26882
|
{
|
|
26777
26883
|
disabled: !canEdit,
|
|
26778
26884
|
className: "flex-1 bg-muted border border-border rounded px-1 py-0.5 text-[11px]",
|
|
@@ -26938,7 +27044,7 @@ function SlideTransitionSection({
|
|
|
26938
27044
|
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1", children: [
|
|
26939
27045
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-xs", children: t("pptx.transition.type") }),
|
|
26940
27046
|
/* @__PURE__ */ jsx(
|
|
26941
|
-
|
|
27047
|
+
WebSelect,
|
|
26942
27048
|
{
|
|
26943
27049
|
value: activeSlide.transition?.type || "none",
|
|
26944
27050
|
disabled: !canEdit,
|
|
@@ -27023,7 +27129,7 @@ function SlideTransitionSection({
|
|
|
27023
27129
|
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1", children: [
|
|
27024
27130
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-xs", children: t("pptx.transition.speed") }),
|
|
27025
27131
|
/* @__PURE__ */ jsx(
|
|
27026
|
-
|
|
27132
|
+
WebSelect,
|
|
27027
27133
|
{
|
|
27028
27134
|
value: activeSlide.transition?.speed ?? "fast",
|
|
27029
27135
|
disabled: !canEdit,
|
|
@@ -27039,7 +27145,7 @@ function SlideTransitionSection({
|
|
|
27039
27145
|
isMorph && /* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1", children: [
|
|
27040
27146
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-xs", children: t("pptx.transition.morphOption") }),
|
|
27041
27147
|
/* @__PURE__ */ jsx(
|
|
27042
|
-
|
|
27148
|
+
WebSelect,
|
|
27043
27149
|
{
|
|
27044
27150
|
value: activeSlide.transition?.morphOption ?? "byObject",
|
|
27045
27151
|
disabled: !canEdit,
|
|
@@ -27054,7 +27160,7 @@ function SlideTransitionSection({
|
|
|
27054
27160
|
] }),
|
|
27055
27161
|
/* @__PURE__ */ jsxs("label", { className: "inline-flex items-center gap-2 text-foreground text-xs", children: [
|
|
27056
27162
|
/* @__PURE__ */ jsx(
|
|
27057
|
-
|
|
27163
|
+
WebCheckbox,
|
|
27058
27164
|
{
|
|
27059
27165
|
type: "checkbox",
|
|
27060
27166
|
disabled: !canEdit,
|
|
@@ -27380,7 +27486,7 @@ function SlideBackgroundPanel({
|
|
|
27380
27486
|
),
|
|
27381
27487
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center gap-2 text-[11px]", children: [
|
|
27382
27488
|
/* @__PURE__ */ jsx(
|
|
27383
|
-
|
|
27489
|
+
WebCheckbox,
|
|
27384
27490
|
{
|
|
27385
27491
|
type: "checkbox",
|
|
27386
27492
|
checked: activeSlide.showMasterShapes === false,
|
|
@@ -30803,31 +30909,18 @@ function TitleBar(p) {
|
|
|
30803
30909
|
] })
|
|
30804
30910
|
] }),
|
|
30805
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: [
|
|
30806
|
-
/* @__PURE__ */
|
|
30807
|
-
|
|
30912
|
+
/* @__PURE__ */ jsx(
|
|
30913
|
+
WebSearch,
|
|
30808
30914
|
{
|
|
30809
30915
|
"data-pptx-search-surface": true,
|
|
30810
|
-
|
|
30811
|
-
|
|
30812
|
-
|
|
30813
|
-
),
|
|
30814
|
-
|
|
30815
|
-
|
|
30816
|
-
|
|
30817
|
-
|
|
30818
|
-
{
|
|
30819
|
-
"data-pptx-search-input": true,
|
|
30820
|
-
type: "text",
|
|
30821
|
-
value: searchQuery,
|
|
30822
|
-
onChange: (e) => setSearchQuery(e.target.value),
|
|
30823
|
-
onFocus: () => setSearchFocused(true),
|
|
30824
|
-
onKeyDown: handleSearchKeyDown,
|
|
30825
|
-
placeholder: t("pptx.titleBar.searchPlaceholder"),
|
|
30826
|
-
className: "flex-1 bg-transparent text-[11px] outline-none placeholder:text-muted-foreground/60",
|
|
30827
|
-
"aria-label": t("pptx.titleBar.search")
|
|
30828
|
-
}
|
|
30829
|
-
)
|
|
30830
|
-
]
|
|
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")
|
|
30831
30924
|
}
|
|
30832
30925
|
),
|
|
30833
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: [
|
|
@@ -32837,7 +32930,7 @@ function useTableStyleMapHandlers(input) {
|
|
|
32837
32930
|
var AiChatPanel = lazy(async () => {
|
|
32838
32931
|
const [{ useChat }, { default: Panel }] = await Promise.all([
|
|
32839
32932
|
import('@ai-sdk/react'),
|
|
32840
|
-
import('./AiChatPanel-
|
|
32933
|
+
import('./AiChatPanel-SEIRQ3XP.mjs')
|
|
32841
32934
|
]);
|
|
32842
32935
|
function BoundAiChatPanel(props) {
|
|
32843
32936
|
return /* @__PURE__ */ jsx(Panel, { ...props, useChat });
|
|
@@ -33048,7 +33141,7 @@ function ThemeColorSchemeEditor({
|
|
|
33048
33141
|
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-0.5", children: [
|
|
33049
33142
|
/* @__PURE__ */ jsx("span", { className: "text-[10px] text-muted-foreground", children: t("pptx.themeEditor.headingFont") }),
|
|
33050
33143
|
/* @__PURE__ */ jsxs(
|
|
33051
|
-
|
|
33144
|
+
WebSelect,
|
|
33052
33145
|
{
|
|
33053
33146
|
"aria-label": t("pptx.themeEditor.headingFont"),
|
|
33054
33147
|
className: THEME_EDITOR_INPUT,
|
|
@@ -33069,7 +33162,7 @@ function ThemeColorSchemeEditor({
|
|
|
33069
33162
|
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-0.5", children: [
|
|
33070
33163
|
/* @__PURE__ */ jsx("span", { className: "text-[10px] text-muted-foreground", children: t("pptx.themeEditor.bodyFont") }),
|
|
33071
33164
|
/* @__PURE__ */ jsxs(
|
|
33072
|
-
|
|
33165
|
+
WebSelect,
|
|
33073
33166
|
{
|
|
33074
33167
|
"aria-label": t("pptx.themeEditor.bodyFont"),
|
|
33075
33168
|
className: THEME_EDITOR_INPUT,
|
|
@@ -34902,12 +34995,15 @@ function ControlRow({
|
|
|
34902
34995
|
info
|
|
34903
34996
|
] }),
|
|
34904
34997
|
/* @__PURE__ */ jsx(
|
|
34905
|
-
|
|
34998
|
+
WebCheckbox,
|
|
34906
34999
|
{
|
|
34907
|
-
type: "checkbox",
|
|
34908
|
-
className: "h-4 w-4 shrink-0 accent-[var(--pptx-primary,#6366f1)]",
|
|
34909
35000
|
checked: value === true,
|
|
34910
|
-
|
|
35001
|
+
"aria-label": label,
|
|
35002
|
+
onChange: (event) => onOptionChange(
|
|
35003
|
+
control.group,
|
|
35004
|
+
control.key,
|
|
35005
|
+
event.currentTarget.checked
|
|
35006
|
+
)
|
|
34911
35007
|
}
|
|
34912
35008
|
)
|
|
34913
35009
|
] });
|
|
@@ -34919,13 +35015,16 @@ function ControlRow({
|
|
|
34919
35015
|
info
|
|
34920
35016
|
] }),
|
|
34921
35017
|
/* @__PURE__ */ jsx(
|
|
34922
|
-
|
|
35018
|
+
WebSelect,
|
|
34923
35019
|
{
|
|
34924
35020
|
"aria-label": label,
|
|
34925
35021
|
style: { minHeight: fieldMinHeight },
|
|
34926
|
-
className: "max-w-[55%] rounded border border-border bg-background px-2 py-1 text-xs text-foreground",
|
|
34927
35022
|
value: typeof value === "string" ? value : "",
|
|
34928
|
-
onChange: (event) => onOptionChange(
|
|
35023
|
+
onChange: (event) => onOptionChange(
|
|
35024
|
+
control.group,
|
|
35025
|
+
control.key,
|
|
35026
|
+
event.currentTarget.value
|
|
35027
|
+
),
|
|
34929
35028
|
children: control.choices.map((choice) => /* @__PURE__ */ jsx("option", { value: choice.value, children: t(choice.labelKey) }, choice.value))
|
|
34930
35029
|
}
|
|
34931
35030
|
)
|
|
@@ -37192,7 +37291,7 @@ var PowerPointViewer = forwardRef(
|
|
|
37192
37291
|
// Nothing previously provided it, so every one of those consumers was
|
|
37193
37292
|
// silently reading `DEFAULT_VIEWER_OPTIONS` forever, no matter what
|
|
37194
37293
|
// the user changed in the Options dialog.
|
|
37195
|
-
/* @__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(
|
|
37196
37295
|
CollaborationProvider,
|
|
37197
37296
|
{
|
|
37198
37297
|
config: collaboration,
|
|
@@ -37245,7 +37344,7 @@ var PowerPointViewer = forwardRef(
|
|
|
37245
37344
|
viewerContent
|
|
37246
37345
|
]
|
|
37247
37346
|
}
|
|
37248
|
-
) }) }) }) })
|
|
37347
|
+
) }) }) }) })
|
|
37249
37348
|
);
|
|
37250
37349
|
}
|
|
37251
37350
|
);
|