@liustack/pptfast 0.7.0 → 0.8.0

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.
@@ -5,7 +5,7 @@ import {
5
5
  blendOver,
6
6
  contrastRatio,
7
7
  renderSlideSvg
8
- } from "./chunk-7B3Y4FZZ.js";
8
+ } from "./chunk-4NKLJ7OK.js";
9
9
  import {
10
10
  findRemoteAssetRef,
11
11
  getPlatform
@@ -215,4 +215,4 @@ export {
215
215
  runPixelContrastAudit,
216
216
  stripTextNodes
217
217
  };
218
- //# sourceMappingURL=pixel-audit-YHV3VMUW.js.map
218
+ //# sourceMappingURL=pixel-audit-HJEJ36WB.js.map
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
2
 
3
- declare const VERSION = "0.7.0";
3
+ declare const VERSION = "0.8.0";
4
4
 
5
5
  /** Error class thrown by pptfast's public API surface (validation, rendering, export). */
6
6
  declare class PptfastError extends Error {
@@ -433,9 +433,97 @@ declare const ComponentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
433
433
  end: z.ZodNumber;
434
434
  }, z.core.$strict>>;
435
435
  axis_labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
436
+ }, z.core.$strict>, z.ZodObject<{
437
+ type: z.ZodLiteral<"pest">;
438
+ political: z.ZodObject<{
439
+ title: z.ZodOptional<z.ZodString>;
440
+ items: z.ZodArray<z.ZodString>;
441
+ }, z.core.$strict>;
442
+ economic: z.ZodObject<{
443
+ title: z.ZodOptional<z.ZodString>;
444
+ items: z.ZodArray<z.ZodString>;
445
+ }, z.core.$strict>;
446
+ social: z.ZodObject<{
447
+ title: z.ZodOptional<z.ZodString>;
448
+ items: z.ZodArray<z.ZodString>;
449
+ }, z.core.$strict>;
450
+ technological: z.ZodObject<{
451
+ title: z.ZodOptional<z.ZodString>;
452
+ items: z.ZodArray<z.ZodString>;
453
+ }, z.core.$strict>;
454
+ }, z.core.$strict>, z.ZodObject<{
455
+ type: z.ZodLiteral<"five_forces">;
456
+ rivalry: z.ZodObject<{
457
+ label: z.ZodOptional<z.ZodString>;
458
+ intensity: z.ZodOptional<z.ZodEnum<{
459
+ low: "low";
460
+ medium: "medium";
461
+ high: "high";
462
+ }>>;
463
+ items: z.ZodArray<z.ZodString>;
464
+ }, z.core.$strict>;
465
+ new_entrants: z.ZodObject<{
466
+ label: z.ZodOptional<z.ZodString>;
467
+ intensity: z.ZodOptional<z.ZodEnum<{
468
+ low: "low";
469
+ medium: "medium";
470
+ high: "high";
471
+ }>>;
472
+ items: z.ZodArray<z.ZodString>;
473
+ }, z.core.$strict>;
474
+ supplier_power: z.ZodObject<{
475
+ label: z.ZodOptional<z.ZodString>;
476
+ intensity: z.ZodOptional<z.ZodEnum<{
477
+ low: "low";
478
+ medium: "medium";
479
+ high: "high";
480
+ }>>;
481
+ items: z.ZodArray<z.ZodString>;
482
+ }, z.core.$strict>;
483
+ buyer_power: z.ZodObject<{
484
+ label: z.ZodOptional<z.ZodString>;
485
+ intensity: z.ZodOptional<z.ZodEnum<{
486
+ low: "low";
487
+ medium: "medium";
488
+ high: "high";
489
+ }>>;
490
+ items: z.ZodArray<z.ZodString>;
491
+ }, z.core.$strict>;
492
+ substitutes: z.ZodObject<{
493
+ label: z.ZodOptional<z.ZodString>;
494
+ intensity: z.ZodOptional<z.ZodEnum<{
495
+ low: "low";
496
+ medium: "medium";
497
+ high: "high";
498
+ }>>;
499
+ items: z.ZodArray<z.ZodString>;
500
+ }, z.core.$strict>;
501
+ }, z.core.$strict>, z.ZodObject<{
502
+ type: z.ZodLiteral<"heatmap">;
503
+ x_labels: z.ZodArray<z.ZodString>;
504
+ y_labels: z.ZodArray<z.ZodString>;
505
+ values: z.ZodArray<z.ZodArray<z.ZodNumber>>;
506
+ domain: z.ZodOptional<z.ZodObject<{
507
+ min: z.ZodNumber;
508
+ max: z.ZodNumber;
509
+ }, z.core.$strict>>;
510
+ show_values: z.ZodOptional<z.ZodBoolean>;
511
+ x_title: z.ZodOptional<z.ZodString>;
512
+ y_title: z.ZodOptional<z.ZodString>;
513
+ }, z.core.$strict>, z.ZodObject<{
514
+ type: z.ZodLiteral<"sankey">;
515
+ nodes: z.ZodArray<z.ZodObject<{
516
+ id: z.ZodString;
517
+ label: z.ZodString;
518
+ }, z.core.$strict>>;
519
+ links: z.ZodArray<z.ZodObject<{
520
+ from: z.ZodString;
521
+ to: z.ZodString;
522
+ value: z.ZodNumber;
523
+ }, z.core.$strict>>;
436
524
  }, z.core.$strict>], "type">;
437
525
  /**
438
- * All 28 component `type` discriminant values, derived from `ComponentSchema`
526
+ * All 32 component `type` discriminant values, derived from `ComponentSchema`
439
527
  * itself (never hand-copied) so this list can't drift from the union above.
440
528
  * Typed as plain `readonly string[]` rather than `Component["type"][]` —
441
529
  * every consumer of this list (W5's plan `focus` vocabulary gate,
@@ -759,6 +847,94 @@ declare const SlideSchema: z.ZodObject<{
759
847
  end: z.ZodNumber;
760
848
  }, z.core.$strict>>;
761
849
  axis_labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
850
+ }, z.core.$strict>, z.ZodObject<{
851
+ type: z.ZodLiteral<"pest">;
852
+ political: z.ZodObject<{
853
+ title: z.ZodOptional<z.ZodString>;
854
+ items: z.ZodArray<z.ZodString>;
855
+ }, z.core.$strict>;
856
+ economic: z.ZodObject<{
857
+ title: z.ZodOptional<z.ZodString>;
858
+ items: z.ZodArray<z.ZodString>;
859
+ }, z.core.$strict>;
860
+ social: z.ZodObject<{
861
+ title: z.ZodOptional<z.ZodString>;
862
+ items: z.ZodArray<z.ZodString>;
863
+ }, z.core.$strict>;
864
+ technological: z.ZodObject<{
865
+ title: z.ZodOptional<z.ZodString>;
866
+ items: z.ZodArray<z.ZodString>;
867
+ }, z.core.$strict>;
868
+ }, z.core.$strict>, z.ZodObject<{
869
+ type: z.ZodLiteral<"five_forces">;
870
+ rivalry: z.ZodObject<{
871
+ label: z.ZodOptional<z.ZodString>;
872
+ intensity: z.ZodOptional<z.ZodEnum<{
873
+ low: "low";
874
+ medium: "medium";
875
+ high: "high";
876
+ }>>;
877
+ items: z.ZodArray<z.ZodString>;
878
+ }, z.core.$strict>;
879
+ new_entrants: z.ZodObject<{
880
+ label: z.ZodOptional<z.ZodString>;
881
+ intensity: z.ZodOptional<z.ZodEnum<{
882
+ low: "low";
883
+ medium: "medium";
884
+ high: "high";
885
+ }>>;
886
+ items: z.ZodArray<z.ZodString>;
887
+ }, z.core.$strict>;
888
+ supplier_power: z.ZodObject<{
889
+ label: z.ZodOptional<z.ZodString>;
890
+ intensity: z.ZodOptional<z.ZodEnum<{
891
+ low: "low";
892
+ medium: "medium";
893
+ high: "high";
894
+ }>>;
895
+ items: z.ZodArray<z.ZodString>;
896
+ }, z.core.$strict>;
897
+ buyer_power: z.ZodObject<{
898
+ label: z.ZodOptional<z.ZodString>;
899
+ intensity: z.ZodOptional<z.ZodEnum<{
900
+ low: "low";
901
+ medium: "medium";
902
+ high: "high";
903
+ }>>;
904
+ items: z.ZodArray<z.ZodString>;
905
+ }, z.core.$strict>;
906
+ substitutes: z.ZodObject<{
907
+ label: z.ZodOptional<z.ZodString>;
908
+ intensity: z.ZodOptional<z.ZodEnum<{
909
+ low: "low";
910
+ medium: "medium";
911
+ high: "high";
912
+ }>>;
913
+ items: z.ZodArray<z.ZodString>;
914
+ }, z.core.$strict>;
915
+ }, z.core.$strict>, z.ZodObject<{
916
+ type: z.ZodLiteral<"heatmap">;
917
+ x_labels: z.ZodArray<z.ZodString>;
918
+ y_labels: z.ZodArray<z.ZodString>;
919
+ values: z.ZodArray<z.ZodArray<z.ZodNumber>>;
920
+ domain: z.ZodOptional<z.ZodObject<{
921
+ min: z.ZodNumber;
922
+ max: z.ZodNumber;
923
+ }, z.core.$strict>>;
924
+ show_values: z.ZodOptional<z.ZodBoolean>;
925
+ x_title: z.ZodOptional<z.ZodString>;
926
+ y_title: z.ZodOptional<z.ZodString>;
927
+ }, z.core.$strict>, z.ZodObject<{
928
+ type: z.ZodLiteral<"sankey">;
929
+ nodes: z.ZodArray<z.ZodObject<{
930
+ id: z.ZodString;
931
+ label: z.ZodString;
932
+ }, z.core.$strict>>;
933
+ links: z.ZodArray<z.ZodObject<{
934
+ from: z.ZodString;
935
+ to: z.ZodString;
936
+ value: z.ZodNumber;
937
+ }, z.core.$strict>>;
762
938
  }, z.core.$strict>], "type">>>;
763
939
  background: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
764
940
  kind: z.ZodLiteral<"color">;
@@ -1207,6 +1383,94 @@ declare const PptxIRSchema: z.ZodObject<{
1207
1383
  end: z.ZodNumber;
1208
1384
  }, z.core.$strict>>;
1209
1385
  axis_labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
1386
+ }, z.core.$strict>, z.ZodObject<{
1387
+ type: z.ZodLiteral<"pest">;
1388
+ political: z.ZodObject<{
1389
+ title: z.ZodOptional<z.ZodString>;
1390
+ items: z.ZodArray<z.ZodString>;
1391
+ }, z.core.$strict>;
1392
+ economic: z.ZodObject<{
1393
+ title: z.ZodOptional<z.ZodString>;
1394
+ items: z.ZodArray<z.ZodString>;
1395
+ }, z.core.$strict>;
1396
+ social: z.ZodObject<{
1397
+ title: z.ZodOptional<z.ZodString>;
1398
+ items: z.ZodArray<z.ZodString>;
1399
+ }, z.core.$strict>;
1400
+ technological: z.ZodObject<{
1401
+ title: z.ZodOptional<z.ZodString>;
1402
+ items: z.ZodArray<z.ZodString>;
1403
+ }, z.core.$strict>;
1404
+ }, z.core.$strict>, z.ZodObject<{
1405
+ type: z.ZodLiteral<"five_forces">;
1406
+ rivalry: z.ZodObject<{
1407
+ label: z.ZodOptional<z.ZodString>;
1408
+ intensity: z.ZodOptional<z.ZodEnum<{
1409
+ low: "low";
1410
+ medium: "medium";
1411
+ high: "high";
1412
+ }>>;
1413
+ items: z.ZodArray<z.ZodString>;
1414
+ }, z.core.$strict>;
1415
+ new_entrants: z.ZodObject<{
1416
+ label: z.ZodOptional<z.ZodString>;
1417
+ intensity: z.ZodOptional<z.ZodEnum<{
1418
+ low: "low";
1419
+ medium: "medium";
1420
+ high: "high";
1421
+ }>>;
1422
+ items: z.ZodArray<z.ZodString>;
1423
+ }, z.core.$strict>;
1424
+ supplier_power: z.ZodObject<{
1425
+ label: z.ZodOptional<z.ZodString>;
1426
+ intensity: z.ZodOptional<z.ZodEnum<{
1427
+ low: "low";
1428
+ medium: "medium";
1429
+ high: "high";
1430
+ }>>;
1431
+ items: z.ZodArray<z.ZodString>;
1432
+ }, z.core.$strict>;
1433
+ buyer_power: z.ZodObject<{
1434
+ label: z.ZodOptional<z.ZodString>;
1435
+ intensity: z.ZodOptional<z.ZodEnum<{
1436
+ low: "low";
1437
+ medium: "medium";
1438
+ high: "high";
1439
+ }>>;
1440
+ items: z.ZodArray<z.ZodString>;
1441
+ }, z.core.$strict>;
1442
+ substitutes: z.ZodObject<{
1443
+ label: z.ZodOptional<z.ZodString>;
1444
+ intensity: z.ZodOptional<z.ZodEnum<{
1445
+ low: "low";
1446
+ medium: "medium";
1447
+ high: "high";
1448
+ }>>;
1449
+ items: z.ZodArray<z.ZodString>;
1450
+ }, z.core.$strict>;
1451
+ }, z.core.$strict>, z.ZodObject<{
1452
+ type: z.ZodLiteral<"heatmap">;
1453
+ x_labels: z.ZodArray<z.ZodString>;
1454
+ y_labels: z.ZodArray<z.ZodString>;
1455
+ values: z.ZodArray<z.ZodArray<z.ZodNumber>>;
1456
+ domain: z.ZodOptional<z.ZodObject<{
1457
+ min: z.ZodNumber;
1458
+ max: z.ZodNumber;
1459
+ }, z.core.$strict>>;
1460
+ show_values: z.ZodOptional<z.ZodBoolean>;
1461
+ x_title: z.ZodOptional<z.ZodString>;
1462
+ y_title: z.ZodOptional<z.ZodString>;
1463
+ }, z.core.$strict>, z.ZodObject<{
1464
+ type: z.ZodLiteral<"sankey">;
1465
+ nodes: z.ZodArray<z.ZodObject<{
1466
+ id: z.ZodString;
1467
+ label: z.ZodString;
1468
+ }, z.core.$strict>>;
1469
+ links: z.ZodArray<z.ZodObject<{
1470
+ from: z.ZodString;
1471
+ to: z.ZodString;
1472
+ value: z.ZodNumber;
1473
+ }, z.core.$strict>>;
1210
1474
  }, z.core.$strict>], "type">>>;
1211
1475
  background: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1212
1476
  kind: z.ZodLiteral<"color">;