@json-to-office/shared-docx 0.24.0 → 0.28.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/{chunk-KJHAL3QJ.js → chunk-55OMIWMP.js} +8 -8
- package/dist/chunk-55OMIWMP.js.map +1 -0
- package/dist/{chunk-QCGN3CAZ.js → chunk-7TTAAYQ5.js} +9 -2
- package/dist/chunk-7TTAAYQ5.js.map +1 -0
- package/dist/{chunk-AVYE5SAG.js → chunk-AZWXGOAE.js} +83 -4
- package/dist/chunk-AZWXGOAE.js.map +1 -0
- package/dist/{chunk-BVLUIISP.js → chunk-BA7VBTKF.js} +41 -3
- package/dist/chunk-BA7VBTKF.js.map +1 -0
- package/dist/{chunk-OOV6GFAL.js → chunk-BRXPJ26B.js} +7 -3
- package/dist/chunk-BRXPJ26B.js.map +1 -0
- package/dist/{chunk-LTFTAVWT.js → chunk-DTBB6YZI.js} +2 -2
- package/dist/{chunk-XYDOUS7M.js → chunk-JFMVBHIY.js} +2 -2
- package/dist/{chunk-P5CWGPIK.js → chunk-MF2PDHIE.js} +40 -3
- package/dist/chunk-MF2PDHIE.js.map +1 -0
- package/dist/{chunk-CMHFNQ3B.js → chunk-O3RPJ35G.js} +2 -2
- package/dist/{chunk-DNKGSMJ2.js → chunk-Q3H7Z724.js} +15 -7
- package/dist/chunk-Q3H7Z724.js.map +1 -0
- package/dist/{chunk-P3V4OOEP.js → chunk-YCDRARTU.js} +2 -2
- package/dist/index.d.ts +1076 -5
- package/dist/index.js +27 -15
- package/dist/index.js.map +1 -1
- package/dist/schemas/api.js +6 -5
- package/dist/schemas/component-defaults.d.ts +38 -0
- package/dist/schemas/component-defaults.js +2 -2
- package/dist/schemas/component-registry.js +4 -3
- package/dist/schemas/components.d.ts +2428 -218
- package/dist/schemas/components.js +15 -4
- package/dist/schemas/document.js +7 -6
- package/dist/schemas/export.js +5 -4
- package/dist/schemas/font.d.ts +2 -0
- package/dist/schemas/font.js +1 -1
- package/dist/schemas/generator.js +5 -4
- package/dist/schemas/theme.d.ts +1113 -1
- package/dist/schemas/theme.js +7 -3
- package/dist/validation/unified/index.d.ts +1087 -1
- package/dist/validation/unified/index.js +9 -7
- package/package.json +2 -2
- package/dist/chunk-AVYE5SAG.js.map +0 -1
- package/dist/chunk-BVLUIISP.js.map +0 -1
- package/dist/chunk-DNKGSMJ2.js.map +0 -1
- package/dist/chunk-KJHAL3QJ.js.map +0 -1
- package/dist/chunk-OOV6GFAL.js.map +0 -1
- package/dist/chunk-P5CWGPIK.js.map +0 -1
- package/dist/chunk-QCGN3CAZ.js.map +0 -1
- /package/dist/{chunk-LTFTAVWT.js.map → chunk-DTBB6YZI.js.map} +0 -0
- /package/dist/{chunk-XYDOUS7M.js.map → chunk-JFMVBHIY.js.map} +0 -0
- /package/dist/{chunk-CMHFNQ3B.js.map → chunk-O3RPJ35G.js.map} +0 -0
- /package/dist/{chunk-P3V4OOEP.js.map → chunk-YCDRARTU.js.map} +0 -0
package/dist/schemas/api.js
CHANGED
|
@@ -3,11 +3,12 @@ import {
|
|
|
3
3
|
GenerateDocumentResponseSchema,
|
|
4
4
|
ValidateDocumentRequestSchema,
|
|
5
5
|
ValidateDocumentResponseSchema
|
|
6
|
-
} from "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
6
|
+
} from "../chunk-YCDRARTU.js";
|
|
7
|
+
import "../chunk-JFMVBHIY.js";
|
|
8
|
+
import "../chunk-BRXPJ26B.js";
|
|
9
|
+
import "../chunk-BA7VBTKF.js";
|
|
10
|
+
import "../chunk-AZWXGOAE.js";
|
|
11
|
+
import "../chunk-7TTAAYQ5.js";
|
|
11
12
|
export {
|
|
12
13
|
GenerateDocumentRequestSchema,
|
|
13
14
|
GenerateDocumentResponseSchema,
|
|
@@ -31,12 +31,19 @@ declare const HeadingComponentDefaultsSchema: _sinclair_typebox.TObject<{
|
|
|
31
31
|
type: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"condensed">, _sinclair_typebox.TLiteral<"expanded">]>;
|
|
32
32
|
value: _sinclair_typebox.TNumber;
|
|
33
33
|
}>>;
|
|
34
|
+
scale: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
34
35
|
family: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
35
36
|
}>>;
|
|
36
37
|
language: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
37
38
|
noProof: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
38
39
|
noProofWords: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TString>>;
|
|
39
40
|
alignment: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"left">, _sinclair_typebox.TLiteral<"center">, _sinclair_typebox.TLiteral<"right">, _sinclair_typebox.TLiteral<"justify">]>>;
|
|
41
|
+
indent: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
42
|
+
left: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
43
|
+
right: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
44
|
+
hanging: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
45
|
+
firstLine: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
46
|
+
}>>;
|
|
40
47
|
pageBreak: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
41
48
|
columnBreak: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
42
49
|
numbering: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
@@ -68,18 +75,30 @@ declare const ParagraphComponentDefaultsSchema: _sinclair_typebox.TObject<{
|
|
|
68
75
|
type: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"condensed">, _sinclair_typebox.TLiteral<"expanded">]>;
|
|
69
76
|
value: _sinclair_typebox.TNumber;
|
|
70
77
|
}>>;
|
|
78
|
+
scale: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
71
79
|
family: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
72
80
|
}>>;
|
|
73
81
|
language: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
74
82
|
noProof: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
75
83
|
noProofWords: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TString>>;
|
|
76
84
|
alignment: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"left">, _sinclair_typebox.TLiteral<"center">, _sinclair_typebox.TLiteral<"right">, _sinclair_typebox.TLiteral<"justify">]>>;
|
|
85
|
+
indent: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
86
|
+
left: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
87
|
+
right: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
88
|
+
hanging: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
89
|
+
firstLine: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
90
|
+
}>>;
|
|
77
91
|
pageBreak: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
78
92
|
columnBreak: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
79
93
|
keepNext: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
80
94
|
keepLines: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
81
95
|
themeStyle: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
82
96
|
boldColor: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
97
|
+
tabStops: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TObject<{
|
|
98
|
+
type: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"left">, _sinclair_typebox.TLiteral<"right">, _sinclair_typebox.TLiteral<"center">, _sinclair_typebox.TLiteral<"decimal">, _sinclair_typebox.TLiteral<"bar">]>;
|
|
99
|
+
position: _sinclair_typebox.TNumber;
|
|
100
|
+
leader: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"dot">, _sinclair_typebox.TLiteral<"hyphen">, _sinclair_typebox.TLiteral<"underscore">, _sinclair_typebox.TLiteral<"middleDot">, _sinclair_typebox.TLiteral<"none">]>>;
|
|
101
|
+
}>>>;
|
|
83
102
|
floating: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
84
103
|
horizontalPosition: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
85
104
|
relative: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"margin">, _sinclair_typebox.TLiteral<"page">, _sinclair_typebox.TLiteral<"text">]>>;
|
|
@@ -265,12 +284,19 @@ declare const ComponentDefaultsSchema: _sinclair_typebox.TObject<{
|
|
|
265
284
|
type: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"condensed">, _sinclair_typebox.TLiteral<"expanded">]>;
|
|
266
285
|
value: _sinclair_typebox.TNumber;
|
|
267
286
|
}>>;
|
|
287
|
+
scale: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
268
288
|
family: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
269
289
|
}>>;
|
|
270
290
|
language: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
271
291
|
noProof: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
272
292
|
noProofWords: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TString>>;
|
|
273
293
|
alignment: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"left">, _sinclair_typebox.TLiteral<"center">, _sinclair_typebox.TLiteral<"right">, _sinclair_typebox.TLiteral<"justify">]>>;
|
|
294
|
+
indent: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
295
|
+
left: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
296
|
+
right: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
297
|
+
hanging: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
298
|
+
firstLine: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
299
|
+
}>>;
|
|
274
300
|
pageBreak: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
275
301
|
columnBreak: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
276
302
|
numbering: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
@@ -302,18 +328,30 @@ declare const ComponentDefaultsSchema: _sinclair_typebox.TObject<{
|
|
|
302
328
|
type: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"condensed">, _sinclair_typebox.TLiteral<"expanded">]>;
|
|
303
329
|
value: _sinclair_typebox.TNumber;
|
|
304
330
|
}>>;
|
|
331
|
+
scale: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
305
332
|
family: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
306
333
|
}>>;
|
|
307
334
|
language: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
308
335
|
noProof: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
309
336
|
noProofWords: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TString>>;
|
|
310
337
|
alignment: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"left">, _sinclair_typebox.TLiteral<"center">, _sinclair_typebox.TLiteral<"right">, _sinclair_typebox.TLiteral<"justify">]>>;
|
|
338
|
+
indent: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
339
|
+
left: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
340
|
+
right: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
341
|
+
hanging: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
342
|
+
firstLine: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
343
|
+
}>>;
|
|
311
344
|
pageBreak: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
312
345
|
columnBreak: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
313
346
|
keepNext: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
314
347
|
keepLines: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
315
348
|
themeStyle: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
316
349
|
boldColor: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
350
|
+
tabStops: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TObject<{
|
|
351
|
+
type: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"left">, _sinclair_typebox.TLiteral<"right">, _sinclair_typebox.TLiteral<"center">, _sinclair_typebox.TLiteral<"decimal">, _sinclair_typebox.TLiteral<"bar">]>;
|
|
352
|
+
position: _sinclair_typebox.TNumber;
|
|
353
|
+
leader: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"dot">, _sinclair_typebox.TLiteral<"hyphen">, _sinclair_typebox.TLiteral<"underscore">, _sinclair_typebox.TLiteral<"middleDot">, _sinclair_typebox.TLiteral<"none">]>>;
|
|
354
|
+
}>>>;
|
|
317
355
|
floating: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
318
356
|
horizontalPosition: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
319
357
|
relative: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"margin">, _sinclair_typebox.TLiteral<"page">, _sinclair_typebox.TLiteral<"text">]>>;
|
|
@@ -8,8 +8,8 @@ import {
|
|
|
8
8
|
SectionComponentDefaultsSchema,
|
|
9
9
|
StatisticComponentDefaultsSchema,
|
|
10
10
|
TableComponentDefaultsSchema
|
|
11
|
-
} from "../chunk-
|
|
12
|
-
import "../chunk-
|
|
11
|
+
} from "../chunk-AZWXGOAE.js";
|
|
12
|
+
import "../chunk-7TTAAYQ5.js";
|
|
13
13
|
export {
|
|
14
14
|
ColumnsComponentDefaultsSchema,
|
|
15
15
|
ComponentDefaultsSchema,
|
|
@@ -9,9 +9,10 @@ import {
|
|
|
9
9
|
getContentComponents,
|
|
10
10
|
getStandardComponent,
|
|
11
11
|
isStandardComponent
|
|
12
|
-
} from "../chunk-
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
12
|
+
} from "../chunk-BRXPJ26B.js";
|
|
13
|
+
import "../chunk-BA7VBTKF.js";
|
|
14
|
+
import "../chunk-AZWXGOAE.js";
|
|
15
|
+
import "../chunk-7TTAAYQ5.js";
|
|
15
16
|
export {
|
|
16
17
|
STANDARD_COMPONENTS_REGISTRY,
|
|
17
18
|
createAllComponentSchemas,
|