@gem-sdk/components 2.0.0-dev.645 → 2.0.0-dev.646
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/dist/cjs/third-party/components/Bogos/BogosSampleContent.js +1 -1
- package/dist/cjs/third-party/configs/Bogos.js +1 -1
- package/dist/cjs/third-party/setting/Bogos/index.js +1 -1
- package/dist/cjs/third-party/setting/Trustoo/index.js +0 -5
- package/dist/cjs/third-party/setting/Trustoo/uiV2.js +0 -26
- package/dist/esm/third-party/components/Bogos/BogosSampleContent.js +1 -1
- package/dist/esm/third-party/configs/Bogos.js +1 -1
- package/dist/esm/third-party/setting/Bogos/index.js +1 -1
- package/dist/esm/third-party/setting/Trustoo/index.js +0 -5
- package/dist/esm/third-party/setting/Trustoo/uiV2.js +0 -26
- package/package.json +1 -1
|
@@ -15,7 +15,7 @@ const mapWidgetLabel = {
|
|
|
15
15
|
message: 'Cart message',
|
|
16
16
|
['classic-bundle']: 'Classic bundle',
|
|
17
17
|
['quantity-break']: 'Quantity break',
|
|
18
|
-
'mix-match': ''
|
|
18
|
+
'mix-match': 'Frequently Bought Together'
|
|
19
19
|
};
|
|
20
20
|
const BogosSampleContent = ({ setting })=>{
|
|
21
21
|
const widgetLabel = setting?.widgetType && mapWidgetLabel[setting.widgetType];
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var BogosConfig = {
|
|
6
6
|
id: 'bogos',
|
|
7
7
|
label: 'BOGOS',
|
|
8
|
-
logoUrl: 'https://
|
|
8
|
+
logoUrl: 'https://ucarecdn.com/9a9512e9-5675-4316-9569-0e12bc1c808d/-/format/auto/-/preview/3000x3000/-/quality/lighter/Icon%20n%E1%BB%81n%20xanh_2x.webp',
|
|
9
9
|
tag: 'Bogos'
|
|
10
10
|
};
|
|
11
11
|
|
|
@@ -13,18 +13,6 @@ const SettingUIV2 = [
|
|
|
13
13
|
}
|
|
14
14
|
]
|
|
15
15
|
},
|
|
16
|
-
{
|
|
17
|
-
controls: [
|
|
18
|
-
{
|
|
19
|
-
label: {
|
|
20
|
-
en: 'Choose version'
|
|
21
|
-
},
|
|
22
|
-
setting: {
|
|
23
|
-
id: 'version'
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
]
|
|
27
|
-
},
|
|
28
16
|
{
|
|
29
17
|
controls: [
|
|
30
18
|
{
|
|
@@ -37,20 +25,6 @@ const SettingUIV2 = [
|
|
|
37
25
|
}
|
|
38
26
|
]
|
|
39
27
|
},
|
|
40
|
-
{
|
|
41
|
-
controls: [
|
|
42
|
-
{
|
|
43
|
-
setting: {
|
|
44
|
-
id: 'starRatingInList'
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
],
|
|
48
|
-
messageConfig: {
|
|
49
|
-
type: 'info',
|
|
50
|
-
message: 'Note: Star Rating List widget is not appearing on the product page'
|
|
51
|
-
},
|
|
52
|
-
conditionDisplay: 'widgetType === "starRatingInList"'
|
|
53
|
-
},
|
|
54
28
|
{
|
|
55
29
|
controls: [
|
|
56
30
|
{
|
|
@@ -11,7 +11,7 @@ const mapWidgetLabel = {
|
|
|
11
11
|
message: 'Cart message',
|
|
12
12
|
['classic-bundle']: 'Classic bundle',
|
|
13
13
|
['quantity-break']: 'Quantity break',
|
|
14
|
-
'mix-match': ''
|
|
14
|
+
'mix-match': 'Frequently Bought Together'
|
|
15
15
|
};
|
|
16
16
|
const BogosSampleContent = ({ setting })=>{
|
|
17
17
|
const widgetLabel = setting?.widgetType && mapWidgetLabel[setting.widgetType];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var BogosConfig = {
|
|
2
2
|
id: 'bogos',
|
|
3
3
|
label: 'BOGOS',
|
|
4
|
-
logoUrl: 'https://
|
|
4
|
+
logoUrl: 'https://ucarecdn.com/9a9512e9-5675-4316-9569-0e12bc1c808d/-/format/auto/-/preview/3000x3000/-/quality/lighter/Icon%20n%E1%BB%81n%20xanh_2x.webp',
|
|
5
5
|
tag: 'Bogos'
|
|
6
6
|
};
|
|
7
7
|
|
|
@@ -9,18 +9,6 @@ const SettingUIV2 = [
|
|
|
9
9
|
}
|
|
10
10
|
]
|
|
11
11
|
},
|
|
12
|
-
{
|
|
13
|
-
controls: [
|
|
14
|
-
{
|
|
15
|
-
label: {
|
|
16
|
-
en: 'Choose version'
|
|
17
|
-
},
|
|
18
|
-
setting: {
|
|
19
|
-
id: 'version'
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
]
|
|
23
|
-
},
|
|
24
12
|
{
|
|
25
13
|
controls: [
|
|
26
14
|
{
|
|
@@ -33,20 +21,6 @@ const SettingUIV2 = [
|
|
|
33
21
|
}
|
|
34
22
|
]
|
|
35
23
|
},
|
|
36
|
-
{
|
|
37
|
-
controls: [
|
|
38
|
-
{
|
|
39
|
-
setting: {
|
|
40
|
-
id: 'starRatingInList'
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
],
|
|
44
|
-
messageConfig: {
|
|
45
|
-
type: 'info',
|
|
46
|
-
message: 'Note: Star Rating List widget is not appearing on the product page'
|
|
47
|
-
},
|
|
48
|
-
conditionDisplay: 'widgetType === "starRatingInList"'
|
|
49
|
-
},
|
|
50
24
|
{
|
|
51
25
|
controls: [
|
|
52
26
|
{
|