postext 1.63.3 → 1.63.4
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/bundle/codec/files.d.ts +20 -0
- package/dist/bundle/codec/files.d.ts.map +1 -0
- package/dist/bundle/codec/files.js +92 -0
- package/dist/bundle/codec/files.js.map +1 -0
- package/dist/bundle/codec/plan.d.ts +114 -0
- package/dist/bundle/codec/plan.d.ts.map +1 -0
- package/dist/bundle/codec/plan.js +367 -0
- package/dist/bundle/codec/plan.js.map +1 -0
- package/dist/bundle/codec/read.d.ts +92 -0
- package/dist/bundle/codec/read.d.ts.map +1 -0
- package/dist/bundle/codec/read.js +249 -0
- package/dist/bundle/codec/read.js.map +1 -0
- package/dist/bundle/codec.d.ts +6 -218
- package/dist/bundle/codec.d.ts.map +1 -1
- package/dist/bundle/codec.js +3 -699
- package/dist/bundle/codec.js.map +1 -1
- package/dist/bundle/manifest/entries.d.ts +25 -0
- package/dist/bundle/manifest/entries.d.ts.map +1 -0
- package/dist/bundle/manifest/entries.js +108 -0
- package/dist/bundle/manifest/entries.js.map +1 -0
- package/dist/bundle/manifest/fileNames.d.ts +38 -0
- package/dist/bundle/manifest/fileNames.d.ts.map +1 -0
- package/dist/bundle/manifest/fileNames.js +143 -0
- package/dist/bundle/manifest/fileNames.js.map +1 -0
- package/dist/bundle/manifest/locale.d.ts +61 -0
- package/dist/bundle/manifest/locale.d.ts.map +1 -0
- package/dist/bundle/manifest/locale.js +216 -0
- package/dist/bundle/manifest/locale.js.map +1 -0
- package/dist/bundle/manifest/sizes.d.ts +18 -0
- package/dist/bundle/manifest/sizes.d.ts.map +1 -0
- package/dist/bundle/manifest/sizes.js +257 -0
- package/dist/bundle/manifest/sizes.js.map +1 -0
- package/dist/bundle/manifest/validation.d.ts +10 -0
- package/dist/bundle/manifest/validation.d.ts.map +1 -0
- package/dist/bundle/manifest/validation.js +114 -0
- package/dist/bundle/manifest/validation.js.map +1 -0
- package/dist/bundle/manifest.d.ts +7 -139
- package/dist/bundle/manifest.d.ts.map +1 -1
- package/dist/bundle/manifest.js +5 -829
- package/dist/bundle/manifest.js.map +1 -1
- package/dist/canvas-backend/blockRender/block.d.ts +5 -0
- package/dist/canvas-backend/blockRender/block.d.ts.map +1 -0
- package/dist/canvas-backend/blockRender/block.js +240 -0
- package/dist/canvas-backend/blockRender/block.js.map +1 -0
- package/dist/canvas-backend/blockRender/lines.d.ts +16 -0
- package/dist/canvas-backend/blockRender/lines.d.ts.map +1 -0
- package/dist/canvas-backend/blockRender/lines.js +192 -0
- package/dist/canvas-backend/blockRender/lines.js.map +1 -0
- package/dist/canvas-backend/blockRender/segments.d.ts +54 -0
- package/dist/canvas-backend/blockRender/segments.d.ts.map +1 -0
- package/dist/canvas-backend/blockRender/segments.js +311 -0
- package/dist/canvas-backend/blockRender/segments.js.map +1 -0
- package/dist/canvas-backend/blockRender.d.ts +2 -7
- package/dist/canvas-backend/blockRender.d.ts.map +1 -1
- package/dist/canvas-backend/blockRender.js +3 -727
- package/dist/canvas-backend/blockRender.js.map +1 -1
- package/dist/canvas-backend/renderResourceBlock/block.d.ts +9 -0
- package/dist/canvas-backend/renderResourceBlock/block.d.ts.map +1 -0
- package/dist/canvas-backend/renderResourceBlock/block.js +185 -0
- package/dist/canvas-backend/renderResourceBlock/block.js.map +1 -0
- package/dist/canvas-backend/renderResourceBlock/images.d.ts +67 -0
- package/dist/canvas-backend/renderResourceBlock/images.d.ts.map +1 -0
- package/dist/canvas-backend/renderResourceBlock/images.js +224 -0
- package/dist/canvas-backend/renderResourceBlock/images.js.map +1 -0
- package/dist/canvas-backend/renderResourceBlock/overlays.d.ts +10 -0
- package/dist/canvas-backend/renderResourceBlock/overlays.d.ts.map +1 -0
- package/dist/canvas-backend/renderResourceBlock/overlays.js +107 -0
- package/dist/canvas-backend/renderResourceBlock/overlays.js.map +1 -0
- package/dist/canvas-backend/renderResourceBlock/table.d.ts +3 -0
- package/dist/canvas-backend/renderResourceBlock/table.d.ts.map +1 -0
- package/dist/canvas-backend/renderResourceBlock/table.js +143 -0
- package/dist/canvas-backend/renderResourceBlock/table.js.map +1 -0
- package/dist/canvas-backend/renderResourceBlock/text.d.ts +11 -0
- package/dist/canvas-backend/renderResourceBlock/text.d.ts.map +1 -0
- package/dist/canvas-backend/renderResourceBlock/text.js +141 -0
- package/dist/canvas-backend/renderResourceBlock/text.js.map +1 -0
- package/dist/canvas-backend/renderResourceBlock.d.ts +4 -81
- package/dist/canvas-backend/renderResourceBlock.d.ts.map +1 -1
- package/dist/canvas-backend/renderResourceBlock.js +3 -777
- package/dist/canvas-backend/renderResourceBlock.js.map +1 -1
- package/dist/canvas-backend/verticalText/alternates.d.ts +47 -0
- package/dist/canvas-backend/verticalText/alternates.d.ts.map +1 -0
- package/dist/canvas-backend/verticalText/alternates.js +240 -0
- package/dist/canvas-backend/verticalText/alternates.js.map +1 -0
- package/dist/canvas-backend/verticalText/painter.d.ts +58 -0
- package/dist/canvas-backend/verticalText/painter.d.ts.map +1 -0
- package/dist/canvas-backend/verticalText/painter.js +329 -0
- package/dist/canvas-backend/verticalText/painter.js.map +1 -0
- package/dist/canvas-backend/verticalText.d.ts +4 -101
- package/dist/canvas-backend/verticalText.d.ts.map +1 -1
- package/dist/canvas-backend/verticalText.js +2 -562
- package/dist/canvas-backend/verticalText.js.map +1 -1
- package/dist/checks/contrast/colours.d.ts +64 -0
- package/dist/checks/contrast/colours.d.ts.map +1 -0
- package/dist/checks/contrast/colours.js +101 -0
- package/dist/checks/contrast/colours.js.map +1 -0
- package/dist/checks/contrast/document.d.ts +17 -0
- package/dist/checks/contrast/document.d.ts.map +1 -0
- package/dist/checks/contrast/document.js +132 -0
- package/dist/checks/contrast/document.js.map +1 -0
- package/dist/checks/contrast/pairs.d.ts +10 -0
- package/dist/checks/contrast/pairs.d.ts.map +1 -0
- package/dist/checks/contrast/pairs.js +462 -0
- package/dist/checks/contrast/pairs.js.map +1 -0
- package/dist/checks/contrast/types.d.ts +114 -0
- package/dist/checks/contrast/types.d.ts.map +1 -0
- package/dist/checks/contrast/types.js +2 -0
- package/dist/checks/contrast/types.js.map +1 -0
- package/dist/checks/contrast.d.ts +5 -170
- package/dist/checks/contrast.d.ts.map +1 -1
- package/dist/checks/contrast.js +3 -686
- package/dist/checks/contrast.js.map +1 -1
- package/dist/comics/layoutPage/letterPanels.d.ts +38 -0
- package/dist/comics/layoutPage/letterPanels.d.ts.map +1 -0
- package/dist/comics/layoutPage/letterPanels.js +146 -0
- package/dist/comics/layoutPage/letterPanels.js.map +1 -0
- package/dist/comics/layoutPage/letteringStyle.d.ts +31 -0
- package/dist/comics/layoutPage/letteringStyle.d.ts.map +1 -0
- package/dist/comics/layoutPage/letteringStyle.js +88 -0
- package/dist/comics/layoutPage/letteringStyle.js.map +1 -0
- package/dist/comics/layoutPage/records.d.ts +25 -0
- package/dist/comics/layoutPage/records.d.ts.map +1 -0
- package/dist/comics/layoutPage/records.js +36 -0
- package/dist/comics/layoutPage/records.js.map +1 -0
- package/dist/comics/layoutPage/settings.d.ts +64 -0
- package/dist/comics/layoutPage/settings.d.ts.map +1 -0
- package/dist/comics/layoutPage/settings.js +168 -0
- package/dist/comics/layoutPage/settings.js.map +1 -0
- package/dist/comics/layoutPage/zones.d.ts +79 -0
- package/dist/comics/layoutPage/zones.d.ts.map +1 -0
- package/dist/comics/layoutPage/zones.js +179 -0
- package/dist/comics/layoutPage/zones.js.map +1 -0
- package/dist/comics/layoutPage.d.ts +8 -113
- package/dist/comics/layoutPage.d.ts.map +1 -1
- package/dist/comics/layoutPage.js +12 -603
- package/dist/comics/layoutPage.js.map +1 -1
- package/dist/comics/lettering/letter/variants.d.ts +28 -0
- package/dist/comics/lettering/letter/variants.d.ts.map +1 -0
- package/dist/comics/lettering/letter/variants.js +269 -0
- package/dist/comics/lettering/letter/variants.js.map +1 -0
- package/dist/comics/lettering/letter.d.ts +32 -1
- package/dist/comics/lettering/letter.d.ts.map +1 -1
- package/dist/comics/lettering/letter.js +8 -270
- package/dist/comics/lettering/letter.js.map +1 -1
- package/dist/comics/lettering/shape-text/breaks.d.ts +53 -0
- package/dist/comics/lettering/shape-text/breaks.d.ts.map +1 -0
- package/dist/comics/lettering/shape-text/breaks.js +217 -0
- package/dist/comics/lettering/shape-text/breaks.js.map +1 -0
- package/dist/comics/lettering/shape-text/measure.d.ts +20 -0
- package/dist/comics/lettering/shape-text/measure.d.ts.map +1 -0
- package/dist/comics/lettering/shape-text/measure.js +160 -0
- package/dist/comics/lettering/shape-text/measure.js.map +1 -0
- package/dist/comics/lettering/shape-text/ruby.d.ts +28 -0
- package/dist/comics/lettering/shape-text/ruby.d.ts.map +1 -0
- package/dist/comics/lettering/shape-text/ruby.js +173 -0
- package/dist/comics/lettering/shape-text/ruby.js.map +1 -0
- package/dist/comics/lettering/shape-text.d.ts +7 -6
- package/dist/comics/lettering/shape-text.d.ts.map +1 -1
- package/dist/comics/lettering/shape-text.js +10 -536
- package/dist/comics/lettering/shape-text.js.map +1 -1
- package/dist/composed/overlap/ink.d.ts +48 -0
- package/dist/composed/overlap/ink.d.ts.map +1 -0
- package/dist/composed/overlap/ink.js +180 -0
- package/dist/composed/overlap/ink.js.map +1 -0
- package/dist/composed/overlap/moves.d.ts +97 -0
- package/dist/composed/overlap/moves.d.ts.map +1 -0
- package/dist/composed/overlap/moves.js +191 -0
- package/dist/composed/overlap/moves.js.map +1 -0
- package/dist/composed/overlap.d.ts +2 -2
- package/dist/composed/overlap.d.ts.map +1 -1
- package/dist/composed/overlap.js +3 -367
- package/dist/composed/overlap.js.map +1 -1
- package/dist/composed/sourceMap/chains.d.ts +27 -0
- package/dist/composed/sourceMap/chains.d.ts.map +1 -0
- package/dist/composed/sourceMap/chains.js +176 -0
- package/dist/composed/sourceMap/chains.js.map +1 -0
- package/dist/composed/sourceMap/frames.d.ts +19 -0
- package/dist/composed/sourceMap/frames.d.ts.map +1 -0
- package/dist/composed/sourceMap/frames.js +143 -0
- package/dist/composed/sourceMap/frames.js.map +1 -0
- package/dist/composed/sourceMap/text.d.ts +52 -0
- package/dist/composed/sourceMap/text.d.ts.map +1 -0
- package/dist/composed/sourceMap/text.js +200 -0
- package/dist/composed/sourceMap/text.js.map +1 -0
- package/dist/composed/sourceMap.d.ts +22 -1
- package/dist/composed/sourceMap.d.ts.map +1 -1
- package/dist/composed/sourceMap.js +7 -511
- package/dist/composed/sourceMap.js.map +1 -1
- package/dist/composed/types/frames.d.ts +290 -0
- package/dist/composed/types/frames.d.ts.map +1 -0
- package/dist/composed/types/frames.js +2 -0
- package/dist/composed/types/frames.js.map +1 -0
- package/dist/composed/types/resolved.d.ts +207 -0
- package/dist/composed/types/resolved.d.ts.map +1 -0
- package/dist/composed/types/resolved.js +2 -0
- package/dist/composed/types/resolved.js.map +1 -0
- package/dist/composed/types/templates.d.ts +152 -0
- package/dist/composed/types/templates.d.ts.map +1 -0
- package/dist/composed/types/templates.js +2 -0
- package/dist/composed/types/templates.js.map +1 -0
- package/dist/composed/types.d.ts +3 -641
- package/dist/composed/types.d.ts.map +1 -1
- package/dist/composed/types.js +8 -0
- package/dist/composed/types.js.map +1 -1
- package/dist/defaults/boxes/calloutStyles/inherit.d.ts +15 -0
- package/dist/defaults/boxes/calloutStyles/inherit.d.ts.map +1 -0
- package/dist/defaults/boxes/calloutStyles/inherit.js +64 -0
- package/dist/defaults/boxes/calloutStyles/inherit.js.map +1 -0
- package/dist/defaults/boxes/calloutStyles/resolve.d.ts +7 -0
- package/dist/defaults/boxes/calloutStyles/resolve.d.ts.map +1 -0
- package/dist/defaults/boxes/calloutStyles/resolve.js +223 -0
- package/dist/defaults/boxes/calloutStyles/resolve.js.map +1 -0
- package/dist/defaults/boxes/calloutStyles/statics.d.ts +136 -0
- package/dist/defaults/boxes/calloutStyles/statics.d.ts.map +1 -0
- package/dist/defaults/boxes/calloutStyles/statics.js +140 -0
- package/dist/defaults/boxes/calloutStyles/statics.js.map +1 -0
- package/dist/defaults/boxes/calloutStyles/strip.d.ts +10 -0
- package/dist/defaults/boxes/calloutStyles/strip.d.ts.map +1 -0
- package/dist/defaults/boxes/calloutStyles/strip.js +336 -0
- package/dist/defaults/boxes/calloutStyles/strip.js.map +1 -0
- package/dist/defaults/boxes/calloutStyles.d.ts +4 -148
- package/dist/defaults/boxes/calloutStyles.d.ts.map +1 -1
- package/dist/defaults/boxes/calloutStyles.js +4 -749
- package/dist/defaults/boxes/calloutStyles.js.map +1 -1
- package/dist/defaults/structure/headerFooter/defaults.d.ts +34 -0
- package/dist/defaults/structure/headerFooter/defaults.d.ts.map +1 -0
- package/dist/defaults/structure/headerFooter/defaults.js +162 -0
- package/dist/defaults/structure/headerFooter/defaults.js.map +1 -0
- package/dist/defaults/structure/headerFooter/legacy.d.ts +8 -0
- package/dist/defaults/structure/headerFooter/legacy.d.ts.map +1 -0
- package/dist/defaults/structure/headerFooter/legacy.js +124 -0
- package/dist/defaults/structure/headerFooter/legacy.js.map +1 -0
- package/dist/defaults/structure/headerFooter/resolve.d.ts +29 -0
- package/dist/defaults/structure/headerFooter/resolve.d.ts.map +1 -0
- package/dist/defaults/structure/headerFooter/resolve.js +231 -0
- package/dist/defaults/structure/headerFooter/resolve.js.map +1 -0
- package/dist/defaults/structure/headerFooter.d.ts +6 -58
- package/dist/defaults/structure/headerFooter.d.ts.map +1 -1
- package/dist/defaults/structure/headerFooter.js +5 -510
- package/dist/defaults/structure/headerFooter.js.map +1 -1
- package/dist/defaults/structure/headings/defaults.d.ts +46 -0
- package/dist/defaults/structure/headings/defaults.d.ts.map +1 -0
- package/dist/defaults/structure/headings/defaults.js +100 -0
- package/dist/defaults/structure/headings/defaults.js.map +1 -0
- package/dist/defaults/structure/headings/resolve.d.ts +17 -0
- package/dist/defaults/structure/headings/resolve.d.ts.map +1 -0
- package/dist/defaults/structure/headings/resolve.js +179 -0
- package/dist/defaults/structure/headings/resolve.js.map +1 -0
- package/dist/defaults/structure/headings/strip.d.ts +9 -0
- package/dist/defaults/structure/headings/strip.d.ts.map +1 -0
- package/dist/defaults/structure/headings/strip.js +323 -0
- package/dist/defaults/structure/headings/strip.js.map +1 -0
- package/dist/defaults/structure/headings.d.ts +3 -62
- package/dist/defaults/structure/headings.d.ts.map +1 -1
- package/dist/defaults/structure/headings.js +3 -594
- package/dist/defaults/structure/headings.js.map +1 -1
- package/dist/defaults/text/bodyText/arabic.d.ts +35 -0
- package/dist/defaults/text/bodyText/arabic.d.ts.map +1 -0
- package/dist/defaults/text/bodyText/arabic.js +85 -0
- package/dist/defaults/text/bodyText/arabic.js.map +1 -0
- package/dist/defaults/text/bodyText/defaults.d.ts +31 -0
- package/dist/defaults/text/bodyText/defaults.d.ts.map +1 -0
- package/dist/defaults/text/bodyText/defaults.js +128 -0
- package/dist/defaults/text/bodyText/defaults.js.map +1 -0
- package/dist/defaults/text/bodyText/resolve.d.ts +12 -0
- package/dist/defaults/text/bodyText/resolve.d.ts.map +1 -0
- package/dist/defaults/text/bodyText/resolve.js +171 -0
- package/dist/defaults/text/bodyText/resolve.js.map +1 -0
- package/dist/defaults/text/bodyText/strip.d.ts +12 -0
- package/dist/defaults/text/bodyText/strip.d.ts.map +1 -0
- package/dist/defaults/text/bodyText/strip.js +305 -0
- package/dist/defaults/text/bodyText/strip.js.map +1 -0
- package/dist/defaults/text/bodyText.d.ts +4 -70
- package/dist/defaults/text/bodyText.d.ts.map +1 -1
- package/dist/defaults/text/bodyText.js +4 -673
- package/dist/defaults/text/bodyText.js.map +1 -1
- package/dist/design/richText/ellipsis.d.ts +26 -0
- package/dist/design/richText/ellipsis.d.ts.map +1 -0
- package/dist/design/richText/ellipsis.js +173 -0
- package/dist/design/richText/ellipsis.js.map +1 -0
- package/dist/design/richText/measure.d.ts +51 -0
- package/dist/design/richText/measure.d.ts.map +1 -0
- package/dist/design/richText/measure.js +176 -0
- package/dist/design/richText/measure.js.map +1 -0
- package/dist/design/richText/parse.d.ts +120 -0
- package/dist/design/richText/parse.d.ts.map +1 -0
- package/dist/design/richText/parse.js +190 -0
- package/dist/design/richText/parse.js.map +1 -0
- package/dist/design/richText/wrap.d.ts +13 -0
- package/dist/design/richText/wrap.d.ts.map +1 -0
- package/dist/design/richText/wrap.js +176 -0
- package/dist/design/richText/wrap.js.map +1 -0
- package/dist/design/richText.d.ts +6 -199
- package/dist/design/richText.d.ts.map +1 -1
- package/dist/design/richText.js +4 -698
- package/dist/design/richText.js.map +1 -1
- package/dist/exercises/grids/arithmetic.d.ts +3 -0
- package/dist/exercises/grids/arithmetic.d.ts.map +1 -0
- package/dist/exercises/grids/arithmetic.js +214 -0
- package/dist/exercises/grids/arithmetic.js.map +1 -0
- package/dist/exercises/grids/common.d.ts +8 -0
- package/dist/exercises/grids/common.d.ts.map +1 -0
- package/dist/exercises/grids/common.js +9 -0
- package/dist/exercises/grids/common.js.map +1 -0
- package/dist/exercises/grids/crossword.d.ts +3 -0
- package/dist/exercises/grids/crossword.d.ts.map +1 -0
- package/dist/exercises/grids/crossword.js +191 -0
- package/dist/exercises/grids/crossword.js.map +1 -0
- package/dist/exercises/grids/match.d.ts +3 -0
- package/dist/exercises/grids/match.d.ts.map +1 -0
- package/dist/exercises/grids/match.js +58 -0
- package/dist/exercises/grids/match.js.map +1 -0
- package/dist/exercises/grids/wordSearch.d.ts +5 -0
- package/dist/exercises/grids/wordSearch.d.ts.map +1 -0
- package/dist/exercises/grids/wordSearch.js +122 -0
- package/dist/exercises/grids/wordSearch.js.map +1 -0
- package/dist/exercises/grids.d.ts +2 -2
- package/dist/exercises/grids.d.ts.map +1 -1
- package/dist/exercises/grids.js +4 -575
- package/dist/exercises/grids.js.map +1 -1
- package/dist/knuthPlass/breakpoints/adjust.d.ts +22 -0
- package/dist/knuthPlass/breakpoints/adjust.d.ts.map +1 -0
- package/dist/knuthPlass/breakpoints/adjust.js +39 -0
- package/dist/knuthPlass/breakpoints/adjust.js.map +1 -0
- package/dist/knuthPlass/breakpoints/search.d.ts +10 -0
- package/dist/knuthPlass/breakpoints/search.d.ts.map +1 -0
- package/dist/knuthPlass/breakpoints/search.js +439 -0
- package/dist/knuthPlass/breakpoints/search.js.map +1 -0
- package/dist/knuthPlass/breakpoints.d.ts +2 -21
- package/dist/knuthPlass/breakpoints.d.ts.map +1 -1
- package/dist/knuthPlass/breakpoints.js +2 -472
- package/dist/knuthPlass/breakpoints.js.map +1 -1
- package/dist/marks/cjkMarks/geometry.d.ts +58 -0
- package/dist/marks/cjkMarks/geometry.d.ts.map +1 -0
- package/dist/marks/cjkMarks/geometry.js +131 -0
- package/dist/marks/cjkMarks/geometry.js.map +1 -0
- package/dist/marks/cjkMarks/lineMarks.d.ts +7 -0
- package/dist/marks/cjkMarks/lineMarks.d.ts.map +1 -0
- package/dist/marks/cjkMarks/lineMarks.js +183 -0
- package/dist/marks/cjkMarks/lineMarks.js.map +1 -0
- package/dist/marks/cjkMarks/reach.d.ts +28 -0
- package/dist/marks/cjkMarks/reach.d.ts.map +1 -0
- package/dist/marks/cjkMarks/reach.js +130 -0
- package/dist/marks/cjkMarks/reach.js.map +1 -0
- package/dist/marks/cjkMarks/resources.d.ts +31 -0
- package/dist/marks/cjkMarks/resources.d.ts.map +1 -0
- package/dist/marks/cjkMarks/resources.js +46 -0
- package/dist/marks/cjkMarks/resources.js.map +1 -0
- package/dist/marks/cjkMarks.d.ts +4 -27
- package/dist/marks/cjkMarks.d.ts.map +1 -1
- package/dist/marks/cjkMarks.js +6 -479
- package/dist/marks/cjkMarks.js.map +1 -1
- package/dist/measure/canvas/ink.d.ts +67 -0
- package/dist/measure/canvas/ink.d.ts.map +1 -0
- package/dist/measure/canvas/ink.js +215 -0
- package/dist/measure/canvas/ink.js.map +1 -0
- package/dist/measure/canvas/state.d.ts +91 -0
- package/dist/measure/canvas/state.d.ts.map +1 -0
- package/dist/measure/canvas/state.js +306 -0
- package/dist/measure/canvas/state.js.map +1 -0
- package/dist/measure/canvas/widths.d.ts +27 -0
- package/dist/measure/canvas/widths.d.ts.map +1 -0
- package/dist/measure/canvas/widths.js +137 -0
- package/dist/measure/canvas/widths.js.map +1 -0
- package/dist/measure/canvas.d.ts +4 -154
- package/dist/measure/canvas.d.ts.map +1 -1
- package/dist/measure/canvas.js +4 -646
- package/dist/measure/canvas.js.map +1 -1
- package/dist/measure/cjk/cjkPunctuation/box.d.ts +71 -0
- package/dist/measure/cjk/cjkPunctuation/box.d.ts.map +1 -0
- package/dist/measure/cjk/cjkPunctuation/box.js +114 -0
- package/dist/measure/cjk/cjkPunctuation/box.js.map +1 -0
- package/dist/measure/cjk/cjkPunctuation/composition.d.ts +128 -0
- package/dist/measure/cjk/cjkPunctuation/composition.d.ts.map +1 -0
- package/dist/measure/cjk/cjkPunctuation/composition.js +157 -0
- package/dist/measure/cjk/cjkPunctuation/composition.js.map +1 -0
- package/dist/measure/cjk/cjkPunctuation/lineEdges.d.ts +63 -0
- package/dist/measure/cjk/cjkPunctuation/lineEdges.d.ts.map +1 -0
- package/dist/measure/cjk/cjkPunctuation/lineEdges.js +183 -0
- package/dist/measure/cjk/cjkPunctuation/lineEdges.js.map +1 -0
- package/dist/measure/cjk/cjkPunctuation.d.ts +8 -247
- package/dist/measure/cjk/cjkPunctuation.d.ts.map +1 -1
- package/dist/measure/cjk/cjkPunctuation.js +6 -447
- package/dist/measure/cjk/cjkPunctuation.js.map +1 -1
- package/dist/measure/plain/overwide.d.ts +70 -0
- package/dist/measure/plain/overwide.d.ts.map +1 -0
- package/dist/measure/plain/overwide.js +150 -0
- package/dist/measure/plain/overwide.js.map +1 -0
- package/dist/measure/plain/segments.d.ts +53 -0
- package/dist/measure/plain/segments.d.ts.map +1 -0
- package/dist/measure/plain/segments.js +153 -0
- package/dist/measure/plain/segments.js.map +1 -0
- package/dist/measure/plain.d.ts +2 -15
- package/dist/measure/plain.d.ts.map +1 -1
- package/dist/measure/plain.js +12 -300
- package/dist/measure/plain.js.map +1 -1
- package/dist/migrate/pageDesign/pictures.d.ts +16 -0
- package/dist/migrate/pageDesign/pictures.d.ts.map +1 -0
- package/dist/migrate/pageDesign/pictures.js +101 -0
- package/dist/migrate/pageDesign/pictures.js.map +1 -0
- package/dist/migrate/pageDesign/text.d.ts +48 -0
- package/dist/migrate/pageDesign/text.d.ts.map +1 -0
- package/dist/migrate/pageDesign/text.js +196 -0
- package/dist/migrate/pageDesign/text.js.map +1 -0
- package/dist/migrate/pageDesign/types.d.ts +137 -0
- package/dist/migrate/pageDesign/types.d.ts.map +1 -0
- package/dist/migrate/pageDesign/types.js +2 -0
- package/dist/migrate/pageDesign/types.js.map +1 -0
- package/dist/migrate/pageDesign.d.ts +4 -154
- package/dist/migrate/pageDesign.d.ts.map +1 -1
- package/dist/migrate/pageDesign.js +4 -294
- package/dist/migrate/pageDesign.js.map +1 -1
- package/dist/numerals/numbering/counters.d.ts +49 -0
- package/dist/numerals/numbering/counters.d.ts.map +1 -0
- package/dist/numerals/numbering/counters.js +311 -0
- package/dist/numerals/numbering/counters.js.map +1 -0
- package/dist/numerals/numbering/formats.d.ts +30 -0
- package/dist/numerals/numbering/formats.d.ts.map +1 -0
- package/dist/numerals/numbering/formats.js +116 -0
- package/dist/numerals/numbering/formats.js.map +1 -0
- package/dist/numerals/numbering/headings.d.ts +40 -0
- package/dist/numerals/numbering/headings.d.ts.map +1 -0
- package/dist/numerals/numbering/headings.js +64 -0
- package/dist/numerals/numbering/headings.js.map +1 -0
- package/dist/numerals/numbering/pageLabels.d.ts +43 -0
- package/dist/numerals/numbering/pageLabels.d.ts.map +1 -0
- package/dist/numerals/numbering/pageLabels.js +75 -0
- package/dist/numerals/numbering/pageLabels.js.map +1 -0
- package/dist/numerals/numbering/styles.d.ts +52 -0
- package/dist/numerals/numbering/styles.d.ts.map +1 -0
- package/dist/numerals/numbering/styles.js +43 -0
- package/dist/numerals/numbering/styles.js.map +1 -0
- package/dist/numerals/numbering.d.ts +9 -201
- package/dist/numerals/numbering.d.ts.map +1 -1
- package/dist/numerals/numbering.js +5 -595
- package/dist/numerals/numbering.js.map +1 -1
- package/dist/parse/annotations/apply.d.ts +32 -0
- package/dist/parse/annotations/apply.d.ts.map +1 -0
- package/dist/parse/annotations/apply.js +293 -0
- package/dist/parse/annotations/apply.js.map +1 -0
- package/dist/parse/annotations/scan.d.ts +55 -0
- package/dist/parse/annotations/scan.d.ts.map +1 -0
- package/dist/parse/annotations/scan.js +232 -0
- package/dist/parse/annotations/scan.js.map +1 -0
- package/dist/parse/annotations/source.d.ts +31 -0
- package/dist/parse/annotations/source.d.ts.map +1 -0
- package/dist/parse/annotations/source.js +128 -0
- package/dist/parse/annotations/source.js.map +1 -0
- package/dist/parse/annotations.d.ts +5 -86
- package/dist/parse/annotations.d.ts.map +1 -1
- package/dist/parse/annotations.js +3 -648
- package/dist/parse/annotations.js.map +1 -1
- package/dist/pipeline/blocks/measureContentBlock/helpers.d.ts +31 -0
- package/dist/pipeline/blocks/measureContentBlock/helpers.d.ts.map +1 -0
- package/dist/pipeline/blocks/measureContentBlock/helpers.js +74 -0
- package/dist/pipeline/blocks/measureContentBlock/helpers.js.map +1 -0
- package/dist/pipeline/blocks/measureContentBlock/inlineSpans.d.ts +12 -0
- package/dist/pipeline/blocks/measureContentBlock/inlineSpans.d.ts.map +1 -0
- package/dist/pipeline/blocks/measureContentBlock/inlineSpans.js +107 -0
- package/dist/pipeline/blocks/measureContentBlock/inlineSpans.js.map +1 -0
- package/dist/pipeline/blocks/measureContentBlock/measureOptions.d.ts +68 -0
- package/dist/pipeline/blocks/measureContentBlock/measureOptions.d.ts.map +1 -0
- package/dist/pipeline/blocks/measureContentBlock/measureOptions.js +90 -0
- package/dist/pipeline/blocks/measureContentBlock/measureOptions.js.map +1 -0
- package/dist/pipeline/blocks/measureContentBlock/types.d.ts +165 -0
- package/dist/pipeline/blocks/measureContentBlock/types.d.ts.map +1 -0
- package/dist/pipeline/blocks/measureContentBlock/types.js +2 -0
- package/dist/pipeline/blocks/measureContentBlock/types.js.map +1 -0
- package/dist/pipeline/blocks/measureContentBlock.d.ts +8 -172
- package/dist/pipeline/blocks/measureContentBlock.d.ts.map +1 -1
- package/dist/pipeline/blocks/measureContentBlock.js +16 -257
- package/dist/pipeline/blocks/measureContentBlock.js.map +1 -1
- package/dist/pipeline/blocks/placement/bands.d.ts +61 -0
- package/dist/pipeline/blocks/placement/bands.d.ts.map +1 -0
- package/dist/pipeline/blocks/placement/bands.js +188 -0
- package/dist/pipeline/blocks/placement/bands.js.map +1 -0
- package/dist/pipeline/blocks/placement.d.ts +2 -59
- package/dist/pipeline/blocks/placement.d.ts.map +1 -1
- package/dist/pipeline/blocks/placement.js +3 -184
- package/dist/pipeline/blocks/placement.js.map +1 -1
- package/dist/pipeline/build/pass/composed/comicText.d.ts +27 -0
- package/dist/pipeline/build/pass/composed/comicText.d.ts.map +1 -0
- package/dist/pipeline/build/pass/composed/comicText.js +89 -0
- package/dist/pipeline/build/pass/composed/comicText.js.map +1 -0
- package/dist/pipeline/build/pass/composed/jumps.d.ts +29 -0
- package/dist/pipeline/build/pass/composed/jumps.d.ts.map +1 -0
- package/dist/pipeline/build/pass/composed/jumps.js +91 -0
- package/dist/pipeline/build/pass/composed/jumps.js.map +1 -0
- package/dist/pipeline/build/pass/composed/placePage.d.ts +60 -0
- package/dist/pipeline/build/pass/composed/placePage.d.ts.map +1 -0
- package/dist/pipeline/build/pass/composed/placePage.js +368 -0
- package/dist/pipeline/build/pass/composed/placePage.js.map +1 -0
- package/dist/pipeline/build/pass/composed.d.ts +6 -7
- package/dist/pipeline/build/pass/composed.d.ts.map +1 -1
- package/dist/pipeline/build/pass/composed.js +20 -524
- package/dist/pipeline/build/pass/composed.js.map +1 -1
- package/dist/pipeline/build/pass/setup/contentSetup.d.ts +89 -0
- package/dist/pipeline/build/pass/setup/contentSetup.d.ts.map +1 -0
- package/dist/pipeline/build/pass/setup/contentSetup.js +314 -0
- package/dist/pipeline/build/pass/setup/contentSetup.js.map +1 -0
- package/dist/pipeline/build/pass/setup/pageSetup.d.ts +32 -0
- package/dist/pipeline/build/pass/setup/pageSetup.d.ts.map +1 -0
- package/dist/pipeline/build/pass/setup/pageSetup.js +147 -0
- package/dist/pipeline/build/pass/setup/pageSetup.js.map +1 -0
- package/dist/pipeline/build/pass/setup/passFinish.d.ts +95 -0
- package/dist/pipeline/build/pass/setup/passFinish.d.ts.map +1 -0
- package/dist/pipeline/build/pass/setup/passFinish.js +201 -0
- package/dist/pipeline/build/pass/setup/passFinish.js.map +1 -0
- package/dist/pipeline/build/pass/setupState.d.ts +8 -0
- package/dist/pipeline/build/pass/setupState.d.ts.map +1 -0
- package/dist/pipeline/build/pass/setupState.js +2 -0
- package/dist/pipeline/build/pass/setupState.js.map +1 -0
- package/dist/pipeline/build/pass.d.ts.map +1 -1
- package/dist/pipeline/build/pass.js +60 -654
- package/dist/pipeline/build/pass.js.map +1 -1
- package/dist/pipeline/callouts/calloutLayout/boxDecoration.d.ts +49 -0
- package/dist/pipeline/callouts/calloutLayout/boxDecoration.d.ts.map +1 -0
- package/dist/pipeline/callouts/calloutLayout/boxDecoration.js +110 -0
- package/dist/pipeline/callouts/calloutLayout/boxDecoration.js.map +1 -0
- package/dist/pipeline/callouts/calloutLayout/labelTab.d.ts +31 -0
- package/dist/pipeline/callouts/calloutLayout/labelTab.d.ts.map +1 -0
- package/dist/pipeline/callouts/calloutLayout/labelTab.js +202 -0
- package/dist/pipeline/callouts/calloutLayout/labelTab.js.map +1 -0
- package/dist/pipeline/callouts/calloutLayout/layoutCallout.d.ts.map +1 -1
- package/dist/pipeline/callouts/calloutLayout/layoutCallout.js +23 -355
- package/dist/pipeline/callouts/calloutLayout/layoutCallout.js.map +1 -1
- package/dist/pipeline/callouts/calloutLayout/layoutCalloutState.d.ts +14 -0
- package/dist/pipeline/callouts/calloutLayout/layoutCalloutState.d.ts.map +1 -0
- package/dist/pipeline/callouts/calloutLayout/layoutCalloutState.js +2 -0
- package/dist/pipeline/callouts/calloutLayout/layoutCalloutState.js.map +1 -0
- package/dist/pipeline/callouts/calloutLayout/markerColumn.d.ts +31 -0
- package/dist/pipeline/callouts/calloutLayout/markerColumn.d.ts.map +1 -0
- package/dist/pipeline/callouts/calloutLayout/markerColumn.js +75 -0
- package/dist/pipeline/callouts/calloutLayout/markerColumn.js.map +1 -0
- package/dist/pipeline/composedPages/composedLayout/composePage/run/fill.d.ts +68 -0
- package/dist/pipeline/composedPages/composedLayout/composePage/run/fill.d.ts.map +1 -0
- package/dist/pipeline/composedPages/composedLayout/composePage/run/fill.js +249 -0
- package/dist/pipeline/composedPages/composedLayout/composePage/run/fill.js.map +1 -0
- package/dist/pipeline/composedPages/composedLayout/composePage/run/measure.d.ts +50 -0
- package/dist/pipeline/composedPages/composedLayout/composePage/run/measure.d.ts.map +1 -0
- package/dist/pipeline/composedPages/composedLayout/composePage/run/measure.js +195 -0
- package/dist/pipeline/composedPages/composedLayout/composePage/run/measure.js.map +1 -0
- package/dist/pipeline/composedPages/composedLayout/composePage/run/placeGrid.d.ts +30 -0
- package/dist/pipeline/composedPages/composedLayout/composePage/run/placeGrid.d.ts.map +1 -0
- package/dist/pipeline/composedPages/composedLayout/composePage/run/placeGrid.js +174 -0
- package/dist/pipeline/composedPages/composedLayout/composePage/run/placeGrid.js.map +1 -0
- package/dist/pipeline/composedPages/composedLayout/composePage/run/placeGroup.d.ts +35 -0
- package/dist/pipeline/composedPages/composedLayout/composePage/run/placeGroup.d.ts.map +1 -0
- package/dist/pipeline/composedPages/composedLayout/composePage/run/placeGroup.js +158 -0
- package/dist/pipeline/composedPages/composedLayout/composePage/run/placeGroup.js.map +1 -0
- package/dist/pipeline/composedPages/composedLayout/composePage/run/placeModules.d.ts +37 -0
- package/dist/pipeline/composedPages/composedLayout/composePage/run/placeModules.d.ts.map +1 -0
- package/dist/pipeline/composedPages/composedLayout/composePage/run/placeModules.js +303 -0
- package/dist/pipeline/composedPages/composedLayout/composePage/run/placeModules.js.map +1 -0
- package/dist/pipeline/composedPages/composedLayout/composePage/run/state.d.ts +11 -0
- package/dist/pipeline/composedPages/composedLayout/composePage/run/state.d.ts.map +1 -0
- package/dist/pipeline/composedPages/composedLayout/composePage/run/state.js +3 -0
- package/dist/pipeline/composedPages/composedLayout/composePage/run/state.js.map +1 -0
- package/dist/pipeline/composedPages/composedLayout/composePage/run/types.d.ts +14 -0
- package/dist/pipeline/composedPages/composedLayout/composePage/run/types.d.ts.map +1 -0
- package/dist/pipeline/composedPages/composedLayout/composePage/run/types.js +2 -0
- package/dist/pipeline/composedPages/composedLayout/composePage/run/types.js.map +1 -0
- package/dist/pipeline/composedPages/composedLayout/composePage/run.d.ts +59 -0
- package/dist/pipeline/composedPages/composedLayout/composePage/run.d.ts.map +1 -0
- package/dist/pipeline/composedPages/composedLayout/composePage/run.js +171 -0
- package/dist/pipeline/composedPages/composedLayout/composePage/run.js.map +1 -0
- package/dist/pipeline/composedPages/composedLayout/composePage/state.d.ts +7 -0
- package/dist/pipeline/composedPages/composedLayout/composePage/state.d.ts.map +1 -0
- package/dist/pipeline/composedPages/composedLayout/composePage/state.js +2 -0
- package/dist/pipeline/composedPages/composedLayout/composePage/state.js.map +1 -0
- package/dist/pipeline/composedPages/composedLayout/composePage.d.ts.map +1 -1
- package/dist/pipeline/composedPages/composedLayout/composePage.js +24 -1165
- package/dist/pipeline/composedPages/composedLayout/composePage.js.map +1 -1
- package/dist/pipeline/contents/indexDirective/blocks.d.ts +9 -0
- package/dist/pipeline/contents/indexDirective/blocks.d.ts.map +1 -0
- package/dist/pipeline/contents/indexDirective/blocks.js +256 -0
- package/dist/pipeline/contents/indexDirective/blocks.js.map +1 -0
- package/dist/pipeline/contents/indexDirective/tree.d.ts +71 -0
- package/dist/pipeline/contents/indexDirective/tree.d.ts.map +1 -0
- package/dist/pipeline/contents/indexDirective/tree.js +224 -0
- package/dist/pipeline/contents/indexDirective/tree.js.map +1 -0
- package/dist/pipeline/contents/indexDirective.d.ts +2 -8
- package/dist/pipeline/contents/indexDirective.d.ts.map +1 -1
- package/dist/pipeline/contents/indexDirective.js +3 -472
- package/dist/pipeline/contents/indexDirective.js.map +1 -1
- package/dist/pipeline/pages/placeholders/chapterValues.d.ts +117 -0
- package/dist/pipeline/pages/placeholders/chapterValues.d.ts.map +1 -0
- package/dist/pipeline/pages/placeholders/chapterValues.js +236 -0
- package/dist/pipeline/pages/placeholders/chapterValues.js.map +1 -0
- package/dist/pipeline/pages/placeholders/lineText.d.ts +66 -0
- package/dist/pipeline/pages/placeholders/lineText.d.ts.map +1 -0
- package/dist/pipeline/pages/placeholders/lineText.js +173 -0
- package/dist/pipeline/pages/placeholders/lineText.js.map +1 -0
- package/dist/pipeline/pages/placeholders.d.ts +6 -179
- package/dist/pipeline/pages/placeholders.d.ts.map +1 -1
- package/dist/pipeline/pages/placeholders.js +4 -398
- package/dist/pipeline/pages/placeholders.js.map +1 -1
- package/dist/pipeline/references/citations/markers.d.ts +14 -0
- package/dist/pipeline/references/citations/markers.d.ts.map +1 -0
- package/dist/pipeline/references/citations/markers.js +106 -0
- package/dist/pipeline/references/citations/markers.js.map +1 -0
- package/dist/pipeline/references/citations/process.d.ts +56 -0
- package/dist/pipeline/references/citations/process.d.ts.map +1 -0
- package/dist/pipeline/references/citations/process.js +213 -0
- package/dist/pipeline/references/citations/process.js.map +1 -0
- package/dist/pipeline/references/citations/spans.d.ts +33 -0
- package/dist/pipeline/references/citations/spans.d.ts.map +1 -0
- package/dist/pipeline/references/citations/spans.js +127 -0
- package/dist/pipeline/references/citations/spans.js.map +1 -0
- package/dist/pipeline/references/citations.d.ts +4 -51
- package/dist/pipeline/references/citations.d.ts.map +1 -1
- package/dist/pipeline/references/citations.js +5 -438
- package/dist/pipeline/references/citations.js.map +1 -1
- package/dist/pipeline/resources/resourceLayout/resourceBlock/captionNotes.d.ts +63 -0
- package/dist/pipeline/resources/resourceLayout/resourceBlock/captionNotes.d.ts.map +1 -0
- package/dist/pipeline/resources/resourceLayout/resourceBlock/captionNotes.js +88 -0
- package/dist/pipeline/resources/resourceLayout/resourceBlock/captionNotes.js.map +1 -0
- package/dist/pipeline/resources/resourceLayout/resourceBlock/state.d.ts +9 -0
- package/dist/pipeline/resources/resourceLayout/resourceBlock/state.d.ts.map +1 -0
- package/dist/pipeline/resources/resourceLayout/resourceBlock/state.js +2 -0
- package/dist/pipeline/resources/resourceLayout/resourceBlock/state.js.map +1 -0
- package/dist/pipeline/resources/resourceLayout/resourceBlock/upright.d.ts +26 -0
- package/dist/pipeline/resources/resourceLayout/resourceBlock/upright.d.ts.map +1 -0
- package/dist/pipeline/resources/resourceLayout/resourceBlock/upright.js +90 -0
- package/dist/pipeline/resources/resourceLayout/resourceBlock/upright.js.map +1 -0
- package/dist/pipeline/resources/resourceLayout/resourceBlock.d.ts +1 -3
- package/dist/pipeline/resources/resourceLayout/resourceBlock.d.ts.map +1 -1
- package/dist/pipeline/resources/resourceLayout/resourceBlock.js +13 -159
- package/dist/pipeline/resources/resourceLayout/resourceBlock.js.map +1 -1
- package/dist/pipeline/sections/partPalette/colorKinds.d.ts +53 -0
- package/dist/pipeline/sections/partPalette/colorKinds.d.ts.map +1 -0
- package/dist/pipeline/sections/partPalette/colorKinds.js +181 -0
- package/dist/pipeline/sections/partPalette/colorKinds.js.map +1 -0
- package/dist/pipeline/sections/partPalette/flowColors.d.ts +16 -0
- package/dist/pipeline/sections/partPalette/flowColors.d.ts.map +1 -0
- package/dist/pipeline/sections/partPalette/flowColors.js +78 -0
- package/dist/pipeline/sections/partPalette/flowColors.js.map +1 -0
- package/dist/pipeline/sections/partPalette/recolor.d.ts +18 -0
- package/dist/pipeline/sections/partPalette/recolor.d.ts.map +1 -0
- package/dist/pipeline/sections/partPalette/recolor.js +188 -0
- package/dist/pipeline/sections/partPalette/recolor.js.map +1 -0
- package/dist/pipeline/sections/partPalette.d.ts +4 -49
- package/dist/pipeline/sections/partPalette.d.ts.map +1 -1
- package/dist/pipeline/sections/partPalette.js +3 -442
- package/dist/pipeline/sections/partPalette.js.map +1 -1
- package/dist/pipeline/text/lists/orderedRuns.d.ts +49 -0
- package/dist/pipeline/text/lists/orderedRuns.d.ts.map +1 -0
- package/dist/pipeline/text/lists/orderedRuns.js +256 -0
- package/dist/pipeline/text/lists/orderedRuns.js.map +1 -0
- package/dist/pipeline/text/lists.d.ts +16 -46
- package/dist/pipeline/text/lists.d.ts.map +1 -1
- package/dist/pipeline/text/lists.js +5 -255
- package/dist/pipeline/text/lists.js.map +1 -1
- package/dist/svg/fonts/inline.d.ts +30 -0
- package/dist/svg/fonts/inline.d.ts.map +1 -0
- package/dist/svg/fonts/inline.js +298 -0
- package/dist/svg/fonts/inline.js.map +1 -0
- package/dist/svg/fonts/scan.d.ts +27 -0
- package/dist/svg/fonts/scan.d.ts.map +1 -0
- package/dist/svg/fonts/scan.js +353 -0
- package/dist/svg/fonts/scan.js.map +1 -0
- package/dist/svg/fonts/types.d.ts +106 -0
- package/dist/svg/fonts/types.d.ts.map +1 -0
- package/dist/svg/fonts/types.js +4 -0
- package/dist/svg/fonts/types.js.map +1 -0
- package/dist/svg/fonts.d.ts +4 -150
- package/dist/svg/fonts.d.ts.map +1 -1
- package/dist/svg/fonts.js +3 -647
- package/dist/svg/fonts.js.map +1 -1
- package/dist/types/text/bodyText/config.d.ts +465 -0
- package/dist/types/text/bodyText/config.d.ts.map +1 -0
- package/dist/types/text/bodyText/config.js +2 -0
- package/dist/types/text/bodyText/config.js.map +1 -0
- package/dist/types/text/bodyText/options.d.ts +73 -0
- package/dist/types/text/bodyText/options.d.ts.map +1 -0
- package/dist/types/text/bodyText/options.js +2 -0
- package/dist/types/text/bodyText/options.js.map +1 -0
- package/dist/types/text/bodyText/resolved.d.ts +95 -0
- package/dist/types/text/bodyText/resolved.d.ts.map +1 -0
- package/dist/types/text/bodyText/resolved.js +2 -0
- package/dist/types/text/bodyText/resolved.js.map +1 -0
- package/dist/types/text/bodyText.d.ts +3 -623
- package/dist/types/text/bodyText.d.ts.map +1 -1
- package/dist/vdt/contentWarnings/comic.d.ts +95 -0
- package/dist/vdt/contentWarnings/comic.d.ts.map +1 -0
- package/dist/vdt/contentWarnings/comic.js +3 -0
- package/dist/vdt/contentWarnings/comic.js.map +1 -0
- package/dist/vdt/contentWarnings/composed.d.ts +126 -0
- package/dist/vdt/contentWarnings/composed.d.ts.map +1 -0
- package/dist/vdt/contentWarnings/composed.js +2 -0
- package/dist/vdt/contentWarnings/composed.js.map +1 -0
- package/dist/vdt/contentWarnings/layout.d.ts +247 -0
- package/dist/vdt/contentWarnings/layout.d.ts.map +1 -0
- package/dist/vdt/contentWarnings/layout.js +2 -0
- package/dist/vdt/contentWarnings/layout.js.map +1 -0
- package/dist/vdt/contentWarnings/markup.d.ts +211 -0
- package/dist/vdt/contentWarnings/markup.d.ts.map +1 -0
- package/dist/vdt/contentWarnings/markup.js +4 -0
- package/dist/vdt/contentWarnings/markup.js.map +1 -0
- package/dist/vdt/contentWarnings/source.d.ts +216 -0
- package/dist/vdt/contentWarnings/source.d.ts.map +1 -0
- package/dist/vdt/contentWarnings/source.js +4 -0
- package/dist/vdt/contentWarnings/source.js.map +1 -0
- package/dist/vdt/contentWarnings/text.d.ts +139 -0
- package/dist/vdt/contentWarnings/text.d.ts.map +1 -0
- package/dist/vdt/contentWarnings/text.js +4 -0
- package/dist/vdt/contentWarnings/text.js.map +1 -0
- package/dist/vdt/contentWarnings.d.ts +7 -1017
- package/dist/vdt/contentWarnings.d.ts.map +1 -1
- package/dist/vdt/pages/comic.d.ts +200 -0
- package/dist/vdt/pages/comic.d.ts.map +1 -0
- package/dist/vdt/pages/comic.js +2 -0
- package/dist/vdt/pages/comic.js.map +1 -0
- package/dist/vdt/pages/composed.d.ts +282 -0
- package/dist/vdt/pages/composed.d.ts.map +1 -0
- package/dist/vdt/pages/composed.js +2 -0
- package/dist/vdt/pages/composed.js.map +1 -0
- package/dist/vdt/pages.d.ts +6 -476
- package/dist/vdt/pages.d.ts.map +1 -1
- package/dist/word/docxRead/body.d.ts +17 -0
- package/dist/word/docxRead/body.d.ts.map +1 -0
- package/dist/word/docxRead/body.js +372 -0
- package/dist/word/docxRead/body.js.map +1 -0
- package/dist/word/docxRead/parts.d.ts +27 -0
- package/dist/word/docxRead/parts.d.ts.map +1 -0
- package/dist/word/docxRead/parts.js +160 -0
- package/dist/word/docxRead/parts.js.map +1 -0
- package/dist/word/docxRead.d.ts +1 -5
- package/dist/word/docxRead.d.ts.map +1 -1
- package/dist/word/docxRead.js +5 -526
- package/dist/word/docxRead.js.map +1 -1
- package/dist/word/inline/parse.d.ts +16 -0
- package/dist/word/inline/parse.d.ts.map +1 -0
- package/dist/word/inline/parse.js +367 -0
- package/dist/word/inline/parse.js.map +1 -0
- package/dist/word/inline/render.d.ts +44 -0
- package/dist/word/inline/render.d.ts.map +1 -0
- package/dist/word/inline/render.js +296 -0
- package/dist/word/inline/render.js.map +1 -0
- package/dist/word/inline.d.ts +4 -52
- package/dist/word/inline.d.ts.map +1 -1
- package/dist/word/inline.js +2 -657
- package/dist/word/inline.js.map +1 -1
- package/dist/word/toDocx/parse.d.ts +46 -0
- package/dist/word/toDocx/parse.d.ts.map +1 -0
- package/dist/word/toDocx/parse.js +313 -0
- package/dist/word/toDocx/parse.js.map +1 -0
- package/dist/word/toDocx/styles.d.ts +63 -0
- package/dist/word/toDocx/styles.d.ts.map +1 -0
- package/dist/word/toDocx/styles.js +239 -0
- package/dist/word/toDocx/styles.js.map +1 -0
- package/dist/word/toDocx/wordml.d.ts +24 -0
- package/dist/word/toDocx/wordml.d.ts.map +1 -0
- package/dist/word/toDocx/wordml.js +114 -0
- package/dist/word/toDocx/wordml.js.map +1 -0
- package/dist/word/toDocx.d.ts +3 -25
- package/dist/word/toDocx.d.ts.map +1 -1
- package/dist/word/toDocx.js +8 -661
- package/dist/word/toDocx.js.map +1 -1
- package/dist/word/toMarkdown/converter.d.ts +57 -0
- package/dist/word/toMarkdown/converter.d.ts.map +1 -0
- package/dist/word/toMarkdown/converter.js +600 -0
- package/dist/word/toMarkdown/converter.js.map +1 -0
- package/dist/word/toMarkdown/helpers.d.ts +98 -0
- package/dist/word/toMarkdown/helpers.d.ts.map +1 -0
- package/dist/word/toMarkdown/helpers.js +153 -0
- package/dist/word/toMarkdown/helpers.js.map +1 -0
- package/dist/word/toMarkdown.d.ts +4 -64
- package/dist/word/toMarkdown.d.ts.map +1 -1
- package/dist/word/toMarkdown.js +2 -749
- package/dist/word/toMarkdown.js.map +1 -1
- package/dist/writing/bidi/chars.d.ts +61 -0
- package/dist/writing/bidi/chars.d.ts.map +1 -0
- package/dist/writing/bidi/chars.js +145 -0
- package/dist/writing/bidi/chars.js.map +1 -0
- package/dist/writing/bidi/joining.d.ts +27 -0
- package/dist/writing/bidi/joining.d.ts.map +1 -0
- package/dist/writing/bidi/joining.js +70 -0
- package/dist/writing/bidi/joining.js.map +1 -0
- package/dist/writing/bidi/paragraph.d.ts +72 -0
- package/dist/writing/bidi/paragraph.d.ts.map +1 -0
- package/dist/writing/bidi/paragraph.js +119 -0
- package/dist/writing/bidi/paragraph.js.map +1 -0
- package/dist/writing/bidi/resolve.d.ts +14 -0
- package/dist/writing/bidi/resolve.d.ts.map +1 -0
- package/dist/writing/bidi/resolve.js +413 -0
- package/dist/writing/bidi/resolve.js.map +1 -0
- package/dist/writing/bidi.d.ts +8 -147
- package/dist/writing/bidi.d.ts.map +1 -1
- package/dist/writing/bidi.js +6 -733
- package/dist/writing/bidi.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,9 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
1
|
+
import type { SourceWarning } from './contentWarnings/source.js';
|
|
2
|
+
import type { ComposedPageWarning } from './contentWarnings/composed.js';
|
|
3
|
+
import type { MarkupWarning } from './contentWarnings/markup.js';
|
|
4
|
+
import type { TextSettingWarning } from './contentWarnings/text.js';
|
|
5
|
+
import type { ComicWarning } from './contentWarnings/comic.js';
|
|
6
|
+
import type { LayoutWarning } from './contentWarnings/layout.js';
|
|
3
7
|
/** Where a content warning points: the source range of the construct in
|
|
4
8
|
* the markdown given to the build (frontmatter included), and the page it
|
|
5
9
|
* was placed on. Both are absent when the construct has no place in the
|
|
@@ -16,1020 +20,6 @@ interface ContentWarningBase {
|
|
|
16
20
|
* `collectContentWarnings`); the build lists them in
|
|
17
21
|
* {@link VDTDocument.contentWarnings}. Narrow on `kind` — further kinds may
|
|
18
22
|
* be added in minor releases. */
|
|
19
|
-
export type ContentWarning = ContentWarningBase & (
|
|
20
|
-
/** A `::resource{id}` embed, an inline `:ref{id}` or a table cell's
|
|
21
|
-
* image names a resource id no resource has: the embed is left out, the
|
|
22
|
-
* reference prints `?` (or its `text=` label) with no number or link, the
|
|
23
|
-
* cell stays text-only. `inResource` names the
|
|
24
|
-
* resource whose caption, note or cell holds the reference. */
|
|
25
|
-
{
|
|
26
|
-
kind: 'unknownResourceId';
|
|
27
|
-
resourceId: string;
|
|
28
|
-
usage: 'embed' | 'ref' | 'cellImage';
|
|
29
|
-
inResource?: string;
|
|
30
|
-
}
|
|
31
|
-
/** An identifier (`{#id}`, `:anchor{#id}`) set more than once in the
|
|
32
|
-
* document: references reach its first setting only (#261). */
|
|
33
|
-
| {
|
|
34
|
-
kind: 'duplicateAnchor';
|
|
35
|
-
anchorId: string;
|
|
36
|
-
}
|
|
37
|
-
/** A citation (`[@key]`) names a work no reference of the book defines
|
|
38
|
-
* (#268): it prints as written, or without that work. */
|
|
39
|
-
| {
|
|
40
|
-
kind: 'unknownCitationKey';
|
|
41
|
-
key: string;
|
|
42
|
-
}
|
|
43
|
-
/** The text cites works but no citation engine is registered
|
|
44
|
-
* (`postext-citeproc`): citations print as written. */
|
|
45
|
-
| {
|
|
46
|
-
kind: 'citationsUnavailable';
|
|
47
|
-
}
|
|
48
|
-
/** A `:::references` block could not be read (malformed JSON or YAML, or
|
|
49
|
-
* BibTeX without an engine). */
|
|
50
|
-
| {
|
|
51
|
-
kind: 'referencesUnreadable';
|
|
52
|
-
message: string;
|
|
53
|
-
}
|
|
54
|
-
/** The front matter block is not valid YAML (an unclosed quote, text
|
|
55
|
-
* after a quoted value): the document is set without its metadata.
|
|
56
|
-
* `message` is the parser's reason, with the line and column. */
|
|
57
|
-
| {
|
|
58
|
-
kind: 'invalidFrontmatter';
|
|
59
|
-
message: string;
|
|
60
|
-
}
|
|
61
|
-
/** A `:::name` line whose name is neither a directive nor a container:
|
|
62
|
-
* it is set as text. */
|
|
63
|
-
| {
|
|
64
|
-
kind: 'unknownDirective';
|
|
65
|
-
name: string;
|
|
66
|
-
}
|
|
67
|
-
/** A `::name` line that is not a well-formed embed standing alone —
|
|
68
|
-
* `::resource{id="…"}` with double quotes and no other attribute, after
|
|
69
|
-
* a blank line: it is set as text. */
|
|
70
|
-
| {
|
|
71
|
-
kind: 'malformedEmbed';
|
|
72
|
-
name: string;
|
|
73
|
-
}
|
|
74
|
-
/** `:::paragraphs{style}` names no paragraph style: the paragraphs are set
|
|
75
|
-
* as body text. */
|
|
76
|
-
| {
|
|
77
|
-
kind: 'unknownParagraphStyle';
|
|
78
|
-
style: string;
|
|
79
|
-
}
|
|
80
|
-
/** `:::callout{type}` names none of the configured callout styles: the box
|
|
81
|
-
* takes the first one. Not raised while `calloutStyles` is unset or
|
|
82
|
-
* empty (every type is then the built-in plain box). */
|
|
83
|
-
| {
|
|
84
|
-
kind: 'unknownCalloutType';
|
|
85
|
-
type: string;
|
|
86
|
-
}
|
|
87
|
-
/** `:::exercise{type}` names no kind of exercise (#1225): the exercise
|
|
88
|
-
* takes the kind its content tells. */
|
|
89
|
-
| {
|
|
90
|
-
kind: 'exerciseUnknownType';
|
|
91
|
-
type: string;
|
|
92
|
-
}
|
|
93
|
-
/** `:::exercise{style}` names no exercise style: it takes the first. Not
|
|
94
|
-
* raised while `exerciseStyles` is unset. */
|
|
95
|
-
| {
|
|
96
|
-
kind: 'exerciseUnknownStyle';
|
|
97
|
-
style: string;
|
|
98
|
-
}
|
|
99
|
-
/** A graded exercise with nothing right to check (a choice with no
|
|
100
|
-
* ticked option, gaps with no `[[…]]`…): `exerciseKind` is its kind. */
|
|
101
|
-
| {
|
|
102
|
-
kind: 'exerciseNoAnswer';
|
|
103
|
-
exerciseKind: string;
|
|
104
|
-
}
|
|
105
|
-
/** An item of an exercise its kind cannot read (a match item with no
|
|
106
|
-
* `->`, a sort item with no `:`…): it is set as written. */
|
|
107
|
-
| {
|
|
108
|
-
kind: 'exerciseUnreadItem';
|
|
109
|
-
text: string;
|
|
110
|
-
}
|
|
111
|
-
/** An exercise inside another: its blocks are the outer one's. */
|
|
112
|
-
| {
|
|
113
|
-
kind: 'exerciseNested';
|
|
114
|
-
}
|
|
115
|
-
/** A word a crossword or a word search could not place: it is left out
|
|
116
|
-
* of the grid (a crossword needs a letter shared with another word). */
|
|
117
|
-
| {
|
|
118
|
-
kind: 'exerciseWordUnplaced';
|
|
119
|
-
word: string;
|
|
120
|
-
}
|
|
121
|
-
/** A `:::solution` or `:::hint` outside an exercise: it prints nothing. */
|
|
122
|
-
| {
|
|
123
|
-
kind: 'solutionOutside';
|
|
124
|
-
}
|
|
125
|
-
/** `:::columns{flow=…}` names neither `'snake'` nor `'parallel'` (#634):
|
|
126
|
-
* the group takes the default (`'parallel'` with `breaks`, `'snake'`
|
|
127
|
-
* without). */
|
|
128
|
-
| {
|
|
129
|
-
kind: 'columnsFlowUnknown';
|
|
130
|
-
value: string;
|
|
131
|
-
}
|
|
132
|
-
/** A composed page (`::::page{template=…}`, #854) names a template no
|
|
133
|
-
* `pageTemplates` entry has (or names none). Until templates are laid
|
|
134
|
-
* out its content is set in the flow, on pages of its own. */
|
|
135
|
-
| {
|
|
136
|
-
kind: 'templateUnknown';
|
|
137
|
-
template: string;
|
|
138
|
-
fenceIndex: number;
|
|
139
|
-
}
|
|
140
|
-
/** Content of a composed page names a slot (`slot="…"`,
|
|
141
|
-
* `:::frame{slot=…}`) that is no frame of the page's template: it goes
|
|
142
|
-
* to the template's flow frame (`frame`, when the template has one). */
|
|
143
|
-
| {
|
|
144
|
-
kind: 'slotUnknown';
|
|
145
|
-
template: string;
|
|
146
|
-
slot: string;
|
|
147
|
-
frame?: string;
|
|
148
|
-
fenceIndex: number;
|
|
149
|
-
}
|
|
150
|
-
/** A frame of a composed page's template receives no content: nothing
|
|
151
|
-
* names its slot, it takes no heading, and (the flow frame) no content
|
|
152
|
-
* is left without a slot. A frame marked `optional` is not reported. */
|
|
153
|
-
| {
|
|
154
|
-
kind: 'slotEmpty';
|
|
155
|
-
template: string;
|
|
156
|
-
frame: string;
|
|
157
|
-
fenceIndex: number;
|
|
158
|
-
}
|
|
159
|
-
/** A grid that repeats a frame set (#1061) holds `max` items, and the
|
|
160
|
-
* page gives it more: item `item` (and every one after it) goes to the
|
|
161
|
-
* flow frame (`flowFrame`, when the template has one), or after the
|
|
162
|
-
* page. Points at the item's `slot="…"`. */
|
|
163
|
-
| {
|
|
164
|
-
kind: 'repeatOverflow';
|
|
165
|
-
template: string;
|
|
166
|
-
group: string;
|
|
167
|
-
frame: string;
|
|
168
|
-
item: number;
|
|
169
|
-
max: number;
|
|
170
|
-
flowFrame?: string;
|
|
171
|
-
fenceIndex: number;
|
|
172
|
-
}
|
|
173
|
-
/** A `:::frame{slot="…" look="…"}` piece of a composed page names a look
|
|
174
|
-
* (#1089) that no `frameLooks` entry has: the frame wears its style and
|
|
175
|
-
* its template look. `suggestion`: the nearest id. Points at the
|
|
176
|
-
* `look="…"` value. */
|
|
177
|
-
| {
|
|
178
|
-
kind: 'lookUnknown';
|
|
179
|
-
template: string;
|
|
180
|
-
frame: string;
|
|
181
|
-
look: string;
|
|
182
|
-
suggestion?: string;
|
|
183
|
-
fenceIndex: number;
|
|
184
|
-
}
|
|
185
|
-
/** A `:::module{template="…"}` of a composed page (#1062) that the page
|
|
186
|
-
* does not lay: `module` names no template (`'unknown'`), a template
|
|
187
|
-
* whose `role` is not `'module'` (`'notModule'`), or the page's template
|
|
188
|
-
* has no modules group (`'noGroup'`). Its content goes to the flow
|
|
189
|
-
* frame. Points at its `template="…"`. */
|
|
190
|
-
| {
|
|
191
|
-
kind: 'moduleUnknown';
|
|
192
|
-
template: string;
|
|
193
|
-
module: string;
|
|
194
|
-
name: string;
|
|
195
|
-
reason: 'unknown' | 'notModule' | 'noGroup';
|
|
196
|
-
fenceIndex: number;
|
|
197
|
-
}
|
|
198
|
-
/** A page fence names a module template (#1062): a module is laid in a
|
|
199
|
-
* page's modules group, never as a page. The fence's content is set in
|
|
200
|
-
* the flow. Points at its `template="…"`. */
|
|
201
|
-
| {
|
|
202
|
-
kind: 'moduleAsPage';
|
|
203
|
-
template: string;
|
|
204
|
-
fenceIndex: number;
|
|
205
|
-
}
|
|
206
|
-
/** A `:::module` inside another module (#1062): not supported; its
|
|
207
|
-
* blocks are the outer module's. Points at its `template="…"`. */
|
|
208
|
-
| {
|
|
209
|
-
kind: 'moduleNested';
|
|
210
|
-
template: string;
|
|
211
|
-
module: string;
|
|
212
|
-
fenceIndex: number;
|
|
213
|
-
}
|
|
214
|
-
/** A module's `name="…"` (#1062) that another module of the page took
|
|
215
|
-
* (`'taken'`), or that holds a space, `.`, `#`, `[` or `]`
|
|
216
|
-
* (`'invalid'`): the module is named `used` (`<template>[n]`). Its
|
|
217
|
-
* slots are addressed under that name. */
|
|
218
|
-
| {
|
|
219
|
-
kind: 'moduleNameRejected';
|
|
220
|
-
template: string;
|
|
221
|
-
module: string;
|
|
222
|
-
name: string;
|
|
223
|
-
used: string;
|
|
224
|
-
reason: 'taken' | 'invalid';
|
|
225
|
-
fenceIndex: number;
|
|
226
|
-
}
|
|
227
|
-
/** A three-colon `:::page` carries `template=`: a composed page needs
|
|
228
|
-
* four colons (`::::page{template=…}` … `::::`). It is read as a comic
|
|
229
|
-
* page, as before. */
|
|
230
|
-
| {
|
|
231
|
-
kind: 'pageFenceLength';
|
|
232
|
-
}
|
|
233
|
-
/** The content poured into a frame of a composed page does not fit it
|
|
234
|
-
* (#855): the frame has no `next` frame left to go on in, or no more
|
|
235
|
-
* room in its chain. What does not fit is clipped at the frame's foot
|
|
236
|
-
* on paged output; it stays in the document (reflowable output, the
|
|
237
|
-
* source map, this warning). `overflowMm` is the height that is cut.
|
|
238
|
-
* Provisional: #858 adds the steps tried and the fixes. */
|
|
239
|
-
| {
|
|
240
|
-
kind: 'frameOverflow';
|
|
241
|
-
template: string;
|
|
242
|
-
frame: string;
|
|
243
|
-
fenceIndex: number;
|
|
244
|
-
overflowMm: number;
|
|
245
|
-
configPath: string;
|
|
246
|
-
/** The document's locale (`config.locale`): the same page overflows in
|
|
247
|
-
* one language and fits in another. */
|
|
248
|
-
locale?: string;
|
|
249
|
-
/** The steps of the reflow ladder (#858) that applied to the frame, in
|
|
250
|
-
* the order they were tried; none made the content fit. */
|
|
251
|
-
stepsTried: FrameFitStep[];
|
|
252
|
-
/** The text scale the frame was left at (1 = none). */
|
|
253
|
-
scale: number;
|
|
254
|
-
/** The scale its pictures were left at, below 1. */
|
|
255
|
-
imageScale?: number;
|
|
256
|
-
/** Changes that would make the content fit, with their values worked
|
|
257
|
-
* out from the shortfall (each tried on the page where it can be). */
|
|
258
|
-
proposals: FrameOverflowProposal[];
|
|
259
|
-
}
|
|
260
|
-
/** Ink of a frame lies under another frame painted over it (#1053): a
|
|
261
|
-
* later `layer`, or the same layer later in template order. A frame
|
|
262
|
-
* covers where it is opaque: its fill (the callout style's background,
|
|
263
|
-
* `look.background`, a label tab, a stripe), its pictures and its text;
|
|
264
|
-
* a frame with no fill covers nothing between its pictures and lines. What
|
|
265
|
-
* is covered: the frame's lines (their boxes), its tab and title, its
|
|
266
|
-
* pictures (by a fill or a picture: words over a picture hide a hairline
|
|
267
|
-
* of it). `text` is the first words covered (40 characters), `picture`
|
|
268
|
-
* the resource id of the first picture covered, `overlapMm2` the area
|
|
269
|
-
* covered. One warning per pair of frames; `overlap: 'allow'` on either
|
|
270
|
-
* frame leaves the pair out. The source range is the covered frame's
|
|
271
|
-
* content. */
|
|
272
|
-
| {
|
|
273
|
-
kind: 'frameCovered';
|
|
274
|
-
template: string;
|
|
275
|
-
frame: string;
|
|
276
|
-
coveredBy: string;
|
|
277
|
-
fenceIndex: number;
|
|
278
|
-
configPath: string;
|
|
279
|
-
/** The covering frame's config path. */
|
|
280
|
-
coveredByPath: string;
|
|
281
|
-
overlapMm2: number;
|
|
282
|
-
text?: string;
|
|
283
|
-
picture?: string;
|
|
284
|
-
locale?: string;
|
|
285
|
-
proposals: FrameCoverProposal[];
|
|
286
|
-
}
|
|
287
|
-
/** A frame's ink runs past what holds it (#1053): its text past the trim,
|
|
288
|
-
* its fill or pictures past the bleed (`past: 'trim' | 'bleed'`), or
|
|
289
|
-
* any of it past the frame or group it is anchored inside (a nine-point
|
|
290
|
-
* anchor on `'#name'` whose point lies in that box: `past: 'frame' |
|
|
291
|
-
* 'group'`, `target` its name). What runs past is cut at the trim, and
|
|
292
|
-
* reads as escaping its card. `excessMm` is the largest overrun, `sides`
|
|
293
|
-
* each side's. `overlap: 'allow'` on the frame leaves it out. */
|
|
294
|
-
| {
|
|
295
|
-
kind: 'frameOutsideArea';
|
|
296
|
-
template: string;
|
|
297
|
-
frame: string;
|
|
298
|
-
fenceIndex: number;
|
|
299
|
-
configPath: string;
|
|
300
|
-
past: 'trim' | 'bleed' | 'frame' | 'group';
|
|
301
|
-
target?: string;
|
|
302
|
-
excessMm: number;
|
|
303
|
-
sides: {
|
|
304
|
-
top?: number;
|
|
305
|
-
right?: number;
|
|
306
|
-
bottom?: number;
|
|
307
|
-
left?: number;
|
|
308
|
-
};
|
|
309
|
-
locale?: string;
|
|
310
|
-
proposals: FrameOutsideProposal[];
|
|
311
|
-
}
|
|
312
|
-
/** A frame's content went on to other pages (#859) as many times as a
|
|
313
|
-
* composed page may add (`pages`, 16) and still does not fit: what is
|
|
314
|
-
* left is cut at the foot of the frame on the last page added
|
|
315
|
-
* (`overflowMm`, `pageIndex`). */
|
|
316
|
-
| {
|
|
317
|
-
kind: 'frameContinuationLimit';
|
|
318
|
-
template: string;
|
|
319
|
-
frame: string;
|
|
320
|
-
fenceIndex: number;
|
|
321
|
-
pages: number;
|
|
322
|
-
overflowMm: number;
|
|
323
|
-
configPath: string;
|
|
324
|
-
}
|
|
325
|
-
/** A frame's `overflow.continueIn: 'page:<id>'` (#917) names no page
|
|
326
|
-
* fence `::::page{id=…}` after the fence the story is on (`target`, its
|
|
327
|
-
* `{attr.x}` read; `before`: the fence is there, but before or at this
|
|
328
|
-
* page): the rest goes on on the next page instead. */
|
|
329
|
-
| {
|
|
330
|
-
kind: 'continueTargetMissing';
|
|
331
|
-
template: string;
|
|
332
|
-
frame: string;
|
|
333
|
-
fenceIndex: number;
|
|
334
|
-
target: string;
|
|
335
|
-
before?: true;
|
|
336
|
-
/** The story comes from the chapter at this position of the book and
|
|
337
|
-
* this chapter has no composed page with that `id` (#943): the rest is
|
|
338
|
-
* not set; `fenceIndex` is -1. */
|
|
339
|
-
fromChapter?: number;
|
|
340
|
-
configPath: string;
|
|
341
|
-
}
|
|
342
|
-
/** A composed page's fence and its template disagree about spreads
|
|
343
|
-
* (#861): `::::page{template spread}` names a template that is a single
|
|
344
|
-
* page (`fence: true`, `templateSpread: false`; it is laid as one
|
|
345
|
-
* page), or the fence lacks `spread` and the template is a spread
|
|
346
|
-
* (`fence: false`, `templateSpread: true`; it is laid over two facing
|
|
347
|
-
* pages, as the template says). */
|
|
348
|
-
| {
|
|
349
|
-
kind: 'spreadMismatch';
|
|
350
|
-
template: string;
|
|
351
|
-
fenceIndex: number;
|
|
352
|
-
fence: boolean;
|
|
353
|
-
templateSpread: boolean;
|
|
354
|
-
}
|
|
355
|
-
/** A `::label[…]{at="…"}` of a `:::figure` (#860) names an anchor its
|
|
356
|
-
* resource does not have: the label is not drawn (the reflowable
|
|
357
|
-
* output still lists it). `known` lists the resource's anchor ids. The
|
|
358
|
-
* source range is the label's text. With `connector` (#1057), a
|
|
359
|
-
* connector of a composed page's decoration ends at that anchor of the
|
|
360
|
-
* picture of `frame`, which lacks it: that end is left out; there is no
|
|
361
|
-
* source range, `resourceId` is the frame's first picture (empty when
|
|
362
|
-
* it holds none). */
|
|
363
|
-
| {
|
|
364
|
-
kind: 'labelAnchorUnknown';
|
|
365
|
-
resourceId: string;
|
|
366
|
-
anchor: string;
|
|
367
|
-
known: string[];
|
|
368
|
-
locale?: string;
|
|
369
|
-
labelId?: string;
|
|
370
|
-
connector?: string;
|
|
371
|
-
frame?: string;
|
|
372
|
-
}
|
|
373
|
-
/** An anchor of a figure's resource names a label `style` but no
|
|
374
|
-
* `::label` of the figure stands at it in this locale (#860): a note,
|
|
375
|
-
* the map lacks that word in this edition. The source range is the
|
|
376
|
-
* figure's. */
|
|
377
|
-
| {
|
|
378
|
-
kind: 'anchorUnlabelled';
|
|
379
|
-
resourceId: string;
|
|
380
|
-
anchor: string;
|
|
381
|
-
style: string;
|
|
382
|
-
locale?: string;
|
|
383
|
-
}
|
|
384
|
-
/** A figure label (#902) that is still wider than its anchor's `width`
|
|
385
|
-
* at its style's `minScale` (`layout.overflow`): it is drawn at that
|
|
386
|
-
* scale and runs past the measure. `anchor` is its anchor (absent for a
|
|
387
|
-
* label placed by percentages), `text` its plain text (40 characters),
|
|
388
|
-
* `widthPct` the measure it was given (percent of the picture's
|
|
389
|
-
* width) and `scale` the scale it reached. The source range is the
|
|
390
|
-
* label's. */
|
|
391
|
-
| {
|
|
392
|
-
kind: 'labelOverflow';
|
|
393
|
-
resourceId: string;
|
|
394
|
-
text: string;
|
|
395
|
-
anchor?: string;
|
|
396
|
-
widthPct: number;
|
|
397
|
-
scale: number;
|
|
398
|
-
locale?: string;
|
|
399
|
-
labelId?: string;
|
|
400
|
-
}
|
|
401
|
-
/** Two labels of a figure whose boxes meet (#902): the later one, in the
|
|
402
|
-
* order written, names the first earlier label it meets (`with`, and
|
|
403
|
-
* `withAnchor`) and how many earlier labels it meets in all (`count`,
|
|
404
|
-
* at least 1). Checked per edition, so a language whose words run
|
|
405
|
-
* longer shows it. The source range is the later label's. With
|
|
406
|
-
* `withSymbol` (1-based), the label runs onto a symbol of the picture
|
|
407
|
-
* instead (#969): one of its `avoid` zones, `count` of them in all;
|
|
408
|
-
* `with` reads `symbol <n>`. */
|
|
409
|
-
| {
|
|
410
|
-
kind: 'labelOverlap';
|
|
411
|
-
resourceId: string;
|
|
412
|
-
text: string;
|
|
413
|
-
anchor?: string;
|
|
414
|
-
with: string;
|
|
415
|
-
withAnchor?: string;
|
|
416
|
-
withSymbol?: number;
|
|
417
|
-
count: number;
|
|
418
|
-
locale?: string;
|
|
419
|
-
labelId?: string;
|
|
420
|
-
}
|
|
421
|
-
/** A `:::paper{…}` attribute the engine cannot read: an unknown key, a
|
|
422
|
-
* stock, finish or texture it does not know, a number out of range, a
|
|
423
|
-
* shade that is neither a hex colour nor a palette id, a `showThrough`
|
|
424
|
-
* other than true / false. The attribute is dropped; the pages follow
|
|
425
|
-
* the document's paper for it. */
|
|
426
|
-
| {
|
|
427
|
-
kind: 'paperAttributeInvalid';
|
|
428
|
-
key: string;
|
|
429
|
-
value: string;
|
|
430
|
-
}
|
|
431
|
-
/** `:chip[…]{style}` names no chip style: the chip takes the first one.
|
|
432
|
-
* `inResource` names the resource whose caption, note or cell holds it. */
|
|
433
|
-
| {
|
|
434
|
-
kind: 'unknownChipStyle';
|
|
435
|
-
style: string;
|
|
436
|
-
inResource?: string;
|
|
437
|
-
}
|
|
438
|
-
/** `:mark[…]{style}` (#888) names no highlight style: the mark takes the
|
|
439
|
-
* first one. `inResource` names the resource whose caption, note or
|
|
440
|
-
* cell holds it. */
|
|
441
|
-
| {
|
|
442
|
-
kind: 'unknownMarkStyle';
|
|
443
|
-
style: string;
|
|
444
|
-
inResource?: string;
|
|
445
|
-
}
|
|
446
|
-
/** An in-column heading whose design reserves the whole of its column
|
|
447
|
-
* (#997): the text after it starts in the next column or page. `element`
|
|
448
|
-
* is the id of the design element that reaches lowest and sets that
|
|
449
|
-
* height (give it `reserve: false` if it is decoration), absent when
|
|
450
|
-
* the design's own `minHeight` is what fills the column. A page-span
|
|
451
|
-
* opener claims its page on purpose and is not reported. The source
|
|
452
|
-
* range is the heading's. */
|
|
453
|
-
| {
|
|
454
|
-
kind: 'headingClaimsColumn';
|
|
455
|
-
level: number;
|
|
456
|
-
element?: string;
|
|
457
|
-
}
|
|
458
|
-
/** A `:::figure` gives words (`alt`, `caption`, `note`) to a resource
|
|
459
|
-
* that an earlier figure of the chapter already gave words to, and
|
|
460
|
-
* they differ (#986): a resource has one set of words in a chapter, the
|
|
461
|
-
* first figure's, so `words` of this figure are not shown. Give the
|
|
462
|
-
* figure a resource of its own (a second entry for the same file). The
|
|
463
|
-
* source range is the first of those words. */
|
|
464
|
-
| {
|
|
465
|
-
kind: 'figureWordsShared';
|
|
466
|
-
resourceId: string;
|
|
467
|
-
words: ('alt' | 'caption' | 'note')[];
|
|
468
|
-
}
|
|
469
|
-
/** A footnote marker `[^id]` with no `[^id]: …` definition in the
|
|
470
|
-
* document: the number prints, the note is empty. Points at the first
|
|
471
|
-
* such marker. */
|
|
472
|
-
| {
|
|
473
|
-
kind: 'undefinedFootnote';
|
|
474
|
-
id: string;
|
|
475
|
-
}
|
|
476
|
-
/** A footnote definition `[^id]: …` no marker cites: it is not set. */
|
|
477
|
-
| {
|
|
478
|
-
kind: 'unusedFootnote';
|
|
479
|
-
id: string;
|
|
480
|
-
}
|
|
481
|
-
/** An index mark (`:index{…}`) with no term — no `term` attribute and no
|
|
482
|
-
* bracketed text: it indexes nothing. */
|
|
483
|
-
| {
|
|
484
|
-
kind: 'indexMarkInvalid';
|
|
485
|
-
}
|
|
486
|
-
/** A `see` / `seealso` of an index mark names no entry of its index: the
|
|
487
|
-
* cross-reference still prints. Points at the `:::index` line. */
|
|
488
|
-
| {
|
|
489
|
-
kind: 'indexSeeUnknown';
|
|
490
|
-
target: string;
|
|
491
|
-
index: string;
|
|
492
|
-
}
|
|
493
|
-
/** A page range of the index opened (`range="start"`) and never closed,
|
|
494
|
-
* or closed with no opening (`missing: 'start'`): it prints as a single
|
|
495
|
-
* page. Points at the `:::index` line. */
|
|
496
|
-
| {
|
|
497
|
-
kind: 'indexRangeUnclosed';
|
|
498
|
-
term: string;
|
|
499
|
-
missing: 'start' | 'end';
|
|
500
|
-
index: string;
|
|
501
|
-
}
|
|
502
|
-
/** An entry of a Japanese index (#425) whose text holds a kanji and that
|
|
503
|
-
* no mark gives a reading (`yomi`, a kana ruby on the marked text, or a
|
|
504
|
-
* `sort` key in kana): it files after the kana entries, by code point.
|
|
505
|
-
* `term` is the entry's levels joined with `!`. Points at the `:::index`
|
|
506
|
-
* line. */
|
|
507
|
-
| {
|
|
508
|
-
kind: 'indexReadingMissing';
|
|
509
|
-
term: string;
|
|
510
|
-
index: string;
|
|
511
|
-
}
|
|
512
|
-
/** A heading's `{style}` attribute names no heading style: the heading
|
|
513
|
-
* and its section keep the level's own settings. */
|
|
514
|
-
| {
|
|
515
|
-
kind: 'unknownHeadingStyle';
|
|
516
|
-
style: string;
|
|
517
|
-
level: number;
|
|
518
|
-
}
|
|
519
|
-
/** A video resource the text uses has no poster frame (#454): print
|
|
520
|
-
* outputs show a dark box with the play mark and the QR code. */
|
|
521
|
-
| {
|
|
522
|
-
kind: 'videoWithoutPoster';
|
|
523
|
-
resourceId: string;
|
|
524
|
-
}
|
|
525
|
-
/** A self-hosted video the text uses has no production address
|
|
526
|
-
* (`video.url`, http or https): the printed poster gets no QR code and
|
|
527
|
-
* no link, and an HTML or EPUB output without the file cannot play it. */
|
|
528
|
-
| {
|
|
529
|
-
kind: 'videoWithoutUrl';
|
|
530
|
-
resourceId: string;
|
|
531
|
-
}
|
|
532
|
-
/** A YouTube or Vimeo video whose address is not a link to a video of that
|
|
533
|
-
* platform: no player is embedded (the poster is shown instead), and the
|
|
534
|
-
* QR code and the link carry the address as written when it is a web
|
|
535
|
-
* address. */
|
|
536
|
-
| {
|
|
537
|
-
kind: 'videoUrlInvalid';
|
|
538
|
-
resourceId: string;
|
|
539
|
-
url: string;
|
|
540
|
-
}
|
|
541
|
-
/** A table resource's `table.styleId` names no `tableStyles` entry: the
|
|
542
|
-
* table is set in the document's `tableStyle`. */
|
|
543
|
-
| {
|
|
544
|
-
kind: 'unknownTableStyle';
|
|
545
|
-
styleId: string;
|
|
546
|
-
resourceId: string;
|
|
547
|
-
}
|
|
548
|
-
/** A table's grid is not rectangular once its merges are counted (see
|
|
549
|
-
* `tableGridIssues`): cells are laid out by their array index, so a cell
|
|
550
|
-
* left out HTML-style under a `colSpan` / `rowSpan` shifts the cells
|
|
551
|
-
* after it (`spanOverlap`: a visible cell sits under a merge instead of
|
|
552
|
-
* carrying `hiddenBy`), or a row ends short and leaves a hole
|
|
553
|
-
* (`missingCells`). `row` / `col` locate the first issue; `count` is
|
|
554
|
-
* how many the table has. */
|
|
555
|
-
| {
|
|
556
|
-
kind: 'raggedTableGrid';
|
|
557
|
-
resourceId: string;
|
|
558
|
-
reason: 'spanOverlap' | 'missingCells';
|
|
559
|
-
row: number;
|
|
560
|
-
col: number;
|
|
561
|
-
count: number;
|
|
562
|
-
}
|
|
563
|
-
/** A justified line of CJK text that would need more space between its
|
|
564
|
-
* characters than the cap (½ em, or `bodyText.maxJustifyTracking` when
|
|
565
|
-
* set) to reach the measure: it is set with the cap and ends short
|
|
566
|
-
* (`VDTLine.cjkLoose`). Usually the line before a long Latin word or web
|
|
567
|
-
* address that cannot break. `text` is the line's text. Found by the
|
|
568
|
-
* layout, so `collectContentWarnings` never returns it. */
|
|
569
|
-
| {
|
|
570
|
-
kind: 'cjkLooseLine';
|
|
571
|
-
text: string;
|
|
572
|
-
}
|
|
573
|
-
/** A line of a justified paragraph set ragged because its word spaces
|
|
574
|
-
* would have stretched past 3× their width to reach the measure
|
|
575
|
-
* (`VDTLine.raggedSpaceRatio`, #732): the first line of a story in a
|
|
576
|
-
* narrow column that cannot take the next word, the line before a web
|
|
577
|
-
* address that breaks only at its joints. `text` is the line's text and
|
|
578
|
-
* `ratio` the stretch it would have needed. Reword the copy or give the
|
|
579
|
-
* line a break it can take. Found by the layout, so
|
|
580
|
-
* `collectContentWarnings` never returns it. */
|
|
581
|
-
| {
|
|
582
|
-
kind: 'raggedLine';
|
|
583
|
-
text: string;
|
|
584
|
-
ratio: number;
|
|
585
|
-
}
|
|
586
|
-
/** A word of a joining script (Arabic, Syriac, N'Ko…) wider than its
|
|
587
|
-
* line: such a word is never divided (its letters connect, and a piece
|
|
588
|
-
* would lose its joining forms), so it runs past the measure
|
|
589
|
-
* (`VDTLine.wordOverflow`). `text` is the line's text. Found by the
|
|
590
|
-
* layout, so `collectContentWarnings` never returns it. */
|
|
591
|
-
| {
|
|
592
|
-
kind: 'unbreakableWordOverflow';
|
|
593
|
-
text: string;
|
|
594
|
-
}
|
|
595
|
-
/** A word wider than its whole line (a narrow frame, a running head, a
|
|
596
|
-
* table cell), cut to fit between two of its characters, with no
|
|
597
|
-
* hyphen (`VDTLine.wordDivided`, #1150): "CL" | "IMA". `text` is the
|
|
598
|
-
* line's text. A warning: give the text more room or a smaller size.
|
|
599
|
-
* Found by the layout, so `collectContentWarnings` never returns it. */
|
|
600
|
-
| {
|
|
601
|
-
kind: 'wordDividedByCharacter';
|
|
602
|
-
text: string;
|
|
603
|
-
}
|
|
604
|
-
/** A word wider than its whole line, cut at one of its syllables with a
|
|
605
|
-
* hyphen (`VDTLine.wordDivided`, #1150). A note: the cut is a
|
|
606
|
-
* dictionary one, but the word was too long for the measure. */
|
|
607
|
-
| {
|
|
608
|
-
kind: 'wordDividedBySyllable';
|
|
609
|
-
text: string;
|
|
610
|
-
}
|
|
611
|
-
/** A paragraph or heading whose style sets letter-spacing
|
|
612
|
-
* (`letterSpacing`) on words of a joining script: they are set without
|
|
613
|
-
* it, since spacing their letters apart breaks the joins, and only the
|
|
614
|
-
* other words and the spaces take it. `text` is the block's first
|
|
615
|
-
* line. Found by the layout. */
|
|
616
|
-
| {
|
|
617
|
-
kind: 'joiningScriptLetterSpacing';
|
|
618
|
-
text: string;
|
|
619
|
-
}
|
|
620
|
-
/** A paragraph with Chinese marks (emphasis dots, proper-name or
|
|
621
|
-
* book-title lines, #193) whose line gap is narrower than the marks
|
|
622
|
-
* need: half an em for marks on one side of the text, five eighths for
|
|
623
|
-
* marks on both sides (clreq §5.6.1). The line pitch never changes for
|
|
624
|
-
* them, so they crowd the next line: give the paragraph more leading.
|
|
625
|
-
* `gapEm` is the gap (line height less the text size) and `neededEm`
|
|
626
|
-
* what the marks need, in em of the text. */
|
|
627
|
-
| {
|
|
628
|
-
kind: 'cjkMarksExceedLeading';
|
|
629
|
-
text: string;
|
|
630
|
-
gapEm: number;
|
|
631
|
-
neededEm: number;
|
|
632
|
-
}
|
|
633
|
-
/** A paragraph with ruby readings over or under its text (#194) whose
|
|
634
|
-
* line gap is narrower than the readings: they overlap the next line.
|
|
635
|
-
* `gapEm` and `neededEm` in em of the text. */
|
|
636
|
-
| {
|
|
637
|
-
kind: 'rubyExceedsLeading';
|
|
638
|
-
text: string;
|
|
639
|
-
gapEm: number;
|
|
640
|
-
neededEm: number;
|
|
641
|
-
}
|
|
642
|
-
/** A paragraph of kanbun with 送り仮名 (or 返り点 set in the line gap,
|
|
643
|
-
* `cjk.kunten.placement: 'interlinear'`) whose line gap is narrower than
|
|
644
|
-
* the marks (#430): they overlap the next line. `gapEm` and `neededEm`
|
|
645
|
-
* in em of the text. */
|
|
646
|
-
| {
|
|
647
|
-
kind: 'kuntenExceedsLeading';
|
|
648
|
-
text: string;
|
|
649
|
-
gapEm: number;
|
|
650
|
-
neededEm: number;
|
|
651
|
-
}
|
|
652
|
-
/** A paragraph of vocalised Arabic (#376) whose vowel marks meet the
|
|
653
|
-
* ink of the line above or below it in its column: a mark over a word
|
|
654
|
-
* reaches down-hanging letters or marks of the line above, or a kasra
|
|
655
|
-
* under a word the marks of the line below. Only words standing over
|
|
656
|
-
* each other are compared. The line pitch never changes for the marks:
|
|
657
|
-
* give the paragraph more leading (1.7–1.85 em for partly vocalised
|
|
658
|
-
* text, 1.9–2.1 for fully vocalised verse). `lineHeightEm` is the
|
|
659
|
-
* distance between the two baselines and `neededEm` the height the two
|
|
660
|
-
* lines' ink takes there, in em of the text; `text` is the lower line.
|
|
661
|
-
* Found by the layout, so `collectContentWarnings` never returns it. */
|
|
662
|
-
| {
|
|
663
|
-
kind: 'arabicMarksExceedLeading';
|
|
664
|
-
text: string;
|
|
665
|
-
lineHeightEm: number;
|
|
666
|
-
neededEm: number;
|
|
667
|
-
}
|
|
668
|
-
/** Markup typed with fullwidth characters, as a Chinese or Japanese
|
|
669
|
-
* input method types it: a `:::` fence, a `#` heading, a `[^…]`
|
|
670
|
-
* footnote marker, `{…}` attributes after a fence or heading, or
|
|
671
|
-
* `**…**` bold. The parser reads only the ASCII forms, so the line
|
|
672
|
-
* is set as text. `typed` is the markup as written, `ascii` the form
|
|
673
|
-
* to type (#181). One per line. */
|
|
674
|
-
| {
|
|
675
|
-
kind: 'fullwidthMarkup';
|
|
676
|
-
typed: string;
|
|
677
|
-
ascii: string;
|
|
678
|
-
}
|
|
679
|
-
/** An attribute key with letters outside ASCII (`作者=曹雪芹`): keys are
|
|
680
|
-
* ASCII, so the attribute is not read. Points at the key (#181). */
|
|
681
|
-
| {
|
|
682
|
-
kind: 'attributeKeyInvalid';
|
|
683
|
-
key: string;
|
|
684
|
-
}
|
|
685
|
-
/** A resource whose `placement.rotate` asks for a quarter turn, in a
|
|
686
|
-
* document set vertically (`layout.writingMode: 'vertical-rl'`): every
|
|
687
|
-
* figure and table of a vertical flow stands upright, so the turn is
|
|
688
|
-
* not applied, and the resource floats in its own `span` (#188). Points
|
|
689
|
-
* at its first use. */
|
|
690
|
-
| {
|
|
691
|
-
kind: 'rotateIgnoredVertical';
|
|
692
|
-
resourceId: string;
|
|
693
|
-
}
|
|
694
|
-
/** A `:tab` in a block set in vertical text (#622): tab stops are set in
|
|
695
|
-
* horizontal text only, so the tab is a word space. */
|
|
696
|
-
| {
|
|
697
|
-
kind: 'tabInVerticalText';
|
|
698
|
-
}
|
|
699
|
-
/** A comic page's `split` attribute the grammar cannot read whole (a
|
|
700
|
-
* stray character, an unclosed `[`, `/` and `|` mixed in one list, a
|
|
701
|
-
* bracketed list on its parent's axis): the readable part is used, an
|
|
702
|
-
* unreadable value is one panel. `message` says what is wrong. */
|
|
703
|
-
| {
|
|
704
|
-
kind: 'comicSplitSyntax';
|
|
705
|
-
message: string;
|
|
706
|
-
}
|
|
707
|
-
/** The sizes of a list of a comic page's `split` add up past 100 %: they
|
|
708
|
-
* are scaled down (a `*` keeps 5 %). */
|
|
709
|
-
| {
|
|
710
|
-
kind: 'comicSplitOverflow';
|
|
711
|
-
total: number;
|
|
712
|
-
}
|
|
713
|
-
/** A comic page has more panels than its split has cells (`panels` >
|
|
714
|
-
* `cells`: the extra panels are not set) or fewer (the extra cells are
|
|
715
|
-
* empty panels). */
|
|
716
|
-
| {
|
|
717
|
-
kind: 'comicPanelCount';
|
|
718
|
-
panels: number;
|
|
719
|
-
cells: number;
|
|
720
|
-
}
|
|
721
|
-
/** Text in a comic page before its first `::panel` line, or a line of a
|
|
722
|
-
* panel that is not a script line (`key: text`): it is lettered as a
|
|
723
|
-
* caption of the panel (the first one, for text before it). */
|
|
724
|
-
| {
|
|
725
|
-
kind: 'comicStrayText';
|
|
726
|
-
text: string;
|
|
727
|
-
}
|
|
728
|
-
/** A script line names a balloon style no style defines
|
|
729
|
-
* (`ben{wisper}: …`): it takes the default style of its key. */
|
|
730
|
-
| {
|
|
731
|
-
kind: 'comicUnknownBalloonStyle';
|
|
732
|
-
style: string;
|
|
733
|
-
}
|
|
734
|
-
/** A panel's `art` or `pop` names no picture resource (an unknown id, or
|
|
735
|
-
* a resource that is not a bitmap or an SVG): the panel is set empty. */
|
|
736
|
-
| {
|
|
737
|
-
kind: 'comicUnknownArt';
|
|
738
|
-
resourceId: string;
|
|
739
|
-
}
|
|
740
|
-
/** A panel's cell cannot hold the picture's safe area under a cover
|
|
741
|
-
* crop: the picture is shown with its safe area whole and the bands
|
|
742
|
-
* left in the panel background. Found by the layout. */
|
|
743
|
-
| {
|
|
744
|
-
kind: 'comicPanelLetterbox';
|
|
745
|
-
resourceId: string;
|
|
746
|
-
panel: number;
|
|
747
|
-
}
|
|
748
|
-
/** A picture's anchor (a speaker's mouth) lies outside its safe area: a
|
|
749
|
-
* crop may cut it off, and the tail then points off the panel. An
|
|
750
|
-
* authoring hint. Points at the panel's `art`. */
|
|
751
|
-
| {
|
|
752
|
-
kind: 'comicAnchorOutsideSafeArea';
|
|
753
|
-
resourceId: string;
|
|
754
|
-
anchorId: string;
|
|
755
|
-
}
|
|
756
|
-
/** A balloon of a comic panel could not be placed cleanly (#561): it
|
|
757
|
-
* still covers a speaker's face, another balloon, an avoid zone or a
|
|
758
|
-
* mouth, or runs outside its panel, after every fallback (`fallbacks`:
|
|
759
|
-
* crossing the border, covering avoid zones, reshaping the text). The
|
|
760
|
-
* lettering never shrinks; a shorter line, a bigger panel or an `at=`
|
|
761
|
-
* pin fixes it. Found by the layout; points at the script line. */
|
|
762
|
-
| {
|
|
763
|
-
kind: 'comicBalloonOverflow';
|
|
764
|
-
panel: number;
|
|
765
|
-
reasons: ('face' | 'balloon' | 'outside' | 'avoid' | 'anchor')[];
|
|
766
|
-
fallbacks: ('breakBorder' | 'coverAvoid' | 'reshape')[];
|
|
767
|
-
}
|
|
768
|
-
/** A speaker id that no picture of its comic page marks with an anchor
|
|
769
|
-
* and no `comics.cast` entry names (a slip in the id, most often): its
|
|
770
|
-
* tails point off the panel. Only raised on pages whose pictures mark
|
|
771
|
-
* anchors. Informational. Points at the first line of that speaker. */
|
|
772
|
-
| {
|
|
773
|
-
kind: 'comicUnknownSpeaker';
|
|
774
|
-
speaker: string;
|
|
775
|
-
}
|
|
776
|
-
/** A comic panel's frame (#885) cannot do what the panel asks. `reason`:
|
|
777
|
-
* `'unknownBox'`, its `box` names no callout style (`style`): the panel
|
|
778
|
-
* keeps its panel style; `'textOverflow'`, a text panel's Markdown does
|
|
779
|
-
* not fit its frame (`overflowMm` did not): the rest is clipped;
|
|
780
|
-
* `'strip'`, `'spread'`, `'flow'`, a text panel on a strip, on a
|
|
781
|
-
* spread, or in a document whose flow is vertical or right to left: its
|
|
782
|
-
* Markdown is set in the flow after the comic. `panel`: the panel's
|
|
783
|
-
* place in the page's source (0-based). Points at the panel. */
|
|
784
|
-
| {
|
|
785
|
-
kind: 'comicPanelFrame';
|
|
786
|
-
reason: 'unknownBox' | 'textOverflow' | 'strip' | 'spread' | 'flow';
|
|
787
|
-
panel: number;
|
|
788
|
-
style?: string;
|
|
789
|
-
overflowMm?: number;
|
|
790
|
-
}
|
|
791
|
-
/** A line number set in the side column (`lineNumbers.position:
|
|
792
|
-
* 'side'`, #621) overlaps a side box, a side caption or another float
|
|
793
|
-
* of that column: both are painted where they are. Points at the line
|
|
794
|
-
* it numbers; `number` is the number as printed. */
|
|
795
|
-
| {
|
|
796
|
-
kind: 'lineNumberOverlap';
|
|
797
|
-
number: string;
|
|
798
|
-
}
|
|
799
|
-
/** A paragraph a drop cap opens (#623) that could not take it as
|
|
800
|
-
* configured. `reason`: `'shortParagraph'`, fewer lines than the
|
|
801
|
-
* initial sinks (`handling` says what `shortParagraph` did: kept the
|
|
802
|
-
* room, shrank the initial to `lines`, or left it out); `'split'`, the
|
|
803
|
-
* paragraph broke before the initial's last line, alone in a column
|
|
804
|
-
* too short for it; `'joiningScript'`, its first letter joins the next
|
|
805
|
-
* (Arabic, Syriac, N'Ko) and is not set apart; `'verticalText'`, drop
|
|
806
|
-
* caps are set in horizontal text only; `'noLetter'`, it opens with no
|
|
807
|
-
* letter or digit to set large (a reference, a formula, a note mark);
|
|
808
|
-
* `'inBox'` (#922), a `:::paragraphs{dropcap}` group or a paragraph
|
|
809
|
-
* style with a drop cap inside a `:::callout` box, where none is set
|
|
810
|
-
* (a composed page's frames take them).
|
|
811
|
-
* `text` is the paragraph's first line. Found by the layout. */
|
|
812
|
-
| {
|
|
813
|
-
kind: 'dropCap';
|
|
814
|
-
reason: 'shortParagraph' | 'split' | 'joiningScript' | 'verticalText' | 'noLetter' | 'inBox';
|
|
815
|
-
handling?: 'reserve' | 'shrink' | 'skip';
|
|
816
|
-
lines?: number;
|
|
817
|
-
text: string;
|
|
818
|
-
}
|
|
819
|
-
/** `codeOverflow` (#624): a code listing has lines wider than its box,
|
|
820
|
-
* fitted as `codeStyle.overflow` says: turned over (`'wrap'`), set
|
|
821
|
-
* smaller (`'shrink'`, at `scale` of its size; past `minFontScale` its
|
|
822
|
-
* lines wrap too) or cut at the box's edge (`'clip'`). `lines` counts
|
|
823
|
-
* the source lines too wide. Found by the layout. */
|
|
824
|
-
| {
|
|
825
|
-
kind: 'codeOverflow';
|
|
826
|
-
mode: 'wrap' | 'shrink' | 'clip';
|
|
827
|
-
lines: number;
|
|
828
|
-
scale?: number;
|
|
829
|
-
lang?: string;
|
|
830
|
-
}
|
|
831
|
-
/** `floatShrunk` (#626): a floated picture was set smaller than its size
|
|
832
|
-
* to fit the room of its slot (`placement.shrink`), at `scale` of its
|
|
833
|
-
* width. `overflowPx`: at its smallest scale (`placement.minScale`) it
|
|
834
|
-
* still runs this far past the foot of the page's text block, on a page
|
|
835
|
-
* where it had nowhere else to go. Found by the layout; information
|
|
836
|
-
* more than a fault, unless it overflows. */
|
|
837
|
-
| {
|
|
838
|
-
kind: 'floatShrunk';
|
|
839
|
-
resourceId: string;
|
|
840
|
-
scale: number;
|
|
841
|
-
overflowPx?: number;
|
|
842
|
-
}
|
|
843
|
-
/** `pictureBelowPrintSize` (#901): a bitmap with a print size (its own
|
|
844
|
-
* `bitmap.resolution`, or a number in `layout.bitmapResolution`) set in
|
|
845
|
-
* a column that holds it at under half of it, on a page whose text
|
|
846
|
-
* block is wider than that column: `scale` is the share of its print
|
|
847
|
-
* width it keeps, `printWidthPx` that width, `widthPx` the column's and
|
|
848
|
-
* `pageWidthPx` the text block's. A picture in the flow is never wider
|
|
849
|
-
* than its column, and the default page has two (`layout.layoutType:
|
|
850
|
-
* 'double'`). Found by the layout; reported once per picture. */
|
|
851
|
-
| {
|
|
852
|
-
kind: 'pictureBelowPrintSize';
|
|
853
|
-
resourceId: string;
|
|
854
|
-
scale: number;
|
|
855
|
-
printWidthPx: number;
|
|
856
|
-
widthPx: number;
|
|
857
|
-
pageWidthPx: number;
|
|
858
|
-
}
|
|
859
|
-
/** `emptyCaption` (#1151): a resource of a type with a caption prefix
|
|
860
|
-
* whose own caption is empty, so its caption line prints the label and
|
|
861
|
-
* number alone ("Figure 1.2."). Often meant (a numbered plate), often a
|
|
862
|
-
* caption left out; information. Reported once per resource, where it
|
|
863
|
-
* is first placed. Found by the layout. */
|
|
864
|
-
| {
|
|
865
|
-
kind: 'emptyCaption';
|
|
866
|
-
resourceId: string;
|
|
867
|
-
label: string;
|
|
868
|
-
}
|
|
869
|
-
/** `resourceMoved` (#1151): a resource set where its `::resource` line
|
|
870
|
-
* stands (`position: 'here'`) was too tall for the room left in its
|
|
871
|
-
* column and moved on to the next, leaving `emptyPx` (`emptyMm`) of
|
|
872
|
-
* that column empty on page `pageIndex`. Reported when the room left is at least
|
|
873
|
-
* two lines of the body grid; a wrapped picture says it with
|
|
874
|
-
* `textWrap` `'moved'`. Found by the layout. */
|
|
875
|
-
| {
|
|
876
|
-
kind: 'resourceMoved';
|
|
877
|
-
resourceId: string;
|
|
878
|
-
emptyPx: number;
|
|
879
|
-
emptyMm: number;
|
|
880
|
-
}
|
|
881
|
-
/** `folioMissing` (#1163): a composed page whose running head, running
|
|
882
|
-
* foot or folio element (`elementId`, of the template's `slot`:
|
|
883
|
-
* `header`, `footer` or a decoration text reading `{pageNumber}`, a
|
|
884
|
-
* running name or `{attr.x}`) draws nothing, while `drawnOn` of the
|
|
885
|
-
* `siblings` other pages of the same `template` and `side` that mean to
|
|
886
|
-
* draw it do. `folio`: the element writes `{pageNumber}`. A page whose
|
|
887
|
-
* fence switches the element off (`when` / `unless`) or whose slot has
|
|
888
|
-
* no such element is no sibling. Found after the running heads are
|
|
889
|
-
* laid; reported once per page and element. */
|
|
890
|
-
| {
|
|
891
|
-
kind: 'folioMissing';
|
|
892
|
-
template: string;
|
|
893
|
-
elementId: string;
|
|
894
|
-
slot: 'header' | 'footer' | 'decoration';
|
|
895
|
-
folio: boolean;
|
|
896
|
-
side: 'recto' | 'verso';
|
|
897
|
-
drawnOn: number;
|
|
898
|
-
siblings: number;
|
|
899
|
-
}
|
|
900
|
-
/** `textWrap` (#627): a resource or a box set to wrap text round it
|
|
901
|
-
* (`placement.wrap`, a box's `wrap`) that does not as asked.
|
|
902
|
-
* `'tooNarrow'`: the text beside it would be narrower than
|
|
903
|
-
* `layout.wrap.minTextWidth`, so it takes its band whole; `'fewLines'`:
|
|
904
|
-
* it is shorter than `layout.wrap.minLinesBeside` lines, so it takes
|
|
905
|
-
* its band whole; `'moved'`: an inline one was too tall for the room
|
|
906
|
-
* left in its column and moved on to the next, its anchor with it;
|
|
907
|
-
* `'verticalText'`: text wraps in horizontal text only, so in a
|
|
908
|
-
* vertical flow it takes its band whole; `'noContour'` (#883): a
|
|
909
|
-
* contour wrap (`wrap: 'contour'`, or a pushing frame's) round a
|
|
910
|
-
* picture whose shape is not known (an SVG with no
|
|
911
|
-
* `contour.points`, a bitmap with no transparency, or whose alpha
|
|
912
|
-
* channel the host did not trace), so the text runs round its box.
|
|
913
|
-
* `resourceId` names a resource, `box` a box's style. Found by the
|
|
914
|
-
* layout. */
|
|
915
|
-
| {
|
|
916
|
-
kind: 'textWrap';
|
|
917
|
-
reason: 'tooNarrow' | 'fewLines' | 'moved' | 'verticalText' | 'noContour';
|
|
918
|
-
resourceId?: string;
|
|
919
|
-
box?: string;
|
|
920
|
-
}
|
|
921
|
-
/** `columnsTooNarrow` (#634): the sub-columns of a `:::columns` group
|
|
922
|
-
* are narrower than six ems of its text, `widthPx` each, `columns` of
|
|
923
|
-
* them: few words fit a line. Found by the layout. */
|
|
924
|
-
| {
|
|
925
|
-
kind: 'columnsTooNarrow';
|
|
926
|
-
columns: number;
|
|
927
|
-
widthPx: number;
|
|
928
|
-
}
|
|
929
|
-
/** `afterText` (#639): a `span: 'side'` box, or a figure or table of
|
|
930
|
-
* the side column (`resourceId`), set on a page that holds no text: the
|
|
931
|
-
* text of its chapter (or of the document) ended while it still waited
|
|
932
|
-
* for room in the side column, so it took the side column of a page
|
|
933
|
-
* opened after the text. One per box or float, with the range of the
|
|
934
|
-
* box (of the block citing the float) and its page. Found by the
|
|
935
|
-
* layout. */
|
|
936
|
-
| {
|
|
937
|
-
kind: 'afterText';
|
|
938
|
-
resourceId?: string;
|
|
939
|
-
}
|
|
940
|
-
/** `unplaced` (#639): a `span: 'side'` box, a floated box or a floated
|
|
941
|
-
* resource (`resourceId`) still waiting for a slot when the layout
|
|
942
|
-
* ended: it is on no page (the pages opened for it had no side column,
|
|
943
|
-
* say). The build reports it instead of dropping it silently. It has a
|
|
944
|
-
* source range and no page. Found by the layout. */
|
|
945
|
-
| {
|
|
946
|
-
kind: 'unplaced';
|
|
947
|
-
resourceId?: string;
|
|
948
|
-
}
|
|
949
|
-
/** `shortListSplit` (#749): a list of `items` items, short by
|
|
950
|
-
* `bodyText.shortListMaxItems`, cut between two columns or pages. Under
|
|
951
|
-
* `bodyText.shortListSplit: 'warn'` every such list is reported; under
|
|
952
|
-
* `'avoid'` only the one no column could hold whole (a list taller than
|
|
953
|
-
* an empty column, or than the room a float left of one). One per
|
|
954
|
-
* list, with the range of the list and the page of its first item.
|
|
955
|
-
* Found by the layout. */
|
|
956
|
-
| {
|
|
957
|
-
kind: 'shortListSplit';
|
|
958
|
-
items: number;
|
|
959
|
-
}
|
|
960
|
-
/** `tocGroupSplit` (#850): a block of the contents kept together
|
|
961
|
-
* (`toc.groups.keepTogether`, `:::toc{keep}`), headed by `title`, set in
|
|
962
|
-
* `columns` columns: taller than a full column, or in a column too short
|
|
963
|
-
* to hold it (under a page-span box, beside a float). With
|
|
964
|
-
* `toc.groups.continuation` the column it goes on in opens with its head
|
|
965
|
-
* row again. One per block, with the range of its `:::toc` and the page
|
|
966
|
-
* it starts on. Found by the layout. */
|
|
967
|
-
| {
|
|
968
|
-
kind: 'tocGroupSplit';
|
|
969
|
-
title: string;
|
|
970
|
-
columns: number;
|
|
971
|
-
}
|
|
972
|
-
/** `openerFloat` (#749): a float set on an opener page (the page a part
|
|
973
|
-
* or a heading's own break opens, the first page of a document that
|
|
974
|
-
* starts with a heading) under `layout.openerFloats: 'warn'`: a figure,
|
|
975
|
-
* a table or a strip (`resourceId`), or a floated box. One per float,
|
|
976
|
-
* with the range of the block citing it (of the box) and its page.
|
|
977
|
-
* Found by the layout. */
|
|
978
|
-
| {
|
|
979
|
-
kind: 'openerFloat';
|
|
980
|
-
resourceId?: string;
|
|
981
|
-
}
|
|
982
|
-
/** `designTextTruncated` (#628): a design text element did not fit its
|
|
983
|
-
* width and lost part of a line: cut by an ellipsis (`mode`
|
|
984
|
-
* `'ellipsis-*'`, its `overflow`) or clipped with ink past its box
|
|
985
|
-
* (`'clip'`). `slot` is where the design is painted (a running head or
|
|
986
|
-
* folio, a heading design, a part page, a contents part row),
|
|
987
|
-
* `elementId` the element's id and `text` the whole text it was given.
|
|
988
|
-
* One per element and page; a running head or folio once per element
|
|
989
|
-
* and chapter (a chapter title cut on every page of its chapter is one
|
|
990
|
-
* warning). `sourceStart` / `sourceEnd` when the text mirrors a heading
|
|
991
|
-
* or a frontmatter field. Found by the layout. */
|
|
992
|
-
| {
|
|
993
|
-
kind: 'designTextTruncated';
|
|
994
|
-
slot: VDTDesignSlotKind;
|
|
995
|
-
elementId: string;
|
|
996
|
-
text: string;
|
|
997
|
-
mode: 'ellipsis-start' | 'ellipsis-end' | 'ellipsis-middle' | 'clip';
|
|
998
|
-
}
|
|
999
|
-
/** A face the document's text was set in that the font set could not
|
|
1000
|
-
* give when the build ran (#629): no face of the family was loaded nor
|
|
1001
|
-
* installed, or the one that answers for the weight and slant had not
|
|
1002
|
-
* loaded (`missing`: the text was measured and drawn with a fallback
|
|
1003
|
-
* face), or the family has no face of that weight or slant and the
|
|
1004
|
-
* browser took it from another one, as it is (the 700 for a 600) or
|
|
1005
|
-
* drawn bolder or slanted (`synthesized`, #650). Checked
|
|
1006
|
-
* where there is a font set (`document.fonts`, a worker's `self.fonts`,
|
|
1007
|
-
* `BuildDocumentOptions.fontSet`), behind
|
|
1008
|
-
* `debug.warnings.missingFont`. No page and no source range. */
|
|
1009
|
-
| {
|
|
1010
|
-
kind: 'fontFallback';
|
|
1011
|
-
family: string;
|
|
1012
|
-
weight: number;
|
|
1013
|
-
style: 'normal' | 'italic';
|
|
1014
|
-
reason: 'missing' | 'synthesized';
|
|
1015
|
-
}
|
|
1016
|
-
/** Characters the text sets in a face that has no glyph for them, which
|
|
1017
|
-
* another face drew (#1105): the next family of the font list that has
|
|
1018
|
-
* them (`supplier`, a generic family such as `serif` too), or, without
|
|
1019
|
-
* `supplier`, a face the system picks. One per face: `characters` lists
|
|
1020
|
-
* the first of them (each once, at most 24), `count` says how many in
|
|
1021
|
-
* all. Checked by the glyph probe where there is a font set
|
|
1022
|
-
* (`installGlyphProbe`), else against the `cmap` of the files
|
|
1023
|
-
* registered with `registerFontCoverage`; behind
|
|
1024
|
-
* `debug.warnings.missingFont`. No page and no source range. */
|
|
1025
|
-
| {
|
|
1026
|
-
kind: 'glyphFallback';
|
|
1027
|
-
family: string;
|
|
1028
|
-
weight: number;
|
|
1029
|
-
style: 'normal' | 'italic';
|
|
1030
|
-
characters: string[];
|
|
1031
|
-
count: number;
|
|
1032
|
-
supplier?: string;
|
|
1033
|
-
});
|
|
23
|
+
export type ContentWarning = ContentWarningBase & (SourceWarning | ComposedPageWarning | MarkupWarning | TextSettingWarning | ComicWarning | LayoutWarning);
|
|
1034
24
|
export {};
|
|
1035
25
|
//# sourceMappingURL=contentWarnings.d.ts.map
|