deckjsx 0.6.0 → 0.8.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 +140 -25
- package/dist/adapter-BamaV2yi.mjs +8638 -0
- package/dist/adapter-C2AHiDGa.d.mts +38 -0
- package/dist/adapter.d.mts +2 -2
- package/dist/adapter.mjs +2 -2
- package/dist/{index-C5l8PX5V.d.mts → index-dx2ZSBgF.d.mts} +380 -314
- package/dist/index.d.mts +202 -32
- package/dist/index.mjs +5557 -1063
- package/dist/inspect.d.mts +4 -3
- package/dist/inspect.mjs +2 -1
- package/dist/jsx-DGGM5erN.mjs +403 -0
- package/dist/jsx-dev-runtime.d.mts +26 -4
- package/dist/jsx-dev-runtime.mjs +6 -7
- package/dist/jsx-runtime-_eIs-wi1.d.mts +42 -0
- package/dist/jsx-runtime.d.mts +3 -3
- package/dist/jsx-runtime.mjs +1 -1
- package/dist/model-BVkO8qGK.d.mts +1257 -0
- package/dist/model-DIuh51qh.mjs +32 -0
- package/dist/node-output-ChRpOCV8.mjs +28 -0
- package/dist/resolve-BD1dHxZd.d.mts +36 -0
- package/package.json +6 -22
- package/dist/adapter-BbtteJ7s.mjs +0 -11244
- package/dist/adapter-C8xw46nz.d.mts +0 -22
- package/dist/jsx-C671yNZa.mjs +0 -290
- package/dist/jsx-runtime-DwfBuBkY.d.mts +0 -57
- package/dist/pptx-PzEK54aA.d.mts +0 -448
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { $ as Diagnostics } from "./index-dx2ZSBgF.mjs";
|
|
2
|
+
import { bn as RenderedArtifact, hn as RenderInspectionSummary, in as OutputFormat, rn as InspectionDetailLevel, sn as ProjectionFormat, w as PptxPackageModel } from "./model-BVkO8qGK.mjs";
|
|
3
|
+
|
|
4
|
+
//#region src/pptx-options.d.ts
|
|
5
|
+
type PptxCompressionMode = "balanced" | "fast" | "small" | "store";
|
|
6
|
+
//#endregion
|
|
7
|
+
//#region src/adapter.d.ts
|
|
8
|
+
type PptxRenderOptions = {
|
|
9
|
+
readonly output?: string;
|
|
10
|
+
readonly compression?: PptxCompressionMode;
|
|
11
|
+
readonly inspection?: InspectionDetailLevel;
|
|
12
|
+
};
|
|
13
|
+
type RenderOptions = PptxRenderOptions;
|
|
14
|
+
type WriterAdapterResult<TFormat extends OutputFormat = OutputFormat> = {
|
|
15
|
+
readonly diagnostics: Diagnostics;
|
|
16
|
+
readonly artifact?: RenderedArtifact<TFormat>;
|
|
17
|
+
readonly summary?: RenderInspectionSummary;
|
|
18
|
+
readonly outputSideEffect?: {
|
|
19
|
+
readonly path: string;
|
|
20
|
+
readonly failure?: {
|
|
21
|
+
readonly message: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
type WriterRenderContext = {
|
|
26
|
+
readonly kind: "deckjsx.writerRenderContext";
|
|
27
|
+
};
|
|
28
|
+
type WriterAdapter<TProjection = PptxPackageModel, TFormat extends OutputFormat = OutputFormat> = {
|
|
29
|
+
readonly kind: "deckjsx.writerAdapter";
|
|
30
|
+
readonly name: string;
|
|
31
|
+
readonly projectionFormat: ProjectionFormat;
|
|
32
|
+
readonly format: TFormat;
|
|
33
|
+
readonly options: RenderOptions;
|
|
34
|
+
render(projection: TProjection, context?: WriterRenderContext): Promise<WriterAdapterResult<TFormat>>;
|
|
35
|
+
};
|
|
36
|
+
declare function pptx(options?: PptxRenderOptions): WriterAdapter<PptxPackageModel, "pptx">;
|
|
37
|
+
//#endregion
|
|
38
|
+
export { WriterRenderContext as a, WriterAdapterResult as i, RenderOptions as n, pptx as o, WriterAdapter as r, PptxCompressionMode as s, PptxRenderOptions as t };
|
package/dist/adapter.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as
|
|
2
|
-
export { RenderOptions, WriterAdapter, WriterAdapterResult,
|
|
1
|
+
import { a as WriterRenderContext, i as WriterAdapterResult, n as RenderOptions, o as pptx, r as WriterAdapter, s as PptxCompressionMode, t as PptxRenderOptions } from "./adapter-C2AHiDGa.mjs";
|
|
2
|
+
export { PptxCompressionMode, PptxRenderOptions, RenderOptions, WriterAdapter, WriterAdapterResult, WriterRenderContext, pptx };
|
package/dist/adapter.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as
|
|
2
|
-
export {
|
|
1
|
+
import { t as pptx } from "./adapter-BamaV2yi.mjs";
|
|
2
|
+
export { pptx };
|