document-content-model 7.15.3 → 7.16.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (99) hide show
  1. package/dist/bijection-constructs-3By08A5K.cjs +14695 -0
  2. package/dist/bijection-constructs-DlP29TpB.js +14624 -0
  3. package/dist/bijection-constructs.cjs +4 -0
  4. package/dist/bijection-constructs.d.cts +6 -0
  5. package/dist/bijection-constructs.d.ts +6 -0
  6. package/dist/bijection-constructs.js +2 -0
  7. package/dist/bijection-corpus.cjs +12 -0
  8. package/dist/bijection-corpus.d.cts +46 -0
  9. package/dist/bijection-corpus.d.ts +46 -0
  10. package/dist/bijection-corpus.js +2 -0
  11. package/dist/codec.d.cts +1 -1
  12. package/dist/codec.d.ts +1 -1
  13. package/dist/{content-1yGdeaVT.d.ts → content-C8oVg7U_.d.ts} +7873 -9463
  14. package/dist/{content-CSf8z9NW.d.cts → content-UFAqR2zQ.d.cts} +7873 -9463
  15. package/dist/content-drawing-3yNJVteg.d.cts +1606 -0
  16. package/dist/content-drawing-cjm6n33_.d.ts +1606 -0
  17. package/dist/content-drawing.cjs +186 -0
  18. package/dist/content-drawing.d.cts +2 -0
  19. package/dist/content-drawing.d.ts +2 -0
  20. package/dist/content-drawing.js +171 -0
  21. package/dist/content-json-schema-defs.cjs +27 -3033
  22. package/dist/content-json-schema-defs.d.cts +2 -6
  23. package/dist/content-json-schema-defs.d.ts +2 -6
  24. package/dist/content-json-schema-defs.js +28 -3031
  25. package/dist/content-sheet.cjs +408 -0
  26. package/dist/content-sheet.d.cts +2 -0
  27. package/dist/content-sheet.d.ts +2 -0
  28. package/dist/content-sheet.js +385 -0
  29. package/dist/content-vocabulary.cjs +190 -0
  30. package/dist/content-vocabulary.d.cts +2 -0
  31. package/dist/content-vocabulary.d.ts +2 -0
  32. package/dist/content-vocabulary.js +168 -0
  33. package/dist/content.cjs +29 -781
  34. package/dist/content.d.cts +2 -2
  35. package/dist/content.d.ts +2 -2
  36. package/dist/content.js +6 -701
  37. package/dist/decompose.d.cts +3 -2
  38. package/dist/decompose.d.ts +3 -2
  39. package/dist/definitions.cjs +2 -1
  40. package/dist/definitions.d.cts +4 -4
  41. package/dist/definitions.d.ts +4 -4
  42. package/dist/definitions.js +2 -1
  43. package/dist/factor-styles.d.cts +1 -1
  44. package/dist/factor-styles.d.ts +1 -1
  45. package/dist/flatten.d.cts +1 -1
  46. package/dist/flatten.d.ts +1 -1
  47. package/dist/index.cjs +69 -63
  48. package/dist/index.d.cts +9 -7
  49. package/dist/index.d.ts +9 -7
  50. package/dist/index.js +10 -6
  51. package/dist/json-schema-defs-blocks.cjs +1036 -0
  52. package/dist/json-schema-defs-blocks.d.cts +5 -0
  53. package/dist/json-schema-defs-blocks.d.ts +5 -0
  54. package/dist/json-schema-defs-blocks.js +1035 -0
  55. package/dist/json-schema-defs-math.cjs +291 -0
  56. package/dist/json-schema-defs-math.d.cts +5 -0
  57. package/dist/json-schema-defs-math.d.ts +5 -0
  58. package/dist/json-schema-defs-math.js +290 -0
  59. package/dist/json-schema-defs-shared.cjs +42 -0
  60. package/dist/json-schema-defs-shared.d.cts +9 -0
  61. package/dist/json-schema-defs-shared.d.ts +9 -0
  62. package/dist/json-schema-defs-shared.js +38 -0
  63. package/dist/json-schema-defs-sheet.cjs +944 -0
  64. package/dist/json-schema-defs-sheet.d.cts +5 -0
  65. package/dist/json-schema-defs-sheet.d.ts +5 -0
  66. package/dist/json-schema-defs-sheet.js +943 -0
  67. package/dist/json-schema-defs-tree.cjs +237 -0
  68. package/dist/json-schema-defs-tree.d.cts +5 -0
  69. package/dist/json-schema-defs-tree.d.ts +5 -0
  70. package/dist/json-schema-defs-tree.js +237 -0
  71. package/dist/json-schema-defs-vector.cjs +513 -0
  72. package/dist/json-schema-defs-vector.d.cts +5 -0
  73. package/dist/json-schema-defs-vector.d.ts +5 -0
  74. package/dist/json-schema-defs-vector.js +512 -0
  75. package/dist/magic-string.es-CB2hOw9v.js +1012 -0
  76. package/dist/magic-string.es-MEBc20Ce.cjs +1012 -0
  77. package/dist/{package-node-CpE1BAqK.d.ts → package-node-CoWOKxt7.d.ts} +20 -19
  78. package/dist/{package-node-ng7Yimj9.d.cts → package-node-H2Calta4.d.cts} +20 -19
  79. package/dist/package-node.cjs +12 -9
  80. package/dist/package-node.d.cts +1 -1
  81. package/dist/package-node.d.ts +1 -1
  82. package/dist/package-node.js +4 -1
  83. package/dist/package.d.cts +6 -6
  84. package/dist/package.d.ts +6 -6
  85. package/dist/schema-io.cjs +2 -2
  86. package/dist/schema-io.d.cts +1 -1
  87. package/dist/schema-io.d.ts +1 -1
  88. package/dist/schema-io.js +2 -2
  89. package/dist/{style-BGMcYrD2.d.cts → style-D06NwxAJ.d.cts} +1 -1
  90. package/dist/{style-BGMcYrD2.d.ts → style-D06NwxAJ.d.ts} +1 -1
  91. package/dist/style.d.cts +1 -1
  92. package/dist/style.d.ts +1 -1
  93. package/dist/table-grid.d.cts +2 -2
  94. package/dist/table-grid.d.ts +2 -2
  95. package/dist/text-layout.d.cts +1 -1
  96. package/dist/text-layout.d.ts +1 -1
  97. package/package.json +1 -1
  98. package/schemas/content-document.schema.json +16 -16
  99. package/schemas/document-tree.schema.json +3 -3
@@ -1,5 +1,6 @@
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-CSf8z9NW.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-ng7Yimj9.cjs";
1
+ import { C as ContentParagraph, D as ContentSection, h as ContentFormula, t as ConstructMarkerImbalance, tt as ContentSheet, u as ContentDocument } from "./content-UFAqR2zQ.cjs";
2
+ import { r as ContentDrawPage, x as ContentSlide, y as ContentShape } from "./content-drawing-3yNJVteg.cjs";
3
+ 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-H2Calta4.cjs";
3
4
  //#region src/decompose.d.ts
4
5
  declare function isHeadingParagraph(paragraph: ContentParagraph): paragraph is HeadingParagraph;
5
6
  declare function isListParagraph(paragraph: ContentParagraph): paragraph is ListParagraph;
@@ -1,5 +1,6 @@
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-1yGdeaVT.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-CpE1BAqK.js";
1
+ import { C as ContentParagraph, D as ContentSection, h as ContentFormula, t as ConstructMarkerImbalance, tt as ContentSheet, u as ContentDocument } from "./content-C8oVg7U_.js";
2
+ import { r as ContentDrawPage, x as ContentSlide, y as ContentShape } from "./content-drawing-cjm6n33_.js";
3
+ 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-CoWOKxt7.js";
3
4
  //#region src/decompose.d.ts
4
5
  declare function isHeadingParagraph(paragraph: ContentParagraph): paragraph is HeadingParagraph;
5
6
  declare function isListParagraph(paragraph: ContentParagraph): paragraph is ListParagraph;
@@ -1,5 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_style = require("./style.cjs");
3
+ const require_content_vocabulary = require("./content-vocabulary.cjs");
3
4
  const require_content = require("./content.cjs");
4
5
  let zod = require("zod");
5
6
  //#region src/definitions.ts
@@ -14,7 +15,7 @@ const StyleParagraphPropertiesSchema = zod.z.strictObject({
14
15
  pageBreakBefore: zod.z.boolean().optional(),
15
16
  pageBreakAfter: zod.z.boolean().optional()
16
17
  });
17
- const StyleRunPropertiesSchema = zod.z.strictObject(require_content.RUN_FONT_PROPERTY_SHAPE);
18
+ const StyleRunPropertiesSchema = zod.z.strictObject(require_content_vocabulary.RUN_FONT_PROPERTY_SHAPE);
18
19
  const StyleEntrySchema = zod.z.strictObject({
19
20
  paragraph: StyleParagraphPropertiesSchema.optional(),
20
21
  run: StyleRunPropertiesSchema.optional()
@@ -1,11 +1,11 @@
1
- import { St as ContentRun, mt as ContentParagraph } from "./content-CSf8z9NW.cjs";
1
+ import { C as ContentParagraph, on as ContentRun } from "./content-UFAqR2zQ.cjs";
2
2
  import { z } from "zod";
3
3
  //#region src/definitions.d.ts
4
4
  declare const StyleParagraphPropertiesSchema: z.ZodObject<{
5
5
  alignment: z.ZodOptional<z.ZodEnum<{
6
6
  left: "left";
7
- right: "right";
8
7
  center: "center";
8
+ right: "right";
9
9
  justify: "justify";
10
10
  }>>;
11
11
  list: z.ZodOptional<z.ZodObject<{
@@ -49,8 +49,8 @@ declare const StyleEntrySchema: z.ZodObject<{
49
49
  paragraph: z.ZodOptional<z.ZodObject<{
50
50
  alignment: z.ZodOptional<z.ZodEnum<{
51
51
  left: "left";
52
- right: "right";
53
52
  center: "center";
53
+ right: "right";
54
54
  justify: "justify";
55
55
  }>>;
56
56
  list: z.ZodOptional<z.ZodObject<{
@@ -94,8 +94,8 @@ declare const StylesTableSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
94
94
  paragraph: z.ZodOptional<z.ZodObject<{
95
95
  alignment: z.ZodOptional<z.ZodEnum<{
96
96
  left: "left";
97
- right: "right";
98
97
  center: "center";
98
+ right: "right";
99
99
  justify: "justify";
100
100
  }>>;
101
101
  list: z.ZodOptional<z.ZodObject<{
@@ -1,11 +1,11 @@
1
- import { St as ContentRun, mt as ContentParagraph } from "./content-1yGdeaVT.js";
1
+ import { C as ContentParagraph, on as ContentRun } from "./content-C8oVg7U_.js";
2
2
  import { z } from "zod";
3
3
  //#region src/definitions.d.ts
4
4
  declare const StyleParagraphPropertiesSchema: z.ZodObject<{
5
5
  alignment: z.ZodOptional<z.ZodEnum<{
6
6
  left: "left";
7
- right: "right";
8
7
  center: "center";
8
+ right: "right";
9
9
  justify: "justify";
10
10
  }>>;
11
11
  list: z.ZodOptional<z.ZodObject<{
@@ -49,8 +49,8 @@ declare const StyleEntrySchema: z.ZodObject<{
49
49
  paragraph: z.ZodOptional<z.ZodObject<{
50
50
  alignment: z.ZodOptional<z.ZodEnum<{
51
51
  left: "left";
52
- right: "right";
53
52
  center: "center";
53
+ right: "right";
54
54
  justify: "justify";
55
55
  }>>;
56
56
  list: z.ZodOptional<z.ZodObject<{
@@ -94,8 +94,8 @@ declare const StylesTableSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
94
94
  paragraph: z.ZodOptional<z.ZodObject<{
95
95
  alignment: z.ZodOptional<z.ZodEnum<{
96
96
  left: "left";
97
- right: "right";
98
97
  center: "center";
98
+ right: "right";
99
99
  justify: "justify";
100
100
  }>>;
101
101
  list: z.ZodOptional<z.ZodObject<{
@@ -1,5 +1,6 @@
1
1
  import { AlignmentSchema } from "./style.js";
2
- import { ContentListMembershipSchema, RUN_FONT_PROPERTY_SHAPE } from "./content.js";
2
+ import { RUN_FONT_PROPERTY_SHAPE } from "./content-vocabulary.js";
3
+ import { ContentListMembershipSchema } from "./content.js";
3
4
  import { z } from "zod";
4
5
  //#region src/definitions.ts
5
6
  const StyleParagraphPropertiesSchema = z.strictObject({
@@ -1,5 +1,5 @@
1
1
  import { l as PageSize } from "./geometry-CvcjSwnA.cjs";
2
- import { C as ContentDocument } from "./content-CSf8z9NW.cjs";
2
+ import { u as ContentDocument } from "./content-UFAqR2zQ.cjs";
3
3
  import { DocumentTree } from "./package.cjs";
4
4
  //#region src/factor-styles.d.ts
5
5
  declare function assembleTree(content: ContentDocument, pages?: readonly PageSize[]): DocumentTree;
@@ -1,5 +1,5 @@
1
1
  import { l as PageSize } from "./geometry-CvcjSwnA.js";
2
- import { C as ContentDocument } from "./content-1yGdeaVT.js";
2
+ import { u as ContentDocument } from "./content-C8oVg7U_.js";
3
3
  import { DocumentTree } from "./package.js";
4
4
  //#region src/factor-styles.d.ts
5
5
  declare function assembleTree(content: ContentDocument, pages?: readonly PageSize[]): DocumentTree;
@@ -1,4 +1,4 @@
1
- import { C as ContentDocument } from "./content-CSf8z9NW.cjs";
1
+ import { u as ContentDocument } from "./content-UFAqR2zQ.cjs";
2
2
  import { DocumentTree } from "./package.cjs";
3
3
  //#region src/flatten.d.ts
4
4
  declare function assertNeverDocumentTreeKind(value: never): never;
package/dist/flatten.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { C as ContentDocument } from "./content-1yGdeaVT.js";
1
+ import { u as ContentDocument } from "./content-C8oVg7U_.js";
2
2
  import { DocumentTree } from "./package.js";
3
3
  //#region src/flatten.d.ts
4
4
  declare function assertNeverDocumentTreeKind(value: never): never;
package/dist/index.cjs CHANGED
@@ -1,19 +1,23 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_a1 = require("./a1.cjs");
3
- const require_border_weight = require("./border-weight.cjs");
4
- const require_color = require("./color.cjs");
5
3
  const require_source = require("./source.cjs");
6
4
  const require_construct = require("./construct.cjs");
5
+ const require_geometry = require("./geometry.cjs");
7
6
  const require_math = require("./math.cjs");
8
7
  const require_mathml = require("./mathml.cjs");
9
- const require_geometry = require("./geometry.cjs");
10
8
  const require_style = require("./style.cjs");
11
9
  const require_metadata = require("./metadata.cjs");
10
+ const require_color = require("./color.cjs");
11
+ const require_content_vocabulary = require("./content-vocabulary.cjs");
12
+ const require_content_sheet = require("./content-sheet.cjs");
13
+ const require_content_drawing = require("./content-drawing.cjs");
12
14
  const require_content = require("./content.cjs");
15
+ const require_border_weight = require("./border-weight.cjs");
13
16
  const require_definitions = require("./definitions.cjs");
14
17
  const require_package_node = require("./package-node.cjs");
15
18
  const require_package = require("./package.cjs");
16
19
  const require_schema_io = require("./schema-io.cjs");
20
+ const require_json_schema_defs_shared = require("./json-schema-defs-shared.cjs");
17
21
  const require_content_json_schema_defs = require("./content-json-schema-defs.cjs");
18
22
  const require_decompose = require("./decompose.cjs");
19
23
  const require_flatten = require("./flatten.cjs");
@@ -25,19 +29,19 @@ exports.AnchorTypeSchema = require_construct.AnchorTypeSchema;
25
29
  exports.BORDER_WIDTH_PT = require_border_weight.BORDER_WIDTH_PT;
26
30
  exports.BoxSchema = require_geometry.BoxSchema;
27
31
  exports.COLOR_BLACK = require_color.COLOR_BLACK;
28
- exports.CONTENT_ANNOTATION_FIELDS = require_content.CONTENT_ANNOTATION_FIELDS;
32
+ exports.CONTENT_ANNOTATION_FIELDS = require_content_vocabulary.CONTENT_ANNOTATION_FIELDS;
29
33
  exports.CONTENT_DEFS = require_content_json_schema_defs.CONTENT_DEFS;
30
- exports.CONTENT_DOCUMENT_URI = require_content_json_schema_defs.CONTENT_DOCUMENT_URI;
34
+ exports.CONTENT_DOCUMENT_URI = require_json_schema_defs_shared.CONTENT_DOCUMENT_URI;
31
35
  exports.ColorSchema = require_color.ColorSchema;
32
36
  exports.ConstructDescriptorSchema = require_construct.ConstructDescriptorSchema;
33
37
  exports.ConstructMarkerImbalanceError = require_decompose.ConstructMarkerImbalanceError;
34
- exports.ContentBitmapFillSchema = require_content.ContentBitmapFillSchema;
38
+ exports.ContentBitmapFillSchema = require_content_drawing.ContentBitmapFillSchema;
35
39
  exports.ContentBlockSchema = require_content.ContentBlockSchema;
36
- exports.ContentBorderSchema = require_content.ContentBorderSchema;
37
- exports.ContentCellBordersSchema = require_content.ContentCellBordersSchema;
38
- exports.ContentCellFillSchema = require_content.ContentCellFillSchema;
39
- exports.ContentCellPatternTypeSchema = require_content.ContentCellPatternTypeSchema;
40
- exports.ContentCellValueSchema = require_content.ContentCellValueSchema;
40
+ exports.ContentBorderSchema = require_content_vocabulary.ContentBorderSchema;
41
+ exports.ContentCellBordersSchema = require_content_sheet.ContentCellBordersSchema;
42
+ exports.ContentCellFillSchema = require_content_sheet.ContentCellFillSchema;
43
+ exports.ContentCellPatternTypeSchema = require_content_sheet.ContentCellPatternTypeSchema;
44
+ exports.ContentCellValueSchema = require_content_sheet.ContentCellValueSchema;
41
45
  exports.ContentConstructEndSchema = require_content.ContentConstructEndSchema;
42
46
  exports.ContentConstructStartSchema = require_content.ContentConstructStartSchema;
43
47
  exports.ContentControlDescriptorSchema = require_construct.ContentControlDescriptorSchema;
@@ -45,62 +49,62 @@ exports.ContentControlLockSchema = require_construct.ContentControlLockSchema;
45
49
  exports.ContentControlTypeSchema = require_construct.ContentControlTypeSchema;
46
50
  exports.ContentDefinedNameSchema = require_content.ContentDefinedNameSchema;
47
51
  exports.ContentDocumentSchema = require_content.ContentDocumentSchema;
48
- exports.ContentDrawPageSchema = require_content.ContentDrawPageSchema;
49
- exports.ContentEmbeddedObjectBlockSchema = require_content.ContentEmbeddedObjectBlockSchema;
50
- exports.ContentEmbeddedObjectSchema = require_content.ContentEmbeddedObjectSchema;
51
- exports.ContentFillPatternSchema = require_content.ContentFillPatternSchema;
52
- exports.ContentFloatAlignSchema = require_content.ContentFloatAlignSchema;
53
- exports.ContentFloatAxisSchema = require_content.ContentFloatAxisSchema;
54
- exports.ContentFloatOriginSchema = require_content.ContentFloatOriginSchema;
55
- exports.ContentFloatPositionSchema = require_content.ContentFloatPositionSchema;
56
- exports.ContentFontSchema = require_content.ContentFontSchema;
52
+ exports.ContentDrawPageSchema = require_content_drawing.ContentDrawPageSchema;
53
+ exports.ContentEmbeddedObjectBlockSchema = require_content_vocabulary.ContentEmbeddedObjectBlockSchema;
54
+ exports.ContentEmbeddedObjectSchema = require_content_vocabulary.ContentEmbeddedObjectSchema;
55
+ exports.ContentFillPatternSchema = require_content_drawing.ContentFillPatternSchema;
56
+ exports.ContentFloatAlignSchema = require_content_vocabulary.ContentFloatAlignSchema;
57
+ exports.ContentFloatAxisSchema = require_content_vocabulary.ContentFloatAxisSchema;
58
+ exports.ContentFloatOriginSchema = require_content_vocabulary.ContentFloatOriginSchema;
59
+ exports.ContentFloatPositionSchema = require_content_vocabulary.ContentFloatPositionSchema;
60
+ exports.ContentFontSchema = require_content_vocabulary.ContentFontSchema;
57
61
  exports.ContentFormulaSchema = require_content.ContentFormulaSchema;
58
- exports.ContentGradientFillSchema = require_content.ContentGradientFillSchema;
59
- exports.ContentGradientStyleSchema = require_content.ContentGradientStyleSchema;
60
- exports.ContentHatchFillSchema = require_content.ContentHatchFillSchema;
61
- exports.ContentHatchStyleSchema = require_content.ContentHatchStyleSchema;
62
- exports.ContentImageBlockSchema = require_content.ContentImageBlockSchema;
63
- exports.ContentImageOriginalSchema = require_content.ContentImageOriginalSchema;
64
- exports.ContentInterpretationSchema = require_content.ContentInterpretationSchema;
62
+ exports.ContentGradientFillSchema = require_content_drawing.ContentGradientFillSchema;
63
+ exports.ContentGradientStyleSchema = require_content_drawing.ContentGradientStyleSchema;
64
+ exports.ContentHatchFillSchema = require_content_drawing.ContentHatchFillSchema;
65
+ exports.ContentHatchStyleSchema = require_content_drawing.ContentHatchStyleSchema;
66
+ exports.ContentImageBlockSchema = require_content_vocabulary.ContentImageBlockSchema;
67
+ exports.ContentImageOriginalSchema = require_content_vocabulary.ContentImageOriginalSchema;
68
+ exports.ContentInterpretationSchema = require_content_vocabulary.ContentInterpretationSchema;
65
69
  exports.ContentListMembershipSchema = require_content.ContentListMembershipSchema;
66
- exports.ContentOriginSchema = require_content.ContentOriginSchema;
70
+ exports.ContentOriginSchema = require_content_vocabulary.ContentOriginSchema;
67
71
  exports.ContentPageBreakSchema = require_content.ContentPageBreakSchema;
68
72
  exports.ContentPageFurnitureSchema = require_content.ContentPageFurnitureSchema;
69
73
  exports.ContentParagraphBordersSchema = require_content.ContentParagraphBordersSchema;
70
74
  exports.ContentParagraphSchema = require_content.ContentParagraphSchema;
71
- exports.ContentPathPointSchema = require_content.ContentPathPointSchema;
72
- exports.ContentPathSegmentSchema = require_content.ContentPathSegmentSchema;
73
- exports.ContentRunSchema = require_content.ContentRunSchema;
75
+ exports.ContentPathPointSchema = require_content_drawing.ContentPathPointSchema;
76
+ exports.ContentPathSegmentSchema = require_content_drawing.ContentPathSegmentSchema;
77
+ exports.ContentRunSchema = require_content_vocabulary.ContentRunSchema;
74
78
  exports.ContentSectionSchema = require_content.ContentSectionSchema;
75
- exports.ContentShapeSchema = require_content.ContentShapeSchema;
76
- exports.ContentSheetCellCommentSchema = require_content.ContentSheetCellCommentSchema;
77
- exports.ContentSheetCellSchema = require_content.ContentSheetCellSchema;
78
- exports.ContentSheetColumnSchema = require_content.ContentSheetColumnSchema;
79
- exports.ContentSheetConditionalFormatSchema = require_content.ContentSheetConditionalFormatSchema;
80
- exports.ContentSheetConditionalFormatStyleSchema = require_content.ContentSheetConditionalFormatStyleSchema;
81
- exports.ContentSheetConditionalFormatValueSchema = require_content.ContentSheetConditionalFormatValueSchema;
82
- exports.ContentSheetDataValidationSchema = require_content.ContentSheetDataValidationSchema;
83
- exports.ContentSheetDataValidationTypeSchema = require_content.ContentSheetDataValidationTypeSchema;
84
- exports.ContentSheetImageSchema = require_content.ContentSheetImageSchema;
85
- exports.ContentSheetPrintRangeSchema = require_content.ContentSheetPrintRangeSchema;
86
- exports.ContentSheetPrintSettingsSchema = require_content.ContentSheetPrintSettingsSchema;
87
- exports.ContentSheetRangeSchema = require_content.ContentSheetRangeSchema;
88
- exports.ContentSheetRepeatRangeSchema = require_content.ContentSheetRepeatRangeSchema;
89
- exports.ContentSheetRowSchema = require_content.ContentSheetRowSchema;
90
- exports.ContentSheetSchema = require_content.ContentSheetSchema;
91
- exports.ContentSlideSchema = require_content.ContentSlideSchema;
92
- exports.ContentStrokeDashSchema = require_content.ContentStrokeDashSchema;
93
- exports.ContentStrokeSchema = require_content.ContentStrokeSchema;
94
- exports.ContentStrokeStyleSchema = require_content.ContentStrokeStyleSchema;
95
- exports.ContentSubpathSchema = require_content.ContentSubpathSchema;
79
+ exports.ContentShapeSchema = require_content_drawing.ContentShapeSchema;
80
+ exports.ContentSheetCellCommentSchema = require_content_sheet.ContentSheetCellCommentSchema;
81
+ exports.ContentSheetCellSchema = require_content_sheet.ContentSheetCellSchema;
82
+ exports.ContentSheetColumnSchema = require_content_sheet.ContentSheetColumnSchema;
83
+ exports.ContentSheetConditionalFormatSchema = require_content_sheet.ContentSheetConditionalFormatSchema;
84
+ exports.ContentSheetConditionalFormatStyleSchema = require_content_sheet.ContentSheetConditionalFormatStyleSchema;
85
+ exports.ContentSheetConditionalFormatValueSchema = require_content_sheet.ContentSheetConditionalFormatValueSchema;
86
+ exports.ContentSheetDataValidationSchema = require_content_sheet.ContentSheetDataValidationSchema;
87
+ exports.ContentSheetDataValidationTypeSchema = require_content_sheet.ContentSheetDataValidationTypeSchema;
88
+ exports.ContentSheetImageSchema = require_content_sheet.ContentSheetImageSchema;
89
+ exports.ContentSheetPrintRangeSchema = require_content_sheet.ContentSheetPrintRangeSchema;
90
+ exports.ContentSheetPrintSettingsSchema = require_content_sheet.ContentSheetPrintSettingsSchema;
91
+ exports.ContentSheetRangeSchema = require_content_sheet.ContentSheetRangeSchema;
92
+ exports.ContentSheetRepeatRangeSchema = require_content_sheet.ContentSheetRepeatRangeSchema;
93
+ exports.ContentSheetRowSchema = require_content_sheet.ContentSheetRowSchema;
94
+ exports.ContentSheetSchema = require_content_sheet.ContentSheetSchema;
95
+ exports.ContentSlideSchema = require_content_drawing.ContentSlideSchema;
96
+ exports.ContentStrokeDashSchema = require_content_drawing.ContentStrokeDashSchema;
97
+ exports.ContentStrokeSchema = require_content_drawing.ContentStrokeSchema;
98
+ exports.ContentStrokeStyleSchema = require_content_vocabulary.ContentStrokeStyleSchema;
99
+ exports.ContentSubpathSchema = require_content_drawing.ContentSubpathSchema;
96
100
  exports.ContentTableCellSchema = require_content.ContentTableCellSchema;
97
101
  exports.ContentTableColumnSchema = require_content.ContentTableColumnSchema;
98
102
  exports.ContentTableRowSchema = require_content.ContentTableRowSchema;
99
103
  exports.ContentTableSchema = require_content.ContentTableSchema;
100
- exports.ContentTranscriptSchema = require_content.ContentTranscriptSchema;
101
- exports.ContentVectorSchema = require_content.ContentVectorSchema;
104
+ exports.ContentTranscriptSchema = require_content_vocabulary.ContentTranscriptSchema;
105
+ exports.ContentVectorSchema = require_content_drawing.ContentVectorSchema;
102
106
  exports.DEFAULT_LAYOUT_FONT = require_style.DEFAULT_LAYOUT_FONT;
103
- exports.DecimalStringSchema = require_content.DecimalStringSchema;
107
+ exports.DecimalStringSchema = require_content_sheet.DecimalStringSchema;
104
108
  exports.DefinitionEntrySchema = require_definitions.DefinitionEntrySchema;
105
109
  exports.DefinitionsTableSchema = require_definitions.DefinitionsTableSchema;
106
110
  exports.DimensionVectorSchema = require_math.DimensionVectorSchema;
@@ -110,14 +114,14 @@ exports.DocumentPackageRenamedError = require_schema_io.DocumentPackageRenamedEr
110
114
  exports.DocumentTreeSchema = require_package.DocumentTreeSchema;
111
115
  exports.DrawPageDescriptorSchema = require_package_node.DrawPageDescriptorSchema;
112
116
  exports.DrawPageGroupSchema = require_package_node.DrawPageGroupSchema;
113
- exports.EMBEDDED_OBJECT_KINDS = require_content_json_schema_defs.EMBEDDED_OBJECT_KINDS;
117
+ exports.EMBEDDED_OBJECT_KINDS = require_json_schema_defs_shared.EMBEDDED_OBJECT_KINDS;
114
118
  exports.EvaluationValueSchema = require_math.EvaluationValueSchema;
115
119
  exports.ExactRationalSchema = require_math.ExactRationalSchema;
116
120
  exports.FieldDescriptorSchema = require_construct.FieldDescriptorSchema;
117
121
  exports.FormulaBindingsSchema = require_math.FormulaBindingsSchema;
118
122
  exports.HeadingGroupSchema = require_package_node.HeadingGroupSchema;
119
123
  exports.HeadingParagraphSchema = require_package_node.HeadingParagraphSchema;
120
- exports.IMAGE_FORMATS = require_content.IMAGE_FORMATS;
124
+ exports.IMAGE_FORMATS = require_content_vocabulary.IMAGE_FORMATS;
121
125
  exports.IntervalSchema = require_math.IntervalSchema;
122
126
  exports.LayoutFontSchema = require_style.LayoutFontSchema;
123
127
  exports.LayoutFrameSchema = require_geometry.LayoutFrameSchema;
@@ -127,7 +131,6 @@ exports.LinkDescriptorSchema = require_construct.LinkDescriptorSchema;
127
131
  exports.LinkTargetSchema = require_construct.LinkTargetSchema;
128
132
  exports.ListGroupSchema = require_package_node.ListGroupSchema;
129
133
  exports.ListParagraphSchema = require_package_node.ListParagraphSchema;
130
- exports.MAX_SAFE_INTEGER = require_content_json_schema_defs.MAX_SAFE_INTEGER;
131
134
  exports.MarginsSchema = require_geometry.MarginsSchema;
132
135
  exports.MathAppSchema = require_math.MathAppSchema;
133
136
  exports.MathExpressionSchema = require_math.MathExpressionSchema;
@@ -158,8 +161,8 @@ exports.PageSizeSchema = require_geometry.PageSizeSchema;
158
161
  exports.ProvenanceChangeSchema = require_construct.ProvenanceChangeSchema;
159
162
  exports.ProvenanceDescriptorSchema = require_construct.ProvenanceDescriptorSchema;
160
163
  exports.QuantitySchema = require_math.QuantitySchema;
161
- exports.RUN_FONT_PROPERTY_SHAPE = require_content.RUN_FONT_PROPERTY_SHAPE;
162
- exports.RunConstructExtentSchema = require_content.RunConstructExtentSchema;
164
+ exports.RUN_FONT_PROPERTY_SHAPE = require_content_vocabulary.RUN_FONT_PROPERTY_SHAPE;
165
+ exports.RunConstructExtentSchema = require_content_vocabulary.RunConstructExtentSchema;
163
166
  exports.SCHEMA_FILE_NAMES = require_schema_io.SCHEMA_FILE_NAMES;
164
167
  exports.SI_BASE_DIMENSIONS = require_math.SI_BASE_DIMENSIONS;
165
168
  exports.SLIDE_SIZE_STANDARD = require_geometry.SLIDE_SIZE_STANDARD;
@@ -173,7 +176,7 @@ exports.ShapeDescriptorSchema = require_package_node.ShapeDescriptorSchema;
173
176
  exports.ShapeGroupSchema = require_package_node.ShapeGroupSchema;
174
177
  exports.SheetDescriptorSchema = require_package_node.SheetDescriptorSchema;
175
178
  exports.SheetGroupSchema = require_package_node.SheetGroupSchema;
176
- exports.SheetRuleOperatorSchema = require_content.SheetRuleOperatorSchema;
179
+ exports.SheetRuleOperatorSchema = require_content_sheet.SheetRuleOperatorSchema;
177
180
  exports.SlideDescriptorSchema = require_package_node.SlideDescriptorSchema;
178
181
  exports.SlideGroupSchema = require_package_node.SlideGroupSchema;
179
182
  exports.SourceFormatSchema = require_source.SourceFormatSchema;
@@ -201,6 +204,8 @@ exports.clampHeadingLevel = require_content.clampHeadingLevel;
201
204
  exports.colorToRgbHex = require_color.colorToRgbHex;
202
205
  exports.columnIndexToLetters = require_a1.columnIndexToLetters;
203
206
  exports.columnLettersToIndex = require_a1.columnLettersToIndex;
207
+ exports.contentBlockSchemaBox = require_content_vocabulary.contentBlockSchemaBox;
208
+ exports.contentDocumentSchemaBox = require_content_vocabulary.contentDocumentSchemaBox;
204
209
  exports.contentDocumentSharedFields = require_content.contentDocumentSharedFields;
205
210
  exports.contentDocumentWithSchema = require_schema_io.contentDocumentWithSchema;
206
211
  exports.dashedBorderWeightForWidthPt = require_border_weight.dashedBorderWeightForWidthPt;
@@ -220,6 +225,7 @@ exports.isContentConstructEnd = require_content.isContentConstructEnd;
220
225
  exports.isContentConstructStart = require_content.isContentConstructStart;
221
226
  exports.isDrawPageGroupNode = require_package_node.isDrawPageGroupNode;
222
227
  exports.isHeadingGroupNode = require_package_node.isHeadingGroupNode;
228
+ exports.isImageFormat = require_content_vocabulary.isImageFormat;
223
229
  exports.isListGroupNode = require_package_node.isListGroupNode;
224
230
  exports.isMathExpression = require_math.isMathExpression;
225
231
  exports.isMathMlNode = require_mathml.isMathMlNode;
@@ -239,12 +245,12 @@ exports.parseCellReference = require_a1.parseCellReference;
239
245
  exports.parseRangeReference = require_a1.parseRangeReference;
240
246
  exports.placeAnchorTableRows = require_table_grid.placeAnchorTableRows;
241
247
  exports.rangeReference = require_a1.rangeReference;
242
- exports.resolveCellFillColor = require_content.resolveCellFillColor;
248
+ exports.resolveCellFillColor = require_content_sheet.resolveCellFillColor;
243
249
  exports.resolveStyleChain = require_definitions.resolveStyleChain;
244
250
  exports.rgbHexToColor = require_color.rgbHexToColor;
245
251
  exports.schemaUriFor = require_schema_io.schemaUriFor;
246
252
  exports.tableCellColumnSpan = require_table_grid.tableCellColumnSpan;
247
253
  exports.tableCellRowSpan = require_table_grid.tableCellRowSpan;
248
254
  exports.tableGridColumnCount = require_table_grid.tableGridColumnCount;
249
- exports.unrecognizedFillKind = require_content.unrecognizedFillKind;
255
+ exports.unrecognizedFillKind = require_content_sheet.unrecognizedFillKind;
250
256
  exports.walkTableGrid = require_table_grid.walkTableGrid;
package/dist/index.d.cts CHANGED
@@ -1,16 +1,18 @@
1
1
  import { CellPosition, CellRange, cellReference, columnIndexToLetters, columnLettersToIndex, parseCellReference, parseRangeReference, rangeReference } from "./a1.cjs";
2
- import { BORDER_WIDTH_PT, BorderWeight, borderWeightForWidthPt, dashedBorderWeightForWidthPt } from "./border-weight.cjs";
3
2
  import { _ as isMathMlNode, a as MathMlComment, c as MathMlDeclarationSchema, d as MathMlNode, f as MathMlNodeSchema, g as MathMlTextSchema, h as MathMlText, i as MathMlCdataSchema, l as MathMlElement, m as MathMlPiSchema, n as MathMlAttributeSchema, o as MathMlCommentSchema, p as MathMlPi, r as MathMlCdata, s as MathMlDeclaration, t as MathMlAttribute, u as MathMlElementSchema } from "./mathml-Czqc1mdZ.cjs";
4
3
  import { A as MathSumSchema, B as MathUnparsedSchema, C as MathProd, D as MathQty, E as MathProvenanceSchema, F as MathUncertainty, G as SymbolTable, H as QuantitySchema, I as MathUncertaintySchema, K as SymbolTableSchema, L as MathUnit, M as MathSymSchema, N as MathSymbolEntry, O as MathQtySchema, P as MathSymbolEntrySchema, R as MathUnitSchema, S as MathPresentationSchema, T as MathProvenance, U as SI_BASE_DIMENSIONS, V as Quantity, W as SiBaseDimension, _ as MathNormalisationContext, a as ExactRational, b as MathNumSchema, c as FormulaBindingsSchema, d as MathApp, f as MathAppSchema, g as MathMatrixSchema, h as MathMatrix, i as EvaluationValueSchema, j as MathSym, k as MathSum, l as Interval, m as MathExpressionSchema, n as DimensionVectorSchema, o as ExactRationalSchema, p as MathExpression, q as isMathExpression, r as EvaluationValue, s as FormulaBindings, t as DimensionVector, u as IntervalSchema, v as MathNormalisationContextSchema, w as MathProdSchema, x as MathPresentation, y as MathNum, z as MathUnparsed } from "./math-BScHxedi.cjs";
5
- import { a as rgbHexToColor, i as colorToRgbHex, n as Color, r as ColorSchema, t as COLOR_BLACK } from "./color-CS3HtBwD.cjs";
6
4
  import { a as Margins, c as PAGE_SIZE_LETTER, d as Point, f as SLIDE_SIZE_STANDARD, i as LayoutFrameSchema, l as PageSize, n as BoxSchema, o as MarginsSchema, p as SLIDE_SIZE_WIDESCREEN, r as LayoutFrame, s as PAGE_SIZE_A4, t as Box, u as PageSizeSchema } from "./geometry-CvcjSwnA.cjs";
7
5
  import { i as SourceResidueSchema, n as SourceFormatSchema, r as SourceResidue, t as SourceFormat } from "./source-Bas5ol6f.cjs";
8
- import { a as LayoutFontSchema, i as LayoutFont, n as AlignmentSchema, o as TextDirection, r as DEFAULT_LAYOUT_FONT, s as TextDirectionSchema, t as Alignment } from "./style-BGMcYrD2.cjs";
9
- import { $ as ContentHatchStyleSchema, $t as ContentSheetRepeatRange, A as ContentEmbeddedObjectKind, An as ImageFormat, At as ContentSheetCellComment, B as ContentFloatPosition, Bn as findRunConstructFault, Bt as ContentSheetConditionalFormatValueSchema, C as ContentDocument, Cn as ContentTranscriptSchema, Ct as ContentRunSchema, D as ContentEmbeddedObject, Dn as DecimalStringSchema, Dt as ContentShapeSchema, E as ContentDrawPageSchema, En as DecimalString, Et as ContentShape, F as ContentFloatAlignSchema, Fn as SheetRuleOperator, Ft as ContentSheetConditionalFormat, G as ContentFormulaSchema, Gn as resolveCellFillColor, Gt as ContentSheetImage, H as ContentFont, Hn as isContentConstructEnd, Ht as ContentSheetDataValidationSchema, I as ContentFloatAxis, In as SheetRuleOperatorSchema, It as ContentSheetConditionalFormatSchema, J as ContentGradientStyle, Jt as ContentSheetPrintRangeSchema, K as ContentGradientFill, Kn as unrecognizedFillKind, Kt as ContentSheetImageSchema, L as ContentFloatAxisSchema, Ln as clampHeadingLevel, Lt as ContentSheetConditionalFormatStyle, M as ContentFillPattern, Mn as RunConstructExtent, Mt as ContentSheetCellSchema, N as ContentFillPatternSchema, Nn as RunConstructExtentSchema, Nt as ContentSheetColumn, O as ContentEmbeddedObjectBlock, On as FusedNode, Ot as ContentSheet, P as ContentFloatAlign, Pn as RunConstructFault, Pt as ContentSheetColumnSchema, Q as ContentHatchStyle, Qt as ContentSheetRangeSchema, R as ContentFloatOrigin, Rn as contentDocumentSharedFields, Rt as ContentSheetConditionalFormatStyleSchema, S as ContentDefinedNameSchema, Sn as ContentTranscript, St as ContentRun, T as ContentDrawPage, Tn as ContentVectorSchema, Tt as ContentSectionSchema, U as ContentFontSchema, Un as isContentConstructStart, Ut as ContentSheetDataValidationType, V as ContentFloatPositionSchema, Vn as isContentBlock, Vt as ContentSheetDataValidation, W as ContentFormula, Wn as isRunConstructExtent, 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 ContentTableColumn, _t as ContentParagraphSchema, a as ContentBlock, an as ContentSlideSchema, at as ContentInterpretationSchema, b as ContentConstructStartSchema, bn as ContentTableRowSchema, 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 RUN_FONT_PROPERTY_SHAPE, jt as ContentSheetCellCommentSchema, k as ContentEmbeddedObjectBlockSchema, kn as IMAGE_FORMATS, 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 ContentTableColumnSchema, vt as ContentPathPoint, w as ContentDocumentSchema, wn as ContentVector, wt as ContentSection, x as ContentDefinedName, xn as ContentTableSchema, xt as ContentPathSegmentSchema, y as ContentConstructStart, yn as ContentTableRow, yt as ContentPathPointSchema, z as ContentFloatOriginSchema, zn as findConstructMarkerImbalance, zt as ContentSheetConditionalFormatValue } from "./content-CSf8z9NW.cjs";
6
+ import { a as LayoutFontSchema, i as LayoutFont, n as AlignmentSchema, o as TextDirection, r as DEFAULT_LAYOUT_FONT, s as TextDirectionSchema, t as Alignment } from "./style-D06NwxAJ.cjs";
7
+ import { $ as ContentCellValue, $t as ContentImageBlockSchema, A as ContentTableCell, At as ContentSheetSchema, B as contentDocumentSharedFields, Bt as ContentEmbeddedObjectBlockSchema, C as ContentParagraph, Ct as ContentSheetPrintSettingsSchema, D as ContentSection, Dt as ContentSheetRepeatRangeSchema, E as ContentParagraphSchema, Et as ContentSheetRepeatRange, F as ContentTableRowSchema, Ft as resolveCellFillColor, G as isContentConstructStart, Gt as ContentFloatAxisSchema, H as findRunConstructFault, Ht as ContentFloatAlign, I as ContentTableSchema, It as unrecognizedFillKind, J as ContentCellBordersSchema, Jt as ContentFloatPosition, K as isRunConstructExtent, Kt as ContentFloatOrigin, L as FusedNode, Lt as CONTENT_ANNOTATION_FIELDS, M as ContentTableColumn, Mt as DecimalStringSchema, N as ContentTableColumnSchema, Nt as SheetRuleOperator, O as ContentSectionSchema, Ot as ContentSheetRow, P as ContentTableRow, Pt as SheetRuleOperatorSchema, Q as ContentCellPatternTypeSchema, Qt as ContentImageBlock, R as RunConstructFault, Rt as ContentBorder, S as ContentPageFurnitureSchema, St as ContentSheetPrintSettings, T as ContentParagraphBordersSchema, Tt as ContentSheetRangeSchema, U as isContentBlock, Ut as ContentFloatAlignSchema, V as findConstructMarkerImbalance, Vt as ContentEmbeddedObjectSchema, W as isContentConstructEnd, Wt as ContentFloatAxis, X as ContentCellFillSchema, Xt as ContentFont, Y as ContentCellFill, Yt as ContentFloatPositionSchema, Z as ContentCellPatternType, Zt as ContentFontSchema, _ as ContentListMembership, _n as contentBlockSchemaBox, _t as ContentSheetDataValidationTypeSchema, a as ContentConstructEndSchema, an as ContentOriginSchema, at as ContentSheetCellSchema, b as ContentPageBreakSchema, bt as ContentSheetPrintRange, c as ContentDefinedName, cn as ContentStrokeStyle, ct as ContentSheetConditionalFormat, d as ContentDocumentSchema, dn as ContentTranscriptSchema, dt as ContentSheetConditionalFormatStyleSchema, en as ContentImageOriginal, et as ContentCellValueSchema, f as ContentEmbeddedObject, fn as IMAGE_FORMATS, ft as ContentSheetConditionalFormatValue, g as ContentFormulaSchema, gn as RunConstructExtentSchema, gt as ContentSheetDataValidationType, h as ContentFormula, hn as RunConstructExtent, ht as ContentSheetDataValidationSchema, i as ContentConstructEnd, in as ContentOrigin, it as ContentSheetCellCommentSchema, j as ContentTableCellSchema, jt as DecimalString, k as ContentTable, kt as ContentSheetRowSchema, l as ContentDefinedNameSchema, ln as ContentStrokeStyleSchema, lt as ContentSheetConditionalFormatSchema, m as ContentEmbeddedObjectKind, mn as RUN_FONT_PROPERTY_SHAPE, mt as ContentSheetDataValidation, n as ContentBlock, nn as ContentInterpretation, nt as ContentSheetCell, o as ContentConstructStart, on as ContentRun, ot as ContentSheetColumn, p as ContentEmbeddedObjectBlock, pn as ImageFormat, pt as ContentSheetConditionalFormatValueSchema, q as ContentCellBorders, qt as ContentFloatOriginSchema, r as ContentBlockSchema, rn as ContentInterpretationSchema, rt as ContentSheetCellComment, s as ContentConstructStartSchema, sn as ContentRunSchema, st as ContentSheetColumnSchema, t as ConstructMarkerImbalance, tn as ContentImageOriginalSchema, tt as ContentSheet, u as ContentDocument, un as ContentTranscript, ut as ContentSheetConditionalFormatStyle, v as ContentListMembershipSchema, vn as contentDocumentSchemaBox, vt as ContentSheetImage, w as ContentParagraphBorders, wt as ContentSheetRange, x as ContentPageFurniture, xt as ContentSheetPrintRangeSchema, y as ContentPageBreak, yn as isImageFormat, yt as ContentSheetImageSchema, z as clampHeadingLevel, zt as ContentBorderSchema } from "./content-UFAqR2zQ.cjs";
8
+ import { a as rgbHexToColor, i as colorToRgbHex, n as Color, r as ColorSchema, t as COLOR_BLACK } from "./color-CS3HtBwD.cjs";
9
+ import { A as ContentVectorSchema, C as ContentStroke, D as ContentSubpath, E as ContentStrokeSchema, O as ContentSubpathSchema, S as ContentSlideSchema, T as ContentStrokeDashSchema, _ as ContentPathSegment, a as ContentFillPattern, b as ContentShapeSchema, c as ContentGradientFillSchema, d as ContentHatchFill, f as ContentHatchFillSchema, g as ContentPathPointSchema, h as ContentPathPoint, i as ContentDrawPageSchema, k as ContentVector, l as ContentGradientStyle, m as ContentHatchStyleSchema, n as ContentBitmapFillSchema, o as ContentFillPatternSchema, p as ContentHatchStyle, r as ContentDrawPage, s as ContentGradientFill, t as ContentBitmapFill, u as ContentGradientStyleSchema, v as ContentPathSegmentSchema, w as ContentStrokeDash, x as ContentSlide, y as ContentShape } from "./content-drawing-3yNJVteg.cjs";
10
+ import { BORDER_WIDTH_PT, BorderWeight, borderWeightForWidthPt, dashedBorderWeightForWidthPt } from "./border-weight.cjs";
10
11
  import { ContentCodec } from "./codec.cjs";
11
12
  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";
12
- import { CONTENT_DEFS, CONTENT_DOCUMENT_URI, EMBEDDED_OBJECT_KINDS, MAX_SAFE_INTEGER } from "./content-json-schema-defs.cjs";
13
- import { $ as isSheetGroupNode, A as SheetDescriptor, B as TreeGroup, C as ShapeConstructGroupNode, D as ShapeGroupNode, E as ShapeDescriptorSchema, F as SlideDescriptorSchema, G as TreeNodeSchema, H as TreeLeaf, I as SlideGroupNode, J as isListGroupNode, K as isDrawPageGroupNode, L as SlideGroupSchema, M as SheetGroupNode, N as SheetGroupSchema, O as ShapeGroupSchema, P as SlideDescriptor, Q as isShapeGroupNode, R as TreeBlockLeaf, S as ShapeChild, T as ShapeDescriptor, U as TreeLeafSchema, V as TreeGroupSchema, W as TreeNode, X as isSectionGroupNode, Y as isSectionConstructGroupNode, Z as isShapeConstructGroupNode, _ as SectionConstructGroupSchema, a as DrawPageGroupSchema, b as SectionGroupNode, c as HeadingParagraph, d as ListGroupNode, et as isSlideGroupNode, f as ListGroupSchema, g as SectionConstructGroupNode, h as SectionChild, i as DrawPageGroupNode, it as isTreeNode, j as SheetDescriptorSchema, k as SheetChild, l as HeadingParagraphSchema, m as ListParagraphSchema, n as DrawPageDescriptor, nt as isTreeGroup, o as HeadingGroupNode, p as ListParagraph, q as isHeadingGroupNode, r as DrawPageDescriptorSchema, rt as isTreeLeaf, s as HeadingGroupSchema, t as DrawPageChild, tt as isTreeBlockLeaf, u as ListChild, v as SectionDescriptor, w as ShapeConstructGroupSchema, x as SectionGroupSchema, y as SectionDescriptorSchema, z as TreeBlockLeafSchema } from "./package-node-ng7Yimj9.cjs";
13
+ import { CONTENT_DOCUMENT_URI, EMBEDDED_OBJECT_KINDS } from "./json-schema-defs-shared.cjs";
14
+ import { CONTENT_DEFS } from "./content-json-schema-defs.cjs";
15
+ import { $ as isSheetGroupNode, A as SheetDescriptor, B as TreeGroup, C as ShapeConstructGroupNode, D as ShapeGroupNode, E as ShapeDescriptorSchema, F as SlideDescriptorSchema, G as TreeNodeSchema, H as TreeLeaf, I as SlideGroupNode, J as isListGroupNode, K as isDrawPageGroupNode, L as SlideGroupSchema, M as SheetGroupNode, N as SheetGroupSchema, O as ShapeGroupSchema, P as SlideDescriptor, Q as isShapeGroupNode, R as TreeBlockLeaf, S as ShapeChild, T as ShapeDescriptor, U as TreeLeafSchema, V as TreeGroupSchema, W as TreeNode, X as isSectionGroupNode, Y as isSectionConstructGroupNode, Z as isShapeConstructGroupNode, _ as SectionConstructGroupSchema, a as DrawPageGroupSchema, b as SectionGroupNode, c as HeadingParagraph, d as ListGroupNode, et as isSlideGroupNode, f as ListGroupSchema, g as SectionConstructGroupNode, h as SectionChild, i as DrawPageGroupNode, it as isTreeNode, j as SheetDescriptorSchema, k as SheetChild, l as HeadingParagraphSchema, m as ListParagraphSchema, n as DrawPageDescriptor, nt as isTreeGroup, o as HeadingGroupNode, p as ListParagraph, q as isHeadingGroupNode, r as DrawPageDescriptorSchema, rt as isTreeLeaf, s as HeadingGroupSchema, t as DrawPageChild, tt as isTreeBlockLeaf, u as ListChild, v as SectionDescriptor, w as ShapeConstructGroupSchema, x as SectionGroupSchema, y as SectionDescriptorSchema, z as TreeBlockLeafSchema } from "./package-node-H2Calta4.cjs";
14
16
  import { ConstructMarkerImbalanceError, TreeChildren, decompose } from "./decompose.cjs";
15
17
  import { DefinitionEntry, DefinitionEntrySchema, DefinitionsTable, DefinitionsTableSchema, StyleEntry, StyleEntrySchema, StyleParagraphProperties, StyleParagraphPropertiesSchema, StyleRunProperties, StyleRunPropertiesSchema, StylesTable, StylesTableSchema, applyParagraphStyleProperties, applyRunStyleProperties, overlayStyleEntries, resolveStyleChain } from "./definitions.cjs";
16
18
  import { DocumentTree, DocumentTreeSchema, TreeEmbeddedFont, TreeEmbeddedFontSchema } from "./package.cjs";
@@ -22,4 +24,4 @@ import { AnchorTableRow, PositionedTableCell, PositionedTableRow, TableGridAncho
22
24
  import { ContentDocumentJson, DocumentJsonResult, DocumentPackageRenamedError, DocumentSchemaKind, DocumentTreeJson, LayoutSchemaDemotedError, SCHEMA_FILE_NAMES, SchemaVersionMismatchError, UnrecognizedDocumentSchemaError, assertNeverDocumentSchemaKind, contentDocumentWithSchema, documentFromJson, documentSchemaKindOf, documentTreeWithSchema, schemaUriFor } from "./schema-io.cjs";
23
25
  import { StyledFragment, StyledRun, TextMeasurer, UnderlineMetrics, WrapOptions, WrappedLine } from "./text-layout.cjs";
24
26
  import { MathAssembledGlyphs, MathBox, MathColor, MathFontMetrics, MathGlyphMetrics, MathGlyphPlacement, MathGlyphRun, MathLayoutItem, MathRule, MathStretchAxis, MathStretchGlyph, MathStretchResult, MathStroke, PositionedFormula } from "./math-layout.cjs";
25
- export { Alignment, AlignmentSchema, AnchorDescriptor, AnchorDescriptorSchema, AnchorTableRow, AnchorType, AnchorTypeSchema, BORDER_WIDTH_PT, BorderWeight, Box, BoxSchema, COLOR_BLACK, CONTENT_ANNOTATION_FIELDS, CONTENT_DEFS, CONTENT_DOCUMENT_URI, CellPosition, CellRange, Color, ColorSchema, ConstructDescriptor, ConstructDescriptorSchema, ConstructMarkerImbalance, ConstructMarkerImbalanceError, ContentBitmapFill, ContentBitmapFillSchema, ContentBlock, ContentBlockSchema, ContentBorder, ContentBorderSchema, ContentCellBorders, ContentCellBordersSchema, ContentCellFill, ContentCellFillSchema, ContentCellPatternType, ContentCellPatternTypeSchema, ContentCellValue, ContentCellValueSchema, type ContentCodec, ContentConstructEnd, ContentConstructEndSchema, ContentConstructStart, ContentConstructStartSchema, ContentControlDescriptor, ContentControlDescriptorSchema, ContentControlLock, ContentControlLockSchema, ContentControlType, ContentControlTypeSchema, ContentDefinedName, ContentDefinedNameSchema, ContentDocument, ContentDocumentJson, 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, ContentTableColumn, ContentTableColumnSchema, ContentTableRow, ContentTableRowSchema, ContentTableSchema, ContentTranscript, ContentTranscriptSchema, ContentVector, ContentVectorSchema, DEFAULT_LAYOUT_FONT, DecimalString, DecimalStringSchema, DefinitionEntry, DefinitionEntrySchema, DefinitionsTable, DefinitionsTableSchema, DimensionVector, DimensionVectorSchema, DivisionDescriptor, DivisionDescriptorSchema, DivisionSource, DivisionSourceSchema, DocumentJsonResult, DocumentPackageRenamedError, DocumentSchemaKind, DocumentTree, DocumentTreeJson, DocumentTreeSchema, DrawPageChild, DrawPageDescriptor, DrawPageDescriptorSchema, DrawPageGroupNode, DrawPageGroupSchema, EMBEDDED_OBJECT_KINDS, EvaluationValue, EvaluationValueSchema, ExactRational, ExactRationalSchema, FieldDescriptor, FieldDescriptorSchema, type FontFace, type FontRegistryOptions, type FontSubstitution, FormulaBindings, FormulaBindingsSchema, FusedNode, HeadingGroupNode, HeadingGroupSchema, HeadingParagraph, HeadingParagraphSchema, IMAGE_FORMATS, ImageFormat, Interval, IntervalSchema, LayoutFont, LayoutFontSchema, LayoutFrame, LayoutFrameSchema, LayoutMetadata, LayoutMetadataSchema, LayoutSchemaDemotedError, LinkDescriptor, LinkDescriptorSchema, LinkTarget, LinkTargetSchema, ListChild, ListGroupNode, ListGroupSchema, ListParagraph, ListParagraphSchema, MAX_SAFE_INTEGER, Margins, MarginsSchema, MathApp, MathAppSchema, type MathAssembledGlyphs, type MathBox, type MathColor, MathExpression, MathExpressionSchema, type MathFontMetrics, type MathGlyphMetrics, type MathGlyphPlacement, type MathGlyphRun, type MathLayoutItem, MathMatrix, MathMatrixSchema, MathMlAttribute, MathMlAttributeSchema, MathMlCdata, MathMlCdataSchema, MathMlComment, MathMlCommentSchema, MathMlDeclaration, MathMlDeclarationSchema, MathMlElement, MathMlElementSchema, MathMlNode, MathMlNodeSchema, MathMlPi, MathMlPiSchema, MathMlText, MathMlTextSchema, MathNormalisationContext, MathNormalisationContextSchema, MathNum, MathNumSchema, MathPresentation, MathPresentationSchema, MathProd, MathProdSchema, MathProvenance, MathProvenanceSchema, MathQty, MathQtySchema, type MathRule, type MathStretchAxis, type MathStretchGlyph, type MathStretchResult, type MathStroke, MathSum, MathSumSchema, MathSym, MathSymSchema, MathSymbolEntry, MathSymbolEntrySchema, MathUncertainty, MathUncertaintySchema, MathUnit, MathUnitSchema, MathUnparsed, MathUnparsedSchema, PAGE_SIZE_A4, PAGE_SIZE_LETTER, PageSize, PageSizeSchema, Point, type PositionedFormula, PositionedTableCell, PositionedTableRow, ProvenanceChange, ProvenanceChangeSchema, ProvenanceDescriptor, ProvenanceDescriptorSchema, type ProvidedFont, Quantity, QuantitySchema, RUN_FONT_PROPERTY_SHAPE, RunConstructExtent, RunConstructExtentSchema, RunConstructFault, SCHEMA_FILE_NAMES, SI_BASE_DIMENSIONS, SLIDE_SIZE_STANDARD, SLIDE_SIZE_WIDESCREEN, SchemaVersionMismatchError, SectionChild, SectionConstructGroupNode, SectionConstructGroupSchema, SectionDescriptor, SectionDescriptorSchema, SectionGroupNode, SectionGroupSchema, ShapeChild, ShapeConstructGroupNode, ShapeConstructGroupSchema, ShapeDescriptor, ShapeDescriptorSchema, ShapeGroupNode, ShapeGroupSchema, SheetChild, SheetDescriptor, SheetDescriptorSchema, SheetGroupNode, SheetGroupSchema, SheetRuleOperator, SheetRuleOperatorSchema, SiBaseDimension, SlideDescriptor, SlideDescriptorSchema, SlideGroupNode, SlideGroupSchema, SourceFormat, SourceFormatSchema, SourceResidue, SourceResidueSchema, StyleEntry, StyleEntrySchema, StyleParagraphProperties, StyleParagraphPropertiesSchema, StyleRunProperties, StyleRunPropertiesSchema, type StyledFragment, type StyledRun, StylesTable, StylesTableSchema, SymbolTable, SymbolTableSchema, TableGridAnchor, TableGridCovered, TableGridFault, TableGridPosition, TextDirection, TextDirectionSchema, type TextMeasurer, TreeBlockLeaf, TreeBlockLeafSchema, type TreeChildren, TreeEmbeddedFont, TreeEmbeddedFontSchema, TreeGroup, TreeGroupSchema, TreeLeaf, TreeLeafSchema, TreeNode, TreeNodeSchema, type UnderlineMetrics, UnrecognizedDocumentSchemaError, type WrapOptions, type WrappedLine, applyParagraphStyleProperties, applyRunStyleProperties, assembleTree, assertNeverDocumentSchemaKind, assertNeverTableGridFaultKind, borderWeightForWidthPt, cellReference, clampHeadingLevel, colorToRgbHex, columnIndexToLetters, columnLettersToIndex, contentDocumentSharedFields, contentDocumentWithSchema, dashedBorderWeightForWidthPt, decompose, denseTableRows, describeTableGridFault, documentFromJson, documentSchemaKindOf, documentTreeWithSchema, factorStyles, findConstructMarkerImbalance, findRunConstructFault, findTableGridFault, flattenTree, isContentBlock, isContentConstructEnd, isContentConstructStart, isDrawPageGroupNode, isHeadingGroupNode, isListGroupNode, isMathExpression, isMathMlNode, isRunConstructExtent, isSectionConstructGroupNode, isSectionGroupNode, isShapeConstructGroupNode, isShapeGroupNode, isSheetGroupNode, isSlideGroupNode, isTreeBlockLeaf, isTreeGroup, isTreeLeaf, isTreeNode, overlayStyleEntries, parseCellReference, parseRangeReference, placeAnchorTableRows, rangeReference, resolveCellFillColor, resolveStyleChain, rgbHexToColor, schemaUriFor, tableCellColumnSpan, tableCellRowSpan, tableGridColumnCount, unrecognizedFillKind, walkTableGrid };
27
+ export { Alignment, AlignmentSchema, AnchorDescriptor, AnchorDescriptorSchema, AnchorTableRow, AnchorType, AnchorTypeSchema, BORDER_WIDTH_PT, BorderWeight, Box, BoxSchema, COLOR_BLACK, CONTENT_ANNOTATION_FIELDS, CONTENT_DEFS, CONTENT_DOCUMENT_URI, CellPosition, CellRange, Color, ColorSchema, ConstructDescriptor, ConstructDescriptorSchema, ConstructMarkerImbalance, ConstructMarkerImbalanceError, ContentBitmapFill, ContentBitmapFillSchema, ContentBlock, ContentBlockSchema, ContentBorder, ContentBorderSchema, ContentCellBorders, ContentCellBordersSchema, ContentCellFill, ContentCellFillSchema, ContentCellPatternType, ContentCellPatternTypeSchema, ContentCellValue, ContentCellValueSchema, type ContentCodec, ContentConstructEnd, ContentConstructEndSchema, ContentConstructStart, ContentConstructStartSchema, ContentControlDescriptor, ContentControlDescriptorSchema, ContentControlLock, ContentControlLockSchema, ContentControlType, ContentControlTypeSchema, ContentDefinedName, ContentDefinedNameSchema, ContentDocument, ContentDocumentJson, 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, ContentTableColumn, ContentTableColumnSchema, ContentTableRow, ContentTableRowSchema, ContentTableSchema, ContentTranscript, ContentTranscriptSchema, ContentVector, ContentVectorSchema, DEFAULT_LAYOUT_FONT, DecimalString, DecimalStringSchema, DefinitionEntry, DefinitionEntrySchema, DefinitionsTable, DefinitionsTableSchema, DimensionVector, DimensionVectorSchema, DivisionDescriptor, DivisionDescriptorSchema, DivisionSource, DivisionSourceSchema, DocumentJsonResult, DocumentPackageRenamedError, DocumentSchemaKind, DocumentTree, DocumentTreeJson, DocumentTreeSchema, DrawPageChild, DrawPageDescriptor, DrawPageDescriptorSchema, DrawPageGroupNode, DrawPageGroupSchema, EMBEDDED_OBJECT_KINDS, EvaluationValue, EvaluationValueSchema, ExactRational, ExactRationalSchema, FieldDescriptor, FieldDescriptorSchema, type FontFace, type FontRegistryOptions, type FontSubstitution, FormulaBindings, FormulaBindingsSchema, FusedNode, HeadingGroupNode, HeadingGroupSchema, HeadingParagraph, HeadingParagraphSchema, IMAGE_FORMATS, ImageFormat, Interval, IntervalSchema, LayoutFont, LayoutFontSchema, LayoutFrame, LayoutFrameSchema, LayoutMetadata, LayoutMetadataSchema, LayoutSchemaDemotedError, LinkDescriptor, LinkDescriptorSchema, LinkTarget, LinkTargetSchema, ListChild, ListGroupNode, ListGroupSchema, ListParagraph, ListParagraphSchema, Margins, MarginsSchema, MathApp, MathAppSchema, type MathAssembledGlyphs, type MathBox, type MathColor, MathExpression, MathExpressionSchema, type MathFontMetrics, type MathGlyphMetrics, type MathGlyphPlacement, type MathGlyphRun, type MathLayoutItem, MathMatrix, MathMatrixSchema, MathMlAttribute, MathMlAttributeSchema, MathMlCdata, MathMlCdataSchema, MathMlComment, MathMlCommentSchema, MathMlDeclaration, MathMlDeclarationSchema, MathMlElement, MathMlElementSchema, MathMlNode, MathMlNodeSchema, MathMlPi, MathMlPiSchema, MathMlText, MathMlTextSchema, MathNormalisationContext, MathNormalisationContextSchema, MathNum, MathNumSchema, MathPresentation, MathPresentationSchema, MathProd, MathProdSchema, MathProvenance, MathProvenanceSchema, MathQty, MathQtySchema, type MathRule, type MathStretchAxis, type MathStretchGlyph, type MathStretchResult, type MathStroke, MathSum, MathSumSchema, MathSym, MathSymSchema, MathSymbolEntry, MathSymbolEntrySchema, MathUncertainty, MathUncertaintySchema, MathUnit, MathUnitSchema, MathUnparsed, MathUnparsedSchema, PAGE_SIZE_A4, PAGE_SIZE_LETTER, PageSize, PageSizeSchema, Point, type PositionedFormula, PositionedTableCell, PositionedTableRow, ProvenanceChange, ProvenanceChangeSchema, ProvenanceDescriptor, ProvenanceDescriptorSchema, type ProvidedFont, Quantity, QuantitySchema, RUN_FONT_PROPERTY_SHAPE, RunConstructExtent, RunConstructExtentSchema, RunConstructFault, SCHEMA_FILE_NAMES, SI_BASE_DIMENSIONS, SLIDE_SIZE_STANDARD, SLIDE_SIZE_WIDESCREEN, SchemaVersionMismatchError, SectionChild, SectionConstructGroupNode, SectionConstructGroupSchema, SectionDescriptor, SectionDescriptorSchema, SectionGroupNode, SectionGroupSchema, ShapeChild, ShapeConstructGroupNode, ShapeConstructGroupSchema, ShapeDescriptor, ShapeDescriptorSchema, ShapeGroupNode, ShapeGroupSchema, SheetChild, SheetDescriptor, SheetDescriptorSchema, SheetGroupNode, SheetGroupSchema, SheetRuleOperator, SheetRuleOperatorSchema, SiBaseDimension, SlideDescriptor, SlideDescriptorSchema, SlideGroupNode, SlideGroupSchema, SourceFormat, SourceFormatSchema, SourceResidue, SourceResidueSchema, StyleEntry, StyleEntrySchema, StyleParagraphProperties, StyleParagraphPropertiesSchema, StyleRunProperties, StyleRunPropertiesSchema, type StyledFragment, type StyledRun, StylesTable, StylesTableSchema, SymbolTable, SymbolTableSchema, TableGridAnchor, TableGridCovered, TableGridFault, TableGridPosition, TextDirection, TextDirectionSchema, type TextMeasurer, TreeBlockLeaf, TreeBlockLeafSchema, type TreeChildren, TreeEmbeddedFont, TreeEmbeddedFontSchema, TreeGroup, TreeGroupSchema, TreeLeaf, TreeLeafSchema, TreeNode, TreeNodeSchema, type UnderlineMetrics, UnrecognizedDocumentSchemaError, type WrapOptions, type WrappedLine, applyParagraphStyleProperties, applyRunStyleProperties, assembleTree, assertNeverDocumentSchemaKind, assertNeverTableGridFaultKind, borderWeightForWidthPt, cellReference, clampHeadingLevel, colorToRgbHex, columnIndexToLetters, columnLettersToIndex, contentBlockSchemaBox, contentDocumentSchemaBox, contentDocumentSharedFields, contentDocumentWithSchema, dashedBorderWeightForWidthPt, decompose, denseTableRows, describeTableGridFault, documentFromJson, documentSchemaKindOf, documentTreeWithSchema, factorStyles, findConstructMarkerImbalance, findRunConstructFault, findTableGridFault, flattenTree, isContentBlock, isContentConstructEnd, isContentConstructStart, isDrawPageGroupNode, isHeadingGroupNode, isImageFormat, isListGroupNode, isMathExpression, isMathMlNode, isRunConstructExtent, isSectionConstructGroupNode, isSectionGroupNode, isShapeConstructGroupNode, isShapeGroupNode, isSheetGroupNode, isSlideGroupNode, isTreeBlockLeaf, isTreeGroup, isTreeLeaf, isTreeNode, overlayStyleEntries, parseCellReference, parseRangeReference, placeAnchorTableRows, rangeReference, resolveCellFillColor, resolveStyleChain, rgbHexToColor, schemaUriFor, tableCellColumnSpan, tableCellRowSpan, tableGridColumnCount, unrecognizedFillKind, walkTableGrid };
package/dist/index.d.ts CHANGED
@@ -1,16 +1,18 @@
1
1
  import { CellPosition, CellRange, cellReference, columnIndexToLetters, columnLettersToIndex, parseCellReference, parseRangeReference, rangeReference } from "./a1.js";
2
- import { BORDER_WIDTH_PT, BorderWeight, borderWeightForWidthPt, dashedBorderWeightForWidthPt } from "./border-weight.js";
3
2
  import { _ as isMathMlNode, a as MathMlComment, c as MathMlDeclarationSchema, d as MathMlNode, f as MathMlNodeSchema, g as MathMlTextSchema, h as MathMlText, i as MathMlCdataSchema, l as MathMlElement, m as MathMlPiSchema, n as MathMlAttributeSchema, o as MathMlCommentSchema, p as MathMlPi, r as MathMlCdata, s as MathMlDeclaration, t as MathMlAttribute, u as MathMlElementSchema } from "./mathml-Czqc1mdZ.js";
4
3
  import { A as MathSumSchema, B as MathUnparsedSchema, C as MathProd, D as MathQty, E as MathProvenanceSchema, F as MathUncertainty, G as SymbolTable, H as QuantitySchema, I as MathUncertaintySchema, K as SymbolTableSchema, L as MathUnit, M as MathSymSchema, N as MathSymbolEntry, O as MathQtySchema, P as MathSymbolEntrySchema, R as MathUnitSchema, S as MathPresentationSchema, T as MathProvenance, U as SI_BASE_DIMENSIONS, V as Quantity, W as SiBaseDimension, _ as MathNormalisationContext, a as ExactRational, b as MathNumSchema, c as FormulaBindingsSchema, d as MathApp, f as MathAppSchema, g as MathMatrixSchema, h as MathMatrix, i as EvaluationValueSchema, j as MathSym, k as MathSum, l as Interval, m as MathExpressionSchema, n as DimensionVectorSchema, o as ExactRationalSchema, p as MathExpression, q as isMathExpression, r as EvaluationValue, s as FormulaBindings, t as DimensionVector, u as IntervalSchema, v as MathNormalisationContextSchema, w as MathProdSchema, x as MathPresentation, y as MathNum, z as MathUnparsed } from "./math-BScHxedi.js";
5
- import { a as rgbHexToColor, i as colorToRgbHex, n as Color, r as ColorSchema, t as COLOR_BLACK } from "./color-CS3HtBwD.js";
6
4
  import { a as Margins, c as PAGE_SIZE_LETTER, d as Point, f as SLIDE_SIZE_STANDARD, i as LayoutFrameSchema, l as PageSize, n as BoxSchema, o as MarginsSchema, p as SLIDE_SIZE_WIDESCREEN, r as LayoutFrame, s as PAGE_SIZE_A4, t as Box, u as PageSizeSchema } from "./geometry-CvcjSwnA.js";
7
5
  import { i as SourceResidueSchema, n as SourceFormatSchema, r as SourceResidue, t as SourceFormat } from "./source-Bas5ol6f.js";
8
- import { a as LayoutFontSchema, i as LayoutFont, n as AlignmentSchema, o as TextDirection, r as DEFAULT_LAYOUT_FONT, s as TextDirectionSchema, t as Alignment } from "./style-BGMcYrD2.js";
9
- import { $ as ContentHatchStyleSchema, $t as ContentSheetRepeatRange, A as ContentEmbeddedObjectKind, An as ImageFormat, At as ContentSheetCellComment, B as ContentFloatPosition, Bn as findRunConstructFault, Bt as ContentSheetConditionalFormatValueSchema, C as ContentDocument, Cn as ContentTranscriptSchema, Ct as ContentRunSchema, D as ContentEmbeddedObject, Dn as DecimalStringSchema, Dt as ContentShapeSchema, E as ContentDrawPageSchema, En as DecimalString, Et as ContentShape, F as ContentFloatAlignSchema, Fn as SheetRuleOperator, Ft as ContentSheetConditionalFormat, G as ContentFormulaSchema, Gn as resolveCellFillColor, Gt as ContentSheetImage, H as ContentFont, Hn as isContentConstructEnd, Ht as ContentSheetDataValidationSchema, I as ContentFloatAxis, In as SheetRuleOperatorSchema, It as ContentSheetConditionalFormatSchema, J as ContentGradientStyle, Jt as ContentSheetPrintRangeSchema, K as ContentGradientFill, Kn as unrecognizedFillKind, Kt as ContentSheetImageSchema, L as ContentFloatAxisSchema, Ln as clampHeadingLevel, Lt as ContentSheetConditionalFormatStyle, M as ContentFillPattern, Mn as RunConstructExtent, Mt as ContentSheetCellSchema, N as ContentFillPatternSchema, Nn as RunConstructExtentSchema, Nt as ContentSheetColumn, O as ContentEmbeddedObjectBlock, On as FusedNode, Ot as ContentSheet, P as ContentFloatAlign, Pn as RunConstructFault, Pt as ContentSheetColumnSchema, Q as ContentHatchStyle, Qt as ContentSheetRangeSchema, R as ContentFloatOrigin, Rn as contentDocumentSharedFields, Rt as ContentSheetConditionalFormatStyleSchema, S as ContentDefinedNameSchema, Sn as ContentTranscript, St as ContentRun, T as ContentDrawPage, Tn as ContentVectorSchema, Tt as ContentSectionSchema, U as ContentFontSchema, Un as isContentConstructStart, Ut as ContentSheetDataValidationType, V as ContentFloatPositionSchema, Vn as isContentBlock, Vt as ContentSheetDataValidation, W as ContentFormula, Wn as isRunConstructExtent, 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 ContentTableColumn, _t as ContentParagraphSchema, a as ContentBlock, an as ContentSlideSchema, at as ContentInterpretationSchema, b as ContentConstructStartSchema, bn as ContentTableRowSchema, 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 RUN_FONT_PROPERTY_SHAPE, jt as ContentSheetCellCommentSchema, k as ContentEmbeddedObjectBlockSchema, kn as IMAGE_FORMATS, 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 ContentTableColumnSchema, vt as ContentPathPoint, w as ContentDocumentSchema, wn as ContentVector, wt as ContentSection, x as ContentDefinedName, xn as ContentTableSchema, xt as ContentPathSegmentSchema, y as ContentConstructStart, yn as ContentTableRow, yt as ContentPathPointSchema, z as ContentFloatOriginSchema, zn as findConstructMarkerImbalance, zt as ContentSheetConditionalFormatValue } from "./content-1yGdeaVT.js";
6
+ import { a as LayoutFontSchema, i as LayoutFont, n as AlignmentSchema, o as TextDirection, r as DEFAULT_LAYOUT_FONT, s as TextDirectionSchema, t as Alignment } from "./style-D06NwxAJ.js";
7
+ import { $ as ContentCellValue, $t as ContentImageBlockSchema, A as ContentTableCell, At as ContentSheetSchema, B as contentDocumentSharedFields, Bt as ContentEmbeddedObjectBlockSchema, C as ContentParagraph, Ct as ContentSheetPrintSettingsSchema, D as ContentSection, Dt as ContentSheetRepeatRangeSchema, E as ContentParagraphSchema, Et as ContentSheetRepeatRange, F as ContentTableRowSchema, Ft as resolveCellFillColor, G as isContentConstructStart, Gt as ContentFloatAxisSchema, H as findRunConstructFault, Ht as ContentFloatAlign, I as ContentTableSchema, It as unrecognizedFillKind, J as ContentCellBordersSchema, Jt as ContentFloatPosition, K as isRunConstructExtent, Kt as ContentFloatOrigin, L as FusedNode, Lt as CONTENT_ANNOTATION_FIELDS, M as ContentTableColumn, Mt as DecimalStringSchema, N as ContentTableColumnSchema, Nt as SheetRuleOperator, O as ContentSectionSchema, Ot as ContentSheetRow, P as ContentTableRow, Pt as SheetRuleOperatorSchema, Q as ContentCellPatternTypeSchema, Qt as ContentImageBlock, R as RunConstructFault, Rt as ContentBorder, S as ContentPageFurnitureSchema, St as ContentSheetPrintSettings, T as ContentParagraphBordersSchema, Tt as ContentSheetRangeSchema, U as isContentBlock, Ut as ContentFloatAlignSchema, V as findConstructMarkerImbalance, Vt as ContentEmbeddedObjectSchema, W as isContentConstructEnd, Wt as ContentFloatAxis, X as ContentCellFillSchema, Xt as ContentFont, Y as ContentCellFill, Yt as ContentFloatPositionSchema, Z as ContentCellPatternType, Zt as ContentFontSchema, _ as ContentListMembership, _n as contentBlockSchemaBox, _t as ContentSheetDataValidationTypeSchema, a as ContentConstructEndSchema, an as ContentOriginSchema, at as ContentSheetCellSchema, b as ContentPageBreakSchema, bt as ContentSheetPrintRange, c as ContentDefinedName, cn as ContentStrokeStyle, ct as ContentSheetConditionalFormat, d as ContentDocumentSchema, dn as ContentTranscriptSchema, dt as ContentSheetConditionalFormatStyleSchema, en as ContentImageOriginal, et as ContentCellValueSchema, f as ContentEmbeddedObject, fn as IMAGE_FORMATS, ft as ContentSheetConditionalFormatValue, g as ContentFormulaSchema, gn as RunConstructExtentSchema, gt as ContentSheetDataValidationType, h as ContentFormula, hn as RunConstructExtent, ht as ContentSheetDataValidationSchema, i as ContentConstructEnd, in as ContentOrigin, it as ContentSheetCellCommentSchema, j as ContentTableCellSchema, jt as DecimalString, k as ContentTable, kt as ContentSheetRowSchema, l as ContentDefinedNameSchema, ln as ContentStrokeStyleSchema, lt as ContentSheetConditionalFormatSchema, m as ContentEmbeddedObjectKind, mn as RUN_FONT_PROPERTY_SHAPE, mt as ContentSheetDataValidation, n as ContentBlock, nn as ContentInterpretation, nt as ContentSheetCell, o as ContentConstructStart, on as ContentRun, ot as ContentSheetColumn, p as ContentEmbeddedObjectBlock, pn as ImageFormat, pt as ContentSheetConditionalFormatValueSchema, q as ContentCellBorders, qt as ContentFloatOriginSchema, r as ContentBlockSchema, rn as ContentInterpretationSchema, rt as ContentSheetCellComment, s as ContentConstructStartSchema, sn as ContentRunSchema, st as ContentSheetColumnSchema, t as ConstructMarkerImbalance, tn as ContentImageOriginalSchema, tt as ContentSheet, u as ContentDocument, un as ContentTranscript, ut as ContentSheetConditionalFormatStyle, v as ContentListMembershipSchema, vn as contentDocumentSchemaBox, vt as ContentSheetImage, w as ContentParagraphBorders, wt as ContentSheetRange, x as ContentPageFurniture, xt as ContentSheetPrintRangeSchema, y as ContentPageBreak, yn as isImageFormat, yt as ContentSheetImageSchema, z as clampHeadingLevel, zt as ContentBorderSchema } from "./content-C8oVg7U_.js";
8
+ import { a as rgbHexToColor, i as colorToRgbHex, n as Color, r as ColorSchema, t as COLOR_BLACK } from "./color-CS3HtBwD.js";
9
+ import { A as ContentVectorSchema, C as ContentStroke, D as ContentSubpath, E as ContentStrokeSchema, O as ContentSubpathSchema, S as ContentSlideSchema, T as ContentStrokeDashSchema, _ as ContentPathSegment, a as ContentFillPattern, b as ContentShapeSchema, c as ContentGradientFillSchema, d as ContentHatchFill, f as ContentHatchFillSchema, g as ContentPathPointSchema, h as ContentPathPoint, i as ContentDrawPageSchema, k as ContentVector, l as ContentGradientStyle, m as ContentHatchStyleSchema, n as ContentBitmapFillSchema, o as ContentFillPatternSchema, p as ContentHatchStyle, r as ContentDrawPage, s as ContentGradientFill, t as ContentBitmapFill, u as ContentGradientStyleSchema, v as ContentPathSegmentSchema, w as ContentStrokeDash, x as ContentSlide, y as ContentShape } from "./content-drawing-cjm6n33_.js";
10
+ import { BORDER_WIDTH_PT, BorderWeight, borderWeightForWidthPt, dashedBorderWeightForWidthPt } from "./border-weight.js";
10
11
  import { ContentCodec } from "./codec.js";
11
12
  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";
12
- import { CONTENT_DEFS, CONTENT_DOCUMENT_URI, EMBEDDED_OBJECT_KINDS, MAX_SAFE_INTEGER } from "./content-json-schema-defs.js";
13
- import { $ as isSheetGroupNode, A as SheetDescriptor, B as TreeGroup, C as ShapeConstructGroupNode, D as ShapeGroupNode, E as ShapeDescriptorSchema, F as SlideDescriptorSchema, G as TreeNodeSchema, H as TreeLeaf, I as SlideGroupNode, J as isListGroupNode, K as isDrawPageGroupNode, L as SlideGroupSchema, M as SheetGroupNode, N as SheetGroupSchema, O as ShapeGroupSchema, P as SlideDescriptor, Q as isShapeGroupNode, R as TreeBlockLeaf, S as ShapeChild, T as ShapeDescriptor, U as TreeLeafSchema, V as TreeGroupSchema, W as TreeNode, X as isSectionGroupNode, Y as isSectionConstructGroupNode, Z as isShapeConstructGroupNode, _ as SectionConstructGroupSchema, a as DrawPageGroupSchema, b as SectionGroupNode, c as HeadingParagraph, d as ListGroupNode, et as isSlideGroupNode, f as ListGroupSchema, g as SectionConstructGroupNode, h as SectionChild, i as DrawPageGroupNode, it as isTreeNode, j as SheetDescriptorSchema, k as SheetChild, l as HeadingParagraphSchema, m as ListParagraphSchema, n as DrawPageDescriptor, nt as isTreeGroup, o as HeadingGroupNode, p as ListParagraph, q as isHeadingGroupNode, r as DrawPageDescriptorSchema, rt as isTreeLeaf, s as HeadingGroupSchema, t as DrawPageChild, tt as isTreeBlockLeaf, u as ListChild, v as SectionDescriptor, w as ShapeConstructGroupSchema, x as SectionGroupSchema, y as SectionDescriptorSchema, z as TreeBlockLeafSchema } from "./package-node-CpE1BAqK.js";
13
+ import { CONTENT_DOCUMENT_URI, EMBEDDED_OBJECT_KINDS } from "./json-schema-defs-shared.js";
14
+ import { CONTENT_DEFS } from "./content-json-schema-defs.js";
15
+ import { $ as isSheetGroupNode, A as SheetDescriptor, B as TreeGroup, C as ShapeConstructGroupNode, D as ShapeGroupNode, E as ShapeDescriptorSchema, F as SlideDescriptorSchema, G as TreeNodeSchema, H as TreeLeaf, I as SlideGroupNode, J as isListGroupNode, K as isDrawPageGroupNode, L as SlideGroupSchema, M as SheetGroupNode, N as SheetGroupSchema, O as ShapeGroupSchema, P as SlideDescriptor, Q as isShapeGroupNode, R as TreeBlockLeaf, S as ShapeChild, T as ShapeDescriptor, U as TreeLeafSchema, V as TreeGroupSchema, W as TreeNode, X as isSectionGroupNode, Y as isSectionConstructGroupNode, Z as isShapeConstructGroupNode, _ as SectionConstructGroupSchema, a as DrawPageGroupSchema, b as SectionGroupNode, c as HeadingParagraph, d as ListGroupNode, et as isSlideGroupNode, f as ListGroupSchema, g as SectionConstructGroupNode, h as SectionChild, i as DrawPageGroupNode, it as isTreeNode, j as SheetDescriptorSchema, k as SheetChild, l as HeadingParagraphSchema, m as ListParagraphSchema, n as DrawPageDescriptor, nt as isTreeGroup, o as HeadingGroupNode, p as ListParagraph, q as isHeadingGroupNode, r as DrawPageDescriptorSchema, rt as isTreeLeaf, s as HeadingGroupSchema, t as DrawPageChild, tt as isTreeBlockLeaf, u as ListChild, v as SectionDescriptor, w as ShapeConstructGroupSchema, x as SectionGroupSchema, y as SectionDescriptorSchema, z as TreeBlockLeafSchema } from "./package-node-CoWOKxt7.js";
14
16
  import { ConstructMarkerImbalanceError, TreeChildren, decompose } from "./decompose.js";
15
17
  import { DefinitionEntry, DefinitionEntrySchema, DefinitionsTable, DefinitionsTableSchema, StyleEntry, StyleEntrySchema, StyleParagraphProperties, StyleParagraphPropertiesSchema, StyleRunProperties, StyleRunPropertiesSchema, StylesTable, StylesTableSchema, applyParagraphStyleProperties, applyRunStyleProperties, overlayStyleEntries, resolveStyleChain } from "./definitions.js";
16
18
  import { DocumentTree, DocumentTreeSchema, TreeEmbeddedFont, TreeEmbeddedFontSchema } from "./package.js";
@@ -22,4 +24,4 @@ import { AnchorTableRow, PositionedTableCell, PositionedTableRow, TableGridAncho
22
24
  import { ContentDocumentJson, DocumentJsonResult, DocumentPackageRenamedError, DocumentSchemaKind, DocumentTreeJson, LayoutSchemaDemotedError, SCHEMA_FILE_NAMES, SchemaVersionMismatchError, UnrecognizedDocumentSchemaError, assertNeverDocumentSchemaKind, contentDocumentWithSchema, documentFromJson, documentSchemaKindOf, documentTreeWithSchema, schemaUriFor } from "./schema-io.js";
23
25
  import { StyledFragment, StyledRun, TextMeasurer, UnderlineMetrics, WrapOptions, WrappedLine } from "./text-layout.js";
24
26
  import { MathAssembledGlyphs, MathBox, MathColor, MathFontMetrics, MathGlyphMetrics, MathGlyphPlacement, MathGlyphRun, MathLayoutItem, MathRule, MathStretchAxis, MathStretchGlyph, MathStretchResult, MathStroke, PositionedFormula } from "./math-layout.js";
25
- export { Alignment, AlignmentSchema, AnchorDescriptor, AnchorDescriptorSchema, AnchorTableRow, AnchorType, AnchorTypeSchema, BORDER_WIDTH_PT, BorderWeight, Box, BoxSchema, COLOR_BLACK, CONTENT_ANNOTATION_FIELDS, CONTENT_DEFS, CONTENT_DOCUMENT_URI, CellPosition, CellRange, Color, ColorSchema, ConstructDescriptor, ConstructDescriptorSchema, ConstructMarkerImbalance, ConstructMarkerImbalanceError, ContentBitmapFill, ContentBitmapFillSchema, ContentBlock, ContentBlockSchema, ContentBorder, ContentBorderSchema, ContentCellBorders, ContentCellBordersSchema, ContentCellFill, ContentCellFillSchema, ContentCellPatternType, ContentCellPatternTypeSchema, ContentCellValue, ContentCellValueSchema, type ContentCodec, ContentConstructEnd, ContentConstructEndSchema, ContentConstructStart, ContentConstructStartSchema, ContentControlDescriptor, ContentControlDescriptorSchema, ContentControlLock, ContentControlLockSchema, ContentControlType, ContentControlTypeSchema, ContentDefinedName, ContentDefinedNameSchema, ContentDocument, ContentDocumentJson, 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, ContentTableColumn, ContentTableColumnSchema, ContentTableRow, ContentTableRowSchema, ContentTableSchema, ContentTranscript, ContentTranscriptSchema, ContentVector, ContentVectorSchema, DEFAULT_LAYOUT_FONT, DecimalString, DecimalStringSchema, DefinitionEntry, DefinitionEntrySchema, DefinitionsTable, DefinitionsTableSchema, DimensionVector, DimensionVectorSchema, DivisionDescriptor, DivisionDescriptorSchema, DivisionSource, DivisionSourceSchema, DocumentJsonResult, DocumentPackageRenamedError, DocumentSchemaKind, DocumentTree, DocumentTreeJson, DocumentTreeSchema, DrawPageChild, DrawPageDescriptor, DrawPageDescriptorSchema, DrawPageGroupNode, DrawPageGroupSchema, EMBEDDED_OBJECT_KINDS, EvaluationValue, EvaluationValueSchema, ExactRational, ExactRationalSchema, FieldDescriptor, FieldDescriptorSchema, type FontFace, type FontRegistryOptions, type FontSubstitution, FormulaBindings, FormulaBindingsSchema, FusedNode, HeadingGroupNode, HeadingGroupSchema, HeadingParagraph, HeadingParagraphSchema, IMAGE_FORMATS, ImageFormat, Interval, IntervalSchema, LayoutFont, LayoutFontSchema, LayoutFrame, LayoutFrameSchema, LayoutMetadata, LayoutMetadataSchema, LayoutSchemaDemotedError, LinkDescriptor, LinkDescriptorSchema, LinkTarget, LinkTargetSchema, ListChild, ListGroupNode, ListGroupSchema, ListParagraph, ListParagraphSchema, MAX_SAFE_INTEGER, Margins, MarginsSchema, MathApp, MathAppSchema, type MathAssembledGlyphs, type MathBox, type MathColor, MathExpression, MathExpressionSchema, type MathFontMetrics, type MathGlyphMetrics, type MathGlyphPlacement, type MathGlyphRun, type MathLayoutItem, MathMatrix, MathMatrixSchema, MathMlAttribute, MathMlAttributeSchema, MathMlCdata, MathMlCdataSchema, MathMlComment, MathMlCommentSchema, MathMlDeclaration, MathMlDeclarationSchema, MathMlElement, MathMlElementSchema, MathMlNode, MathMlNodeSchema, MathMlPi, MathMlPiSchema, MathMlText, MathMlTextSchema, MathNormalisationContext, MathNormalisationContextSchema, MathNum, MathNumSchema, MathPresentation, MathPresentationSchema, MathProd, MathProdSchema, MathProvenance, MathProvenanceSchema, MathQty, MathQtySchema, type MathRule, type MathStretchAxis, type MathStretchGlyph, type MathStretchResult, type MathStroke, MathSum, MathSumSchema, MathSym, MathSymSchema, MathSymbolEntry, MathSymbolEntrySchema, MathUncertainty, MathUncertaintySchema, MathUnit, MathUnitSchema, MathUnparsed, MathUnparsedSchema, PAGE_SIZE_A4, PAGE_SIZE_LETTER, PageSize, PageSizeSchema, Point, type PositionedFormula, PositionedTableCell, PositionedTableRow, ProvenanceChange, ProvenanceChangeSchema, ProvenanceDescriptor, ProvenanceDescriptorSchema, type ProvidedFont, Quantity, QuantitySchema, RUN_FONT_PROPERTY_SHAPE, RunConstructExtent, RunConstructExtentSchema, RunConstructFault, SCHEMA_FILE_NAMES, SI_BASE_DIMENSIONS, SLIDE_SIZE_STANDARD, SLIDE_SIZE_WIDESCREEN, SchemaVersionMismatchError, SectionChild, SectionConstructGroupNode, SectionConstructGroupSchema, SectionDescriptor, SectionDescriptorSchema, SectionGroupNode, SectionGroupSchema, ShapeChild, ShapeConstructGroupNode, ShapeConstructGroupSchema, ShapeDescriptor, ShapeDescriptorSchema, ShapeGroupNode, ShapeGroupSchema, SheetChild, SheetDescriptor, SheetDescriptorSchema, SheetGroupNode, SheetGroupSchema, SheetRuleOperator, SheetRuleOperatorSchema, SiBaseDimension, SlideDescriptor, SlideDescriptorSchema, SlideGroupNode, SlideGroupSchema, SourceFormat, SourceFormatSchema, SourceResidue, SourceResidueSchema, StyleEntry, StyleEntrySchema, StyleParagraphProperties, StyleParagraphPropertiesSchema, StyleRunProperties, StyleRunPropertiesSchema, type StyledFragment, type StyledRun, StylesTable, StylesTableSchema, SymbolTable, SymbolTableSchema, TableGridAnchor, TableGridCovered, TableGridFault, TableGridPosition, TextDirection, TextDirectionSchema, type TextMeasurer, TreeBlockLeaf, TreeBlockLeafSchema, type TreeChildren, TreeEmbeddedFont, TreeEmbeddedFontSchema, TreeGroup, TreeGroupSchema, TreeLeaf, TreeLeafSchema, TreeNode, TreeNodeSchema, type UnderlineMetrics, UnrecognizedDocumentSchemaError, type WrapOptions, type WrappedLine, applyParagraphStyleProperties, applyRunStyleProperties, assembleTree, assertNeverDocumentSchemaKind, assertNeverTableGridFaultKind, borderWeightForWidthPt, cellReference, clampHeadingLevel, colorToRgbHex, columnIndexToLetters, columnLettersToIndex, contentDocumentSharedFields, contentDocumentWithSchema, dashedBorderWeightForWidthPt, decompose, denseTableRows, describeTableGridFault, documentFromJson, documentSchemaKindOf, documentTreeWithSchema, factorStyles, findConstructMarkerImbalance, findRunConstructFault, findTableGridFault, flattenTree, isContentBlock, isContentConstructEnd, isContentConstructStart, isDrawPageGroupNode, isHeadingGroupNode, isListGroupNode, isMathExpression, isMathMlNode, isRunConstructExtent, isSectionConstructGroupNode, isSectionGroupNode, isShapeConstructGroupNode, isShapeGroupNode, isSheetGroupNode, isSlideGroupNode, isTreeBlockLeaf, isTreeGroup, isTreeLeaf, isTreeNode, overlayStyleEntries, parseCellReference, parseRangeReference, placeAnchorTableRows, rangeReference, resolveCellFillColor, resolveStyleChain, rgbHexToColor, schemaUriFor, tableCellColumnSpan, tableCellRowSpan, tableGridColumnCount, unrecognizedFillKind, walkTableGrid };
27
+ export { Alignment, AlignmentSchema, AnchorDescriptor, AnchorDescriptorSchema, AnchorTableRow, AnchorType, AnchorTypeSchema, BORDER_WIDTH_PT, BorderWeight, Box, BoxSchema, COLOR_BLACK, CONTENT_ANNOTATION_FIELDS, CONTENT_DEFS, CONTENT_DOCUMENT_URI, CellPosition, CellRange, Color, ColorSchema, ConstructDescriptor, ConstructDescriptorSchema, ConstructMarkerImbalance, ConstructMarkerImbalanceError, ContentBitmapFill, ContentBitmapFillSchema, ContentBlock, ContentBlockSchema, ContentBorder, ContentBorderSchema, ContentCellBorders, ContentCellBordersSchema, ContentCellFill, ContentCellFillSchema, ContentCellPatternType, ContentCellPatternTypeSchema, ContentCellValue, ContentCellValueSchema, type ContentCodec, ContentConstructEnd, ContentConstructEndSchema, ContentConstructStart, ContentConstructStartSchema, ContentControlDescriptor, ContentControlDescriptorSchema, ContentControlLock, ContentControlLockSchema, ContentControlType, ContentControlTypeSchema, ContentDefinedName, ContentDefinedNameSchema, ContentDocument, ContentDocumentJson, 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, ContentTableColumn, ContentTableColumnSchema, ContentTableRow, ContentTableRowSchema, ContentTableSchema, ContentTranscript, ContentTranscriptSchema, ContentVector, ContentVectorSchema, DEFAULT_LAYOUT_FONT, DecimalString, DecimalStringSchema, DefinitionEntry, DefinitionEntrySchema, DefinitionsTable, DefinitionsTableSchema, DimensionVector, DimensionVectorSchema, DivisionDescriptor, DivisionDescriptorSchema, DivisionSource, DivisionSourceSchema, DocumentJsonResult, DocumentPackageRenamedError, DocumentSchemaKind, DocumentTree, DocumentTreeJson, DocumentTreeSchema, DrawPageChild, DrawPageDescriptor, DrawPageDescriptorSchema, DrawPageGroupNode, DrawPageGroupSchema, EMBEDDED_OBJECT_KINDS, EvaluationValue, EvaluationValueSchema, ExactRational, ExactRationalSchema, FieldDescriptor, FieldDescriptorSchema, type FontFace, type FontRegistryOptions, type FontSubstitution, FormulaBindings, FormulaBindingsSchema, FusedNode, HeadingGroupNode, HeadingGroupSchema, HeadingParagraph, HeadingParagraphSchema, IMAGE_FORMATS, ImageFormat, Interval, IntervalSchema, LayoutFont, LayoutFontSchema, LayoutFrame, LayoutFrameSchema, LayoutMetadata, LayoutMetadataSchema, LayoutSchemaDemotedError, LinkDescriptor, LinkDescriptorSchema, LinkTarget, LinkTargetSchema, ListChild, ListGroupNode, ListGroupSchema, ListParagraph, ListParagraphSchema, Margins, MarginsSchema, MathApp, MathAppSchema, type MathAssembledGlyphs, type MathBox, type MathColor, MathExpression, MathExpressionSchema, type MathFontMetrics, type MathGlyphMetrics, type MathGlyphPlacement, type MathGlyphRun, type MathLayoutItem, MathMatrix, MathMatrixSchema, MathMlAttribute, MathMlAttributeSchema, MathMlCdata, MathMlCdataSchema, MathMlComment, MathMlCommentSchema, MathMlDeclaration, MathMlDeclarationSchema, MathMlElement, MathMlElementSchema, MathMlNode, MathMlNodeSchema, MathMlPi, MathMlPiSchema, MathMlText, MathMlTextSchema, MathNormalisationContext, MathNormalisationContextSchema, MathNum, MathNumSchema, MathPresentation, MathPresentationSchema, MathProd, MathProdSchema, MathProvenance, MathProvenanceSchema, MathQty, MathQtySchema, type MathRule, type MathStretchAxis, type MathStretchGlyph, type MathStretchResult, type MathStroke, MathSum, MathSumSchema, MathSym, MathSymSchema, MathSymbolEntry, MathSymbolEntrySchema, MathUncertainty, MathUncertaintySchema, MathUnit, MathUnitSchema, MathUnparsed, MathUnparsedSchema, PAGE_SIZE_A4, PAGE_SIZE_LETTER, PageSize, PageSizeSchema, Point, type PositionedFormula, PositionedTableCell, PositionedTableRow, ProvenanceChange, ProvenanceChangeSchema, ProvenanceDescriptor, ProvenanceDescriptorSchema, type ProvidedFont, Quantity, QuantitySchema, RUN_FONT_PROPERTY_SHAPE, RunConstructExtent, RunConstructExtentSchema, RunConstructFault, SCHEMA_FILE_NAMES, SI_BASE_DIMENSIONS, SLIDE_SIZE_STANDARD, SLIDE_SIZE_WIDESCREEN, SchemaVersionMismatchError, SectionChild, SectionConstructGroupNode, SectionConstructGroupSchema, SectionDescriptor, SectionDescriptorSchema, SectionGroupNode, SectionGroupSchema, ShapeChild, ShapeConstructGroupNode, ShapeConstructGroupSchema, ShapeDescriptor, ShapeDescriptorSchema, ShapeGroupNode, ShapeGroupSchema, SheetChild, SheetDescriptor, SheetDescriptorSchema, SheetGroupNode, SheetGroupSchema, SheetRuleOperator, SheetRuleOperatorSchema, SiBaseDimension, SlideDescriptor, SlideDescriptorSchema, SlideGroupNode, SlideGroupSchema, SourceFormat, SourceFormatSchema, SourceResidue, SourceResidueSchema, StyleEntry, StyleEntrySchema, StyleParagraphProperties, StyleParagraphPropertiesSchema, StyleRunProperties, StyleRunPropertiesSchema, type StyledFragment, type StyledRun, StylesTable, StylesTableSchema, SymbolTable, SymbolTableSchema, TableGridAnchor, TableGridCovered, TableGridFault, TableGridPosition, TextDirection, TextDirectionSchema, type TextMeasurer, TreeBlockLeaf, TreeBlockLeafSchema, type TreeChildren, TreeEmbeddedFont, TreeEmbeddedFontSchema, TreeGroup, TreeGroupSchema, TreeLeaf, TreeLeafSchema, TreeNode, TreeNodeSchema, type UnderlineMetrics, UnrecognizedDocumentSchemaError, type WrapOptions, type WrappedLine, applyParagraphStyleProperties, applyRunStyleProperties, assembleTree, assertNeverDocumentSchemaKind, assertNeverTableGridFaultKind, borderWeightForWidthPt, cellReference, clampHeadingLevel, colorToRgbHex, columnIndexToLetters, columnLettersToIndex, contentBlockSchemaBox, contentDocumentSchemaBox, contentDocumentSharedFields, contentDocumentWithSchema, dashedBorderWeightForWidthPt, decompose, denseTableRows, describeTableGridFault, documentFromJson, documentSchemaKindOf, documentTreeWithSchema, factorStyles, findConstructMarkerImbalance, findRunConstructFault, findTableGridFault, flattenTree, isContentBlock, isContentConstructEnd, isContentConstructStart, isDrawPageGroupNode, isHeadingGroupNode, isImageFormat, isListGroupNode, isMathExpression, isMathMlNode, isRunConstructExtent, isSectionConstructGroupNode, isSectionGroupNode, isShapeConstructGroupNode, isShapeGroupNode, isSheetGroupNode, isSlideGroupNode, isTreeBlockLeaf, isTreeGroup, isTreeLeaf, isTreeNode, overlayStyleEntries, parseCellReference, parseRangeReference, placeAnchorTableRows, rangeReference, resolveCellFillColor, resolveStyleChain, rgbHexToColor, schemaUriFor, tableCellColumnSpan, tableCellRowSpan, tableGridColumnCount, unrecognizedFillKind, walkTableGrid };