document-content-model 7.8.0 → 7.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/dist/codec.d.cts +1 -1
  2. package/dist/codec.d.ts +1 -1
  3. package/dist/{construct-GVdTKrE7.d.cts → construct-C4XiF8OW.d.cts} +3 -3
  4. package/dist/{construct-GVdTKrE7.d.ts → construct-C4XiF8OW.d.ts} +3 -3
  5. package/dist/construct.d.cts +1 -1
  6. package/dist/construct.d.ts +1 -1
  7. package/dist/{content-DAc4O272.d.ts → content-C1hJ6olW.d.ts} +154 -149
  8. package/dist/{content-SgKmas45.d.cts → content-DN5CqH6Y.d.cts} +154 -149
  9. package/dist/content-json-schema-defs.cjs +2 -0
  10. package/dist/content-json-schema-defs.js +2 -0
  11. package/dist/content.cjs +1 -0
  12. package/dist/content.d.cts +1 -1
  13. package/dist/content.d.ts +1 -1
  14. package/dist/content.js +1 -0
  15. package/dist/decompose.d.cts +2 -2
  16. package/dist/decompose.d.ts +2 -2
  17. package/dist/definitions.d.cts +4 -4
  18. package/dist/definitions.d.ts +4 -4
  19. package/dist/factor-styles.d.cts +1 -1
  20. package/dist/factor-styles.d.ts +1 -1
  21. package/dist/flatten.d.cts +1 -1
  22. package/dist/flatten.d.ts +1 -1
  23. package/dist/index.d.cts +4 -4
  24. package/dist/index.d.ts +4 -4
  25. package/dist/{package-node-BnFUnaa0.d.ts → package-node-B9aFWtrZ.d.ts} +37 -37
  26. package/dist/{package-node-DnUyGT61.d.cts → package-node-DktLHAKG.d.cts} +37 -37
  27. package/dist/package-node.d.cts +1 -1
  28. package/dist/package-node.d.ts +1 -1
  29. package/dist/package.d.cts +7 -7
  30. package/dist/package.d.ts +7 -7
  31. package/dist/schema-io.cjs +2 -2
  32. package/dist/schema-io.d.cts +1 -1
  33. package/dist/schema-io.d.ts +1 -1
  34. package/dist/schema-io.js +2 -2
  35. package/dist/{style-BGMcYrD2.d.cts → style-D06NwxAJ.d.cts} +1 -1
  36. package/dist/{style-BGMcYrD2.d.ts → style-D06NwxAJ.d.ts} +1 -1
  37. package/dist/style.d.cts +1 -1
  38. package/dist/style.d.ts +1 -1
  39. package/dist/text-layout.d.cts +1 -1
  40. package/dist/text-layout.d.ts +1 -1
  41. package/package.json +1 -1
  42. package/schemas/content-document.schema.json +22 -13
  43. package/schemas/document-tree.schema.json +9 -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-SgKmas45.cjs";
2
- import { a as ConstructDescriptor } from "./construct-GVdTKrE7.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-DN5CqH6Y.cjs";
2
+ import { a as ConstructDescriptor } from "./construct-C4XiF8OW.cjs";
3
3
  import { z } from "zod";
4
4
  //#region src/package-node.d.ts
5
5
  declare const SectionDescriptorSchema: z.ZodObject<{
@@ -24,12 +24,12 @@ declare const SectionDescriptorSchema: z.ZodObject<{
24
24
  xml: z.ZodString;
25
25
  }, z.core.$strict>>;
26
26
  origin: z.ZodOptional<z.ZodEnum<{
27
- body: "body";
28
27
  chart: "chart";
29
28
  diagram: "diagram";
30
29
  table: "table";
31
30
  image: "image";
32
31
  notes: "notes";
32
+ body: "body";
33
33
  }>>;
34
34
  interpretation: z.ZodOptional<z.ZodObject<{
35
35
  transcript: z.ZodOptional<z.ZodObject<{
@@ -102,12 +102,12 @@ declare const SlideDescriptorSchema: z.ZodObject<{
102
102
  }, z.core.$strict>>;
103
103
  notes: z.ZodString;
104
104
  origin: z.ZodOptional<z.ZodEnum<{
105
- body: "body";
106
105
  chart: "chart";
107
106
  diagram: "diagram";
108
107
  table: "table";
109
108
  image: "image";
110
109
  notes: "notes";
110
+ body: "body";
111
111
  }>>;
112
112
  interpretation: z.ZodOptional<z.ZodObject<{
113
113
  transcript: z.ZodOptional<z.ZodObject<{
@@ -157,18 +157,13 @@ declare const SheetDescriptorSchema: z.ZodObject<{
157
157
  }>;
158
158
  xml: z.ZodString;
159
159
  }, z.core.$strict>>;
160
- rows: z.ZodArray<z.ZodObject<{
161
- index: z.ZodNumber;
162
- heightPt: z.ZodOptional<z.ZodNumber>;
163
- hidden: z.ZodOptional<z.ZodBoolean>;
164
- }, z.core.$strip>>;
165
160
  origin: z.ZodOptional<z.ZodEnum<{
166
- body: "body";
167
161
  chart: "chart";
168
162
  diagram: "diagram";
169
163
  table: "table";
170
164
  image: "image";
171
165
  notes: "notes";
166
+ body: "body";
172
167
  }>>;
173
168
  interpretation: z.ZodOptional<z.ZodObject<{
174
169
  transcript: z.ZodOptional<z.ZodObject<{
@@ -232,12 +227,12 @@ declare const SheetDescriptorSchema: z.ZodObject<{
232
227
  }, z.core.$strip>;
233
228
  cells: z.ZodArray<z.ZodObject<{
234
229
  origin: z.ZodOptional<z.ZodEnum<{
235
- body: "body";
236
230
  chart: "chart";
237
231
  diagram: "diagram";
238
232
  table: "table";
239
233
  image: "image";
240
234
  notes: "notes";
235
+ body: "body";
241
236
  }>>;
242
237
  interpretation: z.ZodOptional<z.ZodObject<{
243
238
  transcript: z.ZodOptional<z.ZodObject<{
@@ -312,12 +307,12 @@ declare const SheetDescriptorSchema: z.ZodObject<{
312
307
  }, z.core.$strip>>;
313
308
  runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
314
309
  origin: z.ZodOptional<z.ZodEnum<{
315
- body: "body";
316
310
  chart: "chart";
317
311
  diagram: "diagram";
318
312
  table: "table";
319
313
  image: "image";
320
314
  notes: "notes";
315
+ body: "body";
321
316
  }>>;
322
317
  interpretation: z.ZodOptional<z.ZodObject<{
323
318
  transcript: z.ZodOptional<z.ZodObject<{
@@ -552,8 +547,8 @@ declare const SheetDescriptorSchema: z.ZodObject<{
552
547
  }, z.core.$strip>>;
553
548
  alignment: z.ZodOptional<z.ZodEnum<{
554
549
  left: "left";
555
- right: "right";
556
550
  center: "center";
551
+ right: "right";
557
552
  justify: "justify";
558
553
  }>>;
559
554
  verticalAlignment: z.ZodOptional<z.ZodEnum<{
@@ -604,6 +599,11 @@ declare const SheetDescriptorSchema: z.ZodObject<{
604
599
  widthPt: z.ZodOptional<z.ZodNumber>;
605
600
  hidden: z.ZodOptional<z.ZodBoolean>;
606
601
  }, z.core.$strip>>;
602
+ rows: z.ZodArray<z.ZodObject<{
603
+ index: z.ZodNumber;
604
+ heightPt: z.ZodOptional<z.ZodNumber>;
605
+ hidden: z.ZodOptional<z.ZodBoolean>;
606
+ }, z.core.$strip>>;
607
607
  dataValidations: z.ZodOptional<z.ZodArray<z.ZodObject<{
608
608
  ranges: z.ZodArray<z.ZodObject<{
609
609
  startRow: z.ZodNumber;
@@ -612,11 +612,11 @@ declare const SheetDescriptorSchema: z.ZodObject<{
612
612
  endColumn: z.ZodNumber;
613
613
  }, z.core.$strip>>;
614
614
  type: z.ZodEnum<{
615
+ decimal: "decimal";
616
+ list: "list";
615
617
  date: "date";
616
618
  custom: "custom";
617
619
  time: "time";
618
- decimal: "decimal";
619
- list: "list";
620
620
  whole: "whole";
621
621
  textLength: "textLength";
622
622
  }>;
@@ -1087,11 +1087,11 @@ declare const SheetDescriptorSchema: z.ZodObject<{
1087
1087
  stops: z.ZodArray<z.ZodObject<{
1088
1088
  value: z.ZodObject<{
1089
1089
  type: z.ZodEnum<{
1090
- num: "num";
1091
- min: "min";
1092
- max: "max";
1093
1090
  formula: "formula";
1094
1091
  percent: "percent";
1092
+ num: "num";
1093
+ max: "max";
1094
+ min: "min";
1095
1095
  percentile: "percentile";
1096
1096
  }>;
1097
1097
  value: z.ZodOptional<z.ZodString>;
@@ -1134,22 +1134,22 @@ declare const SheetDescriptorSchema: z.ZodObject<{
1134
1134
  }, z.core.$strip>, z.ZodObject<{
1135
1135
  min: z.ZodObject<{
1136
1136
  type: z.ZodEnum<{
1137
- num: "num";
1138
- min: "min";
1139
- max: "max";
1140
1137
  formula: "formula";
1141
1138
  percent: "percent";
1139
+ num: "num";
1140
+ max: "max";
1141
+ min: "min";
1142
1142
  percentile: "percentile";
1143
1143
  }>;
1144
1144
  value: z.ZodOptional<z.ZodString>;
1145
1145
  }, z.core.$strip>;
1146
1146
  max: z.ZodObject<{
1147
1147
  type: z.ZodEnum<{
1148
- num: "num";
1149
- min: "min";
1150
- max: "max";
1151
1148
  formula: "formula";
1152
1149
  percent: "percent";
1150
+ num: "num";
1151
+ max: "max";
1152
+ min: "min";
1153
1153
  percentile: "percentile";
1154
1154
  }>;
1155
1155
  value: z.ZodOptional<z.ZodString>;
@@ -1193,11 +1193,11 @@ declare const SheetDescriptorSchema: z.ZodObject<{
1193
1193
  iconSetType: z.ZodString;
1194
1194
  thresholds: z.ZodArray<z.ZodObject<{
1195
1195
  type: z.ZodEnum<{
1196
- num: "num";
1197
- min: "min";
1198
- max: "max";
1199
1196
  formula: "formula";
1200
1197
  percent: "percent";
1198
+ num: "num";
1199
+ max: "max";
1200
+ min: "min";
1201
1201
  percentile: "percentile";
1202
1202
  }>;
1203
1203
  value: z.ZodOptional<z.ZodString>;
@@ -1259,12 +1259,12 @@ declare const DrawPageDescriptorSchema: z.ZodObject<{
1259
1259
  xml: z.ZodString;
1260
1260
  }, z.core.$strict>>;
1261
1261
  origin: z.ZodOptional<z.ZodEnum<{
1262
- body: "body";
1263
1262
  chart: "chart";
1264
1263
  diagram: "diagram";
1265
1264
  table: "table";
1266
1265
  image: "image";
1267
1266
  notes: "notes";
1267
+ body: "body";
1268
1268
  }>>;
1269
1269
  interpretation: z.ZodOptional<z.ZodObject<{
1270
1270
  transcript: z.ZodOptional<z.ZodObject<{
@@ -1323,12 +1323,12 @@ declare const ShapeDescriptorSchema: z.ZodObject<{
1323
1323
  heightPt: z.ZodNumber;
1324
1324
  }, z.core.$strip>>>;
1325
1325
  origin: z.ZodOptional<z.ZodEnum<{
1326
- body: "body";
1327
1326
  chart: "chart";
1328
1327
  diagram: "diagram";
1329
1328
  table: "table";
1330
1329
  image: "image";
1331
1330
  notes: "notes";
1331
+ body: "body";
1332
1332
  }>>;
1333
1333
  interpretation: z.ZodOptional<z.ZodObject<{
1334
1334
  transcript: z.ZodOptional<z.ZodObject<{
@@ -1367,12 +1367,12 @@ declare const ShapeDescriptorSchema: z.ZodObject<{
1367
1367
  type ShapeDescriptor = z.infer<typeof ShapeDescriptorSchema>;
1368
1368
  declare const HeadingParagraphSchema: z.ZodObject<{
1369
1369
  origin: z.ZodOptional<z.ZodEnum<{
1370
- body: "body";
1371
1370
  chart: "chart";
1372
1371
  diagram: "diagram";
1373
1372
  table: "table";
1374
1373
  image: "image";
1375
1374
  notes: "notes";
1375
+ body: "body";
1376
1376
  }>>;
1377
1377
  interpretation: z.ZodOptional<z.ZodObject<{
1378
1378
  transcript: z.ZodOptional<z.ZodObject<{
@@ -1396,12 +1396,12 @@ declare const HeadingParagraphSchema: z.ZodObject<{
1396
1396
  kind: z.ZodLiteral<"paragraph">;
1397
1397
  runs: z.ZodArray<z.ZodObject<{
1398
1398
  origin: z.ZodOptional<z.ZodEnum<{
1399
- body: "body";
1400
1399
  chart: "chart";
1401
1400
  diagram: "diagram";
1402
1401
  table: "table";
1403
1402
  image: "image";
1404
1403
  notes: "notes";
1404
+ body: "body";
1405
1405
  }>>;
1406
1406
  interpretation: z.ZodOptional<z.ZodObject<{
1407
1407
  transcript: z.ZodOptional<z.ZodObject<{
@@ -1545,10 +1545,10 @@ declare const HeadingParagraphSchema: z.ZodObject<{
1545
1545
  }, z.core.$strict>, z.ZodObject<{
1546
1546
  kind: z.ZodLiteral<"anchor">;
1547
1547
  anchorType: z.ZodEnum<{
1548
+ comment: "comment";
1548
1549
  bookmark: "bookmark";
1549
1550
  footnote: "footnote";
1550
1551
  endnote: "endnote";
1551
- comment: "comment";
1552
1552
  }>;
1553
1553
  name: z.ZodString;
1554
1554
  definition: z.ZodOptional<z.ZodString>;
@@ -1671,8 +1671,8 @@ declare const HeadingParagraphSchema: z.ZodObject<{
1671
1671
  preformatted: z.ZodOptional<z.ZodBoolean>;
1672
1672
  alignment: z.ZodOptional<z.ZodEnum<{
1673
1673
  left: "left";
1674
- right: "right";
1675
1674
  center: "center";
1675
+ right: "right";
1676
1676
  justify: "justify";
1677
1677
  }>>;
1678
1678
  list: z.ZodOptional<z.ZodObject<{
@@ -1792,12 +1792,12 @@ declare const HeadingParagraphSchema: z.ZodObject<{
1792
1792
  type HeadingParagraph = z.infer<typeof HeadingParagraphSchema>;
1793
1793
  declare const ListParagraphSchema: z.ZodObject<{
1794
1794
  origin: z.ZodOptional<z.ZodEnum<{
1795
- body: "body";
1796
1795
  chart: "chart";
1797
1796
  diagram: "diagram";
1798
1797
  table: "table";
1799
1798
  image: "image";
1800
1799
  notes: "notes";
1800
+ body: "body";
1801
1801
  }>>;
1802
1802
  interpretation: z.ZodOptional<z.ZodObject<{
1803
1803
  transcript: z.ZodOptional<z.ZodObject<{
@@ -1821,12 +1821,12 @@ declare const ListParagraphSchema: z.ZodObject<{
1821
1821
  kind: z.ZodLiteral<"paragraph">;
1822
1822
  runs: z.ZodArray<z.ZodObject<{
1823
1823
  origin: z.ZodOptional<z.ZodEnum<{
1824
- body: "body";
1825
1824
  chart: "chart";
1826
1825
  diagram: "diagram";
1827
1826
  table: "table";
1828
1827
  image: "image";
1829
1828
  notes: "notes";
1829
+ body: "body";
1830
1830
  }>>;
1831
1831
  interpretation: z.ZodOptional<z.ZodObject<{
1832
1832
  transcript: z.ZodOptional<z.ZodObject<{
@@ -1970,10 +1970,10 @@ declare const ListParagraphSchema: z.ZodObject<{
1970
1970
  }, z.core.$strict>, z.ZodObject<{
1971
1971
  kind: z.ZodLiteral<"anchor">;
1972
1972
  anchorType: z.ZodEnum<{
1973
+ comment: "comment";
1973
1974
  bookmark: "bookmark";
1974
1975
  footnote: "footnote";
1975
1976
  endnote: "endnote";
1976
- comment: "comment";
1977
1977
  }>;
1978
1978
  name: z.ZodString;
1979
1979
  definition: z.ZodOptional<z.ZodString>;
@@ -2097,8 +2097,8 @@ declare const ListParagraphSchema: z.ZodObject<{
2097
2097
  headingLevel: z.ZodOptional<z.ZodNumber>;
2098
2098
  alignment: z.ZodOptional<z.ZodEnum<{
2099
2099
  left: "left";
2100
- right: "right";
2101
2100
  center: "center";
2101
+ right: "right";
2102
2102
  justify: "justify";
2103
2103
  }>>;
2104
2104
  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-DnUyGT61.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-DktLHAKG.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-BnFUnaa0.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-B9aFWtrZ.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-DnUyGT61.cjs";
3
+ import { I as SlideGroupNode, M as SheetGroupNode, b as SectionGroupNode, i as DrawPageGroupNode } from "./package-node-DktLHAKG.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
- right: "right";
17
16
  center: "center";
17
+ right: "right";
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
- right: "right";
166
165
  center: "center";
166
+ right: "right";
167
167
  justify: "justify";
168
168
  }>>;
169
169
  list: z.ZodOptional<z.ZodObject<{
@@ -316,8 +316,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
316
316
  paragraph: z.ZodOptional<z.ZodObject<{
317
317
  alignment: z.ZodOptional<z.ZodEnum<{
318
318
  left: "left";
319
- right: "right";
320
319
  center: "center";
320
+ right: "right";
321
321
  justify: "justify";
322
322
  }>>;
323
323
  list: z.ZodOptional<z.ZodObject<{
@@ -465,8 +465,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
465
465
  paragraph: z.ZodOptional<z.ZodObject<{
466
466
  alignment: z.ZodOptional<z.ZodEnum<{
467
467
  left: "left";
468
- right: "right";
469
468
  center: "center";
469
+ right: "right";
470
470
  justify: "justify";
471
471
  }>>;
472
472
  list: z.ZodOptional<z.ZodObject<{
@@ -607,12 +607,12 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
607
607
  }, z.core.$strip>, z.ZodObject<{
608
608
  children: z.ZodArray<z.ZodObject<{
609
609
  origin: z.ZodOptional<z.ZodEnum<{
610
- body: "body";
611
610
  chart: "chart";
612
611
  diagram: "diagram";
613
612
  table: "table";
614
613
  image: "image";
615
614
  notes: "notes";
615
+ body: "body";
616
616
  }>>;
617
617
  interpretation: z.ZodOptional<z.ZodObject<{
618
618
  transcript: z.ZodOptional<z.ZodObject<{
@@ -673,8 +673,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
673
673
  paragraph: z.ZodOptional<z.ZodObject<{
674
674
  alignment: z.ZodOptional<z.ZodEnum<{
675
675
  left: "left";
676
- right: "right";
677
676
  center: "center";
677
+ right: "right";
678
678
  justify: "justify";
679
679
  }>>;
680
680
  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-BnFUnaa0.js";
3
+ import { I as SlideGroupNode, M as SheetGroupNode, b as SectionGroupNode, i as DrawPageGroupNode } from "./package-node-B9aFWtrZ.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
- right: "right";
17
16
  center: "center";
17
+ right: "right";
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
- right: "right";
166
165
  center: "center";
166
+ right: "right";
167
167
  justify: "justify";
168
168
  }>>;
169
169
  list: z.ZodOptional<z.ZodObject<{
@@ -316,8 +316,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
316
316
  paragraph: z.ZodOptional<z.ZodObject<{
317
317
  alignment: z.ZodOptional<z.ZodEnum<{
318
318
  left: "left";
319
- right: "right";
320
319
  center: "center";
320
+ right: "right";
321
321
  justify: "justify";
322
322
  }>>;
323
323
  list: z.ZodOptional<z.ZodObject<{
@@ -465,8 +465,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
465
465
  paragraph: z.ZodOptional<z.ZodObject<{
466
466
  alignment: z.ZodOptional<z.ZodEnum<{
467
467
  left: "left";
468
- right: "right";
469
468
  center: "center";
469
+ right: "right";
470
470
  justify: "justify";
471
471
  }>>;
472
472
  list: z.ZodOptional<z.ZodObject<{
@@ -607,12 +607,12 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
607
607
  }, z.core.$strip>, z.ZodObject<{
608
608
  children: z.ZodArray<z.ZodObject<{
609
609
  origin: z.ZodOptional<z.ZodEnum<{
610
- body: "body";
611
610
  chart: "chart";
612
611
  diagram: "diagram";
613
612
  table: "table";
614
613
  image: "image";
615
614
  notes: "notes";
615
+ body: "body";
616
616
  }>>;
617
617
  interpretation: z.ZodOptional<z.ZodObject<{
618
618
  transcript: z.ZodOptional<z.ZodObject<{
@@ -673,8 +673,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
673
673
  paragraph: z.ZodOptional<z.ZodObject<{
674
674
  alignment: z.ZodOptional<z.ZodEnum<{
675
675
  left: "left";
676
- right: "right";
677
676
  center: "center";
677
+ right: "right";
678
678
  justify: "justify";
679
679
  }>>;
680
680
  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.8.0/schemas/${SCHEMA_FILE_NAMES[kind]}`;
10
+ return `https://cdn.jsdelivr.net/npm/document-schema.js@7.9.0/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.8.0")) throw new SchemaVersionMismatchError(value.$schema, parts.version, "7.8.0");
105
+ if (majorVersionOf(parts.version) !== majorVersionOf("7.9.0")) throw new SchemaVersionMismatchError(value.$schema, parts.version, "7.9.0");
106
106
  switch (kind) {
107
107
  case "DocumentTree": return {
108
108
  kind,
@@ -1,4 +1,4 @@
1
- import { C as ContentDocument } from "./content-SgKmas45.cjs";
1
+ import { C as ContentDocument } from "./content-DN5CqH6Y.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-DAc4O272.js";
1
+ import { C as ContentDocument } from "./content-C1hJ6olW.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.8.0/schemas/${SCHEMA_FILE_NAMES[kind]}`;
9
+ return `https://cdn.jsdelivr.net/npm/document-schema.js@7.9.0/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.8.0")) throw new SchemaVersionMismatchError(value.$schema, parts.version, "7.8.0");
104
+ if (majorVersionOf(parts.version) !== majorVersionOf("7.9.0")) throw new SchemaVersionMismatchError(value.$schema, parts.version, "7.9.0");
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
- right: "right";
6
5
  center: "center";
6
+ right: "right";
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
- right: "right";
6
5
  center: "center";
6
+ right: "right";
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-BGMcYrD2.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-D06NwxAJ.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-BGMcYrD2.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-D06NwxAJ.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-BGMcYrD2.cjs";
2
+ import { i as LayoutFont } from "./style-D06NwxAJ.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-BGMcYrD2.js";
2
+ import { i as LayoutFont } from "./style-D06NwxAJ.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.8.0",
3
+ "version": "7.9.0",
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": {