@blocknote/xl-pdf-exporter 0.30.1 → 0.31.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.
@@ -1 +1 @@
1
- {"builtAt":1747749781209,"assets":[{"name":"blocknote-xl-pdf-exporter.cjs","size":9696},{"name":"Inter_18pt-Regular-CCMUw8TC.cjs","size":457096},{"name":"Inter_18pt-Italic-B-14jOMa.cjs","size":462163},{"name":"Inter_18pt-Bold-yKiK3cOU.cjs","size":459057},{"name":"Inter_18pt-BoldItalic-TUYlzxLL.cjs","size":464431},{"name":"GeistMono-Regular--NrcstcO.cjs","size":155187},{"name":"GeistMono-Regular--NrcstcO.cjs.map","size":155239},{"name":"Inter_18pt-Italic-B-14jOMa.cjs.map","size":462221},{"name":"Inter_18pt-Bold-yKiK3cOU.cjs.map","size":459111},{"name":"Inter_18pt-BoldItalic-TUYlzxLL.cjs.map","size":464497},{"name":"Inter_18pt-Regular-CCMUw8TC.cjs.map","size":457156},{"name":"blocknote-xl-pdf-exporter.cjs.map","size":36148}],"chunks":[{"id":"a1ee98a","entry":true,"initial":true,"files":["blocknote-xl-pdf-exporter.cjs"],"names":["blocknote-xl-pdf-exporter"]},{"id":"b6f14fb","entry":false,"initial":false,"files":["Inter_18pt-Regular-CCMUw8TC.cjs"],"names":["Inter_18pt-Regular"]},{"id":"73c6ce6","entry":false,"initial":false,"files":["Inter_18pt-Italic-B-14jOMa.cjs"],"names":["Inter_18pt-Italic"]},{"id":"7793085","entry":false,"initial":false,"files":["Inter_18pt-Bold-yKiK3cOU.cjs"],"names":["Inter_18pt-Bold"]},{"id":"097c571","entry":false,"initial":false,"files":["Inter_18pt-BoldItalic-TUYlzxLL.cjs"],"names":["Inter_18pt-BoldItalic"]},{"id":"642be88","entry":false,"initial":false,"files":["GeistMono-Regular--NrcstcO.cjs"],"names":["GeistMono-Regular"]}],"modules":[{"name":"./src/pdf/util/listItem.tsx","size":1726,"chunks":["a1ee98a"]},{"name":"./src/pdf/util/table/Table.tsx","size":2365,"chunks":["a1ee98a"]},{"name":"./src/pdf/defaultSchema/blocks.tsx","size":6791,"chunks":["a1ee98a"]},{"name":"./src/pdf/defaultSchema/inlinecontent.tsx","size":317,"chunks":["a1ee98a"]},{"name":"./src/pdf/defaultSchema/styles.tsx","size":973,"chunks":["a1ee98a"]},{"name":"./src/pdf/defaultSchema/index.ts","size":199,"chunks":["a1ee98a"]},{"name":"../../shared/api/corsProxy.ts","size":139,"chunks":["a1ee98a"]},{"name":"../../shared/util/fileUtil.ts","size":180,"chunks":["a1ee98a"]},{"name":"./src/pdf/pdfExporter.tsx","size":5601,"chunks":["a1ee98a"]},{"name":"./src/index.ts","size":0,"chunks":["a1ee98a"]},{"name":"../../shared/assets/fonts/inter/Inter_18pt-Regular.ttf","size":456958,"chunks":["b6f14fb"]},{"name":"../../shared/assets/fonts/inter/Inter_18pt-Italic.ttf","size":462025,"chunks":["73c6ce6"]},{"name":"../../shared/assets/fonts/inter/Inter_18pt-Bold.ttf","size":458919,"chunks":["7793085"]},{"name":"../../shared/assets/fonts/inter/Inter_18pt-BoldItalic.ttf","size":464293,"chunks":["097c571"]},{"name":"../../shared/assets/fonts/GeistMono-Regular.ttf","size":155049,"chunks":["642be88"]}]}
1
+ {"builtAt":1747754377121,"assets":[{"name":"blocknote-xl-pdf-exporter.cjs","size":9696},{"name":"Inter_18pt-Regular-CCMUw8TC.cjs","size":457096},{"name":"Inter_18pt-Italic-B-14jOMa.cjs","size":462163},{"name":"Inter_18pt-Bold-yKiK3cOU.cjs","size":459057},{"name":"Inter_18pt-BoldItalic-TUYlzxLL.cjs","size":464431},{"name":"GeistMono-Regular--NrcstcO.cjs","size":155187},{"name":"Inter_18pt-Regular-CCMUw8TC.cjs.map","size":457156},{"name":"GeistMono-Regular--NrcstcO.cjs.map","size":155239},{"name":"Inter_18pt-Italic-B-14jOMa.cjs.map","size":462221},{"name":"Inter_18pt-Bold-yKiK3cOU.cjs.map","size":459111},{"name":"Inter_18pt-BoldItalic-TUYlzxLL.cjs.map","size":464497},{"name":"blocknote-xl-pdf-exporter.cjs.map","size":36148}],"chunks":[{"id":"a1ee98a","entry":true,"initial":true,"files":["blocknote-xl-pdf-exporter.cjs"],"names":["blocknote-xl-pdf-exporter"]},{"id":"b6f14fb","entry":false,"initial":false,"files":["Inter_18pt-Regular-CCMUw8TC.cjs"],"names":["Inter_18pt-Regular"]},{"id":"73c6ce6","entry":false,"initial":false,"files":["Inter_18pt-Italic-B-14jOMa.cjs"],"names":["Inter_18pt-Italic"]},{"id":"7793085","entry":false,"initial":false,"files":["Inter_18pt-Bold-yKiK3cOU.cjs"],"names":["Inter_18pt-Bold"]},{"id":"097c571","entry":false,"initial":false,"files":["Inter_18pt-BoldItalic-TUYlzxLL.cjs"],"names":["Inter_18pt-BoldItalic"]},{"id":"642be88","entry":false,"initial":false,"files":["GeistMono-Regular--NrcstcO.cjs"],"names":["GeistMono-Regular"]}],"modules":[{"name":"./src/pdf/util/listItem.tsx","size":1726,"chunks":["a1ee98a"]},{"name":"./src/pdf/util/table/Table.tsx","size":2365,"chunks":["a1ee98a"]},{"name":"./src/pdf/defaultSchema/blocks.tsx","size":6791,"chunks":["a1ee98a"]},{"name":"./src/pdf/defaultSchema/inlinecontent.tsx","size":317,"chunks":["a1ee98a"]},{"name":"./src/pdf/defaultSchema/styles.tsx","size":973,"chunks":["a1ee98a"]},{"name":"./src/pdf/defaultSchema/index.ts","size":199,"chunks":["a1ee98a"]},{"name":"../../shared/api/corsProxy.ts","size":139,"chunks":["a1ee98a"]},{"name":"../../shared/util/fileUtil.ts","size":180,"chunks":["a1ee98a"]},{"name":"./src/pdf/pdfExporter.tsx","size":5601,"chunks":["a1ee98a"]},{"name":"./src/index.ts","size":0,"chunks":["a1ee98a"]},{"name":"../../shared/assets/fonts/inter/Inter_18pt-Regular.ttf","size":456958,"chunks":["b6f14fb"]},{"name":"../../shared/assets/fonts/inter/Inter_18pt-Italic.ttf","size":462025,"chunks":["73c6ce6"]},{"name":"../../shared/assets/fonts/inter/Inter_18pt-Bold.ttf","size":458919,"chunks":["7793085"]},{"name":"../../shared/assets/fonts/inter/Inter_18pt-BoldItalic.ttf","size":464293,"chunks":["097c571"]},{"name":"../../shared/assets/fonts/GeistMono-Regular.ttf","size":155049,"chunks":["642be88"]}]}
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "directory": "packages/xl-pdf-exporter"
10
10
  },
11
11
  "license": "AGPL-3.0 OR PROPRIETARY",
12
- "version": "0.30.1",
12
+ "version": "0.31.0",
13
13
  "files": [
14
14
  "dist",
15
15
  "types",
@@ -48,8 +48,8 @@
48
48
  }
49
49
  },
50
50
  "dependencies": {
51
- "@blocknote/core": "0.30.1",
52
- "@blocknote/react": "0.30.1",
51
+ "@blocknote/core": "0.31.0",
52
+ "@blocknote/react": "0.31.0",
53
53
  "@react-pdf/renderer": "^4.3.0",
54
54
  "buffer": "^6.0.3",
55
55
  "docx": "^9.0.2"
@@ -429,77 +429,167 @@
429
429
  rows: [
430
430
  {
431
431
  cells: [
432
- [
433
- {
434
- styles: {},
435
- text: 'Wide Cell',
436
- type: 'text'
437
- }
438
- ],
439
- [
440
- {
441
- styles: {},
442
- text: 'Table Cell',
443
- type: 'text'
444
- }
445
- ],
446
- [
447
- {
448
- styles: {},
449
- text: 'Table Cell',
450
- type: 'text'
451
- }
452
- ]
432
+ {
433
+ content: [
434
+ {
435
+ styles: {},
436
+ text: 'Wide Cell',
437
+ type: 'text'
438
+ }
439
+ ],
440
+ props: {
441
+ backgroundColor: 'default',
442
+ colspan: 1,
443
+ rowspan: 1,
444
+ textAlignment: 'left',
445
+ textColor: 'default'
446
+ },
447
+ type: 'tableCell'
448
+ },
449
+ {
450
+ content: [
451
+ {
452
+ styles: {},
453
+ text: 'Table Cell',
454
+ type: 'text'
455
+ }
456
+ ],
457
+ props: {
458
+ backgroundColor: 'default',
459
+ colspan: 1,
460
+ rowspan: 1,
461
+ textAlignment: 'left',
462
+ textColor: 'default'
463
+ },
464
+ type: 'tableCell'
465
+ },
466
+ {
467
+ content: [
468
+ {
469
+ styles: {},
470
+ text: 'Table Cell',
471
+ type: 'text'
472
+ }
473
+ ],
474
+ props: {
475
+ backgroundColor: 'default',
476
+ colspan: 1,
477
+ rowspan: 1,
478
+ textAlignment: 'left',
479
+ textColor: 'default'
480
+ },
481
+ type: 'tableCell'
482
+ }
453
483
  ]
454
484
  },
455
485
  {
456
486
  cells: [
457
- [
458
- {
459
- styles: {},
460
- text: 'Wide Cell',
461
- type: 'text'
462
- }
463
- ],
464
- [
465
- {
466
- styles: {},
467
- text: 'Table Cell',
468
- type: 'text'
469
- }
470
- ],
471
- [
472
- {
473
- styles: {},
474
- text: 'Table Cell',
475
- type: 'text'
476
- }
477
- ]
487
+ {
488
+ content: [
489
+ {
490
+ styles: {},
491
+ text: 'Wide Cell',
492
+ type: 'text'
493
+ }
494
+ ],
495
+ props: {
496
+ backgroundColor: 'default',
497
+ colspan: 1,
498
+ rowspan: 1,
499
+ textAlignment: 'left',
500
+ textColor: 'default'
501
+ },
502
+ type: 'tableCell'
503
+ },
504
+ {
505
+ content: [
506
+ {
507
+ styles: {},
508
+ text: 'Table Cell',
509
+ type: 'text'
510
+ }
511
+ ],
512
+ props: {
513
+ backgroundColor: 'default',
514
+ colspan: 1,
515
+ rowspan: 1,
516
+ textAlignment: 'left',
517
+ textColor: 'default'
518
+ },
519
+ type: 'tableCell'
520
+ },
521
+ {
522
+ content: [
523
+ {
524
+ styles: {},
525
+ text: 'Table Cell',
526
+ type: 'text'
527
+ }
528
+ ],
529
+ props: {
530
+ backgroundColor: 'default',
531
+ colspan: 1,
532
+ rowspan: 1,
533
+ textAlignment: 'left',
534
+ textColor: 'default'
535
+ },
536
+ type: 'tableCell'
537
+ }
478
538
  ]
479
539
  },
480
540
  {
481
541
  cells: [
482
- [
483
- {
484
- styles: {},
485
- text: 'Wide Cell',
486
- type: 'text'
487
- }
488
- ],
489
- [
490
- {
491
- styles: {},
492
- text: 'Table Cell',
493
- type: 'text'
494
- }
495
- ],
496
- [
497
- {
498
- styles: {},
499
- text: 'Table Cell',
500
- type: 'text'
501
- }
502
- ]
542
+ {
543
+ content: [
544
+ {
545
+ styles: {},
546
+ text: 'Wide Cell',
547
+ type: 'text'
548
+ }
549
+ ],
550
+ props: {
551
+ backgroundColor: 'default',
552
+ colspan: 1,
553
+ rowspan: 1,
554
+ textAlignment: 'left',
555
+ textColor: 'default'
556
+ },
557
+ type: 'tableCell'
558
+ },
559
+ {
560
+ content: [
561
+ {
562
+ styles: {},
563
+ text: 'Table Cell',
564
+ type: 'text'
565
+ }
566
+ ],
567
+ props: {
568
+ backgroundColor: 'default',
569
+ colspan: 1,
570
+ rowspan: 1,
571
+ textAlignment: 'left',
572
+ textColor: 'default'
573
+ },
574
+ type: 'tableCell'
575
+ },
576
+ {
577
+ content: [
578
+ {
579
+ styles: {},
580
+ text: 'Table Cell',
581
+ type: 'text'
582
+ }
583
+ ],
584
+ props: {
585
+ backgroundColor: 'default',
586
+ colspan: 1,
587
+ rowspan: 1,
588
+ textAlignment: 'left',
589
+ textColor: 'default'
590
+ },
591
+ type: 'tableCell'
592
+ }
503
593
  ]
504
594
  }
505
595
  ],
@@ -809,79 +899,169 @@
809
899
  rows: [
810
900
  {
811
901
  cells: [
812
- [
813
- {
814
- styles: {},
815
- text: 'Table Cell 1',
816
- type: 'text'
817
- }
818
- ],
819
- [
820
- {
821
- styles: {},
822
- text: 'Table Cell 2',
823
- type: 'text'
824
- }
825
- ],
826
- [
827
- {
828
- styles: {},
829
- text: 'Table Cell 3',
830
- type: 'text'
831
- }
832
- ]
902
+ {
903
+ content: [
904
+ {
905
+ styles: {},
906
+ text: 'Table Cell 1',
907
+ type: 'text'
908
+ }
909
+ ],
910
+ props: {
911
+ backgroundColor: 'default',
912
+ colspan: 1,
913
+ rowspan: 1,
914
+ textAlignment: 'left',
915
+ textColor: 'default'
916
+ },
917
+ type: 'tableCell'
918
+ },
919
+ {
920
+ content: [
921
+ {
922
+ styles: {},
923
+ text: 'Table Cell 2',
924
+ type: 'text'
925
+ }
926
+ ],
927
+ props: {
928
+ backgroundColor: 'default',
929
+ colspan: 1,
930
+ rowspan: 1,
931
+ textAlignment: 'left',
932
+ textColor: 'default'
933
+ },
934
+ type: 'tableCell'
935
+ },
936
+ {
937
+ content: [
938
+ {
939
+ styles: {},
940
+ text: 'Table Cell 3',
941
+ type: 'text'
942
+ }
943
+ ],
944
+ props: {
945
+ backgroundColor: 'default',
946
+ colspan: 1,
947
+ rowspan: 1,
948
+ textAlignment: 'left',
949
+ textColor: 'default'
950
+ },
951
+ type: 'tableCell'
952
+ }
833
953
  ]
834
954
  },
835
955
  {
836
956
  cells: [
837
- [
838
- {
839
- styles: {},
840
- text: 'Table Cell 4',
841
- type: 'text'
842
- }
843
- ],
844
- [
845
- {
846
- styles: {
847
- bold: true
848
- },
849
- text: 'Table Cell Bold 5',
850
- type: 'text'
851
- }
852
- ],
853
- [
854
- {
855
- styles: {},
856
- text: 'Table Cell 6',
857
- type: 'text'
858
- }
859
- ]
957
+ {
958
+ content: [
959
+ {
960
+ styles: {},
961
+ text: 'Table Cell 4',
962
+ type: 'text'
963
+ }
964
+ ],
965
+ props: {
966
+ backgroundColor: 'default',
967
+ colspan: 1,
968
+ rowspan: 1,
969
+ textAlignment: 'left',
970
+ textColor: 'default'
971
+ },
972
+ type: 'tableCell'
973
+ },
974
+ {
975
+ content: [
976
+ {
977
+ styles: {
978
+ bold: true
979
+ },
980
+ text: 'Table Cell Bold 5',
981
+ type: 'text'
982
+ }
983
+ ],
984
+ props: {
985
+ backgroundColor: 'default',
986
+ colspan: 1,
987
+ rowspan: 1,
988
+ textAlignment: 'left',
989
+ textColor: 'default'
990
+ },
991
+ type: 'tableCell'
992
+ },
993
+ {
994
+ content: [
995
+ {
996
+ styles: {},
997
+ text: 'Table Cell 6',
998
+ type: 'text'
999
+ }
1000
+ ],
1001
+ props: {
1002
+ backgroundColor: 'default',
1003
+ colspan: 1,
1004
+ rowspan: 1,
1005
+ textAlignment: 'left',
1006
+ textColor: 'default'
1007
+ },
1008
+ type: 'tableCell'
1009
+ }
860
1010
  ]
861
1011
  },
862
1012
  {
863
1013
  cells: [
864
- [
865
- {
866
- styles: {},
867
- text: 'Table Cell 7',
868
- type: 'text'
869
- }
870
- ],
871
- [
872
- {
873
- styles: {},
874
- text: 'Table Cell 8',
875
- type: 'text'
876
- }
877
- ],
878
- [
879
- {
880
- styles: {},
881
- text: 'Table Cell 9',
882
- type: 'text'
883
- }
884
- ]
1014
+ {
1015
+ content: [
1016
+ {
1017
+ styles: {},
1018
+ text: 'Table Cell 7',
1019
+ type: 'text'
1020
+ }
1021
+ ],
1022
+ props: {
1023
+ backgroundColor: 'default',
1024
+ colspan: 1,
1025
+ rowspan: 1,
1026
+ textAlignment: 'left',
1027
+ textColor: 'default'
1028
+ },
1029
+ type: 'tableCell'
1030
+ },
1031
+ {
1032
+ content: [
1033
+ {
1034
+ styles: {},
1035
+ text: 'Table Cell 8',
1036
+ type: 'text'
1037
+ }
1038
+ ],
1039
+ props: {
1040
+ backgroundColor: 'default',
1041
+ colspan: 1,
1042
+ rowspan: 1,
1043
+ textAlignment: 'left',
1044
+ textColor: 'default'
1045
+ },
1046
+ type: 'tableCell'
1047
+ },
1048
+ {
1049
+ content: [
1050
+ {
1051
+ styles: {},
1052
+ text: 'Table Cell 9',
1053
+ type: 'text'
1054
+ }
1055
+ ],
1056
+ props: {
1057
+ backgroundColor: 'default',
1058
+ colspan: 1,
1059
+ rowspan: 1,
1060
+ textAlignment: 'left',
1061
+ textColor: 'default'
1062
+ },
1063
+ type: 'tableCell'
1064
+ }
885
1065
  ]
886
1066
  }
887
1067
  ],
@@ -437,77 +437,167 @@
437
437
  rows: [
438
438
  {
439
439
  cells: [
440
- [
441
- {
442
- styles: {},
443
- text: 'Wide Cell',
444
- type: 'text'
445
- }
446
- ],
447
- [
448
- {
449
- styles: {},
450
- text: 'Table Cell',
451
- type: 'text'
452
- }
453
- ],
454
- [
455
- {
456
- styles: {},
457
- text: 'Table Cell',
458
- type: 'text'
459
- }
460
- ]
440
+ {
441
+ content: [
442
+ {
443
+ styles: {},
444
+ text: 'Wide Cell',
445
+ type: 'text'
446
+ }
447
+ ],
448
+ props: {
449
+ backgroundColor: 'default',
450
+ colspan: 1,
451
+ rowspan: 1,
452
+ textAlignment: 'left',
453
+ textColor: 'default'
454
+ },
455
+ type: 'tableCell'
456
+ },
457
+ {
458
+ content: [
459
+ {
460
+ styles: {},
461
+ text: 'Table Cell',
462
+ type: 'text'
463
+ }
464
+ ],
465
+ props: {
466
+ backgroundColor: 'default',
467
+ colspan: 1,
468
+ rowspan: 1,
469
+ textAlignment: 'left',
470
+ textColor: 'default'
471
+ },
472
+ type: 'tableCell'
473
+ },
474
+ {
475
+ content: [
476
+ {
477
+ styles: {},
478
+ text: 'Table Cell',
479
+ type: 'text'
480
+ }
481
+ ],
482
+ props: {
483
+ backgroundColor: 'default',
484
+ colspan: 1,
485
+ rowspan: 1,
486
+ textAlignment: 'left',
487
+ textColor: 'default'
488
+ },
489
+ type: 'tableCell'
490
+ }
461
491
  ]
462
492
  },
463
493
  {
464
494
  cells: [
465
- [
466
- {
467
- styles: {},
468
- text: 'Wide Cell',
469
- type: 'text'
470
- }
471
- ],
472
- [
473
- {
474
- styles: {},
475
- text: 'Table Cell',
476
- type: 'text'
477
- }
478
- ],
479
- [
480
- {
481
- styles: {},
482
- text: 'Table Cell',
483
- type: 'text'
484
- }
485
- ]
495
+ {
496
+ content: [
497
+ {
498
+ styles: {},
499
+ text: 'Wide Cell',
500
+ type: 'text'
501
+ }
502
+ ],
503
+ props: {
504
+ backgroundColor: 'default',
505
+ colspan: 1,
506
+ rowspan: 1,
507
+ textAlignment: 'left',
508
+ textColor: 'default'
509
+ },
510
+ type: 'tableCell'
511
+ },
512
+ {
513
+ content: [
514
+ {
515
+ styles: {},
516
+ text: 'Table Cell',
517
+ type: 'text'
518
+ }
519
+ ],
520
+ props: {
521
+ backgroundColor: 'default',
522
+ colspan: 1,
523
+ rowspan: 1,
524
+ textAlignment: 'left',
525
+ textColor: 'default'
526
+ },
527
+ type: 'tableCell'
528
+ },
529
+ {
530
+ content: [
531
+ {
532
+ styles: {},
533
+ text: 'Table Cell',
534
+ type: 'text'
535
+ }
536
+ ],
537
+ props: {
538
+ backgroundColor: 'default',
539
+ colspan: 1,
540
+ rowspan: 1,
541
+ textAlignment: 'left',
542
+ textColor: 'default'
543
+ },
544
+ type: 'tableCell'
545
+ }
486
546
  ]
487
547
  },
488
548
  {
489
549
  cells: [
490
- [
491
- {
492
- styles: {},
493
- text: 'Wide Cell',
494
- type: 'text'
495
- }
496
- ],
497
- [
498
- {
499
- styles: {},
500
- text: 'Table Cell',
501
- type: 'text'
502
- }
503
- ],
504
- [
505
- {
506
- styles: {},
507
- text: 'Table Cell',
508
- type: 'text'
509
- }
510
- ]
550
+ {
551
+ content: [
552
+ {
553
+ styles: {},
554
+ text: 'Wide Cell',
555
+ type: 'text'
556
+ }
557
+ ],
558
+ props: {
559
+ backgroundColor: 'default',
560
+ colspan: 1,
561
+ rowspan: 1,
562
+ textAlignment: 'left',
563
+ textColor: 'default'
564
+ },
565
+ type: 'tableCell'
566
+ },
567
+ {
568
+ content: [
569
+ {
570
+ styles: {},
571
+ text: 'Table Cell',
572
+ type: 'text'
573
+ }
574
+ ],
575
+ props: {
576
+ backgroundColor: 'default',
577
+ colspan: 1,
578
+ rowspan: 1,
579
+ textAlignment: 'left',
580
+ textColor: 'default'
581
+ },
582
+ type: 'tableCell'
583
+ },
584
+ {
585
+ content: [
586
+ {
587
+ styles: {},
588
+ text: 'Table Cell',
589
+ type: 'text'
590
+ }
591
+ ],
592
+ props: {
593
+ backgroundColor: 'default',
594
+ colspan: 1,
595
+ rowspan: 1,
596
+ textAlignment: 'left',
597
+ textColor: 'default'
598
+ },
599
+ type: 'tableCell'
600
+ }
511
601
  ]
512
602
  }
513
603
  ],
@@ -817,79 +907,169 @@
817
907
  rows: [
818
908
  {
819
909
  cells: [
820
- [
821
- {
822
- styles: {},
823
- text: 'Table Cell 1',
824
- type: 'text'
825
- }
826
- ],
827
- [
828
- {
829
- styles: {},
830
- text: 'Table Cell 2',
831
- type: 'text'
832
- }
833
- ],
834
- [
835
- {
836
- styles: {},
837
- text: 'Table Cell 3',
838
- type: 'text'
839
- }
840
- ]
910
+ {
911
+ content: [
912
+ {
913
+ styles: {},
914
+ text: 'Table Cell 1',
915
+ type: 'text'
916
+ }
917
+ ],
918
+ props: {
919
+ backgroundColor: 'default',
920
+ colspan: 1,
921
+ rowspan: 1,
922
+ textAlignment: 'left',
923
+ textColor: 'default'
924
+ },
925
+ type: 'tableCell'
926
+ },
927
+ {
928
+ content: [
929
+ {
930
+ styles: {},
931
+ text: 'Table Cell 2',
932
+ type: 'text'
933
+ }
934
+ ],
935
+ props: {
936
+ backgroundColor: 'default',
937
+ colspan: 1,
938
+ rowspan: 1,
939
+ textAlignment: 'left',
940
+ textColor: 'default'
941
+ },
942
+ type: 'tableCell'
943
+ },
944
+ {
945
+ content: [
946
+ {
947
+ styles: {},
948
+ text: 'Table Cell 3',
949
+ type: 'text'
950
+ }
951
+ ],
952
+ props: {
953
+ backgroundColor: 'default',
954
+ colspan: 1,
955
+ rowspan: 1,
956
+ textAlignment: 'left',
957
+ textColor: 'default'
958
+ },
959
+ type: 'tableCell'
960
+ }
841
961
  ]
842
962
  },
843
963
  {
844
964
  cells: [
845
- [
846
- {
847
- styles: {},
848
- text: 'Table Cell 4',
849
- type: 'text'
850
- }
851
- ],
852
- [
853
- {
854
- styles: {
855
- bold: true
856
- },
857
- text: 'Table Cell Bold 5',
858
- type: 'text'
859
- }
860
- ],
861
- [
862
- {
863
- styles: {},
864
- text: 'Table Cell 6',
865
- type: 'text'
866
- }
867
- ]
965
+ {
966
+ content: [
967
+ {
968
+ styles: {},
969
+ text: 'Table Cell 4',
970
+ type: 'text'
971
+ }
972
+ ],
973
+ props: {
974
+ backgroundColor: 'default',
975
+ colspan: 1,
976
+ rowspan: 1,
977
+ textAlignment: 'left',
978
+ textColor: 'default'
979
+ },
980
+ type: 'tableCell'
981
+ },
982
+ {
983
+ content: [
984
+ {
985
+ styles: {
986
+ bold: true
987
+ },
988
+ text: 'Table Cell Bold 5',
989
+ type: 'text'
990
+ }
991
+ ],
992
+ props: {
993
+ backgroundColor: 'default',
994
+ colspan: 1,
995
+ rowspan: 1,
996
+ textAlignment: 'left',
997
+ textColor: 'default'
998
+ },
999
+ type: 'tableCell'
1000
+ },
1001
+ {
1002
+ content: [
1003
+ {
1004
+ styles: {},
1005
+ text: 'Table Cell 6',
1006
+ type: 'text'
1007
+ }
1008
+ ],
1009
+ props: {
1010
+ backgroundColor: 'default',
1011
+ colspan: 1,
1012
+ rowspan: 1,
1013
+ textAlignment: 'left',
1014
+ textColor: 'default'
1015
+ },
1016
+ type: 'tableCell'
1017
+ }
868
1018
  ]
869
1019
  },
870
1020
  {
871
1021
  cells: [
872
- [
873
- {
874
- styles: {},
875
- text: 'Table Cell 7',
876
- type: 'text'
877
- }
878
- ],
879
- [
880
- {
881
- styles: {},
882
- text: 'Table Cell 8',
883
- type: 'text'
884
- }
885
- ],
886
- [
887
- {
888
- styles: {},
889
- text: 'Table Cell 9',
890
- type: 'text'
891
- }
892
- ]
1022
+ {
1023
+ content: [
1024
+ {
1025
+ styles: {},
1026
+ text: 'Table Cell 7',
1027
+ type: 'text'
1028
+ }
1029
+ ],
1030
+ props: {
1031
+ backgroundColor: 'default',
1032
+ colspan: 1,
1033
+ rowspan: 1,
1034
+ textAlignment: 'left',
1035
+ textColor: 'default'
1036
+ },
1037
+ type: 'tableCell'
1038
+ },
1039
+ {
1040
+ content: [
1041
+ {
1042
+ styles: {},
1043
+ text: 'Table Cell 8',
1044
+ type: 'text'
1045
+ }
1046
+ ],
1047
+ props: {
1048
+ backgroundColor: 'default',
1049
+ colspan: 1,
1050
+ rowspan: 1,
1051
+ textAlignment: 'left',
1052
+ textColor: 'default'
1053
+ },
1054
+ type: 'tableCell'
1055
+ },
1056
+ {
1057
+ content: [
1058
+ {
1059
+ styles: {},
1060
+ text: 'Table Cell 9',
1061
+ type: 'text'
1062
+ }
1063
+ ],
1064
+ props: {
1065
+ backgroundColor: 'default',
1066
+ colspan: 1,
1067
+ rowspan: 1,
1068
+ textAlignment: 'left',
1069
+ textColor: 'default'
1070
+ },
1071
+ type: 'tableCell'
1072
+ }
893
1073
  ]
894
1074
  }
895
1075
  ],