document-content-model 7.6.0 → 7.7.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/README.md +1 -1
- package/dist/codec.d.cts +1 -1
- package/dist/codec.d.ts +1 -1
- package/dist/{construct-GVdTKrE7.d.cts → construct-C9cYkjnd.d.cts} +3 -3
- package/dist/{construct-GVdTKrE7.d.ts → construct-C9cYkjnd.d.ts} +3 -3
- package/dist/construct.d.cts +1 -1
- package/dist/construct.d.ts +1 -1
- package/dist/{content-BCOxY0Eb.d.ts → content-BIM8bWWt.d.ts} +205 -59
- package/dist/{content-BzkhrS6P.d.cts → content-DpsxyPMw.d.cts} +205 -59
- package/dist/content-json-schema-defs.cjs +32 -0
- package/dist/content-json-schema-defs.js +32 -0
- package/dist/content.cjs +37 -11
- package/dist/content.d.cts +2 -2
- package/dist/content.d.ts +2 -2
- package/dist/content.js +33 -12
- package/dist/decompose.d.cts +2 -2
- package/dist/decompose.d.ts +2 -2
- package/dist/definitions.cjs +1 -10
- package/dist/definitions.d.cts +4 -4
- package/dist/definitions.d.ts +4 -4
- package/dist/definitions.js +2 -11
- package/dist/factor-styles.cjs +1 -0
- package/dist/factor-styles.d.cts +1 -1
- package/dist/factor-styles.d.ts +1 -1
- package/dist/factor-styles.js +1 -0
- package/dist/flatten.cjs +1 -0
- package/dist/flatten.d.cts +1 -1
- package/dist/flatten.d.ts +1 -1
- package/dist/flatten.js +1 -0
- package/dist/index.cjs +5 -0
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +2 -2
- package/dist/{package-node-C4mh1hLY.d.ts → package-node-B8LBrCCD.d.ts} +48 -35
- package/dist/{package-node-RQMDBzwd.d.cts → package-node-CENJl5PH.d.cts} +48 -35
- package/dist/package-node.d.cts +1 -1
- package/dist/package-node.d.ts +1 -1
- package/dist/package.cjs +1 -0
- package/dist/package.d.cts +11 -6
- package/dist/package.d.ts +11 -6
- package/dist/package.js +2 -1
- package/dist/schema-io.cjs +2 -2
- package/dist/schema-io.d.cts +1 -1
- package/dist/schema-io.d.ts +1 -1
- package/dist/schema-io.js +2 -2
- package/dist/{style-D06NwxAJ.d.cts → style-BGMcYrD2.d.cts} +1 -1
- package/dist/{style-D06NwxAJ.d.ts → style-BGMcYrD2.d.ts} +1 -1
- package/dist/style.d.cts +1 -1
- package/dist/style.d.ts +1 -1
- package/dist/text-layout.d.cts +1 -1
- package/dist/text-layout.d.ts +1 -1
- package/package.json +1 -1
- package/schemas/content-document.schema.json +171 -13
- package/schemas/document-tree.schema.json +87 -3
package/README.md
CHANGED
|
@@ -547,7 +547,7 @@ This package also published under the following alternate npm names from the pre
|
|
|
547
547
|
- [document-schema](https://www.npmjs.com/package/document-schema)
|
|
548
548
|
- [document-model.js](https://www.npmjs.com/package/document-model.js)
|
|
549
549
|
|
|
550
|
-
**
|
|
550
|
+
**Republished automatically** — the alias's trusted publisher is registered against this repository and workflow (2026-09-10), so every release from the [backfill run](https://github.com/ExaDev/documents.js/actions/runs/34449796133) onward publishes under this name too; the registration evidence is on [ExaDev/documents.js#730](https://github.com/ExaDev/documents.js/issues/730).
|
|
551
551
|
|
|
552
552
|
## License
|
|
553
553
|
|
package/dist/codec.d.cts
CHANGED
package/dist/codec.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
//#region src/construct.d.ts
|
|
3
3
|
declare const ContentControlTypeSchema: z.ZodEnum<{
|
|
4
|
-
date: "date";
|
|
5
4
|
richText: "richText";
|
|
6
5
|
plainText: "plainText";
|
|
7
6
|
checkbox: "checkbox";
|
|
8
7
|
dropDown: "dropDown";
|
|
9
8
|
comboBox: "comboBox";
|
|
9
|
+
date: "date";
|
|
10
10
|
picture: "picture";
|
|
11
11
|
repeatingSection: "repeatingSection";
|
|
12
12
|
button: "button";
|
|
@@ -23,12 +23,12 @@ type ContentControlLock = z.infer<typeof ContentControlLockSchema>;
|
|
|
23
23
|
declare const ContentControlDescriptorSchema: z.ZodObject<{
|
|
24
24
|
kind: z.ZodLiteral<"contentControl">;
|
|
25
25
|
controlType: z.ZodEnum<{
|
|
26
|
-
date: "date";
|
|
27
26
|
richText: "richText";
|
|
28
27
|
plainText: "plainText";
|
|
29
28
|
checkbox: "checkbox";
|
|
30
29
|
dropDown: "dropDown";
|
|
31
30
|
comboBox: "comboBox";
|
|
31
|
+
date: "date";
|
|
32
32
|
picture: "picture";
|
|
33
33
|
repeatingSection: "repeatingSection";
|
|
34
34
|
button: "button";
|
|
@@ -252,12 +252,12 @@ type DivisionDescriptor = z.infer<typeof DivisionDescriptorSchema>;
|
|
|
252
252
|
declare const ConstructDescriptorSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
253
253
|
kind: z.ZodLiteral<"contentControl">;
|
|
254
254
|
controlType: z.ZodEnum<{
|
|
255
|
-
date: "date";
|
|
256
255
|
richText: "richText";
|
|
257
256
|
plainText: "plainText";
|
|
258
257
|
checkbox: "checkbox";
|
|
259
258
|
dropDown: "dropDown";
|
|
260
259
|
comboBox: "comboBox";
|
|
260
|
+
date: "date";
|
|
261
261
|
picture: "picture";
|
|
262
262
|
repeatingSection: "repeatingSection";
|
|
263
263
|
button: "button";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
//#region src/construct.d.ts
|
|
3
3
|
declare const ContentControlTypeSchema: z.ZodEnum<{
|
|
4
|
-
date: "date";
|
|
5
4
|
richText: "richText";
|
|
6
5
|
plainText: "plainText";
|
|
7
6
|
checkbox: "checkbox";
|
|
8
7
|
dropDown: "dropDown";
|
|
9
8
|
comboBox: "comboBox";
|
|
9
|
+
date: "date";
|
|
10
10
|
picture: "picture";
|
|
11
11
|
repeatingSection: "repeatingSection";
|
|
12
12
|
button: "button";
|
|
@@ -23,12 +23,12 @@ type ContentControlLock = z.infer<typeof ContentControlLockSchema>;
|
|
|
23
23
|
declare const ContentControlDescriptorSchema: z.ZodObject<{
|
|
24
24
|
kind: z.ZodLiteral<"contentControl">;
|
|
25
25
|
controlType: z.ZodEnum<{
|
|
26
|
-
date: "date";
|
|
27
26
|
richText: "richText";
|
|
28
27
|
plainText: "plainText";
|
|
29
28
|
checkbox: "checkbox";
|
|
30
29
|
dropDown: "dropDown";
|
|
31
30
|
comboBox: "comboBox";
|
|
31
|
+
date: "date";
|
|
32
32
|
picture: "picture";
|
|
33
33
|
repeatingSection: "repeatingSection";
|
|
34
34
|
button: "button";
|
|
@@ -252,12 +252,12 @@ type DivisionDescriptor = z.infer<typeof DivisionDescriptorSchema>;
|
|
|
252
252
|
declare const ConstructDescriptorSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
253
253
|
kind: z.ZodLiteral<"contentControl">;
|
|
254
254
|
controlType: z.ZodEnum<{
|
|
255
|
-
date: "date";
|
|
256
255
|
richText: "richText";
|
|
257
256
|
plainText: "plainText";
|
|
258
257
|
checkbox: "checkbox";
|
|
259
258
|
dropDown: "dropDown";
|
|
260
259
|
comboBox: "comboBox";
|
|
260
|
+
date: "date";
|
|
261
261
|
picture: "picture";
|
|
262
262
|
repeatingSection: "repeatingSection";
|
|
263
263
|
button: "button";
|
package/dist/construct.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as ProvenanceChange, E as ProvenanceDescriptorSchema, S as LinkTargetSchema, T as ProvenanceDescriptor, _ as FieldDescriptor, a as ConstructDescriptor, b as LinkDescriptorSchema, c as ContentControlDescriptorSchema, d as ContentControlType, f as ContentControlTypeSchema, g as DivisionSourceSchema, h as DivisionSource, i as AnchorTypeSchema, l as ContentControlLock, m as DivisionDescriptorSchema, n as AnchorDescriptorSchema, o as ConstructDescriptorSchema, p as DivisionDescriptor, r as AnchorType, s as ContentControlDescriptor, t as AnchorDescriptor, u as ContentControlLockSchema, v as FieldDescriptorSchema, w as ProvenanceChangeSchema, x as LinkTarget, y as LinkDescriptor } from "./construct-
|
|
1
|
+
import { C as ProvenanceChange, E as ProvenanceDescriptorSchema, S as LinkTargetSchema, T as ProvenanceDescriptor, _ as FieldDescriptor, a as ConstructDescriptor, b as LinkDescriptorSchema, c as ContentControlDescriptorSchema, d as ContentControlType, f as ContentControlTypeSchema, g as DivisionSourceSchema, h as DivisionSource, i as AnchorTypeSchema, l as ContentControlLock, m as DivisionDescriptorSchema, n as AnchorDescriptorSchema, o as ConstructDescriptorSchema, p as DivisionDescriptor, r as AnchorType, s as ContentControlDescriptor, t as AnchorDescriptor, u as ContentControlLockSchema, v as FieldDescriptorSchema, w as ProvenanceChangeSchema, x as LinkTarget, y as LinkDescriptor } from "./construct-C9cYkjnd.cjs";
|
|
2
2
|
export { AnchorDescriptor, AnchorDescriptorSchema, AnchorType, AnchorTypeSchema, ConstructDescriptor, ConstructDescriptorSchema, ContentControlDescriptor, ContentControlDescriptorSchema, ContentControlLock, ContentControlLockSchema, ContentControlType, ContentControlTypeSchema, DivisionDescriptor, DivisionDescriptorSchema, DivisionSource, DivisionSourceSchema, FieldDescriptor, FieldDescriptorSchema, LinkDescriptor, LinkDescriptorSchema, LinkTarget, LinkTargetSchema, ProvenanceChange, ProvenanceChangeSchema, ProvenanceDescriptor, ProvenanceDescriptorSchema };
|
package/dist/construct.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as ProvenanceChange, E as ProvenanceDescriptorSchema, S as LinkTargetSchema, T as ProvenanceDescriptor, _ as FieldDescriptor, a as ConstructDescriptor, b as LinkDescriptorSchema, c as ContentControlDescriptorSchema, d as ContentControlType, f as ContentControlTypeSchema, g as DivisionSourceSchema, h as DivisionSource, i as AnchorTypeSchema, l as ContentControlLock, m as DivisionDescriptorSchema, n as AnchorDescriptorSchema, o as ConstructDescriptorSchema, p as DivisionDescriptor, r as AnchorType, s as ContentControlDescriptor, t as AnchorDescriptor, u as ContentControlLockSchema, v as FieldDescriptorSchema, w as ProvenanceChangeSchema, x as LinkTarget, y as LinkDescriptor } from "./construct-
|
|
1
|
+
import { C as ProvenanceChange, E as ProvenanceDescriptorSchema, S as LinkTargetSchema, T as ProvenanceDescriptor, _ as FieldDescriptor, a as ConstructDescriptor, b as LinkDescriptorSchema, c as ContentControlDescriptorSchema, d as ContentControlType, f as ContentControlTypeSchema, g as DivisionSourceSchema, h as DivisionSource, i as AnchorTypeSchema, l as ContentControlLock, m as DivisionDescriptorSchema, n as AnchorDescriptorSchema, o as ConstructDescriptorSchema, p as DivisionDescriptor, r as AnchorType, s as ContentControlDescriptor, t as AnchorDescriptor, u as ContentControlLockSchema, v as FieldDescriptorSchema, w as ProvenanceChangeSchema, x as LinkTarget, y as LinkDescriptor } from "./construct-C9cYkjnd.js";
|
|
2
2
|
export { AnchorDescriptor, AnchorDescriptorSchema, AnchorType, AnchorTypeSchema, ConstructDescriptor, ConstructDescriptorSchema, ContentControlDescriptor, ContentControlDescriptorSchema, ContentControlLock, ContentControlLockSchema, ContentControlType, ContentControlTypeSchema, DivisionDescriptor, DivisionDescriptorSchema, DivisionSource, DivisionSourceSchema, FieldDescriptor, FieldDescriptorSchema, LinkDescriptor, LinkDescriptorSchema, LinkTarget, LinkTargetSchema, ProvenanceChange, ProvenanceChangeSchema, ProvenanceDescriptor, ProvenanceDescriptorSchema };
|