@bendyline/squisq 2.9.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-W2GIFNLN.js → chunk-DRFJU4MK.js} +23 -1
- package/dist/{chunk-HXMV7WQB.js → chunk-IO5XO6XH.js} +1 -1
- package/dist/{chunk-6MVWWZHL.js → chunk-MIKKUKOD.js} +88 -2
- package/dist/{chunk-HEYR3TPL.js → chunk-NFHMHYUV.js} +107 -2
- package/dist/chunk-T3B4WJBR.js +167 -0
- package/dist/{chunk-KIAEJDZB.js → chunk-XSW4QTMB.js} +2 -2
- package/dist/doc/index.d.ts +7 -7
- package/dist/doc/index.js +3 -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 +8 -7
- package/dist/index.js +43 -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-
|
|
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
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-
|
|
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,
|
|
@@ -201,7 +221,7 @@ import {
|
|
|
201
221
|
validateMarkdownDoc,
|
|
202
222
|
validateMarkdownSource,
|
|
203
223
|
writeDashboardLayoutsToFrontmatter
|
|
204
|
-
} from "./chunk-
|
|
224
|
+
} from "./chunk-XSW4QTMB.js";
|
|
205
225
|
import {
|
|
206
226
|
ASCII_CHAR_H,
|
|
207
227
|
ASCII_CHAR_W,
|
|
@@ -331,7 +351,7 @@ import {
|
|
|
331
351
|
wrapWithPersistentLayers,
|
|
332
352
|
writeCustomTemplatesToFrontmatter,
|
|
333
353
|
writeCustomThemesToFrontmatter
|
|
334
|
-
} from "./chunk-
|
|
354
|
+
} from "./chunk-DRFJU4MK.js";
|
|
335
355
|
import {
|
|
336
356
|
PATH_SHAPE_KINDS,
|
|
337
357
|
anchorPoint,
|
|
@@ -481,7 +501,7 @@ import {
|
|
|
481
501
|
stringifyMarkdown,
|
|
482
502
|
unwrapMarkdownSource,
|
|
483
503
|
wrapMarkdownSource
|
|
484
|
-
} from "./chunk-
|
|
504
|
+
} from "./chunk-IO5XO6XH.js";
|
|
485
505
|
import {
|
|
486
506
|
DEFAULT_MARKDOWN_SAFETY_LIMITS,
|
|
487
507
|
MarkdownLimitError,
|
|
@@ -493,7 +513,7 @@ import {
|
|
|
493
513
|
resolveMarkdownSafetyLimits,
|
|
494
514
|
serializePandocAttributes,
|
|
495
515
|
toMdast
|
|
496
|
-
} from "./chunk-
|
|
516
|
+
} from "./chunk-MIKKUKOD.js";
|
|
497
517
|
import {
|
|
498
518
|
BLOCK_META_KEY_DESCRIPTORS,
|
|
499
519
|
CONTAINER_TEMPLATES,
|
|
@@ -595,6 +615,7 @@ export {
|
|
|
595
615
|
DEFAULT_MARKDOWN_SAFETY_LIMITS,
|
|
596
616
|
DEFAULT_NUCLEI_CONFIG,
|
|
597
617
|
DEFAULT_PACING_CONFIG,
|
|
618
|
+
DEFAULT_PROOF_SETTINGS,
|
|
598
619
|
DEFAULT_RESOURCE_MAX_BYTES,
|
|
599
620
|
DEFAULT_RESOURCE_TIMEOUT_MS,
|
|
600
621
|
DEFAULT_THEME,
|
|
@@ -610,6 +631,7 @@ export {
|
|
|
610
631
|
DIAGRAM_LABEL_MIN_FONT_SIZE,
|
|
611
632
|
DIAGRAM_LABEL_VERTICAL_PADDING,
|
|
612
633
|
DocumentVersionManager,
|
|
634
|
+
EMPTY_ADVANCE_LOG,
|
|
613
635
|
FONT_FALLBACKS,
|
|
614
636
|
FRONTMATTER_CUSTOM_TEMPLATES_KEY,
|
|
615
637
|
FRONTMATTER_CUSTOM_THEMES_KEY,
|
|
@@ -622,6 +644,7 @@ export {
|
|
|
622
644
|
ImageEditVersionManager,
|
|
623
645
|
KNOWN_BLOCK_META_KEYS,
|
|
624
646
|
LIGHT_SURFACE,
|
|
647
|
+
LINT_KIND_CATEGORIES,
|
|
625
648
|
LOCAL_ONLY_RESOURCE_POLICY,
|
|
626
649
|
LocalForageAdapter,
|
|
627
650
|
LocalStorageAdapter,
|
|
@@ -650,6 +673,9 @@ export {
|
|
|
650
673
|
PAGE_SECTION_SPACINGS,
|
|
651
674
|
PAGE_SHADOWS,
|
|
652
675
|
PATH_SHAPE_KINDS,
|
|
676
|
+
PROOF_DIALECTS,
|
|
677
|
+
PROOF_FRONTMATTER_KEYS,
|
|
678
|
+
PROOF_JOIN_SEPARATOR,
|
|
653
679
|
ResourcePolicyError,
|
|
654
680
|
SHAPE_NAMES,
|
|
655
681
|
STARTER_THEME,
|
|
@@ -670,6 +696,7 @@ export {
|
|
|
670
696
|
accentToColorScheme,
|
|
671
697
|
addLayer,
|
|
672
698
|
adjustY,
|
|
699
|
+
advanceCoverage,
|
|
673
700
|
alignNarration,
|
|
674
701
|
analyzeBlocks,
|
|
675
702
|
anchorPoint,
|
|
@@ -692,9 +719,12 @@ export {
|
|
|
692
719
|
autoTemplatePreservesContent,
|
|
693
720
|
bandpassRun,
|
|
694
721
|
bigText,
|
|
722
|
+
blankProtectedSpans,
|
|
723
|
+
buildAdvanceTimingJson,
|
|
695
724
|
buildDashboardCellChrome,
|
|
696
725
|
buildGoogleFontsUrl,
|
|
697
726
|
buildImageEditVersionPath,
|
|
727
|
+
buildJoinedText,
|
|
698
728
|
buildJsonFormTokens,
|
|
699
729
|
buildMermaidThemeVariables,
|
|
700
730
|
buildNarrationScript,
|
|
@@ -711,6 +741,7 @@ export {
|
|
|
711
741
|
calculatePrefixDuration,
|
|
712
742
|
canonicalIconToken,
|
|
713
743
|
canvasToAsciiCell,
|
|
744
|
+
categorizeLintKind,
|
|
714
745
|
chooseControl,
|
|
715
746
|
chooseDashboardLayout,
|
|
716
747
|
cleanupMarkdownSource,
|
|
@@ -768,6 +799,7 @@ export {
|
|
|
768
799
|
documentTitleFromFileName,
|
|
769
800
|
downsampleTrace,
|
|
770
801
|
drawingBlock,
|
|
802
|
+
dropMaskedFindings,
|
|
771
803
|
encodeGeohash,
|
|
772
804
|
escapePointerSegment,
|
|
773
805
|
estimateNarrationDuration,
|
|
@@ -813,6 +845,7 @@ export {
|
|
|
813
845
|
formatBlockScalar,
|
|
814
846
|
formatFrontmatterValue,
|
|
815
847
|
formatFrontmatterYaml,
|
|
848
|
+
formatProofDictionary,
|
|
816
849
|
formatVersionTimestamp,
|
|
817
850
|
fromMdast,
|
|
818
851
|
fullBleedQuote,
|
|
@@ -903,6 +936,7 @@ export {
|
|
|
903
936
|
looksLikeIconToken,
|
|
904
937
|
mapBlock,
|
|
905
938
|
mapElementToBlock,
|
|
939
|
+
mapJoinedSpanToSegment,
|
|
906
940
|
markdownBlockSeparatorLines,
|
|
907
941
|
markdownToDoc,
|
|
908
942
|
markerPath,
|
|
@@ -937,6 +971,7 @@ export {
|
|
|
937
971
|
parseMarkdown,
|
|
938
972
|
parseNarrationTimingJson,
|
|
939
973
|
parsePandocAttrTokens,
|
|
974
|
+
parseProofDictionary,
|
|
940
975
|
parseTheme,
|
|
941
976
|
parseTimeSeconds,
|
|
942
977
|
parseTree,
|
|
@@ -963,10 +998,12 @@ export {
|
|
|
963
998
|
readImageEditDoc,
|
|
964
999
|
readImageEditVersion,
|
|
965
1000
|
readImageEditVersionText,
|
|
1001
|
+
readProofingSettings,
|
|
966
1002
|
readVersion,
|
|
967
1003
|
reanchorPacing,
|
|
968
1004
|
reanchorSession,
|
|
969
1005
|
recommendTemplatesForBlock,
|
|
1006
|
+
recordSlideShown,
|
|
970
1007
|
relativeLuminance,
|
|
971
1008
|
removeLayer,
|
|
972
1009
|
renderAsciiDiagram,
|
|
@@ -995,6 +1032,7 @@ export {
|
|
|
995
1032
|
resolvePageBlock,
|
|
996
1033
|
resolvePageStyle,
|
|
997
1034
|
resolvePersistentLayers,
|
|
1035
|
+
resolveProofDialect,
|
|
998
1036
|
resolveRef,
|
|
999
1037
|
resolveTemplateName,
|
|
1000
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,
|