@json-to-office/shared-pptx 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +18 -0
- package/README.md +9 -0
- package/dist/chunk-2USGRQBI.js +1109 -0
- package/dist/chunk-2USGRQBI.js.map +1 -0
- package/dist/chunk-3MJF4X5S.js +28 -0
- package/dist/chunk-3MJF4X5S.js.map +1 -0
- package/dist/chunk-COFU7FOQ.js +21 -0
- package/dist/chunk-COFU7FOQ.js.map +1 -0
- package/dist/chunk-J4OT5Y5B.js +1 -0
- package/dist/chunk-J4OT5Y5B.js.map +1 -0
- package/dist/chunk-MZ3TEFYH.js +154 -0
- package/dist/chunk-MZ3TEFYH.js.map +1 -0
- package/dist/chunk-RV7W3UXU.js +51 -0
- package/dist/chunk-RV7W3UXU.js.map +1 -0
- package/dist/chunk-USXTHQ7L.js +40 -0
- package/dist/chunk-USXTHQ7L.js.map +1 -0
- package/dist/index.d.ts +25 -0
- package/dist/index.js +124 -0
- package/dist/index.js.map +1 -0
- package/dist/schemas/component-registry.d.ts +37 -0
- package/dist/schemas/component-registry.js +24 -0
- package/dist/schemas/component-registry.js.map +1 -0
- package/dist/schemas/component-union.d.ts +8 -0
- package/dist/schemas/component-union.js +11 -0
- package/dist/schemas/component-union.js.map +1 -0
- package/dist/schemas/components.d.ts +419 -0
- package/dist/schemas/components.js +45 -0
- package/dist/schemas/components.js.map +1 -0
- package/dist/schemas/document.d.ts +16 -0
- package/dist/schemas/document.js +13 -0
- package/dist/schemas/document.js.map +1 -0
- package/dist/schemas/export.d.ts +14 -0
- package/dist/schemas/export.js +9 -0
- package/dist/schemas/export.js.map +1 -0
- package/dist/schemas/generator.d.ts +30 -0
- package/dist/schemas/generator.js +9 -0
- package/dist/schemas/generator.js.map +1 -0
- package/dist/schemas/theme.d.ts +89 -0
- package/dist/schemas/theme.js +27 -0
- package/dist/schemas/theme.js.map +1 -0
- package/package.json +74 -0
|
@@ -0,0 +1,419 @@
|
|
|
1
|
+
import * as _sinclair_typebox from '@sinclair/typebox';
|
|
2
|
+
import { Static } from '@sinclair/typebox';
|
|
3
|
+
export { PptxComponentDefinition, PptxComponentDefinitionSchema, PptxStandardComponentDefinitionSchema } from './component-union.js';
|
|
4
|
+
|
|
5
|
+
declare const PositionSchema: _sinclair_typebox.TObject<{
|
|
6
|
+
x: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
7
|
+
y: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
8
|
+
w: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
9
|
+
h: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
10
|
+
}>;
|
|
11
|
+
declare const SlideBackgroundSchema: _sinclair_typebox.TObject<{
|
|
12
|
+
color: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TString, ...(_sinclair_typebox.TLiteral<"primary" | "secondary" | "accent" | "background" | "text" | "text2" | "background2" | "accent4" | "accent5" | "accent6"> | _sinclair_typebox.TLiteral<"accent1" | "accent2" | "accent3" | "tx1" | "tx2" | "bg1" | "bg2">)[]]>>;
|
|
13
|
+
image: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
14
|
+
path: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
15
|
+
base64: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
16
|
+
}>>;
|
|
17
|
+
}>;
|
|
18
|
+
declare const TransitionSchema: _sinclair_typebox.TObject<{
|
|
19
|
+
type: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"fade">, _sinclair_typebox.TLiteral<"push">, _sinclair_typebox.TLiteral<"wipe">, _sinclair_typebox.TLiteral<"zoom">, _sinclair_typebox.TLiteral<"none">]>>;
|
|
20
|
+
speed: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"slow">, _sinclair_typebox.TLiteral<"medium">, _sinclair_typebox.TLiteral<"fast">]>>;
|
|
21
|
+
}>;
|
|
22
|
+
declare const PptxAlignmentSchema: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"left">, _sinclair_typebox.TLiteral<"center">, _sinclair_typebox.TLiteral<"right">]>;
|
|
23
|
+
declare const VerticalAlignmentSchema: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"top">, _sinclair_typebox.TLiteral<"middle">, _sinclair_typebox.TLiteral<"bottom">]>;
|
|
24
|
+
declare const ShadowSchema: _sinclair_typebox.TObject<{
|
|
25
|
+
type: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"outer">, _sinclair_typebox.TLiteral<"inner">]>>;
|
|
26
|
+
color: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TString, ...(_sinclair_typebox.TLiteral<"primary" | "secondary" | "accent" | "background" | "text" | "text2" | "background2" | "accent4" | "accent5" | "accent6"> | _sinclair_typebox.TLiteral<"accent1" | "accent2" | "accent3" | "tx1" | "tx2" | "bg1" | "bg2">)[]]>>;
|
|
27
|
+
blur: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
28
|
+
offset: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
29
|
+
angle: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
30
|
+
opacity: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
31
|
+
}>;
|
|
32
|
+
declare const GridPositionSchema: _sinclair_typebox.TObject<{
|
|
33
|
+
column: _sinclair_typebox.TNumber;
|
|
34
|
+
row: _sinclair_typebox.TNumber;
|
|
35
|
+
columnSpan: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
36
|
+
rowSpan: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
37
|
+
}>;
|
|
38
|
+
type GridPosition = Static<typeof GridPositionSchema>;
|
|
39
|
+
type Position = Static<typeof PositionSchema>;
|
|
40
|
+
type SlideBackground = Static<typeof SlideBackgroundSchema>;
|
|
41
|
+
type Transition = Static<typeof TransitionSchema>;
|
|
42
|
+
type PptxAlignment = Static<typeof PptxAlignmentSchema>;
|
|
43
|
+
type VerticalAlignment = Static<typeof VerticalAlignmentSchema>;
|
|
44
|
+
type Shadow = Static<typeof ShadowSchema>;
|
|
45
|
+
|
|
46
|
+
declare const PresentationPropsSchema: _sinclair_typebox.TObject<{
|
|
47
|
+
title: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
48
|
+
author: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
49
|
+
subject: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
50
|
+
company: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
51
|
+
theme: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
52
|
+
slideWidth: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
53
|
+
slideHeight: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
54
|
+
rtlMode: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
55
|
+
pageNumberFormat: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"9">, _sinclair_typebox.TLiteral<"09">]>>;
|
|
56
|
+
grid: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
57
|
+
columns: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
58
|
+
rows: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
59
|
+
margin: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TObject<{
|
|
60
|
+
top: _sinclair_typebox.TNumber;
|
|
61
|
+
right: _sinclair_typebox.TNumber;
|
|
62
|
+
bottom: _sinclair_typebox.TNumber;
|
|
63
|
+
left: _sinclair_typebox.TNumber;
|
|
64
|
+
}>]>>;
|
|
65
|
+
gutter: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TObject<{
|
|
66
|
+
column: _sinclair_typebox.TNumber;
|
|
67
|
+
row: _sinclair_typebox.TNumber;
|
|
68
|
+
}>]>>;
|
|
69
|
+
}>>;
|
|
70
|
+
templates: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TObject<{
|
|
71
|
+
name: _sinclair_typebox.TString;
|
|
72
|
+
background: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
73
|
+
color: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TString, ...(_sinclair_typebox.TLiteral<"primary" | "secondary" | "accent" | "background" | "text" | "text2" | "background2" | "accent4" | "accent5" | "accent6"> | _sinclair_typebox.TLiteral<"accent1" | "accent2" | "accent3" | "tx1" | "tx2" | "bg1" | "bg2">)[]]>>;
|
|
74
|
+
image: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
75
|
+
path: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
76
|
+
base64: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
77
|
+
}>>;
|
|
78
|
+
}>>;
|
|
79
|
+
margin: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TArray<_sinclair_typebox.TNumber>]>>;
|
|
80
|
+
slideNumber: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
81
|
+
x: _sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>;
|
|
82
|
+
y: _sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>;
|
|
83
|
+
w: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
84
|
+
h: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
85
|
+
color: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TString, ...(_sinclair_typebox.TLiteral<"primary" | "secondary" | "accent" | "background" | "text" | "text2" | "background2" | "accent4" | "accent5" | "accent6"> | _sinclair_typebox.TLiteral<"accent1" | "accent2" | "accent3" | "tx1" | "tx2" | "bg1" | "bg2">)[]]>>;
|
|
86
|
+
fontSize: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
87
|
+
}>>;
|
|
88
|
+
objects: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TUnion<[_sinclair_typebox.TObject<{
|
|
89
|
+
name: _sinclair_typebox.TLiteral<string>;
|
|
90
|
+
id: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
91
|
+
enabled: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
92
|
+
props: _sinclair_typebox.TSchema;
|
|
93
|
+
}>, _sinclair_typebox.TObject<{
|
|
94
|
+
name: _sinclair_typebox.TLiteral<string>;
|
|
95
|
+
id: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
96
|
+
enabled: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
97
|
+
props: _sinclair_typebox.TSchema;
|
|
98
|
+
}>, _sinclair_typebox.TObject<{
|
|
99
|
+
name: _sinclair_typebox.TLiteral<string>;
|
|
100
|
+
id: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
101
|
+
enabled: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
102
|
+
props: _sinclair_typebox.TSchema;
|
|
103
|
+
}>, _sinclair_typebox.TObject<{
|
|
104
|
+
name: _sinclair_typebox.TLiteral<string>;
|
|
105
|
+
id: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
106
|
+
enabled: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
107
|
+
props: _sinclair_typebox.TSchema;
|
|
108
|
+
}>, _sinclair_typebox.TObject<{
|
|
109
|
+
name: _sinclair_typebox.TLiteral<string>;
|
|
110
|
+
id: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
111
|
+
enabled: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
112
|
+
props: _sinclair_typebox.TSchema;
|
|
113
|
+
}>, _sinclair_typebox.TObject<{
|
|
114
|
+
name: _sinclair_typebox.TLiteral<string>;
|
|
115
|
+
id: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
116
|
+
enabled: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
117
|
+
props: _sinclair_typebox.TSchema;
|
|
118
|
+
}>]>>>;
|
|
119
|
+
placeholders: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TObject<{
|
|
120
|
+
name: _sinclair_typebox.TString;
|
|
121
|
+
x: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
122
|
+
y: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
123
|
+
w: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
124
|
+
h: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
125
|
+
grid: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
126
|
+
column: _sinclair_typebox.TNumber;
|
|
127
|
+
row: _sinclair_typebox.TNumber;
|
|
128
|
+
columnSpan: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
129
|
+
rowSpan: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
130
|
+
}>>;
|
|
131
|
+
defaults: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TObject<{
|
|
132
|
+
name: _sinclair_typebox.TLiteral<string>;
|
|
133
|
+
props: _sinclair_typebox.TObject<{}>;
|
|
134
|
+
}>, _sinclair_typebox.TObject<{
|
|
135
|
+
name: _sinclair_typebox.TLiteral<string>;
|
|
136
|
+
props: _sinclair_typebox.TObject<{}>;
|
|
137
|
+
}>, _sinclair_typebox.TObject<{
|
|
138
|
+
name: _sinclair_typebox.TLiteral<string>;
|
|
139
|
+
props: _sinclair_typebox.TObject<{}>;
|
|
140
|
+
}>, _sinclair_typebox.TObject<{
|
|
141
|
+
name: _sinclair_typebox.TLiteral<string>;
|
|
142
|
+
props: _sinclair_typebox.TObject<{}>;
|
|
143
|
+
}>, _sinclair_typebox.TObject<{
|
|
144
|
+
name: _sinclair_typebox.TLiteral<string>;
|
|
145
|
+
props: _sinclair_typebox.TObject<{}>;
|
|
146
|
+
}>, _sinclair_typebox.TObject<{
|
|
147
|
+
name: _sinclair_typebox.TLiteral<string>;
|
|
148
|
+
props: _sinclair_typebox.TObject<{}>;
|
|
149
|
+
}>]>>;
|
|
150
|
+
}>>>;
|
|
151
|
+
grid: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
152
|
+
columns: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
153
|
+
rows: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
154
|
+
margin: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TObject<{
|
|
155
|
+
top: _sinclair_typebox.TNumber;
|
|
156
|
+
right: _sinclair_typebox.TNumber;
|
|
157
|
+
bottom: _sinclair_typebox.TNumber;
|
|
158
|
+
left: _sinclair_typebox.TNumber;
|
|
159
|
+
}>]>>;
|
|
160
|
+
gutter: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TObject<{
|
|
161
|
+
column: _sinclair_typebox.TNumber;
|
|
162
|
+
row: _sinclair_typebox.TNumber;
|
|
163
|
+
}>]>>;
|
|
164
|
+
}>>;
|
|
165
|
+
}>>>;
|
|
166
|
+
}>;
|
|
167
|
+
type PresentationProps = Static<typeof PresentationPropsSchema>;
|
|
168
|
+
|
|
169
|
+
declare const SlidePropsSchema: _sinclair_typebox.TObject<{
|
|
170
|
+
background: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
171
|
+
color: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TString, ...(_sinclair_typebox.TLiteral<"primary" | "secondary" | "accent" | "background" | "text" | "text2" | "background2" | "accent4" | "accent5" | "accent6"> | _sinclair_typebox.TLiteral<"accent1" | "accent2" | "accent3" | "tx1" | "tx2" | "bg1" | "bg2">)[]]>>;
|
|
172
|
+
image: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
173
|
+
path: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
174
|
+
base64: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
175
|
+
}>>;
|
|
176
|
+
}>>;
|
|
177
|
+
transition: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
178
|
+
type: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"fade">, _sinclair_typebox.TLiteral<"push">, _sinclair_typebox.TLiteral<"wipe">, _sinclair_typebox.TLiteral<"zoom">, _sinclair_typebox.TLiteral<"none">]>>;
|
|
179
|
+
speed: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"slow">, _sinclair_typebox.TLiteral<"medium">, _sinclair_typebox.TLiteral<"fast">]>>;
|
|
180
|
+
}>>;
|
|
181
|
+
notes: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
182
|
+
layout: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
183
|
+
hidden: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
184
|
+
template: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
185
|
+
}>;
|
|
186
|
+
type SlideProps = Static<typeof SlidePropsSchema>;
|
|
187
|
+
|
|
188
|
+
declare const TextPropsSchema: _sinclair_typebox.TObject<{
|
|
189
|
+
text: _sinclair_typebox.TString;
|
|
190
|
+
x: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
191
|
+
y: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
192
|
+
w: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
193
|
+
h: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
194
|
+
fontSize: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
195
|
+
fontFace: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
196
|
+
color: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
197
|
+
bold: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
198
|
+
italic: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
199
|
+
underline: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TBoolean, _sinclair_typebox.TObject<{
|
|
200
|
+
style: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"sng">, _sinclair_typebox.TLiteral<"dbl">, _sinclair_typebox.TLiteral<"dash">, _sinclair_typebox.TLiteral<"dotted">]>>;
|
|
201
|
+
color: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
202
|
+
}>]>>;
|
|
203
|
+
strike: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
204
|
+
align: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"left">, _sinclair_typebox.TLiteral<"center">, _sinclair_typebox.TLiteral<"right">]>>;
|
|
205
|
+
valign: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"top">, _sinclair_typebox.TLiteral<"middle">, _sinclair_typebox.TLiteral<"bottom">]>>;
|
|
206
|
+
breakLine: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
207
|
+
bullet: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TBoolean, _sinclair_typebox.TObject<{
|
|
208
|
+
type: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"bullet">, _sinclair_typebox.TLiteral<"number">]>>;
|
|
209
|
+
style: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
210
|
+
startAt: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
211
|
+
}>]>>;
|
|
212
|
+
margin: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TArray<_sinclair_typebox.TNumber>]>>;
|
|
213
|
+
rotate: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
214
|
+
shadow: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
215
|
+
type: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"outer">, _sinclair_typebox.TLiteral<"inner">]>>;
|
|
216
|
+
color: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TString, ...(_sinclair_typebox.TLiteral<"primary" | "secondary" | "accent" | "background" | "text" | "text2" | "background2" | "accent4" | "accent5" | "accent6"> | _sinclair_typebox.TLiteral<"accent1" | "accent2" | "accent3" | "tx1" | "tx2" | "bg1" | "bg2">)[]]>>;
|
|
217
|
+
blur: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
218
|
+
offset: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
219
|
+
angle: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
220
|
+
opacity: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
221
|
+
}>>;
|
|
222
|
+
fill: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
223
|
+
color: _sinclair_typebox.TString;
|
|
224
|
+
transparency: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
225
|
+
}>>;
|
|
226
|
+
hyperlink: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
227
|
+
url: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
228
|
+
slide: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
229
|
+
tooltip: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
230
|
+
}>>;
|
|
231
|
+
lineSpacing: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
232
|
+
charSpacing: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
233
|
+
paraSpaceBefore: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
234
|
+
paraSpaceAfter: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
235
|
+
grid: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
236
|
+
column: _sinclair_typebox.TNumber;
|
|
237
|
+
row: _sinclair_typebox.TNumber;
|
|
238
|
+
columnSpan: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
239
|
+
rowSpan: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
240
|
+
}>>;
|
|
241
|
+
style: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<_sinclair_typebox.TLiteral<"title" | "subtitle" | "heading1" | "heading2" | "heading3" | "body" | "caption">[]>>;
|
|
242
|
+
}>;
|
|
243
|
+
type TextProps = Static<typeof TextPropsSchema>;
|
|
244
|
+
|
|
245
|
+
declare const PptxImagePropsSchema: _sinclair_typebox.TObject<{
|
|
246
|
+
path: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
247
|
+
base64: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
248
|
+
x: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
249
|
+
y: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
250
|
+
w: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
251
|
+
h: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
252
|
+
sizing: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
253
|
+
type: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"contain">, _sinclair_typebox.TLiteral<"cover">, _sinclair_typebox.TLiteral<"crop">]>;
|
|
254
|
+
w: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
255
|
+
h: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
256
|
+
}>>;
|
|
257
|
+
rotate: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
258
|
+
rounding: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
259
|
+
shadow: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
260
|
+
type: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"outer">, _sinclair_typebox.TLiteral<"inner">]>>;
|
|
261
|
+
color: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TString, ...(_sinclair_typebox.TLiteral<"primary" | "secondary" | "accent" | "background" | "text" | "text2" | "background2" | "accent4" | "accent5" | "accent6"> | _sinclair_typebox.TLiteral<"accent1" | "accent2" | "accent3" | "tx1" | "tx2" | "bg1" | "bg2">)[]]>>;
|
|
262
|
+
blur: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
263
|
+
offset: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
264
|
+
angle: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
265
|
+
opacity: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
266
|
+
}>>;
|
|
267
|
+
hyperlink: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
268
|
+
url: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
269
|
+
slide: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
270
|
+
tooltip: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
271
|
+
}>>;
|
|
272
|
+
alt: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
273
|
+
grid: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
274
|
+
column: _sinclair_typebox.TNumber;
|
|
275
|
+
row: _sinclair_typebox.TNumber;
|
|
276
|
+
columnSpan: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
277
|
+
rowSpan: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
278
|
+
}>>;
|
|
279
|
+
}>;
|
|
280
|
+
type PptxImageProps = Static<typeof PptxImagePropsSchema>;
|
|
281
|
+
|
|
282
|
+
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">]>;
|
|
283
|
+
declare const TextSegmentSchema: _sinclair_typebox.TObject<{
|
|
284
|
+
text: _sinclair_typebox.TString;
|
|
285
|
+
fontSize: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
286
|
+
fontFace: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
287
|
+
color: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
288
|
+
bold: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
289
|
+
italic: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
290
|
+
breakLine: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
291
|
+
spaceBefore: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
292
|
+
spaceAfter: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
293
|
+
charSpacing: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
294
|
+
}>;
|
|
295
|
+
type TextSegment = Static<typeof TextSegmentSchema>;
|
|
296
|
+
declare const ShapePropsSchema: _sinclair_typebox.TObject<{
|
|
297
|
+
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">]>;
|
|
298
|
+
x: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
299
|
+
y: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
300
|
+
w: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
301
|
+
h: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
302
|
+
fill: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
303
|
+
color: _sinclair_typebox.TString;
|
|
304
|
+
transparency: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
305
|
+
}>>;
|
|
306
|
+
line: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
307
|
+
color: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
308
|
+
width: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
309
|
+
dashType: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"solid">, _sinclair_typebox.TLiteral<"dash">, _sinclair_typebox.TLiteral<"dot">, _sinclair_typebox.TLiteral<"dashDot">]>>;
|
|
310
|
+
}>>;
|
|
311
|
+
text: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TArray<_sinclair_typebox.TObject<{
|
|
312
|
+
text: _sinclair_typebox.TString;
|
|
313
|
+
fontSize: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
314
|
+
fontFace: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
315
|
+
color: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
316
|
+
bold: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
317
|
+
italic: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
318
|
+
breakLine: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
319
|
+
spaceBefore: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
320
|
+
spaceAfter: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
321
|
+
charSpacing: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
322
|
+
}>>]>>;
|
|
323
|
+
fontSize: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
324
|
+
fontFace: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
325
|
+
fontColor: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
326
|
+
charSpacing: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
327
|
+
bold: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
328
|
+
italic: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
329
|
+
align: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"left">, _sinclair_typebox.TLiteral<"center">, _sinclair_typebox.TLiteral<"right">]>>;
|
|
330
|
+
valign: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"top">, _sinclair_typebox.TLiteral<"middle">, _sinclair_typebox.TLiteral<"bottom">]>>;
|
|
331
|
+
rotate: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
332
|
+
shadow: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
333
|
+
type: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"outer">, _sinclair_typebox.TLiteral<"inner">]>>;
|
|
334
|
+
color: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TString, ...(_sinclair_typebox.TLiteral<"primary" | "secondary" | "accent" | "background" | "text" | "text2" | "background2" | "accent4" | "accent5" | "accent6"> | _sinclair_typebox.TLiteral<"accent1" | "accent2" | "accent3" | "tx1" | "tx2" | "bg1" | "bg2">)[]]>>;
|
|
335
|
+
blur: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
336
|
+
offset: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
337
|
+
angle: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
338
|
+
opacity: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
339
|
+
}>>;
|
|
340
|
+
rectRadius: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
341
|
+
grid: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
342
|
+
column: _sinclair_typebox.TNumber;
|
|
343
|
+
row: _sinclair_typebox.TNumber;
|
|
344
|
+
columnSpan: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
345
|
+
rowSpan: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
346
|
+
}>>;
|
|
347
|
+
style: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<_sinclair_typebox.TLiteral<"title" | "subtitle" | "heading1" | "heading2" | "heading3" | "body" | "caption">[]>>;
|
|
348
|
+
}>;
|
|
349
|
+
type ShapeType = Static<typeof ShapeTypeSchema>;
|
|
350
|
+
type ShapeProps = Static<typeof ShapePropsSchema>;
|
|
351
|
+
|
|
352
|
+
declare const PptxTablePropsSchema: _sinclair_typebox.TObject<{
|
|
353
|
+
rows: _sinclair_typebox.TArray<_sinclair_typebox.TArray<_sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TObject<{
|
|
354
|
+
text: _sinclair_typebox.TString;
|
|
355
|
+
color: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
356
|
+
fill: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
357
|
+
fontSize: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
358
|
+
fontFace: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
359
|
+
bold: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
360
|
+
italic: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
361
|
+
align: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"left">, _sinclair_typebox.TLiteral<"center">, _sinclair_typebox.TLiteral<"right">]>>;
|
|
362
|
+
valign: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"top">, _sinclair_typebox.TLiteral<"middle">, _sinclair_typebox.TLiteral<"bottom">]>>;
|
|
363
|
+
colspan: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
364
|
+
rowspan: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
365
|
+
margin: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TArray<_sinclair_typebox.TNumber>]>>;
|
|
366
|
+
}>]>>>;
|
|
367
|
+
x: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
368
|
+
y: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
369
|
+
w: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
370
|
+
h: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
371
|
+
colW: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TArray<_sinclair_typebox.TNumber>]>>;
|
|
372
|
+
rowH: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TArray<_sinclair_typebox.TNumber>]>>;
|
|
373
|
+
border: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
374
|
+
type: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"solid">, _sinclair_typebox.TLiteral<"dash">, _sinclair_typebox.TLiteral<"dot">, _sinclair_typebox.TLiteral<"none">]>>;
|
|
375
|
+
pt: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
376
|
+
color: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
377
|
+
}>>;
|
|
378
|
+
fill: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
379
|
+
fontSize: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
380
|
+
fontFace: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
381
|
+
color: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
382
|
+
align: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"left">, _sinclair_typebox.TLiteral<"center">, _sinclair_typebox.TLiteral<"right">]>>;
|
|
383
|
+
valign: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"top">, _sinclair_typebox.TLiteral<"middle">, _sinclair_typebox.TLiteral<"bottom">]>>;
|
|
384
|
+
autoPage: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
385
|
+
autoPageRepeatHeader: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
386
|
+
margin: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TArray<_sinclair_typebox.TNumber>]>>;
|
|
387
|
+
borderRadius: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
388
|
+
grid: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
389
|
+
column: _sinclair_typebox.TNumber;
|
|
390
|
+
row: _sinclair_typebox.TNumber;
|
|
391
|
+
columnSpan: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
392
|
+
rowSpan: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
393
|
+
}>>;
|
|
394
|
+
}>;
|
|
395
|
+
type PptxTableProps = Static<typeof PptxTablePropsSchema>;
|
|
396
|
+
|
|
397
|
+
declare const PptxHighchartsPropsSchema: _sinclair_typebox.TObject<{
|
|
398
|
+
options: _sinclair_typebox.TIntersect<[_sinclair_typebox.TRecord<_sinclair_typebox.TString, _sinclair_typebox.TUnknown>, _sinclair_typebox.TObject<{
|
|
399
|
+
chart: _sinclair_typebox.TObject<{
|
|
400
|
+
width: _sinclair_typebox.TNumber;
|
|
401
|
+
height: _sinclair_typebox.TNumber;
|
|
402
|
+
}>;
|
|
403
|
+
}>]>;
|
|
404
|
+
scale: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
405
|
+
serverUrl: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
406
|
+
x: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
407
|
+
y: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
408
|
+
w: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
409
|
+
h: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TString]>>;
|
|
410
|
+
grid: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
411
|
+
column: _sinclair_typebox.TNumber;
|
|
412
|
+
row: _sinclair_typebox.TNumber;
|
|
413
|
+
columnSpan: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
414
|
+
rowSpan: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
415
|
+
}>>;
|
|
416
|
+
}>;
|
|
417
|
+
type PptxHighchartsProps = Static<typeof PptxHighchartsPropsSchema>;
|
|
418
|
+
|
|
419
|
+
export { type GridPosition, GridPositionSchema, type Position, PositionSchema, type PptxAlignment, PptxAlignmentSchema, type PptxHighchartsProps, PptxHighchartsPropsSchema, type PptxImageProps, PptxImagePropsSchema, type PptxTableProps, PptxTablePropsSchema, type PresentationProps, PresentationPropsSchema, type Shadow, ShadowSchema, type ShapeProps, ShapePropsSchema, type ShapeType, ShapeTypeSchema, type SlideBackground, SlideBackgroundSchema, type SlideProps, SlidePropsSchema, type TextProps, TextPropsSchema, type TextSegment, TextSegmentSchema, type Transition, TransitionSchema, type VerticalAlignment, VerticalAlignmentSchema };
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import "../chunk-J4OT5Y5B.js";
|
|
2
|
+
import {
|
|
3
|
+
PptxComponentDefinitionSchema,
|
|
4
|
+
PptxStandardComponentDefinitionSchema
|
|
5
|
+
} from "../chunk-3MJF4X5S.js";
|
|
6
|
+
import {
|
|
7
|
+
GridPositionSchema,
|
|
8
|
+
PositionSchema,
|
|
9
|
+
PptxAlignmentSchema,
|
|
10
|
+
PptxHighchartsPropsSchema,
|
|
11
|
+
PptxImagePropsSchema,
|
|
12
|
+
PptxTablePropsSchema,
|
|
13
|
+
PresentationPropsSchema,
|
|
14
|
+
ShadowSchema,
|
|
15
|
+
ShapePropsSchema,
|
|
16
|
+
ShapeTypeSchema,
|
|
17
|
+
SlideBackgroundSchema,
|
|
18
|
+
SlidePropsSchema,
|
|
19
|
+
TextPropsSchema,
|
|
20
|
+
TextSegmentSchema,
|
|
21
|
+
TransitionSchema,
|
|
22
|
+
VerticalAlignmentSchema
|
|
23
|
+
} from "../chunk-2USGRQBI.js";
|
|
24
|
+
import "../chunk-MZ3TEFYH.js";
|
|
25
|
+
export {
|
|
26
|
+
GridPositionSchema,
|
|
27
|
+
PositionSchema,
|
|
28
|
+
PptxAlignmentSchema,
|
|
29
|
+
PptxComponentDefinitionSchema,
|
|
30
|
+
PptxHighchartsPropsSchema,
|
|
31
|
+
PptxImagePropsSchema,
|
|
32
|
+
PptxStandardComponentDefinitionSchema,
|
|
33
|
+
PptxTablePropsSchema,
|
|
34
|
+
PresentationPropsSchema,
|
|
35
|
+
ShadowSchema,
|
|
36
|
+
ShapePropsSchema,
|
|
37
|
+
ShapeTypeSchema,
|
|
38
|
+
SlideBackgroundSchema,
|
|
39
|
+
SlidePropsSchema,
|
|
40
|
+
TextPropsSchema,
|
|
41
|
+
TextSegmentSchema,
|
|
42
|
+
TransitionSchema,
|
|
43
|
+
VerticalAlignmentSchema
|
|
44
|
+
};
|
|
45
|
+
//# sourceMappingURL=components.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as _sinclair_typebox from '@sinclair/typebox';
|
|
2
|
+
import { Static } from '@sinclair/typebox';
|
|
3
|
+
|
|
4
|
+
declare const PptxJsonComponentDefinitionSchema: _sinclair_typebox.TRecursive<_sinclair_typebox.TUnion<_sinclair_typebox.TSchema[]>>;
|
|
5
|
+
type PptxJsonComponentDefinition = Static<typeof PptxJsonComponentDefinitionSchema>;
|
|
6
|
+
declare const PPTX_JSON_SCHEMA_URLS: {
|
|
7
|
+
presentation: string;
|
|
8
|
+
slide: string;
|
|
9
|
+
text: string;
|
|
10
|
+
image: string;
|
|
11
|
+
shape: string;
|
|
12
|
+
table: string;
|
|
13
|
+
index: string;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
export { PPTX_JSON_SCHEMA_URLS, type PptxJsonComponentDefinition, PptxJsonComponentDefinitionSchema };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import {
|
|
2
|
+
PPTX_JSON_SCHEMA_URLS,
|
|
3
|
+
PptxJsonComponentDefinitionSchema
|
|
4
|
+
} from "../chunk-COFU7FOQ.js";
|
|
5
|
+
import "../chunk-J4OT5Y5B.js";
|
|
6
|
+
import "../chunk-3MJF4X5S.js";
|
|
7
|
+
import "../chunk-2USGRQBI.js";
|
|
8
|
+
import "../chunk-MZ3TEFYH.js";
|
|
9
|
+
export {
|
|
10
|
+
PPTX_JSON_SCHEMA_URLS,
|
|
11
|
+
PptxJsonComponentDefinitionSchema
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=document.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PPTX Schema Export Metadata
|
|
3
|
+
*/
|
|
4
|
+
declare const PPTX_COMPONENT_METADATA: Record<string, {
|
|
5
|
+
title: string;
|
|
6
|
+
description: string;
|
|
7
|
+
enhanceForRichContent?: boolean;
|
|
8
|
+
}>;
|
|
9
|
+
declare const PPTX_BASE_SCHEMA_METADATA: Record<string, {
|
|
10
|
+
title: string;
|
|
11
|
+
description: string;
|
|
12
|
+
}>;
|
|
13
|
+
|
|
14
|
+
export { PPTX_BASE_SCHEMA_METADATA, PPTX_COMPONENT_METADATA };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { TSchema } from '@sinclair/typebox';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Unified Presentation Schema Generator
|
|
5
|
+
*
|
|
6
|
+
* Generates JSON schemas that include both standard and custom plugin components.
|
|
7
|
+
* Used at build-time for static schema files and at runtime for plugin-aware validation.
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
interface VersionedPropsEntry {
|
|
11
|
+
version: string;
|
|
12
|
+
propsSchema: TSchema;
|
|
13
|
+
hasChildren?: boolean;
|
|
14
|
+
description?: string;
|
|
15
|
+
}
|
|
16
|
+
interface CustomComponentInfo {
|
|
17
|
+
name: string;
|
|
18
|
+
versions: VersionedPropsEntry[];
|
|
19
|
+
}
|
|
20
|
+
interface GenerateSchemaOptions {
|
|
21
|
+
customComponents?: CustomComponentInfo[];
|
|
22
|
+
includeMetadata?: boolean;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Generate a unified presentation schema that includes standard + custom components.
|
|
26
|
+
* Uses Type.Recursive so container components (presentation, slide) can have children.
|
|
27
|
+
*/
|
|
28
|
+
declare function generateUnifiedDocumentSchema(options?: GenerateSchemaOptions): TSchema;
|
|
29
|
+
|
|
30
|
+
export { type CustomComponentInfo, type GenerateSchemaOptions, type VersionedPropsEntry, generateUnifiedDocumentSchema };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|