nexabase-report 0.4.7 → 0.4.8

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 { g as Pl, c as br, a as Nl } from "./index-B7cX6Z3v.js";
2
- import { j as Vl } from "./jspdf.es.min-BhzZneIq.js";
1
+ import { g as Pl, c as br, a as Nl } from "./index-CohoKsw_.js";
2
+ import { j as Vl } from "./jspdf.es.min-CmC-1aP6.js";
3
3
  function Xl(Pe, jr) {
4
4
  for (var fe = 0; fe < jr.length; fe++) {
5
5
  const HA = jr[fe];
@@ -87700,7 +87700,7 @@ function w_e(t) {
87700
87700
  let c = null, A = null;
87701
87701
  try {
87702
87702
  await new Promise((D) => setTimeout(D, 50)), typeof document < "u" && ((u = document.fonts) != null && u.ready) && await document.fonts.ready, c = await Rwe(t.reportPaperRef.value, t.apiBaseUrl), A = await Dwe(t.reportPaperRef.value);
87703
- const { default: g } = await import("./html2pdf-YMLqgK1-.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({
87703
+ const { default: g } = await import("./html2pdf-DiIqxm_V.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({
87704
87704
  filename: p,
87705
87705
  margin: 0,
87706
87706
  image: { type: "jpeg", quality: 0.98 },
@@ -87780,7 +87780,7 @@ function w_e(t) {
87780
87780
  const a = async () => {
87781
87781
  var H;
87782
87782
  if (await i()) return;
87783
- const { jsPDF: c } = await import("./jspdf.es.min-BhzZneIq.js").then((k) => k.j), A = t.reportDef.value, u = A.layout.page, h = u.orientation === "landscape";
87783
+ const { jsPDF: c } = await import("./jspdf.es.min-CmC-1aP6.js").then((k) => k.j), A = t.reportDef.value, u = A.layout.page, h = u.orientation === "landscape";
87784
87784
  let f = 210, g = 297;
87785
87785
  if (u.format === "Letter" ? (f = 215.9, g = 279.4) : u.format === "Ticket" && (f = 80, g = 200), h) {
87786
87786
  const k = f;
@@ -88515,7 +88515,7 @@ const C_e = {
88515
88515
  }
88516
88516
  return !!oe;
88517
88517
  }
88518
- const o = Pt(() => a(n.minimal)), s = Pt(() => a(n.fluid)), l = Pt(() => !o.value || a(n.showThumbs)), c = Pt(() => !o.value || a(n.showToolbar)), A = xt(!1), u = Pt(() => "0.4.7"), h = Pt(() => "2026-05-20T01:28:52.247Z"), f = Pt(() => g.value), g = xt(n.locale || "es"), d = xt(!a(n.minimal)), v = xt("pages"), p = xt(""), E = xt(!1), B = Pt(() => {
88518
+ const o = Pt(() => a(n.minimal)), s = Pt(() => a(n.fluid)), l = Pt(() => !o.value || a(n.showThumbs)), c = Pt(() => !o.value || a(n.showToolbar)), A = xt(!1), u = Pt(() => "0.4.8"), h = Pt(() => "2026-05-20T02:46:57.736Z"), f = Pt(() => g.value), g = xt(n.locale || "es"), d = xt(!a(n.minimal)), v = xt("pages"), p = xt(""), E = xt(!1), B = Pt(() => {
88519
88519
  const oe = p.value.toLowerCase().trim();
88520
88520
  return oe ? Eg.value.filter((ue) => ue.title.toLowerCase().includes(oe)) : Eg.value;
88521
88521
  });
@@ -88577,7 +88577,7 @@ const C_e = {
88577
88577
  let le = null;
88578
88578
  async function pe() {
88579
88579
  if (le) return le;
88580
- const oe = await import("./html2pdf-YMLqgK1-.js").then((ue) => ue.h);
88580
+ const oe = await import("./html2pdf-DiIqxm_V.js").then((ue) => ue.h);
88581
88581
  return le = (oe == null ? void 0 : oe.default) || oe, le;
88582
88582
  }
88583
88583
  async function Be(oe) {
@@ -1,5 +1,5 @@
1
- import { c as Ke, a as Do } from "./index-B7cX6Z3v.js";
2
- import { _ as Xa } from "./jspdf.es.min-BhzZneIq.js";
1
+ import { c as Ke, a as Do } from "./index-CohoKsw_.js";
2
+ import { _ as Xa } from "./jspdf.es.min-CmC-1aP6.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-DLOHp0x-.js")).catch(function(r) {
7306
+ return (Ht.canvg ? Promise.resolve(Ht.canvg) : import("./index.es-uK4yILVe.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;
@@ -1,4 +1,4 @@
1
- import { N as r, S as s, i as t, r as S } from "./index-B7cX6Z3v.js";
1
+ import { N as r, S as s, i as t, r as S } from "./index-CohoKsw_.js";
2
2
  export {
3
3
  r as NexaViewerElement,
4
4
  s as SYSTEM_VARIABLES,