@gem-sdk/components 2.0.0-dev.590 → 2.0.0-dev.591
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/configs/FlyBundlesUpsellsFbt.js +31 -7
- package/dist/cjs/third-party/setting/EssentialAnnouncementBar/uiV2.js +4 -8
- package/dist/cjs/third-party/setting/FlyBundlesUpsellsFbt/uiV1.js +9 -0
- package/dist/cjs/third-party/setting/FlyBundlesUpsellsFbt/uiV2.js +9 -0
- package/dist/cjs/third-party/setting/StellarDeliveryDatePickup/uiV2.js +1 -29
- package/dist/esm/third-party/configs/FlyBundlesUpsellsFbt.js +31 -7
- package/dist/esm/third-party/setting/EssentialAnnouncementBar/uiV2.js +4 -8
- package/dist/esm/third-party/setting/FlyBundlesUpsellsFbt/uiV1.js +9 -0
- package/dist/esm/third-party/setting/FlyBundlesUpsellsFbt/uiV2.js +9 -0
- package/dist/esm/third-party/setting/StellarDeliveryDatePickup/uiV2.js +1 -29
- package/package.json +1 -1
|
@@ -8,20 +8,44 @@ const AppConfig = {
|
|
|
8
8
|
};
|
|
9
9
|
const widgetTypeOptions = [
|
|
10
10
|
{
|
|
11
|
-
label: 'Fly Bundles:
|
|
12
|
-
value: 'app-block-volume'
|
|
11
|
+
label: 'Fly Bundles: Quantity Breaks',
|
|
12
|
+
value: 'app-block-volume',
|
|
13
|
+
hideOnPage: [
|
|
14
|
+
'GP_ARTICLE',
|
|
15
|
+
'GP_BLOG',
|
|
16
|
+
'GP_COLLECTION',
|
|
17
|
+
'GP_INDEX',
|
|
18
|
+
'GP_STATIC'
|
|
19
|
+
]
|
|
13
20
|
},
|
|
14
21
|
{
|
|
15
|
-
label: 'Fly Bundles:
|
|
16
|
-
value: 'app-block-upsell-block'
|
|
22
|
+
label: 'Fly Bundles: Frequently Bought Together',
|
|
23
|
+
value: 'app-block-upsell-block',
|
|
24
|
+
hideOnPage: [
|
|
25
|
+
'GP_ARTICLE',
|
|
26
|
+
'GP_BLOG',
|
|
27
|
+
'GP_COLLECTION',
|
|
28
|
+
'GP_INDEX',
|
|
29
|
+
'GP_STATIC'
|
|
30
|
+
]
|
|
17
31
|
},
|
|
18
32
|
{
|
|
19
|
-
label: 'Fly Bundles:
|
|
20
|
-
value: 'app-block-fbt'
|
|
33
|
+
label: 'Fly Bundles: Product Bundles',
|
|
34
|
+
value: 'app-block-fbt',
|
|
35
|
+
hideOnPage: [
|
|
36
|
+
'GP_ARTICLE',
|
|
37
|
+
'GP_BLOG',
|
|
38
|
+
'GP_COLLECTION',
|
|
39
|
+
'GP_INDEX',
|
|
40
|
+
'GP_STATIC'
|
|
41
|
+
]
|
|
21
42
|
},
|
|
22
43
|
{
|
|
23
44
|
label: 'Fly Bundles: Custom Block',
|
|
24
|
-
value: 'app-block-custom'
|
|
45
|
+
value: 'app-block-custom',
|
|
46
|
+
hideOnPage: [
|
|
47
|
+
'GP_PRODUCT'
|
|
48
|
+
]
|
|
25
49
|
}
|
|
26
50
|
];
|
|
27
51
|
|
|
@@ -14,21 +14,17 @@ const SettingUIV2 = [
|
|
|
14
14
|
]
|
|
15
15
|
},
|
|
16
16
|
{
|
|
17
|
-
messageConfig: {
|
|
18
|
-
type: 'info',
|
|
19
|
-
message: '<div>Optional: Size Chart ID is ONLY required on non product page placements. The Size Chart ID for each size chart is located next to the Name field on the Clean Size Charts dashboard. <a href="https://help.cleansizecharts.com/article/109-add-a-size-chart-to-a-non-product-page" target="_blank">Learn More</a></div>'
|
|
20
|
-
},
|
|
21
17
|
controls: [
|
|
22
18
|
{
|
|
23
19
|
type: 'combo',
|
|
24
20
|
label: {
|
|
25
|
-
en: '
|
|
21
|
+
en: 'Announcement id'
|
|
26
22
|
},
|
|
27
23
|
iconName: 'polaris-text-block',
|
|
28
|
-
getValueFromSettingID: '
|
|
24
|
+
getValueFromSettingID: 'announcementId',
|
|
29
25
|
isHideClear: true,
|
|
30
26
|
popoverLabel: {
|
|
31
|
-
en: '
|
|
27
|
+
en: 'Announcement id'
|
|
32
28
|
},
|
|
33
29
|
controls: [
|
|
34
30
|
{
|
|
@@ -40,7 +36,7 @@ const SettingUIV2 = [
|
|
|
40
36
|
},
|
|
41
37
|
layout: 'vertical',
|
|
42
38
|
setting: {
|
|
43
|
-
id: '
|
|
39
|
+
id: 'announcementId'
|
|
44
40
|
}
|
|
45
41
|
}
|
|
46
42
|
]
|
|
@@ -20,6 +20,7 @@ const SettingUIV2 = [
|
|
|
20
20
|
label: {
|
|
21
21
|
en: 'Custom Block ID'
|
|
22
22
|
},
|
|
23
|
+
conditionDisplay: 'pageType != "GP_PRODUCT"',
|
|
23
24
|
iconName: 'polaris-text-block',
|
|
24
25
|
getValueFromSettingID: 'customBundleId',
|
|
25
26
|
isHideClear: true,
|
|
@@ -40,6 +41,14 @@ const SettingUIV2 = [
|
|
|
40
41
|
}
|
|
41
42
|
}
|
|
42
43
|
]
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
setting: {
|
|
47
|
+
id: 'widgetType'
|
|
48
|
+
},
|
|
49
|
+
label: {
|
|
50
|
+
en: 'Choose widget'
|
|
51
|
+
}
|
|
43
52
|
}
|
|
44
53
|
]
|
|
45
54
|
},
|
|
@@ -27,35 +27,7 @@ const SettingUIV2 = [
|
|
|
27
27
|
messageConfig: {
|
|
28
28
|
type: 'info',
|
|
29
29
|
message: '<span>To make this element work, copy the class <strong>.gp-integration-stellar-delivery__position</strong> and paste it into the Selector input field in the Run Wizard settings. For more details, check the instructions on<a style="text-decoration: none; color: #8AA4FF" href="https://www.identixweb.com/helpdesk/order-delivery-date/general-settings/setup-wizard/" target="_blank"> how to set up the Run Wizard.</a></span>'
|
|
30
|
-
}
|
|
31
|
-
controls: [
|
|
32
|
-
{
|
|
33
|
-
type: 'combo',
|
|
34
|
-
label: {
|
|
35
|
-
en: 'Guide ID'
|
|
36
|
-
},
|
|
37
|
-
iconName: 'polaris-text-block',
|
|
38
|
-
getValueFromSettingID: 'guideId',
|
|
39
|
-
isHideClear: true,
|
|
40
|
-
popoverLabel: {
|
|
41
|
-
en: 'Guide ID'
|
|
42
|
-
},
|
|
43
|
-
controls: [
|
|
44
|
-
{
|
|
45
|
-
label: {
|
|
46
|
-
en: 'Content'
|
|
47
|
-
},
|
|
48
|
-
options: {
|
|
49
|
-
fullWidth: true
|
|
50
|
-
},
|
|
51
|
-
layout: 'vertical',
|
|
52
|
-
setting: {
|
|
53
|
-
id: 'guideId'
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
]
|
|
57
|
-
}
|
|
58
|
-
]
|
|
30
|
+
}
|
|
59
31
|
},
|
|
60
32
|
{
|
|
61
33
|
controls: [
|
|
@@ -6,20 +6,44 @@ const AppConfig = {
|
|
|
6
6
|
};
|
|
7
7
|
const widgetTypeOptions = [
|
|
8
8
|
{
|
|
9
|
-
label: 'Fly Bundles:
|
|
10
|
-
value: 'app-block-volume'
|
|
9
|
+
label: 'Fly Bundles: Quantity Breaks',
|
|
10
|
+
value: 'app-block-volume',
|
|
11
|
+
hideOnPage: [
|
|
12
|
+
'GP_ARTICLE',
|
|
13
|
+
'GP_BLOG',
|
|
14
|
+
'GP_COLLECTION',
|
|
15
|
+
'GP_INDEX',
|
|
16
|
+
'GP_STATIC'
|
|
17
|
+
]
|
|
11
18
|
},
|
|
12
19
|
{
|
|
13
|
-
label: 'Fly Bundles:
|
|
14
|
-
value: 'app-block-upsell-block'
|
|
20
|
+
label: 'Fly Bundles: Frequently Bought Together',
|
|
21
|
+
value: 'app-block-upsell-block',
|
|
22
|
+
hideOnPage: [
|
|
23
|
+
'GP_ARTICLE',
|
|
24
|
+
'GP_BLOG',
|
|
25
|
+
'GP_COLLECTION',
|
|
26
|
+
'GP_INDEX',
|
|
27
|
+
'GP_STATIC'
|
|
28
|
+
]
|
|
15
29
|
},
|
|
16
30
|
{
|
|
17
|
-
label: 'Fly Bundles:
|
|
18
|
-
value: 'app-block-fbt'
|
|
31
|
+
label: 'Fly Bundles: Product Bundles',
|
|
32
|
+
value: 'app-block-fbt',
|
|
33
|
+
hideOnPage: [
|
|
34
|
+
'GP_ARTICLE',
|
|
35
|
+
'GP_BLOG',
|
|
36
|
+
'GP_COLLECTION',
|
|
37
|
+
'GP_INDEX',
|
|
38
|
+
'GP_STATIC'
|
|
39
|
+
]
|
|
19
40
|
},
|
|
20
41
|
{
|
|
21
42
|
label: 'Fly Bundles: Custom Block',
|
|
22
|
-
value: 'app-block-custom'
|
|
43
|
+
value: 'app-block-custom',
|
|
44
|
+
hideOnPage: [
|
|
45
|
+
'GP_PRODUCT'
|
|
46
|
+
]
|
|
23
47
|
}
|
|
24
48
|
];
|
|
25
49
|
|
|
@@ -10,21 +10,17 @@ const SettingUIV2 = [
|
|
|
10
10
|
]
|
|
11
11
|
},
|
|
12
12
|
{
|
|
13
|
-
messageConfig: {
|
|
14
|
-
type: 'info',
|
|
15
|
-
message: '<div>Optional: Size Chart ID is ONLY required on non product page placements. The Size Chart ID for each size chart is located next to the Name field on the Clean Size Charts dashboard. <a href="https://help.cleansizecharts.com/article/109-add-a-size-chart-to-a-non-product-page" target="_blank">Learn More</a></div>'
|
|
16
|
-
},
|
|
17
13
|
controls: [
|
|
18
14
|
{
|
|
19
15
|
type: 'combo',
|
|
20
16
|
label: {
|
|
21
|
-
en: '
|
|
17
|
+
en: 'Announcement id'
|
|
22
18
|
},
|
|
23
19
|
iconName: 'polaris-text-block',
|
|
24
|
-
getValueFromSettingID: '
|
|
20
|
+
getValueFromSettingID: 'announcementId',
|
|
25
21
|
isHideClear: true,
|
|
26
22
|
popoverLabel: {
|
|
27
|
-
en: '
|
|
23
|
+
en: 'Announcement id'
|
|
28
24
|
},
|
|
29
25
|
controls: [
|
|
30
26
|
{
|
|
@@ -36,7 +32,7 @@ const SettingUIV2 = [
|
|
|
36
32
|
},
|
|
37
33
|
layout: 'vertical',
|
|
38
34
|
setting: {
|
|
39
|
-
id: '
|
|
35
|
+
id: 'announcementId'
|
|
40
36
|
}
|
|
41
37
|
}
|
|
42
38
|
]
|
|
@@ -16,6 +16,7 @@ const SettingUIV2 = [
|
|
|
16
16
|
label: {
|
|
17
17
|
en: 'Custom Block ID'
|
|
18
18
|
},
|
|
19
|
+
conditionDisplay: 'pageType != "GP_PRODUCT"',
|
|
19
20
|
iconName: 'polaris-text-block',
|
|
20
21
|
getValueFromSettingID: 'customBundleId',
|
|
21
22
|
isHideClear: true,
|
|
@@ -36,6 +37,14 @@ const SettingUIV2 = [
|
|
|
36
37
|
}
|
|
37
38
|
}
|
|
38
39
|
]
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
setting: {
|
|
43
|
+
id: 'widgetType'
|
|
44
|
+
},
|
|
45
|
+
label: {
|
|
46
|
+
en: 'Choose widget'
|
|
47
|
+
}
|
|
39
48
|
}
|
|
40
49
|
]
|
|
41
50
|
},
|
|
@@ -23,35 +23,7 @@ const SettingUIV2 = [
|
|
|
23
23
|
messageConfig: {
|
|
24
24
|
type: 'info',
|
|
25
25
|
message: '<span>To make this element work, copy the class <strong>.gp-integration-stellar-delivery__position</strong> and paste it into the Selector input field in the Run Wizard settings. For more details, check the instructions on<a style="text-decoration: none; color: #8AA4FF" href="https://www.identixweb.com/helpdesk/order-delivery-date/general-settings/setup-wizard/" target="_blank"> how to set up the Run Wizard.</a></span>'
|
|
26
|
-
}
|
|
27
|
-
controls: [
|
|
28
|
-
{
|
|
29
|
-
type: 'combo',
|
|
30
|
-
label: {
|
|
31
|
-
en: 'Guide ID'
|
|
32
|
-
},
|
|
33
|
-
iconName: 'polaris-text-block',
|
|
34
|
-
getValueFromSettingID: 'guideId',
|
|
35
|
-
isHideClear: true,
|
|
36
|
-
popoverLabel: {
|
|
37
|
-
en: 'Guide ID'
|
|
38
|
-
},
|
|
39
|
-
controls: [
|
|
40
|
-
{
|
|
41
|
-
label: {
|
|
42
|
-
en: 'Content'
|
|
43
|
-
},
|
|
44
|
-
options: {
|
|
45
|
-
fullWidth: true
|
|
46
|
-
},
|
|
47
|
-
layout: 'vertical',
|
|
48
|
-
setting: {
|
|
49
|
-
id: 'guideId'
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
]
|
|
53
|
-
}
|
|
54
|
-
]
|
|
26
|
+
}
|
|
55
27
|
},
|
|
56
28
|
{
|
|
57
29
|
controls: [
|