@bendyline/squisq 2.3.3 → 2.4.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-BrgZC7SE.d.ts → Doc-DLpyOAXJ.d.ts} +87 -2
- package/dist/{ImageEditDoc-rum0Xb9P.d.ts → ImageEditDoc-Cu30xb9b.d.ts} +1 -1
- package/dist/{chunk-2ZWIXGAC.js → chunk-2S74DPJH.js} +4 -0
- package/dist/{chunk-RS5AP3J4.js → chunk-AE3IUKMM.js} +1 -1
- package/dist/{chunk-QWCFK5FN.js → chunk-CUYHFOFL.js} +5 -1
- package/dist/{chunk-G3JOS25T.js → chunk-D4LPP3P5.js} +43 -14
- package/dist/{chunk-GQNH7PLN.js → chunk-F2IEPSMA.js} +1320 -8
- package/dist/{chunk-IZLKI3IL.js → chunk-KPBZZVGY.js} +29 -5
- package/dist/{chunk-BCCXTMN5.js → chunk-O7JILDEF.js} +7 -0
- package/dist/{chunk-SPTY4C6F.js → chunk-REDUXXDJ.js} +1 -1
- package/dist/{chunk-ABP4LAJS.js → chunk-ZHLNKB2I.js} +1 -1
- package/dist/chunk-ZYO3DBTA.js +983 -0
- package/dist/doc/index.d.ts +103 -6
- package/dist/doc/index.js +8 -6
- package/dist/generate/index.d.ts +1 -1
- package/dist/imageEdit/index.d.ts +3 -3
- package/dist/index.d.ts +6 -6
- package/dist/index.js +29 -11
- package/dist/jsonForm/index.d.ts +1 -1
- package/dist/jsonForm/index.js +2 -2
- package/dist/markdown/index.d.ts +118 -1
- package/dist/markdown/index.js +21 -5
- package/dist/{materializePageSection-CrZWYnXM.d.ts → materializePageSection-CgNs5Qmw.d.ts} +2 -2
- package/dist/narration/index.d.ts +1 -1
- package/dist/narration/index.js +4 -4
- package/dist/recommend/index.js +2 -2
- package/dist/schemas/index.d.ts +4 -4
- package/dist/schemas/index.js +2 -2
- package/dist/{themeLibrary-DJt89gyP.d.ts → themeLibrary-RWsNtlOu.d.ts} +1 -1
- package/dist/transform/index.d.ts +2 -2
- package/dist/transform/index.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-UA5DTYAY.js +0 -400
package/dist/doc/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { b5 as TemplateBlock, b6 as TemplateContext, a0 as Layer, v as CustomTemplateDefinition, b8 as TemplateRegistry, bb as Theme, bB as ViewportConfig, aH as PersistentLayerConfig, M as DocBlock, bC as ViewportOrientation, aG as PersistentLayer, bo as TitleBlockInput, aW as SectionHeaderInput, t as ContentBlockInput, b0 as StatHighlightInput, aQ as QuoteBlockInput, S as FactCardInput, bv as TwoColumnInput, E as DateEventInput, _ as ImageWithCaptionInput, a3 as LeftFeatureInput, aT as RightFeatureInput, a7 as MapBlockInput, a$ as StartBlockConfig, V as FullBleedQuoteInput, a6 as ListBlockInput, aL as PhotoGridInput, G as DefinitionCardInput, s as ComparisonBarInput, aP as PullQuoteInput, bA as VideoWithCaptionInput, bz as VideoPullQuoteInput, z as DataTableInput, H as DiagramBlockInput, bq as TreeBlockInput, bk as TimelineBlockInput, j as Block, P as DrawingBlockInput, ab as MarkerStyle, A as AccentImage, Z as ImageTreatment, a as AccentPosition, c as Animation, d as AnimationType, bd as ThemeColorScheme, L as Doc, bf as ThemeRegistry, az as PageEmphasis, be as ThemePageStyle, N as DocDiagnostic, K as DiagramTemplateNode, J as DiagramTemplateEdge, bn as TimelineTemplateTrack, bm as TimelineTemplateLink } from '../Doc-DLpyOAXJ.js';
|
|
2
|
+
export { Q as FRONTMATTER_CUSTOM_TEMPLATES_KEY, R as FRONTMATTER_CUSTOM_THEMES_KEY, a2 as LayoutHints, aS as RenderStyle, bc as ThemeColorPalette, bi as ThemeStyle, bj as ThemeTypography, bw as VIEWPORT_PRESETS, bD as ViewportPreset, bI as createTemplateContext, bP as getLayoutHints, bS as getTwoColumnPositions, bT as getViewport, bU as getViewportOrientation, bW as isTemplateBlock, bZ as scaledFontSize } from '../Doc-DLpyOAXJ.js';
|
|
3
3
|
import { K as MarkdownNode, a2 as TransitionType, a1 as TransitionDirection, M as MarkdownBlockNode, r as MarkdownHeading, n as MarkdownDocument, S as MarkdownTable, i as MarkdownCodeBlock, F as MarkdownList } from '../types-CUNc9biN.js';
|
|
4
4
|
import { C as CoercedBlockMeta } from '../annotationCoercion-PtRQhk5V.js';
|
|
5
|
-
import { c as PageSection } from '../materializePageSection-
|
|
6
|
-
export { M as MaterializePageSectionOptions, a as MaterializePageSectionsOptions, P as PageMedia, b as PageRichText, d as PageSectionDiagnostic, e as PageSectionItem, f as PageSectionMaterialization, g as PageSectionSource, h as PageSpatialKind, i as PageTransformHints, m as materializePageSection, j as materializePageSections, r as resolvePageStyle } from '../materializePageSection-
|
|
5
|
+
import { c as PageSection } from '../materializePageSection-CgNs5Qmw.js';
|
|
6
|
+
export { M as MaterializePageSectionOptions, a as MaterializePageSectionsOptions, P as PageMedia, b as PageRichText, d as PageSectionDiagnostic, e as PageSectionItem, f as PageSectionMaterialization, g as PageSectionSource, h as PageSpatialKind, i as PageTransformHints, m as materializePageSection, j as materializePageSections, r as resolvePageStyle } from '../materializePageSection-CgNs5Qmw.js';
|
|
7
7
|
import { C as ContentContainer } from '../ContentContainer-B2w9sUoL.js';
|
|
8
|
-
export { D as DEFAULT_THEME, g as getAvailableThemes, b as getThemeSummaries, r as resolveTheme } from '../themeLibrary-
|
|
8
|
+
export { D as DEFAULT_THEME, g as getAvailableThemes, b as getThemeSummaries, r as resolveTheme } from '../themeLibrary-RWsNtlOu.js';
|
|
9
9
|
|
|
10
10
|
/** Runtime registry composition for built-in and document-scoped templates. */
|
|
11
11
|
|
|
@@ -251,6 +251,48 @@ declare const TEMPLATE_AUTHORING_METADATA: {
|
|
|
251
251
|
readonly safeForContentFirst: false;
|
|
252
252
|
readonly placement: "heading";
|
|
253
253
|
};
|
|
254
|
+
readonly barChart: {
|
|
255
|
+
readonly role: "data";
|
|
256
|
+
readonly bodyPolicy: "structured";
|
|
257
|
+
readonly safeForContentFirst: false;
|
|
258
|
+
readonly placement: "heading";
|
|
259
|
+
};
|
|
260
|
+
readonly columnChart: {
|
|
261
|
+
readonly role: "data";
|
|
262
|
+
readonly bodyPolicy: "structured";
|
|
263
|
+
readonly safeForContentFirst: false;
|
|
264
|
+
readonly placement: "heading";
|
|
265
|
+
};
|
|
266
|
+
readonly pieChart: {
|
|
267
|
+
readonly role: "data";
|
|
268
|
+
readonly bodyPolicy: "structured";
|
|
269
|
+
readonly safeForContentFirst: false;
|
|
270
|
+
readonly placement: "heading";
|
|
271
|
+
};
|
|
272
|
+
readonly donutChart: {
|
|
273
|
+
readonly role: "data";
|
|
274
|
+
readonly bodyPolicy: "structured";
|
|
275
|
+
readonly safeForContentFirst: false;
|
|
276
|
+
readonly placement: "heading";
|
|
277
|
+
};
|
|
278
|
+
readonly lineChart: {
|
|
279
|
+
readonly role: "data";
|
|
280
|
+
readonly bodyPolicy: "structured";
|
|
281
|
+
readonly safeForContentFirst: false;
|
|
282
|
+
readonly placement: "heading";
|
|
283
|
+
};
|
|
284
|
+
readonly areaChart: {
|
|
285
|
+
readonly role: "data";
|
|
286
|
+
readonly bodyPolicy: "structured";
|
|
287
|
+
readonly safeForContentFirst: false;
|
|
288
|
+
readonly placement: "heading";
|
|
289
|
+
};
|
|
290
|
+
readonly scatterChart: {
|
|
291
|
+
readonly role: "data";
|
|
292
|
+
readonly bodyPolicy: "structured";
|
|
293
|
+
readonly safeForContentFirst: false;
|
|
294
|
+
readonly placement: "heading";
|
|
295
|
+
};
|
|
254
296
|
readonly diagram: {
|
|
255
297
|
readonly role: "spatial";
|
|
256
298
|
readonly bodyPolicy: "structured";
|
|
@@ -499,6 +541,55 @@ declare const BLOCK_MEDIA_LAYOUT_POLICIES: {
|
|
|
499
541
|
readonly unconsumedMedia: "reserved-slot";
|
|
500
542
|
readonly variants: SupplementalMediaVariantMatrix;
|
|
501
543
|
};
|
|
544
|
+
readonly barChart: {
|
|
545
|
+
readonly summary: "The chart remains wide; supplemental media stacks below the dense data region.";
|
|
546
|
+
readonly noMedia: "template-default";
|
|
547
|
+
readonly ownership: "supplemental";
|
|
548
|
+
readonly unconsumedMedia: "reserved-slot";
|
|
549
|
+
readonly variants: SupplementalMediaVariantMatrix;
|
|
550
|
+
};
|
|
551
|
+
readonly columnChart: {
|
|
552
|
+
readonly summary: "The chart remains wide; supplemental media stacks below the dense data region.";
|
|
553
|
+
readonly noMedia: "template-default";
|
|
554
|
+
readonly ownership: "supplemental";
|
|
555
|
+
readonly unconsumedMedia: "reserved-slot";
|
|
556
|
+
readonly variants: SupplementalMediaVariantMatrix;
|
|
557
|
+
};
|
|
558
|
+
readonly pieChart: {
|
|
559
|
+
readonly summary: "The chart remains wide; supplemental media stacks below the dense data region.";
|
|
560
|
+
readonly noMedia: "template-default";
|
|
561
|
+
readonly ownership: "supplemental";
|
|
562
|
+
readonly unconsumedMedia: "reserved-slot";
|
|
563
|
+
readonly variants: SupplementalMediaVariantMatrix;
|
|
564
|
+
};
|
|
565
|
+
readonly donutChart: {
|
|
566
|
+
readonly summary: "The chart remains wide; supplemental media stacks below the dense data region.";
|
|
567
|
+
readonly noMedia: "template-default";
|
|
568
|
+
readonly ownership: "supplemental";
|
|
569
|
+
readonly unconsumedMedia: "reserved-slot";
|
|
570
|
+
readonly variants: SupplementalMediaVariantMatrix;
|
|
571
|
+
};
|
|
572
|
+
readonly lineChart: {
|
|
573
|
+
readonly summary: "The chart remains wide; supplemental media stacks below the dense data region.";
|
|
574
|
+
readonly noMedia: "template-default";
|
|
575
|
+
readonly ownership: "supplemental";
|
|
576
|
+
readonly unconsumedMedia: "reserved-slot";
|
|
577
|
+
readonly variants: SupplementalMediaVariantMatrix;
|
|
578
|
+
};
|
|
579
|
+
readonly areaChart: {
|
|
580
|
+
readonly summary: "The chart remains wide; supplemental media stacks below the dense data region.";
|
|
581
|
+
readonly noMedia: "template-default";
|
|
582
|
+
readonly ownership: "supplemental";
|
|
583
|
+
readonly unconsumedMedia: "reserved-slot";
|
|
584
|
+
readonly variants: SupplementalMediaVariantMatrix;
|
|
585
|
+
};
|
|
586
|
+
readonly scatterChart: {
|
|
587
|
+
readonly summary: "The chart remains wide; supplemental media stacks below the dense data region.";
|
|
588
|
+
readonly noMedia: "template-default";
|
|
589
|
+
readonly ownership: "supplemental";
|
|
590
|
+
readonly unconsumedMedia: "reserved-slot";
|
|
591
|
+
readonly variants: SupplementalMediaVariantMatrix;
|
|
592
|
+
};
|
|
502
593
|
readonly diagram: {
|
|
503
594
|
readonly summary: "The node-and-edge canvas is intrinsic media and retains its spatial coordinate system.";
|
|
504
595
|
readonly noMedia: "intrinsic-visual";
|
|
@@ -545,6 +636,12 @@ declare function getBlockMediaLayoutPolicy(template: string | undefined): BlockM
|
|
|
545
636
|
|
|
546
637
|
/** Resolve a historical template id to its canonical registry key. */
|
|
547
638
|
declare function resolveTemplateName(name: string): string;
|
|
639
|
+
/**
|
|
640
|
+
* Templates whose data is the first GFM table in the block body: the parse
|
|
641
|
+
* pipeline promotes that table into `templateData.headers`/`rows` unless the
|
|
642
|
+
* author already supplied them (data fence / `{[…]}` params).
|
|
643
|
+
*/
|
|
644
|
+
declare const TABLE_FED_TEMPLATES: ReadonlySet<string>;
|
|
548
645
|
/** Templates that consume their child headings rather than rendering them. */
|
|
549
646
|
declare const CONTAINER_TEMPLATES: ReadonlySet<string>;
|
|
550
647
|
/** True when `name` (or its alias) consumes child blocks. */
|
|
@@ -2970,4 +3067,4 @@ declare function treeFromMarkdownList(list: MarkdownList): Tree;
|
|
|
2970
3067
|
/** Find the first top-level markdown list in a block's body, if any. */
|
|
2971
3068
|
declare function findFirstList(contents: MarkdownBlockNode[] | undefined): MarkdownList | undefined;
|
|
2972
3069
|
|
|
2973
|
-
export { ASCII_CHAR_H, ASCII_CHAR_W, ASCII_DIAGRAM_FENCE_LANGS, ASCII_TIMELINE_FENCE_LANGS, type AccentLayout, type AsciiDiagram, type AsciiDiagramDetection, type AsciiDiagramEdge, type AsciiDiagramNode, type AsciiTimeline, type AsciiTimelineDetection, type AsciiTimelineEvent, type AsciiTimelineLink, type AsciiTimelineMarker, type AsciiTimelineSide, type AsciiTimelineStats, type AsciiTimelineStyle, type AsciiTimelineTrack, type AudioSegmentTiming, BASE_INPUT_DESCRIPTORS, BLOCK_MEDIA_LAYOUT_POLICIES, type BlockLayerMaterialization, type BlockMediaLayoutPolicy, type BuiltInTemplateName, CONTAINER_TEMPLATES, type ClipBox, type ConnectorAnchor, type ConnectorPort, type ConnectorRouting, type ConnectorSnapPoint, type CoverBlockInput, DEFAULT_LAYOUT, DIAGRAM_LABEL_HORIZONTAL_PADDING, DIAGRAM_LABEL_LINE_HEIGHT, DIAGRAM_LABEL_MIN_FONT_SIZE, DIAGRAM_LABEL_VERTICAL_PADDING, type DataFenceParseResult, type DeriveTemplateInputsOptions, type DetectAsciiTimelineOptions, type DiagramEdge, type DiagramLabelFit, type DiagramLayout, type DiagramLayoutOptions, type DiagramNodePosition, DocBlock, type DrawingConnector, type DrawingLayout, type DrawingLayoutOptions, type DrawingShape, type DrawingShapeKind, type EmbeddedVideo, type ExpandDocBlocksOptions, type ExtractedTableData, type FirstImage, type InputCoercion, type LayerMaterializationDiagnostic, type LayerMaterializationFailureMode, type LayerMaterializationSource, type LayoutLayerDefaults, type LayoutLayersResult, type MarkdownToDocOptions, type MarkdownValidationResult, type MaterializeBlockLayersOptions, type NarrationResolution, type NativeMediaLayout, type NoMediaLayout, PAGE_BASE_CSS, PATH_SHAPE_KINDS, PageSection, type PageSectionContext, type PageSectionDraft, PersistentLayerConfig, type RenderAsciiDiagramOptions, type RenderAsciiTimelineOptions, type RenderTreeOptions, type RepairResult, type ResolvedPageBlock, type RichListItem, type RuntimeTemplateRegistry, SHAPE_NAMES, type SectionExtractor, type SupplementalMediaLayoutVariant, type SupplementalMediaShape, type SupplementalMediaVariantMatrix, TEMPLATE_AUTHORING_METADATA, TEMPLATE_INPUT_DESCRIPTORS, TEMPLATE_METADATA, TREE_FENCE_LANGS, type TemplateAuthoringMetadata, type TemplateAuthoringRole, TemplateBlock, type TemplateBodyPolicy, TemplateContext, type TemplateInputDescriptor, type TemplateMediaOwnership, type TemplateMetadata, type TemplateParamFinding, Theme, ThemeColorScheme, type Tree, type TreeDetection, type TreeItem, type TreeNode, type UnconsumedMediaBehavior, type ValidateOptions, ViewportConfig, ViewportOrientation, adjustY, anchorPoint, applyNarrationTiming, applyRenderStyleToLayers, asciiCellToCanvas, asciiDiagramFromBlocks, asciiDiagramFromTemplateData, asciiDiagramToTemplateData, asciiTimelineToTemplateData, autoTemplatePreservesContent, buildPageCss, buildPageCssVars, buildRegistry, canvasToAsciiCell, clipEndpoints, clipPoint, coerceTemplateParams, comparisonBar, computeDiagramLayout, computeDrawingLayout, computeLayoutLayers, connectorPath, contentBlock, countBlocks, coverBlock, createAccentLayers, cssFilterForTreatment, dataTable, dateEvent, definitionCard, deriveTemplateInputs, detectAsciiDiagram, detectAsciiTimeline, detectTree, diagramBlock, docToMarkdown, drawingBlock, expandCoverBlock, expandDocBlocks, expandPersistentLayers, extractBlockquoteText, extractBodyPlainText, extractEmbeddedVideos, extractFirstEmbeddedVideo, extractFirstImage, extractImages, extractListItems, extractRichListItems, extractTableData, extractTableFromContents, factCard, fallbackBlockLayers, findFirstList, findFirstTable, fitDiagramLabel, flattenBlocks, flattenRenderableBlocks, fullBleedQuote, getAccentLayout, getAnimationProgress, getAnimationStyle, getAvailableTemplates, getBlockBodyText, getBlockDepth, getBlockMediaLayoutPolicy, getDefaultAnimation, getDefaultAnimationDuration, getOverlayOpacity, getPersistentLayersFromTheme, getPinnedBlockMeta, getTemplateHint, getThemeFont, getTransitionClass, hasTemplate, imageWithCaption, isAsciiDiagramFence, isAsciiTimelineFence, isContainerTemplate, isDataFence, isEligibleAsciiFenceLang, isEligibleAsciiTimelineFenceLang, isEligibleTreeFenceLang, isExplicitDiagramLang, isExplicitTimelineLang, isExplicitTreeLang, isRepairableDiagram, isShapeName, isTemplatedPageBlock, isTreeFence, isWrappedFlowTimelineSource, layoutBlock, leftFeature, lineStyleDasharray, lintTemplateParams, listBlock, mapBlock, markdownToDoc, markerPath, materializeBlockLayers, nearestSnapPoint, normalizeShapeKind, pageStyleDataAttributes, parseAsciiDiagram, parseAsciiTimeline, parseAsciiTimelineWithStats, parseDataFence, parseTree, parseWrappedFlowTimeline, parseYamlSubset, photoGrid, pullQuote, quoteBlock, readCustomTemplatesFromFrontmatter, readCustomThemesFromFrontmatter, renderAsciiDiagram, renderAsciiTimeline, renderTree, repairAsciiDiagram, replaceDataFence, resolveAudioMapping, resolveColorScheme, resolvePageBlock, resolvePersistentLayers, resolveTemplateName, resolveThemeForDoc, rightFeature, scaleAnimationDuration, scoreTextSimilarity, sectionExtractors, sectionHeader, shapePath, shouldUseShadow, snapEndpoints, snapPoints, statHighlight, templateRegistry, themeWantsAmbientMotion, themedEntrance, themedFontSize, themedImageTreatment, themedScrim, themedSurfaceGradient, timelineBlock, titleBlock, treeBlock, treeFromMarkdownList, treeFromTemplateData, treeToTemplateData, twoColumn, validateMarkdownDoc, validateMarkdownSource, videoPullQuote, videoWithCaption, wrapWithPersistentLayers, writeCustomTemplatesToFrontmatter, writeCustomThemesToFrontmatter };
|
|
3070
|
+
export { ASCII_CHAR_H, ASCII_CHAR_W, ASCII_DIAGRAM_FENCE_LANGS, ASCII_TIMELINE_FENCE_LANGS, type AccentLayout, type AsciiDiagram, type AsciiDiagramDetection, type AsciiDiagramEdge, type AsciiDiagramNode, type AsciiTimeline, type AsciiTimelineDetection, type AsciiTimelineEvent, type AsciiTimelineLink, type AsciiTimelineMarker, type AsciiTimelineSide, type AsciiTimelineStats, type AsciiTimelineStyle, type AsciiTimelineTrack, type AudioSegmentTiming, BASE_INPUT_DESCRIPTORS, BLOCK_MEDIA_LAYOUT_POLICIES, type BlockLayerMaterialization, type BlockMediaLayoutPolicy, type BuiltInTemplateName, CONTAINER_TEMPLATES, type ClipBox, type ConnectorAnchor, type ConnectorPort, type ConnectorRouting, type ConnectorSnapPoint, type CoverBlockInput, DEFAULT_LAYOUT, DIAGRAM_LABEL_HORIZONTAL_PADDING, DIAGRAM_LABEL_LINE_HEIGHT, DIAGRAM_LABEL_MIN_FONT_SIZE, DIAGRAM_LABEL_VERTICAL_PADDING, type DataFenceParseResult, type DeriveTemplateInputsOptions, type DetectAsciiTimelineOptions, type DiagramEdge, type DiagramLabelFit, type DiagramLayout, type DiagramLayoutOptions, type DiagramNodePosition, DocBlock, type DrawingConnector, type DrawingLayout, type DrawingLayoutOptions, type DrawingShape, type DrawingShapeKind, type EmbeddedVideo, type ExpandDocBlocksOptions, type ExtractedTableData, type FirstImage, type InputCoercion, type LayerMaterializationDiagnostic, type LayerMaterializationFailureMode, type LayerMaterializationSource, type LayoutLayerDefaults, type LayoutLayersResult, type MarkdownToDocOptions, type MarkdownValidationResult, type MaterializeBlockLayersOptions, type NarrationResolution, type NativeMediaLayout, type NoMediaLayout, PAGE_BASE_CSS, PATH_SHAPE_KINDS, PageSection, type PageSectionContext, type PageSectionDraft, PersistentLayerConfig, type RenderAsciiDiagramOptions, type RenderAsciiTimelineOptions, type RenderTreeOptions, type RepairResult, type ResolvedPageBlock, type RichListItem, type RuntimeTemplateRegistry, SHAPE_NAMES, type SectionExtractor, type SupplementalMediaLayoutVariant, type SupplementalMediaShape, type SupplementalMediaVariantMatrix, TABLE_FED_TEMPLATES, TEMPLATE_AUTHORING_METADATA, TEMPLATE_INPUT_DESCRIPTORS, TEMPLATE_METADATA, TREE_FENCE_LANGS, type TemplateAuthoringMetadata, type TemplateAuthoringRole, TemplateBlock, type TemplateBodyPolicy, TemplateContext, type TemplateInputDescriptor, type TemplateMediaOwnership, type TemplateMetadata, type TemplateParamFinding, Theme, ThemeColorScheme, type Tree, type TreeDetection, type TreeItem, type TreeNode, type UnconsumedMediaBehavior, type ValidateOptions, ViewportConfig, ViewportOrientation, adjustY, anchorPoint, applyNarrationTiming, applyRenderStyleToLayers, asciiCellToCanvas, asciiDiagramFromBlocks, asciiDiagramFromTemplateData, asciiDiagramToTemplateData, asciiTimelineToTemplateData, autoTemplatePreservesContent, buildPageCss, buildPageCssVars, buildRegistry, canvasToAsciiCell, clipEndpoints, clipPoint, coerceTemplateParams, comparisonBar, computeDiagramLayout, computeDrawingLayout, computeLayoutLayers, connectorPath, contentBlock, countBlocks, coverBlock, createAccentLayers, cssFilterForTreatment, dataTable, dateEvent, definitionCard, deriveTemplateInputs, detectAsciiDiagram, detectAsciiTimeline, detectTree, diagramBlock, docToMarkdown, drawingBlock, expandCoverBlock, expandDocBlocks, expandPersistentLayers, extractBlockquoteText, extractBodyPlainText, extractEmbeddedVideos, extractFirstEmbeddedVideo, extractFirstImage, extractImages, extractListItems, extractRichListItems, extractTableData, extractTableFromContents, factCard, fallbackBlockLayers, findFirstList, findFirstTable, fitDiagramLabel, flattenBlocks, flattenRenderableBlocks, fullBleedQuote, getAccentLayout, getAnimationProgress, getAnimationStyle, getAvailableTemplates, getBlockBodyText, getBlockDepth, getBlockMediaLayoutPolicy, getDefaultAnimation, getDefaultAnimationDuration, getOverlayOpacity, getPersistentLayersFromTheme, getPinnedBlockMeta, getTemplateHint, getThemeFont, getTransitionClass, hasTemplate, imageWithCaption, isAsciiDiagramFence, isAsciiTimelineFence, isContainerTemplate, isDataFence, isEligibleAsciiFenceLang, isEligibleAsciiTimelineFenceLang, isEligibleTreeFenceLang, isExplicitDiagramLang, isExplicitTimelineLang, isExplicitTreeLang, isRepairableDiagram, isShapeName, isTemplatedPageBlock, isTreeFence, isWrappedFlowTimelineSource, layoutBlock, leftFeature, lineStyleDasharray, lintTemplateParams, listBlock, mapBlock, markdownToDoc, markerPath, materializeBlockLayers, nearestSnapPoint, normalizeShapeKind, pageStyleDataAttributes, parseAsciiDiagram, parseAsciiTimeline, parseAsciiTimelineWithStats, parseDataFence, parseTree, parseWrappedFlowTimeline, parseYamlSubset, photoGrid, pullQuote, quoteBlock, readCustomTemplatesFromFrontmatter, readCustomThemesFromFrontmatter, renderAsciiDiagram, renderAsciiTimeline, renderTree, repairAsciiDiagram, replaceDataFence, resolveAudioMapping, resolveColorScheme, resolvePageBlock, resolvePersistentLayers, resolveTemplateName, resolveThemeForDoc, rightFeature, scaleAnimationDuration, scoreTextSimilarity, sectionExtractors, sectionHeader, shapePath, shouldUseShadow, snapEndpoints, snapPoints, statHighlight, templateRegistry, themeWantsAmbientMotion, themedEntrance, themedFontSize, themedImageTreatment, themedScrim, themedSurfaceGradient, timelineBlock, titleBlock, treeBlock, treeFromMarkdownList, treeFromTemplateData, treeToTemplateData, twoColumn, validateMarkdownDoc, validateMarkdownSource, videoPullQuote, videoWithCaption, wrapWithPersistentLayers, writeCustomTemplatesToFrontmatter, writeCustomThemesToFrontmatter };
|
package/dist/doc/index.js
CHANGED
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
sectionExtractors,
|
|
27
27
|
validateMarkdownDoc,
|
|
28
28
|
validateMarkdownSource
|
|
29
|
-
} from "../chunk-
|
|
29
|
+
} from "../chunk-KPBZZVGY.js";
|
|
30
30
|
import {
|
|
31
31
|
ASCII_CHAR_H,
|
|
32
32
|
ASCII_CHAR_W,
|
|
@@ -39,6 +39,7 @@ import {
|
|
|
39
39
|
DIAGRAM_LABEL_MIN_FONT_SIZE,
|
|
40
40
|
DIAGRAM_LABEL_VERTICAL_PADDING,
|
|
41
41
|
SHAPE_NAMES,
|
|
42
|
+
TABLE_FED_TEMPLATES,
|
|
42
43
|
TEMPLATE_AUTHORING_METADATA,
|
|
43
44
|
TEMPLATE_INPUT_DESCRIPTORS,
|
|
44
45
|
TEMPLATE_METADATA,
|
|
@@ -147,7 +148,7 @@ import {
|
|
|
147
148
|
wrapWithPersistentLayers,
|
|
148
149
|
writeCustomTemplatesToFrontmatter,
|
|
149
150
|
writeCustomThemesToFrontmatter
|
|
150
|
-
} from "../chunk-
|
|
151
|
+
} from "../chunk-F2IEPSMA.js";
|
|
151
152
|
import {
|
|
152
153
|
PATH_SHAPE_KINDS,
|
|
153
154
|
anchorPoint,
|
|
@@ -183,8 +184,8 @@ import {
|
|
|
183
184
|
parseAsciiTimelineWithStats,
|
|
184
185
|
parseTree,
|
|
185
186
|
parseWrappedFlowTimeline
|
|
186
|
-
} from "../chunk-
|
|
187
|
-
import "../chunk-
|
|
187
|
+
} from "../chunk-CUYHFOFL.js";
|
|
188
|
+
import "../chunk-2S74DPJH.js";
|
|
188
189
|
import {
|
|
189
190
|
DEFAULT_THEME,
|
|
190
191
|
FRONTMATTER_CUSTOM_TEMPLATES_KEY,
|
|
@@ -203,10 +204,10 @@ import {
|
|
|
203
204
|
isTemplateBlock,
|
|
204
205
|
scaledFontSize2 as scaledFontSize
|
|
205
206
|
} from "../chunk-BAOV476U.js";
|
|
206
|
-
import "../chunk-
|
|
207
|
+
import "../chunk-D4LPP3P5.js";
|
|
207
208
|
import "../chunk-2VCNTDNZ.js";
|
|
208
209
|
import "../chunk-7N4G32LG.js";
|
|
209
|
-
import "../chunk-
|
|
210
|
+
import "../chunk-O7JILDEF.js";
|
|
210
211
|
import "../chunk-4VOD55SX.js";
|
|
211
212
|
import "../chunk-XOFT65EX.js";
|
|
212
213
|
import "../chunk-67L6WRJN.js";
|
|
@@ -230,6 +231,7 @@ export {
|
|
|
230
231
|
PAGE_BASE_CSS,
|
|
231
232
|
PATH_SHAPE_KINDS,
|
|
232
233
|
SHAPE_NAMES,
|
|
234
|
+
TABLE_FED_TEMPLATES,
|
|
233
235
|
TEMPLATE_AUTHORING_METADATA,
|
|
234
236
|
TEMPLATE_INPUT_DESCRIPTORS,
|
|
235
237
|
TEMPLATE_METADATA,
|
package/dist/generate/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { E as ExtractedElement } from '../contentExtractor-BNfVJV2U.js';
|
|
2
2
|
export { C as ComparisonData, D as DateData, a as DefinitionData, b as ExtractionOptions, c as ExtractionResult, d as ExtractionType, F as FactData, I as ImpactLineData, L as ListData, Q as QuoteData, S as StatData, e as extractContent, s as stripMarkdown } from '../contentExtractor-BNfVJV2U.js';
|
|
3
|
-
import {
|
|
3
|
+
import { q as ColorScheme, A as AccentImage, b5 as TemplateBlock } from '../Doc-DLpyOAXJ.js';
|
|
4
4
|
import '../types-CUNc9biN.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as ImageEditDoc, b as ImageEditLayer } from '../ImageEditDoc-
|
|
2
|
-
export { E as EditorLayerMeta, I as ImageEditCanvas, c as ImageEditLayerKind, d as ImageEditMeta } from '../ImageEditDoc-
|
|
1
|
+
import { a as ImageEditDoc, b as ImageEditLayer } from '../ImageEditDoc-Cu30xb9b.js';
|
|
2
|
+
export { E as EditorLayerMeta, I as ImageEditCanvas, c as ImageEditLayerKind, d as ImageEditMeta } from '../ImageEditDoc-Cu30xb9b.js';
|
|
3
3
|
import { C as ContentContainer } from '../ContentContainer-B2w9sUoL.js';
|
|
4
4
|
import { V as Version, C as CoalesceOptions, P as PrunePolicy } from '../types-8QjefM9J.js';
|
|
5
|
-
import '../Doc-
|
|
5
|
+
import '../Doc-DLpyOAXJ.js';
|
|
6
6
|
import '../types-CUNc9biN.js';
|
|
7
7
|
|
|
8
8
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
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
|
|
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 Block, k as BlockConnection, l as BorderStyle, C as CaptionPhrase, m as CaptionTrack, n as CaptionWord, o as ChartBaseFields, p as ChartTemplateInput, q as ColorScheme, r as ColumnChartInput, s as ComparisonBarInput, t as ContentBlockInput, u as CornerBrandingConfig, v as CustomTemplateDefinition, w as CustomTemplateLayer, D as DARK_SURFACE, x as DEFAULT_DOC_FONT, y as DEFAULT_TITLE_FONT, z as DataTableInput, E as DateEventInput, F as DeepPartial, G as DefinitionCardInput, H as DiagramBlockInput, I as DiagramEdgeAnchor, J as DiagramTemplateEdge, K as DiagramTemplateNode, L as Doc, M as DocBlock, N as DocDiagnostic, O as DonutChartInput, P as DrawingBlockInput, Q as FRONTMATTER_CUSTOM_TEMPLATES_KEY, R as FRONTMATTER_CUSTOM_THEMES_KEY, S as FactCardInput, T as FontFamily, U as FontFamilyKind, V as FullBleedQuoteInput, W as GradientBackgroundConfig, X as ImageBackgroundConfig, Y as ImageLayer, Z as ImageTreatment, _ as ImageWithCaptionInput, $ as LIGHT_SURFACE, a0 as Layer, a1 as LayerRepeat, a2 as LayoutHints, a3 as LeftFeatureInput, a4 as LineChartInput, a5 as LinearGradient, a6 as ListBlockInput, a7 as MapBlockInput, a8 as MapLayer, a9 as MapMarker, aa as MapTileStyle, ab as MarkerStyle, ac as MediaClip, ad as MermaidLayer, ae as PAGE_ACCENT_STRATEGIES, af as PAGE_BACKGROUNDS, ag as PAGE_BACKGROUND_RHYTHMS, ah as PAGE_DESIGN_FAMILIES, ai as PAGE_DIVIDERS, aj as PAGE_EMPHASES, ak as PAGE_EYEBROWS, al as PAGE_HEADING_CASES, am as PAGE_HEADING_SCALES, an as PAGE_HEADING_UNDERLINES, ao as PAGE_HERO_STYLES, ap as PAGE_IMAGE_FRAMINGS, aq as PAGE_NUMERAL_STYLES, ar as PAGE_PATTERNS, as as PAGE_QUOTE_MARKS, at as PAGE_SECTION_KINDS, au as PAGE_SECTION_SPACINGS, av as PAGE_SHADOWS, aw as PageAccentRotation, ax as PageBackground, ay as PageDesignFamily, az as PageEmphasis, aA as PageHeadingTreatment, aB as PageSectionKind, aC as PageSectionOverride, aD as PageTokens, aE as PathLayer, aF as PatternBackgroundConfig, aG as PersistentLayer, aH as PersistentLayerConfig, aI as PersistentLayerTemplate, aJ as PersistentLayerTemplateConfig, aK as PersistentLayerTemplateType, aL as PhotoGridInput, aM as PieChartInput, aN as Position, aO as ProgressIndicatorConfig, aP as PullQuoteInput, aQ as QuoteBlockInput, aR as RawLayersInput, aS as RenderStyle, aT as RightFeatureInput, aU as ScatterChartInput, aV as ScheduledClip, aW as SectionHeaderInput, aX as ShapeFilter, aY as ShapeLayer, aZ as ShapePattern, a_ as SolidBackgroundConfig, a$ as StartBlockConfig, b0 as StatHighlightInput, b1 as SurfaceScheme, b2 as THEME_SCHEMA_VERSION, b3 as TableLayer, b4 as TableLayerStyle, b5 as TemplateBlock, b6 as TemplateContext, b7 as TemplateFunction, b8 as TemplateRegistry, b9 as TextLayer, ba as TextStyle, bb as Theme, bc as ThemeColorPalette, bd as ThemeColorScheme, be as ThemePageStyle, bf as ThemeRegistry, bg as ThemeSchemaVersion, bh as ThemeSeedColors, bi as ThemeStyle, bj as ThemeTypography, bk as TimelineBlockInput, bl as TimelineTemplateEvent, bm as TimelineTemplateLink, bn as TimelineTemplateTrack, bo as TitleBlockInput, bp as TitleCaptionConfig, bq as TreeBlockInput, br as TreeLayer, bs as TreeLayerItem, bt as TreeLayerStyle, bu as TreeTemplateItem, bv as TwoColumnInput, bw as VIEWPORT_PRESETS, bx as VideoLayer, by as VideoPlacement, bz as VideoPullQuoteInput, bA as VideoWithCaptionInput, bB as ViewportConfig, bC as ViewportOrientation, bD as ViewportPreset, bE as VignetteConfig, bF as applySurface, bG as calculateDuration, bH as calculateFontScale, bI as createTemplateContext, bJ as createTheme, bK as createThemeRegistry, bL as getAspectRatioString, bM as getBlockAtTime, bN as getCaptionAtTime, bO as getDocPlaybackDuration, bP as getLayoutHints, bQ as getSafeTextBounds, bR as getSegmentAtTime, bS as getTwoColumnPositions, bT as getViewport, bU as getViewportOrientation, bV as isPersistentLayerTemplate, bW as isTemplateBlock, bX as layoutScaledFontSize, bY as resolveMediaSchedule, bZ as scaledFontSize } from './Doc-DLpyOAXJ.js';
|
|
3
3
|
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 MarkdownInlineMath, y as MarkdownInlineNode, z as MarkdownLeafDirective, A as MarkdownLimitError, B as MarkdownLink, C as MarkdownLinkDefinition, E as MarkdownLinkReference, F as MarkdownList, G as MarkdownListItem, I as MarkdownMathBlock, J as MarkdownMention, K as MarkdownNode, L as MarkdownParagraph, N as MarkdownPoint, O as MarkdownSafetyLimits, P as MarkdownSourcePosition, Q as MarkdownStrikethrough, R as MarkdownStrong, S as MarkdownTable, T as MarkdownTableCell, U as MarkdownTableRow, V as MarkdownText, W as MarkdownTextDirective, X as MarkdownThematicBreak, Y as ParseOptions, Z as StringifyOptions, _ as TRANSITION_DIRECTIONS, $ as TRANSITION_TYPES, a0 as Transition, a1 as TransitionDirection, a2 as TransitionType, a3 as assertMarkdownDocumentWithinLimits, a4 as assertMarkdownSourceWithinLimits, a5 as isTransitionType, a6 as normalizeTransitionDirection, a7 as normalizeTransitionType, a8 as resolveBlockTransition, a9 as resolveMarkdownSafetyLimits, aa as resolveTransitionDuration } from './types-CUNc9biN.js';
|
|
4
4
|
export { AVAILABLE_FONT_STACKS, CompileOptions, ContrastPreset, FONT_FALLBACKS, FontStack, MermaidThemeVariables, STARTER_THEME, ValidationError, ValidationResult, accentToColorScheme, assertTheme, buildGoogleFontsUrl, buildMermaidThemeVariables, compileTheme, contrastRatio, defaultPageStyle, deriveColorPalette, deriveScale, fontStack, getFontStack, guessFontFallback, hexHueDegrees, isHex, matchFontFamily, oklchDarken, oklchLighten, oklchSetChroma, parseTheme, pickContrastingText, relativeLuminance, resolveFontFamily, serializeTheme, validateTheme, withAlpha } from './schemas/index.js';
|
|
5
|
-
export { D as DEFAULT_THEME, a as DEFAULT_THEME_ID, T as THEMES, g as getAvailableThemes, b as getThemeSummaries, r as resolveTheme } from './themeLibrary-
|
|
5
|
+
export { D as DEFAULT_THEME, a as DEFAULT_THEME_ID, T as THEMES, g as getAvailableThemes, b as getThemeSummaries, r as resolveTheme } from './themeLibrary-RWsNtlOu.js';
|
|
6
6
|
export { M as MediaEntry, a as MediaProvider } from './MediaProvider-wpSe21B3.js';
|
|
7
|
-
export { E as EditorLayerMeta, I as ImageEditCanvas, a as ImageEditDoc, b as ImageEditLayer, c as ImageEditLayerKind, d as ImageEditMeta } from './ImageEditDoc-
|
|
8
|
-
export { ASCII_CHAR_H, ASCII_CHAR_W, ASCII_DIAGRAM_FENCE_LANGS, ASCII_TIMELINE_FENCE_LANGS, AccentLayout, AsciiDiagram, AsciiDiagramDetection, AsciiDiagramEdge, AsciiDiagramNode, AsciiTimeline, AsciiTimelineDetection, AsciiTimelineEvent, AsciiTimelineLink, AsciiTimelineMarker, AsciiTimelineSide, AsciiTimelineStats, AsciiTimelineStyle, AsciiTimelineTrack, AudioSegmentTiming, BASE_INPUT_DESCRIPTORS, BLOCK_MEDIA_LAYOUT_POLICIES, BlockLayerMaterialization, BlockMediaLayoutPolicy, BuiltInTemplateName, CONTAINER_TEMPLATES, ClipBox, ConnectorAnchor, ConnectorPort, ConnectorRouting, ConnectorSnapPoint, CoverBlockInput, DEFAULT_LAYOUT, DIAGRAM_LABEL_HORIZONTAL_PADDING, DIAGRAM_LABEL_LINE_HEIGHT, DIAGRAM_LABEL_MIN_FONT_SIZE, DIAGRAM_LABEL_VERTICAL_PADDING, DataFenceParseResult, DeriveTemplateInputsOptions, DetectAsciiTimelineOptions, DiagramEdge, DiagramLabelFit, DiagramLayout, DiagramLayoutOptions, DiagramNodePosition, DrawingConnector, DrawingLayout, DrawingLayoutOptions, DrawingShape, DrawingShapeKind, EmbeddedVideo, ExpandDocBlocksOptions, ExtractedTableData, FirstImage, InputCoercion, LayerMaterializationDiagnostic, LayerMaterializationFailureMode, LayerMaterializationSource, LayoutLayerDefaults, LayoutLayersResult, MarkdownToDocOptions, MarkdownValidationResult, MaterializeBlockLayersOptions, NarrationResolution, NativeMediaLayout, NoMediaLayout, PAGE_BASE_CSS, PATH_SHAPE_KINDS, PageSectionContext, PageSectionDraft, RenderAsciiDiagramOptions, RenderAsciiTimelineOptions, RenderTreeOptions, RepairResult, ResolvedPageBlock, RichListItem, RuntimeTemplateRegistry, SHAPE_NAMES, SectionExtractor, SupplementalMediaLayoutVariant, SupplementalMediaShape, SupplementalMediaVariantMatrix, TEMPLATE_AUTHORING_METADATA, TEMPLATE_INPUT_DESCRIPTORS, TEMPLATE_METADATA, TREE_FENCE_LANGS, TemplateAuthoringMetadata, TemplateAuthoringRole, TemplateBodyPolicy, TemplateInputDescriptor, TemplateMediaOwnership, TemplateMetadata, TemplateParamFinding, Tree, TreeDetection, TreeItem, TreeNode, UnconsumedMediaBehavior, ValidateOptions, adjustY, anchorPoint, applyNarrationTiming, applyRenderStyleToLayers, asciiCellToCanvas, asciiDiagramFromBlocks, asciiDiagramFromTemplateData, asciiDiagramToTemplateData, asciiTimelineToTemplateData, autoTemplatePreservesContent, buildPageCss, buildPageCssVars, buildRegistry, canvasToAsciiCell, clipEndpoints, clipPoint, coerceTemplateParams, comparisonBar, computeDiagramLayout, computeDrawingLayout, computeLayoutLayers, connectorPath, contentBlock, countBlocks, coverBlock, createAccentLayers, cssFilterForTreatment, dataTable, dateEvent, definitionCard, deriveTemplateInputs, detectAsciiDiagram, detectAsciiTimeline, detectTree, diagramBlock, docToMarkdown, drawingBlock, expandCoverBlock, expandDocBlocks, expandPersistentLayers, extractBlockquoteText, extractBodyPlainText, extractEmbeddedVideos, extractFirstEmbeddedVideo, extractFirstImage, extractImages, extractListItems, extractRichListItems, extractTableData, extractTableFromContents, factCard, fallbackBlockLayers, findFirstList, findFirstTable, fitDiagramLabel, flattenBlocks, flattenRenderableBlocks, fullBleedQuote, getAccentLayout, getAnimationProgress, getAnimationStyle, getAvailableTemplates, getBlockBodyText, getBlockDepth, getBlockMediaLayoutPolicy, getDefaultAnimation, getDefaultAnimationDuration, getOverlayOpacity, getPersistentLayersFromTheme, getPinnedBlockMeta, getTemplateHint, getThemeFont, getTransitionClass, hasTemplate, imageWithCaption, isAsciiDiagramFence, isAsciiTimelineFence, isContainerTemplate, isDataFence, isEligibleAsciiFenceLang, isEligibleAsciiTimelineFenceLang, isEligibleTreeFenceLang, isExplicitDiagramLang, isExplicitTimelineLang, isExplicitTreeLang, isRepairableDiagram, isShapeName, isTemplatedPageBlock, isTreeFence, isWrappedFlowTimelineSource, layoutBlock, leftFeature, lineStyleDasharray, lintTemplateParams, listBlock, mapBlock, markdownToDoc, markerPath, materializeBlockLayers, nearestSnapPoint, normalizeShapeKind, pageStyleDataAttributes, parseAsciiDiagram, parseAsciiTimeline, parseAsciiTimelineWithStats, parseDataFence, parseTree, parseWrappedFlowTimeline, parseYamlSubset, photoGrid, pullQuote, quoteBlock, readCustomTemplatesFromFrontmatter, readCustomThemesFromFrontmatter, renderAsciiDiagram, renderAsciiTimeline, renderTree, repairAsciiDiagram, replaceDataFence, resolveAudioMapping, resolveColorScheme, resolvePageBlock, resolvePersistentLayers, resolveTemplateName, resolveThemeForDoc, rightFeature, scaleAnimationDuration, scoreTextSimilarity, sectionExtractors, sectionHeader, shapePath, shouldUseShadow, snapEndpoints, snapPoints, statHighlight, templateRegistry, themeWantsAmbientMotion, themedEntrance, themedFontSize, themedImageTreatment, themedScrim, themedSurfaceGradient, timelineBlock, titleBlock, treeBlock, treeFromMarkdownList, treeFromTemplateData, treeToTemplateData, twoColumn, validateMarkdownDoc, validateMarkdownSource, videoPullQuote, videoWithCaption, wrapWithPersistentLayers, writeCustomTemplatesToFrontmatter, writeCustomThemesToFrontmatter } from './doc/index.js';
|
|
9
|
-
export { M as MaterializePageSectionOptions, a as MaterializePageSectionsOptions, P as PageMedia, b as PageRichText, c as PageSection, d as PageSectionDiagnostic, e as PageSectionItem, f as PageSectionMaterialization, g as PageSectionSource, h as PageSpatialKind, i as PageTransformHints, m as materializePageSection, j as materializePageSections, r as resolvePageStyle } from './materializePageSection-
|
|
7
|
+
export { E as EditorLayerMeta, I as ImageEditCanvas, a as ImageEditDoc, b as ImageEditLayer, c as ImageEditLayerKind, d as ImageEditMeta } from './ImageEditDoc-Cu30xb9b.js';
|
|
8
|
+
export { ASCII_CHAR_H, ASCII_CHAR_W, ASCII_DIAGRAM_FENCE_LANGS, ASCII_TIMELINE_FENCE_LANGS, AccentLayout, AsciiDiagram, AsciiDiagramDetection, AsciiDiagramEdge, AsciiDiagramNode, AsciiTimeline, AsciiTimelineDetection, AsciiTimelineEvent, AsciiTimelineLink, AsciiTimelineMarker, AsciiTimelineSide, AsciiTimelineStats, AsciiTimelineStyle, AsciiTimelineTrack, AudioSegmentTiming, BASE_INPUT_DESCRIPTORS, BLOCK_MEDIA_LAYOUT_POLICIES, BlockLayerMaterialization, BlockMediaLayoutPolicy, BuiltInTemplateName, CONTAINER_TEMPLATES, ClipBox, ConnectorAnchor, ConnectorPort, ConnectorRouting, ConnectorSnapPoint, CoverBlockInput, DEFAULT_LAYOUT, DIAGRAM_LABEL_HORIZONTAL_PADDING, DIAGRAM_LABEL_LINE_HEIGHT, DIAGRAM_LABEL_MIN_FONT_SIZE, DIAGRAM_LABEL_VERTICAL_PADDING, DataFenceParseResult, DeriveTemplateInputsOptions, DetectAsciiTimelineOptions, DiagramEdge, DiagramLabelFit, DiagramLayout, DiagramLayoutOptions, DiagramNodePosition, DrawingConnector, DrawingLayout, DrawingLayoutOptions, DrawingShape, DrawingShapeKind, EmbeddedVideo, ExpandDocBlocksOptions, ExtractedTableData, FirstImage, InputCoercion, LayerMaterializationDiagnostic, LayerMaterializationFailureMode, LayerMaterializationSource, LayoutLayerDefaults, LayoutLayersResult, MarkdownToDocOptions, MarkdownValidationResult, MaterializeBlockLayersOptions, NarrationResolution, NativeMediaLayout, NoMediaLayout, PAGE_BASE_CSS, PATH_SHAPE_KINDS, PageSectionContext, PageSectionDraft, RenderAsciiDiagramOptions, RenderAsciiTimelineOptions, RenderTreeOptions, RepairResult, ResolvedPageBlock, RichListItem, RuntimeTemplateRegistry, SHAPE_NAMES, SectionExtractor, SupplementalMediaLayoutVariant, SupplementalMediaShape, SupplementalMediaVariantMatrix, TABLE_FED_TEMPLATES, TEMPLATE_AUTHORING_METADATA, TEMPLATE_INPUT_DESCRIPTORS, TEMPLATE_METADATA, TREE_FENCE_LANGS, TemplateAuthoringMetadata, TemplateAuthoringRole, TemplateBodyPolicy, TemplateInputDescriptor, TemplateMediaOwnership, TemplateMetadata, TemplateParamFinding, Tree, TreeDetection, TreeItem, TreeNode, UnconsumedMediaBehavior, ValidateOptions, adjustY, anchorPoint, applyNarrationTiming, applyRenderStyleToLayers, asciiCellToCanvas, asciiDiagramFromBlocks, asciiDiagramFromTemplateData, asciiDiagramToTemplateData, asciiTimelineToTemplateData, autoTemplatePreservesContent, buildPageCss, buildPageCssVars, buildRegistry, canvasToAsciiCell, clipEndpoints, clipPoint, coerceTemplateParams, comparisonBar, computeDiagramLayout, computeDrawingLayout, computeLayoutLayers, connectorPath, contentBlock, countBlocks, coverBlock, createAccentLayers, cssFilterForTreatment, dataTable, dateEvent, definitionCard, deriveTemplateInputs, detectAsciiDiagram, detectAsciiTimeline, detectTree, diagramBlock, docToMarkdown, drawingBlock, expandCoverBlock, expandDocBlocks, expandPersistentLayers, extractBlockquoteText, extractBodyPlainText, extractEmbeddedVideos, extractFirstEmbeddedVideo, extractFirstImage, extractImages, extractListItems, extractRichListItems, extractTableData, extractTableFromContents, factCard, fallbackBlockLayers, findFirstList, findFirstTable, fitDiagramLabel, flattenBlocks, flattenRenderableBlocks, fullBleedQuote, getAccentLayout, getAnimationProgress, getAnimationStyle, getAvailableTemplates, getBlockBodyText, getBlockDepth, getBlockMediaLayoutPolicy, getDefaultAnimation, getDefaultAnimationDuration, getOverlayOpacity, getPersistentLayersFromTheme, getPinnedBlockMeta, getTemplateHint, getThemeFont, getTransitionClass, hasTemplate, imageWithCaption, isAsciiDiagramFence, isAsciiTimelineFence, isContainerTemplate, isDataFence, isEligibleAsciiFenceLang, isEligibleAsciiTimelineFenceLang, isEligibleTreeFenceLang, isExplicitDiagramLang, isExplicitTimelineLang, isExplicitTreeLang, isRepairableDiagram, isShapeName, isTemplatedPageBlock, isTreeFence, isWrappedFlowTimelineSource, layoutBlock, leftFeature, lineStyleDasharray, lintTemplateParams, listBlock, mapBlock, markdownToDoc, markerPath, materializeBlockLayers, nearestSnapPoint, normalizeShapeKind, pageStyleDataAttributes, parseAsciiDiagram, parseAsciiTimeline, parseAsciiTimelineWithStats, parseDataFence, parseTree, parseWrappedFlowTimeline, parseYamlSubset, photoGrid, pullQuote, quoteBlock, readCustomTemplatesFromFrontmatter, readCustomThemesFromFrontmatter, renderAsciiDiagram, renderAsciiTimeline, renderTree, repairAsciiDiagram, replaceDataFence, resolveAudioMapping, resolveColorScheme, resolvePageBlock, resolvePersistentLayers, resolveTemplateName, resolveThemeForDoc, rightFeature, scaleAnimationDuration, scoreTextSimilarity, sectionExtractors, sectionHeader, shapePath, shouldUseShadow, snapEndpoints, snapPoints, statHighlight, templateRegistry, themeWantsAmbientMotion, themedEntrance, themedFontSize, themedImageTreatment, themedScrim, themedSurfaceGradient, timelineBlock, titleBlock, treeBlock, treeFromMarkdownList, treeFromTemplateData, treeToTemplateData, twoColumn, validateMarkdownDoc, validateMarkdownSource, videoPullQuote, videoWithCaption, wrapWithPersistentLayers, writeCustomTemplatesToFrontmatter, writeCustomThemesToFrontmatter } from './doc/index.js';
|
|
9
|
+
export { M as MaterializePageSectionOptions, a as MaterializePageSectionsOptions, P as PageMedia, b as PageRichText, c as PageSection, d as PageSectionDiagnostic, e as PageSectionItem, f as PageSectionMaterialization, g as PageSectionSource, h as PageSpatialKind, i as PageTransformHints, m as materializePageSection, j as materializePageSections, r as resolvePageStyle } from './materializePageSection-CgNs5Qmw.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
|
-
export { DEFAULT_INTERACTIVE_RESOURCE_POLICY, DEFAULT_RESOURCE_MAX_BYTES, DEFAULT_RESOURCE_TIMEOUT_MS, FetchResourceBytesOptions, FetchedResource, HtmlPolicy, LOCAL_ONLY_RESOURCE_POLICY, ResourcePolicy, ResourcePolicyError, SanitizeUrlOptions, TrailingAnnotationMatch, UrlKind, countNodes, createDocument, extractPlainText, fetchResourceBytes, findNodesByType, formatBlockScalar, formatFrontmatterValue, formatFrontmatterYaml, fromMdast, getChildren, inferDocumentTitle, isResourceUrlAllowed, matchTrailingPandocAttr, matchTrailingTemplateAnnotation, needsQuoting, parseFrontmatter, parseHtmlToNodes, parseMarkdown, parsePandocAttrTokens, plainTextFromInlineHtml, quoteAttrValue, readFrontmatterThemeId, sanitizeHtmlNodes, sanitizeUrl, serializePandocAttributes, setFrontmatterValues, splitKeyValueToken, stringifyHtmlNodes, stringifyMarkdown, toMdast, tokenizeAttrTokens, unquoteAttrValue, walkMarkdownTree } from './markdown/index.js';
|
|
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
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-PtRQhk5V.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';
|
package/dist/index.js
CHANGED
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
reanchorSession,
|
|
24
24
|
traceWordPosAt,
|
|
25
25
|
vadStep
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-ZHLNKB2I.js";
|
|
27
27
|
import {
|
|
28
28
|
DEFAULT_TRANSFORM_STYLE_ID,
|
|
29
29
|
analyzeBlocks,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
getTransformStyleIds,
|
|
34
34
|
getTransformStyleSummaries,
|
|
35
35
|
resolveTransformStyle
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-AE3IUKMM.js";
|
|
37
37
|
import {
|
|
38
38
|
extractContent,
|
|
39
39
|
mapElementToBlock,
|
|
@@ -121,7 +121,7 @@ import {
|
|
|
121
121
|
getSegmentAtTime,
|
|
122
122
|
parseTheme,
|
|
123
123
|
serializeTheme
|
|
124
|
-
} from "./chunk-
|
|
124
|
+
} from "./chunk-REDUXXDJ.js";
|
|
125
125
|
import {
|
|
126
126
|
calculateBearing,
|
|
127
127
|
decodeGeohash,
|
|
@@ -162,7 +162,7 @@ import {
|
|
|
162
162
|
sectionExtractors,
|
|
163
163
|
validateMarkdownDoc,
|
|
164
164
|
validateMarkdownSource
|
|
165
|
-
} from "./chunk-
|
|
165
|
+
} from "./chunk-KPBZZVGY.js";
|
|
166
166
|
import {
|
|
167
167
|
ASCII_CHAR_H,
|
|
168
168
|
ASCII_CHAR_W,
|
|
@@ -175,6 +175,7 @@ import {
|
|
|
175
175
|
DIAGRAM_LABEL_MIN_FONT_SIZE,
|
|
176
176
|
DIAGRAM_LABEL_VERTICAL_PADDING,
|
|
177
177
|
SHAPE_NAMES,
|
|
178
|
+
TABLE_FED_TEMPLATES,
|
|
178
179
|
TEMPLATE_AUTHORING_METADATA,
|
|
179
180
|
TEMPLATE_INPUT_DESCRIPTORS,
|
|
180
181
|
TEMPLATE_METADATA,
|
|
@@ -291,7 +292,7 @@ import {
|
|
|
291
292
|
wrapWithPersistentLayers,
|
|
292
293
|
writeCustomTemplatesToFrontmatter,
|
|
293
294
|
writeCustomThemesToFrontmatter
|
|
294
|
-
} from "./chunk-
|
|
295
|
+
} from "./chunk-F2IEPSMA.js";
|
|
295
296
|
import {
|
|
296
297
|
PATH_SHAPE_KINDS,
|
|
297
298
|
anchorPoint,
|
|
@@ -329,12 +330,12 @@ import {
|
|
|
329
330
|
parseWrappedFlowTimeline,
|
|
330
331
|
profileBlockContents,
|
|
331
332
|
recommendTemplatesForBlock
|
|
332
|
-
} from "./chunk-
|
|
333
|
+
} from "./chunk-CUYHFOFL.js";
|
|
333
334
|
import {
|
|
334
335
|
defaultPageStyle,
|
|
335
336
|
getDocPlaybackDuration,
|
|
336
337
|
resolveMediaSchedule
|
|
337
|
-
} from "./chunk-
|
|
338
|
+
} from "./chunk-2S74DPJH.js";
|
|
338
339
|
import {
|
|
339
340
|
AVAILABLE_FONT_STACKS,
|
|
340
341
|
DARK_SURFACE,
|
|
@@ -420,12 +421,19 @@ import {
|
|
|
420
421
|
DEFAULT_INTERACTIVE_RESOURCE_POLICY,
|
|
421
422
|
DEFAULT_RESOURCE_MAX_BYTES,
|
|
422
423
|
DEFAULT_RESOURCE_TIMEOUT_MS,
|
|
424
|
+
DEFAULT_WRAP_WIDTH,
|
|
423
425
|
LOCAL_ONLY_RESOURCE_POLICY,
|
|
426
|
+
MARKDOWN_SOURCE_TRANSFORMS,
|
|
424
427
|
ResourcePolicyError,
|
|
428
|
+
applyMarkdownSourceTransform,
|
|
429
|
+
cleanupMarkdownSource,
|
|
430
|
+
detectMarkdownWrapState,
|
|
425
431
|
fetchResourceBytes,
|
|
426
432
|
isResourceUrlAllowed,
|
|
427
|
-
stringifyMarkdown
|
|
428
|
-
|
|
433
|
+
stringifyMarkdown,
|
|
434
|
+
unwrapMarkdownSource,
|
|
435
|
+
wrapMarkdownSource
|
|
436
|
+
} from "./chunk-ZYO3DBTA.js";
|
|
429
437
|
import {
|
|
430
438
|
DEFAULT_MARKDOWN_SAFETY_LIMITS,
|
|
431
439
|
MarkdownLimitError,
|
|
@@ -437,7 +445,7 @@ import {
|
|
|
437
445
|
resolveMarkdownSafetyLimits,
|
|
438
446
|
serializePandocAttributes,
|
|
439
447
|
toMdast
|
|
440
|
-
} from "./chunk-
|
|
448
|
+
} from "./chunk-D4LPP3P5.js";
|
|
441
449
|
import {
|
|
442
450
|
BLOCK_META_KEY_DESCRIPTORS,
|
|
443
451
|
KNOWN_BLOCK_META_KEYS,
|
|
@@ -475,9 +483,10 @@ import {
|
|
|
475
483
|
plainTextFromInlineHtml,
|
|
476
484
|
readFrontmatterThemeId,
|
|
477
485
|
setFrontmatterValues,
|
|
486
|
+
splitFrontmatterBlock,
|
|
478
487
|
stringifyHtmlNodes,
|
|
479
488
|
walkMarkdownTree
|
|
480
|
-
} from "./chunk-
|
|
489
|
+
} from "./chunk-O7JILDEF.js";
|
|
481
490
|
import {
|
|
482
491
|
DEFAULT_TRANSITION_DURATION_SECONDS,
|
|
483
492
|
TRANSITION_DIRECTIONS,
|
|
@@ -532,6 +541,7 @@ export {
|
|
|
532
541
|
DEFAULT_TRANSITION_DURATION_SECONDS,
|
|
533
542
|
DEFAULT_VAD_CONFIG,
|
|
534
543
|
DEFAULT_WORDS_PER_SECOND,
|
|
544
|
+
DEFAULT_WRAP_WIDTH,
|
|
535
545
|
DIAGRAM_LABEL_HORIZONTAL_PADDING,
|
|
536
546
|
DIAGRAM_LABEL_LINE_HEIGHT,
|
|
537
547
|
DIAGRAM_LABEL_MIN_FONT_SIZE,
|
|
@@ -551,6 +561,7 @@ export {
|
|
|
551
561
|
LOCAL_ONLY_RESOURCE_POLICY,
|
|
552
562
|
LocalForageAdapter,
|
|
553
563
|
LocalStorageAdapter,
|
|
564
|
+
MARKDOWN_SOURCE_TRANSFORMS,
|
|
554
565
|
MarkdownLimitError,
|
|
555
566
|
MemoryContentContainer,
|
|
556
567
|
MemoryStorageAdapter,
|
|
@@ -579,6 +590,7 @@ export {
|
|
|
579
590
|
STARTER_THEME,
|
|
580
591
|
ScopedContentContainer,
|
|
581
592
|
SeededRandom,
|
|
593
|
+
TABLE_FED_TEMPLATES,
|
|
582
594
|
TEMPLATE_AUTHORING_METADATA,
|
|
583
595
|
TEMPLATE_INPUT_DESCRIPTORS,
|
|
584
596
|
TEMPLATE_METADATA,
|
|
@@ -597,6 +609,7 @@ export {
|
|
|
597
609
|
analyzeBlocks,
|
|
598
610
|
anchorPoint,
|
|
599
611
|
appendPointer,
|
|
612
|
+
applyMarkdownSourceTransform,
|
|
600
613
|
applyNarrationTiming,
|
|
601
614
|
applyRenderStyleToLayers,
|
|
602
615
|
applySurface,
|
|
@@ -630,6 +643,7 @@ export {
|
|
|
630
643
|
canonicalIconToken,
|
|
631
644
|
canvasToAsciiCell,
|
|
632
645
|
chooseControl,
|
|
646
|
+
cleanupMarkdownSource,
|
|
633
647
|
clipEndpoints,
|
|
634
648
|
clipPoint,
|
|
635
649
|
coalesceImageEditVersions,
|
|
@@ -672,6 +686,7 @@ export {
|
|
|
672
686
|
deriveTemplateInputs,
|
|
673
687
|
detectAsciiDiagram,
|
|
674
688
|
detectAsciiTimeline,
|
|
689
|
+
detectMarkdownWrapState,
|
|
675
690
|
detectSyllableOnsets,
|
|
676
691
|
detectTree,
|
|
677
692
|
diagramBlock,
|
|
@@ -913,6 +928,7 @@ export {
|
|
|
913
928
|
shouldUseShadow,
|
|
914
929
|
snapEndpoints,
|
|
915
930
|
snapPoints,
|
|
931
|
+
splitFrontmatterBlock,
|
|
916
932
|
splitIconMarkers,
|
|
917
933
|
splitKeyValueToken,
|
|
918
934
|
statHighlight,
|
|
@@ -941,6 +957,7 @@ export {
|
|
|
941
957
|
treeToTemplateData,
|
|
942
958
|
twoColumn,
|
|
943
959
|
unquoteAttrValue,
|
|
960
|
+
unwrapMarkdownSource,
|
|
944
961
|
updateLayer,
|
|
945
962
|
vadStep,
|
|
946
963
|
validateMarkdownDoc,
|
|
@@ -953,6 +970,7 @@ export {
|
|
|
953
970
|
wordIndexAtChar,
|
|
954
971
|
wordIndexAtTime,
|
|
955
972
|
wordPosAtExpectedSyllables,
|
|
973
|
+
wrapMarkdownSource,
|
|
956
974
|
wrapWithPersistentLayers,
|
|
957
975
|
writeCustomTemplatesToFrontmatter,
|
|
958
976
|
writeCustomThemesToFrontmatter,
|
package/dist/jsonForm/index.d.ts
CHANGED
package/dist/jsonForm/index.js
CHANGED
|
@@ -16,8 +16,8 @@ import {
|
|
|
16
16
|
setByPointer,
|
|
17
17
|
toPointer
|
|
18
18
|
} from "../chunk-32R2RZAO.js";
|
|
19
|
-
import "../chunk-
|
|
20
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-REDUXXDJ.js";
|
|
20
|
+
import "../chunk-2S74DPJH.js";
|
|
21
21
|
import "../chunk-C33GTPUZ.js";
|
|
22
22
|
import "../chunk-BAOV476U.js";
|
|
23
23
|
import "../chunk-4VOD55SX.js";
|