pptx-react-viewer 2.16.4 → 2.16.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -0
- package/dist/{AiChatPanel-7DDN4QUA.mjs → AiChatPanel-6B26AZGA.mjs} +3 -3
- package/dist/AiChatPanel-6B26AZGA.mjs.br +0 -0
- package/dist/AiChatPanel-6B26AZGA.mjs.gz +0 -0
- package/dist/{AiChatPanel-KEORKCTT.js → AiChatPanel-FGEIZQCD.js} +22 -22
- package/dist/AiChatPanel-FGEIZQCD.js.br +0 -0
- package/dist/AiChatPanel-FGEIZQCD.js.gz +0 -0
- package/dist/{Model3DScene-SBUYEWHL.js → Model3DScene-2JX5CUPK.js} +2 -2
- package/dist/Model3DScene-2JX5CUPK.js.br +0 -0
- package/dist/Model3DScene-2JX5CUPK.js.gz +0 -0
- package/dist/{Model3DScene-DEAQMMUS.mjs → Model3DScene-NKYNKUPP.mjs} +1 -1
- package/dist/Model3DScene-NKYNKUPP.mjs.br +0 -0
- package/dist/Model3DScene-NKYNKUPP.mjs.gz +0 -0
- package/dist/{SurfaceChart3DScene-I5D54YQ3.js → SurfaceChart3DScene-AE5SKG7U.js} +2 -2
- package/dist/SurfaceChart3DScene-AE5SKG7U.js.br +0 -0
- package/dist/SurfaceChart3DScene-AE5SKG7U.js.gz +0 -0
- package/dist/{SurfaceChart3DScene-TXGS2PBK.mjs → SurfaceChart3DScene-TTL2FTEG.mjs} +1 -1
- package/dist/{SurfaceChart3DScene-TXGS2PBK.mjs.br → SurfaceChart3DScene-TTL2FTEG.mjs.br} +0 -0
- package/dist/SurfaceChart3DScene-TTL2FTEG.mjs.gz +0 -0
- package/dist/{chunk-23WSCMWN.mjs → chunk-247XH4EN.mjs} +239 -103
- package/dist/chunk-247XH4EN.mjs.br +0 -0
- package/dist/chunk-247XH4EN.mjs.gz +0 -0
- package/dist/{chunk-PLBS7OL2.mjs → chunk-5YGTUHNO.mjs} +2 -2
- package/dist/chunk-5YGTUHNO.mjs.br +0 -0
- package/dist/chunk-5YGTUHNO.mjs.gz +0 -0
- package/dist/{chunk-MZ47MV52.js → chunk-6QGTRYSC.js} +239 -103
- package/dist/chunk-6QGTRYSC.js.br +0 -0
- package/dist/chunk-6QGTRYSC.js.gz +0 -0
- package/dist/{chunk-GSAOP4Z4.mjs → chunk-EFZ4K6V5.mjs} +7 -7
- package/dist/chunk-EFZ4K6V5.mjs.br +0 -0
- package/dist/chunk-EFZ4K6V5.mjs.gz +0 -0
- package/dist/{chunk-FQ3FTNKV.js → chunk-LCWZ4TD4.js} +1054 -1054
- package/dist/chunk-LCWZ4TD4.js.br +0 -0
- package/dist/chunk-LCWZ4TD4.js.gz +0 -0
- package/dist/{chunk-J4QZVO3S.mjs → chunk-MZN2UIYT.mjs} +1 -1
- package/dist/chunk-MZN2UIYT.mjs.br +0 -0
- package/dist/chunk-MZN2UIYT.mjs.gz +0 -0
- package/dist/{chunk-HAQDKQ52.js → chunk-P65VL2I6.js} +255 -255
- package/dist/chunk-P65VL2I6.js.br +0 -0
- package/dist/chunk-P65VL2I6.js.gz +0 -0
- package/dist/{chunk-RBQUSVYR.js → chunk-UNWU6D2M.js} +340 -340
- package/dist/chunk-UNWU6D2M.js.br +0 -0
- package/dist/chunk-UNWU6D2M.js.gz +0 -0
- package/dist/{chunk-GZ2V3PWN.js → chunk-VZI35LEF.js} +3 -3
- package/dist/chunk-VZI35LEF.js.br +0 -0
- package/dist/chunk-VZI35LEF.js.gz +0 -0
- package/dist/{chunk-LLTUDPRE.mjs → chunk-Y6W5LGTR.mjs} +2 -2
- package/dist/chunk-Y6W5LGTR.mjs.br +0 -0
- package/dist/chunk-Y6W5LGTR.mjs.gz +0 -0
- package/dist/index.d.ts +17 -0
- package/dist/index.js +39 -39
- package/dist/index.js.br +0 -0
- package/dist/index.js.gz +0 -0
- package/dist/index.mjs +5 -5
- package/dist/index.mjs.br +0 -0
- package/dist/index.mjs.gz +0 -0
- package/dist/internals.d.ts +27 -4
- package/dist/internals.js +78 -78
- package/dist/internals.js.br +0 -0
- package/dist/internals.js.gz +0 -0
- package/dist/internals.mjs +3 -3
- package/dist/internals.mjs.br +0 -0
- package/dist/internals.mjs.gz +0 -0
- package/dist/viewer/index.d.ts +17 -0
- package/dist/viewer/index.js +26 -26
- package/dist/viewer/index.js.br +0 -0
- package/dist/viewer/index.js.gz +0 -0
- package/dist/viewer/index.mjs +5 -5
- package/dist/viewer/index.mjs.br +0 -0
- package/dist/viewer/index.mjs.gz +0 -0
- package/package.json +1 -1
- package/dist/AiChatPanel-7DDN4QUA.mjs.br +0 -0
- package/dist/AiChatPanel-7DDN4QUA.mjs.gz +0 -0
- package/dist/AiChatPanel-KEORKCTT.js.br +0 -0
- package/dist/AiChatPanel-KEORKCTT.js.gz +0 -0
- package/dist/Model3DScene-DEAQMMUS.mjs.br +0 -0
- package/dist/Model3DScene-DEAQMMUS.mjs.gz +0 -0
- package/dist/Model3DScene-SBUYEWHL.js.br +0 -0
- package/dist/Model3DScene-SBUYEWHL.js.gz +0 -0
- package/dist/SurfaceChart3DScene-I5D54YQ3.js.br +0 -0
- package/dist/SurfaceChart3DScene-I5D54YQ3.js.gz +0 -0
- package/dist/SurfaceChart3DScene-TXGS2PBK.mjs.gz +0 -0
- package/dist/chunk-23WSCMWN.mjs.br +0 -0
- package/dist/chunk-23WSCMWN.mjs.gz +0 -0
- package/dist/chunk-FQ3FTNKV.js.br +0 -0
- package/dist/chunk-FQ3FTNKV.js.gz +0 -0
- package/dist/chunk-GSAOP4Z4.mjs.br +0 -0
- package/dist/chunk-GSAOP4Z4.mjs.gz +0 -0
- package/dist/chunk-GZ2V3PWN.js.br +0 -0
- package/dist/chunk-GZ2V3PWN.js.gz +0 -0
- package/dist/chunk-HAQDKQ52.js.br +0 -0
- package/dist/chunk-HAQDKQ52.js.gz +0 -0
- package/dist/chunk-J4QZVO3S.mjs.br +0 -0
- package/dist/chunk-J4QZVO3S.mjs.gz +0 -0
- package/dist/chunk-LLTUDPRE.mjs.br +0 -0
- package/dist/chunk-LLTUDPRE.mjs.gz +0 -0
- package/dist/chunk-MZ47MV52.js.br +0 -0
- package/dist/chunk-MZ47MV52.js.gz +0 -0
- package/dist/chunk-PLBS7OL2.mjs.br +0 -0
- package/dist/chunk-PLBS7OL2.mjs.gz +0 -0
- package/dist/chunk-RBQUSVYR.js.br +0 -0
- package/dist/chunk-RBQUSVYR.js.gz +0 -0
|
Binary file
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk6QGTRYSC_js = require('./chunk-6QGTRYSC.js');
|
|
4
4
|
var chunk4VNS5WPM_js = require('./chunk-4VNS5WPM.js');
|
|
5
5
|
var mcp = require('pptx-viewer-mcp');
|
|
6
6
|
var mcpSchemas = require('pptx-viewer-mcp/schemas');
|
|
@@ -14879,7 +14879,7 @@ async function buildSlideMarkdown(slides, slideIndex2, meta3, options = {}) {
|
|
|
14879
14879
|
};
|
|
14880
14880
|
let markdown;
|
|
14881
14881
|
try {
|
|
14882
|
-
const converter = new
|
|
14882
|
+
const converter = new chunk6QGTRYSC_js.PptxMarkdownConverter(
|
|
14883
14883
|
"",
|
|
14884
14884
|
{
|
|
14885
14885
|
sourceName: meta3.title ?? "deck.pptx",
|
|
@@ -15471,7 +15471,7 @@ var getTheme = (ctx) => {
|
|
|
15471
15471
|
name: theme?.name,
|
|
15472
15472
|
colorScheme: theme?.colorScheme,
|
|
15473
15473
|
fontScheme: theme?.fontScheme,
|
|
15474
|
-
availablePresets: Object.keys(
|
|
15474
|
+
availablePresets: Object.keys(chunk6QGTRYSC_js.ThemePresets)
|
|
15475
15475
|
};
|
|
15476
15476
|
};
|
|
15477
15477
|
var readExecutors = {
|
|
Binary file
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { cloneHistorySnapshot, MIN_ELEMENT_SIZE, ZOOM_TO_SELECTION_PADDING, DEFAULT_CANVAS_HEIGHT, DEFAULT_CANVAS_WIDTH, partitionTemplateElements, UNGROUPED_SECTION_ID, buildSaveSlides, DEFAULT_TABLE_ROWS, DEFAULT_TABLE_COLUMNS, executeMediaCommand, buildPdfFromImageData, buildNotesPdf, EMU_PER_PX, GRID_SIZE, DEFAULT_TEXT_FONT_SIZE } from './chunk-
|
|
1
|
+
import { cloneHistorySnapshot, MIN_ELEMENT_SIZE, ZOOM_TO_SELECTION_PADDING, DEFAULT_CANVAS_HEIGHT, DEFAULT_CANVAS_WIDTH, partitionTemplateElements, UNGROUPED_SECTION_ID, buildSaveSlides, DEFAULT_TABLE_ROWS, DEFAULT_TABLE_COLUMNS, executeMediaCommand, buildPdfFromImageData, buildNotesPdf, EMU_PER_PX, GRID_SIZE, DEFAULT_TEXT_FONT_SIZE } from './chunk-5YGTUHNO.mjs';
|
|
2
2
|
import { translationsEn } from './chunk-5IUEPQTK.mjs';
|
|
3
|
-
import { TOOLBAR_TABS, computeVirtualRange, DEFAULT_VIRTUAL_OVERSCAN, createPresenceProjector, BROADCAST_THROTTLE_MS, createSyncGate, clearLocalAwareness, validateRoomId, createDepartureChannel, resolveTransportForServerUrl, isMixedContentBlocked, CONNECTION_TIMEOUT_MS, registerCollaborationTeardown, sanitizeColor, cloneTemplateElementsBySlideId, cloneSlide, createWheelStepBuffer, createViewerZoomStore, clampZoomScale, mapEditingWheel, PresentationAnimationController, PRESENTATION_HASH, PRESENTATION_NONCE_KEY, PRESENTATION_CHANNEL_NAME, swapPresentationWindows, PRESENTATION_MESSAGE_ORIGIN, clearAudienceContent, buildPresentationAudienceUrl, resolveAudienceScreenPlacement, placeAudienceWindow, storeAudienceContent, isPresentationSessionMessage, endAudienceDisplay, createPresentationKeyBuffer, acceptsPresentationInput, resolveAutoAdvanceDelayMs, hasShowSlideAfter, nextShowSlideIndex, previousShowSlideIndex, createPresenterShowGuard, attachPresentationVisibilityPause, buildMorphTransitionPlan, morphOptionToMode, buildMorphAnimationRules, createCollaborationLivePatcher, publishLiveInlineText, PptxHandler, collectMediaElements, collectImagePaths, buildInitialGuides, EncryptedFileError, saveAutosaveSnapshot, isTemplateElementId, hasShapeProperties, hasTextProperties, getInlineEditorSelection, applyStyleToSelectedSegments, setPendingSelectionRestore, applyCaseTransformToSegments, transformTextCase, addSection, renameSection, deleteSection, moveSectionUp, moveSectionDown, moveSlidesToSection, normalizeColorsForCapture, preprocessCssForCapture, downloadBlob, sanitizeDownloadFilename, slideProgressPercent, slideStatusLabel, EXPORT_ASSEMBLING_PERCENT, EXPORT_DONE_PERCENT, isExportAbortError, recordProgressPercent, applyThemeToData, THEME_PRESETS, themeColorSchemesEqual, comparePresentation, applyAcceptSlide, applyAcceptAllSlides, collectUsedFonts, detectTouchDevice, detectOrientation, isMobileViewport, MOBILE_BREAKPOINT, TABLET_BREAKPOINT, mayLeaveSlideShow, stopAllPersistentAudio, remapTextToSegments, guidePxToEmu, shouldLoopContinuously, applyRehearsalTimings, copyFormatFromElement, applyFormatToElement, mapEditorKey, isEditorTextInputTarget, createViewerOptionsStore, readSlidesFromYDoc, reconcileSlidesInYDoc, LOCAL_SYNC_ORIGIN, observeYDocSlides, shouldAutoFollowBroadcaster, createTouchGestureRecognizer, MAX_ZOOM_SCALE, MIN_ZOOM_SCALE, isKeyboardOpen, openPptxFile, readBackstageRecentFile, isActionHidden, buildElementClipboardPayload, generatePackageReadme, exportDeckJson, groupElements, generateElementId, makeCloneId, alignElements, distributeElements, bringForward, sendBackward, bringToFront, sendToBack, newTableElement, createDefaultChartElement, readViewportMetrics, computeKeyboardInset, mergeShapes, mapPresentationKey, lastShowSlideIndex, firstShowSlideIndex, mapPresentationWheel, buildPrintDocument, buildOutlineHtml, buildSlidesHtml, buildNotesHtml, buildHandoutsHtml, createBlankSlide, makeSlideId, buildSlideTemplateSlide, templateSchemeFromTheme, buildThemeColorMap, reResolveSlideColors, computeEntranceAnimationDelay, createPresentationSessionId, resolveTransitionDurationMs, runPresentationAction, createPresenterTimer, createInitialPresentationSnapshot, mergePresentationSnapshot, resetPresenterTimer, presenterElapsed, stepPresenterZoom, togglePresenterTimer, canvasToJpegData, downloadDataUrl, pickSupportedMimeType, WEBM_MIME_CANDIDATES, fpsToFrameIntervalMs, segmentFrameCount, encodeGif, resolveShowSlideIndexes, groupSlidesBySection, hasCopyableFormat, createBackstagePresentation, buildFieldSubstitutionContext, cloneElementForPaste, computeScrollDelta, getPresetShapeClipPath, svgPathToPolygons, polygonsToSvgPath, rerouteConnectorsForMovedElements, applyReroutedConnectors, SvgExporter, buildPrintHtmlDocument, deleteTableColumn, rebuildTableStructureInRawXml, insertTableColumn, deleteTableRow, insertTableRow, updateCellTextStyleInRawXml, updateCellTextInRawXml, splitCell, updateMergeAttrsInRawXml, mergeCells, isPpactionUrl, parsePpactionUrl, safeOpenUrl, ACTION_BUTTON_PRESETS, elementActionToPptxAction, buildSmartArtPresetData, computeSnapToShape, publishLiveGeometry, computeMarqueeHitIds, mergeAdditiveSelection, applyResize, snapBoxToGrid, applyMotionPathPreset } from './chunk-
|
|
3
|
+
import { TOOLBAR_TABS, computeVirtualRange, DEFAULT_VIRTUAL_OVERSCAN, createPresenceProjector, BROADCAST_THROTTLE_MS, createSyncGate, clearLocalAwareness, validateRoomId, createDepartureChannel, resolveTransportForServerUrl, isMixedContentBlocked, CONNECTION_TIMEOUT_MS, registerCollaborationTeardown, sanitizeColor, cloneTemplateElementsBySlideId, cloneSlide, createWheelStepBuffer, createViewerZoomStore, clampZoomScale, mapEditingWheel, PresentationAnimationController, PRESENTATION_HASH, PRESENTATION_NONCE_KEY, PRESENTATION_CHANNEL_NAME, swapPresentationWindows, PRESENTATION_MESSAGE_ORIGIN, clearAudienceContent, buildPresentationAudienceUrl, resolveAudienceScreenPlacement, placeAudienceWindow, storeAudienceContent, isPresentationSessionMessage, endAudienceDisplay, createPresentationKeyBuffer, acceptsPresentationInput, resolveAutoAdvanceDelayMs, hasShowSlideAfter, nextShowSlideIndex, previousShowSlideIndex, createPresenterShowGuard, attachPresentationVisibilityPause, buildMorphTransitionPlan, morphOptionToMode, buildMorphAnimationRules, createCollaborationLivePatcher, publishLiveInlineText, PptxHandler, collectMediaElements, collectImagePaths, buildInitialGuides, EncryptedFileError, saveAutosaveSnapshot, isTemplateElementId, hasShapeProperties, hasTextProperties, getInlineEditorSelection, applyStyleToSelectedSegments, setPendingSelectionRestore, applyCaseTransformToSegments, transformTextCase, addSection, renameSection, deleteSection, moveSectionUp, moveSectionDown, moveSlidesToSection, normalizeColorsForCapture, preprocessCssForCapture, downloadBlob, sanitizeDownloadFilename, slideProgressPercent, slideStatusLabel, EXPORT_ASSEMBLING_PERCENT, EXPORT_DONE_PERCENT, isExportAbortError, recordProgressPercent, applyThemeToData, THEME_PRESETS, themeColorSchemesEqual, comparePresentation, applyAcceptSlide, applyAcceptAllSlides, collectUsedFonts, detectTouchDevice, detectOrientation, isMobileViewport, MOBILE_BREAKPOINT, TABLET_BREAKPOINT, mayLeaveSlideShow, stopAllPersistentAudio, remapTextToSegments, guidePxToEmu, shouldLoopContinuously, applyRehearsalTimings, copyFormatFromElement, applyFormatToElement, mapEditorKey, isEditorTextInputTarget, createViewerOptionsStore, readSlidesFromYDoc, reconcileSlidesInYDoc, LOCAL_SYNC_ORIGIN, observeYDocSlides, shouldAutoFollowBroadcaster, createTouchGestureRecognizer, MAX_ZOOM_SCALE, MIN_ZOOM_SCALE, isKeyboardOpen, openPptxFile, readBackstageRecentFile, isActionHidden, buildElementClipboardPayload, generatePackageReadme, exportDeckJson, groupElements, generateElementId, makeCloneId, alignElements, distributeElements, bringForward, sendBackward, bringToFront, sendToBack, newTableElement, createDefaultChartElement, readViewportMetrics, computeKeyboardInset, mergeShapes, mapPresentationKey, lastShowSlideIndex, firstShowSlideIndex, mapPresentationWheel, buildPrintDocument, buildOutlineHtml, buildSlidesHtml, buildNotesHtml, buildHandoutsHtml, createBlankSlide, makeSlideId, buildSlideTemplateSlide, templateSchemeFromTheme, buildThemeColorMap, reResolveSlideColors, computeEntranceAnimationDelay, createPresentationSessionId, resolveTransitionDurationMs, runPresentationAction, createPresenterTimer, createInitialPresentationSnapshot, mergePresentationSnapshot, resetPresenterTimer, presenterElapsed, stepPresenterZoom, togglePresenterTimer, canvasToJpegData, downloadDataUrl, pickSupportedMimeType, WEBM_MIME_CANDIDATES, fpsToFrameIntervalMs, segmentFrameCount, encodeGif, resolveShowSlideIndexes, groupSlidesBySection, hasCopyableFormat, createBackstagePresentation, buildFieldSubstitutionContext, cloneElementForPaste, computeScrollDelta, getPresetShapeClipPath, svgPathToPolygons, polygonsToSvgPath, rerouteConnectorsForMovedElements, applyReroutedConnectors, SvgExporter, buildPrintHtmlDocument, deleteTableColumn, rebuildTableStructureInRawXml, insertTableColumn, deleteTableRow, insertTableRow, updateCellTextStyleInRawXml, updateCellTextInRawXml, splitCell, updateMergeAttrsInRawXml, mergeCells, isPpactionUrl, parsePpactionUrl, safeOpenUrl, ACTION_BUTTON_PRESETS, elementActionToPptxAction, buildSmartArtPresetData, computeSnapToShape, publishLiveGeometry, computeMarqueeHitIds, mergeAdditiveSelection, applyResize, snapBoxToGrid, applyMotionPathPreset } from './chunk-247XH4EN.mjs';
|
|
4
4
|
import { useRef, useState, useEffect, useCallback, useMemo, useLayoutEffect, useSyncExternalStore, useImperativeHandle } from 'react';
|
|
5
5
|
import JSZip from 'jszip';
|
|
6
6
|
import { useTranslation } from 'react-i18next';
|
|
Binary file
|
|
Binary file
|
package/dist/index.d.ts
CHANGED
|
@@ -1958,6 +1958,17 @@ interface PlaceholderTextLevelStyle {
|
|
|
1958
1958
|
bold?: boolean;
|
|
1959
1959
|
italic?: boolean;
|
|
1960
1960
|
color?: string;
|
|
1961
|
+
/**
|
|
1962
|
+
* The `a:defRPr/a:solidFill` node this level's {@link color} came from.
|
|
1963
|
+
*
|
|
1964
|
+
* Master and layout text styles are parsed and cached before any slide is,
|
|
1965
|
+
* so a scheme alias such as `tx1` was resolved through the map that was
|
|
1966
|
+
* active then. A slide carrying `p:clrMapOvr` routes the same alias
|
|
1967
|
+
* somewhere else, so the alias has to be resolved again against the slide
|
|
1968
|
+
* that is inheriting it; {@link color} is only the reading taken at parse
|
|
1969
|
+
* time. Absent when the level declares no colour, or declares a literal one.
|
|
1970
|
+
*/
|
|
1971
|
+
colorChoiceXml?: XmlObject;
|
|
1961
1972
|
bulletChar?: string;
|
|
1962
1973
|
bulletAutoNumType?: string;
|
|
1963
1974
|
bulletFontFamily?: string;
|
|
@@ -3735,6 +3746,12 @@ interface PptxSmartArtDrawingShape extends PptxCustomPathProperties {
|
|
|
3735
3746
|
skewX?: number;
|
|
3736
3747
|
/** Skew along the Y axis in degrees. */
|
|
3737
3748
|
skewY?: number;
|
|
3749
|
+
/**
|
|
3750
|
+
* The cached shape declares `a:noFill`. Renderers must leave it unpainted
|
|
3751
|
+
* rather than substituting a palette colour, because these shapes usually sit
|
|
3752
|
+
* on top of a painted shape whose fill has to stay visible.
|
|
3753
|
+
*/
|
|
3754
|
+
fillNone?: boolean;
|
|
3738
3755
|
/** Solid fill colour (hex). */
|
|
3739
3756
|
fillColor?: string;
|
|
3740
3757
|
/**
|
package/dist/index.js
CHANGED
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
var
|
|
6
|
-
var
|
|
3
|
+
var chunkLCWZ4TD4_js = require('./chunk-LCWZ4TD4.js');
|
|
4
|
+
require('./chunk-VZI35LEF.js');
|
|
5
|
+
var chunkUNWU6D2M_js = require('./chunk-UNWU6D2M.js');
|
|
6
|
+
var chunkP65VL2I6_js = require('./chunk-P65VL2I6.js');
|
|
7
7
|
var chunkDVZF4ARG_js = require('./chunk-DVZF4ARG.js');
|
|
8
|
-
var
|
|
8
|
+
var chunk6QGTRYSC_js = require('./chunk-6QGTRYSC.js');
|
|
9
9
|
require('./chunk-4VNS5WPM.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
Object.defineProperty(exports, "PowerPointViewer", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkLCWZ4TD4_js.PowerPointViewer; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "SlideCanvas", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkLCWZ4TD4_js.SlideCanvas; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "SlideTemplateGalleryDialog", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkLCWZ4TD4_js.SlideTemplateGalleryDialog; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "SlideTemplatePreview", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkLCWZ4TD4_js.SlideTemplatePreview; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "Toolbar", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkLCWZ4TD4_js.Toolbar; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "ViewerThemeProvider", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunkLCWZ4TD4_js.ViewerThemeProvider; }
|
|
36
36
|
});
|
|
37
37
|
Object.defineProperty(exports, "useViewerTheme", {
|
|
38
38
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunkLCWZ4TD4_js.useViewerTheme; }
|
|
40
40
|
});
|
|
41
41
|
Object.defineProperty(exports, "renderToCanvas", {
|
|
42
42
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunkUNWU6D2M_js.renderToCanvas; }
|
|
44
44
|
});
|
|
45
45
|
Object.defineProperty(exports, "useViewerBuildingBlocks", {
|
|
46
46
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunkUNWU6D2M_js.useViewerBuildingBlocks; }
|
|
48
48
|
});
|
|
49
49
|
Object.defineProperty(exports, "getAnimationInitialStyle", {
|
|
50
50
|
enumerable: true,
|
|
51
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunkP65VL2I6_js.getAnimationInitialStyle; }
|
|
52
52
|
});
|
|
53
53
|
Object.defineProperty(exports, "LOCALE_CATALOG", {
|
|
54
54
|
enumerable: true,
|
|
@@ -56,97 +56,97 @@ Object.defineProperty(exports, "LOCALE_CATALOG", {
|
|
|
56
56
|
});
|
|
57
57
|
Object.defineProperty(exports, "AVATAR_COLOR_SWATCHES", {
|
|
58
58
|
enumerable: true,
|
|
59
|
-
get: function () { return
|
|
59
|
+
get: function () { return chunk6QGTRYSC_js.AVATAR_COLOR_SWATCHES; }
|
|
60
60
|
});
|
|
61
61
|
Object.defineProperty(exports, "DEFAULT_VIEWER_PROFILE", {
|
|
62
62
|
enumerable: true,
|
|
63
|
-
get: function () { return
|
|
63
|
+
get: function () { return chunk6QGTRYSC_js.DEFAULT_VIEWER_PROFILE; }
|
|
64
64
|
});
|
|
65
65
|
Object.defineProperty(exports, "SLIDE_TEMPLATES", {
|
|
66
66
|
enumerable: true,
|
|
67
|
-
get: function () { return
|
|
67
|
+
get: function () { return chunk6QGTRYSC_js.SLIDE_TEMPLATES; }
|
|
68
68
|
});
|
|
69
69
|
Object.defineProperty(exports, "THEME_CATALOG", {
|
|
70
70
|
enumerable: true,
|
|
71
|
-
get: function () { return
|
|
71
|
+
get: function () { return chunk6QGTRYSC_js.THEME_CATALOG; }
|
|
72
72
|
});
|
|
73
73
|
Object.defineProperty(exports, "VIEWER_PREFS_STORAGE_KEY", {
|
|
74
74
|
enumerable: true,
|
|
75
|
-
get: function () { return
|
|
75
|
+
get: function () { return chunk6QGTRYSC_js.VIEWER_PREFS_STORAGE_KEY; }
|
|
76
76
|
});
|
|
77
77
|
Object.defineProperty(exports, "buildSlideTemplateContent", {
|
|
78
78
|
enumerable: true,
|
|
79
|
-
get: function () { return
|
|
79
|
+
get: function () { return chunk6QGTRYSC_js.buildSlideTemplateContent; }
|
|
80
80
|
});
|
|
81
81
|
Object.defineProperty(exports, "buildSlideTemplateSlide", {
|
|
82
82
|
enumerable: true,
|
|
83
|
-
get: function () { return
|
|
83
|
+
get: function () { return chunk6QGTRYSC_js.buildSlideTemplateSlide; }
|
|
84
84
|
});
|
|
85
85
|
Object.defineProperty(exports, "clearAllLocalViewerData", {
|
|
86
86
|
enumerable: true,
|
|
87
|
-
get: function () { return
|
|
87
|
+
get: function () { return chunk6QGTRYSC_js.clearAllLocalViewerData; }
|
|
88
88
|
});
|
|
89
89
|
Object.defineProperty(exports, "clearStoredViewerPrefs", {
|
|
90
90
|
enumerable: true,
|
|
91
|
-
get: function () { return
|
|
91
|
+
get: function () { return chunk6QGTRYSC_js.clearStoredViewerPrefs; }
|
|
92
92
|
});
|
|
93
93
|
Object.defineProperty(exports, "defaultCssVars", {
|
|
94
94
|
enumerable: true,
|
|
95
|
-
get: function () { return
|
|
95
|
+
get: function () { return chunk6QGTRYSC_js.defaultCssVars; }
|
|
96
96
|
});
|
|
97
97
|
Object.defineProperty(exports, "defaultRadius", {
|
|
98
98
|
enumerable: true,
|
|
99
|
-
get: function () { return
|
|
99
|
+
get: function () { return chunk6QGTRYSC_js.defaultRadius; }
|
|
100
100
|
});
|
|
101
101
|
Object.defineProperty(exports, "defaultThemeColors", {
|
|
102
102
|
enumerable: true,
|
|
103
|
-
get: function () { return
|
|
103
|
+
get: function () { return chunk6QGTRYSC_js.defaultThemeColors; }
|
|
104
104
|
});
|
|
105
105
|
Object.defineProperty(exports, "getLocalStorageUsageSummary", {
|
|
106
106
|
enumerable: true,
|
|
107
|
-
get: function () { return
|
|
107
|
+
get: function () { return chunk6QGTRYSC_js.getLocalStorageUsageSummary; }
|
|
108
108
|
});
|
|
109
109
|
Object.defineProperty(exports, "readStoredViewerPrefs", {
|
|
110
110
|
enumerable: true,
|
|
111
|
-
get: function () { return
|
|
111
|
+
get: function () { return chunk6QGTRYSC_js.readStoredViewerPrefs; }
|
|
112
112
|
});
|
|
113
113
|
Object.defineProperty(exports, "resolveProfileInitial", {
|
|
114
114
|
enumerable: true,
|
|
115
|
-
get: function () { return
|
|
115
|
+
get: function () { return chunk6QGTRYSC_js.resolveProfileInitial; }
|
|
116
116
|
});
|
|
117
117
|
Object.defineProperty(exports, "resolveThemeCatalogEntry", {
|
|
118
118
|
enumerable: true,
|
|
119
|
-
get: function () { return
|
|
119
|
+
get: function () { return chunk6QGTRYSC_js.resolveThemeCatalogEntry; }
|
|
120
120
|
});
|
|
121
121
|
Object.defineProperty(exports, "saveViewerProfile", {
|
|
122
122
|
enumerable: true,
|
|
123
|
-
get: function () { return
|
|
123
|
+
get: function () { return chunk6QGTRYSC_js.saveViewerProfile; }
|
|
124
124
|
});
|
|
125
125
|
Object.defineProperty(exports, "themeToCssVars", {
|
|
126
126
|
enumerable: true,
|
|
127
|
-
get: function () { return
|
|
127
|
+
get: function () { return chunk6QGTRYSC_js.themeToCssVars; }
|
|
128
128
|
});
|
|
129
129
|
Object.defineProperty(exports, "vermilionDarkColors", {
|
|
130
130
|
enumerable: true,
|
|
131
|
-
get: function () { return
|
|
131
|
+
get: function () { return chunk6QGTRYSC_js.vermilionDarkColors; }
|
|
132
132
|
});
|
|
133
133
|
Object.defineProperty(exports, "vermilionDarkTheme", {
|
|
134
134
|
enumerable: true,
|
|
135
|
-
get: function () { return
|
|
135
|
+
get: function () { return chunk6QGTRYSC_js.vermilionDarkTheme; }
|
|
136
136
|
});
|
|
137
137
|
Object.defineProperty(exports, "vermilionLightColors", {
|
|
138
138
|
enumerable: true,
|
|
139
|
-
get: function () { return
|
|
139
|
+
get: function () { return chunk6QGTRYSC_js.vermilionLightColors; }
|
|
140
140
|
});
|
|
141
141
|
Object.defineProperty(exports, "vermilionLightTheme", {
|
|
142
142
|
enumerable: true,
|
|
143
|
-
get: function () { return
|
|
143
|
+
get: function () { return chunk6QGTRYSC_js.vermilionLightTheme; }
|
|
144
144
|
});
|
|
145
145
|
Object.defineProperty(exports, "vermilionRadius", {
|
|
146
146
|
enumerable: true,
|
|
147
|
-
get: function () { return
|
|
147
|
+
get: function () { return chunk6QGTRYSC_js.vermilionRadius; }
|
|
148
148
|
});
|
|
149
149
|
Object.defineProperty(exports, "writeStoredViewerPrefs", {
|
|
150
150
|
enumerable: true,
|
|
151
|
-
get: function () { return
|
|
151
|
+
get: function () { return chunk6QGTRYSC_js.writeStoredViewerPrefs; }
|
|
152
152
|
});
|
package/dist/index.js.br
CHANGED
|
Binary file
|
package/dist/index.js.gz
CHANGED
|
Binary file
|
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { PowerPointViewer, SlideCanvas, SlideTemplateGalleryDialog, SlideTemplatePreview, Toolbar, ViewerThemeProvider, useViewerTheme } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
export { renderToCanvas, useViewerBuildingBlocks } from './chunk-
|
|
4
|
-
export { getAnimationInitialStyle } from './chunk-
|
|
1
|
+
export { PowerPointViewer, SlideCanvas, SlideTemplateGalleryDialog, SlideTemplatePreview, Toolbar, ViewerThemeProvider, useViewerTheme } from './chunk-EFZ4K6V5.mjs';
|
|
2
|
+
import './chunk-MZN2UIYT.mjs';
|
|
3
|
+
export { renderToCanvas, useViewerBuildingBlocks } from './chunk-Y6W5LGTR.mjs';
|
|
4
|
+
export { getAnimationInitialStyle } from './chunk-5YGTUHNO.mjs';
|
|
5
5
|
export { LOCALE_CATALOG } from './chunk-5IUEPQTK.mjs';
|
|
6
|
-
export { AVATAR_COLOR_SWATCHES, DEFAULT_VIEWER_PROFILE, SLIDE_TEMPLATES, THEME_CATALOG, VIEWER_PREFS_STORAGE_KEY, buildSlideTemplateContent, buildSlideTemplateSlide, clearAllLocalViewerData, clearStoredViewerPrefs, defaultCssVars, defaultRadius, defaultThemeColors, getLocalStorageUsageSummary, readStoredViewerPrefs, resolveProfileInitial, resolveThemeCatalogEntry, saveViewerProfile, themeToCssVars, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius, writeStoredViewerPrefs } from './chunk-
|
|
6
|
+
export { AVATAR_COLOR_SWATCHES, DEFAULT_VIEWER_PROFILE, SLIDE_TEMPLATES, THEME_CATALOG, VIEWER_PREFS_STORAGE_KEY, buildSlideTemplateContent, buildSlideTemplateSlide, clearAllLocalViewerData, clearStoredViewerPrefs, defaultCssVars, defaultRadius, defaultThemeColors, getLocalStorageUsageSummary, readStoredViewerPrefs, resolveProfileInitial, resolveThemeCatalogEntry, saveViewerProfile, themeToCssVars, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius, writeStoredViewerPrefs } from './chunk-247XH4EN.mjs';
|
|
7
7
|
import './chunk-XGB3TDIC.mjs';
|
package/dist/index.mjs.br
CHANGED
|
Binary file
|
package/dist/index.mjs.gz
CHANGED
|
Binary file
|
package/dist/internals.d.ts
CHANGED
|
@@ -1938,6 +1938,17 @@ interface PlaceholderTextLevelStyle {
|
|
|
1938
1938
|
bold?: boolean;
|
|
1939
1939
|
italic?: boolean;
|
|
1940
1940
|
color?: string;
|
|
1941
|
+
/**
|
|
1942
|
+
* The `a:defRPr/a:solidFill` node this level's {@link color} came from.
|
|
1943
|
+
*
|
|
1944
|
+
* Master and layout text styles are parsed and cached before any slide is,
|
|
1945
|
+
* so a scheme alias such as `tx1` was resolved through the map that was
|
|
1946
|
+
* active then. A slide carrying `p:clrMapOvr` routes the same alias
|
|
1947
|
+
* somewhere else, so the alias has to be resolved again against the slide
|
|
1948
|
+
* that is inheriting it; {@link color} is only the reading taken at parse
|
|
1949
|
+
* time. Absent when the level declares no colour, or declares a literal one.
|
|
1950
|
+
*/
|
|
1951
|
+
colorChoiceXml?: XmlObject;
|
|
1941
1952
|
bulletChar?: string;
|
|
1942
1953
|
bulletAutoNumType?: string;
|
|
1943
1954
|
bulletFontFamily?: string;
|
|
@@ -3715,6 +3726,12 @@ interface PptxSmartArtDrawingShape extends PptxCustomPathProperties {
|
|
|
3715
3726
|
skewX?: number;
|
|
3716
3727
|
/** Skew along the Y axis in degrees. */
|
|
3717
3728
|
skewY?: number;
|
|
3729
|
+
/**
|
|
3730
|
+
* The cached shape declares `a:noFill`. Renderers must leave it unpainted
|
|
3731
|
+
* rather than substituting a palette colour, because these shapes usually sit
|
|
3732
|
+
* on top of a painted shape whose fill has to stay visible.
|
|
3733
|
+
*/
|
|
3734
|
+
fillNone?: boolean;
|
|
3718
3735
|
/** Solid fill colour (hex). */
|
|
3719
3736
|
fillColor?: string;
|
|
3720
3737
|
/**
|
|
@@ -8640,10 +8657,16 @@ interface MorphTransitionPlan {
|
|
|
8640
8657
|
overlayIncomingElements: PptxElement[];
|
|
8641
8658
|
/**
|
|
8642
8659
|
* The outgoing slide's elements, in document order, for the binding to
|
|
8643
|
-
* render in its transition overlay for the duration of the morph.
|
|
8644
|
-
*
|
|
8645
|
-
*
|
|
8646
|
-
*
|
|
8660
|
+
* render in its transition overlay for the duration of the morph. Most carry
|
|
8661
|
+
* an entry in {@link MorphTransitionPlan.outgoingAnimations}: they either
|
|
8662
|
+
* fade out in place (no counterpart) or glide onto a counterpart, dissolving
|
|
8663
|
+
* into it when the appearance changed.
|
|
8664
|
+
*
|
|
8665
|
+
* A ghost standing in for an INERT pair deliberately has no entry there and
|
|
8666
|
+
* is painted statically. Its keyframes would run from itself to itself, and
|
|
8667
|
+
* a running animation would put it on its own compositing layer, whose
|
|
8668
|
+
* raster the browser snaps to whole device pixels - visibly shifting a shape
|
|
8669
|
+
* that is not supposed to move at all (issue #161).
|
|
8647
8670
|
*
|
|
8648
8671
|
* This is a SUBSET of the outgoing slide: a shape the live stage already
|
|
8649
8672
|
* draws identically is left out, because the overlay is opaque above it and
|