@bendyline/squisq 1.3.0 → 1.4.1
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/{Doc-Ch4tc3vv.d.ts → Doc-BeSeH2iX.d.ts} +118 -41
- package/dist/ImageEditDoc-BTIvw0oq.d.ts +84 -0
- package/dist/{chunk-CYQHG27J.js → chunk-2TMAWB4Y.js} +74 -1
- package/dist/chunk-2TMAWB4Y.js.map +1 -0
- package/dist/{chunk-OASJKWO5.js → chunk-3K5OG6KI.js} +92 -7
- package/dist/chunk-3K5OG6KI.js.map +1 -0
- package/dist/chunk-57CVQCFX.js +193 -0
- package/dist/chunk-57CVQCFX.js.map +1 -0
- package/dist/{chunk-QM5PKNPW.js → chunk-5WFRKURX.js} +1 -1
- package/dist/chunk-5WFRKURX.js.map +1 -0
- package/dist/chunk-B4EEON3N.js +1317 -0
- package/dist/chunk-B4EEON3N.js.map +1 -0
- package/dist/chunk-DBS6RIFL.js +81 -0
- package/dist/chunk-DBS6RIFL.js.map +1 -0
- package/dist/{chunk-MIBRIRGJ.js → chunk-FR2RBTKO.js} +3 -3
- package/dist/{chunk-MIBRIRGJ.js.map → chunk-FR2RBTKO.js.map} +1 -1
- package/dist/chunk-H3AXU4MJ.js +179 -0
- package/dist/chunk-H3AXU4MJ.js.map +1 -0
- package/dist/chunk-JELIRVDP.js +24 -0
- package/dist/chunk-JELIRVDP.js.map +1 -0
- package/dist/chunk-K32VJONL.js +193 -0
- package/dist/chunk-K32VJONL.js.map +1 -0
- package/dist/{chunk-6BAVXFYC.js → chunk-KSWJR66U.js} +218 -42
- package/dist/chunk-KSWJR66U.js.map +1 -0
- package/dist/{chunk-TSG2OSE6.js → chunk-MYIH7FWD.js} +3 -3
- package/dist/chunk-MYIH7FWD.js.map +1 -0
- package/dist/chunk-VLJJHDAC.js +218 -0
- package/dist/chunk-VLJJHDAC.js.map +1 -0
- package/dist/chunk-WMOI7FN3.js +182 -0
- package/dist/chunk-WMOI7FN3.js.map +1 -0
- package/dist/chunk-ZTX4PFFT.js +520 -0
- package/dist/chunk-ZTX4PFFT.js.map +1 -0
- package/dist/doc/index.d.ts +5 -10
- package/dist/doc/index.js +145 -7
- package/dist/doc/index.js.map +1 -1
- package/dist/generate/index.d.ts +99 -7
- package/dist/generate/index.js +16 -3
- package/dist/generate/index.js.map +1 -1
- package/dist/icons/index.d.ts +87 -0
- package/dist/icons/index.js +17 -0
- package/dist/icons/index.js.map +1 -0
- package/dist/imageEdit/index.d.ts +216 -0
- package/dist/imageEdit/index.js +54 -0
- package/dist/imageEdit/index.js.map +1 -0
- package/dist/index.d.ts +21 -9
- package/dist/index.js +461 -8
- package/dist/index.js.map +1 -1
- package/dist/jsonForm/index.d.ts +191 -0
- package/dist/jsonForm/index.js +27 -0
- package/dist/jsonForm/index.js.map +1 -0
- package/dist/markdown/index.d.ts +265 -19
- package/dist/markdown/index.js +39 -33
- package/dist/markdown/index.js.map +1 -1
- package/dist/random/index.d.ts +51 -2
- package/dist/random/index.js +9 -1
- package/dist/random/index.js.map +1 -1
- package/dist/recommend/index.d.ts +42 -0
- package/dist/recommend/index.js +10 -0
- package/dist/recommend/index.js.map +1 -0
- package/dist/schemas/index.d.ts +188 -10
- package/dist/schemas/index.js +120 -7
- package/dist/schemas/index.js.map +1 -1
- package/dist/spatial/index.d.ts +111 -3
- package/dist/spatial/index.js +24 -2
- package/dist/spatial/index.js.map +1 -1
- package/dist/storage/index.d.ts +159 -9
- package/dist/storage/index.js +20 -5
- package/dist/storage/index.js.map +1 -1
- package/dist/story/index.d.ts +53 -13
- package/dist/story/index.js +12 -4
- package/dist/themeLibrary-BHjJ0Qx6.d.ts +40 -0
- package/dist/timing/index.d.ts +109 -4
- package/dist/timing/index.js +23 -2
- package/dist/timing/index.js.map +1 -1
- package/dist/transform/index.d.ts +175 -6
- package/dist/transform/index.js +490 -3
- package/dist/transform/index.js.map +1 -1
- package/dist/{types-CkNttVSF.d.ts → types-BdZkdJ3z.d.ts} +17 -2
- package/dist/types-D98li1gV.d.ts +93 -0
- package/dist/versions/index.d.ts +128 -0
- package/dist/versions/index.js +35 -0
- package/dist/versions/index.js.map +1 -0
- package/package.json +28 -1
- package/src/__tests__/colorUtils.test.ts +112 -0
- package/src/__tests__/getLayers.test.ts +32 -7
- package/src/__tests__/iconResolve.test.ts +122 -0
- package/src/__tests__/imageEditState.test.ts +74 -0
- package/src/__tests__/imageEditVersions.test.ts +169 -0
- package/src/__tests__/inferDocumentTitle.test.ts +50 -0
- package/src/__tests__/jsonForm.chooseControl.test.ts +86 -0
- package/src/__tests__/jsonForm.evaluateWhen.test.ts +59 -0
- package/src/__tests__/jsonForm.inferSchema.test.ts +25 -0
- package/src/__tests__/jsonForm.pointer.test.ts +103 -0
- package/src/__tests__/markdownIcons.test.ts +104 -0
- package/src/__tests__/markdownToDoc.test.ts +19 -4
- package/src/__tests__/recommendTemplates.test.ts +183 -0
- package/src/__tests__/scopedContentContainer.test.ts +89 -0
- package/src/__tests__/slideshowGenerator.test.ts +1 -1
- package/src/__tests__/templateAnnotationParse.test.ts +42 -0
- package/src/__tests__/templates.test.ts +93 -9
- package/src/__tests__/themeCompile.test.ts +156 -0
- package/src/__tests__/themeValidator.test.ts +125 -0
- package/src/__tests__/versions.test.ts +415 -0
- package/src/doc/audioMapping.ts +55 -11
- package/src/doc/getLayers.ts +32 -21
- package/src/doc/markdownToDoc.ts +45 -7
- package/src/doc/templates/featureBlock.ts +202 -0
- package/src/doc/templates/fullBleedQuote.ts +13 -0
- package/src/doc/templates/index.ts +50 -16
- package/src/doc/templates/listBlock.ts +24 -5
- package/src/doc/templates/statHighlight.ts +13 -0
- package/src/doc/templates/titleBlock.ts +9 -0
- package/src/doc/utils/themeUtils.ts +8 -7
- package/src/generate/slideshowGenerator.ts +1 -1
- package/src/generate/templateMapper.ts +2 -2
- package/src/icons/iconData.ts +31 -0
- package/src/icons/index.ts +18 -0
- package/src/icons/resolve.ts +139 -0
- package/src/imageEdit/ImageEditVersionManager.ts +73 -0
- package/src/imageEdit/export.ts +326 -0
- package/src/imageEdit/index.ts +71 -0
- package/src/imageEdit/persistence.ts +62 -0
- package/src/imageEdit/state.ts +112 -0
- package/src/imageEdit/versionPaths.ts +57 -0
- package/src/imageEdit/versions.ts +231 -0
- package/src/index.ts +4 -0
- package/src/jsonForm/chooseControl.ts +88 -0
- package/src/jsonForm/evaluateWhen.ts +59 -0
- package/src/jsonForm/index.ts +22 -0
- package/src/jsonForm/inferSchema.ts +25 -0
- package/src/jsonForm/pointer.ts +109 -0
- package/src/jsonForm/types.ts +167 -0
- package/src/markdown/convert.ts +145 -5
- package/src/markdown/index.ts +3 -0
- package/src/markdown/types.ts +19 -2
- package/src/markdown/utils.ts +159 -0
- package/src/recommend/index.ts +16 -0
- package/src/recommend/templates.ts +273 -0
- package/src/schemas/BlockTemplates.ts +50 -7
- package/src/schemas/ImageEditDoc.ts +95 -0
- package/src/schemas/Theme.ts +98 -31
- package/src/schemas/colorUtils.ts +186 -0
- package/src/schemas/fontStacks.ts +257 -0
- package/src/schemas/index.ts +12 -0
- package/src/schemas/themeCompile.ts +203 -0
- package/src/schemas/themeLibrary.ts +18 -597
- package/src/schemas/themeValidator.ts +388 -0
- package/src/schemas/themes/bold.json +48 -0
- package/src/schemas/themes/cinematic.json +54 -0
- package/src/schemas/themes/documentary.json +49 -0
- package/src/schemas/themes/gezellig.json +44 -0
- package/src/schemas/themes/index.ts +53 -0
- package/src/schemas/themes/magazine.json +44 -0
- package/src/schemas/themes/minimalist.json +45 -0
- package/src/schemas/themes/morning-light.json +42 -0
- package/src/schemas/themes/standard-dark.json +50 -0
- package/src/schemas/themes/standard.json +42 -0
- package/src/schemas/themes/tech-dark.json +48 -0
- package/src/schemas/themes/warm-earth.json +50 -0
- package/src/storage/ScopedContentContainer.ts +113 -0
- package/src/storage/index.ts +1 -0
- package/src/versions/DocumentVersionManager.ts +70 -0
- package/src/versions/index.ts +54 -0
- package/src/versions/operations.ts +230 -0
- package/src/versions/paths.ts +66 -0
- package/src/versions/timestamp.ts +48 -0
- package/src/versions/types.ts +91 -0
- package/dist/__tests__/animationUtils.test.d.ts +0 -2
- package/dist/__tests__/animationUtils.test.d.ts.map +0 -1
- package/dist/__tests__/animationUtils.test.js +0 -60
- package/dist/__tests__/animationUtils.test.js.map +0 -1
- package/dist/__tests__/contentContainer.test.d.ts +0 -2
- package/dist/__tests__/contentContainer.test.d.ts.map +0 -1
- package/dist/__tests__/contentContainer.test.js +0 -234
- package/dist/__tests__/contentContainer.test.js.map +0 -1
- package/dist/__tests__/contentExtractor.test.d.ts +0 -2
- package/dist/__tests__/contentExtractor.test.d.ts.map +0 -1
- package/dist/__tests__/contentExtractor.test.js +0 -151
- package/dist/__tests__/contentExtractor.test.js.map +0 -1
- package/dist/__tests__/coverBlock.test.d.ts +0 -2
- package/dist/__tests__/coverBlock.test.d.ts.map +0 -1
- package/dist/__tests__/coverBlock.test.js +0 -197
- package/dist/__tests__/coverBlock.test.js.map +0 -1
- package/dist/__tests__/dataTable.test.d.ts +0 -2
- package/dist/__tests__/dataTable.test.d.ts.map +0 -1
- package/dist/__tests__/dataTable.test.js +0 -110
- package/dist/__tests__/dataTable.test.js.map +0 -1
- package/dist/__tests__/geohash.test.d.ts +0 -2
- package/dist/__tests__/geohash.test.d.ts.map +0 -1
- package/dist/__tests__/geohash.test.js +0 -87
- package/dist/__tests__/geohash.test.js.map +0 -1
- package/dist/__tests__/getLayers.test.d.ts +0 -2
- package/dist/__tests__/getLayers.test.d.ts.map +0 -1
- package/dist/__tests__/getLayers.test.js +0 -167
- package/dist/__tests__/getLayers.test.js.map +0 -1
- package/dist/__tests__/haversine.test.d.ts +0 -2
- package/dist/__tests__/haversine.test.d.ts.map +0 -1
- package/dist/__tests__/haversine.test.js +0 -56
- package/dist/__tests__/haversine.test.js.map +0 -1
- package/dist/__tests__/localForageAdapter.test.d.ts +0 -8
- package/dist/__tests__/localForageAdapter.test.d.ts.map +0 -1
- package/dist/__tests__/localForageAdapter.test.js +0 -130
- package/dist/__tests__/localForageAdapter.test.js.map +0 -1
- package/dist/__tests__/markdown.test.d.ts +0 -2
- package/dist/__tests__/markdown.test.d.ts.map +0 -1
- package/dist/__tests__/markdown.test.js +0 -715
- package/dist/__tests__/markdown.test.js.map +0 -1
- package/dist/__tests__/markdownToDoc.test.d.ts +0 -2
- package/dist/__tests__/markdownToDoc.test.d.ts.map +0 -1
- package/dist/__tests__/markdownToDoc.test.js +0 -447
- package/dist/__tests__/markdownToDoc.test.js.map +0 -1
- package/dist/__tests__/seededRandom.test.d.ts +0 -2
- package/dist/__tests__/seededRandom.test.d.ts.map +0 -1
- package/dist/__tests__/seededRandom.test.js +0 -125
- package/dist/__tests__/seededRandom.test.js.map +0 -1
- package/dist/__tests__/slideshowGenerator.test.d.ts +0 -2
- package/dist/__tests__/slideshowGenerator.test.d.ts.map +0 -1
- package/dist/__tests__/slideshowGenerator.test.js +0 -114
- package/dist/__tests__/slideshowGenerator.test.js.map +0 -1
- package/dist/__tests__/storage.test.d.ts +0 -2
- package/dist/__tests__/storage.test.d.ts.map +0 -1
- package/dist/__tests__/storage.test.js +0 -51
- package/dist/__tests__/storage.test.js.map +0 -1
- package/dist/__tests__/surface.test.d.ts +0 -2
- package/dist/__tests__/surface.test.d.ts.map +0 -1
- package/dist/__tests__/surface.test.js +0 -57
- package/dist/__tests__/surface.test.js.map +0 -1
- package/dist/__tests__/templates.test.d.ts +0 -2
- package/dist/__tests__/templates.test.d.ts.map +0 -1
- package/dist/__tests__/templates.test.js +0 -217
- package/dist/__tests__/templates.test.js.map +0 -1
- package/dist/__tests__/timing.test.d.ts +0 -2
- package/dist/__tests__/timing.test.d.ts.map +0 -1
- package/dist/__tests__/timing.test.js +0 -131
- package/dist/__tests__/timing.test.js.map +0 -1
- package/dist/chunk-6BAVXFYC.js.map +0 -1
- package/dist/chunk-7GF6RDED.js +0 -82
- package/dist/chunk-7GF6RDED.js.map +0 -1
- package/dist/chunk-CYQHG27J.js.map +0 -1
- package/dist/chunk-F22AE6BY.js +0 -121
- package/dist/chunk-F22AE6BY.js.map +0 -1
- package/dist/chunk-FIQR4AJG.js +0 -517
- package/dist/chunk-FIQR4AJG.js.map +0 -1
- package/dist/chunk-OASJKWO5.js.map +0 -1
- package/dist/chunk-QM5PKNPW.js.map +0 -1
- package/dist/chunk-TSG2OSE6.js.map +0 -1
- package/dist/doc/audioMapping.d.ts +0 -36
- package/dist/doc/audioMapping.d.ts.map +0 -1
- package/dist/doc/audioMapping.js +0 -315
- package/dist/doc/audioMapping.js.map +0 -1
- package/dist/doc/docToMarkdown.d.ts +0 -41
- package/dist/doc/docToMarkdown.d.ts.map +0 -1
- package/dist/doc/docToMarkdown.js +0 -88
- package/dist/doc/docToMarkdown.js.map +0 -1
- package/dist/doc/getLayers.d.ts +0 -65
- package/dist/doc/getLayers.d.ts.map +0 -1
- package/dist/doc/getLayers.js +0 -103
- package/dist/doc/getLayers.js.map +0 -1
- package/dist/doc/index.d.ts.map +0 -1
- package/dist/doc/markdownToDoc.d.ts +0 -75
- package/dist/doc/markdownToDoc.d.ts.map +0 -1
- package/dist/doc/markdownToDoc.js +0 -398
- package/dist/doc/markdownToDoc.js.map +0 -1
- package/dist/doc/templates/accentImage.d.ts +0 -59
- package/dist/doc/templates/accentImage.d.ts.map +0 -1
- package/dist/doc/templates/accentImage.js +0 -275
- package/dist/doc/templates/accentImage.js.map +0 -1
- package/dist/doc/templates/captionUtils.d.ts +0 -20
- package/dist/doc/templates/captionUtils.d.ts.map +0 -1
- package/dist/doc/templates/captionUtils.js +0 -29
- package/dist/doc/templates/captionUtils.js.map +0 -1
- package/dist/doc/templates/comparisonBar.d.ts +0 -13
- package/dist/doc/templates/comparisonBar.d.ts.map +0 -1
- package/dist/doc/templates/comparisonBar.js +0 -145
- package/dist/doc/templates/comparisonBar.js.map +0 -1
- package/dist/doc/templates/coverBlock.d.ts +0 -51
- package/dist/doc/templates/coverBlock.d.ts.map +0 -1
- package/dist/doc/templates/coverBlock.js +0 -153
- package/dist/doc/templates/coverBlock.js.map +0 -1
- package/dist/doc/templates/dataTable.d.ts +0 -14
- package/dist/doc/templates/dataTable.d.ts.map +0 -1
- package/dist/doc/templates/dataTable.js +0 -73
- package/dist/doc/templates/dataTable.js.map +0 -1
- package/dist/doc/templates/dateEvent.d.ts +0 -15
- package/dist/doc/templates/dateEvent.d.ts.map +0 -1
- package/dist/doc/templates/dateEvent.js +0 -114
- package/dist/doc/templates/dateEvent.js.map +0 -1
- package/dist/doc/templates/definitionCard.d.ts +0 -13
- package/dist/doc/templates/definitionCard.d.ts.map +0 -1
- package/dist/doc/templates/definitionCard.js +0 -117
- package/dist/doc/templates/definitionCard.js.map +0 -1
- package/dist/doc/templates/factCard.d.ts +0 -15
- package/dist/doc/templates/factCard.d.ts.map +0 -1
- package/dist/doc/templates/factCard.js +0 -104
- package/dist/doc/templates/factCard.js.map +0 -1
- package/dist/doc/templates/fullBleedQuote.d.ts +0 -13
- package/dist/doc/templates/fullBleedQuote.d.ts.map +0 -1
- package/dist/doc/templates/fullBleedQuote.js +0 -55
- package/dist/doc/templates/fullBleedQuote.js.map +0 -1
- package/dist/doc/templates/imageWithCaption.d.ts +0 -13
- package/dist/doc/templates/imageWithCaption.d.ts.map +0 -1
- package/dist/doc/templates/imageWithCaption.js +0 -146
- package/dist/doc/templates/imageWithCaption.js.map +0 -1
- package/dist/doc/templates/index.d.ts +0 -105
- package/dist/doc/templates/index.d.ts.map +0 -1
- package/dist/doc/templates/index.js +0 -445
- package/dist/doc/templates/index.js.map +0 -1
- package/dist/doc/templates/listBlock.d.ts +0 -13
- package/dist/doc/templates/listBlock.d.ts.map +0 -1
- package/dist/doc/templates/listBlock.js +0 -92
- package/dist/doc/templates/listBlock.js.map +0 -1
- package/dist/doc/templates/mapBlock.d.ts +0 -17
- package/dist/doc/templates/mapBlock.d.ts.map +0 -1
- package/dist/doc/templates/mapBlock.js +0 -115
- package/dist/doc/templates/mapBlock.js.map +0 -1
- package/dist/doc/templates/persistentLayers.d.ts +0 -39
- package/dist/doc/templates/persistentLayers.d.ts.map +0 -1
- package/dist/doc/templates/persistentLayers.js +0 -447
- package/dist/doc/templates/persistentLayers.js.map +0 -1
- package/dist/doc/templates/photoGrid.d.ts +0 -20
- package/dist/doc/templates/photoGrid.d.ts.map +0 -1
- package/dist/doc/templates/photoGrid.js +0 -175
- package/dist/doc/templates/photoGrid.js.map +0 -1
- package/dist/doc/templates/pullQuote.d.ts +0 -13
- package/dist/doc/templates/pullQuote.d.ts.map +0 -1
- package/dist/doc/templates/pullQuote.js +0 -113
- package/dist/doc/templates/pullQuote.js.map +0 -1
- package/dist/doc/templates/quoteBlock.d.ts +0 -15
- package/dist/doc/templates/quoteBlock.d.ts.map +0 -1
- package/dist/doc/templates/quoteBlock.js +0 -101
- package/dist/doc/templates/quoteBlock.js.map +0 -1
- package/dist/doc/templates/sectionHeader.d.ts +0 -14
- package/dist/doc/templates/sectionHeader.d.ts.map +0 -1
- package/dist/doc/templates/sectionHeader.js +0 -97
- package/dist/doc/templates/sectionHeader.js.map +0 -1
- package/dist/doc/templates/statHighlight.d.ts +0 -15
- package/dist/doc/templates/statHighlight.d.ts.map +0 -1
- package/dist/doc/templates/statHighlight.js +0 -102
- package/dist/doc/templates/statHighlight.js.map +0 -1
- package/dist/doc/templates/titleBlock.d.ts +0 -13
- package/dist/doc/templates/titleBlock.d.ts.map +0 -1
- package/dist/doc/templates/titleBlock.js +0 -95
- package/dist/doc/templates/titleBlock.js.map +0 -1
- package/dist/doc/templates/twoColumn.d.ts +0 -15
- package/dist/doc/templates/twoColumn.d.ts.map +0 -1
- package/dist/doc/templates/twoColumn.js +0 -225
- package/dist/doc/templates/twoColumn.js.map +0 -1
- package/dist/doc/templates/videoPullQuote.d.ts +0 -20
- package/dist/doc/templates/videoPullQuote.d.ts.map +0 -1
- package/dist/doc/templates/videoPullQuote.js +0 -122
- package/dist/doc/templates/videoPullQuote.js.map +0 -1
- package/dist/doc/templates/videoWithCaption.d.ts +0 -20
- package/dist/doc/templates/videoWithCaption.d.ts.map +0 -1
- package/dist/doc/templates/videoWithCaption.js +0 -107
- package/dist/doc/templates/videoWithCaption.js.map +0 -1
- package/dist/doc/utils/animationUtils.d.ts +0 -34
- package/dist/doc/utils/animationUtils.d.ts.map +0 -1
- package/dist/doc/utils/animationUtils.js +0 -110
- package/dist/doc/utils/animationUtils.js.map +0 -1
- package/dist/doc/utils/themeUtils.d.ts +0 -64
- package/dist/doc/utils/themeUtils.d.ts.map +0 -1
- package/dist/doc/utils/themeUtils.js +0 -135
- package/dist/doc/utils/themeUtils.js.map +0 -1
- package/dist/generate/contentExtractor.d.ts +0 -112
- package/dist/generate/contentExtractor.d.ts.map +0 -1
- package/dist/generate/contentExtractor.js +0 -638
- package/dist/generate/contentExtractor.js.map +0 -1
- package/dist/generate/index.d.ts.map +0 -1
- package/dist/generate/slideshowGenerator.d.ts +0 -72
- package/dist/generate/slideshowGenerator.d.ts.map +0 -1
- package/dist/generate/slideshowGenerator.js +0 -159
- package/dist/generate/slideshowGenerator.js.map +0 -1
- package/dist/generate/templateMapper.d.ts +0 -23
- package/dist/generate/templateMapper.d.ts.map +0 -1
- package/dist/generate/templateMapper.js +0 -114
- package/dist/generate/templateMapper.js.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/markdown/convert.d.ts +0 -71
- package/dist/markdown/convert.d.ts.map +0 -1
- package/dist/markdown/convert.js +0 -845
- package/dist/markdown/convert.js.map +0 -1
- package/dist/markdown/htmlParse.d.ts +0 -26
- package/dist/markdown/htmlParse.d.ts.map +0 -1
- package/dist/markdown/htmlParse.js +0 -195
- package/dist/markdown/htmlParse.js.map +0 -1
- package/dist/markdown/index.d.ts.map +0 -1
- package/dist/markdown/parse.d.ts +0 -27
- package/dist/markdown/parse.d.ts.map +0 -1
- package/dist/markdown/parse.js +0 -90
- package/dist/markdown/parse.js.map +0 -1
- package/dist/markdown/stringify.d.ts +0 -32
- package/dist/markdown/stringify.d.ts.map +0 -1
- package/dist/markdown/stringify.js +0 -108
- package/dist/markdown/stringify.js.map +0 -1
- package/dist/markdown/types.d.ts +0 -516
- package/dist/markdown/types.d.ts.map +0 -1
- package/dist/markdown/types.js +0 -17
- package/dist/markdown/types.js.map +0 -1
- package/dist/markdown/utils.d.ts +0 -78
- package/dist/markdown/utils.d.ts.map +0 -1
- package/dist/markdown/utils.js +0 -153
- package/dist/markdown/utils.js.map +0 -1
- package/dist/random/SeededRandom.d.ts +0 -50
- package/dist/random/SeededRandom.d.ts.map +0 -1
- package/dist/random/SeededRandom.js +0 -115
- package/dist/random/SeededRandom.js.map +0 -1
- package/dist/random/index.d.ts.map +0 -1
- package/dist/schemas/BlockTemplates.d.ts +0 -600
- package/dist/schemas/BlockTemplates.d.ts.map +0 -1
- package/dist/schemas/BlockTemplates.js +0 -72
- package/dist/schemas/BlockTemplates.js.map +0 -1
- package/dist/schemas/Doc.d.ts +0 -503
- package/dist/schemas/Doc.d.ts.map +0 -1
- package/dist/schemas/Doc.js +0 -90
- package/dist/schemas/Doc.js.map +0 -1
- package/dist/schemas/LayoutStrategy.d.ts +0 -84
- package/dist/schemas/LayoutStrategy.d.ts.map +0 -1
- package/dist/schemas/LayoutStrategy.js +0 -123
- package/dist/schemas/LayoutStrategy.js.map +0 -1
- package/dist/schemas/MediaProvider.d.ts +0 -65
- package/dist/schemas/MediaProvider.d.ts.map +0 -1
- package/dist/schemas/MediaProvider.js +0 -13
- package/dist/schemas/MediaProvider.js.map +0 -1
- package/dist/schemas/Theme.d.ts +0 -194
- package/dist/schemas/Theme.d.ts.map +0 -1
- package/dist/schemas/Theme.js +0 -97
- package/dist/schemas/Theme.js.map +0 -1
- package/dist/schemas/Types.d.ts +0 -14
- package/dist/schemas/Types.d.ts.map +0 -1
- package/dist/schemas/Types.js +0 -5
- package/dist/schemas/Types.js.map +0 -1
- package/dist/schemas/Viewport.d.ts +0 -74
- package/dist/schemas/Viewport.d.ts.map +0 -1
- package/dist/schemas/Viewport.js +0 -63
- package/dist/schemas/Viewport.js.map +0 -1
- package/dist/schemas/index.d.ts.map +0 -1
- package/dist/schemas/themeLibrary.d.ts +0 -41
- package/dist/schemas/themeLibrary.d.ts.map +0 -1
- package/dist/schemas/themeLibrary.js +0 -597
- package/dist/schemas/themeLibrary.js.map +0 -1
- package/dist/spatial/Geohash.d.ts +0 -85
- package/dist/spatial/Geohash.d.ts.map +0 -1
- package/dist/spatial/Geohash.js +0 -142
- package/dist/spatial/Geohash.js.map +0 -1
- package/dist/spatial/Haversine.d.ts +0 -24
- package/dist/spatial/Haversine.d.ts.map +0 -1
- package/dist/spatial/Haversine.js +0 -48
- package/dist/spatial/Haversine.js.map +0 -1
- package/dist/spatial/index.d.ts.map +0 -1
- package/dist/storage/ContentContainer.d.ts +0 -87
- package/dist/storage/ContentContainer.d.ts.map +0 -1
- package/dist/storage/ContentContainer.js +0 -131
- package/dist/storage/ContentContainer.js.map +0 -1
- package/dist/storage/LocalForageAdapter.d.ts +0 -36
- package/dist/storage/LocalForageAdapter.d.ts.map +0 -1
- package/dist/storage/LocalForageAdapter.js +0 -82
- package/dist/storage/LocalForageAdapter.js.map +0 -1
- package/dist/storage/LocalStorageAdapter.d.ts +0 -16
- package/dist/storage/LocalStorageAdapter.d.ts.map +0 -1
- package/dist/storage/LocalStorageAdapter.js +0 -50
- package/dist/storage/LocalStorageAdapter.js.map +0 -1
- package/dist/storage/MediaProviderFromContainer.d.ts +0 -21
- package/dist/storage/MediaProviderFromContainer.d.ts.map +0 -1
- package/dist/storage/MediaProviderFromContainer.js +0 -79
- package/dist/storage/MediaProviderFromContainer.js.map +0 -1
- package/dist/storage/MemoryStorageAdapter.d.ts +0 -15
- package/dist/storage/MemoryStorageAdapter.d.ts.map +0 -1
- package/dist/storage/MemoryStorageAdapter.js +0 -34
- package/dist/storage/MemoryStorageAdapter.js.map +0 -1
- package/dist/storage/Storage.d.ts +0 -23
- package/dist/storage/Storage.d.ts.map +0 -1
- package/dist/storage/Storage.js +0 -9
- package/dist/storage/Storage.js.map +0 -1
- package/dist/storage/index.d.ts.map +0 -1
- package/dist/themeLibrary-CEo2D4b6.d.ts +0 -44
- package/dist/timing/index.d.ts.map +0 -1
- package/dist/timing/narrationTiming.d.ts +0 -54
- package/dist/timing/narrationTiming.d.ts.map +0 -1
- package/dist/timing/narrationTiming.js +0 -190
- package/dist/timing/narrationTiming.js.map +0 -1
- package/dist/timing/readingTime.d.ts +0 -54
- package/dist/timing/readingTime.d.ts.map +0 -1
- package/dist/timing/readingTime.js +0 -49
- package/dist/timing/readingTime.js.map +0 -1
- package/dist/transform/applyTransform.d.ts +0 -22
- package/dist/transform/applyTransform.d.ts.map +0 -1
- package/dist/transform/applyTransform.js +0 -68
- package/dist/transform/applyTransform.js.map +0 -1
- package/dist/transform/blockAnalyzer.d.ts +0 -48
- package/dist/transform/blockAnalyzer.d.ts.map +0 -1
- package/dist/transform/blockAnalyzer.js +0 -135
- package/dist/transform/blockAnalyzer.js.map +0 -1
- package/dist/transform/index.d.ts.map +0 -1
- package/dist/transform/registry.d.ts +0 -19
- package/dist/transform/registry.d.ts.map +0 -1
- package/dist/transform/registry.js +0 -41
- package/dist/transform/registry.js.map +0 -1
- package/dist/transform/styles/dataDriven.d.ts +0 -4
- package/dist/transform/styles/dataDriven.d.ts.map +0 -1
- package/dist/transform/styles/dataDriven.js +0 -15
- package/dist/transform/styles/dataDriven.js.map +0 -1
- package/dist/transform/styles/documentary.d.ts +0 -4
- package/dist/transform/styles/documentary.d.ts.map +0 -1
- package/dist/transform/styles/documentary.js +0 -15
- package/dist/transform/styles/documentary.js.map +0 -1
- package/dist/transform/styles/index.d.ts +0 -6
- package/dist/transform/styles/index.d.ts.map +0 -1
- package/dist/transform/styles/index.js +0 -6
- package/dist/transform/styles/index.js.map +0 -1
- package/dist/transform/styles/magazine.d.ts +0 -4
- package/dist/transform/styles/magazine.d.ts.map +0 -1
- package/dist/transform/styles/magazine.js +0 -15
- package/dist/transform/styles/magazine.js.map +0 -1
- package/dist/transform/styles/minimal.d.ts +0 -4
- package/dist/transform/styles/minimal.d.ts.map +0 -1
- package/dist/transform/styles/minimal.js +0 -15
- package/dist/transform/styles/minimal.js.map +0 -1
- package/dist/transform/styles/narrative.d.ts +0 -4
- package/dist/transform/styles/narrative.d.ts.map +0 -1
- package/dist/transform/styles/narrative.js +0 -15
- package/dist/transform/styles/narrative.js.map +0 -1
- package/dist/transform/templateSelector.d.ts +0 -30
- package/dist/transform/templateSelector.d.ts.map +0 -1
- package/dist/transform/templateSelector.js +0 -218
- package/dist/transform/templateSelector.js.map +0 -1
- package/dist/transform/timingAllocator.d.ts +0 -21
- package/dist/transform/timingAllocator.d.ts.map +0 -1
- package/dist/transform/timingAllocator.js +0 -111
- package/dist/transform/timingAllocator.js.map +0 -1
- package/dist/transform/types.d.ts +0 -86
- package/dist/transform/types.d.ts.map +0 -1
- package/dist/transform/types.js +0 -9
- package/dist/transform/types.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,21 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
|
|
1
|
+
export { B as BoundingBox, C as Coordinates } from './Types-sh2VRxfo.js';
|
|
2
|
+
export { A as AccentImage, a as AccentPosition, b as Animation, c as AnimationType, d as AudioBookmark, e as AudioSegment, f as AudioTimingData, g as AudioTrack, B as Block, C as CaptionPhrase, h as CaptionTrack, i as CaptionWord, j as ColorScheme, k as ComparisonBarInput, l as CornerBrandingConfig, D as DARK_SURFACE, m as DEFAULT_DOC_FONT, n as DEFAULT_TITLE_FONT, o as DataTableInput, p as DateEventInput, q as DeepPartial, r as DefinitionCardInput, s as Doc, t as DocBlock, F as FactCardInput, u as FontFamily, v as FontFamilyKind, w as FullBleedQuoteInput, G as GradientBackgroundConfig, I as ImageBackgroundConfig, x as ImageLayer, y as ImageWithCaptionInput, L as LIGHT_SURFACE, z as Layer, E as LayoutHints, H as LeftFeatureInput, J as ListBlockInput, M as MapBlockInput, K as MapLayer, N as MapMarker, O as MapTileStyle, P as PatternBackgroundConfig, Q as PersistentLayer, R as PersistentLayerConfig, S as PersistentLayerTemplate, T as PersistentLayerTemplateConfig, U as PersistentLayerTemplateType, V as PhotoGridInput, W as Position, X as ProgressIndicatorConfig, Y as PullQuoteInput, Z as QuoteBlockInput, _ as RenderStyle, $ as RightFeatureInput, a0 as SectionHeaderInput, a1 as ShapeLayer, a2 as SolidBackgroundConfig, a3 as StartBlockConfig, a4 as StatHighlightInput, a5 as SurfaceScheme, a6 as THEME_SCHEMA_VERSION, a7 as TableLayer, a8 as TableLayerStyle, a9 as TemplateBlock, aa as TemplateContext, ab as TemplateFunction, ac as TemplateRegistry, ad as TextLayer, ae as TextStyle, af as Theme, ag as ThemeColorPalette, ah as ThemeColorScheme, ai as ThemeSchemaVersion, aj as ThemeSeedColors, ak as ThemeStyle, al as ThemeTypography, am as TitleBlockInput, an as TitleCaptionConfig, ao as Transition, ap as TransitionType, aq as TwoColumnInput, ar as VIEWPORT_PRESETS, as as VideoLayer, at as VideoPullQuoteInput, au as VideoWithCaptionInput, av as ViewportConfig, aw as ViewportOrientation, ax as ViewportPreset, ay as applySurface, az as calculateDuration, aA as calculateFontScale, aB as createTemplateContext, aC as createTheme, aD as getAspectRatioString, aE as getBlockAtTime, aF as getCaptionAtTime, aG as getLayoutHints, aH as getRegisteredThemes, aI as getSafeTextBounds, aJ as getSegmentAtTime, aK as getTwoColumnPositions, aL as getViewport, aM as getViewportOrientation, aN as isPersistentLayerTemplate, aO as isTemplateBlock, aP as layoutScaledFontSize, aQ as lookupRegisteredTheme, aR as registerTheme, aS as scaledFontSize, aT as unregisterTheme, aU as validateDoc } from './Doc-BeSeH2iX.js';
|
|
3
|
+
export { D as DEFAULT_THEME, a as DEFAULT_THEME_ID, T as THEMES, g as getAvailableThemes, b as getThemeSummaries, r as resolveTheme } from './themeLibrary-BHjJ0Qx6.js';
|
|
4
|
+
export { AVAILABLE_FONT_STACKS, CompileOptions, ContrastPreset, FONT_FALLBACKS, FontStack, STARTER_THEME, ValidationError, ValidationResult, assertTheme, buildGoogleFontsUrl, compileTheme, contrastRatio, deriveColorPalette, deriveScale, fontStack, getFontStack, isHex, oklchDarken, oklchLighten, oklchSetChroma, parseTheme, pickContrastingText, relativeLuminance, resolveFontFamily, serializeTheme, validateTheme } from './schemas/index.js';
|
|
5
|
+
export { M as MediaEntry, a as MediaProvider } from './MediaProvider-wpSe21B3.js';
|
|
6
|
+
export { E as EditorLayerMeta, I as ImageEditCanvas, a as ImageEditDoc, b as ImageEditLayer, c as ImageEditLayerKind, d as ImageEditMeta } from './ImageEditDoc-BTIvw0oq.js';
|
|
7
|
+
export { AccentLayout, AudioSegmentTiming, CoverBlockInput, DEFAULT_LAYOUT, DocStylePreset, ExpandDocBlocksOptions, MarkdownToDocOptions, RenderContext, TEMPLATE_ALIASES, adjustY, comparisonBar, countBlocks, coverBlock, createAccentLayers, dataTable, dateEvent, definitionCard, docToMarkdown, expandCoverBlock, expandDocBlocks, expandPersistentLayers, expandTemplateBlock, factCard, flattenBlocks, fullBleedQuote, getAccentLayout, getAnimationProgress, getAnimationStyle, getAvailableTemplates, getBlockDepth, getDefaultAnimation, getDefaultAnimationDuration, getDocStyleConfig, getLayers, getOverlayOpacity, getTemplateHint, getThemeFont, getTransitionClass, hasTemplate, imageWithCaption, leftFeature, listBlock, mapBlock, markdownToDoc, photoGrid, pullQuote, quoteBlock, resolveAudioMapping, resolveColorScheme, resolveTemplateName, rightFeature, scaleAnimationDuration, scoreTextSimilarity, sectionHeader, shouldUseShadow, statHighlight, templateRegistry, themedFontSize, titleBlock, twoColumn, videoPullQuote, videoWithCaption } from './story/index.js';
|
|
8
|
+
export { calculateBearing, decodeGeohash, encodeGeohash, geohashOverlapsBounds, geohashToHierarchicalPath, getGeohash4Neighbors, getGeohashPath, getGeohashPrefix, getNeighbors, haversineDistance } from './spatial/index.js';
|
|
9
|
+
export { LocalForageAdapter, LocalForageAdapterOptions, LocalStorageAdapter, MemoryStorageAdapter, ScopedContentContainer, StorageAdapter, createMediaProviderFromContainer, scopeContainer } from './storage/index.js';
|
|
10
|
+
export { C as ContentContainer, a as ContentEntry, M as MemoryContentContainer, f as findDocumentPath } from './ContentContainer-DNx460y8.js';
|
|
11
|
+
export { H as HeadingTemplateAnnotation, a as HtmlComment, b as HtmlElement, c as HtmlNode, d as HtmlText, M as MarkdownBlockNode, e as MarkdownBlockquote, f as MarkdownBreak, g as MarkdownCodeBlock, h as MarkdownContainerDirective, i as MarkdownDefinitionDescription, j as MarkdownDefinitionList, k as MarkdownDefinitionTerm, l as MarkdownDocument, m as MarkdownEmphasis, n as MarkdownFootnoteDefinition, o as MarkdownFootnoteReference, p as MarkdownHeading, q as MarkdownHtmlBlock, r as MarkdownImage, s as MarkdownImageReference, t as MarkdownInlineCode, u as MarkdownInlineHtml, v as MarkdownInlineMath, w as MarkdownInlineNode, x as MarkdownLeafDirective, y as MarkdownLink, z as MarkdownLinkDefinition, A as MarkdownLinkReference, B as MarkdownList, C as MarkdownListItem, D as MarkdownMathBlock, E as MarkdownMention, F as MarkdownNode, G as MarkdownParagraph, I as MarkdownPoint, J as MarkdownSourcePosition, K as MarkdownStrikethrough, L as MarkdownStrong, N as MarkdownTable, O as MarkdownTableCell, P as MarkdownTableRow, Q as MarkdownText, R as MarkdownTextDirective, S as MarkdownThematicBreak, T as ParseOptions, U as StringifyOptions } from './types-BdZkdJ3z.js';
|
|
12
|
+
export { countNodes, createDocument, extractPlainText, findNodesByType, fromMdast, getChildren, inferDocumentTitle, parseFrontmatter, parseHtmlToNodes, parseMarkdown, readFrontmatterThemeId, setFrontmatterValues, stringifyHtmlNodes, stringifyMarkdown, toMdast, walkMarkdownTree } from './markdown/index.js';
|
|
13
|
+
export { DEFAULT_WORDS_PER_SECOND, NarrationTimeEstimate, NarrationTimeOptions, ReadingTimeEstimate, ReadingTimeOptions, calculatePrefixDuration, countSpokenWords, estimateNarrationDuration, estimateNarrationTime, estimateReadingTime, estimateSpokenWordCount, estimateTimeFromText } from './timing/index.js';
|
|
14
|
+
export { SeededRandom, hashString } from './random/index.js';
|
|
15
|
+
export { C as ComparisonData, D as DateData, a as DefinitionData, E as ExtractedElement, b as ExtractionOptions, c as ExtractionResult, d as ExtractionType, F as FactData, I as ImpactLineData, L as ListData, Q as QuoteData, S as StatData, e as extractContent, s as stripMarkdown } from './contentExtractor-BNfVJV2U.js';
|
|
16
|
+
export { MapOptions, SlideshowDoc, SlideshowImage, SlideshowOptions, generateSlideshow, mapElementToBlock } from './generate/index.js';
|
|
17
|
+
export { C as CoalesceOptions, P as PrunePolicy, R as RevertOptions, S as SaveVersionOptions, a as SaveVersionResult, V as Version } from './types-D98li1gV.js';
|
|
18
|
+
export { DocumentVersionManager, DocumentVersionManagerOptions, VERSIONS_PREFIX, VERSION_TIMESTAMP_PATTERN, buildVersionPath, coalesceVersions, formatVersionTimestamp, getDocBasename, listVersions, parseVersionPath, parseVersionTimestamp, pruneVersions, readVersion, revertToVersion, saveVersion } from './versions/index.js';
|
|
19
|
+
export { ControlKind, InferSchemaOptions, JsonFormValidationError, JsonFormValidator, SquisqAnnotatedSchema, SquisqHints, SquisqWhen, arrayItemKind, chooseControl, evaluateWhen, getByPointer, inferSchema, pointerSegments, primaryType, resolveFlag, resolveRef, setByPointer, toPointer } from './jsonForm/index.js';
|
|
20
|
+
export { IMAGE_EDIT_ASSETS_PREFIX, IMAGE_EDIT_DEFAULT_BASENAME, IMAGE_EDIT_STATE_FILENAME, IMAGE_EDIT_VERSIONS_PREFIX, ImageEditExportFormat, ImageEditExportOptions, ImageEditVersionManager, ImageEditVersionManagerOptions, RevertImageEditOptions, SaveImageEditVersionOptions, SaveImageEditVersionResult, addLayer, buildImageEditVersionPath, coalesceImageEditVersions, createEmptyImageEditDoc, exportImageEditDoc, listImageEditVersions, parseImageEditVersionPath, pruneImageEditVersions, readImageEditDoc, readImageEditVersion, readImageEditVersionText, removeLayer, reorderLayer, revertToImageEditVersion, saveImageEditVersion, setCanvas, touch, updateLayer, writeImageEditDoc } from './imageEdit/index.js';
|
|
21
|
+
export { BlockContentProfile, RecommendationResult, profileBlockContents, recommendTemplatesForBlock } from './recommend/index.js';
|
package/dist/index.js
CHANGED
|
@@ -1,9 +1,462 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import "./chunk-V543AI2F.js";
|
|
2
|
+
import {
|
|
3
|
+
generateSlideshow
|
|
4
|
+
} from "./chunk-MYIH7FWD.js";
|
|
5
|
+
import {
|
|
6
|
+
extractContent,
|
|
7
|
+
mapElementToBlock,
|
|
8
|
+
stripMarkdown
|
|
9
|
+
} from "./chunk-FR2RBTKO.js";
|
|
10
|
+
import {
|
|
11
|
+
SeededRandom,
|
|
12
|
+
hashString
|
|
13
|
+
} from "./chunk-FVTQSNR7.js";
|
|
14
|
+
import {
|
|
15
|
+
DocumentVersionManager,
|
|
16
|
+
VERSIONS_PREFIX,
|
|
17
|
+
buildVersionPath,
|
|
18
|
+
coalesceVersions,
|
|
19
|
+
getDocBasename,
|
|
20
|
+
listVersions,
|
|
21
|
+
parseVersionPath,
|
|
22
|
+
pruneVersions,
|
|
23
|
+
readVersion,
|
|
24
|
+
revertToVersion,
|
|
25
|
+
saveVersion
|
|
26
|
+
} from "./chunk-VLJJHDAC.js";
|
|
27
|
+
import {
|
|
28
|
+
arrayItemKind,
|
|
29
|
+
chooseControl,
|
|
30
|
+
evaluateWhen,
|
|
31
|
+
getByPointer,
|
|
32
|
+
inferSchema,
|
|
33
|
+
pointerSegments,
|
|
34
|
+
primaryType,
|
|
35
|
+
resolveFlag,
|
|
36
|
+
resolveRef,
|
|
37
|
+
setByPointer,
|
|
38
|
+
toPointer
|
|
39
|
+
} from "./chunk-K32VJONL.js";
|
|
40
|
+
import {
|
|
41
|
+
IMAGE_EDIT_ASSETS_PREFIX,
|
|
42
|
+
IMAGE_EDIT_DEFAULT_BASENAME,
|
|
43
|
+
IMAGE_EDIT_STATE_FILENAME,
|
|
44
|
+
IMAGE_EDIT_VERSIONS_PREFIX,
|
|
45
|
+
ImageEditVersionManager,
|
|
46
|
+
addLayer,
|
|
47
|
+
buildImageEditVersionPath,
|
|
48
|
+
coalesceImageEditVersions,
|
|
49
|
+
createEmptyImageEditDoc,
|
|
50
|
+
exportImageEditDoc,
|
|
51
|
+
listImageEditVersions,
|
|
52
|
+
parseImageEditVersionPath,
|
|
53
|
+
pruneImageEditVersions,
|
|
54
|
+
readImageEditDoc,
|
|
55
|
+
readImageEditVersion,
|
|
56
|
+
readImageEditVersionText,
|
|
57
|
+
removeLayer,
|
|
58
|
+
reorderLayer,
|
|
59
|
+
revertToImageEditVersion,
|
|
60
|
+
saveImageEditVersion,
|
|
61
|
+
setCanvas,
|
|
62
|
+
touch,
|
|
63
|
+
updateLayer,
|
|
64
|
+
writeImageEditDoc
|
|
65
|
+
} from "./chunk-ZTX4PFFT.js";
|
|
66
|
+
import {
|
|
67
|
+
VERSION_TIMESTAMP_PATTERN,
|
|
68
|
+
formatVersionTimestamp,
|
|
69
|
+
parseVersionTimestamp
|
|
70
|
+
} from "./chunk-JELIRVDP.js";
|
|
71
|
+
import {
|
|
72
|
+
profileBlockContents,
|
|
73
|
+
recommendTemplatesForBlock
|
|
74
|
+
} from "./chunk-WMOI7FN3.js";
|
|
75
|
+
import {
|
|
76
|
+
STARTER_THEME,
|
|
77
|
+
calculateDuration,
|
|
78
|
+
compileTheme,
|
|
79
|
+
deriveColorPalette,
|
|
80
|
+
getBlockAtTime,
|
|
81
|
+
getCaptionAtTime,
|
|
82
|
+
getSegmentAtTime,
|
|
83
|
+
parseTheme,
|
|
84
|
+
serializeTheme,
|
|
85
|
+
validateDoc
|
|
86
|
+
} from "./chunk-57CVQCFX.js";
|
|
87
|
+
import {
|
|
88
|
+
calculateBearing,
|
|
89
|
+
decodeGeohash,
|
|
90
|
+
encodeGeohash,
|
|
91
|
+
geohashOverlapsBounds,
|
|
92
|
+
geohashToHierarchicalPath,
|
|
93
|
+
getGeohash4Neighbors,
|
|
94
|
+
getGeohashPath,
|
|
95
|
+
getGeohashPrefix,
|
|
96
|
+
getNeighbors,
|
|
97
|
+
haversineDistance
|
|
98
|
+
} from "./chunk-7UDSRZKG.js";
|
|
99
|
+
import {
|
|
100
|
+
DEFAULT_LAYOUT,
|
|
101
|
+
TEMPLATE_ALIASES,
|
|
102
|
+
adjustY,
|
|
103
|
+
comparisonBar,
|
|
104
|
+
countBlocks,
|
|
105
|
+
coverBlock,
|
|
106
|
+
createAccentLayers,
|
|
107
|
+
dataTable,
|
|
108
|
+
dateEvent,
|
|
109
|
+
definitionCard,
|
|
110
|
+
docToMarkdown,
|
|
111
|
+
expandCoverBlock,
|
|
112
|
+
expandDocBlocks,
|
|
113
|
+
expandPersistentLayers,
|
|
114
|
+
expandTemplateBlock,
|
|
115
|
+
factCard,
|
|
116
|
+
flattenBlocks,
|
|
117
|
+
fullBleedQuote,
|
|
118
|
+
getAccentLayout,
|
|
119
|
+
getAnimationProgress,
|
|
120
|
+
getAnimationStyle,
|
|
121
|
+
getAvailableTemplates,
|
|
122
|
+
getBlockDepth,
|
|
123
|
+
getDefaultAnimation,
|
|
124
|
+
getDefaultAnimationDuration,
|
|
125
|
+
getDocStyleConfig,
|
|
126
|
+
getLayers,
|
|
127
|
+
getOverlayOpacity,
|
|
128
|
+
getTemplateHint,
|
|
129
|
+
getThemeFont,
|
|
130
|
+
getTransitionClass,
|
|
131
|
+
hasTemplate,
|
|
132
|
+
imageWithCaption,
|
|
133
|
+
leftFeature,
|
|
134
|
+
listBlock,
|
|
135
|
+
mapBlock,
|
|
136
|
+
markdownToDoc,
|
|
137
|
+
photoGrid,
|
|
138
|
+
pullQuote,
|
|
139
|
+
quoteBlock,
|
|
140
|
+
resolveAudioMapping,
|
|
141
|
+
resolveColorScheme,
|
|
142
|
+
resolveTemplateName,
|
|
143
|
+
rightFeature,
|
|
144
|
+
scaleAnimationDuration,
|
|
145
|
+
scoreTextSimilarity,
|
|
146
|
+
sectionHeader,
|
|
147
|
+
shouldUseShadow,
|
|
148
|
+
statHighlight,
|
|
149
|
+
templateRegistry,
|
|
150
|
+
themedFontSize,
|
|
151
|
+
titleBlock,
|
|
152
|
+
twoColumn,
|
|
153
|
+
videoPullQuote,
|
|
154
|
+
videoWithCaption
|
|
155
|
+
} from "./chunk-KSWJR66U.js";
|
|
156
|
+
import {
|
|
157
|
+
AVAILABLE_FONT_STACKS,
|
|
158
|
+
DARK_SURFACE,
|
|
159
|
+
DEFAULT_THEME,
|
|
160
|
+
DEFAULT_THEME_ID,
|
|
161
|
+
FONT_FALLBACKS,
|
|
162
|
+
LIGHT_SURFACE,
|
|
163
|
+
THEMES,
|
|
164
|
+
THEME_SCHEMA_VERSION,
|
|
165
|
+
applySurface,
|
|
166
|
+
assertTheme,
|
|
167
|
+
buildGoogleFontsUrl,
|
|
168
|
+
contrastRatio,
|
|
169
|
+
createTheme,
|
|
170
|
+
deriveScale,
|
|
171
|
+
fontStack,
|
|
172
|
+
getAvailableThemes,
|
|
173
|
+
getFontStack,
|
|
174
|
+
getRegisteredThemes,
|
|
175
|
+
getThemeSummaries,
|
|
176
|
+
isHex,
|
|
177
|
+
lookupRegisteredTheme,
|
|
178
|
+
oklchDarken,
|
|
179
|
+
oklchLighten,
|
|
180
|
+
oklchSetChroma,
|
|
181
|
+
pickContrastingText,
|
|
182
|
+
registerTheme,
|
|
183
|
+
relativeLuminance,
|
|
184
|
+
resolveFontFamily,
|
|
185
|
+
resolveTheme,
|
|
186
|
+
unregisterTheme,
|
|
187
|
+
validateTheme
|
|
188
|
+
} from "./chunk-B4EEON3N.js";
|
|
189
|
+
import {
|
|
190
|
+
DEFAULT_DOC_FONT,
|
|
191
|
+
DEFAULT_TITLE_FONT,
|
|
192
|
+
VIEWPORT_PRESETS,
|
|
193
|
+
calculateFontScale,
|
|
194
|
+
createTemplateContext,
|
|
195
|
+
getAspectRatioString,
|
|
196
|
+
getLayoutHints,
|
|
197
|
+
getSafeTextBounds,
|
|
198
|
+
getTwoColumnPositions,
|
|
199
|
+
getViewport,
|
|
200
|
+
getViewportOrientation,
|
|
201
|
+
isPersistentLayerTemplate,
|
|
202
|
+
isTemplateBlock,
|
|
203
|
+
scaledFontSize,
|
|
204
|
+
scaledFontSize2
|
|
205
|
+
} from "./chunk-5WFRKURX.js";
|
|
206
|
+
import {
|
|
207
|
+
LocalForageAdapter,
|
|
208
|
+
LocalStorageAdapter,
|
|
209
|
+
MemoryContentContainer,
|
|
210
|
+
MemoryStorageAdapter,
|
|
211
|
+
ScopedContentContainer,
|
|
212
|
+
createMediaProviderFromContainer,
|
|
213
|
+
findDocumentPath,
|
|
214
|
+
scopeContainer
|
|
215
|
+
} from "./chunk-2TMAWB4Y.js";
|
|
216
|
+
import {
|
|
217
|
+
fromMdast,
|
|
218
|
+
parseHtmlToNodes,
|
|
219
|
+
parseMarkdown,
|
|
220
|
+
stringifyHtmlNodes,
|
|
221
|
+
stringifyMarkdown,
|
|
222
|
+
toMdast
|
|
223
|
+
} from "./chunk-3K5OG6KI.js";
|
|
224
|
+
import "./chunk-DBS6RIFL.js";
|
|
225
|
+
import {
|
|
226
|
+
countNodes,
|
|
227
|
+
createDocument,
|
|
228
|
+
extractPlainText,
|
|
229
|
+
findNodesByType,
|
|
230
|
+
getChildren,
|
|
231
|
+
inferDocumentTitle,
|
|
232
|
+
parseFrontmatter,
|
|
233
|
+
readFrontmatterThemeId,
|
|
234
|
+
setFrontmatterValues,
|
|
235
|
+
walkMarkdownTree
|
|
236
|
+
} from "./chunk-H3AXU4MJ.js";
|
|
237
|
+
import "./chunk-DNJKBAI7.js";
|
|
238
|
+
import {
|
|
239
|
+
estimateNarrationTime,
|
|
240
|
+
estimateReadingTime
|
|
241
|
+
} from "./chunk-4X3JQXNM.js";
|
|
242
|
+
import {
|
|
243
|
+
DEFAULT_WORDS_PER_SECOND,
|
|
244
|
+
calculatePrefixDuration,
|
|
245
|
+
countSpokenWords,
|
|
246
|
+
estimateNarrationDuration,
|
|
247
|
+
estimateSpokenWordCount,
|
|
248
|
+
estimateTimeFromText
|
|
249
|
+
} from "./chunk-3E5F2XMR.js";
|
|
250
|
+
export {
|
|
251
|
+
AVAILABLE_FONT_STACKS,
|
|
252
|
+
DARK_SURFACE,
|
|
253
|
+
DEFAULT_DOC_FONT,
|
|
254
|
+
DEFAULT_LAYOUT,
|
|
255
|
+
DEFAULT_THEME,
|
|
256
|
+
DEFAULT_THEME_ID,
|
|
257
|
+
DEFAULT_TITLE_FONT,
|
|
258
|
+
DEFAULT_WORDS_PER_SECOND,
|
|
259
|
+
DocumentVersionManager,
|
|
260
|
+
FONT_FALLBACKS,
|
|
261
|
+
IMAGE_EDIT_ASSETS_PREFIX,
|
|
262
|
+
IMAGE_EDIT_DEFAULT_BASENAME,
|
|
263
|
+
IMAGE_EDIT_STATE_FILENAME,
|
|
264
|
+
IMAGE_EDIT_VERSIONS_PREFIX,
|
|
265
|
+
ImageEditVersionManager,
|
|
266
|
+
LIGHT_SURFACE,
|
|
267
|
+
LocalForageAdapter,
|
|
268
|
+
LocalStorageAdapter,
|
|
269
|
+
MemoryContentContainer,
|
|
270
|
+
MemoryStorageAdapter,
|
|
271
|
+
STARTER_THEME,
|
|
272
|
+
ScopedContentContainer,
|
|
273
|
+
SeededRandom,
|
|
274
|
+
TEMPLATE_ALIASES,
|
|
275
|
+
THEMES,
|
|
276
|
+
THEME_SCHEMA_VERSION,
|
|
277
|
+
VERSIONS_PREFIX,
|
|
278
|
+
VERSION_TIMESTAMP_PATTERN,
|
|
279
|
+
VIEWPORT_PRESETS,
|
|
280
|
+
addLayer,
|
|
281
|
+
adjustY,
|
|
282
|
+
applySurface,
|
|
283
|
+
arrayItemKind,
|
|
284
|
+
assertTheme,
|
|
285
|
+
buildGoogleFontsUrl,
|
|
286
|
+
buildImageEditVersionPath,
|
|
287
|
+
buildVersionPath,
|
|
288
|
+
calculateBearing,
|
|
289
|
+
calculateDuration,
|
|
290
|
+
calculateFontScale,
|
|
291
|
+
calculatePrefixDuration,
|
|
292
|
+
chooseControl,
|
|
293
|
+
coalesceImageEditVersions,
|
|
294
|
+
coalesceVersions,
|
|
295
|
+
comparisonBar,
|
|
296
|
+
compileTheme,
|
|
297
|
+
contrastRatio,
|
|
298
|
+
countBlocks,
|
|
299
|
+
countNodes,
|
|
300
|
+
countSpokenWords,
|
|
301
|
+
coverBlock,
|
|
302
|
+
createAccentLayers,
|
|
303
|
+
createDocument,
|
|
304
|
+
createEmptyImageEditDoc,
|
|
305
|
+
createMediaProviderFromContainer,
|
|
306
|
+
createTemplateContext,
|
|
307
|
+
createTheme,
|
|
308
|
+
dataTable,
|
|
309
|
+
dateEvent,
|
|
310
|
+
decodeGeohash,
|
|
311
|
+
definitionCard,
|
|
312
|
+
deriveColorPalette,
|
|
313
|
+
deriveScale,
|
|
314
|
+
docToMarkdown,
|
|
315
|
+
encodeGeohash,
|
|
316
|
+
estimateNarrationDuration,
|
|
317
|
+
estimateNarrationTime,
|
|
318
|
+
estimateReadingTime,
|
|
319
|
+
estimateSpokenWordCount,
|
|
320
|
+
estimateTimeFromText,
|
|
321
|
+
evaluateWhen,
|
|
322
|
+
expandCoverBlock,
|
|
323
|
+
expandDocBlocks,
|
|
324
|
+
expandPersistentLayers,
|
|
325
|
+
expandTemplateBlock,
|
|
326
|
+
exportImageEditDoc,
|
|
327
|
+
extractContent,
|
|
328
|
+
extractPlainText,
|
|
329
|
+
factCard,
|
|
330
|
+
findDocumentPath,
|
|
331
|
+
findNodesByType,
|
|
332
|
+
flattenBlocks,
|
|
333
|
+
fontStack,
|
|
334
|
+
formatVersionTimestamp,
|
|
335
|
+
fromMdast,
|
|
336
|
+
fullBleedQuote,
|
|
337
|
+
generateSlideshow,
|
|
338
|
+
geohashOverlapsBounds,
|
|
339
|
+
geohashToHierarchicalPath,
|
|
340
|
+
getAccentLayout,
|
|
341
|
+
getAnimationProgress,
|
|
342
|
+
getAnimationStyle,
|
|
343
|
+
getAspectRatioString,
|
|
344
|
+
getAvailableTemplates,
|
|
345
|
+
getAvailableThemes,
|
|
346
|
+
getBlockAtTime,
|
|
347
|
+
getBlockDepth,
|
|
348
|
+
getByPointer,
|
|
349
|
+
getCaptionAtTime,
|
|
350
|
+
getChildren,
|
|
351
|
+
getDefaultAnimation,
|
|
352
|
+
getDefaultAnimationDuration,
|
|
353
|
+
getDocBasename,
|
|
354
|
+
getDocStyleConfig,
|
|
355
|
+
getFontStack,
|
|
356
|
+
getGeohash4Neighbors,
|
|
357
|
+
getGeohashPath,
|
|
358
|
+
getGeohashPrefix,
|
|
359
|
+
getLayers,
|
|
360
|
+
getLayoutHints,
|
|
361
|
+
getNeighbors,
|
|
362
|
+
getOverlayOpacity,
|
|
363
|
+
getRegisteredThemes,
|
|
364
|
+
getSafeTextBounds,
|
|
365
|
+
getSegmentAtTime,
|
|
366
|
+
getTemplateHint,
|
|
367
|
+
getThemeFont,
|
|
368
|
+
getThemeSummaries,
|
|
369
|
+
getTransitionClass,
|
|
370
|
+
getTwoColumnPositions,
|
|
371
|
+
getViewport,
|
|
372
|
+
getViewportOrientation,
|
|
373
|
+
hasTemplate,
|
|
374
|
+
hashString,
|
|
375
|
+
haversineDistance,
|
|
376
|
+
imageWithCaption,
|
|
377
|
+
inferDocumentTitle,
|
|
378
|
+
inferSchema,
|
|
379
|
+
isHex,
|
|
380
|
+
isPersistentLayerTemplate,
|
|
381
|
+
isTemplateBlock,
|
|
382
|
+
scaledFontSize as layoutScaledFontSize,
|
|
383
|
+
leftFeature,
|
|
384
|
+
listBlock,
|
|
385
|
+
listImageEditVersions,
|
|
386
|
+
listVersions,
|
|
387
|
+
lookupRegisteredTheme,
|
|
388
|
+
mapBlock,
|
|
389
|
+
mapElementToBlock,
|
|
390
|
+
markdownToDoc,
|
|
391
|
+
oklchDarken,
|
|
392
|
+
oklchLighten,
|
|
393
|
+
oklchSetChroma,
|
|
394
|
+
parseFrontmatter,
|
|
395
|
+
parseHtmlToNodes,
|
|
396
|
+
parseImageEditVersionPath,
|
|
397
|
+
parseMarkdown,
|
|
398
|
+
parseTheme,
|
|
399
|
+
parseVersionPath,
|
|
400
|
+
parseVersionTimestamp,
|
|
401
|
+
photoGrid,
|
|
402
|
+
pickContrastingText,
|
|
403
|
+
pointerSegments,
|
|
404
|
+
primaryType,
|
|
405
|
+
profileBlockContents,
|
|
406
|
+
pruneImageEditVersions,
|
|
407
|
+
pruneVersions,
|
|
408
|
+
pullQuote,
|
|
409
|
+
quoteBlock,
|
|
410
|
+
readFrontmatterThemeId,
|
|
411
|
+
readImageEditDoc,
|
|
412
|
+
readImageEditVersion,
|
|
413
|
+
readImageEditVersionText,
|
|
414
|
+
readVersion,
|
|
415
|
+
recommendTemplatesForBlock,
|
|
416
|
+
registerTheme,
|
|
417
|
+
relativeLuminance,
|
|
418
|
+
removeLayer,
|
|
419
|
+
reorderLayer,
|
|
420
|
+
resolveAudioMapping,
|
|
421
|
+
resolveColorScheme,
|
|
422
|
+
resolveFlag,
|
|
423
|
+
resolveFontFamily,
|
|
424
|
+
resolveRef,
|
|
425
|
+
resolveTemplateName,
|
|
426
|
+
resolveTheme,
|
|
427
|
+
revertToImageEditVersion,
|
|
428
|
+
revertToVersion,
|
|
429
|
+
rightFeature,
|
|
430
|
+
saveImageEditVersion,
|
|
431
|
+
saveVersion,
|
|
432
|
+
scaleAnimationDuration,
|
|
433
|
+
scaledFontSize2 as scaledFontSize,
|
|
434
|
+
scopeContainer,
|
|
435
|
+
scoreTextSimilarity,
|
|
436
|
+
sectionHeader,
|
|
437
|
+
serializeTheme,
|
|
438
|
+
setByPointer,
|
|
439
|
+
setCanvas,
|
|
440
|
+
setFrontmatterValues,
|
|
441
|
+
shouldUseShadow,
|
|
442
|
+
statHighlight,
|
|
443
|
+
stringifyHtmlNodes,
|
|
444
|
+
stringifyMarkdown,
|
|
445
|
+
stripMarkdown,
|
|
446
|
+
templateRegistry,
|
|
447
|
+
themedFontSize,
|
|
448
|
+
titleBlock,
|
|
449
|
+
toMdast,
|
|
450
|
+
toPointer,
|
|
451
|
+
touch,
|
|
452
|
+
twoColumn,
|
|
453
|
+
unregisterTheme,
|
|
454
|
+
updateLayer,
|
|
455
|
+
validateDoc,
|
|
456
|
+
validateTheme,
|
|
457
|
+
videoPullQuote,
|
|
458
|
+
videoWithCaption,
|
|
459
|
+
walkMarkdownTree,
|
|
460
|
+
writeImageEditDoc
|
|
461
|
+
};
|
|
9
462
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|