document-content-model 7.14.1 → 7.15.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 (55) hide show
  1. package/dist/a1.d.cts +1 -1
  2. package/dist/a1.d.ts +1 -1
  3. package/dist/codec.d.cts +1 -1
  4. package/dist/codec.d.ts +1 -1
  5. package/dist/{color-AELCDH_b.d.cts → color-CS3HtBwD.d.cts} +1 -1
  6. package/dist/{color-AELCDH_b.d.ts → color-CS3HtBwD.d.ts} +1 -1
  7. package/dist/color.d.cts +1 -1
  8. package/dist/color.d.ts +1 -1
  9. package/dist/{content-Cj_IC0ge.d.ts → content-BMrK9SrW.d.ts} +139 -128
  10. package/dist/{content-DZDor2Ct.d.cts → content-Dg9cb8mF.d.cts} +139 -128
  11. package/dist/content-json-schema-defs.cjs +15 -6
  12. package/dist/content-json-schema-defs.js +15 -6
  13. package/dist/content.cjs +10 -2
  14. package/dist/content.d.cts +2 -2
  15. package/dist/content.d.ts +2 -2
  16. package/dist/content.js +10 -3
  17. package/dist/decompose.cjs +13 -7
  18. package/dist/decompose.d.cts +2 -2
  19. package/dist/decompose.d.ts +2 -2
  20. package/dist/decompose.js +13 -7
  21. package/dist/definitions.d.cts +4 -4
  22. package/dist/definitions.d.ts +4 -4
  23. package/dist/factor-styles.d.cts +1 -1
  24. package/dist/factor-styles.d.ts +1 -1
  25. package/dist/flatten.d.cts +1 -1
  26. package/dist/flatten.d.ts +1 -1
  27. package/dist/index.cjs +1 -0
  28. package/dist/index.d.cts +5 -5
  29. package/dist/index.d.ts +5 -5
  30. package/dist/index.js +2 -2
  31. package/dist/math-layout.d.cts +1 -1
  32. package/dist/math-layout.d.ts +1 -1
  33. package/dist/{package-node-SBZNVEGu.d.ts → package-node-gA3Kpgl2.d.ts} +39 -39
  34. package/dist/{package-node-DBtKtaqn.d.cts → package-node-wxNXHAov.d.cts} +39 -39
  35. package/dist/package-node.d.cts +1 -1
  36. package/dist/package-node.d.ts +1 -1
  37. package/dist/package.d.cts +7 -7
  38. package/dist/package.d.ts +7 -7
  39. package/dist/schema-io.cjs +2 -2
  40. package/dist/schema-io.d.cts +1 -1
  41. package/dist/schema-io.d.ts +1 -1
  42. package/dist/schema-io.js +2 -2
  43. package/dist/{style-D06NwxAJ.d.cts → style-BGMcYrD2.d.cts} +1 -1
  44. package/dist/{style-D06NwxAJ.d.ts → style-BGMcYrD2.d.ts} +1 -1
  45. package/dist/style.d.cts +1 -1
  46. package/dist/style.d.ts +1 -1
  47. package/dist/table-grid.cjs +3 -3
  48. package/dist/table-grid.d.cts +4 -4
  49. package/dist/table-grid.d.ts +4 -4
  50. package/dist/table-grid.js +3 -3
  51. package/dist/text-layout.d.cts +8 -8
  52. package/dist/text-layout.d.ts +8 -8
  53. package/package.json +1 -1
  54. package/schemas/content-document.schema.json +35 -20
  55. package/schemas/document-tree.schema.json +22 -7
@@ -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-DZDor2Ct.cjs";
1
+ import { D as ContentEmbeddedObject, Gt as ContentSheetImage, W as ContentFormula, _ as ContentConstructEnd, a as ContentBlock, wn as ContentVector, y as ContentConstructStart } from "./content-Dg9cb8mF.cjs";
2
2
  import { a as ConstructDescriptor } from "./construct-C9cYkjnd.cjs";
3
3
  import { z } from "zod";
4
4
  //#region src/package-node.d.ts
@@ -23,23 +23,13 @@ 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>;
36
26
  origin: z.ZodOptional<z.ZodEnum<{
37
27
  chart: "chart";
38
- body: "body";
39
28
  diagram: "diagram";
40
29
  table: "table";
41
30
  image: "image";
42
31
  notes: "notes";
32
+ body: "body";
43
33
  }>>;
44
34
  interpretation: z.ZodOptional<z.ZodObject<{
45
35
  transcript: z.ZodOptional<z.ZodObject<{
@@ -60,6 +50,16 @@ declare const SectionDescriptorSchema: z.ZodObject<{
60
50
  at: z.ZodString;
61
51
  }, z.core.$strip>>;
62
52
  }, 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";
112
111
  diagram: "diagram";
113
112
  table: "table";
114
113
  image: "image";
115
114
  notes: "notes";
115
+ body: "body";
116
116
  }>>;
117
117
  interpretation: z.ZodOptional<z.ZodObject<{
118
118
  transcript: z.ZodOptional<z.ZodObject<{
@@ -162,18 +162,13 @@ 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>>;
170
165
  origin: z.ZodOptional<z.ZodEnum<{
171
166
  chart: "chart";
172
- body: "body";
173
167
  diagram: "diagram";
174
168
  table: "table";
175
169
  image: "image";
176
170
  notes: "notes";
171
+ body: "body";
177
172
  }>>;
178
173
  interpretation: z.ZodOptional<z.ZodObject<{
179
174
  transcript: z.ZodOptional<z.ZodObject<{
@@ -238,11 +233,11 @@ declare const SheetDescriptorSchema: z.ZodObject<{
238
233
  cells: z.ZodArray<z.ZodObject<{
239
234
  origin: z.ZodOptional<z.ZodEnum<{
240
235
  chart: "chart";
241
- body: "body";
242
236
  diagram: "diagram";
243
237
  table: "table";
244
238
  image: "image";
245
239
  notes: "notes";
240
+ body: "body";
246
241
  }>>;
247
242
  interpretation: z.ZodOptional<z.ZodObject<{
248
243
  transcript: z.ZodOptional<z.ZodObject<{
@@ -318,11 +313,11 @@ declare const SheetDescriptorSchema: z.ZodObject<{
318
313
  runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
319
314
  origin: z.ZodOptional<z.ZodEnum<{
320
315
  chart: "chart";
321
- body: "body";
322
316
  diagram: "diagram";
323
317
  table: "table";
324
318
  image: "image";
325
319
  notes: "notes";
320
+ body: "body";
326
321
  }>>;
327
322
  interpretation: z.ZodOptional<z.ZodObject<{
328
323
  transcript: z.ZodOptional<z.ZodObject<{
@@ -557,8 +552,8 @@ declare const SheetDescriptorSchema: z.ZodObject<{
557
552
  }, z.core.$strip>>;
558
553
  alignment: z.ZodOptional<z.ZodEnum<{
559
554
  left: "left";
560
- center: "center";
561
555
  right: "right";
556
+ center: "center";
562
557
  justify: "justify";
563
558
  }>>;
564
559
  verticalAlignment: z.ZodOptional<z.ZodEnum<{
@@ -609,6 +604,11 @@ declare const SheetDescriptorSchema: z.ZodObject<{
609
604
  widthPt: z.ZodOptional<z.ZodNumber>;
610
605
  hidden: z.ZodOptional<z.ZodBoolean>;
611
606
  }, 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";
623
622
  decimal: "decimal";
624
623
  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";
1096
1097
  num: "num";
1097
- min: "min";
1098
1098
  max: "max";
1099
- percent: "percent";
1099
+ min: "min";
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";
1143
1144
  num: "num";
1144
- min: "min";
1145
1145
  max: "max";
1146
- percent: "percent";
1146
+ min: "min";
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";
1154
1155
  num: "num";
1155
- min: "min";
1156
1156
  max: "max";
1157
- percent: "percent";
1157
+ min: "min";
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";
1202
1203
  num: "num";
1203
- min: "min";
1204
1204
  max: "max";
1205
- percent: "percent";
1205
+ min: "min";
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";
1269
1268
  diagram: "diagram";
1270
1269
  table: "table";
1271
1270
  image: "image";
1272
1271
  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";
1333
1332
  diagram: "diagram";
1334
1333
  table: "table";
1335
1334
  image: "image";
1336
1335
  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";
1378
1377
  diagram: "diagram";
1379
1378
  table: "table";
1380
1379
  image: "image";
1381
1380
  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";
1407
1406
  diagram: "diagram";
1408
1407
  table: "table";
1409
1408
  image: "image";
1410
1409
  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
- center: "center";
1681
1680
  right: "right";
1681
+ center: "center";
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";
1803
1802
  diagram: "diagram";
1804
1803
  table: "table";
1805
1804
  image: "image";
1806
1805
  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";
1832
1831
  diagram: "diagram";
1833
1832
  table: "table";
1834
1833
  image: "image";
1835
1834
  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
- center: "center";
2107
2106
  right: "right";
2107
+ center: "center";
2108
2108
  justify: "justify";
2109
2109
  }>>;
2110
2110
  spacingBeforePt: z.ZodOptional<z.ZodNumber>;
@@ -1,2 +1,2 @@
1
- import { $ as isSheetGroupNode, A as SheetDescriptor, B as TreeGroup, C as ShapeConstructGroupNode, D as ShapeGroupNode, E as ShapeDescriptorSchema, F as SlideDescriptorSchema, G as TreeNodeSchema, H as TreeLeaf, I as SlideGroupNode, J as isListGroupNode, K as isDrawPageGroupNode, L as SlideGroupSchema, M as SheetGroupNode, N as SheetGroupSchema, O as ShapeGroupSchema, P as SlideDescriptor, Q as isShapeGroupNode, R as TreeBlockLeaf, S as ShapeChild, T as ShapeDescriptor, U as TreeLeafSchema, V as TreeGroupSchema, W as TreeNode, X as isSectionGroupNode, Y as isSectionConstructGroupNode, Z as isShapeConstructGroupNode, _ as SectionConstructGroupSchema, a as DrawPageGroupSchema, b as SectionGroupNode, c as HeadingParagraph, d as ListGroupNode, et as isSlideGroupNode, f as ListGroupSchema, g as SectionConstructGroupNode, h as SectionChild, i as DrawPageGroupNode, it as isTreeNode, j as SheetDescriptorSchema, k as SheetChild, l as HeadingParagraphSchema, m as ListParagraphSchema, n as DrawPageDescriptor, nt as isTreeGroup, o as HeadingGroupNode, p as ListParagraph, q as isHeadingGroupNode, r as DrawPageDescriptorSchema, rt as isTreeLeaf, s as HeadingGroupSchema, t as DrawPageChild, tt as isTreeBlockLeaf, u as ListChild, v as SectionDescriptor, w as ShapeConstructGroupSchema, x as SectionGroupSchema, y as SectionDescriptorSchema, z as TreeBlockLeafSchema } from "./package-node-DBtKtaqn.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-wxNXHAov.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-SBZNVEGu.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-gA3Kpgl2.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-DBtKtaqn.cjs";
3
+ import { I as SlideGroupNode, M as SheetGroupNode, b as SectionGroupNode, i as DrawPageGroupNode } from "./package-node-wxNXHAov.cjs";
4
4
  import { z } from "zod";
5
5
  //#region src/package.d.ts
6
6
  declare const TreeEmbeddedFontSchema: z.ZodObject<{
@@ -26,8 +26,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
26
26
  paragraph: z.ZodOptional<z.ZodObject<{
27
27
  alignment: z.ZodOptional<z.ZodEnum<{
28
28
  left: "left";
29
- center: "center";
30
29
  right: "right";
30
+ center: "center";
31
31
  justify: "justify";
32
32
  }>>;
33
33
  list: z.ZodOptional<z.ZodObject<{
@@ -181,8 +181,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
181
181
  paragraph: z.ZodOptional<z.ZodObject<{
182
182
  alignment: z.ZodOptional<z.ZodEnum<{
183
183
  left: "left";
184
- center: "center";
185
184
  right: "right";
185
+ center: "center";
186
186
  justify: "justify";
187
187
  }>>;
188
188
  list: z.ZodOptional<z.ZodObject<{
@@ -341,8 +341,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
341
341
  paragraph: z.ZodOptional<z.ZodObject<{
342
342
  alignment: z.ZodOptional<z.ZodEnum<{
343
343
  left: "left";
344
- center: "center";
345
344
  right: "right";
345
+ center: "center";
346
346
  justify: "justify";
347
347
  }>>;
348
348
  list: z.ZodOptional<z.ZodObject<{
@@ -496,8 +496,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
496
496
  paragraph: z.ZodOptional<z.ZodObject<{
497
497
  alignment: z.ZodOptional<z.ZodEnum<{
498
498
  left: "left";
499
- center: "center";
500
499
  right: "right";
500
+ center: "center";
501
501
  justify: "justify";
502
502
  }>>;
503
503
  list: z.ZodOptional<z.ZodObject<{
@@ -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";
643
642
  diagram: "diagram";
644
643
  table: "table";
645
644
  image: "image";
646
645
  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
- center: "center";
714
713
  right: "right";
714
+ center: "center";
715
715
  justify: "justify";
716
716
  }>>;
717
717
  list: z.ZodOptional<z.ZodObject<{
package/dist/package.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { d as MathMlNode } from "./mathml-Czqc1mdZ.js";
2
2
  import { p as MathExpression } from "./math-BScHxedi.js";
3
- import { I as SlideGroupNode, M as SheetGroupNode, b as SectionGroupNode, i as DrawPageGroupNode } from "./package-node-SBZNVEGu.js";
3
+ import { I as SlideGroupNode, M as SheetGroupNode, b as SectionGroupNode, i as DrawPageGroupNode } from "./package-node-gA3Kpgl2.js";
4
4
  import { z } from "zod";
5
5
  //#region src/package.d.ts
6
6
  declare const TreeEmbeddedFontSchema: z.ZodObject<{
@@ -26,8 +26,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
26
26
  paragraph: z.ZodOptional<z.ZodObject<{
27
27
  alignment: z.ZodOptional<z.ZodEnum<{
28
28
  left: "left";
29
- center: "center";
30
29
  right: "right";
30
+ center: "center";
31
31
  justify: "justify";
32
32
  }>>;
33
33
  list: z.ZodOptional<z.ZodObject<{
@@ -181,8 +181,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
181
181
  paragraph: z.ZodOptional<z.ZodObject<{
182
182
  alignment: z.ZodOptional<z.ZodEnum<{
183
183
  left: "left";
184
- center: "center";
185
184
  right: "right";
185
+ center: "center";
186
186
  justify: "justify";
187
187
  }>>;
188
188
  list: z.ZodOptional<z.ZodObject<{
@@ -341,8 +341,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
341
341
  paragraph: z.ZodOptional<z.ZodObject<{
342
342
  alignment: z.ZodOptional<z.ZodEnum<{
343
343
  left: "left";
344
- center: "center";
345
344
  right: "right";
345
+ center: "center";
346
346
  justify: "justify";
347
347
  }>>;
348
348
  list: z.ZodOptional<z.ZodObject<{
@@ -496,8 +496,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
496
496
  paragraph: z.ZodOptional<z.ZodObject<{
497
497
  alignment: z.ZodOptional<z.ZodEnum<{
498
498
  left: "left";
499
- center: "center";
500
499
  right: "right";
500
+ center: "center";
501
501
  justify: "justify";
502
502
  }>>;
503
503
  list: z.ZodOptional<z.ZodObject<{
@@ -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";
643
642
  diagram: "diagram";
644
643
  table: "table";
645
644
  image: "image";
646
645
  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
- center: "center";
714
713
  right: "right";
714
+ center: "center";
715
715
  justify: "justify";
716
716
  }>>;
717
717
  list: z.ZodOptional<z.ZodObject<{
@@ -7,7 +7,7 @@ const SCHEMA_FILE_NAMES = {
7
7
  ContentDocument: "content-document.schema.json"
8
8
  };
9
9
  function schemaUriFor(kind) {
10
- return `https://cdn.jsdelivr.net/npm/document-schema.js@7.14.1/schemas/${SCHEMA_FILE_NAMES[kind]}`;
10
+ return `https://cdn.jsdelivr.net/npm/document-schema.js@7.15.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.1")) throw new SchemaVersionMismatchError(value.$schema, parts.version, "7.14.1");
105
+ if (majorVersionOf(parts.version) !== majorVersionOf("7.15.1")) throw new SchemaVersionMismatchError(value.$schema, parts.version, "7.15.1");
106
106
  switch (kind) {
107
107
  case "DocumentTree": return {
108
108
  kind,
@@ -1,4 +1,4 @@
1
- import { C as ContentDocument } from "./content-DZDor2Ct.cjs";
1
+ import { C as ContentDocument } from "./content-Dg9cb8mF.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-Cj_IC0ge.js";
1
+ import { C as ContentDocument } from "./content-BMrK9SrW.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.1/schemas/${SCHEMA_FILE_NAMES[kind]}`;
9
+ return `https://cdn.jsdelivr.net/npm/document-schema.js@7.15.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.1")) throw new SchemaVersionMismatchError(value.$schema, parts.version, "7.14.1");
104
+ if (majorVersionOf(parts.version) !== majorVersionOf("7.15.1")) throw new SchemaVersionMismatchError(value.$schema, parts.version, "7.15.1");
105
105
  switch (kind) {
106
106
  case "DocumentTree": return {
107
107
  kind,
@@ -2,8 +2,8 @@ import { z } from "zod";
2
2
  //#region src/style.d.ts
3
3
  declare const AlignmentSchema: z.ZodEnum<{
4
4
  left: "left";
5
- center: "center";
6
5
  right: "right";
6
+ center: "center";
7
7
  justify: "justify";
8
8
  }>;
9
9
  type Alignment = z.infer<typeof AlignmentSchema>;
@@ -2,8 +2,8 @@ import { z } from "zod";
2
2
  //#region src/style.d.ts
3
3
  declare const AlignmentSchema: z.ZodEnum<{
4
4
  left: "left";
5
- center: "center";
6
5
  right: "right";
6
+ center: "center";
7
7
  justify: "justify";
8
8
  }>;
9
9
  type Alignment = z.infer<typeof AlignmentSchema>;
package/dist/style.d.cts CHANGED
@@ -1,2 +1,2 @@
1
- import { a as LayoutFontSchema, i as LayoutFont, n as AlignmentSchema, o as TextDirection, r as DEFAULT_LAYOUT_FONT, s as TextDirectionSchema, t as Alignment } from "./style-D06NwxAJ.cjs";
1
+ import { a as LayoutFontSchema, i as LayoutFont, n as AlignmentSchema, o as TextDirection, r as DEFAULT_LAYOUT_FONT, s as TextDirectionSchema, t as Alignment } from "./style-BGMcYrD2.cjs";
2
2
  export { Alignment, AlignmentSchema, DEFAULT_LAYOUT_FONT, LayoutFont, LayoutFontSchema, TextDirection, TextDirectionSchema };
package/dist/style.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { a as LayoutFontSchema, i as LayoutFont, n as AlignmentSchema, o as TextDirection, r as DEFAULT_LAYOUT_FONT, s as TextDirectionSchema, t as Alignment } from "./style-D06NwxAJ.js";
1
+ import { a as LayoutFontSchema, i as LayoutFont, n as AlignmentSchema, o as TextDirection, r as DEFAULT_LAYOUT_FONT, s as TextDirectionSchema, t as Alignment } from "./style-BGMcYrD2.js";
2
2
  export { Alignment, AlignmentSchema, DEFAULT_LAYOUT_FONT, LayoutFont, LayoutFontSchema, TextDirection, TextDirectionSchema };
@@ -9,10 +9,10 @@ function tableCellRowSpan(cell) {
9
9
  return cell.rowSpan ?? 1;
10
10
  }
11
11
  /**
12
- * The table's grid width. For a table obeying the dense rule this is `columnWidthsPt.length` and every row's `cells.length` alike; taking the largest of them is what lets a reader mid-construction, or a table whose source declared a grid narrower than a row actually uses, still be walked without the walk inventing a narrower grid than the rows occupy.
12
+ * The table's grid width. For a table obeying the dense rule this is `columns.length` and every row's `cells.length` alike; taking the largest of them is what lets a reader mid-construction, or a table whose source declared a grid narrower than a row actually uses, still be walked without the walk inventing a narrower grid than the rows occupy.
13
13
  */
14
14
  function tableGridColumnCount(table) {
15
- let count = table.columnWidthsPt.length;
15
+ let count = table.columns.length;
16
16
  for (const row of table.rows) count = Math.max(count, row.cells.length);
17
17
  return count;
18
18
  }
@@ -102,7 +102,7 @@ function anchorFault(anchor, row, rowCount) {
102
102
  *
103
103
  * Rows are compared with each other before any position is classified, since an anchor's footprint can only be measured against a grid every row shares; the positions are then checked in row-major order, so the fault returned is the earliest one in reading order.
104
104
  *
105
- * The check states the whole of the rule and nothing beyond it: a table with no rows, or whose rows are all empty, has no fault, and neither `columnWidthsPt` nor a cell's own properties other than its blocks and spans are consulted.
105
+ * The check states the whole of the rule and nothing beyond it: a table with no rows, or whose rows are all empty, has no fault, and neither `columns` nor a cell's own properties other than its blocks and spans are consulted.
106
106
  */
107
107
  function findTableGridFault(table) {
108
108
  const gridColumnCount = widestRowLength(table);
@@ -1,12 +1,12 @@
1
- import { o as TextDirection } from "./style-D06NwxAJ.cjs";
2
- import { _n as ContentTableRow, hn as ContentTableCell, mn as ContentTable } from "./content-DZDor2Ct.cjs";
1
+ import { o as TextDirection } from "./style-BGMcYrD2.cjs";
2
+ import { hn as ContentTableCell, mn as ContentTable, yn as ContentTableRow } from "./content-Dg9cb8mF.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;
6
6
  /** The number of grid rows a cell occupies; an absent `rowSpan` means the cell occupies its own row only. */
7
7
  declare function tableCellRowSpan(cell: ContentTableCell): number;
8
8
  /**
9
- * The table's grid width. For a table obeying the dense rule this is `columnWidthsPt.length` and every row's `cells.length` alike; taking the largest of them is what lets a reader mid-construction, or a table whose source declared a grid narrower than a row actually uses, still be walked without the walk inventing a narrower grid than the rows occupy.
9
+ * The table's grid width. For a table obeying the dense rule this is `columns.length` and every row's `cells.length` alike; taking the largest of them is what lets a reader mid-construction, or a table whose source declared a grid narrower than a row actually uses, still be walked without the walk inventing a narrower grid than the rows occupy.
10
10
  */
11
11
  declare function tableGridColumnCount(table: ContentTable): number;
12
12
  /** A grid position holding a merged region's anchor, or an unmerged cell (which is its own one-position region's anchor). */
@@ -72,7 +72,7 @@ type TableGridFault = {
72
72
  *
73
73
  * Rows are compared with each other before any position is classified, since an anchor's footprint can only be measured against a grid every row shares; the positions are then checked in row-major order, so the fault returned is the earliest one in reading order.
74
74
  *
75
- * The check states the whole of the rule and nothing beyond it: a table with no rows, or whose rows are all empty, has no fault, and neither `columnWidthsPt` nor a cell's own properties other than its blocks and spans are consulted.
75
+ * The check states the whole of the rule and nothing beyond it: a table with no rows, or whose rows are all empty, has no fault, and neither `columns` nor a cell's own properties other than its blocks and spans are consulted.
76
76
  */
77
77
  declare function findTableGridFault(table: ContentTable): TableGridFault | undefined;
78
78
  /**
@@ -1,12 +1,12 @@
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";
1
+ import { o as TextDirection } from "./style-BGMcYrD2.js";
2
+ import { hn as ContentTableCell, mn as ContentTable, yn as ContentTableRow } from "./content-BMrK9SrW.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;
6
6
  /** The number of grid rows a cell occupies; an absent `rowSpan` means the cell occupies its own row only. */
7
7
  declare function tableCellRowSpan(cell: ContentTableCell): number;
8
8
  /**
9
- * The table's grid width. For a table obeying the dense rule this is `columnWidthsPt.length` and every row's `cells.length` alike; taking the largest of them is what lets a reader mid-construction, or a table whose source declared a grid narrower than a row actually uses, still be walked without the walk inventing a narrower grid than the rows occupy.
9
+ * The table's grid width. For a table obeying the dense rule this is `columns.length` and every row's `cells.length` alike; taking the largest of them is what lets a reader mid-construction, or a table whose source declared a grid narrower than a row actually uses, still be walked without the walk inventing a narrower grid than the rows occupy.
10
10
  */
11
11
  declare function tableGridColumnCount(table: ContentTable): number;
12
12
  /** A grid position holding a merged region's anchor, or an unmerged cell (which is its own one-position region's anchor). */
@@ -72,7 +72,7 @@ type TableGridFault = {
72
72
  *
73
73
  * Rows are compared with each other before any position is classified, since an anchor's footprint can only be measured against a grid every row shares; the positions are then checked in row-major order, so the fault returned is the earliest one in reading order.
74
74
  *
75
- * The check states the whole of the rule and nothing beyond it: a table with no rows, or whose rows are all empty, has no fault, and neither `columnWidthsPt` nor a cell's own properties other than its blocks and spans are consulted.
75
+ * The check states the whole of the rule and nothing beyond it: a table with no rows, or whose rows are all empty, has no fault, and neither `columns` nor a cell's own properties other than its blocks and spans are consulted.
76
76
  */
77
77
  declare function findTableGridFault(table: ContentTable): TableGridFault | undefined;
78
78
  /**
@@ -8,10 +8,10 @@ function tableCellRowSpan(cell) {
8
8
  return cell.rowSpan ?? 1;
9
9
  }
10
10
  /**
11
- * The table's grid width. For a table obeying the dense rule this is `columnWidthsPt.length` and every row's `cells.length` alike; taking the largest of them is what lets a reader mid-construction, or a table whose source declared a grid narrower than a row actually uses, still be walked without the walk inventing a narrower grid than the rows occupy.
11
+ * The table's grid width. For a table obeying the dense rule this is `columns.length` and every row's `cells.length` alike; taking the largest of them is what lets a reader mid-construction, or a table whose source declared a grid narrower than a row actually uses, still be walked without the walk inventing a narrower grid than the rows occupy.
12
12
  */
13
13
  function tableGridColumnCount(table) {
14
- let count = table.columnWidthsPt.length;
14
+ let count = table.columns.length;
15
15
  for (const row of table.rows) count = Math.max(count, row.cells.length);
16
16
  return count;
17
17
  }
@@ -101,7 +101,7 @@ function anchorFault(anchor, row, rowCount) {
101
101
  *
102
102
  * Rows are compared with each other before any position is classified, since an anchor's footprint can only be measured against a grid every row shares; the positions are then checked in row-major order, so the fault returned is the earliest one in reading order.
103
103
  *
104
- * The check states the whole of the rule and nothing beyond it: a table with no rows, or whose rows are all empty, has no fault, and neither `columnWidthsPt` nor a cell's own properties other than its blocks and spans are consulted.
104
+ * The check states the whole of the rule and nothing beyond it: a table with no rows, or whose rows are all empty, has no fault, and neither `columns` nor a cell's own properties other than its blocks and spans are consulted.
105
105
  */
106
106
  function findTableGridFault(table) {
107
107
  const gridColumnCount = widestRowLength(table);