document-content-model 7.9.1 → 7.11.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-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-B6SPQuuq.d.ts → content-C5CsxSt1.d.ts} +58 -36
  8. package/dist/{content-VhC4WCbj.d.cts → content-DWSflkUJ.d.cts} +58 -36
  9. package/dist/content-json-schema-defs.cjs +18 -0
  10. package/dist/content-json-schema-defs.js +18 -0
  11. package/dist/content.cjs +2 -0
  12. package/dist/content.d.cts +1 -1
  13. package/dist/content.d.ts +1 -1
  14. package/dist/content.js +2 -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-mRax-XfS.d.ts → package-node-5OqgGCtu.d.ts} +15 -9
  30. package/dist/{package-node-ChC2_Itm.d.cts → package-node-DK-b0h6V.d.cts} +15 -9
  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-BGMcYrD2.d.cts → style-D06NwxAJ.d.cts} +1 -1
  42. package/dist/{style-BGMcYrD2.d.ts → style-D06NwxAJ.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 +73 -13
  49. package/schemas/document-tree.schema.json +63 -3
package/dist/codec.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { C as ContentDocument } from "./content-VhC4WCbj.cjs";
1
+ import { C as ContentDocument } from "./content-DWSflkUJ.cjs";
2
2
  //#region src/codec.d.ts
3
3
  interface ContentCodec<TOptions = unknown> {
4
4
  read(bytes: Uint8Array, options?: TOptions): ContentDocument;
package/dist/codec.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { C as ContentDocument } from "./content-B6SPQuuq.js";
1
+ import { C as ContentDocument } from "./content-C5CsxSt1.js";
2
2
  //#region src/codec.d.ts
3
3
  interface ContentCodec<TOptions = unknown> {
4
4
  read(bytes: Uint8Array, options?: TOptions): ContentDocument;
@@ -1,12 +1,12 @@
1
1
  import { z } from "zod";
2
2
  //#region src/construct.d.ts
3
3
  declare const ContentControlTypeSchema: z.ZodEnum<{
4
+ date: "date";
4
5
  richText: "richText";
5
6
  plainText: "plainText";
6
7
  checkbox: "checkbox";
7
8
  dropDown: "dropDown";
8
9
  comboBox: "comboBox";
9
- date: "date";
10
10
  picture: "picture";
11
11
  repeatingSection: "repeatingSection";
12
12
  button: "button";
@@ -23,12 +23,12 @@ type ContentControlLock = z.infer<typeof ContentControlLockSchema>;
23
23
  declare const ContentControlDescriptorSchema: z.ZodObject<{
24
24
  kind: z.ZodLiteral<"contentControl">;
25
25
  controlType: z.ZodEnum<{
26
+ date: "date";
26
27
  richText: "richText";
27
28
  plainText: "plainText";
28
29
  checkbox: "checkbox";
29
30
  dropDown: "dropDown";
30
31
  comboBox: "comboBox";
31
- date: "date";
32
32
  picture: "picture";
33
33
  repeatingSection: "repeatingSection";
34
34
  button: "button";
@@ -252,12 +252,12 @@ type DivisionDescriptor = z.infer<typeof DivisionDescriptorSchema>;
252
252
  declare const ConstructDescriptorSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
253
253
  kind: z.ZodLiteral<"contentControl">;
254
254
  controlType: z.ZodEnum<{
255
+ date: "date";
255
256
  richText: "richText";
256
257
  plainText: "plainText";
257
258
  checkbox: "checkbox";
258
259
  dropDown: "dropDown";
259
260
  comboBox: "comboBox";
260
- date: "date";
261
261
  picture: "picture";
262
262
  repeatingSection: "repeatingSection";
263
263
  button: "button";
@@ -1,12 +1,12 @@
1
1
  import { z } from "zod";
2
2
  //#region src/construct.d.ts
3
3
  declare const ContentControlTypeSchema: z.ZodEnum<{
4
+ date: "date";
4
5
  richText: "richText";
5
6
  plainText: "plainText";
6
7
  checkbox: "checkbox";
7
8
  dropDown: "dropDown";
8
9
  comboBox: "comboBox";
9
- date: "date";
10
10
  picture: "picture";
11
11
  repeatingSection: "repeatingSection";
12
12
  button: "button";
@@ -23,12 +23,12 @@ type ContentControlLock = z.infer<typeof ContentControlLockSchema>;
23
23
  declare const ContentControlDescriptorSchema: z.ZodObject<{
24
24
  kind: z.ZodLiteral<"contentControl">;
25
25
  controlType: z.ZodEnum<{
26
+ date: "date";
26
27
  richText: "richText";
27
28
  plainText: "plainText";
28
29
  checkbox: "checkbox";
29
30
  dropDown: "dropDown";
30
31
  comboBox: "comboBox";
31
- date: "date";
32
32
  picture: "picture";
33
33
  repeatingSection: "repeatingSection";
34
34
  button: "button";
@@ -252,12 +252,12 @@ type DivisionDescriptor = z.infer<typeof DivisionDescriptorSchema>;
252
252
  declare const ConstructDescriptorSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
253
253
  kind: z.ZodLiteral<"contentControl">;
254
254
  controlType: z.ZodEnum<{
255
+ date: "date";
255
256
  richText: "richText";
256
257
  plainText: "plainText";
257
258
  checkbox: "checkbox";
258
259
  dropDown: "dropDown";
259
260
  comboBox: "comboBox";
260
- date: "date";
261
261
  picture: "picture";
262
262
  repeatingSection: "repeatingSection";
263
263
  button: "button";
@@ -1,2 +1,2 @@
1
- import { C as ProvenanceChange, E as ProvenanceDescriptorSchema, S as LinkTargetSchema, T as ProvenanceDescriptor, _ as FieldDescriptor, a as ConstructDescriptor, b as LinkDescriptorSchema, c as ContentControlDescriptorSchema, d as ContentControlType, f as ContentControlTypeSchema, g as DivisionSourceSchema, h as DivisionSource, i as AnchorTypeSchema, l as ContentControlLock, m as DivisionDescriptorSchema, n as AnchorDescriptorSchema, o as ConstructDescriptorSchema, p as DivisionDescriptor, r as AnchorType, s as ContentControlDescriptor, t as AnchorDescriptor, u as ContentControlLockSchema, v as FieldDescriptorSchema, w as ProvenanceChangeSchema, x as LinkTarget, y as LinkDescriptor } from "./construct-C9cYkjnd.cjs";
1
+ import { C as ProvenanceChange, E as ProvenanceDescriptorSchema, S as LinkTargetSchema, T as ProvenanceDescriptor, _ as FieldDescriptor, a as ConstructDescriptor, b as LinkDescriptorSchema, c as ContentControlDescriptorSchema, d as ContentControlType, f as ContentControlTypeSchema, g as DivisionSourceSchema, h as DivisionSource, i as AnchorTypeSchema, l as ContentControlLock, m as DivisionDescriptorSchema, n as AnchorDescriptorSchema, o as ConstructDescriptorSchema, p as DivisionDescriptor, r as AnchorType, s as ContentControlDescriptor, t as AnchorDescriptor, u as ContentControlLockSchema, v as FieldDescriptorSchema, w as ProvenanceChangeSchema, x as LinkTarget, y as LinkDescriptor } from "./construct-GVdTKrE7.cjs";
2
2
  export { AnchorDescriptor, AnchorDescriptorSchema, AnchorType, AnchorTypeSchema, ConstructDescriptor, ConstructDescriptorSchema, ContentControlDescriptor, ContentControlDescriptorSchema, ContentControlLock, ContentControlLockSchema, ContentControlType, ContentControlTypeSchema, DivisionDescriptor, DivisionDescriptorSchema, DivisionSource, DivisionSourceSchema, FieldDescriptor, FieldDescriptorSchema, LinkDescriptor, LinkDescriptorSchema, LinkTarget, LinkTargetSchema, ProvenanceChange, ProvenanceChangeSchema, ProvenanceDescriptor, ProvenanceDescriptorSchema };
@@ -1,2 +1,2 @@
1
- import { C as ProvenanceChange, E as ProvenanceDescriptorSchema, S as LinkTargetSchema, T as ProvenanceDescriptor, _ as FieldDescriptor, a as ConstructDescriptor, b as LinkDescriptorSchema, c as ContentControlDescriptorSchema, d as ContentControlType, f as ContentControlTypeSchema, g as DivisionSourceSchema, h as DivisionSource, i as AnchorTypeSchema, l as ContentControlLock, m as DivisionDescriptorSchema, n as AnchorDescriptorSchema, o as ConstructDescriptorSchema, p as DivisionDescriptor, r as AnchorType, s as ContentControlDescriptor, t as AnchorDescriptor, u as ContentControlLockSchema, v as FieldDescriptorSchema, w as ProvenanceChangeSchema, x as LinkTarget, y as LinkDescriptor } from "./construct-C9cYkjnd.js";
1
+ import { C as ProvenanceChange, E as ProvenanceDescriptorSchema, S as LinkTargetSchema, T as ProvenanceDescriptor, _ as FieldDescriptor, a as ConstructDescriptor, b as LinkDescriptorSchema, c as ContentControlDescriptorSchema, d as ContentControlType, f as ContentControlTypeSchema, g as DivisionSourceSchema, h as DivisionSource, i as AnchorTypeSchema, l as ContentControlLock, m as DivisionDescriptorSchema, n as AnchorDescriptorSchema, o as ConstructDescriptorSchema, p as DivisionDescriptor, r as AnchorType, s as ContentControlDescriptor, t as AnchorDescriptor, u as ContentControlLockSchema, v as FieldDescriptorSchema, w as ProvenanceChangeSchema, x as LinkTarget, y as LinkDescriptor } from "./construct-GVdTKrE7.js";
2
2
  export { AnchorDescriptor, AnchorDescriptorSchema, AnchorType, AnchorTypeSchema, ConstructDescriptor, ConstructDescriptorSchema, ContentControlDescriptor, ContentControlDescriptorSchema, ContentControlLock, ContentControlLockSchema, ContentControlType, ContentControlTypeSchema, DivisionDescriptor, DivisionDescriptorSchema, DivisionSource, DivisionSourceSchema, FieldDescriptor, FieldDescriptorSchema, LinkDescriptor, LinkDescriptorSchema, LinkTarget, LinkTargetSchema, ProvenanceChange, ProvenanceChangeSchema, ProvenanceDescriptor, ProvenanceDescriptorSchema };
@@ -3,7 +3,7 @@ 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 & {
@@ -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";
208
209
  richText: "richText";
209
210
  plainText: "plainText";
210
211
  checkbox: "checkbox";
211
212
  dropDown: "dropDown";
212
213
  comboBox: "comboBox";
213
- date: "date";
214
214
  picture: "picture";
215
215
  repeatingSection: "repeatingSection";
216
216
  button: "button";
@@ -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";
591
592
  richText: "richText";
592
593
  plainText: "plainText";
593
594
  checkbox: "checkbox";
594
595
  dropDown: "dropDown";
595
596
  comboBox: "comboBox";
596
- date: "date";
597
597
  picture: "picture";
598
598
  repeatingSection: "repeatingSection";
599
599
  button: "button";
@@ -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
- right: "right";
788
787
  center: "center";
788
+ right: "right";
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";
924
925
  right: "right";
925
926
  top: "top";
926
927
  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";
967
968
  right: "right";
968
969
  top: "top";
969
970
  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";
1012
1013
  right: "right";
1013
1014
  top: "top";
1014
1015
  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";
1055
1056
  right: "right";
1056
1057
  top: "top";
1057
1058
  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";
1162
1163
  right: "right";
1163
1164
  top: "top";
1164
1165
  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";
1205
1206
  right: "right";
1206
1207
  top: "top";
1207
1208
  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";
1308
1309
  richText: "richText";
1309
1310
  plainText: "plainText";
1310
1311
  checkbox: "checkbox";
1311
1312
  dropDown: "dropDown";
1312
1313
  comboBox: "comboBox";
1313
- date: "date";
1314
1314
  picture: "picture";
1315
1315
  repeatingSection: "repeatingSection";
1316
1316
  button: "button";
@@ -1651,6 +1651,11 @@ declare const ContentEmbeddedObjectBlockSchema: z.ZodObject<{
1651
1651
  even: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodType<ContentBlock, ContentBlock, z.core.$ZodTypeInternals<ContentBlock, ContentBlock>>>>>;
1652
1652
  first: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodType<ContentBlock, ContentBlock, z.core.$ZodTypeInternals<ContentBlock, ContentBlock>>>>>;
1653
1653
  }, z.core.$strip>>;
1654
+ watermarks: z.ZodOptional<z.ZodObject<{
1655
+ default: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodType<ContentBlock, ContentBlock, z.core.$ZodTypeInternals<ContentBlock, ContentBlock>>>>>;
1656
+ even: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodType<ContentBlock, ContentBlock, z.core.$ZodTypeInternals<ContentBlock, ContentBlock>>>>>;
1657
+ first: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodType<ContentBlock, ContentBlock, z.core.$ZodTypeInternals<ContentBlock, ContentBlock>>>>>;
1658
+ }, z.core.$strip>>;
1654
1659
  source: z.ZodOptional<z.ZodObject<{
1655
1660
  format: z.ZodEnum<{
1656
1661
  docx: "docx";
@@ -1816,6 +1821,7 @@ declare const ContentEmbeddedObjectBlockSchema: z.ZodObject<{
1816
1821
  fontScale: z.ZodOptional<z.ZodNumber>;
1817
1822
  lineSpacingReduction: z.ZodOptional<z.ZodNumber>;
1818
1823
  paintOrder: z.ZodOptional<z.ZodNumber>;
1824
+ readingOrder: z.ZodOptional<z.ZodNumber>;
1819
1825
  sourcePath: z.ZodOptional<z.ZodString>;
1820
1826
  source: z.ZodOptional<z.ZodObject<{
1821
1827
  format: z.ZodEnum<{
@@ -2286,8 +2292,8 @@ declare const ContentEmbeddedObjectBlockSchema: z.ZodObject<{
2286
2292
  }, z.core.$strip>>;
2287
2293
  alignment: z.ZodOptional<z.ZodEnum<{
2288
2294
  left: "left";
2289
- right: "right";
2290
2295
  center: "center";
2296
+ right: "right";
2291
2297
  justify: "justify";
2292
2298
  }>>;
2293
2299
  verticalAlignment: z.ZodOptional<z.ZodEnum<{
@@ -2429,10 +2435,10 @@ declare const ContentEmbeddedObjectBlockSchema: z.ZodObject<{
2429
2435
  }>;
2430
2436
  align: z.ZodEnum<{
2431
2437
  left: "left";
2438
+ center: "center";
2432
2439
  right: "right";
2433
2440
  top: "top";
2434
2441
  bottom: "bottom";
2435
- center: "center";
2436
2442
  inside: "inside";
2437
2443
  outside: "outside";
2438
2444
  }>;
@@ -2472,10 +2478,10 @@ declare const ContentEmbeddedObjectBlockSchema: z.ZodObject<{
2472
2478
  }>;
2473
2479
  align: z.ZodEnum<{
2474
2480
  left: "left";
2481
+ center: "center";
2475
2482
  right: "right";
2476
2483
  top: "top";
2477
2484
  bottom: "bottom";
2478
- center: "center";
2479
2485
  inside: "inside";
2480
2486
  outside: "outside";
2481
2487
  }>;
@@ -2564,10 +2570,10 @@ declare const ContentEmbeddedObjectBlockSchema: z.ZodObject<{
2564
2570
  endColumn: z.ZodNumber;
2565
2571
  }, z.core.$strip>>;
2566
2572
  type: z.ZodEnum<{
2567
- date: "date";
2568
- custom: "custom";
2569
2573
  decimal: "decimal";
2570
2574
  list: "list";
2575
+ date: "date";
2576
+ custom: "custom";
2571
2577
  time: "time";
2572
2578
  whole: "whole";
2573
2579
  textLength: "textLength";
@@ -3356,6 +3362,7 @@ declare const ContentEmbeddedObjectBlockSchema: z.ZodObject<{
3356
3362
  fontScale: z.ZodOptional<z.ZodNumber>;
3357
3363
  lineSpacingReduction: z.ZodOptional<z.ZodNumber>;
3358
3364
  paintOrder: z.ZodOptional<z.ZodNumber>;
3365
+ readingOrder: z.ZodOptional<z.ZodNumber>;
3359
3366
  sourcePath: z.ZodOptional<z.ZodString>;
3360
3367
  source: z.ZodOptional<z.ZodObject<{
3361
3368
  format: z.ZodEnum<{
@@ -4598,9 +4605,9 @@ declare const ContentTableCellSchema: z.ZodObject<{
4598
4605
  }, z.core.$strip>>;
4599
4606
  }, z.core.$strip>>;
4600
4607
  verticalAlign: z.ZodOptional<z.ZodEnum<{
4608
+ center: "center";
4601
4609
  top: "top";
4602
4610
  bottom: "bottom";
4603
- center: "center";
4604
4611
  }>>;
4605
4612
  formula: z.ZodOptional<z.ZodString>;
4606
4613
  sourcePath: z.ZodOptional<z.ZodString>;
@@ -4825,9 +4832,9 @@ declare const ContentTableRowSchema: z.ZodObject<{
4825
4832
  }, z.core.$strip>>;
4826
4833
  }, z.core.$strip>>;
4827
4834
  verticalAlign: z.ZodOptional<z.ZodEnum<{
4835
+ center: "center";
4828
4836
  top: "top";
4829
4837
  bottom: "bottom";
4830
- center: "center";
4831
4838
  }>>;
4832
4839
  formula: z.ZodOptional<z.ZodString>;
4833
4840
  sourcePath: z.ZodOptional<z.ZodString>;
@@ -5087,9 +5094,9 @@ declare const ContentTableSchema: z.ZodObject<{
5087
5094
  }, z.core.$strip>>;
5088
5095
  }, z.core.$strip>>;
5089
5096
  verticalAlign: z.ZodOptional<z.ZodEnum<{
5097
+ center: "center";
5090
5098
  top: "top";
5091
5099
  bottom: "bottom";
5092
- center: "center";
5093
5100
  }>>;
5094
5101
  formula: z.ZodOptional<z.ZodString>;
5095
5102
  sourcePath: z.ZodOptional<z.ZodString>;
@@ -5219,6 +5226,11 @@ declare const ContentSectionSchema: z.ZodObject<{
5219
5226
  even: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodType<ContentBlock, ContentBlock, z.core.$ZodTypeInternals<ContentBlock, ContentBlock>>>>>;
5220
5227
  first: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodType<ContentBlock, ContentBlock, z.core.$ZodTypeInternals<ContentBlock, ContentBlock>>>>>;
5221
5228
  }, z.core.$strip>>;
5229
+ watermarks: z.ZodOptional<z.ZodObject<{
5230
+ default: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodType<ContentBlock, ContentBlock, z.core.$ZodTypeInternals<ContentBlock, ContentBlock>>>>>;
5231
+ even: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodType<ContentBlock, ContentBlock, z.core.$ZodTypeInternals<ContentBlock, ContentBlock>>>>>;
5232
+ first: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodType<ContentBlock, ContentBlock, z.core.$ZodTypeInternals<ContentBlock, ContentBlock>>>>>;
5233
+ }, z.core.$strip>>;
5222
5234
  source: z.ZodOptional<z.ZodObject<{
5223
5235
  format: z.ZodEnum<{
5224
5236
  docx: "docx";
@@ -5285,6 +5297,7 @@ declare const ContentShapeSchema: z.ZodObject<{
5285
5297
  fontScale: z.ZodOptional<z.ZodNumber>;
5286
5298
  lineSpacingReduction: z.ZodOptional<z.ZodNumber>;
5287
5299
  paintOrder: z.ZodOptional<z.ZodNumber>;
5300
+ readingOrder: z.ZodOptional<z.ZodNumber>;
5288
5301
  sourcePath: z.ZodOptional<z.ZodString>;
5289
5302
  source: z.ZodOptional<z.ZodObject<{
5290
5303
  format: z.ZodEnum<{
@@ -5391,6 +5404,7 @@ declare const ContentSlideSchema: z.ZodObject<{
5391
5404
  fontScale: z.ZodOptional<z.ZodNumber>;
5392
5405
  lineSpacingReduction: z.ZodOptional<z.ZodNumber>;
5393
5406
  paintOrder: z.ZodOptional<z.ZodNumber>;
5407
+ readingOrder: z.ZodOptional<z.ZodNumber>;
5394
5408
  sourcePath: z.ZodOptional<z.ZodString>;
5395
5409
  source: z.ZodOptional<z.ZodObject<{
5396
5410
  format: z.ZodEnum<{
@@ -5812,8 +5826,8 @@ declare const ContentSheetCellSchema: z.ZodObject<{
5812
5826
  }, z.core.$strip>>;
5813
5827
  alignment: z.ZodOptional<z.ZodEnum<{
5814
5828
  left: "left";
5815
- right: "right";
5816
5829
  center: "center";
5830
+ right: "right";
5817
5831
  justify: "justify";
5818
5832
  }>>;
5819
5833
  verticalAlignment: z.ZodOptional<z.ZodEnum<{
@@ -5945,10 +5959,10 @@ declare const SheetRuleOperatorSchema: z.ZodEnum<{
5945
5959
  }>;
5946
5960
  type SheetRuleOperator = z.infer<typeof SheetRuleOperatorSchema>;
5947
5961
  declare const ContentSheetDataValidationTypeSchema: z.ZodEnum<{
5948
- date: "date";
5949
- custom: "custom";
5950
5962
  decimal: "decimal";
5951
5963
  list: "list";
5964
+ date: "date";
5965
+ custom: "custom";
5952
5966
  time: "time";
5953
5967
  whole: "whole";
5954
5968
  textLength: "textLength";
@@ -5962,10 +5976,10 @@ declare const ContentSheetDataValidationSchema: z.ZodObject<{
5962
5976
  endColumn: z.ZodNumber;
5963
5977
  }, z.core.$strip>>;
5964
5978
  type: z.ZodEnum<{
5965
- date: "date";
5966
- custom: "custom";
5967
5979
  decimal: "decimal";
5968
5980
  list: "list";
5981
+ date: "date";
5982
+ custom: "custom";
5969
5983
  time: "time";
5970
5984
  whole: "whole";
5971
5985
  textLength: "textLength";
@@ -6717,10 +6731,10 @@ declare const ContentSheetImageSchema: z.ZodObject<{
6717
6731
  }>;
6718
6732
  align: z.ZodEnum<{
6719
6733
  left: "left";
6734
+ center: "center";
6720
6735
  right: "right";
6721
6736
  top: "top";
6722
6737
  bottom: "bottom";
6723
- center: "center";
6724
6738
  inside: "inside";
6725
6739
  outside: "outside";
6726
6740
  }>;
@@ -6760,10 +6774,10 @@ declare const ContentSheetImageSchema: z.ZodObject<{
6760
6774
  }>;
6761
6775
  align: z.ZodEnum<{
6762
6776
  left: "left";
6777
+ center: "center";
6763
6778
  right: "right";
6764
6779
  top: "top";
6765
6780
  bottom: "bottom";
6766
- center: "center";
6767
6781
  inside: "inside";
6768
6782
  outside: "outside";
6769
6783
  }>;
@@ -7154,8 +7168,8 @@ declare const ContentSheetSchema: z.ZodObject<{
7154
7168
  }, z.core.$strip>>;
7155
7169
  alignment: z.ZodOptional<z.ZodEnum<{
7156
7170
  left: "left";
7157
- right: "right";
7158
7171
  center: "center";
7172
+ right: "right";
7159
7173
  justify: "justify";
7160
7174
  }>>;
7161
7175
  verticalAlignment: z.ZodOptional<z.ZodEnum<{
@@ -7297,10 +7311,10 @@ declare const ContentSheetSchema: z.ZodObject<{
7297
7311
  }>;
7298
7312
  align: z.ZodEnum<{
7299
7313
  left: "left";
7314
+ center: "center";
7300
7315
  right: "right";
7301
7316
  top: "top";
7302
7317
  bottom: "bottom";
7303
- center: "center";
7304
7318
  inside: "inside";
7305
7319
  outside: "outside";
7306
7320
  }>;
@@ -7340,10 +7354,10 @@ declare const ContentSheetSchema: z.ZodObject<{
7340
7354
  }>;
7341
7355
  align: z.ZodEnum<{
7342
7356
  left: "left";
7357
+ center: "center";
7343
7358
  right: "right";
7344
7359
  top: "top";
7345
7360
  bottom: "bottom";
7346
- center: "center";
7347
7361
  inside: "inside";
7348
7362
  outside: "outside";
7349
7363
  }>;
@@ -7432,10 +7446,10 @@ declare const ContentSheetSchema: z.ZodObject<{
7432
7446
  endColumn: z.ZodNumber;
7433
7447
  }, z.core.$strip>>;
7434
7448
  type: z.ZodEnum<{
7435
- date: "date";
7436
- custom: "custom";
7437
7449
  decimal: "decimal";
7438
7450
  list: "list";
7451
+ date: "date";
7452
+ custom: "custom";
7439
7453
  time: "time";
7440
7454
  whole: "whole";
7441
7455
  textLength: "textLength";
@@ -8886,6 +8900,7 @@ declare const ContentDrawPageSchema: z.ZodObject<{
8886
8900
  fontScale: z.ZodOptional<z.ZodNumber>;
8887
8901
  lineSpacingReduction: z.ZodOptional<z.ZodNumber>;
8888
8902
  paintOrder: z.ZodOptional<z.ZodNumber>;
8903
+ readingOrder: z.ZodOptional<z.ZodNumber>;
8889
8904
  sourcePath: z.ZodOptional<z.ZodString>;
8890
8905
  source: z.ZodOptional<z.ZodObject<{
8891
8906
  format: z.ZodEnum<{
@@ -9640,6 +9655,11 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
9640
9655
  even: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodType<ContentBlock, ContentBlock, z.core.$ZodTypeInternals<ContentBlock, ContentBlock>>>>>;
9641
9656
  first: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodType<ContentBlock, ContentBlock, z.core.$ZodTypeInternals<ContentBlock, ContentBlock>>>>>;
9642
9657
  }, z.core.$strip>>;
9658
+ watermarks: z.ZodOptional<z.ZodObject<{
9659
+ default: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodType<ContentBlock, ContentBlock, z.core.$ZodTypeInternals<ContentBlock, ContentBlock>>>>>;
9660
+ even: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodType<ContentBlock, ContentBlock, z.core.$ZodTypeInternals<ContentBlock, ContentBlock>>>>>;
9661
+ first: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodType<ContentBlock, ContentBlock, z.core.$ZodTypeInternals<ContentBlock, ContentBlock>>>>>;
9662
+ }, z.core.$strip>>;
9643
9663
  source: z.ZodOptional<z.ZodObject<{
9644
9664
  format: z.ZodEnum<{
9645
9665
  docx: "docx";
@@ -9805,6 +9825,7 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
9805
9825
  fontScale: z.ZodOptional<z.ZodNumber>;
9806
9826
  lineSpacingReduction: z.ZodOptional<z.ZodNumber>;
9807
9827
  paintOrder: z.ZodOptional<z.ZodNumber>;
9828
+ readingOrder: z.ZodOptional<z.ZodNumber>;
9808
9829
  sourcePath: z.ZodOptional<z.ZodString>;
9809
9830
  source: z.ZodOptional<z.ZodObject<{
9810
9831
  format: z.ZodEnum<{
@@ -10275,8 +10296,8 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
10275
10296
  }, z.core.$strip>>;
10276
10297
  alignment: z.ZodOptional<z.ZodEnum<{
10277
10298
  left: "left";
10278
- right: "right";
10279
10299
  center: "center";
10300
+ right: "right";
10280
10301
  justify: "justify";
10281
10302
  }>>;
10282
10303
  verticalAlignment: z.ZodOptional<z.ZodEnum<{
@@ -10418,10 +10439,10 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
10418
10439
  }>;
10419
10440
  align: z.ZodEnum<{
10420
10441
  left: "left";
10442
+ center: "center";
10421
10443
  right: "right";
10422
10444
  top: "top";
10423
10445
  bottom: "bottom";
10424
- center: "center";
10425
10446
  inside: "inside";
10426
10447
  outside: "outside";
10427
10448
  }>;
@@ -10461,10 +10482,10 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
10461
10482
  }>;
10462
10483
  align: z.ZodEnum<{
10463
10484
  left: "left";
10485
+ center: "center";
10464
10486
  right: "right";
10465
10487
  top: "top";
10466
10488
  bottom: "bottom";
10467
- center: "center";
10468
10489
  inside: "inside";
10469
10490
  outside: "outside";
10470
10491
  }>;
@@ -10553,10 +10574,10 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
10553
10574
  endColumn: z.ZodNumber;
10554
10575
  }, z.core.$strip>>;
10555
10576
  type: z.ZodEnum<{
10556
- date: "date";
10557
- custom: "custom";
10558
10577
  decimal: "decimal";
10559
10578
  list: "list";
10579
+ date: "date";
10580
+ custom: "custom";
10560
10581
  time: "time";
10561
10582
  whole: "whole";
10562
10583
  textLength: "textLength";
@@ -11345,6 +11366,7 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
11345
11366
  fontScale: z.ZodOptional<z.ZodNumber>;
11346
11367
  lineSpacingReduction: z.ZodOptional<z.ZodNumber>;
11347
11368
  paintOrder: z.ZodOptional<z.ZodNumber>;
11369
+ readingOrder: z.ZodOptional<z.ZodNumber>;
11348
11370
  sourcePath: z.ZodOptional<z.ZodString>;
11349
11371
  source: z.ZodOptional<z.ZodObject<{
11350
11372
  format: z.ZodEnum<{