@json-to-office/core-docx 0.2.0 → 0.3.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/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/plugin/createDocumentGenerator.d.ts +2 -2
- package/dist/plugin/createDocumentGenerator.d.ts.map +1 -1
- package/dist/plugin/example/index.js +3 -0
- package/dist/plugin/example/index.js.map +1 -1
- package/dist/templates/themes/index.d.ts +4 -796
- package/dist/templates/themes/index.d.ts.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -7318,6 +7318,9 @@ function createBuilderImpl(state) {
|
|
|
7318
7318
|
return state.customThemes[key];
|
|
7319
7319
|
}
|
|
7320
7320
|
}
|
|
7321
|
+
if (state.theme) {
|
|
7322
|
+
return state.theme;
|
|
7323
|
+
}
|
|
7321
7324
|
return getThemeWithFallback(themeName);
|
|
7322
7325
|
}
|
|
7323
7326
|
async function processDocumentComponents(components, warningsCollector, resolvedTheme, depth = 0) {
|