document-content-model 7.14.1 → 7.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/dist/codec.d.cts +1 -1
  2. package/dist/codec.d.ts +1 -1
  3. package/dist/{construct-C9cYkjnd.d.cts → construct-GVdTKrE7.d.cts} +3 -3
  4. package/dist/{construct-C9cYkjnd.d.ts → construct-GVdTKrE7.d.ts} +3 -3
  5. package/dist/construct.d.cts +1 -1
  6. package/dist/construct.d.ts +1 -1
  7. package/dist/{content-Cj_IC0ge.d.ts → content-BzGOsekw.d.ts} +124 -113
  8. package/dist/content-json-schema-defs.cjs +15 -6
  9. package/dist/content-json-schema-defs.js +15 -6
  10. package/dist/{content-DZDor2Ct.d.cts → content-lXpPw1nC.d.cts} +124 -113
  11. package/dist/content.cjs +10 -2
  12. package/dist/content.d.cts +2 -2
  13. package/dist/content.d.ts +2 -2
  14. package/dist/content.js +10 -3
  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.cjs +1 -0
  24. package/dist/index.d.cts +4 -4
  25. package/dist/index.d.ts +4 -4
  26. package/dist/index.js +2 -2
  27. package/dist/{package-node-DBtKtaqn.d.cts → package-node-CWW0Evpn.d.cts} +40 -40
  28. package/dist/{package-node-SBZNVEGu.d.ts → package-node-DosdPQ6x.d.ts} +40 -40
  29. package/dist/package-node.d.cts +1 -1
  30. package/dist/package-node.d.ts +1 -1
  31. package/dist/package.d.cts +2 -2
  32. package/dist/package.d.ts +2 -2
  33. package/dist/schema-io.cjs +2 -2
  34. package/dist/schema-io.d.cts +1 -1
  35. package/dist/schema-io.d.ts +1 -1
  36. package/dist/schema-io.js +2 -2
  37. package/dist/table-grid.cjs +3 -3
  38. package/dist/table-grid.d.cts +3 -3
  39. package/dist/table-grid.d.ts +3 -3
  40. package/dist/table-grid.js +3 -3
  41. package/package.json +1 -1
  42. package/schemas/content-document.schema.json +35 -20
  43. package/schemas/document-tree.schema.json +22 -7
@@ -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-DZDor2Ct.cjs";
2
- import { a as ConstructDescriptor } from "./construct-C9cYkjnd.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-lXpPw1nC.cjs";
2
+ import { a as ConstructDescriptor } from "./construct-GVdTKrE7.cjs";
3
3
  import { z } from "zod";
4
4
  //#region src/package-node.d.ts
5
5
  declare const SectionDescriptorSchema: z.ZodObject<{
@@ -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<{
@@ -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;
@@ -617,11 +617,11 @@ declare const SheetDescriptorSchema: z.ZodObject<{
617
617
  endColumn: z.ZodNumber;
618
618
  }, z.core.$strip>>;
619
619
  type: z.ZodEnum<{
620
+ decimal: "decimal";
621
+ list: "list";
620
622
  date: "date";
621
623
  custom: "custom";
622
624
  time: "time";
623
- decimal: "decimal";
624
- list: "list";
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<{
@@ -1482,12 +1482,12 @@ declare const HeadingParagraphSchema: z.ZodObject<{
1482
1482
  descriptor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1483
1483
  kind: z.ZodLiteral<"contentControl">;
1484
1484
  controlType: z.ZodEnum<{
1485
+ date: "date";
1485
1486
  richText: "richText";
1486
1487
  plainText: "plainText";
1487
1488
  checkbox: "checkbox";
1488
1489
  dropDown: "dropDown";
1489
1490
  comboBox: "comboBox";
1490
- date: "date";
1491
1491
  picture: "picture";
1492
1492
  repeatingSection: "repeatingSection";
1493
1493
  button: "button";
@@ -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<{
@@ -1907,12 +1907,12 @@ declare const ListParagraphSchema: z.ZodObject<{
1907
1907
  descriptor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1908
1908
  kind: z.ZodLiteral<"contentControl">;
1909
1909
  controlType: z.ZodEnum<{
1910
+ date: "date";
1910
1911
  richText: "richText";
1911
1912
  plainText: "plainText";
1912
1913
  checkbox: "checkbox";
1913
1914
  dropDown: "dropDown";
1914
1915
  comboBox: "comboBox";
1915
- date: "date";
1916
1916
  picture: "picture";
1917
1917
  repeatingSection: "repeatingSection";
1918
1918
  button: "button";
@@ -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-Cj_IC0ge.js";
2
- import { a as ConstructDescriptor } from "./construct-C9cYkjnd.js";
1
+ import { D as ContentEmbeddedObject, Gt as ContentSheetImage, W as ContentFormula, _ as ContentConstructEnd, a as ContentBlock, wn as ContentVector, y as ContentConstructStart } from "./content-BzGOsekw.js";
2
+ import { a as ConstructDescriptor } from "./construct-GVdTKrE7.js";
3
3
  import { z } from "zod";
4
4
  //#region src/package-node.d.ts
5
5
  declare const SectionDescriptorSchema: z.ZodObject<{
@@ -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<{
@@ -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;
@@ -617,11 +617,11 @@ declare const SheetDescriptorSchema: z.ZodObject<{
617
617
  endColumn: z.ZodNumber;
618
618
  }, z.core.$strip>>;
619
619
  type: z.ZodEnum<{
620
+ decimal: "decimal";
621
+ list: "list";
620
622
  date: "date";
621
623
  custom: "custom";
622
624
  time: "time";
623
- decimal: "decimal";
624
- list: "list";
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<{
@@ -1482,12 +1482,12 @@ declare const HeadingParagraphSchema: z.ZodObject<{
1482
1482
  descriptor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1483
1483
  kind: z.ZodLiteral<"contentControl">;
1484
1484
  controlType: z.ZodEnum<{
1485
+ date: "date";
1485
1486
  richText: "richText";
1486
1487
  plainText: "plainText";
1487
1488
  checkbox: "checkbox";
1488
1489
  dropDown: "dropDown";
1489
1490
  comboBox: "comboBox";
1490
- date: "date";
1491
1491
  picture: "picture";
1492
1492
  repeatingSection: "repeatingSection";
1493
1493
  button: "button";
@@ -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<{
@@ -1907,12 +1907,12 @@ declare const ListParagraphSchema: z.ZodObject<{
1907
1907
  descriptor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1908
1908
  kind: z.ZodLiteral<"contentControl">;
1909
1909
  controlType: z.ZodEnum<{
1910
+ date: "date";
1910
1911
  richText: "richText";
1911
1912
  plainText: "plainText";
1912
1913
  checkbox: "checkbox";
1913
1914
  dropDown: "dropDown";
1914
1915
  comboBox: "comboBox";
1915
- date: "date";
1916
1916
  picture: "picture";
1917
1917
  repeatingSection: "repeatingSection";
1918
1918
  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-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-CWW0Evpn.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-DosdPQ6x.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-CWW0Evpn.cjs";
4
4
  import { z } from "zod";
5
5
  //#region src/package.d.ts
6
6
  declare const TreeEmbeddedFontSchema: 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<{
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-DosdPQ6x.js";
4
4
  import { z } from "zod";
5
5
  //#region src/package.d.ts
6
6
  declare const TreeEmbeddedFontSchema: 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<{
@@ -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.0/schemas/${SCHEMA_FILE_NAMES[kind]}`;
11
11
  }
12
12
  const SCHEMA_URI_PATTERN = /^https:\/\/cdn\.jsdelivr\.net\/npm\/document-schema\.js@([^/]+)\/schemas\/(document-tree|document-package|content-document|layout-document)\.schema\.json$/;
13
13
  function parseSchemaUri(uri) {
@@ -102,7 +102,7 @@ function documentFromJson(value) {
102
102
  if (parts.stem === "document-package") throw new DocumentPackageRenamedError(value.$schema);
103
103
  const kind = kindForFileStem(parts.stem);
104
104
  if (kind === void 0) throw new UnrecognizedDocumentSchemaError(value.$schema);
105
- if (majorVersionOf(parts.version) !== majorVersionOf("7.14.1")) throw new SchemaVersionMismatchError(value.$schema, parts.version, "7.14.1");
105
+ if (majorVersionOf(parts.version) !== majorVersionOf("7.15.0")) throw new SchemaVersionMismatchError(value.$schema, parts.version, "7.15.0");
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-lXpPw1nC.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-BzGOsekw.js";
2
2
  import { DocumentTree } from "./package.js";
3
3
  //#region src/schema-io.d.ts
4
4
  type DocumentSchemaKind = "DocumentTree" | "ContentDocument";