@spiffcommerce/core 18.2.2-1 → 18.3.0-beta.0
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 +104 -96
- package/dist/index.umd.cjs +8 -0
- 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",
|
|
@@ -974,6 +974,13 @@ const gA = M`
|
|
|
974
974
|
id
|
|
975
975
|
type
|
|
976
976
|
}
|
|
977
|
+
externalProductId
|
|
978
|
+
externalVariantId
|
|
979
|
+
additionalExternalProductId
|
|
980
|
+
additionalExternalVariantId
|
|
981
|
+
additionalIntegrationProduct {
|
|
982
|
+
...AdditionalIntegrationProductFields
|
|
983
|
+
}
|
|
977
984
|
}
|
|
978
985
|
profanities {
|
|
979
986
|
id
|
|
@@ -3202,7 +3209,7 @@ class ya {
|
|
|
3202
3209
|
throw console.log(E), new SA("Error adding font to region");
|
|
3203
3210
|
}
|
|
3204
3211
|
}, g = await Promise.all(t.regions.map(r)).catch((B) => {
|
|
3205
|
-
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);
|
|
3206
3213
|
});
|
|
3207
3214
|
return await s.setSelectionsAndElements(
|
|
3208
3215
|
A,
|
|
@@ -4543,27 +4550,27 @@ IfnI8vaNAAAAAElFTkSuQmCC" transform="matrix(0.13 0.0141 -0.0141 0.1301 104.926 1
|
|
|
4543
4550
|
</g>
|
|
4544
4551
|
</svg>
|
|
4545
4552
|
|
|
4546
|
-
`,
|
|
4547
|
-
const e =
|
|
4553
|
+
`, N = (c) => ft("http://www.w3.org/2000/svg", c), ne = (c, A) => {
|
|
4554
|
+
const e = N("rect");
|
|
4548
4555
|
return e.setAttribute("height", `${c}`), e.setAttribute("width", `${A}`), e;
|
|
4549
4556
|
}, xa = () => {
|
|
4550
|
-
const c =
|
|
4557
|
+
const c = N("svg");
|
|
4551
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;
|
|
4552
|
-
},
|
|
4553
|
-
const A =
|
|
4559
|
+
}, Pa = (c) => {
|
|
4560
|
+
const A = N("use");
|
|
4554
4561
|
return A.setAttribute("xlink:href", c), A.setAttribute("href", c), A;
|
|
4555
4562
|
};
|
|
4556
4563
|
function qe(c) {
|
|
4557
4564
|
const A = xa(), e = /viewBox="0 0 (.+?) (.+?)"/.exec(c) || ["0", "0"], t = parseFloat(e[1]), a = parseFloat(e[2]);
|
|
4558
4565
|
return A.setAttribute("height", `${a}`), A.setAttribute("width", `${t}`), [A, a, t];
|
|
4559
4566
|
}
|
|
4560
|
-
const
|
|
4561
|
-
const t =
|
|
4567
|
+
const Na = (c, A, e) => {
|
|
4568
|
+
const t = N("g");
|
|
4562
4569
|
c.appendChild(t), t.setAttribute("id", e), t.innerHTML = A;
|
|
4563
4570
|
};
|
|
4564
4571
|
function Ze(c, A, e) {
|
|
4565
4572
|
const t = k();
|
|
4566
|
-
|
|
4573
|
+
Na(A, e, `bgdef-${t}`), c.appendChild(Pa(`#bgdef-${t}`));
|
|
4567
4574
|
}
|
|
4568
4575
|
const $e = (c, A, e, t) => {
|
|
4569
4576
|
const a = lA("filter");
|
|
@@ -4720,26 +4727,26 @@ class Ra extends ae {
|
|
|
4720
4727
|
}
|
|
4721
4728
|
brandSvg(A, e) {
|
|
4722
4729
|
const t = A.toSVG(2), a = A.getBoundingBox(), n = a.x2 - a.x1, s = A.toPathData(3), i = () => {
|
|
4723
|
-
const D =
|
|
4730
|
+
const D = N("g"), p = N("defs");
|
|
4724
4731
|
D.appendChild(p), p.appendChild($e(3, 7, 4, "shadow"));
|
|
4725
|
-
const I =
|
|
4732
|
+
const I = N("g");
|
|
4726
4733
|
D.appendChild(I), I.setAttribute("filter", "url(#shadow)"), I.innerHTML = t;
|
|
4727
|
-
const F =
|
|
4734
|
+
const F = N("g");
|
|
4728
4735
|
D.appendChild(F), F.setAttribute("fill", "red"), F.setAttribute("stroke", "red"), F.setAttribute("stroke-width", "9"), F.innerHTML = t;
|
|
4729
|
-
const Y =
|
|
4736
|
+
const Y = N("g");
|
|
4730
4737
|
D.appendChild(Y), Y.setAttribute("fill", "#9d2621"), Y.setAttribute("transform", "translate(1,1)"), Y.innerHTML = t;
|
|
4731
|
-
const y =
|
|
4738
|
+
const y = N("g");
|
|
4732
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;
|
|
4733
4740
|
}, [o, r, g] = qe(e);
|
|
4734
4741
|
if (!o)
|
|
4735
4742
|
return "";
|
|
4736
|
-
const B =
|
|
4743
|
+
const B = N("defs");
|
|
4737
4744
|
o.appendChild(B), Ze(o, B, e);
|
|
4738
|
-
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");
|
|
4739
4746
|
o.appendChild(E), E.setAttribute("transform", `translate(${w} ${C}) rotate(-21)`);
|
|
4740
4747
|
const Q = ne(l, d);
|
|
4741
4748
|
Q.setAttribute("opacity", "0"), E.appendChild(Q);
|
|
4742
|
-
const h =
|
|
4749
|
+
const h = N("g");
|
|
4743
4750
|
E.appendChild(h);
|
|
4744
4751
|
const m = i();
|
|
4745
4752
|
h.appendChild(m);
|
|
@@ -4764,11 +4771,11 @@ class Ga extends ae {
|
|
|
4764
4771
|
}
|
|
4765
4772
|
brandSvg(A, e, t) {
|
|
4766
4773
|
const a = A.toSVG(2), n = A.getBoundingBox(), s = n.y2 - n.y1, i = n.x2 - n.x1, o = A.toPathData(3), r = () => {
|
|
4767
|
-
const I =
|
|
4774
|
+
const I = N("g"), F = N("g");
|
|
4768
4775
|
I.appendChild(F), F.setAttribute("stroke", "#5C1A0D"), F.setAttribute("stroke-width", "4"), F.setAttribute("transform", "translate(1,1)"), F.innerHTML = a;
|
|
4769
|
-
const Y =
|
|
4776
|
+
const Y = N("g");
|
|
4770
4777
|
I.appendChild(Y), Y.setAttribute("fill", "#FFE386"), Y.setAttribute("transform", "translate(1,1)"), Y.innerHTML = a;
|
|
4771
|
-
const y =
|
|
4778
|
+
const y = N("g");
|
|
4772
4779
|
I.appendChild(y), y.setAttribute("fill", "white"), y.innerHTML = a;
|
|
4773
4780
|
const G = new ie(I);
|
|
4774
4781
|
return G.transform(([S, J]) => [S, J + ((i - S) * J) ** 2 / (i * 5e4)]), G.transform(([S, J]) => [
|
|
@@ -4778,15 +4785,15 @@ class Ga extends ae {
|
|
|
4778
4785
|
}, [g, B, l] = qe(e);
|
|
4779
4786
|
if (!g)
|
|
4780
4787
|
return "";
|
|
4781
|
-
const d =
|
|
4788
|
+
const d = N("defs");
|
|
4782
4789
|
g.appendChild(d), Ze(g, d, e);
|
|
4783
4790
|
let w, C, E, Q;
|
|
4784
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);
|
|
4785
|
-
const h =
|
|
4792
|
+
const h = N("g");
|
|
4786
4793
|
g.appendChild(h), h.setAttribute("transform", `translate(${E} ${Q}) rotate(-10)`);
|
|
4787
4794
|
const m = ne(w, C);
|
|
4788
4795
|
m.setAttribute("opacity", "0"), h.appendChild(m);
|
|
4789
|
-
const u =
|
|
4796
|
+
const u = N("g");
|
|
4790
4797
|
h.appendChild(u);
|
|
4791
4798
|
const D = r();
|
|
4792
4799
|
u.appendChild(D);
|
|
@@ -4808,29 +4815,29 @@ class ka extends ae {
|
|
|
4808
4815
|
}
|
|
4809
4816
|
svgElement(A, e) {
|
|
4810
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 = () => {
|
|
4811
|
-
const m =
|
|
4818
|
+
const m = N("g");
|
|
4812
4819
|
m.classList.add("module-text-group");
|
|
4813
|
-
const u =
|
|
4820
|
+
const u = N("defs");
|
|
4814
4821
|
m.appendChild(u), u.appendChild($e(0, 2, 2, "shadow"));
|
|
4815
|
-
const D =
|
|
4822
|
+
const D = N("path");
|
|
4816
4823
|
D.setAttribute("d", g), D.setAttribute("stroke", "black"), D.setAttribute("stroke-width", "3"), u.appendChild(D);
|
|
4817
|
-
const p =
|
|
4824
|
+
const p = N("g");
|
|
4818
4825
|
p.classList.add("module-layer0"), m.appendChild(p), p.setAttribute("filter", "url(#shadow)"), p.innerHTML = D.outerHTML;
|
|
4819
|
-
const I =
|
|
4826
|
+
const I = N("g");
|
|
4820
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;
|
|
4821
|
-
const F =
|
|
4828
|
+
const F = N("g");
|
|
4822
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;
|
|
4823
|
-
const Y =
|
|
4830
|
+
const Y = N("g");
|
|
4824
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;
|
|
4825
|
-
}, l =
|
|
4832
|
+
}, l = N("g");
|
|
4826
4833
|
l.classList.add("module-root");
|
|
4827
|
-
const d =
|
|
4834
|
+
const d = N("defs");
|
|
4828
4835
|
l.appendChild(d);
|
|
4829
|
-
const w =
|
|
4836
|
+
const w = N("g");
|
|
4830
4837
|
w.classList.add("module-bounds"), l.appendChild(w);
|
|
4831
4838
|
const C = ne(e.height, e.width);
|
|
4832
4839
|
C.setAttribute("opacity", "0"), w.appendChild(C);
|
|
4833
|
-
const E =
|
|
4840
|
+
const E = N("g");
|
|
4834
4841
|
E.classList.add("module-text-enclosure"), l.appendChild(E);
|
|
4835
4842
|
const Q = B();
|
|
4836
4843
|
E.appendChild(Q);
|
|
@@ -4849,7 +4856,7 @@ async function At(c) {
|
|
|
4849
4856
|
return new ka();
|
|
4850
4857
|
throw new v(`Failed to resolve Module, Module ${c} not found`);
|
|
4851
4858
|
}
|
|
4852
|
-
var
|
|
4859
|
+
var PA = /* @__PURE__ */ ((c) => (c.Error = "Error", c.Warning = "Warning", c.Info = "Info", c))(PA || {});
|
|
4853
4860
|
const Ja = 1e3;
|
|
4854
4861
|
class ue extends Te {
|
|
4855
4862
|
constructor(A) {
|
|
@@ -5798,7 +5805,7 @@ class Va extends j {
|
|
|
5798
5805
|
...this.manager.getInformationResults(),
|
|
5799
5806
|
{
|
|
5800
5807
|
message: "An issue has occured with test",
|
|
5801
|
-
messageType:
|
|
5808
|
+
messageType: PA.Error,
|
|
5802
5809
|
stepID: this.step.stepName
|
|
5803
5810
|
}
|
|
5804
5811
|
]);
|
|
@@ -5893,7 +5900,7 @@ class Va extends j {
|
|
|
5893
5900
|
...B,
|
|
5894
5901
|
{
|
|
5895
5902
|
message: `${l} - ${this.step.stepTitle}`,
|
|
5896
|
-
messageType:
|
|
5903
|
+
messageType: PA.Error,
|
|
5897
5904
|
stepID: this.step.stepName
|
|
5898
5905
|
}
|
|
5899
5906
|
]);
|
|
@@ -6057,7 +6064,7 @@ const tt = M`
|
|
|
6057
6064
|
}
|
|
6058
6065
|
`, Za = async (c) => {
|
|
6059
6066
|
var e;
|
|
6060
|
-
return (e = (await
|
|
6067
|
+
return (e = (await P.getShadowGraphqlClient().mutate({
|
|
6061
6068
|
mutation: Xa,
|
|
6062
6069
|
errorPolicy: "all",
|
|
6063
6070
|
fetchPolicy: "no-cache",
|
|
@@ -6074,7 +6081,7 @@ const tt = M`
|
|
|
6074
6081
|
})).data) == null ? void 0 : e.designCreate;
|
|
6075
6082
|
}, $a = async (c) => {
|
|
6076
6083
|
var e;
|
|
6077
|
-
return (e = (await
|
|
6084
|
+
return (e = (await P.getShadowGraphqlClient().mutate({
|
|
6078
6085
|
mutation: qa,
|
|
6079
6086
|
errorPolicy: "all",
|
|
6080
6087
|
fetchPolicy: "no-cache",
|
|
@@ -6189,7 +6196,7 @@ const tt = M`
|
|
|
6189
6196
|
if (r !== void 0)
|
|
6190
6197
|
return r;
|
|
6191
6198
|
await c.outstandingRequestsPromise();
|
|
6192
|
-
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({
|
|
6193
6200
|
query: Oe,
|
|
6194
6201
|
variables: { ids: [a.id] },
|
|
6195
6202
|
fetchPolicy: "no-cache",
|
|
@@ -6304,7 +6311,7 @@ const tt = M`
|
|
|
6304
6311
|
);
|
|
6305
6312
|
const a = await (async () => {
|
|
6306
6313
|
var r;
|
|
6307
|
-
const o = await
|
|
6314
|
+
const o = await P.getShadowGraphqlClient().query({
|
|
6308
6315
|
query: Oe,
|
|
6309
6316
|
variables: { ids: c.map((g) => g.transaction.id) },
|
|
6310
6317
|
fetchPolicy: "no-cache",
|
|
@@ -6613,7 +6620,7 @@ class EA {
|
|
|
6613
6620
|
}
|
|
6614
6621
|
async assignCustomerDetails(A) {
|
|
6615
6622
|
var s, i, o;
|
|
6616
|
-
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({
|
|
6617
6624
|
mutation: an,
|
|
6618
6625
|
variables: {
|
|
6619
6626
|
id: this.getWorkflowManager().getTransaction().id,
|
|
@@ -6811,7 +6818,7 @@ const nn = [
|
|
|
6811
6818
|
const a = e.data, n = t.option;
|
|
6812
6819
|
if (!n)
|
|
6813
6820
|
return console.error(`No option for step ${t.stepName}.`), [];
|
|
6814
|
-
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);
|
|
6815
6822
|
if (!s)
|
|
6816
6823
|
return console.error(`No variant with ID: ${a.illustrationVariantId}`), [];
|
|
6817
6824
|
if (!s.asset)
|
|
@@ -6823,7 +6830,7 @@ const nn = [
|
|
|
6823
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;
|
|
6824
6831
|
if (!w)
|
|
6825
6832
|
return console.error("Failed to read SVG."), [];
|
|
6826
|
-
|
|
6833
|
+
Pe(w);
|
|
6827
6834
|
const C = {};
|
|
6828
6835
|
Yt(w, (I) => {
|
|
6829
6836
|
nn.includes(I.tagName) && !I.attributes.getNamedItem("fill") && I.setAttribute("fill", "#000000");
|
|
@@ -6838,7 +6845,7 @@ const nn = [
|
|
|
6838
6845
|
I.classList.add(S), C[S] = { browserValue: y };
|
|
6839
6846
|
}
|
|
6840
6847
|
});
|
|
6841
|
-
const Q =
|
|
6848
|
+
const Q = Ne().serializeToString(w), h = a.colors;
|
|
6842
6849
|
if (h) {
|
|
6843
6850
|
for (const [I, F] of Object.entries(C))
|
|
6844
6851
|
for (const Y of Object.keys(h))
|
|
@@ -6910,7 +6917,7 @@ const nn = [
|
|
|
6910
6917
|
const a = e.data, n = t.option;
|
|
6911
6918
|
if (!n)
|
|
6912
6919
|
return console.error(`No option for step ${t.stepName}.`), [];
|
|
6913
|
-
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);
|
|
6914
6921
|
if (!s)
|
|
6915
6922
|
return console.error(`No variant with ID: ${a.pictureVariantId}`), [];
|
|
6916
6923
|
if (!s.asset)
|
|
@@ -6952,7 +6959,7 @@ const nn = [
|
|
|
6952
6959
|
const a = e.data, n = t.option;
|
|
6953
6960
|
if (!n)
|
|
6954
6961
|
return console.error(`No option for step ${t.stepName}.`), [];
|
|
6955
|
-
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);
|
|
6956
6963
|
if (!s)
|
|
6957
6964
|
return console.error(`No variant with ID: ${a.colorVariantId}`), [];
|
|
6958
6965
|
A[t.stepName] = { selectedVariants: [s] };
|
|
@@ -7042,7 +7049,7 @@ const nn = [
|
|
|
7042
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;
|
|
7043
7050
|
if (!Q)
|
|
7044
7051
|
throw new sA("Failed to read SVG.");
|
|
7045
|
-
return
|
|
7052
|
+
return Pe(Q), Ne().serializeToString(Q);
|
|
7046
7053
|
};
|
|
7047
7054
|
o.forEach((B) => {
|
|
7048
7055
|
const l = c.find((w) => w.panelId === B.panelId);
|
|
@@ -7077,7 +7084,7 @@ const nn = [
|
|
|
7077
7084
|
const E = t.option;
|
|
7078
7085
|
if (!E)
|
|
7079
7086
|
return;
|
|
7080
|
-
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);
|
|
7081
7088
|
if (!Q || !Q.asset)
|
|
7082
7089
|
return;
|
|
7083
7090
|
A[t.stepName] = { selectedVariants: [Q] };
|
|
@@ -7633,7 +7640,7 @@ const ys = (c, A) => {
|
|
|
7633
7640
|
id
|
|
7634
7641
|
}
|
|
7635
7642
|
}
|
|
7636
|
-
`,
|
|
7643
|
+
`, Pn = M`
|
|
7637
7644
|
mutation BundleAddStakeholder($id: String!, $details: CustomerDetailsInput!, $type: String!) {
|
|
7638
7645
|
bundleAddStakeholder(id: $id, details: $details, type: $type) {
|
|
7639
7646
|
id
|
|
@@ -7653,7 +7660,7 @@ const ys = (c, A) => {
|
|
|
7653
7660
|
}
|
|
7654
7661
|
}
|
|
7655
7662
|
}
|
|
7656
|
-
`,
|
|
7663
|
+
`, Nn = M`
|
|
7657
7664
|
mutation BundleUpdateStakeholders($id: String!, $input: [BundleStakeholderInput!]!) {
|
|
7658
7665
|
bundleUpdateStakeholders(id: $id, input: $input) {
|
|
7659
7666
|
id
|
|
@@ -7985,7 +7992,7 @@ class Ln {
|
|
|
7985
7992
|
var e;
|
|
7986
7993
|
if (!this.globalPropertyState)
|
|
7987
7994
|
throw new Error("Global property state not initialized");
|
|
7988
|
-
const A = await
|
|
7995
|
+
const A = await P.getShadowGraphqlClient().mutate({
|
|
7989
7996
|
mutation: Jn,
|
|
7990
7997
|
variables: {
|
|
7991
7998
|
id: this.globalPropertyState.id,
|
|
@@ -8002,7 +8009,7 @@ class Ln {
|
|
|
8002
8009
|
}
|
|
8003
8010
|
async getOrCreateGlobalPropertyState() {
|
|
8004
8011
|
var t;
|
|
8005
|
-
const A = await
|
|
8012
|
+
const A = await P.getShadowGraphqlClient().query({
|
|
8006
8013
|
query: bn,
|
|
8007
8014
|
errorPolicy: "all",
|
|
8008
8015
|
fetchPolicy: "no-cache",
|
|
@@ -8015,7 +8022,7 @@ class Ln {
|
|
|
8015
8022
|
});
|
|
8016
8023
|
if (A.data.globalPropertyState && A.data.globalPropertyState.id)
|
|
8017
8024
|
return A.data.globalPropertyState;
|
|
8018
|
-
const e = await
|
|
8025
|
+
const e = await P.getShadowGraphqlClient().mutate({
|
|
8019
8026
|
mutation: kn,
|
|
8020
8027
|
variables: {
|
|
8021
8028
|
bundleId: this.bundleId
|
|
@@ -8386,7 +8393,7 @@ class Ie {
|
|
|
8386
8393
|
"Unable to add transaction to bundle - Already Exists: " + t.filter((s) => !!s).map((s) => s == null ? void 0 : s.getWorkflowManager().getTransaction().id).join(", ")
|
|
8387
8394
|
);
|
|
8388
8395
|
const a = x.getMap("transactionOwnerIds") || /* @__PURE__ */ new Map(), n = e.map((s) => a.get(s));
|
|
8389
|
-
await
|
|
8396
|
+
await P.getShadowGraphqlClient().mutate({
|
|
8390
8397
|
mutation: Yn,
|
|
8391
8398
|
variables: {
|
|
8392
8399
|
id: this.id,
|
|
@@ -8415,7 +8422,7 @@ class Ie {
|
|
|
8415
8422
|
))
|
|
8416
8423
|
throw new Error("Unable to add transaction to bundle - Already Exists!");
|
|
8417
8424
|
const s = (x.getMap("transactionOwnerIds") || /* @__PURE__ */ new Map()).get(t);
|
|
8418
|
-
await
|
|
8425
|
+
await P.getShadowGraphqlClient().mutate({
|
|
8419
8426
|
mutation: yn,
|
|
8420
8427
|
variables: {
|
|
8421
8428
|
id: this.id,
|
|
@@ -8448,7 +8455,7 @@ class Ie {
|
|
|
8448
8455
|
const a = this.workflowExperiences.find(
|
|
8449
8456
|
(n) => n.getWorkflowManager().getTransaction().id === e.id
|
|
8450
8457
|
);
|
|
8451
|
-
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({
|
|
8452
8459
|
mutation: Sn,
|
|
8453
8460
|
variables: {
|
|
8454
8461
|
id: this.id,
|
|
@@ -8478,7 +8485,7 @@ class Ie {
|
|
|
8478
8485
|
1
|
|
8479
8486
|
)[0]
|
|
8480
8487
|
);
|
|
8481
|
-
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({
|
|
8482
8489
|
mutation: xn,
|
|
8483
8490
|
variables: {
|
|
8484
8491
|
id: this.id,
|
|
@@ -8539,8 +8546,8 @@ class Ie {
|
|
|
8539
8546
|
}
|
|
8540
8547
|
async addStakeholder(A, e) {
|
|
8541
8548
|
var n;
|
|
8542
|
-
const t = await
|
|
8543
|
-
mutation:
|
|
8549
|
+
const t = await P.getShadowGraphqlClient().mutate({
|
|
8550
|
+
mutation: Pn,
|
|
8544
8551
|
variables: {
|
|
8545
8552
|
id: this.id,
|
|
8546
8553
|
details: A,
|
|
@@ -8557,8 +8564,8 @@ class Ie {
|
|
|
8557
8564
|
}
|
|
8558
8565
|
async updateStakeholders(A) {
|
|
8559
8566
|
var a;
|
|
8560
|
-
const e = await
|
|
8561
|
-
mutation:
|
|
8567
|
+
const e = await P.getShadowGraphqlClient().mutate({
|
|
8568
|
+
mutation: Nn,
|
|
8562
8569
|
variables: {
|
|
8563
8570
|
id: this.id,
|
|
8564
8571
|
input: A
|
|
@@ -8573,7 +8580,7 @@ class Ie {
|
|
|
8573
8580
|
this.storeStakeholderCustomers(t);
|
|
8574
8581
|
}
|
|
8575
8582
|
async getAllStakeholders() {
|
|
8576
|
-
const A = await
|
|
8583
|
+
const A = await P.getShadowGraphqlClient().query({
|
|
8577
8584
|
query: Dn,
|
|
8578
8585
|
errorPolicy: "all",
|
|
8579
8586
|
variables: {
|
|
@@ -8670,7 +8677,7 @@ class Ie {
|
|
|
8670
8677
|
}
|
|
8671
8678
|
async updateBundle() {
|
|
8672
8679
|
var e;
|
|
8673
|
-
if (!((e = (await
|
|
8680
|
+
if (!((e = (await P.getShadowGraphqlClient().mutate({
|
|
8674
8681
|
mutation: Mn,
|
|
8675
8682
|
variables: {
|
|
8676
8683
|
id: this.id,
|
|
@@ -8685,7 +8692,7 @@ class Ie {
|
|
|
8685
8692
|
throw new Error("Bundle not found!");
|
|
8686
8693
|
}
|
|
8687
8694
|
async updateTransactionOrder() {
|
|
8688
|
-
await
|
|
8695
|
+
await P.getShadowGraphqlClient().mutate({
|
|
8689
8696
|
mutation: Hn,
|
|
8690
8697
|
variables: {
|
|
8691
8698
|
id: this.id,
|
|
@@ -8736,7 +8743,7 @@ class Wn {
|
|
|
8736
8743
|
*/
|
|
8737
8744
|
async execute(A, e, t) {
|
|
8738
8745
|
var B, l, d;
|
|
8739
|
-
const n = (l = (B = (await
|
|
8746
|
+
const n = (l = (B = (await P.getShadowGraphqlClient().mutate({
|
|
8740
8747
|
mutation: Vn,
|
|
8741
8748
|
variables: {
|
|
8742
8749
|
processFlowId: A,
|
|
@@ -8752,7 +8759,7 @@ class Wn {
|
|
|
8752
8759
|
}
|
|
8753
8760
|
let i = !1, o = 0, r, g;
|
|
8754
8761
|
for (; !i; ) {
|
|
8755
|
-
r = await
|
|
8762
|
+
r = await P.getShadowGraphqlClient().query({
|
|
8756
8763
|
query: M`
|
|
8757
8764
|
query getProcessFlowExecution($ids: [String]!) {
|
|
8758
8765
|
processExecutions(ids: $ids) {
|
|
@@ -9047,6 +9054,7 @@ const $n = M`
|
|
|
9047
9054
|
lowerBetaLimitDeg
|
|
9048
9055
|
maxZoomOverride
|
|
9049
9056
|
minZoomOverride
|
|
9057
|
+
noPan
|
|
9050
9058
|
upperAlphaLimitDeg
|
|
9051
9059
|
upperBetaLimitDeg
|
|
9052
9060
|
renderingPipelineConfiguration {
|
|
@@ -9529,7 +9537,7 @@ const $n = M`
|
|
|
9529
9537
|
}
|
|
9530
9538
|
}, gs = async (c, A) => {
|
|
9531
9539
|
var a;
|
|
9532
|
-
const e = await
|
|
9540
|
+
const e = await P.getShadowGraphqlClient().query({
|
|
9533
9541
|
query: ts(((a = A == null ? void 0 : A.assets) == null ? void 0 : a.metadata) || !1),
|
|
9534
9542
|
errorPolicy: "all",
|
|
9535
9543
|
fetchPolicy: "no-cache",
|
|
@@ -9581,7 +9589,7 @@ class ds {
|
|
|
9581
9589
|
constructor(A) {
|
|
9582
9590
|
this.updateTransactionState = async (e) => {
|
|
9583
9591
|
try {
|
|
9584
|
-
return
|
|
9592
|
+
return P.getShadowGraphqlClient().mutate({
|
|
9585
9593
|
...e,
|
|
9586
9594
|
mutation: na
|
|
9587
9595
|
});
|
|
@@ -9649,7 +9657,7 @@ class ds {
|
|
|
9649
9657
|
*/
|
|
9650
9658
|
async authenticateTransactionFromLocalStorage(A) {
|
|
9651
9659
|
var g, B, l, d, w, C;
|
|
9652
|
-
const e =
|
|
9660
|
+
const e = P.getShadowGraphqlClient(), t = await e.query({
|
|
9653
9661
|
query: as,
|
|
9654
9662
|
errorPolicy: "all",
|
|
9655
9663
|
fetchPolicy: "no-cache",
|
|
@@ -9725,7 +9733,7 @@ class ds {
|
|
|
9725
9733
|
async getOrCreateCustomer(A) {
|
|
9726
9734
|
var s;
|
|
9727
9735
|
this.customer = void 0;
|
|
9728
|
-
const e =
|
|
9736
|
+
const e = P.getShadowGraphqlClient(), a = (await e.query({
|
|
9729
9737
|
query: ss,
|
|
9730
9738
|
errorPolicy: "all",
|
|
9731
9739
|
fetchPolicy: "no-cache",
|
|
@@ -9760,7 +9768,7 @@ class ds {
|
|
|
9760
9768
|
}
|
|
9761
9769
|
async authenticateCustomerId(A) {
|
|
9762
9770
|
var i;
|
|
9763
|
-
const e =
|
|
9771
|
+
const e = P.getShadowGraphqlClient(), t = x.getMap("customerTokens");
|
|
9764
9772
|
if (!(t != null && t.has(A)))
|
|
9765
9773
|
return !1;
|
|
9766
9774
|
const a = t.get(A);
|
|
@@ -9781,7 +9789,7 @@ class ds {
|
|
|
9781
9789
|
* @param emailAddress The email address to generate a verification code for. The user will be sent an email with the verification code.
|
|
9782
9790
|
*/
|
|
9783
9791
|
async generateVerificationCode(A) {
|
|
9784
|
-
await
|
|
9792
|
+
await P.getShadowGraphqlClient().mutate({
|
|
9785
9793
|
mutation: rs,
|
|
9786
9794
|
variables: {
|
|
9787
9795
|
emailAddress: A
|
|
@@ -9796,7 +9804,7 @@ class ds {
|
|
|
9796
9804
|
*/
|
|
9797
9805
|
async verifyCode(A, e) {
|
|
9798
9806
|
var n, s;
|
|
9799
|
-
const a = (n = (await
|
|
9807
|
+
const a = (n = (await P.getShadowGraphqlClient().mutate({
|
|
9800
9808
|
mutation: cs,
|
|
9801
9809
|
errorPolicy: "all",
|
|
9802
9810
|
fetchPolicy: "no-cache",
|
|
@@ -9822,7 +9830,7 @@ class ds {
|
|
|
9822
9830
|
*/
|
|
9823
9831
|
async getNewBundle(A, e) {
|
|
9824
9832
|
var i;
|
|
9825
|
-
const a = (i = (await
|
|
9833
|
+
const a = (i = (await P.getShadowGraphqlClient().mutate({
|
|
9826
9834
|
mutation: Fn,
|
|
9827
9835
|
variables: {
|
|
9828
9836
|
collectionId: A,
|
|
@@ -9846,7 +9854,7 @@ class ds {
|
|
|
9846
9854
|
*/
|
|
9847
9855
|
async getExistingBundle(A, e, t) {
|
|
9848
9856
|
var g, B, l, d;
|
|
9849
|
-
const a = x.getMap("bundleOwnerIds"), n = a == null ? void 0 : a.get(A), s = await
|
|
9857
|
+
const a = x.getMap("bundleOwnerIds"), n = a == null ? void 0 : a.get(A), s = await P.getShadowGraphqlClient().query({
|
|
9850
9858
|
query: pn,
|
|
9851
9859
|
variables: {
|
|
9852
9860
|
id: A
|
|
@@ -9871,7 +9879,7 @@ class ds {
|
|
|
9871
9879
|
var n;
|
|
9872
9880
|
if (!this.customer)
|
|
9873
9881
|
throw new Error("Customer not authenticated.");
|
|
9874
|
-
const A = await
|
|
9882
|
+
const A = await P.getShadowGraphqlClient().query({
|
|
9875
9883
|
query: fn,
|
|
9876
9884
|
variables: {
|
|
9877
9885
|
id: this.customer.id
|
|
@@ -9900,7 +9908,7 @@ class ds {
|
|
|
9900
9908
|
return await this.getWorkflowExperienceDeprecated(A, e, t);
|
|
9901
9909
|
const n = async () => {
|
|
9902
9910
|
var Q, h;
|
|
9903
|
-
const E =
|
|
9911
|
+
const E = P.getShadowGraphqlClient();
|
|
9904
9912
|
if (a.type === "transaction") {
|
|
9905
9913
|
const { transactionId: m, readOnly: u } = a, D = await E.query({
|
|
9906
9914
|
query: BA,
|
|
@@ -10001,7 +10009,7 @@ class ds {
|
|
|
10001
10009
|
async getWorkflowExperiences(A, e) {
|
|
10002
10010
|
if (A.length === 0)
|
|
10003
10011
|
throw new H("No options provided!");
|
|
10004
|
-
const t =
|
|
10012
|
+
const t = P.getShadowGraphqlClient(), a = A.map((h, m) => ({ option: h, index: m })), n = a.filter((h) => h.option.type === "transaction"), s = a.filter(
|
|
10005
10013
|
(h) => h.option.type === "integration" || h.option.type === "external"
|
|
10006
10014
|
), i = async () => {
|
|
10007
10015
|
var D, p;
|
|
@@ -10103,7 +10111,7 @@ class ds {
|
|
|
10103
10111
|
var s;
|
|
10104
10112
|
if (A === "")
|
|
10105
10113
|
throw new H("No integration product ID provided.");
|
|
10106
|
-
const t = await
|
|
10114
|
+
const t = await P.getShadowGraphqlClient().mutate({
|
|
10107
10115
|
mutation: he,
|
|
10108
10116
|
variables: {
|
|
10109
10117
|
integrationProductId: A,
|
|
@@ -10138,7 +10146,7 @@ class ds {
|
|
|
10138
10146
|
var i, o, r, g;
|
|
10139
10147
|
if (A === "")
|
|
10140
10148
|
throw new H("No transaction ID provided.");
|
|
10141
|
-
const t =
|
|
10149
|
+
const t = P.getShadowGraphqlClient(), a = async () => {
|
|
10142
10150
|
var d, w;
|
|
10143
10151
|
const l = (d = (await t.query({
|
|
10144
10152
|
query: BA,
|
|
@@ -10226,7 +10234,7 @@ class ds {
|
|
|
10226
10234
|
return await r.getWorkflowManager().getInitializationPromise(), r;
|
|
10227
10235
|
}
|
|
10228
10236
|
if (A) {
|
|
10229
|
-
const r = (x.getMap("transactionOwnerIds") || /* @__PURE__ */ new Map()).get(this.experienceOptions.transaction.id), g =
|
|
10237
|
+
const r = (x.getMap("transactionOwnerIds") || /* @__PURE__ */ new Map()).get(this.experienceOptions.transaction.id), g = P.getShadowGraphqlClient().mutate({
|
|
10230
10238
|
mutation: sa,
|
|
10231
10239
|
variables: {
|
|
10232
10240
|
workflowId: A,
|
|
@@ -10450,7 +10458,7 @@ class Es extends j {
|
|
|
10450
10458
|
}
|
|
10451
10459
|
export {
|
|
10452
10460
|
$ as AssetNotFoundError,
|
|
10453
|
-
|
|
10461
|
+
Ns as AssetType,
|
|
10454
10462
|
Hs as BringForwardCommand,
|
|
10455
10463
|
Rs as BringToBackCommand,
|
|
10456
10464
|
Us as BringToFrontCommand,
|
|
@@ -10475,7 +10483,7 @@ export {
|
|
|
10475
10483
|
oe as GlobalPropertyHandle,
|
|
10476
10484
|
Ks as GroupCommand,
|
|
10477
10485
|
La as IllustrationStepHandle,
|
|
10478
|
-
|
|
10486
|
+
PA as InformationMessageType,
|
|
10479
10487
|
Wa as InformationStepHandle,
|
|
10480
10488
|
$t as IntegrationType,
|
|
10481
10489
|
js as LayoutElementFactory,
|
|
@@ -10536,7 +10544,7 @@ export {
|
|
|
10536
10544
|
li as getSvgElement,
|
|
10537
10545
|
QA as getWorkflow,
|
|
10538
10546
|
rt as getWorkflows,
|
|
10539
|
-
|
|
10547
|
+
P as graphQlManager,
|
|
10540
10548
|
IA as illustrationStepService,
|
|
10541
10549
|
Bi as loadFont,
|
|
10542
10550
|
je as materialStepService,
|
package/dist/index.umd.cjs
CHANGED
|
@@ -427,6 +427,13 @@
|
|
|
427
427
|
id
|
|
428
428
|
type
|
|
429
429
|
}
|
|
430
|
+
externalProductId
|
|
431
|
+
externalVariantId
|
|
432
|
+
additionalExternalProductId
|
|
433
|
+
additionalExternalVariantId
|
|
434
|
+
additionalIntegrationProduct {
|
|
435
|
+
...AdditionalIntegrationProductFields
|
|
436
|
+
}
|
|
430
437
|
}
|
|
431
438
|
profanities {
|
|
432
439
|
id
|
|
@@ -2402,6 +2409,7 @@ IfnI8vaNAAAAAElFTkSuQmCC" transform="matrix(0.13 0.0141 -0.0141 0.1301 104.926 1
|
|
|
2402
2409
|
lowerBetaLimitDeg
|
|
2403
2410
|
maxZoomOverride
|
|
2404
2411
|
minZoomOverride
|
|
2412
|
+
noPan
|
|
2405
2413
|
upperAlphaLimitDeg
|
|
2406
2414
|
upperBetaLimitDeg
|
|
2407
2415
|
renderingPipelineConfiguration {
|