pptx-react-viewer 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +982 -0
- package/dist/PowerPointViewer-K2URyPlJ.d.mts +522 -0
- package/dist/PowerPointViewer-K2URyPlJ.d.ts +522 -0
- package/dist/index.d.mts +71 -0
- package/dist/index.d.ts +71 -0
- package/dist/index.js +121771 -0
- package/dist/index.mjs +121737 -0
- package/dist/pptx-viewer.css +2 -0
- package/dist/viewer/index.d.mts +267 -0
- package/dist/viewer/index.d.ts +267 -0
- package/dist/viewer/index.js +121947 -0
- package/dist/viewer/index.mjs +121908 -0
- package/node_modules/emf-converter/README.md +629 -0
- package/node_modules/emf-converter/dist/index.d.mts +86 -0
- package/node_modules/emf-converter/dist/index.d.ts +86 -0
- package/node_modules/emf-converter/dist/index.js +4199 -0
- package/node_modules/emf-converter/dist/index.mjs +4195 -0
- package/node_modules/emf-converter/package.json +42 -0
- package/node_modules/mtx-decompressor/README.md +271 -0
- package/node_modules/mtx-decompressor/dist/index.d.mts +83 -0
- package/node_modules/mtx-decompressor/dist/index.d.ts +83 -0
- package/node_modules/mtx-decompressor/dist/index.js +1510 -0
- package/node_modules/mtx-decompressor/dist/index.mjs +1506 -0
- package/node_modules/mtx-decompressor/package.json +37 -0
- package/node_modules/pptx-viewer-core/README.md +1294 -0
- package/node_modules/pptx-viewer-core/dist/SvgExporter-BZJguJbp.d.ts +557 -0
- package/node_modules/pptx-viewer-core/dist/SvgExporter-DqcmwxFu.d.mts +557 -0
- package/node_modules/pptx-viewer-core/dist/cli/index.d.mts +150 -0
- package/node_modules/pptx-viewer-core/dist/cli/index.d.ts +150 -0
- package/node_modules/pptx-viewer-core/dist/cli/index.js +39790 -0
- package/node_modules/pptx-viewer-core/dist/cli/index.mjs +39757 -0
- package/node_modules/pptx-viewer-core/dist/converter/index.d.mts +48 -0
- package/node_modules/pptx-viewer-core/dist/converter/index.d.ts +48 -0
- package/node_modules/pptx-viewer-core/dist/converter/index.js +3676 -0
- package/node_modules/pptx-viewer-core/dist/converter/index.mjs +3664 -0
- package/node_modules/pptx-viewer-core/dist/index.d.mts +10796 -0
- package/node_modules/pptx-viewer-core/dist/index.d.ts +10796 -0
- package/node_modules/pptx-viewer-core/dist/index.js +49658 -0
- package/node_modules/pptx-viewer-core/dist/index.mjs +49270 -0
- package/node_modules/pptx-viewer-core/dist/presentation-Bo7cMMCe.d.mts +4558 -0
- package/node_modules/pptx-viewer-core/dist/presentation-Bo7cMMCe.d.ts +4558 -0
- package/node_modules/pptx-viewer-core/dist/text-operations-Bo-WG-Z8.d.mts +134 -0
- package/node_modules/pptx-viewer-core/dist/text-operations-D0f1jred.d.ts +134 -0
- package/node_modules/pptx-viewer-core/package.json +61 -0
- package/package.json +89 -0
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { T as TextSegmentRenderer } from '../SvgExporter-DqcmwxFu.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-DqcmwxFu.mjs';
|
|
3
|
+
import { l as PptxSlide } from '../presentation-Bo7cMMCe.mjs';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Renders slide-level metadata sections (transition, animations,
|
|
7
|
+
* warnings, comments, speaker notes) into Markdown strings.
|
|
8
|
+
*/
|
|
9
|
+
declare class SlideMetadataRenderer {
|
|
10
|
+
private readonly textRenderer;
|
|
11
|
+
constructor(textRenderer: TextSegmentRenderer);
|
|
12
|
+
/**
|
|
13
|
+
* Renders the slide transition effect as a short metadata line.
|
|
14
|
+
*/
|
|
15
|
+
renderTransition(slide: PptxSlide): string;
|
|
16
|
+
/**
|
|
17
|
+
* Renders the slide's animation effects grouped by click sequence.
|
|
18
|
+
*/
|
|
19
|
+
renderAnimations(slide: PptxSlide): string;
|
|
20
|
+
/**
|
|
21
|
+
* Renders any compatibility warnings for the slide.
|
|
22
|
+
*/
|
|
23
|
+
renderWarnings(slide: PptxSlide): string;
|
|
24
|
+
/**
|
|
25
|
+
* Renders any review comments attached to the slide.
|
|
26
|
+
*/
|
|
27
|
+
renderComments(slide: PptxSlide): string;
|
|
28
|
+
/**
|
|
29
|
+
* Renders the slide's speaker notes as a Markdown blockquote.
|
|
30
|
+
*/
|
|
31
|
+
renderNotes(slide: PptxSlide): string;
|
|
32
|
+
/**
|
|
33
|
+
* Groups animations by click sequence. Each `onClick` trigger starts
|
|
34
|
+
* a new group; `withPrevious` and `afterPrevious` are appended to the
|
|
35
|
+
* current group.
|
|
36
|
+
*/
|
|
37
|
+
private groupByClickSequence;
|
|
38
|
+
/**
|
|
39
|
+
* Converts legacy animation data into the NativeAnimationLike shape.
|
|
40
|
+
*/
|
|
41
|
+
private mapLegacyAnimations;
|
|
42
|
+
/**
|
|
43
|
+
* Produces a human-readable summary of a single animation effect.
|
|
44
|
+
*/
|
|
45
|
+
private summariseAnimation;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export { SlideMetadataRenderer };
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { T as TextSegmentRenderer } from '../SvgExporter-BZJguJbp.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-BZJguJbp.js';
|
|
3
|
+
import { l as PptxSlide } from '../presentation-Bo7cMMCe.js';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Renders slide-level metadata sections (transition, animations,
|
|
7
|
+
* warnings, comments, speaker notes) into Markdown strings.
|
|
8
|
+
*/
|
|
9
|
+
declare class SlideMetadataRenderer {
|
|
10
|
+
private readonly textRenderer;
|
|
11
|
+
constructor(textRenderer: TextSegmentRenderer);
|
|
12
|
+
/**
|
|
13
|
+
* Renders the slide transition effect as a short metadata line.
|
|
14
|
+
*/
|
|
15
|
+
renderTransition(slide: PptxSlide): string;
|
|
16
|
+
/**
|
|
17
|
+
* Renders the slide's animation effects grouped by click sequence.
|
|
18
|
+
*/
|
|
19
|
+
renderAnimations(slide: PptxSlide): string;
|
|
20
|
+
/**
|
|
21
|
+
* Renders any compatibility warnings for the slide.
|
|
22
|
+
*/
|
|
23
|
+
renderWarnings(slide: PptxSlide): string;
|
|
24
|
+
/**
|
|
25
|
+
* Renders any review comments attached to the slide.
|
|
26
|
+
*/
|
|
27
|
+
renderComments(slide: PptxSlide): string;
|
|
28
|
+
/**
|
|
29
|
+
* Renders the slide's speaker notes as a Markdown blockquote.
|
|
30
|
+
*/
|
|
31
|
+
renderNotes(slide: PptxSlide): string;
|
|
32
|
+
/**
|
|
33
|
+
* Groups animations by click sequence. Each `onClick` trigger starts
|
|
34
|
+
* a new group; `withPrevious` and `afterPrevious` are appended to the
|
|
35
|
+
* current group.
|
|
36
|
+
*/
|
|
37
|
+
private groupByClickSequence;
|
|
38
|
+
/**
|
|
39
|
+
* Converts legacy animation data into the NativeAnimationLike shape.
|
|
40
|
+
*/
|
|
41
|
+
private mapLegacyAnimations;
|
|
42
|
+
/**
|
|
43
|
+
* Produces a human-readable summary of a single animation effect.
|
|
44
|
+
*/
|
|
45
|
+
private summariseAnimation;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export { SlideMetadataRenderer };
|