nexabase-report 0.4.16 → 0.4.17
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/{html2pdf-juVLySfj.js → html2pdf-ZFjewlfh.js} +2 -2
- package/dist/{index-CHj66Z80.js → index-BZWczlO2.js} +4 -4
- package/dist/{index.es-2XR3UTrd.js → index.es-DWyXqjW1.js} +2 -2
- package/dist/{jspdf.es.min-Dj70V09k.js → jspdf.es.min-De5-7zst.js} +1 -1
- package/dist/nexabase-report.es.js +1 -1
- package/dist/nexabase-report.umd.js +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as Pl, c as br, a as Nl } from "./index-
|
|
2
|
-
import { j as Vl } from "./jspdf.es.min-
|
|
1
|
+
import { g as Pl, c as br, a as Nl } from "./index-BZWczlO2.js";
|
|
2
|
+
import { j as Vl } from "./jspdf.es.min-De5-7zst.js";
|
|
3
3
|
function Xl(Pe, jr) {
|
|
4
4
|
for (var fe = 0; fe < jr.length; fe++) {
|
|
5
5
|
const HA = jr[fe];
|
|
@@ -87757,7 +87757,7 @@ function x_e(t) {
|
|
|
87757
87757
|
let c = null, A = null;
|
|
87758
87758
|
try {
|
|
87759
87759
|
await new Promise((D) => setTimeout(D, 50)), typeof document < "u" && ((u = document.fonts) != null && u.ready) && await document.fonts.ready, c = await _6e(t.reportPaperRef.value, t.apiBaseUrl), A = await N6e(t.reportPaperRef.value);
|
|
87760
|
-
const { default: g } = await import("./html2pdf-
|
|
87760
|
+
const { default: g } = await import("./html2pdf-ZFjewlfh.js").then((D) => D.h), d = t.reportDef.value, v = d.layout.page, p = (((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({
|
|
87761
87761
|
filename: p,
|
|
87762
87762
|
margin: 0,
|
|
87763
87763
|
image: { type: "jpeg", quality: 0.98 },
|
|
@@ -87837,7 +87837,7 @@ function x_e(t) {
|
|
|
87837
87837
|
const a = async () => {
|
|
87838
87838
|
var H;
|
|
87839
87839
|
if (await i()) return;
|
|
87840
|
-
const { jsPDF: c } = await import("./jspdf.es.min-
|
|
87840
|
+
const { jsPDF: c } = await import("./jspdf.es.min-De5-7zst.js").then((G) => G.j), A = t.reportDef.value, u = A.layout.page, h = u.orientation === "landscape";
|
|
87841
87841
|
let f = 210, g = 297;
|
|
87842
87842
|
if (u.format === "Letter" ? (f = 215.9, g = 279.4) : u.format === "Ticket" && (f = 80, g = 200), h) {
|
|
87843
87843
|
const G = f;
|
|
@@ -88589,7 +88589,7 @@ const D_e = {
|
|
|
88589
88589
|
}
|
|
88590
88590
|
return !!oe;
|
|
88591
88591
|
}
|
|
88592
|
-
const o = Gt(() => a(n.minimal)), s = Gt(() => a(n.fluid)), l = Gt(() => !o.value || a(n.showThumbs)), c = Gt(() => !o.value || a(n.showToolbar)), A = Ft(!1), u = Gt(() => "0.4.
|
|
88592
|
+
const o = Gt(() => a(n.minimal)), s = Gt(() => a(n.fluid)), l = Gt(() => !o.value || a(n.showThumbs)), c = Gt(() => !o.value || a(n.showToolbar)), A = Ft(!1), u = Gt(() => "0.4.17"), h = Gt(() => "2026-05-22T12:39:05.372Z"), f = Gt(() => g.value), g = Ft(n.locale || "es"), d = Ft(!a(n.minimal)), v = Ft("pages"), p = Ft(""), E = Ft(!1), B = Gt(() => {
|
|
88593
88593
|
const oe = p.value.toLowerCase().trim();
|
|
88594
88594
|
return oe ? Mg.value.filter((ue) => ue.title.toLowerCase().includes(oe)) : Mg.value;
|
|
88595
88595
|
});
|
|
@@ -88651,7 +88651,7 @@ const D_e = {
|
|
|
88651
88651
|
let le = null;
|
|
88652
88652
|
async function ve() {
|
|
88653
88653
|
if (le) return le;
|
|
88654
|
-
const oe = await import("./html2pdf-
|
|
88654
|
+
const oe = await import("./html2pdf-ZFjewlfh.js").then((ue) => ue.h);
|
|
88655
88655
|
return le = (oe == null ? void 0 : oe.default) || oe, le;
|
|
88656
88656
|
}
|
|
88657
88657
|
async function Be(oe) {
|
|
@@ -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-BZWczlO2.js";
|
|
2
|
+
import { _ as Xa } from "./jspdf.es.min-De5-7zst.js";
|
|
3
3
|
var vt = function(a) {
|
|
4
4
|
return a && a.Math === Math && a;
|
|
5
5
|
}, _ = (
|
|
@@ -7303,7 +7303,7 @@ function(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-DWyXqjW1.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;
|