@json-to-office/shared-docx 1.1.0 → 1.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/dist/{chunk-TODYYVZ4.js → chunk-5NLKSIS2.js} +2 -2
- package/dist/{chunk-6HFF6XZN.js → chunk-AH7DXSUV.js} +5 -5
- package/dist/chunk-AH7DXSUV.js.map +1 -0
- package/dist/{chunk-5KOKA5GY.js → chunk-EG5UTHFZ.js} +8 -1
- package/dist/{chunk-5KOKA5GY.js.map → chunk-EG5UTHFZ.js.map} +1 -1
- package/dist/{chunk-6B3LHADB.js → chunk-M4F3PWQR.js} +2 -2
- package/dist/chunk-M4F3PWQR.js.map +1 -0
- package/dist/{chunk-A2K66URO.js → chunk-MMD4A5LR.js} +157 -20
- package/dist/chunk-MMD4A5LR.js.map +1 -0
- package/dist/{chunk-BBFR3RRN.js → chunk-NT236J7G.js} +3 -3
- package/dist/{chunk-MYLVUQCN.js → chunk-P4FD5B7U.js} +2 -2
- package/dist/{chunk-LBXOAXMG.js → chunk-XEB3SHFQ.js} +4 -4
- package/dist/{chunk-6YMJWMEC.js → chunk-Z4L6TH5Y.js} +4 -4
- package/dist/chunk-Z4L6TH5Y.js.map +1 -0
- package/dist/index.d.ts +18 -5
- package/dist/index.js +12 -9
- package/dist/index.js.map +1 -1
- package/dist/schemas/api.js +4 -4
- package/dist/schemas/component-registry.d.ts +9 -0
- package/dist/schemas/component-registry.js +2 -2
- package/dist/schemas/components.d.ts +801 -57
- package/dist/schemas/components.js +5 -3
- package/dist/schemas/document.js +5 -5
- package/dist/schemas/export.js +3 -3
- package/dist/schemas/generator.js +3 -3
- package/dist/schemas/renderer.js +1 -1
- package/dist/validation/unified/index.js +5 -5
- package/package.json +2 -2
- package/dist/chunk-6B3LHADB.js.map +0 -1
- package/dist/chunk-6HFF6XZN.js.map +0 -1
- package/dist/chunk-6YMJWMEC.js.map +0 -1
- package/dist/chunk-A2K66URO.js.map +0 -1
- /package/dist/{chunk-TODYYVZ4.js.map → chunk-5NLKSIS2.js.map} +0 -0
- /package/dist/{chunk-BBFR3RRN.js.map → chunk-NT236J7G.js.map} +0 -0
- /package/dist/{chunk-MYLVUQCN.js.map → chunk-P4FD5B7U.js.map} +0 -0
- /package/dist/{chunk-LBXOAXMG.js.map → chunk-XEB3SHFQ.js.map} +0 -0
package/dist/schemas/api.js
CHANGED
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
GenerateDocumentResponseSchema,
|
|
4
4
|
ValidateDocumentRequestSchema,
|
|
5
5
|
ValidateDocumentResponseSchema
|
|
6
|
-
} from "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
6
|
+
} from "../chunk-5NLKSIS2.js";
|
|
7
|
+
import "../chunk-M4F3PWQR.js";
|
|
8
|
+
import "../chunk-MMD4A5LR.js";
|
|
9
|
+
import "../chunk-EG5UTHFZ.js";
|
|
10
10
|
import "../chunk-45I2NASU.js";
|
|
11
11
|
import "../chunk-OP5PCDNN.js";
|
|
12
12
|
import "../chunk-VX2J2KWA.js";
|
|
@@ -40,6 +40,15 @@ interface StandardComponentDefinition {
|
|
|
40
40
|
* available, used instead of the static `propsSchema`.
|
|
41
41
|
*/
|
|
42
42
|
createPropsSchema?: (recursiveRef: TSchema) => TSchema;
|
|
43
|
+
/**
|
|
44
|
+
* The renderers that can draw this component. Omitted means all of them.
|
|
45
|
+
*
|
|
46
|
+
* Only for a component whose backend gap is real, not a slice boundary: a
|
|
47
|
+
* component listed here disappears from the other renderers' schema branch
|
|
48
|
+
* entirely, so a schema-driven editor stops offering it rather than
|
|
49
|
+
* offering it and failing at render time.
|
|
50
|
+
*/
|
|
51
|
+
renderers?: readonly DocxRendererId[];
|
|
43
52
|
/** Component category for organization */
|
|
44
53
|
category: 'container' | 'content' | 'layout';
|
|
45
54
|
/** Human-readable description */
|
|
@@ -9,8 +9,8 @@ import {
|
|
|
9
9
|
getContentComponents,
|
|
10
10
|
getStandardComponent,
|
|
11
11
|
isStandardComponent
|
|
12
|
-
} from "../chunk-
|
|
13
|
-
import "../chunk-
|
|
12
|
+
} from "../chunk-MMD4A5LR.js";
|
|
13
|
+
import "../chunk-EG5UTHFZ.js";
|
|
14
14
|
import "../chunk-45I2NASU.js";
|
|
15
15
|
import "../chunk-OP5PCDNN.js";
|
|
16
16
|
import "../chunk-VX2J2KWA.js";
|