@useinsider/guido 3.17.0-beta.35560b0 → 3.17.0-beta.3cd7f07
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 +6 -5
- package/dist/@types/config/schemas.js +7 -6
- package/dist/components/Guido.vue.js +10 -10
- package/dist/components/Guido.vue2.js +86 -78
- package/dist/components/organisms/extensions/recommendation/AssignStrategyDrawer.vue.js +21 -0
- package/dist/components/organisms/extensions/recommendation/AssignStrategyDrawer.vue2.js +131 -0
- package/dist/components/organisms/extensions/recommendation/LegacyStrategyUpdatedModal.vue.js +18 -0
- package/dist/components/organisms/extensions/recommendation/LegacyStrategyUpdatedModal.vue2.js +25 -0
- package/dist/components/organisms/extensions/recommendation/RemoveStrategyModal.vue.js +17 -0
- package/dist/components/organisms/extensions/recommendation/RemoveStrategyModal.vue2.js +57 -0
- package/dist/components/organisms/extensions/recommendation/StrategyInfoBoxContent.vue.js +19 -0
- package/dist/components/organisms/extensions/recommendation/StrategyInfoBoxContent.vue2.js +63 -0
- package/dist/composables/useCustomInterfaceAppearance.js +56 -38
- package/dist/composables/useLegacyStrategyConversion.js +52 -0
- package/dist/composables/useRecommendation.js +41 -34
- package/dist/config/i18n/en/labels.json.js +1 -1
- package/dist/config/migrator/recommendation/settingsMapper.js +17 -17
- package/dist/config/migrator/recommendationMigrator.js +5 -4
- package/dist/enums/academy.js +2 -1
- package/dist/enums/date.js +5 -3
- package/dist/enums/extensions/recommendationBlock.js +4 -1
- package/dist/extensions/Blocks/Recommendation/block.js +35 -29
- package/dist/extensions/Blocks/Recommendation/constants/defaultConfig.js +30 -30
- package/dist/extensions/Blocks/Recommendation/constants/selectors.js +14 -13
- package/dist/extensions/Blocks/Recommendation/controls/cardComposition/index.js +60 -59
- package/dist/extensions/Blocks/Recommendation/controls/main/index.js +242 -181
- package/dist/extensions/Blocks/Recommendation/controls/main/strategy.js +159 -0
- package/dist/extensions/Blocks/Recommendation/services/configService.js +54 -36
- package/dist/extensions/Blocks/Recommendation/store/recommendation.js +217 -80
- package/dist/extensions/Blocks/Recommendation/utils/legacyStrategyMigration.js +58 -0
- package/dist/extensions/Blocks/Recommendation/utils/nodeConfigWriter.js +22 -0
- package/dist/extensions/Blocks/common-control.js +22 -19
- package/dist/guido.css +1 -1
- package/dist/services/recommendationApi.js +81 -33
- package/dist/src/@types/config/schemas.d.ts +2 -0
- package/dist/src/components/organisms/extensions/recommendation/AssignStrategyDrawer.vue.d.ts +3 -0
- package/dist/src/components/organisms/extensions/recommendation/LegacyStrategyUpdatedModal.vue.d.ts +2 -0
- package/dist/src/components/organisms/extensions/recommendation/RemoveStrategyModal.vue.d.ts +2 -0
- package/dist/src/components/organisms/extensions/recommendation/StrategyInfoBoxContent.vue.d.ts +15 -0
- package/dist/src/composables/useConfig.d.ts +2 -0
- package/dist/src/composables/useLegacyStrategyConversion.d.ts +3 -0
- package/dist/src/composables/useRecommendation.d.ts +1 -0
- package/dist/src/enums/academy.d.ts +1 -0
- package/dist/src/enums/date.d.ts +1 -0
- package/dist/src/enums/extensions/recommendationBlock.d.ts +3 -0
- package/dist/src/extensions/Blocks/Recommendation/constants/defaultConfig.d.ts +2 -6
- package/dist/src/extensions/Blocks/Recommendation/constants/index.d.ts +1 -1
- package/dist/src/extensions/Blocks/Recommendation/constants/selectors.d.ts +2 -0
- package/dist/src/extensions/Blocks/Recommendation/controls/main/index.d.ts +44 -8
- package/dist/src/extensions/Blocks/Recommendation/controls/main/strategy.d.ts +17 -0
- package/dist/src/extensions/Blocks/Recommendation/services/configService.d.ts +12 -1
- package/dist/src/extensions/Blocks/Recommendation/store/recommendation.d.ts +229 -10
- package/dist/src/extensions/Blocks/Recommendation/types/nodeConfig.d.ts +1 -0
- package/dist/src/extensions/Blocks/Recommendation/utils/legacyStrategyMigration.d.ts +39 -0
- package/dist/src/extensions/Blocks/Recommendation/utils/nodeConfigWriter.d.ts +31 -0
- package/dist/src/extensions/Blocks/common-control.d.ts +4 -1
- package/dist/src/mock/api/recommendation-strategies.d.ts +2 -0
- package/dist/src/services/recommendationApi.d.ts +5 -1
- package/dist/src/stores/config.d.ts +18 -0
- package/dist/src/stores/save-as-template.d.ts +4 -3
- package/dist/src/utils/genericUtil.d.ts +5 -0
- package/dist/static/assets/icons/filled-arrow-rising.svg.js +5 -0
- package/dist/static/assets/icons/line-change.svg.js +5 -0
- package/dist/static/assets/icons/line-delete.svg.js +5 -0
- package/dist/static/assets/icons/line-info.svg.js +5 -0
- package/dist/static/assets/icons/line-plus.svg.js +5 -0
- package/dist/static/styles/components/recommendation-strategy.css.js +220 -0
- package/dist/utils/dateUtil.js +23 -10
- package/dist/utils/genericUtil.js +28 -27
- package/dist/utils/templatePreparation.js +35 -34
- package/package.json +3 -2
|
@@ -1,25 +1,28 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
1
|
+
var R = Object.defineProperty;
|
|
2
|
+
var B = (a, c, t) => c in a ? R(a, c, { enumerable: !0, configurable: !0, writable: !0, value: t }) : a[c] = t;
|
|
3
|
+
var p = (a, c, t) => B(a, typeof c != "symbol" ? c + "" : c, t);
|
|
4
|
+
import { useConfig as D } from "../../../composables/useConfig.js";
|
|
5
|
+
import { BlockId as y } from "../../../enums/block.js";
|
|
6
|
+
import { getMigrationBannerHtml as C } from "../../../utils/migrationBannerHtml.js";
|
|
6
7
|
import { Block as b, BlockCompositionType as A, ModificationDescription as g } from "../../../node_modules/@stripoinc/ui-editor-extensions/dist/esm/index.js";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
8
|
+
import { CURRENT_CONFIG_VERSION as E, PRE_RRS_CONFIG_VERSION as S } from "./constants/defaultConfig.js";
|
|
9
|
+
import { RECOMMENDATION_ID_ATTR as m } from "./constants/selectors.js";
|
|
10
|
+
import { regenerateMobileProductRows as N } from "./controls/main/utils.js";
|
|
11
|
+
import { ensureMobileCssRulesExist as h, setMobileLayoutOptOut as f, hasMobileLayoutOptOut as O } from "./controls/mobileLayout/cssRules.js";
|
|
9
12
|
import { RecommendationConfigService as s } from "./services/configService.js";
|
|
10
13
|
import { useRecommendationExtensionStore as d } from "./store/recommendation.js";
|
|
11
|
-
import { getDefaultTemplate as
|
|
12
|
-
import { useRecommendationBlockWarning as
|
|
13
|
-
const _ =
|
|
14
|
+
import { getDefaultTemplate as M } from "./templates/grid/template.js";
|
|
15
|
+
import { useRecommendationBlockWarning as w } from "./useRecommendationBlockWarning.js";
|
|
16
|
+
const _ = y.Recommendation, u = "recommendation-block-v2", I = "hide-price";
|
|
14
17
|
let k = !1;
|
|
15
|
-
class
|
|
18
|
+
class W extends b {
|
|
16
19
|
constructor() {
|
|
17
20
|
super();
|
|
18
21
|
/**
|
|
19
22
|
* Stores the ID generated in getTemplate() so onCreated() can reuse it.
|
|
20
23
|
* This avoids generating a new (different) ID in onCreated().
|
|
21
24
|
*/
|
|
22
|
-
|
|
25
|
+
p(this, "_pendingBlockId", null);
|
|
23
26
|
}
|
|
24
27
|
getId() {
|
|
25
28
|
return _;
|
|
@@ -39,7 +42,7 @@ class P extends b {
|
|
|
39
42
|
);
|
|
40
43
|
}
|
|
41
44
|
getSettingsPanelTitleHtml() {
|
|
42
|
-
return
|
|
45
|
+
return C(
|
|
43
46
|
_,
|
|
44
47
|
this.api.translate("Recommendation Block"),
|
|
45
48
|
this.api.translate("This block is switched from the Old Version to the New Version. We recommend you check the Recommendation block and test your message to ensure it works properly.")
|
|
@@ -63,7 +66,7 @@ class P extends b {
|
|
|
63
66
|
*/
|
|
64
67
|
getTemplate() {
|
|
65
68
|
const t = this._generateNextId();
|
|
66
|
-
return this._pendingBlockId = t,
|
|
69
|
+
return this._pendingBlockId = t, M(t);
|
|
67
70
|
}
|
|
68
71
|
/**
|
|
69
72
|
* Called when a new block is dropped into the template
|
|
@@ -89,12 +92,15 @@ class P extends b {
|
|
|
89
92
|
const { config: n, wasFreshDrop: o } = s.initializeConfig(
|
|
90
93
|
this.api,
|
|
91
94
|
t,
|
|
92
|
-
{
|
|
95
|
+
{
|
|
96
|
+
recommendationId: i,
|
|
97
|
+
configVersion: D().isFeatureEnabled("reusableRecommendationStrategy") ? E : S
|
|
98
|
+
}
|
|
93
99
|
), r = d();
|
|
94
100
|
if (r.setCurrentBlock(i), this._stampHidePrice(t, n.priceHideIfSameAsDiscounted), o) {
|
|
95
|
-
|
|
101
|
+
h(this.api);
|
|
96
102
|
const l = this._getBlockElement(t);
|
|
97
|
-
l && (f(this.api, l, !0),
|
|
103
|
+
l && (f(this.api, l, !0), N({
|
|
98
104
|
currentNode: t,
|
|
99
105
|
documentModifier: this.api.getDocumentModifier()
|
|
100
106
|
}));
|
|
@@ -121,11 +127,11 @@ class P extends b {
|
|
|
121
127
|
}
|
|
122
128
|
this._healLingeringDuplicate(t), s.needsMigration(t) && this._migrateFromLegacy(t), this._healHidePriceAttr(t);
|
|
123
129
|
try {
|
|
124
|
-
k || (
|
|
130
|
+
k || (h(this.api), k = !0);
|
|
125
131
|
const e = s.getConfig(t), i = this._getBlockElement(t);
|
|
126
132
|
if (i) {
|
|
127
133
|
const n = !e.mobileLayoutEnabled;
|
|
128
|
-
|
|
134
|
+
O(i) !== n && f(this.api, i, n);
|
|
129
135
|
}
|
|
130
136
|
} catch {
|
|
131
137
|
}
|
|
@@ -155,7 +161,7 @@ class P extends b {
|
|
|
155
161
|
*/
|
|
156
162
|
_warnIfMultipleBlocks() {
|
|
157
163
|
try {
|
|
158
|
-
|
|
164
|
+
w().warnIfMultipleBlocks(this.api.getDocumentRootHtmlNode());
|
|
159
165
|
} catch {
|
|
160
166
|
}
|
|
161
167
|
}
|
|
@@ -167,9 +173,9 @@ class P extends b {
|
|
|
167
173
|
let t = 0;
|
|
168
174
|
try {
|
|
169
175
|
const e = this.api.getDocumentRoot();
|
|
170
|
-
e && "querySelectorAll" in e && e.querySelectorAll(`.${
|
|
176
|
+
e && "querySelectorAll" in e && e.querySelectorAll(`.${u}`).forEach((n) => {
|
|
171
177
|
if ("getAttribute" in n) {
|
|
172
|
-
const o = n.getAttribute(
|
|
178
|
+
const o = n.getAttribute(m), r = o ? parseInt(o) : 0;
|
|
173
179
|
r > t && (t = r);
|
|
174
180
|
}
|
|
175
181
|
});
|
|
@@ -197,7 +203,7 @@ class P extends b {
|
|
|
197
203
|
if (!i || !("querySelectorAll" in i))
|
|
198
204
|
return;
|
|
199
205
|
const n = i.querySelectorAll(
|
|
200
|
-
`.${
|
|
206
|
+
`.${u}[${m}="${e}"]`
|
|
201
207
|
);
|
|
202
208
|
if (n.length <= 1)
|
|
203
209
|
return;
|
|
@@ -222,7 +228,7 @@ class P extends b {
|
|
|
222
228
|
const e = this.api.getDocumentRoot();
|
|
223
229
|
if (e && "querySelectorAll" in e)
|
|
224
230
|
return e.querySelectorAll(
|
|
225
|
-
`.${
|
|
231
|
+
`.${u}[${m}="${t}"]`
|
|
226
232
|
).length > 1;
|
|
227
233
|
} catch {
|
|
228
234
|
}
|
|
@@ -279,7 +285,7 @@ class P extends b {
|
|
|
279
285
|
if (!i)
|
|
280
286
|
return;
|
|
281
287
|
const n = this.api.getDocumentModifier();
|
|
282
|
-
n.modifyHtml(i).setAttribute(
|
|
288
|
+
n.modifyHtml(i).setAttribute(m, e.toString()), n.apply(new g(`Assign recommendation ID ${e}`));
|
|
283
289
|
}
|
|
284
290
|
/**
|
|
285
291
|
* Stamps the `hide-price` attribute (read by email-service at send time) on
|
|
@@ -307,7 +313,7 @@ class P extends b {
|
|
|
307
313
|
const e = this._getBlockElement(t);
|
|
308
314
|
if (!e || !("getAttribute" in e))
|
|
309
315
|
return null;
|
|
310
|
-
const i = e.getAttribute(
|
|
316
|
+
const i = e.getAttribute(m);
|
|
311
317
|
if (!i)
|
|
312
318
|
return null;
|
|
313
319
|
const n = parseInt(i);
|
|
@@ -319,10 +325,10 @@ class P extends b {
|
|
|
319
325
|
_getBlockElement(t) {
|
|
320
326
|
if ("getAttribute" in t) {
|
|
321
327
|
const e = t.getAttribute("class");
|
|
322
|
-
if (e && e.includes(
|
|
328
|
+
if (e && e.includes(u))
|
|
323
329
|
return t;
|
|
324
330
|
}
|
|
325
|
-
return "querySelector" in t ? t.querySelector(`.${
|
|
331
|
+
return "querySelector" in t ? t.querySelector(`.${u}`) ?? null : null;
|
|
326
332
|
}
|
|
327
333
|
/**
|
|
328
334
|
* Migrate configuration from legacy format
|
|
@@ -333,5 +339,5 @@ class P extends b {
|
|
|
333
339
|
}
|
|
334
340
|
export {
|
|
335
341
|
_ as BLOCK_ID,
|
|
336
|
-
|
|
342
|
+
W as RecommendationBlock
|
|
337
343
|
};
|
|
@@ -1,60 +1,61 @@
|
|
|
1
|
-
import { DEFAULT_COLUMN_SPACING as
|
|
2
|
-
import { ATTR_PRODUCT_IMAGE as o, ATTR_PRODUCT_NAME as t, ATTR_PRODUCT_OLD_PRICE as _, ATTR_PRODUCT_PRICE as T, ATTR_PRODUCT_OMNIBUS_PRICE as r, ATTR_PRODUCT_OMNIBUS_DISCOUNT as
|
|
3
|
-
const
|
|
1
|
+
import { DEFAULT_COLUMN_SPACING as R, DEFAULT_ROW_SPACING as s, DEFAULT_MOBILE_ROW_SPACING as n, DEFAULT_MOBILE_COLUMN_SPACING as O, DEFAULT_MOBILE_CARDS_IN_ROW as e, DEFAULT_CARDS_IN_ROW as C } from "./layout.js";
|
|
2
|
+
import { ATTR_PRODUCT_IMAGE as o, ATTR_PRODUCT_NAME as t, ATTR_PRODUCT_OLD_PRICE as _, ATTR_PRODUCT_PRICE as T, ATTR_PRODUCT_OMNIBUS_PRICE as r, ATTR_PRODUCT_OMNIBUS_DISCOUNT as I, ATTR_PRODUCT_BUTTON as i, ATTR_RECOMMENDATION_TITLE as U } from "./selectors.js";
|
|
3
|
+
const A = 1, u = 2, D = {
|
|
4
4
|
code: "USD",
|
|
5
5
|
symbol: "USD",
|
|
6
6
|
alignment: "after",
|
|
7
7
|
decimalCount: 2,
|
|
8
8
|
decimalSeparator: ".",
|
|
9
9
|
thousandSeparator: ","
|
|
10
|
-
},
|
|
10
|
+
}, E = {
|
|
11
11
|
textBefore: "",
|
|
12
12
|
textAfter: ""
|
|
13
13
|
}, a = {
|
|
14
14
|
textBefore: "",
|
|
15
15
|
textAfter: ""
|
|
16
|
-
},
|
|
16
|
+
}, c = [
|
|
17
17
|
o,
|
|
18
18
|
t,
|
|
19
19
|
_,
|
|
20
20
|
T,
|
|
21
21
|
r,
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
],
|
|
25
|
-
[
|
|
22
|
+
I,
|
|
23
|
+
i
|
|
24
|
+
], N = {
|
|
25
|
+
[U]: !0,
|
|
26
26
|
[o]: !0,
|
|
27
27
|
[t]: !0,
|
|
28
28
|
[T]: !0,
|
|
29
29
|
[_]: !0,
|
|
30
30
|
[r]: !1,
|
|
31
|
-
[
|
|
32
|
-
[
|
|
33
|
-
},
|
|
31
|
+
[I]: !1,
|
|
32
|
+
[i]: !0
|
|
33
|
+
}, m = {
|
|
34
34
|
// Settings
|
|
35
35
|
strategy: "mostPopular",
|
|
36
36
|
productIds: [],
|
|
37
37
|
size: "6",
|
|
38
38
|
shuffleProducts: !1,
|
|
39
39
|
language: "en_US",
|
|
40
|
-
currency:
|
|
40
|
+
currency: D,
|
|
41
41
|
filters: [],
|
|
42
|
+
strategyId: "",
|
|
42
43
|
// Layout
|
|
43
44
|
layout: "grid",
|
|
44
|
-
cardsInRow:
|
|
45
|
+
cardsInRow: C,
|
|
45
46
|
mobileCardsInRow: e,
|
|
46
47
|
mobileLayoutEnabled: !1,
|
|
47
48
|
previousMobileCardsInRow: e,
|
|
48
|
-
columnSpacing:
|
|
49
|
+
columnSpacing: R,
|
|
49
50
|
rowSpacing: s,
|
|
50
51
|
mobileColumnSpacing: O,
|
|
51
|
-
mobileRowSpacing:
|
|
52
|
+
mobileRowSpacing: n,
|
|
52
53
|
// Composition
|
|
53
|
-
composition:
|
|
54
|
-
visibility:
|
|
54
|
+
composition: c,
|
|
55
|
+
visibility: N,
|
|
55
56
|
previousTitleHtml: "",
|
|
56
57
|
// Element settings
|
|
57
|
-
omnibusPrice:
|
|
58
|
+
omnibusPrice: E,
|
|
58
59
|
omnibusDiscount: a,
|
|
59
60
|
textTrimming: !1,
|
|
60
61
|
// Price placement (block-level, affects all cards)
|
|
@@ -65,18 +66,17 @@ const C = {
|
|
|
65
66
|
// of "false" (the actual hiding happens server-side at send).
|
|
66
67
|
priceHideIfSameAsDiscounted: !1,
|
|
67
68
|
// Meta
|
|
68
|
-
|
|
69
|
-
// defaults, so no data transform (and no needsMigration trigger) is required.
|
|
70
|
-
configVersion: 1,
|
|
69
|
+
configVersion: A,
|
|
71
70
|
recommendationId: 0
|
|
72
|
-
},
|
|
71
|
+
}, L = [11, 12];
|
|
73
72
|
export {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
73
|
+
u as CURRENT_CONFIG_VERSION,
|
|
74
|
+
c as DEFAULT_COMPOSITION,
|
|
75
|
+
D as DEFAULT_CURRENCY,
|
|
76
|
+
m as DEFAULT_NODE_CONFIG,
|
|
78
77
|
a as DEFAULT_OMNIBUS_DISCOUNT,
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
78
|
+
E as DEFAULT_OMNIBUS_PRICE,
|
|
79
|
+
N as DEFAULT_VISIBILITY,
|
|
80
|
+
L as EXCLUDED_ALGORITHM_IDS,
|
|
81
|
+
A as PRE_RRS_CONFIG_VERSION
|
|
82
82
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
const c = ".recommendation-block-v2", n = ".ins-recommendation-product-container", _ = ".ins-recommendation-desktop-container", R = ".ins-recommendation-mobile-container",
|
|
1
|
+
const c = ".recommendation-block-v2", n = ".ins-recommendation-product-container", _ = ".ins-recommendation-desktop-container", R = ".ins-recommendation-mobile-container", e = ".ins-recommendation-mobile-row", r = "reco-v3-button", A = "ins-skip-compile", E = {
|
|
2
2
|
CURRENCY: "currency",
|
|
3
3
|
SYMBOL: "currency-symbol",
|
|
4
4
|
ALIGNMENT: "currency-alignment",
|
|
5
5
|
THOUSAND_SEPARATOR: "currency-thousand-separator",
|
|
6
6
|
DECIMAL_SEPARATOR: "currency-decimal-separator",
|
|
7
7
|
DECIMAL_COUNT: "currency-decimal-count"
|
|
8
|
-
}, s = "productImage", O = "productName", i = "productPrice", C = "productOldPrice", S = "productOmnibusPrice", I = "productOmnibusDiscount", a = "productButton",
|
|
8
|
+
}, s = "productImage", O = "productName", i = "productPrice", C = "productOldPrice", S = "productOmnibusPrice", I = "productOmnibusDiscount", a = "productButton", m = "recommendationTitle", T = "ins-recommendation-title", u = `.${T}`, L = "customAttr:", d = "data-custom-attributes", U = "data-card-composition", N = "recommendation-id", D = "product-attr", t = "recommendation-attribute-row", P = `.${t}`, p = "data-attribute-type", B = "data-visibility", M = "spacer", l = "product_attribute.", o = /* @__PURE__ */ new Set([
|
|
9
9
|
"name",
|
|
10
10
|
// productName
|
|
11
11
|
"price",
|
|
@@ -20,18 +20,18 @@ const c = ".recommendation-block-v2", n = ".ins-recommendation-product-container
|
|
|
20
20
|
// productOmnibusPrice
|
|
21
21
|
"omnibus_discount"
|
|
22
22
|
// productOmnibusDiscount
|
|
23
|
-
]),
|
|
23
|
+
]), b = /* @__PURE__ */ new Set([
|
|
24
24
|
...o,
|
|
25
25
|
"currency",
|
|
26
26
|
"discount"
|
|
27
27
|
]);
|
|
28
28
|
export {
|
|
29
29
|
L as ATTR_CUSTOM_PREFIX,
|
|
30
|
-
|
|
30
|
+
p as ATTR_DATA_ATTRIBUTE_TYPE,
|
|
31
31
|
U as ATTR_DATA_CARD_COMPOSITION,
|
|
32
32
|
d as ATTR_DATA_CUSTOM_ATTRIBUTES,
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
B as ATTR_DATA_VISIBILITY,
|
|
34
|
+
D as ATTR_PRODUCT_ATTR,
|
|
35
35
|
a as ATTR_PRODUCT_BUTTON,
|
|
36
36
|
s as ATTR_PRODUCT_IMAGE,
|
|
37
37
|
O as ATTR_PRODUCT_NAME,
|
|
@@ -39,21 +39,22 @@ export {
|
|
|
39
39
|
I as ATTR_PRODUCT_OMNIBUS_DISCOUNT,
|
|
40
40
|
S as ATTR_PRODUCT_OMNIBUS_PRICE,
|
|
41
41
|
i as ATTR_PRODUCT_PRICE,
|
|
42
|
-
|
|
42
|
+
m as ATTR_RECOMMENDATION_TITLE,
|
|
43
43
|
c as BLOCK_ROOT_SELECTOR,
|
|
44
44
|
o as BUILT_IN_DEFAULT_ATTRIBUTES,
|
|
45
45
|
n as CONTAINER_SELECTOR,
|
|
46
46
|
t as CSS_CLASS_ATTRIBUTE_ROW,
|
|
47
|
-
|
|
47
|
+
r as CSS_CLASS_RECO_BUTTON,
|
|
48
48
|
A as CSS_CLASS_SKIP_COMPILE,
|
|
49
|
-
|
|
49
|
+
M as CSS_CLASS_SPACER,
|
|
50
50
|
T as CSS_CLASS_TITLE_CELL,
|
|
51
51
|
E as CURRENCY_ATTR,
|
|
52
52
|
_ as DESKTOP_CONTAINER_SELECTOR,
|
|
53
53
|
R as MOBILE_CONTAINER_SELECTOR,
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
54
|
+
e as MOBILE_ROW_SELECTOR,
|
|
55
|
+
l as PRODUCT_ATTRIBUTE_PREFIX,
|
|
56
|
+
N as RECOMMENDATION_ID_ATTR,
|
|
57
|
+
b as RECOMMENDATION_VARIABLE_BUILTIN_ATTRIBUTES,
|
|
57
58
|
P as SELECTOR_ATTRIBUTE_ROW,
|
|
58
|
-
|
|
59
|
+
u as SELECTOR_TITLE_CELL
|
|
59
60
|
};
|