nexabase-report 0.25.3 → 0.25.4

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 Nl, c as ut, d as Vl } from "./index-Dwzc3gW3.js";
2
- import { j as Xl } from "./jspdf.es.min-D-rJ6NxN.js";
1
+ import { g as Nl, c as ut, d as Vl } from "./index-BfqXYzfr.js";
2
+ import { j as Xl } from "./jspdf.es.min-DPMfSMdH.js";
3
3
  function Jl(Pe, br) {
4
4
  for (var fe = 0; fe < br.length; fe++) {
5
5
  const HA = br[fe];
@@ -62364,7 +62364,7 @@ class wi {
62364
62364
  c + A <= u && d.push(h);
62365
62365
  }
62366
62366
  yield {
62367
- band: d.length < a.length ? { ...s, elements: (s.elements || []).filter((h) => !d.includes(h)) } : s,
62367
+ band: d.length < a.length ? { ...e, elements: (e.elements || []).filter((h) => !d.includes(h)) } : s,
62368
62368
  rows: [r],
62369
62369
  computedHeight: l.height,
62370
62370
  elementLayout: l.elementLayout,
@@ -93244,7 +93244,7 @@ function WWe(t) {
93244
93244
  let A = null, p = null;
93245
93245
  try {
93246
93246
  await new Promise((P) => setTimeout(P, 50)), typeof document < "u" && ((g = document.fonts) != null && g.ready) && await document.fonts.ready, A = await LB(t.reportPaperRef.value, t.apiBaseUrl), p = await HB(t.reportPaperRef.value);
93247
- const { default: y } = await import("./html2pdf-BFWu5dFg.js").then((P) => P.h), E = t.reportDef.value, B = E.layout.page, x = (((v = E.metadata) == null ? void 0 : v.name) || "reporte") + ".pdf", I = t.reportPaperRef.value.querySelector(".report-page"), b = (I == null ? void 0 : I.offsetWidth) || t.reportPaperRef.value.offsetWidth || void 0, M = (I == null ? void 0 : I.offsetHeight) || void 0, C = Math.min(3, Math.max(2, (typeof window < "u" ? window.devicePixelRatio : 2) || 2)), D = (I == null ? void 0 : I.offsetWidth) || 794, T = (I == null ? void 0 : I.offsetHeight) || 1123, R = Math.max(1, t.pagination.value.totalPages), k = await y().set({
93247
+ const { default: y } = await import("./html2pdf-CdKBVAQg.js").then((P) => P.h), E = t.reportDef.value, B = E.layout.page, x = (((v = E.metadata) == null ? void 0 : v.name) || "reporte") + ".pdf", I = t.reportPaperRef.value.querySelector(".report-page"), b = (I == null ? void 0 : I.offsetWidth) || t.reportPaperRef.value.offsetWidth || void 0, M = (I == null ? void 0 : I.offsetHeight) || void 0, C = Math.min(3, Math.max(2, (typeof window < "u" ? window.devicePixelRatio : 2) || 2)), D = (I == null ? void 0 : I.offsetWidth) || 794, T = (I == null ? void 0 : I.offsetHeight) || 1123, R = Math.max(1, t.pagination.value.totalPages), k = await y().set({
93248
93248
  filename: x,
93249
93249
  margin: 0,
93250
93250
  image: { type: "jpeg", quality: 0.98 },
@@ -93275,7 +93275,7 @@ function WWe(t) {
93275
93275
  }
93276
93276
  async function a() {
93277
93277
  var j;
93278
- const h = t.reportDef.value, { jsPDF: A } = await import("./jspdf.es.min-D-rJ6NxN.js").then((Q) => Q.j), p = h.layout.page, g = p.orientation === "landscape";
93278
+ const h = t.reportDef.value, { jsPDF: A } = await import("./jspdf.es.min-DPMfSMdH.js").then((Q) => Q.j), p = h.layout.page, g = p.orientation === "landscape";
93279
93279
  let v = 210, m = 297;
93280
93280
  if (p.format === "Letter" ? (v = 215.9, m = 279.4) : p.format === "Ticket" && (v = 80, m = 200), g) {
93281
93281
  const Q = v;
@@ -93519,7 +93519,7 @@ function WWe(t) {
93519
93519
  t.isExportingPdf.value = !0;
93520
93520
  try {
93521
93521
  await new Promise((k) => setTimeout(k, 50)), typeof document < "u" && ((A = document.fonts) != null && A.ready) && await document.fonts.ready;
93522
- const v = await LB(t.reportPaperRef.value, t.apiBaseUrl), m = await HB(t.reportPaperRef.value), { default: y } = await import("./html2pdf-BFWu5dFg.js").then((k) => k.h), B = t.reportDef.value.layout.page, x = t.reportPaperRef.value.querySelector(".report-page"), I = (x == null ? void 0 : x.offsetWidth) || t.reportPaperRef.value.offsetWidth || void 0, b = (x == null ? void 0 : x.offsetHeight) || void 0, M = Math.min(3, Math.max(2, (typeof window < "u" ? window.devicePixelRatio : 2) || 2)), C = (x == null ? void 0 : x.offsetWidth) || 794, D = (x == null ? void 0 : x.offsetHeight) || 1123, T = Math.max(1, t.pagination.value.totalPages), S = await y().set({
93522
+ const v = await LB(t.reportPaperRef.value, t.apiBaseUrl), m = await HB(t.reportPaperRef.value), { default: y } = await import("./html2pdf-CdKBVAQg.js").then((k) => k.h), B = t.reportDef.value.layout.page, x = t.reportPaperRef.value.querySelector(".report-page"), I = (x == null ? void 0 : x.offsetWidth) || t.reportPaperRef.value.offsetWidth || void 0, b = (x == null ? void 0 : x.offsetHeight) || void 0, M = Math.min(3, Math.max(2, (typeof window < "u" ? window.devicePixelRatio : 2) || 2)), C = (x == null ? void 0 : x.offsetWidth) || 794, D = (x == null ? void 0 : x.offsetHeight) || 1123, T = Math.max(1, t.pagination.value.totalPages), S = await y().set({
93523
93523
  filename: "report.pdf",
93524
93524
  margin: 0,
93525
93525
  image: { type: "jpeg", quality: 0.98 },
@@ -93703,7 +93703,7 @@ ${E.outerHTML}
93703
93703
  t.isExportingPdf.value = !0;
93704
93704
  try {
93705
93705
  await new Promise((T) => setTimeout(T, 50)), typeof document < "u" && ((g = document.fonts) != null && g.ready) && await document.fonts.ready;
93706
- const m = await LB(A, t.apiBaseUrl), y = await HB(A), { default: E } = await import("./html2pdf-BFWu5dFg.js").then((T) => T.h), { default: B } = await import("./pptxgen.es-BTTug2SJ.js"), x = Array.from(A.querySelectorAll(".report-page"));
93706
+ const m = await LB(A, t.apiBaseUrl), y = await HB(A), { default: E } = await import("./html2pdf-CdKBVAQg.js").then((T) => T.h), { default: B } = await import("./pptxgen.es-BSMcWd_x.js"), x = Array.from(A.querySelectorAll(".report-page"));
93707
93707
  if (x.length === 0) {
93708
93708
  gi("PPTX export — no rendered pages were found", null);
93709
93709
  return;
@@ -94047,7 +94047,7 @@ const eKe = {
94047
94047
  }
94048
94048
  return !!ue;
94049
94049
  }
94050
- const o = dt(() => a(n.minimal)), s = dt(() => a(n.fluid)), l = dt(() => !o.value || a(n.showThumbs)), c = dt(() => !o.value || a(n.showToolbar)), u = Ke(!1), d = dt(() => "0.25.3"), f = dt(() => "2026-07-30T23:20:01.574Z"), h = dt(() => A.value), A = Ke(n.locale || "es"), p = Ke(!a(n.minimal)), g = Ke("pages"), v = Ke(""), m = Ke(!1), y = dt(() => {
94050
+ const o = dt(() => a(n.minimal)), s = dt(() => a(n.fluid)), l = dt(() => !o.value || a(n.showThumbs)), c = dt(() => !o.value || a(n.showToolbar)), u = Ke(!1), d = dt(() => "0.25.4"), f = dt(() => "2026-07-30T23:42:38.721Z"), h = dt(() => A.value), A = Ke(n.locale || "es"), p = Ke(!a(n.minimal)), g = Ke("pages"), v = Ke(""), m = Ke(!1), y = dt(() => {
94051
94051
  const ue = v.value.toLowerCase().trim();
94052
94052
  return ue ? Ae.value.filter((ve) => ve.title.toLowerCase().includes(ue)) : Ae.value;
94053
94053
  });
@@ -94109,7 +94109,7 @@ const eKe = {
94109
94109
  let pe = null;
94110
94110
  async function Qe() {
94111
94111
  if (pe) return pe;
94112
- const ue = await import("./html2pdf-BFWu5dFg.js").then((ve) => ve.h);
94112
+ const ue = await import("./html2pdf-CdKBVAQg.js").then((ve) => ve.h);
94113
94113
  return pe = (ue == null ? void 0 : ue.default) || ue, pe;
94114
94114
  }
94115
94115
  async function De(ue) {
@@ -125025,7 +125025,7 @@ const WAt = { class: "nd-rt-toolbar" }, KAt = ["title"], XAt = ["title"], $At =
125025
125025
  function Ta(ie, N) {
125026
125026
  Xr(ie, N, O, X);
125027
125027
  }
125028
- const cs = Ke(!1), yi = Ke(!1), Oo = Ke(!1), un = Ke("home"), ua = Ke(null), co = Ke(""), Cr = dt(() => "0.25.3"), Xl = dt(() => "2026-07-30T23:20:01.574Z"), Ah = dt(() => ({
125028
+ const cs = Ke(!1), yi = Ke(!1), Oo = Ke(!1), un = Ke("home"), ua = Ke(null), co = Ke(""), Cr = dt(() => "0.25.4"), Xl = dt(() => "2026-07-30T23:42:38.721Z"), Ah = dt(() => ({
125029
125029
  home: f("tab_file"),
125030
125030
  new: f("new"),
125031
125031
  open: f("open"),
@@ -1,5 +1,5 @@
1
- import { c as Va, d as il } from "./index-Dwzc3gW3.js";
2
- import { _ as La } from "./jspdf.es.min-D-rJ6NxN.js";
1
+ import { c as Va, d as il } from "./index-BfqXYzfr.js";
2
+ import { _ as La } from "./jspdf.es.min-DPMfSMdH.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-C1sQGgga.js")).catch((function(r) {
7306
+ return (Ht.canvg ? Promise.resolve(Ht.canvg) : import("./index.es-sjuuzK5b.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 { 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-Dwzc3gW3.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-BfqXYzfr.js";
2
2
  export {
3
3
  s as DEFAULT_THEME,
4
4
  r as NexaDesignerElement,