pptx-react-viewer 2.19.0 → 2.19.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (88) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/{AiChatPanel-FZUKTQPQ.mjs → AiChatPanel-GRAIPSG3.mjs} +3 -3
  3. package/dist/AiChatPanel-GRAIPSG3.mjs.br +0 -0
  4. package/dist/AiChatPanel-GRAIPSG3.mjs.gz +0 -0
  5. package/dist/{AiChatPanel-2GBJETOY.js → AiChatPanel-JSTZ6W7R.js} +23 -23
  6. package/dist/AiChatPanel-JSTZ6W7R.js.br +0 -0
  7. package/dist/AiChatPanel-JSTZ6W7R.js.gz +0 -0
  8. package/dist/{Model3DScene-WRRQSYAZ.mjs → Model3DScene-FXDA7OII.mjs} +1 -1
  9. package/dist/Model3DScene-FXDA7OII.mjs.br +0 -0
  10. package/dist/Model3DScene-FXDA7OII.mjs.gz +0 -0
  11. package/dist/{Model3DScene-JHTI2AQ6.js → Model3DScene-WLRZXJHN.js} +2 -2
  12. package/dist/Model3DScene-WLRZXJHN.js.br +0 -0
  13. package/dist/Model3DScene-WLRZXJHN.js.gz +0 -0
  14. package/dist/{chunk-BO373PYH.mjs → chunk-5ZQ3ZQ3M.mjs} +3 -12
  15. package/dist/chunk-5ZQ3ZQ3M.mjs.br +0 -0
  16. package/dist/chunk-5ZQ3ZQ3M.mjs.gz +0 -0
  17. package/dist/{chunk-YWJBD7KV.mjs → chunk-B55E3KXL.mjs} +7 -7
  18. package/dist/chunk-B55E3KXL.mjs.br +0 -0
  19. package/dist/chunk-B55E3KXL.mjs.gz +0 -0
  20. package/dist/{chunk-ZMEYXAC6.mjs → chunk-KQGS6A5J.mjs} +1 -1
  21. package/dist/chunk-KQGS6A5J.mjs.br +0 -0
  22. package/dist/chunk-KQGS6A5J.mjs.gz +0 -0
  23. package/dist/{chunk-IRLOXBO7.js → chunk-LMTUC7U7.js} +372 -381
  24. package/dist/chunk-LMTUC7U7.js.br +0 -0
  25. package/dist/chunk-LMTUC7U7.js.gz +0 -0
  26. package/dist/{chunk-OVPJT4EQ.js → chunk-PIJAFM4B.js} +179 -153
  27. package/dist/chunk-PIJAFM4B.js.br +0 -0
  28. package/dist/chunk-PIJAFM4B.js.gz +0 -0
  29. package/dist/{chunk-XF3EOHY2.mjs → chunk-PNR3J26S.mjs} +87 -35
  30. package/dist/chunk-PNR3J26S.mjs.br +0 -0
  31. package/dist/{chunk-XF3EOHY2.mjs.gz → chunk-PNR3J26S.mjs.gz} +0 -0
  32. package/dist/{chunk-RPJ2BIQ7.js → chunk-SCGIXXN5.js} +3 -3
  33. package/dist/chunk-SCGIXXN5.js.br +0 -0
  34. package/dist/chunk-SCGIXXN5.js.gz +0 -0
  35. package/dist/{chunk-7ARD2J6Y.js → chunk-T7BIRNE4.js} +89 -34
  36. package/dist/chunk-T7BIRNE4.js.br +0 -0
  37. package/dist/{chunk-7ARD2J6Y.js.gz → chunk-T7BIRNE4.js.gz} +0 -0
  38. package/dist/{chunk-NFFV3RDS.js → chunk-TPC65IB2.js} +1018 -1018
  39. package/dist/chunk-TPC65IB2.js.br +0 -0
  40. package/dist/chunk-TPC65IB2.js.gz +0 -0
  41. package/dist/{chunk-MWEBCWVD.mjs → chunk-WGXQXHCS.mjs} +37 -11
  42. package/dist/chunk-WGXQXHCS.mjs.br +0 -0
  43. package/dist/chunk-WGXQXHCS.mjs.gz +0 -0
  44. package/dist/index.js +45 -45
  45. package/dist/index.js.br +0 -0
  46. package/dist/index.js.gz +0 -0
  47. package/dist/index.mjs +5 -5
  48. package/dist/index.mjs.br +0 -0
  49. package/dist/index.mjs.gz +0 -0
  50. package/dist/internals.js +78 -78
  51. package/dist/internals.js.br +0 -0
  52. package/dist/internals.js.gz +0 -0
  53. package/dist/internals.mjs +3 -3
  54. package/dist/internals.mjs.br +0 -0
  55. package/dist/internals.mjs.gz +0 -0
  56. package/dist/viewer/index.js +26 -26
  57. package/dist/viewer/index.js.br +0 -0
  58. package/dist/viewer/index.js.gz +0 -0
  59. package/dist/viewer/index.mjs +5 -5
  60. package/dist/viewer/index.mjs.br +0 -0
  61. package/dist/viewer/index.mjs.gz +0 -0
  62. package/package.json +1 -1
  63. package/dist/AiChatPanel-2GBJETOY.js.br +0 -0
  64. package/dist/AiChatPanel-2GBJETOY.js.gz +0 -0
  65. package/dist/AiChatPanel-FZUKTQPQ.mjs.br +0 -0
  66. package/dist/AiChatPanel-FZUKTQPQ.mjs.gz +0 -0
  67. package/dist/Model3DScene-JHTI2AQ6.js.br +0 -0
  68. package/dist/Model3DScene-JHTI2AQ6.js.gz +0 -0
  69. package/dist/Model3DScene-WRRQSYAZ.mjs.br +0 -0
  70. package/dist/Model3DScene-WRRQSYAZ.mjs.gz +0 -0
  71. package/dist/chunk-7ARD2J6Y.js.br +0 -0
  72. package/dist/chunk-BO373PYH.mjs.br +0 -0
  73. package/dist/chunk-BO373PYH.mjs.gz +0 -0
  74. package/dist/chunk-IRLOXBO7.js.br +0 -0
  75. package/dist/chunk-IRLOXBO7.js.gz +0 -0
  76. package/dist/chunk-MWEBCWVD.mjs.br +0 -0
  77. package/dist/chunk-MWEBCWVD.mjs.gz +0 -0
  78. package/dist/chunk-NFFV3RDS.js.br +0 -0
  79. package/dist/chunk-NFFV3RDS.js.gz +0 -0
  80. package/dist/chunk-OVPJT4EQ.js.br +0 -0
  81. package/dist/chunk-OVPJT4EQ.js.gz +0 -0
  82. package/dist/chunk-RPJ2BIQ7.js.br +0 -0
  83. package/dist/chunk-RPJ2BIQ7.js.gz +0 -0
  84. package/dist/chunk-XF3EOHY2.mjs.br +0 -0
  85. package/dist/chunk-YWJBD7KV.mjs.br +0 -0
  86. package/dist/chunk-YWJBD7KV.mjs.gz +0 -0
  87. package/dist/chunk-ZMEYXAC6.mjs.br +0 -0
  88. package/dist/chunk-ZMEYXAC6.mjs.gz +0 -0
Binary file
Binary file
@@ -108021,6 +108021,27 @@ function tableCellCss(tableData, cell, position2, context, base) {
108021
108021
  }
108022
108022
  return css;
108023
108023
  }
108024
+ function withCellText(cell, text2) {
108025
+ const next = { ...cell, text: text2 };
108026
+ delete next.textRuns;
108027
+ return next;
108028
+ }
108029
+ function setCellText(element, rowIndex, colIndex, text2) {
108030
+ const tableData = element.tableData;
108031
+ if (!tableData) {
108032
+ return element;
108033
+ }
108034
+ const rows = tableData.rows.map((row, ri) => {
108035
+ if (ri !== rowIndex) {
108036
+ return row;
108037
+ }
108038
+ return {
108039
+ ...row,
108040
+ cells: row.cells.map((cell, ci) => ci === colIndex ? withCellText(cell, text2) : cell)
108041
+ };
108042
+ });
108043
+ return { ...element, tableData: { ...tableData, rows } };
108044
+ }
108024
108045
  function computeBoundingRect(cells) {
108025
108046
  if (cells.length === 0) {
108026
108047
  return void 0;
@@ -108153,8 +108174,7 @@ function mergeCells(cells, tableData) {
108153
108174
  }
108154
108175
  if (ri === rect2.startRow && ci === rect2.startCol) {
108155
108176
  return {
108156
- ...cell,
108157
- text: combinedText,
108177
+ ...withCellText(cell, combinedText),
108158
108178
  gridSpan: colCount > 1 ? colCount : void 0,
108159
108179
  rowSpan: rowCount > 1 ? rowCount : void 0,
108160
108180
  hMerge: void 0,
@@ -108163,8 +108183,7 @@ function mergeCells(cells, tableData) {
108163
108183
  }
108164
108184
  if (ri === rect2.startRow) {
108165
108185
  return {
108166
- ...cell,
108167
- text: "",
108186
+ ...withCellText(cell, ""),
108168
108187
  hMerge: true,
108169
108188
  vMerge: void 0,
108170
108189
  gridSpan: void 0,
@@ -108173,8 +108192,7 @@ function mergeCells(cells, tableData) {
108173
108192
  }
108174
108193
  if (ci === rect2.startCol) {
108175
108194
  return {
108176
- ...cell,
108177
- text: "",
108195
+ ...withCellText(cell, ""),
108178
108196
  vMerge: true,
108179
108197
  hMerge: void 0,
108180
108198
  gridSpan: void 0,
@@ -108182,8 +108200,7 @@ function mergeCells(cells, tableData) {
108182
108200
  };
108183
108201
  }
108184
108202
  return {
108185
- ...cell,
108186
- text: "",
108203
+ ...withCellText(cell, ""),
108187
108204
  hMerge: true,
108188
108205
  vMerge: true,
108189
108206
  gridSpan: void 0,
@@ -108461,22 +108478,6 @@ function deleteTableColumn(tableData, colIdx) {
108461
108478
  const newWidths = normalizeWidths(tableData.columnWidths.filter((_, i) => i !== colIdx));
108462
108479
  return { ...tableData, rows: newRows, columnWidths: newWidths };
108463
108480
  }
108464
- function setCellText(element, rowIndex, colIndex, text2) {
108465
- const tableData = element.tableData;
108466
- if (!tableData) {
108467
- return element;
108468
- }
108469
- const rows = tableData.rows.map((row, ri) => {
108470
- if (ri !== rowIndex) {
108471
- return row;
108472
- }
108473
- return {
108474
- ...row,
108475
- cells: row.cells.map((cell, ci) => ci === colIndex ? { ...cell, text: text2 } : cell)
108476
- };
108477
- });
108478
- return { ...element, tableData: { ...tableData, rows } };
108479
- }
108480
108481
  function buildTableDataGrid(element) {
108481
108482
  const tableData = element.tableData;
108482
108483
  const sourceRows = tableData?.rows ?? [];
@@ -115818,6 +115819,22 @@ function hollowTextFillStyle(s, painted = {}) {
115818
115819
  }
115819
115820
  return hollow;
115820
115821
  }
115822
+ function nestedTextDecorationStyle(style) {
115823
+ const nested = {};
115824
+ for (const key2 of [
115825
+ "textDecoration",
115826
+ "textDecorationLine",
115827
+ "textDecorationColor",
115828
+ "textDecorationStyle",
115829
+ "textDecorationThickness"
115830
+ ]) {
115831
+ const value = style[key2];
115832
+ if (value !== void 0) {
115833
+ nested[key2] = value;
115834
+ }
115835
+ }
115836
+ return Object.keys(nested).length > 0 ? nested : void 0;
115837
+ }
115821
115838
  function segmentStyleToCss(seg, fontScale = 1, context = {}) {
115822
115839
  const s = seg.style ?? {};
115823
115840
  const style = {};
@@ -116330,16 +116347,51 @@ function correspondingChildren(a, b) {
116330
116347
  }
116331
116348
  return paired;
116332
116349
  }
116350
+ function expandUnpairedWrappers(children7, counterpart) {
116351
+ let expanded = false;
116352
+ const out = [];
116353
+ for (const child23 of children7) {
116354
+ const nested = groupChildren(child23);
116355
+ if (nested && !correspondingGroup(child23, counterpart)) {
116356
+ expanded = true;
116357
+ for (const leaf of expandUnpairedWrappers(nested, counterpart) ?? nested) {
116358
+ out.push(toAbsolute(leaf, child23.x, child23.y));
116359
+ }
116360
+ continue;
116361
+ }
116362
+ out.push(child23);
116363
+ }
116364
+ return expanded ? out : void 0;
116365
+ }
116366
+ function correspondingCast(children7, twinChildren) {
116367
+ const direct = correspondingChildren(children7, twinChildren);
116368
+ if (direct) {
116369
+ return { from: [...children7], to: [...twinChildren], paired: direct };
116370
+ }
116371
+ const expandedFrom = expandUnpairedWrappers(children7, twinChildren);
116372
+ const expandedTo = expandUnpairedWrappers(twinChildren, children7);
116373
+ if (!expandedFrom && !expandedTo) {
116374
+ return void 0;
116375
+ }
116376
+ const from = expandedFrom ?? [...children7];
116377
+ const to = expandedTo ?? [...twinChildren];
116378
+ const paired = correspondingChildren(from, to);
116379
+ return paired ? { from, to, paired } : void 0;
116380
+ }
116333
116381
  function flattenMorphElements(elements, counterpart, offsetX = 0, offsetY = 0) {
116382
+ return flattenMorphLevel(elements, counterpart, offsetX, offsetY, true);
116383
+ }
116384
+ function flattenMorphLevel(elements, counterpart, offsetX, offsetY, topLevel) {
116334
116385
  const out = [];
116335
116386
  for (const element of elements) {
116336
116387
  const children7 = groupChildren(element);
116337
- if (children7 && containsMorphNamedDescendant(element)) {
116388
+ if (children7 && (!topLevel || containsMorphNamedDescendant(element))) {
116338
116389
  const twin = correspondingGroup(element, counterpart);
116339
116390
  const twinChildren = twin ? groupChildren(twin) ?? [] : void 0;
116340
- if (twinChildren && correspondingChildren(children7, twinChildren)) {
116391
+ const cast = twinChildren ? correspondingCast(children7, twinChildren) : void 0;
116392
+ if (cast) {
116341
116393
  out.push(
116342
- ...flattenMorphElements(children7, twinChildren, offsetX + element.x, offsetY + element.y)
116394
+ ...flattenMorphLevel(cast.from, cast.to, offsetX + element.x, offsetY + element.y, false)
116343
116395
  );
116344
116396
  continue;
116345
116397
  }
@@ -116350,25 +116402,25 @@ function flattenMorphElements(elements, counterpart, offsetX = 0, offsetY = 0) {
116350
116402
  }
116351
116403
  function morphGroupChildPairs(elements, counterpart) {
116352
116404
  const pairs2 = /* @__PURE__ */ new Map();
116353
- collectGroupChildPairs(elements, counterpart, pairs2);
116405
+ collectGroupChildPairs(elements, counterpart, pairs2, true);
116354
116406
  return pairs2;
116355
116407
  }
116356
- function collectGroupChildPairs(elements, counterpart, into) {
116408
+ function collectGroupChildPairs(elements, counterpart, into, topLevel) {
116357
116409
  for (const element of elements) {
116358
116410
  const children7 = groupChildren(element);
116359
- if (!children7 || !containsMorphNamedDescendant(element)) {
116411
+ if (!children7 || topLevel && !containsMorphNamedDescendant(element)) {
116360
116412
  continue;
116361
116413
  }
116362
116414
  const twin = correspondingGroup(element, counterpart);
116363
116415
  const twinChildren = twin ? groupChildren(twin) ?? [] : void 0;
116364
- const corresponded = twinChildren ? correspondingChildren(children7, twinChildren) : void 0;
116365
- if (!corresponded) {
116416
+ const cast = twinChildren ? correspondingCast(children7, twinChildren) : void 0;
116417
+ if (!cast) {
116366
116418
  continue;
116367
116419
  }
116368
- for (const [child23, twinChild] of corresponded) {
116420
+ for (const [child23, twinChild] of cast.paired) {
116369
116421
  into.set(child23.id, twinChild.id);
116370
116422
  }
116371
- collectGroupChildPairs(children7, twinChildren ?? [], into);
116423
+ collectGroupChildPairs(cast.from, cast.to, into, false);
116372
116424
  }
116373
116425
  }
116374
116426
  var OUTLINE_SAMPLE_COUNT = 64;
@@ -134027,4 +134079,4 @@ function segmentFrameCount(durationMs, fps) {
134027
134079
  * `<p:extLst>` (optional)
134028
134080
  */
134029
134081
 
134030
- export { ACTION_BUTTON_PRESETS, ACTION_INDICATOR_CLASS, ACTION_INDICATOR_ICON_PATH, ARTISTIC_EFFECTS, AVATAR_COLOR_SWATCHES, BACKSTAGE_NAV, BACKSTAGE_TEMPLATES, BEVEL_PRESETS, BROADCAST_THROTTLE_MS, CATEGORIES, CHARACTER_SPACING_OPTIONS, COLOR_MAP_ALIAS_KEYS, COMMENT_MENTION_ATTRIBUTE, COMMENT_MENTION_CLASS, COMMON_FONTS, CONNECTION_TIMEOUT_MS, CONNECTOR_SITE_SNAP_PX, CUSTOM_FONT_ACCEPT, DEBOUNCE_MS, DEFAULT_BROADCAST_SERVER_URL, DEFAULT_COLOR_CHANGE_TOLERANCE, DEFAULT_COLOR_MAP, DEFAULT_FONT_FAMILY, DEFAULT_INSERT_CHART_KIND, DEFAULT_MOTION_PATH_PRESET_ID, DEFAULT_PALETTE2, DEFAULT_QUICK_ACCESS_COMMAND_IDS, DEFAULT_ROW_HEIGHT, DEFAULT_VIEWER_OPTIONS, DEFAULT_VIEWER_PROFILE, DEFAULT_VIRTUAL_OVERSCAN, DIRECTIONAL_PRESETS, DUOTONE_PRESETS, ELEMENT_ACTION_TYPE_OPTIONS, EMPHASIS_PRESET_VALUES, ENTRANCE_PRESET_VALUES, EQUATION_TEMPLATES, EXIT_PRESET_VALUES, EXPANDED_MAX_HEIGHT, EXPORT_ASSEMBLING_PERCENT, EXPORT_DONE_PERCENT, EncryptedFileError, FILL_MODE_OPTIONS, FILL_PATTERN_LABEL_KEYS, GRADIENT_TYPE_OPTIONS, HANDOUT_OPTIONS, HIDDEN_SLIDE_LABEL_KEY, HIDDEN_SLIDE_SLASH_GRADIENT, HIGHLIGHTER_COLORS, INDENT_PX, INK_REPLAY_KEYFRAMES, INSERT_CHART_TYPES, LBL, LINK_TOOLTIP_CLASS, LINK_TOOLTIP_HINT_CLASS, LINK_TOOLTIP_HOST_CLASS, LINK_TOOLTIP_LABEL_CLASS, LINK_TOOLTIP_PANEL_CLASS, LOCAL_SYNC_ORIGIN, MATERIAL_PRESETS, MAX_INDENT_LEVEL, MAX_ZOOM_SCALE, MEDIA_CHROME_ATTRIBUTE, MIN_ZOOM_SCALE, MOBILE_BREAKPOINT, MOTION_PATH_FAMILIES, NOTES_FONT_SIZE_DEFAULT, NOTES_FONT_SIZE_MAX, NOTES_FONT_SIZE_MIN, NOTES_FONT_SIZE_STEP, NUM, OUTLINE_LEVEL_ATTR, OUTLINE_ROW_ATTR, OUTLINE_SLIDE_ATTR, OUTLINE_VIEW_ATTR, PATTERN_OPTIONS, PEN_COLORS, PPTX_OPEN_ACCEPT, PRESENTATION_CHANNEL_NAME, PRESENTATION_HASH, PRESENTATION_HIT_TEST_CSS, PRESENTATION_MESSAGE_ORIGIN, PRESENTATION_NONCE_KEY, PRESENTATION_OPEN_EXTENSIONS, PRESENTATION_STAGE_ATTRIBUTE, PRESENTER_CONSOLE_CLASSES, PRESENTER_CONSOLE_CONTROLS, PRESENTER_NAVIGATOR_LABEL_KEYS, PRESENT_TOOLBAR_CLASSES, PRESETS, PRESET_THEMES, PptxHandler, PptxMarkdownConverter, PresentationAnimationController, QUICK_ACCESS_COMMAND_CATALOG, READING_VIEW_ATTR, READING_VIEW_COUNTER_ATTR, READING_VIEW_STAGE_ATTR, RIBBON_SHAPE_SWATCHES, RIBBON_TRANSITION_PRESETS, RULER_FONT_SIZE, RULER_THICKNESS, SECTION_HEADING, SEL, SHAPE_PRESET_DEFS, SHAPE_QUICK_STYLES, SHORTCUT_REFERENCE_ITEMS, SLIDE_SHOW_OPTIONS, SLIDE_SIZE_PRESETS, SLIDE_TEMPLATES, SLIDE_TRANSITION_KEYFRAMES, SLIDE_TRANSITION_OPTIONS, SLIDE_VIRTUALIZATION_THRESHOLD, SMARTART_COLOR_SCHEME_LABEL_KEYS, SMARTART_STYLE_LABEL_KEYS, SORTER_MAX_ZOOM, SORTER_MIN_ZOOM, SORTER_ZOOM_STEP, STATUS_BAR_CLASSES, SWITCHABLE_LAYOUT_TYPES, SvgExporter, TABLET_BREAKPOINT, TABLE_STYLE_PRESETS, TAB_ROW_ACTION_CLASSES, TEXT_BUILD_ID_SEP, TEXT_WARP_PRESETS, THEME_CATALOG, THEME_COLOR_SCHEME_KEYS, THEME_COLOR_SLOT_LABEL_KEYS, THEME_PRESETS, TITLE_BAR_CLASSES, TITLE_BAR_DEFAULT_FILE_KEY, TOOLBAR_TABS, TRANSITION_DIR_ARROWS, TRANSITION_ORIENTATION_TYPES, TRANSITION_VALID_DIRECTIONS, ThemePresets, VIEWER_OPTIONS_TABS, VIEWER_PREFS_STORAGE_KEY, VIEWER_SHORTCUT_REFERENCE, WEBM_MIME_CANDIDATES, acceptAutosaveRecovery, acceptsPresentationInput, actionAffordanceLabels, activateModalFocus, addChartCategory, addChartSeries, addQuickAccessCommand, addSection, addSmartArtNode, addSmartArtNodeAsChild, addTagToCollections, alignElements, animationEffectLabel, annotationOverlayZIndex, appendPresentationInkPoint, appendTableElementColumn, appendTableElementRow, apply3dEffects, applyAcceptAllSlides, applyAcceptSlide, applyCaseTransformToSegments, applyChartBuildReveal, applyColorChange, applyDuotone, applyFindReplacements, applyFormatToElement, applyMotionPathPreset, applyOutlineEdit, applyPreferenceToOptions, applyReadingViewCommand, applyRehearsalTimings, applyReroutedConnectors, applyResize, applyStyleToSelectedSegments, applyThemeOverrideToSlide, applyThemeToData, attachPresentationVisibilityPause, authorConnectorBetweenSites, autosaveSnapshotMark, availableQuickAccessCommands, backstageCardsFor, beginShapeAdjustment, bringForward, bringToFront, build3DExtrusionData, buildBroadcastViewerUrl, buildCacheKey, buildCalloutLeaderLineSvgPath, buildChartViewModel, buildCollaborationShareUrl, buildContextMenuEntries, buildCreateCollaborationConfig, buildCssGradientFromShapeStyle, buildDirectionGrid, buildDuotoneCacheKey, buildElementClipboardPayload, buildFieldSubstitutionContext, buildFontCatalog, buildHandoutsHtml, buildHollowHitOutline, buildInitialGuides, buildJoinCollaborationConfig, buildLayoutPreviewGeometry, buildMorphAnimationRules, buildMorphTransitionPlan, buildMotionPathPreview, buildNotesHtml, buildNotesPdfBytes, buildOutline, buildOutlineHtml, buildParagraphs, buildPresentationAudienceUrl, buildPreviewAnimation, buildPreviewElements, buildPrintDocument, buildPrintHtmlDocument, buildSaveSlides, buildSlideTemplateContent, buildSlideTemplateSlide, buildSlidesHtml, buildSlidesPdfBytes, buildSmartArt3DModel, buildSmartArtA11y, buildSmartArtPresetData, buildStrokeOutline, buildSummaryZoomView, buildSvgGradientDef, buildTableDataGrid, buildTextBlockStyle, buildTextBody3DSceneStyle, buildTextBodyLayoutStyle, buildTextBuildSpec, buildThemeColorGrid, buildThemeColorMap, buildUserFontFaceStyles, canCommitActionType, canGoNext, canGoPrevious, canInteractWithElement, canvasToJpegData, cellRunStyle, cellStyleToCss, centeredSvgTextLines, chartDataChangeType, chartPartToAttrs, chartPreserveAspectRatio, clampCropValue, clampNotesFontSize, clampPercent, clampSorterZoom, clampTransitionNumber, clampUnitInterval2 as clampUnitInterval, clampZoomScale, clearAllLocalViewerData, clearAudienceContent, clearLocalAwareness, clearMotionPath, clearStoredViewerPrefs, cloneElementForPaste, cloneHistorySnapshot, cloneSlide, cloneTemplateElementsBySlideId, collectConnectorSiteCandidates, collectImagePaths, collectMediaElements, collectUsedFonts, colorWithOpacity, commentTextSegments, comparePresentation, compileEquationTemplateMathMl, compileLatexEquation, computeAllNotesPages, computeColumnBoundaries, computeDrawingViewBox, computeEntranceAnimationDelay, computeHandoutLayout, computeInlineEditorRect, computeKeyboardInset, computeMarqueeHitIds, computeMergeCellDown, computeMergeCellRight, computeResizedColumnWidths, computeResizedRowHeight, computeScrollDelta, computeSelectionRect, computeSmartArtLayout2 as computeSmartArtLayout, computeSnapToShape, computeSplitCell, computeVirtualRange, convertLatexToOmml, convertOmmlToLatex, convertOmmlToMathMl, copyFormatFromElement, createBackstagePresentation, createBlankSlide, createCollaborationLivePatcher, createDefaultChartElement, createDepartureChannel, createInitialPresentationSnapshot, createPlainNotesSegments, createPresenceProjector, createPresentationKeyBuffer, createPresentationSessionId, createPresenterShowGuard, createPresenterTimer, createSyncGate, createTouchGestureRecognizer, createViewerOptionsStore, createViewerZoomStore, createWheelStepBuffer, customGeometryPathsToSvgSubpaths, defaultCssVars, defaultRadius, defaultThemeColors, deleteAutosaveSnapshot, deleteSection, deleteTableColumn, deleteTableRow, deleteTagFromCollections, demoteSmartArtNode, deriveSlideFieldContext, describeFontEmbedding, detectOrientation, detectTouchDevice, discardAutosaveRecovery, distributeElements, downloadBlob, downloadDataUrl, dragAnchorViewY, dragValueForPart, elementActionToPptxAction, elementLockTogglePatch, embeddedFontSaveOptions, encodeGif, endAudienceDisplay, ensureActionAffordanceStyles, ensureChartInteractionStyles, erasePresentationInkAt, escapeHtml22 as escapeHtml2, exportDeckJson, extraQuickAccessCommands, extractPathPoints, filterCommands, filterInteractableIds, filterRenderedElements, findChartPartTarget, findConnectorSiteNear, findInSlides, findMediaElementByElementId, findSmartArtNodeText, firstShowSlideIndex, flattenNodes, flattenTagCollections, forgetSessionDeck, formatAxisValue, formatBackstageDate, formatBackstageSize, formatBytes, formatCommentTimestamp, formatElapsed, formatMobileElapsed, formatRelativeTime, formatSlideCounter, formatTime, formatVersionTimestamp, fpsToFrameIntervalMs, generateBroadcastRoomId, generateElementId, generateNoteLineCount, generatePackageReadme, generatePressureCircles, generateTicks, getAnimationInitialStyle, getAriaLabel, getAriaRole, getAriaRoleDescription, getCachedResult, getCalloutLeaderLineGeometry, getCalloutViewBoxBounds, getCellDiagonalBorders, getChartStylePalette, getCommentMarkerPosition, getCompoundLineOffsets, getCompoundLineWidths, getComputedEffectStyle, getComputedFillStyle, getComputedStrokeStyle, getConnectorEndpointHandles, getContentPartReplayStyles, getCurrentParagraphIndex, getDraggedShapeAdjustments, getDuotoneCachedResult, getElementLabel, getElementTransform, getElementTransformWithoutRotation, getGroupChildParentFill, getImageColorWashStyle, getImageEffectsFilter, getImageEffectsOpacity, getImageFitStyle, getImageSvgFilters, getImageTilingStyle, getInkReplayStyles, getInlineEditorSelection, getLocalStorageUsageSummary, getNotesPrintableArea, getOleBadgeLabel, getOleObjectTypeLabel, getOleTypeColor, getOleTypeLabel, getOverflowSegments, getPatternSvg, getPendingSelectionRestore, getPresetShapeClipPath, getPrintableArea, getResolvedShapeClipPath, getRoundRectRadiusPx2, getSessionTabId, getShapeAdjustmentHandleDescriptors, getShapeConnectionSites, getSlideBackgroundStyle, getSlideTransitionAnimations, getSoftEdgeSvgFilter, getSubstituteFontFamily, getSvgStrokeDasharray, getTableCellBandStyle, getTextBodyRotationTransform, getTextCompensationTransform, getWarpPath, groupElements, groupIntoParagraphs, groupSlidesBySection, guidePxToEmu, handleReadingViewKey, hasCopyableFormat, hasDistinctScriptFonts, hasPressureVariation, hasShapeProperties, hasShowSlideAfter, hasTextProperties, hexToRgbChannels2 as hexToRgbChannels, hiddenSlideCue, inlineElementPointerEvents, insertTableColumn, insertTableRow, isActionHidden, isBlackboardActive, isBrowserOpenableMime, isCalloutShape, isCellInRect, isCurrentLayout, isEditableMotionPath, isEditableTextElement, isEditorTextInputTarget, isElementActionable, isElementLocked, isElementRendered, isExportAbortError, isHollowShapeElement, isImageLikeElement, isImageTiled, isInkElement, isKeyboardOpen, isLegacyBinaryPresentation, isLinkedTextBox, isMixedContentBlocked, isMobileViewport, isPpactionUrl, isPresentationAdvanceClick, isPresentationSessionMessage, isStrokeOnlyPresetElement, isSupportedPresentationFile, isTemplateElementId3 as isTemplateElementId, isUrlSafe, lastShowSlideIndex, listAutosaveSnapshots, listBackstageRecentFiles, loadAudienceContent, loadSessionDeck, makeCloneId, makeSlideId, mapEditingWheel, mapEditorKey, mapOutlineKey, mapPresentationKey, mapPresentationWheel, mapSlideSorterKey, masterViewBackgroundColor, masterViewElements, masterViewPseudoSlide, mayLeaveSlideShow, mediaFallbackIcon, mediaFallbackLabelKey, mediaFallbackVisual, mediaPlaybackAttributes, mediaTransportVisible, mergeAdditiveSelection, mergeCells, mergePresentationSnapshot, mergeShapes, mergeSlideTransition, mobileElapsedSince, mobileSlideCounter, morphOptionToMode, motionPathEndPixel, motionPathFamilyLabelKey, motionPathFor, motionPathPresetIdForPath, motionPathPresetLabelKey, motionPathPresetsByFamily, motionPathToSvgD, mountModel3D, movePresenterPointer, moveQuickAccessCommand, moveSectionDown, moveSectionUp, moveSlidesToSection, newTableElement, nextPresentedSlide, nextShowSlideIndex, normalizeColorsForCapture, normalizeHexColor, normalizeSegments, normalizeStrokeDashType, notesSegmentsToSpans, observeYDocSlides, ooxmlGradientAngleToCssDegrees, openNativeEyeDropper, openPptxFile, openReadingView, openUrlInNewTab, paintedStrokeWidth, paragraphsToSegments, parseDrawingColor, parseDrawingColorOpacity, parsePanoseString, parsePpactionUrl, parseSegmentsFromRichEditor, partitionTemplateElements, pickSupportedMimeType, pieceLetterSpacing, placeAudienceWindow, placeCaretAtEnd, playSlideTransitionPreview, polygonsToSvgPath, pptxActionToElementAction, preprocessCssForCapture, presentationBaseName, presentationInkPath, presenterElapsed, presenterNextDisabled, presenterPaneAdvancesOnClick, presenterPrevDisabled, presenterTimerProgress, pressuresToWidths, previousShowSlideIndex, printPropertiesFrameSlides, printPropertiesSlidesPerPage, probeAutosaveRecovery, projectDrawingShapes, promoteSmartArtNode, publishLiveGeometry, publishLiveInlineText, quickStyleSwatchCss, reResolveSlideColors, readBackstageRecentFile, readRibbonTransitionDraft, readSlideShowOption, readSlidesFromYDoc, readStoredViewerPrefs, readViewportMetrics, readingViewFitScale, rebuildDrawingShapesIfCleared, rebuildTableStructureInRawXml, reconcileSlidesInYDoc, recordProgressPercent, rectToCells, registerCollaborationTeardown, registerCustomFont, registerPersistentAudio, remapTextToSegments, rememberSessionDeck, removeChartCategory, removeChartSeries, removeLastTableElementColumn, removeLastTableElementRow, removeQuickAccessCommand, removeSmartArtNode, removeTableElementColumn, removeTableElementRow, renameSection, reorderSmartArtNode, replaceMasterViewElements, rerouteConnectorsForMovedElements, resetPresenterTimer, resetSlideLayoutPath, resolveActionType, resolveAudienceScreenPlacement, resolveAuthoredCustomShowId, resolveAutoAdvanceDelayMs, resolveAutoFitFontScale, resolveAutosaveActivation, resolveAutosaveIntervalMs, resolveAutosaveIntervalSeconds, resolveChartKind, resolveConnectorEndpointUpdate, resolveDefaultFontFamily, resolveDrawingShapeNodeId, resolveElementActionAffordance, resolveElementInteractivity, resolveFontForScript, resolveGroupChildFill, resolveInkColor, resolveInkOpacity, resolveInkWidth, resolveMetricTrackingPx, resolveOleType, resolvePalette, resolveProfileInitial, resolveSelectionPaneRename, resolveShapeGeometry, resolveShowSlideIndexes, resolveSlideSizeSelection, resolveThemeCatalogEntry, resolveTitleBarStatusKey, resolveTransitionDurationMs, resolveTransportForServerUrl, resolveViewerAddinRows, restoreSegmentSelection, restoreSessionDeck, revealedSmartArtNodeCount, ribbonTransitionUpdates, rulerDragToGuidePosition, runMediaCommand, runPresentationAction, safeOpenUrl, sanitizeColor, sanitizeDownloadFilename, sanitizeGradientStops, sanitizeMathMl, saveAutosaveSnapshot, saveDeckWithPassword, saveViewerProfile, savedPresentationFileName, scanAvailableFontFamilies, schemaLabel, scopeLayoutOptionsToSlide, segmentByScript, segmentFrameCount, segmentsToEditorHtml, segmentsToParagraphs, segmentsToPlainText, sendBackward, sendToBack, setCachedResult, setChartAxisGridlineStyle, setChartAxisLogScale, setChartAxisTitleStyle, setChartCategoryLabel, setChartCellValue, setChartDataPointExplosion, setChartDataPointFill, setChartDataPointLabel, setChartDataPointMarker, setChartSeriesChartType, setChartSeriesMarker, setDuotoneCachedResult, setMasterViewBackgroundColor, setMotionPath, setMotionPathEnd, setPendingSelectionRestore, setSmartArtNodeStyle, setTableElementCellText, shapeFillChange, shapeOutlineChange, shouldAutoFollowBroadcaster, shouldCommitSmartArtNodeText, shouldConfirmExternalHyperlink, shouldLoopContinuously, shouldProbeAutosaveRecovery, shouldShowAutosaveRecoveryPrompt, shouldUseSvgWarp, shouldWriteAutosaveSnapshot, slideProgressPercent, slideShowOptionChange, slideSizeFromPreset, slideSizeToCanvasPx, slideStatusLabel, snapBoxToGrid, splitCell, splitRunForMetrics, stepPresenterZoom, stopAllPersistentAudio, storeAudienceContent, strokeOutlineViewBox, styleShadowFilter, substituteFieldText, svgGradientFillRef, svgLineCap, svgPathToPolygons, swapPresentationWindows, switchSmartArtLayout, tableCellCss, tableContainerCss, templateSchemeFromTheme, text3dEmuToPt, text3dPtToEmu, textBuildSpanStyle, themeColorLabel, themeColorSchemesEqual, themeToCssVars, toCssTextOrientation, toCssVerticalDirection, toCssWritingMode, toSlideIndex, toggleBlackboard, togglePresenterTimer, toggleText3dExtrusion, transformTextCase, ungroupElements, updateCellTextInRawXml, updateCellTextStyleInRawXml, updateMasterViewElement, updateMergeAttrsInRawXml, updateSmartArtNodeText, updateTagInCollections, validateRoomId, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius, viewerOptionsToPreferences, warpPreviewPath, withChartPointValue, withChartTitle, withConnectorEndpointUpdate, withFrameSlides, withSlideSizeOrientation, withSlidesPerPage, writeStoredViewerPrefs };
134082
+ export { ACTION_BUTTON_PRESETS, ACTION_INDICATOR_CLASS, ACTION_INDICATOR_ICON_PATH, ARTISTIC_EFFECTS, AVATAR_COLOR_SWATCHES, BACKSTAGE_NAV, BACKSTAGE_TEMPLATES, BEVEL_PRESETS, BROADCAST_THROTTLE_MS, CATEGORIES, CHARACTER_SPACING_OPTIONS, COLOR_MAP_ALIAS_KEYS, COMMENT_MENTION_ATTRIBUTE, COMMENT_MENTION_CLASS, COMMON_FONTS, CONNECTION_TIMEOUT_MS, CONNECTOR_SITE_SNAP_PX, CUSTOM_FONT_ACCEPT, DEBOUNCE_MS, DEFAULT_BROADCAST_SERVER_URL, DEFAULT_COLOR_CHANGE_TOLERANCE, DEFAULT_COLOR_MAP, DEFAULT_FONT_FAMILY, DEFAULT_INSERT_CHART_KIND, DEFAULT_MOTION_PATH_PRESET_ID, DEFAULT_PALETTE2, DEFAULT_QUICK_ACCESS_COMMAND_IDS, DEFAULT_ROW_HEIGHT, DEFAULT_VIEWER_OPTIONS, DEFAULT_VIEWER_PROFILE, DEFAULT_VIRTUAL_OVERSCAN, DIRECTIONAL_PRESETS, DUOTONE_PRESETS, ELEMENT_ACTION_TYPE_OPTIONS, EMPHASIS_PRESET_VALUES, ENTRANCE_PRESET_VALUES, EQUATION_TEMPLATES, EXIT_PRESET_VALUES, EXPANDED_MAX_HEIGHT, EXPORT_ASSEMBLING_PERCENT, EXPORT_DONE_PERCENT, EncryptedFileError, FILL_MODE_OPTIONS, FILL_PATTERN_LABEL_KEYS, GRADIENT_TYPE_OPTIONS, HANDOUT_OPTIONS, HIDDEN_SLIDE_LABEL_KEY, HIDDEN_SLIDE_SLASH_GRADIENT, HIGHLIGHTER_COLORS, INDENT_PX, INK_REPLAY_KEYFRAMES, INSERT_CHART_TYPES, LBL, LINK_TOOLTIP_CLASS, LINK_TOOLTIP_HINT_CLASS, LINK_TOOLTIP_HOST_CLASS, LINK_TOOLTIP_LABEL_CLASS, LINK_TOOLTIP_PANEL_CLASS, LOCAL_SYNC_ORIGIN, MATERIAL_PRESETS, MAX_INDENT_LEVEL, MAX_ZOOM_SCALE, MEDIA_CHROME_ATTRIBUTE, MIN_ZOOM_SCALE, MOBILE_BREAKPOINT, MOTION_PATH_FAMILIES, NOTES_FONT_SIZE_DEFAULT, NOTES_FONT_SIZE_MAX, NOTES_FONT_SIZE_MIN, NOTES_FONT_SIZE_STEP, NUM, OUTLINE_LEVEL_ATTR, OUTLINE_ROW_ATTR, OUTLINE_SLIDE_ATTR, OUTLINE_VIEW_ATTR, PATTERN_OPTIONS, PEN_COLORS, PPTX_OPEN_ACCEPT, PRESENTATION_CHANNEL_NAME, PRESENTATION_HASH, PRESENTATION_HIT_TEST_CSS, PRESENTATION_MESSAGE_ORIGIN, PRESENTATION_NONCE_KEY, PRESENTATION_OPEN_EXTENSIONS, PRESENTATION_STAGE_ATTRIBUTE, PRESENTER_CONSOLE_CLASSES, PRESENTER_CONSOLE_CONTROLS, PRESENTER_NAVIGATOR_LABEL_KEYS, PRESENT_TOOLBAR_CLASSES, PRESETS, PRESET_THEMES, PptxHandler, PptxMarkdownConverter, PresentationAnimationController, QUICK_ACCESS_COMMAND_CATALOG, READING_VIEW_ATTR, READING_VIEW_COUNTER_ATTR, READING_VIEW_STAGE_ATTR, RIBBON_SHAPE_SWATCHES, RIBBON_TRANSITION_PRESETS, RULER_FONT_SIZE, RULER_THICKNESS, SECTION_HEADING, SEL, SHAPE_PRESET_DEFS, SHAPE_QUICK_STYLES, SHORTCUT_REFERENCE_ITEMS, SLIDE_SHOW_OPTIONS, SLIDE_SIZE_PRESETS, SLIDE_TEMPLATES, SLIDE_TRANSITION_KEYFRAMES, SLIDE_TRANSITION_OPTIONS, SLIDE_VIRTUALIZATION_THRESHOLD, SMARTART_COLOR_SCHEME_LABEL_KEYS, SMARTART_STYLE_LABEL_KEYS, SORTER_MAX_ZOOM, SORTER_MIN_ZOOM, SORTER_ZOOM_STEP, STATUS_BAR_CLASSES, SWITCHABLE_LAYOUT_TYPES, SvgExporter, TABLET_BREAKPOINT, TABLE_STYLE_PRESETS, TAB_ROW_ACTION_CLASSES, TEXT_BUILD_ID_SEP, TEXT_WARP_PRESETS, THEME_CATALOG, THEME_COLOR_SCHEME_KEYS, THEME_COLOR_SLOT_LABEL_KEYS, THEME_PRESETS, TITLE_BAR_CLASSES, TITLE_BAR_DEFAULT_FILE_KEY, TOOLBAR_TABS, TRANSITION_DIR_ARROWS, TRANSITION_ORIENTATION_TYPES, TRANSITION_VALID_DIRECTIONS, ThemePresets, VIEWER_OPTIONS_TABS, VIEWER_PREFS_STORAGE_KEY, VIEWER_SHORTCUT_REFERENCE, WEBM_MIME_CANDIDATES, acceptAutosaveRecovery, acceptsPresentationInput, actionAffordanceLabels, activateModalFocus, addChartCategory, addChartSeries, addQuickAccessCommand, addSection, addSmartArtNode, addSmartArtNodeAsChild, addTagToCollections, alignElements, animationEffectLabel, annotationOverlayZIndex, appendPresentationInkPoint, appendTableElementColumn, appendTableElementRow, apply3dEffects, applyAcceptAllSlides, applyAcceptSlide, applyCaseTransformToSegments, applyChartBuildReveal, applyColorChange, applyDuotone, applyFindReplacements, applyFormatToElement, applyMotionPathPreset, applyOutlineEdit, applyPreferenceToOptions, applyReadingViewCommand, applyRehearsalTimings, applyReroutedConnectors, applyResize, applyStyleToSelectedSegments, applyThemeOverrideToSlide, applyThemeToData, attachPresentationVisibilityPause, authorConnectorBetweenSites, autosaveSnapshotMark, availableQuickAccessCommands, backstageCardsFor, beginShapeAdjustment, bringForward, bringToFront, build3DExtrusionData, buildBroadcastViewerUrl, buildCacheKey, buildCalloutLeaderLineSvgPath, buildChartViewModel, buildCollaborationShareUrl, buildContextMenuEntries, buildCreateCollaborationConfig, buildCssGradientFromShapeStyle, buildDirectionGrid, buildDuotoneCacheKey, buildElementClipboardPayload, buildFieldSubstitutionContext, buildFontCatalog, buildHandoutsHtml, buildHollowHitOutline, buildInitialGuides, buildJoinCollaborationConfig, buildLayoutPreviewGeometry, buildMorphAnimationRules, buildMorphTransitionPlan, buildMotionPathPreview, buildNotesHtml, buildNotesPdfBytes, buildOutline, buildOutlineHtml, buildParagraphs, buildPresentationAudienceUrl, buildPreviewAnimation, buildPreviewElements, buildPrintDocument, buildPrintHtmlDocument, buildSaveSlides, buildSlideTemplateContent, buildSlideTemplateSlide, buildSlidesHtml, buildSlidesPdfBytes, buildSmartArt3DModel, buildSmartArtA11y, buildSmartArtPresetData, buildStrokeOutline, buildSummaryZoomView, buildSvgGradientDef, buildTableDataGrid, buildTextBlockStyle, buildTextBody3DSceneStyle, buildTextBodyLayoutStyle, buildTextBuildSpec, buildThemeColorGrid, buildThemeColorMap, buildUserFontFaceStyles, canCommitActionType, canGoNext, canGoPrevious, canInteractWithElement, canvasToJpegData, cellRunStyle, cellStyleToCss, centeredSvgTextLines, chartDataChangeType, chartPartToAttrs, chartPreserveAspectRatio, clampCropValue, clampNotesFontSize, clampPercent, clampSorterZoom, clampTransitionNumber, clampUnitInterval2 as clampUnitInterval, clampZoomScale, clearAllLocalViewerData, clearAudienceContent, clearLocalAwareness, clearMotionPath, clearStoredViewerPrefs, cloneElementForPaste, cloneHistorySnapshot, cloneSlide, cloneTemplateElementsBySlideId, collectConnectorSiteCandidates, collectImagePaths, collectMediaElements, collectUsedFonts, colorWithOpacity, commentTextSegments, comparePresentation, compileEquationTemplateMathMl, compileLatexEquation, computeAllNotesPages, computeColumnBoundaries, computeDrawingViewBox, computeEntranceAnimationDelay, computeHandoutLayout, computeInlineEditorRect, computeKeyboardInset, computeMarqueeHitIds, computeMergeCellDown, computeMergeCellRight, computeResizedColumnWidths, computeResizedRowHeight, computeScrollDelta, computeSelectionRect, computeSmartArtLayout2 as computeSmartArtLayout, computeSnapToShape, computeSplitCell, computeVirtualRange, convertLatexToOmml, convertOmmlToLatex, convertOmmlToMathMl, copyFormatFromElement, createBackstagePresentation, createBlankSlide, createCollaborationLivePatcher, createDefaultChartElement, createDepartureChannel, createInitialPresentationSnapshot, createPlainNotesSegments, createPresenceProjector, createPresentationKeyBuffer, createPresentationSessionId, createPresenterShowGuard, createPresenterTimer, createSyncGate, createTouchGestureRecognizer, createViewerOptionsStore, createViewerZoomStore, createWheelStepBuffer, customGeometryPathsToSvgSubpaths, defaultCssVars, defaultRadius, defaultThemeColors, deleteAutosaveSnapshot, deleteSection, deleteTableColumn, deleteTableRow, deleteTagFromCollections, demoteSmartArtNode, deriveSlideFieldContext, describeFontEmbedding, detectOrientation, detectTouchDevice, discardAutosaveRecovery, distributeElements, downloadBlob, downloadDataUrl, dragAnchorViewY, dragValueForPart, elementActionToPptxAction, elementLockTogglePatch, embeddedFontSaveOptions, encodeGif, endAudienceDisplay, ensureActionAffordanceStyles, ensureChartInteractionStyles, erasePresentationInkAt, escapeHtml22 as escapeHtml2, exportDeckJson, extraQuickAccessCommands, extractPathPoints, filterCommands, filterInteractableIds, filterRenderedElements, findChartPartTarget, findConnectorSiteNear, findInSlides, findMediaElementByElementId, findSmartArtNodeText, firstShowSlideIndex, flattenNodes, flattenTagCollections, forgetSessionDeck, formatAxisValue, formatBackstageDate, formatBackstageSize, formatBytes, formatCommentTimestamp, formatElapsed, formatMobileElapsed, formatRelativeTime, formatSlideCounter, formatTime, formatVersionTimestamp, fpsToFrameIntervalMs, generateBroadcastRoomId, generateElementId, generateNoteLineCount, generatePackageReadme, generatePressureCircles, generateTicks, getAnimationInitialStyle, getAriaLabel, getAriaRole, getAriaRoleDescription, getCachedResult, getCalloutLeaderLineGeometry, getCalloutViewBoxBounds, getCellDiagonalBorders, getChartStylePalette, getCommentMarkerPosition, getCompoundLineOffsets, getCompoundLineWidths, getComputedEffectStyle, getComputedFillStyle, getComputedStrokeStyle, getConnectorEndpointHandles, getContentPartReplayStyles, getCurrentParagraphIndex, getDraggedShapeAdjustments, getDuotoneCachedResult, getElementLabel, getElementTransform, getElementTransformWithoutRotation, getGroupChildParentFill, getImageColorWashStyle, getImageEffectsFilter, getImageEffectsOpacity, getImageFitStyle, getImageSvgFilters, getImageTilingStyle, getInkReplayStyles, getInlineEditorSelection, getLocalStorageUsageSummary, getNotesPrintableArea, getOleBadgeLabel, getOleObjectTypeLabel, getOleTypeColor, getOleTypeLabel, getOverflowSegments, getPatternSvg, getPendingSelectionRestore, getPresetShapeClipPath, getPrintableArea, getResolvedShapeClipPath, getRoundRectRadiusPx2, getSessionTabId, getShapeAdjustmentHandleDescriptors, getShapeConnectionSites, getSlideBackgroundStyle, getSlideTransitionAnimations, getSoftEdgeSvgFilter, getSubstituteFontFamily, getSvgStrokeDasharray, getTableCellBandStyle, getTextBodyRotationTransform, getTextCompensationTransform, getWarpPath, groupElements, groupIntoParagraphs, groupSlidesBySection, guidePxToEmu, handleReadingViewKey, hasCopyableFormat, hasDistinctScriptFonts, hasPressureVariation, hasShapeProperties, hasShowSlideAfter, hasTextProperties, hexToRgbChannels2 as hexToRgbChannels, hiddenSlideCue, hollowTextFillStyle, inlineElementPointerEvents, insertTableColumn, insertTableRow, isActionHidden, isBlackboardActive, isBrowserOpenableMime, isCalloutShape, isCellInRect, isCurrentLayout, isEditableMotionPath, isEditableTextElement, isEditorTextInputTarget, isElementActionable, isElementLocked, isElementRendered, isExportAbortError, isHollowShapeElement, isImageLikeElement, isImageTiled, isInkElement, isKeyboardOpen, isLegacyBinaryPresentation, isLinkedTextBox, isMixedContentBlocked, isMobileViewport, isPpactionUrl, isPresentationAdvanceClick, isPresentationSessionMessage, isStrokeOnlyPresetElement, isSupportedPresentationFile, isTemplateElementId3 as isTemplateElementId, isUrlSafe, lastShowSlideIndex, listAutosaveSnapshots, listBackstageRecentFiles, loadAudienceContent, loadSessionDeck, makeCloneId, makeSlideId, mapEditingWheel, mapEditorKey, mapOutlineKey, mapPresentationKey, mapPresentationWheel, mapSlideSorterKey, masterViewBackgroundColor, masterViewElements, masterViewPseudoSlide, mayLeaveSlideShow, mediaFallbackIcon, mediaFallbackLabelKey, mediaFallbackVisual, mediaPlaybackAttributes, mediaTransportVisible, mergeAdditiveSelection, mergeCells, mergePresentationSnapshot, mergeShapes, mergeSlideTransition, mobileElapsedSince, mobileSlideCounter, morphOptionToMode, motionPathEndPixel, motionPathFamilyLabelKey, motionPathFor, motionPathPresetIdForPath, motionPathPresetLabelKey, motionPathPresetsByFamily, motionPathToSvgD, mountModel3D, movePresenterPointer, moveQuickAccessCommand, moveSectionDown, moveSectionUp, moveSlidesToSection, nestedTextDecorationStyle, newTableElement, nextPresentedSlide, nextShowSlideIndex, normalizeColorsForCapture, normalizeHexColor, normalizeSegments, normalizeStrokeDashType, notesSegmentsToSpans, observeYDocSlides, ooxmlGradientAngleToCssDegrees, openNativeEyeDropper, openPptxFile, openReadingView, openUrlInNewTab, paintedStrokeWidth, paragraphsToSegments, parseDrawingColor, parseDrawingColorOpacity, parsePanoseString, parsePpactionUrl, parseSegmentsFromRichEditor, partitionTemplateElements, pickSupportedMimeType, pieceLetterSpacing, placeAudienceWindow, placeCaretAtEnd, playSlideTransitionPreview, polygonsToSvgPath, pptxActionToElementAction, preprocessCssForCapture, presentationBaseName, presentationInkPath, presenterElapsed, presenterNextDisabled, presenterPaneAdvancesOnClick, presenterPrevDisabled, presenterTimerProgress, pressuresToWidths, previousShowSlideIndex, printPropertiesFrameSlides, printPropertiesSlidesPerPage, probeAutosaveRecovery, projectDrawingShapes, promoteSmartArtNode, publishLiveGeometry, publishLiveInlineText, quickStyleSwatchCss, reResolveSlideColors, readBackstageRecentFile, readRibbonTransitionDraft, readSlideShowOption, readSlidesFromYDoc, readStoredViewerPrefs, readViewportMetrics, readingViewFitScale, rebuildDrawingShapesIfCleared, rebuildTableStructureInRawXml, reconcileSlidesInYDoc, recordProgressPercent, rectToCells, registerCollaborationTeardown, registerCustomFont, registerPersistentAudio, remapTextToSegments, rememberSessionDeck, removeChartCategory, removeChartSeries, removeLastTableElementColumn, removeLastTableElementRow, removeQuickAccessCommand, removeSmartArtNode, removeTableElementColumn, removeTableElementRow, renameSection, reorderSmartArtNode, replaceMasterViewElements, rerouteConnectorsForMovedElements, resetPresenterTimer, resetSlideLayoutPath, resolveActionType, resolveAudienceScreenPlacement, resolveAuthoredCustomShowId, resolveAutoAdvanceDelayMs, resolveAutoFitFontScale, resolveAutosaveActivation, resolveAutosaveIntervalMs, resolveAutosaveIntervalSeconds, resolveChartKind, resolveConnectorEndpointUpdate, resolveDefaultFontFamily, resolveDrawingShapeNodeId, resolveElementActionAffordance, resolveElementInteractivity, resolveFontForScript, resolveGroupChildFill, resolveInkColor, resolveInkOpacity, resolveInkWidth, resolveMetricTrackingPx, resolveOleType, resolvePalette, resolveProfileInitial, resolveSelectionPaneRename, resolveShapeGeometry, resolveShowSlideIndexes, resolveSlideSizeSelection, resolveThemeCatalogEntry, resolveTitleBarStatusKey, resolveTransitionDurationMs, resolveTransportForServerUrl, resolveViewerAddinRows, restoreSegmentSelection, restoreSessionDeck, revealedSmartArtNodeCount, ribbonTransitionUpdates, rulerDragToGuidePosition, runMediaCommand, runPresentationAction, safeOpenUrl, sanitizeColor, sanitizeDownloadFilename, sanitizeGradientStops, sanitizeMathMl, saveAutosaveSnapshot, saveDeckWithPassword, saveViewerProfile, savedPresentationFileName, scanAvailableFontFamilies, schemaLabel, scopeLayoutOptionsToSlide, segmentByScript, segmentFrameCount, segmentsToEditorHtml, segmentsToParagraphs, segmentsToPlainText, sendBackward, sendToBack, setCachedResult, setCellText, setChartAxisGridlineStyle, setChartAxisLogScale, setChartAxisTitleStyle, setChartCategoryLabel, setChartCellValue, setChartDataPointExplosion, setChartDataPointFill, setChartDataPointLabel, setChartDataPointMarker, setChartSeriesChartType, setChartSeriesMarker, setDuotoneCachedResult, setMasterViewBackgroundColor, setMotionPath, setMotionPathEnd, setPendingSelectionRestore, setSmartArtNodeStyle, setTableElementCellText, shapeFillChange, shapeOutlineChange, shouldAutoFollowBroadcaster, shouldCommitSmartArtNodeText, shouldConfirmExternalHyperlink, shouldLoopContinuously, shouldProbeAutosaveRecovery, shouldShowAutosaveRecoveryPrompt, shouldUseSvgWarp, shouldWriteAutosaveSnapshot, slideProgressPercent, slideShowOptionChange, slideSizeFromPreset, slideSizeToCanvasPx, slideStatusLabel, snapBoxToGrid, splitCell, splitRunForMetrics, stepPresenterZoom, stopAllPersistentAudio, storeAudienceContent, strokeOutlineViewBox, styleShadowFilter, substituteFieldText, svgGradientFillRef, svgLineCap, svgPathToPolygons, swapPresentationWindows, switchSmartArtLayout, tableCellCss, tableContainerCss, templateSchemeFromTheme, text3dEmuToPt, text3dPtToEmu, textBuildSpanStyle, themeColorLabel, themeColorSchemesEqual, themeToCssVars, toCssTextOrientation, toCssVerticalDirection, toCssWritingMode, toSlideIndex, toggleBlackboard, togglePresenterTimer, toggleText3dExtrusion, transformTextCase, ungroupElements, updateCellTextInRawXml, updateCellTextStyleInRawXml, updateMasterViewElement, updateMergeAttrsInRawXml, updateSmartArtNodeText, updateTagInCollections, validateRoomId, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius, viewerOptionsToPreferences, warpPreviewPath, withChartPointValue, withChartTitle, withConnectorEndpointUpdate, withFrameSlides, withSlideSizeOrientation, withSlidesPerPage, writeStoredViewerPrefs };
Binary file
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunk7ARD2J6Y_js = require('./chunk-7ARD2J6Y.js');
3
+ var chunkT7BIRNE4_js = require('./chunk-T7BIRNE4.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');
@@ -14879,7 +14879,7 @@ async function buildSlideMarkdown(slides, slideIndex2, meta3, options = {}) {
14879
14879
  };
14880
14880
  let markdown;
14881
14881
  try {
14882
- const converter = new chunk7ARD2J6Y_js.PptxMarkdownConverter(
14882
+ const converter = new chunkT7BIRNE4_js.PptxMarkdownConverter(
14883
14883
  "",
14884
14884
  {
14885
14885
  sourceName: meta3.title ?? "deck.pptx",
@@ -15471,7 +15471,7 @@ var getTheme = (ctx) => {
15471
15471
  name: theme?.name,
15472
15472
  colorScheme: theme?.colorScheme,
15473
15473
  fontScheme: theme?.fontScheme,
15474
- availablePresets: Object.keys(chunk7ARD2J6Y_js.ThemePresets)
15474
+ availablePresets: Object.keys(chunkT7BIRNE4_js.ThemePresets)
15475
15475
  };
15476
15476
  };
15477
15477
  var readExecutors = {
Binary file
Binary file
@@ -108028,6 +108028,27 @@ function tableCellCss(tableData, cell, position2, context, base) {
108028
108028
  }
108029
108029
  return css;
108030
108030
  }
108031
+ function withCellText(cell, text2) {
108032
+ const next = { ...cell, text: text2 };
108033
+ delete next.textRuns;
108034
+ return next;
108035
+ }
108036
+ function setCellText(element, rowIndex, colIndex, text2) {
108037
+ const tableData = element.tableData;
108038
+ if (!tableData) {
108039
+ return element;
108040
+ }
108041
+ const rows = tableData.rows.map((row, ri) => {
108042
+ if (ri !== rowIndex) {
108043
+ return row;
108044
+ }
108045
+ return {
108046
+ ...row,
108047
+ cells: row.cells.map((cell, ci) => ci === colIndex ? withCellText(cell, text2) : cell)
108048
+ };
108049
+ });
108050
+ return { ...element, tableData: { ...tableData, rows } };
108051
+ }
108031
108052
  function computeBoundingRect(cells) {
108032
108053
  if (cells.length === 0) {
108033
108054
  return void 0;
@@ -108160,8 +108181,7 @@ function mergeCells(cells, tableData) {
108160
108181
  }
108161
108182
  if (ri === rect2.startRow && ci === rect2.startCol) {
108162
108183
  return {
108163
- ...cell,
108164
- text: combinedText,
108184
+ ...withCellText(cell, combinedText),
108165
108185
  gridSpan: colCount > 1 ? colCount : void 0,
108166
108186
  rowSpan: rowCount > 1 ? rowCount : void 0,
108167
108187
  hMerge: void 0,
@@ -108170,8 +108190,7 @@ function mergeCells(cells, tableData) {
108170
108190
  }
108171
108191
  if (ri === rect2.startRow) {
108172
108192
  return {
108173
- ...cell,
108174
- text: "",
108193
+ ...withCellText(cell, ""),
108175
108194
  hMerge: true,
108176
108195
  vMerge: void 0,
108177
108196
  gridSpan: void 0,
@@ -108180,8 +108199,7 @@ function mergeCells(cells, tableData) {
108180
108199
  }
108181
108200
  if (ci === rect2.startCol) {
108182
108201
  return {
108183
- ...cell,
108184
- text: "",
108202
+ ...withCellText(cell, ""),
108185
108203
  vMerge: true,
108186
108204
  hMerge: void 0,
108187
108205
  gridSpan: void 0,
@@ -108189,8 +108207,7 @@ function mergeCells(cells, tableData) {
108189
108207
  };
108190
108208
  }
108191
108209
  return {
108192
- ...cell,
108193
- text: "",
108210
+ ...withCellText(cell, ""),
108194
108211
  hMerge: true,
108195
108212
  vMerge: true,
108196
108213
  gridSpan: void 0,
@@ -108468,22 +108485,6 @@ function deleteTableColumn(tableData, colIdx) {
108468
108485
  const newWidths = normalizeWidths(tableData.columnWidths.filter((_, i) => i !== colIdx));
108469
108486
  return { ...tableData, rows: newRows, columnWidths: newWidths };
108470
108487
  }
108471
- function setCellText(element, rowIndex, colIndex, text2) {
108472
- const tableData = element.tableData;
108473
- if (!tableData) {
108474
- return element;
108475
- }
108476
- const rows = tableData.rows.map((row, ri) => {
108477
- if (ri !== rowIndex) {
108478
- return row;
108479
- }
108480
- return {
108481
- ...row,
108482
- cells: row.cells.map((cell, ci) => ci === colIndex ? { ...cell, text: text2 } : cell)
108483
- };
108484
- });
108485
- return { ...element, tableData: { ...tableData, rows } };
108486
- }
108487
108488
  function buildTableDataGrid(element) {
108488
108489
  const tableData = element.tableData;
108489
108490
  const sourceRows = tableData?.rows ?? [];
@@ -115825,6 +115826,22 @@ function hollowTextFillStyle(s, painted = {}) {
115825
115826
  }
115826
115827
  return hollow;
115827
115828
  }
115829
+ function nestedTextDecorationStyle(style) {
115830
+ const nested = {};
115831
+ for (const key2 of [
115832
+ "textDecoration",
115833
+ "textDecorationLine",
115834
+ "textDecorationColor",
115835
+ "textDecorationStyle",
115836
+ "textDecorationThickness"
115837
+ ]) {
115838
+ const value = style[key2];
115839
+ if (value !== void 0) {
115840
+ nested[key2] = value;
115841
+ }
115842
+ }
115843
+ return Object.keys(nested).length > 0 ? nested : void 0;
115844
+ }
115828
115845
  function segmentStyleToCss(seg, fontScale = 1, context = {}) {
115829
115846
  const s = seg.style ?? {};
115830
115847
  const style = {};
@@ -116337,16 +116354,51 @@ function correspondingChildren(a, b) {
116337
116354
  }
116338
116355
  return paired;
116339
116356
  }
116357
+ function expandUnpairedWrappers(children7, counterpart) {
116358
+ let expanded = false;
116359
+ const out = [];
116360
+ for (const child23 of children7) {
116361
+ const nested = groupChildren(child23);
116362
+ if (nested && !correspondingGroup(child23, counterpart)) {
116363
+ expanded = true;
116364
+ for (const leaf of expandUnpairedWrappers(nested, counterpart) ?? nested) {
116365
+ out.push(toAbsolute(leaf, child23.x, child23.y));
116366
+ }
116367
+ continue;
116368
+ }
116369
+ out.push(child23);
116370
+ }
116371
+ return expanded ? out : void 0;
116372
+ }
116373
+ function correspondingCast(children7, twinChildren) {
116374
+ const direct = correspondingChildren(children7, twinChildren);
116375
+ if (direct) {
116376
+ return { from: [...children7], to: [...twinChildren], paired: direct };
116377
+ }
116378
+ const expandedFrom = expandUnpairedWrappers(children7, twinChildren);
116379
+ const expandedTo = expandUnpairedWrappers(twinChildren, children7);
116380
+ if (!expandedFrom && !expandedTo) {
116381
+ return void 0;
116382
+ }
116383
+ const from = expandedFrom ?? [...children7];
116384
+ const to = expandedTo ?? [...twinChildren];
116385
+ const paired = correspondingChildren(from, to);
116386
+ return paired ? { from, to, paired } : void 0;
116387
+ }
116340
116388
  function flattenMorphElements(elements, counterpart, offsetX = 0, offsetY = 0) {
116389
+ return flattenMorphLevel(elements, counterpart, offsetX, offsetY, true);
116390
+ }
116391
+ function flattenMorphLevel(elements, counterpart, offsetX, offsetY, topLevel) {
116341
116392
  const out = [];
116342
116393
  for (const element of elements) {
116343
116394
  const children7 = groupChildren(element);
116344
- if (children7 && containsMorphNamedDescendant(element)) {
116395
+ if (children7 && (!topLevel || containsMorphNamedDescendant(element))) {
116345
116396
  const twin = correspondingGroup(element, counterpart);
116346
116397
  const twinChildren = twin ? groupChildren(twin) ?? [] : void 0;
116347
- if (twinChildren && correspondingChildren(children7, twinChildren)) {
116398
+ const cast = twinChildren ? correspondingCast(children7, twinChildren) : void 0;
116399
+ if (cast) {
116348
116400
  out.push(
116349
- ...flattenMorphElements(children7, twinChildren, offsetX + element.x, offsetY + element.y)
116401
+ ...flattenMorphLevel(cast.from, cast.to, offsetX + element.x, offsetY + element.y, false)
116350
116402
  );
116351
116403
  continue;
116352
116404
  }
@@ -116357,25 +116409,25 @@ function flattenMorphElements(elements, counterpart, offsetX = 0, offsetY = 0) {
116357
116409
  }
116358
116410
  function morphGroupChildPairs(elements, counterpart) {
116359
116411
  const pairs2 = /* @__PURE__ */ new Map();
116360
- collectGroupChildPairs(elements, counterpart, pairs2);
116412
+ collectGroupChildPairs(elements, counterpart, pairs2, true);
116361
116413
  return pairs2;
116362
116414
  }
116363
- function collectGroupChildPairs(elements, counterpart, into) {
116415
+ function collectGroupChildPairs(elements, counterpart, into, topLevel) {
116364
116416
  for (const element of elements) {
116365
116417
  const children7 = groupChildren(element);
116366
- if (!children7 || !containsMorphNamedDescendant(element)) {
116418
+ if (!children7 || topLevel && !containsMorphNamedDescendant(element)) {
116367
116419
  continue;
116368
116420
  }
116369
116421
  const twin = correspondingGroup(element, counterpart);
116370
116422
  const twinChildren = twin ? groupChildren(twin) ?? [] : void 0;
116371
- const corresponded = twinChildren ? correspondingChildren(children7, twinChildren) : void 0;
116372
- if (!corresponded) {
116423
+ const cast = twinChildren ? correspondingCast(children7, twinChildren) : void 0;
116424
+ if (!cast) {
116373
116425
  continue;
116374
116426
  }
116375
- for (const [child23, twinChild] of corresponded) {
116427
+ for (const [child23, twinChild] of cast.paired) {
116376
116428
  into.set(child23.id, twinChild.id);
116377
116429
  }
116378
- collectGroupChildPairs(children7, twinChildren ?? [], into);
116430
+ collectGroupChildPairs(cast.from, cast.to, into, false);
116379
116431
  }
116380
116432
  }
116381
116433
  var OUTLINE_SAMPLE_COUNT = 64;
@@ -134477,6 +134529,7 @@ exports.hasShowSlideAfter = hasShowSlideAfter;
134477
134529
  exports.hasTextProperties = hasTextProperties;
134478
134530
  exports.hexToRgbChannels = hexToRgbChannels2;
134479
134531
  exports.hiddenSlideCue = hiddenSlideCue;
134532
+ exports.hollowTextFillStyle = hollowTextFillStyle;
134480
134533
  exports.inlineElementPointerEvents = inlineElementPointerEvents;
134481
134534
  exports.insertTableColumn = insertTableColumn;
134482
134535
  exports.insertTableRow = insertTableRow;
@@ -134552,6 +134605,7 @@ exports.moveQuickAccessCommand = moveQuickAccessCommand;
134552
134605
  exports.moveSectionDown = moveSectionDown;
134553
134606
  exports.moveSectionUp = moveSectionUp;
134554
134607
  exports.moveSlidesToSection = moveSlidesToSection;
134608
+ exports.nestedTextDecorationStyle = nestedTextDecorationStyle;
134555
134609
  exports.newTableElement = newTableElement;
134556
134610
  exports.nextPresentedSlide = nextPresentedSlide;
134557
134611
  exports.nextShowSlideIndex = nextShowSlideIndex;
@@ -134690,6 +134744,7 @@ exports.segmentsToPlainText = segmentsToPlainText;
134690
134744
  exports.sendBackward = sendBackward;
134691
134745
  exports.sendToBack = sendToBack;
134692
134746
  exports.setCachedResult = setCachedResult;
134747
+ exports.setCellText = setCellText;
134693
134748
  exports.setChartAxisGridlineStyle = setChartAxisGridlineStyle;
134694
134749
  exports.setChartAxisLogScale = setChartAxisLogScale;
134695
134750
  exports.setChartAxisTitleStyle = setChartAxisTitleStyle;
Binary file