@bendyline/squisq 2.8.0 → 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-KEAU5NEM.js → chunk-HEYR3TPL.js} +1 -1
- package/dist/{chunk-PTK2SW2V.js → chunk-KIAEJDZB.js} +271 -3
- package/dist/{chunk-V6NV4GDE.js → chunk-W2GIFNLN.js} +1890 -1796
- package/dist/doc/index.d.ts +81 -3
- package/dist/doc/index.js +10 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +11 -3
- package/dist/narration/index.js +2 -2
- package/package.json +1 -1
package/dist/doc/index.d.ts
CHANGED
|
@@ -1875,6 +1875,23 @@ interface RichListItem {
|
|
|
1875
1875
|
markdown: MarkdownBlockNode[];
|
|
1876
1876
|
html?: string;
|
|
1877
1877
|
}
|
|
1878
|
+
/**
|
|
1879
|
+
* Render Markdown block nodes as the small, sanitized HTML subset accepted by
|
|
1880
|
+
* `TextLayer.content.html`. This keeps structural content (especially lists
|
|
1881
|
+
* and paragraph boundaries) intact when a slide template uses one rich text
|
|
1882
|
+
* layer instead of the full React Markdown renderer.
|
|
1883
|
+
*
|
|
1884
|
+
* Raw HTML blocks deliberately fall through to escaped plain text. The text
|
|
1885
|
+
* layer renderer sanitizes this projection again, but generated HTML should
|
|
1886
|
+
* still be safe before it reaches that boundary.
|
|
1887
|
+
*/
|
|
1888
|
+
declare function renderMarkdownBlocksHtml(nodes: readonly MarkdownBlockNode[]): string;
|
|
1889
|
+
/**
|
|
1890
|
+
* Number of newline characters to retain in a plain-text projection between
|
|
1891
|
+
* two Markdown blocks. A normal block boundary gets the usual two newlines;
|
|
1892
|
+
* parsed source with additional blank lines keeps the larger authored gap.
|
|
1893
|
+
*/
|
|
1894
|
+
declare function markdownBlockSeparatorLines(previous: MarkdownBlockNode, next: MarkdownBlockNode): number;
|
|
1878
1895
|
/** Extract list items without discarding their inline Markdown formatting. */
|
|
1879
1896
|
declare function extractRichListItems(contents?: MarkdownBlockNode[]): RichListItem[];
|
|
1880
1897
|
/**
|
|
@@ -1976,8 +1993,9 @@ interface MarkdownToDocOptions {
|
|
|
1976
1993
|
* StartBlockConfig is created with a title resolved in priority order:
|
|
1977
1994
|
* frontmatter `title:`, the first occurrence of the shallowest heading
|
|
1978
1995
|
* (H1, else H2, else H3, …), then {@link fileName}. If the document
|
|
1979
|
-
* contains an image, the first image is used as the hero.
|
|
1980
|
-
*
|
|
1996
|
+
* contains an image, the first image is used as the hero. A frontmatter
|
|
1997
|
+
* `subtitle:` overrides the usual first-paragraph subtitle. Set to false
|
|
1998
|
+
* to suppress automatic cover generation.
|
|
1981
1999
|
*/
|
|
1982
2000
|
generateCoverBlock?: boolean;
|
|
1983
2001
|
/**
|
|
@@ -3011,6 +3029,66 @@ declare function materializeDashboard(doc: Doc, options?: MaterializeDashboardOp
|
|
|
3011
3029
|
*/
|
|
3012
3030
|
declare function composeDashboardLayers(materialization: DashboardMaterialization): Layer[];
|
|
3013
3031
|
|
|
3032
|
+
/**
|
|
3033
|
+
* Flashcard-mode projection.
|
|
3034
|
+
*
|
|
3035
|
+
* Flashcards are a study rendition of the existing heading-driven Block tree,
|
|
3036
|
+
* not a visual template. The projection keeps rich Markdown nodes and nested
|
|
3037
|
+
* blocks intact so React and future exporters can render the same authored
|
|
3038
|
+
* content without reducing cards to strings.
|
|
3039
|
+
*/
|
|
3040
|
+
|
|
3041
|
+
type FlashcardKind = 'basic' | 'multiple-choice';
|
|
3042
|
+
type FlashcardSourceMode = 'auto' | 'explicit';
|
|
3043
|
+
interface FlashcardFace {
|
|
3044
|
+
/** Blocks rendered on this face, in source order. */
|
|
3045
|
+
blocks: Block[];
|
|
3046
|
+
}
|
|
3047
|
+
interface FlashcardChoice {
|
|
3048
|
+
id: string;
|
|
3049
|
+
sourceBlockId: string;
|
|
3050
|
+
content: FlashcardFace;
|
|
3051
|
+
correct: boolean;
|
|
3052
|
+
}
|
|
3053
|
+
interface Flashcard {
|
|
3054
|
+
id: string;
|
|
3055
|
+
sourceBlockId: string;
|
|
3056
|
+
kind: FlashcardKind;
|
|
3057
|
+
/** Optional parent heading used as a compact deck/category label. */
|
|
3058
|
+
label?: string;
|
|
3059
|
+
front: FlashcardFace;
|
|
3060
|
+
/** Basic-card answer, or the correct answer for a multiple-choice card. */
|
|
3061
|
+
back: FlashcardFace;
|
|
3062
|
+
choices?: FlashcardChoice[];
|
|
3063
|
+
/** Parent-owned body shown after reveal/grading for multi-child cards. */
|
|
3064
|
+
explanation?: FlashcardFace;
|
|
3065
|
+
}
|
|
3066
|
+
type FlashcardDiagnosticCode = 'empty-front' | 'empty-back' | 'multiple-choice-needs-distractor' | 'multiple-correct-answers';
|
|
3067
|
+
interface FlashcardDiagnostic {
|
|
3068
|
+
severity: 'warning' | 'error';
|
|
3069
|
+
code: FlashcardDiagnosticCode;
|
|
3070
|
+
message: string;
|
|
3071
|
+
blockId: string;
|
|
3072
|
+
}
|
|
3073
|
+
interface FlashcardDeck {
|
|
3074
|
+
title?: string;
|
|
3075
|
+
cards: Flashcard[];
|
|
3076
|
+
diagnostics: FlashcardDiagnostic[];
|
|
3077
|
+
}
|
|
3078
|
+
interface MaterializeFlashcardsOptions {
|
|
3079
|
+
/**
|
|
3080
|
+
* `auto` (default) discovers card-shaped blocks and honors explicit study
|
|
3081
|
+
* metadata. `explicit` includes only blocks marked `study=flashcard` or
|
|
3082
|
+
* `study=multiple-choice-flashcard` (and their class/template aliases).
|
|
3083
|
+
*/
|
|
3084
|
+
source?: FlashcardSourceMode;
|
|
3085
|
+
}
|
|
3086
|
+
type FlashcardMarker = FlashcardKind | 'group';
|
|
3087
|
+
/** Resolve an authored study marker without changing the visual template model. */
|
|
3088
|
+
declare function resolveFlashcardMarker(block: Block): FlashcardMarker | undefined;
|
|
3089
|
+
/** Convert a nested Doc into a deterministic study deck. */
|
|
3090
|
+
declare function materializeFlashcards(doc: Doc, options?: MaterializeFlashcardsOptions): FlashcardDeck;
|
|
3091
|
+
|
|
3014
3092
|
/**
|
|
3015
3093
|
* Audio Mapping
|
|
3016
3094
|
*
|
|
@@ -3833,4 +3911,4 @@ declare function treeFromMarkdownList(list: MarkdownList): Tree;
|
|
|
3833
3911
|
/** Find the first top-level markdown list in a block's body, if any. */
|
|
3834
3912
|
declare function findFirstList(contents: MarkdownBlockNode[] | undefined): MarkdownList | undefined;
|
|
3835
3913
|
|
|
3836
|
-
export { ASCII_CHAR_H, ASCII_CHAR_W, ASCII_DIAGRAM_FENCE_LANGS, ASCII_TIMELINE_FENCE_LANGS, type AccentLayout, type AsciiDiagram, type AsciiDiagramDetection, type AsciiDiagramEdge, type AsciiDiagramNode, type AsciiTimeline, type AsciiTimelineDetection, type AsciiTimelineEvent, type AsciiTimelineLink, type AsciiTimelineMarker, type AsciiTimelineSide, type AsciiTimelineStats, type AsciiTimelineStyle, type AsciiTimelineTrack, type AudioSegmentTiming, BASE_INPUT_DESCRIPTORS, BLOCK_MEDIA_LAYOUT_POLICIES, BUILTIN_DASHBOARD_LAYOUTS, type BlockLayerMaterialization, type BlockMediaLayoutPolicy, type BuildPreviewDocOptions, type BuiltInTemplateName, CONTAINER_TEMPLATES, COVER_SLIDE_FRONTMATTER_KEYS, COVER_SLIDE_TEMPLATE_OPTIONS, type ClipBox, type ConnectorAnchor, type ConnectorPort, type ConnectorRouting, type ConnectorSnapPoint, type CoverBlockInput, type CoverSlidePlayback, type CoverSlideSettings, type CoverSlideTemplate, type 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, type DashboardCell, type DashboardCellChrome, type DashboardCellDefinition, type DashboardCellFrame, type DashboardDiagnostic, type DashboardLayoutDefinition, type DashboardLayoutSummary, type DashboardLayoutValidationError, type DashboardLayoutValidationResult, type DashboardMaterialization, type DashboardRectPct, type DashboardSettings, type DashboardSettingsOverrides, type DashboardStyleId, type DashboardStyleSummary, type DashboardTitle, type DashboardTitleSlotDefinition, type DashboardZoomCandidate, type DashboardZoomLevel, type DashboardZoomMode, type DataFenceParseResult, type DeriveTemplateInputsOptions, type DetectAsciiTimelineOptions, type DiagramEdge, type DiagramLabelFit, type DiagramLayout, type DiagramLayoutOptions, type DiagramNodePosition, DocBlock, type DrawingConnector, type DrawingLayout, type DrawingLayoutOptions, type DrawingShape, type DrawingShapeKind, type EmbeddedVideo, type ExpandDocBlocksOptions, type ExtractedTableData, FRONTMATTER_DASHBOARD_LAYOUTS_KEY, type FirstImage, type InputCoercion, type LayerMaterializationDiagnostic, type LayerMaterializationFailureMode, type LayerMaterializationSource, type LayoutLayerDefaults, type LayoutLayersResult, MAX_COVER_SLIDE_DURATION_SECONDS, type MarkdownToDocOptions, type MarkdownValidationResult, type MaterializeBlockLayersOptions, type MaterializeDashboardOptions, type NarrationResolution, type NativeMediaLayout, type NoMediaLayout, PAGE_BASE_CSS, PATH_SHAPE_KINDS, PageSection, type PageSectionContext, type PageSectionDraft, PersistentLayerConfig, type RenderAsciiDiagramOptions, type RenderAsciiTimelineOptions, type RenderTreeOptions, type RepairResult, type ResolvedDashboardCell, type ResolvedPageBlock, type RichListItem, type RuntimeTemplateRegistry, SHAPE_NAMES, type SectionExtractor, type SupplementalMediaLayoutVariant, type SupplementalMediaShape, type SupplementalMediaVariantMatrix, TABLE_FED_TEMPLATES, TEMPLATE_AUTHORING_METADATA, TEMPLATE_INPUT_DESCRIPTORS, TEMPLATE_METADATA, TREE_FENCE_LANGS, type TemplateAuthoringMetadata, type TemplateAuthoringRole, TemplateBlock, type TemplateBodyPolicy, TemplateContext, type TemplateInputDescriptor, type TemplateMediaOwnership, type TemplateMetadata, type TemplateParamFinding, Theme, ThemeColorScheme, type Tree, type TreeDetection, type TreeItem, type TreeNode, type UnconsumedMediaBehavior, type ValidateOptions, ViewportConfig, ViewportOrientation, 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, markdownToDoc, markerPath, materializeBlockLayers, materializeDashboard, nearestSnapPoint, normalizeDashboardZoom, normalizeShapeKind, pageStyleDataAttributes, parseAsciiDiagram, parseAsciiTimeline, parseAsciiTimelineWithStats, parseDataFence, parseTree, parseWrappedFlowTimeline, parseYamlSubset, photoGrid, pullQuote, quoteBlock, readCustomTemplatesFromFrontmatter, readCustomThemesFromFrontmatter, readDashboardLayoutsFromFrontmatter, renderAsciiDiagram, renderAsciiTimeline, renderTree, repairAsciiDiagram, replaceDataFence, resolveAudioMapping, resolveColorScheme, resolveCoverSlideSettings, resolveDashboardLayoutDefinition, resolveDashboardSettings, resolveDashboardStyleId, resolveDashboardZooms, 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 };
|
|
3914
|
+
export { ASCII_CHAR_H, ASCII_CHAR_W, ASCII_DIAGRAM_FENCE_LANGS, ASCII_TIMELINE_FENCE_LANGS, type AccentLayout, type AsciiDiagram, type AsciiDiagramDetection, type AsciiDiagramEdge, type AsciiDiagramNode, type AsciiTimeline, type AsciiTimelineDetection, type AsciiTimelineEvent, type AsciiTimelineLink, type AsciiTimelineMarker, type AsciiTimelineSide, type AsciiTimelineStats, type AsciiTimelineStyle, type AsciiTimelineTrack, type AudioSegmentTiming, BASE_INPUT_DESCRIPTORS, BLOCK_MEDIA_LAYOUT_POLICIES, BUILTIN_DASHBOARD_LAYOUTS, type BlockLayerMaterialization, type BlockMediaLayoutPolicy, type BuildPreviewDocOptions, type BuiltInTemplateName, CONTAINER_TEMPLATES, COVER_SLIDE_FRONTMATTER_KEYS, COVER_SLIDE_TEMPLATE_OPTIONS, type ClipBox, type ConnectorAnchor, type ConnectorPort, type ConnectorRouting, type ConnectorSnapPoint, type CoverBlockInput, type CoverSlidePlayback, type CoverSlideSettings, type CoverSlideTemplate, type 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, type DashboardCell, type DashboardCellChrome, type DashboardCellDefinition, type DashboardCellFrame, type DashboardDiagnostic, type DashboardLayoutDefinition, type DashboardLayoutSummary, type DashboardLayoutValidationError, type DashboardLayoutValidationResult, type DashboardMaterialization, type DashboardRectPct, type DashboardSettings, type DashboardSettingsOverrides, type DashboardStyleId, type DashboardStyleSummary, type DashboardTitle, type DashboardTitleSlotDefinition, type DashboardZoomCandidate, type DashboardZoomLevel, type DashboardZoomMode, type DataFenceParseResult, type DeriveTemplateInputsOptions, type DetectAsciiTimelineOptions, type DiagramEdge, type DiagramLabelFit, type DiagramLayout, type DiagramLayoutOptions, type DiagramNodePosition, DocBlock, type DrawingConnector, type DrawingLayout, type DrawingLayoutOptions, type DrawingShape, type DrawingShapeKind, type EmbeddedVideo, type ExpandDocBlocksOptions, type ExtractedTableData, FRONTMATTER_DASHBOARD_LAYOUTS_KEY, type FirstImage, type Flashcard, type FlashcardChoice, type FlashcardDeck, type FlashcardDiagnostic, type FlashcardDiagnosticCode, type FlashcardFace, type FlashcardKind, type FlashcardSourceMode, type InputCoercion, type LayerMaterializationDiagnostic, type LayerMaterializationFailureMode, type LayerMaterializationSource, type LayoutLayerDefaults, type LayoutLayersResult, MAX_COVER_SLIDE_DURATION_SECONDS, type MarkdownToDocOptions, type MarkdownValidationResult, type MaterializeBlockLayersOptions, type MaterializeDashboardOptions, type MaterializeFlashcardsOptions, type NarrationResolution, type NativeMediaLayout, type NoMediaLayout, PAGE_BASE_CSS, PATH_SHAPE_KINDS, PageSection, type PageSectionContext, type PageSectionDraft, PersistentLayerConfig, type RenderAsciiDiagramOptions, type RenderAsciiTimelineOptions, type RenderTreeOptions, type RepairResult, type ResolvedDashboardCell, type ResolvedPageBlock, type RichListItem, type RuntimeTemplateRegistry, SHAPE_NAMES, type SectionExtractor, type SupplementalMediaLayoutVariant, type SupplementalMediaShape, type SupplementalMediaVariantMatrix, TABLE_FED_TEMPLATES, TEMPLATE_AUTHORING_METADATA, TEMPLATE_INPUT_DESCRIPTORS, TEMPLATE_METADATA, TREE_FENCE_LANGS, type TemplateAuthoringMetadata, type TemplateAuthoringRole, TemplateBlock, type TemplateBodyPolicy, TemplateContext, type TemplateInputDescriptor, type TemplateMediaOwnership, type TemplateMetadata, type TemplateParamFinding, Theme, ThemeColorScheme, type Tree, type TreeDetection, type TreeItem, type TreeNode, type UnconsumedMediaBehavior, type ValidateOptions, ViewportConfig, ViewportOrientation, 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 };
|
package/dist/doc/index.js
CHANGED
|
@@ -36,6 +36,7 @@ import {
|
|
|
36
36
|
layoutCapacity,
|
|
37
37
|
listDashboardLayouts,
|
|
38
38
|
materializeDashboard,
|
|
39
|
+
materializeFlashcards,
|
|
39
40
|
materializePageSection,
|
|
40
41
|
materializePageSections,
|
|
41
42
|
normalizeDashboardZoom,
|
|
@@ -51,6 +52,7 @@ import {
|
|
|
51
52
|
resolveDashboardSettings,
|
|
52
53
|
resolveDashboardStyleId,
|
|
53
54
|
resolveDashboardZooms,
|
|
55
|
+
resolveFlashcardMarker,
|
|
54
56
|
resolveLayoutCells,
|
|
55
57
|
resolvePageBlock,
|
|
56
58
|
resolvePageStyle,
|
|
@@ -64,7 +66,7 @@ import {
|
|
|
64
66
|
validateMarkdownDoc,
|
|
65
67
|
validateMarkdownSource,
|
|
66
68
|
writeDashboardLayoutsToFrontmatter
|
|
67
|
-
} from "../chunk-
|
|
69
|
+
} from "../chunk-KIAEJDZB.js";
|
|
68
70
|
import {
|
|
69
71
|
ASCII_CHAR_H,
|
|
70
72
|
ASCII_CHAR_W,
|
|
@@ -147,6 +149,7 @@ import {
|
|
|
147
149
|
lintTemplateParams,
|
|
148
150
|
listBlock,
|
|
149
151
|
mapBlock,
|
|
152
|
+
markdownBlockSeparatorLines,
|
|
150
153
|
markdownToDoc,
|
|
151
154
|
materializeBlockLayers,
|
|
152
155
|
normalizeShapeKind,
|
|
@@ -157,6 +160,7 @@ import {
|
|
|
157
160
|
quoteBlock,
|
|
158
161
|
readCustomTemplatesFromFrontmatter,
|
|
159
162
|
readCustomThemesFromFrontmatter,
|
|
163
|
+
renderMarkdownBlocksHtml,
|
|
160
164
|
replaceDataFence,
|
|
161
165
|
resolveColorScheme,
|
|
162
166
|
resolvePersistentLayers,
|
|
@@ -184,7 +188,7 @@ import {
|
|
|
184
188
|
wrapWithPersistentLayers,
|
|
185
189
|
writeCustomTemplatesToFrontmatter,
|
|
186
190
|
writeCustomThemesToFrontmatter
|
|
187
|
-
} from "../chunk-
|
|
191
|
+
} from "../chunk-W2GIFNLN.js";
|
|
188
192
|
import {
|
|
189
193
|
PATH_SHAPE_KINDS,
|
|
190
194
|
anchorPoint,
|
|
@@ -409,10 +413,12 @@ export {
|
|
|
409
413
|
listBlock,
|
|
410
414
|
listDashboardLayouts,
|
|
411
415
|
mapBlock,
|
|
416
|
+
markdownBlockSeparatorLines,
|
|
412
417
|
markdownToDoc,
|
|
413
418
|
markerPath,
|
|
414
419
|
materializeBlockLayers,
|
|
415
420
|
materializeDashboard,
|
|
421
|
+
materializeFlashcards,
|
|
416
422
|
materializePageSection,
|
|
417
423
|
materializePageSections,
|
|
418
424
|
nearestSnapPoint,
|
|
@@ -434,6 +440,7 @@ export {
|
|
|
434
440
|
readDashboardLayoutsFromFrontmatter,
|
|
435
441
|
renderAsciiDiagram,
|
|
436
442
|
renderAsciiTimeline,
|
|
443
|
+
renderMarkdownBlocksHtml,
|
|
437
444
|
renderTree,
|
|
438
445
|
repairAsciiDiagram,
|
|
439
446
|
replaceDataFence,
|
|
@@ -444,6 +451,7 @@ export {
|
|
|
444
451
|
resolveDashboardSettings,
|
|
445
452
|
resolveDashboardStyleId,
|
|
446
453
|
resolveDashboardZooms,
|
|
454
|
+
resolveFlashcardMarker,
|
|
447
455
|
resolveLayoutCells,
|
|
448
456
|
resolvePageBlock,
|
|
449
457
|
resolvePageStyle,
|
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, 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, InputCoercion, LayerMaterializationDiagnostic, LayerMaterializationFailureMode, LayerMaterializationSource, LayoutLayerDefaults, LayoutLayersResult, MAX_COVER_SLIDE_DURATION_SECONDS, MarkdownToDocOptions, MarkdownValidationResult, MaterializeBlockLayersOptions, MaterializeDashboardOptions, 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, markdownToDoc, markerPath, materializeBlockLayers, materializeDashboard, nearestSnapPoint, normalizeDashboardZoom, normalizeShapeKind, pageStyleDataAttributes, parseAsciiDiagram, parseAsciiTimeline, parseAsciiTimelineWithStats, parseDataFence, parseTree, parseWrappedFlowTimeline, parseYamlSubset, photoGrid, pullQuote, quoteBlock, readCustomTemplatesFromFrontmatter, readCustomThemesFromFrontmatter, readDashboardLayoutsFromFrontmatter, renderAsciiDiagram, renderAsciiTimeline, renderTree, repairAsciiDiagram, replaceDataFence, resolveAudioMapping, resolveColorScheme, resolveCoverSlideSettings, resolveDashboardLayoutDefinition, resolveDashboardSettings, resolveDashboardStyleId, resolveDashboardZooms, 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';
|
|
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";
|
|
@@ -171,6 +171,7 @@ import {
|
|
|
171
171
|
layoutCapacity,
|
|
172
172
|
listDashboardLayouts,
|
|
173
173
|
materializeDashboard,
|
|
174
|
+
materializeFlashcards,
|
|
174
175
|
materializePageSection,
|
|
175
176
|
materializePageSections,
|
|
176
177
|
normalizeDashboardZoom,
|
|
@@ -186,6 +187,7 @@ import {
|
|
|
186
187
|
resolveDashboardSettings,
|
|
187
188
|
resolveDashboardStyleId,
|
|
188
189
|
resolveDashboardZooms,
|
|
190
|
+
resolveFlashcardMarker,
|
|
189
191
|
resolveLayoutCells,
|
|
190
192
|
resolvePageBlock,
|
|
191
193
|
resolvePageStyle,
|
|
@@ -199,7 +201,7 @@ import {
|
|
|
199
201
|
validateMarkdownDoc,
|
|
200
202
|
validateMarkdownSource,
|
|
201
203
|
writeDashboardLayoutsToFrontmatter
|
|
202
|
-
} from "./chunk-
|
|
204
|
+
} from "./chunk-KIAEJDZB.js";
|
|
203
205
|
import {
|
|
204
206
|
ASCII_CHAR_H,
|
|
205
207
|
ASCII_CHAR_W,
|
|
@@ -286,6 +288,7 @@ import {
|
|
|
286
288
|
lintTemplateParams,
|
|
287
289
|
listBlock,
|
|
288
290
|
mapBlock,
|
|
291
|
+
markdownBlockSeparatorLines,
|
|
289
292
|
markdownToDoc,
|
|
290
293
|
materializeBlockLayers,
|
|
291
294
|
normalizeShapeKind,
|
|
@@ -297,6 +300,7 @@ import {
|
|
|
297
300
|
quoteBlock,
|
|
298
301
|
readCustomTemplatesFromFrontmatter,
|
|
299
302
|
readCustomThemesFromFrontmatter,
|
|
303
|
+
renderMarkdownBlocksHtml,
|
|
300
304
|
replaceDataFence,
|
|
301
305
|
resolveColorScheme,
|
|
302
306
|
resolvePersistentLayers,
|
|
@@ -327,7 +331,7 @@ import {
|
|
|
327
331
|
wrapWithPersistentLayers,
|
|
328
332
|
writeCustomTemplatesToFrontmatter,
|
|
329
333
|
writeCustomThemesToFrontmatter
|
|
330
|
-
} from "./chunk-
|
|
334
|
+
} from "./chunk-W2GIFNLN.js";
|
|
331
335
|
import {
|
|
332
336
|
PATH_SHAPE_KINDS,
|
|
333
337
|
anchorPoint,
|
|
@@ -899,6 +903,7 @@ export {
|
|
|
899
903
|
looksLikeIconToken,
|
|
900
904
|
mapBlock,
|
|
901
905
|
mapElementToBlock,
|
|
906
|
+
markdownBlockSeparatorLines,
|
|
902
907
|
markdownToDoc,
|
|
903
908
|
markerPath,
|
|
904
909
|
matchFontFamily,
|
|
@@ -906,6 +911,7 @@ export {
|
|
|
906
911
|
matchTrailingTemplateAnnotation,
|
|
907
912
|
materializeBlockLayers,
|
|
908
913
|
materializeDashboard,
|
|
914
|
+
materializeFlashcards,
|
|
909
915
|
materializePageSection,
|
|
910
916
|
materializePageSections,
|
|
911
917
|
narrationSessionStep,
|
|
@@ -965,6 +971,7 @@ export {
|
|
|
965
971
|
removeLayer,
|
|
966
972
|
renderAsciiDiagram,
|
|
967
973
|
renderAsciiTimeline,
|
|
974
|
+
renderMarkdownBlocksHtml,
|
|
968
975
|
renderTree,
|
|
969
976
|
reorderLayer,
|
|
970
977
|
repairAsciiDiagram,
|
|
@@ -978,6 +985,7 @@ export {
|
|
|
978
985
|
resolveDashboardStyleId,
|
|
979
986
|
resolveDashboardZooms,
|
|
980
987
|
resolveFlag,
|
|
988
|
+
resolveFlashcardMarker,
|
|
981
989
|
resolveFontFamily,
|
|
982
990
|
resolveIcon,
|
|
983
991
|
resolveJsonFormTheme,
|
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";
|