pptx-react-viewer 1.1.1 → 1.1.3

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 (35) hide show
  1. package/dist/{PowerPointViewer-DtLlYf0r.d.mts → PowerPointViewer-CX0a7wz_.d.mts} +2 -0
  2. package/dist/{PowerPointViewer-DtLlYf0r.d.ts → PowerPointViewer-CX0a7wz_.d.ts} +2 -0
  3. package/dist/index.d.mts +2 -2
  4. package/dist/index.d.ts +2 -2
  5. package/dist/index.js +373 -64
  6. package/dist/index.mjs +373 -64
  7. package/dist/pptx-viewer.css +1 -1
  8. package/dist/viewer/index.d.mts +11 -3
  9. package/dist/viewer/index.d.ts +11 -3
  10. package/dist/viewer/index.js +373 -64
  11. package/dist/viewer/index.mjs +373 -64
  12. package/node_modules/emf-converter/package.json +1 -1
  13. package/node_modules/mtx-decompressor/dist/index.d.mts +2 -1
  14. package/node_modules/mtx-decompressor/dist/index.d.ts +2 -1
  15. package/node_modules/mtx-decompressor/dist/index.js +85 -93
  16. package/node_modules/mtx-decompressor/dist/index.mjs +85 -93
  17. package/node_modules/mtx-decompressor/package.json +1 -1
  18. package/node_modules/pptx-viewer-core/dist/{SvgExporter-CPr1npgo.d.ts → SvgExporter-BMjoxMDV.d.ts} +1 -1
  19. package/node_modules/pptx-viewer-core/dist/{SvgExporter-B4-1_Hjp.d.mts → SvgExporter-z6AbXRQg.d.mts} +1 -1
  20. package/node_modules/pptx-viewer-core/dist/cli/index.d.mts +2 -2
  21. package/node_modules/pptx-viewer-core/dist/cli/index.d.ts +2 -2
  22. package/node_modules/pptx-viewer-core/dist/cli/index.js +504 -253
  23. package/node_modules/pptx-viewer-core/dist/cli/index.mjs +504 -253
  24. package/node_modules/pptx-viewer-core/dist/converter/index.d.mts +3 -3
  25. package/node_modules/pptx-viewer-core/dist/converter/index.d.ts +3 -3
  26. package/node_modules/pptx-viewer-core/dist/index.d.mts +318 -6
  27. package/node_modules/pptx-viewer-core/dist/index.d.ts +318 -6
  28. package/node_modules/pptx-viewer-core/dist/index.js +1474 -253
  29. package/node_modules/pptx-viewer-core/dist/index.mjs +1450 -254
  30. package/node_modules/pptx-viewer-core/dist/{presentation-DgkIYhXo.d.mts → presentation-CchuDGfU.d.mts} +17 -1
  31. package/node_modules/pptx-viewer-core/dist/{presentation-DgkIYhXo.d.ts → presentation-CchuDGfU.d.ts} +17 -1
  32. package/node_modules/pptx-viewer-core/dist/{text-operations-dYKZp3zE.d.mts → text-operations-CeukUztU.d.mts} +1 -1
  33. package/node_modules/pptx-viewer-core/dist/{text-operations-B6U6XxWt.d.ts → text-operations-e7JxgI5l.d.ts} +1 -1
  34. package/node_modules/pptx-viewer-core/package.json +1 -1
  35. package/package.json +4 -4
@@ -1,6 +1,6 @@
1
- import { T as TextSegmentRenderer } from '../SvgExporter-B4-1_Hjp.mjs';
2
- export { C as ConversionOptions, a as ConversionResult, D as DocumentConverter, F as FileSystemAdapter, M as MediaContext, P as PptxConverterOptions, b as PptxMarkdownConverter, S as SlideProcessor, c as SlideProcessorOptions, d as SvgExportOptions, e as SvgExporter, f as dataUrlToMediaBytes, g as deriveOutputPath, h as generateMediaFilename, i as getDirectory, n as normalizePath } from '../SvgExporter-B4-1_Hjp.mjs';
3
- import { l as PptxSlide } from '../presentation-DgkIYhXo.mjs';
1
+ import { T as TextSegmentRenderer } from '../SvgExporter-z6AbXRQg.mjs';
2
+ export { C as ConversionOptions, a as ConversionResult, D as DocumentConverter, F as FileSystemAdapter, M as MediaContext, P as PptxConverterOptions, b as PptxMarkdownConverter, S as SlideProcessor, c as SlideProcessorOptions, d as SvgExportOptions, e as SvgExporter, f as dataUrlToMediaBytes, g as deriveOutputPath, h as generateMediaFilename, i as getDirectory, n as normalizePath } from '../SvgExporter-z6AbXRQg.mjs';
3
+ import { l as PptxSlide } from '../presentation-CchuDGfU.mjs';
4
4
 
5
5
  /**
6
6
  * Renders slide-level metadata sections (transition, animations,
@@ -1,6 +1,6 @@
1
- import { T as TextSegmentRenderer } from '../SvgExporter-CPr1npgo.js';
2
- export { C as ConversionOptions, a as ConversionResult, D as DocumentConverter, F as FileSystemAdapter, M as MediaContext, P as PptxConverterOptions, b as PptxMarkdownConverter, S as SlideProcessor, c as SlideProcessorOptions, d as SvgExportOptions, e as SvgExporter, f as dataUrlToMediaBytes, g as deriveOutputPath, h as generateMediaFilename, i as getDirectory, n as normalizePath } from '../SvgExporter-CPr1npgo.js';
3
- import { l as PptxSlide } from '../presentation-DgkIYhXo.js';
1
+ import { T as TextSegmentRenderer } from '../SvgExporter-BMjoxMDV.js';
2
+ export { C as ConversionOptions, a as ConversionResult, D as DocumentConverter, F as FileSystemAdapter, M as MediaContext, P as PptxConverterOptions, b as PptxMarkdownConverter, S as SlideProcessor, c as SlideProcessorOptions, d as SvgExportOptions, e as SvgExporter, f as dataUrlToMediaBytes, g as deriveOutputPath, h as generateMediaFilename, i as getDirectory, n as normalizePath } from '../SvgExporter-BMjoxMDV.js';
3
+ import { l as PptxSlide } from '../presentation-CchuDGfU.js';
4
4
 
5
5
  /**
6
6
  * Renders slide-level metadata sections (transition, animations,
@@ -1,12 +1,12 @@
1
- import { P as PptxElement, a as PptxElementWithShapeStyle, b as PptxElementWithText, C as ConnectorPptxElement, c as PptxImageLikeElement, I as InkPptxElement, S as ShapePptxElement, T as TextPptxElement, Z as ZoomPptxElement, d as PptxThemeColorScheme, e as PptxThemeFontScheme, f as PptxAnimationPreset, g as PptxAnimationTrigger, h as StrokeDashType, i as ConnectorArrowType, j as PptxTransitionType, k as PptxChartType, l as PptxSlide, m as PptxData, n as PptxCompatibilityWarning, o as PptxLayoutOption, X as XmlObject, p as PptxChartData, q as PptxSmartArtData, r as PptxHeaderFooter, s as PptxPresentationProperties, t as PptxCustomShow, u as PptxSection, v as PptxCoreProperties, w as PptxAppProperties, x as PptxCustomProperty, y as PptxNotesMaster, z as PptxHandoutMaster, A as PptxTagCollection, B as PptxPhotoAlbum, D as PptxKinsoku, E as PptxModifyVerifier, F as PptxViewProperties, G as PptxEmbeddedFont, H as PptxExportOptions, J as PptxThemeFormatScheme, K as TextSegment, L as PptxComment, M as PptxSlideTransition, N as PptxElementAnimation, O as PptxNativeAnimation, Q as PptxCustomerData, R as PptxActiveXControl, U as AnimationCondition, V as ShapeStyle, W as TextStyle, Y as ElementAction, _ as PptxAction, $ as OleObjectType, a0 as PptxSmartArtNode, a1 as SmartArtLayoutType, a2 as PptxSmartArtDrawingShape, a3 as PptxChartDataTable, a4 as PptxChartLineStyle, a5 as PptxChartErrBars, a6 as PptxChartTrendline, a7 as PptxChartMarker, a8 as PptxChartDataLabel, a9 as PptxChartDataPoint, aa as PptxChartShapeProps, ab as PptxChart3DSurface, ac as PptxChartAxisFormatting, ad as PptxEmbeddedWorkbookData, ae as PptxDrawingGuide, af as PptxCustomXmlPart, ag as PptxCommentAuthor, ah as MediaPptxElement, ai as PptxTableData, aj as PptxTheme, ak as ParsedTableStyleMap, al as PptxSlideMaster, am as PptxThemeOption, an as PlaceholderDefaults, ao as ParsedTableStyleFill, ap as ParsedTableStyleText, aq as PptxImageEffects, ar as MediaBookmark, as as PptxChartStyle, at as GroupPptxElement, au as PlaceholderTextLevelStyle, av as PptxTableCellStyle, aw as PptxChartSeries, ax as SmartArtPptxElement, ay as GeometryAdjustmentHandle, az as BulletInfo, aA as PptxShapeLocks, aB as PptxThemeFillStyle, aC as PptxThemeLineStyle, aD as PptxThemeEffectStyle, aE as PptxSmartArtChrome, aF as PptxSmartArtColorTransform, aG as PptxSmartArtQuickStyle, aH as PptxExternalData, aI as CustomGeometryPoint, aJ as CustomGeometryPath, aK as ChartPptxElement, aL as ImagePptxElement, aM as TablePptxElement } from './presentation-DgkIYhXo.mjs';
2
- export { aN as ActionButtonPreset, aO as AnimationConditionEvent, aP as BevelPresetType, aQ as ConnectorConnectionPoint, aR as ContentPartInkStroke, aS as ContentPartPptxElement, aT as CustomGeometrySegment, aU as ElementActionType, aV as MasterViewTab, aW as MaterialPresetType, aX as MediaCaptionTrack, aY as MediaMetadata, aZ as Model3DPptxElement, a_ as OlePptxElement, a$ as ParsedTableStyleEntry, b0 as PicturePptxElement, b1 as Pptx3DScene, b2 as Pptx3DShape, b3 as PptxAfterAnimationAction, b4 as PptxAnimationDirection, b5 as PptxAnimationIterate, b6 as PptxAnimationRepeatMode, b7 as PptxAnimationSequence, b8 as PptxAnimationTimingCurve, b9 as PptxChartAxisNumFmt, ba as PptxChartErrBarDir, bb as PptxChartErrBarType, bc as PptxChartErrValType, bd as PptxChartMarkerSymbol, be as PptxChartTrendlineType, bf as PptxColorAnimation, bg as PptxCommonSlideViewProperties, bh as PptxCropShape, bi as PptxCustomPathProperties, bj as PptxElementBase, bk as PptxElementType, bl as PptxExportFormat, bm as PptxImageProperties, bn as PptxMasterTextStyles, bo as PptxMediaType, bp as PptxNormalViewProperties, bq as PptxRestoredRegion, br as PptxShapeProperties, bs as PptxSlideLayout, bt as PptxSmartArtConnection, bu as PptxSplitDirection, bv as PptxSplitOrientation, bw as PptxStripDirection, bx as PptxTableCell, by as PptxTableRow, bz as PptxTag, bA as PptxTextAnimationTarget, bB as PptxTextBuildType, bC as PptxTextProperties, bD as PptxTextStyleLevels, bE as PptxTextWarpPreset, bF as PptxThemeFontGroup, bG as PptxTransitionDirection4, bH as PptxTransitionDirection8, bI as PptxViewOrigin, bJ as PptxViewScale, bK as ShadowEffect, bL as SmartArtColorScheme, bM as SmartArtLayout, bN as SmartArtStyle, bO as THEME_COLOR_SCHEME_KEYS, bP as TRANSITION_VALID_DIRECTIONS, bQ as Text3DStyle, bR as UnderlineStyle, bS as UnknownPptxElement } from './presentation-DgkIYhXo.mjs';
3
- import { F as FindResult, M as MergeOptions } from './text-operations-dYKZp3zE.mjs';
4
- export { f as findText, m as mergePresentation, r as replaceText, a as replaceTextInSlide } from './text-operations-dYKZp3zE.mjs';
1
+ import { P as PptxElement, a as PptxElementWithShapeStyle, b as PptxElementWithText, C as ConnectorPptxElement, c as PptxImageLikeElement, I as InkPptxElement, S as ShapePptxElement, T as TextPptxElement, Z as ZoomPptxElement, d as PptxThemeColorScheme, e as PptxThemeFontScheme, f as PptxAnimationPreset, g as PptxAnimationTrigger, h as StrokeDashType, i as ConnectorArrowType, j as PptxTransitionType, k as PptxChartType, l as PptxSlide, m as PptxData, n as PptxCompatibilityWarning, o as PptxLayoutOption, X as XmlObject, p as PptxChartData, q as PptxSmartArtData, r as PptxHeaderFooter, s as PptxPresentationProperties, t as PptxCustomShow, u as PptxSection, v as PptxCoreProperties, w as PptxAppProperties, x as PptxCustomProperty, y as PptxNotesMaster, z as PptxHandoutMaster, A as PptxTagCollection, B as PptxPhotoAlbum, D as PptxKinsoku, E as PptxModifyVerifier, F as PptxViewProperties, G as PptxEmbeddedFont, H as PptxExportOptions, J as PptxThemeFormatScheme, K as TextSegment, L as PptxComment, M as PptxSlideTransition, N as PptxElementAnimation, O as PptxNativeAnimation, Q as PptxCustomerData, R as PptxActiveXControl, U as AnimationCondition, V as ShapeStyle, W as TextStyle, Y as ElementAction, _ as PptxAction, $ as OleObjectType, a0 as PptxSmartArtNode, a1 as SmartArtLayoutType, a2 as PptxSmartArtDrawingShape, a3 as PptxChartDataTable, a4 as PptxChartLineStyle, a5 as PptxChartErrBars, a6 as PptxChartTrendline, a7 as PptxChartMarker, a8 as PptxChartDataLabel, a9 as PptxChartDataPoint, aa as PptxChartShapeProps, ab as PptxChart3DSurface, ac as PptxChartAxisFormatting, ad as PptxEmbeddedWorkbookData, ae as PptxDrawingGuide, af as PptxTableCellStyle, ag as PptxCustomXmlPart, ah as PptxCommentAuthor, ai as MediaPptxElement, aj as PptxTableData, ak as PptxTheme, al as ParsedTableStyleMap, am as PptxSlideMaster, an as PptxThemeOption, ao as PlaceholderDefaults, ap as ParsedTableStyleFill, aq as ParsedTableStyleText, ar as PptxImageEffects, as as MediaBookmark, at as PptxChartStyle, au as TablePptxElement, av as GroupPptxElement, aw as PlaceholderTextLevelStyle, ax as PptxChartSeries, ay as SmartArtPptxElement, az as GeometryAdjustmentHandle, aA as BulletInfo, aB as PptxShapeLocks, aC as PptxThemeFillStyle, aD as PptxThemeLineStyle, aE as PptxThemeEffectStyle, aF as PptxSmartArtChrome, aG as PptxSmartArtColorTransform, aH as PptxSmartArtQuickStyle, aI as PptxExternalData, aJ as CustomGeometryPoint, aK as CustomGeometryPath, aL as ChartPptxElement, aM as ImagePptxElement } from './presentation-CchuDGfU.mjs';
2
+ export { aN as ActionButtonPreset, aO as AnimationConditionEvent, aP as BevelPresetType, aQ as ConnectorConnectionPoint, aR as ContentPartInkStroke, aS as ContentPartPptxElement, aT as CustomGeometrySegment, aU as ElementActionType, aV as MasterViewTab, aW as MaterialPresetType, aX as MediaCaptionTrack, aY as MediaMetadata, aZ as Model3DPptxElement, a_ as OlePptxElement, a$ as ParsedTableStyleEntry, b0 as PicturePptxElement, b1 as Pptx3DScene, b2 as Pptx3DShape, b3 as PptxAfterAnimationAction, b4 as PptxAnimationDirection, b5 as PptxAnimationIterate, b6 as PptxAnimationRepeatMode, b7 as PptxAnimationSequence, b8 as PptxAnimationTimingCurve, b9 as PptxChartAxisNumFmt, ba as PptxChartErrBarDir, bb as PptxChartErrBarType, bc as PptxChartErrValType, bd as PptxChartMarkerSymbol, be as PptxChartTrendlineType, bf as PptxColorAnimation, bg as PptxCommonSlideViewProperties, bh as PptxCropShape, bi as PptxCustomPathProperties, bj as PptxElementBase, bk as PptxElementType, bl as PptxExportFormat, bm as PptxImageProperties, bn as PptxMasterTextStyles, bo as PptxMediaType, bp as PptxNormalViewProperties, bq as PptxRestoredRegion, br as PptxShapeProperties, bs as PptxSlideLayout, bt as PptxSmartArtConnection, bu as PptxSplitDirection, bv as PptxSplitOrientation, bw as PptxStripDirection, bx as PptxTableCell, by as PptxTableRow, bz as PptxTag, bA as PptxTextAnimationTarget, bB as PptxTextBuildType, bC as PptxTextProperties, bD as PptxTextStyleLevels, bE as PptxTextWarpPreset, bF as PptxThemeFontGroup, bG as PptxTransitionDirection4, bH as PptxTransitionDirection8, bI as PptxViewOrigin, bJ as PptxViewScale, bK as ShadowEffect, bL as SmartArtColorScheme, bM as SmartArtLayout, bN as SmartArtStyle, bO as THEME_COLOR_SCHEME_KEYS, bP as TRANSITION_VALID_DIRECTIONS, bQ as Text3DStyle, bR as UnderlineStyle, bS as UnknownPptxElement } from './presentation-CchuDGfU.mjs';
3
+ import { F as FindResult, M as MergeOptions } from './text-operations-CeukUztU.mjs';
4
+ export { f as findText, m as mergePresentation, r as replaceText, a as replaceTextInSlide } from './text-operations-CeukUztU.mjs';
5
5
  import { XMLParser, XMLBuilder } from 'fast-xml-parser';
6
6
  import JSZip from 'jszip';
7
7
  export { C as CertificateRevocationStatus, D as DIGEST_ALGORITHM_TO_HASH, a as DIGEST_ALGORITHM_TO_WEB_CRYPTO, b as DIGITAL_SIGNATURE_ORIGIN_REL_TYPE, c as DIGITAL_SIGNATURE_REL_TYPE, d as DigitalSignatureReport, e as DigitalSignatureVerificationStatus, E as ENTERPRISE_FAIL_ON_REVOCATION_UNKNOWN_ENV, f as ENTERPRISE_REQUIRE_REVOCATION_ENV, g as ENTERPRISE_REQUIRE_TIMESTAMP_ENV, h as ENTERPRISE_TRUST_ROOTS_FILE_ENV, i as ENTERPRISE_TRUST_ROOTS_PEM_ENV, L as LoadedSigningMaterial, O as OPC_RELATIONSHIP_TRANSFORM, j as OfficeSignatureReference, P as PPTX_VIEWER_MANIFEST_NS, k as ParsedReferenceTransform, R as ReferenceTransformResult, S as SUPPORTED_XML_CANON_TRANSFORMS, l as SignOptions, m as SignResult, n as SignatureDetail, o as SignatureDetailStatus, p as SignatureNodeCertificateInfo, q as SignatureReferenceCheck, r as SignatureValidationPolicy, T as TimestampAuthorityStatus, X as XMLDSIG_NS, s as XML_TRANSFORM_ENVELOPED_SIGNATURE, t as computeDetailStatus, u as computeDigestBase64WebCrypto, v as computeVerificationStatus, w as escapeXmlAttr, x as extractAllTagText, y as extractFirstTagText, z as extractTagAttribute, A as normalizePartPath, B as resolveReferenceUriToPart } from './signature-inspection-status-BcJSdOvb.mjs';
8
8
  export { convertEmfToDataUrl, convertWmfToDataUrl } from 'emf-converter';
9
- export { C as ConversionOptions, a as ConversionResult, D as DocumentConverter, F as FileSystemAdapter, M as MediaContext, P as PptxConverterOptions, b as PptxMarkdownConverter, S as SlideProcessor, c as SlideProcessorOptions, d as SvgExportOptions, e as SvgExporter, f as dataUrlToMediaBytes, g as deriveOutputPath, h as generateMediaFilename, i as getDirectory, n as normalizePath } from './SvgExporter-B4-1_Hjp.mjs';
9
+ export { C as ConversionOptions, a as ConversionResult, D as DocumentConverter, F as FileSystemAdapter, M as MediaContext, P as PptxConverterOptions, b as PptxMarkdownConverter, S as SlideProcessor, c as SlideProcessorOptions, d as SvgExportOptions, e as SvgExporter, f as dataUrlToMediaBytes, g as deriveOutputPath, h as generateMediaFilename, i as getDirectory, n as normalizePath } from './SvgExporter-z6AbXRQg.mjs';
10
10
 
11
11
  /**
12
12
  * Runtime type guards for narrowing the {@link PptxElement} union.
@@ -3831,6 +3831,291 @@ declare function reResolveSlideColors(slides: PptxSlide[], oldColorMap: Record<s
3831
3831
  */
3832
3832
  declare function applyThemeToData(data: PptxData, newColorScheme: PptxThemeColorScheme, newFontScheme?: PptxThemeFontScheme, themeName?: string): PptxData;
3833
3833
 
3834
+ /**
3835
+ * Accessibility checker for PPTX presentations.
3836
+ *
3837
+ * Scans slides for common accessibility issues: missing alt text,
3838
+ * missing slide titles, low contrast text, complex merged tables,
3839
+ * duplicate titles, and blank slides.
3840
+ *
3841
+ * Implements checks aligned with WCAG 2.1 AA guidelines and
3842
+ * PowerPoint's built-in accessibility checker.
3843
+ *
3844
+ * @module utils/accessibility-checker
3845
+ */
3846
+
3847
+ type AccessibilityIssueType = 'missingAltText' | 'missingSlideTitle' | 'lowContrast' | 'complexTable' | 'duplicateTitle' | 'blankSlide';
3848
+ type AccessibilityIssueSeverity = 'error' | 'warning' | 'tip';
3849
+ interface AccessibilityIssue {
3850
+ type: AccessibilityIssueType;
3851
+ severity: AccessibilityIssueSeverity;
3852
+ slideIndex: number;
3853
+ elementId?: string;
3854
+ message: string;
3855
+ suggestion: string;
3856
+ }
3857
+ interface AccessibilityCheckOptions {
3858
+ /** Minimum WCAG contrast ratio (default 4.5 for AA normal text). */
3859
+ minContrastRatio?: number;
3860
+ /** Skip contrast checks (useful when background can't be resolved). */
3861
+ skipContrast?: boolean;
3862
+ /** Skip blank slide checks. */
3863
+ skipBlankSlide?: boolean;
3864
+ }
3865
+ /**
3866
+ * Parse a hex colour string into [R, G, B] in 0–255.
3867
+ * Accepts `#RGB`, `#RRGGBB`, `RGB`, `RRGGBB`.
3868
+ */
3869
+ declare function parseHexColor(hex: string): [number, number, number] | null;
3870
+ /**
3871
+ * WCAG 2.1 relative luminance of an sRGB colour.
3872
+ * @see https://www.w3.org/TR/WCAG21/#dfn-relative-luminance
3873
+ */
3874
+ declare function relativeLuminance(r: number, g: number, b: number): number;
3875
+ /**
3876
+ * WCAG 2.1 contrast ratio between two hex colours.
3877
+ * Returns a value in [1, 21].
3878
+ */
3879
+ declare function computeContrastRatio(fg: string, bg: string): number;
3880
+ declare function checkMissingAltText(slide: PptxSlide, slideIndex: number): AccessibilityIssue[];
3881
+ declare function checkMissingSlideTitle(slide: PptxSlide, slideIndex: number): AccessibilityIssue[];
3882
+ declare function checkLowContrast(slide: PptxSlide, slideIndex: number, minRatio: number, slideBg?: string): AccessibilityIssue[];
3883
+ declare function checkComplexTables(slide: PptxSlide, slideIndex: number): AccessibilityIssue[];
3884
+ declare function checkDuplicateTitles(slides: PptxSlide[]): AccessibilityIssue[];
3885
+ declare function checkBlankSlide(slide: PptxSlide, slideIndex: number): AccessibilityIssue[];
3886
+ /**
3887
+ * Run all accessibility checks on a presentation.
3888
+ *
3889
+ * @param data - The parsed presentation data.
3890
+ * @param options - Optional configuration for checks.
3891
+ * @returns Array of accessibility issues sorted by slide index.
3892
+ */
3893
+ declare function checkPresentation(data: PptxData, options?: AccessibilityCheckOptions): AccessibilityIssue[];
3894
+
3895
+ /**
3896
+ * Custom show playback utilities.
3897
+ *
3898
+ * Resolves a named or ID-based custom show into an ordered list of
3899
+ * slide indices for presentation-mode playback.
3900
+ *
3901
+ * @module utils/custom-show-utils
3902
+ */
3903
+
3904
+ /**
3905
+ * Find a custom show by name (case-insensitive) or by id.
3906
+ */
3907
+ declare function findCustomShow(customShows: PptxCustomShow[] | undefined, nameOrId: string): PptxCustomShow | undefined;
3908
+ /**
3909
+ * Resolve a custom show's `slideRIds` to 0-based slide indices.
3910
+ *
3911
+ * @param customShow - The custom show definition.
3912
+ * @param slides - The full ordered slide list from `PptxData.slides`.
3913
+ * @returns Ordered array of 0-based indices into `slides`, preserving the
3914
+ * custom show's slide order. Unresolvable rIds are skipped.
3915
+ */
3916
+ declare function resolveCustomShowSlideIndices(customShow: PptxCustomShow, slides: PptxSlide[]): number[];
3917
+ /**
3918
+ * Get the list of available custom show names.
3919
+ */
3920
+ declare function getCustomShowNames(customShows: PptxCustomShow[] | undefined): string[];
3921
+ /**
3922
+ * Navigate within a custom show's filtered slide list.
3923
+ *
3924
+ * @param currentSlideIndex - Current 0-based index into the full slide array.
3925
+ * @param direction - Navigation direction: 1 for next, -1 for previous.
3926
+ * @param filteredIndices - The custom show's resolved slide indices.
3927
+ * @param wrap - Whether to wrap around (default false).
3928
+ * @returns The next slide index in the full slide array, or `currentSlideIndex` if at boundary.
3929
+ */
3930
+ declare function navigateCustomShow(currentSlideIndex: number, direction: 1 | -1, filteredIndices: number[], wrap?: boolean): number;
3931
+ /**
3932
+ * Get the 1-based position label within a custom show (e.g. "3 of 8").
3933
+ */
3934
+ declare function getCustomShowPositionLabel(currentSlideIndex: number, filteredIndices: number[]): string;
3935
+
3936
+ /**
3937
+ * Table style resolver: computes effective cell styles by layering the 12-part
3938
+ * OOXML table style cascade.
3939
+ *
3940
+ * Priority (lowest to highest):
3941
+ * wholeTbl → band1H/band2H → band1V/band2V → lastRow → firstRow →
3942
+ * lastCol → firstCol → corner cells (seCell, swCell, neCell, nwCell)
3943
+ *
3944
+ * @module table-style-resolver
3945
+ */
3946
+
3947
+ /** Fill descriptor for a single table style part. */
3948
+ interface TableStylePartFill {
3949
+ /** Solid colour hex (e.g. "#FF0000"). */
3950
+ color?: string;
3951
+ /** Gradient fill definition (opaque — passed through to the renderer). */
3952
+ gradient?: unknown;
3953
+ /** Pattern fill definition (opaque — passed through to the renderer). */
3954
+ pattern?: unknown;
3955
+ }
3956
+ /** Per-edge border descriptor. */
3957
+ interface TableStylePartBorder {
3958
+ width?: number;
3959
+ color?: string;
3960
+ dash?: string;
3961
+ }
3962
+ /** Border set for a single table style part. */
3963
+ interface TableStylePartBorders {
3964
+ top?: TableStylePartBorder;
3965
+ bottom?: TableStylePartBorder;
3966
+ left?: TableStylePartBorder;
3967
+ right?: TableStylePartBorder;
3968
+ }
3969
+ /** Text formatting for a single table style part. */
3970
+ interface TableStylePartText {
3971
+ bold?: boolean;
3972
+ italic?: boolean;
3973
+ color?: string;
3974
+ fontSize?: number;
3975
+ }
3976
+ /**
3977
+ * Parsed visual data for one of the 12 table style sections.
3978
+ *
3979
+ * All fields are optional — only set properties participate in the cascade.
3980
+ */
3981
+ interface ParsedTableStylePart {
3982
+ fill?: TableStylePartFill;
3983
+ borders?: TableStylePartBorders;
3984
+ text?: TableStylePartText;
3985
+ }
3986
+ /**
3987
+ * Complete parsed table style with all 12 optional parts.
3988
+ */
3989
+ interface ParsedTableStyle {
3990
+ wholeTbl?: ParsedTableStylePart;
3991
+ band1H?: ParsedTableStylePart;
3992
+ band2H?: ParsedTableStylePart;
3993
+ band1V?: ParsedTableStylePart;
3994
+ band2V?: ParsedTableStylePart;
3995
+ firstRow?: ParsedTableStylePart;
3996
+ lastRow?: ParsedTableStylePart;
3997
+ firstCol?: ParsedTableStylePart;
3998
+ lastCol?: ParsedTableStylePart;
3999
+ seCell?: ParsedTableStylePart;
4000
+ swCell?: ParsedTableStylePart;
4001
+ neCell?: ParsedTableStylePart;
4002
+ nwCell?: ParsedTableStylePart;
4003
+ }
4004
+ /**
4005
+ * Boolean flags on the table that control which style parts are active.
4006
+ */
4007
+ interface TableStyleFlags {
4008
+ bandedRows?: boolean;
4009
+ bandedColumns?: boolean;
4010
+ firstRow?: boolean;
4011
+ lastRow?: boolean;
4012
+ firstCol?: boolean;
4013
+ lastCol?: boolean;
4014
+ /** Number of rows per band group (default 1). */
4015
+ bandRowCycle?: number;
4016
+ /** Number of columns per band group (default 1). */
4017
+ bandColCycle?: number;
4018
+ }
4019
+ /**
4020
+ * Deep-merge two `ParsedTableStylePart` objects. Properties from `override`
4021
+ * win when set; unset properties fall through to `base`.
4022
+ */
4023
+ declare function mergeStyleParts(base: ParsedTableStylePart | undefined, override: ParsedTableStylePart | undefined): ParsedTableStylePart | undefined;
4024
+ /**
4025
+ * Resolve the effective style for a specific table cell by applying the full
4026
+ * 12-part OOXML table style cascade.
4027
+ *
4028
+ * Layer priority (lowest → highest):
4029
+ * 1. wholeTbl
4030
+ * 2. band1H / band2H (horizontal banding)
4031
+ * 3. band1V / band2V (vertical banding)
4032
+ * 4. lastRow
4033
+ * 5. firstRow
4034
+ * 6. lastCol
4035
+ * 7. firstCol
4036
+ * 8. corner cells (seCell, swCell, neCell, nwCell)
4037
+ *
4038
+ * @param rowIndex Zero-based row index of the cell.
4039
+ * @param colIndex Zero-based column index of the cell.
4040
+ * @param totalRows Total number of rows in the table.
4041
+ * @param totalCols Total number of columns in the table.
4042
+ * @param flags Boolean table flags controlling which parts are active.
4043
+ * @param style The parsed table style with up to 12 parts.
4044
+ * @returns Partial cell style with effective values from the cascade.
4045
+ */
4046
+ declare function resolveTableCellStyle(rowIndex: number, colIndex: number, totalRows: number, totalCols: number, flags: TableStyleFlags, style: ParsedTableStyle): Partial<PptxTableCellStyle>;
4047
+
4048
+ /**
4049
+ * Animation preset catalog for the animation editor UI.
4050
+ *
4051
+ * Provides categorized lists of available animation presets with
4052
+ * human-readable labels, default durations, and effect options.
4053
+ * This catalog is consumed by the animation pane to populate
4054
+ * the "Add Animation" dropdown menus.
4055
+ *
4056
+ * @module utils/animation-preset-catalog
4057
+ */
4058
+ type AnimationCategory = 'entrance' | 'exit' | 'emphasis' | 'motionPath';
4059
+ interface AnimationPresetInfo {
4060
+ /** OOXML preset class id (e.g. "entr.1" for appear). */
4061
+ presetId: string;
4062
+ /** Human-readable label for the UI. */
4063
+ label: string;
4064
+ /** Animation category. */
4065
+ category: AnimationCategory;
4066
+ /** Default duration in milliseconds. */
4067
+ defaultDurationMs: number;
4068
+ /** Whether direction options are available. */
4069
+ hasDirection: boolean;
4070
+ /** Available directions (if applicable). */
4071
+ directions?: string[];
4072
+ /** Whether text build options are available. */
4073
+ hasTextBuild: boolean;
4074
+ }
4075
+ declare const ENTRANCE_PRESETS: AnimationPresetInfo[];
4076
+ declare const EXIT_PRESETS: AnimationPresetInfo[];
4077
+ declare const EMPHASIS_PRESETS: AnimationPresetInfo[];
4078
+ declare const MOTION_PATH_PRESETS: AnimationPresetInfo[];
4079
+ declare const ALL_ANIMATION_PRESETS: AnimationPresetInfo[];
4080
+ /**
4081
+ * Look up a preset by its ID.
4082
+ */
4083
+ declare function getAnimationPresetInfo(presetId: string): AnimationPresetInfo | undefined;
4084
+ /**
4085
+ * Get all presets for a given category.
4086
+ */
4087
+ declare function getPresetsByCategory(category: AnimationCategory): AnimationPresetInfo[];
4088
+
4089
+ /**
4090
+ * SmartArt relayout on edit.
4091
+ *
4092
+ * When SmartArt nodes are added, removed, or reordered the layout needs
4093
+ * re-evaluation. This module provides the single entry-point
4094
+ * `relayoutSmartArt` which delegates to the layout engine and converts
4095
+ * the output back to `PptxSmartArtDrawingShape[]` so the rendering
4096
+ * pipeline can consume it directly.
4097
+ *
4098
+ * @module smartart-relayout
4099
+ */
4100
+
4101
+ /**
4102
+ * Re-evaluate SmartArt layout after an editing operation.
4103
+ *
4104
+ * Delegates to the layout engine to compute new positions for every node
4105
+ * based on the current `resolvedLayoutType` (or raw `layoutType` string),
4106
+ * then converts the engine output to `PptxSmartArtDrawingShape[]` for the
4107
+ * rendering pipeline.
4108
+ *
4109
+ * If the layout type is unsupported or the engine returns no results the
4110
+ * existing `drawingShapes` are returned unchanged as a fallback.
4111
+ *
4112
+ * @param smartArtData - The SmartArt data model (nodes, layout type, etc.).
4113
+ * @param containerWidth - Width of the container on the slide (pixels).
4114
+ * @param containerHeight - Height of the container on the slide (pixels).
4115
+ * @returns Array of drawing shapes with recalculated positions.
4116
+ */
4117
+ declare function relayoutSmartArt(smartArtData: PptxSmartArtData, containerWidth: number, containerHeight: number): PptxSmartArtDrawingShape[];
4118
+
3834
4119
  interface IFactory<TResult, TInit = void> {
3835
4120
  create(init: TInit): TResult;
3836
4121
  }
@@ -4058,6 +4343,13 @@ interface IPptxPresentationSlidesReconciler {
4058
4343
  }
4059
4344
  declare class PptxPresentationSlidesReconciler implements IPptxPresentationSlidesReconciler {
4060
4345
  reconcile(input: PptxPresentationSlidesReconcilerInput): Promise<void>;
4346
+ /**
4347
+ * Return a new presentation XML object whose `p:sldIdLst` child sits in the
4348
+ * schema-mandated position (after `sldMasterIdLst` / `notesMasterIdLst` /
4349
+ * `handoutMasterIdLst`, before `sldSz`). Non-sldIdLst keys keep their
4350
+ * relative order; attribute keys (`@_...`) stay at the front.
4351
+ */
4352
+ private insertSlideIdListInOrder;
4061
4353
  private attachNewSlide;
4062
4354
  private tryCopySourceRelationships;
4063
4355
  private removeInactiveSlides;
@@ -4213,6 +4505,7 @@ interface IPptxSlideBackgroundBuilder {
4213
4505
  }
4214
4506
  declare class PptxSlideBackgroundBuilder implements IPptxSlideBackgroundBuilder {
4215
4507
  applyBackground(init: PptxSlideBackgroundBuilderInput): void;
4508
+ private reorderCSldBgFirst;
4216
4509
  }
4217
4510
 
4218
4511
  interface PptxColorStyleCodecContext {
@@ -5183,6 +5476,20 @@ declare class PptxHandlerRuntime$Z extends PptxHandlerRuntime$_ {
5183
5476
  }
5184
5477
 
5185
5478
  declare class PptxHandlerRuntime$Y extends PptxHandlerRuntime$Z {
5479
+ /**
5480
+ * Build a `p:graphicFrame` XML skeleton for an SDK-created table.
5481
+ *
5482
+ * Tables round-trip as `<p:graphicFrame>/<a:graphic>/<a:graphicData
5483
+ * uri=".../drawingml/2006/table">/<a:tbl>` inside `p:spTree`. When the
5484
+ * element was loaded from an existing file, `el.rawXml` already contains
5485
+ * this envelope and the downstream `serializeTableDataToXml` path
5486
+ * populates cells in place. When the element was created via the SDK
5487
+ * (`SlideBuilder.addTable`), there is no `rawXml`, so this method
5488
+ * fabricates a minimal envelope with an empty `a:tbl`. The element
5489
+ * writer then calls `serializeTableDataToXml`, which triggers
5490
+ * `rebuildTableXmlFromData` and fills in `a:tblGrid` / `a:tr` children.
5491
+ */
5492
+ protected createTableGraphicFrameXml(el: TablePptxElement): XmlObject;
5186
5493
  /**
5187
5494
  * Build a p:sp XML object for an ink annotation element.
5188
5495
  * Each ink path becomes a separate a:path within a:pathLst,
@@ -5717,6 +6024,11 @@ declare class PptxHandlerRuntime$F extends PptxHandlerRuntime$G {
5717
6024
  */
5718
6025
  private resolveEffectiveConformance;
5719
6026
  save(slides: PptxSlide[], options?: PptxHandlerSaveOptions): Promise<Uint8Array>;
6027
+ /**
6028
+ * Remove any Relationship in presentation.xml.rels whose Type matches either
6029
+ * the Transitional or Strict commentAuthors relationship URI.
6030
+ */
6031
+ private stripPresentationCommentAuthorsRelationship;
5720
6032
  }
5721
6033
 
5722
6034
  declare class PptxHandlerRuntime$E extends PptxHandlerRuntime$F {
@@ -10790,4 +11102,4 @@ type ThemePresetName = keyof typeof ThemePresets;
10790
11102
  /** Get a theme preset by name string. */
10791
11103
  declare function getThemePreset(name: ThemePresetName): ThemePreset;
10792
11104
 
10793
- export { AnimationCondition, type AnimationInput, type BackgroundInput, BulletInfo, COLOR_MAP_ALIAS_KEYS, CONNECTOR_ARROW_OPTIONS, CONNECTOR_GEOMETRY_OPTIONS, type CalloutLeaderLineGeometry, type CalloutPoint, ChartBuilder, type ChartInput, type ChartOptions, ChartPptxElement, type ChartSeriesInput, type ColorMapAliasKey, type CompatibilityWarningInput, ConnectorArrowType, ConnectorBuilder, type ConnectorGeometryType, type ConnectorOptions, type ConnectorPathGeometry, ConnectorPptxElement, ConnectorXmlFactory, type ConnectorXmlFactoryInit, type ContainerBounds, CustomGeometryPath, CustomGeometryPoint, DEFAULT_CANVAS_HEIGHT, DEFAULT_CANVAS_WIDTH, DEFAULT_COLOR_MAP, DEFAULT_FILL_COLOR, DEFAULT_FONT_FAMILY, DEFAULT_SCHEME_COLOR_MAP, DEFAULT_STROKE_COLOR, DEFAULT_TEXT_COLOR, DEFAULT_TEXT_FONT_SIZE, DataIntegrityError, EMU_PER_INCH, EMU_PER_PIXEL, EMU_PER_POINT, EMU_PER_PX, ElementAction, type ElementDiff, type ElementPosition, EncryptedFileError, type EncryptionAlgorithm, type EncryptionInfo, type EncryptionOptions, FONT_SUBSTITUTION_MAP, type FileFormatDetection, type FillInput, FindResult, FreeformPathBuilder, GeometryAdjustmentHandle, type GeometryContext, type GeometryGuide, GroupBuilder, type GroupOptions, GroupPptxElement, type HslColor, type IConnectorXmlFactory, type ICoreXmlElementFactory, type IFactory, type IMediaGraphicFrameXmlFactory, type IPictureXmlFactory, type IPptxAnimationWriteService, type IPptxColorStyleCodec, type IPptxCommentAuthorsXmlFactory, type IPptxCommentXmlFactoryProvider, type IPptxCompatibilityService, type IPptxConnectorParser, type IPptxContentTypesBuilder, type IPptxEditorAnimationService, type IPptxElementTransformUpdater, type IPptxGraphicFrameParser, type IPptxHandlerRuntime, type IPptxHandlerRuntimeFactory, type IPptxMediaDataParser, type IPptxNativeAnimationService, type IPptxPresentationSaveBuilder, type IPptxPresentationSlidesReconciler, type IPptxRuntimeDependencyFactory, type IPptxShapeIdValidator, type IPptxShapeStyleExtractor, type IPptxSlideBackgroundBuilder, type IPptxSlideCommentPartWriter, type IPptxSlideCommentsXmlFactory, type IPptxSlideLoaderService, type IPptxSlideMediaRelationshipBuilder, type IPptxSlideNotesPartUpdater, type IPptxSlideRelationshipRegistry, type IPptxSlideTransitionService, type IPptxTableDataParser, type IPptxTemplateBackgroundService, type IPptxXmlBuilder, type IPptxXmlFactoryProvider, type IPptxXmlLookupService, type ITextShapeXmlFactory, type IXmlElementFactory, ImageBuilder, type ImageMaskStyle, type ImageOptions, ImagePptxElement, IncorrectPasswordError, InkPptxElement, type LayoutAlgorithmType, type LayoutConstraints, type LayoutCreationResult, type LayoutDefinition, type LayoutEngineShape, type LayoutRule, type LinkedTextBoxChain, type LinkedTextBoxChainMember, type LinkedTextBoxSegmentMap, MIN_ELEMENT_SIZE, MediaBookmark, MediaBuilder, MediaGraphicFrameXmlFactory, type MediaGraphicFrameXmlFactoryInit, type MediaOptions, MediaPptxElement, MergeOptions, type MergeShapeOperation, type Model3DTransform, type Ole2DirectoryEntry, type Ole2File, Ole2ParseError, OleObjectType, type OoxmlConformanceClass, P14_GUIDE_URI, P15_GUIDE_URI, PANOSE_FAMILY_MAP, PANOSE_MONOSPACE_PROPORTION, PANOSE_SANS_SERIF_STYLES, PANOSE_WEIGHT_MAP, POWERPOINT_PRESENCE_KEY, PRESET_COLOR_MAP, PRESET_SHAPE_CATEGORY_LABELS, PRESET_SHAPE_CLIP_PATHS, PRESET_SHAPE_DEFINITIONS, PRESET_TO_OOXML, type ParsedLayoutDef, type ParsedSignature, ParsedTableStyleFill, ParsedTableStyleMap, ParsedTableStyleText, PictureXmlFactory, type PictureXmlFactoryInit, PlaceholderDefaults, type PlaceholderDefinition, PlaceholderTextLevelStyle, PptxAction, PptxActiveXControl, PptxAnimationPreset, PptxAnimationTrigger, PptxAnimationWriteService, PptxAppProperties, type PptxBuilderFactoryContext, PptxChart3DSurface, PptxChartAxisFormatting, PptxChartData, PptxChartDataLabel, PptxChartDataPoint, PptxChartDataTable, PptxChartErrBars, PptxChartLineStyle, PptxChartMarker, PptxChartSeries, PptxChartShapeProps, PptxChartStyle, PptxChartTrendline, PptxChartType, PptxColorStyleCodec, type PptxColorStyleCodecContext, PptxComment, PptxCommentAuthor, type PptxCommentAuthorDescriptor, PptxCommentAuthorsXmlFactory, type PptxCommentAuthorsXmlFactoryInit, PptxCommentXmlFactoryProvider, PptxCompatibilityService, PptxCompatibilityWarning, PptxConnectorParser, type PptxConnectorParserContext, PptxContentTypesBuilder, type PptxContentTypesCommentBuildInput, type PptxContentTypesSlideMediaBuildInput, PptxCoreProperties, PptxCustomProperty, PptxCustomShow, PptxCustomXmlPart, PptxCustomerData, PptxData, PptxDocumentPropertiesUpdater, PptxDrawingGuide, PptxEditorAnimationService, type PptxEditorAnimationServiceOptions, PptxElement, PptxElementAnimation, PptxElementTransformUpdater, PptxElementWithShapeStyle, PptxElementWithText, PptxElementXmlBuilder, type PptxElementXmlBuilderOptions, PptxEmbeddedFont, PptxEmbeddedWorkbookData, PptxExportOptions, PptxExternalData, PptxGraphicFrameParser, type PptxGraphicFrameParserContext, PptxHandler, type PptxHandlerLoadOptions, PptxHandlerRuntime, PptxHandlerRuntimeFactory, type PptxHandlerSaveOptions, PptxHandoutMaster, PptxHeaderFooter, PptxImageEffects, PptxImageLikeElement, PptxKinsoku, PptxLayoutOption, PptxLoadDataBuilder, PptxMediaDataParser, type PptxMediaDataParserContext, type PptxMediaTimingEntry, type PptxMediaTimingMap, PptxModifyVerifier, PptxNativeAnimation, PptxNativeAnimationService, PptxNotesMaster, PptxPhotoAlbum, PptxPresentationProperties, type PptxPresentationSaveBuildInput, PptxPresentationSaveBuilder, type PptxPresentationSaveBuilderOptions, PptxPresentationSlidesReconciler, type PptxPresentationSlidesReconcilerInput, type PptxRuntimeDependencyBundle, PptxRuntimeDependencyFactory, type PptxRuntimeDependencyFactoryInput, type PptxSaveConstants, PptxSaveConstantsFactory, type PptxSaveFormat, type PptxSaveMediaKind, PptxSaveState as PptxSaveSession, PptxSaveStateBuilder as PptxSaveSessionBuilder, PptxSaveState, PptxSaveStateBuilder, PptxSection, PptxShapeIdValidator, PptxShapeLocks, PptxShapeStyleExtractor, type PptxShapeStyleExtractorContext, PptxSlide, PptxSlideBackgroundBuilder, type PptxSlideBackgroundBuilderInput, PptxSlideBuilder, PptxSlideCommentPartWriter, type PptxSlideCommentPartWriterInput, type PptxSlideCommentRelationshipInfo, PptxSlideCommentsXmlFactory, type PptxSlideCommentsXmlFactoryInit, PptxSlideElementsBuilder, type PptxSlideLoaderParams, PptxSlideLoaderService, type PptxSlideLoaderThemeOverride, PptxSlideMaster, PptxSlideMediaRelationshipBuilder, PptxSlideNotesBuilder, PptxSlideNotesPartUpdater, type PptxSlideNotesPartUpdaterInput, type PptxSlideNotesResult, PptxSlideRelationshipRegistry, type PptxSlideRelationshipRegistryOptions, PptxSlideTransition, PptxSlideTransitionService, type PptxSlideTransitionServiceOptions, PptxSmartArtChrome, PptxSmartArtColorTransform, PptxSmartArtData, PptxSmartArtDrawingShape, PptxSmartArtNode, PptxSmartArtQuickStyle, PptxTableCellStyle, PptxTableData, PptxTableDataParser, type PptxTableDataParserContext, PptxTagCollection, PptxTemplateBackgroundService, type PptxTemplateBackgroundState, PptxTheme, PptxThemeColorScheme, PptxThemeEffectStyle, PptxThemeFillStyle, PptxThemeFontScheme, PptxThemeFormatScheme, PptxThemeLineStyle, PptxThemeOption, type PptxThemePreset, PptxTransitionType, PptxViewProperties, PptxXmlBuilder, PptxXmlFactoryProvider, PptxXmlLookupService, Presentation, PresentationBuilder, type PresentationBuilderResult, type PresentationDiff, type PresentationOptions, type PresentationThemeInput, type PresetShapeCategory, type PresetShapeDefinition, type PropertyChange, type ReflowedNodePosition, type RepairResult, SHAPE_TREE_ELEMENT_TAGS, STROKE_DASH_OPTIONS, SWITCHABLE_LAYOUT_TYPES, SYSTEM_COLOR_MAP, type ShadowInput, ShapeBuilder, type ShapeOptions, ShapePptxElement, ShapeStyle, type SignatureCertificateInfo, type SignatureDetectionResult, type SignatureReference, type SignatureStatus, SlideBuilder, type SlideDiff, SlideSizes, SmartArtLayoutType, SmartArtPptxElement, type StandardEncryptionInfo, StrokeDashType, type StrokeInput, type SupportedShapeType, THEME_PRESETS, TableBuilder, type TableCellInput, type TableInput, type TableOptions, TablePptxElement, type TableRowInput, type TemplateData, TextBuilder, type TextOptions, TextPptxElement, TextSegment, type TextSegmentInput, TextShapeXmlFactory, type TextShapeXmlFactoryInit, TextStyle, type TextStyleInput, type ThemePreset, type ThemePresetName, ThemePresets, type TransitionInput, VML_SHAPE_TAGS, type ValidationIssue, type ValidationResult, type Vec2, XmlObject, ZoomPptxElement, addChartCategory, addChartSeries, addSection, addSmartArtNode, addSmartArtNodeAsChild, applyDrawingColorTransforms, applyKinsokuToXml, applyTemplate, applyThemeToData, areNamespacesSupported, buildCalloutLeaderLineSvgPath, buildClrMapOverrideXml, buildFontFamilyString, buildGuideListExtension, buildLinkedTextBoxChains, buildOle2, buildSingleEffectNode, buildThemeColorMap, catmullRomToBezier, chartDataAddCategory, chartDataAddSeries, chartDataChangeType, chartDataRemoveCategory, chartDataRemoveSeries, chartDataUpdatePoint, clampUnitInterval, classifyPanose, cloneElement, cloneShapeStyle, cloneSlide, cloneTemplateElementsBySlideId, cloneTextStyle, cloneXmlObject, cm, cmToEmu, colorWithOpacity, combineShapes, computeCycleLayout, computeHierarchyLayout, computeLinearLayout, computeMatrixLayout, computePyramidLayout, computeSmartArtLayout, computeSnakeLayout, convertXmlToStrict, createArrayBufferCopy, createBuiltinVariables, createChartElement, createConnectorElement, createDefaultPptxHandlerRuntime, createEditorId, createFreeformElement, createGroupElement, createImageElement, createLayout, createLayouts, createMediaElement, createModifyVerifier, createPptxSaveConstants, createShapeElement, createTableElement, createTemplateConnectorRawXml, createTemplateShapeRawXml, createTextElement, createUniformTextSegments, decomposeSmartArt, decryptPptx, demoteSmartArtNode, deobfuscateFont, detectDigitalSignatures, detectFileFormat, detectFontFormat, detectOleObjectType, detectStrictConformance, diffPresentations, diffSlides, distributeSegmentsAcrossChain, douglasPeucker, duplicateElement, duplicateSlide, elementActionToPptxAction, elementHasAction, emuToPixels, encryptPptx, ensureArrayValue, estimateTextBoxCapacity, evaluateGeometryPaths, evaluateGuides, extractGuidFromPartName, extractModel3DTransform, fetchUrlToBytes, findLayoutByName, findLayoutByType, findPlaceholders, formatCommentTimestamp, fragmentShapes, generateFontGuid, generateLayoutXml, getCalloutLeaderLineGeometry, getCalloutTier, getCalloutViewBoxBounds, getCommentMarkerPosition, getConnectorAdjustment, getConnectorPathGeometry, getCssBorderDashStyle, getElementLabel, getElementTextContent, getElementTransform, getImageMaskStyle, getLinkedTextBoxSegments, getOleObjectTypeLabel, getPanoseWeight, getPresetShapeClipPath, getRoundRectRadiusPx, getSectionForSlide, getSectionSlideRange, getShapeClipPath, getShapeType, getSignaturePathsToStrip, getSubstituteFontFamily, getSubstituteFonts, getSupportedNamespaces, getSvgStrokeDasharray, getTextCompensationTransform, getThemePreset, getZoomElements, getZoomTargetSlideIndexes, guidToKey, guideEmuToPx, guidePxToEmu, hasDirectSubstitution, hasNonTrivialOverride, hasShapeProperties, hasTextProperties, hexToRgbChannels, hslToRgb, inches, inchesToEmu, inferOleExtensionFromTarget, interpolateShapeGeometry, intersectPolygons, intersectShapes, intersectSvgPaths, isCalloutShape, isConnectorElement, isEditableTextElement, isImageLikeElement, isInkElement, isNamespaceSupported, isShapeElement, isStrictNamespaceUri, isSummaryZoomSlide, isSwitchableLayoutType, isTemplateElement, isTextElement, isTransitionalNamespaceUri, isZoomElement$1 as isZoomElement, isZoomElement as isZoomElementUtil, layoutEngineShapesToDrawingShapes, mailMerge, mergeShapes, mergeThemeColorOverride, mm, moveSlidesToSection, normalizeHexColor, normalizeNamespaceUri, normalizeStrictXml, normalizeStrokeDashType, obfuscateFont, ooxmlArcToSvg, parseActiveXControlsFromSlide, parseAdjustmentValues, parseBodyPrBooleanAttrs, parseChart3DSurfaces, parseChartAxes, parseCondition, parseConditionList, parseCxChartSeries, parseDataTable, parseDataUrlToBytes, parseDrawingColor, parseDrawingColorChoice, parseDrawingColorOpacity, parseDrawingFraction, parseDrawingHueDegrees, parseDrawingPercent, parseEmbeddedXlsx, parseGuideDefinitions, parseKinsoku, parseLayoutDefinition, parseLineStyle, parseMarker, parseOle2, parsePanoseBytes, parsePanoseString, parsePresentationDrawingGuides, parseSeriesDataLabels, parseSeriesDataPoints, parseSeriesErrBars, parseSeriesExplosion, parseSeriesTrendlines, parseShapeProps, parseSignatureXml, parseSlideDrawingGuides, parseSvgPath, parseVmlElement, parseVmlElements, pixelsToEmu, polygonsToSvgPath, pptxActionToElementAction, promoteSmartArtNode, pt, reResolveSlideColors, readFileAsDataUrl, reflowSmartArtLayout, removeChartCategory, removeChartSeries, removeSection, removeSmartArtNode, reorderSections, reorderSmartArtNode, reorderSmartArtNodeToIndex, repairPptx, replaceShapeGeometry, replaceWithCustomGeometry, resetCloneIdCounter, resetDecomposeCounter, resetIdCounter, resetSectionIdCounter, resetSmartArtEditCounter, resolveCoordinate, resolveModel3DMimeType, rgbToHsl, selectAlternateContentBranch, serializeCondition, serializeConditionList, serializeSvgPath, setChartCategories, setChartGrouping, setChartTitle, setChartType, shouldRenderFallbackLabel, shouldReturnToZoomSlide, subtractPolygons, subtractShapes, subtractSvgPaths, svgPathToPolygons, switchSmartArtLayout, toHex, toStrictNamespaceUri, unionPolygons, unionShapes, unionSvgPaths, unwrapAlternateContent, updateChartDataPoint, updateChartSeriesValues, updateSmartArtNodeText, validatePptx, verifyModifyPassword, verifyPassword, verifySignatureDigests, writeBodyPrBooleanAttrs };
11105
+ export { ALL_ANIMATION_PRESETS, type AccessibilityCheckOptions, type AccessibilityIssue, type AccessibilityIssueSeverity, type AccessibilityIssueType, type AnimationCategory, AnimationCondition, type AnimationInput, type AnimationPresetInfo, type BackgroundInput, BulletInfo, COLOR_MAP_ALIAS_KEYS, CONNECTOR_ARROW_OPTIONS, CONNECTOR_GEOMETRY_OPTIONS, type CalloutLeaderLineGeometry, type CalloutPoint, ChartBuilder, type ChartInput, type ChartOptions, ChartPptxElement, type ChartSeriesInput, type ColorMapAliasKey, type CompatibilityWarningInput, ConnectorArrowType, ConnectorBuilder, type ConnectorGeometryType, type ConnectorOptions, type ConnectorPathGeometry, ConnectorPptxElement, ConnectorXmlFactory, type ConnectorXmlFactoryInit, type ContainerBounds, CustomGeometryPath, CustomGeometryPoint, DEFAULT_CANVAS_HEIGHT, DEFAULT_CANVAS_WIDTH, DEFAULT_COLOR_MAP, DEFAULT_FILL_COLOR, DEFAULT_FONT_FAMILY, DEFAULT_SCHEME_COLOR_MAP, DEFAULT_STROKE_COLOR, DEFAULT_TEXT_COLOR, DEFAULT_TEXT_FONT_SIZE, DataIntegrityError, EMPHASIS_PRESETS, EMU_PER_INCH, EMU_PER_PIXEL, EMU_PER_POINT, EMU_PER_PX, ENTRANCE_PRESETS, EXIT_PRESETS, ElementAction, type ElementDiff, type ElementPosition, EncryptedFileError, type EncryptionAlgorithm, type EncryptionInfo, type EncryptionOptions, FONT_SUBSTITUTION_MAP, type FileFormatDetection, type FillInput, FindResult, FreeformPathBuilder, GeometryAdjustmentHandle, type GeometryContext, type GeometryGuide, GroupBuilder, type GroupOptions, GroupPptxElement, type HslColor, type IConnectorXmlFactory, type ICoreXmlElementFactory, type IFactory, type IMediaGraphicFrameXmlFactory, type IPictureXmlFactory, type IPptxAnimationWriteService, type IPptxColorStyleCodec, type IPptxCommentAuthorsXmlFactory, type IPptxCommentXmlFactoryProvider, type IPptxCompatibilityService, type IPptxConnectorParser, type IPptxContentTypesBuilder, type IPptxEditorAnimationService, type IPptxElementTransformUpdater, type IPptxGraphicFrameParser, type IPptxHandlerRuntime, type IPptxHandlerRuntimeFactory, type IPptxMediaDataParser, type IPptxNativeAnimationService, type IPptxPresentationSaveBuilder, type IPptxPresentationSlidesReconciler, type IPptxRuntimeDependencyFactory, type IPptxShapeIdValidator, type IPptxShapeStyleExtractor, type IPptxSlideBackgroundBuilder, type IPptxSlideCommentPartWriter, type IPptxSlideCommentsXmlFactory, type IPptxSlideLoaderService, type IPptxSlideMediaRelationshipBuilder, type IPptxSlideNotesPartUpdater, type IPptxSlideRelationshipRegistry, type IPptxSlideTransitionService, type IPptxTableDataParser, type IPptxTemplateBackgroundService, type IPptxXmlBuilder, type IPptxXmlFactoryProvider, type IPptxXmlLookupService, type ITextShapeXmlFactory, type IXmlElementFactory, ImageBuilder, type ImageMaskStyle, type ImageOptions, ImagePptxElement, IncorrectPasswordError, InkPptxElement, type LayoutAlgorithmType, type LayoutConstraints, type LayoutCreationResult, type LayoutDefinition, type LayoutEngineShape, type LayoutRule, type LinkedTextBoxChain, type LinkedTextBoxChainMember, type LinkedTextBoxSegmentMap, MIN_ELEMENT_SIZE, MOTION_PATH_PRESETS, MediaBookmark, MediaBuilder, MediaGraphicFrameXmlFactory, type MediaGraphicFrameXmlFactoryInit, type MediaOptions, MediaPptxElement, MergeOptions, type MergeShapeOperation, type Model3DTransform, type Ole2DirectoryEntry, type Ole2File, Ole2ParseError, OleObjectType, type OoxmlConformanceClass, P14_GUIDE_URI, P15_GUIDE_URI, PANOSE_FAMILY_MAP, PANOSE_MONOSPACE_PROPORTION, PANOSE_SANS_SERIF_STYLES, PANOSE_WEIGHT_MAP, POWERPOINT_PRESENCE_KEY, PRESET_COLOR_MAP, PRESET_SHAPE_CATEGORY_LABELS, PRESET_SHAPE_CLIP_PATHS, PRESET_SHAPE_DEFINITIONS, PRESET_TO_OOXML, type ParsedLayoutDef, type ParsedSignature, type ParsedTableStyle, ParsedTableStyleFill, ParsedTableStyleMap, type ParsedTableStylePart, ParsedTableStyleText, PictureXmlFactory, type PictureXmlFactoryInit, PlaceholderDefaults, type PlaceholderDefinition, PlaceholderTextLevelStyle, PptxAction, PptxActiveXControl, PptxAnimationPreset, PptxAnimationTrigger, PptxAnimationWriteService, PptxAppProperties, type PptxBuilderFactoryContext, PptxChart3DSurface, PptxChartAxisFormatting, PptxChartData, PptxChartDataLabel, PptxChartDataPoint, PptxChartDataTable, PptxChartErrBars, PptxChartLineStyle, PptxChartMarker, PptxChartSeries, PptxChartShapeProps, PptxChartStyle, PptxChartTrendline, PptxChartType, PptxColorStyleCodec, type PptxColorStyleCodecContext, PptxComment, PptxCommentAuthor, type PptxCommentAuthorDescriptor, PptxCommentAuthorsXmlFactory, type PptxCommentAuthorsXmlFactoryInit, PptxCommentXmlFactoryProvider, PptxCompatibilityService, PptxCompatibilityWarning, PptxConnectorParser, type PptxConnectorParserContext, PptxContentTypesBuilder, type PptxContentTypesCommentBuildInput, type PptxContentTypesSlideMediaBuildInput, PptxCoreProperties, PptxCustomProperty, PptxCustomShow, PptxCustomXmlPart, PptxCustomerData, PptxData, PptxDocumentPropertiesUpdater, PptxDrawingGuide, PptxEditorAnimationService, type PptxEditorAnimationServiceOptions, PptxElement, PptxElementAnimation, PptxElementTransformUpdater, PptxElementWithShapeStyle, PptxElementWithText, PptxElementXmlBuilder, type PptxElementXmlBuilderOptions, PptxEmbeddedFont, PptxEmbeddedWorkbookData, PptxExportOptions, PptxExternalData, PptxGraphicFrameParser, type PptxGraphicFrameParserContext, PptxHandler, type PptxHandlerLoadOptions, PptxHandlerRuntime, PptxHandlerRuntimeFactory, type PptxHandlerSaveOptions, PptxHandoutMaster, PptxHeaderFooter, PptxImageEffects, PptxImageLikeElement, PptxKinsoku, PptxLayoutOption, PptxLoadDataBuilder, PptxMediaDataParser, type PptxMediaDataParserContext, type PptxMediaTimingEntry, type PptxMediaTimingMap, PptxModifyVerifier, PptxNativeAnimation, PptxNativeAnimationService, PptxNotesMaster, PptxPhotoAlbum, PptxPresentationProperties, type PptxPresentationSaveBuildInput, PptxPresentationSaveBuilder, type PptxPresentationSaveBuilderOptions, PptxPresentationSlidesReconciler, type PptxPresentationSlidesReconcilerInput, type PptxRuntimeDependencyBundle, PptxRuntimeDependencyFactory, type PptxRuntimeDependencyFactoryInput, type PptxSaveConstants, PptxSaveConstantsFactory, type PptxSaveFormat, type PptxSaveMediaKind, PptxSaveState as PptxSaveSession, PptxSaveStateBuilder as PptxSaveSessionBuilder, PptxSaveState, PptxSaveStateBuilder, PptxSection, PptxShapeIdValidator, PptxShapeLocks, PptxShapeStyleExtractor, type PptxShapeStyleExtractorContext, PptxSlide, PptxSlideBackgroundBuilder, type PptxSlideBackgroundBuilderInput, PptxSlideBuilder, PptxSlideCommentPartWriter, type PptxSlideCommentPartWriterInput, type PptxSlideCommentRelationshipInfo, PptxSlideCommentsXmlFactory, type PptxSlideCommentsXmlFactoryInit, PptxSlideElementsBuilder, type PptxSlideLoaderParams, PptxSlideLoaderService, type PptxSlideLoaderThemeOverride, PptxSlideMaster, PptxSlideMediaRelationshipBuilder, PptxSlideNotesBuilder, PptxSlideNotesPartUpdater, type PptxSlideNotesPartUpdaterInput, type PptxSlideNotesResult, PptxSlideRelationshipRegistry, type PptxSlideRelationshipRegistryOptions, PptxSlideTransition, PptxSlideTransitionService, type PptxSlideTransitionServiceOptions, PptxSmartArtChrome, PptxSmartArtColorTransform, PptxSmartArtData, PptxSmartArtDrawingShape, PptxSmartArtNode, PptxSmartArtQuickStyle, PptxTableCellStyle, PptxTableData, PptxTableDataParser, type PptxTableDataParserContext, PptxTagCollection, PptxTemplateBackgroundService, type PptxTemplateBackgroundState, PptxTheme, PptxThemeColorScheme, PptxThemeEffectStyle, PptxThemeFillStyle, PptxThemeFontScheme, PptxThemeFormatScheme, PptxThemeLineStyle, PptxThemeOption, type PptxThemePreset, PptxTransitionType, PptxViewProperties, PptxXmlBuilder, PptxXmlFactoryProvider, PptxXmlLookupService, Presentation, PresentationBuilder, type PresentationBuilderResult, type PresentationDiff, type PresentationOptions, type PresentationThemeInput, type PresetShapeCategory, type PresetShapeDefinition, type PropertyChange, type ReflowedNodePosition, type RepairResult, SHAPE_TREE_ELEMENT_TAGS, STROKE_DASH_OPTIONS, SWITCHABLE_LAYOUT_TYPES, SYSTEM_COLOR_MAP, type ShadowInput, ShapeBuilder, type ShapeOptions, ShapePptxElement, ShapeStyle, type SignatureCertificateInfo, type SignatureDetectionResult, type SignatureReference, type SignatureStatus, SlideBuilder, type SlideDiff, SlideSizes, SmartArtLayoutType, SmartArtPptxElement, type StandardEncryptionInfo, StrokeDashType, type StrokeInput, type SupportedShapeType, THEME_PRESETS, TableBuilder, type TableCellInput, type TableInput, type TableOptions, TablePptxElement, type TableRowInput, type TableStyleFlags, type TableStylePartBorder, type TableStylePartBorders, type TableStylePartFill, type TableStylePartText, type TemplateData, TextBuilder, type TextOptions, TextPptxElement, TextSegment, type TextSegmentInput, TextShapeXmlFactory, type TextShapeXmlFactoryInit, TextStyle, type TextStyleInput, type ThemePreset, type ThemePresetName, ThemePresets, type TransitionInput, VML_SHAPE_TAGS, type ValidationIssue, type ValidationResult, type Vec2, XmlObject, ZoomPptxElement, addChartCategory, addChartSeries, addSection, addSmartArtNode, addSmartArtNodeAsChild, applyDrawingColorTransforms, applyKinsokuToXml, applyTemplate, applyThemeToData, areNamespacesSupported, buildCalloutLeaderLineSvgPath, buildClrMapOverrideXml, buildFontFamilyString, buildGuideListExtension, buildLinkedTextBoxChains, buildOle2, buildSingleEffectNode, buildThemeColorMap, catmullRomToBezier, chartDataAddCategory, chartDataAddSeries, chartDataChangeType, chartDataRemoveCategory, chartDataRemoveSeries, chartDataUpdatePoint, checkBlankSlide, checkComplexTables, checkDuplicateTitles, checkLowContrast, checkMissingAltText, checkMissingSlideTitle, checkPresentation, clampUnitInterval, classifyPanose, cloneElement, cloneShapeStyle, cloneSlide, cloneTemplateElementsBySlideId, cloneTextStyle, cloneXmlObject, cm, cmToEmu, colorWithOpacity, combineShapes, computeContrastRatio, computeCycleLayout, computeHierarchyLayout, computeLinearLayout, computeMatrixLayout, computePyramidLayout, computeSmartArtLayout, computeSnakeLayout, convertXmlToStrict, createArrayBufferCopy, createBuiltinVariables, createChartElement, createConnectorElement, createDefaultPptxHandlerRuntime, createEditorId, createFreeformElement, createGroupElement, createImageElement, createLayout, createLayouts, createMediaElement, createModifyVerifier, createPptxSaveConstants, createShapeElement, createTableElement, createTemplateConnectorRawXml, createTemplateShapeRawXml, createTextElement, createUniformTextSegments, decomposeSmartArt, decryptPptx, demoteSmartArtNode, deobfuscateFont, detectDigitalSignatures, detectFileFormat, detectFontFormat, detectOleObjectType, detectStrictConformance, diffPresentations, diffSlides, distributeSegmentsAcrossChain, douglasPeucker, duplicateElement, duplicateSlide, elementActionToPptxAction, elementHasAction, emuToPixels, encryptPptx, ensureArrayValue, estimateTextBoxCapacity, evaluateGeometryPaths, evaluateGuides, extractGuidFromPartName, extractModel3DTransform, fetchUrlToBytes, findCustomShow, findLayoutByName, findLayoutByType, findPlaceholders, formatCommentTimestamp, fragmentShapes, generateFontGuid, generateLayoutXml, getAnimationPresetInfo, getCalloutLeaderLineGeometry, getCalloutTier, getCalloutViewBoxBounds, getCommentMarkerPosition, getConnectorAdjustment, getConnectorPathGeometry, getCssBorderDashStyle, getCustomShowNames, getCustomShowPositionLabel, getElementLabel, getElementTextContent, getElementTransform, getImageMaskStyle, getLinkedTextBoxSegments, getOleObjectTypeLabel, getPanoseWeight, getPresetShapeClipPath, getPresetsByCategory, getRoundRectRadiusPx, getSectionForSlide, getSectionSlideRange, getShapeClipPath, getShapeType, getSignaturePathsToStrip, getSubstituteFontFamily, getSubstituteFonts, getSupportedNamespaces, getSvgStrokeDasharray, getTextCompensationTransform, getThemePreset, getZoomElements, getZoomTargetSlideIndexes, guidToKey, guideEmuToPx, guidePxToEmu, hasDirectSubstitution, hasNonTrivialOverride, hasShapeProperties, hasTextProperties, hexToRgbChannels, hslToRgb, inches, inchesToEmu, inferOleExtensionFromTarget, interpolateShapeGeometry, intersectPolygons, intersectShapes, intersectSvgPaths, isCalloutShape, isConnectorElement, isEditableTextElement, isImageLikeElement, isInkElement, isNamespaceSupported, isShapeElement, isStrictNamespaceUri, isSummaryZoomSlide, isSwitchableLayoutType, isTemplateElement, isTextElement, isTransitionalNamespaceUri, isZoomElement$1 as isZoomElement, isZoomElement as isZoomElementUtil, layoutEngineShapesToDrawingShapes, mailMerge, mergeShapes, mergeStyleParts, mergeThemeColorOverride, mm, moveSlidesToSection, navigateCustomShow, normalizeHexColor, normalizeNamespaceUri, normalizeStrictXml, normalizeStrokeDashType, obfuscateFont, ooxmlArcToSvg, parseActiveXControlsFromSlide, parseAdjustmentValues, parseBodyPrBooleanAttrs, parseChart3DSurfaces, parseChartAxes, parseCondition, parseConditionList, parseCxChartSeries, parseDataTable, parseDataUrlToBytes, parseDrawingColor, parseDrawingColorChoice, parseDrawingColorOpacity, parseDrawingFraction, parseDrawingHueDegrees, parseDrawingPercent, parseEmbeddedXlsx, parseGuideDefinitions, parseHexColor, parseKinsoku, parseLayoutDefinition, parseLineStyle, parseMarker, parseOle2, parsePanoseBytes, parsePanoseString, parsePresentationDrawingGuides, parseSeriesDataLabels, parseSeriesDataPoints, parseSeriesErrBars, parseSeriesExplosion, parseSeriesTrendlines, parseShapeProps, parseSignatureXml, parseSlideDrawingGuides, parseSvgPath, parseVmlElement, parseVmlElements, pixelsToEmu, polygonsToSvgPath, pptxActionToElementAction, promoteSmartArtNode, pt, reResolveSlideColors, readFileAsDataUrl, reflowSmartArtLayout, relativeLuminance, relayoutSmartArt, removeChartCategory, removeChartSeries, removeSection, removeSmartArtNode, reorderSections, reorderSmartArtNode, reorderSmartArtNodeToIndex, repairPptx, replaceShapeGeometry, replaceWithCustomGeometry, resetCloneIdCounter, resetDecomposeCounter, resetIdCounter, resetSectionIdCounter, resetSmartArtEditCounter, resolveCoordinate, resolveCustomShowSlideIndices, resolveModel3DMimeType, resolveTableCellStyle, rgbToHsl, selectAlternateContentBranch, serializeCondition, serializeConditionList, serializeSvgPath, setChartCategories, setChartGrouping, setChartTitle, setChartType, shouldRenderFallbackLabel, shouldReturnToZoomSlide, subtractPolygons, subtractShapes, subtractSvgPaths, svgPathToPolygons, switchSmartArtLayout, toHex, toStrictNamespaceUri, unionPolygons, unionShapes, unionSvgPaths, unwrapAlternateContent, updateChartDataPoint, updateChartSeriesValues, updateSmartArtNodeText, validatePptx, verifyModifyPassword, verifyPassword, verifySignatureDigests, writeBodyPrBooleanAttrs };