pptx-react-viewer 4.29.0 → 4.30.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.
Files changed (63) hide show
  1. package/CHANGELOG.md +60 -0
  2. package/README.md +37 -36
  3. package/dist/{AiChatPanel-6EIOUV7J.mjs → AiChatPanel-42FL4CPM.mjs} +1 -1
  4. package/dist/AiChatPanel-42FL4CPM.mjs.br +0 -0
  5. package/dist/AiChatPanel-42FL4CPM.mjs.gz +0 -0
  6. package/dist/{AiChatPanel-AK6X4NJD.js → AiChatPanel-6VWCT6NE.js} +9 -9
  7. package/dist/AiChatPanel-6VWCT6NE.js.br +0 -0
  8. package/dist/AiChatPanel-6VWCT6NE.js.gz +0 -0
  9. package/dist/{chunk-6YOFWVII.mjs → chunk-GXMGJ5A3.mjs} +7 -12
  10. package/dist/chunk-GXMGJ5A3.mjs.br +0 -0
  11. package/dist/chunk-GXMGJ5A3.mjs.gz +0 -0
  12. package/dist/{chunk-EW45F35P.mjs → chunk-KRXS36RB.mjs} +5 -11
  13. package/dist/chunk-KRXS36RB.mjs.br +0 -0
  14. package/dist/chunk-KRXS36RB.mjs.gz +0 -0
  15. package/dist/{chunk-K3EGXT6W.js → chunk-MFGD7XVJ.js} +248 -254
  16. package/dist/chunk-MFGD7XVJ.js.br +0 -0
  17. package/dist/chunk-MFGD7XVJ.js.gz +0 -0
  18. package/dist/{chunk-CTL42ZRR.js → chunk-RHNJ4IU2.js} +31 -40
  19. package/dist/chunk-RHNJ4IU2.js.br +0 -0
  20. package/dist/chunk-RHNJ4IU2.js.gz +0 -0
  21. package/dist/{chunk-7JMO6R6B.js → chunk-XKV2QDAO.js} +387 -392
  22. package/dist/chunk-XKV2QDAO.js.br +0 -0
  23. package/dist/chunk-XKV2QDAO.js.gz +0 -0
  24. package/dist/{chunk-VI575UU6.mjs → chunk-ZIBAN7RL.mjs} +32 -41
  25. package/dist/chunk-ZIBAN7RL.mjs.br +0 -0
  26. package/dist/chunk-ZIBAN7RL.mjs.gz +0 -0
  27. package/dist/index.d.ts +5 -0
  28. package/dist/index.js +24 -24
  29. package/dist/index.js.br +0 -0
  30. package/dist/index.js.gz +0 -0
  31. package/dist/index.mjs +3 -3
  32. package/dist/index.mjs.br +0 -0
  33. package/dist/index.mjs.gz +0 -0
  34. package/dist/internals.js +81 -81
  35. package/dist/internals.js.br +0 -0
  36. package/dist/internals.js.gz +0 -0
  37. package/dist/internals.mjs +2 -2
  38. package/dist/internals.mjs.br +0 -0
  39. package/dist/internals.mjs.gz +0 -0
  40. package/dist/viewer/index.d.ts +5 -0
  41. package/dist/viewer/index.js +19 -19
  42. package/dist/viewer/index.js.br +0 -0
  43. package/dist/viewer/index.js.gz +0 -0
  44. package/dist/viewer/index.mjs +3 -3
  45. package/dist/viewer/index.mjs.br +0 -0
  46. package/dist/viewer/index.mjs.gz +0 -0
  47. package/package.json +3 -3
  48. package/dist/AiChatPanel-6EIOUV7J.mjs.br +0 -0
  49. package/dist/AiChatPanel-6EIOUV7J.mjs.gz +0 -0
  50. package/dist/AiChatPanel-AK6X4NJD.js.br +0 -0
  51. package/dist/AiChatPanel-AK6X4NJD.js.gz +0 -0
  52. package/dist/chunk-6YOFWVII.mjs.br +0 -0
  53. package/dist/chunk-6YOFWVII.mjs.gz +0 -0
  54. package/dist/chunk-7JMO6R6B.js.br +0 -0
  55. package/dist/chunk-7JMO6R6B.js.gz +0 -0
  56. package/dist/chunk-CTL42ZRR.js.br +0 -0
  57. package/dist/chunk-CTL42ZRR.js.gz +0 -0
  58. package/dist/chunk-EW45F35P.mjs.br +0 -0
  59. package/dist/chunk-EW45F35P.mjs.gz +0 -0
  60. package/dist/chunk-K3EGXT6W.js.br +0 -0
  61. package/dist/chunk-K3EGXT6W.js.gz +0 -0
  62. package/dist/chunk-VI575UU6.mjs.br +0 -0
  63. package/dist/chunk-VI575UU6.mjs.gz +0 -0
Binary file
Binary file
@@ -1,5 +1,5 @@
1
1
  import { __reExport } from './chunk-GDQSMJQZ.mjs';
2
- import { SHAPE_PRESET_DEFS, VIEWER_SHORTCUT_REFERENCE, STROKE_DASH_OPTIONS as STROKE_DASH_OPTIONS$1, getAnimationInitialStyle as getAnimationInitialStyle$1, cloneHistorySnapshot as cloneHistorySnapshot$1, getImageFitStyle, getImageFillCounterTransform, getComputedFillStyle, getCropShapeClipPath as getCropShapeClipPath$1, getImageTilingStyle as getImageTilingStyle$1, mediaPlaybackAttributes, getOnlineVideoEmbed, ONLINE_VIDEO_IFRAME_SANDBOX, ONLINE_VIDEO_IFRAME_ALLOW, buildTextBlockStyle, toCssWritingMode, toCssTextOrientation, toCssVerticalDirection, buildTextBodyLayoutStyle, buildTextBody3DSceneStyle as buildTextBody3DSceneStyle$1, buildParagraphs, followingText, colorWithOpacity, normalizeHexColor, hexToRgbUnit, build3DExtrusionData as build3DExtrusionData$1, getComputedEffectStyle, getComputedStrokeStyle, getAnimationColorBaseStyle, isStrokeOnlyPresetElement, resolveShapeGeometry, normalizeStrokeDashType, getSvgStrokeDasharray, buildSvgGradientDef, buildStrokeOutline, getPresetShapeVectorGeometry, isWedgeCalloutPresetShape, svgGradientFillRef, svgLineCap, getCompoundLineOffsets, getCompoundLineWidths, canDrillDown, computeSelectionRect, DEFAULT_FONT_FAMILY as DEFAULT_FONT_FAMILY$1, cellStyleToCss, TABLE_CELL_TEXT_DEFAULTS, rectToCells, isCellInRect, tableContainerCss, buildChartViewModel, resolveChartKind, chartPreserveAspectRatio, buildNotesPdfBytes, buildTiledSlidesPdfBytes, buildPreviewAnimation, measurePreviewGeometry, buildMotionPathPreview, mediaFallbackVisual, scheduleMediaTrimAndFade, registerCrossSlideAudio, shouldShowMediaFullscreenStopButton, withInlineListDecorationDefaults, segmentStyleToCss, resolveAutoFitFontScale, applyUnderlineVariant, nestedTextDecorationStyle, scaleFontSizeForAutoFit, resolveFontKerning, resolveScriptFontSet, hasDistinctScriptFonts, authoredLetterSpacingPx, eastAsianBreaksForRun, pieceLetterSpacing, resolveMetricTrackingPx, hollowTextFillStyle, splitsUnderlineIntoWords, stripUnderlineDecoration, buildTabContext, TEXT_BUILD_ID_SEP, buildTextBuildSpec, textBuildSpanStyle, apply3dEffects as apply3dEffects$1, buildSubpathPaints, computeColumnBoundaries, getTableCellBandStyle as getTableCellBandStyle$1, parseDrawingColor, parseDrawingColorOpacity, getCellDiagonalBorders as getCellDiagonalBorders$1, cellRunStyle, getChartStylePalette, computeChartLegendLayout, resolveChartSvgDef, mediaFallbackIcon, mediaFallbackLabelKey, MEDIA_CHROME_ATTRIBUTE, convertOmmlToMathMl, sanitizeMathMl, tableCellCss, computeResizedColumnWidths, computeResizedRowHeight, DEFAULT_ROW_HEIGHT, buildRectPathGradient, buildRunTabLines, chartPartToAttrs, splitWordsForUnderline, splitRunForMetrics, splitEastAsianBreaks, splitRunByScriptFont } from 'ooxml-ui/pptx';
2
+ import { SHAPE_PRESET_DEFS, VIEWER_SHORTCUT_REFERENCE, STROKE_DASH_OPTIONS as STROKE_DASH_OPTIONS$1, getAnimationInitialStyle as getAnimationInitialStyle$1, cloneHistorySnapshot as cloneHistorySnapshot$1, getImageFitStyle, getImageFillCounterTransform, getComputedFillStyle, getCropShapeClipPath as getCropShapeClipPath$1, getImageTilingStyle as getImageTilingStyle$1, mediaPlaybackAttributes, getOnlineVideoEmbed, ONLINE_VIDEO_IFRAME_SANDBOX, ONLINE_VIDEO_IFRAME_ALLOW, buildTextBlockStyle, toCssWritingMode, toCssTextOrientation, toCssVerticalDirection, buildTextBodyLayoutStyle, buildTextBody3DSceneStyle as buildTextBody3DSceneStyle$1, buildParagraphs, followingText, colorWithOpacity, normalizeHexColor, hexToRgbUnit, build3DExtrusionData as build3DExtrusionData$1, getComputedEffectStyle, getComputedStrokeStyle, getAnimationColorBaseStyle, isStrokeOnlyPresetElement, resolveShapeGeometry, normalizeStrokeDashType, getSvgStrokeDasharray, buildSvgGradientDef, buildStrokeOutline, getPresetShapeVectorGeometry, isWedgeCalloutPresetShape, svgGradientFillRef, svgLineCap, getCompoundLineOffsets, getCompoundLineWidths, canDrillDown, computeSelectionRect, DEFAULT_FONT_FAMILY as DEFAULT_FONT_FAMILY$1, cellStyleToCss, TABLE_CELL_TEXT_DEFAULTS, rectToCells, isCellInRect, tableContainerCss, buildChartViewModel, resolveChartKind, chartPreserveAspectRatio, buildNotesPdfBytes, buildTiledSlidesPdfBytes, buildPreviewAnimation, measurePreviewGeometry, buildMotionPathPreview, mediaFallbackVisual, scheduleMediaTrimAndFade, registerCrossSlideAudio, shouldShowMediaFullscreenStopButton, withInlineListDecorationDefaults, segmentStyleToCss, resolveAutoFitFontScale, applyUnderlineVariant, nestedTextDecorationStyle, scaleFontSizeForAutoFit, resolveFontKerning, resolveScriptFontSet, hasDistinctScriptFonts, authoredLetterSpacingPx, eastAsianBreaksForRun, pieceLetterSpacing, resolveMetricTrackingPx, hollowTextFillStyle, splitsUnderlineIntoWords, stripUnderlineDecoration, buildTabContext, TEXT_BUILD_ID_SEP, buildTextBuildSpec, textBuildSpanStyle, apply3dEffects as apply3dEffects$1, buildSubpathPaints, computeColumnBoundaries, getTableCellBandStyle as getTableCellBandStyle$1, parseDrawingColor, parseDrawingColorOpacity, getCellDiagonalBorders as getCellDiagonalBorders$1, cellParagraphBlocks, resolveChartPalette, computeChartLegendLayout, resolveChartSvgDef, mediaFallbackIcon, mediaFallbackLabelKey, MEDIA_CHROME_ATTRIBUTE, convertOmmlToMathMl, sanitizeMathMl, tableCellCss, computeResizedColumnWidths, computeResizedRowHeight, DEFAULT_ROW_HEIGHT, buildRectPathGradient, cellRunStyle, buildRunTabLines, chartPartToAttrs, splitWordsForUnderline, splitRunForMetrics, splitEastAsianBreaks, splitRunByScriptFont } from 'ooxml-ui/pptx';
3
3
  export { ACTION_BUTTON_PRESETS, DEFAULT_COLOR_CHANGE_TOLERANCE, INK_REPLAY_KEYFRAMES, MAX_ZOOM_SCALE, MIN_ZOOM_SCALE, SHAPE_QUICK_STYLES, SLIDE_TRANSITION_OPTIONS, TABLE_STYLE_PRESETS, applyColorChange, applyFormatToElement, applyReroutedConnectors, buildCacheKey, buildContentPartStrokes, buildCssGradientFromShapeStyle, buildInkGroupStrokes, buildSaveSlides, canvasToJpegData, clampCropValue, cloneSlide, cloneTemplateElementsBySlideId, colorWithOpacity, comparePresentation, computeHandoutLayout, computeSnapToShape, copyFormatFromElement, formatCommentTimestamp, generateNoteLineCount, getAriaLabel, getAriaRole, getAriaRoleDescription, getCachedResult, getCompoundLineOffsets, getCompoundLineWidths, getContentPartReplayStyles, getElementLabel, getElementTransform, getElementTransformWithoutRotation, getImageEffectsFilter, getImageEffectsOpacity, getInkReplayStyles, getPatternSvg, getPrintableArea, getShapeAdjustmentHandleDescriptors, getSvgStrokeDasharray, getTextCompensationTransform, hasCopyableFormat, isEditableTextElement, isImageTiled, isPpactionUrl, isTemplateElementId, isUrlSafe, makeCloneId, mergeCells, normalizeHexColor, normalizeStrokeDashType, openNativeEyeDropper, parsePpactionUrl, partitionTemplateElements, rerouteConnectorsForMovedElements, safeOpenUrl, sanitizeGradientStops, setCachedResult, splitCell, stopAllPersistentAudio, substituteFieldText } from 'ooxml-ui/pptx';
4
4
  import * as pptx_star from 'ooxml-core/pptx';
5
5
  import { clsx } from 'clsx';
@@ -2801,26 +2801,37 @@ function parseTableElementData(element, fallbackTextStyle) {
2801
2801
  };
2802
2802
  }
2803
2803
  function renderTableCellContent(cell, fallbackText) {
2804
+ const blocks = cell ? cellParagraphBlocks(cell) : void 0;
2805
+ if (blocks) {
2806
+ return blocks.map((block, index) => /* @__PURE__ */ jsx(
2807
+ "div",
2808
+ {
2809
+ style: { display: "block", ...block.css },
2810
+ children: block.runs.map(renderRun)
2811
+ },
2812
+ `p-${index}`
2813
+ ));
2814
+ }
2804
2815
  const runs = cell?.textRuns;
2805
2816
  if (!runs || runs.length === 0) {
2806
- return fallbackText || "\xA0";
2817
+ return fallbackText || " ";
2807
2818
  }
2808
- return runs.map((run, index) => {
2809
- if (run.isParagraphBreak) {
2810
- return /* @__PURE__ */ jsx("div", { style: { display: "block", height: 0 } }, `p-${index}`);
2811
- }
2812
- if (run.isLineBreak) {
2813
- return /* @__PURE__ */ jsx("br", {}, `br-${index}`);
2814
- }
2815
- return /* @__PURE__ */ jsx(
2816
- "span",
2817
- {
2818
- style: { position: "relative", ...cellRunStyle(run) },
2819
- children: run.text
2820
- },
2821
- `r-${index}`
2822
- );
2823
- });
2819
+ return runs.map(
2820
+ (run, index) => run.isParagraphBreak ? /* @__PURE__ */ jsx("div", { style: { display: "block", height: 0 } }, `p-${index}`) : renderRun(run, index)
2821
+ );
2822
+ }
2823
+ function renderRun(run, index) {
2824
+ if (run.isLineBreak) {
2825
+ return /* @__PURE__ */ jsx("br", {}, `br-${index}`);
2826
+ }
2827
+ return /* @__PURE__ */ jsx(
2828
+ "span",
2829
+ {
2830
+ style: { position: "relative", ...cellRunStyle(run) },
2831
+ children: run.text
2832
+ },
2833
+ `r-${index}`
2834
+ );
2824
2835
  }
2825
2836
  function getCellDiagonalBorders(style, tableData, pos, styleCtx) {
2826
2837
  return getCellDiagonalBorders$1(style, tableData, pos, {
@@ -3446,10 +3457,7 @@ function partAttrs(part) {
3446
3457
  return part ? chartPartToAttrs(part) : void 0;
3447
3458
  }
3448
3459
  function resolveReactPalette(chartData) {
3449
- if (chartData.colorPalette && chartData.colorPalette.length > 0) {
3450
- return chartData.colorPalette;
3451
- }
3452
- return [...getChartStylePalette(chartData.style?.styleId)];
3460
+ return resolveChartPalette(chartData);
3453
3461
  }
3454
3462
  function buildReactChartViewModel(element) {
3455
3463
  if (element.type !== "chart" || !element.chartData) {
@@ -3570,25 +3578,8 @@ function renderPrimitive(prim, key) {
3570
3578
  key
3571
3579
  );
3572
3580
  }
3573
- case "text": {
3574
- const t = prim;
3575
- return /* @__PURE__ */ jsx(
3576
- "text",
3577
- {
3578
- x: t.x,
3579
- y: t.y,
3580
- textAnchor: t.textAnchor,
3581
- fontSize: t.fontSize,
3582
- fill: t.fill,
3583
- fontWeight: t.fontWeight ?? "normal",
3584
- dominantBaseline: t.dominantBaseline,
3585
- opacity: t.opacity ?? 1,
3586
- transform: t.transform,
3587
- children: t.text
3588
- },
3589
- key
3590
- );
3591
- }
3581
+ case "text":
3582
+ return renderText(prim, key);
3592
3583
  default:
3593
3584
  return null;
3594
3585
  }
Binary file
Binary file
package/dist/index.d.ts CHANGED
@@ -394,6 +394,11 @@ interface PowerPointViewerProps extends ViewportFitOptions {
394
394
  * the user's own collapse toggle and the `slidesPane` customisation panel.
395
395
  */
396
396
  showThumbnails?: boolean;
397
+ /**
398
+ * Show the compatibility warning toast stack after a load. Default `true`.
399
+ * `false` hides the stack only; the warnings are still collected.
400
+ */
401
+ showCompatibilityToasts?: boolean;
397
402
  /**
398
403
  * Hide individual toolbar buttons and/or ribbon tabs instead of the whole
399
404
  * toolbar. Accepts any mix of button ids (`share`, `broadcast`, `export`,
package/dist/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var chunk7JMO6R6B_js = require('./chunk-7JMO6R6B.js');
4
- var chunkK3EGXT6W_js = require('./chunk-K3EGXT6W.js');
5
- var chunkCTL42ZRR_js = require('./chunk-CTL42ZRR.js');
3
+ var chunkXKV2QDAO_js = require('./chunk-XKV2QDAO.js');
4
+ var chunkMFGD7XVJ_js = require('./chunk-MFGD7XVJ.js');
5
+ var chunkRHNJ4IU2_js = require('./chunk-RHNJ4IU2.js');
6
6
  require('./chunk-DFFCFNK2.js');
7
7
  var pptx = require('ooxml-ui/pptx');
8
8
  var i18n = require('ooxml-ui/pptx/i18n');
@@ -11,87 +11,87 @@ var i18n = require('ooxml-ui/pptx/i18n');
11
11
 
12
12
  Object.defineProperty(exports, "PowerPointViewer", {
13
13
  enumerable: true,
14
- get: function () { return chunk7JMO6R6B_js.PowerPointViewer; }
14
+ get: function () { return chunkXKV2QDAO_js.PowerPointViewer; }
15
15
  });
16
16
  Object.defineProperty(exports, "SlideCanvas", {
17
17
  enumerable: true,
18
- get: function () { return chunk7JMO6R6B_js.SlideCanvas; }
18
+ get: function () { return chunkXKV2QDAO_js.SlideCanvas; }
19
19
  });
20
20
  Object.defineProperty(exports, "SlideTemplateGalleryDialog", {
21
21
  enumerable: true,
22
- get: function () { return chunk7JMO6R6B_js.SlideTemplateGalleryDialog; }
22
+ get: function () { return chunkXKV2QDAO_js.SlideTemplateGalleryDialog; }
23
23
  });
24
24
  Object.defineProperty(exports, "SlideTemplatePreview", {
25
25
  enumerable: true,
26
- get: function () { return chunk7JMO6R6B_js.SlideTemplatePreview; }
26
+ get: function () { return chunkXKV2QDAO_js.SlideTemplatePreview; }
27
27
  });
28
28
  Object.defineProperty(exports, "THEME_CATALOG", {
29
29
  enumerable: true,
30
- get: function () { return chunk7JMO6R6B_js.THEME_CATALOG; }
30
+ get: function () { return chunkXKV2QDAO_js.THEME_CATALOG; }
31
31
  });
32
32
  Object.defineProperty(exports, "Toolbar", {
33
33
  enumerable: true,
34
- get: function () { return chunk7JMO6R6B_js.Toolbar; }
34
+ get: function () { return chunkXKV2QDAO_js.Toolbar; }
35
35
  });
36
36
  Object.defineProperty(exports, "ViewerThemeProvider", {
37
37
  enumerable: true,
38
- get: function () { return chunk7JMO6R6B_js.ViewerThemeProvider; }
38
+ get: function () { return chunkXKV2QDAO_js.ViewerThemeProvider; }
39
39
  });
40
40
  Object.defineProperty(exports, "defaultCssVars", {
41
41
  enumerable: true,
42
- get: function () { return chunk7JMO6R6B_js.defaultCssVars; }
42
+ get: function () { return chunkXKV2QDAO_js.defaultCssVars; }
43
43
  });
44
44
  Object.defineProperty(exports, "defaultRadius", {
45
45
  enumerable: true,
46
- get: function () { return chunk7JMO6R6B_js.defaultRadius; }
46
+ get: function () { return chunkXKV2QDAO_js.defaultRadius; }
47
47
  });
48
48
  Object.defineProperty(exports, "defaultThemeColors", {
49
49
  enumerable: true,
50
- get: function () { return chunk7JMO6R6B_js.defaultThemeColors; }
50
+ get: function () { return chunkXKV2QDAO_js.defaultThemeColors; }
51
51
  });
52
52
  Object.defineProperty(exports, "resolveThemeCatalogEntry", {
53
53
  enumerable: true,
54
- get: function () { return chunk7JMO6R6B_js.resolveThemeCatalogEntry; }
54
+ get: function () { return chunkXKV2QDAO_js.resolveThemeCatalogEntry; }
55
55
  });
56
56
  Object.defineProperty(exports, "themeToCssVars", {
57
57
  enumerable: true,
58
- get: function () { return chunk7JMO6R6B_js.themeToCssVars; }
58
+ get: function () { return chunkXKV2QDAO_js.themeToCssVars; }
59
59
  });
60
60
  Object.defineProperty(exports, "useViewerTheme", {
61
61
  enumerable: true,
62
- get: function () { return chunk7JMO6R6B_js.useViewerTheme; }
62
+ get: function () { return chunkXKV2QDAO_js.useViewerTheme; }
63
63
  });
64
64
  Object.defineProperty(exports, "vermilionDarkColors", {
65
65
  enumerable: true,
66
- get: function () { return chunk7JMO6R6B_js.vermilionDarkColors; }
66
+ get: function () { return chunkXKV2QDAO_js.vermilionDarkColors; }
67
67
  });
68
68
  Object.defineProperty(exports, "vermilionDarkTheme", {
69
69
  enumerable: true,
70
- get: function () { return chunk7JMO6R6B_js.vermilionDarkTheme; }
70
+ get: function () { return chunkXKV2QDAO_js.vermilionDarkTheme; }
71
71
  });
72
72
  Object.defineProperty(exports, "vermilionLightColors", {
73
73
  enumerable: true,
74
- get: function () { return chunk7JMO6R6B_js.vermilionLightColors; }
74
+ get: function () { return chunkXKV2QDAO_js.vermilionLightColors; }
75
75
  });
76
76
  Object.defineProperty(exports, "vermilionLightTheme", {
77
77
  enumerable: true,
78
- get: function () { return chunk7JMO6R6B_js.vermilionLightTheme; }
78
+ get: function () { return chunkXKV2QDAO_js.vermilionLightTheme; }
79
79
  });
80
80
  Object.defineProperty(exports, "vermilionRadius", {
81
81
  enumerable: true,
82
- get: function () { return chunk7JMO6R6B_js.vermilionRadius; }
82
+ get: function () { return chunkXKV2QDAO_js.vermilionRadius; }
83
83
  });
84
84
  Object.defineProperty(exports, "renderToCanvas", {
85
85
  enumerable: true,
86
- get: function () { return chunkK3EGXT6W_js.renderToCanvas; }
86
+ get: function () { return chunkMFGD7XVJ_js.renderToCanvas; }
87
87
  });
88
88
  Object.defineProperty(exports, "useViewerBuildingBlocks", {
89
89
  enumerable: true,
90
- get: function () { return chunkK3EGXT6W_js.useViewerBuildingBlocks; }
90
+ get: function () { return chunkMFGD7XVJ_js.useViewerBuildingBlocks; }
91
91
  });
92
92
  Object.defineProperty(exports, "getAnimationInitialStyle", {
93
93
  enumerable: true,
94
- get: function () { return chunkCTL42ZRR_js.getAnimationInitialStyle; }
94
+ get: function () { return chunkRHNJ4IU2_js.getAnimationInitialStyle; }
95
95
  });
96
96
  Object.defineProperty(exports, "AVATAR_COLOR_SWATCHES", {
97
97
  enumerable: true,
package/dist/index.js.br CHANGED
Binary file
package/dist/index.js.gz CHANGED
Binary file
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
- export { PowerPointViewer, SlideCanvas, SlideTemplateGalleryDialog, SlideTemplatePreview, THEME_CATALOG, Toolbar, ViewerThemeProvider, defaultCssVars, defaultRadius, defaultThemeColors, resolveThemeCatalogEntry, themeToCssVars, useViewerTheme, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius } from './chunk-6YOFWVII.mjs';
2
- export { renderToCanvas, useViewerBuildingBlocks } from './chunk-EW45F35P.mjs';
3
- export { getAnimationInitialStyle } from './chunk-VI575UU6.mjs';
1
+ export { PowerPointViewer, SlideCanvas, SlideTemplateGalleryDialog, SlideTemplatePreview, THEME_CATALOG, Toolbar, ViewerThemeProvider, defaultCssVars, defaultRadius, defaultThemeColors, resolveThemeCatalogEntry, themeToCssVars, useViewerTheme, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius } from './chunk-GXMGJ5A3.mjs';
2
+ export { renderToCanvas, useViewerBuildingBlocks } from './chunk-KRXS36RB.mjs';
3
+ export { getAnimationInitialStyle } from './chunk-ZIBAN7RL.mjs';
4
4
  import './chunk-GDQSMJQZ.mjs';
5
5
  export { AVATAR_COLOR_SWATCHES, BACKSTAGE_CARD_IDS, BACKSTAGE_PAGE_IDS, CANVAS_CONTEXT_MENU_COMMAND_IDS, DEFAULT_VIEWER_PROFILE, EDITOR_SHORTCUT_ACTION_IDS, ELEMENT_CONTEXT_MENU_COMMAND_IDS, OPTIONS_PAGE_IDS, OPTIONS_SECTION_IDS, OPTIONS_SETTING_IDS, PPTX_OPEN_ACCEPT, PRESENTATION_OPEN_EXTENSIONS, RIBBON_TAB_IDS, SLIDE_TEMPLATES, TOOLBAR_BUTTON_IDS, VIEWER_DIALOG_IDS, VIEWER_EXPORT_FORMAT_IDS, VIEWER_FEATURE_IDS, VIEWER_PANEL_IDS, VIEWER_PREFS_STORAGE_KEY, buildSlideTemplateContent, buildSlideTemplateSlide, clearAllLocalViewerData, clearStoredViewerPrefs, createImageElementFromFile, describeCollaborationShellState, getLocalStorageUsageSummary, isLegacyBinaryPresentation, isSupportedPresentationFile, presentationBaseName, readStoredViewerPrefs, resolveProfileInitial, saveViewerProfile, savedPresentationFileName, writeStoredViewerPrefs } from 'ooxml-ui/pptx';
6
6
  export { LOCALE_CATALOG } from 'ooxml-ui/pptx/i18n';
package/dist/index.mjs.br CHANGED
Binary file
package/dist/index.mjs.gz CHANGED
Binary file