document-schema 7.14.0 → 7.14.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.
- package/README.md +3 -3
- package/dist/codec.d.cts +1 -1
- package/dist/codec.d.ts +1 -1
- package/dist/{content-CYPkduUB.d.ts → content-Cc9oMKMd.d.ts} +23 -23
- package/dist/{content-BNUhgRbB.d.cts → content-Db6wh_6v.d.cts} +23 -23
- package/dist/content.d.cts +1 -1
- package/dist/content.d.ts +1 -1
- package/dist/decompose.d.cts +2 -2
- package/dist/decompose.d.ts +2 -2
- package/dist/definitions.d.cts +4 -4
- package/dist/definitions.d.ts +4 -4
- package/dist/factor-styles.d.cts +1 -1
- package/dist/factor-styles.d.ts +1 -1
- package/dist/flatten.d.cts +1 -1
- package/dist/flatten.d.ts +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/{package-node-DdotoNEU.d.ts → package-node-D-1yiCmi.d.ts} +4 -4
- package/dist/{package-node-C1HxQdNK.d.cts → package-node-D42YxKm6.d.cts} +4 -4
- package/dist/package-node.d.cts +1 -1
- package/dist/package-node.d.ts +1 -1
- package/dist/package.d.cts +6 -6
- package/dist/package.d.ts +6 -6
- package/dist/schema-io.cjs +2 -2
- package/dist/schema-io.d.cts +1 -1
- package/dist/schema-io.d.ts +1 -1
- package/dist/schema-io.js +2 -2
- package/dist/{style-D06NwxAJ.d.cts → style-BGMcYrD2.d.cts} +1 -1
- package/dist/{style-D06NwxAJ.d.ts → style-BGMcYrD2.d.ts} +1 -1
- package/dist/style.d.cts +1 -1
- package/dist/style.d.ts +1 -1
- package/dist/table-grid.cjs +1 -1
- package/dist/table-grid.d.cts +3 -3
- package/dist/table-grid.d.ts +3 -3
- package/dist/table-grid.js +1 -1
- package/dist/text-layout.d.cts +1 -1
- package/dist/text-layout.d.ts +1 -1
- package/package.json +2 -2
- package/schemas/content-document.schema.json +16 -16
- package/schemas/document-tree.schema.json +3 -3
package/README.md
CHANGED
|
@@ -61,7 +61,7 @@ Two format-agnostic helpers live here because they operate on the content model
|
|
|
61
61
|
```ts
|
|
62
62
|
import { ContentDocumentSchema, DocumentTreeSchema } from "document-schema.js";
|
|
63
63
|
|
|
64
|
-
// The codec-exchange form: what every format's reader produces and every writer consumes
|
|
64
|
+
// The codec-exchange form: what every format's reader produces and every writer consumes — always flat,
|
|
65
65
|
// always fully materialised (no styles table, no refs), never versioned (that lives on the serialised artefact).
|
|
66
66
|
const content = ContentDocumentSchema.parse(
|
|
67
67
|
someWordprocessingOrPresentationValue,
|
|
@@ -133,7 +133,7 @@ import {
|
|
|
133
133
|
} from "document-schema.js";
|
|
134
134
|
|
|
135
135
|
// The one call a construction site makes: decompose the flat content into the tree, splice the envelope
|
|
136
|
-
// onto the root, and mint a styles table over the result. `pages` is optional
|
|
136
|
+
// onto the root, and mint a styles table over the result. `pages` is optional — pass it once a layout
|
|
137
137
|
// pass has produced each rendered page's own size.
|
|
138
138
|
const pkg = assembleTree(content, pages);
|
|
139
139
|
|
|
@@ -397,7 +397,7 @@ import { ColorSchema } from "document-schema.js/color";
|
|
|
397
397
|
```ts
|
|
398
398
|
import type { ContentCodec } from "document-schema.js";
|
|
399
399
|
|
|
400
|
-
declare const docxCodec: ContentCodec; // read(bytes) -> ContentDocument; write(content) -> bytes
|
|
400
|
+
declare const docxCodec: ContentCodec; // read(bytes) -> ContentDocument; write(content) -> bytes — write is optional
|
|
401
401
|
```
|
|
402
402
|
|
|
403
403
|
`ContentCodec.write` is optional (`odf` has a reader but no builder — recovering MathML from glyphs is OCR-adjacent), and the interface is generic over its own `TOptions`. There is no `LayoutCodec` any more: it modelled the one format that produces layout cheaply on read — PDF — and the whole `LayoutDocument` family it described moved to pdf-codec in 4.0.0 (see [pdf-codec#65](https://github.com/ExaDev/pdf-codec/issues/65)).
|
package/dist/codec.d.cts
CHANGED
package/dist/codec.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { p as MathExpression } from "./math-BScHxedi.js";
|
|
|
3
3
|
import { n as Color } from "./color-AELCDH_b.js";
|
|
4
4
|
import { r as LayoutFrame, t as Box } from "./geometry-CvcjSwnA.js";
|
|
5
5
|
import { r as SourceResidue } from "./source-Bas5ol6f.js";
|
|
6
|
-
import { o as TextDirection } from "./style-
|
|
6
|
+
import { o as TextDirection } from "./style-BGMcYrD2.js";
|
|
7
7
|
import { z } from "zod";
|
|
8
8
|
//#region src/content.d.ts
|
|
9
9
|
type FusedNode<T> = T & {
|
|
@@ -784,8 +784,8 @@ declare const ContentParagraphSchema: z.ZodObject<{
|
|
|
784
784
|
headingLevel: z.ZodOptional<z.ZodNumber>;
|
|
785
785
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
786
786
|
left: "left";
|
|
787
|
-
center: "center";
|
|
788
787
|
right: "right";
|
|
788
|
+
center: "center";
|
|
789
789
|
justify: "justify";
|
|
790
790
|
}>>;
|
|
791
791
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -921,10 +921,10 @@ declare const ContentFloatOriginSchema: z.ZodEnum<{
|
|
|
921
921
|
type ContentFloatOrigin = z.infer<typeof ContentFloatOriginSchema>;
|
|
922
922
|
declare const ContentFloatAlignSchema: z.ZodEnum<{
|
|
923
923
|
left: "left";
|
|
924
|
-
center: "center";
|
|
925
924
|
right: "right";
|
|
926
925
|
top: "top";
|
|
927
926
|
bottom: "bottom";
|
|
927
|
+
center: "center";
|
|
928
928
|
inside: "inside";
|
|
929
929
|
outside: "outside";
|
|
930
930
|
}>;
|
|
@@ -964,10 +964,10 @@ declare const ContentFloatAxisSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
964
964
|
}>;
|
|
965
965
|
align: z.ZodEnum<{
|
|
966
966
|
left: "left";
|
|
967
|
-
center: "center";
|
|
968
967
|
right: "right";
|
|
969
968
|
top: "top";
|
|
970
969
|
bottom: "bottom";
|
|
970
|
+
center: "center";
|
|
971
971
|
inside: "inside";
|
|
972
972
|
outside: "outside";
|
|
973
973
|
}>;
|
|
@@ -1009,10 +1009,10 @@ declare const ContentFloatPositionSchema: z.ZodObject<{
|
|
|
1009
1009
|
}>;
|
|
1010
1010
|
align: z.ZodEnum<{
|
|
1011
1011
|
left: "left";
|
|
1012
|
-
center: "center";
|
|
1013
1012
|
right: "right";
|
|
1014
1013
|
top: "top";
|
|
1015
1014
|
bottom: "bottom";
|
|
1015
|
+
center: "center";
|
|
1016
1016
|
inside: "inside";
|
|
1017
1017
|
outside: "outside";
|
|
1018
1018
|
}>;
|
|
@@ -1052,10 +1052,10 @@ declare const ContentFloatPositionSchema: z.ZodObject<{
|
|
|
1052
1052
|
}>;
|
|
1053
1053
|
align: z.ZodEnum<{
|
|
1054
1054
|
left: "left";
|
|
1055
|
-
center: "center";
|
|
1056
1055
|
right: "right";
|
|
1057
1056
|
top: "top";
|
|
1058
1057
|
bottom: "bottom";
|
|
1058
|
+
center: "center";
|
|
1059
1059
|
inside: "inside";
|
|
1060
1060
|
outside: "outside";
|
|
1061
1061
|
}>;
|
|
@@ -1159,10 +1159,10 @@ declare const ContentImageBlockSchema: z.ZodObject<{
|
|
|
1159
1159
|
}>;
|
|
1160
1160
|
align: z.ZodEnum<{
|
|
1161
1161
|
left: "left";
|
|
1162
|
-
center: "center";
|
|
1163
1162
|
right: "right";
|
|
1164
1163
|
top: "top";
|
|
1165
1164
|
bottom: "bottom";
|
|
1165
|
+
center: "center";
|
|
1166
1166
|
inside: "inside";
|
|
1167
1167
|
outside: "outside";
|
|
1168
1168
|
}>;
|
|
@@ -1202,10 +1202,10 @@ declare const ContentImageBlockSchema: z.ZodObject<{
|
|
|
1202
1202
|
}>;
|
|
1203
1203
|
align: z.ZodEnum<{
|
|
1204
1204
|
left: "left";
|
|
1205
|
-
center: "center";
|
|
1206
1205
|
right: "right";
|
|
1207
1206
|
top: "top";
|
|
1208
1207
|
bottom: "bottom";
|
|
1208
|
+
center: "center";
|
|
1209
1209
|
inside: "inside";
|
|
1210
1210
|
outside: "outside";
|
|
1211
1211
|
}>;
|
|
@@ -2293,8 +2293,8 @@ declare const ContentEmbeddedObjectBlockSchema: z.ZodObject<{
|
|
|
2293
2293
|
}, z.core.$strip>>;
|
|
2294
2294
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
2295
2295
|
left: "left";
|
|
2296
|
-
center: "center";
|
|
2297
2296
|
right: "right";
|
|
2297
|
+
center: "center";
|
|
2298
2298
|
justify: "justify";
|
|
2299
2299
|
}>>;
|
|
2300
2300
|
verticalAlignment: z.ZodOptional<z.ZodEnum<{
|
|
@@ -2436,10 +2436,10 @@ declare const ContentEmbeddedObjectBlockSchema: z.ZodObject<{
|
|
|
2436
2436
|
}>;
|
|
2437
2437
|
align: z.ZodEnum<{
|
|
2438
2438
|
left: "left";
|
|
2439
|
-
center: "center";
|
|
2440
2439
|
right: "right";
|
|
2441
2440
|
top: "top";
|
|
2442
2441
|
bottom: "bottom";
|
|
2442
|
+
center: "center";
|
|
2443
2443
|
inside: "inside";
|
|
2444
2444
|
outside: "outside";
|
|
2445
2445
|
}>;
|
|
@@ -2479,10 +2479,10 @@ declare const ContentEmbeddedObjectBlockSchema: z.ZodObject<{
|
|
|
2479
2479
|
}>;
|
|
2480
2480
|
align: z.ZodEnum<{
|
|
2481
2481
|
left: "left";
|
|
2482
|
-
center: "center";
|
|
2483
2482
|
right: "right";
|
|
2484
2483
|
top: "top";
|
|
2485
2484
|
bottom: "bottom";
|
|
2485
|
+
center: "center";
|
|
2486
2486
|
inside: "inside";
|
|
2487
2487
|
outside: "outside";
|
|
2488
2488
|
}>;
|
|
@@ -4606,9 +4606,9 @@ declare const ContentTableCellSchema: z.ZodObject<{
|
|
|
4606
4606
|
}, z.core.$strip>>;
|
|
4607
4607
|
}, z.core.$strip>>;
|
|
4608
4608
|
verticalAlign: z.ZodOptional<z.ZodEnum<{
|
|
4609
|
-
center: "center";
|
|
4610
4609
|
top: "top";
|
|
4611
4610
|
bottom: "bottom";
|
|
4611
|
+
center: "center";
|
|
4612
4612
|
}>>;
|
|
4613
4613
|
formula: z.ZodOptional<z.ZodString>;
|
|
4614
4614
|
sourcePath: z.ZodOptional<z.ZodString>;
|
|
@@ -4833,9 +4833,9 @@ declare const ContentTableRowSchema: z.ZodObject<{
|
|
|
4833
4833
|
}, z.core.$strip>>;
|
|
4834
4834
|
}, z.core.$strip>>;
|
|
4835
4835
|
verticalAlign: z.ZodOptional<z.ZodEnum<{
|
|
4836
|
-
center: "center";
|
|
4837
4836
|
top: "top";
|
|
4838
4837
|
bottom: "bottom";
|
|
4838
|
+
center: "center";
|
|
4839
4839
|
}>>;
|
|
4840
4840
|
formula: z.ZodOptional<z.ZodString>;
|
|
4841
4841
|
sourcePath: z.ZodOptional<z.ZodString>;
|
|
@@ -5096,9 +5096,9 @@ declare const ContentTableSchema: z.ZodObject<{
|
|
|
5096
5096
|
}, z.core.$strip>>;
|
|
5097
5097
|
}, z.core.$strip>>;
|
|
5098
5098
|
verticalAlign: z.ZodOptional<z.ZodEnum<{
|
|
5099
|
-
center: "center";
|
|
5100
5099
|
top: "top";
|
|
5101
5100
|
bottom: "bottom";
|
|
5101
|
+
center: "center";
|
|
5102
5102
|
}>>;
|
|
5103
5103
|
formula: z.ZodOptional<z.ZodString>;
|
|
5104
5104
|
sourcePath: z.ZodOptional<z.ZodString>;
|
|
@@ -5829,8 +5829,8 @@ declare const ContentSheetCellSchema: z.ZodObject<{
|
|
|
5829
5829
|
}, z.core.$strip>>;
|
|
5830
5830
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
5831
5831
|
left: "left";
|
|
5832
|
-
center: "center";
|
|
5833
5832
|
right: "right";
|
|
5833
|
+
center: "center";
|
|
5834
5834
|
justify: "justify";
|
|
5835
5835
|
}>>;
|
|
5836
5836
|
verticalAlignment: z.ZodOptional<z.ZodEnum<{
|
|
@@ -6734,10 +6734,10 @@ declare const ContentSheetImageSchema: z.ZodObject<{
|
|
|
6734
6734
|
}>;
|
|
6735
6735
|
align: z.ZodEnum<{
|
|
6736
6736
|
left: "left";
|
|
6737
|
-
center: "center";
|
|
6738
6737
|
right: "right";
|
|
6739
6738
|
top: "top";
|
|
6740
6739
|
bottom: "bottom";
|
|
6740
|
+
center: "center";
|
|
6741
6741
|
inside: "inside";
|
|
6742
6742
|
outside: "outside";
|
|
6743
6743
|
}>;
|
|
@@ -6777,10 +6777,10 @@ declare const ContentSheetImageSchema: z.ZodObject<{
|
|
|
6777
6777
|
}>;
|
|
6778
6778
|
align: z.ZodEnum<{
|
|
6779
6779
|
left: "left";
|
|
6780
|
-
center: "center";
|
|
6781
6780
|
right: "right";
|
|
6782
6781
|
top: "top";
|
|
6783
6782
|
bottom: "bottom";
|
|
6783
|
+
center: "center";
|
|
6784
6784
|
inside: "inside";
|
|
6785
6785
|
outside: "outside";
|
|
6786
6786
|
}>;
|
|
@@ -7171,8 +7171,8 @@ declare const ContentSheetSchema: z.ZodObject<{
|
|
|
7171
7171
|
}, z.core.$strip>>;
|
|
7172
7172
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
7173
7173
|
left: "left";
|
|
7174
|
-
center: "center";
|
|
7175
7174
|
right: "right";
|
|
7175
|
+
center: "center";
|
|
7176
7176
|
justify: "justify";
|
|
7177
7177
|
}>>;
|
|
7178
7178
|
verticalAlignment: z.ZodOptional<z.ZodEnum<{
|
|
@@ -7314,10 +7314,10 @@ declare const ContentSheetSchema: z.ZodObject<{
|
|
|
7314
7314
|
}>;
|
|
7315
7315
|
align: z.ZodEnum<{
|
|
7316
7316
|
left: "left";
|
|
7317
|
-
center: "center";
|
|
7318
7317
|
right: "right";
|
|
7319
7318
|
top: "top";
|
|
7320
7319
|
bottom: "bottom";
|
|
7320
|
+
center: "center";
|
|
7321
7321
|
inside: "inside";
|
|
7322
7322
|
outside: "outside";
|
|
7323
7323
|
}>;
|
|
@@ -7357,10 +7357,10 @@ declare const ContentSheetSchema: z.ZodObject<{
|
|
|
7357
7357
|
}>;
|
|
7358
7358
|
align: z.ZodEnum<{
|
|
7359
7359
|
left: "left";
|
|
7360
|
-
center: "center";
|
|
7361
7360
|
right: "right";
|
|
7362
7361
|
top: "top";
|
|
7363
7362
|
bottom: "bottom";
|
|
7363
|
+
center: "center";
|
|
7364
7364
|
inside: "inside";
|
|
7365
7365
|
outside: "outside";
|
|
7366
7366
|
}>;
|
|
@@ -10299,8 +10299,8 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
10299
10299
|
}, z.core.$strip>>;
|
|
10300
10300
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
10301
10301
|
left: "left";
|
|
10302
|
-
center: "center";
|
|
10303
10302
|
right: "right";
|
|
10303
|
+
center: "center";
|
|
10304
10304
|
justify: "justify";
|
|
10305
10305
|
}>>;
|
|
10306
10306
|
verticalAlignment: z.ZodOptional<z.ZodEnum<{
|
|
@@ -10442,10 +10442,10 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
10442
10442
|
}>;
|
|
10443
10443
|
align: z.ZodEnum<{
|
|
10444
10444
|
left: "left";
|
|
10445
|
-
center: "center";
|
|
10446
10445
|
right: "right";
|
|
10447
10446
|
top: "top";
|
|
10448
10447
|
bottom: "bottom";
|
|
10448
|
+
center: "center";
|
|
10449
10449
|
inside: "inside";
|
|
10450
10450
|
outside: "outside";
|
|
10451
10451
|
}>;
|
|
@@ -10485,10 +10485,10 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
10485
10485
|
}>;
|
|
10486
10486
|
align: z.ZodEnum<{
|
|
10487
10487
|
left: "left";
|
|
10488
|
-
center: "center";
|
|
10489
10488
|
right: "right";
|
|
10490
10489
|
top: "top";
|
|
10491
10490
|
bottom: "bottom";
|
|
10491
|
+
center: "center";
|
|
10492
10492
|
inside: "inside";
|
|
10493
10493
|
outside: "outside";
|
|
10494
10494
|
}>;
|
|
@@ -3,7 +3,7 @@ import { p as MathExpression } from "./math-BScHxedi.cjs";
|
|
|
3
3
|
import { n as Color } from "./color-AELCDH_b.cjs";
|
|
4
4
|
import { r as LayoutFrame, t as Box } from "./geometry-CvcjSwnA.cjs";
|
|
5
5
|
import { r as SourceResidue } from "./source-Bas5ol6f.cjs";
|
|
6
|
-
import { o as TextDirection } from "./style-
|
|
6
|
+
import { o as TextDirection } from "./style-BGMcYrD2.cjs";
|
|
7
7
|
import { z } from "zod";
|
|
8
8
|
//#region src/content.d.ts
|
|
9
9
|
type FusedNode<T> = T & {
|
|
@@ -784,8 +784,8 @@ declare const ContentParagraphSchema: z.ZodObject<{
|
|
|
784
784
|
headingLevel: z.ZodOptional<z.ZodNumber>;
|
|
785
785
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
786
786
|
left: "left";
|
|
787
|
-
center: "center";
|
|
788
787
|
right: "right";
|
|
788
|
+
center: "center";
|
|
789
789
|
justify: "justify";
|
|
790
790
|
}>>;
|
|
791
791
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -921,10 +921,10 @@ declare const ContentFloatOriginSchema: z.ZodEnum<{
|
|
|
921
921
|
type ContentFloatOrigin = z.infer<typeof ContentFloatOriginSchema>;
|
|
922
922
|
declare const ContentFloatAlignSchema: z.ZodEnum<{
|
|
923
923
|
left: "left";
|
|
924
|
-
center: "center";
|
|
925
924
|
right: "right";
|
|
926
925
|
top: "top";
|
|
927
926
|
bottom: "bottom";
|
|
927
|
+
center: "center";
|
|
928
928
|
inside: "inside";
|
|
929
929
|
outside: "outside";
|
|
930
930
|
}>;
|
|
@@ -964,10 +964,10 @@ declare const ContentFloatAxisSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
964
964
|
}>;
|
|
965
965
|
align: z.ZodEnum<{
|
|
966
966
|
left: "left";
|
|
967
|
-
center: "center";
|
|
968
967
|
right: "right";
|
|
969
968
|
top: "top";
|
|
970
969
|
bottom: "bottom";
|
|
970
|
+
center: "center";
|
|
971
971
|
inside: "inside";
|
|
972
972
|
outside: "outside";
|
|
973
973
|
}>;
|
|
@@ -1009,10 +1009,10 @@ declare const ContentFloatPositionSchema: z.ZodObject<{
|
|
|
1009
1009
|
}>;
|
|
1010
1010
|
align: z.ZodEnum<{
|
|
1011
1011
|
left: "left";
|
|
1012
|
-
center: "center";
|
|
1013
1012
|
right: "right";
|
|
1014
1013
|
top: "top";
|
|
1015
1014
|
bottom: "bottom";
|
|
1015
|
+
center: "center";
|
|
1016
1016
|
inside: "inside";
|
|
1017
1017
|
outside: "outside";
|
|
1018
1018
|
}>;
|
|
@@ -1052,10 +1052,10 @@ declare const ContentFloatPositionSchema: z.ZodObject<{
|
|
|
1052
1052
|
}>;
|
|
1053
1053
|
align: z.ZodEnum<{
|
|
1054
1054
|
left: "left";
|
|
1055
|
-
center: "center";
|
|
1056
1055
|
right: "right";
|
|
1057
1056
|
top: "top";
|
|
1058
1057
|
bottom: "bottom";
|
|
1058
|
+
center: "center";
|
|
1059
1059
|
inside: "inside";
|
|
1060
1060
|
outside: "outside";
|
|
1061
1061
|
}>;
|
|
@@ -1159,10 +1159,10 @@ declare const ContentImageBlockSchema: z.ZodObject<{
|
|
|
1159
1159
|
}>;
|
|
1160
1160
|
align: z.ZodEnum<{
|
|
1161
1161
|
left: "left";
|
|
1162
|
-
center: "center";
|
|
1163
1162
|
right: "right";
|
|
1164
1163
|
top: "top";
|
|
1165
1164
|
bottom: "bottom";
|
|
1165
|
+
center: "center";
|
|
1166
1166
|
inside: "inside";
|
|
1167
1167
|
outside: "outside";
|
|
1168
1168
|
}>;
|
|
@@ -1202,10 +1202,10 @@ declare const ContentImageBlockSchema: z.ZodObject<{
|
|
|
1202
1202
|
}>;
|
|
1203
1203
|
align: z.ZodEnum<{
|
|
1204
1204
|
left: "left";
|
|
1205
|
-
center: "center";
|
|
1206
1205
|
right: "right";
|
|
1207
1206
|
top: "top";
|
|
1208
1207
|
bottom: "bottom";
|
|
1208
|
+
center: "center";
|
|
1209
1209
|
inside: "inside";
|
|
1210
1210
|
outside: "outside";
|
|
1211
1211
|
}>;
|
|
@@ -2293,8 +2293,8 @@ declare const ContentEmbeddedObjectBlockSchema: z.ZodObject<{
|
|
|
2293
2293
|
}, z.core.$strip>>;
|
|
2294
2294
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
2295
2295
|
left: "left";
|
|
2296
|
-
center: "center";
|
|
2297
2296
|
right: "right";
|
|
2297
|
+
center: "center";
|
|
2298
2298
|
justify: "justify";
|
|
2299
2299
|
}>>;
|
|
2300
2300
|
verticalAlignment: z.ZodOptional<z.ZodEnum<{
|
|
@@ -2436,10 +2436,10 @@ declare const ContentEmbeddedObjectBlockSchema: z.ZodObject<{
|
|
|
2436
2436
|
}>;
|
|
2437
2437
|
align: z.ZodEnum<{
|
|
2438
2438
|
left: "left";
|
|
2439
|
-
center: "center";
|
|
2440
2439
|
right: "right";
|
|
2441
2440
|
top: "top";
|
|
2442
2441
|
bottom: "bottom";
|
|
2442
|
+
center: "center";
|
|
2443
2443
|
inside: "inside";
|
|
2444
2444
|
outside: "outside";
|
|
2445
2445
|
}>;
|
|
@@ -2479,10 +2479,10 @@ declare const ContentEmbeddedObjectBlockSchema: z.ZodObject<{
|
|
|
2479
2479
|
}>;
|
|
2480
2480
|
align: z.ZodEnum<{
|
|
2481
2481
|
left: "left";
|
|
2482
|
-
center: "center";
|
|
2483
2482
|
right: "right";
|
|
2484
2483
|
top: "top";
|
|
2485
2484
|
bottom: "bottom";
|
|
2485
|
+
center: "center";
|
|
2486
2486
|
inside: "inside";
|
|
2487
2487
|
outside: "outside";
|
|
2488
2488
|
}>;
|
|
@@ -4606,9 +4606,9 @@ declare const ContentTableCellSchema: z.ZodObject<{
|
|
|
4606
4606
|
}, z.core.$strip>>;
|
|
4607
4607
|
}, z.core.$strip>>;
|
|
4608
4608
|
verticalAlign: z.ZodOptional<z.ZodEnum<{
|
|
4609
|
-
center: "center";
|
|
4610
4609
|
top: "top";
|
|
4611
4610
|
bottom: "bottom";
|
|
4611
|
+
center: "center";
|
|
4612
4612
|
}>>;
|
|
4613
4613
|
formula: z.ZodOptional<z.ZodString>;
|
|
4614
4614
|
sourcePath: z.ZodOptional<z.ZodString>;
|
|
@@ -4833,9 +4833,9 @@ declare const ContentTableRowSchema: z.ZodObject<{
|
|
|
4833
4833
|
}, z.core.$strip>>;
|
|
4834
4834
|
}, z.core.$strip>>;
|
|
4835
4835
|
verticalAlign: z.ZodOptional<z.ZodEnum<{
|
|
4836
|
-
center: "center";
|
|
4837
4836
|
top: "top";
|
|
4838
4837
|
bottom: "bottom";
|
|
4838
|
+
center: "center";
|
|
4839
4839
|
}>>;
|
|
4840
4840
|
formula: z.ZodOptional<z.ZodString>;
|
|
4841
4841
|
sourcePath: z.ZodOptional<z.ZodString>;
|
|
@@ -5096,9 +5096,9 @@ declare const ContentTableSchema: z.ZodObject<{
|
|
|
5096
5096
|
}, z.core.$strip>>;
|
|
5097
5097
|
}, z.core.$strip>>;
|
|
5098
5098
|
verticalAlign: z.ZodOptional<z.ZodEnum<{
|
|
5099
|
-
center: "center";
|
|
5100
5099
|
top: "top";
|
|
5101
5100
|
bottom: "bottom";
|
|
5101
|
+
center: "center";
|
|
5102
5102
|
}>>;
|
|
5103
5103
|
formula: z.ZodOptional<z.ZodString>;
|
|
5104
5104
|
sourcePath: z.ZodOptional<z.ZodString>;
|
|
@@ -5829,8 +5829,8 @@ declare const ContentSheetCellSchema: z.ZodObject<{
|
|
|
5829
5829
|
}, z.core.$strip>>;
|
|
5830
5830
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
5831
5831
|
left: "left";
|
|
5832
|
-
center: "center";
|
|
5833
5832
|
right: "right";
|
|
5833
|
+
center: "center";
|
|
5834
5834
|
justify: "justify";
|
|
5835
5835
|
}>>;
|
|
5836
5836
|
verticalAlignment: z.ZodOptional<z.ZodEnum<{
|
|
@@ -6734,10 +6734,10 @@ declare const ContentSheetImageSchema: z.ZodObject<{
|
|
|
6734
6734
|
}>;
|
|
6735
6735
|
align: z.ZodEnum<{
|
|
6736
6736
|
left: "left";
|
|
6737
|
-
center: "center";
|
|
6738
6737
|
right: "right";
|
|
6739
6738
|
top: "top";
|
|
6740
6739
|
bottom: "bottom";
|
|
6740
|
+
center: "center";
|
|
6741
6741
|
inside: "inside";
|
|
6742
6742
|
outside: "outside";
|
|
6743
6743
|
}>;
|
|
@@ -6777,10 +6777,10 @@ declare const ContentSheetImageSchema: z.ZodObject<{
|
|
|
6777
6777
|
}>;
|
|
6778
6778
|
align: z.ZodEnum<{
|
|
6779
6779
|
left: "left";
|
|
6780
|
-
center: "center";
|
|
6781
6780
|
right: "right";
|
|
6782
6781
|
top: "top";
|
|
6783
6782
|
bottom: "bottom";
|
|
6783
|
+
center: "center";
|
|
6784
6784
|
inside: "inside";
|
|
6785
6785
|
outside: "outside";
|
|
6786
6786
|
}>;
|
|
@@ -7171,8 +7171,8 @@ declare const ContentSheetSchema: z.ZodObject<{
|
|
|
7171
7171
|
}, z.core.$strip>>;
|
|
7172
7172
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
7173
7173
|
left: "left";
|
|
7174
|
-
center: "center";
|
|
7175
7174
|
right: "right";
|
|
7175
|
+
center: "center";
|
|
7176
7176
|
justify: "justify";
|
|
7177
7177
|
}>>;
|
|
7178
7178
|
verticalAlignment: z.ZodOptional<z.ZodEnum<{
|
|
@@ -7314,10 +7314,10 @@ declare const ContentSheetSchema: z.ZodObject<{
|
|
|
7314
7314
|
}>;
|
|
7315
7315
|
align: z.ZodEnum<{
|
|
7316
7316
|
left: "left";
|
|
7317
|
-
center: "center";
|
|
7318
7317
|
right: "right";
|
|
7319
7318
|
top: "top";
|
|
7320
7319
|
bottom: "bottom";
|
|
7320
|
+
center: "center";
|
|
7321
7321
|
inside: "inside";
|
|
7322
7322
|
outside: "outside";
|
|
7323
7323
|
}>;
|
|
@@ -7357,10 +7357,10 @@ declare const ContentSheetSchema: z.ZodObject<{
|
|
|
7357
7357
|
}>;
|
|
7358
7358
|
align: z.ZodEnum<{
|
|
7359
7359
|
left: "left";
|
|
7360
|
-
center: "center";
|
|
7361
7360
|
right: "right";
|
|
7362
7361
|
top: "top";
|
|
7363
7362
|
bottom: "bottom";
|
|
7363
|
+
center: "center";
|
|
7364
7364
|
inside: "inside";
|
|
7365
7365
|
outside: "outside";
|
|
7366
7366
|
}>;
|
|
@@ -10299,8 +10299,8 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
10299
10299
|
}, z.core.$strip>>;
|
|
10300
10300
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
10301
10301
|
left: "left";
|
|
10302
|
-
center: "center";
|
|
10303
10302
|
right: "right";
|
|
10303
|
+
center: "center";
|
|
10304
10304
|
justify: "justify";
|
|
10305
10305
|
}>>;
|
|
10306
10306
|
verticalAlignment: z.ZodOptional<z.ZodEnum<{
|
|
@@ -10442,10 +10442,10 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
10442
10442
|
}>;
|
|
10443
10443
|
align: z.ZodEnum<{
|
|
10444
10444
|
left: "left";
|
|
10445
|
-
center: "center";
|
|
10446
10445
|
right: "right";
|
|
10447
10446
|
top: "top";
|
|
10448
10447
|
bottom: "bottom";
|
|
10448
|
+
center: "center";
|
|
10449
10449
|
inside: "inside";
|
|
10450
10450
|
outside: "outside";
|
|
10451
10451
|
}>;
|
|
@@ -10485,10 +10485,10 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
10485
10485
|
}>;
|
|
10486
10486
|
align: z.ZodEnum<{
|
|
10487
10487
|
left: "left";
|
|
10488
|
-
center: "center";
|
|
10489
10488
|
right: "right";
|
|
10490
10489
|
top: "top";
|
|
10491
10490
|
bottom: "bottom";
|
|
10491
|
+
center: "center";
|
|
10492
10492
|
inside: "inside";
|
|
10493
10493
|
outside: "outside";
|
|
10494
10494
|
}>;
|
package/dist/content.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as ContentHatchStyleSchema, $t as ContentSheetRepeatRange, A as ContentEmbeddedObjectKind, An as RunConstructExtent, At as ContentSheetCellComment, B as ContentFloatPosition, Bn as isContentConstructEnd, Bt as ContentSheetConditionalFormatValueSchema, C as ContentDocument, Cn as ContentVectorSchema, Ct as ContentRunSchema, D as ContentEmbeddedObject, Dn as IMAGE_FORMATS, Dt as ContentShapeSchema, E as ContentDrawPageSchema, En as FusedNode, Et as ContentShape, F as ContentFloatAlignSchema, Fn as clampHeadingLevel, Ft as ContentSheetConditionalFormat, G as ContentFormulaSchema, Gt as ContentSheetImage, H as ContentFont, Hn as isRunConstructExtent, Ht as ContentSheetDataValidationSchema, I as ContentFloatAxis, In as contentDocumentSharedFields, It as ContentSheetConditionalFormatSchema, J as ContentGradientStyle, Jt as ContentSheetPrintRangeSchema, K as ContentGradientFill, Kt as ContentSheetImageSchema, L as ContentFloatAxisSchema, Ln as findConstructMarkerImbalance, Lt as ContentSheetConditionalFormatStyle, M as ContentFillPattern, Mn as RunConstructFault, Mt as ContentSheetCellSchema, N as ContentFillPatternSchema, Nn as SheetRuleOperator, Nt as ContentSheetColumn, O as ContentEmbeddedObjectBlock, On as ImageFormat, Ot as ContentSheet, P as ContentFloatAlign, Pn as SheetRuleOperatorSchema, Pt as ContentSheetColumnSchema, Q as ContentHatchStyle, Qt as ContentSheetRangeSchema, R as ContentFloatOrigin, Rn as findRunConstructFault, Rt as ContentSheetConditionalFormatStyleSchema, S as ContentDefinedNameSchema, Sn as ContentVector, St as ContentRun, T as ContentDrawPage, Tn as DecimalStringSchema, Tt as ContentSectionSchema, U as ContentFontSchema, Un as resolveCellFillColor, Ut as ContentSheetDataValidationType, V as ContentFloatPositionSchema, Vn as isContentConstructStart, Vt as ContentSheetDataValidation, W as ContentFormula, Wn as unrecognizedFillKind, Wt as ContentSheetDataValidationTypeSchema, X as ContentHatchFill, Xt as ContentSheetPrintSettingsSchema, Y as ContentGradientStyleSchema, Yt as ContentSheetPrintSettings, Z as ContentHatchFillSchema, Zt as ContentSheetRange, _ as ContentConstructEnd, _n as ContentTableRow, _t as ContentParagraphSchema, a as ContentBlock, an as ContentSlideSchema, at as ContentInterpretationSchema, b as ContentConstructStartSchema, bn as ContentTranscript, bt as ContentPathSegment, c as ContentBorderSchema, cn as ContentStrokeDashSchema, ct as ContentOrigin, d as ContentCellFill, dn as ContentStrokeStyleSchema, dt as ContentPageBreakSchema, en as ContentSheetRepeatRangeSchema, et as ContentImageBlock, f as ContentCellFillSchema, fn as ContentSubpath, ft as ContentPageFurniture, g as ContentCellValueSchema, gn as ContentTableCellSchema, gt as ContentParagraphBordersSchema, h as ContentCellValue, hn as ContentTableCell, ht as ContentParagraphBorders, i as ContentBitmapFillSchema, in as ContentSlide, it as ContentInterpretation, j as ContentEmbeddedObjectSchema, jn as RunConstructExtentSchema, jt as ContentSheetCellCommentSchema, k as ContentEmbeddedObjectBlockSchema, kn as RUN_FONT_PROPERTY_SHAPE, kt as ContentSheetCell, l as ContentCellBorders, ln as ContentStrokeSchema, lt as ContentOriginSchema, m as ContentCellPatternTypeSchema, mn as ContentTable, mt as ContentParagraph, n as ConstructMarkerImbalance, nn as ContentSheetRowSchema, nt as ContentImageOriginal, o as ContentBlockSchema, on as ContentStroke, ot as ContentListMembership, p as ContentCellPatternType, pn as ContentSubpathSchema, pt as ContentPageFurnitureSchema, q as ContentGradientFillSchema, qt as ContentSheetPrintRange, r as ContentBitmapFill, rn as ContentSheetSchema, rt as ContentImageOriginalSchema, s as ContentBorder, sn as ContentStrokeDash, st as ContentListMembershipSchema, t as CONTENT_ANNOTATION_FIELDS, tn as ContentSheetRow, tt as ContentImageBlockSchema, u as ContentCellBordersSchema, un as ContentStrokeStyle, ut as ContentPageBreak, v as ContentConstructEndSchema, vn as ContentTableRowSchema, vt as ContentPathPoint, w as ContentDocumentSchema, wn as DecimalString, wt as ContentSection, x as ContentDefinedName, xn as ContentTranscriptSchema, xt as ContentPathSegmentSchema, y as ContentConstructStart, yn as ContentTableSchema, yt as ContentPathPointSchema, z as ContentFloatOriginSchema, zn as isContentBlock, zt as ContentSheetConditionalFormatValue } from "./content-
|
|
1
|
+
import { $ as ContentHatchStyleSchema, $t as ContentSheetRepeatRange, A as ContentEmbeddedObjectKind, An as RunConstructExtent, At as ContentSheetCellComment, B as ContentFloatPosition, Bn as isContentConstructEnd, Bt as ContentSheetConditionalFormatValueSchema, C as ContentDocument, Cn as ContentVectorSchema, Ct as ContentRunSchema, D as ContentEmbeddedObject, Dn as IMAGE_FORMATS, Dt as ContentShapeSchema, E as ContentDrawPageSchema, En as FusedNode, Et as ContentShape, F as ContentFloatAlignSchema, Fn as clampHeadingLevel, Ft as ContentSheetConditionalFormat, G as ContentFormulaSchema, Gt as ContentSheetImage, H as ContentFont, Hn as isRunConstructExtent, Ht as ContentSheetDataValidationSchema, I as ContentFloatAxis, In as contentDocumentSharedFields, It as ContentSheetConditionalFormatSchema, J as ContentGradientStyle, Jt as ContentSheetPrintRangeSchema, K as ContentGradientFill, Kt as ContentSheetImageSchema, L as ContentFloatAxisSchema, Ln as findConstructMarkerImbalance, Lt as ContentSheetConditionalFormatStyle, M as ContentFillPattern, Mn as RunConstructFault, Mt as ContentSheetCellSchema, N as ContentFillPatternSchema, Nn as SheetRuleOperator, Nt as ContentSheetColumn, O as ContentEmbeddedObjectBlock, On as ImageFormat, Ot as ContentSheet, P as ContentFloatAlign, Pn as SheetRuleOperatorSchema, Pt as ContentSheetColumnSchema, Q as ContentHatchStyle, Qt as ContentSheetRangeSchema, R as ContentFloatOrigin, Rn as findRunConstructFault, Rt as ContentSheetConditionalFormatStyleSchema, S as ContentDefinedNameSchema, Sn as ContentVector, St as ContentRun, T as ContentDrawPage, Tn as DecimalStringSchema, Tt as ContentSectionSchema, U as ContentFontSchema, Un as resolveCellFillColor, Ut as ContentSheetDataValidationType, V as ContentFloatPositionSchema, Vn as isContentConstructStart, Vt as ContentSheetDataValidation, W as ContentFormula, Wn as unrecognizedFillKind, Wt as ContentSheetDataValidationTypeSchema, X as ContentHatchFill, Xt as ContentSheetPrintSettingsSchema, Y as ContentGradientStyleSchema, Yt as ContentSheetPrintSettings, Z as ContentHatchFillSchema, Zt as ContentSheetRange, _ as ContentConstructEnd, _n as ContentTableRow, _t as ContentParagraphSchema, a as ContentBlock, an as ContentSlideSchema, at as ContentInterpretationSchema, b as ContentConstructStartSchema, bn as ContentTranscript, bt as ContentPathSegment, c as ContentBorderSchema, cn as ContentStrokeDashSchema, ct as ContentOrigin, d as ContentCellFill, dn as ContentStrokeStyleSchema, dt as ContentPageBreakSchema, en as ContentSheetRepeatRangeSchema, et as ContentImageBlock, f as ContentCellFillSchema, fn as ContentSubpath, ft as ContentPageFurniture, g as ContentCellValueSchema, gn as ContentTableCellSchema, gt as ContentParagraphBordersSchema, h as ContentCellValue, hn as ContentTableCell, ht as ContentParagraphBorders, i as ContentBitmapFillSchema, in as ContentSlide, it as ContentInterpretation, j as ContentEmbeddedObjectSchema, jn as RunConstructExtentSchema, jt as ContentSheetCellCommentSchema, k as ContentEmbeddedObjectBlockSchema, kn as RUN_FONT_PROPERTY_SHAPE, kt as ContentSheetCell, l as ContentCellBorders, ln as ContentStrokeSchema, lt as ContentOriginSchema, m as ContentCellPatternTypeSchema, mn as ContentTable, mt as ContentParagraph, n as ConstructMarkerImbalance, nn as ContentSheetRowSchema, nt as ContentImageOriginal, o as ContentBlockSchema, on as ContentStroke, ot as ContentListMembership, p as ContentCellPatternType, pn as ContentSubpathSchema, pt as ContentPageFurnitureSchema, q as ContentGradientFillSchema, qt as ContentSheetPrintRange, r as ContentBitmapFill, rn as ContentSheetSchema, rt as ContentImageOriginalSchema, s as ContentBorder, sn as ContentStrokeDash, st as ContentListMembershipSchema, t as CONTENT_ANNOTATION_FIELDS, tn as ContentSheetRow, tt as ContentImageBlockSchema, u as ContentCellBordersSchema, un as ContentStrokeStyle, ut as ContentPageBreak, v as ContentConstructEndSchema, vn as ContentTableRowSchema, vt as ContentPathPoint, w as ContentDocumentSchema, wn as DecimalString, wt as ContentSection, x as ContentDefinedName, xn as ContentTranscriptSchema, xt as ContentPathSegmentSchema, y as ContentConstructStart, yn as ContentTableSchema, yt as ContentPathPointSchema, z as ContentFloatOriginSchema, zn as isContentBlock, zt as ContentSheetConditionalFormatValue } from "./content-Db6wh_6v.cjs";
|
|
2
2
|
export { CONTENT_ANNOTATION_FIELDS, ConstructMarkerImbalance, ContentBitmapFill, ContentBitmapFillSchema, ContentBlock, ContentBlockSchema, ContentBorder, ContentBorderSchema, ContentCellBorders, ContentCellBordersSchema, ContentCellFill, ContentCellFillSchema, ContentCellPatternType, ContentCellPatternTypeSchema, ContentCellValue, ContentCellValueSchema, ContentConstructEnd, ContentConstructEndSchema, ContentConstructStart, ContentConstructStartSchema, ContentDefinedName, ContentDefinedNameSchema, ContentDocument, ContentDocumentSchema, ContentDrawPage, ContentDrawPageSchema, ContentEmbeddedObject, ContentEmbeddedObjectBlock, ContentEmbeddedObjectBlockSchema, ContentEmbeddedObjectKind, ContentEmbeddedObjectSchema, ContentFillPattern, ContentFillPatternSchema, ContentFloatAlign, ContentFloatAlignSchema, ContentFloatAxis, ContentFloatAxisSchema, ContentFloatOrigin, ContentFloatOriginSchema, ContentFloatPosition, ContentFloatPositionSchema, ContentFont, ContentFontSchema, ContentFormula, ContentFormulaSchema, ContentGradientFill, ContentGradientFillSchema, ContentGradientStyle, ContentGradientStyleSchema, ContentHatchFill, ContentHatchFillSchema, ContentHatchStyle, ContentHatchStyleSchema, ContentImageBlock, ContentImageBlockSchema, ContentImageOriginal, ContentImageOriginalSchema, ContentInterpretation, ContentInterpretationSchema, ContentListMembership, ContentListMembershipSchema, ContentOrigin, ContentOriginSchema, ContentPageBreak, ContentPageBreakSchema, ContentPageFurniture, ContentPageFurnitureSchema, ContentParagraph, ContentParagraphBorders, ContentParagraphBordersSchema, ContentParagraphSchema, ContentPathPoint, ContentPathPointSchema, ContentPathSegment, ContentPathSegmentSchema, ContentRun, ContentRunSchema, ContentSection, ContentSectionSchema, ContentShape, ContentShapeSchema, ContentSheet, ContentSheetCell, ContentSheetCellComment, ContentSheetCellCommentSchema, ContentSheetCellSchema, ContentSheetColumn, ContentSheetColumnSchema, ContentSheetConditionalFormat, ContentSheetConditionalFormatSchema, ContentSheetConditionalFormatStyle, ContentSheetConditionalFormatStyleSchema, ContentSheetConditionalFormatValue, ContentSheetConditionalFormatValueSchema, ContentSheetDataValidation, ContentSheetDataValidationSchema, ContentSheetDataValidationType, ContentSheetDataValidationTypeSchema, ContentSheetImage, ContentSheetImageSchema, ContentSheetPrintRange, ContentSheetPrintRangeSchema, ContentSheetPrintSettings, ContentSheetPrintSettingsSchema, ContentSheetRange, ContentSheetRangeSchema, ContentSheetRepeatRange, ContentSheetRepeatRangeSchema, ContentSheetRow, ContentSheetRowSchema, ContentSheetSchema, ContentSlide, ContentSlideSchema, ContentStroke, ContentStrokeDash, ContentStrokeDashSchema, ContentStrokeSchema, ContentStrokeStyle, ContentStrokeStyleSchema, ContentSubpath, ContentSubpathSchema, ContentTable, ContentTableCell, ContentTableCellSchema, ContentTableRow, ContentTableRowSchema, ContentTableSchema, ContentTranscript, ContentTranscriptSchema, ContentVector, ContentVectorSchema, DecimalString, DecimalStringSchema, FusedNode, IMAGE_FORMATS, ImageFormat, RUN_FONT_PROPERTY_SHAPE, RunConstructExtent, RunConstructExtentSchema, RunConstructFault, SheetRuleOperator, SheetRuleOperatorSchema, clampHeadingLevel, contentDocumentSharedFields, findConstructMarkerImbalance, findRunConstructFault, isContentBlock, isContentConstructEnd, isContentConstructStart, isRunConstructExtent, resolveCellFillColor, unrecognizedFillKind };
|
package/dist/content.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as ContentHatchStyleSchema, $t as ContentSheetRepeatRange, A as ContentEmbeddedObjectKind, An as RunConstructExtent, At as ContentSheetCellComment, B as ContentFloatPosition, Bn as isContentConstructEnd, Bt as ContentSheetConditionalFormatValueSchema, C as ContentDocument, Cn as ContentVectorSchema, Ct as ContentRunSchema, D as ContentEmbeddedObject, Dn as IMAGE_FORMATS, Dt as ContentShapeSchema, E as ContentDrawPageSchema, En as FusedNode, Et as ContentShape, F as ContentFloatAlignSchema, Fn as clampHeadingLevel, Ft as ContentSheetConditionalFormat, G as ContentFormulaSchema, Gt as ContentSheetImage, H as ContentFont, Hn as isRunConstructExtent, Ht as ContentSheetDataValidationSchema, I as ContentFloatAxis, In as contentDocumentSharedFields, It as ContentSheetConditionalFormatSchema, J as ContentGradientStyle, Jt as ContentSheetPrintRangeSchema, K as ContentGradientFill, Kt as ContentSheetImageSchema, L as ContentFloatAxisSchema, Ln as findConstructMarkerImbalance, Lt as ContentSheetConditionalFormatStyle, M as ContentFillPattern, Mn as RunConstructFault, Mt as ContentSheetCellSchema, N as ContentFillPatternSchema, Nn as SheetRuleOperator, Nt as ContentSheetColumn, O as ContentEmbeddedObjectBlock, On as ImageFormat, Ot as ContentSheet, P as ContentFloatAlign, Pn as SheetRuleOperatorSchema, Pt as ContentSheetColumnSchema, Q as ContentHatchStyle, Qt as ContentSheetRangeSchema, R as ContentFloatOrigin, Rn as findRunConstructFault, Rt as ContentSheetConditionalFormatStyleSchema, S as ContentDefinedNameSchema, Sn as ContentVector, St as ContentRun, T as ContentDrawPage, Tn as DecimalStringSchema, Tt as ContentSectionSchema, U as ContentFontSchema, Un as resolveCellFillColor, Ut as ContentSheetDataValidationType, V as ContentFloatPositionSchema, Vn as isContentConstructStart, Vt as ContentSheetDataValidation, W as ContentFormula, Wn as unrecognizedFillKind, Wt as ContentSheetDataValidationTypeSchema, X as ContentHatchFill, Xt as ContentSheetPrintSettingsSchema, Y as ContentGradientStyleSchema, Yt as ContentSheetPrintSettings, Z as ContentHatchFillSchema, Zt as ContentSheetRange, _ as ContentConstructEnd, _n as ContentTableRow, _t as ContentParagraphSchema, a as ContentBlock, an as ContentSlideSchema, at as ContentInterpretationSchema, b as ContentConstructStartSchema, bn as ContentTranscript, bt as ContentPathSegment, c as ContentBorderSchema, cn as ContentStrokeDashSchema, ct as ContentOrigin, d as ContentCellFill, dn as ContentStrokeStyleSchema, dt as ContentPageBreakSchema, en as ContentSheetRepeatRangeSchema, et as ContentImageBlock, f as ContentCellFillSchema, fn as ContentSubpath, ft as ContentPageFurniture, g as ContentCellValueSchema, gn as ContentTableCellSchema, gt as ContentParagraphBordersSchema, h as ContentCellValue, hn as ContentTableCell, ht as ContentParagraphBorders, i as ContentBitmapFillSchema, in as ContentSlide, it as ContentInterpretation, j as ContentEmbeddedObjectSchema, jn as RunConstructExtentSchema, jt as ContentSheetCellCommentSchema, k as ContentEmbeddedObjectBlockSchema, kn as RUN_FONT_PROPERTY_SHAPE, kt as ContentSheetCell, l as ContentCellBorders, ln as ContentStrokeSchema, lt as ContentOriginSchema, m as ContentCellPatternTypeSchema, mn as ContentTable, mt as ContentParagraph, n as ConstructMarkerImbalance, nn as ContentSheetRowSchema, nt as ContentImageOriginal, o as ContentBlockSchema, on as ContentStroke, ot as ContentListMembership, p as ContentCellPatternType, pn as ContentSubpathSchema, pt as ContentPageFurnitureSchema, q as ContentGradientFillSchema, qt as ContentSheetPrintRange, r as ContentBitmapFill, rn as ContentSheetSchema, rt as ContentImageOriginalSchema, s as ContentBorder, sn as ContentStrokeDash, st as ContentListMembershipSchema, t as CONTENT_ANNOTATION_FIELDS, tn as ContentSheetRow, tt as ContentImageBlockSchema, u as ContentCellBordersSchema, un as ContentStrokeStyle, ut as ContentPageBreak, v as ContentConstructEndSchema, vn as ContentTableRowSchema, vt as ContentPathPoint, w as ContentDocumentSchema, wn as DecimalString, wt as ContentSection, x as ContentDefinedName, xn as ContentTranscriptSchema, xt as ContentPathSegmentSchema, y as ContentConstructStart, yn as ContentTableSchema, yt as ContentPathPointSchema, z as ContentFloatOriginSchema, zn as isContentBlock, zt as ContentSheetConditionalFormatValue } from "./content-
|
|
1
|
+
import { $ as ContentHatchStyleSchema, $t as ContentSheetRepeatRange, A as ContentEmbeddedObjectKind, An as RunConstructExtent, At as ContentSheetCellComment, B as ContentFloatPosition, Bn as isContentConstructEnd, Bt as ContentSheetConditionalFormatValueSchema, C as ContentDocument, Cn as ContentVectorSchema, Ct as ContentRunSchema, D as ContentEmbeddedObject, Dn as IMAGE_FORMATS, Dt as ContentShapeSchema, E as ContentDrawPageSchema, En as FusedNode, Et as ContentShape, F as ContentFloatAlignSchema, Fn as clampHeadingLevel, Ft as ContentSheetConditionalFormat, G as ContentFormulaSchema, Gt as ContentSheetImage, H as ContentFont, Hn as isRunConstructExtent, Ht as ContentSheetDataValidationSchema, I as ContentFloatAxis, In as contentDocumentSharedFields, It as ContentSheetConditionalFormatSchema, J as ContentGradientStyle, Jt as ContentSheetPrintRangeSchema, K as ContentGradientFill, Kt as ContentSheetImageSchema, L as ContentFloatAxisSchema, Ln as findConstructMarkerImbalance, Lt as ContentSheetConditionalFormatStyle, M as ContentFillPattern, Mn as RunConstructFault, Mt as ContentSheetCellSchema, N as ContentFillPatternSchema, Nn as SheetRuleOperator, Nt as ContentSheetColumn, O as ContentEmbeddedObjectBlock, On as ImageFormat, Ot as ContentSheet, P as ContentFloatAlign, Pn as SheetRuleOperatorSchema, Pt as ContentSheetColumnSchema, Q as ContentHatchStyle, Qt as ContentSheetRangeSchema, R as ContentFloatOrigin, Rn as findRunConstructFault, Rt as ContentSheetConditionalFormatStyleSchema, S as ContentDefinedNameSchema, Sn as ContentVector, St as ContentRun, T as ContentDrawPage, Tn as DecimalStringSchema, Tt as ContentSectionSchema, U as ContentFontSchema, Un as resolveCellFillColor, Ut as ContentSheetDataValidationType, V as ContentFloatPositionSchema, Vn as isContentConstructStart, Vt as ContentSheetDataValidation, W as ContentFormula, Wn as unrecognizedFillKind, Wt as ContentSheetDataValidationTypeSchema, X as ContentHatchFill, Xt as ContentSheetPrintSettingsSchema, Y as ContentGradientStyleSchema, Yt as ContentSheetPrintSettings, Z as ContentHatchFillSchema, Zt as ContentSheetRange, _ as ContentConstructEnd, _n as ContentTableRow, _t as ContentParagraphSchema, a as ContentBlock, an as ContentSlideSchema, at as ContentInterpretationSchema, b as ContentConstructStartSchema, bn as ContentTranscript, bt as ContentPathSegment, c as ContentBorderSchema, cn as ContentStrokeDashSchema, ct as ContentOrigin, d as ContentCellFill, dn as ContentStrokeStyleSchema, dt as ContentPageBreakSchema, en as ContentSheetRepeatRangeSchema, et as ContentImageBlock, f as ContentCellFillSchema, fn as ContentSubpath, ft as ContentPageFurniture, g as ContentCellValueSchema, gn as ContentTableCellSchema, gt as ContentParagraphBordersSchema, h as ContentCellValue, hn as ContentTableCell, ht as ContentParagraphBorders, i as ContentBitmapFillSchema, in as ContentSlide, it as ContentInterpretation, j as ContentEmbeddedObjectSchema, jn as RunConstructExtentSchema, jt as ContentSheetCellCommentSchema, k as ContentEmbeddedObjectBlockSchema, kn as RUN_FONT_PROPERTY_SHAPE, kt as ContentSheetCell, l as ContentCellBorders, ln as ContentStrokeSchema, lt as ContentOriginSchema, m as ContentCellPatternTypeSchema, mn as ContentTable, mt as ContentParagraph, n as ConstructMarkerImbalance, nn as ContentSheetRowSchema, nt as ContentImageOriginal, o as ContentBlockSchema, on as ContentStroke, ot as ContentListMembership, p as ContentCellPatternType, pn as ContentSubpathSchema, pt as ContentPageFurnitureSchema, q as ContentGradientFillSchema, qt as ContentSheetPrintRange, r as ContentBitmapFill, rn as ContentSheetSchema, rt as ContentImageOriginalSchema, s as ContentBorder, sn as ContentStrokeDash, st as ContentListMembershipSchema, t as CONTENT_ANNOTATION_FIELDS, tn as ContentSheetRow, tt as ContentImageBlockSchema, u as ContentCellBordersSchema, un as ContentStrokeStyle, ut as ContentPageBreak, v as ContentConstructEndSchema, vn as ContentTableRowSchema, vt as ContentPathPoint, w as ContentDocumentSchema, wn as DecimalString, wt as ContentSection, x as ContentDefinedName, xn as ContentTranscriptSchema, xt as ContentPathSegmentSchema, y as ContentConstructStart, yn as ContentTableSchema, yt as ContentPathPointSchema, z as ContentFloatOriginSchema, zn as isContentBlock, zt as ContentSheetConditionalFormatValue } from "./content-Cc9oMKMd.js";
|
|
2
2
|
export { CONTENT_ANNOTATION_FIELDS, ConstructMarkerImbalance, ContentBitmapFill, ContentBitmapFillSchema, ContentBlock, ContentBlockSchema, ContentBorder, ContentBorderSchema, ContentCellBorders, ContentCellBordersSchema, ContentCellFill, ContentCellFillSchema, ContentCellPatternType, ContentCellPatternTypeSchema, ContentCellValue, ContentCellValueSchema, ContentConstructEnd, ContentConstructEndSchema, ContentConstructStart, ContentConstructStartSchema, ContentDefinedName, ContentDefinedNameSchema, ContentDocument, ContentDocumentSchema, ContentDrawPage, ContentDrawPageSchema, ContentEmbeddedObject, ContentEmbeddedObjectBlock, ContentEmbeddedObjectBlockSchema, ContentEmbeddedObjectKind, ContentEmbeddedObjectSchema, ContentFillPattern, ContentFillPatternSchema, ContentFloatAlign, ContentFloatAlignSchema, ContentFloatAxis, ContentFloatAxisSchema, ContentFloatOrigin, ContentFloatOriginSchema, ContentFloatPosition, ContentFloatPositionSchema, ContentFont, ContentFontSchema, ContentFormula, ContentFormulaSchema, ContentGradientFill, ContentGradientFillSchema, ContentGradientStyle, ContentGradientStyleSchema, ContentHatchFill, ContentHatchFillSchema, ContentHatchStyle, ContentHatchStyleSchema, ContentImageBlock, ContentImageBlockSchema, ContentImageOriginal, ContentImageOriginalSchema, ContentInterpretation, ContentInterpretationSchema, ContentListMembership, ContentListMembershipSchema, ContentOrigin, ContentOriginSchema, ContentPageBreak, ContentPageBreakSchema, ContentPageFurniture, ContentPageFurnitureSchema, ContentParagraph, ContentParagraphBorders, ContentParagraphBordersSchema, ContentParagraphSchema, ContentPathPoint, ContentPathPointSchema, ContentPathSegment, ContentPathSegmentSchema, ContentRun, ContentRunSchema, ContentSection, ContentSectionSchema, ContentShape, ContentShapeSchema, ContentSheet, ContentSheetCell, ContentSheetCellComment, ContentSheetCellCommentSchema, ContentSheetCellSchema, ContentSheetColumn, ContentSheetColumnSchema, ContentSheetConditionalFormat, ContentSheetConditionalFormatSchema, ContentSheetConditionalFormatStyle, ContentSheetConditionalFormatStyleSchema, ContentSheetConditionalFormatValue, ContentSheetConditionalFormatValueSchema, ContentSheetDataValidation, ContentSheetDataValidationSchema, ContentSheetDataValidationType, ContentSheetDataValidationTypeSchema, ContentSheetImage, ContentSheetImageSchema, ContentSheetPrintRange, ContentSheetPrintRangeSchema, ContentSheetPrintSettings, ContentSheetPrintSettingsSchema, ContentSheetRange, ContentSheetRangeSchema, ContentSheetRepeatRange, ContentSheetRepeatRangeSchema, ContentSheetRow, ContentSheetRowSchema, ContentSheetSchema, ContentSlide, ContentSlideSchema, ContentStroke, ContentStrokeDash, ContentStrokeDashSchema, ContentStrokeSchema, ContentStrokeStyle, ContentStrokeStyleSchema, ContentSubpath, ContentSubpathSchema, ContentTable, ContentTableCell, ContentTableCellSchema, ContentTableRow, ContentTableRowSchema, ContentTableSchema, ContentTranscript, ContentTranscriptSchema, ContentVector, ContentVectorSchema, DecimalString, DecimalStringSchema, FusedNode, IMAGE_FORMATS, ImageFormat, RUN_FONT_PROPERTY_SHAPE, RunConstructExtent, RunConstructExtentSchema, RunConstructFault, SheetRuleOperator, SheetRuleOperatorSchema, clampHeadingLevel, contentDocumentSharedFields, findConstructMarkerImbalance, findRunConstructFault, isContentBlock, isContentConstructEnd, isContentConstructStart, isRunConstructExtent, resolveCellFillColor, unrecognizedFillKind };
|
package/dist/decompose.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as ContentDocument, Et as ContentShape, Ot as ContentSheet, T as ContentDrawPage, W as ContentFormula, in as ContentSlide, mt as ContentParagraph, n as ConstructMarkerImbalance, wt as ContentSection } from "./content-
|
|
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-
|
|
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-Db6wh_6v.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-D42YxKm6.cjs";
|
|
3
3
|
//#region src/decompose.d.ts
|
|
4
4
|
declare function isHeadingParagraph(paragraph: ContentParagraph): paragraph is HeadingParagraph;
|
|
5
5
|
declare function isListParagraph(paragraph: ContentParagraph): paragraph is ListParagraph;
|
package/dist/decompose.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as ContentDocument, Et as ContentShape, Ot as ContentSheet, T as ContentDrawPage, W as ContentFormula, in as ContentSlide, mt as ContentParagraph, n as ConstructMarkerImbalance, wt as ContentSection } from "./content-
|
|
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-
|
|
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-Cc9oMKMd.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-D-1yiCmi.js";
|
|
3
3
|
//#region src/decompose.d.ts
|
|
4
4
|
declare function isHeadingParagraph(paragraph: ContentParagraph): paragraph is HeadingParagraph;
|
|
5
5
|
declare function isListParagraph(paragraph: ContentParagraph): paragraph is ListParagraph;
|
package/dist/definitions.d.cts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { St as ContentRun, mt as ContentParagraph } from "./content-
|
|
1
|
+
import { St as ContentRun, mt as ContentParagraph } from "./content-Db6wh_6v.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
|
-
center: "center";
|
|
8
7
|
right: "right";
|
|
8
|
+
center: "center";
|
|
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
|
-
center: "center";
|
|
53
52
|
right: "right";
|
|
53
|
+
center: "center";
|
|
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
|
-
center: "center";
|
|
98
97
|
right: "right";
|
|
98
|
+
center: "center";
|
|
99
99
|
justify: "justify";
|
|
100
100
|
}>>;
|
|
101
101
|
list: z.ZodOptional<z.ZodObject<{
|