@json-to-office/jto 0.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.
Files changed (54) hide show
  1. package/LICENSE +18 -0
  2. package/README.md +23 -0
  3. package/dist/cli.d.ts +2 -0
  4. package/dist/cli.js +5639 -0
  5. package/dist/cli.js.map +1 -0
  6. package/dist/client/assets/HomePage-CGK1cPFp.js +99 -0
  7. package/dist/client/assets/HomePage-CGK1cPFp.js.map +1 -0
  8. package/dist/client/assets/JsonEditorPage-DKaFqYpM.js +3 -0
  9. package/dist/client/assets/JsonEditorPage-DKaFqYpM.js.map +1 -0
  10. package/dist/client/assets/NotFoundPage-Et1QhbQw.js +2 -0
  11. package/dist/client/assets/NotFoundPage-Et1QhbQw.js.map +1 -0
  12. package/dist/client/assets/button-B5W5GwSc.js +2 -0
  13. package/dist/client/assets/button-B5W5GwSc.js.map +1 -0
  14. package/dist/client/assets/docx-preview-CUjVWdSJ.js +34 -0
  15. package/dist/client/assets/docx-preview-CUjVWdSJ.js.map +1 -0
  16. package/dist/client/assets/editor-CH_tiHyn.js +9 -0
  17. package/dist/client/assets/editor-CH_tiHyn.js.map +1 -0
  18. package/dist/client/assets/editor-monaco-json-8I2epq6g.js +6 -0
  19. package/dist/client/assets/editor-monaco-json-8I2epq6g.js.map +1 -0
  20. package/dist/client/assets/index-B9dV-vCI.css +1 -0
  21. package/dist/client/assets/index-DactvF4v.js +3 -0
  22. package/dist/client/assets/index-DactvF4v.js.map +1 -0
  23. package/dist/client/assets/monaco-editor-DzeBDgmk.js +12 -0
  24. package/dist/client/assets/monaco-editor-DzeBDgmk.js.map +1 -0
  25. package/dist/client/assets/preview-CJlTPgks.js +3 -0
  26. package/dist/client/assets/preview-CJlTPgks.js.map +1 -0
  27. package/dist/client/assets/query-vendor-UL64zsGL.js +15 -0
  28. package/dist/client/assets/query-vendor-UL64zsGL.js.map +1 -0
  29. package/dist/client/assets/radix-ui-CXavUarI.js +2 -0
  30. package/dist/client/assets/radix-ui-CXavUarI.js.map +1 -0
  31. package/dist/client/assets/react-vendor-DhdcN9D5.js +102 -0
  32. package/dist/client/assets/react-vendor-DhdcN9D5.js.map +1 -0
  33. package/dist/client/assets/settings-store-provider-DuCKtwqs.js +2 -0
  34. package/dist/client/assets/settings-store-provider-DuCKtwqs.js.map +1 -0
  35. package/dist/client/assets/state-vendor-CAMVKh-F.js +6 -0
  36. package/dist/client/assets/state-vendor-CAMVKh-F.js.map +1 -0
  37. package/dist/client/assets/ui-vendor-C6DsfOoA.js +247 -0
  38. package/dist/client/assets/ui-vendor-C6DsfOoA.js.map +1 -0
  39. package/dist/client/css/preview/docxjs.css +11 -0
  40. package/dist/client/icon.svg +5 -0
  41. package/dist/client/index.html +23 -0
  42. package/dist/client/templates/Charts Demo.pptx.json +174 -0
  43. package/dist/client/templates/Company Branding.pptx.json +143 -0
  44. package/dist/client/templates/Dashboard.pptx.json +91 -0
  45. package/dist/client/templates/Product Launch.pptx.json +87 -0
  46. package/dist/client/templates/Sales Deck.pptx.json +80 -0
  47. package/dist/client/templates/Wiseair.pptx.json +5382 -0
  48. package/dist/client/templates/themes/corporate.pptx.theme.json +32 -0
  49. package/dist/client/templates/themes/minimal.pptx.theme.json +32 -0
  50. package/dist/client/templates/themes/vibrant.pptx.theme.json +32 -0
  51. package/dist/index.d.ts +387 -0
  52. package/dist/index.js +2303 -0
  53. package/dist/index.js.map +1 -0
  54. package/package.json +147 -0
@@ -0,0 +1,87 @@
1
+ {
2
+ "name": "pptx",
3
+ "props": {
4
+ "title": "Nova Platform Launch",
5
+ "author": "Product Team",
6
+ "company": "TechCorp",
7
+ "theme": "vibrant"
8
+ },
9
+ "children": [
10
+ {
11
+ "name": "slide",
12
+ "props": { "background": { "color": "background" }, "transition": { "type": "zoom", "speed": "medium" } },
13
+ "children": [
14
+ { "name": "shape", "props": { "type": "ellipse", "x": 7.5, "y": -0.5, "w": 4, "h": 4, "fill": { "color": "primary", "transparency": 50 } } },
15
+ { "name": "shape", "props": { "type": "ellipse", "x": -1, "y": 4, "w": 5, "h": 5, "fill": { "color": "secondary", "transparency": 60 } } },
16
+ { "name": "text", "props": { "text": "Introducing", "style": "caption", "fontSize": 16, "x": 1, "y": 1.5, "w": 8 } },
17
+ { "name": "text", "props": { "text": "Nova Platform", "style": "title", "fontSize": 48, "align": "left", "x": 1, "y": 2.2, "w": 8 } },
18
+ { "name": "text", "props": { "text": "The next generation of enterprise collaboration", "style": "subtitle", "align": "left", "x": 1, "y": 4, "w": 8 } }
19
+ ]
20
+ },
21
+ {
22
+ "name": "slide",
23
+ "props": { "background": { "color": "background" }, "notes": "Walk through each pain point — these came directly from customer interviews." },
24
+ "children": [
25
+ { "name": "text", "props": { "text": "The Problem", "style": "heading1", "x": 0.5, "y": 0.3, "w": 9 } },
26
+ { "name": "text", "props": { "text": "Teams lose 4.5 hours per week switching between disconnected tools", "fontSize": 16, "color": "text2", "x": 0.5, "y": 1.2, "w": 9, "lineSpacing": 24 } },
27
+ { "name": "shape", "props": { "type": "roundRect", "x": 0.5, "y": 2.2, "w": 2.8, "h": 2.5, "fill": { "color": "background2" }, "rectRadius": 0.15, "text": "73%\nof teams use 5+\ndisconnected tools", "fontSize": 13, "fontColor": "accent4", "align": "center", "valign": "middle" } },
28
+ { "name": "shape", "props": { "type": "roundRect", "x": 3.6, "y": 2.2, "w": 2.8, "h": 2.5, "fill": { "color": "background2" }, "rectRadius": 0.15, "text": "4.5 hrs/week\nlost to context\nswitching", "fontSize": 13, "fontColor": "accent5", "align": "center", "valign": "middle" } },
29
+ { "name": "shape", "props": { "type": "roundRect", "x": 6.7, "y": 2.2, "w": 2.8, "h": 2.5, "fill": { "color": "background2" }, "rectRadius": 0.15, "text": "$12K/yr\nper employee in\nlost productivity", "fontSize": 13, "fontColor": "accent6", "align": "center", "valign": "middle" } },
30
+ { "name": "shape", "props": { "type": "line", "x": 0.5, "y": 5.2, "w": 9, "h": 0, "line": { "color": "text2", "width": 0.5 } } },
31
+ { "name": "text", "props": { "text": "Source: Forrester Research 2024, internal customer surveys (n=2,400)", "style": "caption", "x": 0.5, "y": 5.5, "w": 9 } }
32
+ ]
33
+ },
34
+ {
35
+ "name": "slide",
36
+ "props": { "background": { "color": "background" } },
37
+ "children": [
38
+ { "name": "text", "props": { "text": "Key Features", "style": "heading1", "x": 0.5, "y": 0.3, "w": 9 } },
39
+ {
40
+ "name": "table",
41
+ "props": {
42
+ "rows": [
43
+ [{ "text": "Feature", "bold": true, "fill": "primary", "color": "FFFFFF" }, { "text": "Description", "bold": true, "fill": "primary", "color": "FFFFFF" }, { "text": "Impact", "bold": true, "fill": "primary", "color": "FFFFFF" }],
44
+ ["Unified Workspace", "Single pane of glass for all tools", "60% fewer app switches"],
45
+ ["AI Assistant", "Context-aware suggestions and automation", "3x faster workflows"],
46
+ ["Real-time Sync", "Sub-second cross-device synchronization", "Zero data conflicts"],
47
+ ["Smart Search", "Natural language search across all content", "90% faster info retrieval"],
48
+ ["Custom Workflows", "No-code automation builder", "40% reduction in manual tasks"]
49
+ ],
50
+ "x": 0.5, "y": 1.2, "w": 9,
51
+ "colW": [2.5, 4, 2.5],
52
+ "fontSize": 12,
53
+ "color": "text",
54
+ "border": { "type": "solid", "pt": 0.5, "color": "text2" }
55
+ }
56
+ }
57
+ ]
58
+ },
59
+ {
60
+ "name": "slide",
61
+ "props": { "background": { "color": "background" } },
62
+ "children": [
63
+ { "name": "text", "props": { "text": "Rollout Timeline", "style": "heading1", "x": 0.5, "y": 0.3, "w": 9 } },
64
+ { "name": "shape", "props": { "type": "roundRect", "x": 0.3, "y": 1.5, "w": 2.2, "h": 1.8, "fill": { "color": "background2" }, "rectRadius": 0.1, "text": "Q1 2025\nBeta Launch\n100 users", "fontSize": 12, "fontColor": "primary", "align": "center", "valign": "middle" } },
65
+ { "name": "shape", "props": { "type": "chevron", "x": 2.5, "y": 2, "w": 0.5, "h": 0.8, "fill": { "color": "primary" } } },
66
+ { "name": "shape", "props": { "type": "roundRect", "x": 3, "y": 1.5, "w": 2.2, "h": 1.8, "fill": { "color": "background2" }, "rectRadius": 0.1, "text": "Q2 2025\nGA Release\n1,000 users", "fontSize": 12, "fontColor": "secondary", "align": "center", "valign": "middle" } },
67
+ { "name": "shape", "props": { "type": "chevron", "x": 5.2, "y": 2, "w": 0.5, "h": 0.8, "fill": { "color": "secondary" } } },
68
+ { "name": "shape", "props": { "type": "roundRect", "x": 5.7, "y": 1.5, "w": 2.2, "h": 1.8, "fill": { "color": "background2" }, "rectRadius": 0.1, "text": "Q3 2025\nEnterprise\n10,000 users", "fontSize": 12, "fontColor": "accent", "align": "center", "valign": "middle" } },
69
+ { "name": "shape", "props": { "type": "chevron", "x": 7.9, "y": 2, "w": 0.5, "h": 0.8, "fill": { "color": "accent" } } },
70
+ { "name": "shape", "props": { "type": "roundRect", "x": 8.4, "y": 1.5, "w": 2.2, "h": 1.8, "fill": { "color": "background2" }, "rectRadius": 0.1, "text": "Q4 2025\nFull Scale\n50,000+ users", "fontSize": 12, "fontColor": "accent4", "align": "center", "valign": "middle" } },
71
+ {
72
+ "name": "highcharts",
73
+ "props": {
74
+ "options": {
75
+ "chart": { "type": "line", "width": 600, "height": 250 },
76
+ "title": { "text": "Projected User Growth" },
77
+ "xAxis": { "categories": ["Jan", "Mar", "May", "Jul", "Sep", "Nov"] },
78
+ "yAxis": { "title": { "text": "Users" } },
79
+ "series": [{ "name": "Users", "data": [100, 500, 1000, 5000, 25000, 50000], "color": "#7C3AED" }]
80
+ },
81
+ "x": 0.5, "y": 4, "w": 9, "h": 3
82
+ }
83
+ }
84
+ ]
85
+ }
86
+ ]
87
+ }
@@ -0,0 +1,80 @@
1
+ {
2
+ "name": "pptx",
3
+ "props": {
4
+ "title": "Q4 Sales Review",
5
+ "author": "Sales Team",
6
+ "subject": "Quarterly Sales Performance",
7
+ "theme": "corporate",
8
+ "grid": { "columns": 12, "rows": 6, "margin": { "top": 0.75, "right": 0.6, "bottom": 0.5, "left": 0.6 }, "gutter": { "column": 0.2, "row": 0.15 } }
9
+ },
10
+ "children": [
11
+ {
12
+ "name": "slide",
13
+ "props": { "background": { "color": "primary" }, "transition": { "type": "fade" } },
14
+ "children": [
15
+ { "name": "text", "props": { "text": "Q4 Sales Review", "style": "title", "color": "FFFFFF", "valign": "middle", "x": 1, "y": 2, "w": 8, "h": 1.5 } },
16
+ { "name": "text", "props": { "text": "Closing the year strong", "style": "subtitle", "color": "accent", "x": 1, "y": 3.8, "w": 8 } },
17
+ { "name": "shape", "props": { "type": "line", "x": 3, "y": 3.5, "w": 4, "h": 0, "line": { "color": "accent", "width": 1 } } }
18
+ ]
19
+ },
20
+ {
21
+ "name": "slide",
22
+ "props": { "background": { "color": "background" }, "notes": "Emphasize the 24% growth — largest in company history." },
23
+ "children": [
24
+ { "name": "text", "props": { "text": "Key Metrics", "style": "heading1", "x": 0.5, "y": 0.3, "w": 9 } },
25
+ { "name": "shape", "props": { "type": "roundRect", "x": 0.5, "y": 1.2, "w": 2.8, "h": 1.6, "fill": { "color": "background2" }, "rectRadius": 0.15, "text": "$12.4M\nRevenue", "fontSize": 18, "bold": true, "fontColor": "primary", "align": "center", "valign": "middle" } },
26
+ { "name": "shape", "props": { "type": "roundRect", "x": 3.6, "y": 1.2, "w": 2.8, "h": 1.6, "fill": { "color": "background2" }, "rectRadius": 0.15, "text": "+24%\nGrowth", "fontSize": 18, "bold": true, "fontColor": "accent5", "align": "center", "valign": "middle" } },
27
+ { "name": "shape", "props": { "type": "roundRect", "x": 6.7, "y": 1.2, "w": 2.8, "h": 1.6, "fill": { "color": "background2" }, "rectRadius": 0.15, "text": "847\nDeals Closed", "fontSize": 18, "bold": true, "fontColor": "accent4", "align": "center", "valign": "middle" } },
28
+ {
29
+ "name": "table",
30
+ "props": {
31
+ "rows": [
32
+ [{ "text": "Region", "bold": true, "fill": "primary", "color": "FFFFFF" }, { "text": "Revenue", "bold": true, "fill": "primary", "color": "FFFFFF" }, { "text": "YoY Growth", "bold": true, "fill": "primary", "color": "FFFFFF" }, { "text": "Deals", "bold": true, "fill": "primary", "color": "FFFFFF" }],
33
+ ["North America", "$5.2M", "+18%", "342"],
34
+ ["Europe", "$3.8M", "+31%", "285"],
35
+ ["Asia-Pacific", "$2.1M", "+42%", "148"],
36
+ ["Latin America", "$1.3M", "+12%", "72"]
37
+ ],
38
+ "x": 0.5, "y": 3.2, "w": 9, "colW": [2.5, 2, 2.5, 2],
39
+ "fontSize": 12, "color": "text", "border": { "type": "solid", "pt": 0.5, "color": "text2" }
40
+ }
41
+ }
42
+ ]
43
+ },
44
+ {
45
+ "name": "slide",
46
+ "props": { "background": { "color": "background" } },
47
+ "children": [
48
+ { "name": "text", "props": { "text": "Top Products by Revenue", "style": "heading1", "x": 0.5, "y": 0.3, "w": 9 } },
49
+ {
50
+ "name": "highcharts",
51
+ "props": {
52
+ "options": {
53
+ "chart": { "type": "column", "width": 600, "height": 350 },
54
+ "title": { "text": null },
55
+ "xAxis": { "categories": ["Platform Pro", "Analytics Suite", "Cloud Connect", "Security Plus", "DevOps Kit"] },
56
+ "yAxis": { "title": { "text": "Revenue ($M)" } },
57
+ "series": [
58
+ { "name": "Q3", "data": [2.1, 1.8, 1.2, 0.9, 0.6], "color": "#A0C4FF" },
59
+ { "name": "Q4", "data": [3.2, 2.4, 1.8, 1.5, 0.8], "color": "#1a365d" }
60
+ ],
61
+ "plotOptions": { "column": { "borderRadius": 4 } }
62
+ },
63
+ "x": 0.5, "y": 1.2, "w": 9, "h": 5
64
+ }
65
+ }
66
+ ]
67
+ },
68
+ {
69
+ "name": "slide",
70
+ "props": { "background": { "color": "primary" } },
71
+ "children": [
72
+ { "name": "text", "props": { "text": "2025 Targets", "style": "heading1", "color": "FFFFFF", "align": "center", "fontSize": 32, "x": 1, "y": 0.5, "w": 8 } },
73
+ { "name": "text", "props": { "text": "$16M revenue target (+29%)", "fontSize": 20, "color": "accent", "bullet": true, "x": 2, "y": 2, "w": 6 } },
74
+ { "name": "text", "props": { "text": "Expand APAC team to 25 reps", "fontSize": 20, "color": "accent", "bullet": true, "x": 2, "y": 2.8, "w": 6 } },
75
+ { "name": "text", "props": { "text": "Launch partner channel program", "fontSize": 20, "color": "accent", "bullet": true, "x": 2, "y": 3.6, "w": 6 } },
76
+ { "name": "text", "props": { "text": "Reduce sales cycle from 47 to 35 days", "fontSize": 20, "color": "accent", "bullet": true, "x": 2, "y": 4.4, "w": 6 } }
77
+ ]
78
+ }
79
+ ]
80
+ }