document-content-model 7.14.0 → 7.14.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/README.md +3 -3
  2. package/dist/codec.d.cts +1 -1
  3. package/dist/codec.d.ts +1 -1
  4. package/dist/{content-Cc9oMKMd.d.ts → content-Cj_IC0ge.d.ts} +124 -124
  5. package/dist/{content-Db6wh_6v.d.cts → content-DZDor2Ct.d.cts} +124 -124
  6. package/dist/content.d.cts +1 -1
  7. package/dist/content.d.ts +1 -1
  8. package/dist/decompose.d.cts +2 -2
  9. package/dist/decompose.d.ts +2 -2
  10. package/dist/definitions.d.cts +4 -4
  11. package/dist/definitions.d.ts +4 -4
  12. package/dist/factor-styles.d.cts +1 -1
  13. package/dist/factor-styles.d.ts +1 -1
  14. package/dist/flatten.d.cts +1 -1
  15. package/dist/flatten.d.ts +1 -1
  16. package/dist/index.d.cts +3 -3
  17. package/dist/index.d.ts +3 -3
  18. package/dist/{package-node-D42YxKm6.d.cts → package-node-DBtKtaqn.d.cts} +39 -39
  19. package/dist/{package-node-D-1yiCmi.d.ts → package-node-SBZNVEGu.d.ts} +39 -39
  20. package/dist/package-node.d.cts +1 -1
  21. package/dist/package-node.d.ts +1 -1
  22. package/dist/package.d.cts +7 -7
  23. package/dist/package.d.ts +7 -7
  24. package/dist/schema-io.cjs +2 -2
  25. package/dist/schema-io.d.cts +1 -1
  26. package/dist/schema-io.d.ts +1 -1
  27. package/dist/schema-io.js +2 -2
  28. package/dist/{style-BGMcYrD2.d.cts → style-D06NwxAJ.d.cts} +1 -1
  29. package/dist/{style-BGMcYrD2.d.ts → style-D06NwxAJ.d.ts} +1 -1
  30. package/dist/style.d.cts +1 -1
  31. package/dist/style.d.ts +1 -1
  32. package/dist/table-grid.cjs +1 -1
  33. package/dist/table-grid.d.cts +3 -3
  34. package/dist/table-grid.d.ts +3 -3
  35. package/dist/table-grid.js +1 -1
  36. package/dist/text-layout.d.cts +1 -1
  37. package/dist/text-layout.d.ts +1 -1
  38. package/package.json +2 -2
  39. package/schemas/content-document.schema.json +16 -16
  40. package/schemas/document-tree.schema.json +3 -3
@@ -1,4 +1,4 @@
1
- import { D as ContentEmbeddedObject, Gt as ContentSheetImage, Sn as ContentVector, W as ContentFormula, _ as ContentConstructEnd, a as ContentBlock, y as ContentConstructStart } from "./content-Cc9oMKMd.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-Cj_IC0ge.js";
2
2
  import { a as ConstructDescriptor } from "./construct-C9cYkjnd.js";
3
3
  import { z } from "zod";
4
4
  //#region src/package-node.d.ts
@@ -23,13 +23,23 @@ declare const SectionDescriptorSchema: z.ZodObject<{
23
23
  }>;
24
24
  xml: z.ZodString;
25
25
  }, z.core.$strict>>;
26
+ pageSize: z.ZodObject<{
27
+ widthPt: z.ZodNumber;
28
+ heightPt: z.ZodNumber;
29
+ }, z.core.$strip>;
30
+ margins: z.ZodObject<{
31
+ topPt: z.ZodNumber;
32
+ rightPt: z.ZodNumber;
33
+ bottomPt: z.ZodNumber;
34
+ leftPt: z.ZodNumber;
35
+ }, z.core.$strip>;
26
36
  origin: z.ZodOptional<z.ZodEnum<{
27
37
  chart: "chart";
38
+ body: "body";
28
39
  diagram: "diagram";
29
40
  table: "table";
30
41
  image: "image";
31
42
  notes: "notes";
32
- body: "body";
33
43
  }>>;
34
44
  interpretation: z.ZodOptional<z.ZodObject<{
35
45
  transcript: z.ZodOptional<z.ZodObject<{
@@ -50,16 +60,6 @@ declare const SectionDescriptorSchema: z.ZodObject<{
50
60
  at: z.ZodString;
51
61
  }, z.core.$strip>>;
52
62
  }, z.core.$strip>>;
53
- pageSize: z.ZodObject<{
54
- widthPt: z.ZodNumber;
55
- heightPt: z.ZodNumber;
56
- }, z.core.$strip>;
57
- margins: z.ZodObject<{
58
- topPt: z.ZodNumber;
59
- rightPt: z.ZodNumber;
60
- bottomPt: z.ZodNumber;
61
- leftPt: z.ZodNumber;
62
- }, z.core.$strip>;
63
63
  breakType: z.ZodOptional<z.ZodEnum<{
64
64
  nextPage: "nextPage";
65
65
  continuous: "continuous";
@@ -108,11 +108,11 @@ declare const SlideDescriptorSchema: z.ZodObject<{
108
108
  notes: z.ZodString;
109
109
  origin: z.ZodOptional<z.ZodEnum<{
110
110
  chart: "chart";
111
+ body: "body";
111
112
  diagram: "diagram";
112
113
  table: "table";
113
114
  image: "image";
114
115
  notes: "notes";
115
- body: "body";
116
116
  }>>;
117
117
  interpretation: z.ZodOptional<z.ZodObject<{
118
118
  transcript: z.ZodOptional<z.ZodObject<{
@@ -162,13 +162,18 @@ declare const SheetDescriptorSchema: z.ZodObject<{
162
162
  xml: z.ZodString;
163
163
  }, z.core.$strict>>;
164
164
  name: z.ZodString;
165
+ rows: z.ZodArray<z.ZodObject<{
166
+ index: z.ZodNumber;
167
+ heightPt: z.ZodOptional<z.ZodNumber>;
168
+ hidden: z.ZodOptional<z.ZodBoolean>;
169
+ }, z.core.$strip>>;
165
170
  origin: z.ZodOptional<z.ZodEnum<{
166
171
  chart: "chart";
172
+ body: "body";
167
173
  diagram: "diagram";
168
174
  table: "table";
169
175
  image: "image";
170
176
  notes: "notes";
171
- body: "body";
172
177
  }>>;
173
178
  interpretation: z.ZodOptional<z.ZodObject<{
174
179
  transcript: z.ZodOptional<z.ZodObject<{
@@ -233,11 +238,11 @@ declare const SheetDescriptorSchema: z.ZodObject<{
233
238
  cells: z.ZodArray<z.ZodObject<{
234
239
  origin: z.ZodOptional<z.ZodEnum<{
235
240
  chart: "chart";
241
+ body: "body";
236
242
  diagram: "diagram";
237
243
  table: "table";
238
244
  image: "image";
239
245
  notes: "notes";
240
- body: "body";
241
246
  }>>;
242
247
  interpretation: z.ZodOptional<z.ZodObject<{
243
248
  transcript: z.ZodOptional<z.ZodObject<{
@@ -313,11 +318,11 @@ declare const SheetDescriptorSchema: z.ZodObject<{
313
318
  runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
314
319
  origin: z.ZodOptional<z.ZodEnum<{
315
320
  chart: "chart";
321
+ body: "body";
316
322
  diagram: "diagram";
317
323
  table: "table";
318
324
  image: "image";
319
325
  notes: "notes";
320
- body: "body";
321
326
  }>>;
322
327
  interpretation: z.ZodOptional<z.ZodObject<{
323
328
  transcript: z.ZodOptional<z.ZodObject<{
@@ -552,8 +557,8 @@ declare const SheetDescriptorSchema: z.ZodObject<{
552
557
  }, z.core.$strip>>;
553
558
  alignment: z.ZodOptional<z.ZodEnum<{
554
559
  left: "left";
555
- right: "right";
556
560
  center: "center";
561
+ right: "right";
557
562
  justify: "justify";
558
563
  }>>;
559
564
  verticalAlignment: z.ZodOptional<z.ZodEnum<{
@@ -604,11 +609,6 @@ declare const SheetDescriptorSchema: z.ZodObject<{
604
609
  widthPt: z.ZodOptional<z.ZodNumber>;
605
610
  hidden: z.ZodOptional<z.ZodBoolean>;
606
611
  }, z.core.$strip>>;
607
- rows: z.ZodArray<z.ZodObject<{
608
- index: z.ZodNumber;
609
- heightPt: z.ZodOptional<z.ZodNumber>;
610
- hidden: z.ZodOptional<z.ZodBoolean>;
611
- }, z.core.$strip>>;
612
612
  dataValidations: z.ZodOptional<z.ZodArray<z.ZodObject<{
613
613
  ranges: z.ZodArray<z.ZodObject<{
614
614
  startRow: z.ZodNumber;
@@ -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";
622
623
  decimal: "decimal";
623
624
  list: "list";
624
- time: "time";
625
625
  whole: "whole";
626
626
  textLength: "textLength";
627
627
  }>;
@@ -1093,10 +1093,10 @@ declare const SheetDescriptorSchema: z.ZodObject<{
1093
1093
  value: z.ZodObject<{
1094
1094
  type: z.ZodEnum<{
1095
1095
  formula: "formula";
1096
- percent: "percent";
1097
1096
  num: "num";
1098
- max: "max";
1099
1097
  min: "min";
1098
+ max: "max";
1099
+ percent: "percent";
1100
1100
  percentile: "percentile";
1101
1101
  }>;
1102
1102
  value: z.ZodOptional<z.ZodString>;
@@ -1140,10 +1140,10 @@ declare const SheetDescriptorSchema: z.ZodObject<{
1140
1140
  min: z.ZodObject<{
1141
1141
  type: z.ZodEnum<{
1142
1142
  formula: "formula";
1143
- percent: "percent";
1144
1143
  num: "num";
1145
- max: "max";
1146
1144
  min: "min";
1145
+ max: "max";
1146
+ percent: "percent";
1147
1147
  percentile: "percentile";
1148
1148
  }>;
1149
1149
  value: z.ZodOptional<z.ZodString>;
@@ -1151,10 +1151,10 @@ declare const SheetDescriptorSchema: z.ZodObject<{
1151
1151
  max: z.ZodObject<{
1152
1152
  type: z.ZodEnum<{
1153
1153
  formula: "formula";
1154
- percent: "percent";
1155
1154
  num: "num";
1156
- max: "max";
1157
1155
  min: "min";
1156
+ max: "max";
1157
+ percent: "percent";
1158
1158
  percentile: "percentile";
1159
1159
  }>;
1160
1160
  value: z.ZodOptional<z.ZodString>;
@@ -1199,10 +1199,10 @@ declare const SheetDescriptorSchema: z.ZodObject<{
1199
1199
  thresholds: z.ZodArray<z.ZodObject<{
1200
1200
  type: z.ZodEnum<{
1201
1201
  formula: "formula";
1202
- percent: "percent";
1203
1202
  num: "num";
1204
- max: "max";
1205
1203
  min: "min";
1204
+ max: "max";
1205
+ percent: "percent";
1206
1206
  percentile: "percentile";
1207
1207
  }>;
1208
1208
  value: z.ZodOptional<z.ZodString>;
@@ -1265,11 +1265,11 @@ declare const DrawPageDescriptorSchema: z.ZodObject<{
1265
1265
  }, z.core.$strict>>;
1266
1266
  origin: z.ZodOptional<z.ZodEnum<{
1267
1267
  chart: "chart";
1268
+ body: "body";
1268
1269
  diagram: "diagram";
1269
1270
  table: "table";
1270
1271
  image: "image";
1271
1272
  notes: "notes";
1272
- body: "body";
1273
1273
  }>>;
1274
1274
  interpretation: z.ZodOptional<z.ZodObject<{
1275
1275
  transcript: z.ZodOptional<z.ZodObject<{
@@ -1329,11 +1329,11 @@ declare const ShapeDescriptorSchema: z.ZodObject<{
1329
1329
  }, z.core.$strip>>>;
1330
1330
  origin: z.ZodOptional<z.ZodEnum<{
1331
1331
  chart: "chart";
1332
+ body: "body";
1332
1333
  diagram: "diagram";
1333
1334
  table: "table";
1334
1335
  image: "image";
1335
1336
  notes: "notes";
1336
- body: "body";
1337
1337
  }>>;
1338
1338
  interpretation: z.ZodOptional<z.ZodObject<{
1339
1339
  transcript: z.ZodOptional<z.ZodObject<{
@@ -1374,11 +1374,11 @@ type ShapeDescriptor = z.infer<typeof ShapeDescriptorSchema>;
1374
1374
  declare const HeadingParagraphSchema: z.ZodObject<{
1375
1375
  origin: z.ZodOptional<z.ZodEnum<{
1376
1376
  chart: "chart";
1377
+ body: "body";
1377
1378
  diagram: "diagram";
1378
1379
  table: "table";
1379
1380
  image: "image";
1380
1381
  notes: "notes";
1381
- body: "body";
1382
1382
  }>>;
1383
1383
  interpretation: z.ZodOptional<z.ZodObject<{
1384
1384
  transcript: z.ZodOptional<z.ZodObject<{
@@ -1403,11 +1403,11 @@ declare const HeadingParagraphSchema: z.ZodObject<{
1403
1403
  runs: z.ZodArray<z.ZodObject<{
1404
1404
  origin: z.ZodOptional<z.ZodEnum<{
1405
1405
  chart: "chart";
1406
+ body: "body";
1406
1407
  diagram: "diagram";
1407
1408
  table: "table";
1408
1409
  image: "image";
1409
1410
  notes: "notes";
1410
- body: "body";
1411
1411
  }>>;
1412
1412
  interpretation: z.ZodOptional<z.ZodObject<{
1413
1413
  transcript: z.ZodOptional<z.ZodObject<{
@@ -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
- right: "right";
1681
1680
  center: "center";
1681
+ right: "right";
1682
1682
  justify: "justify";
1683
1683
  }>>;
1684
1684
  list: z.ZodOptional<z.ZodObject<{
@@ -1799,11 +1799,11 @@ type HeadingParagraph = z.infer<typeof HeadingParagraphSchema>;
1799
1799
  declare const ListParagraphSchema: z.ZodObject<{
1800
1800
  origin: z.ZodOptional<z.ZodEnum<{
1801
1801
  chart: "chart";
1802
+ body: "body";
1802
1803
  diagram: "diagram";
1803
1804
  table: "table";
1804
1805
  image: "image";
1805
1806
  notes: "notes";
1806
- body: "body";
1807
1807
  }>>;
1808
1808
  interpretation: z.ZodOptional<z.ZodObject<{
1809
1809
  transcript: z.ZodOptional<z.ZodObject<{
@@ -1828,11 +1828,11 @@ declare const ListParagraphSchema: z.ZodObject<{
1828
1828
  runs: z.ZodArray<z.ZodObject<{
1829
1829
  origin: z.ZodOptional<z.ZodEnum<{
1830
1830
  chart: "chart";
1831
+ body: "body";
1831
1832
  diagram: "diagram";
1832
1833
  table: "table";
1833
1834
  image: "image";
1834
1835
  notes: "notes";
1835
- body: "body";
1836
1836
  }>>;
1837
1837
  interpretation: z.ZodOptional<z.ZodObject<{
1838
1838
  transcript: z.ZodOptional<z.ZodObject<{
@@ -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
- right: "right";
2107
2106
  center: "center";
2107
+ right: "right";
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-D42YxKm6.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-DBtKtaqn.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-D-1yiCmi.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-SBZNVEGu.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-D42YxKm6.cjs";
3
+ import { I as SlideGroupNode, M as SheetGroupNode, b as SectionGroupNode, i as DrawPageGroupNode } from "./package-node-DBtKtaqn.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
- right: "right";
30
29
  center: "center";
30
+ right: "right";
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
- right: "right";
185
184
  center: "center";
185
+ right: "right";
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
- right: "right";
345
344
  center: "center";
345
+ right: "right";
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
- right: "right";
500
499
  center: "center";
500
+ right: "right";
501
501
  justify: "justify";
502
502
  }>>;
503
503
  list: z.ZodOptional<z.ZodObject<{
@@ -639,11 +639,11 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
639
639
  children: z.ZodArray<z.ZodObject<{
640
640
  origin: z.ZodOptional<z.ZodEnum<{
641
641
  chart: "chart";
642
+ body: "body";
642
643
  diagram: "diagram";
643
644
  table: "table";
644
645
  image: "image";
645
646
  notes: "notes";
646
- body: "body";
647
647
  }>>;
648
648
  interpretation: z.ZodOptional<z.ZodObject<{
649
649
  transcript: 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
- right: "right";
714
713
  center: "center";
714
+ right: "right";
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-D-1yiCmi.js";
3
+ import { I as SlideGroupNode, M as SheetGroupNode, b as SectionGroupNode, i as DrawPageGroupNode } from "./package-node-SBZNVEGu.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
- right: "right";
30
29
  center: "center";
30
+ right: "right";
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
- right: "right";
185
184
  center: "center";
185
+ right: "right";
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
- right: "right";
345
344
  center: "center";
345
+ right: "right";
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
- right: "right";
500
499
  center: "center";
500
+ right: "right";
501
501
  justify: "justify";
502
502
  }>>;
503
503
  list: z.ZodOptional<z.ZodObject<{
@@ -639,11 +639,11 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
639
639
  children: z.ZodArray<z.ZodObject<{
640
640
  origin: z.ZodOptional<z.ZodEnum<{
641
641
  chart: "chart";
642
+ body: "body";
642
643
  diagram: "diagram";
643
644
  table: "table";
644
645
  image: "image";
645
646
  notes: "notes";
646
- body: "body";
647
647
  }>>;
648
648
  interpretation: z.ZodOptional<z.ZodObject<{
649
649
  transcript: 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
- right: "right";
714
713
  center: "center";
714
+ right: "right";
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.14.0/schemas/${SCHEMA_FILE_NAMES[kind]}`;
10
+ return `https://cdn.jsdelivr.net/npm/document-schema.js@7.14.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.14.0")) throw new SchemaVersionMismatchError(value.$schema, parts.version, "7.14.0");
105
+ if (majorVersionOf(parts.version) !== majorVersionOf("7.14.1")) throw new SchemaVersionMismatchError(value.$schema, parts.version, "7.14.1");
106
106
  switch (kind) {
107
107
  case "DocumentTree": return {
108
108
  kind,
@@ -1,4 +1,4 @@
1
- import { C as ContentDocument } from "./content-Db6wh_6v.cjs";
1
+ import { C as ContentDocument } from "./content-DZDor2Ct.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-Cc9oMKMd.js";
1
+ import { C as ContentDocument } from "./content-Cj_IC0ge.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.14.0/schemas/${SCHEMA_FILE_NAMES[kind]}`;
9
+ return `https://cdn.jsdelivr.net/npm/document-schema.js@7.14.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.14.0")) throw new SchemaVersionMismatchError(value.$schema, parts.version, "7.14.0");
104
+ if (majorVersionOf(parts.version) !== majorVersionOf("7.14.1")) throw new SchemaVersionMismatchError(value.$schema, parts.version, "7.14.1");
105
105
  switch (kind) {
106
106
  case "DocumentTree": return {
107
107
  kind,
@@ -2,8 +2,8 @@ import { z } from "zod";
2
2
  //#region src/style.d.ts
3
3
  declare const AlignmentSchema: z.ZodEnum<{
4
4
  left: "left";
5
- 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 };
@@ -186,7 +186,7 @@ function positionAnchorRows(rows) {
186
186
  });
187
187
  }
188
188
  /**
189
- * Build dense rows from anchor cells alone, placing each at the first grid column no earlier cell already reaches -- the placement HTML's own table model needs, where a `rowspan` in one row silently consumes a column in the rows below it and nothing marks the consumed position.
189
+ * Build dense rows from anchor cells alone, placing each at the first grid column no earlier cell already reaches — the placement HTML's own table model needs, where a `rowspan` in one row silently consumes a column in the rows below it and nothing marks the consumed position.
190
190
  *
191
191
  * `columnCount` is the grid width the source declared, where it declares one at all; pass 0 when it does not and the width follows from the placement.
192
192
  */
@@ -1,5 +1,5 @@
1
- import { o as TextDirection } from "./style-BGMcYrD2.cjs";
2
- import { _n as ContentTableRow, hn as ContentTableCell, mn as ContentTable } from "./content-Db6wh_6v.cjs";
1
+ import { o as TextDirection } from "./style-D06NwxAJ.cjs";
2
+ import { _n as ContentTableRow, hn as ContentTableCell, mn as ContentTable } from "./content-DZDor2Ct.cjs";
3
3
  //#region src/table-grid.d.ts
4
4
  /** The number of grid columns a cell occupies; an absent `colSpan` means the cell occupies its own column only. */
5
5
  declare function tableCellColumnSpan(cell: ContentTableCell): number;
@@ -105,7 +105,7 @@ interface AnchorTableRow {
105
105
  readonly isHeader?: boolean;
106
106
  }
107
107
  /**
108
- * Build dense rows from anchor cells alone, placing each at the first grid column no earlier cell already reaches -- the placement HTML's own table model needs, where a `rowspan` in one row silently consumes a column in the rows below it and nothing marks the consumed position.
108
+ * Build dense rows from anchor cells alone, placing each at the first grid column no earlier cell already reaches — the placement HTML's own table model needs, where a `rowspan` in one row silently consumes a column in the rows below it and nothing marks the consumed position.
109
109
  *
110
110
  * `columnCount` is the grid width the source declared, where it declares one at all; pass 0 when it does not and the width follows from the placement.
111
111
  */
@@ -1,5 +1,5 @@
1
- import { o as TextDirection } from "./style-BGMcYrD2.js";
2
- import { _n as ContentTableRow, hn as ContentTableCell, mn as ContentTable } from "./content-Cc9oMKMd.js";
1
+ import { o as TextDirection } from "./style-D06NwxAJ.js";
2
+ import { _n as ContentTableRow, hn as ContentTableCell, mn as ContentTable } from "./content-Cj_IC0ge.js";
3
3
  //#region src/table-grid.d.ts
4
4
  /** The number of grid columns a cell occupies; an absent `colSpan` means the cell occupies its own column only. */
5
5
  declare function tableCellColumnSpan(cell: ContentTableCell): number;
@@ -105,7 +105,7 @@ interface AnchorTableRow {
105
105
  readonly isHeader?: boolean;
106
106
  }
107
107
  /**
108
- * Build dense rows from anchor cells alone, placing each at the first grid column no earlier cell already reaches -- the placement HTML's own table model needs, where a `rowspan` in one row silently consumes a column in the rows below it and nothing marks the consumed position.
108
+ * Build dense rows from anchor cells alone, placing each at the first grid column no earlier cell already reaches — the placement HTML's own table model needs, where a `rowspan` in one row silently consumes a column in the rows below it and nothing marks the consumed position.
109
109
  *
110
110
  * `columnCount` is the grid width the source declared, where it declares one at all; pass 0 when it does not and the width follows from the placement.
111
111
  */
@@ -185,7 +185,7 @@ function positionAnchorRows(rows) {
185
185
  });
186
186
  }
187
187
  /**
188
- * Build dense rows from anchor cells alone, placing each at the first grid column no earlier cell already reaches -- the placement HTML's own table model needs, where a `rowspan` in one row silently consumes a column in the rows below it and nothing marks the consumed position.
188
+ * Build dense rows from anchor cells alone, placing each at the first grid column no earlier cell already reaches — the placement HTML's own table model needs, where a `rowspan` in one row silently consumes a column in the rows below it and nothing marks the consumed position.
189
189
  *
190
190
  * `columnCount` is the grid width the source declared, where it declares one at all; pass 0 when it does not and the width follows from the placement.
191
191
  */
@@ -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,7 +1,7 @@
1
1
  {
2
2
  "name": "document-content-model",
3
- "version": "7.14.0",
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.",
3
+ "version": "7.14.1",
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": {
7
7
  "type": "git",