manim-web 0.24.0 → 0.26.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.
Files changed (55) hide show
  1. package/dist/export/SlideDeckExporter.d.ts +210 -0
  2. package/dist/export/SlideDeckExporter.d.ts.map +1 -0
  3. package/dist/export/index.d.ts +1 -0
  4. package/dist/export/index.d.ts.map +1 -1
  5. package/dist/html2canvas-DECPJJGt.js +4025 -0
  6. package/dist/index.d.ts +6 -4
  7. package/dist/index.d.ts.map +1 -1
  8. package/dist/index.es-BiZp4vgJ.js +5753 -0
  9. package/dist/index.js +3 -3
  10. package/dist/integrations/react.js +17 -17
  11. package/dist/integrations/vue.js +16 -16
  12. package/dist/jspdf.es.min-CvMJL6nS.js +18228 -0
  13. package/dist/manim-web.browser.js +3854 -1651
  14. package/dist/mobjects/graph/ForceDirectedLayout.d.ts +65 -0
  15. package/dist/mobjects/graph/ForceDirectedLayout.d.ts.map +1 -0
  16. package/dist/mobjects/graph/GenericGraph.d.ts +11 -0
  17. package/dist/mobjects/graph/GenericGraph.d.ts.map +1 -1
  18. package/dist/mobjects/graph/SankeyDiagram.d.ts +122 -0
  19. package/dist/mobjects/graph/SankeyDiagram.d.ts.map +1 -0
  20. package/dist/mobjects/graph/index.d.ts +4 -1
  21. package/dist/mobjects/graph/index.d.ts.map +1 -1
  22. package/dist/mobjects/graph/layoutAlgorithms.d.ts +54 -0
  23. package/dist/mobjects/graph/layoutAlgorithms.d.ts.map +1 -1
  24. package/dist/mobjects/graph/sankeyLayout.d.ts +97 -0
  25. package/dist/mobjects/graph/sankeyLayout.d.ts.map +1 -0
  26. package/dist/mobjects/graphing/AreaChart.d.ts +101 -0
  27. package/dist/mobjects/graphing/AreaChart.d.ts.map +1 -0
  28. package/dist/mobjects/graphing/CalendarHeatmap.d.ts +111 -0
  29. package/dist/mobjects/graphing/CalendarHeatmap.d.ts.map +1 -0
  30. package/dist/mobjects/graphing/ChordDiagram.d.ts +122 -0
  31. package/dist/mobjects/graphing/ChordDiagram.d.ts.map +1 -0
  32. package/dist/mobjects/graphing/DomainColoring.d.ts +114 -0
  33. package/dist/mobjects/graphing/DomainColoring.d.ts.map +1 -0
  34. package/dist/mobjects/graphing/RadarChart.d.ts +135 -0
  35. package/dist/mobjects/graphing/RadarChart.d.ts.map +1 -0
  36. package/dist/mobjects/graphing/StackedBarChart.d.ts +131 -0
  37. package/dist/mobjects/graphing/StackedBarChart.d.ts.map +1 -0
  38. package/dist/mobjects/graphing/StepChart.d.ts +90 -0
  39. package/dist/mobjects/graphing/StepChart.d.ts.map +1 -0
  40. package/dist/mobjects/graphing/Treemap.d.ts +100 -0
  41. package/dist/mobjects/graphing/Treemap.d.ts.map +1 -0
  42. package/dist/mobjects/graphing/WaterfallChart.d.ts +164 -0
  43. package/dist/mobjects/graphing/WaterfallChart.d.ts.map +1 -0
  44. package/dist/mobjects/graphing/chartColors.d.ts +18 -0
  45. package/dist/mobjects/graphing/chartColors.d.ts.map +1 -0
  46. package/dist/mobjects/graphing/chordLayout.d.ts +89 -0
  47. package/dist/mobjects/graphing/chordLayout.d.ts.map +1 -0
  48. package/dist/mobjects/graphing/index.d.ts +12 -0
  49. package/dist/mobjects/graphing/index.d.ts.map +1 -1
  50. package/dist/mobjects/graphing/treemapLayout.d.ts +83 -0
  51. package/dist/mobjects/graphing/treemapLayout.d.ts.map +1 -0
  52. package/dist/purify.es-MUrypqLF.js +864 -0
  53. package/dist/{src-DRH8XOAP.js → src-B2lipHn1.js} +3836 -1633
  54. package/dist/typeof-CcP5rTWg.js +11 -0
  55. package/package.json +2 -1
@@ -0,0 +1,210 @@
1
+ /**
2
+ * SlideDeckExporter - export an interactive manim-web slide deck to a static
3
+ * document: one still image per slide, assembled into a PDF (or PPTX).
4
+ *
5
+ * Interactive slides play to video/GIF/SVG/PNG, but educators often want a flat
6
+ * handout: a PDF where each slide is one page. This exporter walks the player's
7
+ * slides (built by `MasterTimeline.finalizeSlides()`), seeks the scene to each
8
+ * slide's representative frame, captures it as a raster image, and places one
9
+ * image per page.
10
+ *
11
+ * The heavy document libraries are not bundled. `jspdf` is lazy-loaded through a
12
+ * dynamic `import()` only when the caller uses the default PDF factory, so the
13
+ * base bundle stays light. `pptxgenjs` is fully optional: PPTX works when the
14
+ * caller passes `pptxFactory`, or installs `pptxgenjs` so the default optional
15
+ * import resolves.
16
+ *
17
+ * Every external dependency is a dependency-injection seam (`pdfFactory`,
18
+ * `pptxFactory`, `captureSlide`), so tests run with lightweight stubs and need
19
+ * neither the real libraries, a GPU, nor a DOM.
20
+ */
21
+ /**
22
+ * A slide's time span on the timeline. Matches the `Slide` interface produced
23
+ * by `MasterTimeline.getSlides()` (only the two fields this exporter reads).
24
+ */
25
+ export interface SlideBounds {
26
+ /** Slide start time in seconds (first frame). */
27
+ readonly startTime: number;
28
+ /** Slide end time in seconds (last frame). */
29
+ readonly endTime: number;
30
+ }
31
+ /**
32
+ * Duck-typed scene the default capturer needs: seek to a time, read the canvas,
33
+ * and report the pixel size. `Scene` matches this structurally.
34
+ */
35
+ export interface SlideCaptureScene {
36
+ seek(time: number): void;
37
+ getCanvas(): HTMLCanvasElement;
38
+ getWidth(): number;
39
+ getHeight(): number;
40
+ }
41
+ /**
42
+ * Duck-typed source of slides plus the scene to capture. A `Player` matches
43
+ * this: `player.timeline.getSlides()` and `player.scene`.
44
+ */
45
+ export interface SlideDeckSource {
46
+ /** The timeline that exposes the finalized slide list. */
47
+ readonly timeline: {
48
+ getSlides(): readonly SlideBounds[];
49
+ };
50
+ /** The scene the capturer seeks and reads. */
51
+ readonly scene: SlideCaptureScene;
52
+ }
53
+ /** One captured slide still: an image data URL and its pixel dimensions. */
54
+ export interface CapturedSlide {
55
+ /** Image data URL (for example a PNG `data:` URL) ready for `addImage`. */
56
+ dataUrl: string;
57
+ /** Captured image width in pixels. */
58
+ width: number;
59
+ /** Captured image height in pixels. */
60
+ height: number;
61
+ }
62
+ /**
63
+ * Per-slide frame capturer. Seeks the scene to `time` and returns the still.
64
+ * Injectable so tests avoid a GPU and a DOM.
65
+ */
66
+ export type SlideCapturer = (scene: SlideCaptureScene, time: number) => CapturedSlide | Promise<CapturedSlide>;
67
+ /** jsPDF measurement unit for page size. */
68
+ export type PdfUnit = 'pt' | 'mm' | 'cm' | 'in' | 'px';
69
+ /** Page orientation. */
70
+ export type PdfOrientation = 'landscape' | 'portrait';
71
+ /** jsPDF page format: a named size (`a4`, `letter`) or `[width, height]`. */
72
+ export type PdfPageFormat = string | [number, number];
73
+ /** Options the PDF factory receives, matching the jsPDF constructor options. */
74
+ export interface PdfInitOptions {
75
+ orientation: PdfOrientation;
76
+ unit: PdfUnit;
77
+ format: PdfPageFormat;
78
+ }
79
+ /**
80
+ * Minimal jsPDF document surface this exporter uses. A real `jsPDF` instance
81
+ * satisfies it; tests pass a recording stub.
82
+ */
83
+ export interface PdfDocument {
84
+ addPage(format?: PdfPageFormat, orientation?: PdfOrientation): PdfDocument;
85
+ addImage(data: string, format: string, x: number, y: number, w: number, h: number): PdfDocument;
86
+ setFillColor(r: number, g: number, b: number): PdfDocument;
87
+ rect(x: number, y: number, w: number, h: number, style?: string): PdfDocument;
88
+ output(type: 'blob'): Blob;
89
+ save(filename: string): void;
90
+ internal: {
91
+ pageSize: {
92
+ getWidth(): number;
93
+ getHeight(): number;
94
+ };
95
+ };
96
+ }
97
+ /** Builds a PDF document. Injectable; the default lazy-imports `jspdf`. */
98
+ export type PdfFactory = (options: PdfInitOptions) => PdfDocument | Promise<PdfDocument>;
99
+ /** Options for {@link exportSlidesToPDF}. */
100
+ export interface SlidePdfExportOptions {
101
+ /** Which still of each slide to capture: 'first' or 'last' frame. Default 'last'. */
102
+ still?: 'first' | 'last';
103
+ /** Page orientation. Default 'landscape' (slides are usually wide). */
104
+ orientation?: PdfOrientation;
105
+ /** Page size: a jsPDF format name or `[width, height]` in `unit`. Default 'a4'. */
106
+ pageSize?: PdfPageFormat;
107
+ /** Measurement unit for the page size. Default 'pt'. */
108
+ unit?: PdfUnit;
109
+ /** Page background fill as `[r, g, b]` (0-255). Omit for no fill (white page). */
110
+ background?: [number, number, number];
111
+ /** Image format passed to `addImage`. Default 'PNG'. */
112
+ imageFormat?: string;
113
+ /** DI: PDF document factory. Default lazy-imports `jspdf`. */
114
+ pdfFactory?: PdfFactory;
115
+ /** DI: per-slide frame capturer. Default seeks and reads `canvas.toDataURL`. */
116
+ captureSlide?: SlideCapturer;
117
+ /** Progress callback in `[0, 1]`. */
118
+ onProgress?: (progress: number) => void;
119
+ }
120
+ /**
121
+ * Export a slide deck to a PDF, one page per slide.
122
+ *
123
+ * For each slide the scene seeks to the chosen still (first or last frame), the
124
+ * frame is captured, and the image is placed centered on its own page. An empty
125
+ * deck produces no document and resolves to `null`.
126
+ *
127
+ * @param source - The slide source (a `Player` works directly)
128
+ * @param options - Export options
129
+ * @returns A Promise that resolves to the PDF Blob, or `null` for an empty deck
130
+ */
131
+ export declare function exportSlidesToPDF(source: SlideDeckSource, options?: SlidePdfExportOptions): Promise<Blob | null>;
132
+ /**
133
+ * Export a slide deck to a PDF and download it in the browser.
134
+ *
135
+ * Degrades without throwing: when no `document` is available (worker, headless,
136
+ * SSR) it logs a warning and returns. An empty deck is a no-op (no download).
137
+ *
138
+ * @param source - The slide source (a `Player` works directly)
139
+ * @param filename - The download filename. Defaults to 'slides.pdf'.
140
+ * @param options - Export options
141
+ */
142
+ export declare function exportAndDownloadSlidesToPDF(source: SlideDeckSource, filename?: string, options?: SlidePdfExportOptions): Promise<void>;
143
+ /** Options a slide's `addImage` accepts (a subset of pptxgenjs). */
144
+ export interface PptxImageOptions {
145
+ data: string;
146
+ x: number;
147
+ y: number;
148
+ w: number;
149
+ h: number;
150
+ sizing?: {
151
+ type: 'contain' | 'cover' | 'crop';
152
+ w: number;
153
+ h: number;
154
+ };
155
+ }
156
+ /** Minimal pptxgenjs slide surface this exporter uses. */
157
+ export interface PptxSlide {
158
+ addImage(options: PptxImageOptions): void;
159
+ background?: {
160
+ color: string;
161
+ };
162
+ }
163
+ /** Minimal pptxgenjs presentation surface this exporter uses. */
164
+ export interface PptxDocument {
165
+ addSlide(): PptxSlide;
166
+ write(options: {
167
+ outputType: 'blob';
168
+ }): Blob | Promise<Blob>;
169
+ writeFile(options: {
170
+ fileName: string;
171
+ }): void | Promise<string>;
172
+ defineLayout?(options: {
173
+ name: string;
174
+ width: number;
175
+ height: number;
176
+ }): void;
177
+ layout?: string;
178
+ }
179
+ /** Builds a PPTX presentation. Injectable; the default optionally imports `pptxgenjs`. */
180
+ export type PptxFactory = () => PptxDocument | Promise<PptxDocument>;
181
+ /** Options for {@link exportSlidesToPPTX}. */
182
+ export interface SlidePptxExportOptions {
183
+ /** Which still of each slide to capture: 'first' or 'last' frame. Default 'last'. */
184
+ still?: 'first' | 'last';
185
+ /** Slide width in inches. Default 13.333 (16:9 wide). */
186
+ slideWidth?: number;
187
+ /** Slide height in inches. Default 7.5 (16:9 wide). */
188
+ slideHeight?: number;
189
+ /** Slide background color as a hex string (no leading '#'), for example 'FFFFFF'. */
190
+ background?: string;
191
+ /** DI: presentation factory. Default optionally imports `pptxgenjs`. */
192
+ pptxFactory?: PptxFactory;
193
+ /** DI: per-slide frame capturer. Default seeks and reads `canvas.toDataURL`. */
194
+ captureSlide?: SlideCapturer;
195
+ /** Progress callback in `[0, 1]`. */
196
+ onProgress?: (progress: number) => void;
197
+ }
198
+ /**
199
+ * Export a slide deck to a PPTX presentation, one slide per deck slide.
200
+ *
201
+ * PPTX support is optional: pass `pptxFactory`, or install `pptxgenjs` so the
202
+ * default optional import resolves. Each captured still is placed to fit the
203
+ * slide, preserving aspect. An empty deck resolves to `null`.
204
+ *
205
+ * @param source - The slide source (a `Player` works directly)
206
+ * @param options - Export options
207
+ * @returns A Promise that resolves to the PPTX Blob, or `null` for an empty deck
208
+ */
209
+ export declare function exportSlidesToPPTX(source: SlideDeckSource, options?: SlidePptxExportOptions): Promise<Blob | null>;
210
+ //# sourceMappingURL=SlideDeckExporter.d.ts.map
@@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AAI,GAAG,IAAI,CAAC,CA+BtB"}
@@ -4,4 +4,5 @@ export { exportFramePNG, exportPNGSequence, downloadBlob, exportAndDownloadPNG,
4
4
  export { WebCodecsExporter, createWebCodecsExporter, type WebCodecsExportOptions, type WebCodecsVideoCodec, } from './WebCodecsExporter';
5
5
  export { chooseVideoExporterStrategy, type VideoExporterStrategy } from './chooseExporter';
6
6
  export { sceneToSVG, exportSVG, exportAndDownloadSVG, type SvgExportOptions, type SvgExportableScene, type SvgExportableCamera, } from './SvgExporter';
7
+ export { exportSlidesToPDF, exportAndDownloadSlidesToPDF, exportSlidesToPPTX, type SlideBounds, type SlideCaptureScene, type SlideDeckSource, type CapturedSlide, type SlideCapturer, type PdfUnit, type PdfOrientation, type PdfPageFormat, type PdfInitOptions, type PdfDocument, type PdfFactory, type SlidePdfExportOptions, type PptxImageOptions, type PptxSlide, type PptxDocument, type PptxFactory, type SlidePptxExportOptions, } from './SlideDeckExporter';
7
8
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/export/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAE,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACtF,OAAO,EAAE,aAAa,EAAE,mBAAmB,EAAE,KAAK,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAG9F,OAAO,EACL,cAAc,EACd,iBAAiB,EACjB,YAAY,EACZ,oBAAoB,EACpB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,GACxB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,iBAAiB,EACjB,uBAAuB,EACvB,KAAK,sBAAsB,EAC3B,KAAK,mBAAmB,GACzB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,2BAA2B,EAAE,KAAK,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAC3F,OAAO,EACL,UAAU,EACV,SAAS,EACT,oBAAoB,EACpB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,GACzB,MAAM,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/export/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAE,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACtF,OAAO,EAAE,aAAa,EAAE,mBAAmB,EAAE,KAAK,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAG9F,OAAO,EACL,cAAc,EACd,iBAAiB,EACjB,YAAY,EACZ,oBAAoB,EACpB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,GACxB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,iBAAiB,EACjB,uBAAuB,EACvB,KAAK,sBAAsB,EAC3B,KAAK,mBAAmB,GACzB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,2BAA2B,EAAE,KAAK,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAC3F,OAAO,EACL,UAAU,EACV,SAAS,EACT,oBAAoB,EACpB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,GACzB,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,iBAAiB,EACjB,4BAA4B,EAC5B,kBAAkB,EAClB,KAAK,WAAW,EAChB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,aAAa,EAClB,KAAK,OAAO,EACZ,KAAK,cAAc,EACnB,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,WAAW,EAChB,KAAK,UAAU,EACf,KAAK,qBAAqB,EAC1B,KAAK,gBAAgB,EACrB,KAAK,SAAS,EACd,KAAK,YAAY,EACjB,KAAK,WAAW,EAChB,KAAK,sBAAsB,GAC5B,MAAM,qBAAqB,CAAC"}