@bendyline/squisq 2.1.0 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/NOTICE.md +24 -0
- package/README.md +8 -8
- package/dist/{ContentContainer-BXUlIf18.d.ts → ContentContainer-B2w9sUoL.d.ts} +15 -0
- package/dist/{Doc-DynJleo-.d.ts → Doc-COe-rPQB.d.ts} +7 -5
- package/dist/{ImageEditDoc-Ca4Tr9uN.d.ts → ImageEditDoc-dtKahVyD.d.ts} +1 -1
- package/dist/{annotationCoercion-Dr_DY9Hx.d.ts → annotationCoercion-PtRQhk5V.d.ts} +1 -1
- package/dist/{chunk-VWCJ2WXC.js → chunk-2ZWIXGAC.js} +0 -1
- package/dist/{chunk-VYFRI7R6.js → chunk-32R2RZAO.js} +72 -3
- package/dist/chunk-3IGPAPQ7.js +645 -0
- package/dist/{chunk-QE7TWGVT.js → chunk-4VOD55SX.js} +0 -1
- package/dist/{chunk-3E5F2XMR.js → chunk-67L6WRJN.js} +0 -1
- package/dist/{chunk-5DKBFXPY.js → chunk-6ECMNUIP.js} +26 -18
- package/dist/{chunk-DBS6RIFL.js → chunk-7N4G32LG.js} +0 -1
- package/dist/{chunk-JOQYPRDZ.js → chunk-7YEZFHLS.js} +10 -8
- package/dist/{chunk-2UQOHYE2.js → chunk-7ZAAICW4.js} +0 -1
- package/dist/{chunk-66QO7XFB.js → chunk-ACZOVWX3.js} +117 -7
- package/dist/{chunk-5J4HKRJF.js → chunk-BAOV476U.js} +0 -1
- package/dist/chunk-BCCXTMN5.js +699 -0
- package/dist/{chunk-JHZWYRSW.js → chunk-C33GTPUZ.js} +11 -4
- package/dist/{chunk-XNLB57UD.js → chunk-EK446BUE.js} +18 -2
- package/dist/{chunk-VR7UPJ7C.js → chunk-FCG3BIZN.js} +12 -1
- package/dist/{chunk-JI77MGAK.js → chunk-GIIOY6XR.js} +2178 -1291
- package/dist/{chunk-Q7LROV2H.js → chunk-NKNMGIIN.js} +0 -1
- package/dist/chunk-OPO5K4DZ.js +241 -0
- package/dist/{chunk-TUWMK62B.js → chunk-PUS54YU6.js} +45 -2
- package/dist/{chunk-OTKVFVL6.js → chunk-QNTQIEIV.js} +130 -47
- package/dist/{chunk-5UYI3RJB.js → chunk-QWCFK5FN.js} +55 -40
- package/dist/{chunk-GZY66SDN.js → chunk-R3KTTOMS.js} +0 -1
- package/dist/{chunk-ILWDXLUK.js → chunk-RS5AP3J4.js} +49 -10
- package/dist/{chunk-QUUPYOSP.js → chunk-SPTY4C6F.js} +136 -5
- package/dist/{chunk-4X3JQXNM.js → chunk-XOFT65EX.js} +1 -2
- package/dist/{chunk-FVTQSNR7.js → chunk-XRW6P7IF.js} +13 -5
- package/dist/{chunk-R2YZTCLO.js → chunk-ZQKZSJAX.js} +1 -2
- package/dist/doc/index.d.ts +311 -13
- package/dist/doc/index.js +25 -17
- package/dist/generate/index.d.ts +2 -2
- package/dist/generate/index.js +1 -3
- package/dist/icons/index.js +2 -4
- package/dist/icons/inlineIconMarker.js +1 -2
- package/dist/imageEdit/index.d.ts +48 -17
- package/dist/imageEdit/index.js +3 -4
- package/dist/index.d.ts +13 -13
- package/dist/index.js +67 -33
- package/dist/jsonForm/index.d.ts +10 -3
- package/dist/jsonForm/index.js +8 -7
- package/dist/markdown/index.d.ts +75 -11
- package/dist/markdown/index.js +32 -7
- package/dist/{materializePageSection-DDzubQXo.d.ts → materializePageSection-BSMOocve.d.ts} +2 -2
- package/dist/narration/index.d.ts +16 -3
- package/dist/narration/index.js +12 -14
- package/dist/random/index.d.ts +11 -2
- package/dist/random/index.js +1 -3
- package/dist/recommend/index.d.ts +1 -1
- package/dist/recommend/index.js +2 -4
- package/dist/schemas/index.d.ts +18 -6
- package/dist/schemas/index.js +7 -6
- package/dist/spatial/index.d.ts +2 -1
- package/dist/spatial/index.js +1 -2
- package/dist/storage/index.d.ts +4 -2
- package/dist/storage/index.js +1 -2
- package/dist/{themeLibrary-B72m0W1y.d.ts → themeLibrary-BUTWjufL.d.ts} +1 -1
- package/dist/timing/index.js +2 -4
- package/dist/transform/index.d.ts +3 -3
- package/dist/transform/index.js +6 -7
- package/dist/{types-C4kiRn_k.d.ts → types-8QjefM9J.d.ts} +38 -2
- package/dist/{types-BwMPl2CB.d.ts → types-CUNc9biN.d.ts} +24 -1
- package/dist/versions/index.d.ts +14 -11
- package/dist/versions/index.js +2 -3
- package/package.json +8 -3
- package/dist/chunk-2UQOHYE2.js.map +0 -1
- package/dist/chunk-3E5F2XMR.js.map +0 -1
- package/dist/chunk-4X3JQXNM.js.map +0 -1
- package/dist/chunk-5DKBFXPY.js.map +0 -1
- package/dist/chunk-5J4HKRJF.js.map +0 -1
- package/dist/chunk-5UYI3RJB.js.map +0 -1
- package/dist/chunk-66QO7XFB.js.map +0 -1
- package/dist/chunk-AMIR72JP.js +0 -380
- package/dist/chunk-AMIR72JP.js.map +0 -1
- package/dist/chunk-DBS6RIFL.js.map +0 -1
- package/dist/chunk-DNJKBAI7.js +0 -1
- package/dist/chunk-DNJKBAI7.js.map +0 -1
- package/dist/chunk-ET53IIEP.js +0 -1
- package/dist/chunk-ET53IIEP.js.map +0 -1
- package/dist/chunk-FVTQSNR7.js.map +0 -1
- package/dist/chunk-GZY66SDN.js.map +0 -1
- package/dist/chunk-ILWDXLUK.js.map +0 -1
- package/dist/chunk-JHZWYRSW.js.map +0 -1
- package/dist/chunk-JI77MGAK.js.map +0 -1
- package/dist/chunk-JOQYPRDZ.js.map +0 -1
- package/dist/chunk-OTKVFVL6.js.map +0 -1
- package/dist/chunk-PGGGKYWG.js +0 -1
- package/dist/chunk-PGGGKYWG.js.map +0 -1
- package/dist/chunk-Q7LROV2H.js.map +0 -1
- package/dist/chunk-QE7TWGVT.js.map +0 -1
- package/dist/chunk-QUUPYOSP.js.map +0 -1
- package/dist/chunk-R2GC6RLD.js +0 -344
- package/dist/chunk-R2GC6RLD.js.map +0 -1
- package/dist/chunk-R2YZTCLO.js.map +0 -1
- package/dist/chunk-S7A5D7ZJ.js +0 -174
- package/dist/chunk-S7A5D7ZJ.js.map +0 -1
- package/dist/chunk-TUWMK62B.js.map +0 -1
- package/dist/chunk-V543AI2F.js +0 -1
- package/dist/chunk-V543AI2F.js.map +0 -1
- package/dist/chunk-VR7UPJ7C.js.map +0 -1
- package/dist/chunk-VWCJ2WXC.js.map +0 -1
- package/dist/chunk-VYFRI7R6.js.map +0 -1
- package/dist/chunk-XNLB57UD.js.map +0 -1
- package/dist/chunk-ZLQKNOZQ.js +0 -1
- package/dist/chunk-ZLQKNOZQ.js.map +0 -1
- package/dist/doc/index.js.map +0 -1
- package/dist/generate/index.js.map +0 -1
- package/dist/icons/index.js.map +0 -1
- package/dist/icons/inlineIconMarker.js.map +0 -1
- package/dist/imageEdit/index.js.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/jsonForm/index.js.map +0 -1
- package/dist/markdown/index.js.map +0 -1
- package/dist/narration/index.js.map +0 -1
- package/dist/random/index.js.map +0 -1
- package/dist/recommend/index.js.map +0 -1
- package/dist/schemas/index.js.map +0 -1
- package/dist/spatial/index.js.map +0 -1
- package/dist/storage/index.js.map +0 -1
- package/dist/timing/index.js.map +0 -1
- package/dist/transform/index.js.map +0 -1
- package/dist/versions/index.js.map +0 -1
- package/src/__tests__/animationUtils.test.ts +0 -117
- package/src/__tests__/annotationCoercion.test.ts +0 -243
- package/src/__tests__/applyNarrationTiming.test.ts +0 -190
- package/src/__tests__/applyRenderStyle.test.ts +0 -146
- package/src/__tests__/asciiDiagramBattle.test.ts +0 -246
- package/src/__tests__/asciiDiagramDetect.test.ts +0 -162
- package/src/__tests__/asciiDiagramMapping.test.ts +0 -38
- package/src/__tests__/asciiDiagramParse.test.ts +0 -233
- package/src/__tests__/asciiDiagramPipeline.test.ts +0 -273
- package/src/__tests__/asciiDiagramRender.test.ts +0 -162
- package/src/__tests__/asciiDiagramRepair.test.ts +0 -84
- package/src/__tests__/asciiTimelineDetect.test.ts +0 -157
- package/src/__tests__/asciiTimelineParse.test.ts +0 -205
- package/src/__tests__/asciiTimelinePipeline.test.ts +0 -349
- package/src/__tests__/asciiTimelineRender.test.ts +0 -376
- package/src/__tests__/atmosphereLayers.test.ts +0 -108
- package/src/__tests__/attrTokens.test.ts +0 -167
- package/src/__tests__/colorUtils.test.ts +0 -112
- package/src/__tests__/contentContainer.test.ts +0 -325
- package/src/__tests__/contentExtractor.test.ts +0 -243
- package/src/__tests__/coverBlock.test.ts +0 -310
- package/src/__tests__/customTemplateSample.test.ts +0 -144
- package/src/__tests__/customTemplatesFrontmatter.test.ts +0 -221
- package/src/__tests__/customThemesFrontmatter.test.ts +0 -146
- package/src/__tests__/dataTable.test.ts +0 -145
- package/src/__tests__/diagramBlock.test.ts +0 -122
- package/src/__tests__/diagramLayout.test.ts +0 -134
- package/src/__tests__/diagramText.test.ts +0 -26
- package/src/__tests__/docToMarkdownMedia.test.ts +0 -83
- package/src/__tests__/drawing.test.ts +0 -109
- package/src/__tests__/drawingBlock.test.ts +0 -124
- package/src/__tests__/drawingLayout.test.ts +0 -171
- package/src/__tests__/fixtures/asciiDiagramBattle.ts +0 -512
- package/src/__tests__/fixtures/asciiDiagrams.ts +0 -287
- package/src/__tests__/fixtures/asciiTimelines.ts +0 -35
- package/src/__tests__/fixtures/treeviewFixtures.ts +0 -243
- package/src/__tests__/geohash.test.ts +0 -110
- package/src/__tests__/getLayers.test.ts +0 -243
- package/src/__tests__/getLayersFallback.test.ts +0 -103
- package/src/__tests__/haversine.test.ts +0 -63
- package/src/__tests__/iconResolve.test.ts +0 -122
- package/src/__tests__/imageEditExportSvg.test.ts +0 -70
- package/src/__tests__/imageEditState.test.ts +0 -74
- package/src/__tests__/imageEditVersions.test.ts +0 -243
- package/src/__tests__/inferDocumentTitle.test.ts +0 -50
- package/src/__tests__/inlineIconMarker.test.ts +0 -36
- package/src/__tests__/inputDescriptors.test.ts +0 -162
- package/src/__tests__/jsonForm.chooseControl.test.ts +0 -86
- package/src/__tests__/jsonForm.evaluateWhen.test.ts +0 -59
- package/src/__tests__/jsonForm.inferSchema.test.ts +0 -25
- package/src/__tests__/jsonForm.pointer.test.ts +0 -149
- package/src/__tests__/jsonForm.tokens.test.ts +0 -84
- package/src/__tests__/layoutBlock.test.ts +0 -83
- package/src/__tests__/layoutLayout.test.ts +0 -169
- package/src/__tests__/localForageAdapter.test.ts +0 -155
- package/src/__tests__/majorApiTypes.test.ts +0 -18
- package/src/__tests__/markdown.test.ts +0 -1009
- package/src/__tests__/markdownIcons.test.ts +0 -104
- package/src/__tests__/markdownSanitize.test.ts +0 -81
- package/src/__tests__/markdownToDoc.test.ts +0 -957
- package/src/__tests__/matchFontFamily.test.ts +0 -114
- package/src/__tests__/materializeBlockLayers.test.ts +0 -167
- package/src/__tests__/materializePageSections.test.ts +0 -404
- package/src/__tests__/materializeTestUtils.ts +0 -17
- package/src/__tests__/mediaAnnotations.test.ts +0 -91
- package/src/__tests__/mediaSchedule.test.ts +0 -118
- package/src/__tests__/narrationAlign.test.ts +0 -150
- package/src/__tests__/narrationFeatures.test.ts +0 -71
- package/src/__tests__/narrationNuclei.test.ts +0 -45
- package/src/__tests__/narrationPacing.test.ts +0 -189
- package/src/__tests__/narrationScript.test.ts +0 -149
- package/src/__tests__/narrationSessionRepro.test.ts +0 -62
- package/src/__tests__/narrationSidecar.test.ts +0 -88
- package/src/__tests__/narrationSyllables.test.ts +0 -65
- package/src/__tests__/narrationTestSignals.ts +0 -167
- package/src/__tests__/narrationVad.test.ts +0 -66
- package/src/__tests__/pageStyle.test.ts +0 -258
- package/src/__tests__/pandocAttrParse.test.ts +0 -187
- package/src/__tests__/recommendTemplates.test.ts +0 -183
- package/src/__tests__/resolveDocTheme.test.ts +0 -69
- package/src/__tests__/rootExports.test.ts +0 -61
- package/src/__tests__/scopedContentContainer.test.ts +0 -109
- package/src/__tests__/seededRandom.test.ts +0 -142
- package/src/__tests__/shapeGeometry.test.ts +0 -138
- package/src/__tests__/shapeVocabulary.test.ts +0 -133
- package/src/__tests__/storage.test.ts +0 -60
- package/src/__tests__/structuredData.test.ts +0 -249
- package/src/__tests__/surface.test.ts +0 -68
- package/src/__tests__/templateAnnotationParse.test.ts +0 -173
- package/src/__tests__/templateInputs.test.ts +0 -69
- package/src/__tests__/templateMetadata.test.ts +0 -32
- package/src/__tests__/templates.test.ts +0 -710
- package/src/__tests__/themeCompile.test.ts +0 -225
- package/src/__tests__/themeValidator.test.ts +0 -131
- package/src/__tests__/timing.test.ts +0 -167
- package/src/__tests__/transformProvenance.test.ts +0 -160
- package/src/__tests__/transformV2.test.ts +0 -163
- package/src/__tests__/transitionNormalize.test.ts +0 -61
- package/src/__tests__/treeviewBattle.test.ts +0 -76
- package/src/__tests__/treeviewDetect.test.ts +0 -168
- package/src/__tests__/treeviewParse.test.ts +0 -118
- package/src/__tests__/treeviewPipeline.test.ts +0 -183
- package/src/__tests__/treeviewRender.test.ts +0 -91
- package/src/__tests__/validateDoc.test.ts +0 -260
- package/src/__tests__/versions.test.ts +0 -459
- package/src/doc/annotationBlocks.ts +0 -117
- package/src/doc/applyNarrationTiming.ts +0 -244
- package/src/doc/asciiDiagram/chars.ts +0 -210
- package/src/doc/asciiDiagram/detect.ts +0 -175
- package/src/doc/asciiDiagram/index.ts +0 -38
- package/src/doc/asciiDiagram/mapping.ts +0 -225
- package/src/doc/asciiDiagram/parse.ts +0 -1095
- package/src/doc/asciiDiagram/render.ts +0 -963
- package/src/doc/asciiDiagram/repair.ts +0 -400
- package/src/doc/asciiDiagram/types.ts +0 -65
- package/src/doc/asciiTimeline/detect.ts +0 -138
- package/src/doc/asciiTimeline/index.ts +0 -26
- package/src/doc/asciiTimeline/mapping.ts +0 -43
- package/src/doc/asciiTimeline/parse.ts +0 -870
- package/src/doc/asciiTimeline/render.ts +0 -427
- package/src/doc/asciiTimeline/types.ts +0 -73
- package/src/doc/asciiTimeline/wrappedFlow.ts +0 -427
- package/src/doc/audioMapping.ts +0 -442
- package/src/doc/customTemplatesFrontmatter.ts +0 -273
- package/src/doc/customThemesFrontmatter.ts +0 -95
- package/src/doc/docToMarkdown.ts +0 -284
- package/src/doc/index.ts +0 -161
- package/src/doc/markdownToDoc.ts +0 -1054
- package/src/doc/materializeBlockLayers.ts +0 -465
- package/src/doc/mediaAnnotations.ts +0 -120
- package/src/doc/page/PageSection.ts +0 -174
- package/src/doc/page/materializePageSection.ts +0 -616
- package/src/doc/page/resolvePageBlock.ts +0 -108
- package/src/doc/page/sectionExtractors.ts +0 -466
- package/src/doc/pageCss.ts +0 -628
- package/src/doc/resolveDocTheme.ts +0 -56
- package/src/doc/standaloneAnnotation.ts +0 -58
- package/src/doc/structuredData.ts +0 -301
- package/src/doc/templateInputs.ts +0 -424
- package/src/doc/templates/__tests__/customTemplate.test.ts +0 -170
- package/src/doc/templates/__tests__/customTemplateRegistry.test.ts +0 -124
- package/src/doc/templates/__tests__/listBlock.test.ts +0 -64
- package/src/doc/templates/accentImage.ts +0 -362
- package/src/doc/templates/captionUtils.ts +0 -56
- package/src/doc/templates/comparisonBar.ts +0 -173
- package/src/doc/templates/coverBlock.ts +0 -255
- package/src/doc/templates/customTemplate.ts +0 -51
- package/src/doc/templates/dataTable.ts +0 -102
- package/src/doc/templates/dateEvent.ts +0 -147
- package/src/doc/templates/definitionCard.ts +0 -140
- package/src/doc/templates/diagramBlock.ts +0 -403
- package/src/doc/templates/diagramLayout.ts +0 -159
- package/src/doc/templates/drawingBlock.ts +0 -325
- package/src/doc/templates/drawingLayout.ts +0 -539
- package/src/doc/templates/factCard.ts +0 -146
- package/src/doc/templates/fallbackBlock.ts +0 -123
- package/src/doc/templates/featureBlock.ts +0 -209
- package/src/doc/templates/fullBleedQuote.ts +0 -83
- package/src/doc/templates/imageWithCaption.ts +0 -186
- package/src/doc/templates/index.ts +0 -642
- package/src/doc/templates/inputDescriptors.ts +0 -451
- package/src/doc/templates/layoutBlock.ts +0 -43
- package/src/doc/templates/layoutLayout.ts +0 -243
- package/src/doc/templates/listBlock.ts +0 -207
- package/src/doc/templates/mapBlock.ts +0 -138
- package/src/doc/templates/metadata.ts +0 -130
- package/src/doc/templates/persistentLayers.ts +0 -526
- package/src/doc/templates/photoGrid.ts +0 -190
- package/src/doc/templates/pullQuote.ts +0 -141
- package/src/doc/templates/quoteBlock.ts +0 -141
- package/src/doc/templates/registry.ts +0 -88
- package/src/doc/templates/sectionHeader.ts +0 -120
- package/src/doc/templates/statHighlight.ts +0 -146
- package/src/doc/templates/templateNames.ts +0 -22
- package/src/doc/templates/timelineBlock.ts +0 -613
- package/src/doc/templates/titleBlock.ts +0 -150
- package/src/doc/templates/tokens/__tests__/resolveTokens.test.ts +0 -487
- package/src/doc/templates/tokens/resolveTokens.ts +0 -453
- package/src/doc/templates/treeBlock.ts +0 -131
- package/src/doc/templates/twoColumn.ts +0 -263
- package/src/doc/templates/videoPullQuote.ts +0 -142
- package/src/doc/templates/videoWithCaption.ts +0 -135
- package/src/doc/treeview/chars.ts +0 -72
- package/src/doc/treeview/detect.ts +0 -145
- package/src/doc/treeview/index.ts +0 -30
- package/src/doc/treeview/mapping.ts +0 -95
- package/src/doc/treeview/parse.ts +0 -201
- package/src/doc/treeview/render.ts +0 -41
- package/src/doc/treeview/types.ts +0 -43
- package/src/doc/utils/animationUtils.ts +0 -399
- package/src/doc/utils/applyRenderStyle.ts +0 -106
- package/src/doc/utils/diagramText.ts +0 -78
- package/src/doc/utils/imageTreatment.ts +0 -70
- package/src/doc/utils/nearest.ts +0 -59
- package/src/doc/utils/shapeGeometry.ts +0 -614
- package/src/doc/utils/themeUtils.ts +0 -243
- package/src/doc/validate.ts +0 -575
- package/src/generate/contentExtractor.ts +0 -921
- package/src/generate/index.ts +0 -18
- package/src/generate/templateMapper.ts +0 -177
- package/src/icons/iconData.ts +0 -31
- package/src/icons/index.ts +0 -26
- package/src/icons/inlineIconMarker.ts +0 -73
- package/src/icons/resolve.ts +0 -139
- package/src/imageEdit/ImageEditVersionManager.ts +0 -73
- package/src/imageEdit/export.ts +0 -410
- package/src/imageEdit/index.ts +0 -72
- package/src/imageEdit/persistence.ts +0 -113
- package/src/imageEdit/state.ts +0 -112
- package/src/imageEdit/versionPaths.ts +0 -44
- package/src/imageEdit/versions.ts +0 -152
- package/src/index.ts +0 -15
- package/src/internal/immutable.ts +0 -58
- package/src/jsonForm/chooseControl.ts +0 -88
- package/src/jsonForm/evaluateWhen.ts +0 -59
- package/src/jsonForm/index.ts +0 -32
- package/src/jsonForm/inferSchema.ts +0 -25
- package/src/jsonForm/pointer.ts +0 -154
- package/src/jsonForm/tokens.ts +0 -78
- package/src/jsonForm/types.ts +0 -167
- package/src/markdown/annotationCoercion.ts +0 -295
- package/src/markdown/attrTokens.ts +0 -243
- package/src/markdown/convert.ts +0 -1353
- package/src/markdown/htmlParse.ts +0 -212
- package/src/markdown/index.ts +0 -152
- package/src/markdown/parse.ts +0 -103
- package/src/markdown/sanitize.ts +0 -318
- package/src/markdown/stringify.ts +0 -207
- package/src/markdown/types.ts +0 -710
- package/src/markdown/utils.ts +0 -459
- package/src/narration/align.ts +0 -514
- package/src/narration/features.ts +0 -231
- package/src/narration/index.ts +0 -86
- package/src/narration/nuclei.ts +0 -118
- package/src/narration/pacing.ts +0 -211
- package/src/narration/script.ts +0 -239
- package/src/narration/session.ts +0 -100
- package/src/narration/sidecar.ts +0 -187
- package/src/narration/syllables.ts +0 -85
- package/src/narration/trace.ts +0 -50
- package/src/narration/types.ts +0 -299
- package/src/narration/vad.ts +0 -131
- package/src/ngeohash.d.ts +0 -11
- package/src/random/SeededRandom.ts +0 -127
- package/src/random/index.ts +0 -1
- package/src/recommend/index.ts +0 -16
- package/src/recommend/numberHighlight.ts +0 -25
- package/src/recommend/templates.ts +0 -393
- package/src/schemas/BlockTemplates.ts +0 -1046
- package/src/schemas/CustomTemplates.ts +0 -126
- package/src/schemas/Doc.ts +0 -1073
- package/src/schemas/ImageEditDoc.ts +0 -102
- package/src/schemas/LayoutStrategy.ts +0 -178
- package/src/schemas/Media.ts +0 -179
- package/src/schemas/MediaProvider.ts +0 -70
- package/src/schemas/PageStyle.ts +0 -213
- package/src/schemas/Theme.ts +0 -413
- package/src/schemas/Transitions.ts +0 -224
- package/src/schemas/Types.ts +0 -15
- package/src/schemas/Viewport.ts +0 -91
- package/src/schemas/colorUtils.ts +0 -219
- package/src/schemas/fontStacks.ts +0 -339
- package/src/schemas/index.ts +0 -31
- package/src/schemas/pageStyleDefaults.ts +0 -204
- package/src/schemas/themeCompile.ts +0 -244
- package/src/schemas/themeConstants.ts +0 -2
- package/src/schemas/themeLibrary.ts +0 -60
- package/src/schemas/themeValidator.ts +0 -609
- package/src/schemas/themes/bold.json +0 -77
- package/src/schemas/themes/cinematic.json +0 -143
- package/src/schemas/themes/documentary.json +0 -125
- package/src/schemas/themes/gezellig.json +0 -123
- package/src/schemas/themes/index.ts +0 -53
- package/src/schemas/themes/magazine.json +0 -126
- package/src/schemas/themes/minimalist.json +0 -74
- package/src/schemas/themes/morning-light.json +0 -117
- package/src/schemas/themes/standard-dark.json +0 -109
- package/src/schemas/themes/standard.json +0 -98
- package/src/schemas/themes/tech-dark.json +0 -143
- package/src/schemas/themes/warm-earth.json +0 -74
- package/src/spatial/Geohash.ts +0 -196
- package/src/spatial/Haversine.ts +0 -59
- package/src/spatial/index.ts +0 -2
- package/src/storage/ContentContainer.ts +0 -220
- package/src/storage/LocalForageAdapter.ts +0 -103
- package/src/storage/LocalStorageAdapter.ts +0 -57
- package/src/storage/MediaProviderFromContainer.ts +0 -92
- package/src/storage/MemoryStorageAdapter.ts +0 -37
- package/src/storage/ScopedContentContainer.ts +0 -143
- package/src/storage/Storage.ts +0 -28
- package/src/storage/index.ts +0 -9
- package/src/timing/index.ts +0 -17
- package/src/timing/narrationTiming.ts +0 -220
- package/src/timing/readingTime.ts +0 -94
- package/src/transform/applyTransform.ts +0 -122
- package/src/transform/blockAnalyzer.ts +0 -181
- package/src/transform/index.ts +0 -23
- package/src/transform/registry.ts +0 -217
- package/src/transform/styles/dataDriven.ts +0 -18
- package/src/transform/styles/documentary.ts +0 -18
- package/src/transform/styles/index.ts +0 -5
- package/src/transform/styles/magazine.ts +0 -19
- package/src/transform/styles/minimal.ts +0 -18
- package/src/transform/styles/narrative.ts +0 -19
- package/src/transform/templateSelector.ts +0 -389
- package/src/transform/timingAllocator.ts +0 -257
- package/src/transform/types.ts +0 -158
- package/src/versions/DocumentVersionManager.ts +0 -70
- package/src/versions/gitignore.ts +0 -34
- package/src/versions/index.ts +0 -56
- package/src/versions/operations.ts +0 -144
- package/src/versions/paths.ts +0 -51
- package/src/versions/snapshotStore.ts +0 -202
- package/src/versions/timestamp.ts +0 -48
- package/src/versions/types.ts +0 -93
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a as ImageEditDoc, b as ImageEditLayer } from '../ImageEditDoc-
|
|
2
|
-
export { E as EditorLayerMeta, I as ImageEditCanvas, c as ImageEditLayerKind, d as ImageEditMeta } from '../ImageEditDoc-
|
|
3
|
-
import { C as ContentContainer } from '../ContentContainer-
|
|
4
|
-
import { V as Version, C as CoalesceOptions, P as PrunePolicy } from '../types-
|
|
5
|
-
import '../Doc-
|
|
6
|
-
import '../types-
|
|
1
|
+
import { a as ImageEditDoc, b as ImageEditLayer } from '../ImageEditDoc-dtKahVyD.js';
|
|
2
|
+
export { E as EditorLayerMeta, I as ImageEditCanvas, c as ImageEditLayerKind, d as ImageEditMeta } from '../ImageEditDoc-dtKahVyD.js';
|
|
3
|
+
import { C as ContentContainer } from '../ContentContainer-B2w9sUoL.js';
|
|
4
|
+
import { V as Version, C as CoalesceOptions, P as PrunePolicy } from '../types-8QjefM9J.js';
|
|
5
|
+
import '../Doc-COe-rPQB.js';
|
|
6
|
+
import '../types-CUNc9biN.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Pure helpers for constructing and mutating {@link ImageEditDoc} values.
|
|
@@ -129,12 +129,42 @@ interface RevertImageEditOptions {
|
|
|
129
129
|
snapshotCurrent?: boolean;
|
|
130
130
|
/** Override the source filename. Defaults to `state.json`. */
|
|
131
131
|
stateFilename?: string;
|
|
132
|
+
/**
|
|
133
|
+
* State to capture as the pre-revert snapshot. Hosts holding unsaved
|
|
134
|
+
* in-memory edits MUST pass it: without it the snapshot reads
|
|
135
|
+
* `state.json` from the container, which is stale whenever the editor
|
|
136
|
+
* has not flushed. Ignored when `snapshotCurrent` is `false`.
|
|
137
|
+
*/
|
|
138
|
+
doc?: ImageEditDoc;
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
* Why a {@link revertToImageEditVersion} call declined to revert.
|
|
142
|
+
*
|
|
143
|
+
* - `'missing-snapshot'` — the requested version could not be read.
|
|
144
|
+
* - `'snapshot-failed'` — the pre-revert snapshot could not be written, so
|
|
145
|
+
* reverting would have destroyed the current state irrecoverably.
|
|
146
|
+
*/
|
|
147
|
+
type RevertImageEditFailureReason = 'missing-snapshot' | 'snapshot-failed';
|
|
148
|
+
/** Result of a {@link revertToImageEditVersion} call. */
|
|
149
|
+
interface RevertImageEditResult {
|
|
150
|
+
reverted: boolean;
|
|
151
|
+
snapshotted: Version | null;
|
|
152
|
+
/** Present only when `reverted` is false. */
|
|
153
|
+
reason?: RevertImageEditFailureReason;
|
|
132
154
|
}
|
|
133
155
|
/** List image-edit snapshots in the sidecar, newest-first. */
|
|
134
156
|
declare function listImageEditVersions(container: ContentContainer, basename?: string): Promise<Version[]>;
|
|
135
157
|
/** Read a snapshot's JSON text. Returns `null` if the snapshot is missing. */
|
|
136
158
|
declare function readImageEditVersionText(container: ContentContainer, version: Version | string): Promise<string | null>;
|
|
137
|
-
/**
|
|
159
|
+
/**
|
|
160
|
+
* Read and parse a snapshot. Returns `null` if missing.
|
|
161
|
+
*
|
|
162
|
+
* A snapshot that EXISTS but is malformed throws rather than returning null:
|
|
163
|
+
* `null` means "no such version", and conflating the two let
|
|
164
|
+
* {@link revertToImageEditVersion} write garbage into `state.json` — wedging
|
|
165
|
+
* the editor on a file that loaded fine before the revert. Throwing here means
|
|
166
|
+
* the revert aborts and the current state survives.
|
|
167
|
+
*/
|
|
138
168
|
declare function readImageEditVersion(container: ContentContainer, version: Version | string): Promise<ImageEditDoc | null>;
|
|
139
169
|
/**
|
|
140
170
|
* Snapshot the current image-editor state if it differs from the latest
|
|
@@ -146,11 +176,15 @@ declare function readImageEditVersion(container: ContentContainer, version: Vers
|
|
|
146
176
|
* structural compare.
|
|
147
177
|
*/
|
|
148
178
|
declare function saveImageEditVersion(container: ContentContainer, options?: SaveImageEditVersionOptions): Promise<SaveImageEditVersionResult>;
|
|
149
|
-
/**
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
179
|
+
/**
|
|
180
|
+
* Revert `state.json` to a prior snapshot. Snapshots the current state first
|
|
181
|
+
* by default.
|
|
182
|
+
*
|
|
183
|
+
* When that snapshot cannot be written, the revert is ABANDONED rather than
|
|
184
|
+
* performed unrecoverably — losing the current state is a worse outcome than
|
|
185
|
+
* a revert that didn't happen. Mirrors `revertToVersion` in `versions/`.
|
|
186
|
+
*/
|
|
187
|
+
declare function revertToImageEditVersion(container: ContentContainer, version: Version | string, options?: RevertImageEditOptions): Promise<RevertImageEditResult>;
|
|
154
188
|
/** Delete snapshots that don't satisfy the policy. */
|
|
155
189
|
declare function pruneImageEditVersions(container: ContentContainer, policy: PrunePolicy, basename?: string): Promise<Version[]>;
|
|
156
190
|
/** Collapse adjacent snapshots within `windowMs`, keeping the newer of each pair. */
|
|
@@ -176,10 +210,7 @@ declare class ImageEditVersionManager {
|
|
|
176
210
|
saveVersion(options?: SaveImageEditVersionOptions): Promise<SaveImageEditVersionResult>;
|
|
177
211
|
listVersions(): Promise<Version[]>;
|
|
178
212
|
readVersion(version: Version | string): Promise<ImageEditDoc | null>;
|
|
179
|
-
revertToVersion(version: Version | string, options?: RevertImageEditOptions): Promise<
|
|
180
|
-
reverted: boolean;
|
|
181
|
-
snapshotted: Version | null;
|
|
182
|
-
}>;
|
|
213
|
+
revertToVersion(version: Version | string, options?: RevertImageEditOptions): Promise<RevertImageEditResult>;
|
|
183
214
|
pruneVersions(policy: PrunePolicy): Promise<Version[]>;
|
|
184
215
|
coalesceVersions(options?: CoalesceOptions): Promise<Version[]>;
|
|
185
216
|
}
|
|
@@ -222,4 +253,4 @@ declare function exportImageEditDoc(doc: ImageEditDoc, container: ContentContain
|
|
|
222
253
|
*/
|
|
223
254
|
declare function buildSvgString(doc: ImageEditDoc, container: ContentContainer): Promise<string>;
|
|
224
255
|
|
|
225
|
-
export { IMAGE_EDIT_ASSETS_PREFIX, IMAGE_EDIT_DEFAULT_BASENAME, IMAGE_EDIT_STATE_FILENAME, IMAGE_EDIT_VERSIONS_PREFIX, ImageEditDoc, type ImageEditExportFormat, type ImageEditExportOptions, ImageEditLayer, ImageEditVersionManager, type ImageEditVersionManagerOptions, type RevertImageEditOptions, type SaveImageEditVersionOptions, type SaveImageEditVersionResult, addLayer, buildImageEditVersionPath, buildSvgString, coalesceImageEditVersions, createEmptyImageEditDoc, exportImageEditDoc, listImageEditVersions, parseImageEditVersionPath, pruneImageEditVersions, readImageEditDoc, readImageEditVersion, readImageEditVersionText, removeLayer, reorderLayer, revertToImageEditVersion, saveImageEditVersion, setCanvas, touch, updateLayer, writeImageEditDoc };
|
|
256
|
+
export { IMAGE_EDIT_ASSETS_PREFIX, IMAGE_EDIT_DEFAULT_BASENAME, IMAGE_EDIT_STATE_FILENAME, IMAGE_EDIT_VERSIONS_PREFIX, ImageEditDoc, type ImageEditExportFormat, type ImageEditExportOptions, ImageEditLayer, ImageEditVersionManager, type ImageEditVersionManagerOptions, type RevertImageEditFailureReason, type RevertImageEditOptions, type RevertImageEditResult, type SaveImageEditVersionOptions, type SaveImageEditVersionResult, addLayer, buildImageEditVersionPath, buildSvgString, coalesceImageEditVersions, createEmptyImageEditDoc, exportImageEditDoc, listImageEditVersions, parseImageEditVersionPath, pruneImageEditVersions, readImageEditDoc, readImageEditVersion, readImageEditVersionText, removeLayer, reorderLayer, revertToImageEditVersion, saveImageEditVersion, setCanvas, touch, updateLayer, writeImageEditDoc };
|
package/dist/imageEdit/index.js
CHANGED
|
@@ -24,9 +24,9 @@ import {
|
|
|
24
24
|
touch,
|
|
25
25
|
updateLayer,
|
|
26
26
|
writeImageEditDoc
|
|
27
|
-
} from "../chunk-
|
|
28
|
-
import "../chunk-
|
|
29
|
-
import "../chunk-
|
|
27
|
+
} from "../chunk-6ECMNUIP.js";
|
|
28
|
+
import "../chunk-OPO5K4DZ.js";
|
|
29
|
+
import "../chunk-PUS54YU6.js";
|
|
30
30
|
export {
|
|
31
31
|
IMAGE_EDIT_ASSETS_PREFIX,
|
|
32
32
|
IMAGE_EDIT_DEFAULT_BASENAME,
|
|
@@ -54,4 +54,3 @@ export {
|
|
|
54
54
|
updateLayer,
|
|
55
55
|
writeImageEditDoc
|
|
56
56
|
};
|
|
57
|
-
//# sourceMappingURL=index.js.map
|
package/dist/index.d.ts
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
export { B as BoundingBox, C as Coordinates } from './Types-sh2VRxfo.js';
|
|
2
|
-
export { A as AccentImage, a as AccentPosition, b as AmbientGradientConfig, c as Animation, d as AnimationType, e as AudioBookmark, f as AudioSegment, g as AudioTimingData, h as AudioTrack, B as Block, i as BlockConnection, j as BorderStyle, C as CaptionPhrase, k as CaptionTrack, l as CaptionWord, m as ColorScheme, n as ComparisonBarInput, o as CornerBrandingConfig, p as CustomTemplateDefinition, q as CustomTemplateLayer, D as DARK_SURFACE, r as DEFAULT_DOC_FONT, s as DEFAULT_TITLE_FONT, t as DataTableInput, u as DateEventInput, v as DeepPartial, w as DefinitionCardInput, x as DiagramBlockInput, y as DiagramEdgeAnchor, z as DiagramTemplateEdge, E as DiagramTemplateNode, F as Doc, G as DocBlock, H as DocDiagnostic, I as DrawingBlockInput, J as FRONTMATTER_CUSTOM_TEMPLATES_KEY, K as FRONTMATTER_CUSTOM_THEMES_KEY, L as FactCardInput, M as FontFamily, N as FontFamilyKind, O as FullBleedQuoteInput, P as GradientBackgroundConfig, Q as ImageBackgroundConfig, R as ImageLayer, S as ImageTreatment, T as ImageWithCaptionInput, U as LIGHT_SURFACE, V as Layer, W as LayerRepeat, X as LayoutHints, Y as LeftFeatureInput, Z as LinearGradient, _ as ListBlockInput, $ as MapBlockInput, a0 as MapLayer, a1 as MapMarker, a2 as MapTileStyle, a3 as MarkerStyle, a4 as MediaClip, a5 as MermaidLayer, a6 as PAGE_ACCENT_STRATEGIES, a7 as PAGE_BACKGROUNDS, a8 as PAGE_BACKGROUND_RHYTHMS, a9 as PAGE_DESIGN_FAMILIES, aa as PAGE_DIVIDERS, ab as PAGE_EMPHASES, ac as PAGE_EYEBROWS, ad as PAGE_HEADING_CASES, ae as PAGE_HEADING_SCALES, af as PAGE_HEADING_UNDERLINES, ag as PAGE_HERO_STYLES, ah as PAGE_IMAGE_FRAMINGS, ai as PAGE_NUMERAL_STYLES, aj as PAGE_PATTERNS, ak as PAGE_QUOTE_MARKS, al as PAGE_SECTION_KINDS, am as PAGE_SECTION_SPACINGS, an as PAGE_SHADOWS, ao as PageAccentRotation, ap as PageBackground, aq as PageDesignFamily, ar as PageEmphasis, as as PageHeadingTreatment, at as PageSectionKind, au as PageSectionOverride, av as PageTokens, aw as PathLayer, ax as PatternBackgroundConfig, ay as PersistentLayer, az as PersistentLayerConfig, aA as PersistentLayerTemplate, aB as PersistentLayerTemplateConfig, aC as PersistentLayerTemplateType, aD as PhotoGridInput, aE as Position, aF as ProgressIndicatorConfig, aG as PullQuoteInput, aH as QuoteBlockInput, aI as RawLayersInput, aJ as RenderStyle, aK as RightFeatureInput, aL as ScheduledClip, aM as SectionHeaderInput, aN as ShapeFilter, aO as ShapeLayer, aP as ShapePattern, aQ as SolidBackgroundConfig, aR as StartBlockConfig, aS as StatHighlightInput, aT as SurfaceScheme, aU as THEME_SCHEMA_VERSION, aV as TableLayer, aW as TableLayerStyle, aX as TemplateBlock, aY as TemplateContext, aZ as TemplateFunction, a_ as TemplateRegistry, a$ as TextLayer, b0 as TextStyle, b1 as Theme, b2 as ThemeColorPalette, b3 as ThemeColorScheme, b4 as ThemePageStyle, b5 as ThemeRegistry, b6 as ThemeSchemaVersion, b7 as ThemeSeedColors, b8 as ThemeStyle, b9 as ThemeTypography, ba as TimelineBlockInput, bb as TimelineTemplateEvent, bc as TimelineTemplateLink, bd as TimelineTemplateTrack, be as TitleBlockInput, bf as TitleCaptionConfig, bg as TreeBlockInput, bh as TreeLayer, bi as TreeLayerItem, bj as TreeLayerStyle, bk as TreeTemplateItem, bl as TwoColumnInput, bm as VIEWPORT_PRESETS, bn as VideoLayer, bo as VideoPullQuoteInput, bp as VideoWithCaptionInput, bq as ViewportConfig, br as ViewportOrientation, bs as ViewportPreset, bt as VignetteConfig, bu as applySurface, bv as calculateDuration, bw as calculateFontScale, bx as createTemplateContext, by as createTheme, bz as createThemeRegistry, bA as getAspectRatioString, bB as getBlockAtTime, bC as getCaptionAtTime, bD as getDocPlaybackDuration, bE as getLayoutHints, bF as getSafeTextBounds, bG as getSegmentAtTime, bH as getTwoColumnPositions, bI as getViewport, bJ as getViewportOrientation, bK as isPersistentLayerTemplate, bL as isTemplateBlock, bM as layoutScaledFontSize, bN as resolveMediaSchedule, bO as scaledFontSize } from './Doc-
|
|
3
|
-
export { D as DEFAULT_TRANSITION_DURATION_SECONDS, H as HeadingAttributes,
|
|
4
|
-
export { AVAILABLE_FONT_STACKS, CompileOptions, ContrastPreset, FONT_FALLBACKS, FontStack, STARTER_THEME, ValidationError, ValidationResult, accentToColorScheme, assertTheme, buildGoogleFontsUrl, compileTheme, contrastRatio, defaultPageStyle, deriveColorPalette, deriveScale, fontStack, getFontStack, guessFontFallback, hexHueDegrees, isHex, matchFontFamily, oklchDarken, oklchLighten, oklchSetChroma, parseTheme, pickContrastingText, relativeLuminance, resolveFontFamily, serializeTheme, validateTheme, withAlpha } from './schemas/index.js';
|
|
5
|
-
export { D as DEFAULT_THEME, a as DEFAULT_THEME_ID, T as THEMES, g as getAvailableThemes, b as getThemeSummaries, r as resolveTheme } from './themeLibrary-
|
|
2
|
+
export { A as AccentImage, a as AccentPosition, b as AmbientGradientConfig, c as Animation, d as AnimationType, e as AudioBookmark, f as AudioSegment, g as AudioTimingData, h as AudioTrack, B as Block, i as BlockConnection, j as BorderStyle, C as CaptionPhrase, k as CaptionTrack, l as CaptionWord, m as ColorScheme, n as ComparisonBarInput, o as CornerBrandingConfig, p as CustomTemplateDefinition, q as CustomTemplateLayer, D as DARK_SURFACE, r as DEFAULT_DOC_FONT, s as DEFAULT_TITLE_FONT, t as DataTableInput, u as DateEventInput, v as DeepPartial, w as DefinitionCardInput, x as DiagramBlockInput, y as DiagramEdgeAnchor, z as DiagramTemplateEdge, E as DiagramTemplateNode, F as Doc, G as DocBlock, H as DocDiagnostic, I as DrawingBlockInput, J as FRONTMATTER_CUSTOM_TEMPLATES_KEY, K as FRONTMATTER_CUSTOM_THEMES_KEY, L as FactCardInput, M as FontFamily, N as FontFamilyKind, O as FullBleedQuoteInput, P as GradientBackgroundConfig, Q as ImageBackgroundConfig, R as ImageLayer, S as ImageTreatment, T as ImageWithCaptionInput, U as LIGHT_SURFACE, V as Layer, W as LayerRepeat, X as LayoutHints, Y as LeftFeatureInput, Z as LinearGradient, _ as ListBlockInput, $ as MapBlockInput, a0 as MapLayer, a1 as MapMarker, a2 as MapTileStyle, a3 as MarkerStyle, a4 as MediaClip, a5 as MermaidLayer, a6 as PAGE_ACCENT_STRATEGIES, a7 as PAGE_BACKGROUNDS, a8 as PAGE_BACKGROUND_RHYTHMS, a9 as PAGE_DESIGN_FAMILIES, aa as PAGE_DIVIDERS, ab as PAGE_EMPHASES, ac as PAGE_EYEBROWS, ad as PAGE_HEADING_CASES, ae as PAGE_HEADING_SCALES, af as PAGE_HEADING_UNDERLINES, ag as PAGE_HERO_STYLES, ah as PAGE_IMAGE_FRAMINGS, ai as PAGE_NUMERAL_STYLES, aj as PAGE_PATTERNS, ak as PAGE_QUOTE_MARKS, al as PAGE_SECTION_KINDS, am as PAGE_SECTION_SPACINGS, an as PAGE_SHADOWS, ao as PageAccentRotation, ap as PageBackground, aq as PageDesignFamily, ar as PageEmphasis, as as PageHeadingTreatment, at as PageSectionKind, au as PageSectionOverride, av as PageTokens, aw as PathLayer, ax as PatternBackgroundConfig, ay as PersistentLayer, az as PersistentLayerConfig, aA as PersistentLayerTemplate, aB as PersistentLayerTemplateConfig, aC as PersistentLayerTemplateType, aD as PhotoGridInput, aE as Position, aF as ProgressIndicatorConfig, aG as PullQuoteInput, aH as QuoteBlockInput, aI as RawLayersInput, aJ as RenderStyle, aK as RightFeatureInput, aL as ScheduledClip, aM as SectionHeaderInput, aN as ShapeFilter, aO as ShapeLayer, aP as ShapePattern, aQ as SolidBackgroundConfig, aR as StartBlockConfig, aS as StatHighlightInput, aT as SurfaceScheme, aU as THEME_SCHEMA_VERSION, aV as TableLayer, aW as TableLayerStyle, aX as TemplateBlock, aY as TemplateContext, aZ as TemplateFunction, a_ as TemplateRegistry, a$ as TextLayer, b0 as TextStyle, b1 as Theme, b2 as ThemeColorPalette, b3 as ThemeColorScheme, b4 as ThemePageStyle, b5 as ThemeRegistry, b6 as ThemeSchemaVersion, b7 as ThemeSeedColors, b8 as ThemeStyle, b9 as ThemeTypography, ba as TimelineBlockInput, bb as TimelineTemplateEvent, bc as TimelineTemplateLink, bd as TimelineTemplateTrack, be as TitleBlockInput, bf as TitleCaptionConfig, bg as TreeBlockInput, bh as TreeLayer, bi as TreeLayerItem, bj as TreeLayerStyle, bk as TreeTemplateItem, bl as TwoColumnInput, bm as VIEWPORT_PRESETS, bn as VideoLayer, bo as VideoPullQuoteInput, bp as VideoWithCaptionInput, bq as ViewportConfig, br as ViewportOrientation, bs as ViewportPreset, bt as VignetteConfig, bu as applySurface, bv as calculateDuration, bw as calculateFontScale, bx as createTemplateContext, by as createTheme, bz as createThemeRegistry, bA as getAspectRatioString, bB as getBlockAtTime, bC as getCaptionAtTime, bD as getDocPlaybackDuration, bE as getLayoutHints, bF as getSafeTextBounds, bG as getSegmentAtTime, bH as getTwoColumnPositions, bI as getViewport, bJ as getViewportOrientation, bK as isPersistentLayerTemplate, bL as isTemplateBlock, bM as layoutScaledFontSize, bN as resolveMediaSchedule, bO as scaledFontSize } from './Doc-COe-rPQB.js';
|
|
3
|
+
export { D as DEFAULT_MARKDOWN_SAFETY_LIMITS, a as DEFAULT_TRANSITION_DURATION_SECONDS, H as HeadingAttributes, b as HeadingTemplateAnnotation, c as HtmlComment, d as HtmlElement, e as HtmlNode, f as HtmlText, M as MarkdownBlockNode, g as MarkdownBlockquote, h as MarkdownBreak, i as MarkdownCodeBlock, j as MarkdownContainerDirective, k as MarkdownDefinitionDescription, l as MarkdownDefinitionList, m as MarkdownDefinitionTerm, n as MarkdownDocument, o as MarkdownEmphasis, p as MarkdownFootnoteDefinition, q as MarkdownFootnoteReference, r as MarkdownHeading, s as MarkdownHtmlBlock, t as MarkdownImage, u as MarkdownImageReference, v as MarkdownInlineCode, w as MarkdownInlineHtml, x as MarkdownInlineMath, y as MarkdownInlineNode, z as MarkdownLeafDirective, A as MarkdownLimitError, B as MarkdownLink, C as MarkdownLinkDefinition, E as MarkdownLinkReference, F as MarkdownList, G as MarkdownListItem, I as MarkdownMathBlock, J as MarkdownMention, K as MarkdownNode, L as MarkdownParagraph, N as MarkdownPoint, O as MarkdownSafetyLimits, P as MarkdownSourcePosition, Q as MarkdownStrikethrough, R as MarkdownStrong, S as MarkdownTable, T as MarkdownTableCell, U as MarkdownTableRow, V as MarkdownText, W as MarkdownTextDirective, X as MarkdownThematicBreak, Y as ParseOptions, Z as StringifyOptions, _ as TRANSITION_DIRECTIONS, $ as TRANSITION_TYPES, a0 as Transition, a1 as TransitionDirection, a2 as TransitionType, a3 as assertMarkdownDocumentWithinLimits, a4 as assertMarkdownSourceWithinLimits, a5 as isTransitionType, a6 as normalizeTransitionDirection, a7 as normalizeTransitionType, a8 as resolveBlockTransition, a9 as resolveMarkdownSafetyLimits, aa as resolveTransitionDuration } from './types-CUNc9biN.js';
|
|
4
|
+
export { AVAILABLE_FONT_STACKS, CompileOptions, ContrastPreset, FONT_FALLBACKS, FontStack, MermaidThemeVariables, STARTER_THEME, ValidationError, ValidationResult, accentToColorScheme, assertTheme, buildGoogleFontsUrl, buildMermaidThemeVariables, compileTheme, contrastRatio, defaultPageStyle, deriveColorPalette, deriveScale, fontStack, getFontStack, guessFontFallback, hexHueDegrees, isHex, matchFontFamily, oklchDarken, oklchLighten, oklchSetChroma, parseTheme, pickContrastingText, relativeLuminance, resolveFontFamily, serializeTheme, validateTheme, withAlpha } from './schemas/index.js';
|
|
5
|
+
export { D as DEFAULT_THEME, a as DEFAULT_THEME_ID, T as THEMES, g as getAvailableThemes, b as getThemeSummaries, r as resolveTheme } from './themeLibrary-BUTWjufL.js';
|
|
6
6
|
export { M as MediaEntry, a as MediaProvider } from './MediaProvider-wpSe21B3.js';
|
|
7
|
-
export { E as EditorLayerMeta, I as ImageEditCanvas, a as ImageEditDoc, b as ImageEditLayer, c as ImageEditLayerKind, d as ImageEditMeta } from './ImageEditDoc-
|
|
8
|
-
export { ASCII_CHAR_H, ASCII_CHAR_W, ASCII_DIAGRAM_FENCE_LANGS, ASCII_TIMELINE_FENCE_LANGS, AccentLayout, AsciiDiagram, AsciiDiagramDetection, AsciiDiagramEdge, AsciiDiagramNode, AsciiTimeline, AsciiTimelineDetection, AsciiTimelineEvent, AsciiTimelineLink, AsciiTimelineMarker, AsciiTimelineSide, AsciiTimelineStats, AsciiTimelineStyle, AsciiTimelineTrack, AudioSegmentTiming, BASE_INPUT_DESCRIPTORS, BlockLayerMaterialization, CONTAINER_TEMPLATES, ClipBox, ConnectorAnchor, ConnectorPort, ConnectorRouting, ConnectorSnapPoint, CoverBlockInput, DEFAULT_LAYOUT, DIAGRAM_LABEL_HORIZONTAL_PADDING, DIAGRAM_LABEL_LINE_HEIGHT, DIAGRAM_LABEL_MIN_FONT_SIZE, DIAGRAM_LABEL_VERTICAL_PADDING, DataFenceParseResult, DeriveTemplateInputsOptions, DetectAsciiTimelineOptions, DiagramEdge, DiagramLabelFit, DiagramLayout, DiagramLayoutOptions, DiagramNodePosition, DrawingConnector, DrawingLayout, DrawingLayoutOptions, DrawingShape, DrawingShapeKind, ExpandDocBlocksOptions, ExtractedTableData, FirstImage, InputCoercion, LayerMaterializationDiagnostic, LayerMaterializationFailureMode, LayerMaterializationSource, LayoutLayerDefaults, LayoutLayersResult, MarkdownToDocOptions, MarkdownValidationResult, MaterializeBlockLayersOptions, NarrationResolution, PAGE_BASE_CSS, PATH_SHAPE_KINDS, PageSectionContext, PageSectionDraft, RenderAsciiDiagramOptions, RenderAsciiTimelineOptions, RenderTreeOptions, RepairResult, ResolvedPageBlock, RuntimeTemplateRegistry, SHAPE_NAMES, SectionExtractor, TEMPLATE_INPUT_DESCRIPTORS, TEMPLATE_METADATA, TREE_FENCE_LANGS, TemplateInputDescriptor, TemplateMetadata, TemplateParamFinding, Tree, TreeDetection, TreeItem, TreeNode, ValidateOptions, adjustY, anchorPoint, applyNarrationTiming, applyRenderStyleToLayers, asciiCellToCanvas, asciiDiagramFromBlocks, asciiDiagramFromTemplateData, asciiDiagramToTemplateData, asciiTimelineToTemplateData, buildPageCss, buildPageCssVars, buildRegistry, canvasToAsciiCell, clipEndpoints, clipPoint, coerceTemplateParams, comparisonBar, computeDiagramLayout, computeDrawingLayout, computeLayoutLayers, connectorPath, countBlocks, coverBlock, createAccentLayers, cssFilterForTreatment, dataTable, dateEvent, definitionCard, deriveTemplateInputs, detectAsciiDiagram, detectAsciiTimeline, detectTree, diagramBlock, docToMarkdown, drawingBlock, expandCoverBlock, expandDocBlocks, expandPersistentLayers, extractBlockquoteText, extractBodyPlainText, extractFirstImage, extractImages, extractListItems, extractTableData, extractTableFromContents, factCard, fallbackBlockLayers, findFirstList, findFirstTable, fitDiagramLabel, flattenBlocks, flattenRenderableBlocks, fullBleedQuote, getAccentLayout, getAnimationProgress, getAnimationStyle, getAvailableTemplates, getBlockBodyText, getBlockDepth, getDefaultAnimation, getDefaultAnimationDuration, getOverlayOpacity, getPersistentLayersFromTheme, getPinnedBlockMeta, getTemplateHint, getThemeFont, getTransitionClass, hasTemplate, imageWithCaption, isAsciiDiagramFence, isAsciiTimelineFence, isContainerTemplate, isDataFence, isEligibleAsciiFenceLang, isEligibleAsciiTimelineFenceLang, isEligibleTreeFenceLang, isExplicitDiagramLang, isExplicitTimelineLang, isExplicitTreeLang, isRepairableDiagram, isShapeName, isTemplatedPageBlock, isTreeFence, isWrappedFlowTimelineSource, layoutBlock, leftFeature, lineStyleDasharray, lintTemplateParams, listBlock, mapBlock, markdownToDoc, markerPath, materializeBlockLayers, nearestSnapPoint, normalizeShapeKind, pageStyleDataAttributes, parseAsciiDiagram, parseAsciiTimeline, parseAsciiTimelineWithStats, parseDataFence, parseTree, parseWrappedFlowTimeline, parseYamlSubset, photoGrid, pullQuote, quoteBlock, readCustomTemplatesFromFrontmatter, readCustomThemesFromFrontmatter, renderAsciiDiagram, renderAsciiTimeline, renderTree, repairAsciiDiagram, replaceDataFence, resolveAudioMapping, resolveColorScheme, resolvePageBlock, resolvePersistentLayers, resolveTemplateName, resolveThemeForDoc, rightFeature, scaleAnimationDuration, scoreTextSimilarity, sectionExtractors, sectionHeader, shapePath, shouldUseShadow, snapEndpoints, snapPoints, statHighlight, templateRegistry, themeWantsAmbientMotion, themedEntrance, themedFontSize, themedImageTreatment, themedScrim, themedSurfaceGradient, timelineBlock, titleBlock, treeBlock, treeFromMarkdownList, treeFromTemplateData, treeToTemplateData, twoColumn, validateMarkdownDoc, validateMarkdownSource, videoPullQuote, videoWithCaption, wrapWithPersistentLayers, writeCustomTemplatesToFrontmatter, writeCustomThemesToFrontmatter } from './doc/index.js';
|
|
9
|
-
export { M as MaterializePageSectionOptions, a as MaterializePageSectionsOptions, P as PageMedia, b as PageRichText, c as PageSection, d as PageSectionDiagnostic, e as PageSectionItem, f as PageSectionMaterialization, g as PageSectionSource, h as PageSpatialKind, i as PageTransformHints, m as materializePageSection, j as materializePageSections, r as resolvePageStyle } from './materializePageSection-
|
|
7
|
+
export { E as EditorLayerMeta, I as ImageEditCanvas, a as ImageEditDoc, b as ImageEditLayer, c as ImageEditLayerKind, d as ImageEditMeta } from './ImageEditDoc-dtKahVyD.js';
|
|
8
|
+
export { ASCII_CHAR_H, ASCII_CHAR_W, ASCII_DIAGRAM_FENCE_LANGS, ASCII_TIMELINE_FENCE_LANGS, AccentLayout, AsciiDiagram, AsciiDiagramDetection, AsciiDiagramEdge, AsciiDiagramNode, AsciiTimeline, AsciiTimelineDetection, AsciiTimelineEvent, AsciiTimelineLink, AsciiTimelineMarker, AsciiTimelineSide, AsciiTimelineStats, AsciiTimelineStyle, AsciiTimelineTrack, AudioSegmentTiming, BASE_INPUT_DESCRIPTORS, BLOCK_MEDIA_LAYOUT_POLICIES, BlockLayerMaterialization, BlockMediaLayoutPolicy, BuiltInTemplateName, CONTAINER_TEMPLATES, ClipBox, ConnectorAnchor, ConnectorPort, ConnectorRouting, ConnectorSnapPoint, CoverBlockInput, DEFAULT_LAYOUT, DIAGRAM_LABEL_HORIZONTAL_PADDING, DIAGRAM_LABEL_LINE_HEIGHT, DIAGRAM_LABEL_MIN_FONT_SIZE, DIAGRAM_LABEL_VERTICAL_PADDING, DataFenceParseResult, DeriveTemplateInputsOptions, DetectAsciiTimelineOptions, DiagramEdge, DiagramLabelFit, DiagramLayout, DiagramLayoutOptions, DiagramNodePosition, DrawingConnector, DrawingLayout, DrawingLayoutOptions, DrawingShape, DrawingShapeKind, EmbeddedVideo, ExpandDocBlocksOptions, ExtractedTableData, FirstImage, InputCoercion, LayerMaterializationDiagnostic, LayerMaterializationFailureMode, LayerMaterializationSource, LayoutLayerDefaults, LayoutLayersResult, MarkdownToDocOptions, MarkdownValidationResult, MaterializeBlockLayersOptions, NarrationResolution, NativeMediaLayout, NoMediaLayout, PAGE_BASE_CSS, PATH_SHAPE_KINDS, PageSectionContext, PageSectionDraft, RenderAsciiDiagramOptions, RenderAsciiTimelineOptions, RenderTreeOptions, RepairResult, ResolvedPageBlock, RuntimeTemplateRegistry, SHAPE_NAMES, SectionExtractor, SupplementalMediaLayoutVariant, SupplementalMediaShape, SupplementalMediaVariantMatrix, TEMPLATE_INPUT_DESCRIPTORS, TEMPLATE_METADATA, TREE_FENCE_LANGS, TemplateInputDescriptor, TemplateMediaOwnership, TemplateMetadata, TemplateParamFinding, Tree, TreeDetection, TreeItem, TreeNode, UnconsumedMediaBehavior, ValidateOptions, adjustY, anchorPoint, applyNarrationTiming, applyRenderStyleToLayers, asciiCellToCanvas, asciiDiagramFromBlocks, asciiDiagramFromTemplateData, asciiDiagramToTemplateData, asciiTimelineToTemplateData, autoTemplatePreservesContent, buildPageCss, buildPageCssVars, buildRegistry, canvasToAsciiCell, clipEndpoints, clipPoint, coerceTemplateParams, comparisonBar, computeDiagramLayout, computeDrawingLayout, computeLayoutLayers, connectorPath, countBlocks, coverBlock, createAccentLayers, cssFilterForTreatment, dataTable, dateEvent, definitionCard, deriveTemplateInputs, detectAsciiDiagram, detectAsciiTimeline, detectTree, diagramBlock, docToMarkdown, drawingBlock, expandCoverBlock, expandDocBlocks, expandPersistentLayers, extractBlockquoteText, extractBodyPlainText, extractEmbeddedVideos, extractFirstEmbeddedVideo, extractFirstImage, extractImages, extractListItems, extractTableData, extractTableFromContents, factCard, fallbackBlockLayers, findFirstList, findFirstTable, fitDiagramLabel, flattenBlocks, flattenRenderableBlocks, fullBleedQuote, getAccentLayout, getAnimationProgress, getAnimationStyle, getAvailableTemplates, getBlockBodyText, getBlockDepth, getBlockMediaLayoutPolicy, getDefaultAnimation, getDefaultAnimationDuration, getOverlayOpacity, getPersistentLayersFromTheme, getPinnedBlockMeta, getTemplateHint, getThemeFont, getTransitionClass, hasTemplate, imageWithCaption, isAsciiDiagramFence, isAsciiTimelineFence, isContainerTemplate, isDataFence, isEligibleAsciiFenceLang, isEligibleAsciiTimelineFenceLang, isEligibleTreeFenceLang, isExplicitDiagramLang, isExplicitTimelineLang, isExplicitTreeLang, isRepairableDiagram, isShapeName, isTemplatedPageBlock, isTreeFence, isWrappedFlowTimelineSource, layoutBlock, leftFeature, lineStyleDasharray, lintTemplateParams, listBlock, mapBlock, markdownToDoc, markerPath, materializeBlockLayers, nearestSnapPoint, normalizeShapeKind, pageStyleDataAttributes, parseAsciiDiagram, parseAsciiTimeline, parseAsciiTimelineWithStats, parseDataFence, parseTree, parseWrappedFlowTimeline, parseYamlSubset, photoGrid, pullQuote, quoteBlock, readCustomTemplatesFromFrontmatter, readCustomThemesFromFrontmatter, renderAsciiDiagram, renderAsciiTimeline, renderTree, repairAsciiDiagram, replaceDataFence, resolveAudioMapping, resolveColorScheme, resolvePageBlock, resolvePersistentLayers, resolveTemplateName, resolveThemeForDoc, rightFeature, scaleAnimationDuration, scoreTextSimilarity, sectionExtractors, sectionHeader, shapePath, shouldUseShadow, snapEndpoints, snapPoints, statHighlight, templateRegistry, themeWantsAmbientMotion, themedEntrance, themedFontSize, themedImageTreatment, themedScrim, themedSurfaceGradient, timelineBlock, titleBlock, treeBlock, treeFromMarkdownList, treeFromTemplateData, treeToTemplateData, twoColumn, validateMarkdownDoc, validateMarkdownSource, videoPullQuote, videoWithCaption, wrapWithPersistentLayers, writeCustomTemplatesToFrontmatter, writeCustomThemesToFrontmatter } from './doc/index.js';
|
|
9
|
+
export { M as MaterializePageSectionOptions, a as MaterializePageSectionsOptions, P as PageMedia, b as PageRichText, c as PageSection, d as PageSectionDiagnostic, e as PageSectionItem, f as PageSectionMaterialization, g as PageSectionSource, h as PageSpatialKind, i as PageTransformHints, m as materializePageSection, j as materializePageSections, r as resolvePageStyle } from './materializePageSection-BSMOocve.js';
|
|
10
10
|
export { calculateBearing, decodeGeohash, encodeGeohash, geohashOverlapsBounds, geohashToHierarchicalPath, getGeohash4Neighbors, getGeohashPath, getGeohashPrefix, getNeighbors, haversineDistance } from './spatial/index.js';
|
|
11
11
|
export { LocalForageAdapter, LocalForageAdapterOptions, LocalStorageAdapter, MemoryStorageAdapter, ScopedContentContainer, StorageAdapter, createMediaProviderFromContainer, scopeContainer } from './storage/index.js';
|
|
12
|
-
export { C as ContentContainer, a as ContentEntry, M as MemoryContentContainer, f as findDocumentPath } from './ContentContainer-
|
|
13
|
-
export { HtmlPolicy, SanitizeUrlOptions, TrailingAnnotationMatch, UrlKind, countNodes, createDocument, extractPlainText, findNodesByType, formatBlockScalar, formatFrontmatterValue, fromMdast, getChildren, inferDocumentTitle, matchTrailingPandocAttr, matchTrailingTemplateAnnotation, needsQuoting, parseFrontmatter, parseHtmlToNodes, parseMarkdown, parsePandocAttrTokens, plainTextFromInlineHtml, quoteAttrValue, readFrontmatterThemeId, sanitizeHtmlNodes, sanitizeUrl, serializePandocAttributes, setFrontmatterValues, splitKeyValueToken, stringifyHtmlNodes, stringifyMarkdown, toMdast, tokenizeAttrTokens, unquoteAttrValue, walkMarkdownTree } from './markdown/index.js';
|
|
14
|
-
export { B as BLOCK_META_KEY_DESCRIPTORS, a as BlockMetaKeyDescriptor, K as KNOWN_BLOCK_META_KEYS, b as KnownBlockMetaKey, p as parseTimeSeconds } from './annotationCoercion-
|
|
12
|
+
export { C as ContentContainer, a as ContentEntry, M as MemoryContentContainer, f as findDocumentPath } from './ContentContainer-B2w9sUoL.js';
|
|
13
|
+
export { DEFAULT_INTERACTIVE_RESOURCE_POLICY, DEFAULT_RESOURCE_MAX_BYTES, DEFAULT_RESOURCE_TIMEOUT_MS, FetchResourceBytesOptions, FetchedResource, HtmlPolicy, LOCAL_ONLY_RESOURCE_POLICY, ResourcePolicy, ResourcePolicyError, SanitizeUrlOptions, TrailingAnnotationMatch, UrlKind, countNodes, createDocument, extractPlainText, fetchResourceBytes, findNodesByType, formatBlockScalar, formatFrontmatterValue, formatFrontmatterYaml, fromMdast, getChildren, inferDocumentTitle, isResourceUrlAllowed, matchTrailingPandocAttr, matchTrailingTemplateAnnotation, needsQuoting, parseFrontmatter, parseHtmlToNodes, parseMarkdown, parsePandocAttrTokens, plainTextFromInlineHtml, quoteAttrValue, readFrontmatterThemeId, sanitizeHtmlNodes, sanitizeUrl, serializePandocAttributes, setFrontmatterValues, splitKeyValueToken, stringifyHtmlNodes, stringifyMarkdown, toMdast, tokenizeAttrTokens, unquoteAttrValue, walkMarkdownTree } from './markdown/index.js';
|
|
14
|
+
export { B as BLOCK_META_KEY_DESCRIPTORS, a as BlockMetaKeyDescriptor, K as KNOWN_BLOCK_META_KEYS, b as KnownBlockMetaKey, p as parseTimeSeconds } from './annotationCoercion-PtRQhk5V.js';
|
|
15
15
|
export { DEFAULT_WORDS_PER_SECOND, NarrationTimeEstimate, NarrationTimeOptions, ReadingTimeEstimate, ReadingTimeOptions, calculatePrefixDuration, countSpokenWords, estimateNarrationDuration, estimateNarrationTime, estimateReadingTime, estimateSpokenWordCount, estimateTimeFromText } from './timing/index.js';
|
|
16
16
|
export { SeededRandom, hashString } from './random/index.js';
|
|
17
17
|
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';
|
|
18
18
|
export { MapOptions, mapElementToBlock } from './generate/index.js';
|
|
19
19
|
export { AnalyzedBlock, BlockImage, DEFAULT_TRANSFORM_STYLE_ID, TransformImage, TransformOptions, TransformResult, TransformStyleConfig, TransformStyleId, TransformStyleInput, TransformStyleRegistry, TransformStyleSummary, analyzeBlocks, applyTransform, createTransformStyleRegistry, extractDocImages, getTransformStyleIds, getTransformStyleSummaries, resolveTransformStyle } from './transform/index.js';
|
|
20
|
-
export { C as CoalesceOptions, P as PrunePolicy, R as RevertOptions, S as SaveVersionOptions,
|
|
20
|
+
export { C as CoalesceOptions, P as PrunePolicy, R as RevertFailureReason, a as RevertOptions, b as RevertResult, S as SaveVersionOptions, c as SaveVersionResult, V as Version } from './types-8QjefM9J.js';
|
|
21
21
|
export { DocumentVersionManager, DocumentVersionManagerOptions, VERSIONS_PREFIX, VERSION_TIMESTAMP_PATTERN, buildVersionPath, coalesceVersions, formatVersionTimestamp, getDocBasename, listVersions, parseVersionPath, parseVersionTimestamp, pruneVersions, readVersion, revertToVersion, saveVersion } from './versions/index.js';
|
|
22
|
-
export { BuildJsonFormTokensOptions, ControlKind, InferSchemaOptions, JsonFormValidationError, JsonFormValidator, SquisqAnnotatedSchema, SquisqHints, SquisqWhen, appendPointer, arrayItemKind, buildJsonFormTokens, chooseControl, escapePointerSegment, evaluateWhen, getByPointer, inferSchema, pointerSegments, primaryType, resolveFlag, resolveJsonFormTheme, resolveRef, setByPointer, toPointer } from './jsonForm/index.js';
|
|
23
|
-
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, buildSvgString, coalesceImageEditVersions, createEmptyImageEditDoc, exportImageEditDoc, listImageEditVersions, parseImageEditVersionPath, pruneImageEditVersions, readImageEditDoc, readImageEditVersion, readImageEditVersionText, removeLayer, reorderLayer, revertToImageEditVersion, saveImageEditVersion, setCanvas, touch, updateLayer, writeImageEditDoc } from './imageEdit/index.js';
|
|
22
|
+
export { BuildJsonFormTokensOptions, ControlKind, InferSchemaOptions, JsonFormValidationError, JsonFormValidator, SquisqAnnotatedSchema, SquisqHints, SquisqWhen, appendPointer, arrayItemKind, buildJsonFormTokens, chooseControl, escapePointerSegment, evaluateWhen, getByPointer, inferSchema, isSafeConditionRegex, pointerSegments, primaryType, resolveFlag, resolveJsonFormTheme, resolveRef, setByPointer, toPointer } from './jsonForm/index.js';
|
|
23
|
+
export { IMAGE_EDIT_ASSETS_PREFIX, IMAGE_EDIT_DEFAULT_BASENAME, IMAGE_EDIT_STATE_FILENAME, IMAGE_EDIT_VERSIONS_PREFIX, ImageEditExportFormat, ImageEditExportOptions, ImageEditVersionManager, ImageEditVersionManagerOptions, RevertImageEditFailureReason, RevertImageEditOptions, RevertImageEditResult, SaveImageEditVersionOptions, SaveImageEditVersionResult, addLayer, buildImageEditVersionPath, buildSvgString, coalesceImageEditVersions, createEmptyImageEditDoc, exportImageEditDoc, listImageEditVersions, parseImageEditVersionPath, pruneImageEditVersions, readImageEditDoc, readImageEditVersion, readImageEditVersionText, removeLayer, reorderLayer, revertToImageEditVersion, saveImageEditVersion, setCanvas, touch, updateLayer, writeImageEditDoc } from './imageEdit/index.js';
|
|
24
24
|
export { I as ICONS, a as IconEntry, b as IconFamily, c as IconTextRun, h as hasIconMarker, i as iconClass, d as iconMarker, s as splitIconMarkers, e as stripIconMarkers } from './inlineIconMarker-CiE8Hlvz.js';
|
|
25
25
|
export { IconSuggestion, canonicalIconToken, iconGlyph, looksLikeIconToken, resolveIcon, suggestIcons } from './icons/index.js';
|
|
26
26
|
export { BlockContentProfile, RecommendationResult, profileBlockContents, recommendTemplatesForBlock } from './recommend/index.js';
|
package/dist/index.js
CHANGED
|
@@ -23,8 +23,7 @@ import {
|
|
|
23
23
|
reanchorSession,
|
|
24
24
|
traceWordPosAt,
|
|
25
25
|
vadStep
|
|
26
|
-
} from "./chunk-
|
|
27
|
-
import "./chunk-ET53IIEP.js";
|
|
26
|
+
} from "./chunk-EK446BUE.js";
|
|
28
27
|
import {
|
|
29
28
|
DEFAULT_TRANSFORM_STYLE_ID,
|
|
30
29
|
analyzeBlocks,
|
|
@@ -34,12 +33,12 @@ import {
|
|
|
34
33
|
getTransformStyleIds,
|
|
35
34
|
getTransformStyleSummaries,
|
|
36
35
|
resolveTransformStyle
|
|
37
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-RS5AP3J4.js";
|
|
38
37
|
import {
|
|
39
38
|
extractContent,
|
|
40
39
|
mapElementToBlock,
|
|
41
40
|
stripMarkdown
|
|
42
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-NKNMGIIN.js";
|
|
43
42
|
import {
|
|
44
43
|
DocumentVersionManager,
|
|
45
44
|
VERSIONS_PREFIX,
|
|
@@ -52,7 +51,7 @@ import {
|
|
|
52
51
|
readVersion,
|
|
53
52
|
revertToVersion,
|
|
54
53
|
saveVersion
|
|
55
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-7YEZFHLS.js";
|
|
56
55
|
import {
|
|
57
56
|
appendPointer,
|
|
58
57
|
arrayItemKind,
|
|
@@ -62,6 +61,7 @@ import {
|
|
|
62
61
|
evaluateWhen,
|
|
63
62
|
getByPointer,
|
|
64
63
|
inferSchema,
|
|
64
|
+
isSafeConditionRegex,
|
|
65
65
|
pointerSegments,
|
|
66
66
|
primaryType,
|
|
67
67
|
resolveFlag,
|
|
@@ -69,7 +69,7 @@ import {
|
|
|
69
69
|
resolveRef,
|
|
70
70
|
setByPointer,
|
|
71
71
|
toPointer
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-32R2RZAO.js";
|
|
73
73
|
import {
|
|
74
74
|
IMAGE_EDIT_ASSETS_PREFIX,
|
|
75
75
|
IMAGE_EDIT_DEFAULT_BASENAME,
|
|
@@ -96,24 +96,23 @@ import {
|
|
|
96
96
|
touch,
|
|
97
97
|
updateLayer,
|
|
98
98
|
writeImageEditDoc
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-6ECMNUIP.js";
|
|
100
100
|
import {
|
|
101
101
|
VERSION_TIMESTAMP_PATTERN,
|
|
102
102
|
formatVersionTimestamp,
|
|
103
103
|
parseVersionTimestamp
|
|
104
|
-
} from "./chunk-
|
|
105
|
-
import "./chunk-PGGGKYWG.js";
|
|
104
|
+
} from "./chunk-OPO5K4DZ.js";
|
|
106
105
|
import {
|
|
107
106
|
hasIconMarker,
|
|
108
107
|
iconClass,
|
|
109
108
|
iconMarker,
|
|
110
109
|
splitIconMarkers,
|
|
111
110
|
stripIconMarkers
|
|
112
|
-
} from "./chunk-
|
|
113
|
-
import "./chunk-ZLQKNOZQ.js";
|
|
111
|
+
} from "./chunk-7ZAAICW4.js";
|
|
114
112
|
import {
|
|
115
113
|
STARTER_THEME,
|
|
116
114
|
accentToColorScheme,
|
|
115
|
+
buildMermaidThemeVariables,
|
|
117
116
|
calculateDuration,
|
|
118
117
|
compileTheme,
|
|
119
118
|
deriveColorPalette,
|
|
@@ -122,7 +121,7 @@ import {
|
|
|
122
121
|
getSegmentAtTime,
|
|
123
122
|
parseTheme,
|
|
124
123
|
serializeTheme
|
|
125
|
-
} from "./chunk-
|
|
124
|
+
} from "./chunk-SPTY4C6F.js";
|
|
126
125
|
import {
|
|
127
126
|
calculateBearing,
|
|
128
127
|
decodeGeohash,
|
|
@@ -134,7 +133,7 @@ import {
|
|
|
134
133
|
getGeohashPrefix,
|
|
135
134
|
getNeighbors,
|
|
136
135
|
haversineDistance
|
|
137
|
-
} from "./chunk-
|
|
136
|
+
} from "./chunk-R3KTTOMS.js";
|
|
138
137
|
import {
|
|
139
138
|
PAGE_BASE_CSS,
|
|
140
139
|
applyNarrationTiming,
|
|
@@ -163,11 +162,12 @@ import {
|
|
|
163
162
|
sectionExtractors,
|
|
164
163
|
validateMarkdownDoc,
|
|
165
164
|
validateMarkdownSource
|
|
166
|
-
} from "./chunk-
|
|
165
|
+
} from "./chunk-QNTQIEIV.js";
|
|
167
166
|
import {
|
|
168
167
|
ASCII_CHAR_H,
|
|
169
168
|
ASCII_CHAR_W,
|
|
170
169
|
BASE_INPUT_DESCRIPTORS,
|
|
170
|
+
BLOCK_MEDIA_LAYOUT_POLICIES,
|
|
171
171
|
CONTAINER_TEMPLATES,
|
|
172
172
|
DEFAULT_LAYOUT,
|
|
173
173
|
DIAGRAM_LABEL_HORIZONTAL_PADDING,
|
|
@@ -184,6 +184,7 @@ import {
|
|
|
184
184
|
asciiDiagramFromTemplateData,
|
|
185
185
|
asciiDiagramToTemplateData,
|
|
186
186
|
asciiTimelineToTemplateData,
|
|
187
|
+
autoTemplatePreservesContent,
|
|
187
188
|
buildNarrationScript,
|
|
188
189
|
buildNarrationTimingJson,
|
|
189
190
|
buildRegistry,
|
|
@@ -209,6 +210,8 @@ import {
|
|
|
209
210
|
expectedSyllablesAt,
|
|
210
211
|
extractBlockquoteText,
|
|
211
212
|
extractBodyPlainText,
|
|
213
|
+
extractEmbeddedVideos,
|
|
214
|
+
extractFirstEmbeddedVideo,
|
|
212
215
|
extractFirstImage,
|
|
213
216
|
extractImages,
|
|
214
217
|
extractListItems,
|
|
@@ -226,6 +229,7 @@ import {
|
|
|
226
229
|
getAvailableTemplates,
|
|
227
230
|
getBlockBodyText,
|
|
228
231
|
getBlockDepth,
|
|
232
|
+
getBlockMediaLayoutPolicy,
|
|
229
233
|
getDefaultAnimation,
|
|
230
234
|
getOverlayOpacity,
|
|
231
235
|
getPersistentLayersFromTheme,
|
|
@@ -284,7 +288,7 @@ import {
|
|
|
284
288
|
wrapWithPersistentLayers,
|
|
285
289
|
writeCustomTemplatesToFrontmatter,
|
|
286
290
|
writeCustomThemesToFrontmatter
|
|
287
|
-
} from "./chunk-
|
|
291
|
+
} from "./chunk-GIIOY6XR.js";
|
|
288
292
|
import {
|
|
289
293
|
PATH_SHAPE_KINDS,
|
|
290
294
|
anchorPoint,
|
|
@@ -297,7 +301,7 @@ import {
|
|
|
297
301
|
shapePath,
|
|
298
302
|
snapEndpoints,
|
|
299
303
|
snapPoints
|
|
300
|
-
} from "./chunk-
|
|
304
|
+
} from "./chunk-PUS54YU6.js";
|
|
301
305
|
import {
|
|
302
306
|
ASCII_DIAGRAM_FENCE_LANGS,
|
|
303
307
|
ASCII_TIMELINE_FENCE_LANGS,
|
|
@@ -322,12 +326,12 @@ import {
|
|
|
322
326
|
parseWrappedFlowTimeline,
|
|
323
327
|
profileBlockContents,
|
|
324
328
|
recommendTemplatesForBlock
|
|
325
|
-
} from "./chunk-
|
|
329
|
+
} from "./chunk-QWCFK5FN.js";
|
|
326
330
|
import {
|
|
327
331
|
defaultPageStyle,
|
|
328
332
|
getDocPlaybackDuration,
|
|
329
333
|
resolveMediaSchedule
|
|
330
|
-
} from "./chunk-
|
|
334
|
+
} from "./chunk-2ZWIXGAC.js";
|
|
331
335
|
import {
|
|
332
336
|
AVAILABLE_FONT_STACKS,
|
|
333
337
|
DARK_SURFACE,
|
|
@@ -381,7 +385,7 @@ import {
|
|
|
381
385
|
resolveTheme,
|
|
382
386
|
validateTheme,
|
|
383
387
|
withAlpha
|
|
384
|
-
} from "./chunk-
|
|
388
|
+
} from "./chunk-C33GTPUZ.js";
|
|
385
389
|
import {
|
|
386
390
|
DEFAULT_DOC_FONT,
|
|
387
391
|
DEFAULT_TITLE_FONT,
|
|
@@ -398,7 +402,7 @@ import {
|
|
|
398
402
|
isTemplateBlock,
|
|
399
403
|
scaledFontSize,
|
|
400
404
|
scaledFontSize2
|
|
401
|
-
} from "./chunk-
|
|
405
|
+
} from "./chunk-BAOV476U.js";
|
|
402
406
|
import {
|
|
403
407
|
LocalForageAdapter,
|
|
404
408
|
LocalStorageAdapter,
|
|
@@ -408,19 +412,31 @@ import {
|
|
|
408
412
|
createMediaProviderFromContainer,
|
|
409
413
|
findDocumentPath,
|
|
410
414
|
scopeContainer
|
|
411
|
-
} from "./chunk-
|
|
415
|
+
} from "./chunk-FCG3BIZN.js";
|
|
412
416
|
import {
|
|
417
|
+
DEFAULT_INTERACTIVE_RESOURCE_POLICY,
|
|
418
|
+
DEFAULT_RESOURCE_MAX_BYTES,
|
|
419
|
+
DEFAULT_RESOURCE_TIMEOUT_MS,
|
|
420
|
+
LOCAL_ONLY_RESOURCE_POLICY,
|
|
421
|
+
ResourcePolicyError,
|
|
422
|
+
fetchResourceBytes,
|
|
423
|
+
isResourceUrlAllowed,
|
|
413
424
|
sanitizeHtmlNodes,
|
|
414
425
|
sanitizeUrl,
|
|
415
426
|
stringifyMarkdown
|
|
416
|
-
} from "./chunk-
|
|
427
|
+
} from "./chunk-3IGPAPQ7.js";
|
|
417
428
|
import {
|
|
429
|
+
DEFAULT_MARKDOWN_SAFETY_LIMITS,
|
|
430
|
+
MarkdownLimitError,
|
|
431
|
+
assertMarkdownDocumentWithinLimits,
|
|
432
|
+
assertMarkdownSourceWithinLimits,
|
|
418
433
|
fromMdast,
|
|
419
434
|
parseMarkdown,
|
|
420
435
|
parsePandocAttrTokens,
|
|
436
|
+
resolveMarkdownSafetyLimits,
|
|
421
437
|
serializePandocAttributes,
|
|
422
438
|
toMdast
|
|
423
|
-
} from "./chunk-
|
|
439
|
+
} from "./chunk-ACZOVWX3.js";
|
|
424
440
|
import {
|
|
425
441
|
BLOCK_META_KEY_DESCRIPTORS,
|
|
426
442
|
KNOWN_BLOCK_META_KEYS,
|
|
@@ -432,7 +448,7 @@ import {
|
|
|
432
448
|
splitKeyValueToken,
|
|
433
449
|
tokenizeAttrTokens,
|
|
434
450
|
unquoteAttrValue
|
|
435
|
-
} from "./chunk-
|
|
451
|
+
} from "./chunk-ZQKZSJAX.js";
|
|
436
452
|
import {
|
|
437
453
|
ICONS,
|
|
438
454
|
canonicalIconToken,
|
|
@@ -440,7 +456,7 @@ import {
|
|
|
440
456
|
looksLikeIconToken,
|
|
441
457
|
resolveIcon,
|
|
442
458
|
suggestIcons
|
|
443
|
-
} from "./chunk-
|
|
459
|
+
} from "./chunk-7N4G32LG.js";
|
|
444
460
|
import {
|
|
445
461
|
countNodes,
|
|
446
462
|
createDocument,
|
|
@@ -448,6 +464,7 @@ import {
|
|
|
448
464
|
findNodesByType,
|
|
449
465
|
formatBlockScalar,
|
|
450
466
|
formatFrontmatterValue,
|
|
467
|
+
formatFrontmatterYaml,
|
|
451
468
|
getChildren,
|
|
452
469
|
inferDocumentTitle,
|
|
453
470
|
parseFrontmatter,
|
|
@@ -457,7 +474,7 @@ import {
|
|
|
457
474
|
setFrontmatterValues,
|
|
458
475
|
stringifyHtmlNodes,
|
|
459
476
|
walkMarkdownTree
|
|
460
|
-
} from "./chunk-
|
|
477
|
+
} from "./chunk-BCCXTMN5.js";
|
|
461
478
|
import {
|
|
462
479
|
DEFAULT_TRANSITION_DURATION_SECONDS,
|
|
463
480
|
TRANSITION_DIRECTIONS,
|
|
@@ -467,12 +484,11 @@ import {
|
|
|
467
484
|
normalizeTransitionType,
|
|
468
485
|
resolveBlockTransition,
|
|
469
486
|
resolveTransitionDuration
|
|
470
|
-
} from "./chunk-
|
|
471
|
-
import "./chunk-DNJKBAI7.js";
|
|
487
|
+
} from "./chunk-4VOD55SX.js";
|
|
472
488
|
import {
|
|
473
489
|
estimateNarrationTime,
|
|
474
490
|
estimateReadingTime
|
|
475
|
-
} from "./chunk-
|
|
491
|
+
} from "./chunk-XOFT65EX.js";
|
|
476
492
|
import {
|
|
477
493
|
DEFAULT_WORDS_PER_SECOND,
|
|
478
494
|
calculatePrefixDuration,
|
|
@@ -480,12 +496,11 @@ import {
|
|
|
480
496
|
estimateNarrationDuration,
|
|
481
497
|
estimateSpokenWordCount,
|
|
482
498
|
estimateTimeFromText
|
|
483
|
-
} from "./chunk-
|
|
484
|
-
import "./chunk-V543AI2F.js";
|
|
499
|
+
} from "./chunk-67L6WRJN.js";
|
|
485
500
|
import {
|
|
486
501
|
SeededRandom,
|
|
487
502
|
hashString
|
|
488
|
-
} from "./chunk-
|
|
503
|
+
} from "./chunk-XRW6P7IF.js";
|
|
489
504
|
export {
|
|
490
505
|
ASCII_CHAR_H,
|
|
491
506
|
ASCII_CHAR_W,
|
|
@@ -493,15 +508,20 @@ export {
|
|
|
493
508
|
ASCII_TIMELINE_FENCE_LANGS,
|
|
494
509
|
AVAILABLE_FONT_STACKS,
|
|
495
510
|
BASE_INPUT_DESCRIPTORS,
|
|
511
|
+
BLOCK_MEDIA_LAYOUT_POLICIES,
|
|
496
512
|
BLOCK_META_KEY_DESCRIPTORS,
|
|
497
513
|
CONTAINER_TEMPLATES,
|
|
498
514
|
DARK_SURFACE,
|
|
499
515
|
DEFAULT_ALIGN_CONFIG,
|
|
500
516
|
DEFAULT_DOC_FONT,
|
|
501
517
|
DEFAULT_FEATURE_CONFIG,
|
|
518
|
+
DEFAULT_INTERACTIVE_RESOURCE_POLICY,
|
|
502
519
|
DEFAULT_LAYOUT,
|
|
520
|
+
DEFAULT_MARKDOWN_SAFETY_LIMITS,
|
|
503
521
|
DEFAULT_NUCLEI_CONFIG,
|
|
504
522
|
DEFAULT_PACING_CONFIG,
|
|
523
|
+
DEFAULT_RESOURCE_MAX_BYTES,
|
|
524
|
+
DEFAULT_RESOURCE_TIMEOUT_MS,
|
|
505
525
|
DEFAULT_THEME,
|
|
506
526
|
DEFAULT_THEME_ID,
|
|
507
527
|
DEFAULT_TITLE_FONT,
|
|
@@ -525,8 +545,10 @@ export {
|
|
|
525
545
|
ImageEditVersionManager,
|
|
526
546
|
KNOWN_BLOCK_META_KEYS,
|
|
527
547
|
LIGHT_SURFACE,
|
|
548
|
+
LOCAL_ONLY_RESOURCE_POLICY,
|
|
528
549
|
LocalForageAdapter,
|
|
529
550
|
LocalStorageAdapter,
|
|
551
|
+
MarkdownLimitError,
|
|
530
552
|
MemoryContentContainer,
|
|
531
553
|
MemoryStorageAdapter,
|
|
532
554
|
PAGE_ACCENT_STRATEGIES,
|
|
@@ -549,6 +571,7 @@ export {
|
|
|
549
571
|
PAGE_SECTION_SPACINGS,
|
|
550
572
|
PAGE_SHADOWS,
|
|
551
573
|
PATH_SHAPE_KINDS,
|
|
574
|
+
ResourcePolicyError,
|
|
552
575
|
SHAPE_NAMES,
|
|
553
576
|
STARTER_THEME,
|
|
554
577
|
ScopedContentContainer,
|
|
@@ -580,11 +603,15 @@ export {
|
|
|
580
603
|
asciiDiagramFromTemplateData,
|
|
581
604
|
asciiDiagramToTemplateData,
|
|
582
605
|
asciiTimelineToTemplateData,
|
|
606
|
+
assertMarkdownDocumentWithinLimits,
|
|
607
|
+
assertMarkdownSourceWithinLimits,
|
|
583
608
|
assertTheme,
|
|
609
|
+
autoTemplatePreservesContent,
|
|
584
610
|
bandpassRun,
|
|
585
611
|
buildGoogleFontsUrl,
|
|
586
612
|
buildImageEditVersionPath,
|
|
587
613
|
buildJsonFormTokens,
|
|
614
|
+
buildMermaidThemeVariables,
|
|
588
615
|
buildNarrationScript,
|
|
589
616
|
buildNarrationTimingJson,
|
|
590
617
|
buildPageCss,
|
|
@@ -664,6 +691,8 @@ export {
|
|
|
664
691
|
extractBodyPlainText,
|
|
665
692
|
extractContent,
|
|
666
693
|
extractDocImages,
|
|
694
|
+
extractEmbeddedVideos,
|
|
695
|
+
extractFirstEmbeddedVideo,
|
|
667
696
|
extractFirstImage,
|
|
668
697
|
extractFrameFeatures,
|
|
669
698
|
extractImages,
|
|
@@ -674,6 +703,7 @@ export {
|
|
|
674
703
|
factCard,
|
|
675
704
|
fallbackBlockLayers,
|
|
676
705
|
featureStep,
|
|
706
|
+
fetchResourceBytes,
|
|
677
707
|
findDocumentPath,
|
|
678
708
|
findFirstList,
|
|
679
709
|
findFirstTable,
|
|
@@ -684,6 +714,7 @@ export {
|
|
|
684
714
|
fontStack,
|
|
685
715
|
formatBlockScalar,
|
|
686
716
|
formatFrontmatterValue,
|
|
717
|
+
formatFrontmatterYaml,
|
|
687
718
|
formatVersionTimestamp,
|
|
688
719
|
fromMdast,
|
|
689
720
|
fullBleedQuote,
|
|
@@ -698,6 +729,7 @@ export {
|
|
|
698
729
|
getBlockAtTime,
|
|
699
730
|
getBlockBodyText,
|
|
700
731
|
getBlockDepth,
|
|
732
|
+
getBlockMediaLayoutPolicy,
|
|
701
733
|
getByPointer,
|
|
702
734
|
getCaptionAtTime,
|
|
703
735
|
getChildren,
|
|
@@ -750,6 +782,8 @@ export {
|
|
|
750
782
|
isHex,
|
|
751
783
|
isPersistentLayerTemplate,
|
|
752
784
|
isRepairableDiagram,
|
|
785
|
+
isResourceUrlAllowed,
|
|
786
|
+
isSafeConditionRegex,
|
|
753
787
|
isShapeName,
|
|
754
788
|
isTemplateBlock,
|
|
755
789
|
isTemplatedPageBlock,
|
|
@@ -840,6 +874,7 @@ export {
|
|
|
840
874
|
resolveFontFamily,
|
|
841
875
|
resolveIcon,
|
|
842
876
|
resolveJsonFormTheme,
|
|
877
|
+
resolveMarkdownSafetyLimits,
|
|
843
878
|
resolveMediaSchedule,
|
|
844
879
|
resolvePageBlock,
|
|
845
880
|
resolvePageStyle,
|
|
@@ -917,4 +952,3 @@ export {
|
|
|
917
952
|
writeCustomThemesToFrontmatter,
|
|
918
953
|
writeImageEditDoc
|
|
919
954
|
};
|
|
920
|
-
//# sourceMappingURL=index.js.map
|
package/dist/jsonForm/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b1 as Theme, aT as SurfaceScheme } from '../Doc-
|
|
2
|
-
import '../types-
|
|
1
|
+
import { b1 as Theme, aT as SurfaceScheme } from '../Doc-COe-rPQB.js';
|
|
2
|
+
import '../types-CUNc9biN.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* JSON Form types — Squisq's hint vocabulary layered on JSON Schema.
|
|
@@ -146,6 +146,13 @@ declare function arrayItemKind(schema: SquisqAnnotatedSchema): 'object' | 'primi
|
|
|
146
146
|
* renderers call this on every render with fresh data.
|
|
147
147
|
*/
|
|
148
148
|
|
|
149
|
+
/**
|
|
150
|
+
* Reject regex features that cannot be evaluated with a predictable cost in
|
|
151
|
+
* JavaScript's backtracking engine. JSON Form conditions are intended for
|
|
152
|
+
* small validation-style matches, so a conservative false negative is safer
|
|
153
|
+
* than allowing authored schemas to freeze the render thread.
|
|
154
|
+
*/
|
|
155
|
+
declare function isSafeConditionRegex(pattern: string): boolean;
|
|
149
156
|
declare function evaluateWhen(when: SquisqWhen, rootData: unknown): boolean;
|
|
150
157
|
/**
|
|
151
158
|
* Resolve a `boolean | SquisqWhen` flag (used by `hidden`/`disabled`)
|
|
@@ -233,4 +240,4 @@ declare function buildJsonFormTokens(theme: Theme | undefined, surface: SurfaceS
|
|
|
233
240
|
*/
|
|
234
241
|
declare function resolveJsonFormTheme(theme: Theme | undefined, surface: SurfaceScheme | undefined): Theme;
|
|
235
242
|
|
|
236
|
-
export { type BuildJsonFormTokensOptions, type ControlKind, type InferSchemaOptions, type JsonFormValidationError, type JsonFormValidator, type SquisqAnnotatedSchema, type SquisqHints, type SquisqWhen, appendPointer, arrayItemKind, buildJsonFormTokens, chooseControl, escapePointerSegment, evaluateWhen, getByPointer, inferSchema, pointerSegments, primaryType, resolveFlag, resolveJsonFormTheme, resolveRef, setByPointer, toPointer };
|
|
243
|
+
export { type BuildJsonFormTokensOptions, type ControlKind, type InferSchemaOptions, type JsonFormValidationError, type JsonFormValidator, type SquisqAnnotatedSchema, type SquisqHints, type SquisqWhen, appendPointer, arrayItemKind, buildJsonFormTokens, chooseControl, escapePointerSegment, evaluateWhen, getByPointer, inferSchema, isSafeConditionRegex, pointerSegments, primaryType, resolveFlag, resolveJsonFormTheme, resolveRef, setByPointer, toPointer };
|