@spiffcommerce/core 26.25.0 → 26.26.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/CHANGELOG.md +5 -1
- package/dist/index.d.ts +24 -15
- package/dist/index.js +47 -47
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +251 -218
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -2
package/dist/index.mjs
CHANGED
|
@@ -158,10 +158,10 @@ class Sr {
|
|
|
158
158
|
}
|
|
159
159
|
const wt = new Sr();
|
|
160
160
|
let _e, Xe;
|
|
161
|
-
function
|
|
161
|
+
function ac(r) {
|
|
162
162
|
_e = r;
|
|
163
163
|
}
|
|
164
|
-
function
|
|
164
|
+
function nc(r) {
|
|
165
165
|
Xe = r;
|
|
166
166
|
}
|
|
167
167
|
function Jt() {
|
|
@@ -256,7 +256,7 @@ const ln = /* @__PURE__ */ new Map(), Fa = /* @__PURE__ */ new Map(), xa = /* @_
|
|
|
256
256
|
}
|
|
257
257
|
const e = t();
|
|
258
258
|
return e || "image/svg+xml";
|
|
259
|
-
},
|
|
259
|
+
}, rc = async (r) => {
|
|
260
260
|
const t = await cn(r), e = ln.get(r) || Ie(t);
|
|
261
261
|
return await Pr(new Blob([t], { type: e }));
|
|
262
262
|
}, Ir = (r) => {
|
|
@@ -3145,7 +3145,7 @@ const Nr = (r) => new Promise((t) => {
|
|
|
3145
3145
|
parseInt(r.substring(2, 4), 16),
|
|
3146
3146
|
parseInt(r.substring(4, 6), 16)
|
|
3147
3147
|
]);
|
|
3148
|
-
function
|
|
3148
|
+
function ic(r) {
|
|
3149
3149
|
const t = jt.indexOf(r);
|
|
3150
3150
|
return t >= 0 ? Ft[t] : "";
|
|
3151
3151
|
}
|
|
@@ -3153,7 +3153,7 @@ function Lr(r) {
|
|
|
3153
3153
|
const t = Ft.indexOf(r);
|
|
3154
3154
|
return t >= 0 ? jt[t] : "";
|
|
3155
3155
|
}
|
|
3156
|
-
function
|
|
3156
|
+
function sc(r, t = 64) {
|
|
3157
3157
|
const e = [], a = [], n = Lr(r);
|
|
3158
3158
|
n && e.push({
|
|
3159
3159
|
pms: n,
|
|
@@ -3172,7 +3172,7 @@ function ic(r, t = 64) {
|
|
|
3172
3172
|
return e.sort((A, u) => A.distance - u.distance);
|
|
3173
3173
|
}
|
|
3174
3174
|
const $r = jt.map((r, t) => ({ pms: r, hex: Ft[t] })), Vr = new dr($r, { keys: ["pms"] });
|
|
3175
|
-
function
|
|
3175
|
+
function oc(r, t) {
|
|
3176
3176
|
return Vr.search(r, t ? { limit: t } : void 0);
|
|
3177
3177
|
}
|
|
3178
3178
|
let Qt = null;
|
|
@@ -5374,7 +5374,7 @@ const Q = () => {
|
|
|
5374
5374
|
]
|
|
5375
5375
|
}
|
|
5376
5376
|
);
|
|
5377
|
-
},
|
|
5377
|
+
}, lc = (r, t, e, a, n) => {
|
|
5378
5378
|
const i = gt(n), s = e / 2, o = a / 2, l = r + s, c = t + o, d = Math.sin(i), A = Math.cos(i), u = s, h = s, m = -o, g = o, f = u * A - m * d, p = h * A - g * d, C = u * d + m * A, w = h * d + g * A, v = Math.max(Math.abs(f), Math.abs(p)), S = Math.max(Math.abs(C), Math.abs(w));
|
|
5379
5379
|
return {
|
|
5380
5380
|
minX: l - v,
|
|
@@ -5382,25 +5382,25 @@ const Q = () => {
|
|
|
5382
5382
|
minY: c - S,
|
|
5383
5383
|
maxY: c + S
|
|
5384
5384
|
};
|
|
5385
|
-
},
|
|
5385
|
+
}, cc = (r, t, e) => {
|
|
5386
5386
|
const a = Math.sqrt(Math.pow(t.x - r.x, 2) + Math.pow(t.y - r.y, 2)), n = Math.sqrt(Math.pow(t.x - e.x, 2) + Math.pow(t.y - e.y, 2)), i = Math.sqrt(Math.pow(e.x - r.x, 2) + Math.pow(e.y - r.y, 2));
|
|
5387
5387
|
return Math.acos((n * n + a * a - i * i) / (2 * n * a)) * (180 / Math.PI);
|
|
5388
|
-
}, gt = (r) => r * (Math.PI / 180),
|
|
5388
|
+
}, gt = (r) => r * (Math.PI / 180), dc = (r, t, e) => Math.abs(r - t) < e, Ac = (r, t, e) => {
|
|
5389
5389
|
const a = Math.sin(gt(e)), n = Math.cos(gt(e));
|
|
5390
5390
|
return {
|
|
5391
5391
|
x: (r.x - t.x) * n - (r.y - t.y) * a + t.x,
|
|
5392
5392
|
y: (r.x - t.x) * a + (r.y - t.y) * n + t.y
|
|
5393
5393
|
};
|
|
5394
|
-
},
|
|
5394
|
+
}, uc = (r, t) => ({
|
|
5395
5395
|
x: (r.x + t.x) / 2,
|
|
5396
5396
|
y: (r.y + t.y) / 2
|
|
5397
|
-
}),
|
|
5397
|
+
}), hc = (r, t, e, a) => ({
|
|
5398
5398
|
x: r.x + (t == null ? void 0 : t.x) * e,
|
|
5399
5399
|
y: r.y + (t == null ? void 0 : t.y) * a
|
|
5400
|
-
}),
|
|
5400
|
+
}), mc = (r, t, e, a) => ({
|
|
5401
5401
|
x: r.x + ((t == null ? void 0 : t.x) + (t == null ? void 0 : t.width)) * e,
|
|
5402
5402
|
y: r.y + (t == null ? void 0 : t.y) * a
|
|
5403
|
-
}),
|
|
5403
|
+
}), gc = (r, t, e, a) => ({
|
|
5404
5404
|
x: r.x + ((t == null ? void 0 : t.x) + (t == null ? void 0 : t.width)) * e,
|
|
5405
5405
|
y: r.y + ((t == null ? void 0 : t.y) + (t == null ? void 0 : t.height)) * a
|
|
5406
5406
|
}), bt = (r) => {
|
|
@@ -5422,7 +5422,7 @@ const Q = () => {
|
|
|
5422
5422
|
case H.Southwest:
|
|
5423
5423
|
return H.Northwest;
|
|
5424
5424
|
}
|
|
5425
|
-
},
|
|
5425
|
+
}, fc = (r, t) => t > 45 && t <= 135 ? bt(r) : t > 135 && t <= 225 ? bt(bt(r)) : t > 225 && t <= 315 ? bt(bt(bt(r))) : r, pc = (r, t = { x: 0, y: 0 }, e = { x: 1, y: 1 }) => {
|
|
5426
5426
|
const a = gt(r.rotation), n = {
|
|
5427
5427
|
x: t.x + r.x * e.x,
|
|
5428
5428
|
y: t.x + r.y * e.y
|
|
@@ -5452,7 +5452,7 @@ const Q = () => {
|
|
|
5452
5452
|
x: (r.x - t.x) * n - (r.y - t.y) * a + t.x,
|
|
5453
5453
|
y: (r.x - t.x) * a + (r.y - t.y) * n + t.y
|
|
5454
5454
|
};
|
|
5455
|
-
},
|
|
5455
|
+
}, Cc = 0.352778, wc = 0.035277, Fn = (r) => {
|
|
5456
5456
|
const t = r.rotation || 0, e = gt(t), a = Math.cos(e), n = -Math.sin(e);
|
|
5457
5457
|
return /* @__PURE__ */ x("g", { mask: r.stepName || r.productOverlay ? void 0 : r.mask, children: /* @__PURE__ */ x(
|
|
5458
5458
|
"g",
|
|
@@ -5677,7 +5677,7 @@ const Ui = (r) => r.substring(0, 5).toLowerCase().trim() === "data:", Oe = /* @_
|
|
|
5677
5677
|
}, aa = (r, t) => {
|
|
5678
5678
|
const e = new Oi(t);
|
|
5679
5679
|
return kn.set(r, e), e;
|
|
5680
|
-
},
|
|
5680
|
+
}, yc = async (r) => {
|
|
5681
5681
|
const t = dt(), e = t.parseFromString(r, "image/svg+xml"), a = e.firstElementChild, n = /* @__PURE__ */ new Map();
|
|
5682
5682
|
a.querySelectorAll("style").forEach((d) => {
|
|
5683
5683
|
var u;
|
|
@@ -6329,7 +6329,7 @@ const Zt = (r) => {
|
|
|
6329
6329
|
}
|
|
6330
6330
|
return o;
|
|
6331
6331
|
};
|
|
6332
|
-
class
|
|
6332
|
+
class Sc {
|
|
6333
6333
|
static async getFrame(t, e) {
|
|
6334
6334
|
const a = await Nn(e.region, e.src), n = await xe(a), i = e.region || await Ut(t, T.Frame);
|
|
6335
6335
|
return {
|
|
@@ -6575,7 +6575,7 @@ class $a extends R {
|
|
|
6575
6575
|
};
|
|
6576
6576
|
}
|
|
6577
6577
|
}
|
|
6578
|
-
class
|
|
6578
|
+
class vc extends R {
|
|
6579
6579
|
constructor(t, e, a) {
|
|
6580
6580
|
super(), this.id = t, this.x = e, this.y = a;
|
|
6581
6581
|
}
|
|
@@ -6598,7 +6598,7 @@ class Sc extends R {
|
|
|
6598
6598
|
};
|
|
6599
6599
|
}
|
|
6600
6600
|
}
|
|
6601
|
-
class
|
|
6601
|
+
class Ec extends R {
|
|
6602
6602
|
constructor(t, e) {
|
|
6603
6603
|
super(), this.id = t, this.angle = e;
|
|
6604
6604
|
}
|
|
@@ -6620,7 +6620,7 @@ class vc extends R {
|
|
|
6620
6620
|
};
|
|
6621
6621
|
}
|
|
6622
6622
|
}
|
|
6623
|
-
class
|
|
6623
|
+
class Bc extends R {
|
|
6624
6624
|
constructor(t, e, a) {
|
|
6625
6625
|
super(), this.id = t, this.width = Math.abs(e), this.height = Math.abs(a);
|
|
6626
6626
|
}
|
|
@@ -6932,7 +6932,7 @@ class as extends R {
|
|
|
6932
6932
|
};
|
|
6933
6933
|
}
|
|
6934
6934
|
}
|
|
6935
|
-
class
|
|
6935
|
+
class bc extends R {
|
|
6936
6936
|
constructor(t, e) {
|
|
6937
6937
|
super(), this.id = t, this.src = e;
|
|
6938
6938
|
}
|
|
@@ -7051,7 +7051,7 @@ class rs extends R {
|
|
|
7051
7051
|
};
|
|
7052
7052
|
}
|
|
7053
7053
|
}
|
|
7054
|
-
class
|
|
7054
|
+
class Ic extends R {
|
|
7055
7055
|
/**
|
|
7056
7056
|
* @param id The targeted element to bring to the front.
|
|
7057
7057
|
*/
|
|
@@ -7080,7 +7080,7 @@ class bc extends R {
|
|
|
7080
7080
|
};
|
|
7081
7081
|
}
|
|
7082
7082
|
}
|
|
7083
|
-
class
|
|
7083
|
+
class Dc extends R {
|
|
7084
7084
|
/**
|
|
7085
7085
|
* @param id The targeted element to bring to the back.
|
|
7086
7086
|
*/
|
|
@@ -7111,7 +7111,7 @@ class Ic extends R {
|
|
|
7111
7111
|
};
|
|
7112
7112
|
}
|
|
7113
7113
|
}
|
|
7114
|
-
class
|
|
7114
|
+
class Pc extends R {
|
|
7115
7115
|
/**
|
|
7116
7116
|
* @param id The targeted element to bring to the front.
|
|
7117
7117
|
*/
|
|
@@ -7138,7 +7138,7 @@ class Dc extends R {
|
|
|
7138
7138
|
};
|
|
7139
7139
|
}
|
|
7140
7140
|
}
|
|
7141
|
-
class
|
|
7141
|
+
class Fc extends R {
|
|
7142
7142
|
/**
|
|
7143
7143
|
* @param id The targeted element to bring to the front.
|
|
7144
7144
|
*/
|
|
@@ -11402,7 +11402,7 @@ class ie {
|
|
|
11402
11402
|
case D.Model:
|
|
11403
11403
|
return new ro(t, e, t.getStepTags(e.stepName));
|
|
11404
11404
|
case D.Frame:
|
|
11405
|
-
return new
|
|
11405
|
+
return new vl(t, e, t.getStepTags(e.stepName));
|
|
11406
11406
|
case D.Module:
|
|
11407
11407
|
return new uo(t, e, t.getStepTags(e.stepName));
|
|
11408
11408
|
default:
|
|
@@ -13019,7 +13019,7 @@ class Vo extends Dn {
|
|
|
13019
13019
|
u.resize(l, c), await u.render(), this.onRender();
|
|
13020
13020
|
}
|
|
13021
13021
|
}
|
|
13022
|
-
const
|
|
13022
|
+
const xc = (r, t) => {
|
|
13023
13023
|
const e = [];
|
|
13024
13024
|
return r.forEach((a) => {
|
|
13025
13025
|
const n = t.steps.find((i) => i.stepName === a.stepName);
|
|
@@ -13030,7 +13030,7 @@ const Fc = (r, t) => {
|
|
|
13030
13030
|
}
|
|
13031
13031
|
});
|
|
13032
13032
|
}), e;
|
|
13033
|
-
},
|
|
13033
|
+
}, kc = async (r, t, e, a) => {
|
|
13034
13034
|
let n = {
|
|
13035
13035
|
serializableWorkflow: { steps: [] },
|
|
13036
13036
|
layouts: {}
|
|
@@ -13484,7 +13484,7 @@ class _n extends Ba {
|
|
|
13484
13484
|
* @param variant The variant to select.
|
|
13485
13485
|
*/
|
|
13486
13486
|
async selectVariant(t, e) {
|
|
13487
|
-
|
|
13487
|
+
await Promise.all([
|
|
13488
13488
|
this.bundle.getGlobalPropertyStateManager().setAspect(this.property.name, t.getId(), void 0, e),
|
|
13489
13489
|
this.applyVariantSelection(t)
|
|
13490
13490
|
]);
|
|
@@ -13511,9 +13511,7 @@ class Ha extends _n {
|
|
|
13511
13511
|
* @param variant The variant to select.
|
|
13512
13512
|
*/
|
|
13513
13513
|
async selectVariant(t, e) {
|
|
13514
|
-
|
|
13515
|
-
`Selecting variant ${t.getId()} for color option global property handle (channel ${e})`
|
|
13516
|
-
), await Promise.all([
|
|
13514
|
+
await Promise.all([
|
|
13517
13515
|
this.bundle.getGlobalPropertyStateManager().setAspect(this.property.name, t.getId(), void 0, e),
|
|
13518
13516
|
this.applyColorVariant(t, void 0, e)
|
|
13519
13517
|
]);
|
|
@@ -13561,7 +13559,20 @@ class Ha extends _n {
|
|
|
13561
13559
|
return ((t = this.bundle.getGlobalPropertyStateManager().getAspectStorage(this.property.name)) == null ? void 0 : t.customColor) || ((e = this.getCurrentVariant()) == null ? void 0 : e.getColor()) || "#ffffff";
|
|
13562
13560
|
}
|
|
13563
13561
|
}
|
|
13564
|
-
|
|
13562
|
+
const jo = (r, t, e, a) => r.flatMap((n) => n.getSteps()).filter((n) => n.getGlobalPropertyAspects(t).includes(e) && n.getType() === a), Ho = (r, t, e) => {
|
|
13563
|
+
const n = jo(
|
|
13564
|
+
r,
|
|
13565
|
+
t,
|
|
13566
|
+
e,
|
|
13567
|
+
D.Illustration
|
|
13568
|
+
).map((i) => {
|
|
13569
|
+
var l;
|
|
13570
|
+
const s = (l = i.getCurrentVariant()) == null ? void 0 : l.getAssetResource(), o = i.getColors();
|
|
13571
|
+
return !(s != null && s.assetConfiguration) || !o ? 0 : Object.getOwnPropertyNames(o).length;
|
|
13572
|
+
});
|
|
13573
|
+
return Math.max(...n);
|
|
13574
|
+
};
|
|
13575
|
+
class qo {
|
|
13565
13576
|
constructor(t, e, a, n, i) {
|
|
13566
13577
|
this.bundleId = t, this.bundleOwnerId = e, this.configuration = a, this.bundleOptions = i;
|
|
13567
13578
|
const s = i == null ? void 0 : i.existingGlobalPropertyState;
|
|
@@ -13737,7 +13748,7 @@ class jo {
|
|
|
13737
13748
|
throw new Error(`Unable to create global property state for bundle: ${this.bundleId}`);
|
|
13738
13749
|
}
|
|
13739
13750
|
}
|
|
13740
|
-
class
|
|
13751
|
+
class Yo {
|
|
13741
13752
|
constructor(t) {
|
|
13742
13753
|
this.setState(t);
|
|
13743
13754
|
}
|
|
@@ -13825,7 +13836,7 @@ class Ho {
|
|
|
13825
13836
|
};
|
|
13826
13837
|
}
|
|
13827
13838
|
}
|
|
13828
|
-
const
|
|
13839
|
+
const Jo = y`
|
|
13829
13840
|
query GetManyMetafields($entityIds: [String!]!) {
|
|
13830
13841
|
metafieldsMany(entityIds: $entityIds) {
|
|
13831
13842
|
id
|
|
@@ -13837,7 +13848,7 @@ const qo = y`
|
|
|
13837
13848
|
}
|
|
13838
13849
|
}
|
|
13839
13850
|
`;
|
|
13840
|
-
class
|
|
13851
|
+
class Ko {
|
|
13841
13852
|
constructor() {
|
|
13842
13853
|
this.internalMap = /* @__PURE__ */ new Map();
|
|
13843
13854
|
}
|
|
@@ -13859,7 +13870,7 @@ class Yo {
|
|
|
13859
13870
|
if (t.every((a) => this.internalMap.has(a)))
|
|
13860
13871
|
return;
|
|
13861
13872
|
const e = await b.getShadowGraphqlClient().query({
|
|
13862
|
-
query:
|
|
13873
|
+
query: Jo,
|
|
13863
13874
|
errorPolicy: "all",
|
|
13864
13875
|
variables: {
|
|
13865
13876
|
entityIds: t.filter((a) => !this.internalMap.has(a))
|
|
@@ -13900,8 +13911,8 @@ class Yo {
|
|
|
13900
13911
|
return JSON.parse(n.value);
|
|
13901
13912
|
}
|
|
13902
13913
|
}
|
|
13903
|
-
const
|
|
13904
|
-
class
|
|
13914
|
+
const _o = new Ko();
|
|
13915
|
+
class Xo {
|
|
13905
13916
|
constructor(t) {
|
|
13906
13917
|
this.fullFetched = !1, this.collection = t;
|
|
13907
13918
|
const e = this.collection.productCollectionProducts;
|
|
@@ -14015,7 +14026,7 @@ class Ko {
|
|
|
14015
14026
|
}
|
|
14016
14027
|
getTransformCollection() {
|
|
14017
14028
|
if (this.collection.transformCollection)
|
|
14018
|
-
return new
|
|
14029
|
+
return new Zo(this.collection.transformCollection);
|
|
14019
14030
|
}
|
|
14020
14031
|
/**
|
|
14021
14032
|
* The raw collection resource. This is generally not needed and should be avoided.
|
|
@@ -14157,7 +14168,7 @@ class se {
|
|
|
14157
14168
|
* @returns A map of metafield key to value. Any unavailable keys will not be present in the map. use map.has() to check if a key is present.
|
|
14158
14169
|
*/
|
|
14159
14170
|
async requestMetafields(t) {
|
|
14160
|
-
return
|
|
14171
|
+
return _o.requestKeysForEntity(this.product.id, t);
|
|
14161
14172
|
}
|
|
14162
14173
|
}
|
|
14163
14174
|
class zt {
|
|
@@ -14184,7 +14195,7 @@ class zt {
|
|
|
14184
14195
|
return this.workflow.imageUrl;
|
|
14185
14196
|
}
|
|
14186
14197
|
}
|
|
14187
|
-
class
|
|
14198
|
+
class Zo {
|
|
14188
14199
|
constructor(t) {
|
|
14189
14200
|
this.collection = t;
|
|
14190
14201
|
}
|
|
@@ -14204,10 +14215,10 @@ class _o {
|
|
|
14204
14215
|
* @returns The transforms in this collection.
|
|
14205
14216
|
*/
|
|
14206
14217
|
getTransforms() {
|
|
14207
|
-
return this.collection.transforms.map((t) => new
|
|
14218
|
+
return this.collection.transforms.map((t) => new tl(t));
|
|
14208
14219
|
}
|
|
14209
14220
|
}
|
|
14210
|
-
class
|
|
14221
|
+
class tl {
|
|
14211
14222
|
constructor(t) {
|
|
14212
14223
|
this.transform = t;
|
|
14213
14224
|
}
|
|
@@ -14234,7 +14245,34 @@ class Xo {
|
|
|
14234
14245
|
};
|
|
14235
14246
|
}
|
|
14236
14247
|
}
|
|
14237
|
-
|
|
14248
|
+
class el {
|
|
14249
|
+
constructor() {
|
|
14250
|
+
this.listeners = {};
|
|
14251
|
+
}
|
|
14252
|
+
// Add a listener for a specific event type
|
|
14253
|
+
on(t, e) {
|
|
14254
|
+
this.listeners[t] || (this.listeners[t] = []), this.listeners[t].push(e);
|
|
14255
|
+
}
|
|
14256
|
+
// Remove a listener for a specific event type
|
|
14257
|
+
off(t, e) {
|
|
14258
|
+
this.listeners[t] && (this.listeners[t] = this.listeners[t].filter((a) => a !== e));
|
|
14259
|
+
}
|
|
14260
|
+
// Emit an event with the given payload
|
|
14261
|
+
emit(t, e) {
|
|
14262
|
+
if (this.listeners[t])
|
|
14263
|
+
for (const a of this.listeners[t])
|
|
14264
|
+
a(e);
|
|
14265
|
+
}
|
|
14266
|
+
// Clear all listeners for a specific event or all events
|
|
14267
|
+
clear(t) {
|
|
14268
|
+
if (t)
|
|
14269
|
+
delete this.listeners[t];
|
|
14270
|
+
else
|
|
14271
|
+
for (const e in this.listeners)
|
|
14272
|
+
delete this.listeners[e];
|
|
14273
|
+
}
|
|
14274
|
+
}
|
|
14275
|
+
const al = y`
|
|
14238
14276
|
mutation AddAddressToBundle(
|
|
14239
14277
|
$bundleId: String!
|
|
14240
14278
|
$streetAddress: String
|
|
@@ -14256,38 +14294,26 @@ const Zo = y`
|
|
|
14256
14294
|
id
|
|
14257
14295
|
}
|
|
14258
14296
|
}
|
|
14259
|
-
`,
|
|
14297
|
+
`, nl = y`
|
|
14260
14298
|
mutation AddOrganizationToBundle($bundleId: String!, $organizationName: String!) {
|
|
14261
14299
|
organizationAttachToBundle(bundleId: $bundleId, organizationName: $organizationName) {
|
|
14262
14300
|
id
|
|
14263
14301
|
}
|
|
14264
14302
|
}
|
|
14265
|
-
`,
|
|
14303
|
+
`, rl = y`
|
|
14266
14304
|
mutation GenerateQuoteId($id: String!) {
|
|
14267
14305
|
bundleGenerateQuoteId(id: $id) {
|
|
14268
14306
|
id
|
|
14269
14307
|
quoteId
|
|
14270
14308
|
}
|
|
14271
14309
|
}
|
|
14272
|
-
|
|
14273
|
-
const n = al(
|
|
14274
|
-
r,
|
|
14275
|
-
t,
|
|
14276
|
-
e,
|
|
14277
|
-
D.Illustration
|
|
14278
|
-
).map((i) => {
|
|
14279
|
-
var l;
|
|
14280
|
-
const s = (l = i.getCurrentVariant()) == null ? void 0 : l.getAssetResource(), o = i.getColors();
|
|
14281
|
-
return !(s != null && s.assetConfiguration) || !o ? 0 : Object.getOwnPropertyNames(o).length;
|
|
14282
|
-
});
|
|
14283
|
-
return Math.max(...n);
|
|
14284
|
-
};
|
|
14310
|
+
`;
|
|
14285
14311
|
class He {
|
|
14286
14312
|
constructor(t, e, a, n, i, s) {
|
|
14287
14313
|
var c, d, A;
|
|
14288
|
-
this.
|
|
14314
|
+
this.workflowExperiences = [], this.eventEmitter = new el(), this.client = t, this.id = e.id, this.name = e.name || "", this.quoteId = e.quoteId, this.shareActions = e.bundleShareActions, this.workflowViewerLink = e.workflowViewerLink, this.workflowViewerAmendLink = e.workflowViewerAmendLink, this.ownerId = i, this.metadata = new Map(((c = e.metadata) == null ? void 0 : c.map((u) => [u.key, u.value])) || []), this.completed = e.completed ?? !1, this.productCollection = e.productCollection, this.bundleStateManager = new Yo(e.bundleStateData);
|
|
14289
14315
|
const o = (d = this.productCollection) == null ? void 0 : d.globalPropertyConfiguration;
|
|
14290
|
-
this.globalConfigurationPropertyId = o == null ? void 0 : o.id, this.globalPropertyStateManager = new
|
|
14316
|
+
this.globalConfigurationPropertyId = o == null ? void 0 : o.id, this.globalPropertyStateManager = new qo(
|
|
14291
14317
|
this.id,
|
|
14292
14318
|
this.ownerId,
|
|
14293
14319
|
o,
|
|
@@ -14324,7 +14350,7 @@ class He {
|
|
|
14324
14350
|
async generateQuoteId() {
|
|
14325
14351
|
var a, n;
|
|
14326
14352
|
const e = (n = (a = (await b.getShadowGraphqlClient().mutate({
|
|
14327
|
-
mutation:
|
|
14353
|
+
mutation: rl,
|
|
14328
14354
|
variables: {
|
|
14329
14355
|
id: this.id
|
|
14330
14356
|
},
|
|
@@ -14336,7 +14362,7 @@ class He {
|
|
|
14336
14362
|
}
|
|
14337
14363
|
async attachAddress(t, e, a, n, i, s) {
|
|
14338
14364
|
await b.getShadowGraphqlClient().mutate({
|
|
14339
|
-
mutation:
|
|
14365
|
+
mutation: al,
|
|
14340
14366
|
variables: {
|
|
14341
14367
|
bundleId: this.id,
|
|
14342
14368
|
streetAddress: t || void 0,
|
|
@@ -14353,7 +14379,7 @@ class He {
|
|
|
14353
14379
|
}
|
|
14354
14380
|
async attachOrganization(t) {
|
|
14355
14381
|
await b.getShadowGraphqlClient().mutate({
|
|
14356
|
-
mutation:
|
|
14382
|
+
mutation: nl,
|
|
14357
14383
|
variables: {
|
|
14358
14384
|
bundleId: this.id,
|
|
14359
14385
|
organizationName: t
|
|
@@ -14370,11 +14396,10 @@ class He {
|
|
|
14370
14396
|
return this.initializationPromise;
|
|
14371
14397
|
}
|
|
14372
14398
|
addEventListener(t, e) {
|
|
14373
|
-
this.
|
|
14399
|
+
this.eventEmitter.on(t, e);
|
|
14374
14400
|
}
|
|
14375
14401
|
removeEventListener(t, e) {
|
|
14376
|
-
|
|
14377
|
-
n > -1 && a.splice(n, 1);
|
|
14402
|
+
this.eventEmitter.off(t, e);
|
|
14378
14403
|
}
|
|
14379
14404
|
getClient() {
|
|
14380
14405
|
return this.client;
|
|
@@ -14427,7 +14452,7 @@ class He {
|
|
|
14427
14452
|
return this.workflowExperiences.map((t) => t.getTotalPriceSubunits()).reduce((t, e) => t + e, 0);
|
|
14428
14453
|
}
|
|
14429
14454
|
getProductCollection() {
|
|
14430
|
-
return this.productCollection ? new
|
|
14455
|
+
return this.productCollection ? new Xo(this.productCollection) : void 0;
|
|
14431
14456
|
}
|
|
14432
14457
|
async initializeAdditionalRequiredColorChannels(t) {
|
|
14433
14458
|
var e, a, n, i;
|
|
@@ -14438,7 +14463,7 @@ class He {
|
|
|
14438
14463
|
(d) => d.name === l
|
|
14439
14464
|
);
|
|
14440
14465
|
if (c && c.type === et.ColorOption) {
|
|
14441
|
-
const d = (a = s.getCurrentVariant()) == null ? void 0 : a.getAssetResource(), A = ((n = d == null ? void 0 : d.assetConfiguration) == null ? void 0 : n.channelNumbers) || [], u = ((i = d == null ? void 0 : d.assetConfiguration) == null ? void 0 : i.defaultColorVariants) || [], h =
|
|
14466
|
+
const d = (a = s.getCurrentVariant()) == null ? void 0 : a.getAssetResource(), A = ((n = d == null ? void 0 : d.assetConfiguration) == null ? void 0 : n.channelNumbers) || [], u = ((i = d == null ? void 0 : d.assetConfiguration) == null ? void 0 : i.defaultColorVariants) || [], h = Ho(
|
|
14442
14467
|
this.getWorkflowExperiences(),
|
|
14443
14468
|
this.globalConfigurationPropertyId || "",
|
|
14444
14469
|
l
|
|
@@ -14457,6 +14482,9 @@ class He {
|
|
|
14457
14482
|
const e = await this.getGlobalProperties();
|
|
14458
14483
|
for (const a of e)
|
|
14459
14484
|
await a.applyGlobalState([t]);
|
|
14485
|
+
this.fireEvent("workflow-experience-added", {
|
|
14486
|
+
workflowExperiences: [t]
|
|
14487
|
+
});
|
|
14460
14488
|
}
|
|
14461
14489
|
async addWorkflowExperiences(t) {
|
|
14462
14490
|
for (const o of t)
|
|
@@ -14490,7 +14518,9 @@ class He {
|
|
|
14490
14518
|
for (const l of o)
|
|
14491
14519
|
await l.applyGlobalState(t);
|
|
14492
14520
|
};
|
|
14493
|
-
await Promise.all([this.updateTransactionOrder(), s()]), this.workflowExperiences.forEach((o) => o.checkForPriceBreakChanges())
|
|
14521
|
+
await Promise.all([this.updateTransactionOrder(), s()]), this.workflowExperiences.forEach((o) => o.checkForPriceBreakChanges()), this.fireEvent("workflow-experience-added", {
|
|
14522
|
+
workflowExperiences: this.workflowExperiences
|
|
14523
|
+
});
|
|
14494
14524
|
}
|
|
14495
14525
|
async appendWorkflowExperience(t, e = !0) {
|
|
14496
14526
|
const a = t.getWorkflowManager().getTransaction().id;
|
|
@@ -14513,7 +14543,9 @@ class He {
|
|
|
14513
14543
|
}
|
|
14514
14544
|
async removeWorkflowExperience(t) {
|
|
14515
14545
|
const e = this.workflowExperiences.indexOf(t);
|
|
14516
|
-
await this.removeTransaction(e, this.workflowExperiences[e].getWorkflowManager().getTransaction())
|
|
14546
|
+
await this.removeTransaction(e, this.workflowExperiences[e].getWorkflowManager().getTransaction()), this.fireEvent("workflow-experience-added", {
|
|
14547
|
+
workflowExperiences: [t]
|
|
14548
|
+
});
|
|
14517
14549
|
}
|
|
14518
14550
|
async removeWorkflowExperiences(t) {
|
|
14519
14551
|
await this.removeTransactions(t.map((e) => e.getWorkflowManager().getTransaction()));
|
|
@@ -14532,7 +14564,7 @@ class He {
|
|
|
14532
14564
|
const n = this.workflowExperiences.find(
|
|
14533
14565
|
(i) => i.getWorkflowManager().getTransaction().id === e.id
|
|
14534
14566
|
);
|
|
14535
|
-
n.setBundle(void 0), this.previewService && n.getWorkflowManager().ejectFromPreviewService(), this.bundleStateManager.removeStateForTransaction(e.id), await b.getShadowGraphqlClient().mutate({
|
|
14567
|
+
if (n.setBundle(void 0), this.previewService && n.getWorkflowManager().ejectFromPreviewService(), this.bundleStateManager.removeStateForTransaction(e.id), await b.getShadowGraphqlClient().mutate({
|
|
14536
14568
|
mutation: $s,
|
|
14537
14569
|
variables: {
|
|
14538
14570
|
id: this.id,
|
|
@@ -14544,7 +14576,12 @@ class He {
|
|
|
14544
14576
|
context: {
|
|
14545
14577
|
bundleOwnerId: this.ownerId
|
|
14546
14578
|
}
|
|
14547
|
-
}), a
|
|
14579
|
+
}), a) {
|
|
14580
|
+
const i = this.workflowExperiences.splice(t, 1);
|
|
14581
|
+
this.workflowExperiences.forEach((s) => s.checkForPriceBreakChanges()), n.checkForPriceBreakChanges(), await this.updateTransactionOrder(), this.fireEvent("workflow-experience-removed", {
|
|
14582
|
+
workflowExperiences: i
|
|
14583
|
+
});
|
|
14584
|
+
}
|
|
14548
14585
|
} else
|
|
14549
14586
|
throw new Error("Unable to remove workflow experience from bundle - Not Found! - " + e.id);
|
|
14550
14587
|
}
|
|
@@ -14576,6 +14613,8 @@ class He {
|
|
|
14576
14613
|
context: {
|
|
14577
14614
|
bundleOwnerId: this.ownerId
|
|
14578
14615
|
}
|
|
14616
|
+
}), this.fireEvent("workflow-experience-removed", {
|
|
14617
|
+
workflowExperiences: a
|
|
14579
14618
|
}), await this.updateTransactionOrder();
|
|
14580
14619
|
}
|
|
14581
14620
|
async insertWorkflowExperience(t, e) {
|
|
@@ -14889,13 +14928,7 @@ class He {
|
|
|
14889
14928
|
}
|
|
14890
14929
|
}
|
|
14891
14930
|
fireEvent(t, e) {
|
|
14892
|
-
|
|
14893
|
-
(n) => n({
|
|
14894
|
-
bundle: this,
|
|
14895
|
-
event: t,
|
|
14896
|
-
data: e
|
|
14897
|
-
})
|
|
14898
|
-
);
|
|
14931
|
+
this.eventEmitter.emit(t, e);
|
|
14899
14932
|
}
|
|
14900
14933
|
getShareActions() {
|
|
14901
14934
|
return this.shareActions;
|
|
@@ -14938,14 +14971,14 @@ class He {
|
|
|
14938
14971
|
};
|
|
14939
14972
|
}
|
|
14940
14973
|
}
|
|
14941
|
-
const
|
|
14974
|
+
const il = y`
|
|
14942
14975
|
mutation processFlowCreate($processFlowId: String!, $inputs: [String]!) {
|
|
14943
14976
|
processExecutionCreate(processFlowId: $processFlowId, inputs: $inputs) {
|
|
14944
14977
|
id
|
|
14945
14978
|
}
|
|
14946
14979
|
}
|
|
14947
14980
|
`;
|
|
14948
|
-
class
|
|
14981
|
+
class sl {
|
|
14949
14982
|
/**
|
|
14950
14983
|
*
|
|
14951
14984
|
* @param id
|
|
@@ -14956,7 +14989,7 @@ class il {
|
|
|
14956
14989
|
async execute(t, e, a) {
|
|
14957
14990
|
var A, u, h;
|
|
14958
14991
|
const i = (u = (A = (await b.getShadowGraphqlClient().mutate({
|
|
14959
|
-
mutation:
|
|
14992
|
+
mutation: il,
|
|
14960
14993
|
variables: {
|
|
14961
14994
|
processFlowId: t,
|
|
14962
14995
|
inputs: [...e.map((m) => m.getValueForTransmission())]
|
|
@@ -14998,7 +15031,7 @@ class il {
|
|
|
14998
15031
|
"Execution has failed to complete. See Automation > FLows in Flight on partner account on SpiffCommerce Hub."
|
|
14999
15032
|
);
|
|
15000
15033
|
if (m.completedAt) {
|
|
15001
|
-
o = !0, d = new
|
|
15034
|
+
o = !0, d = new ol(m);
|
|
15002
15035
|
break;
|
|
15003
15036
|
}
|
|
15004
15037
|
l += 1;
|
|
@@ -15012,7 +15045,7 @@ class il {
|
|
|
15012
15045
|
return Promise.resolve(d);
|
|
15013
15046
|
}
|
|
15014
15047
|
}
|
|
15015
|
-
class
|
|
15048
|
+
class ol {
|
|
15016
15049
|
constructor(t) {
|
|
15017
15050
|
this.execution = t;
|
|
15018
15051
|
}
|
|
@@ -15097,8 +15130,8 @@ class ba {
|
|
|
15097
15130
|
return t.startsWith("[") ? JSON.stringify(JSON.parse(t)) : t;
|
|
15098
15131
|
}
|
|
15099
15132
|
}
|
|
15100
|
-
var
|
|
15101
|
-
class
|
|
15133
|
+
var ll = /* @__PURE__ */ ((r) => (r.Transaction = "Transaction", r.Bundle = "Bundle", r.Product = "Product", r.Variant = "Variant", r.Option = "Option", r.LineItem = "LineItem", r.Asset = "Asset", r))(ll || {});
|
|
15134
|
+
class Mc extends ba {
|
|
15102
15135
|
constructor(t) {
|
|
15103
15136
|
super(`"${t}"`);
|
|
15104
15137
|
}
|
|
@@ -15113,7 +15146,7 @@ class Xn extends ba {
|
|
|
15113
15146
|
return t.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);
|
|
15114
15147
|
}
|
|
15115
15148
|
}
|
|
15116
|
-
class
|
|
15149
|
+
class Tc extends ba {
|
|
15117
15150
|
constructor(t) {
|
|
15118
15151
|
super(`[${t.map((e) => e.getRaw()).join(",")}]`);
|
|
15119
15152
|
}
|
|
@@ -15171,7 +15204,7 @@ const Ya = y`
|
|
|
15171
15204
|
}
|
|
15172
15205
|
}
|
|
15173
15206
|
}
|
|
15174
|
-
`,
|
|
15207
|
+
`, cl = y`
|
|
15175
15208
|
mutation CustomerCreate($details: CustomerDetailsInput!) {
|
|
15176
15209
|
customerCreate(details: $details) {
|
|
15177
15210
|
id
|
|
@@ -15181,7 +15214,7 @@ const Ya = y`
|
|
|
15181
15214
|
}
|
|
15182
15215
|
}
|
|
15183
15216
|
}
|
|
15184
|
-
`,
|
|
15217
|
+
`, dl = y`
|
|
15185
15218
|
mutation CustomerAuthenticate($loginToken: String!) {
|
|
15186
15219
|
customerAuthenticate(loginToken: $loginToken) {
|
|
15187
15220
|
id
|
|
@@ -15211,11 +15244,11 @@ const Ya = y`
|
|
|
15211
15244
|
}
|
|
15212
15245
|
}
|
|
15213
15246
|
}
|
|
15214
|
-
`,
|
|
15247
|
+
`, Al = y`
|
|
15215
15248
|
mutation CustomerGenerateVerificationCode($emailAddress: String!) {
|
|
15216
15249
|
customerGenerateVerificationCode(emailAddress: $emailAddress)
|
|
15217
15250
|
}
|
|
15218
|
-
`,
|
|
15251
|
+
`, ul = y`
|
|
15219
15252
|
mutation CustomerVerifyCode($emailAddress: String!, $verificationCode: String!) {
|
|
15220
15253
|
customerVerifyCode(emailAddress: $emailAddress, verificationCode: $verificationCode) {
|
|
15221
15254
|
id
|
|
@@ -15246,7 +15279,7 @@ const Ya = y`
|
|
|
15246
15279
|
}
|
|
15247
15280
|
}
|
|
15248
15281
|
}
|
|
15249
|
-
`,
|
|
15282
|
+
`, hl = y`
|
|
15250
15283
|
query CustomerMetafields($id: String!) {
|
|
15251
15284
|
metafields(entityId: $id) {
|
|
15252
15285
|
id
|
|
@@ -15264,7 +15297,7 @@ const Ya = y`
|
|
|
15264
15297
|
}
|
|
15265
15298
|
}
|
|
15266
15299
|
}
|
|
15267
|
-
`,
|
|
15300
|
+
`, ml = async (r, t) => {
|
|
15268
15301
|
var n;
|
|
15269
15302
|
const e = await b.getShadowGraphqlClient().query({
|
|
15270
15303
|
query: Ei(((n = t == null ? void 0 : t.assets) == null ? void 0 : n.metadata) || !1),
|
|
@@ -15288,7 +15321,7 @@ const Ya = y`
|
|
|
15288
15321
|
}), Ht.set({ id: s.option.id }, Promise.resolve(s.option)));
|
|
15289
15322
|
}), i.finalizeStepConfig || (i.finalizeStepConfig = {}), i.finalizeStepConfig.termsMarkdown = i.finalizeStepConfig.termsMarkdown || i.partner.termsMarkdown;
|
|
15290
15323
|
}), a;
|
|
15291
|
-
},
|
|
15324
|
+
}, gl = async (r, t) => {
|
|
15292
15325
|
const a = (await t).find((n) => n.id === r);
|
|
15293
15326
|
if (!a)
|
|
15294
15327
|
throw new Error(`Workflow not found: ${r}`);
|
|
@@ -15297,11 +15330,11 @@ const Ya = y`
|
|
|
15297
15330
|
const e = r.map((o) => Ht.get({ id: o, options: t })), a = r.filter((o, l) => e[l] === void 0);
|
|
15298
15331
|
if (a.length === 0)
|
|
15299
15332
|
return Promise.all(e);
|
|
15300
|
-
const n =
|
|
15301
|
-
(o) => Ht.set({ id: o, options: t },
|
|
15333
|
+
const n = ml(a, t), i = a.map(
|
|
15334
|
+
(o) => Ht.set({ id: o, options: t }, gl(o, n))
|
|
15302
15335
|
), s = e.filter((o) => o !== void 0);
|
|
15303
15336
|
return await Promise.all(s.concat(i));
|
|
15304
|
-
},
|
|
15337
|
+
}, Qc = async (r, t) => (await Zn([r], t))[0], fl = (r) => r.sort((t, e) => t.index - e.index).map((t) => ({
|
|
15305
15338
|
id: Q(),
|
|
15306
15339
|
panelId: t.name,
|
|
15307
15340
|
name: t.name,
|
|
@@ -15315,11 +15348,11 @@ const Ya = y`
|
|
|
15315
15348
|
previewRegion: t.previewRegion,
|
|
15316
15349
|
useEditableArea: t.useEditableArea,
|
|
15317
15350
|
editableArea: t.editableArea
|
|
15318
|
-
})),
|
|
15351
|
+
})), pl = (r, t) => {
|
|
15319
15352
|
const e = r.workflowState, a = e ? JSON.parse(e) : void 0;
|
|
15320
|
-
return a ? Object.values(a.layouts).map((n) => n.layout) :
|
|
15353
|
+
return a ? Object.values(a.layouts).map((n) => n.layout) : fl(t.panels);
|
|
15321
15354
|
};
|
|
15322
|
-
class
|
|
15355
|
+
class Nc {
|
|
15323
15356
|
constructor(t) {
|
|
15324
15357
|
this.activeIntegration = void 0, this.updateTransactionState = async (e) => {
|
|
15325
15358
|
try {
|
|
@@ -15330,7 +15363,7 @@ class Qc {
|
|
|
15330
15363
|
} catch (a) {
|
|
15331
15364
|
throw console.error(a), new ut("Critical - Unable to synchronize workflow state with server.");
|
|
15332
15365
|
}
|
|
15333
|
-
}, this.options = t, this.options.applicationKey && Fr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 26.
|
|
15366
|
+
}, this.options = t, this.options.applicationKey && Fr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 26.26.1"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
|
|
15334
15367
|
}
|
|
15335
15368
|
configure(t) {
|
|
15336
15369
|
wt.setHubUrl(t.hubUrl), wt.setServerUrl(t.serverUrl), wt.setServicesApiUrl(t.servicesApiUrl), this.marketplaceThemeInstallId = t.marketplaceThemeInstallId, this.marketplaceThemeInstallConfigurationId = t.marketplaceThemeInstallConfigurationId, t.bearerAuthenticationToken && kr(t.bearerAuthenticationToken), this.options.applicationKey && this.getIntegration();
|
|
@@ -15350,14 +15383,14 @@ class Qc {
|
|
|
15350
15383
|
getFlowService() {
|
|
15351
15384
|
if (!xr())
|
|
15352
15385
|
throw new Error("Application key required to use Flow Service.");
|
|
15353
|
-
return new
|
|
15386
|
+
return new sl();
|
|
15354
15387
|
}
|
|
15355
15388
|
async getIntegration() {
|
|
15356
15389
|
if (this.activeIntegration)
|
|
15357
15390
|
return this.activeIntegration;
|
|
15358
15391
|
if (!this.options.applicationKey)
|
|
15359
15392
|
throw new Error("Cannot get current Integration without specifying an Application Key.");
|
|
15360
|
-
return this.activeIntegration =
|
|
15393
|
+
return this.activeIntegration = Cl(this.options.applicationKey), this.activeIntegration;
|
|
15361
15394
|
}
|
|
15362
15395
|
async canUseAddon(t) {
|
|
15363
15396
|
var e;
|
|
@@ -15506,7 +15539,7 @@ class Qc {
|
|
|
15506
15539
|
})).data.customer;
|
|
15507
15540
|
if (!n.id) {
|
|
15508
15541
|
const l = (s = (await e.mutate({
|
|
15509
|
-
mutation:
|
|
15542
|
+
mutation: cl,
|
|
15510
15543
|
errorPolicy: "all",
|
|
15511
15544
|
fetchPolicy: "no-cache",
|
|
15512
15545
|
variables: {
|
|
@@ -15541,7 +15574,7 @@ class Qc {
|
|
|
15541
15574
|
if (!n)
|
|
15542
15575
|
return !1;
|
|
15543
15576
|
const s = (o = (await e.mutate({
|
|
15544
|
-
mutation:
|
|
15577
|
+
mutation: dl,
|
|
15545
15578
|
errorPolicy: "all",
|
|
15546
15579
|
fetchPolicy: "no-cache",
|
|
15547
15580
|
variables: {
|
|
@@ -15556,7 +15589,7 @@ class Qc {
|
|
|
15556
15589
|
*/
|
|
15557
15590
|
async generateVerificationCode(t) {
|
|
15558
15591
|
await b.getShadowGraphqlClient().mutate({
|
|
15559
|
-
mutation:
|
|
15592
|
+
mutation: Al,
|
|
15560
15593
|
variables: {
|
|
15561
15594
|
emailAddress: t
|
|
15562
15595
|
}
|
|
@@ -15571,7 +15604,7 @@ class Qc {
|
|
|
15571
15604
|
async verifyCode(t, e) {
|
|
15572
15605
|
var i, s;
|
|
15573
15606
|
const n = (i = (await b.getShadowGraphqlClient().mutate({
|
|
15574
|
-
mutation:
|
|
15607
|
+
mutation: ul,
|
|
15575
15608
|
errorPolicy: "all",
|
|
15576
15609
|
fetchPolicy: "no-cache",
|
|
15577
15610
|
variables: {
|
|
@@ -15595,7 +15628,7 @@ class Qc {
|
|
|
15595
15628
|
if (!((e = this.customer) != null && e.id))
|
|
15596
15629
|
throw new Error("Customer must be logged in before calling this function.");
|
|
15597
15630
|
return (await b.getShadowGraphqlClient().query({
|
|
15598
|
-
query:
|
|
15631
|
+
query: hl,
|
|
15599
15632
|
variables: {
|
|
15600
15633
|
id: this.customer.id
|
|
15601
15634
|
}
|
|
@@ -15861,7 +15894,7 @@ class Qc {
|
|
|
15861
15894
|
const G = JSON.parse(M.workflowState);
|
|
15862
15895
|
V.layouts = Object.values(G.layouts || {}).map((nt) => nt.layout), await La(G), V.reloadedState = G;
|
|
15863
15896
|
} else
|
|
15864
|
-
V.layouts =
|
|
15897
|
+
V.layouts = pl(
|
|
15865
15898
|
V.transaction,
|
|
15866
15899
|
V.workflow
|
|
15867
15900
|
);
|
|
@@ -15945,7 +15978,7 @@ class Qc {
|
|
|
15945
15978
|
};
|
|
15946
15979
|
}
|
|
15947
15980
|
}
|
|
15948
|
-
const
|
|
15981
|
+
const Cl = async (r, t) => (await b.getShadowGraphqlClient().query({
|
|
15949
15982
|
query: Di,
|
|
15950
15983
|
errorPolicy: "all",
|
|
15951
15984
|
fetchPolicy: "no-cache",
|
|
@@ -15957,7 +15990,7 @@ const pl = async (r, t) => (await b.getShadowGraphqlClient().query({
|
|
|
15957
15990
|
variables: {
|
|
15958
15991
|
themeConfigurationId: t
|
|
15959
15992
|
}
|
|
15960
|
-
})).data.currentIntegration,
|
|
15993
|
+
})).data.currentIntegration, Rc = async (r) => {
|
|
15961
15994
|
const e = await b.getShadowGraphqlClient().query({
|
|
15962
15995
|
query: hi,
|
|
15963
15996
|
errorPolicy: "all",
|
|
@@ -15968,7 +16001,7 @@ const pl = async (r, t) => (await b.getShadowGraphqlClient().query({
|
|
|
15968
16001
|
});
|
|
15969
16002
|
if (e.data.transactions.length !== 0)
|
|
15970
16003
|
return e.data.transactions[0];
|
|
15971
|
-
},
|
|
16004
|
+
}, Oc = async (r, t) => {
|
|
15972
16005
|
var a;
|
|
15973
16006
|
return (a = (await b.getShadowGraphqlClient().query({
|
|
15974
16007
|
query: Ii,
|
|
@@ -15978,7 +16011,7 @@ const pl = async (r, t) => (await b.getShadowGraphqlClient().query({
|
|
|
15978
16011
|
themeInstallId: t
|
|
15979
16012
|
}
|
|
15980
16013
|
})).data) == null ? void 0 : a.marketplaceThemeInstallConfiguration;
|
|
15981
|
-
},
|
|
16014
|
+
}, Uc = async (r) => {
|
|
15982
16015
|
var e, a, n;
|
|
15983
16016
|
return (n = (a = (e = (await b.getShadowGraphqlClient().query({
|
|
15984
16017
|
query: Fi,
|
|
@@ -15987,7 +16020,7 @@ const pl = async (r, t) => (await b.getShadowGraphqlClient().query({
|
|
|
15987
16020
|
id: r
|
|
15988
16021
|
}
|
|
15989
16022
|
})).data) == null ? void 0 : e.bundles) == null ? void 0 : a[0]) == null ? void 0 : n.marketplaceThemeInstallConfiguration;
|
|
15990
|
-
},
|
|
16023
|
+
}, Lc = async (r) => {
|
|
15991
16024
|
var e, a, n;
|
|
15992
16025
|
return (n = (a = (e = (await b.getShadowGraphqlClient().query({
|
|
15993
16026
|
query: Pi,
|
|
@@ -15997,7 +16030,7 @@ const pl = async (r, t) => (await b.getShadowGraphqlClient().query({
|
|
|
15997
16030
|
}
|
|
15998
16031
|
})).data) == null ? void 0 : e.transactions) == null ? void 0 : a[0]) == null ? void 0 : n.marketplaceThemeInstallConfiguration;
|
|
15999
16032
|
};
|
|
16000
|
-
function
|
|
16033
|
+
function wl(r, t, e, a) {
|
|
16001
16034
|
const n = e.width * r.zoom, i = e.height * r.zoom;
|
|
16002
16035
|
if (a) {
|
|
16003
16036
|
const o = r, l = Math.max(t.width / e.width, t.height / e.height);
|
|
@@ -16011,7 +16044,7 @@ function Cl(r, t, e, a) {
|
|
|
16011
16044
|
function le(r, t, e) {
|
|
16012
16045
|
return Math.min(Math.max(r, t), e);
|
|
16013
16046
|
}
|
|
16014
|
-
class
|
|
16047
|
+
class yl {
|
|
16015
16048
|
constructor(t, e) {
|
|
16016
16049
|
this.minZoomScale = [0.03], this.maxZoomScale = [20], this._debouncedUpdateFrameOffsets = sn(this.updateFrameOffsets, 200), this.targetElements = [], this.onFrameDataChangeListeners = [], this.onZoomChangeListeners = [], this.forceImageCover = t, this.initialZoom = e, this.thresholdSettings = {
|
|
16017
16050
|
useThreshold: !1,
|
|
@@ -16154,7 +16187,7 @@ class wl {
|
|
|
16154
16187
|
return;
|
|
16155
16188
|
}
|
|
16156
16189
|
(!this.offsets || this.offsets.length !== this.frameData.length) && (this.offsets = new Array(this.frameData.length)), this.frameData.forEach((s, o) => {
|
|
16157
|
-
this.offsets[o] =
|
|
16190
|
+
this.offsets[o] = wl(t[o], s, this.imageData, this.forceImageCover);
|
|
16158
16191
|
}), this._debouncedUpdateFrameOffsets(
|
|
16159
16192
|
this.offsets,
|
|
16160
16193
|
n,
|
|
@@ -16233,7 +16266,7 @@ class wl {
|
|
|
16233
16266
|
}), this._debouncedUpdateFrameOffsets(this.offsets, t, this.frameData, this.thresholdSettings));
|
|
16234
16267
|
}
|
|
16235
16268
|
}
|
|
16236
|
-
class
|
|
16269
|
+
class $c {
|
|
16237
16270
|
approveTransaction(t) {
|
|
16238
16271
|
throw new Error("Method not implemented.");
|
|
16239
16272
|
}
|
|
@@ -16392,12 +16425,12 @@ class Lc {
|
|
|
16392
16425
|
return [];
|
|
16393
16426
|
}
|
|
16394
16427
|
}
|
|
16395
|
-
var
|
|
16396
|
-
class
|
|
16428
|
+
var Sl = /* @__PURE__ */ ((r) => (r.SelectFrame = "SelectFrame", r.SelectImage = "SelectImage", r.Position = "Position", r))(Sl || {});
|
|
16429
|
+
class vl extends rt {
|
|
16397
16430
|
constructor(t, e, a) {
|
|
16398
16431
|
super(t, e, a);
|
|
16399
16432
|
const n = e.data;
|
|
16400
|
-
this.frameService = new
|
|
16433
|
+
this.frameService = new yl(n.forceImageCover, n.initialZoomLevel), this.frameService.connectWorkflowManager(t, e.stepName);
|
|
16401
16434
|
}
|
|
16402
16435
|
selectVariant(t) {
|
|
16403
16436
|
const e = this.manager.getRegionElements(this.step.stepName);
|
|
@@ -16566,7 +16599,7 @@ class Sl extends rt {
|
|
|
16566
16599
|
return this.manager.getStepStorage(this.step.stepName);
|
|
16567
16600
|
}
|
|
16568
16601
|
}
|
|
16569
|
-
const
|
|
16602
|
+
const El = y`
|
|
16570
16603
|
query GetLoggedInCustomer($email: String!) {
|
|
16571
16604
|
customer(emailAddress: $email) {
|
|
16572
16605
|
id
|
|
@@ -16609,21 +16642,21 @@ const vl = y`
|
|
|
16609
16642
|
total
|
|
16610
16643
|
}
|
|
16611
16644
|
}
|
|
16612
|
-
`,
|
|
16645
|
+
`, Bl = y`
|
|
16613
16646
|
mutation SetTransactionDesignName($id: String!, $name: String!) {
|
|
16614
16647
|
transactionUpdate(id: $id, designName: $name) {
|
|
16615
16648
|
id
|
|
16616
16649
|
designName
|
|
16617
16650
|
}
|
|
16618
16651
|
}
|
|
16619
|
-
`,
|
|
16652
|
+
`, bl = y`
|
|
16620
16653
|
mutation DuplicateTransaction($id: String!, $template: Boolean!) {
|
|
16621
16654
|
transactionDuplicate(id: $id, template: $template) {
|
|
16622
16655
|
id
|
|
16623
16656
|
workflowViewerLink
|
|
16624
16657
|
}
|
|
16625
16658
|
}
|
|
16626
|
-
`,
|
|
16659
|
+
`, Il = y`
|
|
16627
16660
|
query GetCustomerBundles($id: String!, $limit: Int!, $offset: Int!) {
|
|
16628
16661
|
customerBundlesFeed(id: $id, limit: $limit, offset: $offset) {
|
|
16629
16662
|
items {
|
|
@@ -16636,7 +16669,7 @@ const vl = y`
|
|
|
16636
16669
|
total
|
|
16637
16670
|
}
|
|
16638
16671
|
}
|
|
16639
|
-
`,
|
|
16672
|
+
`, Dl = y`
|
|
16640
16673
|
query GetTransactionsForBundle($id: String!) {
|
|
16641
16674
|
bundles(ids: [$id]) {
|
|
16642
16675
|
id
|
|
@@ -16657,21 +16690,21 @@ const vl = y`
|
|
|
16657
16690
|
}
|
|
16658
16691
|
}
|
|
16659
16692
|
}
|
|
16660
|
-
`,
|
|
16693
|
+
`, Pl = y`
|
|
16661
16694
|
mutation SetBundleName($id: String!, $name: String!) {
|
|
16662
16695
|
bundleUpdate(id: $id, name: $name) {
|
|
16663
16696
|
id
|
|
16664
16697
|
name
|
|
16665
16698
|
}
|
|
16666
16699
|
}
|
|
16667
|
-
`,
|
|
16700
|
+
`, Fl = y`
|
|
16668
16701
|
mutation DuplicateBundle($id: String!, $template: Boolean!) {
|
|
16669
16702
|
bundleDuplicate(id: $id, template: $template) {
|
|
16670
16703
|
id
|
|
16671
16704
|
workflowViewerLink
|
|
16672
16705
|
}
|
|
16673
16706
|
}
|
|
16674
|
-
`,
|
|
16707
|
+
`, xl = y`
|
|
16675
16708
|
query GetBundleTemplates($id: String!, $limit: Int!, $offset: Int!) {
|
|
16676
16709
|
customerBundlesFeed(id: $id, limit: $limit, offset: $offset, template: true) {
|
|
16677
16710
|
items {
|
|
@@ -16684,43 +16717,43 @@ const vl = y`
|
|
|
16684
16717
|
total
|
|
16685
16718
|
}
|
|
16686
16719
|
}
|
|
16687
|
-
`,
|
|
16688
|
-
mutation:
|
|
16720
|
+
`, Vc = async (r, t, e) => await b.getShadowGraphqlClient().mutate({
|
|
16721
|
+
mutation: Pl,
|
|
16689
16722
|
errorPolicy: "all",
|
|
16690
16723
|
variables: {
|
|
16691
16724
|
id: r,
|
|
16692
16725
|
name: t
|
|
16693
16726
|
},
|
|
16694
16727
|
context: e
|
|
16695
|
-
}),
|
|
16696
|
-
mutation:
|
|
16728
|
+
}), zc = async (r, t) => await b.getShadowGraphqlClient().mutate({
|
|
16729
|
+
mutation: Bl,
|
|
16697
16730
|
errorPolicy: "all",
|
|
16698
16731
|
variables: {
|
|
16699
16732
|
id: r,
|
|
16700
16733
|
name: t
|
|
16701
16734
|
}
|
|
16702
|
-
}),
|
|
16703
|
-
mutation:
|
|
16735
|
+
}), Gc = async (r, t) => await b.getShadowGraphqlClient().mutate({
|
|
16736
|
+
mutation: Fl,
|
|
16704
16737
|
errorPolicy: "all",
|
|
16705
16738
|
variables: {
|
|
16706
16739
|
id: r,
|
|
16707
16740
|
template: t
|
|
16708
16741
|
}
|
|
16709
|
-
}),
|
|
16710
|
-
mutation:
|
|
16742
|
+
}), Wc = async (r, t) => await b.getShadowGraphqlClient().mutate({
|
|
16743
|
+
mutation: bl,
|
|
16711
16744
|
errorPolicy: "all",
|
|
16712
16745
|
variables: {
|
|
16713
16746
|
id: r,
|
|
16714
16747
|
template: t
|
|
16715
16748
|
}
|
|
16716
|
-
}),
|
|
16717
|
-
query:
|
|
16749
|
+
}), jc = async (r) => (await b.getShadowGraphqlClient().query({
|
|
16750
|
+
query: El,
|
|
16718
16751
|
errorPolicy: "all",
|
|
16719
16752
|
variables: {
|
|
16720
16753
|
email: r
|
|
16721
16754
|
}
|
|
16722
|
-
})).data.customer,
|
|
16723
|
-
query:
|
|
16755
|
+
})).data.customer, Hc = async (r, t, e) => await b.getShadowGraphqlClient().query({
|
|
16756
|
+
query: Il,
|
|
16724
16757
|
errorPolicy: "all",
|
|
16725
16758
|
fetchPolicy: "no-cache",
|
|
16726
16759
|
variables: {
|
|
@@ -16728,15 +16761,15 @@ const vl = y`
|
|
|
16728
16761
|
offset: e,
|
|
16729
16762
|
limit: t
|
|
16730
16763
|
}
|
|
16731
|
-
}),
|
|
16732
|
-
query:
|
|
16764
|
+
}), qc = async (r, t) => await b.getShadowGraphqlClient().query({
|
|
16765
|
+
query: Dl,
|
|
16733
16766
|
errorPolicy: "all",
|
|
16734
16767
|
fetchPolicy: "no-cache",
|
|
16735
16768
|
variables: {
|
|
16736
16769
|
id: r
|
|
16737
16770
|
},
|
|
16738
16771
|
context: t
|
|
16739
|
-
}),
|
|
16772
|
+
}), Yc = async (r, t, e) => {
|
|
16740
16773
|
var n;
|
|
16741
16774
|
const a = await b.getShadowGraphqlClient().query({
|
|
16742
16775
|
query: Ia,
|
|
@@ -16760,7 +16793,7 @@ const vl = y`
|
|
|
16760
16793
|
}
|
|
16761
16794
|
});
|
|
16762
16795
|
return ((n = a == null ? void 0 : a.data.customerTransactionsFeed) == null ? void 0 : n.items) || [];
|
|
16763
|
-
},
|
|
16796
|
+
}, Jc = async (r, t, e) => {
|
|
16764
16797
|
var n;
|
|
16765
16798
|
const a = await b.getShadowGraphqlClient().query({
|
|
16766
16799
|
query: Ia,
|
|
@@ -16784,7 +16817,7 @@ const vl = y`
|
|
|
16784
16817
|
}
|
|
16785
16818
|
});
|
|
16786
16819
|
return ((n = a == null ? void 0 : a.data.customerTransactionsFeed) == null ? void 0 : n.items) || [];
|
|
16787
|
-
},
|
|
16820
|
+
}, Kc = async (r, t, e) => {
|
|
16788
16821
|
var n;
|
|
16789
16822
|
const a = await b.getShadowGraphqlClient().query({
|
|
16790
16823
|
query: Ia,
|
|
@@ -16804,10 +16837,10 @@ const vl = y`
|
|
|
16804
16837
|
}
|
|
16805
16838
|
});
|
|
16806
16839
|
return ((n = a == null ? void 0 : a.data.customerTransactionsFeed) == null ? void 0 : n.items) || [];
|
|
16807
|
-
},
|
|
16840
|
+
}, _c = async (r, t, e) => {
|
|
16808
16841
|
var n;
|
|
16809
16842
|
const a = await b.getShadowGraphqlClient().query({
|
|
16810
|
-
query:
|
|
16843
|
+
query: xl,
|
|
16811
16844
|
errorPolicy: "all",
|
|
16812
16845
|
fetchPolicy: "no-cache",
|
|
16813
16846
|
variables: {
|
|
@@ -16828,7 +16861,7 @@ const vl = y`
|
|
|
16828
16861
|
console.error("vite-plugin-css-injected-by-js", t);
|
|
16829
16862
|
}
|
|
16830
16863
|
})();
|
|
16831
|
-
var
|
|
16864
|
+
var kl = /* @__PURE__ */ ((r) => (r.Manual = "Manual", r.OnStart = "OnStart", r.OnQuit = "OnQuit", r.OnEnd = "OnEnd", r))(kl || {}), Ml = /* @__PURE__ */ ((r) => (r.Email = "Email", r.FirstName = "FirstName", r.LastName = "LastName", r.Phone = "Phone", r.Apartment = "Apartment", r.City = "City", r.Country = "Country", r.OrganizationName = "OrganizationName", r.PostCode = "PostCode", r.State = "State", r.StreetAddress = "StreetAddress", r.DesignName = "DesignName", r.PurchaseOrder = "PurchaseOrder", r.DispatchDate = "DispatchDate", r.Stakeholders = "Stakeholders", r))(Ml || {}), K;
|
|
16832
16865
|
K = { __e: function(r, t, e, a) {
|
|
16833
16866
|
for (var n, i, s; t = t.__; )
|
|
16834
16867
|
if ((n = t.__c) && !n.__)
|
|
@@ -16841,7 +16874,7 @@ K = { __e: function(r, t, e, a) {
|
|
|
16841
16874
|
throw r;
|
|
16842
16875
|
} }, typeof Promise == "function" && Promise.prototype.then.bind(Promise.resolve());
|
|
16843
16876
|
var st, qe, Ja, tr = [], Ye = [], Ka = K.__b, _a = K.__r, Xa = K.diffed, Za = K.__c, tn = K.unmount;
|
|
16844
|
-
function
|
|
16877
|
+
function Tl() {
|
|
16845
16878
|
for (var r; r = tr.shift(); )
|
|
16846
16879
|
if (r.__P && r.__H)
|
|
16847
16880
|
try {
|
|
@@ -16861,7 +16894,7 @@ K.__b = function(r) {
|
|
|
16861
16894
|
}, K.diffed = function(r) {
|
|
16862
16895
|
Xa && Xa(r);
|
|
16863
16896
|
var t = r.__c;
|
|
16864
|
-
t && t.__H && (t.__H.__h.length && (tr.push(t) !== 1 && Ja === K.requestAnimationFrame || ((Ja = K.requestAnimationFrame) ||
|
|
16897
|
+
t && t.__H && (t.__H.__h.length && (tr.push(t) !== 1 && Ja === K.requestAnimationFrame || ((Ja = K.requestAnimationFrame) || Ql)(Tl)), t.__H.__.forEach(function(e) {
|
|
16865
16898
|
e.i && (e.__H = e.i), e.__V !== Ye && (e.__ = e.__V), e.i = void 0, e.__V = Ye;
|
|
16866
16899
|
})), qe = st = null;
|
|
16867
16900
|
}, K.__c = function(r, t) {
|
|
@@ -16888,7 +16921,7 @@ K.__b = function(r) {
|
|
|
16888
16921
|
}), e.__H = void 0, t && K.__e(t, e.__v));
|
|
16889
16922
|
};
|
|
16890
16923
|
var en = typeof requestAnimationFrame == "function";
|
|
16891
|
-
function
|
|
16924
|
+
function Ql(r) {
|
|
16892
16925
|
var t, e = function() {
|
|
16893
16926
|
clearTimeout(a), en && cancelAnimationFrame(t), setTimeout(r);
|
|
16894
16927
|
}, a = setTimeout(e, 100);
|
|
@@ -16904,35 +16937,35 @@ function la(r) {
|
|
|
16904
16937
|
}
|
|
16905
16938
|
export {
|
|
16906
16939
|
da as AddonHandle,
|
|
16907
|
-
|
|
16940
|
+
Tc as ArrayInput,
|
|
16908
16941
|
et as AspectType,
|
|
16909
16942
|
yt as AssetNotFoundError,
|
|
16910
16943
|
he as AssetType,
|
|
16911
|
-
|
|
16912
|
-
|
|
16913
|
-
|
|
16944
|
+
Pc as BringForwardCommand,
|
|
16945
|
+
Dc as BringToBackCommand,
|
|
16946
|
+
Ic as BringToFrontCommand,
|
|
16914
16947
|
mr as BundleDesignCreationCartAddMode,
|
|
16915
16948
|
R as CanvasCommand,
|
|
16916
16949
|
se as CollectionProduct,
|
|
16917
16950
|
Ha as ColorOptionGlobalPropertyHandle,
|
|
16918
16951
|
Ki as CommandContext,
|
|
16919
|
-
|
|
16920
|
-
|
|
16952
|
+
Ml as ConversionDataType,
|
|
16953
|
+
kl as ConversionLocation,
|
|
16921
16954
|
W as CreateElementCommand,
|
|
16922
16955
|
Un as CreateLayoutCommand,
|
|
16923
16956
|
vt as DeleteElementCommand,
|
|
16924
16957
|
Ao as DigitalContentStepHandle,
|
|
16925
16958
|
Go as FileUploadGlobalPropertyHandle,
|
|
16926
16959
|
oe as FlowExecutionNodeResult,
|
|
16927
|
-
|
|
16928
|
-
|
|
16960
|
+
ol as FlowExecutionResult,
|
|
16961
|
+
sl as FlowService,
|
|
16929
16962
|
ts as FontAlignmentCommand,
|
|
16930
16963
|
Xi as FontColorCommand,
|
|
16931
16964
|
Zi as FontSizeCommand,
|
|
16932
16965
|
Va as FontSourceCommand,
|
|
16933
|
-
|
|
16934
|
-
|
|
16935
|
-
|
|
16966
|
+
yl as FrameService,
|
|
16967
|
+
Sl as FrameStep,
|
|
16968
|
+
vl as FrameStepHandle,
|
|
16936
16969
|
Ba as GlobalPropertyHandle,
|
|
16937
16970
|
O as GroupCommand,
|
|
16938
16971
|
ao as IllustrationStepHandle,
|
|
@@ -16940,37 +16973,37 @@ export {
|
|
|
16940
16973
|
co as InformationStepHandle,
|
|
16941
16974
|
qa as IntegrationProduct,
|
|
16942
16975
|
fr as IntegrationType,
|
|
16943
|
-
|
|
16976
|
+
Sc as LayoutElementFactory,
|
|
16944
16977
|
T as LayoutElementType,
|
|
16945
16978
|
Y as LayoutNotFoundError,
|
|
16946
16979
|
Gt as LayoutRenderingPurpose,
|
|
16947
16980
|
no as MaterialStepHandle,
|
|
16948
16981
|
fe as MisconfigurationError,
|
|
16949
|
-
|
|
16982
|
+
$c as MockWorkflowManager,
|
|
16950
16983
|
ro as ModelStepHandle,
|
|
16951
16984
|
uo as ModuleStepHandle,
|
|
16952
|
-
|
|
16985
|
+
vc as MoveCommand,
|
|
16953
16986
|
Xn as ObjectInput,
|
|
16954
|
-
|
|
16987
|
+
ll as ObjectInputType,
|
|
16955
16988
|
_n as OptionGlobalPropertyHandle,
|
|
16956
16989
|
ge as OptionNotFoundError,
|
|
16957
16990
|
Dt as ParseError,
|
|
16958
16991
|
io as PictureStepHandle,
|
|
16959
16992
|
pr as ProductCameraRig,
|
|
16960
|
-
|
|
16993
|
+
Xo as ProductCollection,
|
|
16961
16994
|
zt as ProductWorkflow,
|
|
16962
16995
|
Ht as PromiseCache,
|
|
16963
16996
|
Pn as PromiseQueue,
|
|
16964
16997
|
so as QuestionStepHandle,
|
|
16965
16998
|
Dn as QueueablePromise,
|
|
16966
|
-
|
|
16999
|
+
Bc as ResizeCommand,
|
|
16967
17000
|
Wt as ResourceNotFoundError,
|
|
16968
|
-
|
|
17001
|
+
Ec as RotateCommand,
|
|
16969
17002
|
H as ScaleAxis,
|
|
16970
|
-
|
|
17003
|
+
Fc as SendBackwardsCommand,
|
|
16971
17004
|
oo as ShapeStepHandle,
|
|
16972
17005
|
gr as ShareActionType,
|
|
16973
|
-
|
|
17006
|
+
Nc as SpiffCommerceClient,
|
|
16974
17007
|
me as StakeholderType,
|
|
16975
17008
|
hr as StepAspectType,
|
|
16976
17009
|
rt as StepHandle,
|
|
@@ -16978,85 +17011,85 @@ export {
|
|
|
16978
17011
|
kt as TextAlgorithm,
|
|
16979
17012
|
ns as TextChangeCommand,
|
|
16980
17013
|
Wo as TextGlobalPropertyHandle,
|
|
16981
|
-
|
|
17014
|
+
Mc as TextInput,
|
|
16982
17015
|
lo as TextStepHandle,
|
|
16983
|
-
|
|
16984
|
-
|
|
17016
|
+
tl as Transform,
|
|
17017
|
+
Zo as TransformCollection,
|
|
16985
17018
|
z as UnhandledBehaviorError,
|
|
16986
17019
|
Cr as UnitOfMeasurement,
|
|
16987
|
-
|
|
17020
|
+
bc as UpdateImageSourceCommand,
|
|
16988
17021
|
it as Variant,
|
|
16989
17022
|
Bo as WorkflowExperienceEventType,
|
|
16990
17023
|
bo as WorkflowExperienceImpl,
|
|
16991
17024
|
U as assetService,
|
|
16992
17025
|
zr as browserColorToHex,
|
|
16993
|
-
|
|
17026
|
+
wc as cmPerPixel,
|
|
16994
17027
|
Co as createDesign,
|
|
16995
|
-
|
|
16996
|
-
|
|
17028
|
+
fc as currentDirection,
|
|
17029
|
+
rc as dataUrlFromExternalUrl,
|
|
16997
17030
|
je as designService,
|
|
16998
17031
|
Ae as determineCorrectFontSizeAndLines,
|
|
16999
17032
|
$n as digitalContentStepService,
|
|
17000
17033
|
dt as domParser,
|
|
17001
|
-
|
|
17002
|
-
|
|
17034
|
+
Gc as duplicateBundle,
|
|
17035
|
+
Wc as duplicateTransaction,
|
|
17003
17036
|
at as fetchAsString,
|
|
17004
|
-
|
|
17037
|
+
cc as findAngle,
|
|
17005
17038
|
L as findElement,
|
|
17006
|
-
|
|
17039
|
+
oc as findPmsColors,
|
|
17007
17040
|
Lt as frameDataCache,
|
|
17008
17041
|
pt as frameStepService,
|
|
17009
17042
|
Q as generate,
|
|
17010
17043
|
Ro as generateCommands,
|
|
17011
17044
|
ot as generateSVGWithUnknownColors,
|
|
17012
|
-
|
|
17045
|
+
kc as generateStateFromDesignInputSteps,
|
|
17013
17046
|
De as getAttributesFromArrayBuffer,
|
|
17014
|
-
|
|
17015
|
-
|
|
17016
|
-
|
|
17017
|
-
|
|
17018
|
-
|
|
17019
|
-
|
|
17047
|
+
lc as getAxisAlignedBoundingBox,
|
|
17048
|
+
wl as getBoundedOffsets,
|
|
17049
|
+
Uc as getBundleThemeConfiguration,
|
|
17050
|
+
jc as getCustomer,
|
|
17051
|
+
Hc as getCustomerBundles,
|
|
17052
|
+
pc as getElementVertices,
|
|
17020
17053
|
xe as getFrameData,
|
|
17021
|
-
|
|
17022
|
-
|
|
17023
|
-
|
|
17024
|
-
|
|
17025
|
-
|
|
17026
|
-
|
|
17027
|
-
|
|
17054
|
+
Cl as getIntegration,
|
|
17055
|
+
mc as getNEPoint,
|
|
17056
|
+
hc as getNWPoint,
|
|
17057
|
+
Jc as getOrderedTransactions,
|
|
17058
|
+
Oc as getOverrideThemeConfiguration,
|
|
17059
|
+
uc as getPointOfRotation,
|
|
17060
|
+
gc as getSEPoint,
|
|
17028
17061
|
wa as getSvgElement,
|
|
17029
|
-
|
|
17030
|
-
|
|
17031
|
-
|
|
17032
|
-
|
|
17033
|
-
|
|
17034
|
-
|
|
17035
|
-
|
|
17036
|
-
|
|
17062
|
+
_c as getTemplateBundles,
|
|
17063
|
+
Kc as getTemplateTransactions,
|
|
17064
|
+
Rc as getTransaction,
|
|
17065
|
+
Lc as getTransactionThemeConfiguration,
|
|
17066
|
+
qc as getTransactionsForBundle,
|
|
17067
|
+
Ac as getTrueCoordinates,
|
|
17068
|
+
Yc as getUnorderedTransactions,
|
|
17069
|
+
Qc as getWorkflow,
|
|
17037
17070
|
Zn as getWorkflows,
|
|
17038
17071
|
b as graphQlManager,
|
|
17039
17072
|
de as illustrationStepService,
|
|
17040
|
-
|
|
17073
|
+
dc as isCloseToValue,
|
|
17041
17074
|
Tt as loadFont,
|
|
17042
|
-
|
|
17075
|
+
sc as matchHexToPms,
|
|
17043
17076
|
Vn as materialStepService,
|
|
17044
|
-
|
|
17045
|
-
|
|
17077
|
+
_o as metafieldManager,
|
|
17078
|
+
Cc as mmPerPixel,
|
|
17046
17079
|
zn as modelStepService,
|
|
17047
17080
|
fa as modifySVGColors,
|
|
17048
17081
|
Gn as moduleStepService,
|
|
17049
|
-
|
|
17050
|
-
|
|
17082
|
+
Vc as nameBundle,
|
|
17083
|
+
zc as nameTransaction,
|
|
17051
17084
|
X as optionService,
|
|
17052
|
-
|
|
17085
|
+
yc as outlineFontsInSvg,
|
|
17053
17086
|
At as patternImageDataCache,
|
|
17054
17087
|
k as persistenceService,
|
|
17055
17088
|
Wn as pictureStepService,
|
|
17056
|
-
|
|
17089
|
+
ic as pmsToRgb,
|
|
17057
17090
|
jn as questionStepService,
|
|
17058
|
-
|
|
17059
|
-
|
|
17091
|
+
nc as registerFetchImplementation,
|
|
17092
|
+
ac as registerWindowImplementation,
|
|
17060
17093
|
La as rehydrateSerializedLayout,
|
|
17061
17094
|
Lr as rgbToPms,
|
|
17062
17095
|
re as rotateAroundPoint,
|
|
@@ -17066,7 +17099,7 @@ export {
|
|
|
17066
17099
|
$t as shapeStepService,
|
|
17067
17100
|
is as shortenUrl,
|
|
17068
17101
|
wt as spiffCoreConfiguration,
|
|
17069
|
-
|
|
17102
|
+
xc as stepAspectValuesToDesignInputSteps,
|
|
17070
17103
|
Qa as svgColorValueToDefinition,
|
|
17071
17104
|
Rn as svgStringDimensions,
|
|
17072
17105
|
Aa as svgToDataUrl,
|