@json-to-office/core-docx 2.0.0 → 2.3.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@json-to-office/core-docx",
3
- "version": "2.0.0",
3
+ "version": "2.3.0",
4
4
  "description": "Core DOCX document generation engine",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -1,29 +0,0 @@
1
- import type { ComponentDefinition } from '@json-to-office/shared-docx';
2
- /**
3
- * Columns layout component that renders a list of components in a 2-column layout
4
- *
5
- * @example
6
- * ```json
7
- * {
8
- * "name": "columnsLayout",
9
- * "children": [
10
- * {
11
- * "name": "paragraph",
12
- * "props": {
13
- * "content": "Left column content"
14
- * }
15
- * },
16
- * {
17
- * "name": "paragraph",
18
- * "props": {
19
- * "content": "Right column content"
20
- * }
21
- * }
22
- * ]
23
- * }
24
- * ```
25
- */
26
- export declare const columnsLayoutComponent: import("../createComponent").CustomComponent<ComponentDefinition, {
27
- '1.0.0': import("../createComponent").ComponentVersion<ComponentDefinition, import("@sinclair/typebox").TObject<{}>>;
28
- }, "columnsLayout">;
29
- //# sourceMappingURL=columns-layout.component.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"columns-layout.component.d.ts","sourceRoot":"","sources":["../../../src/plugin/example/columns-layout.component.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAavE;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,eAAO,MAAM,sBAAsB;;mBAqBjC,CAAC"}
@@ -1,32 +0,0 @@
1
- import type { ComponentDefinition } from '@json-to-office/shared-docx';
2
- /**
3
- * @example
4
- * ```json
5
- * {
6
- * "name": "eldermoor-census",
7
- * "props": { "title": "Regno di Valebrook", "manaPct": "51,2%", "castles": "3.120" }
8
- * }
9
- * ```
10
- */
11
- export declare const eldermoorCensusComponent: import("../createComponent").CustomComponent<ComponentDefinition, {
12
- '1.0.0': import("../createComponent").ComponentVersion<ComponentDefinition, import("@sinclair/typebox").TObject<{
13
- title: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
14
- manaPct: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
15
- faithfulSubjects: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
16
- swornGuilds: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
17
- mappedTerritoriesPct: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
18
- castles: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
19
- outposts: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
20
- watchtowers: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
21
- sovereignTreasury: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
22
- warChest: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
23
- marketMint: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
24
- royalServants: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
25
- servantsLeft: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
26
- servantsRight: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
27
- width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TNumber, import("@sinclair/typebox").TString]>>;
28
- alignment: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"left">, import("@sinclair/typebox").TLiteral<"center">, import("@sinclair/typebox").TLiteral<"right">]>>;
29
- caption: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
30
- }>>;
31
- }, "eldermoor-census">;
32
- //# sourceMappingURL=eldermoor-census.component.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"eldermoor-census.component.d.ts","sourceRoot":"","sources":["../../../src/plugin/example/eldermoor-census.component.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAgNvE;;;;;;;;GAQG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;sBAwBnC,CAAC"}
@@ -1,16 +0,0 @@
1
- import type { ComponentDefinition } from '@json-to-office/shared-docx';
2
- /**
3
- * Nested sections component that generates nested sections for embedding in documents
4
- *
5
- * @example
6
- * ```json
7
- * {
8
- * "name": "nestedSections",
9
- * "props": {}
10
- * }
11
- * ```
12
- */
13
- export declare const nestedSectionsComponent: import("../createComponent").CustomComponent<ComponentDefinition, {
14
- '1.0.0': import("../createComponent").ComponentVersion<ComponentDefinition, import("@sinclair/typebox").TObject<{}>>;
15
- }, "nestedSections">;
16
- //# sourceMappingURL=nested-section.component.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"nested-section.component.d.ts","sourceRoot":"","sources":["../../../src/plugin/example/nested-section.component.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAYvE;;;;;;;;;;GAUG;AACH,eAAO,MAAM,uBAAuB;;oBAgFlC,CAAC"}
@@ -1,22 +0,0 @@
1
- import type { ComponentDefinition } from '@json-to-office/shared-docx';
2
- /**
3
- * Text space after component that adds space after text
4
- *
5
- * @example
6
- * ```json
7
- * {
8
- * "name": "text-space-after",
9
- * "props": {
10
- * "text": "Hello, world!",
11
- * "spaceAfter": 100
12
- * }
13
- * }
14
- * ```
15
- */
16
- export declare const textSpaceAfterComponent: import("../createComponent").CustomComponent<ComponentDefinition, {
17
- '1.0.0': import("../createComponent").ComponentVersion<ComponentDefinition, import("@sinclair/typebox").TObject<{
18
- text: import("@sinclair/typebox").TString;
19
- spaceAfter: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
20
- }>>;
21
- }, "text-space-after">;
22
- //# sourceMappingURL=text-space-after.component.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"text-space-after.component.d.ts","sourceRoot":"","sources":["../../../src/plugin/example/text-space-after.component.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAsBvE;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,uBAAuB;;;;;sBAwBlC,CAAC"}