@segnavia/format 0.37.0 → 0.39.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.
Files changed (66) hide show
  1. package/dist/board-edit.d.ts +2 -1
  2. package/dist/board-geometry.d.ts +2 -1
  3. package/dist/board-section-grid.d.ts +2 -1
  4. package/dist/board-sections.d.ts +2 -1
  5. package/dist/board.d.ts +8 -8
  6. package/dist/board.js +15 -11
  7. package/dist/book-exports.d.ts +4 -0
  8. package/dist/book-section.d.ts +225 -3
  9. package/dist/book-section.js +82 -17
  10. package/dist/book.d.ts +878 -416
  11. package/dist/book.js +236 -37
  12. package/dist/cover.d.ts +337 -0
  13. package/dist/cover.js +100 -0
  14. package/dist/deck-from-slides.d.ts +23 -4
  15. package/dist/deck.d.ts +144 -42
  16. package/dist/deck.js +22 -24
  17. package/dist/dependency-policy.d.ts +12 -0
  18. package/dist/dependency-policy.js +42 -0
  19. package/dist/direction.d.ts +1 -1
  20. package/dist/font-collection.d.ts +8 -0
  21. package/dist/font-collection.js +191 -0
  22. package/dist/font-face.d.ts +8 -0
  23. package/dist/font-face.js +24 -0
  24. package/dist/font-refusal.d.ts +5 -0
  25. package/dist/font-refusal.js +9 -0
  26. package/dist/font-signature.d.ts +5 -0
  27. package/dist/font-signature.js +13 -0
  28. package/dist/fonts.d.ts +6 -1
  29. package/dist/fonts.js +3 -1
  30. package/dist/geometry.d.ts +20 -0
  31. package/dist/geometry.js +18 -0
  32. package/dist/image-fit.d.ts +10 -0
  33. package/dist/image-fit.js +10 -0
  34. package/dist/imposition-marks.d.ts +1 -1
  35. package/dist/imposition-schema.d.ts +185 -0
  36. package/dist/imposition-schema.js +122 -0
  37. package/dist/imposition.d.ts +8 -6
  38. package/dist/index.d.ts +29 -1797
  39. package/dist/index.js +30 -210
  40. package/dist/json-schemas.d.ts +1860 -0
  41. package/dist/json-schemas.js +43 -0
  42. package/dist/local-font-limits.d.ts +15 -0
  43. package/dist/local-font-limits.js +24 -0
  44. package/dist/media.d.ts +152 -0
  45. package/dist/media.js +119 -0
  46. package/dist/note-series.d.ts +70 -0
  47. package/dist/note-series.js +153 -0
  48. package/dist/page.d.ts +174 -0
  49. package/dist/page.js +37 -0
  50. package/dist/paper.d.ts +2 -1
  51. package/dist/paper.js +2 -1
  52. package/dist/placement-cycle.d.ts +5 -0
  53. package/dist/placement-cycle.js +30 -0
  54. package/dist/placement-refusal.d.ts +5 -0
  55. package/dist/placement-refusal.js +6 -0
  56. package/dist/placement.d.ts +76 -0
  57. package/dist/placement.js +100 -0
  58. package/dist/print.d.ts +72 -0
  59. package/dist/print.js +38 -0
  60. package/dist/printed-page-imposition.d.ts +2 -1
  61. package/dist/printed-pages.d.ts +14 -0
  62. package/dist/printed-pages.js +14 -1
  63. package/dist/shots-used.d.ts +0 -1
  64. package/dist/shots-used.js +2 -2
  65. package/dist/slots.d.ts +13 -13
  66. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,227 +1,47 @@
1
1
  import { Direction, TextDirection, firstStrongDirection, languageDirection, resolveDirection, textDirection } from "./direction.js";
2
+ import { Box, Point, Size } from "./geometry.js";
3
+ import { ImageFit } from "./image-fit.js";
4
+ import { MEDIA_FORMATS, Media, MediaFormat, MediaPage, MediaText, PageSelector, mediaTextDirection } from "./media.js";
5
+ import { PlacementRefusedError } from "./placement-refusal.js";
6
+ import { AssetKind, CropEdge, PLACEMENT_ACCEPTS, Placement, PlacementCrop } from "./placement.js";
2
7
  import { Scripts } from "./scripts.js";
3
8
  import { FillValues, SLOT_TYPES, SlotDeclaration, SlotDeclarationInput, SlotKey, SlotType, SlotValue, Slots, SlotsInput, mergeSlotDeclarations } from "./slots.js";
4
9
  import { MAX_SLIDE_TIMING_MS } from "./timing.js";
5
10
  import { DEFAULT_TRANSITION_DURATION_MS, MAX_TRANSITION_DURATION_MS, MIN_TRANSITION_DURATION_MS, Transition } from "./transition.js";
6
- import { Annotation, Box, Cue, DECK_SIZE, Deck, DeckShape, ImageFit, Manifest, Narration, PLAYBACK_MODES, Playback, Point, PublishedShot, SHOT_KEY, Shot, Size, Slide, SlideContent, Word, annotationCueIssues, exceedsLimits, parsePlayback } from "./deck.js";
11
+ import { Annotation, Cue, DECK_SIZE, Deck, Manifest, Narration, PLAYBACK_MODES, Playback, PublishedShot, SHOT_KEY, Shot, Slide, SlideContent, Word, annotationCueIssues, exceedsLimits, parsePlayback } from "./deck.js";
7
12
  import { Board, BoardItem, BoardLabel, BoardSection, GridCell } from "./board.js";
8
- import { APP_FONT_NAME, APP_FONT_NAME_MESSAGE, FONT_FORMATS, FONT_GENERICS, FontReference, FontReferenceInput, LocalFaceTransport, LocalFacesTransport, localFontReferences } from "./fonts.js";
9
- import { BOOK_FURNITURE, LIBRARY_MOTIF_PREFIX, MOTIF_ATTRIBUTE, Motif, MotifField, MotifFieldInput, MotifInput, MotifVersion, MotifVersionInput, PRINTED_PAGE_CONTEXT, PRINTED_PAGE_FOLIO_PATH, PRINTED_PAGE_NUMBER_PATH, PRINTED_PAGE_RUNNING_HEAD_PATH, PRINTED_PAGE_TOTAL_PATH, chooseMotifVersion, motifFieldAttribute } from "./motif.js";
10
- import { NoteMarker, NumberSystem, defaultPageNumbering, formatNumber, isHebrew, noteMarker } from "./numbering.js";
11
- import { BOOK_PARENT_NAMES, PRINTED_PAGE_LIMIT, PRINTED_PAGE_ROLES, ParentPage, ParentPageMargin, PrintedPageRules, PrintedPages, bookParentPages, pagePrintedPagesIssues, parentListIssues, printedPagesIssues, resolveParentPages } from "./printed-pages.js";
12
- import { BookChapterEntry, BookContents, BookFrontMatterEntry, BookOpens, BookSection, BookSectionParents, BookTemplate, Chapter, DesignedPage, DesignedSection, REGION_NAME, TemplatedPage, TemplatedSection, isBookContents, isChapter, isDesignedSection, isTemplatedSection } from "./book-section.js";
13
- import { CUSTOM_PAPER_MAX_MM, CUSTOM_PAPER_MIN_MM, FOLD_DASH_OFF_MM, FOLD_DASH_ON_MM, MARK_GAP_MM, MARK_LENGTH_MM, MM_PER_PT, NAMED_PAPERS, ORIENTATIONS, Orientation, PAPER_GROUPS, PAPER_METADATA, PAPER_MM, PAPER_UNITS, PX_PER_MM, Paper, PaperUnit, PrintSetting, PrintSettingInput, fromMillimeters, paperPixels, printBoxes, printPadding, printProperties, roundMillimeters, sheetMm, toMillimeters } from "./paper.js";
14
- import { Book, BookMode, BookPage, BookRunningHead, BookRunningHeadSource, BookShape, BookView, BookViewPagination, noteMarkerIssues, resolveBookPagination } from "./book.js";
15
- import { PAPER_FIT_TOLERANCE_MM, refuseOverflow, refuseSafe } from "./imposition-fit.js";
16
- import { FOLD_KINDS, FOLD_TUCK_IN_MM, foldCellPages, foldColumns, foldPageCountMessage, foldPanelMap, refineFold, resolveImposition } from "./fold.js";
17
- import { Lexicon, PronunciationEntry, lexiconVersion } from "./lexicon.js";
18
13
  import { MIN_BOARD_ITEM_WIDTH, addItem, moveItems, moveSection, removeItems, resizeItem } from "./board-edit.js";
19
14
  import { MAX_BOARD_ZOOM, MIN_BOARD_ZOOM, arrange, boardBounds, boardToScreen, itemAt, itemHeight, revealView, screenToBoard, visibleItems, zoomAt, zoomToFit } from "./board-geometry.js";
20
15
  import { boardListing, boardListingIsEmpty, foldForSearch, nameMatches } from "./board-listing.js";
21
16
  import { MAKE_ROOM_LIMIT, SECTION_GAP, SECTION_MIN_SIZE, SECTION_PADDING, SECTION_TITLE_ROOM } from "./board-section-constants.js";
22
17
  import { deriveSectionCells, gridDropMarkerBox, gridDropTarget, insertIntoGrid, layoutSection, removeFromGrid } from "./board-section-grid.js";
23
18
  import { assignMembership, fitSection, fitTouchedSections, makeRoom, settleBoard } from "./board-sections.js";
19
+ import { APP_FONT_NAME, APP_FONT_NAME_MESSAGE, FONT_FORMATS, FONT_GENERICS, FontReference, FontReferenceInput, LocalFaceTransport, LocalFacesTransport, localFontReferences } from "./fonts.js";
20
+ import { BOOK_FURNITURE, LIBRARY_MOTIF_PREFIX, MOTIF_ATTRIBUTE, Motif, MotifField, MotifFieldInput, MotifInput, MotifVersion, MotifVersionInput, PRINTED_PAGE_CONTEXT, PRINTED_PAGE_FOLIO_PATH, PRINTED_PAGE_NUMBER_PATH, PRINTED_PAGE_RUNNING_HEAD_PATH, PRINTED_PAGE_TOTAL_PATH, chooseMotifVersion, motifFieldAttribute } from "./motif.js";
21
+ import { NoteMarker, NumberSystem, defaultPageNumbering, formatNumber, isHebrew, noteMarker } from "./numbering.js";
22
+ import { BOOK_PARENT_NAMES, PRINTED_PAGE_LIMIT, PRINTED_PAGE_ROLES, ParentPage, ParentPageMargin, PrintedPageRules, PrintedPages, bookParentPages, flowingParentNames, pagePrintedPagesIssues, parentListIssues, printedPagesIssues, resolveParentPages, textArea } from "./printed-pages.js";
23
+ import { BookChapterEntry, BookContents, BookFrontMatterEntry, BookItem, BookOpens, BookSection, BookSectionParents, BookTemplate, Chapter, DesignedPage, DesignedSection, MAX_PART_DEPTH, Part, PlacedSection, REGION_NAME, TemplatedPage, TemplatedSection, bookSections, isBookContents, isChapter, isDesignedSection, isPart, isPlacedSection, isTemplatedSection } from "./book-section.js";
24
+ import { NoteNumbering, NotePlacement, NoteSeries, noteMarkerIssues, resolveNoteSeries } from "./note-series.js";
25
+ import { CUSTOM_PAPER_MAX_MM, CUSTOM_PAPER_MIN_MM, FOLD_DASH_OFF_MM, FOLD_DASH_ON_MM, MARK_GAP_MM, MARK_LENGTH_MM, MM_PER_PT, NAMED_PAPERS, ORIENTATIONS, Orientation, PAPER_GROUPS, PAPER_METADATA, PAPER_MM, PAPER_UNITS, PX_PER_MM, PX_PER_PT, Paper, PaperUnit, PrintSetting, PrintSettingInput, fromMillimeters, paperPixels, printBoxes, printPadding, printProperties, roundMillimeters, sheetMm, toMillimeters } from "./paper.js";
26
+ import { Book, BookMode, BookPage, BookRunningHead, BookRunningHeadSource, BookView, BookViewPagination, resolveBookPagination } from "./book.js";
27
+ import { Margin, MarkColor, Print } from "./print.js";
28
+ import { FLUID_WIDTH, Page, PageSize } from "./page.js";
29
+ import { COVER_DRAWING_VERSION, COVER_SHEET, Cover, coverDigest, digestCoverMaterial } from "./cover.js";
24
30
  import { deckFromSlides } from "./deck-from-slides.js";
31
+ import { dependencyDecision, dependencyOriginSet, originSet } from "./dependency-policy.js";
32
+ import { PAPER_FIT_TOLERANCE_MM } from "./imposition-fit.js";
33
+ import { FOLD_KINDS, FOLD_TUCK_IN_MM, foldCellPages, foldColumns, foldPageCountMessage, foldPanelMap } from "./fold.js";
34
+ import { FontFaceRefusedError } from "./font-refusal.js";
35
+ import { COLLECTION_TAG, classifyFont } from "./font-signature.js";
36
+ import { collectionFaces, extractFace } from "./font-collection.js";
37
+ import { resolveFontFace } from "./font-face.js";
25
38
  import { fitPage, impose, mirrorPlacement, pagePlacementLayout } from "./imposition.js";
26
39
  import { MIN_MARK_LENGTH_MM, impositionMarks } from "./imposition-marks.js";
40
+ import { Imposition, MAX_IMPOSITION_CELLS } from "./imposition-schema.js";
41
+ import { Lexicon, PronunciationEntry, lexiconVersion } from "./lexicon.js";
42
+ import { jsonSchemas } from "./json-schemas.js";
43
+ import { LOCAL_FONT_LIMITS, localFontLimitRefusal } from "./local-font-limits.js";
44
+ import { checkPlacementCycles, findPlacementCycle } from "./placement-cycle.js";
27
45
  import { isPrintedPageIdentityImposition } from "./printed-page-imposition.js";
28
46
  import { shotsUsed } from "./shots-used.js";
29
- import { z } from "zod";
30
- //#region src/index.ts
31
- const Margin = z.object({
32
- top: z.number().nonnegative().default(0),
33
- right: z.number().nonnegative().default(0),
34
- bottom: z.number().nonnegative().default(0),
35
- left: z.number().nonnegative().default(0)
36
- });
37
- const MarkColor = z.enum(["black", "registration"]);
38
- const Print = z.object({
39
- paper: Paper,
40
- orientation: Orientation.default("portrait"),
41
- margin: Margin.optional(),
42
- bleed: z.number().nonnegative().default(0),
43
- safe: z.number().nonnegative().default(0),
44
- marks: z.boolean().default(false),
45
- markColor: MarkColor.default("black")
46
- }).superRefine((print, ctx) => {
47
- if (print.markColor === "registration" && !print.marks) ctx.addIssue({
48
- code: "custom",
49
- path: ["markColor"],
50
- message: "markColor requires marks to be true"
51
- });
52
- const trim = sheetMm(print);
53
- if (print.safe * 2 >= trim.width) ctx.addIssue({
54
- code: "custom",
55
- path: ["safe"],
56
- message: `safe is ${print.safe}mm on the left and right, but the trim is ${trim.width}mm wide; safe must leave area inside the trim`
57
- });
58
- if (print.safe * 2 >= trim.height) ctx.addIssue({
59
- code: "custom",
60
- path: ["safe"],
61
- message: `safe is ${print.safe}mm on the top and bottom, but the trim is ${trim.height}mm high; safe must leave area inside the trim`
62
- });
63
- });
64
- const ImpositionGap = z.object({
65
- column: z.number().nonnegative().default(0),
66
- row: z.number().nonnegative().default(0)
67
- });
68
- const MAX_IMPOSITION_CELLS = 1e4;
69
- const Imposition = z.object({
70
- paper: Paper,
71
- orientation: Orientation.default("portrait"),
72
- unit: PaperUnit.default("mm"),
73
- margin: Margin.default({
74
- top: 0,
75
- right: 0,
76
- bottom: 0,
77
- left: 0
78
- }),
79
- columns: z.number().int().positive().optional(),
80
- rows: z.number().int().positive().optional(),
81
- cell: z.object({
82
- width: z.number().positive().optional(),
83
- height: z.number().positive()
84
- }),
85
- gap: ImpositionGap.default({
86
- column: 0,
87
- row: 0
88
- }),
89
- bleed: z.number().nonnegative().default(0),
90
- safe: z.number().nonnegative().default(0),
91
- fit: z.enum(["contain", "cover"]).default("contain"),
92
- fill: z.enum(["sequence", "repeat"]).default("sequence"),
93
- sides: z.enum(["one", "two"]).optional(),
94
- flip: z.enum(["long", "short"]).default("long"),
95
- skip: z.number().int().nonnegative().default(0),
96
- dir: z.enum(["ltr", "rtl"]).default("ltr"),
97
- marks: z.boolean().default(false),
98
- markColor: MarkColor.default("black"),
99
- cornerMarks: z.boolean().default(false),
100
- fold: z.enum(FOLD_KINDS).optional(),
101
- panels: z.array(z.number().positive()).optional()
102
- }).superRefine((imposition, ctx) => {
103
- if (imposition.markColor === "registration" && !imposition.marks) ctx.addIssue({
104
- code: "custom",
105
- path: ["markColor"],
106
- message: "markColor requires marks to be true"
107
- });
108
- if (imposition.cornerMarks && !imposition.marks) ctx.addIssue({
109
- code: "custom",
110
- path: ["cornerMarks"],
111
- message: "cornerMarks requires marks to be true"
112
- });
113
- if (imposition.panels !== void 0 && !imposition.fold) ctx.addIssue({
114
- code: "custom",
115
- path: ["panels"],
116
- message: "panels needs fold; set fold or remove panels"
117
- });
118
- if (imposition.fold) {
119
- const panelCount = imposition.panels?.length ?? 0;
120
- if (panelCount > 1e4) {
121
- ctx.addIssue({
122
- code: "custom",
123
- path: ["panels"],
124
- message: `the fold has ${panelCount} panels and the ceiling is ${MAX_IMPOSITION_CELLS}; fewer panels clears this refusal`
125
- });
126
- return;
127
- }
128
- refineFold(imposition, ctx);
129
- return;
130
- }
131
- if (imposition.columns === void 0) ctx.addIssue({
132
- code: "custom",
133
- path: ["columns"],
134
- message: "columns is required; give a column count to clear this refusal"
135
- });
136
- if (imposition.rows === void 0) ctx.addIssue({
137
- code: "custom",
138
- path: ["rows"],
139
- message: "rows is required; give a row count to clear this refusal"
140
- });
141
- if (imposition.cell.width === void 0) ctx.addIssue({
142
- code: "custom",
143
- path: ["cell", "width"],
144
- message: "cell.width is required; give a cell width to clear this refusal"
145
- });
146
- if (imposition.columns === void 0 || imposition.rows === void 0 || imposition.cell.width === void 0) return;
147
- const cellCount = BigInt(imposition.columns) * BigInt(imposition.rows);
148
- if (imposition.columns > 1e4 || imposition.rows > 1e4 || cellCount > BigInt(1e4)) {
149
- ctx.addIssue({
150
- code: "custom",
151
- path: ["columns"],
152
- message: `the grid has ${cellCount} cells and the ceiling is ${MAX_IMPOSITION_CELLS}; fewer columns or rows clears this refusal`
153
- });
154
- return;
155
- }
156
- const mm = (value) => toMillimeters(value, imposition.unit);
157
- const paper = sheetMm({
158
- paper: imposition.paper,
159
- orientation: imposition.orientation
160
- });
161
- const gridWidth = mm(imposition.margin.left + imposition.columns * imposition.cell.width + (imposition.columns - 1) * imposition.gap.column + imposition.margin.right);
162
- const gridHeight = mm(imposition.margin.top + imposition.rows * imposition.cell.height + (imposition.rows - 1) * imposition.gap.row + imposition.margin.bottom);
163
- refuseOverflow(ctx, paper, {
164
- width: gridWidth,
165
- height: gridHeight
166
- });
167
- refuseSafe(ctx, mm(imposition.safe), {
168
- width: mm(imposition.cell.width),
169
- height: mm(imposition.cell.height)
170
- });
171
- const cells = imposition.columns * imposition.rows;
172
- if (imposition.skip >= cells) ctx.addIssue({
173
- code: "custom",
174
- path: ["skip"],
175
- message: `skip is ${imposition.skip}, but the grid has ${cells} cells; skip must be less than ${cells}`
176
- });
177
- }).transform(resolveImposition);
178
- const PageSize = z.union([
179
- z.literal("fluid"),
180
- Size,
181
- z.object({
182
- width: z.number().int().positive(),
183
- height: z.literal("auto")
184
- })
185
- ]);
186
- const Page = z.object({
187
- id: z.string().optional(),
188
- html: z.string(),
189
- size: PageSize.default("fluid"),
190
- scripts: Scripts.default("refuse"),
191
- dir: Direction.optional(),
192
- lang: z.string().optional(),
193
- print: Print.optional(),
194
- printedPages: PrintedPages.optional(),
195
- slots: Slots.optional(),
196
- fonts: z.array(FontReference).optional()
197
- }).superRefine((page, ctx) => {
198
- for (const issue of pagePrintedPagesIssues(page)) ctx.addIssue({
199
- code: "custom",
200
- ...issue
201
- });
202
- });
203
- function jsonSchemas() {
204
- return {
205
- book: z.toJSONSchema(BookShape, { io: "input" }),
206
- bookView: z.toJSONSchema(BookView, { io: "input" }),
207
- page: z.toJSONSchema(Page, { io: "input" }),
208
- lexicon: z.toJSONSchema(Lexicon, { io: "input" }),
209
- imposition: z.toJSONSchema(Imposition, { io: "input" }),
210
- deck: z.toJSONSchema(DeckShape, { io: "input" }),
211
- manifest: z.toJSONSchema(Manifest, { io: "input" }),
212
- publishedShot: z.toJSONSchema(PublishedShot, { io: "input" }),
213
- board: z.toJSONSchema(Board, { io: "input" }),
214
- printSetting: z.toJSONSchema(PrintSetting, { io: "input" }),
215
- printSettingInput: z.toJSONSchema(PrintSettingInput, { io: "input" }),
216
- slotDeclaration: z.toJSONSchema(SlotDeclaration, { io: "input" }),
217
- slotDeclarationInput: z.toJSONSchema(SlotDeclarationInput, { io: "input" }),
218
- fontReference: z.toJSONSchema(FontReference, { io: "input" }),
219
- fontReferenceInput: z.toJSONSchema(FontReferenceInput, { io: "input" }),
220
- localFaceTransport: z.toJSONSchema(LocalFaceTransport, { io: "input" }),
221
- localFacesTransport: z.toJSONSchema(LocalFacesTransport, { io: "input" }),
222
- motif: z.toJSONSchema(Motif, { io: "input" }),
223
- motifInput: z.toJSONSchema(MotifInput, { io: "input" })
224
- };
225
- }
226
- //#endregion
227
- export { APP_FONT_NAME, APP_FONT_NAME_MESSAGE, Annotation, BOOK_FURNITURE, BOOK_PARENT_NAMES, Board, BoardItem, BoardLabel, BoardSection, Book, BookChapterEntry, BookContents, BookFrontMatterEntry, BookMode, BookOpens, BookPage, BookRunningHead, BookRunningHeadSource, BookSection, BookSectionParents, BookTemplate, BookView, BookViewPagination, Box, CUSTOM_PAPER_MAX_MM, CUSTOM_PAPER_MIN_MM, Chapter, Cue, DECK_SIZE, DEFAULT_TRANSITION_DURATION_MS, Deck, DesignedPage, DesignedSection, Direction, FOLD_DASH_OFF_MM, FOLD_DASH_ON_MM, FOLD_KINDS, FOLD_TUCK_IN_MM, FONT_FORMATS, FONT_GENERICS, FillValues, FontReference, FontReferenceInput, GridCell, ImageFit, Imposition, LIBRARY_MOTIF_PREFIX, Lexicon, LocalFaceTransport, LocalFacesTransport, MAKE_ROOM_LIMIT, MARK_GAP_MM, MARK_LENGTH_MM, MAX_BOARD_ZOOM, MAX_IMPOSITION_CELLS, MAX_SLIDE_TIMING_MS, MAX_TRANSITION_DURATION_MS, MIN_BOARD_ITEM_WIDTH, MIN_BOARD_ZOOM, MIN_MARK_LENGTH_MM, MIN_TRANSITION_DURATION_MS, MM_PER_PT, MOTIF_ATTRIBUTE, Manifest, Margin, MarkColor, Motif, MotifField, MotifFieldInput, MotifInput, MotifVersion, MotifVersionInput, NAMED_PAPERS, Narration, NoteMarker, NumberSystem, ORIENTATIONS, Orientation, PAPER_FIT_TOLERANCE_MM, PAPER_GROUPS, PAPER_METADATA, PAPER_MM, PAPER_UNITS, PLAYBACK_MODES, PRINTED_PAGE_CONTEXT, PRINTED_PAGE_FOLIO_PATH, PRINTED_PAGE_LIMIT, PRINTED_PAGE_NUMBER_PATH, PRINTED_PAGE_ROLES, PRINTED_PAGE_RUNNING_HEAD_PATH, PRINTED_PAGE_TOTAL_PATH, PX_PER_MM, Page, PageSize, Paper, PaperUnit, ParentPage, ParentPageMargin, Playback, Point, Print, PrintSetting, PrintSettingInput, PrintedPageRules, PrintedPages, PronunciationEntry, PublishedShot, REGION_NAME, SECTION_GAP, SECTION_MIN_SIZE, SECTION_PADDING, SECTION_TITLE_ROOM, SHOT_KEY, SLOT_TYPES, Scripts, Shot, Size, Slide, SlideContent, SlotDeclaration, SlotDeclarationInput, SlotKey, SlotType, SlotValue, Slots, SlotsInput, TemplatedPage, TemplatedSection, TextDirection, Transition, Word, addItem, annotationCueIssues, arrange, assignMembership, boardBounds, boardListing, boardListingIsEmpty, boardToScreen, bookParentPages, chooseMotifVersion, deckFromSlides, defaultPageNumbering, deriveSectionCells, exceedsLimits, firstStrongDirection, fitPage, fitSection, fitTouchedSections, foldCellPages, foldColumns, foldForSearch, foldPageCountMessage, foldPanelMap, formatNumber, fromMillimeters, gridDropMarkerBox, gridDropTarget, impose, impositionMarks, insertIntoGrid, isBookContents, isChapter, isDesignedSection, isHebrew, isPrintedPageIdentityImposition, isTemplatedSection, itemAt, itemHeight, jsonSchemas, languageDirection, layoutSection, lexiconVersion, localFontReferences, makeRoom, mergeSlotDeclarations, mirrorPlacement, motifFieldAttribute, moveItems, moveSection, nameMatches, noteMarker, noteMarkerIssues, pagePlacementLayout, pagePrintedPagesIssues, paperPixels, parentListIssues, parsePlayback, printBoxes, printPadding, printProperties, printedPagesIssues, removeFromGrid, removeItems, resizeItem, resolveBookPagination, resolveDirection, resolveParentPages, revealView, roundMillimeters, screenToBoard, settleBoard, sheetMm, shotsUsed, textDirection, toMillimeters, visibleItems, zoomAt, zoomToFit };
47
+ export { APP_FONT_NAME, APP_FONT_NAME_MESSAGE, Annotation, AssetKind, BOOK_FURNITURE, BOOK_PARENT_NAMES, Board, BoardItem, BoardLabel, BoardSection, Book, BookChapterEntry, BookContents, BookFrontMatterEntry, BookItem, BookMode, BookOpens, BookPage, BookRunningHead, BookRunningHeadSource, BookSection, BookSectionParents, BookTemplate, BookView, BookViewPagination, Box, COLLECTION_TAG, COVER_DRAWING_VERSION, COVER_SHEET, CUSTOM_PAPER_MAX_MM, CUSTOM_PAPER_MIN_MM, Chapter, Cover, CropEdge, Cue, DECK_SIZE, DEFAULT_TRANSITION_DURATION_MS, Deck, DesignedPage, DesignedSection, Direction, FLUID_WIDTH, FOLD_DASH_OFF_MM, FOLD_DASH_ON_MM, FOLD_KINDS, FOLD_TUCK_IN_MM, FONT_FORMATS, FONT_GENERICS, FillValues, FontFaceRefusedError, FontReference, FontReferenceInput, GridCell, ImageFit, Imposition, LIBRARY_MOTIF_PREFIX, LOCAL_FONT_LIMITS, Lexicon, LocalFaceTransport, LocalFacesTransport, MAKE_ROOM_LIMIT, MARK_GAP_MM, MARK_LENGTH_MM, MAX_BOARD_ZOOM, MAX_IMPOSITION_CELLS, MAX_PART_DEPTH, MAX_SLIDE_TIMING_MS, MAX_TRANSITION_DURATION_MS, MEDIA_FORMATS, MIN_BOARD_ITEM_WIDTH, MIN_BOARD_ZOOM, MIN_MARK_LENGTH_MM, MIN_TRANSITION_DURATION_MS, MM_PER_PT, MOTIF_ATTRIBUTE, Manifest, Margin, MarkColor, Media, MediaFormat, MediaPage, MediaText, Motif, MotifField, MotifFieldInput, MotifInput, MotifVersion, MotifVersionInput, NAMED_PAPERS, Narration, NoteMarker, NoteNumbering, NotePlacement, NoteSeries, NumberSystem, ORIENTATIONS, Orientation, PAPER_FIT_TOLERANCE_MM, PAPER_GROUPS, PAPER_METADATA, PAPER_MM, PAPER_UNITS, PLACEMENT_ACCEPTS, PLAYBACK_MODES, PRINTED_PAGE_CONTEXT, PRINTED_PAGE_FOLIO_PATH, PRINTED_PAGE_LIMIT, PRINTED_PAGE_NUMBER_PATH, PRINTED_PAGE_ROLES, PRINTED_PAGE_RUNNING_HEAD_PATH, PRINTED_PAGE_TOTAL_PATH, PX_PER_MM, PX_PER_PT, Page, PageSelector, PageSize, Paper, PaperUnit, ParentPage, ParentPageMargin, Part, PlacedSection, Placement, PlacementCrop, PlacementRefusedError, Playback, Point, Print, PrintSetting, PrintSettingInput, PrintedPageRules, PrintedPages, PronunciationEntry, PublishedShot, REGION_NAME, SECTION_GAP, SECTION_MIN_SIZE, SECTION_PADDING, SECTION_TITLE_ROOM, SHOT_KEY, SLOT_TYPES, Scripts, Shot, Size, Slide, SlideContent, SlotDeclaration, SlotDeclarationInput, SlotKey, SlotType, SlotValue, Slots, SlotsInput, TemplatedPage, TemplatedSection, TextDirection, Transition, Word, addItem, annotationCueIssues, arrange, assignMembership, boardBounds, boardListing, boardListingIsEmpty, boardToScreen, bookParentPages, bookSections, checkPlacementCycles, chooseMotifVersion, classifyFont, collectionFaces, coverDigest, deckFromSlides, defaultPageNumbering, dependencyDecision, dependencyOriginSet, deriveSectionCells, digestCoverMaterial, exceedsLimits, extractFace, findPlacementCycle, firstStrongDirection, fitPage, fitSection, fitTouchedSections, flowingParentNames, foldCellPages, foldColumns, foldForSearch, foldPageCountMessage, foldPanelMap, formatNumber, fromMillimeters, gridDropMarkerBox, gridDropTarget, impose, impositionMarks, insertIntoGrid, isBookContents, isChapter, isDesignedSection, isHebrew, isPart, isPlacedSection, isPrintedPageIdentityImposition, isTemplatedSection, itemAt, itemHeight, jsonSchemas, languageDirection, layoutSection, lexiconVersion, localFontLimitRefusal, localFontReferences, makeRoom, mediaTextDirection, mergeSlotDeclarations, mirrorPlacement, motifFieldAttribute, moveItems, moveSection, nameMatches, noteMarker, noteMarkerIssues, originSet, pagePlacementLayout, pagePrintedPagesIssues, paperPixels, parentListIssues, parsePlayback, printBoxes, printPadding, printProperties, printedPagesIssues, removeFromGrid, removeItems, resizeItem, resolveBookPagination, resolveDirection, resolveFontFace, resolveNoteSeries, resolveParentPages, revealView, roundMillimeters, screenToBoard, settleBoard, sheetMm, shotsUsed, textArea, textDirection, toMillimeters, visibleItems, zoomAt, zoomToFit };