document-content-model 7.16.1 → 7.16.2
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/bijection-corpus.d.cts +2 -2
- package/dist/bijection-corpus.d.ts +2 -2
- package/dist/codec.d.cts +1 -1
- package/dist/codec.d.ts +1 -1
- package/dist/{construct-C9cYkjnd.d.cts → construct-GVdTKrE7.d.cts} +3 -3
- package/dist/{construct-C9cYkjnd.d.ts → construct-GVdTKrE7.d.ts} +3 -3
- package/dist/construct.d.cts +1 -1
- package/dist/construct.d.ts +1 -1
- package/dist/{content-drawing-3yNJVteg.d.cts → content-drawing-B8qYC1v8.d.cts} +1 -1
- package/dist/{content-drawing-cjm6n33_.d.ts → content-drawing-CypGc2s2.d.ts} +1 -1
- package/dist/content-drawing.d.cts +1 -1
- package/dist/content-drawing.d.ts +1 -1
- package/dist/{content-UFAqR2zQ.d.cts → content-jSzkMuZE.d.cts} +59 -59
- package/dist/content-sheet.d.cts +1 -1
- package/dist/content-sheet.d.ts +1 -1
- package/dist/{content-C8oVg7U_.d.ts → content-t8l-stjQ.d.ts} +59 -59
- package/dist/content-vocabulary.d.cts +1 -1
- package/dist/content-vocabulary.d.ts +1 -1
- package/dist/content.d.cts +1 -1
- package/dist/content.d.ts +1 -1
- package/dist/decompose.d.cts +3 -3
- package/dist/decompose.d.ts +3 -3
- package/dist/definitions.d.cts +1 -1
- package/dist/definitions.d.ts +1 -1
- package/dist/factor-styles.d.cts +1 -1
- package/dist/factor-styles.d.ts +1 -1
- package/dist/flatten.d.cts +1 -1
- package/dist/flatten.d.ts +1 -1
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/{math-BScHxedi.d.cts → math-DdIQCljT.d.cts} +9 -9
- package/dist/{math-BScHxedi.d.ts → math-DdIQCljT.d.ts} +9 -9
- package/dist/math.d.cts +1 -1
- package/dist/math.d.ts +1 -1
- package/dist/{package-node-CoWOKxt7.d.ts → package-node-1GqgqcZC.d.ts} +42 -42
- package/dist/{package-node-H2Calta4.d.cts → package-node-ChN_eQFL.d.cts} +42 -42
- package/dist/package-node.d.cts +1 -1
- package/dist/package-node.d.ts +1 -1
- package/dist/package.d.cts +7 -7
- package/dist/package.d.ts +7 -7
- 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/table-grid.cjs +20 -6
- package/dist/table-grid.d.cts +3 -1
- package/dist/table-grid.d.ts +3 -1
- package/dist/table-grid.js +20 -6
- package/package.json +1 -1
- package/schemas/content-document.schema.json +16 -16
- package/schemas/document-tree.schema.json +3 -3
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { l as PageSize } from "./geometry-CvcjSwnA.cjs";
|
|
2
2
|
import { r as SourceResidue } from "./source-Bas5ol6f.cjs";
|
|
3
|
-
import { in as ContentOrigin, n as ContentBlock, u as ContentDocument } from "./content-
|
|
4
|
-
import { y as ContentShape } from "./content-drawing-
|
|
3
|
+
import { in as ContentOrigin, n as ContentBlock, u as ContentDocument } from "./content-jSzkMuZE.cjs";
|
|
4
|
+
import { y as ContentShape } from "./content-drawing-B8qYC1v8.cjs";
|
|
5
5
|
//#region src/bijection-corpus.d.ts
|
|
6
6
|
declare function canon(value: unknown): unknown;
|
|
7
7
|
declare function normaliseEmbeddedObjects(value: unknown): unknown;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { l as PageSize } from "./geometry-CvcjSwnA.js";
|
|
2
2
|
import { r as SourceResidue } from "./source-Bas5ol6f.js";
|
|
3
|
-
import { in as ContentOrigin, n as ContentBlock, u as ContentDocument } from "./content-
|
|
4
|
-
import { y as ContentShape } from "./content-drawing-
|
|
3
|
+
import { in as ContentOrigin, n as ContentBlock, u as ContentDocument } from "./content-t8l-stjQ.js";
|
|
4
|
+
import { y as ContentShape } from "./content-drawing-CypGc2s2.js";
|
|
5
5
|
//#region src/bijection-corpus.d.ts
|
|
6
6
|
declare function canon(value: unknown): unknown;
|
|
7
7
|
declare function normaliseEmbeddedObjects(value: unknown): unknown;
|
package/dist/codec.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { u as ContentDocument } from "./content-
|
|
1
|
+
import { u as ContentDocument } from "./content-jSzkMuZE.cjs";
|
|
2
2
|
//#region src/codec.d.ts
|
|
3
3
|
interface ContentCodec<TOptions = unknown> {
|
|
4
4
|
readonly read: (bytes: Uint8Array, options?: TOptions) => ContentDocument;
|
package/dist/codec.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { u as ContentDocument } from "./content-
|
|
1
|
+
import { u as ContentDocument } from "./content-t8l-stjQ.js";
|
|
2
2
|
//#region src/codec.d.ts
|
|
3
3
|
interface ContentCodec<TOptions = unknown> {
|
|
4
4
|
readonly read: (bytes: Uint8Array, options?: TOptions) => ContentDocument;
|
|
@@ -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";
|
|
4
5
|
richText: "richText";
|
|
5
6
|
plainText: "plainText";
|
|
6
7
|
checkbox: "checkbox";
|
|
7
8
|
dropDown: "dropDown";
|
|
8
9
|
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";
|
|
26
27
|
richText: "richText";
|
|
27
28
|
plainText: "plainText";
|
|
28
29
|
checkbox: "checkbox";
|
|
29
30
|
dropDown: "dropDown";
|
|
30
31
|
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";
|
|
255
256
|
richText: "richText";
|
|
256
257
|
plainText: "plainText";
|
|
257
258
|
checkbox: "checkbox";
|
|
258
259
|
dropDown: "dropDown";
|
|
259
260
|
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";
|
|
4
5
|
richText: "richText";
|
|
5
6
|
plainText: "plainText";
|
|
6
7
|
checkbox: "checkbox";
|
|
7
8
|
dropDown: "dropDown";
|
|
8
9
|
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";
|
|
26
27
|
richText: "richText";
|
|
27
28
|
plainText: "plainText";
|
|
28
29
|
checkbox: "checkbox";
|
|
29
30
|
dropDown: "dropDown";
|
|
30
31
|
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";
|
|
255
256
|
richText: "richText";
|
|
256
257
|
plainText: "plainText";
|
|
257
258
|
checkbox: "checkbox";
|
|
258
259
|
dropDown: "dropDown";
|
|
259
260
|
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-GVdTKrE7.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-GVdTKrE7.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 };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as ContentVectorSchema, C as ContentStroke, D as ContentSubpath, E as ContentStrokeSchema, O as ContentSubpathSchema, S as ContentSlideSchema, T as ContentStrokeDashSchema, _ as ContentPathSegment, a as ContentFillPattern, b as ContentShapeSchema, c as ContentGradientFillSchema, d as ContentHatchFill, f as ContentHatchFillSchema, g as ContentPathPointSchema, h as ContentPathPoint, i as ContentDrawPageSchema, k as ContentVector, l as ContentGradientStyle, m as ContentHatchStyleSchema, n as ContentBitmapFillSchema, o as ContentFillPatternSchema, p as ContentHatchStyle, r as ContentDrawPage, s as ContentGradientFill, t as ContentBitmapFill, u as ContentGradientStyleSchema, v as ContentPathSegmentSchema, w as ContentStrokeDash, x as ContentSlide, y as ContentShape } from "./content-drawing-
|
|
1
|
+
import { A as ContentVectorSchema, C as ContentStroke, D as ContentSubpath, E as ContentStrokeSchema, O as ContentSubpathSchema, S as ContentSlideSchema, T as ContentStrokeDashSchema, _ as ContentPathSegment, a as ContentFillPattern, b as ContentShapeSchema, c as ContentGradientFillSchema, d as ContentHatchFill, f as ContentHatchFillSchema, g as ContentPathPointSchema, h as ContentPathPoint, i as ContentDrawPageSchema, k as ContentVector, l as ContentGradientStyle, m as ContentHatchStyleSchema, n as ContentBitmapFillSchema, o as ContentFillPatternSchema, p as ContentHatchStyle, r as ContentDrawPage, s as ContentGradientFill, t as ContentBitmapFill, u as ContentGradientStyleSchema, v as ContentPathSegmentSchema, w as ContentStrokeDash, x as ContentSlide, y as ContentShape } from "./content-drawing-B8qYC1v8.cjs";
|
|
2
2
|
export { ContentBitmapFill, ContentBitmapFillSchema, ContentDrawPage, ContentDrawPageSchema, ContentFillPattern, ContentFillPatternSchema, ContentGradientFill, ContentGradientFillSchema, ContentGradientStyle, ContentGradientStyleSchema, ContentHatchFill, ContentHatchFillSchema, ContentHatchStyle, ContentHatchStyleSchema, ContentPathPoint, ContentPathPointSchema, ContentPathSegment, ContentPathSegmentSchema, ContentShape, ContentShapeSchema, ContentSlide, ContentSlideSchema, ContentStroke, ContentStrokeDash, ContentStrokeDashSchema, ContentStrokeSchema, ContentSubpath, ContentSubpathSchema, ContentVector, ContentVectorSchema };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as ContentVectorSchema, C as ContentStroke, D as ContentSubpath, E as ContentStrokeSchema, O as ContentSubpathSchema, S as ContentSlideSchema, T as ContentStrokeDashSchema, _ as ContentPathSegment, a as ContentFillPattern, b as ContentShapeSchema, c as ContentGradientFillSchema, d as ContentHatchFill, f as ContentHatchFillSchema, g as ContentPathPointSchema, h as ContentPathPoint, i as ContentDrawPageSchema, k as ContentVector, l as ContentGradientStyle, m as ContentHatchStyleSchema, n as ContentBitmapFillSchema, o as ContentFillPatternSchema, p as ContentHatchStyle, r as ContentDrawPage, s as ContentGradientFill, t as ContentBitmapFill, u as ContentGradientStyleSchema, v as ContentPathSegmentSchema, w as ContentStrokeDash, x as ContentSlide, y as ContentShape } from "./content-drawing-
|
|
1
|
+
import { A as ContentVectorSchema, C as ContentStroke, D as ContentSubpath, E as ContentStrokeSchema, O as ContentSubpathSchema, S as ContentSlideSchema, T as ContentStrokeDashSchema, _ as ContentPathSegment, a as ContentFillPattern, b as ContentShapeSchema, c as ContentGradientFillSchema, d as ContentHatchFill, f as ContentHatchFillSchema, g as ContentPathPointSchema, h as ContentPathPoint, i as ContentDrawPageSchema, k as ContentVector, l as ContentGradientStyle, m as ContentHatchStyleSchema, n as ContentBitmapFillSchema, o as ContentFillPatternSchema, p as ContentHatchStyle, r as ContentDrawPage, s as ContentGradientFill, t as ContentBitmapFill, u as ContentGradientStyleSchema, v as ContentPathSegmentSchema, w as ContentStrokeDash, x as ContentSlide, y as ContentShape } from "./content-drawing-CypGc2s2.js";
|
|
2
2
|
export { ContentBitmapFill, ContentBitmapFillSchema, ContentDrawPage, ContentDrawPageSchema, ContentFillPattern, ContentFillPatternSchema, ContentGradientFill, ContentGradientFillSchema, ContentGradientStyle, ContentGradientStyleSchema, ContentHatchFill, ContentHatchFillSchema, ContentHatchStyle, ContentHatchStyleSchema, ContentPathPoint, ContentPathPointSchema, ContentPathSegment, ContentPathSegmentSchema, ContentShape, ContentShapeSchema, ContentSlide, ContentSlideSchema, ContentStroke, ContentStrokeDash, ContentStrokeDashSchema, ContentStrokeSchema, ContentSubpath, ContentSubpathSchema, ContentVector, ContentVectorSchema };
|