@useinsider/guido 3.1.1-beta.a80cc5e → 3.1.1-beta.b085e4a

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.
Files changed (41) hide show
  1. package/dist/@types/config/schemas.js +61 -69
  2. package/dist/components/organisms/email-preview/desktop-preview/EmailSizeIndicator.vue.js +7 -7
  3. package/dist/components/organisms/email-preview/desktop-preview/EmailSizeIndicator.vue2.js +20 -12
  4. package/dist/composables/useHtmlCompiler.js +20 -20
  5. package/dist/composables/usePreviewMode.js +16 -20
  6. package/dist/composables/useSave.js +13 -15
  7. package/dist/config/compiler/recommendationCompilerRules.js +158 -44
  8. package/dist/config/compiler/utils/recommendationCompilerUtils.js +59 -58
  9. package/dist/config/migrator/checkboxMigrator.js +3 -5
  10. package/dist/config/migrator/radioButtonMigrator.js +12 -14
  11. package/dist/extensions/Blocks/Recommendation/block.js +1 -1
  12. package/dist/extensions/Blocks/Recommendation/constants/selectors.js +11 -27
  13. package/dist/extensions/Blocks/Recommendation/controls/cardComposition/index.js +172 -185
  14. package/dist/extensions/Blocks/Recommendation/controls/main/utils.js +93 -95
  15. package/dist/extensions/Blocks/Recommendation/controls/spacing/index.js +73 -75
  16. package/dist/extensions/Blocks/Recommendation/templates/grid/elementRenderer.js +5 -7
  17. package/dist/extensions/Blocks/Recommendation/templates/grid/template.js +29 -30
  18. package/dist/extensions/Blocks/Recommendation/templates/index.js +7 -7
  19. package/dist/extensions/Blocks/Recommendation/templates/list/elementRenderer.js +1 -3
  20. package/dist/extensions/Blocks/Recommendation/templates/list/template.js +20 -20
  21. package/dist/extensions/Blocks/Recommendation/templates/utils.js +50 -57
  22. package/dist/extensions/Blocks/Recommendation/utils/tagName.js +6 -6
  23. package/dist/extensions/Blocks/Unsubscribe/settingsPanel.js +17 -16
  24. package/dist/guido.css +1 -1
  25. package/dist/src/@types/config/index.d.ts +1 -1
  26. package/dist/src/@types/config/schemas.d.ts +0 -20
  27. package/dist/src/@types/config/types.d.ts +1 -3
  28. package/dist/src/composables/useConfig.d.ts +0 -8
  29. package/dist/src/extensions/Blocks/Recommendation/constants/index.d.ts +1 -1
  30. package/dist/src/extensions/Blocks/Recommendation/constants/selectors.d.ts +0 -5
  31. package/dist/src/extensions/Blocks/Recommendation/controls/cardComposition/index.d.ts +0 -5
  32. package/dist/src/extensions/Blocks/Recommendation/templates/grid/template.d.ts +4 -4
  33. package/dist/src/extensions/Blocks/Recommendation/templates/list/template.d.ts +3 -3
  34. package/dist/src/extensions/Blocks/Recommendation/templates/utils.d.ts +3 -20
  35. package/dist/src/stores/config.d.ts +0 -72
  36. package/dist/src/stores/preview.d.ts +0 -3
  37. package/dist/src/utils/htmlCompiler.d.ts +1 -2
  38. package/dist/stores/preview.js +3 -4
  39. package/dist/utils/htmlCompiler.js +41 -48
  40. package/dist/utils/templatePreparation.js +20 -20
  41. package/package.json +1 -1
@@ -1,12 +1,12 @@
1
1
  import { ModificationDescription as p } from "../../../../../node_modules/@stripoinc/ui-editor-extensions/dist/esm/index.js";
2
- import { RecommendationBlockId as m } from "../../constants/blockIds.js";
2
+ import { RecommendationBlockId as f } from "../../constants/blockIds.js";
3
3
  import { MOBILE_CONTAINER_SELECTOR as P, MOBILE_ROW_SELECTOR as k, CURRENCY_ATTR as y, DESKTOP_CONTAINER_SELECTOR as q, CONTAINER_SELECTOR as $ } from "../../constants/selectors.js";
4
4
  import { RecommendationConfigService as E } from "../../services/configService.js";
5
5
  import { useRecommendationExtensionStore as C } from "../../store/recommendation.js";
6
6
  import { prepareProductRows as T } from "../../templates/index.js";
7
7
  import { formatPrice as B } from "../../utils/priceFormatter.js";
8
8
  import { isTdNode as v } from "../../utils/tagName.js";
9
- import { getDefaultProducts as L, DEFAULT_CARD_COMPOSITION as R, sanitizeImageUrl as j } from "../../templates/utils.js";
9
+ import { getDefaultProducts as _, DEFAULT_CARD_COMPOSITION as R, sanitizeImageUrl as j } from "../../templates/utils.js";
10
10
  const h = "recommendation-block-v2";
11
11
  function M(t) {
12
12
  if (!t)
@@ -16,7 +16,7 @@ function M(t) {
16
16
  if (e && e.includes(h))
17
17
  return t;
18
18
  }
19
- return "querySelector" in t ? t.querySelector(`.${h}`) ?? null : null;
19
+ return "querySelector" in t ? t.querySelector(`.${h}`) : null;
20
20
  }
21
21
  function g(t) {
22
22
  const e = M(t);
@@ -25,7 +25,7 @@ function g(t) {
25
25
  const o = e.getAttribute("data-layout");
26
26
  return o === "list" || o === "horizontal" ? "list" : "grid";
27
27
  }
28
- function _(t) {
28
+ function L(t) {
29
29
  const e = M(t);
30
30
  if (!e || !("getAttribute" in e))
31
31
  return R;
@@ -36,12 +36,12 @@ function b(t, e, o) {
36
36
  if (!e || !("childNodes" in e))
37
37
  return !1;
38
38
  const i = e.childNodes().find(
39
- (l) => "getType" in l && l.getType() === "text"
39
+ (c) => "getType" in c && c.getType() === "text"
40
40
  );
41
41
  return i ? (t.modifyHtml(i).setText(o), !0) : !1;
42
42
  }
43
43
  function x(t, e) {
44
- return t && t.length > 0 ? t : e.length > 0 ? e : L();
44
+ return t && t.length > 0 ? t : e.length > 0 ? e : _();
45
45
  }
46
46
  function V(t) {
47
47
  const { currentNode: e, documentModifier: o } = t;
@@ -56,7 +56,7 @@ function W(t) {
56
56
  documentModifier: o,
57
57
  products: n,
58
58
  layout: i,
59
- composition: l
59
+ composition: c
60
60
  } = t;
61
61
  if (!e || !("querySelector" in e))
62
62
  return;
@@ -68,10 +68,9 @@ function W(t) {
68
68
  const s = e.querySelector(k);
69
69
  if (!s)
70
70
  return;
71
- const c = C(), a = x(n, c.recommendationProducts), f = l ?? _(e), S = `<td><table class="ins-recommendation-product-container ins-recommendation-mobile-container" width="100%" cellpadding="0" cellspacing="0" border="0">${T(a, r, {
71
+ const l = C(), a = x(n, l.recommendationProducts), m = c ?? L(e), S = `<td><table class="ins-recommendation-product-container ins-recommendation-mobile-container" width="100%" cellpadding="0" cellspacing="0" border="0">${T(a, r, {
72
72
  productsPerRow: u.mobileCardsInRow,
73
- composition: f,
74
- filterList: c.filterList
73
+ composition: m
75
74
  })}</table></td>`;
76
75
  o.modifyHtml(s).setInnerHtml(S), o.apply(new p("Updated mobile product rows"));
77
76
  }
@@ -81,7 +80,7 @@ function G(t) {
81
80
  documentModifier: o,
82
81
  afterRegenerate: n,
83
82
  products: i,
84
- layout: l,
83
+ layout: c,
85
84
  composition: r
86
85
  } = t;
87
86
  if (!e || !("querySelector" in e))
@@ -89,54 +88,53 @@ function G(t) {
89
88
  const u = e.querySelector(q) ?? e.querySelector($);
90
89
  if (!u)
91
90
  return;
92
- const s = C(), c = x(i, s.recommendationProducts), { cardsInRow: a } = s.recommendationConfigs, f = r ?? _(e), d = l ?? g(e), S = T(c, d, {
91
+ const s = C(), l = x(i, s.recommendationProducts), { cardsInRow: a } = s.recommendationConfigs, m = r ?? L(e), d = c ?? g(e), S = T(l, d, {
93
92
  productsPerRow: a,
94
- composition: f,
95
- filterList: s.filterList
93
+ composition: m
96
94
  });
97
95
  o.modifyHtml(u).setInnerHtml(S).apply(new p("Updated product")), W(t), n == null || n();
98
96
  }
99
97
  function I(t, e, o, n) {
100
- const l = `0 ${Math.floor(o / 2)}px`;
98
+ const c = `0 ${Math.floor(o / 2)}px`;
101
99
  let r = !1;
102
100
  return n === "grid" ? Array.from(
103
101
  t.querySelectorAll(".attribute-cell")
104
102
  ).forEach((s) => {
105
- e.modifyHtml(s).setStyle("padding", l), r = !0;
103
+ e.modifyHtml(s).setStyle("padding", c), r = !0;
106
104
  }) : Array.from(
107
105
  t.querySelectorAll(".product-card-wrapper")
108
106
  ).forEach((s) => {
109
- const c = "parentNode" in s ? s.parentNode : null;
110
- c && v(c) && (e.modifyHtml(c).setStyle("padding", l), r = !0);
107
+ const l = "parentNode" in s ? s.parentNode : null;
108
+ l && v(l) && (e.modifyHtml(l).setStyle("padding", c), r = !0);
111
109
  }), r;
112
110
  }
113
111
  function O(t, e, o) {
114
112
  const n = `${o}px`, i = Array.from(t.querySelectorAll(".spacer"));
115
- let l = !1;
113
+ let c = !1;
116
114
  return i.forEach((r) => {
117
- e.modifyHtml(r).setStyle("height", n), l = !0;
118
- }), l;
115
+ e.modifyHtml(r).setStyle("height", n), c = !0;
116
+ }), c;
119
117
  }
120
118
  function Y(t) {
121
119
  const { currentNode: e, documentModifier: o } = t;
122
120
  if (!e)
123
121
  return;
124
122
  const n = E.getConfig(e), i = g(e);
125
- let l = !1;
123
+ let c = !1;
126
124
  const r = e.querySelector(q);
127
125
  if (r) {
128
- l = I(
126
+ c = I(
129
127
  r,
130
128
  o,
131
129
  n.columnSpacing,
132
130
  i
133
131
  );
134
- const c = O(
132
+ const l = O(
135
133
  r,
136
134
  o,
137
135
  n.rowSpacing
138
136
  );
139
- l = l || c;
137
+ c = c || l;
140
138
  }
141
139
  const u = e.querySelector(P);
142
140
  if (u) {
@@ -146,23 +144,23 @@ function Y(t) {
146
144
  n.mobileColumnSpacing,
147
145
  i
148
146
  );
149
- l = l || s;
150
- const c = O(
147
+ c = c || s;
148
+ const l = O(
151
149
  u,
152
150
  o,
153
151
  n.mobileRowSpacing
154
152
  );
155
- l = l || c;
153
+ c = c || l;
156
154
  }
157
- l && o.apply(new p("Reapply spacing after regeneration"));
155
+ c && o.apply(new p("Reapply spacing after regeneration"));
158
156
  }
159
157
  function re(t) {
160
- const { currentNode: e, documentModifier: o, afterRegenerate: n, products: i, layout: l, composition: r } = t;
158
+ const { currentNode: e, documentModifier: o, afterRegenerate: n, products: i, layout: c, composition: r } = t;
161
159
  e && G({
162
160
  currentNode: e,
163
161
  documentModifier: o,
164
162
  products: i,
165
- layout: l,
163
+ layout: c,
166
164
  composition: r,
167
165
  afterRegenerate: () => {
168
166
  setTimeout(() => {
@@ -172,7 +170,7 @@ function re(t) {
172
170
  });
173
171
  }
174
172
  function ie(t, e) {
175
- return t.length === e ? t : t.length > e ? t.slice(0, e) : [...t, ...L(e - t.length)];
173
+ return t.length === e ? t : t.length > e ? t.slice(0, e) : [...t, ..._(e - t.length)];
176
174
  }
177
175
  function D() {
178
176
  const t = C(), { currencySettings: e } = t.recommendationConfigs, o = parseInt(e.decimalCount);
@@ -193,28 +191,28 @@ function A(t, e = "price") {
193
191
  });
194
192
  }
195
193
  function F(t) {
196
- var l, r;
197
- const e = D(), o = ((l = t.original_price) == null ? void 0 : l[e.code]) ?? Object.values(t.original_price ?? {})[0] ?? 0, n = ((r = t.price) == null ? void 0 : r[e.code]) ?? Object.values(t.price ?? {})[0] ?? 0, i = o > 0 ? Math.round((o - n) / o * 100) : 0;
194
+ var c, r;
195
+ const e = D(), o = ((c = t.original_price) == null ? void 0 : c[e.code]) ?? Object.values(t.original_price ?? {})[0] ?? 0, n = ((r = t.price) == null ? void 0 : r[e.code]) ?? Object.values(t.price ?? {})[0] ?? 0, i = o > 0 ? Math.round((o - n) / o * 100) : 0;
198
196
  return i > 0 ? `-${i}%` : "0%";
199
197
  }
200
198
  function H(t) {
201
- const { documentModifier: e, product: o, priceEl: n, oldPriceEl: i, omnibusPriceEl: l, omnibusDiscountEl: r } = t;
199
+ const { documentModifier: e, product: o, priceEl: n, oldPriceEl: i, omnibusPriceEl: c, omnibusDiscountEl: r } = t;
202
200
  let u = !1;
203
201
  if (n && "querySelector" in n) {
204
- const s = n.querySelector("strong") ?? null, c = A(o, "price");
205
- b(e, s, c) && (u = !0);
202
+ const s = n.querySelector("strong"), l = A(o, "price");
203
+ b(e, s, l) && (u = !0);
206
204
  }
207
205
  if (i && "querySelector" in i) {
208
- const s = i.querySelector("strong") ?? null, c = A(o, "original_price");
209
- b(e, s, c) && (u = !0);
206
+ const s = i.querySelector("strong"), l = A(o, "original_price");
207
+ b(e, s, l) && (u = !0);
210
208
  }
211
- if (l && "querySelector" in l) {
212
- const s = l.querySelector(".omnibus-price-value") ?? null, c = A(o, "original_price");
213
- b(e, s, c) && (u = !0);
209
+ if (c && "querySelector" in c) {
210
+ const s = c.querySelector(".omnibus-price-value"), l = A(o, "original_price");
211
+ b(e, s, l) && (u = !0);
214
212
  }
215
213
  if (r && "querySelector" in r) {
216
- const s = r.querySelector(".omnibus-discount-value") ?? null, c = F(o);
217
- b(e, s, c) && (u = !0);
214
+ const s = r.querySelector(".omnibus-discount-value"), l = F(o);
215
+ b(e, s, l) && (u = !0);
218
216
  }
219
217
  return u;
220
218
  }
@@ -224,33 +222,33 @@ function K(t) {
224
222
  product: o,
225
223
  imageEl: n,
226
224
  nameEl: i,
227
- priceEl: l,
225
+ priceEl: c,
228
226
  oldPriceEl: r,
229
227
  omnibusPriceEl: u,
230
228
  omnibusDiscountEl: s,
231
- buttonEl: c
229
+ buttonEl: l
232
230
  } = t;
233
231
  let a = !1;
234
232
  if (n && "querySelector" in n) {
235
- const f = n.querySelector("img");
236
- f && (e.modifyHtml(f).setAttribute("src", j(o.image_url)).setAttribute("alt", o.name), a = !0);
233
+ const m = n.querySelector("img");
234
+ m && (e.modifyHtml(m).setAttribute("src", j(o.image_url)).setAttribute("alt", o.name), a = !0);
237
235
  const d = n.querySelector("a");
238
236
  d && (e.modifyHtml(d).setAttribute("href", o.url), a = !0);
239
237
  }
240
238
  if (i && "querySelector" in i) {
241
- const f = i.querySelector("strong") ?? null;
242
- b(e, f, o.name) && (a = !0);
239
+ const m = i.querySelector("strong");
240
+ b(e, m, o.name) && (a = !0);
243
241
  }
244
242
  if (H({
245
243
  documentModifier: e,
246
244
  product: o,
247
- priceEl: l,
245
+ priceEl: c,
248
246
  oldPriceEl: r,
249
247
  omnibusPriceEl: u,
250
248
  omnibusDiscountEl: s
251
- }) && (a = !0), c && "querySelector" in c) {
252
- const f = c.querySelector("a.es-button") || c.querySelector("a");
253
- f && (e.modifyHtml(f).setAttribute("href", o.url), a = !0);
249
+ }) && (a = !0), l && "querySelector" in l) {
250
+ const m = l.querySelector("a.es-button") || l.querySelector("a");
251
+ m && (e.modifyHtml(m).setAttribute("href", o.url), a = !0);
254
252
  }
255
253
  return a;
256
254
  }
@@ -261,53 +259,53 @@ function w(t, e, o) {
261
259
  if (!("querySelectorAll" in t))
262
260
  return !1;
263
261
  const n = t.querySelectorAll(
264
- `[esd-extension-block-id="${m.IMAGE}"]`
262
+ `[esd-extension-block-id="${f.IMAGE}"]`
265
263
  ), i = t.querySelectorAll(
266
- `[esd-extension-block-id="${m.NAME}"]`
267
- ), l = t.querySelectorAll(
268
- `[esd-extension-block-id="${m.PRICE}"]`
264
+ `[esd-extension-block-id="${f.NAME}"]`
265
+ ), c = t.querySelectorAll(
266
+ `[esd-extension-block-id="${f.PRICE}"]`
269
267
  ), r = t.querySelectorAll(
270
- `[esd-extension-block-id="${m.OLD_PRICE}"]`
268
+ `[esd-extension-block-id="${f.OLD_PRICE}"]`
271
269
  ), u = t.querySelectorAll(
272
- `[esd-extension-block-id="${m.OMNIBUS_PRICE}"]`
270
+ `[esd-extension-block-id="${f.OMNIBUS_PRICE}"]`
273
271
  ), s = t.querySelectorAll(
274
- `[esd-extension-block-id="${m.OMNIBUS_DISCOUNT}"]`
275
- ), c = t.querySelectorAll(
276
- `[esd-extension-block-id="${m.BUTTON}"]`
272
+ `[esd-extension-block-id="${f.OMNIBUS_DISCOUNT}"]`
273
+ ), l = t.querySelectorAll(
274
+ `[esd-extension-block-id="${f.BUTTON}"]`
277
275
  ), a = Math.min(n.length, o.length);
278
- let f = !1;
276
+ let m = !1;
279
277
  for (let d = 0; d < a; d++) {
280
278
  const S = K({
281
279
  documentModifier: e,
282
280
  product: o[d],
283
281
  imageEl: n[d] ?? null,
284
282
  nameEl: i[d] ?? null,
285
- priceEl: l[d] ?? null,
283
+ priceEl: c[d] ?? null,
286
284
  oldPriceEl: r[d] ?? null,
287
285
  omnibusPriceEl: u[d] ?? null,
288
286
  omnibusDiscountEl: s[d] ?? null,
289
- buttonEl: c[d] ?? null
287
+ buttonEl: l[d] ?? null
290
288
  });
291
- f = f || S;
289
+ m = m || S;
292
290
  }
293
- return f;
291
+ return m;
294
292
  }
295
- function le(t) {
293
+ function ce(t) {
296
294
  const { currentNode: e, documentModifier: o, products: n } = t;
297
295
  if (!e || !("querySelectorAll" in e))
298
296
  return !1;
299
297
  const i = U(e);
300
298
  if (!("querySelectorAll" in i) || i.querySelectorAll(
301
- `[esd-extension-block-id="${m.IMAGE}"]`
299
+ `[esd-extension-block-id="${f.IMAGE}"]`
302
300
  ).length !== n.length)
303
301
  return !1;
304
302
  let r = w(i, o, n);
305
303
  const u = g(e), s = E.getConfig(e);
306
304
  if (u !== "list" && s.mobileLayoutEnabled && "querySelector" in e) {
307
- const c = e.querySelector(P);
308
- if (c) {
305
+ const l = e.querySelector(P);
306
+ if (l) {
309
307
  const a = w(
310
- c,
308
+ l,
311
309
  o,
312
310
  n
313
311
  );
@@ -320,40 +318,40 @@ function N(t, e, o) {
320
318
  if (!("querySelectorAll" in t))
321
319
  return !1;
322
320
  const n = t.querySelectorAll(
323
- `[esd-extension-block-id="${m.PRICE}"]`
321
+ `[esd-extension-block-id="${f.PRICE}"]`
324
322
  ), i = t.querySelectorAll(
325
- `[esd-extension-block-id="${m.OLD_PRICE}"]`
326
- ), l = t.querySelectorAll(
327
- `[esd-extension-block-id="${m.OMNIBUS_PRICE}"]`
323
+ `[esd-extension-block-id="${f.OLD_PRICE}"]`
324
+ ), c = t.querySelectorAll(
325
+ `[esd-extension-block-id="${f.OMNIBUS_PRICE}"]`
328
326
  ), r = t.querySelectorAll(
329
- `[esd-extension-block-id="${m.OMNIBUS_DISCOUNT}"]`
327
+ `[esd-extension-block-id="${f.OMNIBUS_DISCOUNT}"]`
330
328
  ), u = Math.min(n.length, o.length);
331
329
  let s = !1;
332
- for (let c = 0; c < u; c++)
330
+ for (let l = 0; l < u; l++)
333
331
  H({
334
332
  documentModifier: e,
335
- product: o[c],
336
- priceEl: n[c] ?? null,
337
- oldPriceEl: i[c] ?? null,
338
- omnibusPriceEl: l[c] ?? null,
339
- omnibusDiscountEl: r[c] ?? null
333
+ product: o[l],
334
+ priceEl: n[l] ?? null,
335
+ oldPriceEl: i[l] ?? null,
336
+ omnibusPriceEl: c[l] ?? null,
337
+ omnibusDiscountEl: r[l] ?? null
340
338
  }) && (s = !0);
341
339
  return s;
342
340
  }
343
- function ce(t) {
341
+ function le(t) {
344
342
  const { currentNode: e, documentModifier: o } = t;
345
343
  if (!e || !("querySelectorAll" in e))
346
344
  return !1;
347
345
  const i = C().recommendationProducts;
348
346
  if (i.length === 0)
349
347
  return !1;
350
- const l = U(e);
351
- let r = N(l, o, i);
348
+ const c = U(e);
349
+ let r = N(c, o, i);
352
350
  const u = g(e), s = E.getConfig(e);
353
351
  if (u !== "list" && s.mobileLayoutEnabled && "querySelector" in e) {
354
- const c = e.querySelector(P);
355
- if (c) {
356
- const a = N(c, o, i);
352
+ const l = e.querySelector(P);
353
+ if (l) {
354
+ const a = N(l, o, i);
357
355
  r = r || a;
358
356
  }
359
357
  }
@@ -363,23 +361,23 @@ function se(t) {
363
361
  const { currentNode: e, documentModifier: o, currency: n } = t, i = M(e);
364
362
  if (!i)
365
363
  return;
366
- const l = n.alignment === "before" ? "0" : "1", r = (u, s) => {
364
+ const c = n.alignment === "before" ? "0" : "1", r = (u, s) => {
367
365
  o.modifyHtml(i).setAttribute(u, s);
368
366
  };
369
- r(y.CURRENCY, n.code), r(y.SYMBOL, n.symbol), r(y.ALIGNMENT, l), r(y.THOUSAND_SEPARATOR, n.thousandSeparator), r(y.DECIMAL_SEPARATOR, n.decimalSeparator), r(y.DECIMAL_COUNT, n.decimalCount.toString()), o.apply(new p("Update currency attributes"));
367
+ r(y.CURRENCY, n.code), r(y.SYMBOL, n.symbol), r(y.ALIGNMENT, c), r(y.THOUSAND_SEPARATOR, n.thousandSeparator), r(y.DECIMAL_SEPARATOR, n.decimalSeparator), r(y.DECIMAL_COUNT, n.decimalCount.toString()), o.apply(new p("Update currency attributes"));
370
368
  }
371
369
  export {
372
370
  ie as adjustProductsToSize,
373
371
  A as formatProductPrice,
374
372
  M as getBlockElement,
375
- _ as getCardComposition,
373
+ L as getCardComposition,
376
374
  g as getCurrentLayout,
377
375
  Y as reapplySpacing,
378
376
  W as regenerateMobileProductRows,
379
377
  G as regenerateProductRows,
380
378
  re as regenerateProductRowsWithStyles,
381
379
  se as setCurrencyAttributes,
382
- ce as updatePricesInPlace,
383
- le as updateProductContentInPlace,
380
+ le as updatePricesInPlace,
381
+ ce as updateProductContentInPlace,
384
382
  K as updateSingleProductContent
385
383
  };