@charisol/plexo-sdk 1.4.20 → 1.4.21

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/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { i as e, n as t, o as n, r, s as i, t as a } from "./sanitizeCompiledHtml-BDiv8Bkr.js";
1
+ import { i as e, n as t, o as n, r, s as i, t as a } from "./sanitizeCompiledHtml-fZlEh8q-.js";
2
2
  import { S as o, _ as s, a as c, b as l, c as u, f as d, h as f, i as p, l as m, o as h, p as g, s as _, u as v, x as y, y as b } from "./iconSvgStatic-CGue7nyp.js";
3
3
  import { a as x, d as S, f as C, i as ee, o as te, u as w } from "./compiler-sF2uR6Ky.js";
4
4
  import { t as ne } from "./compilerClient-BIrZIgfG.js";
@@ -1895,7 +1895,7 @@ async function Tt(e, t) {
1895
1895
  let n = ne(e, "email", {
1896
1896
  instrument: !0,
1897
1897
  canvasEditorPadding: !0
1898
- }), { compileMjmlInBrowser: i } = await import("./mjmlBrowser-DQvN8hjF.js"), { html: a, errors: o } = i(n, { validationLevel: "soft" });
1898
+ }), { compileMjmlInBrowser: i } = await import("./mjmlBrowser-DLcLxc22.js"), { html: a, errors: o } = i(n, { validationLevel: "soft" });
1899
1899
  return {
1900
1900
  html: a,
1901
1901
  error: o.length > 0 ? o.map((e) => e.message ?? e.formattedMessage ?? "Unknown MJML error").join("; ") : null
@@ -1,4 +1,4 @@
1
- import { a as e, s as t } from "./sanitizeCompiledHtml-BDiv8Bkr.js";
1
+ import { a as e, s as t } from "./sanitizeCompiledHtml-fZlEh8q-.js";
2
2
  //#endregion
3
3
  //#region src/utilities/mjmlBrowser.ts
4
4
  var n = /* @__PURE__ */ t((/* @__PURE__ */ e(((e, t) => {
package/dist/sanitize.js CHANGED
@@ -1,2 +1,2 @@
1
- import { n as e, r as t, t as n } from "./sanitizeCompiledHtml-BDiv8Bkr.js";
1
+ import { n as e, r as t, t as n } from "./sanitizeCompiledHtml-fZlEh8q-.js";
2
2
  export { n as ALLOWED_ATTR, e as ALLOWED_TAGS, t as sanitizeCompiledHtml };
@@ -5043,7 +5043,7 @@ function ir(e) {
5043
5043
  }
5044
5044
  return n.join("; ");
5045
5045
  }
5046
- var ar = /* @__PURE__ */ "html.head.body.title.meta.style.link.div.span.p.h1.h2.h3.h4.h5.h6.a.img.button.svg.path.table.thead.tbody.tr.th.td.hr.br.ul.ol.li.section.article.main.header.footer.aside.g.circle.rect.line.polyline.polygon.ellipse.defs.lineargradient.radialgradient.stop.clippath.use.text.tspan".split("."), or = /* @__PURE__ */ "href.src.alt.class.id.style.title.target.rel.width.height.align.valign.cellpadding.cellspacing.border.viewbox.fill.stroke.d.xmlns.charset.name.content.lang.property.cx.cy.r.rx.ry.x1.y1.x2.y2.points.transform.stroke-width.stroke-linecap.stroke-linejoin.stroke-dasharray.opacity.stop-color.stop-opacity.offset.clip-path.gradientunits.preserveaspectratio.text-anchor.dominant-baseline.font-size.letter-spacing.data-*".split("."), sr = [
5046
+ var ar = /* @__PURE__ */ "html.head.body.title.meta.style.link.div.span.p.h1.h2.h3.h4.h5.h6.a.img.button.svg.path.table.thead.tbody.tr.th.td.hr.br.ul.ol.li.section.article.main.header.footer.aside.g.circle.rect.line.polyline.polygon.ellipse.defs.lineargradient.radialgradient.stop.clippath.use.text.tspan.form.input.textarea.select.option.label".split("."), or = /* @__PURE__ */ "href.src.alt.class.id.style.title.target.rel.width.height.align.valign.cellpadding.cellspacing.border.viewbox.fill.stroke.d.xmlns.charset.name.content.lang.action.method.type.placeholder.required.value.property.cx.cy.r.rx.ry.x1.y1.x2.y2.points.transform.stroke-width.stroke-linecap.stroke-linejoin.stroke-dasharray.opacity.stop-color.stop-opacity.offset.clip-path.gradientunits.preserveaspectratio.text-anchor.dominant-baseline.font-size.letter-spacing.data-*".split("."), sr = [
5047
5047
  "javascript:",
5048
5048
  "vbscript:",
5049
5049
  "data:"
@@ -5059,7 +5059,11 @@ function cr(e) {
5059
5059
  let e = typeof n.href == "string" ? n.href.trim() : "";
5060
5060
  /^https?:\/\//i.test(e) && !n.target && (n.target = "_blank"), n.target === "_blank" && (n.rel = "noopener noreferrer");
5061
5061
  }
5062
- for (let e of ["href", "src"]) {
5062
+ for (let e of [
5063
+ "href",
5064
+ "src",
5065
+ "action"
5066
+ ]) {
5063
5067
  let t = n[e];
5064
5068
  if (typeof t == "string") {
5065
5069
  let r = t.trim().toLowerCase();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@charisol/plexo-sdk",
3
3
  "private": false,
4
- "version": "1.4.20",
4
+ "version": "1.4.21",
5
5
  "description": "Plexo visual email and landing page builder SDK — drag-and-drop template editor with AI integration.",
6
6
  "keywords": [
7
7
  "email-builder",