nexabase-report 0.4.19 → 0.4.21

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.
@@ -0,0 +1,207 @@
1
+ {
2
+ "metadata": {
3
+ "name": "Dashboard de Gauges y KPIs",
4
+ "version": "1.0",
5
+ "createdAt": "2026-05-26T10:00:00Z"
6
+ },
7
+ "documentType": "Dashboard",
8
+ "layout": {
9
+ "page": {
10
+ "format": "Dashboard",
11
+ "orientation": "landscape"
12
+ },
13
+ "widgets": [
14
+ {
15
+ "id": "w_cpu",
16
+ "type": "Gauge",
17
+ "title": "Uso de CPU",
18
+ "x": 0,
19
+ "y": 0,
20
+ "w": 3,
21
+ "h": 4,
22
+ "dataSource": "system_metrics",
23
+ "config": {
24
+ "gaugeType": "radial",
25
+ "valueField": "cpu",
26
+ "aggregation": "avg",
27
+ "min": 0,
28
+ "max": 100,
29
+ "label": "CPU",
30
+ "showValue": true,
31
+ "showLabel": true,
32
+ "ranges": [
33
+ { "from": 0, "to": 60, "color": "#10b981" },
34
+ { "from": 60, "to": 85, "color": "#f59e0b" },
35
+ { "from": 85, "to": 100, "color": "#ef4444" }
36
+ ]
37
+ }
38
+ },
39
+ {
40
+ "id": "w_memory",
41
+ "type": "Gauge",
42
+ "title": "Uso de Memoria",
43
+ "x": 3,
44
+ "y": 0,
45
+ "w": 3,
46
+ "h": 4,
47
+ "dataSource": "system_metrics",
48
+ "config": {
49
+ "gaugeType": "radial",
50
+ "valueField": "memory",
51
+ "aggregation": "avg",
52
+ "min": 0,
53
+ "max": 100,
54
+ "label": "Memoria",
55
+ "showValue": true,
56
+ "showLabel": true,
57
+ "ranges": [
58
+ { "from": 0, "to": 60, "color": "#10b981" },
59
+ { "from": 60, "to": 85, "color": "#f59e0b" },
60
+ { "from": 85, "to": 100, "color": "#ef4444" }
61
+ ]
62
+ }
63
+ },
64
+ {
65
+ "id": "w_disk",
66
+ "type": "Gauge",
67
+ "title": "Espacio en Disco",
68
+ "x": 6,
69
+ "y": 0,
70
+ "w": 3,
71
+ "h": 4,
72
+ "dataSource": "system_metrics",
73
+ "config": {
74
+ "gaugeType": "radial",
75
+ "valueField": "disk",
76
+ "aggregation": "avg",
77
+ "min": 0,
78
+ "max": 100,
79
+ "label": "Disco",
80
+ "showValue": true,
81
+ "showLabel": true,
82
+ "ranges": [
83
+ { "from": 0, "to": 70, "color": "#10b981" },
84
+ { "from": 70, "to": 90, "color": "#f59e0b" },
85
+ { "from": 90, "to": 100, "color": "#ef4444" }
86
+ ]
87
+ }
88
+ },
89
+ {
90
+ "id": "w_network",
91
+ "type": "Gauge",
92
+ "title": "Ancho de Banda",
93
+ "x": 9,
94
+ "y": 0,
95
+ "w": 3,
96
+ "h": 4,
97
+ "dataSource": "system_metrics",
98
+ "config": {
99
+ "gaugeType": "radial",
100
+ "valueField": "network",
101
+ "aggregation": "avg",
102
+ "min": 0,
103
+ "max": 100,
104
+ "label": "Red",
105
+ "showValue": true,
106
+ "showLabel": true,
107
+ "ranges": [
108
+ { "from": 0, "to": 50, "color": "#10b981" },
109
+ { "from": 50, "to": 80, "color": "#f59e0b" },
110
+ { "from": 80, "to": 100, "color": "#ef4444" }
111
+ ]
112
+ }
113
+ },
114
+ {
115
+ "id": "w_cpu_linear",
116
+ "type": "Gauge",
117
+ "title": "CPU (Lineal)",
118
+ "x": 0,
119
+ "y": 4,
120
+ "w": 4,
121
+ "h": 3,
122
+ "dataSource": "linear_gauges",
123
+ "config": {
124
+ "gaugeType": "linear",
125
+ "valueField": "cpu",
126
+ "aggregation": "avg",
127
+ "min": 0,
128
+ "max": 100,
129
+ "label": "Porcentaje",
130
+ "showValue": true,
131
+ "showLabel": true,
132
+ "ranges": [
133
+ { "from": 0, "to": 60, "color": "#10b981" },
134
+ { "from": 60, "to": 85, "color": "#f59e0b" },
135
+ { "from": 85, "to": 100, "color": "#ef4444" }
136
+ ]
137
+ }
138
+ },
139
+ {
140
+ "id": "w_mem_linear",
141
+ "type": "Gauge",
142
+ "title": "Memoria (Lineal)",
143
+ "x": 4,
144
+ "y": 4,
145
+ "w": 4,
146
+ "h": 3,
147
+ "dataSource": "linear_gauges",
148
+ "config": {
149
+ "gaugeType": "linear",
150
+ "valueField": "memory",
151
+ "aggregation": "avg",
152
+ "min": 0,
153
+ "max": 100,
154
+ "label": "Porcentaje",
155
+ "showValue": true,
156
+ "showLabel": true,
157
+ "ranges": [
158
+ { "from": 0, "to": 60, "color": "#10b981" },
159
+ { "from": 60, "to": 85, "color": "#f59e0b" },
160
+ { "from": 85, "to": 100, "color": "#ef4444" }
161
+ ]
162
+ }
163
+ },
164
+ {
165
+ "id": "w_disk_linear",
166
+ "type": "Gauge",
167
+ "title": "Disco (Lineal)",
168
+ "x": 8,
169
+ "y": 4,
170
+ "w": 4,
171
+ "h": 3,
172
+ "dataSource": "linear_gauges",
173
+ "config": {
174
+ "gaugeType": "linear",
175
+ "valueField": "disk",
176
+ "aggregation": "avg",
177
+ "min": 0,
178
+ "max": 100,
179
+ "label": "Porcentaje",
180
+ "showValue": true,
181
+ "showLabel": true,
182
+ "ranges": [
183
+ { "from": 0, "to": 70, "color": "#10b981" },
184
+ { "from": 70, "to": 90, "color": "#f59e0b" },
185
+ { "from": 90, "to": 100, "color": "#ef4444" }
186
+ ]
187
+ }
188
+ }
189
+ ]
190
+ },
191
+ "dataSources": [
192
+ {
193
+ "alias": "system_metrics",
194
+ "isManual": true,
195
+ "manualData": [
196
+ { "cpu": 72, "memory": 58, "disk": 45, "network": 23 }
197
+ ]
198
+ },
199
+ {
200
+ "alias": "linear_gauges",
201
+ "isManual": true,
202
+ "manualData": [
203
+ { "cpu": 72, "memory": 58, "disk": 45 }
204
+ ]
205
+ }
206
+ ]
207
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nexabase-report",
3
- "version": "0.4.19",
3
+ "version": "0.4.21",
4
4
  "description": "Professional report designer and viewer for NexaBase — drag & drop designer, PDF/Excel export, charts, crosstabs, subreports.",
5
5
  "license": "MIT",
6
6
  "author": "NexaBase Team",