document-schema 7.11.4 → 7.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/codec.d.cts +1 -1
- package/dist/codec.d.ts +1 -1
- package/dist/{construct-C9cYkjnd.d.cts → construct-C4XiF8OW.d.cts} +6 -6
- package/dist/{construct-C9cYkjnd.d.ts → construct-C4XiF8OW.d.ts} +6 -6
- package/dist/construct.d.cts +1 -1
- package/dist/construct.d.ts +1 -1
- package/dist/{content-oJmrSCr6.d.cts → content-DnNAXdH_.d.cts} +126 -126
- package/dist/{content-DJYlkhmk.d.ts → content-vx3Mbnjy.d.ts} +126 -126
- 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 +1 -1
- package/dist/definitions.d.ts +1 -1
- 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.cjs +7 -0
- package/dist/index.d.cts +5 -4
- package/dist/index.d.ts +5 -4
- package/dist/index.js +2 -1
- package/dist/{package-node-DkOfPGtb.d.ts → package-node-CjEahULr.d.ts} +47 -47
- package/dist/{package-node-BaeLuQNH.d.cts → package-node-DMS4Zrfi.d.cts} +47 -47
- package/dist/package-node.d.cts +1 -1
- package/dist/package-node.d.ts +1 -1
- package/dist/package.d.cts +2 -2
- package/dist/package.d.ts +2 -2
- 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/table-grid.cjs +119 -0
- package/dist/table-grid.d.cts +66 -0
- package/dist/table-grid.d.ts +66 -0
- package/dist/table-grid.js +113 -0
- package/package.json +1 -1
- package/schemas/content-document.schema.json +16 -16
- package/schemas/document-tree.schema.json +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as ContentEmbeddedObject, Gt as ContentSheetImage, Sn as ContentVector, W as ContentFormula, _ as ContentConstructEnd, a as ContentBlock, y as ContentConstructStart } from "./content-
|
|
2
|
-
import { a as ConstructDescriptor } from "./construct-
|
|
1
|
+
import { D as ContentEmbeddedObject, Gt as ContentSheetImage, Sn as ContentVector, W as ContentFormula, _ as ContentConstructEnd, a as ContentBlock, y as ContentConstructStart } from "./content-vx3Mbnjy.js";
|
|
2
|
+
import { a as ConstructDescriptor } from "./construct-C4XiF8OW.js";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
//#region src/package-node.d.ts
|
|
5
5
|
declare const SectionDescriptorSchema: z.ZodObject<{
|
|
@@ -23,13 +23,23 @@ declare const SectionDescriptorSchema: z.ZodObject<{
|
|
|
23
23
|
}>;
|
|
24
24
|
xml: z.ZodString;
|
|
25
25
|
}, z.core.$strict>>;
|
|
26
|
+
pageSize: z.ZodObject<{
|
|
27
|
+
widthPt: z.ZodNumber;
|
|
28
|
+
heightPt: z.ZodNumber;
|
|
29
|
+
}, z.core.$strip>;
|
|
30
|
+
margins: z.ZodObject<{
|
|
31
|
+
topPt: z.ZodNumber;
|
|
32
|
+
rightPt: z.ZodNumber;
|
|
33
|
+
bottomPt: z.ZodNumber;
|
|
34
|
+
leftPt: z.ZodNumber;
|
|
35
|
+
}, z.core.$strip>;
|
|
26
36
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
37
|
+
body: "body";
|
|
27
38
|
chart: "chart";
|
|
28
39
|
diagram: "diagram";
|
|
29
40
|
table: "table";
|
|
30
41
|
image: "image";
|
|
31
42
|
notes: "notes";
|
|
32
|
-
body: "body";
|
|
33
43
|
}>>;
|
|
34
44
|
interpretation: z.ZodOptional<z.ZodObject<{
|
|
35
45
|
transcript: z.ZodOptional<z.ZodObject<{
|
|
@@ -50,16 +60,6 @@ declare const SectionDescriptorSchema: z.ZodObject<{
|
|
|
50
60
|
at: z.ZodString;
|
|
51
61
|
}, z.core.$strip>>;
|
|
52
62
|
}, z.core.$strip>>;
|
|
53
|
-
pageSize: z.ZodObject<{
|
|
54
|
-
widthPt: z.ZodNumber;
|
|
55
|
-
heightPt: z.ZodNumber;
|
|
56
|
-
}, z.core.$strip>;
|
|
57
|
-
margins: z.ZodObject<{
|
|
58
|
-
topPt: z.ZodNumber;
|
|
59
|
-
rightPt: z.ZodNumber;
|
|
60
|
-
bottomPt: z.ZodNumber;
|
|
61
|
-
leftPt: z.ZodNumber;
|
|
62
|
-
}, z.core.$strip>;
|
|
63
63
|
breakType: z.ZodOptional<z.ZodEnum<{
|
|
64
64
|
nextPage: "nextPage";
|
|
65
65
|
continuous: "continuous";
|
|
@@ -107,12 +107,12 @@ declare const SlideDescriptorSchema: z.ZodObject<{
|
|
|
107
107
|
}, z.core.$strict>>;
|
|
108
108
|
notes: z.ZodString;
|
|
109
109
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
110
|
+
body: "body";
|
|
110
111
|
chart: "chart";
|
|
111
112
|
diagram: "diagram";
|
|
112
113
|
table: "table";
|
|
113
114
|
image: "image";
|
|
114
115
|
notes: "notes";
|
|
115
|
-
body: "body";
|
|
116
116
|
}>>;
|
|
117
117
|
interpretation: z.ZodOptional<z.ZodObject<{
|
|
118
118
|
transcript: z.ZodOptional<z.ZodObject<{
|
|
@@ -141,6 +141,7 @@ declare const SlideDescriptorSchema: z.ZodObject<{
|
|
|
141
141
|
}, z.core.$strict>;
|
|
142
142
|
type SlideDescriptor = z.infer<typeof SlideDescriptorSchema>;
|
|
143
143
|
declare const SheetDescriptorSchema: z.ZodObject<{
|
|
144
|
+
name: z.ZodString;
|
|
144
145
|
source: z.ZodOptional<z.ZodObject<{
|
|
145
146
|
format: z.ZodEnum<{
|
|
146
147
|
docx: "docx";
|
|
@@ -161,14 +162,18 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
161
162
|
}>;
|
|
162
163
|
xml: z.ZodString;
|
|
163
164
|
}, z.core.$strict>>;
|
|
164
|
-
|
|
165
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
166
|
+
index: z.ZodNumber;
|
|
167
|
+
heightPt: z.ZodOptional<z.ZodNumber>;
|
|
168
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
169
|
+
}, z.core.$strip>>;
|
|
165
170
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
171
|
+
body: "body";
|
|
166
172
|
chart: "chart";
|
|
167
173
|
diagram: "diagram";
|
|
168
174
|
table: "table";
|
|
169
175
|
image: "image";
|
|
170
176
|
notes: "notes";
|
|
171
|
-
body: "body";
|
|
172
177
|
}>>;
|
|
173
178
|
interpretation: z.ZodOptional<z.ZodObject<{
|
|
174
179
|
transcript: z.ZodOptional<z.ZodObject<{
|
|
@@ -232,12 +237,12 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
232
237
|
}, z.core.$strip>;
|
|
233
238
|
cells: z.ZodArray<z.ZodObject<{
|
|
234
239
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
240
|
+
body: "body";
|
|
235
241
|
chart: "chart";
|
|
236
242
|
diagram: "diagram";
|
|
237
243
|
table: "table";
|
|
238
244
|
image: "image";
|
|
239
245
|
notes: "notes";
|
|
240
|
-
body: "body";
|
|
241
246
|
}>>;
|
|
242
247
|
interpretation: z.ZodOptional<z.ZodObject<{
|
|
243
248
|
transcript: z.ZodOptional<z.ZodObject<{
|
|
@@ -312,12 +317,12 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
312
317
|
}, z.core.$strip>>;
|
|
313
318
|
runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
314
319
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
320
|
+
body: "body";
|
|
315
321
|
chart: "chart";
|
|
316
322
|
diagram: "diagram";
|
|
317
323
|
table: "table";
|
|
318
324
|
image: "image";
|
|
319
325
|
notes: "notes";
|
|
320
|
-
body: "body";
|
|
321
326
|
}>>;
|
|
322
327
|
interpretation: z.ZodOptional<z.ZodObject<{
|
|
323
328
|
transcript: z.ZodOptional<z.ZodObject<{
|
|
@@ -604,11 +609,6 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
604
609
|
widthPt: z.ZodOptional<z.ZodNumber>;
|
|
605
610
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
606
611
|
}, z.core.$strip>>;
|
|
607
|
-
rows: z.ZodArray<z.ZodObject<{
|
|
608
|
-
index: z.ZodNumber;
|
|
609
|
-
heightPt: z.ZodOptional<z.ZodNumber>;
|
|
610
|
-
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
611
|
-
}, z.core.$strip>>;
|
|
612
612
|
dataValidations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
613
613
|
ranges: z.ZodArray<z.ZodObject<{
|
|
614
614
|
startRow: z.ZodNumber;
|
|
@@ -617,11 +617,11 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
617
617
|
endColumn: z.ZodNumber;
|
|
618
618
|
}, z.core.$strip>>;
|
|
619
619
|
type: z.ZodEnum<{
|
|
620
|
+
time: "time";
|
|
620
621
|
date: "date";
|
|
621
622
|
custom: "custom";
|
|
622
623
|
decimal: "decimal";
|
|
623
624
|
list: "list";
|
|
624
|
-
time: "time";
|
|
625
625
|
whole: "whole";
|
|
626
626
|
textLength: "textLength";
|
|
627
627
|
}>;
|
|
@@ -1092,11 +1092,11 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
1092
1092
|
stops: z.ZodArray<z.ZodObject<{
|
|
1093
1093
|
value: z.ZodObject<{
|
|
1094
1094
|
type: z.ZodEnum<{
|
|
1095
|
-
formula: "formula";
|
|
1096
|
-
percent: "percent";
|
|
1097
1095
|
num: "num";
|
|
1098
|
-
max: "max";
|
|
1099
1096
|
min: "min";
|
|
1097
|
+
max: "max";
|
|
1098
|
+
formula: "formula";
|
|
1099
|
+
percent: "percent";
|
|
1100
1100
|
percentile: "percentile";
|
|
1101
1101
|
}>;
|
|
1102
1102
|
value: z.ZodOptional<z.ZodString>;
|
|
@@ -1139,22 +1139,22 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
1139
1139
|
}, z.core.$strip>, z.ZodObject<{
|
|
1140
1140
|
min: z.ZodObject<{
|
|
1141
1141
|
type: z.ZodEnum<{
|
|
1142
|
-
formula: "formula";
|
|
1143
|
-
percent: "percent";
|
|
1144
1142
|
num: "num";
|
|
1145
|
-
max: "max";
|
|
1146
1143
|
min: "min";
|
|
1144
|
+
max: "max";
|
|
1145
|
+
formula: "formula";
|
|
1146
|
+
percent: "percent";
|
|
1147
1147
|
percentile: "percentile";
|
|
1148
1148
|
}>;
|
|
1149
1149
|
value: z.ZodOptional<z.ZodString>;
|
|
1150
1150
|
}, z.core.$strip>;
|
|
1151
1151
|
max: z.ZodObject<{
|
|
1152
1152
|
type: z.ZodEnum<{
|
|
1153
|
-
formula: "formula";
|
|
1154
|
-
percent: "percent";
|
|
1155
1153
|
num: "num";
|
|
1156
|
-
max: "max";
|
|
1157
1154
|
min: "min";
|
|
1155
|
+
max: "max";
|
|
1156
|
+
formula: "formula";
|
|
1157
|
+
percent: "percent";
|
|
1158
1158
|
percentile: "percentile";
|
|
1159
1159
|
}>;
|
|
1160
1160
|
value: z.ZodOptional<z.ZodString>;
|
|
@@ -1198,11 +1198,11 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
1198
1198
|
iconSetType: z.ZodString;
|
|
1199
1199
|
thresholds: z.ZodArray<z.ZodObject<{
|
|
1200
1200
|
type: z.ZodEnum<{
|
|
1201
|
-
formula: "formula";
|
|
1202
|
-
percent: "percent";
|
|
1203
1201
|
num: "num";
|
|
1204
|
-
max: "max";
|
|
1205
1202
|
min: "min";
|
|
1203
|
+
max: "max";
|
|
1204
|
+
formula: "formula";
|
|
1205
|
+
percent: "percent";
|
|
1206
1206
|
percentile: "percentile";
|
|
1207
1207
|
}>;
|
|
1208
1208
|
value: z.ZodOptional<z.ZodString>;
|
|
@@ -1264,12 +1264,12 @@ declare const DrawPageDescriptorSchema: z.ZodObject<{
|
|
|
1264
1264
|
xml: z.ZodString;
|
|
1265
1265
|
}, z.core.$strict>>;
|
|
1266
1266
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
1267
|
+
body: "body";
|
|
1267
1268
|
chart: "chart";
|
|
1268
1269
|
diagram: "diagram";
|
|
1269
1270
|
table: "table";
|
|
1270
1271
|
image: "image";
|
|
1271
1272
|
notes: "notes";
|
|
1272
|
-
body: "body";
|
|
1273
1273
|
}>>;
|
|
1274
1274
|
interpretation: z.ZodOptional<z.ZodObject<{
|
|
1275
1275
|
transcript: z.ZodOptional<z.ZodObject<{
|
|
@@ -1298,6 +1298,7 @@ declare const DrawPageDescriptorSchema: z.ZodObject<{
|
|
|
1298
1298
|
}, z.core.$strict>;
|
|
1299
1299
|
type DrawPageDescriptor = z.infer<typeof DrawPageDescriptorSchema>;
|
|
1300
1300
|
declare const ShapeDescriptorSchema: z.ZodObject<{
|
|
1301
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1301
1302
|
source: z.ZodOptional<z.ZodObject<{
|
|
1302
1303
|
format: z.ZodEnum<{
|
|
1303
1304
|
docx: "docx";
|
|
@@ -1318,7 +1319,6 @@ declare const ShapeDescriptorSchema: z.ZodObject<{
|
|
|
1318
1319
|
}>;
|
|
1319
1320
|
xml: z.ZodString;
|
|
1320
1321
|
}, z.core.$strict>>;
|
|
1321
|
-
name: z.ZodOptional<z.ZodString>;
|
|
1322
1322
|
sourcePath: z.ZodOptional<z.ZodString>;
|
|
1323
1323
|
frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1324
1324
|
pageIndex: z.ZodNumber;
|
|
@@ -1328,12 +1328,12 @@ declare const ShapeDescriptorSchema: z.ZodObject<{
|
|
|
1328
1328
|
heightPt: z.ZodNumber;
|
|
1329
1329
|
}, z.core.$strip>>>;
|
|
1330
1330
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
1331
|
+
body: "body";
|
|
1331
1332
|
chart: "chart";
|
|
1332
1333
|
diagram: "diagram";
|
|
1333
1334
|
table: "table";
|
|
1334
1335
|
image: "image";
|
|
1335
1336
|
notes: "notes";
|
|
1336
|
-
body: "body";
|
|
1337
1337
|
}>>;
|
|
1338
1338
|
interpretation: z.ZodOptional<z.ZodObject<{
|
|
1339
1339
|
transcript: z.ZodOptional<z.ZodObject<{
|
|
@@ -1373,12 +1373,12 @@ declare const ShapeDescriptorSchema: z.ZodObject<{
|
|
|
1373
1373
|
type ShapeDescriptor = z.infer<typeof ShapeDescriptorSchema>;
|
|
1374
1374
|
declare const HeadingParagraphSchema: z.ZodObject<{
|
|
1375
1375
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
1376
|
+
body: "body";
|
|
1376
1377
|
chart: "chart";
|
|
1377
1378
|
diagram: "diagram";
|
|
1378
1379
|
table: "table";
|
|
1379
1380
|
image: "image";
|
|
1380
1381
|
notes: "notes";
|
|
1381
|
-
body: "body";
|
|
1382
1382
|
}>>;
|
|
1383
1383
|
interpretation: z.ZodOptional<z.ZodObject<{
|
|
1384
1384
|
transcript: z.ZodOptional<z.ZodObject<{
|
|
@@ -1402,12 +1402,12 @@ declare const HeadingParagraphSchema: z.ZodObject<{
|
|
|
1402
1402
|
kind: z.ZodLiteral<"paragraph">;
|
|
1403
1403
|
runs: z.ZodArray<z.ZodObject<{
|
|
1404
1404
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
1405
|
+
body: "body";
|
|
1405
1406
|
chart: "chart";
|
|
1406
1407
|
diagram: "diagram";
|
|
1407
1408
|
table: "table";
|
|
1408
1409
|
image: "image";
|
|
1409
1410
|
notes: "notes";
|
|
1410
|
-
body: "body";
|
|
1411
1411
|
}>>;
|
|
1412
1412
|
interpretation: z.ZodOptional<z.ZodObject<{
|
|
1413
1413
|
transcript: z.ZodOptional<z.ZodObject<{
|
|
@@ -1482,12 +1482,12 @@ declare const HeadingParagraphSchema: z.ZodObject<{
|
|
|
1482
1482
|
descriptor: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1483
1483
|
kind: z.ZodLiteral<"contentControl">;
|
|
1484
1484
|
controlType: z.ZodEnum<{
|
|
1485
|
+
date: "date";
|
|
1485
1486
|
richText: "richText";
|
|
1486
1487
|
plainText: "plainText";
|
|
1487
1488
|
checkbox: "checkbox";
|
|
1488
1489
|
dropDown: "dropDown";
|
|
1489
1490
|
comboBox: "comboBox";
|
|
1490
|
-
date: "date";
|
|
1491
1491
|
picture: "picture";
|
|
1492
1492
|
repeatingSection: "repeatingSection";
|
|
1493
1493
|
button: "button";
|
|
@@ -1551,10 +1551,10 @@ declare const HeadingParagraphSchema: z.ZodObject<{
|
|
|
1551
1551
|
}, z.core.$strict>, z.ZodObject<{
|
|
1552
1552
|
kind: z.ZodLiteral<"anchor">;
|
|
1553
1553
|
anchorType: z.ZodEnum<{
|
|
1554
|
+
comment: "comment";
|
|
1554
1555
|
bookmark: "bookmark";
|
|
1555
1556
|
footnote: "footnote";
|
|
1556
1557
|
endnote: "endnote";
|
|
1557
|
-
comment: "comment";
|
|
1558
1558
|
}>;
|
|
1559
1559
|
name: z.ZodString;
|
|
1560
1560
|
definition: z.ZodOptional<z.ZodString>;
|
|
@@ -1798,12 +1798,12 @@ declare const HeadingParagraphSchema: z.ZodObject<{
|
|
|
1798
1798
|
type HeadingParagraph = z.infer<typeof HeadingParagraphSchema>;
|
|
1799
1799
|
declare const ListParagraphSchema: z.ZodObject<{
|
|
1800
1800
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
1801
|
+
body: "body";
|
|
1801
1802
|
chart: "chart";
|
|
1802
1803
|
diagram: "diagram";
|
|
1803
1804
|
table: "table";
|
|
1804
1805
|
image: "image";
|
|
1805
1806
|
notes: "notes";
|
|
1806
|
-
body: "body";
|
|
1807
1807
|
}>>;
|
|
1808
1808
|
interpretation: z.ZodOptional<z.ZodObject<{
|
|
1809
1809
|
transcript: z.ZodOptional<z.ZodObject<{
|
|
@@ -1827,12 +1827,12 @@ declare const ListParagraphSchema: z.ZodObject<{
|
|
|
1827
1827
|
kind: z.ZodLiteral<"paragraph">;
|
|
1828
1828
|
runs: z.ZodArray<z.ZodObject<{
|
|
1829
1829
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
1830
|
+
body: "body";
|
|
1830
1831
|
chart: "chart";
|
|
1831
1832
|
diagram: "diagram";
|
|
1832
1833
|
table: "table";
|
|
1833
1834
|
image: "image";
|
|
1834
1835
|
notes: "notes";
|
|
1835
|
-
body: "body";
|
|
1836
1836
|
}>>;
|
|
1837
1837
|
interpretation: z.ZodOptional<z.ZodObject<{
|
|
1838
1838
|
transcript: z.ZodOptional<z.ZodObject<{
|
|
@@ -1907,12 +1907,12 @@ declare const ListParagraphSchema: z.ZodObject<{
|
|
|
1907
1907
|
descriptor: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1908
1908
|
kind: z.ZodLiteral<"contentControl">;
|
|
1909
1909
|
controlType: z.ZodEnum<{
|
|
1910
|
+
date: "date";
|
|
1910
1911
|
richText: "richText";
|
|
1911
1912
|
plainText: "plainText";
|
|
1912
1913
|
checkbox: "checkbox";
|
|
1913
1914
|
dropDown: "dropDown";
|
|
1914
1915
|
comboBox: "comboBox";
|
|
1915
|
-
date: "date";
|
|
1916
1916
|
picture: "picture";
|
|
1917
1917
|
repeatingSection: "repeatingSection";
|
|
1918
1918
|
button: "button";
|
|
@@ -1976,10 +1976,10 @@ declare const ListParagraphSchema: z.ZodObject<{
|
|
|
1976
1976
|
}, z.core.$strict>, z.ZodObject<{
|
|
1977
1977
|
kind: z.ZodLiteral<"anchor">;
|
|
1978
1978
|
anchorType: z.ZodEnum<{
|
|
1979
|
+
comment: "comment";
|
|
1979
1980
|
bookmark: "bookmark";
|
|
1980
1981
|
footnote: "footnote";
|
|
1981
1982
|
endnote: "endnote";
|
|
1982
|
-
comment: "comment";
|
|
1983
1983
|
}>;
|
|
1984
1984
|
name: z.ZodString;
|
|
1985
1985
|
definition: z.ZodOptional<z.ZodString>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as ContentEmbeddedObject, Gt as ContentSheetImage, Sn as ContentVector, W as ContentFormula, _ as ContentConstructEnd, a as ContentBlock, y as ContentConstructStart } from "./content-
|
|
2
|
-
import { a as ConstructDescriptor } from "./construct-
|
|
1
|
+
import { D as ContentEmbeddedObject, Gt as ContentSheetImage, Sn as ContentVector, W as ContentFormula, _ as ContentConstructEnd, a as ContentBlock, y as ContentConstructStart } from "./content-DnNAXdH_.cjs";
|
|
2
|
+
import { a as ConstructDescriptor } from "./construct-C4XiF8OW.cjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
//#region src/package-node.d.ts
|
|
5
5
|
declare const SectionDescriptorSchema: z.ZodObject<{
|
|
@@ -23,13 +23,23 @@ declare const SectionDescriptorSchema: z.ZodObject<{
|
|
|
23
23
|
}>;
|
|
24
24
|
xml: z.ZodString;
|
|
25
25
|
}, z.core.$strict>>;
|
|
26
|
+
pageSize: z.ZodObject<{
|
|
27
|
+
widthPt: z.ZodNumber;
|
|
28
|
+
heightPt: z.ZodNumber;
|
|
29
|
+
}, z.core.$strip>;
|
|
30
|
+
margins: z.ZodObject<{
|
|
31
|
+
topPt: z.ZodNumber;
|
|
32
|
+
rightPt: z.ZodNumber;
|
|
33
|
+
bottomPt: z.ZodNumber;
|
|
34
|
+
leftPt: z.ZodNumber;
|
|
35
|
+
}, z.core.$strip>;
|
|
26
36
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
37
|
+
body: "body";
|
|
27
38
|
chart: "chart";
|
|
28
39
|
diagram: "diagram";
|
|
29
40
|
table: "table";
|
|
30
41
|
image: "image";
|
|
31
42
|
notes: "notes";
|
|
32
|
-
body: "body";
|
|
33
43
|
}>>;
|
|
34
44
|
interpretation: z.ZodOptional<z.ZodObject<{
|
|
35
45
|
transcript: z.ZodOptional<z.ZodObject<{
|
|
@@ -50,16 +60,6 @@ declare const SectionDescriptorSchema: z.ZodObject<{
|
|
|
50
60
|
at: z.ZodString;
|
|
51
61
|
}, z.core.$strip>>;
|
|
52
62
|
}, z.core.$strip>>;
|
|
53
|
-
pageSize: z.ZodObject<{
|
|
54
|
-
widthPt: z.ZodNumber;
|
|
55
|
-
heightPt: z.ZodNumber;
|
|
56
|
-
}, z.core.$strip>;
|
|
57
|
-
margins: z.ZodObject<{
|
|
58
|
-
topPt: z.ZodNumber;
|
|
59
|
-
rightPt: z.ZodNumber;
|
|
60
|
-
bottomPt: z.ZodNumber;
|
|
61
|
-
leftPt: z.ZodNumber;
|
|
62
|
-
}, z.core.$strip>;
|
|
63
63
|
breakType: z.ZodOptional<z.ZodEnum<{
|
|
64
64
|
nextPage: "nextPage";
|
|
65
65
|
continuous: "continuous";
|
|
@@ -107,12 +107,12 @@ declare const SlideDescriptorSchema: z.ZodObject<{
|
|
|
107
107
|
}, z.core.$strict>>;
|
|
108
108
|
notes: z.ZodString;
|
|
109
109
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
110
|
+
body: "body";
|
|
110
111
|
chart: "chart";
|
|
111
112
|
diagram: "diagram";
|
|
112
113
|
table: "table";
|
|
113
114
|
image: "image";
|
|
114
115
|
notes: "notes";
|
|
115
|
-
body: "body";
|
|
116
116
|
}>>;
|
|
117
117
|
interpretation: z.ZodOptional<z.ZodObject<{
|
|
118
118
|
transcript: z.ZodOptional<z.ZodObject<{
|
|
@@ -141,6 +141,7 @@ declare const SlideDescriptorSchema: z.ZodObject<{
|
|
|
141
141
|
}, z.core.$strict>;
|
|
142
142
|
type SlideDescriptor = z.infer<typeof SlideDescriptorSchema>;
|
|
143
143
|
declare const SheetDescriptorSchema: z.ZodObject<{
|
|
144
|
+
name: z.ZodString;
|
|
144
145
|
source: z.ZodOptional<z.ZodObject<{
|
|
145
146
|
format: z.ZodEnum<{
|
|
146
147
|
docx: "docx";
|
|
@@ -161,14 +162,18 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
161
162
|
}>;
|
|
162
163
|
xml: z.ZodString;
|
|
163
164
|
}, z.core.$strict>>;
|
|
164
|
-
|
|
165
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
166
|
+
index: z.ZodNumber;
|
|
167
|
+
heightPt: z.ZodOptional<z.ZodNumber>;
|
|
168
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
169
|
+
}, z.core.$strip>>;
|
|
165
170
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
171
|
+
body: "body";
|
|
166
172
|
chart: "chart";
|
|
167
173
|
diagram: "diagram";
|
|
168
174
|
table: "table";
|
|
169
175
|
image: "image";
|
|
170
176
|
notes: "notes";
|
|
171
|
-
body: "body";
|
|
172
177
|
}>>;
|
|
173
178
|
interpretation: z.ZodOptional<z.ZodObject<{
|
|
174
179
|
transcript: z.ZodOptional<z.ZodObject<{
|
|
@@ -232,12 +237,12 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
232
237
|
}, z.core.$strip>;
|
|
233
238
|
cells: z.ZodArray<z.ZodObject<{
|
|
234
239
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
240
|
+
body: "body";
|
|
235
241
|
chart: "chart";
|
|
236
242
|
diagram: "diagram";
|
|
237
243
|
table: "table";
|
|
238
244
|
image: "image";
|
|
239
245
|
notes: "notes";
|
|
240
|
-
body: "body";
|
|
241
246
|
}>>;
|
|
242
247
|
interpretation: z.ZodOptional<z.ZodObject<{
|
|
243
248
|
transcript: z.ZodOptional<z.ZodObject<{
|
|
@@ -312,12 +317,12 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
312
317
|
}, z.core.$strip>>;
|
|
313
318
|
runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
314
319
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
320
|
+
body: "body";
|
|
315
321
|
chart: "chart";
|
|
316
322
|
diagram: "diagram";
|
|
317
323
|
table: "table";
|
|
318
324
|
image: "image";
|
|
319
325
|
notes: "notes";
|
|
320
|
-
body: "body";
|
|
321
326
|
}>>;
|
|
322
327
|
interpretation: z.ZodOptional<z.ZodObject<{
|
|
323
328
|
transcript: z.ZodOptional<z.ZodObject<{
|
|
@@ -604,11 +609,6 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
604
609
|
widthPt: z.ZodOptional<z.ZodNumber>;
|
|
605
610
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
606
611
|
}, z.core.$strip>>;
|
|
607
|
-
rows: z.ZodArray<z.ZodObject<{
|
|
608
|
-
index: z.ZodNumber;
|
|
609
|
-
heightPt: z.ZodOptional<z.ZodNumber>;
|
|
610
|
-
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
611
|
-
}, z.core.$strip>>;
|
|
612
612
|
dataValidations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
613
613
|
ranges: z.ZodArray<z.ZodObject<{
|
|
614
614
|
startRow: z.ZodNumber;
|
|
@@ -617,11 +617,11 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
617
617
|
endColumn: z.ZodNumber;
|
|
618
618
|
}, z.core.$strip>>;
|
|
619
619
|
type: z.ZodEnum<{
|
|
620
|
+
time: "time";
|
|
620
621
|
date: "date";
|
|
621
622
|
custom: "custom";
|
|
622
623
|
decimal: "decimal";
|
|
623
624
|
list: "list";
|
|
624
|
-
time: "time";
|
|
625
625
|
whole: "whole";
|
|
626
626
|
textLength: "textLength";
|
|
627
627
|
}>;
|
|
@@ -1092,11 +1092,11 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
1092
1092
|
stops: z.ZodArray<z.ZodObject<{
|
|
1093
1093
|
value: z.ZodObject<{
|
|
1094
1094
|
type: z.ZodEnum<{
|
|
1095
|
-
formula: "formula";
|
|
1096
|
-
percent: "percent";
|
|
1097
1095
|
num: "num";
|
|
1098
|
-
max: "max";
|
|
1099
1096
|
min: "min";
|
|
1097
|
+
max: "max";
|
|
1098
|
+
formula: "formula";
|
|
1099
|
+
percent: "percent";
|
|
1100
1100
|
percentile: "percentile";
|
|
1101
1101
|
}>;
|
|
1102
1102
|
value: z.ZodOptional<z.ZodString>;
|
|
@@ -1139,22 +1139,22 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
1139
1139
|
}, z.core.$strip>, z.ZodObject<{
|
|
1140
1140
|
min: z.ZodObject<{
|
|
1141
1141
|
type: z.ZodEnum<{
|
|
1142
|
-
formula: "formula";
|
|
1143
|
-
percent: "percent";
|
|
1144
1142
|
num: "num";
|
|
1145
|
-
max: "max";
|
|
1146
1143
|
min: "min";
|
|
1144
|
+
max: "max";
|
|
1145
|
+
formula: "formula";
|
|
1146
|
+
percent: "percent";
|
|
1147
1147
|
percentile: "percentile";
|
|
1148
1148
|
}>;
|
|
1149
1149
|
value: z.ZodOptional<z.ZodString>;
|
|
1150
1150
|
}, z.core.$strip>;
|
|
1151
1151
|
max: z.ZodObject<{
|
|
1152
1152
|
type: z.ZodEnum<{
|
|
1153
|
-
formula: "formula";
|
|
1154
|
-
percent: "percent";
|
|
1155
1153
|
num: "num";
|
|
1156
|
-
max: "max";
|
|
1157
1154
|
min: "min";
|
|
1155
|
+
max: "max";
|
|
1156
|
+
formula: "formula";
|
|
1157
|
+
percent: "percent";
|
|
1158
1158
|
percentile: "percentile";
|
|
1159
1159
|
}>;
|
|
1160
1160
|
value: z.ZodOptional<z.ZodString>;
|
|
@@ -1198,11 +1198,11 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
1198
1198
|
iconSetType: z.ZodString;
|
|
1199
1199
|
thresholds: z.ZodArray<z.ZodObject<{
|
|
1200
1200
|
type: z.ZodEnum<{
|
|
1201
|
-
formula: "formula";
|
|
1202
|
-
percent: "percent";
|
|
1203
1201
|
num: "num";
|
|
1204
|
-
max: "max";
|
|
1205
1202
|
min: "min";
|
|
1203
|
+
max: "max";
|
|
1204
|
+
formula: "formula";
|
|
1205
|
+
percent: "percent";
|
|
1206
1206
|
percentile: "percentile";
|
|
1207
1207
|
}>;
|
|
1208
1208
|
value: z.ZodOptional<z.ZodString>;
|
|
@@ -1264,12 +1264,12 @@ declare const DrawPageDescriptorSchema: z.ZodObject<{
|
|
|
1264
1264
|
xml: z.ZodString;
|
|
1265
1265
|
}, z.core.$strict>>;
|
|
1266
1266
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
1267
|
+
body: "body";
|
|
1267
1268
|
chart: "chart";
|
|
1268
1269
|
diagram: "diagram";
|
|
1269
1270
|
table: "table";
|
|
1270
1271
|
image: "image";
|
|
1271
1272
|
notes: "notes";
|
|
1272
|
-
body: "body";
|
|
1273
1273
|
}>>;
|
|
1274
1274
|
interpretation: z.ZodOptional<z.ZodObject<{
|
|
1275
1275
|
transcript: z.ZodOptional<z.ZodObject<{
|
|
@@ -1298,6 +1298,7 @@ declare const DrawPageDescriptorSchema: z.ZodObject<{
|
|
|
1298
1298
|
}, z.core.$strict>;
|
|
1299
1299
|
type DrawPageDescriptor = z.infer<typeof DrawPageDescriptorSchema>;
|
|
1300
1300
|
declare const ShapeDescriptorSchema: z.ZodObject<{
|
|
1301
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1301
1302
|
source: z.ZodOptional<z.ZodObject<{
|
|
1302
1303
|
format: z.ZodEnum<{
|
|
1303
1304
|
docx: "docx";
|
|
@@ -1318,7 +1319,6 @@ declare const ShapeDescriptorSchema: z.ZodObject<{
|
|
|
1318
1319
|
}>;
|
|
1319
1320
|
xml: z.ZodString;
|
|
1320
1321
|
}, z.core.$strict>>;
|
|
1321
|
-
name: z.ZodOptional<z.ZodString>;
|
|
1322
1322
|
sourcePath: z.ZodOptional<z.ZodString>;
|
|
1323
1323
|
frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1324
1324
|
pageIndex: z.ZodNumber;
|
|
@@ -1328,12 +1328,12 @@ declare const ShapeDescriptorSchema: z.ZodObject<{
|
|
|
1328
1328
|
heightPt: z.ZodNumber;
|
|
1329
1329
|
}, z.core.$strip>>>;
|
|
1330
1330
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
1331
|
+
body: "body";
|
|
1331
1332
|
chart: "chart";
|
|
1332
1333
|
diagram: "diagram";
|
|
1333
1334
|
table: "table";
|
|
1334
1335
|
image: "image";
|
|
1335
1336
|
notes: "notes";
|
|
1336
|
-
body: "body";
|
|
1337
1337
|
}>>;
|
|
1338
1338
|
interpretation: z.ZodOptional<z.ZodObject<{
|
|
1339
1339
|
transcript: z.ZodOptional<z.ZodObject<{
|
|
@@ -1373,12 +1373,12 @@ declare const ShapeDescriptorSchema: z.ZodObject<{
|
|
|
1373
1373
|
type ShapeDescriptor = z.infer<typeof ShapeDescriptorSchema>;
|
|
1374
1374
|
declare const HeadingParagraphSchema: z.ZodObject<{
|
|
1375
1375
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
1376
|
+
body: "body";
|
|
1376
1377
|
chart: "chart";
|
|
1377
1378
|
diagram: "diagram";
|
|
1378
1379
|
table: "table";
|
|
1379
1380
|
image: "image";
|
|
1380
1381
|
notes: "notes";
|
|
1381
|
-
body: "body";
|
|
1382
1382
|
}>>;
|
|
1383
1383
|
interpretation: z.ZodOptional<z.ZodObject<{
|
|
1384
1384
|
transcript: z.ZodOptional<z.ZodObject<{
|
|
@@ -1402,12 +1402,12 @@ declare const HeadingParagraphSchema: z.ZodObject<{
|
|
|
1402
1402
|
kind: z.ZodLiteral<"paragraph">;
|
|
1403
1403
|
runs: z.ZodArray<z.ZodObject<{
|
|
1404
1404
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
1405
|
+
body: "body";
|
|
1405
1406
|
chart: "chart";
|
|
1406
1407
|
diagram: "diagram";
|
|
1407
1408
|
table: "table";
|
|
1408
1409
|
image: "image";
|
|
1409
1410
|
notes: "notes";
|
|
1410
|
-
body: "body";
|
|
1411
1411
|
}>>;
|
|
1412
1412
|
interpretation: z.ZodOptional<z.ZodObject<{
|
|
1413
1413
|
transcript: z.ZodOptional<z.ZodObject<{
|
|
@@ -1482,12 +1482,12 @@ declare const HeadingParagraphSchema: z.ZodObject<{
|
|
|
1482
1482
|
descriptor: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1483
1483
|
kind: z.ZodLiteral<"contentControl">;
|
|
1484
1484
|
controlType: z.ZodEnum<{
|
|
1485
|
+
date: "date";
|
|
1485
1486
|
richText: "richText";
|
|
1486
1487
|
plainText: "plainText";
|
|
1487
1488
|
checkbox: "checkbox";
|
|
1488
1489
|
dropDown: "dropDown";
|
|
1489
1490
|
comboBox: "comboBox";
|
|
1490
|
-
date: "date";
|
|
1491
1491
|
picture: "picture";
|
|
1492
1492
|
repeatingSection: "repeatingSection";
|
|
1493
1493
|
button: "button";
|
|
@@ -1551,10 +1551,10 @@ declare const HeadingParagraphSchema: z.ZodObject<{
|
|
|
1551
1551
|
}, z.core.$strict>, z.ZodObject<{
|
|
1552
1552
|
kind: z.ZodLiteral<"anchor">;
|
|
1553
1553
|
anchorType: z.ZodEnum<{
|
|
1554
|
+
comment: "comment";
|
|
1554
1555
|
bookmark: "bookmark";
|
|
1555
1556
|
footnote: "footnote";
|
|
1556
1557
|
endnote: "endnote";
|
|
1557
|
-
comment: "comment";
|
|
1558
1558
|
}>;
|
|
1559
1559
|
name: z.ZodString;
|
|
1560
1560
|
definition: z.ZodOptional<z.ZodString>;
|
|
@@ -1798,12 +1798,12 @@ declare const HeadingParagraphSchema: z.ZodObject<{
|
|
|
1798
1798
|
type HeadingParagraph = z.infer<typeof HeadingParagraphSchema>;
|
|
1799
1799
|
declare const ListParagraphSchema: z.ZodObject<{
|
|
1800
1800
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
1801
|
+
body: "body";
|
|
1801
1802
|
chart: "chart";
|
|
1802
1803
|
diagram: "diagram";
|
|
1803
1804
|
table: "table";
|
|
1804
1805
|
image: "image";
|
|
1805
1806
|
notes: "notes";
|
|
1806
|
-
body: "body";
|
|
1807
1807
|
}>>;
|
|
1808
1808
|
interpretation: z.ZodOptional<z.ZodObject<{
|
|
1809
1809
|
transcript: z.ZodOptional<z.ZodObject<{
|
|
@@ -1827,12 +1827,12 @@ declare const ListParagraphSchema: z.ZodObject<{
|
|
|
1827
1827
|
kind: z.ZodLiteral<"paragraph">;
|
|
1828
1828
|
runs: z.ZodArray<z.ZodObject<{
|
|
1829
1829
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
1830
|
+
body: "body";
|
|
1830
1831
|
chart: "chart";
|
|
1831
1832
|
diagram: "diagram";
|
|
1832
1833
|
table: "table";
|
|
1833
1834
|
image: "image";
|
|
1834
1835
|
notes: "notes";
|
|
1835
|
-
body: "body";
|
|
1836
1836
|
}>>;
|
|
1837
1837
|
interpretation: z.ZodOptional<z.ZodObject<{
|
|
1838
1838
|
transcript: z.ZodOptional<z.ZodObject<{
|
|
@@ -1907,12 +1907,12 @@ declare const ListParagraphSchema: z.ZodObject<{
|
|
|
1907
1907
|
descriptor: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1908
1908
|
kind: z.ZodLiteral<"contentControl">;
|
|
1909
1909
|
controlType: z.ZodEnum<{
|
|
1910
|
+
date: "date";
|
|
1910
1911
|
richText: "richText";
|
|
1911
1912
|
plainText: "plainText";
|
|
1912
1913
|
checkbox: "checkbox";
|
|
1913
1914
|
dropDown: "dropDown";
|
|
1914
1915
|
comboBox: "comboBox";
|
|
1915
|
-
date: "date";
|
|
1916
1916
|
picture: "picture";
|
|
1917
1917
|
repeatingSection: "repeatingSection";
|
|
1918
1918
|
button: "button";
|
|
@@ -1976,10 +1976,10 @@ declare const ListParagraphSchema: z.ZodObject<{
|
|
|
1976
1976
|
}, z.core.$strict>, z.ZodObject<{
|
|
1977
1977
|
kind: z.ZodLiteral<"anchor">;
|
|
1978
1978
|
anchorType: z.ZodEnum<{
|
|
1979
|
+
comment: "comment";
|
|
1979
1980
|
bookmark: "bookmark";
|
|
1980
1981
|
footnote: "footnote";
|
|
1981
1982
|
endnote: "endnote";
|
|
1982
|
-
comment: "comment";
|
|
1983
1983
|
}>;
|
|
1984
1984
|
name: z.ZodString;
|
|
1985
1985
|
definition: z.ZodOptional<z.ZodString>;
|