@bendyline/squisq 2.13.16 → 2.13.17
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/{chunk-BG2OYBGC.js → chunk-46QZDTMH.js} +4 -3
- package/dist/{chunk-XY5Z23C4.js → chunk-GDJGWFTY.js} +3 -3
- package/dist/{chunk-TXN23SG2.js → chunk-LQCLNOCY.js} +1 -1
- package/dist/{chunk-33CAD575.js → chunk-RXVY5GNN.js} +2 -2
- package/dist/{chunk-TOPEP5B7.js → chunk-SPLTVGQY.js} +2 -2
- package/dist/{chunk-MA7XUCSQ.js → chunk-W3CMIAHG.js} +8 -1
- package/dist/doc/index.js +4 -4
- package/dist/index.js +6 -6
- package/dist/narration/index.js +3 -3
- package/dist/recommend/index.js +1 -1
- package/dist/transform/index.js +4 -4
- package/package.json +1 -1
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
timelineItems,
|
|
39
39
|
treeToTemplateData,
|
|
40
40
|
vennOverlapIndex
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-W3CMIAHG.js";
|
|
42
42
|
import {
|
|
43
43
|
anchorPoint,
|
|
44
44
|
base64ToUtf8,
|
|
@@ -15860,8 +15860,9 @@ function bodyNodes(context) {
|
|
|
15860
15860
|
// already materialized as visual layers (a diagram, a player, the picture
|
|
15861
15861
|
// itself). Repeating them as prose makes the loss-averse default noisy
|
|
15862
15862
|
// without preserving any additional meaning — a pasted picture's alt text
|
|
15863
|
-
// is just its generated file name.
|
|
15864
|
-
|
|
15863
|
+
// is just its generated file name. A footnote's definition belongs in the
|
|
15864
|
+
// speaker notes, where the PPTX export puts it, not in the slide's text.
|
|
15865
|
+
(node) => node.type !== "footnoteDefinition" && !isMaterializedMediaNode(node) && !isPictureParagraph(node) && !(summary && (node.type === "table" || node.type === "code"))
|
|
15865
15866
|
);
|
|
15866
15867
|
}
|
|
15867
15868
|
function listParagraphs(list, level = 0) {
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-HKHOFTGM.js";
|
|
4
4
|
import {
|
|
5
5
|
applySavedPresentation
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-RXVY5GNN.js";
|
|
7
7
|
import {
|
|
8
8
|
SHAPE_NAMES,
|
|
9
9
|
buildChartData,
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
templateRegistry,
|
|
32
32
|
writeCustomTemplatesToFrontmatter,
|
|
33
33
|
writeCustomThemesToFrontmatter
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-46QZDTMH.js";
|
|
35
35
|
import {
|
|
36
36
|
ASCII_TREE_VOCAB,
|
|
37
37
|
ASCII_VOCAB,
|
|
@@ -57,7 +57,7 @@ import {
|
|
|
57
57
|
toCells,
|
|
58
58
|
toGrid,
|
|
59
59
|
traceBoxes
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-W3CMIAHG.js";
|
|
61
61
|
import {
|
|
62
62
|
iconMarker
|
|
63
63
|
} from "./chunk-7ZAAICW4.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
presentationBeatExtras,
|
|
16
16
|
presentationLayoutFits,
|
|
17
17
|
presentationStat
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-46QZDTMH.js";
|
|
19
19
|
import {
|
|
20
20
|
deriveTemplateInputs,
|
|
21
21
|
extractConceptItems,
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
isTreeFence,
|
|
33
33
|
matchNumberHighlight,
|
|
34
34
|
shapeIsStated
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-W3CMIAHG.js";
|
|
36
36
|
import {
|
|
37
37
|
extractContent,
|
|
38
38
|
mapElementToBlock,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
presentationBeatExtras,
|
|
11
11
|
presentationLayoutProblem,
|
|
12
12
|
presentationStat
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-46QZDTMH.js";
|
|
14
14
|
import {
|
|
15
15
|
classifyListShape,
|
|
16
16
|
matchNumberHighlight,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
shapeIsStated,
|
|
19
19
|
splitStatItem,
|
|
20
20
|
unstatedShapeFallback
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-W3CMIAHG.js";
|
|
22
22
|
|
|
23
23
|
// src/transform/grounding.ts
|
|
24
24
|
var NUMBER = /\d[\d,]*(?:\.\d+)?/gu;
|
|
@@ -3356,8 +3356,11 @@ function renderInlineHtml(nodes) {
|
|
|
3356
3356
|
return escapeInlineHtml(node.alt ?? "");
|
|
3357
3357
|
case "inlineMath":
|
|
3358
3358
|
return escapeInlineHtml(`$${node.value}$`);
|
|
3359
|
+
// A slide shows no footnote marker: the footnote goes to the speaker
|
|
3360
|
+
// notes (PPTX export), and `[^note]` printed as text told the
|
|
3361
|
+
// audience nothing.
|
|
3359
3362
|
case "footnoteReference":
|
|
3360
|
-
return
|
|
3363
|
+
return "";
|
|
3361
3364
|
case "linkReference":
|
|
3362
3365
|
case "textDirective":
|
|
3363
3366
|
return renderInlineHtml(node.children);
|
|
@@ -3446,6 +3449,10 @@ function renderMarkdownBlocksHtml(nodes, builds) {
|
|
|
3446
3449
|
return `<pre><code>${escapeInlineHtml(node.value)}</code></pre>`;
|
|
3447
3450
|
case "definition":
|
|
3448
3451
|
return "";
|
|
3452
|
+
// Footnotes belong in the presenter's notes, not on the slide, as in
|
|
3453
|
+
// the PPTX export; drawn here, the definition read as stray body text.
|
|
3454
|
+
case "footnoteDefinition":
|
|
3455
|
+
return "";
|
|
3449
3456
|
default: {
|
|
3450
3457
|
const text = extractPlainText(node).trim();
|
|
3451
3458
|
return text ? `<p>${escapeInlineHtml(text)}</p>` : "";
|
package/dist/doc/index.js
CHANGED
|
@@ -77,9 +77,9 @@ import {
|
|
|
77
77
|
validateMarkdownSource,
|
|
78
78
|
wordRevealDelay,
|
|
79
79
|
writeDashboardLayoutsToFrontmatter
|
|
80
|
-
} from "../chunk-
|
|
80
|
+
} from "../chunk-GDJGWFTY.js";
|
|
81
81
|
import "../chunk-HKHOFTGM.js";
|
|
82
|
-
import "../chunk-
|
|
82
|
+
import "../chunk-RXVY5GNN.js";
|
|
83
83
|
import {
|
|
84
84
|
AUTHORING_TRICKS,
|
|
85
85
|
BASE_INPUT_DESCRIPTORS,
|
|
@@ -231,7 +231,7 @@ import {
|
|
|
231
231
|
wrapWithPersistentLayers,
|
|
232
232
|
writeCustomTemplatesToFrontmatter,
|
|
233
233
|
writeCustomThemesToFrontmatter
|
|
234
|
-
} from "../chunk-
|
|
234
|
+
} from "../chunk-46QZDTMH.js";
|
|
235
235
|
import {
|
|
236
236
|
ASCII_CHAR_H,
|
|
237
237
|
ASCII_CHAR_W,
|
|
@@ -294,7 +294,7 @@ import {
|
|
|
294
294
|
treeFromTemplateData,
|
|
295
295
|
treeToTemplateData,
|
|
296
296
|
vennOverlapIndex
|
|
297
|
-
} from "../chunk-
|
|
297
|
+
} from "../chunk-W3CMIAHG.js";
|
|
298
298
|
import "../chunk-SVN7T6BK.js";
|
|
299
299
|
import {
|
|
300
300
|
PATH_SHAPE_KINDS,
|
package/dist/index.js
CHANGED
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
traceWordPosAt,
|
|
32
32
|
transcriptWordKeys,
|
|
33
33
|
vadStep
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-LQCLNOCY.js";
|
|
35
35
|
import {
|
|
36
36
|
fenceRendererLangs
|
|
37
37
|
} from "./chunk-PGI7HSWE.js";
|
|
@@ -87,7 +87,7 @@ import {
|
|
|
87
87
|
spelledNumbers,
|
|
88
88
|
statedRanges,
|
|
89
89
|
ungroundedNumber
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-SPLTVGQY.js";
|
|
91
91
|
import {
|
|
92
92
|
DATA_BACKUP_PREFIX,
|
|
93
93
|
DocumentVersionManager,
|
|
@@ -263,7 +263,7 @@ import {
|
|
|
263
263
|
validateMarkdownSource,
|
|
264
264
|
wordRevealDelay,
|
|
265
265
|
writeDashboardLayoutsToFrontmatter
|
|
266
|
-
} from "./chunk-
|
|
266
|
+
} from "./chunk-GDJGWFTY.js";
|
|
267
267
|
import {
|
|
268
268
|
buildNarrationTimingJson,
|
|
269
269
|
parseNarrationTimingJson,
|
|
@@ -295,7 +295,7 @@ import {
|
|
|
295
295
|
serializePresentationHints,
|
|
296
296
|
transformNarratedSegment,
|
|
297
297
|
usesDynamicPresentation
|
|
298
|
-
} from "./chunk-
|
|
298
|
+
} from "./chunk-RXVY5GNN.js";
|
|
299
299
|
import {
|
|
300
300
|
AUTHORED_PRESENTATION_LAYOUT,
|
|
301
301
|
AUTHORING_TRICKS,
|
|
@@ -466,7 +466,7 @@ import {
|
|
|
466
466
|
wrapWithPersistentLayers,
|
|
467
467
|
writeCustomTemplatesToFrontmatter,
|
|
468
468
|
writeCustomThemesToFrontmatter
|
|
469
|
-
} from "./chunk-
|
|
469
|
+
} from "./chunk-46QZDTMH.js";
|
|
470
470
|
import {
|
|
471
471
|
ASCII_CHAR_H,
|
|
472
472
|
ASCII_CHAR_W,
|
|
@@ -535,7 +535,7 @@ import {
|
|
|
535
535
|
treeToTemplateData,
|
|
536
536
|
unstatedShapeFallback,
|
|
537
537
|
vennOverlapIndex
|
|
538
|
-
} from "./chunk-
|
|
538
|
+
} from "./chunk-W3CMIAHG.js";
|
|
539
539
|
import {
|
|
540
540
|
extractContent,
|
|
541
541
|
mapElementToBlock,
|
package/dist/narration/index.js
CHANGED
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
traceWordPosAt,
|
|
32
32
|
transcriptWordKeys,
|
|
33
33
|
vadStep
|
|
34
|
-
} from "../chunk-
|
|
34
|
+
} from "../chunk-LQCLNOCY.js";
|
|
35
35
|
import "../chunk-NEWNNLWN.js";
|
|
36
36
|
import {
|
|
37
37
|
buildNarrationTimingJson,
|
|
@@ -45,8 +45,8 @@ import {
|
|
|
45
45
|
wordIndexAtChar,
|
|
46
46
|
wordIndexAtTime,
|
|
47
47
|
wordPosAtExpectedSyllables
|
|
48
|
-
} from "../chunk-
|
|
49
|
-
import "../chunk-
|
|
48
|
+
} from "../chunk-46QZDTMH.js";
|
|
49
|
+
import "../chunk-W3CMIAHG.js";
|
|
50
50
|
import "../chunk-FUBMT6SJ.js";
|
|
51
51
|
import "../chunk-JNUNNQ74.js";
|
|
52
52
|
import "../chunk-4R3YZTPX.js";
|
package/dist/recommend/index.js
CHANGED
package/dist/transform/index.js
CHANGED
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
spelledNumbers,
|
|
28
28
|
statedRanges,
|
|
29
29
|
ungroundedNumber
|
|
30
|
-
} from "../chunk-
|
|
30
|
+
} from "../chunk-SPLTVGQY.js";
|
|
31
31
|
import {
|
|
32
32
|
DEFAULT_TRANSFORM_STYLE_ID,
|
|
33
33
|
DYNAMIC_PRESENTATION_STYLE,
|
|
@@ -54,7 +54,7 @@ import {
|
|
|
54
54
|
serializePresentationHints,
|
|
55
55
|
transformNarratedSegment,
|
|
56
56
|
usesDynamicPresentation
|
|
57
|
-
} from "../chunk-
|
|
57
|
+
} from "../chunk-RXVY5GNN.js";
|
|
58
58
|
import {
|
|
59
59
|
AUTHORED_PRESENTATION_LAYOUT,
|
|
60
60
|
CONCEPT_TEMPLATES,
|
|
@@ -69,8 +69,8 @@ import {
|
|
|
69
69
|
presentationLayoutProblem,
|
|
70
70
|
presentationStat,
|
|
71
71
|
serializePresentationPlan
|
|
72
|
-
} from "../chunk-
|
|
73
|
-
import "../chunk-
|
|
72
|
+
} from "../chunk-46QZDTMH.js";
|
|
73
|
+
import "../chunk-W3CMIAHG.js";
|
|
74
74
|
import "../chunk-SVN7T6BK.js";
|
|
75
75
|
import "../chunk-FUBMT6SJ.js";
|
|
76
76
|
import "../chunk-JNUNNQ74.js";
|