nexabase-report 0.2.13 → 0.2.14
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/README.md +173 -172
- package/dist/{html2canvas-DTMBknrb.js → html2canvas-Bz1P596e.js} +1 -1
- package/dist/{html2canvas-d7a22Xlx.js → html2canvas-CO3zd_po.js} +2 -2
- package/dist/{html2pdf-CUIndHPV.js → html2pdf-BKFAbMM9.js} +3 -3
- package/dist/{index-B77DEEx0.js → index-CrlafZ0y.js} +60 -5
- package/dist/{index.es-B-paKwhr.js → index.es-Dn-NWvkn.js} +2 -2
- package/dist/{jspdf.es.min-Bq3BwrOB.js → jspdf.es.min-DEtCEkBC.js} +2 -2
- package/dist/nexabase-report.es.js +1 -1
- package/dist/nexabase-report.umd.js +2 -2
- package/docs/PUBLISHING.md +22 -16
- package/package.json +1 -1
package/docs/PUBLISHING.md
CHANGED
|
@@ -113,11 +113,12 @@ npm publish --registry=http://localhost:4873
|
|
|
113
113
|
Una vez publicado en npm, automáticamente disponible en:
|
|
114
114
|
|
|
115
115
|
```html
|
|
116
|
-
<!--
|
|
117
|
-
<script src="https://
|
|
116
|
+
<!-- jsDelivr (recomendado, última minor) -->
|
|
117
|
+
<script src="https://cdn.jsdelivr.net/npm/nexabase-report@0.2/dist/nexabase-report.umd.js"></script>
|
|
118
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/nexabase-report@0.2/dist/style.css">
|
|
118
119
|
|
|
119
|
-
<!--
|
|
120
|
-
<script src="https://
|
|
120
|
+
<!-- unpkg -->
|
|
121
|
+
<script src="https://unpkg.com/nexabase-report@0.2/dist/nexabase-report.umd.js"></script>
|
|
121
122
|
|
|
122
123
|
<!-- Uso -->
|
|
123
124
|
<script>
|
|
@@ -133,19 +134,26 @@ Una vez publicado en npm, automáticamente disponible en:
|
|
|
133
134
|
## Estructura del paquete publicado
|
|
134
135
|
|
|
135
136
|
```
|
|
136
|
-
nexabase-report-0.
|
|
137
|
+
nexabase-report-0.2.x.tgz
|
|
137
138
|
├── dist/
|
|
138
139
|
│ ├── nexabase-report.es.js # ESM (import/export)
|
|
139
140
|
│ ├── nexabase-report.umd.js # UMD (script tag)
|
|
140
|
-
│ ├── index.d.ts # Types
|
|
141
|
-
│ ├── types/report.d.ts # Types
|
|
142
|
-
│
|
|
143
|
-
│ └── viewer/ # Viewer custom element
|
|
141
|
+
│ ├── index.d.ts # Types principales
|
|
142
|
+
│ ├── types/report.d.ts # Types del dominio
|
|
143
|
+
│ └── style.css # Estilos completos
|
|
144
144
|
├── docs/
|
|
145
|
-
│
|
|
145
|
+
│ ├── API_REST.md
|
|
146
|
+
│ ├── EXPORT_REGRESSION.md
|
|
147
|
+
│ ├── EXTERNAL_INTEGRATION.md
|
|
148
|
+
│ ├── PUBLISHING.md
|
|
149
|
+
│ ├── QA_PLAN.md
|
|
150
|
+
│ └── VIEWER_API.md
|
|
146
151
|
├── examples/
|
|
147
|
-
│ ├── report-
|
|
148
|
-
│
|
|
152
|
+
│ ├── report-factura.json
|
|
153
|
+
│ ├── report-productos.json
|
|
154
|
+
│ ├── report-master-detail-ordenes.json
|
|
155
|
+
│ ├── report-crosstab-categoria-mes.json
|
|
156
|
+
│ └── ... (11 ejemplos)
|
|
149
157
|
└── README.md
|
|
150
158
|
```
|
|
151
159
|
|
|
@@ -166,9 +174,9 @@ nexabase-report-0.1.0.tgz
|
|
|
166
174
|
|
|
167
175
|
---
|
|
168
176
|
|
|
169
|
-
## peerDependencies
|
|
177
|
+
## peerDependencies
|
|
170
178
|
|
|
171
|
-
|
|
179
|
+
Actualmente Vue 3.5+ y @nexabase/sdk son dependencias directas (empaquetadas en el bundle). Si se desea externalizarlas para evitar duplicación en el proyecto consumidor, mover a `peerDependencies`:
|
|
172
180
|
|
|
173
181
|
```json
|
|
174
182
|
{
|
|
@@ -184,8 +192,6 @@ Para evitar duplicar Vue y otras libs en el proyecto consumidor:
|
|
|
184
192
|
}
|
|
185
193
|
```
|
|
186
194
|
|
|
187
|
-
Esto le dice al consumidor: "necesitas Vue 3.5+, y opcionalmente @nexabase/sdk si quieres conectar al backend".
|
|
188
|
-
|
|
189
195
|
---
|
|
190
196
|
|
|
191
197
|
## Flujo de CI/CD recomendado (GitHub Actions)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nexabase-report",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.14",
|
|
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",
|