@json-to-office/jto 6.4.0 → 7.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.
- package/dist/cli.js +17 -9
- package/dist/cli.js.map +1 -1
- package/dist/client/assets/{HomePage-DgyrBIGY.js → HomePage-CAQsE0sn.js} +4 -4
- package/dist/client/assets/HomePage-CAQsE0sn.js.map +1 -0
- package/dist/client/assets/{JsonEditorPage-BGctWRXE.js → JsonEditorPage-Cqz2zDan.js} +3 -3
- package/dist/client/assets/{JsonEditorPage-BGctWRXE.js.map → JsonEditorPage-Cqz2zDan.js.map} +1 -1
- package/dist/client/assets/{MonacoPluginProvider-DbBCCotq.js → MonacoPluginProvider-FJHgHgFQ.js} +5 -5
- package/dist/client/assets/{MonacoPluginProvider-DbBCCotq.js.map → MonacoPluginProvider-FJHgHgFQ.js.map} +1 -1
- package/dist/client/assets/{_virtual_jto-plugin-type-libs-BpQu9aDr.js → _virtual_jto-plugin-type-libs-DroopP3q.js} +67 -19
- package/dist/client/assets/{_virtual_jto-plugin-type-libs-BpQu9aDr.js.map → _virtual_jto-plugin-type-libs-DroopP3q.js.map} +1 -1
- package/dist/client/assets/_virtual_jto-sandbox-runtime-v4kQF3ee.js +2 -0
- package/dist/client/assets/_virtual_jto-sandbox-runtime-v4kQF3ee.js.map +1 -0
- package/dist/client/assets/{editor-DnPnx_0M.js → editor-1mTGQjga.js} +2 -2
- package/dist/client/assets/{editor-DnPnx_0M.js.map → editor-1mTGQjga.js.map} +1 -1
- package/dist/client/assets/{editor-monaco-json-B_U6hHbA.js → editor-monaco-json-B19wOO_b.js} +2 -2
- package/dist/client/assets/{editor-monaco-json-B_U6hHbA.js.map → editor-monaco-json-B19wOO_b.js.map} +1 -1
- package/dist/client/assets/{index-CWzQeme_.js → index-Da5mi8tP.js} +2 -2
- package/dist/client/assets/{index-CWzQeme_.js.map → index-Da5mi8tP.js.map} +1 -1
- package/dist/client/assets/{index-2S58SOrb.js → index-DsuZTLjf.js} +5 -5
- package/dist/client/assets/index-DsuZTLjf.js.map +1 -0
- package/dist/client/assets/{preview-Bdmil0FT.js → preview-T1T-uQbx.js} +2 -2
- package/dist/client/assets/preview-T1T-uQbx.js.map +1 -0
- package/dist/client/assets/{useQualityAnalysis-B0tasjoU.js → useQualityAnalysis-CnLgG345.js} +2 -2
- package/dist/client/assets/{useQualityAnalysis-B0tasjoU.js.map → useQualityAnalysis-CnLgG345.js.map} +1 -1
- package/dist/client/index.html +1 -1
- package/dist/client/templates/client-report-blocks.docx.json +1 -1
- package/dist/client/templates/consulting-deck-blocks.pptx.json +39 -18
- package/dist/client/templates/data-report-presentation.pptx.json +1 -1
- package/dist/client/templates/management-plan.pptx.json +4 -4
- package/dist/client/templates/minimalist-pitch-deck.pptx.json +1 -1
- package/dist/client/templates/modern-annual-report-3.docx.json +1 -0
- package/dist/client/templates/technical-report-blocks.docx.json +1 -1
- package/package.json +10 -10
- package/dist/client/assets/HomePage-DgyrBIGY.js.map +0 -1
- package/dist/client/assets/_virtual_jto-sandbox-runtime-CySzPJ5n.js +0 -2
- package/dist/client/assets/_virtual_jto-sandbox-runtime-CySzPJ5n.js.map +0 -1
- package/dist/client/assets/index-2S58SOrb.js.map +0 -1
- package/dist/client/assets/preview-Bdmil0FT.js.map +0 -1
|
@@ -41,16 +41,21 @@
|
|
|
41
41
|
},
|
|
42
42
|
"logo": {
|
|
43
43
|
"type": "component",
|
|
44
|
-
"
|
|
44
|
+
"role": "logo",
|
|
45
|
+
"description": "An image; the definition frames it top right at 18% of the width, in the chrome band above the safe area."
|
|
45
46
|
}
|
|
46
47
|
},
|
|
47
48
|
"body": [
|
|
48
49
|
{
|
|
49
50
|
"name": "group",
|
|
50
51
|
"props": {
|
|
51
|
-
"
|
|
52
|
+
"grid": {
|
|
53
|
+
"column": 0,
|
|
54
|
+
"row": 0,
|
|
55
|
+
"columnSpan": 12,
|
|
56
|
+
"rowSpan": 12
|
|
57
|
+
},
|
|
52
58
|
"y": "4.5%",
|
|
53
|
-
"w": "92.5%",
|
|
54
59
|
"h": "91%"
|
|
55
60
|
},
|
|
56
61
|
"children": [
|
|
@@ -232,13 +237,13 @@
|
|
|
232
237
|
]
|
|
233
238
|
},
|
|
234
239
|
"action-chart": {
|
|
235
|
-
"description": "The consulting workhorse: an action title over one chart, an optional takeaway beside it and an optional source beneath. Copy and adapt this document-local example; the consulting-deck quality profile requires the takeaway and the source, the theme only styles them. Geometry
|
|
240
|
+
"description": "The consulting workhorse: an action title over one chart, an optional takeaway beside it and an optional source beneath. Copy and adapt this document-local example; the consulting-deck quality profile requires the takeaway and the source, the theme only styles them. Geometry spans the theme's safe area across and a band of the slide down, placed in percentages within it, so the same definition lays out on every canvas; sizes bind to the theme's type roles with safe defaults, so it renders on any bundled theme.",
|
|
236
241
|
"slots": {
|
|
237
242
|
"title": {
|
|
238
243
|
"type": "string",
|
|
239
244
|
"required": true,
|
|
240
245
|
"oneLine": true,
|
|
241
|
-
"maxWords":
|
|
246
|
+
"maxWords": 17,
|
|
242
247
|
"role": "actionTitle",
|
|
243
248
|
"description": "The claim the chart proves: a sentence with a number or a verb, two lines at most. Longer titles step down to 24 then 22pt, then fail."
|
|
244
249
|
},
|
|
@@ -271,9 +276,13 @@
|
|
|
271
276
|
{
|
|
272
277
|
"name": "group",
|
|
273
278
|
"props": {
|
|
274
|
-
"
|
|
279
|
+
"grid": {
|
|
280
|
+
"column": 0,
|
|
281
|
+
"row": 0,
|
|
282
|
+
"columnSpan": 12,
|
|
283
|
+
"rowSpan": 12
|
|
284
|
+
},
|
|
275
285
|
"y": "4.5%",
|
|
276
|
-
"w": "92.5%",
|
|
277
286
|
"h": "91%"
|
|
278
287
|
},
|
|
279
288
|
"children": [
|
|
@@ -536,7 +545,7 @@
|
|
|
536
545
|
"type": "string",
|
|
537
546
|
"required": true,
|
|
538
547
|
"oneLine": true,
|
|
539
|
-
"maxWords":
|
|
548
|
+
"maxWords": 17,
|
|
540
549
|
"role": "actionTitle",
|
|
541
550
|
"description": "The claim the slide proves: a sentence with a number or a verb, two lines at most. Longer titles step down to 24 then 22pt, then fail."
|
|
542
551
|
},
|
|
@@ -592,9 +601,13 @@
|
|
|
592
601
|
{
|
|
593
602
|
"name": "group",
|
|
594
603
|
"props": {
|
|
595
|
-
"
|
|
604
|
+
"grid": {
|
|
605
|
+
"column": 0,
|
|
606
|
+
"row": 0,
|
|
607
|
+
"columnSpan": 12,
|
|
608
|
+
"rowSpan": 12
|
|
609
|
+
},
|
|
596
610
|
"y": "4.5%",
|
|
597
|
-
"w": "92.5%",
|
|
598
611
|
"h": "91%"
|
|
599
612
|
},
|
|
600
613
|
"children": [
|
|
@@ -882,7 +895,7 @@
|
|
|
882
895
|
"type": "string",
|
|
883
896
|
"required": true,
|
|
884
897
|
"oneLine": true,
|
|
885
|
-
"maxWords":
|
|
898
|
+
"maxWords": 17,
|
|
886
899
|
"role": "actionTitle",
|
|
887
900
|
"description": "The claim the slide proves: a sentence with a number or a verb, two lines at most. Longer titles step down to 24 then 22pt, then fail."
|
|
888
901
|
},
|
|
@@ -924,9 +937,13 @@
|
|
|
924
937
|
{
|
|
925
938
|
"name": "group",
|
|
926
939
|
"props": {
|
|
927
|
-
"
|
|
940
|
+
"grid": {
|
|
941
|
+
"column": 0,
|
|
942
|
+
"row": 0,
|
|
943
|
+
"columnSpan": 12,
|
|
944
|
+
"rowSpan": 12
|
|
945
|
+
},
|
|
928
946
|
"y": "4.5%",
|
|
929
|
-
"w": "92.5%",
|
|
930
947
|
"h": "91%"
|
|
931
948
|
},
|
|
932
949
|
"children": [
|
|
@@ -1187,7 +1204,7 @@
|
|
|
1187
1204
|
]
|
|
1188
1205
|
},
|
|
1189
1206
|
"statement": {
|
|
1190
|
-
"description": "One assertion in the display role, at most
|
|
1207
|
+
"description": "One assertion in the display role, at most eleven words, with up to thirty words of support beneath it in the quote role: a section divider or a closing slide. Copy and adapt this document-local example.",
|
|
1191
1208
|
"slots": {
|
|
1192
1209
|
"tracker": {
|
|
1193
1210
|
"type": "string",
|
|
@@ -1199,9 +1216,9 @@
|
|
|
1199
1216
|
"assertion": {
|
|
1200
1217
|
"type": "string",
|
|
1201
1218
|
"required": true,
|
|
1202
|
-
"maxWords":
|
|
1219
|
+
"maxWords": 11,
|
|
1203
1220
|
"role": "actionTitle",
|
|
1204
|
-
"description": "The one sentence, at most
|
|
1221
|
+
"description": "The one sentence, at most eleven words; steps down to 24 then 22pt."
|
|
1205
1222
|
},
|
|
1206
1223
|
"support": {
|
|
1207
1224
|
"type": "string",
|
|
@@ -1213,9 +1230,13 @@
|
|
|
1213
1230
|
{
|
|
1214
1231
|
"name": "group",
|
|
1215
1232
|
"props": {
|
|
1216
|
-
"
|
|
1233
|
+
"grid": {
|
|
1234
|
+
"column": 0,
|
|
1235
|
+
"row": 0,
|
|
1236
|
+
"columnSpan": 12,
|
|
1237
|
+
"rowSpan": 12
|
|
1238
|
+
},
|
|
1217
1239
|
"y": "4.5%",
|
|
1218
|
-
"w": "92.5%",
|
|
1219
1240
|
"h": "91%"
|
|
1220
1241
|
},
|
|
1221
1242
|
"children": [
|
|
@@ -458,7 +458,7 @@
|
|
|
458
458
|
"x": 1.016,
|
|
459
459
|
"y": 4.397,
|
|
460
460
|
"w": 2.276,
|
|
461
|
-
"h": 0.
|
|
461
|
+
"h": 0.95,
|
|
462
462
|
"fontSize": 11,
|
|
463
463
|
"fontFace": "Inter",
|
|
464
464
|
"lineSpacing": 13.2,
|
|
@@ -3173,7 +3173,7 @@
|
|
|
3173
3173
|
"x": 1.016,
|
|
3174
3174
|
"y": 4.397,
|
|
3175
3175
|
"w": 2.276,
|
|
3176
|
-
"h": 0.
|
|
3176
|
+
"h": 0.95,
|
|
3177
3177
|
"fontSize": 11,
|
|
3178
3178
|
"fontFace": "Inter",
|
|
3179
3179
|
"lineSpacing": 13.2,
|
|
@@ -4112,7 +4112,7 @@
|
|
|
4112
4112
|
"style": "body",
|
|
4113
4113
|
"x": 7.076,
|
|
4114
4114
|
"y": 0.907,
|
|
4115
|
-
"w": 2.
|
|
4115
|
+
"w": 2.2,
|
|
4116
4116
|
"h": 1.041,
|
|
4117
4117
|
"text": "Lorem ipsum dolor sit amet,\nconsectetur adipiscing elit. Proin\nbibendum risus sit amet venen atis\ntristique. Morbi tortor justo, p eget\nconsequat ac, semper sit"
|
|
4118
4118
|
}
|
|
@@ -4773,7 +4773,7 @@
|
|
|
4773
4773
|
"x": 5.751,
|
|
4774
4774
|
"y": 4.687,
|
|
4775
4775
|
"w": 2.386,
|
|
4776
|
-
"h": 0.
|
|
4776
|
+
"h": 0.7,
|
|
4777
4777
|
"fontSize": 20,
|
|
4778
4778
|
"fontFace": "Archivo",
|
|
4779
4779
|
"lineSpacing": 24.0,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@json-to-office/jto",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "7.0.0",
|
|
4
4
|
"description": "JSON to Office CLI - Unified document and presentation generation",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -84,18 +84,18 @@
|
|
|
84
84
|
"vite": "6.0.5",
|
|
85
85
|
"zod": "^4.0.0",
|
|
86
86
|
"zustand": "5.0.2",
|
|
87
|
-
"@json-to-office/core-docx": "^
|
|
88
|
-
"@json-to-office/core-pptx": "^
|
|
89
|
-
"@json-to-office/jto-cli": "^
|
|
90
|
-
"@json-to-office/quality": "^
|
|
91
|
-
"@json-to-office/shared": "^
|
|
92
|
-
"@json-to-office/shared-docx": "^
|
|
93
|
-
"@json-to-office/shared-pptx": "^
|
|
87
|
+
"@json-to-office/core-docx": "^7.0.0",
|
|
88
|
+
"@json-to-office/core-pptx": "^7.0.0",
|
|
89
|
+
"@json-to-office/jto-cli": "^7.0.0",
|
|
90
|
+
"@json-to-office/quality": "^7.0.0",
|
|
91
|
+
"@json-to-office/shared": "^7.0.0",
|
|
92
|
+
"@json-to-office/shared-docx": "^7.0.0",
|
|
93
|
+
"@json-to-office/shared-pptx": "^7.0.0"
|
|
94
94
|
},
|
|
95
95
|
"devDependencies": {
|
|
96
96
|
"@types/lodash.debounce": "4.0.9",
|
|
97
97
|
"@types/mime-types": "2.1.4",
|
|
98
|
-
"@types/node": "20.
|
|
98
|
+
"@types/node": "22.20.2",
|
|
99
99
|
"@types/react": "19.2.14",
|
|
100
100
|
"@types/react-dom": "19.2.3",
|
|
101
101
|
"@vitejs/plugin-react": "4.3.4",
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
"vscode-json-languageservice": "5.4.0"
|
|
106
106
|
},
|
|
107
107
|
"engines": {
|
|
108
|
-
"node": ">=
|
|
108
|
+
"node": ">=22.0.0"
|
|
109
109
|
},
|
|
110
110
|
"author": "Paolo Barbato",
|
|
111
111
|
"license": "MIT",
|