@bendyline/squisq 2.12.4 → 2.12.5
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-DaUT9d7i.d.ts → Doc-CwmJZayl.d.ts} +1 -1
- package/dist/{ImageEditDoc-vFCJ_bT1.d.ts → ImageEditDoc-CtRgL0wh.d.ts} +1 -1
- package/dist/{annotationCoercion-m2qN3r1k.d.ts → annotationCoercion-hTvELpIN.d.ts} +1 -1
- package/dist/{chunk-7GVUWJQN.js → chunk-ILLLGZCE.js} +4 -3
- package/dist/{chunk-XZZFXXXR.js → chunk-PVFDR3XT.js} +147 -3
- package/dist/{chunk-LCMQCRRX.js → chunk-RHLRHRWY.js} +2 -2
- package/dist/{chunk-HFDYPPNJ.js → chunk-UN6S5OID.js} +1 -1
- package/dist/doc/index.d.ts +7 -7
- package/dist/doc/index.js +3 -3
- package/dist/fence/index.d.ts +2 -2
- package/dist/generate/index.d.ts +2 -2
- package/dist/imageEdit/index.d.ts +4 -4
- package/dist/index.d.ts +7 -7
- package/dist/index.js +11 -5
- package/dist/jsonForm/index.d.ts +2 -2
- package/dist/markdown/index.d.ts +38 -4
- package/dist/markdown/index.js +9 -3
- package/dist/{materializePageSection-Kj9ROls1.d.ts → materializePageSection-B5LehyBR.d.ts} +2 -2
- package/dist/mediaEdit/index.d.ts +3 -3
- package/dist/narration/index.d.ts +2 -2
- package/dist/recommend/index.d.ts +1 -1
- package/dist/schemas/index.d.ts +5 -5
- package/dist/{themeLibrary-BRRm1Hna.d.ts → themeLibrary-jYL3QKTn.d.ts} +1 -1
- package/dist/timing/index.d.ts +2 -2
- package/dist/transform/index.d.ts +3 -3
- package/dist/transform/index.js +2 -2
- package/dist/{types--c_Uqmlh.d.ts → types-Zk8qYuaT.d.ts} +4 -0
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as BuildSpec, h as BuildTiming, ac as Transition, ae as TransitionType, g as BuildStep, M as MarkdownBlockNode, z as MarkdownHeading, d as BuildAdvance } from './types
|
|
1
|
+
import { f as BuildSpec, h as BuildTiming, ac as Transition, ae as TransitionType, g as BuildStep, M as MarkdownBlockNode, z as MarkdownHeading, d as BuildAdvance } from './types-Zk8qYuaT.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Media-edit recipes — the non-destructive edit list a media reference carries.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a2 as ImageLayer, bv as TextLayer, bh as ShapeLayer, aX as PathLayer } from './Doc-
|
|
1
|
+
import { a2 as ImageLayer, bv as TextLayer, bh as ShapeLayer, aX as PathLayer } from './Doc-CwmJZayl.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* ImageEditDoc — JSON document describing a layered, editable image.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as BuildSpec, aq as BlockConnection, ae as TransitionType, ad as TransitionDirection } from './types
|
|
1
|
+
import { f as BuildSpec, aq as BlockConnection, ae as TransitionType, ad as TransitionDirection } from './types-Zk8qYuaT.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Registry of known block-meta keys and their coercion strategies.
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
assertMarkdownDocumentWithinLimits,
|
|
3
3
|
parseMarkdown,
|
|
4
|
+
remarkWikiLinks,
|
|
4
5
|
toMdast
|
|
5
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-PVFDR3XT.js";
|
|
6
7
|
import {
|
|
7
8
|
formatFrontmatterYaml,
|
|
8
9
|
getChildren,
|
|
@@ -171,7 +172,7 @@ function stringifyMarkdown(doc, options) {
|
|
|
171
172
|
let processor;
|
|
172
173
|
if (useDefaults) {
|
|
173
174
|
if (!defaultProcessor) {
|
|
174
|
-
defaultProcessor = unified().use(remarkGfm).use(remarkMath).use(remarkDirective).use(remarkStringify, {
|
|
175
|
+
defaultProcessor = unified().use(remarkWikiLinks).use(remarkGfm).use(remarkMath).use(remarkDirective).use(remarkStringify, {
|
|
175
176
|
bullet: "-",
|
|
176
177
|
bulletOrdered: ".",
|
|
177
178
|
emphasis: "*",
|
|
@@ -184,7 +185,7 @@ function stringifyMarkdown(doc, options) {
|
|
|
184
185
|
}
|
|
185
186
|
processor = defaultProcessor;
|
|
186
187
|
} else {
|
|
187
|
-
processor = unified();
|
|
188
|
+
processor = unified().use(remarkWikiLinks);
|
|
188
189
|
if (options?.gfm !== false) {
|
|
189
190
|
processor = processor.use(remarkGfm);
|
|
190
191
|
}
|
|
@@ -9,12 +9,64 @@ import {
|
|
|
9
9
|
import {
|
|
10
10
|
coerceAnnotationValues,
|
|
11
11
|
parseFrontmatter,
|
|
12
|
-
parseHtmlToNodes
|
|
12
|
+
parseHtmlToNodes,
|
|
13
|
+
sanitizeUrl
|
|
13
14
|
} from "./chunk-MWSGNEH6.js";
|
|
14
15
|
import {
|
|
15
16
|
resolveIcon
|
|
16
17
|
} from "./chunk-CZ7AUSLI.js";
|
|
17
18
|
|
|
19
|
+
// src/markdown/wikiLinks.ts
|
|
20
|
+
function wikiLinkPath(target, extension = ".md") {
|
|
21
|
+
if (!target || target.length > 2048 || target !== target.trim()) return null;
|
|
22
|
+
if (/[\\%:#?<>"|*[\]]/u.test(target)) return null;
|
|
23
|
+
if ([...target].some((ch) => ch.charCodeAt(0) < 32 || ch.charCodeAt(0) === 127)) return null;
|
|
24
|
+
const parts = target.split("/");
|
|
25
|
+
if (parts.some(
|
|
26
|
+
(part) => !part || part === "." || part === ".." || part !== part.trim() || /[. ]$/.test(part) || part.length > 250 || /^(con|prn|aux|nul|com[1-9]|lpt[1-9])(?:\.|$)/i.test(part)
|
|
27
|
+
))
|
|
28
|
+
return null;
|
|
29
|
+
return /\.(?:md|html?)$/i.test(target) ? target : `${target}${extension}`;
|
|
30
|
+
}
|
|
31
|
+
function parseWikiLink(value) {
|
|
32
|
+
const separator = value.indexOf("|");
|
|
33
|
+
const target = separator < 0 ? value : value.slice(0, separator);
|
|
34
|
+
if (!wikiLinkPath(target)) return null;
|
|
35
|
+
if (separator < 0) return { target };
|
|
36
|
+
const label = value.slice(separator + 1);
|
|
37
|
+
if (!label.trim() || label.length > 2048 || /[[\]|]/u.test(label) || [...label].some((ch) => ch.charCodeAt(0) < 32 || ch.charCodeAt(0) === 127))
|
|
38
|
+
return null;
|
|
39
|
+
return { target, label };
|
|
40
|
+
}
|
|
41
|
+
async function resolveWikiLinks(document, exists) {
|
|
42
|
+
const targets = /* @__PURE__ */ new Map();
|
|
43
|
+
function collect(node) {
|
|
44
|
+
if (node.type === "link" && node.wikiTarget !== void 0) {
|
|
45
|
+
const path = wikiLinkPath(node.wikiTarget);
|
|
46
|
+
if (path && targets.size < 256) targets.set(node.wikiTarget, path);
|
|
47
|
+
}
|
|
48
|
+
if ("children" in node) node.children.forEach(collect);
|
|
49
|
+
}
|
|
50
|
+
collect(document);
|
|
51
|
+
if (!targets.size) return document;
|
|
52
|
+
const urls = /* @__PURE__ */ new Map();
|
|
53
|
+
for (const [target, path] of targets) {
|
|
54
|
+
const result = await exists(target);
|
|
55
|
+
const url = typeof result === "string" ? sanitizeUrl(result, "link") : result ? path.split("/").map(encodeURIComponent).join("/") : null;
|
|
56
|
+
if (url) urls.set(target, url);
|
|
57
|
+
}
|
|
58
|
+
function project(node) {
|
|
59
|
+
if (node.type === "link" && node.wikiTarget !== void 0) {
|
|
60
|
+
const url = urls.get(node.wikiTarget) ?? "";
|
|
61
|
+
return node.url === url ? node : { ...node, url };
|
|
62
|
+
}
|
|
63
|
+
if (!("children" in node)) return node;
|
|
64
|
+
const children = node.children.map(project);
|
|
65
|
+
return children.every((child, index) => child === node.children[index]) ? node : { ...node, children };
|
|
66
|
+
}
|
|
67
|
+
return project(document);
|
|
68
|
+
}
|
|
69
|
+
|
|
18
70
|
// src/markdown/convert.ts
|
|
19
71
|
function convertPosition(pos) {
|
|
20
72
|
if (!pos) return void 0;
|
|
@@ -736,6 +788,18 @@ function convertInlineNode(node, parseHtml) {
|
|
|
736
788
|
value: node.value ?? "",
|
|
737
789
|
...posField(pos)
|
|
738
790
|
};
|
|
791
|
+
case "wikiLink": {
|
|
792
|
+
const wiki = parseWikiLink(node.value ?? "");
|
|
793
|
+
if (!wiki) return { type: "text", value: node.value ?? "", ...posField(pos) };
|
|
794
|
+
return {
|
|
795
|
+
type: "link",
|
|
796
|
+
wikiTarget: wiki.target,
|
|
797
|
+
...wiki.label !== void 0 ? { wikiLabel: wiki.label } : {},
|
|
798
|
+
url: "",
|
|
799
|
+
children: [{ type: "text", value: wiki.label ?? wiki.target }],
|
|
800
|
+
...posField(pos)
|
|
801
|
+
};
|
|
802
|
+
}
|
|
739
803
|
case "link":
|
|
740
804
|
return {
|
|
741
805
|
type: "link",
|
|
@@ -1032,6 +1096,12 @@ function inlineToMdast(node) {
|
|
|
1032
1096
|
...mdastPosField(node.position)
|
|
1033
1097
|
};
|
|
1034
1098
|
case "link":
|
|
1099
|
+
if (node.wikiTarget !== void 0)
|
|
1100
|
+
return {
|
|
1101
|
+
type: "wikiLink",
|
|
1102
|
+
value: node.wikiTarget + (node.wikiLabel !== void 0 ? `|${node.wikiLabel}` : ""),
|
|
1103
|
+
...mdastPosField(node.position)
|
|
1104
|
+
};
|
|
1035
1105
|
return {
|
|
1036
1106
|
type: "link",
|
|
1037
1107
|
url: node.url,
|
|
@@ -1254,6 +1324,76 @@ function utf8ByteLength(value, stopAfter) {
|
|
|
1254
1324
|
|
|
1255
1325
|
// src/markdown/parse.ts
|
|
1256
1326
|
import { unified } from "unified";
|
|
1327
|
+
|
|
1328
|
+
// src/markdown/remarkWikiLinks.ts
|
|
1329
|
+
function remarkWikiLinks() {
|
|
1330
|
+
const data = this.data();
|
|
1331
|
+
(data.micromarkExtensions ?? (data.micromarkExtensions = [])).push({
|
|
1332
|
+
text: {
|
|
1333
|
+
91: {
|
|
1334
|
+
name: "wikiLink",
|
|
1335
|
+
tokenize(effects, ok, nok) {
|
|
1336
|
+
let target = "";
|
|
1337
|
+
return start;
|
|
1338
|
+
function start(code) {
|
|
1339
|
+
effects.enter("wikiLink");
|
|
1340
|
+
effects.consume(code);
|
|
1341
|
+
return second;
|
|
1342
|
+
}
|
|
1343
|
+
function second(code) {
|
|
1344
|
+
if (code !== 91) return nok(code);
|
|
1345
|
+
effects.consume(code);
|
|
1346
|
+
return inside;
|
|
1347
|
+
}
|
|
1348
|
+
function inside(code) {
|
|
1349
|
+
if (code === 93) {
|
|
1350
|
+
effects.consume(code);
|
|
1351
|
+
return close;
|
|
1352
|
+
}
|
|
1353
|
+
if (code === null || code < 0 || code === 91 || target.length >= 4097) return nok(code);
|
|
1354
|
+
target += String.fromCodePoint(code);
|
|
1355
|
+
effects.consume(code);
|
|
1356
|
+
return inside;
|
|
1357
|
+
}
|
|
1358
|
+
function close(code) {
|
|
1359
|
+
if (code !== 93 || !parseWikiLink(target.replace(/\\\|/g, "|"))) return nok(code);
|
|
1360
|
+
effects.consume(code);
|
|
1361
|
+
effects.exit("wikiLink");
|
|
1362
|
+
return ok;
|
|
1363
|
+
}
|
|
1364
|
+
}
|
|
1365
|
+
}
|
|
1366
|
+
}
|
|
1367
|
+
});
|
|
1368
|
+
(data.fromMarkdownExtensions ?? (data.fromMarkdownExtensions = [])).push({
|
|
1369
|
+
enter: {
|
|
1370
|
+
wikiLink(token) {
|
|
1371
|
+
this.enter(
|
|
1372
|
+
{
|
|
1373
|
+
type: "wikiLink",
|
|
1374
|
+
value: this.sliceSerialize(token).slice(2, -2).replace(/\\\|/g, "|")
|
|
1375
|
+
},
|
|
1376
|
+
token
|
|
1377
|
+
);
|
|
1378
|
+
}
|
|
1379
|
+
},
|
|
1380
|
+
exit: {
|
|
1381
|
+
wikiLink(token) {
|
|
1382
|
+
this.exit(token);
|
|
1383
|
+
}
|
|
1384
|
+
}
|
|
1385
|
+
});
|
|
1386
|
+
(data.toMarkdownExtensions ?? (data.toMarkdownExtensions = [])).push({
|
|
1387
|
+
handlers: {
|
|
1388
|
+
wikiLink(node, _parent, state) {
|
|
1389
|
+
const value = state.stack.includes("tableCell") ? node.value.replace(/\|/g, "\\|") : node.value;
|
|
1390
|
+
return `[[${value}]]`;
|
|
1391
|
+
}
|
|
1392
|
+
}
|
|
1393
|
+
});
|
|
1394
|
+
}
|
|
1395
|
+
|
|
1396
|
+
// src/markdown/parse.ts
|
|
1257
1397
|
import remarkParse from "remark-parse";
|
|
1258
1398
|
import remarkGfm from "remark-gfm";
|
|
1259
1399
|
import remarkMath from "remark-math";
|
|
@@ -1356,11 +1496,11 @@ function parseMarkdown(markdown, options) {
|
|
|
1356
1496
|
let processor;
|
|
1357
1497
|
if (useDefaults) {
|
|
1358
1498
|
if (!defaultProcessor) {
|
|
1359
|
-
defaultProcessor = unified().use(remarkParse).use(remarkGfm).use(remarkMath).use(remarkDollarMathRules).use(remarkDirective).use(remarkFrontmatter, ["yaml"]);
|
|
1499
|
+
defaultProcessor = unified().use(remarkWikiLinks).use(remarkParse).use(remarkGfm).use(remarkMath).use(remarkDollarMathRules).use(remarkDirective).use(remarkFrontmatter, ["yaml"]);
|
|
1360
1500
|
}
|
|
1361
1501
|
processor = defaultProcessor;
|
|
1362
1502
|
} else {
|
|
1363
|
-
processor = unified().use(remarkParse);
|
|
1503
|
+
processor = unified().use(remarkWikiLinks).use(remarkParse);
|
|
1364
1504
|
if (options?.gfm !== false) {
|
|
1365
1505
|
processor = processor.use(remarkGfm);
|
|
1366
1506
|
}
|
|
@@ -1392,6 +1532,10 @@ function parseMarkdown(markdown, options) {
|
|
|
1392
1532
|
}
|
|
1393
1533
|
|
|
1394
1534
|
export {
|
|
1535
|
+
wikiLinkPath,
|
|
1536
|
+
parseWikiLink,
|
|
1537
|
+
resolveWikiLinks,
|
|
1538
|
+
remarkWikiLinks,
|
|
1395
1539
|
parsePandocAttrTokens,
|
|
1396
1540
|
serializePandocAttributes,
|
|
1397
1541
|
fromMdast,
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-FTN6SGW5.js";
|
|
4
4
|
import {
|
|
5
5
|
applySavedPresentation
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-UN6S5OID.js";
|
|
7
7
|
import {
|
|
8
8
|
SHAPE_NAMES,
|
|
9
9
|
buildChartData,
|
|
@@ -86,7 +86,7 @@ import {
|
|
|
86
86
|
} from "./chunk-L7QZORLB.js";
|
|
87
87
|
import {
|
|
88
88
|
parseMarkdown
|
|
89
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-PVFDR3XT.js";
|
|
90
90
|
import {
|
|
91
91
|
TABLE_FED_TEMPLATES,
|
|
92
92
|
TEMPLATE_ALIASES,
|
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, bx as Theme, c1 as ViewportConfig, a_ as PersistentLayerConfig, at as MotionSpec, R as DocBlock, c2 as ViewportOrientation, aZ as PersistentLayer, bK as TitleBlockInput, bf as SectionHeaderInput, j as BigTextInput, u as ContentBlockInput, bl as StatHighlightInput, b9 as QuoteBlockInput, Y as FactCardInput, bS 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, c0 as VideoWithCaptionInput, b$ as VideoPullQuoteInput, I as DataTableInput, M as DiagramBlockInput, bN as TreeBlockInput, bG 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, bz as ThemeColorScheme, w as CountUpSpec, bB as ThemeRegistry, aR as PageEmphasis, bA as ThemePageStyle, S as DocDiagnostic, P as DiagramTemplateNode, O as DiagramTemplateEdge, bJ as TimelineTemplateTrack, bI as TimelineTemplateLink } from '../Doc-
|
|
2
|
-
export { V as FRONTMATTER_CUSTOM_TEMPLATES_KEY, W as FRONTMATTER_CUSTOM_THEMES_KEY, a8 as LayoutHints, bb as RenderStyle, by as ThemeColorPalette, bE as ThemeStyle, bF as ThemeTypography, bT as VIEWPORT_PRESETS, c3 as ViewportPreset, c8 as createTemplateContext, cf as getLayoutHints, ci as getTwoColumnPositions, cj as getViewport, ck as getViewportOrientation, co as isTemplateBlock, cu as scaledFontSize } from '../Doc-
|
|
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
|
|
4
|
-
import { C as CoercedBlockMeta } from '../annotationCoercion-
|
|
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-
|
|
1
|
+
import { a6 as Layer, k as Block, Q as Doc, br as TemplateBlock, bs as TemplateContext, y as CustomTemplateDefinition, bu as TemplateRegistry, bx as Theme, c1 as ViewportConfig, a_ as PersistentLayerConfig, at as MotionSpec, R as DocBlock, c2 as ViewportOrientation, aZ as PersistentLayer, bK as TitleBlockInput, bf as SectionHeaderInput, j as BigTextInput, u as ContentBlockInput, bl as StatHighlightInput, b9 as QuoteBlockInput, Y as FactCardInput, bS 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, c0 as VideoWithCaptionInput, b$ as VideoPullQuoteInput, I as DataTableInput, M as DiagramBlockInput, bN as TreeBlockInput, bG 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, bz as ThemeColorScheme, w as CountUpSpec, bB as ThemeRegistry, aR as PageEmphasis, bA as ThemePageStyle, S as DocDiagnostic, P as DiagramTemplateNode, O as DiagramTemplateEdge, bJ as TimelineTemplateTrack, bI as TimelineTemplateLink } from '../Doc-CwmJZayl.js';
|
|
2
|
+
export { V as FRONTMATTER_CUSTOM_TEMPLATES_KEY, W as FRONTMATTER_CUSTOM_THEMES_KEY, a8 as LayoutHints, bb as RenderStyle, by as ThemeColorPalette, bE as ThemeStyle, bF as ThemeTypography, bT as VIEWPORT_PRESETS, c3 as ViewportPreset, c8 as createTemplateContext, cf as getLayoutHints, ci as getTwoColumnPositions, cj as getViewport, ck as getViewportOrientation, co as isTemplateBlock, cu as scaledFontSize } from '../Doc-CwmJZayl.js';
|
|
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
|
+
import { C as CoercedBlockMeta } from '../annotationCoercion-hTvELpIN.js';
|
|
5
|
+
import { c as PageSection } from '../materializePageSection-B5LehyBR.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-B5LehyBR.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-jYL3QKTn.js';
|
|
10
10
|
|
|
11
11
|
/** Pure build planning and evaluation, shared by interactive slides and frame export. */
|
|
12
12
|
|
package/dist/doc/index.js
CHANGED
|
@@ -74,9 +74,9 @@ import {
|
|
|
74
74
|
validateMarkdownSource,
|
|
75
75
|
wordRevealDelay,
|
|
76
76
|
writeDashboardLayoutsToFrontmatter
|
|
77
|
-
} from "../chunk-
|
|
77
|
+
} from "../chunk-RHLRHRWY.js";
|
|
78
78
|
import "../chunk-FTN6SGW5.js";
|
|
79
|
-
import "../chunk-
|
|
79
|
+
import "../chunk-UN6S5OID.js";
|
|
80
80
|
import {
|
|
81
81
|
BASE_INPUT_DESCRIPTORS,
|
|
82
82
|
BLOCK_MEDIA_LAYOUT_POLICIES,
|
|
@@ -277,7 +277,7 @@ import {
|
|
|
277
277
|
} from "../chunk-HYJ63N6V.js";
|
|
278
278
|
import "../chunk-JSGIWW35.js";
|
|
279
279
|
import "../chunk-L7QZORLB.js";
|
|
280
|
-
import "../chunk-
|
|
280
|
+
import "../chunk-PVFDR3XT.js";
|
|
281
281
|
import {
|
|
282
282
|
CONTAINER_TEMPLATES,
|
|
283
283
|
TABLE_FED_TEMPLATES,
|
package/dist/fence/index.d.ts
CHANGED
package/dist/generate/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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-
|
|
4
|
-
import '../types
|
|
3
|
+
import { r as ColorScheme, A as AccentImage, br as TemplateBlock } from '../Doc-CwmJZayl.js';
|
|
4
|
+
import '../types-Zk8qYuaT.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Template Mapper
|
|
@@ -1,9 +1,9 @@
|
|
|
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-CtRgL0wh.js';
|
|
2
|
+
export { E as EditorLayerMeta, I as ImageEditCanvas, c as ImageEditLayerKind, d as ImageEditMeta } from '../ImageEditDoc-CtRgL0wh.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-
|
|
6
|
-
import '../types
|
|
5
|
+
import '../Doc-CwmJZayl.js';
|
|
6
|
+
import '../types-Zk8qYuaT.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Pure helpers for constructing and mutating {@link ImageEditDoc} values.
|
package/dist/index.d.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
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
|
|
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 TextLayer, bw as TextStyle, bx as Theme, by as ThemeColorPalette, bz as ThemeColorScheme, bA as ThemePageStyle, bB as ThemeRegistry, bC as ThemeSchemaVersion, bD as ThemeSeedColors, bE as ThemeStyle, bF as ThemeTypography, bG as TimelineBlockInput, bH as TimelineTemplateEvent, bI as TimelineTemplateLink, bJ as TimelineTemplateTrack, bK as TitleBlockInput, bL as TitleCaptionConfig, bM as TranscriptBlockInput, bN as TreeBlockInput, bO as TreeLayer, bP as TreeLayerItem, bQ as TreeLayerStyle, bR as TreeTemplateItem, bS as TwoColumnInput, bT as VIEWPORT_PRESETS, bU as VideoEmbedLayer, bV as VideoLayer, bW as VideoPipPosition, bX as VideoPipShape, bY as VideoPipSize, bZ as VideoPlacement, b_ as VideoPresentation, b$ as VideoPullQuoteInput, c0 as VideoWithCaptionInput, c1 as ViewportConfig, c2 as ViewportOrientation, c3 as ViewportPreset, c4 as VignetteConfig, c5 as applySurface, c6 as calculateDuration, c7 as calculateFontScale, c8 as createTemplateContext, c9 as createTheme, ca as createThemeRegistry, cb as getAspectRatioString, cc as getBlockAtTime, cd as getCaptionAtTime, ce as getDocPlaybackDuration, cf as getLayoutHints, cg as getSafeTextBounds, ch as getSegmentAtTime, ci as getTwoColumnPositions, cj as getViewport, ck as getViewportOrientation, cl as isCustomTemplateDefinition, cm as isMotionProfileName, cn as isPersistentLayerTemplate, co as isTemplateBlock, cp as layoutScaledFontSize, cq as readFrontmatterMotion, cr as resolveMediaSchedule, cs as resolveMotionForDoc, ct as resolveMotionProfile, cu as scaledFontSize, cv as scheduleMediaClip, cw as validateCustomTemplateDefinition } from './Doc-
|
|
3
|
+
export { A as AccentImage, a as AccentPosition, b as AmbientGradientConfig, c as Animation, d as AnimationType, e as AreaChartInput, f as AudioBookmark, g as AudioSegment, h as AudioTimingData, i as AudioTrack, B as BarChartInput, j as BigTextInput, k as Block, l as BlockConnection, m as BorderStyle, 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 TextLayer, bw as TextStyle, bx as Theme, by as ThemeColorPalette, bz as ThemeColorScheme, bA as ThemePageStyle, bB as ThemeRegistry, bC as ThemeSchemaVersion, bD as ThemeSeedColors, bE as ThemeStyle, bF as ThemeTypography, bG as TimelineBlockInput, bH as TimelineTemplateEvent, bI as TimelineTemplateLink, bJ as TimelineTemplateTrack, bK as TitleBlockInput, bL as TitleCaptionConfig, bM as TranscriptBlockInput, bN as TreeBlockInput, bO as TreeLayer, bP as TreeLayerItem, bQ as TreeLayerStyle, bR as TreeTemplateItem, bS as TwoColumnInput, bT as VIEWPORT_PRESETS, bU as VideoEmbedLayer, bV as VideoLayer, bW as VideoPipPosition, bX as VideoPipShape, bY as VideoPipSize, bZ as VideoPlacement, b_ as VideoPresentation, b$ as VideoPullQuoteInput, c0 as VideoWithCaptionInput, c1 as ViewportConfig, c2 as ViewportOrientation, c3 as ViewportPreset, c4 as VignetteConfig, c5 as applySurface, c6 as calculateDuration, c7 as calculateFontScale, c8 as createTemplateContext, c9 as createTheme, ca as createThemeRegistry, cb as getAspectRatioString, cc as getBlockAtTime, cd as getCaptionAtTime, ce as getDocPlaybackDuration, cf as getLayoutHints, cg as getSafeTextBounds, ch as getSegmentAtTime, ci as getTwoColumnPositions, cj as getViewport, ck as getViewportOrientation, cl as isCustomTemplateDefinition, cm as isMotionProfileName, cn as isPersistentLayerTemplate, co as isTemplateBlock, cp as layoutScaledFontSize, cq as readFrontmatterMotion, cr as resolveMediaSchedule, cs as resolveMotionForDoc, ct as resolveMotionProfile, cu as scaledFontSize, cv as scheduleMediaClip, cw as validateCustomTemplateDefinition } from './Doc-CwmJZayl.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-jYL3QKTn.js';
|
|
6
6
|
export { M as MediaEntry, a as MediaProvider } from './MediaProvider-wpSe21B3.js';
|
|
7
|
-
export { E as EditorLayerMeta, I as ImageEditCanvas, a as ImageEditDoc, b as ImageEditLayer, c as ImageEditLayerKind, d as ImageEditMeta } from './ImageEditDoc-
|
|
7
|
+
export { E as EditorLayerMeta, I as ImageEditCanvas, a as ImageEditDoc, b as ImageEditLayer, c as ImageEditLayerKind, d as ImageEditMeta } from './ImageEditDoc-CtRgL0wh.js';
|
|
8
8
|
export { ASCII_CHAR_H, ASCII_CHAR_W, ASCII_DIAGRAM_FENCE_LANGS, ASCII_TIMELINE_FENCE_LANGS, AccentLayout, AsciiDiagram, AsciiDiagramDetection, AsciiDiagramEdge, AsciiDiagramNode, AsciiTimeline, AsciiTimelineDetection, AsciiTimelineEvent, AsciiTimelineLink, AsciiTimelineMarker, AsciiTimelineSide, AsciiTimelineStats, AsciiTimelineStyle, AsciiTimelineTrack, AudioSegmentTiming, BASE_INPUT_DESCRIPTORS, BLOCK_MEDIA_LAYOUT_POLICIES, BUILTIN_DASHBOARD_LAYOUTS, BlockLayerMaterialization, BlockMediaLayoutPolicy, BuildPreviewDocOptions, 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-
|
|
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-B5LehyBR.js';
|
|
10
10
|
export { calculateBearing, decodeGeohash, destinationPoint, encodeGeohash, geohashOverlapsBounds, geohashToHierarchicalPath, getGeohash4Neighbors, getGeohashPath, getGeohashPrefix, getNeighbors, haversineDistance, interpolateGreatCircle, sampleGreatCircle } from './spatial/index.js';
|
|
11
11
|
export { LocalForageAdapter, LocalForageAdapterOptions, LocalStorageAdapter, MemoryStorageAdapter, ScopedContentContainer, StorageAdapter, createMediaProviderFromContainer, scopeContainer } from './storage/index.js';
|
|
12
12
|
export { C as ContentContainer, a as ContentEntry, M as MemoryContentContainer, f as findDocumentPath } from './ContentContainer-B2w9sUoL.js';
|
|
13
|
-
export { BlockVideoEmbed, DEFAULT_INTERACTIVE_RESOURCE_POLICY, DEFAULT_RESOURCE_MAX_BYTES, DEFAULT_RESOURCE_TIMEOUT_MS, DEFAULT_WRAP_WIDTH, DocfxMarkdownOptions, FetchResourceBytesOptions, FetchedResource, HtmlPolicy, LOCAL_ONLY_RESOURCE_POLICY, MARKDOWN_SOURCE_TRANSFORMS, MarkdownReferenceOptions, MarkdownSourceEdit, MarkdownSourceTransform, MarkdownSourceTransformId, MarkdownSourceTransformOptions, MarkdownSourceTransformResult, MarkdownWrapState, MediaReferenceKind, ParseSvgIslandOptions, ResourcePolicy, ResourcePolicyError, SVG_ISLAND_LIMITS, SanitizeUrlOptions, SvgIsland, SvgIslandDiagnostic, SvgIslandFailureReason, SvgIslandMarkupOptions, SvgIslandResult, TrailingAnnotationMatch, UrlKind, VIDEO_EMBED_IFRAME_ALLOW, VIDEO_EMBED_PROVIDERS, VideoEmbed, VideoEmbedProviderId, VideoEmbedProviderInfo, applyMarkdownSourceTransform, cleanupMarkdownSource, condenseMarkdownSource, countNodes, createDocument, detectMarkdownWrapState, extractPlainText, fetchResourceBytes, findBlockVideoEmbed, findNodesByType, formatBlockScalar, formatFrontmatterValue, formatFrontmatterYaml, fromMdast, getChildren, inferDocumentTitle, isResourceUrlAllowed, isSvgImageSource, isSvgIslandFence, isSvgIslandLang, isVideoEmbedUrl, matchTrailingPandocAttr, matchTrailingTemplateAnnotation, mediaKindForUrl, needsQuoting, normalizeDocfxMarkdown, parseFrontmatter, parseHtmlToNodes, parseMarkdown, parsePandocAttrTokens, parseSvgIsland, parseVideoEmbedInput, parseVideoEmbedUrl, parseVideoStartTime, plainTextFromInlineHtml, quoteAttrValue, readFrontmatterThemeId, rewriteMarkdownReferences, sanitizeHtmlNodes, sanitizeUrl, serializePandocAttributes, setFrontmatterValues, splitFrontmatterBlock, splitKeyValueToken, stringifyHtmlNodes, stringifyMarkdown, svgIslandDataUrl, svgIslandMarkup, svgSourceFromBytes, svgSourceFromDataUrl, toMdast, tokenizeAttrTokens, unquoteAttrValue, unwrapMarkdownSource, videoEmbedFromIframe, videoEmbedIframeAttributes, walkMarkdownTree, wrapMarkdownSource } from './markdown/index.js';
|
|
14
|
-
export { B as BLOCK_META_KEY_DESCRIPTORS, a as BlockMetaKeyDescriptor, K as KNOWN_BLOCK_META_KEYS, b as KnownBlockMetaKey, p as parseTimeSeconds } from './annotationCoercion-
|
|
13
|
+
export { BlockVideoEmbed, DEFAULT_INTERACTIVE_RESOURCE_POLICY, DEFAULT_RESOURCE_MAX_BYTES, DEFAULT_RESOURCE_TIMEOUT_MS, DEFAULT_WRAP_WIDTH, DocfxMarkdownOptions, FetchResourceBytesOptions, FetchedResource, HtmlPolicy, LOCAL_ONLY_RESOURCE_POLICY, MARKDOWN_SOURCE_TRANSFORMS, MarkdownReferenceOptions, MarkdownSourceEdit, MarkdownSourceTransform, MarkdownSourceTransformId, MarkdownSourceTransformOptions, MarkdownSourceTransformResult, MarkdownWrapState, MediaReferenceKind, ParseSvgIslandOptions, ResourcePolicy, ResourcePolicyError, SVG_ISLAND_LIMITS, SanitizeUrlOptions, SvgIsland, SvgIslandDiagnostic, SvgIslandFailureReason, SvgIslandMarkupOptions, SvgIslandResult, TrailingAnnotationMatch, UrlKind, VIDEO_EMBED_IFRAME_ALLOW, VIDEO_EMBED_PROVIDERS, VideoEmbed, VideoEmbedProviderId, VideoEmbedProviderInfo, WikiLinkSuggestion, WikiLinkSupport, applyMarkdownSourceTransform, cleanupMarkdownSource, condenseMarkdownSource, countNodes, createDocument, detectMarkdownWrapState, extractPlainText, fetchResourceBytes, findBlockVideoEmbed, findNodesByType, formatBlockScalar, formatFrontmatterValue, formatFrontmatterYaml, fromMdast, getChildren, inferDocumentTitle, isResourceUrlAllowed, isSvgImageSource, isSvgIslandFence, isSvgIslandLang, isVideoEmbedUrl, matchTrailingPandocAttr, matchTrailingTemplateAnnotation, mediaKindForUrl, needsQuoting, normalizeDocfxMarkdown, parseFrontmatter, parseHtmlToNodes, parseMarkdown, parsePandocAttrTokens, parseSvgIsland, parseVideoEmbedInput, parseVideoEmbedUrl, parseVideoStartTime, parseWikiLink, plainTextFromInlineHtml, quoteAttrValue, readFrontmatterThemeId, resolveWikiLinks, rewriteMarkdownReferences, sanitizeHtmlNodes, sanitizeUrl, serializePandocAttributes, setFrontmatterValues, splitFrontmatterBlock, splitKeyValueToken, stringifyHtmlNodes, stringifyMarkdown, svgIslandDataUrl, svgIslandMarkup, svgSourceFromBytes, svgSourceFromDataUrl, toMdast, tokenizeAttrTokens, unquoteAttrValue, unwrapMarkdownSource, videoEmbedFromIframe, videoEmbedIframeAttributes, walkMarkdownTree, wikiLinkPath, wrapMarkdownSource } from './markdown/index.js';
|
|
14
|
+
export { B as BLOCK_META_KEY_DESCRIPTORS, a as BlockMetaKeyDescriptor, K as KNOWN_BLOCK_META_KEYS, b as KnownBlockMetaKey, p as parseTimeSeconds } from './annotationCoercion-hTvELpIN.js';
|
|
15
15
|
export { BuildCaptionTrackOptions, CaptionSegmentSource, DEFAULT_WORDS_PER_SECOND, NarrationTimeEstimate, NarrationTimeOptions, ReadingTimeEstimate, ReadingTimeOptions, buildCaptionTrack, calculatePrefixDuration, countSpokenWords, estimateNarrationDuration, estimateNarrationTime, estimateReadingTime, estimateSpokenWordCount, estimateTimeFromText } from './timing/index.js';
|
|
16
16
|
export { SeededRandom, hashString } from './random/index.js';
|
|
17
17
|
export { C as ComparisonData, D as DateData, a as DefinitionData, E as ExtractedElement, b as ExtractionOptions, c as ExtractionResult, d as ExtractionType, F as FactData, I as ImpactLineData, L as ListData, Q as QuoteData, S as StatData, e as extractContent, s as stripMarkdown } from './contentExtractor-BNfVJV2U.js';
|
package/dist/index.js
CHANGED
|
@@ -229,7 +229,7 @@ import {
|
|
|
229
229
|
validateMarkdownSource,
|
|
230
230
|
wordRevealDelay,
|
|
231
231
|
writeDashboardLayoutsToFrontmatter
|
|
232
|
-
} from "./chunk-
|
|
232
|
+
} from "./chunk-RHLRHRWY.js";
|
|
233
233
|
import {
|
|
234
234
|
buildNarrationTimingJson,
|
|
235
235
|
parseNarrationTimingJson,
|
|
@@ -261,7 +261,7 @@ import {
|
|
|
261
261
|
serializePresentationPlan,
|
|
262
262
|
transformNarratedSegment,
|
|
263
263
|
usesDynamicPresentation
|
|
264
|
-
} from "./chunk-
|
|
264
|
+
} from "./chunk-UN6S5OID.js";
|
|
265
265
|
import {
|
|
266
266
|
BASE_INPUT_DESCRIPTORS,
|
|
267
267
|
BLOCK_MEDIA_LAYOUT_POLICIES,
|
|
@@ -576,7 +576,7 @@ import {
|
|
|
576
576
|
stringifyMarkdown,
|
|
577
577
|
unwrapMarkdownSource,
|
|
578
578
|
wrapMarkdownSource
|
|
579
|
-
} from "./chunk-
|
|
579
|
+
} from "./chunk-ILLLGZCE.js";
|
|
580
580
|
import {
|
|
581
581
|
DEFAULT_MARKDOWN_SAFETY_LIMITS,
|
|
582
582
|
MarkdownLimitError,
|
|
@@ -585,10 +585,13 @@ import {
|
|
|
585
585
|
fromMdast,
|
|
586
586
|
parseMarkdown,
|
|
587
587
|
parsePandocAttrTokens,
|
|
588
|
+
parseWikiLink,
|
|
588
589
|
resolveMarkdownSafetyLimits,
|
|
590
|
+
resolveWikiLinks,
|
|
589
591
|
serializePandocAttributes,
|
|
590
|
-
toMdast
|
|
591
|
-
|
|
592
|
+
toMdast,
|
|
593
|
+
wikiLinkPath
|
|
594
|
+
} from "./chunk-PVFDR3XT.js";
|
|
592
595
|
import {
|
|
593
596
|
CONTAINER_TEMPLATES,
|
|
594
597
|
TABLE_FED_TEMPLATES,
|
|
@@ -1149,6 +1152,7 @@ export {
|
|
|
1149
1152
|
parseVideoEmbedInput,
|
|
1150
1153
|
parseVideoEmbedUrl,
|
|
1151
1154
|
parseVideoStartTime,
|
|
1155
|
+
parseWikiLink,
|
|
1152
1156
|
parseWrappedFlowTimeline,
|
|
1153
1157
|
parseYamlSubset,
|
|
1154
1158
|
photoGrid,
|
|
@@ -1221,6 +1225,7 @@ export {
|
|
|
1221
1225
|
resolveThemeForDoc,
|
|
1222
1226
|
resolveTransformStyle,
|
|
1223
1227
|
resolveTransitionDuration,
|
|
1228
|
+
resolveWikiLinks,
|
|
1224
1229
|
revertToImageEditVersion,
|
|
1225
1230
|
revertToVersion,
|
|
1226
1231
|
rewriteMarkdownReferences,
|
|
@@ -1303,6 +1308,7 @@ export {
|
|
|
1303
1308
|
videoPullQuote,
|
|
1304
1309
|
videoWithCaption,
|
|
1305
1310
|
walkMarkdownTree,
|
|
1311
|
+
wikiLinkPath,
|
|
1306
1312
|
withAlpha,
|
|
1307
1313
|
wordIndexAtChar,
|
|
1308
1314
|
wordIndexAtTime,
|
package/dist/jsonForm/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { bx as Theme, bm as SurfaceScheme } from '../Doc-
|
|
2
|
-
import '../types
|
|
1
|
+
import { bx as Theme, bm as SurfaceScheme } from '../Doc-CwmJZayl.js';
|
|
2
|
+
import '../types-Zk8qYuaT.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* JSON Form types — Squisq's hint vocabulary layered on JSON Schema.
|
package/dist/markdown/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a8 as ParseOptions, v as MarkdownDocument, a9 as StringifyOptions, H as HeadingAttributes, m as HtmlNode, M as MarkdownBlockNode, l as HtmlElement, V as MarkdownNode } from '../types
|
|
2
|
-
export { D as DEFAULT_MARKDOWN_SAFETY_LIMITS, j as HeadingTemplateAnnotation, k as HtmlComment, n as HtmlText, o as MarkdownBlockquote, p as MarkdownBreak, q as MarkdownCodeBlock, r as MarkdownContainerDirective, s as MarkdownDefinitionDescription, t as MarkdownDefinitionList, u as MarkdownDefinitionTerm, 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, 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, af as assertMarkdownDocumentWithinLimits, ag as assertMarkdownSourceWithinLimits, ao as resolveMarkdownSafetyLimits } from '../types
|
|
3
|
-
export { B as BLOCK_META_KEY_DESCRIPTORS, a as BlockMetaKeyDescriptor, K as KNOWN_BLOCK_META_KEYS, b as KnownBlockMetaKey, p as parseTimeSeconds } from '../annotationCoercion-
|
|
1
|
+
import { a8 as ParseOptions, v as MarkdownDocument, a9 as StringifyOptions, H as HeadingAttributes, m as HtmlNode, M as MarkdownBlockNode, l as HtmlElement, V as MarkdownNode } from '../types-Zk8qYuaT.js';
|
|
2
|
+
export { D as DEFAULT_MARKDOWN_SAFETY_LIMITS, j as HeadingTemplateAnnotation, k as HtmlComment, n as HtmlText, o as MarkdownBlockquote, p as MarkdownBreak, q as MarkdownCodeBlock, r as MarkdownContainerDirective, s as MarkdownDefinitionDescription, t as MarkdownDefinitionList, u as MarkdownDefinitionTerm, 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, 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, af as assertMarkdownDocumentWithinLimits, ag as assertMarkdownSourceWithinLimits, ao as resolveMarkdownSafetyLimits } from '../types-Zk8qYuaT.js';
|
|
3
|
+
export { B as BLOCK_META_KEY_DESCRIPTORS, a as BlockMetaKeyDescriptor, K as KNOWN_BLOCK_META_KEYS, b as KnownBlockMetaKey, p as parseTimeSeconds } from '../annotationCoercion-hTvELpIN.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Markdown → JSON Parser
|
|
@@ -958,4 +958,38 @@ type MediaReferenceKind = 'video' | 'audio';
|
|
|
958
958
|
/** `'video'`, `'audio'`, or null for anything else (an image, a page, no extension). */
|
|
959
959
|
declare function mediaKindForUrl(url: string): MediaReferenceKind | null;
|
|
960
960
|
|
|
961
|
-
|
|
961
|
+
/** Wiki article paths are literal, relative names, never URLs or OS paths. */
|
|
962
|
+
declare function wikiLinkPath(target: string, extension?: '.md' | '.html'): string | null;
|
|
963
|
+
/** Parse the literal inside [[target|label]]; labels never carry markup. */
|
|
964
|
+
declare function parseWikiLink(value: string): {
|
|
965
|
+
target: string;
|
|
966
|
+
label?: string;
|
|
967
|
+
} | null;
|
|
968
|
+
interface WikiLinkSuggestion {
|
|
969
|
+
target: string;
|
|
970
|
+
label: string;
|
|
971
|
+
kind: 'article' | 'folder';
|
|
972
|
+
}
|
|
973
|
+
/** A host owns workspace authority, save ordering, creation and navigation.
|
|
974
|
+
* Targets are document-relative wiki names (without mandatory .md).
|
|
975
|
+
* Resolution must not create anything. A rejected lookup is not absence.
|
|
976
|
+
*/
|
|
977
|
+
interface WikiLinkSupport {
|
|
978
|
+
exists(target: string): Promise<boolean>;
|
|
979
|
+
/** Bounded suggestions for a literal document-relative path prefix. */
|
|
980
|
+
suggest?(query: string): Promise<readonly WikiLinkSuggestion[]>;
|
|
981
|
+
/** Optional host URL for formats or public paths beyond the default .md.
|
|
982
|
+
* Return an encoded relative/workspace path, or null for a missing article. */
|
|
983
|
+
resolve?(target: string): Promise<string | null>;
|
|
984
|
+
open(target: string, options: {
|
|
985
|
+
create: boolean;
|
|
986
|
+
}): Promise<void>;
|
|
987
|
+
}
|
|
988
|
+
|
|
989
|
+
/** Projection only: unknown/missing targets remain plain text in presentations.
|
|
990
|
+
* Sequential, deduplicated lookups avoid a fan-out of filesystem operations.
|
|
991
|
+
* The authored wikiTarget survives serialization regardless of resolution.
|
|
992
|
+
*/
|
|
993
|
+
declare function resolveWikiLinks(document: MarkdownDocument, exists: (target: string) => Promise<boolean | string | null>): Promise<MarkdownDocument>;
|
|
994
|
+
|
|
995
|
+
export { type BlockVideoEmbed, DEFAULT_INTERACTIVE_RESOURCE_POLICY, DEFAULT_RESOURCE_MAX_BYTES, DEFAULT_RESOURCE_TIMEOUT_MS, DEFAULT_WRAP_WIDTH, type DocfxMarkdownOptions, type FetchResourceBytesOptions, type FetchedResource, HeadingAttributes, HtmlElement, HtmlNode, type HtmlPolicy, LOCAL_ONLY_RESOURCE_POLICY, MARKDOWN_SOURCE_TRANSFORMS, MarkdownBlockNode, MarkdownDocument, MarkdownNode, type MarkdownReferenceOptions, type MarkdownSourceEdit, type MarkdownSourceTransform, type MarkdownSourceTransformId, type MarkdownSourceTransformOptions, type MarkdownSourceTransformResult, type MarkdownWrapState, type MediaReferenceKind, ParseOptions, type ParseSvgIslandOptions, type ResourcePolicy, ResourcePolicyError, SVG_ISLAND_LIMITS, type SanitizeUrlOptions, StringifyOptions, type SvgIsland, type SvgIslandDiagnostic, type SvgIslandFailureReason, type SvgIslandMarkupOptions, type SvgIslandResult, type TrailingAnnotationMatch, type UrlKind, VIDEO_EMBED_IFRAME_ALLOW, VIDEO_EMBED_PROVIDERS, type VideoEmbed, type VideoEmbedProviderId, type VideoEmbedProviderInfo, type WikiLinkSuggestion, type WikiLinkSupport, applyMarkdownSourceTransform, cleanupMarkdownSource, condenseMarkdownSource, countNodes, createDocument, detectMarkdownWrapState, extractPlainText, fetchResourceBytes, findBlockVideoEmbed, findNodesByType, formatBlockScalar, formatFrontmatterValue, formatFrontmatterYaml, fromMdast, getChildren, inferDocumentTitle, isResourceUrlAllowed, isSvgImageSource, isSvgIslandFence, isSvgIslandLang, isVideoEmbedUrl, matchTrailingPandocAttr, matchTrailingTemplateAnnotation, mediaKindForUrl, needsQuoting, normalizeDocfxMarkdown, parseFrontmatter, parseHtmlToNodes, parseMarkdown, parsePandocAttrTokens, parseSvgIsland, parseVideoEmbedInput, parseVideoEmbedUrl, parseVideoStartTime, parseWikiLink, plainTextFromInlineHtml, quoteAttrValue, readFrontmatterThemeId, resolveWikiLinks, rewriteMarkdownReferences, sanitizeHtmlNodes, sanitizeUrl, serializePandocAttributes, setFrontmatterValues, splitFrontmatterBlock, splitKeyValueToken, stringifyHtmlNodes, stringifyMarkdown, svgIslandDataUrl, svgIslandMarkup, svgSourceFromBytes, svgSourceFromDataUrl, toMdast, tokenizeAttrTokens, unquoteAttrValue, unwrapMarkdownSource, videoEmbedFromIframe, videoEmbedIframeAttributes, walkMarkdownTree, wikiLinkPath, wrapMarkdownSource };
|
package/dist/markdown/index.js
CHANGED
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
stringifyMarkdown,
|
|
18
18
|
unwrapMarkdownSource,
|
|
19
19
|
wrapMarkdownSource
|
|
20
|
-
} from "../chunk-
|
|
20
|
+
} from "../chunk-ILLLGZCE.js";
|
|
21
21
|
import {
|
|
22
22
|
DEFAULT_MARKDOWN_SAFETY_LIMITS,
|
|
23
23
|
MarkdownLimitError,
|
|
@@ -26,10 +26,13 @@ import {
|
|
|
26
26
|
fromMdast,
|
|
27
27
|
parseMarkdown,
|
|
28
28
|
parsePandocAttrTokens,
|
|
29
|
+
parseWikiLink,
|
|
29
30
|
resolveMarkdownSafetyLimits,
|
|
31
|
+
resolveWikiLinks,
|
|
30
32
|
serializePandocAttributes,
|
|
31
|
-
toMdast
|
|
32
|
-
|
|
33
|
+
toMdast,
|
|
34
|
+
wikiLinkPath
|
|
35
|
+
} from "../chunk-PVFDR3XT.js";
|
|
33
36
|
import {
|
|
34
37
|
matchTrailingPandocAttr,
|
|
35
38
|
matchTrailingTemplateAnnotation,
|
|
@@ -137,10 +140,12 @@ export {
|
|
|
137
140
|
parseVideoEmbedInput,
|
|
138
141
|
parseVideoEmbedUrl,
|
|
139
142
|
parseVideoStartTime,
|
|
143
|
+
parseWikiLink,
|
|
140
144
|
plainTextFromInlineHtml,
|
|
141
145
|
quoteAttrValue,
|
|
142
146
|
readFrontmatterThemeId,
|
|
143
147
|
resolveMarkdownSafetyLimits,
|
|
148
|
+
resolveWikiLinks,
|
|
144
149
|
rewriteMarkdownReferences,
|
|
145
150
|
sanitizeHtmlNodes,
|
|
146
151
|
sanitizeUrl,
|
|
@@ -161,5 +166,6 @@ export {
|
|
|
161
166
|
videoEmbedFromIframe,
|
|
162
167
|
videoEmbedIframeAttributes,
|
|
163
168
|
walkMarkdownTree,
|
|
169
|
+
wikiLinkPath,
|
|
164
170
|
wrapMarkdownSource
|
|
165
171
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { k as Block, aT as PageSectionKind, aR as PageEmphasis, bz as ThemeColorScheme, aP as PageBackground, bx as Theme, c1 as ViewportConfig, y as CustomTemplateDefinition, aW as PageVariant, bk as StartBlockConfig, Q as Doc, bA as ThemePageStyle } from './Doc-
|
|
2
|
-
import { M as MarkdownBlockNode } from './types
|
|
1
|
+
import { k as Block, aT as PageSectionKind, aR as PageEmphasis, bz as ThemeColorScheme, aP as PageBackground, bx as Theme, c1 as ViewportConfig, y as CustomTemplateDefinition, aW as PageVariant, bk as StartBlockConfig, Q as Doc, bA as ThemePageStyle } from './Doc-CwmJZayl.js';
|
|
2
|
+
import { M as MarkdownBlockNode } from './types-Zk8qYuaT.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* PageSection — the framework-agnostic block model for Page (linear) mode.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { al as MediaCut, Q as Doc, aj as MediaClip, cx as MediaFxOpId, cy as MediaFxChain } from '../Doc-
|
|
2
|
-
export { cz as MEDIA_EDIT_PARAMS, cA as MEDIA_FX_ORDER, cB as MEDIA_FX_SPECS, ak as MediaCrop, cC as MediaEditParamKey, cD as MediaEditParamValues, am as MediaEdits, cE as MediaFxOp, cF as formatMediaNumber, cG as hasRenderableFx, cH as mediaEditHtmlAttribute, cI as mediaEditValuesFromAttributes, cJ as mediaEditValuesFromParams, cK as mediaRenderKey, cL as normalizeMediaCrop, cM as normalizeMediaCuts, cN as parseMediaCrop, cO as parseMediaCuts, cP as parseMediaEdits, cQ as parseMediaFx, cR as serializeMediaCrop, cS as serializeMediaCuts, cT as serializeMediaEdits, cU as serializeMediaFx } from '../Doc-
|
|
3
|
-
import '../types
|
|
1
|
+
import { al as MediaCut, Q as Doc, aj as MediaClip, cx as MediaFxOpId, cy as MediaFxChain } from '../Doc-CwmJZayl.js';
|
|
2
|
+
export { cz as MEDIA_EDIT_PARAMS, cA as MEDIA_FX_ORDER, cB as MEDIA_FX_SPECS, ak as MediaCrop, cC as MediaEditParamKey, cD as MediaEditParamValues, am as MediaEdits, cE as MediaFxOp, cF as formatMediaNumber, cG as hasRenderableFx, cH as mediaEditHtmlAttribute, cI as mediaEditValuesFromAttributes, cJ as mediaEditValuesFromParams, cK as mediaRenderKey, cL as normalizeMediaCrop, cM as normalizeMediaCuts, cN as parseMediaCrop, cO as parseMediaCuts, cP as parseMediaEdits, cQ as parseMediaFx, cR as serializeMediaCrop, cS as serializeMediaCuts, cT as serializeMediaEdits, cU as serializeMediaFx } from '../Doc-CwmJZayl.js';
|
|
3
|
+
import '../types-Zk8qYuaT.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Source time ↔ played time for a media clip with a trim window and cuts.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Q as Doc, f as AudioBookmark } from '../Doc-
|
|
2
|
-
import { d as BuildAdvance } from '../types
|
|
1
|
+
import { Q as Doc, f as AudioBookmark } from '../Doc-CwmJZayl.js';
|
|
2
|
+
import { d as BuildAdvance } from '../types-Zk8qYuaT.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Shared types + tuning configs for the narration engine.
|
package/dist/schemas/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { B as BUILD_EFFECTS, a as BUILD_MODES, b as BUILD_PARAM_KEYS, c as BUILD_PREVIOUS, d as BuildAdvance, e as BuildCursor, f as BuildSpec, g as BuildStep, h as BuildTiming, i as DEFAULT_TRANSITION_DURATION_SECONDS, aa as TRANSITION_DIRECTIONS, ab as TRANSITION_TYPES, ac as Transition, ad as TransitionDirection, ae as TransitionType, ah as buildSpecParams, ai as isTransitionType, aj as normalizeTransitionDirection, ak as normalizeTransitionType, al as parseBuildSpec, am as recordBuildAdvance, an as resolveBlockTransition, ap as resolveTransitionDuration } from '../types
|
|
1
|
+
export { B as BUILD_EFFECTS, a as BUILD_MODES, b as BUILD_PARAM_KEYS, c as BUILD_PREVIOUS, d as BuildAdvance, e as BuildCursor, f as BuildSpec, g as BuildStep, h as BuildTiming, i as DEFAULT_TRANSITION_DURATION_SECONDS, aa as TRANSITION_DIRECTIONS, ab as TRANSITION_TYPES, ac as Transition, ad as TransitionDirection, ae as TransitionType, ah as buildSpecParams, ai as isTransitionType, aj as normalizeTransitionDirection, ak as normalizeTransitionType, al as parseBuildSpec, am as recordBuildAdvance, an as resolveBlockTransition, ap as resolveTransitionDuration } from '../types-Zk8qYuaT.js';
|
|
2
2
|
export { B as BoundingBox, C as Coordinates } from '../Types-sh2VRxfo.js';
|
|
3
|
-
import { Q as Doc, bx as Theme, bA as ThemePageStyle, bz as ThemeColorScheme, K as DeepPartial, bD as ThemeSeedColors, by as ThemeColorPalette, _ as FontFamilyKind, Z as FontFamily } from '../Doc-
|
|
4
|
-
export { A as AccentImage, a as AccentPosition, b as AmbientGradientConfig, c as Animation, d as AnimationType, e as AreaChartInput, f as AudioBookmark, g as AudioSegment, h as AudioTimingData, i as AudioTrack, B as BarChartInput, j as BigTextInput, k as Block, l as BlockConnection, m as BorderStyle, 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, L as DefinitionCardInput, M as DiagramBlockInput, N as DiagramEdgeAnchor, O as DiagramTemplateEdge, P as DiagramTemplateNode, 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, $ 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 TextLayer, bw as TextStyle, bB as ThemeRegistry, bC as ThemeSchemaVersion, bE as ThemeStyle, bF as ThemeTypography, bG as TimelineBlockInput, bH as TimelineTemplateEvent, bI as TimelineTemplateLink, bJ as TimelineTemplateTrack, bK as TitleBlockInput, bL as TitleCaptionConfig, bM as TranscriptBlockInput, bN as TreeBlockInput, bO as TreeLayer, bP as TreeLayerItem, bQ as TreeLayerStyle, bR as TreeTemplateItem, bS as TwoColumnInput, bT as VIEWPORT_PRESETS, bU as VideoEmbedLayer, bV as VideoLayer, bW as VideoPipPosition, bX as VideoPipShape, bY as VideoPipSize, bZ as VideoPlacement, b_ as VideoPresentation, b$ as VideoPullQuoteInput, c0 as VideoWithCaptionInput, c1 as ViewportConfig, c2 as ViewportOrientation, c3 as ViewportPreset, c4 as VignetteConfig, c5 as applySurface, c6 as calculateDuration, c7 as calculateFontScale, c8 as createTemplateContext, c9 as createTheme, ca as createThemeRegistry, cb as getAspectRatioString, cc as getBlockAtTime, cd as getCaptionAtTime, ce as getDocPlaybackDuration, cf as getLayoutHints, cg as getSafeTextBounds, ch as getSegmentAtTime, ci as getTwoColumnPositions, cj as getViewport, ck as getViewportOrientation, cl as isCustomTemplateDefinition, cm as isMotionProfileName, cn as isPersistentLayerTemplate, co as isTemplateBlock, cp as layoutScaledFontSize, cq as readFrontmatterMotion, cr as resolveMediaSchedule, cs as resolveMotionForDoc, ct as resolveMotionProfile, cu as scaledFontSize, cv as scheduleMediaClip, cw as validateCustomTemplateDefinition } from '../Doc-
|
|
5
|
-
export { D as DEFAULT_THEME, a as DEFAULT_THEME_ID, T as THEMES, g as getAvailableThemes, b as getThemeSummaries, r as resolveTheme } from '../themeLibrary-
|
|
3
|
+
import { Q as Doc, bx as Theme, bA as ThemePageStyle, bz as ThemeColorScheme, K as DeepPartial, bD as ThemeSeedColors, by as ThemeColorPalette, _ as FontFamilyKind, Z as FontFamily } from '../Doc-CwmJZayl.js';
|
|
4
|
+
export { A as AccentImage, a as AccentPosition, b as AmbientGradientConfig, c as Animation, d as AnimationType, e as AreaChartInput, f as AudioBookmark, g as AudioSegment, h as AudioTimingData, i as AudioTrack, B as BarChartInput, j as BigTextInput, k as Block, l as BlockConnection, m as BorderStyle, 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, L as DefinitionCardInput, M as DiagramBlockInput, N as DiagramEdgeAnchor, O as DiagramTemplateEdge, P as DiagramTemplateNode, 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, $ 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 TextLayer, bw as TextStyle, bB as ThemeRegistry, bC as ThemeSchemaVersion, bE as ThemeStyle, bF as ThemeTypography, bG as TimelineBlockInput, bH as TimelineTemplateEvent, bI as TimelineTemplateLink, bJ as TimelineTemplateTrack, bK as TitleBlockInput, bL as TitleCaptionConfig, bM as TranscriptBlockInput, bN as TreeBlockInput, bO as TreeLayer, bP as TreeLayerItem, bQ as TreeLayerStyle, bR as TreeTemplateItem, bS as TwoColumnInput, bT as VIEWPORT_PRESETS, bU as VideoEmbedLayer, bV as VideoLayer, bW as VideoPipPosition, bX as VideoPipShape, bY as VideoPipSize, bZ as VideoPlacement, b_ as VideoPresentation, b$ as VideoPullQuoteInput, c0 as VideoWithCaptionInput, c1 as ViewportConfig, c2 as ViewportOrientation, c3 as ViewportPreset, c4 as VignetteConfig, c5 as applySurface, c6 as calculateDuration, c7 as calculateFontScale, c8 as createTemplateContext, c9 as createTheme, ca as createThemeRegistry, cb as getAspectRatioString, cc as getBlockAtTime, cd as getCaptionAtTime, ce as getDocPlaybackDuration, cf as getLayoutHints, cg as getSafeTextBounds, ch as getSegmentAtTime, ci as getTwoColumnPositions, cj as getViewport, ck as getViewportOrientation, cl as isCustomTemplateDefinition, cm as isMotionProfileName, cn as isPersistentLayerTemplate, co as isTemplateBlock, cp as layoutScaledFontSize, cq as readFrontmatterMotion, cr as resolveMediaSchedule, cs as resolveMotionForDoc, ct as resolveMotionProfile, cu as scaledFontSize, cv as scheduleMediaClip, cw as validateCustomTemplateDefinition } from '../Doc-CwmJZayl.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-jYL3QKTn.js';
|
|
6
6
|
export { M as MediaEntry, a as MediaProvider } from '../MediaProvider-wpSe21B3.js';
|
|
7
|
-
export { E as EditorLayerMeta, I as ImageEditCanvas, a as ImageEditDoc, b as ImageEditLayer, c as ImageEditLayerKind, d as ImageEditMeta } from '../ImageEditDoc-
|
|
7
|
+
export { E as EditorLayerMeta, I as ImageEditCanvas, a as ImageEditDoc, b as ImageEditLayer, c as ImageEditLayerKind, d as ImageEditMeta } from '../ImageEditDoc-CtRgL0wh.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Runtime validation for the canonical {@link Doc} JSON shape.
|
package/dist/timing/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as AudioSegment, h as AudioTimingData, n as CaptionTrack } from '../Doc-
|
|
2
|
-
import '../types
|
|
1
|
+
import { g as AudioSegment, h as AudioTimingData, n as CaptionTrack } from '../Doc-CwmJZayl.js';
|
|
2
|
+
import '../types-Zk8qYuaT.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Narration timing estimation.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Q as Doc, r as ColorScheme, k as Block, br as TemplateBlock } from '../Doc-
|
|
2
|
-
import { i as PageTransformHints } from '../materializePageSection-
|
|
1
|
+
import { Q as Doc, r as ColorScheme, k as Block, br as TemplateBlock } from '../Doc-CwmJZayl.js';
|
|
2
|
+
import { i as PageTransformHints } from '../materializePageSection-B5LehyBR.js';
|
|
3
3
|
import { d as ExtractionType, E as ExtractedElement, b as ExtractionOptions } from '../contentExtractor-BNfVJV2U.js';
|
|
4
|
-
import { f as BuildSpec } from '../types
|
|
4
|
+
import { f as BuildSpec } from '../types-Zk8qYuaT.js';
|
|
5
5
|
|
|
6
6
|
/** Identifier for a built-in or caller-registered transform style. */
|
|
7
7
|
type TransformStyleId = string;
|
package/dist/transform/index.js
CHANGED
|
@@ -24,14 +24,14 @@ import {
|
|
|
24
24
|
serializePresentationPlan,
|
|
25
25
|
transformNarratedSegment,
|
|
26
26
|
usesDynamicPresentation
|
|
27
|
-
} from "../chunk-
|
|
27
|
+
} from "../chunk-UN6S5OID.js";
|
|
28
28
|
import "../chunk-I3ENXLAN.js";
|
|
29
29
|
import "../chunk-GGZCJ2MS.js";
|
|
30
30
|
import "../chunk-SVN7T6BK.js";
|
|
31
31
|
import "../chunk-FUBMT6SJ.js";
|
|
32
32
|
import "../chunk-HYJ63N6V.js";
|
|
33
33
|
import "../chunk-L7QZORLB.js";
|
|
34
|
-
import "../chunk-
|
|
34
|
+
import "../chunk-PVFDR3XT.js";
|
|
35
35
|
import "../chunk-Y25EJEZN.js";
|
|
36
36
|
import "../chunk-MWSGNEH6.js";
|
|
37
37
|
import "../chunk-CZ7AUSLI.js";
|
|
@@ -542,6 +542,10 @@ interface MarkdownInlineCode extends MarkdownNodeBase {
|
|
|
542
542
|
*/
|
|
543
543
|
interface MarkdownLink extends MarkdownNodeBase {
|
|
544
544
|
type: 'link';
|
|
545
|
+
/** Authored [[target]]. url is empty until the host resolves an existing article. */
|
|
546
|
+
wikiTarget?: string;
|
|
547
|
+
/** Literal display label from [[target|label]], when explicitly authored. */
|
|
548
|
+
wikiLabel?: string;
|
|
545
549
|
/** URL target */
|
|
546
550
|
url: string;
|
|
547
551
|
/** Optional title (shown on hover) */
|