pptx-react-viewer 2.6.7 → 2.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -0
- package/dist/{AiChatPanel-I22AHEBC.js → AiChatPanel-G6DKXSM3.js} +22 -22
- package/dist/AiChatPanel-G6DKXSM3.js.br +0 -0
- package/dist/AiChatPanel-G6DKXSM3.js.gz +0 -0
- package/dist/{AiChatPanel-E5PVW4MN.mjs → AiChatPanel-J5IGSCYA.mjs} +3 -3
- package/dist/AiChatPanel-J5IGSCYA.mjs.br +0 -0
- package/dist/AiChatPanel-J5IGSCYA.mjs.gz +0 -0
- package/dist/{Model3DScene-UYOY6QJN.mjs → Model3DScene-ID6CQKEJ.mjs} +1 -1
- package/dist/{Model3DScene-UYOY6QJN.mjs.br → Model3DScene-ID6CQKEJ.mjs.br} +0 -0
- package/dist/Model3DScene-ID6CQKEJ.mjs.gz +0 -0
- package/dist/{Model3DScene-VC3HMMBO.js → Model3DScene-S7LKZ6IA.js} +2 -2
- package/dist/Model3DScene-S7LKZ6IA.js.br +0 -0
- package/dist/Model3DScene-S7LKZ6IA.js.gz +0 -0
- package/dist/{SurfaceChart3DScene-PDULQ4DY.mjs → SurfaceChart3DScene-V5H6MXYW.mjs} +1 -1
- package/dist/{SurfaceChart3DScene-PDULQ4DY.mjs.br → SurfaceChart3DScene-V5H6MXYW.mjs.br} +0 -0
- package/dist/SurfaceChart3DScene-V5H6MXYW.mjs.gz +0 -0
- package/dist/{SurfaceChart3DScene-YMRRZC5V.js → SurfaceChart3DScene-XSJXJM6H.js} +2 -2
- package/dist/SurfaceChart3DScene-XSJXJM6H.js.br +0 -0
- package/dist/SurfaceChart3DScene-XSJXJM6H.js.gz +0 -0
- package/dist/{chunk-QOWFOMZP.js → chunk-2LOBDOTK.js} +92 -19
- package/dist/chunk-2LOBDOTK.js.br +0 -0
- package/dist/{chunk-QOWFOMZP.js.gz → chunk-2LOBDOTK.js.gz} +0 -0
- package/dist/{chunk-C4JFU2XG.js → chunk-4KMTZLNS.js} +315 -315
- package/dist/chunk-4KMTZLNS.js.br +0 -0
- package/dist/chunk-4KMTZLNS.js.gz +0 -0
- package/dist/{chunk-TJFZ7ZP6.js → chunk-6C4UY7GX.js} +3 -3
- package/dist/chunk-6C4UY7GX.js.br +0 -0
- package/dist/chunk-6C4UY7GX.js.gz +0 -0
- package/dist/{chunk-AB4WM3RK.js → chunk-B4XJTZR4.js} +236 -236
- package/dist/chunk-B4XJTZR4.js.br +0 -0
- package/dist/chunk-B4XJTZR4.js.gz +0 -0
- package/dist/{chunk-5XXNNTE2.js → chunk-GLQFRVAN.js} +851 -845
- package/dist/chunk-GLQFRVAN.js.br +0 -0
- package/dist/chunk-GLQFRVAN.js.gz +0 -0
- package/dist/{chunk-Y6WE6JJO.mjs → chunk-IGKLB7NQ.mjs} +2 -2
- package/dist/chunk-IGKLB7NQ.mjs.br +0 -0
- package/dist/chunk-IGKLB7NQ.mjs.gz +0 -0
- package/dist/{chunk-5QS6ANI7.mjs → chunk-SOLHDKNK.mjs} +1 -1
- package/dist/chunk-SOLHDKNK.mjs.br +0 -0
- package/dist/{chunk-5QS6ANI7.mjs.gz → chunk-SOLHDKNK.mjs.gz} +0 -0
- package/dist/{chunk-LR546YFN.mjs → chunk-WH46JCNF.mjs} +92 -19
- package/dist/chunk-WH46JCNF.mjs.br +0 -0
- package/dist/chunk-WH46JCNF.mjs.gz +0 -0
- package/dist/{chunk-CKERNV36.mjs → chunk-Y4EB65WB.mjs} +15 -9
- package/dist/chunk-Y4EB65WB.mjs.br +0 -0
- package/dist/chunk-Y4EB65WB.mjs.gz +0 -0
- package/dist/{chunk-B7DXNZPM.mjs → chunk-YUHEJWUN.mjs} +2 -2
- package/dist/chunk-YUHEJWUN.mjs.br +0 -0
- package/dist/chunk-YUHEJWUN.mjs.gz +0 -0
- package/dist/index.js +34 -34
- 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 +21 -21
- 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-E5PVW4MN.mjs.br +0 -0
- package/dist/AiChatPanel-E5PVW4MN.mjs.gz +0 -0
- package/dist/AiChatPanel-I22AHEBC.js.br +0 -0
- package/dist/AiChatPanel-I22AHEBC.js.gz +0 -0
- package/dist/Model3DScene-UYOY6QJN.mjs.gz +0 -0
- package/dist/Model3DScene-VC3HMMBO.js.br +0 -0
- package/dist/Model3DScene-VC3HMMBO.js.gz +0 -0
- package/dist/SurfaceChart3DScene-PDULQ4DY.mjs.gz +0 -0
- package/dist/SurfaceChart3DScene-YMRRZC5V.js.br +0 -0
- package/dist/SurfaceChart3DScene-YMRRZC5V.js.gz +0 -0
- package/dist/chunk-5QS6ANI7.mjs.br +0 -0
- package/dist/chunk-5XXNNTE2.js.br +0 -0
- package/dist/chunk-5XXNNTE2.js.gz +0 -0
- package/dist/chunk-AB4WM3RK.js.br +0 -0
- package/dist/chunk-AB4WM3RK.js.gz +0 -0
- package/dist/chunk-B7DXNZPM.mjs.br +0 -0
- package/dist/chunk-B7DXNZPM.mjs.gz +0 -0
- package/dist/chunk-C4JFU2XG.js.br +0 -0
- package/dist/chunk-C4JFU2XG.js.gz +0 -0
- package/dist/chunk-CKERNV36.mjs.br +0 -0
- package/dist/chunk-CKERNV36.mjs.gz +0 -0
- package/dist/chunk-LR546YFN.mjs.br +0 -0
- package/dist/chunk-LR546YFN.mjs.gz +0 -0
- package/dist/chunk-QOWFOMZP.js.br +0 -0
- package/dist/chunk-TJFZ7ZP6.js.br +0 -0
- package/dist/chunk-TJFZ7ZP6.js.gz +0 -0
- package/dist/chunk-Y6WE6JJO.mjs.br +0 -0
- package/dist/chunk-Y6WE6JJO.mjs.gz +0 -0
|
Binary file
|
|
Binary file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { translationsEn } from './chunk-Z6HIZWIQ.mjs';
|
|
2
|
-
import { SHAPE_PRESET_DEFS, computeValueRangeForChart, getAnimationInitialStyle, cloneHistorySnapshot, hasShapeProperties, isTemplateElement, isImageLikeElement, clampCropValue, parseMediaCommand, hasTextProperties, normalizeHexColor, toCssWritingMode, toCssTextOrientation, toCssVerticalDirection, computeAutoFitTextStyle, resolveLineHeight, getKinsokuLineBreakStyles, buildTextBody3DSceneStyle, resolveParagraphRtl, resolveParagraphAlign, resolveCssTextAlign, resolveParagraphStrutFontSize, colorWithOpacity, build3DExtrusionData, getResolvedShapeClipPath, normalizeStrokeDashType, buildCssGradientFromShapeStyle, buildShadowCssFromShapeStyle, buildInnerShadowCssFromShapeStyle, buildMultiLayerShadowCss, buildGlowBoxShadow, getCompoundLineBoxShadow, getSoftEdgeFilterId, getEffectDagFilter, buildPatternFillCss, buildReflectionCss, getCssBorderDashStyle, getCompoundLineBorderWidth, getSvgStrokeDasharray, isCalloutShape, getCalloutLeaderLineGeometry, buildCalloutLeaderLineSvgPath, getCalloutViewBoxBounds, svgLineCap, getCompoundLineOffsets, getCompoundLineWidths, computeSelectionRect, rectToCells, isCellInRect, buildChartViewModel, buildNotesPdfBytes, buildSlidesPdfBytes, buildPreviewAnimation, getRoundRectRadiusPx, substituteFieldText, resolveUnderlineDecorationStyle, getSubstituteFontFamily, hasDistinctScriptFonts, buildTextReflectionCss, getTextAlphaOpacity, buildTextRunFilterChain, buildTextShadowCss, TEXT_BUILD_ID_SEP, buildTextBuildSpec, textBuildSpanStyle, evaluatePresetShape, apply3dEffects, clampUnitInterval, customGeometryPathsToSvgSubpaths, computeColumnBoundaries, parseDrawingColor, parseDrawingColorOpacity, getCellDiagonalBorders, getPatternSvg, ooxmlDashToCssBorderStyle, cell3DBevelCss, getChartStylePalette, computeLayout, valueToY, formatAxisValue, computeLayoutOptions, splitSeriesByAxis, computeValueRange, getSecondaryValueAxis, seriesColor, paletteColor, resolveRegionCode, normalizeValue, sequentialColorScale, convertOmmlToMathMl, sanitizeMathMl, buildTextFillCss, resolvePictureBullet, computeResizedColumnWidths, computeResizedRowHeight, DEFAULT_ROW_HEIGHT, resolveFontRefIdx, tintColor2, shadeColor2, ooxmlGradientAngleToCssDegrees, segmentByScript, resolveFontForScript, generateLogTicks, formatAxisValueWithUnits, getDisplayUnitLabel, hexToRgbChannels, chartPartToAttrs } from './chunk-
|
|
2
|
+
import { SHAPE_PRESET_DEFS, computeValueRangeForChart, getAnimationInitialStyle, cloneHistorySnapshot, hasShapeProperties, isTemplateElement, isImageLikeElement, clampCropValue, parseMediaCommand, hasTextProperties, normalizeHexColor, toCssWritingMode, toCssTextOrientation, toCssVerticalDirection, computeAutoFitTextStyle, resolveLineHeight, getKinsokuLineBreakStyles, buildTextBody3DSceneStyle, resolveParagraphRtl, resolveParagraphAlign, resolveCssTextAlign, resolveParagraphStrutFontSize, colorWithOpacity, build3DExtrusionData, getResolvedShapeClipPath, normalizeStrokeDashType, buildCssGradientFromShapeStyle, buildShadowCssFromShapeStyle, buildInnerShadowCssFromShapeStyle, buildMultiLayerShadowCss, buildGlowBoxShadow, getCompoundLineBoxShadow, getSoftEdgeFilterId, getEffectDagFilter, buildPatternFillCss, buildReflectionCss, getCssBorderDashStyle, getCompoundLineBorderWidth, getSvgStrokeDasharray, isCalloutShape, getCalloutLeaderLineGeometry, buildCalloutLeaderLineSvgPath, getCalloutViewBoxBounds, svgLineCap, getCompoundLineOffsets, getCompoundLineWidths, computeSelectionRect, rectToCells, isCellInRect, buildChartViewModel, buildNotesPdfBytes, buildSlidesPdfBytes, buildPreviewAnimation, getRoundRectRadiusPx, substituteFieldText, resolveUnderlineDecorationStyle, getSubstituteFontFamily, hasDistinctScriptFonts, buildTextReflectionCss, getTextAlphaOpacity, buildTextRunFilterChain, buildTextShadowCss, TEXT_BUILD_ID_SEP, buildTextBuildSpec, textBuildSpanStyle, evaluatePresetShape, apply3dEffects, clampUnitInterval, customGeometryPathsToSvgSubpaths, computeColumnBoundaries, parseDrawingColor, parseDrawingColorOpacity, getCellDiagonalBorders, getPatternSvg, ooxmlDashToCssBorderStyle, cell3DBevelCss, getChartStylePalette, computeLayout, valueToY, formatAxisValue, computeLayoutOptions, splitSeriesByAxis, computeValueRange, getSecondaryValueAxis, seriesColor, paletteColor, resolveRegionCode, normalizeValue, sequentialColorScale, convertOmmlToMathMl, sanitizeMathMl, buildTextFillCss, resolvePictureBullet, computeResizedColumnWidths, computeResizedRowHeight, DEFAULT_ROW_HEIGHT, resolveFontRefIdx, tintColor2, shadeColor2, ooxmlGradientAngleToCssDegrees, segmentByScript, resolveFontForScript, generateLogTicks, formatAxisValueWithUnits, getDisplayUnitLabel, hexToRgbChannels, chartPartToAttrs } from './chunk-WH46JCNF.mjs';
|
|
3
3
|
import { clsx } from 'clsx';
|
|
4
4
|
import { twMerge } from 'tailwind-merge';
|
|
5
5
|
import React6, { useState, useEffect, useMemo, Suspense, useRef, useCallback, useLayoutEffect } from 'react';
|
|
@@ -6287,7 +6287,7 @@ function FailedToLoad() {
|
|
|
6287
6287
|
var LazySurfaceChart3DScene = React6.lazy(
|
|
6288
6288
|
async () => {
|
|
6289
6289
|
try {
|
|
6290
|
-
return await import('./SurfaceChart3DScene-
|
|
6290
|
+
return await import('./SurfaceChart3DScene-V5H6MXYW.mjs');
|
|
6291
6291
|
} catch {
|
|
6292
6292
|
return { default: FailedToLoad };
|
|
6293
6293
|
}
|
|
Binary file
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ThemePresets, PptxMarkdownConverter } from './chunk-
|
|
1
|
+
import { ThemePresets, PptxMarkdownConverter } from './chunk-WH46JCNF.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
|
|
@@ -44631,7 +44631,7 @@ function applySeriesDataLabelsToXml(seriesNode, dataLabels, getLocalName2) {
|
|
|
44631
44631
|
const dLblsKey = findKey13(seriesNode, "dLbls", getLocalName2);
|
|
44632
44632
|
const labels = dataLabels ?? [];
|
|
44633
44633
|
const existingByIdx = /* @__PURE__ */ new Map();
|
|
44634
|
-
let
|
|
44634
|
+
let groupChildren2 = [];
|
|
44635
44635
|
if (dLblsKey) {
|
|
44636
44636
|
const dLbls = seriesNode[dLblsKey];
|
|
44637
44637
|
const dLblKey = findKey13(dLbls, "dLbl", getLocalName2);
|
|
@@ -44646,9 +44646,9 @@ function applySeriesDataLabelsToXml(seriesNode, dataLabels, getLocalName2) {
|
|
|
44646
44646
|
}
|
|
44647
44647
|
}
|
|
44648
44648
|
}
|
|
44649
|
-
|
|
44649
|
+
groupChildren2 = Object.keys(dLbls).filter((k) => getLocalName2(k) !== "dLbl").map((k) => [k, dLbls[k]]);
|
|
44650
44650
|
}
|
|
44651
|
-
if (labels.length === 0 &&
|
|
44651
|
+
if (labels.length === 0 && groupChildren2.length === 0) {
|
|
44652
44652
|
if (dLblsKey) {
|
|
44653
44653
|
delete seriesNode[dLblsKey];
|
|
44654
44654
|
}
|
|
@@ -44659,7 +44659,7 @@ function applySeriesDataLabelsToXml(seriesNode, dataLabels, getLocalName2) {
|
|
|
44659
44659
|
if (built.length > 0) {
|
|
44660
44660
|
newDLbls["c:dLbl"] = built.length === 1 ? built[0] : built;
|
|
44661
44661
|
}
|
|
44662
|
-
const ordered32 = [...
|
|
44662
|
+
const ordered32 = [...groupChildren2].sort((a, b) => {
|
|
44663
44663
|
const ai = DLBLS_GROUP_ORDER.indexOf(getLocalName2(a[0]));
|
|
44664
44664
|
const bi = DLBLS_GROUP_ORDER.indexOf(getLocalName2(b[0]));
|
|
44665
44665
|
return (ai === -1 ? DLBLS_GROUP_ORDER.length : ai) - (bi === -1 ? DLBLS_GROUP_ORDER.length : bi);
|
|
@@ -98327,6 +98327,44 @@ ${body}
|
|
|
98327
98327
|
keyframes
|
|
98328
98328
|
};
|
|
98329
98329
|
}
|
|
98330
|
+
function groupChildren(element) {
|
|
98331
|
+
if (element.type !== "group") {
|
|
98332
|
+
return void 0;
|
|
98333
|
+
}
|
|
98334
|
+
const children8 = element.children;
|
|
98335
|
+
return Array.isArray(children8) && children8.length > 0 ? children8 : void 0;
|
|
98336
|
+
}
|
|
98337
|
+
function containsMorphNamedDescendant(element) {
|
|
98338
|
+
const children8 = groupChildren(element);
|
|
98339
|
+
if (!children8) {
|
|
98340
|
+
return false;
|
|
98341
|
+
}
|
|
98342
|
+
for (const child22 of children8) {
|
|
98343
|
+
if (getElementMorphName(child22) !== void 0 || containsMorphNamedDescendant(child22)) {
|
|
98344
|
+
return true;
|
|
98345
|
+
}
|
|
98346
|
+
}
|
|
98347
|
+
return false;
|
|
98348
|
+
}
|
|
98349
|
+
function toAbsolute(child22, offsetX, offsetY) {
|
|
98350
|
+
if (offsetX === 0 && offsetY === 0) {
|
|
98351
|
+
return child22;
|
|
98352
|
+
}
|
|
98353
|
+
return { ...child22, x: child22.x + offsetX, y: child22.y + offsetY };
|
|
98354
|
+
}
|
|
98355
|
+
function flattenMorphElements(elements, offsetX = 0, offsetY = 0) {
|
|
98356
|
+
const out = [];
|
|
98357
|
+
for (const element of elements) {
|
|
98358
|
+
const children8 = groupChildren(element);
|
|
98359
|
+
if (children8 && containsMorphNamedDescendant(element)) {
|
|
98360
|
+
out.push(...flattenMorphElements(children8, offsetX + element.x, offsetY + element.y));
|
|
98361
|
+
continue;
|
|
98362
|
+
}
|
|
98363
|
+
out.push(toAbsolute(element, offsetX, offsetY));
|
|
98364
|
+
}
|
|
98365
|
+
return out;
|
|
98366
|
+
}
|
|
98367
|
+
var SAME_BOX_TOLERANCE_PX = 0.5;
|
|
98330
98368
|
function getElementMorphName(element) {
|
|
98331
98369
|
if (element.name) {
|
|
98332
98370
|
const name = element.name.trim();
|
|
@@ -98377,12 +98415,14 @@ function matchMorphElementsFull(fromSlide, toSlide) {
|
|
|
98377
98415
|
const pairs2 = [];
|
|
98378
98416
|
const usedFrom = /* @__PURE__ */ new Set();
|
|
98379
98417
|
const usedTo = /* @__PURE__ */ new Set();
|
|
98380
|
-
|
|
98418
|
+
const fromElements = flattenMorphElements(fromSlide.elements);
|
|
98419
|
+
const toElements = flattenMorphElements(toSlide.elements);
|
|
98420
|
+
for (const fromEl of fromElements) {
|
|
98381
98421
|
const fromName = getElementMorphName(fromEl);
|
|
98382
98422
|
if (!fromName) {
|
|
98383
98423
|
continue;
|
|
98384
98424
|
}
|
|
98385
|
-
for (const toEl of
|
|
98425
|
+
for (const toEl of toElements) {
|
|
98386
98426
|
if (usedTo.has(toEl.id)) {
|
|
98387
98427
|
continue;
|
|
98388
98428
|
}
|
|
@@ -98402,7 +98442,7 @@ function matchMorphElementsFull(fromSlide, toSlide) {
|
|
|
98402
98442
|
}
|
|
98403
98443
|
return creationIds.get(el.id);
|
|
98404
98444
|
};
|
|
98405
|
-
for (const fromEl of
|
|
98445
|
+
for (const fromEl of fromElements) {
|
|
98406
98446
|
if (usedFrom.has(fromEl.id)) {
|
|
98407
98447
|
continue;
|
|
98408
98448
|
}
|
|
@@ -98410,7 +98450,7 @@ function matchMorphElementsFull(fromSlide, toSlide) {
|
|
|
98410
98450
|
if (!fromGuid) {
|
|
98411
98451
|
continue;
|
|
98412
98452
|
}
|
|
98413
|
-
for (const toEl of
|
|
98453
|
+
for (const toEl of toElements) {
|
|
98414
98454
|
if (usedTo.has(toEl.id) || fromEl.type !== toEl.type) {
|
|
98415
98455
|
continue;
|
|
98416
98456
|
}
|
|
@@ -98422,11 +98462,11 @@ function matchMorphElementsFull(fromSlide, toSlide) {
|
|
|
98422
98462
|
}
|
|
98423
98463
|
}
|
|
98424
98464
|
}
|
|
98425
|
-
for (const fromEl of
|
|
98465
|
+
for (const fromEl of fromElements) {
|
|
98426
98466
|
if (usedFrom.has(fromEl.id) || !fromEl.shapeId) {
|
|
98427
98467
|
continue;
|
|
98428
98468
|
}
|
|
98429
|
-
for (const toEl of
|
|
98469
|
+
for (const toEl of toElements) {
|
|
98430
98470
|
if (usedTo.has(toEl.id)) {
|
|
98431
98471
|
continue;
|
|
98432
98472
|
}
|
|
@@ -98441,13 +98481,13 @@ function matchMorphElementsFull(fromSlide, toSlide) {
|
|
|
98441
98481
|
}
|
|
98442
98482
|
}
|
|
98443
98483
|
}
|
|
98444
|
-
for (const fromEl of
|
|
98484
|
+
for (const fromEl of fromElements) {
|
|
98445
98485
|
if (usedFrom.has(fromEl.id)) {
|
|
98446
98486
|
continue;
|
|
98447
98487
|
}
|
|
98448
98488
|
let bestMatch = null;
|
|
98449
98489
|
let bestDist = Infinity;
|
|
98450
|
-
for (const toEl of
|
|
98490
|
+
for (const toEl of toElements) {
|
|
98451
98491
|
if (usedTo.has(toEl.id)) {
|
|
98452
98492
|
continue;
|
|
98453
98493
|
}
|
|
@@ -98473,8 +98513,24 @@ function matchMorphElementsFull(fromSlide, toSlide) {
|
|
|
98473
98513
|
usedTo.add(bestMatch.id);
|
|
98474
98514
|
}
|
|
98475
98515
|
}
|
|
98476
|
-
const
|
|
98477
|
-
|
|
98516
|
+
for (const fromEl of fromElements) {
|
|
98517
|
+
if (usedFrom.has(fromEl.id)) {
|
|
98518
|
+
continue;
|
|
98519
|
+
}
|
|
98520
|
+
for (const toEl of toElements) {
|
|
98521
|
+
if (usedTo.has(toEl.id)) {
|
|
98522
|
+
continue;
|
|
98523
|
+
}
|
|
98524
|
+
if (Math.abs(fromEl.x - toEl.x) <= SAME_BOX_TOLERANCE_PX && Math.abs(fromEl.y - toEl.y) <= SAME_BOX_TOLERANCE_PX && Math.abs(fromEl.width - toEl.width) <= SAME_BOX_TOLERANCE_PX && Math.abs(fromEl.height - toEl.height) <= SAME_BOX_TOLERANCE_PX) {
|
|
98525
|
+
pairs2.push({ fromElement: fromEl, toElement: toEl });
|
|
98526
|
+
usedFrom.add(fromEl.id);
|
|
98527
|
+
usedTo.add(toEl.id);
|
|
98528
|
+
break;
|
|
98529
|
+
}
|
|
98530
|
+
}
|
|
98531
|
+
}
|
|
98532
|
+
const unmatchedFrom = fromElements.filter((el) => !usedFrom.has(el.id));
|
|
98533
|
+
const unmatchedTo = toElements.filter((el) => !usedTo.has(el.id));
|
|
98478
98534
|
return { pairs: pairs2, unmatchedFrom, unmatchedTo };
|
|
98479
98535
|
}
|
|
98480
98536
|
function tokenizeText(element, mode) {
|
|
@@ -98721,13 +98777,12 @@ function generateMorphAnimations(pairs2, durationMs, _mode = "object") {
|
|
|
98721
98777
|
const sy = Math.max(fromElement.height, 1) / Math.max(toElement.height, 1);
|
|
98722
98778
|
const fromOpacity = fromElement.opacity ?? 1;
|
|
98723
98779
|
const toOpacity = toElement.opacity ?? 1;
|
|
98724
|
-
const fromRot = fromElement.rotation ?? 0;
|
|
98725
98780
|
const toRot = toElement.rotation ?? 0;
|
|
98781
|
+
const fromRot = shortestRotationTarget(toRot, fromElement.rotation ?? 0);
|
|
98726
98782
|
const flips = `${toElement.flipHorizontal ? " scaleX(-1)" : ""}${toElement.flipVertical ? " scaleY(-1)" : ""}`;
|
|
98727
|
-
const crossfades = morphPairNeedsCrossfade(fromElement, toElement);
|
|
98728
98783
|
const fromProps = [
|
|
98729
98784
|
` transform: translate(${dx}px, ${dy}px) scale(${sx}, ${sy}) rotate(${fromRot}deg)${flips};`,
|
|
98730
|
-
` opacity: ${
|
|
98785
|
+
` opacity: ${fromOpacity};`
|
|
98731
98786
|
];
|
|
98732
98787
|
const toProps = [
|
|
98733
98788
|
` transform: translate(0, 0) scale(1, 1) rotate(${toRot}deg)${flips};`,
|
|
@@ -98771,7 +98826,7 @@ function generateMorphGhostAnimations(pairs2, durationMs, startIndex) {
|
|
|
98771
98826
|
const sx = Math.max(toElement.width, 1) / Math.max(fromElement.width, 1);
|
|
98772
98827
|
const sy = Math.max(toElement.height, 1) / Math.max(fromElement.height, 1);
|
|
98773
98828
|
const fromRot = fromElement.rotation ?? 0;
|
|
98774
|
-
const toRot = toElement.rotation ?? 0;
|
|
98829
|
+
const toRot = shortestRotationTarget(fromRot, toElement.rotation ?? 0);
|
|
98775
98830
|
const flips = `${fromElement.flipHorizontal ? " scaleX(-1)" : ""}${fromElement.flipVertical ? " scaleY(-1)" : ""}`;
|
|
98776
98831
|
const keyframes = `
|
|
98777
98832
|
@keyframes ${safeName} {
|
|
@@ -98794,6 +98849,15 @@ function generateMorphGhostAnimations(pairs2, durationMs, startIndex) {
|
|
|
98794
98849
|
}
|
|
98795
98850
|
return animations;
|
|
98796
98851
|
}
|
|
98852
|
+
function shortestRotationTarget(fromDeg, toDeg) {
|
|
98853
|
+
let delta = (toDeg - fromDeg) % 360;
|
|
98854
|
+
if (delta > 180) {
|
|
98855
|
+
delta -= 360;
|
|
98856
|
+
} else if (delta <= -180) {
|
|
98857
|
+
delta += 360;
|
|
98858
|
+
}
|
|
98859
|
+
return fromDeg + delta;
|
|
98860
|
+
}
|
|
98797
98861
|
function staticTransformSuffix(el) {
|
|
98798
98862
|
const rot = el.rotation ?? 0;
|
|
98799
98863
|
return ` rotate(${rot}deg)${el.flipHorizontal ? " scaleX(-1)" : ""}${el.flipVertical ? " scaleY(-1)" : ""}`;
|
|
@@ -98909,7 +98973,7 @@ function buildMorphTransitionPlan(fromSlide, toSlide, durationMs, mode = "object
|
|
|
98909
98973
|
return void 0;
|
|
98910
98974
|
}
|
|
98911
98975
|
const animations = generateFullMorphTransition(fromSlide, toSlide, durationMs, mode);
|
|
98912
|
-
const outgoingElements =
|
|
98976
|
+
const outgoingElements = flattenMorphElements(fromSlide.elements);
|
|
98913
98977
|
const outgoingIds = new Set(outgoingElements.map((element) => element.id));
|
|
98914
98978
|
const incomingAnimations = /* @__PURE__ */ new Map();
|
|
98915
98979
|
const outgoingAnimations = /* @__PURE__ */ new Map();
|
|
@@ -101287,6 +101351,11 @@ var INSTANT = {
|
|
|
101287
101351
|
};
|
|
101288
101352
|
var DEFAULT_TRANSITION_DURATION_MS = 1e3;
|
|
101289
101353
|
var DEFAULT_MORPH_DURATION_MS = 2e3;
|
|
101354
|
+
var TRANSITION_SPEED_DURATION_MS = {
|
|
101355
|
+
fast: 500,
|
|
101356
|
+
med: 750,
|
|
101357
|
+
slow: 1e3
|
|
101358
|
+
};
|
|
101290
101359
|
var EASE = "ease-in-out";
|
|
101291
101360
|
var P14_TRANSITION_KEYFRAMES = `
|
|
101292
101361
|
/* \u2500\u2500 Conveyor (translate X with staggered timing) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
|
|
@@ -102497,6 +102566,10 @@ function resolveTransitionDurationMs(transition) {
|
|
|
102497
102566
|
if (typeof transition.durationMs === "number" && transition.durationMs > 0) {
|
|
102498
102567
|
return transition.durationMs;
|
|
102499
102568
|
}
|
|
102569
|
+
const speedMs = transition.speed ? TRANSITION_SPEED_DURATION_MS[transition.speed] : void 0;
|
|
102570
|
+
if (typeof speedMs === "number") {
|
|
102571
|
+
return speedMs;
|
|
102572
|
+
}
|
|
102500
102573
|
if (transition.type === "morph") {
|
|
102501
102574
|
return DEFAULT_MORPH_DURATION_MS;
|
|
102502
102575
|
}
|
|
Binary file
|
|
Binary file
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { computeFocusTargets, aiChangeAnimationCss, changeGhostStyle, createChatHistoryStore, toRenderableParts } from './chunk-
|
|
2
|
-
import { useReducedMotion, useViewerState, useViewerOptions, useIsMobile, useResizablePanels, useDerivedSlideState, useZoomViewport, useEditorHistory, usePresentationSetup, useTouchGestures, useViewerDialogs, useEditorOperations, useViewerIntegration, useYjsDocumentSync, useCollaborationLivePatch, useFollowMode, useBroadcastFollower, scopeLayoutOptionsToActiveSlide, useToolbarVisibility, useKeyboardInsets, useModalDismissDrag, useCollaborativeState, useVirtualizedSlides, useSwipeNavigation, useSheetDismissDrag, detectTargetType, parseEmailUrl, parseSlideFromUrl, ACTION_VERB_MAP, downloadBlob } from './chunk-
|
|
3
|
-
import { SHAPE_PRESETS, DEFAULT_STROKE_COLOR, getConnectorPathGeometry, buildLineShadowCss, buildLineGlowFilter, renderConnectorMarker, MIN_ELEMENT_SIZE, getShapeVisualStyle, getTextStyleForElement, DEFAULT_TEXT_COLOR, renderVectorShape, isConnectorOrLineElement, build3DExtrusionData, getImageRenderStyle, cn, ANIMATION_PRESET_OPTIONS, resolvePalette, resolveStyle, layoutToCategory, wrapChrome, DEFAULT_FILL_COLOR, hasDagDuotoneEffect, renderDagDuotoneSvgFilter, getTextLayoutStyle, renderTableElement, renderMediaElement, shouldRenderFallbackLabel, getCropShapeClipPath, SLIDE_TRANSITION_OPTIONS, SLIDE_NAV_THUMBNAIL_WIDTH, styleShadow, styleStroke, colour, fitFontSize, smartArtNodeGroupProps, chevronPoints, SmartArtNodeText, truncate, renderStepDownProcess, renderAlternatingFlow, renderDescendingProcess, renderPictureAccentList, renderVerticalBlockList, renderGroupedList, renderPyramidList, renderHorizontalPictureList, renderAccentProcess, renderVerticalChevronList, isImageTiled, getImageTilingStyle, getDuotoneColors, getTextWarpStyle, renderTextSegments, buildReactChartViewModel, renderChartElement, buildTextBody3DSceneStyle, TOOLBAR_SECTIONS, SHORTCUT_REFERENCE_ITEMS as SHORTCUT_REFERENCE_ITEMS$1, buildTree, treeWidth, treeDepth, nodeOpacity, gearPath, resolveSmartArtDataPalette, DEFAULT_TEXT_FONT_SIZE, DEFAULT_FONT_FAMILY, HYPERLINK_COLOR, GRID_SIZE, startPreviewAnimation, stopPreviewAnimation } from './chunk-
|
|
1
|
+
import { computeFocusTargets, aiChangeAnimationCss, changeGhostStyle, createChatHistoryStore, toRenderableParts } from './chunk-SOLHDKNK.mjs';
|
|
2
|
+
import { useReducedMotion, useViewerState, useViewerOptions, useIsMobile, useResizablePanels, useDerivedSlideState, useZoomViewport, useEditorHistory, usePresentationSetup, useTouchGestures, useViewerDialogs, useEditorOperations, useViewerIntegration, useYjsDocumentSync, useCollaborationLivePatch, useFollowMode, useBroadcastFollower, scopeLayoutOptionsToActiveSlide, useToolbarVisibility, useKeyboardInsets, useModalDismissDrag, useCollaborativeState, useVirtualizedSlides, useSwipeNavigation, useSheetDismissDrag, detectTargetType, parseEmailUrl, parseSlideFromUrl, ACTION_VERB_MAP, downloadBlob } from './chunk-YUHEJWUN.mjs';
|
|
3
|
+
import { SHAPE_PRESETS, DEFAULT_STROKE_COLOR, getConnectorPathGeometry, buildLineShadowCss, buildLineGlowFilter, renderConnectorMarker, MIN_ELEMENT_SIZE, getShapeVisualStyle, getTextStyleForElement, DEFAULT_TEXT_COLOR, renderVectorShape, isConnectorOrLineElement, build3DExtrusionData, getImageRenderStyle, cn, ANIMATION_PRESET_OPTIONS, resolvePalette, resolveStyle, layoutToCategory, wrapChrome, DEFAULT_FILL_COLOR, hasDagDuotoneEffect, renderDagDuotoneSvgFilter, getTextLayoutStyle, renderTableElement, renderMediaElement, shouldRenderFallbackLabel, getCropShapeClipPath, SLIDE_TRANSITION_OPTIONS, SLIDE_NAV_THUMBNAIL_WIDTH, styleShadow, styleStroke, colour, fitFontSize, smartArtNodeGroupProps, chevronPoints, SmartArtNodeText, truncate, renderStepDownProcess, renderAlternatingFlow, renderDescendingProcess, renderPictureAccentList, renderVerticalBlockList, renderGroupedList, renderPyramidList, renderHorizontalPictureList, renderAccentProcess, renderVerticalChevronList, isImageTiled, getImageTilingStyle, getDuotoneColors, getTextWarpStyle, renderTextSegments, buildReactChartViewModel, renderChartElement, buildTextBody3DSceneStyle, TOOLBAR_SECTIONS, SHORTCUT_REFERENCE_ITEMS as SHORTCUT_REFERENCE_ITEMS$1, buildTree, treeWidth, treeDepth, nodeOpacity, gearPath, resolveSmartArtDataPalette, DEFAULT_TEXT_FONT_SIZE, DEFAULT_FONT_FAMILY, HYPERLINK_COLOR, GRID_SIZE, startPreviewAnimation, stopPreviewAnimation } from './chunk-IGKLB7NQ.mjs';
|
|
4
4
|
import { LOCALE_CATALOG, translationsEn } from './chunk-Z6HIZWIQ.mjs';
|
|
5
|
-
import { RULER_THICKNESS, RULER_FONT_SIZE, hasShapeProperties, normalizeHexColor, colorWithOpacity, normalizeStrokeDashType, getSvgStrokeDasharray, getCompoundLineOffsets, getCompoundLineWidths, svgLineCap, hasTextProperties, getElementTransform, ACTION_BUTTON_PRESETS, isEditableTextElement, getAriaRole, getAriaLabel, getAriaRoleDescription, getImageEffectsOpacity, getImageEffectsFilter, getElementTransformWithoutRotation, SWITCHABLE_LAYOUT_TYPES, EQUATION_TEMPLATES, convertLatexToOmml, convertOmmlToMathMl, sanitizeMathMl, DEFAULT_VIEWER_OPTIONS, buildUserFontFaceStyles, readStoredViewerPrefs, resolveThemeCatalogEntry, THEME_CATALOG, writeStoredViewerPrefs, openPptxFile, readBackstageRecentFile, viewerOptionsToPreferences, applyPreferenceToOptions, listAutosaveSnapshots, deleteAutosaveSnapshot, revealedSmartArtNodeCount, buildSmartArtA11y, buildCssGradientFromShapeStyle, resolveGroupChildFill, getGroupChildParentFill, getComputedEffectStyle, getSoftEdgeSvgFilter, isInkElement, getElementLabel, buildPreviewElements, themeToCssVars, DEFAULT_INSERT_CHART_TYPE, hasCopyableFormat, createBackstagePresentation, printPropertiesFrameSlides, printPropertiesSlidesPerPage, VIEWER_OPTIONS_TABS, DEFAULT_QUICK_ACCESS_COMMAND_IDS, buildJoinCollaborationConfig, buildCreateCollaborationConfig, generateBroadcastRoomId, DEFAULT_BROADCAST_SERVER_URL, buildBroadcastViewerUrl, resolveTransportForServerUrl, resolveDrawingShapeNodeId, buildSummaryZoomView, getImageColorWashStyle, isImageLikeElement, getPendingSelectionRestore, restoreSegmentSelection, getTextCompensationTransform, applyChartBuildReveal, formatAxisValue, hasPressureVariation, getInkReplayStyles, INK_REPLAY_KEYFRAMES, resolveInkColor, resolveInkWidth, resolveInkOpacity, pressuresToWidths, getContentPartReplayStyles, resolveOleType, getOleTypeColor, getOleTypeLabel, getLinkedTextBoxSegments, shouldUseSvgWarp, getSlideBackgroundStyle, filterCommands, resolveTitleBarStatusKey, TITLE_BAR_CLASSES, TITLE_BAR_DEFAULT_FILE_KEY, shouldConfirmExternalHyperlink, safeOpenUrl, isPpactionUrl, parsePpactionUrl, themeColorSchemesEqual, formatVersionTimestamp, formatRelativeTime, scanAvailableFontFamilies, PRESETS, CATEGORIES, convertOmmlToLatex, clampPercent, HANDOUT_OPTIONS, TOOLBAR_TABS, SHORTCUT_REFERENCE_ITEMS, resolveViewerAddinRows, availableQuickAccessCommands, addQuickAccessCommand, removeQuickAccessCommand, moveQuickAccessCommand, activateModalFocus, buildCollaborationShareUrl, mobileElapsedSince, isFirstSlide, isLastSlide, formatMobileElapsed, mobileSlideCounter, presenterPaneAdvancesOnClick, formatElapsed, computeInlineEditorRect, findSmartArtNodeText, setSmartArtNodeStyle, rebuildDrawingShapesIfCleared, shouldCommitSmartArtNodeText, updateSmartArtNodeText, 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, getSubstituteFontFamily, getWarpPath, TAB_ROW_ACTION_CLASSES, listBackstageRecentFiles, BACKSTAGE_NAV, INSERT_CHART_TYPES, SLIDE_VIRTUALIZATION_THRESHOLD, getSlideTransitionAnimations, SLIDE_TRANSITION_KEYFRAMES, presentationInkPath, getShapeAdjustmentHandleDescriptor, 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, groupIntoParagraphs, substituteFieldText, BACKSTAGE_TEMPLATES, formatBackstageDate, formatBackstageSize, DEFAULT_VIEWER_PROFILE, resolveProfileInitial, AVATAR_COLOR_SWATCHES, getConnectionSites, generateTicks, getCommentMarkerPosition, buildThemeColorGrid, THEME_COLOR_SCHEME_KEYS, THEME_COLOR_LABELS, buildSmartArtPresetData, getLocalStorageUsageSummary, saveViewerProfile, clearAllLocalViewerData, TABLE_STYLE_PRESETS, chartDataChangeType, chartDataUpdatePoint, chartDataAddCategory, chartDataRemoveCategory, chartDataAddSeries, chartDataRemoveSeries, setChartAxisLogScale, setChartAxisTitleStyle, setChartAxisGridlineStyle, setChartSeriesMarker, setChartSeriesChartType, setChartDataPointFill, setChartDataPointExplosion, setChartDataPointMarker, setChartDataPointLabel, getOleObjectTypeLabel, pptxActionToElementAction, withFrameSlides, withSlidesPerPage, applyThemeOverrideToSlide, COLOR_MAP_ALIAS_KEYS, DEFAULT_COLOR_MAP, formatCommentTimestamp, DIRECTIONAL_PRESETS, computeMergeCellRight, computeMergeCellDown, computeSplitCell, addSmartArtNodeAsChild, removeSmartArtNode, DUOTONE_PRESETS, ARTISTIC_EFFECTS, elementActionToPptxAction, LBL, SEL, FILL_MODE_OPTIONS, SECTION_HEADING, NUM, switchSmartArtLayout, addSmartArtNode, demoteSmartArtNode, promoteSmartArtNode, reorderSmartArtNode, GRADIENT_TYPE_OPTIONS, PATTERN_OPTIONS } from './chunk-
|
|
5
|
+
import { RULER_THICKNESS, RULER_FONT_SIZE, hasShapeProperties, normalizeHexColor, colorWithOpacity, normalizeStrokeDashType, getSvgStrokeDasharray, getCompoundLineOffsets, getCompoundLineWidths, svgLineCap, hasTextProperties, getElementTransform, ACTION_BUTTON_PRESETS, isEditableTextElement, getAriaRole, getAriaLabel, getAriaRoleDescription, getImageEffectsOpacity, getImageEffectsFilter, getElementTransformWithoutRotation, SWITCHABLE_LAYOUT_TYPES, EQUATION_TEMPLATES, convertLatexToOmml, convertOmmlToMathMl, sanitizeMathMl, DEFAULT_VIEWER_OPTIONS, buildUserFontFaceStyles, readStoredViewerPrefs, resolveThemeCatalogEntry, THEME_CATALOG, writeStoredViewerPrefs, openPptxFile, readBackstageRecentFile, viewerOptionsToPreferences, applyPreferenceToOptions, listAutosaveSnapshots, deleteAutosaveSnapshot, revealedSmartArtNodeCount, buildSmartArtA11y, buildCssGradientFromShapeStyle, resolveGroupChildFill, getGroupChildParentFill, getComputedEffectStyle, getSoftEdgeSvgFilter, isInkElement, getElementLabel, buildPreviewElements, themeToCssVars, DEFAULT_INSERT_CHART_TYPE, hasCopyableFormat, createBackstagePresentation, printPropertiesFrameSlides, printPropertiesSlidesPerPage, VIEWER_OPTIONS_TABS, DEFAULT_QUICK_ACCESS_COMMAND_IDS, buildJoinCollaborationConfig, buildCreateCollaborationConfig, generateBroadcastRoomId, DEFAULT_BROADCAST_SERVER_URL, buildBroadcastViewerUrl, resolveTransportForServerUrl, resolveDrawingShapeNodeId, buildSummaryZoomView, getImageColorWashStyle, isImageLikeElement, getPendingSelectionRestore, restoreSegmentSelection, getTextCompensationTransform, applyChartBuildReveal, formatAxisValue, hasPressureVariation, getInkReplayStyles, INK_REPLAY_KEYFRAMES, resolveInkColor, resolveInkWidth, resolveInkOpacity, pressuresToWidths, getContentPartReplayStyles, resolveOleType, getOleTypeColor, getOleTypeLabel, getLinkedTextBoxSegments, shouldUseSvgWarp, getSlideBackgroundStyle, filterCommands, resolveTitleBarStatusKey, TITLE_BAR_CLASSES, TITLE_BAR_DEFAULT_FILE_KEY, shouldConfirmExternalHyperlink, safeOpenUrl, isPpactionUrl, parsePpactionUrl, themeColorSchemesEqual, formatVersionTimestamp, formatRelativeTime, scanAvailableFontFamilies, PRESETS, CATEGORIES, convertOmmlToLatex, clampPercent, HANDOUT_OPTIONS, TOOLBAR_TABS, SHORTCUT_REFERENCE_ITEMS, resolveViewerAddinRows, availableQuickAccessCommands, addQuickAccessCommand, removeQuickAccessCommand, moveQuickAccessCommand, activateModalFocus, buildCollaborationShareUrl, mobileElapsedSince, isFirstSlide, isLastSlide, formatMobileElapsed, mobileSlideCounter, presenterPaneAdvancesOnClick, formatElapsed, computeInlineEditorRect, findSmartArtNodeText, setSmartArtNodeStyle, rebuildDrawingShapesIfCleared, shouldCommitSmartArtNodeText, updateSmartArtNodeText, 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, getSubstituteFontFamily, getWarpPath, TAB_ROW_ACTION_CLASSES, listBackstageRecentFiles, BACKSTAGE_NAV, INSERT_CHART_TYPES, SLIDE_VIRTUALIZATION_THRESHOLD, getSlideTransitionAnimations, SLIDE_TRANSITION_KEYFRAMES, presentationInkPath, getShapeAdjustmentHandleDescriptor, 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, groupIntoParagraphs, substituteFieldText, BACKSTAGE_TEMPLATES, formatBackstageDate, formatBackstageSize, DEFAULT_VIEWER_PROFILE, resolveProfileInitial, AVATAR_COLOR_SWATCHES, getConnectionSites, generateTicks, getCommentMarkerPosition, buildThemeColorGrid, THEME_COLOR_SCHEME_KEYS, THEME_COLOR_LABELS, buildSmartArtPresetData, getLocalStorageUsageSummary, saveViewerProfile, clearAllLocalViewerData, TABLE_STYLE_PRESETS, chartDataChangeType, chartDataUpdatePoint, chartDataAddCategory, chartDataRemoveCategory, chartDataAddSeries, chartDataRemoveSeries, setChartAxisLogScale, setChartAxisTitleStyle, setChartAxisGridlineStyle, setChartSeriesMarker, setChartSeriesChartType, setChartDataPointFill, setChartDataPointExplosion, setChartDataPointMarker, setChartDataPointLabel, getOleObjectTypeLabel, pptxActionToElementAction, withFrameSlides, withSlidesPerPage, applyThemeOverrideToSlide, COLOR_MAP_ALIAS_KEYS, DEFAULT_COLOR_MAP, formatCommentTimestamp, DIRECTIONAL_PRESETS, computeMergeCellRight, computeMergeCellDown, computeSplitCell, addSmartArtNodeAsChild, removeSmartArtNode, DUOTONE_PRESETS, ARTISTIC_EFFECTS, elementActionToPptxAction, LBL, SEL, FILL_MODE_OPTIONS, SECTION_HEADING, NUM, switchSmartArtLayout, addSmartArtNode, demoteSmartArtNode, promoteSmartArtNode, reorderSmartArtNode, GRADIENT_TYPE_OPTIONS, PATTERN_OPTIONS } from './chunk-WH46JCNF.mjs';
|
|
6
6
|
import React32, { createContext, useMemo, useState, useCallback, lazy, forwardRef, useEffect, useRef, useContext, Suspense, useLayoutEffect, useDeferredValue } from 'react';
|
|
7
7
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
8
8
|
import { useTranslation } from 'react-i18next';
|
|
@@ -1337,7 +1337,7 @@ function AccountPage() {
|
|
|
1337
1337
|
return void 0;
|
|
1338
1338
|
});
|
|
1339
1339
|
};
|
|
1340
|
-
const version = "2.6.
|
|
1340
|
+
const version = "2.6.7" ;
|
|
1341
1341
|
return /* @__PURE__ */ jsxs("div", { className: "mt-8 max-w-[700px] space-y-6", children: [
|
|
1342
1342
|
/* @__PURE__ */ jsxs("section", { className: cardClass, children: [
|
|
1343
1343
|
/* @__PURE__ */ jsxs("h2", { className: "flex items-center gap-2 text-sm font-semibold", children: [
|
|
@@ -7868,6 +7868,7 @@ function renderGroup(children, parentGroupFill) {
|
|
|
7868
7868
|
return /* @__PURE__ */ jsxs(
|
|
7869
7869
|
"div",
|
|
7870
7870
|
{
|
|
7871
|
+
"data-element-id": c.id,
|
|
7871
7872
|
className: "absolute",
|
|
7872
7873
|
style: {
|
|
7873
7874
|
left: c.x,
|
|
@@ -8345,7 +8346,7 @@ function FailedToLoad() {
|
|
|
8345
8346
|
var LazyModel3DScene = React32.lazy(
|
|
8346
8347
|
async () => {
|
|
8347
8348
|
try {
|
|
8348
|
-
return await import('./Model3DScene-
|
|
8349
|
+
return await import('./Model3DScene-ID6CQKEJ.mjs');
|
|
8349
8350
|
} catch {
|
|
8350
8351
|
return { default: FailedToLoad };
|
|
8351
8352
|
}
|
|
@@ -11158,7 +11159,8 @@ function StaticElementRendererImpl({
|
|
|
11158
11159
|
parentGroupFill,
|
|
11159
11160
|
onActionClick,
|
|
11160
11161
|
actionRequiresModifier = false,
|
|
11161
|
-
animation
|
|
11162
|
+
animation,
|
|
11163
|
+
exposeElementId = false
|
|
11162
11164
|
}) {
|
|
11163
11165
|
const style = hasShapeProperties(element) ? element.shapeStyle : void 0;
|
|
11164
11166
|
const hasFill = style?.fillColor !== void 0 && style.fillColor !== "transparent" || Boolean(buildCssGradientFromShapeStyle(style) || style?.fillGradient) || style?.fillMode === "pattern" && Boolean(style.fillPatternPreset);
|
|
@@ -11186,6 +11188,7 @@ function StaticElementRendererImpl({
|
|
|
11186
11188
|
"div",
|
|
11187
11189
|
{
|
|
11188
11190
|
"data-static-element-type": element.type,
|
|
11191
|
+
"data-element-id": exposeElementId ? element.id : void 0,
|
|
11189
11192
|
"data-pptx-action": isActionable ? "click" : void 0,
|
|
11190
11193
|
className: `${positioned ? "absolute" : "relative"} overflow-hidden ${isActionable ? "pointer-events-auto cursor-pointer" : "pointer-events-none"}`,
|
|
11191
11194
|
role: isActionable ? "button" : void 0,
|
|
@@ -11233,7 +11236,8 @@ function StaticElementRendererImpl({
|
|
|
11233
11236
|
tableStyleContext,
|
|
11234
11237
|
parentGroupFill: getGroupChildParentFill(element),
|
|
11235
11238
|
onActionClick,
|
|
11236
|
-
actionRequiresModifier
|
|
11239
|
+
actionRequiresModifier,
|
|
11240
|
+
exposeElementId
|
|
11237
11241
|
},
|
|
11238
11242
|
child.id
|
|
11239
11243
|
)) }) : renderBody({
|
|
@@ -11477,6 +11481,8 @@ var ElementRenderer = React32.memo(
|
|
|
11477
11481
|
mediaDataUrls,
|
|
11478
11482
|
sourceSlideIndex,
|
|
11479
11483
|
zIndex: index,
|
|
11484
|
+
animation: presentationElementStates?.get(child.id)?.cssAnimation,
|
|
11485
|
+
exposeElementId: true,
|
|
11480
11486
|
parentGroupFill: getGroupChildParentFill(el),
|
|
11481
11487
|
onActionClick: el.actionClick ? void 0 : onActionClick,
|
|
11482
11488
|
actionRequiresModifier: effectiveCanInteract
|
|
@@ -31626,7 +31632,7 @@ ${url}`)) {
|
|
|
31626
31632
|
)
|
|
31627
31633
|
);
|
|
31628
31634
|
}
|
|
31629
|
-
var AiChatPanel = lazy(() => import('./AiChatPanel-
|
|
31635
|
+
var AiChatPanel = lazy(() => import('./AiChatPanel-J5IGSCYA.mjs'));
|
|
31630
31636
|
function AiChatPanelLazy(props) {
|
|
31631
31637
|
return /* @__PURE__ */ jsx(
|
|
31632
31638
|
Suspense,
|
|
Binary file
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { cloneHistorySnapshot, MAX_ZOOM_SCALE, MIN_ZOOM_SCALE, MIN_ELEMENT_SIZE, ZOOM_TO_SELECTION_PADDING, DEFAULT_CANVAS_HEIGHT, DEFAULT_CANVAS_WIDTH, partitionTemplateElements, UNGROUPED_SECTION_ID, stopAllPersistentAudio, buildSaveSlides, DEFAULT_TABLE_ROWS, DEFAULT_TABLE_COLUMNS, executeMediaCommand, buildPdfFromImageData, buildNotesPdf, EMU_PER_PX, GRID_SIZE, DEFAULT_TEXT_FONT_SIZE } from './chunk-
|
|
1
|
+
import { cloneHistorySnapshot, MAX_ZOOM_SCALE, MIN_ZOOM_SCALE, MIN_ELEMENT_SIZE, ZOOM_TO_SELECTION_PADDING, DEFAULT_CANVAS_HEIGHT, DEFAULT_CANVAS_WIDTH, partitionTemplateElements, UNGROUPED_SECTION_ID, stopAllPersistentAudio, buildSaveSlides, DEFAULT_TABLE_ROWS, DEFAULT_TABLE_COLUMNS, executeMediaCommand, buildPdfFromImageData, buildNotesPdf, EMU_PER_PX, GRID_SIZE, DEFAULT_TEXT_FONT_SIZE } from './chunk-IGKLB7NQ.mjs';
|
|
2
2
|
import { translationsEn } from './chunk-Z6HIZWIQ.mjs';
|
|
3
|
-
import { TOOLBAR_TABS, computeVirtualRange, DEFAULT_VIRTUAL_OVERSCAN, BROADCAST_THROTTLE_MS, createSyncGate, clearLocalAwareness, validateRoomId, createDepartureChannel, resolveTransportForServerUrl, isMixedContentBlocked, CONNECTION_TIMEOUT_MS, registerCollaborationTeardown, sanitizeColor, cloneTemplateElementsBySlideId, cloneSlide, PresentationAnimationController, computeEntranceAnimationDelay, PRESENTATION_HASH, PRESENTATION_NONCE_KEY, PRESENTATION_CHANNEL_NAME, swapPresentationWindows, PRESENTATION_MESSAGE_ORIGIN, clearAudienceContent, buildPresentationAudienceUrl, resolveAudienceScreenPlacement, placeAudienceWindow, storeAudienceContent, isPresentationSessionMessage, endAudienceDisplay, createPresentationKeyBuffer, acceptsPresentationInput, buildMorphTransitionPlan, morphOptionToMode, 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, remapTextToSegments, guidePxToEmu, shouldLoopContinuously, applyRehearsalTimings, copyFormatFromElement, applyFormatToElement, createViewerOptionsStore, readSlidesFromYDoc, reconcileSlidesInYDoc, LOCAL_SYNC_ORIGIN, observeYDocSlides, shouldAutoFollowBroadcaster, createTouchGestureRecognizer, isKeyboardOpen, openPptxFile, readBackstageRecentFile, isActionHidden, buildElementClipboardPayload, generatePackageReadme, groupElements, generateElementId, makeCloneId, alignElements, distributeElements, bringForward, sendBackward, bringToFront, sendToBack, newTableElement, createDefaultChartElement, readViewportMetrics, computeKeyboardInset, mergeShapes, derivePresenceList, mapPresentationKey, buildPrintDocument, buildOutlineHtml, buildSlidesHtml, buildNotesHtml, buildHandoutsHtml, createBlankSlide, makeSlideId, buildThemeColorMap, reResolveSlideColors, createPresentationSessionId, resolveTransitionDurationMs, isUrlSafe, createPresenterTimer, createInitialPresentationSnapshot, mergePresentationSnapshot, presenterElapsed, stepPresenterZoom, resetPresenterTimer, togglePresenterTimer, canvasToJpegData, downloadDataUrl, pickSupportedMimeType, WEBM_MIME_CANDIDATES, fpsToFrameIntervalMs, segmentFrameCount, encodeGif, groupSlidesBySection, hasCopyableFormat, createBackstagePresentation, 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 } from './chunk-
|
|
3
|
+
import { TOOLBAR_TABS, computeVirtualRange, DEFAULT_VIRTUAL_OVERSCAN, BROADCAST_THROTTLE_MS, createSyncGate, clearLocalAwareness, validateRoomId, createDepartureChannel, resolveTransportForServerUrl, isMixedContentBlocked, CONNECTION_TIMEOUT_MS, registerCollaborationTeardown, sanitizeColor, cloneTemplateElementsBySlideId, cloneSlide, PresentationAnimationController, computeEntranceAnimationDelay, PRESENTATION_HASH, PRESENTATION_NONCE_KEY, PRESENTATION_CHANNEL_NAME, swapPresentationWindows, PRESENTATION_MESSAGE_ORIGIN, clearAudienceContent, buildPresentationAudienceUrl, resolveAudienceScreenPlacement, placeAudienceWindow, storeAudienceContent, isPresentationSessionMessage, endAudienceDisplay, createPresentationKeyBuffer, acceptsPresentationInput, buildMorphTransitionPlan, morphOptionToMode, 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, remapTextToSegments, guidePxToEmu, shouldLoopContinuously, applyRehearsalTimings, copyFormatFromElement, applyFormatToElement, createViewerOptionsStore, readSlidesFromYDoc, reconcileSlidesInYDoc, LOCAL_SYNC_ORIGIN, observeYDocSlides, shouldAutoFollowBroadcaster, createTouchGestureRecognizer, isKeyboardOpen, openPptxFile, readBackstageRecentFile, isActionHidden, buildElementClipboardPayload, generatePackageReadme, groupElements, generateElementId, makeCloneId, alignElements, distributeElements, bringForward, sendBackward, bringToFront, sendToBack, newTableElement, createDefaultChartElement, readViewportMetrics, computeKeyboardInset, mergeShapes, derivePresenceList, mapPresentationKey, buildPrintDocument, buildOutlineHtml, buildSlidesHtml, buildNotesHtml, buildHandoutsHtml, createBlankSlide, makeSlideId, buildThemeColorMap, reResolveSlideColors, createPresentationSessionId, resolveTransitionDurationMs, isUrlSafe, createPresenterTimer, createInitialPresentationSnapshot, mergePresentationSnapshot, presenterElapsed, stepPresenterZoom, resetPresenterTimer, togglePresenterTimer, canvasToJpegData, downloadDataUrl, pickSupportedMimeType, WEBM_MIME_CANDIDATES, fpsToFrameIntervalMs, segmentFrameCount, encodeGif, groupSlidesBySection, hasCopyableFormat, createBackstagePresentation, 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 } from './chunk-WH46JCNF.mjs';
|
|
4
4
|
import { useRef, useState, useEffect, useCallback, useMemo, useSyncExternalStore, useImperativeHandle } from 'react';
|
|
5
5
|
import JSZip from 'jszip';
|
|
6
6
|
import { useTranslation } from 'react-i18next';
|
|
Binary file
|
|
Binary file
|
package/dist/index.js
CHANGED
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
var
|
|
6
|
-
var
|
|
3
|
+
var chunkGLQFRVAN_js = require('./chunk-GLQFRVAN.js');
|
|
4
|
+
require('./chunk-6C4UY7GX.js');
|
|
5
|
+
var chunk4KMTZLNS_js = require('./chunk-4KMTZLNS.js');
|
|
6
|
+
var chunkB4XJTZR4_js = require('./chunk-B4XJTZR4.js');
|
|
7
7
|
var chunk25VSL2BB_js = require('./chunk-25VSL2BB.js');
|
|
8
|
-
var
|
|
8
|
+
var chunk2LOBDOTK_js = require('./chunk-2LOBDOTK.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 chunkGLQFRVAN_js.PowerPointViewer; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "SlideCanvas", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkGLQFRVAN_js.SlideCanvas; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "Toolbar", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkGLQFRVAN_js.Toolbar; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "ViewerThemeProvider", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkGLQFRVAN_js.ViewerThemeProvider; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "useViewerTheme", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkGLQFRVAN_js.useViewerTheme; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "renderToCanvas", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunk4KMTZLNS_js.renderToCanvas; }
|
|
36
36
|
});
|
|
37
37
|
Object.defineProperty(exports, "useViewerBuildingBlocks", {
|
|
38
38
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunk4KMTZLNS_js.useViewerBuildingBlocks; }
|
|
40
40
|
});
|
|
41
41
|
Object.defineProperty(exports, "getAnimationInitialStyle", {
|
|
42
42
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunkB4XJTZR4_js.getAnimationInitialStyle; }
|
|
44
44
|
});
|
|
45
45
|
Object.defineProperty(exports, "LOCALE_CATALOG", {
|
|
46
46
|
enumerable: true,
|
|
@@ -48,85 +48,85 @@ Object.defineProperty(exports, "LOCALE_CATALOG", {
|
|
|
48
48
|
});
|
|
49
49
|
Object.defineProperty(exports, "AVATAR_COLOR_SWATCHES", {
|
|
50
50
|
enumerable: true,
|
|
51
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunk2LOBDOTK_js.AVATAR_COLOR_SWATCHES; }
|
|
52
52
|
});
|
|
53
53
|
Object.defineProperty(exports, "DEFAULT_VIEWER_PROFILE", {
|
|
54
54
|
enumerable: true,
|
|
55
|
-
get: function () { return
|
|
55
|
+
get: function () { return chunk2LOBDOTK_js.DEFAULT_VIEWER_PROFILE; }
|
|
56
56
|
});
|
|
57
57
|
Object.defineProperty(exports, "THEME_CATALOG", {
|
|
58
58
|
enumerable: true,
|
|
59
|
-
get: function () { return
|
|
59
|
+
get: function () { return chunk2LOBDOTK_js.THEME_CATALOG; }
|
|
60
60
|
});
|
|
61
61
|
Object.defineProperty(exports, "VIEWER_PREFS_STORAGE_KEY", {
|
|
62
62
|
enumerable: true,
|
|
63
|
-
get: function () { return
|
|
63
|
+
get: function () { return chunk2LOBDOTK_js.VIEWER_PREFS_STORAGE_KEY; }
|
|
64
64
|
});
|
|
65
65
|
Object.defineProperty(exports, "clearAllLocalViewerData", {
|
|
66
66
|
enumerable: true,
|
|
67
|
-
get: function () { return
|
|
67
|
+
get: function () { return chunk2LOBDOTK_js.clearAllLocalViewerData; }
|
|
68
68
|
});
|
|
69
69
|
Object.defineProperty(exports, "clearStoredViewerPrefs", {
|
|
70
70
|
enumerable: true,
|
|
71
|
-
get: function () { return
|
|
71
|
+
get: function () { return chunk2LOBDOTK_js.clearStoredViewerPrefs; }
|
|
72
72
|
});
|
|
73
73
|
Object.defineProperty(exports, "defaultCssVars", {
|
|
74
74
|
enumerable: true,
|
|
75
|
-
get: function () { return
|
|
75
|
+
get: function () { return chunk2LOBDOTK_js.defaultCssVars; }
|
|
76
76
|
});
|
|
77
77
|
Object.defineProperty(exports, "defaultRadius", {
|
|
78
78
|
enumerable: true,
|
|
79
|
-
get: function () { return
|
|
79
|
+
get: function () { return chunk2LOBDOTK_js.defaultRadius; }
|
|
80
80
|
});
|
|
81
81
|
Object.defineProperty(exports, "defaultThemeColors", {
|
|
82
82
|
enumerable: true,
|
|
83
|
-
get: function () { return
|
|
83
|
+
get: function () { return chunk2LOBDOTK_js.defaultThemeColors; }
|
|
84
84
|
});
|
|
85
85
|
Object.defineProperty(exports, "getLocalStorageUsageSummary", {
|
|
86
86
|
enumerable: true,
|
|
87
|
-
get: function () { return
|
|
87
|
+
get: function () { return chunk2LOBDOTK_js.getLocalStorageUsageSummary; }
|
|
88
88
|
});
|
|
89
89
|
Object.defineProperty(exports, "readStoredViewerPrefs", {
|
|
90
90
|
enumerable: true,
|
|
91
|
-
get: function () { return
|
|
91
|
+
get: function () { return chunk2LOBDOTK_js.readStoredViewerPrefs; }
|
|
92
92
|
});
|
|
93
93
|
Object.defineProperty(exports, "resolveProfileInitial", {
|
|
94
94
|
enumerable: true,
|
|
95
|
-
get: function () { return
|
|
95
|
+
get: function () { return chunk2LOBDOTK_js.resolveProfileInitial; }
|
|
96
96
|
});
|
|
97
97
|
Object.defineProperty(exports, "resolveThemeCatalogEntry", {
|
|
98
98
|
enumerable: true,
|
|
99
|
-
get: function () { return
|
|
99
|
+
get: function () { return chunk2LOBDOTK_js.resolveThemeCatalogEntry; }
|
|
100
100
|
});
|
|
101
101
|
Object.defineProperty(exports, "saveViewerProfile", {
|
|
102
102
|
enumerable: true,
|
|
103
|
-
get: function () { return
|
|
103
|
+
get: function () { return chunk2LOBDOTK_js.saveViewerProfile; }
|
|
104
104
|
});
|
|
105
105
|
Object.defineProperty(exports, "themeToCssVars", {
|
|
106
106
|
enumerable: true,
|
|
107
|
-
get: function () { return
|
|
107
|
+
get: function () { return chunk2LOBDOTK_js.themeToCssVars; }
|
|
108
108
|
});
|
|
109
109
|
Object.defineProperty(exports, "vermilionDarkColors", {
|
|
110
110
|
enumerable: true,
|
|
111
|
-
get: function () { return
|
|
111
|
+
get: function () { return chunk2LOBDOTK_js.vermilionDarkColors; }
|
|
112
112
|
});
|
|
113
113
|
Object.defineProperty(exports, "vermilionDarkTheme", {
|
|
114
114
|
enumerable: true,
|
|
115
|
-
get: function () { return
|
|
115
|
+
get: function () { return chunk2LOBDOTK_js.vermilionDarkTheme; }
|
|
116
116
|
});
|
|
117
117
|
Object.defineProperty(exports, "vermilionLightColors", {
|
|
118
118
|
enumerable: true,
|
|
119
|
-
get: function () { return
|
|
119
|
+
get: function () { return chunk2LOBDOTK_js.vermilionLightColors; }
|
|
120
120
|
});
|
|
121
121
|
Object.defineProperty(exports, "vermilionLightTheme", {
|
|
122
122
|
enumerable: true,
|
|
123
|
-
get: function () { return
|
|
123
|
+
get: function () { return chunk2LOBDOTK_js.vermilionLightTheme; }
|
|
124
124
|
});
|
|
125
125
|
Object.defineProperty(exports, "vermilionRadius", {
|
|
126
126
|
enumerable: true,
|
|
127
|
-
get: function () { return
|
|
127
|
+
get: function () { return chunk2LOBDOTK_js.vermilionRadius; }
|
|
128
128
|
});
|
|
129
129
|
Object.defineProperty(exports, "writeStoredViewerPrefs", {
|
|
130
130
|
enumerable: true,
|
|
131
|
-
get: function () { return
|
|
131
|
+
get: function () { return chunk2LOBDOTK_js.writeStoredViewerPrefs; }
|
|
132
132
|
});
|
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, Toolbar, ViewerThemeProvider, useViewerTheme } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
export { renderToCanvas, useViewerBuildingBlocks } from './chunk-
|
|
4
|
-
export { getAnimationInitialStyle } from './chunk-
|
|
1
|
+
export { PowerPointViewer, SlideCanvas, Toolbar, ViewerThemeProvider, useViewerTheme } from './chunk-Y4EB65WB.mjs';
|
|
2
|
+
import './chunk-SOLHDKNK.mjs';
|
|
3
|
+
export { renderToCanvas, useViewerBuildingBlocks } from './chunk-YUHEJWUN.mjs';
|
|
4
|
+
export { getAnimationInitialStyle } from './chunk-IGKLB7NQ.mjs';
|
|
5
5
|
export { LOCALE_CATALOG } from './chunk-Z6HIZWIQ.mjs';
|
|
6
|
-
export { AVATAR_COLOR_SWATCHES, DEFAULT_VIEWER_PROFILE, THEME_CATALOG, VIEWER_PREFS_STORAGE_KEY, 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, THEME_CATALOG, VIEWER_PREFS_STORAGE_KEY, clearAllLocalViewerData, clearStoredViewerPrefs, defaultCssVars, defaultRadius, defaultThemeColors, getLocalStorageUsageSummary, readStoredViewerPrefs, resolveProfileInitial, resolveThemeCatalogEntry, saveViewerProfile, themeToCssVars, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius, writeStoredViewerPrefs } from './chunk-WH46JCNF.mjs';
|
|
7
7
|
import './chunk-XGB3TDIC.mjs';
|
package/dist/index.mjs.br
CHANGED
|
Binary file
|
package/dist/index.mjs.gz
CHANGED
|
Binary file
|