@json-to-office/shared-docx 0.19.1 → 0.20.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.d.ts +12 -12
- package/dist/schemas/component-defaults.d.ts +24 -24
- package/dist/schemas/components.d.ts +24 -24
- package/dist/schemas/theme.d.ts +12 -12
- package/dist/validation/unified/index.d.ts +12 -12
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -300,6 +300,14 @@ declare const COMPONENT_SCHEMA_MAP: {
|
|
|
300
300
|
componentDefaults: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
301
301
|
heading: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
302
302
|
text: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
303
|
+
lineSpacing: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TObject<{
|
|
304
|
+
type: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"single">, _sinclair_typebox.TLiteral<"atLeast">, _sinclair_typebox.TLiteral<"exactly">, _sinclair_typebox.TLiteral<"double">, _sinclair_typebox.TLiteral<"multiple">]>;
|
|
305
|
+
value: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
306
|
+
}>]>>;
|
|
307
|
+
spacing: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
308
|
+
before: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
309
|
+
after: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
310
|
+
}>>;
|
|
303
311
|
level: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<1>, _sinclair_typebox.TLiteral<2>, _sinclair_typebox.TLiteral<3>, _sinclair_typebox.TLiteral<4>, _sinclair_typebox.TLiteral<5>, _sinclair_typebox.TLiteral<6>]>>;
|
|
304
312
|
font: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
305
313
|
size: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
@@ -322,14 +330,6 @@ declare const COMPONENT_SCHEMA_MAP: {
|
|
|
322
330
|
}>>;
|
|
323
331
|
family: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
324
332
|
}>>;
|
|
325
|
-
lineSpacing: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TObject<{
|
|
326
|
-
type: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"single">, _sinclair_typebox.TLiteral<"atLeast">, _sinclair_typebox.TLiteral<"exactly">, _sinclair_typebox.TLiteral<"double">, _sinclair_typebox.TLiteral<"multiple">]>;
|
|
327
|
-
value: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
328
|
-
}>]>>;
|
|
329
|
-
spacing: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
330
|
-
before: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
331
|
-
after: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
332
|
-
}>>;
|
|
333
333
|
language: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
334
334
|
noProof: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
335
335
|
noProofWords: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TString>>;
|
|
@@ -342,6 +342,10 @@ declare const COMPONENT_SCHEMA_MAP: {
|
|
|
342
342
|
}>>;
|
|
343
343
|
paragraph: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
344
344
|
text: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
345
|
+
spacing: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
346
|
+
before: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
347
|
+
after: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
348
|
+
}>>;
|
|
345
349
|
font: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
346
350
|
size: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
347
351
|
color: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
@@ -363,10 +367,6 @@ declare const COMPONENT_SCHEMA_MAP: {
|
|
|
363
367
|
}>>;
|
|
364
368
|
family: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
365
369
|
}>>;
|
|
366
|
-
spacing: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
367
|
-
before: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
368
|
-
after: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
369
|
-
}>>;
|
|
370
370
|
language: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
371
371
|
noProof: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
372
372
|
noProofWords: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TString>>;
|
|
@@ -3,6 +3,14 @@ import { Static } from '@sinclair/typebox';
|
|
|
3
3
|
|
|
4
4
|
declare const HeadingComponentDefaultsSchema: _sinclair_typebox.TObject<{
|
|
5
5
|
text: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
6
|
+
lineSpacing: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TObject<{
|
|
7
|
+
type: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"single">, _sinclair_typebox.TLiteral<"atLeast">, _sinclair_typebox.TLiteral<"exactly">, _sinclair_typebox.TLiteral<"double">, _sinclair_typebox.TLiteral<"multiple">]>;
|
|
8
|
+
value: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
9
|
+
}>]>>;
|
|
10
|
+
spacing: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
11
|
+
before: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
12
|
+
after: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
13
|
+
}>>;
|
|
6
14
|
level: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<1>, _sinclair_typebox.TLiteral<2>, _sinclair_typebox.TLiteral<3>, _sinclair_typebox.TLiteral<4>, _sinclair_typebox.TLiteral<5>, _sinclair_typebox.TLiteral<6>]>>;
|
|
7
15
|
font: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
8
16
|
size: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
@@ -25,14 +33,6 @@ declare const HeadingComponentDefaultsSchema: _sinclair_typebox.TObject<{
|
|
|
25
33
|
}>>;
|
|
26
34
|
family: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
27
35
|
}>>;
|
|
28
|
-
lineSpacing: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TObject<{
|
|
29
|
-
type: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"single">, _sinclair_typebox.TLiteral<"atLeast">, _sinclair_typebox.TLiteral<"exactly">, _sinclair_typebox.TLiteral<"double">, _sinclair_typebox.TLiteral<"multiple">]>;
|
|
30
|
-
value: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
31
|
-
}>]>>;
|
|
32
|
-
spacing: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
33
|
-
before: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
34
|
-
after: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
35
|
-
}>>;
|
|
36
36
|
language: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
37
37
|
noProof: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
38
38
|
noProofWords: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TString>>;
|
|
@@ -45,6 +45,10 @@ declare const HeadingComponentDefaultsSchema: _sinclair_typebox.TObject<{
|
|
|
45
45
|
}>;
|
|
46
46
|
declare const ParagraphComponentDefaultsSchema: _sinclair_typebox.TObject<{
|
|
47
47
|
text: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
48
|
+
spacing: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
49
|
+
before: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
50
|
+
after: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
51
|
+
}>>;
|
|
48
52
|
font: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
49
53
|
size: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
50
54
|
color: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
@@ -66,10 +70,6 @@ declare const ParagraphComponentDefaultsSchema: _sinclair_typebox.TObject<{
|
|
|
66
70
|
}>>;
|
|
67
71
|
family: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
68
72
|
}>>;
|
|
69
|
-
spacing: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
70
|
-
before: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
71
|
-
after: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
72
|
-
}>>;
|
|
73
73
|
language: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
74
74
|
noProof: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
75
75
|
noProofWords: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TString>>;
|
|
@@ -237,6 +237,14 @@ declare const ListComponentDefaultsSchema: _sinclair_typebox.TObject<{
|
|
|
237
237
|
declare const ComponentDefaultsSchema: _sinclair_typebox.TObject<{
|
|
238
238
|
heading: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
239
239
|
text: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
240
|
+
lineSpacing: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TObject<{
|
|
241
|
+
type: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"single">, _sinclair_typebox.TLiteral<"atLeast">, _sinclair_typebox.TLiteral<"exactly">, _sinclair_typebox.TLiteral<"double">, _sinclair_typebox.TLiteral<"multiple">]>;
|
|
242
|
+
value: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
243
|
+
}>]>>;
|
|
244
|
+
spacing: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
245
|
+
before: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
246
|
+
after: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
247
|
+
}>>;
|
|
240
248
|
level: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<1>, _sinclair_typebox.TLiteral<2>, _sinclair_typebox.TLiteral<3>, _sinclair_typebox.TLiteral<4>, _sinclair_typebox.TLiteral<5>, _sinclair_typebox.TLiteral<6>]>>;
|
|
241
249
|
font: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
242
250
|
size: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
@@ -259,14 +267,6 @@ declare const ComponentDefaultsSchema: _sinclair_typebox.TObject<{
|
|
|
259
267
|
}>>;
|
|
260
268
|
family: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
261
269
|
}>>;
|
|
262
|
-
lineSpacing: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TObject<{
|
|
263
|
-
type: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"single">, _sinclair_typebox.TLiteral<"atLeast">, _sinclair_typebox.TLiteral<"exactly">, _sinclair_typebox.TLiteral<"double">, _sinclair_typebox.TLiteral<"multiple">]>;
|
|
264
|
-
value: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
265
|
-
}>]>>;
|
|
266
|
-
spacing: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
267
|
-
before: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
268
|
-
after: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
269
|
-
}>>;
|
|
270
270
|
language: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
271
271
|
noProof: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
272
272
|
noProofWords: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TString>>;
|
|
@@ -279,6 +279,10 @@ declare const ComponentDefaultsSchema: _sinclair_typebox.TObject<{
|
|
|
279
279
|
}>>;
|
|
280
280
|
paragraph: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
281
281
|
text: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
282
|
+
spacing: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
283
|
+
before: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
284
|
+
after: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
285
|
+
}>>;
|
|
282
286
|
font: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
283
287
|
size: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
284
288
|
color: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
@@ -300,10 +304,6 @@ declare const ComponentDefaultsSchema: _sinclair_typebox.TObject<{
|
|
|
300
304
|
}>>;
|
|
301
305
|
family: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
302
306
|
}>>;
|
|
303
|
-
spacing: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
304
|
-
before: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
305
|
-
after: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
306
|
-
}>>;
|
|
307
307
|
language: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
308
308
|
noProof: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
309
309
|
noProofWords: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TString>>;
|
|
@@ -114,6 +114,14 @@ declare const createReportPropsSchema: (_moduleRef?: TSchema) => _sinclair_typeb
|
|
|
114
114
|
componentDefaults: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
115
115
|
heading: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
116
116
|
text: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
117
|
+
lineSpacing: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TObject<{
|
|
118
|
+
type: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"single">, _sinclair_typebox.TLiteral<"atLeast">, _sinclair_typebox.TLiteral<"exactly">, _sinclair_typebox.TLiteral<"double">, _sinclair_typebox.TLiteral<"multiple">]>;
|
|
119
|
+
value: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
120
|
+
}>]>>;
|
|
121
|
+
spacing: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
122
|
+
before: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
123
|
+
after: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
124
|
+
}>>;
|
|
117
125
|
level: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<1>, _sinclair_typebox.TLiteral<2>, _sinclair_typebox.TLiteral<3>, _sinclair_typebox.TLiteral<4>, _sinclair_typebox.TLiteral<5>, _sinclair_typebox.TLiteral<6>]>>;
|
|
118
126
|
font: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
119
127
|
size: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
@@ -136,14 +144,6 @@ declare const createReportPropsSchema: (_moduleRef?: TSchema) => _sinclair_typeb
|
|
|
136
144
|
}>>;
|
|
137
145
|
family: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
138
146
|
}>>;
|
|
139
|
-
lineSpacing: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TObject<{
|
|
140
|
-
type: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"single">, _sinclair_typebox.TLiteral<"atLeast">, _sinclair_typebox.TLiteral<"exactly">, _sinclair_typebox.TLiteral<"double">, _sinclair_typebox.TLiteral<"multiple">]>;
|
|
141
|
-
value: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
142
|
-
}>]>>;
|
|
143
|
-
spacing: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
144
|
-
before: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
145
|
-
after: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
146
|
-
}>>;
|
|
147
147
|
language: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
148
148
|
noProof: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
149
149
|
noProofWords: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TString>>;
|
|
@@ -156,6 +156,10 @@ declare const createReportPropsSchema: (_moduleRef?: TSchema) => _sinclair_typeb
|
|
|
156
156
|
}>>;
|
|
157
157
|
paragraph: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
158
158
|
text: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
159
|
+
spacing: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
160
|
+
before: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
161
|
+
after: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
162
|
+
}>>;
|
|
159
163
|
font: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
160
164
|
size: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
161
165
|
color: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
@@ -177,10 +181,6 @@ declare const createReportPropsSchema: (_moduleRef?: TSchema) => _sinclair_typeb
|
|
|
177
181
|
}>>;
|
|
178
182
|
family: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
179
183
|
}>>;
|
|
180
|
-
spacing: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
181
|
-
before: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
182
|
-
after: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
183
|
-
}>>;
|
|
184
184
|
language: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
185
185
|
noProof: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
186
186
|
noProofWords: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TString>>;
|
|
@@ -367,6 +367,14 @@ declare const ReportPropsSchema: _sinclair_typebox.TObject<{
|
|
|
367
367
|
componentDefaults: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
368
368
|
heading: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
369
369
|
text: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
370
|
+
lineSpacing: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TObject<{
|
|
371
|
+
type: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"single">, _sinclair_typebox.TLiteral<"atLeast">, _sinclair_typebox.TLiteral<"exactly">, _sinclair_typebox.TLiteral<"double">, _sinclair_typebox.TLiteral<"multiple">]>;
|
|
372
|
+
value: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
373
|
+
}>]>>;
|
|
374
|
+
spacing: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
375
|
+
before: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
376
|
+
after: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
377
|
+
}>>;
|
|
370
378
|
level: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<1>, _sinclair_typebox.TLiteral<2>, _sinclair_typebox.TLiteral<3>, _sinclair_typebox.TLiteral<4>, _sinclair_typebox.TLiteral<5>, _sinclair_typebox.TLiteral<6>]>>;
|
|
371
379
|
font: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
372
380
|
size: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
@@ -389,14 +397,6 @@ declare const ReportPropsSchema: _sinclair_typebox.TObject<{
|
|
|
389
397
|
}>>;
|
|
390
398
|
family: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
391
399
|
}>>;
|
|
392
|
-
lineSpacing: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TObject<{
|
|
393
|
-
type: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"single">, _sinclair_typebox.TLiteral<"atLeast">, _sinclair_typebox.TLiteral<"exactly">, _sinclair_typebox.TLiteral<"double">, _sinclair_typebox.TLiteral<"multiple">]>;
|
|
394
|
-
value: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
395
|
-
}>]>>;
|
|
396
|
-
spacing: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
397
|
-
before: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
398
|
-
after: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
399
|
-
}>>;
|
|
400
400
|
language: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
401
401
|
noProof: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
402
402
|
noProofWords: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TString>>;
|
|
@@ -409,6 +409,10 @@ declare const ReportPropsSchema: _sinclair_typebox.TObject<{
|
|
|
409
409
|
}>>;
|
|
410
410
|
paragraph: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
411
411
|
text: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
412
|
+
spacing: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
413
|
+
before: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
414
|
+
after: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
415
|
+
}>>;
|
|
412
416
|
font: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
413
417
|
size: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
414
418
|
color: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
@@ -430,10 +434,6 @@ declare const ReportPropsSchema: _sinclair_typebox.TObject<{
|
|
|
430
434
|
}>>;
|
|
431
435
|
family: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
432
436
|
}>>;
|
|
433
|
-
spacing: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
434
|
-
before: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
435
|
-
after: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
436
|
-
}>>;
|
|
437
437
|
language: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
438
438
|
noProof: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
439
439
|
noProofWords: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TString>>;
|
package/dist/schemas/theme.d.ts
CHANGED
|
@@ -2129,6 +2129,14 @@ declare const ThemeConfigSchema: _sinclair_typebox.TObject<{
|
|
|
2129
2129
|
componentDefaults: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
2130
2130
|
heading: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
2131
2131
|
text: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
2132
|
+
lineSpacing: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TObject<{
|
|
2133
|
+
type: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"single">, _sinclair_typebox.TLiteral<"atLeast">, _sinclair_typebox.TLiteral<"exactly">, _sinclair_typebox.TLiteral<"double">, _sinclair_typebox.TLiteral<"multiple">]>;
|
|
2134
|
+
value: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
2135
|
+
}>]>>;
|
|
2136
|
+
spacing: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
2137
|
+
before: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
2138
|
+
after: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
2139
|
+
}>>;
|
|
2132
2140
|
level: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<1>, _sinclair_typebox.TLiteral<2>, _sinclair_typebox.TLiteral<3>, _sinclair_typebox.TLiteral<4>, _sinclair_typebox.TLiteral<5>, _sinclair_typebox.TLiteral<6>]>>;
|
|
2133
2141
|
font: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
2134
2142
|
size: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
@@ -2151,14 +2159,6 @@ declare const ThemeConfigSchema: _sinclair_typebox.TObject<{
|
|
|
2151
2159
|
}>>;
|
|
2152
2160
|
family: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
2153
2161
|
}>>;
|
|
2154
|
-
lineSpacing: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TObject<{
|
|
2155
|
-
type: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"single">, _sinclair_typebox.TLiteral<"atLeast">, _sinclair_typebox.TLiteral<"exactly">, _sinclair_typebox.TLiteral<"double">, _sinclair_typebox.TLiteral<"multiple">]>;
|
|
2156
|
-
value: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
2157
|
-
}>]>>;
|
|
2158
|
-
spacing: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
2159
|
-
before: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
2160
|
-
after: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
2161
|
-
}>>;
|
|
2162
2162
|
language: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
2163
2163
|
noProof: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
2164
2164
|
noProofWords: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TString>>;
|
|
@@ -2171,6 +2171,10 @@ declare const ThemeConfigSchema: _sinclair_typebox.TObject<{
|
|
|
2171
2171
|
}>>;
|
|
2172
2172
|
paragraph: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
2173
2173
|
text: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
2174
|
+
spacing: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
2175
|
+
before: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
2176
|
+
after: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
2177
|
+
}>>;
|
|
2174
2178
|
font: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
2175
2179
|
size: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
2176
2180
|
color: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
@@ -2192,10 +2196,6 @@ declare const ThemeConfigSchema: _sinclair_typebox.TObject<{
|
|
|
2192
2196
|
}>>;
|
|
2193
2197
|
family: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
2194
2198
|
}>>;
|
|
2195
|
-
spacing: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
2196
|
-
before: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
2197
|
-
after: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
2198
|
-
}>>;
|
|
2199
2199
|
language: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
2200
2200
|
noProof: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
2201
2201
|
noProofWords: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TString>>;
|
|
@@ -115,6 +115,14 @@ declare const COMPONENT_SCHEMA_MAP: {
|
|
|
115
115
|
componentDefaults: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
116
116
|
heading: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
117
117
|
text: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
118
|
+
lineSpacing: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TObject<{
|
|
119
|
+
type: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"single">, _sinclair_typebox.TLiteral<"atLeast">, _sinclair_typebox.TLiteral<"exactly">, _sinclair_typebox.TLiteral<"double">, _sinclair_typebox.TLiteral<"multiple">]>;
|
|
120
|
+
value: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
121
|
+
}>]>>;
|
|
122
|
+
spacing: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
123
|
+
before: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
124
|
+
after: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
125
|
+
}>>;
|
|
118
126
|
level: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<1>, _sinclair_typebox.TLiteral<2>, _sinclair_typebox.TLiteral<3>, _sinclair_typebox.TLiteral<4>, _sinclair_typebox.TLiteral<5>, _sinclair_typebox.TLiteral<6>]>>;
|
|
119
127
|
font: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
120
128
|
size: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
@@ -137,14 +145,6 @@ declare const COMPONENT_SCHEMA_MAP: {
|
|
|
137
145
|
}>>;
|
|
138
146
|
family: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
139
147
|
}>>;
|
|
140
|
-
lineSpacing: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TObject<{
|
|
141
|
-
type: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"single">, _sinclair_typebox.TLiteral<"atLeast">, _sinclair_typebox.TLiteral<"exactly">, _sinclair_typebox.TLiteral<"double">, _sinclair_typebox.TLiteral<"multiple">]>;
|
|
142
|
-
value: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
143
|
-
}>]>>;
|
|
144
|
-
spacing: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
145
|
-
before: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
146
|
-
after: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
147
|
-
}>>;
|
|
148
148
|
language: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
149
149
|
noProof: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
150
150
|
noProofWords: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TString>>;
|
|
@@ -157,6 +157,10 @@ declare const COMPONENT_SCHEMA_MAP: {
|
|
|
157
157
|
}>>;
|
|
158
158
|
paragraph: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
159
159
|
text: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
160
|
+
spacing: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
161
|
+
before: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
162
|
+
after: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
163
|
+
}>>;
|
|
160
164
|
font: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
161
165
|
size: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
162
166
|
color: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
@@ -178,10 +182,6 @@ declare const COMPONENT_SCHEMA_MAP: {
|
|
|
178
182
|
}>>;
|
|
179
183
|
family: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
180
184
|
}>>;
|
|
181
|
-
spacing: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
182
|
-
before: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
183
|
-
after: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
184
|
-
}>>;
|
|
185
185
|
language: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
186
186
|
noProof: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
187
187
|
noProofWords: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TString>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@json-to-office/shared-docx",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.20.0",
|
|
4
4
|
"description": "DOCX-specific schemas, component registry and validation",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@sinclair/typebox": "0.34.38",
|
|
32
32
|
"docx": "9.5.1",
|
|
33
|
-
"@json-to-office/shared
|
|
34
|
-
"@json-to-office/shared": "^0.
|
|
33
|
+
"@json-to-office/shared": "^0.16.0",
|
|
34
|
+
"@json-to-office/shared-pptx": "^0.20.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@types/node": "20.11.0",
|