nexabase-report 0.27.0 → 0.28.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.
@@ -1,5 +1,5 @@
1
- import { c as Va, d as il } from "./index-CoBfRZRG.js";
2
- import { _ as La } from "./jspdf.es.min-CV8qUop3.js";
1
+ import { c as Va, d as il } from "./index-Cn1BXocE.js";
2
+ import { _ as La } from "./jspdf.es.min-CQvy1ivX.js";
3
3
  var fn = {}, cn = {}, cr, vn;
4
4
  function Q() {
5
5
  if (vn) return cr;
@@ -7303,7 +7303,7 @@ function wu(n) {
7303
7303
  */
7304
7304
  (function(n) {
7305
7305
  function e() {
7306
- return (Ht.canvg ? Promise.resolve(Ht.canvg) : import("./index.es-BNVDomhu.js")).catch((function(r) {
7306
+ return (Ht.canvg ? Promise.resolve(Ht.canvg) : import("./index.es-BQk_vh5w.js")).catch((function(r) {
7307
7307
  return Promise.reject(new Error("Could not load canvg: " + r));
7308
7308
  })).then((function(r) {
7309
7309
  return r.default ? r.default : r;
@@ -2225,6 +2225,45 @@
2225
2225
 
2226
2226
  .nd-bar-mock { font-size: 16px; letter-spacing: -1px; line-height: 1; }
2227
2227
 
2228
+ /* Placeholder compartido por Chart, Crosstab, Gauge, Indicator, SubReport, QRCode y DrillDown:
2229
+ ninguno tiene una vista previa real en el lienzo (ícono + título + detalle). Sin esta regla
2230
+ quedaban sin display:flex/centrado/fondo, apilados arriba-izquierda del elemento en vez de
2231
+ mostrarse como una caja de placeholder centrada. */
2232
+ .nd-chart-placeholder {
2233
+ display: flex;
2234
+ flex-direction: column;
2235
+ align-items: center;
2236
+ justify-content: center;
2237
+ gap: 4px;
2238
+ width: 100%;
2239
+ height: 100%;
2240
+ text-align: center;
2241
+ padding: 8px;
2242
+ box-sizing: border-box;
2243
+ background: var(--nd-background);
2244
+ border: 1px dashed var(--nd-border-strong);
2245
+ border-radius: 4px;
2246
+ color: var(--nd-text-muted);
2247
+ overflow: hidden;
2248
+ }
2249
+ .nd-chart-placeholder span { font-size: 11px; font-weight: 600; color: inherit; }
2250
+ .nd-chart-placeholder small { font-size: 9px; color: inherit; opacity: 0.8; }
2251
+
2252
+ .nd-fallback-render {
2253
+ display: flex;
2254
+ flex-direction: column;
2255
+ align-items: center;
2256
+ justify-content: center;
2257
+ gap: 2px;
2258
+ width: 100%;
2259
+ height: 100%;
2260
+ background: #f9f9f9;
2261
+ border: 1px dashed #ccc;
2262
+ box-sizing: border-box;
2263
+ }
2264
+ .nd-fallback-type { font-size: 10px; color: #666; font-weight: bold; }
2265
+ .nd-fallback-id { font-size: 8px; color: #999; }
2266
+
2228
2267
  /* Estilo de tabla: el contenedor recibe las variables de getTableStyleVars(el), las
2229
2268
  mismas que el visor, para que el lienzo muestre el estilo real (cabecera, borde).
2230
2269
  Sin tableStyle no hay variables y aplican los valores por defecto de siempre. */
@@ -2244,8 +2283,10 @@
2244
2283
 
2245
2284
  .nd-table-header {
2246
2285
  display: flex;
2247
- background: var(--nexa-th-bg, #f1f5f9);
2248
- border-bottom: var(--nexa-cell-border, 1px solid var(--nd-border-strong));
2286
+ background: var(--nexa-th-bg, #f3f4f6);
2287
+ /* Ancho/color fijos igual que `.nexa-table th` en el visor (NexaViewer.ce.vue): el separador
2288
+ de cabecera no lee --nexa-cell-border, solo las celdas de cuerpo lo hacen. */
2289
+ border-bottom: 2px solid #9ca3af;
2249
2290
  flex-shrink: 0;
2250
2291
  }
2251
2292
 
@@ -2268,9 +2309,9 @@
2268
2309
  .nd-table-cell:last-child { border-right: none; }
2269
2310
 
2270
2311
  .nd-table-cell.head {
2271
- font-weight: var(--nexa-th-weight, 600);
2312
+ font-weight: var(--nexa-th-weight, 700);
2272
2313
  color: var(--nexa-th-color, inherit);
2273
- background: var(--nexa-th-bg, #f8fafc);
2314
+ background: var(--nexa-th-bg, #f3f4f6);
2274
2315
  }
2275
2316
 
2276
2317
  .nd-table-cell.body {
@@ -2680,13 +2721,15 @@
2680
2721
  nunca a la página en el build de librería, así que las reglas puestas allí son
2681
2722
  invisibles. Todo el estilo del diseñador se sirve desde este archivo. */
2682
2723
  /* ─── Rich text ─────────────────────────────────────────────────── */
2683
- /* On the canvas the element shows its real formatting, so the author sees what will print. */
2724
+ /* On the canvas the element shows its real formatting, so the author sees what will print.
2725
+ font-size/line-height are NOT set here: they must come from el.style (spread onto the
2726
+ parent .nd-el by canvasElementStyle) and inherit down, exactly like RichTextRenderer.vue
2727
+ does in the viewer. A hardcoded value here used to silently ignore whatever font size the
2728
+ author picked in the properties panel — visible in the final render, invisible on canvas. */
2684
2729
  .nd-richtext-render {
2685
2730
  width: 100%;
2686
2731
  height: 100%;
2687
2732
  overflow: hidden;
2688
- font-size: 12px;
2689
- line-height: 1.35;
2690
2733
  }
2691
2734
  .nd-richtext-render :deep(p) { margin: 0 0 0.35em 0; }
2692
2735
  .nd-richtext-render :deep(p:last-child) { margin-bottom: 0; }
@@ -1,4 +1,4 @@
1
- import { D as s, N as r, a as t, S as E, b as m, i, r as l, e as o, t as p } from "./index-CoBfRZRG.js";
1
+ import { D as s, N as r, a as t, S as E, b as m, i, r as l, e as o, t as p } from "./index-Cn1BXocE.js";
2
2
  export {
3
3
  s as DEFAULT_THEME,
4
4
  r as NexaDesignerElement,