@json-to-office/jto 7.0.0 → 7.1.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 +1 -1
- package/dist/client/assets/{HomePage-CAQsE0sn.js → HomePage-vEScqBRQ.js} +4 -4
- package/dist/client/assets/{HomePage-CAQsE0sn.js.map → HomePage-vEScqBRQ.js.map} +1 -1
- package/dist/client/assets/{JsonEditorPage-Cqz2zDan.js → JsonEditorPage-CrEYiDVv.js} +3 -3
- package/dist/client/assets/{JsonEditorPage-Cqz2zDan.js.map → JsonEditorPage-CrEYiDVv.js.map} +1 -1
- package/dist/client/assets/{MonacoPluginProvider-FJHgHgFQ.js → MonacoPluginProvider-CdJeYoYr.js} +5 -5
- package/dist/client/assets/{MonacoPluginProvider-FJHgHgFQ.js.map → MonacoPluginProvider-CdJeYoYr.js.map} +1 -1
- package/dist/client/assets/{_virtual_jto-plugin-type-libs-DroopP3q.js → _virtual_jto-plugin-type-libs-0VdrjFY7.js} +158 -5
- package/dist/client/assets/{_virtual_jto-plugin-type-libs-DroopP3q.js.map → _virtual_jto-plugin-type-libs-0VdrjFY7.js.map} +1 -1
- package/dist/client/assets/{_virtual_jto-sandbox-runtime-v4kQF3ee.js → _virtual_jto-sandbox-runtime-Di-LvyzM.js} +2 -2
- package/dist/client/assets/_virtual_jto-sandbox-runtime-Di-LvyzM.js.map +1 -0
- package/dist/client/assets/{editor-1mTGQjga.js → editor-BSWOAvDa.js} +2 -2
- package/dist/client/assets/{editor-1mTGQjga.js.map → editor-BSWOAvDa.js.map} +1 -1
- package/dist/client/assets/{editor-monaco-json-B19wOO_b.js → editor-monaco-json-DBU3k-6L.js} +2 -2
- package/dist/client/assets/{editor-monaco-json-B19wOO_b.js.map → editor-monaco-json-DBU3k-6L.js.map} +1 -1
- package/dist/client/assets/{index-Da5mi8tP.js → index-Cr_zRvPV.js} +2 -2
- package/dist/client/assets/{index-Da5mi8tP.js.map → index-Cr_zRvPV.js.map} +1 -1
- package/dist/client/assets/{index-DsuZTLjf.js → index-oGxfnj5b.js} +8 -8
- package/dist/client/assets/index-oGxfnj5b.js.map +1 -0
- package/dist/client/assets/{preview-T1T-uQbx.js → preview-B9bVL91G.js} +2 -2
- package/dist/client/assets/{preview-T1T-uQbx.js.map → preview-B9bVL91G.js.map} +1 -1
- package/dist/client/assets/{useQualityAnalysis-CnLgG345.js → useQualityAnalysis-BDxEFrSj.js} +2 -2
- package/dist/client/assets/{useQualityAnalysis-CnLgG345.js.map → useQualityAnalysis-BDxEFrSj.js.map} +1 -1
- package/dist/client/index.html +1 -1
- package/dist/client/templates/client-report-blocks.docx.json +2 -10
- package/dist/client/templates/consulting-deck-blocks.pptx.json +30 -22
- package/package.json +5 -5
- package/dist/client/assets/_virtual_jto-sandbox-runtime-v4kQF3ee.js.map +0 -1
- package/dist/client/assets/index-DsuZTLjf.js.map +0 -1
|
@@ -1680,15 +1680,7 @@
|
|
|
1680
1680
|
},
|
|
1681
1681
|
{
|
|
1682
1682
|
"name": "section",
|
|
1683
|
-
"props": {
|
|
1684
|
-
"page": {
|
|
1685
|
-
"size": "LETTER",
|
|
1686
|
-
"margins": {
|
|
1687
|
-
"left": 1080,
|
|
1688
|
-
"right": 1080
|
|
1689
|
-
}
|
|
1690
|
-
}
|
|
1691
|
-
},
|
|
1683
|
+
"props": {},
|
|
1692
1684
|
"children": [
|
|
1693
1685
|
{
|
|
1694
1686
|
"name": "block",
|
|
@@ -1735,7 +1727,7 @@
|
|
|
1735
1727
|
{
|
|
1736
1728
|
"name": "paragraph",
|
|
1737
1729
|
"props": {
|
|
1738
|
-
"text": "The inherited running header carries the document title and this section’s page width
|
|
1730
|
+
"text": "The inherited running header carries the document title and this section’s page width. Page numbers are native Word fields."
|
|
1739
1731
|
}
|
|
1740
1732
|
},
|
|
1741
1733
|
{
|
|
@@ -15,13 +15,15 @@
|
|
|
15
15
|
"type": "string",
|
|
16
16
|
"required": true,
|
|
17
17
|
"maxWords": 16,
|
|
18
|
-
"description": "The deck's conclusion in one sentence; three lines at most, stepping down
|
|
18
|
+
"description": "The deck's conclusion in one sentence; three lines at most, stepping down through 28, 24, 22 to 20pt, and at most 110 characters.",
|
|
19
|
+
"maxLength": 110
|
|
19
20
|
},
|
|
20
21
|
"subtitle": {
|
|
21
22
|
"type": "string",
|
|
22
23
|
"oneLine": true,
|
|
23
24
|
"maxWords": 20,
|
|
24
|
-
"description": "What the deck answers, for whom."
|
|
25
|
+
"description": "What the deck answers, for whom. At most 150 characters: two lines on the widest faces.",
|
|
26
|
+
"maxLength": 150
|
|
25
27
|
},
|
|
26
28
|
"client": {
|
|
27
29
|
"type": "string",
|
|
@@ -131,7 +133,7 @@
|
|
|
131
133
|
"default": ""
|
|
132
134
|
}
|
|
133
135
|
],
|
|
134
|
-
"separator": "
|
|
136
|
+
"separator": " \u00b7 "
|
|
135
137
|
},
|
|
136
138
|
"style": "eyebrow",
|
|
137
139
|
"fontSize": {
|
|
@@ -162,11 +164,11 @@
|
|
|
162
164
|
"x": "0%",
|
|
163
165
|
"y": "39%",
|
|
164
166
|
"w": "90%",
|
|
165
|
-
"h": "
|
|
167
|
+
"h": "21%",
|
|
166
168
|
"valign": "top",
|
|
167
169
|
"fit": {
|
|
168
170
|
"maxLines": 3,
|
|
169
|
-
"shrink": [28, 24]
|
|
171
|
+
"shrink": [28, 24, 22, 20]
|
|
170
172
|
},
|
|
171
173
|
"color": {
|
|
172
174
|
"$theme": [
|
|
@@ -243,9 +245,10 @@
|
|
|
243
245
|
"type": "string",
|
|
244
246
|
"required": true,
|
|
245
247
|
"oneLine": true,
|
|
246
|
-
"maxWords":
|
|
248
|
+
"maxWords": 16,
|
|
249
|
+
"maxLength": 110,
|
|
247
250
|
"role": "actionTitle",
|
|
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."
|
|
251
|
+
"description": "The claim the chart proves: a sentence with a number or a verb, two lines at most, and at most 110 characters \u2014 two lines on the widest faces. Longer titles step down to 24 then 22pt, then fail."
|
|
249
252
|
},
|
|
250
253
|
"tracker": {
|
|
251
254
|
"type": "string",
|
|
@@ -261,9 +264,10 @@
|
|
|
261
264
|
},
|
|
262
265
|
"takeaway": {
|
|
263
266
|
"type": "string",
|
|
264
|
-
"maxWords":
|
|
267
|
+
"maxWords": 28,
|
|
265
268
|
"role": "takeaway",
|
|
266
|
-
"description": "What the reader should conclude, set beside the chart under an accent rule."
|
|
269
|
+
"description": "What the reader should conclude, set beside the chart under an accent rule. At most 28 words and 240 characters: the column is narrow, and its line spacing does not shrink with the size.",
|
|
270
|
+
"maxLength": 240
|
|
267
271
|
},
|
|
268
272
|
"source": {
|
|
269
273
|
"type": "string",
|
|
@@ -545,9 +549,10 @@
|
|
|
545
549
|
"type": "string",
|
|
546
550
|
"required": true,
|
|
547
551
|
"oneLine": true,
|
|
548
|
-
"maxWords":
|
|
552
|
+
"maxWords": 16,
|
|
553
|
+
"maxLength": 110,
|
|
549
554
|
"role": "actionTitle",
|
|
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."
|
|
555
|
+
"description": "The claim the slide proves: a sentence with a number or a verb, two lines at most, and at most 110 characters \u2014 two lines on the widest faces. Longer titles step down to 24 then 22pt, then fail."
|
|
551
556
|
},
|
|
552
557
|
"tracker": {
|
|
553
558
|
"type": "string",
|
|
@@ -573,19 +578,20 @@
|
|
|
573
578
|
"unit": {
|
|
574
579
|
"type": "string",
|
|
575
580
|
"maxLength": 5,
|
|
576
|
-
"description": "Suffix drawn after the figure in the muted colour: %,
|
|
581
|
+
"description": "Suffix drawn after the figure in the muted colour: %, \u20acm, pts."
|
|
577
582
|
},
|
|
578
583
|
"label": {
|
|
579
584
|
"type": "string",
|
|
580
585
|
"required": true,
|
|
581
586
|
"oneLine": true,
|
|
582
587
|
"maxWords": 6,
|
|
583
|
-
"description": "What the figure measures."
|
|
588
|
+
"description": "What the figure measures; at most 48 characters, which is two lines in the narrowest cell on the widest faces.",
|
|
589
|
+
"maxLength": 48
|
|
584
590
|
},
|
|
585
591
|
"delta": {
|
|
586
592
|
"type": "string",
|
|
587
593
|
"maxLength": 12,
|
|
588
|
-
"description": "Signed change shown under the figure: +3.2 pts,
|
|
594
|
+
"description": "Signed change shown under the figure: +3.2 pts, \u22120.4."
|
|
589
595
|
}
|
|
590
596
|
}
|
|
591
597
|
}
|
|
@@ -895,9 +901,10 @@
|
|
|
895
901
|
"type": "string",
|
|
896
902
|
"required": true,
|
|
897
903
|
"oneLine": true,
|
|
898
|
-
"maxWords":
|
|
904
|
+
"maxWords": 16,
|
|
905
|
+
"maxLength": 110,
|
|
899
906
|
"role": "actionTitle",
|
|
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."
|
|
907
|
+
"description": "The claim the slide proves: a sentence with a number or a verb, two lines at most, and at most 110 characters \u2014 two lines on the widest faces. Longer titles step down to 24 then 22pt, then fail."
|
|
901
908
|
},
|
|
902
909
|
"tracker": {
|
|
903
910
|
"type": "string",
|
|
@@ -1222,8 +1229,9 @@
|
|
|
1222
1229
|
},
|
|
1223
1230
|
"support": {
|
|
1224
1231
|
"type": "string",
|
|
1225
|
-
"maxWords":
|
|
1226
|
-
"
|
|
1232
|
+
"maxWords": 24,
|
|
1233
|
+
"maxLength": 150,
|
|
1234
|
+
"description": "What backs the assertion, at most twenty-four words and 150 characters \u2014 what the box holds on the smallest canvas, stepping down to 16 then 14pt."
|
|
1227
1235
|
}
|
|
1228
1236
|
},
|
|
1229
1237
|
"body": [
|
|
@@ -1342,7 +1350,7 @@
|
|
|
1342
1350
|
"x": "0%",
|
|
1343
1351
|
"y": "66%",
|
|
1344
1352
|
"w": "75%",
|
|
1345
|
-
"h": "
|
|
1353
|
+
"h": "24%",
|
|
1346
1354
|
"valign": "top",
|
|
1347
1355
|
"fit": {
|
|
1348
1356
|
"shrink": [16, 14]
|
|
@@ -1426,7 +1434,7 @@
|
|
|
1426
1434
|
"items": [
|
|
1427
1435
|
{
|
|
1428
1436
|
"value": "8.8",
|
|
1429
|
-
"unit": "
|
|
1437
|
+
"unit": "\u20acm",
|
|
1430
1438
|
"label": "Revenue year to date",
|
|
1431
1439
|
"delta": "+16.9%"
|
|
1432
1440
|
},
|
|
@@ -1440,7 +1448,7 @@
|
|
|
1440
1448
|
"value": "11",
|
|
1441
1449
|
"unit": "days",
|
|
1442
1450
|
"label": "Median time to deliver",
|
|
1443
|
-
"delta": "
|
|
1451
|
+
"delta": "\u22123 days"
|
|
1444
1452
|
}
|
|
1445
1453
|
],
|
|
1446
1454
|
"source": "Source: quarterly operating review, 2026."
|
|
@@ -1469,7 +1477,7 @@
|
|
|
1469
1477
|
"name": "chart",
|
|
1470
1478
|
"props": {
|
|
1471
1479
|
"type": "bar",
|
|
1472
|
-
"valAxisTitle": "Revenue (
|
|
1480
|
+
"valAxisTitle": "Revenue (\u20acm)",
|
|
1473
1481
|
"data": [
|
|
1474
1482
|
{
|
|
1475
1483
|
"name": "Revenue",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@json-to-office/jto",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.1.0",
|
|
4
4
|
"description": "JSON to Office CLI - Unified document and presentation generation",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -84,11 +84,11 @@
|
|
|
84
84
|
"vite": "6.0.5",
|
|
85
85
|
"zod": "^4.0.0",
|
|
86
86
|
"zustand": "5.0.2",
|
|
87
|
-
"@json-to-office/core-docx": "^7.0.
|
|
88
|
-
"@json-to-office/core-pptx": "^7.
|
|
89
|
-
"@json-to-office/jto-cli": "^7.0.0",
|
|
87
|
+
"@json-to-office/core-docx": "^7.0.1",
|
|
88
|
+
"@json-to-office/core-pptx": "^7.1.0",
|
|
90
89
|
"@json-to-office/quality": "^7.0.0",
|
|
91
|
-
"@json-to-office/shared": "^7.0.
|
|
90
|
+
"@json-to-office/shared": "^7.0.1",
|
|
91
|
+
"@json-to-office/jto-cli": "^7.0.0",
|
|
92
92
|
"@json-to-office/shared-docx": "^7.0.0",
|
|
93
93
|
"@json-to-office/shared-pptx": "^7.0.0"
|
|
94
94
|
},
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_virtual_jto-sandbox-runtime-v4kQF3ee.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|