@json-to-office/core-docx 0.1.0 → 0.2.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/table.d.ts.map +1 -1
- package/dist/core/content.d.ts +2 -1
- package/dist/core/content.d.ts.map +1 -1
- package/dist/index.js +79 -137
- package/dist/index.js.map +1 -1
- package/dist/plugin/createComponent.d.ts +8 -106
- package/dist/plugin/createComponent.d.ts.map +1 -1
- package/dist/plugin/createDocumentGenerator.d.ts +3 -1
- package/dist/plugin/createDocumentGenerator.d.ts.map +1 -1
- package/dist/plugin/example/index.js +87 -136
- package/dist/plugin/example/index.js.map +1 -1
- package/dist/plugin/validation.d.ts +6 -22
- package/dist/plugin/validation.d.ts.map +1 -1
- package/dist/plugin/version-resolver.d.ts +1 -9
- package/dist/plugin/version-resolver.d.ts.map +1 -1
- package/dist/templates/themes/index.d.ts +4 -4
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/utils/widthUtils.d.ts +0 -1
- package/dist/utils/widthUtils.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -23,5 +23,4 @@ export declare function parsePercentageStringToFraction(value: string): number |
|
|
|
23
23
|
* Convert a numeric (points) or percentage string to twips using available width
|
|
24
24
|
*/
|
|
25
25
|
export declare function relativeLengthToTwips(value: number | string, availableWidthTwips: number): number;
|
|
26
|
-
export declare const __widthUtils = true;
|
|
27
26
|
//# sourceMappingURL=widthUtils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widthUtils.d.ts","sourceRoot":"","sources":["../../src/utils/widthUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAIxC;;GAEG;AACH,wBAAgB,sBAAsB,CACpC,KAAK,CAAC,EAAE,WAAW,EACnB,SAAS,CAAC,EAAE,MAAM,GACjB,MAAM,CAMR;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAC/B,KAAK,CA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,MAAM,EACtB,mBAAmB,EAAE,MAAM,GAC1B,MAAM,CAOR"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@json-to-office/core-docx",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Core DOCX document generation engine",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"date-fns": "3.6.0",
|
|
24
24
|
"jszip": "3.10.1",
|
|
25
25
|
"probe-image-size": "7.2.3",
|
|
26
|
-
"@json-to-office/shared": "^0.
|
|
27
|
-
"@json-to-office/shared-docx": "^0.
|
|
26
|
+
"@json-to-office/shared": "^0.2.0",
|
|
27
|
+
"@json-to-office/shared-docx": "^0.2.0"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
30
|
"docx": "9.5.1",
|