@useinsider/guido 3.9.0-beta.7791f66 → 3.9.0-beta.f67c6c8

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 (79) hide show
  1. package/dist/@types/config/schemas.js +70 -66
  2. package/dist/components/organisms/email-preview/desktop-preview/DesktopPreview.vue.js +8 -8
  3. package/dist/components/organisms/email-preview/desktop-preview/DesktopPreview.vue2.js +15 -12
  4. package/dist/components/organisms/email-preview/mobile-preview/ContentView.vue.js +5 -5
  5. package/dist/components/organisms/email-preview/mobile-preview/ContentView.vue2.js +16 -15
  6. package/dist/components/organisms/unsubscribe/UnsubscribePageSelection.vue.js +5 -5
  7. package/dist/components/organisms/unsubscribe/UnsubscribePageSelection.vue2.js +42 -37
  8. package/dist/components/organisms/unsubscribe/UnsubscribeTypeSelection.vue.js +3 -3
  9. package/dist/components/organisms/unsubscribe/UnsubscribeTypeSelection.vue2.js +40 -37
  10. package/dist/composables/useHtmlCompiler.js +13 -10
  11. package/dist/composables/usePreviewInteractionGuard.js +17 -0
  12. package/dist/composables/usePreviewMode.js +15 -14
  13. package/dist/composables/useRecommendationPreview.js +111 -0
  14. package/dist/composables/useSave.js +14 -14
  15. package/dist/composables/validators/useUnsubscribeBlockValidator.js +26 -17
  16. package/dist/config/compiler/htmlCompilerRules.js +38 -10
  17. package/dist/config/compiler/recommendationCompilerRules.js +84 -109
  18. package/dist/config/compiler/utils/recommendationCompilerUtils.js +110 -98
  19. package/dist/config/migrator/recommendation/htmlBuilder.js +53 -52
  20. package/dist/config/migrator/recommendation/settingsMapper.js +38 -33
  21. package/dist/enums/html-validator.js +6 -5
  22. package/dist/extensions/Blocks/Items/block.js +48 -29
  23. package/dist/extensions/Blocks/Items/utils/nodeConfigUtils.js +62 -45
  24. package/dist/extensions/Blocks/Recommendation/block.js +64 -42
  25. package/dist/extensions/Blocks/Recommendation/canvasPreview.css.js +16 -0
  26. package/dist/extensions/Blocks/Recommendation/constants/defaultConfig.js +41 -32
  27. package/dist/extensions/Blocks/Recommendation/controls/cardComposition/index.js +461 -363
  28. package/dist/extensions/Blocks/Recommendation/controls/main/index.js +99 -87
  29. package/dist/extensions/Blocks/Recommendation/controls/main/pricePlacement.js +133 -0
  30. package/dist/extensions/Blocks/Recommendation/controls/main/utils.js +160 -158
  31. package/dist/extensions/Blocks/Recommendation/extension.js +30 -29
  32. package/dist/extensions/Blocks/Recommendation/iconsRegistry.js +21 -7
  33. package/dist/extensions/Blocks/Recommendation/recommendation.css.js +64 -4
  34. package/dist/extensions/Blocks/Recommendation/store/recommendation.js +3 -1
  35. package/dist/extensions/Blocks/Recommendation/templates/grid/elementRenderer.js +130 -96
  36. package/dist/extensions/Blocks/Recommendation/templates/grid/template.js +43 -54
  37. package/dist/extensions/Blocks/Recommendation/templates/index.js +17 -14
  38. package/dist/extensions/Blocks/Recommendation/templates/list/elementRenderer.js +86 -80
  39. package/dist/extensions/Blocks/Recommendation/templates/list/template.js +31 -40
  40. package/dist/extensions/Blocks/Recommendation/templates/utils.js +155 -102
  41. package/dist/extensions/Blocks/Unsubscribe/block.js +40 -37
  42. package/dist/extensions/Blocks/Unsubscribe/control.js +19 -16
  43. package/dist/extensions/Blocks/controlFactories.js +76 -57
  44. package/dist/guido.css +1 -1
  45. package/dist/src/@types/config/schemas.d.ts +16 -0
  46. package/dist/src/composables/useConfig.d.ts +4 -0
  47. package/dist/src/composables/usePreviewInteractionGuard.d.ts +3 -0
  48. package/dist/src/composables/useRecommendationPreview.d.ts +10 -0
  49. package/dist/src/composables/validators/useUnsubscribeBlockValidator.d.ts +1 -0
  50. package/dist/src/config/migrator/recommendation/settingsMapper.d.ts +1 -1
  51. package/dist/src/extensions/Blocks/CouponBlock/controls/index.d.ts +1 -1
  52. package/dist/src/extensions/Blocks/Items/block.d.ts +8 -0
  53. package/dist/src/extensions/Blocks/Items/controls/index.d.ts +3 -3
  54. package/dist/src/extensions/Blocks/Items/utils/nodeConfigUtils.d.ts +1 -1
  55. package/dist/src/extensions/Blocks/Recommendation/block.d.ts +10 -0
  56. package/dist/src/extensions/Blocks/Recommendation/controls/cardComposition/index.d.ts +29 -3
  57. package/dist/src/extensions/Blocks/Recommendation/controls/index.d.ts +1 -1
  58. package/dist/src/extensions/Blocks/Recommendation/controls/main/index.d.ts +3 -1
  59. package/dist/src/extensions/Blocks/Recommendation/controls/main/pricePlacement.d.ts +59 -0
  60. package/dist/src/extensions/Blocks/Recommendation/controls/name/index.d.ts +1 -1
  61. package/dist/src/extensions/Blocks/Recommendation/controls/oldPrice/index.d.ts +1 -1
  62. package/dist/src/extensions/Blocks/Recommendation/controls/omnibusDiscount/index.d.ts +1 -1
  63. package/dist/src/extensions/Blocks/Recommendation/controls/omnibusPrice/index.d.ts +1 -1
  64. package/dist/src/extensions/Blocks/Recommendation/controls/price/index.d.ts +1 -1
  65. package/dist/src/extensions/Blocks/Recommendation/store/recommendation.d.ts +2 -0
  66. package/dist/src/extensions/Blocks/Recommendation/templates/grid/elementRenderer.d.ts +13 -1
  67. package/dist/src/extensions/Blocks/Recommendation/templates/grid/template.d.ts +4 -4
  68. package/dist/src/extensions/Blocks/Recommendation/templates/index.d.ts +1 -1
  69. package/dist/src/extensions/Blocks/Recommendation/templates/list/elementRenderer.d.ts +10 -1
  70. package/dist/src/extensions/Blocks/Recommendation/templates/list/template.d.ts +3 -3
  71. package/dist/src/extensions/Blocks/Recommendation/templates/utils.d.ts +51 -1
  72. package/dist/src/extensions/Blocks/Recommendation/types/nodeConfig.d.ts +15 -0
  73. package/dist/src/extensions/Blocks/controlFactories.d.ts +10 -1
  74. package/dist/src/stores/config.d.ts +36 -0
  75. package/dist/src/stores/unsubscribe.d.ts +11 -1
  76. package/dist/src/utils/ampErrorFilter.d.ts +1 -0
  77. package/dist/stores/unsubscribe.js +8 -7
  78. package/dist/utils/ampErrorFilter.js +6 -5
  79. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
- import { TextAlignBuiltInControl as a, TextColorBuiltInControl as g, TextSizeBuiltInControl as x, TextStyleBuiltInControl as f, TextFontFamilyBuiltInControl as C, ButtonBackgroundColorBuiltInControl as T, TextPaddingsBuiltInControl as B, ImageSizeBuiltInControl as I, ImageMarginsBuiltInControl as y, ButtonAlignBuiltInControl as m, ButtonBorderBuiltInControl as S, ButtonBorderRadiusBuiltInControl as A, ButtonColorBuiltInControl as b, ButtonFontFamilyBuiltInControl as N, ButtonMarginsBuiltInControl as q, ButtonPaddingsBuiltInControl as $, ButtonTextBuiltInControl as k, ButtonTextSizeBuiltInControl as p, ButtonTextStyleAndFontColorBuiltInControl as F, ButtonFitToContainerBuiltInControl as h, TextLineSpacingBuiltInControl as M } from "../../node_modules/@stripoinc/ui-editor-extensions/dist/esm/index.js";
2
- const z = "buttonTextStyleForm";
3
- function P(o, n, r) {
1
+ import { TextAlignBuiltInControl as a, TextColorBuiltInControl as g, TextSizeBuiltInControl as f, TextStyleBuiltInControl as x, TextFontFamilyBuiltInControl as C, ButtonBackgroundColorBuiltInControl as T, TextPaddingsBuiltInControl as B, ImageSizeBuiltInControl as m, ImageMarginsBuiltInControl as y, ButtonAlignBuiltInControl as I, ButtonBorderBuiltInControl as S, ButtonBorderRadiusBuiltInControl as A, ButtonColorBuiltInControl as b, ButtonFontFamilyBuiltInControl as N, ButtonMarginsBuiltInControl as q, ButtonPaddingsBuiltInControl as $, ButtonTextBuiltInControl as k, ButtonTextSizeBuiltInControl as p, ButtonTextStyleAndFontColorBuiltInControl as h, ButtonFitToContainerBuiltInControl as F, TextLineSpacingBuiltInControl as M } from "../../node_modules/@stripoinc/ui-editor-extensions/dist/esm/index.js";
2
+ const R = "buttonTextStyleForm", _ = "backgroundColor", E = /* @__PURE__ */ new Set(["", "transparent", "rgba(0, 0, 0, 0)"]);
3
+ function z(o, n, r) {
4
4
  return class extends a {
5
5
  getId() {
6
6
  return o;
@@ -13,7 +13,7 @@ function P(o, n, r) {
13
13
  }
14
14
  };
15
15
  }
16
- function _(o, n, r) {
16
+ function v(o, n, r) {
17
17
  return class extends g {
18
18
  getId() {
19
19
  return o;
@@ -26,8 +26,8 @@ function _(o, n, r) {
26
26
  }
27
27
  };
28
28
  }
29
- function v(o, n, r) {
30
- return class extends x {
29
+ function P(o, n, r) {
30
+ return class extends f {
31
31
  getId() {
32
32
  return o;
33
33
  }
@@ -39,8 +39,8 @@ function v(o, n, r) {
39
39
  }
40
40
  };
41
41
  }
42
- function L(o, n, r) {
43
- return class extends f {
42
+ function D(o, n, r) {
43
+ return class extends x {
44
44
  getId() {
45
45
  return o;
46
46
  }
@@ -52,7 +52,7 @@ function L(o, n, r) {
52
52
  }
53
53
  };
54
54
  }
55
- function R(o, n, r) {
55
+ function K(o, n, r) {
56
56
  return class extends C {
57
57
  getId() {
58
58
  return o;
@@ -65,7 +65,7 @@ function R(o, n, r) {
65
65
  }
66
66
  };
67
67
  }
68
- function O(o, n, r) {
68
+ function L(o, n, r) {
69
69
  return class extends T {
70
70
  getId() {
71
71
  return o;
@@ -76,9 +76,28 @@ function O(o, n, r) {
76
76
  const t = e.closest(r);
77
77
  return t ? t.querySelectorAll(`[esd-extension-block-id="${n}"]`) : [];
78
78
  }
79
+ /**
80
+ * Mirrors the picked background onto each target cell as an INLINE style.
81
+ *
82
+ * Stripo's built-in applies the background as a stylesheet rule, not inline. On
83
+ * regeneration we re-bake the captured color inline (cellBgStyleAttr); inline then
84
+ * outranks Stripo's rule in the cascade, so a later re-edit silently has no effect
85
+ * (SD-143023). Writing the inline here keeps it the single source of truth and in
86
+ * sync on every edit. Merged into the parent control's single patch (no extra apply).
87
+ */
88
+ getAdditionalModifications(e) {
89
+ const t = this.getTargetNodes(e);
90
+ if (!t.length)
91
+ return;
92
+ const s = this.api.getValues()[_], i = !s || E.has(s), c = this.api.getDocumentModifier();
93
+ return t.forEach((u) => {
94
+ const l = c.modifyHtml(u);
95
+ i ? l.removeStyle("background-color") : l.setStyle("background-color", s);
96
+ }), c;
97
+ }
79
98
  };
80
99
  }
81
- function Y(o, n, r) {
100
+ function U(o, n, r) {
82
101
  return class extends B {
83
102
  getId() {
84
103
  return o;
@@ -91,7 +110,7 @@ function Y(o, n, r) {
91
110
  }
92
111
  };
93
112
  }
94
- function w(o, n, r) {
113
+ function Y(o, n, r) {
95
114
  return class extends M {
96
115
  getId() {
97
116
  return o;
@@ -101,8 +120,8 @@ function w(o, n, r) {
101
120
  }
102
121
  };
103
122
  }
104
- function D(o, n, r = ".ins-recommendation-product-container") {
105
- return class extends m {
123
+ function w(o, n, r = ".ins-recommendation-product-container") {
124
+ return class extends I {
106
125
  getId() {
107
126
  return o;
108
127
  }
@@ -112,7 +131,7 @@ function D(o, n, r = ".ins-recommendation-product-container") {
112
131
  }
113
132
  };
114
133
  }
115
- function H(o, n, r = ".ins-recommendation-product-container") {
134
+ function G(o, n, r = ".ins-recommendation-product-container") {
116
135
  return class extends b {
117
136
  getId() {
118
137
  return o;
@@ -123,7 +142,7 @@ function H(o, n, r = ".ins-recommendation-product-container") {
123
142
  }
124
143
  };
125
144
  }
126
- function K(o, n, r = ".ins-recommendation-product-container") {
145
+ function H(o, n, r = ".ins-recommendation-product-container") {
127
146
  return class extends S {
128
147
  getId() {
129
148
  return o;
@@ -134,7 +153,7 @@ function K(o, n, r = ".ins-recommendation-product-container") {
134
153
  }
135
154
  };
136
155
  }
137
- function U(o, n, r = ".ins-recommendation-product-container") {
156
+ function V(o, n, r = ".ins-recommendation-product-container") {
138
157
  return class extends A {
139
158
  getId() {
140
159
  return o;
@@ -145,7 +164,7 @@ function U(o, n, r = ".ins-recommendation-product-container") {
145
164
  }
146
165
  };
147
166
  }
148
- function V(o, n, r = ".ins-recommendation-product-container") {
167
+ function W(o, n, r = ".ins-recommendation-product-container") {
149
168
  return class extends N {
150
169
  getId() {
151
170
  return o;
@@ -156,7 +175,7 @@ function V(o, n, r = ".ins-recommendation-product-container") {
156
175
  }
157
176
  };
158
177
  }
159
- function W(o, n, r = ".ins-recommendation-product-container") {
178
+ function X(o, n, r = ".ins-recommendation-product-container") {
160
179
  return class extends q {
161
180
  getId() {
162
181
  return o;
@@ -167,7 +186,7 @@ function W(o, n, r = ".ins-recommendation-product-container") {
167
186
  }
168
187
  };
169
188
  }
170
- function X(o, n, r = ".ins-recommendation-product-container") {
189
+ function j(o, n, r = ".ins-recommendation-product-container") {
171
190
  return class extends $ {
172
191
  getId() {
173
192
  return o;
@@ -178,7 +197,7 @@ function X(o, n, r = ".ins-recommendation-product-container") {
178
197
  }
179
198
  };
180
199
  }
181
- function j(o, n, r = ".ins-recommendation-product-container") {
200
+ function J(o, n, r = ".ins-recommendation-product-container") {
182
201
  return class extends k {
183
202
  getId() {
184
203
  return o;
@@ -189,7 +208,7 @@ function j(o, n, r = ".ins-recommendation-product-container") {
189
208
  }
190
209
  };
191
210
  }
192
- function G(o, n, r = ".ins-recommendation-product-container") {
211
+ function Q(o, n, r = ".ins-recommendation-product-container") {
193
212
  return class extends p {
194
213
  getId() {
195
214
  return o;
@@ -200,8 +219,8 @@ function G(o, n, r = ".ins-recommendation-product-container") {
200
219
  }
201
220
  };
202
221
  }
203
- function J(o, n, r) {
204
- return class extends F {
222
+ function Z(o, n, r) {
223
+ return class extends h {
205
224
  getId() {
206
225
  return o;
207
226
  }
@@ -223,21 +242,21 @@ function J(o, n, r) {
223
242
  const t = e.closest(r);
224
243
  if (!t)
225
244
  return;
226
- const i = t.querySelectorAll(`[esd-extension-block-id="${n}"] a.es-button`);
227
- if (!i.length)
245
+ const s = t.querySelectorAll(`[esd-extension-block-id="${n}"] a.es-button`);
246
+ if (!s.length)
228
247
  return;
229
- const s = this.api.getValues()[z];
230
- if (!s)
248
+ const i = this.api.getValues()[R];
249
+ if (!i)
231
250
  return;
232
- const u = s.bold ? "bold" : "normal", c = s.italic ? "italic" : "normal", l = this.api.getDocumentModifier();
233
- return i.forEach((d) => {
234
- l.modifyHtml(d).setStyle("font-weight", u).setStyle("font-style", c);
251
+ const c = i.bold ? "bold" : "normal", u = i.italic ? "italic" : "normal", l = this.api.getDocumentModifier();
252
+ return s.forEach((d) => {
253
+ l.modifyHtml(d).setStyle("font-weight", c).setStyle("font-style", u);
235
254
  }), l;
236
255
  }
237
256
  };
238
257
  }
239
- function Q(o, n, r) {
240
- return class extends h {
258
+ function tt(o, n, r) {
259
+ return class extends F {
241
260
  getId() {
242
261
  return o;
243
262
  }
@@ -247,8 +266,8 @@ function Q(o, n, r) {
247
266
  }
248
267
  };
249
268
  }
250
- function Z(o, n, r) {
251
- return class extends I {
269
+ function et(o, n, r) {
270
+ return class extends m {
252
271
  getId() {
253
272
  return o;
254
273
  }
@@ -262,7 +281,7 @@ function Z(o, n, r) {
262
281
  }
263
282
  };
264
283
  }
265
- function tt(o, n, r) {
284
+ function nt(o, n, r) {
266
285
  return class extends y {
267
286
  getId() {
268
287
  return o;
@@ -278,25 +297,25 @@ function tt(o, n, r) {
278
297
  };
279
298
  }
280
299
  export {
281
- D as createButtonAlignControl,
282
- K as createButtonBorderControl,
283
- U as createButtonBorderRadiusControl,
284
- H as createButtonColorControl,
285
- Q as createButtonFitToContainerControl,
286
- V as createButtonFontFamilyControl,
287
- W as createButtonMarginsControl,
288
- X as createButtonPaddingsControl,
289
- j as createButtonTextControl,
290
- G as createButtonTextSizeControl,
291
- J as createButtonTextStyleAndFontColorControl,
292
- tt as createImageMarginsControl,
293
- Z as createImageSizeControl,
294
- Y as createPaddingsControl,
295
- P as createTextAlignControl,
296
- O as createTextBackgroundColorControl,
297
- _ as createTextColorControl,
298
- R as createTextFontFamilyControl,
299
- w as createTextLineSpacingControl,
300
- v as createTextSizeControl,
301
- L as createTextStyleControl
300
+ w as createButtonAlignControl,
301
+ H as createButtonBorderControl,
302
+ V as createButtonBorderRadiusControl,
303
+ G as createButtonColorControl,
304
+ tt as createButtonFitToContainerControl,
305
+ W as createButtonFontFamilyControl,
306
+ X as createButtonMarginsControl,
307
+ j as createButtonPaddingsControl,
308
+ J as createButtonTextControl,
309
+ Q as createButtonTextSizeControl,
310
+ Z as createButtonTextStyleAndFontColorControl,
311
+ nt as createImageMarginsControl,
312
+ et as createImageSizeControl,
313
+ U as createPaddingsControl,
314
+ z as createTextAlignControl,
315
+ L as createTextBackgroundColorControl,
316
+ v as createTextColorControl,
317
+ K as createTextFontFamilyControl,
318
+ Y as createTextLineSpacingControl,
319
+ P as createTextSizeControl,
320
+ D as createTextStyleControl
302
321
  };
package/dist/guido.css CHANGED
@@ -1 +1 @@
1
- .gap-16[data-v-5553d071],.gap-16[data-v-0e1b0c54]{gap:16px}[data-v-73199fa4] .in-button-v2__wrapper{line-height:0}[data-v-22226124] .in-segments-wrapper__button_selected,[data-v-22226124] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb;color:#0010ac;border-color:#0010ac}[data-v-2cb418af] .in-progress-wrapper__progress p span:last-child{display:none!important}[data-v-2cb418af] .in-progress-description-status{display:none!important}.view-options-wrapper[data-v-195ab6d4]{position:relative;display:inline-block}.new-tag[data-v-195ab6d4]{position:absolute;top:-8px;right:-16px;z-index:10}[data-v-195ab6d4] .guido__view-option-selection-desktop svg,[data-v-195ab6d4] .guido__view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-195ab6d4] .in-segments-wrapper__button_selected,[data-v-195ab6d4] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}[data-v-195ab6d4] .in-tooltip-wrapper__icon{cursor:pointer}.editor-toolbar[data-v-173c3a40]{gap:4px}.version-history-item[data-v-ee4b9c3f]{flex-basis:200px}.version-history[data-v-64c52560]{gap:8px}.version-history__toolbar[data-v-64c52560]{gap:4px}.view-options-wrapper[data-v-d405ca59]{position:relative;display:inline-block}.new-tag[data-v-d405ca59]{position:absolute;top:-8px;right:-16px;z-index:10}[data-v-d405ca59] .guido__verion-history-view-option-selection-desktop svg,[data-v-d405ca59] .guido__verion-history-view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-d405ca59] .in-segments-wrapper__button_selected,[data-v-d405ca59] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}[data-v-d405ca59] .in-tooltip-wrapper__icon{cursor:pointer}.auto-save-toggle[data-v-2c964af4]{position:relative}.auto-save-toggle__info-box[data-v-2c964af4]{position:absolute;top:100%;left:0;z-index:10;width:280px}.editor-actions[data-v-82128f7d]{gap:4px}.header-wrapper[data-v-5c02dcc7]{min-width:1000px}.guido-loading__wrapper[data-v-07c4b2d8]{height:100%;top:75px!important;bottom:0!important}.guido-editor__wrapper[data-v-50dac6de]{--ribbon-offset: 0px;position:relative;width:100%;height:calc(100vh - 128px - var(--ribbon-offset))}.guido-editor__container[data-v-50dac6de]{width:100%;height:calc(100vh - 128px - var(--ribbon-offset))}.guido-editor__no-header[data-v-50dac6de]{height:calc(100vh - 75px - var(--ribbon-offset))}[data-v-293f1c47] .in-breadcrumb-wrapper__links{cursor:pointer}.templates-wrapper[data-v-f6a8cb4c]{gap:16px;grid-template-columns:repeat(3,1fr)}.templates-wrapper .template-wrapper[data-v-f6a8cb4c]{cursor:pointer}.templates-wrapper .template-wrapper .template-container[data-v-f6a8cb4c]{height:274px;padding:2px;transition:none}.templates-wrapper .template-wrapper .template-container.selected[data-v-f6a8cb4c]{padding:1px}.templates-wrapper .template-wrapper .template-container .thumbnail[data-v-f6a8cb4c]{object-fit:cover;transform:scale(1)}[data-v-18e1220a] .guido__verion-history-view-option-selection-desktop svg,[data-v-18e1220a] .guido__verion-history-view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-18e1220a] .in-segments-wrapper__button_selected,[data-v-18e1220a] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}.error-list[data-v-c3fd5d4b]{gap:16px}.desktop-browser-header[data-v-d86c5af5]{height:79px;min-height:79px}.desktop-browser-header__left[data-v-d86c5af5]{-webkit-user-drag:none;height:79px;width:378px}.desktop-browser-header__center[data-v-d86c5af5]{height:79px;background-repeat:repeat-x;background-size:auto 100%;background-position:left top}.desktop-browser-header__right[data-v-d86c5af5]{-webkit-user-drag:none;height:79px;width:112px}.desktop-preview[data-v-988f8da6]{min-width:602px;height:70vh;min-height:583px;border-radius:10px}.desktop-preview iframe[data-v-988f8da6]{min-height:504px}.iframe-wrapper[data-v-e0424e99]{width:258px}.iframe-scaled[data-v-e0424e99]{width:320px;height:124.0310077519%;transform:scale(.80625);transform-origin:top left}.cropped-text[data-v-eb3d05d7]{width:220px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-preview-wrapper__phone[data-v-3f472f96]{width:282px}.mobile-preview-wrapper__phone img[data-v-3f472f96]{object-fit:cover;border-radius:44px}.mobile-preview-wrapper__content[data-v-3f472f96]{width:258px;height:450px;left:12px}[data-v-7419ae06] .vueperslides__bullets,[data-v-796d193b] .vueperslides__bullets{pointer-events:none!important}[data-v-796d193b] .vueperslides__parallax-wrapper{height:110px!important}[data-v-cadfc82d] .vueperslides__bullets{pointer-events:none!important}[data-v-cadfc82d] .vueperslides__parallax-wrapper{height:110px!important}
1
+ .gap-16[data-v-5553d071],.gap-16[data-v-0e1b0c54]{gap:16px}[data-v-73199fa4] .in-button-v2__wrapper{line-height:0}[data-v-22226124] .in-segments-wrapper__button_selected,[data-v-22226124] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb;color:#0010ac;border-color:#0010ac}[data-v-2cb418af] .in-progress-wrapper__progress p span:last-child{display:none!important}[data-v-2cb418af] .in-progress-description-status{display:none!important}.view-options-wrapper[data-v-195ab6d4]{position:relative;display:inline-block}.new-tag[data-v-195ab6d4]{position:absolute;top:-8px;right:-16px;z-index:10}[data-v-195ab6d4] .guido__view-option-selection-desktop svg,[data-v-195ab6d4] .guido__view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-195ab6d4] .in-segments-wrapper__button_selected,[data-v-195ab6d4] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}[data-v-195ab6d4] .in-tooltip-wrapper__icon{cursor:pointer}.editor-toolbar[data-v-173c3a40]{gap:4px}.version-history-item[data-v-ee4b9c3f]{flex-basis:200px}.version-history[data-v-64c52560]{gap:8px}.version-history__toolbar[data-v-64c52560]{gap:4px}.view-options-wrapper[data-v-d405ca59]{position:relative;display:inline-block}.new-tag[data-v-d405ca59]{position:absolute;top:-8px;right:-16px;z-index:10}[data-v-d405ca59] .guido__verion-history-view-option-selection-desktop svg,[data-v-d405ca59] .guido__verion-history-view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-d405ca59] .in-segments-wrapper__button_selected,[data-v-d405ca59] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}[data-v-d405ca59] .in-tooltip-wrapper__icon{cursor:pointer}.auto-save-toggle[data-v-2c964af4]{position:relative}.auto-save-toggle__info-box[data-v-2c964af4]{position:absolute;top:100%;left:0;z-index:10;width:280px}.editor-actions[data-v-82128f7d]{gap:4px}.header-wrapper[data-v-5c02dcc7]{min-width:1000px}.guido-loading__wrapper[data-v-07c4b2d8]{height:100%;top:75px!important;bottom:0!important}.guido-editor__wrapper[data-v-50dac6de]{--ribbon-offset: 0px;position:relative;width:100%;height:calc(100vh - 128px - var(--ribbon-offset))}.guido-editor__container[data-v-50dac6de]{width:100%;height:calc(100vh - 128px - var(--ribbon-offset))}.guido-editor__no-header[data-v-50dac6de]{height:calc(100vh - 75px - var(--ribbon-offset))}[data-v-293f1c47] .in-breadcrumb-wrapper__links{cursor:pointer}.templates-wrapper[data-v-669fe7cf]{gap:16px;grid-template-columns:repeat(3,1fr)}.templates-wrapper .template-wrapper[data-v-669fe7cf]{cursor:pointer}.templates-wrapper .template-wrapper .template-container[data-v-669fe7cf]{height:274px;padding:2px;transition:none}.templates-wrapper .template-wrapper .template-container.selected[data-v-669fe7cf]{padding:1px}.templates-wrapper .template-wrapper .template-container .thumbnail[data-v-669fe7cf]{object-fit:cover;transform:scale(1)}[data-v-7a305bb2] .guido__verion-history-view-option-selection-desktop svg,[data-v-7a305bb2] .guido__verion-history-view-option-selection-mobile svg{margin:0 0 0 2px}[data-v-7a305bb2] .in-segments-wrapper__button_selected,[data-v-7a305bb2] .in-segments-wrapper__button_selected:hover{background-color:#dae1fb}.error-list[data-v-c3fd5d4b]{gap:16px}.desktop-browser-header[data-v-d86c5af5]{height:79px;min-height:79px}.desktop-browser-header__left[data-v-d86c5af5]{-webkit-user-drag:none;height:79px;width:378px}.desktop-browser-header__center[data-v-d86c5af5]{height:79px;background-repeat:repeat-x;background-size:auto 100%;background-position:left top}.desktop-browser-header__right[data-v-d86c5af5]{-webkit-user-drag:none;height:79px;width:112px}.desktop-preview[data-v-06afaecb]{min-width:602px;height:70vh;min-height:583px;border-radius:10px}.desktop-preview iframe[data-v-06afaecb]{min-height:504px}.iframe-wrapper[data-v-cbafc185]{width:258px}.iframe-scaled[data-v-cbafc185]{width:320px;height:124.0310077519%;transform:scale(.80625);transform-origin:top left}.cropped-text[data-v-eb3d05d7]{width:220px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-preview-wrapper__phone[data-v-3f472f96]{width:282px}.mobile-preview-wrapper__phone img[data-v-3f472f96]{object-fit:cover;border-radius:44px}.mobile-preview-wrapper__content[data-v-3f472f96]{width:258px;height:450px;left:12px}[data-v-7419ae06] .vueperslides__bullets,[data-v-796d193b] .vueperslides__bullets{pointer-events:none!important}[data-v-796d193b] .vueperslides__parallax-wrapper{height:110px!important}[data-v-cadfc82d] .vueperslides__bullets{pointer-events:none!important}[data-v-cadfc82d] .vueperslides__parallax-wrapper{height:110px!important}
@@ -139,6 +139,10 @@ export declare const LegacyRecommendationConfigSchema: v.LooseObjectSchema<{
139
139
  readonly size: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
140
140
  /** Vertical responsiveness flag (legacy size=1 variants) */
141
141
  readonly verticalResponsiveness: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
142
+ /** Legacy "Move to next line" price placement toggle (cardPricePlacement.js) */
143
+ readonly isPriceMovedToNextLine: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
144
+ /** Legacy "Hide if same as discounted" / delete-price-for-zero-sale toggle */
145
+ readonly isPriceDeletedForZeroSale: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
142
146
  }, undefined>;
143
147
  /**
144
148
  * Migration-only inputs scoped to this template.
@@ -195,6 +199,10 @@ export declare const TemplateMigrationSchema: v.ObjectSchema<{
195
199
  readonly size: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
196
200
  /** Vertical responsiveness flag (legacy size=1 variants) */
197
201
  readonly verticalResponsiveness: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
202
+ /** Legacy "Move to next line" price placement toggle (cardPricePlacement.js) */
203
+ readonly isPriceMovedToNextLine: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
204
+ /** Legacy "Hide if same as discounted" / delete-price-for-zero-sale toggle */
205
+ readonly isPriceDeletedForZeroSale: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
198
206
  }, undefined>, undefined>, {}>;
199
207
  }, undefined>;
200
208
  /**
@@ -274,6 +282,10 @@ export declare const TemplateSchema: v.ObjectSchema<{
274
282
  readonly size: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
275
283
  /** Vertical responsiveness flag (legacy size=1 variants) */
276
284
  readonly verticalResponsiveness: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
285
+ /** Legacy "Move to next line" price placement toggle (cardPricePlacement.js) */
286
+ readonly isPriceMovedToNextLine: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
287
+ /** Legacy "Hide if same as discounted" / delete-price-for-zero-sale toggle */
288
+ readonly isPriceDeletedForZeroSale: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
277
289
  }, undefined>, undefined>, {}>;
278
290
  }, undefined>, {}>;
279
291
  }, undefined>;
@@ -665,6 +677,10 @@ export declare const GuidoConfigSchema: v.ObjectSchema<{
665
677
  readonly size: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
666
678
  /** Vertical responsiveness flag (legacy size=1 variants) */
667
679
  readonly verticalResponsiveness: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
680
+ /** Legacy "Move to next line" price placement toggle (cardPricePlacement.js) */
681
+ readonly isPriceMovedToNextLine: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
682
+ /** Legacy "Hide if same as discounted" / delete-price-for-zero-sale toggle */
683
+ readonly isPriceDeletedForZeroSale: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
668
684
  }, undefined>, undefined>, {}>;
669
685
  }, undefined>, {}>;
670
686
  }, undefined>, {}>;
@@ -60,6 +60,8 @@ export declare const useConfig: () => {
60
60
  blockType?: string | undefined;
61
61
  size?: string | number | undefined;
62
62
  verticalResponsiveness?: boolean | undefined;
63
+ isPriceMovedToNextLine?: boolean | undefined;
64
+ isPriceDeletedForZeroSale?: boolean | undefined;
63
65
  } & {
64
66
  [key: string]: unknown;
65
67
  };
@@ -186,6 +188,8 @@ export declare const useConfig: () => {
186
188
  blockType?: string | undefined;
187
189
  size?: string | number | undefined;
188
190
  verticalResponsiveness?: boolean | undefined;
191
+ isPriceMovedToNextLine?: boolean | undefined;
192
+ isPriceDeletedForZeroSale?: boolean | undefined;
189
193
  } & {
190
194
  [key: string]: unknown;
191
195
  };
@@ -0,0 +1,3 @@
1
+ export declare const usePreviewInteractionGuard: () => {
2
+ blockPreviewInteractions: (iframe: HTMLIFrameElement) => void;
3
+ };
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Substitutes recommendation product variables in compiled preview HTML with the
3
+ * blocks' fetched sample products, then simulates the email-service hide rule by
4
+ * emptying the original-price cell (DOM kept) for slots with no real discount.
5
+ * Returns the input unchanged when there are no reco blocks or no products.
6
+ */
7
+ export declare function substituteRecommendationPreview(html: string): string;
8
+ export declare const useRecommendationPreview: () => {
9
+ substituteRecommendationPreview: typeof substituteRecommendationPreview;
10
+ };
@@ -1,3 +1,4 @@
1
1
  export declare const useUnsubscribeBlockValidator: () => {
2
2
  validateUnsubscribeBlockUniqueness: (html: string) => boolean;
3
+ validateUnsubscribeBlockHasTemplate: (html: string) => boolean;
3
4
  };
@@ -3,5 +3,5 @@ import type { CurrencyConfig, RecommendationNodeConfig } from '@@/Extensions/Blo
3
3
  import type { LegacyRecommendationConfig } from '@@/Types/config';
4
4
  /** Defensive against missing/malformed legacy `currencySettings` — defaults are per-field, not whole-object. */
5
5
  export declare function mapCurrency(legacy: unknown): CurrencyConfig;
6
- export type SettingsPartial = Pick<RecommendationNodeConfig, 'recommendationId' | 'strategy' | 'productIds' | 'size' | 'shuffleProducts' | 'language' | 'currency' | 'filters' | 'layout' | 'cardsInRow' | 'mobileCardsInRow' | 'mobileLayoutEnabled' | 'previousMobileCardsInRow' | 'columnSpacing' | 'rowSpacing' | 'mobileColumnSpacing' | 'mobileRowSpacing' | 'omnibusPrice' | 'omnibusDiscount' | 'configVersion'>;
6
+ export type SettingsPartial = Pick<RecommendationNodeConfig, 'recommendationId' | 'strategy' | 'productIds' | 'size' | 'shuffleProducts' | 'language' | 'currency' | 'filters' | 'layout' | 'cardsInRow' | 'mobileCardsInRow' | 'mobileLayoutEnabled' | 'previousMobileCardsInRow' | 'columnSpacing' | 'rowSpacing' | 'mobileColumnSpacing' | 'mobileRowSpacing' | 'omnibusPrice' | 'omnibusDiscount' | 'priceMovedToNextLine' | 'priceHideIfSameAsDiscounted' | 'configVersion'>;
7
7
  export declare function mapSettings(recCfg: LegacyRecommendationConfig, parsed: LegacyProductConfig, id: number): SettingsPartial;
@@ -74,11 +74,11 @@ export declare const TextBackgroundControl: {
74
74
  new (): {
75
75
  getId(): string;
76
76
  getTargetNodes(root: import("@stripoinc/ui-editor-extensions").ImmutableHtmlNode): import("@stripoinc/ui-editor-extensions").ImmutableHtmlNode[];
77
+ getAdditionalModifications(root: import("@stripoinc/ui-editor-extensions").ImmutableHtmlNode): import("@stripoinc/ui-editor-extensions").TemplateModifier<import("@stripoinc/ui-editor-extensions").HtmlNodeModifier, import("@stripoinc/ui-editor-extensions").CssNodeModifier> | undefined;
77
78
  getParentControlId(): string;
78
79
  api: import("@stripoinc/ui-editor-extensions").ControlApi;
79
80
  getLabels(): import("@stripoinc/ui-editor-extensions").ControlLabels | undefined;
80
81
  getModificationDescription(): import("@stripoinc/ui-editor-extensions").ModificationDescription | undefined;
81
- getAdditionalModifications(_root: import("@stripoinc/ui-editor-extensions").ImmutableHtmlNode): import("@stripoinc/ui-editor-extensions").TemplateModifier<import("@stripoinc/ui-editor-extensions").HtmlNodeModifier, import("@stripoinc/ui-editor-extensions").CssNodeModifier> | undefined;
82
82
  isVisible(_node: import("@stripoinc/ui-editor-extensions").ImmutableHtmlNode): boolean;
83
83
  };
84
84
  };
@@ -24,5 +24,13 @@ export declare class ItemsBlock extends Block {
24
24
  getSettingsPanelTitleHtml(): string;
25
25
  getTemplate(): string;
26
26
  allowInnerBlocksDND(): boolean;
27
+ canBeSavedAsModule(): boolean;
27
28
  onCreated(node: ImmutableHtmlNode): void;
29
+ /**
30
+ * Re-seeds nodeConfig from the persisted esd-ext-config when a saved module
31
+ * surfaces via document load. Stripo strips esd-ext-config and never restores it
32
+ * into nodeConfig, so without this a reused module would reset to defaults.
33
+ * Guarded to the nodeConfig-empty case so it runs once and never loops.
34
+ */
35
+ onDocumentChanged(node: ImmutableHtmlNode): void;
28
36
  }
@@ -232,11 +232,11 @@ export declare const OriginalPriceControls: {
232
232
  new (): {
233
233
  getId(): string;
234
234
  getTargetNodes(root: import("@stripoinc/ui-editor-extensions").ImmutableHtmlNode): import("@stripoinc/ui-editor-extensions").ImmutableHtmlNode[];
235
+ getAdditionalModifications(root: import("@stripoinc/ui-editor-extensions").ImmutableHtmlNode): import("@stripoinc/ui-editor-extensions").TemplateModifier<import("@stripoinc/ui-editor-extensions").HtmlNodeModifier, import("@stripoinc/ui-editor-extensions").CssNodeModifier> | undefined;
235
236
  getParentControlId(): string;
236
237
  api: import("@stripoinc/ui-editor-extensions").ControlApi;
237
238
  getLabels(): import("@stripoinc/ui-editor-extensions").ControlLabels | undefined;
238
239
  getModificationDescription(): import("@stripoinc/ui-editor-extensions").ModificationDescription | undefined;
239
- getAdditionalModifications(_root: import("@stripoinc/ui-editor-extensions").ImmutableHtmlNode): import("@stripoinc/ui-editor-extensions").TemplateModifier<import("@stripoinc/ui-editor-extensions").HtmlNodeModifier, import("@stripoinc/ui-editor-extensions").CssNodeModifier> | undefined;
240
240
  isVisible(_node: import("@stripoinc/ui-editor-extensions").ImmutableHtmlNode): boolean;
241
241
  };
242
242
  };
@@ -318,11 +318,11 @@ export declare const PriceControls: {
318
318
  new (): {
319
319
  getId(): string;
320
320
  getTargetNodes(root: import("@stripoinc/ui-editor-extensions").ImmutableHtmlNode): import("@stripoinc/ui-editor-extensions").ImmutableHtmlNode[];
321
+ getAdditionalModifications(root: import("@stripoinc/ui-editor-extensions").ImmutableHtmlNode): import("@stripoinc/ui-editor-extensions").TemplateModifier<import("@stripoinc/ui-editor-extensions").HtmlNodeModifier, import("@stripoinc/ui-editor-extensions").CssNodeModifier> | undefined;
321
322
  getParentControlId(): string;
322
323
  api: import("@stripoinc/ui-editor-extensions").ControlApi;
323
324
  getLabels(): import("@stripoinc/ui-editor-extensions").ControlLabels | undefined;
324
325
  getModificationDescription(): import("@stripoinc/ui-editor-extensions").ModificationDescription | undefined;
325
- getAdditionalModifications(_root: import("@stripoinc/ui-editor-extensions").ImmutableHtmlNode): import("@stripoinc/ui-editor-extensions").TemplateModifier<import("@stripoinc/ui-editor-extensions").HtmlNodeModifier, import("@stripoinc/ui-editor-extensions").CssNodeModifier> | undefined;
326
326
  isVisible(_node: import("@stripoinc/ui-editor-extensions").ImmutableHtmlNode): boolean;
327
327
  };
328
328
  };
@@ -404,11 +404,11 @@ export declare const NameControls: {
404
404
  new (): {
405
405
  getId(): string;
406
406
  getTargetNodes(root: import("@stripoinc/ui-editor-extensions").ImmutableHtmlNode): import("@stripoinc/ui-editor-extensions").ImmutableHtmlNode[];
407
+ getAdditionalModifications(root: import("@stripoinc/ui-editor-extensions").ImmutableHtmlNode): import("@stripoinc/ui-editor-extensions").TemplateModifier<import("@stripoinc/ui-editor-extensions").HtmlNodeModifier, import("@stripoinc/ui-editor-extensions").CssNodeModifier> | undefined;
407
408
  getParentControlId(): string;
408
409
  api: import("@stripoinc/ui-editor-extensions").ControlApi;
409
410
  getLabels(): import("@stripoinc/ui-editor-extensions").ControlLabels | undefined;
410
411
  getModificationDescription(): import("@stripoinc/ui-editor-extensions").ModificationDescription | undefined;
411
- getAdditionalModifications(_root: import("@stripoinc/ui-editor-extensions").ImmutableHtmlNode): import("@stripoinc/ui-editor-extensions").TemplateModifier<import("@stripoinc/ui-editor-extensions").HtmlNodeModifier, import("@stripoinc/ui-editor-extensions").CssNodeModifier> | undefined;
412
412
  isVisible(_node: import("@stripoinc/ui-editor-extensions").ImmutableHtmlNode): boolean;
413
413
  };
414
414
  };
@@ -55,7 +55,7 @@ export declare function getItemsBlockContainer(currentNode: ImmutableHtmlNode |
55
55
  /**
56
56
  * Gets the node configuration from the Items block.
57
57
  * Uses Stripo V2's getNodeConfig() API.
58
- * Falls back to migrating from legacy config block if nodeConfig is empty.
58
+ * Falls back to the persisted esd-ext-config (saved modules), then legacy config block.
59
59
  * @param currentNode - The current node from the control
60
60
  * @returns The ItemsBlockConfig object or null if not found
61
61
  */
@@ -117,6 +117,16 @@ export declare class RecommendationBlock extends Block {
117
117
  * added classes via setAttribute.
118
118
  */
119
119
  private _assignRecommendationId;
120
+ /**
121
+ * Stamps the `hide-price` attribute (read by email-service at send time) on
122
+ * the block element from the config flag.
123
+ */
124
+ private _stampHidePrice;
125
+ /**
126
+ * Stamps `hide-price` from config only when the block lacks the attribute —
127
+ * heals templates saved before this feature without dirtying current ones.
128
+ */
129
+ private _healHidePriceAttr;
120
130
  /**
121
131
  * Gets the recommendation-id from a block node
122
132
  */
@@ -50,6 +50,15 @@ export declare class RecommendationCardCompositionControl extends CommonControl
50
50
  */
51
51
  private _tryReorderInPlace;
52
52
  private _createBuiltInItemHtml;
53
+ /**
54
+ * Inline mode: the merged "Product Prices" group item. It moves as a unit in
55
+ * the main list (both keys stay adjacent) and contains a nested 2-item drag
56
+ * to reorder Product Price ↔ Product Original Price — which flips the inline
57
+ * render order via `resolveInlinePriceOrder`. The group keeps a single
58
+ * visibility toggle (`data-action-for="productPrice"`). Nested sub-items use a
59
+ * plain drag handle (no UE button → untouched by the reorder-icon rescue).
60
+ */
61
+ private _createPriceGroupItemHtml;
53
62
  private _createCustomItemHtml;
54
63
  /**
55
64
  * Builds select options from the store's filterList.
@@ -105,7 +114,23 @@ export declare class RecommendationCardCompositionControl extends CommonControl
105
114
  */
106
115
  private _rescueReorderIconsToStore;
107
116
  private _setupEventListeners;
117
+ /**
118
+ * Builds the composition key order from the orderable list, expanding the
119
+ * inline "Product Prices" group into its two sub-keys (in nested DOM order)
120
+ * so both price keys stay adjacent and in the user-chosen order.
121
+ */
122
+ private _extractCompositionOrder;
108
123
  private _setupDragAndDrop;
124
+ /**
125
+ * Wires drag/drop reordering for one item level on the shared list. Both the
126
+ * top-level items and the nested price sub-items use this; they never fight
127
+ * because each only sets its `dragged` ref when its own `itemSelector` matches
128
+ * at dragstart (and the top-level one additionally ignores drags originating
129
+ * inside `ignoreSelector`). Every drop re-reads the full composition via
130
+ * `_extractCompositionOrder`, so both levels commit through `_onReorder`
131
+ * identically.
132
+ */
133
+ private _registerDragHandlers;
109
134
  private _setupDeleteHandler;
110
135
  private _onAddAttribute;
111
136
  /**
@@ -162,9 +187,10 @@ export declare class RecommendationCardCompositionControl extends CommonControl
162
187
  private _extractSegmentBgFromCard;
163
188
  private _getControlContainer;
164
189
  /**
165
- * Adds/removes orderable-disabled class based on layout orientation.
166
- * List layout hides drag handles via CSS and disables draggable attribute
167
- * to prevent native browser drag-and-drop from working without the handle.
190
+ * Ensures composition reorder is enabled. Both grid and list layouts now
191
+ * support reordering top-level items and the nested price sub-items are all
192
+ * draggable. (Items render with `draggable="true"`; this just clears any stale
193
+ * disabled state.)
168
194
  */
169
195
  private _updateOrderableState;
170
196
  /**
@@ -9,7 +9,7 @@
9
9
  * // Or individual imports
10
10
  * import { NameAlignControl, ButtonColorControl } from './controls';
11
11
  */
12
- export { RecommendationBlockControl, CONTROL_BLOCK_ID, AlgorithmControl, ALGORITHM_CONTROL_ID, LocaleControl, LOCALE_CONTROL_ID, CurrencyControl, CURRENCY_CONTROL_ID, ProductCountControl, PRODUCT_COUNT_CONTROL_ID, ProductLayoutControl, PRODUCT_LAYOUT_CONTROL_ID, FiltersControl, FILTERS_CONTROL_ID, ShuffleControl, SHUFFLE_CONTROL_ID, LayoutOrientationControl, LAYOUT_ORIENTATION_CONTROL_ID, } from './main';
12
+ export { RecommendationBlockControl, CONTROL_BLOCK_ID, AlgorithmControl, ALGORITHM_CONTROL_ID, LocaleControl, LOCALE_CONTROL_ID, CurrencyControl, CURRENCY_CONTROL_ID, ProductCountControl, PRODUCT_COUNT_CONTROL_ID, ProductLayoutControl, PRODUCT_LAYOUT_CONTROL_ID, FiltersControl, FILTERS_CONTROL_ID, ShuffleControl, SHUFFLE_CONTROL_ID, LayoutOrientationControl, LAYOUT_ORIENTATION_CONTROL_ID, PricePlacementControl, PRICE_PLACEMENT_CONTROL_ID, } from './main';
13
13
  export * from './main/utils';
14
14
  export { NameControls } from './name';
15
15
  export { PriceControls } from './price';
@@ -5,11 +5,12 @@ import { CurrencyControl, CURRENCY_CONTROL_ID } from './currency';
5
5
  import { FiltersControl, FILTERS_CONTROL_ID } from './filters';
6
6
  import { LayoutOrientationControl, LAYOUT_ORIENTATION_CONTROL_ID } from './layoutOrientation';
7
7
  import { LocaleControl, LOCALE_CONTROL_ID } from './locale';
8
+ import { PricePlacementControl, PRICE_PLACEMENT_CONTROL_ID } from './pricePlacement';
8
9
  import { ProductCountControl, PRODUCT_COUNT_CONTROL_ID } from './productCount';
9
10
  import { ProductLayoutControl, PRODUCT_LAYOUT_CONTROL_ID } from './productLayout';
10
11
  import { ShuffleControl, SHUFFLE_CONTROL_ID } from './shuffle';
11
12
  export declare const CONTROL_BLOCK_ID = "ui-elements-recommendation-block";
12
- export { AlgorithmControl, ALGORITHM_CONTROL_ID, LocaleControl, LOCALE_CONTROL_ID, CurrencyControl, CURRENCY_CONTROL_ID, ProductCountControl, PRODUCT_COUNT_CONTROL_ID, ProductLayoutControl, PRODUCT_LAYOUT_CONTROL_ID, FiltersControl, FILTERS_CONTROL_ID, ShuffleControl, SHUFFLE_CONTROL_ID, LayoutOrientationControl, LAYOUT_ORIENTATION_CONTROL_ID, };
13
+ export { AlgorithmControl, ALGORITHM_CONTROL_ID, LocaleControl, LOCALE_CONTROL_ID, CurrencyControl, CURRENCY_CONTROL_ID, ProductCountControl, PRODUCT_COUNT_CONTROL_ID, ProductLayoutControl, PRODUCT_LAYOUT_CONTROL_ID, FiltersControl, FILTERS_CONTROL_ID, ShuffleControl, SHUFFLE_CONTROL_ID, LayoutOrientationControl, LAYOUT_ORIENTATION_CONTROL_ID, PricePlacementControl, PRICE_PLACEMENT_CONTROL_ID, };
13
14
  export * from './utils';
14
15
  /**
15
16
  * Main recommendation block control that composes all sub-controls
@@ -26,6 +27,7 @@ export declare class RecommendationBlockControl extends CommonControl {
26
27
  private productLayoutControl;
27
28
  private filtersControl;
28
29
  private shuffleControl;
30
+ private pricePlacementControl;
29
31
  private layoutOrientationControl;
30
32
  getId(): string;
31
33
  getTemplate(): string;