@spiffcommerce/core 26.25.0 → 26.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +249 -214
- 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: {}
|
|
@@ -13561,7 +13561,20 @@ class Ha extends _n {
|
|
|
13561
13561
|
return ((t = this.bundle.getGlobalPropertyStateManager().getAspectStorage(this.property.name)) == null ? void 0 : t.customColor) || ((e = this.getCurrentVariant()) == null ? void 0 : e.getColor()) || "#ffffff";
|
|
13562
13562
|
}
|
|
13563
13563
|
}
|
|
13564
|
-
|
|
13564
|
+
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) => {
|
|
13565
|
+
const n = jo(
|
|
13566
|
+
r,
|
|
13567
|
+
t,
|
|
13568
|
+
e,
|
|
13569
|
+
D.Illustration
|
|
13570
|
+
).map((i) => {
|
|
13571
|
+
var l;
|
|
13572
|
+
const s = (l = i.getCurrentVariant()) == null ? void 0 : l.getAssetResource(), o = i.getColors();
|
|
13573
|
+
return !(s != null && s.assetConfiguration) || !o ? 0 : Object.getOwnPropertyNames(o).length;
|
|
13574
|
+
});
|
|
13575
|
+
return Math.max(...n);
|
|
13576
|
+
};
|
|
13577
|
+
class qo {
|
|
13565
13578
|
constructor(t, e, a, n, i) {
|
|
13566
13579
|
this.bundleId = t, this.bundleOwnerId = e, this.configuration = a, this.bundleOptions = i;
|
|
13567
13580
|
const s = i == null ? void 0 : i.existingGlobalPropertyState;
|
|
@@ -13737,7 +13750,7 @@ class jo {
|
|
|
13737
13750
|
throw new Error(`Unable to create global property state for bundle: ${this.bundleId}`);
|
|
13738
13751
|
}
|
|
13739
13752
|
}
|
|
13740
|
-
class
|
|
13753
|
+
class Yo {
|
|
13741
13754
|
constructor(t) {
|
|
13742
13755
|
this.setState(t);
|
|
13743
13756
|
}
|
|
@@ -13825,7 +13838,7 @@ class Ho {
|
|
|
13825
13838
|
};
|
|
13826
13839
|
}
|
|
13827
13840
|
}
|
|
13828
|
-
const
|
|
13841
|
+
const Jo = y`
|
|
13829
13842
|
query GetManyMetafields($entityIds: [String!]!) {
|
|
13830
13843
|
metafieldsMany(entityIds: $entityIds) {
|
|
13831
13844
|
id
|
|
@@ -13837,7 +13850,7 @@ const qo = y`
|
|
|
13837
13850
|
}
|
|
13838
13851
|
}
|
|
13839
13852
|
`;
|
|
13840
|
-
class
|
|
13853
|
+
class Ko {
|
|
13841
13854
|
constructor() {
|
|
13842
13855
|
this.internalMap = /* @__PURE__ */ new Map();
|
|
13843
13856
|
}
|
|
@@ -13859,7 +13872,7 @@ class Yo {
|
|
|
13859
13872
|
if (t.every((a) => this.internalMap.has(a)))
|
|
13860
13873
|
return;
|
|
13861
13874
|
const e = await b.getShadowGraphqlClient().query({
|
|
13862
|
-
query:
|
|
13875
|
+
query: Jo,
|
|
13863
13876
|
errorPolicy: "all",
|
|
13864
13877
|
variables: {
|
|
13865
13878
|
entityIds: t.filter((a) => !this.internalMap.has(a))
|
|
@@ -13900,8 +13913,8 @@ class Yo {
|
|
|
13900
13913
|
return JSON.parse(n.value);
|
|
13901
13914
|
}
|
|
13902
13915
|
}
|
|
13903
|
-
const
|
|
13904
|
-
class
|
|
13916
|
+
const _o = new Ko();
|
|
13917
|
+
class Xo {
|
|
13905
13918
|
constructor(t) {
|
|
13906
13919
|
this.fullFetched = !1, this.collection = t;
|
|
13907
13920
|
const e = this.collection.productCollectionProducts;
|
|
@@ -14015,7 +14028,7 @@ class Ko {
|
|
|
14015
14028
|
}
|
|
14016
14029
|
getTransformCollection() {
|
|
14017
14030
|
if (this.collection.transformCollection)
|
|
14018
|
-
return new
|
|
14031
|
+
return new Zo(this.collection.transformCollection);
|
|
14019
14032
|
}
|
|
14020
14033
|
/**
|
|
14021
14034
|
* The raw collection resource. This is generally not needed and should be avoided.
|
|
@@ -14157,7 +14170,7 @@ class se {
|
|
|
14157
14170
|
* @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
14171
|
*/
|
|
14159
14172
|
async requestMetafields(t) {
|
|
14160
|
-
return
|
|
14173
|
+
return _o.requestKeysForEntity(this.product.id, t);
|
|
14161
14174
|
}
|
|
14162
14175
|
}
|
|
14163
14176
|
class zt {
|
|
@@ -14184,7 +14197,7 @@ class zt {
|
|
|
14184
14197
|
return this.workflow.imageUrl;
|
|
14185
14198
|
}
|
|
14186
14199
|
}
|
|
14187
|
-
class
|
|
14200
|
+
class Zo {
|
|
14188
14201
|
constructor(t) {
|
|
14189
14202
|
this.collection = t;
|
|
14190
14203
|
}
|
|
@@ -14204,10 +14217,10 @@ class _o {
|
|
|
14204
14217
|
* @returns The transforms in this collection.
|
|
14205
14218
|
*/
|
|
14206
14219
|
getTransforms() {
|
|
14207
|
-
return this.collection.transforms.map((t) => new
|
|
14220
|
+
return this.collection.transforms.map((t) => new tl(t));
|
|
14208
14221
|
}
|
|
14209
14222
|
}
|
|
14210
|
-
class
|
|
14223
|
+
class tl {
|
|
14211
14224
|
constructor(t) {
|
|
14212
14225
|
this.transform = t;
|
|
14213
14226
|
}
|
|
@@ -14234,7 +14247,34 @@ class Xo {
|
|
|
14234
14247
|
};
|
|
14235
14248
|
}
|
|
14236
14249
|
}
|
|
14237
|
-
|
|
14250
|
+
class el {
|
|
14251
|
+
constructor() {
|
|
14252
|
+
this.listeners = {};
|
|
14253
|
+
}
|
|
14254
|
+
// Add a listener for a specific event type
|
|
14255
|
+
on(t, e) {
|
|
14256
|
+
this.listeners[t] || (this.listeners[t] = []), this.listeners[t].push(e);
|
|
14257
|
+
}
|
|
14258
|
+
// Remove a listener for a specific event type
|
|
14259
|
+
off(t, e) {
|
|
14260
|
+
this.listeners[t] && (this.listeners[t] = this.listeners[t].filter((a) => a !== e));
|
|
14261
|
+
}
|
|
14262
|
+
// Emit an event with the given payload
|
|
14263
|
+
emit(t, e) {
|
|
14264
|
+
if (this.listeners[t])
|
|
14265
|
+
for (const a of this.listeners[t])
|
|
14266
|
+
a(e);
|
|
14267
|
+
}
|
|
14268
|
+
// Clear all listeners for a specific event or all events
|
|
14269
|
+
clear(t) {
|
|
14270
|
+
if (t)
|
|
14271
|
+
delete this.listeners[t];
|
|
14272
|
+
else
|
|
14273
|
+
for (const e in this.listeners)
|
|
14274
|
+
delete this.listeners[e];
|
|
14275
|
+
}
|
|
14276
|
+
}
|
|
14277
|
+
const al = y`
|
|
14238
14278
|
mutation AddAddressToBundle(
|
|
14239
14279
|
$bundleId: String!
|
|
14240
14280
|
$streetAddress: String
|
|
@@ -14256,38 +14296,26 @@ const Zo = y`
|
|
|
14256
14296
|
id
|
|
14257
14297
|
}
|
|
14258
14298
|
}
|
|
14259
|
-
`,
|
|
14299
|
+
`, nl = y`
|
|
14260
14300
|
mutation AddOrganizationToBundle($bundleId: String!, $organizationName: String!) {
|
|
14261
14301
|
organizationAttachToBundle(bundleId: $bundleId, organizationName: $organizationName) {
|
|
14262
14302
|
id
|
|
14263
14303
|
}
|
|
14264
14304
|
}
|
|
14265
|
-
`,
|
|
14305
|
+
`, rl = y`
|
|
14266
14306
|
mutation GenerateQuoteId($id: String!) {
|
|
14267
14307
|
bundleGenerateQuoteId(id: $id) {
|
|
14268
14308
|
id
|
|
14269
14309
|
quoteId
|
|
14270
14310
|
}
|
|
14271
14311
|
}
|
|
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
|
-
};
|
|
14312
|
+
`;
|
|
14285
14313
|
class He {
|
|
14286
14314
|
constructor(t, e, a, n, i, s) {
|
|
14287
14315
|
var c, d, A;
|
|
14288
|
-
this.
|
|
14316
|
+
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
14317
|
const o = (d = this.productCollection) == null ? void 0 : d.globalPropertyConfiguration;
|
|
14290
|
-
this.globalConfigurationPropertyId = o == null ? void 0 : o.id, this.globalPropertyStateManager = new
|
|
14318
|
+
this.globalConfigurationPropertyId = o == null ? void 0 : o.id, this.globalPropertyStateManager = new qo(
|
|
14291
14319
|
this.id,
|
|
14292
14320
|
this.ownerId,
|
|
14293
14321
|
o,
|
|
@@ -14324,7 +14352,7 @@ class He {
|
|
|
14324
14352
|
async generateQuoteId() {
|
|
14325
14353
|
var a, n;
|
|
14326
14354
|
const e = (n = (a = (await b.getShadowGraphqlClient().mutate({
|
|
14327
|
-
mutation:
|
|
14355
|
+
mutation: rl,
|
|
14328
14356
|
variables: {
|
|
14329
14357
|
id: this.id
|
|
14330
14358
|
},
|
|
@@ -14336,7 +14364,7 @@ class He {
|
|
|
14336
14364
|
}
|
|
14337
14365
|
async attachAddress(t, e, a, n, i, s) {
|
|
14338
14366
|
await b.getShadowGraphqlClient().mutate({
|
|
14339
|
-
mutation:
|
|
14367
|
+
mutation: al,
|
|
14340
14368
|
variables: {
|
|
14341
14369
|
bundleId: this.id,
|
|
14342
14370
|
streetAddress: t || void 0,
|
|
@@ -14353,7 +14381,7 @@ class He {
|
|
|
14353
14381
|
}
|
|
14354
14382
|
async attachOrganization(t) {
|
|
14355
14383
|
await b.getShadowGraphqlClient().mutate({
|
|
14356
|
-
mutation:
|
|
14384
|
+
mutation: nl,
|
|
14357
14385
|
variables: {
|
|
14358
14386
|
bundleId: this.id,
|
|
14359
14387
|
organizationName: t
|
|
@@ -14370,11 +14398,10 @@ class He {
|
|
|
14370
14398
|
return this.initializationPromise;
|
|
14371
14399
|
}
|
|
14372
14400
|
addEventListener(t, e) {
|
|
14373
|
-
this.
|
|
14401
|
+
this.eventEmitter.on(t, e);
|
|
14374
14402
|
}
|
|
14375
14403
|
removeEventListener(t, e) {
|
|
14376
|
-
|
|
14377
|
-
n > -1 && a.splice(n, 1);
|
|
14404
|
+
this.eventEmitter.off(t, e);
|
|
14378
14405
|
}
|
|
14379
14406
|
getClient() {
|
|
14380
14407
|
return this.client;
|
|
@@ -14427,7 +14454,7 @@ class He {
|
|
|
14427
14454
|
return this.workflowExperiences.map((t) => t.getTotalPriceSubunits()).reduce((t, e) => t + e, 0);
|
|
14428
14455
|
}
|
|
14429
14456
|
getProductCollection() {
|
|
14430
|
-
return this.productCollection ? new
|
|
14457
|
+
return this.productCollection ? new Xo(this.productCollection) : void 0;
|
|
14431
14458
|
}
|
|
14432
14459
|
async initializeAdditionalRequiredColorChannels(t) {
|
|
14433
14460
|
var e, a, n, i;
|
|
@@ -14438,7 +14465,7 @@ class He {
|
|
|
14438
14465
|
(d) => d.name === l
|
|
14439
14466
|
);
|
|
14440
14467
|
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 =
|
|
14468
|
+
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
14469
|
this.getWorkflowExperiences(),
|
|
14443
14470
|
this.globalConfigurationPropertyId || "",
|
|
14444
14471
|
l
|
|
@@ -14457,6 +14484,9 @@ class He {
|
|
|
14457
14484
|
const e = await this.getGlobalProperties();
|
|
14458
14485
|
for (const a of e)
|
|
14459
14486
|
await a.applyGlobalState([t]);
|
|
14487
|
+
this.fireEvent("workflow-experience-added", {
|
|
14488
|
+
workflowExperiences: [t]
|
|
14489
|
+
});
|
|
14460
14490
|
}
|
|
14461
14491
|
async addWorkflowExperiences(t) {
|
|
14462
14492
|
for (const o of t)
|
|
@@ -14490,7 +14520,9 @@ class He {
|
|
|
14490
14520
|
for (const l of o)
|
|
14491
14521
|
await l.applyGlobalState(t);
|
|
14492
14522
|
};
|
|
14493
|
-
await Promise.all([this.updateTransactionOrder(), s()]), this.workflowExperiences.forEach((o) => o.checkForPriceBreakChanges())
|
|
14523
|
+
await Promise.all([this.updateTransactionOrder(), s()]), this.workflowExperiences.forEach((o) => o.checkForPriceBreakChanges()), this.fireEvent("workflow-experience-added", {
|
|
14524
|
+
workflowExperiences: this.workflowExperiences
|
|
14525
|
+
});
|
|
14494
14526
|
}
|
|
14495
14527
|
async appendWorkflowExperience(t, e = !0) {
|
|
14496
14528
|
const a = t.getWorkflowManager().getTransaction().id;
|
|
@@ -14513,7 +14545,9 @@ class He {
|
|
|
14513
14545
|
}
|
|
14514
14546
|
async removeWorkflowExperience(t) {
|
|
14515
14547
|
const e = this.workflowExperiences.indexOf(t);
|
|
14516
|
-
await this.removeTransaction(e, this.workflowExperiences[e].getWorkflowManager().getTransaction())
|
|
14548
|
+
await this.removeTransaction(e, this.workflowExperiences[e].getWorkflowManager().getTransaction()), this.fireEvent("workflow-experience-added", {
|
|
14549
|
+
workflowExperiences: [t]
|
|
14550
|
+
});
|
|
14517
14551
|
}
|
|
14518
14552
|
async removeWorkflowExperiences(t) {
|
|
14519
14553
|
await this.removeTransactions(t.map((e) => e.getWorkflowManager().getTransaction()));
|
|
@@ -14532,7 +14566,7 @@ class He {
|
|
|
14532
14566
|
const n = this.workflowExperiences.find(
|
|
14533
14567
|
(i) => i.getWorkflowManager().getTransaction().id === e.id
|
|
14534
14568
|
);
|
|
14535
|
-
n.setBundle(void 0), this.previewService && n.getWorkflowManager().ejectFromPreviewService(), this.bundleStateManager.removeStateForTransaction(e.id), await b.getShadowGraphqlClient().mutate({
|
|
14569
|
+
if (n.setBundle(void 0), this.previewService && n.getWorkflowManager().ejectFromPreviewService(), this.bundleStateManager.removeStateForTransaction(e.id), await b.getShadowGraphqlClient().mutate({
|
|
14536
14570
|
mutation: $s,
|
|
14537
14571
|
variables: {
|
|
14538
14572
|
id: this.id,
|
|
@@ -14544,7 +14578,12 @@ class He {
|
|
|
14544
14578
|
context: {
|
|
14545
14579
|
bundleOwnerId: this.ownerId
|
|
14546
14580
|
}
|
|
14547
|
-
}), a
|
|
14581
|
+
}), a) {
|
|
14582
|
+
const i = this.workflowExperiences.splice(t, 1);
|
|
14583
|
+
this.workflowExperiences.forEach((s) => s.checkForPriceBreakChanges()), n.checkForPriceBreakChanges(), await this.updateTransactionOrder(), this.fireEvent("workflow-experience-removed", {
|
|
14584
|
+
workflowExperiences: i
|
|
14585
|
+
});
|
|
14586
|
+
}
|
|
14548
14587
|
} else
|
|
14549
14588
|
throw new Error("Unable to remove workflow experience from bundle - Not Found! - " + e.id);
|
|
14550
14589
|
}
|
|
@@ -14576,6 +14615,8 @@ class He {
|
|
|
14576
14615
|
context: {
|
|
14577
14616
|
bundleOwnerId: this.ownerId
|
|
14578
14617
|
}
|
|
14618
|
+
}), this.fireEvent("workflow-experience-removed", {
|
|
14619
|
+
workflowExperiences: a
|
|
14579
14620
|
}), await this.updateTransactionOrder();
|
|
14580
14621
|
}
|
|
14581
14622
|
async insertWorkflowExperience(t, e) {
|
|
@@ -14889,13 +14930,7 @@ class He {
|
|
|
14889
14930
|
}
|
|
14890
14931
|
}
|
|
14891
14932
|
fireEvent(t, e) {
|
|
14892
|
-
|
|
14893
|
-
(n) => n({
|
|
14894
|
-
bundle: this,
|
|
14895
|
-
event: t,
|
|
14896
|
-
data: e
|
|
14897
|
-
})
|
|
14898
|
-
);
|
|
14933
|
+
this.eventEmitter.emit(t, e);
|
|
14899
14934
|
}
|
|
14900
14935
|
getShareActions() {
|
|
14901
14936
|
return this.shareActions;
|
|
@@ -14938,14 +14973,14 @@ class He {
|
|
|
14938
14973
|
};
|
|
14939
14974
|
}
|
|
14940
14975
|
}
|
|
14941
|
-
const
|
|
14976
|
+
const il = y`
|
|
14942
14977
|
mutation processFlowCreate($processFlowId: String!, $inputs: [String]!) {
|
|
14943
14978
|
processExecutionCreate(processFlowId: $processFlowId, inputs: $inputs) {
|
|
14944
14979
|
id
|
|
14945
14980
|
}
|
|
14946
14981
|
}
|
|
14947
14982
|
`;
|
|
14948
|
-
class
|
|
14983
|
+
class sl {
|
|
14949
14984
|
/**
|
|
14950
14985
|
*
|
|
14951
14986
|
* @param id
|
|
@@ -14956,7 +14991,7 @@ class il {
|
|
|
14956
14991
|
async execute(t, e, a) {
|
|
14957
14992
|
var A, u, h;
|
|
14958
14993
|
const i = (u = (A = (await b.getShadowGraphqlClient().mutate({
|
|
14959
|
-
mutation:
|
|
14994
|
+
mutation: il,
|
|
14960
14995
|
variables: {
|
|
14961
14996
|
processFlowId: t,
|
|
14962
14997
|
inputs: [...e.map((m) => m.getValueForTransmission())]
|
|
@@ -14998,7 +15033,7 @@ class il {
|
|
|
14998
15033
|
"Execution has failed to complete. See Automation > FLows in Flight on partner account on SpiffCommerce Hub."
|
|
14999
15034
|
);
|
|
15000
15035
|
if (m.completedAt) {
|
|
15001
|
-
o = !0, d = new
|
|
15036
|
+
o = !0, d = new ol(m);
|
|
15002
15037
|
break;
|
|
15003
15038
|
}
|
|
15004
15039
|
l += 1;
|
|
@@ -15012,7 +15047,7 @@ class il {
|
|
|
15012
15047
|
return Promise.resolve(d);
|
|
15013
15048
|
}
|
|
15014
15049
|
}
|
|
15015
|
-
class
|
|
15050
|
+
class ol {
|
|
15016
15051
|
constructor(t) {
|
|
15017
15052
|
this.execution = t;
|
|
15018
15053
|
}
|
|
@@ -15097,8 +15132,8 @@ class ba {
|
|
|
15097
15132
|
return t.startsWith("[") ? JSON.stringify(JSON.parse(t)) : t;
|
|
15098
15133
|
}
|
|
15099
15134
|
}
|
|
15100
|
-
var
|
|
15101
|
-
class
|
|
15135
|
+
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 || {});
|
|
15136
|
+
class Mc extends ba {
|
|
15102
15137
|
constructor(t) {
|
|
15103
15138
|
super(`"${t}"`);
|
|
15104
15139
|
}
|
|
@@ -15113,7 +15148,7 @@ class Xn extends ba {
|
|
|
15113
15148
|
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
15149
|
}
|
|
15115
15150
|
}
|
|
15116
|
-
class
|
|
15151
|
+
class Tc extends ba {
|
|
15117
15152
|
constructor(t) {
|
|
15118
15153
|
super(`[${t.map((e) => e.getRaw()).join(",")}]`);
|
|
15119
15154
|
}
|
|
@@ -15171,7 +15206,7 @@ const Ya = y`
|
|
|
15171
15206
|
}
|
|
15172
15207
|
}
|
|
15173
15208
|
}
|
|
15174
|
-
`,
|
|
15209
|
+
`, cl = y`
|
|
15175
15210
|
mutation CustomerCreate($details: CustomerDetailsInput!) {
|
|
15176
15211
|
customerCreate(details: $details) {
|
|
15177
15212
|
id
|
|
@@ -15181,7 +15216,7 @@ const Ya = y`
|
|
|
15181
15216
|
}
|
|
15182
15217
|
}
|
|
15183
15218
|
}
|
|
15184
|
-
`,
|
|
15219
|
+
`, dl = y`
|
|
15185
15220
|
mutation CustomerAuthenticate($loginToken: String!) {
|
|
15186
15221
|
customerAuthenticate(loginToken: $loginToken) {
|
|
15187
15222
|
id
|
|
@@ -15211,11 +15246,11 @@ const Ya = y`
|
|
|
15211
15246
|
}
|
|
15212
15247
|
}
|
|
15213
15248
|
}
|
|
15214
|
-
`,
|
|
15249
|
+
`, Al = y`
|
|
15215
15250
|
mutation CustomerGenerateVerificationCode($emailAddress: String!) {
|
|
15216
15251
|
customerGenerateVerificationCode(emailAddress: $emailAddress)
|
|
15217
15252
|
}
|
|
15218
|
-
`,
|
|
15253
|
+
`, ul = y`
|
|
15219
15254
|
mutation CustomerVerifyCode($emailAddress: String!, $verificationCode: String!) {
|
|
15220
15255
|
customerVerifyCode(emailAddress: $emailAddress, verificationCode: $verificationCode) {
|
|
15221
15256
|
id
|
|
@@ -15246,7 +15281,7 @@ const Ya = y`
|
|
|
15246
15281
|
}
|
|
15247
15282
|
}
|
|
15248
15283
|
}
|
|
15249
|
-
`,
|
|
15284
|
+
`, hl = y`
|
|
15250
15285
|
query CustomerMetafields($id: String!) {
|
|
15251
15286
|
metafields(entityId: $id) {
|
|
15252
15287
|
id
|
|
@@ -15264,7 +15299,7 @@ const Ya = y`
|
|
|
15264
15299
|
}
|
|
15265
15300
|
}
|
|
15266
15301
|
}
|
|
15267
|
-
`,
|
|
15302
|
+
`, ml = async (r, t) => {
|
|
15268
15303
|
var n;
|
|
15269
15304
|
const e = await b.getShadowGraphqlClient().query({
|
|
15270
15305
|
query: Ei(((n = t == null ? void 0 : t.assets) == null ? void 0 : n.metadata) || !1),
|
|
@@ -15288,7 +15323,7 @@ const Ya = y`
|
|
|
15288
15323
|
}), Ht.set({ id: s.option.id }, Promise.resolve(s.option)));
|
|
15289
15324
|
}), i.finalizeStepConfig || (i.finalizeStepConfig = {}), i.finalizeStepConfig.termsMarkdown = i.finalizeStepConfig.termsMarkdown || i.partner.termsMarkdown;
|
|
15290
15325
|
}), a;
|
|
15291
|
-
},
|
|
15326
|
+
}, gl = async (r, t) => {
|
|
15292
15327
|
const a = (await t).find((n) => n.id === r);
|
|
15293
15328
|
if (!a)
|
|
15294
15329
|
throw new Error(`Workflow not found: ${r}`);
|
|
@@ -15297,11 +15332,11 @@ const Ya = y`
|
|
|
15297
15332
|
const e = r.map((o) => Ht.get({ id: o, options: t })), a = r.filter((o, l) => e[l] === void 0);
|
|
15298
15333
|
if (a.length === 0)
|
|
15299
15334
|
return Promise.all(e);
|
|
15300
|
-
const n =
|
|
15301
|
-
(o) => Ht.set({ id: o, options: t },
|
|
15335
|
+
const n = ml(a, t), i = a.map(
|
|
15336
|
+
(o) => Ht.set({ id: o, options: t }, gl(o, n))
|
|
15302
15337
|
), s = e.filter((o) => o !== void 0);
|
|
15303
15338
|
return await Promise.all(s.concat(i));
|
|
15304
|
-
},
|
|
15339
|
+
}, Qc = async (r, t) => (await Zn([r], t))[0], fl = (r) => r.sort((t, e) => t.index - e.index).map((t) => ({
|
|
15305
15340
|
id: Q(),
|
|
15306
15341
|
panelId: t.name,
|
|
15307
15342
|
name: t.name,
|
|
@@ -15315,11 +15350,11 @@ const Ya = y`
|
|
|
15315
15350
|
previewRegion: t.previewRegion,
|
|
15316
15351
|
useEditableArea: t.useEditableArea,
|
|
15317
15352
|
editableArea: t.editableArea
|
|
15318
|
-
})),
|
|
15353
|
+
})), pl = (r, t) => {
|
|
15319
15354
|
const e = r.workflowState, a = e ? JSON.parse(e) : void 0;
|
|
15320
|
-
return a ? Object.values(a.layouts).map((n) => n.layout) :
|
|
15355
|
+
return a ? Object.values(a.layouts).map((n) => n.layout) : fl(t.panels);
|
|
15321
15356
|
};
|
|
15322
|
-
class
|
|
15357
|
+
class Nc {
|
|
15323
15358
|
constructor(t) {
|
|
15324
15359
|
this.activeIntegration = void 0, this.updateTransactionState = async (e) => {
|
|
15325
15360
|
try {
|
|
@@ -15330,7 +15365,7 @@ class Qc {
|
|
|
15330
15365
|
} catch (a) {
|
|
15331
15366
|
throw console.error(a), new ut("Critical - Unable to synchronize workflow state with server.");
|
|
15332
15367
|
}
|
|
15333
|
-
}, this.options = t, this.options.applicationKey && Fr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 26.
|
|
15368
|
+
}, this.options = t, this.options.applicationKey && Fr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 26.26.0"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
|
|
15334
15369
|
}
|
|
15335
15370
|
configure(t) {
|
|
15336
15371
|
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 +15385,14 @@ class Qc {
|
|
|
15350
15385
|
getFlowService() {
|
|
15351
15386
|
if (!xr())
|
|
15352
15387
|
throw new Error("Application key required to use Flow Service.");
|
|
15353
|
-
return new
|
|
15388
|
+
return new sl();
|
|
15354
15389
|
}
|
|
15355
15390
|
async getIntegration() {
|
|
15356
15391
|
if (this.activeIntegration)
|
|
15357
15392
|
return this.activeIntegration;
|
|
15358
15393
|
if (!this.options.applicationKey)
|
|
15359
15394
|
throw new Error("Cannot get current Integration without specifying an Application Key.");
|
|
15360
|
-
return this.activeIntegration =
|
|
15395
|
+
return this.activeIntegration = Cl(this.options.applicationKey), this.activeIntegration;
|
|
15361
15396
|
}
|
|
15362
15397
|
async canUseAddon(t) {
|
|
15363
15398
|
var e;
|
|
@@ -15506,7 +15541,7 @@ class Qc {
|
|
|
15506
15541
|
})).data.customer;
|
|
15507
15542
|
if (!n.id) {
|
|
15508
15543
|
const l = (s = (await e.mutate({
|
|
15509
|
-
mutation:
|
|
15544
|
+
mutation: cl,
|
|
15510
15545
|
errorPolicy: "all",
|
|
15511
15546
|
fetchPolicy: "no-cache",
|
|
15512
15547
|
variables: {
|
|
@@ -15541,7 +15576,7 @@ class Qc {
|
|
|
15541
15576
|
if (!n)
|
|
15542
15577
|
return !1;
|
|
15543
15578
|
const s = (o = (await e.mutate({
|
|
15544
|
-
mutation:
|
|
15579
|
+
mutation: dl,
|
|
15545
15580
|
errorPolicy: "all",
|
|
15546
15581
|
fetchPolicy: "no-cache",
|
|
15547
15582
|
variables: {
|
|
@@ -15556,7 +15591,7 @@ class Qc {
|
|
|
15556
15591
|
*/
|
|
15557
15592
|
async generateVerificationCode(t) {
|
|
15558
15593
|
await b.getShadowGraphqlClient().mutate({
|
|
15559
|
-
mutation:
|
|
15594
|
+
mutation: Al,
|
|
15560
15595
|
variables: {
|
|
15561
15596
|
emailAddress: t
|
|
15562
15597
|
}
|
|
@@ -15571,7 +15606,7 @@ class Qc {
|
|
|
15571
15606
|
async verifyCode(t, e) {
|
|
15572
15607
|
var i, s;
|
|
15573
15608
|
const n = (i = (await b.getShadowGraphqlClient().mutate({
|
|
15574
|
-
mutation:
|
|
15609
|
+
mutation: ul,
|
|
15575
15610
|
errorPolicy: "all",
|
|
15576
15611
|
fetchPolicy: "no-cache",
|
|
15577
15612
|
variables: {
|
|
@@ -15595,7 +15630,7 @@ class Qc {
|
|
|
15595
15630
|
if (!((e = this.customer) != null && e.id))
|
|
15596
15631
|
throw new Error("Customer must be logged in before calling this function.");
|
|
15597
15632
|
return (await b.getShadowGraphqlClient().query({
|
|
15598
|
-
query:
|
|
15633
|
+
query: hl,
|
|
15599
15634
|
variables: {
|
|
15600
15635
|
id: this.customer.id
|
|
15601
15636
|
}
|
|
@@ -15861,7 +15896,7 @@ class Qc {
|
|
|
15861
15896
|
const G = JSON.parse(M.workflowState);
|
|
15862
15897
|
V.layouts = Object.values(G.layouts || {}).map((nt) => nt.layout), await La(G), V.reloadedState = G;
|
|
15863
15898
|
} else
|
|
15864
|
-
V.layouts =
|
|
15899
|
+
V.layouts = pl(
|
|
15865
15900
|
V.transaction,
|
|
15866
15901
|
V.workflow
|
|
15867
15902
|
);
|
|
@@ -15945,7 +15980,7 @@ class Qc {
|
|
|
15945
15980
|
};
|
|
15946
15981
|
}
|
|
15947
15982
|
}
|
|
15948
|
-
const
|
|
15983
|
+
const Cl = async (r, t) => (await b.getShadowGraphqlClient().query({
|
|
15949
15984
|
query: Di,
|
|
15950
15985
|
errorPolicy: "all",
|
|
15951
15986
|
fetchPolicy: "no-cache",
|
|
@@ -15957,7 +15992,7 @@ const pl = async (r, t) => (await b.getShadowGraphqlClient().query({
|
|
|
15957
15992
|
variables: {
|
|
15958
15993
|
themeConfigurationId: t
|
|
15959
15994
|
}
|
|
15960
|
-
})).data.currentIntegration,
|
|
15995
|
+
})).data.currentIntegration, Rc = async (r) => {
|
|
15961
15996
|
const e = await b.getShadowGraphqlClient().query({
|
|
15962
15997
|
query: hi,
|
|
15963
15998
|
errorPolicy: "all",
|
|
@@ -15968,7 +16003,7 @@ const pl = async (r, t) => (await b.getShadowGraphqlClient().query({
|
|
|
15968
16003
|
});
|
|
15969
16004
|
if (e.data.transactions.length !== 0)
|
|
15970
16005
|
return e.data.transactions[0];
|
|
15971
|
-
},
|
|
16006
|
+
}, Oc = async (r, t) => {
|
|
15972
16007
|
var a;
|
|
15973
16008
|
return (a = (await b.getShadowGraphqlClient().query({
|
|
15974
16009
|
query: Ii,
|
|
@@ -15978,7 +16013,7 @@ const pl = async (r, t) => (await b.getShadowGraphqlClient().query({
|
|
|
15978
16013
|
themeInstallId: t
|
|
15979
16014
|
}
|
|
15980
16015
|
})).data) == null ? void 0 : a.marketplaceThemeInstallConfiguration;
|
|
15981
|
-
},
|
|
16016
|
+
}, Uc = async (r) => {
|
|
15982
16017
|
var e, a, n;
|
|
15983
16018
|
return (n = (a = (e = (await b.getShadowGraphqlClient().query({
|
|
15984
16019
|
query: Fi,
|
|
@@ -15987,7 +16022,7 @@ const pl = async (r, t) => (await b.getShadowGraphqlClient().query({
|
|
|
15987
16022
|
id: r
|
|
15988
16023
|
}
|
|
15989
16024
|
})).data) == null ? void 0 : e.bundles) == null ? void 0 : a[0]) == null ? void 0 : n.marketplaceThemeInstallConfiguration;
|
|
15990
|
-
},
|
|
16025
|
+
}, Lc = async (r) => {
|
|
15991
16026
|
var e, a, n;
|
|
15992
16027
|
return (n = (a = (e = (await b.getShadowGraphqlClient().query({
|
|
15993
16028
|
query: Pi,
|
|
@@ -15997,7 +16032,7 @@ const pl = async (r, t) => (await b.getShadowGraphqlClient().query({
|
|
|
15997
16032
|
}
|
|
15998
16033
|
})).data) == null ? void 0 : e.transactions) == null ? void 0 : a[0]) == null ? void 0 : n.marketplaceThemeInstallConfiguration;
|
|
15999
16034
|
};
|
|
16000
|
-
function
|
|
16035
|
+
function wl(r, t, e, a) {
|
|
16001
16036
|
const n = e.width * r.zoom, i = e.height * r.zoom;
|
|
16002
16037
|
if (a) {
|
|
16003
16038
|
const o = r, l = Math.max(t.width / e.width, t.height / e.height);
|
|
@@ -16011,7 +16046,7 @@ function Cl(r, t, e, a) {
|
|
|
16011
16046
|
function le(r, t, e) {
|
|
16012
16047
|
return Math.min(Math.max(r, t), e);
|
|
16013
16048
|
}
|
|
16014
|
-
class
|
|
16049
|
+
class yl {
|
|
16015
16050
|
constructor(t, e) {
|
|
16016
16051
|
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
16052
|
useThreshold: !1,
|
|
@@ -16154,7 +16189,7 @@ class wl {
|
|
|
16154
16189
|
return;
|
|
16155
16190
|
}
|
|
16156
16191
|
(!this.offsets || this.offsets.length !== this.frameData.length) && (this.offsets = new Array(this.frameData.length)), this.frameData.forEach((s, o) => {
|
|
16157
|
-
this.offsets[o] =
|
|
16192
|
+
this.offsets[o] = wl(t[o], s, this.imageData, this.forceImageCover);
|
|
16158
16193
|
}), this._debouncedUpdateFrameOffsets(
|
|
16159
16194
|
this.offsets,
|
|
16160
16195
|
n,
|
|
@@ -16233,7 +16268,7 @@ class wl {
|
|
|
16233
16268
|
}), this._debouncedUpdateFrameOffsets(this.offsets, t, this.frameData, this.thresholdSettings));
|
|
16234
16269
|
}
|
|
16235
16270
|
}
|
|
16236
|
-
class
|
|
16271
|
+
class $c {
|
|
16237
16272
|
approveTransaction(t) {
|
|
16238
16273
|
throw new Error("Method not implemented.");
|
|
16239
16274
|
}
|
|
@@ -16392,12 +16427,12 @@ class Lc {
|
|
|
16392
16427
|
return [];
|
|
16393
16428
|
}
|
|
16394
16429
|
}
|
|
16395
|
-
var
|
|
16396
|
-
class
|
|
16430
|
+
var Sl = /* @__PURE__ */ ((r) => (r.SelectFrame = "SelectFrame", r.SelectImage = "SelectImage", r.Position = "Position", r))(Sl || {});
|
|
16431
|
+
class vl extends rt {
|
|
16397
16432
|
constructor(t, e, a) {
|
|
16398
16433
|
super(t, e, a);
|
|
16399
16434
|
const n = e.data;
|
|
16400
|
-
this.frameService = new
|
|
16435
|
+
this.frameService = new yl(n.forceImageCover, n.initialZoomLevel), this.frameService.connectWorkflowManager(t, e.stepName);
|
|
16401
16436
|
}
|
|
16402
16437
|
selectVariant(t) {
|
|
16403
16438
|
const e = this.manager.getRegionElements(this.step.stepName);
|
|
@@ -16566,7 +16601,7 @@ class Sl extends rt {
|
|
|
16566
16601
|
return this.manager.getStepStorage(this.step.stepName);
|
|
16567
16602
|
}
|
|
16568
16603
|
}
|
|
16569
|
-
const
|
|
16604
|
+
const El = y`
|
|
16570
16605
|
query GetLoggedInCustomer($email: String!) {
|
|
16571
16606
|
customer(emailAddress: $email) {
|
|
16572
16607
|
id
|
|
@@ -16609,21 +16644,21 @@ const vl = y`
|
|
|
16609
16644
|
total
|
|
16610
16645
|
}
|
|
16611
16646
|
}
|
|
16612
|
-
`,
|
|
16647
|
+
`, Bl = y`
|
|
16613
16648
|
mutation SetTransactionDesignName($id: String!, $name: String!) {
|
|
16614
16649
|
transactionUpdate(id: $id, designName: $name) {
|
|
16615
16650
|
id
|
|
16616
16651
|
designName
|
|
16617
16652
|
}
|
|
16618
16653
|
}
|
|
16619
|
-
`,
|
|
16654
|
+
`, bl = y`
|
|
16620
16655
|
mutation DuplicateTransaction($id: String!, $template: Boolean!) {
|
|
16621
16656
|
transactionDuplicate(id: $id, template: $template) {
|
|
16622
16657
|
id
|
|
16623
16658
|
workflowViewerLink
|
|
16624
16659
|
}
|
|
16625
16660
|
}
|
|
16626
|
-
`,
|
|
16661
|
+
`, Il = y`
|
|
16627
16662
|
query GetCustomerBundles($id: String!, $limit: Int!, $offset: Int!) {
|
|
16628
16663
|
customerBundlesFeed(id: $id, limit: $limit, offset: $offset) {
|
|
16629
16664
|
items {
|
|
@@ -16636,7 +16671,7 @@ const vl = y`
|
|
|
16636
16671
|
total
|
|
16637
16672
|
}
|
|
16638
16673
|
}
|
|
16639
|
-
`,
|
|
16674
|
+
`, Dl = y`
|
|
16640
16675
|
query GetTransactionsForBundle($id: String!) {
|
|
16641
16676
|
bundles(ids: [$id]) {
|
|
16642
16677
|
id
|
|
@@ -16657,21 +16692,21 @@ const vl = y`
|
|
|
16657
16692
|
}
|
|
16658
16693
|
}
|
|
16659
16694
|
}
|
|
16660
|
-
`,
|
|
16695
|
+
`, Pl = y`
|
|
16661
16696
|
mutation SetBundleName($id: String!, $name: String!) {
|
|
16662
16697
|
bundleUpdate(id: $id, name: $name) {
|
|
16663
16698
|
id
|
|
16664
16699
|
name
|
|
16665
16700
|
}
|
|
16666
16701
|
}
|
|
16667
|
-
`,
|
|
16702
|
+
`, Fl = y`
|
|
16668
16703
|
mutation DuplicateBundle($id: String!, $template: Boolean!) {
|
|
16669
16704
|
bundleDuplicate(id: $id, template: $template) {
|
|
16670
16705
|
id
|
|
16671
16706
|
workflowViewerLink
|
|
16672
16707
|
}
|
|
16673
16708
|
}
|
|
16674
|
-
`,
|
|
16709
|
+
`, xl = y`
|
|
16675
16710
|
query GetBundleTemplates($id: String!, $limit: Int!, $offset: Int!) {
|
|
16676
16711
|
customerBundlesFeed(id: $id, limit: $limit, offset: $offset, template: true) {
|
|
16677
16712
|
items {
|
|
@@ -16684,43 +16719,43 @@ const vl = y`
|
|
|
16684
16719
|
total
|
|
16685
16720
|
}
|
|
16686
16721
|
}
|
|
16687
|
-
`,
|
|
16688
|
-
mutation:
|
|
16722
|
+
`, Vc = async (r, t, e) => await b.getShadowGraphqlClient().mutate({
|
|
16723
|
+
mutation: Pl,
|
|
16689
16724
|
errorPolicy: "all",
|
|
16690
16725
|
variables: {
|
|
16691
16726
|
id: r,
|
|
16692
16727
|
name: t
|
|
16693
16728
|
},
|
|
16694
16729
|
context: e
|
|
16695
|
-
}),
|
|
16696
|
-
mutation:
|
|
16730
|
+
}), zc = async (r, t) => await b.getShadowGraphqlClient().mutate({
|
|
16731
|
+
mutation: Bl,
|
|
16697
16732
|
errorPolicy: "all",
|
|
16698
16733
|
variables: {
|
|
16699
16734
|
id: r,
|
|
16700
16735
|
name: t
|
|
16701
16736
|
}
|
|
16702
|
-
}),
|
|
16703
|
-
mutation:
|
|
16737
|
+
}), Gc = async (r, t) => await b.getShadowGraphqlClient().mutate({
|
|
16738
|
+
mutation: Fl,
|
|
16704
16739
|
errorPolicy: "all",
|
|
16705
16740
|
variables: {
|
|
16706
16741
|
id: r,
|
|
16707
16742
|
template: t
|
|
16708
16743
|
}
|
|
16709
|
-
}),
|
|
16710
|
-
mutation:
|
|
16744
|
+
}), Wc = async (r, t) => await b.getShadowGraphqlClient().mutate({
|
|
16745
|
+
mutation: bl,
|
|
16711
16746
|
errorPolicy: "all",
|
|
16712
16747
|
variables: {
|
|
16713
16748
|
id: r,
|
|
16714
16749
|
template: t
|
|
16715
16750
|
}
|
|
16716
|
-
}),
|
|
16717
|
-
query:
|
|
16751
|
+
}), jc = async (r) => (await b.getShadowGraphqlClient().query({
|
|
16752
|
+
query: El,
|
|
16718
16753
|
errorPolicy: "all",
|
|
16719
16754
|
variables: {
|
|
16720
16755
|
email: r
|
|
16721
16756
|
}
|
|
16722
|
-
})).data.customer,
|
|
16723
|
-
query:
|
|
16757
|
+
})).data.customer, Hc = async (r, t, e) => await b.getShadowGraphqlClient().query({
|
|
16758
|
+
query: Il,
|
|
16724
16759
|
errorPolicy: "all",
|
|
16725
16760
|
fetchPolicy: "no-cache",
|
|
16726
16761
|
variables: {
|
|
@@ -16728,15 +16763,15 @@ const vl = y`
|
|
|
16728
16763
|
offset: e,
|
|
16729
16764
|
limit: t
|
|
16730
16765
|
}
|
|
16731
|
-
}),
|
|
16732
|
-
query:
|
|
16766
|
+
}), qc = async (r, t) => await b.getShadowGraphqlClient().query({
|
|
16767
|
+
query: Dl,
|
|
16733
16768
|
errorPolicy: "all",
|
|
16734
16769
|
fetchPolicy: "no-cache",
|
|
16735
16770
|
variables: {
|
|
16736
16771
|
id: r
|
|
16737
16772
|
},
|
|
16738
16773
|
context: t
|
|
16739
|
-
}),
|
|
16774
|
+
}), Yc = async (r, t, e) => {
|
|
16740
16775
|
var n;
|
|
16741
16776
|
const a = await b.getShadowGraphqlClient().query({
|
|
16742
16777
|
query: Ia,
|
|
@@ -16760,7 +16795,7 @@ const vl = y`
|
|
|
16760
16795
|
}
|
|
16761
16796
|
});
|
|
16762
16797
|
return ((n = a == null ? void 0 : a.data.customerTransactionsFeed) == null ? void 0 : n.items) || [];
|
|
16763
|
-
},
|
|
16798
|
+
}, Jc = async (r, t, e) => {
|
|
16764
16799
|
var n;
|
|
16765
16800
|
const a = await b.getShadowGraphqlClient().query({
|
|
16766
16801
|
query: Ia,
|
|
@@ -16784,7 +16819,7 @@ const vl = y`
|
|
|
16784
16819
|
}
|
|
16785
16820
|
});
|
|
16786
16821
|
return ((n = a == null ? void 0 : a.data.customerTransactionsFeed) == null ? void 0 : n.items) || [];
|
|
16787
|
-
},
|
|
16822
|
+
}, Kc = async (r, t, e) => {
|
|
16788
16823
|
var n;
|
|
16789
16824
|
const a = await b.getShadowGraphqlClient().query({
|
|
16790
16825
|
query: Ia,
|
|
@@ -16804,10 +16839,10 @@ const vl = y`
|
|
|
16804
16839
|
}
|
|
16805
16840
|
});
|
|
16806
16841
|
return ((n = a == null ? void 0 : a.data.customerTransactionsFeed) == null ? void 0 : n.items) || [];
|
|
16807
|
-
},
|
|
16842
|
+
}, _c = async (r, t, e) => {
|
|
16808
16843
|
var n;
|
|
16809
16844
|
const a = await b.getShadowGraphqlClient().query({
|
|
16810
|
-
query:
|
|
16845
|
+
query: xl,
|
|
16811
16846
|
errorPolicy: "all",
|
|
16812
16847
|
fetchPolicy: "no-cache",
|
|
16813
16848
|
variables: {
|
|
@@ -16828,7 +16863,7 @@ const vl = y`
|
|
|
16828
16863
|
console.error("vite-plugin-css-injected-by-js", t);
|
|
16829
16864
|
}
|
|
16830
16865
|
})();
|
|
16831
|
-
var
|
|
16866
|
+
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
16867
|
K = { __e: function(r, t, e, a) {
|
|
16833
16868
|
for (var n, i, s; t = t.__; )
|
|
16834
16869
|
if ((n = t.__c) && !n.__)
|
|
@@ -16841,7 +16876,7 @@ K = { __e: function(r, t, e, a) {
|
|
|
16841
16876
|
throw r;
|
|
16842
16877
|
} }, typeof Promise == "function" && Promise.prototype.then.bind(Promise.resolve());
|
|
16843
16878
|
var st, qe, Ja, tr = [], Ye = [], Ka = K.__b, _a = K.__r, Xa = K.diffed, Za = K.__c, tn = K.unmount;
|
|
16844
|
-
function
|
|
16879
|
+
function Tl() {
|
|
16845
16880
|
for (var r; r = tr.shift(); )
|
|
16846
16881
|
if (r.__P && r.__H)
|
|
16847
16882
|
try {
|
|
@@ -16861,7 +16896,7 @@ K.__b = function(r) {
|
|
|
16861
16896
|
}, K.diffed = function(r) {
|
|
16862
16897
|
Xa && Xa(r);
|
|
16863
16898
|
var t = r.__c;
|
|
16864
|
-
t && t.__H && (t.__H.__h.length && (tr.push(t) !== 1 && Ja === K.requestAnimationFrame || ((Ja = K.requestAnimationFrame) ||
|
|
16899
|
+
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
16900
|
e.i && (e.__H = e.i), e.__V !== Ye && (e.__ = e.__V), e.i = void 0, e.__V = Ye;
|
|
16866
16901
|
})), qe = st = null;
|
|
16867
16902
|
}, K.__c = function(r, t) {
|
|
@@ -16888,7 +16923,7 @@ K.__b = function(r) {
|
|
|
16888
16923
|
}), e.__H = void 0, t && K.__e(t, e.__v));
|
|
16889
16924
|
};
|
|
16890
16925
|
var en = typeof requestAnimationFrame == "function";
|
|
16891
|
-
function
|
|
16926
|
+
function Ql(r) {
|
|
16892
16927
|
var t, e = function() {
|
|
16893
16928
|
clearTimeout(a), en && cancelAnimationFrame(t), setTimeout(r);
|
|
16894
16929
|
}, a = setTimeout(e, 100);
|
|
@@ -16904,35 +16939,35 @@ function la(r) {
|
|
|
16904
16939
|
}
|
|
16905
16940
|
export {
|
|
16906
16941
|
da as AddonHandle,
|
|
16907
|
-
|
|
16942
|
+
Tc as ArrayInput,
|
|
16908
16943
|
et as AspectType,
|
|
16909
16944
|
yt as AssetNotFoundError,
|
|
16910
16945
|
he as AssetType,
|
|
16911
|
-
|
|
16912
|
-
|
|
16913
|
-
|
|
16946
|
+
Pc as BringForwardCommand,
|
|
16947
|
+
Dc as BringToBackCommand,
|
|
16948
|
+
Ic as BringToFrontCommand,
|
|
16914
16949
|
mr as BundleDesignCreationCartAddMode,
|
|
16915
16950
|
R as CanvasCommand,
|
|
16916
16951
|
se as CollectionProduct,
|
|
16917
16952
|
Ha as ColorOptionGlobalPropertyHandle,
|
|
16918
16953
|
Ki as CommandContext,
|
|
16919
|
-
|
|
16920
|
-
|
|
16954
|
+
Ml as ConversionDataType,
|
|
16955
|
+
kl as ConversionLocation,
|
|
16921
16956
|
W as CreateElementCommand,
|
|
16922
16957
|
Un as CreateLayoutCommand,
|
|
16923
16958
|
vt as DeleteElementCommand,
|
|
16924
16959
|
Ao as DigitalContentStepHandle,
|
|
16925
16960
|
Go as FileUploadGlobalPropertyHandle,
|
|
16926
16961
|
oe as FlowExecutionNodeResult,
|
|
16927
|
-
|
|
16928
|
-
|
|
16962
|
+
ol as FlowExecutionResult,
|
|
16963
|
+
sl as FlowService,
|
|
16929
16964
|
ts as FontAlignmentCommand,
|
|
16930
16965
|
Xi as FontColorCommand,
|
|
16931
16966
|
Zi as FontSizeCommand,
|
|
16932
16967
|
Va as FontSourceCommand,
|
|
16933
|
-
|
|
16934
|
-
|
|
16935
|
-
|
|
16968
|
+
yl as FrameService,
|
|
16969
|
+
Sl as FrameStep,
|
|
16970
|
+
vl as FrameStepHandle,
|
|
16936
16971
|
Ba as GlobalPropertyHandle,
|
|
16937
16972
|
O as GroupCommand,
|
|
16938
16973
|
ao as IllustrationStepHandle,
|
|
@@ -16940,37 +16975,37 @@ export {
|
|
|
16940
16975
|
co as InformationStepHandle,
|
|
16941
16976
|
qa as IntegrationProduct,
|
|
16942
16977
|
fr as IntegrationType,
|
|
16943
|
-
|
|
16978
|
+
Sc as LayoutElementFactory,
|
|
16944
16979
|
T as LayoutElementType,
|
|
16945
16980
|
Y as LayoutNotFoundError,
|
|
16946
16981
|
Gt as LayoutRenderingPurpose,
|
|
16947
16982
|
no as MaterialStepHandle,
|
|
16948
16983
|
fe as MisconfigurationError,
|
|
16949
|
-
|
|
16984
|
+
$c as MockWorkflowManager,
|
|
16950
16985
|
ro as ModelStepHandle,
|
|
16951
16986
|
uo as ModuleStepHandle,
|
|
16952
|
-
|
|
16987
|
+
vc as MoveCommand,
|
|
16953
16988
|
Xn as ObjectInput,
|
|
16954
|
-
|
|
16989
|
+
ll as ObjectInputType,
|
|
16955
16990
|
_n as OptionGlobalPropertyHandle,
|
|
16956
16991
|
ge as OptionNotFoundError,
|
|
16957
16992
|
Dt as ParseError,
|
|
16958
16993
|
io as PictureStepHandle,
|
|
16959
16994
|
pr as ProductCameraRig,
|
|
16960
|
-
|
|
16995
|
+
Xo as ProductCollection,
|
|
16961
16996
|
zt as ProductWorkflow,
|
|
16962
16997
|
Ht as PromiseCache,
|
|
16963
16998
|
Pn as PromiseQueue,
|
|
16964
16999
|
so as QuestionStepHandle,
|
|
16965
17000
|
Dn as QueueablePromise,
|
|
16966
|
-
|
|
17001
|
+
Bc as ResizeCommand,
|
|
16967
17002
|
Wt as ResourceNotFoundError,
|
|
16968
|
-
|
|
17003
|
+
Ec as RotateCommand,
|
|
16969
17004
|
H as ScaleAxis,
|
|
16970
|
-
|
|
17005
|
+
Fc as SendBackwardsCommand,
|
|
16971
17006
|
oo as ShapeStepHandle,
|
|
16972
17007
|
gr as ShareActionType,
|
|
16973
|
-
|
|
17008
|
+
Nc as SpiffCommerceClient,
|
|
16974
17009
|
me as StakeholderType,
|
|
16975
17010
|
hr as StepAspectType,
|
|
16976
17011
|
rt as StepHandle,
|
|
@@ -16978,85 +17013,85 @@ export {
|
|
|
16978
17013
|
kt as TextAlgorithm,
|
|
16979
17014
|
ns as TextChangeCommand,
|
|
16980
17015
|
Wo as TextGlobalPropertyHandle,
|
|
16981
|
-
|
|
17016
|
+
Mc as TextInput,
|
|
16982
17017
|
lo as TextStepHandle,
|
|
16983
|
-
|
|
16984
|
-
|
|
17018
|
+
tl as Transform,
|
|
17019
|
+
Zo as TransformCollection,
|
|
16985
17020
|
z as UnhandledBehaviorError,
|
|
16986
17021
|
Cr as UnitOfMeasurement,
|
|
16987
|
-
|
|
17022
|
+
bc as UpdateImageSourceCommand,
|
|
16988
17023
|
it as Variant,
|
|
16989
17024
|
Bo as WorkflowExperienceEventType,
|
|
16990
17025
|
bo as WorkflowExperienceImpl,
|
|
16991
17026
|
U as assetService,
|
|
16992
17027
|
zr as browserColorToHex,
|
|
16993
|
-
|
|
17028
|
+
wc as cmPerPixel,
|
|
16994
17029
|
Co as createDesign,
|
|
16995
|
-
|
|
16996
|
-
|
|
17030
|
+
fc as currentDirection,
|
|
17031
|
+
rc as dataUrlFromExternalUrl,
|
|
16997
17032
|
je as designService,
|
|
16998
17033
|
Ae as determineCorrectFontSizeAndLines,
|
|
16999
17034
|
$n as digitalContentStepService,
|
|
17000
17035
|
dt as domParser,
|
|
17001
|
-
|
|
17002
|
-
|
|
17036
|
+
Gc as duplicateBundle,
|
|
17037
|
+
Wc as duplicateTransaction,
|
|
17003
17038
|
at as fetchAsString,
|
|
17004
|
-
|
|
17039
|
+
cc as findAngle,
|
|
17005
17040
|
L as findElement,
|
|
17006
|
-
|
|
17041
|
+
oc as findPmsColors,
|
|
17007
17042
|
Lt as frameDataCache,
|
|
17008
17043
|
pt as frameStepService,
|
|
17009
17044
|
Q as generate,
|
|
17010
17045
|
Ro as generateCommands,
|
|
17011
17046
|
ot as generateSVGWithUnknownColors,
|
|
17012
|
-
|
|
17047
|
+
kc as generateStateFromDesignInputSteps,
|
|
17013
17048
|
De as getAttributesFromArrayBuffer,
|
|
17014
|
-
|
|
17015
|
-
|
|
17016
|
-
|
|
17017
|
-
|
|
17018
|
-
|
|
17019
|
-
|
|
17049
|
+
lc as getAxisAlignedBoundingBox,
|
|
17050
|
+
wl as getBoundedOffsets,
|
|
17051
|
+
Uc as getBundleThemeConfiguration,
|
|
17052
|
+
jc as getCustomer,
|
|
17053
|
+
Hc as getCustomerBundles,
|
|
17054
|
+
pc as getElementVertices,
|
|
17020
17055
|
xe as getFrameData,
|
|
17021
|
-
|
|
17022
|
-
|
|
17023
|
-
|
|
17024
|
-
|
|
17025
|
-
|
|
17026
|
-
|
|
17027
|
-
|
|
17056
|
+
Cl as getIntegration,
|
|
17057
|
+
mc as getNEPoint,
|
|
17058
|
+
hc as getNWPoint,
|
|
17059
|
+
Jc as getOrderedTransactions,
|
|
17060
|
+
Oc as getOverrideThemeConfiguration,
|
|
17061
|
+
uc as getPointOfRotation,
|
|
17062
|
+
gc as getSEPoint,
|
|
17028
17063
|
wa as getSvgElement,
|
|
17029
|
-
|
|
17030
|
-
|
|
17031
|
-
|
|
17032
|
-
|
|
17033
|
-
|
|
17034
|
-
|
|
17035
|
-
|
|
17036
|
-
|
|
17064
|
+
_c as getTemplateBundles,
|
|
17065
|
+
Kc as getTemplateTransactions,
|
|
17066
|
+
Rc as getTransaction,
|
|
17067
|
+
Lc as getTransactionThemeConfiguration,
|
|
17068
|
+
qc as getTransactionsForBundle,
|
|
17069
|
+
Ac as getTrueCoordinates,
|
|
17070
|
+
Yc as getUnorderedTransactions,
|
|
17071
|
+
Qc as getWorkflow,
|
|
17037
17072
|
Zn as getWorkflows,
|
|
17038
17073
|
b as graphQlManager,
|
|
17039
17074
|
de as illustrationStepService,
|
|
17040
|
-
|
|
17075
|
+
dc as isCloseToValue,
|
|
17041
17076
|
Tt as loadFont,
|
|
17042
|
-
|
|
17077
|
+
sc as matchHexToPms,
|
|
17043
17078
|
Vn as materialStepService,
|
|
17044
|
-
|
|
17045
|
-
|
|
17079
|
+
_o as metafieldManager,
|
|
17080
|
+
Cc as mmPerPixel,
|
|
17046
17081
|
zn as modelStepService,
|
|
17047
17082
|
fa as modifySVGColors,
|
|
17048
17083
|
Gn as moduleStepService,
|
|
17049
|
-
|
|
17050
|
-
|
|
17084
|
+
Vc as nameBundle,
|
|
17085
|
+
zc as nameTransaction,
|
|
17051
17086
|
X as optionService,
|
|
17052
|
-
|
|
17087
|
+
yc as outlineFontsInSvg,
|
|
17053
17088
|
At as patternImageDataCache,
|
|
17054
17089
|
k as persistenceService,
|
|
17055
17090
|
Wn as pictureStepService,
|
|
17056
|
-
|
|
17091
|
+
ic as pmsToRgb,
|
|
17057
17092
|
jn as questionStepService,
|
|
17058
|
-
|
|
17059
|
-
|
|
17093
|
+
nc as registerFetchImplementation,
|
|
17094
|
+
ac as registerWindowImplementation,
|
|
17060
17095
|
La as rehydrateSerializedLayout,
|
|
17061
17096
|
Lr as rgbToPms,
|
|
17062
17097
|
re as rotateAroundPoint,
|
|
@@ -17066,7 +17101,7 @@ export {
|
|
|
17066
17101
|
$t as shapeStepService,
|
|
17067
17102
|
is as shortenUrl,
|
|
17068
17103
|
wt as spiffCoreConfiguration,
|
|
17069
|
-
|
|
17104
|
+
xc as stepAspectValuesToDesignInputSteps,
|
|
17070
17105
|
Qa as svgColorValueToDefinition,
|
|
17071
17106
|
Rn as svgStringDimensions,
|
|
17072
17107
|
Aa as svgToDataUrl,
|