@json-to-office/core-docx 0.3.0 → 0.5.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@json-to-office/core-docx",
3
- "version": "0.3.0",
3
+ "version": "0.5.0",
4
4
  "description": "Core DOCX document generation engine",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -1,117 +0,0 @@
1
- {
2
- "name": "docx",
3
- "props": {
4
- "metadata": { "title": "Q4 2024 Quarterly Report" },
5
- "theme": "corporate"
6
- },
7
- "children": [
8
- {
9
- "name": "toc",
10
- "props": { "depth": { "from": 1, "to": 3 } }
11
- },
12
- {
13
- "name": "section",
14
- "props": { "level": 1, "pageBreak": true },
15
- "children": [
16
- { "name": "heading", "props": { "text": "Executive Summary", "level": 1 } },
17
- { "name": "paragraph", "props": { "text": "This report summarizes operational and financial performance for Q4 2024. The quarter marked significant growth across all business lines, with total revenue exceeding targets by 12%." } },
18
- {
19
- "name": "columns",
20
- "props": { "columns": 3, "gap": 0.4 },
21
- "children": [
22
- { "name": "statistic", "props": { "number": "$48.2M", "description": "Revenue", "trendValue": "+18% YoY" } },
23
- { "name": "statistic", "props": { "number": "1,247", "description": "New Customers", "trendValue": "+32% vs Q3" } },
24
- { "name": "statistic", "props": { "number": "94.3%", "description": "Retention Rate", "trendValue": "Industry best" } }
25
- ]
26
- }
27
- ]
28
- },
29
- {
30
- "name": "section",
31
- "props": { "level": 1, "pageBreak": true },
32
- "children": [
33
- { "name": "heading", "props": { "text": "Financial Performance", "level": 1 } },
34
- { "name": "paragraph", "props": { "text": "Revenue grew 18% year-over-year, driven by strong enterprise adoption and expansion of existing accounts. Operating margins improved by 3 percentage points through efficiency gains in cloud infrastructure." } },
35
- { "name": "heading", "props": { "text": "Revenue Breakdown by Segment", "level": 2 } },
36
- {
37
- "name": "table",
38
- "props": {
39
- "columns": [
40
- { "header": { "content": "Segment" }, "cells": [{ "content": "Enterprise" }, { "content": "Mid-Market" }, { "content": "SMB" }, { "content": "Services" }] },
41
- { "header": { "content": "Q4 Revenue" }, "cells": [{ "content": "$28.5M" }, { "content": "$12.8M" }, { "content": "$4.6M" }, { "content": "$2.3M" }] },
42
- { "header": { "content": "Q3 Revenue" }, "cells": [{ "content": "$24.1M" }, { "content": "$11.2M" }, { "content": "$4.0M" }, { "content": "$1.8M" }] },
43
- { "header": { "content": "Change" }, "cells": [{ "content": "+18.3%" }, { "content": "+14.3%" }, { "content": "+15.0%" }, { "content": "+27.8%" }] },
44
- { "header": { "content": "% of Total" }, "cells": [{ "content": "59%" }, { "content": "27%" }, { "content": "10%" }, { "content": "4%" }] }
45
- ]
46
- }
47
- },
48
- { "name": "heading", "props": { "text": "Cost Structure", "level": 2 } },
49
- {
50
- "name": "list",
51
- "props": {
52
- "format": "bullet",
53
- "items": [
54
- "Cost of revenue: $19.3M (40% of revenue, down from 43%)",
55
- "R&D investment: $9.6M (20% of revenue)",
56
- "Sales & Marketing: $7.2M (15% of revenue)",
57
- "General & Administrative: $3.4M (7% of revenue)"
58
- ]
59
- }
60
- }
61
- ]
62
- },
63
- {
64
- "name": "section",
65
- "props": { "level": 1, "pageBreak": true },
66
- "children": [
67
- { "name": "heading", "props": { "text": "Product & Engineering", "level": 1 } },
68
- { "name": "paragraph", "props": { "text": "The engineering team shipped 47 features and resolved 312 customer-reported issues during Q4. Key platform improvements included a new real-time collaboration engine and enhanced security controls." } },
69
- { "name": "heading", "props": { "text": "Key Releases", "level": 2 } },
70
- {
71
- "name": "list",
72
- "props": {
73
- "format": "decimal",
74
- "items": [
75
- "Real-time collaboration engine (v2.0) — 3x faster sync, offline support",
76
- "Advanced analytics dashboard — custom reports, scheduled exports",
77
- "SOC 2 Type II certification — completed audit with zero findings",
78
- "API v3 — GraphQL support, 50% reduction in payload sizes",
79
- "Mobile app redesign — 4.8 star rating on App Store"
80
- ]
81
- }
82
- },
83
- { "name": "heading", "props": { "text": "Infrastructure Metrics", "level": 2 } },
84
- {
85
- "name": "columns",
86
- "props": { "columns": 2 },
87
- "children": [
88
- {
89
- "name": "table",
90
- "props": {
91
- "columns": [
92
- { "header": { "content": "Metric" }, "cells": [{ "content": "Uptime" }, { "content": "Avg Response Time" }, { "content": "Deploys/Week" }, { "content": "Incidents (P1/P2)" }] },
93
- { "header": { "content": "Value" }, "cells": [{ "content": "99.97%" }, { "content": "42ms" }, { "content": "18" }, { "content": "2" }] }
94
- ]
95
- }
96
- },
97
- { "name": "paragraph", "props": { "text": "Infrastructure costs decreased 15% through migration to spot instances and improved auto-scaling policies. The platform handled a peak of 2.4M concurrent connections during the November product launch event without degradation." } }
98
- ]
99
- }
100
- ]
101
- },
102
- {
103
- "name": "section",
104
- "props": { "level": 1, "pageBreak": true },
105
- "children": [
106
- { "name": "heading", "props": { "text": "Outlook & Priorities", "level": 1 } },
107
- { "name": "paragraph", "props": { "text": "Looking ahead to Q1 2025, the company is focused on three strategic pillars:" } },
108
- { "name": "heading", "props": { "text": "1. Market Expansion", "level": 3 } },
109
- { "name": "paragraph", "props": { "text": "Launch EMEA operations with dedicated sales and support teams in London and Berlin. Target: 200 new enterprise accounts in H1 2025." } },
110
- { "name": "heading", "props": { "text": "2. Platform Innovation", "level": 3 } },
111
- { "name": "paragraph", "props": { "text": "Deliver AI-powered features including predictive analytics, automated workflows, and intelligent content recommendations." } },
112
- { "name": "heading", "props": { "text": "3. Operational Excellence", "level": 3 } },
113
- { "name": "paragraph", "props": { "text": "Achieve $50M ARR milestone while improving operating margins to 22%. Invest in customer success to maintain 95%+ retention." } }
114
- ]
115
- }
116
- ]
117
- }