@spiffcommerce/core 32.4.0-beta.14c36723-271f-57c6-a353-2f8323e5450a → 32.4.0-beta.21fa002f-4770-5f05-ae6c-96bf3f93735d
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 +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +107 -109
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
@@ -24,7 +24,7 @@ import hn from "lodash.debounce";
|
|
24
24
|
import "fs";
|
25
25
|
import "path";
|
26
26
|
import Pr from "lodash.omit";
|
27
|
-
var ve = /* @__PURE__ */ ((n) => (n.Data = "Data", n.Font = "Font", n.Frame = "Frame", n.Illustration = "Illustration", n.Image = "Image", n.Model = "Model", n.Material = "Material", n.Color = "Color", n.QuestionnaireCollateral = "QuestionnaireCollateral", n.RequestCollateral = "RequestCollateral", n.SignupCollateral = "SignupCollateral", n.Video = "Video", n.ColorProfile = "ColorProfile", n.Environment = "Environment", n))(ve || {}), L = /* @__PURE__ */ ((n) => (n.FileUpload = "FileUpload", n.Option = "Option", n.ColorOption = "ColorOption", n.Text = "Text", n))(L || {}), E = /* @__PURE__ */ ((n) => (n.Information = "Information", n.Bulk = "Bulk", n.DigitalContent = "DigitalContent", n.Finish = "Finish", n.Frame = "Frame", n.Illustration = "Illustration", n.Introduction = "Introduction", n.Material = "Material", n.Model = "Model", n.Module = "Module", n.Picture = "Picture", n.Photo = "Photo", n.ProductOverlay = "ProductOverlay", n.Question = "Question", n.Shape = "Shape", n.SilentIllustration = "SilentIllustration", n.Text = "Text", n))(E || {}), Dr = /* @__PURE__ */ ((n) => (n.Color = "Color", n.Colors = "Colors", n.Selection = "Selection", n.Selections = "Selections", n.Text = "Text", n.Upload = "Upload", n))(Dr || {}),
|
27
|
+
var ve = /* @__PURE__ */ ((n) => (n.Data = "Data", n.Font = "Font", n.Frame = "Frame", n.Illustration = "Illustration", n.Image = "Image", n.Model = "Model", n.Material = "Material", n.Color = "Color", n.QuestionnaireCollateral = "QuestionnaireCollateral", n.RequestCollateral = "RequestCollateral", n.SignupCollateral = "SignupCollateral", n.Video = "Video", n.ColorProfile = "ColorProfile", n.Environment = "Environment", n))(ve || {}), L = /* @__PURE__ */ ((n) => (n.FileUpload = "FileUpload", n.Option = "Option", n.ColorOption = "ColorOption", n.Text = "Text", n))(L || {}), E = /* @__PURE__ */ ((n) => (n.Information = "Information", n.Bulk = "Bulk", n.DigitalContent = "DigitalContent", n.Finish = "Finish", n.Frame = "Frame", n.Illustration = "Illustration", n.Introduction = "Introduction", n.Material = "Material", n.Model = "Model", n.Module = "Module", n.Picture = "Picture", n.Photo = "Photo", n.ProductOverlay = "ProductOverlay", n.Question = "Question", n.Shape = "Shape", n.SilentIllustration = "SilentIllustration", n.Text = "Text", n))(E || {}), Dr = /* @__PURE__ */ ((n) => (n.Color = "Color", n.Colors = "Colors", n.Selection = "Selection", n.Selections = "Selections", n.Text = "Text", n.Upload = "Upload", n))(Dr || {}), Ht = /* @__PURE__ */ ((n) => (n.ThreeD = "ThreeD", n.FreeDesign = "FreeDesign", n.Print = "Print", n))(Ht || {}), x = /* @__PURE__ */ ((n) => (n.Frame = "frame", n.Group = "group", n.Image = "image", n.Pattern = "pattern", n.Illustration = "illustration", n.Textbox = "textbox", n))(x || {}), Fr = /* @__PURE__ */ ((n) => (n.Default = "Default", n.FirstTransaction = "FirstTransaction", n.OneToOne = "OneToOne", n))(Fr || {}), mn = /* @__PURE__ */ ((n) => (n.Pending = "Pending", n.Failed = "Failed", n.Validated = "Validated", n.Overridden = "Overridden", n))(mn || {}), xr = /* @__PURE__ */ ((n) => (n.Hyperlink = "Hyperlink", n.Edit = "Edit", n.Approve = "Approve", n))(xr || {}), kr = /* @__PURE__ */ ((n) => (n.Hub = "Hub", n.Shopify = "Shopify", n))(kr || {}), ga = /* @__PURE__ */ ((n) => (n.BackgroundRemover = "BackgroundRemover", n.ConversionAccelerator = "Conversion Accelerator", n.ProcessBuilder = "ProcessBuilder", n))(ga || {}), Mr = /* @__PURE__ */ ((n) => (n[n.Orbit = 0] = "Orbit", n[n.Pan = 1] = "Pan", n))(Mr || {}), Ee = /* @__PURE__ */ ((n) => (n.Owner = "Owner", n.Approver = "Approver", n.Editor = "Editor", n.Viewer = "Viewer", n))(Ee || {}), xt = /* @__PURE__ */ ((n) => (n.Autosize = "Autosize", n.Traditional = "Traditional", n))(xt || {}), W = /* @__PURE__ */ ((n) => (n[n.North = 0] = "North", n[n.Northeast = 1] = "Northeast", n[n.East = 2] = "East", n[n.Southeast = 3] = "Southeast", n[n.South = 4] = "South", n[n.Southwest = 5] = "Southwest", n[n.West = 6] = "West", n[n.Northwest = 7] = "Northwest", n))(W || {}), Tr = /* @__PURE__ */ ((n) => (n.Pixel = "px", n.Millimeter = "mm", n.Centimeter = "cm", n))(Tr || {});
|
28
28
|
class gn extends Error {
|
29
29
|
constructor(t) {
|
30
30
|
super(t), this.name = this.constructor.name;
|
@@ -40,7 +40,7 @@ class be extends _t {
|
|
40
40
|
super(`Option not Configured: ${t.stepTitle}`), this.optionId = t?.optionId || "N/A";
|
41
41
|
}
|
42
42
|
}
|
43
|
-
class
|
43
|
+
class H extends _t {
|
44
44
|
constructor(t) {
|
45
45
|
super(`Panel not Found: ${t.panelId}`), this.panelId = t?.panelId || "N/A";
|
46
46
|
}
|
@@ -50,7 +50,7 @@ class Et extends _t {
|
|
50
50
|
super(`Asset not found for variant: ${t.name}`), this.variant = t;
|
51
51
|
}
|
52
52
|
}
|
53
|
-
class
|
53
|
+
class jt extends _t {
|
54
54
|
constructor(t) {
|
55
55
|
super(`Resource not found for asset: ${t.name}`), this.asset = t;
|
56
56
|
}
|
@@ -166,7 +166,7 @@ let ra, ia;
|
|
166
166
|
function qc(n) {
|
167
167
|
ra = n;
|
168
168
|
}
|
169
|
-
function
|
169
|
+
function Hc(n) {
|
170
170
|
ia = n;
|
171
171
|
}
|
172
172
|
function Xt() {
|
@@ -257,7 +257,7 @@ const pn = /* @__PURE__ */ new Map(), Ra = /* @__PURE__ */ new Map(), Oa = /* @_
|
|
257
257
|
}
|
258
258
|
const e = t();
|
259
259
|
return e || "image/svg+xml";
|
260
|
-
},
|
260
|
+
}, jc = async (n) => {
|
261
261
|
const t = await fn(n), e = pn.get(n) || Qe(t);
|
262
262
|
return await Gr(new Blob([t], { type: e }));
|
263
263
|
}, Vr = (n) => {
|
@@ -291,9 +291,9 @@ const pn = /* @__PURE__ */ new Map(), Ra = /* @__PURE__ */ new Map(), Oa = /* @_
|
|
291
291
|
let Wr, fa;
|
292
292
|
const qr = (n) => {
|
293
293
|
fa = n;
|
294
|
-
},
|
294
|
+
}, Hr = () => fa;
|
295
295
|
let yn;
|
296
|
-
const
|
296
|
+
const jr = (n) => {
|
297
297
|
yn = n;
|
298
298
|
}, Yr = () => new Promise((n) => {
|
299
299
|
const t = gt.getHubUrl(), e = (a) => {
|
@@ -3620,8 +3620,8 @@ class wi {
|
|
3620
3620
|
const e = t.key;
|
3621
3621
|
if (this.bgrmProcessCache.has(e))
|
3622
3622
|
return this.bgrmProcessCache.get(e);
|
3623
|
-
if (
|
3624
|
-
const i = this.getLocalOrFromServer(
|
3623
|
+
if (j.has(e)) {
|
3624
|
+
const i = this.getLocalOrFromServer(j.get(e));
|
3625
3625
|
return this.bgrmProcessCache.set(e, i), i;
|
3626
3626
|
}
|
3627
3627
|
const r = (async () => {
|
@@ -3635,7 +3635,7 @@ class wi {
|
|
3635
3635
|
});
|
3636
3636
|
if (this.bgrmProcessCache.delete(e), !i.data?.assetRemoveBackground?.key)
|
3637
3637
|
throw new Error("Failed to remove background from image");
|
3638
|
-
return At.add(i.data.assetRemoveBackground),
|
3638
|
+
return At.add(i.data.assetRemoveBackground), j.add(e, i.data.assetRemoveBackground.key), this.cache.set(
|
3639
3639
|
i.data.assetRemoveBackground.key,
|
3640
3640
|
Promise.resolve(i.data.assetRemoveBackground)
|
3641
3641
|
), i.data.assetRemoveBackground;
|
@@ -3643,7 +3643,7 @@ class wi {
|
|
3643
3643
|
return this.bgrmProcessCache.set(e, r), r;
|
3644
3644
|
}
|
3645
3645
|
removePersistedAsset(t) {
|
3646
|
-
At.remove(t),
|
3646
|
+
At.remove(t), j.delete(t), j.deleteForBgRemovedKey(t);
|
3647
3647
|
}
|
3648
3648
|
getPersistedAssets() {
|
3649
3649
|
return At.list();
|
@@ -3750,30 +3750,30 @@ const Qt = "persistentAssets", lt = class lt {
|
|
3750
3750
|
lt.callbacks = [];
|
3751
3751
|
let At = lt;
|
3752
3752
|
const Va = "bgrmPersistentAssets";
|
3753
|
-
class
|
3753
|
+
class j {
|
3754
3754
|
static has(t) {
|
3755
|
-
return
|
3755
|
+
return j.getMap().has(t);
|
3756
3756
|
}
|
3757
3757
|
static get(t) {
|
3758
|
-
return
|
3758
|
+
return j.getMap().get(t);
|
3759
3759
|
}
|
3760
3760
|
static keys() {
|
3761
|
-
return
|
3761
|
+
return j.getMap().keys();
|
3762
3762
|
}
|
3763
3763
|
static values() {
|
3764
|
-
return
|
3764
|
+
return j.getMap().values();
|
3765
3765
|
}
|
3766
3766
|
static add(t, e) {
|
3767
|
-
const a =
|
3768
|
-
a.set(t, e),
|
3767
|
+
const a = j.getMap();
|
3768
|
+
a.set(t, e), j.setMap(a);
|
3769
3769
|
}
|
3770
3770
|
static delete(t) {
|
3771
|
-
const e =
|
3772
|
-
e.delete(t),
|
3771
|
+
const e = j.getMap();
|
3772
|
+
e.delete(t), j.setMap(e);
|
3773
3773
|
}
|
3774
3774
|
static deleteForBgRemovedKey(t) {
|
3775
|
-
const e =
|
3776
|
-
a && (e.delete(a),
|
3775
|
+
const e = j.getMap(), a = Array.from(e.keys()).find((r) => e.get(r) === t);
|
3776
|
+
a && (e.delete(a), j.setMap(e));
|
3777
3777
|
}
|
3778
3778
|
static getMap() {
|
3779
3779
|
return k.getMap(Va) || /* @__PURE__ */ new Map();
|
@@ -5121,7 +5121,7 @@ const q = new Ii(), Dn = C`
|
|
5121
5121
|
...MarketplaceThemeInstallConfigurationFields
|
5122
5122
|
}
|
5123
5123
|
}
|
5124
|
-
`,
|
5124
|
+
`, Hi = C`
|
5125
5125
|
${Dn}
|
5126
5126
|
${Oe}
|
5127
5127
|
query GetCurrentIntegration($themeConfigurationId: String) {
|
@@ -5134,7 +5134,7 @@ const q = new Ii(), Dn = C`
|
|
5134
5134
|
...ActiveIntegrationFields
|
5135
5135
|
}
|
5136
5136
|
}
|
5137
|
-
`,
|
5137
|
+
`, ji = C`
|
5138
5138
|
${Oe}
|
5139
5139
|
query ReadTransactionForMarketplaceTheme($id: String!) {
|
5140
5140
|
transactions(ids: [$id]) {
|
@@ -5348,7 +5348,7 @@ const M = () => {
|
|
5348
5348
|
viewBox: A,
|
5349
5349
|
width: u
|
5350
5350
|
}) => {
|
5351
|
-
const h = e || 0, m = 2 * (l?.scale || 1), p = A || { x: 0, y: 0, width: u, height: i }, g = `${p.x} ${p.y} ${p.width} ${p.height}`, f = M(), w = a.purpose ===
|
5351
|
+
const h = e || 0, m = 2 * (l?.scale || 1), p = A || { x: 0, y: 0, width: u, height: i }, g = `${p.x} ${p.y} ${p.width} ${p.height}`, f = M(), w = a.purpose === Ht.FreeDesign && /* @__PURE__ */ D("defs", { children: /* @__PURE__ */ D("clipPath", { id: "viewboxClip", children: /* @__PURE__ */ D("rect", { width: p.width, height: p.height, rx: h }) }) }), I = a.colorProfiles?.map((S, B) => (
|
5352
5352
|
/* @ts-ignore */
|
5353
5353
|
/* @__PURE__ */ D("color-profile", { name: S.name, xlinkHref: S.key, children: " " }, B)
|
5354
5354
|
)), P = r.map((S) => ({
|
@@ -5391,7 +5391,7 @@ const M = () => {
|
|
5391
5391
|
"g",
|
5392
5392
|
{
|
5393
5393
|
id: "element-group",
|
5394
|
-
clipPath: a.purpose ===
|
5394
|
+
clipPath: a.purpose === Ht.FreeDesign ? "url(#viewboxClip)" : void 0,
|
5395
5395
|
children: y.map((S) => zn(S)).filter((S) => !!S)
|
5396
5396
|
}
|
5397
5397
|
),
|
@@ -6143,7 +6143,7 @@ class fo {
|
|
6143
6143
|
layouts: {}
|
6144
6144
|
};
|
6145
6145
|
t.forEach((r) => {
|
6146
|
-
a = new
|
6146
|
+
a = new Hn(r).apply(a);
|
6147
6147
|
}), this.runStateCallbacks(), this.state = {
|
6148
6148
|
transaction: a
|
6149
6149
|
};
|
@@ -6201,7 +6201,7 @@ const ne = (n) => {
|
|
6201
6201
|
if (n.defaultVariant !== void 0)
|
6202
6202
|
return t.find((e) => e.id === n.defaultVariant);
|
6203
6203
|
}
|
6204
|
-
}, ut = /* @__PURE__ */ new Map(), Lt = /* @__PURE__ */ new Map(),
|
6204
|
+
}, ut = /* @__PURE__ */ new Map(), Lt = /* @__PURE__ */ new Map(), He = /* @__PURE__ */ new Map(), Gn = async (n, t) => {
|
6205
6205
|
if (!t) {
|
6206
6206
|
if (!n) throw new Error("No region or src supplied. Cannot construct frame!");
|
6207
6207
|
return ca(n);
|
@@ -6223,8 +6223,8 @@ const ne = (n) => {
|
|
6223
6223
|
throw new Error(`No asset for variant with ID: ${n.frameVariantId}`);
|
6224
6224
|
return e;
|
6225
6225
|
}, $e = async (n) => {
|
6226
|
-
if (
|
6227
|
-
return
|
6226
|
+
if (He.has(n))
|
6227
|
+
return He.get(n);
|
6228
6228
|
const e = (async () => {
|
6229
6229
|
if (Lt.has(n))
|
6230
6230
|
return Lt.get(n);
|
@@ -6260,7 +6260,7 @@ const ne = (n) => {
|
|
6260
6260
|
}
|
6261
6261
|
throw new Error("Malformed frame SVG");
|
6262
6262
|
})();
|
6263
|
-
return
|
6263
|
+
return He.set(n, e), e;
|
6264
6264
|
}, Ia = (n, t, e, a) => {
|
6265
6265
|
const r = t.width / t.height, i = n.width / n.height;
|
6266
6266
|
let o;
|
@@ -6321,9 +6321,9 @@ const ne = (n) => {
|
|
6321
6321
|
at(n).then((e) => {
|
6322
6322
|
t(e);
|
6323
6323
|
}).catch((e) => console.error(e));
|
6324
|
-
}),
|
6325
|
-
if (
|
6326
|
-
return
|
6324
|
+
}), je = /* @__PURE__ */ new Map(), Kt = async (n) => {
|
6325
|
+
if (je.has(n))
|
6326
|
+
return je.get(n);
|
6327
6327
|
const t = async (r) => new Promise((i, o) => {
|
6328
6328
|
try {
|
6329
6329
|
if (!(!!URL && !!URL.createObjectURL)) throw new Error("Environment incapable of generating ObjectURL");
|
@@ -6354,7 +6354,7 @@ const ne = (n) => {
|
|
6354
6354
|
A.resize(m, m);
|
6355
6355
|
return await A.render(), await t(c);
|
6356
6356
|
})();
|
6357
|
-
return
|
6357
|
+
return je.set(n, a), a;
|
6358
6358
|
}, $t = async (n, t, e, a) => {
|
6359
6359
|
const r = n.layoutState.layout.useEditableArea && n.layoutState.layout.editableArea || {
|
6360
6360
|
width: n.layoutState.layout.width,
|
@@ -6618,7 +6618,7 @@ class Q {
|
|
6618
6618
|
this.oldState = t;
|
6619
6619
|
}
|
6620
6620
|
}
|
6621
|
-
class
|
6621
|
+
class Ha extends Q {
|
6622
6622
|
constructor(t) {
|
6623
6623
|
super(), this.serializableWorkflow = t;
|
6624
6624
|
}
|
@@ -6713,7 +6713,7 @@ class O extends Q {
|
|
6713
6713
|
return this.oldState = t, this.commands.reduce((e, a) => a.apply(e), t);
|
6714
6714
|
}
|
6715
6715
|
}
|
6716
|
-
class
|
6716
|
+
class Hn extends Q {
|
6717
6717
|
constructor(t) {
|
6718
6718
|
super(), this.layout = t;
|
6719
6719
|
}
|
@@ -6880,7 +6880,7 @@ class yo extends Q {
|
|
6880
6880
|
};
|
6881
6881
|
}
|
6882
6882
|
}
|
6883
|
-
class
|
6883
|
+
class ja extends Q {
|
6884
6884
|
constructor(t, e) {
|
6885
6885
|
super(), this.id = t, this.fontData = e;
|
6886
6886
|
}
|
@@ -7223,7 +7223,7 @@ class Ya {
|
|
7223
7223
|
this.processRegion = async (r) => {
|
7224
7224
|
const i = this.layouts.find((l) => l.panelId === r.panelId);
|
7225
7225
|
if (!i)
|
7226
|
-
throw new
|
7226
|
+
throw new H(r);
|
7227
7227
|
let o = "";
|
7228
7228
|
if (this.configuration.type === E.ProductOverlay) {
|
7229
7229
|
let l = "";
|
@@ -7306,7 +7306,7 @@ class Ya {
|
|
7306
7306
|
} else return this.configuration.type === E.ProductOverlay ? Promise.all(
|
7307
7307
|
this.configuration.data.regions.map((t) => {
|
7308
7308
|
if (!this.layouts.find((a) => t.panelId === a.panelId))
|
7309
|
-
throw new
|
7309
|
+
throw new H(t);
|
7310
7310
|
return this.processRegion(t);
|
7311
7311
|
})
|
7312
7312
|
) : Promise.reject("Unknown silent step. This is a bug");
|
@@ -7330,7 +7330,7 @@ const Bo = async (n) => {
|
|
7330
7330
|
throw console.error(e), new Te("Failed to shorten URL, see console.");
|
7331
7331
|
}
|
7332
7332
|
};
|
7333
|
-
class
|
7333
|
+
class jn {
|
7334
7334
|
async poll() {
|
7335
7335
|
try {
|
7336
7336
|
if (await this.predicate()) {
|
@@ -7375,12 +7375,12 @@ class Po {
|
|
7375
7375
|
const h = (await Be([e]))[0], m = h?.versions?.find((p) => p.name === "mpeg4")?.link;
|
7376
7376
|
return { asset: h, link: m };
|
7377
7377
|
}, o = await new Promise((h, m) => {
|
7378
|
-
new
|
7378
|
+
new jn(
|
7379
7379
|
async () => !!(await i()).link,
|
7380
7380
|
async () => {
|
7381
7381
|
const p = await i();
|
7382
7382
|
if (!p.link || !p.link)
|
7383
|
-
throw new
|
7383
|
+
throw new jt(p.asset);
|
7384
7384
|
h({
|
7385
7385
|
rel: "mpeg4",
|
7386
7386
|
href: p.link
|
@@ -7418,7 +7418,7 @@ class Po {
|
|
7418
7418
|
const i = a.getLayouts(), s = `data:image/svg+xml;base64,${btoa(await un(t, { type: "svg" }))}`, l = e.map((c) => {
|
7419
7419
|
const d = c.region, A = i.find((u) => u.panelId === d?.panelId);
|
7420
7420
|
if (!A && d)
|
7421
|
-
throw new
|
7421
|
+
throw new H(d);
|
7422
7422
|
if (A && !d)
|
7423
7423
|
throw new Error("Region not found");
|
7424
7424
|
if (!A || !d)
|
@@ -7455,7 +7455,7 @@ class Fe {
|
|
7455
7455
|
const r = a.fileLink;
|
7456
7456
|
if (r)
|
7457
7457
|
return at(r, !0);
|
7458
|
-
throw new
|
7458
|
+
throw new jt(a);
|
7459
7459
|
};
|
7460
7460
|
}
|
7461
7461
|
async init(t, e, a) {
|
@@ -7558,7 +7558,7 @@ class Fe {
|
|
7558
7558
|
const s = e.fileLink || "";
|
7559
7559
|
return s.endsWith(".pdf") || s.endsWith(".eps") || s.endsWith(".ai") ? new Promise((l) => {
|
7560
7560
|
a.addPoller(
|
7561
|
-
new
|
7561
|
+
new jn(
|
7562
7562
|
async () => {
|
7563
7563
|
const d = (await $.getFromServer(e.key || "")).versions?.find((u) => u.name === "svg");
|
7564
7564
|
return d ? (await nt(d.link)).status === 200 : !1;
|
@@ -7735,7 +7735,7 @@ class Fe {
|
|
7735
7735
|
rotation: 0
|
7736
7736
|
} : void 0, P = M(), S = r.getLayouts().find((B) => B.panelId === h.panelId);
|
7737
7737
|
if (!S)
|
7738
|
-
throw new
|
7738
|
+
throw new H(h);
|
7739
7739
|
return {
|
7740
7740
|
command: this.getCreateElementCommand(P, h, S, {
|
7741
7741
|
frameData: p,
|
@@ -7779,7 +7779,7 @@ class Fe {
|
|
7779
7779
|
const a = t.fileLink;
|
7780
7780
|
if (a)
|
7781
7781
|
return a;
|
7782
|
-
throw new
|
7782
|
+
throw new jt(t);
|
7783
7783
|
}
|
7784
7784
|
async loadPatternFromAsset(t, e, a, r) {
|
7785
7785
|
const i = Fe.patternSource(t), o = a.markUpdatePending(), s = a.getWorkflowExperience().getStepById(e.stepName)?.frameService;
|
@@ -7973,11 +7973,11 @@ class Do {
|
|
7973
7973
|
throw new Et(e);
|
7974
7974
|
const l = s.fileLink;
|
7975
7975
|
if (!l)
|
7976
|
-
throw new
|
7976
|
+
throw new jt(s);
|
7977
7977
|
const c = await st(await this.getIllustrationBody(l)), d = await Kt(c.svg), A = (f) => {
|
7978
7978
|
const w = i.getLayouts().find((P) => P.panelId === f.panelId);
|
7979
7979
|
if (!w)
|
7980
|
-
throw new
|
7980
|
+
throw new H(f);
|
7981
7981
|
const I = M();
|
7982
7982
|
return {
|
7983
7983
|
regionElement: { id: I, region: f },
|
@@ -8361,7 +8361,7 @@ class Mo {
|
|
8361
8361
|
const l = a.getRegionElements(t.stepName).map((A) => new Tt(A.id)), c = (A) => {
|
8362
8362
|
const h = a.getLayouts().find((p) => p.panelId === A.panelId);
|
8363
8363
|
if (!h)
|
8364
|
-
throw new
|
8364
|
+
throw new H(A);
|
8365
8365
|
const m = M();
|
8366
8366
|
return {
|
8367
8367
|
regionElement: { id: m, region: A },
|
@@ -8473,7 +8473,7 @@ class No {
|
|
8473
8473
|
setCustomColor(t, e, a) {
|
8474
8474
|
const r = a.getLayouts(), o = (a.getRegionElements(e.stepName) || []).map((s) => {
|
8475
8475
|
const l = s.region;
|
8476
|
-
if (!r.find((d) => d.panelId === l?.panelId)) throw new
|
8476
|
+
if (!r.find((d) => d.panelId === l?.panelId)) throw new H(l);
|
8477
8477
|
return new Aa(s.id, this.shapeFillId, t);
|
8478
8478
|
}).filter((s) => !!s);
|
8479
8479
|
a.getCommandDispatcher()(new O(o)), a.updateStorage(e.stepName, { colour: t });
|
@@ -8538,7 +8538,7 @@ class No {
|
|
8538
8538
|
const l = (d) => {
|
8539
8539
|
const A = d.region;
|
8540
8540
|
if (!i.find((m) => m.panelId === A?.panelId))
|
8541
|
-
throw new
|
8541
|
+
throw new H(A);
|
8542
8542
|
const h = s();
|
8543
8543
|
return new Aa(d.id, this.shapeFillId, h);
|
8544
8544
|
}, c = a.map(l).filter((d) => !!d);
|
@@ -8556,7 +8556,7 @@ class No {
|
|
8556
8556
|
const l = (u) => {
|
8557
8557
|
const h = i.find((w) => w.panelId === u.panelId);
|
8558
8558
|
if (!h)
|
8559
|
-
throw new
|
8559
|
+
throw new H(u);
|
8560
8560
|
const m = s(), p = `
|
8561
8561
|
<svg
|
8562
8562
|
xmlns="http://www.w3.org/2000/svg"
|
@@ -8997,7 +8997,7 @@ class $o {
|
|
8997
8997
|
u,
|
8998
8998
|
async () => {
|
8999
8999
|
e.updateMetadata(t.stepName, { color: h, text: m }), e.updateStorage(t.stepName, { text: m, inputText: m });
|
9000
|
-
const g = s.map((w) => new
|
9000
|
+
const g = s.map((w) => new ja(w.id, A)), f = new O(g);
|
9001
9001
|
e.getCommandDispatcher()(f);
|
9002
9002
|
}
|
9003
9003
|
), s.length === 0 && l) {
|
@@ -9090,7 +9090,7 @@ class $o {
|
|
9090
9090
|
throw new Et(t);
|
9091
9091
|
const a = e.fileLink;
|
9092
9092
|
if (!a)
|
9093
|
-
throw new
|
9093
|
+
throw new jt(e);
|
9094
9094
|
const r = await Mt(a);
|
9095
9095
|
return {
|
9096
9096
|
assetUrl: a,
|
@@ -9100,7 +9100,7 @@ class $o {
|
|
9100
9100
|
async selectVariantCommand(t, e, a, r, i, o, s, l, c) {
|
9101
9101
|
const d = i.markUpdatePending(), A = await this.fontDataFromVariant(e);
|
9102
9102
|
if (r.length > 0) {
|
9103
|
-
const u = r.map((p) => new
|
9103
|
+
const u = r.map((p) => new ja(p.id, A));
|
9104
9104
|
if (l) {
|
9105
9105
|
const p = r.map((g) => new Ye(g.id, l));
|
9106
9106
|
u.push(...p);
|
@@ -9372,7 +9372,7 @@ const Ja = {
|
|
9372
9372
|
t: ["x", "y"],
|
9373
9373
|
a: ["rx", "ry", "xRotation", "largeArc", "sweep", "x", "y"]
|
9374
9374
|
};
|
9375
|
-
class
|
9375
|
+
class Ho {
|
9376
9376
|
constructor(t) {
|
9377
9377
|
const e = Array.from(t.querySelectorAll("path"));
|
9378
9378
|
this.paths = e.map((a) => {
|
@@ -9470,7 +9470,7 @@ class jo {
|
|
9470
9470
|
}
|
9471
9471
|
}
|
9472
9472
|
}
|
9473
|
-
class
|
9473
|
+
class jo extends Uo {
|
9474
9474
|
constructor() {
|
9475
9475
|
super(...arguments), this.moduleName = "Vegemite";
|
9476
9476
|
}
|
@@ -9495,7 +9495,7 @@ class Ho extends Uo {
|
|
9495
9495
|
const b = et("g");
|
9496
9496
|
b.classList.add("module-layer2"), I.appendChild(b), b.setAttribute("fill", "rgb(255,209,0)"), b.setAttribute("transform", "translate(1,-0.1)"), b.innerHTML = s;
|
9497
9497
|
const F = et("g");
|
9498
|
-
return F.classList.add("module-layer3"), I.appendChild(F), F.setAttribute("fill", "white"), F.innerHTML = s, new
|
9498
|
+
return F.classList.add("module-layer3"), I.appendChild(F), F.setAttribute("fill", "white"), F.innerHTML = s, new Ho(I).transform(([N, Z]) => [N, Z + (c / 2 - N) ** 2 / (c * 6)]), I;
|
9499
9499
|
}, u = et("g");
|
9500
9500
|
u.classList.add("module-root");
|
9501
9501
|
const h = et("defs");
|
@@ -9514,7 +9514,7 @@ class Ho extends Uo {
|
|
9514
9514
|
}
|
9515
9515
|
async function tr(n) {
|
9516
9516
|
if (n === "Vegemite")
|
9517
|
-
return new
|
9517
|
+
return new jo();
|
9518
9518
|
throw new T(`Failed to resolve Module, Module ${n} not found`);
|
9519
9519
|
}
|
9520
9520
|
const Yo = [
|
@@ -9535,7 +9535,7 @@ const Yo = [
|
|
9535
9535
|
const l = s.toString(), d = `data:image/svg+xml;base64,${$a(await un(l, { type: "svg" }))}`, A = (h) => {
|
9536
9536
|
const m = n.find((g) => g.panelId === h.panelId);
|
9537
9537
|
if (!m)
|
9538
|
-
throw new
|
9538
|
+
throw new H(h);
|
9539
9539
|
const p = M();
|
9540
9540
|
return new z(
|
9541
9541
|
{
|
@@ -9564,7 +9564,7 @@ const Yo = [
|
|
9564
9564
|
const l = async (c) => {
|
9565
9565
|
const d = await Gn(c, s?.asset?.fileLink), A = await $e(d), u = M(), h = n.find((p) => p.panelId === c.panelId);
|
9566
9566
|
if (!h)
|
9567
|
-
throw new
|
9567
|
+
throw new H(c);
|
9568
9568
|
const m = Ia(
|
9569
9569
|
o,
|
9570
9570
|
A,
|
@@ -9656,7 +9656,7 @@ const Yo = [
|
|
9656
9656
|
const I = (y) => {
|
9657
9657
|
const S = n.find((b) => b.panelId === y.panelId);
|
9658
9658
|
if (!S)
|
9659
|
-
throw new
|
9659
|
+
throw new H(y);
|
9660
9660
|
const B = M();
|
9661
9661
|
return new z(
|
9662
9662
|
{
|
@@ -9685,7 +9685,7 @@ const Yo = [
|
|
9685
9685
|
const a = await tr(e.data.module), r = t.data, i = (s, l) => {
|
9686
9686
|
const c = n.find((A) => A.panelId === l.panelId);
|
9687
9687
|
if (!c)
|
9688
|
-
throw new
|
9688
|
+
throw new H(l);
|
9689
9689
|
const d = M();
|
9690
9690
|
return new z(
|
9691
9691
|
{
|
@@ -9727,7 +9727,7 @@ const Yo = [
|
|
9727
9727
|
const l = (d) => {
|
9728
9728
|
const A = n.find((h) => h.panelId === d.panelId);
|
9729
9729
|
if (!A)
|
9730
|
-
throw new
|
9730
|
+
throw new H(d);
|
9731
9731
|
const u = M();
|
9732
9732
|
return new z(
|
9733
9733
|
{
|
@@ -9763,7 +9763,7 @@ const Yo = [
|
|
9763
9763
|
const s = (c) => {
|
9764
9764
|
const d = n.find((p) => p.panelId === c.panelId);
|
9765
9765
|
if (!d)
|
9766
|
-
throw new
|
9766
|
+
throw new H(c);
|
9767
9767
|
const A = `
|
9768
9768
|
<svg
|
9769
9769
|
xmlns="http://www.w3.org/2000/svg"
|
@@ -9815,7 +9815,7 @@ const Yo = [
|
|
9815
9815
|
l.forEach((c) => {
|
9816
9816
|
const d = n.find((u) => u.panelId === c.panelId);
|
9817
9817
|
if (!d)
|
9818
|
-
throw new
|
9818
|
+
throw new H(c);
|
9819
9819
|
const A = {
|
9820
9820
|
id: M(),
|
9821
9821
|
src: i,
|
@@ -9848,7 +9848,7 @@ const Yo = [
|
|
9848
9848
|
l.forEach((A) => {
|
9849
9849
|
const u = n.find((m) => m.panelId === A.panelId);
|
9850
9850
|
if (!u)
|
9851
|
-
throw new
|
9851
|
+
throw new H(A);
|
9852
9852
|
const h = {
|
9853
9853
|
id: M(),
|
9854
9854
|
src: i,
|
@@ -10181,7 +10181,7 @@ class cs extends Tn {
|
|
10181
10181
|
l = i.width, c = i.height;
|
10182
10182
|
const d = this.getWorkflowManager?.()?.getTemplatingContext(), A = Ea(t.layoutState.layout, e, {
|
10183
10183
|
renderingConfiguration: {
|
10184
|
-
purpose:
|
10184
|
+
purpose: Ht.ThreeD,
|
10185
10185
|
templatingContext: d
|
10186
10186
|
}
|
10187
10187
|
}), u = Cn(A), h = await ma.from(this.ctx, u, {
|
@@ -10215,7 +10215,7 @@ const wd = (n, t) => {
|
|
10215
10215
|
serializableWorkflow: { steps: [] },
|
10216
10216
|
layouts: {}
|
10217
10217
|
};
|
10218
|
-
r = new O(e.map((l) => new
|
10218
|
+
r = new O(e.map((l) => new Hn(l))).apply(r);
|
10219
10219
|
const o = await rs(n, t, e, a);
|
10220
10220
|
return new O(o).apply(r);
|
10221
10221
|
}, re = C`
|
@@ -10974,19 +10974,17 @@ const zs = (n) => n.sort((t, e) => t.index - e.index).map((t) => ({
|
|
10974
10974
|
class Ws {
|
10975
10975
|
constructor(t, e, a, r, i, o = !1, s, l = !1, c = !1, d = !1) {
|
10976
10976
|
this.workflowStatePromiseQueue = new Nn(1), this.initialized = !1, this.readOnly = !1, this.isReloadedTransaction = !1, this.singleVariantsRenderable = !1, this.stepTags = {}, this.setWorkflow = async (u) => {
|
10977
|
-
this.reloadedState ? this.layouts = Object.values(this.reloadedState.layouts || {}).map((
|
10978
|
-
this.stepTags[
|
10977
|
+
this.reloadedState ? this.layouts = Object.values(this.reloadedState.layouts || {}).map((h) => h.layout) : u ? this.layouts = Gs(this.experience.getTransaction(), u) : this.layouts = [], this.commandContext.initialize(this.layouts, this.reloadedState), this.renderableContextService = new is(this.layouts), this.renderableContextService.setWorkflowManager(this), u.steps.forEach((h) => {
|
10978
|
+
this.stepTags[h.stepName] = h.tags ?? [];
|
10979
10979
|
}), this.initializationPromise = this.initializeDefaultWorkflowState(u), this.initializationPromise.then(() => {
|
10980
10980
|
this.initialized = !0;
|
10981
|
-
}), this.initializationPromise.catch((
|
10982
|
-
throw console.error(
|
10981
|
+
}), this.initializationPromise.catch((h) => {
|
10982
|
+
throw console.error(h), this.initialized = !1, new Error("Workflow initialization failed due to an error. See console.");
|
10983
10983
|
}), this.initializationPromise.finally(
|
10984
10984
|
() => this.commandContext.registerStateCallback(() => {
|
10985
10985
|
this.updateStateWithServer(), this.renderLayouts();
|
10986
10986
|
})
|
10987
10987
|
);
|
10988
|
-
const h = this.previewService;
|
10989
|
-
h && (this.ejectFromPreviewService(), await this.injectIntoPreviewService(h, !0));
|
10990
10988
|
}, this.renderLayouts = () => {
|
10991
10989
|
if (!this.previewService) return;
|
10992
10990
|
const u = this.getCommandContext().getAllLayouts(), h = this.getLayoutPreviewService()?.getAll();
|
@@ -11382,7 +11380,7 @@ class Ws {
|
|
11382
11380
|
};
|
11383
11381
|
if (!Se(a, this.storage)) {
|
11384
11382
|
this.storage = a;
|
11385
|
-
const r = new
|
11383
|
+
const r = new Ha(this.constructSerializableWorkflow());
|
11386
11384
|
this.commandContext.apply(r, !0), this.onStepSpecificStorageChange(t), this.onStorageChange();
|
11387
11385
|
}
|
11388
11386
|
}
|
@@ -11586,7 +11584,7 @@ class Ws {
|
|
11586
11584
|
}, this.removeElements(h);
|
11587
11585
|
const g = i.steps.find((S) => S.stepName === t);
|
11588
11586
|
g?.type === E.Frame && this.getWorkflowExperience().getStepById(g.stepName)?.frameService?.setTargetElements(a.map((B) => B.id));
|
11589
|
-
const f = h.map((S) => new Tt(S.id)), w = new
|
11587
|
+
const f = h.map((S) => new Tt(S.id)), w = new Ha(this.constructSerializableWorkflow()), I = [...p, ...f, w];
|
11590
11588
|
I.length > 0 && this.commandContext.apply(new O(I), !0), await this.ensureStepsAreLoaded(), this.onElementsChange();
|
11591
11589
|
const P = this.getInvalidModelVariants(), y = this.modelContainer;
|
11592
11590
|
if (y) {
|
@@ -12003,7 +12001,7 @@ class qs extends X {
|
|
12003
12001
|
return this.step.data.pmsPickerEnabled ?? !1;
|
12004
12002
|
}
|
12005
12003
|
}
|
12006
|
-
class
|
12004
|
+
class Hs extends X {
|
12007
12005
|
constructor(t, e, a) {
|
12008
12006
|
super(t, e, a);
|
12009
12007
|
}
|
@@ -12016,7 +12014,7 @@ class js extends X {
|
|
12016
12014
|
);
|
12017
12015
|
}
|
12018
12016
|
}
|
12019
|
-
class
|
12017
|
+
class js extends X {
|
12020
12018
|
constructor(t, e, a) {
|
12021
12019
|
super(t, e, a);
|
12022
12020
|
}
|
@@ -12419,9 +12417,9 @@ class de {
|
|
12419
12417
|
case E.Shape:
|
12420
12418
|
return new Ks(t, e, t.getStepTags(e.stepName));
|
12421
12419
|
case E.Material:
|
12422
|
-
return new js(t, e, t.getStepTags(e.stepName));
|
12423
|
-
case E.Model:
|
12424
12420
|
return new Hs(t, e, t.getStepTags(e.stepName));
|
12421
|
+
case E.Model:
|
12422
|
+
return new js(t, e, t.getStepTags(e.stepName));
|
12425
12423
|
case E.Frame:
|
12426
12424
|
return new ec(t, e, t.getStepTags(e.stepName));
|
12427
12425
|
case E.Module:
|
@@ -13188,7 +13186,7 @@ class ml {
|
|
13188
13186
|
throw new Te("Failed to obtain 2D context for preview image creation");
|
13189
13187
|
const m = this.workflowManager.getTemplatingContext(), p = Ea(u.layoutState.layout, u.layoutState.elements, {
|
13190
13188
|
renderingConfiguration: {
|
13191
|
-
purpose:
|
13189
|
+
purpose: Ht.Print,
|
13192
13190
|
region: { left: A.x, top: A.y, width: A.width, height: A.height },
|
13193
13191
|
templatingContext: m
|
13194
13192
|
}
|
@@ -16041,7 +16039,7 @@ class ql {
|
|
16041
16039
|
}
|
16042
16040
|
}
|
16043
16041
|
const Ut = new ql();
|
16044
|
-
class
|
16042
|
+
class Hl {
|
16045
16043
|
/**
|
16046
16044
|
* Returns a formatted string representing a given amount with desired currency.
|
16047
16045
|
* @param currency The currency to represent the amount in.
|
@@ -16075,8 +16073,8 @@ class jl {
|
|
16075
16073
|
return "USD0,0";
|
16076
16074
|
}
|
16077
16075
|
}
|
16078
|
-
const an = new
|
16079
|
-
class
|
16076
|
+
const an = new Hl();
|
16077
|
+
class jl {
|
16080
16078
|
constructor(t, e, a, r) {
|
16081
16079
|
this.presentmentCurrency = void 0, this.presentmentCurrency = r, this.partnerCurrency = a, this.rateFrom = t, this.rateTo = e;
|
16082
16080
|
}
|
@@ -16163,10 +16161,10 @@ class Id {
|
|
16163
16161
|
} catch (a) {
|
16164
16162
|
throw console.error(a), new ht("Critical - Unable to synchronize workflow state with server.");
|
16165
16163
|
}
|
16166
|
-
}, this.options = t, this.options.applicationKey && qr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 32.4.0-beta.
|
16164
|
+
}, this.options = t, this.options.applicationKey && qr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 32.4.0-beta.fb23c601-e224-5493-92e3-e26e2bf81e48"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
|
16167
16165
|
}
|
16168
16166
|
configure(t) {
|
16169
|
-
gt.setHubUrl(t.hubUrl), gt.setServerUrl(t.serverUrl), gt.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 &&
|
16167
|
+
gt.setHubUrl(t.hubUrl), gt.setServerUrl(t.serverUrl), gt.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 && jr(t.bearerAuthenticationToken), this.options.applicationKey && this.getIntegration(), this.spiffRegion && this.userPoolRegion && this.userPoolClientId && Ut.init(this.spiffRegion, this.userPoolRegion, this.userPoolClientId);
|
16170
16168
|
}
|
16171
16169
|
/**
|
16172
16170
|
* @returns The asset manager allows for common operations related to assets
|
@@ -16176,7 +16174,7 @@ class Id {
|
|
16176
16174
|
return $;
|
16177
16175
|
}
|
16178
16176
|
getFlowService() {
|
16179
|
-
if (!
|
16177
|
+
if (!Hr()) throw new Error("Application key required to use Flow Service.");
|
16180
16178
|
return new $l();
|
16181
16179
|
}
|
16182
16180
|
async getCurrencyContext(t) {
|
@@ -16189,7 +16187,7 @@ class Id {
|
|
16189
16187
|
to: t
|
16190
16188
|
}
|
16191
16189
|
}), { rateFrom: o, rateTo: s } = i.data.currencyConversion;
|
16192
|
-
return new
|
16190
|
+
return new jl(o, s, a, t);
|
16193
16191
|
}
|
16194
16192
|
async getIntegration() {
|
16195
16193
|
if (this.activeIntegration)
|
@@ -16788,7 +16786,7 @@ class Id {
|
|
16788
16786
|
}
|
16789
16787
|
}
|
16790
16788
|
const _l = async (n, t) => (await v.getShadowGraphqlClient().query({
|
16791
|
-
query:
|
16789
|
+
query: Hi,
|
16792
16790
|
errorPolicy: "all",
|
16793
16791
|
fetchPolicy: "no-cache",
|
16794
16792
|
context: {
|
@@ -16824,7 +16822,7 @@ const _l = async (n, t) => (await v.getShadowGraphqlClient().query({
|
|
16824
16822
|
id: n
|
16825
16823
|
}
|
16826
16824
|
})).data?.bundles?.[0]?.marketplaceThemeInstallConfiguration, Fd = async (n) => (await v.getShadowGraphqlClient().query({
|
16827
|
-
query:
|
16825
|
+
query: ji,
|
16828
16826
|
errorPolicy: "all",
|
16829
16827
|
variables: {
|
16830
16828
|
id: n
|
@@ -17826,7 +17824,7 @@ const Gd = async (n) => {
|
|
17826
17824
|
variables: {
|
17827
17825
|
id: n.getTransaction().recipient.id
|
17828
17826
|
}
|
17829
|
-
})).data?.recipientValidate : void 0,
|
17827
|
+
})).data?.recipientValidate : void 0, Hd = async (n) => {
|
17830
17828
|
const t = n.map((a) => a.getTransaction().recipient?.id).filter((a) => !!a), e = await v.getShadowGraphqlClient().mutate({
|
17831
17829
|
mutation: pc,
|
17832
17830
|
errorPolicy: "all",
|
@@ -17840,7 +17838,7 @@ const Gd = async (n) => {
|
|
17840
17838
|
if (r)
|
17841
17839
|
return e.data?.recipientValidateBatch?.find((i) => i.entityId === r);
|
17842
17840
|
});
|
17843
|
-
},
|
17841
|
+
}, jd = async (n) => {
|
17844
17842
|
const t = n.getTransaction().recipient?.id;
|
17845
17843
|
if (!t)
|
17846
17844
|
return;
|
@@ -17873,9 +17871,9 @@ export {
|
|
17873
17871
|
we as ConversionDataType,
|
17874
17872
|
dc as ConversionLocation,
|
17875
17873
|
z as CreateElementCommand,
|
17876
|
-
|
17877
|
-
|
17878
|
-
|
17874
|
+
Hn as CreateLayoutCommand,
|
17875
|
+
jl as CurrencyContext,
|
17876
|
+
Hl as CurrencyService,
|
17879
17877
|
Tt as DeleteElementCommand,
|
17880
17878
|
Zs as DigitalContentStepHandle,
|
17881
17879
|
Cl as FileUploadGlobalPropertyHandle,
|
@@ -17885,7 +17883,7 @@ export {
|
|
17885
17883
|
So as FontAlignmentCommand,
|
17886
17884
|
wo as FontColorCommand,
|
17887
17885
|
yo as FontSizeCommand,
|
17888
|
-
|
17886
|
+
ja as FontSourceCommand,
|
17889
17887
|
Zl as FrameService,
|
17890
17888
|
tc as FrameStep,
|
17891
17889
|
ec as FrameStepHandle,
|
@@ -17898,12 +17896,12 @@ export {
|
|
17898
17896
|
kr as IntegrationType,
|
17899
17897
|
dd as LayoutElementFactory,
|
17900
17898
|
x as LayoutElementType,
|
17901
|
-
|
17902
|
-
|
17903
|
-
|
17899
|
+
H as LayoutNotFoundError,
|
17900
|
+
Ht as LayoutRenderingPurpose,
|
17901
|
+
Hs as MaterialStepHandle,
|
17904
17902
|
Ie as MisconfigurationError,
|
17905
17903
|
kd as MockWorkflowManager,
|
17906
|
-
|
17904
|
+
js as ModelStepHandle,
|
17907
17905
|
tl as ModuleStepHandle,
|
17908
17906
|
Ad as MoveCommand,
|
17909
17907
|
sr as ObjectInput,
|
@@ -17921,7 +17919,7 @@ export {
|
|
17921
17919
|
Js as QuestionStepHandle,
|
17922
17920
|
Tn as QueueablePromise,
|
17923
17921
|
hd as ResizeCommand,
|
17924
|
-
|
17922
|
+
jt as ResourceNotFoundError,
|
17925
17923
|
ud as RotateCommand,
|
17926
17924
|
W as ScaleAxis,
|
17927
17925
|
Cd as SendBackwardsCommand,
|
@@ -17950,7 +17948,7 @@ export {
|
|
17950
17948
|
ld as cmPerPixel,
|
17951
17949
|
ol as createDesign,
|
17952
17950
|
id as currentDirection,
|
17953
|
-
|
17951
|
+
jc as dataUrlFromExternalUrl,
|
17954
17952
|
xd as deleteBundle,
|
17955
17953
|
Xe as designService,
|
17956
17954
|
Ce as determineCorrectFontSizeAndLines,
|
@@ -18012,19 +18010,19 @@ export {
|
|
18012
18010
|
Td as nameTransaction,
|
18013
18011
|
q as optionService,
|
18014
18012
|
cd as outlineFontsInSvg,
|
18015
|
-
|
18013
|
+
jd as overrideWorkflowExperienceRecipientAddress,
|
18016
18014
|
ut as patternImageDataCache,
|
18017
18015
|
k as persistenceService,
|
18018
18016
|
Xn as pictureStepService,
|
18019
18017
|
Yc as pmsToRgb,
|
18020
18018
|
Zn as questionStepService,
|
18021
|
-
|
18019
|
+
Hc as registerFetchImplementation,
|
18022
18020
|
qc as registerWindowImplementation,
|
18023
18021
|
qa as rehydrateSerializedLayout,
|
18024
18022
|
ai as rgbToPms,
|
18025
18023
|
ce as rotateAroundPoint,
|
18026
18024
|
wa as sanitizeSvgTree,
|
18027
|
-
|
18025
|
+
jr as setBearerAuthenticationToken,
|
18028
18026
|
Sn as setCanvasModule,
|
18029
18027
|
Vt as shapeStepService,
|
18030
18028
|
Bo as shortenUrl,
|
@@ -18036,7 +18034,7 @@ export {
|
|
18036
18034
|
G as textStepService,
|
18037
18035
|
Ro as toast,
|
18038
18036
|
qd as validateWorkflowExperienceRecipient,
|
18039
|
-
|
18037
|
+
Hd as validateWorkflowExperienceRecipients,
|
18040
18038
|
bt as xmlSerializer
|
18041
18039
|
};
|
18042
18040
|
//# sourceMappingURL=index.mjs.map
|