document-schema 7.6.0 → 7.7.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 (50) hide show
  1. package/README.md +1 -1
  2. package/dist/codec.d.cts +1 -1
  3. package/dist/codec.d.ts +1 -1
  4. package/dist/{content-JIKLIrji.d.cts → content-BlTHCDvF.d.cts} +192 -46
  5. package/dist/{content-PPcQWl8e.d.ts → content-BqSMRlSK.d.ts} +192 -46
  6. package/dist/content-json-schema-defs.cjs +32 -0
  7. package/dist/content-json-schema-defs.js +32 -0
  8. package/dist/content.cjs +37 -11
  9. package/dist/content.d.cts +2 -2
  10. package/dist/content.d.ts +2 -2
  11. package/dist/content.js +33 -12
  12. package/dist/decompose.d.cts +2 -2
  13. package/dist/decompose.d.ts +2 -2
  14. package/dist/definitions.cjs +1 -10
  15. package/dist/definitions.d.cts +4 -4
  16. package/dist/definitions.d.ts +4 -4
  17. package/dist/definitions.js +2 -11
  18. package/dist/factor-styles.cjs +1 -0
  19. package/dist/factor-styles.d.cts +1 -1
  20. package/dist/factor-styles.d.ts +1 -1
  21. package/dist/factor-styles.js +1 -0
  22. package/dist/flatten.cjs +1 -0
  23. package/dist/flatten.d.cts +1 -1
  24. package/dist/flatten.d.ts +1 -1
  25. package/dist/flatten.js +1 -0
  26. package/dist/index.cjs +5 -0
  27. package/dist/index.d.cts +4 -4
  28. package/dist/index.d.ts +4 -4
  29. package/dist/index.js +2 -2
  30. package/dist/{package-node-duDMdOvH.d.cts → package-node-Btm9VsaX.d.cts} +43 -30
  31. package/dist/{package-node-B4CHgiVQ.d.ts → package-node-DPm8hWYt.d.ts} +43 -30
  32. package/dist/package-node.d.cts +1 -1
  33. package/dist/package-node.d.ts +1 -1
  34. package/dist/package.cjs +1 -0
  35. package/dist/package.d.cts +11 -6
  36. package/dist/package.d.ts +11 -6
  37. package/dist/package.js +2 -1
  38. package/dist/schema-io.cjs +2 -2
  39. package/dist/schema-io.d.cts +1 -1
  40. package/dist/schema-io.d.ts +1 -1
  41. package/dist/schema-io.js +2 -2
  42. package/dist/{style-BGMcYrD2.d.cts → style-D06NwxAJ.d.cts} +1 -1
  43. package/dist/{style-BGMcYrD2.d.ts → style-D06NwxAJ.d.ts} +1 -1
  44. package/dist/style.d.cts +1 -1
  45. package/dist/style.d.ts +1 -1
  46. package/dist/text-layout.d.cts +1 -1
  47. package/dist/text-layout.d.ts +1 -1
  48. package/package.json +1 -1
  49. package/schemas/content-document.schema.json +171 -13
  50. package/schemas/document-tree.schema.json +87 -3
@@ -3,14 +3,26 @@ import { p as MathExpression } from "./math-BScHxedi.js";
3
3
  import { n as Color } from "./color-AELCDH_b.js";
4
4
  import { r as LayoutFrame, t as Box } from "./geometry-CvcjSwnA.js";
5
5
  import { r as SourceResidue } from "./source-Bas5ol6f.js";
6
- import { o as TextDirection } from "./style-BGMcYrD2.js";
6
+ import { o as TextDirection } from "./style-D06NwxAJ.js";
7
7
  import { z } from "zod";
8
8
  //#region src/content.d.ts
9
9
  type FusedNode<T> = T & {
10
10
  frames?: LayoutFrame[];
11
11
  };
12
- declare const ContentRunSchema: z.ZodObject<{
13
- text: z.ZodString;
12
+ declare const RUN_FONT_PROPERTY_SHAPE: {
13
+ readonly bold: z.ZodOptional<z.ZodBoolean>;
14
+ readonly italic: z.ZodOptional<z.ZodBoolean>;
15
+ readonly underline: z.ZodOptional<z.ZodBoolean>;
16
+ readonly strike: z.ZodOptional<z.ZodBoolean>;
17
+ readonly fontFamily: z.ZodOptional<z.ZodString>;
18
+ readonly sizePt: z.ZodOptional<z.ZodNumber>;
19
+ readonly color: z.ZodOptional<z.ZodObject<{
20
+ r: z.ZodNumber;
21
+ g: z.ZodNumber;
22
+ b: z.ZodNumber;
23
+ }, z.core.$strip>>;
24
+ };
25
+ declare const ContentFontSchema: z.ZodObject<{
14
26
  bold: z.ZodOptional<z.ZodBoolean>;
15
27
  italic: z.ZodOptional<z.ZodBoolean>;
16
28
  underline: z.ZodOptional<z.ZodBoolean>;
@@ -22,6 +34,9 @@ declare const ContentRunSchema: z.ZodObject<{
22
34
  g: z.ZodNumber;
23
35
  b: z.ZodNumber;
24
36
  }, z.core.$strip>>;
37
+ }, z.core.$strip>;
38
+ type ContentFont = z.infer<typeof ContentFontSchema>;
39
+ declare const ContentRunSchema: z.ZodObject<{
25
40
  hyperlink: z.ZodOptional<z.ZodString>;
26
41
  verticalAlign: z.ZodOptional<z.ZodEnum<{
27
42
  superscript: "superscript";
@@ -59,6 +74,18 @@ declare const ContentRunSchema: z.ZodObject<{
59
74
  widthPt: z.ZodNumber;
60
75
  heightPt: z.ZodNumber;
61
76
  }, z.core.$strip>>>;
77
+ bold: z.ZodOptional<z.ZodBoolean>;
78
+ italic: z.ZodOptional<z.ZodBoolean>;
79
+ underline: z.ZodOptional<z.ZodBoolean>;
80
+ strike: z.ZodOptional<z.ZodBoolean>;
81
+ fontFamily: z.ZodOptional<z.ZodString>;
82
+ sizePt: z.ZodOptional<z.ZodNumber>;
83
+ color: z.ZodOptional<z.ZodObject<{
84
+ r: z.ZodNumber;
85
+ g: z.ZodNumber;
86
+ b: z.ZodNumber;
87
+ }, z.core.$strip>>;
88
+ text: z.ZodString;
62
89
  }, z.core.$strip>;
63
90
  type ContentRun = z.infer<typeof ContentRunSchema>;
64
91
  declare const ContentListMembershipSchema: z.ZodObject<{
@@ -355,18 +382,6 @@ type ContentParagraphBorders = z.infer<typeof ContentParagraphBordersSchema>;
355
382
  declare const ContentParagraphSchema: z.ZodObject<{
356
383
  kind: z.ZodLiteral<"paragraph">;
357
384
  runs: z.ZodArray<z.ZodObject<{
358
- text: z.ZodString;
359
- bold: z.ZodOptional<z.ZodBoolean>;
360
- italic: z.ZodOptional<z.ZodBoolean>;
361
- underline: z.ZodOptional<z.ZodBoolean>;
362
- strike: z.ZodOptional<z.ZodBoolean>;
363
- fontFamily: z.ZodOptional<z.ZodString>;
364
- sizePt: z.ZodOptional<z.ZodNumber>;
365
- color: z.ZodOptional<z.ZodObject<{
366
- r: z.ZodNumber;
367
- g: z.ZodNumber;
368
- b: z.ZodNumber;
369
- }, z.core.$strip>>;
370
385
  hyperlink: z.ZodOptional<z.ZodString>;
371
386
  verticalAlign: z.ZodOptional<z.ZodEnum<{
372
387
  superscript: "superscript";
@@ -404,6 +419,18 @@ declare const ContentParagraphSchema: z.ZodObject<{
404
419
  widthPt: z.ZodNumber;
405
420
  heightPt: z.ZodNumber;
406
421
  }, z.core.$strip>>>;
422
+ bold: z.ZodOptional<z.ZodBoolean>;
423
+ italic: z.ZodOptional<z.ZodBoolean>;
424
+ underline: z.ZodOptional<z.ZodBoolean>;
425
+ strike: z.ZodOptional<z.ZodBoolean>;
426
+ fontFamily: z.ZodOptional<z.ZodString>;
427
+ sizePt: z.ZodOptional<z.ZodNumber>;
428
+ color: z.ZodOptional<z.ZodObject<{
429
+ r: z.ZodNumber;
430
+ g: z.ZodNumber;
431
+ b: z.ZodNumber;
432
+ }, z.core.$strip>>;
433
+ text: z.ZodString;
407
434
  }, z.core.$strip>>;
408
435
  constructs: z.ZodOptional<z.ZodArray<z.ZodObject<{
409
436
  descriptor: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -605,8 +632,8 @@ declare const ContentParagraphSchema: z.ZodObject<{
605
632
  headingLevel: z.ZodOptional<z.ZodNumber>;
606
633
  alignment: z.ZodOptional<z.ZodEnum<{
607
634
  left: "left";
608
- right: "right";
609
635
  center: "center";
636
+ right: "right";
610
637
  justify: "justify";
611
638
  }>>;
612
639
  list: z.ZodOptional<z.ZodObject<{
@@ -742,10 +769,10 @@ declare const ContentFloatOriginSchema: z.ZodEnum<{
742
769
  type ContentFloatOrigin = z.infer<typeof ContentFloatOriginSchema>;
743
770
  declare const ContentFloatAlignSchema: z.ZodEnum<{
744
771
  left: "left";
772
+ center: "center";
745
773
  right: "right";
746
774
  top: "top";
747
775
  bottom: "bottom";
748
- center: "center";
749
776
  inside: "inside";
750
777
  outside: "outside";
751
778
  }>;
@@ -785,10 +812,10 @@ declare const ContentFloatAxisSchema: z.ZodUnion<readonly [z.ZodObject<{
785
812
  }>;
786
813
  align: z.ZodEnum<{
787
814
  left: "left";
815
+ center: "center";
788
816
  right: "right";
789
817
  top: "top";
790
818
  bottom: "bottom";
791
- center: "center";
792
819
  inside: "inside";
793
820
  outside: "outside";
794
821
  }>;
@@ -830,10 +857,10 @@ declare const ContentFloatPositionSchema: z.ZodObject<{
830
857
  }>;
831
858
  align: z.ZodEnum<{
832
859
  left: "left";
860
+ center: "center";
833
861
  right: "right";
834
862
  top: "top";
835
863
  bottom: "bottom";
836
- center: "center";
837
864
  inside: "inside";
838
865
  outside: "outside";
839
866
  }>;
@@ -873,16 +900,27 @@ declare const ContentFloatPositionSchema: z.ZodObject<{
873
900
  }>;
874
901
  align: z.ZodEnum<{
875
902
  left: "left";
903
+ center: "center";
876
904
  right: "right";
877
905
  top: "top";
878
906
  bottom: "bottom";
879
- center: "center";
880
907
  inside: "inside";
881
908
  outside: "outside";
882
909
  }>;
883
910
  }, z.core.$strict>]>;
884
911
  }, z.core.$strip>;
885
912
  type ContentFloatPosition = z.infer<typeof ContentFloatPositionSchema>;
913
+ declare const IMAGE_FORMATS: readonly ["png", "jpeg", "svg", "gif"];
914
+ type ImageFormat = (typeof IMAGE_FORMATS)[number];
915
+ declare const ContentImageOriginalSchema: z.ZodObject<{
916
+ filter: z.ZodEnum<{
917
+ jbig2: "jbig2";
918
+ jpeg2000: "jpeg2000";
919
+ }>;
920
+ base64: z.ZodString;
921
+ jbig2GlobalsBase64: z.ZodOptional<z.ZodString>;
922
+ }, z.core.$strip>;
923
+ type ContentImageOriginal = z.infer<typeof ContentImageOriginalSchema>;
886
924
  declare const ContentImageBlockSchema: z.ZodObject<{
887
925
  kind: z.ZodLiteral<"image">;
888
926
  format: z.ZodEnum<{
@@ -895,6 +933,14 @@ declare const ContentImageBlockSchema: z.ZodObject<{
895
933
  widthPt: z.ZodNumber;
896
934
  heightPt: z.ZodNumber;
897
935
  altText: z.ZodOptional<z.ZodString>;
936
+ original: z.ZodOptional<z.ZodObject<{
937
+ filter: z.ZodEnum<{
938
+ jbig2: "jbig2";
939
+ jpeg2000: "jpeg2000";
940
+ }>;
941
+ base64: z.ZodString;
942
+ jbig2GlobalsBase64: z.ZodOptional<z.ZodString>;
943
+ }, z.core.$strip>>;
898
944
  floatPosition: z.ZodOptional<z.ZodObject<{
899
945
  horizontal: z.ZodUnion<readonly [z.ZodObject<{
900
946
  relativeTo: z.ZodEnum<{
@@ -931,10 +977,10 @@ declare const ContentImageBlockSchema: z.ZodObject<{
931
977
  }>;
932
978
  align: z.ZodEnum<{
933
979
  left: "left";
980
+ center: "center";
934
981
  right: "right";
935
982
  top: "top";
936
983
  bottom: "bottom";
937
- center: "center";
938
984
  inside: "inside";
939
985
  outside: "outside";
940
986
  }>;
@@ -974,10 +1020,10 @@ declare const ContentImageBlockSchema: z.ZodObject<{
974
1020
  }>;
975
1021
  align: z.ZodEnum<{
976
1022
  left: "left";
1023
+ center: "center";
977
1024
  right: "right";
978
1025
  top: "top";
979
1026
  bottom: "bottom";
980
- center: "center";
981
1027
  inside: "inside";
982
1028
  outside: "outside";
983
1029
  }>;
@@ -1608,8 +1654,7 @@ declare const ContentEmbeddedObjectBlockSchema: z.ZodObject<{
1608
1654
  formula: z.ZodOptional<z.ZodString>;
1609
1655
  displayText: z.ZodString;
1610
1656
  numberFormatCode: z.ZodOptional<z.ZodString>;
1611
- runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
1612
- text: z.ZodString;
1657
+ font: z.ZodOptional<z.ZodObject<{
1613
1658
  bold: z.ZodOptional<z.ZodBoolean>;
1614
1659
  italic: z.ZodOptional<z.ZodBoolean>;
1615
1660
  underline: z.ZodOptional<z.ZodBoolean>;
@@ -1621,6 +1666,8 @@ declare const ContentEmbeddedObjectBlockSchema: z.ZodObject<{
1621
1666
  g: z.ZodNumber;
1622
1667
  b: z.ZodNumber;
1623
1668
  }, z.core.$strip>>;
1669
+ }, z.core.$strip>>;
1670
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
1624
1671
  hyperlink: z.ZodOptional<z.ZodString>;
1625
1672
  verticalAlign: z.ZodOptional<z.ZodEnum<{
1626
1673
  superscript: "superscript";
@@ -1658,6 +1705,18 @@ declare const ContentEmbeddedObjectBlockSchema: z.ZodObject<{
1658
1705
  widthPt: z.ZodNumber;
1659
1706
  heightPt: z.ZodNumber;
1660
1707
  }, z.core.$strip>>>;
1708
+ bold: z.ZodOptional<z.ZodBoolean>;
1709
+ italic: z.ZodOptional<z.ZodBoolean>;
1710
+ underline: z.ZodOptional<z.ZodBoolean>;
1711
+ strike: z.ZodOptional<z.ZodBoolean>;
1712
+ fontFamily: z.ZodOptional<z.ZodString>;
1713
+ sizePt: z.ZodOptional<z.ZodNumber>;
1714
+ color: z.ZodOptional<z.ZodObject<{
1715
+ r: z.ZodNumber;
1716
+ g: z.ZodNumber;
1717
+ b: z.ZodNumber;
1718
+ }, z.core.$strip>>;
1719
+ text: z.ZodString;
1661
1720
  }, z.core.$strip>>>;
1662
1721
  colSpan: z.ZodOptional<z.ZodNumber>;
1663
1722
  rowSpan: z.ZodOptional<z.ZodNumber>;
@@ -1823,8 +1882,8 @@ declare const ContentEmbeddedObjectBlockSchema: z.ZodObject<{
1823
1882
  }, z.core.$strip>>;
1824
1883
  alignment: z.ZodOptional<z.ZodEnum<{
1825
1884
  left: "left";
1826
- right: "right";
1827
1885
  center: "center";
1886
+ right: "right";
1828
1887
  justify: "justify";
1829
1888
  }>>;
1830
1889
  verticalAlignment: z.ZodOptional<z.ZodEnum<{
@@ -1892,6 +1951,14 @@ declare const ContentEmbeddedObjectBlockSchema: z.ZodObject<{
1892
1951
  widthPt: z.ZodNumber;
1893
1952
  heightPt: z.ZodNumber;
1894
1953
  altText: z.ZodOptional<z.ZodString>;
1954
+ original: z.ZodOptional<z.ZodObject<{
1955
+ filter: z.ZodEnum<{
1956
+ jbig2: "jbig2";
1957
+ jpeg2000: "jpeg2000";
1958
+ }>;
1959
+ base64: z.ZodString;
1960
+ jbig2GlobalsBase64: z.ZodOptional<z.ZodString>;
1961
+ }, z.core.$strip>>;
1895
1962
  floatPosition: z.ZodOptional<z.ZodObject<{
1896
1963
  horizontal: z.ZodUnion<readonly [z.ZodObject<{
1897
1964
  relativeTo: z.ZodEnum<{
@@ -1928,10 +1995,10 @@ declare const ContentEmbeddedObjectBlockSchema: z.ZodObject<{
1928
1995
  }>;
1929
1996
  align: z.ZodEnum<{
1930
1997
  left: "left";
1998
+ center: "center";
1931
1999
  right: "right";
1932
2000
  top: "top";
1933
2001
  bottom: "bottom";
1934
- center: "center";
1935
2002
  inside: "inside";
1936
2003
  outside: "outside";
1937
2004
  }>;
@@ -1971,10 +2038,10 @@ declare const ContentEmbeddedObjectBlockSchema: z.ZodObject<{
1971
2038
  }>;
1972
2039
  align: z.ZodEnum<{
1973
2040
  left: "left";
2041
+ center: "center";
1974
2042
  right: "right";
1975
2043
  top: "top";
1976
2044
  bottom: "bottom";
1977
- center: "center";
1978
2045
  inside: "inside";
1979
2046
  outside: "outside";
1980
2047
  }>;
@@ -2706,6 +2773,11 @@ declare const ContentEmbeddedObjectBlockSchema: z.ZodObject<{
2706
2773
  xml: z.ZodString;
2707
2774
  }, z.core.$strict>>;
2708
2775
  }, z.core.$strip>>;
2776
+ names: z.ZodOptional<z.ZodArray<z.ZodObject<{
2777
+ name: z.ZodString;
2778
+ refersTo: z.ZodString;
2779
+ scopeSheetIndex: z.ZodOptional<z.ZodNumber>;
2780
+ }, z.core.$strip>>>;
2709
2781
  symbolTable: z.ZodOptional<z.ZodObject<{
2710
2782
  symbols: z.ZodArray<z.ZodObject<{
2711
2783
  glyph: z.ZodString;
@@ -3876,9 +3948,9 @@ declare const ContentTableCellSchema: z.ZodObject<{
3876
3948
  }, z.core.$strip>>;
3877
3949
  }, z.core.$strip>>;
3878
3950
  verticalAlign: z.ZodOptional<z.ZodEnum<{
3951
+ center: "center";
3879
3952
  top: "top";
3880
3953
  bottom: "bottom";
3881
- center: "center";
3882
3954
  }>>;
3883
3955
  formula: z.ZodOptional<z.ZodString>;
3884
3956
  sourcePath: z.ZodOptional<z.ZodString>;
@@ -4076,9 +4148,9 @@ declare const ContentTableRowSchema: z.ZodObject<{
4076
4148
  }, z.core.$strip>>;
4077
4149
  }, z.core.$strip>>;
4078
4150
  verticalAlign: z.ZodOptional<z.ZodEnum<{
4151
+ center: "center";
4079
4152
  top: "top";
4080
4153
  bottom: "bottom";
4081
- center: "center";
4082
4154
  }>>;
4083
4155
  formula: z.ZodOptional<z.ZodString>;
4084
4156
  sourcePath: z.ZodOptional<z.ZodString>;
@@ -4284,9 +4356,9 @@ declare const ContentTableSchema: z.ZodObject<{
4284
4356
  }, z.core.$strip>>;
4285
4357
  }, z.core.$strip>>;
4286
4358
  verticalAlign: z.ZodOptional<z.ZodEnum<{
4359
+ center: "center";
4287
4360
  top: "top";
4288
4361
  bottom: "bottom";
4289
- center: "center";
4290
4362
  }>>;
4291
4363
  formula: z.ZodOptional<z.ZodString>;
4292
4364
  sourcePath: z.ZodOptional<z.ZodString>;
@@ -4619,8 +4691,7 @@ declare const ContentSheetCellSchema: z.ZodObject<{
4619
4691
  formula: z.ZodOptional<z.ZodString>;
4620
4692
  displayText: z.ZodString;
4621
4693
  numberFormatCode: z.ZodOptional<z.ZodString>;
4622
- runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
4623
- text: z.ZodString;
4694
+ font: z.ZodOptional<z.ZodObject<{
4624
4695
  bold: z.ZodOptional<z.ZodBoolean>;
4625
4696
  italic: z.ZodOptional<z.ZodBoolean>;
4626
4697
  underline: z.ZodOptional<z.ZodBoolean>;
@@ -4632,6 +4703,8 @@ declare const ContentSheetCellSchema: z.ZodObject<{
4632
4703
  g: z.ZodNumber;
4633
4704
  b: z.ZodNumber;
4634
4705
  }, z.core.$strip>>;
4706
+ }, z.core.$strip>>;
4707
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
4635
4708
  hyperlink: z.ZodOptional<z.ZodString>;
4636
4709
  verticalAlign: z.ZodOptional<z.ZodEnum<{
4637
4710
  superscript: "superscript";
@@ -4669,6 +4742,18 @@ declare const ContentSheetCellSchema: z.ZodObject<{
4669
4742
  widthPt: z.ZodNumber;
4670
4743
  heightPt: z.ZodNumber;
4671
4744
  }, z.core.$strip>>>;
4745
+ bold: z.ZodOptional<z.ZodBoolean>;
4746
+ italic: z.ZodOptional<z.ZodBoolean>;
4747
+ underline: z.ZodOptional<z.ZodBoolean>;
4748
+ strike: z.ZodOptional<z.ZodBoolean>;
4749
+ fontFamily: z.ZodOptional<z.ZodString>;
4750
+ sizePt: z.ZodOptional<z.ZodNumber>;
4751
+ color: z.ZodOptional<z.ZodObject<{
4752
+ r: z.ZodNumber;
4753
+ g: z.ZodNumber;
4754
+ b: z.ZodNumber;
4755
+ }, z.core.$strip>>;
4756
+ text: z.ZodString;
4672
4757
  }, z.core.$strip>>>;
4673
4758
  colSpan: z.ZodOptional<z.ZodNumber>;
4674
4759
  rowSpan: z.ZodOptional<z.ZodNumber>;
@@ -4834,8 +4919,8 @@ declare const ContentSheetCellSchema: z.ZodObject<{
4834
4919
  }, z.core.$strip>>;
4835
4920
  alignment: z.ZodOptional<z.ZodEnum<{
4836
4921
  left: "left";
4837
- right: "right";
4838
4922
  center: "center";
4923
+ right: "right";
4839
4924
  justify: "justify";
4840
4925
  }>>;
4841
4926
  verticalAlignment: z.ZodOptional<z.ZodEnum<{
@@ -5665,6 +5750,14 @@ declare const ContentSheetImageSchema: z.ZodObject<{
5665
5750
  widthPt: z.ZodNumber;
5666
5751
  heightPt: z.ZodNumber;
5667
5752
  altText: z.ZodOptional<z.ZodString>;
5753
+ original: z.ZodOptional<z.ZodObject<{
5754
+ filter: z.ZodEnum<{
5755
+ jbig2: "jbig2";
5756
+ jpeg2000: "jpeg2000";
5757
+ }>;
5758
+ base64: z.ZodString;
5759
+ jbig2GlobalsBase64: z.ZodOptional<z.ZodString>;
5760
+ }, z.core.$strip>>;
5668
5761
  floatPosition: z.ZodOptional<z.ZodObject<{
5669
5762
  horizontal: z.ZodUnion<readonly [z.ZodObject<{
5670
5763
  relativeTo: z.ZodEnum<{
@@ -5701,10 +5794,10 @@ declare const ContentSheetImageSchema: z.ZodObject<{
5701
5794
  }>;
5702
5795
  align: z.ZodEnum<{
5703
5796
  left: "left";
5797
+ center: "center";
5704
5798
  right: "right";
5705
5799
  top: "top";
5706
5800
  bottom: "bottom";
5707
- center: "center";
5708
5801
  inside: "inside";
5709
5802
  outside: "outside";
5710
5803
  }>;
@@ -5744,10 +5837,10 @@ declare const ContentSheetImageSchema: z.ZodObject<{
5744
5837
  }>;
5745
5838
  align: z.ZodEnum<{
5746
5839
  left: "left";
5840
+ center: "center";
5747
5841
  right: "right";
5748
5842
  top: "top";
5749
5843
  bottom: "bottom";
5750
- center: "center";
5751
5844
  inside: "inside";
5752
5845
  outside: "outside";
5753
5846
  }>;
@@ -5829,8 +5922,7 @@ declare const ContentSheetSchema: z.ZodObject<{
5829
5922
  formula: z.ZodOptional<z.ZodString>;
5830
5923
  displayText: z.ZodString;
5831
5924
  numberFormatCode: z.ZodOptional<z.ZodString>;
5832
- runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
5833
- text: z.ZodString;
5925
+ font: z.ZodOptional<z.ZodObject<{
5834
5926
  bold: z.ZodOptional<z.ZodBoolean>;
5835
5927
  italic: z.ZodOptional<z.ZodBoolean>;
5836
5928
  underline: z.ZodOptional<z.ZodBoolean>;
@@ -5842,6 +5934,8 @@ declare const ContentSheetSchema: z.ZodObject<{
5842
5934
  g: z.ZodNumber;
5843
5935
  b: z.ZodNumber;
5844
5936
  }, z.core.$strip>>;
5937
+ }, z.core.$strip>>;
5938
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
5845
5939
  hyperlink: z.ZodOptional<z.ZodString>;
5846
5940
  verticalAlign: z.ZodOptional<z.ZodEnum<{
5847
5941
  superscript: "superscript";
@@ -5879,6 +5973,18 @@ declare const ContentSheetSchema: z.ZodObject<{
5879
5973
  widthPt: z.ZodNumber;
5880
5974
  heightPt: z.ZodNumber;
5881
5975
  }, z.core.$strip>>>;
5976
+ bold: z.ZodOptional<z.ZodBoolean>;
5977
+ italic: z.ZodOptional<z.ZodBoolean>;
5978
+ underline: z.ZodOptional<z.ZodBoolean>;
5979
+ strike: z.ZodOptional<z.ZodBoolean>;
5980
+ fontFamily: z.ZodOptional<z.ZodString>;
5981
+ sizePt: z.ZodOptional<z.ZodNumber>;
5982
+ color: z.ZodOptional<z.ZodObject<{
5983
+ r: z.ZodNumber;
5984
+ g: z.ZodNumber;
5985
+ b: z.ZodNumber;
5986
+ }, z.core.$strip>>;
5987
+ text: z.ZodString;
5882
5988
  }, z.core.$strip>>>;
5883
5989
  colSpan: z.ZodOptional<z.ZodNumber>;
5884
5990
  rowSpan: z.ZodOptional<z.ZodNumber>;
@@ -6044,8 +6150,8 @@ declare const ContentSheetSchema: z.ZodObject<{
6044
6150
  }, z.core.$strip>>;
6045
6151
  alignment: z.ZodOptional<z.ZodEnum<{
6046
6152
  left: "left";
6047
- right: "right";
6048
6153
  center: "center";
6154
+ right: "right";
6049
6155
  justify: "justify";
6050
6156
  }>>;
6051
6157
  verticalAlignment: z.ZodOptional<z.ZodEnum<{
@@ -6113,6 +6219,14 @@ declare const ContentSheetSchema: z.ZodObject<{
6113
6219
  widthPt: z.ZodNumber;
6114
6220
  heightPt: z.ZodNumber;
6115
6221
  altText: z.ZodOptional<z.ZodString>;
6222
+ original: z.ZodOptional<z.ZodObject<{
6223
+ filter: z.ZodEnum<{
6224
+ jbig2: "jbig2";
6225
+ jpeg2000: "jpeg2000";
6226
+ }>;
6227
+ base64: z.ZodString;
6228
+ jbig2GlobalsBase64: z.ZodOptional<z.ZodString>;
6229
+ }, z.core.$strip>>;
6116
6230
  floatPosition: z.ZodOptional<z.ZodObject<{
6117
6231
  horizontal: z.ZodUnion<readonly [z.ZodObject<{
6118
6232
  relativeTo: z.ZodEnum<{
@@ -6149,10 +6263,10 @@ declare const ContentSheetSchema: z.ZodObject<{
6149
6263
  }>;
6150
6264
  align: z.ZodEnum<{
6151
6265
  left: "left";
6266
+ center: "center";
6152
6267
  right: "right";
6153
6268
  top: "top";
6154
6269
  bottom: "bottom";
6155
- center: "center";
6156
6270
  inside: "inside";
6157
6271
  outside: "outside";
6158
6272
  }>;
@@ -6192,10 +6306,10 @@ declare const ContentSheetSchema: z.ZodObject<{
6192
6306
  }>;
6193
6307
  align: z.ZodEnum<{
6194
6308
  left: "left";
6309
+ center: "center";
6195
6310
  right: "right";
6196
6311
  top: "top";
6197
6312
  bottom: "bottom";
6198
- center: "center";
6199
6313
  inside: "inside";
6200
6314
  outside: "outside";
6201
6315
  }>;
@@ -8133,6 +8247,12 @@ declare const contentDocumentSharedFields: {
8133
8247
  }, z.core.$strip>>>;
8134
8248
  }, z.core.$strip>>;
8135
8249
  };
8250
+ declare const ContentDefinedNameSchema: z.ZodObject<{
8251
+ name: z.ZodString;
8252
+ refersTo: z.ZodString;
8253
+ scopeSheetIndex: z.ZodOptional<z.ZodNumber>;
8254
+ }, z.core.$strip>;
8255
+ type ContentDefinedName = z.infer<typeof ContentDefinedNameSchema>;
8136
8256
  declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
8137
8257
  sections: z.ZodArray<z.ZodObject<{
8138
8258
  pageSize: z.ZodObject<{
@@ -8434,8 +8554,7 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
8434
8554
  formula: z.ZodOptional<z.ZodString>;
8435
8555
  displayText: z.ZodString;
8436
8556
  numberFormatCode: z.ZodOptional<z.ZodString>;
8437
- runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
8438
- text: z.ZodString;
8557
+ font: z.ZodOptional<z.ZodObject<{
8439
8558
  bold: z.ZodOptional<z.ZodBoolean>;
8440
8559
  italic: z.ZodOptional<z.ZodBoolean>;
8441
8560
  underline: z.ZodOptional<z.ZodBoolean>;
@@ -8447,6 +8566,8 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
8447
8566
  g: z.ZodNumber;
8448
8567
  b: z.ZodNumber;
8449
8568
  }, z.core.$strip>>;
8569
+ }, z.core.$strip>>;
8570
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
8450
8571
  hyperlink: z.ZodOptional<z.ZodString>;
8451
8572
  verticalAlign: z.ZodOptional<z.ZodEnum<{
8452
8573
  superscript: "superscript";
@@ -8484,6 +8605,18 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
8484
8605
  widthPt: z.ZodNumber;
8485
8606
  heightPt: z.ZodNumber;
8486
8607
  }, z.core.$strip>>>;
8608
+ bold: z.ZodOptional<z.ZodBoolean>;
8609
+ italic: z.ZodOptional<z.ZodBoolean>;
8610
+ underline: z.ZodOptional<z.ZodBoolean>;
8611
+ strike: z.ZodOptional<z.ZodBoolean>;
8612
+ fontFamily: z.ZodOptional<z.ZodString>;
8613
+ sizePt: z.ZodOptional<z.ZodNumber>;
8614
+ color: z.ZodOptional<z.ZodObject<{
8615
+ r: z.ZodNumber;
8616
+ g: z.ZodNumber;
8617
+ b: z.ZodNumber;
8618
+ }, z.core.$strip>>;
8619
+ text: z.ZodString;
8487
8620
  }, z.core.$strip>>>;
8488
8621
  colSpan: z.ZodOptional<z.ZodNumber>;
8489
8622
  rowSpan: z.ZodOptional<z.ZodNumber>;
@@ -8649,8 +8782,8 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
8649
8782
  }, z.core.$strip>>;
8650
8783
  alignment: z.ZodOptional<z.ZodEnum<{
8651
8784
  left: "left";
8652
- right: "right";
8653
8785
  center: "center";
8786
+ right: "right";
8654
8787
  justify: "justify";
8655
8788
  }>>;
8656
8789
  verticalAlignment: z.ZodOptional<z.ZodEnum<{
@@ -8718,6 +8851,14 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
8718
8851
  widthPt: z.ZodNumber;
8719
8852
  heightPt: z.ZodNumber;
8720
8853
  altText: z.ZodOptional<z.ZodString>;
8854
+ original: z.ZodOptional<z.ZodObject<{
8855
+ filter: z.ZodEnum<{
8856
+ jbig2: "jbig2";
8857
+ jpeg2000: "jpeg2000";
8858
+ }>;
8859
+ base64: z.ZodString;
8860
+ jbig2GlobalsBase64: z.ZodOptional<z.ZodString>;
8861
+ }, z.core.$strip>>;
8721
8862
  floatPosition: z.ZodOptional<z.ZodObject<{
8722
8863
  horizontal: z.ZodUnion<readonly [z.ZodObject<{
8723
8864
  relativeTo: z.ZodEnum<{
@@ -8754,10 +8895,10 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
8754
8895
  }>;
8755
8896
  align: z.ZodEnum<{
8756
8897
  left: "left";
8898
+ center: "center";
8757
8899
  right: "right";
8758
8900
  top: "top";
8759
8901
  bottom: "bottom";
8760
- center: "center";
8761
8902
  inside: "inside";
8762
8903
  outside: "outside";
8763
8904
  }>;
@@ -8797,10 +8938,10 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
8797
8938
  }>;
8798
8939
  align: z.ZodEnum<{
8799
8940
  left: "left";
8941
+ center: "center";
8800
8942
  right: "right";
8801
8943
  top: "top";
8802
8944
  bottom: "bottom";
8803
- center: "center";
8804
8945
  inside: "inside";
8805
8946
  outside: "outside";
8806
8947
  }>;
@@ -9532,6 +9673,11 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
9532
9673
  xml: z.ZodString;
9533
9674
  }, z.core.$strict>>;
9534
9675
  }, z.core.$strip>>;
9676
+ names: z.ZodOptional<z.ZodArray<z.ZodObject<{
9677
+ name: z.ZodString;
9678
+ refersTo: z.ZodString;
9679
+ scopeSheetIndex: z.ZodOptional<z.ZodNumber>;
9680
+ }, z.core.$strip>>>;
9535
9681
  symbolTable: z.ZodOptional<z.ZodObject<{
9536
9682
  symbols: z.ZodArray<z.ZodObject<{
9537
9683
  glyph: z.ZodString;
@@ -10270,4 +10416,4 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
10270
10416
  }, z.core.$strip>], "kind">;
10271
10417
  type ContentDocument = z.infer<typeof ContentDocumentSchema>;
10272
10418
  //#endregion
10273
- export { ContentPageBreak as $, ContentStrokeStyle as $t, ContentFillPatternSchema as A, ContentSheetDataValidation as At, ContentFormulaSchema as B, ContentSheetRange as Bt, ContentDrawPageSchema as C, isContentBlock as Cn, ContentSheetColumnSchema as Ct, ContentEmbeddedObjectKind as D, resolveCellFillColor as Dn, ContentSheetConditionalFormatStyleSchema as Dt, ContentEmbeddedObjectBlockSchema as E, isRunConstructExtent as En, ContentSheetConditionalFormatStyle as Et, ContentFloatOrigin as F, ContentSheetImageSchema as Ft, ContentHatchFill as G, ContentSheetRowSchema as Gt, ContentGradientFillSchema as H, ContentSheetRepeatRange as Ht, ContentFloatOriginSchema as I, ContentSheetPrintRange as It, ContentHatchStyleSchema as J, ContentSlideSchema as Jt, ContentHatchFillSchema as K, ContentSheetSchema as Kt, ContentFloatPosition as L, ContentSheetPrintRangeSchema as Lt, ContentFloatAlignSchema as M, ContentSheetDataValidationType as Mt, ContentFloatAxis as N, ContentSheetDataValidationTypeSchema as Nt, ContentEmbeddedObjectSchema as O, unrecognizedFillKind as On, ContentSheetConditionalFormatValue as Ot, ContentFloatAxisSchema as P, ContentSheetImage as Pt, ContentListMembershipSchema as Q, ContentStrokeSchema as Qt, ContentFloatPositionSchema as R, ContentSheetPrintSettings as Rt, ContentDrawPage as S, findRunConstructFault as Sn, ContentSheetColumn as St, ContentEmbeddedObjectBlock as T, isContentConstructStart as Tn, ContentSheetConditionalFormatSchema as Tt, ContentGradientStyle as U, ContentSheetRepeatRangeSchema as Ut, ContentGradientFill as V, ContentSheetRangeSchema as Vt, ContentGradientStyleSchema as W, ContentSheetRow as Wt, ContentImageBlockSchema as X, ContentStrokeDash as Xt, ContentImageBlock as Y, ContentStroke as Yt, ContentListMembership as Z, ContentStrokeDashSchema as Zt, ContentConstructEndSchema as _, SheetRuleOperator as _n, ContentSheet as _t, ContentBlockSchema as a, ContentTableCellSchema as an, ContentParagraphBordersSchema as at, ContentDocument as b, contentDocumentSharedFields as bn, ContentSheetCellCommentSchema as bt, ContentCellBorders as c, ContentTableSchema as cn, ContentPathPointSchema as ct, ContentCellFillSchema as d, DecimalString as dn, ContentRun as dt, ContentStrokeStyleSchema as en, ContentPageBreakSchema as et, ContentCellPatternType as f, DecimalStringSchema as fn, ContentRunSchema as ft, ContentConstructEnd as g, RunConstructFault as gn, ContentShapeSchema as gt, ContentCellValueSchema as h, RunConstructExtentSchema as hn, ContentShape as ht, ContentBlock as i, ContentTableCell as in, ContentParagraphBorders as it, ContentFloatAlign as j, ContentSheetDataValidationSchema as jt, ContentFillPattern as k, ContentSheetConditionalFormatValueSchema as kt, ContentCellBordersSchema as l, ContentVector as ln, ContentPathSegment as lt, ContentCellValue as m, RunConstructExtent as mn, ContentSectionSchema as mt, ContentBitmapFill as n, ContentSubpathSchema as nn, ContentPageFurnitureSchema as nt, ContentBorder as o, ContentTableRow as on, ContentParagraphSchema as ot, ContentCellPatternTypeSchema as p, FusedNode as pn, ContentSection as pt, ContentHatchStyle as q, ContentSlide as qt, ContentBitmapFillSchema as r, ContentTable as rn, ContentParagraph as rt, ContentBorderSchema as s, ContentTableRowSchema as sn, ContentPathPoint as st, ConstructMarkerImbalance as t, ContentSubpath as tn, ContentPageFurniture as tt, ContentCellFill as u, ContentVectorSchema as un, ContentPathSegmentSchema as ut, ContentConstructStart as v, SheetRuleOperatorSchema as vn, ContentSheetCell as vt, ContentEmbeddedObject as w, isContentConstructEnd as wn, ContentSheetConditionalFormat as wt, ContentDocumentSchema as x, findConstructMarkerImbalance as xn, ContentSheetCellSchema as xt, ContentConstructStartSchema as y, clampHeadingLevel as yn, ContentSheetCellComment as yt, ContentFormula as z, ContentSheetPrintSettingsSchema as zt };
10419
+ export { ContentImageBlock as $, ContentSlide as $t, ContentEmbeddedObjectSchema as A, findConstructMarkerImbalance as An, ContentSheetConditionalFormat as At, ContentFloatPositionSchema as B, ContentSheetImage as Bt, ContentDocumentSchema as C, RunConstructExtent as Cn, ContentSheet as Ct, ContentEmbeddedObjectBlock as D, SheetRuleOperatorSchema as Dn, ContentSheetCellSchema as Dt, ContentEmbeddedObject as E, SheetRuleOperator as En, ContentSheetCellCommentSchema as Et, ContentFloatAxis as F, isRunConstructExtent as Fn, ContentSheetConditionalFormatValueSchema as Ft, ContentGradientFill as G, ContentSheetPrintSettingsSchema as Gt, ContentFontSchema as H, ContentSheetPrintRange as Ht, ContentFloatAxisSchema as I, resolveCellFillColor as In, ContentSheetDataValidation as It, ContentGradientStyleSchema as J, ContentSheetRepeatRange as Jt, ContentGradientFillSchema as K, ContentSheetRange as Kt, ContentFloatOrigin as L, unrecognizedFillKind as Ln, ContentSheetDataValidationSchema as Lt, ContentFillPatternSchema as M, isContentBlock as Mn, ContentSheetConditionalFormatStyle as Mt, ContentFloatAlign as N, isContentConstructEnd as Nn, ContentSheetConditionalFormatStyleSchema as Nt, ContentEmbeddedObjectBlockSchema as O, clampHeadingLevel as On, ContentSheetColumn as Ot, ContentFloatAlignSchema as P, isContentConstructStart as Pn, ContentSheetConditionalFormatValue as Pt, ContentHatchStyleSchema as Q, ContentSheetSchema as Qt, ContentFloatOriginSchema as R, ContentSheetDataValidationType as Rt, ContentDocument as S, RUN_FONT_PROPERTY_SHAPE as Sn, ContentShapeSchema as St, ContentDrawPageSchema as T, RunConstructFault as Tn, ContentSheetCellComment as Tt, ContentFormula as U, ContentSheetPrintRangeSchema as Ut, ContentFont as V, ContentSheetImageSchema as Vt, ContentFormulaSchema as W, ContentSheetPrintSettings as Wt, ContentHatchFillSchema as X, ContentSheetRow as Xt, ContentHatchFill as Y, ContentSheetRepeatRangeSchema as Yt, ContentHatchStyle as Z, ContentSheetRowSchema as Zt, ContentConstructEndSchema as _, DecimalString as _n, ContentRun as _t, ContentBlockSchema as a, ContentStrokeStyle as an, ContentPageBreak as at, ContentDefinedName as b, IMAGE_FORMATS as bn, ContentSectionSchema as bt, ContentCellBorders as c, ContentSubpathSchema as cn, ContentPageFurnitureSchema as ct, ContentCellFillSchema as d, ContentTableCellSchema as dn, ContentParagraphBordersSchema as dt, ContentSlideSchema as en, ContentImageBlockSchema as et, ContentCellPatternType as f, ContentTableRow as fn, ContentParagraphSchema as ft, ContentConstructEnd as g, ContentVectorSchema as gn, ContentPathSegmentSchema as gt, ContentCellValueSchema as h, ContentVector as hn, ContentPathSegment as ht, ContentBlock as i, ContentStrokeSchema as in, ContentListMembershipSchema as it, ContentFillPattern as j, findRunConstructFault as jn, ContentSheetConditionalFormatSchema as jt, ContentEmbeddedObjectKind as k, contentDocumentSharedFields as kn, ContentSheetColumnSchema as kt, ContentCellBordersSchema as l, ContentTable as ln, ContentParagraph as lt, ContentCellValue as m, ContentTableSchema as mn, ContentPathPointSchema as mt, ContentBitmapFill as n, ContentStrokeDash as nn, ContentImageOriginalSchema as nt, ContentBorder as o, ContentStrokeStyleSchema as on, ContentPageBreakSchema as ot, ContentCellPatternTypeSchema as p, ContentTableRowSchema as pn, ContentPathPoint as pt, ContentGradientStyle as q, ContentSheetRangeSchema as qt, ContentBitmapFillSchema as r, ContentStrokeDashSchema as rn, ContentListMembership as rt, ContentBorderSchema as s, ContentSubpath as sn, ContentPageFurniture as st, ConstructMarkerImbalance as t, ContentStroke as tn, ContentImageOriginal as tt, ContentCellFill as u, ContentTableCell as un, ContentParagraphBorders as ut, ContentConstructStart as v, DecimalStringSchema as vn, ContentRunSchema as vt, ContentDrawPage as w, RunConstructExtentSchema as wn, ContentSheetCell as wt, ContentDefinedNameSchema as x, ImageFormat as xn, ContentShape as xt, ContentConstructStartSchema as y, FusedNode as yn, ContentSection as yt, ContentFloatPosition as z, ContentSheetDataValidationTypeSchema as zt };