document-content-model 7.9.0 → 7.10.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 (49) hide show
  1. package/dist/codec.d.cts +1 -1
  2. package/dist/codec.d.ts +1 -1
  3. package/dist/{construct-C4XiF8OW.d.cts → construct-C9cYkjnd.d.cts} +6 -6
  4. package/dist/{construct-C4XiF8OW.d.ts → construct-C9cYkjnd.d.ts} +6 -6
  5. package/dist/construct.d.cts +1 -1
  6. package/dist/construct.d.ts +1 -1
  7. package/dist/{content-C1hJ6olW.d.ts → content-Uiq081CA.d.ts} +53 -40
  8. package/dist/{content-DN5CqH6Y.d.cts → content-VC9cnoCv.d.cts} +53 -40
  9. package/dist/content-json-schema-defs.cjs +17 -0
  10. package/dist/content-json-schema-defs.js +17 -0
  11. package/dist/content.cjs +1 -0
  12. package/dist/content.d.cts +1 -1
  13. package/dist/content.d.ts +1 -1
  14. package/dist/content.js +1 -0
  15. package/dist/decompose.d.cts +2 -2
  16. package/dist/decompose.d.ts +2 -2
  17. package/dist/definitions.d.cts +4 -4
  18. package/dist/definitions.d.ts +4 -4
  19. package/dist/factor-styles.cjs +2 -1
  20. package/dist/factor-styles.d.cts +1 -1
  21. package/dist/factor-styles.d.ts +1 -1
  22. package/dist/factor-styles.js +2 -1
  23. package/dist/flatten.d.cts +1 -1
  24. package/dist/flatten.d.ts +1 -1
  25. package/dist/index.cjs +1 -0
  26. package/dist/index.d.cts +6 -6
  27. package/dist/index.d.ts +6 -6
  28. package/dist/index.js +2 -2
  29. package/dist/{package-node-DktLHAKG.d.cts → package-node-B0czXNHl.d.cts} +14 -13
  30. package/dist/{package-node-B9aFWtrZ.d.ts → package-node-CnUkCuRc.d.ts} +14 -13
  31. package/dist/package-node.d.cts +1 -1
  32. package/dist/package-node.d.ts +1 -1
  33. package/dist/package.cjs +8 -0
  34. package/dist/package.d.cts +44 -7
  35. package/dist/package.d.ts +44 -7
  36. package/dist/package.js +8 -1
  37. package/dist/schema-io.cjs +2 -2
  38. package/dist/schema-io.d.cts +1 -1
  39. package/dist/schema-io.d.ts +1 -1
  40. package/dist/schema-io.js +2 -2
  41. package/dist/{style-D06NwxAJ.d.cts → style-BGMcYrD2.d.cts} +1 -1
  42. package/dist/{style-D06NwxAJ.d.ts → style-BGMcYrD2.d.ts} +1 -1
  43. package/dist/style.d.cts +1 -1
  44. package/dist/style.d.ts +1 -1
  45. package/dist/text-layout.d.cts +1 -1
  46. package/dist/text-layout.d.ts +1 -1
  47. package/package.json +1 -1
  48. package/schemas/content-document.schema.json +46 -13
  49. package/schemas/document-tree.schema.json +60 -3
@@ -3,7 +3,7 @@ import { p as MathExpression } from "./math-BScHxedi.cjs";
3
3
  import { n as Color } from "./color-AELCDH_b.cjs";
4
4
  import { r as LayoutFrame, t as Box } from "./geometry-CvcjSwnA.cjs";
5
5
  import { r as SourceResidue } from "./source-Bas5ol6f.cjs";
6
- import { o as TextDirection } from "./style-D06NwxAJ.cjs";
6
+ import { o as TextDirection } from "./style-BGMcYrD2.cjs";
7
7
  import { z } from "zod";
8
8
  //#region src/content.d.ts
9
9
  type FusedNode<T> = T & {
@@ -205,12 +205,12 @@ declare const RunConstructExtentSchema: z.ZodObject<{
205
205
  descriptor: z.ZodDiscriminatedUnion<[z.ZodObject<{
206
206
  kind: z.ZodLiteral<"contentControl">;
207
207
  controlType: z.ZodEnum<{
208
- date: "date";
209
208
  richText: "richText";
210
209
  plainText: "plainText";
211
210
  checkbox: "checkbox";
212
211
  dropDown: "dropDown";
213
212
  comboBox: "comboBox";
213
+ date: "date";
214
214
  picture: "picture";
215
215
  repeatingSection: "repeatingSection";
216
216
  button: "button";
@@ -274,10 +274,10 @@ declare const RunConstructExtentSchema: z.ZodObject<{
274
274
  }, z.core.$strict>, z.ZodObject<{
275
275
  kind: z.ZodLiteral<"anchor">;
276
276
  anchorType: z.ZodEnum<{
277
- comment: "comment";
278
277
  bookmark: "bookmark";
279
278
  footnote: "footnote";
280
279
  endnote: "endnote";
280
+ comment: "comment";
281
281
  }>;
282
282
  name: z.ZodString;
283
283
  definition: z.ZodOptional<z.ZodString>;
@@ -588,12 +588,12 @@ declare const ContentParagraphSchema: z.ZodObject<{
588
588
  descriptor: z.ZodDiscriminatedUnion<[z.ZodObject<{
589
589
  kind: z.ZodLiteral<"contentControl">;
590
590
  controlType: z.ZodEnum<{
591
- date: "date";
592
591
  richText: "richText";
593
592
  plainText: "plainText";
594
593
  checkbox: "checkbox";
595
594
  dropDown: "dropDown";
596
595
  comboBox: "comboBox";
596
+ date: "date";
597
597
  picture: "picture";
598
598
  repeatingSection: "repeatingSection";
599
599
  button: "button";
@@ -657,10 +657,10 @@ declare const ContentParagraphSchema: z.ZodObject<{
657
657
  }, z.core.$strict>, z.ZodObject<{
658
658
  kind: z.ZodLiteral<"anchor">;
659
659
  anchorType: z.ZodEnum<{
660
- comment: "comment";
661
660
  bookmark: "bookmark";
662
661
  footnote: "footnote";
663
662
  endnote: "endnote";
663
+ comment: "comment";
664
664
  }>;
665
665
  name: z.ZodString;
666
666
  definition: z.ZodOptional<z.ZodString>;
@@ -784,8 +784,8 @@ declare const ContentParagraphSchema: z.ZodObject<{
784
784
  headingLevel: z.ZodOptional<z.ZodNumber>;
785
785
  alignment: z.ZodOptional<z.ZodEnum<{
786
786
  left: "left";
787
- center: "center";
788
787
  right: "right";
788
+ center: "center";
789
789
  justify: "justify";
790
790
  }>>;
791
791
  list: z.ZodOptional<z.ZodObject<{
@@ -921,10 +921,10 @@ declare const ContentFloatOriginSchema: z.ZodEnum<{
921
921
  type ContentFloatOrigin = z.infer<typeof ContentFloatOriginSchema>;
922
922
  declare const ContentFloatAlignSchema: z.ZodEnum<{
923
923
  left: "left";
924
- center: "center";
925
924
  right: "right";
926
925
  top: "top";
927
926
  bottom: "bottom";
927
+ center: "center";
928
928
  inside: "inside";
929
929
  outside: "outside";
930
930
  }>;
@@ -964,10 +964,10 @@ declare const ContentFloatAxisSchema: z.ZodUnion<readonly [z.ZodObject<{
964
964
  }>;
965
965
  align: z.ZodEnum<{
966
966
  left: "left";
967
- center: "center";
968
967
  right: "right";
969
968
  top: "top";
970
969
  bottom: "bottom";
970
+ center: "center";
971
971
  inside: "inside";
972
972
  outside: "outside";
973
973
  }>;
@@ -1009,10 +1009,10 @@ declare const ContentFloatPositionSchema: z.ZodObject<{
1009
1009
  }>;
1010
1010
  align: z.ZodEnum<{
1011
1011
  left: "left";
1012
- center: "center";
1013
1012
  right: "right";
1014
1013
  top: "top";
1015
1014
  bottom: "bottom";
1015
+ center: "center";
1016
1016
  inside: "inside";
1017
1017
  outside: "outside";
1018
1018
  }>;
@@ -1052,10 +1052,10 @@ declare const ContentFloatPositionSchema: z.ZodObject<{
1052
1052
  }>;
1053
1053
  align: z.ZodEnum<{
1054
1054
  left: "left";
1055
- center: "center";
1056
1055
  right: "right";
1057
1056
  top: "top";
1058
1057
  bottom: "bottom";
1058
+ center: "center";
1059
1059
  inside: "inside";
1060
1060
  outside: "outside";
1061
1061
  }>;
@@ -1159,10 +1159,10 @@ declare const ContentImageBlockSchema: z.ZodObject<{
1159
1159
  }>;
1160
1160
  align: z.ZodEnum<{
1161
1161
  left: "left";
1162
- center: "center";
1163
1162
  right: "right";
1164
1163
  top: "top";
1165
1164
  bottom: "bottom";
1165
+ center: "center";
1166
1166
  inside: "inside";
1167
1167
  outside: "outside";
1168
1168
  }>;
@@ -1202,10 +1202,10 @@ declare const ContentImageBlockSchema: z.ZodObject<{
1202
1202
  }>;
1203
1203
  align: z.ZodEnum<{
1204
1204
  left: "left";
1205
- center: "center";
1206
1205
  right: "right";
1207
1206
  top: "top";
1208
1207
  bottom: "bottom";
1208
+ center: "center";
1209
1209
  inside: "inside";
1210
1210
  outside: "outside";
1211
1211
  }>;
@@ -1305,12 +1305,12 @@ declare const ContentConstructStartSchema: z.ZodObject<{
1305
1305
  descriptor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1306
1306
  kind: z.ZodLiteral<"contentControl">;
1307
1307
  controlType: z.ZodEnum<{
1308
- date: "date";
1309
1308
  richText: "richText";
1310
1309
  plainText: "plainText";
1311
1310
  checkbox: "checkbox";
1312
1311
  dropDown: "dropDown";
1313
1312
  comboBox: "comboBox";
1313
+ date: "date";
1314
1314
  picture: "picture";
1315
1315
  repeatingSection: "repeatingSection";
1316
1316
  button: "button";
@@ -1374,10 +1374,10 @@ declare const ContentConstructStartSchema: z.ZodObject<{
1374
1374
  }, z.core.$strict>, z.ZodObject<{
1375
1375
  kind: z.ZodLiteral<"anchor">;
1376
1376
  anchorType: z.ZodEnum<{
1377
- comment: "comment";
1378
1377
  bookmark: "bookmark";
1379
1378
  footnote: "footnote";
1380
1379
  endnote: "endnote";
1380
+ comment: "comment";
1381
1381
  }>;
1382
1382
  name: z.ZodString;
1383
1383
  definition: z.ZodOptional<z.ZodString>;
@@ -1509,6 +1509,8 @@ interface ContentTableCell {
1509
1509
  sourcePath?: string;
1510
1510
  source?: SourceResidue;
1511
1511
  frames?: LayoutFrame[];
1512
+ origin?: ContentOrigin;
1513
+ interpretation?: ContentInterpretation;
1512
1514
  }
1513
1515
  interface ContentTableRow {
1514
1516
  cells: ContentTableCell[];
@@ -1522,6 +1524,8 @@ interface ContentTable {
1522
1524
  sourcePath?: string;
1523
1525
  source?: SourceResidue;
1524
1526
  frames?: LayoutFrame[];
1527
+ origin?: ContentOrigin;
1528
+ interpretation?: ContentInterpretation;
1525
1529
  }
1526
1530
  type ContentEmbeddedObjectKind = "formula" | "wordprocessing" | "presentation" | "spreadsheet" | "drawing" | "chart";
1527
1531
  interface ContentEmbeddedObject {
@@ -1533,6 +1537,8 @@ interface ContentEmbeddedObject {
1533
1537
  offsetXPt?: number;
1534
1538
  offsetYPt?: number;
1535
1539
  source?: SourceResidue;
1540
+ origin?: ContentOrigin;
1541
+ interpretation?: ContentInterpretation;
1536
1542
  }
1537
1543
  interface ContentEmbeddedObjectBlock extends ContentEmbeddedObject {
1538
1544
  kind: "embeddedObject";
@@ -1582,12 +1588,12 @@ declare const ContentEmbeddedObjectBlockSchema: z.ZodObject<{
1582
1588
  }, z.core.$strip>>;
1583
1589
  }, z.core.$strip>>;
1584
1590
  objectKind: z.ZodEnum<{
1591
+ chart: "chart";
1585
1592
  formula: "formula";
1586
1593
  wordprocessing: "wordprocessing";
1587
1594
  presentation: "presentation";
1588
1595
  spreadsheet: "spreadsheet";
1589
1596
  drawing: "drawing";
1590
- chart: "chart";
1591
1597
  }>;
1592
1598
  document: z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
1593
1599
  sections: z.ZodArray<z.ZodObject<{
@@ -1810,6 +1816,7 @@ declare const ContentEmbeddedObjectBlockSchema: z.ZodObject<{
1810
1816
  fontScale: z.ZodOptional<z.ZodNumber>;
1811
1817
  lineSpacingReduction: z.ZodOptional<z.ZodNumber>;
1812
1818
  paintOrder: z.ZodOptional<z.ZodNumber>;
1819
+ readingOrder: z.ZodOptional<z.ZodNumber>;
1813
1820
  sourcePath: z.ZodOptional<z.ZodString>;
1814
1821
  source: z.ZodOptional<z.ZodObject<{
1815
1822
  format: z.ZodEnum<{
@@ -2280,8 +2287,8 @@ declare const ContentEmbeddedObjectBlockSchema: z.ZodObject<{
2280
2287
  }, z.core.$strip>>;
2281
2288
  alignment: z.ZodOptional<z.ZodEnum<{
2282
2289
  left: "left";
2283
- center: "center";
2284
2290
  right: "right";
2291
+ center: "center";
2285
2292
  justify: "justify";
2286
2293
  }>>;
2287
2294
  verticalAlignment: z.ZodOptional<z.ZodEnum<{
@@ -2423,10 +2430,10 @@ declare const ContentEmbeddedObjectBlockSchema: z.ZodObject<{
2423
2430
  }>;
2424
2431
  align: z.ZodEnum<{
2425
2432
  left: "left";
2426
- center: "center";
2427
2433
  right: "right";
2428
2434
  top: "top";
2429
2435
  bottom: "bottom";
2436
+ center: "center";
2430
2437
  inside: "inside";
2431
2438
  outside: "outside";
2432
2439
  }>;
@@ -2466,10 +2473,10 @@ declare const ContentEmbeddedObjectBlockSchema: z.ZodObject<{
2466
2473
  }>;
2467
2474
  align: z.ZodEnum<{
2468
2475
  left: "left";
2469
- center: "center";
2470
2476
  right: "right";
2471
2477
  top: "top";
2472
2478
  bottom: "bottom";
2479
+ center: "center";
2473
2480
  inside: "inside";
2474
2481
  outside: "outside";
2475
2482
  }>;
@@ -2558,10 +2565,10 @@ declare const ContentEmbeddedObjectBlockSchema: z.ZodObject<{
2558
2565
  endColumn: z.ZodNumber;
2559
2566
  }, z.core.$strip>>;
2560
2567
  type: z.ZodEnum<{
2561
- decimal: "decimal";
2562
- list: "list";
2563
2568
  date: "date";
2564
2569
  custom: "custom";
2570
+ decimal: "decimal";
2571
+ list: "list";
2565
2572
  time: "time";
2566
2573
  whole: "whole";
2567
2574
  textLength: "textLength";
@@ -3350,6 +3357,7 @@ declare const ContentEmbeddedObjectBlockSchema: z.ZodObject<{
3350
3357
  fontScale: z.ZodOptional<z.ZodNumber>;
3351
3358
  lineSpacingReduction: z.ZodOptional<z.ZodNumber>;
3352
3359
  paintOrder: z.ZodOptional<z.ZodNumber>;
3360
+ readingOrder: z.ZodOptional<z.ZodNumber>;
3353
3361
  sourcePath: z.ZodOptional<z.ZodString>;
3354
3362
  source: z.ZodOptional<z.ZodObject<{
3355
3363
  format: z.ZodEnum<{
@@ -4592,9 +4600,9 @@ declare const ContentTableCellSchema: z.ZodObject<{
4592
4600
  }, z.core.$strip>>;
4593
4601
  }, z.core.$strip>>;
4594
4602
  verticalAlign: z.ZodOptional<z.ZodEnum<{
4595
- center: "center";
4596
4603
  top: "top";
4597
4604
  bottom: "bottom";
4605
+ center: "center";
4598
4606
  }>>;
4599
4607
  formula: z.ZodOptional<z.ZodString>;
4600
4608
  sourcePath: z.ZodOptional<z.ZodString>;
@@ -4819,9 +4827,9 @@ declare const ContentTableRowSchema: z.ZodObject<{
4819
4827
  }, z.core.$strip>>;
4820
4828
  }, z.core.$strip>>;
4821
4829
  verticalAlign: z.ZodOptional<z.ZodEnum<{
4822
- center: "center";
4823
4830
  top: "top";
4824
4831
  bottom: "bottom";
4832
+ center: "center";
4825
4833
  }>>;
4826
4834
  formula: z.ZodOptional<z.ZodString>;
4827
4835
  sourcePath: z.ZodOptional<z.ZodString>;
@@ -5081,9 +5089,9 @@ declare const ContentTableSchema: z.ZodObject<{
5081
5089
  }, z.core.$strip>>;
5082
5090
  }, z.core.$strip>>;
5083
5091
  verticalAlign: z.ZodOptional<z.ZodEnum<{
5084
- center: "center";
5085
5092
  top: "top";
5086
5093
  bottom: "bottom";
5094
+ center: "center";
5087
5095
  }>>;
5088
5096
  formula: z.ZodOptional<z.ZodString>;
5089
5097
  sourcePath: z.ZodOptional<z.ZodString>;
@@ -5279,6 +5287,7 @@ declare const ContentShapeSchema: z.ZodObject<{
5279
5287
  fontScale: z.ZodOptional<z.ZodNumber>;
5280
5288
  lineSpacingReduction: z.ZodOptional<z.ZodNumber>;
5281
5289
  paintOrder: z.ZodOptional<z.ZodNumber>;
5290
+ readingOrder: z.ZodOptional<z.ZodNumber>;
5282
5291
  sourcePath: z.ZodOptional<z.ZodString>;
5283
5292
  source: z.ZodOptional<z.ZodObject<{
5284
5293
  format: z.ZodEnum<{
@@ -5385,6 +5394,7 @@ declare const ContentSlideSchema: z.ZodObject<{
5385
5394
  fontScale: z.ZodOptional<z.ZodNumber>;
5386
5395
  lineSpacingReduction: z.ZodOptional<z.ZodNumber>;
5387
5396
  paintOrder: z.ZodOptional<z.ZodNumber>;
5397
+ readingOrder: z.ZodOptional<z.ZodNumber>;
5388
5398
  sourcePath: z.ZodOptional<z.ZodString>;
5389
5399
  source: z.ZodOptional<z.ZodObject<{
5390
5400
  format: z.ZodEnum<{
@@ -5806,8 +5816,8 @@ declare const ContentSheetCellSchema: z.ZodObject<{
5806
5816
  }, z.core.$strip>>;
5807
5817
  alignment: z.ZodOptional<z.ZodEnum<{
5808
5818
  left: "left";
5809
- center: "center";
5810
5819
  right: "right";
5820
+ center: "center";
5811
5821
  justify: "justify";
5812
5822
  }>>;
5813
5823
  verticalAlignment: z.ZodOptional<z.ZodEnum<{
@@ -5939,10 +5949,10 @@ declare const SheetRuleOperatorSchema: z.ZodEnum<{
5939
5949
  }>;
5940
5950
  type SheetRuleOperator = z.infer<typeof SheetRuleOperatorSchema>;
5941
5951
  declare const ContentSheetDataValidationTypeSchema: z.ZodEnum<{
5942
- decimal: "decimal";
5943
- list: "list";
5944
5952
  date: "date";
5945
5953
  custom: "custom";
5954
+ decimal: "decimal";
5955
+ list: "list";
5946
5956
  time: "time";
5947
5957
  whole: "whole";
5948
5958
  textLength: "textLength";
@@ -5956,10 +5966,10 @@ declare const ContentSheetDataValidationSchema: z.ZodObject<{
5956
5966
  endColumn: z.ZodNumber;
5957
5967
  }, z.core.$strip>>;
5958
5968
  type: z.ZodEnum<{
5959
- decimal: "decimal";
5960
- list: "list";
5961
5969
  date: "date";
5962
5970
  custom: "custom";
5971
+ decimal: "decimal";
5972
+ list: "list";
5963
5973
  time: "time";
5964
5974
  whole: "whole";
5965
5975
  textLength: "textLength";
@@ -6711,10 +6721,10 @@ declare const ContentSheetImageSchema: z.ZodObject<{
6711
6721
  }>;
6712
6722
  align: z.ZodEnum<{
6713
6723
  left: "left";
6714
- center: "center";
6715
6724
  right: "right";
6716
6725
  top: "top";
6717
6726
  bottom: "bottom";
6727
+ center: "center";
6718
6728
  inside: "inside";
6719
6729
  outside: "outside";
6720
6730
  }>;
@@ -6754,10 +6764,10 @@ declare const ContentSheetImageSchema: z.ZodObject<{
6754
6764
  }>;
6755
6765
  align: z.ZodEnum<{
6756
6766
  left: "left";
6757
- center: "center";
6758
6767
  right: "right";
6759
6768
  top: "top";
6760
6769
  bottom: "bottom";
6770
+ center: "center";
6761
6771
  inside: "inside";
6762
6772
  outside: "outside";
6763
6773
  }>;
@@ -7148,8 +7158,8 @@ declare const ContentSheetSchema: z.ZodObject<{
7148
7158
  }, z.core.$strip>>;
7149
7159
  alignment: z.ZodOptional<z.ZodEnum<{
7150
7160
  left: "left";
7151
- center: "center";
7152
7161
  right: "right";
7162
+ center: "center";
7153
7163
  justify: "justify";
7154
7164
  }>>;
7155
7165
  verticalAlignment: z.ZodOptional<z.ZodEnum<{
@@ -7291,10 +7301,10 @@ declare const ContentSheetSchema: z.ZodObject<{
7291
7301
  }>;
7292
7302
  align: z.ZodEnum<{
7293
7303
  left: "left";
7294
- center: "center";
7295
7304
  right: "right";
7296
7305
  top: "top";
7297
7306
  bottom: "bottom";
7307
+ center: "center";
7298
7308
  inside: "inside";
7299
7309
  outside: "outside";
7300
7310
  }>;
@@ -7334,10 +7344,10 @@ declare const ContentSheetSchema: z.ZodObject<{
7334
7344
  }>;
7335
7345
  align: z.ZodEnum<{
7336
7346
  left: "left";
7337
- center: "center";
7338
7347
  right: "right";
7339
7348
  top: "top";
7340
7349
  bottom: "bottom";
7350
+ center: "center";
7341
7351
  inside: "inside";
7342
7352
  outside: "outside";
7343
7353
  }>;
@@ -7426,10 +7436,10 @@ declare const ContentSheetSchema: z.ZodObject<{
7426
7436
  endColumn: z.ZodNumber;
7427
7437
  }, z.core.$strip>>;
7428
7438
  type: z.ZodEnum<{
7429
- decimal: "decimal";
7430
- list: "list";
7431
7439
  date: "date";
7432
7440
  custom: "custom";
7441
+ decimal: "decimal";
7442
+ list: "list";
7433
7443
  time: "time";
7434
7444
  whole: "whole";
7435
7445
  textLength: "textLength";
@@ -8880,6 +8890,7 @@ declare const ContentDrawPageSchema: z.ZodObject<{
8880
8890
  fontScale: z.ZodOptional<z.ZodNumber>;
8881
8891
  lineSpacingReduction: z.ZodOptional<z.ZodNumber>;
8882
8892
  paintOrder: z.ZodOptional<z.ZodNumber>;
8893
+ readingOrder: z.ZodOptional<z.ZodNumber>;
8883
8894
  sourcePath: z.ZodOptional<z.ZodString>;
8884
8895
  source: z.ZodOptional<z.ZodObject<{
8885
8896
  format: z.ZodEnum<{
@@ -9799,6 +9810,7 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
9799
9810
  fontScale: z.ZodOptional<z.ZodNumber>;
9800
9811
  lineSpacingReduction: z.ZodOptional<z.ZodNumber>;
9801
9812
  paintOrder: z.ZodOptional<z.ZodNumber>;
9813
+ readingOrder: z.ZodOptional<z.ZodNumber>;
9802
9814
  sourcePath: z.ZodOptional<z.ZodString>;
9803
9815
  source: z.ZodOptional<z.ZodObject<{
9804
9816
  format: z.ZodEnum<{
@@ -10269,8 +10281,8 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
10269
10281
  }, z.core.$strip>>;
10270
10282
  alignment: z.ZodOptional<z.ZodEnum<{
10271
10283
  left: "left";
10272
- center: "center";
10273
10284
  right: "right";
10285
+ center: "center";
10274
10286
  justify: "justify";
10275
10287
  }>>;
10276
10288
  verticalAlignment: z.ZodOptional<z.ZodEnum<{
@@ -10412,10 +10424,10 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
10412
10424
  }>;
10413
10425
  align: z.ZodEnum<{
10414
10426
  left: "left";
10415
- center: "center";
10416
10427
  right: "right";
10417
10428
  top: "top";
10418
10429
  bottom: "bottom";
10430
+ center: "center";
10419
10431
  inside: "inside";
10420
10432
  outside: "outside";
10421
10433
  }>;
@@ -10455,10 +10467,10 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
10455
10467
  }>;
10456
10468
  align: z.ZodEnum<{
10457
10469
  left: "left";
10458
- center: "center";
10459
10470
  right: "right";
10460
10471
  top: "top";
10461
10472
  bottom: "bottom";
10473
+ center: "center";
10462
10474
  inside: "inside";
10463
10475
  outside: "outside";
10464
10476
  }>;
@@ -10547,10 +10559,10 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
10547
10559
  endColumn: z.ZodNumber;
10548
10560
  }, z.core.$strip>>;
10549
10561
  type: z.ZodEnum<{
10550
- decimal: "decimal";
10551
- list: "list";
10552
10562
  date: "date";
10553
10563
  custom: "custom";
10564
+ decimal: "decimal";
10565
+ list: "list";
10554
10566
  time: "time";
10555
10567
  whole: "whole";
10556
10568
  textLength: "textLength";
@@ -11339,6 +11351,7 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
11339
11351
  fontScale: z.ZodOptional<z.ZodNumber>;
11340
11352
  lineSpacingReduction: z.ZodOptional<z.ZodNumber>;
11341
11353
  paintOrder: z.ZodOptional<z.ZodNumber>;
11354
+ readingOrder: z.ZodOptional<z.ZodNumber>;
11342
11355
  sourcePath: z.ZodOptional<z.ZodString>;
11343
11356
  source: z.ZodOptional<z.ZodObject<{
11344
11357
  format: z.ZodEnum<{
@@ -1010,6 +1010,7 @@ const CONTENT_DEFS = {
1010
1010
  minimum: 0
1011
1011
  },
1012
1012
  paintOrder: { type: "number" },
1013
+ readingOrder: { type: "number" },
1013
1014
  sourcePath: { type: "string" },
1014
1015
  source: { $ref: "#/$defs/SourceResidue" },
1015
1016
  frames: {
@@ -2901,6 +2902,22 @@ const CONTENT_DEFS = {
2901
2902
  required: ["id", "bases"],
2902
2903
  additionalProperties: false
2903
2904
  },
2905
+ TreeEmbeddedFont: {
2906
+ type: "object",
2907
+ properties: {
2908
+ family: { type: "string" },
2909
+ bold: { type: "boolean" },
2910
+ italic: { type: "boolean" },
2911
+ base64: { type: "string" }
2912
+ },
2913
+ required: [
2914
+ "family",
2915
+ "bold",
2916
+ "italic",
2917
+ "base64"
2918
+ ],
2919
+ additionalProperties: false
2920
+ },
2904
2921
  SymbolTable: {
2905
2922
  type: "object",
2906
2923
  properties: {
@@ -1009,6 +1009,7 @@ const CONTENT_DEFS = {
1009
1009
  minimum: 0
1010
1010
  },
1011
1011
  paintOrder: { type: "number" },
1012
+ readingOrder: { type: "number" },
1012
1013
  sourcePath: { type: "string" },
1013
1014
  source: { $ref: "#/$defs/SourceResidue" },
1014
1015
  frames: {
@@ -2900,6 +2901,22 @@ const CONTENT_DEFS = {
2900
2901
  required: ["id", "bases"],
2901
2902
  additionalProperties: false
2902
2903
  },
2904
+ TreeEmbeddedFont: {
2905
+ type: "object",
2906
+ properties: {
2907
+ family: { type: "string" },
2908
+ bold: { type: "boolean" },
2909
+ italic: { type: "boolean" },
2910
+ base64: { type: "string" }
2911
+ },
2912
+ required: [
2913
+ "family",
2914
+ "bold",
2915
+ "italic",
2916
+ "base64"
2917
+ ],
2918
+ additionalProperties: false
2919
+ },
2903
2920
  SymbolTable: {
2904
2921
  type: "object",
2905
2922
  properties: {
package/dist/content.cjs CHANGED
@@ -445,6 +445,7 @@ const ContentShapeSchema = zod.z.object({
445
445
  fontScale: zod.z.number().positive().optional(),
446
446
  lineSpacingReduction: zod.z.number().nonnegative().optional(),
447
447
  paintOrder: zod.z.number().optional(),
448
+ readingOrder: zod.z.number().optional(),
448
449
  sourcePath: zod.z.string().optional(),
449
450
  source: require_source.SourceResidueSchema.optional(),
450
451
  frames: zod.z.array(require_geometry.LayoutFrameSchema).optional(),
@@ -1,2 +1,2 @@
1
- import { $ as ContentHatchStyleSchema, $t as ContentSheetRepeatRange, A as ContentEmbeddedObjectKind, An as RunConstructExtent, At as ContentSheetCellComment, B as ContentFloatPosition, Bn as isContentConstructEnd, Bt as ContentSheetConditionalFormatValueSchema, C as ContentDocument, Cn as ContentVectorSchema, Ct as ContentRunSchema, D as ContentEmbeddedObject, Dn as IMAGE_FORMATS, Dt as ContentShapeSchema, E as ContentDrawPageSchema, En as FusedNode, Et as ContentShape, F as ContentFloatAlignSchema, Fn as clampHeadingLevel, Ft as ContentSheetConditionalFormat, G as ContentFormulaSchema, Gt as ContentSheetImage, H as ContentFont, Hn as isRunConstructExtent, Ht as ContentSheetDataValidationSchema, I as ContentFloatAxis, In as contentDocumentSharedFields, It as ContentSheetConditionalFormatSchema, J as ContentGradientStyle, Jt as ContentSheetPrintRangeSchema, K as ContentGradientFill, Kt as ContentSheetImageSchema, L as ContentFloatAxisSchema, Ln as findConstructMarkerImbalance, Lt as ContentSheetConditionalFormatStyle, M as ContentFillPattern, Mn as RunConstructFault, Mt as ContentSheetCellSchema, N as ContentFillPatternSchema, Nn as SheetRuleOperator, Nt as ContentSheetColumn, O as ContentEmbeddedObjectBlock, On as ImageFormat, Ot as ContentSheet, P as ContentFloatAlign, Pn as SheetRuleOperatorSchema, Pt as ContentSheetColumnSchema, Q as ContentHatchStyle, Qt as ContentSheetRangeSchema, R as ContentFloatOrigin, Rn as findRunConstructFault, Rt as ContentSheetConditionalFormatStyleSchema, S as ContentDefinedNameSchema, Sn as ContentVector, St as ContentRun, T as ContentDrawPage, Tn as DecimalStringSchema, Tt as ContentSectionSchema, U as ContentFontSchema, Un as resolveCellFillColor, Ut as ContentSheetDataValidationType, V as ContentFloatPositionSchema, Vn as isContentConstructStart, Vt as ContentSheetDataValidation, W as ContentFormula, Wn as unrecognizedFillKind, Wt as ContentSheetDataValidationTypeSchema, X as ContentHatchFill, Xt as ContentSheetPrintSettingsSchema, Y as ContentGradientStyleSchema, Yt as ContentSheetPrintSettings, Z as ContentHatchFillSchema, Zt as ContentSheetRange, _ as ContentConstructEnd, _n as ContentTableRow, _t as ContentParagraphSchema, a as ContentBlock, an as ContentSlideSchema, at as ContentInterpretationSchema, b as ContentConstructStartSchema, bn as ContentTranscript, bt as ContentPathSegment, c as ContentBorderSchema, cn as ContentStrokeDashSchema, ct as ContentOrigin, d as ContentCellFill, dn as ContentStrokeStyleSchema, dt as ContentPageBreakSchema, en as ContentSheetRepeatRangeSchema, et as ContentImageBlock, f as ContentCellFillSchema, fn as ContentSubpath, ft as ContentPageFurniture, g as ContentCellValueSchema, gn as ContentTableCellSchema, gt as ContentParagraphBordersSchema, h as ContentCellValue, hn as ContentTableCell, ht as ContentParagraphBorders, i as ContentBitmapFillSchema, in as ContentSlide, it as ContentInterpretation, j as ContentEmbeddedObjectSchema, jn as RunConstructExtentSchema, jt as ContentSheetCellCommentSchema, k as ContentEmbeddedObjectBlockSchema, kn as RUN_FONT_PROPERTY_SHAPE, kt as ContentSheetCell, l as ContentCellBorders, ln as ContentStrokeSchema, lt as ContentOriginSchema, m as ContentCellPatternTypeSchema, mn as ContentTable, mt as ContentParagraph, n as ConstructMarkerImbalance, nn as ContentSheetRowSchema, nt as ContentImageOriginal, o as ContentBlockSchema, on as ContentStroke, ot as ContentListMembership, p as ContentCellPatternType, pn as ContentSubpathSchema, pt as ContentPageFurnitureSchema, q as ContentGradientFillSchema, qt as ContentSheetPrintRange, r as ContentBitmapFill, rn as ContentSheetSchema, rt as ContentImageOriginalSchema, s as ContentBorder, sn as ContentStrokeDash, st as ContentListMembershipSchema, t as CONTENT_ANNOTATION_FIELDS, tn as ContentSheetRow, tt as ContentImageBlockSchema, u as ContentCellBordersSchema, un as ContentStrokeStyle, ut as ContentPageBreak, v as ContentConstructEndSchema, vn as ContentTableRowSchema, vt as ContentPathPoint, w as ContentDocumentSchema, wn as DecimalString, wt as ContentSection, x as ContentDefinedName, xn as ContentTranscriptSchema, xt as ContentPathSegmentSchema, y as ContentConstructStart, yn as ContentTableSchema, yt as ContentPathPointSchema, z as ContentFloatOriginSchema, zn as isContentBlock, zt as ContentSheetConditionalFormatValue } from "./content-DN5CqH6Y.cjs";
1
+ import { $ as ContentHatchStyleSchema, $t as ContentSheetRepeatRange, A as ContentEmbeddedObjectKind, An as RunConstructExtent, At as ContentSheetCellComment, B as ContentFloatPosition, Bn as isContentConstructEnd, Bt as ContentSheetConditionalFormatValueSchema, C as ContentDocument, Cn as ContentVectorSchema, Ct as ContentRunSchema, D as ContentEmbeddedObject, Dn as IMAGE_FORMATS, Dt as ContentShapeSchema, E as ContentDrawPageSchema, En as FusedNode, Et as ContentShape, F as ContentFloatAlignSchema, Fn as clampHeadingLevel, Ft as ContentSheetConditionalFormat, G as ContentFormulaSchema, Gt as ContentSheetImage, H as ContentFont, Hn as isRunConstructExtent, Ht as ContentSheetDataValidationSchema, I as ContentFloatAxis, In as contentDocumentSharedFields, It as ContentSheetConditionalFormatSchema, J as ContentGradientStyle, Jt as ContentSheetPrintRangeSchema, K as ContentGradientFill, Kt as ContentSheetImageSchema, L as ContentFloatAxisSchema, Ln as findConstructMarkerImbalance, Lt as ContentSheetConditionalFormatStyle, M as ContentFillPattern, Mn as RunConstructFault, Mt as ContentSheetCellSchema, N as ContentFillPatternSchema, Nn as SheetRuleOperator, Nt as ContentSheetColumn, O as ContentEmbeddedObjectBlock, On as ImageFormat, Ot as ContentSheet, P as ContentFloatAlign, Pn as SheetRuleOperatorSchema, Pt as ContentSheetColumnSchema, Q as ContentHatchStyle, Qt as ContentSheetRangeSchema, R as ContentFloatOrigin, Rn as findRunConstructFault, Rt as ContentSheetConditionalFormatStyleSchema, S as ContentDefinedNameSchema, Sn as ContentVector, St as ContentRun, T as ContentDrawPage, Tn as DecimalStringSchema, Tt as ContentSectionSchema, U as ContentFontSchema, Un as resolveCellFillColor, Ut as ContentSheetDataValidationType, V as ContentFloatPositionSchema, Vn as isContentConstructStart, Vt as ContentSheetDataValidation, W as ContentFormula, Wn as unrecognizedFillKind, Wt as ContentSheetDataValidationTypeSchema, X as ContentHatchFill, Xt as ContentSheetPrintSettingsSchema, Y as ContentGradientStyleSchema, Yt as ContentSheetPrintSettings, Z as ContentHatchFillSchema, Zt as ContentSheetRange, _ as ContentConstructEnd, _n as ContentTableRow, _t as ContentParagraphSchema, a as ContentBlock, an as ContentSlideSchema, at as ContentInterpretationSchema, b as ContentConstructStartSchema, bn as ContentTranscript, bt as ContentPathSegment, c as ContentBorderSchema, cn as ContentStrokeDashSchema, ct as ContentOrigin, d as ContentCellFill, dn as ContentStrokeStyleSchema, dt as ContentPageBreakSchema, en as ContentSheetRepeatRangeSchema, et as ContentImageBlock, f as ContentCellFillSchema, fn as ContentSubpath, ft as ContentPageFurniture, g as ContentCellValueSchema, gn as ContentTableCellSchema, gt as ContentParagraphBordersSchema, h as ContentCellValue, hn as ContentTableCell, ht as ContentParagraphBorders, i as ContentBitmapFillSchema, in as ContentSlide, it as ContentInterpretation, j as ContentEmbeddedObjectSchema, jn as RunConstructExtentSchema, jt as ContentSheetCellCommentSchema, k as ContentEmbeddedObjectBlockSchema, kn as RUN_FONT_PROPERTY_SHAPE, kt as ContentSheetCell, l as ContentCellBorders, ln as ContentStrokeSchema, lt as ContentOriginSchema, m as ContentCellPatternTypeSchema, mn as ContentTable, mt as ContentParagraph, n as ConstructMarkerImbalance, nn as ContentSheetRowSchema, nt as ContentImageOriginal, o as ContentBlockSchema, on as ContentStroke, ot as ContentListMembership, p as ContentCellPatternType, pn as ContentSubpathSchema, pt as ContentPageFurnitureSchema, q as ContentGradientFillSchema, qt as ContentSheetPrintRange, r as ContentBitmapFill, rn as ContentSheetSchema, rt as ContentImageOriginalSchema, s as ContentBorder, sn as ContentStrokeDash, st as ContentListMembershipSchema, t as CONTENT_ANNOTATION_FIELDS, tn as ContentSheetRow, tt as ContentImageBlockSchema, u as ContentCellBordersSchema, un as ContentStrokeStyle, ut as ContentPageBreak, v as ContentConstructEndSchema, vn as ContentTableRowSchema, vt as ContentPathPoint, w as ContentDocumentSchema, wn as DecimalString, wt as ContentSection, x as ContentDefinedName, xn as ContentTranscriptSchema, xt as ContentPathSegmentSchema, y as ContentConstructStart, yn as ContentTableSchema, yt as ContentPathPointSchema, z as ContentFloatOriginSchema, zn as isContentBlock, zt as ContentSheetConditionalFormatValue } from "./content-VC9cnoCv.cjs";
2
2
  export { CONTENT_ANNOTATION_FIELDS, ConstructMarkerImbalance, ContentBitmapFill, ContentBitmapFillSchema, ContentBlock, ContentBlockSchema, ContentBorder, ContentBorderSchema, ContentCellBorders, ContentCellBordersSchema, ContentCellFill, ContentCellFillSchema, ContentCellPatternType, ContentCellPatternTypeSchema, ContentCellValue, ContentCellValueSchema, ContentConstructEnd, ContentConstructEndSchema, ContentConstructStart, ContentConstructStartSchema, ContentDefinedName, ContentDefinedNameSchema, ContentDocument, ContentDocumentSchema, ContentDrawPage, ContentDrawPageSchema, ContentEmbeddedObject, ContentEmbeddedObjectBlock, ContentEmbeddedObjectBlockSchema, ContentEmbeddedObjectKind, ContentEmbeddedObjectSchema, ContentFillPattern, ContentFillPatternSchema, ContentFloatAlign, ContentFloatAlignSchema, ContentFloatAxis, ContentFloatAxisSchema, ContentFloatOrigin, ContentFloatOriginSchema, ContentFloatPosition, ContentFloatPositionSchema, ContentFont, ContentFontSchema, ContentFormula, ContentFormulaSchema, ContentGradientFill, ContentGradientFillSchema, ContentGradientStyle, ContentGradientStyleSchema, ContentHatchFill, ContentHatchFillSchema, ContentHatchStyle, ContentHatchStyleSchema, ContentImageBlock, ContentImageBlockSchema, ContentImageOriginal, ContentImageOriginalSchema, ContentInterpretation, ContentInterpretationSchema, ContentListMembership, ContentListMembershipSchema, ContentOrigin, ContentOriginSchema, ContentPageBreak, ContentPageBreakSchema, ContentPageFurniture, ContentPageFurnitureSchema, ContentParagraph, ContentParagraphBorders, ContentParagraphBordersSchema, ContentParagraphSchema, ContentPathPoint, ContentPathPointSchema, ContentPathSegment, ContentPathSegmentSchema, ContentRun, ContentRunSchema, ContentSection, ContentSectionSchema, ContentShape, ContentShapeSchema, ContentSheet, ContentSheetCell, ContentSheetCellComment, ContentSheetCellCommentSchema, ContentSheetCellSchema, ContentSheetColumn, ContentSheetColumnSchema, ContentSheetConditionalFormat, ContentSheetConditionalFormatSchema, ContentSheetConditionalFormatStyle, ContentSheetConditionalFormatStyleSchema, ContentSheetConditionalFormatValue, ContentSheetConditionalFormatValueSchema, ContentSheetDataValidation, ContentSheetDataValidationSchema, ContentSheetDataValidationType, ContentSheetDataValidationTypeSchema, ContentSheetImage, ContentSheetImageSchema, ContentSheetPrintRange, ContentSheetPrintRangeSchema, ContentSheetPrintSettings, ContentSheetPrintSettingsSchema, ContentSheetRange, ContentSheetRangeSchema, ContentSheetRepeatRange, ContentSheetRepeatRangeSchema, ContentSheetRow, ContentSheetRowSchema, ContentSheetSchema, ContentSlide, ContentSlideSchema, ContentStroke, ContentStrokeDash, ContentStrokeDashSchema, ContentStrokeSchema, ContentStrokeStyle, ContentStrokeStyleSchema, ContentSubpath, ContentSubpathSchema, ContentTable, ContentTableCell, ContentTableCellSchema, ContentTableRow, ContentTableRowSchema, ContentTableSchema, ContentTranscript, ContentTranscriptSchema, ContentVector, ContentVectorSchema, DecimalString, DecimalStringSchema, FusedNode, IMAGE_FORMATS, ImageFormat, RUN_FONT_PROPERTY_SHAPE, RunConstructExtent, RunConstructExtentSchema, RunConstructFault, SheetRuleOperator, SheetRuleOperatorSchema, clampHeadingLevel, contentDocumentSharedFields, findConstructMarkerImbalance, findRunConstructFault, isContentBlock, isContentConstructEnd, isContentConstructStart, isRunConstructExtent, resolveCellFillColor, unrecognizedFillKind };
package/dist/content.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as ContentHatchStyleSchema, $t as ContentSheetRepeatRange, A as ContentEmbeddedObjectKind, An as RunConstructExtent, At as ContentSheetCellComment, B as ContentFloatPosition, Bn as isContentConstructEnd, Bt as ContentSheetConditionalFormatValueSchema, C as ContentDocument, Cn as ContentVectorSchema, Ct as ContentRunSchema, D as ContentEmbeddedObject, Dn as IMAGE_FORMATS, Dt as ContentShapeSchema, E as ContentDrawPageSchema, En as FusedNode, Et as ContentShape, F as ContentFloatAlignSchema, Fn as clampHeadingLevel, Ft as ContentSheetConditionalFormat, G as ContentFormulaSchema, Gt as ContentSheetImage, H as ContentFont, Hn as isRunConstructExtent, Ht as ContentSheetDataValidationSchema, I as ContentFloatAxis, In as contentDocumentSharedFields, It as ContentSheetConditionalFormatSchema, J as ContentGradientStyle, Jt as ContentSheetPrintRangeSchema, K as ContentGradientFill, Kt as ContentSheetImageSchema, L as ContentFloatAxisSchema, Ln as findConstructMarkerImbalance, Lt as ContentSheetConditionalFormatStyle, M as ContentFillPattern, Mn as RunConstructFault, Mt as ContentSheetCellSchema, N as ContentFillPatternSchema, Nn as SheetRuleOperator, Nt as ContentSheetColumn, O as ContentEmbeddedObjectBlock, On as ImageFormat, Ot as ContentSheet, P as ContentFloatAlign, Pn as SheetRuleOperatorSchema, Pt as ContentSheetColumnSchema, Q as ContentHatchStyle, Qt as ContentSheetRangeSchema, R as ContentFloatOrigin, Rn as findRunConstructFault, Rt as ContentSheetConditionalFormatStyleSchema, S as ContentDefinedNameSchema, Sn as ContentVector, St as ContentRun, T as ContentDrawPage, Tn as DecimalStringSchema, Tt as ContentSectionSchema, U as ContentFontSchema, Un as resolveCellFillColor, Ut as ContentSheetDataValidationType, V as ContentFloatPositionSchema, Vn as isContentConstructStart, Vt as ContentSheetDataValidation, W as ContentFormula, Wn as unrecognizedFillKind, Wt as ContentSheetDataValidationTypeSchema, X as ContentHatchFill, Xt as ContentSheetPrintSettingsSchema, Y as ContentGradientStyleSchema, Yt as ContentSheetPrintSettings, Z as ContentHatchFillSchema, Zt as ContentSheetRange, _ as ContentConstructEnd, _n as ContentTableRow, _t as ContentParagraphSchema, a as ContentBlock, an as ContentSlideSchema, at as ContentInterpretationSchema, b as ContentConstructStartSchema, bn as ContentTranscript, bt as ContentPathSegment, c as ContentBorderSchema, cn as ContentStrokeDashSchema, ct as ContentOrigin, d as ContentCellFill, dn as ContentStrokeStyleSchema, dt as ContentPageBreakSchema, en as ContentSheetRepeatRangeSchema, et as ContentImageBlock, f as ContentCellFillSchema, fn as ContentSubpath, ft as ContentPageFurniture, g as ContentCellValueSchema, gn as ContentTableCellSchema, gt as ContentParagraphBordersSchema, h as ContentCellValue, hn as ContentTableCell, ht as ContentParagraphBorders, i as ContentBitmapFillSchema, in as ContentSlide, it as ContentInterpretation, j as ContentEmbeddedObjectSchema, jn as RunConstructExtentSchema, jt as ContentSheetCellCommentSchema, k as ContentEmbeddedObjectBlockSchema, kn as RUN_FONT_PROPERTY_SHAPE, kt as ContentSheetCell, l as ContentCellBorders, ln as ContentStrokeSchema, lt as ContentOriginSchema, m as ContentCellPatternTypeSchema, mn as ContentTable, mt as ContentParagraph, n as ConstructMarkerImbalance, nn as ContentSheetRowSchema, nt as ContentImageOriginal, o as ContentBlockSchema, on as ContentStroke, ot as ContentListMembership, p as ContentCellPatternType, pn as ContentSubpathSchema, pt as ContentPageFurnitureSchema, q as ContentGradientFillSchema, qt as ContentSheetPrintRange, r as ContentBitmapFill, rn as ContentSheetSchema, rt as ContentImageOriginalSchema, s as ContentBorder, sn as ContentStrokeDash, st as ContentListMembershipSchema, t as CONTENT_ANNOTATION_FIELDS, tn as ContentSheetRow, tt as ContentImageBlockSchema, u as ContentCellBordersSchema, un as ContentStrokeStyle, ut as ContentPageBreak, v as ContentConstructEndSchema, vn as ContentTableRowSchema, vt as ContentPathPoint, w as ContentDocumentSchema, wn as DecimalString, wt as ContentSection, x as ContentDefinedName, xn as ContentTranscriptSchema, xt as ContentPathSegmentSchema, y as ContentConstructStart, yn as ContentTableSchema, yt as ContentPathPointSchema, z as ContentFloatOriginSchema, zn as isContentBlock, zt as ContentSheetConditionalFormatValue } from "./content-C1hJ6olW.js";
1
+ import { $ as ContentHatchStyleSchema, $t as ContentSheetRepeatRange, A as ContentEmbeddedObjectKind, An as RunConstructExtent, At as ContentSheetCellComment, B as ContentFloatPosition, Bn as isContentConstructEnd, Bt as ContentSheetConditionalFormatValueSchema, C as ContentDocument, Cn as ContentVectorSchema, Ct as ContentRunSchema, D as ContentEmbeddedObject, Dn as IMAGE_FORMATS, Dt as ContentShapeSchema, E as ContentDrawPageSchema, En as FusedNode, Et as ContentShape, F as ContentFloatAlignSchema, Fn as clampHeadingLevel, Ft as ContentSheetConditionalFormat, G as ContentFormulaSchema, Gt as ContentSheetImage, H as ContentFont, Hn as isRunConstructExtent, Ht as ContentSheetDataValidationSchema, I as ContentFloatAxis, In as contentDocumentSharedFields, It as ContentSheetConditionalFormatSchema, J as ContentGradientStyle, Jt as ContentSheetPrintRangeSchema, K as ContentGradientFill, Kt as ContentSheetImageSchema, L as ContentFloatAxisSchema, Ln as findConstructMarkerImbalance, Lt as ContentSheetConditionalFormatStyle, M as ContentFillPattern, Mn as RunConstructFault, Mt as ContentSheetCellSchema, N as ContentFillPatternSchema, Nn as SheetRuleOperator, Nt as ContentSheetColumn, O as ContentEmbeddedObjectBlock, On as ImageFormat, Ot as ContentSheet, P as ContentFloatAlign, Pn as SheetRuleOperatorSchema, Pt as ContentSheetColumnSchema, Q as ContentHatchStyle, Qt as ContentSheetRangeSchema, R as ContentFloatOrigin, Rn as findRunConstructFault, Rt as ContentSheetConditionalFormatStyleSchema, S as ContentDefinedNameSchema, Sn as ContentVector, St as ContentRun, T as ContentDrawPage, Tn as DecimalStringSchema, Tt as ContentSectionSchema, U as ContentFontSchema, Un as resolveCellFillColor, Ut as ContentSheetDataValidationType, V as ContentFloatPositionSchema, Vn as isContentConstructStart, Vt as ContentSheetDataValidation, W as ContentFormula, Wn as unrecognizedFillKind, Wt as ContentSheetDataValidationTypeSchema, X as ContentHatchFill, Xt as ContentSheetPrintSettingsSchema, Y as ContentGradientStyleSchema, Yt as ContentSheetPrintSettings, Z as ContentHatchFillSchema, Zt as ContentSheetRange, _ as ContentConstructEnd, _n as ContentTableRow, _t as ContentParagraphSchema, a as ContentBlock, an as ContentSlideSchema, at as ContentInterpretationSchema, b as ContentConstructStartSchema, bn as ContentTranscript, bt as ContentPathSegment, c as ContentBorderSchema, cn as ContentStrokeDashSchema, ct as ContentOrigin, d as ContentCellFill, dn as ContentStrokeStyleSchema, dt as ContentPageBreakSchema, en as ContentSheetRepeatRangeSchema, et as ContentImageBlock, f as ContentCellFillSchema, fn as ContentSubpath, ft as ContentPageFurniture, g as ContentCellValueSchema, gn as ContentTableCellSchema, gt as ContentParagraphBordersSchema, h as ContentCellValue, hn as ContentTableCell, ht as ContentParagraphBorders, i as ContentBitmapFillSchema, in as ContentSlide, it as ContentInterpretation, j as ContentEmbeddedObjectSchema, jn as RunConstructExtentSchema, jt as ContentSheetCellCommentSchema, k as ContentEmbeddedObjectBlockSchema, kn as RUN_FONT_PROPERTY_SHAPE, kt as ContentSheetCell, l as ContentCellBorders, ln as ContentStrokeSchema, lt as ContentOriginSchema, m as ContentCellPatternTypeSchema, mn as ContentTable, mt as ContentParagraph, n as ConstructMarkerImbalance, nn as ContentSheetRowSchema, nt as ContentImageOriginal, o as ContentBlockSchema, on as ContentStroke, ot as ContentListMembership, p as ContentCellPatternType, pn as ContentSubpathSchema, pt as ContentPageFurnitureSchema, q as ContentGradientFillSchema, qt as ContentSheetPrintRange, r as ContentBitmapFill, rn as ContentSheetSchema, rt as ContentImageOriginalSchema, s as ContentBorder, sn as ContentStrokeDash, st as ContentListMembershipSchema, t as CONTENT_ANNOTATION_FIELDS, tn as ContentSheetRow, tt as ContentImageBlockSchema, u as ContentCellBordersSchema, un as ContentStrokeStyle, ut as ContentPageBreak, v as ContentConstructEndSchema, vn as ContentTableRowSchema, vt as ContentPathPoint, w as ContentDocumentSchema, wn as DecimalString, wt as ContentSection, x as ContentDefinedName, xn as ContentTranscriptSchema, xt as ContentPathSegmentSchema, y as ContentConstructStart, yn as ContentTableSchema, yt as ContentPathPointSchema, z as ContentFloatOriginSchema, zn as isContentBlock, zt as ContentSheetConditionalFormatValue } from "./content-Uiq081CA.js";
2
2
  export { CONTENT_ANNOTATION_FIELDS, ConstructMarkerImbalance, ContentBitmapFill, ContentBitmapFillSchema, ContentBlock, ContentBlockSchema, ContentBorder, ContentBorderSchema, ContentCellBorders, ContentCellBordersSchema, ContentCellFill, ContentCellFillSchema, ContentCellPatternType, ContentCellPatternTypeSchema, ContentCellValue, ContentCellValueSchema, ContentConstructEnd, ContentConstructEndSchema, ContentConstructStart, ContentConstructStartSchema, ContentDefinedName, ContentDefinedNameSchema, ContentDocument, ContentDocumentSchema, ContentDrawPage, ContentDrawPageSchema, ContentEmbeddedObject, ContentEmbeddedObjectBlock, ContentEmbeddedObjectBlockSchema, ContentEmbeddedObjectKind, ContentEmbeddedObjectSchema, ContentFillPattern, ContentFillPatternSchema, ContentFloatAlign, ContentFloatAlignSchema, ContentFloatAxis, ContentFloatAxisSchema, ContentFloatOrigin, ContentFloatOriginSchema, ContentFloatPosition, ContentFloatPositionSchema, ContentFont, ContentFontSchema, ContentFormula, ContentFormulaSchema, ContentGradientFill, ContentGradientFillSchema, ContentGradientStyle, ContentGradientStyleSchema, ContentHatchFill, ContentHatchFillSchema, ContentHatchStyle, ContentHatchStyleSchema, ContentImageBlock, ContentImageBlockSchema, ContentImageOriginal, ContentImageOriginalSchema, ContentInterpretation, ContentInterpretationSchema, ContentListMembership, ContentListMembershipSchema, ContentOrigin, ContentOriginSchema, ContentPageBreak, ContentPageBreakSchema, ContentPageFurniture, ContentPageFurnitureSchema, ContentParagraph, ContentParagraphBorders, ContentParagraphBordersSchema, ContentParagraphSchema, ContentPathPoint, ContentPathPointSchema, ContentPathSegment, ContentPathSegmentSchema, ContentRun, ContentRunSchema, ContentSection, ContentSectionSchema, ContentShape, ContentShapeSchema, ContentSheet, ContentSheetCell, ContentSheetCellComment, ContentSheetCellCommentSchema, ContentSheetCellSchema, ContentSheetColumn, ContentSheetColumnSchema, ContentSheetConditionalFormat, ContentSheetConditionalFormatSchema, ContentSheetConditionalFormatStyle, ContentSheetConditionalFormatStyleSchema, ContentSheetConditionalFormatValue, ContentSheetConditionalFormatValueSchema, ContentSheetDataValidation, ContentSheetDataValidationSchema, ContentSheetDataValidationType, ContentSheetDataValidationTypeSchema, ContentSheetImage, ContentSheetImageSchema, ContentSheetPrintRange, ContentSheetPrintRangeSchema, ContentSheetPrintSettings, ContentSheetPrintSettingsSchema, ContentSheetRange, ContentSheetRangeSchema, ContentSheetRepeatRange, ContentSheetRepeatRangeSchema, ContentSheetRow, ContentSheetRowSchema, ContentSheetSchema, ContentSlide, ContentSlideSchema, ContentStroke, ContentStrokeDash, ContentStrokeDashSchema, ContentStrokeSchema, ContentStrokeStyle, ContentStrokeStyleSchema, ContentSubpath, ContentSubpathSchema, ContentTable, ContentTableCell, ContentTableCellSchema, ContentTableRow, ContentTableRowSchema, ContentTableSchema, ContentTranscript, ContentTranscriptSchema, ContentVector, ContentVectorSchema, DecimalString, DecimalStringSchema, FusedNode, IMAGE_FORMATS, ImageFormat, RUN_FONT_PROPERTY_SHAPE, RunConstructExtent, RunConstructExtentSchema, RunConstructFault, SheetRuleOperator, SheetRuleOperatorSchema, clampHeadingLevel, contentDocumentSharedFields, findConstructMarkerImbalance, findRunConstructFault, isContentBlock, isContentConstructEnd, isContentConstructStart, isRunConstructExtent, resolveCellFillColor, unrecognizedFillKind };
package/dist/content.js CHANGED
@@ -444,6 +444,7 @@ const ContentShapeSchema = z.object({
444
444
  fontScale: z.number().positive().optional(),
445
445
  lineSpacingReduction: z.number().nonnegative().optional(),
446
446
  paintOrder: z.number().optional(),
447
+ readingOrder: z.number().optional(),
447
448
  sourcePath: z.string().optional(),
448
449
  source: SourceResidueSchema.optional(),
449
450
  frames: z.array(LayoutFrameSchema).optional(),
@@ -1,5 +1,5 @@
1
- import { C as ContentDocument, Et as ContentShape, Ot as ContentSheet, T as ContentDrawPage, W as ContentFormula, in as ContentSlide, mt as ContentParagraph, n as ConstructMarkerImbalance, wt as ContentSection } from "./content-DN5CqH6Y.cjs";
2
- import { D as ShapeGroupNode, I as SlideGroupNode, M as SheetGroupNode, b as SectionGroupNode, c as HeadingParagraph, i as DrawPageGroupNode, p as ListParagraph } from "./package-node-DktLHAKG.cjs";
1
+ import { C as ContentDocument, Et as ContentShape, Ot as ContentSheet, T as ContentDrawPage, W as ContentFormula, in as ContentSlide, mt as ContentParagraph, n as ConstructMarkerImbalance, wt as ContentSection } from "./content-VC9cnoCv.cjs";
2
+ import { D as ShapeGroupNode, I as SlideGroupNode, M as SheetGroupNode, b as SectionGroupNode, c as HeadingParagraph, i as DrawPageGroupNode, p as ListParagraph } from "./package-node-B0czXNHl.cjs";
3
3
  //#region src/decompose.d.ts
4
4
  declare function isHeadingParagraph(paragraph: ContentParagraph): paragraph is HeadingParagraph;
5
5
  declare function isListParagraph(paragraph: ContentParagraph): paragraph is ListParagraph;
@@ -1,5 +1,5 @@
1
- import { C as ContentDocument, Et as ContentShape, Ot as ContentSheet, T as ContentDrawPage, W as ContentFormula, in as ContentSlide, mt as ContentParagraph, n as ConstructMarkerImbalance, wt as ContentSection } from "./content-C1hJ6olW.js";
2
- import { D as ShapeGroupNode, I as SlideGroupNode, M as SheetGroupNode, b as SectionGroupNode, c as HeadingParagraph, i as DrawPageGroupNode, p as ListParagraph } from "./package-node-B9aFWtrZ.js";
1
+ import { C as ContentDocument, Et as ContentShape, Ot as ContentSheet, T as ContentDrawPage, W as ContentFormula, in as ContentSlide, mt as ContentParagraph, n as ConstructMarkerImbalance, wt as ContentSection } from "./content-Uiq081CA.js";
2
+ import { D as ShapeGroupNode, I as SlideGroupNode, M as SheetGroupNode, b as SectionGroupNode, c as HeadingParagraph, i as DrawPageGroupNode, p as ListParagraph } from "./package-node-CnUkCuRc.js";
3
3
  //#region src/decompose.d.ts
4
4
  declare function isHeadingParagraph(paragraph: ContentParagraph): paragraph is HeadingParagraph;
5
5
  declare function isListParagraph(paragraph: ContentParagraph): paragraph is ListParagraph;