nexabase-report 0.4.9 → 0.4.10

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-Dol3OmOt.js";
2
- import { j as Vl } from "./jspdf.es.min-DmhZrJ4g.js";
1
+ import { g as Pl, c as br, a as Nl } from "./index-BBqBSdWq.js";
2
+ import { j as Vl } from "./jspdf.es.min-Bc6fo5UW.js";
3
3
  function Xl(Pe, jr) {
4
4
  for (var fe = 0; fe < jr.length; fe++) {
5
5
  const HA = jr[fe];
@@ -4233,6 +4233,7 @@ const xq = "/logo.png", Qq = {
4233
4233
  report: { es: "Reporte", en: "Report", pt: "Relatório" },
4234
4234
  dashboard: { es: "Dashboard", en: "Dashboard", pt: "Dashboard" },
4235
4235
  offline: { es: "Desconectado", en: "Offline", pt: "Desconectado" },
4236
+ online: { es: "Conectado", en: "Online", pt: "Conectado" },
4236
4237
  collapse_ribbon: { es: "Contraer Cinta", en: "Collapse Ribbon", pt: "Recolher Faixa" },
4237
4238
  // Ribbon Tabs
4238
4239
  tab_file: { es: "Archivo", en: "File", pt: "Arquivo" },
@@ -87710,7 +87711,7 @@ function x_e(t) {
87710
87711
  let c = null, A = null;
87711
87712
  try {
87712
87713
  await new Promise((D) => setTimeout(D, 50)), typeof document < "u" && ((u = document.fonts) != null && u.ready) && await document.fonts.ready, c = await _we(t.reportPaperRef.value, t.apiBaseUrl), A = await Nwe(t.reportPaperRef.value);
87713
- const { default: g } = await import("./html2pdf-CZWmnb3X.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({
87714
+ const { default: g } = await import("./html2pdf-D-wYb0fN.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({
87714
87715
  filename: p,
87715
87716
  margin: 0,
87716
87717
  image: { type: "jpeg", quality: 0.98 },
@@ -87790,7 +87791,7 @@ function x_e(t) {
87790
87791
  const a = async () => {
87791
87792
  var H;
87792
87793
  if (await i()) return;
87793
- const { jsPDF: c } = await import("./jspdf.es.min-DmhZrJ4g.js").then((k) => k.j), A = t.reportDef.value, u = A.layout.page, h = u.orientation === "landscape";
87794
+ const { jsPDF: c } = await import("./jspdf.es.min-Bc6fo5UW.js").then((k) => k.j), A = t.reportDef.value, u = A.layout.page, h = u.orientation === "landscape";
87794
87795
  let f = 210, g = 297;
87795
87796
  if (u.format === "Letter" ? (f = 215.9, g = 279.4) : u.format === "Ticket" && (f = 80, g = 200), h) {
87796
87797
  const k = f;
@@ -88525,7 +88526,7 @@ const D_e = {
88525
88526
  }
88526
88527
  return !!oe;
88527
88528
  }
88528
- 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.9"), h = Pt(() => "2026-05-20T11:58:48.894Z"), f = Pt(() => g.value), g = xt(n.locale || "es"), d = xt(!a(n.minimal)), v = xt("pages"), p = xt(""), E = xt(!1), B = Pt(() => {
88529
+ 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.10"), h = Pt(() => "2026-05-20T12:10:34.657Z"), f = Pt(() => g.value), g = xt(n.locale || "es"), d = xt(!a(n.minimal)), v = xt("pages"), p = xt(""), E = xt(!1), B = Pt(() => {
88529
88530
  const oe = p.value.toLowerCase().trim();
88530
88531
  return oe ? Mg.value.filter((ue) => ue.title.toLowerCase().includes(oe)) : Mg.value;
88531
88532
  });
@@ -88587,7 +88588,7 @@ const D_e = {
88587
88588
  let le = null;
88588
88589
  async function ve() {
88589
88590
  if (le) return le;
88590
- const oe = await import("./html2pdf-CZWmnb3X.js").then((ue) => ue.h);
88591
+ const oe = await import("./html2pdf-D-wYb0fN.js").then((ue) => ue.h);
88591
88592
  return le = (oe == null ? void 0 : oe.default) || oe, le;
88592
88593
  }
88593
88594
  async function Be(oe) {
@@ -1,5 +1,5 @@
1
- import { c as Ke, a as Do } from "./index-Dol3OmOt.js";
2
- import { _ as Xa } from "./jspdf.es.min-DmhZrJ4g.js";
1
+ import { c as Ke, a as Do } from "./index-BBqBSdWq.js";
2
+ import { _ as Xa } from "./jspdf.es.min-Bc6fo5UW.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-DOFLBW2a.js")).catch(function(r) {
7306
+ return (Ht.canvg ? Promise.resolve(Ht.canvg) : import("./index.es-RmnOiYHj.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-Dol3OmOt.js";
1
+ import { N as r, S as s, i as t, r as S } from "./index-BBqBSdWq.js";
2
2
  export {
3
3
  r as NexaViewerElement,
4
4
  s as SYSTEM_VARIABLES,