document-content-model 7.16.0 → 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.
Files changed (51) hide show
  1. package/dist/bijection-corpus.d.cts +2 -2
  2. package/dist/bijection-corpus.d.ts +2 -2
  3. package/dist/codec.d.cts +1 -1
  4. package/dist/codec.d.ts +1 -1
  5. package/dist/{construct-C4XiF8OW.d.cts → construct-GVdTKrE7.d.cts} +3 -3
  6. package/dist/{construct-C4XiF8OW.d.ts → construct-GVdTKrE7.d.ts} +3 -3
  7. package/dist/construct.d.cts +1 -1
  8. package/dist/construct.d.ts +1 -1
  9. package/dist/{content-drawing-Dlo8cXJj.d.cts → content-drawing-B8qYC1v8.d.cts} +1 -1
  10. package/dist/{content-drawing-DuvQQwuc.d.ts → content-drawing-CypGc2s2.d.ts} +1 -1
  11. package/dist/content-drawing.d.cts +1 -1
  12. package/dist/content-drawing.d.ts +1 -1
  13. package/dist/{content-DKx5QaRd.d.cts → content-jSzkMuZE.d.cts} +73 -73
  14. package/dist/content-sheet.d.cts +1 -1
  15. package/dist/content-sheet.d.ts +1 -1
  16. package/dist/{content-CBE4kBMo.d.ts → content-t8l-stjQ.d.ts} +73 -73
  17. package/dist/content-vocabulary.d.cts +1 -1
  18. package/dist/content-vocabulary.d.ts +1 -1
  19. package/dist/content.d.cts +1 -1
  20. package/dist/content.d.ts +1 -1
  21. package/dist/decompose.d.cts +3 -3
  22. package/dist/decompose.d.ts +3 -3
  23. package/dist/definitions.d.cts +1 -1
  24. package/dist/definitions.d.ts +1 -1
  25. package/dist/factor-styles.d.cts +1 -1
  26. package/dist/factor-styles.d.ts +1 -1
  27. package/dist/flatten.d.cts +1 -1
  28. package/dist/flatten.d.ts +1 -1
  29. package/dist/index.d.cts +5 -5
  30. package/dist/index.d.ts +5 -5
  31. package/dist/{math-BScHxedi.d.cts → math-DdIQCljT.d.cts} +9 -9
  32. package/dist/{math-BScHxedi.d.ts → math-DdIQCljT.d.ts} +9 -9
  33. package/dist/math.d.cts +1 -1
  34. package/dist/math.d.ts +1 -1
  35. package/dist/{package-node-vI3Q0nFf.d.ts → package-node-1GqgqcZC.d.ts} +39 -39
  36. package/dist/{package-node-BYL2owXg.d.cts → package-node-ChN_eQFL.d.cts} +39 -39
  37. package/dist/package-node.d.cts +1 -1
  38. package/dist/package-node.d.ts +1 -1
  39. package/dist/package.d.cts +7 -7
  40. package/dist/package.d.ts +7 -7
  41. package/dist/schema-io.cjs +2 -2
  42. package/dist/schema-io.d.cts +1 -1
  43. package/dist/schema-io.d.ts +1 -1
  44. package/dist/schema-io.js +2 -2
  45. package/dist/table-grid.cjs +20 -6
  46. package/dist/table-grid.d.cts +3 -1
  47. package/dist/table-grid.d.ts +3 -1
  48. package/dist/table-grid.js +20 -6
  49. package/package.json +1 -1
  50. package/schemas/content-document.schema.json +16 -16
  51. 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-DKx5QaRd.cjs";
4
- import { y as ContentShape } from "./content-drawing-Dlo8cXJj.cjs";
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-CBE4kBMo.js";
4
- import { y as ContentShape } from "./content-drawing-DuvQQwuc.js";
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-DKx5QaRd.cjs";
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-CBE4kBMo.js";
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;
@@ -94,19 +94,19 @@ declare const FieldDescriptorSchema: z.ZodObject<{
94
94
  }, z.core.$strict>;
95
95
  type FieldDescriptor = z.infer<typeof FieldDescriptorSchema>;
96
96
  declare const AnchorTypeSchema: z.ZodEnum<{
97
- comment: "comment";
98
97
  bookmark: "bookmark";
99
98
  footnote: "footnote";
100
99
  endnote: "endnote";
100
+ comment: "comment";
101
101
  }>;
102
102
  type AnchorType = z.infer<typeof AnchorTypeSchema>;
103
103
  declare const AnchorDescriptorSchema: z.ZodObject<{
104
104
  kind: z.ZodLiteral<"anchor">;
105
105
  anchorType: z.ZodEnum<{
106
- comment: "comment";
107
106
  bookmark: "bookmark";
108
107
  footnote: "footnote";
109
108
  endnote: "endnote";
109
+ comment: "comment";
110
110
  }>;
111
111
  name: z.ZodString;
112
112
  definition: z.ZodOptional<z.ZodString>;
@@ -321,10 +321,10 @@ declare const ConstructDescriptorSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
321
321
  }, z.core.$strict>, z.ZodObject<{
322
322
  kind: z.ZodLiteral<"anchor">;
323
323
  anchorType: z.ZodEnum<{
324
- comment: "comment";
325
324
  bookmark: "bookmark";
326
325
  footnote: "footnote";
327
326
  endnote: "endnote";
327
+ comment: "comment";
328
328
  }>;
329
329
  name: z.ZodString;
330
330
  definition: z.ZodOptional<z.ZodString>;
@@ -94,19 +94,19 @@ declare const FieldDescriptorSchema: z.ZodObject<{
94
94
  }, z.core.$strict>;
95
95
  type FieldDescriptor = z.infer<typeof FieldDescriptorSchema>;
96
96
  declare const AnchorTypeSchema: z.ZodEnum<{
97
- comment: "comment";
98
97
  bookmark: "bookmark";
99
98
  footnote: "footnote";
100
99
  endnote: "endnote";
100
+ comment: "comment";
101
101
  }>;
102
102
  type AnchorType = z.infer<typeof AnchorTypeSchema>;
103
103
  declare const AnchorDescriptorSchema: z.ZodObject<{
104
104
  kind: z.ZodLiteral<"anchor">;
105
105
  anchorType: z.ZodEnum<{
106
- comment: "comment";
107
106
  bookmark: "bookmark";
108
107
  footnote: "footnote";
109
108
  endnote: "endnote";
109
+ comment: "comment";
110
110
  }>;
111
111
  name: z.ZodString;
112
112
  definition: z.ZodOptional<z.ZodString>;
@@ -321,10 +321,10 @@ declare const ConstructDescriptorSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
321
321
  }, z.core.$strict>, z.ZodObject<{
322
322
  kind: z.ZodLiteral<"anchor">;
323
323
  anchorType: z.ZodEnum<{
324
- comment: "comment";
325
324
  bookmark: "bookmark";
326
325
  footnote: "footnote";
327
326
  endnote: "endnote";
327
+ comment: "comment";
328
328
  }>;
329
329
  name: z.ZodString;
330
330
  definition: z.ZodOptional<z.ZodString>;
@@ -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-C4XiF8OW.cjs";
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 };
@@ -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-C4XiF8OW.js";
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,4 +1,4 @@
1
- import { n as ContentBlock } from "./content-DKx5QaRd.cjs";
1
+ import { n as ContentBlock } from "./content-jSzkMuZE.cjs";
2
2
  import { z } from "zod";
3
3
  //#region src/content-drawing.d.ts
4
4
  declare const ContentShapeSchema: z.ZodObject<{
@@ -1,4 +1,4 @@
1
- import { n as ContentBlock } from "./content-CBE4kBMo.js";
1
+ import { n as ContentBlock } from "./content-t8l-stjQ.js";
2
2
  import { z } from "zod";
3
3
  //#region src/content-drawing.d.ts
4
4
  declare const ContentShapeSchema: z.ZodObject<{
@@ -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-Dlo8cXJj.cjs";
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-DuvQQwuc.js";
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 };