@json-to-office/shared 0.22.0 → 0.25.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.js +15 -15
- package/dist/schemas/slide-content.d.ts +231 -11
- package/dist/schemas/slide-content.js +302 -3
- package/dist/schemas/slide-content.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2,6 +2,21 @@ import {
|
|
|
2
2
|
detectFontFormat,
|
|
3
3
|
isAllowedFontUrl
|
|
4
4
|
} from "./chunk-CP2I5NPP.js";
|
|
5
|
+
import {
|
|
6
|
+
convertToJsonSchema,
|
|
7
|
+
createComponentSchema,
|
|
8
|
+
createComponentSchemaObject,
|
|
9
|
+
exportSchemaToFile,
|
|
10
|
+
fixSchemaReferences
|
|
11
|
+
} from "./chunk-5J43F4XD.js";
|
|
12
|
+
import {
|
|
13
|
+
FontFamilyNameSchema,
|
|
14
|
+
FontRegistryEntrySchema,
|
|
15
|
+
FontRegistrySchema,
|
|
16
|
+
FontSourceSchema,
|
|
17
|
+
SAFE_FONTS,
|
|
18
|
+
isSafeFont
|
|
19
|
+
} from "./chunk-6KUQYVPT.js";
|
|
5
20
|
import {
|
|
6
21
|
ComponentValidationError,
|
|
7
22
|
DuplicateComponentError,
|
|
@@ -33,21 +48,6 @@ import {
|
|
|
33
48
|
transformValueError,
|
|
34
49
|
transformValueErrors
|
|
35
50
|
} from "./chunk-ZKD5BAMU.js";
|
|
36
|
-
import {
|
|
37
|
-
convertToJsonSchema,
|
|
38
|
-
createComponentSchema,
|
|
39
|
-
createComponentSchemaObject,
|
|
40
|
-
exportSchemaToFile,
|
|
41
|
-
fixSchemaReferences
|
|
42
|
-
} from "./chunk-5J43F4XD.js";
|
|
43
|
-
import {
|
|
44
|
-
FontFamilyNameSchema,
|
|
45
|
-
FontRegistryEntrySchema,
|
|
46
|
-
FontRegistrySchema,
|
|
47
|
-
FontSourceSchema,
|
|
48
|
-
SAFE_FONTS,
|
|
49
|
-
isSafeFont
|
|
50
|
-
} from "./chunk-6KUQYVPT.js";
|
|
51
51
|
import {
|
|
52
52
|
compareSemver,
|
|
53
53
|
isValidSemver,
|
|
@@ -33,8 +33,45 @@ declare const STYLE_NAMES: readonly ["title", "subtitle", "heading1", "heading2"
|
|
|
33
33
|
declare const StyleNameSchema: _sinclair_typebox.TUnion<_sinclair_typebox.TLiteral<"title" | "subtitle" | "heading1" | "heading2" | "heading3" | "body" | "caption">[]>;
|
|
34
34
|
type StyleName = (typeof STYLE_NAMES)[number];
|
|
35
35
|
|
|
36
|
-
declare const
|
|
36
|
+
declare const TextRunSchema: _sinclair_typebox.TObject<{
|
|
37
37
|
text: _sinclair_typebox.TString;
|
|
38
|
+
color: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
39
|
+
bold: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
40
|
+
fontWeight: _sinclair_typebox.TOptional<_sinclair_typebox.TInteger>;
|
|
41
|
+
italic: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
42
|
+
underline: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TBoolean, _sinclair_typebox.TObject<{
|
|
43
|
+
style: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"sng">, _sinclair_typebox.TLiteral<"dbl">, _sinclair_typebox.TLiteral<"dash">, _sinclair_typebox.TLiteral<"dotted">]>>;
|
|
44
|
+
color: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
45
|
+
}>]>>;
|
|
46
|
+
strike: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
47
|
+
fontSize: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
48
|
+
fontFace: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
49
|
+
superscript: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
50
|
+
subscript: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
51
|
+
charSpacing: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
52
|
+
breakLine: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
53
|
+
}>;
|
|
54
|
+
type TextRun = Static<typeof TextRunSchema>;
|
|
55
|
+
declare const TextPropsSchema: _sinclair_typebox.TObject<{
|
|
56
|
+
text: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
57
|
+
runs: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TObject<{
|
|
58
|
+
text: _sinclair_typebox.TString;
|
|
59
|
+
color: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
60
|
+
bold: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
61
|
+
fontWeight: _sinclair_typebox.TOptional<_sinclair_typebox.TInteger>;
|
|
62
|
+
italic: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
63
|
+
underline: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TBoolean, _sinclair_typebox.TObject<{
|
|
64
|
+
style: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"sng">, _sinclair_typebox.TLiteral<"dbl">, _sinclair_typebox.TLiteral<"dash">, _sinclair_typebox.TLiteral<"dotted">]>>;
|
|
65
|
+
color: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
66
|
+
}>]>>;
|
|
67
|
+
strike: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
68
|
+
fontSize: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
69
|
+
fontFace: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
70
|
+
superscript: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
71
|
+
subscript: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
72
|
+
charSpacing: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
73
|
+
breakLine: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
74
|
+
}>>>;
|
|
38
75
|
x: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
39
76
|
y: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
40
77
|
w: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
@@ -79,6 +116,7 @@ declare const TextPropsSchema: _sinclair_typebox.TObject<{
|
|
|
79
116
|
tooltip: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
80
117
|
}>>;
|
|
81
118
|
lineSpacing: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
119
|
+
lineSpacingMultiple: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
82
120
|
charSpacing: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
83
121
|
paraSpaceBefore: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
84
122
|
paraSpaceAfter: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
@@ -130,7 +168,7 @@ declare const PptxImagePropsSchema: _sinclair_typebox.TObject<{
|
|
|
130
168
|
}>;
|
|
131
169
|
type PptxImageProps = Static<typeof PptxImagePropsSchema>;
|
|
132
170
|
|
|
133
|
-
declare const ShapeTypeSchema: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"rect">, _sinclair_typebox.TLiteral<"roundRect">, _sinclair_typebox.TLiteral<"ellipse">, _sinclair_typebox.TLiteral<"triangle">, _sinclair_typebox.TLiteral<"diamond">, _sinclair_typebox.TLiteral<"pentagon">, _sinclair_typebox.TLiteral<"hexagon">, _sinclair_typebox.TLiteral<"star5">, _sinclair_typebox.TLiteral<"star6">, _sinclair_typebox.TLiteral<"line">, _sinclair_typebox.TLiteral<"arrow">, _sinclair_typebox.TLiteral<"chevron">, _sinclair_typebox.TLiteral<"cloud">, _sinclair_typebox.TLiteral<"heart">, _sinclair_typebox.TLiteral<"lightning">]>;
|
|
171
|
+
declare const ShapeTypeSchema: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"rect">, _sinclair_typebox.TLiteral<"roundRect">, _sinclair_typebox.TLiteral<"ellipse">, _sinclair_typebox.TLiteral<"triangle">, _sinclair_typebox.TLiteral<"diamond">, _sinclair_typebox.TLiteral<"pentagon">, _sinclair_typebox.TLiteral<"hexagon">, _sinclair_typebox.TLiteral<"star5">, _sinclair_typebox.TLiteral<"star6">, _sinclair_typebox.TLiteral<"line">, _sinclair_typebox.TLiteral<"arc">, _sinclair_typebox.TLiteral<"pie">, _sinclair_typebox.TLiteral<"blockArc">, _sinclair_typebox.TLiteral<"chord">, _sinclair_typebox.TLiteral<"arrow">, _sinclair_typebox.TLiteral<"chevron">, _sinclair_typebox.TLiteral<"cloud">, _sinclair_typebox.TLiteral<"heart">, _sinclair_typebox.TLiteral<"lightning">]>;
|
|
134
172
|
declare const TextSegmentSchema: _sinclair_typebox.TObject<{
|
|
135
173
|
text: _sinclair_typebox.TString;
|
|
136
174
|
fontSize: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
@@ -145,15 +183,57 @@ declare const TextSegmentSchema: _sinclair_typebox.TObject<{
|
|
|
145
183
|
charSpacing: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
146
184
|
}>;
|
|
147
185
|
type TextSegment = Static<typeof TextSegmentSchema>;
|
|
186
|
+
/**
|
|
187
|
+
* OOXML `a:pattFill` preset names (ST_PresetPatternVal).
|
|
188
|
+
*/
|
|
189
|
+
declare const PATTERN_FILL_PRESETS: readonly ["pct5", "pct10", "pct20", "pct25", "pct30", "pct40", "pct50", "pct60", "pct70", "pct75", "pct80", "pct90", "horz", "vert", "ltHorz", "ltVert", "dkHorz", "dkVert", "narHorz", "narVert", "dashHorz", "dashVert", "cross", "dnDiag", "upDiag", "ltDnDiag", "ltUpDiag", "dkDnDiag", "dkUpDiag", "wdDnDiag", "wdUpDiag", "dashDnDiag", "dashUpDiag", "diagCross", "smCheck", "lgCheck", "smGrid", "lgGrid", "dotGrid", "smConfetti", "lgConfetti", "horzBrick", "diagBrick", "solidDmnd", "openDmnd", "dotDmnd", "plaid", "sphere", "weave", "divot", "shingle", "wave", "trellis", "zigZag"];
|
|
190
|
+
declare const GradientStopSchema: _sinclair_typebox.TObject<{
|
|
191
|
+
color: _sinclair_typebox.TString;
|
|
192
|
+
pos: _sinclair_typebox.TNumber;
|
|
193
|
+
transparency: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
194
|
+
}>;
|
|
195
|
+
declare const GradientFillSchema: _sinclair_typebox.TObject<{
|
|
196
|
+
type: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"linear">, _sinclair_typebox.TLiteral<"radial">]>;
|
|
197
|
+
angle: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
198
|
+
stops: _sinclair_typebox.TArray<_sinclair_typebox.TObject<{
|
|
199
|
+
color: _sinclair_typebox.TString;
|
|
200
|
+
pos: _sinclair_typebox.TNumber;
|
|
201
|
+
transparency: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
202
|
+
}>>;
|
|
203
|
+
focus: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"center">, _sinclair_typebox.TLiteral<"topLeft">, _sinclair_typebox.TLiteral<"topRight">, _sinclair_typebox.TLiteral<"bottomLeft">, _sinclair_typebox.TLiteral<"bottomRight">]>>;
|
|
204
|
+
}>;
|
|
205
|
+
declare const PatternFillSchema: _sinclair_typebox.TObject<{
|
|
206
|
+
preset: _sinclair_typebox.TUnion<_sinclair_typebox.TLiteral<"pct5" | "pct10" | "pct20" | "pct25" | "pct30" | "pct40" | "pct50" | "pct60" | "pct70" | "pct75" | "pct80" | "pct90" | "horz" | "vert" | "ltHorz" | "ltVert" | "dkHorz" | "dkVert" | "narHorz" | "narVert" | "dashHorz" | "dashVert" | "cross" | "dnDiag" | "upDiag" | "ltDnDiag" | "ltUpDiag" | "dkDnDiag" | "dkUpDiag" | "wdDnDiag" | "wdUpDiag" | "dashDnDiag" | "dashUpDiag" | "diagCross" | "smCheck" | "lgCheck" | "smGrid" | "lgGrid" | "dotGrid" | "smConfetti" | "lgConfetti" | "horzBrick" | "diagBrick" | "solidDmnd" | "openDmnd" | "dotDmnd" | "plaid" | "sphere" | "weave" | "divot" | "shingle" | "wave" | "trellis" | "zigZag">[]>;
|
|
207
|
+
foreground: _sinclair_typebox.TString;
|
|
208
|
+
background: _sinclair_typebox.TString;
|
|
209
|
+
}>;
|
|
210
|
+
type GradientStop = Static<typeof GradientStopSchema>;
|
|
211
|
+
type GradientFill = Static<typeof GradientFillSchema>;
|
|
212
|
+
type PatternFill = Static<typeof PatternFillSchema>;
|
|
148
213
|
declare const ShapePropsSchema: _sinclair_typebox.TObject<{
|
|
149
|
-
type: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"rect">, _sinclair_typebox.TLiteral<"roundRect">, _sinclair_typebox.TLiteral<"ellipse">, _sinclair_typebox.TLiteral<"triangle">, _sinclair_typebox.TLiteral<"diamond">, _sinclair_typebox.TLiteral<"pentagon">, _sinclair_typebox.TLiteral<"hexagon">, _sinclair_typebox.TLiteral<"star5">, _sinclair_typebox.TLiteral<"star6">, _sinclair_typebox.TLiteral<"line">, _sinclair_typebox.TLiteral<"arrow">, _sinclair_typebox.TLiteral<"chevron">, _sinclair_typebox.TLiteral<"cloud">, _sinclair_typebox.TLiteral<"heart">, _sinclair_typebox.TLiteral<"lightning">]>;
|
|
214
|
+
type: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"rect">, _sinclair_typebox.TLiteral<"roundRect">, _sinclair_typebox.TLiteral<"ellipse">, _sinclair_typebox.TLiteral<"triangle">, _sinclair_typebox.TLiteral<"diamond">, _sinclair_typebox.TLiteral<"pentagon">, _sinclair_typebox.TLiteral<"hexagon">, _sinclair_typebox.TLiteral<"star5">, _sinclair_typebox.TLiteral<"star6">, _sinclair_typebox.TLiteral<"line">, _sinclair_typebox.TLiteral<"arc">, _sinclair_typebox.TLiteral<"pie">, _sinclair_typebox.TLiteral<"blockArc">, _sinclair_typebox.TLiteral<"chord">, _sinclair_typebox.TLiteral<"arrow">, _sinclair_typebox.TLiteral<"chevron">, _sinclair_typebox.TLiteral<"cloud">, _sinclair_typebox.TLiteral<"heart">, _sinclair_typebox.TLiteral<"lightning">]>;
|
|
150
215
|
x: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
151
216
|
y: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
152
217
|
w: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
153
218
|
h: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
154
219
|
fill: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
155
|
-
color: _sinclair_typebox.TString
|
|
220
|
+
color: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
156
221
|
transparency: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
222
|
+
gradient: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
223
|
+
type: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"linear">, _sinclair_typebox.TLiteral<"radial">]>;
|
|
224
|
+
angle: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
225
|
+
stops: _sinclair_typebox.TArray<_sinclair_typebox.TObject<{
|
|
226
|
+
color: _sinclair_typebox.TString;
|
|
227
|
+
pos: _sinclair_typebox.TNumber;
|
|
228
|
+
transparency: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
229
|
+
}>>;
|
|
230
|
+
focus: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"center">, _sinclair_typebox.TLiteral<"topLeft">, _sinclair_typebox.TLiteral<"topRight">, _sinclair_typebox.TLiteral<"bottomLeft">, _sinclair_typebox.TLiteral<"bottomRight">]>>;
|
|
231
|
+
}>>;
|
|
232
|
+
pattern: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
233
|
+
preset: _sinclair_typebox.TUnion<_sinclair_typebox.TLiteral<"pct5" | "pct10" | "pct20" | "pct25" | "pct30" | "pct40" | "pct50" | "pct60" | "pct70" | "pct75" | "pct80" | "pct90" | "horz" | "vert" | "ltHorz" | "ltVert" | "dkHorz" | "dkVert" | "narHorz" | "narVert" | "dashHorz" | "dashVert" | "cross" | "dnDiag" | "upDiag" | "ltDnDiag" | "ltUpDiag" | "dkDnDiag" | "dkUpDiag" | "wdDnDiag" | "wdUpDiag" | "dashDnDiag" | "dashUpDiag" | "diagCross" | "smCheck" | "lgCheck" | "smGrid" | "lgGrid" | "dotGrid" | "smConfetti" | "lgConfetti" | "horzBrick" | "diagBrick" | "solidDmnd" | "openDmnd" | "dotDmnd" | "plaid" | "sphere" | "weave" | "divot" | "shingle" | "wave" | "trellis" | "zigZag">[]>;
|
|
234
|
+
foreground: _sinclair_typebox.TString;
|
|
235
|
+
background: _sinclair_typebox.TString;
|
|
236
|
+
}>>;
|
|
157
237
|
}>>;
|
|
158
238
|
line: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
159
239
|
color: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
@@ -183,6 +263,9 @@ declare const ShapePropsSchema: _sinclair_typebox.TObject<{
|
|
|
183
263
|
align: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"left">, _sinclair_typebox.TLiteral<"center">, _sinclair_typebox.TLiteral<"right">]>>;
|
|
184
264
|
valign: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"top">, _sinclair_typebox.TLiteral<"middle">, _sinclair_typebox.TLiteral<"bottom">]>>;
|
|
185
265
|
rotate: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
266
|
+
angleRange: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TNumber>>;
|
|
267
|
+
flipH: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
268
|
+
flipV: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
186
269
|
shadow: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
187
270
|
type: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"outer">, _sinclair_typebox.TLiteral<"inner">]>>;
|
|
188
271
|
color: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TString, ...(_sinclair_typebox.TLiteral<"text" | "primary" | "secondary" | "accent" | "background" | "text2" | "background2" | "accent4" | "accent5" | "accent6"> | _sinclair_typebox.TLiteral<"accent1" | "accent2" | "accent3" | "tx1" | "tx2" | "bg1" | "bg2">)[]]>>;
|
|
@@ -295,6 +378,10 @@ declare const PptxChartPropsSchema: _sinclair_typebox.TObject<{
|
|
|
295
378
|
titleColor: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
296
379
|
titleFontFace: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
297
380
|
chartColors: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TString>>;
|
|
381
|
+
dataBorder: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
382
|
+
pt: _sinclair_typebox.TNumber;
|
|
383
|
+
color: _sinclair_typebox.TString;
|
|
384
|
+
}>>;
|
|
298
385
|
legendPos: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"b">, _sinclair_typebox.TLiteral<"l">, _sinclair_typebox.TLiteral<"r">, _sinclair_typebox.TLiteral<"t">, _sinclair_typebox.TLiteral<"tr">]>>;
|
|
299
386
|
legendFontSize: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
300
387
|
legendFontFace: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
@@ -304,6 +391,12 @@ declare const PptxChartPropsSchema: _sinclair_typebox.TObject<{
|
|
|
304
391
|
catAxisLabelRotate: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
305
392
|
catAxisLabelFontSize: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
306
393
|
catAxisLabelColor: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
394
|
+
catAxisLabelFontFace: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
395
|
+
catGridLine: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
396
|
+
style: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"solid">, _sinclair_typebox.TLiteral<"dash">, _sinclair_typebox.TLiteral<"dot">, _sinclair_typebox.TLiteral<"none">]>>;
|
|
397
|
+
size: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
398
|
+
color: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
399
|
+
}>>;
|
|
307
400
|
valAxisTitle: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
308
401
|
valAxisHidden: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
309
402
|
valAxisMinVal: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
@@ -311,12 +404,23 @@ declare const PptxChartPropsSchema: _sinclair_typebox.TObject<{
|
|
|
311
404
|
valAxisLabelFormatCode: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
312
405
|
valAxisMajorUnit: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
313
406
|
valAxisLabelColor: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
407
|
+
valAxisLabelFontFace: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
408
|
+
valAxisLabelFontSize: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
409
|
+
valGridLine: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
410
|
+
style: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"solid">, _sinclair_typebox.TLiteral<"dash">, _sinclair_typebox.TLiteral<"dot">, _sinclair_typebox.TLiteral<"none">]>>;
|
|
411
|
+
size: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
412
|
+
color: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
413
|
+
}>>;
|
|
414
|
+
catAxisLineShow: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
415
|
+
valAxisLineShow: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
314
416
|
barDir: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"bar">, _sinclair_typebox.TLiteral<"col">]>>;
|
|
315
417
|
barGrouping: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"clustered">, _sinclair_typebox.TLiteral<"stacked">, _sinclair_typebox.TLiteral<"percentStacked">]>>;
|
|
316
418
|
barGapWidthPct: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
419
|
+
barOverlapPct: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
317
420
|
lineSmooth: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
318
421
|
lineDataSymbol: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"circle">, _sinclair_typebox.TLiteral<"dash">, _sinclair_typebox.TLiteral<"diamond">, _sinclair_typebox.TLiteral<"dot">, _sinclair_typebox.TLiteral<"none">, _sinclair_typebox.TLiteral<"square">, _sinclair_typebox.TLiteral<"triangle">]>>;
|
|
319
422
|
lineSize: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
423
|
+
lineDataSymbolSize: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
320
424
|
firstSliceAng: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
321
425
|
holeSize: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
322
426
|
radarStyle: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"standard">, _sinclair_typebox.TLiteral<"marker">, _sinclair_typebox.TLiteral<"filled">]>>;
|
|
@@ -351,7 +455,25 @@ interface PptxSlideContentComponentDescriptor<TName extends string = string, TPr
|
|
|
351
455
|
declare const PPTX_SLIDE_CONTENT_COMPONENTS: readonly [{
|
|
352
456
|
readonly name: "text";
|
|
353
457
|
readonly propsSchema: _sinclair_typebox.TObject<{
|
|
354
|
-
text: _sinclair_typebox.TString
|
|
458
|
+
text: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
459
|
+
runs: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TObject<{
|
|
460
|
+
text: _sinclair_typebox.TString;
|
|
461
|
+
color: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
462
|
+
bold: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
463
|
+
fontWeight: _sinclair_typebox.TOptional<_sinclair_typebox.TInteger>;
|
|
464
|
+
italic: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
465
|
+
underline: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TBoolean, _sinclair_typebox.TObject<{
|
|
466
|
+
style: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"sng">, _sinclair_typebox.TLiteral<"dbl">, _sinclair_typebox.TLiteral<"dash">, _sinclair_typebox.TLiteral<"dotted">]>>;
|
|
467
|
+
color: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
468
|
+
}>]>>;
|
|
469
|
+
strike: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
470
|
+
fontSize: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
471
|
+
fontFace: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
472
|
+
superscript: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
473
|
+
subscript: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
474
|
+
charSpacing: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
475
|
+
breakLine: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
476
|
+
}>>>;
|
|
355
477
|
x: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
356
478
|
y: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
357
479
|
w: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
@@ -396,6 +518,7 @@ declare const PPTX_SLIDE_CONTENT_COMPONENTS: readonly [{
|
|
|
396
518
|
tooltip: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
397
519
|
}>>;
|
|
398
520
|
lineSpacing: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
521
|
+
lineSpacingMultiple: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
399
522
|
charSpacing: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
400
523
|
paraSpaceBefore: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
401
524
|
paraSpaceAfter: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
@@ -454,14 +577,29 @@ declare const PPTX_SLIDE_CONTENT_COMPONENTS: readonly [{
|
|
|
454
577
|
}, {
|
|
455
578
|
readonly name: "shape";
|
|
456
579
|
readonly propsSchema: _sinclair_typebox.TObject<{
|
|
457
|
-
type: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"rect">, _sinclair_typebox.TLiteral<"roundRect">, _sinclair_typebox.TLiteral<"ellipse">, _sinclair_typebox.TLiteral<"triangle">, _sinclair_typebox.TLiteral<"diamond">, _sinclair_typebox.TLiteral<"pentagon">, _sinclair_typebox.TLiteral<"hexagon">, _sinclair_typebox.TLiteral<"star5">, _sinclair_typebox.TLiteral<"star6">, _sinclair_typebox.TLiteral<"line">, _sinclair_typebox.TLiteral<"arrow">, _sinclair_typebox.TLiteral<"chevron">, _sinclair_typebox.TLiteral<"cloud">, _sinclair_typebox.TLiteral<"heart">, _sinclair_typebox.TLiteral<"lightning">]>;
|
|
580
|
+
type: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"rect">, _sinclair_typebox.TLiteral<"roundRect">, _sinclair_typebox.TLiteral<"ellipse">, _sinclair_typebox.TLiteral<"triangle">, _sinclair_typebox.TLiteral<"diamond">, _sinclair_typebox.TLiteral<"pentagon">, _sinclair_typebox.TLiteral<"hexagon">, _sinclair_typebox.TLiteral<"star5">, _sinclair_typebox.TLiteral<"star6">, _sinclair_typebox.TLiteral<"line">, _sinclair_typebox.TLiteral<"arc">, _sinclair_typebox.TLiteral<"pie">, _sinclair_typebox.TLiteral<"blockArc">, _sinclair_typebox.TLiteral<"chord">, _sinclair_typebox.TLiteral<"arrow">, _sinclair_typebox.TLiteral<"chevron">, _sinclair_typebox.TLiteral<"cloud">, _sinclair_typebox.TLiteral<"heart">, _sinclair_typebox.TLiteral<"lightning">]>;
|
|
458
581
|
x: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
459
582
|
y: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
460
583
|
w: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
461
584
|
h: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
462
585
|
fill: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
463
|
-
color: _sinclair_typebox.TString
|
|
586
|
+
color: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
464
587
|
transparency: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
588
|
+
gradient: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
589
|
+
type: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"linear">, _sinclair_typebox.TLiteral<"radial">]>;
|
|
590
|
+
angle: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
591
|
+
stops: _sinclair_typebox.TArray<_sinclair_typebox.TObject<{
|
|
592
|
+
color: _sinclair_typebox.TString;
|
|
593
|
+
pos: _sinclair_typebox.TNumber;
|
|
594
|
+
transparency: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
595
|
+
}>>;
|
|
596
|
+
focus: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"center">, _sinclair_typebox.TLiteral<"topLeft">, _sinclair_typebox.TLiteral<"topRight">, _sinclair_typebox.TLiteral<"bottomLeft">, _sinclair_typebox.TLiteral<"bottomRight">]>>;
|
|
597
|
+
}>>;
|
|
598
|
+
pattern: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
599
|
+
preset: _sinclair_typebox.TUnion<_sinclair_typebox.TLiteral<"pct5" | "pct10" | "pct20" | "pct25" | "pct30" | "pct40" | "pct50" | "pct60" | "pct70" | "pct75" | "pct80" | "pct90" | "horz" | "vert" | "ltHorz" | "ltVert" | "dkHorz" | "dkVert" | "narHorz" | "narVert" | "dashHorz" | "dashVert" | "cross" | "dnDiag" | "upDiag" | "ltDnDiag" | "ltUpDiag" | "dkDnDiag" | "dkUpDiag" | "wdDnDiag" | "wdUpDiag" | "dashDnDiag" | "dashUpDiag" | "diagCross" | "smCheck" | "lgCheck" | "smGrid" | "lgGrid" | "dotGrid" | "smConfetti" | "lgConfetti" | "horzBrick" | "diagBrick" | "solidDmnd" | "openDmnd" | "dotDmnd" | "plaid" | "sphere" | "weave" | "divot" | "shingle" | "wave" | "trellis" | "zigZag">[]>;
|
|
600
|
+
foreground: _sinclair_typebox.TString;
|
|
601
|
+
background: _sinclair_typebox.TString;
|
|
602
|
+
}>>;
|
|
465
603
|
}>>;
|
|
466
604
|
line: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
467
605
|
color: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
@@ -491,6 +629,9 @@ declare const PPTX_SLIDE_CONTENT_COMPONENTS: readonly [{
|
|
|
491
629
|
align: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"left">, _sinclair_typebox.TLiteral<"center">, _sinclair_typebox.TLiteral<"right">]>>;
|
|
492
630
|
valign: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"top">, _sinclair_typebox.TLiteral<"middle">, _sinclair_typebox.TLiteral<"bottom">]>>;
|
|
493
631
|
rotate: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
632
|
+
angleRange: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TNumber>>;
|
|
633
|
+
flipH: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
634
|
+
flipV: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
494
635
|
shadow: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
495
636
|
type: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"outer">, _sinclair_typebox.TLiteral<"inner">]>>;
|
|
496
637
|
color: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TString, ...(_sinclair_typebox.TLiteral<"text" | "primary" | "secondary" | "accent" | "background" | "text2" | "background2" | "accent4" | "accent5" | "accent6"> | _sinclair_typebox.TLiteral<"accent1" | "accent2" | "accent3" | "tx1" | "tx2" | "bg1" | "bg2">)[]]>>;
|
|
@@ -611,6 +752,10 @@ declare const PPTX_SLIDE_CONTENT_COMPONENTS: readonly [{
|
|
|
611
752
|
titleColor: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
612
753
|
titleFontFace: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
613
754
|
chartColors: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TString>>;
|
|
755
|
+
dataBorder: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
756
|
+
pt: _sinclair_typebox.TNumber;
|
|
757
|
+
color: _sinclair_typebox.TString;
|
|
758
|
+
}>>;
|
|
614
759
|
legendPos: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"b">, _sinclair_typebox.TLiteral<"l">, _sinclair_typebox.TLiteral<"r">, _sinclair_typebox.TLiteral<"t">, _sinclair_typebox.TLiteral<"tr">]>>;
|
|
615
760
|
legendFontSize: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
616
761
|
legendFontFace: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
@@ -620,6 +765,12 @@ declare const PPTX_SLIDE_CONTENT_COMPONENTS: readonly [{
|
|
|
620
765
|
catAxisLabelRotate: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
621
766
|
catAxisLabelFontSize: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
622
767
|
catAxisLabelColor: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
768
|
+
catAxisLabelFontFace: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
769
|
+
catGridLine: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
770
|
+
style: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"solid">, _sinclair_typebox.TLiteral<"dash">, _sinclair_typebox.TLiteral<"dot">, _sinclair_typebox.TLiteral<"none">]>>;
|
|
771
|
+
size: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
772
|
+
color: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
773
|
+
}>>;
|
|
623
774
|
valAxisTitle: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
624
775
|
valAxisHidden: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
625
776
|
valAxisMinVal: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
@@ -627,12 +778,23 @@ declare const PPTX_SLIDE_CONTENT_COMPONENTS: readonly [{
|
|
|
627
778
|
valAxisLabelFormatCode: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
628
779
|
valAxisMajorUnit: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
629
780
|
valAxisLabelColor: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
781
|
+
valAxisLabelFontFace: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
782
|
+
valAxisLabelFontSize: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
783
|
+
valGridLine: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
784
|
+
style: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"solid">, _sinclair_typebox.TLiteral<"dash">, _sinclair_typebox.TLiteral<"dot">, _sinclair_typebox.TLiteral<"none">]>>;
|
|
785
|
+
size: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
786
|
+
color: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
787
|
+
}>>;
|
|
788
|
+
catAxisLineShow: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
789
|
+
valAxisLineShow: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
630
790
|
barDir: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"bar">, _sinclair_typebox.TLiteral<"col">]>>;
|
|
631
791
|
barGrouping: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"clustered">, _sinclair_typebox.TLiteral<"stacked">, _sinclair_typebox.TLiteral<"percentStacked">]>>;
|
|
632
792
|
barGapWidthPct: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
793
|
+
barOverlapPct: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
633
794
|
lineSmooth: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
634
795
|
lineDataSymbol: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"circle">, _sinclair_typebox.TLiteral<"dash">, _sinclair_typebox.TLiteral<"diamond">, _sinclair_typebox.TLiteral<"dot">, _sinclair_typebox.TLiteral<"none">, _sinclair_typebox.TLiteral<"square">, _sinclair_typebox.TLiteral<"triangle">]>>;
|
|
635
796
|
lineSize: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
797
|
+
lineDataSymbolSize: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
636
798
|
firstSliceAng: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
637
799
|
holeSize: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
638
800
|
radarStyle: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"standard">, _sinclair_typebox.TLiteral<"marker">, _sinclair_typebox.TLiteral<"filled">]>>;
|
|
@@ -666,7 +828,25 @@ declare const PptxSlideContentSchema: _sinclair_typebox.TUnion<[_sinclair_typebo
|
|
|
666
828
|
id: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
667
829
|
enabled: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
668
830
|
props: _sinclair_typebox.TObject<{
|
|
669
|
-
text: _sinclair_typebox.TString
|
|
831
|
+
text: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
832
|
+
runs: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TObject<{
|
|
833
|
+
text: _sinclair_typebox.TString;
|
|
834
|
+
color: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
835
|
+
bold: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
836
|
+
fontWeight: _sinclair_typebox.TOptional<_sinclair_typebox.TInteger>;
|
|
837
|
+
italic: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
838
|
+
underline: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TBoolean, _sinclair_typebox.TObject<{
|
|
839
|
+
style: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"sng">, _sinclair_typebox.TLiteral<"dbl">, _sinclair_typebox.TLiteral<"dash">, _sinclair_typebox.TLiteral<"dotted">]>>;
|
|
840
|
+
color: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
841
|
+
}>]>>;
|
|
842
|
+
strike: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
843
|
+
fontSize: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
844
|
+
fontFace: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
845
|
+
superscript: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
846
|
+
subscript: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
847
|
+
charSpacing: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
848
|
+
breakLine: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
849
|
+
}>>>;
|
|
670
850
|
x: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
671
851
|
y: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
672
852
|
w: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
@@ -711,6 +891,7 @@ declare const PptxSlideContentSchema: _sinclair_typebox.TUnion<[_sinclair_typebo
|
|
|
711
891
|
tooltip: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
712
892
|
}>>;
|
|
713
893
|
lineSpacing: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
894
|
+
lineSpacingMultiple: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
714
895
|
charSpacing: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
715
896
|
paraSpaceBefore: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
716
897
|
paraSpaceAfter: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
@@ -767,14 +948,29 @@ declare const PptxSlideContentSchema: _sinclair_typebox.TUnion<[_sinclair_typebo
|
|
|
767
948
|
id: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
768
949
|
enabled: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
769
950
|
props: _sinclair_typebox.TObject<{
|
|
770
|
-
type: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"rect">, _sinclair_typebox.TLiteral<"roundRect">, _sinclair_typebox.TLiteral<"ellipse">, _sinclair_typebox.TLiteral<"triangle">, _sinclair_typebox.TLiteral<"diamond">, _sinclair_typebox.TLiteral<"pentagon">, _sinclair_typebox.TLiteral<"hexagon">, _sinclair_typebox.TLiteral<"star5">, _sinclair_typebox.TLiteral<"star6">, _sinclair_typebox.TLiteral<"line">, _sinclair_typebox.TLiteral<"arrow">, _sinclair_typebox.TLiteral<"chevron">, _sinclair_typebox.TLiteral<"cloud">, _sinclair_typebox.TLiteral<"heart">, _sinclair_typebox.TLiteral<"lightning">]>;
|
|
951
|
+
type: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"rect">, _sinclair_typebox.TLiteral<"roundRect">, _sinclair_typebox.TLiteral<"ellipse">, _sinclair_typebox.TLiteral<"triangle">, _sinclair_typebox.TLiteral<"diamond">, _sinclair_typebox.TLiteral<"pentagon">, _sinclair_typebox.TLiteral<"hexagon">, _sinclair_typebox.TLiteral<"star5">, _sinclair_typebox.TLiteral<"star6">, _sinclair_typebox.TLiteral<"line">, _sinclair_typebox.TLiteral<"arc">, _sinclair_typebox.TLiteral<"pie">, _sinclair_typebox.TLiteral<"blockArc">, _sinclair_typebox.TLiteral<"chord">, _sinclair_typebox.TLiteral<"arrow">, _sinclair_typebox.TLiteral<"chevron">, _sinclair_typebox.TLiteral<"cloud">, _sinclair_typebox.TLiteral<"heart">, _sinclair_typebox.TLiteral<"lightning">]>;
|
|
771
952
|
x: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
772
953
|
y: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
773
954
|
w: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
774
955
|
h: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
775
956
|
fill: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
776
|
-
color: _sinclair_typebox.TString
|
|
957
|
+
color: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
777
958
|
transparency: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
959
|
+
gradient: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
960
|
+
type: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"linear">, _sinclair_typebox.TLiteral<"radial">]>;
|
|
961
|
+
angle: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
962
|
+
stops: _sinclair_typebox.TArray<_sinclair_typebox.TObject<{
|
|
963
|
+
color: _sinclair_typebox.TString;
|
|
964
|
+
pos: _sinclair_typebox.TNumber;
|
|
965
|
+
transparency: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
966
|
+
}>>;
|
|
967
|
+
focus: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"center">, _sinclair_typebox.TLiteral<"topLeft">, _sinclair_typebox.TLiteral<"topRight">, _sinclair_typebox.TLiteral<"bottomLeft">, _sinclair_typebox.TLiteral<"bottomRight">]>>;
|
|
968
|
+
}>>;
|
|
969
|
+
pattern: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
970
|
+
preset: _sinclair_typebox.TUnion<_sinclair_typebox.TLiteral<"pct5" | "pct10" | "pct20" | "pct25" | "pct30" | "pct40" | "pct50" | "pct60" | "pct70" | "pct75" | "pct80" | "pct90" | "horz" | "vert" | "ltHorz" | "ltVert" | "dkHorz" | "dkVert" | "narHorz" | "narVert" | "dashHorz" | "dashVert" | "cross" | "dnDiag" | "upDiag" | "ltDnDiag" | "ltUpDiag" | "dkDnDiag" | "dkUpDiag" | "wdDnDiag" | "wdUpDiag" | "dashDnDiag" | "dashUpDiag" | "diagCross" | "smCheck" | "lgCheck" | "smGrid" | "lgGrid" | "dotGrid" | "smConfetti" | "lgConfetti" | "horzBrick" | "diagBrick" | "solidDmnd" | "openDmnd" | "dotDmnd" | "plaid" | "sphere" | "weave" | "divot" | "shingle" | "wave" | "trellis" | "zigZag">[]>;
|
|
971
|
+
foreground: _sinclair_typebox.TString;
|
|
972
|
+
background: _sinclair_typebox.TString;
|
|
973
|
+
}>>;
|
|
778
974
|
}>>;
|
|
779
975
|
line: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
780
976
|
color: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
@@ -804,6 +1000,9 @@ declare const PptxSlideContentSchema: _sinclair_typebox.TUnion<[_sinclair_typebo
|
|
|
804
1000
|
align: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"left">, _sinclair_typebox.TLiteral<"center">, _sinclair_typebox.TLiteral<"right">]>>;
|
|
805
1001
|
valign: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"top">, _sinclair_typebox.TLiteral<"middle">, _sinclair_typebox.TLiteral<"bottom">]>>;
|
|
806
1002
|
rotate: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
1003
|
+
angleRange: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TNumber>>;
|
|
1004
|
+
flipH: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
1005
|
+
flipV: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
807
1006
|
shadow: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
808
1007
|
type: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"outer">, _sinclair_typebox.TLiteral<"inner">]>>;
|
|
809
1008
|
color: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TString, ...(_sinclair_typebox.TLiteral<"text" | "primary" | "secondary" | "accent" | "background" | "text2" | "background2" | "accent4" | "accent5" | "accent6"> | _sinclair_typebox.TLiteral<"accent1" | "accent2" | "accent3" | "tx1" | "tx2" | "bg1" | "bg2">)[]]>>;
|
|
@@ -921,6 +1120,10 @@ declare const PptxSlideContentSchema: _sinclair_typebox.TUnion<[_sinclair_typebo
|
|
|
921
1120
|
titleColor: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
922
1121
|
titleFontFace: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
923
1122
|
chartColors: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TString>>;
|
|
1123
|
+
dataBorder: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
1124
|
+
pt: _sinclair_typebox.TNumber;
|
|
1125
|
+
color: _sinclair_typebox.TString;
|
|
1126
|
+
}>>;
|
|
924
1127
|
legendPos: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"b">, _sinclair_typebox.TLiteral<"l">, _sinclair_typebox.TLiteral<"r">, _sinclair_typebox.TLiteral<"t">, _sinclair_typebox.TLiteral<"tr">]>>;
|
|
925
1128
|
legendFontSize: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
926
1129
|
legendFontFace: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
@@ -930,6 +1133,12 @@ declare const PptxSlideContentSchema: _sinclair_typebox.TUnion<[_sinclair_typebo
|
|
|
930
1133
|
catAxisLabelRotate: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
931
1134
|
catAxisLabelFontSize: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
932
1135
|
catAxisLabelColor: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
1136
|
+
catAxisLabelFontFace: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
1137
|
+
catGridLine: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
1138
|
+
style: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"solid">, _sinclair_typebox.TLiteral<"dash">, _sinclair_typebox.TLiteral<"dot">, _sinclair_typebox.TLiteral<"none">]>>;
|
|
1139
|
+
size: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
1140
|
+
color: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
1141
|
+
}>>;
|
|
933
1142
|
valAxisTitle: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
934
1143
|
valAxisHidden: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
935
1144
|
valAxisMinVal: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
@@ -937,12 +1146,23 @@ declare const PptxSlideContentSchema: _sinclair_typebox.TUnion<[_sinclair_typebo
|
|
|
937
1146
|
valAxisLabelFormatCode: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
938
1147
|
valAxisMajorUnit: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
939
1148
|
valAxisLabelColor: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
1149
|
+
valAxisLabelFontFace: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
1150
|
+
valAxisLabelFontSize: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
1151
|
+
valGridLine: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
1152
|
+
style: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"solid">, _sinclair_typebox.TLiteral<"dash">, _sinclair_typebox.TLiteral<"dot">, _sinclair_typebox.TLiteral<"none">]>>;
|
|
1153
|
+
size: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
1154
|
+
color: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
1155
|
+
}>>;
|
|
1156
|
+
catAxisLineShow: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
1157
|
+
valAxisLineShow: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
940
1158
|
barDir: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"bar">, _sinclair_typebox.TLiteral<"col">]>>;
|
|
941
1159
|
barGrouping: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"clustered">, _sinclair_typebox.TLiteral<"stacked">, _sinclair_typebox.TLiteral<"percentStacked">]>>;
|
|
942
1160
|
barGapWidthPct: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
1161
|
+
barOverlapPct: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
943
1162
|
lineSmooth: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
944
1163
|
lineDataSymbol: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"circle">, _sinclair_typebox.TLiteral<"dash">, _sinclair_typebox.TLiteral<"diamond">, _sinclair_typebox.TLiteral<"dot">, _sinclair_typebox.TLiteral<"none">, _sinclair_typebox.TLiteral<"square">, _sinclair_typebox.TLiteral<"triangle">]>>;
|
|
945
1164
|
lineSize: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
1165
|
+
lineDataSymbolSize: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
946
1166
|
firstSliceAng: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
947
1167
|
holeSize: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
948
1168
|
radarStyle: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"standard">, _sinclair_typebox.TLiteral<"marker">, _sinclair_typebox.TLiteral<"filled">]>>;
|
|
@@ -965,4 +1185,4 @@ declare const PptxSlideContentSchema: _sinclair_typebox.TUnion<[_sinclair_typebo
|
|
|
965
1185
|
}>]>;
|
|
966
1186
|
type PptxSlideContent = Static<typeof PptxSlideContentSchema>;
|
|
967
1187
|
|
|
968
|
-
export { ColorValueSchema, type GridPosition, GridPositionSchema, PPTX_SLIDE_CONTENT_COMPONENTS, type PptxAlignment, PptxAlignmentSchema, type PptxChartProps, PptxChartPropsSchema, type PptxHighchartsProps, PptxHighchartsPropsSchema, type PptxImageProps, PptxImagePropsSchema, type PptxSlideContent, type PptxSlideContentComponentDescriptor, type PptxSlideContentComponentName, PptxSlideContentSchema, type PptxTableProps, PptxTablePropsSchema, SEMANTIC_COLOR_ALIASES, SEMANTIC_COLOR_NAMES, STYLE_NAMES, type Shadow, ShadowSchema, type ShapeProps, ShapePropsSchema, type ShapeType, ShapeTypeSchema, type StyleName, StyleNameSchema, type TextProps, TextPropsSchema, type TextSegment, TextSegmentSchema, type VerticalAlignment, VerticalAlignmentSchema };
|
|
1188
|
+
export { ColorValueSchema, type GradientFill, GradientFillSchema, type GradientStop, GradientStopSchema, type GridPosition, GridPositionSchema, PATTERN_FILL_PRESETS, PPTX_SLIDE_CONTENT_COMPONENTS, type PatternFill, PatternFillSchema, type PptxAlignment, PptxAlignmentSchema, type PptxChartProps, PptxChartPropsSchema, type PptxHighchartsProps, PptxHighchartsPropsSchema, type PptxImageProps, PptxImagePropsSchema, type PptxSlideContent, type PptxSlideContentComponentDescriptor, type PptxSlideContentComponentName, PptxSlideContentSchema, type PptxTableProps, PptxTablePropsSchema, SEMANTIC_COLOR_ALIASES, SEMANTIC_COLOR_NAMES, STYLE_NAMES, type Shadow, ShadowSchema, type ShapeProps, ShapePropsSchema, type ShapeType, ShapeTypeSchema, type StyleName, StyleNameSchema, type TextProps, TextPropsSchema, type TextRun, TextRunSchema, type TextSegment, TextSegmentSchema, type VerticalAlignment, VerticalAlignmentSchema };
|