@bendyline/squisq 2.12.5 → 2.13.1
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-CwmJZayl.d.ts → Doc-C7iCmmmF.d.ts} +61 -1
- package/dist/{ImageEditDoc-CtRgL0wh.d.ts → ImageEditDoc-CxRHe41J.d.ts} +1 -1
- package/dist/{chunk-RHLRHRWY.js → chunk-2LTALYXX.js} +130 -26
- package/dist/{chunk-PVFDR3XT.js → chunk-3A6YM375.js} +1 -1
- package/dist/{chunk-4OQFLZ6G.js → chunk-5HWYSUXS.js} +20 -4
- package/dist/{chunk-E2NFHYCB.js → chunk-5SVFLLOD.js} +4 -1
- package/dist/{chunk-ILLLGZCE.js → chunk-7ZXCS3UU.js} +2 -2
- package/dist/{chunk-UN6S5OID.js → chunk-DCO5GYVW.js} +5 -5
- package/dist/{chunk-GX3VSKYS.js → chunk-GLWQTZ4C.js} +1 -1
- package/dist/{chunk-MWSGNEH6.js → chunk-HE3HQZWU.js} +1 -0
- package/dist/{chunk-GGZCJ2MS.js → chunk-HGCIIXHP.js} +52 -7
- package/dist/{chunk-I3ENXLAN.js → chunk-ITLJQG7Z.js} +48 -18
- package/dist/{chunk-XFE6WYDK.js → chunk-V4USYYYO.js} +1 -1
- package/dist/{chunk-HYJ63N6V.js → chunk-WNEH3BZP.js} +14 -0
- package/dist/doc/index.d.ts +41 -9
- package/dist/doc/index.js +10 -8
- package/dist/fence/index.d.ts +1 -1
- package/dist/generate/index.d.ts +1 -1
- package/dist/imageEdit/index.d.ts +3 -3
- package/dist/index.d.ts +5 -5
- package/dist/index.js +14 -12
- package/dist/jsonForm/index.d.ts +1 -1
- package/dist/jsonForm/index.js +3 -3
- package/dist/markdown/index.js +3 -3
- package/dist/{materializePageSection-B5LehyBR.d.ts → materializePageSection-_5uQrEYP.d.ts} +1 -1
- package/dist/mediaEdit/index.d.ts +2 -2
- package/dist/narration/index.d.ts +1 -1
- package/dist/narration/index.js +5 -5
- 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-jYL3QKTn.d.ts → themeLibrary-DsntZLoa.d.ts} +1 -1
- package/dist/timing/index.d.ts +7 -1
- package/dist/timing/index.js +1 -1
- package/dist/transform/index.d.ts +2 -2
- package/dist/transform/index.js +6 -6
- package/package.json +2 -1
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
profileBlockContents,
|
|
28
28
|
renderMarkdownBlocksHtml,
|
|
29
29
|
treeToTemplateData
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-HGCIIXHP.js";
|
|
31
31
|
import {
|
|
32
32
|
anchorPoint,
|
|
33
33
|
base64ToUtf8,
|
|
@@ -57,7 +57,7 @@ import {
|
|
|
57
57
|
validateCustomTemplateDefinition,
|
|
58
58
|
validateTheme,
|
|
59
59
|
withAlpha
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-WNEH3BZP.js";
|
|
61
61
|
import {
|
|
62
62
|
mediaEditValuesFromAttributes,
|
|
63
63
|
mediaEditValuesFromParams,
|
|
@@ -84,7 +84,7 @@ import {
|
|
|
84
84
|
parseVideoEmbedUrl,
|
|
85
85
|
readFrontmatterThemeId,
|
|
86
86
|
walkMarkdownTree
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-HE3HQZWU.js";
|
|
88
88
|
import {
|
|
89
89
|
resolveBlockTransition
|
|
90
90
|
} from "./chunk-P53Z4RYC.js";
|
|
@@ -3155,6 +3155,7 @@ function fullBleedQuote(input, context) {
|
|
|
3155
3155
|
}
|
|
3156
3156
|
|
|
3157
3157
|
// src/doc/templates/listBlock.ts
|
|
3158
|
+
var LIST_ITEMS_FLOW = "list-items";
|
|
3158
3159
|
var LIST_ITEM_LINE_HEIGHT = 1.2;
|
|
3159
3160
|
var LIST_ITEM_BASE_FONT_PX = 34;
|
|
3160
3161
|
var LIST_ITEM_GAP_PX = 18;
|
|
@@ -3346,6 +3347,7 @@ function listBlock(input, context) {
|
|
|
3346
3347
|
content: {
|
|
3347
3348
|
// Bullets stay bullets; only ordered (or legacy, unflagged) lists count.
|
|
3348
3349
|
text: ordered ? `${i + 1}.` : "\u2022",
|
|
3350
|
+
flow: { id: LIST_ITEMS_FLOW, role: "marker" },
|
|
3349
3351
|
style: {
|
|
3350
3352
|
fontSize: itemFontSize,
|
|
3351
3353
|
fontFamily: getThemeFont(context, "body"),
|
|
@@ -3368,6 +3370,13 @@ function listBlock(input, context) {
|
|
|
3368
3370
|
content: {
|
|
3369
3371
|
text: itemText,
|
|
3370
3372
|
...itemHtml ? { html: itemHtml } : {},
|
|
3373
|
+
paragraphs: [
|
|
3374
|
+
{
|
|
3375
|
+
text: itemText,
|
|
3376
|
+
list: { ordered, level: 0, ...ordered ? { number: i + 1 } : {} }
|
|
3377
|
+
}
|
|
3378
|
+
],
|
|
3379
|
+
flow: { id: LIST_ITEMS_FLOW },
|
|
3371
3380
|
style: {
|
|
3372
3381
|
fontSize: itemFontSize,
|
|
3373
3382
|
fontFamily: getThemeFont(context, "body"),
|
|
@@ -11937,25 +11946,43 @@ function bodyNodes(context) {
|
|
|
11937
11946
|
(node) => !isMaterializedMediaNode(node)
|
|
11938
11947
|
);
|
|
11939
11948
|
}
|
|
11940
|
-
function
|
|
11941
|
-
const
|
|
11949
|
+
function listParagraphs(list, level = 0) {
|
|
11950
|
+
const ordered = Boolean(list.ordered);
|
|
11942
11951
|
return list.children.flatMap((item, index) => {
|
|
11943
11952
|
const ownText = item.children.filter((node) => node.type !== "list").map((node) => extractPlainText(node).trim()).filter(Boolean).join(" ");
|
|
11944
|
-
const
|
|
11945
|
-
|
|
11953
|
+
const paragraphs = ownText ? [
|
|
11954
|
+
{
|
|
11955
|
+
text: ownText,
|
|
11956
|
+
list: { ordered, level, ...ordered ? { number: (list.start ?? 1) + index } : {} }
|
|
11957
|
+
}
|
|
11958
|
+
] : [];
|
|
11946
11959
|
for (const child of item.children) {
|
|
11947
|
-
if (child.type === "list")
|
|
11960
|
+
if (child.type === "list") paragraphs.push(...listParagraphs(child, level + 1));
|
|
11948
11961
|
}
|
|
11949
|
-
return
|
|
11950
|
-
})
|
|
11962
|
+
return paragraphs;
|
|
11963
|
+
});
|
|
11951
11964
|
}
|
|
11952
|
-
function
|
|
11953
|
-
|
|
11954
|
-
|
|
11955
|
-
|
|
11956
|
-
|
|
11957
|
-
|
|
11958
|
-
|
|
11965
|
+
function plainParagraphText({ text, list }) {
|
|
11966
|
+
if (!list) return text;
|
|
11967
|
+
const marker = list.ordered ? `${list.number ?? 1}.` : "\u2022";
|
|
11968
|
+
return `${" ".repeat(list.level)}${marker} ${text}`;
|
|
11969
|
+
}
|
|
11970
|
+
function completeBodyParagraphs(nodes) {
|
|
11971
|
+
const paragraphs = nodes.flatMap((node, index) => {
|
|
11972
|
+
const own = node.type === "list" ? listParagraphs(node) : [{ text: extractPlainText(node) }];
|
|
11973
|
+
if (index === 0) return own;
|
|
11974
|
+
const blankLines = markdownBlockSeparatorLines(nodes[index - 1], node) - 1;
|
|
11975
|
+
return [...Array.from({ length: blankLines }, () => ({ text: "" })), ...own];
|
|
11976
|
+
});
|
|
11977
|
+
while (paragraphs.length && !plainParagraphText(paragraphs[0]).trim()) paragraphs.shift();
|
|
11978
|
+
while (paragraphs.length && !plainParagraphText(paragraphs[paragraphs.length - 1]).trim()) {
|
|
11979
|
+
paragraphs.pop();
|
|
11980
|
+
}
|
|
11981
|
+
const first = paragraphs[0];
|
|
11982
|
+
if (first && !first.list) paragraphs[0] = { ...first, text: first.text.trimStart() };
|
|
11983
|
+
const last = paragraphs[paragraphs.length - 1];
|
|
11984
|
+
if (last) paragraphs[paragraphs.length - 1] = { ...last, text: last.text.trimEnd() };
|
|
11985
|
+
return paragraphs;
|
|
11959
11986
|
}
|
|
11960
11987
|
function bodyFontSize(body, context) {
|
|
11961
11988
|
const base = body.length > 1800 ? 18 : body.length > 1100 ? 21 : body.length > 650 ? 24 : 28;
|
|
@@ -11965,7 +11992,8 @@ function contentBlock(input, context) {
|
|
|
11965
11992
|
const { theme } = context;
|
|
11966
11993
|
const title = input.title ?? context.block?.title ?? "";
|
|
11967
11994
|
const markdown = bodyNodes(context);
|
|
11968
|
-
const
|
|
11995
|
+
const paragraphs = completeBodyParagraphs(markdown);
|
|
11996
|
+
const body = paragraphs.map(plainParagraphText).join("\n");
|
|
11969
11997
|
const builds = planContentBuilds(markdown, input.build ?? context.block?.build);
|
|
11970
11998
|
const bodyHtml = renderMarkdownBlocksHtml(markdown, builds);
|
|
11971
11999
|
const layers = [createBackgroundLayer("bg", theme.colors.background)];
|
|
@@ -11996,6 +12024,8 @@ function contentBlock(input, context) {
|
|
|
11996
12024
|
text: body,
|
|
11997
12025
|
...builds.steps.length ? { buildSteps: builds.steps } : {},
|
|
11998
12026
|
...bodyHtml ? { html: bodyHtml } : {},
|
|
12027
|
+
// Only a body with list items has structure `text` cannot carry.
|
|
12028
|
+
...paragraphs.some((paragraph) => paragraph.list) ? { paragraphs } : {},
|
|
11999
12029
|
style: {
|
|
12000
12030
|
fontSize: bodyFontSize(body, context),
|
|
12001
12031
|
fontFamily: getThemeFont(context, "body"),
|
|
@@ -1042,6 +1042,10 @@ var V = class {
|
|
|
1042
1042
|
this.fontFamily(`${path}.bodyFont`, v.bodyFont);
|
|
1043
1043
|
this.fontFamily(`${path}.titleFont`, v.titleFont);
|
|
1044
1044
|
if (v.monoFont !== void 0) this.fontFamily(`${path}.monoFont`, v.monoFont);
|
|
1045
|
+
if (v.captionFont !== void 0) this.fontFamily(`${path}.captionFont`, v.captionFont);
|
|
1046
|
+
if (v.captionCase !== void 0 && v.captionCase !== "upper" && v.captionCase !== "as-written") {
|
|
1047
|
+
this.err(`${path}.captionCase`, 'expected "upper" or "as-written"');
|
|
1048
|
+
}
|
|
1045
1049
|
for (const k of ["titleScale", "bodyScale", "lineHeight", "titleLineHeight"]) {
|
|
1046
1050
|
if (v[k] !== void 0 && !this.isNumber(v[k])) {
|
|
1047
1051
|
this.err(`${path}.${k}`, `expected number, got ${typeof v[k]}`);
|
|
@@ -2636,6 +2640,8 @@ var warm_earth_default = {
|
|
|
2636
2640
|
typography: {
|
|
2637
2641
|
bodyFont: { stackId: "pt-serif" },
|
|
2638
2642
|
titleFont: { stackId: "pt-serif" },
|
|
2643
|
+
captionFont: { stackId: "pt-sans" },
|
|
2644
|
+
captionCase: "as-written",
|
|
2639
2645
|
titleWeight: "bold",
|
|
2640
2646
|
lineHeight: 1.6
|
|
2641
2647
|
},
|
|
@@ -2924,6 +2930,14 @@ var AVAILABLE_FONT_STACKS = [
|
|
|
2924
2930
|
kind: "sans",
|
|
2925
2931
|
googleFontFamily: "DM Sans"
|
|
2926
2932
|
},
|
|
2933
|
+
{
|
|
2934
|
+
// PT Serif's companion sans (same designers, shared proportions); also a macOS system font.
|
|
2935
|
+
id: "pt-sans",
|
|
2936
|
+
label: "PT Sans",
|
|
2937
|
+
family: '"PT Sans", "Helvetica Neue", Arial, sans-serif',
|
|
2938
|
+
kind: "sans",
|
|
2939
|
+
googleFontFamily: "PT Sans"
|
|
2940
|
+
},
|
|
2927
2941
|
{
|
|
2928
2942
|
id: "oswald",
|
|
2929
2943
|
label: "Oswald",
|
package/dist/doc/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { a6 as Layer, k as Block, Q as Doc, br as TemplateBlock, bs as TemplateContext, y as CustomTemplateDefinition, bu as TemplateRegistry,
|
|
2
|
-
export { V as FRONTMATTER_CUSTOM_TEMPLATES_KEY, W as FRONTMATTER_CUSTOM_THEMES_KEY, a8 as LayoutHints, bb as RenderStyle,
|
|
1
|
+
import { a6 as Layer, k as Block, Q as Doc, br as TemplateBlock, bs as TemplateContext, y as CustomTemplateDefinition, bu as TemplateRegistry, bA as Theme, c4 as ViewportConfig, a_ as PersistentLayerConfig, at as MotionSpec, R as DocBlock, c5 as ViewportOrientation, aZ as PersistentLayer, bN as TitleBlockInput, bf as SectionHeaderInput, j as BigTextInput, u as ContentBlockInput, bl as StatHighlightInput, b9 as QuoteBlockInput, Y as FactCardInput, bV as TwoColumnInput, J as DateEventInput, a4 as ImageWithCaptionInput, a9 as LeftFeatureInput, bc as RightFeatureInput, ae as MapBlockInput, bk as StartBlockConfig, $ as FullBleedQuoteInput, ac as ListBlockInput, b2 as PhotoGridInput, L as DefinitionCardInput, t as ComparisonBarInput, b8 as PullQuoteInput, c3 as VideoWithCaptionInput, c2 as VideoPullQuoteInput, I as DataTableInput, M as DiagramBlockInput, bQ as TreeBlockInput, bJ as TimelineBlockInput, U as DrawingBlockInput, ai as MarkerStyle, A as AccentImage, a3 as ImageTreatment, a as AccentPosition, c as Animation, d as AnimationType, au as MotionState, ar as MotionProfile, bC as ThemeColorScheme, w as CountUpSpec, bE as ThemeRegistry, aR as PageEmphasis, bD as ThemePageStyle, S as DocDiagnostic, P as DiagramTemplateNode, O as DiagramTemplateEdge, bM as TimelineTemplateTrack, bL as TimelineTemplateLink } from '../Doc-C7iCmmmF.js';
|
|
2
|
+
export { V as FRONTMATTER_CUSTOM_TEMPLATES_KEY, W as FRONTMATTER_CUSTOM_THEMES_KEY, a8 as LayoutHints, bb as RenderStyle, bB as ThemeColorPalette, bH as ThemeStyle, bI as ThemeTypography, bW as VIEWPORT_PRESETS, c6 as ViewportPreset, cb as createTemplateContext, ci as getLayoutHints, cl as getTwoColumnPositions, cm as getViewport, cn as getViewportOrientation, cr as isTemplateBlock, cx as scaledFontSize } from '../Doc-C7iCmmmF.js';
|
|
3
3
|
import { g as BuildStep, M as MarkdownBlockNode, S as MarkdownListItem, f as BuildSpec, e as BuildCursor, h as BuildTiming, V as MarkdownNode, ae as TransitionType, ad as TransitionDirection, z as MarkdownHeading, v as MarkdownDocument, a2 as MarkdownTable, q as MarkdownCodeBlock, R as MarkdownList } from '../types-Zk8qYuaT.js';
|
|
4
4
|
import { C as CoercedBlockMeta } from '../annotationCoercion-hTvELpIN.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-_5uQrEYP.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-_5uQrEYP.js';
|
|
7
7
|
import { C as ContentContainer } from '../ContentContainer-B2w9sUoL.js';
|
|
8
8
|
import { V as ViewIssue } from '../viewState-lTZS-hP_.js';
|
|
9
|
-
export { D as DEFAULT_THEME, g as getAvailableThemes, b as getThemeSummaries, r as resolveTheme } from '../themeLibrary-
|
|
9
|
+
export { D as DEFAULT_THEME, g as getAvailableThemes, b as getThemeSummaries, r as resolveTheme } from '../themeLibrary-DsntZLoa.js';
|
|
10
10
|
|
|
11
11
|
/** Pure build planning and evaluation, shared by interactive slides and frame export. */
|
|
12
12
|
|
|
@@ -1347,9 +1347,11 @@ declare function timelineBlock(input: TimelineBlockInput, context: TemplateConte
|
|
|
1347
1347
|
*
|
|
1348
1348
|
* Layout rules:
|
|
1349
1349
|
* 1. Children with both `x` and `y` set keep their authored coordinates.
|
|
1350
|
-
* 2. Children missing either coordinate are auto-placed
|
|
1351
|
-
*
|
|
1352
|
-
*
|
|
1350
|
+
* 2. Children missing either coordinate are auto-placed below the bounding
|
|
1351
|
+
* box of the explicitly-positioned children: by a layered layout
|
|
1352
|
+
* (squisq-graph) when connections run between them, so the flow reads
|
|
1353
|
+
* one way and crosses little, otherwise in a square-ish grid in
|
|
1354
|
+
* declaration order.
|
|
1353
1355
|
* 3. Edges come from each child's `connectsTo`. Targets that don't match
|
|
1354
1356
|
* any sibling id are dropped (and counted in `warnings`).
|
|
1355
1357
|
*/
|
|
@@ -1394,6 +1396,11 @@ interface DiagramLayoutOptions {
|
|
|
1394
1396
|
gridOriginX?: number;
|
|
1395
1397
|
/** Origin y for the grid when no explicit nodes anchor it. Default: 80. */
|
|
1396
1398
|
gridOriginY?: number;
|
|
1399
|
+
/** Node size the layered layout spaces for. Default: 180 × 64, the diagram card. */
|
|
1400
|
+
nodeWidth?: number;
|
|
1401
|
+
nodeHeight?: number;
|
|
1402
|
+
/** Which way connected auto-placed nodes flow. Default: `right`. */
|
|
1403
|
+
direction?: 'right' | 'down';
|
|
1397
1404
|
}
|
|
1398
1405
|
/**
|
|
1399
1406
|
* Compute node positions and edges for a diagram from a parent block's
|
|
@@ -3990,6 +3997,31 @@ declare function isRepairableDiagram(text: string): boolean;
|
|
|
3990
3997
|
*/
|
|
3991
3998
|
declare function repairAsciiDiagram(text: string): RepairResult | null;
|
|
3992
3999
|
|
|
4000
|
+
/**
|
|
4001
|
+
* Auto-arrange for ASCII diagrams: every box gets a new grid position from
|
|
4002
|
+
* squisq-graph's layered layout, so connections flow one way and cross as
|
|
4003
|
+
* little as possible. Labels, containment and the edge set are untouched;
|
|
4004
|
+
* only `col`/`row` (and box sizes grown to what the renderer would draw
|
|
4005
|
+
* anyway) change.
|
|
4006
|
+
*
|
|
4007
|
+
* Box sizes match `renderAsciiDiagram`'s own rules (`leafBoxSize`,
|
|
4008
|
+
* `containerBoxMargins`), and the renderer derives container rects from
|
|
4009
|
+
* their children, so the arranged diagram renders without the collision
|
|
4010
|
+
* pass having to move anything.
|
|
4011
|
+
*
|
|
4012
|
+
* The renderer joins two boxes side to side only when their rows overlap,
|
|
4013
|
+
* so top-to-bottom is the flow it always draws faithfully. Every
|
|
4014
|
+
* arrangement is rendered and re-parsed before it is returned; one that
|
|
4015
|
+
* would lose an edge or a label falls back to the other direction, and
|
|
4016
|
+
* failing both, the diagram comes back unchanged.
|
|
4017
|
+
*/
|
|
4018
|
+
|
|
4019
|
+
interface ArrangeAsciiDiagramOptions {
|
|
4020
|
+
/** Which way connections flow: top to bottom (default) or left to right. */
|
|
4021
|
+
direction?: 'down' | 'right';
|
|
4022
|
+
}
|
|
4023
|
+
declare function arrangeAsciiDiagram(diagram: AsciiDiagram, options?: ArrangeAsciiDiagramOptions): AsciiDiagram;
|
|
4024
|
+
|
|
3993
4025
|
/**
|
|
3994
4026
|
* Mapping between the grid-native ASCII diagram model and the diagram
|
|
3995
4027
|
* canvas / template model (canvas units, the same space as `Block.x`/`y`).
|
|
@@ -4310,4 +4342,4 @@ declare function treeFromMarkdownList(list: MarkdownList): Tree;
|
|
|
4310
4342
|
/** Find the first top-level markdown list in a block's body, if any. */
|
|
4311
4343
|
declare function findFirstList(contents: MarkdownBlockNode[] | undefined): MarkdownList | undefined;
|
|
4312
4344
|
|
|
4313
|
-
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, BUILTIN_DASHBOARD_LAYOUTS, type BlockLayerMaterialization, type BlockMediaLayoutPolicy, type BuildPreviewDocOptions, type BuildTimeline, type BuiltInTemplateName, CONTAINER_TEMPLATES, COVER_SLIDE_FRONTMATTER_KEYS, COVER_SLIDE_TEMPLATE_OPTIONS, type ClipBox, type ConnectorAnchor, type ConnectorPort, type ConnectorRouting, type ConnectorSnapPoint, type ContentBuildPlan, type CoverBlockInput, type CoverSlidePlayback, type CoverSlideSettings, type CoverSlideTemplate, type CoverSlideTemplateOption, DASHBOARD_AUTO_LAYOUT_ID, DASHBOARD_FRONTMATTER_KEYS, DASHBOARD_STYLES, DASHBOARD_STYLE_IDS, DASHBOARD_ZOOM_LEVELS, DATA_FILE_EXTENSIONS, DEFAULT_COVER_SLIDE_SETTINGS, DEFAULT_DASHBOARD_SETTINGS, DEFAULT_DASHBOARD_STYLE, DEFAULT_LAYOUT, DEFAULT_WORD_STAGGER, DIAGRAM_LABEL_HORIZONTAL_PADDING, DIAGRAM_LABEL_LINE_HEIGHT, DIAGRAM_LABEL_MIN_FONT_SIZE, DIAGRAM_LABEL_VERTICAL_PADDING, type DashboardCell, type DashboardCellChrome, type DashboardCellDefinition, type DashboardCellFrame, type DashboardDiagnostic, type DashboardLayoutDefinition, type DashboardLayoutSummary, type DashboardLayoutValidationError, type DashboardLayoutValidationResult, type DashboardMaterialization, type DashboardRectPct, type DashboardSettings, type DashboardSettingsOverrides, type DashboardStyleId, type DashboardStyleSummary, type DashboardTitle, type DashboardTitleSlotDefinition, type DashboardZoomCandidate, type DashboardZoomLevel, type DashboardZoomMode, type DataFenceParseResult, type DataSourceReadOptions, type DataSourceReader, type DataSourceStats, type DataSourceTable, 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, FRONTMATTER_DASHBOARD_LAYOUTS_KEY, type FirstImage, type Flashcard, type FlashcardChoice, type FlashcardDeck, type FlashcardDiagnostic, type FlashcardDiagnosticCode, type FlashcardFace, type FlashcardKind, type FlashcardSourceMode, GEOMETRY_BOUND_TEMPLATES, type HostedVideo, type InputCoercion, type LayerMaterializationDiagnostic, type LayerMaterializationFailureMode, type LayerMaterializationSource, type LayoutLayerDefaults, type LayoutLayersResult, MAX_COVER_SLIDE_DURATION_SECONDS, type MarkdownToDocOptions, type MarkdownValidationResult, type MaterializeBlockLayersOptions, type MaterializeDashboardOptions, type MaterializeFlashcardsOptions, type NarrationResolution, type NativeMediaLayout, type NoMediaLayout, PAGE_BASE_CSS, PATH_SHAPE_KINDS, PageSection, type PageSectionContext, type PageSectionDraft, type ParsedStat, PersistentLayerConfig, type RenderAsciiDiagramOptions, type RenderAsciiTimelineOptions, type RenderTreeOptions, type RepairResult, type ResolveDataReferencesOptions, type ResolvedDashboardCell, type ResolvedDataReferences, 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, accentForViewport, adjustY, anchorPoint, applyNarrationTiming, applyRenderStyleToLayers, asciiCellToCanvas, asciiDiagramFromBlocks, asciiDiagramFromTemplateData, asciiDiagramToTemplateData, asciiTimelineToTemplateData, autoTemplatePreservesContent, bigText, blockBuildSteps, buildCursorAtTime, buildDashboardCellChrome, buildPageCss, buildPageCssVars, buildPreviewDoc, buildRegistry, buildSourceText, buildTargetState, canvasToAsciiCell, chooseDashboardLayout, clipEndpoints, clipPoint, coerceTemplateParams, comparisonBar, composeDashboardLayers, computeDiagramLayout, computeDrawingLayout, computeLayoutLayers, connectorPath, contentBlock, countBlocks, countUpSpecFor, coverBlock, createAccentLayers, cssFilterForTreatment, dashboardCanvasFill, dashboardCellAccent, dataSidecarPrefix, dataTable, dateEvent, definitionCard, deriveTemplateInputs, desiredCellZoom, detectAsciiDiagram, detectAsciiTimeline, detectTree, diagramBlock, docToMarkdown, documentTitleFromFileName, drawingBlock, expandCoverBlock, expandDocBlocks, expandPersistentLayers, extractBlockquoteText, extractBodyPlainText, extractEmbeddedVideos, extractFirstEmbeddedVideo, extractFirstImage, extractHostedVideos, extractImages, extractListItems, extractRichListItems, extractTableData, extractTableFromContents, factCard, fallbackBlockLayers, findFirstList, findFirstTable, fitBigTextSize, fitDiagramLabel, flattenBlocks, flattenRenderableBlocks, formatCountUp, formatCountValue, fullBleedQuote, getAccentLayout, getAnimationProgress, getAnimationStyle, getAvailableTemplates, getBlockBodyText, getBlockDepth, getBlockMediaLayoutPolicy, getDashboardLayoutSummaries, getDefaultAnimation, getDefaultAnimationDuration, getMotionProfile, getOverlayOpacity, getPersistentLayersFromTheme, getPinnedBlockMeta, getTemplateHint, getThemeFont, getTransitionClass, hasBlockBuilds, hasTemplate, imageWithCaption, isAsciiDiagramFence, isAsciiTimelineFence, isContainerTemplate, isDataFence, isDataFilePath, isEligibleAsciiFenceLang, isEligibleAsciiTimelineFenceLang, isEligibleTreeFenceLang, isExplicitDiagramLang, isExplicitTimelineLang, isExplicitTreeLang, isGeometryBoundTemplate, isMaterializedMediaNode, isPictureFence, isRepairableDiagram, isShapeName, isTemplatedPageBlock, isTreeFence, isWrappedFlowTimelineSource, layoutBlock, layoutCapacity, leftFeature, lineStyleDasharray, lintTemplateParams, listBlock, listDashboardLayouts, mapBlock, markdownBlockSeparatorLines, markdownToDoc, markerPath, materializeBlockLayers, materializeDashboard, materializeFlashcards, motionDelay, motionEntrance, motionStateTransform, nearestSnapPoint, normalizeDashboardZoom, normalizeShapeKind, pageStyleDataAttributes, parseAsciiDiagram, parseAsciiTimeline, parseAsciiTimelineWithStats, parseDataFence, parseStatNumber, parseTree, parseWrappedFlowTimeline, parseYamlSubset, photoGrid, planContentBuilds, pullQuote, quoteBlock, readCustomTemplatesFromFrontmatter, readCustomThemesFromFrontmatter, readDashboardLayoutsFromFrontmatter, renderAsciiDiagram, renderAsciiTimeline, renderMarkdownBlocksHtml, renderTree, repairAsciiDiagram, replaceDataFence, resolveAudioMapping, resolveBuildTimeline, resolveColorScheme, resolveCoverSlideSettings, resolveDashboardLayoutDefinition, resolveDashboardSettings, resolveDashboardStyleId, resolveDashboardZooms, resolveDataReferences, resolveDocBuildTiming, resolveFlashcardMarker, resolveLayoutCells, resolvePageBlock, resolvePersistentLayers, resolveTemplateName, resolveThemeForDoc, rightFeature, scaleAnimationDuration, scoreTextSimilarity, sectionExtractors, sectionHeader, shapePath, shouldUseShadow, snapEndpoints, snapPoints, statHighlight, stripBlockBackdropLayer, stripsBlockBackdrop, templateRegistry, themeWantsAmbientMotion, themedEntrance, themedFontSize, themedImageTreatment, themedScrim, themedSurfaceGradient, timelineBlock, titleBlock, transformOriginFor, transposeCells, treeBlock, treeFromMarkdownList, treeFromTemplateData, treeToTemplateData, twoColumn, validateDashboardLayoutDefinition, validateMarkdownDoc, validateMarkdownSource, videoPullQuote, videoWithCaption, wordRevealDelay, wrapWithPersistentLayers, writeCustomTemplatesToFrontmatter, writeCustomThemesToFrontmatter, writeDashboardLayoutsToFrontmatter };
|
|
4345
|
+
export { ASCII_CHAR_H, ASCII_CHAR_W, ASCII_DIAGRAM_FENCE_LANGS, ASCII_TIMELINE_FENCE_LANGS, type AccentLayout, type ArrangeAsciiDiagramOptions, 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, BUILTIN_DASHBOARD_LAYOUTS, type BlockLayerMaterialization, type BlockMediaLayoutPolicy, type BuildPreviewDocOptions, type BuildTimeline, type BuiltInTemplateName, CONTAINER_TEMPLATES, COVER_SLIDE_FRONTMATTER_KEYS, COVER_SLIDE_TEMPLATE_OPTIONS, type ClipBox, type ConnectorAnchor, type ConnectorPort, type ConnectorRouting, type ConnectorSnapPoint, type ContentBuildPlan, type CoverBlockInput, type CoverSlidePlayback, type CoverSlideSettings, type CoverSlideTemplate, type CoverSlideTemplateOption, DASHBOARD_AUTO_LAYOUT_ID, DASHBOARD_FRONTMATTER_KEYS, DASHBOARD_STYLES, DASHBOARD_STYLE_IDS, DASHBOARD_ZOOM_LEVELS, DATA_FILE_EXTENSIONS, DEFAULT_COVER_SLIDE_SETTINGS, DEFAULT_DASHBOARD_SETTINGS, DEFAULT_DASHBOARD_STYLE, DEFAULT_LAYOUT, DEFAULT_WORD_STAGGER, DIAGRAM_LABEL_HORIZONTAL_PADDING, DIAGRAM_LABEL_LINE_HEIGHT, DIAGRAM_LABEL_MIN_FONT_SIZE, DIAGRAM_LABEL_VERTICAL_PADDING, type DashboardCell, type DashboardCellChrome, type DashboardCellDefinition, type DashboardCellFrame, type DashboardDiagnostic, type DashboardLayoutDefinition, type DashboardLayoutSummary, type DashboardLayoutValidationError, type DashboardLayoutValidationResult, type DashboardMaterialization, type DashboardRectPct, type DashboardSettings, type DashboardSettingsOverrides, type DashboardStyleId, type DashboardStyleSummary, type DashboardTitle, type DashboardTitleSlotDefinition, type DashboardZoomCandidate, type DashboardZoomLevel, type DashboardZoomMode, type DataFenceParseResult, type DataSourceReadOptions, type DataSourceReader, type DataSourceStats, type DataSourceTable, 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, FRONTMATTER_DASHBOARD_LAYOUTS_KEY, type FirstImage, type Flashcard, type FlashcardChoice, type FlashcardDeck, type FlashcardDiagnostic, type FlashcardDiagnosticCode, type FlashcardFace, type FlashcardKind, type FlashcardSourceMode, GEOMETRY_BOUND_TEMPLATES, type HostedVideo, type InputCoercion, type LayerMaterializationDiagnostic, type LayerMaterializationFailureMode, type LayerMaterializationSource, type LayoutLayerDefaults, type LayoutLayersResult, MAX_COVER_SLIDE_DURATION_SECONDS, type MarkdownToDocOptions, type MarkdownValidationResult, type MaterializeBlockLayersOptions, type MaterializeDashboardOptions, type MaterializeFlashcardsOptions, type NarrationResolution, type NativeMediaLayout, type NoMediaLayout, PAGE_BASE_CSS, PATH_SHAPE_KINDS, PageSection, type PageSectionContext, type PageSectionDraft, type ParsedStat, PersistentLayerConfig, type RenderAsciiDiagramOptions, type RenderAsciiTimelineOptions, type RenderTreeOptions, type RepairResult, type ResolveDataReferencesOptions, type ResolvedDashboardCell, type ResolvedDataReferences, 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, accentForViewport, adjustY, anchorPoint, applyNarrationTiming, applyRenderStyleToLayers, arrangeAsciiDiagram, asciiCellToCanvas, asciiDiagramFromBlocks, asciiDiagramFromTemplateData, asciiDiagramToTemplateData, asciiTimelineToTemplateData, autoTemplatePreservesContent, bigText, blockBuildSteps, buildCursorAtTime, buildDashboardCellChrome, buildPageCss, buildPageCssVars, buildPreviewDoc, buildRegistry, buildSourceText, buildTargetState, canvasToAsciiCell, chooseDashboardLayout, clipEndpoints, clipPoint, coerceTemplateParams, comparisonBar, composeDashboardLayers, computeDiagramLayout, computeDrawingLayout, computeLayoutLayers, connectorPath, contentBlock, countBlocks, countUpSpecFor, coverBlock, createAccentLayers, cssFilterForTreatment, dashboardCanvasFill, dashboardCellAccent, dataSidecarPrefix, dataTable, dateEvent, definitionCard, deriveTemplateInputs, desiredCellZoom, detectAsciiDiagram, detectAsciiTimeline, detectTree, diagramBlock, docToMarkdown, documentTitleFromFileName, drawingBlock, expandCoverBlock, expandDocBlocks, expandPersistentLayers, extractBlockquoteText, extractBodyPlainText, extractEmbeddedVideos, extractFirstEmbeddedVideo, extractFirstImage, extractHostedVideos, extractImages, extractListItems, extractRichListItems, extractTableData, extractTableFromContents, factCard, fallbackBlockLayers, findFirstList, findFirstTable, fitBigTextSize, fitDiagramLabel, flattenBlocks, flattenRenderableBlocks, formatCountUp, formatCountValue, fullBleedQuote, getAccentLayout, getAnimationProgress, getAnimationStyle, getAvailableTemplates, getBlockBodyText, getBlockDepth, getBlockMediaLayoutPolicy, getDashboardLayoutSummaries, getDefaultAnimation, getDefaultAnimationDuration, getMotionProfile, getOverlayOpacity, getPersistentLayersFromTheme, getPinnedBlockMeta, getTemplateHint, getThemeFont, getTransitionClass, hasBlockBuilds, hasTemplate, imageWithCaption, isAsciiDiagramFence, isAsciiTimelineFence, isContainerTemplate, isDataFence, isDataFilePath, isEligibleAsciiFenceLang, isEligibleAsciiTimelineFenceLang, isEligibleTreeFenceLang, isExplicitDiagramLang, isExplicitTimelineLang, isExplicitTreeLang, isGeometryBoundTemplate, isMaterializedMediaNode, isPictureFence, isRepairableDiagram, isShapeName, isTemplatedPageBlock, isTreeFence, isWrappedFlowTimelineSource, layoutBlock, layoutCapacity, leftFeature, lineStyleDasharray, lintTemplateParams, listBlock, listDashboardLayouts, mapBlock, markdownBlockSeparatorLines, markdownToDoc, markerPath, materializeBlockLayers, materializeDashboard, materializeFlashcards, motionDelay, motionEntrance, motionStateTransform, nearestSnapPoint, normalizeDashboardZoom, normalizeShapeKind, pageStyleDataAttributes, parseAsciiDiagram, parseAsciiTimeline, parseAsciiTimelineWithStats, parseDataFence, parseStatNumber, parseTree, parseWrappedFlowTimeline, parseYamlSubset, photoGrid, planContentBuilds, pullQuote, quoteBlock, readCustomTemplatesFromFrontmatter, readCustomThemesFromFrontmatter, readDashboardLayoutsFromFrontmatter, renderAsciiDiagram, renderAsciiTimeline, renderMarkdownBlocksHtml, renderTree, repairAsciiDiagram, replaceDataFence, resolveAudioMapping, resolveBuildTimeline, resolveColorScheme, resolveCoverSlideSettings, resolveDashboardLayoutDefinition, resolveDashboardSettings, resolveDashboardStyleId, resolveDashboardZooms, resolveDataReferences, resolveDocBuildTiming, resolveFlashcardMarker, resolveLayoutCells, resolvePageBlock, resolvePersistentLayers, resolveTemplateName, resolveThemeForDoc, rightFeature, scaleAnimationDuration, scoreTextSimilarity, sectionExtractors, sectionHeader, shapePath, shouldUseShadow, snapEndpoints, snapPoints, statHighlight, stripBlockBackdropLayer, stripsBlockBackdrop, templateRegistry, themeWantsAmbientMotion, themedEntrance, themedFontSize, themedImageTreatment, themedScrim, themedSurfaceGradient, timelineBlock, titleBlock, transformOriginFor, transposeCells, treeBlock, treeFromMarkdownList, treeFromTemplateData, treeToTemplateData, twoColumn, validateDashboardLayoutDefinition, validateMarkdownDoc, validateMarkdownSource, videoPullQuote, videoWithCaption, wordRevealDelay, wrapWithPersistentLayers, writeCustomTemplatesToFrontmatter, writeCustomThemesToFrontmatter, writeDashboardLayoutsToFrontmatter };
|
package/dist/doc/index.js
CHANGED
|
@@ -16,6 +16,7 @@ import {
|
|
|
16
16
|
MAX_COVER_SLIDE_DURATION_SECONDS,
|
|
17
17
|
PAGE_BASE_CSS,
|
|
18
18
|
applyNarrationTiming,
|
|
19
|
+
arrangeAsciiDiagram,
|
|
19
20
|
buildDashboardCellChrome,
|
|
20
21
|
buildPageCss,
|
|
21
22
|
buildPageCssVars,
|
|
@@ -74,9 +75,9 @@ import {
|
|
|
74
75
|
validateMarkdownSource,
|
|
75
76
|
wordRevealDelay,
|
|
76
77
|
writeDashboardLayoutsToFrontmatter
|
|
77
|
-
} from "../chunk-
|
|
78
|
+
} from "../chunk-2LTALYXX.js";
|
|
78
79
|
import "../chunk-FTN6SGW5.js";
|
|
79
|
-
import "../chunk-
|
|
80
|
+
import "../chunk-DCO5GYVW.js";
|
|
80
81
|
import {
|
|
81
82
|
BASE_INPUT_DESCRIPTORS,
|
|
82
83
|
BLOCK_MEDIA_LAYOUT_POLICIES,
|
|
@@ -190,7 +191,7 @@ import {
|
|
|
190
191
|
wrapWithPersistentLayers,
|
|
191
192
|
writeCustomTemplatesToFrontmatter,
|
|
192
193
|
writeCustomThemesToFrontmatter
|
|
193
|
-
} from "../chunk-
|
|
194
|
+
} from "../chunk-ITLJQG7Z.js";
|
|
194
195
|
import {
|
|
195
196
|
ASCII_CHAR_H,
|
|
196
197
|
ASCII_CHAR_W,
|
|
@@ -242,7 +243,7 @@ import {
|
|
|
242
243
|
treeFromMarkdownList,
|
|
243
244
|
treeFromTemplateData,
|
|
244
245
|
treeToTemplateData
|
|
245
|
-
} from "../chunk-
|
|
246
|
+
} from "../chunk-HGCIIXHP.js";
|
|
246
247
|
import "../chunk-SVN7T6BK.js";
|
|
247
248
|
import {
|
|
248
249
|
PATH_SHAPE_KINDS,
|
|
@@ -274,20 +275,20 @@ import {
|
|
|
274
275
|
isTemplateBlock,
|
|
275
276
|
resolveTheme,
|
|
276
277
|
scaledFontSize2 as scaledFontSize
|
|
277
|
-
} from "../chunk-
|
|
278
|
+
} from "../chunk-WNEH3BZP.js";
|
|
278
279
|
import "../chunk-JSGIWW35.js";
|
|
279
280
|
import "../chunk-L7QZORLB.js";
|
|
280
|
-
import "../chunk-
|
|
281
|
+
import "../chunk-3A6YM375.js";
|
|
281
282
|
import {
|
|
282
283
|
CONTAINER_TEMPLATES,
|
|
283
284
|
TABLE_FED_TEMPLATES,
|
|
284
285
|
isContainerTemplate,
|
|
285
286
|
resolveTemplateName
|
|
286
287
|
} from "../chunk-Y25EJEZN.js";
|
|
287
|
-
import "../chunk-
|
|
288
|
+
import "../chunk-HE3HQZWU.js";
|
|
288
289
|
import "../chunk-CZ7AUSLI.js";
|
|
289
290
|
import "../chunk-P53Z4RYC.js";
|
|
290
|
-
import "../chunk-
|
|
291
|
+
import "../chunk-5HWYSUXS.js";
|
|
291
292
|
import "../chunk-GHOPHGOK.js";
|
|
292
293
|
import "../chunk-XRW6P7IF.js";
|
|
293
294
|
export {
|
|
@@ -336,6 +337,7 @@ export {
|
|
|
336
337
|
anchorPoint,
|
|
337
338
|
applyNarrationTiming,
|
|
338
339
|
applyRenderStyleToLayers,
|
|
340
|
+
arrangeAsciiDiagram,
|
|
339
341
|
asciiCellToCanvas,
|
|
340
342
|
asciiDiagramFromBlocks,
|
|
341
343
|
asciiDiagramFromTemplateData,
|
package/dist/fence/index.d.ts
CHANGED
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 { r as ColorScheme, A as AccentImage, br as TemplateBlock } from '../Doc-
|
|
3
|
+
import { r as ColorScheme, A as AccentImage, br as TemplateBlock } from '../Doc-C7iCmmmF.js';
|
|
4
4
|
import '../types-Zk8qYuaT.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-CxRHe41J.js';
|
|
2
|
+
export { E as EditorLayerMeta, I as ImageEditCanvas, c as ImageEditLayerKind, d as ImageEditMeta } from '../ImageEditDoc-CxRHe41J.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-C7iCmmmF.js';
|
|
6
6
|
import '../types-Zk8qYuaT.js';
|
|
7
7
|
|
|
8
8
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export { B as BUILD_EFFECTS, a as BUILD_MODES, b as BUILD_PARAM_KEYS, c as BUILD_PREVIOUS, d as BuildAdvance, e as BuildCursor, f as BuildSpec, g as BuildStep, h as BuildTiming, D as DEFAULT_MARKDOWN_SAFETY_LIMITS, i as DEFAULT_TRANSITION_DURATION_SECONDS, H as HeadingAttributes, j as HeadingTemplateAnnotation, k as HtmlComment, l as HtmlElement, m as HtmlNode, n as HtmlText, M as MarkdownBlockNode, o as MarkdownBlockquote, p as MarkdownBreak, q as MarkdownCodeBlock, r as MarkdownContainerDirective, s as MarkdownDefinitionDescription, t as MarkdownDefinitionList, u as MarkdownDefinitionTerm, v as MarkdownDocument, w as MarkdownEmphasis, x as MarkdownFootnoteDefinition, y as MarkdownFootnoteReference, z as MarkdownHeading, A as MarkdownHtmlBlock, C as MarkdownImage, E as MarkdownImageReference, F as MarkdownInlineCode, G as MarkdownInlineHtml, I as MarkdownInlineIcon, J as MarkdownInlineMath, K as MarkdownInlineNode, L as MarkdownLeafDirective, N as MarkdownLimitError, O as MarkdownLink, P as MarkdownLinkDefinition, Q as MarkdownLinkReference, R as MarkdownList, S as MarkdownListItem, T as MarkdownMathBlock, U as MarkdownMention, V as MarkdownNode, W as MarkdownParagraph, X as MarkdownPoint, Y as MarkdownSafetyLimits, Z as MarkdownSourcePosition, _ as MarkdownStrikethrough, $ as MarkdownStrong, a0 as MarkdownSubscript, a1 as MarkdownSuperscript, a2 as MarkdownTable, a3 as MarkdownTableCell, a4 as MarkdownTableRow, a5 as MarkdownText, a6 as MarkdownTextDirective, a7 as MarkdownThematicBreak, a8 as ParseOptions, a9 as StringifyOptions, aa as TRANSITION_DIRECTIONS, ab as TRANSITION_TYPES, ac as Transition, ad as TransitionDirection, ae as TransitionType, af as assertMarkdownDocumentWithinLimits, ag as assertMarkdownSourceWithinLimits, ah as buildSpecParams, ai as isTransitionType, aj as normalizeTransitionDirection, ak as normalizeTransitionType, al as parseBuildSpec, am as recordBuildAdvance, an as resolveBlockTransition, ao as resolveMarkdownSafetyLimits, ap as resolveTransitionDuration } from './types-Zk8qYuaT.js';
|
|
2
2
|
export { B as BoundingBox, C as Coordinates } from './Types-sh2VRxfo.js';
|
|
3
|
-
export { A as AccentImage, a as AccentPosition, b as AmbientGradientConfig, c as Animation, d as AnimationType, e as AreaChartInput, f as AudioBookmark, g as AudioSegment, h as AudioTimingData, i as AudioTrack, B as BarChartInput, j as BigTextInput, k as Block, l as BlockConnection, m as BorderStyle, 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 CountUpSpec, x as CreateTemplateContextOptions, y as CustomTemplateDefinition, z as CustomTemplateLayer, D as CustomTemplateValidationError, E as CustomTemplateValidationResult, F as DARK_SURFACE, G as DEFAULT_DOC_FONT, H as DEFAULT_TITLE_FONT, I as DataTableInput, J as DateEventInput, K as DeepPartial, L as DefinitionCardInput, M as DiagramBlockInput, N as DiagramEdgeAnchor, O as DiagramTemplateEdge, P as DiagramTemplateNode, Q as Doc, R as DocBlock, S as DocDiagnostic, T as DonutChartInput, U as DrawingBlockInput, V as FRONTMATTER_CUSTOM_TEMPLATES_KEY, W as FRONTMATTER_CUSTOM_THEMES_KEY, X as FRONTMATTER_MOTION_KEY, Y as FactCardInput, Z as FontFamily, _ as FontFamilyKind, $ as FullBleedQuoteInput, a0 as GradientBackgroundConfig, a1 as ImageBackgroundConfig, a2 as ImageLayer, a3 as ImageTreatment, a4 as ImageWithCaptionInput, a5 as LIGHT_SURFACE, a6 as Layer, a7 as LayerRepeat, a8 as LayoutHints, a9 as LeftFeatureInput, aa as LineChartInput, ab as LinearGradient, ac as ListBlockInput, ad as MOTION_PROFILES, ae as MapBlockInput, af as MapLayer, ag as MapMarker, ah as MapTileStyle, ai as MarkerStyle, aj as MediaClip, ak as MediaCrop, al as MediaCut, am as MediaEdits, an as MediaScheduleOptions, ao as MermaidLayer, ap as MotionEntrance, aq as MotionOrigin, ar as MotionProfile, as as MotionProfileName, at as MotionSpec, au as MotionState, av as PAGE_ACCENT_STRATEGIES, aw as PAGE_BACKGROUNDS, ax as PAGE_BACKGROUND_RHYTHMS, ay as PAGE_DESIGN_FAMILIES, az as PAGE_DIVIDERS, aA as PAGE_EMPHASES, aB as PAGE_EYEBROWS, aC as PAGE_HEADING_CASES, aD as PAGE_HEADING_SCALES, aE as PAGE_HEADING_UNDERLINES, aF as PAGE_HERO_STYLES, aG as PAGE_IMAGE_FRAMINGS, aH as PAGE_NUMERAL_STYLES, aI as PAGE_PATTERNS, aJ as PAGE_QUOTE_MARKS, aK as PAGE_SECTION_KINDS, aL as PAGE_SECTION_SPACINGS, aM as PAGE_SHADOWS, aN as PAGE_VARIANTS, aO as PageAccentRotation, aP as PageBackground, aQ as PageDesignFamily, aR as PageEmphasis, aS as PageHeadingTreatment, aT as PageSectionKind, aU as PageSectionOverride, aV as PageTokens, aW as PageVariant, aX as PathLayer, aY as PatternBackgroundConfig, aZ as PersistentLayer, a_ as PersistentLayerConfig, a$ as PersistentLayerTemplate, b0 as PersistentLayerTemplateConfig, b1 as PersistentLayerTemplateType, b2 as PhotoGridInput, b3 as PieChartInput, b4 as PipStyle, b5 as Position, b6 as ProgressIndicatorConfig, b7 as PromotedBodyAnnotation, b8 as PullQuoteInput, b9 as QuoteBlockInput, ba as RawLayersInput, bb as RenderStyle, bc as RightFeatureInput, bd as ScatterChartInput, be as ScheduledClip, bf as SectionHeaderInput, bg as ShapeFilter, bh as ShapeLayer, bi as ShapePattern, bj as SolidBackgroundConfig, bk as StartBlockConfig, bl as StatHighlightInput, bm as SurfaceScheme, bn as SvgLayer, bo as THEME_SCHEMA_VERSION, bp as TableLayer, bq as TableLayerStyle, br as TemplateBlock, bs as TemplateContext, bt as TemplateFunction, bu as TemplateRegistry, bv as
|
|
3
|
+
export { A as AccentImage, a as AccentPosition, b as AmbientGradientConfig, c as Animation, d as AnimationType, e as AreaChartInput, f as AudioBookmark, g as AudioSegment, h as AudioTimingData, i as AudioTrack, B as BarChartInput, j as BigTextInput, k as Block, l as BlockConnection, m as BorderStyle, 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 CountUpSpec, x as CreateTemplateContextOptions, y as CustomTemplateDefinition, z as CustomTemplateLayer, D as CustomTemplateValidationError, E as CustomTemplateValidationResult, F as DARK_SURFACE, G as DEFAULT_DOC_FONT, H as DEFAULT_TITLE_FONT, I as DataTableInput, J as DateEventInput, K as DeepPartial, L as DefinitionCardInput, M as DiagramBlockInput, N as DiagramEdgeAnchor, O as DiagramTemplateEdge, P as DiagramTemplateNode, Q as Doc, R as DocBlock, S as DocDiagnostic, T as DonutChartInput, U as DrawingBlockInput, V as FRONTMATTER_CUSTOM_TEMPLATES_KEY, W as FRONTMATTER_CUSTOM_THEMES_KEY, X as FRONTMATTER_MOTION_KEY, Y as FactCardInput, Z as FontFamily, _ as FontFamilyKind, $ as FullBleedQuoteInput, a0 as GradientBackgroundConfig, a1 as ImageBackgroundConfig, a2 as ImageLayer, a3 as ImageTreatment, a4 as ImageWithCaptionInput, a5 as LIGHT_SURFACE, a6 as Layer, a7 as LayerRepeat, a8 as LayoutHints, a9 as LeftFeatureInput, aa as LineChartInput, ab as LinearGradient, ac as ListBlockInput, ad as MOTION_PROFILES, ae as MapBlockInput, af as MapLayer, ag as MapMarker, ah as MapTileStyle, ai as MarkerStyle, aj as MediaClip, ak as MediaCrop, al as MediaCut, am as MediaEdits, an as MediaScheduleOptions, ao as MermaidLayer, ap as MotionEntrance, aq as MotionOrigin, ar as MotionProfile, as as MotionProfileName, at as MotionSpec, au as MotionState, av as PAGE_ACCENT_STRATEGIES, aw as PAGE_BACKGROUNDS, ax as PAGE_BACKGROUND_RHYTHMS, ay as PAGE_DESIGN_FAMILIES, az as PAGE_DIVIDERS, aA as PAGE_EMPHASES, aB as PAGE_EYEBROWS, aC as PAGE_HEADING_CASES, aD as PAGE_HEADING_SCALES, aE as PAGE_HEADING_UNDERLINES, aF as PAGE_HERO_STYLES, aG as PAGE_IMAGE_FRAMINGS, aH as PAGE_NUMERAL_STYLES, aI as PAGE_PATTERNS, aJ as PAGE_QUOTE_MARKS, aK as PAGE_SECTION_KINDS, aL as PAGE_SECTION_SPACINGS, aM as PAGE_SHADOWS, aN as PAGE_VARIANTS, aO as PageAccentRotation, aP as PageBackground, aQ as PageDesignFamily, aR as PageEmphasis, aS as PageHeadingTreatment, aT as PageSectionKind, aU as PageSectionOverride, aV as PageTokens, aW as PageVariant, aX as PathLayer, aY as PatternBackgroundConfig, aZ as PersistentLayer, a_ as PersistentLayerConfig, a$ as PersistentLayerTemplate, b0 as PersistentLayerTemplateConfig, b1 as PersistentLayerTemplateType, b2 as PhotoGridInput, b3 as PieChartInput, b4 as PipStyle, b5 as Position, b6 as ProgressIndicatorConfig, b7 as PromotedBodyAnnotation, b8 as PullQuoteInput, b9 as QuoteBlockInput, ba as RawLayersInput, bb as RenderStyle, bc as RightFeatureInput, bd as ScatterChartInput, be as ScheduledClip, bf as SectionHeaderInput, bg as ShapeFilter, bh as ShapeLayer, bi as ShapePattern, bj as SolidBackgroundConfig, bk as StartBlockConfig, bl as StatHighlightInput, bm as SurfaceScheme, bn as SvgLayer, bo as THEME_SCHEMA_VERSION, bp as TableLayer, bq as TableLayerStyle, br as TemplateBlock, bs as TemplateContext, bt as TemplateFunction, bu as TemplateRegistry, bv as TextFlow, bw as TextLayer, bx as TextParagraph, by as TextParagraphList, bz as TextStyle, bA as Theme, bB as ThemeColorPalette, bC as ThemeColorScheme, bD as ThemePageStyle, bE as ThemeRegistry, bF as ThemeSchemaVersion, bG as ThemeSeedColors, bH as ThemeStyle, bI as ThemeTypography, bJ as TimelineBlockInput, bK as TimelineTemplateEvent, bL as TimelineTemplateLink, bM as TimelineTemplateTrack, bN as TitleBlockInput, bO as TitleCaptionConfig, bP as TranscriptBlockInput, bQ as TreeBlockInput, bR as TreeLayer, bS as TreeLayerItem, bT as TreeLayerStyle, bU as TreeTemplateItem, bV as TwoColumnInput, bW as VIEWPORT_PRESETS, bX as VideoEmbedLayer, bY as VideoLayer, bZ as VideoPipPosition, b_ as VideoPipShape, b$ as VideoPipSize, c0 as VideoPlacement, c1 as VideoPresentation, c2 as VideoPullQuoteInput, c3 as VideoWithCaptionInput, c4 as ViewportConfig, c5 as ViewportOrientation, c6 as ViewportPreset, c7 as VignetteConfig, c8 as applySurface, c9 as calculateDuration, ca as calculateFontScale, cb as createTemplateContext, cc as createTheme, cd as createThemeRegistry, ce as getAspectRatioString, cf as getBlockAtTime, cg as getCaptionAtTime, ch as getDocPlaybackDuration, ci as getLayoutHints, cj as getSafeTextBounds, ck as getSegmentAtTime, cl as getTwoColumnPositions, cm as getViewport, cn as getViewportOrientation, co as isCustomTemplateDefinition, cp as isMotionProfileName, cq as isPersistentLayerTemplate, cr as isTemplateBlock, cs as layoutScaledFontSize, ct as readFrontmatterMotion, cu as resolveMediaSchedule, cv as resolveMotionForDoc, cw as resolveMotionProfile, cx as scaledFontSize, cy as scheduleMediaClip, cz as validateCustomTemplateDefinition } from './Doc-C7iCmmmF.js';
|
|
4
4
|
export { AVAILABLE_FONT_STACKS, CompileOptions, ContrastPreset, DocSchemaIssue, FONT_FALLBACKS, FontStack, MermaidThemeVariables, PipStyleVars, STARTER_THEME, ValidationError, ValidationResult, accentToColorScheme, assertDocSchema, assertTheme, buildGoogleFontsUrl, buildMermaidThemeVariables, compileTheme, contrastRatio, defaultPageStyle, deriveColorPalette, deriveScale, fontStack, getFontStack, guessFontFallback, hexHueDegrees, isHex, matchFontFamily, oklchDarken, oklchLighten, oklchSetChroma, parseTheme, pickContrastingText, pipStyleVars, relativeLuminance, resolveFontFamily, serializeTheme, validateDocSchema, validateTheme, withAlpha } from './schemas/index.js';
|
|
5
|
-
export { D as DEFAULT_THEME, a as DEFAULT_THEME_ID, T as THEMES, g as getAvailableThemes, b as getThemeSummaries, r as resolveTheme } from './themeLibrary-
|
|
5
|
+
export { D as DEFAULT_THEME, a as DEFAULT_THEME_ID, T as THEMES, g as getAvailableThemes, b as getThemeSummaries, r as resolveTheme } from './themeLibrary-DsntZLoa.js';
|
|
6
6
|
export { M as MediaEntry, a as MediaProvider } from './MediaProvider-wpSe21B3.js';
|
|
7
|
-
export { E as EditorLayerMeta, I as ImageEditCanvas, a as ImageEditDoc, b as ImageEditLayer, c as ImageEditLayerKind, d as ImageEditMeta } from './ImageEditDoc-
|
|
8
|
-
export { ASCII_CHAR_H, ASCII_CHAR_W, ASCII_DIAGRAM_FENCE_LANGS, ASCII_TIMELINE_FENCE_LANGS, AccentLayout, AsciiDiagram, AsciiDiagramDetection, AsciiDiagramEdge, AsciiDiagramNode, AsciiTimeline, AsciiTimelineDetection, AsciiTimelineEvent, AsciiTimelineLink, AsciiTimelineMarker, AsciiTimelineSide, AsciiTimelineStats, AsciiTimelineStyle, AsciiTimelineTrack, AudioSegmentTiming, BASE_INPUT_DESCRIPTORS, BLOCK_MEDIA_LAYOUT_POLICIES, BUILTIN_DASHBOARD_LAYOUTS, BlockLayerMaterialization, BlockMediaLayoutPolicy, BuildPreviewDocOptions, BuildTimeline, BuiltInTemplateName, CONTAINER_TEMPLATES, COVER_SLIDE_FRONTMATTER_KEYS, COVER_SLIDE_TEMPLATE_OPTIONS, ClipBox, ConnectorAnchor, ConnectorPort, ConnectorRouting, ConnectorSnapPoint, ContentBuildPlan, CoverBlockInput, CoverSlidePlayback, CoverSlideSettings, CoverSlideTemplate, CoverSlideTemplateOption, DASHBOARD_AUTO_LAYOUT_ID, DASHBOARD_FRONTMATTER_KEYS, DASHBOARD_STYLES, DASHBOARD_STYLE_IDS, DASHBOARD_ZOOM_LEVELS, DATA_FILE_EXTENSIONS, DEFAULT_COVER_SLIDE_SETTINGS, DEFAULT_DASHBOARD_SETTINGS, DEFAULT_DASHBOARD_STYLE, DEFAULT_LAYOUT, DEFAULT_WORD_STAGGER, DIAGRAM_LABEL_HORIZONTAL_PADDING, DIAGRAM_LABEL_LINE_HEIGHT, DIAGRAM_LABEL_MIN_FONT_SIZE, DIAGRAM_LABEL_VERTICAL_PADDING, DashboardCell, DashboardCellChrome, DashboardCellDefinition, DashboardCellFrame, DashboardDiagnostic, DashboardLayoutDefinition, DashboardLayoutSummary, DashboardLayoutValidationError, DashboardLayoutValidationResult, DashboardMaterialization, DashboardRectPct, DashboardSettings, DashboardSettingsOverrides, DashboardStyleId, DashboardStyleSummary, DashboardTitle, DashboardTitleSlotDefinition, DashboardZoomCandidate, DashboardZoomLevel, DashboardZoomMode, DataFenceParseResult, DataSourceReadOptions, DataSourceReader, DataSourceStats, DataSourceTable, DeriveTemplateInputsOptions, DetectAsciiTimelineOptions, DiagramEdge, DiagramLabelFit, DiagramLayout, DiagramLayoutOptions, DiagramNodePosition, DrawingConnector, DrawingLayout, DrawingLayoutOptions, DrawingShape, DrawingShapeKind, EmbeddedVideo, ExpandDocBlocksOptions, ExtractedTableData, FRONTMATTER_DASHBOARD_LAYOUTS_KEY, FirstImage, Flashcard, FlashcardChoice, FlashcardDeck, FlashcardDiagnostic, FlashcardDiagnosticCode, FlashcardFace, FlashcardKind, FlashcardSourceMode, GEOMETRY_BOUND_TEMPLATES, HostedVideo, InputCoercion, LayerMaterializationDiagnostic, LayerMaterializationFailureMode, LayerMaterializationSource, LayoutLayerDefaults, LayoutLayersResult, MAX_COVER_SLIDE_DURATION_SECONDS, MarkdownToDocOptions, MarkdownValidationResult, MaterializeBlockLayersOptions, MaterializeDashboardOptions, MaterializeFlashcardsOptions, NarrationResolution, NativeMediaLayout, NoMediaLayout, PAGE_BASE_CSS, PATH_SHAPE_KINDS, PageSectionContext, PageSectionDraft, ParsedStat, RenderAsciiDiagramOptions, RenderAsciiTimelineOptions, RenderTreeOptions, RepairResult, ResolveDataReferencesOptions, ResolvedDashboardCell, ResolvedDataReferences, ResolvedPageBlock, RichListItem, RuntimeTemplateRegistry, SHAPE_NAMES, SectionExtractor, SupplementalMediaLayoutVariant, SupplementalMediaShape, SupplementalMediaVariantMatrix, TABLE_FED_TEMPLATES, TEMPLATE_AUTHORING_METADATA, TEMPLATE_INPUT_DESCRIPTORS, TEMPLATE_METADATA, TREE_FENCE_LANGS, TemplateAuthoringMetadata, TemplateAuthoringRole, TemplateBodyPolicy, TemplateInputDescriptor, TemplateMediaOwnership, TemplateMetadata, TemplateParamFinding, Tree, TreeDetection, TreeItem, TreeNode, UnconsumedMediaBehavior, ValidateOptions, accentForViewport, adjustY, anchorPoint, applyNarrationTiming, applyRenderStyleToLayers, asciiCellToCanvas, asciiDiagramFromBlocks, asciiDiagramFromTemplateData, asciiDiagramToTemplateData, asciiTimelineToTemplateData, autoTemplatePreservesContent, bigText, blockBuildSteps, buildCursorAtTime, buildDashboardCellChrome, buildPageCss, buildPageCssVars, buildPreviewDoc, buildRegistry, buildSourceText, buildTargetState, canvasToAsciiCell, chooseDashboardLayout, clipEndpoints, clipPoint, coerceTemplateParams, comparisonBar, composeDashboardLayers, computeDiagramLayout, computeDrawingLayout, computeLayoutLayers, connectorPath, contentBlock, countBlocks, countUpSpecFor, coverBlock, createAccentLayers, cssFilterForTreatment, dashboardCanvasFill, dashboardCellAccent, dataSidecarPrefix, dataTable, dateEvent, definitionCard, deriveTemplateInputs, desiredCellZoom, detectAsciiDiagram, detectAsciiTimeline, detectTree, diagramBlock, docToMarkdown, documentTitleFromFileName, drawingBlock, expandCoverBlock, expandDocBlocks, expandPersistentLayers, extractBlockquoteText, extractBodyPlainText, extractEmbeddedVideos, extractFirstEmbeddedVideo, extractFirstImage, extractHostedVideos, extractImages, extractListItems, extractRichListItems, extractTableData, extractTableFromContents, factCard, fallbackBlockLayers, findFirstList, findFirstTable, fitBigTextSize, fitDiagramLabel, flattenBlocks, flattenRenderableBlocks, formatCountUp, formatCountValue, fullBleedQuote, getAccentLayout, getAnimationProgress, getAnimationStyle, getAvailableTemplates, getBlockBodyText, getBlockDepth, getBlockMediaLayoutPolicy, getDashboardLayoutSummaries, getDefaultAnimation, getDefaultAnimationDuration, getMotionProfile, getOverlayOpacity, getPersistentLayersFromTheme, getPinnedBlockMeta, getTemplateHint, getThemeFont, getTransitionClass, hasBlockBuilds, hasTemplate, imageWithCaption, isAsciiDiagramFence, isAsciiTimelineFence, isContainerTemplate, isDataFence, isDataFilePath, isEligibleAsciiFenceLang, isEligibleAsciiTimelineFenceLang, isEligibleTreeFenceLang, isExplicitDiagramLang, isExplicitTimelineLang, isExplicitTreeLang, isGeometryBoundTemplate, isMaterializedMediaNode, isPictureFence, isRepairableDiagram, isShapeName, isTemplatedPageBlock, isTreeFence, isWrappedFlowTimelineSource, layoutBlock, layoutCapacity, leftFeature, lineStyleDasharray, lintTemplateParams, listBlock, listDashboardLayouts, mapBlock, markdownBlockSeparatorLines, markdownToDoc, markerPath, materializeBlockLayers, materializeDashboard, materializeFlashcards, motionDelay, motionEntrance, motionStateTransform, nearestSnapPoint, normalizeDashboardZoom, normalizeShapeKind, pageStyleDataAttributes, parseAsciiDiagram, parseAsciiTimeline, parseAsciiTimelineWithStats, parseDataFence, parseStatNumber, parseTree, parseWrappedFlowTimeline, parseYamlSubset, photoGrid, planContentBuilds, pullQuote, quoteBlock, readCustomTemplatesFromFrontmatter, readCustomThemesFromFrontmatter, readDashboardLayoutsFromFrontmatter, renderAsciiDiagram, renderAsciiTimeline, renderMarkdownBlocksHtml, renderTree, repairAsciiDiagram, replaceDataFence, resolveAudioMapping, resolveBuildTimeline, resolveColorScheme, resolveCoverSlideSettings, resolveDashboardLayoutDefinition, resolveDashboardSettings, resolveDashboardStyleId, resolveDashboardZooms, resolveDataReferences, resolveDocBuildTiming, resolveFlashcardMarker, resolveLayoutCells, resolvePageBlock, resolvePersistentLayers, resolveTemplateName, resolveThemeForDoc, rightFeature, scaleAnimationDuration, scoreTextSimilarity, sectionExtractors, sectionHeader, shapePath, shouldUseShadow, snapEndpoints, snapPoints, statHighlight, stripBlockBackdropLayer, stripsBlockBackdrop, templateRegistry, themeWantsAmbientMotion, themedEntrance, themedFontSize, themedImageTreatment, themedScrim, themedSurfaceGradient, timelineBlock, titleBlock, transformOriginFor, transposeCells, treeBlock, treeFromMarkdownList, treeFromTemplateData, treeToTemplateData, twoColumn, validateDashboardLayoutDefinition, validateMarkdownDoc, validateMarkdownSource, videoPullQuote, videoWithCaption, wordRevealDelay, wrapWithPersistentLayers, writeCustomTemplatesToFrontmatter, writeCustomThemesToFrontmatter, writeDashboardLayoutsToFrontmatter } from './doc/index.js';
|
|
9
|
-
export { M as MaterializePageSectionOptions, a as MaterializePageSectionsOptions, P as PageMedia, b as PageRichText, c as PageSection, d as PageSectionDiagnostic, e as PageSectionItem, f as PageSectionMaterialization, g as PageSectionSource, h as PageSpatialKind, i as PageTransformHints, m as materializePageSection, j as materializePageSections, r as resolvePageStyle } from './materializePageSection-
|
|
7
|
+
export { E as EditorLayerMeta, I as ImageEditCanvas, a as ImageEditDoc, b as ImageEditLayer, c as ImageEditLayerKind, d as ImageEditMeta } from './ImageEditDoc-CxRHe41J.js';
|
|
8
|
+
export { ASCII_CHAR_H, ASCII_CHAR_W, ASCII_DIAGRAM_FENCE_LANGS, ASCII_TIMELINE_FENCE_LANGS, AccentLayout, ArrangeAsciiDiagramOptions, AsciiDiagram, AsciiDiagramDetection, AsciiDiagramEdge, AsciiDiagramNode, AsciiTimeline, AsciiTimelineDetection, AsciiTimelineEvent, AsciiTimelineLink, AsciiTimelineMarker, AsciiTimelineSide, AsciiTimelineStats, AsciiTimelineStyle, AsciiTimelineTrack, AudioSegmentTiming, BASE_INPUT_DESCRIPTORS, BLOCK_MEDIA_LAYOUT_POLICIES, BUILTIN_DASHBOARD_LAYOUTS, BlockLayerMaterialization, BlockMediaLayoutPolicy, BuildPreviewDocOptions, BuildTimeline, BuiltInTemplateName, CONTAINER_TEMPLATES, COVER_SLIDE_FRONTMATTER_KEYS, COVER_SLIDE_TEMPLATE_OPTIONS, ClipBox, ConnectorAnchor, ConnectorPort, ConnectorRouting, ConnectorSnapPoint, ContentBuildPlan, CoverBlockInput, CoverSlidePlayback, CoverSlideSettings, CoverSlideTemplate, CoverSlideTemplateOption, DASHBOARD_AUTO_LAYOUT_ID, DASHBOARD_FRONTMATTER_KEYS, DASHBOARD_STYLES, DASHBOARD_STYLE_IDS, DASHBOARD_ZOOM_LEVELS, DATA_FILE_EXTENSIONS, DEFAULT_COVER_SLIDE_SETTINGS, DEFAULT_DASHBOARD_SETTINGS, DEFAULT_DASHBOARD_STYLE, DEFAULT_LAYOUT, DEFAULT_WORD_STAGGER, DIAGRAM_LABEL_HORIZONTAL_PADDING, DIAGRAM_LABEL_LINE_HEIGHT, DIAGRAM_LABEL_MIN_FONT_SIZE, DIAGRAM_LABEL_VERTICAL_PADDING, DashboardCell, DashboardCellChrome, DashboardCellDefinition, DashboardCellFrame, DashboardDiagnostic, DashboardLayoutDefinition, DashboardLayoutSummary, DashboardLayoutValidationError, DashboardLayoutValidationResult, DashboardMaterialization, DashboardRectPct, DashboardSettings, DashboardSettingsOverrides, DashboardStyleId, DashboardStyleSummary, DashboardTitle, DashboardTitleSlotDefinition, DashboardZoomCandidate, DashboardZoomLevel, DashboardZoomMode, DataFenceParseResult, DataSourceReadOptions, DataSourceReader, DataSourceStats, DataSourceTable, DeriveTemplateInputsOptions, DetectAsciiTimelineOptions, DiagramEdge, DiagramLabelFit, DiagramLayout, DiagramLayoutOptions, DiagramNodePosition, DrawingConnector, DrawingLayout, DrawingLayoutOptions, DrawingShape, DrawingShapeKind, EmbeddedVideo, ExpandDocBlocksOptions, ExtractedTableData, FRONTMATTER_DASHBOARD_LAYOUTS_KEY, FirstImage, Flashcard, FlashcardChoice, FlashcardDeck, FlashcardDiagnostic, FlashcardDiagnosticCode, FlashcardFace, FlashcardKind, FlashcardSourceMode, GEOMETRY_BOUND_TEMPLATES, HostedVideo, InputCoercion, LayerMaterializationDiagnostic, LayerMaterializationFailureMode, LayerMaterializationSource, LayoutLayerDefaults, LayoutLayersResult, MAX_COVER_SLIDE_DURATION_SECONDS, MarkdownToDocOptions, MarkdownValidationResult, MaterializeBlockLayersOptions, MaterializeDashboardOptions, MaterializeFlashcardsOptions, NarrationResolution, NativeMediaLayout, NoMediaLayout, PAGE_BASE_CSS, PATH_SHAPE_KINDS, PageSectionContext, PageSectionDraft, ParsedStat, RenderAsciiDiagramOptions, RenderAsciiTimelineOptions, RenderTreeOptions, RepairResult, ResolveDataReferencesOptions, ResolvedDashboardCell, ResolvedDataReferences, ResolvedPageBlock, RichListItem, RuntimeTemplateRegistry, SHAPE_NAMES, SectionExtractor, SupplementalMediaLayoutVariant, SupplementalMediaShape, SupplementalMediaVariantMatrix, TABLE_FED_TEMPLATES, TEMPLATE_AUTHORING_METADATA, TEMPLATE_INPUT_DESCRIPTORS, TEMPLATE_METADATA, TREE_FENCE_LANGS, TemplateAuthoringMetadata, TemplateAuthoringRole, TemplateBodyPolicy, TemplateInputDescriptor, TemplateMediaOwnership, TemplateMetadata, TemplateParamFinding, Tree, TreeDetection, TreeItem, TreeNode, UnconsumedMediaBehavior, ValidateOptions, accentForViewport, adjustY, anchorPoint, applyNarrationTiming, applyRenderStyleToLayers, arrangeAsciiDiagram, asciiCellToCanvas, asciiDiagramFromBlocks, asciiDiagramFromTemplateData, asciiDiagramToTemplateData, asciiTimelineToTemplateData, autoTemplatePreservesContent, bigText, blockBuildSteps, buildCursorAtTime, buildDashboardCellChrome, buildPageCss, buildPageCssVars, buildPreviewDoc, buildRegistry, buildSourceText, buildTargetState, canvasToAsciiCell, chooseDashboardLayout, clipEndpoints, clipPoint, coerceTemplateParams, comparisonBar, composeDashboardLayers, computeDiagramLayout, computeDrawingLayout, computeLayoutLayers, connectorPath, contentBlock, countBlocks, countUpSpecFor, coverBlock, createAccentLayers, cssFilterForTreatment, dashboardCanvasFill, dashboardCellAccent, dataSidecarPrefix, dataTable, dateEvent, definitionCard, deriveTemplateInputs, desiredCellZoom, detectAsciiDiagram, detectAsciiTimeline, detectTree, diagramBlock, docToMarkdown, documentTitleFromFileName, drawingBlock, expandCoverBlock, expandDocBlocks, expandPersistentLayers, extractBlockquoteText, extractBodyPlainText, extractEmbeddedVideos, extractFirstEmbeddedVideo, extractFirstImage, extractHostedVideos, extractImages, extractListItems, extractRichListItems, extractTableData, extractTableFromContents, factCard, fallbackBlockLayers, findFirstList, findFirstTable, fitBigTextSize, fitDiagramLabel, flattenBlocks, flattenRenderableBlocks, formatCountUp, formatCountValue, fullBleedQuote, getAccentLayout, getAnimationProgress, getAnimationStyle, getAvailableTemplates, getBlockBodyText, getBlockDepth, getBlockMediaLayoutPolicy, getDashboardLayoutSummaries, getDefaultAnimation, getDefaultAnimationDuration, getMotionProfile, getOverlayOpacity, getPersistentLayersFromTheme, getPinnedBlockMeta, getTemplateHint, getThemeFont, getTransitionClass, hasBlockBuilds, hasTemplate, imageWithCaption, isAsciiDiagramFence, isAsciiTimelineFence, isContainerTemplate, isDataFence, isDataFilePath, isEligibleAsciiFenceLang, isEligibleAsciiTimelineFenceLang, isEligibleTreeFenceLang, isExplicitDiagramLang, isExplicitTimelineLang, isExplicitTreeLang, isGeometryBoundTemplate, isMaterializedMediaNode, isPictureFence, isRepairableDiagram, isShapeName, isTemplatedPageBlock, isTreeFence, isWrappedFlowTimelineSource, layoutBlock, layoutCapacity, leftFeature, lineStyleDasharray, lintTemplateParams, listBlock, listDashboardLayouts, mapBlock, markdownBlockSeparatorLines, markdownToDoc, markerPath, materializeBlockLayers, materializeDashboard, materializeFlashcards, motionDelay, motionEntrance, motionStateTransform, nearestSnapPoint, normalizeDashboardZoom, normalizeShapeKind, pageStyleDataAttributes, parseAsciiDiagram, parseAsciiTimeline, parseAsciiTimelineWithStats, parseDataFence, parseStatNumber, parseTree, parseWrappedFlowTimeline, parseYamlSubset, photoGrid, planContentBuilds, pullQuote, quoteBlock, readCustomTemplatesFromFrontmatter, readCustomThemesFromFrontmatter, readDashboardLayoutsFromFrontmatter, renderAsciiDiagram, renderAsciiTimeline, renderMarkdownBlocksHtml, renderTree, repairAsciiDiagram, replaceDataFence, resolveAudioMapping, resolveBuildTimeline, resolveColorScheme, resolveCoverSlideSettings, resolveDashboardLayoutDefinition, resolveDashboardSettings, resolveDashboardStyleId, resolveDashboardZooms, resolveDataReferences, resolveDocBuildTiming, resolveFlashcardMarker, resolveLayoutCells, resolvePageBlock, resolvePersistentLayers, resolveTemplateName, resolveThemeForDoc, rightFeature, scaleAnimationDuration, scoreTextSimilarity, sectionExtractors, sectionHeader, shapePath, shouldUseShadow, snapEndpoints, snapPoints, statHighlight, stripBlockBackdropLayer, stripsBlockBackdrop, templateRegistry, themeWantsAmbientMotion, themedEntrance, themedFontSize, themedImageTreatment, themedScrim, themedSurfaceGradient, timelineBlock, titleBlock, transformOriginFor, transposeCells, treeBlock, treeFromMarkdownList, treeFromTemplateData, treeToTemplateData, twoColumn, validateDashboardLayoutDefinition, validateMarkdownDoc, validateMarkdownSource, videoPullQuote, videoWithCaption, wordRevealDelay, wrapWithPersistentLayers, writeCustomTemplatesToFrontmatter, writeCustomThemesToFrontmatter, writeDashboardLayoutsToFrontmatter } from './doc/index.js';
|
|
9
|
+
export { M as MaterializePageSectionOptions, a as MaterializePageSectionsOptions, P as PageMedia, b as PageRichText, c as PageSection, d as PageSectionDiagnostic, e as PageSectionItem, f as PageSectionMaterialization, g as PageSectionSource, h as PageSpatialKind, i as PageTransformHints, m as materializePageSection, j as materializePageSections, r as resolvePageStyle } from './materializePageSection-_5uQrEYP.js';
|
|
10
10
|
export { calculateBearing, decodeGeohash, destinationPoint, encodeGeohash, geohashOverlapsBounds, geohashToHierarchicalPath, getGeohash4Neighbors, getGeohashPath, getGeohashPrefix, getNeighbors, haversineDistance, interpolateGreatCircle, sampleGreatCircle } from './spatial/index.js';
|
|
11
11
|
export { LocalForageAdapter, LocalForageAdapterOptions, LocalStorageAdapter, MemoryStorageAdapter, ScopedContentContainer, StorageAdapter, createMediaProviderFromContainer, scopeContainer } from './storage/index.js';
|
|
12
12
|
export { C as ContentContainer, a as ContentEntry, M as MemoryContentContainer, f as findDocumentPath } from './ContentContainer-B2w9sUoL.js';
|
package/dist/index.js
CHANGED
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
recordSlideShown,
|
|
28
28
|
traceWordPosAt,
|
|
29
29
|
vadStep
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-V4USYYYO.js";
|
|
31
31
|
import {
|
|
32
32
|
fenceRendererLangs
|
|
33
33
|
} from "./chunk-PGI7HSWE.js";
|
|
@@ -86,7 +86,7 @@ import {
|
|
|
86
86
|
resolveRef,
|
|
87
87
|
setByPointer,
|
|
88
88
|
toPointer
|
|
89
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-GLWQTZ4C.js";
|
|
90
90
|
import {
|
|
91
91
|
IMAGE_EDIT_ASSETS_PREFIX,
|
|
92
92
|
IMAGE_EDIT_DEFAULT_BASENAME,
|
|
@@ -137,7 +137,7 @@ import {
|
|
|
137
137
|
pipStyleVars,
|
|
138
138
|
serializeTheme,
|
|
139
139
|
validateDocSchema
|
|
140
|
-
} from "./chunk-
|
|
140
|
+
} from "./chunk-5SVFLLOD.js";
|
|
141
141
|
import {
|
|
142
142
|
calculateBearing,
|
|
143
143
|
decodeGeohash,
|
|
@@ -171,6 +171,7 @@ import {
|
|
|
171
171
|
MAX_COVER_SLIDE_DURATION_SECONDS,
|
|
172
172
|
PAGE_BASE_CSS,
|
|
173
173
|
applyNarrationTiming,
|
|
174
|
+
arrangeAsciiDiagram,
|
|
174
175
|
buildDashboardCellChrome,
|
|
175
176
|
buildPageCss,
|
|
176
177
|
buildPageCssVars,
|
|
@@ -229,7 +230,7 @@ import {
|
|
|
229
230
|
validateMarkdownSource,
|
|
230
231
|
wordRevealDelay,
|
|
231
232
|
writeDashboardLayoutsToFrontmatter
|
|
232
|
-
} from "./chunk-
|
|
233
|
+
} from "./chunk-2LTALYXX.js";
|
|
233
234
|
import {
|
|
234
235
|
buildNarrationTimingJson,
|
|
235
236
|
parseNarrationTimingJson,
|
|
@@ -261,7 +262,7 @@ import {
|
|
|
261
262
|
serializePresentationPlan,
|
|
262
263
|
transformNarratedSegment,
|
|
263
264
|
usesDynamicPresentation
|
|
264
|
-
} from "./chunk-
|
|
265
|
+
} from "./chunk-DCO5GYVW.js";
|
|
265
266
|
import {
|
|
266
267
|
BASE_INPUT_DESCRIPTORS,
|
|
267
268
|
BLOCK_MEDIA_LAYOUT_POLICIES,
|
|
@@ -381,7 +382,7 @@ import {
|
|
|
381
382
|
wrapWithPersistentLayers,
|
|
382
383
|
writeCustomTemplatesToFrontmatter,
|
|
383
384
|
writeCustomThemesToFrontmatter
|
|
384
|
-
} from "./chunk-
|
|
385
|
+
} from "./chunk-ITLJQG7Z.js";
|
|
385
386
|
import {
|
|
386
387
|
ASCII_CHAR_H,
|
|
387
388
|
ASCII_CHAR_W,
|
|
@@ -435,7 +436,7 @@ import {
|
|
|
435
436
|
treeFromMarkdownList,
|
|
436
437
|
treeFromTemplateData,
|
|
437
438
|
treeToTemplateData
|
|
438
|
-
} from "./chunk-
|
|
439
|
+
} from "./chunk-HGCIIXHP.js";
|
|
439
440
|
import {
|
|
440
441
|
extractContent,
|
|
441
442
|
mapElementToBlock,
|
|
@@ -544,7 +545,7 @@ import {
|
|
|
544
545
|
validateCustomTemplateDefinition,
|
|
545
546
|
validateTheme,
|
|
546
547
|
withAlpha
|
|
547
|
-
} from "./chunk-
|
|
548
|
+
} from "./chunk-WNEH3BZP.js";
|
|
548
549
|
import "./chunk-JSGIWW35.js";
|
|
549
550
|
import "./chunk-L7QZORLB.js";
|
|
550
551
|
import {
|
|
@@ -576,7 +577,7 @@ import {
|
|
|
576
577
|
stringifyMarkdown,
|
|
577
578
|
unwrapMarkdownSource,
|
|
578
579
|
wrapMarkdownSource
|
|
579
|
-
} from "./chunk-
|
|
580
|
+
} from "./chunk-7ZXCS3UU.js";
|
|
580
581
|
import {
|
|
581
582
|
DEFAULT_MARKDOWN_SAFETY_LIMITS,
|
|
582
583
|
MarkdownLimitError,
|
|
@@ -591,7 +592,7 @@ import {
|
|
|
591
592
|
serializePandocAttributes,
|
|
592
593
|
toMdast,
|
|
593
594
|
wikiLinkPath
|
|
594
|
-
} from "./chunk-
|
|
595
|
+
} from "./chunk-3A6YM375.js";
|
|
595
596
|
import {
|
|
596
597
|
CONTAINER_TEMPLATES,
|
|
597
598
|
TABLE_FED_TEMPLATES,
|
|
@@ -646,7 +647,7 @@ import {
|
|
|
646
647
|
videoEmbedFromIframe,
|
|
647
648
|
videoEmbedIframeAttributes,
|
|
648
649
|
walkMarkdownTree
|
|
649
|
-
} from "./chunk-
|
|
650
|
+
} from "./chunk-HE3HQZWU.js";
|
|
650
651
|
import {
|
|
651
652
|
ICONS,
|
|
652
653
|
canonicalIconToken,
|
|
@@ -675,7 +676,7 @@ import {
|
|
|
675
676
|
} from "./chunk-P53Z4RYC.js";
|
|
676
677
|
import {
|
|
677
678
|
buildCaptionTrack
|
|
678
|
-
} from "./chunk-
|
|
679
|
+
} from "./chunk-5HWYSUXS.js";
|
|
679
680
|
import {
|
|
680
681
|
DEFAULT_WORDS_PER_SECOND,
|
|
681
682
|
calculatePrefixDuration,
|
|
@@ -833,6 +834,7 @@ export {
|
|
|
833
834
|
applySavedPresentation,
|
|
834
835
|
applySurface,
|
|
835
836
|
applyTransform,
|
|
837
|
+
arrangeAsciiDiagram,
|
|
836
838
|
arrayItemKind,
|
|
837
839
|
asciiCellToCanvas,
|
|
838
840
|
asciiDiagramFromBlocks,
|
package/dist/jsonForm/index.d.ts
CHANGED
package/dist/jsonForm/index.js
CHANGED
|
@@ -15,10 +15,10 @@ import {
|
|
|
15
15
|
resolveRef,
|
|
16
16
|
setByPointer,
|
|
17
17
|
toPointer
|
|
18
|
-
} from "../chunk-
|
|
19
|
-
import "../chunk-
|
|
18
|
+
} from "../chunk-GLWQTZ4C.js";
|
|
19
|
+
import "../chunk-5SVFLLOD.js";
|
|
20
20
|
import "../chunk-2SRF5III.js";
|
|
21
|
-
import "../chunk-
|
|
21
|
+
import "../chunk-WNEH3BZP.js";
|
|
22
22
|
import "../chunk-JSGIWW35.js";
|
|
23
23
|
import "../chunk-L7QZORLB.js";
|
|
24
24
|
import "../chunk-P53Z4RYC.js";
|