@bendyline/squisq 2.7.1 → 2.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-WN27GHA3.js → chunk-HEYR3TPL.js} +1 -1
- package/dist/{chunk-FPAS63KT.js → chunk-KIAEJDZB.js} +1502 -10
- package/dist/{chunk-ENNNQIYV.js → chunk-W2GIFNLN.js} +1892 -1796
- package/dist/doc/index.d.ts +675 -3
- package/dist/doc/index.js +74 -4
- package/dist/index.d.ts +1 -1
- package/dist/index.js +74 -4
- package/dist/narration/index.js +2 -2
- package/package.json +1 -1
package/dist/doc/index.js
CHANGED
|
@@ -1,39 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
+
BUILTIN_DASHBOARD_LAYOUTS,
|
|
2
3
|
COVER_SLIDE_FRONTMATTER_KEYS,
|
|
3
4
|
COVER_SLIDE_TEMPLATE_OPTIONS,
|
|
5
|
+
DASHBOARD_AUTO_LAYOUT_ID,
|
|
6
|
+
DASHBOARD_FRONTMATTER_KEYS,
|
|
7
|
+
DASHBOARD_STYLES,
|
|
8
|
+
DASHBOARD_STYLE_IDS,
|
|
9
|
+
DASHBOARD_ZOOM_LEVELS,
|
|
4
10
|
DEFAULT_COVER_SLIDE_SETTINGS,
|
|
11
|
+
DEFAULT_DASHBOARD_SETTINGS,
|
|
12
|
+
DEFAULT_DASHBOARD_STYLE,
|
|
13
|
+
FRONTMATTER_DASHBOARD_LAYOUTS_KEY,
|
|
5
14
|
MAX_COVER_SLIDE_DURATION_SECONDS,
|
|
6
15
|
PAGE_BASE_CSS,
|
|
7
16
|
applyNarrationTiming,
|
|
17
|
+
buildDashboardCellChrome,
|
|
8
18
|
buildPageCss,
|
|
9
19
|
buildPageCssVars,
|
|
10
20
|
buildPreviewDoc,
|
|
21
|
+
chooseDashboardLayout,
|
|
22
|
+
composeDashboardLayers,
|
|
11
23
|
cssFilterForTreatment,
|
|
24
|
+
dashboardCanvasFill,
|
|
25
|
+
dashboardCellAccent,
|
|
26
|
+
desiredCellZoom,
|
|
12
27
|
docToMarkdown,
|
|
13
28
|
documentTitleFromFileName,
|
|
14
29
|
getAnimationProgress,
|
|
15
30
|
getAnimationStyle,
|
|
31
|
+
getDashboardLayoutSummaries,
|
|
16
32
|
getDefaultAnimationDuration,
|
|
17
33
|
getTransitionClass,
|
|
18
34
|
isRepairableDiagram,
|
|
19
35
|
isTemplatedPageBlock,
|
|
36
|
+
layoutCapacity,
|
|
37
|
+
listDashboardLayouts,
|
|
38
|
+
materializeDashboard,
|
|
39
|
+
materializeFlashcards,
|
|
20
40
|
materializePageSection,
|
|
21
41
|
materializePageSections,
|
|
42
|
+
normalizeDashboardZoom,
|
|
22
43
|
pageStyleDataAttributes,
|
|
44
|
+
readDashboardLayoutsFromFrontmatter,
|
|
23
45
|
renderAsciiDiagram,
|
|
24
46
|
renderAsciiTimeline,
|
|
25
47
|
renderTree,
|
|
26
48
|
repairAsciiDiagram,
|
|
27
49
|
resolveAudioMapping,
|
|
28
50
|
resolveCoverSlideSettings,
|
|
51
|
+
resolveDashboardLayoutDefinition,
|
|
52
|
+
resolveDashboardSettings,
|
|
53
|
+
resolveDashboardStyleId,
|
|
54
|
+
resolveDashboardZooms,
|
|
55
|
+
resolveFlashcardMarker,
|
|
56
|
+
resolveLayoutCells,
|
|
29
57
|
resolvePageBlock,
|
|
30
58
|
resolvePageStyle,
|
|
31
59
|
resolveThemeForDoc,
|
|
32
60
|
scoreTextSimilarity,
|
|
33
61
|
sectionExtractors,
|
|
62
|
+
stripBlockBackdropLayer,
|
|
63
|
+
stripsBlockBackdrop,
|
|
64
|
+
transposeCells,
|
|
65
|
+
validateDashboardLayoutDefinition,
|
|
34
66
|
validateMarkdownDoc,
|
|
35
|
-
validateMarkdownSource
|
|
36
|
-
|
|
67
|
+
validateMarkdownSource,
|
|
68
|
+
writeDashboardLayoutsToFrontmatter
|
|
69
|
+
} from "../chunk-KIAEJDZB.js";
|
|
37
70
|
import {
|
|
38
71
|
ASCII_CHAR_H,
|
|
39
72
|
ASCII_CHAR_W,
|
|
@@ -116,6 +149,7 @@ import {
|
|
|
116
149
|
lintTemplateParams,
|
|
117
150
|
listBlock,
|
|
118
151
|
mapBlock,
|
|
152
|
+
markdownBlockSeparatorLines,
|
|
119
153
|
markdownToDoc,
|
|
120
154
|
materializeBlockLayers,
|
|
121
155
|
normalizeShapeKind,
|
|
@@ -126,6 +160,7 @@ import {
|
|
|
126
160
|
quoteBlock,
|
|
127
161
|
readCustomTemplatesFromFrontmatter,
|
|
128
162
|
readCustomThemesFromFrontmatter,
|
|
163
|
+
renderMarkdownBlocksHtml,
|
|
129
164
|
replaceDataFence,
|
|
130
165
|
resolveColorScheme,
|
|
131
166
|
resolvePersistentLayers,
|
|
@@ -153,7 +188,7 @@ import {
|
|
|
153
188
|
wrapWithPersistentLayers,
|
|
154
189
|
writeCustomTemplatesToFrontmatter,
|
|
155
190
|
writeCustomThemesToFrontmatter
|
|
156
|
-
} from "../chunk-
|
|
191
|
+
} from "../chunk-W2GIFNLN.js";
|
|
157
192
|
import {
|
|
158
193
|
PATH_SHAPE_KINDS,
|
|
159
194
|
anchorPoint,
|
|
@@ -230,10 +265,18 @@ export {
|
|
|
230
265
|
ASCII_TIMELINE_FENCE_LANGS,
|
|
231
266
|
BASE_INPUT_DESCRIPTORS,
|
|
232
267
|
BLOCK_MEDIA_LAYOUT_POLICIES,
|
|
268
|
+
BUILTIN_DASHBOARD_LAYOUTS,
|
|
233
269
|
CONTAINER_TEMPLATES,
|
|
234
270
|
COVER_SLIDE_FRONTMATTER_KEYS,
|
|
235
271
|
COVER_SLIDE_TEMPLATE_OPTIONS,
|
|
272
|
+
DASHBOARD_AUTO_LAYOUT_ID,
|
|
273
|
+
DASHBOARD_FRONTMATTER_KEYS,
|
|
274
|
+
DASHBOARD_STYLES,
|
|
275
|
+
DASHBOARD_STYLE_IDS,
|
|
276
|
+
DASHBOARD_ZOOM_LEVELS,
|
|
236
277
|
DEFAULT_COVER_SLIDE_SETTINGS,
|
|
278
|
+
DEFAULT_DASHBOARD_SETTINGS,
|
|
279
|
+
DEFAULT_DASHBOARD_STYLE,
|
|
237
280
|
DEFAULT_LAYOUT,
|
|
238
281
|
DEFAULT_THEME,
|
|
239
282
|
DIAGRAM_LABEL_HORIZONTAL_PADDING,
|
|
@@ -242,6 +285,7 @@ export {
|
|
|
242
285
|
DIAGRAM_LABEL_VERTICAL_PADDING,
|
|
243
286
|
FRONTMATTER_CUSTOM_TEMPLATES_KEY,
|
|
244
287
|
FRONTMATTER_CUSTOM_THEMES_KEY,
|
|
288
|
+
FRONTMATTER_DASHBOARD_LAYOUTS_KEY,
|
|
245
289
|
MAX_COVER_SLIDE_DURATION_SECONDS,
|
|
246
290
|
PAGE_BASE_CSS,
|
|
247
291
|
PATH_SHAPE_KINDS,
|
|
@@ -263,15 +307,18 @@ export {
|
|
|
263
307
|
asciiTimelineToTemplateData,
|
|
264
308
|
autoTemplatePreservesContent,
|
|
265
309
|
bigText,
|
|
310
|
+
buildDashboardCellChrome,
|
|
266
311
|
buildPageCss,
|
|
267
312
|
buildPageCssVars,
|
|
268
313
|
buildPreviewDoc,
|
|
269
314
|
buildRegistry,
|
|
270
315
|
canvasToAsciiCell,
|
|
316
|
+
chooseDashboardLayout,
|
|
271
317
|
clipEndpoints,
|
|
272
318
|
clipPoint,
|
|
273
319
|
coerceTemplateParams,
|
|
274
320
|
comparisonBar,
|
|
321
|
+
composeDashboardLayers,
|
|
275
322
|
computeDiagramLayout,
|
|
276
323
|
computeDrawingLayout,
|
|
277
324
|
computeLayoutLayers,
|
|
@@ -282,10 +329,13 @@ export {
|
|
|
282
329
|
createAccentLayers,
|
|
283
330
|
createTemplateContext,
|
|
284
331
|
cssFilterForTreatment,
|
|
332
|
+
dashboardCanvasFill,
|
|
333
|
+
dashboardCellAccent,
|
|
285
334
|
dataTable,
|
|
286
335
|
dateEvent,
|
|
287
336
|
definitionCard,
|
|
288
337
|
deriveTemplateInputs,
|
|
338
|
+
desiredCellZoom,
|
|
289
339
|
detectAsciiDiagram,
|
|
290
340
|
detectAsciiTimeline,
|
|
291
341
|
detectTree,
|
|
@@ -323,6 +373,7 @@ export {
|
|
|
323
373
|
getBlockBodyText,
|
|
324
374
|
getBlockDepth,
|
|
325
375
|
getBlockMediaLayoutPolicy,
|
|
376
|
+
getDashboardLayoutSummaries,
|
|
326
377
|
getDefaultAnimation,
|
|
327
378
|
getDefaultAnimationDuration,
|
|
328
379
|
getLayoutHints,
|
|
@@ -355,17 +406,23 @@ export {
|
|
|
355
406
|
isTreeFence,
|
|
356
407
|
isWrappedFlowTimelineSource,
|
|
357
408
|
layoutBlock,
|
|
409
|
+
layoutCapacity,
|
|
358
410
|
leftFeature,
|
|
359
411
|
lineStyleDasharray,
|
|
360
412
|
lintTemplateParams,
|
|
361
413
|
listBlock,
|
|
414
|
+
listDashboardLayouts,
|
|
362
415
|
mapBlock,
|
|
416
|
+
markdownBlockSeparatorLines,
|
|
363
417
|
markdownToDoc,
|
|
364
418
|
markerPath,
|
|
365
419
|
materializeBlockLayers,
|
|
420
|
+
materializeDashboard,
|
|
421
|
+
materializeFlashcards,
|
|
366
422
|
materializePageSection,
|
|
367
423
|
materializePageSections,
|
|
368
424
|
nearestSnapPoint,
|
|
425
|
+
normalizeDashboardZoom,
|
|
369
426
|
normalizeShapeKind,
|
|
370
427
|
pageStyleDataAttributes,
|
|
371
428
|
parseAsciiDiagram,
|
|
@@ -380,14 +437,22 @@ export {
|
|
|
380
437
|
quoteBlock,
|
|
381
438
|
readCustomTemplatesFromFrontmatter,
|
|
382
439
|
readCustomThemesFromFrontmatter,
|
|
440
|
+
readDashboardLayoutsFromFrontmatter,
|
|
383
441
|
renderAsciiDiagram,
|
|
384
442
|
renderAsciiTimeline,
|
|
443
|
+
renderMarkdownBlocksHtml,
|
|
385
444
|
renderTree,
|
|
386
445
|
repairAsciiDiagram,
|
|
387
446
|
replaceDataFence,
|
|
388
447
|
resolveAudioMapping,
|
|
389
448
|
resolveColorScheme,
|
|
390
449
|
resolveCoverSlideSettings,
|
|
450
|
+
resolveDashboardLayoutDefinition,
|
|
451
|
+
resolveDashboardSettings,
|
|
452
|
+
resolveDashboardStyleId,
|
|
453
|
+
resolveDashboardZooms,
|
|
454
|
+
resolveFlashcardMarker,
|
|
455
|
+
resolveLayoutCells,
|
|
391
456
|
resolvePageBlock,
|
|
392
457
|
resolvePageStyle,
|
|
393
458
|
resolvePersistentLayers,
|
|
@@ -405,6 +470,8 @@ export {
|
|
|
405
470
|
snapEndpoints,
|
|
406
471
|
snapPoints,
|
|
407
472
|
statHighlight,
|
|
473
|
+
stripBlockBackdropLayer,
|
|
474
|
+
stripsBlockBackdrop,
|
|
408
475
|
templateRegistry,
|
|
409
476
|
themeWantsAmbientMotion,
|
|
410
477
|
themedEntrance,
|
|
@@ -414,16 +481,19 @@ export {
|
|
|
414
481
|
themedSurfaceGradient,
|
|
415
482
|
timelineBlock,
|
|
416
483
|
titleBlock,
|
|
484
|
+
transposeCells,
|
|
417
485
|
treeBlock,
|
|
418
486
|
treeFromMarkdownList,
|
|
419
487
|
treeFromTemplateData,
|
|
420
488
|
treeToTemplateData,
|
|
421
489
|
twoColumn,
|
|
490
|
+
validateDashboardLayoutDefinition,
|
|
422
491
|
validateMarkdownDoc,
|
|
423
492
|
validateMarkdownSource,
|
|
424
493
|
videoPullQuote,
|
|
425
494
|
videoWithCaption,
|
|
426
495
|
wrapWithPersistentLayers,
|
|
427
496
|
writeCustomTemplatesToFrontmatter,
|
|
428
|
-
writeCustomThemesToFrontmatter
|
|
497
|
+
writeCustomThemesToFrontmatter,
|
|
498
|
+
writeDashboardLayoutsToFrontmatter
|
|
429
499
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ export { D as DEFAULT_MARKDOWN_SAFETY_LIMITS, a as DEFAULT_TRANSITION_DURATION_S
|
|
|
5
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-8BQMY2HV.js';
|
|
6
6
|
export { M as MediaEntry, a as MediaProvider } from './MediaProvider-wpSe21B3.js';
|
|
7
7
|
export { E as EditorLayerMeta, I as ImageEditCanvas, a as ImageEditDoc, b as ImageEditLayer, c as ImageEditLayerKind, d as ImageEditMeta } from './ImageEditDoc-Cq2a3c30.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, BuildPreviewDocOptions, BuiltInTemplateName, CONTAINER_TEMPLATES, COVER_SLIDE_FRONTMATTER_KEYS, COVER_SLIDE_TEMPLATE_OPTIONS, ClipBox, ConnectorAnchor, ConnectorPort, ConnectorRouting, ConnectorSnapPoint, CoverBlockInput, CoverSlidePlayback, CoverSlideSettings, CoverSlideTemplate, CoverSlideTemplateOption, DEFAULT_COVER_SLIDE_SETTINGS, 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, MAX_COVER_SLIDE_DURATION_SECONDS, MarkdownToDocOptions, MarkdownValidationResult, MaterializeBlockLayersOptions, NarrationResolution, NativeMediaLayout, NoMediaLayout, PAGE_BASE_CSS, PATH_SHAPE_KINDS, PageSectionContext, PageSectionDraft, RenderAsciiDiagramOptions, RenderAsciiTimelineOptions, RenderTreeOptions, RepairResult, ResolvedPageBlock, RichListItem, RuntimeTemplateRegistry, SHAPE_NAMES, SectionExtractor, SupplementalMediaLayoutVariant, SupplementalMediaShape, SupplementalMediaVariantMatrix, TABLE_FED_TEMPLATES, TEMPLATE_AUTHORING_METADATA, TEMPLATE_INPUT_DESCRIPTORS, TEMPLATE_METADATA, TREE_FENCE_LANGS, TemplateAuthoringMetadata, TemplateAuthoringRole, TemplateBodyPolicy, TemplateInputDescriptor, TemplateMediaOwnership, TemplateMetadata, TemplateParamFinding, Tree, TreeDetection, TreeItem, TreeNode, UnconsumedMediaBehavior, ValidateOptions, adjustY, anchorPoint, applyNarrationTiming, applyRenderStyleToLayers, asciiCellToCanvas, asciiDiagramFromBlocks, asciiDiagramFromTemplateData, asciiDiagramToTemplateData, asciiTimelineToTemplateData, autoTemplatePreservesContent, bigText, buildPageCss, buildPageCssVars, buildPreviewDoc, buildRegistry, canvasToAsciiCell, clipEndpoints, clipPoint, coerceTemplateParams, comparisonBar, computeDiagramLayout, computeDrawingLayout, computeLayoutLayers, connectorPath, contentBlock, countBlocks, coverBlock, createAccentLayers, cssFilterForTreatment, dataTable, dateEvent, definitionCard, deriveTemplateInputs, detectAsciiDiagram, detectAsciiTimeline, detectTree, diagramBlock, docToMarkdown, documentTitleFromFileName, drawingBlock, expandCoverBlock, expandDocBlocks, expandPersistentLayers, extractBlockquoteText, extractBodyPlainText, extractEmbeddedVideos, extractFirstEmbeddedVideo, extractFirstImage, extractImages, extractListItems, extractRichListItems, extractTableData, extractTableFromContents, factCard, fallbackBlockLayers, findFirstList, findFirstTable, fitBigTextSize, 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, resolveCoverSlideSettings, 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';
|
|
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, BUILTIN_DASHBOARD_LAYOUTS, BlockLayerMaterialization, BlockMediaLayoutPolicy, BuildPreviewDocOptions, BuiltInTemplateName, CONTAINER_TEMPLATES, COVER_SLIDE_FRONTMATTER_KEYS, COVER_SLIDE_TEMPLATE_OPTIONS, ClipBox, ConnectorAnchor, ConnectorPort, ConnectorRouting, ConnectorSnapPoint, CoverBlockInput, CoverSlidePlayback, CoverSlideSettings, CoverSlideTemplate, CoverSlideTemplateOption, DASHBOARD_AUTO_LAYOUT_ID, DASHBOARD_FRONTMATTER_KEYS, DASHBOARD_STYLES, DASHBOARD_STYLE_IDS, DASHBOARD_ZOOM_LEVELS, DEFAULT_COVER_SLIDE_SETTINGS, DEFAULT_DASHBOARD_SETTINGS, DEFAULT_DASHBOARD_STYLE, DEFAULT_LAYOUT, DIAGRAM_LABEL_HORIZONTAL_PADDING, DIAGRAM_LABEL_LINE_HEIGHT, DIAGRAM_LABEL_MIN_FONT_SIZE, DIAGRAM_LABEL_VERTICAL_PADDING, DashboardCell, DashboardCellChrome, DashboardCellDefinition, DashboardCellFrame, DashboardDiagnostic, DashboardLayoutDefinition, DashboardLayoutSummary, DashboardLayoutValidationError, DashboardLayoutValidationResult, DashboardMaterialization, DashboardRectPct, DashboardSettings, DashboardSettingsOverrides, DashboardStyleId, DashboardStyleSummary, DashboardTitle, DashboardTitleSlotDefinition, DashboardZoomCandidate, DashboardZoomLevel, DashboardZoomMode, DataFenceParseResult, DeriveTemplateInputsOptions, DetectAsciiTimelineOptions, DiagramEdge, DiagramLabelFit, DiagramLayout, DiagramLayoutOptions, DiagramNodePosition, DrawingConnector, DrawingLayout, DrawingLayoutOptions, DrawingShape, DrawingShapeKind, EmbeddedVideo, ExpandDocBlocksOptions, ExtractedTableData, FRONTMATTER_DASHBOARD_LAYOUTS_KEY, FirstImage, Flashcard, FlashcardChoice, FlashcardDeck, FlashcardDiagnostic, FlashcardDiagnosticCode, FlashcardFace, FlashcardKind, FlashcardSourceMode, InputCoercion, LayerMaterializationDiagnostic, LayerMaterializationFailureMode, LayerMaterializationSource, LayoutLayerDefaults, LayoutLayersResult, MAX_COVER_SLIDE_DURATION_SECONDS, MarkdownToDocOptions, MarkdownValidationResult, MaterializeBlockLayersOptions, MaterializeDashboardOptions, MaterializeFlashcardsOptions, NarrationResolution, NativeMediaLayout, NoMediaLayout, PAGE_BASE_CSS, PATH_SHAPE_KINDS, PageSectionContext, PageSectionDraft, RenderAsciiDiagramOptions, RenderAsciiTimelineOptions, RenderTreeOptions, RepairResult, ResolvedDashboardCell, ResolvedPageBlock, RichListItem, RuntimeTemplateRegistry, SHAPE_NAMES, SectionExtractor, SupplementalMediaLayoutVariant, SupplementalMediaShape, SupplementalMediaVariantMatrix, TABLE_FED_TEMPLATES, TEMPLATE_AUTHORING_METADATA, TEMPLATE_INPUT_DESCRIPTORS, TEMPLATE_METADATA, TREE_FENCE_LANGS, TemplateAuthoringMetadata, TemplateAuthoringRole, TemplateBodyPolicy, TemplateInputDescriptor, TemplateMediaOwnership, TemplateMetadata, TemplateParamFinding, Tree, TreeDetection, TreeItem, TreeNode, UnconsumedMediaBehavior, ValidateOptions, adjustY, anchorPoint, applyNarrationTiming, applyRenderStyleToLayers, asciiCellToCanvas, asciiDiagramFromBlocks, asciiDiagramFromTemplateData, asciiDiagramToTemplateData, asciiTimelineToTemplateData, autoTemplatePreservesContent, bigText, buildDashboardCellChrome, buildPageCss, buildPageCssVars, buildPreviewDoc, buildRegistry, canvasToAsciiCell, chooseDashboardLayout, clipEndpoints, clipPoint, coerceTemplateParams, comparisonBar, composeDashboardLayers, computeDiagramLayout, computeDrawingLayout, computeLayoutLayers, connectorPath, contentBlock, countBlocks, coverBlock, createAccentLayers, cssFilterForTreatment, dashboardCanvasFill, dashboardCellAccent, dataTable, dateEvent, definitionCard, deriveTemplateInputs, desiredCellZoom, detectAsciiDiagram, detectAsciiTimeline, detectTree, diagramBlock, docToMarkdown, documentTitleFromFileName, drawingBlock, expandCoverBlock, expandDocBlocks, expandPersistentLayers, extractBlockquoteText, extractBodyPlainText, extractEmbeddedVideos, extractFirstEmbeddedVideo, extractFirstImage, extractImages, extractListItems, extractRichListItems, extractTableData, extractTableFromContents, factCard, fallbackBlockLayers, findFirstList, findFirstTable, fitBigTextSize, fitDiagramLabel, flattenBlocks, flattenRenderableBlocks, fullBleedQuote, getAccentLayout, getAnimationProgress, getAnimationStyle, getAvailableTemplates, getBlockBodyText, getBlockDepth, getBlockMediaLayoutPolicy, getDashboardLayoutSummaries, 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, layoutCapacity, leftFeature, lineStyleDasharray, lintTemplateParams, listBlock, listDashboardLayouts, mapBlock, markdownBlockSeparatorLines, markdownToDoc, markerPath, materializeBlockLayers, materializeDashboard, materializeFlashcards, nearestSnapPoint, normalizeDashboardZoom, normalizeShapeKind, pageStyleDataAttributes, parseAsciiDiagram, parseAsciiTimeline, parseAsciiTimelineWithStats, parseDataFence, parseTree, parseWrappedFlowTimeline, parseYamlSubset, photoGrid, pullQuote, quoteBlock, readCustomTemplatesFromFrontmatter, readCustomThemesFromFrontmatter, readDashboardLayoutsFromFrontmatter, renderAsciiDiagram, renderAsciiTimeline, renderMarkdownBlocksHtml, renderTree, repairAsciiDiagram, replaceDataFence, resolveAudioMapping, resolveColorScheme, resolveCoverSlideSettings, resolveDashboardLayoutDefinition, resolveDashboardSettings, resolveDashboardStyleId, resolveDashboardZooms, resolveFlashcardMarker, resolveLayoutCells, resolvePageBlock, resolvePersistentLayers, resolveTemplateName, resolveThemeForDoc, rightFeature, scaleAnimationDuration, scoreTextSimilarity, sectionExtractors, sectionHeader, shapePath, shouldUseShadow, snapEndpoints, snapPoints, statHighlight, stripBlockBackdropLayer, stripsBlockBackdrop, templateRegistry, themeWantsAmbientMotion, themedEntrance, themedFontSize, themedImageTreatment, themedScrim, themedSurfaceGradient, timelineBlock, titleBlock, transposeCells, treeBlock, treeFromMarkdownList, treeFromTemplateData, treeToTemplateData, twoColumn, validateDashboardLayoutDefinition, validateMarkdownDoc, validateMarkdownSource, videoPullQuote, videoWithCaption, wrapWithPersistentLayers, writeCustomTemplatesToFrontmatter, writeCustomThemesToFrontmatter, writeDashboardLayoutsToFrontmatter } from './doc/index.js';
|
|
9
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-Rss5thAj.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';
|
package/dist/index.js
CHANGED
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
reanchorSession,
|
|
24
24
|
traceWordPosAt,
|
|
25
25
|
vadStep
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-HEYR3TPL.js";
|
|
27
27
|
import {
|
|
28
28
|
fenceRendererLangs
|
|
29
29
|
} from "./chunk-PGI7HSWE.js";
|
|
@@ -134,41 +134,74 @@ import {
|
|
|
134
134
|
haversineDistance
|
|
135
135
|
} from "./chunk-R3KTTOMS.js";
|
|
136
136
|
import {
|
|
137
|
+
BUILTIN_DASHBOARD_LAYOUTS,
|
|
137
138
|
COVER_SLIDE_FRONTMATTER_KEYS,
|
|
138
139
|
COVER_SLIDE_TEMPLATE_OPTIONS,
|
|
140
|
+
DASHBOARD_AUTO_LAYOUT_ID,
|
|
141
|
+
DASHBOARD_FRONTMATTER_KEYS,
|
|
142
|
+
DASHBOARD_STYLES,
|
|
143
|
+
DASHBOARD_STYLE_IDS,
|
|
144
|
+
DASHBOARD_ZOOM_LEVELS,
|
|
139
145
|
DEFAULT_COVER_SLIDE_SETTINGS,
|
|
146
|
+
DEFAULT_DASHBOARD_SETTINGS,
|
|
147
|
+
DEFAULT_DASHBOARD_STYLE,
|
|
148
|
+
FRONTMATTER_DASHBOARD_LAYOUTS_KEY,
|
|
140
149
|
MAX_COVER_SLIDE_DURATION_SECONDS,
|
|
141
150
|
PAGE_BASE_CSS,
|
|
142
151
|
applyNarrationTiming,
|
|
152
|
+
buildDashboardCellChrome,
|
|
143
153
|
buildPageCss,
|
|
144
154
|
buildPageCssVars,
|
|
145
155
|
buildPreviewDoc,
|
|
156
|
+
chooseDashboardLayout,
|
|
157
|
+
composeDashboardLayers,
|
|
146
158
|
cssFilterForTreatment,
|
|
159
|
+
dashboardCanvasFill,
|
|
160
|
+
dashboardCellAccent,
|
|
161
|
+
desiredCellZoom,
|
|
147
162
|
docToMarkdown,
|
|
148
163
|
documentTitleFromFileName,
|
|
149
164
|
getAnimationProgress,
|
|
150
165
|
getAnimationStyle,
|
|
166
|
+
getDashboardLayoutSummaries,
|
|
151
167
|
getDefaultAnimationDuration,
|
|
152
168
|
getTransitionClass,
|
|
153
169
|
isRepairableDiagram,
|
|
154
170
|
isTemplatedPageBlock,
|
|
171
|
+
layoutCapacity,
|
|
172
|
+
listDashboardLayouts,
|
|
173
|
+
materializeDashboard,
|
|
174
|
+
materializeFlashcards,
|
|
155
175
|
materializePageSection,
|
|
156
176
|
materializePageSections,
|
|
177
|
+
normalizeDashboardZoom,
|
|
157
178
|
pageStyleDataAttributes,
|
|
179
|
+
readDashboardLayoutsFromFrontmatter,
|
|
158
180
|
renderAsciiDiagram,
|
|
159
181
|
renderAsciiTimeline,
|
|
160
182
|
renderTree,
|
|
161
183
|
repairAsciiDiagram,
|
|
162
184
|
resolveAudioMapping,
|
|
163
185
|
resolveCoverSlideSettings,
|
|
186
|
+
resolveDashboardLayoutDefinition,
|
|
187
|
+
resolveDashboardSettings,
|
|
188
|
+
resolveDashboardStyleId,
|
|
189
|
+
resolveDashboardZooms,
|
|
190
|
+
resolveFlashcardMarker,
|
|
191
|
+
resolveLayoutCells,
|
|
164
192
|
resolvePageBlock,
|
|
165
193
|
resolvePageStyle,
|
|
166
194
|
resolveThemeForDoc,
|
|
167
195
|
scoreTextSimilarity,
|
|
168
196
|
sectionExtractors,
|
|
197
|
+
stripBlockBackdropLayer,
|
|
198
|
+
stripsBlockBackdrop,
|
|
199
|
+
transposeCells,
|
|
200
|
+
validateDashboardLayoutDefinition,
|
|
169
201
|
validateMarkdownDoc,
|
|
170
|
-
validateMarkdownSource
|
|
171
|
-
|
|
202
|
+
validateMarkdownSource,
|
|
203
|
+
writeDashboardLayoutsToFrontmatter
|
|
204
|
+
} from "./chunk-KIAEJDZB.js";
|
|
172
205
|
import {
|
|
173
206
|
ASCII_CHAR_H,
|
|
174
207
|
ASCII_CHAR_W,
|
|
@@ -255,6 +288,7 @@ import {
|
|
|
255
288
|
lintTemplateParams,
|
|
256
289
|
listBlock,
|
|
257
290
|
mapBlock,
|
|
291
|
+
markdownBlockSeparatorLines,
|
|
258
292
|
markdownToDoc,
|
|
259
293
|
materializeBlockLayers,
|
|
260
294
|
normalizeShapeKind,
|
|
@@ -266,6 +300,7 @@ import {
|
|
|
266
300
|
quoteBlock,
|
|
267
301
|
readCustomTemplatesFromFrontmatter,
|
|
268
302
|
readCustomThemesFromFrontmatter,
|
|
303
|
+
renderMarkdownBlocksHtml,
|
|
269
304
|
replaceDataFence,
|
|
270
305
|
resolveColorScheme,
|
|
271
306
|
resolvePersistentLayers,
|
|
@@ -296,7 +331,7 @@ import {
|
|
|
296
331
|
wrapWithPersistentLayers,
|
|
297
332
|
writeCustomTemplatesToFrontmatter,
|
|
298
333
|
writeCustomThemesToFrontmatter
|
|
299
|
-
} from "./chunk-
|
|
334
|
+
} from "./chunk-W2GIFNLN.js";
|
|
300
335
|
import {
|
|
301
336
|
PATH_SHAPE_KINDS,
|
|
302
337
|
anchorPoint,
|
|
@@ -539,12 +574,20 @@ export {
|
|
|
539
574
|
BASE_INPUT_DESCRIPTORS,
|
|
540
575
|
BLOCK_MEDIA_LAYOUT_POLICIES,
|
|
541
576
|
BLOCK_META_KEY_DESCRIPTORS,
|
|
577
|
+
BUILTIN_DASHBOARD_LAYOUTS,
|
|
542
578
|
CONTAINER_TEMPLATES,
|
|
543
579
|
COVER_SLIDE_FRONTMATTER_KEYS,
|
|
544
580
|
COVER_SLIDE_TEMPLATE_OPTIONS,
|
|
545
581
|
DARK_SURFACE,
|
|
582
|
+
DASHBOARD_AUTO_LAYOUT_ID,
|
|
583
|
+
DASHBOARD_FRONTMATTER_KEYS,
|
|
584
|
+
DASHBOARD_STYLES,
|
|
585
|
+
DASHBOARD_STYLE_IDS,
|
|
586
|
+
DASHBOARD_ZOOM_LEVELS,
|
|
546
587
|
DEFAULT_ALIGN_CONFIG,
|
|
547
588
|
DEFAULT_COVER_SLIDE_SETTINGS,
|
|
589
|
+
DEFAULT_DASHBOARD_SETTINGS,
|
|
590
|
+
DEFAULT_DASHBOARD_STYLE,
|
|
548
591
|
DEFAULT_DOC_FONT,
|
|
549
592
|
DEFAULT_FEATURE_CONFIG,
|
|
550
593
|
DEFAULT_INTERACTIVE_RESOURCE_POLICY,
|
|
@@ -570,6 +613,7 @@ export {
|
|
|
570
613
|
FONT_FALLBACKS,
|
|
571
614
|
FRONTMATTER_CUSTOM_TEMPLATES_KEY,
|
|
572
615
|
FRONTMATTER_CUSTOM_THEMES_KEY,
|
|
616
|
+
FRONTMATTER_DASHBOARD_LAYOUTS_KEY,
|
|
573
617
|
ICONS,
|
|
574
618
|
IMAGE_EDIT_ASSETS_PREFIX,
|
|
575
619
|
IMAGE_EDIT_DEFAULT_BASENAME,
|
|
@@ -648,6 +692,7 @@ export {
|
|
|
648
692
|
autoTemplatePreservesContent,
|
|
649
693
|
bandpassRun,
|
|
650
694
|
bigText,
|
|
695
|
+
buildDashboardCellChrome,
|
|
651
696
|
buildGoogleFontsUrl,
|
|
652
697
|
buildImageEditVersionPath,
|
|
653
698
|
buildJsonFormTokens,
|
|
@@ -667,6 +712,7 @@ export {
|
|
|
667
712
|
canonicalIconToken,
|
|
668
713
|
canvasToAsciiCell,
|
|
669
714
|
chooseControl,
|
|
715
|
+
chooseDashboardLayout,
|
|
670
716
|
cleanupMarkdownSource,
|
|
671
717
|
clipEndpoints,
|
|
672
718
|
clipPoint,
|
|
@@ -675,6 +721,7 @@ export {
|
|
|
675
721
|
coerceTemplateParams,
|
|
676
722
|
comparisonBar,
|
|
677
723
|
compileTheme,
|
|
724
|
+
composeDashboardLayers,
|
|
678
725
|
computeDiagramLayout,
|
|
679
726
|
computeDrawingLayout,
|
|
680
727
|
computeLayoutLayers,
|
|
@@ -700,6 +747,8 @@ export {
|
|
|
700
747
|
createTransformStyleRegistry,
|
|
701
748
|
createVadState,
|
|
702
749
|
cssFilterForTreatment,
|
|
750
|
+
dashboardCanvasFill,
|
|
751
|
+
dashboardCellAccent,
|
|
703
752
|
dataTable,
|
|
704
753
|
dateEvent,
|
|
705
754
|
decodeGeohash,
|
|
@@ -708,6 +757,7 @@ export {
|
|
|
708
757
|
deriveColorPalette,
|
|
709
758
|
deriveScale,
|
|
710
759
|
deriveTemplateInputs,
|
|
760
|
+
desiredCellZoom,
|
|
711
761
|
detectAsciiDiagram,
|
|
712
762
|
detectAsciiTimeline,
|
|
713
763
|
detectMarkdownWrapState,
|
|
@@ -781,6 +831,7 @@ export {
|
|
|
781
831
|
getByPointer,
|
|
782
832
|
getCaptionAtTime,
|
|
783
833
|
getChildren,
|
|
834
|
+
getDashboardLayoutSummaries,
|
|
784
835
|
getDefaultAnimation,
|
|
785
836
|
getDefaultAnimationDuration,
|
|
786
837
|
getDocBasename,
|
|
@@ -840,27 +891,33 @@ export {
|
|
|
840
891
|
isTreeFence,
|
|
841
892
|
isWrappedFlowTimelineSource,
|
|
842
893
|
layoutBlock,
|
|
894
|
+
layoutCapacity,
|
|
843
895
|
scaledFontSize as layoutScaledFontSize,
|
|
844
896
|
leftFeature,
|
|
845
897
|
lineStyleDasharray,
|
|
846
898
|
lintTemplateParams,
|
|
847
899
|
listBlock,
|
|
900
|
+
listDashboardLayouts,
|
|
848
901
|
listImageEditVersions,
|
|
849
902
|
listVersions,
|
|
850
903
|
looksLikeIconToken,
|
|
851
904
|
mapBlock,
|
|
852
905
|
mapElementToBlock,
|
|
906
|
+
markdownBlockSeparatorLines,
|
|
853
907
|
markdownToDoc,
|
|
854
908
|
markerPath,
|
|
855
909
|
matchFontFamily,
|
|
856
910
|
matchTrailingPandocAttr,
|
|
857
911
|
matchTrailingTemplateAnnotation,
|
|
858
912
|
materializeBlockLayers,
|
|
913
|
+
materializeDashboard,
|
|
914
|
+
materializeFlashcards,
|
|
859
915
|
materializePageSection,
|
|
860
916
|
materializePageSections,
|
|
861
917
|
narrationSessionStep,
|
|
862
918
|
nearestSnapPoint,
|
|
863
919
|
needsQuoting,
|
|
920
|
+
normalizeDashboardZoom,
|
|
864
921
|
normalizeShapeKind,
|
|
865
922
|
normalizeTransitionDirection,
|
|
866
923
|
normalizeTransitionType,
|
|
@@ -901,6 +958,7 @@ export {
|
|
|
901
958
|
quoteBlock,
|
|
902
959
|
readCustomTemplatesFromFrontmatter,
|
|
903
960
|
readCustomThemesFromFrontmatter,
|
|
961
|
+
readDashboardLayoutsFromFrontmatter,
|
|
904
962
|
readFrontmatterThemeId,
|
|
905
963
|
readImageEditDoc,
|
|
906
964
|
readImageEditVersion,
|
|
@@ -913,6 +971,7 @@ export {
|
|
|
913
971
|
removeLayer,
|
|
914
972
|
renderAsciiDiagram,
|
|
915
973
|
renderAsciiTimeline,
|
|
974
|
+
renderMarkdownBlocksHtml,
|
|
916
975
|
renderTree,
|
|
917
976
|
reorderLayer,
|
|
918
977
|
repairAsciiDiagram,
|
|
@@ -921,10 +980,16 @@ export {
|
|
|
921
980
|
resolveBlockTransition,
|
|
922
981
|
resolveColorScheme,
|
|
923
982
|
resolveCoverSlideSettings,
|
|
983
|
+
resolveDashboardLayoutDefinition,
|
|
984
|
+
resolveDashboardSettings,
|
|
985
|
+
resolveDashboardStyleId,
|
|
986
|
+
resolveDashboardZooms,
|
|
924
987
|
resolveFlag,
|
|
988
|
+
resolveFlashcardMarker,
|
|
925
989
|
resolveFontFamily,
|
|
926
990
|
resolveIcon,
|
|
927
991
|
resolveJsonFormTheme,
|
|
992
|
+
resolveLayoutCells,
|
|
928
993
|
resolveMarkdownSafetyLimits,
|
|
929
994
|
resolveMediaSchedule,
|
|
930
995
|
resolvePageBlock,
|
|
@@ -964,8 +1029,10 @@ export {
|
|
|
964
1029
|
statHighlight,
|
|
965
1030
|
stringifyHtmlNodes,
|
|
966
1031
|
stringifyMarkdown,
|
|
1032
|
+
stripBlockBackdropLayer,
|
|
967
1033
|
stripIconMarkers,
|
|
968
1034
|
stripMarkdown,
|
|
1035
|
+
stripsBlockBackdrop,
|
|
969
1036
|
suggestIcons,
|
|
970
1037
|
templateRegistry,
|
|
971
1038
|
themeWantsAmbientMotion,
|
|
@@ -981,6 +1048,7 @@ export {
|
|
|
981
1048
|
tokenizeAttrTokens,
|
|
982
1049
|
touch,
|
|
983
1050
|
traceWordPosAt,
|
|
1051
|
+
transposeCells,
|
|
984
1052
|
treeBlock,
|
|
985
1053
|
treeFromMarkdownList,
|
|
986
1054
|
treeFromTemplateData,
|
|
@@ -991,6 +1059,7 @@ export {
|
|
|
991
1059
|
updateLayer,
|
|
992
1060
|
vadStep,
|
|
993
1061
|
validateCustomTemplateDefinition,
|
|
1062
|
+
validateDashboardLayoutDefinition,
|
|
994
1063
|
validateDocSchema,
|
|
995
1064
|
validateMarkdownDoc,
|
|
996
1065
|
validateMarkdownSource,
|
|
@@ -1006,5 +1075,6 @@ export {
|
|
|
1006
1075
|
wrapWithPersistentLayers,
|
|
1007
1076
|
writeCustomTemplatesToFrontmatter,
|
|
1008
1077
|
writeCustomThemesToFrontmatter,
|
|
1078
|
+
writeDashboardLayoutsToFrontmatter,
|
|
1009
1079
|
writeImageEditDoc
|
|
1010
1080
|
};
|
package/dist/narration/index.js
CHANGED
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
reanchorSession,
|
|
24
24
|
traceWordPosAt,
|
|
25
25
|
vadStep
|
|
26
|
-
} from "../chunk-
|
|
26
|
+
} from "../chunk-HEYR3TPL.js";
|
|
27
27
|
import {
|
|
28
28
|
buildNarrationScript,
|
|
29
29
|
buildNarrationTimingJson,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
wordIndexAtChar,
|
|
34
34
|
wordIndexAtTime,
|
|
35
35
|
wordPosAtExpectedSyllables
|
|
36
|
-
} from "../chunk-
|
|
36
|
+
} from "../chunk-W2GIFNLN.js";
|
|
37
37
|
import "../chunk-PUS54YU6.js";
|
|
38
38
|
import "../chunk-CUYHFOFL.js";
|
|
39
39
|
import "../chunk-SBAX4ZPO.js";
|