mulmocast 2.1.39 → 2.1.40
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/README.md +43 -0
- package/lib/actions/pdf.js +18 -15
- package/lib/slide/blocks.d.ts +5 -0
- package/lib/slide/blocks.js +97 -0
- package/lib/slide/index.d.ts +5 -0
- package/lib/slide/index.js +7 -0
- package/lib/slide/layouts/big_quote.d.ts +2 -0
- package/lib/slide/layouts/big_quote.js +19 -0
- package/lib/slide/layouts/columns.d.ts +2 -0
- package/lib/slide/layouts/columns.js +56 -0
- package/lib/slide/layouts/comparison.d.ts +2 -0
- package/lib/slide/layouts/comparison.js +28 -0
- package/lib/slide/layouts/funnel.d.ts +2 -0
- package/lib/slide/layouts/funnel.js +27 -0
- package/lib/slide/layouts/grid.d.ts +2 -0
- package/lib/slide/layouts/grid.js +43 -0
- package/lib/slide/layouts/index.d.ts +3 -0
- package/lib/slide/layouts/index.js +43 -0
- package/lib/slide/layouts/matrix.d.ts +2 -0
- package/lib/slide/layouts/matrix.js +53 -0
- package/lib/slide/layouts/split.d.ts +2 -0
- package/lib/slide/layouts/split.js +38 -0
- package/lib/slide/layouts/stats.d.ts +2 -0
- package/lib/slide/layouts/stats.js +23 -0
- package/lib/slide/layouts/table.d.ts +2 -0
- package/lib/slide/layouts/table.js +46 -0
- package/lib/slide/layouts/timeline.d.ts +2 -0
- package/lib/slide/layouts/timeline.js +24 -0
- package/lib/slide/layouts/title.d.ts +2 -0
- package/lib/slide/layouts/title.js +17 -0
- package/lib/slide/render.d.ts +3 -0
- package/lib/slide/render.js +29 -0
- package/lib/slide/schema.d.ts +4009 -0
- package/lib/slide/schema.js +330 -0
- package/lib/slide/utils.d.ts +32 -0
- package/lib/slide/utils.js +112 -0
- package/lib/types/schema.d.ts +4487 -38
- package/lib/types/schema.js +11 -0
- package/lib/types/slide.d.ts +4009 -0
- package/lib/types/slide.js +330 -0
- package/lib/utils/context.d.ts +1169 -9
- package/lib/utils/image_plugins/index.js +14 -1
- package/lib/utils/image_plugins/slide.d.ts +5 -0
- package/lib/utils/image_plugins/slide.js +35 -0
- package/package.json +8 -8
- package/scripts/test/golden_age_of_discovery.json +270 -0
- package/scripts/test/test_slide_01.json +105 -0
- package/scripts/test/test_slide_11.json +144 -0
- package/scripts/test/test_slide_12.json +887 -0
- package/scripts/test/test_slide_showcase_corporate.json +497 -0
- package/scripts/test/test_slide_showcase_creative.json +545 -0
- package/scripts/test/test_slide_showcase_minimal.json +501 -0
- package/scripts/test/test_slide_showcase_pop.json +547 -0
- package/scripts/test/test_slide_showcase_warm.json +486 -0
package/lib/utils/context.d.ts
CHANGED
|
@@ -81,7 +81,7 @@ export declare const createStudioData: (_mulmoScript: MulmoScript, fileName: str
|
|
|
81
81
|
kind: "path";
|
|
82
82
|
path: string;
|
|
83
83
|
};
|
|
84
|
-
size?: "
|
|
84
|
+
size?: "contain" | "cover" | "fill" | "auto" | undefined;
|
|
85
85
|
opacity?: number | undefined;
|
|
86
86
|
} | null | undefined;
|
|
87
87
|
};
|
|
@@ -275,6 +275,550 @@ export declare const createStudioData: (_mulmoScript: MulmoScript, fileName: str
|
|
|
275
275
|
id?: string | undefined;
|
|
276
276
|
description?: string | undefined;
|
|
277
277
|
image?: {
|
|
278
|
+
type: "slide";
|
|
279
|
+
slide: {
|
|
280
|
+
title: string;
|
|
281
|
+
layout: "title";
|
|
282
|
+
subtitle?: string | undefined;
|
|
283
|
+
author?: string | undefined;
|
|
284
|
+
note?: string | undefined;
|
|
285
|
+
accentColor?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
286
|
+
style?: {
|
|
287
|
+
bgColor?: string | undefined;
|
|
288
|
+
decorations?: boolean | undefined;
|
|
289
|
+
bgOpacity?: number | undefined;
|
|
290
|
+
footer?: string | undefined;
|
|
291
|
+
} | undefined;
|
|
292
|
+
} | {
|
|
293
|
+
title: string;
|
|
294
|
+
columns: {
|
|
295
|
+
title: string;
|
|
296
|
+
accentColor?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
297
|
+
content?: ({
|
|
298
|
+
type: "text";
|
|
299
|
+
value: string;
|
|
300
|
+
align?: "left" | "center" | "right" | undefined;
|
|
301
|
+
bold?: boolean | undefined;
|
|
302
|
+
dim?: boolean | undefined;
|
|
303
|
+
fontSize?: number | undefined;
|
|
304
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
305
|
+
} | {
|
|
306
|
+
type: "bullets";
|
|
307
|
+
items: string[];
|
|
308
|
+
ordered?: boolean | undefined;
|
|
309
|
+
icon?: string | undefined;
|
|
310
|
+
} | {
|
|
311
|
+
type: "code";
|
|
312
|
+
code: string;
|
|
313
|
+
language?: string | undefined;
|
|
314
|
+
} | {
|
|
315
|
+
type: "callout";
|
|
316
|
+
text: string;
|
|
317
|
+
label?: string | undefined;
|
|
318
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
319
|
+
style?: "warning" | "info" | "quote" | undefined;
|
|
320
|
+
} | {
|
|
321
|
+
type: "metric";
|
|
322
|
+
value: string;
|
|
323
|
+
label: string;
|
|
324
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
325
|
+
change?: string | undefined;
|
|
326
|
+
} | {
|
|
327
|
+
type: "divider";
|
|
328
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
329
|
+
} | {
|
|
330
|
+
type: "image";
|
|
331
|
+
src: string;
|
|
332
|
+
alt?: string | undefined;
|
|
333
|
+
fit?: "contain" | "cover" | undefined;
|
|
334
|
+
})[] | undefined;
|
|
335
|
+
footer?: string | undefined;
|
|
336
|
+
label?: string | undefined;
|
|
337
|
+
num?: number | undefined;
|
|
338
|
+
icon?: string | undefined;
|
|
339
|
+
}[];
|
|
340
|
+
layout: "columns";
|
|
341
|
+
stepLabel?: string | undefined;
|
|
342
|
+
subtitle?: string | undefined;
|
|
343
|
+
showArrows?: boolean | undefined;
|
|
344
|
+
callout?: {
|
|
345
|
+
text: string;
|
|
346
|
+
label?: string | undefined;
|
|
347
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
348
|
+
align?: "left" | "center" | undefined;
|
|
349
|
+
leftBar?: boolean | undefined;
|
|
350
|
+
} | undefined;
|
|
351
|
+
bottomText?: string | undefined;
|
|
352
|
+
accentColor?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
353
|
+
style?: {
|
|
354
|
+
bgColor?: string | undefined;
|
|
355
|
+
decorations?: boolean | undefined;
|
|
356
|
+
bgOpacity?: number | undefined;
|
|
357
|
+
footer?: string | undefined;
|
|
358
|
+
} | undefined;
|
|
359
|
+
} | {
|
|
360
|
+
title: string;
|
|
361
|
+
left: {
|
|
362
|
+
title: string;
|
|
363
|
+
accentColor?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
364
|
+
content?: ({
|
|
365
|
+
type: "text";
|
|
366
|
+
value: string;
|
|
367
|
+
align?: "left" | "center" | "right" | undefined;
|
|
368
|
+
bold?: boolean | undefined;
|
|
369
|
+
dim?: boolean | undefined;
|
|
370
|
+
fontSize?: number | undefined;
|
|
371
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
372
|
+
} | {
|
|
373
|
+
type: "bullets";
|
|
374
|
+
items: string[];
|
|
375
|
+
ordered?: boolean | undefined;
|
|
376
|
+
icon?: string | undefined;
|
|
377
|
+
} | {
|
|
378
|
+
type: "code";
|
|
379
|
+
code: string;
|
|
380
|
+
language?: string | undefined;
|
|
381
|
+
} | {
|
|
382
|
+
type: "callout";
|
|
383
|
+
text: string;
|
|
384
|
+
label?: string | undefined;
|
|
385
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
386
|
+
style?: "warning" | "info" | "quote" | undefined;
|
|
387
|
+
} | {
|
|
388
|
+
type: "metric";
|
|
389
|
+
value: string;
|
|
390
|
+
label: string;
|
|
391
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
392
|
+
change?: string | undefined;
|
|
393
|
+
} | {
|
|
394
|
+
type: "divider";
|
|
395
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
396
|
+
} | {
|
|
397
|
+
type: "image";
|
|
398
|
+
src: string;
|
|
399
|
+
alt?: string | undefined;
|
|
400
|
+
fit?: "contain" | "cover" | undefined;
|
|
401
|
+
})[] | undefined;
|
|
402
|
+
footer?: string | undefined;
|
|
403
|
+
};
|
|
404
|
+
right: {
|
|
405
|
+
title: string;
|
|
406
|
+
accentColor?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
407
|
+
content?: ({
|
|
408
|
+
type: "text";
|
|
409
|
+
value: string;
|
|
410
|
+
align?: "left" | "center" | "right" | undefined;
|
|
411
|
+
bold?: boolean | undefined;
|
|
412
|
+
dim?: boolean | undefined;
|
|
413
|
+
fontSize?: number | undefined;
|
|
414
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
415
|
+
} | {
|
|
416
|
+
type: "bullets";
|
|
417
|
+
items: string[];
|
|
418
|
+
ordered?: boolean | undefined;
|
|
419
|
+
icon?: string | undefined;
|
|
420
|
+
} | {
|
|
421
|
+
type: "code";
|
|
422
|
+
code: string;
|
|
423
|
+
language?: string | undefined;
|
|
424
|
+
} | {
|
|
425
|
+
type: "callout";
|
|
426
|
+
text: string;
|
|
427
|
+
label?: string | undefined;
|
|
428
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
429
|
+
style?: "warning" | "info" | "quote" | undefined;
|
|
430
|
+
} | {
|
|
431
|
+
type: "metric";
|
|
432
|
+
value: string;
|
|
433
|
+
label: string;
|
|
434
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
435
|
+
change?: string | undefined;
|
|
436
|
+
} | {
|
|
437
|
+
type: "divider";
|
|
438
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
439
|
+
} | {
|
|
440
|
+
type: "image";
|
|
441
|
+
src: string;
|
|
442
|
+
alt?: string | undefined;
|
|
443
|
+
fit?: "contain" | "cover" | undefined;
|
|
444
|
+
})[] | undefined;
|
|
445
|
+
footer?: string | undefined;
|
|
446
|
+
};
|
|
447
|
+
layout: "comparison";
|
|
448
|
+
stepLabel?: string | undefined;
|
|
449
|
+
subtitle?: string | undefined;
|
|
450
|
+
callout?: {
|
|
451
|
+
text: string;
|
|
452
|
+
label?: string | undefined;
|
|
453
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
454
|
+
align?: "left" | "center" | undefined;
|
|
455
|
+
leftBar?: boolean | undefined;
|
|
456
|
+
} | undefined;
|
|
457
|
+
accentColor?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
458
|
+
style?: {
|
|
459
|
+
bgColor?: string | undefined;
|
|
460
|
+
decorations?: boolean | undefined;
|
|
461
|
+
bgOpacity?: number | undefined;
|
|
462
|
+
footer?: string | undefined;
|
|
463
|
+
} | undefined;
|
|
464
|
+
} | {
|
|
465
|
+
title: string;
|
|
466
|
+
items: {
|
|
467
|
+
title: string;
|
|
468
|
+
description?: string | undefined;
|
|
469
|
+
accentColor?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
470
|
+
num?: number | undefined;
|
|
471
|
+
icon?: string | undefined;
|
|
472
|
+
content?: ({
|
|
473
|
+
type: "text";
|
|
474
|
+
value: string;
|
|
475
|
+
align?: "left" | "center" | "right" | undefined;
|
|
476
|
+
bold?: boolean | undefined;
|
|
477
|
+
dim?: boolean | undefined;
|
|
478
|
+
fontSize?: number | undefined;
|
|
479
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
480
|
+
} | {
|
|
481
|
+
type: "bullets";
|
|
482
|
+
items: string[];
|
|
483
|
+
ordered?: boolean | undefined;
|
|
484
|
+
icon?: string | undefined;
|
|
485
|
+
} | {
|
|
486
|
+
type: "code";
|
|
487
|
+
code: string;
|
|
488
|
+
language?: string | undefined;
|
|
489
|
+
} | {
|
|
490
|
+
type: "callout";
|
|
491
|
+
text: string;
|
|
492
|
+
label?: string | undefined;
|
|
493
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
494
|
+
style?: "warning" | "info" | "quote" | undefined;
|
|
495
|
+
} | {
|
|
496
|
+
type: "metric";
|
|
497
|
+
value: string;
|
|
498
|
+
label: string;
|
|
499
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
500
|
+
change?: string | undefined;
|
|
501
|
+
} | {
|
|
502
|
+
type: "divider";
|
|
503
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
504
|
+
} | {
|
|
505
|
+
type: "image";
|
|
506
|
+
src: string;
|
|
507
|
+
alt?: string | undefined;
|
|
508
|
+
fit?: "contain" | "cover" | undefined;
|
|
509
|
+
})[] | undefined;
|
|
510
|
+
}[];
|
|
511
|
+
layout: "grid";
|
|
512
|
+
subtitle?: string | undefined;
|
|
513
|
+
gridColumns?: number | undefined;
|
|
514
|
+
footer?: string | undefined;
|
|
515
|
+
accentColor?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
516
|
+
style?: {
|
|
517
|
+
bgColor?: string | undefined;
|
|
518
|
+
decorations?: boolean | undefined;
|
|
519
|
+
bgOpacity?: number | undefined;
|
|
520
|
+
footer?: string | undefined;
|
|
521
|
+
} | undefined;
|
|
522
|
+
} | {
|
|
523
|
+
quote: string;
|
|
524
|
+
layout: "bigQuote";
|
|
525
|
+
author?: string | undefined;
|
|
526
|
+
role?: string | undefined;
|
|
527
|
+
accentColor?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
528
|
+
style?: {
|
|
529
|
+
bgColor?: string | undefined;
|
|
530
|
+
decorations?: boolean | undefined;
|
|
531
|
+
bgOpacity?: number | undefined;
|
|
532
|
+
footer?: string | undefined;
|
|
533
|
+
} | undefined;
|
|
534
|
+
} | {
|
|
535
|
+
title: string;
|
|
536
|
+
stats: {
|
|
537
|
+
value: string;
|
|
538
|
+
label: string;
|
|
539
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
540
|
+
change?: string | undefined;
|
|
541
|
+
}[];
|
|
542
|
+
layout: "stats";
|
|
543
|
+
stepLabel?: string | undefined;
|
|
544
|
+
subtitle?: string | undefined;
|
|
545
|
+
callout?: {
|
|
546
|
+
text: string;
|
|
547
|
+
label?: string | undefined;
|
|
548
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
549
|
+
align?: "left" | "center" | undefined;
|
|
550
|
+
leftBar?: boolean | undefined;
|
|
551
|
+
} | undefined;
|
|
552
|
+
accentColor?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
553
|
+
style?: {
|
|
554
|
+
bgColor?: string | undefined;
|
|
555
|
+
decorations?: boolean | undefined;
|
|
556
|
+
bgOpacity?: number | undefined;
|
|
557
|
+
footer?: string | undefined;
|
|
558
|
+
} | undefined;
|
|
559
|
+
} | {
|
|
560
|
+
title: string;
|
|
561
|
+
items: {
|
|
562
|
+
date: string;
|
|
563
|
+
title: string;
|
|
564
|
+
description?: string | undefined;
|
|
565
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
566
|
+
done?: boolean | undefined;
|
|
567
|
+
}[];
|
|
568
|
+
layout: "timeline";
|
|
569
|
+
stepLabel?: string | undefined;
|
|
570
|
+
subtitle?: string | undefined;
|
|
571
|
+
accentColor?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
572
|
+
style?: {
|
|
573
|
+
bgColor?: string | undefined;
|
|
574
|
+
decorations?: boolean | undefined;
|
|
575
|
+
bgOpacity?: number | undefined;
|
|
576
|
+
footer?: string | undefined;
|
|
577
|
+
} | undefined;
|
|
578
|
+
} | {
|
|
579
|
+
layout: "split";
|
|
580
|
+
left?: {
|
|
581
|
+
title?: string | undefined;
|
|
582
|
+
subtitle?: string | undefined;
|
|
583
|
+
label?: string | undefined;
|
|
584
|
+
accentColor?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
585
|
+
content?: ({
|
|
586
|
+
type: "text";
|
|
587
|
+
value: string;
|
|
588
|
+
align?: "left" | "center" | "right" | undefined;
|
|
589
|
+
bold?: boolean | undefined;
|
|
590
|
+
dim?: boolean | undefined;
|
|
591
|
+
fontSize?: number | undefined;
|
|
592
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
593
|
+
} | {
|
|
594
|
+
type: "bullets";
|
|
595
|
+
items: string[];
|
|
596
|
+
ordered?: boolean | undefined;
|
|
597
|
+
icon?: string | undefined;
|
|
598
|
+
} | {
|
|
599
|
+
type: "code";
|
|
600
|
+
code: string;
|
|
601
|
+
language?: string | undefined;
|
|
602
|
+
} | {
|
|
603
|
+
type: "callout";
|
|
604
|
+
text: string;
|
|
605
|
+
label?: string | undefined;
|
|
606
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
607
|
+
style?: "warning" | "info" | "quote" | undefined;
|
|
608
|
+
} | {
|
|
609
|
+
type: "metric";
|
|
610
|
+
value: string;
|
|
611
|
+
label: string;
|
|
612
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
613
|
+
change?: string | undefined;
|
|
614
|
+
} | {
|
|
615
|
+
type: "divider";
|
|
616
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
617
|
+
} | {
|
|
618
|
+
type: "image";
|
|
619
|
+
src: string;
|
|
620
|
+
alt?: string | undefined;
|
|
621
|
+
fit?: "contain" | "cover" | undefined;
|
|
622
|
+
})[] | undefined;
|
|
623
|
+
dark?: boolean | undefined;
|
|
624
|
+
ratio?: number | undefined;
|
|
625
|
+
} | undefined;
|
|
626
|
+
right?: {
|
|
627
|
+
title?: string | undefined;
|
|
628
|
+
subtitle?: string | undefined;
|
|
629
|
+
label?: string | undefined;
|
|
630
|
+
accentColor?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
631
|
+
content?: ({
|
|
632
|
+
type: "text";
|
|
633
|
+
value: string;
|
|
634
|
+
align?: "left" | "center" | "right" | undefined;
|
|
635
|
+
bold?: boolean | undefined;
|
|
636
|
+
dim?: boolean | undefined;
|
|
637
|
+
fontSize?: number | undefined;
|
|
638
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
639
|
+
} | {
|
|
640
|
+
type: "bullets";
|
|
641
|
+
items: string[];
|
|
642
|
+
ordered?: boolean | undefined;
|
|
643
|
+
icon?: string | undefined;
|
|
644
|
+
} | {
|
|
645
|
+
type: "code";
|
|
646
|
+
code: string;
|
|
647
|
+
language?: string | undefined;
|
|
648
|
+
} | {
|
|
649
|
+
type: "callout";
|
|
650
|
+
text: string;
|
|
651
|
+
label?: string | undefined;
|
|
652
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
653
|
+
style?: "warning" | "info" | "quote" | undefined;
|
|
654
|
+
} | {
|
|
655
|
+
type: "metric";
|
|
656
|
+
value: string;
|
|
657
|
+
label: string;
|
|
658
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
659
|
+
change?: string | undefined;
|
|
660
|
+
} | {
|
|
661
|
+
type: "divider";
|
|
662
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
663
|
+
} | {
|
|
664
|
+
type: "image";
|
|
665
|
+
src: string;
|
|
666
|
+
alt?: string | undefined;
|
|
667
|
+
fit?: "contain" | "cover" | undefined;
|
|
668
|
+
})[] | undefined;
|
|
669
|
+
dark?: boolean | undefined;
|
|
670
|
+
ratio?: number | undefined;
|
|
671
|
+
} | undefined;
|
|
672
|
+
accentColor?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
673
|
+
style?: {
|
|
674
|
+
bgColor?: string | undefined;
|
|
675
|
+
decorations?: boolean | undefined;
|
|
676
|
+
bgOpacity?: number | undefined;
|
|
677
|
+
footer?: string | undefined;
|
|
678
|
+
} | undefined;
|
|
679
|
+
} | {
|
|
680
|
+
title: string;
|
|
681
|
+
cells: {
|
|
682
|
+
label: string;
|
|
683
|
+
items?: string[] | undefined;
|
|
684
|
+
content?: ({
|
|
685
|
+
type: "text";
|
|
686
|
+
value: string;
|
|
687
|
+
align?: "left" | "center" | "right" | undefined;
|
|
688
|
+
bold?: boolean | undefined;
|
|
689
|
+
dim?: boolean | undefined;
|
|
690
|
+
fontSize?: number | undefined;
|
|
691
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
692
|
+
} | {
|
|
693
|
+
type: "bullets";
|
|
694
|
+
items: string[];
|
|
695
|
+
ordered?: boolean | undefined;
|
|
696
|
+
icon?: string | undefined;
|
|
697
|
+
} | {
|
|
698
|
+
type: "code";
|
|
699
|
+
code: string;
|
|
700
|
+
language?: string | undefined;
|
|
701
|
+
} | {
|
|
702
|
+
type: "callout";
|
|
703
|
+
text: string;
|
|
704
|
+
label?: string | undefined;
|
|
705
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
706
|
+
style?: "warning" | "info" | "quote" | undefined;
|
|
707
|
+
} | {
|
|
708
|
+
type: "metric";
|
|
709
|
+
value: string;
|
|
710
|
+
label: string;
|
|
711
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
712
|
+
change?: string | undefined;
|
|
713
|
+
} | {
|
|
714
|
+
type: "divider";
|
|
715
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
716
|
+
} | {
|
|
717
|
+
type: "image";
|
|
718
|
+
src: string;
|
|
719
|
+
alt?: string | undefined;
|
|
720
|
+
fit?: "contain" | "cover" | undefined;
|
|
721
|
+
})[] | undefined;
|
|
722
|
+
accentColor?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
723
|
+
}[];
|
|
724
|
+
layout: "matrix";
|
|
725
|
+
stepLabel?: string | undefined;
|
|
726
|
+
subtitle?: string | undefined;
|
|
727
|
+
rows?: number | undefined;
|
|
728
|
+
cols?: number | undefined;
|
|
729
|
+
xAxis?: {
|
|
730
|
+
low?: string | undefined;
|
|
731
|
+
high?: string | undefined;
|
|
732
|
+
label?: string | undefined;
|
|
733
|
+
} | undefined;
|
|
734
|
+
yAxis?: {
|
|
735
|
+
low?: string | undefined;
|
|
736
|
+
high?: string | undefined;
|
|
737
|
+
label?: string | undefined;
|
|
738
|
+
} | undefined;
|
|
739
|
+
accentColor?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
740
|
+
style?: {
|
|
741
|
+
bgColor?: string | undefined;
|
|
742
|
+
decorations?: boolean | undefined;
|
|
743
|
+
bgOpacity?: number | undefined;
|
|
744
|
+
footer?: string | undefined;
|
|
745
|
+
} | undefined;
|
|
746
|
+
} | {
|
|
747
|
+
title: string;
|
|
748
|
+
headers: string[];
|
|
749
|
+
rows: (string | {
|
|
750
|
+
text: string;
|
|
751
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
752
|
+
bold?: boolean | undefined;
|
|
753
|
+
})[][];
|
|
754
|
+
layout: "table";
|
|
755
|
+
stepLabel?: string | undefined;
|
|
756
|
+
subtitle?: string | undefined;
|
|
757
|
+
rowHeaders?: boolean | undefined;
|
|
758
|
+
striped?: boolean | undefined;
|
|
759
|
+
callout?: {
|
|
760
|
+
text: string;
|
|
761
|
+
label?: string | undefined;
|
|
762
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
763
|
+
align?: "left" | "center" | undefined;
|
|
764
|
+
leftBar?: boolean | undefined;
|
|
765
|
+
} | undefined;
|
|
766
|
+
accentColor?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
767
|
+
style?: {
|
|
768
|
+
bgColor?: string | undefined;
|
|
769
|
+
decorations?: boolean | undefined;
|
|
770
|
+
bgOpacity?: number | undefined;
|
|
771
|
+
footer?: string | undefined;
|
|
772
|
+
} | undefined;
|
|
773
|
+
} | {
|
|
774
|
+
title: string;
|
|
775
|
+
stages: {
|
|
776
|
+
label: string;
|
|
777
|
+
value?: string | undefined;
|
|
778
|
+
description?: string | undefined;
|
|
779
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
780
|
+
}[];
|
|
781
|
+
layout: "funnel";
|
|
782
|
+
stepLabel?: string | undefined;
|
|
783
|
+
subtitle?: string | undefined;
|
|
784
|
+
callout?: {
|
|
785
|
+
text: string;
|
|
786
|
+
label?: string | undefined;
|
|
787
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
788
|
+
align?: "left" | "center" | undefined;
|
|
789
|
+
leftBar?: boolean | undefined;
|
|
790
|
+
} | undefined;
|
|
791
|
+
accentColor?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
792
|
+
style?: {
|
|
793
|
+
bgColor?: string | undefined;
|
|
794
|
+
decorations?: boolean | undefined;
|
|
795
|
+
bgOpacity?: number | undefined;
|
|
796
|
+
footer?: string | undefined;
|
|
797
|
+
} | undefined;
|
|
798
|
+
};
|
|
799
|
+
theme?: {
|
|
800
|
+
colors: {
|
|
801
|
+
bg: string;
|
|
802
|
+
bgCard: string;
|
|
803
|
+
bgCardAlt: string;
|
|
804
|
+
text: string;
|
|
805
|
+
textMuted: string;
|
|
806
|
+
textDim: string;
|
|
807
|
+
primary: string;
|
|
808
|
+
accent: string;
|
|
809
|
+
success: string;
|
|
810
|
+
warning: string;
|
|
811
|
+
danger: string;
|
|
812
|
+
info: string;
|
|
813
|
+
highlight: string;
|
|
814
|
+
};
|
|
815
|
+
fonts: {
|
|
816
|
+
title: string;
|
|
817
|
+
body: string;
|
|
818
|
+
mono: string;
|
|
819
|
+
};
|
|
820
|
+
} | undefined;
|
|
821
|
+
} | {
|
|
278
822
|
type: "image";
|
|
279
823
|
source: {
|
|
280
824
|
kind: "url";
|
|
@@ -310,7 +854,7 @@ export declare const createStudioData: (_mulmoScript: MulmoScript, fileName: str
|
|
|
310
854
|
kind: "path";
|
|
311
855
|
path: string;
|
|
312
856
|
};
|
|
313
|
-
size?: "
|
|
857
|
+
size?: "contain" | "cover" | "fill" | "auto" | undefined;
|
|
314
858
|
opacity?: number | undefined;
|
|
315
859
|
} | null | undefined;
|
|
316
860
|
} | {
|
|
@@ -371,7 +915,7 @@ export declare const createStudioData: (_mulmoScript: MulmoScript, fileName: str
|
|
|
371
915
|
kind: "path";
|
|
372
916
|
path: string;
|
|
373
917
|
};
|
|
374
|
-
size?: "
|
|
918
|
+
size?: "contain" | "cover" | "fill" | "auto" | undefined;
|
|
375
919
|
opacity?: number | undefined;
|
|
376
920
|
} | null | undefined;
|
|
377
921
|
} | {
|
|
@@ -407,7 +951,7 @@ export declare const createStudioData: (_mulmoScript: MulmoScript, fileName: str
|
|
|
407
951
|
kind: "path";
|
|
408
952
|
path: string;
|
|
409
953
|
};
|
|
410
|
-
size?: "
|
|
954
|
+
size?: "contain" | "cover" | "fill" | "auto" | undefined;
|
|
411
955
|
opacity?: number | undefined;
|
|
412
956
|
} | null | undefined;
|
|
413
957
|
} | {
|
|
@@ -672,6 +1216,30 @@ export declare const createStudioData: (_mulmoScript: MulmoScript, fileName: str
|
|
|
672
1216
|
textSlideParams?: {
|
|
673
1217
|
cssStyles: string | string[];
|
|
674
1218
|
} | undefined;
|
|
1219
|
+
slideParams?: {
|
|
1220
|
+
theme: {
|
|
1221
|
+
colors: {
|
|
1222
|
+
bg: string;
|
|
1223
|
+
bgCard: string;
|
|
1224
|
+
bgCardAlt: string;
|
|
1225
|
+
text: string;
|
|
1226
|
+
textMuted: string;
|
|
1227
|
+
textDim: string;
|
|
1228
|
+
primary: string;
|
|
1229
|
+
accent: string;
|
|
1230
|
+
success: string;
|
|
1231
|
+
warning: string;
|
|
1232
|
+
danger: string;
|
|
1233
|
+
info: string;
|
|
1234
|
+
highlight: string;
|
|
1235
|
+
};
|
|
1236
|
+
fonts: {
|
|
1237
|
+
title: string;
|
|
1238
|
+
body: string;
|
|
1239
|
+
mono: string;
|
|
1240
|
+
};
|
|
1241
|
+
};
|
|
1242
|
+
} | undefined;
|
|
675
1243
|
captionParams?: {
|
|
676
1244
|
lang?: string | undefined;
|
|
677
1245
|
styles?: string[] | undefined;
|
|
@@ -805,7 +1373,7 @@ export declare const initializeContextFromFiles: (files: FileObject, raiseError:
|
|
|
805
1373
|
kind: "path";
|
|
806
1374
|
path: string;
|
|
807
1375
|
};
|
|
808
|
-
size?: "
|
|
1376
|
+
size?: "contain" | "cover" | "fill" | "auto" | undefined;
|
|
809
1377
|
opacity?: number | undefined;
|
|
810
1378
|
} | null | undefined;
|
|
811
1379
|
};
|
|
@@ -999,6 +1567,550 @@ export declare const initializeContextFromFiles: (files: FileObject, raiseError:
|
|
|
999
1567
|
id?: string | undefined;
|
|
1000
1568
|
description?: string | undefined;
|
|
1001
1569
|
image?: {
|
|
1570
|
+
type: "slide";
|
|
1571
|
+
slide: {
|
|
1572
|
+
title: string;
|
|
1573
|
+
layout: "title";
|
|
1574
|
+
subtitle?: string | undefined;
|
|
1575
|
+
author?: string | undefined;
|
|
1576
|
+
note?: string | undefined;
|
|
1577
|
+
accentColor?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
1578
|
+
style?: {
|
|
1579
|
+
bgColor?: string | undefined;
|
|
1580
|
+
decorations?: boolean | undefined;
|
|
1581
|
+
bgOpacity?: number | undefined;
|
|
1582
|
+
footer?: string | undefined;
|
|
1583
|
+
} | undefined;
|
|
1584
|
+
} | {
|
|
1585
|
+
title: string;
|
|
1586
|
+
columns: {
|
|
1587
|
+
title: string;
|
|
1588
|
+
accentColor?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
1589
|
+
content?: ({
|
|
1590
|
+
type: "text";
|
|
1591
|
+
value: string;
|
|
1592
|
+
align?: "left" | "center" | "right" | undefined;
|
|
1593
|
+
bold?: boolean | undefined;
|
|
1594
|
+
dim?: boolean | undefined;
|
|
1595
|
+
fontSize?: number | undefined;
|
|
1596
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
1597
|
+
} | {
|
|
1598
|
+
type: "bullets";
|
|
1599
|
+
items: string[];
|
|
1600
|
+
ordered?: boolean | undefined;
|
|
1601
|
+
icon?: string | undefined;
|
|
1602
|
+
} | {
|
|
1603
|
+
type: "code";
|
|
1604
|
+
code: string;
|
|
1605
|
+
language?: string | undefined;
|
|
1606
|
+
} | {
|
|
1607
|
+
type: "callout";
|
|
1608
|
+
text: string;
|
|
1609
|
+
label?: string | undefined;
|
|
1610
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
1611
|
+
style?: "warning" | "info" | "quote" | undefined;
|
|
1612
|
+
} | {
|
|
1613
|
+
type: "metric";
|
|
1614
|
+
value: string;
|
|
1615
|
+
label: string;
|
|
1616
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
1617
|
+
change?: string | undefined;
|
|
1618
|
+
} | {
|
|
1619
|
+
type: "divider";
|
|
1620
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
1621
|
+
} | {
|
|
1622
|
+
type: "image";
|
|
1623
|
+
src: string;
|
|
1624
|
+
alt?: string | undefined;
|
|
1625
|
+
fit?: "contain" | "cover" | undefined;
|
|
1626
|
+
})[] | undefined;
|
|
1627
|
+
footer?: string | undefined;
|
|
1628
|
+
label?: string | undefined;
|
|
1629
|
+
num?: number | undefined;
|
|
1630
|
+
icon?: string | undefined;
|
|
1631
|
+
}[];
|
|
1632
|
+
layout: "columns";
|
|
1633
|
+
stepLabel?: string | undefined;
|
|
1634
|
+
subtitle?: string | undefined;
|
|
1635
|
+
showArrows?: boolean | undefined;
|
|
1636
|
+
callout?: {
|
|
1637
|
+
text: string;
|
|
1638
|
+
label?: string | undefined;
|
|
1639
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
1640
|
+
align?: "left" | "center" | undefined;
|
|
1641
|
+
leftBar?: boolean | undefined;
|
|
1642
|
+
} | undefined;
|
|
1643
|
+
bottomText?: string | undefined;
|
|
1644
|
+
accentColor?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
1645
|
+
style?: {
|
|
1646
|
+
bgColor?: string | undefined;
|
|
1647
|
+
decorations?: boolean | undefined;
|
|
1648
|
+
bgOpacity?: number | undefined;
|
|
1649
|
+
footer?: string | undefined;
|
|
1650
|
+
} | undefined;
|
|
1651
|
+
} | {
|
|
1652
|
+
title: string;
|
|
1653
|
+
left: {
|
|
1654
|
+
title: string;
|
|
1655
|
+
accentColor?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
1656
|
+
content?: ({
|
|
1657
|
+
type: "text";
|
|
1658
|
+
value: string;
|
|
1659
|
+
align?: "left" | "center" | "right" | undefined;
|
|
1660
|
+
bold?: boolean | undefined;
|
|
1661
|
+
dim?: boolean | undefined;
|
|
1662
|
+
fontSize?: number | undefined;
|
|
1663
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
1664
|
+
} | {
|
|
1665
|
+
type: "bullets";
|
|
1666
|
+
items: string[];
|
|
1667
|
+
ordered?: boolean | undefined;
|
|
1668
|
+
icon?: string | undefined;
|
|
1669
|
+
} | {
|
|
1670
|
+
type: "code";
|
|
1671
|
+
code: string;
|
|
1672
|
+
language?: string | undefined;
|
|
1673
|
+
} | {
|
|
1674
|
+
type: "callout";
|
|
1675
|
+
text: string;
|
|
1676
|
+
label?: string | undefined;
|
|
1677
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
1678
|
+
style?: "warning" | "info" | "quote" | undefined;
|
|
1679
|
+
} | {
|
|
1680
|
+
type: "metric";
|
|
1681
|
+
value: string;
|
|
1682
|
+
label: string;
|
|
1683
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
1684
|
+
change?: string | undefined;
|
|
1685
|
+
} | {
|
|
1686
|
+
type: "divider";
|
|
1687
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
1688
|
+
} | {
|
|
1689
|
+
type: "image";
|
|
1690
|
+
src: string;
|
|
1691
|
+
alt?: string | undefined;
|
|
1692
|
+
fit?: "contain" | "cover" | undefined;
|
|
1693
|
+
})[] | undefined;
|
|
1694
|
+
footer?: string | undefined;
|
|
1695
|
+
};
|
|
1696
|
+
right: {
|
|
1697
|
+
title: string;
|
|
1698
|
+
accentColor?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
1699
|
+
content?: ({
|
|
1700
|
+
type: "text";
|
|
1701
|
+
value: string;
|
|
1702
|
+
align?: "left" | "center" | "right" | undefined;
|
|
1703
|
+
bold?: boolean | undefined;
|
|
1704
|
+
dim?: boolean | undefined;
|
|
1705
|
+
fontSize?: number | undefined;
|
|
1706
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
1707
|
+
} | {
|
|
1708
|
+
type: "bullets";
|
|
1709
|
+
items: string[];
|
|
1710
|
+
ordered?: boolean | undefined;
|
|
1711
|
+
icon?: string | undefined;
|
|
1712
|
+
} | {
|
|
1713
|
+
type: "code";
|
|
1714
|
+
code: string;
|
|
1715
|
+
language?: string | undefined;
|
|
1716
|
+
} | {
|
|
1717
|
+
type: "callout";
|
|
1718
|
+
text: string;
|
|
1719
|
+
label?: string | undefined;
|
|
1720
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
1721
|
+
style?: "warning" | "info" | "quote" | undefined;
|
|
1722
|
+
} | {
|
|
1723
|
+
type: "metric";
|
|
1724
|
+
value: string;
|
|
1725
|
+
label: string;
|
|
1726
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
1727
|
+
change?: string | undefined;
|
|
1728
|
+
} | {
|
|
1729
|
+
type: "divider";
|
|
1730
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
1731
|
+
} | {
|
|
1732
|
+
type: "image";
|
|
1733
|
+
src: string;
|
|
1734
|
+
alt?: string | undefined;
|
|
1735
|
+
fit?: "contain" | "cover" | undefined;
|
|
1736
|
+
})[] | undefined;
|
|
1737
|
+
footer?: string | undefined;
|
|
1738
|
+
};
|
|
1739
|
+
layout: "comparison";
|
|
1740
|
+
stepLabel?: string | undefined;
|
|
1741
|
+
subtitle?: string | undefined;
|
|
1742
|
+
callout?: {
|
|
1743
|
+
text: string;
|
|
1744
|
+
label?: string | undefined;
|
|
1745
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
1746
|
+
align?: "left" | "center" | undefined;
|
|
1747
|
+
leftBar?: boolean | undefined;
|
|
1748
|
+
} | undefined;
|
|
1749
|
+
accentColor?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
1750
|
+
style?: {
|
|
1751
|
+
bgColor?: string | undefined;
|
|
1752
|
+
decorations?: boolean | undefined;
|
|
1753
|
+
bgOpacity?: number | undefined;
|
|
1754
|
+
footer?: string | undefined;
|
|
1755
|
+
} | undefined;
|
|
1756
|
+
} | {
|
|
1757
|
+
title: string;
|
|
1758
|
+
items: {
|
|
1759
|
+
title: string;
|
|
1760
|
+
description?: string | undefined;
|
|
1761
|
+
accentColor?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
1762
|
+
num?: number | undefined;
|
|
1763
|
+
icon?: string | undefined;
|
|
1764
|
+
content?: ({
|
|
1765
|
+
type: "text";
|
|
1766
|
+
value: string;
|
|
1767
|
+
align?: "left" | "center" | "right" | undefined;
|
|
1768
|
+
bold?: boolean | undefined;
|
|
1769
|
+
dim?: boolean | undefined;
|
|
1770
|
+
fontSize?: number | undefined;
|
|
1771
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
1772
|
+
} | {
|
|
1773
|
+
type: "bullets";
|
|
1774
|
+
items: string[];
|
|
1775
|
+
ordered?: boolean | undefined;
|
|
1776
|
+
icon?: string | undefined;
|
|
1777
|
+
} | {
|
|
1778
|
+
type: "code";
|
|
1779
|
+
code: string;
|
|
1780
|
+
language?: string | undefined;
|
|
1781
|
+
} | {
|
|
1782
|
+
type: "callout";
|
|
1783
|
+
text: string;
|
|
1784
|
+
label?: string | undefined;
|
|
1785
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
1786
|
+
style?: "warning" | "info" | "quote" | undefined;
|
|
1787
|
+
} | {
|
|
1788
|
+
type: "metric";
|
|
1789
|
+
value: string;
|
|
1790
|
+
label: string;
|
|
1791
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
1792
|
+
change?: string | undefined;
|
|
1793
|
+
} | {
|
|
1794
|
+
type: "divider";
|
|
1795
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
1796
|
+
} | {
|
|
1797
|
+
type: "image";
|
|
1798
|
+
src: string;
|
|
1799
|
+
alt?: string | undefined;
|
|
1800
|
+
fit?: "contain" | "cover" | undefined;
|
|
1801
|
+
})[] | undefined;
|
|
1802
|
+
}[];
|
|
1803
|
+
layout: "grid";
|
|
1804
|
+
subtitle?: string | undefined;
|
|
1805
|
+
gridColumns?: number | undefined;
|
|
1806
|
+
footer?: string | undefined;
|
|
1807
|
+
accentColor?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
1808
|
+
style?: {
|
|
1809
|
+
bgColor?: string | undefined;
|
|
1810
|
+
decorations?: boolean | undefined;
|
|
1811
|
+
bgOpacity?: number | undefined;
|
|
1812
|
+
footer?: string | undefined;
|
|
1813
|
+
} | undefined;
|
|
1814
|
+
} | {
|
|
1815
|
+
quote: string;
|
|
1816
|
+
layout: "bigQuote";
|
|
1817
|
+
author?: string | undefined;
|
|
1818
|
+
role?: string | undefined;
|
|
1819
|
+
accentColor?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
1820
|
+
style?: {
|
|
1821
|
+
bgColor?: string | undefined;
|
|
1822
|
+
decorations?: boolean | undefined;
|
|
1823
|
+
bgOpacity?: number | undefined;
|
|
1824
|
+
footer?: string | undefined;
|
|
1825
|
+
} | undefined;
|
|
1826
|
+
} | {
|
|
1827
|
+
title: string;
|
|
1828
|
+
stats: {
|
|
1829
|
+
value: string;
|
|
1830
|
+
label: string;
|
|
1831
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
1832
|
+
change?: string | undefined;
|
|
1833
|
+
}[];
|
|
1834
|
+
layout: "stats";
|
|
1835
|
+
stepLabel?: string | undefined;
|
|
1836
|
+
subtitle?: string | undefined;
|
|
1837
|
+
callout?: {
|
|
1838
|
+
text: string;
|
|
1839
|
+
label?: string | undefined;
|
|
1840
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
1841
|
+
align?: "left" | "center" | undefined;
|
|
1842
|
+
leftBar?: boolean | undefined;
|
|
1843
|
+
} | undefined;
|
|
1844
|
+
accentColor?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
1845
|
+
style?: {
|
|
1846
|
+
bgColor?: string | undefined;
|
|
1847
|
+
decorations?: boolean | undefined;
|
|
1848
|
+
bgOpacity?: number | undefined;
|
|
1849
|
+
footer?: string | undefined;
|
|
1850
|
+
} | undefined;
|
|
1851
|
+
} | {
|
|
1852
|
+
title: string;
|
|
1853
|
+
items: {
|
|
1854
|
+
date: string;
|
|
1855
|
+
title: string;
|
|
1856
|
+
description?: string | undefined;
|
|
1857
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
1858
|
+
done?: boolean | undefined;
|
|
1859
|
+
}[];
|
|
1860
|
+
layout: "timeline";
|
|
1861
|
+
stepLabel?: string | undefined;
|
|
1862
|
+
subtitle?: string | undefined;
|
|
1863
|
+
accentColor?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
1864
|
+
style?: {
|
|
1865
|
+
bgColor?: string | undefined;
|
|
1866
|
+
decorations?: boolean | undefined;
|
|
1867
|
+
bgOpacity?: number | undefined;
|
|
1868
|
+
footer?: string | undefined;
|
|
1869
|
+
} | undefined;
|
|
1870
|
+
} | {
|
|
1871
|
+
layout: "split";
|
|
1872
|
+
left?: {
|
|
1873
|
+
title?: string | undefined;
|
|
1874
|
+
subtitle?: string | undefined;
|
|
1875
|
+
label?: string | undefined;
|
|
1876
|
+
accentColor?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
1877
|
+
content?: ({
|
|
1878
|
+
type: "text";
|
|
1879
|
+
value: string;
|
|
1880
|
+
align?: "left" | "center" | "right" | undefined;
|
|
1881
|
+
bold?: boolean | undefined;
|
|
1882
|
+
dim?: boolean | undefined;
|
|
1883
|
+
fontSize?: number | undefined;
|
|
1884
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
1885
|
+
} | {
|
|
1886
|
+
type: "bullets";
|
|
1887
|
+
items: string[];
|
|
1888
|
+
ordered?: boolean | undefined;
|
|
1889
|
+
icon?: string | undefined;
|
|
1890
|
+
} | {
|
|
1891
|
+
type: "code";
|
|
1892
|
+
code: string;
|
|
1893
|
+
language?: string | undefined;
|
|
1894
|
+
} | {
|
|
1895
|
+
type: "callout";
|
|
1896
|
+
text: string;
|
|
1897
|
+
label?: string | undefined;
|
|
1898
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
1899
|
+
style?: "warning" | "info" | "quote" | undefined;
|
|
1900
|
+
} | {
|
|
1901
|
+
type: "metric";
|
|
1902
|
+
value: string;
|
|
1903
|
+
label: string;
|
|
1904
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
1905
|
+
change?: string | undefined;
|
|
1906
|
+
} | {
|
|
1907
|
+
type: "divider";
|
|
1908
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
1909
|
+
} | {
|
|
1910
|
+
type: "image";
|
|
1911
|
+
src: string;
|
|
1912
|
+
alt?: string | undefined;
|
|
1913
|
+
fit?: "contain" | "cover" | undefined;
|
|
1914
|
+
})[] | undefined;
|
|
1915
|
+
dark?: boolean | undefined;
|
|
1916
|
+
ratio?: number | undefined;
|
|
1917
|
+
} | undefined;
|
|
1918
|
+
right?: {
|
|
1919
|
+
title?: string | undefined;
|
|
1920
|
+
subtitle?: string | undefined;
|
|
1921
|
+
label?: string | undefined;
|
|
1922
|
+
accentColor?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
1923
|
+
content?: ({
|
|
1924
|
+
type: "text";
|
|
1925
|
+
value: string;
|
|
1926
|
+
align?: "left" | "center" | "right" | undefined;
|
|
1927
|
+
bold?: boolean | undefined;
|
|
1928
|
+
dim?: boolean | undefined;
|
|
1929
|
+
fontSize?: number | undefined;
|
|
1930
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
1931
|
+
} | {
|
|
1932
|
+
type: "bullets";
|
|
1933
|
+
items: string[];
|
|
1934
|
+
ordered?: boolean | undefined;
|
|
1935
|
+
icon?: string | undefined;
|
|
1936
|
+
} | {
|
|
1937
|
+
type: "code";
|
|
1938
|
+
code: string;
|
|
1939
|
+
language?: string | undefined;
|
|
1940
|
+
} | {
|
|
1941
|
+
type: "callout";
|
|
1942
|
+
text: string;
|
|
1943
|
+
label?: string | undefined;
|
|
1944
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
1945
|
+
style?: "warning" | "info" | "quote" | undefined;
|
|
1946
|
+
} | {
|
|
1947
|
+
type: "metric";
|
|
1948
|
+
value: string;
|
|
1949
|
+
label: string;
|
|
1950
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
1951
|
+
change?: string | undefined;
|
|
1952
|
+
} | {
|
|
1953
|
+
type: "divider";
|
|
1954
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
1955
|
+
} | {
|
|
1956
|
+
type: "image";
|
|
1957
|
+
src: string;
|
|
1958
|
+
alt?: string | undefined;
|
|
1959
|
+
fit?: "contain" | "cover" | undefined;
|
|
1960
|
+
})[] | undefined;
|
|
1961
|
+
dark?: boolean | undefined;
|
|
1962
|
+
ratio?: number | undefined;
|
|
1963
|
+
} | undefined;
|
|
1964
|
+
accentColor?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
1965
|
+
style?: {
|
|
1966
|
+
bgColor?: string | undefined;
|
|
1967
|
+
decorations?: boolean | undefined;
|
|
1968
|
+
bgOpacity?: number | undefined;
|
|
1969
|
+
footer?: string | undefined;
|
|
1970
|
+
} | undefined;
|
|
1971
|
+
} | {
|
|
1972
|
+
title: string;
|
|
1973
|
+
cells: {
|
|
1974
|
+
label: string;
|
|
1975
|
+
items?: string[] | undefined;
|
|
1976
|
+
content?: ({
|
|
1977
|
+
type: "text";
|
|
1978
|
+
value: string;
|
|
1979
|
+
align?: "left" | "center" | "right" | undefined;
|
|
1980
|
+
bold?: boolean | undefined;
|
|
1981
|
+
dim?: boolean | undefined;
|
|
1982
|
+
fontSize?: number | undefined;
|
|
1983
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
1984
|
+
} | {
|
|
1985
|
+
type: "bullets";
|
|
1986
|
+
items: string[];
|
|
1987
|
+
ordered?: boolean | undefined;
|
|
1988
|
+
icon?: string | undefined;
|
|
1989
|
+
} | {
|
|
1990
|
+
type: "code";
|
|
1991
|
+
code: string;
|
|
1992
|
+
language?: string | undefined;
|
|
1993
|
+
} | {
|
|
1994
|
+
type: "callout";
|
|
1995
|
+
text: string;
|
|
1996
|
+
label?: string | undefined;
|
|
1997
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
1998
|
+
style?: "warning" | "info" | "quote" | undefined;
|
|
1999
|
+
} | {
|
|
2000
|
+
type: "metric";
|
|
2001
|
+
value: string;
|
|
2002
|
+
label: string;
|
|
2003
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
2004
|
+
change?: string | undefined;
|
|
2005
|
+
} | {
|
|
2006
|
+
type: "divider";
|
|
2007
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
2008
|
+
} | {
|
|
2009
|
+
type: "image";
|
|
2010
|
+
src: string;
|
|
2011
|
+
alt?: string | undefined;
|
|
2012
|
+
fit?: "contain" | "cover" | undefined;
|
|
2013
|
+
})[] | undefined;
|
|
2014
|
+
accentColor?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
2015
|
+
}[];
|
|
2016
|
+
layout: "matrix";
|
|
2017
|
+
stepLabel?: string | undefined;
|
|
2018
|
+
subtitle?: string | undefined;
|
|
2019
|
+
rows?: number | undefined;
|
|
2020
|
+
cols?: number | undefined;
|
|
2021
|
+
xAxis?: {
|
|
2022
|
+
low?: string | undefined;
|
|
2023
|
+
high?: string | undefined;
|
|
2024
|
+
label?: string | undefined;
|
|
2025
|
+
} | undefined;
|
|
2026
|
+
yAxis?: {
|
|
2027
|
+
low?: string | undefined;
|
|
2028
|
+
high?: string | undefined;
|
|
2029
|
+
label?: string | undefined;
|
|
2030
|
+
} | undefined;
|
|
2031
|
+
accentColor?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
2032
|
+
style?: {
|
|
2033
|
+
bgColor?: string | undefined;
|
|
2034
|
+
decorations?: boolean | undefined;
|
|
2035
|
+
bgOpacity?: number | undefined;
|
|
2036
|
+
footer?: string | undefined;
|
|
2037
|
+
} | undefined;
|
|
2038
|
+
} | {
|
|
2039
|
+
title: string;
|
|
2040
|
+
headers: string[];
|
|
2041
|
+
rows: (string | {
|
|
2042
|
+
text: string;
|
|
2043
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
2044
|
+
bold?: boolean | undefined;
|
|
2045
|
+
})[][];
|
|
2046
|
+
layout: "table";
|
|
2047
|
+
stepLabel?: string | undefined;
|
|
2048
|
+
subtitle?: string | undefined;
|
|
2049
|
+
rowHeaders?: boolean | undefined;
|
|
2050
|
+
striped?: boolean | undefined;
|
|
2051
|
+
callout?: {
|
|
2052
|
+
text: string;
|
|
2053
|
+
label?: string | undefined;
|
|
2054
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
2055
|
+
align?: "left" | "center" | undefined;
|
|
2056
|
+
leftBar?: boolean | undefined;
|
|
2057
|
+
} | undefined;
|
|
2058
|
+
accentColor?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
2059
|
+
style?: {
|
|
2060
|
+
bgColor?: string | undefined;
|
|
2061
|
+
decorations?: boolean | undefined;
|
|
2062
|
+
bgOpacity?: number | undefined;
|
|
2063
|
+
footer?: string | undefined;
|
|
2064
|
+
} | undefined;
|
|
2065
|
+
} | {
|
|
2066
|
+
title: string;
|
|
2067
|
+
stages: {
|
|
2068
|
+
label: string;
|
|
2069
|
+
value?: string | undefined;
|
|
2070
|
+
description?: string | undefined;
|
|
2071
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
2072
|
+
}[];
|
|
2073
|
+
layout: "funnel";
|
|
2074
|
+
stepLabel?: string | undefined;
|
|
2075
|
+
subtitle?: string | undefined;
|
|
2076
|
+
callout?: {
|
|
2077
|
+
text: string;
|
|
2078
|
+
label?: string | undefined;
|
|
2079
|
+
color?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
2080
|
+
align?: "left" | "center" | undefined;
|
|
2081
|
+
leftBar?: boolean | undefined;
|
|
2082
|
+
} | undefined;
|
|
2083
|
+
accentColor?: "success" | "primary" | "accent" | "warning" | "danger" | "info" | "highlight" | undefined;
|
|
2084
|
+
style?: {
|
|
2085
|
+
bgColor?: string | undefined;
|
|
2086
|
+
decorations?: boolean | undefined;
|
|
2087
|
+
bgOpacity?: number | undefined;
|
|
2088
|
+
footer?: string | undefined;
|
|
2089
|
+
} | undefined;
|
|
2090
|
+
};
|
|
2091
|
+
theme?: {
|
|
2092
|
+
colors: {
|
|
2093
|
+
bg: string;
|
|
2094
|
+
bgCard: string;
|
|
2095
|
+
bgCardAlt: string;
|
|
2096
|
+
text: string;
|
|
2097
|
+
textMuted: string;
|
|
2098
|
+
textDim: string;
|
|
2099
|
+
primary: string;
|
|
2100
|
+
accent: string;
|
|
2101
|
+
success: string;
|
|
2102
|
+
warning: string;
|
|
2103
|
+
danger: string;
|
|
2104
|
+
info: string;
|
|
2105
|
+
highlight: string;
|
|
2106
|
+
};
|
|
2107
|
+
fonts: {
|
|
2108
|
+
title: string;
|
|
2109
|
+
body: string;
|
|
2110
|
+
mono: string;
|
|
2111
|
+
};
|
|
2112
|
+
} | undefined;
|
|
2113
|
+
} | {
|
|
1002
2114
|
type: "image";
|
|
1003
2115
|
source: {
|
|
1004
2116
|
kind: "url";
|
|
@@ -1034,7 +2146,7 @@ export declare const initializeContextFromFiles: (files: FileObject, raiseError:
|
|
|
1034
2146
|
kind: "path";
|
|
1035
2147
|
path: string;
|
|
1036
2148
|
};
|
|
1037
|
-
size?: "
|
|
2149
|
+
size?: "contain" | "cover" | "fill" | "auto" | undefined;
|
|
1038
2150
|
opacity?: number | undefined;
|
|
1039
2151
|
} | null | undefined;
|
|
1040
2152
|
} | {
|
|
@@ -1095,7 +2207,7 @@ export declare const initializeContextFromFiles: (files: FileObject, raiseError:
|
|
|
1095
2207
|
kind: "path";
|
|
1096
2208
|
path: string;
|
|
1097
2209
|
};
|
|
1098
|
-
size?: "
|
|
2210
|
+
size?: "contain" | "cover" | "fill" | "auto" | undefined;
|
|
1099
2211
|
opacity?: number | undefined;
|
|
1100
2212
|
} | null | undefined;
|
|
1101
2213
|
} | {
|
|
@@ -1131,7 +2243,7 @@ export declare const initializeContextFromFiles: (files: FileObject, raiseError:
|
|
|
1131
2243
|
kind: "path";
|
|
1132
2244
|
path: string;
|
|
1133
2245
|
};
|
|
1134
|
-
size?: "
|
|
2246
|
+
size?: "contain" | "cover" | "fill" | "auto" | undefined;
|
|
1135
2247
|
opacity?: number | undefined;
|
|
1136
2248
|
} | null | undefined;
|
|
1137
2249
|
} | {
|
|
@@ -1396,6 +2508,30 @@ export declare const initializeContextFromFiles: (files: FileObject, raiseError:
|
|
|
1396
2508
|
textSlideParams?: {
|
|
1397
2509
|
cssStyles: string | string[];
|
|
1398
2510
|
} | undefined;
|
|
2511
|
+
slideParams?: {
|
|
2512
|
+
theme: {
|
|
2513
|
+
colors: {
|
|
2514
|
+
bg: string;
|
|
2515
|
+
bgCard: string;
|
|
2516
|
+
bgCardAlt: string;
|
|
2517
|
+
text: string;
|
|
2518
|
+
textMuted: string;
|
|
2519
|
+
textDim: string;
|
|
2520
|
+
primary: string;
|
|
2521
|
+
accent: string;
|
|
2522
|
+
success: string;
|
|
2523
|
+
warning: string;
|
|
2524
|
+
danger: string;
|
|
2525
|
+
info: string;
|
|
2526
|
+
highlight: string;
|
|
2527
|
+
};
|
|
2528
|
+
fonts: {
|
|
2529
|
+
title: string;
|
|
2530
|
+
body: string;
|
|
2531
|
+
mono: string;
|
|
2532
|
+
};
|
|
2533
|
+
};
|
|
2534
|
+
} | undefined;
|
|
1399
2535
|
captionParams?: {
|
|
1400
2536
|
lang?: string | undefined;
|
|
1401
2537
|
styles?: string[] | undefined;
|
|
@@ -1536,7 +2672,7 @@ export declare const initializeContextFromFiles: (files: FileObject, raiseError:
|
|
|
1536
2672
|
kind: "path";
|
|
1537
2673
|
path: string;
|
|
1538
2674
|
};
|
|
1539
|
-
size?: "
|
|
2675
|
+
size?: "contain" | "cover" | "fill" | "auto" | undefined;
|
|
1540
2676
|
opacity?: number | undefined;
|
|
1541
2677
|
} | null | undefined;
|
|
1542
2678
|
};
|
|
@@ -1733,6 +2869,30 @@ export declare const initializeContextFromFiles: (files: FileObject, raiseError:
|
|
|
1733
2869
|
textSlideParams?: {
|
|
1734
2870
|
cssStyles: string | string[];
|
|
1735
2871
|
} | undefined;
|
|
2872
|
+
slideParams?: {
|
|
2873
|
+
theme: {
|
|
2874
|
+
colors: {
|
|
2875
|
+
bg: string;
|
|
2876
|
+
bgCard: string;
|
|
2877
|
+
bgCardAlt: string;
|
|
2878
|
+
text: string;
|
|
2879
|
+
textMuted: string;
|
|
2880
|
+
textDim: string;
|
|
2881
|
+
primary: string;
|
|
2882
|
+
accent: string;
|
|
2883
|
+
success: string;
|
|
2884
|
+
warning: string;
|
|
2885
|
+
danger: string;
|
|
2886
|
+
info: string;
|
|
2887
|
+
highlight: string;
|
|
2888
|
+
};
|
|
2889
|
+
fonts: {
|
|
2890
|
+
title: string;
|
|
2891
|
+
body: string;
|
|
2892
|
+
mono: string;
|
|
2893
|
+
};
|
|
2894
|
+
};
|
|
2895
|
+
} | undefined;
|
|
1736
2896
|
captionParams?: {
|
|
1737
2897
|
lang?: string | undefined;
|
|
1738
2898
|
styles?: string[] | undefined;
|