document-content-model 7.8.0 → 7.9.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 (37) 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-C9cYkjnd.d.cts} +3 -3
  4. package/dist/{construct-GVdTKrE7.d.ts → construct-C9cYkjnd.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-B6SPQuuq.d.ts} +132 -121
  8. package/dist/{content-SgKmas45.d.cts → content-VhC4WCbj.d.cts} +132 -121
  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 +1 -1
  18. package/dist/definitions.d.ts +1 -1
  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 +3 -3
  24. package/dist/index.d.ts +3 -3
  25. package/dist/{package-node-DnUyGT61.d.cts → package-node-ChC2_Itm.d.cts} +35 -35
  26. package/dist/{package-node-BnFUnaa0.d.ts → package-node-mRax-XfS.d.ts} +35 -35
  27. package/dist/package-node.d.cts +1 -1
  28. package/dist/package-node.d.ts +1 -1
  29. package/dist/package.d.cts +2 -2
  30. package/dist/package.d.ts +2 -2
  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/package.json +1 -1
  36. package/schemas/content-document.schema.json +22 -13
  37. 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-DAc4O272.js";
2
- import { a as ConstructDescriptor } from "./construct-GVdTKrE7.js";
1
+ import { D as ContentEmbeddedObject, Gt as ContentSheetImage, Sn as ContentVector, W as ContentFormula, _ as ContentConstructEnd, a as ContentBlock, y as ContentConstructStart } from "./content-B6SPQuuq.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<{
@@ -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<{
@@ -136,7 +136,6 @@ declare const SlideDescriptorSchema: z.ZodObject<{
136
136
  }, z.core.$strict>;
137
137
  type SlideDescriptor = z.infer<typeof SlideDescriptorSchema>;
138
138
  declare const SheetDescriptorSchema: z.ZodObject<{
139
- name: z.ZodString;
140
139
  source: z.ZodOptional<z.ZodObject<{
141
140
  format: z.ZodEnum<{
142
141
  docx: "docx";
@@ -157,18 +156,14 @@ declare const SheetDescriptorSchema: z.ZodObject<{
157
156
  }>;
158
157
  xml: z.ZodString;
159
158
  }, 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>>;
159
+ name: z.ZodString;
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<{
@@ -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;
@@ -614,9 +614,9 @@ declare const SheetDescriptorSchema: z.ZodObject<{
614
614
  type: z.ZodEnum<{
615
615
  date: "date";
616
616
  custom: "custom";
617
- time: "time";
618
617
  decimal: "decimal";
619
618
  list: "list";
619
+ time: "time";
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<{
@@ -1293,7 +1293,6 @@ declare const DrawPageDescriptorSchema: z.ZodObject<{
1293
1293
  }, z.core.$strict>;
1294
1294
  type DrawPageDescriptor = z.infer<typeof DrawPageDescriptorSchema>;
1295
1295
  declare const ShapeDescriptorSchema: z.ZodObject<{
1296
- name: z.ZodOptional<z.ZodString>;
1297
1296
  source: z.ZodOptional<z.ZodObject<{
1298
1297
  format: z.ZodEnum<{
1299
1298
  docx: "docx";
@@ -1314,6 +1313,7 @@ declare const ShapeDescriptorSchema: z.ZodObject<{
1314
1313
  }>;
1315
1314
  xml: z.ZodString;
1316
1315
  }, z.core.$strict>>;
1316
+ name: z.ZodOptional<z.ZodString>;
1317
1317
  sourcePath: z.ZodOptional<z.ZodString>;
1318
1318
  frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
1319
1319
  pageIndex: z.ZodNumber;
@@ -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<{
@@ -1476,12 +1476,12 @@ declare const HeadingParagraphSchema: z.ZodObject<{
1476
1476
  descriptor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1477
1477
  kind: z.ZodLiteral<"contentControl">;
1478
1478
  controlType: z.ZodEnum<{
1479
- date: "date";
1480
1479
  richText: "richText";
1481
1480
  plainText: "plainText";
1482
1481
  checkbox: "checkbox";
1483
1482
  dropDown: "dropDown";
1484
1483
  comboBox: "comboBox";
1484
+ date: "date";
1485
1485
  picture: "picture";
1486
1486
  repeatingSection: "repeatingSection";
1487
1487
  button: "button";
@@ -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<{
@@ -1901,12 +1901,12 @@ declare const ListParagraphSchema: z.ZodObject<{
1901
1901
  descriptor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1902
1902
  kind: z.ZodLiteral<"contentControl">;
1903
1903
  controlType: z.ZodEnum<{
1904
- date: "date";
1905
1904
  richText: "richText";
1906
1905
  plainText: "plainText";
1907
1906
  checkbox: "checkbox";
1908
1907
  dropDown: "dropDown";
1909
1908
  comboBox: "comboBox";
1909
+ date: "date";
1910
1910
  picture: "picture";
1911
1911
  repeatingSection: "repeatingSection";
1912
1912
  button: "button";
@@ -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-ChC2_Itm.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-mRax-XfS.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-ChC2_Itm.cjs";
4
4
  import { z } from "zod";
5
5
  //#region src/package.d.ts
6
6
  declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[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<{
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-mRax-XfS.js";
4
4
  import { z } from "zod";
5
5
  //#region src/package.d.ts
6
6
  declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[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<{
@@ -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.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.8.0")) throw new SchemaVersionMismatchError(value.$schema, parts.version, "7.8.0");
105
+ if (majorVersionOf(parts.version) !== majorVersionOf("7.9.1")) throw new SchemaVersionMismatchError(value.$schema, parts.version, "7.9.1");
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-VhC4WCbj.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-B6SPQuuq.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.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.8.0")) throw new SchemaVersionMismatchError(value.$schema, parts.version, "7.8.0");
104
+ if (majorVersionOf(parts.version) !== majorVersionOf("7.9.1")) throw new SchemaVersionMismatchError(value.$schema, parts.version, "7.9.1");
105
105
  switch (kind) {
106
106
  case "DocumentTree": return {
107
107
  kind,
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.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.8.0/schemas/content-document.schema.json",
3
+ "$id": "https://cdn.jsdelivr.net/npm/document-schema.js@7.9.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.8.0/schemas/undefined#/$defs/schema2"
136
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.9.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.8.0/schemas/undefined#/$defs/schema2"
154
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.9.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.8.0/schemas/undefined#/$defs/schema2"
160
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.9.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.8.0/schemas/undefined#/$defs/schema2"
166
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.9.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.8.0/schemas/undefined#/$defs/schema2"
178
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.9.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.8.0/schemas/undefined#/$defs/schema2"
184
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.9.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.8.0/schemas/undefined#/$defs/schema2"
190
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.9.1/schemas/undefined#/$defs/schema2"
191
191
  }
192
192
  }
193
193
  },
@@ -611,7 +611,7 @@
611
611
  "blocks": {
612
612
  "type": "array",
613
613
  "items": {
614
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.8.0/schemas/undefined#/$defs/schema2"
614
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.9.1/schemas/undefined#/$defs/schema2"
615
615
  }
616
616
  }
617
617
  },
@@ -2091,6 +2091,9 @@
2091
2091
  "minimum": 0,
2092
2092
  "maximum": 9007199254740991
2093
2093
  },
2094
+ "caption": {
2095
+ "type": "string"
2096
+ },
2094
2097
  "floatPosition": {
2095
2098
  "type": "object",
2096
2099
  "properties": {
@@ -2629,7 +2632,7 @@
2629
2632
  ]
2630
2633
  },
2631
2634
  "document": {
2632
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.8.0/schemas/content-document.schema.json"
2635
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.9.1/schemas/content-document.schema.json"
2633
2636
  },
2634
2637
  "frame": {
2635
2638
  "type": "object",
@@ -4988,7 +4991,7 @@
4988
4991
  "blocks": {
4989
4992
  "type": "array",
4990
4993
  "items": {
4991
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.8.0/schemas/undefined#/$defs/schema2"
4994
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.9.1/schemas/undefined#/$defs/schema2"
4992
4995
  }
4993
4996
  }
4994
4997
  },
@@ -7778,6 +7781,9 @@
7778
7781
  "minimum": 0,
7779
7782
  "maximum": 9007199254740991
7780
7783
  },
7784
+ "caption": {
7785
+ "type": "string"
7786
+ },
7781
7787
  "floatPosition": {
7782
7788
  "$ref": "#/$defs/ContentFloatPosition"
7783
7789
  },
@@ -7991,7 +7997,7 @@
7991
7997
  ]
7992
7998
  },
7993
7999
  "document": {
7994
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.8.0/schemas/content-document.schema.json"
8000
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.9.1/schemas/content-document.schema.json"
7995
8001
  },
7996
8002
  "frame": {
7997
8003
  "$ref": "#/$defs/Box"
@@ -9751,6 +9757,9 @@
9751
9757
  "minimum": 0,
9752
9758
  "maximum": 9007199254740991
9753
9759
  },
9760
+ "caption": {
9761
+ "type": "string"
9762
+ },
9754
9763
  "floatPosition": {
9755
9764
  "$ref": "#/$defs/ContentFloatPosition"
9756
9765
  },
@@ -10308,7 +10317,7 @@
10308
10317
  ]
10309
10318
  },
10310
10319
  "document": {
10311
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.8.0/schemas/content-document.schema.json"
10320
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.9.1/schemas/content-document.schema.json"
10312
10321
  },
10313
10322
  "frame": {
10314
10323
  "$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.8.0/schemas/document-tree.schema.json",
3
+ "$id": "https://cdn.jsdelivr.net/npm/document-schema.js@7.9.1/schemas/document-tree.schema.json",
4
4
  "oneOf": [
5
5
  {
6
6
  "type": "object",
@@ -1747,6 +1747,9 @@
1747
1747
  "minimum": 0,
1748
1748
  "maximum": 9007199254740991
1749
1749
  },
1750
+ "caption": {
1751
+ "type": "string"
1752
+ },
1750
1753
  "floatPosition": {
1751
1754
  "$ref": "#/$defs/ContentFloatPosition"
1752
1755
  },
@@ -1960,7 +1963,7 @@
1960
1963
  ]
1961
1964
  },
1962
1965
  "document": {
1963
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.8.0/schemas/content-document.schema.json"
1966
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.9.1/schemas/content-document.schema.json"
1964
1967
  },
1965
1968
  "frame": {
1966
1969
  "$ref": "#/$defs/Box"
@@ -3720,6 +3723,9 @@
3720
3723
  "minimum": 0,
3721
3724
  "maximum": 9007199254740991
3722
3725
  },
3726
+ "caption": {
3727
+ "type": "string"
3728
+ },
3723
3729
  "floatPosition": {
3724
3730
  "$ref": "#/$defs/ContentFloatPosition"
3725
3731
  },
@@ -4277,7 +4283,7 @@
4277
4283
  ]
4278
4284
  },
4279
4285
  "document": {
4280
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.8.0/schemas/content-document.schema.json"
4286
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.9.1/schemas/content-document.schema.json"
4281
4287
  },
4282
4288
  "frame": {
4283
4289
  "$ref": "#/$defs/Box"