@json-to-office/core-docx 0.21.0 → 0.22.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/components/highcharts.d.ts.map +1 -1
- package/dist/components/toc/index.d.ts.map +1 -1
- package/dist/core/content.d.ts.map +1 -1
- package/dist/core/generator.d.ts.map +1 -1
- package/dist/core/render.d.ts.map +1 -1
- package/dist/core/structure.d.ts +3 -0
- package/dist/core/structure.d.ts.map +1 -1
- package/dist/index.js +113 -41
- package/dist/index.js.map +1 -1
- package/dist/plugin/createDocumentGenerator.d.ts.map +1 -1
- package/dist/plugin/example/index.js +111 -39
- package/dist/plugin/example/index.js.map +1 -1
- package/dist/styles/utils/colorUtils.d.ts +4 -3
- package/dist/styles/utils/colorUtils.d.ts.map +1 -1
- package/dist/styles/utils/resolveComponentTree.d.ts +3 -0
- package/dist/styles/utils/resolveComponentTree.d.ts.map +1 -1
- package/dist/templates/themes/apex.docx.theme.json +1 -6
- package/dist/templates/themes/corporate.docx.theme.json +7 -7
- package/dist/templates/themes/devportal.docx.theme.json +1 -6
- package/dist/templates/themes/index.d.ts +12 -0
- package/dist/templates/themes/index.d.ts.map +1 -1
- package/dist/templates/themes/minimal.docx.theme.json +1 -6
- package/dist/templates/themes/modern.docx.theme.json +1 -6
- package/dist/themes/defaults.d.ts +3 -0
- package/dist/themes/defaults.d.ts.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
|
@@ -12,16 +12,17 @@ export type ColorValue = string;
|
|
|
12
12
|
*/
|
|
13
13
|
export declare function resolveColor(colorValue: ColorValue, theme: ThemeConfig): string;
|
|
14
14
|
/**
|
|
15
|
-
* Validates if a color name
|
|
15
|
+
* Validates if a color name is set in the theme
|
|
16
16
|
* @param colorName - The color name to validate
|
|
17
17
|
* @param theme - The theme configuration
|
|
18
|
-
* @returns True if the color name
|
|
18
|
+
* @returns True if the color name resolves to a value. A present-but-undefined
|
|
19
|
+
* optional slot counts as unset, matching what `resolveColor` accepts.
|
|
19
20
|
*/
|
|
20
21
|
export declare function isValidColorName(colorName: string, theme: ThemeConfig): boolean;
|
|
21
22
|
/**
|
|
22
23
|
* Gets all available color names from a theme
|
|
23
24
|
* @param theme - The theme configuration
|
|
24
|
-
* @returns Array of valid color names
|
|
25
|
+
* @returns Array of valid color names, excluding present-but-undefined slots
|
|
25
26
|
*/
|
|
26
27
|
export declare function getAvailableColorNames(theme: ThemeConfig): string[];
|
|
27
28
|
//# sourceMappingURL=colorUtils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"colorUtils.d.ts","sourceRoot":"","sources":["../../../src/styles/utils/colorUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEvD,MAAM,MAAM,SAAS,GAAG,MAAM,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAGhE,MAAM,MAAM,cAAc,GACtB,SAAS,GACT,WAAW,GACX,QAAQ,GACR,MAAM,GACN,YAAY,GACZ,aAAa,GACb,eAAe,GACf,WAAW,GACX,eAAe,GACf,iBAAiB,GACjB,mBAAmB,GACnB,qBAAqB,CAAC;AAG1B,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC;AAEhC;;;;;;GAMG;AACH,wBAAgB,YAAY,CAC1B,UAAU,EAAE,UAAU,EACtB,KAAK,EAAE,WAAW,GACjB,MAAM,
|
|
1
|
+
{"version":3,"file":"colorUtils.d.ts","sourceRoot":"","sources":["../../../src/styles/utils/colorUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEvD,MAAM,MAAM,SAAS,GAAG,MAAM,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAGhE,MAAM,MAAM,cAAc,GACtB,SAAS,GACT,WAAW,GACX,QAAQ,GACR,MAAM,GACN,YAAY,GACZ,aAAa,GACb,eAAe,GACf,WAAW,GACX,eAAe,GACf,iBAAiB,GACjB,mBAAmB,GACnB,qBAAqB,CAAC;AAG1B,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC;AAEhC;;;;;;GAMG;AACH,wBAAgB,YAAY,CAC1B,UAAU,EAAE,UAAU,EACtB,KAAK,EAAE,WAAW,GACjB,MAAM,CAmCR;AAED;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAC9B,SAAS,EAAE,MAAM,EACjB,KAAK,EAAE,WAAW,GACjB,OAAO,CAWT;AAED;;;;GAIG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,WAAW,GAAG,MAAM,EAAE,CAGnE"}
|
|
@@ -9,6 +9,9 @@ import { ThemeConfig } from '../index';
|
|
|
9
9
|
* Resolve componentDefaults for a single component.
|
|
10
10
|
* Known components use their typed resolver; unknown names
|
|
11
11
|
* fall back to resolveCustomComponentProps.
|
|
12
|
+
*
|
|
13
|
+
* A missing `props` key is treated as `{}` — a propless node must still pick up
|
|
14
|
+
* the theme's defaults (e.g. `componentDefaults.section.pageBreak: false`).
|
|
12
15
|
*/
|
|
13
16
|
export declare function resolveComponentDefaults(component: ComponentDefinition, theme: ThemeConfig): ComponentDefinition;
|
|
14
17
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolveComponentTree.d.ts","sourceRoot":"","sources":["../../../src/styles/utils/resolveComponentTree.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,mBAAmB,EAAgB,MAAM,aAAa,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAkDvC
|
|
1
|
+
{"version":3,"file":"resolveComponentTree.d.ts","sourceRoot":"","sources":["../../../src/styles/utils/resolveComponentTree.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,mBAAmB,EAAgB,MAAM,aAAa,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAkDvC;;;;;;;GAOG;AACH,wBAAgB,wBAAwB,CACtC,SAAS,EAAE,mBAAmB,EAC9B,KAAK,EAAE,WAAW,GACjB,mBAAmB,CAarB;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,CAClC,UAAU,EAAE,mBAAmB,EAAE,EACjC,KAAK,EAAE,WAAW,GACjB,mBAAmB,EAAE,CAgBvB"}
|
|
@@ -98,12 +98,7 @@
|
|
|
98
98
|
},
|
|
99
99
|
"componentDefaults": {
|
|
100
100
|
"table": {
|
|
101
|
-
"
|
|
102
|
-
"striped": true,
|
|
103
|
-
"headerBackground": "#0C2340",
|
|
104
|
-
"headerColor": "#FFFFFF",
|
|
105
|
-
"borderColor": "#D6DAE0",
|
|
106
|
-
"borderWidth": 0.5
|
|
101
|
+
"borderColor": "#D6DAE0"
|
|
107
102
|
},
|
|
108
103
|
"list": {
|
|
109
104
|
"format": "bullet",
|
|
@@ -53,7 +53,12 @@
|
|
|
53
53
|
"keepNext": true,
|
|
54
54
|
"alignment": "left",
|
|
55
55
|
"borders": {
|
|
56
|
-
"bottom": {
|
|
56
|
+
"bottom": {
|
|
57
|
+
"style": "single",
|
|
58
|
+
"size": 2,
|
|
59
|
+
"color": "primary",
|
|
60
|
+
"space": 6
|
|
61
|
+
}
|
|
57
62
|
}
|
|
58
63
|
},
|
|
59
64
|
"heading2": {
|
|
@@ -93,12 +98,7 @@
|
|
|
93
98
|
},
|
|
94
99
|
"componentDefaults": {
|
|
95
100
|
"table": {
|
|
96
|
-
"
|
|
97
|
-
"striped": true,
|
|
98
|
-
"headerBackground": "#1a365d",
|
|
99
|
-
"headerColor": "#FFFFFF",
|
|
100
|
-
"borderColor": "#E2E8F0",
|
|
101
|
-
"borderWidth": 0.5
|
|
101
|
+
"borderColor": "#E2E8F0"
|
|
102
102
|
},
|
|
103
103
|
"list": {
|
|
104
104
|
"format": "bullet",
|
|
@@ -106,12 +106,7 @@
|
|
|
106
106
|
},
|
|
107
107
|
"componentDefaults": {
|
|
108
108
|
"table": {
|
|
109
|
-
"
|
|
110
|
-
"striped": false,
|
|
111
|
-
"headerBackground": "#0F172A",
|
|
112
|
-
"headerColor": "#FFFFFF",
|
|
113
|
-
"borderColor": "#E2E8F0",
|
|
114
|
-
"borderWidth": 0.5
|
|
109
|
+
"borderColor": "#E2E8F0"
|
|
115
110
|
},
|
|
116
111
|
"list": {
|
|
117
112
|
"format": "bullet",
|
|
@@ -1157,6 +1157,9 @@ export declare const themes: Record<string, {
|
|
|
1157
1157
|
description: string;
|
|
1158
1158
|
version: string;
|
|
1159
1159
|
colors: {
|
|
1160
|
+
accent4?: string | undefined;
|
|
1161
|
+
accent5?: string | undefined;
|
|
1162
|
+
accent6?: string | undefined;
|
|
1160
1163
|
primary: string;
|
|
1161
1164
|
secondary: string;
|
|
1162
1165
|
accent: string;
|
|
@@ -2462,6 +2465,9 @@ export declare const minimalTheme: {
|
|
|
2462
2465
|
description: string;
|
|
2463
2466
|
version: string;
|
|
2464
2467
|
colors: {
|
|
2468
|
+
accent4?: string | undefined;
|
|
2469
|
+
accent5?: string | undefined;
|
|
2470
|
+
accent6?: string | undefined;
|
|
2465
2471
|
primary: string;
|
|
2466
2472
|
secondary: string;
|
|
2467
2473
|
accent: string;
|
|
@@ -3732,6 +3738,9 @@ export declare const corporateTheme: {
|
|
|
3732
3738
|
description: string;
|
|
3733
3739
|
version: string;
|
|
3734
3740
|
colors: {
|
|
3741
|
+
accent4?: string | undefined;
|
|
3742
|
+
accent5?: string | undefined;
|
|
3743
|
+
accent6?: string | undefined;
|
|
3735
3744
|
primary: string;
|
|
3736
3745
|
secondary: string;
|
|
3737
3746
|
accent: string;
|
|
@@ -5002,6 +5011,9 @@ export declare const modernTheme: {
|
|
|
5002
5011
|
description: string;
|
|
5003
5012
|
version: string;
|
|
5004
5013
|
colors: {
|
|
5014
|
+
accent4?: string | undefined;
|
|
5015
|
+
accent5?: string | undefined;
|
|
5016
|
+
accent6?: string | undefined;
|
|
5005
5017
|
primary: string;
|
|
5006
5018
|
secondary: string;
|
|
5007
5019
|
accent: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/templates/themes/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAKH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AA6DnE,eAAO,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/templates/themes/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAKH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AA6DnE,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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
174
|
-
"borderWidth": 0.5
|
|
169
|
+
"borderColor": "#f0f0f0"
|
|
175
170
|
},
|
|
176
171
|
"list": {
|
|
177
172
|
"format": "bullet",
|
|
@@ -90,12 +90,7 @@
|
|
|
90
90
|
},
|
|
91
91
|
"componentDefaults": {
|
|
92
92
|
"table": {
|
|
93
|
-
"
|
|
94
|
-
"striped": false,
|
|
95
|
-
"headerBackground": "#6D28D9",
|
|
96
|
-
"headerColor": "#FFFFFF",
|
|
97
|
-
"borderColor": "#E2E8F0",
|
|
98
|
-
"borderWidth": 0.5
|
|
93
|
+
"borderColor": "#E2E8F0"
|
|
99
94
|
},
|
|
100
95
|
"list": {
|
|
101
96
|
"format": "bullet",
|
|
@@ -146,6 +146,9 @@ export declare function isCompleteTheme(theme: unknown): theme is ThemeConfigJso
|
|
|
146
146
|
* Safe getter for theme colors with defaults
|
|
147
147
|
*/
|
|
148
148
|
export declare function getThemeColors(theme: Partial<ThemeConfigJson>): {
|
|
149
|
+
accent4?: string | undefined;
|
|
150
|
+
accent5?: string | undefined;
|
|
151
|
+
accent6?: string | undefined;
|
|
149
152
|
primary: string;
|
|
150
153
|
secondary: string;
|
|
151
154
|
accent: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../../src/themes/defaults.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAEnE;;GAEG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;CAe1B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;CAKzB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0E1B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;CA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