document-content-model 7.6.0 → 7.6.1

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 (40) hide show
  1. package/README.md +1 -1
  2. package/dist/codec.d.cts +1 -1
  3. package/dist/codec.d.ts +1 -1
  4. package/dist/{construct-GVdTKrE7.d.cts → construct-C9cYkjnd.d.cts} +3 -3
  5. package/dist/{construct-GVdTKrE7.d.ts → construct-C9cYkjnd.d.ts} +3 -3
  6. package/dist/construct.d.cts +1 -1
  7. package/dist/construct.d.ts +1 -1
  8. package/dist/{content-BzkhrS6P.d.cts → content-JIKLIrji.d.cts} +36 -36
  9. package/dist/{content-BCOxY0Eb.d.ts → content-PPcQWl8e.d.ts} +36 -36
  10. package/dist/content.d.cts +1 -1
  11. package/dist/content.d.ts +1 -1
  12. package/dist/decompose.d.cts +2 -2
  13. package/dist/decompose.d.ts +2 -2
  14. package/dist/definitions.d.cts +4 -4
  15. package/dist/definitions.d.ts +4 -4
  16. package/dist/factor-styles.d.cts +1 -1
  17. package/dist/factor-styles.d.ts +1 -1
  18. package/dist/flatten.d.cts +1 -1
  19. package/dist/flatten.d.ts +1 -1
  20. package/dist/index.d.cts +4 -4
  21. package/dist/index.d.ts +4 -4
  22. package/dist/{package-node-C4mh1hLY.d.ts → package-node-B4CHgiVQ.d.ts} +9 -9
  23. package/dist/{package-node-RQMDBzwd.d.cts → package-node-duDMdOvH.d.cts} +9 -9
  24. package/dist/package-node.d.cts +1 -1
  25. package/dist/package-node.d.ts +1 -1
  26. package/dist/package.d.cts +6 -6
  27. package/dist/package.d.ts +6 -6
  28. package/dist/schema-io.cjs +2 -2
  29. package/dist/schema-io.d.cts +1 -1
  30. package/dist/schema-io.d.ts +1 -1
  31. package/dist/schema-io.js +2 -2
  32. package/dist/{style-D06NwxAJ.d.cts → style-BGMcYrD2.d.cts} +1 -1
  33. package/dist/{style-D06NwxAJ.d.ts → style-BGMcYrD2.d.ts} +1 -1
  34. package/dist/style.d.cts +1 -1
  35. package/dist/style.d.ts +1 -1
  36. package/dist/text-layout.d.cts +1 -1
  37. package/dist/text-layout.d.ts +1 -1
  38. package/package.json +1 -1
  39. package/schemas/content-document.schema.json +13 -13
  40. package/schemas/document-tree.schema.json +3 -3
@@ -1,5 +1,5 @@
1
- import { Pt as ContentSheetImage, g as ContentConstructEnd, i as ContentBlock, ln as ContentVector, v as ContentConstructStart, w as ContentEmbeddedObject, z as ContentFormula } from "./content-BCOxY0Eb.js";
2
- import { a as ConstructDescriptor } from "./construct-GVdTKrE7.js";
1
+ import { Pt as ContentSheetImage, g as ContentConstructEnd, i as ContentBlock, ln as ContentVector, v as ContentConstructStart, w as ContentEmbeddedObject, z as ContentFormula } from "./content-PPcQWl8e.js";
2
+ import { a as ConstructDescriptor } from "./construct-C9cYkjnd.js";
3
3
  import { z } from "zod";
4
4
  //#region src/package-node.d.ts
5
5
  declare const SectionDescriptorSchema: z.ZodObject<{
@@ -399,8 +399,8 @@ declare const SheetDescriptorSchema: z.ZodObject<{
399
399
  }, z.core.$strip>>;
400
400
  alignment: z.ZodOptional<z.ZodEnum<{
401
401
  left: "left";
402
- center: "center";
403
402
  right: "right";
403
+ center: "center";
404
404
  justify: "justify";
405
405
  }>>;
406
406
  verticalAlignment: z.ZodOptional<z.ZodEnum<{
@@ -464,10 +464,10 @@ declare const SheetDescriptorSchema: z.ZodObject<{
464
464
  endColumn: z.ZodNumber;
465
465
  }, z.core.$strip>>;
466
466
  type: z.ZodEnum<{
467
- decimal: "decimal";
468
- list: "list";
469
467
  date: "date";
470
468
  custom: "custom";
469
+ decimal: "decimal";
470
+ list: "list";
471
471
  time: "time";
472
472
  whole: "whole";
473
473
  textLength: "textLength";
@@ -1220,12 +1220,12 @@ declare const HeadingParagraphSchema: z.ZodObject<{
1220
1220
  descriptor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1221
1221
  kind: z.ZodLiteral<"contentControl">;
1222
1222
  controlType: z.ZodEnum<{
1223
- date: "date";
1224
1223
  richText: "richText";
1225
1224
  plainText: "plainText";
1226
1225
  checkbox: "checkbox";
1227
1226
  dropDown: "dropDown";
1228
1227
  comboBox: "comboBox";
1228
+ date: "date";
1229
1229
  picture: "picture";
1230
1230
  repeatingSection: "repeatingSection";
1231
1231
  button: "button";
@@ -1415,8 +1415,8 @@ declare const HeadingParagraphSchema: z.ZodObject<{
1415
1415
  preformatted: z.ZodOptional<z.ZodBoolean>;
1416
1416
  alignment: z.ZodOptional<z.ZodEnum<{
1417
1417
  left: "left";
1418
- center: "center";
1419
1418
  right: "right";
1419
+ center: "center";
1420
1420
  justify: "justify";
1421
1421
  }>>;
1422
1422
  list: z.ZodOptional<z.ZodObject<{
@@ -1591,12 +1591,12 @@ declare const ListParagraphSchema: z.ZodObject<{
1591
1591
  descriptor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1592
1592
  kind: z.ZodLiteral<"contentControl">;
1593
1593
  controlType: z.ZodEnum<{
1594
- date: "date";
1595
1594
  richText: "richText";
1596
1595
  plainText: "plainText";
1597
1596
  checkbox: "checkbox";
1598
1597
  dropDown: "dropDown";
1599
1598
  comboBox: "comboBox";
1599
+ date: "date";
1600
1600
  picture: "picture";
1601
1601
  repeatingSection: "repeatingSection";
1602
1602
  button: "button";
@@ -1787,8 +1787,8 @@ declare const ListParagraphSchema: z.ZodObject<{
1787
1787
  headingLevel: z.ZodOptional<z.ZodNumber>;
1788
1788
  alignment: z.ZodOptional<z.ZodEnum<{
1789
1789
  left: "left";
1790
- center: "center";
1791
1790
  right: "right";
1791
+ center: "center";
1792
1792
  justify: "justify";
1793
1793
  }>>;
1794
1794
  spacingBeforePt: z.ZodOptional<z.ZodNumber>;
@@ -1,5 +1,5 @@
1
- import { Pt as ContentSheetImage, g as ContentConstructEnd, i as ContentBlock, ln as ContentVector, v as ContentConstructStart, w as ContentEmbeddedObject, z as ContentFormula } from "./content-BzkhrS6P.cjs";
2
- import { a as ConstructDescriptor } from "./construct-GVdTKrE7.cjs";
1
+ import { Pt as ContentSheetImage, g as ContentConstructEnd, i as ContentBlock, ln as ContentVector, v as ContentConstructStart, w as ContentEmbeddedObject, z as ContentFormula } from "./content-JIKLIrji.cjs";
2
+ import { a as ConstructDescriptor } from "./construct-C9cYkjnd.cjs";
3
3
  import { z } from "zod";
4
4
  //#region src/package-node.d.ts
5
5
  declare const SectionDescriptorSchema: z.ZodObject<{
@@ -399,8 +399,8 @@ declare const SheetDescriptorSchema: z.ZodObject<{
399
399
  }, z.core.$strip>>;
400
400
  alignment: z.ZodOptional<z.ZodEnum<{
401
401
  left: "left";
402
- center: "center";
403
402
  right: "right";
403
+ center: "center";
404
404
  justify: "justify";
405
405
  }>>;
406
406
  verticalAlignment: z.ZodOptional<z.ZodEnum<{
@@ -464,10 +464,10 @@ declare const SheetDescriptorSchema: z.ZodObject<{
464
464
  endColumn: z.ZodNumber;
465
465
  }, z.core.$strip>>;
466
466
  type: z.ZodEnum<{
467
- decimal: "decimal";
468
- list: "list";
469
467
  date: "date";
470
468
  custom: "custom";
469
+ decimal: "decimal";
470
+ list: "list";
471
471
  time: "time";
472
472
  whole: "whole";
473
473
  textLength: "textLength";
@@ -1220,12 +1220,12 @@ declare const HeadingParagraphSchema: z.ZodObject<{
1220
1220
  descriptor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1221
1221
  kind: z.ZodLiteral<"contentControl">;
1222
1222
  controlType: z.ZodEnum<{
1223
- date: "date";
1224
1223
  richText: "richText";
1225
1224
  plainText: "plainText";
1226
1225
  checkbox: "checkbox";
1227
1226
  dropDown: "dropDown";
1228
1227
  comboBox: "comboBox";
1228
+ date: "date";
1229
1229
  picture: "picture";
1230
1230
  repeatingSection: "repeatingSection";
1231
1231
  button: "button";
@@ -1415,8 +1415,8 @@ declare const HeadingParagraphSchema: z.ZodObject<{
1415
1415
  preformatted: z.ZodOptional<z.ZodBoolean>;
1416
1416
  alignment: z.ZodOptional<z.ZodEnum<{
1417
1417
  left: "left";
1418
- center: "center";
1419
1418
  right: "right";
1419
+ center: "center";
1420
1420
  justify: "justify";
1421
1421
  }>>;
1422
1422
  list: z.ZodOptional<z.ZodObject<{
@@ -1591,12 +1591,12 @@ declare const ListParagraphSchema: z.ZodObject<{
1591
1591
  descriptor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1592
1592
  kind: z.ZodLiteral<"contentControl">;
1593
1593
  controlType: z.ZodEnum<{
1594
- date: "date";
1595
1594
  richText: "richText";
1596
1595
  plainText: "plainText";
1597
1596
  checkbox: "checkbox";
1598
1597
  dropDown: "dropDown";
1599
1598
  comboBox: "comboBox";
1599
+ date: "date";
1600
1600
  picture: "picture";
1601
1601
  repeatingSection: "repeatingSection";
1602
1602
  button: "button";
@@ -1787,8 +1787,8 @@ declare const ListParagraphSchema: z.ZodObject<{
1787
1787
  headingLevel: z.ZodOptional<z.ZodNumber>;
1788
1788
  alignment: z.ZodOptional<z.ZodEnum<{
1789
1789
  left: "left";
1790
- center: "center";
1791
1790
  right: "right";
1791
+ center: "center";
1792
1792
  justify: "justify";
1793
1793
  }>>;
1794
1794
  spacingBeforePt: z.ZodOptional<z.ZodNumber>;
@@ -1,2 +1,2 @@
1
- import { $ as isSheetGroupNode, A as SheetDescriptor, B as TreeGroup, C as ShapeConstructGroupNode, D as ShapeGroupNode, E as ShapeDescriptorSchema, F as SlideDescriptorSchema, G as TreeNodeSchema, H as TreeLeaf, I as SlideGroupNode, J as isListGroupNode, K as isDrawPageGroupNode, L as SlideGroupSchema, M as SheetGroupNode, N as SheetGroupSchema, O as ShapeGroupSchema, P as SlideDescriptor, Q as isShapeGroupNode, R as TreeBlockLeaf, S as ShapeChild, T as ShapeDescriptor, U as TreeLeafSchema, V as TreeGroupSchema, W as TreeNode, X as isSectionGroupNode, Y as isSectionConstructGroupNode, Z as isShapeConstructGroupNode, _ as SectionConstructGroupSchema, a as DrawPageGroupSchema, b as SectionGroupNode, c as HeadingParagraph, d as ListGroupNode, et as isSlideGroupNode, f as ListGroupSchema, g as SectionConstructGroupNode, h as SectionChild, i as DrawPageGroupNode, it as isTreeNode, j as SheetDescriptorSchema, k as SheetChild, l as HeadingParagraphSchema, m as ListParagraphSchema, n as DrawPageDescriptor, nt as isTreeGroup, o as HeadingGroupNode, p as ListParagraph, q as isHeadingGroupNode, r as DrawPageDescriptorSchema, rt as isTreeLeaf, s as HeadingGroupSchema, t as DrawPageChild, tt as isTreeBlockLeaf, u as ListChild, v as SectionDescriptor, w as ShapeConstructGroupSchema, x as SectionGroupSchema, y as SectionDescriptorSchema, z as TreeBlockLeafSchema } from "./package-node-RQMDBzwd.cjs";
1
+ import { $ as isSheetGroupNode, A as SheetDescriptor, B as TreeGroup, C as ShapeConstructGroupNode, D as ShapeGroupNode, E as ShapeDescriptorSchema, F as SlideDescriptorSchema, G as TreeNodeSchema, H as TreeLeaf, I as SlideGroupNode, J as isListGroupNode, K as isDrawPageGroupNode, L as SlideGroupSchema, M as SheetGroupNode, N as SheetGroupSchema, O as ShapeGroupSchema, P as SlideDescriptor, Q as isShapeGroupNode, R as TreeBlockLeaf, S as ShapeChild, T as ShapeDescriptor, U as TreeLeafSchema, V as TreeGroupSchema, W as TreeNode, X as isSectionGroupNode, Y as isSectionConstructGroupNode, Z as isShapeConstructGroupNode, _ as SectionConstructGroupSchema, a as DrawPageGroupSchema, b as SectionGroupNode, c as HeadingParagraph, d as ListGroupNode, et as isSlideGroupNode, f as ListGroupSchema, g as SectionConstructGroupNode, h as SectionChild, i as DrawPageGroupNode, it as isTreeNode, j as SheetDescriptorSchema, k as SheetChild, l as HeadingParagraphSchema, m as ListParagraphSchema, n as DrawPageDescriptor, nt as isTreeGroup, o as HeadingGroupNode, p as ListParagraph, q as isHeadingGroupNode, r as DrawPageDescriptorSchema, rt as isTreeLeaf, s as HeadingGroupSchema, t as DrawPageChild, tt as isTreeBlockLeaf, u as ListChild, v as SectionDescriptor, w as ShapeConstructGroupSchema, x as SectionGroupSchema, y as SectionDescriptorSchema, z as TreeBlockLeafSchema } from "./package-node-duDMdOvH.cjs";
2
2
  export { DrawPageChild, DrawPageDescriptor, DrawPageDescriptorSchema, DrawPageGroupNode, DrawPageGroupSchema, HeadingGroupNode, HeadingGroupSchema, HeadingParagraph, HeadingParagraphSchema, ListChild, ListGroupNode, ListGroupSchema, ListParagraph, ListParagraphSchema, SectionChild, SectionConstructGroupNode, SectionConstructGroupSchema, SectionDescriptor, SectionDescriptorSchema, SectionGroupNode, SectionGroupSchema, ShapeChild, ShapeConstructGroupNode, ShapeConstructGroupSchema, ShapeDescriptor, ShapeDescriptorSchema, ShapeGroupNode, ShapeGroupSchema, SheetChild, SheetDescriptor, SheetDescriptorSchema, SheetGroupNode, SheetGroupSchema, SlideDescriptor, SlideDescriptorSchema, SlideGroupNode, SlideGroupSchema, TreeBlockLeaf, TreeBlockLeafSchema, TreeGroup, TreeGroupSchema, TreeLeaf, TreeLeafSchema, TreeNode, TreeNodeSchema, isDrawPageGroupNode, isHeadingGroupNode, isListGroupNode, isSectionConstructGroupNode, isSectionGroupNode, isShapeConstructGroupNode, isShapeGroupNode, isSheetGroupNode, isSlideGroupNode, isTreeBlockLeaf, isTreeGroup, isTreeLeaf, isTreeNode };
@@ -1,2 +1,2 @@
1
- import { $ as isSheetGroupNode, A as SheetDescriptor, B as TreeGroup, C as ShapeConstructGroupNode, D as ShapeGroupNode, E as ShapeDescriptorSchema, F as SlideDescriptorSchema, G as TreeNodeSchema, H as TreeLeaf, I as SlideGroupNode, J as isListGroupNode, K as isDrawPageGroupNode, L as SlideGroupSchema, M as SheetGroupNode, N as SheetGroupSchema, O as ShapeGroupSchema, P as SlideDescriptor, Q as isShapeGroupNode, R as TreeBlockLeaf, S as ShapeChild, T as ShapeDescriptor, U as TreeLeafSchema, V as TreeGroupSchema, W as TreeNode, X as isSectionGroupNode, Y as isSectionConstructGroupNode, Z as isShapeConstructGroupNode, _ as SectionConstructGroupSchema, a as DrawPageGroupSchema, b as SectionGroupNode, c as HeadingParagraph, d as ListGroupNode, et as isSlideGroupNode, f as ListGroupSchema, g as SectionConstructGroupNode, h as SectionChild, i as DrawPageGroupNode, it as isTreeNode, j as SheetDescriptorSchema, k as SheetChild, l as HeadingParagraphSchema, m as ListParagraphSchema, n as DrawPageDescriptor, nt as isTreeGroup, o as HeadingGroupNode, p as ListParagraph, q as isHeadingGroupNode, r as DrawPageDescriptorSchema, rt as isTreeLeaf, s as HeadingGroupSchema, t as DrawPageChild, tt as isTreeBlockLeaf, u as ListChild, v as SectionDescriptor, w as ShapeConstructGroupSchema, x as SectionGroupSchema, y as SectionDescriptorSchema, z as TreeBlockLeafSchema } from "./package-node-C4mh1hLY.js";
1
+ import { $ as isSheetGroupNode, A as SheetDescriptor, B as TreeGroup, C as ShapeConstructGroupNode, D as ShapeGroupNode, E as ShapeDescriptorSchema, F as SlideDescriptorSchema, G as TreeNodeSchema, H as TreeLeaf, I as SlideGroupNode, J as isListGroupNode, K as isDrawPageGroupNode, L as SlideGroupSchema, M as SheetGroupNode, N as SheetGroupSchema, O as ShapeGroupSchema, P as SlideDescriptor, Q as isShapeGroupNode, R as TreeBlockLeaf, S as ShapeChild, T as ShapeDescriptor, U as TreeLeafSchema, V as TreeGroupSchema, W as TreeNode, X as isSectionGroupNode, Y as isSectionConstructGroupNode, Z as isShapeConstructGroupNode, _ as SectionConstructGroupSchema, a as DrawPageGroupSchema, b as SectionGroupNode, c as HeadingParagraph, d as ListGroupNode, et as isSlideGroupNode, f as ListGroupSchema, g as SectionConstructGroupNode, h as SectionChild, i as DrawPageGroupNode, it as isTreeNode, j as SheetDescriptorSchema, k as SheetChild, l as HeadingParagraphSchema, m as ListParagraphSchema, n as DrawPageDescriptor, nt as isTreeGroup, o as HeadingGroupNode, p as ListParagraph, q as isHeadingGroupNode, r as DrawPageDescriptorSchema, rt as isTreeLeaf, s as HeadingGroupSchema, t as DrawPageChild, tt as isTreeBlockLeaf, u as ListChild, v as SectionDescriptor, w as ShapeConstructGroupSchema, x as SectionGroupSchema, y as SectionDescriptorSchema, z as TreeBlockLeafSchema } from "./package-node-B4CHgiVQ.js";
2
2
  export { DrawPageChild, DrawPageDescriptor, DrawPageDescriptorSchema, DrawPageGroupNode, DrawPageGroupSchema, HeadingGroupNode, HeadingGroupSchema, HeadingParagraph, HeadingParagraphSchema, ListChild, ListGroupNode, ListGroupSchema, ListParagraph, ListParagraphSchema, SectionChild, SectionConstructGroupNode, SectionConstructGroupSchema, SectionDescriptor, SectionDescriptorSchema, SectionGroupNode, SectionGroupSchema, ShapeChild, ShapeConstructGroupNode, ShapeConstructGroupSchema, ShapeDescriptor, ShapeDescriptorSchema, ShapeGroupNode, ShapeGroupSchema, SheetChild, SheetDescriptor, SheetDescriptorSchema, SheetGroupNode, SheetGroupSchema, SlideDescriptor, SlideDescriptorSchema, SlideGroupNode, SlideGroupSchema, TreeBlockLeaf, TreeBlockLeafSchema, TreeGroup, TreeGroupSchema, TreeLeaf, TreeLeafSchema, TreeNode, TreeNodeSchema, isDrawPageGroupNode, isHeadingGroupNode, isListGroupNode, isSectionConstructGroupNode, isSectionGroupNode, isShapeConstructGroupNode, isShapeGroupNode, isSheetGroupNode, isSlideGroupNode, isTreeBlockLeaf, isTreeGroup, isTreeLeaf, isTreeNode };
@@ -1,6 +1,6 @@
1
1
  import { d as MathMlNode } from "./mathml-Czqc1mdZ.cjs";
2
2
  import { p as MathExpression } from "./math-BScHxedi.cjs";
3
- import { I as SlideGroupNode, M as SheetGroupNode, b as SectionGroupNode, i as DrawPageGroupNode } from "./package-node-RQMDBzwd.cjs";
3
+ import { I as SlideGroupNode, M as SheetGroupNode, b as SectionGroupNode, i as DrawPageGroupNode } from "./package-node-duDMdOvH.cjs";
4
4
  import { z } from "zod";
5
5
  //#region src/package.d.ts
6
6
  declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -13,8 +13,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
13
13
  paragraph: z.ZodOptional<z.ZodObject<{
14
14
  alignment: z.ZodOptional<z.ZodEnum<{
15
15
  left: "left";
16
- center: "center";
17
16
  right: "right";
17
+ center: "center";
18
18
  justify: "justify";
19
19
  }>>;
20
20
  list: z.ZodOptional<z.ZodObject<{
@@ -162,8 +162,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
162
162
  paragraph: z.ZodOptional<z.ZodObject<{
163
163
  alignment: z.ZodOptional<z.ZodEnum<{
164
164
  left: "left";
165
- center: "center";
166
165
  right: "right";
166
+ center: "center";
167
167
  justify: "justify";
168
168
  }>>;
169
169
  list: z.ZodOptional<z.ZodObject<{
@@ -311,8 +311,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
311
311
  paragraph: z.ZodOptional<z.ZodObject<{
312
312
  alignment: z.ZodOptional<z.ZodEnum<{
313
313
  left: "left";
314
- center: "center";
315
314
  right: "right";
315
+ center: "center";
316
316
  justify: "justify";
317
317
  }>>;
318
318
  list: z.ZodOptional<z.ZodObject<{
@@ -460,8 +460,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
460
460
  paragraph: z.ZodOptional<z.ZodObject<{
461
461
  alignment: z.ZodOptional<z.ZodEnum<{
462
462
  left: "left";
463
- center: "center";
464
463
  right: "right";
464
+ center: "center";
465
465
  justify: "justify";
466
466
  }>>;
467
467
  list: z.ZodOptional<z.ZodObject<{
@@ -641,8 +641,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
641
641
  paragraph: z.ZodOptional<z.ZodObject<{
642
642
  alignment: z.ZodOptional<z.ZodEnum<{
643
643
  left: "left";
644
- center: "center";
645
644
  right: "right";
645
+ center: "center";
646
646
  justify: "justify";
647
647
  }>>;
648
648
  list: z.ZodOptional<z.ZodObject<{
package/dist/package.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { d as MathMlNode } from "./mathml-Czqc1mdZ.js";
2
2
  import { p as MathExpression } from "./math-BScHxedi.js";
3
- import { I as SlideGroupNode, M as SheetGroupNode, b as SectionGroupNode, i as DrawPageGroupNode } from "./package-node-C4mh1hLY.js";
3
+ import { I as SlideGroupNode, M as SheetGroupNode, b as SectionGroupNode, i as DrawPageGroupNode } from "./package-node-B4CHgiVQ.js";
4
4
  import { z } from "zod";
5
5
  //#region src/package.d.ts
6
6
  declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -13,8 +13,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
13
13
  paragraph: z.ZodOptional<z.ZodObject<{
14
14
  alignment: z.ZodOptional<z.ZodEnum<{
15
15
  left: "left";
16
- center: "center";
17
16
  right: "right";
17
+ center: "center";
18
18
  justify: "justify";
19
19
  }>>;
20
20
  list: z.ZodOptional<z.ZodObject<{
@@ -162,8 +162,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
162
162
  paragraph: z.ZodOptional<z.ZodObject<{
163
163
  alignment: z.ZodOptional<z.ZodEnum<{
164
164
  left: "left";
165
- center: "center";
166
165
  right: "right";
166
+ center: "center";
167
167
  justify: "justify";
168
168
  }>>;
169
169
  list: z.ZodOptional<z.ZodObject<{
@@ -311,8 +311,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
311
311
  paragraph: z.ZodOptional<z.ZodObject<{
312
312
  alignment: z.ZodOptional<z.ZodEnum<{
313
313
  left: "left";
314
- center: "center";
315
314
  right: "right";
315
+ center: "center";
316
316
  justify: "justify";
317
317
  }>>;
318
318
  list: z.ZodOptional<z.ZodObject<{
@@ -460,8 +460,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
460
460
  paragraph: z.ZodOptional<z.ZodObject<{
461
461
  alignment: z.ZodOptional<z.ZodEnum<{
462
462
  left: "left";
463
- center: "center";
464
463
  right: "right";
464
+ center: "center";
465
465
  justify: "justify";
466
466
  }>>;
467
467
  list: z.ZodOptional<z.ZodObject<{
@@ -641,8 +641,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
641
641
  paragraph: z.ZodOptional<z.ZodObject<{
642
642
  alignment: z.ZodOptional<z.ZodEnum<{
643
643
  left: "left";
644
- center: "center";
645
644
  right: "right";
645
+ center: "center";
646
646
  justify: "justify";
647
647
  }>>;
648
648
  list: z.ZodOptional<z.ZodObject<{
@@ -7,7 +7,7 @@ const SCHEMA_FILE_NAMES = {
7
7
  ContentDocument: "content-document.schema.json"
8
8
  };
9
9
  function schemaUriFor(kind) {
10
- return `https://cdn.jsdelivr.net/npm/document-schema.js@7.6.0/schemas/${SCHEMA_FILE_NAMES[kind]}`;
10
+ return `https://cdn.jsdelivr.net/npm/document-schema.js@7.6.1/schemas/${SCHEMA_FILE_NAMES[kind]}`;
11
11
  }
12
12
  const SCHEMA_URI_PATTERN = /^https:\/\/cdn\.jsdelivr\.net\/npm\/document-schema\.js@([^/]+)\/schemas\/(document-tree|document-package|content-document|layout-document)\.schema\.json$/;
13
13
  function parseSchemaUri(uri) {
@@ -102,7 +102,7 @@ function documentFromJson(value) {
102
102
  if (parts.stem === "document-package") throw new DocumentPackageRenamedError(value.$schema);
103
103
  const kind = kindForFileStem(parts.stem);
104
104
  if (kind === void 0) throw new UnrecognizedDocumentSchemaError(value.$schema);
105
- if (majorVersionOf(parts.version) !== majorVersionOf("7.6.0")) throw new SchemaVersionMismatchError(value.$schema, parts.version, "7.6.0");
105
+ if (majorVersionOf(parts.version) !== majorVersionOf("7.6.1")) throw new SchemaVersionMismatchError(value.$schema, parts.version, "7.6.1");
106
106
  switch (kind) {
107
107
  case "DocumentTree": return {
108
108
  kind,
@@ -1,4 +1,4 @@
1
- import { b as ContentDocument } from "./content-BzkhrS6P.cjs";
1
+ import { b as ContentDocument } from "./content-JIKLIrji.cjs";
2
2
  import { DocumentTree } from "./package.cjs";
3
3
  //#region src/schema-io.d.ts
4
4
  type DocumentSchemaKind = "DocumentTree" | "ContentDocument";
@@ -1,4 +1,4 @@
1
- import { b as ContentDocument } from "./content-BCOxY0Eb.js";
1
+ import { b as ContentDocument } from "./content-PPcQWl8e.js";
2
2
  import { DocumentTree } from "./package.js";
3
3
  //#region src/schema-io.d.ts
4
4
  type DocumentSchemaKind = "DocumentTree" | "ContentDocument";
package/dist/schema-io.js CHANGED
@@ -6,7 +6,7 @@ const SCHEMA_FILE_NAMES = {
6
6
  ContentDocument: "content-document.schema.json"
7
7
  };
8
8
  function schemaUriFor(kind) {
9
- return `https://cdn.jsdelivr.net/npm/document-schema.js@7.6.0/schemas/${SCHEMA_FILE_NAMES[kind]}`;
9
+ return `https://cdn.jsdelivr.net/npm/document-schema.js@7.6.1/schemas/${SCHEMA_FILE_NAMES[kind]}`;
10
10
  }
11
11
  const SCHEMA_URI_PATTERN = /^https:\/\/cdn\.jsdelivr\.net\/npm\/document-schema\.js@([^/]+)\/schemas\/(document-tree|document-package|content-document|layout-document)\.schema\.json$/;
12
12
  function parseSchemaUri(uri) {
@@ -101,7 +101,7 @@ function documentFromJson(value) {
101
101
  if (parts.stem === "document-package") throw new DocumentPackageRenamedError(value.$schema);
102
102
  const kind = kindForFileStem(parts.stem);
103
103
  if (kind === void 0) throw new UnrecognizedDocumentSchemaError(value.$schema);
104
- if (majorVersionOf(parts.version) !== majorVersionOf("7.6.0")) throw new SchemaVersionMismatchError(value.$schema, parts.version, "7.6.0");
104
+ if (majorVersionOf(parts.version) !== majorVersionOf("7.6.1")) throw new SchemaVersionMismatchError(value.$schema, parts.version, "7.6.1");
105
105
  switch (kind) {
106
106
  case "DocumentTree": return {
107
107
  kind,
@@ -2,8 +2,8 @@ import { z } from "zod";
2
2
  //#region src/style.d.ts
3
3
  declare const AlignmentSchema: z.ZodEnum<{
4
4
  left: "left";
5
- center: "center";
6
5
  right: "right";
6
+ center: "center";
7
7
  justify: "justify";
8
8
  }>;
9
9
  type Alignment = z.infer<typeof AlignmentSchema>;
@@ -2,8 +2,8 @@ import { z } from "zod";
2
2
  //#region src/style.d.ts
3
3
  declare const AlignmentSchema: z.ZodEnum<{
4
4
  left: "left";
5
- center: "center";
6
5
  right: "right";
6
+ center: "center";
7
7
  justify: "justify";
8
8
  }>;
9
9
  type Alignment = z.infer<typeof AlignmentSchema>;
package/dist/style.d.cts CHANGED
@@ -1,2 +1,2 @@
1
- import { a as LayoutFontSchema, i as LayoutFont, n as AlignmentSchema, o as TextDirection, r as DEFAULT_LAYOUT_FONT, s as TextDirectionSchema, t as Alignment } from "./style-D06NwxAJ.cjs";
1
+ import { a as LayoutFontSchema, i as LayoutFont, n as AlignmentSchema, o as TextDirection, r as DEFAULT_LAYOUT_FONT, s as TextDirectionSchema, t as Alignment } from "./style-BGMcYrD2.cjs";
2
2
  export { Alignment, AlignmentSchema, DEFAULT_LAYOUT_FONT, LayoutFont, LayoutFontSchema, TextDirection, TextDirectionSchema };
package/dist/style.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { a as LayoutFontSchema, i as LayoutFont, n as AlignmentSchema, o as TextDirection, r as DEFAULT_LAYOUT_FONT, s as TextDirectionSchema, t as Alignment } from "./style-D06NwxAJ.js";
1
+ import { a as LayoutFontSchema, i as LayoutFont, n as AlignmentSchema, o as TextDirection, r as DEFAULT_LAYOUT_FONT, s as TextDirectionSchema, t as Alignment } from "./style-BGMcYrD2.js";
2
2
  export { Alignment, AlignmentSchema, DEFAULT_LAYOUT_FONT, LayoutFont, LayoutFontSchema, TextDirection, TextDirectionSchema };
@@ -1,5 +1,5 @@
1
1
  import { n as Color } from "./color-AELCDH_b.cjs";
2
- import { i as LayoutFont } from "./style-D06NwxAJ.cjs";
2
+ import { i as LayoutFont } from "./style-BGMcYrD2.cjs";
3
3
  //#region src/text-layout.d.ts
4
4
  interface UnderlineMetrics {
5
5
  readonly offsetPt: number;
@@ -1,5 +1,5 @@
1
1
  import { n as Color } from "./color-AELCDH_b.js";
2
- import { i as LayoutFont } from "./style-D06NwxAJ.js";
2
+ import { i as LayoutFont } from "./style-BGMcYrD2.js";
3
3
  //#region src/text-layout.d.ts
4
4
  interface UnderlineMetrics {
5
5
  readonly offsetPt: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "document-content-model",
3
- "version": "7.6.0",
3
+ "version": "7.6.1",
4
4
  "description": "The canonical, format-agnostic content and document-tree schemas shared by ooxml.js, odf.js, documents.js, pdf-codec, and markdown-codec, plus the structural transform between them -- no format-specific or I/O behaviour.",
5
5
  "type": "module",
6
6
  "repository": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://cdn.jsdelivr.net/npm/document-schema.js@7.6.0/schemas/content-document.schema.json",
3
+ "$id": "https://cdn.jsdelivr.net/npm/document-schema.js@7.6.1/schemas/content-document.schema.json",
4
4
  "oneOf": [
5
5
  {
6
6
  "type": "object",
@@ -133,7 +133,7 @@
133
133
  "blocks": {
134
134
  "type": "array",
135
135
  "items": {
136
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.6.0/schemas/undefined#/$defs/schema2"
136
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.6.1/schemas/undefined#/$defs/schema2"
137
137
  }
138
138
  },
139
139
  "breakType": {
@@ -151,19 +151,19 @@
151
151
  "default": {
152
152
  "type": "array",
153
153
  "items": {
154
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.6.0/schemas/undefined#/$defs/schema2"
154
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.6.1/schemas/undefined#/$defs/schema2"
155
155
  }
156
156
  },
157
157
  "even": {
158
158
  "type": "array",
159
159
  "items": {
160
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.6.0/schemas/undefined#/$defs/schema2"
160
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.6.1/schemas/undefined#/$defs/schema2"
161
161
  }
162
162
  },
163
163
  "first": {
164
164
  "type": "array",
165
165
  "items": {
166
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.6.0/schemas/undefined#/$defs/schema2"
166
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.6.1/schemas/undefined#/$defs/schema2"
167
167
  }
168
168
  }
169
169
  },
@@ -175,19 +175,19 @@
175
175
  "default": {
176
176
  "type": "array",
177
177
  "items": {
178
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.6.0/schemas/undefined#/$defs/schema2"
178
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.6.1/schemas/undefined#/$defs/schema2"
179
179
  }
180
180
  },
181
181
  "even": {
182
182
  "type": "array",
183
183
  "items": {
184
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.6.0/schemas/undefined#/$defs/schema2"
184
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.6.1/schemas/undefined#/$defs/schema2"
185
185
  }
186
186
  },
187
187
  "first": {
188
188
  "type": "array",
189
189
  "items": {
190
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.6.0/schemas/undefined#/$defs/schema2"
190
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.6.1/schemas/undefined#/$defs/schema2"
191
191
  }
192
192
  }
193
193
  },
@@ -481,7 +481,7 @@
481
481
  "blocks": {
482
482
  "type": "array",
483
483
  "items": {
484
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.6.0/schemas/undefined#/$defs/schema2"
484
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.6.1/schemas/undefined#/$defs/schema2"
485
485
  }
486
486
  }
487
487
  },
@@ -2155,7 +2155,7 @@
2155
2155
  ]
2156
2156
  },
2157
2157
  "document": {
2158
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.6.0/schemas/content-document.schema.json"
2158
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.6.1/schemas/content-document.schema.json"
2159
2159
  },
2160
2160
  "frame": {
2161
2161
  "type": "object",
@@ -4295,7 +4295,7 @@
4295
4295
  "blocks": {
4296
4296
  "type": "array",
4297
4297
  "items": {
4298
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.6.0/schemas/undefined#/$defs/schema2"
4298
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.6.1/schemas/undefined#/$defs/schema2"
4299
4299
  }
4300
4300
  }
4301
4301
  },
@@ -6836,7 +6836,7 @@
6836
6836
  ]
6837
6837
  },
6838
6838
  "document": {
6839
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.6.0/schemas/content-document.schema.json"
6839
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.6.1/schemas/content-document.schema.json"
6840
6840
  },
6841
6841
  "frame": {
6842
6842
  "$ref": "#/$defs/Box"
@@ -9031,7 +9031,7 @@
9031
9031
  ]
9032
9032
  },
9033
9033
  "document": {
9034
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.6.0/schemas/content-document.schema.json"
9034
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.6.1/schemas/content-document.schema.json"
9035
9035
  },
9036
9036
  "frame": {
9037
9037
  "$ref": "#/$defs/Box"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://cdn.jsdelivr.net/npm/document-schema.js@7.6.0/schemas/document-tree.schema.json",
3
+ "$id": "https://cdn.jsdelivr.net/npm/document-schema.js@7.6.1/schemas/document-tree.schema.json",
4
4
  "oneOf": [
5
5
  {
6
6
  "type": "object",
@@ -1799,7 +1799,7 @@
1799
1799
  ]
1800
1800
  },
1801
1801
  "document": {
1802
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.6.0/schemas/content-document.schema.json"
1802
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.6.1/schemas/content-document.schema.json"
1803
1803
  },
1804
1804
  "frame": {
1805
1805
  "$ref": "#/$defs/Box"
@@ -3994,7 +3994,7 @@
3994
3994
  ]
3995
3995
  },
3996
3996
  "document": {
3997
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.6.0/schemas/content-document.schema.json"
3997
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.6.1/schemas/content-document.schema.json"
3998
3998
  },
3999
3999
  "frame": {
4000
4000
  "$ref": "#/$defs/Box"