@spiffcommerce/core 18.2.2-0 → 18.2.2
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 +110 -100
- package/dist/index.umd.cjs +14 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { createHttpLink as ct, InMemoryCache as gt, ApolloClient as lt, from as Bt, gql as M } from "@apollo/client/core";
|
|
2
|
-
import { fetch as qA, getAttributesFromArrayBuffer as pe, AssetType as re, StepType as f, getFrameData as ZA, frameDataCache as dt, GroupCommand as R, UpdateFramePattern as De, UpdateFrameThresholdSettingsCommand as wt, calculateOffsets as $A, LayoutElementType as U, generate as k, CreateElementCommand as b, generateSVGWithUnknownColors as fe, svgObjectURL as pA, fetchAsString as q, DeleteElementCommand as Z, generateDefaultRectangleFrameSvg as ce, GetSVGDimensions as Et, patternImageDataCache as ge, fetchAsArrayBuffer as ht, findElement as DA, modifySVGWithElementProperties as Ct, IllustrationColorCommand as TA, IllustrationCacheCommand as Qt, getFontMetrics as ut, getPatternImageData as zA, FontAlignmentCommand as mt, FontColorCommand as It, FontImageFillCommand as kA, applyTextTransformations as KA, determineCorrectFontSizeAndLines as uA, FontSourceCommand as le, loadFont as _A, TextChangeCommand as pt, FontSizeCommand as Dt, createElementNS as ft, createElement as lA, _loadFontExternalDataURL as Ae, UpdateWorkflowStateCommand as Be, CommandContext as Ft, createCanvas as fA, getSvgElement as Fe, LayoutRenderingPurpose as Me, renderPapyrusComponentAsString as ye, loadImage as Ye, getDomParser as Se, toBase64 as de, getVariant as Mt, generateFrameSVG as yt, getDefaultVariant as
|
|
3
|
-
import { AssetType as
|
|
2
|
+
import { fetch as qA, getAttributesFromArrayBuffer as pe, AssetType as re, StepType as f, getFrameData as ZA, frameDataCache as dt, GroupCommand as R, UpdateFramePattern as De, UpdateFrameThresholdSettingsCommand as wt, calculateOffsets as $A, LayoutElementType as U, generate as k, CreateElementCommand as b, generateSVGWithUnknownColors as fe, svgObjectURL as pA, fetchAsString as q, DeleteElementCommand as Z, generateDefaultRectangleFrameSvg as ce, GetSVGDimensions as Et, patternImageDataCache as ge, fetchAsArrayBuffer as ht, findElement as DA, modifySVGWithElementProperties as Ct, IllustrationColorCommand as TA, IllustrationCacheCommand as Qt, getFontMetrics as ut, getPatternImageData as zA, FontAlignmentCommand as mt, FontColorCommand as It, FontImageFillCommand as kA, applyTextTransformations as KA, determineCorrectFontSizeAndLines as uA, FontSourceCommand as le, loadFont as _A, TextChangeCommand as pt, FontSizeCommand as Dt, createElementNS as ft, createElement as lA, _loadFontExternalDataURL as Ae, UpdateWorkflowStateCommand as Be, CommandContext as Ft, createCanvas as fA, getSvgElement as Fe, LayoutRenderingPurpose as Me, renderPapyrusComponentAsString as ye, loadImage as Ye, getDomParser as Se, toBase64 as de, getVariant as Mt, generateFrameSVG as yt, getDefaultVariant as NA, domParser as xe, sanitizeSvgTree as Pe, traverse as Yt, xmlSerializer as Ne, CreateLayoutCommand as St, AspectType as mA, rehydrateSerializedLayout as _ } from "@spiffcommerce/papyrus";
|
|
3
|
+
import { AssetType as Ns, BringForwardCommand as Hs, BringToBackCommand as Rs, BringToFrontCommand as Us, CanvasCommand as Gs, CommandContext as vs, CreateElementCommand as ks, CreateLayoutCommand as Js, DeleteElementCommand as bs, FontAlignmentCommand as Ls, FontColorCommand as Os, FontSizeCommand as Ts, FontSourceCommand as zs, GroupCommand as Ks, LayoutElementFactory as js, LayoutElementType as Vs, MoveCommand as Ws, ResizeCommand as Xs, RotateCommand as qs, SendBackwardsCommand as Zs, StepAspectType as $s, StepType as _s, TextChangeCommand as Ai, UnitOfMeasurement as ei, dataUrlFromExternalUrl as ti, determineCorrectFontSizeAndLines as ai, findElement as ni, frameDataCache as si, generate as ii, generateSVGWithUnknownColors as oi, getAttributesFromArrayBuffer as ri, getAxisAlignedBoundingBox as ci, getFrameData as gi, getSvgElement as li, loadFont as Bi, patternImageDataCache as di, registerFetchImplementation as wi, registerWindowImplementation as Ei, rehydrateSerializedLayout as hi, setCanvasModule as Ci } from "@spiffcommerce/papyrus";
|
|
4
4
|
import { setContext as xt } from "@apollo/client/link/context";
|
|
5
|
-
import { onError as
|
|
5
|
+
import { onError as Pt } from "@apollo/client/link/error";
|
|
6
6
|
import { Pith as He } from "pith";
|
|
7
7
|
import Re from "lodash.debounce";
|
|
8
8
|
import Ue from "lodash.isequal";
|
|
@@ -70,7 +70,7 @@ class UA extends RA {
|
|
|
70
70
|
super(`Resource Generation Failed: ${A}`);
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
|
-
class
|
|
73
|
+
class Nt {
|
|
74
74
|
get(A) {
|
|
75
75
|
return localStorage.getItem(A) || void 0;
|
|
76
76
|
}
|
|
@@ -115,7 +115,7 @@ class we {
|
|
|
115
115
|
}
|
|
116
116
|
const Ht = () => {
|
|
117
117
|
try {
|
|
118
|
-
return localStorage ? new
|
|
118
|
+
return localStorage ? new Nt() : new we();
|
|
119
119
|
} catch {
|
|
120
120
|
return console.warn("Local storage was unavilable due to browser security settings. Using in-memory storage instead."), new we();
|
|
121
121
|
}
|
|
@@ -196,7 +196,7 @@ class kt {
|
|
|
196
196
|
return B && (r.Authorization = `Bearer ${B}`), l && (r.partnerId = l), d && (r.activeIntegration = d), w && (r.transactionOwnerId = w), C && (r.customerToken = C), E && (r["X-Application-Key"] = E), Q && (r.bundleOwnerId = Q), {
|
|
197
197
|
headers: r
|
|
198
198
|
};
|
|
199
|
-
}), t =
|
|
199
|
+
}), t = Pt(({ operation: s, graphQLErrors: i, networkError: o }) => {
|
|
200
200
|
const r = i || [];
|
|
201
201
|
o && console.log("GraphQL Network error"), r.forEach(() => console.log("GraphQL Error: " + s.operationName));
|
|
202
202
|
});
|
|
@@ -250,7 +250,7 @@ class kt {
|
|
|
250
250
|
});
|
|
251
251
|
}
|
|
252
252
|
}
|
|
253
|
-
const
|
|
253
|
+
const P = new kt(), Jt = M`
|
|
254
254
|
fragment AssetMetadataFields on Asset {
|
|
255
255
|
metadata {
|
|
256
256
|
key
|
|
@@ -347,14 +347,14 @@ const N = new kt(), Jt = M`
|
|
|
347
347
|
}
|
|
348
348
|
}
|
|
349
349
|
}
|
|
350
|
-
`, be = async (c) => (await
|
|
350
|
+
`, be = async (c) => (await P.getShadowGraphqlClient().query({
|
|
351
351
|
query: bt,
|
|
352
352
|
errorPolicy: "all",
|
|
353
353
|
fetchPolicy: "no-cache",
|
|
354
354
|
variables: {
|
|
355
355
|
keys: c
|
|
356
356
|
}
|
|
357
|
-
})).data.assets, Tt = async (c) => (await
|
|
357
|
+
})).data.assets, Tt = async (c) => (await P.getShadowGraphqlClient().query({
|
|
358
358
|
query: Lt,
|
|
359
359
|
errorPolicy: "all",
|
|
360
360
|
fetchPolicy: "no-cache",
|
|
@@ -363,7 +363,7 @@ const N = new kt(), Jt = M`
|
|
|
363
363
|
}
|
|
364
364
|
})).data.materials, zt = async (c, A, e, t, a) => {
|
|
365
365
|
var s;
|
|
366
|
-
return (s = (await
|
|
366
|
+
return (s = (await P.getShadowGraphqlClient().mutate({
|
|
367
367
|
mutation: Ot,
|
|
368
368
|
errorPolicy: "all",
|
|
369
369
|
fetchPolicy: "no-cache",
|
|
@@ -613,7 +613,7 @@ const rA = new jt(), Le = M`
|
|
|
613
613
|
}
|
|
614
614
|
}
|
|
615
615
|
`, Wt = async (c) => {
|
|
616
|
-
const A = await
|
|
616
|
+
const A = await P.getShadowGraphqlClient().query({
|
|
617
617
|
query: Vt,
|
|
618
618
|
errorPolicy: "all",
|
|
619
619
|
fetchPolicy: "no-cache",
|
|
@@ -968,6 +968,20 @@ const gA = M`
|
|
|
968
968
|
currencyCode
|
|
969
969
|
customerDetailsPromptMarkdown
|
|
970
970
|
}
|
|
971
|
+
integrationProducts {
|
|
972
|
+
id
|
|
973
|
+
integration {
|
|
974
|
+
id
|
|
975
|
+
type
|
|
976
|
+
}
|
|
977
|
+
externalProductId
|
|
978
|
+
externalVariantId
|
|
979
|
+
additionalExternalProductId
|
|
980
|
+
additionalExternalVariantId
|
|
981
|
+
additionalIntegrationProduct {
|
|
982
|
+
...AdditionalIntegrationProductFields
|
|
983
|
+
}
|
|
984
|
+
}
|
|
971
985
|
profanities {
|
|
972
986
|
id
|
|
973
987
|
word
|
|
@@ -1005,10 +1019,6 @@ const gA = M`
|
|
|
1005
1019
|
}
|
|
1006
1020
|
integrationProduct {
|
|
1007
1021
|
id
|
|
1008
|
-
integration {
|
|
1009
|
-
id
|
|
1010
|
-
type
|
|
1011
|
-
}
|
|
1012
1022
|
externalProductId
|
|
1013
1023
|
externalVariantId
|
|
1014
1024
|
additionalExternalProductId
|
|
@@ -3199,7 +3209,7 @@ class ya {
|
|
|
3199
3209
|
throw console.log(E), new SA("Error adding font to region");
|
|
3200
3210
|
}
|
|
3201
3211
|
}, g = await Promise.all(t.regions.map(r)).catch((B) => {
|
|
3202
|
-
throw B instanceof SA ? (Fa.setLatestToast("Failed to load font.",
|
|
3212
|
+
throw B instanceof SA ? (Fa.setLatestToast("Failed to load font.", PA.Error), B) : B instanceof xA ? B : new Error(B);
|
|
3203
3213
|
});
|
|
3204
3214
|
return await s.setSelectionsAndElements(
|
|
3205
3215
|
A,
|
|
@@ -4540,27 +4550,27 @@ IfnI8vaNAAAAAElFTkSuQmCC" transform="matrix(0.13 0.0141 -0.0141 0.1301 104.926 1
|
|
|
4540
4550
|
</g>
|
|
4541
4551
|
</svg>
|
|
4542
4552
|
|
|
4543
|
-
`,
|
|
4544
|
-
const e =
|
|
4553
|
+
`, N = (c) => ft("http://www.w3.org/2000/svg", c), ne = (c, A) => {
|
|
4554
|
+
const e = N("rect");
|
|
4545
4555
|
return e.setAttribute("height", `${c}`), e.setAttribute("width", `${A}`), e;
|
|
4546
4556
|
}, xa = () => {
|
|
4547
|
-
const c =
|
|
4557
|
+
const c = N("svg");
|
|
4548
4558
|
return c.setAttribute("xmlns", "http://www.w3.org/2000/svg"), c.setAttribute("xmlns:xlink", "http://www.w3.org/1999/xlink"), c.setAttribute("version", "1.1"), c;
|
|
4549
|
-
},
|
|
4550
|
-
const A =
|
|
4559
|
+
}, Pa = (c) => {
|
|
4560
|
+
const A = N("use");
|
|
4551
4561
|
return A.setAttribute("xlink:href", c), A.setAttribute("href", c), A;
|
|
4552
4562
|
};
|
|
4553
4563
|
function qe(c) {
|
|
4554
4564
|
const A = xa(), e = /viewBox="0 0 (.+?) (.+?)"/.exec(c) || ["0", "0"], t = parseFloat(e[1]), a = parseFloat(e[2]);
|
|
4555
4565
|
return A.setAttribute("height", `${a}`), A.setAttribute("width", `${t}`), [A, a, t];
|
|
4556
4566
|
}
|
|
4557
|
-
const
|
|
4558
|
-
const t =
|
|
4567
|
+
const Na = (c, A, e) => {
|
|
4568
|
+
const t = N("g");
|
|
4559
4569
|
c.appendChild(t), t.setAttribute("id", e), t.innerHTML = A;
|
|
4560
4570
|
};
|
|
4561
4571
|
function Ze(c, A, e) {
|
|
4562
4572
|
const t = k();
|
|
4563
|
-
|
|
4573
|
+
Na(A, e, `bgdef-${t}`), c.appendChild(Pa(`#bgdef-${t}`));
|
|
4564
4574
|
}
|
|
4565
4575
|
const $e = (c, A, e, t) => {
|
|
4566
4576
|
const a = lA("filter");
|
|
@@ -4717,26 +4727,26 @@ class Ra extends ae {
|
|
|
4717
4727
|
}
|
|
4718
4728
|
brandSvg(A, e) {
|
|
4719
4729
|
const t = A.toSVG(2), a = A.getBoundingBox(), n = a.x2 - a.x1, s = A.toPathData(3), i = () => {
|
|
4720
|
-
const D =
|
|
4730
|
+
const D = N("g"), p = N("defs");
|
|
4721
4731
|
D.appendChild(p), p.appendChild($e(3, 7, 4, "shadow"));
|
|
4722
|
-
const I =
|
|
4732
|
+
const I = N("g");
|
|
4723
4733
|
D.appendChild(I), I.setAttribute("filter", "url(#shadow)"), I.innerHTML = t;
|
|
4724
|
-
const F =
|
|
4734
|
+
const F = N("g");
|
|
4725
4735
|
D.appendChild(F), F.setAttribute("fill", "red"), F.setAttribute("stroke", "red"), F.setAttribute("stroke-width", "9"), F.innerHTML = t;
|
|
4726
|
-
const Y =
|
|
4736
|
+
const Y = N("g");
|
|
4727
4737
|
D.appendChild(Y), Y.setAttribute("fill", "#9d2621"), Y.setAttribute("transform", "translate(1,1)"), Y.innerHTML = t;
|
|
4728
|
-
const y =
|
|
4738
|
+
const y = N("g");
|
|
4729
4739
|
return D.appendChild(y), y.setAttribute("fill", "yellow"), y.innerHTML = t, new ie(D).transform(([S, J]) => [S, J + (n / 2 - S) ** 2 / (n * 2.9)]), D;
|
|
4730
4740
|
}, [o, r, g] = qe(e);
|
|
4731
4741
|
if (!o)
|
|
4732
4742
|
return "";
|
|
4733
|
-
const B =
|
|
4743
|
+
const B = N("defs");
|
|
4734
4744
|
o.appendChild(B), Ze(o, B, e);
|
|
4735
|
-
const l = r * 0.23, d = g * 0.94, w = g * 0.04, C = r * 0.53, E =
|
|
4745
|
+
const l = r * 0.23, d = g * 0.94, w = g * 0.04, C = r * 0.53, E = N("g");
|
|
4736
4746
|
o.appendChild(E), E.setAttribute("transform", `translate(${w} ${C}) rotate(-21)`);
|
|
4737
4747
|
const Q = ne(l, d);
|
|
4738
4748
|
Q.setAttribute("opacity", "0"), E.appendChild(Q);
|
|
4739
|
-
const h =
|
|
4749
|
+
const h = N("g");
|
|
4740
4750
|
E.appendChild(h);
|
|
4741
4751
|
const m = i();
|
|
4742
4752
|
h.appendChild(m);
|
|
@@ -4761,11 +4771,11 @@ class Ga extends ae {
|
|
|
4761
4771
|
}
|
|
4762
4772
|
brandSvg(A, e, t) {
|
|
4763
4773
|
const a = A.toSVG(2), n = A.getBoundingBox(), s = n.y2 - n.y1, i = n.x2 - n.x1, o = A.toPathData(3), r = () => {
|
|
4764
|
-
const I =
|
|
4774
|
+
const I = N("g"), F = N("g");
|
|
4765
4775
|
I.appendChild(F), F.setAttribute("stroke", "#5C1A0D"), F.setAttribute("stroke-width", "4"), F.setAttribute("transform", "translate(1,1)"), F.innerHTML = a;
|
|
4766
|
-
const Y =
|
|
4776
|
+
const Y = N("g");
|
|
4767
4777
|
I.appendChild(Y), Y.setAttribute("fill", "#FFE386"), Y.setAttribute("transform", "translate(1,1)"), Y.innerHTML = a;
|
|
4768
|
-
const y =
|
|
4778
|
+
const y = N("g");
|
|
4769
4779
|
I.appendChild(y), y.setAttribute("fill", "white"), y.innerHTML = a;
|
|
4770
4780
|
const G = new ie(I);
|
|
4771
4781
|
return G.transform(([S, J]) => [S, J + ((i - S) * J) ** 2 / (i * 5e4)]), G.transform(([S, J]) => [
|
|
@@ -4775,15 +4785,15 @@ class Ga extends ae {
|
|
|
4775
4785
|
}, [g, B, l] = qe(e);
|
|
4776
4786
|
if (!g)
|
|
4777
4787
|
return "";
|
|
4778
|
-
const d =
|
|
4788
|
+
const d = N("defs");
|
|
4779
4789
|
g.appendChild(d), Ze(g, d, e);
|
|
4780
4790
|
let w, C, E, Q;
|
|
4781
4791
|
t ? (w = B * 0.25 * (1 + 0.1), C = l / 2 * (1 + 0.1), E = l * 0.22, Q = B * 0.32) : (w = B * 0.22 * (1 + 0.1), C = l * 0.8, E = l * 0.067, Q = B * 0.33);
|
|
4782
|
-
const h =
|
|
4792
|
+
const h = N("g");
|
|
4783
4793
|
g.appendChild(h), h.setAttribute("transform", `translate(${E} ${Q}) rotate(-10)`);
|
|
4784
4794
|
const m = ne(w, C);
|
|
4785
4795
|
m.setAttribute("opacity", "0"), h.appendChild(m);
|
|
4786
|
-
const u =
|
|
4796
|
+
const u = N("g");
|
|
4787
4797
|
h.appendChild(u);
|
|
4788
4798
|
const D = r();
|
|
4789
4799
|
u.appendChild(D);
|
|
@@ -4805,29 +4815,29 @@ class ka extends ae {
|
|
|
4805
4815
|
}
|
|
4806
4816
|
svgElement(A, e) {
|
|
4807
4817
|
const t = Ae(va), n = A !== "" ? ((m) => m.charAt(0).toUpperCase() + m.substr(1).toLowerCase())(A) : "", s = t.getPath(n, 0, 72, 72), i = s.toSVG(2), o = s.getBoundingBox(), r = o.x2 - o.x1, g = s.toPathData(3), B = () => {
|
|
4808
|
-
const m =
|
|
4818
|
+
const m = N("g");
|
|
4809
4819
|
m.classList.add("module-text-group");
|
|
4810
|
-
const u =
|
|
4820
|
+
const u = N("defs");
|
|
4811
4821
|
m.appendChild(u), u.appendChild($e(0, 2, 2, "shadow"));
|
|
4812
|
-
const D =
|
|
4822
|
+
const D = N("path");
|
|
4813
4823
|
D.setAttribute("d", g), D.setAttribute("stroke", "black"), D.setAttribute("stroke-width", "3"), u.appendChild(D);
|
|
4814
|
-
const p =
|
|
4824
|
+
const p = N("g");
|
|
4815
4825
|
p.classList.add("module-layer0"), m.appendChild(p), p.setAttribute("filter", "url(#shadow)"), p.innerHTML = D.outerHTML;
|
|
4816
|
-
const I =
|
|
4826
|
+
const I = N("g");
|
|
4817
4827
|
I.classList.add("module-layer1"), m.appendChild(I), I.setAttribute("stroke-width", "3"), I.setAttribute("stroke", "rgb(45,41,38)"), I.setAttribute("fill", "rgb(45,41,38)"), I.setAttribute("transform", "translate(0.5,0)"), I.innerHTML = i;
|
|
4818
|
-
const F =
|
|
4828
|
+
const F = N("g");
|
|
4819
4829
|
F.classList.add("module-layer2"), m.appendChild(F), F.setAttribute("fill", "rgb(255,209,0)"), F.setAttribute("transform", "translate(1,-0.1)"), F.innerHTML = i;
|
|
4820
|
-
const Y =
|
|
4830
|
+
const Y = N("g");
|
|
4821
4831
|
return Y.classList.add("module-layer3"), m.appendChild(Y), Y.setAttribute("fill", "white"), Y.innerHTML = i, new ie(m).transform(([G, S]) => [G, S + (r / 2 - G) ** 2 / (r * 6)]), m;
|
|
4822
|
-
}, l =
|
|
4832
|
+
}, l = N("g");
|
|
4823
4833
|
l.classList.add("module-root");
|
|
4824
|
-
const d =
|
|
4834
|
+
const d = N("defs");
|
|
4825
4835
|
l.appendChild(d);
|
|
4826
|
-
const w =
|
|
4836
|
+
const w = N("g");
|
|
4827
4837
|
w.classList.add("module-bounds"), l.appendChild(w);
|
|
4828
4838
|
const C = ne(e.height, e.width);
|
|
4829
4839
|
C.setAttribute("opacity", "0"), w.appendChild(C);
|
|
4830
|
-
const E =
|
|
4840
|
+
const E = N("g");
|
|
4831
4841
|
E.classList.add("module-text-enclosure"), l.appendChild(E);
|
|
4832
4842
|
const Q = B();
|
|
4833
4843
|
E.appendChild(Q);
|
|
@@ -4846,7 +4856,7 @@ async function At(c) {
|
|
|
4846
4856
|
return new ka();
|
|
4847
4857
|
throw new v(`Failed to resolve Module, Module ${c} not found`);
|
|
4848
4858
|
}
|
|
4849
|
-
var
|
|
4859
|
+
var PA = /* @__PURE__ */ ((c) => (c.Error = "Error", c.Warning = "Warning", c.Info = "Info", c))(PA || {});
|
|
4850
4860
|
const Ja = 1e3;
|
|
4851
4861
|
class ue extends Te {
|
|
4852
4862
|
constructor(A) {
|
|
@@ -5795,7 +5805,7 @@ class Va extends j {
|
|
|
5795
5805
|
...this.manager.getInformationResults(),
|
|
5796
5806
|
{
|
|
5797
5807
|
message: "An issue has occured with test",
|
|
5798
|
-
messageType:
|
|
5808
|
+
messageType: PA.Error,
|
|
5799
5809
|
stepID: this.step.stepName
|
|
5800
5810
|
}
|
|
5801
5811
|
]);
|
|
@@ -5890,7 +5900,7 @@ class Va extends j {
|
|
|
5890
5900
|
...B,
|
|
5891
5901
|
{
|
|
5892
5902
|
message: `${l} - ${this.step.stepTitle}`,
|
|
5893
|
-
messageType:
|
|
5903
|
+
messageType: PA.Error,
|
|
5894
5904
|
stepID: this.step.stepName
|
|
5895
5905
|
}
|
|
5896
5906
|
]);
|
|
@@ -6054,7 +6064,7 @@ const tt = M`
|
|
|
6054
6064
|
}
|
|
6055
6065
|
`, Za = async (c) => {
|
|
6056
6066
|
var e;
|
|
6057
|
-
return (e = (await
|
|
6067
|
+
return (e = (await P.getShadowGraphqlClient().mutate({
|
|
6058
6068
|
mutation: Xa,
|
|
6059
6069
|
errorPolicy: "all",
|
|
6060
6070
|
fetchPolicy: "no-cache",
|
|
@@ -6071,7 +6081,7 @@ const tt = M`
|
|
|
6071
6081
|
})).data) == null ? void 0 : e.designCreate;
|
|
6072
6082
|
}, $a = async (c) => {
|
|
6073
6083
|
var e;
|
|
6074
|
-
return (e = (await
|
|
6084
|
+
return (e = (await P.getShadowGraphqlClient().mutate({
|
|
6075
6085
|
mutation: qa,
|
|
6076
6086
|
errorPolicy: "all",
|
|
6077
6087
|
fetchPolicy: "no-cache",
|
|
@@ -6186,7 +6196,7 @@ const tt = M`
|
|
|
6186
6196
|
if (r !== void 0)
|
|
6187
6197
|
return r;
|
|
6188
6198
|
await c.outstandingRequestsPromise();
|
|
6189
|
-
const y = (x.getMap("transactionOwnerIds") || /* @__PURE__ */ new Map()).get(a.id), S = await
|
|
6199
|
+
const y = (x.getMap("transactionOwnerIds") || /* @__PURE__ */ new Map()).get(a.id), S = await P.getShadowGraphqlClient().query({
|
|
6190
6200
|
query: Oe,
|
|
6191
6201
|
variables: { ids: [a.id] },
|
|
6192
6202
|
fetchPolicy: "no-cache",
|
|
@@ -6301,7 +6311,7 @@ const tt = M`
|
|
|
6301
6311
|
);
|
|
6302
6312
|
const a = await (async () => {
|
|
6303
6313
|
var r;
|
|
6304
|
-
const o = await
|
|
6314
|
+
const o = await P.getShadowGraphqlClient().query({
|
|
6305
6315
|
query: Oe,
|
|
6306
6316
|
variables: { ids: c.map((g) => g.transaction.id) },
|
|
6307
6317
|
fetchPolicy: "no-cache",
|
|
@@ -6610,7 +6620,7 @@ class EA {
|
|
|
6610
6620
|
}
|
|
6611
6621
|
async assignCustomerDetails(A) {
|
|
6612
6622
|
var s, i, o;
|
|
6613
|
-
const t = (x.getMap("transactionOwnerIds") || /* @__PURE__ */ new Map()).get(this.getWorkflowManager().getTransaction().id), n = (o = (i = (s = (await
|
|
6623
|
+
const t = (x.getMap("transactionOwnerIds") || /* @__PURE__ */ new Map()).get(this.getWorkflowManager().getTransaction().id), n = (o = (i = (s = (await P.getShadowGraphqlClient().mutate({
|
|
6614
6624
|
mutation: an,
|
|
6615
6625
|
variables: {
|
|
6616
6626
|
id: this.getWorkflowManager().getTransaction().id,
|
|
@@ -6808,7 +6818,7 @@ const nn = [
|
|
|
6808
6818
|
const a = e.data, n = t.option;
|
|
6809
6819
|
if (!n)
|
|
6810
6820
|
return console.error(`No option for step ${t.stepName}.`), [];
|
|
6811
|
-
const s = ((D = n.variants) == null ? void 0 : D.find((I) => I.id === a.illustrationVariantId)) ||
|
|
6821
|
+
const s = ((D = n.variants) == null ? void 0 : D.find((I) => I.id === a.illustrationVariantId)) || NA(n);
|
|
6812
6822
|
if (!s)
|
|
6813
6823
|
return console.error(`No variant with ID: ${a.illustrationVariantId}`), [];
|
|
6814
6824
|
if (!s.asset)
|
|
@@ -6820,7 +6830,7 @@ const nn = [
|
|
|
6820
6830
|
const o = await q(i, !0), r = /<svg.*?<\/svg>/s, g = o.match(r) || [], B = (g == null ? void 0 : g.length) > 0 ? g[0] : "", w = xe().parseFromString(B, "image/svg+xml").firstElementChild;
|
|
6821
6831
|
if (!w)
|
|
6822
6832
|
return console.error("Failed to read SVG."), [];
|
|
6823
|
-
|
|
6833
|
+
Pe(w);
|
|
6824
6834
|
const C = {};
|
|
6825
6835
|
Yt(w, (I) => {
|
|
6826
6836
|
nn.includes(I.tagName) && !I.attributes.getNamedItem("fill") && I.setAttribute("fill", "#000000");
|
|
@@ -6835,7 +6845,7 @@ const nn = [
|
|
|
6835
6845
|
I.classList.add(S), C[S] = { browserValue: y };
|
|
6836
6846
|
}
|
|
6837
6847
|
});
|
|
6838
|
-
const Q =
|
|
6848
|
+
const Q = Ne().serializeToString(w), h = a.colors;
|
|
6839
6849
|
if (h) {
|
|
6840
6850
|
for (const [I, F] of Object.entries(C))
|
|
6841
6851
|
for (const Y of Object.keys(h))
|
|
@@ -6907,7 +6917,7 @@ const nn = [
|
|
|
6907
6917
|
const a = e.data, n = t.option;
|
|
6908
6918
|
if (!n)
|
|
6909
6919
|
return console.error(`No option for step ${t.stepName}.`), [];
|
|
6910
|
-
const s = ((g = n.variants) == null ? void 0 : g.find((l) => l.id === a.pictureVariantId)) ||
|
|
6920
|
+
const s = ((g = n.variants) == null ? void 0 : g.find((l) => l.id === a.pictureVariantId)) || NA(n);
|
|
6911
6921
|
if (!s)
|
|
6912
6922
|
return console.error(`No variant with ID: ${a.pictureVariantId}`), [];
|
|
6913
6923
|
if (!s.asset)
|
|
@@ -6949,7 +6959,7 @@ const nn = [
|
|
|
6949
6959
|
const a = e.data, n = t.option;
|
|
6950
6960
|
if (!n)
|
|
6951
6961
|
return console.error(`No option for step ${t.stepName}.`), [];
|
|
6952
|
-
const s = ((r = n.variants) == null ? void 0 : r.find((g) => g.id === a.colorVariantId)) ||
|
|
6962
|
+
const s = ((r = n.variants) == null ? void 0 : r.find((g) => g.id === a.colorVariantId)) || NA(n);
|
|
6953
6963
|
if (!s)
|
|
6954
6964
|
return console.error(`No variant with ID: ${a.colorVariantId}`), [];
|
|
6955
6965
|
A[t.stepName] = { selectedVariants: [s] };
|
|
@@ -7039,7 +7049,7 @@ const nn = [
|
|
|
7039
7049
|
const l = /<svg.*?<\/svg>/s, d = B.match(l) || [], w = (d == null ? void 0 : d.length) > 0 ? d[0] : "", Q = xe().parseFromString(w, "image/svg+xml").firstElementChild;
|
|
7040
7050
|
if (!Q)
|
|
7041
7051
|
throw new sA("Failed to read SVG.");
|
|
7042
|
-
return
|
|
7052
|
+
return Pe(Q), Ne().serializeToString(Q);
|
|
7043
7053
|
};
|
|
7044
7054
|
o.forEach((B) => {
|
|
7045
7055
|
const l = c.find((w) => w.panelId === B.panelId);
|
|
@@ -7074,7 +7084,7 @@ const nn = [
|
|
|
7074
7084
|
const E = t.option;
|
|
7075
7085
|
if (!E)
|
|
7076
7086
|
return;
|
|
7077
|
-
const Q = ((m = E.variants) == null ? void 0 : m.find((u) => u.id === n.fontVariantId)) ||
|
|
7087
|
+
const Q = ((m = E.variants) == null ? void 0 : m.find((u) => u.id === n.fontVariantId)) || NA(E);
|
|
7078
7088
|
if (!Q || !Q.asset)
|
|
7079
7089
|
return;
|
|
7080
7090
|
A[t.stepName] = { selectedVariants: [Q] };
|
|
@@ -7630,7 +7640,7 @@ const ys = (c, A) => {
|
|
|
7630
7640
|
id
|
|
7631
7641
|
}
|
|
7632
7642
|
}
|
|
7633
|
-
`,
|
|
7643
|
+
`, Pn = M`
|
|
7634
7644
|
mutation BundleAddStakeholder($id: String!, $details: CustomerDetailsInput!, $type: String!) {
|
|
7635
7645
|
bundleAddStakeholder(id: $id, details: $details, type: $type) {
|
|
7636
7646
|
id
|
|
@@ -7650,7 +7660,7 @@ const ys = (c, A) => {
|
|
|
7650
7660
|
}
|
|
7651
7661
|
}
|
|
7652
7662
|
}
|
|
7653
|
-
`,
|
|
7663
|
+
`, Nn = M`
|
|
7654
7664
|
mutation BundleUpdateStakeholders($id: String!, $input: [BundleStakeholderInput!]!) {
|
|
7655
7665
|
bundleUpdateStakeholders(id: $id, input: $input) {
|
|
7656
7666
|
id
|
|
@@ -7982,7 +7992,7 @@ class Ln {
|
|
|
7982
7992
|
var e;
|
|
7983
7993
|
if (!this.globalPropertyState)
|
|
7984
7994
|
throw new Error("Global property state not initialized");
|
|
7985
|
-
const A = await
|
|
7995
|
+
const A = await P.getShadowGraphqlClient().mutate({
|
|
7986
7996
|
mutation: Jn,
|
|
7987
7997
|
variables: {
|
|
7988
7998
|
id: this.globalPropertyState.id,
|
|
@@ -7999,7 +8009,7 @@ class Ln {
|
|
|
7999
8009
|
}
|
|
8000
8010
|
async getOrCreateGlobalPropertyState() {
|
|
8001
8011
|
var t;
|
|
8002
|
-
const A = await
|
|
8012
|
+
const A = await P.getShadowGraphqlClient().query({
|
|
8003
8013
|
query: bn,
|
|
8004
8014
|
errorPolicy: "all",
|
|
8005
8015
|
fetchPolicy: "no-cache",
|
|
@@ -8012,7 +8022,7 @@ class Ln {
|
|
|
8012
8022
|
});
|
|
8013
8023
|
if (A.data.globalPropertyState && A.data.globalPropertyState.id)
|
|
8014
8024
|
return A.data.globalPropertyState;
|
|
8015
|
-
const e = await
|
|
8025
|
+
const e = await P.getShadowGraphqlClient().mutate({
|
|
8016
8026
|
mutation: kn,
|
|
8017
8027
|
variables: {
|
|
8018
8028
|
bundleId: this.bundleId
|
|
@@ -8383,7 +8393,7 @@ class Ie {
|
|
|
8383
8393
|
"Unable to add transaction to bundle - Already Exists: " + t.filter((s) => !!s).map((s) => s == null ? void 0 : s.getWorkflowManager().getTransaction().id).join(", ")
|
|
8384
8394
|
);
|
|
8385
8395
|
const a = x.getMap("transactionOwnerIds") || /* @__PURE__ */ new Map(), n = e.map((s) => a.get(s));
|
|
8386
|
-
await
|
|
8396
|
+
await P.getShadowGraphqlClient().mutate({
|
|
8387
8397
|
mutation: Yn,
|
|
8388
8398
|
variables: {
|
|
8389
8399
|
id: this.id,
|
|
@@ -8412,7 +8422,7 @@ class Ie {
|
|
|
8412
8422
|
))
|
|
8413
8423
|
throw new Error("Unable to add transaction to bundle - Already Exists!");
|
|
8414
8424
|
const s = (x.getMap("transactionOwnerIds") || /* @__PURE__ */ new Map()).get(t);
|
|
8415
|
-
await
|
|
8425
|
+
await P.getShadowGraphqlClient().mutate({
|
|
8416
8426
|
mutation: yn,
|
|
8417
8427
|
variables: {
|
|
8418
8428
|
id: this.id,
|
|
@@ -8445,7 +8455,7 @@ class Ie {
|
|
|
8445
8455
|
const a = this.workflowExperiences.find(
|
|
8446
8456
|
(n) => n.getWorkflowManager().getTransaction().id === e.id
|
|
8447
8457
|
);
|
|
8448
|
-
this.previewService && a.getWorkflowManager().ejectFromPreviewService(), this.bundleStateManager.removeStateForTransaction(e.id), await
|
|
8458
|
+
this.previewService && a.getWorkflowManager().ejectFromPreviewService(), this.bundleStateManager.removeStateForTransaction(e.id), await P.getShadowGraphqlClient().mutate({
|
|
8449
8459
|
mutation: Sn,
|
|
8450
8460
|
variables: {
|
|
8451
8461
|
id: this.id,
|
|
@@ -8475,7 +8485,7 @@ class Ie {
|
|
|
8475
8485
|
1
|
|
8476
8486
|
)[0]
|
|
8477
8487
|
);
|
|
8478
|
-
this.previewService && t.forEach((a) => a.getWorkflowManager().ejectFromPreviewService()), A.forEach((a) => this.bundleStateManager.removeStateForTransaction(a.id)), await
|
|
8488
|
+
this.previewService && t.forEach((a) => a.getWorkflowManager().ejectFromPreviewService()), A.forEach((a) => this.bundleStateManager.removeStateForTransaction(a.id)), await P.getShadowGraphqlClient().mutate({
|
|
8479
8489
|
mutation: xn,
|
|
8480
8490
|
variables: {
|
|
8481
8491
|
id: this.id,
|
|
@@ -8536,8 +8546,8 @@ class Ie {
|
|
|
8536
8546
|
}
|
|
8537
8547
|
async addStakeholder(A, e) {
|
|
8538
8548
|
var n;
|
|
8539
|
-
const t = await
|
|
8540
|
-
mutation:
|
|
8549
|
+
const t = await P.getShadowGraphqlClient().mutate({
|
|
8550
|
+
mutation: Pn,
|
|
8541
8551
|
variables: {
|
|
8542
8552
|
id: this.id,
|
|
8543
8553
|
details: A,
|
|
@@ -8554,8 +8564,8 @@ class Ie {
|
|
|
8554
8564
|
}
|
|
8555
8565
|
async updateStakeholders(A) {
|
|
8556
8566
|
var a;
|
|
8557
|
-
const e = await
|
|
8558
|
-
mutation:
|
|
8567
|
+
const e = await P.getShadowGraphqlClient().mutate({
|
|
8568
|
+
mutation: Nn,
|
|
8559
8569
|
variables: {
|
|
8560
8570
|
id: this.id,
|
|
8561
8571
|
input: A
|
|
@@ -8570,7 +8580,7 @@ class Ie {
|
|
|
8570
8580
|
this.storeStakeholderCustomers(t);
|
|
8571
8581
|
}
|
|
8572
8582
|
async getAllStakeholders() {
|
|
8573
|
-
const A = await
|
|
8583
|
+
const A = await P.getShadowGraphqlClient().query({
|
|
8574
8584
|
query: Dn,
|
|
8575
8585
|
errorPolicy: "all",
|
|
8576
8586
|
variables: {
|
|
@@ -8667,7 +8677,7 @@ class Ie {
|
|
|
8667
8677
|
}
|
|
8668
8678
|
async updateBundle() {
|
|
8669
8679
|
var e;
|
|
8670
|
-
if (!((e = (await
|
|
8680
|
+
if (!((e = (await P.getShadowGraphqlClient().mutate({
|
|
8671
8681
|
mutation: Mn,
|
|
8672
8682
|
variables: {
|
|
8673
8683
|
id: this.id,
|
|
@@ -8682,7 +8692,7 @@ class Ie {
|
|
|
8682
8692
|
throw new Error("Bundle not found!");
|
|
8683
8693
|
}
|
|
8684
8694
|
async updateTransactionOrder() {
|
|
8685
|
-
await
|
|
8695
|
+
await P.getShadowGraphqlClient().mutate({
|
|
8686
8696
|
mutation: Hn,
|
|
8687
8697
|
variables: {
|
|
8688
8698
|
id: this.id,
|
|
@@ -8733,7 +8743,7 @@ class Wn {
|
|
|
8733
8743
|
*/
|
|
8734
8744
|
async execute(A, e, t) {
|
|
8735
8745
|
var B, l, d;
|
|
8736
|
-
const n = (l = (B = (await
|
|
8746
|
+
const n = (l = (B = (await P.getShadowGraphqlClient().mutate({
|
|
8737
8747
|
mutation: Vn,
|
|
8738
8748
|
variables: {
|
|
8739
8749
|
processFlowId: A,
|
|
@@ -8749,7 +8759,7 @@ class Wn {
|
|
|
8749
8759
|
}
|
|
8750
8760
|
let i = !1, o = 0, r, g;
|
|
8751
8761
|
for (; !i; ) {
|
|
8752
|
-
r = await
|
|
8762
|
+
r = await P.getShadowGraphqlClient().query({
|
|
8753
8763
|
query: M`
|
|
8754
8764
|
query getProcessFlowExecution($ids: [String]!) {
|
|
8755
8765
|
processExecutions(ids: $ids) {
|
|
@@ -9526,7 +9536,7 @@ const $n = M`
|
|
|
9526
9536
|
}
|
|
9527
9537
|
}, gs = async (c, A) => {
|
|
9528
9538
|
var a;
|
|
9529
|
-
const e = await
|
|
9539
|
+
const e = await P.getShadowGraphqlClient().query({
|
|
9530
9540
|
query: ts(((a = A == null ? void 0 : A.assets) == null ? void 0 : a.metadata) || !1),
|
|
9531
9541
|
errorPolicy: "all",
|
|
9532
9542
|
fetchPolicy: "no-cache",
|
|
@@ -9578,7 +9588,7 @@ class ds {
|
|
|
9578
9588
|
constructor(A) {
|
|
9579
9589
|
this.updateTransactionState = async (e) => {
|
|
9580
9590
|
try {
|
|
9581
|
-
return
|
|
9591
|
+
return P.getShadowGraphqlClient().mutate({
|
|
9582
9592
|
...e,
|
|
9583
9593
|
mutation: na
|
|
9584
9594
|
});
|
|
@@ -9646,7 +9656,7 @@ class ds {
|
|
|
9646
9656
|
*/
|
|
9647
9657
|
async authenticateTransactionFromLocalStorage(A) {
|
|
9648
9658
|
var g, B, l, d, w, C;
|
|
9649
|
-
const e =
|
|
9659
|
+
const e = P.getShadowGraphqlClient(), t = await e.query({
|
|
9650
9660
|
query: as,
|
|
9651
9661
|
errorPolicy: "all",
|
|
9652
9662
|
fetchPolicy: "no-cache",
|
|
@@ -9722,7 +9732,7 @@ class ds {
|
|
|
9722
9732
|
async getOrCreateCustomer(A) {
|
|
9723
9733
|
var s;
|
|
9724
9734
|
this.customer = void 0;
|
|
9725
|
-
const e =
|
|
9735
|
+
const e = P.getShadowGraphqlClient(), a = (await e.query({
|
|
9726
9736
|
query: ss,
|
|
9727
9737
|
errorPolicy: "all",
|
|
9728
9738
|
fetchPolicy: "no-cache",
|
|
@@ -9757,7 +9767,7 @@ class ds {
|
|
|
9757
9767
|
}
|
|
9758
9768
|
async authenticateCustomerId(A) {
|
|
9759
9769
|
var i;
|
|
9760
|
-
const e =
|
|
9770
|
+
const e = P.getShadowGraphqlClient(), t = x.getMap("customerTokens");
|
|
9761
9771
|
if (!(t != null && t.has(A)))
|
|
9762
9772
|
return !1;
|
|
9763
9773
|
const a = t.get(A);
|
|
@@ -9778,7 +9788,7 @@ class ds {
|
|
|
9778
9788
|
* @param emailAddress The email address to generate a verification code for. The user will be sent an email with the verification code.
|
|
9779
9789
|
*/
|
|
9780
9790
|
async generateVerificationCode(A) {
|
|
9781
|
-
await
|
|
9791
|
+
await P.getShadowGraphqlClient().mutate({
|
|
9782
9792
|
mutation: rs,
|
|
9783
9793
|
variables: {
|
|
9784
9794
|
emailAddress: A
|
|
@@ -9793,7 +9803,7 @@ class ds {
|
|
|
9793
9803
|
*/
|
|
9794
9804
|
async verifyCode(A, e) {
|
|
9795
9805
|
var n, s;
|
|
9796
|
-
const a = (n = (await
|
|
9806
|
+
const a = (n = (await P.getShadowGraphqlClient().mutate({
|
|
9797
9807
|
mutation: cs,
|
|
9798
9808
|
errorPolicy: "all",
|
|
9799
9809
|
fetchPolicy: "no-cache",
|
|
@@ -9819,7 +9829,7 @@ class ds {
|
|
|
9819
9829
|
*/
|
|
9820
9830
|
async getNewBundle(A, e) {
|
|
9821
9831
|
var i;
|
|
9822
|
-
const a = (i = (await
|
|
9832
|
+
const a = (i = (await P.getShadowGraphqlClient().mutate({
|
|
9823
9833
|
mutation: Fn,
|
|
9824
9834
|
variables: {
|
|
9825
9835
|
collectionId: A,
|
|
@@ -9843,7 +9853,7 @@ class ds {
|
|
|
9843
9853
|
*/
|
|
9844
9854
|
async getExistingBundle(A, e, t) {
|
|
9845
9855
|
var g, B, l, d;
|
|
9846
|
-
const a = x.getMap("bundleOwnerIds"), n = a == null ? void 0 : a.get(A), s = await
|
|
9856
|
+
const a = x.getMap("bundleOwnerIds"), n = a == null ? void 0 : a.get(A), s = await P.getShadowGraphqlClient().query({
|
|
9847
9857
|
query: pn,
|
|
9848
9858
|
variables: {
|
|
9849
9859
|
id: A
|
|
@@ -9868,7 +9878,7 @@ class ds {
|
|
|
9868
9878
|
var n;
|
|
9869
9879
|
if (!this.customer)
|
|
9870
9880
|
throw new Error("Customer not authenticated.");
|
|
9871
|
-
const A = await
|
|
9881
|
+
const A = await P.getShadowGraphqlClient().query({
|
|
9872
9882
|
query: fn,
|
|
9873
9883
|
variables: {
|
|
9874
9884
|
id: this.customer.id
|
|
@@ -9897,7 +9907,7 @@ class ds {
|
|
|
9897
9907
|
return await this.getWorkflowExperienceDeprecated(A, e, t);
|
|
9898
9908
|
const n = async () => {
|
|
9899
9909
|
var Q, h;
|
|
9900
|
-
const E =
|
|
9910
|
+
const E = P.getShadowGraphqlClient();
|
|
9901
9911
|
if (a.type === "transaction") {
|
|
9902
9912
|
const { transactionId: m, readOnly: u } = a, D = await E.query({
|
|
9903
9913
|
query: BA,
|
|
@@ -9998,7 +10008,7 @@ class ds {
|
|
|
9998
10008
|
async getWorkflowExperiences(A, e) {
|
|
9999
10009
|
if (A.length === 0)
|
|
10000
10010
|
throw new H("No options provided!");
|
|
10001
|
-
const t =
|
|
10011
|
+
const t = P.getShadowGraphqlClient(), a = A.map((h, m) => ({ option: h, index: m })), n = a.filter((h) => h.option.type === "transaction"), s = a.filter(
|
|
10002
10012
|
(h) => h.option.type === "integration" || h.option.type === "external"
|
|
10003
10013
|
), i = async () => {
|
|
10004
10014
|
var D, p;
|
|
@@ -10100,7 +10110,7 @@ class ds {
|
|
|
10100
10110
|
var s;
|
|
10101
10111
|
if (A === "")
|
|
10102
10112
|
throw new H("No integration product ID provided.");
|
|
10103
|
-
const t = await
|
|
10113
|
+
const t = await P.getShadowGraphqlClient().mutate({
|
|
10104
10114
|
mutation: he,
|
|
10105
10115
|
variables: {
|
|
10106
10116
|
integrationProductId: A,
|
|
@@ -10135,7 +10145,7 @@ class ds {
|
|
|
10135
10145
|
var i, o, r, g;
|
|
10136
10146
|
if (A === "")
|
|
10137
10147
|
throw new H("No transaction ID provided.");
|
|
10138
|
-
const t =
|
|
10148
|
+
const t = P.getShadowGraphqlClient(), a = async () => {
|
|
10139
10149
|
var d, w;
|
|
10140
10150
|
const l = (d = (await t.query({
|
|
10141
10151
|
query: BA,
|
|
@@ -10223,7 +10233,7 @@ class ds {
|
|
|
10223
10233
|
return await r.getWorkflowManager().getInitializationPromise(), r;
|
|
10224
10234
|
}
|
|
10225
10235
|
if (A) {
|
|
10226
|
-
const r = (x.getMap("transactionOwnerIds") || /* @__PURE__ */ new Map()).get(this.experienceOptions.transaction.id), g =
|
|
10236
|
+
const r = (x.getMap("transactionOwnerIds") || /* @__PURE__ */ new Map()).get(this.experienceOptions.transaction.id), g = P.getShadowGraphqlClient().mutate({
|
|
10227
10237
|
mutation: sa,
|
|
10228
10238
|
variables: {
|
|
10229
10239
|
workflowId: A,
|
|
@@ -10447,7 +10457,7 @@ class Es extends j {
|
|
|
10447
10457
|
}
|
|
10448
10458
|
export {
|
|
10449
10459
|
$ as AssetNotFoundError,
|
|
10450
|
-
|
|
10460
|
+
Ns as AssetType,
|
|
10451
10461
|
Hs as BringForwardCommand,
|
|
10452
10462
|
Rs as BringToBackCommand,
|
|
10453
10463
|
Us as BringToFrontCommand,
|
|
@@ -10472,7 +10482,7 @@ export {
|
|
|
10472
10482
|
oe as GlobalPropertyHandle,
|
|
10473
10483
|
Ks as GroupCommand,
|
|
10474
10484
|
La as IllustrationStepHandle,
|
|
10475
|
-
|
|
10485
|
+
PA as InformationMessageType,
|
|
10476
10486
|
Wa as InformationStepHandle,
|
|
10477
10487
|
$t as IntegrationType,
|
|
10478
10488
|
js as LayoutElementFactory,
|
|
@@ -10533,7 +10543,7 @@ export {
|
|
|
10533
10543
|
li as getSvgElement,
|
|
10534
10544
|
QA as getWorkflow,
|
|
10535
10545
|
rt as getWorkflows,
|
|
10536
|
-
|
|
10546
|
+
P as graphQlManager,
|
|
10537
10547
|
IA as illustrationStepService,
|
|
10538
10548
|
Bi as loadFont,
|
|
10539
10549
|
je as materialStepService,
|
package/dist/index.umd.cjs
CHANGED
|
@@ -421,6 +421,20 @@
|
|
|
421
421
|
currencyCode
|
|
422
422
|
customerDetailsPromptMarkdown
|
|
423
423
|
}
|
|
424
|
+
integrationProducts {
|
|
425
|
+
id
|
|
426
|
+
integration {
|
|
427
|
+
id
|
|
428
|
+
type
|
|
429
|
+
}
|
|
430
|
+
externalProductId
|
|
431
|
+
externalVariantId
|
|
432
|
+
additionalExternalProductId
|
|
433
|
+
additionalExternalVariantId
|
|
434
|
+
additionalIntegrationProduct {
|
|
435
|
+
...AdditionalIntegrationProductFields
|
|
436
|
+
}
|
|
437
|
+
}
|
|
424
438
|
profanities {
|
|
425
439
|
id
|
|
426
440
|
word
|
|
@@ -458,10 +472,6 @@
|
|
|
458
472
|
}
|
|
459
473
|
integrationProduct {
|
|
460
474
|
id
|
|
461
|
-
integration {
|
|
462
|
-
id
|
|
463
|
-
type
|
|
464
|
-
}
|
|
465
475
|
externalProductId
|
|
466
476
|
externalVariantId
|
|
467
477
|
additionalExternalProductId
|