pptx-react-viewer 4.9.0 → 4.10.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.
Files changed (93) hide show
  1. package/CHANGELOG.md +74 -0
  2. package/dist/{AiChatPanel-YRWC7C3B.mjs → AiChatPanel-AR2K2XN2.mjs} +3 -3
  3. package/dist/AiChatPanel-AR2K2XN2.mjs.br +0 -0
  4. package/dist/AiChatPanel-AR2K2XN2.mjs.gz +0 -0
  5. package/dist/{AiChatPanel-WJ64Q6KO.js → AiChatPanel-X6E22UAR.js} +27 -27
  6. package/dist/AiChatPanel-X6E22UAR.js.br +0 -0
  7. package/dist/AiChatPanel-X6E22UAR.js.gz +0 -0
  8. package/dist/{Model3DScene-DS6AQWFV.mjs → Model3DScene-FF4RCG4O.mjs} +1 -1
  9. package/dist/Model3DScene-FF4RCG4O.mjs.br +0 -0
  10. package/dist/Model3DScene-FF4RCG4O.mjs.gz +0 -0
  11. package/dist/{Model3DScene-VHDYCHO5.js → Model3DScene-ZSCVKXZE.js} +2 -2
  12. package/dist/Model3DScene-ZSCVKXZE.js.br +0 -0
  13. package/dist/Model3DScene-ZSCVKXZE.js.gz +0 -0
  14. package/dist/{chunk-M6KW27TZ.mjs → chunk-22ODJ4CT.mjs} +17 -13
  15. package/dist/chunk-22ODJ4CT.mjs.br +0 -0
  16. package/dist/chunk-22ODJ4CT.mjs.gz +0 -0
  17. package/dist/{chunk-7NTNFOPT.js → chunk-7EP22XCS.js} +187 -187
  18. package/dist/chunk-7EP22XCS.js.br +0 -0
  19. package/dist/chunk-7EP22XCS.js.gz +0 -0
  20. package/dist/{chunk-NMXIX7E4.js → chunk-ICOJBMRC.js} +1179 -1179
  21. package/dist/chunk-ICOJBMRC.js.br +0 -0
  22. package/dist/chunk-ICOJBMRC.js.gz +0 -0
  23. package/dist/{chunk-YWAFJZ23.js → chunk-JJE4AACM.js} +861 -346
  24. package/dist/chunk-JJE4AACM.js.br +0 -0
  25. package/dist/chunk-JJE4AACM.js.gz +0 -0
  26. package/dist/{chunk-PJT2DTOS.mjs → chunk-LDRA5LJT.mjs} +861 -346
  27. package/dist/chunk-LDRA5LJT.mjs.br +0 -0
  28. package/dist/chunk-LDRA5LJT.mjs.gz +0 -0
  29. package/dist/{chunk-Y7RTQOD6.mjs → chunk-NE4USMMB.mjs} +1 -1
  30. package/dist/chunk-NE4USMMB.mjs.br +0 -0
  31. package/dist/chunk-NE4USMMB.mjs.gz +0 -0
  32. package/dist/{chunk-K5HZD63F.mjs → chunk-QPWNFTU5.mjs} +6 -6
  33. package/dist/chunk-QPWNFTU5.mjs.br +0 -0
  34. package/dist/chunk-QPWNFTU5.mjs.gz +0 -0
  35. package/dist/{chunk-ZZY24BB7.mjs → chunk-VOD4C7OS.mjs} +1 -1
  36. package/dist/chunk-VOD4C7OS.mjs.br +0 -0
  37. package/dist/chunk-VOD4C7OS.mjs.gz +0 -0
  38. package/dist/{chunk-ZZ6IPWOP.js → chunk-VYJFYRT4.js} +820 -816
  39. package/dist/chunk-VYJFYRT4.js.br +0 -0
  40. package/dist/chunk-VYJFYRT4.js.gz +0 -0
  41. package/dist/{chunk-PSJTZIIK.js → chunk-WLEFW2F4.js} +5 -5
  42. package/dist/chunk-WLEFW2F4.js.br +0 -0
  43. package/dist/chunk-WLEFW2F4.js.gz +0 -0
  44. package/dist/index.d.ts +20 -4
  45. package/dist/index.js +61 -61
  46. package/dist/index.js.br +0 -0
  47. package/dist/index.js.gz +0 -0
  48. package/dist/index.mjs +5 -5
  49. package/dist/index.mjs.br +0 -0
  50. package/dist/index.mjs.gz +0 -0
  51. package/dist/internals.d.ts +22 -6
  52. package/dist/internals.js +104 -104
  53. package/dist/internals.js.br +0 -0
  54. package/dist/internals.js.gz +0 -0
  55. package/dist/internals.mjs +3 -3
  56. package/dist/internals.mjs.br +0 -0
  57. package/dist/internals.mjs.gz +0 -0
  58. package/dist/viewer/index.d.ts +20 -4
  59. package/dist/viewer/index.js +26 -26
  60. package/dist/viewer/index.js.br +0 -0
  61. package/dist/viewer/index.js.gz +0 -0
  62. package/dist/viewer/index.mjs +5 -5
  63. package/dist/viewer/index.mjs.br +0 -0
  64. package/dist/viewer/index.mjs.gz +0 -0
  65. package/package.json +2 -2
  66. package/dist/AiChatPanel-WJ64Q6KO.js.br +0 -0
  67. package/dist/AiChatPanel-WJ64Q6KO.js.gz +0 -0
  68. package/dist/AiChatPanel-YRWC7C3B.mjs.br +0 -0
  69. package/dist/AiChatPanel-YRWC7C3B.mjs.gz +0 -0
  70. package/dist/Model3DScene-DS6AQWFV.mjs.br +0 -0
  71. package/dist/Model3DScene-DS6AQWFV.mjs.gz +0 -0
  72. package/dist/Model3DScene-VHDYCHO5.js.br +0 -0
  73. package/dist/Model3DScene-VHDYCHO5.js.gz +0 -0
  74. package/dist/chunk-7NTNFOPT.js.br +0 -0
  75. package/dist/chunk-7NTNFOPT.js.gz +0 -0
  76. package/dist/chunk-K5HZD63F.mjs.br +0 -0
  77. package/dist/chunk-K5HZD63F.mjs.gz +0 -0
  78. package/dist/chunk-M6KW27TZ.mjs.br +0 -0
  79. package/dist/chunk-M6KW27TZ.mjs.gz +0 -0
  80. package/dist/chunk-NMXIX7E4.js.br +0 -0
  81. package/dist/chunk-NMXIX7E4.js.gz +0 -0
  82. package/dist/chunk-PJT2DTOS.mjs.br +0 -0
  83. package/dist/chunk-PJT2DTOS.mjs.gz +0 -0
  84. package/dist/chunk-PSJTZIIK.js.br +0 -0
  85. package/dist/chunk-PSJTZIIK.js.gz +0 -0
  86. package/dist/chunk-Y7RTQOD6.mjs.br +0 -0
  87. package/dist/chunk-Y7RTQOD6.mjs.gz +0 -0
  88. package/dist/chunk-YWAFJZ23.js.br +0 -0
  89. package/dist/chunk-YWAFJZ23.js.gz +0 -0
  90. package/dist/chunk-ZZ6IPWOP.js.br +0 -0
  91. package/dist/chunk-ZZ6IPWOP.js.gz +0 -0
  92. package/dist/chunk-ZZY24BB7.mjs.br +0 -0
  93. package/dist/chunk-ZZY24BB7.mjs.gz +0 -0
Binary file
Binary file
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkYWAFJZ23_js = require('./chunk-YWAFJZ23.js');
3
+ var chunkJJE4AACM_js = require('./chunk-JJE4AACM.js');
4
4
  var chunk4VNS5WPM_js = require('./chunk-4VNS5WPM.js');
5
5
  var mcp = require('pptx-viewer-mcp');
6
6
  var mcpSchemas = require('pptx-viewer-mcp/schemas');
@@ -19079,7 +19079,7 @@ async function buildSlideMarkdown(slides, slideIndex2, meta3, options = {}) {
19079
19079
  };
19080
19080
  let markdown;
19081
19081
  try {
19082
- const converter = new chunkYWAFJZ23_js.PptxMarkdownConverter(
19082
+ const converter = new chunkJJE4AACM_js.PptxMarkdownConverter(
19083
19083
  "",
19084
19084
  {
19085
19085
  sourceName: meta3.title ?? "deck.pptx",
@@ -19671,7 +19671,7 @@ var getTheme = (ctx) => {
19671
19671
  name: theme?.name,
19672
19672
  colorScheme: theme?.colorScheme,
19673
19673
  fontScheme: theme?.fontScheme,
19674
- availablePresets: Object.keys(chunkYWAFJZ23_js.ThemePresets)
19674
+ availablePresets: Object.keys(chunkJJE4AACM_js.ThemePresets)
19675
19675
  };
19676
19676
  };
19677
19677
  var readExecutors = {
@@ -20801,7 +20801,7 @@ function applyElementUpdate(el, u) {
20801
20801
  applyShapeStyleUpdate(el, u);
20802
20802
  }
20803
20803
  function applyTextUpdate(el, u) {
20804
- if (!chunkYWAFJZ23_js.hasTextProperties(el)) {
20804
+ if (!chunkJJE4AACM_js.hasTextProperties(el)) {
20805
20805
  return;
20806
20806
  }
20807
20807
  const textEl = el;
@@ -20847,7 +20847,7 @@ function applyShapeStyleUpdate(el, u) {
20847
20847
  if (u.fillColor === void 0 && u.strokeColor === void 0 && u.strokeWidth === void 0) {
20848
20848
  return;
20849
20849
  }
20850
- if (!chunkYWAFJZ23_js.hasShapeProperties(el)) {
20850
+ if (!chunkJJE4AACM_js.hasShapeProperties(el)) {
20851
20851
  return;
20852
20852
  }
20853
20853
  const holder = el;
Binary file
Binary file
package/dist/index.d.ts CHANGED
@@ -5803,10 +5803,17 @@ interface PptxSmartArtColorTransform extends PptxSmartArtDefinitionMetadata {
5803
5803
  * palette (see `PptxSmartArtNode.styleRole` and `applySmartArtRoleColors`)
5804
5804
  * instead of a generic cycled colour.
5805
5805
  */
5806
- roleColors?: Record<string, {
5807
- fill: string[];
5808
- line: string[];
5809
- }>;
5806
+ roleColors?: Record<string, SmartArtRoleColorList>;
5807
+ }
5808
+ /** One colour-transform `styleLbl`'s resolved colour lists. */
5809
+ interface SmartArtRoleColorList {
5810
+ fill: string[];
5811
+ line: string[];
5812
+ /**
5813
+ * `txFillClrLst`, when the label declares one (`revTx` -> `tx1`). A text
5814
+ * node's colour comes from here; see `smartart-merged-text-label`.
5815
+ */
5816
+ textFill?: string[];
5810
5817
  }
5811
5818
  /** Typed CT_StyleDefinition metadata and legacy rendering hint. */
5812
5819
  interface PptxSmartArtQuickStyle extends PptxSmartArtDefinitionMetadata {
@@ -6056,6 +6063,13 @@ interface PptxSmartArtDrawingShape extends PptxCustomPathProperties {
6056
6063
  * shape body.
6057
6064
  */
6058
6065
  text3d?: Text3DStyle;
6066
+ /**
6067
+ * The presentation style label (`presStyleLbl`: `node1`, `revTx`,
6068
+ * `sibTrans2D1`, ...) of the layout node a REGENERATED shape was laid out
6069
+ * from, when the layout engine reports it. Picks the quick-style label
6070
+ * whose 3D the shape takes; `undefined` on cached (parsed) shapes.
6071
+ */
6072
+ styleLabel?: string;
6059
6073
  }
6060
6074
  /**
6061
6075
  * Presentation layout variables from `dgm:prSet/dgm:presLayoutVars` (data model)
@@ -13514,6 +13528,8 @@ declare function presentationBaseName(sourceName: string | null | undefined, fal
13514
13528
  * bytes either way.
13515
13529
  */
13516
13530
  declare function savedPresentationFileName(sourceName: string | null | undefined, format?: SavedPresentationFormat): string;
13531
+ //#endregion
13532
+ //#region src/render/editor-keymap.d.ts
13517
13533
  /** A logical editor command produced by one key press. */
13518
13534
  type EditorKeyActionName = 'undo' | 'redo' | 'copy' | 'cut' | 'paste' | 'duplicate' | 'delete' | 'selectAll' | 'group' | 'ungroup' | 'nudge' | 'prevSlide' | 'nextSlide' | 'escape' | 'find' | 'findReplace' | 'toggleShortcuts' | 'alignLeft' | 'alignCenter' | 'alignRight' | 'alignJustify' | 'increaseFontSize' | 'decreaseFontSize' | 'copyFormat' | 'pasteFormat' | 'newSlide' | 'hyperlink' | 'clearFormatting' | 'cycleSelectionNext' | 'cycleSelectionPrev' | 'pasteSpecial';
13519
13535
  //#endregion
package/dist/index.js CHANGED
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var chunkNMXIX7E4_js = require('./chunk-NMXIX7E4.js');
4
- require('./chunk-PSJTZIIK.js');
5
- var chunkZZ6IPWOP_js = require('./chunk-ZZ6IPWOP.js');
6
- var chunk7NTNFOPT_js = require('./chunk-7NTNFOPT.js');
7
- var chunkYWAFJZ23_js = require('./chunk-YWAFJZ23.js');
3
+ var chunkICOJBMRC_js = require('./chunk-ICOJBMRC.js');
4
+ require('./chunk-WLEFW2F4.js');
5
+ var chunkVYJFYRT4_js = require('./chunk-VYJFYRT4.js');
6
+ var chunk7EP22XCS_js = require('./chunk-7EP22XCS.js');
7
+ var chunkJJE4AACM_js = require('./chunk-JJE4AACM.js');
8
8
  var chunkKPKO2ELT_js = require('./chunk-KPKO2ELT.js');
9
9
  require('./chunk-4VNS5WPM.js');
10
10
 
@@ -12,227 +12,227 @@ require('./chunk-4VNS5WPM.js');
12
12
 
13
13
  Object.defineProperty(exports, "PowerPointViewer", {
14
14
  enumerable: true,
15
- get: function () { return chunkNMXIX7E4_js.PowerPointViewer; }
15
+ get: function () { return chunkICOJBMRC_js.PowerPointViewer; }
16
16
  });
17
17
  Object.defineProperty(exports, "SlideCanvas", {
18
18
  enumerable: true,
19
- get: function () { return chunkNMXIX7E4_js.SlideCanvas; }
19
+ get: function () { return chunkICOJBMRC_js.SlideCanvas; }
20
20
  });
21
21
  Object.defineProperty(exports, "SlideTemplateGalleryDialog", {
22
22
  enumerable: true,
23
- get: function () { return chunkNMXIX7E4_js.SlideTemplateGalleryDialog; }
23
+ get: function () { return chunkICOJBMRC_js.SlideTemplateGalleryDialog; }
24
24
  });
25
25
  Object.defineProperty(exports, "SlideTemplatePreview", {
26
26
  enumerable: true,
27
- get: function () { return chunkNMXIX7E4_js.SlideTemplatePreview; }
27
+ get: function () { return chunkICOJBMRC_js.SlideTemplatePreview; }
28
28
  });
29
29
  Object.defineProperty(exports, "Toolbar", {
30
30
  enumerable: true,
31
- get: function () { return chunkNMXIX7E4_js.Toolbar; }
31
+ get: function () { return chunkICOJBMRC_js.Toolbar; }
32
32
  });
33
33
  Object.defineProperty(exports, "ViewerThemeProvider", {
34
34
  enumerable: true,
35
- get: function () { return chunkNMXIX7E4_js.ViewerThemeProvider; }
35
+ get: function () { return chunkICOJBMRC_js.ViewerThemeProvider; }
36
36
  });
37
37
  Object.defineProperty(exports, "useViewerTheme", {
38
38
  enumerable: true,
39
- get: function () { return chunkNMXIX7E4_js.useViewerTheme; }
39
+ get: function () { return chunkICOJBMRC_js.useViewerTheme; }
40
40
  });
41
41
  Object.defineProperty(exports, "renderToCanvas", {
42
42
  enumerable: true,
43
- get: function () { return chunkZZ6IPWOP_js.renderToCanvas; }
43
+ get: function () { return chunkVYJFYRT4_js.renderToCanvas; }
44
44
  });
45
45
  Object.defineProperty(exports, "useViewerBuildingBlocks", {
46
46
  enumerable: true,
47
- get: function () { return chunkZZ6IPWOP_js.useViewerBuildingBlocks; }
47
+ get: function () { return chunkVYJFYRT4_js.useViewerBuildingBlocks; }
48
48
  });
49
49
  Object.defineProperty(exports, "getAnimationInitialStyle", {
50
50
  enumerable: true,
51
- get: function () { return chunk7NTNFOPT_js.getAnimationInitialStyle; }
51
+ get: function () { return chunk7EP22XCS_js.getAnimationInitialStyle; }
52
52
  });
53
53
  Object.defineProperty(exports, "AVATAR_COLOR_SWATCHES", {
54
54
  enumerable: true,
55
- get: function () { return chunkYWAFJZ23_js.AVATAR_COLOR_SWATCHES; }
55
+ get: function () { return chunkJJE4AACM_js.AVATAR_COLOR_SWATCHES; }
56
56
  });
57
57
  Object.defineProperty(exports, "BACKSTAGE_CARD_IDS", {
58
58
  enumerable: true,
59
- get: function () { return chunkYWAFJZ23_js.BACKSTAGE_CARD_IDS; }
59
+ get: function () { return chunkJJE4AACM_js.BACKSTAGE_CARD_IDS; }
60
60
  });
61
61
  Object.defineProperty(exports, "BACKSTAGE_PAGE_IDS", {
62
62
  enumerable: true,
63
- get: function () { return chunkYWAFJZ23_js.BACKSTAGE_PAGE_IDS; }
63
+ get: function () { return chunkJJE4AACM_js.BACKSTAGE_PAGE_IDS; }
64
64
  });
65
65
  Object.defineProperty(exports, "CANVAS_CONTEXT_MENU_COMMAND_IDS", {
66
66
  enumerable: true,
67
- get: function () { return chunkYWAFJZ23_js.CANVAS_CONTEXT_MENU_COMMAND_IDS; }
67
+ get: function () { return chunkJJE4AACM_js.CANVAS_CONTEXT_MENU_COMMAND_IDS; }
68
68
  });
69
69
  Object.defineProperty(exports, "DEFAULT_VIEWER_PROFILE", {
70
70
  enumerable: true,
71
- get: function () { return chunkYWAFJZ23_js.DEFAULT_VIEWER_PROFILE; }
71
+ get: function () { return chunkJJE4AACM_js.DEFAULT_VIEWER_PROFILE; }
72
72
  });
73
73
  Object.defineProperty(exports, "EDITOR_SHORTCUT_ACTION_IDS", {
74
74
  enumerable: true,
75
- get: function () { return chunkYWAFJZ23_js.EDITOR_SHORTCUT_ACTION_IDS; }
75
+ get: function () { return chunkJJE4AACM_js.EDITOR_SHORTCUT_ACTION_IDS; }
76
76
  });
77
77
  Object.defineProperty(exports, "ELEMENT_CONTEXT_MENU_COMMAND_IDS", {
78
78
  enumerable: true,
79
- get: function () { return chunkYWAFJZ23_js.ELEMENT_CONTEXT_MENU_COMMAND_IDS; }
79
+ get: function () { return chunkJJE4AACM_js.ELEMENT_CONTEXT_MENU_COMMAND_IDS; }
80
80
  });
81
81
  Object.defineProperty(exports, "OPTIONS_PAGE_IDS", {
82
82
  enumerable: true,
83
- get: function () { return chunkYWAFJZ23_js.OPTIONS_PAGE_IDS; }
83
+ get: function () { return chunkJJE4AACM_js.OPTIONS_PAGE_IDS; }
84
84
  });
85
85
  Object.defineProperty(exports, "OPTIONS_SECTION_IDS", {
86
86
  enumerable: true,
87
- get: function () { return chunkYWAFJZ23_js.OPTIONS_SECTION_IDS; }
87
+ get: function () { return chunkJJE4AACM_js.OPTIONS_SECTION_IDS; }
88
88
  });
89
89
  Object.defineProperty(exports, "OPTIONS_SETTING_IDS", {
90
90
  enumerable: true,
91
- get: function () { return chunkYWAFJZ23_js.OPTIONS_SETTING_IDS; }
91
+ get: function () { return chunkJJE4AACM_js.OPTIONS_SETTING_IDS; }
92
92
  });
93
93
  Object.defineProperty(exports, "PPTX_OPEN_ACCEPT", {
94
94
  enumerable: true,
95
- get: function () { return chunkYWAFJZ23_js.PPTX_OPEN_ACCEPT; }
95
+ get: function () { return chunkJJE4AACM_js.PPTX_OPEN_ACCEPT; }
96
96
  });
97
97
  Object.defineProperty(exports, "PRESENTATION_OPEN_EXTENSIONS", {
98
98
  enumerable: true,
99
- get: function () { return chunkYWAFJZ23_js.PRESENTATION_OPEN_EXTENSIONS; }
99
+ get: function () { return chunkJJE4AACM_js.PRESENTATION_OPEN_EXTENSIONS; }
100
100
  });
101
101
  Object.defineProperty(exports, "RIBBON_TAB_IDS", {
102
102
  enumerable: true,
103
- get: function () { return chunkYWAFJZ23_js.RIBBON_TAB_IDS; }
103
+ get: function () { return chunkJJE4AACM_js.RIBBON_TAB_IDS; }
104
104
  });
105
105
  Object.defineProperty(exports, "SLIDE_TEMPLATES", {
106
106
  enumerable: true,
107
- get: function () { return chunkYWAFJZ23_js.SLIDE_TEMPLATES; }
107
+ get: function () { return chunkJJE4AACM_js.SLIDE_TEMPLATES; }
108
108
  });
109
109
  Object.defineProperty(exports, "THEME_CATALOG", {
110
110
  enumerable: true,
111
- get: function () { return chunkYWAFJZ23_js.THEME_CATALOG; }
111
+ get: function () { return chunkJJE4AACM_js.THEME_CATALOG; }
112
112
  });
113
113
  Object.defineProperty(exports, "TOOLBAR_BUTTON_IDS", {
114
114
  enumerable: true,
115
- get: function () { return chunkYWAFJZ23_js.TOOLBAR_BUTTON_IDS; }
115
+ get: function () { return chunkJJE4AACM_js.TOOLBAR_BUTTON_IDS; }
116
116
  });
117
117
  Object.defineProperty(exports, "VIEWER_DIALOG_IDS", {
118
118
  enumerable: true,
119
- get: function () { return chunkYWAFJZ23_js.VIEWER_DIALOG_IDS; }
119
+ get: function () { return chunkJJE4AACM_js.VIEWER_DIALOG_IDS; }
120
120
  });
121
121
  Object.defineProperty(exports, "VIEWER_EXPORT_FORMAT_IDS", {
122
122
  enumerable: true,
123
- get: function () { return chunkYWAFJZ23_js.VIEWER_EXPORT_FORMAT_IDS; }
123
+ get: function () { return chunkJJE4AACM_js.VIEWER_EXPORT_FORMAT_IDS; }
124
124
  });
125
125
  Object.defineProperty(exports, "VIEWER_FEATURE_IDS", {
126
126
  enumerable: true,
127
- get: function () { return chunkYWAFJZ23_js.VIEWER_FEATURE_IDS; }
127
+ get: function () { return chunkJJE4AACM_js.VIEWER_FEATURE_IDS; }
128
128
  });
129
129
  Object.defineProperty(exports, "VIEWER_PANEL_IDS", {
130
130
  enumerable: true,
131
- get: function () { return chunkYWAFJZ23_js.VIEWER_PANEL_IDS; }
131
+ get: function () { return chunkJJE4AACM_js.VIEWER_PANEL_IDS; }
132
132
  });
133
133
  Object.defineProperty(exports, "VIEWER_PREFS_STORAGE_KEY", {
134
134
  enumerable: true,
135
- get: function () { return chunkYWAFJZ23_js.VIEWER_PREFS_STORAGE_KEY; }
135
+ get: function () { return chunkJJE4AACM_js.VIEWER_PREFS_STORAGE_KEY; }
136
136
  });
137
137
  Object.defineProperty(exports, "buildSlideTemplateContent", {
138
138
  enumerable: true,
139
- get: function () { return chunkYWAFJZ23_js.buildSlideTemplateContent; }
139
+ get: function () { return chunkJJE4AACM_js.buildSlideTemplateContent; }
140
140
  });
141
141
  Object.defineProperty(exports, "buildSlideTemplateSlide", {
142
142
  enumerable: true,
143
- get: function () { return chunkYWAFJZ23_js.buildSlideTemplateSlide; }
143
+ get: function () { return chunkJJE4AACM_js.buildSlideTemplateSlide; }
144
144
  });
145
145
  Object.defineProperty(exports, "clearAllLocalViewerData", {
146
146
  enumerable: true,
147
- get: function () { return chunkYWAFJZ23_js.clearAllLocalViewerData; }
147
+ get: function () { return chunkJJE4AACM_js.clearAllLocalViewerData; }
148
148
  });
149
149
  Object.defineProperty(exports, "clearStoredViewerPrefs", {
150
150
  enumerable: true,
151
- get: function () { return chunkYWAFJZ23_js.clearStoredViewerPrefs; }
151
+ get: function () { return chunkJJE4AACM_js.clearStoredViewerPrefs; }
152
152
  });
153
153
  Object.defineProperty(exports, "createImageElementFromFile", {
154
154
  enumerable: true,
155
- get: function () { return chunkYWAFJZ23_js.createImageElementFromFile; }
155
+ get: function () { return chunkJJE4AACM_js.createImageElementFromFile; }
156
156
  });
157
157
  Object.defineProperty(exports, "defaultCssVars", {
158
158
  enumerable: true,
159
- get: function () { return chunkYWAFJZ23_js.defaultCssVars; }
159
+ get: function () { return chunkJJE4AACM_js.defaultCssVars; }
160
160
  });
161
161
  Object.defineProperty(exports, "defaultRadius", {
162
162
  enumerable: true,
163
- get: function () { return chunkYWAFJZ23_js.defaultRadius; }
163
+ get: function () { return chunkJJE4AACM_js.defaultRadius; }
164
164
  });
165
165
  Object.defineProperty(exports, "defaultThemeColors", {
166
166
  enumerable: true,
167
- get: function () { return chunkYWAFJZ23_js.defaultThemeColors; }
167
+ get: function () { return chunkJJE4AACM_js.defaultThemeColors; }
168
168
  });
169
169
  Object.defineProperty(exports, "describeCollaborationShellState", {
170
170
  enumerable: true,
171
- get: function () { return chunkYWAFJZ23_js.describeCollaborationShellState; }
171
+ get: function () { return chunkJJE4AACM_js.describeCollaborationShellState; }
172
172
  });
173
173
  Object.defineProperty(exports, "getLocalStorageUsageSummary", {
174
174
  enumerable: true,
175
- get: function () { return chunkYWAFJZ23_js.getLocalStorageUsageSummary; }
175
+ get: function () { return chunkJJE4AACM_js.getLocalStorageUsageSummary; }
176
176
  });
177
177
  Object.defineProperty(exports, "isLegacyBinaryPresentation", {
178
178
  enumerable: true,
179
- get: function () { return chunkYWAFJZ23_js.isLegacyBinaryPresentation; }
179
+ get: function () { return chunkJJE4AACM_js.isLegacyBinaryPresentation; }
180
180
  });
181
181
  Object.defineProperty(exports, "isSupportedPresentationFile", {
182
182
  enumerable: true,
183
- get: function () { return chunkYWAFJZ23_js.isSupportedPresentationFile; }
183
+ get: function () { return chunkJJE4AACM_js.isSupportedPresentationFile; }
184
184
  });
185
185
  Object.defineProperty(exports, "presentationBaseName", {
186
186
  enumerable: true,
187
- get: function () { return chunkYWAFJZ23_js.presentationBaseName; }
187
+ get: function () { return chunkJJE4AACM_js.presentationBaseName; }
188
188
  });
189
189
  Object.defineProperty(exports, "readStoredViewerPrefs", {
190
190
  enumerable: true,
191
- get: function () { return chunkYWAFJZ23_js.readStoredViewerPrefs; }
191
+ get: function () { return chunkJJE4AACM_js.readStoredViewerPrefs; }
192
192
  });
193
193
  Object.defineProperty(exports, "resolveProfileInitial", {
194
194
  enumerable: true,
195
- get: function () { return chunkYWAFJZ23_js.resolveProfileInitial; }
195
+ get: function () { return chunkJJE4AACM_js.resolveProfileInitial; }
196
196
  });
197
197
  Object.defineProperty(exports, "resolveThemeCatalogEntry", {
198
198
  enumerable: true,
199
- get: function () { return chunkYWAFJZ23_js.resolveThemeCatalogEntry; }
199
+ get: function () { return chunkJJE4AACM_js.resolveThemeCatalogEntry; }
200
200
  });
201
201
  Object.defineProperty(exports, "saveViewerProfile", {
202
202
  enumerable: true,
203
- get: function () { return chunkYWAFJZ23_js.saveViewerProfile; }
203
+ get: function () { return chunkJJE4AACM_js.saveViewerProfile; }
204
204
  });
205
205
  Object.defineProperty(exports, "savedPresentationFileName", {
206
206
  enumerable: true,
207
- get: function () { return chunkYWAFJZ23_js.savedPresentationFileName; }
207
+ get: function () { return chunkJJE4AACM_js.savedPresentationFileName; }
208
208
  });
209
209
  Object.defineProperty(exports, "themeToCssVars", {
210
210
  enumerable: true,
211
- get: function () { return chunkYWAFJZ23_js.themeToCssVars; }
211
+ get: function () { return chunkJJE4AACM_js.themeToCssVars; }
212
212
  });
213
213
  Object.defineProperty(exports, "vermilionDarkColors", {
214
214
  enumerable: true,
215
- get: function () { return chunkYWAFJZ23_js.vermilionDarkColors; }
215
+ get: function () { return chunkJJE4AACM_js.vermilionDarkColors; }
216
216
  });
217
217
  Object.defineProperty(exports, "vermilionDarkTheme", {
218
218
  enumerable: true,
219
- get: function () { return chunkYWAFJZ23_js.vermilionDarkTheme; }
219
+ get: function () { return chunkJJE4AACM_js.vermilionDarkTheme; }
220
220
  });
221
221
  Object.defineProperty(exports, "vermilionLightColors", {
222
222
  enumerable: true,
223
- get: function () { return chunkYWAFJZ23_js.vermilionLightColors; }
223
+ get: function () { return chunkJJE4AACM_js.vermilionLightColors; }
224
224
  });
225
225
  Object.defineProperty(exports, "vermilionLightTheme", {
226
226
  enumerable: true,
227
- get: function () { return chunkYWAFJZ23_js.vermilionLightTheme; }
227
+ get: function () { return chunkJJE4AACM_js.vermilionLightTheme; }
228
228
  });
229
229
  Object.defineProperty(exports, "vermilionRadius", {
230
230
  enumerable: true,
231
- get: function () { return chunkYWAFJZ23_js.vermilionRadius; }
231
+ get: function () { return chunkJJE4AACM_js.vermilionRadius; }
232
232
  });
233
233
  Object.defineProperty(exports, "writeStoredViewerPrefs", {
234
234
  enumerable: true,
235
- get: function () { return chunkYWAFJZ23_js.writeStoredViewerPrefs; }
235
+ get: function () { return chunkJJE4AACM_js.writeStoredViewerPrefs; }
236
236
  });
237
237
  Object.defineProperty(exports, "LOCALE_CATALOG", {
238
238
  enumerable: true,
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-K5HZD63F.mjs';
2
- import './chunk-ZZY24BB7.mjs';
3
- export { renderToCanvas, useViewerBuildingBlocks } from './chunk-M6KW27TZ.mjs';
4
- export { getAnimationInitialStyle } from './chunk-Y7RTQOD6.mjs';
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, THEME_CATALOG, 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, defaultCssVars, defaultRadius, defaultThemeColors, describeCollaborationShellState, getLocalStorageUsageSummary, isLegacyBinaryPresentation, isSupportedPresentationFile, presentationBaseName, readStoredViewerPrefs, resolveProfileInitial, resolveThemeCatalogEntry, saveViewerProfile, savedPresentationFileName, themeToCssVars, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius, writeStoredViewerPrefs } from './chunk-PJT2DTOS.mjs';
1
+ export { PowerPointViewer, SlideCanvas, SlideTemplateGalleryDialog, SlideTemplatePreview, Toolbar, ViewerThemeProvider, useViewerTheme } from './chunk-QPWNFTU5.mjs';
2
+ import './chunk-VOD4C7OS.mjs';
3
+ export { renderToCanvas, useViewerBuildingBlocks } from './chunk-22ODJ4CT.mjs';
4
+ export { getAnimationInitialStyle } from './chunk-NE4USMMB.mjs';
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, THEME_CATALOG, 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, defaultCssVars, defaultRadius, defaultThemeColors, describeCollaborationShellState, getLocalStorageUsageSummary, isLegacyBinaryPresentation, isSupportedPresentationFile, presentationBaseName, readStoredViewerPrefs, resolveProfileInitial, resolveThemeCatalogEntry, saveViewerProfile, savedPresentationFileName, themeToCssVars, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius, writeStoredViewerPrefs } from './chunk-LDRA5LJT.mjs';
6
6
  export { LOCALE_CATALOG } from './chunk-HDH4KFDK.mjs';
7
7
  import './chunk-XGB3TDIC.mjs';
package/dist/index.mjs.br CHANGED
Binary file
package/dist/index.mjs.gz CHANGED
Binary file
@@ -5782,10 +5782,17 @@ interface PptxSmartArtColorTransform extends PptxSmartArtDefinitionMetadata {
5782
5782
  * palette (see `PptxSmartArtNode.styleRole` and `applySmartArtRoleColors`)
5783
5783
  * instead of a generic cycled colour.
5784
5784
  */
5785
- roleColors?: Record<string, {
5786
- fill: string[];
5787
- line: string[];
5788
- }>;
5785
+ roleColors?: Record<string, SmartArtRoleColorList>;
5786
+ }
5787
+ /** One colour-transform `styleLbl`'s resolved colour lists. */
5788
+ interface SmartArtRoleColorList {
5789
+ fill: string[];
5790
+ line: string[];
5791
+ /**
5792
+ * `txFillClrLst`, when the label declares one (`revTx` -> `tx1`). A text
5793
+ * node's colour comes from here; see `smartart-merged-text-label`.
5794
+ */
5795
+ textFill?: string[];
5789
5796
  }
5790
5797
  /** Typed CT_StyleDefinition metadata and legacy rendering hint. */
5791
5798
  interface PptxSmartArtQuickStyle extends PptxSmartArtDefinitionMetadata {
@@ -6035,6 +6042,13 @@ interface PptxSmartArtDrawingShape extends PptxCustomPathProperties {
6035
6042
  * shape body.
6036
6043
  */
6037
6044
  text3d?: Text3DStyle;
6045
+ /**
6046
+ * The presentation style label (`presStyleLbl`: `node1`, `revTx`,
6047
+ * `sibTrans2D1`, ...) of the layout node a REGENERATED shape was laid out
6048
+ * from, when the layout engine reports it. Picks the quick-style label
6049
+ * whose 3D the shape takes; `undefined` on cached (parsed) shapes.
6050
+ */
6051
+ styleLabel?: string;
6038
6052
  }
6039
6053
  /**
6040
6054
  * Presentation layout variables from `dgm:prSet/dgm:presLayoutVars` (data model)
@@ -13675,6 +13689,8 @@ interface PresentationInkStroke {
13675
13689
  width: number;
13676
13690
  points: PresentationInkPoint[];
13677
13691
  }
13692
+ //#endregion
13693
+ //#region src/render/editor-keymap.d.ts
13678
13694
  /** A logical editor command produced by one key press. */
13679
13695
  type EditorKeyActionName = 'undo' | 'redo' | 'copy' | 'cut' | 'paste' | 'duplicate' | 'delete' | 'selectAll' | 'group' | 'ungroup' | 'nudge' | 'prevSlide' | 'nextSlide' | 'escape' | 'find' | 'findReplace' | 'toggleShortcuts' | 'alignLeft' | 'alignCenter' | 'alignRight' | 'alignJustify' | 'increaseFontSize' | 'decreaseFontSize' | 'copyFormat' | 'pasteFormat' | 'newSlide' | 'hyperlink' | 'clearFormatting' | 'cycleSelectionNext' | 'cycleSelectionPrev' | 'pasteSpecial';
13680
13696
  //#endregion
@@ -18868,8 +18884,8 @@ interface VirtualizedSlidesOptions {
18868
18884
  overscan?: number;
18869
18885
  }
18870
18886
  interface VirtualizedSlidesResult extends VirtualizedRange {
18871
- /** Ref to attach to the scroll container element. */
18872
- scrollContainerRef: React.RefObject<HTMLDivElement | null>;
18887
+ /** Callback ref for the scroll container; re-wires scroll tracking whenever it mounts. */
18888
+ scrollContainerRef: (el: HTMLDivElement | null) => void;
18873
18889
  /** Call this to scroll a specific index into view. */
18874
18890
  scrollToIndex: (index: number, behavior?: ScrollBehavior) => void;
18875
18891
  }