@bendyline/squisq 2.13.7 → 2.13.9
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-DOKSRBW2.js → chunk-3BIKSQTM.js} +1 -1
- package/dist/{chunk-TTJZXUQA.js → chunk-L3VQQ3WT.js} +3 -1
- package/dist/{chunk-MWJSEKM3.js → chunk-QVNMPBS3.js} +182 -19
- package/dist/{chunk-NGQ5TJVX.js → chunk-R2J7CQJZ.js} +254 -207
- package/dist/{chunk-CJYN3MTX.js → chunk-VMKRN7TB.js} +2 -2
- package/dist/doc/index.d.ts +151 -2
- package/dist/doc/index.js +14 -4
- package/dist/index.d.ts +1 -1
- package/dist/index.js +15 -5
- package/dist/narration/index.js +3 -3
- package/dist/recommend/index.js +1 -1
- package/dist/transform/index.js +3 -3
- package/package.json +1 -1
package/dist/doc/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a7 as Layer, k as Block, R as Doc, bt as TemplateBlock, bu as TemplateContext, z as CustomTemplateDefinition, bw as TemplateRegistry, bC as Theme, c7 as ViewportConfig, b0 as PersistentLayerConfig, av as MotionSpec, S as DocBlock, c8 as ViewportOrientation, a$ as PersistentLayer, bP as TitleBlockInput, bh as SectionHeaderInput, j as BigTextInput, v as ContentBlockInput, bn as StatHighlightInput, bb as QuoteBlockInput, Z as FactCardInput, bY as TwoColumnInput, K as DateEventInput, a5 as ImageWithCaptionInput, aa as LeftFeatureInput, be as RightFeatureInput, n as BottomFeatureInput, ao as MediaOnlyInput, bR as TopFeatureInput, af as MapBlockInput, bm as StartBlockConfig, a0 as FullBleedQuoteInput, ad as ListBlockInput, b4 as PhotoGridInput, M as DefinitionCardInput, u as ComparisonBarInput, ba as PullQuoteInput, c6 as VideoWithCaptionInput, c5 as VideoPullQuoteInput, J as DataTableInput, N as DiagramBlockInput, bT as TreeBlockInput, bL as TimelineBlockInput, V as DrawingBlockInput, aj as MarkerStyle, A as AccentImage, a4 as ImageTreatment, a as AccentPosition, c as Animation, d as AnimationType, aw as MotionState, at as MotionProfile, bE as ThemeColorScheme, x as CountUpSpec, bG as ThemeRegistry, aT as PageEmphasis, bF as ThemePageStyle, T as DocDiagnostic, Q as DiagramTemplateNode, P as DiagramTemplateEdge, bO as TimelineTemplateTrack, bN as TimelineTemplateLink } from '../Doc-BCrrYAuK.js';
|
|
1
|
+
import { a7 as Layer, k as Block, R as Doc, bt as TemplateBlock, bu as TemplateContext, z as CustomTemplateDefinition, bw as TemplateRegistry, bC as Theme, c7 as ViewportConfig, b0 as PersistentLayerConfig, av as MotionSpec, S as DocBlock, c8 as ViewportOrientation, a$ as PersistentLayer, bP as TitleBlockInput, bh as SectionHeaderInput, j as BigTextInput, v as ContentBlockInput, bn as StatHighlightInput, bb as QuoteBlockInput, Z as FactCardInput, bY as TwoColumnInput, K as DateEventInput, a5 as ImageWithCaptionInput, aa as LeftFeatureInput, be as RightFeatureInput, n as BottomFeatureInput, ao as MediaOnlyInput, bR as TopFeatureInput, af as MapBlockInput, bm as StartBlockConfig, a0 as FullBleedQuoteInput, ad as ListBlockInput, b4 as PhotoGridInput, M as DefinitionCardInput, u as ComparisonBarInput, ba as PullQuoteInput, c6 as VideoWithCaptionInput, c5 as VideoPullQuoteInput, J as DataTableInput, N as DiagramBlockInput, bT as TreeBlockInput, bL as TimelineBlockInput, V as DrawingBlockInput, aj as MarkerStyle, A as AccentImage, a4 as ImageTreatment, a as AccentPosition, c as Animation, d as AnimationType, aw as MotionState, at as MotionProfile, bE as ThemeColorScheme, x as CountUpSpec, bG as ThemeRegistry, aT as PageEmphasis, bF as ThemePageStyle, T as DocDiagnostic, b9 as PromotedBodyAnnotation, Q as DiagramTemplateNode, P as DiagramTemplateEdge, bO as TimelineTemplateTrack, bN as TimelineTemplateLink } from '../Doc-BCrrYAuK.js';
|
|
2
2
|
export { W as FRONTMATTER_CUSTOM_TEMPLATES_KEY, X as FRONTMATTER_CUSTOM_THEMES_KEY, a9 as LayoutHints, bd as RenderStyle, bD as ThemeColorPalette, bJ as ThemeStyle, bK as ThemeTypography, bZ as VIEWPORT_PRESETS, c9 as ViewportPreset, ce as createTemplateContext, cl as getLayoutHints, co as getTwoColumnPositions, cp as getViewport, cq as getViewportOrientation, cu as isTemplateBlock, cA as scaledFontSize } from '../Doc-BCrrYAuK.js';
|
|
3
3
|
import { g as BuildStep, M as MarkdownBlockNode, S as MarkdownListItem, f as BuildSpec, e as BuildCursor, h as BuildTiming, V as MarkdownNode, ae as TransitionType, ad as TransitionDirection, z as MarkdownHeading, v as MarkdownDocument, a2 as MarkdownTable, q as MarkdownCodeBlock, R as MarkdownList } from '../types-Zk8qYuaT.js';
|
|
4
4
|
import { C as CoercedBlockMeta } from '../annotationCoercion-hTvELpIN.js';
|
|
@@ -3782,6 +3782,155 @@ declare function findFirstTable(contents: MarkdownBlockNode[] | undefined): Mark
|
|
|
3782
3782
|
*/
|
|
3783
3783
|
declare function extractTableData(table: MarkdownTable): ExtractedTableData;
|
|
3784
3784
|
|
|
3785
|
+
/**
|
|
3786
|
+
* Standalone-paragraph annotation parser.
|
|
3787
|
+
*
|
|
3788
|
+
* A paragraph whose entire trimmed text is exactly a `{[…]}` annotation
|
|
3789
|
+
* (nothing before or after) is a *standalone annotation*. Two features share
|
|
3790
|
+
* this shape:
|
|
3791
|
+
*
|
|
3792
|
+
* - **Media annotations** (`{[audio …]}` / `{[video …]}`) — lifted into typed
|
|
3793
|
+
* {@link import('../schemas/Media.js').MediaClip}s by `mediaAnnotations.ts`.
|
|
3794
|
+
* - **Standalone template blocks** (`{[quote]}`, `{[statHighlight …]}`, …) —
|
|
3795
|
+
* turned into heading-less {@link import('../schemas/Doc.js').Block}s by
|
|
3796
|
+
* `annotationBlocks.ts`.
|
|
3797
|
+
*
|
|
3798
|
+
* Both call the single parser here so the annotation grammar (quoting,
|
|
3799
|
+
* escaping, first-token-is-template) stays identical to the heading form.
|
|
3800
|
+
*/
|
|
3801
|
+
|
|
3802
|
+
/** The template name + params parsed out of a standalone `{[…]}` paragraph. */
|
|
3803
|
+
interface ParsedAnnotation {
|
|
3804
|
+
/** First bare token, when the annotation leads with one (e.g. `quote`). */
|
|
3805
|
+
template?: string;
|
|
3806
|
+
/** Remaining `key=value` tokens, unquoted/unescaped. */
|
|
3807
|
+
params: Record<string, string>;
|
|
3808
|
+
}
|
|
3809
|
+
/**
|
|
3810
|
+
* Parse a paragraph node that is *exactly* a `{[…]}` annotation (nothing
|
|
3811
|
+
* before or after). Returns the template + params, or null when the node
|
|
3812
|
+
* isn't a standalone annotation (not a paragraph, more than one child, a
|
|
3813
|
+
* non-text child such as a resolved inline icon, or trailing text).
|
|
3814
|
+
*/
|
|
3815
|
+
declare function parseStandaloneAnnotation(node: MarkdownBlockNode): ParsedAnnotation | null;
|
|
3816
|
+
|
|
3817
|
+
/**
|
|
3818
|
+
* Media-annotation extraction.
|
|
3819
|
+
*
|
|
3820
|
+
* Lifts standalone body-level media annotations — `{[audio …]}` / `{[video …]}`
|
|
3821
|
+
* — out of a block's markdown contents into typed {@link MediaClip}s. A block
|
|
3822
|
+
* can hold several clips (unlike the single heading annotation). An annotation
|
|
3823
|
+
* flagged `anchor=document` (or `span=document`) becomes a document-spanning
|
|
3824
|
+
* clip instead. The annotation grammar is the shared one used for heading
|
|
3825
|
+
* annotations, so quoting/escaping behave identically.
|
|
3826
|
+
*/
|
|
3827
|
+
|
|
3828
|
+
/**
|
|
3829
|
+
* Whether a standalone-annotation template name is a media name
|
|
3830
|
+
* (`audio`/`video`/`media`). The standalone template-block extractor uses
|
|
3831
|
+
* this to leave media annotations to {@link extractMediaFromContents}.
|
|
3832
|
+
*/
|
|
3833
|
+
declare function isMediaAnnotationName(name: string | undefined): boolean;
|
|
3834
|
+
|
|
3835
|
+
/**
|
|
3836
|
+
* Body-annotation promotion detector.
|
|
3837
|
+
*
|
|
3838
|
+
* LLM-authored markdown often puts a block-type tag (`{[title …]}`, `{[list]}`,
|
|
3839
|
+
* `{[statHighlight …]}`) INSIDE a block's body — on its own line, or glued to
|
|
3840
|
+
* the end of a body paragraph — instead of appending it to the heading where
|
|
3841
|
+
* Squisq expects it (`# Heading {[title …]}`). This module recognizes that
|
|
3842
|
+
* misplaced tag so the block can be treated as that template.
|
|
3843
|
+
*
|
|
3844
|
+
* Promotion is deliberately conservative — "single trailing tag" only:
|
|
3845
|
+
*
|
|
3846
|
+
* - the tag must be the block's TRAILING content (whole-paragraph as the last
|
|
3847
|
+
* node, or a trailing token on the last paragraph), and
|
|
3848
|
+
* - it must be the ONLY body annotation (an earlier standalone `{[…]}` paragraph
|
|
3849
|
+
* means the section uses the multi-block heading-less feature — left alone).
|
|
3850
|
+
*
|
|
3851
|
+
* The detector is pure: it returns the parsed annotation, provenance for a
|
|
3852
|
+
* byte-faithful round-trip (`docToMarkdown` re-emits the tag in the body until
|
|
3853
|
+
* the block is edited — mirroring the media-annotation round-trip), and the body
|
|
3854
|
+
* `contents` with the tag stripped for rendering. It does NOT decide media vs.
|
|
3855
|
+
* template names or template validity — the caller (`markdownToDoc`) does.
|
|
3856
|
+
*/
|
|
3857
|
+
|
|
3858
|
+
/** A successful detection: the annotation + the body with the tag removed. */
|
|
3859
|
+
interface PromotableDetection {
|
|
3860
|
+
data: PromotedBodyAnnotation;
|
|
3861
|
+
strippedContents: MarkdownBlockNode[];
|
|
3862
|
+
}
|
|
3863
|
+
/**
|
|
3864
|
+
* Detect a promotable single trailing body annotation. Returns null unless the
|
|
3865
|
+
* block's LAST content node is a `{[template …]}` tag (whole-paragraph or
|
|
3866
|
+
* trailing token) AND no earlier node is itself an annotation.
|
|
3867
|
+
*/
|
|
3868
|
+
declare function detectPromotableBodyAnnotation(contents: MarkdownBlockNode[] | undefined): PromotableDetection | null;
|
|
3869
|
+
|
|
3870
|
+
/** One value column projected to numbers (null = unparseable cell → gap). */
|
|
3871
|
+
interface ChartSeries {
|
|
3872
|
+
name: string;
|
|
3873
|
+
values: (number | null)[];
|
|
3874
|
+
}
|
|
3875
|
+
/** Numeric projection of a string table, ready to plot. */
|
|
3876
|
+
interface ChartData {
|
|
3877
|
+
/** Category labels, one per table row (label column cells verbatim). */
|
|
3878
|
+
labels: string[];
|
|
3879
|
+
/** One entry per resolved value column. */
|
|
3880
|
+
series: ChartSeries[];
|
|
3881
|
+
/** Header text of the label column. */
|
|
3882
|
+
labelHeader: string;
|
|
3883
|
+
/**
|
|
3884
|
+
* Numeric projection of the label column (scatter x-axis). Null per
|
|
3885
|
+
* non-numeric cell; scatter falls back to row index when too sparse.
|
|
3886
|
+
*/
|
|
3887
|
+
labelNumbers: (number | null)[];
|
|
3888
|
+
/** Non-fatal issues encountered while mapping columns (for tests/tools). */
|
|
3889
|
+
warnings: string[];
|
|
3890
|
+
}
|
|
3891
|
+
/** The string table the engine plots (extracted markdown table shape). */
|
|
3892
|
+
interface ChartTableData {
|
|
3893
|
+
headers: string[];
|
|
3894
|
+
rows: string[][];
|
|
3895
|
+
}
|
|
3896
|
+
|
|
3897
|
+
/**
|
|
3898
|
+
* Numeric parsing + column-role resolution for the chart engine.
|
|
3899
|
+
*
|
|
3900
|
+
* Table cells arrive as plain strings (the markdown table projection).
|
|
3901
|
+
* The parser is tolerant of the formatting people actually put in tables
|
|
3902
|
+
* — currency symbols, thousands separators, percent signs, accounting
|
|
3903
|
+
* negatives — but never invents data: a cell that doesn't parse is
|
|
3904
|
+
* `null` (a gap), not zero.
|
|
3905
|
+
*
|
|
3906
|
+
* Blocks authored as JSON (typed `headers`/`rows` rather than a markdown
|
|
3907
|
+
* table) naturally carry numbers — `["Birds", 216]`. `normalizeChartTable`
|
|
3908
|
+
* stringifies every cell where the table enters the engine, so those plot
|
|
3909
|
+
* like their markdown equivalents instead of throwing.
|
|
3910
|
+
*/
|
|
3911
|
+
|
|
3912
|
+
/**
|
|
3913
|
+
* Coerce a typed table to the all-string shape the engine parses: numeric
|
|
3914
|
+
* and boolean cells become their text, missing/null/object cells become
|
|
3915
|
+
* empty, and non-array rows are dropped.
|
|
3916
|
+
*/
|
|
3917
|
+
declare function normalizeChartTable(table: {
|
|
3918
|
+
headers?: unknown;
|
|
3919
|
+
rows?: unknown;
|
|
3920
|
+
}): ChartTableData;
|
|
3921
|
+
/**
|
|
3922
|
+
* Map a string table + column-role options to plottable data.
|
|
3923
|
+
*
|
|
3924
|
+
* Label column defaults to the first column; value columns default to
|
|
3925
|
+
* every numeric column that isn't the label column. Returns null when no
|
|
3926
|
+
* value column resolves — the "table exists but isn't chartable" case,
|
|
3927
|
+
* which callers treat the same as having no table at all.
|
|
3928
|
+
*/
|
|
3929
|
+
declare function buildChartData(table: ChartTableData, options?: {
|
|
3930
|
+
labelColumn?: string;
|
|
3931
|
+
valueColumns?: string[];
|
|
3932
|
+
}): ChartData | null;
|
|
3933
|
+
|
|
3785
3934
|
/**
|
|
3786
3935
|
* Markdown document validation.
|
|
3787
3936
|
*
|
|
@@ -4471,4 +4620,4 @@ declare function treeFromMarkdownList(list: MarkdownList): Tree;
|
|
|
4471
4620
|
/** Find the first top-level markdown list in a block's body, if any. */
|
|
4472
4621
|
declare function findFirstList(contents: MarkdownBlockNode[] | undefined): MarkdownList | undefined;
|
|
4473
4622
|
|
|
4474
|
-
export { ASCII_CHAR_H, ASCII_CHAR_W, ASCII_DIAGRAM_FENCE_LANGS, ASCII_TIMELINE_FENCE_LANGS, type AccentLayout, type ArrangeAsciiDiagramOptions, 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 BuildTimeline, type BuiltInTemplateName, CONTAINER_TEMPLATES, COVER_SLIDE_FRONTMATTER_KEYS, COVER_SLIDE_TEMPLATE_OPTIONS, type ClipBox, type ConnectorAnchor, type ConnectorPort, type ConnectorRouting, type ConnectorSnapPoint, type ContentBuildPlan, 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, DATA_FILE_EXTENSIONS, DEFAULT_COVER_SLIDE_SETTINGS, DEFAULT_DASHBOARD_SETTINGS, DEFAULT_DASHBOARD_STYLE, DEFAULT_LAYOUT, DEFAULT_WORD_STAGGER, 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 DataSourceReadOptions, type DataSourceReader, type DataSourceStats, type DataSourceTable, 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 FrostedBigTextLayout, GEOMETRY_BOUND_TEMPLATES, type HostedVideo, 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, type ParsedStat, PersistentLayerConfig, type RenderAsciiDiagramOptions, type RenderAsciiTimelineOptions, type RenderTreeOptions, type RepairResult, type ResolveDataReferencesOptions, type ResolvedDashboardCell, type ResolvedDataReferences, 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, accentForViewport, adjustY, anchorPoint, applyNarrationTiming, applyRenderStyleToLayers, arrangeAsciiDiagram, asciiCellToCanvas, asciiDiagramFromBlocks, asciiDiagramFromTemplateData, asciiDiagramToTemplateData, asciiTimelineToTemplateData, autoTemplatePreservesContent, bigText, blockBuildSteps, bottomFeature, buildCursorAtTime, buildDashboardCellChrome, buildPageCss, buildPageCssVars, buildPreviewDoc, buildRegistry, buildSourceText, buildTargetState, canvasToAsciiCell, chooseDashboardLayout, clipEndpoints, clipPoint, coerceTemplateParams, comparisonBar, composeDashboardLayers, computeDiagramLayout, computeDrawingLayout, computeLayoutLayers, connectorPath, contentBlock, countBlocks, countUpSpecFor, coverBlock, createAccentLayers, cssFilterForTreatment, dashboardCanvasFill, dashboardCellAccent, dataSidecarPrefix, dataTable, dateEvent, definitionCard, deriveTemplateInputs, desiredCellZoom, detectAsciiDiagram, detectAsciiTimeline, detectTree, diagramBlock, docToMarkdown, documentTitleFromFileName, drawingBlock, expandCoverBlock, expandDocBlocks, expandPersistentLayers, extractBlockquoteText, extractBodyPlainText, extractEmbeddedVideos, extractFirstEmbeddedVideo, extractFirstImage, extractHostedVideos, extractImages, extractListItems, extractRichListItems, extractTableData, extractTableFromContents, factCard, fallbackBlockLayers, findFirstList, findFirstTable, fitBigTextSize, fitDiagramLabel, flattenBlocks, flattenRenderableBlocks, formatCountUp, formatCountValue, frostedBigTextLayout, fullBleedQuote, getAccentLayout, getAnimationProgress, getAnimationStyle, getAvailableTemplates, getBlockBodyText, getBlockDepth, getBlockMediaLayoutPolicy, getDashboardLayoutSummaries, getDefaultAnimation, getDefaultAnimationDuration, getMotionProfile, getOverlayOpacity, getPersistentLayersFromTheme, getPinnedBlockMeta, getTemplateHint, getThemeFont, getTransitionClass, hasBlockBuilds, hasTemplate, imageWithCaption, isAsciiDiagramFence, isAsciiTimelineFence, isContainerTemplate, isDataFence, isDataFilePath, isEligibleAsciiFenceLang, isEligibleAsciiTimelineFenceLang, isEligibleTreeFenceLang, isExplicitDiagramLang, isExplicitTimelineLang, isExplicitTreeLang, isGeometryBoundTemplate, isMaterializedMediaNode, isPictureFence, isPictureParagraph, isRepairableDiagram, isShapeName, isTemplatedPageBlock, isTreeFence, isWrappedFlowTimelineSource, layoutBlock, layoutCapacity, leftFeature, lineStyleDasharray, lintTemplateParams, listBlock, listDashboardLayouts, mapBlock, markdownBlockSeparatorLines, markdownToDoc, markerPath, materializeBlockLayers, materializeDashboard, materializeFlashcards, mediaOnly, motionDelay, motionEntrance, motionStateTransform, nearestSnapPoint, normalizeDashboardZoom, normalizeShapeKind, pageStyleDataAttributes, parseAsciiDiagram, parseAsciiTimeline, parseAsciiTimelineWithStats, parseDataFence, parseStatNumber, parseTree, parseWrappedFlowTimeline, parseYamlSubset, photoGrid, planContentBuilds, pullQuote, quoteBlock, readCustomTemplatesFromFrontmatter, readCustomThemesFromFrontmatter, readDashboardLayoutsFromFrontmatter, renderAsciiDiagram, renderAsciiTimeline, renderMarkdownBlocksHtml, renderTree, repairAsciiDiagram, replaceDataFence, resolveAudioMapping, resolveBuildTimeline, resolveColorScheme, resolveCoverSlideSettings, resolveDashboardLayoutDefinition, resolveDashboardSettings, resolveDashboardStyleId, resolveDashboardZooms, resolveDataReferences, resolveDocBuildTiming, 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, topFeature, transformOriginFor, transposeCells, treeBlock, treeFromMarkdownList, treeFromTemplateData, treeToTemplateData, twoColumn, validateDashboardLayoutDefinition, validateMarkdownDoc, validateMarkdownSource, videoPullQuote, videoWithCaption, wordRevealDelay, wrapWithPersistentLayers, writeCustomTemplatesToFrontmatter, writeCustomThemesToFrontmatter, writeDashboardLayoutsToFrontmatter };
|
|
4623
|
+
export { ASCII_CHAR_H, ASCII_CHAR_W, ASCII_DIAGRAM_FENCE_LANGS, ASCII_TIMELINE_FENCE_LANGS, type AccentLayout, type ArrangeAsciiDiagramOptions, 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 BuildTimeline, type BuiltInTemplateName, CONTAINER_TEMPLATES, COVER_SLIDE_FRONTMATTER_KEYS, COVER_SLIDE_TEMPLATE_OPTIONS, type ChartData, type ChartTableData, type ClipBox, type ConnectorAnchor, type ConnectorPort, type ConnectorRouting, type ConnectorSnapPoint, type ContentBuildPlan, 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, DATA_FILE_EXTENSIONS, DEFAULT_COVER_SLIDE_SETTINGS, DEFAULT_DASHBOARD_SETTINGS, DEFAULT_DASHBOARD_STYLE, DEFAULT_LAYOUT, DEFAULT_WORD_STAGGER, 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 DataSourceReadOptions, type DataSourceReader, type DataSourceStats, type DataSourceTable, 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 FrostedBigTextLayout, GEOMETRY_BOUND_TEMPLATES, type HostedVideo, 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, type ParsedAnnotation, type ParsedStat, PersistentLayerConfig, type PromotableDetection, type RenderAsciiDiagramOptions, type RenderAsciiTimelineOptions, type RenderTreeOptions, type RepairResult, type ResolveDataReferencesOptions, type ResolvedDashboardCell, type ResolvedDataReferences, 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, accentForViewport, adjustY, anchorPoint, applyNarrationTiming, applyRenderStyleToLayers, arrangeAsciiDiagram, asciiCellToCanvas, asciiDiagramFromBlocks, asciiDiagramFromTemplateData, asciiDiagramToTemplateData, asciiTimelineToTemplateData, autoTemplatePreservesContent, bigText, blockBuildSteps, bottomFeature, buildChartData, buildCursorAtTime, buildDashboardCellChrome, buildPageCss, buildPageCssVars, buildPreviewDoc, buildRegistry, buildSourceText, buildTargetState, canvasToAsciiCell, chooseDashboardLayout, clipEndpoints, clipPoint, coerceTemplateParams, comparisonBar, composeDashboardLayers, computeDiagramLayout, computeDrawingLayout, computeLayoutLayers, connectorPath, contentBlock, countBlocks, countUpSpecFor, coverBlock, createAccentLayers, cssFilterForTreatment, dashboardCanvasFill, dashboardCellAccent, dataSidecarPrefix, dataTable, dateEvent, definitionCard, deriveTemplateInputs, desiredCellZoom, detectAsciiDiagram, detectAsciiTimeline, detectPromotableBodyAnnotation, detectTree, diagramBlock, docToMarkdown, documentTitleFromFileName, drawingBlock, expandCoverBlock, expandDocBlocks, expandPersistentLayers, extractBlockquoteText, extractBodyPlainText, extractEmbeddedVideos, extractFirstEmbeddedVideo, extractFirstImage, extractHostedVideos, extractImages, extractListItems, extractRichListItems, extractTableData, extractTableFromContents, factCard, fallbackBlockLayers, findFirstList, findFirstTable, fitBigTextSize, fitDiagramLabel, flattenBlocks, flattenRenderableBlocks, formatCountUp, formatCountValue, frostedBigTextLayout, fullBleedQuote, getAccentLayout, getAnimationProgress, getAnimationStyle, getAvailableTemplates, getBlockBodyText, getBlockDepth, getBlockMediaLayoutPolicy, getDashboardLayoutSummaries, getDefaultAnimation, getDefaultAnimationDuration, getMotionProfile, getOverlayOpacity, getPersistentLayersFromTheme, getPinnedBlockMeta, getTemplateHint, getThemeFont, getTransitionClass, hasBlockBuilds, hasTemplate, imageWithCaption, isAsciiDiagramFence, isAsciiTimelineFence, isContainerTemplate, isDataFence, isDataFilePath, isEligibleAsciiFenceLang, isEligibleAsciiTimelineFenceLang, isEligibleTreeFenceLang, isExplicitDiagramLang, isExplicitTimelineLang, isExplicitTreeLang, isGeometryBoundTemplate, isMaterializedMediaNode, isMediaAnnotationName, isPictureFence, isPictureParagraph, isRepairableDiagram, isShapeName, isTemplatedPageBlock, isTreeFence, isWrappedFlowTimelineSource, layoutBlock, layoutCapacity, leftFeature, lineStyleDasharray, lintTemplateParams, listBlock, listDashboardLayouts, mapBlock, markdownBlockSeparatorLines, markdownToDoc, markerPath, materializeBlockLayers, materializeDashboard, materializeFlashcards, mediaOnly, motionDelay, motionEntrance, motionStateTransform, nearestSnapPoint, normalizeChartTable, normalizeDashboardZoom, normalizeShapeKind, pageStyleDataAttributes, parseAsciiDiagram, parseAsciiTimeline, parseAsciiTimelineWithStats, parseDataFence, parseStandaloneAnnotation, parseStatNumber, parseTree, parseWrappedFlowTimeline, parseYamlSubset, photoGrid, planContentBuilds, pullQuote, quoteBlock, readCustomTemplatesFromFrontmatter, readCustomThemesFromFrontmatter, readDashboardLayoutsFromFrontmatter, renderAsciiDiagram, renderAsciiTimeline, renderMarkdownBlocksHtml, renderTree, repairAsciiDiagram, replaceDataFence, resolveAudioMapping, resolveBuildTimeline, resolveColorScheme, resolveCoverSlideSettings, resolveDashboardLayoutDefinition, resolveDashboardSettings, resolveDashboardStyleId, resolveDashboardZooms, resolveDataReferences, resolveDocBuildTiming, 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, topFeature, transformOriginFor, transposeCells, treeBlock, treeFromMarkdownList, treeFromTemplateData, treeToTemplateData, twoColumn, validateDashboardLayoutDefinition, validateMarkdownDoc, validateMarkdownSource, videoPullQuote, videoWithCaption, wordRevealDelay, wrapWithPersistentLayers, writeCustomTemplatesToFrontmatter, writeCustomThemesToFrontmatter, writeDashboardLayoutsToFrontmatter };
|
package/dist/doc/index.js
CHANGED
|
@@ -75,9 +75,9 @@ import {
|
|
|
75
75
|
validateMarkdownSource,
|
|
76
76
|
wordRevealDelay,
|
|
77
77
|
writeDashboardLayoutsToFrontmatter
|
|
78
|
-
} from "../chunk-
|
|
78
|
+
} from "../chunk-QVNMPBS3.js";
|
|
79
79
|
import "../chunk-FTN6SGW5.js";
|
|
80
|
-
import "../chunk-
|
|
80
|
+
import "../chunk-VMKRN7TB.js";
|
|
81
81
|
import {
|
|
82
82
|
BASE_INPUT_DESCRIPTORS,
|
|
83
83
|
BLOCK_MEDIA_LAYOUT_POLICIES,
|
|
@@ -97,6 +97,7 @@ import {
|
|
|
97
97
|
bigText,
|
|
98
98
|
blockBuildSteps,
|
|
99
99
|
bottomFeature,
|
|
100
|
+
buildChartData,
|
|
100
101
|
buildCursorAtTime,
|
|
101
102
|
buildRegistry,
|
|
102
103
|
buildSourceText,
|
|
@@ -113,6 +114,7 @@ import {
|
|
|
113
114
|
dataTable,
|
|
114
115
|
dateEvent,
|
|
115
116
|
definitionCard,
|
|
117
|
+
detectPromotableBodyAnnotation,
|
|
116
118
|
diagramBlock,
|
|
117
119
|
drawingBlock,
|
|
118
120
|
expandCoverBlock,
|
|
@@ -158,6 +160,7 @@ import {
|
|
|
158
160
|
mediaOnly,
|
|
159
161
|
motionDelay,
|
|
160
162
|
motionEntrance,
|
|
163
|
+
normalizeChartTable,
|
|
161
164
|
normalizeShapeKind,
|
|
162
165
|
parseDataFence,
|
|
163
166
|
parseStatNumber,
|
|
@@ -195,7 +198,7 @@ import {
|
|
|
195
198
|
wrapWithPersistentLayers,
|
|
196
199
|
writeCustomTemplatesToFrontmatter,
|
|
197
200
|
writeCustomThemesToFrontmatter
|
|
198
|
-
} from "../chunk-
|
|
201
|
+
} from "../chunk-L3VQQ3WT.js";
|
|
199
202
|
import {
|
|
200
203
|
ASCII_CHAR_H,
|
|
201
204
|
ASCII_CHAR_W,
|
|
@@ -234,6 +237,7 @@ import {
|
|
|
234
237
|
isExplicitTimelineLang,
|
|
235
238
|
isExplicitTreeLang,
|
|
236
239
|
isMaterializedMediaNode,
|
|
240
|
+
isMediaAnnotationName,
|
|
237
241
|
isPictureFence,
|
|
238
242
|
isPictureParagraph,
|
|
239
243
|
isTreeFence,
|
|
@@ -242,13 +246,14 @@ import {
|
|
|
242
246
|
parseAsciiDiagram,
|
|
243
247
|
parseAsciiTimeline,
|
|
244
248
|
parseAsciiTimelineWithStats,
|
|
249
|
+
parseStandaloneAnnotation,
|
|
245
250
|
parseTree,
|
|
246
251
|
parseWrappedFlowTimeline,
|
|
247
252
|
renderMarkdownBlocksHtml,
|
|
248
253
|
treeFromMarkdownList,
|
|
249
254
|
treeFromTemplateData,
|
|
250
255
|
treeToTemplateData
|
|
251
|
-
} from "../chunk-
|
|
256
|
+
} from "../chunk-R2J7CQJZ.js";
|
|
252
257
|
import "../chunk-SVN7T6BK.js";
|
|
253
258
|
import {
|
|
254
259
|
PATH_SHAPE_KINDS,
|
|
@@ -352,6 +357,7 @@ export {
|
|
|
352
357
|
bigText,
|
|
353
358
|
blockBuildSteps,
|
|
354
359
|
bottomFeature,
|
|
360
|
+
buildChartData,
|
|
355
361
|
buildCursorAtTime,
|
|
356
362
|
buildDashboardCellChrome,
|
|
357
363
|
buildPageCss,
|
|
@@ -388,6 +394,7 @@ export {
|
|
|
388
394
|
desiredCellZoom,
|
|
389
395
|
detectAsciiDiagram,
|
|
390
396
|
detectAsciiTimeline,
|
|
397
|
+
detectPromotableBodyAnnotation,
|
|
391
398
|
detectTree,
|
|
392
399
|
diagramBlock,
|
|
393
400
|
docToMarkdown,
|
|
@@ -458,6 +465,7 @@ export {
|
|
|
458
465
|
isExplicitTreeLang,
|
|
459
466
|
isGeometryBoundTemplate,
|
|
460
467
|
isMaterializedMediaNode,
|
|
468
|
+
isMediaAnnotationName,
|
|
461
469
|
isPictureFence,
|
|
462
470
|
isPictureParagraph,
|
|
463
471
|
isRepairableDiagram,
|
|
@@ -487,6 +495,7 @@ export {
|
|
|
487
495
|
motionEntrance,
|
|
488
496
|
motionStateTransform,
|
|
489
497
|
nearestSnapPoint,
|
|
498
|
+
normalizeChartTable,
|
|
490
499
|
normalizeDashboardZoom,
|
|
491
500
|
normalizeShapeKind,
|
|
492
501
|
pageStyleDataAttributes,
|
|
@@ -494,6 +503,7 @@ export {
|
|
|
494
503
|
parseAsciiTimeline,
|
|
495
504
|
parseAsciiTimelineWithStats,
|
|
496
505
|
parseDataFence,
|
|
506
|
+
parseStandaloneAnnotation,
|
|
497
507
|
parseStatNumber,
|
|
498
508
|
parseTree,
|
|
499
509
|
parseWrappedFlowTimeline,
|
package/dist/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ export { AVAILABLE_FONT_STACKS, CompileOptions, ContrastPreset, DocSchemaIssue,
|
|
|
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-BWvtBQ42.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-CSuevovH.js';
|
|
8
|
-
export { ASCII_CHAR_H, ASCII_CHAR_W, ASCII_DIAGRAM_FENCE_LANGS, ASCII_TIMELINE_FENCE_LANGS, AccentLayout, ArrangeAsciiDiagramOptions, 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, BuildTimeline, BuiltInTemplateName, CONTAINER_TEMPLATES, COVER_SLIDE_FRONTMATTER_KEYS, COVER_SLIDE_TEMPLATE_OPTIONS, ClipBox, ConnectorAnchor, ConnectorPort, ConnectorRouting, ConnectorSnapPoint, ContentBuildPlan, CoverBlockInput, CoverSlidePlayback, CoverSlideSettings, CoverSlideTemplate, CoverSlideTemplateOption, DASHBOARD_AUTO_LAYOUT_ID, DASHBOARD_FRONTMATTER_KEYS, DASHBOARD_STYLES, DASHBOARD_STYLE_IDS, DASHBOARD_ZOOM_LEVELS, DATA_FILE_EXTENSIONS, DEFAULT_COVER_SLIDE_SETTINGS, DEFAULT_DASHBOARD_SETTINGS, DEFAULT_DASHBOARD_STYLE, DEFAULT_LAYOUT, DEFAULT_WORD_STAGGER, 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, DataSourceReadOptions, DataSourceReader, DataSourceStats, DataSourceTable, 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, FrostedBigTextLayout, GEOMETRY_BOUND_TEMPLATES, HostedVideo, 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, ParsedStat, RenderAsciiDiagramOptions, RenderAsciiTimelineOptions, RenderTreeOptions, RepairResult, ResolveDataReferencesOptions, ResolvedDashboardCell, ResolvedDataReferences, 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, accentForViewport, adjustY, anchorPoint, applyNarrationTiming, applyRenderStyleToLayers, arrangeAsciiDiagram, asciiCellToCanvas, asciiDiagramFromBlocks, asciiDiagramFromTemplateData, asciiDiagramToTemplateData, asciiTimelineToTemplateData, autoTemplatePreservesContent, bigText, blockBuildSteps, bottomFeature, buildCursorAtTime, buildDashboardCellChrome, buildPageCss, buildPageCssVars, buildPreviewDoc, buildRegistry, buildSourceText, buildTargetState, canvasToAsciiCell, chooseDashboardLayout, clipEndpoints, clipPoint, coerceTemplateParams, comparisonBar, composeDashboardLayers, computeDiagramLayout, computeDrawingLayout, computeLayoutLayers, connectorPath, contentBlock, countBlocks, countUpSpecFor, coverBlock, createAccentLayers, cssFilterForTreatment, dashboardCanvasFill, dashboardCellAccent, dataSidecarPrefix, dataTable, dateEvent, definitionCard, deriveTemplateInputs, desiredCellZoom, detectAsciiDiagram, detectAsciiTimeline, detectTree, diagramBlock, docToMarkdown, documentTitleFromFileName, drawingBlock, expandCoverBlock, expandDocBlocks, expandPersistentLayers, extractBlockquoteText, extractBodyPlainText, extractEmbeddedVideos, extractFirstEmbeddedVideo, extractFirstImage, extractHostedVideos, extractImages, extractListItems, extractRichListItems, extractTableData, extractTableFromContents, factCard, fallbackBlockLayers, findFirstList, findFirstTable, fitBigTextSize, fitDiagramLabel, flattenBlocks, flattenRenderableBlocks, formatCountUp, formatCountValue, frostedBigTextLayout, fullBleedQuote, getAccentLayout, getAnimationProgress, getAnimationStyle, getAvailableTemplates, getBlockBodyText, getBlockDepth, getBlockMediaLayoutPolicy, getDashboardLayoutSummaries, getDefaultAnimation, getDefaultAnimationDuration, getMotionProfile, getOverlayOpacity, getPersistentLayersFromTheme, getPinnedBlockMeta, getTemplateHint, getThemeFont, getTransitionClass, hasBlockBuilds, hasTemplate, imageWithCaption, isAsciiDiagramFence, isAsciiTimelineFence, isContainerTemplate, isDataFence, isDataFilePath, isEligibleAsciiFenceLang, isEligibleAsciiTimelineFenceLang, isEligibleTreeFenceLang, isExplicitDiagramLang, isExplicitTimelineLang, isExplicitTreeLang, isGeometryBoundTemplate, isMaterializedMediaNode, isPictureFence, isPictureParagraph, isRepairableDiagram, isShapeName, isTemplatedPageBlock, isTreeFence, isWrappedFlowTimelineSource, layoutBlock, layoutCapacity, leftFeature, lineStyleDasharray, lintTemplateParams, listBlock, listDashboardLayouts, mapBlock, markdownBlockSeparatorLines, markdownToDoc, markerPath, materializeBlockLayers, materializeDashboard, materializeFlashcards, mediaOnly, motionDelay, motionEntrance, motionStateTransform, nearestSnapPoint, normalizeDashboardZoom, normalizeShapeKind, pageStyleDataAttributes, parseAsciiDiagram, parseAsciiTimeline, parseAsciiTimelineWithStats, parseDataFence, parseStatNumber, parseTree, parseWrappedFlowTimeline, parseYamlSubset, photoGrid, planContentBuilds, pullQuote, quoteBlock, readCustomTemplatesFromFrontmatter, readCustomThemesFromFrontmatter, readDashboardLayoutsFromFrontmatter, renderAsciiDiagram, renderAsciiTimeline, renderMarkdownBlocksHtml, renderTree, repairAsciiDiagram, replaceDataFence, resolveAudioMapping, resolveBuildTimeline, resolveColorScheme, resolveCoverSlideSettings, resolveDashboardLayoutDefinition, resolveDashboardSettings, resolveDashboardStyleId, resolveDashboardZooms, resolveDataReferences, resolveDocBuildTiming, 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, topFeature, transformOriginFor, transposeCells, treeBlock, treeFromMarkdownList, treeFromTemplateData, treeToTemplateData, twoColumn, validateDashboardLayoutDefinition, validateMarkdownDoc, validateMarkdownSource, videoPullQuote, videoWithCaption, wordRevealDelay, 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, ArrangeAsciiDiagramOptions, 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, BuildTimeline, BuiltInTemplateName, CONTAINER_TEMPLATES, COVER_SLIDE_FRONTMATTER_KEYS, COVER_SLIDE_TEMPLATE_OPTIONS, ChartData, ChartTableData, ClipBox, ConnectorAnchor, ConnectorPort, ConnectorRouting, ConnectorSnapPoint, ContentBuildPlan, CoverBlockInput, CoverSlidePlayback, CoverSlideSettings, CoverSlideTemplate, CoverSlideTemplateOption, DASHBOARD_AUTO_LAYOUT_ID, DASHBOARD_FRONTMATTER_KEYS, DASHBOARD_STYLES, DASHBOARD_STYLE_IDS, DASHBOARD_ZOOM_LEVELS, DATA_FILE_EXTENSIONS, DEFAULT_COVER_SLIDE_SETTINGS, DEFAULT_DASHBOARD_SETTINGS, DEFAULT_DASHBOARD_STYLE, DEFAULT_LAYOUT, DEFAULT_WORD_STAGGER, 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, DataSourceReadOptions, DataSourceReader, DataSourceStats, DataSourceTable, 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, FrostedBigTextLayout, GEOMETRY_BOUND_TEMPLATES, HostedVideo, 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, ParsedAnnotation, ParsedStat, PromotableDetection, RenderAsciiDiagramOptions, RenderAsciiTimelineOptions, RenderTreeOptions, RepairResult, ResolveDataReferencesOptions, ResolvedDashboardCell, ResolvedDataReferences, 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, accentForViewport, adjustY, anchorPoint, applyNarrationTiming, applyRenderStyleToLayers, arrangeAsciiDiagram, asciiCellToCanvas, asciiDiagramFromBlocks, asciiDiagramFromTemplateData, asciiDiagramToTemplateData, asciiTimelineToTemplateData, autoTemplatePreservesContent, bigText, blockBuildSteps, bottomFeature, buildChartData, buildCursorAtTime, buildDashboardCellChrome, buildPageCss, buildPageCssVars, buildPreviewDoc, buildRegistry, buildSourceText, buildTargetState, canvasToAsciiCell, chooseDashboardLayout, clipEndpoints, clipPoint, coerceTemplateParams, comparisonBar, composeDashboardLayers, computeDiagramLayout, computeDrawingLayout, computeLayoutLayers, connectorPath, contentBlock, countBlocks, countUpSpecFor, coverBlock, createAccentLayers, cssFilterForTreatment, dashboardCanvasFill, dashboardCellAccent, dataSidecarPrefix, dataTable, dateEvent, definitionCard, deriveTemplateInputs, desiredCellZoom, detectAsciiDiagram, detectAsciiTimeline, detectPromotableBodyAnnotation, detectTree, diagramBlock, docToMarkdown, documentTitleFromFileName, drawingBlock, expandCoverBlock, expandDocBlocks, expandPersistentLayers, extractBlockquoteText, extractBodyPlainText, extractEmbeddedVideos, extractFirstEmbeddedVideo, extractFirstImage, extractHostedVideos, extractImages, extractListItems, extractRichListItems, extractTableData, extractTableFromContents, factCard, fallbackBlockLayers, findFirstList, findFirstTable, fitBigTextSize, fitDiagramLabel, flattenBlocks, flattenRenderableBlocks, formatCountUp, formatCountValue, frostedBigTextLayout, fullBleedQuote, getAccentLayout, getAnimationProgress, getAnimationStyle, getAvailableTemplates, getBlockBodyText, getBlockDepth, getBlockMediaLayoutPolicy, getDashboardLayoutSummaries, getDefaultAnimation, getDefaultAnimationDuration, getMotionProfile, getOverlayOpacity, getPersistentLayersFromTheme, getPinnedBlockMeta, getTemplateHint, getThemeFont, getTransitionClass, hasBlockBuilds, hasTemplate, imageWithCaption, isAsciiDiagramFence, isAsciiTimelineFence, isContainerTemplate, isDataFence, isDataFilePath, isEligibleAsciiFenceLang, isEligibleAsciiTimelineFenceLang, isEligibleTreeFenceLang, isExplicitDiagramLang, isExplicitTimelineLang, isExplicitTreeLang, isGeometryBoundTemplate, isMaterializedMediaNode, isMediaAnnotationName, isPictureFence, isPictureParagraph, isRepairableDiagram, isShapeName, isTemplatedPageBlock, isTreeFence, isWrappedFlowTimelineSource, layoutBlock, layoutCapacity, leftFeature, lineStyleDasharray, lintTemplateParams, listBlock, listDashboardLayouts, mapBlock, markdownBlockSeparatorLines, markdownToDoc, markerPath, materializeBlockLayers, materializeDashboard, materializeFlashcards, mediaOnly, motionDelay, motionEntrance, motionStateTransform, nearestSnapPoint, normalizeChartTable, normalizeDashboardZoom, normalizeShapeKind, pageStyleDataAttributes, parseAsciiDiagram, parseAsciiTimeline, parseAsciiTimelineWithStats, parseDataFence, parseStandaloneAnnotation, parseStatNumber, parseTree, parseWrappedFlowTimeline, parseYamlSubset, photoGrid, planContentBuilds, pullQuote, quoteBlock, readCustomTemplatesFromFrontmatter, readCustomThemesFromFrontmatter, readDashboardLayoutsFromFrontmatter, renderAsciiDiagram, renderAsciiTimeline, renderMarkdownBlocksHtml, renderTree, repairAsciiDiagram, replaceDataFence, resolveAudioMapping, resolveBuildTimeline, resolveColorScheme, resolveCoverSlideSettings, resolveDashboardLayoutDefinition, resolveDashboardSettings, resolveDashboardStyleId, resolveDashboardZooms, resolveDataReferences, resolveDocBuildTiming, 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, topFeature, transformOriginFor, transposeCells, treeBlock, treeFromMarkdownList, treeFromTemplateData, treeToTemplateData, twoColumn, validateDashboardLayoutDefinition, validateMarkdownDoc, validateMarkdownSource, videoPullQuote, videoWithCaption, wordRevealDelay, 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-FT1B5NOo.js';
|
|
10
10
|
export { calculateBearing, decodeGeohash, destinationPoint, encodeGeohash, geohashOverlapsBounds, geohashToHierarchicalPath, getGeohash4Neighbors, getGeohashPath, getGeohashPrefix, getNeighbors, haversineDistance, interpolateGreatCircle, sampleGreatCircle } from './spatial/index.js';
|
|
11
11
|
export { LocalForageAdapter, LocalForageAdapterOptions, LocalStorageAdapter, MemoryStorageAdapter, ScopedContentContainer, StorageAdapter, createMediaProviderFromContainer, scopeContainer } from './storage/index.js';
|
package/dist/index.js
CHANGED
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
traceWordPosAt,
|
|
30
30
|
transcriptWordKeys,
|
|
31
31
|
vadStep
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-3BIKSQTM.js";
|
|
33
33
|
import {
|
|
34
34
|
fenceRendererLangs
|
|
35
35
|
} from "./chunk-PGI7HSWE.js";
|
|
@@ -232,7 +232,7 @@ import {
|
|
|
232
232
|
validateMarkdownSource,
|
|
233
233
|
wordRevealDelay,
|
|
234
234
|
writeDashboardLayoutsToFrontmatter
|
|
235
|
-
} from "./chunk-
|
|
235
|
+
} from "./chunk-QVNMPBS3.js";
|
|
236
236
|
import {
|
|
237
237
|
buildNarrationTimingJson,
|
|
238
238
|
parseNarrationTimingJson,
|
|
@@ -265,7 +265,7 @@ import {
|
|
|
265
265
|
serializePresentationPlan,
|
|
266
266
|
transformNarratedSegment,
|
|
267
267
|
usesDynamicPresentation
|
|
268
|
-
} from "./chunk-
|
|
268
|
+
} from "./chunk-VMKRN7TB.js";
|
|
269
269
|
import {
|
|
270
270
|
BASE_INPUT_DESCRIPTORS,
|
|
271
271
|
BLOCK_MEDIA_LAYOUT_POLICIES,
|
|
@@ -285,6 +285,7 @@ import {
|
|
|
285
285
|
bigText,
|
|
286
286
|
blockBuildSteps,
|
|
287
287
|
bottomFeature,
|
|
288
|
+
buildChartData,
|
|
288
289
|
buildCursorAtTime,
|
|
289
290
|
buildNarrationScript,
|
|
290
291
|
buildRegistry,
|
|
@@ -302,6 +303,7 @@ import {
|
|
|
302
303
|
dataTable,
|
|
303
304
|
dateEvent,
|
|
304
305
|
definitionCard,
|
|
306
|
+
detectPromotableBodyAnnotation,
|
|
305
307
|
diagramBlock,
|
|
306
308
|
drawingBlock,
|
|
307
309
|
estimateSyllables,
|
|
@@ -349,6 +351,7 @@ import {
|
|
|
349
351
|
mediaOnly,
|
|
350
352
|
motionDelay,
|
|
351
353
|
motionEntrance,
|
|
354
|
+
normalizeChartTable,
|
|
352
355
|
normalizeShapeKind,
|
|
353
356
|
parseDataFence,
|
|
354
357
|
parseStatNumber,
|
|
@@ -389,7 +392,7 @@ import {
|
|
|
389
392
|
wrapWithPersistentLayers,
|
|
390
393
|
writeCustomTemplatesToFrontmatter,
|
|
391
394
|
writeCustomThemesToFrontmatter
|
|
392
|
-
} from "./chunk-
|
|
395
|
+
} from "./chunk-L3VQQ3WT.js";
|
|
393
396
|
import {
|
|
394
397
|
ASCII_CHAR_H,
|
|
395
398
|
ASCII_CHAR_W,
|
|
@@ -428,6 +431,7 @@ import {
|
|
|
428
431
|
isExplicitTimelineLang,
|
|
429
432
|
isExplicitTreeLang,
|
|
430
433
|
isMaterializedMediaNode,
|
|
434
|
+
isMediaAnnotationName,
|
|
431
435
|
isPictureFence,
|
|
432
436
|
isPictureParagraph,
|
|
433
437
|
isTreeFence,
|
|
@@ -436,6 +440,7 @@ import {
|
|
|
436
440
|
parseAsciiDiagram,
|
|
437
441
|
parseAsciiTimeline,
|
|
438
442
|
parseAsciiTimelineWithStats,
|
|
443
|
+
parseStandaloneAnnotation,
|
|
439
444
|
parseTree,
|
|
440
445
|
parseWrappedFlowTimeline,
|
|
441
446
|
profileBlockContents,
|
|
@@ -444,7 +449,7 @@ import {
|
|
|
444
449
|
treeFromMarkdownList,
|
|
445
450
|
treeFromTemplateData,
|
|
446
451
|
treeToTemplateData
|
|
447
|
-
} from "./chunk-
|
|
452
|
+
} from "./chunk-R2J7CQJZ.js";
|
|
448
453
|
import {
|
|
449
454
|
extractContent,
|
|
450
455
|
mapElementToBlock,
|
|
@@ -863,6 +868,7 @@ export {
|
|
|
863
868
|
bottomFeature,
|
|
864
869
|
buildAdvanceTimingJson,
|
|
865
870
|
buildCaptionTrack,
|
|
871
|
+
buildChartData,
|
|
866
872
|
buildCursorAtTime,
|
|
867
873
|
buildDashboardCellChrome,
|
|
868
874
|
buildDataBackupPath,
|
|
@@ -948,6 +954,7 @@ export {
|
|
|
948
954
|
detectAsciiDiagram,
|
|
949
955
|
detectAsciiTimeline,
|
|
950
956
|
detectMarkdownWrapState,
|
|
957
|
+
detectPromotableBodyAnnotation,
|
|
951
958
|
detectSyllableOnsets,
|
|
952
959
|
detectTree,
|
|
953
960
|
diagramBlock,
|
|
@@ -1083,6 +1090,7 @@ export {
|
|
|
1083
1090
|
isHex,
|
|
1084
1091
|
isHtmlLineBreak,
|
|
1085
1092
|
isMaterializedMediaNode,
|
|
1093
|
+
isMediaAnnotationName,
|
|
1086
1094
|
isMotionProfileName,
|
|
1087
1095
|
isPersistentLayerTemplate,
|
|
1088
1096
|
isPictureFence,
|
|
@@ -1135,6 +1143,7 @@ export {
|
|
|
1135
1143
|
narrationSessionStep,
|
|
1136
1144
|
nearestSnapPoint,
|
|
1137
1145
|
needsQuoting,
|
|
1146
|
+
normalizeChartTable,
|
|
1138
1147
|
normalizeDashboardZoom,
|
|
1139
1148
|
normalizeDocfxMarkdown,
|
|
1140
1149
|
normalizeShapeKind,
|
|
@@ -1160,6 +1169,7 @@ export {
|
|
|
1160
1169
|
parsePresentationHints,
|
|
1161
1170
|
parsePresentationPlan,
|
|
1162
1171
|
parseProofDictionary,
|
|
1172
|
+
parseStandaloneAnnotation,
|
|
1163
1173
|
parseStatNumber,
|
|
1164
1174
|
parseSvgIsland,
|
|
1165
1175
|
parseTheme,
|
package/dist/narration/index.js
CHANGED
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
traceWordPosAt,
|
|
30
30
|
transcriptWordKeys,
|
|
31
31
|
vadStep
|
|
32
|
-
} from "../chunk-
|
|
32
|
+
} from "../chunk-3BIKSQTM.js";
|
|
33
33
|
import "../chunk-NEWNNLWN.js";
|
|
34
34
|
import {
|
|
35
35
|
buildNarrationTimingJson,
|
|
@@ -43,8 +43,8 @@ import {
|
|
|
43
43
|
wordIndexAtChar,
|
|
44
44
|
wordIndexAtTime,
|
|
45
45
|
wordPosAtExpectedSyllables
|
|
46
|
-
} from "../chunk-
|
|
47
|
-
import "../chunk-
|
|
46
|
+
} from "../chunk-L3VQQ3WT.js";
|
|
47
|
+
import "../chunk-R2J7CQJZ.js";
|
|
48
48
|
import "../chunk-FUBMT6SJ.js";
|
|
49
49
|
import "../chunk-WNEH3BZP.js";
|
|
50
50
|
import "../chunk-L7QZORLB.js";
|
package/dist/recommend/index.js
CHANGED
package/dist/transform/index.js
CHANGED
|
@@ -25,9 +25,9 @@ import {
|
|
|
25
25
|
serializePresentationPlan,
|
|
26
26
|
transformNarratedSegment,
|
|
27
27
|
usesDynamicPresentation
|
|
28
|
-
} from "../chunk-
|
|
29
|
-
import "../chunk-
|
|
30
|
-
import "../chunk-
|
|
28
|
+
} from "../chunk-VMKRN7TB.js";
|
|
29
|
+
import "../chunk-L3VQQ3WT.js";
|
|
30
|
+
import "../chunk-R2J7CQJZ.js";
|
|
31
31
|
import "../chunk-SVN7T6BK.js";
|
|
32
32
|
import "../chunk-FUBMT6SJ.js";
|
|
33
33
|
import "../chunk-WNEH3BZP.js";
|