pptx-react-viewer 4.24.0 → 4.24.2
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 +21 -0
- package/dist/{AiChatPanel-PNK52ZIC.mjs → AiChatPanel-OCGS4REH.mjs} +3 -3
- package/dist/AiChatPanel-OCGS4REH.mjs.br +0 -0
- package/dist/AiChatPanel-OCGS4REH.mjs.gz +0 -0
- package/dist/{AiChatPanel-442R7YGD.js → AiChatPanel-XRUVUXZV.js} +27 -27
- package/dist/AiChatPanel-XRUVUXZV.js.br +0 -0
- package/dist/AiChatPanel-XRUVUXZV.js.gz +0 -0
- package/dist/{Model3DScene-NS5A3NUF.mjs → Model3DScene-UTF7C2I7.mjs} +1 -1
- package/dist/Model3DScene-UTF7C2I7.mjs.br +0 -0
- package/dist/Model3DScene-UTF7C2I7.mjs.gz +0 -0
- package/dist/{Model3DScene-MNSJI6SF.js → Model3DScene-VSEMIJP4.js} +2 -2
- package/dist/Model3DScene-VSEMIJP4.js.br +0 -0
- package/dist/Model3DScene-VSEMIJP4.js.gz +0 -0
- package/dist/{chunk-Q4XVT3VK.js → chunk-3ARZNYHA.js} +1115 -1115
- package/dist/chunk-3ARZNYHA.js.br +0 -0
- package/dist/chunk-3ARZNYHA.js.gz +0 -0
- package/dist/{chunk-RNVQLIOU.mjs → chunk-3DDSCNZX.mjs} +1 -1
- package/dist/chunk-3DDSCNZX.mjs.br +0 -0
- package/dist/chunk-3DDSCNZX.mjs.gz +0 -0
- package/dist/{chunk-R4STFQSE.js → chunk-BOW27WFH.js} +5 -5
- package/dist/chunk-BOW27WFH.js.br +0 -0
- package/dist/chunk-BOW27WFH.js.gz +0 -0
- package/dist/{chunk-M367GJX7.mjs → chunk-G56N6OGG.mjs} +1 -1
- package/dist/chunk-G56N6OGG.mjs.br +0 -0
- package/dist/chunk-G56N6OGG.mjs.gz +0 -0
- package/dist/{chunk-WCPDUNS4.js → chunk-G5F3WAZE.js} +187 -187
- package/dist/chunk-G5F3WAZE.js.br +0 -0
- package/dist/chunk-G5F3WAZE.js.gz +0 -0
- package/dist/{chunk-3WP72WZS.mjs → chunk-M243P5KZ.mjs} +7 -3
- package/dist/chunk-M243P5KZ.mjs.br +0 -0
- package/dist/chunk-M243P5KZ.mjs.gz +0 -0
- package/dist/{chunk-UPF6YVER.js → chunk-PPGKTRGJ.js} +825 -821
- package/dist/chunk-PPGKTRGJ.js.br +0 -0
- package/dist/chunk-PPGKTRGJ.js.gz +0 -0
- package/dist/{chunk-474QZKN4.mjs → chunk-VFLCUB5I.mjs} +41171 -7540
- package/dist/chunk-VFLCUB5I.mjs.br +0 -0
- package/dist/chunk-VFLCUB5I.mjs.gz +0 -0
- package/dist/{chunk-SNJT3GDK.js → chunk-WEV3C7IC.js} +41170 -7539
- package/dist/chunk-WEV3C7IC.js.br +0 -0
- package/dist/chunk-WEV3C7IC.js.gz +0 -0
- package/dist/{chunk-OEBBZSOS.mjs → chunk-XDX6EEWB.mjs} +6 -6
- package/dist/chunk-XDX6EEWB.mjs.br +0 -0
- package/dist/chunk-XDX6EEWB.mjs.gz +0 -0
- package/dist/index.js +61 -61
- 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.js +104 -104
- package/dist/internals.js.br +0 -0
- package/dist/internals.js.gz +0 -0
- package/dist/internals.mjs +3 -3
- package/dist/internals.mjs.br +0 -0
- package/dist/internals.mjs.gz +0 -0
- package/dist/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 +3 -3
- package/dist/AiChatPanel-442R7YGD.js.br +0 -0
- package/dist/AiChatPanel-442R7YGD.js.gz +0 -0
- package/dist/AiChatPanel-PNK52ZIC.mjs.br +0 -0
- package/dist/AiChatPanel-PNK52ZIC.mjs.gz +0 -0
- package/dist/Model3DScene-MNSJI6SF.js.br +0 -0
- package/dist/Model3DScene-MNSJI6SF.js.gz +0 -0
- package/dist/Model3DScene-NS5A3NUF.mjs.br +0 -0
- package/dist/Model3DScene-NS5A3NUF.mjs.gz +0 -0
- package/dist/chunk-3WP72WZS.mjs.br +0 -0
- package/dist/chunk-3WP72WZS.mjs.gz +0 -0
- package/dist/chunk-474QZKN4.mjs.br +0 -0
- package/dist/chunk-474QZKN4.mjs.gz +0 -0
- package/dist/chunk-M367GJX7.mjs.br +0 -0
- package/dist/chunk-M367GJX7.mjs.gz +0 -0
- package/dist/chunk-OEBBZSOS.mjs.br +0 -0
- package/dist/chunk-OEBBZSOS.mjs.gz +0 -0
- package/dist/chunk-Q4XVT3VK.js.br +0 -0
- package/dist/chunk-Q4XVT3VK.js.gz +0 -0
- package/dist/chunk-R4STFQSE.js.br +0 -0
- package/dist/chunk-R4STFQSE.js.gz +0 -0
- package/dist/chunk-RNVQLIOU.mjs.br +0 -0
- package/dist/chunk-RNVQLIOU.mjs.gz +0 -0
- package/dist/chunk-SNJT3GDK.js.br +0 -0
- package/dist/chunk-SNJT3GDK.js.gz +0 -0
- package/dist/chunk-UPF6YVER.js.br +0 -0
- package/dist/chunk-UPF6YVER.js.gz +0 -0
- package/dist/chunk-WCPDUNS4.js.br +0 -0
- package/dist/chunk-WCPDUNS4.js.gz +0 -0
|
Binary file
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ThemePresets, PptxMarkdownConverter, hasTextProperties, hasShapeProperties } from './chunk-
|
|
1
|
+
import { ThemePresets, PptxMarkdownConverter, hasTextProperties, hasShapeProperties } from './chunk-VFLCUB5I.mjs';
|
|
2
2
|
import { __export } from './chunk-XGB3TDIC.mjs';
|
|
3
3
|
import * as mcp from 'pptx-viewer-mcp';
|
|
4
4
|
import * as mcpSchemas from 'pptx-viewer-mcp/schemas';
|
|
Binary file
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkWEV3C7IC_js = require('./chunk-WEV3C7IC.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');
|
|
@@ -20032,7 +20032,7 @@ async function buildSlideMarkdown(slides, slideIndex2, meta3, options = {}) {
|
|
|
20032
20032
|
};
|
|
20033
20033
|
let markdown;
|
|
20034
20034
|
try {
|
|
20035
|
-
const converter = new
|
|
20035
|
+
const converter = new chunkWEV3C7IC_js.PptxMarkdownConverter(
|
|
20036
20036
|
"",
|
|
20037
20037
|
{
|
|
20038
20038
|
sourceName: meta3.title ?? "deck.pptx",
|
|
@@ -20624,7 +20624,7 @@ var getTheme = (ctx) => {
|
|
|
20624
20624
|
name: theme?.name,
|
|
20625
20625
|
colorScheme: theme?.colorScheme,
|
|
20626
20626
|
fontScheme: theme?.fontScheme,
|
|
20627
|
-
availablePresets: Object.keys(
|
|
20627
|
+
availablePresets: Object.keys(chunkWEV3C7IC_js.ThemePresets)
|
|
20628
20628
|
};
|
|
20629
20629
|
};
|
|
20630
20630
|
var readExecutors = {
|
|
@@ -21754,7 +21754,7 @@ function applyElementUpdate(el, u) {
|
|
|
21754
21754
|
applyShapeStyleUpdate(el, u);
|
|
21755
21755
|
}
|
|
21756
21756
|
function applyTextUpdate(el, u) {
|
|
21757
|
-
if (!
|
|
21757
|
+
if (!chunkWEV3C7IC_js.hasTextProperties(el)) {
|
|
21758
21758
|
return;
|
|
21759
21759
|
}
|
|
21760
21760
|
const textEl = el;
|
|
@@ -21800,7 +21800,7 @@ function applyShapeStyleUpdate(el, u) {
|
|
|
21800
21800
|
if (u.fillColor === void 0 && u.strokeColor === void 0 && u.strokeWidth === void 0) {
|
|
21801
21801
|
return;
|
|
21802
21802
|
}
|
|
21803
|
-
if (!
|
|
21803
|
+
if (!chunkWEV3C7IC_js.hasShapeProperties(el)) {
|
|
21804
21804
|
return;
|
|
21805
21805
|
}
|
|
21806
21806
|
const holder = el;
|
|
Binary file
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SHAPE_PRESET_DEFS, VIEWER_SHORTCUT_REFERENCE, STROKE_DASH_OPTIONS, getAnimationInitialStyle, cloneHistorySnapshot, hasShapeProperties, getImageFitStyle, getImageFillCounterTransform, getComputedFillStyle, isImageLikeElement, getCropShapeClipPath, getImageTilingStyle, mediaPlaybackAttributes, getOnlineVideoEmbed, ONLINE_VIDEO_IFRAME_SANDBOX, ONLINE_VIDEO_IFRAME_ALLOW, buildTextBlockStyle, hasTextProperties, toCssWritingMode, toCssTextOrientation, toCssVerticalDirection, buildTextBodyLayoutStyle, buildTextBody3DSceneStyle, buildParagraphs, followingText, colorWithOpacity, normalizeHexColor, hexToRgbUnit, build3DExtrusionData, getComputedEffectStyle, getComputedStrokeStyle, getAnimationColorBaseStyle, isStrokeOnlyPresetElement, resolveShapeGeometry, getConnectorPathGeometry, normalizeStrokeDashType, getSvgStrokeDasharray, buildSvgGradientDef, buildStrokeOutline, getPresetShapeVectorGeometry, isWedgeCalloutPresetShape, svgGradientFillRef, isCalloutShape, getCalloutLeaderLineGeometry, buildCalloutLeaderLineSvgPath, getCalloutViewBoxBounds, svgLineCap, getCompoundLineOffsets, getCompoundLineWidths, canDrillDown, computeSelectionRect, DEFAULT_FONT_FAMILY, cellStyleToCss, rectToCells, isCellInRect, tableContainerCss, buildChartViewModel, resolveChartKind, chartPreserveAspectRatio, buildNotesPdfBytes, buildTiledSlidesPdfBytes, buildPreviewAnimation, measurePreviewGeometry, buildMotionPathPreview, mediaFallbackVisual, scheduleMediaTrimAndFade, registerCrossSlideAudio, shouldShowMediaFullscreenStopButton, withInlineListDecorationDefaults, segmentStyleToCss, resolveAutoFitFontScale, applyUnderlineVariant, nestedTextDecorationStyle, scaleFontSizeForAutoFit, resolveFontKerning, getSubstituteFontFamily, parsePanoseString, resolveScriptFontSet, hasDistinctScriptFonts, authoredLetterSpacingPx, pieceLetterSpacing, resolveMetricTrackingPx, hollowTextFillStyle, splitsUnderlineIntoWords, stripUnderlineDecoration, buildTabContext, TEXT_BUILD_ID_SEP, buildTextBuildSpec, textBuildSpanStyle, apply3dEffects, customGeometryPathsToSvgSubpaths, buildSubpathPaints, computeColumnBoundaries, getTableCellBandStyle, parseDrawingColor, parseDrawingColorOpacity, getCellDiagonalBorders, xmlText, cellRunStyle, getChartStylePalette, computeChartLegendLayout, mediaFallbackIcon, mediaFallbackLabelKey, MEDIA_CHROME_ATTRIBUTE, convertOmmlToMathMl, sanitizeMathMl, tableCellCss, computeResizedColumnWidths, computeResizedRowHeight, DEFAULT_ROW_HEIGHT, ooxmlGradientAngleToCssDegrees, buildRectPathGradient, buildRunTabLines, chartPartToAttrs, splitWordsForUnderline, splitRunForMetrics, splitEastAsianBreaks, splitRunByScriptFont } from './chunk-
|
|
1
|
+
import { SHAPE_PRESET_DEFS, VIEWER_SHORTCUT_REFERENCE, STROKE_DASH_OPTIONS, getAnimationInitialStyle, cloneHistorySnapshot, hasShapeProperties, getImageFitStyle, getImageFillCounterTransform, getComputedFillStyle, isImageLikeElement, getCropShapeClipPath, getImageTilingStyle, mediaPlaybackAttributes, getOnlineVideoEmbed, ONLINE_VIDEO_IFRAME_SANDBOX, ONLINE_VIDEO_IFRAME_ALLOW, buildTextBlockStyle, hasTextProperties, toCssWritingMode, toCssTextOrientation, toCssVerticalDirection, buildTextBodyLayoutStyle, buildTextBody3DSceneStyle, buildParagraphs, followingText, colorWithOpacity, normalizeHexColor, hexToRgbUnit, build3DExtrusionData, getComputedEffectStyle, getComputedStrokeStyle, getAnimationColorBaseStyle, isStrokeOnlyPresetElement, resolveShapeGeometry, getConnectorPathGeometry, normalizeStrokeDashType, getSvgStrokeDasharray, buildSvgGradientDef, buildStrokeOutline, getPresetShapeVectorGeometry, isWedgeCalloutPresetShape, svgGradientFillRef, isCalloutShape, getCalloutLeaderLineGeometry, buildCalloutLeaderLineSvgPath, getCalloutViewBoxBounds, svgLineCap, getCompoundLineOffsets, getCompoundLineWidths, canDrillDown, computeSelectionRect, DEFAULT_FONT_FAMILY, cellStyleToCss, rectToCells, isCellInRect, tableContainerCss, buildChartViewModel, resolveChartKind, chartPreserveAspectRatio, buildNotesPdfBytes, buildTiledSlidesPdfBytes, buildPreviewAnimation, measurePreviewGeometry, buildMotionPathPreview, mediaFallbackVisual, scheduleMediaTrimAndFade, registerCrossSlideAudio, shouldShowMediaFullscreenStopButton, withInlineListDecorationDefaults, segmentStyleToCss, resolveAutoFitFontScale, applyUnderlineVariant, nestedTextDecorationStyle, scaleFontSizeForAutoFit, resolveFontKerning, getSubstituteFontFamily, parsePanoseString, resolveScriptFontSet, hasDistinctScriptFonts, authoredLetterSpacingPx, pieceLetterSpacing, resolveMetricTrackingPx, hollowTextFillStyle, splitsUnderlineIntoWords, stripUnderlineDecoration, buildTabContext, TEXT_BUILD_ID_SEP, buildTextBuildSpec, textBuildSpanStyle, apply3dEffects, customGeometryPathsToSvgSubpaths, buildSubpathPaints, computeColumnBoundaries, getTableCellBandStyle, parseDrawingColor, parseDrawingColorOpacity, getCellDiagonalBorders, xmlText, cellRunStyle, getChartStylePalette, computeChartLegendLayout, mediaFallbackIcon, mediaFallbackLabelKey, MEDIA_CHROME_ATTRIBUTE, convertOmmlToMathMl, sanitizeMathMl, tableCellCss, computeResizedColumnWidths, computeResizedRowHeight, DEFAULT_ROW_HEIGHT, ooxmlGradientAngleToCssDegrees, buildRectPathGradient, buildRunTabLines, chartPartToAttrs, splitWordsForUnderline, splitRunForMetrics, splitEastAsianBreaks, splitRunByScriptFont } from './chunk-VFLCUB5I.mjs';
|
|
2
2
|
import { translationsEn } from './chunk-Q4HRYUEP.mjs';
|
|
3
3
|
import { clsx } from 'clsx';
|
|
4
4
|
import { twMerge } from 'tailwind-merge';
|
|
Binary file
|
|
Binary file
|