nexabase-report 0.3.2 → 0.3.3

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 CHANGED
@@ -60,12 +60,12 @@ import 'nexabase-report/style.css';
60
60
  <!DOCTYPE html>
61
61
  <html>
62
62
  <head>
63
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/nexabase-report@0.2/dist/style.css">
63
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/nexabase-report/dist/style.css">
64
64
  </head>
65
65
  <body>
66
66
  <nexa-viewer id="viewer" minimal></nexa-viewer>
67
67
 
68
- <script src="https://cdn.jsdelivr.net/npm/nexabase-report@0.2/dist/nexabase-report.umd.js"></script>
68
+ <script src="https://cdn.jsdelivr.net/npm/nexabase-report/dist/nexabase-report.umd.js"></script>
69
69
  <script>
70
70
  NexaReport.registerNexaReport();
71
71
 
@@ -558,8 +558,8 @@ npm publish --access public
558
558
  CDN automático:
559
559
 
560
560
  ```html
561
- <script src="https://cdn.jsdelivr.net/npm/nexabase-report@0.2/dist/nexabase-report.umd.js"></script>
562
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/nexabase-report@0.2/dist/style.css">
561
+ <script src="https://cdn.jsdelivr.net/npm/nexabase-report/dist/nexabase-report.umd.js"></script>
562
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/nexabase-report/dist/style.css">
563
563
  ```
564
564
 
565
565
  Ver [`docs/PUBLISHING.md`](docs/PUBLISHING.md) para CI/CD y registro privado.
@@ -1,5 +1,5 @@
1
- import { a as c } from "./index-DLc-dsvr.js";
2
- import { r as f } from "./html2canvas-B37RfnAd.js";
1
+ import { a as c } from "./index-DGMS37uu.js";
2
+ import { r as f } from "./html2canvas-PXHaohUp.js";
3
3
  function l(r, n) {
4
4
  for (var o = 0; o < n.length; o++) {
5
5
  const e = n[o];
@@ -1,4 +1,4 @@
1
- import { c as MQ } from "./index-DLc-dsvr.js";
1
+ import { c as MQ } from "./index-DGMS37uu.js";
2
2
  var nt = { exports: {} };
3
3
  /*!
4
4
  * html2canvas 1.4.1 <https://html2canvas.hertzen.com>
@@ -1,6 +1,6 @@
1
- import { g as De, a as Ke, c as Te } from "./index-DLc-dsvr.js";
2
- import { j as Ge } from "./jspdf.es.min-P9H2mKOY.js";
3
- import { r as Be } from "./html2canvas-B37RfnAd.js";
1
+ import { g as De, a as Ke, c as Te } from "./index-DGMS37uu.js";
2
+ import { j as Ge } from "./jspdf.es.min-G4HnA2xa.js";
3
+ import { r as Be } from "./html2canvas-PXHaohUp.js";
4
4
  function Ue(ge, we) {
5
5
  for (var me = 0; me < we.length; me++) {
6
6
  const ce = we[me];
@@ -87676,7 +87676,7 @@ function m_e(t) {
87676
87676
  let c = null, A = null;
87677
87677
  try {
87678
87678
  await new Promise((b) => setTimeout(b, 50)), typeof document < "u" && ((u = document.fonts) != null && u.ready) && await document.fonts.ready, c = await F9e(t.reportPaperRef.value, t.apiBaseUrl), A = await R9e(t.reportPaperRef.value);
87679
- const { default: g } = await import("./html2pdf-MO-8nuYw.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({
87679
+ const { default: g } = await import("./html2pdf-hgaCZ6lQ.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({
87680
87680
  filename: v,
87681
87681
  margin: 0,
87682
87682
  image: { type: "jpeg", quality: 0.98 },
@@ -87756,7 +87756,7 @@ function m_e(t) {
87756
87756
  const a = async () => {
87757
87757
  var P;
87758
87758
  if (await i()) return;
87759
- const { jsPDF: c } = await import("./jspdf.es.min-P9H2mKOY.js").then((k) => k.j), A = t.reportDef.value, u = A.layout.page, h = u.orientation === "landscape";
87759
+ const { jsPDF: c } = await import("./jspdf.es.min-G4HnA2xa.js").then((k) => k.j), A = t.reportDef.value, u = A.layout.page, h = u.orientation === "landscape";
87760
87760
  let f = 210, g = 297;
87761
87761
  if (u.format === "Letter" ? (f = 215.9, g = 279.4) : u.format === "Ticket" && (f = 80, g = 200), h) {
87762
87762
  const k = f;
@@ -88393,7 +88393,7 @@ const M_e = {
88393
88393
  }
88394
88394
  return !!se;
88395
88395
  }
88396
- 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.3.2"), u = jt(() => "2026-05-13T22:07:34.947Z"), h = jt(() => f.value), f = Ct(n.locale || "es"), g = Ct(!0), d = Ct("pages"), p = Ct(""), v = Ct(!1), E = jt(() => {
88396
+ 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.3.3"), u = jt(() => "2026-05-13T22:17:44.903Z"), h = jt(() => f.value), f = Ct(n.locale || "es"), g = Ct(!0), d = Ct("pages"), p = Ct(""), v = Ct(!1), E = jt(() => {
88397
88397
  const se = p.value.toLowerCase().trim();
88398
88398
  return se ? wg.value.filter((ue) => ue.title.toLowerCase().includes(se)) : wg.value;
88399
88399
  });
@@ -88451,7 +88451,7 @@ const M_e = {
88451
88451
  let F = null;
88452
88452
  async function N() {
88453
88453
  if (F) return F;
88454
- const se = await import("./html2pdf-MO-8nuYw.js").then((ue) => ue.h);
88454
+ const se = await import("./html2pdf-hgaCZ6lQ.js").then((ue) => ue.h);
88455
88455
  return F = (se == null ? void 0 : se.default) || se, F;
88456
88456
  }
88457
88457
  async function re(se) {
@@ -1,5 +1,5 @@
1
- import { c as Ke, a as Do } from "./index-DLc-dsvr.js";
2
- import { _ as Xa } from "./jspdf.es.min-P9H2mKOY.js";
1
+ import { c as Ke, a as Do } from "./index-DGMS37uu.js";
2
+ import { _ as Xa } from "./jspdf.es.min-G4HnA2xa.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-AtLyXWtP.js").then((c) => c.h)).catch(function(c) {
4183
+ return (Ht.html2canvas ? Promise.resolve(Ht.html2canvas) : import("./html2canvas-OS3QNo3J.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-CEDOM-ff.js")).catch(function(r) {
7305
+ return (Ht.canvg ? Promise.resolve(Ht.canvg) : import("./index.es-0l4FLy5P.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;
@@ -1,4 +1,4 @@
1
- import { N as r, S as s, i as t, r as S } from "./index-DLc-dsvr.js";
1
+ import { N as r, S as s, i as t, r as S } from "./index-DGMS37uu.js";
2
2
  export {
3
3
  r as NexaViewerElement,
4
4
  s as SYSTEM_VARIABLES,