@bendyline/squisq 2.4.3 → 2.5.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/{Doc-BKKcPjfe.d.ts → Doc-DBadkoP4.d.ts} +30 -2
- package/dist/{ImageEditDoc-CU1cXxRd.d.ts → ImageEditDoc-Cq2a3c30.d.ts} +1 -1
- package/dist/{chunk-7TJJA2RI.js → chunk-6MVWWZHL.js} +1 -1
- package/dist/{chunk-EMXYZLRH.js → chunk-7Z5T3CUI.js} +1 -1
- package/dist/{chunk-2HY2ZA7U.js → chunk-GSJEGMKF.js} +317 -18
- package/dist/{chunk-JUAC2QWP.js → chunk-HXMV7WQB.js} +1 -1
- package/dist/{chunk-D6YTLQCL.js → chunk-NBKAXPSX.js} +177 -176
- package/dist/{chunk-AQF5ZYDI.js → chunk-NNL3HHKA.js} +139 -15
- package/dist/doc/index.d.ts +121 -14
- package/dist/doc/index.js +18 -4
- package/dist/generate/index.d.ts +1 -1
- package/dist/imageEdit/index.d.ts +3 -3
- package/dist/index.d.ts +5 -5
- package/dist/index.js +20 -6
- package/dist/jsonForm/index.d.ts +1 -1
- package/dist/markdown/index.js +3 -3
- package/dist/{materializePageSection-WDJCTJEm.d.ts → materializePageSection-DgOFYge7.d.ts} +1 -1
- package/dist/narration/index.d.ts +1 -1
- package/dist/narration/index.js +3 -3
- package/dist/schemas/index.d.ts +4 -4
- package/dist/{themeLibrary-BMXXLZBU.d.ts → themeLibrary-8BQMY2HV.d.ts} +1 -1
- package/dist/transform/index.d.ts +2 -2
- package/package.json +1 -1
package/dist/doc/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { bb as TemplateBlock, bc as TemplateContext, a3 as Layer, w as CustomTemplateDefinition, be as TemplateRegistry, bh as Theme, bL as ViewportConfig, aL as PersistentLayerConfig, P as DocBlock, bM as ViewportOrientation, aK as PersistentLayer, bu as TitleBlockInput, b0 as SectionHeaderInput, j as BigTextInput, u as ContentBlockInput, b6 as StatHighlightInput, aW as QuoteBlockInput, V as FactCardInput, bB as TwoColumnInput, H as DateEventInput, a1 as ImageWithCaptionInput, a6 as LeftFeatureInput, aZ as RightFeatureInput, aa as MapBlockInput, b5 as StartBlockConfig, Y as FullBleedQuoteInput, a9 as ListBlockInput, aP as PhotoGridInput, J as DefinitionCardInput, t as ComparisonBarInput, aV as PullQuoteInput, bK as VideoWithCaptionInput, bJ as VideoPullQuoteInput, G as DataTableInput, K as DiagramBlockInput, bw as TreeBlockInput, bq as TimelineBlockInput, k as Block, S as DrawingBlockInput, ae as MarkerStyle, A as AccentImage, a0 as ImageTreatment, a as AccentPosition, c as Animation, d as AnimationType, bj as ThemeColorScheme, O as Doc, bl as ThemeRegistry, aD as PageEmphasis, bk as ThemePageStyle, Q as DocDiagnostic, N as DiagramTemplateNode, M as DiagramTemplateEdge, bt as TimelineTemplateTrack, bs as TimelineTemplateLink } from '../Doc-DBadkoP4.js';
|
|
2
|
+
export { T as FRONTMATTER_CUSTOM_TEMPLATES_KEY, U as FRONTMATTER_CUSTOM_THEMES_KEY, a5 as LayoutHints, aY as RenderStyle, bi as ThemeColorPalette, bo as ThemeStyle, bp as ThemeTypography, bC as VIEWPORT_PRESETS, bN as ViewportPreset, bS as createTemplateContext, bZ as getLayoutHints, c0 as getTwoColumnPositions, c1 as getViewport, c2 as getViewportOrientation, c5 as isTemplateBlock, c8 as scaledFontSize } from '../Doc-DBadkoP4.js';
|
|
3
3
|
import { L as MarkdownNode, a3 as TransitionType, a2 as TransitionDirection, M as MarkdownBlockNode, r as MarkdownHeading, n as MarkdownDocument, T as MarkdownTable, i as MarkdownCodeBlock, G as MarkdownList } from '../types-CcrDFdWH.js';
|
|
4
4
|
import { C as CoercedBlockMeta } from '../annotationCoercion-CPHEggo3.js';
|
|
5
|
-
import { c as PageSection } from '../materializePageSection-
|
|
6
|
-
export { M as MaterializePageSectionOptions, a as MaterializePageSectionsOptions, P as PageMedia, b as PageRichText, 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-
|
|
5
|
+
import { c as PageSection } from '../materializePageSection-DgOFYge7.js';
|
|
6
|
+
export { M as MaterializePageSectionOptions, a as MaterializePageSectionsOptions, P as PageMedia, b as PageRichText, 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-DgOFYge7.js';
|
|
7
7
|
import { C as ContentContainer } from '../ContentContainer-B2w9sUoL.js';
|
|
8
|
-
export { D as DEFAULT_THEME, g as getAvailableThemes, b as getThemeSummaries, r as resolveTheme } from '../themeLibrary-
|
|
8
|
+
export { D as DEFAULT_THEME, g as getAvailableThemes, b as getThemeSummaries, r as resolveTheme } from '../themeLibrary-8BQMY2HV.js';
|
|
9
9
|
|
|
10
10
|
/** Runtime registry composition for built-in and document-scoped templates. */
|
|
11
11
|
|
|
@@ -137,6 +137,12 @@ declare const TEMPLATE_AUTHORING_METADATA: {
|
|
|
137
137
|
readonly safeForContentFirst: false;
|
|
138
138
|
readonly placement: "heading";
|
|
139
139
|
};
|
|
140
|
+
readonly bigText: {
|
|
141
|
+
readonly role: "opener";
|
|
142
|
+
readonly bodyPolicy: "ignored";
|
|
143
|
+
readonly safeForContentFirst: false;
|
|
144
|
+
readonly placement: "heading";
|
|
145
|
+
};
|
|
140
146
|
readonly content: {
|
|
141
147
|
readonly role: "content";
|
|
142
148
|
readonly bodyPolicy: "complete";
|
|
@@ -388,6 +394,15 @@ declare const BLOCK_MEDIA_LAYOUT_POLICIES: {
|
|
|
388
394
|
readonly unconsumedMedia: "reserve-when-no-native-media";
|
|
389
395
|
readonly variants: SupplementalMediaVariantMatrix;
|
|
390
396
|
};
|
|
397
|
+
readonly bigText: {
|
|
398
|
+
readonly summary: "Uses its authored background image (behind a contrast bloom) when present; otherwise renders gigantic text on the theme surface.";
|
|
399
|
+
readonly noMedia: "template-without-optional-media";
|
|
400
|
+
readonly ownership: "optional-native";
|
|
401
|
+
readonly nativeLayout: "background-image";
|
|
402
|
+
readonly additionalMediaLayout: "overlay-inset";
|
|
403
|
+
readonly unconsumedMedia: "reserve-when-no-native-media";
|
|
404
|
+
readonly variants: SupplementalMediaVariantMatrix;
|
|
405
|
+
};
|
|
391
406
|
readonly content: {
|
|
392
407
|
readonly summary: "Preserves the complete heading and body; supplemental media receives a companion field.";
|
|
393
408
|
readonly noMedia: "template-default";
|
|
@@ -719,6 +734,31 @@ declare function titleBlock(input: TitleBlockInput, context: TemplateContext): L
|
|
|
719
734
|
|
|
720
735
|
declare function sectionHeader(input: SectionHeaderInput, context: TemplateContext): Layer[];
|
|
721
736
|
|
|
737
|
+
/**
|
|
738
|
+
* Big Text Template
|
|
739
|
+
*
|
|
740
|
+
* Thumbnail-style display card: the title in gigantic uppercase type sized
|
|
741
|
+
* to fill the frame (minus a small padding margin), either over a clean
|
|
742
|
+
* theme background or over a full-bleed image with a radial "contrast
|
|
743
|
+
* bloom" behind the text. Deliberately shows nothing but the title.
|
|
744
|
+
*
|
|
745
|
+
* The bloom is tinted from `theme.colors.background` (never hard-coded
|
|
746
|
+
* black), so `theme.colors.text` painted on top stays legible by
|
|
747
|
+
* construction on light and dark themes alike — the same rule the managed
|
|
748
|
+
* cover's scrim follows. Built for YouTube covers and social thumbnails,
|
|
749
|
+
* but works as an ordinary block template too.
|
|
750
|
+
*
|
|
751
|
+
* This is shared code used by both site and efb-app doc renderers.
|
|
752
|
+
*/
|
|
753
|
+
|
|
754
|
+
/**
|
|
755
|
+
* Largest font size (px, in viewport space) whose wrapped title fits the
|
|
756
|
+
* frame's padded box — width-capped so the longest word stays on one line,
|
|
757
|
+
* then binary-searched against the wrapped block's height.
|
|
758
|
+
*/
|
|
759
|
+
declare function fitBigTextSize(title: string, viewport: ViewportConfig): number;
|
|
760
|
+
declare function bigText(input: BigTextInput, context: TemplateContext): Layer[];
|
|
761
|
+
|
|
722
762
|
/**
|
|
723
763
|
* Content-first template.
|
|
724
764
|
*
|
|
@@ -849,6 +889,52 @@ declare function rightFeature(input: RightFeatureInput, context: TemplateContext
|
|
|
849
889
|
|
|
850
890
|
declare function mapBlock(input: MapBlockInput, context: TemplateContext): Layer[];
|
|
851
891
|
|
|
892
|
+
/**
|
|
893
|
+
* Managed cover-slide settings persisted in Markdown frontmatter.
|
|
894
|
+
*
|
|
895
|
+
* This module is framework-free so the editor, player, and export pipelines
|
|
896
|
+
* resolve one canonical document contract.
|
|
897
|
+
*/
|
|
898
|
+
/** Built-in visual treatments that can render a document start block. */
|
|
899
|
+
type CoverSlideTemplate = 'cover' | 'title' | 'sectionHeader' | 'imageWithCaption' | 'bigText' | 'bigTextImage';
|
|
900
|
+
/** How an exported video's story clock behaves while the cover is visible. */
|
|
901
|
+
type CoverSlidePlayback = 'overlay' | 'preroll';
|
|
902
|
+
interface CoverSlideSettings {
|
|
903
|
+
enabled: boolean;
|
|
904
|
+
template: CoverSlideTemplate;
|
|
905
|
+
duration: number;
|
|
906
|
+
playback: CoverSlidePlayback;
|
|
907
|
+
}
|
|
908
|
+
interface CoverSlideTemplateOption {
|
|
909
|
+
id: CoverSlideTemplate;
|
|
910
|
+
label: string;
|
|
911
|
+
description: string;
|
|
912
|
+
requiresHeroImage?: boolean;
|
|
913
|
+
}
|
|
914
|
+
declare const COVER_SLIDE_TEMPLATE_OPTIONS: readonly CoverSlideTemplateOption[];
|
|
915
|
+
declare const COVER_SLIDE_FRONTMATTER_KEYS: Readonly<{
|
|
916
|
+
enabled: {
|
|
917
|
+
canonical: string;
|
|
918
|
+
legacy: string;
|
|
919
|
+
};
|
|
920
|
+
template: {
|
|
921
|
+
canonical: string;
|
|
922
|
+
legacy: string;
|
|
923
|
+
};
|
|
924
|
+
duration: {
|
|
925
|
+
canonical: string;
|
|
926
|
+
legacy: string;
|
|
927
|
+
};
|
|
928
|
+
playback: {
|
|
929
|
+
canonical: string;
|
|
930
|
+
legacy: string;
|
|
931
|
+
};
|
|
932
|
+
}>;
|
|
933
|
+
declare const DEFAULT_COVER_SLIDE_SETTINGS: Readonly<CoverSlideSettings>;
|
|
934
|
+
declare const MAX_COVER_SLIDE_DURATION_SECONDS = 60;
|
|
935
|
+
/** Resolve cover settings from frontmatter, then apply explicit caller overrides. */
|
|
936
|
+
declare function resolveCoverSlideSettings(frontmatter: Record<string, unknown> | undefined, overrides?: Partial<CoverSlideSettings>): CoverSlideSettings;
|
|
937
|
+
|
|
852
938
|
/**
|
|
853
939
|
* Cover Block Template
|
|
854
940
|
*
|
|
@@ -894,7 +980,7 @@ declare function coverBlock(input: CoverBlockInput, context: TemplateContext): L
|
|
|
894
980
|
* Expand a StartBlockConfig into a renderable Block.
|
|
895
981
|
* This is used by the player to render the cover block at rest.
|
|
896
982
|
*/
|
|
897
|
-
declare function expandCoverBlock(config: StartBlockConfig, context: TemplateContext): Layer[];
|
|
983
|
+
declare function expandCoverBlock(config: StartBlockConfig, context: TemplateContext, template?: CoverSlideTemplate): Layer[];
|
|
898
984
|
|
|
899
985
|
/**
|
|
900
986
|
* Full Bleed Quote Template
|
|
@@ -1763,6 +1849,11 @@ interface EmbeddedVideo {
|
|
|
1763
1849
|
src: string;
|
|
1764
1850
|
posterSrc?: string;
|
|
1765
1851
|
alt: string;
|
|
1852
|
+
/** Delay within the owning block before playback begins. */
|
|
1853
|
+
startAt?: number;
|
|
1854
|
+
/** Source-media in/out points carried by inline video data attributes. */
|
|
1855
|
+
clipStart?: number;
|
|
1856
|
+
clipEnd?: number;
|
|
1766
1857
|
}
|
|
1767
1858
|
/** Plain text of a block's body contents (excluding the heading). */
|
|
1768
1859
|
declare function extractBodyPlainText(contents?: MarkdownBlockNode[]): string;
|
|
@@ -1871,12 +1962,20 @@ interface MarkdownToDocOptions {
|
|
|
1871
1962
|
/** Custom ID generator. Receives the heading node and its index. */
|
|
1872
1963
|
generateId?: (heading: MarkdownHeading, index: number) => string;
|
|
1873
1964
|
/**
|
|
1874
|
-
* Whether to auto-generate a cover startBlock
|
|
1875
|
-
*
|
|
1876
|
-
*
|
|
1877
|
-
*
|
|
1965
|
+
* Whether to auto-generate a cover startBlock. When true (default), a
|
|
1966
|
+
* StartBlockConfig is created with a title resolved in priority order:
|
|
1967
|
+
* frontmatter `title:`, the first occurrence of the shallowest heading
|
|
1968
|
+
* (H1, else H2, else H3, …), then {@link fileName}. If the document
|
|
1969
|
+
* contains an image, the first image is used as the hero. Set to false to
|
|
1970
|
+
* suppress automatic cover generation.
|
|
1878
1971
|
*/
|
|
1879
1972
|
generateCoverBlock?: boolean;
|
|
1973
|
+
/**
|
|
1974
|
+
* Name of the file this markdown came from (path and extension are
|
|
1975
|
+
* stripped). Used as the last-resort cover title when the document has no
|
|
1976
|
+
* frontmatter `title:` and no headings.
|
|
1977
|
+
*/
|
|
1978
|
+
fileName?: string;
|
|
1880
1979
|
/**
|
|
1881
1980
|
* Timestamp recorded as `captions.generatedAt`. When omitted, the field
|
|
1882
1981
|
* is left unset so that conversion is fully deterministic — the same
|
|
@@ -2311,9 +2410,17 @@ declare function resolveAudioMapping(doc: Doc, container: ContentContainer): Pro
|
|
|
2311
2410
|
* `resolveAudioMapping`, so every surface that resolves audio gets it.
|
|
2312
2411
|
*
|
|
2313
2412
|
* Precedence: author-pinned `duration=`/`startTime=` heading attrs win
|
|
2314
|
-
* over narration ranges
|
|
2315
|
-
* narration
|
|
2316
|
-
*
|
|
2413
|
+
* over narration ranges PER FIELD — a `duration=` pin keeps the
|
|
2414
|
+
* narration's start and a `startTime=` pin keeps the narration's length
|
|
2415
|
+
* (a conflicting pin gets an `info` diagnostic); narration ranges win
|
|
2416
|
+
* over per-block audio-segment mapping and reading-time estimates.
|
|
2417
|
+
*
|
|
2418
|
+
* Contiguity: the block strip never opens a gap (or an overlap) around a
|
|
2419
|
+
* pin. When a pin moves a block's end away from the take's range
|
|
2420
|
+
* boundary, every later narration anchor ripples by the same delta —
|
|
2421
|
+
* the committed layout matches the timeline editor's drag preview,
|
|
2422
|
+
* which re-flows following blocks live. The narration AUDIO keeps its
|
|
2423
|
+
* own absolute schedule; the diagnostic records that drift.
|
|
2317
2424
|
*/
|
|
2318
2425
|
|
|
2319
2426
|
interface NarrationResolution {
|
|
@@ -3078,4 +3185,4 @@ declare function treeFromMarkdownList(list: MarkdownList): Tree;
|
|
|
3078
3185
|
/** Find the first top-level markdown list in a block's body, if any. */
|
|
3079
3186
|
declare function findFirstList(contents: MarkdownBlockNode[] | undefined): MarkdownList | undefined;
|
|
3080
3187
|
|
|
3081
|
-
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, type BlockLayerMaterialization, type BlockMediaLayoutPolicy, type BuiltInTemplateName, CONTAINER_TEMPLATES, type ClipBox, type ConnectorAnchor, type ConnectorPort, type ConnectorRouting, type ConnectorSnapPoint, type CoverBlockInput, DEFAULT_LAYOUT, DIAGRAM_LABEL_HORIZONTAL_PADDING, DIAGRAM_LABEL_LINE_HEIGHT, DIAGRAM_LABEL_MIN_FONT_SIZE, DIAGRAM_LABEL_VERTICAL_PADDING, 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, type FirstImage, type InputCoercion, type LayerMaterializationDiagnostic, type LayerMaterializationFailureMode, type LayerMaterializationSource, type LayoutLayerDefaults, type LayoutLayersResult, type MarkdownToDocOptions, type MarkdownValidationResult, type MaterializeBlockLayersOptions, 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 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, buildPageCss, buildPageCssVars, buildRegistry, canvasToAsciiCell, clipEndpoints, clipPoint, coerceTemplateParams, comparisonBar, computeDiagramLayout, computeDrawingLayout, computeLayoutLayers, connectorPath, contentBlock, countBlocks, coverBlock, createAccentLayers, cssFilterForTreatment, dataTable, dateEvent, definitionCard, deriveTemplateInputs, detectAsciiDiagram, detectAsciiTimeline, detectTree, diagramBlock, docToMarkdown, drawingBlock, expandCoverBlock, expandDocBlocks, expandPersistentLayers, extractBlockquoteText, extractBodyPlainText, extractEmbeddedVideos, extractFirstEmbeddedVideo, extractFirstImage, extractImages, extractListItems, extractRichListItems, extractTableData, extractTableFromContents, factCard, fallbackBlockLayers, findFirstList, findFirstTable, fitDiagramLabel, flattenBlocks, flattenRenderableBlocks, fullBleedQuote, getAccentLayout, getAnimationProgress, getAnimationStyle, getAvailableTemplates, getBlockBodyText, getBlockDepth, getBlockMediaLayoutPolicy, getDefaultAnimation, getDefaultAnimationDuration, getOverlayOpacity, getPersistentLayersFromTheme, getPinnedBlockMeta, getTemplateHint, getThemeFont, getTransitionClass, hasTemplate, imageWithCaption, isAsciiDiagramFence, isAsciiTimelineFence, isContainerTemplate, isDataFence, isEligibleAsciiFenceLang, isEligibleAsciiTimelineFenceLang, isEligibleTreeFenceLang, isExplicitDiagramLang, isExplicitTimelineLang, isExplicitTreeLang, isRepairableDiagram, isShapeName, isTemplatedPageBlock, isTreeFence, isWrappedFlowTimelineSource, layoutBlock, leftFeature, lineStyleDasharray, lintTemplateParams, listBlock, mapBlock, markdownToDoc, markerPath, materializeBlockLayers, nearestSnapPoint, normalizeShapeKind, pageStyleDataAttributes, parseAsciiDiagram, parseAsciiTimeline, parseAsciiTimelineWithStats, parseDataFence, parseTree, parseWrappedFlowTimeline, parseYamlSubset, photoGrid, pullQuote, quoteBlock, readCustomTemplatesFromFrontmatter, readCustomThemesFromFrontmatter, renderAsciiDiagram, renderAsciiTimeline, renderTree, repairAsciiDiagram, replaceDataFence, resolveAudioMapping, resolveColorScheme, resolvePageBlock, resolvePersistentLayers, resolveTemplateName, resolveThemeForDoc, rightFeature, scaleAnimationDuration, scoreTextSimilarity, sectionExtractors, sectionHeader, shapePath, shouldUseShadow, snapEndpoints, snapPoints, statHighlight, templateRegistry, themeWantsAmbientMotion, themedEntrance, themedFontSize, themedImageTreatment, themedScrim, themedSurfaceGradient, timelineBlock, titleBlock, treeBlock, treeFromMarkdownList, treeFromTemplateData, treeToTemplateData, twoColumn, validateMarkdownDoc, validateMarkdownSource, videoPullQuote, videoWithCaption, wrapWithPersistentLayers, writeCustomTemplatesToFrontmatter, writeCustomThemesToFrontmatter };
|
|
3188
|
+
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, type BlockLayerMaterialization, type BlockMediaLayoutPolicy, 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, DEFAULT_COVER_SLIDE_SETTINGS, DEFAULT_LAYOUT, DIAGRAM_LABEL_HORIZONTAL_PADDING, DIAGRAM_LABEL_LINE_HEIGHT, DIAGRAM_LABEL_MIN_FONT_SIZE, DIAGRAM_LABEL_VERTICAL_PADDING, 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, 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 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 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, buildPageCss, buildPageCssVars, buildRegistry, canvasToAsciiCell, clipEndpoints, clipPoint, coerceTemplateParams, comparisonBar, computeDiagramLayout, computeDrawingLayout, computeLayoutLayers, connectorPath, contentBlock, countBlocks, coverBlock, createAccentLayers, cssFilterForTreatment, dataTable, dateEvent, definitionCard, deriveTemplateInputs, detectAsciiDiagram, detectAsciiTimeline, detectTree, diagramBlock, docToMarkdown, drawingBlock, expandCoverBlock, expandDocBlocks, expandPersistentLayers, extractBlockquoteText, extractBodyPlainText, extractEmbeddedVideos, extractFirstEmbeddedVideo, extractFirstImage, extractImages, extractListItems, extractRichListItems, extractTableData, extractTableFromContents, factCard, fallbackBlockLayers, findFirstList, findFirstTable, fitBigTextSize, fitDiagramLabel, flattenBlocks, flattenRenderableBlocks, fullBleedQuote, getAccentLayout, getAnimationProgress, getAnimationStyle, getAvailableTemplates, getBlockBodyText, getBlockDepth, getBlockMediaLayoutPolicy, getDefaultAnimation, getDefaultAnimationDuration, getOverlayOpacity, getPersistentLayersFromTheme, getPinnedBlockMeta, getTemplateHint, getThemeFont, getTransitionClass, hasTemplate, imageWithCaption, isAsciiDiagramFence, isAsciiTimelineFence, isContainerTemplate, isDataFence, isEligibleAsciiFenceLang, isEligibleAsciiTimelineFenceLang, isEligibleTreeFenceLang, isExplicitDiagramLang, isExplicitTimelineLang, isExplicitTreeLang, isRepairableDiagram, isShapeName, isTemplatedPageBlock, isTreeFence, isWrappedFlowTimelineSource, layoutBlock, leftFeature, lineStyleDasharray, lintTemplateParams, listBlock, mapBlock, markdownToDoc, markerPath, materializeBlockLayers, nearestSnapPoint, normalizeShapeKind, pageStyleDataAttributes, parseAsciiDiagram, parseAsciiTimeline, parseAsciiTimelineWithStats, parseDataFence, parseTree, parseWrappedFlowTimeline, parseYamlSubset, photoGrid, pullQuote, quoteBlock, readCustomTemplatesFromFrontmatter, readCustomThemesFromFrontmatter, renderAsciiDiagram, renderAsciiTimeline, renderTree, repairAsciiDiagram, replaceDataFence, resolveAudioMapping, resolveColorScheme, resolveCoverSlideSettings, resolvePageBlock, resolvePersistentLayers, resolveTemplateName, resolveThemeForDoc, rightFeature, scaleAnimationDuration, scoreTextSimilarity, sectionExtractors, sectionHeader, shapePath, shouldUseShadow, snapEndpoints, snapPoints, statHighlight, templateRegistry, themeWantsAmbientMotion, themedEntrance, themedFontSize, themedImageTreatment, themedScrim, themedSurfaceGradient, timelineBlock, titleBlock, treeBlock, treeFromMarkdownList, treeFromTemplateData, treeToTemplateData, twoColumn, validateMarkdownDoc, validateMarkdownSource, videoPullQuote, videoWithCaption, wrapWithPersistentLayers, writeCustomTemplatesToFrontmatter, writeCustomThemesToFrontmatter };
|
package/dist/doc/index.js
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
|
+
COVER_SLIDE_FRONTMATTER_KEYS,
|
|
3
|
+
COVER_SLIDE_TEMPLATE_OPTIONS,
|
|
4
|
+
DEFAULT_COVER_SLIDE_SETTINGS,
|
|
5
|
+
MAX_COVER_SLIDE_DURATION_SECONDS,
|
|
2
6
|
PAGE_BASE_CSS,
|
|
3
7
|
applyNarrationTiming,
|
|
4
8
|
buildPageCss,
|
|
@@ -19,6 +23,7 @@ import {
|
|
|
19
23
|
renderTree,
|
|
20
24
|
repairAsciiDiagram,
|
|
21
25
|
resolveAudioMapping,
|
|
26
|
+
resolveCoverSlideSettings,
|
|
22
27
|
resolvePageBlock,
|
|
23
28
|
resolvePageStyle,
|
|
24
29
|
resolveThemeForDoc,
|
|
@@ -26,7 +31,7 @@ import {
|
|
|
26
31
|
sectionExtractors,
|
|
27
32
|
validateMarkdownDoc,
|
|
28
33
|
validateMarkdownSource
|
|
29
|
-
} from "../chunk-
|
|
34
|
+
} from "../chunk-NNL3HHKA.js";
|
|
30
35
|
import {
|
|
31
36
|
ASCII_CHAR_H,
|
|
32
37
|
ASCII_CHAR_W,
|
|
@@ -49,6 +54,7 @@ import {
|
|
|
49
54
|
asciiDiagramToTemplateData,
|
|
50
55
|
asciiTimelineToTemplateData,
|
|
51
56
|
autoTemplatePreservesContent,
|
|
57
|
+
bigText,
|
|
52
58
|
buildRegistry,
|
|
53
59
|
canvasToAsciiCell,
|
|
54
60
|
coerceTemplateParams,
|
|
@@ -83,6 +89,7 @@ import {
|
|
|
83
89
|
fallbackBlockLayers,
|
|
84
90
|
findFirstList,
|
|
85
91
|
findFirstTable,
|
|
92
|
+
fitBigTextSize,
|
|
86
93
|
fitDiagramLabel,
|
|
87
94
|
flattenBlocks,
|
|
88
95
|
flattenRenderableBlocks,
|
|
@@ -144,7 +151,7 @@ import {
|
|
|
144
151
|
wrapWithPersistentLayers,
|
|
145
152
|
writeCustomTemplatesToFrontmatter,
|
|
146
153
|
writeCustomThemesToFrontmatter
|
|
147
|
-
} from "../chunk-
|
|
154
|
+
} from "../chunk-GSJEGMKF.js";
|
|
148
155
|
import {
|
|
149
156
|
PATH_SHAPE_KINDS,
|
|
150
157
|
anchorPoint,
|
|
@@ -200,13 +207,13 @@ import {
|
|
|
200
207
|
isTemplateBlock,
|
|
201
208
|
scaledFontSize2 as scaledFontSize
|
|
202
209
|
} from "../chunk-BAOV476U.js";
|
|
203
|
-
import "../chunk-
|
|
210
|
+
import "../chunk-6MVWWZHL.js";
|
|
204
211
|
import {
|
|
205
212
|
CONTAINER_TEMPLATES,
|
|
206
213
|
TABLE_FED_TEMPLATES,
|
|
207
214
|
isContainerTemplate,
|
|
208
215
|
resolveTemplateName
|
|
209
|
-
} from "../chunk-
|
|
216
|
+
} from "../chunk-NBKAXPSX.js";
|
|
210
217
|
import "../chunk-7N4G32LG.js";
|
|
211
218
|
import "../chunk-O7JILDEF.js";
|
|
212
219
|
import "../chunk-4VOD55SX.js";
|
|
@@ -221,6 +228,9 @@ export {
|
|
|
221
228
|
BASE_INPUT_DESCRIPTORS,
|
|
222
229
|
BLOCK_MEDIA_LAYOUT_POLICIES,
|
|
223
230
|
CONTAINER_TEMPLATES,
|
|
231
|
+
COVER_SLIDE_FRONTMATTER_KEYS,
|
|
232
|
+
COVER_SLIDE_TEMPLATE_OPTIONS,
|
|
233
|
+
DEFAULT_COVER_SLIDE_SETTINGS,
|
|
224
234
|
DEFAULT_LAYOUT,
|
|
225
235
|
DEFAULT_THEME,
|
|
226
236
|
DIAGRAM_LABEL_HORIZONTAL_PADDING,
|
|
@@ -229,6 +239,7 @@ export {
|
|
|
229
239
|
DIAGRAM_LABEL_VERTICAL_PADDING,
|
|
230
240
|
FRONTMATTER_CUSTOM_TEMPLATES_KEY,
|
|
231
241
|
FRONTMATTER_CUSTOM_THEMES_KEY,
|
|
242
|
+
MAX_COVER_SLIDE_DURATION_SECONDS,
|
|
232
243
|
PAGE_BASE_CSS,
|
|
233
244
|
PATH_SHAPE_KINDS,
|
|
234
245
|
SHAPE_NAMES,
|
|
@@ -248,6 +259,7 @@ export {
|
|
|
248
259
|
asciiDiagramToTemplateData,
|
|
249
260
|
asciiTimelineToTemplateData,
|
|
250
261
|
autoTemplatePreservesContent,
|
|
262
|
+
bigText,
|
|
251
263
|
buildPageCss,
|
|
252
264
|
buildPageCssVars,
|
|
253
265
|
buildRegistry,
|
|
@@ -293,6 +305,7 @@ export {
|
|
|
293
305
|
fallbackBlockLayers,
|
|
294
306
|
findFirstList,
|
|
295
307
|
findFirstTable,
|
|
308
|
+
fitBigTextSize,
|
|
296
309
|
fitDiagramLabel,
|
|
297
310
|
flattenBlocks,
|
|
298
311
|
flattenRenderableBlocks,
|
|
@@ -369,6 +382,7 @@ export {
|
|
|
369
382
|
replaceDataFence,
|
|
370
383
|
resolveAudioMapping,
|
|
371
384
|
resolveColorScheme,
|
|
385
|
+
resolveCoverSlideSettings,
|
|
372
386
|
resolvePageBlock,
|
|
373
387
|
resolvePageStyle,
|
|
374
388
|
resolvePersistentLayers,
|
package/dist/generate/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { E as ExtractedElement } from '../contentExtractor-BNfVJV2U.js';
|
|
2
2
|
export { C as ComparisonData, D as DateData, a as DefinitionData, b as ExtractionOptions, c as ExtractionResult, d as ExtractionType, F as FactData, I as ImpactLineData, L as ListData, Q as QuoteData, S as StatData, e as extractContent, s as stripMarkdown } from '../contentExtractor-BNfVJV2U.js';
|
|
3
|
-
import {
|
|
3
|
+
import { r as ColorScheme, A as AccentImage, bb as TemplateBlock } from '../Doc-DBadkoP4.js';
|
|
4
4
|
import '../types-CcrDFdWH.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as ImageEditDoc, b as ImageEditLayer } from '../ImageEditDoc-
|
|
2
|
-
export { E as EditorLayerMeta, I as ImageEditCanvas, c as ImageEditLayerKind, d as ImageEditMeta } from '../ImageEditDoc-
|
|
1
|
+
import { a as ImageEditDoc, b as ImageEditLayer } from '../ImageEditDoc-Cq2a3c30.js';
|
|
2
|
+
export { E as EditorLayerMeta, I as ImageEditCanvas, c as ImageEditLayerKind, d as ImageEditMeta } from '../ImageEditDoc-Cq2a3c30.js';
|
|
3
3
|
import { C as ContentContainer } from '../ContentContainer-B2w9sUoL.js';
|
|
4
4
|
import { V as Version, C as CoalesceOptions, P as PrunePolicy } from '../types-8QjefM9J.js';
|
|
5
|
-
import '../Doc-
|
|
5
|
+
import '../Doc-DBadkoP4.js';
|
|
6
6
|
import '../types-CcrDFdWH.js';
|
|
7
7
|
|
|
8
8
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export { B as BoundingBox, C as Coordinates } from './Types-sh2VRxfo.js';
|
|
2
|
-
export { A as AccentImage, a as AccentPosition, b as AmbientGradientConfig, c as Animation, d as AnimationType, e as AreaChartInput, f as AudioBookmark, g as AudioSegment, h as AudioTimingData, i as AudioTrack, B as BarChartInput, j as
|
|
2
|
+
export { A as AccentImage, a as AccentPosition, b as AmbientGradientConfig, c as Animation, d as AnimationType, e as AreaChartInput, f as AudioBookmark, g as AudioSegment, h as AudioTimingData, i as AudioTrack, B as BarChartInput, j as BigTextInput, k as Block, l as BlockConnection, m as BorderStyle, C as CaptionPhrase, n as CaptionTrack, o as CaptionWord, p as ChartBaseFields, q as ChartTemplateInput, r as ColorScheme, s as ColumnChartInput, t as ComparisonBarInput, u as ContentBlockInput, v as CornerBrandingConfig, w as CustomTemplateDefinition, x as CustomTemplateLayer, y as CustomTemplateValidationError, z as CustomTemplateValidationResult, D as DARK_SURFACE, E as DEFAULT_DOC_FONT, F as DEFAULT_TITLE_FONT, G as DataTableInput, H as DateEventInput, I as DeepPartial, J as DefinitionCardInput, K as DiagramBlockInput, L as DiagramEdgeAnchor, M as DiagramTemplateEdge, N as DiagramTemplateNode, O as Doc, P as DocBlock, Q as DocDiagnostic, R as DonutChartInput, S as DrawingBlockInput, T as FRONTMATTER_CUSTOM_TEMPLATES_KEY, U as FRONTMATTER_CUSTOM_THEMES_KEY, V as FactCardInput, W as FontFamily, X as FontFamilyKind, Y as FullBleedQuoteInput, Z as GradientBackgroundConfig, _ as ImageBackgroundConfig, $ as ImageLayer, a0 as ImageTreatment, a1 as ImageWithCaptionInput, a2 as LIGHT_SURFACE, a3 as Layer, a4 as LayerRepeat, a5 as LayoutHints, a6 as LeftFeatureInput, a7 as LineChartInput, a8 as LinearGradient, a9 as ListBlockInput, aa as MapBlockInput, ab as MapLayer, ac as MapMarker, ad as MapTileStyle, ae as MarkerStyle, af as MediaClip, ag as MediaScheduleOptions, ah as MermaidLayer, ai as PAGE_ACCENT_STRATEGIES, aj as PAGE_BACKGROUNDS, ak as PAGE_BACKGROUND_RHYTHMS, al as PAGE_DESIGN_FAMILIES, am as PAGE_DIVIDERS, an as PAGE_EMPHASES, ao as PAGE_EYEBROWS, ap as PAGE_HEADING_CASES, aq as PAGE_HEADING_SCALES, ar as PAGE_HEADING_UNDERLINES, as as PAGE_HERO_STYLES, at as PAGE_IMAGE_FRAMINGS, au as PAGE_NUMERAL_STYLES, av as PAGE_PATTERNS, aw as PAGE_QUOTE_MARKS, ax as PAGE_SECTION_KINDS, ay as PAGE_SECTION_SPACINGS, az as PAGE_SHADOWS, aA as PageAccentRotation, aB as PageBackground, aC as PageDesignFamily, aD as PageEmphasis, aE as PageHeadingTreatment, aF as PageSectionKind, aG as PageSectionOverride, aH as PageTokens, aI as PathLayer, aJ as PatternBackgroundConfig, aK as PersistentLayer, aL as PersistentLayerConfig, aM as PersistentLayerTemplate, aN as PersistentLayerTemplateConfig, aO as PersistentLayerTemplateType, aP as PhotoGridInput, aQ as PieChartInput, aR as PipStyle, aS as Position, aT as ProgressIndicatorConfig, aU as PromotedBodyAnnotation, aV as PullQuoteInput, aW as QuoteBlockInput, aX as RawLayersInput, aY as RenderStyle, aZ as RightFeatureInput, a_ as ScatterChartInput, a$ as ScheduledClip, b0 as SectionHeaderInput, b1 as ShapeFilter, b2 as ShapeLayer, b3 as ShapePattern, b4 as SolidBackgroundConfig, b5 as StartBlockConfig, b6 as StatHighlightInput, b7 as SurfaceScheme, b8 as THEME_SCHEMA_VERSION, b9 as TableLayer, ba as TableLayerStyle, bb as TemplateBlock, bc as TemplateContext, bd as TemplateFunction, be as TemplateRegistry, bf as TextLayer, bg as TextStyle, bh as Theme, bi as ThemeColorPalette, bj as ThemeColorScheme, bk as ThemePageStyle, bl as ThemeRegistry, bm as ThemeSchemaVersion, bn as ThemeSeedColors, bo as ThemeStyle, bp as ThemeTypography, bq as TimelineBlockInput, br as TimelineTemplateEvent, bs as TimelineTemplateLink, bt as TimelineTemplateTrack, bu as TitleBlockInput, bv as TitleCaptionConfig, bw as TreeBlockInput, bx as TreeLayer, by as TreeLayerItem, bz as TreeLayerStyle, bA as TreeTemplateItem, bB as TwoColumnInput, bC as VIEWPORT_PRESETS, bD as VideoLayer, bE as VideoPipPosition, bF as VideoPipShape, bG as VideoPipSize, bH as VideoPlacement, bI as VideoPresentation, bJ as VideoPullQuoteInput, bK as VideoWithCaptionInput, bL as ViewportConfig, bM as ViewportOrientation, bN as ViewportPreset, bO as VignetteConfig, bP as applySurface, bQ as calculateDuration, bR as calculateFontScale, bS as createTemplateContext, bT as createTheme, bU as createThemeRegistry, bV as getAspectRatioString, bW as getBlockAtTime, bX as getCaptionAtTime, bY as getDocPlaybackDuration, bZ as getLayoutHints, b_ as getSafeTextBounds, b$ as getSegmentAtTime, c0 as getTwoColumnPositions, c1 as getViewport, c2 as getViewportOrientation, c3 as isCustomTemplateDefinition, c4 as isPersistentLayerTemplate, c5 as isTemplateBlock, c6 as layoutScaledFontSize, c7 as resolveMediaSchedule, c8 as scaledFontSize, c9 as validateCustomTemplateDefinition } from './Doc-DBadkoP4.js';
|
|
3
3
|
export { AVAILABLE_FONT_STACKS, CompileOptions, ContrastPreset, DocSchemaIssue, FONT_FALLBACKS, FontStack, MermaidThemeVariables, PipStyleVars, STARTER_THEME, ValidationError, ValidationResult, accentToColorScheme, assertDocSchema, assertTheme, buildGoogleFontsUrl, buildMermaidThemeVariables, compileTheme, contrastRatio, defaultPageStyle, deriveColorPalette, deriveScale, fontStack, getFontStack, guessFontFallback, hexHueDegrees, isHex, matchFontFamily, oklchDarken, oklchLighten, oklchSetChroma, parseTheme, pickContrastingText, pipStyleVars, relativeLuminance, resolveFontFamily, serializeTheme, validateDocSchema, validateTheme, withAlpha } from './schemas/index.js';
|
|
4
4
|
export { D as DEFAULT_MARKDOWN_SAFETY_LIMITS, a as DEFAULT_TRANSITION_DURATION_SECONDS, H as HeadingAttributes, b as HeadingTemplateAnnotation, c as HtmlComment, d as HtmlElement, e as HtmlNode, f as HtmlText, M as MarkdownBlockNode, g as MarkdownBlockquote, h as MarkdownBreak, i as MarkdownCodeBlock, j as MarkdownContainerDirective, k as MarkdownDefinitionDescription, l as MarkdownDefinitionList, m as MarkdownDefinitionTerm, n as MarkdownDocument, o as MarkdownEmphasis, p as MarkdownFootnoteDefinition, q as MarkdownFootnoteReference, r as MarkdownHeading, s as MarkdownHtmlBlock, t as MarkdownImage, u as MarkdownImageReference, v as MarkdownInlineCode, w as MarkdownInlineHtml, x as MarkdownInlineIcon, y as MarkdownInlineMath, z as MarkdownInlineNode, A as MarkdownLeafDirective, B as MarkdownLimitError, C as MarkdownLink, E as MarkdownLinkDefinition, F as MarkdownLinkReference, G as MarkdownList, I as MarkdownListItem, J as MarkdownMathBlock, K as MarkdownMention, L as MarkdownNode, N as MarkdownParagraph, O as MarkdownPoint, P as MarkdownSafetyLimits, Q as MarkdownSourcePosition, R as MarkdownStrikethrough, S as MarkdownStrong, T as MarkdownTable, U as MarkdownTableCell, V as MarkdownTableRow, W as MarkdownText, X as MarkdownTextDirective, Y as MarkdownThematicBreak, Z as ParseOptions, _ as StringifyOptions, $ as TRANSITION_DIRECTIONS, a0 as TRANSITION_TYPES, a1 as Transition, a2 as TransitionDirection, a3 as TransitionType, a4 as assertMarkdownDocumentWithinLimits, a5 as assertMarkdownSourceWithinLimits, a6 as isTransitionType, a7 as normalizeTransitionDirection, a8 as normalizeTransitionType, a9 as resolveBlockTransition, aa as resolveMarkdownSafetyLimits, ab as resolveTransitionDuration } from './types-CcrDFdWH.js';
|
|
5
|
-
export { D as DEFAULT_THEME, a as DEFAULT_THEME_ID, T as THEMES, g as getAvailableThemes, b as getThemeSummaries, r as resolveTheme } from './themeLibrary-
|
|
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
|
-
export { E as EditorLayerMeta, I as ImageEditCanvas, a as ImageEditDoc, b as ImageEditLayer, c as ImageEditLayerKind, d as ImageEditMeta } from './ImageEditDoc-
|
|
8
|
-
export { ASCII_CHAR_H, ASCII_CHAR_W, ASCII_DIAGRAM_FENCE_LANGS, ASCII_TIMELINE_FENCE_LANGS, AccentLayout, AsciiDiagram, AsciiDiagramDetection, AsciiDiagramEdge, AsciiDiagramNode, AsciiTimeline, AsciiTimelineDetection, AsciiTimelineEvent, AsciiTimelineLink, AsciiTimelineMarker, AsciiTimelineSide, AsciiTimelineStats, AsciiTimelineStyle, AsciiTimelineTrack, AudioSegmentTiming, BASE_INPUT_DESCRIPTORS, BLOCK_MEDIA_LAYOUT_POLICIES, BlockLayerMaterialization, BlockMediaLayoutPolicy, BuiltInTemplateName, CONTAINER_TEMPLATES, ClipBox, ConnectorAnchor, ConnectorPort, ConnectorRouting, ConnectorSnapPoint, CoverBlockInput, DEFAULT_LAYOUT, DIAGRAM_LABEL_HORIZONTAL_PADDING, DIAGRAM_LABEL_LINE_HEIGHT, DIAGRAM_LABEL_MIN_FONT_SIZE, DIAGRAM_LABEL_VERTICAL_PADDING, DataFenceParseResult, DeriveTemplateInputsOptions, DetectAsciiTimelineOptions, DiagramEdge, DiagramLabelFit, DiagramLayout, DiagramLayoutOptions, DiagramNodePosition, DrawingConnector, DrawingLayout, DrawingLayoutOptions, DrawingShape, DrawingShapeKind, EmbeddedVideo, ExpandDocBlocksOptions, ExtractedTableData, FirstImage, InputCoercion, LayerMaterializationDiagnostic, LayerMaterializationFailureMode, LayerMaterializationSource, LayoutLayerDefaults, LayoutLayersResult, MarkdownToDocOptions, MarkdownValidationResult, MaterializeBlockLayersOptions, NarrationResolution, NativeMediaLayout, NoMediaLayout, PAGE_BASE_CSS, PATH_SHAPE_KINDS, PageSectionContext, PageSectionDraft, RenderAsciiDiagramOptions, RenderAsciiTimelineOptions, RenderTreeOptions, RepairResult, ResolvedPageBlock, 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, buildPageCss, buildPageCssVars, buildRegistry, canvasToAsciiCell, clipEndpoints, clipPoint, coerceTemplateParams, comparisonBar, computeDiagramLayout, computeDrawingLayout, computeLayoutLayers, connectorPath, contentBlock, countBlocks, coverBlock, createAccentLayers, cssFilterForTreatment, dataTable, dateEvent, definitionCard, deriveTemplateInputs, detectAsciiDiagram, detectAsciiTimeline, detectTree, diagramBlock, docToMarkdown, drawingBlock, expandCoverBlock, expandDocBlocks, expandPersistentLayers, extractBlockquoteText, extractBodyPlainText, extractEmbeddedVideos, extractFirstEmbeddedVideo, extractFirstImage, extractImages, extractListItems, extractRichListItems, extractTableData, extractTableFromContents, factCard, fallbackBlockLayers, findFirstList, findFirstTable, fitDiagramLabel, flattenBlocks, flattenRenderableBlocks, fullBleedQuote, getAccentLayout, getAnimationProgress, getAnimationStyle, getAvailableTemplates, getBlockBodyText, getBlockDepth, getBlockMediaLayoutPolicy, getDefaultAnimation, getDefaultAnimationDuration, getOverlayOpacity, getPersistentLayersFromTheme, getPinnedBlockMeta, getTemplateHint, getThemeFont, getTransitionClass, hasTemplate, imageWithCaption, isAsciiDiagramFence, isAsciiTimelineFence, isContainerTemplate, isDataFence, isEligibleAsciiFenceLang, isEligibleAsciiTimelineFenceLang, isEligibleTreeFenceLang, isExplicitDiagramLang, isExplicitTimelineLang, isExplicitTreeLang, isRepairableDiagram, isShapeName, isTemplatedPageBlock, isTreeFence, isWrappedFlowTimelineSource, layoutBlock, leftFeature, lineStyleDasharray, lintTemplateParams, listBlock, mapBlock, markdownToDoc, markerPath, materializeBlockLayers, nearestSnapPoint, normalizeShapeKind, pageStyleDataAttributes, parseAsciiDiagram, parseAsciiTimeline, parseAsciiTimelineWithStats, parseDataFence, parseTree, parseWrappedFlowTimeline, parseYamlSubset, photoGrid, pullQuote, quoteBlock, readCustomTemplatesFromFrontmatter, readCustomThemesFromFrontmatter, renderAsciiDiagram, renderAsciiTimeline, renderTree, repairAsciiDiagram, replaceDataFence, resolveAudioMapping, resolveColorScheme, resolvePageBlock, resolvePersistentLayers, resolveTemplateName, resolveThemeForDoc, rightFeature, scaleAnimationDuration, scoreTextSimilarity, sectionExtractors, sectionHeader, shapePath, shouldUseShadow, snapEndpoints, snapPoints, statHighlight, templateRegistry, themeWantsAmbientMotion, themedEntrance, themedFontSize, themedImageTreatment, themedScrim, themedSurfaceGradient, timelineBlock, titleBlock, treeBlock, treeFromMarkdownList, treeFromTemplateData, treeToTemplateData, twoColumn, validateMarkdownDoc, validateMarkdownSource, videoPullQuote, videoWithCaption, wrapWithPersistentLayers, writeCustomTemplatesToFrontmatter, writeCustomThemesToFrontmatter } from './doc/index.js';
|
|
9
|
-
export { M as MaterializePageSectionOptions, a as MaterializePageSectionsOptions, P as PageMedia, b as PageRichText, c as PageSection, d as PageSectionDiagnostic, e as PageSectionItem, f as PageSectionMaterialization, g as PageSectionSource, h as PageSpatialKind, i as PageTransformHints, m as materializePageSection, j as materializePageSections, r as resolvePageStyle } from './materializePageSection-
|
|
7
|
+
export { E as EditorLayerMeta, I as ImageEditCanvas, a as ImageEditDoc, b as ImageEditLayer, c as ImageEditLayerKind, d as ImageEditMeta } from './ImageEditDoc-Cq2a3c30.js';
|
|
8
|
+
export { ASCII_CHAR_H, ASCII_CHAR_W, ASCII_DIAGRAM_FENCE_LANGS, ASCII_TIMELINE_FENCE_LANGS, AccentLayout, AsciiDiagram, AsciiDiagramDetection, AsciiDiagramEdge, AsciiDiagramNode, AsciiTimeline, AsciiTimelineDetection, AsciiTimelineEvent, AsciiTimelineLink, AsciiTimelineMarker, AsciiTimelineSide, AsciiTimelineStats, AsciiTimelineStyle, AsciiTimelineTrack, AudioSegmentTiming, BASE_INPUT_DESCRIPTORS, BLOCK_MEDIA_LAYOUT_POLICIES, BlockLayerMaterialization, BlockMediaLayoutPolicy, BuiltInTemplateName, CONTAINER_TEMPLATES, COVER_SLIDE_FRONTMATTER_KEYS, COVER_SLIDE_TEMPLATE_OPTIONS, ClipBox, ConnectorAnchor, ConnectorPort, ConnectorRouting, ConnectorSnapPoint, CoverBlockInput, CoverSlidePlayback, CoverSlideSettings, CoverSlideTemplate, CoverSlideTemplateOption, DEFAULT_COVER_SLIDE_SETTINGS, DEFAULT_LAYOUT, DIAGRAM_LABEL_HORIZONTAL_PADDING, DIAGRAM_LABEL_LINE_HEIGHT, DIAGRAM_LABEL_MIN_FONT_SIZE, DIAGRAM_LABEL_VERTICAL_PADDING, DataFenceParseResult, DeriveTemplateInputsOptions, DetectAsciiTimelineOptions, DiagramEdge, DiagramLabelFit, DiagramLayout, DiagramLayoutOptions, DiagramNodePosition, DrawingConnector, DrawingLayout, DrawingLayoutOptions, DrawingShape, DrawingShapeKind, EmbeddedVideo, ExpandDocBlocksOptions, ExtractedTableData, FirstImage, InputCoercion, LayerMaterializationDiagnostic, LayerMaterializationFailureMode, LayerMaterializationSource, LayoutLayerDefaults, LayoutLayersResult, MAX_COVER_SLIDE_DURATION_SECONDS, MarkdownToDocOptions, MarkdownValidationResult, MaterializeBlockLayersOptions, NarrationResolution, NativeMediaLayout, NoMediaLayout, PAGE_BASE_CSS, PATH_SHAPE_KINDS, PageSectionContext, PageSectionDraft, RenderAsciiDiagramOptions, RenderAsciiTimelineOptions, RenderTreeOptions, RepairResult, ResolvedPageBlock, RichListItem, RuntimeTemplateRegistry, SHAPE_NAMES, SectionExtractor, SupplementalMediaLayoutVariant, SupplementalMediaShape, SupplementalMediaVariantMatrix, TABLE_FED_TEMPLATES, TEMPLATE_AUTHORING_METADATA, TEMPLATE_INPUT_DESCRIPTORS, TEMPLATE_METADATA, TREE_FENCE_LANGS, TemplateAuthoringMetadata, TemplateAuthoringRole, TemplateBodyPolicy, TemplateInputDescriptor, TemplateMediaOwnership, TemplateMetadata, TemplateParamFinding, Tree, TreeDetection, TreeItem, TreeNode, UnconsumedMediaBehavior, ValidateOptions, adjustY, anchorPoint, applyNarrationTiming, applyRenderStyleToLayers, asciiCellToCanvas, asciiDiagramFromBlocks, asciiDiagramFromTemplateData, asciiDiagramToTemplateData, asciiTimelineToTemplateData, autoTemplatePreservesContent, bigText, buildPageCss, buildPageCssVars, buildRegistry, canvasToAsciiCell, clipEndpoints, clipPoint, coerceTemplateParams, comparisonBar, computeDiagramLayout, computeDrawingLayout, computeLayoutLayers, connectorPath, contentBlock, countBlocks, coverBlock, createAccentLayers, cssFilterForTreatment, dataTable, dateEvent, definitionCard, deriveTemplateInputs, detectAsciiDiagram, detectAsciiTimeline, detectTree, diagramBlock, docToMarkdown, drawingBlock, expandCoverBlock, expandDocBlocks, expandPersistentLayers, extractBlockquoteText, extractBodyPlainText, extractEmbeddedVideos, extractFirstEmbeddedVideo, extractFirstImage, extractImages, extractListItems, extractRichListItems, extractTableData, extractTableFromContents, factCard, fallbackBlockLayers, findFirstList, findFirstTable, fitBigTextSize, fitDiagramLabel, flattenBlocks, flattenRenderableBlocks, fullBleedQuote, getAccentLayout, getAnimationProgress, getAnimationStyle, getAvailableTemplates, getBlockBodyText, getBlockDepth, getBlockMediaLayoutPolicy, getDefaultAnimation, getDefaultAnimationDuration, getOverlayOpacity, getPersistentLayersFromTheme, getPinnedBlockMeta, getTemplateHint, getThemeFont, getTransitionClass, hasTemplate, imageWithCaption, isAsciiDiagramFence, isAsciiTimelineFence, isContainerTemplate, isDataFence, isEligibleAsciiFenceLang, isEligibleAsciiTimelineFenceLang, isEligibleTreeFenceLang, isExplicitDiagramLang, isExplicitTimelineLang, isExplicitTreeLang, isRepairableDiagram, isShapeName, isTemplatedPageBlock, isTreeFence, isWrappedFlowTimelineSource, layoutBlock, leftFeature, lineStyleDasharray, lintTemplateParams, listBlock, mapBlock, markdownToDoc, markerPath, materializeBlockLayers, nearestSnapPoint, normalizeShapeKind, pageStyleDataAttributes, parseAsciiDiagram, parseAsciiTimeline, parseAsciiTimelineWithStats, parseDataFence, parseTree, parseWrappedFlowTimeline, parseYamlSubset, photoGrid, pullQuote, quoteBlock, readCustomTemplatesFromFrontmatter, readCustomThemesFromFrontmatter, renderAsciiDiagram, renderAsciiTimeline, renderTree, repairAsciiDiagram, replaceDataFence, resolveAudioMapping, resolveColorScheme, resolveCoverSlideSettings, resolvePageBlock, resolvePersistentLayers, resolveTemplateName, resolveThemeForDoc, rightFeature, scaleAnimationDuration, scoreTextSimilarity, sectionExtractors, sectionHeader, shapePath, shouldUseShadow, snapEndpoints, snapPoints, statHighlight, templateRegistry, themeWantsAmbientMotion, themedEntrance, themedFontSize, themedImageTreatment, themedScrim, themedSurfaceGradient, timelineBlock, titleBlock, treeBlock, treeFromMarkdownList, treeFromTemplateData, treeToTemplateData, twoColumn, validateMarkdownDoc, validateMarkdownSource, videoPullQuote, videoWithCaption, wrapWithPersistentLayers, writeCustomTemplatesToFrontmatter, writeCustomThemesToFrontmatter } from './doc/index.js';
|
|
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-DgOFYge7.js';
|
|
10
10
|
export { calculateBearing, decodeGeohash, encodeGeohash, geohashOverlapsBounds, geohashToHierarchicalPath, getGeohash4Neighbors, getGeohashPath, getGeohashPrefix, getNeighbors, haversineDistance } from './spatial/index.js';
|
|
11
11
|
export { LocalForageAdapter, LocalForageAdapterOptions, LocalStorageAdapter, MemoryStorageAdapter, ScopedContentContainer, StorageAdapter, createMediaProviderFromContainer, scopeContainer } from './storage/index.js';
|
|
12
12
|
export { C as ContentContainer, a as ContentEntry, M as MemoryContentContainer, f as findDocumentPath } from './ContentContainer-B2w9sUoL.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-7Z5T3CUI.js";
|
|
27
27
|
import {
|
|
28
28
|
DEFAULT_TRANSFORM_STYLE_ID,
|
|
29
29
|
analyzeBlocks,
|
|
@@ -138,6 +138,10 @@ import {
|
|
|
138
138
|
haversineDistance
|
|
139
139
|
} from "./chunk-R3KTTOMS.js";
|
|
140
140
|
import {
|
|
141
|
+
COVER_SLIDE_FRONTMATTER_KEYS,
|
|
142
|
+
COVER_SLIDE_TEMPLATE_OPTIONS,
|
|
143
|
+
DEFAULT_COVER_SLIDE_SETTINGS,
|
|
144
|
+
MAX_COVER_SLIDE_DURATION_SECONDS,
|
|
141
145
|
PAGE_BASE_CSS,
|
|
142
146
|
applyNarrationTiming,
|
|
143
147
|
buildPageCss,
|
|
@@ -158,6 +162,7 @@ import {
|
|
|
158
162
|
renderTree,
|
|
159
163
|
repairAsciiDiagram,
|
|
160
164
|
resolveAudioMapping,
|
|
165
|
+
resolveCoverSlideSettings,
|
|
161
166
|
resolvePageBlock,
|
|
162
167
|
resolvePageStyle,
|
|
163
168
|
resolveThemeForDoc,
|
|
@@ -165,7 +170,7 @@ import {
|
|
|
165
170
|
sectionExtractors,
|
|
166
171
|
validateMarkdownDoc,
|
|
167
172
|
validateMarkdownSource
|
|
168
|
-
} from "./chunk-
|
|
173
|
+
} from "./chunk-NNL3HHKA.js";
|
|
169
174
|
import {
|
|
170
175
|
ASCII_CHAR_H,
|
|
171
176
|
ASCII_CHAR_W,
|
|
@@ -188,6 +193,7 @@ import {
|
|
|
188
193
|
asciiDiagramToTemplateData,
|
|
189
194
|
asciiTimelineToTemplateData,
|
|
190
195
|
autoTemplatePreservesContent,
|
|
196
|
+
bigText,
|
|
191
197
|
buildNarrationScript,
|
|
192
198
|
buildNarrationTimingJson,
|
|
193
199
|
buildRegistry,
|
|
@@ -226,6 +232,7 @@ import {
|
|
|
226
232
|
fallbackBlockLayers,
|
|
227
233
|
findFirstList,
|
|
228
234
|
findFirstTable,
|
|
235
|
+
fitBigTextSize,
|
|
229
236
|
fitDiagramLabel,
|
|
230
237
|
flattenBlocks,
|
|
231
238
|
flattenRenderableBlocks,
|
|
@@ -291,7 +298,7 @@ import {
|
|
|
291
298
|
wrapWithPersistentLayers,
|
|
292
299
|
writeCustomTemplatesToFrontmatter,
|
|
293
300
|
writeCustomThemesToFrontmatter
|
|
294
|
-
} from "./chunk-
|
|
301
|
+
} from "./chunk-GSJEGMKF.js";
|
|
295
302
|
import {
|
|
296
303
|
PATH_SHAPE_KINDS,
|
|
297
304
|
anchorPoint,
|
|
@@ -434,7 +441,7 @@ import {
|
|
|
434
441
|
stringifyMarkdown,
|
|
435
442
|
unwrapMarkdownSource,
|
|
436
443
|
wrapMarkdownSource
|
|
437
|
-
} from "./chunk-
|
|
444
|
+
} from "./chunk-HXMV7WQB.js";
|
|
438
445
|
import {
|
|
439
446
|
DEFAULT_MARKDOWN_SAFETY_LIMITS,
|
|
440
447
|
MarkdownLimitError,
|
|
@@ -446,7 +453,7 @@ import {
|
|
|
446
453
|
resolveMarkdownSafetyLimits,
|
|
447
454
|
serializePandocAttributes,
|
|
448
455
|
toMdast
|
|
449
|
-
} from "./chunk-
|
|
456
|
+
} from "./chunk-6MVWWZHL.js";
|
|
450
457
|
import {
|
|
451
458
|
BLOCK_META_KEY_DESCRIPTORS,
|
|
452
459
|
CONTAINER_TEMPLATES,
|
|
@@ -464,7 +471,7 @@ import {
|
|
|
464
471
|
splitKeyValueToken,
|
|
465
472
|
tokenizeAttrTokens,
|
|
466
473
|
unquoteAttrValue
|
|
467
|
-
} from "./chunk-
|
|
474
|
+
} from "./chunk-NBKAXPSX.js";
|
|
468
475
|
import {
|
|
469
476
|
ICONS,
|
|
470
477
|
canonicalIconToken,
|
|
@@ -528,8 +535,11 @@ export {
|
|
|
528
535
|
BLOCK_MEDIA_LAYOUT_POLICIES,
|
|
529
536
|
BLOCK_META_KEY_DESCRIPTORS,
|
|
530
537
|
CONTAINER_TEMPLATES,
|
|
538
|
+
COVER_SLIDE_FRONTMATTER_KEYS,
|
|
539
|
+
COVER_SLIDE_TEMPLATE_OPTIONS,
|
|
531
540
|
DARK_SURFACE,
|
|
532
541
|
DEFAULT_ALIGN_CONFIG,
|
|
542
|
+
DEFAULT_COVER_SLIDE_SETTINGS,
|
|
533
543
|
DEFAULT_DOC_FONT,
|
|
534
544
|
DEFAULT_FEATURE_CONFIG,
|
|
535
545
|
DEFAULT_INTERACTIVE_RESOURCE_POLICY,
|
|
@@ -567,6 +577,7 @@ export {
|
|
|
567
577
|
LocalForageAdapter,
|
|
568
578
|
LocalStorageAdapter,
|
|
569
579
|
MARKDOWN_SOURCE_TRANSFORMS,
|
|
580
|
+
MAX_COVER_SLIDE_DURATION_SECONDS,
|
|
570
581
|
MarkdownLimitError,
|
|
571
582
|
MemoryContentContainer,
|
|
572
583
|
MemoryStorageAdapter,
|
|
@@ -631,6 +642,7 @@ export {
|
|
|
631
642
|
assertTheme,
|
|
632
643
|
autoTemplatePreservesContent,
|
|
633
644
|
bandpassRun,
|
|
645
|
+
bigText,
|
|
634
646
|
buildGoogleFontsUrl,
|
|
635
647
|
buildImageEditVersionPath,
|
|
636
648
|
buildJsonFormTokens,
|
|
@@ -735,6 +747,7 @@ export {
|
|
|
735
747
|
findFirstList,
|
|
736
748
|
findFirstTable,
|
|
737
749
|
findNodesByType,
|
|
750
|
+
fitBigTextSize,
|
|
738
751
|
fitDiagramLabel,
|
|
739
752
|
flattenBlocks,
|
|
740
753
|
flattenRenderableBlocks,
|
|
@@ -899,6 +912,7 @@ export {
|
|
|
899
912
|
resolveAudioMapping,
|
|
900
913
|
resolveBlockTransition,
|
|
901
914
|
resolveColorScheme,
|
|
915
|
+
resolveCoverSlideSettings,
|
|
902
916
|
resolveFlag,
|
|
903
917
|
resolveFontFamily,
|
|
904
918
|
resolveIcon,
|
package/dist/jsonForm/index.d.ts
CHANGED
package/dist/markdown/index.js
CHANGED
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
stringifyMarkdown,
|
|
15
15
|
unwrapMarkdownSource,
|
|
16
16
|
wrapMarkdownSource
|
|
17
|
-
} from "../chunk-
|
|
17
|
+
} from "../chunk-HXMV7WQB.js";
|
|
18
18
|
import {
|
|
19
19
|
DEFAULT_MARKDOWN_SAFETY_LIMITS,
|
|
20
20
|
MarkdownLimitError,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
resolveMarkdownSafetyLimits,
|
|
27
27
|
serializePandocAttributes,
|
|
28
28
|
toMdast
|
|
29
|
-
} from "../chunk-
|
|
29
|
+
} from "../chunk-6MVWWZHL.js";
|
|
30
30
|
import {
|
|
31
31
|
BLOCK_META_KEY_DESCRIPTORS,
|
|
32
32
|
KNOWN_BLOCK_META_KEYS,
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
splitKeyValueToken,
|
|
41
41
|
tokenizeAttrTokens,
|
|
42
42
|
unquoteAttrValue
|
|
43
|
-
} from "../chunk-
|
|
43
|
+
} from "../chunk-NBKAXPSX.js";
|
|
44
44
|
import "../chunk-7N4G32LG.js";
|
|
45
45
|
import {
|
|
46
46
|
countNodes,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { k as Block, aF as PageSectionKind, aD as PageEmphasis, bj as ThemeColorScheme, aB as PageBackground, bh as Theme, bL as ViewportConfig, w as CustomTemplateDefinition, b5 as StartBlockConfig, O as Doc, bk as ThemePageStyle } from './Doc-DBadkoP4.js';
|
|
2
2
|
import { M as MarkdownBlockNode } from './types-CcrDFdWH.js';
|
|
3
3
|
|
|
4
4
|
/**
|
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-7Z5T3CUI.js";
|
|
27
27
|
import {
|
|
28
28
|
buildNarrationScript,
|
|
29
29
|
buildNarrationTimingJson,
|
|
@@ -33,12 +33,12 @@ import {
|
|
|
33
33
|
wordIndexAtChar,
|
|
34
34
|
wordIndexAtTime,
|
|
35
35
|
wordPosAtExpectedSyllables
|
|
36
|
-
} from "../chunk-
|
|
36
|
+
} from "../chunk-GSJEGMKF.js";
|
|
37
37
|
import "../chunk-PUS54YU6.js";
|
|
38
38
|
import "../chunk-CUYHFOFL.js";
|
|
39
39
|
import "../chunk-SBAX4ZPO.js";
|
|
40
40
|
import "../chunk-BAOV476U.js";
|
|
41
|
-
import "../chunk-
|
|
41
|
+
import "../chunk-NBKAXPSX.js";
|
|
42
42
|
import "../chunk-O7JILDEF.js";
|
|
43
43
|
import "../chunk-4VOD55SX.js";
|
|
44
44
|
import "../chunk-XOFT65EX.js";
|