@bendyline/squisq 2.12.3 → 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-BkSiCJnM.d.ts → Doc-CwmJZayl.d.ts} +1 -1
- package/dist/{ImageEditDoc-UjQv8q3j.d.ts → ImageEditDoc-CtRgL0wh.d.ts} +1 -1
- package/dist/{annotationCoercion-TxFucMtA.d.ts → annotationCoercion-hTvELpIN.d.ts} +1 -1
- package/dist/{chunk-MPEGJKFJ.js → chunk-GGZCJ2MS.js} +7 -1
- package/dist/{chunk-VTVBSZXB.js → chunk-I3ENXLAN.js} +2 -16
- package/dist/{chunk-ZKDJHO6Y.js → chunk-ILLLGZCE.js} +4 -3
- package/dist/{chunk-EX75I5HX.js → chunk-PVFDR3XT.js} +233 -11
- package/dist/{chunk-SK5TQSYN.js → chunk-RHLRHRWY.js} +12 -8
- package/dist/{chunk-ZBPWNH4L.js → chunk-UN6S5OID.js} +174 -94
- package/dist/{chunk-J6AGNXFO.js → chunk-XFE6WYDK.js} +1 -1
- package/dist/doc/index.d.ts +7 -7
- package/dist/doc/index.js +5 -5
- 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 +14 -8
- 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-DEXohgVt.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/narration/index.js +3 -3
- package/dist/recommend/index.d.ts +1 -1
- package/dist/recommend/index.js +1 -1
- package/dist/schemas/index.d.ts +5 -5
- package/dist/{themeLibrary-BrBc0mrP.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 +4 -4
- package/dist/{types-BmEHcL3l.d.ts → types-Zk8qYuaT.d.ts} +24 -1
- package/package.json +1 -1
|
@@ -4,14 +4,15 @@ import {
|
|
|
4
4
|
flattenRenderableBlocks,
|
|
5
5
|
getPinnedBlockMeta,
|
|
6
6
|
markdownToDoc
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-I3ENXLAN.js";
|
|
8
8
|
import {
|
|
9
9
|
deriveTemplateInputs,
|
|
10
|
+
extractImages,
|
|
10
11
|
isAsciiDiagramFence,
|
|
11
12
|
isAsciiTimelineFence,
|
|
12
13
|
isPictureFence,
|
|
13
14
|
isTreeFence
|
|
14
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-GGZCJ2MS.js";
|
|
15
16
|
import {
|
|
16
17
|
extractContent,
|
|
17
18
|
mapElementToBlock,
|
|
@@ -23,7 +24,7 @@ import {
|
|
|
23
24
|
} from "./chunk-HYJ63N6V.js";
|
|
24
25
|
import {
|
|
25
26
|
parseMarkdown
|
|
26
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-PVFDR3XT.js";
|
|
27
28
|
import {
|
|
28
29
|
isContainerTemplate
|
|
29
30
|
} from "./chunk-Y25EJEZN.js";
|
|
@@ -241,42 +242,22 @@ function maskNonProse(stripped, contents) {
|
|
|
241
242
|
}
|
|
242
243
|
return masked;
|
|
243
244
|
}
|
|
244
|
-
function collectImages(node) {
|
|
245
|
-
const results = [];
|
|
246
|
-
if ("type" in node && node.type === "image" && "url" in node) {
|
|
247
|
-
const img = node;
|
|
248
|
-
if (img.url) {
|
|
249
|
-
results.push({ src: img.url, alt: img.alt ?? "" });
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
|
-
for (const child of getChildren(node)) {
|
|
253
|
-
results.push(...collectImages(child));
|
|
254
|
-
}
|
|
255
|
-
return results;
|
|
256
|
-
}
|
|
257
245
|
function extractBlockImages(block, blockIndex) {
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
}
|
|
264
|
-
}
|
|
265
|
-
return images;
|
|
246
|
+
return extractImages(block.contents).map(({ src, alt }) => ({
|
|
247
|
+
src,
|
|
248
|
+
alt,
|
|
249
|
+
sourceBlockIndex: blockIndex
|
|
250
|
+
}));
|
|
266
251
|
}
|
|
267
252
|
function extractDocImages(blocks) {
|
|
268
253
|
const seen = /* @__PURE__ */ new Set();
|
|
269
254
|
const images = [];
|
|
270
255
|
function walk(blockList) {
|
|
271
256
|
for (const block of blockList) {
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
seen.add(img.src);
|
|
277
|
-
images.push({ src: img.src, alt: img.alt });
|
|
278
|
-
}
|
|
279
|
-
}
|
|
257
|
+
for (const img of extractImages(block.contents)) {
|
|
258
|
+
if (!seen.has(img.src)) {
|
|
259
|
+
seen.add(img.src);
|
|
260
|
+
images.push({ src: img.src, alt: img.alt });
|
|
280
261
|
}
|
|
281
262
|
}
|
|
282
263
|
if (block.children) {
|
|
@@ -1658,13 +1639,83 @@ function videoBlock(video, index, segmentId, duration) {
|
|
|
1658
1639
|
}
|
|
1659
1640
|
|
|
1660
1641
|
// src/transform/presentationPlanner.ts
|
|
1661
|
-
|
|
1662
|
-
|
|
1642
|
+
var SENTENCE_END = /[.!?][”"')\]]?$/u;
|
|
1643
|
+
var SENTENCE_START = /^[\p{Lu}\p{N}"“‘'([]/u;
|
|
1644
|
+
var SEQUENCE_CUE = /^(?:(?:first|second|third|fourth)(?:ly)?|then|next|after that|afterwards|finally|lastly)\b|^\d+[.)]\s/iu;
|
|
1645
|
+
function clip(text3, words, characters) {
|
|
1646
|
+
const clean = text3.replace(/\s+/gu, " ").trim();
|
|
1663
1647
|
const parts = clean.split(" ");
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1648
|
+
let result = parts.length > words ? parts.slice(0, words).join(" ") : clean;
|
|
1649
|
+
if (result.length > characters - 1) {
|
|
1650
|
+
const cut = result.slice(0, characters - 1);
|
|
1651
|
+
const space = cut.lastIndexOf(" ");
|
|
1652
|
+
result = space > characters / 2 ? cut.slice(0, space) : cut;
|
|
1653
|
+
}
|
|
1654
|
+
return result === clean ? clean : result.replace(/[\s,;:–—-]+$/u, "") + "\u2026";
|
|
1655
|
+
}
|
|
1656
|
+
var headlineText = (text3) => clip(text3, 12, 110);
|
|
1657
|
+
var pointText = (text3) => clip(text3, Infinity, 180);
|
|
1658
|
+
var captionText = (text3) => clip(text3, 18, 110);
|
|
1659
|
+
function sentencesIn(sourceText, start, end) {
|
|
1660
|
+
const passage = sourceText.slice(start, end);
|
|
1661
|
+
const sentences = [];
|
|
1662
|
+
let cursor = 0;
|
|
1663
|
+
const add = (to) => {
|
|
1664
|
+
const raw = passage.slice(cursor, to);
|
|
1665
|
+
const text3 = raw.trim();
|
|
1666
|
+
if (!text3) return;
|
|
1667
|
+
const from = start + cursor + raw.indexOf(text3);
|
|
1668
|
+
sentences.push({ text: text3, start: from, end: from + text3.length });
|
|
1669
|
+
};
|
|
1670
|
+
for (const match of passage.matchAll(/(?<=[.!?][”"')\]]?)\s+(?=[\p{Lu}\p{N}"“‘'([])|\n+/gu)) {
|
|
1671
|
+
add(match.index);
|
|
1672
|
+
cursor = match.index + match[0].length;
|
|
1673
|
+
}
|
|
1674
|
+
add(passage.length);
|
|
1675
|
+
return sentences;
|
|
1676
|
+
}
|
|
1677
|
+
var comparable = (text3) => text3.toLowerCase().replace(/\s+/gu, " ").replace(/[\s….!?,;:]+$/u, "").trim();
|
|
1678
|
+
function repeats(sentence, headline) {
|
|
1679
|
+
const body = comparable(sentence);
|
|
1680
|
+
const head = comparable(headline);
|
|
1681
|
+
return body === head || head.includes(body) || head.length >= 24 && body.startsWith(head);
|
|
1682
|
+
}
|
|
1683
|
+
function chunkWords(words, limit) {
|
|
1684
|
+
const chunks = [];
|
|
1685
|
+
const ends = (count) => SENTENCE_END.test(words[count - 1][0]) && (count >= words.length || SENTENCE_START.test(words[count][0]));
|
|
1686
|
+
let first = 0;
|
|
1687
|
+
while (first < words.length) {
|
|
1688
|
+
let last = Math.min(first + limit, words.length);
|
|
1689
|
+
if (last < words.length) {
|
|
1690
|
+
let cut = 0;
|
|
1691
|
+
for (let cursor = last; cursor > first + 18 && !cut; cursor--) if (ends(cursor)) cut = cursor;
|
|
1692
|
+
const reach = Math.min(words.length, first + Math.ceil(limit * 1.5));
|
|
1693
|
+
for (let cursor = last + 1; cursor <= reach && !cut; cursor++) if (ends(cursor)) cut = cursor;
|
|
1694
|
+
if (cut) last = cut;
|
|
1695
|
+
}
|
|
1696
|
+
chunks.push([first, last]);
|
|
1697
|
+
first = last;
|
|
1698
|
+
}
|
|
1699
|
+
return chunks;
|
|
1700
|
+
}
|
|
1701
|
+
function imagesBySection(doc, sectionIds) {
|
|
1702
|
+
const flat = flattenRenderableBlocks(doc.blocks);
|
|
1703
|
+
const own = /* @__PURE__ */ new Map();
|
|
1704
|
+
const seen = /* @__PURE__ */ new Set();
|
|
1705
|
+
for (const block of [...flat].reverse()) {
|
|
1706
|
+
const images = extractDocImages([block]).filter((image) => !seen.has(image.src));
|
|
1707
|
+
for (const image of images) seen.add(image.src);
|
|
1708
|
+
own.set(block.id, images);
|
|
1709
|
+
}
|
|
1710
|
+
const sections = new Set(sectionIds);
|
|
1711
|
+
const result = /* @__PURE__ */ new Map();
|
|
1712
|
+
let owner = sectionIds[0];
|
|
1713
|
+
for (const block of flat) {
|
|
1714
|
+
if (sections.has(block.id)) owner = block.id;
|
|
1715
|
+
if (!owner) continue;
|
|
1716
|
+
result.set(owner, [...result.get(owner) ?? [], ...own.get(block.id) ?? []]);
|
|
1717
|
+
}
|
|
1718
|
+
return result;
|
|
1668
1719
|
}
|
|
1669
1720
|
function field(block, key) {
|
|
1670
1721
|
if (!block || typeof block !== "object") return void 0;
|
|
@@ -1679,7 +1730,10 @@ function createPresentationPlan(doc, hints = defaultPresentationHints()) {
|
|
|
1679
1730
|
throw new Error(
|
|
1680
1731
|
"This document is too long for one presentation. Split it into shorter documents."
|
|
1681
1732
|
);
|
|
1682
|
-
const
|
|
1733
|
+
const sectionImages = imagesBySection(
|
|
1734
|
+
doc,
|
|
1735
|
+
script.blocks.map((block) => block.blockId)
|
|
1736
|
+
);
|
|
1683
1737
|
const beats = [];
|
|
1684
1738
|
const supportingOpeners = /* @__PURE__ */ new Set();
|
|
1685
1739
|
const wordLimit = { concise: 28, balanced: 42, detailed: 64 }[hints.density];
|
|
@@ -1689,53 +1743,59 @@ function createPresentationPlan(doc, hints = defaultPresentationHints()) {
|
|
|
1689
1743
|
const hint = hints.blocks.find((item) => item.blockId === block.blockId);
|
|
1690
1744
|
const wording = hint?.wording?.source === source ? hint.wording : void 0;
|
|
1691
1745
|
const inbetweens = hint?.inbetweens ?? hints.inbetweens;
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
}
|
|
1701
|
-
}
|
|
1702
|
-
}
|
|
1746
|
+
const heading = block.heading?.trim();
|
|
1747
|
+
const headingEnd = block.charStart + (heading?.length ?? 0);
|
|
1748
|
+
const chunks = chunkWords(words, wordLimit);
|
|
1749
|
+
const images = sectionImages.get(block.blockId) ?? [];
|
|
1750
|
+
const opensDeck = beats.length === 0;
|
|
1751
|
+
for (const [chunk, [first, last]] of chunks.entries()) {
|
|
1752
|
+
const fromEnd = chunks.length - 1 - chunk;
|
|
1753
|
+
const image = opensDeck && chunk === 0 ? void 0 : images[fromEnd];
|
|
1703
1754
|
const start = block.charStart + words[first].index;
|
|
1704
1755
|
const end = block.charStart + words[last - 1].index + words[last - 1][0].length;
|
|
1705
1756
|
const passage = script.sourceText.slice(start, end);
|
|
1706
1757
|
const index = beats.length;
|
|
1707
|
-
const
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1758
|
+
const sentences = sentencesIn(script.sourceText, start, end);
|
|
1759
|
+
const body = sentences.filter((sentence) => sentence.start >= headingEnd);
|
|
1760
|
+
let headline;
|
|
1761
|
+
let shown;
|
|
1762
|
+
if (heading) {
|
|
1763
|
+
headline = headlineText(heading);
|
|
1764
|
+
shown = body.filter((sentence) => comparable(sentence.text) !== comparable(heading));
|
|
1765
|
+
} else {
|
|
1766
|
+
const suggested = transformNarratedSegment(
|
|
1767
|
+
{
|
|
1768
|
+
articleId: doc.articleId,
|
|
1769
|
+
segmentId: `presentation-${index}`,
|
|
1770
|
+
title: "",
|
|
1771
|
+
text: passage,
|
|
1772
|
+
duration: Math.max(4, (last - first) / 2.5),
|
|
1773
|
+
audioSrc: "",
|
|
1774
|
+
includeTitleBlock: false
|
|
1775
|
+
},
|
|
1776
|
+
{ slidesPerMinute: 4, minConfidence: 0.25, style: "documentary" }
|
|
1777
|
+
).doc.blocks[0];
|
|
1778
|
+
headline = headlineText(
|
|
1779
|
+
field(suggested, "fact") ?? field(suggested, "description") ?? field(suggested, "quote") ?? sentences[0]?.text ?? passage
|
|
1780
|
+
);
|
|
1781
|
+
if (!headline) headline = headlineText(passage);
|
|
1782
|
+
shown = body.filter((sentence) => !repeats(sentence.text, headline));
|
|
1783
|
+
}
|
|
1784
|
+
const steps = shown.filter((sentence) => SEQUENCE_CUE.test(sentence.text));
|
|
1785
|
+
const sequence = steps.length >= 2;
|
|
1786
|
+
const textPoints = shown.slice(0, 3).map((item) => pointText(item.text));
|
|
1787
|
+
const stepPoints = sequence ? steps.slice(0, 3).map((item) => pointText(item.text)) : textPoints;
|
|
1788
|
+
const custom = chunk === 0 ? wording : void 0;
|
|
1789
|
+
if (custom?.headline) headline = custom.headline;
|
|
1790
|
+
const pointsFor = (layout2) => custom?.points ?? (layout2 === "steps" ? stepPoints : textPoints);
|
|
1791
|
+
let layout = index === 0 ? "title" : textPoints.length >= 2 && index % 3 === 1 ? "list" : "statement";
|
|
1792
|
+
if (sequence) layout = "steps";
|
|
1793
|
+
else if (textPoints.length === 2 && /\b(versus|whereas|compared|instead)\b/iu.test(passage))
|
|
1730
1794
|
layout = "comparison";
|
|
1731
|
-
const image = images.length && index > 0 && index % 3 === 2 ? images[Math.floor(index / 3) % images.length] : void 0;
|
|
1732
1795
|
if (image) layout = "image";
|
|
1733
|
-
if (first === 0 && wording) {
|
|
1734
|
-
headline = wording.headline ?? headline;
|
|
1735
|
-
points = wording.points ?? points;
|
|
1736
|
-
}
|
|
1737
1796
|
if (hint?.layout) {
|
|
1738
|
-
const
|
|
1797
|
+
const count = pointsFor(hint.layout).length;
|
|
1798
|
+
const eligible = hint.layout === "image" ? !!image : hint.layout === "comparison" ? count === 2 : ["steps", "list"].includes(hint.layout) ? count >= 2 : true;
|
|
1739
1799
|
if (eligible) layout = hint.layout;
|
|
1740
1800
|
}
|
|
1741
1801
|
const beat = {
|
|
@@ -1744,23 +1804,43 @@ function createPresentationPlan(doc, hints = defaultPresentationHints()) {
|
|
|
1744
1804
|
sourceEnd: end,
|
|
1745
1805
|
layout,
|
|
1746
1806
|
headline,
|
|
1747
|
-
points,
|
|
1807
|
+
points: pointsFor(layout),
|
|
1748
1808
|
...layout === "image" && image ? { imageSrc: image.src } : {}
|
|
1749
1809
|
};
|
|
1750
|
-
|
|
1751
|
-
if (
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
}
|
|
1763
|
-
|
|
1810
|
+
let split;
|
|
1811
|
+
if (inbetweens && !custom?.points && layout === "steps" && sequence) {
|
|
1812
|
+
if (shown.some((sentence) => sentence.end <= steps[0].start)) split = steps[0].start;
|
|
1813
|
+
} else if (inbetweens && layout === "image" && body.length >= 2 && last - first >= 24) {
|
|
1814
|
+
const middle = block.charStart + words[first + Math.floor((last - first) / 2)].index;
|
|
1815
|
+
split = body.slice(1).map((sentence) => sentence.start).reduce(
|
|
1816
|
+
(best, candidate) => Math.abs(candidate - middle) < Math.abs(best - middle) ? candidate : best
|
|
1817
|
+
);
|
|
1818
|
+
}
|
|
1819
|
+
if (split === void 0) {
|
|
1820
|
+
beats.push(beat);
|
|
1821
|
+
continue;
|
|
1822
|
+
}
|
|
1823
|
+
const before = shown.filter((sentence) => sentence.end <= split);
|
|
1824
|
+
const after = shown.filter((sentence) => sentence.start >= split);
|
|
1825
|
+
const caption = after[0] && after[0].text.length <= 110 ? after[0].text : heading ?? (after[0] ? captionText(after[0].text) : headline);
|
|
1826
|
+
const { imageSrc: _image, ...textBeat } = beat;
|
|
1827
|
+
supportingOpeners.add(`beat-${beats.length + 1}`);
|
|
1828
|
+
beats.push({
|
|
1829
|
+
...textBeat,
|
|
1830
|
+
id: `beat-${beats.length + 1}`,
|
|
1831
|
+
layout: "statement",
|
|
1832
|
+
sourceEnd: split,
|
|
1833
|
+
points: before.slice(0, 3).map((item) => pointText(item.text))
|
|
1834
|
+
});
|
|
1835
|
+
beats.push({
|
|
1836
|
+
...beat,
|
|
1837
|
+
id: `beat-${beats.length + 1}`,
|
|
1838
|
+
sourceStart: split,
|
|
1839
|
+
...layout === "image" ? {
|
|
1840
|
+
headline: caption,
|
|
1841
|
+
points: after.filter((sentence) => !repeats(sentence.text, caption)).slice(0, 3).map((item) => pointText(item.text))
|
|
1842
|
+
} : {}
|
|
1843
|
+
});
|
|
1764
1844
|
}
|
|
1765
1845
|
}
|
|
1766
1846
|
if (beats.length > PRESENTATION_LIMITS.beats)
|
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,
|
|
@@ -190,7 +190,7 @@ import {
|
|
|
190
190
|
wrapWithPersistentLayers,
|
|
191
191
|
writeCustomTemplatesToFrontmatter,
|
|
192
192
|
writeCustomThemesToFrontmatter
|
|
193
|
-
} from "../chunk-
|
|
193
|
+
} from "../chunk-I3ENXLAN.js";
|
|
194
194
|
import {
|
|
195
195
|
ASCII_CHAR_H,
|
|
196
196
|
ASCII_CHAR_W,
|
|
@@ -242,7 +242,7 @@ import {
|
|
|
242
242
|
treeFromMarkdownList,
|
|
243
243
|
treeFromTemplateData,
|
|
244
244
|
treeToTemplateData
|
|
245
|
-
} from "../chunk-
|
|
245
|
+
} from "../chunk-GGZCJ2MS.js";
|
|
246
246
|
import "../chunk-SVN7T6BK.js";
|
|
247
247
|
import {
|
|
248
248
|
PATH_SHAPE_KINDS,
|
|
@@ -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
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
recordSlideShown,
|
|
28
28
|
traceWordPosAt,
|
|
29
29
|
vadStep
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-XFE6WYDK.js";
|
|
31
31
|
import {
|
|
32
32
|
fenceRendererLangs
|
|
33
33
|
} from "./chunk-PGI7HSWE.js";
|
|
@@ -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,
|
|
@@ -381,7 +381,7 @@ import {
|
|
|
381
381
|
wrapWithPersistentLayers,
|
|
382
382
|
writeCustomTemplatesToFrontmatter,
|
|
383
383
|
writeCustomThemesToFrontmatter
|
|
384
|
-
} from "./chunk-
|
|
384
|
+
} from "./chunk-I3ENXLAN.js";
|
|
385
385
|
import {
|
|
386
386
|
ASCII_CHAR_H,
|
|
387
387
|
ASCII_CHAR_W,
|
|
@@ -435,7 +435,7 @@ import {
|
|
|
435
435
|
treeFromMarkdownList,
|
|
436
436
|
treeFromTemplateData,
|
|
437
437
|
treeToTemplateData
|
|
438
|
-
} from "./chunk-
|
|
438
|
+
} from "./chunk-GGZCJ2MS.js";
|
|
439
439
|
import {
|
|
440
440
|
extractContent,
|
|
441
441
|
mapElementToBlock,
|
|
@@ -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.
|