slidecanvas 1.0.9 → 1.1.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/dist/index.d.mts +17 -1
- package/dist/index.d.ts +17 -1
- package/dist/index.js +7 -7
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -7
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -85,4 +85,20 @@ declare class PptxExporter {
|
|
|
85
85
|
export(presentation: Presentation): Promise<void>;
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
|
|
88
|
+
/**
|
|
89
|
+
* A standalone service to convert a Presentation object into a .pptx Blob.
|
|
90
|
+
* Use this for background processing, S3 uploads, or other non-UI tasks.
|
|
91
|
+
*
|
|
92
|
+
* This replicates the logic from PptxExporter but returns a Blob instead of
|
|
93
|
+
* triggering a browser download.
|
|
94
|
+
*/
|
|
95
|
+
declare class PptxBlobExporter {
|
|
96
|
+
/**
|
|
97
|
+
* Converts a Presentation object into a .pptx Blob.
|
|
98
|
+
* @param presentation The presentation data to export.
|
|
99
|
+
* @returns A Promise that resolves to a Blob containing the .pptx file.
|
|
100
|
+
*/
|
|
101
|
+
exportToBlob(presentation: Presentation): Promise<Blob>;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
export { type BaseElement, type ElementType, type ImageElement, PptEditor, PptxBlobExporter, PptxExporter, PptxParser, type Presentation, type PresentationSource, type ShapeElement, type ShapeType, type Slide, type SlideElement, type TextElement };
|
package/dist/index.d.ts
CHANGED
|
@@ -85,4 +85,20 @@ declare class PptxExporter {
|
|
|
85
85
|
export(presentation: Presentation): Promise<void>;
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
|
|
88
|
+
/**
|
|
89
|
+
* A standalone service to convert a Presentation object into a .pptx Blob.
|
|
90
|
+
* Use this for background processing, S3 uploads, or other non-UI tasks.
|
|
91
|
+
*
|
|
92
|
+
* This replicates the logic from PptxExporter but returns a Blob instead of
|
|
93
|
+
* triggering a browser download.
|
|
94
|
+
*/
|
|
95
|
+
declare class PptxBlobExporter {
|
|
96
|
+
/**
|
|
97
|
+
* Converts a Presentation object into a .pptx Blob.
|
|
98
|
+
* @param presentation The presentation data to export.
|
|
99
|
+
* @returns A Promise that resolves to a Blob containing the .pptx file.
|
|
100
|
+
*/
|
|
101
|
+
exportToBlob(presentation: Presentation): Promise<Blob>;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
export { type BaseElement, type ElementType, type ImageElement, PptEditor, PptxBlobExporter, PptxExporter, PptxParser, type Presentation, type PresentationSource, type ShapeElement, type ShapeType, type Slide, type SlideElement, type TextElement };
|