nexabase-report 0.23.0 → 0.24.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/dist/generated-DCQvzm6K.js +843 -0
- package/dist/{html2pdf-BpMNpCqV.js → html2pdf--tuxfOQz.js} +2 -2
- package/dist/{index-BysK8DUk.js → index-Cmb4caDa.js} +29295 -28973
- package/dist/{index.es-Bb40hvzm.js → index.es-cKUPBrfa.js} +2 -2
- package/dist/{jspdf.es.min-BsrIo7fB.js → jspdf.es.min-CcODNJHD.js} +1 -1
- package/dist/lib/styles/_designer.css +77 -5
- package/dist/nexabase-report.es.js +1 -1
- package/dist/nexabase-report.umd.js +282 -278
- package/dist/{pptxgen.es-CARderMY.js → pptxgen.es-De03BUiV.js} +1 -1
- package/package.json +1 -1
- package/dist/generated-I4jMr675.js +0 -839
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as Va, d as il } from "./index-
|
|
2
|
-
import { _ as La } from "./jspdf.es.min-
|
|
1
|
+
import { c as Va, d as il } from "./index-Cmb4caDa.js";
|
|
2
|
+
import { _ as La } from "./jspdf.es.min-CcODNJHD.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-
|
|
7306
|
+
return (Ht.canvg ? Promise.resolve(Ht.canvg) : import("./index.es-cKUPBrfa.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;
|
|
@@ -2105,12 +2105,15 @@
|
|
|
2105
2105
|
|
|
2106
2106
|
.nd-bar-mock { font-size: 16px; letter-spacing: -1px; line-height: 1; }
|
|
2107
2107
|
|
|
2108
|
+
/* Estilo de tabla: el contenedor recibe las variables de getTableStyleVars(el), las
|
|
2109
|
+
mismas que el visor, para que el lienzo muestre el estilo real (cabecera, borde).
|
|
2110
|
+
Sin tableStyle no hay variables y aplican los valores por defecto de siempre. */
|
|
2108
2111
|
.nd-table-render {
|
|
2109
2112
|
display: flex;
|
|
2110
2113
|
flex-direction: column;
|
|
2111
2114
|
width: 100%;
|
|
2112
2115
|
height: 100%;
|
|
2113
|
-
border: 1px solid var(--nd-border-strong);
|
|
2116
|
+
border: var(--nexa-cell-border, 1px solid var(--nd-border-strong));
|
|
2114
2117
|
background: inherit;
|
|
2115
2118
|
overflow: hidden;
|
|
2116
2119
|
border-radius: 2px;
|
|
@@ -2121,8 +2124,8 @@
|
|
|
2121
2124
|
|
|
2122
2125
|
.nd-table-header {
|
|
2123
2126
|
display: flex;
|
|
2124
|
-
background: #f1f5f9;
|
|
2125
|
-
border-bottom: 1px solid var(--nd-border-strong);
|
|
2127
|
+
background: var(--nexa-th-bg, #f1f5f9);
|
|
2128
|
+
border-bottom: var(--nexa-cell-border, 1px solid var(--nd-border-strong));
|
|
2126
2129
|
flex-shrink: 0;
|
|
2127
2130
|
}
|
|
2128
2131
|
|
|
@@ -2130,7 +2133,7 @@
|
|
|
2130
2133
|
|
|
2131
2134
|
.nd-table-cell {
|
|
2132
2135
|
padding: 4px 8px;
|
|
2133
|
-
border-right: 1px solid var(--nd-border);
|
|
2136
|
+
border-right: var(--nexa-cell-border, 1px solid var(--nd-border));
|
|
2134
2137
|
font-size: inherit;
|
|
2135
2138
|
font-family: inherit;
|
|
2136
2139
|
color: inherit;
|
|
@@ -2144,7 +2147,11 @@
|
|
|
2144
2147
|
|
|
2145
2148
|
.nd-table-cell:last-child { border-right: none; }
|
|
2146
2149
|
|
|
2147
|
-
.nd-table-cell.head {
|
|
2150
|
+
.nd-table-cell.head {
|
|
2151
|
+
font-weight: var(--nexa-th-weight, 600);
|
|
2152
|
+
color: var(--nexa-th-color, inherit);
|
|
2153
|
+
background: var(--nexa-th-bg, #f8fafc);
|
|
2154
|
+
}
|
|
2148
2155
|
|
|
2149
2156
|
.nd-table-cell.body {
|
|
2150
2157
|
color: inherit;
|
|
@@ -2728,3 +2735,68 @@
|
|
|
2728
2735
|
box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
|
|
2729
2736
|
}
|
|
2730
2737
|
.nd-help-empty { color: #94a3b8; font-size: 13px; }
|
|
2738
|
+
|
|
2739
|
+
/* ── Consistencia tipográfica de los controles ─────────────────────────────
|
|
2740
|
+
PrimeVue fija su propia font-family (-apple-system) directamente en .p-component,
|
|
2741
|
+
que gana sobre la Inter heredada de .nd-root. Se fuerza a heredar para que los
|
|
2742
|
+
controles usen la misma tipografía que sus etiquetas, en vez de verse "distintos".
|
|
2743
|
+
Los `.nd-root .p-*` tienen mayor especificidad que los `.p-*` del tema PrimeVue. */
|
|
2744
|
+
.nd-root .p-component,
|
|
2745
|
+
.nd-root .p-inputtext,
|
|
2746
|
+
.nd-root .p-dropdown,
|
|
2747
|
+
.nd-root .p-dropdown-label,
|
|
2748
|
+
.nd-root .p-inputnumber-input,
|
|
2749
|
+
.nd-root .p-multiselect,
|
|
2750
|
+
.nd-root .p-multiselect-label,
|
|
2751
|
+
.nd-root .p-button,
|
|
2752
|
+
.nd-root .p-checkbox,
|
|
2753
|
+
.nd-root textarea,
|
|
2754
|
+
.nd-root input {
|
|
2755
|
+
font-family: inherit;
|
|
2756
|
+
}
|
|
2757
|
+
/* Los paneles desplegables se teletransportan a <body>, fuera de .nd-root: se les
|
|
2758
|
+
fija Inter explícitamente para que las opciones no salgan en otra fuente. */
|
|
2759
|
+
.p-dropdown-panel .p-dropdown-item,
|
|
2760
|
+
.p-dropdown-panel .p-dropdown-filter,
|
|
2761
|
+
.p-multiselect-panel .p-multiselect-item {
|
|
2762
|
+
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
|
|
2763
|
+
}
|
|
2764
|
+
/* Tamaño uniforme de los controles del panel de propiedades (venían entre 14 y 16px). */
|
|
2765
|
+
.nd-field .p-inputtext,
|
|
2766
|
+
.nd-field .p-dropdown .p-dropdown-label,
|
|
2767
|
+
.nd-field .p-inputnumber-input,
|
|
2768
|
+
.nd-field textarea,
|
|
2769
|
+
.nd-cf-field .p-inputtext,
|
|
2770
|
+
.nd-cf-field .p-dropdown .p-dropdown-label {
|
|
2771
|
+
font-size: 12px;
|
|
2772
|
+
}
|
|
2773
|
+
|
|
2774
|
+
/* ── Editor de formato condicional ─────────────────────────────────────────
|
|
2775
|
+
Estos estilos vivían en un <style scoped> dentro de ConditionalFormatEditor.vue,
|
|
2776
|
+
pero el diseñador solo despacha _designer.css: los scoped de sus componentes no
|
|
2777
|
+
llegan a la página, así que el editor salía sin tarjetas, con la rejilla de colores
|
|
2778
|
+
apilada y las etiquetas a 16px. Movidos aquí (sin scope) aplican correctamente. */
|
|
2779
|
+
.nd-cf-editor { display: flex; flex-direction: column; gap: 10px; }
|
|
2780
|
+
.nd-cf-help { font-size: 11px; color: #6b7280; margin: 0; }
|
|
2781
|
+
.nd-cf-rule { border: 1px solid #e5e7eb; border-radius: 8px; background: #fafafa; overflow: hidden; }
|
|
2782
|
+
.nd-cf-rule.disabled { opacity: 0.55; }
|
|
2783
|
+
.nd-cf-rule-header { display: flex; align-items: center; justify-content: space-between; padding: 6px 8px; background: #f3f4f6; border-bottom: 1px solid #e5e7eb; }
|
|
2784
|
+
.nd-cf-rule-title { display: flex; align-items: center; gap: 6px; font-size: 12px; }
|
|
2785
|
+
.nd-cf-rule-num { font-weight: 700; color: #3b82f6; background: #dbeafe; padding: 0 6px; border-radius: 4px; font-size: 10px; line-height: 18px; }
|
|
2786
|
+
.nd-cf-rule-name { font-weight: 600; color: #374151; }
|
|
2787
|
+
.nd-cf-rule-name.muted { color: #9ca3af; font-weight: 400; }
|
|
2788
|
+
.nd-cf-rule-actions { display: flex; gap: 2px; }
|
|
2789
|
+
.nd-cf-preview { margin: 8px; padding: 8px 12px; border-radius: 4px; font-size: 12px; text-align: center; }
|
|
2790
|
+
.nd-cf-body { padding: 0 8px 8px 8px; display: flex; flex-direction: column; gap: 8px; }
|
|
2791
|
+
.nd-cf-field { display: flex; flex-direction: column; gap: 2px; }
|
|
2792
|
+
.nd-cf-field label { font-size: 10px; font-weight: 500; color: #6b7280; text-transform: uppercase; letter-spacing: 0.03em; }
|
|
2793
|
+
.nd-cf-row { display: flex; gap: 8px; }
|
|
2794
|
+
.nd-cf-style-section { background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 6px; padding: 8px; }
|
|
2795
|
+
.nd-cf-style-title { font-size: 10px; font-weight: 600; color: #6b7280; text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 6px; }
|
|
2796
|
+
.nd-cf-style-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
|
|
2797
|
+
.nd-cf-swatch { display: flex; flex-direction: column; gap: 2px; }
|
|
2798
|
+
.nd-cf-swatch label { font-size: 10px; color: #6b7280; }
|
|
2799
|
+
.nd-cf-color { width: 100%; height: 28px; border: 1px solid #d1d5db; border-radius: 4px; padding: 0; cursor: pointer; background: none; }
|
|
2800
|
+
.nd-cf-color::-webkit-color-swatch-wrapper { padding: 2px; }
|
|
2801
|
+
.nd-cf-color::-webkit-color-swatch { border: none; border-radius: 2px; }
|
|
2802
|
+
.nd-cf-italic-toggle { margin-top: 6px; }
|
|
@@ -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-
|
|
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-Cmb4caDa.js";
|
|
2
2
|
export {
|
|
3
3
|
s as DEFAULT_THEME,
|
|
4
4
|
r as NexaDesignerElement,
|