@segnavia/format 0.26.0 → 0.28.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/index.d.ts CHANGED
@@ -6,16 +6,21 @@ import { BoardListingGroup, boardListing, boardListingIsEmpty, foldForSearch, na
6
6
  import { GridDropTarget, deriveSectionCells, gridDropMarkerBox, gridDropTarget, insertIntoGrid, layoutSection, removeFromGrid } from "./board-section-grid.js";
7
7
  import { MAKE_ROOM_LIMIT, SECTION_GAP, SECTION_MIN_SIZE, SECTION_PADDING, SECTION_TITLE_ROOM } from "./board-section-constants.js";
8
8
  import { assignMembership, fitSection, fitTouchedSections, makeRoom, settleBoard } from "./board-sections.js";
9
- import { Book, BookContents, BookFrontMatterEntry, BookInput, BookMode, BookPage, BookSection, BookView, BookViewInput, Chapter, isBookContents, isHebrew, noteMarkerIssues } from "./book.js";
9
+ import { BOOK_PARENT_NAMES, PRINTED_PAGE_LIMIT, PRINTED_PAGE_ROLES, ParentPage, ParentPageMargin, PrintedPageRole, PrintedPageRules, PrintedPages, ResolvedParentPage, bookParentPages, pagePrintedPagesIssues, parentListIssues, printedPagesIssues, resolveParentPages } from "./printed-pages.js";
10
+ import { BookChapterEntry, BookContents, BookFrontMatterEntry, BookOpens, BookSection, BookSectionParents, BookTemplate, Chapter, DesignedPage, DesignedSection, REGION_NAME, TemplatedPage, TemplatedSection, isBookContents, isChapter, isDesignedSection, isTemplatedSection } from "./book-section.js";
11
+ import { Book, BookInput, BookMode, BookPage, BookRunningHead, BookRunningHeadSource, BookView, BookViewInput, BookViewPagination, noteMarkerIssues, resolveBookPagination } from "./book.js";
10
12
  import { DeckFromSlidesOptions, SlideRow, deckFromSlides } from "./deck-from-slides.js";
11
- import { Direction, TextDirection, firstStrongDirection, languageDirection, resolveDirection } from "./direction.js";
13
+ import { Direction, TextDirection, firstStrongDirection, languageDirection, resolveDirection, textDirection } from "./direction.js";
12
14
  import { PAPER_FIT_TOLERANCE_MM } from "./imposition-fit.js";
13
15
  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, MarkSegment, NAMED_PAPERS, NamedPaper, NamedPaperMetadata, ORIENTATIONS, Orientation, PAPER_GROUPS, PAPER_METADATA, PAPER_MM, PAPER_UNITS, PX_PER_MM, Paper, PaperBox, PaperGroup, PaperUnit, PrintSetting, PrintSettingInput, fromMillimeters, paperPixels, printBoxes, printPadding, printProperties, roundMillimeters, sheetMm, toMillimeters } from "./paper.js";
14
16
  import { FOLD_KINDS, FOLD_TUCK_IN_MM, FoldKind, foldCellPages, foldColumns, foldPageCountMessage, foldPanelMap } from "./fold.js";
17
+ import { APP_FONT_NAME, APP_FONT_NAME_MESSAGE, AppFont, FONT_FORMATS, FONT_GENERICS, FontFace, FontFormat, FontGeneric, FontReference, FontReferenceInput, FontSource, LocalFaceTransport, LocalFacesInput, LocalFacesTransport, localFontReferences } from "./fonts.js";
15
18
  import { Imposed, MillimeterEdges, PageFit, PagePlacementKind, PagePlacementLayout, Placement, fitPage, impose, mirrorPlacement, pagePlacementLayout } from "./imposition.js";
16
19
  import { ImpositionMarkEdge, ImpositionSideMarks, MIN_MARK_LENGTH_MM, OmittedImpositionMark, impositionMarks } from "./imposition-marks.js";
17
20
  import { Lexicon, PronunciationEntry, lexiconVersion } from "./lexicon.js";
18
- import { NoteMarker, NumberSystem, formatNumber, noteMarker } from "./numbering.js";
21
+ import { BOOK_FURNITURE, BookFurniture, LIBRARY_MOTIF_PREFIX, MOTIF_ATTRIBUTE, Motif, MotifField, MotifFieldInput, MotifInput, MotifPlacement, MotifSource, MotifVersion, MotifVersionChoice, 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";
22
+ import { NoteMarker, NumberSystem, defaultPageNumbering, formatNumber, isHebrew, noteMarker } from "./numbering.js";
23
+ import { isPrintedPageIdentityImposition } from "./printed-page-imposition.js";
19
24
  import { Scripts } from "./scripts.js";
20
25
  import { ShotUse, shotsUsed } from "./shots-used.js";
21
26
  import { MAX_SLIDE_TIMING_MS } from "./timing.js";
@@ -358,6 +363,46 @@ export declare const Page: z.ZodObject<{
358
363
  registration: "registration";
359
364
  }>>;
360
365
  }, z.core.$strip>>;
366
+ printedPages: z.ZodOptional<z.ZodObject<{
367
+ parents: z.ZodArray<z.ZodObject<{
368
+ name: z.ZodString;
369
+ basedOn: z.ZodOptional<z.ZodString>;
370
+ margin: z.ZodOptional<z.ZodObject<{
371
+ top: z.ZodNumber;
372
+ bottom: z.ZodNumber;
373
+ inner: z.ZodNumber;
374
+ outer: z.ZodNumber;
375
+ }, z.core.$strip>>;
376
+ head: z.ZodOptional<z.ZodString>;
377
+ foot: z.ZodOptional<z.ZodString>;
378
+ }, z.core.$strip>>;
379
+ rules: z.ZodPipe<z.ZodObject<{
380
+ every: z.ZodString;
381
+ first: z.ZodOptional<z.ZodString>;
382
+ recto: z.ZodOptional<z.ZodString>;
383
+ verso: z.ZodOptional<z.ZodString>;
384
+ last: z.ZodOptional<z.ZodString>;
385
+ }, z.core.$loose>, z.ZodTransform<{
386
+ last?: string | undefined;
387
+ verso?: string | undefined;
388
+ recto?: string | undefined;
389
+ first?: string | undefined;
390
+ every: string;
391
+ }, {
392
+ [x: string]: unknown;
393
+ every: string;
394
+ first?: string | undefined;
395
+ recto?: string | undefined;
396
+ verso?: string | undefined;
397
+ last?: string | undefined;
398
+ }>>;
399
+ numbering: z.ZodOptional<z.ZodEnum<{
400
+ arabic: "arabic";
401
+ "roman-lower": "roman-lower";
402
+ "roman-upper": "roman-upper";
403
+ hebrew: "hebrew";
404
+ }>>;
405
+ }, z.core.$strip>>;
361
406
  slots: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodObject<{
362
407
  key: z.ZodString;
363
408
  label: z.ZodString;
@@ -395,6 +440,12 @@ export declare const Page: z.ZodObject<{
395
440
  placeholder?: string | undefined;
396
441
  minSize?: number | undefined;
397
442
  }>>>>;
443
+ fonts: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
444
+ app: z.ZodString;
445
+ }, z.core.$strip>, z.ZodObject<{
446
+ local: z.ZodString;
447
+ fallback: z.ZodString;
448
+ }, z.core.$strip>]>>>;
398
449
  }, z.core.$strip>;
399
450
  export type Page = z.infer<typeof Page>;
400
451
  export type PageInput = z.input<typeof Page>;
@@ -453,6 +504,7 @@ export declare function jsonSchemas(): {
453
504
  inner: z.ZodNumber;
454
505
  outer: z.ZodNumber;
455
506
  }, z.core.$strip>;
507
+ columnGap: z.ZodDefault<z.ZodNumber>;
456
508
  }, z.core.$strip>>;
457
509
  scripts: z.ZodDefault<z.ZodEnum<{
458
510
  refuse: "refuse";
@@ -464,19 +516,204 @@ export declare function jsonSchemas(): {
464
516
  auto: "auto";
465
517
  }>>;
466
518
  lang: z.ZodOptional<z.ZodString>;
467
- frontMatter: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
519
+ frontMatter: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
520
+ pages: z.ZodArray<z.ZodObject<{
521
+ html: z.ZodString;
522
+ }, z.core.$strip>>;
523
+ title: z.ZodOptional<z.ZodString>;
524
+ contents: z.ZodDefault<z.ZodBoolean>;
525
+ opens: z.ZodOptional<z.ZodEnum<{
526
+ any: "any";
527
+ recto: "recto";
528
+ verso: "verso";
529
+ }>>;
530
+ parents: z.ZodOptional<z.ZodObject<{
531
+ opener: z.ZodOptional<z.ZodString>;
532
+ recto: z.ZodOptional<z.ZodString>;
533
+ verso: z.ZodOptional<z.ZodString>;
534
+ blank: z.ZodOptional<z.ZodString>;
535
+ fixed: z.ZodOptional<z.ZodString>;
536
+ }, z.core.$strip>>;
537
+ kind: z.ZodLiteral<"designed">;
538
+ }, z.core.$strip>, z.ZodObject<{
539
+ template: z.ZodString;
540
+ pages: z.ZodArray<z.ZodObject<{
541
+ template: z.ZodOptional<z.ZodString>;
542
+ regions: z.ZodRecord<z.ZodString, z.ZodString>;
543
+ }, z.core.$strip>>;
468
544
  title: z.ZodOptional<z.ZodString>;
469
- html: z.ZodString;
470
545
  contents: z.ZodDefault<z.ZodBoolean>;
546
+ opens: z.ZodOptional<z.ZodEnum<{
547
+ any: "any";
548
+ recto: "recto";
549
+ verso: "verso";
550
+ }>>;
551
+ parents: z.ZodOptional<z.ZodObject<{
552
+ opener: z.ZodOptional<z.ZodString>;
553
+ recto: z.ZodOptional<z.ZodString>;
554
+ verso: z.ZodOptional<z.ZodString>;
555
+ blank: z.ZodOptional<z.ZodString>;
556
+ fixed: z.ZodOptional<z.ZodString>;
557
+ }, z.core.$strip>>;
558
+ kind: z.ZodLiteral<"templated">;
471
559
  }, z.core.$strip>, z.ZodObject<{
472
560
  kind: z.ZodLiteral<"contents">;
473
561
  title: z.ZodOptional<z.ZodString>;
474
- }, z.core.$strip>]>>>;
475
- chapters: z.ZodArray<z.ZodObject<{
562
+ opens: z.ZodOptional<z.ZodEnum<{
563
+ any: "any";
564
+ recto: "recto";
565
+ verso: "verso";
566
+ }>>;
567
+ parents: z.ZodOptional<z.ZodObject<{
568
+ opener: z.ZodOptional<z.ZodString>;
569
+ recto: z.ZodOptional<z.ZodString>;
570
+ verso: z.ZodOptional<z.ZodString>;
571
+ blank: z.ZodOptional<z.ZodString>;
572
+ fixed: z.ZodOptional<z.ZodString>;
573
+ }, z.core.$strip>>;
574
+ }, z.core.$strip>, z.ZodObject<{
575
+ title: z.ZodOptional<z.ZodString>;
576
+ contents: z.ZodDefault<z.ZodBoolean>;
577
+ opens: z.ZodOptional<z.ZodEnum<{
578
+ any: "any";
579
+ recto: "recto";
580
+ verso: "verso";
581
+ }>>;
582
+ parents: z.ZodOptional<z.ZodObject<{
583
+ opener: z.ZodOptional<z.ZodString>;
584
+ recto: z.ZodOptional<z.ZodString>;
585
+ verso: z.ZodOptional<z.ZodString>;
586
+ blank: z.ZodOptional<z.ZodString>;
587
+ fixed: z.ZodOptional<z.ZodString>;
588
+ }, z.core.$strip>>;
589
+ html: z.ZodString;
590
+ kind: z.ZodOptional<z.ZodLiteral<"front">>;
591
+ }, z.core.$strip>], "kind">>>;
592
+ chapters: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
593
+ pages: z.ZodArray<z.ZodObject<{
594
+ html: z.ZodString;
595
+ }, z.core.$strip>>;
596
+ title: z.ZodOptional<z.ZodString>;
597
+ contents: z.ZodDefault<z.ZodBoolean>;
598
+ opens: z.ZodOptional<z.ZodEnum<{
599
+ any: "any";
600
+ recto: "recto";
601
+ verso: "verso";
602
+ }>>;
603
+ parents: z.ZodOptional<z.ZodObject<{
604
+ opener: z.ZodOptional<z.ZodString>;
605
+ recto: z.ZodOptional<z.ZodString>;
606
+ verso: z.ZodOptional<z.ZodString>;
607
+ blank: z.ZodOptional<z.ZodString>;
608
+ fixed: z.ZodOptional<z.ZodString>;
609
+ }, z.core.$strip>>;
610
+ kind: z.ZodLiteral<"designed">;
611
+ }, z.core.$strip>, z.ZodObject<{
612
+ template: z.ZodString;
613
+ pages: z.ZodArray<z.ZodObject<{
614
+ template: z.ZodOptional<z.ZodString>;
615
+ regions: z.ZodRecord<z.ZodString, z.ZodString>;
616
+ }, z.core.$strip>>;
617
+ title: z.ZodOptional<z.ZodString>;
618
+ contents: z.ZodDefault<z.ZodBoolean>;
619
+ opens: z.ZodOptional<z.ZodEnum<{
620
+ any: "any";
621
+ recto: "recto";
622
+ verso: "verso";
623
+ }>>;
624
+ parents: z.ZodOptional<z.ZodObject<{
625
+ opener: z.ZodOptional<z.ZodString>;
626
+ recto: z.ZodOptional<z.ZodString>;
627
+ verso: z.ZodOptional<z.ZodString>;
628
+ blank: z.ZodOptional<z.ZodString>;
629
+ fixed: z.ZodOptional<z.ZodString>;
630
+ }, z.core.$strip>>;
631
+ kind: z.ZodLiteral<"templated">;
632
+ }, z.core.$strip>, z.ZodObject<{
476
633
  title: z.ZodString;
477
634
  html: z.ZodString;
478
635
  runningHead: z.ZodOptional<z.ZodString>;
479
- }, z.core.$strip>>;
636
+ opens: z.ZodOptional<z.ZodEnum<{
637
+ any: "any";
638
+ recto: "recto";
639
+ verso: "verso";
640
+ }>>;
641
+ parents: z.ZodOptional<z.ZodObject<{
642
+ opener: z.ZodOptional<z.ZodString>;
643
+ recto: z.ZodOptional<z.ZodString>;
644
+ verso: z.ZodOptional<z.ZodString>;
645
+ blank: z.ZodOptional<z.ZodString>;
646
+ fixed: z.ZodOptional<z.ZodString>;
647
+ }, z.core.$strip>>;
648
+ kind: z.ZodOptional<z.ZodLiteral<"chapter">>;
649
+ }, z.core.$strip>], "kind">>;
650
+ parentPages: z.ZodDefault<z.ZodArray<z.ZodObject<{
651
+ name: z.ZodString;
652
+ basedOn: z.ZodOptional<z.ZodString>;
653
+ margin: z.ZodOptional<z.ZodObject<{
654
+ top: z.ZodNumber;
655
+ bottom: z.ZodNumber;
656
+ inner: z.ZodNumber;
657
+ outer: z.ZodNumber;
658
+ }, z.core.$strip>>;
659
+ head: z.ZodOptional<z.ZodString>;
660
+ foot: z.ZodOptional<z.ZodString>;
661
+ }, z.core.$strip>>>;
662
+ templates: z.ZodDefault<z.ZodArray<z.ZodObject<{
663
+ name: z.ZodString;
664
+ html: z.ZodString;
665
+ parents: z.ZodOptional<z.ZodObject<{
666
+ opener: z.ZodOptional<z.ZodString>;
667
+ recto: z.ZodOptional<z.ZodString>;
668
+ verso: z.ZodOptional<z.ZodString>;
669
+ blank: z.ZodOptional<z.ZodString>;
670
+ fixed: z.ZodOptional<z.ZodString>;
671
+ }, z.core.$strip>>;
672
+ }, z.core.$strip>>>;
673
+ slots: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodObject<{
674
+ key: z.ZodString;
675
+ label: z.ZodString;
676
+ type: z.ZodEnum<{
677
+ text: "text";
678
+ phone: "phone";
679
+ email: "email";
680
+ link: "link";
681
+ qr: "qr";
682
+ image: "image";
683
+ }>;
684
+ required: z.ZodDefault<z.ZodBoolean>;
685
+ placeholder: z.ZodOptional<z.ZodString>;
686
+ overflow: z.ZodDefault<z.ZodEnum<{
687
+ refuse: "refuse";
688
+ shrink: "shrink";
689
+ truncate: "truncate";
690
+ wrap: "wrap";
691
+ }>>;
692
+ minSize: z.ZodOptional<z.ZodNumber>;
693
+ }, z.core.$strip>, z.ZodTransform<{
694
+ key: string;
695
+ label: string;
696
+ type: "text" | "phone" | "email" | "link" | "qr" | "image";
697
+ required: boolean;
698
+ overflow: "refuse" | "shrink" | "truncate" | "wrap";
699
+ placeholder?: string | undefined;
700
+ minSize?: number | undefined;
701
+ }, {
702
+ key: string;
703
+ label: string;
704
+ type: "text" | "phone" | "email" | "link" | "qr" | "image";
705
+ required: boolean;
706
+ overflow: "refuse" | "shrink" | "truncate" | "wrap";
707
+ placeholder?: string | undefined;
708
+ minSize?: number | undefined;
709
+ }>>>>;
710
+ fonts: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
711
+ app: z.ZodString;
712
+ }, z.core.$strip>, z.ZodObject<{
713
+ local: z.ZodString;
714
+ fallback: z.ZodString;
715
+ }, z.core.$strip>]>>>;
716
+ css: z.ZodOptional<z.ZodString>;
480
717
  numbering: z.ZodDefault<z.ZodObject<{
481
718
  frontMatter: z.ZodOptional<z.ZodEnum<{
482
719
  arabic: "arabic";
@@ -517,6 +754,24 @@ export declare function jsonSchemas(): {
517
754
  title: z.ZodOptional<z.ZodString>;
518
755
  }, z.core.$strip>>;
519
756
  rectoOpenings: z.ZodDefault<z.ZodBoolean>;
757
+ orphans: z.ZodDefault<z.ZodNumber>;
758
+ widows: z.ZodDefault<z.ZodNumber>;
759
+ runningHead: z.ZodDefault<z.ZodObject<{
760
+ recto: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"title">, z.ZodObject<{
761
+ mark: z.ZodString;
762
+ which: z.ZodEnum<{
763
+ first: "first";
764
+ last: "last";
765
+ }>;
766
+ }, z.core.$strip>]>>;
767
+ verso: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"title">, z.ZodObject<{
768
+ mark: z.ZodString;
769
+ which: z.ZodEnum<{
770
+ first: "first";
771
+ last: "last";
772
+ }>;
773
+ }, z.core.$strip>]>>;
774
+ }, z.core.$strip>>;
520
775
  contents: z.ZodDefault<z.ZodObject<{
521
776
  pageNumbers: z.ZodDefault<z.ZodBoolean>;
522
777
  depth: z.ZodDefault<z.ZodNumber>;
@@ -533,8 +788,85 @@ export declare function jsonSchemas(): {
533
788
  sandboxed: "sandboxed";
534
789
  }>>;
535
790
  lang: z.ZodOptional<z.ZodString>;
791
+ fonts: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
792
+ app: z.ZodString;
793
+ }, z.core.$strip>, z.ZodObject<{
794
+ local: z.ZodString;
795
+ fallback: z.ZodString;
796
+ }, z.core.$strip>]>>>;
797
+ css: z.ZodOptional<z.ZodString>;
536
798
  title: z.ZodOptional<z.ZodString>;
537
799
  html: z.ZodString;
800
+ pagination: z.ZodOptional<z.ZodObject<{
801
+ paper: z.ZodObject<{
802
+ width: z.ZodNumber;
803
+ height: z.ZodNumber;
804
+ }, z.core.$strip>;
805
+ margin: z.ZodObject<{
806
+ top: z.ZodNumber;
807
+ bottom: z.ZodNumber;
808
+ inner: z.ZodNumber;
809
+ outer: z.ZodNumber;
810
+ }, z.core.$strip>;
811
+ columnGap: z.ZodNumber;
812
+ direction: z.ZodEnum<{
813
+ ltr: "ltr";
814
+ rtl: "rtl";
815
+ }>;
816
+ numbering: z.ZodObject<{
817
+ frontMatter: z.ZodEnum<{
818
+ arabic: "arabic";
819
+ "roman-lower": "roman-lower";
820
+ "roman-upper": "roman-upper";
821
+ hebrew: "hebrew";
822
+ }>;
823
+ body: z.ZodEnum<{
824
+ arabic: "arabic";
825
+ "roman-lower": "roman-lower";
826
+ "roman-upper": "roman-upper";
827
+ hebrew: "hebrew";
828
+ }>;
829
+ }, z.core.$strip>;
830
+ rectoOpenings: z.ZodBoolean;
831
+ orphans: z.ZodNumber;
832
+ widows: z.ZodNumber;
833
+ parents: z.ZodArray<z.ZodObject<{
834
+ name: z.ZodString;
835
+ basedOn: z.ZodOptional<z.ZodString>;
836
+ margin: z.ZodOptional<z.ZodObject<{
837
+ top: z.ZodNumber;
838
+ bottom: z.ZodNumber;
839
+ inner: z.ZodNumber;
840
+ outer: z.ZodNumber;
841
+ }, z.core.$strip>>;
842
+ head: z.ZodOptional<z.ZodString>;
843
+ foot: z.ZodOptional<z.ZodString>;
844
+ }, z.core.$strip>>;
845
+ endnotePlacement: z.ZodEnum<{
846
+ chapter: "chapter";
847
+ book: "book";
848
+ }>;
849
+ contents: z.ZodObject<{
850
+ pageNumbers: z.ZodBoolean;
851
+ depth: z.ZodNumber;
852
+ }, z.core.$strip>;
853
+ runningHead: z.ZodObject<{
854
+ recto: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"title">, z.ZodObject<{
855
+ mark: z.ZodString;
856
+ which: z.ZodEnum<{
857
+ first: "first";
858
+ last: "last";
859
+ }>;
860
+ }, z.core.$strip>]>>;
861
+ verso: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"title">, z.ZodObject<{
862
+ mark: z.ZodString;
863
+ which: z.ZodEnum<{
864
+ first: "first";
865
+ last: "last";
866
+ }>;
867
+ }, z.core.$strip>]>>;
868
+ }, z.core.$strip>;
869
+ }, z.core.$strip>>;
538
870
  }, z.core.$strip>>;
539
871
  page: z.core.ZodStandardJSONSchemaPayload<z.ZodObject<{
540
872
  id: z.ZodOptional<z.ZodString>;
@@ -612,6 +944,46 @@ export declare function jsonSchemas(): {
612
944
  registration: "registration";
613
945
  }>>;
614
946
  }, z.core.$strip>>;
947
+ printedPages: z.ZodOptional<z.ZodObject<{
948
+ parents: z.ZodArray<z.ZodObject<{
949
+ name: z.ZodString;
950
+ basedOn: z.ZodOptional<z.ZodString>;
951
+ margin: z.ZodOptional<z.ZodObject<{
952
+ top: z.ZodNumber;
953
+ bottom: z.ZodNumber;
954
+ inner: z.ZodNumber;
955
+ outer: z.ZodNumber;
956
+ }, z.core.$strip>>;
957
+ head: z.ZodOptional<z.ZodString>;
958
+ foot: z.ZodOptional<z.ZodString>;
959
+ }, z.core.$strip>>;
960
+ rules: z.ZodPipe<z.ZodObject<{
961
+ every: z.ZodString;
962
+ first: z.ZodOptional<z.ZodString>;
963
+ recto: z.ZodOptional<z.ZodString>;
964
+ verso: z.ZodOptional<z.ZodString>;
965
+ last: z.ZodOptional<z.ZodString>;
966
+ }, z.core.$loose>, z.ZodTransform<{
967
+ last?: string | undefined;
968
+ verso?: string | undefined;
969
+ recto?: string | undefined;
970
+ first?: string | undefined;
971
+ every: string;
972
+ }, {
973
+ [x: string]: unknown;
974
+ every: string;
975
+ first?: string | undefined;
976
+ recto?: string | undefined;
977
+ verso?: string | undefined;
978
+ last?: string | undefined;
979
+ }>>;
980
+ numbering: z.ZodOptional<z.ZodEnum<{
981
+ arabic: "arabic";
982
+ "roman-lower": "roman-lower";
983
+ "roman-upper": "roman-upper";
984
+ hebrew: "hebrew";
985
+ }>>;
986
+ }, z.core.$strip>>;
615
987
  slots: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodObject<{
616
988
  key: z.ZodString;
617
989
  label: z.ZodString;
@@ -649,6 +1021,12 @@ export declare function jsonSchemas(): {
649
1021
  placeholder?: string | undefined;
650
1022
  minSize?: number | undefined;
651
1023
  }>>>>;
1024
+ fonts: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1025
+ app: z.ZodString;
1026
+ }, z.core.$strip>, z.ZodObject<{
1027
+ local: z.ZodString;
1028
+ fallback: z.ZodString;
1029
+ }, z.core.$strip>]>>>;
652
1030
  }, z.core.$strip>>;
653
1031
  lexicon: z.core.ZodStandardJSONSchemaPayload<z.ZodObject<{
654
1032
  entries: z.ZodArray<z.ZodObject<{
@@ -1336,6 +1714,102 @@ export declare function jsonSchemas(): {
1336
1714
  placeholder?: string | undefined;
1337
1715
  minSize?: number | undefined;
1338
1716
  }>>>;
1717
+ fontReference: z.core.ZodStandardJSONSchemaPayload<z.ZodUnion<readonly [z.ZodObject<{
1718
+ app: z.ZodString;
1719
+ }, z.core.$strip>, z.ZodObject<{
1720
+ local: z.ZodString;
1721
+ fallback: z.ZodString;
1722
+ }, z.core.$strip>]>>;
1723
+ fontReferenceInput: z.core.ZodStandardJSONSchemaPayload<z.ZodUnion<readonly [z.ZodObject<{
1724
+ app: z.ZodString;
1725
+ }, z.core.$strict>, z.ZodObject<{
1726
+ local: z.ZodString;
1727
+ fallback: z.ZodString;
1728
+ }, z.core.$strict>]>>;
1729
+ localFaceTransport: z.core.ZodStandardJSONSchemaPayload<z.ZodObject<{
1730
+ family: z.ZodString;
1731
+ format: z.ZodEnum<{
1732
+ woff2: "woff2";
1733
+ woff: "woff";
1734
+ truetype: "truetype";
1735
+ opentype: "opentype";
1736
+ }>;
1737
+ weight: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
1738
+ style: z.ZodOptional<z.ZodEnum<{
1739
+ normal: "normal";
1740
+ italic: "italic";
1741
+ }>>;
1742
+ data: z.ZodString;
1743
+ }, z.core.$strict>>;
1744
+ localFacesTransport: z.core.ZodStandardJSONSchemaPayload<z.ZodArray<z.ZodObject<{
1745
+ family: z.ZodString;
1746
+ format: z.ZodEnum<{
1747
+ woff2: "woff2";
1748
+ woff: "woff";
1749
+ truetype: "truetype";
1750
+ opentype: "opentype";
1751
+ }>;
1752
+ weight: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
1753
+ style: z.ZodOptional<z.ZodEnum<{
1754
+ normal: "normal";
1755
+ italic: "italic";
1756
+ }>>;
1757
+ data: z.ZodString;
1758
+ }, z.core.$strict>>>;
1759
+ motif: z.core.ZodStandardJSONSchemaPayload<z.ZodObject<{
1760
+ key: z.ZodString;
1761
+ revision: z.ZodString;
1762
+ label: z.ZodString;
1763
+ fields: z.ZodArray<z.ZodObject<{
1764
+ key: z.ZodString;
1765
+ label: z.ZodString;
1766
+ choices: z.ZodOptional<z.ZodArray<z.ZodString>>;
1767
+ default: z.ZodOptional<z.ZodString>;
1768
+ required: z.ZodDefault<z.ZodBoolean>;
1769
+ }, z.core.$strip>>;
1770
+ versions: z.ZodArray<z.ZodObject<{
1771
+ lang: z.ZodString;
1772
+ dir: z.ZodOptional<z.ZodEnum<{
1773
+ ltr: "ltr";
1774
+ rtl: "rtl";
1775
+ }>>;
1776
+ when: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1777
+ html: z.ZodString;
1778
+ }, z.core.$strip>>;
1779
+ fonts: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1780
+ app: z.ZodString;
1781
+ }, z.core.$strip>, z.ZodObject<{
1782
+ local: z.ZodString;
1783
+ fallback: z.ZodString;
1784
+ }, z.core.$strip>]>>>;
1785
+ }, z.core.$strip>>;
1786
+ motifInput: z.core.ZodStandardJSONSchemaPayload<z.ZodObject<{
1787
+ fields: z.ZodArray<z.ZodObject<{
1788
+ key: z.ZodString;
1789
+ label: z.ZodString;
1790
+ choices: z.ZodOptional<z.ZodArray<z.ZodString>>;
1791
+ default: z.ZodOptional<z.ZodString>;
1792
+ required: z.ZodDefault<z.ZodBoolean>;
1793
+ }, z.core.$strict>>;
1794
+ versions: z.ZodArray<z.ZodObject<{
1795
+ lang: z.ZodString;
1796
+ dir: z.ZodOptional<z.ZodEnum<{
1797
+ ltr: "ltr";
1798
+ rtl: "rtl";
1799
+ }>>;
1800
+ when: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1801
+ html: z.ZodString;
1802
+ }, z.core.$strict>>;
1803
+ fonts: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1804
+ app: z.ZodString;
1805
+ }, z.core.$strict>, z.ZodObject<{
1806
+ local: z.ZodString;
1807
+ fallback: z.ZodString;
1808
+ }, z.core.$strict>]>>>;
1809
+ key: z.ZodString;
1810
+ revision: z.ZodString;
1811
+ label: z.ZodString;
1812
+ }, z.core.$strict>>;
1339
1813
  };
1340
1814
  //#endregion
1341
- export { Annotation, type ArrangeOptions, Board, type BoardInput, BoardItem, type BoardItemAnchor, BoardLabel, type BoardListingGroup, BoardSection, type BoardShapes, type BoardView, Book, BookContents, BookFrontMatterEntry, type BookInput, BookMode, BookPage, BookSection, BookView, type BookViewInput, Box, CUSTOM_PAPER_MAX_MM, CUSTOM_PAPER_MIN_MM, Chapter, Cue, DECK_SIZE, DEFAULT_TRANSITION_DURATION_MS, Deck, type DeckFromSlidesOptions, type DeckInput, type DeckLimits, Direction, FOLD_DASH_OFF_MM, FOLD_DASH_ON_MM, FOLD_KINDS, FOLD_TUCK_IN_MM, Fill, FillValues, type FoldKind, GridCell, type GridDropTarget, ImageFit, type Imposed, type ImpositionMarkEdge, type ImpositionSideMarks, Lexicon, MAKE_ROOM_LIMIT, MARK_GAP_MM, MARK_LENGTH_MM, MAX_BOARD_ZOOM, 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, Manifest, type MarkSegment, type MillimeterEdges, NAMED_PAPERS, type NamedPaper, type NamedPaperMetadata, Narration, NoteMarker, NumberSystem, ORIENTATIONS, type OmittedImpositionMark, Orientation, PAPER_FIT_TOLERANCE_MM, PAPER_GROUPS, PAPER_METADATA, PAPER_MM, PAPER_UNITS, PLAYBACK_MODES, PX_PER_MM, type PageFit, type PagePlacementKind, type PagePlacementLayout, Paper, type PaperBox, type PaperGroup, PaperUnit, type Placement, Playback, type PlaybackMode, Point, PrintSetting, PrintSettingInput, PronunciationEntry, PublishedShot, SECTION_GAP, SECTION_MIN_SIZE, SECTION_PADDING, SECTION_TITLE_ROOM, SHOT_KEY, SLOT_TYPES, Scripts, Shot, type ShotUse, Size, Slide, SlideContent, type SlideRow, SlotDeclaration, SlotDeclarationInput, SlotKey, SlotReport, SlotSource, SlotState, SlotType, SlotValue, Slots, SlotsInput, SlotsOptions, TextDirection, Transition, TransitionInput, Word, type ZoomBounds, addItem, annotationCueIssues, arrange, assignMembership, boardBounds, boardListing, boardListingIsEmpty, boardToScreen, deckFromSlides, deriveSectionCells, exceedsLimits, firstStrongDirection, fitPage, fitSection, fitTouchedSections, foldCellPages, foldColumns, foldForSearch, foldPageCountMessage, foldPanelMap, formatNumber, fromMillimeters, gridDropMarkerBox, gridDropTarget, impose, impositionMarks, insertIntoGrid, isBookContents, isHebrew, itemAt, itemHeight, languageDirection, layoutSection, lexiconVersion, makeRoom, mergeSlotDeclarations, mirrorPlacement, moveItems, moveSection, nameMatches, noteMarker, noteMarkerIssues, pagePlacementLayout, paperPixels, parsePlayback, printBoxes, printPadding, printProperties, removeFromGrid, removeItems, resizeItem, resolveDirection, revealView, roundMillimeters, screenToBoard, settleBoard, sheetMm, shotsUsed, toMillimeters, visibleItems, zoomAt, zoomToFit };
1815
+ export { APP_FONT_NAME, APP_FONT_NAME_MESSAGE, Annotation, type AppFont, type ArrangeOptions, BOOK_FURNITURE, BOOK_PARENT_NAMES, Board, type BoardInput, BoardItem, type BoardItemAnchor, BoardLabel, type BoardListingGroup, BoardSection, type BoardShapes, type BoardView, Book, BookChapterEntry, BookContents, BookFrontMatterEntry, BookFurniture, type BookInput, BookMode, BookOpens, BookPage, BookRunningHead, BookRunningHeadSource, BookSection, BookSectionParents, BookTemplate, BookView, type BookViewInput, BookViewPagination, Box, CUSTOM_PAPER_MAX_MM, CUSTOM_PAPER_MIN_MM, Chapter, Cue, DECK_SIZE, DEFAULT_TRANSITION_DURATION_MS, Deck, type DeckFromSlidesOptions, type DeckInput, type DeckLimits, DesignedPage, DesignedSection, Direction, FOLD_DASH_OFF_MM, FOLD_DASH_ON_MM, FOLD_KINDS, FOLD_TUCK_IN_MM, FONT_FORMATS, FONT_GENERICS, Fill, FillValues, type FoldKind, type FontFace, type FontFormat, type FontGeneric, FontReference, FontReferenceInput, type FontSource, GridCell, type GridDropTarget, ImageFit, type Imposed, type ImpositionMarkEdge, type ImpositionSideMarks, LIBRARY_MOTIF_PREFIX, Lexicon, LocalFaceTransport, type LocalFacesInput, LocalFacesTransport, MAKE_ROOM_LIMIT, MARK_GAP_MM, MARK_LENGTH_MM, MAX_BOARD_ZOOM, 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, type MarkSegment, type MillimeterEdges, Motif, MotifField, MotifFieldInput, MotifInput, MotifPlacement, MotifSource, MotifVersion, MotifVersionChoice, MotifVersionInput, NAMED_PAPERS, type NamedPaper, type NamedPaperMetadata, Narration, NoteMarker, NumberSystem, ORIENTATIONS, type OmittedImpositionMark, 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, type PageFit, type PagePlacementKind, type PagePlacementLayout, Paper, type PaperBox, type PaperGroup, PaperUnit, ParentPage, ParentPageMargin, type Placement, Playback, type PlaybackMode, Point, PrintSetting, PrintSettingInput, PrintedPageRole, PrintedPageRules, PrintedPages, PronunciationEntry, PublishedShot, REGION_NAME, ResolvedParentPage, SECTION_GAP, SECTION_MIN_SIZE, SECTION_PADDING, SECTION_TITLE_ROOM, SHOT_KEY, SLOT_TYPES, Scripts, Shot, type ShotUse, Size, Slide, SlideContent, type SlideRow, SlotDeclaration, SlotDeclarationInput, SlotKey, SlotReport, SlotSource, SlotState, SlotType, SlotValue, Slots, SlotsInput, SlotsOptions, TemplatedPage, TemplatedSection, TextDirection, Transition, TransitionInput, Word, type ZoomBounds, 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, 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 };
package/dist/index.js CHANGED
@@ -1,13 +1,17 @@
1
- import { Direction, TextDirection, firstStrongDirection, languageDirection, resolveDirection } from "./direction.js";
1
+ import { Direction, TextDirection, firstStrongDirection, languageDirection, resolveDirection, textDirection } from "./direction.js";
2
2
  import { Scripts } from "./scripts.js";
3
3
  import { FillValues, SLOT_TYPES, SlotDeclaration, SlotDeclarationInput, SlotKey, SlotType, SlotValue, Slots, SlotsInput, mergeSlotDeclarations } from "./slots.js";
4
4
  import { MAX_SLIDE_TIMING_MS } from "./timing.js";
5
5
  import { DEFAULT_TRANSITION_DURATION_MS, MAX_TRANSITION_DURATION_MS, MIN_TRANSITION_DURATION_MS, Transition } from "./transition.js";
6
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";
7
7
  import { Board, BoardItem, BoardLabel, BoardSection, GridCell } from "./board.js";
8
- import { NoteMarker, NumberSystem, formatNumber, noteMarker } from "./numbering.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";
9
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";
10
- import { Book, BookContents, BookFrontMatterEntry, BookMode, BookPage, BookSection, BookShape, BookView, Chapter, isBookContents, isHebrew, noteMarkerIssues } from "./book.js";
14
+ import { Book, BookMode, BookPage, BookRunningHead, BookRunningHeadSource, BookShape, BookView, BookViewPagination, noteMarkerIssues, resolveBookPagination } from "./book.js";
11
15
  import { PAPER_FIT_TOLERANCE_MM, refuseOverflow, refuseSafe } from "./imposition-fit.js";
12
16
  import { FOLD_KINDS, FOLD_TUCK_IN_MM, foldCellPages, foldColumns, foldPageCountMessage, foldPanelMap, refineFold, resolveImposition } from "./fold.js";
13
17
  import { Lexicon, PronunciationEntry, lexiconVersion } from "./lexicon.js";
@@ -20,6 +24,7 @@ import { assignMembership, fitSection, fitTouchedSections, makeRoom, settleBoard
20
24
  import { deckFromSlides } from "./deck-from-slides.js";
21
25
  import { fitPage, impose, mirrorPlacement, pagePlacementLayout } from "./imposition.js";
22
26
  import { MIN_MARK_LENGTH_MM, impositionMarks } from "./imposition-marks.js";
27
+ import { isPrintedPageIdentityImposition } from "./printed-page-imposition.js";
23
28
  import { shotsUsed } from "./shots-used.js";
24
29
  import { z } from "zod";
25
30
  //#region src/index.ts
@@ -186,7 +191,14 @@ const Page = z.object({
186
191
  dir: Direction.optional(),
187
192
  lang: z.string().optional(),
188
193
  print: Print.optional(),
189
- slots: Slots.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
+ });
190
202
  });
191
203
  function jsonSchemas() {
192
204
  return {
@@ -202,8 +214,14 @@ function jsonSchemas() {
202
214
  printSetting: z.toJSONSchema(PrintSetting, { io: "input" }),
203
215
  printSettingInput: z.toJSONSchema(PrintSettingInput, { io: "input" }),
204
216
  slotDeclaration: z.toJSONSchema(SlotDeclaration, { io: "input" }),
205
- slotDeclarationInput: z.toJSONSchema(SlotDeclarationInput, { 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" })
206
224
  };
207
225
  }
208
226
  //#endregion
209
- export { Annotation, Board, BoardItem, BoardLabel, BoardSection, Book, BookContents, BookFrontMatterEntry, BookMode, BookPage, BookSection, BookView, Box, CUSTOM_PAPER_MAX_MM, CUSTOM_PAPER_MIN_MM, Chapter, Cue, DECK_SIZE, DEFAULT_TRANSITION_DURATION_MS, Deck, Direction, FOLD_DASH_OFF_MM, FOLD_DASH_ON_MM, FOLD_KINDS, FOLD_TUCK_IN_MM, FillValues, GridCell, ImageFit, Imposition, Lexicon, 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, Manifest, Margin, MarkColor, NAMED_PAPERS, Narration, NoteMarker, NumberSystem, ORIENTATIONS, Orientation, PAPER_FIT_TOLERANCE_MM, PAPER_GROUPS, PAPER_METADATA, PAPER_MM, PAPER_UNITS, PLAYBACK_MODES, PX_PER_MM, Page, PageSize, Paper, PaperUnit, Playback, Point, Print, PrintSetting, PrintSettingInput, PronunciationEntry, PublishedShot, 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, TextDirection, Transition, Word, addItem, annotationCueIssues, arrange, assignMembership, boardBounds, boardListing, boardListingIsEmpty, boardToScreen, deckFromSlides, deriveSectionCells, exceedsLimits, firstStrongDirection, fitPage, fitSection, fitTouchedSections, foldCellPages, foldColumns, foldForSearch, foldPageCountMessage, foldPanelMap, formatNumber, fromMillimeters, gridDropMarkerBox, gridDropTarget, impose, impositionMarks, insertIntoGrid, isBookContents, isHebrew, itemAt, itemHeight, jsonSchemas, languageDirection, layoutSection, lexiconVersion, makeRoom, mergeSlotDeclarations, mirrorPlacement, moveItems, moveSection, nameMatches, noteMarker, noteMarkerIssues, pagePlacementLayout, paperPixels, parsePlayback, printBoxes, printPadding, printProperties, removeFromGrid, removeItems, resizeItem, resolveDirection, revealView, roundMillimeters, screenToBoard, settleBoard, sheetMm, shotsUsed, toMillimeters, visibleItems, zoomAt, zoomToFit };
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 };