document-content-model 7.11.2 → 7.11.4

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 (41) hide show
  1. package/dist/codec.d.cts +1 -1
  2. package/dist/codec.d.ts +1 -1
  3. package/dist/{construct-C4XiF8OW.d.cts → construct-C9cYkjnd.d.cts} +6 -6
  4. package/dist/{construct-C4XiF8OW.d.ts → construct-C9cYkjnd.d.ts} +6 -6
  5. package/dist/construct.d.cts +1 -1
  6. package/dist/construct.d.ts +1 -1
  7. package/dist/{content-D-j5QBCq.d.ts → content-GHj_31uQ.d.ts} +52 -52
  8. package/dist/{content-BrxGwe8j.d.cts → content-zNNPbwYY.d.cts} +52 -52
  9. package/dist/content.d.cts +1 -1
  10. package/dist/content.d.ts +1 -1
  11. package/dist/decompose.d.cts +2 -2
  12. package/dist/decompose.d.ts +2 -2
  13. package/dist/definitions.d.cts +4 -4
  14. package/dist/definitions.d.ts +4 -4
  15. package/dist/factor-styles.cjs +12 -54
  16. package/dist/factor-styles.d.cts +1 -1
  17. package/dist/factor-styles.d.ts +1 -1
  18. package/dist/factor-styles.js +12 -54
  19. package/dist/flatten.d.cts +1 -1
  20. package/dist/flatten.d.ts +1 -1
  21. package/dist/index.d.cts +4 -4
  22. package/dist/index.d.ts +4 -4
  23. package/dist/{package-node-CHX4Z0RM.d.ts → package-node-CIZQ2_C1.d.ts} +24 -24
  24. package/dist/{package-node-DH0p0dyl.d.cts → package-node-DaPwHzsg.d.cts} +24 -24
  25. package/dist/package-node.d.cts +1 -1
  26. package/dist/package-node.d.ts +1 -1
  27. package/dist/package.d.cts +6 -6
  28. package/dist/package.d.ts +6 -6
  29. package/dist/schema-io.cjs +2 -2
  30. package/dist/schema-io.d.cts +1 -1
  31. package/dist/schema-io.d.ts +1 -1
  32. package/dist/schema-io.js +2 -2
  33. package/dist/{style-D06NwxAJ.d.cts → style-BGMcYrD2.d.cts} +1 -1
  34. package/dist/{style-D06NwxAJ.d.ts → style-BGMcYrD2.d.ts} +1 -1
  35. package/dist/style.d.cts +1 -1
  36. package/dist/style.d.ts +1 -1
  37. package/dist/text-layout.d.cts +1 -1
  38. package/dist/text-layout.d.ts +1 -1
  39. package/package.json +1 -1
  40. package/schemas/content-document.schema.json +16 -16
  41. package/schemas/document-tree.schema.json +3 -3
@@ -1,5 +1,5 @@
1
- import { D as ContentEmbeddedObject, Gt as ContentSheetImage, Sn as ContentVector, W as ContentFormula, _ as ContentConstructEnd, a as ContentBlock, y as ContentConstructStart } from "./content-BrxGwe8j.cjs";
2
- import { a as ConstructDescriptor } from "./construct-C4XiF8OW.cjs";
1
+ import { D as ContentEmbeddedObject, Gt as ContentSheetImage, Sn as ContentVector, W as ContentFormula, _ as ContentConstructEnd, a as ContentBlock, y as ContentConstructStart } from "./content-zNNPbwYY.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<{
@@ -141,7 +141,6 @@ declare const SlideDescriptorSchema: z.ZodObject<{
141
141
  }, z.core.$strict>;
142
142
  type SlideDescriptor = z.infer<typeof SlideDescriptorSchema>;
143
143
  declare const SheetDescriptorSchema: z.ZodObject<{
144
- name: z.ZodString;
145
144
  source: z.ZodOptional<z.ZodObject<{
146
145
  format: z.ZodEnum<{
147
146
  docx: "docx";
@@ -162,6 +161,7 @@ declare const SheetDescriptorSchema: z.ZodObject<{
162
161
  }>;
163
162
  xml: z.ZodString;
164
163
  }, z.core.$strict>>;
164
+ name: z.ZodString;
165
165
  origin: z.ZodOptional<z.ZodEnum<{
166
166
  chart: "chart";
167
167
  diagram: "diagram";
@@ -552,8 +552,8 @@ declare const SheetDescriptorSchema: z.ZodObject<{
552
552
  }, z.core.$strip>>;
553
553
  alignment: z.ZodOptional<z.ZodEnum<{
554
554
  left: "left";
555
- center: "center";
556
555
  right: "right";
556
+ center: "center";
557
557
  justify: "justify";
558
558
  }>>;
559
559
  verticalAlignment: z.ZodOptional<z.ZodEnum<{
@@ -619,9 +619,9 @@ declare const SheetDescriptorSchema: z.ZodObject<{
619
619
  type: z.ZodEnum<{
620
620
  date: "date";
621
621
  custom: "custom";
622
- time: "time";
623
622
  decimal: "decimal";
624
623
  list: "list";
624
+ time: "time";
625
625
  whole: "whole";
626
626
  textLength: "textLength";
627
627
  }>;
@@ -1093,8 +1093,8 @@ declare const SheetDescriptorSchema: z.ZodObject<{
1093
1093
  value: z.ZodObject<{
1094
1094
  type: z.ZodEnum<{
1095
1095
  formula: "formula";
1096
- num: "num";
1097
1096
  percent: "percent";
1097
+ num: "num";
1098
1098
  max: "max";
1099
1099
  min: "min";
1100
1100
  percentile: "percentile";
@@ -1140,8 +1140,8 @@ declare const SheetDescriptorSchema: z.ZodObject<{
1140
1140
  min: z.ZodObject<{
1141
1141
  type: z.ZodEnum<{
1142
1142
  formula: "formula";
1143
- num: "num";
1144
1143
  percent: "percent";
1144
+ num: "num";
1145
1145
  max: "max";
1146
1146
  min: "min";
1147
1147
  percentile: "percentile";
@@ -1151,8 +1151,8 @@ declare const SheetDescriptorSchema: z.ZodObject<{
1151
1151
  max: z.ZodObject<{
1152
1152
  type: z.ZodEnum<{
1153
1153
  formula: "formula";
1154
- num: "num";
1155
1154
  percent: "percent";
1155
+ num: "num";
1156
1156
  max: "max";
1157
1157
  min: "min";
1158
1158
  percentile: "percentile";
@@ -1199,8 +1199,8 @@ declare const SheetDescriptorSchema: z.ZodObject<{
1199
1199
  thresholds: z.ZodArray<z.ZodObject<{
1200
1200
  type: z.ZodEnum<{
1201
1201
  formula: "formula";
1202
- num: "num";
1203
1202
  percent: "percent";
1203
+ num: "num";
1204
1204
  max: "max";
1205
1205
  min: "min";
1206
1206
  percentile: "percentile";
@@ -1298,7 +1298,6 @@ declare const DrawPageDescriptorSchema: z.ZodObject<{
1298
1298
  }, z.core.$strict>;
1299
1299
  type DrawPageDescriptor = z.infer<typeof DrawPageDescriptorSchema>;
1300
1300
  declare const ShapeDescriptorSchema: z.ZodObject<{
1301
- name: z.ZodOptional<z.ZodString>;
1302
1301
  source: z.ZodOptional<z.ZodObject<{
1303
1302
  format: z.ZodEnum<{
1304
1303
  docx: "docx";
@@ -1319,6 +1318,15 @@ declare const ShapeDescriptorSchema: z.ZodObject<{
1319
1318
  }>;
1320
1319
  xml: z.ZodString;
1321
1320
  }, z.core.$strict>>;
1321
+ name: z.ZodOptional<z.ZodString>;
1322
+ sourcePath: z.ZodOptional<z.ZodString>;
1323
+ frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
1324
+ pageIndex: z.ZodNumber;
1325
+ xPt: z.ZodNumber;
1326
+ yPt: z.ZodNumber;
1327
+ widthPt: z.ZodNumber;
1328
+ heightPt: z.ZodNumber;
1329
+ }, z.core.$strip>>>;
1322
1330
  origin: z.ZodOptional<z.ZodEnum<{
1323
1331
  chart: "chart";
1324
1332
  diagram: "diagram";
@@ -1346,14 +1354,6 @@ declare const ShapeDescriptorSchema: z.ZodObject<{
1346
1354
  at: z.ZodString;
1347
1355
  }, z.core.$strip>>;
1348
1356
  }, z.core.$strip>>;
1349
- sourcePath: z.ZodOptional<z.ZodString>;
1350
- frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
1351
- pageIndex: z.ZodNumber;
1352
- xPt: z.ZodNumber;
1353
- yPt: z.ZodNumber;
1354
- widthPt: z.ZodNumber;
1355
- heightPt: z.ZodNumber;
1356
- }, z.core.$strip>>>;
1357
1357
  frame: z.ZodObject<{
1358
1358
  xPt: z.ZodNumber;
1359
1359
  yPt: z.ZodNumber;
@@ -1482,12 +1482,12 @@ declare const HeadingParagraphSchema: z.ZodObject<{
1482
1482
  descriptor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1483
1483
  kind: z.ZodLiteral<"contentControl">;
1484
1484
  controlType: z.ZodEnum<{
1485
- date: "date";
1486
1485
  richText: "richText";
1487
1486
  plainText: "plainText";
1488
1487
  checkbox: "checkbox";
1489
1488
  dropDown: "dropDown";
1490
1489
  comboBox: "comboBox";
1490
+ date: "date";
1491
1491
  picture: "picture";
1492
1492
  repeatingSection: "repeatingSection";
1493
1493
  button: "button";
@@ -1551,10 +1551,10 @@ declare const HeadingParagraphSchema: z.ZodObject<{
1551
1551
  }, z.core.$strict>, z.ZodObject<{
1552
1552
  kind: z.ZodLiteral<"anchor">;
1553
1553
  anchorType: z.ZodEnum<{
1554
- comment: "comment";
1555
1554
  bookmark: "bookmark";
1556
1555
  footnote: "footnote";
1557
1556
  endnote: "endnote";
1557
+ comment: "comment";
1558
1558
  }>;
1559
1559
  name: z.ZodString;
1560
1560
  definition: z.ZodOptional<z.ZodString>;
@@ -1677,8 +1677,8 @@ declare const HeadingParagraphSchema: z.ZodObject<{
1677
1677
  preformatted: z.ZodOptional<z.ZodBoolean>;
1678
1678
  alignment: z.ZodOptional<z.ZodEnum<{
1679
1679
  left: "left";
1680
- center: "center";
1681
1680
  right: "right";
1681
+ center: "center";
1682
1682
  justify: "justify";
1683
1683
  }>>;
1684
1684
  list: z.ZodOptional<z.ZodObject<{
@@ -1907,12 +1907,12 @@ declare const ListParagraphSchema: z.ZodObject<{
1907
1907
  descriptor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1908
1908
  kind: z.ZodLiteral<"contentControl">;
1909
1909
  controlType: z.ZodEnum<{
1910
- date: "date";
1911
1910
  richText: "richText";
1912
1911
  plainText: "plainText";
1913
1912
  checkbox: "checkbox";
1914
1913
  dropDown: "dropDown";
1915
1914
  comboBox: "comboBox";
1915
+ date: "date";
1916
1916
  picture: "picture";
1917
1917
  repeatingSection: "repeatingSection";
1918
1918
  button: "button";
@@ -1976,10 +1976,10 @@ declare const ListParagraphSchema: z.ZodObject<{
1976
1976
  }, z.core.$strict>, z.ZodObject<{
1977
1977
  kind: z.ZodLiteral<"anchor">;
1978
1978
  anchorType: z.ZodEnum<{
1979
- comment: "comment";
1980
1979
  bookmark: "bookmark";
1981
1980
  footnote: "footnote";
1982
1981
  endnote: "endnote";
1982
+ comment: "comment";
1983
1983
  }>;
1984
1984
  name: z.ZodString;
1985
1985
  definition: z.ZodOptional<z.ZodString>;
@@ -2103,8 +2103,8 @@ declare const ListParagraphSchema: z.ZodObject<{
2103
2103
  headingLevel: z.ZodOptional<z.ZodNumber>;
2104
2104
  alignment: z.ZodOptional<z.ZodEnum<{
2105
2105
  left: "left";
2106
- center: "center";
2107
2106
  right: "right";
2107
+ center: "center";
2108
2108
  justify: "justify";
2109
2109
  }>>;
2110
2110
  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-DH0p0dyl.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-DaPwHzsg.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-CHX4Z0RM.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-CIZQ2_C1.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-DH0p0dyl.cjs";
3
+ import { I as SlideGroupNode, M as SheetGroupNode, b as SectionGroupNode, i as DrawPageGroupNode } from "./package-node-DaPwHzsg.cjs";
4
4
  import { z } from "zod";
5
5
  //#region src/package.d.ts
6
6
  declare const TreeEmbeddedFontSchema: z.ZodObject<{
@@ -26,8 +26,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
26
26
  paragraph: z.ZodOptional<z.ZodObject<{
27
27
  alignment: z.ZodOptional<z.ZodEnum<{
28
28
  left: "left";
29
- center: "center";
30
29
  right: "right";
30
+ center: "center";
31
31
  justify: "justify";
32
32
  }>>;
33
33
  list: z.ZodOptional<z.ZodObject<{
@@ -181,8 +181,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
181
181
  paragraph: z.ZodOptional<z.ZodObject<{
182
182
  alignment: z.ZodOptional<z.ZodEnum<{
183
183
  left: "left";
184
- center: "center";
185
184
  right: "right";
185
+ center: "center";
186
186
  justify: "justify";
187
187
  }>>;
188
188
  list: z.ZodOptional<z.ZodObject<{
@@ -341,8 +341,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
341
341
  paragraph: z.ZodOptional<z.ZodObject<{
342
342
  alignment: z.ZodOptional<z.ZodEnum<{
343
343
  left: "left";
344
- center: "center";
345
344
  right: "right";
345
+ center: "center";
346
346
  justify: "justify";
347
347
  }>>;
348
348
  list: z.ZodOptional<z.ZodObject<{
@@ -496,8 +496,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
496
496
  paragraph: z.ZodOptional<z.ZodObject<{
497
497
  alignment: z.ZodOptional<z.ZodEnum<{
498
498
  left: "left";
499
- center: "center";
500
499
  right: "right";
500
+ center: "center";
501
501
  justify: "justify";
502
502
  }>>;
503
503
  list: z.ZodOptional<z.ZodObject<{
@@ -710,8 +710,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
710
710
  paragraph: z.ZodOptional<z.ZodObject<{
711
711
  alignment: z.ZodOptional<z.ZodEnum<{
712
712
  left: "left";
713
- center: "center";
714
713
  right: "right";
714
+ center: "center";
715
715
  justify: "justify";
716
716
  }>>;
717
717
  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-CHX4Z0RM.js";
3
+ import { I as SlideGroupNode, M as SheetGroupNode, b as SectionGroupNode, i as DrawPageGroupNode } from "./package-node-CIZQ2_C1.js";
4
4
  import { z } from "zod";
5
5
  //#region src/package.d.ts
6
6
  declare const TreeEmbeddedFontSchema: z.ZodObject<{
@@ -26,8 +26,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
26
26
  paragraph: z.ZodOptional<z.ZodObject<{
27
27
  alignment: z.ZodOptional<z.ZodEnum<{
28
28
  left: "left";
29
- center: "center";
30
29
  right: "right";
30
+ center: "center";
31
31
  justify: "justify";
32
32
  }>>;
33
33
  list: z.ZodOptional<z.ZodObject<{
@@ -181,8 +181,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
181
181
  paragraph: z.ZodOptional<z.ZodObject<{
182
182
  alignment: z.ZodOptional<z.ZodEnum<{
183
183
  left: "left";
184
- center: "center";
185
184
  right: "right";
185
+ center: "center";
186
186
  justify: "justify";
187
187
  }>>;
188
188
  list: z.ZodOptional<z.ZodObject<{
@@ -341,8 +341,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
341
341
  paragraph: z.ZodOptional<z.ZodObject<{
342
342
  alignment: z.ZodOptional<z.ZodEnum<{
343
343
  left: "left";
344
- center: "center";
345
344
  right: "right";
345
+ center: "center";
346
346
  justify: "justify";
347
347
  }>>;
348
348
  list: z.ZodOptional<z.ZodObject<{
@@ -496,8 +496,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
496
496
  paragraph: z.ZodOptional<z.ZodObject<{
497
497
  alignment: z.ZodOptional<z.ZodEnum<{
498
498
  left: "left";
499
- center: "center";
500
499
  right: "right";
500
+ center: "center";
501
501
  justify: "justify";
502
502
  }>>;
503
503
  list: z.ZodOptional<z.ZodObject<{
@@ -710,8 +710,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
710
710
  paragraph: z.ZodOptional<z.ZodObject<{
711
711
  alignment: z.ZodOptional<z.ZodEnum<{
712
712
  left: "left";
713
- center: "center";
714
713
  right: "right";
714
+ center: "center";
715
715
  justify: "justify";
716
716
  }>>;
717
717
  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.11.2/schemas/${SCHEMA_FILE_NAMES[kind]}`;
10
+ return `https://cdn.jsdelivr.net/npm/document-schema.js@7.11.4/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.11.2")) throw new SchemaVersionMismatchError(value.$schema, parts.version, "7.11.2");
105
+ if (majorVersionOf(parts.version) !== majorVersionOf("7.11.4")) throw new SchemaVersionMismatchError(value.$schema, parts.version, "7.11.4");
106
106
  switch (kind) {
107
107
  case "DocumentTree": return {
108
108
  kind,
@@ -1,4 +1,4 @@
1
- import { C as ContentDocument } from "./content-BrxGwe8j.cjs";
1
+ import { C as ContentDocument } from "./content-zNNPbwYY.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 { C as ContentDocument } from "./content-D-j5QBCq.js";
1
+ import { C as ContentDocument } from "./content-GHj_31uQ.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.11.2/schemas/${SCHEMA_FILE_NAMES[kind]}`;
9
+ return `https://cdn.jsdelivr.net/npm/document-schema.js@7.11.4/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.11.2")) throw new SchemaVersionMismatchError(value.$schema, parts.version, "7.11.2");
104
+ if (majorVersionOf(parts.version) !== majorVersionOf("7.11.4")) throw new SchemaVersionMismatchError(value.$schema, parts.version, "7.11.4");
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.11.2",
3
+ "version": "7.11.4",
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.11.2/schemas/content-document.schema.json",
3
+ "$id": "https://cdn.jsdelivr.net/npm/document-schema.js@7.11.4/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.11.2/schemas/undefined#/$defs/schema2"
136
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.11.4/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.11.2/schemas/undefined#/$defs/schema2"
154
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.11.4/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.11.2/schemas/undefined#/$defs/schema2"
160
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.11.4/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.11.2/schemas/undefined#/$defs/schema2"
166
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.11.4/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.11.2/schemas/undefined#/$defs/schema2"
178
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.11.4/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.11.2/schemas/undefined#/$defs/schema2"
184
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.11.4/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.11.2/schemas/undefined#/$defs/schema2"
190
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.11.4/schemas/undefined#/$defs/schema2"
191
191
  }
192
192
  }
193
193
  },
@@ -199,19 +199,19 @@
199
199
  "default": {
200
200
  "type": "array",
201
201
  "items": {
202
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.11.2/schemas/undefined#/$defs/schema2"
202
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.11.4/schemas/undefined#/$defs/schema2"
203
203
  }
204
204
  },
205
205
  "even": {
206
206
  "type": "array",
207
207
  "items": {
208
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.11.2/schemas/undefined#/$defs/schema2"
208
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.11.4/schemas/undefined#/$defs/schema2"
209
209
  }
210
210
  },
211
211
  "first": {
212
212
  "type": "array",
213
213
  "items": {
214
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.11.2/schemas/undefined#/$defs/schema2"
214
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.11.4/schemas/undefined#/$defs/schema2"
215
215
  }
216
216
  }
217
217
  },
@@ -638,7 +638,7 @@
638
638
  "blocks": {
639
639
  "type": "array",
640
640
  "items": {
641
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.11.2/schemas/undefined#/$defs/schema2"
641
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.11.4/schemas/undefined#/$defs/schema2"
642
642
  }
643
643
  }
644
644
  },
@@ -2659,7 +2659,7 @@
2659
2659
  ]
2660
2660
  },
2661
2661
  "document": {
2662
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.11.2/schemas/content-document.schema.json"
2662
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.11.4/schemas/content-document.schema.json"
2663
2663
  },
2664
2664
  "frame": {
2665
2665
  "type": "object",
@@ -5021,7 +5021,7 @@
5021
5021
  "blocks": {
5022
5022
  "type": "array",
5023
5023
  "items": {
5024
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.11.2/schemas/undefined#/$defs/schema2"
5024
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.11.4/schemas/undefined#/$defs/schema2"
5025
5025
  }
5026
5026
  }
5027
5027
  },
@@ -8027,7 +8027,7 @@
8027
8027
  ]
8028
8028
  },
8029
8029
  "document": {
8030
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.11.2/schemas/content-document.schema.json"
8030
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.11.4/schemas/content-document.schema.json"
8031
8031
  },
8032
8032
  "frame": {
8033
8033
  "$ref": "#/$defs/Box"
@@ -10353,7 +10353,7 @@
10353
10353
  ]
10354
10354
  },
10355
10355
  "document": {
10356
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.11.2/schemas/content-document.schema.json"
10356
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.11.4/schemas/content-document.schema.json"
10357
10357
  },
10358
10358
  "frame": {
10359
10359
  "$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.11.2/schemas/document-tree.schema.json",
3
+ "$id": "https://cdn.jsdelivr.net/npm/document-schema.js@7.11.4/schemas/document-tree.schema.json",
4
4
  "oneOf": [
5
5
  {
6
6
  "type": "object",
@@ -1993,7 +1993,7 @@
1993
1993
  ]
1994
1994
  },
1995
1995
  "document": {
1996
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.11.2/schemas/content-document.schema.json"
1996
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.11.4/schemas/content-document.schema.json"
1997
1997
  },
1998
1998
  "frame": {
1999
1999
  "$ref": "#/$defs/Box"
@@ -4319,7 +4319,7 @@
4319
4319
  ]
4320
4320
  },
4321
4321
  "document": {
4322
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.11.2/schemas/content-document.schema.json"
4322
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.11.4/schemas/content-document.schema.json"
4323
4323
  },
4324
4324
  "frame": {
4325
4325
  "$ref": "#/$defs/Box"