@aixa-transformation/pptx-viewer 2.0.37 → 2.0.41
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/dist/{Model3DScene-M3AGCAWQ.mjs → Model3DScene-6OQ5SOFW.mjs} +2 -2
- package/dist/{Model3DScene-ZGQRKQTU.js → Model3DScene-QF7OOVJU.js} +3 -3
- package/dist/{SurfaceChart3DScene-2CB3DEDZ.js → SurfaceChart3DScene-2GFVOSZG.js} +3 -3
- package/dist/{SurfaceChart3DScene-TVIGXNHZ.mjs → SurfaceChart3DScene-GIKVK7KJ.mjs} +2 -2
- package/dist/{chunk-ZWG6IN7E.js → chunk-BFT3M42U.js} +9 -3
- package/dist/{chunk-K7FQ3X4I.mjs → chunk-RME7V4JR.mjs} +4 -4
- package/dist/{chunk-7OK75CPY.js → chunk-SCGPDJ7D.js} +41 -41
- package/dist/{chunk-CB6JSYSH.mjs → chunk-TYKXFV4C.mjs} +9 -3
- package/dist/{chunk-RM2SE2YN.js → chunk-UFGMGUXO.js} +955 -881
- package/dist/{chunk-Y27TZSBD.js → chunk-WVLA4RYC.js} +481 -481
- package/dist/{chunk-YBWMGBD4.mjs → chunk-XXNJWYKN.mjs} +1 -1
- package/dist/{chunk-3YRJ4LTH.mjs → chunk-ZWNCB5C6.mjs} +132 -58
- package/dist/{dist-BUU46GWB.mjs → dist-FQXOQHDH.mjs} +1 -1
- package/dist/{dist-QBE2HCT7.js → dist-QTYYVQJG.js} +568 -568
- package/dist/index.js +34 -34
- package/dist/index.mjs +4 -4
- package/dist/internals.js +78 -78
- package/dist/internals.mjs +3 -3
- package/dist/presentation.js +2 -2
- package/dist/presentation.mjs +1 -1
- package/dist/viewer/index.js +20 -20
- package/dist/viewer/index.mjs +4 -4
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { THEME_PRESETS, MIN_ELEMENT_SIZE, guideEmuToPx, hasShapeProperties, THEME_COLOR_SCHEME_KEYS, hasTextProperties, createChartElement, getShapeClipPath, getAdjustmentAwareShapeClipPath, getShapeClipPathFromPreset, getCloudPathForRendering, hslToRgb, PRESET_COLOR_MAP, isImageLikeElement, stripXmlOrderSuffix, orderedXmlKey, createBuiltinVariables, resolveCoordinate, applyDrawingColorTransforms } from './chunk-
|
|
1
|
+
import { THEME_PRESETS, MIN_ELEMENT_SIZE, guideEmuToPx, hasShapeProperties, THEME_COLOR_SCHEME_KEYS, hasTextProperties, createChartElement, getShapeClipPath, getAdjustmentAwareShapeClipPath, getShapeClipPathFromPreset, getCloudPathForRendering, hslToRgb, PRESET_COLOR_MAP, isImageLikeElement, stripXmlOrderSuffix, orderedXmlKey, createBuiltinVariables, resolveCoordinate, applyDrawingColorTransforms } from './chunk-TYKXFV4C.mjs';
|
|
2
2
|
import DOMPurify from 'dompurify';
|
|
3
3
|
|
|
4
4
|
var defaultThemeColors = {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { DEFAULT_STROKE_COLOR, getConnectorPathGeometry, buildLineShadowCss, buildLineGlowFilter, renderConnectorMarker, getShapeVisualStyle, getTextStyleForElement, DEFAULT_TEXT_COLOR, renderVectorShape, isConnectorOrLineElement, build3DExtrusionData, getImageRenderStyle, cn, getTextLayoutStyle, renderTableElement, renderMediaElement, shouldRenderFallbackLabel, SHAPE_PRESETS, ANIMATION_PRESET_OPTIONS, useReducedMotion, useViewerState, useViewerOptions, useIsMobile, useResizablePanels, useDerivedSlideState, useZoomViewport, useEditorHistory, usePresentationSetup, useTouchGestures, useViewerDialogs, useEditorOperations, useViewerIntegration, useLayoutSwitching, useYjsDocumentSync, useFollowMode, useBroadcastFollower, DEFAULT_FILL_COLOR, hasDagDuotoneEffect, renderDagDuotoneSvgFilter, getCropShapeClipPath, MIN_ELEMENT_SIZE, resolvePalette, resolveStyle, layoutToCategory, wrapChrome, isImageTiled, getImageTilingStyle, getDuotoneColors, getTextWarpStyle, renderTextSegments, buildReactChartViewModel, renderChartElement, buildTextBody3DSceneStyle, SLIDE_TRANSITION_OPTIONS, SLIDE_NAV_THUMBNAIL_WIDTH, scopeLayoutOptionsToActiveSlide, useToolbarVisibility, useKeyboardInsets, useModalDismissDrag, useCollaborativeState, styleShadow, styleStroke, colour, fitFontSize, smartArtNodeGroupProps, chevronPoints, SmartArtNodeText, contrastingTextColor, renderStepDownProcess, renderAlternatingFlow, renderDescendingProcess, renderPictureAccentList, renderVerticalBlockList, renderGroupedList, renderPyramidList, renderHorizontalPictureList, renderAccentProcess, renderVerticalChevronList, DEFAULT_TEXT_FONT_SIZE, DEFAULT_FONT_FAMILY, TOOLBAR_SECTIONS, useVirtualizedSlides, useSwipeNavigation, useSheetDismissDrag, detectTargetType, parseEmailUrl, parseSlideFromUrl, ACTION_VERB_MAP, SHORTCUT_REFERENCE_ITEMS as SHORTCUT_REFERENCE_ITEMS$1, buildTree, treeWidth, treeDepth, nodeOpacity, truncate, gearPath, resolveSmartArtDataPalette, HYPERLINK_COLOR, GRID_SIZE, startPreviewAnimation, stopPreviewAnimation } from './chunk-
|
|
2
|
-
import { normalizeHexColor, colorWithOpacity, normalizeStrokeDashType, getSvgStrokeDasharray, getCompoundLineOffsets, getCompoundLineWidths, svgLineCap, getElementTransform, isEditableTextElement, getAriaRole, getAriaLabel, getAriaRoleDescription, getImageEffectsOpacity, getImageEffectsFilter, getElementTransformWithoutRotation, ACTION_BUTTON_PRESETS, getElementLabel, RULER_THICKNESS, RULER_FONT_SIZE, EQUATION_TEMPLATES, convertLatexToOmml, convertOmmlToMathMl, sanitizeMathMl, DEFAULT_VIEWER_OPTIONS, buildUserFontFaceStyles, readStoredViewerPrefs, resolveThemeCatalogEntry, THEME_CATALOG, writeStoredViewerPrefs, openPptxFile, readBackstageRecentFile, viewerOptionsToPreferences, applyPreferenceToOptions, listAutosaveSnapshots, deleteAutosaveSnapshot, createBackstagePresentation, buildCssGradientFromShapeStyle, getComputedEffectStyle, getSoftEdgeSvgFilter, getGroupChildParentFill, revealedSmartArtNodeCount, buildSmartArtA11y, buildSummaryZoomView, getImageColorWashStyle, getPendingSelectionRestore, restoreSegmentSelection, getTextCompensationTransform, applyChartBuildReveal, formatAxisValue, hasPressureVariation, getInkReplayStyles, INK_REPLAY_KEYFRAMES, resolveInkColor, resolveInkWidth, resolveInkOpacity, pressuresToWidths, getContentPartReplayStyles, resolveOleType, getOleTypeColor, getOleTypeLabel, resolveGroupChildFill, shouldUseSvgWarp, buildPreviewElements, themeToCssVars, DEFAULT_INSERT_CHART_TYPE, hasCopyableFormat, printPropertiesFrameSlides, printPropertiesSlidesPerPage, VIEWER_OPTIONS_TABS, DEFAULT_QUICK_ACCESS_COMMAND_IDS, buildJoinCollaborationConfig, buildCreateCollaborationConfig, generateBroadcastRoomId, DEFAULT_BROADCAST_SERVER_URL, buildBroadcastViewerUrl, resolveTransportForServerUrl, resolveDrawingShapeNodeId, getImageSvgFilters, buildDuotoneCacheKey, getDuotoneCachedResult, applyDuotone, setDuotoneCachedResult, buildCacheKey, DEFAULT_COLOR_CHANGE_TOLERANCE, getCachedResult, applyColorChange, setCachedResult, findChartPartTarget, dragValueForPart, withChartPointValue, dragAnchorViewY, withChartTitle, computeSmartArtLayout, buildSmartArt3DModel, extractPathPoints, generatePressureCircles, isBrowserOpenableMime, formatBytes, getOleBadgeLabel, openUrlInNewTab, getWarpPath, getSlideBackgroundStyle, filterCommands, resolveTitleBarStatusKey, TITLE_BAR_CLASSES, TITLE_BAR_DEFAULT_FILE_KEY, shouldConfirmExternalHyperlink, safeOpenUrl, isPpactionUrl, parsePpactionUrl, formatVersionTimestamp, formatRelativeTime, scanAvailableFontFamilies, PRESETS, CATEGORIES, convertOmmlToLatex, clampPercent, HANDOUT_OPTIONS, TOOLBAR_TABS, SHORTCUT_REFERENCE_ITEMS, resolveViewerAddinRows, availableQuickAccessCommands, addQuickAccessCommand, removeQuickAccessCommand, moveQuickAccessCommand, activateModalFocus, buildCollaborationShareUrl, presentationInkPath, mobileElapsedSince, isFirstSlide, isLastSlide, formatMobileElapsed, mobileSlideCounter, formatElapsed, computeInlineEditorRect, findSmartArtNodeText, rebuildDrawingShapesIfCleared, shouldCommitSmartArtNodeText, groupIntoParagraphs, substituteFieldText, TAB_ROW_ACTION_CLASSES, listBackstageRecentFiles, BACKSTAGE_NAV, INSERT_CHART_TYPES, SLIDE_VIRTUALIZATION_THRESHOLD, getShapeAdjustmentHandleDescriptor, getSlideTransitionAnimations, SLIDE_TRANSITION_KEYFRAMES, formatSlideCounter, isUrlSafe, computeHandoutLayout, getPrintableArea, generateNoteLineCount, computeAllNotesPages, getNotesPrintableArea, QUICK_ACCESS_COMMAND_CATALOG, notesSegmentsToSpans, erasePresentationInkAt, movePresenterPointer, appendPresentationInkPoint, NOTES_FONT_SIZE_DEFAULT, formatTime, NOTES_FONT_SIZE_MIN, clampNotesFontSize, NOTES_FONT_SIZE_STEP, NOTES_FONT_SIZE_MAX, BACKSTAGE_TEMPLATES, formatBackstageDate, formatBackstageSize, DEFAULT_VIEWER_PROFILE, resolveProfileInitial, AVATAR_COLOR_SWATCHES, getConnectionSites, generateTicks, getCommentMarkerPosition, buildThemeColorGrid, THEME_COLOR_LABELS, buildSmartArtPresetData, getLocalStorageUsageSummary, saveViewerProfile, clearAllLocalViewerData, TABLE_STYLE_PRESETS, withFrameSlides, withSlidesPerPage, formatCommentTimestamp, DIRECTIONAL_PRESETS, computeMergeCellRight, computeMergeCellDown, computeSplitCell, DUOTONE_PRESETS, ARTISTIC_EFFECTS, LBL, SEL, FILL_MODE_OPTIONS, SECTION_HEADING, NUM, GRADIENT_TYPE_OPTIONS, PATTERN_OPTIONS } from './chunk-
|
|
1
|
+
import { DEFAULT_STROKE_COLOR, getConnectorPathGeometry, buildLineShadowCss, buildLineGlowFilter, renderConnectorMarker, getShapeVisualStyle, getTextStyleForElement, DEFAULT_TEXT_COLOR, renderVectorShape, isConnectorOrLineElement, build3DExtrusionData, getImageRenderStyle, cn, getTextLayoutStyle, renderTableElement, renderMediaElement, shouldRenderFallbackLabel, SHAPE_PRESETS, ANIMATION_PRESET_OPTIONS, useReducedMotion, useViewerState, useViewerOptions, useIsMobile, useResizablePanels, useDerivedSlideState, useZoomViewport, useEditorHistory, usePresentationSetup, useTouchGestures, useViewerDialogs, useEditorOperations, useViewerIntegration, useLayoutSwitching, useYjsDocumentSync, useFollowMode, useBroadcastFollower, DEFAULT_FILL_COLOR, hasDagDuotoneEffect, renderDagDuotoneSvgFilter, getCropShapeClipPath, MIN_ELEMENT_SIZE, resolvePalette, resolveStyle, layoutToCategory, wrapChrome, isImageTiled, getImageTilingStyle, getDuotoneColors, getTextWarpStyle, renderTextSegments, buildReactChartViewModel, renderChartElement, buildTextBody3DSceneStyle, SLIDE_TRANSITION_OPTIONS, SLIDE_NAV_THUMBNAIL_WIDTH, scopeLayoutOptionsToActiveSlide, useToolbarVisibility, useKeyboardInsets, useModalDismissDrag, useCollaborativeState, styleShadow, styleStroke, colour, fitFontSize, smartArtNodeGroupProps, chevronPoints, SmartArtNodeText, contrastingTextColor, renderStepDownProcess, renderAlternatingFlow, renderDescendingProcess, renderPictureAccentList, renderVerticalBlockList, renderGroupedList, renderPyramidList, renderHorizontalPictureList, renderAccentProcess, renderVerticalChevronList, DEFAULT_TEXT_FONT_SIZE, DEFAULT_FONT_FAMILY, TOOLBAR_SECTIONS, useVirtualizedSlides, useSwipeNavigation, useSheetDismissDrag, detectTargetType, parseEmailUrl, parseSlideFromUrl, ACTION_VERB_MAP, SHORTCUT_REFERENCE_ITEMS as SHORTCUT_REFERENCE_ITEMS$1, buildTree, treeWidth, treeDepth, nodeOpacity, truncate, gearPath, resolveSmartArtDataPalette, HYPERLINK_COLOR, GRID_SIZE, startPreviewAnimation, stopPreviewAnimation } from './chunk-RME7V4JR.mjs';
|
|
2
|
+
import { normalizeHexColor, colorWithOpacity, normalizeStrokeDashType, getSvgStrokeDasharray, getCompoundLineOffsets, getCompoundLineWidths, svgLineCap, getElementTransform, isEditableTextElement, getAriaRole, getAriaLabel, getAriaRoleDescription, getImageEffectsOpacity, getImageEffectsFilter, getElementTransformWithoutRotation, ACTION_BUTTON_PRESETS, getElementLabel, RULER_THICKNESS, RULER_FONT_SIZE, EQUATION_TEMPLATES, convertLatexToOmml, convertOmmlToMathMl, sanitizeMathMl, DEFAULT_VIEWER_OPTIONS, buildUserFontFaceStyles, readStoredViewerPrefs, resolveThemeCatalogEntry, THEME_CATALOG, writeStoredViewerPrefs, openPptxFile, readBackstageRecentFile, viewerOptionsToPreferences, applyPreferenceToOptions, listAutosaveSnapshots, deleteAutosaveSnapshot, createBackstagePresentation, buildCssGradientFromShapeStyle, getComputedEffectStyle, getSoftEdgeSvgFilter, getGroupChildParentFill, revealedSmartArtNodeCount, buildSmartArtA11y, buildSummaryZoomView, getImageColorWashStyle, getPendingSelectionRestore, restoreSegmentSelection, getTextCompensationTransform, applyChartBuildReveal, formatAxisValue, hasPressureVariation, getInkReplayStyles, INK_REPLAY_KEYFRAMES, resolveInkColor, resolveInkWidth, resolveInkOpacity, pressuresToWidths, getContentPartReplayStyles, resolveOleType, getOleTypeColor, getOleTypeLabel, resolveGroupChildFill, shouldUseSvgWarp, buildPreviewElements, themeToCssVars, DEFAULT_INSERT_CHART_TYPE, hasCopyableFormat, printPropertiesFrameSlides, printPropertiesSlidesPerPage, VIEWER_OPTIONS_TABS, DEFAULT_QUICK_ACCESS_COMMAND_IDS, buildJoinCollaborationConfig, buildCreateCollaborationConfig, generateBroadcastRoomId, DEFAULT_BROADCAST_SERVER_URL, buildBroadcastViewerUrl, resolveTransportForServerUrl, resolveDrawingShapeNodeId, getImageSvgFilters, buildDuotoneCacheKey, getDuotoneCachedResult, applyDuotone, setDuotoneCachedResult, buildCacheKey, DEFAULT_COLOR_CHANGE_TOLERANCE, getCachedResult, applyColorChange, setCachedResult, findChartPartTarget, dragValueForPart, withChartPointValue, dragAnchorViewY, withChartTitle, computeSmartArtLayout, buildSmartArt3DModel, extractPathPoints, generatePressureCircles, isBrowserOpenableMime, formatBytes, getOleBadgeLabel, openUrlInNewTab, getWarpPath, getSlideBackgroundStyle, filterCommands, resolveTitleBarStatusKey, TITLE_BAR_CLASSES, TITLE_BAR_DEFAULT_FILE_KEY, shouldConfirmExternalHyperlink, safeOpenUrl, isPpactionUrl, parsePpactionUrl, formatVersionTimestamp, formatRelativeTime, scanAvailableFontFamilies, PRESETS, CATEGORIES, convertOmmlToLatex, clampPercent, HANDOUT_OPTIONS, TOOLBAR_TABS, SHORTCUT_REFERENCE_ITEMS, resolveViewerAddinRows, availableQuickAccessCommands, addQuickAccessCommand, removeQuickAccessCommand, moveQuickAccessCommand, activateModalFocus, buildCollaborationShareUrl, presentationInkPath, mobileElapsedSince, isFirstSlide, isLastSlide, formatMobileElapsed, mobileSlideCounter, formatElapsed, computeInlineEditorRect, findSmartArtNodeText, rebuildDrawingShapesIfCleared, shouldCommitSmartArtNodeText, groupIntoParagraphs, substituteFieldText, TAB_ROW_ACTION_CLASSES, listBackstageRecentFiles, BACKSTAGE_NAV, INSERT_CHART_TYPES, SLIDE_VIRTUALIZATION_THRESHOLD, getShapeAdjustmentHandleDescriptor, getSlideTransitionAnimations, SLIDE_TRANSITION_KEYFRAMES, formatSlideCounter, isActionHidden, isUrlSafe, computeHandoutLayout, getPrintableArea, generateNoteLineCount, computeAllNotesPages, getNotesPrintableArea, QUICK_ACCESS_COMMAND_CATALOG, notesSegmentsToSpans, erasePresentationInkAt, movePresenterPointer, appendPresentationInkPoint, NOTES_FONT_SIZE_DEFAULT, formatTime, NOTES_FONT_SIZE_MIN, clampNotesFontSize, NOTES_FONT_SIZE_STEP, NOTES_FONT_SIZE_MAX, BACKSTAGE_TEMPLATES, formatBackstageDate, formatBackstageSize, DEFAULT_VIEWER_PROFILE, resolveProfileInitial, AVATAR_COLOR_SWATCHES, getConnectionSites, generateTicks, getCommentMarkerPosition, buildThemeColorGrid, THEME_COLOR_LABELS, buildSmartArtPresetData, getLocalStorageUsageSummary, saveViewerProfile, clearAllLocalViewerData, TABLE_STYLE_PRESETS, withFrameSlides, withSlidesPerPage, formatCommentTimestamp, DIRECTIONAL_PRESETS, computeMergeCellRight, computeMergeCellDown, computeSplitCell, DUOTONE_PRESETS, ARTISTIC_EFFECTS, LBL, SEL, FILL_MODE_OPTIONS, SECTION_HEADING, NUM, GRADIENT_TYPE_OPTIONS, PATTERN_OPTIONS } from './chunk-XXNJWYKN.mjs';
|
|
3
3
|
import { LOCALE_CATALOG, translationsEn } from './chunk-2X72MOPZ.mjs';
|
|
4
|
-
import { hasShapeProperties, hasTextProperties, isInkElement, SWITCHABLE_LAYOUT_TYPES, isImageLikeElement, getLinkedTextBoxSegments, getSubstituteFontFamily, themeColorSchemesEqual, setSmartArtNodeStyle, updateSmartArtNodeText, THEME_COLOR_SCHEME_KEYS, chartDataChangeType, chartDataUpdatePoint, chartDataAddCategory, chartDataRemoveCategory, chartDataAddSeries, chartDataRemoveSeries, setChartAxisLogScale, setChartAxisTitleStyle, setChartAxisGridlineStyle, setChartSeriesMarker, setChartSeriesChartType, setChartDataPointFill, setChartDataPointExplosion, setChartDataPointMarker, setChartDataPointLabel, getOleObjectTypeLabel, pptxActionToElementAction, applyThemeOverrideToSlide, COLOR_MAP_ALIAS_KEYS, DEFAULT_COLOR_MAP, addSmartArtNodeAsChild, removeSmartArtNode, elementActionToPptxAction, switchSmartArtLayout, addSmartArtNode, demoteSmartArtNode, promoteSmartArtNode, reorderSmartArtNode } from './chunk-
|
|
4
|
+
import { hasShapeProperties, hasTextProperties, isInkElement, SWITCHABLE_LAYOUT_TYPES, isImageLikeElement, getLinkedTextBoxSegments, evaluatePresetShape, getSubstituteFontFamily, themeColorSchemesEqual, setSmartArtNodeStyle, updateSmartArtNodeText, THEME_COLOR_SCHEME_KEYS, chartDataChangeType, chartDataUpdatePoint, chartDataAddCategory, chartDataRemoveCategory, chartDataAddSeries, chartDataRemoveSeries, setChartAxisLogScale, setChartAxisTitleStyle, setChartAxisGridlineStyle, setChartSeriesMarker, setChartSeriesChartType, setChartDataPointFill, setChartDataPointExplosion, setChartDataPointMarker, setChartDataPointLabel, getOleObjectTypeLabel, pptxActionToElementAction, applyThemeOverrideToSlide, COLOR_MAP_ALIAS_KEYS, DEFAULT_COLOR_MAP, addSmartArtNodeAsChild, removeSmartArtNode, elementActionToPptxAction, switchSmartArtLayout, addSmartArtNode, demoteSmartArtNode, promoteSmartArtNode, reorderSmartArtNode } from './chunk-TYKXFV4C.mjs';
|
|
5
5
|
import React18, { createContext, useMemo, useState, useCallback, forwardRef, useEffect, useRef, Suspense, useLayoutEffect, useContext, useDeferredValue } from 'react';
|
|
6
6
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
7
7
|
import { useTranslation } from 'react-i18next';
|
|
8
|
-
import { LuRotateCw, LuMessageSquare, LuEyeOff, LuSettings, LuX, LuCalendarDays, LuHash, LuText, LuCast, LuSave, LuUndo, LuRedo, LuSearch, LuShieldCheck, LuPlus, LuPanelLeftClose, LuStickyNote, LuMonitor, LuColumns2, LuPresentation, LuMinus, LuLayers, LuSettings2, LuClock, LuDownload, LuTrash2, LuCheck, LuLock, LuEye, LuFileText, LuType, LuLoader, LuShieldAlert, LuSignature, LuInfo, LuTriangleAlert, LuPrinter, LuPenTool, LuChevronUp, LuChevronDown, LuWifi, LuWifiOff, LuUsers, LuCopy, LuChevronLeft, LuChevronRight, LuPlay, LuPause, LuMenu, LuSparkles, LuShare2, LuPanelLeft,
|
|
8
|
+
import { LuRotateCw, LuMessageSquare, LuEyeOff, LuSettings, LuX, LuCalendarDays, LuHash, LuText, LuCast, LuSave, LuUndo, LuRedo, LuSearch, LuPanelRight, LuShieldCheck, LuPlus, LuPanelLeftClose, LuStickyNote, LuMonitor, LuColumns2, LuPresentation, LuMinus, LuLayers, LuSettings2, LuClock, LuDownload, LuTrash2, LuCheck, LuLock, LuEye, LuFileText, LuType, LuLoader, LuShieldAlert, LuSignature, LuInfo, LuTriangleAlert, LuPrinter, LuPenTool, LuChevronUp, LuChevronDown, LuWifi, LuWifiOff, LuUsers, LuCopy, LuChevronLeft, LuChevronRight, LuPlay, LuPause, LuMenu, LuSparkles, LuShare2, LuPanelLeft, LuArrowLeft, LuFolderOpen, LuPackage, LuFileImage, LuVideo, LuBox, LuClipboardPaste, LuScissors, LuPaintbrush, LuUpload, LuSquare, LuImage, 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, LuSpellCheck, LuBookOpen, LuLanguages, LuGlobe, LuGitCompare, LuMessageSquarePlus, LuLockKeyhole, LuPanelTop, LuLayoutGrid, LuGrid3X3, LuPipette, LuRuler, LuZoomIn, LuMaximize2, LuCode, LuCaseSensitive, LuTimer, LuGripVertical, LuBold, LuItalic, LuUnderline, LuStrikethrough, LuLink, LuGrid2X2, LuCopyPlus, LuCirclePlay, LuCirclePause, LuZoomOut, LuScan, LuMonitorOff, LuClipboardCopy, LuWand, LuTextCursorInput, LuFile, LuEllipsis, LuUserRound, LuFilePlus2, LuHouse, LuUser, LuHardDrive, LuLogIn, LuFolderPlus, LuAlignLeft, LuAlignCenter, LuAlignRight, LuAlignJustify, LuColumns3, LuSpline, LuAlignHorizontalSpaceAround, LuAlignVerticalSpaceAround, LuMove, LuRadio, LuLockOpen, LuArrowDown, LuArrowUp, LuArrowRight, LuReply, LuBookmark } from 'react-icons/lu';
|
|
9
9
|
import JSZip from 'jszip';
|
|
10
10
|
|
|
11
11
|
var ViewerThemeContext = createContext(void 0);
|
|
@@ -1335,7 +1335,7 @@ function AccountPage() {
|
|
|
1335
1335
|
return void 0;
|
|
1336
1336
|
});
|
|
1337
1337
|
};
|
|
1338
|
-
const version = "2.0.
|
|
1338
|
+
const version = "2.0.41" ;
|
|
1339
1339
|
return /* @__PURE__ */ jsxs("div", { className: "mt-8 max-w-[700px] space-y-6", children: [
|
|
1340
1340
|
/* @__PURE__ */ jsxs("section", { className: cardClass, children: [
|
|
1341
1341
|
/* @__PURE__ */ jsxs("h2", { className: "flex items-center gap-2 text-sm font-semibold", children: [
|
|
@@ -3853,7 +3853,7 @@ function FailedToLoad() {
|
|
|
3853
3853
|
var LazyModel3DScene = React18.lazy(
|
|
3854
3854
|
async () => {
|
|
3855
3855
|
try {
|
|
3856
|
-
return await import('./Model3DScene-
|
|
3856
|
+
return await import('./Model3DScene-6OQ5SOFW.mjs');
|
|
3857
3857
|
} catch {
|
|
3858
3858
|
return { default: FailedToLoad };
|
|
3859
3859
|
}
|
|
@@ -6230,6 +6230,26 @@ function shouldRenderTextBody(isTextElement, hasActualText, promptText, isPresen
|
|
|
6230
6230
|
if (!isTextElement) return Boolean(promptText) && !isPresentationPassive;
|
|
6231
6231
|
return hasActualText || !promptText || !isPresentationPassive;
|
|
6232
6232
|
}
|
|
6233
|
+
function getChevronTextFrameStyle(el) {
|
|
6234
|
+
if (!("shapeType" in el) || el.shapeType !== "chevron") return void 0;
|
|
6235
|
+
const textRect = evaluatePresetShape(
|
|
6236
|
+
el.shapeType,
|
|
6237
|
+
el.width,
|
|
6238
|
+
el.height,
|
|
6239
|
+
el.shapeAdjustments
|
|
6240
|
+
)?.textRect;
|
|
6241
|
+
if (!textRect) return void 0;
|
|
6242
|
+
const width = Math.max(0, textRect.r - textRect.l);
|
|
6243
|
+
const height = Math.max(0, textRect.b - textRect.t);
|
|
6244
|
+
if (width <= 0 || height <= 0) return void 0;
|
|
6245
|
+
return {
|
|
6246
|
+
position: "absolute",
|
|
6247
|
+
left: textRect.l,
|
|
6248
|
+
top: textRect.t,
|
|
6249
|
+
width,
|
|
6250
|
+
height
|
|
6251
|
+
};
|
|
6252
|
+
}
|
|
6233
6253
|
function renderTextElementBody(options) {
|
|
6234
6254
|
const {
|
|
6235
6255
|
el,
|
|
@@ -6263,6 +6283,7 @@ function renderTextElementBody(options) {
|
|
|
6263
6283
|
const allowsNaturalVerticalOverflow = hasTextProperties(el) && el.textStyle?.autoFitMode === "none" && el.textStyle?.vertOverflow !== "clip" && (el.textStyle?.vAlign === void 0 || el.textStyle.vAlign === "top") && !isLinkedTextBox;
|
|
6264
6284
|
const textBodySizeStyle = allowsNaturalVerticalOverflow ? { height: "auto", minHeight: "100%" } : void 0;
|
|
6265
6285
|
const shapeType = "shapeType" in el ? el.shapeType : void 0;
|
|
6286
|
+
const presetTextFrameStyle = getChevronTextFrameStyle(el);
|
|
6266
6287
|
const textProperties = hasTextProperties(el) ? el : void 0;
|
|
6267
6288
|
const hasActualText = Boolean(textProperties?.text) || Boolean(textProperties?.textSegments?.length);
|
|
6268
6289
|
const shouldRenderText = shouldRenderTextBody(
|
|
@@ -6282,7 +6303,11 @@ function renderTextElementBody(options) {
|
|
|
6282
6303
|
"relative z-10 w-full h-full",
|
|
6283
6304
|
onHyperlinkClick ? "" : "pointer-events-none"
|
|
6284
6305
|
),
|
|
6285
|
-
style: {
|
|
6306
|
+
style: {
|
|
6307
|
+
...getTextLayoutStyle(el),
|
|
6308
|
+
...transformStyle,
|
|
6309
|
+
...presetTextFrameStyle
|
|
6310
|
+
},
|
|
6286
6311
|
children: /* @__PURE__ */ jsx(
|
|
6287
6312
|
WarpedText,
|
|
6288
6313
|
{
|
|
@@ -6307,7 +6332,8 @@ function renderTextElementBody(options) {
|
|
|
6307
6332
|
...txtS,
|
|
6308
6333
|
...getTextWarpStyle(txtSE),
|
|
6309
6334
|
...transformStyle,
|
|
6310
|
-
...textBodySizeStyle
|
|
6335
|
+
...textBodySizeStyle,
|
|
6336
|
+
...presetTextFrameStyle
|
|
6311
6337
|
},
|
|
6312
6338
|
children: renderTextSegments(
|
|
6313
6339
|
el,
|
|
@@ -6866,6 +6892,7 @@ function LayoutPreview({ layout }) {
|
|
|
6866
6892
|
}
|
|
6867
6893
|
function SlidesGroup(p) {
|
|
6868
6894
|
const { t } = useTranslation();
|
|
6895
|
+
const { isHidden } = useToolbarVisibility(p.hiddenActions);
|
|
6869
6896
|
const [newSlideMenuOpen, setNewSlideMenuOpen] = useState(false);
|
|
6870
6897
|
const [layoutMenuOpen, setLayoutMenuOpen] = useState(false);
|
|
6871
6898
|
const newSlideMenuRef = useRef(null);
|
|
@@ -6903,7 +6930,7 @@ function SlidesGroup(p) {
|
|
|
6903
6930
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
6904
6931
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center gap-0.5", children: [
|
|
6905
6932
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1", children: [
|
|
6906
|
-
/* @__PURE__ */ jsxs("div", { className: "relative inline-flex items-center", ref: newSlideMenuRef, children: [
|
|
6933
|
+
!isHidden("newSlide") && /* @__PURE__ */ jsxs("div", { className: "relative inline-flex items-center", ref: newSlideMenuRef, children: [
|
|
6907
6934
|
/* @__PURE__ */ jsxs(
|
|
6908
6935
|
"button",
|
|
6909
6936
|
{
|
|
@@ -6933,22 +6960,29 @@ function SlidesGroup(p) {
|
|
|
6933
6960
|
children: /* @__PURE__ */ jsx(LuChevronDown, { className: "w-3 h-3" })
|
|
6934
6961
|
}
|
|
6935
6962
|
),
|
|
6936
|
-
newSlideMenuOpen && /* @__PURE__ */ jsx(
|
|
6937
|
-
|
|
6963
|
+
newSlideMenuOpen && /* @__PURE__ */ jsx(
|
|
6964
|
+
RibbonMenu,
|
|
6938
6965
|
{
|
|
6939
|
-
|
|
6940
|
-
className: "flex
|
|
6941
|
-
|
|
6942
|
-
|
|
6943
|
-
|
|
6944
|
-
|
|
6945
|
-
|
|
6946
|
-
|
|
6947
|
-
|
|
6948
|
-
|
|
6949
|
-
|
|
6950
|
-
|
|
6951
|
-
|
|
6966
|
+
anchorRef: newSlideMenuRef,
|
|
6967
|
+
className: "flex flex-col w-[620px] pt-1",
|
|
6968
|
+
children: /* @__PURE__ */ jsx("div", { className: "grid grid-cols-4 gap-2 rounded-lg border border-border bg-popover backdrop-blur-lg shadow-2xl p-3 max-h-[520px] overflow-y-auto", children: p.layoutOptions.map((lo) => /* @__PURE__ */ jsxs(
|
|
6969
|
+
"button",
|
|
6970
|
+
{
|
|
6971
|
+
type: "button",
|
|
6972
|
+
className: "flex min-w-0 flex-col items-center gap-1 rounded p-1 text-xs text-foreground hover:bg-muted transition-colors",
|
|
6973
|
+
onClick: () => {
|
|
6974
|
+
p.onInsertSlideFromLayout(lo.path, lo.name);
|
|
6975
|
+
setNewSlideMenuOpen(false);
|
|
6976
|
+
},
|
|
6977
|
+
children: [
|
|
6978
|
+
/* @__PURE__ */ jsx(LayoutPreview, { layout: lo }),
|
|
6979
|
+
/* @__PURE__ */ jsx("span", { className: "w-full truncate text-center", children: lo.name })
|
|
6980
|
+
]
|
|
6981
|
+
},
|
|
6982
|
+
lo.path
|
|
6983
|
+
)) })
|
|
6984
|
+
}
|
|
6985
|
+
)
|
|
6952
6986
|
] }),
|
|
6953
6987
|
/* @__PURE__ */ jsxs("div", { className: "relative inline-flex items-center", ref: layoutMenuRef, children: [
|
|
6954
6988
|
/* @__PURE__ */ jsxs(
|
|
@@ -6990,7 +7024,7 @@ function SlidesGroup(p) {
|
|
|
6990
7024
|
);
|
|
6991
7025
|
}) }) })
|
|
6992
7026
|
] }),
|
|
6993
|
-
/* @__PURE__ */ jsxs(
|
|
7027
|
+
!isHidden("resetSlide") && /* @__PURE__ */ jsxs(
|
|
6994
7028
|
"button",
|
|
6995
7029
|
{
|
|
6996
7030
|
type: "button",
|
|
@@ -7004,7 +7038,7 @@ function SlidesGroup(p) {
|
|
|
7004
7038
|
]
|
|
7005
7039
|
}
|
|
7006
7040
|
),
|
|
7007
|
-
/* @__PURE__ */ jsxs(
|
|
7041
|
+
!isHidden("section") && /* @__PURE__ */ jsxs(
|
|
7008
7042
|
"button",
|
|
7009
7043
|
{
|
|
7010
7044
|
type: "button",
|
|
@@ -7334,7 +7368,8 @@ function HomeSection(p) {
|
|
|
7334
7368
|
onInsertSlideFromLayout: p.onInsertSlideFromLayout,
|
|
7335
7369
|
onApplyLayout: p.onApplyLayout,
|
|
7336
7370
|
onResetSlide: p.onResetSlide,
|
|
7337
|
-
onAddSection: p.onAddSection
|
|
7371
|
+
onAddSection: p.onAddSection,
|
|
7372
|
+
hiddenActions: p.hiddenActions
|
|
7338
7373
|
}
|
|
7339
7374
|
),
|
|
7340
7375
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center gap-0.5", children: [
|
|
@@ -10374,9 +10409,10 @@ function ToolbarPrimaryRow(p) {
|
|
|
10374
10409
|
onToggleInspector
|
|
10375
10410
|
} = p;
|
|
10376
10411
|
const collab = useCollaboration();
|
|
10412
|
+
const { isHidden } = useToolbarVisibility(p.hiddenActions);
|
|
10377
10413
|
const qab = "p-1 max-md:p-2 max-md:min-h-[40px] max-md:min-w-[40px] rounded-sm transition-colors hover:bg-accent/60 disabled:opacity-40 disabled:cursor-not-allowed active:scale-90 active:opacity-70";
|
|
10378
10414
|
return /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-0.5 max-md:gap-0 px-1.5 py-0.5 max-md:px-1", children: [
|
|
10379
|
-
mode !== "present" && /* @__PURE__ */ jsx(
|
|
10415
|
+
mode !== "present" && !isHidden("slidesPaneToggle") && /* @__PURE__ */ jsx(
|
|
10380
10416
|
"button",
|
|
10381
10417
|
{
|
|
10382
10418
|
type: "button",
|
|
@@ -10388,7 +10424,7 @@ function ToolbarPrimaryRow(p) {
|
|
|
10388
10424
|
}
|
|
10389
10425
|
),
|
|
10390
10426
|
/* @__PURE__ */ jsx("div", { className: "flex-1 min-w-2 max-md:min-w-1" }),
|
|
10391
|
-
(mode === "edit" || mode === "master") && /* @__PURE__ */ jsxs(
|
|
10427
|
+
(mode === "edit" || mode === "master") && !isHidden("commentsToggle") && /* @__PURE__ */ jsxs(
|
|
10392
10428
|
"button",
|
|
10393
10429
|
{
|
|
10394
10430
|
type: "button",
|
|
@@ -10425,7 +10461,7 @@ function ToolbarPrimaryRow(p) {
|
|
|
10425
10461
|
)
|
|
10426
10462
|
}
|
|
10427
10463
|
),
|
|
10428
|
-
/* @__PURE__ */ jsx(
|
|
10464
|
+
!isHidden("present") && /* @__PURE__ */ jsx(
|
|
10429
10465
|
ModeSwitcher,
|
|
10430
10466
|
{
|
|
10431
10467
|
mode: p.mode,
|
|
@@ -10440,7 +10476,7 @@ function ToolbarPrimaryRow(p) {
|
|
|
10440
10476
|
showSubtitles: p.showSubtitles
|
|
10441
10477
|
}
|
|
10442
10478
|
),
|
|
10443
|
-
/* @__PURE__ */ jsx(
|
|
10479
|
+
!isHidden("customShows") && /* @__PURE__ */ jsx(
|
|
10444
10480
|
CustomShowsControls,
|
|
10445
10481
|
{
|
|
10446
10482
|
customShows: p.customShows,
|
|
@@ -10455,7 +10491,7 @@ function ToolbarPrimaryRow(p) {
|
|
|
10455
10491
|
}
|
|
10456
10492
|
),
|
|
10457
10493
|
sep,
|
|
10458
|
-
(mode === "edit" || mode === "master") && /* @__PURE__ */ jsx(
|
|
10494
|
+
(mode === "edit" || mode === "master") && !isHidden("compactPrimaryRow") && /* @__PURE__ */ jsx(
|
|
10459
10495
|
"button",
|
|
10460
10496
|
{
|
|
10461
10497
|
type: "button",
|
|
@@ -10477,7 +10513,7 @@ function ToolbarPrimaryRow(p) {
|
|
|
10477
10513
|
children: /* @__PURE__ */ jsx(LuSparkles, { className: ic })
|
|
10478
10514
|
}
|
|
10479
10515
|
),
|
|
10480
|
-
/* @__PURE__ */ jsx(
|
|
10516
|
+
!isHidden("settings") && /* @__PURE__ */ jsx(
|
|
10481
10517
|
"button",
|
|
10482
10518
|
{
|
|
10483
10519
|
type: "button",
|
|
@@ -10489,17 +10525,18 @@ function ToolbarPrimaryRow(p) {
|
|
|
10489
10525
|
}
|
|
10490
10526
|
),
|
|
10491
10527
|
!canEdit && /* @__PURE__ */ jsx("span", { className: "inline-flex items-center px-2 py-0.5 rounded-sm bg-amber-600/90 text-[10px] text-amber-50", children: t("pptx.toolbar.readOnly") }),
|
|
10492
|
-
/* @__PURE__ */ jsx(OverflowMenu, { ...p })
|
|
10528
|
+
!isHidden("overflow") && /* @__PURE__ */ jsx(OverflowMenu, { ...p })
|
|
10493
10529
|
] });
|
|
10494
10530
|
}
|
|
10495
10531
|
function Toolbar(p) {
|
|
10496
10532
|
const { mode, isNarrowViewport, isCompactToolbarOpen, toolbarSection, onSetToolbarSection } = p;
|
|
10497
10533
|
const { t } = useTranslation();
|
|
10498
|
-
const { isTabVisible } = useToolbarVisibility(p.hiddenActions);
|
|
10534
|
+
const { isHidden, isTabVisible } = useToolbarVisibility(p.hiddenActions);
|
|
10535
|
+
const compactPrimaryRow = isHidden("compactPrimaryRow");
|
|
10499
10536
|
if (isNarrowViewport && mode !== "present") {
|
|
10500
10537
|
return /* @__PURE__ */ jsx(MobileToolbar, { ...p });
|
|
10501
10538
|
}
|
|
10502
|
-
const sFil = toolbarSection === "file";
|
|
10539
|
+
const sFil = toolbarSection === "file" && isTabVisible("file");
|
|
10503
10540
|
const sHome = toolbarSection === "home";
|
|
10504
10541
|
const sIns = toolbarSection === "insert";
|
|
10505
10542
|
const sTxt = sHome || toolbarSection === "text";
|
|
@@ -10521,7 +10558,7 @@ function Toolbar(p) {
|
|
|
10521
10558
|
"aria-label": t("pptx.toolbar.presentationToolbarAria"),
|
|
10522
10559
|
className: "relative z-20 border-b border-border bg-secondary/50 overflow-visible",
|
|
10523
10560
|
children: [
|
|
10524
|
-
/* @__PURE__ */ jsx(ToolbarPrimaryRow, { ...p }),
|
|
10561
|
+
!compactPrimaryRow && /* @__PURE__ */ jsx(ToolbarPrimaryRow, { ...p }),
|
|
10525
10562
|
showRibbon && /* @__PURE__ */ jsxs(
|
|
10526
10563
|
"div",
|
|
10527
10564
|
{
|
|
@@ -10553,6 +10590,20 @@ function Toolbar(p) {
|
|
|
10553
10590
|
hiddenActions: p.hiddenActions
|
|
10554
10591
|
}
|
|
10555
10592
|
),
|
|
10593
|
+
compactPrimaryRow && (mode === "edit" || mode === "master") && /* @__PURE__ */ jsx(
|
|
10594
|
+
"button",
|
|
10595
|
+
{
|
|
10596
|
+
type: "button",
|
|
10597
|
+
onClick: p.onToggleInspector,
|
|
10598
|
+
className: cn(
|
|
10599
|
+
"mr-1 rounded-sm p-1.5 transition-colors hover:bg-accent/60",
|
|
10600
|
+
p.isInspectorPaneOpen ? "text-foreground" : "text-muted-foreground"
|
|
10601
|
+
),
|
|
10602
|
+
title: t("pptx.toolbar.toggleInspector"),
|
|
10603
|
+
"aria-label": t("pptx.toolbar.toggleInspector"),
|
|
10604
|
+
children: /* @__PURE__ */ jsx(LuPanelRight, { className: "h-4 w-4" })
|
|
10605
|
+
}
|
|
10606
|
+
),
|
|
10556
10607
|
isNarrowViewport && /* @__PURE__ */ jsx(
|
|
10557
10608
|
"button",
|
|
10558
10609
|
{
|
|
@@ -10627,7 +10678,8 @@ function Toolbar(p) {
|
|
|
10627
10678
|
themeFonts: p.themeFonts,
|
|
10628
10679
|
embeddedFontFamilies: p.embeddedFontFamilies,
|
|
10629
10680
|
onEmbedCustomFonts: p.onEmbedCustomFonts,
|
|
10630
|
-
onUploadCustomFontPackage: p.onUploadCustomFontPackage
|
|
10681
|
+
onUploadCustomFontPackage: p.onUploadCustomFontPackage,
|
|
10682
|
+
hiddenActions: p.hiddenActions
|
|
10631
10683
|
}
|
|
10632
10684
|
),
|
|
10633
10685
|
sIns && /* @__PURE__ */ jsx(
|
|
@@ -25735,14 +25787,22 @@ function InspectorCommentsSection({
|
|
|
25735
25787
|
] })
|
|
25736
25788
|
] });
|
|
25737
25789
|
}
|
|
25790
|
+
function getVisibleInspectorTabs(hiddenActions) {
|
|
25791
|
+
return INSPECTOR_TABS.filter(({ key }) => {
|
|
25792
|
+
if (key === "elements") return !isActionHidden("inspectorElements", hiddenActions);
|
|
25793
|
+
if (key === "comments") return !isActionHidden("inspectorComments", hiddenActions);
|
|
25794
|
+
return true;
|
|
25795
|
+
});
|
|
25796
|
+
}
|
|
25738
25797
|
function InspectorPaneHeader({
|
|
25739
25798
|
activeTab,
|
|
25740
25799
|
onSetActiveTab,
|
|
25741
|
-
onClose
|
|
25800
|
+
onClose,
|
|
25801
|
+
hiddenActions
|
|
25742
25802
|
}) {
|
|
25743
25803
|
const { t } = useTranslation();
|
|
25744
25804
|
return /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between gap-2 px-3 py-2 border-b border-border", children: [
|
|
25745
|
-
/* @__PURE__ */ jsx("div", { className: "flex items-center gap-1 rounded bg-muted p-0.5", children:
|
|
25805
|
+
/* @__PURE__ */ jsx("div", { className: "flex items-center gap-1 rounded bg-muted p-0.5", children: getVisibleInspectorTabs(hiddenActions).map(({ key, label, icon: Icon }) => /* @__PURE__ */ jsxs(
|
|
25746
25806
|
"button",
|
|
25747
25807
|
{
|
|
25748
25808
|
type: "button",
|
|
@@ -26727,10 +26787,14 @@ function InspectorPane(props) {
|
|
|
26727
26787
|
onGetTemplateBackgroundColor,
|
|
26728
26788
|
mediaDataUrls,
|
|
26729
26789
|
theme,
|
|
26730
|
-
panelWidth
|
|
26790
|
+
panelWidth,
|
|
26791
|
+
hiddenActions
|
|
26731
26792
|
} = props;
|
|
26732
26793
|
const hasSelection = selectedElement !== null;
|
|
26733
26794
|
const { t } = useTranslation();
|
|
26795
|
+
const { isHidden } = useToolbarVisibility(hiddenActions);
|
|
26796
|
+
const backgroundOnly = isHidden("inspectorBackgroundOnly");
|
|
26797
|
+
const effectiveActiveTab = activeTab === "elements" && isHidden("inspectorElements") || activeTab === "comments" && isHidden("inspectorComments") ? "properties" : activeTab;
|
|
26734
26798
|
const { dragY, handlers: dragHandlers } = useSheetDismissDrag(onClose);
|
|
26735
26799
|
const {
|
|
26736
26800
|
animationPanelHeight,
|
|
@@ -26783,13 +26847,14 @@ function InspectorPane(props) {
|
|
|
26783
26847
|
/* @__PURE__ */ jsx(
|
|
26784
26848
|
InspectorPaneHeader,
|
|
26785
26849
|
{
|
|
26786
|
-
activeTab,
|
|
26850
|
+
activeTab: effectiveActiveTab,
|
|
26787
26851
|
onSetActiveTab,
|
|
26788
|
-
onClose
|
|
26852
|
+
onClose,
|
|
26853
|
+
hiddenActions
|
|
26789
26854
|
}
|
|
26790
26855
|
),
|
|
26791
26856
|
/* @__PURE__ */ jsxs("div", { className: "flex-1 overflow-y-auto p-3 space-y-3", children: [
|
|
26792
|
-
|
|
26857
|
+
effectiveActiveTab === "elements" && /* @__PURE__ */ jsxs("div", { className: "space-y-1", children: [
|
|
26793
26858
|
/* @__PURE__ */ jsx("div", { className: cn(HEADING, "mb-2"), children: t("pptx.inspector.layerOrder") }),
|
|
26794
26859
|
activeSlide ? [...activeSlide.elements || []].reverse().map((el, ri) => {
|
|
26795
26860
|
const idx = (activeSlide.elements || []).length - 1 - ri;
|
|
@@ -26813,7 +26878,7 @@ function InspectorPane(props) {
|
|
|
26813
26878
|
);
|
|
26814
26879
|
}) : /* @__PURE__ */ jsx("div", { className: "text-muted-foreground italic", children: t("pptx.inspector.noSlideSelected") })
|
|
26815
26880
|
] }),
|
|
26816
|
-
|
|
26881
|
+
effectiveActiveTab === "properties" && /* @__PURE__ */ jsx("div", { className: "space-y-3", children: !backgroundOnly && hasSelection && selectedElement ? /* @__PURE__ */ jsx(
|
|
26817
26882
|
ElementInspectorBody,
|
|
26818
26883
|
{
|
|
26819
26884
|
selectedElement,
|
|
@@ -26827,7 +26892,7 @@ function InspectorPane(props) {
|
|
|
26827
26892
|
onMoveLayer
|
|
26828
26893
|
}
|
|
26829
26894
|
) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
26830
|
-
/* @__PURE__ */ jsx(
|
|
26895
|
+
!backgroundOnly && /* @__PURE__ */ jsx(
|
|
26831
26896
|
PresentationPropertiesPanel,
|
|
26832
26897
|
{
|
|
26833
26898
|
canEdit,
|
|
@@ -26868,7 +26933,7 @@ function InspectorPane(props) {
|
|
|
26868
26933
|
}
|
|
26869
26934
|
)
|
|
26870
26935
|
] }) }),
|
|
26871
|
-
|
|
26936
|
+
effectiveActiveTab === "comments" && /* @__PURE__ */ jsx(
|
|
26872
26937
|
InspectorCommentsSection,
|
|
26873
26938
|
{
|
|
26874
26939
|
comments,
|
|
@@ -26896,7 +26961,7 @@ function InspectorPane(props) {
|
|
|
26896
26961
|
}
|
|
26897
26962
|
)
|
|
26898
26963
|
] }),
|
|
26899
|
-
hasSelection && selectedElement && activeSlide && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
26964
|
+
!backgroundOnly && hasSelection && selectedElement && activeSlide && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
26900
26965
|
/* @__PURE__ */ jsx(ResizeHandle, { direction: "vertical", onResize: onResizeAnimationPanel }),
|
|
26901
26966
|
/* @__PURE__ */ jsx(
|
|
26902
26967
|
"div",
|
|
@@ -29806,13 +29871,15 @@ function ViewerInspector({
|
|
|
29806
29871
|
onGetTemplateBackgroundColor,
|
|
29807
29872
|
mediaDataUrls,
|
|
29808
29873
|
theme,
|
|
29809
|
-
panelWidth
|
|
29874
|
+
panelWidth,
|
|
29875
|
+
hiddenActions
|
|
29810
29876
|
}) {
|
|
29811
29877
|
const { t } = useTranslation();
|
|
29812
29878
|
if (!isOpen) {
|
|
29813
29879
|
return null;
|
|
29814
29880
|
}
|
|
29815
|
-
const
|
|
29881
|
+
const requestedTab = sidebarPanelMode;
|
|
29882
|
+
const tab = requestedTab === "elements" && isActionHidden("inspectorElements", hiddenActions) || requestedTab === "comments" && isActionHidden("inspectorComments", hiddenActions) ? "properties" : requestedTab;
|
|
29816
29883
|
if (!selectedElement && tab !== "comments" && tab !== "properties") {
|
|
29817
29884
|
return null;
|
|
29818
29885
|
}
|
|
@@ -29830,6 +29897,7 @@ function ViewerInspector({
|
|
|
29830
29897
|
children: /* @__PURE__ */ jsx(
|
|
29831
29898
|
InspectorPane,
|
|
29832
29899
|
{
|
|
29900
|
+
hiddenActions,
|
|
29833
29901
|
isOpen,
|
|
29834
29902
|
canEdit,
|
|
29835
29903
|
mode,
|
|
@@ -29839,7 +29907,7 @@ function ViewerInspector({
|
|
|
29839
29907
|
selectedElement,
|
|
29840
29908
|
selectedElementIds: effectiveSelectedIds,
|
|
29841
29909
|
tableEditorState,
|
|
29842
|
-
activeTab:
|
|
29910
|
+
activeTab: tab,
|
|
29843
29911
|
onSetActiveTab: (nextTab) => onSetSidebarPanelMode(nextTab),
|
|
29844
29912
|
onClose,
|
|
29845
29913
|
onUpdateElementStyle,
|
|
@@ -29903,6 +29971,7 @@ function TitleBar(p) {
|
|
|
29903
29971
|
const { t } = useTranslation();
|
|
29904
29972
|
const editing = (p.mode === "edit" || p.mode === "master") && p.canEdit;
|
|
29905
29973
|
const { isHidden } = useToolbarVisibility(p.hiddenActions);
|
|
29974
|
+
const fileControlsHidden = isHidden("file");
|
|
29906
29975
|
const [searchQuery, setSearchQuery] = useState("");
|
|
29907
29976
|
const [searchFocused, setSearchFocused] = useState(false);
|
|
29908
29977
|
const searchRef = useRef(null);
|
|
@@ -29949,7 +30018,7 @@ function TitleBar(p) {
|
|
|
29949
30018
|
return /* @__PURE__ */ jsxs("div", { className: TITLE_BAR_CLASSES.container, "data-pptx-title-bar": "", children: [
|
|
29950
30019
|
/* @__PURE__ */ jsx("span", { className: TITLE_BAR_CLASSES.logo, "aria-hidden": "true", children: "P" }),
|
|
29951
30020
|
editing && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
29952
|
-
/* @__PURE__ */ jsxs("span", { className: TITLE_BAR_CLASSES.autosaveGroup, children: [
|
|
30021
|
+
!fileControlsHidden && /* @__PURE__ */ jsxs("span", { className: TITLE_BAR_CLASSES.autosaveGroup, children: [
|
|
29953
30022
|
/* @__PURE__ */ jsx("span", { className: TITLE_BAR_CLASSES.autosaveLabel, children: t("pptx.titleBar.autoSave") }),
|
|
29954
30023
|
/* @__PURE__ */ jsx(
|
|
29955
30024
|
"button",
|
|
@@ -29975,10 +30044,12 @@ function TitleBar(p) {
|
|
|
29975
30044
|
)
|
|
29976
30045
|
}
|
|
29977
30046
|
),
|
|
29978
|
-
/* @__PURE__ */ jsx("span", { className: TITLE_BAR_CLASSES.autosaveLabel, children: t(
|
|
30047
|
+
/* @__PURE__ */ jsx("span", { className: TITLE_BAR_CLASSES.autosaveLabel, children: t(
|
|
30048
|
+
p.autosaveEnabled ? "pptx.titleBar.autoSaveOn" : "pptx.titleBar.autoSaveOff"
|
|
30049
|
+
) })
|
|
29979
30050
|
] }),
|
|
29980
|
-
/* @__PURE__ */ jsx("div", { className: TITLE_BAR_CLASSES.separator }),
|
|
29981
|
-
p.onSave && /* @__PURE__ */ jsx(
|
|
30051
|
+
!fileControlsHidden && /* @__PURE__ */ jsx("div", { className: TITLE_BAR_CLASSES.separator }),
|
|
30052
|
+
!fileControlsHidden && p.onSave && /* @__PURE__ */ jsx(
|
|
29982
30053
|
"button",
|
|
29983
30054
|
{
|
|
29984
30055
|
type: "button",
|
|
@@ -30017,7 +30088,7 @@ function TitleBar(p) {
|
|
|
30017
30088
|
] }),
|
|
30018
30089
|
/* @__PURE__ */ jsxs("span", { className: TITLE_BAR_CLASSES.fileGroup, children: [
|
|
30019
30090
|
/* @__PURE__ */ jsx("span", { className: TITLE_BAR_CLASSES.fileName, children: p.fileName || t(TITLE_BAR_DEFAULT_FILE_KEY) }),
|
|
30020
|
-
editing && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
30091
|
+
editing && !fileControlsHidden && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
30021
30092
|
/* @__PURE__ */ jsx("span", { className: TITLE_BAR_CLASSES.statusDot, "aria-hidden": "true", children: "\u2022" }),
|
|
30022
30093
|
/* @__PURE__ */ jsx(
|
|
30023
30094
|
"span",
|
|
@@ -30032,7 +30103,7 @@ function TitleBar(p) {
|
|
|
30032
30103
|
)
|
|
30033
30104
|
] })
|
|
30034
30105
|
] }),
|
|
30035
|
-
/* @__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: [
|
|
30106
|
+
!isHidden("commandSearch") && /* @__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: [
|
|
30036
30107
|
/* @__PURE__ */ jsxs(
|
|
30037
30108
|
"div",
|
|
30038
30109
|
{
|
|
@@ -32775,7 +32846,8 @@ function ViewerSidePanels(props) {
|
|
|
32775
32846
|
onResizeRight,
|
|
32776
32847
|
aiConfig,
|
|
32777
32848
|
aiBridge,
|
|
32778
|
-
aiPanel
|
|
32849
|
+
aiPanel,
|
|
32850
|
+
hiddenActions
|
|
32779
32851
|
} = props;
|
|
32780
32852
|
const effectiveSlide = mode === "master" ? masterPseudoSlide : activeSlide;
|
|
32781
32853
|
const currentBuiltInTheme = BUILT_IN_THEMES.find(
|
|
@@ -32786,6 +32858,7 @@ function ViewerSidePanels(props) {
|
|
|
32786
32858
|
/* @__PURE__ */ jsx(
|
|
32787
32859
|
ViewerInspector,
|
|
32788
32860
|
{
|
|
32861
|
+
hiddenActions,
|
|
32789
32862
|
isOpen: (mode === "edit" || mode === "master") && s.isInspectorPaneOpen,
|
|
32790
32863
|
canEdit,
|
|
32791
32864
|
mode,
|
|
@@ -33109,6 +33182,7 @@ function ViewerMainContent(props) {
|
|
|
33109
33182
|
/* @__PURE__ */ jsx(
|
|
33110
33183
|
ViewerSidePanels,
|
|
33111
33184
|
{
|
|
33185
|
+
hiddenActions,
|
|
33112
33186
|
mode,
|
|
33113
33187
|
canEdit,
|
|
33114
33188
|
activeSlide,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { ALL_ANIMATION_PRESETS, BLIP_FILL_ORDER, CLOUD_CALLOUT_TAIL_COUNT, CLOUD_LOBE_COUNT, COLOR_MAP_ALIAS_KEYS, CONNECTOR_ARROW_OPTIONS, CONNECTOR_GEOMETRY_OPTIONS, ChartBuilder, ConnectorBuilder, ConnectorXmlFactory, DEFAULT_CANVAS_HEIGHT, DEFAULT_CANVAS_WIDTH, DEFAULT_COLOR_MAP, DEFAULT_FILL_COLOR, DEFAULT_FONT_FAMILY, DEFAULT_MAX_UNCOMPRESSED_BYTES, DEFAULT_SCHEME_COLOR_MAP, DEFAULT_STROKE_COLOR, DEFAULT_TEXT_COLOR, DEFAULT_TEXT_FONT_SIZE, DIGEST_ALGORITHM_TO_HASH, DIGEST_ALGORITHM_TO_WEB_CRYPTO, DIGITAL_SIGNATURE_ORIGIN_REL_TYPE, DIGITAL_SIGNATURE_REL_TYPE, DataIntegrityError, DocumentConverter, EFFECT_LST_ORDER, ELEMENT_FIELD_KIND, EMPHASIS_PRESETS, EMU_PER_INCH, EMU_PER_PIXEL3 as EMU_PER_PIXEL, EMU_PER_POINT, EMU_PER_PX, ENTERPRISE_FAIL_ON_REVOCATION_UNKNOWN_ENV, ENTERPRISE_REQUIRE_REVOCATION_ENV, ENTERPRISE_REQUIRE_TIMESTAMP_ENV, ENTERPRISE_TRUST_ROOTS_FILE_ENV, ENTERPRISE_TRUST_ROOTS_PEM_ENV, ENTRANCE_PRESETS, EXIT_PRESETS, EncryptedFileError, FONT_SUBSTITUTION_MAP, FreeformPathBuilder, GroupBuilder, ImageBuilder, IncorrectPasswordError, MAX_TABLE_DIMENSION, MAX_ZIP_ENTRY_COUNT, MIN_ELEMENT_SIZE, MIN_TABLE_DIMENSION, MOTION_PATH_PRESETS, MediaBuilder, MediaContext, MediaGraphicFrameXmlFactory, OOXML_TO_PRESET_EMPH, OOXML_TO_PRESET_ENTR, OOXML_TO_PRESET_EXIT, OPC_RELATIONSHIP_TRANSFORM, OPENXML_COVERAGE, OPENXML_SCHEMA_CONSTRUCT_IDS, OPENXML_STRICT_SCHEMA_CONSTRUCT_IDS, OPENXML_TRANSITIONAL_SCHEMA_CONSTRUCT_IDS, Ole2ParseError, P14_GUIDE_URI, P15_GUIDE_URI, PANOSE_FAMILY_MAP, PANOSE_MONOSPACE_PROPORTION, PANOSE_SANS_SERIF_STYLES, PANOSE_WEIGHT_MAP, POWERPOINT_PRESENCE_KEY, PPTX_VIEWER_MANIFEST_NS, PRESET_COLOR_MAP, PRESET_SHAPE_CATEGORY_LABELS, PRESET_SHAPE_CLIP_PATHS, PRESET_SHAPE_DEFINITIONS, PRESET_SHAPE_GEOMETRY_TABLE, PRESET_TO_OOXML, PictureXmlFactory, PptxAnimationWriteService, PptxColorStyleCodec, PptxCommentAuthorsXmlFactory, PptxCommentXmlFactoryProvider, PptxCompatibilityService, PptxConnectorParser, PptxContentTypesBuilder, PptxDocumentPropertiesUpdater, PptxEditorAnimationService, PptxElementTransformUpdater, PptxElementXmlBuilder, PptxGraphicFrameParser, PptxHandler, PptxHandlerRuntime96 as PptxHandlerRuntime, PptxHandlerRuntimeFactory, PptxLoadDataBuilder, PptxMarkdownConverter, PptxMediaDataParser, PptxNativeAnimationService, PptxPresentationSaveBuilder, PptxPresentationSlidesReconciler, PptxRuntimeDependencyFactory, PptxSaveConstantsFactory, PptxSaveState as PptxSaveSession, PptxSaveStateBuilder as PptxSaveSessionBuilder, PptxSaveState, PptxSaveStateBuilder, PptxShapeIdValidator, PptxShapeStyleExtractor, PptxSlideBackgroundBuilder, PptxSlideBuilder, PptxSlideCommentPartWriter, PptxSlideCommentsXmlFactory, PptxSlideElementsBuilder, PptxSlideLoaderService, PptxSlideMediaRelationshipBuilder, PptxSlideNotesBuilder, PptxSlideNotesPartUpdater, PptxSlideRelationshipRegistry, PptxSlideTransitionService, PptxTableDataParser, PptxTemplateBackgroundService, PptxXmlBuilder, PptxXmlFactoryProvider, PptxXmlLookupService, Presentation, PresentationBuilder, SHAPE_TREE_ELEMENT_TAGS, SLIDE_FIELD_KIND, SMART_ART_DEFINITION_PARTS, SP_PR_ORDER, STROKE_DASH_OPTIONS, SUPPORTED_XML_CANON_TRANSFORMS, SWITCHABLE_LAYOUT_TYPES, SYSTEM_COLOR_MAP, ShapeBuilder, SlideBuilder, SlideProcessor, SlideSizes, SvgExporter, TC_PR_BORDERS_ORDER, THEME_COLOR_SCHEME_KEYS, THEME_PRESETS, TRANSITION_VALID_DIRECTIONS, TableBuilder, TextBuilder, TextShapeXmlFactory, ThemePresets, VML_SHAPE_TAGS, XMLDSIG_NS, XML_TRANSFORM_ENVELOPED_SIGNATURE, ZipBombError, addChartCategory, addChartSeries, addSection, addSmartArtNode, addSmartArtNodeAsChild, applyActiveXControlsToSlide, applyBubbleChartOptions, applyChartLayouts, applyChartManualLayout, applyChartUpDownBars, applyCustomShows, applyDiagramRelationshipIds, applyDrawingColorTransforms, applyDrawingLineDash, applyDrawingMediaReference, applyKinsokuToXml, applySections, applySmartArtConstraintRules, applySmartArtLayoutDefinition, applyTableCellTextAndStyle, applyTemplate, applyThemeOverrideToSlide, applyThemeToData, areNamespacesSupported, buildActiveXControlNode, buildCalloutLeaderLineSvgPath, buildClrMapOverrideXml, buildFontFamilyString, buildGuideListExtension, buildInkMlContent, buildLinkedTextBoxChains, buildOle2, buildSingleEffectNode, buildSlideReferenceRemap, buildSrgbColorChoice, buildThemeColorMap, catmullRomToBezier, chartDataAddCategory, chartDataAddSeries, chartDataChangeType, chartDataRemoveCategory, chartDataRemoveSeries, chartDataUpdatePoint, checkBlankSlide, checkComplexTables, checkDuplicateTitles, checkLowContrast, checkMissingAltText, checkMissingSlideTitle, checkPresentation, clampUnitInterval, classifyPanose, cloneElement, cloneShapeStyle, cloneSlide, cloneTemplateElementsBySlideId, cloneTextStyle, cloneXmlObject, cm, cmToEmu, colorWithOpacity, colorsEqual, combineShapes, computeContrastRatio, computeCycleLayout, computeDetailStatus, computeDigestBase64 as computeDigestBase64WebCrypto, computeHierarchyLayout, computeLinearLayout, computeMatrixLayout, computePyramidLayout, computeSmartArtLayout, computeSnakeLayout, computeVerificationStatus, convertEmfToDataUrl, convertWmfToDataUrl, convertXmlToStrict, createArrayBufferCopy, createBuiltinVariables, createChartElement, createConnectorElement, createDefaultPptxHandlerRuntime, createEditorId, createFreeformElement, createGroupElement, createImageElement, createLayout, createLayouts, createMediaElement, createModifyVerifier, createPptxSaveConstants, createShapeElement, createTableCellXml, createTableElement, createTableGraphicFrameRawXml, createTemplateConnectorRawXml, createTemplateShapeRawXml, createTextElement, createUniformTextSegments, customGeometryPathsToSvgSubpaths, dataUrlToMediaBytes, decodeOle10Native, decodeXmlEntities, decomposeSmartArt, decryptPptx, demoteSmartArtNode, deobfuscateFont, deriveOutputPath, deriveSlideTitle, deriveSlideTitles, detectDigitalSignatures, detectFileFormat, detectFontFormat, detectOleObjectType, detectStrictConformance, diffPresentations, diffSlides, distributeSegmentsAcrossChain, douglasPeucker, duplicateElement, duplicateSlide, elementActionToPptxAction, elementHasAction, emuToPixels, encryptPptx, ensureArrayValue, escapeXmlAttr, escapeXmlText, estimateTextBoxCapacity, evaluateGeometryPaths, evaluateGuides, evaluatePresetShape, extractAllTagText, extractColorChoiceXml, extractFirstTagText, extractGraphicBuilds, extractGuidFromPartName, extractModel3DTransform, extractStyleReferenceColorXml, extractTagAttribute, fetchUrlToBytes, findCustomShow, findLayoutByName, findLayoutByType, findOpenXmlCoverage, findPlaceholders, findText, formatCommentTimestamp, fragmentShapes, generateFontGuid, generateLayoutXml, generateMediaFilename, getAdjustmentAwareClipPath, getAdjustmentAwareShapeClipPath, getAnimationPresetInfo, getCalloutLeaderLineGeometry, getCalloutTier, getCalloutViewBoxBounds, getCloudCalloutClipPath, getCloudClipPath, getCloudPathForRendering, getCommentMarkerPosition, getConnectorAdjustment, getConnectorPathGeometry, getCssBorderDashStyle, getCustomShowNames, getCustomShowPositionLabel, getDirectory, getElementLabel, getElementTextContent, getElementTransform, getImageMaskStyle, getLinkedTextBoxSegments, getNativeAnimationPresetMetadata, getOleObjectTypeLabel, getPanoseWeight, getPresetShapeClipPath, getPresetsByCategory, getRoundRectRadiusPx, getSectionForSlide, getSectionSlideRange, getShapeClipPath, getShapeClipPathFromPreset, getShapeType, getSignaturePathsToStrip, getSubstituteFontFamily, getSubstituteFonts, getSupportedNamespaces, getSvgStrokeDasharray, getTextCompensationTransform, getThemePreset, getZoomElements, getZoomTargetSlideIndexes, guidToKey, guideEmuToPx, guidePxToEmu, hasDirectSubstitution, hasNonTrivialOverride, hasShapeProperties, hasTextProperties, hexToRgbChannels, hslToRgb, inches, inchesToEmu, inferOleExtensionFromTarget, interpolateShapeGeometry, intersectPolygons, intersectShapes, intersectSvgPaths, isAlternateContentChoiceSupported, isAlternateContentChoiceXmlSupported, isCalloutShape, isConnectorElement, isEditableTextElement, isImageLikeElement, isInkElement, isNamespaceSupported, isOle2CompoundFile, isShapeElement, isStrictNamespaceUri, isSummaryZoomSlide, isSwitchableLayoutType, isTemplateElement, isTextElement, isTransitionalNamespaceUri, isValidBase64, isXmlNode, isZoomElement, isZoomElement2 as isZoomElementUtil, layoutEngineShapesToDrawingShapes, listUnassessedOpenXmlCoverage, lookupPresetShape, mailMerge, mergePresentation, mergeShapes, mergeStyleParts, mergeThemeColorOverride, mimeTypeForOleFile, mm, moveSlidesToSection, navigateCustomShow, normalizeHexColor, normalizeNamespaceUri, normalizePartPath, normalizePath, normalizeStrictXml, normalizeStrokeDashType, obfuscateFont, oleBytesToDataUrl, ooxmlArcToSvg, ooxmlToPresetName, orderedXmlKey, parseActiveXControlsFromSlide, parseAdjustmentValues, parseBodyPrBooleanAttrs, parseBubbleChartOptions, parseChart3DSurfaces, parseChartAxes, parseChartLayouts, parseChartManualLayout, parseChartUpDownBars, parseCondition, parseConditionList, parseCustomShows, parseCxChartSeries, parseDataTable, parseDataUrlToBytes, parseDiagramRelationshipIds, parseDrawingColor, parseDrawingColorChoice, parseDrawingColorOpacity, parseDrawingFraction, parseDrawingHueDegrees, parseDrawingLineDash, parseDrawingMediaReference, parseDrawingPercent, parseEmbeddedXlsx, parseGuideDefinitions, parseHexColor, parseInkMlContent, parseKinsoku, parseLayoutDefinition, parseLineStyle, parseMarker, parseOle2, parsePanoseBytes, parsePanoseString, parsePresentationDrawingGuides, parseSeriesDataLabels, parseSeriesDataPoints, parseSeriesErrBars, parseSeriesExplosion, parseSeriesTrendlines, parseShapeProps, parseSignatureXml, parseSlideDrawingGuides, parseSmartArtColorStyleLabels, parseSmartArtConstraintRules, parseSmartArtDefinitionHeaderList, parseSmartArtDefinitionMetadata, parseSmartArtLayoutDefinition, parseSmartArtQuickStyleLabels, parseStructuredCustomGeometry, parseSvgPath, parseTimeTargetElement, parseVmlElement, parseVmlElements, pixelsToEmu, polygonsToSvgPath, pptxActionToElementAction, promoteSmartArtNode, pt, reResolveSlideColors, readFileAsDataUrl, rebuildTableStructureInRawXml, reconcileAnimationTargets, reflowSmartArtLayout, relativeLuminance, relayoutSmartArt, remapEditorAnimationsToShapeIds, removeChartCategory, removeChartSeries, removeSection, removeSmartArtNode, reorderObjectKeys, reorderSections, reorderSmartArtNode, reorderSmartArtNodeToIndex, repairPptx, replaceShapeGeometry, replaceText, replaceTextInSlide, replaceWithCustomGeometry, resetCloneIdCounter, resetDecomposeCounter, resetIdCounter, resetSectionIdCounter, resetSmartArtEditCounter, resolveCoordinate, resolveCustomShowSlideIndices, resolveLayoutDisplayName, resolveModel3DMimeType, resolveReferenceUriToPart, resolveTableCellStyle, rgbToHsl, selectAlternateContentBranch, serializeColorChoice, serializeCondition, serializeConditionList, serializeGraphicBuild, serializeSmartArtDefinitionHeaderList, serializeSvgPath, serializeTimeTargetElement, setChartAxis, setChartAxisGridlineStyle, setChartAxisLogScale, setChartAxisTitleStyle, setChartCategories, setChartDataLabels, setChartDataPointExplosion, setChartDataPointFill, setChartDataPointLabel, setChartDataPointMarker, setChartGrouping, setChartLegend, setChartSeriesChartType, setChartSeriesColor, setChartSeriesErrorBars, setChartSeriesMarker, setChartSeriesTrendline, setChartTitle, setChartType, setElementLocked, setSmartArtNodeStyle, shouldRenderFallbackLabel, shouldReturnToZoomSlide, stripParentDirSegments, stripXmlOrderSuffix, subtractPolygons, subtractShapes, subtractSvgPaths, summarizeOpenXmlCoverage, summarizeOpenXmlCoverageByVocabulary, svgPathToPolygons, switchSmartArtLayout, themeColorSchemesEqual, toHex, toStrictNamespaceUri, unionPolygons, unionShapes, unionSvgPaths, unwrapAlternateContent, unwrapOleEmbedding, updateCellTextInRawXml, updateCellTextStyleInRawXml, updateChartDataPoint, updateChartSeriesValues, updateMergeAttrsInRawXml, updateSmartArtNodeText, validatePptx, validateSmartArtColorStyleLabels, validateSmartArtConstraintRules, validateSmartArtDefinitionHeaderList, validateSmartArtDefinitionMetadata, validateSmartArtLayoutDefinition, verifyModifyPassword, verifyPassword, verifySignatureDigests, withThemePlaceholderColor, writeBodyPrBooleanAttrs, xmlAttr, xmlAttrBool, xmlAttrNumber, xmlChild, xmlChildren, xmlPath, xmlText } from './chunk-CB6JSYSH.mjs';
|
|
1
|
+
export { ALL_ANIMATION_PRESETS, BLIP_FILL_ORDER, CLOUD_CALLOUT_TAIL_COUNT, CLOUD_LOBE_COUNT, COLOR_MAP_ALIAS_KEYS, CONNECTOR_ARROW_OPTIONS, CONNECTOR_GEOMETRY_OPTIONS, ChartBuilder, ConnectorBuilder, ConnectorXmlFactory, DEFAULT_CANVAS_HEIGHT, DEFAULT_CANVAS_WIDTH, DEFAULT_COLOR_MAP, DEFAULT_FILL_COLOR, DEFAULT_FONT_FAMILY, DEFAULT_MAX_UNCOMPRESSED_BYTES, DEFAULT_SCHEME_COLOR_MAP, DEFAULT_STROKE_COLOR, DEFAULT_TEXT_COLOR, DEFAULT_TEXT_FONT_SIZE, DIGEST_ALGORITHM_TO_HASH, DIGEST_ALGORITHM_TO_WEB_CRYPTO, DIGITAL_SIGNATURE_ORIGIN_REL_TYPE, DIGITAL_SIGNATURE_REL_TYPE, DataIntegrityError, DocumentConverter, EFFECT_LST_ORDER, ELEMENT_FIELD_KIND, EMPHASIS_PRESETS, EMU_PER_INCH, EMU_PER_PIXEL3 as EMU_PER_PIXEL, EMU_PER_POINT, EMU_PER_PX, ENTERPRISE_FAIL_ON_REVOCATION_UNKNOWN_ENV, ENTERPRISE_REQUIRE_REVOCATION_ENV, ENTERPRISE_REQUIRE_TIMESTAMP_ENV, ENTERPRISE_TRUST_ROOTS_FILE_ENV, ENTERPRISE_TRUST_ROOTS_PEM_ENV, ENTRANCE_PRESETS, EXIT_PRESETS, EncryptedFileError, FONT_SUBSTITUTION_MAP, FreeformPathBuilder, GroupBuilder, ImageBuilder, IncorrectPasswordError, MAX_TABLE_DIMENSION, MAX_ZIP_ENTRY_COUNT, MIN_ELEMENT_SIZE, MIN_TABLE_DIMENSION, MOTION_PATH_PRESETS, MediaBuilder, MediaContext, MediaGraphicFrameXmlFactory, OOXML_TO_PRESET_EMPH, OOXML_TO_PRESET_ENTR, OOXML_TO_PRESET_EXIT, OPC_RELATIONSHIP_TRANSFORM, OPENXML_COVERAGE, OPENXML_SCHEMA_CONSTRUCT_IDS, OPENXML_STRICT_SCHEMA_CONSTRUCT_IDS, OPENXML_TRANSITIONAL_SCHEMA_CONSTRUCT_IDS, Ole2ParseError, P14_GUIDE_URI, P15_GUIDE_URI, PANOSE_FAMILY_MAP, PANOSE_MONOSPACE_PROPORTION, PANOSE_SANS_SERIF_STYLES, PANOSE_WEIGHT_MAP, POWERPOINT_PRESENCE_KEY, PPTX_VIEWER_MANIFEST_NS, PRESET_COLOR_MAP, PRESET_SHAPE_CATEGORY_LABELS, PRESET_SHAPE_CLIP_PATHS, PRESET_SHAPE_DEFINITIONS, PRESET_SHAPE_GEOMETRY_TABLE, PRESET_TO_OOXML, PictureXmlFactory, PptxAnimationWriteService, PptxColorStyleCodec, PptxCommentAuthorsXmlFactory, PptxCommentXmlFactoryProvider, PptxCompatibilityService, PptxConnectorParser, PptxContentTypesBuilder, PptxDocumentPropertiesUpdater, PptxEditorAnimationService, PptxElementTransformUpdater, PptxElementXmlBuilder, PptxGraphicFrameParser, PptxHandler, PptxHandlerRuntime96 as PptxHandlerRuntime, PptxHandlerRuntimeFactory, PptxLoadDataBuilder, PptxMarkdownConverter, PptxMediaDataParser, PptxNativeAnimationService, PptxPresentationSaveBuilder, PptxPresentationSlidesReconciler, PptxRuntimeDependencyFactory, PptxSaveConstantsFactory, PptxSaveState as PptxSaveSession, PptxSaveStateBuilder as PptxSaveSessionBuilder, PptxSaveState, PptxSaveStateBuilder, PptxShapeIdValidator, PptxShapeStyleExtractor, PptxSlideBackgroundBuilder, PptxSlideBuilder, PptxSlideCommentPartWriter, PptxSlideCommentsXmlFactory, PptxSlideElementsBuilder, PptxSlideLoaderService, PptxSlideMediaRelationshipBuilder, PptxSlideNotesBuilder, PptxSlideNotesPartUpdater, PptxSlideRelationshipRegistry, PptxSlideTransitionService, PptxTableDataParser, PptxTemplateBackgroundService, PptxXmlBuilder, PptxXmlFactoryProvider, PptxXmlLookupService, Presentation, PresentationBuilder, SHAPE_TREE_ELEMENT_TAGS, SLIDE_FIELD_KIND, SMART_ART_DEFINITION_PARTS, SP_PR_ORDER, STROKE_DASH_OPTIONS, SUPPORTED_XML_CANON_TRANSFORMS, SWITCHABLE_LAYOUT_TYPES, SYSTEM_COLOR_MAP, ShapeBuilder, SlideBuilder, SlideProcessor, SlideSizes, SvgExporter, TC_PR_BORDERS_ORDER, THEME_COLOR_SCHEME_KEYS, THEME_PRESETS, TRANSITION_VALID_DIRECTIONS, TableBuilder, TextBuilder, TextShapeXmlFactory, ThemePresets, VML_SHAPE_TAGS, XMLDSIG_NS, XML_TRANSFORM_ENVELOPED_SIGNATURE, ZipBombError, addChartCategory, addChartSeries, addSection, addSmartArtNode, addSmartArtNodeAsChild, applyActiveXControlsToSlide, applyBubbleChartOptions, applyChartLayouts, applyChartManualLayout, applyChartUpDownBars, applyCustomShows, applyDiagramRelationshipIds, applyDrawingColorTransforms, applyDrawingLineDash, applyDrawingMediaReference, applyKinsokuToXml, applySections, applySmartArtConstraintRules, applySmartArtLayoutDefinition, applyTableCellTextAndStyle, applyTemplate, applyThemeOverrideToSlide, applyThemeToData, areNamespacesSupported, buildActiveXControlNode, buildCalloutLeaderLineSvgPath, buildClrMapOverrideXml, buildFontFamilyString, buildGuideListExtension, buildInkMlContent, buildLinkedTextBoxChains, buildOle2, buildSingleEffectNode, buildSlideReferenceRemap, buildSrgbColorChoice, buildThemeColorMap, catmullRomToBezier, chartDataAddCategory, chartDataAddSeries, chartDataChangeType, chartDataRemoveCategory, chartDataRemoveSeries, chartDataUpdatePoint, checkBlankSlide, checkComplexTables, checkDuplicateTitles, checkLowContrast, checkMissingAltText, checkMissingSlideTitle, checkPresentation, clampUnitInterval, classifyPanose, cloneElement, cloneShapeStyle, cloneSlide, cloneTemplateElementsBySlideId, cloneTextStyle, cloneXmlObject, cm, cmToEmu, colorWithOpacity, colorsEqual, combineShapes, computeContrastRatio, computeCycleLayout, computeDetailStatus, computeDigestBase64 as computeDigestBase64WebCrypto, computeHierarchyLayout, computeLinearLayout, computeMatrixLayout, computePyramidLayout, computeSmartArtLayout, computeSnakeLayout, computeVerificationStatus, convertEmfToDataUrl, convertWmfToDataUrl, convertXmlToStrict, createArrayBufferCopy, createBuiltinVariables, createChartElement, createConnectorElement, createDefaultPptxHandlerRuntime, createEditorId, createFreeformElement, createGroupElement, createImageElement, createLayout, createLayouts, createMediaElement, createModifyVerifier, createPptxSaveConstants, createShapeElement, createTableCellXml, createTableElement, createTableGraphicFrameRawXml, createTemplateConnectorRawXml, createTemplateShapeRawXml, createTextElement, createUniformTextSegments, customGeometryPathsToSvgSubpaths, dataUrlToMediaBytes, decodeOle10Native, decodeXmlEntities, decomposeSmartArt, decryptPptx, demoteSmartArtNode, deobfuscateFont, deriveOutputPath, deriveSlideTitle, deriveSlideTitles, detectDigitalSignatures, detectFileFormat, detectFontFormat, detectOleObjectType, detectStrictConformance, diffPresentations, diffSlides, distributeSegmentsAcrossChain, douglasPeucker, duplicateElement, duplicateSlide, elementActionToPptxAction, elementHasAction, emuToPixels, encryptPptx, ensureArrayValue, escapeXmlAttr, escapeXmlText, estimateTextBoxCapacity, evaluateGeometryPaths, evaluateGuides, evaluatePresetShape, extractAllTagText, extractColorChoiceXml, extractFirstTagText, extractGraphicBuilds, extractGuidFromPartName, extractModel3DTransform, extractStyleReferenceColorXml, extractTagAttribute, fetchUrlToBytes, findCustomShow, findLayoutByName, findLayoutByType, findOpenXmlCoverage, findPlaceholders, findText, formatCommentTimestamp, fragmentShapes, generateFontGuid, generateLayoutXml, generateMediaFilename, getAdjustmentAwareClipPath, getAdjustmentAwareShapeClipPath, getAnimationPresetInfo, getCalloutLeaderLineGeometry, getCalloutTier, getCalloutViewBoxBounds, getCloudCalloutClipPath, getCloudClipPath, getCloudPathForRendering, getCommentMarkerPosition, getConnectorAdjustment, getConnectorPathGeometry, getCssBorderDashStyle, getCustomShowNames, getCustomShowPositionLabel, getDirectory, getElementLabel, getElementTextContent, getElementTransform, getImageMaskStyle, getLinkedTextBoxSegments, getNativeAnimationPresetMetadata, getOleObjectTypeLabel, getPanoseWeight, getPresetShapeClipPath, getPresetsByCategory, getRoundRectRadiusPx, getSectionForSlide, getSectionSlideRange, getShapeClipPath, getShapeClipPathFromPreset, getShapeType, getSignaturePathsToStrip, getSubstituteFontFamily, getSubstituteFonts, getSupportedNamespaces, getSvgStrokeDasharray, getTextCompensationTransform, getThemePreset, getZoomElements, getZoomTargetSlideIndexes, guidToKey, guideEmuToPx, guidePxToEmu, hasDirectSubstitution, hasNonTrivialOverride, hasShapeProperties, hasTextProperties, hexToRgbChannels, hslToRgb, inches, inchesToEmu, inferOleExtensionFromTarget, interpolateShapeGeometry, intersectPolygons, intersectShapes, intersectSvgPaths, isAlternateContentChoiceSupported, isAlternateContentChoiceXmlSupported, isCalloutShape, isConnectorElement, isEditableTextElement, isImageLikeElement, isInkElement, isNamespaceSupported, isOle2CompoundFile, isShapeElement, isStrictNamespaceUri, isSummaryZoomSlide, isSwitchableLayoutType, isTemplateElement, isTextElement, isTransitionalNamespaceUri, isValidBase64, isXmlNode, isZoomElement, isZoomElement2 as isZoomElementUtil, layoutEngineShapesToDrawingShapes, listUnassessedOpenXmlCoverage, lookupPresetShape, mailMerge, mergePresentation, mergeShapes, mergeStyleParts, mergeThemeColorOverride, mimeTypeForOleFile, mm, moveSlidesToSection, navigateCustomShow, normalizeHexColor, normalizeNamespaceUri, normalizePartPath, normalizePath, normalizeStrictXml, normalizeStrokeDashType, obfuscateFont, oleBytesToDataUrl, ooxmlArcToSvg, ooxmlToPresetName, orderedXmlKey, parseActiveXControlsFromSlide, parseAdjustmentValues, parseBodyPrBooleanAttrs, parseBubbleChartOptions, parseChart3DSurfaces, parseChartAxes, parseChartLayouts, parseChartManualLayout, parseChartUpDownBars, parseCondition, parseConditionList, parseCustomShows, parseCxChartSeries, parseDataTable, parseDataUrlToBytes, parseDiagramRelationshipIds, parseDrawingColor, parseDrawingColorChoice, parseDrawingColorOpacity, parseDrawingFraction, parseDrawingHueDegrees, parseDrawingLineDash, parseDrawingMediaReference, parseDrawingPercent, parseEmbeddedXlsx, parseGuideDefinitions, parseHexColor, parseInkMlContent, parseKinsoku, parseLayoutDefinition, parseLineStyle, parseMarker, parseOle2, parsePanoseBytes, parsePanoseString, parsePresentationDrawingGuides, parseSeriesDataLabels, parseSeriesDataPoints, parseSeriesErrBars, parseSeriesExplosion, parseSeriesTrendlines, parseShapeProps, parseSignatureXml, parseSlideDrawingGuides, parseSmartArtColorStyleLabels, parseSmartArtConstraintRules, parseSmartArtDefinitionHeaderList, parseSmartArtDefinitionMetadata, parseSmartArtLayoutDefinition, parseSmartArtQuickStyleLabels, parseStructuredCustomGeometry, parseSvgPath, parseTimeTargetElement, parseVmlElement, parseVmlElements, pixelsToEmu, polygonsToSvgPath, pptxActionToElementAction, promoteSmartArtNode, pt, reResolveSlideColors, readFileAsDataUrl, rebuildTableStructureInRawXml, reconcileAnimationTargets, reflowSmartArtLayout, relativeLuminance, relayoutSmartArt, remapEditorAnimationsToShapeIds, removeChartCategory, removeChartSeries, removeSection, removeSmartArtNode, reorderObjectKeys, reorderSections, reorderSmartArtNode, reorderSmartArtNodeToIndex, repairPptx, replaceShapeGeometry, replaceText, replaceTextInSlide, replaceWithCustomGeometry, resetCloneIdCounter, resetDecomposeCounter, resetIdCounter, resetSectionIdCounter, resetSmartArtEditCounter, resolveCoordinate, resolveCustomShowSlideIndices, resolveLayoutDisplayName, resolveModel3DMimeType, resolveReferenceUriToPart, resolveTableCellStyle, rgbToHsl, selectAlternateContentBranch, serializeColorChoice, serializeCondition, serializeConditionList, serializeGraphicBuild, serializeSmartArtDefinitionHeaderList, serializeSvgPath, serializeTimeTargetElement, setChartAxis, setChartAxisGridlineStyle, setChartAxisLogScale, setChartAxisTitleStyle, setChartCategories, setChartDataLabels, setChartDataPointExplosion, setChartDataPointFill, setChartDataPointLabel, setChartDataPointMarker, setChartGrouping, setChartLegend, setChartSeriesChartType, setChartSeriesColor, setChartSeriesErrorBars, setChartSeriesMarker, setChartSeriesTrendline, setChartTitle, setChartType, setElementLocked, setSmartArtNodeStyle, shouldRenderFallbackLabel, shouldReturnToZoomSlide, stripParentDirSegments, stripXmlOrderSuffix, subtractPolygons, subtractShapes, subtractSvgPaths, summarizeOpenXmlCoverage, summarizeOpenXmlCoverageByVocabulary, svgPathToPolygons, switchSmartArtLayout, themeColorSchemesEqual, toHex, toStrictNamespaceUri, unionPolygons, unionShapes, unionSvgPaths, unwrapAlternateContent, unwrapOleEmbedding, updateCellTextInRawXml, updateCellTextStyleInRawXml, updateChartDataPoint, updateChartSeriesValues, updateMergeAttrsInRawXml, updateSmartArtNodeText, validatePptx, validateSmartArtColorStyleLabels, validateSmartArtConstraintRules, validateSmartArtDefinitionHeaderList, validateSmartArtDefinitionMetadata, validateSmartArtLayoutDefinition, verifyModifyPassword, verifyPassword, verifySignatureDigests, withThemePlaceholderColor, writeBodyPrBooleanAttrs, xmlAttr, xmlAttrBool, xmlAttrNumber, xmlChild, xmlChildren, xmlPath, xmlText } from './chunk-TYKXFV4C.mjs';
|
|
2
2
|
import './chunk-6DZX6EAA.mjs';
|