deckjsx 0.4.0 → 0.5.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/deck-CvTHG5ik.d.mts +78 -0
- package/dist/index-_eBM2cs3.d.mts +245 -0
- package/dist/{jsx-runtime-BMKEs7aG.d.mts → index-sb451NVh.d.mts} +120 -131
- package/dist/index.d.mts +4 -320
- package/dist/index.mjs +887 -11251
- package/dist/inspect.d.mts +3 -0
- package/dist/inspect.mjs +1 -0
- package/dist/{jsx-Crlbye9V.mjs → jsx-CK-x7PLd.mjs} +1 -1
- package/dist/jsx-dev-runtime.d.mts +2 -1
- package/dist/jsx-dev-runtime.mjs +1 -1
- package/dist/jsx-runtime-Bk7Wx3AL.d.mts +57 -0
- package/dist/jsx-runtime.d.mts +2 -1
- package/dist/jsx-runtime.mjs +1 -1
- package/dist/legacy.d.mts +6 -0
- package/dist/legacy.mjs +2 -0
- package/dist/pptxgenjs-BTMKb1WX.mjs +11143 -0
- package/package.json +3 -1
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { At as GraphNodeId, C as COMPOSITION_SOURCE, D as SlideFactory, E as CompositionSourceInternals, P as StyleSheet, T as CompositionSource, Zt as Diagnostics, h as OutputConfig, jt as SemanticAuthorGraph, k as SourceContextInput, s as DeckOptions } from "./index-sb451NVh.mjs";
|
|
2
|
+
import { v as PresentationIR } from "./index-_eBM2cs3.mjs";
|
|
3
|
+
|
|
4
|
+
//#region src/style/resolve.d.ts
|
|
5
|
+
type ResolvedStyleLayer = "default" | "theme" | "class" | "style";
|
|
6
|
+
type ResolvedStyleSource = {
|
|
7
|
+
readonly layer: "default";
|
|
8
|
+
} | {
|
|
9
|
+
readonly layer: "theme";
|
|
10
|
+
readonly defaultKey: string;
|
|
11
|
+
} | {
|
|
12
|
+
readonly layer: "class";
|
|
13
|
+
readonly className: string;
|
|
14
|
+
readonly stylesheetIndex: number;
|
|
15
|
+
readonly ruleIndex: number;
|
|
16
|
+
readonly selector: string;
|
|
17
|
+
} | {
|
|
18
|
+
readonly layer: "style";
|
|
19
|
+
};
|
|
20
|
+
type ResolvedStyleProperty = {
|
|
21
|
+
readonly value: unknown;
|
|
22
|
+
readonly source: ResolvedStyleSource;
|
|
23
|
+
};
|
|
24
|
+
type ResolvedStyle = {
|
|
25
|
+
readonly style: Readonly<Record<string, unknown>>;
|
|
26
|
+
readonly properties: Readonly<Record<string, ResolvedStyleProperty>>;
|
|
27
|
+
readonly appliedClasses: readonly ResolvedStyleSource[];
|
|
28
|
+
};
|
|
29
|
+
type ResolvedStyleMap = ReadonlyMap<GraphNodeId, ResolvedStyle>;
|
|
30
|
+
type StyleResolutionResult = {
|
|
31
|
+
readonly resolvedStyles: ResolvedStyleMap;
|
|
32
|
+
readonly diagnostics: Diagnostics;
|
|
33
|
+
};
|
|
34
|
+
//#endregion
|
|
35
|
+
//#region src/deck.d.ts
|
|
36
|
+
type CompileMode = "inspect" | "strict";
|
|
37
|
+
type CompileInspectResult = {
|
|
38
|
+
readonly graph?: SemanticAuthorGraph;
|
|
39
|
+
readonly diagnostics: Diagnostics;
|
|
40
|
+
readonly resolvedStyles?: ResolvedStyleMap;
|
|
41
|
+
};
|
|
42
|
+
type WithSource<TSourceContext> = [TSourceContext] extends [void] ? never : (sourceContext: TSourceContext) => BoundSource<TSourceContext>;
|
|
43
|
+
declare class BoundSource<TSourceContext = void> implements CompositionSource<TSourceContext> {
|
|
44
|
+
#private;
|
|
45
|
+
constructor(source: Deck<TSourceContext>, sourceContext: TSourceContext);
|
|
46
|
+
[COMPOSITION_SOURCE](): CompositionSourceInternals<TSourceContext>;
|
|
47
|
+
compile(): SemanticAuthorGraph;
|
|
48
|
+
compile(config: {
|
|
49
|
+
mode?: "strict";
|
|
50
|
+
}): SemanticAuthorGraph;
|
|
51
|
+
compile(config: {
|
|
52
|
+
mode: "inspect";
|
|
53
|
+
}): CompileInspectResult;
|
|
54
|
+
render(): PresentationIR;
|
|
55
|
+
output(config: OutputConfig): Promise<void>;
|
|
56
|
+
}
|
|
57
|
+
declare class Deck<TSourceContext = void> implements CompositionSource<TSourceContext> {
|
|
58
|
+
#private;
|
|
59
|
+
readonly withSource: WithSource<TSourceContext>;
|
|
60
|
+
constructor(options: DeckOptions);
|
|
61
|
+
get options(): DeckOptions;
|
|
62
|
+
[COMPOSITION_SOURCE](): CompositionSourceInternals<TSourceContext>;
|
|
63
|
+
useStyles(stylesheet: StyleSheet): this;
|
|
64
|
+
add(slide: SlideFactory<TSourceContext>): this;
|
|
65
|
+
mount<TChildContext>(sourceKey: string, child: Deck<TChildContext>, ...context: [TChildContext] extends [void] ? [] : [sourceContext: SourceContextInput<TSourceContext, TChildContext>]): this;
|
|
66
|
+
mount<TChildContext>(sourceKey: string, child: BoundSource<TChildContext>): this;
|
|
67
|
+
render(this: Deck<void>): PresentationIR;
|
|
68
|
+
compile(this: Deck<void>): SemanticAuthorGraph;
|
|
69
|
+
compile(this: Deck<void>, config: {
|
|
70
|
+
mode?: "strict";
|
|
71
|
+
}): SemanticAuthorGraph;
|
|
72
|
+
compile(this: Deck<void>, config: {
|
|
73
|
+
mode: "inspect";
|
|
74
|
+
}): CompileInspectResult;
|
|
75
|
+
output(this: Deck<void>, config: OutputConfig): Promise<void>;
|
|
76
|
+
}
|
|
77
|
+
//#endregion
|
|
78
|
+
export { ResolvedStyle as a, ResolvedStyleProperty as c, Deck as i, ResolvedStyleSource as l, CompileInspectResult as n, ResolvedStyleLayer as o, CompileMode as r, ResolvedStyleMap as s, BoundSource as t, StyleResolutionResult as u };
|
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
import { F as BorderStyle, Tt as VerticalAlign, _t as StrokeLineCap, gt as StrokeDashType, it as CssVisibility, t as BackendName, vt as StrokeLineJoin, yt as TextFit } from "./index-sb451NVh.mjs";
|
|
2
|
+
|
|
3
|
+
//#region src/ir/index.d.ts
|
|
4
|
+
type PresentationIR = {
|
|
5
|
+
version: "0.1";
|
|
6
|
+
meta?: {
|
|
7
|
+
title?: string;
|
|
8
|
+
author?: string;
|
|
9
|
+
subject?: string;
|
|
10
|
+
};
|
|
11
|
+
size: SizeIR;
|
|
12
|
+
slides: ReadonlyArray<SlideIR>;
|
|
13
|
+
};
|
|
14
|
+
type SizeIR = {
|
|
15
|
+
widthEmu: number;
|
|
16
|
+
heightEmu: number;
|
|
17
|
+
};
|
|
18
|
+
type FrameIR = SizeIR & {
|
|
19
|
+
xEmu: number;
|
|
20
|
+
yEmu: number;
|
|
21
|
+
};
|
|
22
|
+
type SlideIR = {
|
|
23
|
+
id: string;
|
|
24
|
+
name?: string;
|
|
25
|
+
background?: FillIR;
|
|
26
|
+
backgroundLayers?: ReadonlyArray<BackgroundLayerIR>;
|
|
27
|
+
nodes: ReadonlyArray<NodeIR>;
|
|
28
|
+
};
|
|
29
|
+
type NodeIR = GroupIR | TextIR | ImageIR | ShapeIR;
|
|
30
|
+
type BaseNodeIR = {
|
|
31
|
+
id: string;
|
|
32
|
+
frame: FrameIR;
|
|
33
|
+
opacity?: number;
|
|
34
|
+
rotation?: number;
|
|
35
|
+
zIndex?: number;
|
|
36
|
+
visibility?: CssVisibility;
|
|
37
|
+
flipH?: boolean;
|
|
38
|
+
flipV?: boolean;
|
|
39
|
+
};
|
|
40
|
+
type ShadowIR = {
|
|
41
|
+
type: "outer" | "inner";
|
|
42
|
+
color: string;
|
|
43
|
+
opacity?: number;
|
|
44
|
+
blurPt?: number;
|
|
45
|
+
offsetPt?: number;
|
|
46
|
+
angle?: number;
|
|
47
|
+
};
|
|
48
|
+
type HyperlinkIR = {
|
|
49
|
+
url: string;
|
|
50
|
+
tooltip?: string;
|
|
51
|
+
};
|
|
52
|
+
type ObjectPositionIR = {
|
|
53
|
+
x: number;
|
|
54
|
+
y: number;
|
|
55
|
+
};
|
|
56
|
+
type ImageCropIR = {
|
|
57
|
+
top: number;
|
|
58
|
+
right: number;
|
|
59
|
+
bottom: number;
|
|
60
|
+
left: number;
|
|
61
|
+
};
|
|
62
|
+
type GroupIR = BaseNodeIR & {
|
|
63
|
+
kind: "group";
|
|
64
|
+
children: ReadonlyArray<NodeIR>;
|
|
65
|
+
fill?: FillIR;
|
|
66
|
+
backgroundLayers?: ReadonlyArray<BackgroundLayerIR>;
|
|
67
|
+
stroke?: StrokeIR;
|
|
68
|
+
edgeStrokes?: EdgeStrokeIR;
|
|
69
|
+
outline?: StrokeIR;
|
|
70
|
+
shadow?: ShadowIR;
|
|
71
|
+
radiusEmu?: number;
|
|
72
|
+
};
|
|
73
|
+
type TextIR = BaseNodeIR & {
|
|
74
|
+
kind: "text";
|
|
75
|
+
content: TextContentIR;
|
|
76
|
+
style: TextStyleIR;
|
|
77
|
+
fill?: FillIR;
|
|
78
|
+
backgroundLayers?: ReadonlyArray<BackgroundLayerIR>;
|
|
79
|
+
stroke?: StrokeIR;
|
|
80
|
+
edgeStrokes?: EdgeStrokeIR;
|
|
81
|
+
outline?: StrokeIR;
|
|
82
|
+
shadow?: ShadowIR;
|
|
83
|
+
hyperlink?: HyperlinkIR;
|
|
84
|
+
radiusEmu?: number;
|
|
85
|
+
};
|
|
86
|
+
type ImageIR = BaseNodeIR & {
|
|
87
|
+
kind: "image";
|
|
88
|
+
sourceFrame: FrameIR;
|
|
89
|
+
source: ImageSourceIR;
|
|
90
|
+
fit: "contain" | "cover" | "stretch";
|
|
91
|
+
objectPosition?: ObjectPositionIR;
|
|
92
|
+
crop?: ImageCropIR;
|
|
93
|
+
transparency?: number;
|
|
94
|
+
rounding?: boolean;
|
|
95
|
+
shadow?: ShadowIR;
|
|
96
|
+
hyperlink?: HyperlinkIR;
|
|
97
|
+
};
|
|
98
|
+
type ShapeIR = BaseNodeIR & {
|
|
99
|
+
kind: "shape";
|
|
100
|
+
shape: "rect" | "ellipse" | "line";
|
|
101
|
+
fill?: FillIR;
|
|
102
|
+
backgroundLayers?: ReadonlyArray<BackgroundLayerIR>;
|
|
103
|
+
stroke?: StrokeIR;
|
|
104
|
+
edgeStrokes?: EdgeStrokeIR;
|
|
105
|
+
outline?: StrokeIR;
|
|
106
|
+
shadow?: ShadowIR;
|
|
107
|
+
hyperlink?: HyperlinkIR;
|
|
108
|
+
radiusEmu?: number;
|
|
109
|
+
};
|
|
110
|
+
type SolidFillIR = {
|
|
111
|
+
kind: "solid";
|
|
112
|
+
color: string;
|
|
113
|
+
transparency?: number;
|
|
114
|
+
frame?: FrameIR;
|
|
115
|
+
};
|
|
116
|
+
type LinearGradientStopIR = {
|
|
117
|
+
color: string;
|
|
118
|
+
transparency?: number;
|
|
119
|
+
position: number;
|
|
120
|
+
};
|
|
121
|
+
type LinearGradientFillIR = {
|
|
122
|
+
kind: "linear-gradient";
|
|
123
|
+
angle: number;
|
|
124
|
+
stops: ReadonlyArray<LinearGradientStopIR>;
|
|
125
|
+
frame?: FrameIR;
|
|
126
|
+
};
|
|
127
|
+
type RadialGradientFillIR = {
|
|
128
|
+
kind: "radial-gradient";
|
|
129
|
+
shape: "circle" | "ellipse";
|
|
130
|
+
center: {
|
|
131
|
+
x: number;
|
|
132
|
+
y: number;
|
|
133
|
+
};
|
|
134
|
+
radius: {
|
|
135
|
+
x: number;
|
|
136
|
+
y: number;
|
|
137
|
+
};
|
|
138
|
+
stops: ReadonlyArray<LinearGradientStopIR>;
|
|
139
|
+
frame?: FrameIR;
|
|
140
|
+
};
|
|
141
|
+
type BackgroundImageLayerIR = {
|
|
142
|
+
kind: "background-image";
|
|
143
|
+
frame: FrameIR;
|
|
144
|
+
sourceFrame: FrameIR;
|
|
145
|
+
source: ImageSourceIR;
|
|
146
|
+
fit: "contain" | "cover" | "stretch" | "size";
|
|
147
|
+
size?: {
|
|
148
|
+
widthEmu?: number;
|
|
149
|
+
heightEmu?: number;
|
|
150
|
+
};
|
|
151
|
+
repeat: "no-repeat" | "repeat-x" | "repeat-y" | "repeat";
|
|
152
|
+
objectPosition?: ObjectPositionIR;
|
|
153
|
+
transparency?: number;
|
|
154
|
+
};
|
|
155
|
+
type FillIR = SolidFillIR | LinearGradientFillIR | RadialGradientFillIR;
|
|
156
|
+
type BackgroundLayerIR = FillIR | BackgroundImageLayerIR;
|
|
157
|
+
type StrokeIR = {
|
|
158
|
+
color: string;
|
|
159
|
+
widthPt: number;
|
|
160
|
+
style?: BorderStyle;
|
|
161
|
+
dashType?: StrokeDashType;
|
|
162
|
+
lineCap?: StrokeLineCap;
|
|
163
|
+
lineJoin?: StrokeLineJoin;
|
|
164
|
+
transparency?: number;
|
|
165
|
+
};
|
|
166
|
+
type EdgeStrokeIR = {
|
|
167
|
+
top?: StrokeIR;
|
|
168
|
+
right?: StrokeIR;
|
|
169
|
+
bottom?: StrokeIR;
|
|
170
|
+
left?: StrokeIR;
|
|
171
|
+
};
|
|
172
|
+
type TextContentIR = {
|
|
173
|
+
text: string;
|
|
174
|
+
runs?: ReadonlyArray<TextRunIR>;
|
|
175
|
+
};
|
|
176
|
+
type TextRunIR = {
|
|
177
|
+
text: string;
|
|
178
|
+
style?: TextStyleIR;
|
|
179
|
+
};
|
|
180
|
+
type TextTabStopIR = {
|
|
181
|
+
positionIn: number;
|
|
182
|
+
alignment?: "l" | "r" | "ctr" | "dec";
|
|
183
|
+
};
|
|
184
|
+
type TextBulletListIR = {
|
|
185
|
+
type: "bullet";
|
|
186
|
+
characterCode?: string;
|
|
187
|
+
indentPt?: number;
|
|
188
|
+
};
|
|
189
|
+
type TextNumberListIR = {
|
|
190
|
+
type: "number";
|
|
191
|
+
style: "arabicPeriod" | "alphaLcPeriod" | "alphaUcPeriod" | "romanLcPeriod" | "romanUcPeriod";
|
|
192
|
+
startAt?: number;
|
|
193
|
+
indentPt?: number;
|
|
194
|
+
};
|
|
195
|
+
type TextNoListIR = {
|
|
196
|
+
type: "none";
|
|
197
|
+
};
|
|
198
|
+
type TextListIR = TextBulletListIR | TextNumberListIR | TextNoListIR;
|
|
199
|
+
type TextStyleIR = {
|
|
200
|
+
fontFamily?: string;
|
|
201
|
+
fontSizePt?: number;
|
|
202
|
+
fontWeight?: number | "normal" | "bold";
|
|
203
|
+
italic?: boolean;
|
|
204
|
+
underline?: boolean;
|
|
205
|
+
underlineStyle?: "dash" | "dbl" | "dotted" | "none" | "sng" | "wavy";
|
|
206
|
+
underlineColor?: string;
|
|
207
|
+
strike?: boolean;
|
|
208
|
+
rtlMode?: boolean;
|
|
209
|
+
textDirection?: "horz" | "vert" | "vert270";
|
|
210
|
+
superscript?: boolean;
|
|
211
|
+
subscript?: boolean;
|
|
212
|
+
color?: string;
|
|
213
|
+
textAlign?: "left" | "center" | "right" | "justify";
|
|
214
|
+
verticalAlign?: VerticalAlign;
|
|
215
|
+
paddingPt?: [number, number, number, number];
|
|
216
|
+
lineSpacing?: number;
|
|
217
|
+
lineSpacingMultiple?: number;
|
|
218
|
+
paragraphSpacingBefore?: number;
|
|
219
|
+
paragraphSpacingAfter?: number;
|
|
220
|
+
textIndentPt?: number;
|
|
221
|
+
tabStops?: ReadonlyArray<TextTabStopIR>;
|
|
222
|
+
charSpacing?: number;
|
|
223
|
+
list?: TextListIR;
|
|
224
|
+
fit?: TextFit;
|
|
225
|
+
wrap?: boolean;
|
|
226
|
+
};
|
|
227
|
+
type ImageSourceIR = {
|
|
228
|
+
kind: "path";
|
|
229
|
+
path: string;
|
|
230
|
+
} | {
|
|
231
|
+
kind: "data";
|
|
232
|
+
data: string;
|
|
233
|
+
};
|
|
234
|
+
type BackendArtifact = {
|
|
235
|
+
kind: "buffer";
|
|
236
|
+
mimeType: string;
|
|
237
|
+
data: Uint8Array;
|
|
238
|
+
extension: string;
|
|
239
|
+
};
|
|
240
|
+
type CompileBackend = {
|
|
241
|
+
name: BackendName;
|
|
242
|
+
emit(ir: PresentationIR): Promise<BackendArtifact>;
|
|
243
|
+
};
|
|
244
|
+
//#endregion
|
|
245
|
+
export { TextNoListIR as A, SlideIR as C, TextContentIR as D, TextBulletListIR as E, TextRunIR as M, TextStyleIR as N, TextIR as O, TextTabStopIR as P, SizeIR as S, StrokeIR as T, ObjectPositionIR as _, CompileBackend as a, ShadowIR as b, FrameIR as c, ImageCropIR as d, ImageIR as f, NodeIR as g, LinearGradientStopIR as h, BaseNodeIR as i, TextNumberListIR as j, TextListIR as k, GroupIR as l, LinearGradientFillIR as m, BackgroundImageLayerIR as n, EdgeStrokeIR as o, ImageSourceIR as p, BackgroundLayerIR as r, FillIR as s, BackendArtifact as t, HyperlinkIR as u, PresentationIR as v, SolidFillIR as w, ShapeIR as x, RadialGradientFillIR as y };
|
|
@@ -208,51 +208,7 @@ type SemanticAuthorGraph = {
|
|
|
208
208
|
readonly assets: ReadonlyMap<AssetEntityId, AssetEntity>;
|
|
209
209
|
};
|
|
210
210
|
//#endregion
|
|
211
|
-
//#region src/
|
|
212
|
-
declare const COMPOSITION_SOURCE: unique symbol;
|
|
213
|
-
type CompositionContext = {
|
|
214
|
-
readonly sourceKey?: string;
|
|
215
|
-
readonly slideIndex: number;
|
|
216
|
-
readonly totalSlides: number;
|
|
217
|
-
readonly deckSlideIndex: number;
|
|
218
|
-
readonly deckTotalSlides: number;
|
|
219
|
-
};
|
|
220
|
-
type SlideFactoryInput<TSourceContext = void> = [TSourceContext] extends [void] ? {
|
|
221
|
-
readonly composition: CompositionContext;
|
|
222
|
-
} : {
|
|
223
|
-
readonly context: TSourceContext;
|
|
224
|
-
readonly composition: CompositionContext;
|
|
225
|
-
};
|
|
226
|
-
type SlideFactory<TSourceContext = void> = (input: SlideFactoryInput<TSourceContext>) => JsxNode;
|
|
227
|
-
type SourceContextMapper<TParentContext, TChildContext> = [TParentContext] extends [void] ? () => TChildContext : (context: TParentContext) => TChildContext;
|
|
228
|
-
type SourceContextInput<TParentContext, TChildContext> = TChildContext | SourceContextMapper<TParentContext, TChildContext>;
|
|
229
|
-
type SourceContextBinding<TSourceContext = unknown> = {
|
|
230
|
-
readonly present: false;
|
|
231
|
-
} | {
|
|
232
|
-
readonly present: true;
|
|
233
|
-
readonly value: TSourceContext;
|
|
234
|
-
};
|
|
235
|
-
type CompositionEntry<TSourceContext = unknown> = {
|
|
236
|
-
readonly kind: "slide";
|
|
237
|
-
readonly factory: SlideFactory<TSourceContext>;
|
|
238
|
-
} | {
|
|
239
|
-
readonly kind: "mount";
|
|
240
|
-
readonly sourceKey: string;
|
|
241
|
-
readonly source: CompositionSource<unknown>;
|
|
242
|
-
readonly contextProvider?: SourceContextInput<TSourceContext, unknown>;
|
|
243
|
-
readonly invalidExtraContext?: boolean;
|
|
244
|
-
};
|
|
245
|
-
type CompositionSourceInternals<TSourceContext = unknown> = {
|
|
246
|
-
readonly entries: readonly CompositionEntry<TSourceContext>[];
|
|
247
|
-
readonly stylesheets: readonly StyleSheet[];
|
|
248
|
-
readonly cycleId: object;
|
|
249
|
-
readonly boundContext: SourceContextBinding<TSourceContext>;
|
|
250
|
-
};
|
|
251
|
-
type CompositionSource<TSourceContext = unknown> = {
|
|
252
|
-
readonly [COMPOSITION_SOURCE]: () => CompositionSourceInternals<TSourceContext>;
|
|
253
|
-
};
|
|
254
|
-
//#endregion
|
|
255
|
-
//#region src/authoring/index.d.ts
|
|
211
|
+
//#region src/style/types.d.ts
|
|
256
212
|
type DeckLength = number | `${number}${"in" | "pt" | "px" | "%" | "em" | "rem" | "vh" | "vw" | "ch"}`;
|
|
257
213
|
type DeckPointLength = number | `${number}${"pt" | "in" | "px" | "em" | "rem" | "vh" | "vw" | "ch"}`;
|
|
258
214
|
type CssAspectRatio = number | `${number}/${number}` | `${number} / ${number}`;
|
|
@@ -261,8 +217,6 @@ type Spacing = DeckLength | readonly [DeckLength, DeckLength, DeckLength, DeckLe
|
|
|
261
217
|
type StackAxis = "horizontal" | "vertical";
|
|
262
218
|
type StackAlignment = "start" | "center" | "end";
|
|
263
219
|
type LayoutMode = "absolute" | "stack" | "grid";
|
|
264
|
-
type BackendName = "pptxgenjs" | "ooxml";
|
|
265
|
-
type ImplementedBackendName = "pptxgenjs";
|
|
266
220
|
type BorderStyle = "none" | "solid" | "dash";
|
|
267
221
|
type StrokeDashType = "solid" | "dash" | "dashDot" | "lgDash" | "lgDashDot" | "lgDashDotDot" | "sysDash" | "sysDot";
|
|
268
222
|
type StrokeLineCap = "butt" | "round" | "square";
|
|
@@ -303,21 +257,6 @@ type ImageCropAuthoring = {
|
|
|
303
257
|
bottom?: ImageCropValue;
|
|
304
258
|
left?: ImageCropValue;
|
|
305
259
|
};
|
|
306
|
-
interface TextJsxChildArray extends ReadonlyArray<TextJsxChild> {}
|
|
307
|
-
type TextJsxChild = AuthorTreeNode | string | number | boolean | null | undefined | TextJsxChildArray;
|
|
308
|
-
type ContentAuthorNode = AuthorNode<"view" | "text" | "image" | "shape">;
|
|
309
|
-
interface ContentJsxChildArray extends ReadonlyArray<ContentJsxChild> {}
|
|
310
|
-
type ContentJsxChild = AuthorNode | AuthorTreeNode | boolean | null | undefined | ContentJsxChildArray;
|
|
311
|
-
interface ViewIntrinsicJsxChildArray extends ReadonlyArray<ViewIntrinsicJsxChild> {}
|
|
312
|
-
type ViewIntrinsicJsxChild = ContentJsxChild | string | number | ViewIntrinsicJsxChildArray;
|
|
313
|
-
interface JsxNodeArray extends ReadonlyArray<JsxNode> {}
|
|
314
|
-
type JsxNode = AuthorNode | AuthorTreeNode | string | number | boolean | null | undefined | JsxNodeArray;
|
|
315
|
-
interface ClassNameValueArray extends ReadonlyArray<ClassNameValue> {}
|
|
316
|
-
type ClassNameObject = Readonly<Record<string, boolean | null | undefined>>;
|
|
317
|
-
type ClassNameValue = string | false | null | undefined | ClassNameValueArray | ClassNameObject;
|
|
318
|
-
type ClassNameAuthorProps = {
|
|
319
|
-
className?: ClassNameValue;
|
|
320
|
-
};
|
|
321
260
|
type BaseAuthorProps = {
|
|
322
261
|
opacity?: number;
|
|
323
262
|
rotation?: number;
|
|
@@ -522,6 +461,9 @@ type ShapeStyle = FrameAuthorProps & Omit<BoxStyleAuthorProps, "backgroundColor"
|
|
|
522
461
|
radius?: DeckLength;
|
|
523
462
|
};
|
|
524
463
|
type TextRunStyle = Pick<TextStyle, "fontFamily" | "fontSize" | "fontWeight" | "italic" | "fontStyle" | "underline" | "strike" | "textDecoration" | "textDecorationLine" | "textDecorationStyle" | "textDecorationColor" | "textTransform" | "direction" | "writingMode" | "color" | "verticalAlign" | "charSpacing" | "letterSpacing" | "href" | "tooltip" | "superscript" | "subscript" | "textShadow">;
|
|
464
|
+
type StyleForAuthoredTag<TTag extends string> = TTag extends "span" ? TextRunStyle : TTag extends "img" ? ImageStyle : TTag extends "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" ? TextStyle : ViewStyle;
|
|
465
|
+
//#endregion
|
|
466
|
+
//#region src/style/stylesheet.d.ts
|
|
525
467
|
type StyleTargetSelector = string;
|
|
526
468
|
type StyleClassStyle = SlideStyle | ViewStyle | TextStyle | TextRunStyle | ImageStyle | ShapeStyle;
|
|
527
469
|
type TargetedStyleClassDefinition<TStyle extends StyleClassStyle = StyleClassStyle> = {
|
|
@@ -529,10 +471,118 @@ type TargetedStyleClassDefinition<TStyle extends StyleClassStyle = StyleClassSty
|
|
|
529
471
|
readonly style: TStyle;
|
|
530
472
|
};
|
|
531
473
|
type StyleClassDefinition<TStyle extends StyleClassStyle = StyleClassStyle> = TStyle | TargetedStyleClassDefinition<TStyle>;
|
|
532
|
-
type
|
|
533
|
-
readonly classes: TClasses
|
|
474
|
+
type StyleSheetInput<TClasses extends Readonly<Record<string, unknown>> = Readonly<Record<string, StyleClassDefinition>>> = {
|
|
475
|
+
readonly classes: StyleSheetClasses<TClasses>;
|
|
476
|
+
};
|
|
477
|
+
type RightmostSelectorPart<TSelector extends string> = TSelector extends `${string} ${infer TRight}` ? RightmostSelectorPart<TRight> : TSelector;
|
|
478
|
+
type SelectorTag<TSelector extends string> = RightmostSelectorPart<TSelector> extends `.${string}` ? never : RightmostSelectorPart<TSelector> extends `${infer TTag}.${string}` ? TTag : RightmostSelectorPart<TSelector>;
|
|
479
|
+
type StyleForSelectorTag<TTag extends string> = TTag extends AuthoredTag ? StyleForAuthoredTag<TTag> : StyleClassStyle;
|
|
480
|
+
type StyleForStyleTarget<TTarget> = TTarget extends readonly string[] ? [TTarget[number]] extends [never] ? StyleClassStyle : StyleForStyleTarget<TTarget[number]> : TTarget extends string ? [SelectorTag<TTarget>] extends [never] ? StyleClassStyle : StyleForSelectorTag<SelectorTag<TTarget>> : StyleClassStyle;
|
|
481
|
+
type StyleClassDefinitionFor<TDefinition> = TDefinition extends {
|
|
482
|
+
readonly target: infer TTarget;
|
|
483
|
+
readonly style: infer TStyle;
|
|
484
|
+
} ? TTarget extends StyleTargetSelector | readonly StyleTargetSelector[] ? TStyle extends StyleForStyleTarget<TTarget> ? TDefinition : never : never : TDefinition extends {
|
|
485
|
+
readonly style: infer TStyle;
|
|
486
|
+
} ? TStyle extends StyleClassStyle ? TDefinition : never : TDefinition extends StyleClassStyle ? TDefinition : never;
|
|
487
|
+
type StyleSheetClasses<TClasses extends Readonly<Record<string, unknown>>> = { readonly [ClassName in keyof TClasses]: StyleClassDefinitionFor<TClasses[ClassName]> };
|
|
488
|
+
declare class StyleSheetImpl<TClasses extends Readonly<Record<string, unknown>> = Readonly<Record<string, StyleClassDefinition>>> {
|
|
489
|
+
readonly classes: StyleSheetClasses<TClasses>;
|
|
490
|
+
constructor(input: StyleSheetInput<TClasses>);
|
|
491
|
+
}
|
|
492
|
+
type StyleSheet<TClasses extends Readonly<Record<string, unknown>> = Readonly<Record<string, StyleClassDefinition>>> = StyleSheetImpl<TClasses>;
|
|
493
|
+
declare const StyleSheet: {
|
|
494
|
+
new <const TClasses extends Readonly<Record<string, unknown>> = Readonly<Record<string, StyleClassDefinition>>>(input: StyleSheetInput<TClasses>): StyleSheet<TClasses>;
|
|
495
|
+
};
|
|
496
|
+
//#endregion
|
|
497
|
+
//#region src/style/defaults.d.ts
|
|
498
|
+
type ThemeDefaults = Partial<{ readonly [Tag in AuthoredTag]: StyleForAuthoredTag<Tag> }>;
|
|
499
|
+
//#endregion
|
|
500
|
+
//#region src/style/theme-values.d.ts
|
|
501
|
+
type Primitive = string | number | boolean | bigint | symbol | null | undefined;
|
|
502
|
+
type DeepMerge<TBase, TExtension> = TExtension extends readonly unknown[] ? TExtension : TBase extends readonly unknown[] ? TExtension : TBase extends Primitive ? TExtension : TExtension extends Primitive ? TExtension : TBase extends object ? TExtension extends object ? { readonly [Key in keyof TBase | keyof TExtension]: Key extends keyof TExtension ? Key extends keyof TBase ? DeepMerge<TBase[Key], TExtension[Key]> : TExtension[Key] : Key extends keyof TBase ? TBase[Key] : never } : TExtension : TExtension;
|
|
503
|
+
type MergedTheme<TBase extends object, TExtension extends object> = DeepMerge<TBase, TExtension> & object;
|
|
504
|
+
//#endregion
|
|
505
|
+
//#region src/style/theme.d.ts
|
|
506
|
+
declare const THEME_INPUT: unique symbol;
|
|
507
|
+
declare const THEME_DIAGNOSTICS: unique symbol;
|
|
508
|
+
type ThemeInput = Readonly<object> & {
|
|
509
|
+
readonly defaults?: ThemeDefaults;
|
|
510
|
+
};
|
|
511
|
+
type ThemeInstance<TTheme extends object = ThemeInput> = {
|
|
512
|
+
readonly [THEME_INPUT]: TTheme;
|
|
513
|
+
readonly [THEME_DIAGNOSTICS]: readonly Diagnostic[];
|
|
514
|
+
extend<const TExtension extends ThemeInput>(extension: TExtension): Theme<MergedTheme<TTheme, TExtension>>;
|
|
515
|
+
extend<const TExtension extends ThemeInput>(extension: Theme<TExtension>): Theme<MergedTheme<TTheme, TExtension>>;
|
|
516
|
+
extend<const TExtension extends ThemeInput>(extension: (theme: Theme<TTheme>) => TExtension): Theme<MergedTheme<TTheme, TExtension>>;
|
|
517
|
+
defineStyles<const TStyleSheet extends StyleSheetInput>(factory: (theme: Theme<TTheme>) => TStyleSheet): StyleSheet<TStyleSheet["classes"]>;
|
|
518
|
+
};
|
|
519
|
+
type Theme<TTheme extends object = ThemeInput> = ThemeInstance<TTheme> & Readonly<TTheme>;
|
|
520
|
+
declare const Theme: {
|
|
521
|
+
new <const TTheme extends object>(input: TTheme, ...invalid: TTheme extends ThemeInput ? [] : ["Theme defaults must use authored tag styles."]): Theme<TTheme>;
|
|
522
|
+
};
|
|
523
|
+
//#endregion
|
|
524
|
+
//#region src/composition/types.d.ts
|
|
525
|
+
declare const COMPOSITION_SOURCE: unique symbol;
|
|
526
|
+
type CompositionContext = {
|
|
527
|
+
readonly sourceKey?: string;
|
|
528
|
+
readonly slideIndex: number;
|
|
529
|
+
readonly totalSlides: number;
|
|
530
|
+
readonly deckSlideIndex: number;
|
|
531
|
+
readonly deckTotalSlides: number;
|
|
532
|
+
};
|
|
533
|
+
type SlideFactoryInput<TSourceContext = void> = [TSourceContext] extends [void] ? {
|
|
534
|
+
readonly composition: CompositionContext;
|
|
535
|
+
} : {
|
|
536
|
+
readonly context: TSourceContext;
|
|
537
|
+
readonly composition: CompositionContext;
|
|
538
|
+
};
|
|
539
|
+
type SlideFactory<TSourceContext = void> = (input: SlideFactoryInput<TSourceContext>) => JsxNode;
|
|
540
|
+
type SourceContextMapper<TParentContext, TChildContext> = [TParentContext] extends [void] ? () => TChildContext : (context: TParentContext) => TChildContext;
|
|
541
|
+
type SourceContextInput<TParentContext, TChildContext> = TChildContext | SourceContextMapper<TParentContext, TChildContext>;
|
|
542
|
+
type SourceContextBinding<TSourceContext = unknown> = {
|
|
543
|
+
readonly present: false;
|
|
544
|
+
} | {
|
|
545
|
+
readonly present: true;
|
|
546
|
+
readonly value: TSourceContext;
|
|
547
|
+
};
|
|
548
|
+
type CompositionEntry<TSourceContext = unknown> = {
|
|
549
|
+
readonly kind: "slide";
|
|
550
|
+
readonly factory: SlideFactory<TSourceContext>;
|
|
551
|
+
} | {
|
|
552
|
+
readonly kind: "mount";
|
|
553
|
+
readonly sourceKey: string;
|
|
554
|
+
readonly source: CompositionSource<unknown>;
|
|
555
|
+
readonly contextProvider?: SourceContextInput<TSourceContext, unknown>;
|
|
556
|
+
readonly invalidExtraContext?: boolean;
|
|
557
|
+
};
|
|
558
|
+
type CompositionSourceInternals<TSourceContext = unknown> = {
|
|
559
|
+
readonly entries: readonly CompositionEntry<TSourceContext>[];
|
|
560
|
+
readonly stylesheets: readonly StyleSheet[];
|
|
561
|
+
readonly theme?: Theme;
|
|
562
|
+
readonly cycleId: object;
|
|
563
|
+
readonly boundContext: SourceContextBinding<TSourceContext>;
|
|
564
|
+
};
|
|
565
|
+
type CompositionSource<TSourceContext = unknown> = {
|
|
566
|
+
readonly [COMPOSITION_SOURCE]: () => CompositionSourceInternals<TSourceContext>;
|
|
567
|
+
};
|
|
568
|
+
//#endregion
|
|
569
|
+
//#region src/authoring/index.d.ts
|
|
570
|
+
type BackendName = "pptxgenjs" | "ooxml";
|
|
571
|
+
type ImplementedBackendName = "pptxgenjs";
|
|
572
|
+
interface TextJsxChildArray extends ReadonlyArray<TextJsxChild> {}
|
|
573
|
+
type TextJsxChild = AuthorTreeNode | string | number | boolean | null | undefined | TextJsxChildArray;
|
|
574
|
+
interface ContentJsxChildArray extends ReadonlyArray<ContentJsxChild> {}
|
|
575
|
+
type ContentJsxChild = AuthorNode | AuthorTreeNode | boolean | null | undefined | ContentJsxChildArray;
|
|
576
|
+
interface ViewIntrinsicJsxChildArray extends ReadonlyArray<ViewIntrinsicJsxChild> {}
|
|
577
|
+
type ViewIntrinsicJsxChild = ContentJsxChild | string | number | ViewIntrinsicJsxChildArray;
|
|
578
|
+
interface JsxNodeArray extends ReadonlyArray<JsxNode> {}
|
|
579
|
+
type JsxNode = AuthorNode | AuthorTreeNode | string | number | boolean | null | undefined | JsxNodeArray;
|
|
580
|
+
interface ClassNameValueArray extends ReadonlyArray<ClassNameValue> {}
|
|
581
|
+
type ClassNameObject = Readonly<Record<string, boolean | null | undefined>>;
|
|
582
|
+
type ClassNameValue = string | false | null | undefined | ClassNameValueArray | ClassNameObject;
|
|
583
|
+
type ClassNameAuthorProps = {
|
|
584
|
+
className?: ClassNameValue;
|
|
534
585
|
};
|
|
535
|
-
declare function defineStyles<const TStyleSheet extends StyleSheet>(stylesheet: TStyleSheet): TStyleSheet;
|
|
536
586
|
type DeckOptions = {
|
|
537
587
|
layout: {
|
|
538
588
|
width: number;
|
|
@@ -544,6 +594,10 @@ type DeckOptions = {
|
|
|
544
594
|
author?: string;
|
|
545
595
|
subject?: string;
|
|
546
596
|
};
|
|
597
|
+
theme?: Theme;
|
|
598
|
+
};
|
|
599
|
+
type SlideContext = {
|
|
600
|
+
composition: CompositionContext;
|
|
547
601
|
};
|
|
548
602
|
type OutputConfig = {
|
|
549
603
|
backend: ImplementedBackendName;
|
|
@@ -608,14 +662,6 @@ type AuthorNodeMap = {
|
|
|
608
662
|
shape: ShapeProps;
|
|
609
663
|
};
|
|
610
664
|
type AuthorNodeKind = keyof AuthorNodeMap;
|
|
611
|
-
type AuthorNodePropsMap = {
|
|
612
|
-
slide: SlideNodeProps;
|
|
613
|
-
view: ViewNodeProps;
|
|
614
|
-
text: TextNodeProps;
|
|
615
|
-
image: ImageNodeProps;
|
|
616
|
-
shape: ShapeNodeProps;
|
|
617
|
-
};
|
|
618
|
-
type AuthorNodeProps<K extends AuthorNodeKind> = AuthorNodePropsMap[K];
|
|
619
665
|
type BaseAuthorNode<K extends AuthorNodeKind, P, C> = {
|
|
620
666
|
readonly $$typeof: "deckjsx.author-node";
|
|
621
667
|
readonly kind: K;
|
|
@@ -652,61 +698,4 @@ type DeckJsxIntrinsicElements = {
|
|
|
652
698
|
span: IntrinsicSpanProps;
|
|
653
699
|
} & { [Tag in IntrinsicViewTag]: IntrinsicDivProps } & { [Tag in IntrinsicTextTag]: IntrinsicPProps };
|
|
654
700
|
//#endregion
|
|
655
|
-
|
|
656
|
-
declare function Slide(props: SlideProps): AuthorElementNode;
|
|
657
|
-
declare function View(props: ViewProps): AuthorElementNode;
|
|
658
|
-
declare function Text(props: TextProps): AuthorElementNode;
|
|
659
|
-
declare function Image(props: ImageProps): AuthorElementNode;
|
|
660
|
-
declare function Shape(props: ShapeProps): AuthorElementNode;
|
|
661
|
-
//#endregion
|
|
662
|
-
//#region src/jsx.d.ts
|
|
663
|
-
type ComponentProps = {
|
|
664
|
-
children?: AuthorTreeChild;
|
|
665
|
-
};
|
|
666
|
-
type ElementChildren<P> = P extends {
|
|
667
|
-
children?: infer Child;
|
|
668
|
-
} ? Child : never;
|
|
669
|
-
type ElementChildArgs<P> = P extends {
|
|
670
|
-
children?: never;
|
|
671
|
-
} ? [] : ElementChildren<P>[];
|
|
672
|
-
declare function createElement<P extends {
|
|
673
|
-
children?: unknown;
|
|
674
|
-
}, R extends AuthorTreeNode>(type: (props: P) => R, props: (Omit<P, "children"> & Partial<Pick<P, "children">>) | null, ...children: ElementChildArgs<P>): R;
|
|
675
|
-
declare function createElement(type: IntrinsicViewTag$1, props: (Omit<IntrinsicDivProps, "children"> & Partial<Pick<IntrinsicDivProps, "children">>) | null, ...children: ElementChildArgs<IntrinsicDivProps>): AuthorTreeNode;
|
|
676
|
-
declare function createElement(type: IntrinsicTextTag$1, props: (Omit<IntrinsicPProps, "children"> & Partial<Pick<IntrinsicPProps, "children">>) | null, ...children: ElementChildArgs<IntrinsicPProps>): AuthorTreeNode;
|
|
677
|
-
declare function createElement(type: "span", props: IntrinsicPProps | null): AuthorTreeNode;
|
|
678
|
-
declare function createElement(type: "img", props: IntrinsicImgProps): AuthorTreeNode;
|
|
679
|
-
declare function createElement(type: string, props: ComponentProps | null): never;
|
|
680
|
-
declare function Fragment(props: {
|
|
681
|
-
children?: AuthorTreeChild;
|
|
682
|
-
}): AuthorTreeNode;
|
|
683
|
-
declare function isAuthorNode(value: unknown): value is AuthorNode;
|
|
684
|
-
declare function isSlideNode(value: unknown): value is AuthorNode<"slide">;
|
|
685
|
-
declare function isContentNode(value: unknown): value is ContentAuthorNode;
|
|
686
|
-
//#endregion
|
|
687
|
-
//#region src/jsx-runtime.d.ts
|
|
688
|
-
type JsxComponent<P, R extends AuthorTreeNode> = (props: P) => R;
|
|
689
|
-
type JsxProps<P> = P extends {
|
|
690
|
-
children?: unknown;
|
|
691
|
-
} ? Omit<P, "children"> & Partial<Pick<P, "children">> : P;
|
|
692
|
-
declare function jsx<P, R extends AuthorTreeNode>(type: JsxComponent<P, R>, props: JsxProps<P> | null, key?: JsxKey): R;
|
|
693
|
-
declare function jsx(type: IntrinsicViewTag, props: JsxProps<IntrinsicDivProps> | null, key?: JsxKey): AuthorTreeNode;
|
|
694
|
-
declare function jsx(type: IntrinsicTextTag, props: JsxProps<IntrinsicPProps> | null, key?: JsxKey): AuthorTreeNode;
|
|
695
|
-
declare function jsx(type: "span", props: JsxProps<IntrinsicPProps> | null, key?: JsxKey): AuthorTreeNode;
|
|
696
|
-
declare function jsx(type: "img", props: IntrinsicImgProps, key?: JsxKey): AuthorTreeNode;
|
|
697
|
-
declare function jsx(type: string, props: Record<string, unknown> | null, key?: JsxKey): never;
|
|
698
|
-
declare const jsxs: typeof jsx;
|
|
699
|
-
declare namespace JSX {
|
|
700
|
-
type Element = AuthorTreeNode;
|
|
701
|
-
interface ElementChildrenAttribute {
|
|
702
|
-
children: {};
|
|
703
|
-
}
|
|
704
|
-
interface IntrinsicAttributes {
|
|
705
|
-
key?: JsxKey;
|
|
706
|
-
}
|
|
707
|
-
interface IntrinsicElements extends DeckJsxIntrinsicElements {
|
|
708
|
-
span: IntrinsicPProps;
|
|
709
|
-
}
|
|
710
|
-
}
|
|
711
|
-
//#endregion
|
|
712
|
-
export { ImageCropAuthoring as $, SemanticDocumentNode as $t, CssBoxSizing as A, TextRunStyle as At, CssGridTemplateAreas as B, CompositionContext as Bt, ClassNameValueArray as C, StyleDiagnosticError as Cn, StyleClassStyle as Ct, CssAlignItems as D, TextJsxChild as Dt, CssAlignContent as E, SourceSpan as En, TextFit as Et, CssGridAutoFlow as F, VerticalAlign as Ft, CssObjectPosition as G, SourceContextInput as Gt, CssGridTrack as H, CompositionSourceInternals as Ht, CssGridLine as I, ViewProps as It, CssVisibility as J, AssetEntityId as Jt, CssOverflow as K, SourceContextMapper as Kt, CssGridPlacement as L, ViewStyle as Lt, CssFlexBasis as M, TextTabStopAlignment as Mt, CssFlexDirection as N, TextTabStopAuthoring as Nt, CssAlignSelf as O, TextProps as Ot, CssFlexWrap as P, TextTabStopLength as Pt, DeckPointLength as Q, SemanticContainerNode as Qt, CssGridShorthand as R, defineStyles as Rt, ClassNameValue as S, SemanticGraphDiagnosticError as Sn, StyleClassDefinition as St, ContentJsxChild as T, JsxKey as Tn, StyleTargetSelector as Tt, CssJustifyContent as U, SlideFactory as Ut, CssGridTemplateShorthand as V, CompositionSource as Vt, CssJustifySelf as W, SlideFactoryInput as Wt, DeckLength as X, GraphNodeId as Xt, DeckJsxIntrinsicElements as Y, BaseSemanticNode as Yt, DeckOptions as Z, SemanticAuthorGraph as Zt, AuthorNodeProps as _, Diagnostics as _n, StackAlignment as _t, createElement as a, SemanticShapeNode as an, IntrinsicImgProps as at, BorderStyle as b, CompositionDiagnosticError as bn, StrokeLineCap as bt, isSlideNode as c, SemanticTextRunNode as cn, IntrinsicViewTag as ct, Slide as d, StyleClassRef as dn, OutputConfig as dt, SemanticImageNode as en, ImageCropValue as et, Text as f, StyleEntity as fn, ShapeProps as ft, AuthorNodeMap as g, DiagnosticSeverity as gn, Spacing as gt, AuthorNodeKind as h, DiagnosticLabel as hn, SlideStyle as ht, Fragment as i, SemanticRole as in, IntrinsicDivProps as it, CssDisplay as j, TextStyle as jt, CssAspectRatio as k, TextRunNodeProps as kt, Image as l, SourceIdentity as ln, JsxNode as lt, AuthorNode as m, Diagnostic as mn, SlideProps as mt, jsx as n, SemanticNodeKind as nn, ImageStyle as nt, isAuthorNode as o, SemanticSlideNode as on, IntrinsicPProps as ot, View as p, StyleEntityId as pn, ShapeStyle as pt, CssPosition as q, AssetEntity as qt, jsxs as r, SemanticOrigin as rn, ImplementedBackendName as rt, isContentNode as s, SemanticTextNode as sn, IntrinsicTextTag as st, JSX as t, SemanticNode as tn, ImageProps as tt, Shape as u, SourceOrigin as un, LayoutMode as ut, AuthorNodePropsMap as v, formatDiagnostic as vn, StackAxis as vt, ContentAuthorNode as w, AuthorTreeNode as wn, StyleSheet as wt, ClassNameObject as x, DeckDiagnosticError as xn, StrokeLineJoin as xt, BackendName as y, formatDiagnostics as yn, StrokeDashType as yt, CssGridTemplate as z, COMPOSITION_SOURCE as zt };
|
|
701
|
+
export { CssJustifyContent as $, formatDiagnostics as $t, SourceContextMapper as A, GraphNodeId as At, CssBoxSizing as B, SemanticSlideNode as Bt, COMPOSITION_SOURCE as C, TextTabStopAuthoring as Ct, SlideFactory as D, AssetEntity as Dt, CompositionSourceInternals as E, ViewStyle as Et, BorderStyle as F, SemanticNode as Ft, CssGridAutoFlow as G, StyleClassRef as Gt, CssFlexBasis as H, SemanticTextRunNode as Ht, CssAlignContent as I, SemanticNodeKind as It, CssGridShorthand as J, Diagnostic as Jt, CssGridLine as K, StyleEntity as Kt, CssAlignItems as L, SemanticOrigin as Lt, ThemeInput as M, SemanticContainerNode as Mt, ThemeDefaults as N, SemanticDocumentNode as Nt, SlideFactoryInput as O, AssetEntityId as Ot, StyleSheet as P, SemanticImageNode as Pt, CssGridTrack as Q, formatDiagnostic as Qt, CssAlignSelf as R, SemanticRole as Rt, ViewProps as S, TextTabStopAlignment as St, CompositionSource as T, VerticalAlign as Tt, CssFlexDirection as U, SourceIdentity as Ut, CssDisplay as V, SemanticTextNode as Vt, CssFlexWrap as W, SourceOrigin as Wt, CssGridTemplateAreas as X, DiagnosticSeverity as Xt, CssGridTemplate as Y, DiagnosticLabel as Yt, CssGridTemplateShorthand as Z, Diagnostics as Zt, SlideContext as _, StrokeLineCap as _t, ContentJsxChild as a, AuthorTreeChild as an, DeckLength as at, TextProps as b, TextRunStyle as bt, ImageProps as c, SourceSpan as cn, ImageCropValue as ct, IntrinsicImgProps as d, ShapeStyle as dt, CompositionDiagnosticError as en, CssJustifySelf as et, IntrinsicPProps as f, SlideStyle as ft, ShapeProps as g, StrokeDashType as gt, OutputConfig as h, StackAxis as ht, ClassNameValueArray as i, AuthorElementNode as in, CssVisibility as it, Theme as j, SemanticAuthorGraph as jt, SourceContextInput as k, BaseSemanticNode as kt, ImplementedBackendName as l, IntrinsicTextTag$1 as ln, ImageStyle as lt, IntrinsicViewTag as m, StackAlignment as mt, ClassNameObject as n, SemanticGraphDiagnosticError as nn, CssOverflow as nt, DeckJsxIntrinsicElements as o, AuthorTreeNode as on, DeckPointLength as ot, IntrinsicTextTag as p, Spacing as pt, CssGridPlacement as q, StyleEntityId as qt, ClassNameValue as r, StyleDiagnosticError as rn, CssPosition as rt, DeckOptions as s, JsxKey as sn, ImageCropAuthoring as st, BackendName as t, DeckDiagnosticError as tn, CssObjectPosition as tt, IntrinsicDivProps as u, IntrinsicViewTag$1 as un, LayoutMode as ut, SlideProps as v, StrokeLineJoin as vt, CompositionContext as w, TextTabStopLength as wt, TextRunNodeProps as x, TextStyle as xt, TextJsxChild as y, TextFit as yt, CssAspectRatio as z, SemanticShapeNode as zt };
|