@spiffcommerce/core 17.0.0 → 17.0.1
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.d.ts +4 -0
- package/dist/index.js +204 -210
- package/dist/index.umd.cjs +43 -38
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createHttpLink as ct, InMemoryCache as gt, ApolloClient as lt, from as Bt, gql as y } from "@apollo/client/core";
|
|
2
2
|
import { fetch as qA, getAttributesFromArrayBuffer as pe, AssetType as re, StepType as f, getFrameData as ZA, frameDataCache as wt, UpdateFramePattern as De, calculateOffsets as $A, LayoutElementType as R, generate as k, CreateElementCommand as b, generateSVGWithUnknownColors as fe, svgObjectURL as pA, fetchAsString as q, DeleteElementCommand as Z, GroupCommand as G, generateDefaultRectangleFrameSvg as ce, GetSVGDimensions as dt, patternImageDataCache as ge, fetchAsArrayBuffer as Et, findElement as DA, modifySVGWithElementProperties as ht, IllustrationColorCommand as TA, IllustrationCacheCommand as Ct, getFontMetrics as Qt, getPatternImageData as zA, FontColorCommand as ut, FontImageFillCommand as kA, applyTextTransformations as KA, determineCorrectFontSizeAndLines as uA, FontSourceCommand as le, loadFont as _A, TextChangeCommand as mt, FontSizeCommand as It, createElementNS as pt, createElement as gA, _loadFontExternalDataURL as Ae, UpdateWorkflowStateCommand as Be, CommandContext as Dt, createCanvas as fA, getSvgElement as Fe, LayoutRenderingPurpose as Me, renderPapyrusComponentAsString as ye, loadImage as Ye, getDomParser as Se, toBase64 as we, getVariant as ft, generateFrameSVG as Ft, getDefaultVariant as HA, domParser as xe, sanitizeSvgTree as Ne, traverse as Mt, xmlSerializer as He, CreateLayoutCommand as yt, AspectType as mA, rehydrateSerializedLayout as _ } from "@spiffcommerce/papyrus";
|
|
3
|
-
import { AssetType as
|
|
3
|
+
import { AssetType as Ss, BringForwardCommand as xs, BringToBackCommand as Ns, BringToFrontCommand as Hs, CanvasCommand as Ps, CommandContext as Rs, CreateElementCommand as Us, CreateLayoutCommand as Gs, DeleteElementCommand as vs, FontAlignmentCommand as ks, FontColorCommand as Js, FontSizeCommand as bs, FontSourceCommand as Ls, GroupCommand as Os, LayoutElementFactory as Ts, LayoutElementType as zs, MoveCommand as Ks, ResizeCommand as js, RotateCommand as Vs, SendBackwardsCommand as Ws, StepAspectType as Xs, StepType as qs, TextChangeCommand as Zs, UnitOfMeasurement as $s, dataUrlFromExternalUrl as _s, determineCorrectFontSizeAndLines as Ai, findElement as ei, frameDataCache as ti, generate as ai, generateSVGWithUnknownColors as ni, getAttributesFromArrayBuffer as si, getAxisAlignedBoundingBox as ii, getFrameData as oi, getSvgElement as ri, loadFont as ci, patternImageDataCache as gi, registerFetchImplementation as li, registerWindowImplementation as Bi, rehydrateSerializedLayout as wi, setCanvasModule as di } from "@spiffcommerce/papyrus";
|
|
4
4
|
import { setContext as Yt } from "@apollo/client/link/context";
|
|
5
5
|
import { onError as St } from "@apollo/client/link/error";
|
|
6
6
|
import { Pith as Pe } from "pith";
|
|
@@ -5900,7 +5900,7 @@ class wA {
|
|
|
5900
5900
|
case f.Model:
|
|
5901
5901
|
return new La(A, e);
|
|
5902
5902
|
case f.Frame:
|
|
5903
|
-
return new
|
|
5903
|
+
return new Bs(A, e);
|
|
5904
5904
|
default:
|
|
5905
5905
|
throw new v(`Step type ${e.type} not yet supported in Core SDK`);
|
|
5906
5906
|
}
|
|
@@ -5919,6 +5919,11 @@ const tt = y`
|
|
|
5919
5919
|
priceModifierTotal
|
|
5920
5920
|
workflowViewerLink
|
|
5921
5921
|
workflowViewerReadOnlyLink
|
|
5922
|
+
integrationProduct {
|
|
5923
|
+
id
|
|
5924
|
+
additionalExternalProductId
|
|
5925
|
+
additionalExternalVariantId
|
|
5926
|
+
}
|
|
5922
5927
|
}
|
|
5923
5928
|
`, Va = y`
|
|
5924
5929
|
${tt}
|
|
@@ -6071,39 +6076,28 @@ const tt = y`
|
|
|
6071
6076
|
};
|
|
6072
6077
|
}
|
|
6073
6078
|
return a;
|
|
6074
|
-
},
|
|
6075
|
-
|
|
6076
|
-
|
|
6079
|
+
}, at = (c, A, e, t, a, n, s, i) => {
|
|
6080
|
+
var d, C;
|
|
6081
|
+
const o = A.basePrice || 0, r = c.priceModifierTotal || 0, g = Za(t, e, void 0, n), l = (x.getMap("transactionOwnerIds") || /* @__PURE__ */ new Map()).get(c.id), w = {
|
|
6082
|
+
additionalExternalProductId: (d = c.integrationProduct) == null ? void 0 : d.additionalExternalProductId,
|
|
6083
|
+
additionalExternalVariantId: (C = c.integrationProduct) == null ? void 0 : C.additionalExternalVariantId,
|
|
6084
|
+
baseCost: o,
|
|
6077
6085
|
designProductId: c.externalDesignProductId,
|
|
6078
6086
|
designProductVariantId: c.externalDesignProductVariantId,
|
|
6079
6087
|
event: "onComplete",
|
|
6080
|
-
exportedData:
|
|
6088
|
+
exportedData: g,
|
|
6081
6089
|
externalCartProductId: c.externalCartProductId,
|
|
6082
6090
|
externalCartProductVariantId: c.externalCartProductVariantId,
|
|
6083
6091
|
lineItemImageUrl: s || "",
|
|
6084
|
-
optionsCost:
|
|
6085
|
-
processExecutionId:
|
|
6092
|
+
optionsCost: r,
|
|
6093
|
+
processExecutionId: i,
|
|
6086
6094
|
transactionId: c.id,
|
|
6087
|
-
transactionOwnerId:
|
|
6095
|
+
transactionOwnerId: l,
|
|
6088
6096
|
weight: A.weight,
|
|
6089
6097
|
workflowViewerLink: c.workflowViewerLink || "",
|
|
6090
6098
|
workflowViewerReadOnlyLink: c.workflowViewerReadOnlyLink || ""
|
|
6091
6099
|
};
|
|
6092
|
-
return
|
|
6093
|
-
}, at = async (c, A, e, t, a, n, s, i) => {
|
|
6094
|
-
const o = A.basePrice || 0, r = c.priceModifierTotal || 0, g = Za(t, e, void 0, n);
|
|
6095
|
-
return $a(
|
|
6096
|
-
c,
|
|
6097
|
-
A,
|
|
6098
|
-
o,
|
|
6099
|
-
r,
|
|
6100
|
-
n,
|
|
6101
|
-
g,
|
|
6102
|
-
s,
|
|
6103
|
-
t,
|
|
6104
|
-
a,
|
|
6105
|
-
i
|
|
6106
|
-
);
|
|
6100
|
+
return n && (w.metadata = n), t && (w.selectedVariants = t), a && (w.sku = a), w;
|
|
6107
6101
|
}, nt = async (c, A, e, t, a, n, s, i, o, r) => {
|
|
6108
6102
|
var F;
|
|
6109
6103
|
await (async () => {
|
|
@@ -6188,7 +6182,7 @@ const tt = y`
|
|
|
6188
6182
|
cartSelectionsWithPrices: h,
|
|
6189
6183
|
cartMetadata: C
|
|
6190
6184
|
};
|
|
6191
|
-
},
|
|
6185
|
+
}, $a = async (c, A, e, t, a, n, s, i, o, r, g) => {
|
|
6192
6186
|
var Q, h;
|
|
6193
6187
|
o("workflow.steps.finish.finalize.buildingLayouts");
|
|
6194
6188
|
const { designDetails: B, cartSelectionsWithPrices: l, cartMetadata: w } = await nt(
|
|
@@ -6218,7 +6212,7 @@ const tt = y`
|
|
|
6218
6212
|
C,
|
|
6219
6213
|
(h = d == null ? void 0 : d.processExecution) == null ? void 0 : h.id
|
|
6220
6214
|
);
|
|
6221
|
-
},
|
|
6215
|
+
}, _a = async (c, A) => {
|
|
6222
6216
|
A("workflow.steps.finish.finalize.buildingLayouts"), await Promise.all(
|
|
6223
6217
|
c.map(async (s) => {
|
|
6224
6218
|
await s.workflowManager.outstandingRequestsPromise();
|
|
@@ -6272,7 +6266,7 @@ const tt = y`
|
|
|
6272
6266
|
})
|
|
6273
6267
|
);
|
|
6274
6268
|
};
|
|
6275
|
-
class
|
|
6269
|
+
class An {
|
|
6276
6270
|
constructor() {
|
|
6277
6271
|
this.localPersistenceKey = "designTransactions", this.storageMethod = "Local", this.designSavedListeners = [];
|
|
6278
6272
|
}
|
|
@@ -6339,7 +6333,7 @@ class en {
|
|
|
6339
6333
|
throw new v("Unexpected storage method requested");
|
|
6340
6334
|
}
|
|
6341
6335
|
}
|
|
6342
|
-
const LA = new
|
|
6336
|
+
const LA = new An(), en = y`
|
|
6343
6337
|
mutation AddTransactionStakeholder($id: String!, $type: String!, $details: CustomerDetailsInput!) {
|
|
6344
6338
|
transactionAddStakeholder(id: $id, details: $details, type: $type) {
|
|
6345
6339
|
id
|
|
@@ -6516,7 +6510,7 @@ class dA {
|
|
|
6516
6510
|
async assignCustomerDetails(A) {
|
|
6517
6511
|
var s, i, o;
|
|
6518
6512
|
const t = (x.getMap("transactionOwnerIds") || /* @__PURE__ */ new Map()).get(this.getWorkflowManager().getTransaction().id), n = (o = (i = (s = (await N.getShadowGraphqlClient().mutate({
|
|
6519
|
-
mutation:
|
|
6513
|
+
mutation: en,
|
|
6520
6514
|
variables: {
|
|
6521
6515
|
id: this.getWorkflowManager().getTransaction().id,
|
|
6522
6516
|
details: A,
|
|
@@ -6569,13 +6563,13 @@ class dA {
|
|
|
6569
6563
|
const A = PA(this.getCommandContext().getState());
|
|
6570
6564
|
if (!A)
|
|
6571
6565
|
throw new v("Internal state is undefined! Cannot copy experience!");
|
|
6572
|
-
const e = JSON.stringify(A.transaction), t = this.getWorkflowManager().getWorkflow(), a = new
|
|
6566
|
+
const e = JSON.stringify(A.transaction), t = this.getWorkflowManager().getWorkflow(), a = new gs({}), n = (i = this.getWorkflowManager().getTransaction().integrationProduct) == null ? void 0 : i.id;
|
|
6573
6567
|
if (!n)
|
|
6574
6568
|
throw new v("Integration product id is undefined!");
|
|
6575
6569
|
return await a.initFromIntegrationProduct(n), await a.getWorkflowExperience(t.id, e, void 0);
|
|
6576
6570
|
}
|
|
6577
6571
|
async onDesignFinished(A, e = !0) {
|
|
6578
|
-
return
|
|
6572
|
+
return $a(
|
|
6579
6573
|
this.workflowManager,
|
|
6580
6574
|
this.workflowManager.getWorkflow(),
|
|
6581
6575
|
this.workflowManager.getLayouts(),
|
|
@@ -6616,7 +6610,7 @@ class dA {
|
|
|
6616
6610
|
}), A;
|
|
6617
6611
|
}
|
|
6618
6612
|
}
|
|
6619
|
-
const
|
|
6613
|
+
const tn = [
|
|
6620
6614
|
"altGlyph",
|
|
6621
6615
|
"circle",
|
|
6622
6616
|
"ellipse",
|
|
@@ -6628,7 +6622,7 @@ const an = [
|
|
|
6628
6622
|
"textPath",
|
|
6629
6623
|
"tref",
|
|
6630
6624
|
"tspan"
|
|
6631
|
-
],
|
|
6625
|
+
], an = async (c, A, e) => {
|
|
6632
6626
|
const t = A.data, a = e.data.baseUrl, n = t.assetUrl.replace("localhost", "localstack"), s = a.slice(0, 4) === "http" ? "" : "https://", i = new URL(s + a);
|
|
6633
6627
|
i.searchParams.append("video", we(JSON.stringify([{ href: n }]))), i.pathname = i.pathname + (i.pathname.slice(-1) === "/" ? "" : "/");
|
|
6634
6628
|
const o = i.toString(), g = `data:image/svg+xml;base64,${we(await Ge(o, { type: "svg" }))}`, B = (w) => {
|
|
@@ -6655,7 +6649,7 @@ const an = [
|
|
|
6655
6649
|
} catch (w) {
|
|
6656
6650
|
return console.error(w), [];
|
|
6657
6651
|
}
|
|
6658
|
-
},
|
|
6652
|
+
}, nn = async (c, A, e, t) => {
|
|
6659
6653
|
const a = e.data, n = a.assetUrl, s = await zA(n);
|
|
6660
6654
|
try {
|
|
6661
6655
|
const i = ft(a, t.option);
|
|
@@ -6708,7 +6702,7 @@ const an = [
|
|
|
6708
6702
|
} catch (i) {
|
|
6709
6703
|
return console.error(i), [];
|
|
6710
6704
|
}
|
|
6711
|
-
},
|
|
6705
|
+
}, sn = async (c, A, e, t) => {
|
|
6712
6706
|
var D, p;
|
|
6713
6707
|
const a = e.data, n = t.option;
|
|
6714
6708
|
if (!n)
|
|
@@ -6728,7 +6722,7 @@ const an = [
|
|
|
6728
6722
|
Ne(d);
|
|
6729
6723
|
const C = {};
|
|
6730
6724
|
Mt(d, (m) => {
|
|
6731
|
-
|
|
6725
|
+
tn.includes(m.tagName) && !m.attributes.getNamedItem("fill") && m.setAttribute("fill", "#000000");
|
|
6732
6726
|
const F = m.attributes.getNamedItem("fill");
|
|
6733
6727
|
if (F && F.value !== "none") {
|
|
6734
6728
|
const M = F.value, S = `spiff-fill-${M.replace(/\W/g, "")}`;
|
|
@@ -6777,7 +6771,7 @@ const an = [
|
|
|
6777
6771
|
} catch (m) {
|
|
6778
6772
|
return console.error(m), [];
|
|
6779
6773
|
}
|
|
6780
|
-
},
|
|
6774
|
+
}, on = async (c, A, e) => {
|
|
6781
6775
|
const t = await At(e.data.module), a = A.data, n = (i, o) => {
|
|
6782
6776
|
const r = c.find((B) => B.panelId === o.panelId);
|
|
6783
6777
|
if (!r)
|
|
@@ -6807,7 +6801,7 @@ const an = [
|
|
|
6807
6801
|
} catch (i) {
|
|
6808
6802
|
return console.error(i), [];
|
|
6809
6803
|
}
|
|
6810
|
-
},
|
|
6804
|
+
}, rn = async (c, A, e, t) => {
|
|
6811
6805
|
var g, B;
|
|
6812
6806
|
const a = e.data, n = t.option;
|
|
6813
6807
|
if (!n)
|
|
@@ -6849,7 +6843,7 @@ const an = [
|
|
|
6849
6843
|
} catch (l) {
|
|
6850
6844
|
return console.error(l), [];
|
|
6851
6845
|
}
|
|
6852
|
-
},
|
|
6846
|
+
}, cn = async (c, A, e, t) => {
|
|
6853
6847
|
var r;
|
|
6854
6848
|
const a = e.data, n = t.option;
|
|
6855
6849
|
if (!n)
|
|
@@ -6906,7 +6900,7 @@ const an = [
|
|
|
6906
6900
|
} catch (g) {
|
|
6907
6901
|
return console.error(g), [];
|
|
6908
6902
|
}
|
|
6909
|
-
},
|
|
6903
|
+
}, gn = async (c, A, e) => {
|
|
6910
6904
|
const t = [], n = (() => {
|
|
6911
6905
|
var r, g;
|
|
6912
6906
|
return A.type === f.ProductOverlay ? e || ((r = A.data.asset) == null ? void 0 : r.fileLink) || "" : ((g = A.data.asset) == null ? void 0 : g.fileLink) || "";
|
|
@@ -6973,7 +6967,7 @@ const an = [
|
|
|
6973
6967
|
});
|
|
6974
6968
|
}
|
|
6975
6969
|
return t;
|
|
6976
|
-
},
|
|
6970
|
+
}, ln = async (c, A, e, t) => {
|
|
6977
6971
|
const a = [], n = e.data, s = 30, i = (E) => E.vertical ? "center" : E.textAlign || "center", o = () => {
|
|
6978
6972
|
var I;
|
|
6979
6973
|
const E = t.option;
|
|
@@ -7062,7 +7056,7 @@ const an = [
|
|
|
7062
7056
|
a.push(new b(h, Q));
|
|
7063
7057
|
}
|
|
7064
7058
|
return a;
|
|
7065
|
-
},
|
|
7059
|
+
}, Bn = (c, A) => c.conditions ? c.conditions.every((e) => {
|
|
7066
7060
|
const t = A[e.targetStepName];
|
|
7067
7061
|
if (t && t.selectedVariants) {
|
|
7068
7062
|
const a = t.selectedVariants;
|
|
@@ -7071,7 +7065,7 @@ const an = [
|
|
|
7071
7065
|
);
|
|
7072
7066
|
}
|
|
7073
7067
|
return !1;
|
|
7074
|
-
}) : !0,
|
|
7068
|
+
}) : !0, wn = async (c, A, e, t) => {
|
|
7075
7069
|
const a = [], n = {};
|
|
7076
7070
|
for (const s of c) {
|
|
7077
7071
|
const i = A.steps.find((o) => o.stepName === s.name);
|
|
@@ -7079,18 +7073,18 @@ const an = [
|
|
|
7079
7073
|
switch (i.type) {
|
|
7080
7074
|
case f.DigitalContent:
|
|
7081
7075
|
a.push(
|
|
7082
|
-
...await
|
|
7076
|
+
...await an(e, s, i)
|
|
7083
7077
|
);
|
|
7084
7078
|
break;
|
|
7085
7079
|
case f.Frame:
|
|
7086
7080
|
case f.Photo:
|
|
7087
7081
|
a.push(
|
|
7088
|
-
...await
|
|
7082
|
+
...await nn(e, n, s, i)
|
|
7089
7083
|
);
|
|
7090
7084
|
break;
|
|
7091
7085
|
case f.Illustration:
|
|
7092
7086
|
a.push(
|
|
7093
|
-
...await
|
|
7087
|
+
...await sn(
|
|
7094
7088
|
e,
|
|
7095
7089
|
n,
|
|
7096
7090
|
s,
|
|
@@ -7099,28 +7093,28 @@ const an = [
|
|
|
7099
7093
|
);
|
|
7100
7094
|
break;
|
|
7101
7095
|
case f.Module:
|
|
7102
|
-
a.push(...await
|
|
7096
|
+
a.push(...await on(e, s, i));
|
|
7103
7097
|
break;
|
|
7104
7098
|
case f.Picture:
|
|
7105
7099
|
a.push(
|
|
7106
|
-
...await
|
|
7100
|
+
...await rn(e, n, s, i)
|
|
7107
7101
|
);
|
|
7108
7102
|
break;
|
|
7109
7103
|
case f.Shape:
|
|
7110
7104
|
a.push(
|
|
7111
|
-
...await
|
|
7105
|
+
...await cn(e, n, s, i)
|
|
7112
7106
|
);
|
|
7113
7107
|
break;
|
|
7114
7108
|
case f.Text:
|
|
7115
7109
|
a.push(
|
|
7116
|
-
...await
|
|
7110
|
+
...await ln(e, n, s, i)
|
|
7117
7111
|
);
|
|
7118
7112
|
break;
|
|
7119
7113
|
}
|
|
7120
7114
|
}
|
|
7121
7115
|
for (const s of A.steps)
|
|
7122
|
-
s.type !== f.SilentIllustration && s.type !== f.ProductOverlay ||
|
|
7123
|
-
...await
|
|
7116
|
+
s.type !== f.SilentIllustration && s.type !== f.ProductOverlay || Bn(s, n) && a.push(
|
|
7117
|
+
...await gn(e, s, t)
|
|
7124
7118
|
);
|
|
7125
7119
|
return a;
|
|
7126
7120
|
};
|
|
@@ -7128,7 +7122,7 @@ class EA {
|
|
|
7128
7122
|
constructor(A) {
|
|
7129
7123
|
this.handleCompleteRender = null;
|
|
7130
7124
|
const e = /* @__PURE__ */ new Map();
|
|
7131
|
-
A.forEach((t) => e.set(t.id, new
|
|
7125
|
+
A.forEach((t) => e.set(t.id, new En(t.id, t.name, this))), this.layouts = e;
|
|
7132
7126
|
}
|
|
7133
7127
|
setCompleteRenderCallback(A) {
|
|
7134
7128
|
this.handleCompleteRender = A, A(Array.from(this.layouts.values()));
|
|
@@ -7141,8 +7135,8 @@ class EA {
|
|
|
7141
7135
|
}
|
|
7142
7136
|
}
|
|
7143
7137
|
let hA;
|
|
7144
|
-
const
|
|
7145
|
-
class
|
|
7138
|
+
const dn = () => (hA !== void 0 || (hA = !!fA().getContext("webgl2")), hA);
|
|
7139
|
+
class En {
|
|
7146
7140
|
constructor(A, e, t) {
|
|
7147
7141
|
this.hasSetStaticContext = !1, this.interactiveDirty = !1, this.staticCtxDirty = !1, this.lastRequestedRenderArguments = void 0, this.lastCompletedStaticRender = void 0, this.lastModificationID = void 0, this.renderQueue = new ze(2), this.id = A, this.name = e, this.service = t;
|
|
7148
7142
|
}
|
|
@@ -7205,10 +7199,10 @@ class hn {
|
|
|
7205
7199
|
return;
|
|
7206
7200
|
}
|
|
7207
7201
|
this.renderQueue.enqueue(
|
|
7208
|
-
new
|
|
7202
|
+
new hn(
|
|
7209
7203
|
this.getID(),
|
|
7210
7204
|
n,
|
|
7211
|
-
|
|
7205
|
+
dn(),
|
|
7212
7206
|
() => {
|
|
7213
7207
|
this.markLastCompletedStaticRender(), this.setStaticContextDirty(!0);
|
|
7214
7208
|
},
|
|
@@ -7219,7 +7213,7 @@ class hn {
|
|
|
7219
7213
|
);
|
|
7220
7214
|
}
|
|
7221
7215
|
}
|
|
7222
|
-
class
|
|
7216
|
+
class hn extends Te {
|
|
7223
7217
|
constructor(A, e, t, a, n, s, i) {
|
|
7224
7218
|
super(), this.layoutId = A, this.ctx = e, this.nonPOTSupport = t, this.onRender = a, this.workflow = n, this.layouts = s, this.productOverlayImageUrl = i;
|
|
7225
7219
|
}
|
|
@@ -7285,7 +7279,7 @@ class Cn extends Te {
|
|
|
7285
7279
|
B.resize(i, o), await B.render(), this.onRender();
|
|
7286
7280
|
}
|
|
7287
7281
|
}
|
|
7288
|
-
const
|
|
7282
|
+
const fs = (c, A) => {
|
|
7289
7283
|
const e = [];
|
|
7290
7284
|
return c.forEach((t) => {
|
|
7291
7285
|
const a = A.steps.find((n) => n.stepName === t.stepName);
|
|
@@ -7296,15 +7290,15 @@ const Fs = (c, A) => {
|
|
|
7296
7290
|
}
|
|
7297
7291
|
});
|
|
7298
7292
|
}), e;
|
|
7299
|
-
},
|
|
7293
|
+
}, Fs = async (c, A, e, t) => {
|
|
7300
7294
|
let a = {
|
|
7301
7295
|
serializableWorkflow: { steps: [] },
|
|
7302
7296
|
layouts: {}
|
|
7303
7297
|
};
|
|
7304
7298
|
a = new G(e.map((o) => new yt(o))).apply(a);
|
|
7305
|
-
const s = await
|
|
7299
|
+
const s = await wn(c, A, e, t);
|
|
7306
7300
|
return new G(s).apply(a);
|
|
7307
|
-
},
|
|
7301
|
+
}, Cn = y`
|
|
7308
7302
|
fragment ProductFields on Product {
|
|
7309
7303
|
id
|
|
7310
7304
|
basePrice
|
|
@@ -7339,8 +7333,8 @@ const Fs = (c, A) => {
|
|
|
7339
7333
|
name
|
|
7340
7334
|
}
|
|
7341
7335
|
}
|
|
7342
|
-
`,
|
|
7343
|
-
${
|
|
7336
|
+
`, Qn = y`
|
|
7337
|
+
${Cn}
|
|
7344
7338
|
fragment ProductCollectionProductFields on ProductCollectionProduct {
|
|
7345
7339
|
id
|
|
7346
7340
|
productId
|
|
@@ -7350,7 +7344,7 @@ const Fs = (c, A) => {
|
|
|
7350
7344
|
}
|
|
7351
7345
|
}
|
|
7352
7346
|
`, st = y`
|
|
7353
|
-
${
|
|
7347
|
+
${Qn}
|
|
7354
7348
|
fragment ProductCollectionFields on ProductCollection {
|
|
7355
7349
|
id
|
|
7356
7350
|
name
|
|
@@ -7396,7 +7390,7 @@ const Fs = (c, A) => {
|
|
|
7396
7390
|
}
|
|
7397
7391
|
}
|
|
7398
7392
|
}
|
|
7399
|
-
`,
|
|
7393
|
+
`, un = y`
|
|
7400
7394
|
${st}
|
|
7401
7395
|
query GetBundle($id: String!) {
|
|
7402
7396
|
bundles(ids: [$id]) {
|
|
@@ -7418,7 +7412,7 @@ const Fs = (c, A) => {
|
|
|
7418
7412
|
}
|
|
7419
7413
|
}
|
|
7420
7414
|
}
|
|
7421
|
-
`,
|
|
7415
|
+
`, mn = y`
|
|
7422
7416
|
query GetBundleStakeholders($id: String!) {
|
|
7423
7417
|
bundles(ids: [$id]) {
|
|
7424
7418
|
id
|
|
@@ -7438,7 +7432,7 @@ const Fs = (c, A) => {
|
|
|
7438
7432
|
}
|
|
7439
7433
|
}
|
|
7440
7434
|
}
|
|
7441
|
-
`,
|
|
7435
|
+
`, In = y`
|
|
7442
7436
|
query GetBundlesForCustomer($id: String!) {
|
|
7443
7437
|
customers(ids: [$id]) {
|
|
7444
7438
|
bundleStakeholders {
|
|
@@ -7459,7 +7453,7 @@ const Fs = (c, A) => {
|
|
|
7459
7453
|
}
|
|
7460
7454
|
}
|
|
7461
7455
|
}
|
|
7462
|
-
`,
|
|
7456
|
+
`, pn = y`
|
|
7463
7457
|
${st}
|
|
7464
7458
|
mutation CreateBundle($collectionId: String) {
|
|
7465
7459
|
bundleCreate(collectionId: $collectionId) {
|
|
@@ -7478,25 +7472,25 @@ const Fs = (c, A) => {
|
|
|
7478
7472
|
}
|
|
7479
7473
|
}
|
|
7480
7474
|
}
|
|
7481
|
-
`,
|
|
7475
|
+
`, Dn = y`
|
|
7482
7476
|
mutation UpdateBundle($id: String!, $name: String, $metadata: [MetadataInput!], $bundleStateData: String) {
|
|
7483
7477
|
bundleUpdate(id: $id, name: $name, metadata: $metadata, bundleStateData: $bundleStateData) {
|
|
7484
7478
|
id
|
|
7485
7479
|
}
|
|
7486
7480
|
}
|
|
7487
|
-
`,
|
|
7481
|
+
`, fn = y`
|
|
7488
7482
|
mutation BundleAddTransaction($id: String!, $transactionId: String!) {
|
|
7489
7483
|
bundleAddTransaction(id: $id, transactionId: $transactionId) {
|
|
7490
7484
|
id
|
|
7491
7485
|
}
|
|
7492
7486
|
}
|
|
7493
|
-
`,
|
|
7487
|
+
`, Fn = y`
|
|
7494
7488
|
mutation BundleAddTransactions($id: String!, $transactionIds: [String!]!, $transactionOwnerIds: [String!]) {
|
|
7495
7489
|
bundleAddTransactions(id: $id, transactionIds: $transactionIds, transactionOwnerIds: $transactionOwnerIds) {
|
|
7496
7490
|
id
|
|
7497
7491
|
}
|
|
7498
7492
|
}
|
|
7499
|
-
`,
|
|
7493
|
+
`, Mn = y`
|
|
7500
7494
|
mutation BundleRemoveTransaction(
|
|
7501
7495
|
$id: String!
|
|
7502
7496
|
$transactionId: String!
|
|
@@ -7511,7 +7505,7 @@ const Fs = (c, A) => {
|
|
|
7511
7505
|
id
|
|
7512
7506
|
}
|
|
7513
7507
|
}
|
|
7514
|
-
`,
|
|
7508
|
+
`, yn = y`
|
|
7515
7509
|
mutation BundleRemoveTransactions(
|
|
7516
7510
|
$id: String!
|
|
7517
7511
|
$transactionIds: [String!]!
|
|
@@ -7526,7 +7520,7 @@ const Fs = (c, A) => {
|
|
|
7526
7520
|
id
|
|
7527
7521
|
}
|
|
7528
7522
|
}
|
|
7529
|
-
`,
|
|
7523
|
+
`, Yn = y`
|
|
7530
7524
|
mutation BundleAddStakeholder($id: String!, $details: CustomerDetailsInput!, $type: String!) {
|
|
7531
7525
|
bundleAddStakeholder(id: $id, details: $details, type: $type) {
|
|
7532
7526
|
id
|
|
@@ -7546,7 +7540,7 @@ const Fs = (c, A) => {
|
|
|
7546
7540
|
}
|
|
7547
7541
|
}
|
|
7548
7542
|
}
|
|
7549
|
-
`,
|
|
7543
|
+
`, Sn = y`
|
|
7550
7544
|
mutation BundleUpdateStakeholders($id: String!, $input: [BundleStakeholderInput!]!) {
|
|
7551
7545
|
bundleUpdateStakeholders(id: $id, input: $input) {
|
|
7552
7546
|
id
|
|
@@ -7566,14 +7560,14 @@ const Fs = (c, A) => {
|
|
|
7566
7560
|
}
|
|
7567
7561
|
}
|
|
7568
7562
|
}
|
|
7569
|
-
`,
|
|
7563
|
+
`, xn = y`
|
|
7570
7564
|
mutation BundleUpdateTransactionOrder($id: String!, $transactionIds: [String!]!) {
|
|
7571
7565
|
bundleUpdateTransactionOrder(id: $id, transactionIds: $transactionIds) {
|
|
7572
7566
|
id
|
|
7573
7567
|
}
|
|
7574
7568
|
}
|
|
7575
7569
|
`;
|
|
7576
|
-
class
|
|
7570
|
+
class Nn {
|
|
7577
7571
|
constructor(A) {
|
|
7578
7572
|
this.handleCache = {}, this.bundle = A;
|
|
7579
7573
|
}
|
|
@@ -7617,13 +7611,13 @@ class Hn {
|
|
|
7617
7611
|
async createHandle(A) {
|
|
7618
7612
|
switch (A.type) {
|
|
7619
7613
|
case mA.FileUpload:
|
|
7620
|
-
return new
|
|
7614
|
+
return new Hn(this.bundle, A);
|
|
7621
7615
|
case mA.Option: {
|
|
7622
7616
|
const e = A.entityId ? await z.getOption(A.entityId) : void 0;
|
|
7623
|
-
return (e == null ? void 0 : e.type) === "Color" ? new
|
|
7617
|
+
return (e == null ? void 0 : e.type) === "Color" ? new Rn(this.bundle, A, e) : new it(this.bundle, A, e);
|
|
7624
7618
|
}
|
|
7625
7619
|
case mA.Text:
|
|
7626
|
-
return new
|
|
7620
|
+
return new Pn(this.bundle, A);
|
|
7627
7621
|
}
|
|
7628
7622
|
}
|
|
7629
7623
|
}
|
|
@@ -7679,7 +7673,7 @@ class oe {
|
|
|
7679
7673
|
);
|
|
7680
7674
|
}
|
|
7681
7675
|
}
|
|
7682
|
-
class
|
|
7676
|
+
class Hn extends oe {
|
|
7683
7677
|
constructor(A, e) {
|
|
7684
7678
|
super(A, e);
|
|
7685
7679
|
}
|
|
@@ -7706,7 +7700,7 @@ class Pn extends oe {
|
|
|
7706
7700
|
await Promise.all(a);
|
|
7707
7701
|
}
|
|
7708
7702
|
}
|
|
7709
|
-
class
|
|
7703
|
+
class Pn extends oe {
|
|
7710
7704
|
constructor(A, e) {
|
|
7711
7705
|
super(A, e);
|
|
7712
7706
|
}
|
|
@@ -7801,7 +7795,7 @@ class it extends oe {
|
|
|
7801
7795
|
await Promise.all(a);
|
|
7802
7796
|
}
|
|
7803
7797
|
}
|
|
7804
|
-
class
|
|
7798
|
+
class Rn extends it {
|
|
7805
7799
|
constructor(A, e, t) {
|
|
7806
7800
|
super(A, e, t);
|
|
7807
7801
|
}
|
|
@@ -7818,7 +7812,7 @@ class Un extends it {
|
|
|
7818
7812
|
return this.getSharedSteps()[0].getCustomColor();
|
|
7819
7813
|
}
|
|
7820
7814
|
}
|
|
7821
|
-
const
|
|
7815
|
+
const Un = y`
|
|
7822
7816
|
mutation CreateGlobalPropertyState($bundleId: String!) {
|
|
7823
7817
|
globalPropertyStateCreate(bundleId: $bundleId) {
|
|
7824
7818
|
id
|
|
@@ -7828,7 +7822,7 @@ const Gn = y`
|
|
|
7828
7822
|
}
|
|
7829
7823
|
}
|
|
7830
7824
|
}
|
|
7831
|
-
`,
|
|
7825
|
+
`, Gn = y`
|
|
7832
7826
|
mutation UpdateGlobalPropertyState($id: String!, $aspects: [GlobalPropertyStateAspectInput]!) {
|
|
7833
7827
|
globalPropertyStateUpdate(id: $id, aspects: $aspects) {
|
|
7834
7828
|
id
|
|
@@ -7838,7 +7832,7 @@ const Gn = y`
|
|
|
7838
7832
|
}
|
|
7839
7833
|
}
|
|
7840
7834
|
}
|
|
7841
|
-
`,
|
|
7835
|
+
`, vn = y`
|
|
7842
7836
|
query GetGlobalPropertyState($bundleId: String!) {
|
|
7843
7837
|
globalPropertyState(bundleId: $bundleId) {
|
|
7844
7838
|
id
|
|
@@ -7849,7 +7843,7 @@ const Gn = y`
|
|
|
7849
7843
|
}
|
|
7850
7844
|
}
|
|
7851
7845
|
`;
|
|
7852
|
-
class
|
|
7846
|
+
class kn {
|
|
7853
7847
|
constructor(A, e, t) {
|
|
7854
7848
|
this.bundleId = A, this.bundleOwnerId = e, this.initPromise = this.getOrCreateGlobalPropertyState().then((a) => {
|
|
7855
7849
|
this.globalPropertyState = a;
|
|
@@ -7879,7 +7873,7 @@ class Jn {
|
|
|
7879
7873
|
if (!this.globalPropertyState)
|
|
7880
7874
|
throw new Error("Global property state not initialized");
|
|
7881
7875
|
const A = await N.getShadowGraphqlClient().mutate({
|
|
7882
|
-
mutation:
|
|
7876
|
+
mutation: Gn,
|
|
7883
7877
|
variables: {
|
|
7884
7878
|
id: this.globalPropertyState.id,
|
|
7885
7879
|
aspects: this.globalPropertyState.aspects
|
|
@@ -7896,7 +7890,7 @@ class Jn {
|
|
|
7896
7890
|
async getOrCreateGlobalPropertyState() {
|
|
7897
7891
|
var t;
|
|
7898
7892
|
const A = await N.getShadowGraphqlClient().query({
|
|
7899
|
-
query:
|
|
7893
|
+
query: vn,
|
|
7900
7894
|
errorPolicy: "all",
|
|
7901
7895
|
fetchPolicy: "no-cache",
|
|
7902
7896
|
variables: {
|
|
@@ -7909,7 +7903,7 @@ class Jn {
|
|
|
7909
7903
|
if (A.data.globalPropertyState && A.data.globalPropertyState.id)
|
|
7910
7904
|
return A.data.globalPropertyState;
|
|
7911
7905
|
const e = await N.getShadowGraphqlClient().mutate({
|
|
7912
|
-
mutation:
|
|
7906
|
+
mutation: Un,
|
|
7913
7907
|
variables: {
|
|
7914
7908
|
bundleId: this.bundleId
|
|
7915
7909
|
},
|
|
@@ -7922,7 +7916,7 @@ class Jn {
|
|
|
7922
7916
|
throw new Error(`Unable to create global property state for bundle: ${this.bundleId}`);
|
|
7923
7917
|
}
|
|
7924
7918
|
}
|
|
7925
|
-
class
|
|
7919
|
+
class Jn {
|
|
7926
7920
|
constructor(A) {
|
|
7927
7921
|
this.setState(A);
|
|
7928
7922
|
}
|
|
@@ -7993,7 +7987,7 @@ class bn {
|
|
|
7993
7987
|
};
|
|
7994
7988
|
}
|
|
7995
7989
|
}
|
|
7996
|
-
class
|
|
7990
|
+
class bn {
|
|
7997
7991
|
constructor(A) {
|
|
7998
7992
|
this.collection = A;
|
|
7999
7993
|
}
|
|
@@ -8013,11 +8007,11 @@ class Ln {
|
|
|
8013
8007
|
* A list of products in this collections with useful helpers for interacting with them.
|
|
8014
8008
|
*/
|
|
8015
8009
|
getProducts() {
|
|
8016
|
-
return this.collection.productCollectionProducts.map((A) => new
|
|
8010
|
+
return this.collection.productCollectionProducts.map((A) => new Ln(A));
|
|
8017
8011
|
}
|
|
8018
8012
|
getTransformCollection() {
|
|
8019
8013
|
if (this.collection.transformCollection)
|
|
8020
|
-
return new
|
|
8014
|
+
return new On(this.collection.transformCollection);
|
|
8021
8015
|
}
|
|
8022
8016
|
/**
|
|
8023
8017
|
* The raw collection resource. This is generally not needed and should be avoided.
|
|
@@ -8026,7 +8020,7 @@ class Ln {
|
|
|
8026
8020
|
return this.collection;
|
|
8027
8021
|
}
|
|
8028
8022
|
}
|
|
8029
|
-
class
|
|
8023
|
+
class Ln {
|
|
8030
8024
|
constructor(A) {
|
|
8031
8025
|
this.product = A.product, this.productResource = A;
|
|
8032
8026
|
}
|
|
@@ -8116,7 +8110,7 @@ class me {
|
|
|
8116
8110
|
return this.workflow.imageUrl;
|
|
8117
8111
|
}
|
|
8118
8112
|
}
|
|
8119
|
-
class
|
|
8113
|
+
class On {
|
|
8120
8114
|
constructor(A) {
|
|
8121
8115
|
this.collection = A;
|
|
8122
8116
|
}
|
|
@@ -8136,10 +8130,10 @@ class Tn {
|
|
|
8136
8130
|
* @returns The transforms in this collection.
|
|
8137
8131
|
*/
|
|
8138
8132
|
getTransforms() {
|
|
8139
|
-
return this.collection.transforms.map((A) => new
|
|
8133
|
+
return this.collection.transforms.map((A) => new Tn(A));
|
|
8140
8134
|
}
|
|
8141
8135
|
}
|
|
8142
|
-
class
|
|
8136
|
+
class Tn {
|
|
8143
8137
|
constructor(A) {
|
|
8144
8138
|
this.transform = A;
|
|
8145
8139
|
}
|
|
@@ -8169,11 +8163,11 @@ class zn {
|
|
|
8169
8163
|
class Ie {
|
|
8170
8164
|
constructor(A, e, t, a, n) {
|
|
8171
8165
|
var s, i, o;
|
|
8172
|
-
this.eventListeners = /* @__PURE__ */ new Map(), this.workflowExperiences = [], this.client = A, this.id = e.id, this.name = e.name || "", this.ownerId = n, this.metadata = new Map(((s = e.metadata) == null ? void 0 : s.map((r) => [r.key, r.value])) || []), this.productCollection = e.productCollection, this.bundleStateManager = new
|
|
8166
|
+
this.eventListeners = /* @__PURE__ */ new Map(), this.workflowExperiences = [], this.client = A, this.id = e.id, this.name = e.name || "", this.ownerId = n, this.metadata = new Map(((s = e.metadata) == null ? void 0 : s.map((r) => [r.key, r.value])) || []), this.productCollection = e.productCollection, this.bundleStateManager = new Jn(e.bundleStateData), this.globalConfiguration = (i = this.productCollection) == null ? void 0 : i.globalPropertyConfiguration, this.globalPropertyStateManager = new kn(
|
|
8173
8167
|
this.id,
|
|
8174
8168
|
this.ownerId,
|
|
8175
8169
|
this.checkConditionalHandlesChanged.bind(this)
|
|
8176
|
-
), this.globalPropertyHandleService = new
|
|
8170
|
+
), this.globalPropertyHandleService = new Nn(this), this.setPreviewService(t), this.initializationPromise = this.loadExistingBundles(
|
|
8177
8171
|
((o = e.transactions) == null ? void 0 : o.map((r) => r.id)) || [],
|
|
8178
8172
|
a
|
|
8179
8173
|
);
|
|
@@ -8231,7 +8225,7 @@ class Ie {
|
|
|
8231
8225
|
return this.workflowExperiences.map((A) => A.getTotalPriceSubunits()).reduce((A, e) => A + e, 0);
|
|
8232
8226
|
}
|
|
8233
8227
|
getProductCollection() {
|
|
8234
|
-
return this.productCollection ? new
|
|
8228
|
+
return this.productCollection ? new bn(this.productCollection) : void 0;
|
|
8235
8229
|
}
|
|
8236
8230
|
async addWorkflowExperience(A) {
|
|
8237
8231
|
await this.appendWorkflowExperience(A), await this.injectExperienceIntoPreviewService(A);
|
|
@@ -8248,7 +8242,7 @@ class Ie {
|
|
|
8248
8242
|
);
|
|
8249
8243
|
const a = x.getMap("transactionOwnerIds") || /* @__PURE__ */ new Map(), n = e.map((s) => a.get(s));
|
|
8250
8244
|
await N.getShadowGraphqlClient().mutate({
|
|
8251
|
-
mutation:
|
|
8245
|
+
mutation: Fn,
|
|
8252
8246
|
variables: {
|
|
8253
8247
|
id: this.id,
|
|
8254
8248
|
transactionIds: e,
|
|
@@ -8277,7 +8271,7 @@ class Ie {
|
|
|
8277
8271
|
throw new Error("Unable to add transaction to bundle - Already Exists!");
|
|
8278
8272
|
const s = (x.getMap("transactionOwnerIds") || /* @__PURE__ */ new Map()).get(t);
|
|
8279
8273
|
await N.getShadowGraphqlClient().mutate({
|
|
8280
|
-
mutation:
|
|
8274
|
+
mutation: fn,
|
|
8281
8275
|
variables: {
|
|
8282
8276
|
id: this.id,
|
|
8283
8277
|
transactionId: t
|
|
@@ -8310,7 +8304,7 @@ class Ie {
|
|
|
8310
8304
|
(n) => n.getWorkflowManager().getTransaction().id === e.id
|
|
8311
8305
|
);
|
|
8312
8306
|
this.previewService && a.getWorkflowManager().ejectFromPreviewService(), this.bundleStateManager.removeStateForTransaction(e.id), await N.getShadowGraphqlClient().mutate({
|
|
8313
|
-
mutation:
|
|
8307
|
+
mutation: Mn,
|
|
8314
8308
|
variables: {
|
|
8315
8309
|
id: this.id,
|
|
8316
8310
|
transactionId: e.id,
|
|
@@ -8340,7 +8334,7 @@ class Ie {
|
|
|
8340
8334
|
)[0]
|
|
8341
8335
|
);
|
|
8342
8336
|
this.previewService && t.forEach((a) => a.getWorkflowManager().ejectFromPreviewService()), A.forEach((a) => this.bundleStateManager.removeStateForTransaction(a.id)), await N.getShadowGraphqlClient().mutate({
|
|
8343
|
-
mutation:
|
|
8337
|
+
mutation: yn,
|
|
8344
8338
|
variables: {
|
|
8345
8339
|
id: this.id,
|
|
8346
8340
|
transactionIds: A.map((a) => a.id),
|
|
@@ -8401,7 +8395,7 @@ class Ie {
|
|
|
8401
8395
|
async addStakeholder(A, e) {
|
|
8402
8396
|
var n;
|
|
8403
8397
|
const t = await N.getShadowGraphqlClient().mutate({
|
|
8404
|
-
mutation:
|
|
8398
|
+
mutation: Yn,
|
|
8405
8399
|
variables: {
|
|
8406
8400
|
id: this.id,
|
|
8407
8401
|
details: A,
|
|
@@ -8419,7 +8413,7 @@ class Ie {
|
|
|
8419
8413
|
async updateStakeholders(A) {
|
|
8420
8414
|
var a;
|
|
8421
8415
|
const e = await N.getShadowGraphqlClient().mutate({
|
|
8422
|
-
mutation:
|
|
8416
|
+
mutation: Sn,
|
|
8423
8417
|
variables: {
|
|
8424
8418
|
id: this.id,
|
|
8425
8419
|
input: A
|
|
@@ -8435,7 +8429,7 @@ class Ie {
|
|
|
8435
8429
|
}
|
|
8436
8430
|
async getAllStakeholders() {
|
|
8437
8431
|
const A = await N.getShadowGraphqlClient().query({
|
|
8438
|
-
query:
|
|
8432
|
+
query: mn,
|
|
8439
8433
|
errorPolicy: "all",
|
|
8440
8434
|
variables: {
|
|
8441
8435
|
id: this.id
|
|
@@ -8455,7 +8449,7 @@ class Ie {
|
|
|
8455
8449
|
});
|
|
8456
8450
|
}
|
|
8457
8451
|
async finish(A) {
|
|
8458
|
-
return await
|
|
8452
|
+
return await _a(
|
|
8459
8453
|
this.workflowExperiences.map((e) => ({
|
|
8460
8454
|
workflowManager: e.getWorkflowManager(),
|
|
8461
8455
|
workflow: e.getWorkflowManager().getWorkflow(),
|
|
@@ -8524,7 +8518,7 @@ class Ie {
|
|
|
8524
8518
|
async updateBundle() {
|
|
8525
8519
|
var e;
|
|
8526
8520
|
if (!((e = (await N.getShadowGraphqlClient().mutate({
|
|
8527
|
-
mutation:
|
|
8521
|
+
mutation: Dn,
|
|
8528
8522
|
variables: {
|
|
8529
8523
|
id: this.id,
|
|
8530
8524
|
name: this.name,
|
|
@@ -8539,7 +8533,7 @@ class Ie {
|
|
|
8539
8533
|
}
|
|
8540
8534
|
async updateTransactionOrder() {
|
|
8541
8535
|
await N.getShadowGraphqlClient().mutate({
|
|
8542
|
-
mutation:
|
|
8536
|
+
mutation: xn,
|
|
8543
8537
|
variables: {
|
|
8544
8538
|
id: this.id,
|
|
8545
8539
|
transactionIds: this.workflowExperiences.map((A) => A.getWorkflowManager().getTransaction().id)
|
|
@@ -8572,14 +8566,14 @@ class Ie {
|
|
|
8572
8566
|
);
|
|
8573
8567
|
}
|
|
8574
8568
|
}
|
|
8575
|
-
const
|
|
8569
|
+
const zn = y`
|
|
8576
8570
|
mutation processFlowCreate($processFlowId: String!, $inputs: [String]!) {
|
|
8577
8571
|
processExecutionCreate(processFlowId: $processFlowId, inputs: $inputs) {
|
|
8578
8572
|
id
|
|
8579
8573
|
}
|
|
8580
8574
|
}
|
|
8581
8575
|
`;
|
|
8582
|
-
class
|
|
8576
|
+
class Kn {
|
|
8583
8577
|
/**
|
|
8584
8578
|
*
|
|
8585
8579
|
* @param id
|
|
@@ -8590,7 +8584,7 @@ class jn {
|
|
|
8590
8584
|
async execute(A, e, t) {
|
|
8591
8585
|
var B, l, w;
|
|
8592
8586
|
const n = (l = (B = (await N.getShadowGraphqlClient().mutate({
|
|
8593
|
-
mutation:
|
|
8587
|
+
mutation: zn,
|
|
8594
8588
|
variables: {
|
|
8595
8589
|
processFlowId: A,
|
|
8596
8590
|
inputs: [...e.map((d) => d.getValueForTransmission())]
|
|
@@ -8632,7 +8626,7 @@ class jn {
|
|
|
8632
8626
|
"Execution has failed to complete. See Automation > FLows in Flight on partner account on SpiffCommerce Hub."
|
|
8633
8627
|
);
|
|
8634
8628
|
if (d.completedAt) {
|
|
8635
|
-
i = !0, g = new
|
|
8629
|
+
i = !0, g = new jn(d);
|
|
8636
8630
|
break;
|
|
8637
8631
|
}
|
|
8638
8632
|
o += 1;
|
|
@@ -8646,7 +8640,7 @@ class jn {
|
|
|
8646
8640
|
return Promise.resolve(g);
|
|
8647
8641
|
}
|
|
8648
8642
|
}
|
|
8649
|
-
class
|
|
8643
|
+
class jn {
|
|
8650
8644
|
constructor(A) {
|
|
8651
8645
|
this.execution = A;
|
|
8652
8646
|
}
|
|
@@ -8719,7 +8713,7 @@ class CA {
|
|
|
8719
8713
|
return this.getArtifacts().get(A);
|
|
8720
8714
|
}
|
|
8721
8715
|
}
|
|
8722
|
-
class
|
|
8716
|
+
class Vn {
|
|
8723
8717
|
constructor(A) {
|
|
8724
8718
|
this.value = A;
|
|
8725
8719
|
}
|
|
@@ -8731,8 +8725,8 @@ class Wn {
|
|
|
8731
8725
|
return A.startsWith("[") ? JSON.stringify(JSON.parse(A)) : A;
|
|
8732
8726
|
}
|
|
8733
8727
|
}
|
|
8734
|
-
var
|
|
8735
|
-
class ot extends
|
|
8728
|
+
var Wn = /* @__PURE__ */ ((c) => (c.Transaction = "Transaction", c.Bundle = "Bundle", c.Product = "Product", c.Variant = "Variant", c.Option = "Option", c.LineItem = "LineItem", c.Asset = "Asset", c))(Wn || {});
|
|
8729
|
+
class ot extends Vn {
|
|
8736
8730
|
constructor(A, e) {
|
|
8737
8731
|
if (e !== "Asset" && !ot.validUUID(A))
|
|
8738
8732
|
throw new Error("Invalid ID, must be a valid v4 UUID. https://www.uuidgenerator.net/");
|
|
@@ -8742,7 +8736,7 @@ class ot extends Wn {
|
|
|
8742
8736
|
return A.match(/^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i);
|
|
8743
8737
|
}
|
|
8744
8738
|
}
|
|
8745
|
-
const
|
|
8739
|
+
const Xn = y`
|
|
8746
8740
|
fragment RegionFields on Region {
|
|
8747
8741
|
width
|
|
8748
8742
|
top
|
|
@@ -8760,7 +8754,7 @@ const qn = y`
|
|
|
8760
8754
|
height
|
|
8761
8755
|
}
|
|
8762
8756
|
}
|
|
8763
|
-
`,
|
|
8757
|
+
`, qn = y`
|
|
8764
8758
|
fragment LookAtAnimationFields on LookAtAnimation {
|
|
8765
8759
|
latDeg
|
|
8766
8760
|
lonDeg
|
|
@@ -8771,7 +8765,7 @@ const qn = y`
|
|
|
8771
8765
|
z
|
|
8772
8766
|
}
|
|
8773
8767
|
}
|
|
8774
|
-
`,
|
|
8768
|
+
`, Zn = y`
|
|
8775
8769
|
fragment RenderingPipelineConfigurationFields on RenderingPipelineConfiguration {
|
|
8776
8770
|
antiAliasing {
|
|
8777
8771
|
samples
|
|
@@ -8855,21 +8849,21 @@ const qn = y`
|
|
|
8855
8849
|
weight
|
|
8856
8850
|
}
|
|
8857
8851
|
}
|
|
8858
|
-
`,
|
|
8852
|
+
`, $n = y`
|
|
8859
8853
|
fragment ModelAnimationFields on ModelAnimation {
|
|
8860
8854
|
from
|
|
8861
8855
|
to
|
|
8862
8856
|
loop
|
|
8863
8857
|
name
|
|
8864
8858
|
}
|
|
8865
|
-
`,
|
|
8859
|
+
`, _n = (c) => y`
|
|
8866
8860
|
${GA(c)}
|
|
8867
8861
|
${te}
|
|
8868
8862
|
${Le}
|
|
8863
|
+
${Xn}
|
|
8869
8864
|
${qn}
|
|
8870
8865
|
${Zn}
|
|
8871
8866
|
${$n}
|
|
8872
|
-
${_n}
|
|
8873
8867
|
query GetWorkflows($ids: [String!]!) {
|
|
8874
8868
|
workflows(ids: $ids) {
|
|
8875
8869
|
allowProofDownload
|
|
@@ -9246,7 +9240,7 @@ const qn = y`
|
|
|
9246
9240
|
}
|
|
9247
9241
|
}
|
|
9248
9242
|
}
|
|
9249
|
-
`,
|
|
9243
|
+
`, As = y`
|
|
9250
9244
|
query GetTransactionForPartner($id: String!) {
|
|
9251
9245
|
transactions(ids: [$id]) {
|
|
9252
9246
|
id
|
|
@@ -9263,7 +9257,7 @@ const qn = y`
|
|
|
9263
9257
|
}
|
|
9264
9258
|
}
|
|
9265
9259
|
}
|
|
9266
|
-
`,
|
|
9260
|
+
`, es = y`
|
|
9267
9261
|
${GA(!1)}
|
|
9268
9262
|
query GetWorkflowForTheme($id: String!) {
|
|
9269
9263
|
workflow(id: $id) {
|
|
@@ -9285,7 +9279,7 @@ const qn = y`
|
|
|
9285
9279
|
}
|
|
9286
9280
|
}
|
|
9287
9281
|
}
|
|
9288
|
-
`,
|
|
9282
|
+
`, ts = y`
|
|
9289
9283
|
query GetCustomer($emailAddress: String!) {
|
|
9290
9284
|
customer(emailAddress: $emailAddress) {
|
|
9291
9285
|
id
|
|
@@ -9295,7 +9289,7 @@ const qn = y`
|
|
|
9295
9289
|
}
|
|
9296
9290
|
}
|
|
9297
9291
|
}
|
|
9298
|
-
`,
|
|
9292
|
+
`, as = y`
|
|
9299
9293
|
mutation CustomerCreate($details: CustomerDetailsInput!) {
|
|
9300
9294
|
customerCreate(details: $details) {
|
|
9301
9295
|
id
|
|
@@ -9305,7 +9299,7 @@ const qn = y`
|
|
|
9305
9299
|
}
|
|
9306
9300
|
}
|
|
9307
9301
|
}
|
|
9308
|
-
`,
|
|
9302
|
+
`, ns = y`
|
|
9309
9303
|
mutation CustomerAuthenticate($loginToken: String!) {
|
|
9310
9304
|
customerAuthenticate(loginToken: $loginToken) {
|
|
9311
9305
|
id
|
|
@@ -9332,11 +9326,11 @@ const qn = y`
|
|
|
9332
9326
|
}
|
|
9333
9327
|
}
|
|
9334
9328
|
}
|
|
9335
|
-
`,
|
|
9329
|
+
`, ss = y`
|
|
9336
9330
|
mutation CustomerGenerateVerificationCode($emailAddress: String!) {
|
|
9337
9331
|
customerGenerateVerificationCode(emailAddress: $emailAddress)
|
|
9338
9332
|
}
|
|
9339
|
-
`,
|
|
9333
|
+
`, is = y`
|
|
9340
9334
|
mutation CustomerVerifyCode($emailAddress: String!, $verificationCode: String!) {
|
|
9341
9335
|
customerVerifyCode(emailAddress: $emailAddress, verificationCode: $verificationCode) {
|
|
9342
9336
|
id
|
|
@@ -9380,10 +9374,10 @@ const qn = y`
|
|
|
9380
9374
|
(A = s.fontData) != null && A.assetUrl && await _A(s.fontData.assetUrl);
|
|
9381
9375
|
}
|
|
9382
9376
|
}
|
|
9383
|
-
},
|
|
9377
|
+
}, os = async (c, A) => {
|
|
9384
9378
|
var a;
|
|
9385
9379
|
const e = await N.getShadowGraphqlClient().query({
|
|
9386
|
-
query:
|
|
9380
|
+
query: _n(((a = A == null ? void 0 : A.assets) == null ? void 0 : a.metadata) || !1),
|
|
9387
9381
|
errorPolicy: "all",
|
|
9388
9382
|
fetchPolicy: "no-cache",
|
|
9389
9383
|
variables: {
|
|
@@ -9400,7 +9394,7 @@ const qn = y`
|
|
|
9400
9394
|
}), rA.set({ id: s.option.id }, Promise.resolve(s.option)));
|
|
9401
9395
|
});
|
|
9402
9396
|
}), t;
|
|
9403
|
-
},
|
|
9397
|
+
}, rs = async (c, A) => {
|
|
9404
9398
|
const t = (await A).find((a) => a.id === c);
|
|
9405
9399
|
if (!t)
|
|
9406
9400
|
throw new Error(`Workflow not found: ${c}`);
|
|
@@ -9409,11 +9403,11 @@ const qn = y`
|
|
|
9409
9403
|
const e = c.map((i) => rA.get({ id: i, options: A })), t = c.filter((i, o) => e[o] === void 0);
|
|
9410
9404
|
if (t.length === 0)
|
|
9411
9405
|
return Promise.all(e);
|
|
9412
|
-
const a =
|
|
9413
|
-
(i) => rA.set({ id: i, options: A },
|
|
9406
|
+
const a = os(t, A), n = t.map(
|
|
9407
|
+
(i) => rA.set({ id: i, options: A }, rs(i, a))
|
|
9414
9408
|
), s = e.filter((i) => i !== void 0);
|
|
9415
9409
|
return await Promise.all(s.concat(n));
|
|
9416
|
-
}, QA = async (c, A) => (await rt([c], A))[0],
|
|
9410
|
+
}, QA = async (c, A) => (await rt([c], A))[0], cs = (c) => c.sort((A, e) => A.index - e.index).map((A) => ({
|
|
9417
9411
|
id: k(),
|
|
9418
9412
|
panelId: A.name,
|
|
9419
9413
|
name: A.name,
|
|
@@ -9428,9 +9422,9 @@ const qn = y`
|
|
|
9428
9422
|
editableArea: A.editableArea
|
|
9429
9423
|
})), OA = (c, A) => {
|
|
9430
9424
|
const e = c.workflowState, t = e ? JSON.parse(e) : void 0;
|
|
9431
|
-
return t ? Object.values(t.layouts).map((a) => a.layout) :
|
|
9425
|
+
return t ? Object.values(t.layouts).map((a) => a.layout) : cs(A.panels);
|
|
9432
9426
|
};
|
|
9433
|
-
class
|
|
9427
|
+
class gs {
|
|
9434
9428
|
constructor(A) {
|
|
9435
9429
|
this.updateTransactionState = async (e) => {
|
|
9436
9430
|
try {
|
|
@@ -9458,7 +9452,7 @@ class ls {
|
|
|
9458
9452
|
getFlowService() {
|
|
9459
9453
|
if (!this.options.applicationKey)
|
|
9460
9454
|
throw new Error("Application key required to use Flow Service.");
|
|
9461
|
-
return new
|
|
9455
|
+
return new Kn();
|
|
9462
9456
|
}
|
|
9463
9457
|
// TODO: Authentication functions should probably be moved to a separate class.
|
|
9464
9458
|
/**
|
|
@@ -9503,7 +9497,7 @@ class ls {
|
|
|
9503
9497
|
async authenticateTransactionFromLocalStorage(A) {
|
|
9504
9498
|
var g, B, l, w, d, C;
|
|
9505
9499
|
const e = N.getShadowGraphqlClient(), t = await e.query({
|
|
9506
|
-
query:
|
|
9500
|
+
query: As,
|
|
9507
9501
|
errorPolicy: "all",
|
|
9508
9502
|
fetchPolicy: "no-cache",
|
|
9509
9503
|
variables: {
|
|
@@ -9543,7 +9537,7 @@ class ls {
|
|
|
9543
9537
|
}
|
|
9544
9538
|
}
|
|
9545
9539
|
const r = (await e.query({
|
|
9546
|
-
query:
|
|
9540
|
+
query: es,
|
|
9547
9541
|
errorPolicy: "all",
|
|
9548
9542
|
variables: {
|
|
9549
9543
|
id: a.workflowId
|
|
@@ -9579,7 +9573,7 @@ class ls {
|
|
|
9579
9573
|
var s;
|
|
9580
9574
|
this.customer = void 0;
|
|
9581
9575
|
const e = N.getShadowGraphqlClient(), a = (await e.query({
|
|
9582
|
-
query:
|
|
9576
|
+
query: ts,
|
|
9583
9577
|
errorPolicy: "all",
|
|
9584
9578
|
fetchPolicy: "no-cache",
|
|
9585
9579
|
variables: {
|
|
@@ -9588,7 +9582,7 @@ class ls {
|
|
|
9588
9582
|
})).data.customer;
|
|
9589
9583
|
if (!a.id) {
|
|
9590
9584
|
const o = (s = (await e.mutate({
|
|
9591
|
-
mutation:
|
|
9585
|
+
mutation: as,
|
|
9592
9586
|
errorPolicy: "all",
|
|
9593
9587
|
fetchPolicy: "no-cache",
|
|
9594
9588
|
variables: {
|
|
@@ -9620,7 +9614,7 @@ class ls {
|
|
|
9620
9614
|
if (!a)
|
|
9621
9615
|
return !1;
|
|
9622
9616
|
const s = (i = (await e.mutate({
|
|
9623
|
-
mutation:
|
|
9617
|
+
mutation: ns,
|
|
9624
9618
|
errorPolicy: "all",
|
|
9625
9619
|
fetchPolicy: "no-cache",
|
|
9626
9620
|
variables: {
|
|
@@ -9635,7 +9629,7 @@ class ls {
|
|
|
9635
9629
|
*/
|
|
9636
9630
|
async generateVerificationCode(A) {
|
|
9637
9631
|
await N.getShadowGraphqlClient().mutate({
|
|
9638
|
-
mutation:
|
|
9632
|
+
mutation: ss,
|
|
9639
9633
|
variables: {
|
|
9640
9634
|
emailAddress: A
|
|
9641
9635
|
}
|
|
@@ -9650,7 +9644,7 @@ class ls {
|
|
|
9650
9644
|
async verifyCode(A, e) {
|
|
9651
9645
|
var n, s;
|
|
9652
9646
|
const a = (n = (await N.getShadowGraphqlClient().mutate({
|
|
9653
|
-
mutation:
|
|
9647
|
+
mutation: is,
|
|
9654
9648
|
errorPolicy: "all",
|
|
9655
9649
|
fetchPolicy: "no-cache",
|
|
9656
9650
|
variables: {
|
|
@@ -9676,7 +9670,7 @@ class ls {
|
|
|
9676
9670
|
async getNewBundle(A) {
|
|
9677
9671
|
var s;
|
|
9678
9672
|
const t = (s = (await N.getShadowGraphqlClient().mutate({
|
|
9679
|
-
mutation:
|
|
9673
|
+
mutation: pn,
|
|
9680
9674
|
variables: {
|
|
9681
9675
|
collectionId: A
|
|
9682
9676
|
},
|
|
@@ -9699,7 +9693,7 @@ class ls {
|
|
|
9699
9693
|
async getExistingBundle(A, e, t) {
|
|
9700
9694
|
var g, B, l, w;
|
|
9701
9695
|
const a = x.getMap("bundleOwnerIds"), n = a == null ? void 0 : a.get(A), s = await N.getShadowGraphqlClient().query({
|
|
9702
|
-
query:
|
|
9696
|
+
query: un,
|
|
9703
9697
|
variables: {
|
|
9704
9698
|
id: A
|
|
9705
9699
|
},
|
|
@@ -9724,7 +9718,7 @@ class ls {
|
|
|
9724
9718
|
if (!this.customer)
|
|
9725
9719
|
throw new Error("Customer not authenticated.");
|
|
9726
9720
|
const A = await N.getShadowGraphqlClient().query({
|
|
9727
|
-
query:
|
|
9721
|
+
query: In,
|
|
9728
9722
|
variables: {
|
|
9729
9723
|
id: this.customer.id
|
|
9730
9724
|
},
|
|
@@ -10136,7 +10130,7 @@ class ls {
|
|
|
10136
10130
|
e.set(A.partner.id, A.id), x.setMap("partnerCustomerIds", e);
|
|
10137
10131
|
}
|
|
10138
10132
|
}
|
|
10139
|
-
class
|
|
10133
|
+
class Ms {
|
|
10140
10134
|
getInitializationPromise() {
|
|
10141
10135
|
return Promise.resolve();
|
|
10142
10136
|
}
|
|
@@ -10259,8 +10253,8 @@ class ys {
|
|
|
10259
10253
|
ejectFromPreviewService() {
|
|
10260
10254
|
}
|
|
10261
10255
|
}
|
|
10262
|
-
var
|
|
10263
|
-
class
|
|
10256
|
+
var ls = /* @__PURE__ */ ((c) => (c.SelectFrame = "SelectFrame", c.SelectImage = "SelectImage", c.Position = "Position", c))(ls || {});
|
|
10257
|
+
class Bs extends j {
|
|
10264
10258
|
constructor(A, e) {
|
|
10265
10259
|
var t;
|
|
10266
10260
|
super(A, e), this.frameService = (t = this.manager.getStepSpecificServices(this.getId())) == null ? void 0 : t.frameService;
|
|
@@ -10302,111 +10296,111 @@ class ws extends j {
|
|
|
10302
10296
|
}
|
|
10303
10297
|
export {
|
|
10304
10298
|
$ as AssetNotFoundError,
|
|
10305
|
-
|
|
10306
|
-
|
|
10307
|
-
|
|
10308
|
-
|
|
10309
|
-
|
|
10310
|
-
|
|
10311
|
-
|
|
10299
|
+
Ss as AssetType,
|
|
10300
|
+
xs as BringForwardCommand,
|
|
10301
|
+
Ns as BringToBackCommand,
|
|
10302
|
+
Hs as BringToFrontCommand,
|
|
10303
|
+
Ps as CanvasCommand,
|
|
10304
|
+
Ln as CollectionProduct,
|
|
10305
|
+
Rs as CommandContext,
|
|
10312
10306
|
_t as ConversionDataType,
|
|
10313
10307
|
$t as ConversionLocation,
|
|
10314
|
-
|
|
10315
|
-
|
|
10316
|
-
|
|
10308
|
+
Us as CreateElementCommand,
|
|
10309
|
+
Gs as CreateLayoutCommand,
|
|
10310
|
+
vs as DeleteElementCommand,
|
|
10317
10311
|
CA as FlowExecutionNodeResult,
|
|
10318
|
-
|
|
10319
|
-
|
|
10320
|
-
|
|
10321
|
-
|
|
10322
|
-
|
|
10323
|
-
|
|
10312
|
+
jn as FlowExecutionResult,
|
|
10313
|
+
Kn as FlowService,
|
|
10314
|
+
ks as FontAlignmentCommand,
|
|
10315
|
+
Js as FontColorCommand,
|
|
10316
|
+
bs as FontSizeCommand,
|
|
10317
|
+
Ls as FontSourceCommand,
|
|
10324
10318
|
ca as FrameService,
|
|
10325
|
-
|
|
10326
|
-
|
|
10319
|
+
ls as FrameStep,
|
|
10320
|
+
Bs as FrameStepHandle,
|
|
10327
10321
|
oe as GlobalPropertyHandle,
|
|
10328
|
-
|
|
10322
|
+
Os as GroupCommand,
|
|
10329
10323
|
Ja as IllustrationStepHandle,
|
|
10330
10324
|
NA as InformationMessageType,
|
|
10331
10325
|
ja as InformationStepHandle,
|
|
10332
10326
|
qt as IntegrationType,
|
|
10333
|
-
|
|
10334
|
-
|
|
10327
|
+
Ts as LayoutElementFactory,
|
|
10328
|
+
zs as LayoutElementType,
|
|
10335
10329
|
O as LayoutNotFoundError,
|
|
10336
10330
|
ba as MaterialStepHandle,
|
|
10337
10331
|
MA as MisconfigurationError,
|
|
10338
|
-
|
|
10332
|
+
Ms as MockWorkflowManager,
|
|
10339
10333
|
La as ModelStepHandle,
|
|
10340
|
-
|
|
10334
|
+
Ks as MoveCommand,
|
|
10341
10335
|
ot as ObjectInput,
|
|
10342
|
-
|
|
10336
|
+
Wn as ObjectInputType,
|
|
10343
10337
|
FA as OptionNotFoundError,
|
|
10344
10338
|
sA as ParseError,
|
|
10345
10339
|
Oa as PictureStepHandle,
|
|
10346
10340
|
Zt as ProductCameraRig,
|
|
10347
|
-
|
|
10341
|
+
bn as ProductCollection,
|
|
10348
10342
|
me as ProductWorkflow,
|
|
10349
10343
|
rA as PromiseCache,
|
|
10350
10344
|
ze as PromiseQueue,
|
|
10351
10345
|
Ta as QuestionStepHandle,
|
|
10352
10346
|
Te as QueueablePromise,
|
|
10353
|
-
|
|
10347
|
+
js as ResizeCommand,
|
|
10354
10348
|
oA as ResourceNotFoundError,
|
|
10355
|
-
|
|
10356
|
-
|
|
10349
|
+
Vs as RotateCommand,
|
|
10350
|
+
Ws as SendBackwardsCommand,
|
|
10357
10351
|
za as ShapeStepHandle,
|
|
10358
|
-
|
|
10352
|
+
gs as SpiffCommerceClient,
|
|
10359
10353
|
YA as StakeholderType,
|
|
10360
|
-
|
|
10354
|
+
Xs as StepAspectType,
|
|
10361
10355
|
j as StepHandle,
|
|
10362
|
-
|
|
10363
|
-
|
|
10356
|
+
qs as StepType,
|
|
10357
|
+
Zs as TextChangeCommand,
|
|
10364
10358
|
Ka as TextStepHandle,
|
|
10365
|
-
|
|
10366
|
-
|
|
10359
|
+
Tn as Transform,
|
|
10360
|
+
On as TransformCollection,
|
|
10367
10361
|
v as UnhandledBehaviorError,
|
|
10368
|
-
|
|
10362
|
+
$s as UnitOfMeasurement,
|
|
10369
10363
|
V as Variant,
|
|
10370
10364
|
dA as WorkflowExperienceImpl,
|
|
10371
10365
|
L as assetService,
|
|
10372
|
-
|
|
10373
|
-
|
|
10366
|
+
$a as createDesign,
|
|
10367
|
+
_s as dataUrlFromExternalUrl,
|
|
10374
10368
|
LA as designService,
|
|
10375
|
-
|
|
10369
|
+
Ai as determineCorrectFontSizeAndLines,
|
|
10376
10370
|
Ba as digitalContentStepService,
|
|
10377
|
-
|
|
10378
|
-
|
|
10371
|
+
ei as findElement,
|
|
10372
|
+
ti as frameDataCache,
|
|
10379
10373
|
VA as frameStepService,
|
|
10380
|
-
|
|
10381
|
-
|
|
10382
|
-
|
|
10383
|
-
|
|
10384
|
-
|
|
10385
|
-
|
|
10374
|
+
ai as generate,
|
|
10375
|
+
wn as generateCommands,
|
|
10376
|
+
ni as generateSVGWithUnknownColors,
|
|
10377
|
+
Fs as generateStateFromDesignInputSteps,
|
|
10378
|
+
si as getAttributesFromArrayBuffer,
|
|
10379
|
+
ii as getAxisAlignedBoundingBox,
|
|
10386
10380
|
ra as getBoundedOffsets,
|
|
10387
|
-
|
|
10388
|
-
|
|
10381
|
+
oi as getFrameData,
|
|
10382
|
+
ri as getSvgElement,
|
|
10389
10383
|
QA as getWorkflow,
|
|
10390
10384
|
rt as getWorkflows,
|
|
10391
10385
|
N as graphQlManager,
|
|
10392
10386
|
IA as illustrationStepService,
|
|
10393
|
-
|
|
10387
|
+
ci as loadFont,
|
|
10394
10388
|
je as materialStepService,
|
|
10395
10389
|
Ve as modelStepService,
|
|
10396
10390
|
Qa as moduleStepService,
|
|
10397
10391
|
z as optionService,
|
|
10398
|
-
|
|
10392
|
+
gi as patternImageDataCache,
|
|
10399
10393
|
x as persistenceService,
|
|
10400
10394
|
We as pictureStepService,
|
|
10401
10395
|
Xe as questionStepService,
|
|
10402
|
-
|
|
10403
|
-
|
|
10404
|
-
|
|
10405
|
-
|
|
10396
|
+
li as registerFetchImplementation,
|
|
10397
|
+
Bi as registerWindowImplementation,
|
|
10398
|
+
wi as rehydrateSerializedLayout,
|
|
10399
|
+
di as setCanvasModule,
|
|
10406
10400
|
iA as shapeStepService,
|
|
10407
10401
|
ga as shortenUrl,
|
|
10408
10402
|
yA as spiffCoreConfiguration,
|
|
10409
|
-
|
|
10403
|
+
fs as stepAspectValuesToDesignInputSteps,
|
|
10410
10404
|
K as textStepService,
|
|
10411
10405
|
Da as toast
|
|
10412
10406
|
};
|