@bendyline/squisq 2.13.4 → 2.13.6
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-DnRFE0EI.d.ts → Doc-BQUVDooL.d.ts} +9 -0
- package/dist/{ImageEditDoc-CadNz387.d.ts → ImageEditDoc-glA5UUau.d.ts} +1 -1
- package/dist/{chunk-DRHJD6U4.js → chunk-4O26IMVA.js} +151 -11
- package/dist/{chunk-FIPRGGXD.js → chunk-B2MOGSWY.js} +331 -1
- package/dist/{chunk-D3JQMZUT.js → chunk-CPD3MFX7.js} +1 -1
- package/dist/{chunk-POZCKPCO.js → chunk-CSR6VCSJ.js} +2 -1
- package/dist/{chunk-BITSNRJH.js → chunk-FGN4OZVK.js} +5 -5
- package/dist/{chunk-JFJZ4NS6.js → chunk-FJNTG3VZ.js} +2 -2
- package/dist/{chunk-6NWVLLMI.js → chunk-KVEOD57Z.js} +5 -0
- package/dist/{chunk-ISVJ42I3.js → chunk-SG3HXPMF.js} +3 -0
- package/dist/{chunk-J2NFT7GH.js → chunk-VQXOX3YN.js} +174 -39
- package/dist/doc/index.d.ts +10 -6
- package/dist/doc/index.js +6 -6
- package/dist/fence/index.d.ts +1 -1
- package/dist/generate/index.d.ts +1 -1
- package/dist/imageEdit/index.d.ts +3 -3
- package/dist/index.d.ts +7 -7
- package/dist/index.js +17 -9
- package/dist/jsonForm/index.d.ts +1 -1
- package/dist/jsonForm/index.js +1 -1
- package/dist/markdown/index.d.ts +6 -1
- package/dist/markdown/index.js +5 -3
- package/dist/{materializePageSection-D84uA6Vk.d.ts → materializePageSection-_ftXlwvB.d.ts} +1 -1
- package/dist/mediaEdit/index.d.ts +2 -2
- package/dist/narration/index.d.ts +60 -3
- package/dist/narration/index.js +8 -4
- package/dist/recommend/index.js +2 -2
- package/dist/schemas/index.d.ts +4 -4
- package/dist/schemas/index.js +1 -1
- package/dist/{themeLibrary-in0fafp4.d.ts → themeLibrary-D6GK29l3.d.ts} +1 -1
- package/dist/timing/index.d.ts +1 -1
- package/dist/transform/index.d.ts +25 -4
- package/dist/transform/index.js +7 -5
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
export { B as BUILD_EFFECTS, a as BUILD_MODES, b as BUILD_PARAM_KEYS, c as BUILD_PREVIOUS, d as BuildAdvance, e as BuildCursor, f as BuildSpec, g as BuildStep, h as BuildTiming, D as DEFAULT_MARKDOWN_SAFETY_LIMITS, i as DEFAULT_TRANSITION_DURATION_SECONDS, H as HeadingAttributes, j as HeadingTemplateAnnotation, k as HtmlComment, l as HtmlElement, m as HtmlNode, n as HtmlText, M as MarkdownBlockNode, o as MarkdownBlockquote, p as MarkdownBreak, q as MarkdownCodeBlock, r as MarkdownContainerDirective, s as MarkdownDefinitionDescription, t as MarkdownDefinitionList, u as MarkdownDefinitionTerm, v as MarkdownDocument, w as MarkdownEmphasis, x as MarkdownFootnoteDefinition, y as MarkdownFootnoteReference, z as MarkdownHeading, A as MarkdownHtmlBlock, C as MarkdownImage, E as MarkdownImageReference, F as MarkdownInlineCode, G as MarkdownInlineHtml, I as MarkdownInlineIcon, J as MarkdownInlineMath, K as MarkdownInlineNode, L as MarkdownLeafDirective, N as MarkdownLimitError, O as MarkdownLink, P as MarkdownLinkDefinition, Q as MarkdownLinkReference, R as MarkdownList, S as MarkdownListItem, T as MarkdownMathBlock, U as MarkdownMention, V as MarkdownNode, W as MarkdownParagraph, X as MarkdownPoint, Y as MarkdownSafetyLimits, Z as MarkdownSourcePosition, _ as MarkdownStrikethrough, $ as MarkdownStrong, a0 as MarkdownSubscript, a1 as MarkdownSuperscript, a2 as MarkdownTable, a3 as MarkdownTableCell, a4 as MarkdownTableRow, a5 as MarkdownText, a6 as MarkdownTextDirective, a7 as MarkdownThematicBreak, a8 as ParseOptions, a9 as StringifyOptions, aa as TRANSITION_DIRECTIONS, ab as TRANSITION_TYPES, ac as Transition, ad as TransitionDirection, ae as TransitionType, af as assertMarkdownDocumentWithinLimits, ag as assertMarkdownSourceWithinLimits, ah as buildSpecParams, ai as isTransitionType, aj as normalizeTransitionDirection, ak as normalizeTransitionType, al as parseBuildSpec, am as recordBuildAdvance, an as resolveBlockTransition, ao as resolveMarkdownSafetyLimits, ap as resolveTransitionDuration } from './types-Zk8qYuaT.js';
|
|
2
2
|
export { B as BoundingBox, C as Coordinates } from './Types-sh2VRxfo.js';
|
|
3
|
-
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, n as BottomFeatureInput, C as CaptionPhrase, o as CaptionTrack, p as CaptionWord, q as ChartBaseFields, r as ChartTemplateInput, s as ColorScheme, t as ColumnChartInput, u as ComparisonBarInput, v as ContentBlockInput, w as CornerBrandingConfig, x as CountUpSpec, y as CreateTemplateContextOptions, z as CustomTemplateDefinition, D as CustomTemplateLayer, E as CustomTemplateValidationError, F as CustomTemplateValidationResult, G as DARK_SURFACE, H as DEFAULT_DOC_FONT, I as DEFAULT_TITLE_FONT, J as DataTableInput, K as DateEventInput, L as DeepPartial, M as DefinitionCardInput, N as DiagramBlockInput, O as DiagramEdgeAnchor, P as DiagramTemplateEdge, Q as DiagramTemplateNode, R as Doc, S as DocBlock, T as DocDiagnostic, U as DonutChartInput, V as DrawingBlockInput, W as FRONTMATTER_CUSTOM_TEMPLATES_KEY, X as FRONTMATTER_CUSTOM_THEMES_KEY, Y as FRONTMATTER_MOTION_KEY, Z as FactCardInput, _ as FontFamily, $ as FontFamilyKind, a0 as FullBleedQuoteInput, a1 as GradientBackgroundConfig, a2 as ImageBackgroundConfig, a3 as ImageLayer, a4 as ImageTreatment, a5 as ImageWithCaptionInput, a6 as LIGHT_SURFACE, a7 as Layer, a8 as LayerRepeat, a9 as LayoutHints, aa as LeftFeatureInput, ab as LineChartInput, ac as LinearGradient, ad as ListBlockInput, ae as MOTION_PROFILES, af as MapBlockInput, ag as MapLayer, ah as MapMarker, ai as MapTileStyle, aj as MarkerStyle, ak as MediaClip, al as MediaCrop, am as MediaCut, an as MediaEdits, ao as MediaOnlyInput, ap as MediaScheduleOptions, aq as MermaidLayer, ar as MotionEntrance, as as MotionOrigin, at as MotionProfile, au as MotionProfileName, av as MotionSpec, aw as MotionState, ax as PAGE_ACCENT_STRATEGIES, ay as PAGE_BACKGROUNDS, az as PAGE_BACKGROUND_RHYTHMS, aA as PAGE_DESIGN_FAMILIES, aB as PAGE_DIVIDERS, aC as PAGE_EMPHASES, aD as PAGE_EYEBROWS, aE as PAGE_HEADING_CASES, aF as PAGE_HEADING_SCALES, aG as PAGE_HEADING_UNDERLINES, aH as PAGE_HERO_STYLES, aI as PAGE_IMAGE_FRAMINGS, aJ as PAGE_NUMERAL_STYLES, aK as PAGE_PATTERNS, aL as PAGE_QUOTE_MARKS, aM as PAGE_SECTION_KINDS, aN as PAGE_SECTION_SPACINGS, aO as PAGE_SHADOWS, aP as PAGE_VARIANTS, aQ as PageAccentRotation, aR as PageBackground, aS as PageDesignFamily, aT as PageEmphasis, aU as PageHeadingTreatment, aV as PageSectionKind, aW as PageSectionOverride, aX as PageTokens, aY as PageVariant, aZ as PathLayer, a_ as PatternBackgroundConfig, a$ as PersistentLayer, b0 as PersistentLayerConfig, b1 as PersistentLayerTemplate, b2 as PersistentLayerTemplateConfig, b3 as PersistentLayerTemplateType, b4 as PhotoGridInput, b5 as PieChartInput, b6 as PipStyle, b7 as Position, b8 as ProgressIndicatorConfig, b9 as PromotedBodyAnnotation, ba as PullQuoteInput, bb as QuoteBlockInput, bc as RawLayersInput, bd as RenderStyle, be as RightFeatureInput, bf as ScatterChartInput, bg as ScheduledClip, bh as SectionHeaderInput, bi as ShapeFilter, bj as ShapeLayer, bk as ShapePattern, bl as SolidBackgroundConfig, bm as StartBlockConfig, bn as StatHighlightInput, bo as SurfaceScheme, bp as SvgLayer, bq as THEME_SCHEMA_VERSION, br as TableLayer, bs as TableLayerStyle, bt as TemplateBlock, bu as TemplateContext, bv as TemplateFunction, bw as TemplateRegistry, bx as TextFlow, by as TextLayer, bz as TextParagraph, bA as TextParagraphList, bB as TextStyle, bC as Theme, bD as ThemeColorPalette, bE as ThemeColorScheme, bF as ThemePageStyle, bG as ThemeRegistry, bH as ThemeSchemaVersion, bI as ThemeSeedColors, bJ as ThemeStyle, bK as ThemeTypography, bL as TimelineBlockInput, bM as TimelineTemplateEvent, bN as TimelineTemplateLink, bO as TimelineTemplateTrack, bP as TitleBlockInput, bQ as TitleCaptionConfig, bR as TopFeatureInput, bS as TranscriptBlockInput, bT as TreeBlockInput, bU as TreeLayer, bV as TreeLayerItem, bW as TreeLayerStyle, bX as TreeTemplateItem, bY as TwoColumnInput, bZ as VIEWPORT_PRESETS, b_ as VideoEmbedLayer, b$ as VideoLayer, c0 as VideoPipPosition, c1 as VideoPipShape, c2 as VideoPipSize, c3 as VideoPlacement, c4 as VideoPresentation, c5 as VideoPullQuoteInput, c6 as VideoWithCaptionInput, c7 as ViewportConfig, c8 as ViewportOrientation, c9 as ViewportPreset, ca as VignetteConfig, cb as applySurface, cc as calculateDuration, cd as calculateFontScale, ce as createTemplateContext, cf as createTheme, cg as createThemeRegistry, ch as getAspectRatioString, ci as getBlockAtTime, cj as getCaptionAtTime, ck as getDocPlaybackDuration, cl as getLayoutHints, cm as getSafeTextBounds, cn as getSegmentAtTime, co as getTwoColumnPositions, cp as getViewport, cq as getViewportOrientation, cr as isCustomTemplateDefinition, cs as isMotionProfileName, ct as isPersistentLayerTemplate, cu as isTemplateBlock, cv as layoutScaledFontSize, cw as readFrontmatterMotion, cx as resolveMediaSchedule, cy as resolveMotionForDoc, cz as resolveMotionProfile, cA as scaledFontSize, cB as scheduleMediaClip, cC as validateCustomTemplateDefinition } from './Doc-
|
|
3
|
+
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, n as BottomFeatureInput, C as CaptionPhrase, o as CaptionTrack, p as CaptionWord, q as ChartBaseFields, r as ChartTemplateInput, s as ColorScheme, t as ColumnChartInput, u as ComparisonBarInput, v as ContentBlockInput, w as CornerBrandingConfig, x as CountUpSpec, y as CreateTemplateContextOptions, z as CustomTemplateDefinition, D as CustomTemplateLayer, E as CustomTemplateValidationError, F as CustomTemplateValidationResult, G as DARK_SURFACE, H as DEFAULT_DOC_FONT, I as DEFAULT_TITLE_FONT, J as DataTableInput, K as DateEventInput, L as DeepPartial, M as DefinitionCardInput, N as DiagramBlockInput, O as DiagramEdgeAnchor, P as DiagramTemplateEdge, Q as DiagramTemplateNode, R as Doc, S as DocBlock, T as DocDiagnostic, U as DonutChartInput, V as DrawingBlockInput, W as FRONTMATTER_CUSTOM_TEMPLATES_KEY, X as FRONTMATTER_CUSTOM_THEMES_KEY, Y as FRONTMATTER_MOTION_KEY, Z as FactCardInput, _ as FontFamily, $ as FontFamilyKind, a0 as FullBleedQuoteInput, a1 as GradientBackgroundConfig, a2 as ImageBackgroundConfig, a3 as ImageLayer, a4 as ImageTreatment, a5 as ImageWithCaptionInput, a6 as LIGHT_SURFACE, a7 as Layer, a8 as LayerRepeat, a9 as LayoutHints, aa as LeftFeatureInput, ab as LineChartInput, ac as LinearGradient, ad as ListBlockInput, ae as MOTION_PROFILES, af as MapBlockInput, ag as MapLayer, ah as MapMarker, ai as MapTileStyle, aj as MarkerStyle, ak as MediaClip, al as MediaCrop, am as MediaCut, an as MediaEdits, ao as MediaOnlyInput, ap as MediaScheduleOptions, aq as MermaidLayer, ar as MotionEntrance, as as MotionOrigin, at as MotionProfile, au as MotionProfileName, av as MotionSpec, aw as MotionState, ax as PAGE_ACCENT_STRATEGIES, ay as PAGE_BACKGROUNDS, az as PAGE_BACKGROUND_RHYTHMS, aA as PAGE_DESIGN_FAMILIES, aB as PAGE_DIVIDERS, aC as PAGE_EMPHASES, aD as PAGE_EYEBROWS, aE as PAGE_HEADING_CASES, aF as PAGE_HEADING_SCALES, aG as PAGE_HEADING_UNDERLINES, aH as PAGE_HERO_STYLES, aI as PAGE_IMAGE_FRAMINGS, aJ as PAGE_NUMERAL_STYLES, aK as PAGE_PATTERNS, aL as PAGE_QUOTE_MARKS, aM as PAGE_SECTION_KINDS, aN as PAGE_SECTION_SPACINGS, aO as PAGE_SHADOWS, aP as PAGE_VARIANTS, aQ as PageAccentRotation, aR as PageBackground, aS as PageDesignFamily, aT as PageEmphasis, aU as PageHeadingTreatment, aV as PageSectionKind, aW as PageSectionOverride, aX as PageTokens, aY as PageVariant, aZ as PathLayer, a_ as PatternBackgroundConfig, a$ as PersistentLayer, b0 as PersistentLayerConfig, b1 as PersistentLayerTemplate, b2 as PersistentLayerTemplateConfig, b3 as PersistentLayerTemplateType, b4 as PhotoGridInput, b5 as PieChartInput, b6 as PipStyle, b7 as Position, b8 as ProgressIndicatorConfig, b9 as PromotedBodyAnnotation, ba as PullQuoteInput, bb as QuoteBlockInput, bc as RawLayersInput, bd as RenderStyle, be as RightFeatureInput, bf as ScatterChartInput, bg as ScheduledClip, bh as SectionHeaderInput, bi as ShapeFilter, bj as ShapeLayer, bk as ShapePattern, bl as SolidBackgroundConfig, bm as StartBlockConfig, bn as StatHighlightInput, bo as SurfaceScheme, bp as SvgLayer, bq as THEME_SCHEMA_VERSION, br as TableLayer, bs as TableLayerStyle, bt as TemplateBlock, bu as TemplateContext, bv as TemplateFunction, bw as TemplateRegistry, bx as TextFlow, by as TextLayer, bz as TextParagraph, bA as TextParagraphList, bB as TextStyle, bC as Theme, bD as ThemeColorPalette, bE as ThemeColorScheme, bF as ThemePageStyle, bG as ThemeRegistry, bH as ThemeSchemaVersion, bI as ThemeSeedColors, bJ as ThemeStyle, bK as ThemeTypography, bL as TimelineBlockInput, bM as TimelineTemplateEvent, bN as TimelineTemplateLink, bO as TimelineTemplateTrack, bP as TitleBlockInput, bQ as TitleCaptionConfig, bR as TopFeatureInput, bS as TranscriptBlockInput, bT as TreeBlockInput, bU as TreeLayer, bV as TreeLayerItem, bW as TreeLayerStyle, bX as TreeTemplateItem, bY as TwoColumnInput, bZ as VIEWPORT_PRESETS, b_ as VideoEmbedLayer, b$ as VideoLayer, c0 as VideoPipPosition, c1 as VideoPipShape, c2 as VideoPipSize, c3 as VideoPlacement, c4 as VideoPresentation, c5 as VideoPullQuoteInput, c6 as VideoWithCaptionInput, c7 as ViewportConfig, c8 as ViewportOrientation, c9 as ViewportPreset, ca as VignetteConfig, cb as applySurface, cc as calculateDuration, cd as calculateFontScale, ce as createTemplateContext, cf as createTheme, cg as createThemeRegistry, ch as getAspectRatioString, ci as getBlockAtTime, cj as getCaptionAtTime, ck as getDocPlaybackDuration, cl as getLayoutHints, cm as getSafeTextBounds, cn as getSegmentAtTime, co as getTwoColumnPositions, cp as getViewport, cq as getViewportOrientation, cr as isCustomTemplateDefinition, cs as isMotionProfileName, ct as isPersistentLayerTemplate, cu as isTemplateBlock, cv as layoutScaledFontSize, cw as readFrontmatterMotion, cx as resolveMediaSchedule, cy as resolveMotionForDoc, cz as resolveMotionProfile, cA as scaledFontSize, cB as scheduleMediaClip, cC as validateCustomTemplateDefinition } from './Doc-BQUVDooL.js';
|
|
4
4
|
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';
|
|
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-D6GK29l3.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-
|
|
7
|
+
export { E as EditorLayerMeta, I as ImageEditCanvas, a as ImageEditDoc, b as ImageEditLayer, c as ImageEditLayerKind, d as ImageEditMeta } from './ImageEditDoc-glA5UUau.js';
|
|
8
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';
|
|
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-
|
|
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-_ftXlwvB.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';
|
|
12
12
|
export { C as ContentContainer, a as ContentEntry, M as MemoryContentContainer, f as findDocumentPath } from './ContentContainer-B2w9sUoL.js';
|
|
13
|
-
export { BlockVideoEmbed, DEFAULT_INTERACTIVE_RESOURCE_POLICY, DEFAULT_RESOURCE_MAX_BYTES, DEFAULT_RESOURCE_TIMEOUT_MS, DEFAULT_WRAP_WIDTH, DocfxMarkdownOptions, FetchResourceBytesOptions, FetchedResource, HtmlPolicy, LOCAL_ONLY_RESOURCE_POLICY, MARKDOWN_SOURCE_TRANSFORMS, MarkdownReferenceOptions, MarkdownSourceEdit, MarkdownSourceTransform, MarkdownSourceTransformId, MarkdownSourceTransformOptions, MarkdownSourceTransformResult, MarkdownWrapState, MediaReferenceKind, ParseSvgIslandOptions, ResourcePolicy, ResourcePolicyError, SVG_ISLAND_LIMITS, SanitizeUrlOptions, SvgIsland, SvgIslandDiagnostic, SvgIslandFailureReason, SvgIslandMarkupOptions, SvgIslandResult, TrailingAnnotationMatch, UrlKind, VIDEO_EMBED_IFRAME_ALLOW, VIDEO_EMBED_PROVIDERS, VideoEmbed, VideoEmbedProviderId, VideoEmbedProviderInfo, WikiLinkSuggestion, WikiLinkSupport, applyMarkdownSourceTransform, cleanupMarkdownSource, condenseMarkdownSource, countNodes, createDocument, detectMarkdownWrapState, extractPlainText, fetchResourceBytes, findBlockVideoEmbed, findNodesByType, formatBlockScalar, formatFrontmatterValue, formatFrontmatterYaml, fromMdast, getChildren, inferDocumentTitle, isResourceUrlAllowed, isSvgImageSource, isSvgIslandFence, isSvgIslandLang, isVideoEmbedUrl, matchTrailingPandocAttr, matchTrailingTemplateAnnotation, mediaKindForUrl, needsQuoting, normalizeDocfxMarkdown, parseFrontmatter, parseHtmlToNodes, parseMarkdown, parsePandocAttrTokens, parseSvgIsland, parseVideoEmbedInput, parseVideoEmbedUrl, parseVideoStartTime, parseWikiLink, plainTextFromInlineHtml, quoteAttrValue, readFrontmatterThemeId, resolveWikiLinks, rewriteMarkdownReferences, sanitizeHtmlNodes, sanitizeUrl, serializePandocAttributes, setFrontmatterValues, splitFrontmatterBlock, splitKeyValueToken, stringifyHtmlNodes, stringifyMarkdown, svgIslandDataUrl, svgIslandMarkup, svgSourceFromBytes, svgSourceFromDataUrl, toMdast, tokenizeAttrTokens, unquoteAttrValue, unwrapMarkdownSource, videoEmbedFromIframe, videoEmbedIframeAttributes, walkMarkdownTree, wikiLinkPath, wrapMarkdownSource } from './markdown/index.js';
|
|
13
|
+
export { BlockVideoEmbed, DEFAULT_INTERACTIVE_RESOURCE_POLICY, DEFAULT_RESOURCE_MAX_BYTES, DEFAULT_RESOURCE_TIMEOUT_MS, DEFAULT_WRAP_WIDTH, DocfxMarkdownOptions, FetchResourceBytesOptions, FetchedResource, HtmlPolicy, LOCAL_ONLY_RESOURCE_POLICY, MARKDOWN_SOURCE_TRANSFORMS, MarkdownReferenceOptions, MarkdownSourceEdit, MarkdownSourceTransform, MarkdownSourceTransformId, MarkdownSourceTransformOptions, MarkdownSourceTransformResult, MarkdownWrapState, MediaReferenceKind, ParseSvgIslandOptions, ResourcePolicy, ResourcePolicyError, SVG_ISLAND_LIMITS, SanitizeUrlOptions, SvgIsland, SvgIslandDiagnostic, SvgIslandFailureReason, SvgIslandMarkupOptions, SvgIslandResult, TrailingAnnotationMatch, UrlKind, VIDEO_EMBED_IFRAME_ALLOW, VIDEO_EMBED_PROVIDERS, VideoEmbed, VideoEmbedProviderId, VideoEmbedProviderInfo, WikiLinkSuggestion, WikiLinkSupport, applyMarkdownSourceTransform, cleanupMarkdownSource, condenseMarkdownSource, countNodes, createDocument, detectMarkdownWrapState, extractPlainText, fetchResourceBytes, findBlockVideoEmbed, findNodesByType, formatBlockScalar, formatFrontmatterValue, formatFrontmatterYaml, fromMdast, getChildren, inferDocumentTitle, isHtmlLineBreak, isResourceUrlAllowed, isSvgImageSource, isSvgIslandFence, isSvgIslandLang, isVideoEmbedUrl, matchTrailingPandocAttr, matchTrailingTemplateAnnotation, mediaKindForUrl, needsQuoting, normalizeDocfxMarkdown, parseFrontmatter, parseHtmlToNodes, parseMarkdown, parsePandocAttrTokens, parseSvgIsland, parseVideoEmbedInput, parseVideoEmbedUrl, parseVideoStartTime, parseWikiLink, plainTextFromInlineHtml, quoteAttrValue, readFrontmatterThemeId, resolveWikiLinks, rewriteMarkdownReferences, sanitizeHtmlNodes, sanitizeUrl, serializePandocAttributes, setFrontmatterValues, splitFrontmatterBlock, splitKeyValueToken, stringifyHtmlNodes, stringifyMarkdown, svgIslandDataUrl, svgIslandMarkup, svgSourceFromBytes, svgSourceFromDataUrl, toMdast, tokenizeAttrTokens, unquoteAttrValue, unwrapMarkdownSource, videoEmbedFromIframe, videoEmbedIframeAttributes, walkMarkdownTree, wikiLinkPath, wrapMarkdownSource } from './markdown/index.js';
|
|
14
14
|
export { B as BLOCK_META_KEY_DESCRIPTORS, a as BlockMetaKeyDescriptor, K as KNOWN_BLOCK_META_KEYS, b as KnownBlockMetaKey, p as parseTimeSeconds } from './annotationCoercion-hTvELpIN.js';
|
|
15
15
|
export { BuildCaptionTrackOptions, CaptionSegmentSource, DEFAULT_WORDS_PER_SECOND, NarrationTimeEstimate, NarrationTimeOptions, ReadingTimeEstimate, ReadingTimeOptions, buildCaptionTrack, calculatePrefixDuration, countSpokenWords, estimateNarrationDuration, estimateNarrationTime, estimateReadingTime, estimateSpokenWordCount, estimateTimeFromText } from './timing/index.js';
|
|
16
16
|
export { SeededRandom, hashString } from './random/index.js';
|
|
17
17
|
export { C as ComparisonData, D as DateData, a as DefinitionData, E as ExtractedElement, b as ExtractionOptions, c as ExtractionResult, d as ExtractionType, F as FactData, I as ImpactLineData, L as ListData, Q as QuoteData, S as StatData, e as extractContent, s as stripMarkdown } from './contentExtractor-BNfVJV2U.js';
|
|
18
18
|
export { AffinityAssignment, AffinityMatchResult, AffinityTarget, ClipSelectionOptions, ClipSource, KeywordExtractionOptions, MapOptions, SelectedClip, TranscriptSegmentSource, calculateKeywordAffinity, extractKeywords, mapElementToBlock, matchByKeywordAffinity, selectSafeZoneClips, selectTranscriptClips } from './generate/index.js';
|
|
19
|
-
export { AnalyzedBlock, BlockImage, DEFAULT_TRANSFORM_STYLE_ID, DYNAMIC_PRESENTATION_STYLE, NarratedSegmentInput, NarratedSegmentResult, NarratedSegmentTransformOptions, NarratedSegmentVideo, PRESENTATION_HINTS_KEY, PRESENTATION_KEY, PRESENTATION_LAYOUTS, PRESENTATION_LIMITS, PresentationBeat, PresentationBlockHint, PresentationHints, PresentationLayout, PresentationPlan, TransformImage, TransformOptions, TransformResult, TransformStyleConfig, TransformStyleId, TransformStyleInput, TransformStyleRegistry, TransformStyleSummary, allocateTiming, analyzeBlocks, applySavedPresentation, applyTransform, compilePresentationPlan, createPresentationPlan, createTransformStyleRegistry, defaultPresentationHints, extractDocImages, getTransformStyleIds, getTransformStyleSummaries, parsePresentationHints, parsePresentationPlan, presentationSections, resolveTransformStyle, serializePresentationHints, serializePresentationPlan, transformNarratedSegment, usesDynamicPresentation } from './transform/index.js';
|
|
19
|
+
export { AnalyzedBlock, BlockImage, DEFAULT_TRANSFORM_STYLE_ID, DYNAMIC_PRESENTATION_STYLE, NarratedSegmentInput, NarratedSegmentResult, NarratedSegmentTransformOptions, NarratedSegmentVideo, PRESENTATION_HINTS_KEY, PRESENTATION_KEY, PRESENTATION_LAYOUTS, PRESENTATION_LIMITS, PresentationBeat, PresentationBlockHint, PresentationHints, PresentationLayout, PresentationMediaItem, PresentationPlan, TransformImage, TransformOptions, TransformResult, TransformStyleConfig, TransformStyleId, TransformStyleInput, TransformStyleRegistry, TransformStyleSummary, allocateTiming, analyzeBlocks, applySavedPresentation, applyTransform, collectPresentationMedia, compilePresentationPlan, createPresentationPlan, createTransformStyleRegistry, defaultPresentationHints, extractDocImages, getTransformStyleIds, getTransformStyleSummaries, parsePresentationHints, parsePresentationPlan, presentationSections, resolveTransformStyle, serializePresentationHints, serializePresentationPlan, transformNarratedSegment, usesDynamicPresentation } from './transform/index.js';
|
|
20
20
|
export { C as CoalesceOptions, P as PrunePolicy, R as RevertFailureReason, a as RevertOptions, b as RevertResult, S as SaveVersionOptions, c as SaveVersionResult, V as Version } from './types-8QjefM9J.js';
|
|
21
21
|
export { DATA_BACKUP_PREFIX, DocumentVersionManager, DocumentVersionManagerOptions, VERSIONS_PREFIX, VERSION_TIMESTAMP_PATTERN, buildDataBackupPath, buildVersionPath, coalesceVersions, formatVersionTimestamp, getDocBasename, listVersions, parseVersionPath, parseVersionTimestamp, pruneVersions, readVersion, revertToVersion, saveVersion } from './versions/index.js';
|
|
22
22
|
export { BuildJsonFormTokensOptions, ControlKind, InferSchemaOptions, JsonFormValidationError, JsonFormValidator, SquisqAnnotatedSchema, SquisqHints, SquisqWhen, appendPointer, arrayItemKind, buildJsonFormTokens, chooseControl, escapePointerSegment, evaluateWhen, getByPointer, inferSchema, isSafeConditionRegex, pointerSegments, primaryType, resolveFlag, resolveJsonFormTheme, resolveRef, setByPointer, toPointer } from './jsonForm/index.js';
|
|
@@ -24,7 +24,7 @@ export { AnimatedImageFormat, AnimatedImageInfo, IMAGE_EDIT_ASSETS_PREFIX, IMAGE
|
|
|
24
24
|
export { I as ICONS, a as IconEntry, b as IconFamily, c as IconTextRun, h as hasIconMarker, i as iconClass, d as iconMarker, s as splitIconMarkers, e as stripIconMarkers } from './inlineIconMarker-BGjv-W4j.js';
|
|
25
25
|
export { IconSuggestion, canonicalIconToken, iconGlyph, looksLikeIconToken, resolveIcon, suggestIcons } from './icons/index.js';
|
|
26
26
|
export { BlockContentProfile, RecommendationResult, profileBlockContents, recommendTemplatesForBlock } from './recommend/index.js';
|
|
27
|
-
export { AdvanceCoverage, AlignConfig, AlignInput, BandpassState, BuildAdvanceTimingOptions, BuildNarrationTimingOptions, BuildScriptOptions, DEFAULT_ALIGN_CONFIG, DEFAULT_FEATURE_CONFIG, DEFAULT_NUCLEI_CONFIG, DEFAULT_PACING_CONFIG, DEFAULT_VAD_CONFIG, EMPTY_ADVANCE_LOG, FeatureConfig, FeatureState, FrameFeatures, NarrationAlignment, NarrationBlockRange, NarrationScript, NarrationSessionConfig, NarrationSessionState, NarrationTimingBlock, NarrationTimingGenerator, NarrationTimingJsonV3, NarrationTimingMethod, NarrationTrace, NucleiConfig, NucleiState, PacingConfig, PacingState, PacingTick, ScriptBlockRange, ScriptToken, SlideAdvance, SlideAdvanceLog, TraceSample, VadConfig, VadState, WordTiming, advanceCoverage, alignNarration, bandpassRun, buildAdvanceTimingJson, buildNarrationScript, buildNarrationTimingJson, createBandpass, createFeatureState, createNarrationSession, createNucleiState, createPacingState, createVadState, detectSyllableOnsets, downsampleTrace, estimateSyllables, expectedSyllablesAt, extractFrameFeatures, featureStep, narrationSessionStep, nucleiStep, pacingStep, parseNarrationTimingJson, reanchorPacing, reanchorSession, recordSlideShown, resolveNarrationTimingGenerator, traceWordPosAt, vadStep, wordIndexAtChar, wordIndexAtTime, wordPosAtExpectedSyllables } from './narration/index.js';
|
|
27
|
+
export { AdvanceCoverage, AlignConfig, AlignInput, BandpassState, BuildAdvanceTimingOptions, BuildNarrationTimingOptions, BuildScriptOptions, DEFAULT_ALIGN_CONFIG, DEFAULT_FEATURE_CONFIG, DEFAULT_NUCLEI_CONFIG, DEFAULT_PACING_CONFIG, DEFAULT_VAD_CONFIG, EMPTY_ADVANCE_LOG, FeatureConfig, FeatureState, FrameFeatures, NarrationAlignment, NarrationBlockRange, NarrationScript, NarrationSessionConfig, NarrationSessionState, NarrationTimingBlock, NarrationTimingGenerator, NarrationTimingJsonV3, NarrationTimingMethod, NarrationTrace, NucleiConfig, NucleiState, PacingConfig, PacingState, PacingTick, ScriptBlockRange, ScriptToken, SlideAdvance, SlideAdvanceLog, TraceSample, TranscriptAlignInput, TranscriptAlignment, TranscriptSegment, TranscriptWord, VadConfig, VadState, WordTiming, advanceCoverage, alignNarration, alignTranscript, bandpassRun, buildAdvanceTimingJson, buildNarrationScript, buildNarrationTimingJson, createBandpass, createFeatureState, createNarrationSession, createNucleiState, createPacingState, createVadState, detectSyllableOnsets, downsampleTrace, estimateSyllables, expectedSyllablesAt, extractFrameFeatures, featureStep, narrationSessionStep, nucleiStep, pacingStep, parseNarrationTimingJson, reanchorPacing, reanchorSession, recordSlideShown, resolveNarrationTimingGenerator, traceWordPosAt, transcriptWordKeys, vadStep, wordIndexAtChar, wordIndexAtTime, wordPosAtExpectedSyllables } from './narration/index.js';
|
|
28
28
|
export { FenceRenderContext, FenceRenderer, FenceRendererMap, fenceRendererLangs } from './fence/index.js';
|
|
29
29
|
export { P as PROOF_DIALECTS, a as ProofCategory, b as ProofDialect, c as ProofFinding, d as ProofRange, e as ProofSuggestion, f as ProofSuggestionKind } from './types-BQWu0gzi.js';
|
|
30
30
|
export { BlankProtectedSpansOptions, BlankedText, DEFAULT_PROOF_SETTINGS, JoinedSegments, LINT_KIND_CATEGORIES, PROOF_FRONTMATTER_KEYS, PROOF_JOIN_SEPARATOR, ProofingSettings, SegmentSpan, blankProtectedSpans, buildJoinedText, categorizeLintKind, dropMaskedFindings, formatProofDictionary, mapJoinedSpanToSegment, parseProofDictionary, readProofingSettings, resolveProofDialect } from './proof/index.js';
|
package/dist/index.js
CHANGED
|
@@ -7,6 +7,7 @@ import {
|
|
|
7
7
|
EMPTY_ADVANCE_LOG,
|
|
8
8
|
advanceCoverage,
|
|
9
9
|
alignNarration,
|
|
10
|
+
alignTranscript,
|
|
10
11
|
bandpassRun,
|
|
11
12
|
buildAdvanceTimingJson,
|
|
12
13
|
createBandpass,
|
|
@@ -26,8 +27,9 @@ import {
|
|
|
26
27
|
reanchorSession,
|
|
27
28
|
recordSlideShown,
|
|
28
29
|
traceWordPosAt,
|
|
30
|
+
transcriptWordKeys,
|
|
29
31
|
vadStep
|
|
30
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-B2MOGSWY.js";
|
|
31
33
|
import {
|
|
32
34
|
fenceRendererLangs
|
|
33
35
|
} from "./chunk-PGI7HSWE.js";
|
|
@@ -137,7 +139,7 @@ import {
|
|
|
137
139
|
pipStyleVars,
|
|
138
140
|
serializeTheme,
|
|
139
141
|
validateDocSchema
|
|
140
|
-
} from "./chunk-
|
|
142
|
+
} from "./chunk-SG3HXPMF.js";
|
|
141
143
|
import {
|
|
142
144
|
calculateBearing,
|
|
143
145
|
decodeGeohash,
|
|
@@ -230,7 +232,7 @@ import {
|
|
|
230
232
|
validateMarkdownSource,
|
|
231
233
|
wordRevealDelay,
|
|
232
234
|
writeDashboardLayoutsToFrontmatter
|
|
233
|
-
} from "./chunk-
|
|
235
|
+
} from "./chunk-FGN4OZVK.js";
|
|
234
236
|
import {
|
|
235
237
|
buildNarrationTimingJson,
|
|
236
238
|
parseNarrationTimingJson,
|
|
@@ -247,6 +249,7 @@ import {
|
|
|
247
249
|
analyzeBlocks,
|
|
248
250
|
applySavedPresentation,
|
|
249
251
|
applyTransform,
|
|
252
|
+
collectPresentationMedia,
|
|
250
253
|
compilePresentationPlan,
|
|
251
254
|
createPresentationPlan,
|
|
252
255
|
createTransformStyleRegistry,
|
|
@@ -262,7 +265,7 @@ import {
|
|
|
262
265
|
serializePresentationPlan,
|
|
263
266
|
transformNarratedSegment,
|
|
264
267
|
usesDynamicPresentation
|
|
265
|
-
} from "./chunk-
|
|
268
|
+
} from "./chunk-4O26IMVA.js";
|
|
266
269
|
import {
|
|
267
270
|
BASE_INPUT_DESCRIPTORS,
|
|
268
271
|
BLOCK_MEDIA_LAYOUT_POLICIES,
|
|
@@ -386,7 +389,7 @@ import {
|
|
|
386
389
|
wrapWithPersistentLayers,
|
|
387
390
|
writeCustomTemplatesToFrontmatter,
|
|
388
391
|
writeCustomThemesToFrontmatter
|
|
389
|
-
} from "./chunk-
|
|
392
|
+
} from "./chunk-VQXOX3YN.js";
|
|
390
393
|
import {
|
|
391
394
|
ASCII_CHAR_H,
|
|
392
395
|
ASCII_CHAR_W,
|
|
@@ -441,7 +444,7 @@ import {
|
|
|
441
444
|
treeFromMarkdownList,
|
|
442
445
|
treeFromTemplateData,
|
|
443
446
|
treeToTemplateData
|
|
444
|
-
} from "./chunk-
|
|
447
|
+
} from "./chunk-CSR6VCSJ.js";
|
|
445
448
|
import {
|
|
446
449
|
extractContent,
|
|
447
450
|
mapElementToBlock,
|
|
@@ -582,7 +585,7 @@ import {
|
|
|
582
585
|
stringifyMarkdown,
|
|
583
586
|
unwrapMarkdownSource,
|
|
584
587
|
wrapMarkdownSource
|
|
585
|
-
} from "./chunk-
|
|
588
|
+
} from "./chunk-FJNTG3VZ.js";
|
|
586
589
|
import {
|
|
587
590
|
DEFAULT_MARKDOWN_SAFETY_LIMITS,
|
|
588
591
|
MarkdownLimitError,
|
|
@@ -597,7 +600,7 @@ import {
|
|
|
597
600
|
serializePandocAttributes,
|
|
598
601
|
toMdast,
|
|
599
602
|
wikiLinkPath
|
|
600
|
-
} from "./chunk-
|
|
603
|
+
} from "./chunk-CPD3MFX7.js";
|
|
601
604
|
import {
|
|
602
605
|
CONTAINER_TEMPLATES,
|
|
603
606
|
TABLE_FED_TEMPLATES,
|
|
@@ -619,6 +622,7 @@ import {
|
|
|
619
622
|
formatFrontmatterYaml,
|
|
620
623
|
getChildren,
|
|
621
624
|
inferDocumentTitle,
|
|
625
|
+
isHtmlLineBreak,
|
|
622
626
|
isSvgImageSource,
|
|
623
627
|
isSvgIslandFence,
|
|
624
628
|
isSvgIslandLang,
|
|
@@ -652,7 +656,7 @@ import {
|
|
|
652
656
|
videoEmbedFromIframe,
|
|
653
657
|
videoEmbedIframeAttributes,
|
|
654
658
|
walkMarkdownTree
|
|
655
|
-
} from "./chunk-
|
|
659
|
+
} from "./chunk-KVEOD57Z.js";
|
|
656
660
|
import {
|
|
657
661
|
ICONS,
|
|
658
662
|
canonicalIconToken,
|
|
@@ -829,6 +833,7 @@ export {
|
|
|
829
833
|
adjustY,
|
|
830
834
|
advanceCoverage,
|
|
831
835
|
alignNarration,
|
|
836
|
+
alignTranscript,
|
|
832
837
|
allocateTiming,
|
|
833
838
|
analyzeBlocks,
|
|
834
839
|
anchorPoint,
|
|
@@ -893,6 +898,7 @@ export {
|
|
|
893
898
|
coalesceImageEditVersions,
|
|
894
899
|
coalesceVersions,
|
|
895
900
|
coerceTemplateParams,
|
|
901
|
+
collectPresentationMedia,
|
|
896
902
|
comparisonBar,
|
|
897
903
|
compilePresentationPlan,
|
|
898
904
|
compileTheme,
|
|
@@ -1075,6 +1081,7 @@ export {
|
|
|
1075
1081
|
isExplicitTreeLang,
|
|
1076
1082
|
isGeometryBoundTemplate,
|
|
1077
1083
|
isHex,
|
|
1084
|
+
isHtmlLineBreak,
|
|
1078
1085
|
isMaterializedMediaNode,
|
|
1079
1086
|
isMotionProfileName,
|
|
1080
1087
|
isPersistentLayerTemplate,
|
|
@@ -1296,6 +1303,7 @@ export {
|
|
|
1296
1303
|
topFeature,
|
|
1297
1304
|
touch,
|
|
1298
1305
|
traceWordPosAt,
|
|
1306
|
+
transcriptWordKeys,
|
|
1299
1307
|
transformNarratedSegment,
|
|
1300
1308
|
transformOriginFor,
|
|
1301
1309
|
transposeCells,
|
package/dist/jsonForm/index.d.ts
CHANGED
package/dist/jsonForm/index.js
CHANGED
package/dist/markdown/index.d.ts
CHANGED
|
@@ -672,6 +672,11 @@ declare function walkMarkdownTree(node: MarkdownNode, visitor: (node: MarkdownNo
|
|
|
672
672
|
* ```
|
|
673
673
|
*/
|
|
674
674
|
declare function findNodesByType<T extends MarkdownNode>(root: MarkdownNode, type: T['type']): T[];
|
|
675
|
+
/**
|
|
676
|
+
* Whether a raw inline HTML fragment is a line break tag: `<br>`, `<br/>` or
|
|
677
|
+
* `<br />`. Markdown has no other way to break a line inside a table cell.
|
|
678
|
+
*/
|
|
679
|
+
declare function isHtmlLineBreak(rawHtml: string): boolean;
|
|
675
680
|
/**
|
|
676
681
|
* Extract all plain text content from a node and its descendants.
|
|
677
682
|
* Concatenates text values, ignoring formatting, links, etc.
|
|
@@ -992,4 +997,4 @@ interface WikiLinkSupport {
|
|
|
992
997
|
*/
|
|
993
998
|
declare function resolveWikiLinks(document: MarkdownDocument, exists: (target: string) => Promise<boolean | string | null>): Promise<MarkdownDocument>;
|
|
994
999
|
|
|
995
|
-
export { type BlockVideoEmbed, DEFAULT_INTERACTIVE_RESOURCE_POLICY, DEFAULT_RESOURCE_MAX_BYTES, DEFAULT_RESOURCE_TIMEOUT_MS, DEFAULT_WRAP_WIDTH, type DocfxMarkdownOptions, type FetchResourceBytesOptions, type FetchedResource, HeadingAttributes, HtmlElement, HtmlNode, type HtmlPolicy, LOCAL_ONLY_RESOURCE_POLICY, MARKDOWN_SOURCE_TRANSFORMS, MarkdownBlockNode, MarkdownDocument, MarkdownNode, type MarkdownReferenceOptions, type MarkdownSourceEdit, type MarkdownSourceTransform, type MarkdownSourceTransformId, type MarkdownSourceTransformOptions, type MarkdownSourceTransformResult, type MarkdownWrapState, type MediaReferenceKind, ParseOptions, type ParseSvgIslandOptions, type ResourcePolicy, ResourcePolicyError, SVG_ISLAND_LIMITS, type SanitizeUrlOptions, StringifyOptions, type SvgIsland, type SvgIslandDiagnostic, type SvgIslandFailureReason, type SvgIslandMarkupOptions, type SvgIslandResult, type TrailingAnnotationMatch, type UrlKind, VIDEO_EMBED_IFRAME_ALLOW, VIDEO_EMBED_PROVIDERS, type VideoEmbed, type VideoEmbedProviderId, type VideoEmbedProviderInfo, type WikiLinkSuggestion, type WikiLinkSupport, applyMarkdownSourceTransform, cleanupMarkdownSource, condenseMarkdownSource, countNodes, createDocument, detectMarkdownWrapState, extractPlainText, fetchResourceBytes, findBlockVideoEmbed, findNodesByType, formatBlockScalar, formatFrontmatterValue, formatFrontmatterYaml, fromMdast, getChildren, inferDocumentTitle, isResourceUrlAllowed, isSvgImageSource, isSvgIslandFence, isSvgIslandLang, isVideoEmbedUrl, matchTrailingPandocAttr, matchTrailingTemplateAnnotation, mediaKindForUrl, needsQuoting, normalizeDocfxMarkdown, parseFrontmatter, parseHtmlToNodes, parseMarkdown, parsePandocAttrTokens, parseSvgIsland, parseVideoEmbedInput, parseVideoEmbedUrl, parseVideoStartTime, parseWikiLink, plainTextFromInlineHtml, quoteAttrValue, readFrontmatterThemeId, resolveWikiLinks, rewriteMarkdownReferences, sanitizeHtmlNodes, sanitizeUrl, serializePandocAttributes, setFrontmatterValues, splitFrontmatterBlock, splitKeyValueToken, stringifyHtmlNodes, stringifyMarkdown, svgIslandDataUrl, svgIslandMarkup, svgSourceFromBytes, svgSourceFromDataUrl, toMdast, tokenizeAttrTokens, unquoteAttrValue, unwrapMarkdownSource, videoEmbedFromIframe, videoEmbedIframeAttributes, walkMarkdownTree, wikiLinkPath, wrapMarkdownSource };
|
|
1000
|
+
export { type BlockVideoEmbed, DEFAULT_INTERACTIVE_RESOURCE_POLICY, DEFAULT_RESOURCE_MAX_BYTES, DEFAULT_RESOURCE_TIMEOUT_MS, DEFAULT_WRAP_WIDTH, type DocfxMarkdownOptions, type FetchResourceBytesOptions, type FetchedResource, HeadingAttributes, HtmlElement, HtmlNode, type HtmlPolicy, LOCAL_ONLY_RESOURCE_POLICY, MARKDOWN_SOURCE_TRANSFORMS, MarkdownBlockNode, MarkdownDocument, MarkdownNode, type MarkdownReferenceOptions, type MarkdownSourceEdit, type MarkdownSourceTransform, type MarkdownSourceTransformId, type MarkdownSourceTransformOptions, type MarkdownSourceTransformResult, type MarkdownWrapState, type MediaReferenceKind, ParseOptions, type ParseSvgIslandOptions, type ResourcePolicy, ResourcePolicyError, SVG_ISLAND_LIMITS, type SanitizeUrlOptions, StringifyOptions, type SvgIsland, type SvgIslandDiagnostic, type SvgIslandFailureReason, type SvgIslandMarkupOptions, type SvgIslandResult, type TrailingAnnotationMatch, type UrlKind, VIDEO_EMBED_IFRAME_ALLOW, VIDEO_EMBED_PROVIDERS, type VideoEmbed, type VideoEmbedProviderId, type VideoEmbedProviderInfo, type WikiLinkSuggestion, type WikiLinkSupport, applyMarkdownSourceTransform, cleanupMarkdownSource, condenseMarkdownSource, countNodes, createDocument, detectMarkdownWrapState, extractPlainText, fetchResourceBytes, findBlockVideoEmbed, findNodesByType, formatBlockScalar, formatFrontmatterValue, formatFrontmatterYaml, fromMdast, getChildren, inferDocumentTitle, isHtmlLineBreak, isResourceUrlAllowed, isSvgImageSource, isSvgIslandFence, isSvgIslandLang, isVideoEmbedUrl, matchTrailingPandocAttr, matchTrailingTemplateAnnotation, mediaKindForUrl, needsQuoting, normalizeDocfxMarkdown, parseFrontmatter, parseHtmlToNodes, parseMarkdown, parsePandocAttrTokens, parseSvgIsland, parseVideoEmbedInput, parseVideoEmbedUrl, parseVideoStartTime, parseWikiLink, plainTextFromInlineHtml, quoteAttrValue, readFrontmatterThemeId, resolveWikiLinks, rewriteMarkdownReferences, sanitizeHtmlNodes, sanitizeUrl, serializePandocAttributes, setFrontmatterValues, splitFrontmatterBlock, splitKeyValueToken, stringifyHtmlNodes, stringifyMarkdown, svgIslandDataUrl, svgIslandMarkup, svgSourceFromBytes, svgSourceFromDataUrl, toMdast, tokenizeAttrTokens, unquoteAttrValue, unwrapMarkdownSource, videoEmbedFromIframe, videoEmbedIframeAttributes, walkMarkdownTree, wikiLinkPath, wrapMarkdownSource };
|
package/dist/markdown/index.js
CHANGED
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
stringifyMarkdown,
|
|
18
18
|
unwrapMarkdownSource,
|
|
19
19
|
wrapMarkdownSource
|
|
20
|
-
} from "../chunk-
|
|
20
|
+
} from "../chunk-FJNTG3VZ.js";
|
|
21
21
|
import {
|
|
22
22
|
DEFAULT_MARKDOWN_SAFETY_LIMITS,
|
|
23
23
|
MarkdownLimitError,
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
serializePandocAttributes,
|
|
33
33
|
toMdast,
|
|
34
34
|
wikiLinkPath
|
|
35
|
-
} from "../chunk-
|
|
35
|
+
} from "../chunk-CPD3MFX7.js";
|
|
36
36
|
import "../chunk-DOOUVVOM.js";
|
|
37
37
|
import {
|
|
38
38
|
BLOCK_META_KEY_DESCRIPTORS,
|
|
@@ -49,6 +49,7 @@ import {
|
|
|
49
49
|
formatFrontmatterYaml,
|
|
50
50
|
getChildren,
|
|
51
51
|
inferDocumentTitle,
|
|
52
|
+
isHtmlLineBreak,
|
|
52
53
|
isSvgImageSource,
|
|
53
54
|
isSvgIslandFence,
|
|
54
55
|
isSvgIslandLang,
|
|
@@ -82,7 +83,7 @@ import {
|
|
|
82
83
|
videoEmbedFromIframe,
|
|
83
84
|
videoEmbedIframeAttributes,
|
|
84
85
|
walkMarkdownTree
|
|
85
|
-
} from "../chunk-
|
|
86
|
+
} from "../chunk-KVEOD57Z.js";
|
|
86
87
|
import "../chunk-CZ7AUSLI.js";
|
|
87
88
|
import {
|
|
88
89
|
SVG_ISLAND_LIMITS
|
|
@@ -120,6 +121,7 @@ export {
|
|
|
120
121
|
fromMdast,
|
|
121
122
|
getChildren,
|
|
122
123
|
inferDocumentTitle,
|
|
124
|
+
isHtmlLineBreak,
|
|
123
125
|
isResourceUrlAllowed,
|
|
124
126
|
isSvgImageSource,
|
|
125
127
|
isSvgIslandFence,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { k as Block, aV as PageSectionKind, aT as PageEmphasis, bE as ThemeColorScheme, aR as PageBackground, bC as Theme, c7 as ViewportConfig, z as CustomTemplateDefinition, aY as PageVariant, bm as StartBlockConfig, R as Doc, bF as ThemePageStyle } from './Doc-
|
|
1
|
+
import { k as Block, aV as PageSectionKind, aT as PageEmphasis, bE as ThemeColorScheme, aR as PageBackground, bC as Theme, c7 as ViewportConfig, z as CustomTemplateDefinition, aY as PageVariant, bm as StartBlockConfig, R as Doc, bF as ThemePageStyle } from './Doc-BQUVDooL.js';
|
|
2
2
|
import { M as MarkdownBlockNode } from './types-Zk8qYuaT.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { am as MediaCut, R as Doc, ak as MediaClip, cD as MediaFxOpId, cE as MediaFxChain } from '../Doc-
|
|
2
|
-
export { cF as MEDIA_EDIT_PARAMS, cG as MEDIA_FX_ORDER, cH as MEDIA_FX_SPECS, al as MediaCrop, cI as MediaEditParamKey, cJ as MediaEditParamValues, an as MediaEdits, cK as MediaFxOp, cL as formatMediaNumber, cM as hasRenderableFx, cN as mediaEditHtmlAttribute, cO as mediaEditValuesFromAttributes, cP as mediaEditValuesFromParams, cQ as mediaRenderKey, cR as normalizeMediaCrop, cS as normalizeMediaCuts, cT as parseMediaCrop, cU as parseMediaCuts, cV as parseMediaEdits, cW as parseMediaFx, cX as serializeMediaCrop, cY as serializeMediaCuts, cZ as serializeMediaEdits, c_ as serializeMediaFx } from '../Doc-
|
|
1
|
+
import { am as MediaCut, R as Doc, ak as MediaClip, cD as MediaFxOpId, cE as MediaFxChain } from '../Doc-BQUVDooL.js';
|
|
2
|
+
export { cF as MEDIA_EDIT_PARAMS, cG as MEDIA_FX_ORDER, cH as MEDIA_FX_SPECS, al as MediaCrop, cI as MediaEditParamKey, cJ as MediaEditParamValues, an as MediaEdits, cK as MediaFxOp, cL as formatMediaNumber, cM as hasRenderableFx, cN as mediaEditHtmlAttribute, cO as mediaEditValuesFromAttributes, cP as mediaEditValuesFromParams, cQ as mediaRenderKey, cR as normalizeMediaCrop, cS as normalizeMediaCuts, cT as parseMediaCrop, cU as parseMediaCuts, cV as parseMediaEdits, cW as parseMediaFx, cX as serializeMediaCrop, cY as serializeMediaCuts, cZ as serializeMediaEdits, c_ as serializeMediaFx } from '../Doc-BQUVDooL.js';
|
|
3
3
|
import '../types-Zk8qYuaT.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { R as Doc, f as AudioBookmark } from '../Doc-
|
|
1
|
+
import { R as Doc, f as AudioBookmark } from '../Doc-BQUVDooL.js';
|
|
2
2
|
import { d as BuildAdvance } from '../types-Zk8qYuaT.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -568,6 +568,60 @@ interface AlignInput {
|
|
|
568
568
|
}
|
|
569
569
|
declare function alignNarration(input: AlignInput, config?: Partial<AlignConfig>): NarrationAlignment;
|
|
570
570
|
|
|
571
|
+
/**
|
|
572
|
+
* Transcript alignment: word/block timestamps for a recorded take from a
|
|
573
|
+
* speech recognizer's timed transcript.
|
|
574
|
+
*
|
|
575
|
+
* `alignNarration` infers timing from the take's acoustics against the
|
|
576
|
+
* script's expected syllables, so it needs a reader who follows the script
|
|
577
|
+
* closely. This matches the WORDS a recognizer heard to the script's words
|
|
578
|
+
* instead, so it tolerates paraphrase, ad-libs, skipped passages and long
|
|
579
|
+
* silent demos.
|
|
580
|
+
*
|
|
581
|
+
* Pipeline: both sides become normalized word units → word trigrams that
|
|
582
|
+
* occur exactly once on each side anchor a monotone chain (longest increasing
|
|
583
|
+
* subsequence) → the short stretches between anchors are aligned with a small
|
|
584
|
+
* global DP that also accepts near-miss spellings → script words left without
|
|
585
|
+
* a match are placed on the unmatched words heard between their matched
|
|
586
|
+
* neighbors, so a passage the speaker skipped collapses onto the next thing
|
|
587
|
+
* they said, and a long pause or an off-script aside stays with the slide
|
|
588
|
+
* already showing. Block
|
|
589
|
+
* ranges come from the same contiguous-range builder the acoustic aligner
|
|
590
|
+
* uses, with the silences between heard words as its breath gaps.
|
|
591
|
+
*
|
|
592
|
+
* Pure and deterministic, like the rest of the narration engine.
|
|
593
|
+
*/
|
|
594
|
+
|
|
595
|
+
/** One recognized word, in seconds on the take's timeline. */
|
|
596
|
+
interface TranscriptWord {
|
|
597
|
+
text: string;
|
|
598
|
+
startSec: number;
|
|
599
|
+
endSec: number;
|
|
600
|
+
}
|
|
601
|
+
/** One recognized phrase. Without `words`, its time is shared out by syllables. */
|
|
602
|
+
interface TranscriptSegment {
|
|
603
|
+
text: string;
|
|
604
|
+
startSec: number;
|
|
605
|
+
endSec: number;
|
|
606
|
+
words?: readonly TranscriptWord[];
|
|
607
|
+
}
|
|
608
|
+
interface TranscriptAlignInput {
|
|
609
|
+
script: NarrationScript;
|
|
610
|
+
/** Recognized segments on the take's timeline (seconds from its start). */
|
|
611
|
+
segments: readonly TranscriptSegment[];
|
|
612
|
+
/** Take length in seconds (decoded-PCM length). */
|
|
613
|
+
durationSec: number;
|
|
614
|
+
}
|
|
615
|
+
interface TranscriptAlignment extends NarrationAlignment {
|
|
616
|
+
/** Spoken script words whose time came from a matched recognized word. */
|
|
617
|
+
matchedWords: number;
|
|
618
|
+
/** Spoken script words in total. */
|
|
619
|
+
spokenWords: number;
|
|
620
|
+
}
|
|
621
|
+
/** Lowercased letter/digit runs; apostrophes join ("you're" → "youre"). */
|
|
622
|
+
declare function transcriptWordKeys(text: string): string[];
|
|
623
|
+
declare function alignTranscript(input: TranscriptAlignInput, config?: Partial<AlignConfig>): TranscriptAlignment;
|
|
624
|
+
|
|
571
625
|
/** Narration time range of one doc block at record time. */
|
|
572
626
|
interface NarrationTimingBlock {
|
|
573
627
|
/** Doc block id at record time (primary match key; ids can drift on heading edits). */
|
|
@@ -614,8 +668,11 @@ interface NarrationTimingJsonV3 {
|
|
|
614
668
|
* - `'tts'` — a host synthesized the narration (text-to-speech). Block and
|
|
615
669
|
* sentence boundaries are exact because each was synthesized separately;
|
|
616
670
|
* word times are interpolated.
|
|
671
|
+
* - `'transcript-align'` — a speech recognizer transcribed the take and its
|
|
672
|
+
* timed words were matched to the script's words. Paraphrase and skipped
|
|
673
|
+
* passages are tolerated; unmatched words are interpolated.
|
|
617
674
|
*/
|
|
618
|
-
type NarrationTimingMethod = 'dsp-align' | 'presenter-advance' | 'tts';
|
|
675
|
+
type NarrationTimingMethod = 'dsp-align' | 'presenter-advance' | 'tts' | 'transcript-align';
|
|
619
676
|
/** Provenance recorded in a sidecar's `generator` field. */
|
|
620
677
|
interface NarrationTimingGenerator {
|
|
621
678
|
/** Producer id, e.g. `'squisq-teleprompter'` or a host's TTS engine name. */
|
|
@@ -747,4 +804,4 @@ interface AdvanceCoverage {
|
|
|
747
804
|
/** Summarize an advance log against a doc. Pure; drives the review-panel warning. */
|
|
748
805
|
declare function advanceCoverage(doc: Doc, advances: SlideAdvanceLog): AdvanceCoverage;
|
|
749
806
|
|
|
750
|
-
export { type AdvanceCoverage, type AlignConfig, type AlignInput, type BandpassState, type BuildAdvanceTimingOptions, type BuildNarrationTimingOptions, type BuildScriptOptions, DEFAULT_ALIGN_CONFIG, DEFAULT_FEATURE_CONFIG, DEFAULT_NUCLEI_CONFIG, DEFAULT_PACING_CONFIG, DEFAULT_VAD_CONFIG, EMPTY_ADVANCE_LOG, type FeatureConfig, type FeatureState, type FrameFeatures, type NarrationAlignment, type NarrationBlockRange, type NarrationScript, type NarrationSessionConfig, type NarrationSessionState, type NarrationTimingBlock, type NarrationTimingGenerator, type NarrationTimingJsonV3, type NarrationTimingMethod, type NarrationTrace, type NucleiConfig, type NucleiState, type PacingConfig, type PacingState, type PacingTick, type ScriptBlockRange, type ScriptToken, type SlideAdvance, type SlideAdvanceLog, type TraceSample, type VadConfig, type VadState, type WordTiming, advanceCoverage, alignNarration, bandpassRun, buildAdvanceTimingJson, buildNarrationScript, buildNarrationTimingJson, createBandpass, createFeatureState, createNarrationSession, createNucleiState, createPacingState, createVadState, detectSyllableOnsets, downsampleTrace, estimateSyllables, expectedSyllablesAt, extractFrameFeatures, featureStep, narrationSessionStep, nucleiStep, pacingStep, parseNarrationTimingJson, reanchorPacing, reanchorSession, recordSlideShown, resolveNarrationTimingGenerator, traceWordPosAt, vadStep, wordIndexAtChar, wordIndexAtTime, wordPosAtExpectedSyllables };
|
|
807
|
+
export { type AdvanceCoverage, type AlignConfig, type AlignInput, type BandpassState, type BuildAdvanceTimingOptions, type BuildNarrationTimingOptions, type BuildScriptOptions, DEFAULT_ALIGN_CONFIG, DEFAULT_FEATURE_CONFIG, DEFAULT_NUCLEI_CONFIG, DEFAULT_PACING_CONFIG, DEFAULT_VAD_CONFIG, EMPTY_ADVANCE_LOG, type FeatureConfig, type FeatureState, type FrameFeatures, type NarrationAlignment, type NarrationBlockRange, type NarrationScript, type NarrationSessionConfig, type NarrationSessionState, type NarrationTimingBlock, type NarrationTimingGenerator, type NarrationTimingJsonV3, type NarrationTimingMethod, type NarrationTrace, type NucleiConfig, type NucleiState, type PacingConfig, type PacingState, type PacingTick, type ScriptBlockRange, type ScriptToken, type SlideAdvance, type SlideAdvanceLog, type TraceSample, type TranscriptAlignInput, type TranscriptAlignment, type TranscriptSegment, type TranscriptWord, type VadConfig, type VadState, type WordTiming, advanceCoverage, alignNarration, alignTranscript, bandpassRun, buildAdvanceTimingJson, buildNarrationScript, buildNarrationTimingJson, createBandpass, createFeatureState, createNarrationSession, createNucleiState, createPacingState, createVadState, detectSyllableOnsets, downsampleTrace, estimateSyllables, expectedSyllablesAt, extractFrameFeatures, featureStep, narrationSessionStep, nucleiStep, pacingStep, parseNarrationTimingJson, reanchorPacing, reanchorSession, recordSlideShown, resolveNarrationTimingGenerator, traceWordPosAt, transcriptWordKeys, vadStep, wordIndexAtChar, wordIndexAtTime, wordPosAtExpectedSyllables };
|
package/dist/narration/index.js
CHANGED
|
@@ -7,6 +7,7 @@ import {
|
|
|
7
7
|
EMPTY_ADVANCE_LOG,
|
|
8
8
|
advanceCoverage,
|
|
9
9
|
alignNarration,
|
|
10
|
+
alignTranscript,
|
|
10
11
|
bandpassRun,
|
|
11
12
|
buildAdvanceTimingJson,
|
|
12
13
|
createBandpass,
|
|
@@ -26,8 +27,9 @@ import {
|
|
|
26
27
|
reanchorSession,
|
|
27
28
|
recordSlideShown,
|
|
28
29
|
traceWordPosAt,
|
|
30
|
+
transcriptWordKeys,
|
|
29
31
|
vadStep
|
|
30
|
-
} from "../chunk-
|
|
32
|
+
} from "../chunk-B2MOGSWY.js";
|
|
31
33
|
import "../chunk-NEWNNLWN.js";
|
|
32
34
|
import {
|
|
33
35
|
buildNarrationTimingJson,
|
|
@@ -41,13 +43,13 @@ import {
|
|
|
41
43
|
wordIndexAtChar,
|
|
42
44
|
wordIndexAtTime,
|
|
43
45
|
wordPosAtExpectedSyllables
|
|
44
|
-
} from "../chunk-
|
|
45
|
-
import "../chunk-
|
|
46
|
+
} from "../chunk-VQXOX3YN.js";
|
|
47
|
+
import "../chunk-CSR6VCSJ.js";
|
|
46
48
|
import "../chunk-FUBMT6SJ.js";
|
|
47
49
|
import "../chunk-WNEH3BZP.js";
|
|
48
50
|
import "../chunk-L7QZORLB.js";
|
|
49
51
|
import "../chunk-DOOUVVOM.js";
|
|
50
|
-
import "../chunk-
|
|
52
|
+
import "../chunk-KVEOD57Z.js";
|
|
51
53
|
import "../chunk-P53Z4RYC.js";
|
|
52
54
|
import "../chunk-GHOPHGOK.js";
|
|
53
55
|
import "../chunk-XRW6P7IF.js";
|
|
@@ -60,6 +62,7 @@ export {
|
|
|
60
62
|
EMPTY_ADVANCE_LOG,
|
|
61
63
|
advanceCoverage,
|
|
62
64
|
alignNarration,
|
|
65
|
+
alignTranscript,
|
|
63
66
|
bandpassRun,
|
|
64
67
|
buildAdvanceTimingJson,
|
|
65
68
|
buildNarrationScript,
|
|
@@ -85,6 +88,7 @@ export {
|
|
|
85
88
|
recordSlideShown,
|
|
86
89
|
resolveNarrationTimingGenerator,
|
|
87
90
|
traceWordPosAt,
|
|
91
|
+
transcriptWordKeys,
|
|
88
92
|
vadStep,
|
|
89
93
|
wordIndexAtChar,
|
|
90
94
|
wordIndexAtTime,
|
package/dist/recommend/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
profileBlockContents,
|
|
3
3
|
recommendTemplatesForBlock
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-CSR6VCSJ.js";
|
|
5
5
|
import "../chunk-L7QZORLB.js";
|
|
6
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-KVEOD57Z.js";
|
|
7
7
|
import "../chunk-P53Z4RYC.js";
|
|
8
8
|
export {
|
|
9
9
|
profileBlockContents,
|
package/dist/schemas/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export { B as BUILD_EFFECTS, a as BUILD_MODES, b as BUILD_PARAM_KEYS, c as BUILD_PREVIOUS, d as BuildAdvance, e as BuildCursor, f as BuildSpec, g as BuildStep, h as BuildTiming, i as DEFAULT_TRANSITION_DURATION_SECONDS, aa as TRANSITION_DIRECTIONS, ab as TRANSITION_TYPES, ac as Transition, ad as TransitionDirection, ae as TransitionType, ah as buildSpecParams, ai as isTransitionType, aj as normalizeTransitionDirection, ak as normalizeTransitionType, al as parseBuildSpec, am as recordBuildAdvance, an as resolveBlockTransition, ap as resolveTransitionDuration } from '../types-Zk8qYuaT.js';
|
|
2
2
|
export { B as BoundingBox, C as Coordinates } from '../Types-sh2VRxfo.js';
|
|
3
|
-
import { R as Doc, bC as Theme, bF as ThemePageStyle, bE as ThemeColorScheme, L as DeepPartial, bI as ThemeSeedColors, bD as ThemeColorPalette, $ as FontFamilyKind, _ as FontFamily } from '../Doc-
|
|
4
|
-
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, n as BottomFeatureInput, C as CaptionPhrase, o as CaptionTrack, p as CaptionWord, q as ChartBaseFields, r as ChartTemplateInput, s as ColorScheme, t as ColumnChartInput, u as ComparisonBarInput, v as ContentBlockInput, w as CornerBrandingConfig, x as CountUpSpec, y as CreateTemplateContextOptions, z as CustomTemplateDefinition, D as CustomTemplateLayer, E as CustomTemplateValidationError, F as CustomTemplateValidationResult, G as DARK_SURFACE, H as DEFAULT_DOC_FONT, I as DEFAULT_TITLE_FONT, J as DataTableInput, K as DateEventInput, M as DefinitionCardInput, N as DiagramBlockInput, O as DiagramEdgeAnchor, P as DiagramTemplateEdge, Q as DiagramTemplateNode, S as DocBlock, T as DocDiagnostic, U as DonutChartInput, V as DrawingBlockInput, W as FRONTMATTER_CUSTOM_TEMPLATES_KEY, X as FRONTMATTER_CUSTOM_THEMES_KEY, Y as FRONTMATTER_MOTION_KEY, Z as FactCardInput, a0 as FullBleedQuoteInput, a1 as GradientBackgroundConfig, a2 as ImageBackgroundConfig, a3 as ImageLayer, a4 as ImageTreatment, a5 as ImageWithCaptionInput, a6 as LIGHT_SURFACE, a7 as Layer, a8 as LayerRepeat, a9 as LayoutHints, aa as LeftFeatureInput, ab as LineChartInput, ac as LinearGradient, ad as ListBlockInput, ae as MOTION_PROFILES, af as MapBlockInput, ag as MapLayer, ah as MapMarker, ai as MapTileStyle, aj as MarkerStyle, ak as MediaClip, al as MediaCrop, am as MediaCut, an as MediaEdits, ao as MediaOnlyInput, ap as MediaScheduleOptions, aq as MermaidLayer, ar as MotionEntrance, as as MotionOrigin, at as MotionProfile, au as MotionProfileName, av as MotionSpec, aw as MotionState, ax as PAGE_ACCENT_STRATEGIES, ay as PAGE_BACKGROUNDS, az as PAGE_BACKGROUND_RHYTHMS, aA as PAGE_DESIGN_FAMILIES, aB as PAGE_DIVIDERS, aC as PAGE_EMPHASES, aD as PAGE_EYEBROWS, aE as PAGE_HEADING_CASES, aF as PAGE_HEADING_SCALES, aG as PAGE_HEADING_UNDERLINES, aH as PAGE_HERO_STYLES, aI as PAGE_IMAGE_FRAMINGS, aJ as PAGE_NUMERAL_STYLES, aK as PAGE_PATTERNS, aL as PAGE_QUOTE_MARKS, aM as PAGE_SECTION_KINDS, aN as PAGE_SECTION_SPACINGS, aO as PAGE_SHADOWS, aP as PAGE_VARIANTS, aQ as PageAccentRotation, aR as PageBackground, aS as PageDesignFamily, aT as PageEmphasis, aU as PageHeadingTreatment, aV as PageSectionKind, aW as PageSectionOverride, aX as PageTokens, aY as PageVariant, aZ as PathLayer, a_ as PatternBackgroundConfig, a$ as PersistentLayer, b0 as PersistentLayerConfig, b1 as PersistentLayerTemplate, b2 as PersistentLayerTemplateConfig, b3 as PersistentLayerTemplateType, b4 as PhotoGridInput, b5 as PieChartInput, b6 as PipStyle, b7 as Position, b8 as ProgressIndicatorConfig, b9 as PromotedBodyAnnotation, ba as PullQuoteInput, bb as QuoteBlockInput, bc as RawLayersInput, bd as RenderStyle, be as RightFeatureInput, bf as ScatterChartInput, bg as ScheduledClip, bh as SectionHeaderInput, bi as ShapeFilter, bj as ShapeLayer, bk as ShapePattern, bl as SolidBackgroundConfig, bm as StartBlockConfig, bn as StatHighlightInput, bo as SurfaceScheme, bp as SvgLayer, bq as THEME_SCHEMA_VERSION, br as TableLayer, bs as TableLayerStyle, bt as TemplateBlock, bu as TemplateContext, bv as TemplateFunction, bw as TemplateRegistry, bx as TextFlow, by as TextLayer, bz as TextParagraph, bA as TextParagraphList, bB as TextStyle, bG as ThemeRegistry, bH as ThemeSchemaVersion, bJ as ThemeStyle, bK as ThemeTypography, bL as TimelineBlockInput, bM as TimelineTemplateEvent, bN as TimelineTemplateLink, bO as TimelineTemplateTrack, bP as TitleBlockInput, bQ as TitleCaptionConfig, bR as TopFeatureInput, bS as TranscriptBlockInput, bT as TreeBlockInput, bU as TreeLayer, bV as TreeLayerItem, bW as TreeLayerStyle, bX as TreeTemplateItem, bY as TwoColumnInput, bZ as VIEWPORT_PRESETS, b_ as VideoEmbedLayer, b$ as VideoLayer, c0 as VideoPipPosition, c1 as VideoPipShape, c2 as VideoPipSize, c3 as VideoPlacement, c4 as VideoPresentation, c5 as VideoPullQuoteInput, c6 as VideoWithCaptionInput, c7 as ViewportConfig, c8 as ViewportOrientation, c9 as ViewportPreset, ca as VignetteConfig, cb as applySurface, cc as calculateDuration, cd as calculateFontScale, ce as createTemplateContext, cf as createTheme, cg as createThemeRegistry, ch as getAspectRatioString, ci as getBlockAtTime, cj as getCaptionAtTime, ck as getDocPlaybackDuration, cl as getLayoutHints, cm as getSafeTextBounds, cn as getSegmentAtTime, co as getTwoColumnPositions, cp as getViewport, cq as getViewportOrientation, cr as isCustomTemplateDefinition, cs as isMotionProfileName, ct as isPersistentLayerTemplate, cu as isTemplateBlock, cv as layoutScaledFontSize, cw as readFrontmatterMotion, cx as resolveMediaSchedule, cy as resolveMotionForDoc, cz as resolveMotionProfile, cA as scaledFontSize, cB as scheduleMediaClip, cC as validateCustomTemplateDefinition } from '../Doc-
|
|
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-
|
|
3
|
+
import { R as Doc, bC as Theme, bF as ThemePageStyle, bE as ThemeColorScheme, L as DeepPartial, bI as ThemeSeedColors, bD as ThemeColorPalette, $ as FontFamilyKind, _ as FontFamily } from '../Doc-BQUVDooL.js';
|
|
4
|
+
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, n as BottomFeatureInput, C as CaptionPhrase, o as CaptionTrack, p as CaptionWord, q as ChartBaseFields, r as ChartTemplateInput, s as ColorScheme, t as ColumnChartInput, u as ComparisonBarInput, v as ContentBlockInput, w as CornerBrandingConfig, x as CountUpSpec, y as CreateTemplateContextOptions, z as CustomTemplateDefinition, D as CustomTemplateLayer, E as CustomTemplateValidationError, F as CustomTemplateValidationResult, G as DARK_SURFACE, H as DEFAULT_DOC_FONT, I as DEFAULT_TITLE_FONT, J as DataTableInput, K as DateEventInput, M as DefinitionCardInput, N as DiagramBlockInput, O as DiagramEdgeAnchor, P as DiagramTemplateEdge, Q as DiagramTemplateNode, S as DocBlock, T as DocDiagnostic, U as DonutChartInput, V as DrawingBlockInput, W as FRONTMATTER_CUSTOM_TEMPLATES_KEY, X as FRONTMATTER_CUSTOM_THEMES_KEY, Y as FRONTMATTER_MOTION_KEY, Z as FactCardInput, a0 as FullBleedQuoteInput, a1 as GradientBackgroundConfig, a2 as ImageBackgroundConfig, a3 as ImageLayer, a4 as ImageTreatment, a5 as ImageWithCaptionInput, a6 as LIGHT_SURFACE, a7 as Layer, a8 as LayerRepeat, a9 as LayoutHints, aa as LeftFeatureInput, ab as LineChartInput, ac as LinearGradient, ad as ListBlockInput, ae as MOTION_PROFILES, af as MapBlockInput, ag as MapLayer, ah as MapMarker, ai as MapTileStyle, aj as MarkerStyle, ak as MediaClip, al as MediaCrop, am as MediaCut, an as MediaEdits, ao as MediaOnlyInput, ap as MediaScheduleOptions, aq as MermaidLayer, ar as MotionEntrance, as as MotionOrigin, at as MotionProfile, au as MotionProfileName, av as MotionSpec, aw as MotionState, ax as PAGE_ACCENT_STRATEGIES, ay as PAGE_BACKGROUNDS, az as PAGE_BACKGROUND_RHYTHMS, aA as PAGE_DESIGN_FAMILIES, aB as PAGE_DIVIDERS, aC as PAGE_EMPHASES, aD as PAGE_EYEBROWS, aE as PAGE_HEADING_CASES, aF as PAGE_HEADING_SCALES, aG as PAGE_HEADING_UNDERLINES, aH as PAGE_HERO_STYLES, aI as PAGE_IMAGE_FRAMINGS, aJ as PAGE_NUMERAL_STYLES, aK as PAGE_PATTERNS, aL as PAGE_QUOTE_MARKS, aM as PAGE_SECTION_KINDS, aN as PAGE_SECTION_SPACINGS, aO as PAGE_SHADOWS, aP as PAGE_VARIANTS, aQ as PageAccentRotation, aR as PageBackground, aS as PageDesignFamily, aT as PageEmphasis, aU as PageHeadingTreatment, aV as PageSectionKind, aW as PageSectionOverride, aX as PageTokens, aY as PageVariant, aZ as PathLayer, a_ as PatternBackgroundConfig, a$ as PersistentLayer, b0 as PersistentLayerConfig, b1 as PersistentLayerTemplate, b2 as PersistentLayerTemplateConfig, b3 as PersistentLayerTemplateType, b4 as PhotoGridInput, b5 as PieChartInput, b6 as PipStyle, b7 as Position, b8 as ProgressIndicatorConfig, b9 as PromotedBodyAnnotation, ba as PullQuoteInput, bb as QuoteBlockInput, bc as RawLayersInput, bd as RenderStyle, be as RightFeatureInput, bf as ScatterChartInput, bg as ScheduledClip, bh as SectionHeaderInput, bi as ShapeFilter, bj as ShapeLayer, bk as ShapePattern, bl as SolidBackgroundConfig, bm as StartBlockConfig, bn as StatHighlightInput, bo as SurfaceScheme, bp as SvgLayer, bq as THEME_SCHEMA_VERSION, br as TableLayer, bs as TableLayerStyle, bt as TemplateBlock, bu as TemplateContext, bv as TemplateFunction, bw as TemplateRegistry, bx as TextFlow, by as TextLayer, bz as TextParagraph, bA as TextParagraphList, bB as TextStyle, bG as ThemeRegistry, bH as ThemeSchemaVersion, bJ as ThemeStyle, bK as ThemeTypography, bL as TimelineBlockInput, bM as TimelineTemplateEvent, bN as TimelineTemplateLink, bO as TimelineTemplateTrack, bP as TitleBlockInput, bQ as TitleCaptionConfig, bR as TopFeatureInput, bS as TranscriptBlockInput, bT as TreeBlockInput, bU as TreeLayer, bV as TreeLayerItem, bW as TreeLayerStyle, bX as TreeTemplateItem, bY as TwoColumnInput, bZ as VIEWPORT_PRESETS, b_ as VideoEmbedLayer, b$ as VideoLayer, c0 as VideoPipPosition, c1 as VideoPipShape, c2 as VideoPipSize, c3 as VideoPlacement, c4 as VideoPresentation, c5 as VideoPullQuoteInput, c6 as VideoWithCaptionInput, c7 as ViewportConfig, c8 as ViewportOrientation, c9 as ViewportPreset, ca as VignetteConfig, cb as applySurface, cc as calculateDuration, cd as calculateFontScale, ce as createTemplateContext, cf as createTheme, cg as createThemeRegistry, ch as getAspectRatioString, ci as getBlockAtTime, cj as getCaptionAtTime, ck as getDocPlaybackDuration, cl as getLayoutHints, cm as getSafeTextBounds, cn as getSegmentAtTime, co as getTwoColumnPositions, cp as getViewport, cq as getViewportOrientation, cr as isCustomTemplateDefinition, cs as isMotionProfileName, ct as isPersistentLayerTemplate, cu as isTemplateBlock, cv as layoutScaledFontSize, cw as readFrontmatterMotion, cx as resolveMediaSchedule, cy as resolveMotionForDoc, cz as resolveMotionProfile, cA as scaledFontSize, cB as scheduleMediaClip, cC as validateCustomTemplateDefinition } from '../Doc-BQUVDooL.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-D6GK29l3.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-
|
|
7
|
+
export { E as EditorLayerMeta, I as ImageEditCanvas, a as ImageEditDoc, b as ImageEditLayer, c as ImageEditLayerKind, d as ImageEditMeta } from '../ImageEditDoc-glA5UUau.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Runtime validation for the canonical {@link Doc} JSON shape.
|
package/dist/schemas/index.js
CHANGED
package/dist/timing/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { R as Doc, s as ColorScheme, k as Block, bt as TemplateBlock } from '../Doc-
|
|
2
|
-
import { i as PageTransformHints } from '../materializePageSection-
|
|
1
|
+
import { R as Doc, s as ColorScheme, k as Block, bt as TemplateBlock } from '../Doc-BQUVDooL.js';
|
|
2
|
+
import { i as PageTransformHints } from '../materializePageSection-_ftXlwvB.js';
|
|
3
3
|
import { d as ExtractionType, E as ExtractedElement, b as ExtractionOptions } from '../contentExtractor-BNfVJV2U.js';
|
|
4
|
-
import { f as BuildSpec } from '../types-Zk8qYuaT.js';
|
|
4
|
+
import { f as BuildSpec, M as MarkdownBlockNode } from '../types-Zk8qYuaT.js';
|
|
5
5
|
|
|
6
6
|
/** Identifier for a built-in or caller-registered transform style. */
|
|
7
7
|
type TransformStyleId = string;
|
|
@@ -336,6 +336,8 @@ interface PresentationBeat {
|
|
|
336
336
|
headline: string;
|
|
337
337
|
points: string[];
|
|
338
338
|
imageSrc?: string;
|
|
339
|
+
/** The section's videos and diagrams shown beside this slide's text (`presentationMedia`). */
|
|
340
|
+
media?: string[];
|
|
339
341
|
}
|
|
340
342
|
interface PresentationPlan {
|
|
341
343
|
version: 1;
|
|
@@ -347,6 +349,7 @@ declare const PRESENTATION_LIMITS: {
|
|
|
347
349
|
readonly sourceCharacters: 40000;
|
|
348
350
|
readonly beats: 80;
|
|
349
351
|
readonly serializedCharacters: 160000;
|
|
352
|
+
readonly mediaPerBeat: 4;
|
|
350
353
|
};
|
|
351
354
|
declare function parsePresentationPlan(input: unknown): PresentationPlan | null;
|
|
352
355
|
declare function serializePresentationPlan(plan: PresentationPlan): string;
|
|
@@ -400,4 +403,22 @@ declare function createPresentationPlan(doc: Doc, hints?: PresentationHints): Pr
|
|
|
400
403
|
declare function compilePresentationPlan(doc: Doc, plan: PresentationPlan): Doc;
|
|
401
404
|
declare function applySavedPresentation(doc: Doc): Doc;
|
|
402
405
|
|
|
403
|
-
|
|
406
|
+
/** The videos and diagrams a narrated section embeds, which dynamic slides show
|
|
407
|
+
* beside its summaries. Images keep their own full-bleed slides; these are the
|
|
408
|
+
* visuals rich-media layout places next to slide text (`appendRichContentLayers`).
|
|
409
|
+
*/
|
|
410
|
+
|
|
411
|
+
interface PresentationMediaItem {
|
|
412
|
+
/** `<section block id>#<index>`, stable while the section's visuals are unchanged. */
|
|
413
|
+
ref: string;
|
|
414
|
+
kind: 'video' | 'diagram';
|
|
415
|
+
/** The body node exactly as authored; slides render it through rich-media layout. */
|
|
416
|
+
node: MarkdownBlockNode;
|
|
417
|
+
/** A diagram, or an HTML video that can resume mid-clip on a following slide. */
|
|
418
|
+
continuous: boolean;
|
|
419
|
+
}
|
|
420
|
+
/** Each section's visuals in source order, claimed like images: a nested
|
|
421
|
+
* block's visuals belong to the nearest narrated section at or before it. */
|
|
422
|
+
declare function collectPresentationMedia(doc: Doc, sectionIds: string[]): Map<string, PresentationMediaItem[]>;
|
|
423
|
+
|
|
424
|
+
export { type AnalyzedBlock, type BlockImage, DEFAULT_TRANSFORM_STYLE_ID, DYNAMIC_PRESENTATION_STYLE, type NarratedSegmentInput, type NarratedSegmentResult, type NarratedSegmentTransformOptions, type NarratedSegmentVideo, PRESENTATION_HINTS_KEY, PRESENTATION_KEY, PRESENTATION_LAYOUTS, PRESENTATION_LIMITS, type PresentationBeat, type PresentationBlockHint, type PresentationHints, type PresentationLayout, type PresentationMediaItem, type PresentationPlan, type TransformImage, type TransformOptions, type TransformResult, type TransformStyleConfig, type TransformStyleId, type TransformStyleInput, type TransformStyleRegistry, type TransformStyleSummary, allocateTiming, analyzeBlocks, applySavedPresentation, applyTransform, collectPresentationMedia, compilePresentationPlan, createPresentationPlan, createTransformStyleRegistry, defaultPresentationHints, extractDocImages, getTransformStyleIds, getTransformStyleSummaries, parsePresentationHints, parsePresentationPlan, presentationSections, resolveTransformStyle, serializePresentationHints, serializePresentationPlan, transformNarratedSegment, usesDynamicPresentation };
|