fui-material 1.18.2 → 1.18.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.
@@ -7277,7 +7277,9 @@ async function Ut({ data: i, format: e, orientation: t, fileName: r }) {
7277
7277
  }
7278
7278
  const Sn = (i, e) => {
7279
7279
  let t = [];
7280
+ console.log(i);
7280
7281
  const r = i.querySelectorAll("h1, h2, h3, h4, h5, h6, p, span, br, table");
7282
+ console.log(r);
7281
7283
  let n = "";
7282
7284
  return r.forEach((s, a) => {
7283
7285
  s.textContent !== null && (s.tagName === "H1" ? (n !== "" && (t.push(n += nt()), n = ""), t.push(bn(s.textContent))) : s.tagName === "H2" || s.tagName === "H3" || s.tagName === "H4" || s.tagName === "H5" || s.tagName === "H6" ? (n !== "" && (t.push(n += nt()), n = ""), t.push(xn(s.textContent))) : s.tagName === "P" ? (n !== "" && (t.push(n += nt()), n = ""), t.push(En(s.textContent))) : s.tagName === "SPAN" ? (n === "" && (n = Gr()), n += An(s.textContent), r.length === a + 1 && t.push(n += nt())) : s.tagName === "BR" ? (n !== "" && (t.push(n += nt()), n = ""), t.push(kn())) : s.tagName === "TABLE" && (n !== "" && (t.push(n += nt()), n = ""), t.push(Xt(s, e))));
@@ -7302,7 +7304,7 @@ const Ma = async ({
7302
7304
  fileName: e,
7303
7305
  jsxElement: t,
7304
7306
  format: r = "A4",
7305
- orientation: n = "landscape",
7307
+ orientation: n = "vertical",
7306
7308
  divId: s
7307
7309
  }) => {
7308
7310
  let a = 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fui-material",
3
- "version": "1.18.2",
3
+ "version": "1.18.3",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org/"