@charisol/plexo-sdk 1.4.10 → 1.4.11
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.
|
@@ -698,7 +698,7 @@ var q = (g) => {
|
|
|
698
698
|
case "order_confirmation":
|
|
699
699
|
case "order_tracking": {
|
|
700
700
|
let e = g.type.replace(/_([a-z])/g, (e, t) => t.toUpperCase()), t = P(_);
|
|
701
|
-
return `<div${C} data-plexo-commerce-${e}="true"${V("data-plexo-product-id", S.productId)}${V("data-plexo-service-id", S.serviceId)} style="${t}"></div>`;
|
|
701
|
+
return `<div${C} data-plexo-commerce-${e}="true"${V("data-plexo-product-id", S.productId)}${V("data-plexo-service-id", S.serviceId)}${V("data-plexo-commerce-mode", S.mode)} style="${t}"></div>`;
|
|
702
702
|
}
|
|
703
703
|
case "social": {
|
|
704
704
|
let e = r(g), t = _.textAlign === "center" ? "center" : _.textAlign === "right" ? "flex-end" : "flex-start";
|
package/dist/compiler.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, c as t, d as n, i as r, l as i, n as a, o, r as s, s as c, t as l, u } from "./compiler-
|
|
1
|
+
import { a as e, c as t, d as n, i as r, l as i, n as a, o, r as s, s as c, t as l, u } from "./compiler-N3eiCRoN.js";
|
|
2
2
|
export { l as DEFAULT_BODY_FONT_FAMILY, a as FORM_NON_CSS_STYLE_KEYS, s as collectResponsiveRule, r as compileToHTML, e as compileToHTMLWithStrataAuto, o as compileToPlainText, c as convertSectionRowToPlexoRow, t as getFormDefaultStyle, i as getInlineStylesImportant, u as htmlToPlainText, n as injectStrataBundle };
|
|
@@ -333,7 +333,7 @@ var v = "https://cdn.jsdelivr.net/npm/@charisol/plexo-sdk@latest/dist/social-ico
|
|
|
333
333
|
case "cart_summary":
|
|
334
334
|
case "checkout_flow":
|
|
335
335
|
case "order_confirmation":
|
|
336
|
-
case "order_tracking": return `${j}<div${h}${y} data-plexo-commerce-${l.type.replace(/_([a-z])/g, (e, t) => t.toUpperCase())}="true"${p.productId ? ` data-plexo-product-id="${b(p.productId)}"` : ""}${p.serviceId ? ` data-plexo-service-id="${b(p.serviceId)}"` : ""} style="${m}"></div>`;
|
|
336
|
+
case "order_tracking": return `${j}<div${h}${y} data-plexo-commerce-${l.type.replace(/_([a-z])/g, (e, t) => t.toUpperCase())}="true"${p.productId ? ` data-plexo-product-id="${b(p.productId)}"` : ""}${p.serviceId ? ` data-plexo-service-id="${b(p.serviceId)}"` : ""}${p.mode ? ` data-plexo-commerce-mode="${b(p.mode)}"` : ""} style="${m}"></div>`;
|
|
337
337
|
default: return `${j}<div${h}${y} style="${m}">${b(p.text || "")}</div>`;
|
|
338
338
|
}
|
|
339
339
|
}, z = (e, t, n) => {
|
package/dist/compilerClient.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "./compilerClient-
|
|
1
|
+
import { t as e } from "./compilerClient-vhOvubPV.js";
|
|
2
2
|
export { e as parseJsonToTargetFormat };
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as e, n as t, o as n, r, s as i, t as a } from "./sanitizeCompiledHtml-CxbxAYRH.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
|
-
import { a as x, d as S, f as C, i as ee, o as te, u as w } from "./compiler-
|
|
4
|
-
import { t as ne } from "./compilerClient-
|
|
3
|
+
import { a as x, d as S, f as C, i as ee, o as te, u as w } from "./compiler-N3eiCRoN.js";
|
|
4
|
+
import { t as ne } from "./compilerClient-vhOvubPV.js";
|
|
5
5
|
import T, { createContext as re, createElement as ie, forwardRef as ae, useCallback as oe, useContext as se, useEffect as E, useImperativeHandle as ce, useMemo as D, useRef as O, useState as k } from "react";
|
|
6
6
|
import { DndContext as le, DragOverlay as ue, MeasuringStrategy as de, PointerSensor as fe, TouchSensor as pe, pointerWithin as me, rectIntersection as he, useDraggable as A, useDroppable as ge, useSensor as j, useSensors as _e } from "@dnd-kit/core";
|
|
7
7
|
import { Fragment as M, jsx as N, jsxs as P } from "react/jsx-runtime";
|
package/package.json
CHANGED