@bendyline/squisq 1.5.2 → 2.0.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/README.md +63 -10
- package/dist/{Doc-BBVGq1_9.d.ts → Doc-ylqWKDc_.d.ts} +248 -37
- package/dist/{ImageEditDoc-FuyGtt6o.d.ts → ImageEditDoc-D828IXJ1.d.ts} +1 -1
- package/dist/annotationCoercion-Dr_DY9Hx.d.ts +86 -0
- package/dist/{chunk-VWUFZ6ZG.js → chunk-3E5F2XMR.js} +2 -29
- package/dist/chunk-3E5F2XMR.js.map +1 -0
- package/dist/chunk-4X3JQXNM.js +35 -0
- package/dist/chunk-4X3JQXNM.js.map +1 -0
- package/dist/{chunk-P3K7NLHF.js → chunk-5DKBFXPY.js} +31 -121
- package/dist/chunk-5DKBFXPY.js.map +1 -0
- package/dist/{chunk-DLXZMS5K.js → chunk-5J4HKRJF.js} +51 -3
- package/dist/chunk-5J4HKRJF.js.map +1 -0
- package/dist/chunk-5UYI3RJB.js +2503 -0
- package/dist/chunk-5UYI3RJB.js.map +1 -0
- package/dist/{chunk-BEQODJWV.js → chunk-66QO7XFB.js} +11 -291
- package/dist/chunk-66QO7XFB.js.map +1 -0
- package/dist/{chunk-KKNUBQ6Y.js → chunk-6PJRB2CF.js} +156 -91
- package/dist/chunk-6PJRB2CF.js.map +1 -0
- package/dist/{chunk-HWVFJAAH.js → chunk-AMIR72JP.js} +28 -10
- package/dist/chunk-AMIR72JP.js.map +1 -0
- package/dist/chunk-FVJUUTEM.js +74 -0
- package/dist/chunk-FVJUUTEM.js.map +1 -0
- package/dist/{chunk-5TYS5V3G.js → chunk-GF3BVNLU.js} +4127 -3538
- package/dist/chunk-GF3BVNLU.js.map +1 -0
- package/dist/{chunk-Q3ROPT5H.js → chunk-GZY66SDN.js} +1 -1
- package/dist/{chunk-Q3ROPT5H.js.map → chunk-GZY66SDN.js.map} +1 -1
- package/dist/chunk-JOQYPRDZ.js +127 -0
- package/dist/chunk-JOQYPRDZ.js.map +1 -0
- package/dist/{chunk-A4O7GIWE.js → chunk-LYNJEOAC.js} +10 -73
- package/dist/chunk-LYNJEOAC.js.map +1 -0
- package/dist/{chunk-LDQ2HJIX.js → chunk-PXLVXTLW.js} +252 -54
- package/dist/chunk-PXLVXTLW.js.map +1 -0
- package/dist/{chunk-TQWLI6S2.js → chunk-Q7LROV2H.js} +4 -2
- package/dist/{chunk-TQWLI6S2.js.map → chunk-Q7LROV2H.js.map} +1 -1
- package/dist/{chunk-T5UK6YOB.js → chunk-QTSJOY54.js} +60 -17
- package/dist/chunk-QTSJOY54.js.map +1 -0
- package/dist/chunk-QVANWDPH.js +2358 -0
- package/dist/chunk-QVANWDPH.js.map +1 -0
- package/dist/{chunk-GPLTCSXO.js → chunk-R2GC6RLD.js} +7 -7
- package/dist/chunk-R2GC6RLD.js.map +1 -0
- package/dist/chunk-R2YZTCLO.js +292 -0
- package/dist/chunk-R2YZTCLO.js.map +1 -0
- package/dist/chunk-S7A5D7ZJ.js +174 -0
- package/dist/chunk-S7A5D7ZJ.js.map +1 -0
- package/dist/chunk-T3TI7GSZ.js +884 -0
- package/dist/chunk-T3TI7GSZ.js.map +1 -0
- package/dist/{chunk-LTN6I7QW.js → chunk-TUWMK62B.js} +55 -4
- package/dist/chunk-TUWMK62B.js.map +1 -0
- package/dist/{chunk-IMSCRLLV.js → chunk-VR7UPJ7C.js} +35 -25
- package/dist/chunk-VR7UPJ7C.js.map +1 -0
- package/dist/doc/index.d.ts +2334 -5
- package/dist/doc/index.js +127 -33
- package/dist/generate/index.d.ts +7 -2
- package/dist/generate/index.js +1 -1
- package/dist/imageEdit/index.d.ts +9 -6
- package/dist/imageEdit/index.js +3 -3
- package/dist/index.d.ts +12 -10
- package/dist/index.js +246 -80
- package/dist/jsonForm/index.d.ts +7 -3
- package/dist/jsonForm/index.js +9 -4
- package/dist/markdown/index.d.ts +6 -70
- package/dist/markdown/index.js +13 -9
- package/dist/narration/index.d.ts +618 -0
- package/dist/narration/index.js +82 -0
- package/dist/recommend/index.d.ts +15 -1
- package/dist/recommend/index.js +2 -2
- package/dist/schemas/index.d.ts +28 -6
- package/dist/schemas/index.js +15 -13
- package/dist/spatial/index.d.ts +0 -1
- package/dist/spatial/index.js +1 -1
- package/dist/storage/index.js +1 -1
- package/dist/{themeLibrary-CehcJhzz.d.ts → themeLibrary-RjVgLpUi.d.ts} +10 -11
- package/dist/timing/index.js +5 -3
- package/dist/transform/index.d.ts +35 -24
- package/dist/transform/index.js +9 -10
- package/dist/{types-DlAZ7MW4.d.ts → types-BwMPl2CB.d.ts} +1 -1
- package/dist/{types-D98li1gV.d.ts → types-C4kiRn_k.d.ts} +3 -1
- package/dist/versions/index.d.ts +2 -1
- package/dist/versions/index.js +2 -2
- package/package.json +6 -6
- package/src/__tests__/applyNarrationTiming.test.ts +190 -0
- package/src/__tests__/applyRenderStyle.test.ts +3 -3
- package/src/__tests__/asciiDiagramBattle.test.ts +246 -0
- package/src/__tests__/asciiDiagramDetect.test.ts +162 -0
- package/src/__tests__/asciiDiagramMapping.test.ts +38 -0
- package/src/__tests__/asciiDiagramParse.test.ts +233 -0
- package/src/__tests__/asciiDiagramPipeline.test.ts +273 -0
- package/src/__tests__/asciiDiagramRender.test.ts +162 -0
- package/src/__tests__/asciiDiagramRepair.test.ts +84 -0
- package/src/__tests__/asciiTimelineDetect.test.ts +157 -0
- package/src/__tests__/asciiTimelineParse.test.ts +205 -0
- package/src/__tests__/asciiTimelinePipeline.test.ts +349 -0
- package/src/__tests__/asciiTimelineRender.test.ts +376 -0
- package/src/__tests__/attrTokens.test.ts +5 -0
- package/src/__tests__/contentContainer.test.ts +43 -0
- package/src/__tests__/customTemplatesFrontmatter.test.ts +0 -15
- package/src/__tests__/dataTable.test.ts +25 -15
- package/src/__tests__/diagramBlock.test.ts +3 -3
- package/src/__tests__/diagramText.test.ts +26 -0
- package/src/__tests__/docToMarkdownMedia.test.ts +83 -0
- package/src/__tests__/drawingBlock.test.ts +3 -3
- package/src/__tests__/fixtures/asciiDiagramBattle.ts +512 -0
- package/src/__tests__/fixtures/asciiDiagrams.ts +287 -0
- package/src/__tests__/fixtures/asciiTimelines.ts +35 -0
- package/src/__tests__/fixtures/treeviewFixtures.ts +243 -0
- package/src/__tests__/getLayers.test.ts +32 -18
- package/src/__tests__/getLayersFallback.test.ts +8 -8
- package/src/__tests__/imageEditVersions.test.ts +2 -0
- package/src/__tests__/jsonForm.pointer.test.ts +47 -1
- package/src/__tests__/layoutBlock.test.ts +3 -3
- package/src/__tests__/majorApiTypes.test.ts +18 -0
- package/src/__tests__/markdown.test.ts +41 -0
- package/src/__tests__/matchFontFamily.test.ts +114 -0
- package/src/__tests__/materializeBlockLayers.test.ts +135 -0
- package/src/__tests__/materializeTestUtils.ts +17 -0
- package/src/__tests__/narrationAlign.test.ts +150 -0
- package/src/__tests__/narrationFeatures.test.ts +71 -0
- package/src/__tests__/narrationNuclei.test.ts +45 -0
- package/src/__tests__/narrationPacing.test.ts +189 -0
- package/src/__tests__/narrationScript.test.ts +149 -0
- package/src/__tests__/narrationSessionRepro.test.ts +62 -0
- package/src/__tests__/narrationSidecar.test.ts +88 -0
- package/src/__tests__/narrationSyllables.test.ts +65 -0
- package/src/__tests__/narrationTestSignals.ts +167 -0
- package/src/__tests__/narrationVad.test.ts +66 -0
- package/src/__tests__/resolveDocTheme.test.ts +16 -2
- package/src/__tests__/rootExports.test.ts +18 -0
- package/src/__tests__/scopedContentContainer.test.ts +20 -0
- package/src/__tests__/shapeGeometry.test.ts +12 -0
- package/src/__tests__/templateAnnotationParse.test.ts +10 -0
- package/src/__tests__/templateInputs.test.ts +69 -0
- package/src/__tests__/templateMetadata.test.ts +2 -1
- package/src/__tests__/templates.test.ts +143 -17
- package/src/__tests__/themeCompile.test.ts +49 -22
- package/src/__tests__/transformProvenance.test.ts +160 -0
- package/src/__tests__/transformV2.test.ts +40 -14
- package/src/__tests__/treeviewBattle.test.ts +76 -0
- package/src/__tests__/treeviewDetect.test.ts +168 -0
- package/src/__tests__/treeviewParse.test.ts +118 -0
- package/src/__tests__/treeviewPipeline.test.ts +183 -0
- package/src/__tests__/treeviewRender.test.ts +91 -0
- package/src/__tests__/versions.test.ts +44 -0
- package/src/doc/applyNarrationTiming.ts +244 -0
- package/src/doc/asciiDiagram/chars.ts +210 -0
- package/src/doc/asciiDiagram/detect.ts +175 -0
- package/src/doc/asciiDiagram/index.ts +38 -0
- package/src/doc/asciiDiagram/mapping.ts +225 -0
- package/src/doc/asciiDiagram/parse.ts +1095 -0
- package/src/doc/asciiDiagram/render.ts +963 -0
- package/src/doc/asciiDiagram/repair.ts +400 -0
- package/src/doc/asciiDiagram/types.ts +65 -0
- package/src/doc/asciiTimeline/detect.ts +138 -0
- package/src/doc/asciiTimeline/index.ts +26 -0
- package/src/doc/asciiTimeline/mapping.ts +43 -0
- package/src/doc/asciiTimeline/parse.ts +870 -0
- package/src/doc/asciiTimeline/render.ts +427 -0
- package/src/doc/asciiTimeline/types.ts +73 -0
- package/src/doc/asciiTimeline/wrappedFlow.ts +427 -0
- package/src/doc/audioMapping.ts +60 -46
- package/src/doc/customTemplatesFrontmatter.ts +0 -41
- package/src/doc/docToMarkdown.ts +70 -2
- package/src/doc/index.ts +76 -4
- package/src/doc/markdownToDoc.ts +135 -1
- package/src/doc/materializeBlockLayers.ts +304 -0
- package/src/doc/mediaAnnotations.ts +20 -0
- package/src/doc/resolveDocTheme.ts +8 -7
- package/src/doc/templateInputs.ts +185 -2
- package/src/doc/templates/__tests__/customTemplateRegistry.test.ts +22 -8
- package/src/doc/templates/diagramBlock.ts +237 -38
- package/src/doc/templates/fallbackBlock.ts +1 -1
- package/src/doc/templates/index.ts +134 -279
- package/src/doc/templates/inputDescriptors.ts +20 -1
- package/src/doc/templates/metadata.ts +10 -0
- package/src/doc/templates/persistentLayers.ts +12 -126
- package/src/doc/templates/registry.ts +88 -0
- package/src/doc/templates/templateNames.ts +22 -0
- package/src/doc/templates/timelineBlock.ts +613 -0
- package/src/doc/templates/treeBlock.ts +131 -0
- package/src/doc/treeview/chars.ts +72 -0
- package/src/doc/treeview/detect.ts +145 -0
- package/src/doc/treeview/index.ts +30 -0
- package/src/doc/treeview/mapping.ts +95 -0
- package/src/doc/treeview/parse.ts +201 -0
- package/src/doc/treeview/render.ts +41 -0
- package/src/doc/treeview/types.ts +43 -0
- package/src/doc/utils/applyRenderStyle.ts +2 -9
- package/src/doc/utils/diagramText.ts +78 -0
- package/src/doc/utils/shapeGeometry.ts +67 -5
- package/src/doc/validate.ts +1 -1
- package/src/generate/templateMapper.ts +7 -0
- package/src/imageEdit/export.ts +6 -5
- package/src/imageEdit/versionPaths.ts +13 -26
- package/src/imageEdit/versions.ts +21 -100
- package/src/index.ts +1 -0
- package/src/internal/immutable.ts +58 -0
- package/src/jsonForm/index.ts +9 -1
- package/src/jsonForm/pointer.ts +68 -23
- package/src/markdown/attrTokens.ts +7 -5
- package/src/markdown/index.ts +1 -0
- package/src/markdown/stringify.ts +4 -9
- package/src/markdown/utils.ts +36 -14
- package/src/narration/align.ts +514 -0
- package/src/narration/features.ts +231 -0
- package/src/narration/index.ts +86 -0
- package/src/narration/nuclei.ts +118 -0
- package/src/narration/pacing.ts +211 -0
- package/src/narration/script.ts +239 -0
- package/src/narration/session.ts +100 -0
- package/src/narration/sidecar.ts +187 -0
- package/src/narration/syllables.ts +85 -0
- package/src/narration/trace.ts +50 -0
- package/src/narration/types.ts +299 -0
- package/src/narration/vad.ts +131 -0
- package/src/recommend/numberHighlight.ts +25 -0
- package/src/recommend/templates.ts +108 -12
- package/src/schemas/BlockTemplates.ts +156 -7
- package/src/schemas/Doc.ts +72 -9
- package/src/schemas/Media.ts +12 -2
- package/src/schemas/Theme.ts +45 -25
- package/src/schemas/Viewport.ts +2 -2
- package/src/schemas/fontStacks.ts +79 -0
- package/src/schemas/themeCompile.ts +15 -0
- package/src/schemas/themeConstants.ts +2 -0
- package/src/schemas/themeLibrary.ts +25 -19
- package/src/schemas/themeValidator.ts +1 -1
- package/src/spatial/Geohash.ts +0 -3
- package/src/storage/ContentContainer.ts +17 -9
- package/src/storage/ScopedContentContainer.ts +45 -15
- package/src/transform/applyTransform.ts +5 -5
- package/src/transform/index.ts +3 -1
- package/src/transform/registry.ts +169 -49
- package/src/transform/templateSelector.ts +21 -2
- package/src/transform/timingAllocator.ts +152 -21
- package/src/transform/types.ts +14 -1
- package/src/versions/gitignore.ts +34 -0
- package/src/versions/index.ts +2 -0
- package/src/versions/operations.ts +18 -104
- package/src/versions/paths.ts +13 -28
- package/src/versions/snapshotStore.ts +202 -0
- package/src/versions/types.ts +3 -1
- package/dist/chunk-5TYS5V3G.js.map +0 -1
- package/dist/chunk-A4O7GIWE.js.map +0 -1
- package/dist/chunk-BEQODJWV.js.map +0 -1
- package/dist/chunk-DLXZMS5K.js.map +0 -1
- package/dist/chunk-GPLTCSXO.js.map +0 -1
- package/dist/chunk-HWVFJAAH.js.map +0 -1
- package/dist/chunk-IMSCRLLV.js.map +0 -1
- package/dist/chunk-JELIRVDP.js +0 -24
- package/dist/chunk-JELIRVDP.js.map +0 -1
- package/dist/chunk-KKNUBQ6Y.js.map +0 -1
- package/dist/chunk-LDQ2HJIX.js.map +0 -1
- package/dist/chunk-LTN6I7QW.js.map +0 -1
- package/dist/chunk-P3K7NLHF.js.map +0 -1
- package/dist/chunk-T5UK6YOB.js.map +0 -1
- package/dist/chunk-UY7KGQ5R.js +0 -192
- package/dist/chunk-UY7KGQ5R.js.map +0 -1
- package/dist/chunk-VLJJHDAC.js +0 -218
- package/dist/chunk-VLJJHDAC.js.map +0 -1
- package/dist/chunk-VWUFZ6ZG.js.map +0 -1
- package/dist/story/index.d.ts +0 -1801
- package/dist/story/index.js +0 -279
- package/src/doc/getLayers.ts +0 -195
- /package/dist/{story → narration}/index.js.map +0 -0
package/dist/doc/index.js
CHANGED
|
@@ -1,14 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
+
applyNarrationTiming,
|
|
3
|
+
cssFilterForTreatment,
|
|
4
|
+
docToMarkdown,
|
|
5
|
+
getAnimationProgress,
|
|
6
|
+
getAnimationStyle,
|
|
7
|
+
getDefaultAnimationDuration,
|
|
8
|
+
getTransitionClass,
|
|
9
|
+
isRepairableDiagram,
|
|
10
|
+
renderAsciiDiagram,
|
|
11
|
+
renderAsciiTimeline,
|
|
12
|
+
renderTree,
|
|
13
|
+
repairAsciiDiagram,
|
|
14
|
+
resolveAudioMapping,
|
|
15
|
+
resolveThemeForDoc,
|
|
16
|
+
scoreTextSimilarity,
|
|
17
|
+
validateMarkdownDoc,
|
|
18
|
+
validateMarkdownSource
|
|
19
|
+
} from "../chunk-QVANWDPH.js";
|
|
20
|
+
import {
|
|
21
|
+
ASCII_CHAR_H,
|
|
22
|
+
ASCII_CHAR_W,
|
|
2
23
|
BASE_INPUT_DESCRIPTORS,
|
|
3
24
|
CONTAINER_TEMPLATES,
|
|
4
25
|
DEFAULT_LAYOUT,
|
|
26
|
+
DIAGRAM_LABEL_HORIZONTAL_PADDING,
|
|
27
|
+
DIAGRAM_LABEL_LINE_HEIGHT,
|
|
28
|
+
DIAGRAM_LABEL_MIN_FONT_SIZE,
|
|
29
|
+
DIAGRAM_LABEL_VERTICAL_PADDING,
|
|
5
30
|
SHAPE_NAMES,
|
|
6
|
-
TEMPLATE_ALIASES,
|
|
7
31
|
TEMPLATE_INPUT_DESCRIPTORS,
|
|
8
32
|
TEMPLATE_METADATA,
|
|
9
33
|
adjustY,
|
|
10
34
|
applyRenderStyleToLayers,
|
|
35
|
+
asciiCellToCanvas,
|
|
36
|
+
asciiDiagramFromBlocks,
|
|
37
|
+
asciiDiagramFromTemplateData,
|
|
38
|
+
asciiDiagramToTemplateData,
|
|
39
|
+
asciiTimelineToTemplateData,
|
|
11
40
|
buildRegistry,
|
|
41
|
+
canvasToAsciiCell,
|
|
12
42
|
coerceTemplateParams,
|
|
13
43
|
comparisonBar,
|
|
14
44
|
computeDiagramLayout,
|
|
@@ -17,20 +47,15 @@ import {
|
|
|
17
47
|
countBlocks,
|
|
18
48
|
coverBlock,
|
|
19
49
|
createAccentLayers,
|
|
20
|
-
cssFilterForTreatment,
|
|
21
50
|
dataTable,
|
|
22
51
|
dateEvent,
|
|
23
|
-
decodeLayersFromFrontmatter,
|
|
24
52
|
definitionCard,
|
|
25
53
|
deriveTemplateInputs,
|
|
26
54
|
diagramBlock,
|
|
27
|
-
docToMarkdown,
|
|
28
55
|
drawingBlock,
|
|
29
|
-
encodeLayersForFrontmatter,
|
|
30
56
|
expandCoverBlock,
|
|
31
57
|
expandDocBlocks,
|
|
32
58
|
expandPersistentLayers,
|
|
33
|
-
expandTemplateBlock,
|
|
34
59
|
extractBlockquoteText,
|
|
35
60
|
extractBodyPlainText,
|
|
36
61
|
extractFirstImage,
|
|
@@ -40,24 +65,22 @@ import {
|
|
|
40
65
|
extractTableFromContents,
|
|
41
66
|
factCard,
|
|
42
67
|
fallbackBlockLayers,
|
|
68
|
+
findFirstList,
|
|
43
69
|
findFirstTable,
|
|
70
|
+
fitDiagramLabel,
|
|
44
71
|
flattenBlocks,
|
|
45
72
|
flattenRenderableBlocks,
|
|
46
73
|
fullBleedQuote,
|
|
47
74
|
getAccentLayout,
|
|
48
|
-
getAnimationProgress,
|
|
49
|
-
getAnimationStyle,
|
|
50
75
|
getAvailableTemplates,
|
|
76
|
+
getBlockBodyText,
|
|
51
77
|
getBlockDepth,
|
|
52
78
|
getDefaultAnimation,
|
|
53
|
-
getDefaultAnimationDuration,
|
|
54
|
-
getDocStyleConfig,
|
|
55
|
-
getLayers,
|
|
56
79
|
getOverlayOpacity,
|
|
57
80
|
getPersistentLayersFromTheme,
|
|
81
|
+
getPinnedBlockMeta,
|
|
58
82
|
getTemplateHint,
|
|
59
83
|
getThemeFont,
|
|
60
|
-
getTransitionClass,
|
|
61
84
|
hasTemplate,
|
|
62
85
|
imageWithCaption,
|
|
63
86
|
isContainerTemplate,
|
|
@@ -69,6 +92,7 @@ import {
|
|
|
69
92
|
listBlock,
|
|
70
93
|
mapBlock,
|
|
71
94
|
markdownToDoc,
|
|
95
|
+
materializeBlockLayers,
|
|
72
96
|
normalizeShapeKind,
|
|
73
97
|
parseDataFence,
|
|
74
98
|
parseYamlSubset,
|
|
@@ -78,14 +102,11 @@ import {
|
|
|
78
102
|
readCustomTemplatesFromFrontmatter,
|
|
79
103
|
readCustomThemesFromFrontmatter,
|
|
80
104
|
replaceDataFence,
|
|
81
|
-
resolveAudioMapping,
|
|
82
105
|
resolveColorScheme,
|
|
83
106
|
resolvePersistentLayers,
|
|
84
107
|
resolveTemplateName,
|
|
85
|
-
resolveThemeForDoc,
|
|
86
108
|
rightFeature,
|
|
87
109
|
scaleAnimationDuration,
|
|
88
|
-
scoreTextSimilarity,
|
|
89
110
|
sectionHeader,
|
|
90
111
|
shouldUseShadow,
|
|
91
112
|
statHighlight,
|
|
@@ -96,21 +117,22 @@ import {
|
|
|
96
117
|
themedImageTreatment,
|
|
97
118
|
themedScrim,
|
|
98
119
|
themedSurfaceGradient,
|
|
120
|
+
timelineBlock,
|
|
99
121
|
titleBlock,
|
|
122
|
+
treeBlock,
|
|
123
|
+
treeFromMarkdownList,
|
|
124
|
+
treeFromTemplateData,
|
|
125
|
+
treeToTemplateData,
|
|
100
126
|
twoColumn,
|
|
101
|
-
validateMarkdownDoc,
|
|
102
|
-
validateMarkdownSource,
|
|
103
127
|
videoPullQuote,
|
|
104
128
|
videoWithCaption,
|
|
105
129
|
wrapWithPersistentLayers,
|
|
106
130
|
writeCustomTemplatesToFrontmatter,
|
|
107
131
|
writeCustomThemesToFrontmatter
|
|
108
|
-
} from "../chunk-
|
|
109
|
-
import "../chunk-UY7KGQ5R.js";
|
|
110
|
-
import "../chunk-V543AI2F.js";
|
|
111
|
-
import "../chunk-FVTQSNR7.js";
|
|
132
|
+
} from "../chunk-GF3BVNLU.js";
|
|
112
133
|
import {
|
|
113
134
|
PATH_SHAPE_KINDS,
|
|
135
|
+
anchorPoint,
|
|
114
136
|
clipEndpoints,
|
|
115
137
|
clipPoint,
|
|
116
138
|
connectorPath,
|
|
@@ -120,7 +142,31 @@ import {
|
|
|
120
142
|
shapePath,
|
|
121
143
|
snapEndpoints,
|
|
122
144
|
snapPoints
|
|
123
|
-
} from "../chunk-
|
|
145
|
+
} from "../chunk-TUWMK62B.js";
|
|
146
|
+
import {
|
|
147
|
+
ASCII_DIAGRAM_FENCE_LANGS,
|
|
148
|
+
ASCII_TIMELINE_FENCE_LANGS,
|
|
149
|
+
TREE_FENCE_LANGS,
|
|
150
|
+
detectAsciiDiagram,
|
|
151
|
+
detectAsciiTimeline,
|
|
152
|
+
detectTree,
|
|
153
|
+
isAsciiDiagramFence,
|
|
154
|
+
isAsciiTimelineFence,
|
|
155
|
+
isEligibleAsciiFenceLang,
|
|
156
|
+
isEligibleAsciiTimelineFenceLang,
|
|
157
|
+
isEligibleTreeFenceLang,
|
|
158
|
+
isExplicitDiagramLang,
|
|
159
|
+
isExplicitTimelineLang,
|
|
160
|
+
isExplicitTreeLang,
|
|
161
|
+
isTreeFence,
|
|
162
|
+
isWrappedFlowTimelineSource,
|
|
163
|
+
parseAsciiDiagram,
|
|
164
|
+
parseAsciiTimeline,
|
|
165
|
+
parseAsciiTimelineWithStats,
|
|
166
|
+
parseTree,
|
|
167
|
+
parseWrappedFlowTimeline
|
|
168
|
+
} from "../chunk-5UYI3RJB.js";
|
|
169
|
+
import "../chunk-FVJUUTEM.js";
|
|
124
170
|
import {
|
|
125
171
|
DEFAULT_THEME,
|
|
126
172
|
FRONTMATTER_CUSTOM_TEMPLATES_KEY,
|
|
@@ -128,7 +174,7 @@ import {
|
|
|
128
174
|
getAvailableThemes,
|
|
129
175
|
getThemeSummaries,
|
|
130
176
|
resolveTheme
|
|
131
|
-
} from "../chunk-
|
|
177
|
+
} from "../chunk-6PJRB2CF.js";
|
|
132
178
|
import {
|
|
133
179
|
VIEWPORT_PRESETS,
|
|
134
180
|
createTemplateContext,
|
|
@@ -138,28 +184,48 @@ import {
|
|
|
138
184
|
getViewportOrientation,
|
|
139
185
|
isTemplateBlock,
|
|
140
186
|
scaledFontSize2 as scaledFontSize
|
|
141
|
-
} from "../chunk-
|
|
142
|
-
import "../chunk-
|
|
143
|
-
import "../chunk-
|
|
187
|
+
} from "../chunk-5J4HKRJF.js";
|
|
188
|
+
import "../chunk-66QO7XFB.js";
|
|
189
|
+
import "../chunk-R2YZTCLO.js";
|
|
144
190
|
import "../chunk-DBS6RIFL.js";
|
|
191
|
+
import "../chunk-AMIR72JP.js";
|
|
145
192
|
import "../chunk-QE7TWGVT.js";
|
|
146
|
-
import "../chunk-
|
|
193
|
+
import "../chunk-4X3JQXNM.js";
|
|
194
|
+
import "../chunk-3E5F2XMR.js";
|
|
195
|
+
import "../chunk-V543AI2F.js";
|
|
196
|
+
import "../chunk-FVTQSNR7.js";
|
|
147
197
|
export {
|
|
198
|
+
ASCII_CHAR_H,
|
|
199
|
+
ASCII_CHAR_W,
|
|
200
|
+
ASCII_DIAGRAM_FENCE_LANGS,
|
|
201
|
+
ASCII_TIMELINE_FENCE_LANGS,
|
|
148
202
|
BASE_INPUT_DESCRIPTORS,
|
|
149
203
|
CONTAINER_TEMPLATES,
|
|
150
204
|
DEFAULT_LAYOUT,
|
|
151
205
|
DEFAULT_THEME,
|
|
206
|
+
DIAGRAM_LABEL_HORIZONTAL_PADDING,
|
|
207
|
+
DIAGRAM_LABEL_LINE_HEIGHT,
|
|
208
|
+
DIAGRAM_LABEL_MIN_FONT_SIZE,
|
|
209
|
+
DIAGRAM_LABEL_VERTICAL_PADDING,
|
|
152
210
|
FRONTMATTER_CUSTOM_TEMPLATES_KEY,
|
|
153
211
|
FRONTMATTER_CUSTOM_THEMES_KEY,
|
|
154
212
|
PATH_SHAPE_KINDS,
|
|
155
213
|
SHAPE_NAMES,
|
|
156
|
-
TEMPLATE_ALIASES,
|
|
157
214
|
TEMPLATE_INPUT_DESCRIPTORS,
|
|
158
215
|
TEMPLATE_METADATA,
|
|
216
|
+
TREE_FENCE_LANGS,
|
|
159
217
|
VIEWPORT_PRESETS,
|
|
160
218
|
adjustY,
|
|
219
|
+
anchorPoint,
|
|
220
|
+
applyNarrationTiming,
|
|
161
221
|
applyRenderStyleToLayers,
|
|
222
|
+
asciiCellToCanvas,
|
|
223
|
+
asciiDiagramFromBlocks,
|
|
224
|
+
asciiDiagramFromTemplateData,
|
|
225
|
+
asciiDiagramToTemplateData,
|
|
226
|
+
asciiTimelineToTemplateData,
|
|
162
227
|
buildRegistry,
|
|
228
|
+
canvasToAsciiCell,
|
|
163
229
|
clipEndpoints,
|
|
164
230
|
clipPoint,
|
|
165
231
|
coerceTemplateParams,
|
|
@@ -175,17 +241,17 @@ export {
|
|
|
175
241
|
cssFilterForTreatment,
|
|
176
242
|
dataTable,
|
|
177
243
|
dateEvent,
|
|
178
|
-
decodeLayersFromFrontmatter,
|
|
179
244
|
definitionCard,
|
|
180
245
|
deriveTemplateInputs,
|
|
246
|
+
detectAsciiDiagram,
|
|
247
|
+
detectAsciiTimeline,
|
|
248
|
+
detectTree,
|
|
181
249
|
diagramBlock,
|
|
182
250
|
docToMarkdown,
|
|
183
251
|
drawingBlock,
|
|
184
|
-
encodeLayersForFrontmatter,
|
|
185
252
|
expandCoverBlock,
|
|
186
253
|
expandDocBlocks,
|
|
187
254
|
expandPersistentLayers,
|
|
188
|
-
expandTemplateBlock,
|
|
189
255
|
extractBlockquoteText,
|
|
190
256
|
extractBodyPlainText,
|
|
191
257
|
extractFirstImage,
|
|
@@ -195,7 +261,9 @@ export {
|
|
|
195
261
|
extractTableFromContents,
|
|
196
262
|
factCard,
|
|
197
263
|
fallbackBlockLayers,
|
|
264
|
+
findFirstList,
|
|
198
265
|
findFirstTable,
|
|
266
|
+
fitDiagramLabel,
|
|
199
267
|
flattenBlocks,
|
|
200
268
|
flattenRenderableBlocks,
|
|
201
269
|
fullBleedQuote,
|
|
@@ -204,14 +272,14 @@ export {
|
|
|
204
272
|
getAnimationStyle,
|
|
205
273
|
getAvailableTemplates,
|
|
206
274
|
getAvailableThemes,
|
|
275
|
+
getBlockBodyText,
|
|
207
276
|
getBlockDepth,
|
|
208
277
|
getDefaultAnimation,
|
|
209
278
|
getDefaultAnimationDuration,
|
|
210
|
-
getDocStyleConfig,
|
|
211
|
-
getLayers,
|
|
212
279
|
getLayoutHints,
|
|
213
280
|
getOverlayOpacity,
|
|
214
281
|
getPersistentLayersFromTheme,
|
|
282
|
+
getPinnedBlockMeta,
|
|
215
283
|
getTemplateHint,
|
|
216
284
|
getThemeFont,
|
|
217
285
|
getThemeSummaries,
|
|
@@ -221,10 +289,21 @@ export {
|
|
|
221
289
|
getViewportOrientation,
|
|
222
290
|
hasTemplate,
|
|
223
291
|
imageWithCaption,
|
|
292
|
+
isAsciiDiagramFence,
|
|
293
|
+
isAsciiTimelineFence,
|
|
224
294
|
isContainerTemplate,
|
|
225
295
|
isDataFence,
|
|
296
|
+
isEligibleAsciiFenceLang,
|
|
297
|
+
isEligibleAsciiTimelineFenceLang,
|
|
298
|
+
isEligibleTreeFenceLang,
|
|
299
|
+
isExplicitDiagramLang,
|
|
300
|
+
isExplicitTimelineLang,
|
|
301
|
+
isExplicitTreeLang,
|
|
302
|
+
isRepairableDiagram,
|
|
226
303
|
isShapeName,
|
|
227
304
|
isTemplateBlock,
|
|
305
|
+
isTreeFence,
|
|
306
|
+
isWrappedFlowTimelineSource,
|
|
228
307
|
layoutBlock,
|
|
229
308
|
leftFeature,
|
|
230
309
|
lineStyleDasharray,
|
|
@@ -233,15 +312,25 @@ export {
|
|
|
233
312
|
mapBlock,
|
|
234
313
|
markdownToDoc,
|
|
235
314
|
markerPath,
|
|
315
|
+
materializeBlockLayers,
|
|
236
316
|
nearestSnapPoint,
|
|
237
317
|
normalizeShapeKind,
|
|
318
|
+
parseAsciiDiagram,
|
|
319
|
+
parseAsciiTimeline,
|
|
320
|
+
parseAsciiTimelineWithStats,
|
|
238
321
|
parseDataFence,
|
|
322
|
+
parseTree,
|
|
323
|
+
parseWrappedFlowTimeline,
|
|
239
324
|
parseYamlSubset,
|
|
240
325
|
photoGrid,
|
|
241
326
|
pullQuote,
|
|
242
327
|
quoteBlock,
|
|
243
328
|
readCustomTemplatesFromFrontmatter,
|
|
244
329
|
readCustomThemesFromFrontmatter,
|
|
330
|
+
renderAsciiDiagram,
|
|
331
|
+
renderAsciiTimeline,
|
|
332
|
+
renderTree,
|
|
333
|
+
repairAsciiDiagram,
|
|
245
334
|
replaceDataFence,
|
|
246
335
|
resolveAudioMapping,
|
|
247
336
|
resolveColorScheme,
|
|
@@ -266,7 +355,12 @@ export {
|
|
|
266
355
|
themedImageTreatment,
|
|
267
356
|
themedScrim,
|
|
268
357
|
themedSurfaceGradient,
|
|
358
|
+
timelineBlock,
|
|
269
359
|
titleBlock,
|
|
360
|
+
treeBlock,
|
|
361
|
+
treeFromMarkdownList,
|
|
362
|
+
treeFromTemplateData,
|
|
363
|
+
treeToTemplateData,
|
|
270
364
|
twoColumn,
|
|
271
365
|
validateMarkdownDoc,
|
|
272
366
|
validateMarkdownSource,
|
package/dist/generate/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { E as ExtractedElement } from '../contentExtractor-BNfVJV2U.js';
|
|
2
2
|
export { C as ComparisonData, D as DateData, a as DefinitionData, 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';
|
|
3
|
-
import { m as ColorScheme, A as AccentImage,
|
|
4
|
-
import '../types-
|
|
3
|
+
import { m as ColorScheme, A as AccentImage, aw as TemplateBlock } from '../Doc-ylqWKDc_.js';
|
|
4
|
+
import '../types-BwMPl2CB.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Template Mapper
|
|
@@ -17,8 +17,13 @@ interface MapOptions {
|
|
|
17
17
|
audioSegment: number;
|
|
18
18
|
colorScheme?: ColorScheme;
|
|
19
19
|
accentImage?: AccentImage;
|
|
20
|
+
/** Doc-timeline SECONDS when the extracted content is spoken. */
|
|
20
21
|
sourceStartTime?: number;
|
|
21
22
|
sourceDuration?: number;
|
|
23
|
+
/** Provenance: the source block the element was extracted from. */
|
|
24
|
+
sourceBlockId?: string;
|
|
25
|
+
/** Provenance: char offset of the extraction in the source plain text. */
|
|
26
|
+
sourceCharOffset?: number;
|
|
22
27
|
}
|
|
23
28
|
/**
|
|
24
29
|
* Convert an extracted element into the matching squisq TemplateBlock.
|
package/dist/generate/index.js
CHANGED
|
@@ -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-
|
|
1
|
+
import { a as ImageEditDoc, b as ImageEditLayer } from '../ImageEditDoc-D828IXJ1.js';
|
|
2
|
+
export { E as EditorLayerMeta, I as ImageEditCanvas, c as ImageEditLayerKind, d as ImageEditMeta } from '../ImageEditDoc-D828IXJ1.js';
|
|
3
3
|
import { C as ContentContainer } from '../ContentContainer-BXUlIf18.js';
|
|
4
|
-
import { V as Version, C as CoalesceOptions, P as PrunePolicy } from '../types-
|
|
5
|
-
import '../Doc-
|
|
6
|
-
import '../types-
|
|
4
|
+
import { V as Version, C as CoalesceOptions, P as PrunePolicy } from '../types-C4kiRn_k.js';
|
|
5
|
+
import '../Doc-ylqWKDc_.js';
|
|
6
|
+
import '../types-BwMPl2CB.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Pure helpers for constructing and mutating {@link ImageEditDoc} values.
|
|
@@ -72,6 +72,7 @@ declare function writeImageEditDoc(container: ContentContainer, doc: ImageEditDo
|
|
|
72
72
|
* Mirrors `core/src/versions/paths.ts` but keyed on `.json` instead of
|
|
73
73
|
* `.md` so the two histories live side-by-side without colliding.
|
|
74
74
|
*/
|
|
75
|
+
|
|
75
76
|
/** Subfolder (inside the sidecar) that holds image-editor snapshots. */
|
|
76
77
|
declare const IMAGE_EDIT_VERSIONS_PREFIX = ".versions/";
|
|
77
78
|
/** Default basename when none is supplied. Matches `IMAGE_EDIT_STATE_FILENAME` stem. */
|
|
@@ -95,7 +96,9 @@ declare function parseImageEditVersionPath(path: string): {
|
|
|
95
96
|
* Mirrors `core/src/versions/operations.ts` but operates on
|
|
96
97
|
* {@link ImageEditDoc} JSON state at `.versions/<basename>.<timestamp>.json`
|
|
97
98
|
* instead of the markdown document. Reuses {@link PrunePolicy} so hosts
|
|
98
|
-
* can share their pruning configuration between the two histories.
|
|
99
|
+
* can share their pruning configuration between the two histories. The
|
|
100
|
+
* sidecar root gets a `.gitignore` rule for `.versions/` when snapshots
|
|
101
|
+
* are retained.
|
|
99
102
|
*/
|
|
100
103
|
|
|
101
104
|
/** Options for {@link saveImageEditVersion}. */
|
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-5DKBFXPY.js";
|
|
28
|
+
import "../chunk-S7A5D7ZJ.js";
|
|
29
|
+
import "../chunk-TUWMK62B.js";
|
|
30
30
|
export {
|
|
31
31
|
IMAGE_EDIT_ASSETS_PREFIX,
|
|
32
32
|
IMAGE_EDIT_DEFAULT_BASENAME,
|
package/dist/index.d.ts
CHANGED
|
@@ -1,24 +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
|
|
3
|
-
export { D as DEFAULT_TRANSITION_DURATION_SECONDS, H as HeadingAttributes, a as HeadingTemplateAnnotation, b as HtmlComment, c as HtmlElement, d as HtmlNode, e as HtmlText, M as MarkdownBlockNode, f as MarkdownBlockquote, g as MarkdownBreak, h as MarkdownCodeBlock, i as MarkdownContainerDirective, j as MarkdownDefinitionDescription, k as MarkdownDefinitionList, l as MarkdownDefinitionTerm, m as MarkdownDocument, n as MarkdownEmphasis, o as MarkdownFootnoteDefinition, p as MarkdownFootnoteReference, q as MarkdownHeading, r as MarkdownHtmlBlock, s as MarkdownImage, t as MarkdownImageReference, u as MarkdownInlineCode, v as MarkdownInlineHtml, w as MarkdownInlineMath, x as MarkdownInlineNode, y as MarkdownLeafDirective, z as MarkdownLink, A as MarkdownLinkDefinition, B as MarkdownLinkReference, C as MarkdownList, E as MarkdownListItem, F as MarkdownMathBlock, G as MarkdownMention, I as MarkdownNode, J as MarkdownParagraph, K as MarkdownPoint, L as MarkdownSourcePosition, N as MarkdownStrikethrough, O as MarkdownStrong, P as MarkdownTable, Q as MarkdownTableCell, R as MarkdownTableRow, S as MarkdownText, T as MarkdownTextDirective, U as MarkdownThematicBreak, V as ParseOptions, W as StringifyOptions, X as TRANSITION_DIRECTIONS, Y as TRANSITION_TYPES, Z as Transition, _ as TransitionDirection, $ as TransitionType, a0 as isTransitionType, a1 as normalizeTransitionDirection, a2 as normalizeTransitionType, a3 as resolveBlockTransition, a4 as resolveTransitionDuration } from './types-
|
|
4
|
-
export { D as DEFAULT_THEME, a as DEFAULT_THEME_ID, T as THEMES, g as getAvailableThemes, b as getThemeSummaries, r as resolveTheme } from './themeLibrary-
|
|
5
|
-
export { AVAILABLE_FONT_STACKS, CompileOptions, ContrastPreset, FONT_FALLBACKS, FontStack, STARTER_THEME, ValidationError, ValidationResult, assertTheme, buildGoogleFontsUrl, compileTheme, contrastRatio, deriveColorPalette, deriveScale, fontStack, getFontStack, hexHueDegrees, isHex, oklchDarken, oklchLighten, oklchSetChroma, parseTheme, pickContrastingText, relativeLuminance, resolveFontFamily, serializeTheme, validateTheme, withAlpha } from './schemas/index.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 PathLayer, a6 as PatternBackgroundConfig, a7 as PersistentLayer, a8 as PersistentLayerConfig, a9 as PersistentLayerTemplate, aa as PersistentLayerTemplateConfig, ab as PersistentLayerTemplateType, ac as PhotoGridInput, ad as Position, ae as ProgressIndicatorConfig, af as PullQuoteInput, ag as QuoteBlockInput, ah as RawLayersInput, ai as RenderStyle, aj as RightFeatureInput, ak as ScheduledClip, al as SectionHeaderInput, am as ShapeFilter, an as ShapeLayer, ao as ShapePattern, ap as SolidBackgroundConfig, aq as StartBlockConfig, ar as StatHighlightInput, as as SurfaceScheme, at as THEME_SCHEMA_VERSION, au as TableLayer, av as TableLayerStyle, aw as TemplateBlock, ax as TemplateContext, ay as TemplateFunction, az as TemplateRegistry, aA as TextLayer, aB as TextStyle, aC as Theme, aD as ThemeColorPalette, aE as ThemeColorScheme, aF as ThemeRegistry, aG as ThemeSchemaVersion, aH as ThemeSeedColors, aI as ThemeStyle, aJ as ThemeTypography, aK as TimelineBlockInput, aL as TimelineTemplateEvent, aM as TimelineTemplateLink, aN as TimelineTemplateTrack, aO as TitleBlockInput, aP as TitleCaptionConfig, aQ as TreeBlockInput, aR as TreeLayer, aS as TreeLayerItem, aT as TreeLayerStyle, aU as TreeTemplateItem, aV as TwoColumnInput, aW as VIEWPORT_PRESETS, aX as VideoLayer, aY as VideoPullQuoteInput, aZ as VideoWithCaptionInput, a_ as ViewportConfig, a$ as ViewportOrientation, b0 as ViewportPreset, b1 as VignetteConfig, b2 as applySurface, b3 as calculateDuration, b4 as calculateFontScale, b5 as createTemplateContext, b6 as createTheme, b7 as createThemeRegistry, b8 as getAspectRatioString, b9 as getBlockAtTime, ba as getCaptionAtTime, bb as getDocPlaybackDuration, bc as getLayoutHints, bd as getSafeTextBounds, be as getSegmentAtTime, bf as getTwoColumnPositions, bg as getViewport, bh as getViewportOrientation, bi as isPersistentLayerTemplate, bj as isTemplateBlock, bk as layoutScaledFontSize, bl as resolveMediaSchedule, bm as scaledFontSize } from './Doc-ylqWKDc_.js';
|
|
3
|
+
export { D as DEFAULT_TRANSITION_DURATION_SECONDS, H as HeadingAttributes, a as HeadingTemplateAnnotation, b as HtmlComment, c as HtmlElement, d as HtmlNode, e as HtmlText, M as MarkdownBlockNode, f as MarkdownBlockquote, g as MarkdownBreak, h as MarkdownCodeBlock, i as MarkdownContainerDirective, j as MarkdownDefinitionDescription, k as MarkdownDefinitionList, l as MarkdownDefinitionTerm, m as MarkdownDocument, n as MarkdownEmphasis, o as MarkdownFootnoteDefinition, p as MarkdownFootnoteReference, q as MarkdownHeading, r as MarkdownHtmlBlock, s as MarkdownImage, t as MarkdownImageReference, u as MarkdownInlineCode, v as MarkdownInlineHtml, w as MarkdownInlineMath, x as MarkdownInlineNode, y as MarkdownLeafDirective, z as MarkdownLink, A as MarkdownLinkDefinition, B as MarkdownLinkReference, C as MarkdownList, E as MarkdownListItem, F as MarkdownMathBlock, G as MarkdownMention, I as MarkdownNode, J as MarkdownParagraph, K as MarkdownPoint, L as MarkdownSourcePosition, N as MarkdownStrikethrough, O as MarkdownStrong, P as MarkdownTable, Q as MarkdownTableCell, R as MarkdownTableRow, S as MarkdownText, T as MarkdownTextDirective, U as MarkdownThematicBreak, V as ParseOptions, W as StringifyOptions, X as TRANSITION_DIRECTIONS, Y as TRANSITION_TYPES, Z as Transition, _ as TransitionDirection, $ as TransitionType, a0 as isTransitionType, a1 as normalizeTransitionDirection, a2 as normalizeTransitionType, a3 as resolveBlockTransition, a4 as resolveTransitionDuration } from './types-BwMPl2CB.js';
|
|
4
|
+
export { D as DEFAULT_THEME, a as DEFAULT_THEME_ID, T as THEMES, g as getAvailableThemes, b as getThemeSummaries, r as resolveTheme } from './themeLibrary-RjVgLpUi.js';
|
|
5
|
+
export { AVAILABLE_FONT_STACKS, CompileOptions, ContrastPreset, FONT_FALLBACKS, FontStack, STARTER_THEME, ValidationError, ValidationResult, accentToColorScheme, assertTheme, buildGoogleFontsUrl, compileTheme, contrastRatio, deriveColorPalette, deriveScale, fontStack, getFontStack, guessFontFallback, hexHueDegrees, isHex, matchFontFamily, oklchDarken, oklchLighten, oklchSetChroma, parseTheme, pickContrastingText, relativeLuminance, resolveFontFamily, serializeTheme, validateTheme, withAlpha } from './schemas/index.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 { AccentLayout, AudioSegmentTiming, BASE_INPUT_DESCRIPTORS, CONTAINER_TEMPLATES, ClipBox, ConnectorPort, ConnectorRouting, ConnectorSnapPoint, CoverBlockInput, DEFAULT_LAYOUT, DataFenceParseResult, DeriveTemplateInputsOptions, DiagramEdge, DiagramLayout, DiagramLayoutOptions, DiagramNodePosition,
|
|
7
|
+
export { E as EditorLayerMeta, I as ImageEditCanvas, a as ImageEditDoc, b as ImageEditLayer, c as ImageEditLayerKind, d as ImageEditMeta } from './ImageEditDoc-D828IXJ1.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, 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, PATH_SHAPE_KINDS, RenderAsciiDiagramOptions, RenderAsciiTimelineOptions, RenderTreeOptions, RepairResult, RuntimeTemplateRegistry, SHAPE_NAMES, 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, 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, isTreeFence, isWrappedFlowTimelineSource, layoutBlock, leftFeature, lineStyleDasharray, lintTemplateParams, listBlock, mapBlock, markdownToDoc, markerPath, materializeBlockLayers, nearestSnapPoint, normalizeShapeKind, parseAsciiDiagram, parseAsciiTimeline, parseAsciiTimelineWithStats, parseDataFence, parseTree, parseWrappedFlowTimeline, parseYamlSubset, photoGrid, pullQuote, quoteBlock, readCustomTemplatesFromFrontmatter, readCustomThemesFromFrontmatter, renderAsciiDiagram, renderAsciiTimeline, renderTree, repairAsciiDiagram, replaceDataFence, resolveAudioMapping, resolveColorScheme, resolvePersistentLayers, resolveTemplateName, resolveThemeForDoc, rightFeature, scaleAnimationDuration, scoreTextSimilarity, 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
9
|
export { calculateBearing, decodeGeohash, encodeGeohash, geohashOverlapsBounds, geohashToHierarchicalPath, getGeohash4Neighbors, getGeohashPath, getGeohashPrefix, getNeighbors, haversineDistance } from './spatial/index.js';
|
|
10
10
|
export { LocalForageAdapter, LocalForageAdapterOptions, LocalStorageAdapter, MemoryStorageAdapter, ScopedContentContainer, StorageAdapter, createMediaProviderFromContainer, scopeContainer } from './storage/index.js';
|
|
11
11
|
export { C as ContentContainer, a as ContentEntry, M as MemoryContentContainer, f as findDocumentPath } from './ContentContainer-BXUlIf18.js';
|
|
12
|
-
export {
|
|
12
|
+
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';
|
|
13
|
+
export { B as BLOCK_META_KEY_DESCRIPTORS, a as BlockMetaKeyDescriptor, K as KNOWN_BLOCK_META_KEYS, b as KnownBlockMetaKey, p as parseTimeSeconds } from './annotationCoercion-Dr_DY9Hx.js';
|
|
13
14
|
export { DEFAULT_WORDS_PER_SECOND, NarrationTimeEstimate, NarrationTimeOptions, ReadingTimeEstimate, ReadingTimeOptions, calculatePrefixDuration, countSpokenWords, estimateNarrationDuration, estimateNarrationTime, estimateReadingTime, estimateSpokenWordCount, estimateTimeFromText } from './timing/index.js';
|
|
14
15
|
export { SeededRandom, hashString } from './random/index.js';
|
|
15
16
|
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
17
|
export { MapOptions, mapElementToBlock } from './generate/index.js';
|
|
17
|
-
export { AnalyzedBlock, BlockImage, DEFAULT_TRANSFORM_STYLE_ID, TransformImage, TransformOptions, TransformResult, TransformStyleConfig, TransformStyleId, TransformStyleSummary, analyzeBlocks, applyTransform, extractDocImages, getTransformStyleIds, getTransformStyleSummaries,
|
|
18
|
-
export { C as CoalesceOptions, P as PrunePolicy, R as RevertOptions, S as SaveVersionOptions, a as SaveVersionResult, V as Version } from './types-
|
|
18
|
+
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';
|
|
19
|
+
export { C as CoalesceOptions, P as PrunePolicy, R as RevertOptions, S as SaveVersionOptions, a as SaveVersionResult, V as Version } from './types-C4kiRn_k.js';
|
|
19
20
|
export { DocumentVersionManager, DocumentVersionManagerOptions, VERSIONS_PREFIX, VERSION_TIMESTAMP_PATTERN, buildVersionPath, coalesceVersions, formatVersionTimestamp, getDocBasename, listVersions, parseVersionPath, parseVersionTimestamp, pruneVersions, readVersion, revertToVersion, saveVersion } from './versions/index.js';
|
|
20
|
-
export { BuildJsonFormTokensOptions, ControlKind, InferSchemaOptions, JsonFormValidationError, JsonFormValidator, SquisqAnnotatedSchema, SquisqHints, SquisqWhen, arrayItemKind, buildJsonFormTokens, chooseControl, evaluateWhen, getByPointer, inferSchema, pointerSegments, primaryType, resolveFlag, resolveJsonFormTheme, resolveRef, setByPointer, toPointer } from './jsonForm/index.js';
|
|
21
|
+
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';
|
|
21
22
|
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
23
|
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';
|
|
23
24
|
export { IconSuggestion, canonicalIconToken, iconGlyph, looksLikeIconToken, resolveIcon, suggestIcons } from './icons/index.js';
|
|
24
25
|
export { BlockContentProfile, RecommendationResult, profileBlockContents, recommendTemplatesForBlock } from './recommend/index.js';
|
|
26
|
+
export { AlignConfig, AlignInput, BandpassState, BuildNarrationTimingOptions, BuildScriptOptions, DEFAULT_ALIGN_CONFIG, DEFAULT_FEATURE_CONFIG, DEFAULT_NUCLEI_CONFIG, DEFAULT_PACING_CONFIG, DEFAULT_VAD_CONFIG, FeatureConfig, FeatureState, FrameFeatures, NarrationAlignment, NarrationBlockRange, NarrationScript, NarrationSessionConfig, NarrationSessionState, NarrationTimingBlock, NarrationTimingJsonV3, NarrationTrace, NucleiConfig, NucleiState, PacingConfig, PacingState, PacingTick, ScriptBlockRange, ScriptToken, TraceSample, VadConfig, VadState, WordTiming, alignNarration, bandpassRun, buildNarrationScript, buildNarrationTimingJson, createBandpass, createFeatureState, createNarrationSession, createNucleiState, createPacingState, createVadState, detectSyllableOnsets, downsampleTrace, estimateSyllables, expectedSyllablesAt, extractFrameFeatures, featureStep, narrationSessionStep, nucleiStep, pacingStep, parseNarrationTimingJson, reanchorPacing, reanchorSession, traceWordPosAt, vadStep, wordIndexAtChar, wordIndexAtTime, wordPosAtExpectedSyllables } from './narration/index.js';
|