@bendyline/squisq 2.8.0 → 2.10.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-DBadkoP4.d.ts → Doc-DTyeaFuW.d.ts} +1 -1
- package/dist/{ImageEditDoc-Cq2a3c30.d.ts → ImageEditDoc-dFEclQ9l.d.ts} +1 -1
- package/dist/{annotationCoercion-CPHEggo3.d.ts → annotationCoercion-Ckqpu33y.d.ts} +1 -1
- package/dist/{chunk-V6NV4GDE.js → chunk-DRFJU4MK.js} +1948 -1832
- package/dist/{chunk-HXMV7WQB.js → chunk-IO5XO6XH.js} +1 -1
- package/dist/{chunk-6MVWWZHL.js → chunk-MIKKUKOD.js} +88 -2
- package/dist/{chunk-KEAU5NEM.js → chunk-NFHMHYUV.js} +107 -2
- package/dist/chunk-T3B4WJBR.js +167 -0
- package/dist/{chunk-PTK2SW2V.js → chunk-XSW4QTMB.js} +272 -4
- package/dist/doc/index.d.ts +88 -10
- package/dist/doc/index.js +11 -3
- package/dist/fence/index.d.ts +2 -2
- package/dist/generate/index.d.ts +2 -2
- package/dist/imageEdit/index.d.ts +4 -4
- package/dist/index.d.ts +9 -8
- package/dist/index.js +51 -5
- package/dist/jsonForm/index.d.ts +2 -2
- package/dist/markdown/index.d.ts +3 -3
- package/dist/markdown/index.js +2 -2
- package/dist/{materializePageSection-Rss5thAj.d.ts → materializePageSection-BRNIINlU.d.ts} +2 -2
- package/dist/narration/index.d.ts +109 -4
- package/dist/narration/index.js +10 -2
- package/dist/proof/index.d.ts +179 -0
- package/dist/proof/index.js +32 -0
- package/dist/recommend/index.d.ts +1 -1
- package/dist/schemas/index.d.ts +5 -5
- package/dist/{themeLibrary-8BQMY2HV.d.ts → themeLibrary-xaxN5UYu.d.ts} +1 -1
- package/dist/transform/index.d.ts +3 -3
- package/dist/{types-CcrDFdWH.d.ts → types-Be6sBUBx.d.ts} +28 -2
- package/package.json +6 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
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 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-
|
|
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-DTyeaFuW.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
|
-
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
|
|
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-
|
|
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 MarkdownSubscript, U as MarkdownSuperscript, V as MarkdownTable, W as MarkdownTableCell, X as MarkdownTableRow, Y as MarkdownText, Z as MarkdownTextDirective, _ as MarkdownThematicBreak, $ as ParseOptions, a0 as StringifyOptions, a1 as TRANSITION_DIRECTIONS, a2 as TRANSITION_TYPES, a3 as Transition, a4 as TransitionDirection, a5 as TransitionType, a6 as assertMarkdownDocumentWithinLimits, a7 as assertMarkdownSourceWithinLimits, a8 as isTransitionType, a9 as normalizeTransitionDirection, aa as normalizeTransitionType, ab as resolveBlockTransition, ac as resolveMarkdownSafetyLimits, ad as resolveTransitionDuration } from './types-Be6sBUBx.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-xaxN5UYu.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, BUILTIN_DASHBOARD_LAYOUTS, BlockLayerMaterialization, BlockMediaLayoutPolicy, BuildPreviewDocOptions, BuiltInTemplateName, CONTAINER_TEMPLATES, COVER_SLIDE_FRONTMATTER_KEYS, COVER_SLIDE_TEMPLATE_OPTIONS, ClipBox, ConnectorAnchor, ConnectorPort, ConnectorRouting, ConnectorSnapPoint, CoverBlockInput, CoverSlidePlayback, CoverSlideSettings, CoverSlideTemplate, CoverSlideTemplateOption, DASHBOARD_AUTO_LAYOUT_ID, DASHBOARD_FRONTMATTER_KEYS, DASHBOARD_STYLES, DASHBOARD_STYLE_IDS, DASHBOARD_ZOOM_LEVELS, DEFAULT_COVER_SLIDE_SETTINGS, DEFAULT_DASHBOARD_SETTINGS, DEFAULT_DASHBOARD_STYLE, DEFAULT_LAYOUT, DIAGRAM_LABEL_HORIZONTAL_PADDING, DIAGRAM_LABEL_LINE_HEIGHT, DIAGRAM_LABEL_MIN_FONT_SIZE, DIAGRAM_LABEL_VERTICAL_PADDING, DashboardCell, DashboardCellChrome, DashboardCellDefinition, DashboardCellFrame, DashboardDiagnostic, DashboardLayoutDefinition, DashboardLayoutSummary, DashboardLayoutValidationError, DashboardLayoutValidationResult, DashboardMaterialization, DashboardRectPct, DashboardSettings, DashboardSettingsOverrides, DashboardStyleId, DashboardStyleSummary, DashboardTitle, DashboardTitleSlotDefinition, DashboardZoomCandidate, DashboardZoomLevel, DashboardZoomMode, DataFenceParseResult, DeriveTemplateInputsOptions, DetectAsciiTimelineOptions, DiagramEdge, DiagramLabelFit, DiagramLayout, DiagramLayoutOptions, DiagramNodePosition, DrawingConnector, DrawingLayout, DrawingLayoutOptions, DrawingShape, DrawingShapeKind, EmbeddedVideo, ExpandDocBlocksOptions, ExtractedTableData, FRONTMATTER_DASHBOARD_LAYOUTS_KEY, FirstImage, InputCoercion, LayerMaterializationDiagnostic, LayerMaterializationFailureMode, LayerMaterializationSource, LayoutLayerDefaults, LayoutLayersResult, MAX_COVER_SLIDE_DURATION_SECONDS, MarkdownToDocOptions, MarkdownValidationResult, MaterializeBlockLayersOptions, MaterializeDashboardOptions, NarrationResolution, NativeMediaLayout, NoMediaLayout, PAGE_BASE_CSS, PATH_SHAPE_KINDS, PageSectionContext, PageSectionDraft, RenderAsciiDiagramOptions, RenderAsciiTimelineOptions, RenderTreeOptions, RepairResult, ResolvedDashboardCell, ResolvedPageBlock, RichListItem, RuntimeTemplateRegistry, SHAPE_NAMES, SectionExtractor, SupplementalMediaLayoutVariant, SupplementalMediaShape, SupplementalMediaVariantMatrix, TABLE_FED_TEMPLATES, TEMPLATE_AUTHORING_METADATA, TEMPLATE_INPUT_DESCRIPTORS, TEMPLATE_METADATA, TREE_FENCE_LANGS, TemplateAuthoringMetadata, TemplateAuthoringRole, TemplateBodyPolicy, TemplateInputDescriptor, TemplateMediaOwnership, TemplateMetadata, TemplateParamFinding, Tree, TreeDetection, TreeItem, TreeNode, UnconsumedMediaBehavior, ValidateOptions, adjustY, anchorPoint, applyNarrationTiming, applyRenderStyleToLayers, asciiCellToCanvas, asciiDiagramFromBlocks, asciiDiagramFromTemplateData, asciiDiagramToTemplateData, asciiTimelineToTemplateData, autoTemplatePreservesContent, bigText, buildDashboardCellChrome, buildPageCss, buildPageCssVars, buildPreviewDoc, buildRegistry, canvasToAsciiCell, chooseDashboardLayout, clipEndpoints, clipPoint, coerceTemplateParams, comparisonBar, composeDashboardLayers, computeDiagramLayout, computeDrawingLayout, computeLayoutLayers, connectorPath, contentBlock, countBlocks, coverBlock, createAccentLayers, cssFilterForTreatment, dashboardCanvasFill, dashboardCellAccent, dataTable, dateEvent, definitionCard, deriveTemplateInputs, desiredCellZoom, detectAsciiDiagram, detectAsciiTimeline, detectTree, diagramBlock, docToMarkdown, documentTitleFromFileName, drawingBlock, expandCoverBlock, expandDocBlocks, expandPersistentLayers, extractBlockquoteText, extractBodyPlainText, extractEmbeddedVideos, extractFirstEmbeddedVideo, extractFirstImage, extractImages, extractListItems, extractRichListItems, extractTableData, extractTableFromContents, factCard, fallbackBlockLayers, findFirstList, findFirstTable, fitBigTextSize, fitDiagramLabel, flattenBlocks, flattenRenderableBlocks, fullBleedQuote, getAccentLayout, getAnimationProgress, getAnimationStyle, getAvailableTemplates, getBlockBodyText, getBlockDepth, getBlockMediaLayoutPolicy, getDashboardLayoutSummaries, getDefaultAnimation, getDefaultAnimationDuration, getOverlayOpacity, getPersistentLayersFromTheme, getPinnedBlockMeta, getTemplateHint, getThemeFont, getTransitionClass, hasTemplate, imageWithCaption, isAsciiDiagramFence, isAsciiTimelineFence, isContainerTemplate, isDataFence, isEligibleAsciiFenceLang, isEligibleAsciiTimelineFenceLang, isEligibleTreeFenceLang, isExplicitDiagramLang, isExplicitTimelineLang, isExplicitTreeLang, isRepairableDiagram, isShapeName, isTemplatedPageBlock, isTreeFence, isWrappedFlowTimelineSource, layoutBlock, layoutCapacity, leftFeature, lineStyleDasharray, lintTemplateParams, listBlock, listDashboardLayouts, mapBlock, markdownToDoc, markerPath, materializeBlockLayers, materializeDashboard, nearestSnapPoint, normalizeDashboardZoom, normalizeShapeKind, pageStyleDataAttributes, parseAsciiDiagram, parseAsciiTimeline, parseAsciiTimelineWithStats, parseDataFence, parseTree, parseWrappedFlowTimeline, parseYamlSubset, photoGrid, pullQuote, quoteBlock, readCustomTemplatesFromFrontmatter, readCustomThemesFromFrontmatter, readDashboardLayoutsFromFrontmatter, renderAsciiDiagram, renderAsciiTimeline, renderTree, repairAsciiDiagram, replaceDataFence, resolveAudioMapping, resolveColorScheme, resolveCoverSlideSettings, resolveDashboardLayoutDefinition, resolveDashboardSettings, resolveDashboardStyleId, resolveDashboardZooms, resolveLayoutCells, resolvePageBlock, resolvePersistentLayers, resolveTemplateName, resolveThemeForDoc, rightFeature, scaleAnimationDuration, scoreTextSimilarity, sectionExtractors, sectionHeader, shapePath, shouldUseShadow, snapEndpoints, snapPoints, statHighlight, stripBlockBackdropLayer, stripsBlockBackdrop, templateRegistry, themeWantsAmbientMotion, themedEntrance, themedFontSize, themedImageTreatment, themedScrim, themedSurfaceGradient, timelineBlock, titleBlock, transposeCells, treeBlock, treeFromMarkdownList, treeFromTemplateData, treeToTemplateData, twoColumn, validateDashboardLayoutDefinition, validateMarkdownDoc, validateMarkdownSource, videoPullQuote, videoWithCaption, wrapWithPersistentLayers, writeCustomTemplatesToFrontmatter, writeCustomThemesToFrontmatter, writeDashboardLayoutsToFrontmatter } from './doc/index.js';
|
|
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-dFEclQ9l.js';
|
|
8
|
+
export { ASCII_CHAR_H, ASCII_CHAR_W, ASCII_DIAGRAM_FENCE_LANGS, ASCII_TIMELINE_FENCE_LANGS, AccentLayout, AsciiDiagram, AsciiDiagramDetection, AsciiDiagramEdge, AsciiDiagramNode, AsciiTimeline, AsciiTimelineDetection, AsciiTimelineEvent, AsciiTimelineLink, AsciiTimelineMarker, AsciiTimelineSide, AsciiTimelineStats, AsciiTimelineStyle, AsciiTimelineTrack, AudioSegmentTiming, BASE_INPUT_DESCRIPTORS, BLOCK_MEDIA_LAYOUT_POLICIES, BUILTIN_DASHBOARD_LAYOUTS, BlockLayerMaterialization, BlockMediaLayoutPolicy, BuildPreviewDocOptions, BuiltInTemplateName, CONTAINER_TEMPLATES, COVER_SLIDE_FRONTMATTER_KEYS, COVER_SLIDE_TEMPLATE_OPTIONS, ClipBox, ConnectorAnchor, ConnectorPort, ConnectorRouting, ConnectorSnapPoint, CoverBlockInput, CoverSlidePlayback, CoverSlideSettings, CoverSlideTemplate, CoverSlideTemplateOption, DASHBOARD_AUTO_LAYOUT_ID, DASHBOARD_FRONTMATTER_KEYS, DASHBOARD_STYLES, DASHBOARD_STYLE_IDS, DASHBOARD_ZOOM_LEVELS, DEFAULT_COVER_SLIDE_SETTINGS, DEFAULT_DASHBOARD_SETTINGS, DEFAULT_DASHBOARD_STYLE, DEFAULT_LAYOUT, DIAGRAM_LABEL_HORIZONTAL_PADDING, DIAGRAM_LABEL_LINE_HEIGHT, DIAGRAM_LABEL_MIN_FONT_SIZE, DIAGRAM_LABEL_VERTICAL_PADDING, DashboardCell, DashboardCellChrome, DashboardCellDefinition, DashboardCellFrame, DashboardDiagnostic, DashboardLayoutDefinition, DashboardLayoutSummary, DashboardLayoutValidationError, DashboardLayoutValidationResult, DashboardMaterialization, DashboardRectPct, DashboardSettings, DashboardSettingsOverrides, DashboardStyleId, DashboardStyleSummary, DashboardTitle, DashboardTitleSlotDefinition, DashboardZoomCandidate, DashboardZoomLevel, DashboardZoomMode, DataFenceParseResult, DeriveTemplateInputsOptions, DetectAsciiTimelineOptions, DiagramEdge, DiagramLabelFit, DiagramLayout, DiagramLayoutOptions, DiagramNodePosition, DrawingConnector, DrawingLayout, DrawingLayoutOptions, DrawingShape, DrawingShapeKind, EmbeddedVideo, ExpandDocBlocksOptions, ExtractedTableData, FRONTMATTER_DASHBOARD_LAYOUTS_KEY, FirstImage, Flashcard, FlashcardChoice, FlashcardDeck, FlashcardDiagnostic, FlashcardDiagnosticCode, FlashcardFace, FlashcardKind, FlashcardSourceMode, InputCoercion, LayerMaterializationDiagnostic, LayerMaterializationFailureMode, LayerMaterializationSource, LayoutLayerDefaults, LayoutLayersResult, MAX_COVER_SLIDE_DURATION_SECONDS, MarkdownToDocOptions, MarkdownValidationResult, MaterializeBlockLayersOptions, MaterializeDashboardOptions, MaterializeFlashcardsOptions, NarrationResolution, NativeMediaLayout, NoMediaLayout, PAGE_BASE_CSS, PATH_SHAPE_KINDS, PageSectionContext, PageSectionDraft, RenderAsciiDiagramOptions, RenderAsciiTimelineOptions, RenderTreeOptions, RepairResult, ResolvedDashboardCell, ResolvedPageBlock, RichListItem, RuntimeTemplateRegistry, SHAPE_NAMES, SectionExtractor, SupplementalMediaLayoutVariant, SupplementalMediaShape, SupplementalMediaVariantMatrix, TABLE_FED_TEMPLATES, TEMPLATE_AUTHORING_METADATA, TEMPLATE_INPUT_DESCRIPTORS, TEMPLATE_METADATA, TREE_FENCE_LANGS, TemplateAuthoringMetadata, TemplateAuthoringRole, TemplateBodyPolicy, TemplateInputDescriptor, TemplateMediaOwnership, TemplateMetadata, TemplateParamFinding, Tree, TreeDetection, TreeItem, TreeNode, UnconsumedMediaBehavior, ValidateOptions, adjustY, anchorPoint, applyNarrationTiming, applyRenderStyleToLayers, asciiCellToCanvas, asciiDiagramFromBlocks, asciiDiagramFromTemplateData, asciiDiagramToTemplateData, asciiTimelineToTemplateData, autoTemplatePreservesContent, bigText, buildDashboardCellChrome, buildPageCss, buildPageCssVars, buildPreviewDoc, buildRegistry, canvasToAsciiCell, chooseDashboardLayout, clipEndpoints, clipPoint, coerceTemplateParams, comparisonBar, composeDashboardLayers, computeDiagramLayout, computeDrawingLayout, computeLayoutLayers, connectorPath, contentBlock, countBlocks, coverBlock, createAccentLayers, cssFilterForTreatment, dashboardCanvasFill, dashboardCellAccent, dataTable, dateEvent, definitionCard, deriveTemplateInputs, desiredCellZoom, detectAsciiDiagram, detectAsciiTimeline, detectTree, diagramBlock, docToMarkdown, documentTitleFromFileName, drawingBlock, expandCoverBlock, expandDocBlocks, expandPersistentLayers, extractBlockquoteText, extractBodyPlainText, extractEmbeddedVideos, extractFirstEmbeddedVideo, extractFirstImage, extractImages, extractListItems, extractRichListItems, extractTableData, extractTableFromContents, factCard, fallbackBlockLayers, findFirstList, findFirstTable, fitBigTextSize, fitDiagramLabel, flattenBlocks, flattenRenderableBlocks, fullBleedQuote, getAccentLayout, getAnimationProgress, getAnimationStyle, getAvailableTemplates, getBlockBodyText, getBlockDepth, getBlockMediaLayoutPolicy, getDashboardLayoutSummaries, getDefaultAnimation, getDefaultAnimationDuration, getOverlayOpacity, getPersistentLayersFromTheme, getPinnedBlockMeta, getTemplateHint, getThemeFont, getTransitionClass, hasTemplate, imageWithCaption, isAsciiDiagramFence, isAsciiTimelineFence, isContainerTemplate, isDataFence, isEligibleAsciiFenceLang, isEligibleAsciiTimelineFenceLang, isEligibleTreeFenceLang, isExplicitDiagramLang, isExplicitTimelineLang, isExplicitTreeLang, isRepairableDiagram, isShapeName, isTemplatedPageBlock, isTreeFence, isWrappedFlowTimelineSource, layoutBlock, layoutCapacity, leftFeature, lineStyleDasharray, lintTemplateParams, listBlock, listDashboardLayouts, mapBlock, markdownBlockSeparatorLines, markdownToDoc, markerPath, materializeBlockLayers, materializeDashboard, materializeFlashcards, nearestSnapPoint, normalizeDashboardZoom, normalizeShapeKind, pageStyleDataAttributes, parseAsciiDiagram, parseAsciiTimeline, parseAsciiTimelineWithStats, parseDataFence, parseTree, parseWrappedFlowTimeline, parseYamlSubset, photoGrid, pullQuote, quoteBlock, readCustomTemplatesFromFrontmatter, readCustomThemesFromFrontmatter, readDashboardLayoutsFromFrontmatter, renderAsciiDiagram, renderAsciiTimeline, renderMarkdownBlocksHtml, renderTree, repairAsciiDiagram, replaceDataFence, resolveAudioMapping, resolveColorScheme, resolveCoverSlideSettings, resolveDashboardLayoutDefinition, resolveDashboardSettings, resolveDashboardStyleId, resolveDashboardZooms, resolveFlashcardMarker, resolveLayoutCells, resolvePageBlock, resolvePersistentLayers, resolveTemplateName, resolveThemeForDoc, rightFeature, scaleAnimationDuration, scoreTextSimilarity, sectionExtractors, sectionHeader, shapePath, shouldUseShadow, snapEndpoints, snapPoints, statHighlight, stripBlockBackdropLayer, stripsBlockBackdrop, templateRegistry, themeWantsAmbientMotion, themedEntrance, themedFontSize, themedImageTreatment, themedScrim, themedSurfaceGradient, timelineBlock, titleBlock, transposeCells, treeBlock, treeFromMarkdownList, treeFromTemplateData, treeToTemplateData, twoColumn, validateDashboardLayoutDefinition, validateMarkdownDoc, validateMarkdownSource, videoPullQuote, videoWithCaption, wrapWithPersistentLayers, writeCustomTemplatesToFrontmatter, writeCustomThemesToFrontmatter, writeDashboardLayoutsToFrontmatter } from './doc/index.js';
|
|
9
|
+
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-BRNIINlU.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';
|
|
13
13
|
export { DEFAULT_INTERACTIVE_RESOURCE_POLICY, DEFAULT_RESOURCE_MAX_BYTES, DEFAULT_RESOURCE_TIMEOUT_MS, DEFAULT_WRAP_WIDTH, FetchResourceBytesOptions, FetchedResource, HtmlPolicy, LOCAL_ONLY_RESOURCE_POLICY, MARKDOWN_SOURCE_TRANSFORMS, MarkdownSourceEdit, MarkdownSourceTransform, MarkdownSourceTransformId, MarkdownSourceTransformOptions, MarkdownSourceTransformResult, MarkdownWrapState, ResourcePolicy, ResourcePolicyError, SanitizeUrlOptions, TrailingAnnotationMatch, UrlKind, applyMarkdownSourceTransform, cleanupMarkdownSource, countNodes, createDocument, detectMarkdownWrapState, extractPlainText, fetchResourceBytes, findNodesByType, formatBlockScalar, formatFrontmatterValue, formatFrontmatterYaml, fromMdast, getChildren, inferDocumentTitle, isResourceUrlAllowed, matchTrailingPandocAttr, matchTrailingTemplateAnnotation, needsQuoting, parseFrontmatter, parseHtmlToNodes, parseMarkdown, parsePandocAttrTokens, plainTextFromInlineHtml, quoteAttrValue, readFrontmatterThemeId, sanitizeHtmlNodes, sanitizeUrl, serializePandocAttributes, setFrontmatterValues, splitFrontmatterBlock, splitKeyValueToken, stringifyHtmlNodes, stringifyMarkdown, toMdast, tokenizeAttrTokens, unquoteAttrValue, unwrapMarkdownSource, walkMarkdownTree, wrapMarkdownSource } from './markdown/index.js';
|
|
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-
|
|
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-Ckqpu33y.js';
|
|
15
15
|
export { DEFAULT_WORDS_PER_SECOND, NarrationTimeEstimate, NarrationTimeOptions, ReadingTimeEstimate, ReadingTimeOptions, 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';
|
|
@@ -24,5 +24,6 @@ export { IMAGE_EDIT_ASSETS_PREFIX, IMAGE_EDIT_DEFAULT_BASENAME, IMAGE_EDIT_STATE
|
|
|
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-CiE8Hlvz.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 { AlignConfig, AlignInput, BandpassState, BuildNarrationTimingOptions, BuildScriptOptions, DEFAULT_ALIGN_CONFIG, DEFAULT_FEATURE_CONFIG, DEFAULT_NUCLEI_CONFIG, DEFAULT_PACING_CONFIG, DEFAULT_VAD_CONFIG, FeatureConfig, FeatureState, FrameFeatures, NarrationAlignment, NarrationBlockRange, NarrationScript, NarrationSessionConfig, NarrationSessionState, NarrationTimingBlock, NarrationTimingJsonV3, NarrationTrace, NucleiConfig, NucleiState, PacingConfig, PacingState, PacingTick, ScriptBlockRange, ScriptToken, TraceSample, VadConfig, VadState, WordTiming, alignNarration, bandpassRun, buildNarrationScript, buildNarrationTimingJson, createBandpass, createFeatureState, createNarrationSession, createNucleiState, createPacingState, createVadState, detectSyllableOnsets, downsampleTrace, estimateSyllables, expectedSyllablesAt, extractFrameFeatures, featureStep, narrationSessionStep, nucleiStep, pacingStep, parseNarrationTimingJson, reanchorPacing, reanchorSession, 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, 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, traceWordPosAt, vadStep, wordIndexAtChar, wordIndexAtTime, wordPosAtExpectedSyllables } from './narration/index.js';
|
|
28
28
|
export { FenceRenderContext, FenceRenderer, FenceRendererMap, fenceRendererLangs } from './fence/index.js';
|
|
29
|
+
export { BlankedText, DEFAULT_PROOF_SETTINGS, JoinedSegments, LINT_KIND_CATEGORIES, PROOF_DIALECTS, PROOF_FRONTMATTER_KEYS, PROOF_JOIN_SEPARATOR, ProofCategory, ProofDialect, ProofFinding, ProofRange, ProofSuggestion, ProofSuggestionKind, ProofingSettings, SegmentSpan, blankProtectedSpans, buildJoinedText, categorizeLintKind, dropMaskedFindings, formatProofDictionary, mapJoinedSpanToSegment, parseProofDictionary, readProofingSettings, resolveProofDialect } from './proof/index.js';
|
package/dist/index.js
CHANGED
|
@@ -4,8 +4,11 @@ import {
|
|
|
4
4
|
DEFAULT_NUCLEI_CONFIG,
|
|
5
5
|
DEFAULT_PACING_CONFIG,
|
|
6
6
|
DEFAULT_VAD_CONFIG,
|
|
7
|
+
EMPTY_ADVANCE_LOG,
|
|
8
|
+
advanceCoverage,
|
|
7
9
|
alignNarration,
|
|
8
10
|
bandpassRun,
|
|
11
|
+
buildAdvanceTimingJson,
|
|
9
12
|
createBandpass,
|
|
10
13
|
createFeatureState,
|
|
11
14
|
createNarrationSession,
|
|
@@ -21,12 +24,29 @@ import {
|
|
|
21
24
|
pacingStep,
|
|
22
25
|
reanchorPacing,
|
|
23
26
|
reanchorSession,
|
|
27
|
+
recordSlideShown,
|
|
24
28
|
traceWordPosAt,
|
|
25
29
|
vadStep
|
|
26
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-NFHMHYUV.js";
|
|
27
31
|
import {
|
|
28
32
|
fenceRendererLangs
|
|
29
33
|
} from "./chunk-PGI7HSWE.js";
|
|
34
|
+
import {
|
|
35
|
+
DEFAULT_PROOF_SETTINGS,
|
|
36
|
+
LINT_KIND_CATEGORIES,
|
|
37
|
+
PROOF_DIALECTS,
|
|
38
|
+
PROOF_FRONTMATTER_KEYS,
|
|
39
|
+
PROOF_JOIN_SEPARATOR,
|
|
40
|
+
blankProtectedSpans,
|
|
41
|
+
buildJoinedText,
|
|
42
|
+
categorizeLintKind,
|
|
43
|
+
dropMaskedFindings,
|
|
44
|
+
formatProofDictionary,
|
|
45
|
+
mapJoinedSpanToSegment,
|
|
46
|
+
parseProofDictionary,
|
|
47
|
+
readProofingSettings,
|
|
48
|
+
resolveProofDialect
|
|
49
|
+
} from "./chunk-T3B4WJBR.js";
|
|
30
50
|
import {
|
|
31
51
|
DEFAULT_TRANSFORM_STYLE_ID,
|
|
32
52
|
analyzeBlocks,
|
|
@@ -171,6 +191,7 @@ import {
|
|
|
171
191
|
layoutCapacity,
|
|
172
192
|
listDashboardLayouts,
|
|
173
193
|
materializeDashboard,
|
|
194
|
+
materializeFlashcards,
|
|
174
195
|
materializePageSection,
|
|
175
196
|
materializePageSections,
|
|
176
197
|
normalizeDashboardZoom,
|
|
@@ -186,6 +207,7 @@ import {
|
|
|
186
207
|
resolveDashboardSettings,
|
|
187
208
|
resolveDashboardStyleId,
|
|
188
209
|
resolveDashboardZooms,
|
|
210
|
+
resolveFlashcardMarker,
|
|
189
211
|
resolveLayoutCells,
|
|
190
212
|
resolvePageBlock,
|
|
191
213
|
resolvePageStyle,
|
|
@@ -199,7 +221,7 @@ import {
|
|
|
199
221
|
validateMarkdownDoc,
|
|
200
222
|
validateMarkdownSource,
|
|
201
223
|
writeDashboardLayoutsToFrontmatter
|
|
202
|
-
} from "./chunk-
|
|
224
|
+
} from "./chunk-XSW4QTMB.js";
|
|
203
225
|
import {
|
|
204
226
|
ASCII_CHAR_H,
|
|
205
227
|
ASCII_CHAR_W,
|
|
@@ -286,6 +308,7 @@ import {
|
|
|
286
308
|
lintTemplateParams,
|
|
287
309
|
listBlock,
|
|
288
310
|
mapBlock,
|
|
311
|
+
markdownBlockSeparatorLines,
|
|
289
312
|
markdownToDoc,
|
|
290
313
|
materializeBlockLayers,
|
|
291
314
|
normalizeShapeKind,
|
|
@@ -297,6 +320,7 @@ import {
|
|
|
297
320
|
quoteBlock,
|
|
298
321
|
readCustomTemplatesFromFrontmatter,
|
|
299
322
|
readCustomThemesFromFrontmatter,
|
|
323
|
+
renderMarkdownBlocksHtml,
|
|
300
324
|
replaceDataFence,
|
|
301
325
|
resolveColorScheme,
|
|
302
326
|
resolvePersistentLayers,
|
|
@@ -327,7 +351,7 @@ import {
|
|
|
327
351
|
wrapWithPersistentLayers,
|
|
328
352
|
writeCustomTemplatesToFrontmatter,
|
|
329
353
|
writeCustomThemesToFrontmatter
|
|
330
|
-
} from "./chunk-
|
|
354
|
+
} from "./chunk-DRFJU4MK.js";
|
|
331
355
|
import {
|
|
332
356
|
PATH_SHAPE_KINDS,
|
|
333
357
|
anchorPoint,
|
|
@@ -477,7 +501,7 @@ import {
|
|
|
477
501
|
stringifyMarkdown,
|
|
478
502
|
unwrapMarkdownSource,
|
|
479
503
|
wrapMarkdownSource
|
|
480
|
-
} from "./chunk-
|
|
504
|
+
} from "./chunk-IO5XO6XH.js";
|
|
481
505
|
import {
|
|
482
506
|
DEFAULT_MARKDOWN_SAFETY_LIMITS,
|
|
483
507
|
MarkdownLimitError,
|
|
@@ -489,7 +513,7 @@ import {
|
|
|
489
513
|
resolveMarkdownSafetyLimits,
|
|
490
514
|
serializePandocAttributes,
|
|
491
515
|
toMdast
|
|
492
|
-
} from "./chunk-
|
|
516
|
+
} from "./chunk-MIKKUKOD.js";
|
|
493
517
|
import {
|
|
494
518
|
BLOCK_META_KEY_DESCRIPTORS,
|
|
495
519
|
CONTAINER_TEMPLATES,
|
|
@@ -591,6 +615,7 @@ export {
|
|
|
591
615
|
DEFAULT_MARKDOWN_SAFETY_LIMITS,
|
|
592
616
|
DEFAULT_NUCLEI_CONFIG,
|
|
593
617
|
DEFAULT_PACING_CONFIG,
|
|
618
|
+
DEFAULT_PROOF_SETTINGS,
|
|
594
619
|
DEFAULT_RESOURCE_MAX_BYTES,
|
|
595
620
|
DEFAULT_RESOURCE_TIMEOUT_MS,
|
|
596
621
|
DEFAULT_THEME,
|
|
@@ -606,6 +631,7 @@ export {
|
|
|
606
631
|
DIAGRAM_LABEL_MIN_FONT_SIZE,
|
|
607
632
|
DIAGRAM_LABEL_VERTICAL_PADDING,
|
|
608
633
|
DocumentVersionManager,
|
|
634
|
+
EMPTY_ADVANCE_LOG,
|
|
609
635
|
FONT_FALLBACKS,
|
|
610
636
|
FRONTMATTER_CUSTOM_TEMPLATES_KEY,
|
|
611
637
|
FRONTMATTER_CUSTOM_THEMES_KEY,
|
|
@@ -618,6 +644,7 @@ export {
|
|
|
618
644
|
ImageEditVersionManager,
|
|
619
645
|
KNOWN_BLOCK_META_KEYS,
|
|
620
646
|
LIGHT_SURFACE,
|
|
647
|
+
LINT_KIND_CATEGORIES,
|
|
621
648
|
LOCAL_ONLY_RESOURCE_POLICY,
|
|
622
649
|
LocalForageAdapter,
|
|
623
650
|
LocalStorageAdapter,
|
|
@@ -646,6 +673,9 @@ export {
|
|
|
646
673
|
PAGE_SECTION_SPACINGS,
|
|
647
674
|
PAGE_SHADOWS,
|
|
648
675
|
PATH_SHAPE_KINDS,
|
|
676
|
+
PROOF_DIALECTS,
|
|
677
|
+
PROOF_FRONTMATTER_KEYS,
|
|
678
|
+
PROOF_JOIN_SEPARATOR,
|
|
649
679
|
ResourcePolicyError,
|
|
650
680
|
SHAPE_NAMES,
|
|
651
681
|
STARTER_THEME,
|
|
@@ -666,6 +696,7 @@ export {
|
|
|
666
696
|
accentToColorScheme,
|
|
667
697
|
addLayer,
|
|
668
698
|
adjustY,
|
|
699
|
+
advanceCoverage,
|
|
669
700
|
alignNarration,
|
|
670
701
|
analyzeBlocks,
|
|
671
702
|
anchorPoint,
|
|
@@ -688,9 +719,12 @@ export {
|
|
|
688
719
|
autoTemplatePreservesContent,
|
|
689
720
|
bandpassRun,
|
|
690
721
|
bigText,
|
|
722
|
+
blankProtectedSpans,
|
|
723
|
+
buildAdvanceTimingJson,
|
|
691
724
|
buildDashboardCellChrome,
|
|
692
725
|
buildGoogleFontsUrl,
|
|
693
726
|
buildImageEditVersionPath,
|
|
727
|
+
buildJoinedText,
|
|
694
728
|
buildJsonFormTokens,
|
|
695
729
|
buildMermaidThemeVariables,
|
|
696
730
|
buildNarrationScript,
|
|
@@ -707,6 +741,7 @@ export {
|
|
|
707
741
|
calculatePrefixDuration,
|
|
708
742
|
canonicalIconToken,
|
|
709
743
|
canvasToAsciiCell,
|
|
744
|
+
categorizeLintKind,
|
|
710
745
|
chooseControl,
|
|
711
746
|
chooseDashboardLayout,
|
|
712
747
|
cleanupMarkdownSource,
|
|
@@ -764,6 +799,7 @@ export {
|
|
|
764
799
|
documentTitleFromFileName,
|
|
765
800
|
downsampleTrace,
|
|
766
801
|
drawingBlock,
|
|
802
|
+
dropMaskedFindings,
|
|
767
803
|
encodeGeohash,
|
|
768
804
|
escapePointerSegment,
|
|
769
805
|
estimateNarrationDuration,
|
|
@@ -809,6 +845,7 @@ export {
|
|
|
809
845
|
formatBlockScalar,
|
|
810
846
|
formatFrontmatterValue,
|
|
811
847
|
formatFrontmatterYaml,
|
|
848
|
+
formatProofDictionary,
|
|
812
849
|
formatVersionTimestamp,
|
|
813
850
|
fromMdast,
|
|
814
851
|
fullBleedQuote,
|
|
@@ -899,6 +936,8 @@ export {
|
|
|
899
936
|
looksLikeIconToken,
|
|
900
937
|
mapBlock,
|
|
901
938
|
mapElementToBlock,
|
|
939
|
+
mapJoinedSpanToSegment,
|
|
940
|
+
markdownBlockSeparatorLines,
|
|
902
941
|
markdownToDoc,
|
|
903
942
|
markerPath,
|
|
904
943
|
matchFontFamily,
|
|
@@ -906,6 +945,7 @@ export {
|
|
|
906
945
|
matchTrailingTemplateAnnotation,
|
|
907
946
|
materializeBlockLayers,
|
|
908
947
|
materializeDashboard,
|
|
948
|
+
materializeFlashcards,
|
|
909
949
|
materializePageSection,
|
|
910
950
|
materializePageSections,
|
|
911
951
|
narrationSessionStep,
|
|
@@ -931,6 +971,7 @@ export {
|
|
|
931
971
|
parseMarkdown,
|
|
932
972
|
parseNarrationTimingJson,
|
|
933
973
|
parsePandocAttrTokens,
|
|
974
|
+
parseProofDictionary,
|
|
934
975
|
parseTheme,
|
|
935
976
|
parseTimeSeconds,
|
|
936
977
|
parseTree,
|
|
@@ -957,14 +998,17 @@ export {
|
|
|
957
998
|
readImageEditDoc,
|
|
958
999
|
readImageEditVersion,
|
|
959
1000
|
readImageEditVersionText,
|
|
1001
|
+
readProofingSettings,
|
|
960
1002
|
readVersion,
|
|
961
1003
|
reanchorPacing,
|
|
962
1004
|
reanchorSession,
|
|
963
1005
|
recommendTemplatesForBlock,
|
|
1006
|
+
recordSlideShown,
|
|
964
1007
|
relativeLuminance,
|
|
965
1008
|
removeLayer,
|
|
966
1009
|
renderAsciiDiagram,
|
|
967
1010
|
renderAsciiTimeline,
|
|
1011
|
+
renderMarkdownBlocksHtml,
|
|
968
1012
|
renderTree,
|
|
969
1013
|
reorderLayer,
|
|
970
1014
|
repairAsciiDiagram,
|
|
@@ -978,6 +1022,7 @@ export {
|
|
|
978
1022
|
resolveDashboardStyleId,
|
|
979
1023
|
resolveDashboardZooms,
|
|
980
1024
|
resolveFlag,
|
|
1025
|
+
resolveFlashcardMarker,
|
|
981
1026
|
resolveFontFamily,
|
|
982
1027
|
resolveIcon,
|
|
983
1028
|
resolveJsonFormTheme,
|
|
@@ -987,6 +1032,7 @@ export {
|
|
|
987
1032
|
resolvePageBlock,
|
|
988
1033
|
resolvePageStyle,
|
|
989
1034
|
resolvePersistentLayers,
|
|
1035
|
+
resolveProofDialect,
|
|
990
1036
|
resolveRef,
|
|
991
1037
|
resolveTemplateName,
|
|
992
1038
|
resolveTheme,
|
package/dist/jsonForm/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { bh as Theme, b7 as SurfaceScheme } from '../Doc-
|
|
2
|
-
import '../types-
|
|
1
|
+
import { bh as Theme, b7 as SurfaceScheme } from '../Doc-DTyeaFuW.js';
|
|
2
|
+
import '../types-Be6sBUBx.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* JSON Form types — Squisq's hint vocabulary layered on JSON Schema.
|
package/dist/markdown/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { D as DEFAULT_MARKDOWN_SAFETY_LIMITS, b as HeadingTemplateAnnotation, c as HtmlComment, d as HtmlElement, 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, 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, N as MarkdownParagraph, O as MarkdownPoint, P as MarkdownSafetyLimits, Q as MarkdownSourcePosition, R as MarkdownStrikethrough, S as MarkdownStrong, T as
|
|
3
|
-
export { B as BLOCK_META_KEY_DESCRIPTORS, a as BlockMetaKeyDescriptor, K as KNOWN_BLOCK_META_KEYS, b as KnownBlockMetaKey, p as parseTimeSeconds } from '../annotationCoercion-
|
|
1
|
+
import { $ as ParseOptions, n as MarkdownDocument, a0 as StringifyOptions, H as HeadingAttributes, e as HtmlNode, L as MarkdownNode } from '../types-Be6sBUBx.js';
|
|
2
|
+
export { D as DEFAULT_MARKDOWN_SAFETY_LIMITS, b as HeadingTemplateAnnotation, c as HtmlComment, d as HtmlElement, 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, 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, N as MarkdownParagraph, O as MarkdownPoint, P as MarkdownSafetyLimits, Q as MarkdownSourcePosition, R as MarkdownStrikethrough, S as MarkdownStrong, T as MarkdownSubscript, U as MarkdownSuperscript, V as MarkdownTable, W as MarkdownTableCell, X as MarkdownTableRow, Y as MarkdownText, Z as MarkdownTextDirective, _ as MarkdownThematicBreak, a6 as assertMarkdownDocumentWithinLimits, a7 as assertMarkdownSourceWithinLimits, ac as resolveMarkdownSafetyLimits } from '../types-Be6sBUBx.js';
|
|
3
|
+
export { B as BLOCK_META_KEY_DESCRIPTORS, a as BlockMetaKeyDescriptor, K as KNOWN_BLOCK_META_KEYS, b as KnownBlockMetaKey, p as parseTimeSeconds } from '../annotationCoercion-Ckqpu33y.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Markdown → JSON Parser
|
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-IO5XO6XH.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-MIKKUKOD.js";
|
|
30
30
|
import {
|
|
31
31
|
BLOCK_META_KEY_DESCRIPTORS,
|
|
32
32
|
KNOWN_BLOCK_META_KEYS,
|
|
@@ -1,5 +1,5 @@
|
|
|
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-
|
|
2
|
-
import { M as MarkdownBlockNode } from './types-
|
|
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-DTyeaFuW.js';
|
|
2
|
+
import { M as MarkdownBlockNode } from './types-Be6sBUBx.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* PageSection — the framework-agnostic block model for Page (linear) mode.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { O as Doc, f as AudioBookmark } from '../Doc-
|
|
2
|
-
import '../types-
|
|
1
|
+
import { O as Doc, f as AudioBookmark } from '../Doc-DTyeaFuW.js';
|
|
2
|
+
import '../types-Be6sBUBx.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Shared types + tuning configs for the narration engine.
|
|
@@ -610,10 +610,19 @@ interface NarrationTimingJsonV3 {
|
|
|
610
610
|
/** Provenance of the timing data. */
|
|
611
611
|
generator?: {
|
|
612
612
|
name: string;
|
|
613
|
-
method:
|
|
613
|
+
method: NarrationTimingMethod;
|
|
614
614
|
baseWpm?: number;
|
|
615
615
|
};
|
|
616
616
|
}
|
|
617
|
+
/**
|
|
618
|
+
* How a sidecar's block ranges were produced.
|
|
619
|
+
*
|
|
620
|
+
* - `'dsp-align'` — the teleprompter's offline banded-DTW aligner inferred
|
|
621
|
+
* them from the take's audio against the expected script.
|
|
622
|
+
* - `'presenter-advance'` — the presenter drove them directly, by advancing
|
|
623
|
+
* slides in the recorder while the take rolled. Observed, not inferred.
|
|
624
|
+
*/
|
|
625
|
+
type NarrationTimingMethod = 'dsp-align' | 'presenter-advance';
|
|
617
626
|
interface BuildNarrationTimingOptions {
|
|
618
627
|
cameraOffsetSec?: number;
|
|
619
628
|
baseWpm?: number;
|
|
@@ -628,4 +637,100 @@ declare function buildNarrationTimingJson(script: NarrationScript, alignment: Na
|
|
|
628
637
|
*/
|
|
629
638
|
declare function parseNarrationTimingJson(data: ArrayBuffer | Uint8Array | string): NarrationTimingJsonV3 | null;
|
|
630
639
|
|
|
631
|
-
|
|
640
|
+
/**
|
|
641
|
+
* Presenter-advance block timings — the observed sibling of the DTW aligner.
|
|
642
|
+
*
|
|
643
|
+
* The teleprompter INFERS where each block began by matching the take's audio
|
|
644
|
+
* against the expected script (`alignNarration` → `deriveBlockRanges`). This
|
|
645
|
+
* module takes the other route: while a take rolls, the presenter advances
|
|
646
|
+
* slides themselves, and each first showing is stamped with take-relative
|
|
647
|
+
* time. Those observations ARE the block boundaries — nothing is inferred.
|
|
648
|
+
*
|
|
649
|
+
* The output is an ordinary {@link NarrationTimingJsonV3}, so the entire read
|
|
650
|
+
* path is unchanged: the recorder writes it to `<media>.timing.json`,
|
|
651
|
+
* `applyNarrationTiming` finds it through the doc-anchored clip, matches its
|
|
652
|
+
* entries to blocks (id → text similarity → order zip), and writes
|
|
653
|
+
* `block.startTime` / `block.duration`. Only `generator.method` distinguishes
|
|
654
|
+
* the two provenances.
|
|
655
|
+
*
|
|
656
|
+
* ## First-shown-only
|
|
657
|
+
*
|
|
658
|
+
* A revisit is a no-op ({@link recordSlideShown} returns its input). Block *k*
|
|
659
|
+
* therefore runs from its first showing until block *k+1*'s first showing —
|
|
660
|
+
* an excursion back to an earlier slide is billed to the slide the presenter
|
|
661
|
+
* was on. That is the direct consequence of "note the time a slide is first
|
|
662
|
+
* introduced", and it keeps the log monotonic, which every downstream
|
|
663
|
+
* consumer assumes.
|
|
664
|
+
*
|
|
665
|
+
* ## Blocks the presenter never showed
|
|
666
|
+
*
|
|
667
|
+
* They collapse to a ZERO-LENGTH range at the next shown block's start.
|
|
668
|
+
* `getBlockAtTime` selects on `time >= startTime && time < startTime +
|
|
669
|
+
* duration`, so a zero-length block is never on screen — it is skipped in
|
|
670
|
+
* playback, which is exactly what "never shown" means. Emitting them anyway
|
|
671
|
+
* (rather than omitting them) is what keeps the sidecar contiguous and
|
|
672
|
+
* complete: `applyNarrationTiming` places UNMATCHED doc blocks at its running
|
|
673
|
+
* cursor with their own reading-time duration, which would silently push
|
|
674
|
+
* every later block out of sync with the audio.
|
|
675
|
+
*/
|
|
676
|
+
|
|
677
|
+
/** One block the presenter put on screen for the first time, in take-relative ms. */
|
|
678
|
+
interface SlideAdvance {
|
|
679
|
+
blockId: string;
|
|
680
|
+
atMs: number;
|
|
681
|
+
}
|
|
682
|
+
/**
|
|
683
|
+
* An ordered, first-shown-only advance log. Invariants, maintained by
|
|
684
|
+
* {@link recordSlideShown}: each `blockId` appears at most once, and `atMs` is
|
|
685
|
+
* non-decreasing.
|
|
686
|
+
*/
|
|
687
|
+
type SlideAdvanceLog = readonly SlideAdvance[];
|
|
688
|
+
declare const EMPTY_ADVANCE_LOG: SlideAdvanceLog;
|
|
689
|
+
/**
|
|
690
|
+
* Append a first showing.
|
|
691
|
+
*
|
|
692
|
+
* Returns the SAME reference — not a copy — when the block is already logged
|
|
693
|
+
* (the presenter went backwards) or the stamp is unusable. Reference stability
|
|
694
|
+
* is what makes this safe to call from a React state updater: a no-op advance
|
|
695
|
+
* cannot trigger a re-render.
|
|
696
|
+
*
|
|
697
|
+
* `atMs` is clamped to at least the previous entry's, so a non-monotonic wall
|
|
698
|
+
* clock (an NTP step mid-take) can never produce a decreasing log.
|
|
699
|
+
*/
|
|
700
|
+
declare function recordSlideShown(log: SlideAdvanceLog, blockId: string, atMs: number): SlideAdvanceLog;
|
|
701
|
+
interface BuildAdvanceTimingOptions {
|
|
702
|
+
/**
|
|
703
|
+
* Forwarded to `buildNarrationScript`. Must match whatever produced the
|
|
704
|
+
* script the sidecar's `sourceText` will be compared against.
|
|
705
|
+
*/
|
|
706
|
+
script?: BuildScriptOptions;
|
|
707
|
+
/** `generator.name` written into provenance. Defaults to `'squisq-recorder'`. */
|
|
708
|
+
generatorName?: string;
|
|
709
|
+
}
|
|
710
|
+
/**
|
|
711
|
+
* Build a v3 timing sidecar from observed slide advances.
|
|
712
|
+
*
|
|
713
|
+
* Takes the `doc` rather than a prebuilt script on purpose: the payload needs
|
|
714
|
+
* BOTH `flattenRenderableBlocks` (the authoritative block list — the script
|
|
715
|
+
* skips blocks with no spoken text) and `buildNarrationScript` (`sourceText`
|
|
716
|
+
* plus the char ranges that make matching survive an id change). Deriving both
|
|
717
|
+
* here is what guarantees they cannot disagree.
|
|
718
|
+
*
|
|
719
|
+
* Pure — no clock, no I/O.
|
|
720
|
+
*/
|
|
721
|
+
declare function buildAdvanceTimingJson(doc: Doc, advances: SlideAdvanceLog, durationSec: number, options?: BuildAdvanceTimingOptions): NarrationTimingJsonV3;
|
|
722
|
+
/** How much of the deck the presenter actually got through. */
|
|
723
|
+
interface AdvanceCoverage {
|
|
724
|
+
/** Renderable blocks in the doc. */
|
|
725
|
+
total: number;
|
|
726
|
+
/** Blocks shown at least once during the take. */
|
|
727
|
+
shown: number;
|
|
728
|
+
/** Blocks never shown — they save as zero-length and are skipped in playback. */
|
|
729
|
+
unshown: number;
|
|
730
|
+
/** Headings of the unshown blocks, in document order, for user-facing copy. */
|
|
731
|
+
unshownHeadings: string[];
|
|
732
|
+
}
|
|
733
|
+
/** Summarize an advance log against a doc. Pure; drives the review-panel warning. */
|
|
734
|
+
declare function advanceCoverage(doc: Doc, advances: SlideAdvanceLog): AdvanceCoverage;
|
|
735
|
+
|
|
736
|
+
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 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, traceWordPosAt, vadStep, wordIndexAtChar, wordIndexAtTime, wordPosAtExpectedSyllables };
|
package/dist/narration/index.js
CHANGED
|
@@ -4,8 +4,11 @@ import {
|
|
|
4
4
|
DEFAULT_NUCLEI_CONFIG,
|
|
5
5
|
DEFAULT_PACING_CONFIG,
|
|
6
6
|
DEFAULT_VAD_CONFIG,
|
|
7
|
+
EMPTY_ADVANCE_LOG,
|
|
8
|
+
advanceCoverage,
|
|
7
9
|
alignNarration,
|
|
8
10
|
bandpassRun,
|
|
11
|
+
buildAdvanceTimingJson,
|
|
9
12
|
createBandpass,
|
|
10
13
|
createFeatureState,
|
|
11
14
|
createNarrationSession,
|
|
@@ -21,9 +24,10 @@ import {
|
|
|
21
24
|
pacingStep,
|
|
22
25
|
reanchorPacing,
|
|
23
26
|
reanchorSession,
|
|
27
|
+
recordSlideShown,
|
|
24
28
|
traceWordPosAt,
|
|
25
29
|
vadStep
|
|
26
|
-
} from "../chunk-
|
|
30
|
+
} from "../chunk-NFHMHYUV.js";
|
|
27
31
|
import {
|
|
28
32
|
buildNarrationScript,
|
|
29
33
|
buildNarrationTimingJson,
|
|
@@ -33,7 +37,7 @@ import {
|
|
|
33
37
|
wordIndexAtChar,
|
|
34
38
|
wordIndexAtTime,
|
|
35
39
|
wordPosAtExpectedSyllables
|
|
36
|
-
} from "../chunk-
|
|
40
|
+
} from "../chunk-DRFJU4MK.js";
|
|
37
41
|
import "../chunk-PUS54YU6.js";
|
|
38
42
|
import "../chunk-CUYHFOFL.js";
|
|
39
43
|
import "../chunk-SBAX4ZPO.js";
|
|
@@ -50,8 +54,11 @@ export {
|
|
|
50
54
|
DEFAULT_NUCLEI_CONFIG,
|
|
51
55
|
DEFAULT_PACING_CONFIG,
|
|
52
56
|
DEFAULT_VAD_CONFIG,
|
|
57
|
+
EMPTY_ADVANCE_LOG,
|
|
58
|
+
advanceCoverage,
|
|
53
59
|
alignNarration,
|
|
54
60
|
bandpassRun,
|
|
61
|
+
buildAdvanceTimingJson,
|
|
55
62
|
buildNarrationScript,
|
|
56
63
|
buildNarrationTimingJson,
|
|
57
64
|
createBandpass,
|
|
@@ -72,6 +79,7 @@ export {
|
|
|
72
79
|
parseNarrationTimingJson,
|
|
73
80
|
reanchorPacing,
|
|
74
81
|
reanchorSession,
|
|
82
|
+
recordSlideShown,
|
|
75
83
|
traceWordPosAt,
|
|
76
84
|
vadStep,
|
|
77
85
|
wordIndexAtChar,
|