@segnavia/format 0.37.0 → 0.38.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/book-exports.d.ts +4 -0
- package/dist/book-section.d.ts +54 -3
- package/dist/book-section.js +70 -16
- package/dist/book.d.ts +741 -421
- package/dist/book.js +220 -37
- package/dist/dependency-policy.d.ts +12 -0
- package/dist/dependency-policy.js +42 -0
- package/dist/index.d.ts +46 -81
- package/dist/index.js +8 -5
- package/dist/local-font-limits.d.ts +15 -0
- package/dist/local-font-limits.js +24 -0
- package/dist/note-series.d.ts +70 -0
- package/dist/note-series.js +158 -0
- package/dist/paper.d.ts +1 -0
- package/dist/paper.js +2 -1
- package/dist/printed-pages.d.ts +14 -0
- package/dist/printed-pages.js +14 -1
- package/package.json +1 -1
package/dist/book.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { BookChapterEntry, BookContents, BookFrontMatterEntry, BookOpens, BookSection, BookSectionParents, BookTemplate, Chapter, DesignedPage, DesignedSection, REGION_NAME, TemplatedPage, TemplatedSection, isBookContents, isChapter, isDesignedSection, isTemplatedSection } from "./book-section.js";
|
|
1
|
+
import { BookChapterEntry, BookContents, BookDivision, BookDivisions, BookFrontMatterEntry, BookItem, BookOpens, BookSection, BookSectionEntry, BookSectionParents, BookTemplate, Chapter, DesignedPage, DesignedSection, MAX_PART_DEPTH, Part, REGION_NAME, TemplatedPage, TemplatedSection, bookSections, isBookContents, isChapter, isDesignedSection, isPart, isTemplatedSection } from "./book-section.js";
|
|
2
|
+
import { ResolvedNoteSeries } from "./note-series.js";
|
|
2
3
|
import { z } from "zod";
|
|
3
4
|
//#region src/book.d.ts
|
|
4
5
|
export declare const BookMode: z.ZodEnum<{
|
|
@@ -63,6 +64,8 @@ export declare const BookRunningHeadSource: z.ZodUnion<readonly [z.ZodLiteral<"t
|
|
|
63
64
|
first: "first";
|
|
64
65
|
last: "last";
|
|
65
66
|
}>;
|
|
67
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
68
|
+
part: z.ZodString;
|
|
66
69
|
}, z.core.$strip>]>;
|
|
67
70
|
export type BookRunningHeadSource = z.infer<typeof BookRunningHeadSource>;
|
|
68
71
|
export declare const BookRunningHead: z.ZodObject<{
|
|
@@ -72,6 +75,8 @@ export declare const BookRunningHead: z.ZodObject<{
|
|
|
72
75
|
first: "first";
|
|
73
76
|
last: "last";
|
|
74
77
|
}>;
|
|
78
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
79
|
+
part: z.ZodString;
|
|
75
80
|
}, z.core.$strip>]>>;
|
|
76
81
|
verso: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"title">, z.ZodObject<{
|
|
77
82
|
mark: z.ZodString;
|
|
@@ -79,176 +84,15 @@ export declare const BookRunningHead: z.ZodObject<{
|
|
|
79
84
|
first: "first";
|
|
80
85
|
last: "last";
|
|
81
86
|
}>;
|
|
87
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
88
|
+
part: z.ZodString;
|
|
82
89
|
}, z.core.$strip>]>>;
|
|
83
90
|
}, z.core.$strip>;
|
|
84
91
|
export type BookRunningHead = z.infer<typeof BookRunningHead>;
|
|
85
|
-
export declare const
|
|
86
|
-
paper: z.ZodObject<{
|
|
87
|
-
width: z.ZodNumber;
|
|
88
|
-
height: z.ZodNumber;
|
|
89
|
-
}, z.core.$strip>;
|
|
90
|
-
margin: z.ZodObject<{
|
|
91
|
-
top: z.ZodNumber;
|
|
92
|
-
bottom: z.ZodNumber;
|
|
93
|
-
inner: z.ZodNumber;
|
|
94
|
-
outer: z.ZodNumber;
|
|
95
|
-
}, z.core.$strip>;
|
|
96
|
-
columnGap: z.ZodNumber;
|
|
97
|
-
direction: z.ZodEnum<{
|
|
98
|
-
ltr: "ltr";
|
|
99
|
-
rtl: "rtl";
|
|
100
|
-
}>;
|
|
101
|
-
numbering: z.ZodObject<{
|
|
102
|
-
frontMatter: z.ZodEnum<{
|
|
103
|
-
arabic: "arabic";
|
|
104
|
-
"roman-lower": "roman-lower";
|
|
105
|
-
"roman-upper": "roman-upper";
|
|
106
|
-
hebrew: "hebrew";
|
|
107
|
-
}>;
|
|
108
|
-
body: z.ZodEnum<{
|
|
109
|
-
arabic: "arabic";
|
|
110
|
-
"roman-lower": "roman-lower";
|
|
111
|
-
"roman-upper": "roman-upper";
|
|
112
|
-
hebrew: "hebrew";
|
|
113
|
-
}>;
|
|
114
|
-
}, z.core.$strip>;
|
|
115
|
-
rectoOpenings: z.ZodBoolean;
|
|
116
|
-
orphans: z.ZodNumber;
|
|
117
|
-
widows: z.ZodNumber;
|
|
118
|
-
parents: z.ZodArray<z.ZodObject<{
|
|
119
|
-
name: z.ZodString;
|
|
120
|
-
basedOn: z.ZodOptional<z.ZodString>;
|
|
121
|
-
margin: z.ZodOptional<z.ZodObject<{
|
|
122
|
-
top: z.ZodNumber;
|
|
123
|
-
bottom: z.ZodNumber;
|
|
124
|
-
inner: z.ZodNumber;
|
|
125
|
-
outer: z.ZodNumber;
|
|
126
|
-
}, z.core.$strip>>;
|
|
127
|
-
head: z.ZodOptional<z.ZodString>;
|
|
128
|
-
foot: z.ZodOptional<z.ZodString>;
|
|
129
|
-
}, z.core.$strip>>;
|
|
130
|
-
endnotePlacement: z.ZodEnum<{
|
|
131
|
-
chapter: "chapter";
|
|
132
|
-
book: "book";
|
|
133
|
-
}>;
|
|
134
|
-
contents: z.ZodObject<{
|
|
135
|
-
pageNumbers: z.ZodBoolean;
|
|
136
|
-
depth: z.ZodNumber;
|
|
137
|
-
}, z.core.$strip>;
|
|
138
|
-
runningHead: z.ZodObject<{
|
|
139
|
-
recto: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"title">, z.ZodObject<{
|
|
140
|
-
mark: z.ZodString;
|
|
141
|
-
which: z.ZodEnum<{
|
|
142
|
-
first: "first";
|
|
143
|
-
last: "last";
|
|
144
|
-
}>;
|
|
145
|
-
}, z.core.$strip>]>>;
|
|
146
|
-
verso: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"title">, z.ZodObject<{
|
|
147
|
-
mark: z.ZodString;
|
|
148
|
-
which: z.ZodEnum<{
|
|
149
|
-
first: "first";
|
|
150
|
-
last: "last";
|
|
151
|
-
}>;
|
|
152
|
-
}, z.core.$strip>]>>;
|
|
153
|
-
}, z.core.$strip>;
|
|
154
|
-
}, z.core.$strip>;
|
|
155
|
-
export type BookViewPagination = z.infer<typeof BookViewPagination>;
|
|
156
|
-
export declare const BookView: z.ZodObject<{
|
|
157
|
-
dir: z.ZodOptional<z.ZodEnum<{
|
|
158
|
-
ltr: "ltr";
|
|
159
|
-
rtl: "rtl";
|
|
160
|
-
auto: "auto";
|
|
161
|
-
}>>;
|
|
162
|
-
scripts: z.ZodDefault<z.ZodEnum<{
|
|
163
|
-
refuse: "refuse";
|
|
164
|
-
sandboxed: "sandboxed";
|
|
165
|
-
}>>;
|
|
166
|
-
lang: z.ZodOptional<z.ZodString>;
|
|
167
|
-
fonts: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
168
|
-
app: z.ZodString;
|
|
169
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
170
|
-
local: z.ZodString;
|
|
171
|
-
fallback: z.ZodString;
|
|
172
|
-
}, z.core.$strip>]>>>;
|
|
173
|
-
css: z.ZodOptional<z.ZodString>;
|
|
174
|
-
title: z.ZodOptional<z.ZodString>;
|
|
175
|
-
html: z.ZodString;
|
|
176
|
-
flow: z.ZodOptional<z.ZodString>;
|
|
177
|
-
pagination: z.ZodOptional<z.ZodObject<{
|
|
178
|
-
paper: z.ZodObject<{
|
|
179
|
-
width: z.ZodNumber;
|
|
180
|
-
height: z.ZodNumber;
|
|
181
|
-
}, z.core.$strip>;
|
|
182
|
-
margin: z.ZodObject<{
|
|
183
|
-
top: z.ZodNumber;
|
|
184
|
-
bottom: z.ZodNumber;
|
|
185
|
-
inner: z.ZodNumber;
|
|
186
|
-
outer: z.ZodNumber;
|
|
187
|
-
}, z.core.$strip>;
|
|
188
|
-
columnGap: z.ZodNumber;
|
|
189
|
-
direction: z.ZodEnum<{
|
|
190
|
-
ltr: "ltr";
|
|
191
|
-
rtl: "rtl";
|
|
192
|
-
}>;
|
|
193
|
-
numbering: z.ZodObject<{
|
|
194
|
-
frontMatter: z.ZodEnum<{
|
|
195
|
-
arabic: "arabic";
|
|
196
|
-
"roman-lower": "roman-lower";
|
|
197
|
-
"roman-upper": "roman-upper";
|
|
198
|
-
hebrew: "hebrew";
|
|
199
|
-
}>;
|
|
200
|
-
body: z.ZodEnum<{
|
|
201
|
-
arabic: "arabic";
|
|
202
|
-
"roman-lower": "roman-lower";
|
|
203
|
-
"roman-upper": "roman-upper";
|
|
204
|
-
hebrew: "hebrew";
|
|
205
|
-
}>;
|
|
206
|
-
}, z.core.$strip>;
|
|
207
|
-
rectoOpenings: z.ZodBoolean;
|
|
208
|
-
orphans: z.ZodNumber;
|
|
209
|
-
widows: z.ZodNumber;
|
|
210
|
-
parents: z.ZodArray<z.ZodObject<{
|
|
211
|
-
name: z.ZodString;
|
|
212
|
-
basedOn: z.ZodOptional<z.ZodString>;
|
|
213
|
-
margin: z.ZodOptional<z.ZodObject<{
|
|
214
|
-
top: z.ZodNumber;
|
|
215
|
-
bottom: z.ZodNumber;
|
|
216
|
-
inner: z.ZodNumber;
|
|
217
|
-
outer: z.ZodNumber;
|
|
218
|
-
}, z.core.$strip>>;
|
|
219
|
-
head: z.ZodOptional<z.ZodString>;
|
|
220
|
-
foot: z.ZodOptional<z.ZodString>;
|
|
221
|
-
}, z.core.$strip>>;
|
|
222
|
-
endnotePlacement: z.ZodEnum<{
|
|
223
|
-
chapter: "chapter";
|
|
224
|
-
book: "book";
|
|
225
|
-
}>;
|
|
226
|
-
contents: z.ZodObject<{
|
|
227
|
-
pageNumbers: z.ZodBoolean;
|
|
228
|
-
depth: z.ZodNumber;
|
|
229
|
-
}, z.core.$strip>;
|
|
230
|
-
runningHead: z.ZodObject<{
|
|
231
|
-
recto: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"title">, z.ZodObject<{
|
|
232
|
-
mark: z.ZodString;
|
|
233
|
-
which: z.ZodEnum<{
|
|
234
|
-
first: "first";
|
|
235
|
-
last: "last";
|
|
236
|
-
}>;
|
|
237
|
-
}, z.core.$strip>]>>;
|
|
238
|
-
verso: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"title">, z.ZodObject<{
|
|
239
|
-
mark: z.ZodString;
|
|
240
|
-
which: z.ZodEnum<{
|
|
241
|
-
first: "first";
|
|
242
|
-
last: "last";
|
|
243
|
-
}>;
|
|
244
|
-
}, z.core.$strip>]>>;
|
|
245
|
-
}, z.core.$strip>;
|
|
246
|
-
}, z.core.$strip>>;
|
|
247
|
-
}, z.core.$strip>;
|
|
248
|
-
export type BookView = z.infer<typeof BookView>;
|
|
249
|
-
export type BookViewInput = z.input<typeof BookView>;
|
|
250
|
-
export declare const Book: z.ZodPipe<z.ZodObject<{
|
|
92
|
+
export declare const BookShape: z.ZodObject<{
|
|
251
93
|
title: z.ZodString;
|
|
94
|
+
authors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
95
|
+
subject: z.ZodOptional<z.ZodString>;
|
|
252
96
|
mode: z.ZodEnum<{
|
|
253
97
|
continuous: "continuous";
|
|
254
98
|
paginated: "paginated";
|
|
@@ -313,80 +157,10 @@ export declare const Book: z.ZodPipe<z.ZodObject<{
|
|
|
313
157
|
auto: "auto";
|
|
314
158
|
}>>;
|
|
315
159
|
lang: z.ZodOptional<z.ZodString>;
|
|
316
|
-
frontMatter: z.ZodDefault<z.ZodArray<z.
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
title: z.ZodOptional<z.ZodString>;
|
|
321
|
-
contents: z.ZodDefault<z.ZodBoolean>;
|
|
322
|
-
opens: z.ZodOptional<z.ZodEnum<{
|
|
323
|
-
any: "any";
|
|
324
|
-
recto: "recto";
|
|
325
|
-
verso: "verso";
|
|
326
|
-
}>>;
|
|
327
|
-
parents: z.ZodOptional<z.ZodObject<{
|
|
328
|
-
opener: z.ZodOptional<z.ZodString>;
|
|
329
|
-
recto: z.ZodOptional<z.ZodString>;
|
|
330
|
-
verso: z.ZodOptional<z.ZodString>;
|
|
331
|
-
blank: z.ZodOptional<z.ZodString>;
|
|
332
|
-
fixed: z.ZodOptional<z.ZodString>;
|
|
333
|
-
}, z.core.$strip>>;
|
|
334
|
-
kind: z.ZodLiteral<"designed">;
|
|
335
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
336
|
-
template: z.ZodString;
|
|
337
|
-
pages: z.ZodArray<z.ZodObject<{
|
|
338
|
-
template: z.ZodOptional<z.ZodString>;
|
|
339
|
-
regions: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
340
|
-
}, z.core.$strip>>;
|
|
341
|
-
title: z.ZodOptional<z.ZodString>;
|
|
342
|
-
contents: z.ZodDefault<z.ZodBoolean>;
|
|
343
|
-
opens: z.ZodOptional<z.ZodEnum<{
|
|
344
|
-
any: "any";
|
|
345
|
-
recto: "recto";
|
|
346
|
-
verso: "verso";
|
|
347
|
-
}>>;
|
|
348
|
-
parents: z.ZodOptional<z.ZodObject<{
|
|
349
|
-
opener: z.ZodOptional<z.ZodString>;
|
|
350
|
-
recto: z.ZodOptional<z.ZodString>;
|
|
351
|
-
verso: z.ZodOptional<z.ZodString>;
|
|
352
|
-
blank: z.ZodOptional<z.ZodString>;
|
|
353
|
-
fixed: z.ZodOptional<z.ZodString>;
|
|
354
|
-
}, z.core.$strip>>;
|
|
355
|
-
kind: z.ZodLiteral<"templated">;
|
|
356
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
357
|
-
kind: z.ZodLiteral<"contents">;
|
|
358
|
-
title: z.ZodOptional<z.ZodString>;
|
|
359
|
-
opens: z.ZodOptional<z.ZodEnum<{
|
|
360
|
-
any: "any";
|
|
361
|
-
recto: "recto";
|
|
362
|
-
verso: "verso";
|
|
363
|
-
}>>;
|
|
364
|
-
parents: z.ZodOptional<z.ZodObject<{
|
|
365
|
-
opener: z.ZodOptional<z.ZodString>;
|
|
366
|
-
recto: z.ZodOptional<z.ZodString>;
|
|
367
|
-
verso: z.ZodOptional<z.ZodString>;
|
|
368
|
-
blank: z.ZodOptional<z.ZodString>;
|
|
369
|
-
fixed: z.ZodOptional<z.ZodString>;
|
|
370
|
-
}, z.core.$strip>>;
|
|
371
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
372
|
-
title: z.ZodOptional<z.ZodString>;
|
|
373
|
-
contents: z.ZodDefault<z.ZodBoolean>;
|
|
374
|
-
opens: z.ZodOptional<z.ZodEnum<{
|
|
375
|
-
any: "any";
|
|
376
|
-
recto: "recto";
|
|
377
|
-
verso: "verso";
|
|
378
|
-
}>>;
|
|
379
|
-
parents: z.ZodOptional<z.ZodObject<{
|
|
380
|
-
opener: z.ZodOptional<z.ZodString>;
|
|
381
|
-
recto: z.ZodOptional<z.ZodString>;
|
|
382
|
-
verso: z.ZodOptional<z.ZodString>;
|
|
383
|
-
blank: z.ZodOptional<z.ZodString>;
|
|
384
|
-
fixed: z.ZodOptional<z.ZodString>;
|
|
385
|
-
}, z.core.$strip>>;
|
|
386
|
-
html: z.ZodString;
|
|
387
|
-
kind: z.ZodOptional<z.ZodLiteral<"front">>;
|
|
388
|
-
}, z.core.$strip>], "kind">>>;
|
|
389
|
-
chapters: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
160
|
+
frontMatter: z.ZodDefault<z.ZodArray<z.ZodType<BookItem, unknown, z.core.$ZodTypeInternals<BookItem, unknown>>>>;
|
|
161
|
+
body: z.ZodOptional<z.ZodArray<z.ZodType<BookItem, unknown, z.core.$ZodTypeInternals<BookItem, unknown>>>>;
|
|
162
|
+
endMatter: z.ZodDefault<z.ZodArray<z.ZodType<BookItem, unknown, z.core.$ZodTypeInternals<BookItem, unknown>>>>;
|
|
163
|
+
chapters: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
390
164
|
pages: z.ZodArray<z.ZodObject<{
|
|
391
165
|
html: z.ZodString;
|
|
392
166
|
}, z.core.$strip>>;
|
|
@@ -443,7 +217,7 @@ export declare const Book: z.ZodPipe<z.ZodObject<{
|
|
|
443
217
|
fixed: z.ZodOptional<z.ZodString>;
|
|
444
218
|
}, z.core.$strip>>;
|
|
445
219
|
kind: z.ZodOptional<z.ZodLiteral<"chapter">>;
|
|
446
|
-
}, z.core.$strip>], "kind"
|
|
220
|
+
}, z.core.$strip>], "kind">>>;
|
|
447
221
|
parentPages: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
448
222
|
name: z.ZodString;
|
|
449
223
|
basedOn: z.ZodOptional<z.ZodString>;
|
|
@@ -550,6 +324,27 @@ export declare const Book: z.ZodPipe<z.ZodObject<{
|
|
|
550
324
|
}>>;
|
|
551
325
|
title: z.ZodOptional<z.ZodString>;
|
|
552
326
|
}, z.core.$strip>>;
|
|
327
|
+
notes: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
328
|
+
name: z.ZodString;
|
|
329
|
+
placement: z.ZodOptional<z.ZodEnum<{
|
|
330
|
+
page: "page";
|
|
331
|
+
chapter: "chapter";
|
|
332
|
+
book: "book";
|
|
333
|
+
part: "part";
|
|
334
|
+
}>>;
|
|
335
|
+
numbering: z.ZodOptional<z.ZodEnum<{
|
|
336
|
+
chapter: "chapter";
|
|
337
|
+
book: "book";
|
|
338
|
+
part: "part";
|
|
339
|
+
}>>;
|
|
340
|
+
marker: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
341
|
+
arabic: "arabic";
|
|
342
|
+
"roman-lower": "roman-lower";
|
|
343
|
+
"roman-upper": "roman-upper";
|
|
344
|
+
hebrew: "hebrew";
|
|
345
|
+
}>, z.ZodLiteral<"symbols">]>>;
|
|
346
|
+
title: z.ZodOptional<z.ZodString>;
|
|
347
|
+
}, z.core.$strip>>>;
|
|
553
348
|
rectoOpenings: z.ZodDefault<z.ZodBoolean>;
|
|
554
349
|
orphans: z.ZodDefault<z.ZodNumber>;
|
|
555
350
|
widows: z.ZodDefault<z.ZodNumber>;
|
|
@@ -560,6 +355,8 @@ export declare const Book: z.ZodPipe<z.ZodObject<{
|
|
|
560
355
|
first: "first";
|
|
561
356
|
last: "last";
|
|
562
357
|
}>;
|
|
358
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
359
|
+
part: z.ZodString;
|
|
563
360
|
}, z.core.$strip>]>>;
|
|
564
361
|
verso: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"title">, z.ZodObject<{
|
|
565
362
|
mark: z.ZodString;
|
|
@@ -567,132 +364,493 @@ export declare const Book: z.ZodPipe<z.ZodObject<{
|
|
|
567
364
|
first: "first";
|
|
568
365
|
last: "last";
|
|
569
366
|
}>;
|
|
367
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
368
|
+
part: z.ZodString;
|
|
570
369
|
}, z.core.$strip>]>>;
|
|
571
370
|
}, z.core.$strip>>;
|
|
572
371
|
contents: z.ZodDefault<z.ZodObject<{
|
|
573
372
|
pageNumbers: z.ZodDefault<z.ZodBoolean>;
|
|
574
373
|
depth: z.ZodDefault<z.ZodNumber>;
|
|
575
374
|
}, z.core.$strip>>;
|
|
576
|
-
}, z.core.$strip
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
}
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
}
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
}
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
375
|
+
}, z.core.$strip>;
|
|
376
|
+
export declare const BookViewPagination: z.ZodObject<{
|
|
377
|
+
paper: z.ZodObject<{
|
|
378
|
+
width: z.ZodNumber;
|
|
379
|
+
height: z.ZodNumber;
|
|
380
|
+
}, z.core.$strip>;
|
|
381
|
+
margin: z.ZodObject<{
|
|
382
|
+
top: z.ZodNumber;
|
|
383
|
+
bottom: z.ZodNumber;
|
|
384
|
+
inner: z.ZodNumber;
|
|
385
|
+
outer: z.ZodNumber;
|
|
386
|
+
}, z.core.$strip>;
|
|
387
|
+
columnGap: z.ZodNumber;
|
|
388
|
+
direction: z.ZodEnum<{
|
|
389
|
+
ltr: "ltr";
|
|
390
|
+
rtl: "rtl";
|
|
391
|
+
}>;
|
|
392
|
+
numbering: z.ZodObject<{
|
|
393
|
+
frontMatter: z.ZodEnum<{
|
|
394
|
+
arabic: "arabic";
|
|
395
|
+
"roman-lower": "roman-lower";
|
|
396
|
+
"roman-upper": "roman-upper";
|
|
397
|
+
hebrew: "hebrew";
|
|
398
|
+
}>;
|
|
399
|
+
body: z.ZodEnum<{
|
|
400
|
+
arabic: "arabic";
|
|
401
|
+
"roman-lower": "roman-lower";
|
|
402
|
+
"roman-upper": "roman-upper";
|
|
403
|
+
hebrew: "hebrew";
|
|
404
|
+
}>;
|
|
405
|
+
}, z.core.$strip>;
|
|
406
|
+
rectoOpenings: z.ZodBoolean;
|
|
407
|
+
orphans: z.ZodNumber;
|
|
408
|
+
widows: z.ZodNumber;
|
|
409
|
+
parents: z.ZodArray<z.ZodObject<{
|
|
410
|
+
name: z.ZodString;
|
|
411
|
+
basedOn: z.ZodOptional<z.ZodString>;
|
|
412
|
+
margin: z.ZodOptional<z.ZodObject<{
|
|
413
|
+
top: z.ZodNumber;
|
|
414
|
+
bottom: z.ZodNumber;
|
|
415
|
+
inner: z.ZodNumber;
|
|
416
|
+
outer: z.ZodNumber;
|
|
417
|
+
}, z.core.$strip>>;
|
|
418
|
+
head: z.ZodOptional<z.ZodString>;
|
|
419
|
+
foot: z.ZodOptional<z.ZodString>;
|
|
420
|
+
}, z.core.$strip>>;
|
|
421
|
+
endnotePlacement: z.ZodEnum<{
|
|
422
|
+
chapter: "chapter";
|
|
423
|
+
book: "book";
|
|
424
|
+
}>;
|
|
425
|
+
contents: z.ZodObject<{
|
|
426
|
+
pageNumbers: z.ZodBoolean;
|
|
427
|
+
depth: z.ZodNumber;
|
|
428
|
+
}, z.core.$strip>;
|
|
429
|
+
runningHead: z.ZodObject<{
|
|
430
|
+
recto: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"title">, z.ZodObject<{
|
|
431
|
+
mark: z.ZodString;
|
|
432
|
+
which: z.ZodEnum<{
|
|
433
|
+
first: "first";
|
|
434
|
+
last: "last";
|
|
435
|
+
}>;
|
|
436
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
437
|
+
part: z.ZodString;
|
|
438
|
+
}, z.core.$strip>]>>;
|
|
439
|
+
verso: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"title">, z.ZodObject<{
|
|
440
|
+
mark: z.ZodString;
|
|
441
|
+
which: z.ZodEnum<{
|
|
442
|
+
first: "first";
|
|
443
|
+
last: "last";
|
|
444
|
+
}>;
|
|
445
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
446
|
+
part: z.ZodString;
|
|
447
|
+
}, z.core.$strip>]>>;
|
|
448
|
+
}, z.core.$strip>;
|
|
449
|
+
}, z.core.$strip>;
|
|
450
|
+
export type BookViewPagination = z.infer<typeof BookViewPagination>;
|
|
451
|
+
export declare const BookView: z.ZodObject<{
|
|
452
|
+
dir: z.ZodOptional<z.ZodEnum<{
|
|
453
|
+
ltr: "ltr";
|
|
454
|
+
rtl: "rtl";
|
|
455
|
+
auto: "auto";
|
|
456
|
+
}>>;
|
|
457
|
+
scripts: z.ZodDefault<z.ZodEnum<{
|
|
458
|
+
refuse: "refuse";
|
|
459
|
+
sandboxed: "sandboxed";
|
|
460
|
+
}>>;
|
|
461
|
+
lang: z.ZodOptional<z.ZodString>;
|
|
462
|
+
fonts: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
463
|
+
app: z.ZodString;
|
|
464
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
465
|
+
local: z.ZodString;
|
|
466
|
+
fallback: z.ZodString;
|
|
467
|
+
}, z.core.$strip>]>>>;
|
|
468
|
+
css: z.ZodOptional<z.ZodString>;
|
|
469
|
+
title: z.ZodOptional<z.ZodString>;
|
|
470
|
+
html: z.ZodString;
|
|
471
|
+
flow: z.ZodOptional<z.ZodString>;
|
|
472
|
+
pagination: z.ZodOptional<z.ZodObject<{
|
|
473
|
+
paper: z.ZodObject<{
|
|
474
|
+
width: z.ZodNumber;
|
|
475
|
+
height: z.ZodNumber;
|
|
476
|
+
}, z.core.$strip>;
|
|
477
|
+
margin: z.ZodObject<{
|
|
478
|
+
top: z.ZodNumber;
|
|
479
|
+
bottom: z.ZodNumber;
|
|
480
|
+
inner: z.ZodNumber;
|
|
481
|
+
outer: z.ZodNumber;
|
|
482
|
+
}, z.core.$strip>;
|
|
483
|
+
columnGap: z.ZodNumber;
|
|
484
|
+
direction: z.ZodEnum<{
|
|
485
|
+
ltr: "ltr";
|
|
486
|
+
rtl: "rtl";
|
|
487
|
+
}>;
|
|
488
|
+
numbering: z.ZodObject<{
|
|
489
|
+
frontMatter: z.ZodEnum<{
|
|
490
|
+
arabic: "arabic";
|
|
491
|
+
"roman-lower": "roman-lower";
|
|
492
|
+
"roman-upper": "roman-upper";
|
|
493
|
+
hebrew: "hebrew";
|
|
494
|
+
}>;
|
|
495
|
+
body: z.ZodEnum<{
|
|
496
|
+
arabic: "arabic";
|
|
497
|
+
"roman-lower": "roman-lower";
|
|
498
|
+
"roman-upper": "roman-upper";
|
|
499
|
+
hebrew: "hebrew";
|
|
500
|
+
}>;
|
|
501
|
+
}, z.core.$strip>;
|
|
502
|
+
rectoOpenings: z.ZodBoolean;
|
|
503
|
+
orphans: z.ZodNumber;
|
|
504
|
+
widows: z.ZodNumber;
|
|
505
|
+
parents: z.ZodArray<z.ZodObject<{
|
|
506
|
+
name: z.ZodString;
|
|
507
|
+
basedOn: z.ZodOptional<z.ZodString>;
|
|
508
|
+
margin: z.ZodOptional<z.ZodObject<{
|
|
509
|
+
top: z.ZodNumber;
|
|
510
|
+
bottom: z.ZodNumber;
|
|
511
|
+
inner: z.ZodNumber;
|
|
512
|
+
outer: z.ZodNumber;
|
|
513
|
+
}, z.core.$strip>>;
|
|
514
|
+
head: z.ZodOptional<z.ZodString>;
|
|
515
|
+
foot: z.ZodOptional<z.ZodString>;
|
|
516
|
+
}, z.core.$strip>>;
|
|
517
|
+
endnotePlacement: z.ZodEnum<{
|
|
518
|
+
chapter: "chapter";
|
|
519
|
+
book: "book";
|
|
520
|
+
}>;
|
|
521
|
+
contents: z.ZodObject<{
|
|
522
|
+
pageNumbers: z.ZodBoolean;
|
|
523
|
+
depth: z.ZodNumber;
|
|
524
|
+
}, z.core.$strip>;
|
|
525
|
+
runningHead: z.ZodObject<{
|
|
526
|
+
recto: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"title">, z.ZodObject<{
|
|
527
|
+
mark: z.ZodString;
|
|
528
|
+
which: z.ZodEnum<{
|
|
529
|
+
first: "first";
|
|
530
|
+
last: "last";
|
|
531
|
+
}>;
|
|
532
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
533
|
+
part: z.ZodString;
|
|
534
|
+
}, z.core.$strip>]>>;
|
|
535
|
+
verso: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"title">, z.ZodObject<{
|
|
536
|
+
mark: z.ZodString;
|
|
537
|
+
which: z.ZodEnum<{
|
|
538
|
+
first: "first";
|
|
539
|
+
last: "last";
|
|
540
|
+
}>;
|
|
541
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
542
|
+
part: z.ZodString;
|
|
543
|
+
}, z.core.$strip>]>>;
|
|
544
|
+
}, z.core.$strip>;
|
|
545
|
+
}, z.core.$strip>>;
|
|
546
|
+
}, z.core.$strip>;
|
|
547
|
+
export type BookView = z.infer<typeof BookView>;
|
|
548
|
+
export type BookViewInput = z.input<typeof BookView>;
|
|
549
|
+
export declare const Book: z.ZodPipe<z.ZodPreprocess<z.ZodPipe<z.ZodObject<{
|
|
550
|
+
title: z.ZodString;
|
|
551
|
+
authors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
552
|
+
subject: z.ZodOptional<z.ZodString>;
|
|
553
|
+
mode: z.ZodEnum<{
|
|
554
|
+
continuous: "continuous";
|
|
555
|
+
paginated: "paginated";
|
|
556
|
+
}>;
|
|
557
|
+
page: z.ZodOptional<z.ZodObject<{
|
|
558
|
+
paper: z.ZodUnion<readonly [z.ZodEnum<{
|
|
559
|
+
letter: "letter";
|
|
560
|
+
legal: "legal";
|
|
561
|
+
tabloid: "tabloid";
|
|
562
|
+
a3: "a3";
|
|
563
|
+
a4: "a4";
|
|
564
|
+
a5: "a5";
|
|
565
|
+
"business-card-us": "business-card-us";
|
|
566
|
+
"business-card-eu": "business-card-eu";
|
|
567
|
+
"business-card-square-us": "business-card-square-us";
|
|
568
|
+
"business-card-slim-us": "business-card-slim-us";
|
|
569
|
+
"postcard-4x6": "postcard-4x6";
|
|
570
|
+
"postcard-5x7": "postcard-5x7";
|
|
571
|
+
"postcard-6x9": "postcard-6x9";
|
|
572
|
+
"postcard-6x11": "postcard-6x11";
|
|
573
|
+
"card-square-4in": "card-square-4in";
|
|
574
|
+
"half-letter": "half-letter";
|
|
575
|
+
a6: "a6";
|
|
576
|
+
dl: "dl";
|
|
577
|
+
"rack-card-4x9": "rack-card-4x9";
|
|
578
|
+
"rack-card-3.5x8.5": "rack-card-3.5x8.5";
|
|
579
|
+
"poster-12x18": "poster-12x18";
|
|
580
|
+
"poster-16x20": "poster-16x20";
|
|
581
|
+
"poster-18x24": "poster-18x24";
|
|
582
|
+
"poster-24x36": "poster-24x36";
|
|
583
|
+
a2: "a2";
|
|
584
|
+
a1: "a1";
|
|
585
|
+
a0: "a0";
|
|
586
|
+
}>, z.ZodObject<{
|
|
587
|
+
width: z.ZodNumber;
|
|
588
|
+
height: z.ZodNumber;
|
|
589
|
+
unit: z.ZodEnum<{
|
|
590
|
+
mm: "mm";
|
|
591
|
+
in: "in";
|
|
592
|
+
pt: "pt";
|
|
593
|
+
}>;
|
|
594
|
+
}, z.core.$strip>]>;
|
|
595
|
+
orientation: z.ZodDefault<z.ZodEnum<{
|
|
596
|
+
portrait: "portrait";
|
|
597
|
+
landscape: "landscape";
|
|
598
|
+
}>>;
|
|
599
|
+
margin: z.ZodObject<{
|
|
600
|
+
top: z.ZodNumber;
|
|
601
|
+
bottom: z.ZodNumber;
|
|
602
|
+
inner: z.ZodNumber;
|
|
603
|
+
outer: z.ZodNumber;
|
|
604
|
+
}, z.core.$strip>;
|
|
605
|
+
columnGap: z.ZodDefault<z.ZodNumber>;
|
|
606
|
+
}, z.core.$strip>>;
|
|
607
|
+
scripts: z.ZodDefault<z.ZodEnum<{
|
|
608
|
+
refuse: "refuse";
|
|
609
|
+
sandboxed: "sandboxed";
|
|
610
|
+
}>>;
|
|
611
|
+
dir: z.ZodOptional<z.ZodEnum<{
|
|
612
|
+
ltr: "ltr";
|
|
613
|
+
rtl: "rtl";
|
|
614
|
+
auto: "auto";
|
|
615
|
+
}>>;
|
|
616
|
+
lang: z.ZodOptional<z.ZodString>;
|
|
617
|
+
frontMatter: z.ZodDefault<z.ZodArray<z.ZodType<BookItem, unknown, z.core.$ZodTypeInternals<BookItem, unknown>>>>;
|
|
618
|
+
body: z.ZodOptional<z.ZodArray<z.ZodType<BookItem, unknown, z.core.$ZodTypeInternals<BookItem, unknown>>>>;
|
|
619
|
+
endMatter: z.ZodDefault<z.ZodArray<z.ZodType<BookItem, unknown, z.core.$ZodTypeInternals<BookItem, unknown>>>>;
|
|
620
|
+
chapters: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
621
|
+
pages: z.ZodArray<z.ZodObject<{
|
|
622
|
+
html: z.ZodString;
|
|
623
|
+
}, z.core.$strip>>;
|
|
624
|
+
title: z.ZodOptional<z.ZodString>;
|
|
625
|
+
contents: z.ZodDefault<z.ZodBoolean>;
|
|
626
|
+
opens: z.ZodOptional<z.ZodEnum<{
|
|
627
|
+
any: "any";
|
|
628
|
+
recto: "recto";
|
|
629
|
+
verso: "verso";
|
|
630
|
+
}>>;
|
|
631
|
+
parents: z.ZodOptional<z.ZodObject<{
|
|
632
|
+
opener: z.ZodOptional<z.ZodString>;
|
|
633
|
+
recto: z.ZodOptional<z.ZodString>;
|
|
634
|
+
verso: z.ZodOptional<z.ZodString>;
|
|
635
|
+
blank: z.ZodOptional<z.ZodString>;
|
|
636
|
+
fixed: z.ZodOptional<z.ZodString>;
|
|
637
|
+
}, z.core.$strip>>;
|
|
638
|
+
kind: z.ZodLiteral<"designed">;
|
|
639
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
640
|
+
template: z.ZodString;
|
|
641
|
+
pages: z.ZodArray<z.ZodObject<{
|
|
642
|
+
template: z.ZodOptional<z.ZodString>;
|
|
643
|
+
regions: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
644
|
+
}, z.core.$strip>>;
|
|
645
|
+
title: z.ZodOptional<z.ZodString>;
|
|
646
|
+
contents: z.ZodDefault<z.ZodBoolean>;
|
|
647
|
+
opens: z.ZodOptional<z.ZodEnum<{
|
|
648
|
+
any: "any";
|
|
649
|
+
recto: "recto";
|
|
650
|
+
verso: "verso";
|
|
651
|
+
}>>;
|
|
652
|
+
parents: z.ZodOptional<z.ZodObject<{
|
|
653
|
+
opener: z.ZodOptional<z.ZodString>;
|
|
654
|
+
recto: z.ZodOptional<z.ZodString>;
|
|
655
|
+
verso: z.ZodOptional<z.ZodString>;
|
|
656
|
+
blank: z.ZodOptional<z.ZodString>;
|
|
657
|
+
fixed: z.ZodOptional<z.ZodString>;
|
|
658
|
+
}, z.core.$strip>>;
|
|
659
|
+
kind: z.ZodLiteral<"templated">;
|
|
660
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
661
|
+
title: z.ZodString;
|
|
662
|
+
html: z.ZodString;
|
|
663
|
+
runningHead: z.ZodOptional<z.ZodString>;
|
|
664
|
+
opens: z.ZodOptional<z.ZodEnum<{
|
|
665
|
+
any: "any";
|
|
666
|
+
recto: "recto";
|
|
667
|
+
verso: "verso";
|
|
668
|
+
}>>;
|
|
669
|
+
parents: z.ZodOptional<z.ZodObject<{
|
|
670
|
+
opener: z.ZodOptional<z.ZodString>;
|
|
671
|
+
recto: z.ZodOptional<z.ZodString>;
|
|
672
|
+
verso: z.ZodOptional<z.ZodString>;
|
|
673
|
+
blank: z.ZodOptional<z.ZodString>;
|
|
674
|
+
fixed: z.ZodOptional<z.ZodString>;
|
|
675
|
+
}, z.core.$strip>>;
|
|
676
|
+
kind: z.ZodOptional<z.ZodLiteral<"chapter">>;
|
|
677
|
+
}, z.core.$strip>], "kind">>>;
|
|
678
|
+
parentPages: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
679
|
+
name: z.ZodString;
|
|
680
|
+
basedOn: z.ZodOptional<z.ZodString>;
|
|
681
|
+
margin: z.ZodOptional<z.ZodObject<{
|
|
682
|
+
top: z.ZodNumber;
|
|
683
|
+
bottom: z.ZodNumber;
|
|
684
|
+
inner: z.ZodNumber;
|
|
685
|
+
outer: z.ZodNumber;
|
|
686
|
+
}, z.core.$strip>>;
|
|
687
|
+
head: z.ZodOptional<z.ZodString>;
|
|
688
|
+
foot: z.ZodOptional<z.ZodString>;
|
|
689
|
+
}, z.core.$strip>>>;
|
|
690
|
+
templates: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
691
|
+
name: z.ZodString;
|
|
692
|
+
html: z.ZodString;
|
|
693
|
+
parents: z.ZodOptional<z.ZodObject<{
|
|
694
|
+
opener: z.ZodOptional<z.ZodString>;
|
|
695
|
+
recto: z.ZodOptional<z.ZodString>;
|
|
696
|
+
verso: z.ZodOptional<z.ZodString>;
|
|
697
|
+
blank: z.ZodOptional<z.ZodString>;
|
|
698
|
+
fixed: z.ZodOptional<z.ZodString>;
|
|
699
|
+
}, z.core.$strip>>;
|
|
700
|
+
}, z.core.$strip>>>;
|
|
701
|
+
slots: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
702
|
+
key: z.ZodString;
|
|
703
|
+
label: z.ZodString;
|
|
704
|
+
type: z.ZodEnum<{
|
|
705
|
+
text: "text";
|
|
706
|
+
phone: "phone";
|
|
707
|
+
email: "email";
|
|
708
|
+
link: "link";
|
|
709
|
+
qr: "qr";
|
|
710
|
+
image: "image";
|
|
711
|
+
}>;
|
|
712
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
713
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
714
|
+
overflow: z.ZodDefault<z.ZodEnum<{
|
|
715
|
+
refuse: "refuse";
|
|
716
|
+
shrink: "shrink";
|
|
717
|
+
truncate: "truncate";
|
|
718
|
+
wrap: "wrap";
|
|
719
|
+
}>>;
|
|
720
|
+
minSize: z.ZodOptional<z.ZodNumber>;
|
|
721
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
722
|
+
key: string;
|
|
723
|
+
label: string;
|
|
724
|
+
type: "text" | "phone" | "email" | "link" | "qr" | "image";
|
|
725
|
+
required: boolean;
|
|
726
|
+
overflow: "refuse" | "shrink" | "truncate" | "wrap";
|
|
727
|
+
placeholder?: string | undefined;
|
|
728
|
+
minSize?: number | undefined;
|
|
729
|
+
}, {
|
|
730
|
+
key: string;
|
|
731
|
+
label: string;
|
|
732
|
+
type: "text" | "phone" | "email" | "link" | "qr" | "image";
|
|
733
|
+
required: boolean;
|
|
734
|
+
overflow: "refuse" | "shrink" | "truncate" | "wrap";
|
|
735
|
+
placeholder?: string | undefined;
|
|
736
|
+
minSize?: number | undefined;
|
|
737
|
+
}>>>>;
|
|
738
|
+
fonts: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
739
|
+
app: z.ZodString;
|
|
740
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
741
|
+
local: z.ZodString;
|
|
742
|
+
fallback: z.ZodString;
|
|
743
|
+
}, z.core.$strip>]>>>;
|
|
744
|
+
css: z.ZodOptional<z.ZodString>;
|
|
745
|
+
numbering: z.ZodDefault<z.ZodObject<{
|
|
746
|
+
frontMatter: z.ZodOptional<z.ZodEnum<{
|
|
747
|
+
arabic: "arabic";
|
|
748
|
+
"roman-lower": "roman-lower";
|
|
749
|
+
"roman-upper": "roman-upper";
|
|
750
|
+
hebrew: "hebrew";
|
|
751
|
+
}>>;
|
|
752
|
+
body: z.ZodOptional<z.ZodEnum<{
|
|
753
|
+
arabic: "arabic";
|
|
754
|
+
"roman-lower": "roman-lower";
|
|
755
|
+
"roman-upper": "roman-upper";
|
|
756
|
+
hebrew: "hebrew";
|
|
757
|
+
}>>;
|
|
758
|
+
}, z.core.$strip>>;
|
|
759
|
+
footnotes: z.ZodDefault<z.ZodObject<{
|
|
760
|
+
marker: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
761
|
+
arabic: "arabic";
|
|
762
|
+
"roman-lower": "roman-lower";
|
|
763
|
+
"roman-upper": "roman-upper";
|
|
764
|
+
hebrew: "hebrew";
|
|
765
|
+
}>, z.ZodLiteral<"symbols">]>>;
|
|
766
|
+
restart: z.ZodDefault<z.ZodEnum<{
|
|
767
|
+
chapter: "chapter";
|
|
768
|
+
book: "book";
|
|
769
|
+
}>>;
|
|
770
|
+
}, z.core.$strip>>;
|
|
771
|
+
endnotes: z.ZodDefault<z.ZodObject<{
|
|
772
|
+
marker: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
773
|
+
arabic: "arabic";
|
|
774
|
+
"roman-lower": "roman-lower";
|
|
775
|
+
"roman-upper": "roman-upper";
|
|
776
|
+
hebrew: "hebrew";
|
|
777
|
+
}>, z.ZodLiteral<"symbols">]>>;
|
|
778
|
+
placement: z.ZodDefault<z.ZodEnum<{
|
|
779
|
+
chapter: "chapter";
|
|
780
|
+
book: "book";
|
|
781
|
+
}>>;
|
|
782
|
+
title: z.ZodOptional<z.ZodString>;
|
|
783
|
+
}, z.core.$strip>>;
|
|
784
|
+
notes: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
785
|
+
name: z.ZodString;
|
|
786
|
+
placement: z.ZodOptional<z.ZodEnum<{
|
|
787
|
+
page: "page";
|
|
788
|
+
chapter: "chapter";
|
|
789
|
+
book: "book";
|
|
790
|
+
part: "part";
|
|
791
|
+
}>>;
|
|
792
|
+
numbering: z.ZodOptional<z.ZodEnum<{
|
|
793
|
+
chapter: "chapter";
|
|
794
|
+
book: "book";
|
|
795
|
+
part: "part";
|
|
796
|
+
}>>;
|
|
797
|
+
marker: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
798
|
+
arabic: "arabic";
|
|
799
|
+
"roman-lower": "roman-lower";
|
|
800
|
+
"roman-upper": "roman-upper";
|
|
801
|
+
hebrew: "hebrew";
|
|
802
|
+
}>, z.ZodLiteral<"symbols">]>>;
|
|
803
|
+
title: z.ZodOptional<z.ZodString>;
|
|
804
|
+
}, z.core.$strip>>>;
|
|
805
|
+
rectoOpenings: z.ZodDefault<z.ZodBoolean>;
|
|
806
|
+
orphans: z.ZodDefault<z.ZodNumber>;
|
|
807
|
+
widows: z.ZodDefault<z.ZodNumber>;
|
|
808
|
+
runningHead: z.ZodDefault<z.ZodObject<{
|
|
809
|
+
recto: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"title">, z.ZodObject<{
|
|
810
|
+
mark: z.ZodString;
|
|
811
|
+
which: z.ZodEnum<{
|
|
812
|
+
first: "first";
|
|
813
|
+
last: "last";
|
|
814
|
+
}>;
|
|
815
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
816
|
+
part: z.ZodString;
|
|
817
|
+
}, z.core.$strip>]>>;
|
|
818
|
+
verso: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"title">, z.ZodObject<{
|
|
819
|
+
mark: z.ZodString;
|
|
820
|
+
which: z.ZodEnum<{
|
|
821
|
+
first: "first";
|
|
822
|
+
last: "last";
|
|
823
|
+
}>;
|
|
824
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
825
|
+
part: z.ZodString;
|
|
826
|
+
}, z.core.$strip>]>>;
|
|
827
|
+
}, z.core.$strip>>;
|
|
828
|
+
contents: z.ZodDefault<z.ZodObject<{
|
|
829
|
+
pageNumbers: z.ZodDefault<z.ZodBoolean>;
|
|
830
|
+
depth: z.ZodDefault<z.ZodNumber>;
|
|
831
|
+
}, z.core.$strip>>;
|
|
832
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
833
|
+
body: BookItem[];
|
|
834
|
+
bodyKey: "body" | "chapters";
|
|
835
|
+
numbering: {
|
|
836
|
+
frontMatter: "arabic" | "roman-lower" | "roman-upper" | "hebrew";
|
|
837
|
+
body: "arabic" | "roman-lower" | "roman-upper" | "hebrew";
|
|
838
|
+
};
|
|
839
|
+
footnotes: {
|
|
840
|
+
marker: "arabic" | "roman-lower" | "roman-upper" | "hebrew" | "symbols";
|
|
841
|
+
restart: "chapter" | "book";
|
|
842
|
+
};
|
|
843
|
+
endnotes: {
|
|
844
|
+
marker: "arabic" | "roman-lower" | "roman-upper" | "hebrew" | "symbols";
|
|
683
845
|
title: string;
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
fixed?: string | undefined;
|
|
693
|
-
} | undefined;
|
|
694
|
-
kind?: "chapter" | undefined;
|
|
695
|
-
})[];
|
|
846
|
+
placement: "chapter" | "book";
|
|
847
|
+
};
|
|
848
|
+
notes: ResolvedNoteSeries[];
|
|
849
|
+
title: string;
|
|
850
|
+
mode: "continuous" | "paginated";
|
|
851
|
+
scripts: "refuse" | "sandboxed";
|
|
852
|
+
frontMatter: BookItem[];
|
|
853
|
+
endMatter: BookItem[];
|
|
696
854
|
parentPages: {
|
|
697
855
|
name: string;
|
|
698
856
|
basedOn?: string | undefined;
|
|
@@ -723,16 +881,22 @@ export declare const Book: z.ZodPipe<z.ZodObject<{
|
|
|
723
881
|
recto: "title" | {
|
|
724
882
|
mark: string;
|
|
725
883
|
which: "first" | "last";
|
|
884
|
+
} | {
|
|
885
|
+
part: string;
|
|
726
886
|
};
|
|
727
887
|
verso: "title" | {
|
|
728
888
|
mark: string;
|
|
729
889
|
which: "first" | "last";
|
|
890
|
+
} | {
|
|
891
|
+
part: string;
|
|
730
892
|
};
|
|
731
893
|
};
|
|
732
894
|
contents: {
|
|
733
895
|
pageNumbers: boolean;
|
|
734
896
|
depth: number;
|
|
735
897
|
};
|
|
898
|
+
authors?: string[] | undefined;
|
|
899
|
+
subject?: string | undefined;
|
|
736
900
|
page?: {
|
|
737
901
|
paper: "letter" | "legal" | "tabloid" | "a3" | "a4" | "a5" | "business-card-us" | "business-card-eu" | "business-card-square-us" | "business-card-slim-us" | "postcard-4x6" | "postcard-5x7" | "postcard-6x9" | "postcard-6x11" | "card-square-4in" | "half-letter" | "a6" | "dl" | "rack-card-4x9" | "rack-card-3.5x8.5" | "poster-12x18" | "poster-16x20" | "poster-18x24" | "poster-24x36" | "a2" | "a1" | "a0" | {
|
|
738
902
|
width: number;
|
|
@@ -770,31 +934,23 @@ export declare const Book: z.ZodPipe<z.ZodObject<{
|
|
|
770
934
|
title: string;
|
|
771
935
|
mode: "continuous" | "paginated";
|
|
772
936
|
scripts: "refuse" | "sandboxed";
|
|
773
|
-
frontMatter:
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
recto?: string | undefined;
|
|
784
|
-
verso?: string | undefined;
|
|
785
|
-
blank?: string | undefined;
|
|
786
|
-
fixed?: string | undefined;
|
|
937
|
+
frontMatter: BookItem[];
|
|
938
|
+
endMatter: BookItem[];
|
|
939
|
+
parentPages: {
|
|
940
|
+
name: string;
|
|
941
|
+
basedOn?: string | undefined;
|
|
942
|
+
margin?: {
|
|
943
|
+
top: number;
|
|
944
|
+
bottom: number;
|
|
945
|
+
inner: number;
|
|
946
|
+
outer: number;
|
|
787
947
|
} | undefined;
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
contents: boolean;
|
|
795
|
-
kind: "templated";
|
|
796
|
-
title?: string | undefined;
|
|
797
|
-
opens?: "any" | "recto" | "verso" | undefined;
|
|
948
|
+
head?: string | undefined;
|
|
949
|
+
foot?: string | undefined;
|
|
950
|
+
}[];
|
|
951
|
+
templates: {
|
|
952
|
+
name: string;
|
|
953
|
+
html: string;
|
|
798
954
|
parents?: {
|
|
799
955
|
opener?: string | undefined;
|
|
800
956
|
recto?: string | undefined;
|
|
@@ -802,32 +958,69 @@ export declare const Book: z.ZodPipe<z.ZodObject<{
|
|
|
802
958
|
blank?: string | undefined;
|
|
803
959
|
fixed?: string | undefined;
|
|
804
960
|
} | undefined;
|
|
805
|
-
}
|
|
806
|
-
|
|
961
|
+
}[];
|
|
962
|
+
numbering: {
|
|
963
|
+
frontMatter?: "arabic" | "roman-lower" | "roman-upper" | "hebrew" | undefined;
|
|
964
|
+
body?: "arabic" | "roman-lower" | "roman-upper" | "hebrew" | undefined;
|
|
965
|
+
};
|
|
966
|
+
footnotes: {
|
|
967
|
+
restart: "chapter" | "book";
|
|
968
|
+
marker?: "arabic" | "roman-lower" | "roman-upper" | "hebrew" | "symbols" | undefined;
|
|
969
|
+
};
|
|
970
|
+
endnotes: {
|
|
971
|
+
placement: "chapter" | "book";
|
|
972
|
+
marker?: "arabic" | "roman-lower" | "roman-upper" | "hebrew" | "symbols" | undefined;
|
|
807
973
|
title?: string | undefined;
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
fixed?: string | undefined;
|
|
815
|
-
} | undefined;
|
|
816
|
-
} | {
|
|
817
|
-
contents: boolean;
|
|
818
|
-
html: string;
|
|
974
|
+
};
|
|
975
|
+
notes: {
|
|
976
|
+
name: string;
|
|
977
|
+
placement?: "page" | "chapter" | "book" | "part" | undefined;
|
|
978
|
+
numbering?: "chapter" | "book" | "part" | undefined;
|
|
979
|
+
marker?: "arabic" | "roman-lower" | "roman-upper" | "hebrew" | "symbols" | undefined;
|
|
819
980
|
title?: string | undefined;
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
981
|
+
}[];
|
|
982
|
+
rectoOpenings: boolean;
|
|
983
|
+
orphans: number;
|
|
984
|
+
widows: number;
|
|
985
|
+
runningHead: {
|
|
986
|
+
recto: "title" | {
|
|
987
|
+
mark: string;
|
|
988
|
+
which: "first" | "last";
|
|
989
|
+
} | {
|
|
990
|
+
part: string;
|
|
991
|
+
};
|
|
992
|
+
verso: "title" | {
|
|
993
|
+
mark: string;
|
|
994
|
+
which: "first" | "last";
|
|
995
|
+
} | {
|
|
996
|
+
part: string;
|
|
997
|
+
};
|
|
998
|
+
};
|
|
999
|
+
contents: {
|
|
1000
|
+
pageNumbers: boolean;
|
|
1001
|
+
depth: number;
|
|
1002
|
+
};
|
|
1003
|
+
authors?: string[] | undefined;
|
|
1004
|
+
subject?: string | undefined;
|
|
1005
|
+
page?: {
|
|
1006
|
+
paper: "letter" | "legal" | "tabloid" | "a3" | "a4" | "a5" | "business-card-us" | "business-card-eu" | "business-card-square-us" | "business-card-slim-us" | "postcard-4x6" | "postcard-5x7" | "postcard-6x9" | "postcard-6x11" | "card-square-4in" | "half-letter" | "a6" | "dl" | "rack-card-4x9" | "rack-card-3.5x8.5" | "poster-12x18" | "poster-16x20" | "poster-18x24" | "poster-24x36" | "a2" | "a1" | "a0" | {
|
|
1007
|
+
width: number;
|
|
1008
|
+
height: number;
|
|
1009
|
+
unit: "mm" | "in" | "pt";
|
|
1010
|
+
};
|
|
1011
|
+
orientation: "portrait" | "landscape";
|
|
1012
|
+
margin: {
|
|
1013
|
+
top: number;
|
|
1014
|
+
bottom: number;
|
|
1015
|
+
inner: number;
|
|
1016
|
+
outer: number;
|
|
1017
|
+
};
|
|
1018
|
+
columnGap: number;
|
|
1019
|
+
} | undefined;
|
|
1020
|
+
dir?: "ltr" | "rtl" | "auto" | undefined;
|
|
1021
|
+
lang?: string | undefined;
|
|
1022
|
+
body?: BookItem[] | undefined;
|
|
1023
|
+
chapters?: ({
|
|
831
1024
|
pages: {
|
|
832
1025
|
html: string;
|
|
833
1026
|
}[];
|
|
@@ -872,7 +1065,44 @@ export declare const Book: z.ZodPipe<z.ZodObject<{
|
|
|
872
1065
|
fixed?: string | undefined;
|
|
873
1066
|
} | undefined;
|
|
874
1067
|
kind?: "chapter" | undefined;
|
|
875
|
-
})[];
|
|
1068
|
+
})[] | undefined;
|
|
1069
|
+
slots?: {
|
|
1070
|
+
key: string;
|
|
1071
|
+
label: string;
|
|
1072
|
+
type: "text" | "phone" | "email" | "link" | "qr" | "image";
|
|
1073
|
+
required: boolean;
|
|
1074
|
+
overflow: "refuse" | "shrink" | "truncate" | "wrap";
|
|
1075
|
+
placeholder?: string | undefined;
|
|
1076
|
+
minSize?: number | undefined;
|
|
1077
|
+
}[] | undefined;
|
|
1078
|
+
fonts?: ({
|
|
1079
|
+
app: string;
|
|
1080
|
+
} | {
|
|
1081
|
+
local: string;
|
|
1082
|
+
fallback: string;
|
|
1083
|
+
})[] | undefined;
|
|
1084
|
+
css?: string | undefined;
|
|
1085
|
+
}>>, unknown>, z.ZodTransform<{
|
|
1086
|
+
body: BookItem[];
|
|
1087
|
+
numbering: {
|
|
1088
|
+
frontMatter: "arabic" | "roman-lower" | "roman-upper" | "hebrew";
|
|
1089
|
+
body: "arabic" | "roman-lower" | "roman-upper" | "hebrew";
|
|
1090
|
+
};
|
|
1091
|
+
footnotes: {
|
|
1092
|
+
marker: "arabic" | "roman-lower" | "roman-upper" | "hebrew" | "symbols";
|
|
1093
|
+
restart: "chapter" | "book";
|
|
1094
|
+
};
|
|
1095
|
+
endnotes: {
|
|
1096
|
+
marker: "arabic" | "roman-lower" | "roman-upper" | "hebrew" | "symbols";
|
|
1097
|
+
title: string;
|
|
1098
|
+
placement: "chapter" | "book";
|
|
1099
|
+
};
|
|
1100
|
+
notes: ResolvedNoteSeries[];
|
|
1101
|
+
title: string;
|
|
1102
|
+
mode: "continuous" | "paginated";
|
|
1103
|
+
scripts: "refuse" | "sandboxed";
|
|
1104
|
+
frontMatter: BookItem[];
|
|
1105
|
+
endMatter: BookItem[];
|
|
876
1106
|
parentPages: {
|
|
877
1107
|
name: string;
|
|
878
1108
|
basedOn?: string | undefined;
|
|
@@ -896,19 +1126,107 @@ export declare const Book: z.ZodPipe<z.ZodObject<{
|
|
|
896
1126
|
fixed?: string | undefined;
|
|
897
1127
|
} | undefined;
|
|
898
1128
|
}[];
|
|
1129
|
+
rectoOpenings: boolean;
|
|
1130
|
+
orphans: number;
|
|
1131
|
+
widows: number;
|
|
1132
|
+
runningHead: {
|
|
1133
|
+
recto: "title" | {
|
|
1134
|
+
mark: string;
|
|
1135
|
+
which: "first" | "last";
|
|
1136
|
+
} | {
|
|
1137
|
+
part: string;
|
|
1138
|
+
};
|
|
1139
|
+
verso: "title" | {
|
|
1140
|
+
mark: string;
|
|
1141
|
+
which: "first" | "last";
|
|
1142
|
+
} | {
|
|
1143
|
+
part: string;
|
|
1144
|
+
};
|
|
1145
|
+
};
|
|
1146
|
+
contents: {
|
|
1147
|
+
pageNumbers: boolean;
|
|
1148
|
+
depth: number;
|
|
1149
|
+
};
|
|
1150
|
+
authors?: string[] | undefined;
|
|
1151
|
+
subject?: string | undefined;
|
|
1152
|
+
page?: {
|
|
1153
|
+
paper: "letter" | "legal" | "tabloid" | "a3" | "a4" | "a5" | "business-card-us" | "business-card-eu" | "business-card-square-us" | "business-card-slim-us" | "postcard-4x6" | "postcard-5x7" | "postcard-6x9" | "postcard-6x11" | "card-square-4in" | "half-letter" | "a6" | "dl" | "rack-card-4x9" | "rack-card-3.5x8.5" | "poster-12x18" | "poster-16x20" | "poster-18x24" | "poster-24x36" | "a2" | "a1" | "a0" | {
|
|
1154
|
+
width: number;
|
|
1155
|
+
height: number;
|
|
1156
|
+
unit: "mm" | "in" | "pt";
|
|
1157
|
+
};
|
|
1158
|
+
orientation: "portrait" | "landscape";
|
|
1159
|
+
margin: {
|
|
1160
|
+
top: number;
|
|
1161
|
+
bottom: number;
|
|
1162
|
+
inner: number;
|
|
1163
|
+
outer: number;
|
|
1164
|
+
};
|
|
1165
|
+
columnGap: number;
|
|
1166
|
+
} | undefined;
|
|
1167
|
+
dir?: "ltr" | "rtl" | "auto" | undefined;
|
|
1168
|
+
lang?: string | undefined;
|
|
1169
|
+
slots?: {
|
|
1170
|
+
key: string;
|
|
1171
|
+
label: string;
|
|
1172
|
+
type: "text" | "phone" | "email" | "link" | "qr" | "image";
|
|
1173
|
+
required: boolean;
|
|
1174
|
+
overflow: "refuse" | "shrink" | "truncate" | "wrap";
|
|
1175
|
+
placeholder?: string | undefined;
|
|
1176
|
+
minSize?: number | undefined;
|
|
1177
|
+
}[] | undefined;
|
|
1178
|
+
fonts?: ({
|
|
1179
|
+
app: string;
|
|
1180
|
+
} | {
|
|
1181
|
+
local: string;
|
|
1182
|
+
fallback: string;
|
|
1183
|
+
})[] | undefined;
|
|
1184
|
+
css?: string | undefined;
|
|
1185
|
+
}, {
|
|
1186
|
+
body: BookItem[];
|
|
1187
|
+
bodyKey: "body" | "chapters";
|
|
899
1188
|
numbering: {
|
|
900
|
-
frontMatter
|
|
901
|
-
body
|
|
1189
|
+
frontMatter: "arabic" | "roman-lower" | "roman-upper" | "hebrew";
|
|
1190
|
+
body: "arabic" | "roman-lower" | "roman-upper" | "hebrew";
|
|
902
1191
|
};
|
|
903
1192
|
footnotes: {
|
|
1193
|
+
marker: "arabic" | "roman-lower" | "roman-upper" | "hebrew" | "symbols";
|
|
904
1194
|
restart: "chapter" | "book";
|
|
905
|
-
marker?: "arabic" | "roman-lower" | "roman-upper" | "hebrew" | "symbols" | undefined;
|
|
906
1195
|
};
|
|
907
1196
|
endnotes: {
|
|
1197
|
+
marker: "arabic" | "roman-lower" | "roman-upper" | "hebrew" | "symbols";
|
|
1198
|
+
title: string;
|
|
908
1199
|
placement: "chapter" | "book";
|
|
909
|
-
marker?: "arabic" | "roman-lower" | "roman-upper" | "hebrew" | "symbols" | undefined;
|
|
910
|
-
title?: string | undefined;
|
|
911
1200
|
};
|
|
1201
|
+
notes: ResolvedNoteSeries[];
|
|
1202
|
+
title: string;
|
|
1203
|
+
mode: "continuous" | "paginated";
|
|
1204
|
+
scripts: "refuse" | "sandboxed";
|
|
1205
|
+
frontMatter: BookItem[];
|
|
1206
|
+
endMatter: BookItem[];
|
|
1207
|
+
parentPages: {
|
|
1208
|
+
name: string;
|
|
1209
|
+
basedOn?: string | undefined;
|
|
1210
|
+
margin?: {
|
|
1211
|
+
top: number;
|
|
1212
|
+
bottom: number;
|
|
1213
|
+
inner: number;
|
|
1214
|
+
outer: number;
|
|
1215
|
+
} | undefined;
|
|
1216
|
+
head?: string | undefined;
|
|
1217
|
+
foot?: string | undefined;
|
|
1218
|
+
}[];
|
|
1219
|
+
templates: {
|
|
1220
|
+
name: string;
|
|
1221
|
+
html: string;
|
|
1222
|
+
parents?: {
|
|
1223
|
+
opener?: string | undefined;
|
|
1224
|
+
recto?: string | undefined;
|
|
1225
|
+
verso?: string | undefined;
|
|
1226
|
+
blank?: string | undefined;
|
|
1227
|
+
fixed?: string | undefined;
|
|
1228
|
+
} | undefined;
|
|
1229
|
+
}[];
|
|
912
1230
|
rectoOpenings: boolean;
|
|
913
1231
|
orphans: number;
|
|
914
1232
|
widows: number;
|
|
@@ -916,16 +1234,22 @@ export declare const Book: z.ZodPipe<z.ZodObject<{
|
|
|
916
1234
|
recto: "title" | {
|
|
917
1235
|
mark: string;
|
|
918
1236
|
which: "first" | "last";
|
|
1237
|
+
} | {
|
|
1238
|
+
part: string;
|
|
919
1239
|
};
|
|
920
1240
|
verso: "title" | {
|
|
921
1241
|
mark: string;
|
|
922
1242
|
which: "first" | "last";
|
|
1243
|
+
} | {
|
|
1244
|
+
part: string;
|
|
923
1245
|
};
|
|
924
1246
|
};
|
|
925
1247
|
contents: {
|
|
926
1248
|
pageNumbers: boolean;
|
|
927
1249
|
depth: number;
|
|
928
1250
|
};
|
|
1251
|
+
authors?: string[] | undefined;
|
|
1252
|
+
subject?: string | undefined;
|
|
929
1253
|
page?: {
|
|
930
1254
|
paper: "letter" | "legal" | "tabloid" | "a3" | "a4" | "a5" | "business-card-us" | "business-card-eu" | "business-card-square-us" | "business-card-slim-us" | "postcard-4x6" | "postcard-5x7" | "postcard-6x9" | "postcard-6x11" | "card-square-4in" | "half-letter" | "a6" | "dl" | "rack-card-4x9" | "rack-card-3.5x8.5" | "poster-12x18" | "poster-16x20" | "poster-18x24" | "poster-24x36" | "a2" | "a1" | "a0" | {
|
|
931
1255
|
width: number;
|
|
@@ -961,11 +1285,7 @@ export declare const Book: z.ZodPipe<z.ZodObject<{
|
|
|
961
1285
|
css?: string | undefined;
|
|
962
1286
|
}>>;
|
|
963
1287
|
export type Book = z.infer<typeof Book>;
|
|
964
|
-
export type BookInput = z.input<typeof
|
|
1288
|
+
export type BookInput = z.input<typeof BookShape>;
|
|
965
1289
|
export declare function resolveBookPagination(book: Book): BookViewPagination | undefined;
|
|
966
|
-
export declare function noteMarkerIssues(book: Book, used: {
|
|
967
|
-
footnotes: boolean;
|
|
968
|
-
endnotes: boolean;
|
|
969
|
-
}): string[];
|
|
970
1290
|
//#endregion
|
|
971
|
-
export { BookChapterEntry, BookContents, BookFrontMatterEntry, BookOpens, BookSection, BookSectionParents, BookTemplate, Chapter, DesignedPage, DesignedSection, REGION_NAME, TemplatedPage, TemplatedSection, isBookContents, isChapter, isDesignedSection, isTemplatedSection };
|
|
1291
|
+
export { BookChapterEntry, BookContents, type BookDivision, type BookDivisions, BookFrontMatterEntry, BookItem, BookOpens, BookSection, type BookSectionEntry, BookSectionParents, BookTemplate, Chapter, DesignedPage, DesignedSection, MAX_PART_DEPTH, Part, REGION_NAME, TemplatedPage, TemplatedSection, bookSections, isBookContents, isChapter, isDesignedSection, isPart, isTemplatedSection };
|