pptx-react-viewer 2.19.0 → 2.19.1
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 +11 -0
- package/dist/{AiChatPanel-FZUKTQPQ.mjs → AiChatPanel-GRAIPSG3.mjs} +3 -3
- package/dist/AiChatPanel-GRAIPSG3.mjs.br +0 -0
- package/dist/AiChatPanel-GRAIPSG3.mjs.gz +0 -0
- package/dist/{AiChatPanel-2GBJETOY.js → AiChatPanel-JSTZ6W7R.js} +23 -23
- package/dist/AiChatPanel-JSTZ6W7R.js.br +0 -0
- package/dist/AiChatPanel-JSTZ6W7R.js.gz +0 -0
- package/dist/{Model3DScene-WRRQSYAZ.mjs → Model3DScene-FXDA7OII.mjs} +1 -1
- package/dist/Model3DScene-FXDA7OII.mjs.br +0 -0
- package/dist/Model3DScene-FXDA7OII.mjs.gz +0 -0
- package/dist/{Model3DScene-JHTI2AQ6.js → Model3DScene-WLRZXJHN.js} +2 -2
- package/dist/Model3DScene-WLRZXJHN.js.br +0 -0
- package/dist/Model3DScene-WLRZXJHN.js.gz +0 -0
- package/dist/{chunk-BO373PYH.mjs → chunk-5ZQ3ZQ3M.mjs} +3 -12
- package/dist/chunk-5ZQ3ZQ3M.mjs.br +0 -0
- package/dist/chunk-5ZQ3ZQ3M.mjs.gz +0 -0
- package/dist/{chunk-YWJBD7KV.mjs → chunk-B55E3KXL.mjs} +7 -7
- package/dist/chunk-B55E3KXL.mjs.br +0 -0
- package/dist/chunk-B55E3KXL.mjs.gz +0 -0
- package/dist/{chunk-ZMEYXAC6.mjs → chunk-KQGS6A5J.mjs} +1 -1
- package/dist/chunk-KQGS6A5J.mjs.br +0 -0
- package/dist/chunk-KQGS6A5J.mjs.gz +0 -0
- package/dist/{chunk-IRLOXBO7.js → chunk-LMTUC7U7.js} +372 -381
- package/dist/chunk-LMTUC7U7.js.br +0 -0
- package/dist/chunk-LMTUC7U7.js.gz +0 -0
- package/dist/{chunk-OVPJT4EQ.js → chunk-PIJAFM4B.js} +179 -153
- package/dist/chunk-PIJAFM4B.js.br +0 -0
- package/dist/chunk-PIJAFM4B.js.gz +0 -0
- package/dist/{chunk-XF3EOHY2.mjs → chunk-PNR3J26S.mjs} +87 -35
- package/dist/chunk-PNR3J26S.mjs.br +0 -0
- package/dist/{chunk-XF3EOHY2.mjs.gz → chunk-PNR3J26S.mjs.gz} +0 -0
- package/dist/{chunk-RPJ2BIQ7.js → chunk-SCGIXXN5.js} +3 -3
- package/dist/chunk-SCGIXXN5.js.br +0 -0
- package/dist/chunk-SCGIXXN5.js.gz +0 -0
- package/dist/{chunk-7ARD2J6Y.js → chunk-T7BIRNE4.js} +89 -34
- package/dist/chunk-T7BIRNE4.js.br +0 -0
- package/dist/{chunk-7ARD2J6Y.js.gz → chunk-T7BIRNE4.js.gz} +0 -0
- package/dist/{chunk-NFFV3RDS.js → chunk-TPC65IB2.js} +1018 -1018
- package/dist/chunk-TPC65IB2.js.br +0 -0
- package/dist/chunk-TPC65IB2.js.gz +0 -0
- package/dist/{chunk-MWEBCWVD.mjs → chunk-WGXQXHCS.mjs} +37 -11
- package/dist/chunk-WGXQXHCS.mjs.br +0 -0
- package/dist/chunk-WGXQXHCS.mjs.gz +0 -0
- package/dist/index.js +45 -45
- 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 +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.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-2GBJETOY.js.br +0 -0
- package/dist/AiChatPanel-2GBJETOY.js.gz +0 -0
- package/dist/AiChatPanel-FZUKTQPQ.mjs.br +0 -0
- package/dist/AiChatPanel-FZUKTQPQ.mjs.gz +0 -0
- package/dist/Model3DScene-JHTI2AQ6.js.br +0 -0
- package/dist/Model3DScene-JHTI2AQ6.js.gz +0 -0
- package/dist/Model3DScene-WRRQSYAZ.mjs.br +0 -0
- package/dist/Model3DScene-WRRQSYAZ.mjs.gz +0 -0
- package/dist/chunk-7ARD2J6Y.js.br +0 -0
- package/dist/chunk-BO373PYH.mjs.br +0 -0
- package/dist/chunk-BO373PYH.mjs.gz +0 -0
- package/dist/chunk-IRLOXBO7.js.br +0 -0
- package/dist/chunk-IRLOXBO7.js.gz +0 -0
- package/dist/chunk-MWEBCWVD.mjs.br +0 -0
- package/dist/chunk-MWEBCWVD.mjs.gz +0 -0
- package/dist/chunk-NFFV3RDS.js.br +0 -0
- package/dist/chunk-NFFV3RDS.js.gz +0 -0
- package/dist/chunk-OVPJT4EQ.js.br +0 -0
- package/dist/chunk-OVPJT4EQ.js.gz +0 -0
- package/dist/chunk-RPJ2BIQ7.js.br +0 -0
- package/dist/chunk-RPJ2BIQ7.js.gz +0 -0
- package/dist/chunk-XF3EOHY2.mjs.br +0 -0
- package/dist/chunk-YWJBD7KV.mjs.br +0 -0
- package/dist/chunk-YWJBD7KV.mjs.gz +0 -0
- package/dist/chunk-ZMEYXAC6.mjs.br +0 -0
- package/dist/chunk-ZMEYXAC6.mjs.gz +0 -0
|
Binary file
|
|
Binary file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { translationsEn } from './chunk-SQJBFMEX.mjs';
|
|
2
|
-
import { SHAPE_PRESET_DEFS, VIEWER_SHORTCUT_REFERENCE, getAnimationInitialStyle, cloneHistorySnapshot, hasShapeProperties, getImageFitStyle, isImageLikeElement, getImageTilingStyle, runMediaCommand, findMediaElementByElementId, mediaPlaybackAttributes, buildTextBlockStyle, hasTextProperties, toCssWritingMode, toCssTextOrientation, toCssVerticalDirection, buildTextBodyLayoutStyle, buildTextBody3DSceneStyle, buildParagraphs, colorWithOpacity, normalizeHexColor, build3DExtrusionData, getComputedFillStyle, getComputedEffectStyle, getComputedStrokeStyle, isStrokeOnlyPresetElement, resolveShapeGeometry, normalizeStrokeDashType, getSvgStrokeDasharray, buildSvgGradientDef, isCalloutShape, getCalloutLeaderLineGeometry, buildCalloutLeaderLineSvgPath, getCalloutViewBoxBounds, svgLineCap, getCompoundLineOffsets, getCompoundLineWidths, computeSelectionRect, DEFAULT_FONT_FAMILY, cellStyleToCss, rectToCells, isCellInRect, tableContainerCss, buildChartViewModel, resolveChartKind, chartPreserveAspectRatio, buildNotesPdfBytes, buildSlidesPdfBytes, buildPreviewAnimation, buildMotionPathPreview, getRoundRectRadiusPx2, getResolvedShapeClipPath, mediaFallbackVisual, registerPersistentAudio, resolveAutoFitFontScale, getSubstituteFontFamily, parsePanoseString, hasDistinctScriptFonts, pieceLetterSpacing, resolveMetricTrackingPx, TEXT_BUILD_ID_SEP, buildTextBuildSpec, textBuildSpanStyle, apply3dEffects, clampUnitInterval, customGeometryPathsToSvgSubpaths, svgGradientFillRef, computeColumnBoundaries, getTableCellBandStyle, parseDrawingColor, parseDrawingColorOpacity, getCellDiagonalBorders, cellRunStyle, getChartStylePalette, mediaFallbackIcon, mediaFallbackLabelKey, MEDIA_CHROME_ATTRIBUTE, convertOmmlToMathMl, sanitizeMathMl, tableCellCss, computeResizedColumnWidths, computeResizedRowHeight, DEFAULT_ROW_HEIGHT, ooxmlGradientAngleToCssDegrees, chartPartToAttrs, splitRunForMetrics, hexToRgbChannels, segmentByScript, resolveFontForScript } from './chunk-
|
|
2
|
+
import { SHAPE_PRESET_DEFS, VIEWER_SHORTCUT_REFERENCE, getAnimationInitialStyle, cloneHistorySnapshot, hasShapeProperties, getImageFitStyle, isImageLikeElement, getImageTilingStyle, runMediaCommand, findMediaElementByElementId, mediaPlaybackAttributes, buildTextBlockStyle, hasTextProperties, toCssWritingMode, toCssTextOrientation, toCssVerticalDirection, buildTextBodyLayoutStyle, buildTextBody3DSceneStyle, buildParagraphs, colorWithOpacity, normalizeHexColor, build3DExtrusionData, getComputedFillStyle, getComputedEffectStyle, getComputedStrokeStyle, isStrokeOnlyPresetElement, resolveShapeGeometry, normalizeStrokeDashType, getSvgStrokeDasharray, buildSvgGradientDef, isCalloutShape, getCalloutLeaderLineGeometry, buildCalloutLeaderLineSvgPath, getCalloutViewBoxBounds, svgLineCap, getCompoundLineOffsets, getCompoundLineWidths, computeSelectionRect, DEFAULT_FONT_FAMILY, cellStyleToCss, rectToCells, isCellInRect, tableContainerCss, buildChartViewModel, resolveChartKind, chartPreserveAspectRatio, buildNotesPdfBytes, buildSlidesPdfBytes, buildPreviewAnimation, buildMotionPathPreview, getRoundRectRadiusPx2, getResolvedShapeClipPath, mediaFallbackVisual, registerPersistentAudio, resolveAutoFitFontScale, getSubstituteFontFamily, parsePanoseString, hasDistinctScriptFonts, nestedTextDecorationStyle, pieceLetterSpacing, resolveMetricTrackingPx, hollowTextFillStyle, TEXT_BUILD_ID_SEP, buildTextBuildSpec, textBuildSpanStyle, apply3dEffects, clampUnitInterval, customGeometryPathsToSvgSubpaths, svgGradientFillRef, computeColumnBoundaries, getTableCellBandStyle, parseDrawingColor, parseDrawingColorOpacity, getCellDiagonalBorders, cellRunStyle, getChartStylePalette, mediaFallbackIcon, mediaFallbackLabelKey, MEDIA_CHROME_ATTRIBUTE, convertOmmlToMathMl, sanitizeMathMl, tableCellCss, computeResizedColumnWidths, computeResizedRowHeight, DEFAULT_ROW_HEIGHT, ooxmlGradientAngleToCssDegrees, chartPartToAttrs, splitRunForMetrics, hexToRgbChannels, segmentByScript, resolveFontForScript } from './chunk-PNR3J26S.mjs';
|
|
3
3
|
import { clsx } from 'clsx';
|
|
4
4
|
import { twMerge } from 'tailwind-merge';
|
|
5
5
|
import React6, { useRef, useState, useEffect, useCallback, useMemo, useLayoutEffect } from 'react';
|
|
@@ -1318,7 +1318,7 @@ function fillLeader(glyph, width, font) {
|
|
|
1318
1318
|
const count = Math.ceil(width / glyphWidth) + 1;
|
|
1319
1319
|
return glyph.repeat(count);
|
|
1320
1320
|
}
|
|
1321
|
-
function renderTabbedLine(line, ctx, keyPrefix, renderPiece) {
|
|
1321
|
+
function renderTabbedLine(line, ctx, keyPrefix, renderPiece, nestedStyle) {
|
|
1322
1322
|
const segments = line.split(" ");
|
|
1323
1323
|
const pieces = computeTabbedLayout(
|
|
1324
1324
|
segments,
|
|
@@ -1344,11 +1344,11 @@ function renderTabbedLine(line, ctx, keyPrefix, renderPiece) {
|
|
|
1344
1344
|
children: piece.leaderChar ? fillLeader(piece.leaderChar, piece.leaderWidth, ctx.font) : ""
|
|
1345
1345
|
}
|
|
1346
1346
|
) : null,
|
|
1347
|
-
/* @__PURE__ */ jsx("span", { style: { display: "inline-block", whiteSpace: "pre" }, children: renderPiece(piece.text, key) })
|
|
1347
|
+
/* @__PURE__ */ jsx("span", { style: { ...nestedStyle, display: "inline-block", whiteSpace: "pre" }, children: renderPiece(piece.text, key) })
|
|
1348
1348
|
] }, key);
|
|
1349
1349
|
}) });
|
|
1350
1350
|
}
|
|
1351
|
-
function renderScriptAwareText(text, needsScriptFonts, scriptFonts, baseFontFamily, keyPrefix) {
|
|
1351
|
+
function renderScriptAwareText(text, needsScriptFonts, scriptFonts, baseFontFamily, keyPrefix, nestedStyle) {
|
|
1352
1352
|
if (!needsScriptFonts || !text) {
|
|
1353
1353
|
return text;
|
|
1354
1354
|
}
|
|
@@ -1357,7 +1357,7 @@ function renderScriptAwareText(text, needsScriptFonts, scriptFonts, baseFontFami
|
|
|
1357
1357
|
if (runs.length === 1) {
|
|
1358
1358
|
const font = resolveFontForScript(runs[0].script, scriptFonts);
|
|
1359
1359
|
if (font && font !== baseFontFamily) {
|
|
1360
|
-
return /* @__PURE__ */ jsx("span", { style: { fontFamily: font }, children: text });
|
|
1360
|
+
return /* @__PURE__ */ jsx("span", { style: { ...nestedStyle, fontFamily: font }, children: text });
|
|
1361
1361
|
}
|
|
1362
1362
|
}
|
|
1363
1363
|
return text;
|
|
@@ -1367,7 +1367,7 @@ function renderScriptAwareText(text, needsScriptFonts, scriptFonts, baseFontFami
|
|
|
1367
1367
|
if (!font || font === baseFontFamily) {
|
|
1368
1368
|
return /* @__PURE__ */ jsx(React6.Fragment, { children: run.text }, `${keyPrefix}-r${i}`);
|
|
1369
1369
|
}
|
|
1370
|
-
return /* @__PURE__ */ jsx("span", { style: { fontFamily: font }, children: run.text }, `${keyPrefix}-r${i}`);
|
|
1370
|
+
return /* @__PURE__ */ jsx("span", { style: { ...nestedStyle, fontFamily: font }, children: run.text }, `${keyPrefix}-r${i}`);
|
|
1371
1371
|
});
|
|
1372
1372
|
}
|
|
1373
1373
|
function renderMetricPieces(text, metric, keyPrefix, inner) {
|
|
@@ -1381,7 +1381,10 @@ function renderMetricPieces(text, metric, keyPrefix, inner) {
|
|
|
1381
1381
|
return pieces.map((piece, i) => /* @__PURE__ */ jsx(
|
|
1382
1382
|
"span",
|
|
1383
1383
|
{
|
|
1384
|
-
style: {
|
|
1384
|
+
style: {
|
|
1385
|
+
...metric.nestedStyle,
|
|
1386
|
+
letterSpacing: pieceLetterSpacing(metric.authoredPx, piece.tracking)
|
|
1387
|
+
},
|
|
1385
1388
|
children: inner(piece.text, `${keyPrefix}-w${i}`)
|
|
1386
1389
|
},
|
|
1387
1390
|
`${keyPrefix}-w${i}`
|
|
@@ -1396,10 +1399,17 @@ function renderSegmentContent(elementId, segmentIndex, textValue, lines, needsSc
|
|
|
1396
1399
|
text,
|
|
1397
1400
|
metric,
|
|
1398
1401
|
key,
|
|
1399
|
-
(pieceText, pieceKey) => renderScriptAwareText(
|
|
1402
|
+
(pieceText, pieceKey) => renderScriptAwareText(
|
|
1403
|
+
pieceText,
|
|
1404
|
+
needsScriptFonts,
|
|
1405
|
+
scriptFonts,
|
|
1406
|
+
baseFontFamily,
|
|
1407
|
+
pieceKey,
|
|
1408
|
+
metric?.nestedStyle
|
|
1409
|
+
)
|
|
1400
1410
|
);
|
|
1401
1411
|
return /* @__PURE__ */ jsxs(React6.Fragment, { children: [
|
|
1402
|
-
tabContext && line.includes(" ") ? renderTabbedLine(line, tabContext, lineKey, renderPiece) : renderPiece(line, lineKey),
|
|
1412
|
+
tabContext && line.includes(" ") ? renderTabbedLine(line, tabContext, lineKey, renderPiece, metric?.nestedStyle) : renderPiece(line, lineKey),
|
|
1403
1413
|
lineIndex < lines.length - 1 ? /* @__PURE__ */ jsx("br", {}) : null
|
|
1404
1414
|
] }, lineKey);
|
|
1405
1415
|
});
|
|
@@ -1433,7 +1443,14 @@ function renderSegmentContent(elementId, segmentIndex, textValue, lines, needsSc
|
|
|
1433
1443
|
text,
|
|
1434
1444
|
metric,
|
|
1435
1445
|
key,
|
|
1436
|
-
(pieceText, pieceKey) => renderScriptAwareText(
|
|
1446
|
+
(pieceText, pieceKey) => renderScriptAwareText(
|
|
1447
|
+
pieceText,
|
|
1448
|
+
needsScriptFonts,
|
|
1449
|
+
scriptFonts,
|
|
1450
|
+
baseFontFamily,
|
|
1451
|
+
pieceKey,
|
|
1452
|
+
metric?.nestedStyle
|
|
1453
|
+
)
|
|
1437
1454
|
);
|
|
1438
1455
|
return chunks.map((chunk, ci) => {
|
|
1439
1456
|
const chunkKey = `${elementId}-seg-${segmentIndex}-hl-${ci}`;
|
|
@@ -1441,6 +1458,7 @@ function renderSegmentContent(elementId, segmentIndex, textValue, lines, needsSc
|
|
|
1441
1458
|
"mark",
|
|
1442
1459
|
{
|
|
1443
1460
|
style: {
|
|
1461
|
+
...metric?.nestedStyle,
|
|
1444
1462
|
backgroundColor: chunk.isCurrent ? "#f97316" : "#facc15",
|
|
1445
1463
|
color: "inherit",
|
|
1446
1464
|
borderRadius: 2
|
|
@@ -1554,7 +1572,8 @@ function renderParagraphRun(run, segment, ctx, keySuffix = "") {
|
|
|
1554
1572
|
bold: Boolean(segmentStyle.bold),
|
|
1555
1573
|
italic: Boolean(segmentStyle.italic)
|
|
1556
1574
|
};
|
|
1557
|
-
const
|
|
1575
|
+
const nestedStyle = nestedTextDecorationStyle(run.style);
|
|
1576
|
+
const metricContext = { font: metricFont, authoredPx: authoredLetterSpacing, nestedStyle };
|
|
1558
1577
|
const spanStyle = { ...run.style };
|
|
1559
1578
|
spanStyle.color = resolvedSegmentColor;
|
|
1560
1579
|
spanStyle.fontSize = baseFontSize * baselineFontScale;
|
|
@@ -1565,6 +1584,13 @@ function renderParagraphRun(run, segment, ctx, keySuffix = "") {
|
|
|
1565
1584
|
authoredLetterSpacing,
|
|
1566
1585
|
resolveMetricTrackingPx(textValue, metricFont)
|
|
1567
1586
|
);
|
|
1587
|
+
const hollow = hollowTextFillStyle(segmentStyle, {
|
|
1588
|
+
color: resolvedSegmentColor,
|
|
1589
|
+
textStroke: typeof spanStyle.WebkitTextStroke === "string" ? spanStyle.WebkitTextStroke : void 0
|
|
1590
|
+
});
|
|
1591
|
+
if (hollow) {
|
|
1592
|
+
Object.assign(spanStyle, hollow);
|
|
1593
|
+
}
|
|
1568
1594
|
const runRtl = segmentStyle.rtl;
|
|
1569
1595
|
if (runRtl !== void 0) {
|
|
1570
1596
|
spanStyle.direction = runRtl ? "rtl" : "ltr";
|
|
Binary file
|
|
Binary file
|
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 chunkTPC65IB2_js = require('./chunk-TPC65IB2.js');
|
|
4
|
+
require('./chunk-SCGIXXN5.js');
|
|
5
|
+
var chunkLMTUC7U7_js = require('./chunk-LMTUC7U7.js');
|
|
6
|
+
var chunkPIJAFM4B_js = require('./chunk-PIJAFM4B.js');
|
|
7
7
|
var chunkMVKRI3CZ_js = require('./chunk-MVKRI3CZ.js');
|
|
8
|
-
var
|
|
8
|
+
var chunkT7BIRNE4_js = require('./chunk-T7BIRNE4.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 chunkTPC65IB2_js.PowerPointViewer; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "SlideCanvas", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkTPC65IB2_js.SlideCanvas; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "SlideTemplateGalleryDialog", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkTPC65IB2_js.SlideTemplateGalleryDialog; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "SlideTemplatePreview", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkTPC65IB2_js.SlideTemplatePreview; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "Toolbar", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkTPC65IB2_js.Toolbar; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "ViewerThemeProvider", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunkTPC65IB2_js.ViewerThemeProvider; }
|
|
36
36
|
});
|
|
37
37
|
Object.defineProperty(exports, "useViewerTheme", {
|
|
38
38
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunkTPC65IB2_js.useViewerTheme; }
|
|
40
40
|
});
|
|
41
41
|
Object.defineProperty(exports, "renderToCanvas", {
|
|
42
42
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunkLMTUC7U7_js.renderToCanvas; }
|
|
44
44
|
});
|
|
45
45
|
Object.defineProperty(exports, "useViewerBuildingBlocks", {
|
|
46
46
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunkLMTUC7U7_js.useViewerBuildingBlocks; }
|
|
48
48
|
});
|
|
49
49
|
Object.defineProperty(exports, "getAnimationInitialStyle", {
|
|
50
50
|
enumerable: true,
|
|
51
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunkPIJAFM4B_js.getAnimationInitialStyle; }
|
|
52
52
|
});
|
|
53
53
|
Object.defineProperty(exports, "LOCALE_CATALOG", {
|
|
54
54
|
enumerable: true,
|
|
@@ -56,121 +56,121 @@ 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 chunkT7BIRNE4_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 chunkT7BIRNE4_js.DEFAULT_VIEWER_PROFILE; }
|
|
64
64
|
});
|
|
65
65
|
Object.defineProperty(exports, "PPTX_OPEN_ACCEPT", {
|
|
66
66
|
enumerable: true,
|
|
67
|
-
get: function () { return
|
|
67
|
+
get: function () { return chunkT7BIRNE4_js.PPTX_OPEN_ACCEPT; }
|
|
68
68
|
});
|
|
69
69
|
Object.defineProperty(exports, "PRESENTATION_OPEN_EXTENSIONS", {
|
|
70
70
|
enumerable: true,
|
|
71
|
-
get: function () { return
|
|
71
|
+
get: function () { return chunkT7BIRNE4_js.PRESENTATION_OPEN_EXTENSIONS; }
|
|
72
72
|
});
|
|
73
73
|
Object.defineProperty(exports, "SLIDE_TEMPLATES", {
|
|
74
74
|
enumerable: true,
|
|
75
|
-
get: function () { return
|
|
75
|
+
get: function () { return chunkT7BIRNE4_js.SLIDE_TEMPLATES; }
|
|
76
76
|
});
|
|
77
77
|
Object.defineProperty(exports, "THEME_CATALOG", {
|
|
78
78
|
enumerable: true,
|
|
79
|
-
get: function () { return
|
|
79
|
+
get: function () { return chunkT7BIRNE4_js.THEME_CATALOG; }
|
|
80
80
|
});
|
|
81
81
|
Object.defineProperty(exports, "VIEWER_PREFS_STORAGE_KEY", {
|
|
82
82
|
enumerable: true,
|
|
83
|
-
get: function () { return
|
|
83
|
+
get: function () { return chunkT7BIRNE4_js.VIEWER_PREFS_STORAGE_KEY; }
|
|
84
84
|
});
|
|
85
85
|
Object.defineProperty(exports, "buildSlideTemplateContent", {
|
|
86
86
|
enumerable: true,
|
|
87
|
-
get: function () { return
|
|
87
|
+
get: function () { return chunkT7BIRNE4_js.buildSlideTemplateContent; }
|
|
88
88
|
});
|
|
89
89
|
Object.defineProperty(exports, "buildSlideTemplateSlide", {
|
|
90
90
|
enumerable: true,
|
|
91
|
-
get: function () { return
|
|
91
|
+
get: function () { return chunkT7BIRNE4_js.buildSlideTemplateSlide; }
|
|
92
92
|
});
|
|
93
93
|
Object.defineProperty(exports, "clearAllLocalViewerData", {
|
|
94
94
|
enumerable: true,
|
|
95
|
-
get: function () { return
|
|
95
|
+
get: function () { return chunkT7BIRNE4_js.clearAllLocalViewerData; }
|
|
96
96
|
});
|
|
97
97
|
Object.defineProperty(exports, "clearStoredViewerPrefs", {
|
|
98
98
|
enumerable: true,
|
|
99
|
-
get: function () { return
|
|
99
|
+
get: function () { return chunkT7BIRNE4_js.clearStoredViewerPrefs; }
|
|
100
100
|
});
|
|
101
101
|
Object.defineProperty(exports, "defaultCssVars", {
|
|
102
102
|
enumerable: true,
|
|
103
|
-
get: function () { return
|
|
103
|
+
get: function () { return chunkT7BIRNE4_js.defaultCssVars; }
|
|
104
104
|
});
|
|
105
105
|
Object.defineProperty(exports, "defaultRadius", {
|
|
106
106
|
enumerable: true,
|
|
107
|
-
get: function () { return
|
|
107
|
+
get: function () { return chunkT7BIRNE4_js.defaultRadius; }
|
|
108
108
|
});
|
|
109
109
|
Object.defineProperty(exports, "defaultThemeColors", {
|
|
110
110
|
enumerable: true,
|
|
111
|
-
get: function () { return
|
|
111
|
+
get: function () { return chunkT7BIRNE4_js.defaultThemeColors; }
|
|
112
112
|
});
|
|
113
113
|
Object.defineProperty(exports, "getLocalStorageUsageSummary", {
|
|
114
114
|
enumerable: true,
|
|
115
|
-
get: function () { return
|
|
115
|
+
get: function () { return chunkT7BIRNE4_js.getLocalStorageUsageSummary; }
|
|
116
116
|
});
|
|
117
117
|
Object.defineProperty(exports, "isLegacyBinaryPresentation", {
|
|
118
118
|
enumerable: true,
|
|
119
|
-
get: function () { return
|
|
119
|
+
get: function () { return chunkT7BIRNE4_js.isLegacyBinaryPresentation; }
|
|
120
120
|
});
|
|
121
121
|
Object.defineProperty(exports, "isSupportedPresentationFile", {
|
|
122
122
|
enumerable: true,
|
|
123
|
-
get: function () { return
|
|
123
|
+
get: function () { return chunkT7BIRNE4_js.isSupportedPresentationFile; }
|
|
124
124
|
});
|
|
125
125
|
Object.defineProperty(exports, "presentationBaseName", {
|
|
126
126
|
enumerable: true,
|
|
127
|
-
get: function () { return
|
|
127
|
+
get: function () { return chunkT7BIRNE4_js.presentationBaseName; }
|
|
128
128
|
});
|
|
129
129
|
Object.defineProperty(exports, "readStoredViewerPrefs", {
|
|
130
130
|
enumerable: true,
|
|
131
|
-
get: function () { return
|
|
131
|
+
get: function () { return chunkT7BIRNE4_js.readStoredViewerPrefs; }
|
|
132
132
|
});
|
|
133
133
|
Object.defineProperty(exports, "resolveProfileInitial", {
|
|
134
134
|
enumerable: true,
|
|
135
|
-
get: function () { return
|
|
135
|
+
get: function () { return chunkT7BIRNE4_js.resolveProfileInitial; }
|
|
136
136
|
});
|
|
137
137
|
Object.defineProperty(exports, "resolveThemeCatalogEntry", {
|
|
138
138
|
enumerable: true,
|
|
139
|
-
get: function () { return
|
|
139
|
+
get: function () { return chunkT7BIRNE4_js.resolveThemeCatalogEntry; }
|
|
140
140
|
});
|
|
141
141
|
Object.defineProperty(exports, "saveViewerProfile", {
|
|
142
142
|
enumerable: true,
|
|
143
|
-
get: function () { return
|
|
143
|
+
get: function () { return chunkT7BIRNE4_js.saveViewerProfile; }
|
|
144
144
|
});
|
|
145
145
|
Object.defineProperty(exports, "savedPresentationFileName", {
|
|
146
146
|
enumerable: true,
|
|
147
|
-
get: function () { return
|
|
147
|
+
get: function () { return chunkT7BIRNE4_js.savedPresentationFileName; }
|
|
148
148
|
});
|
|
149
149
|
Object.defineProperty(exports, "themeToCssVars", {
|
|
150
150
|
enumerable: true,
|
|
151
|
-
get: function () { return
|
|
151
|
+
get: function () { return chunkT7BIRNE4_js.themeToCssVars; }
|
|
152
152
|
});
|
|
153
153
|
Object.defineProperty(exports, "vermilionDarkColors", {
|
|
154
154
|
enumerable: true,
|
|
155
|
-
get: function () { return
|
|
155
|
+
get: function () { return chunkT7BIRNE4_js.vermilionDarkColors; }
|
|
156
156
|
});
|
|
157
157
|
Object.defineProperty(exports, "vermilionDarkTheme", {
|
|
158
158
|
enumerable: true,
|
|
159
|
-
get: function () { return
|
|
159
|
+
get: function () { return chunkT7BIRNE4_js.vermilionDarkTheme; }
|
|
160
160
|
});
|
|
161
161
|
Object.defineProperty(exports, "vermilionLightColors", {
|
|
162
162
|
enumerable: true,
|
|
163
|
-
get: function () { return
|
|
163
|
+
get: function () { return chunkT7BIRNE4_js.vermilionLightColors; }
|
|
164
164
|
});
|
|
165
165
|
Object.defineProperty(exports, "vermilionLightTheme", {
|
|
166
166
|
enumerable: true,
|
|
167
|
-
get: function () { return
|
|
167
|
+
get: function () { return chunkT7BIRNE4_js.vermilionLightTheme; }
|
|
168
168
|
});
|
|
169
169
|
Object.defineProperty(exports, "vermilionRadius", {
|
|
170
170
|
enumerable: true,
|
|
171
|
-
get: function () { return
|
|
171
|
+
get: function () { return chunkT7BIRNE4_js.vermilionRadius; }
|
|
172
172
|
});
|
|
173
173
|
Object.defineProperty(exports, "writeStoredViewerPrefs", {
|
|
174
174
|
enumerable: true,
|
|
175
|
-
get: function () { return
|
|
175
|
+
get: function () { return chunkT7BIRNE4_js.writeStoredViewerPrefs; }
|
|
176
176
|
});
|
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-B55E3KXL.mjs';
|
|
2
|
+
import './chunk-KQGS6A5J.mjs';
|
|
3
|
+
export { renderToCanvas, useViewerBuildingBlocks } from './chunk-5ZQ3ZQ3M.mjs';
|
|
4
|
+
export { getAnimationInitialStyle } from './chunk-WGXQXHCS.mjs';
|
|
5
5
|
export { LOCALE_CATALOG } from './chunk-SQJBFMEX.mjs';
|
|
6
|
-
export { AVATAR_COLOR_SWATCHES, DEFAULT_VIEWER_PROFILE, PPTX_OPEN_ACCEPT, PRESENTATION_OPEN_EXTENSIONS, SLIDE_TEMPLATES, THEME_CATALOG, VIEWER_PREFS_STORAGE_KEY, buildSlideTemplateContent, buildSlideTemplateSlide, clearAllLocalViewerData, clearStoredViewerPrefs, defaultCssVars, defaultRadius, defaultThemeColors, getLocalStorageUsageSummary, isLegacyBinaryPresentation, isSupportedPresentationFile, presentationBaseName, readStoredViewerPrefs, resolveProfileInitial, resolveThemeCatalogEntry, saveViewerProfile, savedPresentationFileName, themeToCssVars, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius, writeStoredViewerPrefs } from './chunk-
|
|
6
|
+
export { AVATAR_COLOR_SWATCHES, DEFAULT_VIEWER_PROFILE, PPTX_OPEN_ACCEPT, PRESENTATION_OPEN_EXTENSIONS, SLIDE_TEMPLATES, THEME_CATALOG, VIEWER_PREFS_STORAGE_KEY, buildSlideTemplateContent, buildSlideTemplateSlide, clearAllLocalViewerData, clearStoredViewerPrefs, defaultCssVars, defaultRadius, defaultThemeColors, getLocalStorageUsageSummary, isLegacyBinaryPresentation, isSupportedPresentationFile, presentationBaseName, readStoredViewerPrefs, resolveProfileInitial, resolveThemeCatalogEntry, saveViewerProfile, savedPresentationFileName, themeToCssVars, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius, writeStoredViewerPrefs } from './chunk-PNR3J26S.mjs';
|
|
7
7
|
import './chunk-XGB3TDIC.mjs';
|
package/dist/index.mjs.br
CHANGED
|
Binary file
|
package/dist/index.mjs.gz
CHANGED
|
Binary file
|