@json-to-office/shared-docx 0.18.0 → 0.19.1
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-UPVW437P.js → chunk-2NLQPZ4G.js} +18 -3
- package/dist/chunk-2NLQPZ4G.js.map +1 -0
- package/dist/{chunk-3E47TLLP.js → chunk-5KQFVW6L.js} +2 -2
- package/dist/{chunk-CYBFQ2VM.js → chunk-65U4X47S.js} +13 -4
- package/dist/chunk-65U4X47S.js.map +1 -0
- package/dist/{chunk-N22J6K24.js → chunk-6YSWOGOA.js} +2 -2
- package/dist/{chunk-CV7HBUPT.js → chunk-7VT4KP6J.js} +2 -2
- package/dist/{chunk-B66TAIK6.js → chunk-E5YI66B3.js} +16 -1
- package/dist/chunk-E5YI66B3.js.map +1 -0
- package/dist/{chunk-6CAIEW25.js → chunk-IOSZEILS.js} +2 -2
- package/dist/{chunk-ZFCRP5GT.js → chunk-JY5JBFBA.js} +6 -6
- package/dist/{chunk-AIEN4MDJ.js → chunk-QNIC7H4H.js} +12 -4
- package/dist/{chunk-AIEN4MDJ.js.map → chunk-QNIC7H4H.js.map} +1 -1
- package/dist/{chunk-AKHPKRU5.js → chunk-WTKEDXYL.js} +71 -76
- package/dist/chunk-WTKEDXYL.js.map +1 -0
- package/dist/{chunk-JWBBT2MK.js → chunk-ZEJU25KW.js} +2 -2
- package/dist/index.d.ts +26 -12
- package/dist/index.js +11 -11
- package/dist/schemas/api.js +5 -5
- package/dist/schemas/component-defaults.d.ts +36 -24
- package/dist/schemas/component-defaults.js +2 -2
- package/dist/schemas/component-registry.js +3 -3
- package/dist/schemas/components.d.ts +46 -24
- package/dist/schemas/components.js +4 -4
- package/dist/schemas/document.js +6 -6
- package/dist/schemas/export.js +4 -4
- package/dist/schemas/font.d.ts +21 -1
- package/dist/schemas/font.js +7 -1
- package/dist/schemas/generator.js +4 -4
- package/dist/schemas/theme.d.ts +19 -12
- package/dist/schemas/theme.js +3 -3
- package/dist/validation/unified/index.d.ts +26 -12
- package/dist/validation/unified/index.js +7 -7
- package/package.json +3 -3
- package/dist/chunk-AKHPKRU5.js.map +0 -1
- package/dist/chunk-B66TAIK6.js.map +0 -1
- package/dist/chunk-CYBFQ2VM.js.map +0 -1
- package/dist/chunk-UPVW437P.js.map +0 -1
- /package/dist/{chunk-3E47TLLP.js.map → chunk-5KQFVW6L.js.map} +0 -0
- /package/dist/{chunk-N22J6K24.js.map → chunk-6YSWOGOA.js.map} +0 -0
- /package/dist/{chunk-CV7HBUPT.js.map → chunk-7VT4KP6J.js.map} +0 -0
- /package/dist/{chunk-6CAIEW25.js.map → chunk-IOSZEILS.js.map} +0 -0
- /package/dist/{chunk-ZFCRP5GT.js.map → chunk-JY5JBFBA.js.map} +0 -0
- /package/dist/{chunk-JWBBT2MK.js.map → chunk-ZEJU25KW.js.map} +0 -0
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generateUnifiedDocumentSchema
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6YSWOGOA.js";
|
|
4
4
|
import {
|
|
5
5
|
DOC_LINKS,
|
|
6
6
|
ERROR_TEMPLATES,
|
|
@@ -32,21 +32,21 @@ import {
|
|
|
32
32
|
validateTheme,
|
|
33
33
|
validateThemeJson,
|
|
34
34
|
validateThemeWithEnhancement
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-JY5JBFBA.js";
|
|
36
36
|
import {
|
|
37
37
|
ThemeConfigSchema,
|
|
38
38
|
isValidThemeConfig
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-QNIC7H4H.js";
|
|
40
40
|
import {
|
|
41
41
|
GenerateDocumentRequestSchema,
|
|
42
42
|
GenerateDocumentResponseSchema,
|
|
43
43
|
ValidateDocumentRequestSchema,
|
|
44
44
|
ValidateDocumentResponseSchema
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-IOSZEILS.js";
|
|
46
46
|
import {
|
|
47
47
|
JSON_SCHEMA_URLS,
|
|
48
48
|
JsonComponentDefinitionSchema
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-7VT4KP6J.js";
|
|
50
50
|
import {
|
|
51
51
|
comprehensiveValidateDocument,
|
|
52
52
|
createDocumentValidator,
|
|
@@ -68,11 +68,11 @@ import {
|
|
|
68
68
|
validateJsonComponent,
|
|
69
69
|
validateJsonDocument,
|
|
70
70
|
validateWithEnhancement
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-WTKEDXYL.js";
|
|
72
72
|
import {
|
|
73
73
|
ComponentDefinitionSchema,
|
|
74
74
|
StandardComponentDefinitionSchema
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-5KQFVW6L.js";
|
|
76
76
|
import {
|
|
77
77
|
CustomComponentDefinitionSchema,
|
|
78
78
|
TextSpaceAfterComponentSchema,
|
|
@@ -86,7 +86,7 @@ import {
|
|
|
86
86
|
createComponentSchema,
|
|
87
87
|
exportSchemaToFile,
|
|
88
88
|
fixSchemaReferences
|
|
89
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-ZEJU25KW.js";
|
|
90
90
|
import {
|
|
91
91
|
HighchartsPropsSchema,
|
|
92
92
|
ReportPropsSchema,
|
|
@@ -95,7 +95,7 @@ import {
|
|
|
95
95
|
VisualCanvasBackgroundSchema,
|
|
96
96
|
VisualCanvasSchema,
|
|
97
97
|
VisualPropsSchema
|
|
98
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-65U4X47S.js";
|
|
99
99
|
import {
|
|
100
100
|
AlignmentSchema,
|
|
101
101
|
BaseComponentPropsSchema,
|
|
@@ -117,8 +117,8 @@ import {
|
|
|
117
117
|
SpacingSchema,
|
|
118
118
|
StatisticPropsSchema,
|
|
119
119
|
TablePropsSchema
|
|
120
|
-
} from "./chunk-
|
|
121
|
-
import "./chunk-
|
|
120
|
+
} from "./chunk-2NLQPZ4G.js";
|
|
121
|
+
import "./chunk-E5YI66B3.js";
|
|
122
122
|
|
|
123
123
|
// src/diff/word-diff.ts
|
|
124
124
|
var MAX_LCS_CELLS = 1e6;
|
package/dist/schemas/api.js
CHANGED
|
@@ -3,11 +3,11 @@ 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-IOSZEILS.js";
|
|
7
|
+
import "../chunk-5KQFVW6L.js";
|
|
8
|
+
import "../chunk-65U4X47S.js";
|
|
9
|
+
import "../chunk-2NLQPZ4G.js";
|
|
10
|
+
import "../chunk-E5YI66B3.js";
|
|
11
11
|
export {
|
|
12
12
|
GenerateDocumentRequestSchema,
|
|
13
13
|
GenerateDocumentResponseSchema,
|
|
@@ -3,14 +3,6 @@ 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
|
-
}>>;
|
|
14
6
|
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>]>>;
|
|
15
7
|
font: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
16
8
|
size: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
@@ -33,6 +25,17 @@ declare const HeadingComponentDefaultsSchema: _sinclair_typebox.TObject<{
|
|
|
33
25
|
}>>;
|
|
34
26
|
family: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
35
27
|
}>>;
|
|
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
|
+
language: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
37
|
+
noProof: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
38
|
+
noProofWords: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TString>>;
|
|
36
39
|
alignment: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"left">, _sinclair_typebox.TLiteral<"center">, _sinclair_typebox.TLiteral<"right">, _sinclair_typebox.TLiteral<"justify">]>>;
|
|
37
40
|
pageBreak: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
38
41
|
columnBreak: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
@@ -42,10 +45,6 @@ declare const HeadingComponentDefaultsSchema: _sinclair_typebox.TObject<{
|
|
|
42
45
|
}>;
|
|
43
46
|
declare const ParagraphComponentDefaultsSchema: _sinclair_typebox.TObject<{
|
|
44
47
|
text: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
45
|
-
spacing: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
46
|
-
before: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
47
|
-
after: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
48
|
-
}>>;
|
|
49
48
|
font: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
50
49
|
size: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
51
50
|
color: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
@@ -67,6 +66,13 @@ declare const ParagraphComponentDefaultsSchema: _sinclair_typebox.TObject<{
|
|
|
67
66
|
}>>;
|
|
68
67
|
family: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
69
68
|
}>>;
|
|
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
|
+
language: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
74
|
+
noProof: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
75
|
+
noProofWords: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TString>>;
|
|
70
76
|
alignment: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"left">, _sinclair_typebox.TLiteral<"center">, _sinclair_typebox.TLiteral<"right">, _sinclair_typebox.TLiteral<"justify">]>>;
|
|
71
77
|
pageBreak: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
72
78
|
columnBreak: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
@@ -231,14 +237,6 @@ declare const ListComponentDefaultsSchema: _sinclair_typebox.TObject<{
|
|
|
231
237
|
declare const ComponentDefaultsSchema: _sinclair_typebox.TObject<{
|
|
232
238
|
heading: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
233
239
|
text: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
234
|
-
lineSpacing: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TObject<{
|
|
235
|
-
type: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"single">, _sinclair_typebox.TLiteral<"atLeast">, _sinclair_typebox.TLiteral<"exactly">, _sinclair_typebox.TLiteral<"double">, _sinclair_typebox.TLiteral<"multiple">]>;
|
|
236
|
-
value: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
237
|
-
}>]>>;
|
|
238
|
-
spacing: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
239
|
-
before: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
240
|
-
after: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
241
|
-
}>>;
|
|
242
240
|
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>]>>;
|
|
243
241
|
font: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
244
242
|
size: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
@@ -261,6 +259,17 @@ declare const ComponentDefaultsSchema: _sinclair_typebox.TObject<{
|
|
|
261
259
|
}>>;
|
|
262
260
|
family: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
263
261
|
}>>;
|
|
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
|
+
language: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
271
|
+
noProof: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
272
|
+
noProofWords: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TString>>;
|
|
264
273
|
alignment: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"left">, _sinclair_typebox.TLiteral<"center">, _sinclair_typebox.TLiteral<"right">, _sinclair_typebox.TLiteral<"justify">]>>;
|
|
265
274
|
pageBreak: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
266
275
|
columnBreak: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
@@ -270,10 +279,6 @@ declare const ComponentDefaultsSchema: _sinclair_typebox.TObject<{
|
|
|
270
279
|
}>>;
|
|
271
280
|
paragraph: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
272
281
|
text: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
273
|
-
spacing: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
274
|
-
before: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
275
|
-
after: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
276
|
-
}>>;
|
|
277
282
|
font: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
278
283
|
size: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
279
284
|
color: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
@@ -295,6 +300,13 @@ declare const ComponentDefaultsSchema: _sinclair_typebox.TObject<{
|
|
|
295
300
|
}>>;
|
|
296
301
|
family: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
297
302
|
}>>;
|
|
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
|
+
language: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
308
|
+
noProof: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
309
|
+
noProofWords: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TString>>;
|
|
298
310
|
alignment: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"left">, _sinclair_typebox.TLiteral<"center">, _sinclair_typebox.TLiteral<"right">, _sinclair_typebox.TLiteral<"justify">]>>;
|
|
299
311
|
pageBreak: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
300
312
|
columnBreak: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
@@ -8,8 +8,8 @@ import {
|
|
|
8
8
|
SectionComponentDefaultsSchema,
|
|
9
9
|
StatisticComponentDefaultsSchema,
|
|
10
10
|
TableComponentDefaultsSchema
|
|
11
|
-
} from "../chunk-
|
|
12
|
-
import "../chunk-
|
|
11
|
+
} from "../chunk-2NLQPZ4G.js";
|
|
12
|
+
import "../chunk-E5YI66B3.js";
|
|
13
13
|
export {
|
|
14
14
|
ColumnsComponentDefaultsSchema,
|
|
15
15
|
ComponentDefaultsSchema,
|
|
@@ -9,9 +9,9 @@ import {
|
|
|
9
9
|
getContentComponents,
|
|
10
10
|
getStandardComponent,
|
|
11
11
|
isStandardComponent
|
|
12
|
-
} from "../chunk-
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
12
|
+
} from "../chunk-65U4X47S.js";
|
|
13
|
+
import "../chunk-2NLQPZ4G.js";
|
|
14
|
+
import "../chunk-E5YI66B3.js";
|
|
15
15
|
export {
|
|
16
16
|
STANDARD_COMPONENTS_REGISTRY,
|
|
17
17
|
createAllComponentSchemas,
|
|
@@ -114,14 +114,6 @@ 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
|
-
}>>;
|
|
125
117
|
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>]>>;
|
|
126
118
|
font: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
127
119
|
size: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
@@ -144,6 +136,17 @@ declare const createReportPropsSchema: (_moduleRef?: TSchema) => _sinclair_typeb
|
|
|
144
136
|
}>>;
|
|
145
137
|
family: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
146
138
|
}>>;
|
|
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
|
+
language: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
148
|
+
noProof: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
149
|
+
noProofWords: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TString>>;
|
|
147
150
|
alignment: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"left">, _sinclair_typebox.TLiteral<"center">, _sinclair_typebox.TLiteral<"right">, _sinclair_typebox.TLiteral<"justify">]>>;
|
|
148
151
|
pageBreak: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
149
152
|
columnBreak: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
@@ -153,10 +156,6 @@ declare const createReportPropsSchema: (_moduleRef?: TSchema) => _sinclair_typeb
|
|
|
153
156
|
}>>;
|
|
154
157
|
paragraph: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
155
158
|
text: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
156
|
-
spacing: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
157
|
-
before: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
158
|
-
after: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
159
|
-
}>>;
|
|
160
159
|
font: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
161
160
|
size: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
162
161
|
color: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
@@ -178,6 +177,13 @@ declare const createReportPropsSchema: (_moduleRef?: TSchema) => _sinclair_typeb
|
|
|
178
177
|
}>>;
|
|
179
178
|
family: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
180
179
|
}>>;
|
|
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
|
+
language: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
185
|
+
noProof: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
186
|
+
noProofWords: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TString>>;
|
|
181
187
|
alignment: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"left">, _sinclair_typebox.TLiteral<"center">, _sinclair_typebox.TLiteral<"right">, _sinclair_typebox.TLiteral<"justify">]>>;
|
|
182
188
|
pageBreak: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
183
189
|
columnBreak: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
@@ -340,6 +346,8 @@ declare const createReportPropsSchema: (_moduleRef?: TSchema) => _sinclair_typeb
|
|
|
340
346
|
}>]>>;
|
|
341
347
|
}>>;
|
|
342
348
|
}>>;
|
|
349
|
+
language: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
350
|
+
noProofWords: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TString>>;
|
|
343
351
|
trackRevisions: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
344
352
|
metadata: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
345
353
|
title: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
@@ -359,14 +367,6 @@ declare const ReportPropsSchema: _sinclair_typebox.TObject<{
|
|
|
359
367
|
componentDefaults: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
360
368
|
heading: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
361
369
|
text: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
362
|
-
lineSpacing: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TObject<{
|
|
363
|
-
type: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"single">, _sinclair_typebox.TLiteral<"atLeast">, _sinclair_typebox.TLiteral<"exactly">, _sinclair_typebox.TLiteral<"double">, _sinclair_typebox.TLiteral<"multiple">]>;
|
|
364
|
-
value: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
365
|
-
}>]>>;
|
|
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
|
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
371
|
font: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
372
372
|
size: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
@@ -389,6 +389,17 @@ declare const ReportPropsSchema: _sinclair_typebox.TObject<{
|
|
|
389
389
|
}>>;
|
|
390
390
|
family: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
391
391
|
}>>;
|
|
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
|
+
language: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
401
|
+
noProof: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
402
|
+
noProofWords: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TString>>;
|
|
392
403
|
alignment: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"left">, _sinclair_typebox.TLiteral<"center">, _sinclair_typebox.TLiteral<"right">, _sinclair_typebox.TLiteral<"justify">]>>;
|
|
393
404
|
pageBreak: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
394
405
|
columnBreak: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
@@ -398,10 +409,6 @@ declare const ReportPropsSchema: _sinclair_typebox.TObject<{
|
|
|
398
409
|
}>>;
|
|
399
410
|
paragraph: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
400
411
|
text: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
401
|
-
spacing: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
402
|
-
before: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
403
|
-
after: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
404
|
-
}>>;
|
|
405
412
|
font: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
406
413
|
size: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
407
414
|
color: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
@@ -423,6 +430,13 @@ declare const ReportPropsSchema: _sinclair_typebox.TObject<{
|
|
|
423
430
|
}>>;
|
|
424
431
|
family: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
425
432
|
}>>;
|
|
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
|
+
language: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
438
|
+
noProof: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
439
|
+
noProofWords: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TString>>;
|
|
426
440
|
alignment: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"left">, _sinclair_typebox.TLiteral<"center">, _sinclair_typebox.TLiteral<"right">, _sinclair_typebox.TLiteral<"justify">]>>;
|
|
427
441
|
pageBreak: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
428
442
|
columnBreak: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
@@ -585,6 +599,8 @@ declare const ReportPropsSchema: _sinclair_typebox.TObject<{
|
|
|
585
599
|
}>]>>;
|
|
586
600
|
}>>;
|
|
587
601
|
}>>;
|
|
602
|
+
language: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
603
|
+
noProofWords: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TString>>;
|
|
588
604
|
trackRevisions: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
589
605
|
metadata: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
590
606
|
title: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
@@ -688,6 +704,9 @@ declare const HeadingPropsSchema: _sinclair_typebox.TObject<{
|
|
|
688
704
|
}>>;
|
|
689
705
|
family: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
690
706
|
}>>;
|
|
707
|
+
language: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
708
|
+
noProof: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
709
|
+
noProofWords: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TString>>;
|
|
691
710
|
alignment: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"left">, _sinclair_typebox.TLiteral<"center">, _sinclair_typebox.TLiteral<"right">, _sinclair_typebox.TLiteral<"justify">]>>;
|
|
692
711
|
spacing: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
693
712
|
before: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
@@ -737,6 +756,9 @@ declare const ParagraphPropsSchema: _sinclair_typebox.TObject<{
|
|
|
737
756
|
family: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
738
757
|
}>>;
|
|
739
758
|
themeStyle: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
759
|
+
language: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
760
|
+
noProof: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
761
|
+
noProofWords: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TString>>;
|
|
740
762
|
boldColor: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
741
763
|
spacing: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
742
764
|
before: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ComponentDefinitionSchema,
|
|
3
3
|
StandardComponentDefinitionSchema
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-5KQFVW6L.js";
|
|
5
5
|
import {
|
|
6
6
|
HighchartsPropsSchema,
|
|
7
7
|
ReportPropsSchema,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
VisualCanvasSchema,
|
|
16
16
|
VisualPropsSchema,
|
|
17
17
|
createReportPropsSchema
|
|
18
|
-
} from "../chunk-
|
|
18
|
+
} from "../chunk-65U4X47S.js";
|
|
19
19
|
import {
|
|
20
20
|
AlignmentSchema,
|
|
21
21
|
BaseComponentFields,
|
|
@@ -50,8 +50,8 @@ import {
|
|
|
50
50
|
VerticalPositionRelativeFromSchema,
|
|
51
51
|
createSectionPropsSchema,
|
|
52
52
|
createTablePropsSchema
|
|
53
|
-
} from "../chunk-
|
|
54
|
-
import "../chunk-
|
|
53
|
+
} from "../chunk-2NLQPZ4G.js";
|
|
54
|
+
import "../chunk-E5YI66B3.js";
|
|
55
55
|
export {
|
|
56
56
|
AlignmentSchema,
|
|
57
57
|
BaseComponentFields,
|
package/dist/schemas/document.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
JSON_SCHEMA_URLS,
|
|
3
3
|
JsonComponentDefinitionSchema
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-7VT4KP6J.js";
|
|
5
5
|
import {
|
|
6
6
|
validateDocumentWithSchema,
|
|
7
7
|
validateJsonComponent
|
|
8
|
-
} from "../chunk-
|
|
9
|
-
import "../chunk-
|
|
8
|
+
} from "../chunk-WTKEDXYL.js";
|
|
9
|
+
import "../chunk-5KQFVW6L.js";
|
|
10
10
|
import "../chunk-7GGTZ4TA.js";
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-65U4X47S.js";
|
|
12
|
+
import "../chunk-2NLQPZ4G.js";
|
|
13
|
+
import "../chunk-E5YI66B3.js";
|
|
14
14
|
export {
|
|
15
15
|
JSON_SCHEMA_URLS,
|
|
16
16
|
JsonComponentDefinitionSchema,
|
package/dist/schemas/export.js
CHANGED
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
createComponentSchema,
|
|
7
7
|
exportSchemaToFile,
|
|
8
8
|
fixSchemaReferences
|
|
9
|
-
} from "../chunk-
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
9
|
+
} from "../chunk-ZEJU25KW.js";
|
|
10
|
+
import "../chunk-65U4X47S.js";
|
|
11
|
+
import "../chunk-2NLQPZ4G.js";
|
|
12
|
+
import "../chunk-E5YI66B3.js";
|
|
13
13
|
export {
|
|
14
14
|
BASE_SCHEMA_METADATA,
|
|
15
15
|
COMPONENT_METADATA,
|
package/dist/schemas/font.d.ts
CHANGED
|
@@ -8,6 +8,26 @@ import * as _sinclair_typebox from '@sinclair/typebox';
|
|
|
8
8
|
declare const HexColorSchema: _sinclair_typebox.TString;
|
|
9
9
|
/** Like HexColorSchema but also accepts "transparent" (used for backgroundColor) */
|
|
10
10
|
declare const HexColorOrTransparentSchema: _sinclair_typebox.TString;
|
|
11
|
+
/**
|
|
12
|
+
* BCP-47 / IETF language tag used by Word for spell- and grammar-checking
|
|
13
|
+
* (e.g. "en-US", "fr-FR", "de-DE"). Set on the document to change the default
|
|
14
|
+
* proofing language, or on a component to override it for that text only.
|
|
15
|
+
*/
|
|
16
|
+
declare const LanguageSchema: _sinclair_typebox.TString;
|
|
17
|
+
/**
|
|
18
|
+
* Disable spell/grammar checking ("do not proof") for the text, e.g. code
|
|
19
|
+
* snippets, identifiers, or product names Word would otherwise flag.
|
|
20
|
+
*/
|
|
21
|
+
declare const NoProofSchema: _sinclair_typebox.TBoolean;
|
|
22
|
+
/**
|
|
23
|
+
* A "known words" allowlist: every whole-word, case-insensitive occurrence of
|
|
24
|
+
* these terms is wrapped in a no-proof run so Word never flags them, while the
|
|
25
|
+
* surrounding text is still spell-checked. Acts as a portable, document-embedded
|
|
26
|
+
* stand-in for a custom dictionary (Word's real dictionaries can't be shipped
|
|
27
|
+
* inside a .docx). Set on the document to apply everywhere; a component's list
|
|
28
|
+
* is merged with (added to) the document list.
|
|
29
|
+
*/
|
|
30
|
+
declare const NoProofWordsSchema: _sinclair_typebox.TArray<_sinclair_typebox.TString>;
|
|
11
31
|
/**
|
|
12
32
|
* Shared schema for text formatting properties.
|
|
13
33
|
* Used as base for both font definitions and style definitions.
|
|
@@ -58,4 +78,4 @@ declare const FontDefinitionSchema: _sinclair_typebox.TObject<{
|
|
|
58
78
|
family: _sinclair_typebox.TString;
|
|
59
79
|
}>;
|
|
60
80
|
|
|
61
|
-
export { FontDefinitionSchema, HexColorOrTransparentSchema, HexColorSchema, TextFormattingPropertiesSchema };
|
|
81
|
+
export { FontDefinitionSchema, HexColorOrTransparentSchema, HexColorSchema, LanguageSchema, NoProofSchema, NoProofWordsSchema, TextFormattingPropertiesSchema };
|
package/dist/schemas/font.js
CHANGED
|
@@ -2,12 +2,18 @@ import {
|
|
|
2
2
|
FontDefinitionSchema,
|
|
3
3
|
HexColorOrTransparentSchema,
|
|
4
4
|
HexColorSchema,
|
|
5
|
+
LanguageSchema,
|
|
6
|
+
NoProofSchema,
|
|
7
|
+
NoProofWordsSchema,
|
|
5
8
|
TextFormattingPropertiesSchema
|
|
6
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-E5YI66B3.js";
|
|
7
10
|
export {
|
|
8
11
|
FontDefinitionSchema,
|
|
9
12
|
HexColorOrTransparentSchema,
|
|
10
13
|
HexColorSchema,
|
|
14
|
+
LanguageSchema,
|
|
15
|
+
NoProofSchema,
|
|
16
|
+
NoProofWordsSchema,
|
|
11
17
|
TextFormattingPropertiesSchema
|
|
12
18
|
};
|
|
13
19
|
//# sourceMappingURL=font.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generateUnifiedDocumentSchema
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-6YSWOGOA.js";
|
|
4
|
+
import "../chunk-65U4X47S.js";
|
|
5
|
+
import "../chunk-2NLQPZ4G.js";
|
|
6
|
+
import "../chunk-E5YI66B3.js";
|
|
7
7
|
export {
|
|
8
8
|
generateUnifiedDocumentSchema
|
|
9
9
|
};
|
package/dist/schemas/theme.d.ts
CHANGED
|
@@ -2129,14 +2129,6 @@ 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
|
-
}>>;
|
|
2140
2132
|
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>]>>;
|
|
2141
2133
|
font: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
2142
2134
|
size: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
@@ -2159,6 +2151,17 @@ declare const ThemeConfigSchema: _sinclair_typebox.TObject<{
|
|
|
2159
2151
|
}>>;
|
|
2160
2152
|
family: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
2161
2153
|
}>>;
|
|
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
|
+
language: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
2163
|
+
noProof: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
2164
|
+
noProofWords: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TString>>;
|
|
2162
2165
|
alignment: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"left">, _sinclair_typebox.TLiteral<"center">, _sinclair_typebox.TLiteral<"right">, _sinclair_typebox.TLiteral<"justify">]>>;
|
|
2163
2166
|
pageBreak: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
2164
2167
|
columnBreak: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
@@ -2168,10 +2171,6 @@ declare const ThemeConfigSchema: _sinclair_typebox.TObject<{
|
|
|
2168
2171
|
}>>;
|
|
2169
2172
|
paragraph: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
2170
2173
|
text: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
2171
|
-
spacing: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
2172
|
-
before: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
2173
|
-
after: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
2174
|
-
}>>;
|
|
2175
2174
|
font: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
|
|
2176
2175
|
size: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
2177
2176
|
color: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
@@ -2193,6 +2192,13 @@ declare const ThemeConfigSchema: _sinclair_typebox.TObject<{
|
|
|
2193
2192
|
}>>;
|
|
2194
2193
|
family: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
2195
2194
|
}>>;
|
|
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
|
+
language: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
2200
|
+
noProof: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
2201
|
+
noProofWords: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TString>>;
|
|
2196
2202
|
alignment: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"left">, _sinclair_typebox.TLiteral<"center">, _sinclair_typebox.TLiteral<"right">, _sinclair_typebox.TLiteral<"justify">]>>;
|
|
2197
2203
|
pageBreak: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
2198
2204
|
columnBreak: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
@@ -2355,6 +2361,7 @@ declare const ThemeConfigSchema: _sinclair_typebox.TObject<{
|
|
|
2355
2361
|
}>]>>;
|
|
2356
2362
|
}>>;
|
|
2357
2363
|
}>>;
|
|
2364
|
+
noProofWords: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TString>>;
|
|
2358
2365
|
}>;
|
|
2359
2366
|
type ThemeConfigJson = Static<typeof ThemeConfigSchema>;
|
|
2360
2367
|
type DocumentMargins = Static<typeof DocumentMarginsSchema>;
|
package/dist/schemas/theme.js
CHANGED
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
StyleDefinitionsSchema,
|
|
8
8
|
ThemeConfigSchema,
|
|
9
9
|
isValidThemeConfig
|
|
10
|
-
} from "../chunk-
|
|
10
|
+
} from "../chunk-QNIC7H4H.js";
|
|
11
11
|
import {
|
|
12
12
|
ColumnsComponentDefaultsSchema,
|
|
13
13
|
ComponentDefaultsSchema,
|
|
@@ -18,8 +18,8 @@ import {
|
|
|
18
18
|
SectionComponentDefaultsSchema,
|
|
19
19
|
StatisticComponentDefaultsSchema,
|
|
20
20
|
TableComponentDefaultsSchema
|
|
21
|
-
} from "../chunk-
|
|
22
|
-
import "../chunk-
|
|
21
|
+
} from "../chunk-2NLQPZ4G.js";
|
|
22
|
+
import "../chunk-E5YI66B3.js";
|
|
23
23
|
export {
|
|
24
24
|
ColumnsComponentDefaultsSchema,
|
|
25
25
|
ComponentDefaultsSchema,
|