@json-to-office/jto 2.3.1 → 3.0.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.
Files changed (57) hide show
  1. package/dist/cli.js +123 -39
  2. package/dist/cli.js.map +1 -1
  3. package/dist/client/assets/HomePage-BlzZ7qG4.js +245 -0
  4. package/dist/client/assets/HomePage-BlzZ7qG4.js.map +1 -0
  5. package/dist/client/assets/{JsonEditorPage-DR9E7ul1.js → JsonEditorPage-kWuP_kL3.js} +3 -3
  6. package/dist/client/assets/{JsonEditorPage-DR9E7ul1.js.map → JsonEditorPage-kWuP_kL3.js.map} +1 -1
  7. package/dist/client/assets/{MonacoPluginProvider-CdHBp1cD.js → MonacoPluginProvider-Dbv1PrO2.js} +6 -6
  8. package/dist/client/assets/{MonacoPluginProvider-CdHBp1cD.js.map → MonacoPluginProvider-Dbv1PrO2.js.map} +1 -1
  9. package/dist/client/assets/{_virtual_jto-plugin-type-libs-BlMraosv.js → _virtual_jto-plugin-type-libs-B6KyD9RL.js} +7912 -3250
  10. package/dist/client/assets/{_virtual_jto-plugin-type-libs-BlMraosv.js.map → _virtual_jto-plugin-type-libs-B6KyD9RL.js.map} +1 -1
  11. package/dist/client/assets/_virtual_jto-sandbox-runtime-Bzo2M5U7.js +2 -0
  12. package/dist/client/assets/_virtual_jto-sandbox-runtime-Bzo2M5U7.js.map +1 -0
  13. package/dist/client/assets/editor-CwEocOY2.js +16 -0
  14. package/dist/client/assets/editor-CwEocOY2.js.map +1 -0
  15. package/dist/client/assets/editor-monaco-json-D_oiidNg.js +24 -0
  16. package/dist/client/assets/editor-monaco-json-D_oiidNg.js.map +1 -0
  17. package/dist/client/assets/index--kF4jVbp.css +1 -0
  18. package/dist/client/assets/index-DFJaEoi0.js +27 -0
  19. package/dist/client/assets/index-DFJaEoi0.js.map +1 -0
  20. package/dist/client/assets/index-UheDso2P.js +2 -0
  21. package/dist/client/assets/index-UheDso2P.js.map +1 -0
  22. package/dist/client/assets/preview-CWdUATNl.js +4 -0
  23. package/dist/client/assets/preview-CWdUATNl.js.map +1 -0
  24. package/dist/client/assets/useQualityAnalysis-Cl4QPeOT.js +6 -0
  25. package/dist/client/assets/useQualityAnalysis-Cl4QPeOT.js.map +1 -0
  26. package/dist/client/index.html +2 -2
  27. package/dist/client/templates/client-report-blocks.docx.json +791 -0
  28. package/dist/client/templates/consulting-deck-blocks.pptx.json +455 -0
  29. package/dist/client/templates/data-report-presentation.pptx.json +108 -36
  30. package/dist/client/templates/management-plan.pptx.json +100 -22
  31. package/dist/client/templates/minimalist-pitch-deck.pptx.json +172 -101
  32. package/dist/prompts/instructions-edit-document-pptx-blocks.md +77 -0
  33. package/dist/prompts/instructions-edit-document-pptx-slides.md +15 -21
  34. package/dist/prompts/instructions-edit-document-pptx.md +34 -53
  35. package/dist/prompts/instructions-edit-pptx.md +9 -8
  36. package/dist/prompts/instructions-generate-pptx.md +13 -17
  37. package/dist/prompts/pptx-core.md +104 -127
  38. package/dist/prompts/pptx-design.md +115 -109
  39. package/package.json +10 -9
  40. package/dist/client/assets/HomePage-Cq_CI7_t.js +0 -251
  41. package/dist/client/assets/HomePage-Cq_CI7_t.js.map +0 -1
  42. package/dist/client/assets/_virtual_jto-sandbox-runtime-XWrhySEO.js +0 -2
  43. package/dist/client/assets/_virtual_jto-sandbox-runtime-XWrhySEO.js.map +0 -1
  44. package/dist/client/assets/editor-D-LgWzQZ.js +0 -16
  45. package/dist/client/assets/editor-D-LgWzQZ.js.map +0 -1
  46. package/dist/client/assets/editor-monaco-json-BVkSRpj1.js +0 -24
  47. package/dist/client/assets/editor-monaco-json-BVkSRpj1.js.map +0 -1
  48. package/dist/client/assets/editor-refs-store-COFjkOeo.js +0 -2
  49. package/dist/client/assets/editor-refs-store-COFjkOeo.js.map +0 -1
  50. package/dist/client/assets/index-B9j3hDSy.js +0 -5
  51. package/dist/client/assets/index-B9j3hDSy.js.map +0 -1
  52. package/dist/client/assets/index-Bj6ZAKUc.css +0 -1
  53. package/dist/client/assets/preview-D0HsunpU.js +0 -4
  54. package/dist/client/assets/preview-D0HsunpU.js.map +0 -1
  55. package/dist/client/assets/useQualityAnalysis-PZsxJDvP.js +0 -6
  56. package/dist/client/assets/useQualityAnalysis-PZsxJDvP.js.map +0 -1
  57. package/dist/prompts/instructions-edit-document-pptx-templates.md +0 -63
@@ -78,10 +78,11 @@
78
78
  }
79
79
  }
80
80
  },
81
- "templates": [
82
- {
83
- "name": "chrome-ink",
84
- "objects": [
81
+ "blocks": {
82
+ "chrome-ink": {
83
+ "description": "Slide chrome shared by the chrome-ink slides of this deck.",
84
+ "slots": {},
85
+ "body": [
85
86
  {
86
87
  "name": "shape",
87
88
  "props": {
@@ -123,9 +124,10 @@
123
124
  }
124
125
  ]
125
126
  },
126
- {
127
- "name": "chrome-paper",
128
- "objects": [
127
+ "chrome-paper": {
128
+ "description": "Slide chrome shared by the chrome-paper slides of this deck.",
129
+ "slots": {},
130
+ "body": [
129
131
  {
130
132
  "name": "shape",
131
133
  "props": {
@@ -170,7 +172,7 @@
170
172
  }
171
173
  ]
172
174
  }
173
- ]
175
+ }
174
176
  },
175
177
  "children": [
176
178
  {
@@ -286,10 +288,15 @@
286
288
  "background": {
287
289
  "color": "secondary"
288
290
  },
289
- "notes": "Trend analysis — staircase bars 25/60/85%.",
290
- "template": "chrome-ink"
291
+ "notes": "Trend analysis — staircase bars 25/60/85%."
291
292
  },
292
293
  "children": [
294
+ {
295
+ "name": "block",
296
+ "props": {
297
+ "ref": "chrome-ink"
298
+ }
299
+ },
293
300
  {
294
301
  "name": "text",
295
302
  "props": {
@@ -510,10 +517,15 @@
510
517
  "background": {
511
518
  "color": "accent"
512
519
  },
513
- "notes": "Areas for growth — three numbered banner cards.",
514
- "template": "chrome-ink"
520
+ "notes": "Areas for growth — three numbered banner cards."
515
521
  },
516
522
  "children": [
523
+ {
524
+ "name": "block",
525
+ "props": {
526
+ "ref": "chrome-ink"
527
+ }
528
+ },
517
529
  {
518
530
  "name": "text",
519
531
  "props": {
@@ -750,10 +762,15 @@
750
762
  "background": {
751
763
  "color": "accent4"
752
764
  },
753
- "notes": "Revenue model — stacked column chart.",
754
- "template": "chrome-ink"
765
+ "notes": "Revenue model — stacked column chart."
755
766
  },
756
767
  "children": [
768
+ {
769
+ "name": "block",
770
+ "props": {
771
+ "ref": "chrome-ink"
772
+ }
773
+ },
757
774
  {
758
775
  "name": "chart",
759
776
  "props": {
@@ -888,10 +905,15 @@
888
905
  "background": {
889
906
  "color": "primary"
890
907
  },
891
- "notes": "Current data trend — overlapping area chart.",
892
- "template": "chrome-ink"
908
+ "notes": "Current data trend — overlapping area chart."
893
909
  },
894
910
  "children": [
911
+ {
912
+ "name": "block",
913
+ "props": {
914
+ "ref": "chrome-paper"
915
+ }
916
+ },
895
917
  {
896
918
  "name": "shape",
897
919
  "props": {
@@ -1097,10 +1119,15 @@
1097
1119
  "background": {
1098
1120
  "color": "text"
1099
1121
  },
1100
- "notes": "Graphic data — two-series line chart on black.",
1101
- "template": "chrome-paper"
1122
+ "notes": "Graphic data — two-series line chart on black."
1102
1123
  },
1103
1124
  "children": [
1125
+ {
1126
+ "name": "block",
1127
+ "props": {
1128
+ "ref": "chrome-paper"
1129
+ }
1130
+ },
1104
1131
  {
1105
1132
  "name": "text",
1106
1133
  "props": {
@@ -1219,10 +1246,15 @@
1219
1246
  "background": {
1220
1247
  "color": "accent5"
1221
1248
  },
1222
- "notes": "Reveal about progress — three overlapping circles.",
1223
- "template": "chrome-ink"
1249
+ "notes": "Reveal about progress — three overlapping circles."
1224
1250
  },
1225
1251
  "children": [
1252
+ {
1253
+ "name": "block",
1254
+ "props": {
1255
+ "ref": "chrome-ink"
1256
+ }
1257
+ },
1226
1258
  {
1227
1259
  "name": "shape",
1228
1260
  "props": {
@@ -1462,10 +1494,15 @@
1462
1494
  "background": {
1463
1495
  "color": "background"
1464
1496
  },
1465
- "notes": "Dive into data insights — horizontal bars (per-bar colors).",
1466
- "template": "chrome-ink"
1497
+ "notes": "Dive into data insights — horizontal bars (per-bar colors)."
1467
1498
  },
1468
1499
  "children": [
1500
+ {
1501
+ "name": "block",
1502
+ "props": {
1503
+ "ref": "chrome-ink"
1504
+ }
1505
+ },
1469
1506
  {
1470
1507
  "name": "text",
1471
1508
  "props": {
@@ -1794,10 +1831,15 @@
1794
1831
  "background": {
1795
1832
  "color": "accent"
1796
1833
  },
1797
- "notes": "Into data insights — nested circles 33B/85M/17M.",
1798
- "template": "chrome-ink"
1834
+ "notes": "Into data insights — nested circles 33B/85M/17M."
1799
1835
  },
1800
1836
  "children": [
1837
+ {
1838
+ "name": "block",
1839
+ "props": {
1840
+ "ref": "chrome-ink"
1841
+ }
1842
+ },
1801
1843
  {
1802
1844
  "name": "shape",
1803
1845
  "props": {
@@ -2022,10 +2064,15 @@
2022
2064
  "background": {
2023
2065
  "color": "text"
2024
2066
  },
2025
- "notes": "Three doughnut gauges — 17M / 35M / 85M.",
2026
- "template": "chrome-paper"
2067
+ "notes": "Three doughnut gauges — 17M / 35M / 85M."
2027
2068
  },
2028
2069
  "children": [
2070
+ {
2071
+ "name": "block",
2072
+ "props": {
2073
+ "ref": "chrome-paper"
2074
+ }
2075
+ },
2029
2076
  {
2030
2077
  "name": "chart",
2031
2078
  "props": {
@@ -2262,10 +2309,15 @@
2262
2309
  "background": {
2263
2310
  "color": "secondary"
2264
2311
  },
2265
- "notes": "Story told through — four stadium pills, options one to four.",
2266
- "template": "chrome-ink"
2312
+ "notes": "Story told through — four stadium pills, options one to four."
2267
2313
  },
2268
2314
  "children": [
2315
+ {
2316
+ "name": "block",
2317
+ "props": {
2318
+ "ref": "chrome-ink"
2319
+ }
2320
+ },
2269
2321
  {
2270
2322
  "name": "image",
2271
2323
  "props": {
@@ -2489,10 +2541,15 @@
2489
2541
  "background": {
2490
2542
  "color": "accent4"
2491
2543
  },
2492
- "notes": "Three angle data — inverted triangle with diagonal value bands.",
2493
- "template": "chrome-ink"
2544
+ "notes": "Three angle data — inverted triangle with diagonal value bands."
2494
2545
  },
2495
2546
  "children": [
2547
+ {
2548
+ "name": "block",
2549
+ "props": {
2550
+ "ref": "chrome-ink"
2551
+ }
2552
+ },
2496
2553
  {
2497
2554
  "name": "image",
2498
2555
  "props": {
@@ -2650,10 +2707,15 @@
2650
2707
  "background": {
2651
2708
  "color": "background"
2652
2709
  },
2653
- "notes": "Our data grow — pac-man circles with callout leaders 50/25/10%.",
2654
- "template": "chrome-ink"
2710
+ "notes": "Our data grow — pac-man circles with callout leaders 50/25/10%."
2655
2711
  },
2656
2712
  "children": [
2713
+ {
2714
+ "name": "block",
2715
+ "props": {
2716
+ "ref": "chrome-ink"
2717
+ }
2718
+ },
2657
2719
  {
2658
2720
  "name": "image",
2659
2721
  "props": {
@@ -2852,10 +2914,15 @@
2852
2914
  "background": {
2853
2915
  "color": "accent5"
2854
2916
  },
2855
- "notes": "Understanding model — growing circles 5/15/50%.",
2856
- "template": "chrome-ink"
2917
+ "notes": "Understanding model — growing circles 5/15/50%."
2857
2918
  },
2858
2919
  "children": [
2920
+ {
2921
+ "name": "block",
2922
+ "props": {
2923
+ "ref": "chrome-ink"
2924
+ }
2925
+ },
2859
2926
  {
2860
2927
  "name": "text",
2861
2928
  "props": {
@@ -3055,10 +3122,15 @@
3055
3122
  "background": {
3056
3123
  "color": "primary"
3057
3124
  },
3058
- "notes": "Review of our data — clustered columns with white line overlay.",
3059
- "template": "chrome-ink"
3125
+ "notes": "Review of our data — clustered columns with white line overlay."
3060
3126
  },
3061
3127
  "children": [
3128
+ {
3129
+ "name": "block",
3130
+ "props": {
3131
+ "ref": "chrome-paper"
3132
+ }
3133
+ },
3062
3134
  {
3063
3135
  "name": "chart",
3064
3136
  "props": {
@@ -76,13 +76,16 @@
76
76
  }
77
77
  }
78
78
  },
79
- "templates": [
80
- {
81
- "name": "grid",
82
- "background": {
83
- "color": "background"
79
+ "blocks": {
80
+ "grid": {
81
+ "description": "Slide chrome shared by the grid slides of this deck.",
82
+ "slots": {},
83
+ "slide": {
84
+ "background": {
85
+ "color": "background"
86
+ }
84
87
  },
85
- "objects": [
88
+ "body": [
86
89
  {
87
90
  "name": "shape",
88
91
  "props": {
@@ -183,7 +186,7 @@
183
186
  }
184
187
  ]
185
188
  }
186
- ]
189
+ }
187
190
  },
188
191
  "children": [
189
192
  {
@@ -468,10 +471,15 @@
468
471
  {
469
472
  "name": "slide",
470
473
  "props": {
471
- "template": "grid",
472
474
  "notes": "Key objectives — 01 Efficiency, 02 Accountability, 03 Coordination, 04 Growth."
473
475
  },
474
476
  "children": [
477
+ {
478
+ "name": "block",
479
+ "props": {
480
+ "ref": "grid"
481
+ }
482
+ },
475
483
  {
476
484
  "name": "shape",
477
485
  "props": {
@@ -792,10 +800,15 @@
792
800
  {
793
801
  "name": "slide",
794
802
  "props": {
795
- "template": "grid",
796
803
  "notes": "What is a management plan — definition, purpose, importance."
797
804
  },
798
805
  "children": [
806
+ {
807
+ "name": "block",
808
+ "props": {
809
+ "ref": "grid"
810
+ }
811
+ },
799
812
  {
800
813
  "name": "image",
801
814
  "props": {
@@ -930,10 +943,15 @@
930
943
  {
931
944
  "name": "slide",
932
945
  "props": {
933
- "template": "grid",
934
946
  "notes": "Vision and mission connection — company vision vs mission."
935
947
  },
936
948
  "children": [
949
+ {
950
+ "name": "block",
951
+ "props": {
952
+ "ref": "grid"
953
+ }
954
+ },
937
955
  {
938
956
  "name": "text",
939
957
  "props": {
@@ -1254,10 +1272,15 @@
1254
1272
  {
1255
1273
  "name": "slide",
1256
1274
  "props": {
1257
- "template": "grid",
1258
1275
  "notes": "Strategic priorities — +122% with short/medium/long-term cards."
1259
1276
  },
1260
1277
  "children": [
1278
+ {
1279
+ "name": "block",
1280
+ "props": {
1281
+ "ref": "grid"
1282
+ }
1283
+ },
1261
1284
  {
1262
1285
  "name": "shape",
1263
1286
  "props": {
@@ -1741,10 +1764,15 @@
1741
1764
  {
1742
1765
  "name": "slide",
1743
1766
  "props": {
1744
- "template": "grid",
1745
1767
  "notes": "Managing resources — 25M total resource donut gauge."
1746
1768
  },
1747
1769
  "children": [
1770
+ {
1771
+ "name": "block",
1772
+ "props": {
1773
+ "ref": "grid"
1774
+ }
1775
+ },
1748
1776
  {
1749
1777
  "name": "shape",
1750
1778
  "props": {
@@ -1929,10 +1957,15 @@
1929
1957
  "meta": {
1930
1958
  "title": "Process grid"
1931
1959
  },
1932
- "template": "grid",
1933
1960
  "notes": "Process grid 01-06 with flow arrows."
1934
1961
  },
1935
1962
  "children": [
1963
+ {
1964
+ "name": "block",
1965
+ "props": {
1966
+ "ref": "grid"
1967
+ }
1968
+ },
1936
1969
  {
1937
1970
  "name": "shape",
1938
1971
  "props": {
@@ -2313,10 +2346,15 @@
2313
2346
  "meta": {
2314
2347
  "title": "Communication channels"
2315
2348
  },
2316
- "template": "grid",
2317
2349
  "notes": "Internal & external communication; 5K stat tile."
2318
2350
  },
2319
2351
  "children": [
2352
+ {
2353
+ "name": "block",
2354
+ "props": {
2355
+ "ref": "grid"
2356
+ }
2357
+ },
2320
2358
  {
2321
2359
  "name": "image",
2322
2360
  "props": {
@@ -2661,10 +2699,15 @@
2661
2699
  {
2662
2700
  "name": "slide",
2663
2701
  "props": {
2664
- "template": "grid",
2665
2702
  "notes": "Mitigating risks — photos, who we serve, +122%."
2666
2703
  },
2667
2704
  "children": [
2705
+ {
2706
+ "name": "block",
2707
+ "props": {
2708
+ "ref": "grid"
2709
+ }
2710
+ },
2668
2711
  {
2669
2712
  "name": "image",
2670
2713
  "props": {
@@ -3198,10 +3241,15 @@
3198
3241
  {
3199
3242
  "name": "slide",
3200
3243
  "props": {
3201
- "template": "grid",
3202
3244
  "notes": "Budget & forecasting — 76K/46K/56K stats and cards."
3203
3245
  },
3204
3246
  "children": [
3247
+ {
3248
+ "name": "block",
3249
+ "props": {
3250
+ "ref": "grid"
3251
+ }
3252
+ },
3205
3253
  {
3206
3254
  "name": "shape",
3207
3255
  "props": {
@@ -3580,10 +3628,15 @@
3580
3628
  {
3581
3629
  "name": "slide",
3582
3630
  "props": {
3583
- "template": "grid",
3584
3631
  "notes": "Change management — 4 photo/caption columns."
3585
3632
  },
3586
3633
  "children": [
3634
+ {
3635
+ "name": "block",
3636
+ "props": {
3637
+ "ref": "grid"
3638
+ }
3639
+ },
3587
3640
  {
3588
3641
  "name": "shape",
3589
3642
  "props": {
@@ -3826,10 +3879,15 @@
3826
3879
  {
3827
3880
  "name": "slide",
3828
3881
  "props": {
3829
- "template": "grid",
3830
3882
  "notes": "Sustainable practices — two banners 01/02."
3831
3883
  },
3832
3884
  "children": [
3885
+ {
3886
+ "name": "block",
3887
+ "props": {
3888
+ "ref": "grid"
3889
+ }
3890
+ },
3833
3891
  {
3834
3892
  "name": "image",
3835
3893
  "props": {
@@ -4499,10 +4557,15 @@
4499
4557
  {
4500
4558
  "name": "slide",
4501
4559
  "props": {
4502
- "template": "grid",
4503
4560
  "notes": "Compliance framework — 25M, 20/43/78%, +43,43% potential risks."
4504
4561
  },
4505
4562
  "children": [
4563
+ {
4564
+ "name": "block",
4565
+ "props": {
4566
+ "ref": "grid"
4567
+ }
4568
+ },
4506
4569
  {
4507
4570
  "name": "image",
4508
4571
  "props": {
@@ -4814,10 +4877,15 @@
4814
4877
  {
4815
4878
  "name": "slide",
4816
4879
  "props": {
4817
- "template": "grid",
4818
4880
  "notes": "Tracking progress — 20/40/60/76% donut gauges."
4819
4881
  },
4820
4882
  "children": [
4883
+ {
4884
+ "name": "block",
4885
+ "props": {
4886
+ "ref": "grid"
4887
+ }
4888
+ },
4821
4889
  {
4822
4890
  "name": "shape",
4823
4891
  "props": {
@@ -5042,10 +5110,15 @@
5042
5110
  "meta": {
5043
5111
  "title": "Team member"
5044
5112
  },
5045
- "template": "grid",
5046
5113
  "notes": "Team member — portraits and blue info card."
5047
5114
  },
5048
5115
  "children": [
5116
+ {
5117
+ "name": "block",
5118
+ "props": {
5119
+ "ref": "grid"
5120
+ }
5121
+ },
5049
5122
  {
5050
5123
  "name": "image",
5051
5124
  "props": {
@@ -5321,10 +5394,15 @@
5321
5394
  {
5322
5395
  "name": "slide",
5323
5396
  "props": {
5324
- "template": "grid",
5325
5397
  "notes": "Moving forward — contact strip and photo."
5326
5398
  },
5327
5399
  "children": [
5400
+ {
5401
+ "name": "block",
5402
+ "props": {
5403
+ "ref": "grid"
5404
+ }
5405
+ },
5328
5406
  {
5329
5407
  "name": "shape",
5330
5408
  "props": {