@spiffcommerce/core 27.0.0-beta.13aa0f1e-5cb6-5e64-afe5-83b8ea2e14d3 → 27.0.0-beta.dd54188f-e25d-5605-a565-cd093566398b
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/CHANGELOG.md +6 -0
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -5875,7 +5875,14 @@ const Hi = (r) => r.substring(0, 5).toLowerCase().trim() === "data:", Ue = /* @_
|
|
|
5875
5875
|
})()
|
|
5876
5876
|
} : r, ya = 1.1, ts = (r) => {
|
|
5877
5877
|
var m, g, p, f, C;
|
|
5878
|
-
const e = (r.rotation || 0) * Math.PI / 180, a = Math.cos(e), n = -Math.sin(e), i = `text-path-${r.id}`, s = `text-fill-${r.id}`, o = r.x + (r.curved ? 0 : r.width / 2), l = r.y + (r.curved ? 0 : r.height / 2)
|
|
5878
|
+
const e = (r.rotation || 0) * Math.PI / 180, a = Math.cos(e), n = -Math.sin(e), i = `text-path-${r.id}`, s = `text-fill-${r.id}`, o = r.x + (r.curved ? 0 : r.width / 2), l = r.y + (r.curved ? 0 : r.height / 2);
|
|
5879
|
+
let c = "";
|
|
5880
|
+
try {
|
|
5881
|
+
c = gr.compile(r.text || "")((m = r._renderingConfiguration) == null ? void 0 : m.templatingContext);
|
|
5882
|
+
} catch {
|
|
5883
|
+
c = r.text ?? "";
|
|
5884
|
+
}
|
|
5885
|
+
const d = c.split(`
|
|
5879
5886
|
`), A = (g = r.strokeColor) != null && g.browserValue && r.strokeThickness ? (p = r.strokeColor) == null ? void 0 : p.browserValue : void 0, u = (f = r.strokeColor) != null && f.browserValue && r.strokeThickness ? r.strokeThickness : void 0;
|
|
5880
5887
|
if (r.curved && !r.paths || !r.fontData)
|
|
5881
5888
|
return null;
|
|
@@ -15775,7 +15782,7 @@ class rd {
|
|
|
15775
15782
|
} catch (a) {
|
|
15776
15783
|
throw console.error(a), new ut("Critical - Unable to synchronize workflow state with server.");
|
|
15777
15784
|
}
|
|
15778
|
-
}, this.options = t, this.options.applicationKey && Rr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 27.0.0-beta.
|
|
15785
|
+
}, this.options = t, this.options.applicationKey && Rr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 27.0.0-beta.03520a63-5cd6-54a3-a288-e777858aba3b"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
|
|
15779
15786
|
}
|
|
15780
15787
|
configure(t) {
|
|
15781
15788
|
mt.setHubUrl(t.hubUrl), mt.setServerUrl(t.serverUrl), mt.setServicesApiUrl(t.servicesApiUrl), this.marketplaceThemeInstallId = t.marketplaceThemeInstallId, this.marketplaceThemeInstallConfigurationId = t.marketplaceThemeInstallConfigurationId, this.userPoolClientId = t.userPoolClientId, this.userPoolRegion = t.userPoolRegion, this.spiffRegion = t.spiffRegion, t.bearerAuthenticationToken && $r(t.bearerAuthenticationToken), this.options.applicationKey && this.getIntegration(), this.spiffRegion && this.userPoolRegion && this.userPoolClientId && Lt.init(this.spiffRegion, this.userPoolRegion, this.userPoolClientId);
|