document-content-model 7.11.3 → 7.11.5
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/dist/codec.d.cts +1 -1
- package/dist/codec.d.ts +1 -1
- package/dist/{construct-GVdTKrE7.d.cts → construct-C9cYkjnd.d.cts} +3 -3
- package/dist/{construct-GVdTKrE7.d.ts → construct-C9cYkjnd.d.ts} +3 -3
- package/dist/construct.d.cts +1 -1
- package/dist/construct.d.ts +1 -1
- package/dist/{content-C5CsxSt1.d.ts → content-GHj_31uQ.d.ts} +36 -36
- package/dist/{content-DWSflkUJ.d.cts → content-zNNPbwYY.d.cts} +36 -36
- 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.cjs +12 -54
- package/dist/factor-styles.d.cts +1 -1
- package/dist/factor-styles.d.ts +1 -1
- package/dist/factor-styles.js +12 -54
- package/dist/flatten.d.cts +1 -1
- package/dist/flatten.d.ts +1 -1
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/{package-node-5OqgGCtu.d.ts → package-node-CIZQ2_C1.d.ts} +9 -9
- package/dist/{package-node-DK-b0h6V.d.cts → package-node-DaPwHzsg.d.cts} +9 -9
- 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/text-layout.d.cts +1 -1
- package/dist/text-layout.d.ts +1 -1
- package/package.json +1 -1
- package/schemas/content-document.schema.json +16 -16
- package/schemas/document-tree.schema.json +3 -3
|
@@ -3,7 +3,7 @@ import { p as MathExpression } from "./math-BScHxedi.cjs";
|
|
|
3
3
|
import { n as Color } from "./color-AELCDH_b.cjs";
|
|
4
4
|
import { r as LayoutFrame, t as Box } from "./geometry-CvcjSwnA.cjs";
|
|
5
5
|
import { r as SourceResidue } from "./source-Bas5ol6f.cjs";
|
|
6
|
-
import { o as TextDirection } from "./style-
|
|
6
|
+
import { o as TextDirection } from "./style-BGMcYrD2.cjs";
|
|
7
7
|
import { z } from "zod";
|
|
8
8
|
//#region src/content.d.ts
|
|
9
9
|
type FusedNode<T> = T & {
|
|
@@ -205,12 +205,12 @@ declare const RunConstructExtentSchema: z.ZodObject<{
|
|
|
205
205
|
descriptor: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
206
206
|
kind: z.ZodLiteral<"contentControl">;
|
|
207
207
|
controlType: z.ZodEnum<{
|
|
208
|
-
date: "date";
|
|
209
208
|
richText: "richText";
|
|
210
209
|
plainText: "plainText";
|
|
211
210
|
checkbox: "checkbox";
|
|
212
211
|
dropDown: "dropDown";
|
|
213
212
|
comboBox: "comboBox";
|
|
213
|
+
date: "date";
|
|
214
214
|
picture: "picture";
|
|
215
215
|
repeatingSection: "repeatingSection";
|
|
216
216
|
button: "button";
|
|
@@ -588,12 +588,12 @@ declare const ContentParagraphSchema: z.ZodObject<{
|
|
|
588
588
|
descriptor: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
589
589
|
kind: z.ZodLiteral<"contentControl">;
|
|
590
590
|
controlType: z.ZodEnum<{
|
|
591
|
-
date: "date";
|
|
592
591
|
richText: "richText";
|
|
593
592
|
plainText: "plainText";
|
|
594
593
|
checkbox: "checkbox";
|
|
595
594
|
dropDown: "dropDown";
|
|
596
595
|
comboBox: "comboBox";
|
|
596
|
+
date: "date";
|
|
597
597
|
picture: "picture";
|
|
598
598
|
repeatingSection: "repeatingSection";
|
|
599
599
|
button: "button";
|
|
@@ -784,8 +784,8 @@ declare const ContentParagraphSchema: z.ZodObject<{
|
|
|
784
784
|
headingLevel: z.ZodOptional<z.ZodNumber>;
|
|
785
785
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
786
786
|
left: "left";
|
|
787
|
-
center: "center";
|
|
788
787
|
right: "right";
|
|
788
|
+
center: "center";
|
|
789
789
|
justify: "justify";
|
|
790
790
|
}>>;
|
|
791
791
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -921,10 +921,10 @@ declare const ContentFloatOriginSchema: z.ZodEnum<{
|
|
|
921
921
|
type ContentFloatOrigin = z.infer<typeof ContentFloatOriginSchema>;
|
|
922
922
|
declare const ContentFloatAlignSchema: z.ZodEnum<{
|
|
923
923
|
left: "left";
|
|
924
|
-
center: "center";
|
|
925
924
|
right: "right";
|
|
926
925
|
top: "top";
|
|
927
926
|
bottom: "bottom";
|
|
927
|
+
center: "center";
|
|
928
928
|
inside: "inside";
|
|
929
929
|
outside: "outside";
|
|
930
930
|
}>;
|
|
@@ -964,10 +964,10 @@ declare const ContentFloatAxisSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
964
964
|
}>;
|
|
965
965
|
align: z.ZodEnum<{
|
|
966
966
|
left: "left";
|
|
967
|
-
center: "center";
|
|
968
967
|
right: "right";
|
|
969
968
|
top: "top";
|
|
970
969
|
bottom: "bottom";
|
|
970
|
+
center: "center";
|
|
971
971
|
inside: "inside";
|
|
972
972
|
outside: "outside";
|
|
973
973
|
}>;
|
|
@@ -1009,10 +1009,10 @@ declare const ContentFloatPositionSchema: z.ZodObject<{
|
|
|
1009
1009
|
}>;
|
|
1010
1010
|
align: z.ZodEnum<{
|
|
1011
1011
|
left: "left";
|
|
1012
|
-
center: "center";
|
|
1013
1012
|
right: "right";
|
|
1014
1013
|
top: "top";
|
|
1015
1014
|
bottom: "bottom";
|
|
1015
|
+
center: "center";
|
|
1016
1016
|
inside: "inside";
|
|
1017
1017
|
outside: "outside";
|
|
1018
1018
|
}>;
|
|
@@ -1052,10 +1052,10 @@ declare const ContentFloatPositionSchema: z.ZodObject<{
|
|
|
1052
1052
|
}>;
|
|
1053
1053
|
align: z.ZodEnum<{
|
|
1054
1054
|
left: "left";
|
|
1055
|
-
center: "center";
|
|
1056
1055
|
right: "right";
|
|
1057
1056
|
top: "top";
|
|
1058
1057
|
bottom: "bottom";
|
|
1058
|
+
center: "center";
|
|
1059
1059
|
inside: "inside";
|
|
1060
1060
|
outside: "outside";
|
|
1061
1061
|
}>;
|
|
@@ -1159,10 +1159,10 @@ declare const ContentImageBlockSchema: z.ZodObject<{
|
|
|
1159
1159
|
}>;
|
|
1160
1160
|
align: z.ZodEnum<{
|
|
1161
1161
|
left: "left";
|
|
1162
|
-
center: "center";
|
|
1163
1162
|
right: "right";
|
|
1164
1163
|
top: "top";
|
|
1165
1164
|
bottom: "bottom";
|
|
1165
|
+
center: "center";
|
|
1166
1166
|
inside: "inside";
|
|
1167
1167
|
outside: "outside";
|
|
1168
1168
|
}>;
|
|
@@ -1202,10 +1202,10 @@ declare const ContentImageBlockSchema: z.ZodObject<{
|
|
|
1202
1202
|
}>;
|
|
1203
1203
|
align: z.ZodEnum<{
|
|
1204
1204
|
left: "left";
|
|
1205
|
-
center: "center";
|
|
1206
1205
|
right: "right";
|
|
1207
1206
|
top: "top";
|
|
1208
1207
|
bottom: "bottom";
|
|
1208
|
+
center: "center";
|
|
1209
1209
|
inside: "inside";
|
|
1210
1210
|
outside: "outside";
|
|
1211
1211
|
}>;
|
|
@@ -1305,12 +1305,12 @@ declare const ContentConstructStartSchema: z.ZodObject<{
|
|
|
1305
1305
|
descriptor: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1306
1306
|
kind: z.ZodLiteral<"contentControl">;
|
|
1307
1307
|
controlType: z.ZodEnum<{
|
|
1308
|
-
date: "date";
|
|
1309
1308
|
richText: "richText";
|
|
1310
1309
|
plainText: "plainText";
|
|
1311
1310
|
checkbox: "checkbox";
|
|
1312
1311
|
dropDown: "dropDown";
|
|
1313
1312
|
comboBox: "comboBox";
|
|
1313
|
+
date: "date";
|
|
1314
1314
|
picture: "picture";
|
|
1315
1315
|
repeatingSection: "repeatingSection";
|
|
1316
1316
|
button: "button";
|
|
@@ -2292,8 +2292,8 @@ declare const ContentEmbeddedObjectBlockSchema: z.ZodObject<{
|
|
|
2292
2292
|
}, z.core.$strip>>;
|
|
2293
2293
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
2294
2294
|
left: "left";
|
|
2295
|
-
center: "center";
|
|
2296
2295
|
right: "right";
|
|
2296
|
+
center: "center";
|
|
2297
2297
|
justify: "justify";
|
|
2298
2298
|
}>>;
|
|
2299
2299
|
verticalAlignment: z.ZodOptional<z.ZodEnum<{
|
|
@@ -2435,10 +2435,10 @@ declare const ContentEmbeddedObjectBlockSchema: z.ZodObject<{
|
|
|
2435
2435
|
}>;
|
|
2436
2436
|
align: z.ZodEnum<{
|
|
2437
2437
|
left: "left";
|
|
2438
|
-
center: "center";
|
|
2439
2438
|
right: "right";
|
|
2440
2439
|
top: "top";
|
|
2441
2440
|
bottom: "bottom";
|
|
2441
|
+
center: "center";
|
|
2442
2442
|
inside: "inside";
|
|
2443
2443
|
outside: "outside";
|
|
2444
2444
|
}>;
|
|
@@ -2478,10 +2478,10 @@ declare const ContentEmbeddedObjectBlockSchema: z.ZodObject<{
|
|
|
2478
2478
|
}>;
|
|
2479
2479
|
align: z.ZodEnum<{
|
|
2480
2480
|
left: "left";
|
|
2481
|
-
center: "center";
|
|
2482
2481
|
right: "right";
|
|
2483
2482
|
top: "top";
|
|
2484
2483
|
bottom: "bottom";
|
|
2484
|
+
center: "center";
|
|
2485
2485
|
inside: "inside";
|
|
2486
2486
|
outside: "outside";
|
|
2487
2487
|
}>;
|
|
@@ -2570,10 +2570,10 @@ declare const ContentEmbeddedObjectBlockSchema: z.ZodObject<{
|
|
|
2570
2570
|
endColumn: z.ZodNumber;
|
|
2571
2571
|
}, z.core.$strip>>;
|
|
2572
2572
|
type: z.ZodEnum<{
|
|
2573
|
-
decimal: "decimal";
|
|
2574
|
-
list: "list";
|
|
2575
2573
|
date: "date";
|
|
2576
2574
|
custom: "custom";
|
|
2575
|
+
decimal: "decimal";
|
|
2576
|
+
list: "list";
|
|
2577
2577
|
time: "time";
|
|
2578
2578
|
whole: "whole";
|
|
2579
2579
|
textLength: "textLength";
|
|
@@ -4605,9 +4605,9 @@ declare const ContentTableCellSchema: z.ZodObject<{
|
|
|
4605
4605
|
}, z.core.$strip>>;
|
|
4606
4606
|
}, z.core.$strip>>;
|
|
4607
4607
|
verticalAlign: z.ZodOptional<z.ZodEnum<{
|
|
4608
|
-
center: "center";
|
|
4609
4608
|
top: "top";
|
|
4610
4609
|
bottom: "bottom";
|
|
4610
|
+
center: "center";
|
|
4611
4611
|
}>>;
|
|
4612
4612
|
formula: z.ZodOptional<z.ZodString>;
|
|
4613
4613
|
sourcePath: z.ZodOptional<z.ZodString>;
|
|
@@ -4832,9 +4832,9 @@ declare const ContentTableRowSchema: z.ZodObject<{
|
|
|
4832
4832
|
}, z.core.$strip>>;
|
|
4833
4833
|
}, z.core.$strip>>;
|
|
4834
4834
|
verticalAlign: z.ZodOptional<z.ZodEnum<{
|
|
4835
|
-
center: "center";
|
|
4836
4835
|
top: "top";
|
|
4837
4836
|
bottom: "bottom";
|
|
4837
|
+
center: "center";
|
|
4838
4838
|
}>>;
|
|
4839
4839
|
formula: z.ZodOptional<z.ZodString>;
|
|
4840
4840
|
sourcePath: z.ZodOptional<z.ZodString>;
|
|
@@ -5094,9 +5094,9 @@ declare const ContentTableSchema: z.ZodObject<{
|
|
|
5094
5094
|
}, z.core.$strip>>;
|
|
5095
5095
|
}, z.core.$strip>>;
|
|
5096
5096
|
verticalAlign: z.ZodOptional<z.ZodEnum<{
|
|
5097
|
-
center: "center";
|
|
5098
5097
|
top: "top";
|
|
5099
5098
|
bottom: "bottom";
|
|
5099
|
+
center: "center";
|
|
5100
5100
|
}>>;
|
|
5101
5101
|
formula: z.ZodOptional<z.ZodString>;
|
|
5102
5102
|
sourcePath: z.ZodOptional<z.ZodString>;
|
|
@@ -5826,8 +5826,8 @@ declare const ContentSheetCellSchema: z.ZodObject<{
|
|
|
5826
5826
|
}, z.core.$strip>>;
|
|
5827
5827
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
5828
5828
|
left: "left";
|
|
5829
|
-
center: "center";
|
|
5830
5829
|
right: "right";
|
|
5830
|
+
center: "center";
|
|
5831
5831
|
justify: "justify";
|
|
5832
5832
|
}>>;
|
|
5833
5833
|
verticalAlignment: z.ZodOptional<z.ZodEnum<{
|
|
@@ -5959,10 +5959,10 @@ declare const SheetRuleOperatorSchema: z.ZodEnum<{
|
|
|
5959
5959
|
}>;
|
|
5960
5960
|
type SheetRuleOperator = z.infer<typeof SheetRuleOperatorSchema>;
|
|
5961
5961
|
declare const ContentSheetDataValidationTypeSchema: z.ZodEnum<{
|
|
5962
|
-
decimal: "decimal";
|
|
5963
|
-
list: "list";
|
|
5964
5962
|
date: "date";
|
|
5965
5963
|
custom: "custom";
|
|
5964
|
+
decimal: "decimal";
|
|
5965
|
+
list: "list";
|
|
5966
5966
|
time: "time";
|
|
5967
5967
|
whole: "whole";
|
|
5968
5968
|
textLength: "textLength";
|
|
@@ -5976,10 +5976,10 @@ declare const ContentSheetDataValidationSchema: z.ZodObject<{
|
|
|
5976
5976
|
endColumn: z.ZodNumber;
|
|
5977
5977
|
}, z.core.$strip>>;
|
|
5978
5978
|
type: z.ZodEnum<{
|
|
5979
|
-
decimal: "decimal";
|
|
5980
|
-
list: "list";
|
|
5981
5979
|
date: "date";
|
|
5982
5980
|
custom: "custom";
|
|
5981
|
+
decimal: "decimal";
|
|
5982
|
+
list: "list";
|
|
5983
5983
|
time: "time";
|
|
5984
5984
|
whole: "whole";
|
|
5985
5985
|
textLength: "textLength";
|
|
@@ -6731,10 +6731,10 @@ declare const ContentSheetImageSchema: z.ZodObject<{
|
|
|
6731
6731
|
}>;
|
|
6732
6732
|
align: z.ZodEnum<{
|
|
6733
6733
|
left: "left";
|
|
6734
|
-
center: "center";
|
|
6735
6734
|
right: "right";
|
|
6736
6735
|
top: "top";
|
|
6737
6736
|
bottom: "bottom";
|
|
6737
|
+
center: "center";
|
|
6738
6738
|
inside: "inside";
|
|
6739
6739
|
outside: "outside";
|
|
6740
6740
|
}>;
|
|
@@ -6774,10 +6774,10 @@ declare const ContentSheetImageSchema: z.ZodObject<{
|
|
|
6774
6774
|
}>;
|
|
6775
6775
|
align: z.ZodEnum<{
|
|
6776
6776
|
left: "left";
|
|
6777
|
-
center: "center";
|
|
6778
6777
|
right: "right";
|
|
6779
6778
|
top: "top";
|
|
6780
6779
|
bottom: "bottom";
|
|
6780
|
+
center: "center";
|
|
6781
6781
|
inside: "inside";
|
|
6782
6782
|
outside: "outside";
|
|
6783
6783
|
}>;
|
|
@@ -7168,8 +7168,8 @@ declare const ContentSheetSchema: z.ZodObject<{
|
|
|
7168
7168
|
}, z.core.$strip>>;
|
|
7169
7169
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
7170
7170
|
left: "left";
|
|
7171
|
-
center: "center";
|
|
7172
7171
|
right: "right";
|
|
7172
|
+
center: "center";
|
|
7173
7173
|
justify: "justify";
|
|
7174
7174
|
}>>;
|
|
7175
7175
|
verticalAlignment: z.ZodOptional<z.ZodEnum<{
|
|
@@ -7311,10 +7311,10 @@ declare const ContentSheetSchema: z.ZodObject<{
|
|
|
7311
7311
|
}>;
|
|
7312
7312
|
align: z.ZodEnum<{
|
|
7313
7313
|
left: "left";
|
|
7314
|
-
center: "center";
|
|
7315
7314
|
right: "right";
|
|
7316
7315
|
top: "top";
|
|
7317
7316
|
bottom: "bottom";
|
|
7317
|
+
center: "center";
|
|
7318
7318
|
inside: "inside";
|
|
7319
7319
|
outside: "outside";
|
|
7320
7320
|
}>;
|
|
@@ -7354,10 +7354,10 @@ declare const ContentSheetSchema: z.ZodObject<{
|
|
|
7354
7354
|
}>;
|
|
7355
7355
|
align: z.ZodEnum<{
|
|
7356
7356
|
left: "left";
|
|
7357
|
-
center: "center";
|
|
7358
7357
|
right: "right";
|
|
7359
7358
|
top: "top";
|
|
7360
7359
|
bottom: "bottom";
|
|
7360
|
+
center: "center";
|
|
7361
7361
|
inside: "inside";
|
|
7362
7362
|
outside: "outside";
|
|
7363
7363
|
}>;
|
|
@@ -7446,10 +7446,10 @@ declare const ContentSheetSchema: z.ZodObject<{
|
|
|
7446
7446
|
endColumn: z.ZodNumber;
|
|
7447
7447
|
}, z.core.$strip>>;
|
|
7448
7448
|
type: z.ZodEnum<{
|
|
7449
|
-
decimal: "decimal";
|
|
7450
|
-
list: "list";
|
|
7451
7449
|
date: "date";
|
|
7452
7450
|
custom: "custom";
|
|
7451
|
+
decimal: "decimal";
|
|
7452
|
+
list: "list";
|
|
7453
7453
|
time: "time";
|
|
7454
7454
|
whole: "whole";
|
|
7455
7455
|
textLength: "textLength";
|
|
@@ -10296,8 +10296,8 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
10296
10296
|
}, z.core.$strip>>;
|
|
10297
10297
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
10298
10298
|
left: "left";
|
|
10299
|
-
center: "center";
|
|
10300
10299
|
right: "right";
|
|
10300
|
+
center: "center";
|
|
10301
10301
|
justify: "justify";
|
|
10302
10302
|
}>>;
|
|
10303
10303
|
verticalAlignment: z.ZodOptional<z.ZodEnum<{
|
|
@@ -10439,10 +10439,10 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
10439
10439
|
}>;
|
|
10440
10440
|
align: z.ZodEnum<{
|
|
10441
10441
|
left: "left";
|
|
10442
|
-
center: "center";
|
|
10443
10442
|
right: "right";
|
|
10444
10443
|
top: "top";
|
|
10445
10444
|
bottom: "bottom";
|
|
10445
|
+
center: "center";
|
|
10446
10446
|
inside: "inside";
|
|
10447
10447
|
outside: "outside";
|
|
10448
10448
|
}>;
|
|
@@ -10482,10 +10482,10 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
10482
10482
|
}>;
|
|
10483
10483
|
align: z.ZodEnum<{
|
|
10484
10484
|
left: "left";
|
|
10485
|
-
center: "center";
|
|
10486
10485
|
right: "right";
|
|
10487
10486
|
top: "top";
|
|
10488
10487
|
bottom: "bottom";
|
|
10488
|
+
center: "center";
|
|
10489
10489
|
inside: "inside";
|
|
10490
10490
|
outside: "outside";
|
|
10491
10491
|
}>;
|
|
@@ -10574,10 +10574,10 @@ declare const ContentDocumentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
10574
10574
|
endColumn: z.ZodNumber;
|
|
10575
10575
|
}, z.core.$strip>>;
|
|
10576
10576
|
type: z.ZodEnum<{
|
|
10577
|
-
decimal: "decimal";
|
|
10578
|
-
list: "list";
|
|
10579
10577
|
date: "date";
|
|
10580
10578
|
custom: "custom";
|
|
10579
|
+
decimal: "decimal";
|
|
10580
|
+
list: "list";
|
|
10581
10581
|
time: "time";
|
|
10582
10582
|
whole: "whole";
|
|
10583
10583
|
textLength: "textLength";
|
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-zNNPbwYY.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-GHj_31uQ.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-zNNPbwYY.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-DaPwHzsg.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-GHj_31uQ.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-CIZQ2_C1.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-zNNPbwYY.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<{
|
package/dist/definitions.d.ts
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-GHj_31uQ.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
|
-
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<{
|
package/dist/factor-styles.cjs
CHANGED
|
@@ -25,12 +25,6 @@ const RUN_STYLE_KEYS = [
|
|
|
25
25
|
function isAnchorGroupWrapper(wrapper) {
|
|
26
26
|
return "kind" in wrapper.node && wrapper.node.kind === "paragraph";
|
|
27
27
|
}
|
|
28
|
-
function isHeadingGroup(group) {
|
|
29
|
-
return group.node.headingLevel !== void 0;
|
|
30
|
-
}
|
|
31
|
-
function isConstructGroup(child) {
|
|
32
|
-
return "node" in child && "children" in child && child.node.kind !== "paragraph";
|
|
33
|
-
}
|
|
34
28
|
function assembleTree(content, pages) {
|
|
35
29
|
const envelope = {
|
|
36
30
|
metadata: content.metadata,
|
|
@@ -294,7 +288,7 @@ function rebuildDrawPageGroup(group, chain, state) {
|
|
|
294
288
|
}
|
|
295
289
|
function rebuildSectionGroup(group, chain, state) {
|
|
296
290
|
const inner = innerChain(group, chain, state);
|
|
297
|
-
const children = group.children.map((child) =>
|
|
291
|
+
const children = group.children.map((child) => rebuildFlowChild(child, inner, state));
|
|
298
292
|
const ref = state.wrapperRefs.get(group);
|
|
299
293
|
return children.every((child, index) => child === group.children[index]) ? group : {
|
|
300
294
|
node: group.node,
|
|
@@ -302,41 +296,27 @@ function rebuildSectionGroup(group, chain, state) {
|
|
|
302
296
|
children
|
|
303
297
|
};
|
|
304
298
|
}
|
|
305
|
-
function
|
|
306
|
-
if (
|
|
307
|
-
if ("node" in child && "children" in child) return isHeadingGroup(child) ? rebuildHeadingGroup(child, chain, state, rebuildSectionChild) : rebuildListGroup(child, chain, state, rebuildListChild);
|
|
308
|
-
if (child.kind === "paragraph") return rebuildParagraph(child, chain);
|
|
309
|
-
return child;
|
|
310
|
-
}
|
|
311
|
-
function rebuildListChild(child, chain, state) {
|
|
312
|
-
if (isConstructGroup(child)) return rebuildShapeConstructGroup(child, chain, state);
|
|
313
|
-
if ("node" in child && "children" in child) return rebuildListGroup(child, chain, state, rebuildListChild);
|
|
299
|
+
function rebuildFlowChild(child, chain, state) {
|
|
300
|
+
if ("node" in child && "children" in child) return rebuildWrapper(child, chain, state);
|
|
314
301
|
if (child.kind === "paragraph") return rebuildParagraph(child, chain);
|
|
315
302
|
return child;
|
|
316
303
|
}
|
|
317
|
-
function
|
|
304
|
+
function rebuildWrapper(group, chain, state) {
|
|
318
305
|
const inner = innerChain(group, chain, state);
|
|
319
|
-
const
|
|
306
|
+
const anchor = isAnchorGroupWrapper(group) ? rebuildParagraph(group.node, inner) : group.node;
|
|
307
|
+
const children = group.children.map((child) => rebuildFlowChild(child, inner, state));
|
|
320
308
|
const ref = state.wrapperRefs.get(group);
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
...
|
|
324
|
-
|
|
325
|
-
};
|
|
326
|
-
}
|
|
327
|
-
function rebuildSectionConstructGroup(group, chain, state) {
|
|
328
|
-
const inner = innerChain(group, chain, state);
|
|
329
|
-
const children = group.children.map((child) => rebuildSectionChild(child, inner, state));
|
|
330
|
-
const ref = state.wrapperRefs.get(group);
|
|
331
|
-
return children.every((child, index) => child === group.children[index]) ? group : {
|
|
332
|
-
node: group.node,
|
|
309
|
+
if (anchor === group.node && children.every((child, index) => child === group.children[index])) return group;
|
|
310
|
+
return {
|
|
311
|
+
...group,
|
|
312
|
+
node: anchor,
|
|
333
313
|
...ref !== void 0 ? { style: ref } : {},
|
|
334
314
|
children
|
|
335
315
|
};
|
|
336
316
|
}
|
|
337
|
-
function
|
|
317
|
+
function rebuildShapeGroup(group, chain, state) {
|
|
338
318
|
const inner = innerChain(group, chain, state);
|
|
339
|
-
const children = group.children.map((child) =>
|
|
319
|
+
const children = group.children.map((child) => rebuildFlowChild(child, inner, state));
|
|
340
320
|
const ref = state.wrapperRefs.get(group);
|
|
341
321
|
return children.every((child, index) => child === group.children[index]) ? group : {
|
|
342
322
|
node: group.node,
|
|
@@ -344,28 +324,6 @@ function rebuildShapeConstructGroup(group, chain, state) {
|
|
|
344
324
|
children
|
|
345
325
|
};
|
|
346
326
|
}
|
|
347
|
-
function rebuildHeadingGroup(group, chain, state, rebuildChild) {
|
|
348
|
-
const inner = innerChain(group, chain, state);
|
|
349
|
-
const anchor = rebuildParagraph(group.node, inner);
|
|
350
|
-
const children = group.children.map((child) => rebuildChild(child, inner, state));
|
|
351
|
-
const ref = state.wrapperRefs.get(group);
|
|
352
|
-
return anchor === group.node && children.every((child, index) => child === group.children[index]) ? group : {
|
|
353
|
-
node: anchor,
|
|
354
|
-
...ref !== void 0 ? { style: ref } : {},
|
|
355
|
-
children
|
|
356
|
-
};
|
|
357
|
-
}
|
|
358
|
-
function rebuildListGroup(group, chain, state, rebuildChild) {
|
|
359
|
-
const inner = innerChain(group, chain, state);
|
|
360
|
-
const anchor = rebuildParagraph(group.node, inner);
|
|
361
|
-
const children = group.children.map((child) => rebuildChild(child, inner, state));
|
|
362
|
-
const ref = state.wrapperRefs.get(group);
|
|
363
|
-
return anchor === group.node && children.every((child, index) => child === group.children[index]) ? group : {
|
|
364
|
-
node: anchor,
|
|
365
|
-
...ref !== void 0 ? { style: ref } : {},
|
|
366
|
-
children
|
|
367
|
-
};
|
|
368
|
-
}
|
|
369
327
|
function rebuildParagraph(paragraph, chain) {
|
|
370
328
|
const strips = paragraphStripsOf(chain, paragraph);
|
|
371
329
|
const base = strips === void 0 ? paragraph : stripParagraphKeys(paragraph, strips);
|
package/dist/factor-styles.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { l as PageSize } from "./geometry-CvcjSwnA.cjs";
|
|
2
|
-
import { C as ContentDocument } from "./content-
|
|
2
|
+
import { C as ContentDocument } from "./content-zNNPbwYY.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;
|
package/dist/factor-styles.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { l as PageSize } from "./geometry-CvcjSwnA.js";
|
|
2
|
-
import { C as ContentDocument } from "./content-
|
|
2
|
+
import { C as ContentDocument } from "./content-GHj_31uQ.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;
|