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
|
@@ -4634,7 +4634,62 @@ const wq = "/logo.png", Mq = {
|
|
|
4634
4634
|
sv_abs: { es: "Valor Absoluto", en: "Absolute Value", pt: "Valor Absoluto" },
|
|
4635
4635
|
sv_ceil: { es: "Redondear Arriba", en: "Ceiling", pt: "Arredondar Acima" },
|
|
4636
4636
|
sv_floor: { es: "Redondear Abajo", en: "Floor", pt: "Arredondar Abaixo" },
|
|
4637
|
-
sv_lookup: { es: "Búsqueda", en: "Lookup", pt: "Busca" }
|
|
4637
|
+
sv_lookup: { es: "Búsqueda", en: "Lookup", pt: "Busca" },
|
|
4638
|
+
// Property Panels Extra
|
|
4639
|
+
element_type: { es: "Tipo de Elemento", en: "Element Type", pt: "Tipo de Elemento" },
|
|
4640
|
+
band_type: { es: "Tipo de Banda", en: "Band Type", pt: "Tipo de Banda" },
|
|
4641
|
+
content: { es: "Contenido", en: "Content", pt: "Conteúdo" },
|
|
4642
|
+
content_help: { es: "Texto estático o expresiones entre {{ }}", en: "Static text or expressions in {{ }}", pt: "Texto estático ou expressões em {{ }}" },
|
|
4643
|
+
height_cm: { es: "Alto (cm)", en: "Height (cm)", pt: "Altura (cm)" },
|
|
4644
|
+
no_data: { es: "Sin datos", en: "No data", pt: "Sem dados" },
|
|
4645
|
+
band_data_help: { es: "DataSource que itera esta banda", en: "DataSource that iterates this band", pt: "DataSource que itera esta banda" },
|
|
4646
|
+
group_field: { es: "Campo de Grupo", en: "Group Field", pt: "Campo de Grupo" },
|
|
4647
|
+
group_field_help: { es: "Campo por el cual agrupar", en: "Field to group by", pt: "Campo pelo qual agrupar" },
|
|
4648
|
+
master_field_help: { es: "Llave en el DataSource maestro", en: "Key in the master DataSource", pt: "Chave no DataSource mestre" },
|
|
4649
|
+
child_field_help: { es: "Llave en el DataSource hijo", en: "Key in the child DataSource", pt: "Chave no DataSource filho" },
|
|
4650
|
+
page_breaks: { es: "Saltos de Página", en: "Page Breaks", pt: "Quebras de Página" },
|
|
4651
|
+
pb_before: { es: "Salto antes", en: "Break before", pt: "Quebra antes" },
|
|
4652
|
+
pb_after: { es: "Salto después", en: "Break after", pt: "Quebra após" },
|
|
4653
|
+
pb_help: { es: "Fuerza un salto de página", en: "Force a page break", pt: "Força uma quebra de página" },
|
|
4654
|
+
ds_context: { es: "Contexto de Datos", en: "Data Context", pt: "Contexto de Dados" },
|
|
4655
|
+
ds_context_help: { es: "Origen de datos para el widget", en: "Data source for the widget", pt: "Origem de dados para o widget" },
|
|
4656
|
+
no_conn_ds_help: { es: "Conecta para ver campos reales", en: "Connect to see real fields", pt: "Conecte para ver campos reais" },
|
|
4657
|
+
value_field: { es: "Campo de Valor", en: "Value Field", pt: "Campo de Valor" },
|
|
4658
|
+
value_field_help: { es: "Campo numérico para calcular", en: "Numeric field to calculate", pt: "Campo numérico para calcular" },
|
|
4659
|
+
prefix: { es: "Prefijo", en: "Prefix", pt: "Prefixo" },
|
|
4660
|
+
suffix: { es: "Sufijo", en: "Suffix", pt: "Sufixo" },
|
|
4661
|
+
chart_type: { es: "Tipo de Gráfico", en: "Chart Type", pt: "Tipo de Gráfico" },
|
|
4662
|
+
argument_axis: { es: "Eje de Argumentos", en: "Argument Axis", pt: "Eixo de Argumentos" },
|
|
4663
|
+
value_axis: { es: "Eje de Valores", en: "Value Axis", pt: "Eixo de Valores" },
|
|
4664
|
+
min: { es: "Mínimo", en: "Minimum", pt: "Mínimo" },
|
|
4665
|
+
max: { es: "Máximo", en: "Maximum", pt: "Máximo" },
|
|
4666
|
+
cols_comma: { es: "Columnas (separadas por coma)", en: "Columns (comma separated)", pt: "Colunas (separadas por vírgula)" },
|
|
4667
|
+
grid_pos: { es: "Posición en Rejilla", en: "Grid Position", pt: "Posição na Grade" },
|
|
4668
|
+
column: { es: "Columna", en: "Column", pt: "Coluna" },
|
|
4669
|
+
width_cols: { es: "Ancho (cols)", en: "Width (cols)", pt: "Largura (cols)" },
|
|
4670
|
+
height_rows: { es: "Alto (filas)", en: "Height (rows)", pt: "Altura (linhas)" },
|
|
4671
|
+
bg_color_label: { es: "Color de Fondo", en: "Background Color", pt: "Cor de Fundo" },
|
|
4672
|
+
text_color_label: { es: "Color de Texto", en: "Text Color", pt: "Cor do Texto" },
|
|
4673
|
+
add_col: { es: "Añadir Columna", en: "Add Column", pt: "Adicionar Coluna" },
|
|
4674
|
+
col_mgmt: { es: "Gestión de Columnas", en: "Column Management", pt: "Gestão de Colunas" },
|
|
4675
|
+
col: { es: "Col", en: "Col", pt: "Col" },
|
|
4676
|
+
binding: { es: "Vínculo (Binding)", en: "Binding", pt: "Vínculo (Binding)" },
|
|
4677
|
+
url: { es: "URL", en: "URL", pt: "URL" },
|
|
4678
|
+
x_cm: { es: "X (cm)", en: "X (cm)", pt: "X (cm)" },
|
|
4679
|
+
y_cm: { es: "Y (cm)", en: "Y (cm)", pt: "Y (cm)" },
|
|
4680
|
+
axis_x: { es: "Eje X", en: "X Axis", pt: "Eixo X" },
|
|
4681
|
+
series_values: { es: "Valores de Series", en: "Series Values", pt: "Valores de Séries" },
|
|
4682
|
+
stacked: { es: "Apilado", en: "Stacked", pt: "Empilhado" },
|
|
4683
|
+
barcode_config: { es: "Config. de Código de Barras", en: "Barcode Config", pt: "Config. de Código de Barras" },
|
|
4684
|
+
field_value: { es: "Valor del Campo", en: "Field Value", pt: "Valor do Campo" },
|
|
4685
|
+
show_value_below: { es: "Mostrar valor debajo", en: "Show value below", pt: "Mostrar valor abaixo" },
|
|
4686
|
+
shape_config: { es: "Config. de Forma", en: "Shape Config", pt: "Config. de Forma" },
|
|
4687
|
+
line_color: { es: "Color de Línea", en: "Line Color", pt: "Cor da Linha" },
|
|
4688
|
+
line_thickness_px: { es: "Grosor Línea (px)", en: "Line Thickness (px)", pt: "Espessura da Linha (px)" },
|
|
4689
|
+
line_style: { es: "Estilo de Línea", en: "Line Style", pt: "Estilo da Linha" },
|
|
4690
|
+
example_sum: { es: "Ej: Total: {[sum(campo)]}", en: "Ex: Total: {[sum(field)]}", pt: "Ex: Total: {[sum(campo)]}" },
|
|
4691
|
+
example_group: { es: "Ej: {UPPER(groupKey)}", en: "Ex: {UPPER(groupKey)}", pt: "Ex: {UPPER(groupKey)}" },
|
|
4692
|
+
example_subtotal: { es: "Ej: Subtotal: {[sum(cantidad)]}", en: "Ex: Subtotal: {[sum(quantity)]}", pt: "Ex: Subtotal: {[sum(quantidade)]}" }
|
|
4638
4693
|
};
|
|
4639
4694
|
function Iq(t, e, r) {
|
|
4640
4695
|
const n = Mq[t];
|
|
@@ -87578,7 +87633,7 @@ function I_e(t) {
|
|
|
87578
87633
|
let c = null, A = null;
|
|
87579
87634
|
try {
|
|
87580
87635
|
await new Promise((b) => setTimeout(b, 50)), typeof document < "u" && ((u = document.fonts) != null && u.ready) && await document.fonts.ready, c = await b9e(t.reportPaperRef.value, t.apiBaseUrl), A = await _9e(t.reportPaperRef.value);
|
|
87581
|
-
const { default: g } = await import("./html2pdf-
|
|
87636
|
+
const { default: g } = await import("./html2pdf-BKFAbMM9.js").then((b) => b.h), d = t.reportDef.value, p = d.layout.page, v = (((h = d.metadata) == null ? void 0 : h.name) || "reporte") + ".pdf", E = t.reportPaperRef.value.querySelector(".report-page"), B = (E == null ? void 0 : E.offsetWidth) || t.reportPaperRef.value.offsetWidth || void 0, y = (E == null ? void 0 : E.offsetHeight) || void 0, m = Math.min(3, Math.max(2, (typeof window < "u" ? window.devicePixelRatio : 2) || 2)), w = (E == null ? void 0 : E.offsetWidth) || 794, M = (E == null ? void 0 : E.offsetHeight) || 1123, x = Math.max(1, t.pagination.value.totalPages), C = await g().set({
|
|
87582
87637
|
filename: v,
|
|
87583
87638
|
margin: 0,
|
|
87584
87639
|
image: { type: "jpeg", quality: 0.98 },
|
|
@@ -87658,7 +87713,7 @@ function I_e(t) {
|
|
|
87658
87713
|
const a = async () => {
|
|
87659
87714
|
var H;
|
|
87660
87715
|
if (await i()) return;
|
|
87661
|
-
const { jsPDF: c } = await import("./jspdf.es.min-
|
|
87716
|
+
const { jsPDF: c } = await import("./jspdf.es.min-DEtCEkBC.js").then((P) => P.j), A = t.reportDef.value, u = A.layout.page, h = u.orientation === "landscape";
|
|
87662
87717
|
let f = 210, g = 297;
|
|
87663
87718
|
if (u.format === "Letter" ? (f = 215.9, g = 279.4) : u.format === "Ticket" && (f = 80, g = 200), h) {
|
|
87664
87719
|
const P = f;
|
|
@@ -88287,7 +88342,7 @@ const Q_e = {
|
|
|
88287
88342
|
}
|
|
88288
88343
|
return !!se;
|
|
88289
88344
|
}
|
|
88290
|
-
const o = jt(() => a(n.minimal)), s = jt(() => !o.value || a(n.showThumbs)), l = jt(() => !o.value || a(n.showToolbar)), c = Ct(!1), A = jt(() => "0.2.
|
|
88345
|
+
const o = jt(() => a(n.minimal)), s = jt(() => !o.value || a(n.showThumbs)), l = jt(() => !o.value || a(n.showToolbar)), c = Ct(!1), A = jt(() => "0.2.14"), u = jt(() => "2026-05-13T15:00:21.541Z"), h = jt(() => f.value), f = Ct(n.locale || "es"), g = Ct(!0), d = Ct("pages"), p = Ct(""), v = Ct(!1), E = jt(() => {
|
|
88291
88346
|
const se = p.value.toLowerCase().trim();
|
|
88292
88347
|
return se ? Mg.value.filter((ue) => ue.title.toLowerCase().includes(se)) : Mg.value;
|
|
88293
88348
|
});
|
|
@@ -88345,7 +88400,7 @@ const Q_e = {
|
|
|
88345
88400
|
let F = null;
|
|
88346
88401
|
async function N() {
|
|
88347
88402
|
if (F) return F;
|
|
88348
|
-
const se = await import("./html2pdf-
|
|
88403
|
+
const se = await import("./html2pdf-BKFAbMM9.js").then((ue) => ue.h);
|
|
88349
88404
|
return F = (se == null ? void 0 : se.default) || se, F;
|
|
88350
88405
|
}
|
|
88351
88406
|
async function re(se) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as Ke, a as Do } from "./index-
|
|
2
|
-
import { _ as Xa } from "./jspdf.es.min-
|
|
1
|
+
import { c as Ke, a as Do } from "./index-CrlafZ0y.js";
|
|
2
|
+
import { _ as Xa } from "./jspdf.es.min-DEtCEkBC.js";
|
|
3
3
|
var vt = function(a) {
|
|
4
4
|
return a && a.Math === Math && a;
|
|
5
5
|
}, _ = (
|
|
@@ -4180,7 +4180,7 @@ function(n) {
|
|
|
4180
4180
|
}, n.loadImageFile = n.loadFile;
|
|
4181
4181
|
}(Rt.API), function(n) {
|
|
4182
4182
|
function e() {
|
|
4183
|
-
return (Ht.html2canvas ? Promise.resolve(Ht.html2canvas) : import("./html2canvas-
|
|
4183
|
+
return (Ht.html2canvas ? Promise.resolve(Ht.html2canvas) : import("./html2canvas-CO3zd_po.js").then((c) => c.h)).catch(function(c) {
|
|
4184
4184
|
return Promise.reject(new Error("Could not load html2canvas: " + c));
|
|
4185
4185
|
}).then(function(c) {
|
|
4186
4186
|
return c.default ? c.default : c;
|
|
@@ -7302,7 +7302,7 @@ function(n) {
|
|
|
7302
7302
|
*/
|
|
7303
7303
|
function(n) {
|
|
7304
7304
|
function e() {
|
|
7305
|
-
return (Ht.canvg ? Promise.resolve(Ht.canvg) : import("./index.es-
|
|
7305
|
+
return (Ht.canvg ? Promise.resolve(Ht.canvg) : import("./index.es-Dn-NWvkn.js")).catch(function(r) {
|
|
7306
7306
|
return Promise.reject(new Error("Could not load canvg: " + r));
|
|
7307
7307
|
}).then(function(r) {
|
|
7308
7308
|
return r.default ? r.default : r;
|