@haus-storefront-react/vendure-plugin-configs 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +176 -0
- package/badge.js +1 -0
- package/badge.mjs +91 -0
- package/campaign.js +42 -0
- package/campaign.mjs +467 -0
- package/index-CzxpJe9c.js +27 -0
- package/index-RBMJ45wv.mjs +3751 -0
- package/index.d.ts +1 -0
- package/index.js +1 -0
- package/index.mjs +4 -0
- package/lib/configs/vendure-badge-plugin.augmentation.d.ts +15 -0
- package/lib/configs/vendure-badge-plugin.d.ts +14 -0
- package/lib/configs/vendure-badge-plugin.types.d.ts +24 -0
- package/lib/configs/vendure-campaign-plugin.augmentation.d.ts +13 -0
- package/lib/configs/vendure-campaign-plugin.d.ts +5 -0
- package/lib/configs/vendure-campaign-plugin.types.d.ts +19 -0
- package/lib/configs/vendure-packagesize-plugin.augmentation.d.ts +14 -0
- package/lib/configs/vendure-packagesize-plugin.d.ts +23 -0
- package/lib/configs/vendure-packagesize-plugin.types.d.ts +27 -0
- package/lib/configs/vendure-product-popularity-plugin.augmentation.d.ts +12 -0
- package/lib/configs/vendure-product-popularity-plugin.d.ts +32 -0
- package/lib/configs/vendure-product-popularity-plugin.types.d.ts +3 -0
- package/lib/exports/augmentations.d.ts +4 -0
- package/lib/exports/badge.d.ts +1 -0
- package/lib/exports/campaign.d.ts +1 -0
- package/lib/exports/packagesize.d.ts +1 -0
- package/lib/exports/product-popularity.d.ts +1 -0
- package/lib/plugin-config.d.ts +63 -0
- package/lib/types.d.ts +2 -0
- package/package.json +42 -0
- package/packagesize.js +1 -0
- package/packagesize.mjs +61 -0
- package/product-popularity.js +1 -0
- package/product-popularity.mjs +24 -0
package/campaign.mjs
ADDED
|
@@ -0,0 +1,467 @@
|
|
|
1
|
+
import { V as se } from "./index-RBMJ45wv.mjs";
|
|
2
|
+
import g from "react";
|
|
3
|
+
import { Image as ce } from "react-native";
|
|
4
|
+
var b = { exports: {} }, v = {};
|
|
5
|
+
/**
|
|
6
|
+
* @license React
|
|
7
|
+
* react-jsx-runtime.production.js
|
|
8
|
+
*
|
|
9
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
10
|
+
*
|
|
11
|
+
* This source code is licensed under the MIT license found in the
|
|
12
|
+
* LICENSE file in the root directory of this source tree.
|
|
13
|
+
*/
|
|
14
|
+
var L;
|
|
15
|
+
function le() {
|
|
16
|
+
if (L) return v;
|
|
17
|
+
L = 1;
|
|
18
|
+
var t = Symbol.for("react.transitional.element"), o = Symbol.for("react.fragment");
|
|
19
|
+
function n(i, u, l) {
|
|
20
|
+
var R = null;
|
|
21
|
+
if (l !== void 0 && (R = "" + l), u.key !== void 0 && (R = "" + u.key), "key" in u) {
|
|
22
|
+
l = {};
|
|
23
|
+
for (var p in u)
|
|
24
|
+
p !== "key" && (l[p] = u[p]);
|
|
25
|
+
} else l = u;
|
|
26
|
+
return u = l.ref, {
|
|
27
|
+
$$typeof: t,
|
|
28
|
+
type: i,
|
|
29
|
+
key: R,
|
|
30
|
+
ref: u !== void 0 ? u : null,
|
|
31
|
+
props: l
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
return v.Fragment = o, v.jsx = n, v.jsxs = n, v;
|
|
35
|
+
}
|
|
36
|
+
var _ = {};
|
|
37
|
+
/**
|
|
38
|
+
* @license React
|
|
39
|
+
* react-jsx-runtime.development.js
|
|
40
|
+
*
|
|
41
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
42
|
+
*
|
|
43
|
+
* This source code is licensed under the MIT license found in the
|
|
44
|
+
* LICENSE file in the root directory of this source tree.
|
|
45
|
+
*/
|
|
46
|
+
var $;
|
|
47
|
+
function fe() {
|
|
48
|
+
return $ || ($ = 1, process.env.NODE_ENV !== "production" && function() {
|
|
49
|
+
function t(e) {
|
|
50
|
+
if (e == null) return null;
|
|
51
|
+
if (typeof e == "function")
|
|
52
|
+
return e.$$typeof === ae ? null : e.displayName || e.name || null;
|
|
53
|
+
if (typeof e == "string") return e;
|
|
54
|
+
switch (e) {
|
|
55
|
+
case h:
|
|
56
|
+
return "Fragment";
|
|
57
|
+
case Q:
|
|
58
|
+
return "Profiler";
|
|
59
|
+
case B:
|
|
60
|
+
return "StrictMode";
|
|
61
|
+
case re:
|
|
62
|
+
return "Suspense";
|
|
63
|
+
case te:
|
|
64
|
+
return "SuspenseList";
|
|
65
|
+
case oe:
|
|
66
|
+
return "Activity";
|
|
67
|
+
}
|
|
68
|
+
if (typeof e == "object")
|
|
69
|
+
switch (typeof e.tag == "number" && console.error(
|
|
70
|
+
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
71
|
+
), e.$$typeof) {
|
|
72
|
+
case X:
|
|
73
|
+
return "Portal";
|
|
74
|
+
case K:
|
|
75
|
+
return (e.displayName || "Context") + ".Provider";
|
|
76
|
+
case Z:
|
|
77
|
+
return (e._context.displayName || "Context") + ".Consumer";
|
|
78
|
+
case ee:
|
|
79
|
+
var r = e.render;
|
|
80
|
+
return e = e.displayName, e || (e = r.displayName || r.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
|
|
81
|
+
case ne:
|
|
82
|
+
return r = e.displayName || null, r !== null ? r : t(e.type) || "Memo";
|
|
83
|
+
case I:
|
|
84
|
+
r = e._payload, e = e._init;
|
|
85
|
+
try {
|
|
86
|
+
return t(e(r));
|
|
87
|
+
} catch {
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
return null;
|
|
91
|
+
}
|
|
92
|
+
function o(e) {
|
|
93
|
+
return "" + e;
|
|
94
|
+
}
|
|
95
|
+
function n(e) {
|
|
96
|
+
try {
|
|
97
|
+
o(e);
|
|
98
|
+
var r = !1;
|
|
99
|
+
} catch {
|
|
100
|
+
r = !0;
|
|
101
|
+
}
|
|
102
|
+
if (r) {
|
|
103
|
+
r = console;
|
|
104
|
+
var a = r.error, s = typeof Symbol == "function" && Symbol.toStringTag && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
105
|
+
return a.call(
|
|
106
|
+
r,
|
|
107
|
+
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
108
|
+
s
|
|
109
|
+
), o(e);
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
function i(e) {
|
|
113
|
+
if (e === h) return "<>";
|
|
114
|
+
if (typeof e == "object" && e !== null && e.$$typeof === I)
|
|
115
|
+
return "<...>";
|
|
116
|
+
try {
|
|
117
|
+
var r = t(e);
|
|
118
|
+
return r ? "<" + r + ">" : "<...>";
|
|
119
|
+
} catch {
|
|
120
|
+
return "<...>";
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
function u() {
|
|
124
|
+
var e = O.A;
|
|
125
|
+
return e === null ? null : e.getOwner();
|
|
126
|
+
}
|
|
127
|
+
function l() {
|
|
128
|
+
return Error("react-stack-top-frame");
|
|
129
|
+
}
|
|
130
|
+
function R(e) {
|
|
131
|
+
if (Y.call(e, "key")) {
|
|
132
|
+
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
133
|
+
if (r && r.isReactWarning) return !1;
|
|
134
|
+
}
|
|
135
|
+
return e.key !== void 0;
|
|
136
|
+
}
|
|
137
|
+
function p(e, r) {
|
|
138
|
+
function a() {
|
|
139
|
+
D || (D = !0, console.error(
|
|
140
|
+
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
|
141
|
+
r
|
|
142
|
+
));
|
|
143
|
+
}
|
|
144
|
+
a.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
145
|
+
get: a,
|
|
146
|
+
configurable: !0
|
|
147
|
+
});
|
|
148
|
+
}
|
|
149
|
+
function J() {
|
|
150
|
+
var e = t(this.type);
|
|
151
|
+
return U[e] || (U[e] = !0, console.error(
|
|
152
|
+
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
153
|
+
)), e = this.props.ref, e !== void 0 ? e : null;
|
|
154
|
+
}
|
|
155
|
+
function z(e, r, a, s, d, f, S, k) {
|
|
156
|
+
return a = f.ref, e = {
|
|
157
|
+
$$typeof: j,
|
|
158
|
+
type: e,
|
|
159
|
+
key: r,
|
|
160
|
+
props: f,
|
|
161
|
+
_owner: d
|
|
162
|
+
}, (a !== void 0 ? a : null) !== null ? Object.defineProperty(e, "ref", {
|
|
163
|
+
enumerable: !1,
|
|
164
|
+
get: J
|
|
165
|
+
}) : Object.defineProperty(e, "ref", { enumerable: !1, value: null }), e._store = {}, Object.defineProperty(e._store, "validated", {
|
|
166
|
+
configurable: !1,
|
|
167
|
+
enumerable: !1,
|
|
168
|
+
writable: !0,
|
|
169
|
+
value: 0
|
|
170
|
+
}), Object.defineProperty(e, "_debugInfo", {
|
|
171
|
+
configurable: !1,
|
|
172
|
+
enumerable: !1,
|
|
173
|
+
writable: !0,
|
|
174
|
+
value: null
|
|
175
|
+
}), Object.defineProperty(e, "_debugStack", {
|
|
176
|
+
configurable: !1,
|
|
177
|
+
enumerable: !1,
|
|
178
|
+
writable: !0,
|
|
179
|
+
value: S
|
|
180
|
+
}), Object.defineProperty(e, "_debugTask", {
|
|
181
|
+
configurable: !1,
|
|
182
|
+
enumerable: !1,
|
|
183
|
+
writable: !0,
|
|
184
|
+
value: k
|
|
185
|
+
}), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
|
|
186
|
+
}
|
|
187
|
+
function w(e, r, a, s, d, f, S, k) {
|
|
188
|
+
var c = r.children;
|
|
189
|
+
if (c !== void 0)
|
|
190
|
+
if (s)
|
|
191
|
+
if (ie(c)) {
|
|
192
|
+
for (s = 0; s < c.length; s++)
|
|
193
|
+
C(c[s]);
|
|
194
|
+
Object.freeze && Object.freeze(c);
|
|
195
|
+
} else
|
|
196
|
+
console.error(
|
|
197
|
+
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
198
|
+
);
|
|
199
|
+
else C(c);
|
|
200
|
+
if (Y.call(r, "key")) {
|
|
201
|
+
c = t(e);
|
|
202
|
+
var m = Object.keys(r).filter(function(ue) {
|
|
203
|
+
return ue !== "key";
|
|
204
|
+
});
|
|
205
|
+
s = 0 < m.length ? "{key: someKey, " + m.join(": ..., ") + ": ...}" : "{key: someKey}", q[c + s] || (m = 0 < m.length ? "{" + m.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
206
|
+
`A props object containing a "key" prop is being spread into JSX:
|
|
207
|
+
let props = %s;
|
|
208
|
+
<%s {...props} />
|
|
209
|
+
React keys must be passed directly to JSX without using spread:
|
|
210
|
+
let props = %s;
|
|
211
|
+
<%s key={someKey} {...props} />`,
|
|
212
|
+
s,
|
|
213
|
+
c,
|
|
214
|
+
m,
|
|
215
|
+
c
|
|
216
|
+
), q[c + s] = !0);
|
|
217
|
+
}
|
|
218
|
+
if (c = null, a !== void 0 && (n(a), c = "" + a), R(r) && (n(r.key), c = "" + r.key), "key" in r) {
|
|
219
|
+
a = {};
|
|
220
|
+
for (var x in r)
|
|
221
|
+
x !== "key" && (a[x] = r[x]);
|
|
222
|
+
} else a = r;
|
|
223
|
+
return c && p(
|
|
224
|
+
a,
|
|
225
|
+
typeof e == "function" ? e.displayName || e.name || "Unknown" : e
|
|
226
|
+
), z(
|
|
227
|
+
e,
|
|
228
|
+
c,
|
|
229
|
+
f,
|
|
230
|
+
d,
|
|
231
|
+
u(),
|
|
232
|
+
a,
|
|
233
|
+
S,
|
|
234
|
+
k
|
|
235
|
+
);
|
|
236
|
+
}
|
|
237
|
+
function C(e) {
|
|
238
|
+
typeof e == "object" && e !== null && e.$$typeof === j && e._store && (e._store.validated = 1);
|
|
239
|
+
}
|
|
240
|
+
var E = g, j = Symbol.for("react.transitional.element"), X = Symbol.for("react.portal"), h = Symbol.for("react.fragment"), B = Symbol.for("react.strict_mode"), Q = Symbol.for("react.profiler"), Z = Symbol.for("react.consumer"), K = Symbol.for("react.context"), ee = Symbol.for("react.forward_ref"), re = Symbol.for("react.suspense"), te = Symbol.for("react.suspense_list"), ne = Symbol.for("react.memo"), I = Symbol.for("react.lazy"), oe = Symbol.for("react.activity"), ae = Symbol.for("react.client.reference"), O = E.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, Y = Object.prototype.hasOwnProperty, ie = Array.isArray, y = console.createTask ? console.createTask : function() {
|
|
241
|
+
return null;
|
|
242
|
+
};
|
|
243
|
+
E = {
|
|
244
|
+
"react-stack-bottom-frame": function(e) {
|
|
245
|
+
return e();
|
|
246
|
+
}
|
|
247
|
+
};
|
|
248
|
+
var D, U = {}, F = E["react-stack-bottom-frame"].bind(
|
|
249
|
+
E,
|
|
250
|
+
l
|
|
251
|
+
)(), M = y(i(l)), q = {};
|
|
252
|
+
_.Fragment = h, _.jsx = function(e, r, a, s, d) {
|
|
253
|
+
var f = 1e4 > O.recentlyCreatedOwnerStacks++;
|
|
254
|
+
return w(
|
|
255
|
+
e,
|
|
256
|
+
r,
|
|
257
|
+
a,
|
|
258
|
+
!1,
|
|
259
|
+
s,
|
|
260
|
+
d,
|
|
261
|
+
f ? Error("react-stack-top-frame") : F,
|
|
262
|
+
f ? y(i(e)) : M
|
|
263
|
+
);
|
|
264
|
+
}, _.jsxs = function(e, r, a, s, d) {
|
|
265
|
+
var f = 1e4 > O.recentlyCreatedOwnerStacks++;
|
|
266
|
+
return w(
|
|
267
|
+
e,
|
|
268
|
+
r,
|
|
269
|
+
a,
|
|
270
|
+
!0,
|
|
271
|
+
s,
|
|
272
|
+
d,
|
|
273
|
+
f ? Error("react-stack-top-frame") : F,
|
|
274
|
+
f ? y(i(e)) : M
|
|
275
|
+
);
|
|
276
|
+
};
|
|
277
|
+
}()), _;
|
|
278
|
+
}
|
|
279
|
+
var W;
|
|
280
|
+
function de() {
|
|
281
|
+
return W || (W = 1, process.env.NODE_ENV === "production" ? b.exports = le() : b.exports = fe()), b.exports;
|
|
282
|
+
}
|
|
283
|
+
var me = de(), P = { exports: {} }, N = {};
|
|
284
|
+
/**
|
|
285
|
+
* @license React
|
|
286
|
+
* react-compiler-runtime.production.js
|
|
287
|
+
*
|
|
288
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
289
|
+
*
|
|
290
|
+
* This source code is licensed under the MIT license found in the
|
|
291
|
+
* LICENSE file in the root directory of this source tree.
|
|
292
|
+
*/
|
|
293
|
+
var V;
|
|
294
|
+
function Re() {
|
|
295
|
+
if (V) return N;
|
|
296
|
+
V = 1;
|
|
297
|
+
var t = g.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
|
|
298
|
+
return N.c = function(o) {
|
|
299
|
+
return t.H.useMemoCache(o);
|
|
300
|
+
}, N;
|
|
301
|
+
}
|
|
302
|
+
var A = {};
|
|
303
|
+
/**
|
|
304
|
+
* @license React
|
|
305
|
+
* react-compiler-runtime.development.js
|
|
306
|
+
*
|
|
307
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
308
|
+
*
|
|
309
|
+
* This source code is licensed under the MIT license found in the
|
|
310
|
+
* LICENSE file in the root directory of this source tree.
|
|
311
|
+
*/
|
|
312
|
+
var G;
|
|
313
|
+
function pe() {
|
|
314
|
+
return G || (G = 1, process.env.NODE_ENV !== "production" && function() {
|
|
315
|
+
var t = g.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
|
|
316
|
+
A.c = function(o) {
|
|
317
|
+
var n = t.H;
|
|
318
|
+
return n === null && console.error(
|
|
319
|
+
`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
320
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
321
|
+
2. You might be breaking the Rules of Hooks
|
|
322
|
+
3. You might have more than one copy of React in the same app
|
|
323
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`
|
|
324
|
+
), n.useMemoCache(o);
|
|
325
|
+
};
|
|
326
|
+
}()), A;
|
|
327
|
+
}
|
|
328
|
+
var H;
|
|
329
|
+
function ve() {
|
|
330
|
+
return H || (H = 1, process.env.NODE_ENV === "production" ? P.exports = Re() : P.exports = pe()), P.exports;
|
|
331
|
+
}
|
|
332
|
+
var _e = ve();
|
|
333
|
+
function Ee(t) {
|
|
334
|
+
const {
|
|
335
|
+
src: o,
|
|
336
|
+
alt: n,
|
|
337
|
+
...i
|
|
338
|
+
} = t;
|
|
339
|
+
return o ? {
|
|
340
|
+
...i,
|
|
341
|
+
source: {
|
|
342
|
+
uri: o
|
|
343
|
+
}
|
|
344
|
+
} : i;
|
|
345
|
+
}
|
|
346
|
+
const be = g.forwardRef((t, o) => {
|
|
347
|
+
const n = _e.c(5);
|
|
348
|
+
if (!t.src)
|
|
349
|
+
return null;
|
|
350
|
+
let i;
|
|
351
|
+
n[0] !== t ? (i = Ee(t), n[0] = t, n[1] = i) : i = n[1];
|
|
352
|
+
let u;
|
|
353
|
+
return n[2] !== o || n[3] !== i ? (u = /* @__PURE__ */ me.jsx(ce, { ref: o, ...i }), n[2] = o, n[3] = i, n[4] = u) : u = n[4], u;
|
|
354
|
+
});
|
|
355
|
+
be.displayName = "PlatformPrimitiveImage";
|
|
356
|
+
const T = (t) => t == null ? 0 : typeof t == "number" ? t : "value" in t ? t.value : "min" in t ? t.min : 0, Pe = (t) => {
|
|
357
|
+
const o = t.map((u) => T(u.price)), n = Math.min(...o), i = Math.max(...o);
|
|
358
|
+
return n === void 0 || i === void 0 ? {
|
|
359
|
+
value: 0
|
|
360
|
+
} : n === i ? {
|
|
361
|
+
value: n
|
|
362
|
+
} : {
|
|
363
|
+
min: n,
|
|
364
|
+
max: i
|
|
365
|
+
};
|
|
366
|
+
}, Te = new se({
|
|
367
|
+
name: "campaign",
|
|
368
|
+
enableFeatures: {
|
|
369
|
+
ordinaryPrice: ({
|
|
370
|
+
variant: t,
|
|
371
|
+
orderLine: o,
|
|
372
|
+
searchResult: n,
|
|
373
|
+
product: i
|
|
374
|
+
}) => {
|
|
375
|
+
if (o) {
|
|
376
|
+
const u = o.productVariant;
|
|
377
|
+
return u?.ordinaryPrice ? T(u?.ordinaryPrice) * o.quantity : o.discountedLinePriceWithTax;
|
|
378
|
+
}
|
|
379
|
+
return t ? T(t.ordinaryPrice || 0) : n ? T(n.ordinaryPrice || 0) : i ? Pe(i.variants) : 0;
|
|
380
|
+
}
|
|
381
|
+
},
|
|
382
|
+
queryUpdates: {}
|
|
383
|
+
});
|
|
384
|
+
Te.setQueryUpdates({
|
|
385
|
+
search: {
|
|
386
|
+
fields: [{
|
|
387
|
+
items: [{
|
|
388
|
+
ordinaryPrice: [{
|
|
389
|
+
operation: "PriceRange",
|
|
390
|
+
fields: ["min, max"],
|
|
391
|
+
fragment: !0
|
|
392
|
+
}, {
|
|
393
|
+
operation: "SinglePrice",
|
|
394
|
+
fields: ["value"],
|
|
395
|
+
fragment: !0
|
|
396
|
+
}]
|
|
397
|
+
}]
|
|
398
|
+
}]
|
|
399
|
+
},
|
|
400
|
+
product: {
|
|
401
|
+
fields: [{
|
|
402
|
+
ordinaryPrice: [{
|
|
403
|
+
operation: "PriceRange",
|
|
404
|
+
fields: ["min, max"],
|
|
405
|
+
fragment: !0
|
|
406
|
+
}, {
|
|
407
|
+
operation: "SinglePrice",
|
|
408
|
+
fields: ["value"],
|
|
409
|
+
fragment: !0
|
|
410
|
+
}]
|
|
411
|
+
}, {
|
|
412
|
+
variants: ["ordinaryPrice"]
|
|
413
|
+
}]
|
|
414
|
+
},
|
|
415
|
+
briefProducts: {
|
|
416
|
+
fields: [{
|
|
417
|
+
items: [{
|
|
418
|
+
ordinaryPrice: [{
|
|
419
|
+
operation: "PriceRange",
|
|
420
|
+
fields: ["min, max"],
|
|
421
|
+
fragment: !0
|
|
422
|
+
}, {
|
|
423
|
+
operation: "SinglePrice",
|
|
424
|
+
fields: ["value"],
|
|
425
|
+
fragment: !0
|
|
426
|
+
}]
|
|
427
|
+
}, {
|
|
428
|
+
variants: ["ordinaryPrice"]
|
|
429
|
+
}]
|
|
430
|
+
}]
|
|
431
|
+
},
|
|
432
|
+
activeOrder: {
|
|
433
|
+
fields: [{
|
|
434
|
+
lines: [{
|
|
435
|
+
productVariant: ["ordinaryPrice"]
|
|
436
|
+
}]
|
|
437
|
+
}]
|
|
438
|
+
},
|
|
439
|
+
orderByCode: {
|
|
440
|
+
fields: [{
|
|
441
|
+
lines: [{
|
|
442
|
+
productVariant: ["ordinaryPrice"]
|
|
443
|
+
}]
|
|
444
|
+
}]
|
|
445
|
+
},
|
|
446
|
+
adjustOrderLine: {
|
|
447
|
+
fields: [{
|
|
448
|
+
fields: [{
|
|
449
|
+
lines: [{
|
|
450
|
+
productVariant: ["ordinaryPrice"]
|
|
451
|
+
}]
|
|
452
|
+
}]
|
|
453
|
+
}]
|
|
454
|
+
},
|
|
455
|
+
addItemToOrder: {
|
|
456
|
+
fields: [{
|
|
457
|
+
fields: [{
|
|
458
|
+
lines: [{
|
|
459
|
+
productVariant: ["ordinaryPrice"]
|
|
460
|
+
}]
|
|
461
|
+
}]
|
|
462
|
+
}]
|
|
463
|
+
}
|
|
464
|
+
});
|
|
465
|
+
export {
|
|
466
|
+
Te as VendureCampaignPlugin
|
|
467
|
+
};
|