@gem-sdk/components 2.0.0-dev.590 → 2.0.0-dev.592
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/tab/components/Tabs.js +3 -5
- package/dist/cjs/tab/components/Tabs.liquid.js +3 -5
- package/dist/cjs/tab/components/common/common.js +1 -1
- package/dist/cjs/tab/components/common/getClasses.js +1 -3
- package/dist/cjs/tab/components/common/getStyle.js +3 -2
- package/dist/cjs/tab/setting/Tabs.js +3 -0
- package/dist/cjs/tab/setting/configs/settings.js +38 -8
- package/dist/cjs/tab/setting/configs/uiV2.js +10 -1
- 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/cjs/video/components/HTML5Embed.js +1 -1
- package/dist/cjs/video/components/HTML5Embed.liquid.js +1 -1
- package/dist/esm/tab/components/Tabs.js +3 -5
- package/dist/esm/tab/components/Tabs.liquid.js +3 -5
- package/dist/esm/tab/components/common/common.js +1 -1
- package/dist/esm/tab/components/common/getClasses.js +1 -3
- package/dist/esm/tab/components/common/getStyle.js +3 -2
- package/dist/esm/tab/setting/Tabs.js +3 -0
- package/dist/esm/tab/setting/configs/settings.js +38 -8
- package/dist/esm/tab/setting/configs/uiV2.js +10 -1
- 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/dist/esm/video/components/HTML5Embed.js +1 -1
- package/dist/esm/video/components/HTML5Embed.liquid.js +1 -1
- package/dist/types/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -44,11 +44,9 @@ const Tabs = (props)=>{
|
|
|
44
44
|
setting
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
|
-
const styleTagClasses =
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
builderProps
|
|
51
|
-
})
|
|
47
|
+
const styleTagClasses = getClasses.getStyleTagClasses({
|
|
48
|
+
panelWidth,
|
|
49
|
+
builderProps
|
|
52
50
|
});
|
|
53
51
|
const tabParentListClasses = system.createClass({
|
|
54
52
|
...getClasses.getTabParentListClasses()
|
|
@@ -46,11 +46,9 @@ const Tabs = (props)=>{
|
|
|
46
46
|
setting
|
|
47
47
|
})
|
|
48
48
|
});
|
|
49
|
-
const styleTagClasses =
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
builderProps
|
|
53
|
-
})
|
|
49
|
+
const styleTagClasses = getClasses.getStyleTagClasses({
|
|
50
|
+
panelWidth,
|
|
51
|
+
builderProps
|
|
54
52
|
});
|
|
55
53
|
const tabParentListClasses = system.createClass({
|
|
56
54
|
...getClasses.getTabParentListClasses()
|
|
@@ -5,7 +5,7 @@ var core = require('@gem-sdk/core');
|
|
|
5
5
|
const makeStyleLayoutFullWidthResponsive = (panelWidth, builderProps)=>{
|
|
6
6
|
return core.DEVICES.map((device)=>{
|
|
7
7
|
if (core.getValueByDevice(panelWidth, device) === '100%') return `.${builderProps?.uid}
|
|
8
|
-
.wrap-width_full_${device}_top_true { width: 100%; }
|
|
8
|
+
.wrap-width_full_${device}_top_true { width: 100%; } .${builderProps?.uid} .wrap-width_full_${device}_top_true .gp-tab-item { flex: 1 }`;
|
|
9
9
|
}).join('');
|
|
10
10
|
};
|
|
11
11
|
const makeDeviceDefault = (data = {})=>{
|
|
@@ -57,9 +57,7 @@ const getStyleTagClasses = ({ panelWidth, builderProps })=>{
|
|
|
57
57
|
white-space: break-spaces;
|
|
58
58
|
}`;
|
|
59
59
|
if (layoutFullWidthResponsiveClass) classList += ` ${layoutFullWidthResponsiveClass}`;
|
|
60
|
-
return
|
|
61
|
-
...core.composeClasses(classList)
|
|
62
|
-
};
|
|
60
|
+
return classList;
|
|
63
61
|
};
|
|
64
62
|
const getWrapperContentClasses = ()=>{
|
|
65
63
|
const classList = 'gp-flex gp-flex-1 gp-min-w-0';
|
|
@@ -63,9 +63,10 @@ const getItemStyle = (setting, isNotLiquid, isActive)=>{
|
|
|
63
63
|
return helpers.filterTruthyStyles(composeStyles);
|
|
64
64
|
};
|
|
65
65
|
const getTabParentListStyle = (setting)=>{
|
|
66
|
-
const { panelAlign } = setting ?? {};
|
|
66
|
+
const { panelAlign, panelAlignVertical } = setting ?? {};
|
|
67
67
|
const composeStyles = {
|
|
68
|
-
...core.makeStyleResponsive('jc', panelAlign)
|
|
68
|
+
...core.makeStyleResponsive('jc', panelAlign),
|
|
69
|
+
...core.makeStyleResponsive('ai', panelAlignVertical)
|
|
69
70
|
};
|
|
70
71
|
return helpers.filterTruthyStyles(composeStyles);
|
|
71
72
|
};
|
|
@@ -53,12 +53,6 @@ const TabsSettings = [
|
|
|
53
53
|
devices: {
|
|
54
54
|
desktop: {
|
|
55
55
|
default: 'top'
|
|
56
|
-
},
|
|
57
|
-
tablet: {
|
|
58
|
-
default: 'top'
|
|
59
|
-
},
|
|
60
|
-
mobile: {
|
|
61
|
-
default: 'top'
|
|
62
56
|
}
|
|
63
57
|
}
|
|
64
58
|
},
|
|
@@ -147,6 +141,39 @@ const TabsSettings = [
|
|
|
147
141
|
}
|
|
148
142
|
}
|
|
149
143
|
},
|
|
144
|
+
{
|
|
145
|
+
id: 'panelAlignVertical',
|
|
146
|
+
type: 'option:value',
|
|
147
|
+
label: 'Alignment',
|
|
148
|
+
options: [
|
|
149
|
+
{
|
|
150
|
+
label: 'Top',
|
|
151
|
+
value: 'start',
|
|
152
|
+
type: 'align',
|
|
153
|
+
tooltip: 'Align Top',
|
|
154
|
+
iconName: 'gp-align-top'
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
label: 'Center',
|
|
158
|
+
value: 'center',
|
|
159
|
+
type: 'align',
|
|
160
|
+
tooltip: 'Align center',
|
|
161
|
+
iconName: 'gp-align-center'
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
label: 'Bottom',
|
|
165
|
+
value: 'end',
|
|
166
|
+
type: 'align',
|
|
167
|
+
tooltip: 'Align Bottom',
|
|
168
|
+
iconName: 'gp-align-bottom'
|
|
169
|
+
}
|
|
170
|
+
],
|
|
171
|
+
devices: {
|
|
172
|
+
desktop: {
|
|
173
|
+
default: 'start'
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
},
|
|
150
177
|
{
|
|
151
178
|
id: 'labelWidth',
|
|
152
179
|
label: 'Width',
|
|
@@ -163,7 +190,10 @@ const TabsSettings = [
|
|
|
163
190
|
},
|
|
164
191
|
{
|
|
165
192
|
id: 'padding',
|
|
166
|
-
type: 'padding-v2'
|
|
193
|
+
type: 'padding-v2',
|
|
194
|
+
devices: {
|
|
195
|
+
desktop: {}
|
|
196
|
+
}
|
|
167
197
|
},
|
|
168
198
|
{
|
|
169
199
|
id: 'labelAlign',
|
|
@@ -322,7 +352,7 @@ const TabsSettings = [
|
|
|
322
352
|
],
|
|
323
353
|
devices: {
|
|
324
354
|
desktop: {
|
|
325
|
-
default: '
|
|
355
|
+
default: '100%'
|
|
326
356
|
}
|
|
327
357
|
}
|
|
328
358
|
},
|
|
@@ -150,7 +150,7 @@ const SettingUIV2 = [
|
|
|
150
150
|
}
|
|
151
151
|
},
|
|
152
152
|
{
|
|
153
|
-
conditionDisplay: 'labelWidth != "100%"',
|
|
153
|
+
conditionDisplay: 'position == "top" && labelWidth != "100%"',
|
|
154
154
|
label: {
|
|
155
155
|
en: 'Tabs align'
|
|
156
156
|
},
|
|
@@ -158,6 +158,15 @@ const SettingUIV2 = [
|
|
|
158
158
|
id: 'panelAlign'
|
|
159
159
|
}
|
|
160
160
|
},
|
|
161
|
+
{
|
|
162
|
+
conditionDisplay: 'position != "top" && labelWidth != "100%"',
|
|
163
|
+
label: {
|
|
164
|
+
en: 'Tabs align'
|
|
165
|
+
},
|
|
166
|
+
setting: {
|
|
167
|
+
id: 'panelAlignVertical'
|
|
168
|
+
}
|
|
169
|
+
},
|
|
161
170
|
{
|
|
162
171
|
label: {
|
|
163
172
|
en: 'Hover effect'
|
|
@@ -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: [
|
|
@@ -114,7 +114,7 @@ const HTML5Embed = (props)=>{
|
|
|
114
114
|
class="${videoYoutubeClasses}"
|
|
115
115
|
${controls ? 'controls' : undefined}
|
|
116
116
|
${loop ? 'loop' : undefined}
|
|
117
|
-
${
|
|
117
|
+
${muted ? 'muted' : undefined}
|
|
118
118
|
${autoplay ? 'autoplay' : undefined}
|
|
119
119
|
playsinline
|
|
120
120
|
src="${srcUnLazyVideo}"
|
|
@@ -40,11 +40,9 @@ const Tabs = (props)=>{
|
|
|
40
40
|
setting
|
|
41
41
|
})
|
|
42
42
|
});
|
|
43
|
-
const styleTagClasses =
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
builderProps
|
|
47
|
-
})
|
|
43
|
+
const styleTagClasses = getStyleTagClasses({
|
|
44
|
+
panelWidth,
|
|
45
|
+
builderProps
|
|
48
46
|
});
|
|
49
47
|
const tabParentListClasses = createClass({
|
|
50
48
|
...getTabParentListClasses()
|
|
@@ -42,11 +42,9 @@ const Tabs = (props)=>{
|
|
|
42
42
|
setting
|
|
43
43
|
})
|
|
44
44
|
});
|
|
45
|
-
const styleTagClasses =
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
builderProps
|
|
49
|
-
})
|
|
45
|
+
const styleTagClasses = getStyleTagClasses({
|
|
46
|
+
panelWidth,
|
|
47
|
+
builderProps
|
|
50
48
|
});
|
|
51
49
|
const tabParentListClasses = createClass({
|
|
52
50
|
...getTabParentListClasses()
|
|
@@ -3,7 +3,7 @@ import { DEVICES, getValueByDevice } from '@gem-sdk/core';
|
|
|
3
3
|
const makeStyleLayoutFullWidthResponsive = (panelWidth, builderProps)=>{
|
|
4
4
|
return DEVICES.map((device)=>{
|
|
5
5
|
if (getValueByDevice(panelWidth, device) === '100%') return `.${builderProps?.uid}
|
|
6
|
-
.wrap-width_full_${device}_top_true { width: 100%; }
|
|
6
|
+
.wrap-width_full_${device}_top_true { width: 100%; } .${builderProps?.uid} .wrap-width_full_${device}_top_true .gp-tab-item { flex: 1 }`;
|
|
7
7
|
}).join('');
|
|
8
8
|
};
|
|
9
9
|
const makeDeviceDefault = (data = {})=>{
|
|
@@ -55,9 +55,7 @@ const getStyleTagClasses = ({ panelWidth, builderProps })=>{
|
|
|
55
55
|
white-space: break-spaces;
|
|
56
56
|
}`;
|
|
57
57
|
if (layoutFullWidthResponsiveClass) classList += ` ${layoutFullWidthResponsiveClass}`;
|
|
58
|
-
return
|
|
59
|
-
...composeClasses(classList)
|
|
60
|
-
};
|
|
58
|
+
return classList;
|
|
61
59
|
};
|
|
62
60
|
const getWrapperContentClasses = ()=>{
|
|
63
61
|
const classList = 'gp-flex gp-flex-1 gp-min-w-0';
|
|
@@ -61,9 +61,10 @@ const getItemStyle = (setting, isNotLiquid, isActive)=>{
|
|
|
61
61
|
return filterTruthyStyles(composeStyles);
|
|
62
62
|
};
|
|
63
63
|
const getTabParentListStyle = (setting)=>{
|
|
64
|
-
const { panelAlign } = setting ?? {};
|
|
64
|
+
const { panelAlign, panelAlignVertical } = setting ?? {};
|
|
65
65
|
const composeStyles = {
|
|
66
|
-
...makeStyleResponsive('jc', panelAlign)
|
|
66
|
+
...makeStyleResponsive('jc', panelAlign),
|
|
67
|
+
...makeStyleResponsive('ai', panelAlignVertical)
|
|
67
68
|
};
|
|
68
69
|
return filterTruthyStyles(composeStyles);
|
|
69
70
|
};
|
|
@@ -51,12 +51,6 @@ const TabsSettings = [
|
|
|
51
51
|
devices: {
|
|
52
52
|
desktop: {
|
|
53
53
|
default: 'top'
|
|
54
|
-
},
|
|
55
|
-
tablet: {
|
|
56
|
-
default: 'top'
|
|
57
|
-
},
|
|
58
|
-
mobile: {
|
|
59
|
-
default: 'top'
|
|
60
54
|
}
|
|
61
55
|
}
|
|
62
56
|
},
|
|
@@ -145,6 +139,39 @@ const TabsSettings = [
|
|
|
145
139
|
}
|
|
146
140
|
}
|
|
147
141
|
},
|
|
142
|
+
{
|
|
143
|
+
id: 'panelAlignVertical',
|
|
144
|
+
type: 'option:value',
|
|
145
|
+
label: 'Alignment',
|
|
146
|
+
options: [
|
|
147
|
+
{
|
|
148
|
+
label: 'Top',
|
|
149
|
+
value: 'start',
|
|
150
|
+
type: 'align',
|
|
151
|
+
tooltip: 'Align Top',
|
|
152
|
+
iconName: 'gp-align-top'
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
label: 'Center',
|
|
156
|
+
value: 'center',
|
|
157
|
+
type: 'align',
|
|
158
|
+
tooltip: 'Align center',
|
|
159
|
+
iconName: 'gp-align-center'
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
label: 'Bottom',
|
|
163
|
+
value: 'end',
|
|
164
|
+
type: 'align',
|
|
165
|
+
tooltip: 'Align Bottom',
|
|
166
|
+
iconName: 'gp-align-bottom'
|
|
167
|
+
}
|
|
168
|
+
],
|
|
169
|
+
devices: {
|
|
170
|
+
desktop: {
|
|
171
|
+
default: 'start'
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
},
|
|
148
175
|
{
|
|
149
176
|
id: 'labelWidth',
|
|
150
177
|
label: 'Width',
|
|
@@ -161,7 +188,10 @@ const TabsSettings = [
|
|
|
161
188
|
},
|
|
162
189
|
{
|
|
163
190
|
id: 'padding',
|
|
164
|
-
type: 'padding-v2'
|
|
191
|
+
type: 'padding-v2',
|
|
192
|
+
devices: {
|
|
193
|
+
desktop: {}
|
|
194
|
+
}
|
|
165
195
|
},
|
|
166
196
|
{
|
|
167
197
|
id: 'labelAlign',
|
|
@@ -320,7 +350,7 @@ const TabsSettings = [
|
|
|
320
350
|
],
|
|
321
351
|
devices: {
|
|
322
352
|
desktop: {
|
|
323
|
-
default: '
|
|
353
|
+
default: '100%'
|
|
324
354
|
}
|
|
325
355
|
}
|
|
326
356
|
},
|
|
@@ -148,7 +148,7 @@ const SettingUIV2 = [
|
|
|
148
148
|
}
|
|
149
149
|
},
|
|
150
150
|
{
|
|
151
|
-
conditionDisplay: 'labelWidth != "100%"',
|
|
151
|
+
conditionDisplay: 'position == "top" && labelWidth != "100%"',
|
|
152
152
|
label: {
|
|
153
153
|
en: 'Tabs align'
|
|
154
154
|
},
|
|
@@ -156,6 +156,15 @@ const SettingUIV2 = [
|
|
|
156
156
|
id: 'panelAlign'
|
|
157
157
|
}
|
|
158
158
|
},
|
|
159
|
+
{
|
|
160
|
+
conditionDisplay: 'position != "top" && labelWidth != "100%"',
|
|
161
|
+
label: {
|
|
162
|
+
en: 'Tabs align'
|
|
163
|
+
},
|
|
164
|
+
setting: {
|
|
165
|
+
id: 'panelAlignVertical'
|
|
166
|
+
}
|
|
167
|
+
},
|
|
159
168
|
{
|
|
160
169
|
label: {
|
|
161
170
|
en: 'Hover effect'
|
|
@@ -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: [
|
|
@@ -110,7 +110,7 @@ const HTML5Embed = (props)=>{
|
|
|
110
110
|
class="${videoYoutubeClasses}"
|
|
111
111
|
${controls ? 'controls' : undefined}
|
|
112
112
|
${loop ? 'loop' : undefined}
|
|
113
|
-
${
|
|
113
|
+
${muted ? 'muted' : undefined}
|
|
114
114
|
${autoplay ? 'autoplay' : undefined}
|
|
115
115
|
playsinline
|
|
116
116
|
src="${srcUnLazyVideo}"
|
package/dist/types/index.d.ts
CHANGED
|
@@ -4244,6 +4244,7 @@ type TabsProps = BasePropsWrap<{
|
|
|
4244
4244
|
panelFullWidth?: ObjectDevices$1<boolean>;
|
|
4245
4245
|
panelWidth?: ObjectDevices$1<string>;
|
|
4246
4246
|
panelAlign?: ObjectDevices$1<AlignProp>;
|
|
4247
|
+
panelAlignVertical?: ObjectDevices$1<string>;
|
|
4247
4248
|
labelAlign?: ObjectDevices$1<AlignProp>;
|
|
4248
4249
|
align?: ObjectDevices$1<any>;
|
|
4249
4250
|
labelWidth?: ObjectDevices$1<string>;
|