pptx-react-viewer 4.1.6 → 4.3.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 +38 -0
- package/dist/{AiChatPanel-DRCY3T2Z.js → AiChatPanel-7UQA25FA.js} +28 -28
- package/dist/AiChatPanel-7UQA25FA.js.br +0 -0
- package/dist/AiChatPanel-7UQA25FA.js.gz +0 -0
- package/dist/{AiChatPanel-Y2RKSHOO.mjs → AiChatPanel-UCEK3ZTD.mjs} +4 -4
- package/dist/AiChatPanel-UCEK3ZTD.mjs.br +0 -0
- package/dist/AiChatPanel-UCEK3ZTD.mjs.gz +0 -0
- package/dist/{Model3DScene-ITHRMCLT.mjs → Model3DScene-AI2JTBQM.mjs} +1 -1
- package/dist/Model3DScene-AI2JTBQM.mjs.br +0 -0
- package/dist/Model3DScene-AI2JTBQM.mjs.gz +0 -0
- package/dist/{Model3DScene-VJZS726S.js → Model3DScene-X3DS3ELB.js} +2 -2
- package/dist/Model3DScene-X3DS3ELB.js.br +0 -0
- package/dist/Model3DScene-X3DS3ELB.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-FT3MMIXW.mjs → chunk-3UWJWJCR.mjs} +69243 -56884
- package/dist/chunk-3UWJWJCR.mjs.br +0 -0
- package/dist/chunk-3UWJWJCR.mjs.gz +0 -0
- package/dist/{chunk-LNSYROED.js → chunk-42XEZVUQ.js} +1322 -1216
- package/dist/chunk-42XEZVUQ.js.br +0 -0
- package/dist/chunk-42XEZVUQ.js.gz +0 -0
- package/dist/{chunk-P5LF34BT.js → chunk-E7O4HTS5.js} +195 -187
- package/dist/chunk-E7O4HTS5.js.br +0 -0
- package/dist/chunk-E7O4HTS5.js.gz +0 -0
- package/dist/{chunk-2O66VMWK.js → chunk-KAO5USPE.js} +5 -5
- package/dist/chunk-KAO5USPE.js.br +0 -0
- package/dist/chunk-KAO5USPE.js.gz +0 -0
- package/dist/{chunk-PC7H3C5W.mjs → chunk-OBQ453H6.mjs} +2 -2
- package/dist/chunk-OBQ453H6.mjs.br +0 -0
- package/dist/chunk-OBQ453H6.mjs.gz +0 -0
- package/dist/{chunk-KDTE5JOW.mjs → chunk-PLDG3CXW.mjs} +18 -10
- package/dist/chunk-PLDG3CXW.mjs.br +0 -0
- package/dist/chunk-PLDG3CXW.mjs.gz +0 -0
- package/dist/{chunk-YHTDDCSC.mjs → chunk-RXYLPESV.mjs} +265 -159
- package/dist/chunk-RXYLPESV.mjs.br +0 -0
- package/dist/chunk-RXYLPESV.mjs.gz +0 -0
- package/dist/{chunk-OFSKGB3W.mjs → chunk-SKTZSG7Q.mjs} +531 -748
- package/dist/chunk-SKTZSG7Q.mjs.br +0 -0
- package/dist/chunk-SKTZSG7Q.mjs.gz +0 -0
- package/dist/{chunk-QMSSDBKN.js → chunk-UTI4CLYJ.js} +69255 -56897
- package/dist/chunk-UTI4CLYJ.js.br +0 -0
- package/dist/chunk-UTI4CLYJ.js.gz +0 -0
- package/dist/{chunk-NXGUR2DO.js → chunk-W5KLLGVH.js} +2 -2
- package/dist/chunk-W5KLLGVH.js.br +0 -0
- package/dist/chunk-W5KLLGVH.js.gz +0 -0
- package/dist/{chunk-VWGJXNMR.js → chunk-Y7LI2JIR.js} +1992 -2215
- package/dist/chunk-Y7LI2JIR.js.br +0 -0
- package/dist/chunk-Y7LI2JIR.js.gz +0 -0
- package/dist/{chunk-QEYWSHNE.mjs → chunk-YQJOCGOK.mjs} +1 -1
- package/dist/chunk-YQJOCGOK.mjs.br +0 -0
- package/dist/chunk-YQJOCGOK.mjs.gz +0 -0
- package/dist/i18n/de.cjs +2 -2
- package/dist/i18n/de.cjs.br +0 -0
- package/dist/i18n/de.cjs.gz +0 -0
- package/dist/i18n/de.mjs +2 -2
- package/dist/i18n/de.mjs.br +0 -0
- package/dist/i18n/de.mjs.gz +0 -0
- package/dist/i18n/es.cjs +2 -2
- package/dist/i18n/es.cjs.br +0 -0
- package/dist/i18n/es.cjs.gz +0 -0
- package/dist/i18n/es.mjs +2 -2
- package/dist/i18n/es.mjs.br +0 -0
- package/dist/i18n/es.mjs.gz +0 -0
- package/dist/i18n/fr.cjs +2 -2
- package/dist/i18n/fr.cjs.br +0 -0
- package/dist/i18n/fr.cjs.gz +0 -0
- package/dist/i18n/fr.mjs +2 -2
- package/dist/i18n/fr.mjs.br +0 -0
- package/dist/i18n/fr.mjs.gz +0 -0
- package/dist/i18n/zh-CN.cjs +2 -2
- package/dist/i18n/zh-CN.cjs.br +0 -0
- package/dist/i18n/zh-CN.cjs.gz +0 -0
- package/dist/i18n/zh-CN.mjs +2 -2
- package/dist/i18n/zh-CN.mjs.br +0 -0
- package/dist/i18n/zh-CN.mjs.gz +0 -0
- package/dist/i18n.js +4 -4
- package/dist/i18n.js.br +0 -0
- package/dist/i18n.js.gz +0 -0
- package/dist/i18n.mjs +1 -1
- package/dist/i18n.mjs.br +0 -0
- package/dist/i18n.mjs.gz +0 -0
- package/dist/index.d.ts +310 -22
- package/dist/index.js +49 -49
- package/dist/index.js.br +0 -0
- package/dist/index.js.gz +0 -0
- package/dist/index.mjs +6 -6
- package/dist/index.mjs.br +0 -0
- package/dist/index.mjs.gz +0 -0
- package/dist/internals.d.ts +358 -22
- package/dist/internals.js +105 -105
- package/dist/internals.js.br +0 -0
- package/dist/internals.js.gz +0 -0
- package/dist/internals.mjs +4 -4
- package/dist/internals.mjs.br +0 -0
- package/dist/internals.mjs.gz +0 -0
- package/dist/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 +278 -3
- package/dist/viewer/index.js +27 -27
- package/dist/viewer/index.js.br +0 -0
- package/dist/viewer/index.js.gz +0 -0
- package/dist/viewer/index.mjs +6 -6
- package/dist/viewer/index.mjs.br +0 -0
- package/dist/viewer/index.mjs.gz +0 -0
- package/package.json +1 -1
- package/dist/AiChatPanel-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-NXGUR2DO.js.br +0 -0
- package/dist/chunk-NXGUR2DO.js.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-PC7H3C5W.mjs.br +0 -0
- package/dist/chunk-PC7H3C5W.mjs.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';
|
|
5
|
-
import { LOCALE_CATALOG, ALIGNMENT_LABEL_KEYS } from './chunk-
|
|
6
|
-
import React4, { createContext, lazy, forwardRef, useEffect, useState, useCallback, useMemo, useRef, useId, Fragment as Fragment$1, useDeferredValue, Suspense, useContext, useSyncExternalStore
|
|
1
|
+
import { computeFocusTargets, deckDataFieldChanged, aiChangeAnimationCss, changeGhostStyle, createChatHistoryStore, collectStoredChats, exportAiChatLogs, applyElementUpdate } from './chunk-YQJOCGOK.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-SKTZSG7Q.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-PLDG3CXW.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, chartDataLabelsTogglePatch, 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-3UWJWJCR.mjs';
|
|
5
|
+
import { LOCALE_CATALOG, ALIGNMENT_LABEL_KEYS } from './chunk-OBQ453H6.mjs';
|
|
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.
|
|
1686
|
+
const version = "4.2.0" ;
|
|
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
|
{
|
|
@@ -4390,6 +4471,7 @@ function ViewSection(p) {
|
|
|
4390
4471
|
{
|
|
4391
4472
|
label: t("pptx.view.normal"),
|
|
4392
4473
|
icon: /* @__PURE__ */ jsx(LuPanelTop, {}),
|
|
4474
|
+
onClick: p.onGoToNormalView,
|
|
4393
4475
|
title: t("pptx.statusBar.normalView")
|
|
4394
4476
|
}
|
|
4395
4477
|
),
|
|
@@ -4900,6 +4982,7 @@ function MobileSectionBody({
|
|
|
4900
4982
|
eyedropperActive: p.eyedropperActive,
|
|
4901
4983
|
onToggleEyedropper: p.onToggleEyedropper,
|
|
4902
4984
|
onToggleSlideSorter: p.onToggleSlideSorter,
|
|
4985
|
+
onGoToNormalView: p.onGoToNormalView,
|
|
4903
4986
|
onOpenReadingView: p.onOpenReadingView
|
|
4904
4987
|
}
|
|
4905
4988
|
) });
|
|
@@ -6291,6 +6374,7 @@ function Toolbar(p) {
|
|
|
6291
6374
|
eyedropperActive: p.eyedropperActive,
|
|
6292
6375
|
onToggleEyedropper: p.onToggleEyedropper,
|
|
6293
6376
|
onToggleSlideSorter: p.onToggleSlideSorter,
|
|
6377
|
+
onGoToNormalView: p.onGoToNormalView,
|
|
6294
6378
|
onOpenReadingView: p.onOpenReadingView,
|
|
6295
6379
|
onOpenOutlineView: p.onOpenOutlineView,
|
|
6296
6380
|
onZoomToFit: p.onZoomToFit
|
|
@@ -8613,6 +8697,31 @@ function SlideCanvasContent({
|
|
|
8613
8697
|
}
|
|
8614
8698
|
);
|
|
8615
8699
|
}
|
|
8700
|
+
function LoadingState({ className }) {
|
|
8701
|
+
const { t } = useTranslation();
|
|
8702
|
+
return /* @__PURE__ */ jsx(
|
|
8703
|
+
"div",
|
|
8704
|
+
{
|
|
8705
|
+
role: "status",
|
|
8706
|
+
"aria-live": "polite",
|
|
8707
|
+
"aria-atomic": "true",
|
|
8708
|
+
className: cn(
|
|
8709
|
+
"h-full w-full flex items-center justify-center text-muted-foreground",
|
|
8710
|
+
className
|
|
8711
|
+
),
|
|
8712
|
+
children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
8713
|
+
/* @__PURE__ */ jsx(
|
|
8714
|
+
"div",
|
|
8715
|
+
{
|
|
8716
|
+
className: "animate-spin rounded-full h-6 w-6 border-b-2 border-primary",
|
|
8717
|
+
"aria-hidden": "true"
|
|
8718
|
+
}
|
|
8719
|
+
),
|
|
8720
|
+
/* @__PURE__ */ jsx("span", { children: t("pptx.viewer.loading") })
|
|
8721
|
+
] })
|
|
8722
|
+
}
|
|
8723
|
+
);
|
|
8724
|
+
}
|
|
8616
8725
|
function ErrorState({ className, error }) {
|
|
8617
8726
|
return /* @__PURE__ */ jsx(
|
|
8618
8727
|
"div",
|
|
@@ -15861,7 +15970,7 @@ function AfterAnimationRow({
|
|
|
15861
15970
|
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1", children: [
|
|
15862
15971
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-[11px]", children: t("pptx.animation.afterAnimation") }),
|
|
15863
15972
|
/* @__PURE__ */ jsx(
|
|
15864
|
-
|
|
15973
|
+
WebSelect,
|
|
15865
15974
|
{
|
|
15866
15975
|
"aria-label": t("pptx.animation.afterAnimation"),
|
|
15867
15976
|
value: action,
|
|
@@ -16115,7 +16224,7 @@ function EffectSoundRow({
|
|
|
16115
16224
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-[11px]", children: t("pptx.animation.sound") }),
|
|
16116
16225
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1", children: [
|
|
16117
16226
|
/* @__PURE__ */ jsxs(
|
|
16118
|
-
|
|
16227
|
+
WebSelect,
|
|
16119
16228
|
{
|
|
16120
16229
|
"aria-label": t("pptx.animation.sound"),
|
|
16121
16230
|
value: selectedValue,
|
|
@@ -16167,7 +16276,7 @@ function MotionPathRow({
|
|
|
16167
16276
|
return /* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1", children: [
|
|
16168
16277
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-[11px]", children: t("pptx.animation.motionPath.label") }),
|
|
16169
16278
|
/* @__PURE__ */ jsxs(
|
|
16170
|
-
|
|
16279
|
+
WebSelect,
|
|
16171
16280
|
{
|
|
16172
16281
|
"aria-label": t("pptx.animation.motionPath.label"),
|
|
16173
16282
|
value: isCustom ? "custom" : presetId ?? "none",
|
|
@@ -16670,7 +16779,7 @@ function AnimationPanel({
|
|
|
16670
16779
|
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1", children: [
|
|
16671
16780
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-[11px]", children: t("pptx.animation.entrance") }),
|
|
16672
16781
|
/* @__PURE__ */ jsxs(
|
|
16673
|
-
|
|
16782
|
+
WebSelect,
|
|
16674
16783
|
{
|
|
16675
16784
|
"aria-label": t("pptx.animation.entrance"),
|
|
16676
16785
|
value: selectedElementAnimation?.entrance ?? "none",
|
|
@@ -16688,7 +16797,7 @@ function AnimationPanel({
|
|
|
16688
16797
|
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1", children: [
|
|
16689
16798
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-[11px]", children: t("pptx.animation.emphasis") }),
|
|
16690
16799
|
/* @__PURE__ */ jsxs(
|
|
16691
|
-
|
|
16800
|
+
WebSelect,
|
|
16692
16801
|
{
|
|
16693
16802
|
"aria-label": t("pptx.animation.emphasis"),
|
|
16694
16803
|
value: selectedElementAnimation?.emphasis ?? "none",
|
|
@@ -16706,7 +16815,7 @@ function AnimationPanel({
|
|
|
16706
16815
|
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1", children: [
|
|
16707
16816
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-[11px]", children: t("pptx.animation.exit") }),
|
|
16708
16817
|
/* @__PURE__ */ jsxs(
|
|
16709
|
-
|
|
16818
|
+
WebSelect,
|
|
16710
16819
|
{
|
|
16711
16820
|
"aria-label": t("pptx.animation.exit"),
|
|
16712
16821
|
value: selectedElementAnimation?.exit ?? "none",
|
|
@@ -16756,7 +16865,7 @@ function AnimationPanel({
|
|
|
16756
16865
|
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1", children: [
|
|
16757
16866
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-[11px]", children: t("pptx.animation.sequence") }),
|
|
16758
16867
|
/* @__PURE__ */ jsx(
|
|
16759
|
-
|
|
16868
|
+
WebSelect,
|
|
16760
16869
|
{
|
|
16761
16870
|
"aria-label": t("pptx.animation.sequence"),
|
|
16762
16871
|
value: selectedElementAnimation?.sequence ?? "asOne",
|
|
@@ -16793,7 +16902,7 @@ function AnimationPanel({
|
|
|
16793
16902
|
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1", children: [
|
|
16794
16903
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-[11px]", children: t("pptx.animation.trigger") }),
|
|
16795
16904
|
/* @__PURE__ */ jsx(
|
|
16796
|
-
|
|
16905
|
+
WebSelect,
|
|
16797
16906
|
{
|
|
16798
16907
|
"aria-label": t("pptx.animation.trigger"),
|
|
16799
16908
|
value: selectedElementAnimation?.trigger ?? "onClick",
|
|
@@ -16808,7 +16917,7 @@ function AnimationPanel({
|
|
|
16808
16917
|
selectedElementAnimation?.trigger === "onShapeClick" && /* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1", children: [
|
|
16809
16918
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-[11px]", children: t("pptx.animation.trigger.shapeLabel") }),
|
|
16810
16919
|
/* @__PURE__ */ jsxs(
|
|
16811
|
-
|
|
16920
|
+
WebSelect,
|
|
16812
16921
|
{
|
|
16813
16922
|
"aria-label": t("pptx.animation.trigger.shapeLabel"),
|
|
16814
16923
|
value: selectedElementAnimation?.triggerShapeId ?? "",
|
|
@@ -16860,7 +16969,7 @@ function AnimationPanel({
|
|
|
16860
16969
|
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1", children: [
|
|
16861
16970
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-[11px]", children: t("pptx.animation.timingCurve") }),
|
|
16862
16971
|
/* @__PURE__ */ jsx(
|
|
16863
|
-
|
|
16972
|
+
WebSelect,
|
|
16864
16973
|
{
|
|
16865
16974
|
"aria-label": t("pptx.animation.timingCurve"),
|
|
16866
16975
|
value: selectedElementAnimation?.timingCurve ?? "ease",
|
|
@@ -16892,7 +17001,7 @@ function AnimationPanel({
|
|
|
16892
17001
|
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1", children: [
|
|
16893
17002
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-[11px]", children: t("pptx.animation.repeatUntil") }),
|
|
16894
17003
|
/* @__PURE__ */ jsx(
|
|
16895
|
-
|
|
17004
|
+
WebSelect,
|
|
16896
17005
|
{
|
|
16897
17006
|
"aria-label": t("pptx.animation.repeatUntil"),
|
|
16898
17007
|
value: selectedElementAnimation?.repeatMode ?? "none",
|
|
@@ -16987,7 +17096,7 @@ function ActionTargetFields({
|
|
|
16987
17096
|
if (type === "customShow") {
|
|
16988
17097
|
return /* @__PURE__ */ jsxs("div", { className: "space-y-1", children: [
|
|
16989
17098
|
/* @__PURE__ */ jsxs(
|
|
16990
|
-
|
|
17099
|
+
WebSelect,
|
|
16991
17100
|
{
|
|
16992
17101
|
"data-testid": "pptx-action-custom-show",
|
|
16993
17102
|
disabled: !canEdit,
|
|
@@ -17003,7 +17112,7 @@ function ActionTargetFields({
|
|
|
17003
17112
|
),
|
|
17004
17113
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center gap-1.5 text-muted-foreground", children: [
|
|
17005
17114
|
/* @__PURE__ */ jsx(
|
|
17006
|
-
|
|
17115
|
+
WebCheckbox,
|
|
17007
17116
|
{
|
|
17008
17117
|
type: "checkbox",
|
|
17009
17118
|
"data-testid": "pptx-action-custom-show-return",
|
|
@@ -17111,7 +17220,7 @@ function ActionTriggerSection({
|
|
|
17111
17220
|
return /* @__PURE__ */ jsxs("div", { className: "space-y-1.5", "data-pptx-action-trigger": trigger, children: [
|
|
17112
17221
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground font-medium", children: label }),
|
|
17113
17222
|
/* @__PURE__ */ jsx(
|
|
17114
|
-
|
|
17223
|
+
WebSelect,
|
|
17115
17224
|
{
|
|
17116
17225
|
disabled: !canEdit,
|
|
17117
17226
|
"aria-label": label,
|
|
@@ -17187,7 +17296,7 @@ function ChartAxisOptions({ axes, canEdit, onUpdateAxis }) {
|
|
|
17187
17296
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center gap-2 text-[11px]", children: [
|
|
17188
17297
|
/* @__PURE__ */ jsx("span", { className: "w-16 text-muted-foreground shrink-0", children: t("pptx.chart.displayUnits") }),
|
|
17189
17298
|
/* @__PURE__ */ jsx(
|
|
17190
|
-
|
|
17299
|
+
WebSelect,
|
|
17191
17300
|
{
|
|
17192
17301
|
"aria-label": t("pptx.chart.displayUnits"),
|
|
17193
17302
|
disabled: !canEdit,
|
|
@@ -17235,7 +17344,7 @@ function ChartAxisOptions({ axes, canEdit, onUpdateAxis }) {
|
|
|
17235
17344
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center gap-2 text-[11px]", children: [
|
|
17236
17345
|
/* @__PURE__ */ jsx("span", { className: "w-16 text-muted-foreground shrink-0", children: t("pptx.chart.tickLabels") }),
|
|
17237
17346
|
/* @__PURE__ */ jsx(
|
|
17238
|
-
|
|
17347
|
+
WebSelect,
|
|
17239
17348
|
{
|
|
17240
17349
|
"aria-label": t("pptx.chart.tickLabels"),
|
|
17241
17350
|
disabled: !canEdit,
|
|
@@ -17250,7 +17359,7 @@ function ChartAxisOptions({ axes, canEdit, onUpdateAxis }) {
|
|
|
17250
17359
|
] }),
|
|
17251
17360
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center gap-2 cursor-pointer", children: [
|
|
17252
17361
|
/* @__PURE__ */ jsx(
|
|
17253
|
-
|
|
17362
|
+
WebCheckbox,
|
|
17254
17363
|
{
|
|
17255
17364
|
type: "checkbox",
|
|
17256
17365
|
disabled: !canEdit,
|
|
@@ -17263,7 +17372,7 @@ function ChartAxisOptions({ axes, canEdit, onUpdateAxis }) {
|
|
|
17263
17372
|
] }),
|
|
17264
17373
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center gap-2 cursor-pointer", children: [
|
|
17265
17374
|
/* @__PURE__ */ jsx(
|
|
17266
|
-
|
|
17375
|
+
WebCheckbox,
|
|
17267
17376
|
{
|
|
17268
17377
|
type: "checkbox",
|
|
17269
17378
|
disabled: !canEdit,
|
|
@@ -17309,7 +17418,7 @@ function ChartAxisStyleOptions({
|
|
|
17309
17418
|
hasScale && /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
17310
17419
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center gap-2 cursor-pointer", children: [
|
|
17311
17420
|
/* @__PURE__ */ jsx(
|
|
17312
|
-
|
|
17421
|
+
WebCheckbox,
|
|
17313
17422
|
{
|
|
17314
17423
|
type: "checkbox",
|
|
17315
17424
|
disabled: !canEdit,
|
|
@@ -17373,7 +17482,7 @@ function ChartAxisStyleOptions({
|
|
|
17373
17482
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 text-[11px]", children: [
|
|
17374
17483
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center gap-1 cursor-pointer", children: [
|
|
17375
17484
|
/* @__PURE__ */ jsx(
|
|
17376
|
-
|
|
17485
|
+
WebCheckbox,
|
|
17377
17486
|
{
|
|
17378
17487
|
type: "checkbox",
|
|
17379
17488
|
disabled: !canEdit,
|
|
@@ -17445,7 +17554,7 @@ function ChartAxisStyleOptions({
|
|
|
17445
17554
|
}
|
|
17446
17555
|
),
|
|
17447
17556
|
/* @__PURE__ */ jsx(
|
|
17448
|
-
|
|
17557
|
+
WebSelect,
|
|
17449
17558
|
{
|
|
17450
17559
|
disabled: !canEdit,
|
|
17451
17560
|
title: t("pptx.chart.gridlineDash"),
|
|
@@ -17477,7 +17586,7 @@ function ChartComboTypeOptions({
|
|
|
17477
17586
|
/* @__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
17587
|
/* @__PURE__ */ jsx("span", { className: "flex-1 truncate", title: s.name, children: s.name }),
|
|
17479
17588
|
/* @__PURE__ */ jsx(
|
|
17480
|
-
|
|
17589
|
+
WebSelect,
|
|
17481
17590
|
{
|
|
17482
17591
|
disabled: !canEdit,
|
|
17483
17592
|
className: INPUT,
|
|
@@ -17651,7 +17760,7 @@ function ChartDataLabelOptions({
|
|
|
17651
17760
|
/* @__PURE__ */ jsxs("div", { className: "space-y-1.5", children: [
|
|
17652
17761
|
DATA_LABEL_CONTENT_OPTIONS.map((opt) => /* @__PURE__ */ jsxs("label", { className: "flex items-center gap-2 cursor-pointer", children: [
|
|
17653
17762
|
/* @__PURE__ */ jsx(
|
|
17654
|
-
|
|
17763
|
+
WebCheckbox,
|
|
17655
17764
|
{
|
|
17656
17765
|
type: "checkbox",
|
|
17657
17766
|
disabled: !canEdit,
|
|
@@ -17665,7 +17774,7 @@ function ChartDataLabelOptions({
|
|
|
17665
17774
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center gap-2 text-[11px]", children: [
|
|
17666
17775
|
/* @__PURE__ */ jsx("span", { className: "w-16 text-muted-foreground shrink-0", children: t("pptx.chart.labelPosition") }),
|
|
17667
17776
|
/* @__PURE__ */ jsx(
|
|
17668
|
-
|
|
17777
|
+
WebSelect,
|
|
17669
17778
|
{
|
|
17670
17779
|
"aria-label": t("pptx.chart.labelPosition"),
|
|
17671
17780
|
disabled: !canEdit,
|
|
@@ -17702,7 +17811,7 @@ function ChartDataPointMarkerOptions({
|
|
|
17702
17811
|
series.length > 1 && /* @__PURE__ */ jsxs("label", { className: "flex items-center gap-2 text-[11px]", children: [
|
|
17703
17812
|
/* @__PURE__ */ jsx("span", { className: "w-12 text-muted-foreground shrink-0", children: t("pptx.chart.series") }),
|
|
17704
17813
|
/* @__PURE__ */ jsx(
|
|
17705
|
-
|
|
17814
|
+
WebSelect,
|
|
17706
17815
|
{
|
|
17707
17816
|
"aria-label": t("pptx.chart.series"),
|
|
17708
17817
|
disabled: !canEdit,
|
|
@@ -17721,7 +17830,7 @@ function ChartDataPointMarkerOptions({
|
|
|
17721
17830
|
/* @__PURE__ */ jsx("span", { className: "flex-1 truncate", title: cat, children: cat }),
|
|
17722
17831
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center gap-1 shrink-0", children: [
|
|
17723
17832
|
/* @__PURE__ */ jsx(
|
|
17724
|
-
|
|
17833
|
+
WebCheckbox,
|
|
17725
17834
|
{
|
|
17726
17835
|
type: "checkbox",
|
|
17727
17836
|
disabled: !canEdit,
|
|
@@ -17740,7 +17849,7 @@ function ChartDataPointMarkerOptions({
|
|
|
17740
17849
|
] }),
|
|
17741
17850
|
hasOverride && point2?.marker && /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 ml-2 flex-wrap", children: [
|
|
17742
17851
|
/* @__PURE__ */ jsx(
|
|
17743
|
-
|
|
17852
|
+
WebSelect,
|
|
17744
17853
|
{
|
|
17745
17854
|
disabled: !canEdit,
|
|
17746
17855
|
className: "bg-muted border border-border rounded px-1.5 py-0.5 text-[11px]",
|
|
@@ -17812,7 +17921,7 @@ function ChartDataPointOptions({
|
|
|
17812
17921
|
series.length > 1 && /* @__PURE__ */ jsxs("label", { className: "flex items-center gap-2 text-[11px]", children: [
|
|
17813
17922
|
/* @__PURE__ */ jsx("span", { className: "w-12 text-muted-foreground shrink-0", children: t("pptx.chart.series") }),
|
|
17814
17923
|
/* @__PURE__ */ jsx(
|
|
17815
|
-
|
|
17924
|
+
WebSelect,
|
|
17816
17925
|
{
|
|
17817
17926
|
"aria-label": t("pptx.chart.series"),
|
|
17818
17927
|
disabled: !canEdit,
|
|
@@ -17908,7 +18017,7 @@ function ChartDisplayOptions({
|
|
|
17908
18017
|
/* @__PURE__ */ jsxs("div", { className: "space-y-1.5", children: [
|
|
17909
18018
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center gap-2 cursor-pointer", children: [
|
|
17910
18019
|
/* @__PURE__ */ jsx(
|
|
17911
|
-
|
|
18020
|
+
WebCheckbox,
|
|
17912
18021
|
{
|
|
17913
18022
|
type: "checkbox",
|
|
17914
18023
|
disabled: !canEdit,
|
|
@@ -17921,7 +18030,7 @@ function ChartDisplayOptions({
|
|
|
17921
18030
|
] }),
|
|
17922
18031
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center gap-2 cursor-pointer", children: [
|
|
17923
18032
|
/* @__PURE__ */ jsx(
|
|
17924
|
-
|
|
18033
|
+
WebCheckbox,
|
|
17925
18034
|
{
|
|
17926
18035
|
type: "checkbox",
|
|
17927
18036
|
disabled: !canEdit,
|
|
@@ -17935,7 +18044,7 @@ function ChartDisplayOptions({
|
|
|
17935
18044
|
style?.hasLegend && /* @__PURE__ */ jsxs("label", { className: "flex items-center gap-2 text-[11px] ml-4", children: [
|
|
17936
18045
|
/* @__PURE__ */ jsx("span", { className: "w-12 text-muted-foreground shrink-0", children: t("pptx.chart.legendPosition") }),
|
|
17937
18046
|
/* @__PURE__ */ jsx(
|
|
17938
|
-
|
|
18047
|
+
WebSelect,
|
|
17939
18048
|
{
|
|
17940
18049
|
"aria-label": t("pptx.chart.legendPosition"),
|
|
17941
18050
|
disabled: !canEdit,
|
|
@@ -17950,7 +18059,7 @@ function ChartDisplayOptions({
|
|
|
17950
18059
|
] }),
|
|
17951
18060
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center gap-2 cursor-pointer", children: [
|
|
17952
18061
|
/* @__PURE__ */ jsx(
|
|
17953
|
-
|
|
18062
|
+
WebCheckbox,
|
|
17954
18063
|
{
|
|
17955
18064
|
type: "checkbox",
|
|
17956
18065
|
disabled: !canEdit,
|
|
@@ -17963,14 +18072,12 @@ function ChartDisplayOptions({
|
|
|
17963
18072
|
] }),
|
|
17964
18073
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center gap-2 cursor-pointer", children: [
|
|
17965
18074
|
/* @__PURE__ */ jsx(
|
|
17966
|
-
|
|
18075
|
+
WebCheckbox,
|
|
17967
18076
|
{
|
|
17968
18077
|
type: "checkbox",
|
|
17969
18078
|
disabled: !canEdit,
|
|
17970
18079
|
checked: style?.hasDataLabels ?? false,
|
|
17971
|
-
onChange: (e) => onUpdateStyle(
|
|
17972
|
-
hasDataLabels: e.target.checked
|
|
17973
|
-
}),
|
|
18080
|
+
onChange: (e) => onUpdateStyle(chartDataLabelsTogglePatch(style, e.target.checked)),
|
|
17974
18081
|
className: "accent-primary"
|
|
17975
18082
|
}
|
|
17976
18083
|
),
|
|
@@ -17999,7 +18106,7 @@ function ChartErrorBarOptions({
|
|
|
17999
18106
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 text-[11px]", children: [
|
|
18000
18107
|
/* @__PURE__ */ jsx("span", { className: "flex-1 truncate", title: s.name, children: s.name }),
|
|
18001
18108
|
/* @__PURE__ */ jsx(
|
|
18002
|
-
|
|
18109
|
+
WebSelect,
|
|
18003
18110
|
{
|
|
18004
18111
|
disabled: !canEdit,
|
|
18005
18112
|
className: INPUT,
|
|
@@ -18023,7 +18130,7 @@ function ChartErrorBarOptions({
|
|
|
18023
18130
|
] }),
|
|
18024
18131
|
bars && /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 ml-2", children: [
|
|
18025
18132
|
/* @__PURE__ */ jsx(
|
|
18026
|
-
|
|
18133
|
+
WebSelect,
|
|
18027
18134
|
{
|
|
18028
18135
|
disabled: !canEdit,
|
|
18029
18136
|
className: INPUT,
|
|
@@ -18158,7 +18265,7 @@ function ChartMarkerOptions({
|
|
|
18158
18265
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 text-[11px]", children: [
|
|
18159
18266
|
/* @__PURE__ */ jsx("span", { className: "flex-1 truncate", title: s.name, children: s.name }),
|
|
18160
18267
|
/* @__PURE__ */ jsx(
|
|
18161
|
-
|
|
18268
|
+
WebSelect,
|
|
18162
18269
|
{
|
|
18163
18270
|
disabled: !canEdit,
|
|
18164
18271
|
className: INPUT,
|
|
@@ -18270,7 +18377,7 @@ function ChartSeriesColorOptions({
|
|
|
18270
18377
|
/* @__PURE__ */ jsx("span", { className: "flex-1 truncate", title: s.name, children: s.name }),
|
|
18271
18378
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center gap-1 text-muted-foreground shrink-0", children: [
|
|
18272
18379
|
/* @__PURE__ */ jsx(
|
|
18273
|
-
|
|
18380
|
+
WebCheckbox,
|
|
18274
18381
|
{
|
|
18275
18382
|
type: "checkbox",
|
|
18276
18383
|
disabled: !canEdit,
|
|
@@ -18319,7 +18426,7 @@ function ChartSubtypeOptions({
|
|
|
18319
18426
|
chartData.chartType === "bar3D" && /* @__PURE__ */ jsxs("label", { className: "flex items-center gap-2 text-[11px]", children: [
|
|
18320
18427
|
/* @__PURE__ */ jsx("span", { className: "w-16 text-muted-foreground shrink-0", children: t("pptx.chart.bar3DShapeLabel") }),
|
|
18321
18428
|
/* @__PURE__ */ jsx(
|
|
18322
|
-
|
|
18429
|
+
WebSelect,
|
|
18323
18430
|
{
|
|
18324
18431
|
"data-testid": "pptx-chart-bar3d-shape",
|
|
18325
18432
|
"aria-label": t("pptx.chart.bar3DShapeLabel"),
|
|
@@ -18334,7 +18441,7 @@ function ChartSubtypeOptions({
|
|
|
18334
18441
|
chartData.chartType === "radar" && /* @__PURE__ */ jsxs("label", { className: "flex items-center gap-2 text-[11px]", children: [
|
|
18335
18442
|
/* @__PURE__ */ jsx("span", { className: "w-16 text-muted-foreground shrink-0", children: t("pptx.chart.radarStyleLabel") }),
|
|
18336
18443
|
/* @__PURE__ */ jsx(
|
|
18337
|
-
|
|
18444
|
+
WebSelect,
|
|
18338
18445
|
{
|
|
18339
18446
|
"data-testid": "pptx-chart-radar-style",
|
|
18340
18447
|
"aria-label": t("pptx.chart.radarStyleLabel"),
|
|
@@ -18354,7 +18461,7 @@ function ChartSubtypeOptions({
|
|
|
18354
18461
|
chartData.chartType === "surface" && /* @__PURE__ */ jsxs("label", { className: "flex items-center gap-2 text-[11px]", children: [
|
|
18355
18462
|
/* @__PURE__ */ jsx("span", { className: "w-16 text-muted-foreground shrink-0", children: t("pptx.chart.surfaceWireframeLabel") }),
|
|
18356
18463
|
/* @__PURE__ */ jsx(
|
|
18357
|
-
|
|
18464
|
+
WebSelect,
|
|
18358
18465
|
{
|
|
18359
18466
|
"data-testid": "pptx-chart-surface-wireframe",
|
|
18360
18467
|
"aria-label": t("pptx.chart.surfaceWireframeLabel"),
|
|
@@ -18387,7 +18494,7 @@ function ChartTrendlineOptions({
|
|
|
18387
18494
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 text-[11px]", children: [
|
|
18388
18495
|
/* @__PURE__ */ jsx("span", { className: "flex-1 truncate", title: s.name, children: s.name }),
|
|
18389
18496
|
/* @__PURE__ */ jsx(
|
|
18390
|
-
|
|
18497
|
+
WebSelect,
|
|
18391
18498
|
{
|
|
18392
18499
|
disabled: !canEdit,
|
|
18393
18500
|
className: INPUT,
|
|
@@ -18410,7 +18517,7 @@ function ChartTrendlineOptions({
|
|
|
18410
18517
|
trendline && /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 ml-2", children: [
|
|
18411
18518
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center gap-1 text-[11px] cursor-pointer", children: [
|
|
18412
18519
|
/* @__PURE__ */ jsx(
|
|
18413
|
-
|
|
18520
|
+
WebCheckbox,
|
|
18414
18521
|
{
|
|
18415
18522
|
type: "checkbox",
|
|
18416
18523
|
disabled: !canEdit,
|
|
@@ -18423,7 +18530,7 @@ function ChartTrendlineOptions({
|
|
|
18423
18530
|
] }),
|
|
18424
18531
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center gap-1 text-[11px] cursor-pointer", children: [
|
|
18425
18532
|
/* @__PURE__ */ jsx(
|
|
18426
|
-
|
|
18533
|
+
WebCheckbox,
|
|
18427
18534
|
{
|
|
18428
18535
|
type: "checkbox",
|
|
18429
18536
|
disabled: !canEdit,
|
|
@@ -18480,7 +18587,7 @@ function ChartTypeSelector({
|
|
|
18480
18587
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center gap-2 text-[11px]", children: [
|
|
18481
18588
|
/* @__PURE__ */ jsx("span", { className: "w-10 text-muted-foreground shrink-0", children: t("pptx.chart.type") }),
|
|
18482
18589
|
/* @__PURE__ */ jsx(
|
|
18483
|
-
|
|
18590
|
+
WebSelect,
|
|
18484
18591
|
{
|
|
18485
18592
|
"aria-label": t("pptx.chart.type"),
|
|
18486
18593
|
disabled: !canEdit,
|
|
@@ -18496,7 +18603,7 @@ function ChartTypeSelector({
|
|
|
18496
18603
|
supportsGrouping && /* @__PURE__ */ jsxs("label", { className: "flex items-center gap-2 text-[11px]", children: [
|
|
18497
18604
|
/* @__PURE__ */ jsx("span", { className: "w-10 text-muted-foreground shrink-0", children: t("pptx.chart.grouping") }),
|
|
18498
18605
|
/* @__PURE__ */ jsx(
|
|
18499
|
-
|
|
18606
|
+
WebSelect,
|
|
18500
18607
|
{
|
|
18501
18608
|
"aria-label": t("pptx.chart.grouping"),
|
|
18502
18609
|
disabled: !canEdit,
|
|
@@ -18557,7 +18664,7 @@ function FlipFields({
|
|
|
18557
18664
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
18558
18665
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center gap-1 cursor-pointer", children: [
|
|
18559
18666
|
/* @__PURE__ */ jsx(
|
|
18560
|
-
|
|
18667
|
+
WebCheckbox,
|
|
18561
18668
|
{
|
|
18562
18669
|
type: "checkbox",
|
|
18563
18670
|
"aria-label": t("pptx.arrange.flipHorizontally"),
|
|
@@ -18571,7 +18678,7 @@ function FlipFields({
|
|
|
18571
18678
|
] }),
|
|
18572
18679
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center gap-1 cursor-pointer", children: [
|
|
18573
18680
|
/* @__PURE__ */ jsx(
|
|
18574
|
-
|
|
18681
|
+
WebCheckbox,
|
|
18575
18682
|
{
|
|
18576
18683
|
type: "checkbox",
|
|
18577
18684
|
"aria-label": t("pptx.arrange.flipVertically"),
|
|
@@ -19621,7 +19728,7 @@ function ConnectorArrowsSection({
|
|
|
19621
19728
|
return /* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1", children: [
|
|
19622
19729
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: t(END_LABEL_KEYS[end].arrow) }),
|
|
19623
19730
|
/* @__PURE__ */ jsx(
|
|
19624
|
-
|
|
19731
|
+
WebSelect,
|
|
19625
19732
|
{
|
|
19626
19733
|
"aria-label": t(END_LABEL_KEYS[end].arrow),
|
|
19627
19734
|
value: selectedShapeStyle?.[key] || "none",
|
|
@@ -19645,7 +19752,7 @@ function ConnectorArrowsSection({
|
|
|
19645
19752
|
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1", children: [
|
|
19646
19753
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: t(END_LABEL_KEYS[end].width) }),
|
|
19647
19754
|
/* @__PURE__ */ jsx(
|
|
19648
|
-
|
|
19755
|
+
WebSelect,
|
|
19649
19756
|
{
|
|
19650
19757
|
"aria-label": t(END_LABEL_KEYS[end].width),
|
|
19651
19758
|
value: selectedShapeStyle?.[widthKey] || "med",
|
|
@@ -19664,7 +19771,7 @@ function ConnectorArrowsSection({
|
|
|
19664
19771
|
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1", children: [
|
|
19665
19772
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: t(END_LABEL_KEYS[end].length) }),
|
|
19666
19773
|
/* @__PURE__ */ jsx(
|
|
19667
|
-
|
|
19774
|
+
WebSelect,
|
|
19668
19775
|
{
|
|
19669
19776
|
"aria-label": t(END_LABEL_KEYS[end].length),
|
|
19670
19777
|
value: selectedShapeStyle?.[lengthKey] || "med",
|
|
@@ -19910,7 +20017,7 @@ function ColorChangeSection({
|
|
|
19910
20017
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center justify-between gap-2", children: [
|
|
19911
20018
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: t("pptx.image.colorChange") }),
|
|
19912
20019
|
/* @__PURE__ */ jsx(
|
|
19913
|
-
|
|
20020
|
+
WebCheckbox,
|
|
19914
20021
|
{
|
|
19915
20022
|
type: "checkbox",
|
|
19916
20023
|
disabled: !canEdit,
|
|
@@ -19965,7 +20072,7 @@ function ColorChangeSection({
|
|
|
19965
20072
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center justify-between gap-2 col-span-2", children: [
|
|
19966
20073
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: t("pptx.image.colorChangeTransparent") }),
|
|
19967
20074
|
/* @__PURE__ */ jsx(
|
|
19968
|
-
|
|
20075
|
+
WebCheckbox,
|
|
19969
20076
|
{
|
|
19970
20077
|
type: "checkbox",
|
|
19971
20078
|
disabled: !canEdit,
|
|
@@ -19994,7 +20101,7 @@ function ColorWashSection({
|
|
|
19994
20101
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center justify-between gap-2", children: [
|
|
19995
20102
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: t("pptx.image.colorWash") }),
|
|
19996
20103
|
/* @__PURE__ */ jsx(
|
|
19997
|
-
|
|
20104
|
+
WebCheckbox,
|
|
19998
20105
|
{
|
|
19999
20106
|
type: "checkbox",
|
|
20000
20107
|
disabled: !canEdit,
|
|
@@ -20428,7 +20535,7 @@ function ImagePropertiesPanel({
|
|
|
20428
20535
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center justify-between gap-2", children: [
|
|
20429
20536
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: t("pptx.image.grayscale") }),
|
|
20430
20537
|
/* @__PURE__ */ jsx(
|
|
20431
|
-
|
|
20538
|
+
WebCheckbox,
|
|
20432
20539
|
{
|
|
20433
20540
|
type: "checkbox",
|
|
20434
20541
|
disabled: !canEdit,
|
|
@@ -20882,7 +20989,7 @@ function MediaPlaybackBookmarks({
|
|
|
20882
20989
|
/* @__PURE__ */ jsxs("label", { className: LABEL_CLS2, children: [
|
|
20883
20990
|
/* @__PURE__ */ jsx("span", { className: `text-[11px] ${LABEL_TEXT2}`, children: t("pptx.media.speed") }),
|
|
20884
20991
|
/* @__PURE__ */ jsxs(
|
|
20885
|
-
|
|
20992
|
+
WebSelect,
|
|
20886
20993
|
{
|
|
20887
20994
|
"aria-label": t("pptx.media.speed"),
|
|
20888
20995
|
disabled: !canEdit,
|
|
@@ -20944,7 +21051,7 @@ function MediaPlaybackBookmarks({
|
|
|
20944
21051
|
/* @__PURE__ */ jsxs("label", { className: LABEL_CLS2, children: [
|
|
20945
21052
|
/* @__PURE__ */ jsx("span", { className: `text-[11px] ${LABEL_TEXT2}`, children: t("pptx.media.loop") }),
|
|
20946
21053
|
/* @__PURE__ */ jsx(
|
|
20947
|
-
|
|
21054
|
+
WebCheckbox,
|
|
20948
21055
|
{
|
|
20949
21056
|
type: "checkbox",
|
|
20950
21057
|
disabled: !canEdit,
|
|
@@ -20958,7 +21065,7 @@ function MediaPlaybackBookmarks({
|
|
|
20958
21065
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center justify-between gap-2", children: [
|
|
20959
21066
|
/* @__PURE__ */ jsx("span", { className: `text-[11px] ${LABEL_TEXT2}`, children: t("pptx.media.startTrigger") }),
|
|
20960
21067
|
/* @__PURE__ */ jsxs(
|
|
20961
|
-
|
|
21068
|
+
WebSelect,
|
|
20962
21069
|
{
|
|
20963
21070
|
"aria-label": t("pptx.media.startTrigger"),
|
|
20964
21071
|
disabled: !canEdit,
|
|
@@ -20977,7 +21084,7 @@ function MediaPlaybackBookmarks({
|
|
|
20977
21084
|
element.mediaType === "audio" && /* @__PURE__ */ jsxs("label", { className: LABEL_CLS2, children: [
|
|
20978
21085
|
/* @__PURE__ */ jsx("span", { className: `text-[11px] ${LABEL_TEXT2}`, children: t("pptx.media.playAcrossSlides") }),
|
|
20979
21086
|
/* @__PURE__ */ jsx(
|
|
20980
|
-
|
|
21087
|
+
WebCheckbox,
|
|
20981
21088
|
{
|
|
20982
21089
|
type: "checkbox",
|
|
20983
21090
|
disabled: !canEdit,
|
|
@@ -20992,7 +21099,7 @@ function MediaPlaybackBookmarks({
|
|
|
20992
21099
|
/* @__PURE__ */ jsxs("label", { className: LABEL_CLS2, children: [
|
|
20993
21100
|
/* @__PURE__ */ jsx("span", { className: `text-[11px] ${LABEL_TEXT2}`, children: t("pptx.media.fullScreen") }),
|
|
20994
21101
|
/* @__PURE__ */ jsx(
|
|
20995
|
-
|
|
21102
|
+
WebCheckbox,
|
|
20996
21103
|
{
|
|
20997
21104
|
type: "checkbox",
|
|
20998
21105
|
disabled: !canEdit,
|
|
@@ -21006,7 +21113,7 @@ function MediaPlaybackBookmarks({
|
|
|
21006
21113
|
/* @__PURE__ */ jsxs("label", { className: LABEL_CLS2, children: [
|
|
21007
21114
|
/* @__PURE__ */ jsx("span", { className: `text-[11px] ${LABEL_TEXT2}`, children: t("pptx.media.hideWhenNotPlaying") }),
|
|
21008
21115
|
/* @__PURE__ */ jsx(
|
|
21009
|
-
|
|
21116
|
+
WebCheckbox,
|
|
21010
21117
|
{
|
|
21011
21118
|
type: "checkbox",
|
|
21012
21119
|
disabled: !canEdit,
|
|
@@ -21934,7 +22041,7 @@ function EffectField({
|
|
|
21934
22041
|
return /* @__PURE__ */ jsxs("label", { className: cls, children: [
|
|
21935
22042
|
/* @__PURE__ */ jsx("span", { className: LBL2, children: fieldLabel }),
|
|
21936
22043
|
/* @__PURE__ */ jsx(
|
|
21937
|
-
|
|
22044
|
+
WebSelect,
|
|
21938
22045
|
{
|
|
21939
22046
|
"aria-label": fieldLabel,
|
|
21940
22047
|
value: String(val),
|
|
@@ -21969,7 +22076,7 @@ function EffectField({
|
|
|
21969
22076
|
if (field.type === "checkbox") {
|
|
21970
22077
|
return /* @__PURE__ */ jsxs("label", { className: `flex items-center gap-2 ${field.span2 ? COL2 : ""}`, children: [
|
|
21971
22078
|
/* @__PURE__ */ jsx(
|
|
21972
|
-
|
|
22079
|
+
WebCheckbox,
|
|
21973
22080
|
{
|
|
21974
22081
|
type: "checkbox",
|
|
21975
22082
|
checked: Boolean(val),
|
|
@@ -22033,7 +22140,7 @@ function SelectRow({
|
|
|
22033
22140
|
return /* @__PURE__ */ jsxs("label", { className: `flex flex-col gap-1 ${span2 ? COL2 : ""}`, children: [
|
|
22034
22141
|
/* @__PURE__ */ jsx("span", { className: LBL2, children: label }),
|
|
22035
22142
|
/* @__PURE__ */ jsx(
|
|
22036
|
-
|
|
22143
|
+
WebSelect,
|
|
22037
22144
|
{
|
|
22038
22145
|
"aria-label": label,
|
|
22039
22146
|
value,
|
|
@@ -22481,7 +22588,7 @@ function StrokeEffectsSection({
|
|
|
22481
22588
|
/* @__PURE__ */ jsxs("label", { className: `flex flex-col gap-1 ${COL2}`, children: [
|
|
22482
22589
|
/* @__PURE__ */ jsx("span", { className: LBL2, children: t("pptx.strokeEffects.strokeDash") }),
|
|
22483
22590
|
/* @__PURE__ */ jsx(
|
|
22484
|
-
|
|
22591
|
+
WebSelect,
|
|
22485
22592
|
{
|
|
22486
22593
|
"aria-label": t("pptx.strokeEffects.strokeDash"),
|
|
22487
22594
|
value: style?.strokeDash || "solid",
|
|
@@ -22521,7 +22628,7 @@ function StrokeEffectsSection({
|
|
|
22521
22628
|
return /* @__PURE__ */ jsxs(React4.Fragment, { children: [
|
|
22522
22629
|
/* @__PURE__ */ jsxs("label", { className: `inline-flex items-center gap-2 text-foreground ${COL2}`, children: [
|
|
22523
22630
|
/* @__PURE__ */ jsx(
|
|
22524
|
-
|
|
22631
|
+
WebCheckbox,
|
|
22525
22632
|
{
|
|
22526
22633
|
type: "checkbox",
|
|
22527
22634
|
checked: on,
|
|
@@ -22688,7 +22795,7 @@ function Text3DProperties({
|
|
|
22688
22795
|
/* @__PURE__ */ jsxs("div", { className: "space-y-1.5", children: [
|
|
22689
22796
|
/* @__PURE__ */ jsxs("label", { className: "inline-flex items-center gap-2 text-foreground", children: [
|
|
22690
22797
|
/* @__PURE__ */ jsx(
|
|
22691
|
-
|
|
22798
|
+
WebCheckbox,
|
|
22692
22799
|
{
|
|
22693
22800
|
type: "checkbox",
|
|
22694
22801
|
checked: hasExtrusion,
|
|
@@ -22770,7 +22877,7 @@ function Text3DProperties({
|
|
|
22770
22877
|
hasExtrusion && /* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1 pl-4", children: [
|
|
22771
22878
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: t("pptx.text3d.material") }),
|
|
22772
22879
|
/* @__PURE__ */ jsx(
|
|
22773
|
-
|
|
22880
|
+
WebSelect,
|
|
22774
22881
|
{
|
|
22775
22882
|
"aria-label": t("pptx.text3d.material"),
|
|
22776
22883
|
value: t3d?.presetMaterial ?? "",
|
|
@@ -22803,7 +22910,7 @@ function BevelSection({
|
|
|
22803
22910
|
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1", children: [
|
|
22804
22911
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: t("pptx.text3d.bevelType") }),
|
|
22805
22912
|
/* @__PURE__ */ jsx(
|
|
22806
|
-
|
|
22913
|
+
WebSelect,
|
|
22807
22914
|
{
|
|
22808
22915
|
"aria-label": t("pptx.text3d.bevelType"),
|
|
22809
22916
|
value: bevelType ?? "none",
|
|
@@ -22901,7 +23008,7 @@ function AdvancedTextFormatting({
|
|
|
22901
23008
|
/* @__PURE__ */ jsx("div", { className: "text-[11px] uppercase tracking-wide text-muted-foreground", children: t("pptx.textProperties.advancedTextHeading") }),
|
|
22902
23009
|
/* @__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
23010
|
/* @__PURE__ */ jsx(
|
|
22904
|
-
|
|
23011
|
+
WebCheckbox,
|
|
22905
23012
|
{
|
|
22906
23013
|
type: "checkbox",
|
|
22907
23014
|
checked: ts?.baseline === baseline,
|
|
@@ -22932,7 +23039,7 @@ function AdvancedTextFormatting({
|
|
|
22932
23039
|
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1", children: [
|
|
22933
23040
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: t("pptx.textProperties.underlineStyle") }),
|
|
22934
23041
|
/* @__PURE__ */ jsx(
|
|
22935
|
-
|
|
23042
|
+
WebSelect,
|
|
22936
23043
|
{
|
|
22937
23044
|
"aria-label": t("pptx.textProperties.underlineStyle"),
|
|
22938
23045
|
value: ts?.underlineStyle || "sng",
|
|
@@ -23052,7 +23159,7 @@ function AdvancedTextFormatting({
|
|
|
23052
23159
|
] }),
|
|
23053
23160
|
/* @__PURE__ */ jsxs("label", { className: "inline-flex items-center gap-2 text-foreground", children: [
|
|
23054
23161
|
/* @__PURE__ */ jsx(
|
|
23055
|
-
|
|
23162
|
+
WebCheckbox,
|
|
23056
23163
|
{
|
|
23057
23164
|
type: "checkbox",
|
|
23058
23165
|
checked: Boolean(ts?.autoFit),
|
|
@@ -23074,7 +23181,7 @@ function TextReflectionSection({
|
|
|
23074
23181
|
return /* @__PURE__ */ jsxs("div", { className: "space-y-1.5", children: [
|
|
23075
23182
|
/* @__PURE__ */ jsxs("label", { className: "inline-flex items-center gap-2 text-foreground", children: [
|
|
23076
23183
|
/* @__PURE__ */ jsx(
|
|
23077
|
-
|
|
23184
|
+
WebCheckbox,
|
|
23078
23185
|
{
|
|
23079
23186
|
type: "checkbox",
|
|
23080
23187
|
checked: hasReflection,
|
|
@@ -23191,7 +23298,7 @@ function TextEffectsPanel({
|
|
|
23191
23298
|
/* @__PURE__ */ jsxs("div", { className: "space-y-1.5", children: [
|
|
23192
23299
|
/* @__PURE__ */ jsxs("label", { className: "inline-flex items-center gap-2 text-foreground", children: [
|
|
23193
23300
|
/* @__PURE__ */ jsx(
|
|
23194
|
-
|
|
23301
|
+
WebCheckbox,
|
|
23195
23302
|
{
|
|
23196
23303
|
type: "checkbox",
|
|
23197
23304
|
checked: hasShadow,
|
|
@@ -23303,7 +23410,7 @@ function TextEffectsPanel({
|
|
|
23303
23410
|
/* @__PURE__ */ jsxs("div", { className: "space-y-1.5", children: [
|
|
23304
23411
|
/* @__PURE__ */ jsxs("label", { className: "inline-flex items-center gap-2 text-foreground", children: [
|
|
23305
23412
|
/* @__PURE__ */ jsx(
|
|
23306
|
-
|
|
23413
|
+
WebCheckbox,
|
|
23307
23414
|
{
|
|
23308
23415
|
type: "checkbox",
|
|
23309
23416
|
checked: hasGlow,
|
|
@@ -23464,7 +23571,7 @@ function ShapeTextPanels({
|
|
|
23464
23571
|
hasShapeProperties(selectedElement) && /* @__PURE__ */ jsxs("div", { className: CARD2, children: [
|
|
23465
23572
|
/* @__PURE__ */ jsx("div", { className: HEADING2, children: t("pptx.shape.type", "Shape Type") }),
|
|
23466
23573
|
/* @__PURE__ */ jsx(
|
|
23467
|
-
|
|
23574
|
+
WebSelect,
|
|
23468
23575
|
{
|
|
23469
23576
|
value: selectedElement.shapeType || "rect",
|
|
23470
23577
|
disabled: !canEdit,
|
|
@@ -24042,7 +24149,7 @@ function SmartArtStyleControls({
|
|
|
24042
24149
|
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1 text-[11px]", children: [
|
|
24043
24150
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: t("pptx.smartart.colorScheme") }),
|
|
24044
24151
|
/* @__PURE__ */ jsx(
|
|
24045
|
-
|
|
24152
|
+
WebSelect,
|
|
24046
24153
|
{
|
|
24047
24154
|
disabled: !canEdit,
|
|
24048
24155
|
"data-testid": "smartart-color-scheme",
|
|
@@ -24468,7 +24575,7 @@ function TableCellPatternFill({
|
|
|
24468
24575
|
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-0.5", children: [
|
|
24469
24576
|
/* @__PURE__ */ jsx("span", { className: LBL, children: t("pptx.table.patternPreset") }),
|
|
24470
24577
|
/* @__PURE__ */ jsx(
|
|
24471
|
-
|
|
24578
|
+
WebSelect,
|
|
24472
24579
|
{
|
|
24473
24580
|
"aria-label": t("pptx.table.patternPreset"),
|
|
24474
24581
|
disabled: !canEdit,
|
|
@@ -24549,7 +24656,7 @@ function TableCellAdvancedFill({
|
|
|
24549
24656
|
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1", children: [
|
|
24550
24657
|
/* @__PURE__ */ jsx("span", { className: LBL, children: t("pptx.table.fillMode") }),
|
|
24551
24658
|
/* @__PURE__ */ jsx(
|
|
24552
|
-
|
|
24659
|
+
WebSelect,
|
|
24553
24660
|
{
|
|
24554
24661
|
"aria-label": t("pptx.table.fillMode"),
|
|
24555
24662
|
disabled: !canEdit,
|
|
@@ -24626,7 +24733,7 @@ function GradientControls({
|
|
|
24626
24733
|
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-0.5", children: [
|
|
24627
24734
|
/* @__PURE__ */ jsx("span", { className: LBL, children: t("pptx.table.gradientType") }),
|
|
24628
24735
|
/* @__PURE__ */ jsx(
|
|
24629
|
-
|
|
24736
|
+
WebSelect,
|
|
24630
24737
|
{
|
|
24631
24738
|
"aria-label": t("pptx.table.gradientType"),
|
|
24632
24739
|
disabled: !canEdit,
|
|
@@ -24977,7 +25084,7 @@ function TableStyleEditorFields({
|
|
|
24977
25084
|
),
|
|
24978
25085
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center gap-1", children: [
|
|
24979
25086
|
/* @__PURE__ */ jsx(
|
|
24980
|
-
|
|
25087
|
+
WebCheckbox,
|
|
24981
25088
|
{
|
|
24982
25089
|
type: "checkbox",
|
|
24983
25090
|
disabled: !canEdit,
|
|
@@ -25094,7 +25201,7 @@ function BorderSideRow({
|
|
|
25094
25201
|
}
|
|
25095
25202
|
),
|
|
25096
25203
|
/* @__PURE__ */ jsx(
|
|
25097
|
-
|
|
25204
|
+
WebSelect,
|
|
25098
25205
|
{
|
|
25099
25206
|
disabled: !canEdit,
|
|
25100
25207
|
value: state.dash,
|
|
@@ -25105,7 +25212,7 @@ function BorderSideRow({
|
|
|
25105
25212
|
),
|
|
25106
25213
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center gap-1 shrink-0", children: [
|
|
25107
25214
|
/* @__PURE__ */ jsx(
|
|
25108
|
-
|
|
25215
|
+
WebCheckbox,
|
|
25109
25216
|
{
|
|
25110
25217
|
type: "checkbox",
|
|
25111
25218
|
disabled: !canEdit,
|
|
@@ -25234,7 +25341,7 @@ function TablePropertiesPanel({
|
|
|
25234
25341
|
["lastRow", "pptx.table.lastRow"]
|
|
25235
25342
|
].map(([key, i18nKey]) => /* @__PURE__ */ jsxs("label", { className: "flex items-center gap-2 cursor-pointer", children: [
|
|
25236
25343
|
/* @__PURE__ */ jsx(
|
|
25237
|
-
|
|
25344
|
+
WebCheckbox,
|
|
25238
25345
|
{
|
|
25239
25346
|
type: "checkbox",
|
|
25240
25347
|
disabled: !canEdit,
|
|
@@ -26452,7 +26559,7 @@ function SlideSizeCard({
|
|
|
26452
26559
|
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1", children: [
|
|
26453
26560
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: t("pptx.slideSize.presets") }),
|
|
26454
26561
|
/* @__PURE__ */ jsxs(
|
|
26455
|
-
|
|
26562
|
+
WebSelect,
|
|
26456
26563
|
{
|
|
26457
26564
|
"aria-label": t("pptx.slideSize.presets"),
|
|
26458
26565
|
"data-pptx-slide-size-preset": true,
|
|
@@ -26470,7 +26577,7 @@ function SlideSizeCard({
|
|
|
26470
26577
|
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1", children: [
|
|
26471
26578
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: t("pptx.slideSize.orientation") }),
|
|
26472
26579
|
/* @__PURE__ */ jsxs(
|
|
26473
|
-
|
|
26580
|
+
WebSelect,
|
|
26474
26581
|
{
|
|
26475
26582
|
"aria-label": t("pptx.slideSize.orientation"),
|
|
26476
26583
|
"data-pptx-slide-size-orientation": true,
|
|
@@ -26514,12 +26621,12 @@ function CheckboxRow({
|
|
|
26514
26621
|
return /* @__PURE__ */ jsxs("label", { className: "flex items-center justify-between gap-2", children: [
|
|
26515
26622
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: label }),
|
|
26516
26623
|
/* @__PURE__ */ jsx(
|
|
26517
|
-
|
|
26624
|
+
WebCheckbox,
|
|
26518
26625
|
{
|
|
26519
|
-
|
|
26626
|
+
"aria-label": label,
|
|
26520
26627
|
disabled,
|
|
26521
26628
|
checked,
|
|
26522
|
-
onChange: (e) => onChange(e.
|
|
26629
|
+
onChange: (e) => onChange(e.currentTarget.checked)
|
|
26523
26630
|
}
|
|
26524
26631
|
)
|
|
26525
26632
|
] });
|
|
@@ -26536,14 +26643,14 @@ function PresentationSettingsCard({
|
|
|
26536
26643
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center justify-between gap-2", children: [
|
|
26537
26644
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: t("pptx.presentationSettings.showType") }),
|
|
26538
26645
|
/* @__PURE__ */ jsxs(
|
|
26539
|
-
|
|
26646
|
+
WebSelect,
|
|
26540
26647
|
{
|
|
26541
26648
|
"aria-label": t("pptx.presentationSettings.showType"),
|
|
26542
26649
|
disabled: !canEdit,
|
|
26543
|
-
className:
|
|
26650
|
+
className: "w-28 max-md:min-h-[44px]!",
|
|
26544
26651
|
value: presentationProperties.showType ?? "presented",
|
|
26545
26652
|
onChange: (e) => onUpdate({
|
|
26546
|
-
showType: e.
|
|
26653
|
+
showType: e.currentTarget.value
|
|
26547
26654
|
}),
|
|
26548
26655
|
children: [
|
|
26549
26656
|
/* @__PURE__ */ jsx("option", { value: "presented", children: t("pptx.presentationSettings.showTypePresented") }),
|
|
@@ -26628,7 +26735,7 @@ function ThemeSelectorCard({
|
|
|
26628
26735
|
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1", children: [
|
|
26629
26736
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: t("pptx.documentProperties.themeHeading") }),
|
|
26630
26737
|
/* @__PURE__ */ jsx(
|
|
26631
|
-
|
|
26738
|
+
WebSelect,
|
|
26632
26739
|
{
|
|
26633
26740
|
"aria-label": t("pptx.documentProperties.themeHeading"),
|
|
26634
26741
|
disabled: themeOptions.length === 0,
|
|
@@ -26747,7 +26854,7 @@ function SlideThemeOverridePanel({
|
|
|
26747
26854
|
return /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
26748
26855
|
/* @__PURE__ */ jsxs("label", { className: "inline-flex items-center gap-2 text-xs", children: [
|
|
26749
26856
|
/* @__PURE__ */ jsx(
|
|
26750
|
-
|
|
26857
|
+
WebCheckbox,
|
|
26751
26858
|
{
|
|
26752
26859
|
type: "checkbox",
|
|
26753
26860
|
disabled: !canEdit,
|
|
@@ -26772,7 +26879,7 @@ function SlideThemeOverridePanel({
|
|
|
26772
26879
|
}
|
|
26773
26880
|
),
|
|
26774
26881
|
/* @__PURE__ */ jsx(
|
|
26775
|
-
|
|
26882
|
+
WebSelect,
|
|
26776
26883
|
{
|
|
26777
26884
|
disabled: !canEdit,
|
|
26778
26885
|
className: "flex-1 bg-muted border border-border rounded px-1 py-0.5 text-[11px]",
|
|
@@ -26938,7 +27045,7 @@ function SlideTransitionSection({
|
|
|
26938
27045
|
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1", children: [
|
|
26939
27046
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-xs", children: t("pptx.transition.type") }),
|
|
26940
27047
|
/* @__PURE__ */ jsx(
|
|
26941
|
-
|
|
27048
|
+
WebSelect,
|
|
26942
27049
|
{
|
|
26943
27050
|
value: activeSlide.transition?.type || "none",
|
|
26944
27051
|
disabled: !canEdit,
|
|
@@ -27023,7 +27130,7 @@ function SlideTransitionSection({
|
|
|
27023
27130
|
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1", children: [
|
|
27024
27131
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-xs", children: t("pptx.transition.speed") }),
|
|
27025
27132
|
/* @__PURE__ */ jsx(
|
|
27026
|
-
|
|
27133
|
+
WebSelect,
|
|
27027
27134
|
{
|
|
27028
27135
|
value: activeSlide.transition?.speed ?? "fast",
|
|
27029
27136
|
disabled: !canEdit,
|
|
@@ -27039,7 +27146,7 @@ function SlideTransitionSection({
|
|
|
27039
27146
|
isMorph && /* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1", children: [
|
|
27040
27147
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-xs", children: t("pptx.transition.morphOption") }),
|
|
27041
27148
|
/* @__PURE__ */ jsx(
|
|
27042
|
-
|
|
27149
|
+
WebSelect,
|
|
27043
27150
|
{
|
|
27044
27151
|
value: activeSlide.transition?.morphOption ?? "byObject",
|
|
27045
27152
|
disabled: !canEdit,
|
|
@@ -27054,7 +27161,7 @@ function SlideTransitionSection({
|
|
|
27054
27161
|
] }),
|
|
27055
27162
|
/* @__PURE__ */ jsxs("label", { className: "inline-flex items-center gap-2 text-foreground text-xs", children: [
|
|
27056
27163
|
/* @__PURE__ */ jsx(
|
|
27057
|
-
|
|
27164
|
+
WebCheckbox,
|
|
27058
27165
|
{
|
|
27059
27166
|
type: "checkbox",
|
|
27060
27167
|
disabled: !canEdit,
|
|
@@ -27380,7 +27487,7 @@ function SlideBackgroundPanel({
|
|
|
27380
27487
|
),
|
|
27381
27488
|
/* @__PURE__ */ jsxs("label", { className: "flex items-center gap-2 text-[11px]", children: [
|
|
27382
27489
|
/* @__PURE__ */ jsx(
|
|
27383
|
-
|
|
27490
|
+
WebCheckbox,
|
|
27384
27491
|
{
|
|
27385
27492
|
type: "checkbox",
|
|
27386
27493
|
checked: activeSlide.showMasterShapes === false,
|
|
@@ -30803,31 +30910,18 @@ function TitleBar(p) {
|
|
|
30803
30910
|
] })
|
|
30804
30911
|
] }),
|
|
30805
30912
|
/* @__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
|
-
|
|
30913
|
+
/* @__PURE__ */ jsx(
|
|
30914
|
+
WebSearch,
|
|
30808
30915
|
{
|
|
30809
30916
|
"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
|
-
]
|
|
30917
|
+
"data-pptx-search-input": true,
|
|
30918
|
+
variant: "titlebar",
|
|
30919
|
+
value: searchQuery,
|
|
30920
|
+
onInput: (e) => setSearchQuery(e.currentTarget.value),
|
|
30921
|
+
onFocus: () => setSearchFocused(true),
|
|
30922
|
+
onKeyDown: handleSearchKeyDown,
|
|
30923
|
+
placeholder: t("pptx.titleBar.searchPlaceholder"),
|
|
30924
|
+
"aria-label": t("pptx.titleBar.search")
|
|
30831
30925
|
}
|
|
30832
30926
|
),
|
|
30833
30927
|
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: [
|
|
@@ -31316,6 +31410,12 @@ function ViewerToolbarSection(props) {
|
|
|
31316
31410
|
onOpenSettings,
|
|
31317
31411
|
onRunAccessibilityCheck: dialogs.handleRunAccessibilityCheck,
|
|
31318
31412
|
onToggleSlideSorter: () => s.setShowSlideSorter((p) => !p),
|
|
31413
|
+
onGoToNormalView: () => {
|
|
31414
|
+
s.setShowSlideSorter(false);
|
|
31415
|
+
s.setShowReadingView(false);
|
|
31416
|
+
s.setShowOutlineView(false);
|
|
31417
|
+
dialogs.handleCloseMasterView();
|
|
31418
|
+
},
|
|
31319
31419
|
onOpenReadingView: () => s.setShowReadingView(true),
|
|
31320
31420
|
onOpenOutlineView: () => s.setShowOutlineView(true),
|
|
31321
31421
|
onUpdateTextStyle: ops.updateSelectedTextStyle,
|
|
@@ -32837,7 +32937,7 @@ function useTableStyleMapHandlers(input) {
|
|
|
32837
32937
|
var AiChatPanel = lazy(async () => {
|
|
32838
32938
|
const [{ useChat }, { default: Panel }] = await Promise.all([
|
|
32839
32939
|
import('@ai-sdk/react'),
|
|
32840
|
-
import('./AiChatPanel-
|
|
32940
|
+
import('./AiChatPanel-UCEK3ZTD.mjs')
|
|
32841
32941
|
]);
|
|
32842
32942
|
function BoundAiChatPanel(props) {
|
|
32843
32943
|
return /* @__PURE__ */ jsx(Panel, { ...props, useChat });
|
|
@@ -33048,7 +33148,7 @@ function ThemeColorSchemeEditor({
|
|
|
33048
33148
|
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-0.5", children: [
|
|
33049
33149
|
/* @__PURE__ */ jsx("span", { className: "text-[10px] text-muted-foreground", children: t("pptx.themeEditor.headingFont") }),
|
|
33050
33150
|
/* @__PURE__ */ jsxs(
|
|
33051
|
-
|
|
33151
|
+
WebSelect,
|
|
33052
33152
|
{
|
|
33053
33153
|
"aria-label": t("pptx.themeEditor.headingFont"),
|
|
33054
33154
|
className: THEME_EDITOR_INPUT,
|
|
@@ -33069,7 +33169,7 @@ function ThemeColorSchemeEditor({
|
|
|
33069
33169
|
/* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-0.5", children: [
|
|
33070
33170
|
/* @__PURE__ */ jsx("span", { className: "text-[10px] text-muted-foreground", children: t("pptx.themeEditor.bodyFont") }),
|
|
33071
33171
|
/* @__PURE__ */ jsxs(
|
|
33072
|
-
|
|
33172
|
+
WebSelect,
|
|
33073
33173
|
{
|
|
33074
33174
|
"aria-label": t("pptx.themeEditor.bodyFont"),
|
|
33075
33175
|
className: THEME_EDITOR_INPUT,
|
|
@@ -34902,12 +35002,15 @@ function ControlRow({
|
|
|
34902
35002
|
info
|
|
34903
35003
|
] }),
|
|
34904
35004
|
/* @__PURE__ */ jsx(
|
|
34905
|
-
|
|
35005
|
+
WebCheckbox,
|
|
34906
35006
|
{
|
|
34907
|
-
type: "checkbox",
|
|
34908
|
-
className: "h-4 w-4 shrink-0 accent-[var(--pptx-primary,#6366f1)]",
|
|
34909
35007
|
checked: value === true,
|
|
34910
|
-
|
|
35008
|
+
"aria-label": label,
|
|
35009
|
+
onChange: (event) => onOptionChange(
|
|
35010
|
+
control.group,
|
|
35011
|
+
control.key,
|
|
35012
|
+
event.currentTarget.checked
|
|
35013
|
+
)
|
|
34911
35014
|
}
|
|
34912
35015
|
)
|
|
34913
35016
|
] });
|
|
@@ -34919,13 +35022,16 @@ function ControlRow({
|
|
|
34919
35022
|
info
|
|
34920
35023
|
] }),
|
|
34921
35024
|
/* @__PURE__ */ jsx(
|
|
34922
|
-
|
|
35025
|
+
WebSelect,
|
|
34923
35026
|
{
|
|
34924
35027
|
"aria-label": label,
|
|
34925
35028
|
style: { minHeight: fieldMinHeight },
|
|
34926
|
-
className: "max-w-[55%] rounded border border-border bg-background px-2 py-1 text-xs text-foreground",
|
|
34927
35029
|
value: typeof value === "string" ? value : "",
|
|
34928
|
-
onChange: (event) => onOptionChange(
|
|
35030
|
+
onChange: (event) => onOptionChange(
|
|
35031
|
+
control.group,
|
|
35032
|
+
control.key,
|
|
35033
|
+
event.currentTarget.value
|
|
35034
|
+
),
|
|
34929
35035
|
children: control.choices.map((choice) => /* @__PURE__ */ jsx("option", { value: choice.value, children: t(choice.labelKey) }, choice.value))
|
|
34930
35036
|
}
|
|
34931
35037
|
)
|
|
@@ -37192,7 +37298,7 @@ var PowerPointViewer = forwardRef(
|
|
|
37192
37298
|
// Nothing previously provided it, so every one of those consumers was
|
|
37193
37299
|
// silently reading `DEFAULT_VIEWER_OPTIONS` forever, no matter what
|
|
37194
37300
|
// the user changed in the Options dialog.
|
|
37195
|
-
/* @__PURE__ */ jsx(ViewerOptionsContext.Provider, { value: viewerOptions, children: /* @__PURE__ */ jsx(AccountAuthContext.Provider, { value: accountAuth, children: /* @__PURE__ */ jsx(
|
|
37301
|
+
/* @__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
37302
|
CollaborationProvider,
|
|
37197
37303
|
{
|
|
37198
37304
|
config: collaboration,
|
|
@@ -37245,7 +37351,7 @@ var PowerPointViewer = forwardRef(
|
|
|
37245
37351
|
viewerContent
|
|
37246
37352
|
]
|
|
37247
37353
|
}
|
|
37248
|
-
) }) }) }) })
|
|
37354
|
+
) }) }) }) })
|
|
37249
37355
|
);
|
|
37250
37356
|
}
|
|
37251
37357
|
);
|