pptx-react-viewer 1.0.10 → 1.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +68 -0
- package/dist/{PowerPointViewer-K2URyPlJ.d.mts → PowerPointViewer-DtLlYf0r.d.mts} +47 -2
- package/dist/{PowerPointViewer-K2URyPlJ.d.ts → PowerPointViewer-DtLlYf0r.d.ts} +47 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3171 -915
- package/dist/index.mjs +3172 -916
- package/dist/pptx-viewer.css +1 -1
- package/dist/viewer/index.d.mts +18 -4
- package/dist/viewer/index.d.ts +18 -4
- package/dist/viewer/index.js +3579 -1298
- package/dist/viewer/index.mjs +3580 -1300
- package/node_modules/emf-converter/package.json +1 -1
- package/node_modules/mtx-decompressor/package.json +1 -1
- package/node_modules/pptx-viewer-core/dist/{SvgExporter-DqcmwxFu.d.mts → SvgExporter-B4-1_Hjp.d.mts} +1 -1
- package/node_modules/pptx-viewer-core/dist/{SvgExporter-BZJguJbp.d.ts → SvgExporter-CPr1npgo.d.ts} +1 -1
- package/node_modules/pptx-viewer-core/dist/cli/index.d.mts +2 -2
- package/node_modules/pptx-viewer-core/dist/cli/index.d.ts +2 -2
- package/node_modules/pptx-viewer-core/dist/converter/index.d.mts +3 -3
- package/node_modules/pptx-viewer-core/dist/converter/index.d.ts +3 -3
- package/node_modules/pptx-viewer-core/dist/index.d.mts +5 -5
- package/node_modules/pptx-viewer-core/dist/index.d.ts +5 -5
- package/node_modules/pptx-viewer-core/dist/{presentation-Bo7cMMCe.d.mts → presentation-DgkIYhXo.d.mts} +6 -0
- package/node_modules/pptx-viewer-core/dist/{presentation-Bo7cMMCe.d.ts → presentation-DgkIYhXo.d.ts} +6 -0
- package/node_modules/pptx-viewer-core/dist/{text-operations-D0f1jred.d.ts → text-operations-B6U6XxWt.d.ts} +1 -1
- package/node_modules/pptx-viewer-core/dist/{text-operations-Bo-WG-Z8.d.mts → text-operations-dYKZp3zE.d.mts} +1 -1
- package/node_modules/pptx-viewer-core/package.json +1 -1
- package/package.json +4 -4
package/node_modules/pptx-viewer-core/dist/{SvgExporter-DqcmwxFu.d.mts → SvgExporter-B4-1_Hjp.d.mts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as PptxData, P as PptxElement, K as TextSegment, l as PptxSlide } from './presentation-
|
|
1
|
+
import { m as PptxData, P as PptxElement, K as TextSegment, l as PptxSlide } from './presentation-DgkIYhXo.mjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Platform adapter for file system operations.
|
package/node_modules/pptx-viewer-core/dist/{SvgExporter-BZJguJbp.d.ts → SvgExporter-CPr1npgo.d.ts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as PptxData, P as PptxElement, K as TextSegment, l as PptxSlide } from './presentation-
|
|
1
|
+
import { m as PptxData, P as PptxElement, K as TextSegment, l as PptxSlide } from './presentation-DgkIYhXo.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Platform adapter for file system operations.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { F as FindResult, M as MergeOptions } from '../text-operations-
|
|
3
|
-
import '../presentation-
|
|
2
|
+
import { F as FindResult, M as MergeOptions } from '../text-operations-dYKZp3zE.mjs';
|
|
3
|
+
import '../presentation-DgkIYhXo.mjs';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* CLI command handlers for pptx-cli.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { F as FindResult, M as MergeOptions } from '../text-operations-
|
|
3
|
-
import '../presentation-
|
|
2
|
+
import { F as FindResult, M as MergeOptions } from '../text-operations-B6U6XxWt.js';
|
|
3
|
+
import '../presentation-DgkIYhXo.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* CLI command handlers for pptx-cli.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { T as TextSegmentRenderer } from '../SvgExporter-
|
|
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-
|
|
3
|
-
import { l as PptxSlide } from '../presentation-
|
|
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';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Renders slide-level metadata sections (transition, animations,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { T as TextSegmentRenderer } from '../SvgExporter-
|
|
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-
|
|
3
|
-
import { l as PptxSlide } from '../presentation-
|
|
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';
|
|
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-
|
|
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-
|
|
3
|
-
import { F as FindResult, M as MergeOptions } from './text-operations-
|
|
4
|
-
export { f as findText, m as mergePresentation, r as replaceText, a as replaceTextInSlide } from './text-operations-
|
|
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';
|
|
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-
|
|
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';
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* Runtime type guards for narrowing the {@link PptxElement} union.
|
|
@@ -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-
|
|
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-
|
|
3
|
-
import { F as FindResult, M as MergeOptions } from './text-operations-
|
|
4
|
-
export { f as findText, m as mergePresentation, r as replaceText, a as replaceTextInSlide } from './text-operations-
|
|
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.js';
|
|
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.js';
|
|
3
|
+
import { F as FindResult, M as MergeOptions } from './text-operations-B6U6XxWt.js';
|
|
4
|
+
export { f as findText, m as mergePresentation, r as replaceText, a as replaceTextInSlide } from './text-operations-B6U6XxWt.js';
|
|
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.js';
|
|
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-
|
|
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-CPr1npgo.js';
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* Runtime type guards for narrowing the {@link PptxElement} union.
|
|
@@ -524,6 +524,12 @@ interface TextStyle {
|
|
|
524
524
|
smartTagClean?: boolean;
|
|
525
525
|
/** Bookmark link target (`a:rPr/@bmk`). */
|
|
526
526
|
bookmark?: string;
|
|
527
|
+
/** Paragraph list type for toggling bullet / numbered lists via the toolbar.
|
|
528
|
+
* - `'bullet'` — character bullet (default "•")
|
|
529
|
+
* - `'numbered'` — auto-numbered list (arabicPeriod)
|
|
530
|
+
* - `'none'` — explicitly no list
|
|
531
|
+
*/
|
|
532
|
+
listType?: 'bullet' | 'numbered' | 'none';
|
|
527
533
|
/** Default tab size in px (`a:pPr/@defTabSz` in EMU). */
|
|
528
534
|
defaultTabSize?: number;
|
|
529
535
|
/** East Asian line break flag (`a:pPr/@eaLnBrk`). */
|
package/node_modules/pptx-viewer-core/dist/{presentation-Bo7cMMCe.d.ts → presentation-DgkIYhXo.d.ts}
RENAMED
|
@@ -524,6 +524,12 @@ interface TextStyle {
|
|
|
524
524
|
smartTagClean?: boolean;
|
|
525
525
|
/** Bookmark link target (`a:rPr/@bmk`). */
|
|
526
526
|
bookmark?: string;
|
|
527
|
+
/** Paragraph list type for toggling bullet / numbered lists via the toolbar.
|
|
528
|
+
* - `'bullet'` — character bullet (default "•")
|
|
529
|
+
* - `'numbered'` — auto-numbered list (arabicPeriod)
|
|
530
|
+
* - `'none'` — explicitly no list
|
|
531
|
+
*/
|
|
532
|
+
listType?: 'bullet' | 'numbered' | 'none';
|
|
527
533
|
/** Default tab size in px (`a:pPr/@defTabSz` in EMU). */
|
|
528
534
|
defaultTabSize?: number;
|
|
529
535
|
/** East Asian line break flag (`a:pPr/@eaLnBrk`). */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pptx-react-viewer",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.12",
|
|
4
4
|
"description": "React-based PowerPoint viewer, editor, and canvas export — depends on pptx-viewer-core",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"editor",
|
|
@@ -57,10 +57,10 @@
|
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
59
|
"clsx": "^2.1.1",
|
|
60
|
-
"emf-converter": "^1.0.
|
|
60
|
+
"emf-converter": "^1.0.12",
|
|
61
61
|
"html2canvas-pro": "^2.0.2",
|
|
62
|
-
"mtx-decompressor": "^1.0.
|
|
63
|
-
"pptx-viewer-core": "^1.0.
|
|
62
|
+
"mtx-decompressor": "^1.0.12",
|
|
63
|
+
"pptx-viewer-core": "^1.0.12",
|
|
64
64
|
"tailwind-merge": "^3.5.0"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|