@gem-sdk/core 1.57.0-staging.33 → 1.57.0-staging.40
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/helpers/background.js +3 -0
- package/dist/cjs/helpers/compose-advance-style.js +15 -1
- package/dist/cjs/helpers/interaction/index.js +10 -5
- package/dist/cjs/helpers/radius.js +11 -1
- package/dist/cjs/helpers/shadow.js +3 -2
- package/dist/cjs/helpers/third-party/appConfig.js +7 -0
- package/dist/cjs/helpers/third-party/appSetting.js +15 -0
- package/dist/cjs/helpers/third-party/constant.js +2 -1
- package/dist/cjs/types/custom.js +1 -0
- package/dist/esm/helpers/background.js +3 -0
- package/dist/esm/helpers/compose-advance-style.js +15 -1
- package/dist/esm/helpers/interaction/index.js +10 -5
- package/dist/esm/helpers/radius.js +11 -1
- package/dist/esm/helpers/shadow.js +3 -2
- package/dist/esm/helpers/third-party/appConfig.js +7 -1
- package/dist/esm/helpers/third-party/appSetting.js +15 -0
- package/dist/esm/helpers/third-party/constant.js +3 -2
- package/dist/esm/types/custom.js +1 -0
- package/dist/types/index.d.ts +410 -179
- package/package.json +1 -1
|
@@ -76,6 +76,9 @@ const getBgImageByDevice = (background, device, options)=>{
|
|
|
76
76
|
if (typeof imageByDevice === 'string') {
|
|
77
77
|
return `url(${imageByDevice})`;
|
|
78
78
|
}
|
|
79
|
+
if (imageByDevice !== undefined) {
|
|
80
|
+
return 'none';
|
|
81
|
+
}
|
|
79
82
|
};
|
|
80
83
|
const getStyleBgPosition = (background)=>{
|
|
81
84
|
const bgPosition = {
|
|
@@ -112,7 +112,21 @@ function composeAdvanceStyle(data, tag, pageType) {
|
|
|
112
112
|
Object.assign(styles, radius.composeRadius(value));
|
|
113
113
|
}
|
|
114
114
|
if (attr === 'boxShadow') {
|
|
115
|
-
|
|
115
|
+
const listElementShadowV2 = [
|
|
116
|
+
'Row',
|
|
117
|
+
'Section',
|
|
118
|
+
'Text',
|
|
119
|
+
'Heading'
|
|
120
|
+
];
|
|
121
|
+
let hasBoxShadowV2 = hasBoxShadow;
|
|
122
|
+
if (listElementShadowV2.includes(tag || '')) {
|
|
123
|
+
hasBoxShadowV2 = {
|
|
124
|
+
desktop: value.desktop ?? {},
|
|
125
|
+
tablet: value.tablet ?? value.desktop ?? {},
|
|
126
|
+
mobile: value.mobile ?? value.tablet ?? value.desktop ?? {}
|
|
127
|
+
};
|
|
128
|
+
}
|
|
129
|
+
Object.assign(styles, shadow.getResponsiveStyleShadow(value, 'box-shadow', hasBoxShadowV2 ?? hasBoxShadow));
|
|
116
130
|
}
|
|
117
131
|
const styleValue = getAttrValue(attr, deviceValue, tag);
|
|
118
132
|
if (composeAttr === 'desktop') {
|
|
@@ -26,14 +26,19 @@ const useInteraction = ()=>{
|
|
|
26
26
|
return element?.querySelector(selector);
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
|
+
const handleOnListener = (element, event, callback)=>{
|
|
30
|
+
const eventListener = (e)=>{
|
|
31
|
+
const customEvent = e;
|
|
32
|
+
const params = customEvent.detail;
|
|
33
|
+
if (callback) callback(params);
|
|
34
|
+
};
|
|
35
|
+
element.addEventListener(event, eventListener);
|
|
36
|
+
return ()=>element.removeEventListener(event, eventListener);
|
|
37
|
+
};
|
|
29
38
|
const onListener = ({ event, selector, elementRef }, callback)=>{
|
|
30
39
|
const element = findElementIncludingSelf(elementRef?.current || ref.current || document, selector);
|
|
31
40
|
if (!element) return;
|
|
32
|
-
element
|
|
33
|
-
const event = e;
|
|
34
|
-
const params = event.detail;
|
|
35
|
-
if (callback) callback(params);
|
|
36
|
-
});
|
|
41
|
+
return handleOnListener(element, event, callback);
|
|
37
42
|
};
|
|
38
43
|
const trigger = ({ event, data, selector, element: elementParam })=>{
|
|
39
44
|
const element = elementParam || document.body.querySelector('#storefront')?.querySelector(selector);
|
|
@@ -27,7 +27,14 @@ const getRadiusCSSFromGlobal = (state, key, device)=>{
|
|
|
27
27
|
};
|
|
28
28
|
};
|
|
29
29
|
const getCustomRadius = (state, radius, device)=>{
|
|
30
|
-
|
|
30
|
+
const list = [
|
|
31
|
+
'custom',
|
|
32
|
+
'pill',
|
|
33
|
+
'rounded',
|
|
34
|
+
'single',
|
|
35
|
+
'none'
|
|
36
|
+
];
|
|
37
|
+
if (!radius || !state || !list.includes(radius?.radiusType ?? '')) return {};
|
|
31
38
|
const suffix = device && device !== 'desktop' ? constant.devicesMapping?.[device] : '';
|
|
32
39
|
const mState = constant.stateMapping?.[state];
|
|
33
40
|
return {
|
|
@@ -62,6 +69,7 @@ const composeRadiusState = (radiusValue, device)=>{
|
|
|
62
69
|
case 'circle':
|
|
63
70
|
case 'none':
|
|
64
71
|
case 'custom':
|
|
72
|
+
case 'rounded':
|
|
65
73
|
Object.assign(style, getCustomRadius('normal', radiusValue.normal, device));
|
|
66
74
|
break;
|
|
67
75
|
}
|
|
@@ -74,6 +82,7 @@ const composeRadiusState = (radiusValue, device)=>{
|
|
|
74
82
|
case 'circle':
|
|
75
83
|
case 'none':
|
|
76
84
|
case 'custom':
|
|
85
|
+
case 'rounded':
|
|
77
86
|
Object.assign(style, getCustomRadius('hover', radiusValue.hover, device));
|
|
78
87
|
break;
|
|
79
88
|
}
|
|
@@ -86,6 +95,7 @@ const composeRadiusState = (radiusValue, device)=>{
|
|
|
86
95
|
case 'circle':
|
|
87
96
|
case 'none':
|
|
88
97
|
case 'custom':
|
|
98
|
+
case 'rounded':
|
|
89
99
|
Object.assign(style, getCustomRadius('focus', radiusValue.focus, device));
|
|
90
100
|
break;
|
|
91
101
|
}
|
|
@@ -24,10 +24,11 @@ const getStyleShadow = (shadowStyle, isActiveState = false)=>{
|
|
|
24
24
|
let { state } = shadowStyle || {};
|
|
25
25
|
if (!state) state = 'normal';
|
|
26
26
|
if (!styleAppliedFor || !value) return {};
|
|
27
|
-
|
|
27
|
+
const isNoneValue = value.type === 'none';
|
|
28
|
+
if (typeof value.distance == 'undefined' && !isNoneValue) return {};
|
|
28
29
|
const { value: distance, unit: unitDistance } = parseValueWithUnit(`${value?.distance}`);
|
|
29
30
|
return {
|
|
30
|
-
[`-${!isActiveState ? constant.stateMapping?.[state] || '' : ''}-${getShortname.getShortName(styleAppliedFor)}${shadowStyle.screen ? `-${shadowStyle.screen}` : ''}`]: isEnableShadow ? `${Math.cos(parseFloat(`${value?.angle}`) * Math.PI / 180) * parseFloat(`${distance}`)}${unitDistance} ${Math.sin(parseFloat(`${value?.angle}`) * Math.PI / 180) * parseFloat(`${distance}`)}${unitDistance} ${value?.blur} ${styleAppliedFor === 'box-shadow' ? value?.spread + ' ' : ''}${colors.getSingleColorVariable(value?.color)}` : 'none'
|
|
31
|
+
[`-${!isActiveState ? constant.stateMapping?.[state] || '' : ''}-${getShortname.getShortName(styleAppliedFor)}${shadowStyle.screen ? `-${shadowStyle.screen}` : ''}`]: isEnableShadow && !isNoneValue ? `${Math.cos(parseFloat(`${value?.angle}`) * Math.PI / 180) * parseFloat(`${distance}`)}${unitDistance} ${Math.sin(parseFloat(`${value?.angle}`) * Math.PI / 180) * parseFloat(`${distance}`)}${unitDistance} ${value?.blur} ${styleAppliedFor === 'box-shadow' ? value?.spread + ' ' : ''}${colors.getSingleColorVariable(value?.color)}` : 'none'
|
|
31
32
|
};
|
|
32
33
|
};
|
|
33
34
|
const getStyleShadowState = (shadow, styleAppliedFor, isEnableShadow, screen)=>{
|
|
@@ -168,6 +168,12 @@ const LoloyalLoyaltyReferralsConfig = {
|
|
|
168
168
|
appId: '930ac91f-2bf2-4655-9ba0-574771f782d6'
|
|
169
169
|
}
|
|
170
170
|
};
|
|
171
|
+
const PowerfulContactFormBuilderConfig = {
|
|
172
|
+
PowerfulContactFormBuilder: {
|
|
173
|
+
appName: 'powerful-form-builder',
|
|
174
|
+
appId: 'e4bcb1eb-35b2-42e6-bc37-bfe0e1542c9d'
|
|
175
|
+
}
|
|
176
|
+
};
|
|
171
177
|
|
|
172
178
|
exports.AppointmentBookingCowlendarConfig = AppointmentBookingCowlendarConfig;
|
|
173
179
|
exports.BoldSubscriptionsConfig = BoldSubscriptionsConfig;
|
|
@@ -182,6 +188,7 @@ exports.KachingBundlesConfig = KachingBundlesConfig;
|
|
|
182
188
|
exports.KiteFreeGiftDiscountConfig = KiteFreeGiftDiscountConfig;
|
|
183
189
|
exports.LoloyalLoyaltyReferralsConfig = LoloyalLoyaltyReferralsConfig;
|
|
184
190
|
exports.LoopSubscriptionsConfig = LoopSubscriptionsConfig;
|
|
191
|
+
exports.PowerfulContactFormBuilderConfig = PowerfulContactFormBuilderConfig;
|
|
185
192
|
exports.PreorderNowPreOrderPqConfig = PreorderNowPreOrderPqConfig;
|
|
186
193
|
exports.PreorderNowWodPresaleConfig = PreorderNowWodPresaleConfig;
|
|
187
194
|
exports.ProductOptionsCustomizerConfig = ProductOptionsCustomizerConfig;
|
|
@@ -109,6 +109,13 @@ const overrideSettings = (tag, currentSetting, appSetting)=>{
|
|
|
109
109
|
['show-views']: appSetting?.showViews
|
|
110
110
|
};
|
|
111
111
|
}
|
|
112
|
+
case 'PowerfulContactFormBuilder':
|
|
113
|
+
{
|
|
114
|
+
return {
|
|
115
|
+
...currentSetting,
|
|
116
|
+
shortcode: appSetting?.shortcode
|
|
117
|
+
};
|
|
118
|
+
}
|
|
112
119
|
default:
|
|
113
120
|
return currentSetting;
|
|
114
121
|
}
|
|
@@ -419,8 +426,16 @@ const LoloyalLoyaltyReferrals = {
|
|
|
419
426
|
'app-referrals': LoloyalSettingCommon
|
|
420
427
|
}
|
|
421
428
|
};
|
|
429
|
+
const PowerfulContactFormBuilder = {
|
|
430
|
+
PowerfulContactFormBuilder: {
|
|
431
|
+
'app-block': {
|
|
432
|
+
shortcode: ''
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
};
|
|
422
436
|
const composeSettingsByWidgetType = {
|
|
423
437
|
...LoloyalLoyaltyReferrals,
|
|
438
|
+
...PowerfulContactFormBuilder,
|
|
424
439
|
...InstasellShoppableInstagram,
|
|
425
440
|
...SproutPlantTreesGrowSales,
|
|
426
441
|
...AppointmentBookingCowlendar,
|
|
@@ -30,7 +30,8 @@ const mapShopifyAppMeta = {
|
|
|
30
30
|
...appConfig.InstasellShoppableInstagramConfig,
|
|
31
31
|
...appConfig.GrowaveConfig,
|
|
32
32
|
...appConfig.KachingBundlesConfig,
|
|
33
|
-
...appConfig.LoloyalLoyaltyReferralsConfig
|
|
33
|
+
...appConfig.LoloyalLoyaltyReferralsConfig,
|
|
34
|
+
...appConfig.PowerfulContactFormBuilderConfig
|
|
34
35
|
};
|
|
35
36
|
const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
|
|
36
37
|
|
package/dist/cjs/types/custom.js
CHANGED
|
@@ -23,6 +23,7 @@ exports.InteractionTargetEvent = void 0;
|
|
|
23
23
|
InteractionTargetEvent[InteractionTargetEvent['gp:toggle-popup-open'] = 18] = 'gp:toggle-popup-open';
|
|
24
24
|
InteractionTargetEvent[InteractionTargetEvent['gp:show-or-hide'] = 19] = 'gp:show-or-hide';
|
|
25
25
|
InteractionTargetEvent[InteractionTargetEvent['gp:change-banner'] = 20] = 'gp:change-banner';
|
|
26
|
+
InteractionTargetEvent[InteractionTargetEvent['gp:change-open-tab'] = 21] = 'gp:change-open-tab';
|
|
26
27
|
})(exports.InteractionTargetEvent || (exports.InteractionTargetEvent = {}));
|
|
27
28
|
exports.InteractionTriggerEvent = void 0;
|
|
28
29
|
(function(InteractionTriggerEvent) {
|
|
@@ -74,6 +74,9 @@ const getBgImageByDevice = (background, device, options)=>{
|
|
|
74
74
|
if (typeof imageByDevice === 'string') {
|
|
75
75
|
return `url(${imageByDevice})`;
|
|
76
76
|
}
|
|
77
|
+
if (imageByDevice !== undefined) {
|
|
78
|
+
return 'none';
|
|
79
|
+
}
|
|
77
80
|
};
|
|
78
81
|
const getStyleBgPosition = (background)=>{
|
|
79
82
|
const bgPosition = {
|
|
@@ -110,7 +110,21 @@ function composeAdvanceStyle(data, tag, pageType) {
|
|
|
110
110
|
Object.assign(styles, composeRadius(value));
|
|
111
111
|
}
|
|
112
112
|
if (attr === 'boxShadow') {
|
|
113
|
-
|
|
113
|
+
const listElementShadowV2 = [
|
|
114
|
+
'Row',
|
|
115
|
+
'Section',
|
|
116
|
+
'Text',
|
|
117
|
+
'Heading'
|
|
118
|
+
];
|
|
119
|
+
let hasBoxShadowV2 = hasBoxShadow;
|
|
120
|
+
if (listElementShadowV2.includes(tag || '')) {
|
|
121
|
+
hasBoxShadowV2 = {
|
|
122
|
+
desktop: value.desktop ?? {},
|
|
123
|
+
tablet: value.tablet ?? value.desktop ?? {},
|
|
124
|
+
mobile: value.mobile ?? value.tablet ?? value.desktop ?? {}
|
|
125
|
+
};
|
|
126
|
+
}
|
|
127
|
+
Object.assign(styles, getResponsiveStyleShadow(value, 'box-shadow', hasBoxShadowV2 ?? hasBoxShadow));
|
|
114
128
|
}
|
|
115
129
|
const styleValue = getAttrValue(attr, deviceValue, tag);
|
|
116
130
|
if (composeAttr === 'desktop') {
|
|
@@ -24,14 +24,19 @@ const useInteraction = ()=>{
|
|
|
24
24
|
return element?.querySelector(selector);
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
+
const handleOnListener = (element, event, callback)=>{
|
|
28
|
+
const eventListener = (e)=>{
|
|
29
|
+
const customEvent = e;
|
|
30
|
+
const params = customEvent.detail;
|
|
31
|
+
if (callback) callback(params);
|
|
32
|
+
};
|
|
33
|
+
element.addEventListener(event, eventListener);
|
|
34
|
+
return ()=>element.removeEventListener(event, eventListener);
|
|
35
|
+
};
|
|
27
36
|
const onListener = ({ event, selector, elementRef }, callback)=>{
|
|
28
37
|
const element = findElementIncludingSelf(elementRef?.current || ref.current || document, selector);
|
|
29
38
|
if (!element) return;
|
|
30
|
-
element
|
|
31
|
-
const event = e;
|
|
32
|
-
const params = event.detail;
|
|
33
|
-
if (callback) callback(params);
|
|
34
|
-
});
|
|
39
|
+
return handleOnListener(element, event, callback);
|
|
35
40
|
};
|
|
36
41
|
const trigger = ({ event, data, selector, element: elementParam })=>{
|
|
37
42
|
const element = elementParam || document.body.querySelector('#storefront')?.querySelector(selector);
|
|
@@ -25,7 +25,14 @@ const getRadiusCSSFromGlobal = (state, key, device)=>{
|
|
|
25
25
|
};
|
|
26
26
|
};
|
|
27
27
|
const getCustomRadius = (state, radius, device)=>{
|
|
28
|
-
|
|
28
|
+
const list = [
|
|
29
|
+
'custom',
|
|
30
|
+
'pill',
|
|
31
|
+
'rounded',
|
|
32
|
+
'single',
|
|
33
|
+
'none'
|
|
34
|
+
];
|
|
35
|
+
if (!radius || !state || !list.includes(radius?.radiusType ?? '')) return {};
|
|
29
36
|
const suffix = device && device !== 'desktop' ? devicesMapping?.[device] : '';
|
|
30
37
|
const mState = stateMapping?.[state];
|
|
31
38
|
return {
|
|
@@ -60,6 +67,7 @@ const composeRadiusState = (radiusValue, device)=>{
|
|
|
60
67
|
case 'circle':
|
|
61
68
|
case 'none':
|
|
62
69
|
case 'custom':
|
|
70
|
+
case 'rounded':
|
|
63
71
|
Object.assign(style, getCustomRadius('normal', radiusValue.normal, device));
|
|
64
72
|
break;
|
|
65
73
|
}
|
|
@@ -72,6 +80,7 @@ const composeRadiusState = (radiusValue, device)=>{
|
|
|
72
80
|
case 'circle':
|
|
73
81
|
case 'none':
|
|
74
82
|
case 'custom':
|
|
83
|
+
case 'rounded':
|
|
75
84
|
Object.assign(style, getCustomRadius('hover', radiusValue.hover, device));
|
|
76
85
|
break;
|
|
77
86
|
}
|
|
@@ -84,6 +93,7 @@ const composeRadiusState = (radiusValue, device)=>{
|
|
|
84
93
|
case 'circle':
|
|
85
94
|
case 'none':
|
|
86
95
|
case 'custom':
|
|
96
|
+
case 'rounded':
|
|
87
97
|
Object.assign(style, getCustomRadius('focus', radiusValue.focus, device));
|
|
88
98
|
break;
|
|
89
99
|
}
|
|
@@ -22,10 +22,11 @@ const getStyleShadow = (shadowStyle, isActiveState = false)=>{
|
|
|
22
22
|
let { state } = shadowStyle || {};
|
|
23
23
|
if (!state) state = 'normal';
|
|
24
24
|
if (!styleAppliedFor || !value) return {};
|
|
25
|
-
|
|
25
|
+
const isNoneValue = value.type === 'none';
|
|
26
|
+
if (typeof value.distance == 'undefined' && !isNoneValue) return {};
|
|
26
27
|
const { value: distance, unit: unitDistance } = parseValueWithUnit(`${value?.distance}`);
|
|
27
28
|
return {
|
|
28
|
-
[`-${!isActiveState ? stateMapping?.[state] || '' : ''}-${getShortName(styleAppliedFor)}${shadowStyle.screen ? `-${shadowStyle.screen}` : ''}`]: isEnableShadow ? `${Math.cos(parseFloat(`${value?.angle}`) * Math.PI / 180) * parseFloat(`${distance}`)}${unitDistance} ${Math.sin(parseFloat(`${value?.angle}`) * Math.PI / 180) * parseFloat(`${distance}`)}${unitDistance} ${value?.blur} ${styleAppliedFor === 'box-shadow' ? value?.spread + ' ' : ''}${getSingleColorVariable(value?.color)}` : 'none'
|
|
29
|
+
[`-${!isActiveState ? stateMapping?.[state] || '' : ''}-${getShortName(styleAppliedFor)}${shadowStyle.screen ? `-${shadowStyle.screen}` : ''}`]: isEnableShadow && !isNoneValue ? `${Math.cos(parseFloat(`${value?.angle}`) * Math.PI / 180) * parseFloat(`${distance}`)}${unitDistance} ${Math.sin(parseFloat(`${value?.angle}`) * Math.PI / 180) * parseFloat(`${distance}`)}${unitDistance} ${value?.blur} ${styleAppliedFor === 'box-shadow' ? value?.spread + ' ' : ''}${getSingleColorVariable(value?.color)}` : 'none'
|
|
29
30
|
};
|
|
30
31
|
};
|
|
31
32
|
const getStyleShadowState = (shadow, styleAppliedFor, isEnableShadow, screen)=>{
|
|
@@ -166,5 +166,11 @@ const LoloyalLoyaltyReferralsConfig = {
|
|
|
166
166
|
appId: '930ac91f-2bf2-4655-9ba0-574771f782d6'
|
|
167
167
|
}
|
|
168
168
|
};
|
|
169
|
+
const PowerfulContactFormBuilderConfig = {
|
|
170
|
+
PowerfulContactFormBuilder: {
|
|
171
|
+
appName: 'powerful-form-builder',
|
|
172
|
+
appId: 'e4bcb1eb-35b2-42e6-bc37-bfe0e1542c9d'
|
|
173
|
+
}
|
|
174
|
+
};
|
|
169
175
|
|
|
170
|
-
export { AppointmentBookingCowlendarConfig, BoldSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, EasyBundleBuilderSkailamaConfig, FastBundleBundlesDiscountsConfig, FlyBundlesUpsellsFbtConfig, GrowaveConfig, InstasellShoppableInstagramConfig, JunipProductReviewsUgcConfig, KachingBundlesConfig, KiteFreeGiftDiscountConfig, LoloyalLoyaltyReferralsConfig, LoopSubscriptionsConfig, PreorderNowPreOrderPqConfig, PreorderNowWodPresaleConfig, ProductOptionsCustomizerConfig, PumperBundlesVolumeDiscountConfig, RechargeSubscriptionsConfig, ReviewxpoProductReviewsAppConfig, SelleasyConfig, ShopifyFormsConfig, SimpleBundlesKitsConfig, SkioSubscriptionsYcS20Config, SproutPlantTreesGrowSalesConfig, SubifySubscriptionsConfig, UnlimitedBundlesDiscountsConfig, WhatmoreShoppableVideosreelConfig, YotpoReviewsV3UgcConfig };
|
|
176
|
+
export { AppointmentBookingCowlendarConfig, BoldSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, EasyBundleBuilderSkailamaConfig, FastBundleBundlesDiscountsConfig, FlyBundlesUpsellsFbtConfig, GrowaveConfig, InstasellShoppableInstagramConfig, JunipProductReviewsUgcConfig, KachingBundlesConfig, KiteFreeGiftDiscountConfig, LoloyalLoyaltyReferralsConfig, LoopSubscriptionsConfig, PowerfulContactFormBuilderConfig, PreorderNowPreOrderPqConfig, PreorderNowWodPresaleConfig, ProductOptionsCustomizerConfig, PumperBundlesVolumeDiscountConfig, RechargeSubscriptionsConfig, ReviewxpoProductReviewsAppConfig, SelleasyConfig, ShopifyFormsConfig, SimpleBundlesKitsConfig, SkioSubscriptionsYcS20Config, SproutPlantTreesGrowSalesConfig, SubifySubscriptionsConfig, UnlimitedBundlesDiscountsConfig, WhatmoreShoppableVideosreelConfig, YotpoReviewsV3UgcConfig };
|
|
@@ -107,6 +107,13 @@ const overrideSettings = (tag, currentSetting, appSetting)=>{
|
|
|
107
107
|
['show-views']: appSetting?.showViews
|
|
108
108
|
};
|
|
109
109
|
}
|
|
110
|
+
case 'PowerfulContactFormBuilder':
|
|
111
|
+
{
|
|
112
|
+
return {
|
|
113
|
+
...currentSetting,
|
|
114
|
+
shortcode: appSetting?.shortcode
|
|
115
|
+
};
|
|
116
|
+
}
|
|
110
117
|
default:
|
|
111
118
|
return currentSetting;
|
|
112
119
|
}
|
|
@@ -417,8 +424,16 @@ const LoloyalLoyaltyReferrals = {
|
|
|
417
424
|
'app-referrals': LoloyalSettingCommon
|
|
418
425
|
}
|
|
419
426
|
};
|
|
427
|
+
const PowerfulContactFormBuilder = {
|
|
428
|
+
PowerfulContactFormBuilder: {
|
|
429
|
+
'app-block': {
|
|
430
|
+
shortcode: ''
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
};
|
|
420
434
|
const composeSettingsByWidgetType = {
|
|
421
435
|
...LoloyalLoyaltyReferrals,
|
|
436
|
+
...PowerfulContactFormBuilder,
|
|
422
437
|
...InstasellShoppableInstagram,
|
|
423
438
|
...SproutPlantTreesGrowSales,
|
|
424
439
|
...AppointmentBookingCowlendar,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RechargeSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, SubifySubscriptionsConfig, SelleasyConfig, LoopSubscriptionsConfig, SkioSubscriptionsYcS20Config, ShopifyFormsConfig, ReviewxpoProductReviewsAppConfig, PumperBundlesVolumeDiscountConfig, UnlimitedBundlesDiscountsConfig, KiteFreeGiftDiscountConfig, FastBundleBundlesDiscountsConfig, SimpleBundlesKitsConfig, EasyBundleBuilderSkailamaConfig, PreorderNowPreOrderPqConfig, FlyBundlesUpsellsFbtConfig, JunipProductReviewsUgcConfig, PreorderNowWodPresaleConfig, YotpoReviewsV3UgcConfig, WhatmoreShoppableVideosreelConfig, ProductOptionsCustomizerConfig, AppointmentBookingCowlendarConfig, BoldSubscriptionsConfig, SproutPlantTreesGrowSalesConfig, InstasellShoppableInstagramConfig, GrowaveConfig, KachingBundlesConfig, LoloyalLoyaltyReferralsConfig } from './appConfig.js';
|
|
1
|
+
import { RechargeSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, SubifySubscriptionsConfig, SelleasyConfig, LoopSubscriptionsConfig, SkioSubscriptionsYcS20Config, ShopifyFormsConfig, ReviewxpoProductReviewsAppConfig, PumperBundlesVolumeDiscountConfig, UnlimitedBundlesDiscountsConfig, KiteFreeGiftDiscountConfig, FastBundleBundlesDiscountsConfig, SimpleBundlesKitsConfig, EasyBundleBuilderSkailamaConfig, PreorderNowPreOrderPqConfig, FlyBundlesUpsellsFbtConfig, JunipProductReviewsUgcConfig, PreorderNowWodPresaleConfig, YotpoReviewsV3UgcConfig, WhatmoreShoppableVideosreelConfig, ProductOptionsCustomizerConfig, AppointmentBookingCowlendarConfig, BoldSubscriptionsConfig, SproutPlantTreesGrowSalesConfig, InstasellShoppableInstagramConfig, GrowaveConfig, KachingBundlesConfig, LoloyalLoyaltyReferralsConfig, PowerfulContactFormBuilderConfig } from './appConfig.js';
|
|
2
2
|
|
|
3
3
|
const mapShopifyAppMeta = {
|
|
4
4
|
...RechargeSubscriptionsConfig,
|
|
@@ -28,7 +28,8 @@ const mapShopifyAppMeta = {
|
|
|
28
28
|
...InstasellShoppableInstagramConfig,
|
|
29
29
|
...GrowaveConfig,
|
|
30
30
|
...KachingBundlesConfig,
|
|
31
|
-
...LoloyalLoyaltyReferralsConfig
|
|
31
|
+
...LoloyalLoyaltyReferralsConfig,
|
|
32
|
+
...PowerfulContactFormBuilderConfig
|
|
32
33
|
};
|
|
33
34
|
const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
|
|
34
35
|
|
package/dist/esm/types/custom.js
CHANGED
|
@@ -21,6 +21,7 @@ var InteractionTargetEvent;
|
|
|
21
21
|
InteractionTargetEvent[InteractionTargetEvent['gp:toggle-popup-open'] = 18] = 'gp:toggle-popup-open';
|
|
22
22
|
InteractionTargetEvent[InteractionTargetEvent['gp:show-or-hide'] = 19] = 'gp:show-or-hide';
|
|
23
23
|
InteractionTargetEvent[InteractionTargetEvent['gp:change-banner'] = 20] = 'gp:change-banner';
|
|
24
|
+
InteractionTargetEvent[InteractionTargetEvent['gp:change-open-tab'] = 21] = 'gp:change-open-tab';
|
|
24
25
|
})(InteractionTargetEvent || (InteractionTargetEvent = {}));
|
|
25
26
|
var InteractionTriggerEvent;
|
|
26
27
|
(function(InteractionTriggerEvent) {
|
package/dist/types/index.d.ts
CHANGED
|
@@ -6904,6 +6904,7 @@ type ObjectLayoutValue = {
|
|
|
6904
6904
|
display?: 'fill' | 'fit';
|
|
6905
6905
|
cols?: number[];
|
|
6906
6906
|
keepCol?: boolean;
|
|
6907
|
+
gap?: string;
|
|
6907
6908
|
};
|
|
6908
6909
|
type ProductReviewsWidgetType = 'reviews' | 'badge';
|
|
6909
6910
|
type TrustooWidgetType = 'starRatingInList' | 'starRating' | 'reviews';
|
|
@@ -6973,6 +6974,7 @@ type Mapped$7<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
|
6973
6974
|
active?: boolean;
|
|
6974
6975
|
};
|
|
6975
6976
|
devices?: ResponsiveConfig<U>;
|
|
6977
|
+
compoDefaultValue?: ResponsiveConfig<U>;
|
|
6976
6978
|
emptyOnClear?: boolean;
|
|
6977
6979
|
showVideo?: boolean;
|
|
6978
6980
|
} : {
|
|
@@ -7011,6 +7013,7 @@ type Mapped$7<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
|
7011
7013
|
emptyOnClear?: boolean;
|
|
7012
7014
|
showVideo?: boolean;
|
|
7013
7015
|
default?: T;
|
|
7016
|
+
compoDefaultValue?: T;
|
|
7014
7017
|
};
|
|
7015
7018
|
type SharedControlType<T> = {
|
|
7016
7019
|
[K in keyof T]-?: Mapped$7<K, T[K]>;
|
|
@@ -7533,23 +7536,23 @@ type Background = {
|
|
|
7533
7536
|
storage?: 'THEME' | 'FILE_CONTENT';
|
|
7534
7537
|
backupFilePath?: string;
|
|
7535
7538
|
};
|
|
7536
|
-
size?: BgSize;
|
|
7537
|
-
position?: BgPosition;
|
|
7538
|
-
repeat?: BgRepeat;
|
|
7539
|
-
attachment?: BgAttachment;
|
|
7539
|
+
size?: BgSize$2;
|
|
7540
|
+
position?: BgPosition$2;
|
|
7541
|
+
repeat?: BgRepeat$2;
|
|
7542
|
+
attachment?: BgAttachment$2;
|
|
7540
7543
|
video?: string;
|
|
7541
7544
|
videoHtml5?: string;
|
|
7542
7545
|
videoType?: 'youtube' | 'html5';
|
|
7543
7546
|
loop?: boolean;
|
|
7544
7547
|
lazyLoad?: boolean;
|
|
7545
7548
|
};
|
|
7546
|
-
type BgSize = 'cover' | 'contain';
|
|
7547
|
-
type BgRepeat = 'repeat' | 'repeat-x' | 'repeat-y' | 'no-repeat';
|
|
7548
|
-
type BgPosition = {
|
|
7549
|
+
type BgSize$2 = 'cover' | 'contain';
|
|
7550
|
+
type BgRepeat$2 = 'repeat' | 'repeat-x' | 'repeat-y' | 'no-repeat';
|
|
7551
|
+
type BgPosition$2 = {
|
|
7549
7552
|
x: number;
|
|
7550
7553
|
y: number;
|
|
7551
7554
|
};
|
|
7552
|
-
type BgAttachment = 'scroll' | 'fixed' | 'local';
|
|
7555
|
+
type BgAttachment$2 = 'scroll' | 'fixed' | 'local';
|
|
7553
7556
|
|
|
7554
7557
|
type VisibilityControlType<T> = SharedControlType<T> & {
|
|
7555
7558
|
type: 'visibility';
|
|
@@ -7865,6 +7868,7 @@ type DropdownInput<T> = SharedControlType<T> & {
|
|
|
7865
7868
|
reversed?: boolean;
|
|
7866
7869
|
showValue?: boolean;
|
|
7867
7870
|
}[];
|
|
7871
|
+
isRowWith?: boolean;
|
|
7868
7872
|
};
|
|
7869
7873
|
|
|
7870
7874
|
type Dropdown<T> = SharedControlType<T> & {
|
|
@@ -8150,7 +8154,398 @@ type ProductHandleType<T> = SharedControlType<T> & {
|
|
|
8150
8154
|
type: 'product-handle';
|
|
8151
8155
|
};
|
|
8152
8156
|
|
|
8153
|
-
type
|
|
8157
|
+
type SettingStateType = 'normal' | 'hover' | 'focus' | 'active' | 'price' | 'compareAtPrice';
|
|
8158
|
+
type LangKey = 'en' | 'vi';
|
|
8159
|
+
type LabelWithLang = {
|
|
8160
|
+
[P in keyof Record<LangKey, ''>]?: string;
|
|
8161
|
+
};
|
|
8162
|
+
type SettingMediaType = 'image' | 'youtubeVideoID';
|
|
8163
|
+
type SettingUIHelpType = {
|
|
8164
|
+
content: string;
|
|
8165
|
+
button?: {
|
|
8166
|
+
label: string;
|
|
8167
|
+
link: string;
|
|
8168
|
+
};
|
|
8169
|
+
media?: {
|
|
8170
|
+
value: string;
|
|
8171
|
+
type: SettingMediaType;
|
|
8172
|
+
};
|
|
8173
|
+
};
|
|
8174
|
+
type LinkWithSetting = {
|
|
8175
|
+
name: string;
|
|
8176
|
+
state?: string;
|
|
8177
|
+
field?: string;
|
|
8178
|
+
getLinkValue?: boolean;
|
|
8179
|
+
};
|
|
8180
|
+
type ControlConfig = ControlProp<any> & {
|
|
8181
|
+
linkWithSetting?: LinkWithSetting;
|
|
8182
|
+
};
|
|
8183
|
+
type Plan = 'trial' | 'build' | 'starter' | 'optimize' | 'advanced' | 'trial2022' | 'enterprise' | 'development' | 'professional';
|
|
8184
|
+
type LabelVariant = 'primary' | 'secondary' | 'bold';
|
|
8185
|
+
type SettingUIControl = {
|
|
8186
|
+
id?: string;
|
|
8187
|
+
controlConfig?: ControlConfig;
|
|
8188
|
+
type?: 'control' | 'combo' | 'tab' | 'toggleGroup';
|
|
8189
|
+
layout?: 'vertical' | 'horizontal';
|
|
8190
|
+
toggleGroupId?: string;
|
|
8191
|
+
label?: LabelWithLang;
|
|
8192
|
+
conditionDisplay?: string;
|
|
8193
|
+
conditionEnable?: string;
|
|
8194
|
+
options?: {
|
|
8195
|
+
fullWidth?: boolean;
|
|
8196
|
+
onlyShowInTags?: string[];
|
|
8197
|
+
target?: 'tab';
|
|
8198
|
+
disableMessage?: string;
|
|
8199
|
+
nearestSupportedPlan?: Plan;
|
|
8200
|
+
lockedOnPlans?: Plan[];
|
|
8201
|
+
labelVariant?: LabelVariant;
|
|
8202
|
+
labelInsideControl?: boolean;
|
|
8203
|
+
hideLabel?: boolean;
|
|
8204
|
+
updateFields?: [
|
|
8205
|
+
{
|
|
8206
|
+
field: string;
|
|
8207
|
+
settingId: string;
|
|
8208
|
+
}
|
|
8209
|
+
];
|
|
8210
|
+
};
|
|
8211
|
+
setting?: {
|
|
8212
|
+
id: string;
|
|
8213
|
+
state?: SettingStateType;
|
|
8214
|
+
};
|
|
8215
|
+
searchKeyword?: string;
|
|
8216
|
+
controlChangeTrigger?: ControlTrigger;
|
|
8217
|
+
tabs?: SettingUITab[];
|
|
8218
|
+
info?: LabelWithLang;
|
|
8219
|
+
compoDefaultValue?: any | Record<NameDevices$1, any>;
|
|
8220
|
+
} & SettingUICompo;
|
|
8221
|
+
type ControlTriggerAction$1 = {
|
|
8222
|
+
controlId: string;
|
|
8223
|
+
newValue?: any;
|
|
8224
|
+
valueFromField?: string;
|
|
8225
|
+
controlType: string;
|
|
8226
|
+
groupType: string;
|
|
8227
|
+
valueIfNull?: any;
|
|
8228
|
+
removeDevice?: boolean;
|
|
8229
|
+
};
|
|
8230
|
+
type ControlTriggerSetting = {
|
|
8231
|
+
source?: string[];
|
|
8232
|
+
condition?: string;
|
|
8233
|
+
action: ControlTriggerAction$1;
|
|
8234
|
+
};
|
|
8235
|
+
type ControlTrigger = {
|
|
8236
|
+
settings?: ControlTriggerSetting[];
|
|
8237
|
+
options?: {
|
|
8238
|
+
noRecordHistory?: boolean;
|
|
8239
|
+
};
|
|
8240
|
+
};
|
|
8241
|
+
type SettingUICompo = {
|
|
8242
|
+
controls?: SettingUIControl[];
|
|
8243
|
+
iconName?: string;
|
|
8244
|
+
getValueFromSettingID?: string;
|
|
8245
|
+
fixedValue?: string;
|
|
8246
|
+
placeholder?: string;
|
|
8247
|
+
help?: SettingUIHelpType;
|
|
8248
|
+
};
|
|
8249
|
+
type SettingUIMoreSetting = {
|
|
8250
|
+
label?: LabelWithLang;
|
|
8251
|
+
labelAction?: LabelWithLang;
|
|
8252
|
+
controls?: SettingUIControl[];
|
|
8253
|
+
help?: SettingUIHelpType;
|
|
8254
|
+
};
|
|
8255
|
+
type SettingUITab = {
|
|
8256
|
+
label?: LabelWithLang;
|
|
8257
|
+
controls?: SettingUIControl[];
|
|
8258
|
+
hide?: boolean;
|
|
8259
|
+
conditionDisplay?: string;
|
|
8260
|
+
};
|
|
8261
|
+
type SettingUIToggleGroup = {
|
|
8262
|
+
label?: LabelWithLang;
|
|
8263
|
+
id?: string;
|
|
8264
|
+
controls?: SettingUIControl[];
|
|
8265
|
+
};
|
|
8266
|
+
type SettingUIToggleSettings = {
|
|
8267
|
+
controls?: SettingUIControl[];
|
|
8268
|
+
isActiveDefault?: boolean;
|
|
8269
|
+
} & SettingUIControl & SettingUIToggleGroup;
|
|
8270
|
+
type SettingUIGroup = {
|
|
8271
|
+
label?: LabelWithLang;
|
|
8272
|
+
message?: string;
|
|
8273
|
+
disableToggle?: boolean;
|
|
8274
|
+
conditionDisplay?: string;
|
|
8275
|
+
conditionEnable?: string;
|
|
8276
|
+
controls?: SettingUIControl[];
|
|
8277
|
+
moreSettings?: SettingUIMoreSetting;
|
|
8278
|
+
toggleSettings?: SettingUIToggleSettings[];
|
|
8279
|
+
states?: SettingUITab[];
|
|
8280
|
+
help?: SettingUIHelpType;
|
|
8281
|
+
options?: {
|
|
8282
|
+
disableMessage?: string;
|
|
8283
|
+
};
|
|
8284
|
+
};
|
|
8285
|
+
|
|
8286
|
+
type ColorPickerV2ControlType<T> = SharedControlType<T> & {
|
|
8287
|
+
type: 'color-picker-v2';
|
|
8288
|
+
};
|
|
8289
|
+
|
|
8290
|
+
type BorderV2ControlType<T> = SharedControlType<T> & {
|
|
8291
|
+
type: 'border-v2';
|
|
8292
|
+
};
|
|
8293
|
+
|
|
8294
|
+
type CornerV2ControlType<T> = SharedControlType<T> & {
|
|
8295
|
+
type: 'corner-v2';
|
|
8296
|
+
};
|
|
8297
|
+
|
|
8298
|
+
type PaddingV2ControlType<T> = SharedControlType<T> & {
|
|
8299
|
+
type: 'padding-v2';
|
|
8300
|
+
};
|
|
8301
|
+
|
|
8302
|
+
type BackgroundImageType<T> = SharedControlType<T> & {
|
|
8303
|
+
type: 'background-image';
|
|
8304
|
+
value?: BackgroundImageValue;
|
|
8305
|
+
};
|
|
8306
|
+
type BackgroundImageValue = {
|
|
8307
|
+
image?: {
|
|
8308
|
+
src: string;
|
|
8309
|
+
width: number;
|
|
8310
|
+
height: number;
|
|
8311
|
+
};
|
|
8312
|
+
size?: BgSize$1;
|
|
8313
|
+
position?: BgPosition$1;
|
|
8314
|
+
repeat?: BgRepeat$1;
|
|
8315
|
+
attachment?: BgAttachment$1;
|
|
8316
|
+
altText?: string;
|
|
8317
|
+
imageTitle?: string;
|
|
8318
|
+
lazyLoad?: boolean;
|
|
8319
|
+
preload?: boolean;
|
|
8320
|
+
};
|
|
8321
|
+
type BgSize$1 = 'cover' | 'contain' | '100% 100%';
|
|
8322
|
+
type BgRepeat$1 = 'repeat' | 'repeat-x' | 'repeat-y' | 'no-repeat';
|
|
8323
|
+
type BgPosition$1 = {
|
|
8324
|
+
x: number;
|
|
8325
|
+
y: number;
|
|
8326
|
+
};
|
|
8327
|
+
type BgAttachment$1 = 'scroll' | 'fixed' | 'local';
|
|
8328
|
+
|
|
8329
|
+
type BackgroundVideoType<T> = SharedControlType<T> & {
|
|
8330
|
+
type: 'background-video';
|
|
8331
|
+
value?: BackgroundVideoValue;
|
|
8332
|
+
};
|
|
8333
|
+
type BackgroundVideoValue = {
|
|
8334
|
+
srcYoutube?: string;
|
|
8335
|
+
srcHtml5?: string;
|
|
8336
|
+
type?: 'youtube' | 'html5';
|
|
8337
|
+
ratio?: string;
|
|
8338
|
+
loop?: boolean;
|
|
8339
|
+
};
|
|
8340
|
+
|
|
8341
|
+
type NameDevices = 'desktop' | 'tablet' | 'mobile';
|
|
8342
|
+
type TypographyV2Family = string | {
|
|
8343
|
+
value: string;
|
|
8344
|
+
type: TypographyV2FontFamilyType;
|
|
8345
|
+
};
|
|
8346
|
+
type TypographyV2FontFamilyType = 'google' | 'custom' | 'theme';
|
|
8347
|
+
|
|
8348
|
+
/**
|
|
8349
|
+
* @deprecated Please use `TypographySettingV2`
|
|
8350
|
+
*/
|
|
8351
|
+
type TypographySetting = {
|
|
8352
|
+
type?: TypographyType;
|
|
8353
|
+
custom?: ObjectDevices<TypographyProps>;
|
|
8354
|
+
};
|
|
8355
|
+
type TypographySettingV2 = {
|
|
8356
|
+
type?: TypographyType;
|
|
8357
|
+
custom?: TypographyV2Props;
|
|
8358
|
+
attrs?: TypographyV2Attrs;
|
|
8359
|
+
};
|
|
8360
|
+
type SizeSetting = {
|
|
8361
|
+
type?: SizeType;
|
|
8362
|
+
custom?: ObjectDevices<SizeProps>;
|
|
8363
|
+
};
|
|
8364
|
+
type SizeProps = {
|
|
8365
|
+
horizontal?: string;
|
|
8366
|
+
vertical?: string;
|
|
8367
|
+
};
|
|
8368
|
+
type SizeType = 'medium' | 'large' | 'small' | 'none';
|
|
8369
|
+
type TypographyProps = {
|
|
8370
|
+
fontSize?: string;
|
|
8371
|
+
fontWeight?: string | number;
|
|
8372
|
+
fontStyle?: string;
|
|
8373
|
+
fontFamily?: TypographyV2Family;
|
|
8374
|
+
lineHeight?: string;
|
|
8375
|
+
letterSpacing?: string;
|
|
8376
|
+
fallbackFontFamily?: string;
|
|
8377
|
+
textShadow?: ShadowProps;
|
|
8378
|
+
hasShadowText?: boolean;
|
|
8379
|
+
isCustom?: boolean;
|
|
8380
|
+
};
|
|
8381
|
+
type TypographyV2Props = Omit<TypographyProps, 'fontSize' | 'lineHeight'> & {
|
|
8382
|
+
fontSize?: ObjectDevices<string>;
|
|
8383
|
+
lineHeight?: ObjectDevices<string>;
|
|
8384
|
+
};
|
|
8385
|
+
type TypographyV2Attrs = {
|
|
8386
|
+
bold?: boolean;
|
|
8387
|
+
italic?: boolean;
|
|
8388
|
+
underline?: boolean;
|
|
8389
|
+
color?: ColorValueType;
|
|
8390
|
+
transform?: string;
|
|
8391
|
+
textAlign?: ObjectDevices<AlignProp>;
|
|
8392
|
+
};
|
|
8393
|
+
type CornerRadius = {
|
|
8394
|
+
btlr?: string;
|
|
8395
|
+
btrr?: string;
|
|
8396
|
+
bblr?: string;
|
|
8397
|
+
bbrr?: string;
|
|
8398
|
+
radiusType?: CornerRadiusType;
|
|
8399
|
+
};
|
|
8400
|
+
type CornerRadiusType = 'none' | 'large' | 'medium' | 'small' | 'circle' | 'custom' | 'rounded';
|
|
8401
|
+
type ColorType$1 = NestedKeys<BrandColorObject> | NestedKeys<BackgroundColorObject> | NestedKeys<TextColorObject> | NestedKeys<LineColorObject> | NestedKeys<FuncColorObject>;
|
|
8402
|
+
type FontName = 'body' | 'heading' | 'code';
|
|
8403
|
+
type ColorKey = 'transparent' | 'red' | 'orange' | 'yellow' | 'green' | 'blue' | 'indigo' | 'purple' | 'pink' | 'gray';
|
|
8404
|
+
type HexColorType = `#${string}`;
|
|
8405
|
+
type RGBAColorType = `rgba(${number}, ${number}, ${number}, ${number})`;
|
|
8406
|
+
type RGBColorType = `rgb(${number}, ${number}, ${number})`;
|
|
8407
|
+
type HSLColorType = `hsl(${number}, ${number}%, ${number}%)`;
|
|
8408
|
+
type HSLAColorType = `hsla(${number}, ${number}%, ${number}%, ${number})`;
|
|
8409
|
+
type ColorValueType = ColorType$1 | HexColorType | RGBAColorType | RGBColorType | HSLColorType | HSLAColorType | ColorKey;
|
|
8410
|
+
type BrandColorObject = {
|
|
8411
|
+
brand: string;
|
|
8412
|
+
highlight: string;
|
|
8413
|
+
};
|
|
8414
|
+
type BackgroundColorObject = {
|
|
8415
|
+
'bg-1': string;
|
|
8416
|
+
'bg-2': string;
|
|
8417
|
+
'bg-3': string;
|
|
8418
|
+
};
|
|
8419
|
+
type TextColorObject = {
|
|
8420
|
+
'text-1': string;
|
|
8421
|
+
'text-2': string;
|
|
8422
|
+
'text-3': string;
|
|
8423
|
+
};
|
|
8424
|
+
type LineColorObject = {
|
|
8425
|
+
'line-1': string;
|
|
8426
|
+
'line-2': string;
|
|
8427
|
+
'line-3': string;
|
|
8428
|
+
};
|
|
8429
|
+
type FuncColorObject = {
|
|
8430
|
+
info: string;
|
|
8431
|
+
warning: string;
|
|
8432
|
+
success: string;
|
|
8433
|
+
error: string;
|
|
8434
|
+
};
|
|
8435
|
+
type TypographyType = 'heading-1' | 'heading-2' | 'heading-3' | 'subheading-1' | 'subheading-2' | 'subheading-3' | 'paragraph-1' | 'paragraph-2' | 'paragraph-3';
|
|
8436
|
+
type ObjectDeviceGlobalType<T> = {
|
|
8437
|
+
desktop: T;
|
|
8438
|
+
tablet?: T;
|
|
8439
|
+
mobile?: T;
|
|
8440
|
+
};
|
|
8441
|
+
type SpacingType = 'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl';
|
|
8442
|
+
type RoundedSize = 'small' | 'medium' | 'large' | 'circle' | 'none' | 'custom' | 'rounded';
|
|
8443
|
+
type ContainerProp = 'width' | 'padding';
|
|
8444
|
+
type GlobalStyleResponsiveConfig = {
|
|
8445
|
+
color?: Partial<Record<ColorType$1, string>>;
|
|
8446
|
+
font?: Partial<Record<FontName, any>>;
|
|
8447
|
+
typography?: Partial<Record<TypographyType, ObjectDeviceGlobalType<TypographyProps>>>;
|
|
8448
|
+
spacing?: Partial<Record<SpacingType, ObjectDeviceGlobalType<string>>>;
|
|
8449
|
+
container?: Partial<Record<ContainerProp, ObjectDeviceGlobalType<string>>>;
|
|
8450
|
+
radius?: Partial<Record<RoundedSize, string>>;
|
|
8451
|
+
theme?: {
|
|
8452
|
+
font?: Partial<Record<FontName, any>>;
|
|
8453
|
+
};
|
|
8454
|
+
};
|
|
8455
|
+
type GlobalStyleConfig = {
|
|
8456
|
+
color?: Partial<Record<ColorType$1, string>>;
|
|
8457
|
+
font?: Partial<Record<FontName, any>>;
|
|
8458
|
+
typography?: Partial<Record<TypographyType, TypographyProps>>;
|
|
8459
|
+
spacing?: Partial<Record<SpacingType, string>>;
|
|
8460
|
+
container?: Partial<Record<ContainerProp, string>>;
|
|
8461
|
+
radius?: Partial<Record<RoundedSize, string>>;
|
|
8462
|
+
theme?: {
|
|
8463
|
+
font?: Partial<Record<FontName, any>>;
|
|
8464
|
+
};
|
|
8465
|
+
};
|
|
8466
|
+
type ShadowStyleApplied = 'text-shadow' | 'box-shadow';
|
|
8467
|
+
type ShadowType = 'shadow-1' | 'shadow-2' | 'shadow-3';
|
|
8468
|
+
type ShadowStyle = {
|
|
8469
|
+
value?: ShadowProps;
|
|
8470
|
+
state?: StateType;
|
|
8471
|
+
styleAppliedFor?: ShadowStyleApplied;
|
|
8472
|
+
isEnableShadow?: boolean;
|
|
8473
|
+
};
|
|
8474
|
+
type ShadowProps = {
|
|
8475
|
+
type?: ShadowType | 'custom' | 'none';
|
|
8476
|
+
angle?: string | number;
|
|
8477
|
+
distance?: string;
|
|
8478
|
+
blur?: string;
|
|
8479
|
+
spread?: string;
|
|
8480
|
+
color?: ColorValueType;
|
|
8481
|
+
};
|
|
8482
|
+
type Border = {
|
|
8483
|
+
borderType?: BorderTypeName;
|
|
8484
|
+
border?: BorderStyle$1;
|
|
8485
|
+
color?: ColorValueType;
|
|
8486
|
+
width?: string;
|
|
8487
|
+
isCustom?: boolean;
|
|
8488
|
+
position?: BorderPosition;
|
|
8489
|
+
borderWidth?: string;
|
|
8490
|
+
};
|
|
8491
|
+
type BorderTypeName = 'none' | 'style-1' | 'style-2' | 'style-3';
|
|
8492
|
+
type BorderStyle$1 = 'none' | 'solid' | 'dotted' | 'dashed';
|
|
8493
|
+
type BorderPosition = 'top' | 'left' | 'right' | 'bottom' | 'all';
|
|
8494
|
+
type SwatchesOptionType = 'radio_buttons' | 'dropdown' | 'color' | 'image' | 'rectangle_list' | 'image_shopify' | string;
|
|
8495
|
+
declare const OptionNormalStyle: string[];
|
|
8496
|
+
declare const OptionSpecialStyle: string[];
|
|
8497
|
+
type SwatchesOptionValue = {
|
|
8498
|
+
label?: string;
|
|
8499
|
+
colors?: string[];
|
|
8500
|
+
imageUrl?: string;
|
|
8501
|
+
};
|
|
8502
|
+
type GlobalSwatchesData = {
|
|
8503
|
+
optionTitle: string;
|
|
8504
|
+
optionType: SwatchesOptionType;
|
|
8505
|
+
optionValues: SwatchesOptionValue[];
|
|
8506
|
+
};
|
|
8507
|
+
|
|
8508
|
+
type ShadowV2ControlType<T> = SharedControlType<T> & {
|
|
8509
|
+
type: 'shadow-v2';
|
|
8510
|
+
value?: ShadowProps;
|
|
8511
|
+
};
|
|
8512
|
+
|
|
8513
|
+
type BackgroundMediaControlType<T> = SharedControlType<T> & {
|
|
8514
|
+
type: 'background-media';
|
|
8515
|
+
value?: BackgroundMedia;
|
|
8516
|
+
showVideo?: Boolean;
|
|
8517
|
+
};
|
|
8518
|
+
type BackgroundMedia = {
|
|
8519
|
+
type: 'color' | 'image' | 'video';
|
|
8520
|
+
color?: string;
|
|
8521
|
+
image?: {
|
|
8522
|
+
src?: string;
|
|
8523
|
+
width?: number;
|
|
8524
|
+
height?: number;
|
|
8525
|
+
backupFileKey?: string;
|
|
8526
|
+
storage?: 'THEME' | 'FILE_CONTENT';
|
|
8527
|
+
backupFilePath?: string;
|
|
8528
|
+
};
|
|
8529
|
+
size?: BgSize;
|
|
8530
|
+
position?: BgPosition;
|
|
8531
|
+
repeat?: BgRepeat;
|
|
8532
|
+
attachment?: BgAttachment;
|
|
8533
|
+
video?: string;
|
|
8534
|
+
videoHtml5?: string;
|
|
8535
|
+
videoType?: 'youtube' | 'html5';
|
|
8536
|
+
loop?: boolean;
|
|
8537
|
+
lazyLoad?: boolean;
|
|
8538
|
+
preload?: boolean;
|
|
8539
|
+
};
|
|
8540
|
+
type BgSize = 'cover' | 'contain';
|
|
8541
|
+
type BgRepeat = 'repeat' | 'repeat-x' | 'repeat-y' | 'no-repeat';
|
|
8542
|
+
type BgPosition = {
|
|
8543
|
+
x: number;
|
|
8544
|
+
y: number;
|
|
8545
|
+
};
|
|
8546
|
+
type BgAttachment = 'scroll' | 'fixed' | 'local';
|
|
8547
|
+
|
|
8548
|
+
type ControlProp<T> = ProductBundleChildControlType<T> | SelectProductBundleControlType<T> | AngleControlType<T> | CheckboxControlType<T> | ColorPickerControlType<T> | GroupControlType<T> | IconControlType<T> | InputFixContentControlType<T> | InputNumberControlType<T> | InputUnitControlType<T> | InputUnitSpacingControlType<T> | InputUnitWidthControlType<T> | InputControlType<T> | MarginControlType<T> | PaddingControlType<T> | PositionControlType<T> | RadioGroupControlType | RangeControlType<T> | SegmentControlType<T> | OpenLinkControlType<T> | SelectControlType<T> | TextareaControlType<T> | ToggleControlType<T> | ImageControlType<T> | ChildrensControlType | GridControlType<T> | FlexControlType<T> | TextEditorControlType<T> | ProductControlType<T> | TypographyControlType<T> | TypographyV2ControlType<T> | MenuControlType<T> | BehaviorStateControlType<T> | PickLinkControlType<T> | BoxShadowControlType<T> | TextShadowControlType<T> | BorderControlType<T> | BorderRadiusControlType<T> | RadiusPresetControlType<T> | SizeControlType<T> | ChildItemType<T> | PickMultiProductControlType<T> | CollectionControlType<T> | BackgroundControlType<T> | VisibilityControlType<T> | SelectVariantControlType | CountdownEvergreenType | Timezone<T> | CustomContentControlType<T> | DateTimePickerControlType | CountdownDailyType | KlaviyoCodes | YotpoLoyaltyCodes | InputWidthControlType<T> | LayoutSegmentControlType<T> | InputSpacing<T> | UniqueIdControlType<T> | PositionSquareControlType<T> | CustomCodeEditor | LayoutControlType<T> | LayoutBannerControlType<T> | SwatchesLinkControlType<T> | VariantSwatchesPresetControlType<T> | VariantSwatchesOnlyDefaultVariantControlType<T> | ProductListControlType<T> | ArticleListControlType<T> | CollectionBannerControlType<T> | Ratio<T> | StickyDisplayControlType<T> | SyncProductPropertiesControlType<T> | StepsGuide<T> | ImageShape<T> | GridArrange<T> | SizeSetting$1<T> | ChildIconType<T> | DropdownInput<T> | Dropdown<T> | AliPickSectionControlType<T> | ParallaxScrollingType<T> | BackgroundColorPickerType<T> | PlayPauseControlType<T> | LayoutCustomSegmentControlType<T> | SneakPeakRange<T> | SneakPeakTypeControlType<T> | SneakPeakControlType<T> | ProductInputCurrencyUnitControlType<T> | TypographyPostPurchaseControlType<T> | ProductOffersControlType<T> | DiscountAndShippingFee<T> | PostPurchaseTextareaControlType<T> | NotesControlType<T> | ButtonLayoutType<T> | ShapeSelectorControlType<T> | DisplayTriggerControlType<T> | CustomPositionControlType<T> | DealControlType<T> | ProductHandleType<T> | ColorPickerV2ControlType<T> | BorderV2ControlType<T> | CornerV2ControlType<T> | PaddingV2ControlType<T> | BackgroundImageType<T> | BackgroundVideoType<T> | ShadowV2ControlType<T> | BackgroundMediaControlType<T> | BackgroundVideoType<T>;
|
|
8154
8549
|
type ControlTriggerAction = {
|
|
8155
8550
|
controlId: string;
|
|
8156
8551
|
newValue?: any;
|
|
@@ -8223,6 +8618,7 @@ type ComponentSetting<P extends BaseProps> = {
|
|
|
8223
8618
|
};
|
|
8224
8619
|
};
|
|
8225
8620
|
ui?: ControlUI[];
|
|
8621
|
+
uiV2?: SettingUIGroup[];
|
|
8226
8622
|
presets?: ComponentPreset[];
|
|
8227
8623
|
locales?: Record<string, any>;
|
|
8228
8624
|
};
|
|
@@ -8368,7 +8764,8 @@ declare enum InteractionTargetEvent {
|
|
|
8368
8764
|
'gp:change-text-value' = 17,
|
|
8369
8765
|
'gp:toggle-popup-open' = 18,
|
|
8370
8766
|
'gp:show-or-hide' = 19,
|
|
8371
|
-
'gp:change-banner' = 20
|
|
8767
|
+
'gp:change-banner' = 20,
|
|
8768
|
+
'gp:change-open-tab' = 21
|
|
8372
8769
|
}
|
|
8373
8770
|
declare enum InteractionTriggerEvent {
|
|
8374
8771
|
'click' = 0,
|
|
@@ -30709,172 +31106,6 @@ declare namespace appAPI {
|
|
|
30709
31106
|
};
|
|
30710
31107
|
}
|
|
30711
31108
|
|
|
30712
|
-
type NameDevices = 'desktop' | 'tablet' | 'mobile';
|
|
30713
|
-
type TypographyV2Family = string | {
|
|
30714
|
-
value: string;
|
|
30715
|
-
type: TypographyV2FontFamilyType;
|
|
30716
|
-
};
|
|
30717
|
-
type TypographyV2FontFamilyType = 'google' | 'custom' | 'theme';
|
|
30718
|
-
|
|
30719
|
-
/**
|
|
30720
|
-
* @deprecated Please use `TypographySettingV2`
|
|
30721
|
-
*/
|
|
30722
|
-
type TypographySetting = {
|
|
30723
|
-
type?: TypographyType;
|
|
30724
|
-
custom?: ObjectDevices<TypographyProps>;
|
|
30725
|
-
};
|
|
30726
|
-
type TypographySettingV2 = {
|
|
30727
|
-
type?: TypographyType;
|
|
30728
|
-
custom?: TypographyV2Props;
|
|
30729
|
-
attrs?: TypographyV2Attrs;
|
|
30730
|
-
};
|
|
30731
|
-
type SizeSetting = {
|
|
30732
|
-
type?: SizeType;
|
|
30733
|
-
custom?: ObjectDevices<SizeProps>;
|
|
30734
|
-
};
|
|
30735
|
-
type SizeProps = {
|
|
30736
|
-
horizontal?: string;
|
|
30737
|
-
vertical?: string;
|
|
30738
|
-
};
|
|
30739
|
-
type SizeType = 'medium' | 'large' | 'small' | 'none';
|
|
30740
|
-
type TypographyProps = {
|
|
30741
|
-
fontSize?: string;
|
|
30742
|
-
fontWeight?: string | number;
|
|
30743
|
-
fontStyle?: string;
|
|
30744
|
-
fontFamily?: TypographyV2Family;
|
|
30745
|
-
lineHeight?: string;
|
|
30746
|
-
letterSpacing?: string;
|
|
30747
|
-
fallbackFontFamily?: string;
|
|
30748
|
-
textShadow?: ShadowProps;
|
|
30749
|
-
hasShadowText?: boolean;
|
|
30750
|
-
isCustom?: boolean;
|
|
30751
|
-
};
|
|
30752
|
-
type TypographyV2Props = Omit<TypographyProps, 'fontSize' | 'lineHeight'> & {
|
|
30753
|
-
fontSize?: ObjectDevices<string>;
|
|
30754
|
-
lineHeight?: ObjectDevices<string>;
|
|
30755
|
-
};
|
|
30756
|
-
type TypographyV2Attrs = {
|
|
30757
|
-
bold?: boolean;
|
|
30758
|
-
italic?: boolean;
|
|
30759
|
-
underline?: boolean;
|
|
30760
|
-
color?: ColorValueType;
|
|
30761
|
-
transform?: string;
|
|
30762
|
-
};
|
|
30763
|
-
type CornerRadius = {
|
|
30764
|
-
btlr?: string;
|
|
30765
|
-
btrr?: string;
|
|
30766
|
-
bblr?: string;
|
|
30767
|
-
bbrr?: string;
|
|
30768
|
-
radiusType?: CornerRadiusType;
|
|
30769
|
-
};
|
|
30770
|
-
type CornerRadiusType = 'none' | 'large' | 'medium' | 'small' | 'circle' | 'custom';
|
|
30771
|
-
type ColorType$1 = NestedKeys<BrandColorObject> | NestedKeys<BackgroundColorObject> | NestedKeys<TextColorObject> | NestedKeys<LineColorObject> | NestedKeys<FuncColorObject>;
|
|
30772
|
-
type FontName = 'body' | 'heading' | 'code';
|
|
30773
|
-
type ColorKey = 'transparent' | 'red' | 'orange' | 'yellow' | 'green' | 'blue' | 'indigo' | 'purple' | 'pink' | 'gray';
|
|
30774
|
-
type HexColorType = `#${string}`;
|
|
30775
|
-
type RGBAColorType = `rgba(${number}, ${number}, ${number}, ${number})`;
|
|
30776
|
-
type RGBColorType = `rgb(${number}, ${number}, ${number})`;
|
|
30777
|
-
type HSLColorType = `hsl(${number}, ${number}%, ${number}%)`;
|
|
30778
|
-
type HSLAColorType = `hsla(${number}, ${number}%, ${number}%, ${number})`;
|
|
30779
|
-
type ColorValueType = ColorType$1 | HexColorType | RGBAColorType | RGBColorType | HSLColorType | HSLAColorType | ColorKey;
|
|
30780
|
-
type BrandColorObject = {
|
|
30781
|
-
brand: string;
|
|
30782
|
-
highlight: string;
|
|
30783
|
-
};
|
|
30784
|
-
type BackgroundColorObject = {
|
|
30785
|
-
'bg-1': string;
|
|
30786
|
-
'bg-2': string;
|
|
30787
|
-
'bg-3': string;
|
|
30788
|
-
};
|
|
30789
|
-
type TextColorObject = {
|
|
30790
|
-
'text-1': string;
|
|
30791
|
-
'text-2': string;
|
|
30792
|
-
'text-3': string;
|
|
30793
|
-
};
|
|
30794
|
-
type LineColorObject = {
|
|
30795
|
-
'line-1': string;
|
|
30796
|
-
'line-2': string;
|
|
30797
|
-
'line-3': string;
|
|
30798
|
-
};
|
|
30799
|
-
type FuncColorObject = {
|
|
30800
|
-
info: string;
|
|
30801
|
-
warning: string;
|
|
30802
|
-
success: string;
|
|
30803
|
-
error: string;
|
|
30804
|
-
};
|
|
30805
|
-
type TypographyType = 'heading-1' | 'heading-2' | 'heading-3' | 'subheading-1' | 'subheading-2' | 'subheading-3' | 'paragraph-1' | 'paragraph-2' | 'paragraph-3';
|
|
30806
|
-
type ObjectDeviceGlobalType<T> = {
|
|
30807
|
-
desktop: T;
|
|
30808
|
-
tablet?: T;
|
|
30809
|
-
mobile?: T;
|
|
30810
|
-
};
|
|
30811
|
-
type SpacingType = 'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl';
|
|
30812
|
-
type RoundedSize = 'small' | 'medium' | 'large' | 'circle' | 'none' | 'custom';
|
|
30813
|
-
type ContainerProp = 'width' | 'padding';
|
|
30814
|
-
type GlobalStyleResponsiveConfig = {
|
|
30815
|
-
color?: Partial<Record<ColorType$1, string>>;
|
|
30816
|
-
font?: Partial<Record<FontName, any>>;
|
|
30817
|
-
typography?: Partial<Record<TypographyType, ObjectDeviceGlobalType<TypographyProps>>>;
|
|
30818
|
-
spacing?: Partial<Record<SpacingType, ObjectDeviceGlobalType<string>>>;
|
|
30819
|
-
container?: Partial<Record<ContainerProp, ObjectDeviceGlobalType<string>>>;
|
|
30820
|
-
radius?: Partial<Record<RoundedSize, string>>;
|
|
30821
|
-
theme?: {
|
|
30822
|
-
font?: Partial<Record<FontName, any>>;
|
|
30823
|
-
};
|
|
30824
|
-
};
|
|
30825
|
-
type GlobalStyleConfig = {
|
|
30826
|
-
color?: Partial<Record<ColorType$1, string>>;
|
|
30827
|
-
font?: Partial<Record<FontName, any>>;
|
|
30828
|
-
typography?: Partial<Record<TypographyType, TypographyProps>>;
|
|
30829
|
-
spacing?: Partial<Record<SpacingType, string>>;
|
|
30830
|
-
container?: Partial<Record<ContainerProp, string>>;
|
|
30831
|
-
radius?: Partial<Record<RoundedSize, string>>;
|
|
30832
|
-
theme?: {
|
|
30833
|
-
font?: Partial<Record<FontName, any>>;
|
|
30834
|
-
};
|
|
30835
|
-
};
|
|
30836
|
-
type ShadowStyleApplied = 'text-shadow' | 'box-shadow';
|
|
30837
|
-
type ShadowType = 'shadow-1' | 'shadow-2' | 'shadow-3';
|
|
30838
|
-
type ShadowStyle = {
|
|
30839
|
-
value?: ShadowProps;
|
|
30840
|
-
state?: StateType;
|
|
30841
|
-
styleAppliedFor?: ShadowStyleApplied;
|
|
30842
|
-
isEnableShadow?: boolean;
|
|
30843
|
-
};
|
|
30844
|
-
type ShadowProps = {
|
|
30845
|
-
type?: ShadowType | 'custom';
|
|
30846
|
-
angle?: string | number;
|
|
30847
|
-
distance?: string;
|
|
30848
|
-
blur?: string;
|
|
30849
|
-
spread?: string;
|
|
30850
|
-
color?: ColorValueType;
|
|
30851
|
-
};
|
|
30852
|
-
type Border = {
|
|
30853
|
-
borderType?: BorderTypeName;
|
|
30854
|
-
border?: BorderStyle$1;
|
|
30855
|
-
color?: ColorValueType;
|
|
30856
|
-
width?: string;
|
|
30857
|
-
isCustom?: boolean;
|
|
30858
|
-
position?: BorderPosition;
|
|
30859
|
-
borderWidth?: string;
|
|
30860
|
-
};
|
|
30861
|
-
type BorderTypeName = 'none' | 'style-1' | 'style-2' | 'style-3';
|
|
30862
|
-
type BorderStyle$1 = 'none' | 'solid' | 'dotted' | 'dashed';
|
|
30863
|
-
type BorderPosition = 'top' | 'left' | 'right' | 'bottom' | 'all';
|
|
30864
|
-
type SwatchesOptionType = 'radio_buttons' | 'dropdown' | 'color' | 'image' | 'rectangle_list' | 'image_shopify' | string;
|
|
30865
|
-
declare const OptionNormalStyle: string[];
|
|
30866
|
-
declare const OptionSpecialStyle: string[];
|
|
30867
|
-
type SwatchesOptionValue = {
|
|
30868
|
-
label?: string;
|
|
30869
|
-
colors?: string[];
|
|
30870
|
-
imageUrl?: string;
|
|
30871
|
-
};
|
|
30872
|
-
type GlobalSwatchesData = {
|
|
30873
|
-
optionTitle: string;
|
|
30874
|
-
optionType: SwatchesOptionType;
|
|
30875
|
-
optionValues: SwatchesOptionValue[];
|
|
30876
|
-
};
|
|
30877
|
-
|
|
30878
31109
|
type ProductInputAnalytic = {
|
|
30879
31110
|
id: string;
|
|
30880
31111
|
name: string;
|
|
@@ -41543,11 +41774,11 @@ declare const getAppBlocks: (section: PublishedPageSection$1 & {
|
|
|
41543
41774
|
declare const addAppBlockId: (component: Component) => Component;
|
|
41544
41775
|
|
|
41545
41776
|
declare const useInteraction: () => {
|
|
41546
|
-
onListener: ({ event, selector, elementRef }: {
|
|
41777
|
+
onListener: ({ event, selector, elementRef, }: {
|
|
41547
41778
|
event: string;
|
|
41548
41779
|
selector: string;
|
|
41549
41780
|
elementRef?: React.MutableRefObject<HTMLElement> | undefined;
|
|
41550
|
-
}, callback: (data: any) => void) => void;
|
|
41781
|
+
}, callback: (data: any) => void) => (() => void) | undefined;
|
|
41551
41782
|
trigger: ({ event, data, selector, element: elementParam, }: {
|
|
41552
41783
|
event: string;
|
|
41553
41784
|
data?: any;
|
|
@@ -41570,4 +41801,4 @@ declare const useInteraction: () => {
|
|
|
41570
41801
|
}) => void;
|
|
41571
41802
|
};
|
|
41572
41803
|
|
|
41573
|
-
export { AddOn, AddonProvider, AddonProviderProps, AdvancedType, AirProductReview, AliReviewsWidgetType, AlignItemProp, AlignProp, AnimationBaseSetting, AnimationConfig, AnimationDirectionType, AnimationEasingType, AnimationFadeSettingType, AnimationSetting, AnimationSettingType, AnimationShakeSettingType, AnimationSlideSettingType, AnimationTrigger, AnimationTriggerType, AnimationType, AnimationZoomDirectionType, AnimationZoomSettingType, appAPI as AppAPIType, ArticleListProvider, ArticleListProviderProps, ArticleProvider, ArticleProviderProps, Background, BaseProps, BasePropsWrap, BlockEntity, BogosWidgetType, BoldSubscriptionsWidgetType, Border, BorderStyle, BuilderComponentProvider, BuilderComponentProviderProps, BuilderEntity, BuilderEntityNested, BuilderPreviewProvider, BuilderPreviewProviderProps, BuilderProvider, BuilderProviderProps, BuilderState, Builtin, CSSStateKey, CartLineProvider, CartLineProviderProps, CollectionDetailFilterDocument, CollectionDetailFilterQueryResponse, CollectionDetailFilterQueryVariables, CollectionDocument, CollectionProvider, CollectionProviderProps, CollectionQueryResponse, CollectionQueryVariables, CollectionSelectFragment, CollectionsDocument, CollectionsQueryResponse, CollectionsQueryVariables, ColorKey, ColorType$1 as ColorType, ColorValueType, Component, ComponentPreset, ComponentSetting, ContainerProp, ControlProp, ControlTriggerAction, ControlUI, CornerRadius, CornerRadiusType, CustomComponentConfig, DeepPartial, DynamicCollection, DynamicProduct, ExtractState, FastBundleWidgetType, FeraReviewsV3WidgetType, FeraReviewsWidgetType, FetchCollectionArgs, FetchFunc, FetchProductParams, FlexDirectionProp, FontName, GRADIENT_BGR_KEY, GlobalStyleConfig, GlobalStyleResponsiveConfig, GlobalSwatchesData, GraphQLConnection, GroupPropType, GrowaveWidgetTypeV1, GrowaveWidgetTypeV2, HSLAColorType, HSLColorType, HexColorType, ImageShape$1 as ImageShape, InitComponentType, InstantJudgeMeReviewsWidgetType, InstantKlaviyoWidgetType, InstantLooxReviewsWidgetType, Interaction, InteractionCondition, InteractionElement, InteractionTarget, InteractionTargetEvent, InteractionTargetEventObject, InteractionTriggerEvent, JudgeMeReviewsWidgetType, KlaviyoWidgetType, LaiProductReviewsAdvancedWidgetType, LaiProductReviewsWidgetType, LibrarySaleFunnelDocument, LibrarySaleFunnelQueryResponse, LibrarySaleFunnelQueryVariables, LibraryTemplateDocument, LibraryTemplateQueryResponse, LibraryTemplateQueryVariables, LooxReviewsWidgetType, ModalProvider, ModalProviderProps, NameDevices$1 as NameDevices, NestedKeys, ObjectDeviceGlobalType, ObjectDevices, ObjectLayoutValue, OmnisendWidgetType, OnlyOne, OpinewDesignWidgetType, OpinewWidgetType, OptionNormalStyle, OptionSpecialStyle, Options, PageContext, PageProvider, PageProviderProps, PageType, PageViewUpDocument, PageViewUpMutationResponse, PageViewUpMutationVariables, PickyStoryWidgetType, PostPurchaseTypo, PreOrderNowWodWidgetType, PreviewPageDocument, PreviewPageQueryResponse, PreviewPageQueryVariables, Primitive, ProductInputAnalytic, ProductListProvider, ProductListProviderProps, ProductOffer, ProductProvider, ProductProviderProps, ProductReviewsWidgetType, ProductSelectFragment, ProductsDocument, ProductsQueryResponse, ProductsQueryVariables, PublicStoreFrontData, PublishedThemePageSelectFragment, PublishedThemePagesDocument, PublishedThemePagesQueryResponse, PublishedThemePagesQueryVariables, RGBAColorType, RGBColorType, Ratio$1 as Ratio, RawChild, RenderMemo as Render, RenderChildren, RenderIf, Render as RenderLiquid, RenderMode, RenderPreviewMemo as RenderPreview, RequiredCursorEdge, ResponsiveKey, ResponsiveStateProp, RivyoWidgetType, RoundedSize, RyviuWidgetType, SaleFunnelDiscount$1 as SaleFunnelDiscount, SaleFunnelDiscountEdge$1 as SaleFunnelDiscountEdge, SaleFunnelDiscountObjectType$1 as SaleFunnelDiscountObjectType, SaleFunnelDiscountType$1 as SaleFunnelDiscountType, SaleFunnelDiscountValueType$1 as SaleFunnelDiscountValueType, SaleFunnelDiscountsDocument, SaleFunnelDiscountsQueryResponse, SaleFunnelDiscountsQueryVariables, Scalars$1 as Scalars, ScaleByDirection, SectionData, SectionEntity, SectionProvider, SectionProviderProps, SettingByAnimationType, SettingByAnimationValues, ShadowProps, ShadowStyle, ShadowStyleApplied, ShadowType, ShopLibraryPageDocument, ShopLibraryPageQueryResponse, ShopLibraryPageQueryVariables, ShopProvider, ShopProviderProps, shop as ShopType, SizeProps, SizeSetting, SizeSettingGlobal, SizeType, SpacingType, StampedWidgetType, StateProp, StateSelector, StateType, StoreConfig, StorePropertyDocument, StorePropertyQueryResponse, StorePropertyQueryVariables, SwatchesOptionType, SwatchesOptionValue, TagShopWidgetType, ThemePageDocument, ThemePageQueryResponse, ThemePageQueryVariables, ThemeSectionStatus$1 as ThemeSectionStatus, TransformProp, TriggerConfig, TrustooWidgetType, TypographyProps, TypographySetting, TypographySettingV2, TypographyType, TypographyV2Attrs, TypographyV2Props, UltimateSalesBoostWidgetType, VariantSelectFragment, VitalsWidgetType, WiserV2WidgetType, WiserWidgetType, WrapRenderChildren, YotpoReviewsWidgetType, addAppBlockId, animations, baseAssetURL, calculateFirstProduct, checkAvailableVariantInStock, checkInStock, cls, composeAdvanceStyle, composeAdvanceStyleForPostPurchase, composeBackgroundCss, composeBorderCss, composeCornerCss, composeFallbackTypographyStyle, composeFontFamilyTypographyV2, composeGridLayout, composeMemo, composePositionLineHeight, composePostionIconList, composeRadius, composeRadiusResponsive, composeShadowCss, composeSize, composeSizeCss, composeSpacing, composeTextColorCss, composeTypography, composeTypographyAttr, composeTypographyClassName, composeTypographyCss, composeTypographyStyle, composeTypographyV2, composeTypographyV2Css, convertHTML, convertOldLayout, convertTextAlignToJustify, dataStringify, fetchMedias, fetchVariants, filterAttrInStyle, filterCornerInStyle, filterToolbarPreview, flattenConnection, formatMoney, fpixel, genSizeClass, genTypoClass, genVariable, generateCollectionQueryKey, generateProductQueryKey, generateProductsQueryKey, getAppBlocks, getAspectRatioGlobalSize, getBgImageByDevice, getBorderRadiusStyle, getBorderStyle, getCarouselContainerHeight, getCollection, getCornerCSSFromGlobal, getCustomRadius, getGlobalColorCSSProp, getGlobalColorClass, getGlobalColorResponsiveClass, getGlobalColorResponsiveStyle, getGlobalColorStateClass, getGlobalColorStateClassDynamicBtn, getGlobalColorStateResponsiveClass, getGlobalColorStateResponsiveClassDynamicBtn, getGlobalColorStateResponsiveStyle, getGlobalColorStateStyle, getGlobalColorStyle, getGlobalSizeGap, getGradientBgrStyleByDevice, getGradientBgrStyleForButton, getHeightByShapeGlobalSize, getPaddingGlobalSize, getProduct, getProductBySlug, getRadiusCSSFromGlobal, getRadiusStyleActiveState, getResponsiveStateValue, getResponsiveStyleShadow, getResponsiveValue, getResponsiveValueByScreen, getSelectedVariant, getShortName, getSingleColorVariable, getSpacingVariable, getStyleBackgroundByDevice, getStyleBgColor, getStyleShadow, getStyleShadowState, getValueByDevice, getWidthByShapeGlobalSize, getWidthHeightGlobalSize, globalEvent, gridToArrayRegex, gtag, handleConvertBorderColor, handleConvertBorderStyle, handleConvertBorderWidth, handleConvertClassColor, handleConvertClassColorDynamicBtn, isBrowser, isColor, isColumnDirectionExist, isDefined, isEmptyChildren, isLocalEnv, isSafari, loadScript, makeAspectRatio, makeContainerWidthOrHeight, makeDotGapToCarouselStyle, makeFixedBgAttachment, makeGlobalSize, makeGlobalSizeHeightResponsive, makeGlobalSizeIcon, makeGlobalSizeWidthResponsive, makeHeight, makeLineClamp, makeStyle, makeStyleKey, makeStyleResponsive, makeStyleResponsiveByScreen, makeStyleResponsiveState, makeStyleState, makeStyleWithDefault, makeWidth, normalizeBuilderData, optionLayoutStyle, parseSelectedOption, parseValueWithUnit, prefetchQueries, props, removeAttrInStyle, removeNullUndefined, removePaddingYInStyle, removeUndefinedValuesFromObject, shopifyPriceRounding, splitStyle, styles, template, tiktokpixel, useAddToCart, useAddon, useAddons, useArticleListStore, useArticleStore, useArticlesQuery, useBlogsQuery, useBuilderComponent, useBuilderPreviewStore, useBuilderStore, useCartData, useCartDiscountCodesUpdate, useCartId, useCartLine, useCartLineStore, useCartNoteUpdate, useCartUI, useCheckAvailableVariantInStock, useCheckoutUrl, useCollection, useCollectionQuery, useCollectionStore, useCollectionsQuery, useConnectedShopify, useCreateCart, useCurrency, useCurrentDevice, useCurrentVariant, useCurrentVariantInStock, useEditorMode, useFeaturedImageGlobal, useFormatMoney, useHasPreSelected, useInitialSwatchesOptions, useInteraction, useIsSampleProduct, useIsStorefrontProduct, useIsSyncProduct, useIsomorphicLayoutEffect, useLazyVideo, useLoadScript, useLocale, useMatchMutate, useMobileOnly, useModalStore, useMoney, useMoneyFormat, usePageStore, usePageType, usePluginEnable, usePrevious, useProduct, useProductList, useProductListProducts, useProductListSettings, useProductListStore, useProductListStyles, useProductOfferDiscount, useProductProperties, useProductQuery, useProductStore, useProductsQuery, useProductsQueryAll, useQuantity, useRemoveCartItem, useSection, useSectionStore, useSelectedOption, useShopStore, useStoreFront, useSuspenseFetch, useSwatches, useSwatchesOptions, useUniqProductID, useUpdateCartItem, useVariant, useVariantOutStock, useVariants, validateEmail };
|
|
41804
|
+
export { AddOn, AddonProvider, AddonProviderProps, AdvancedType, AirProductReview, AliReviewsWidgetType, AlignItemProp, AlignProp, AnimationBaseSetting, AnimationConfig, AnimationDirectionType, AnimationEasingType, AnimationFadeSettingType, AnimationSetting, AnimationSettingType, AnimationShakeSettingType, AnimationSlideSettingType, AnimationTrigger, AnimationTriggerType, AnimationType, AnimationZoomDirectionType, AnimationZoomSettingType, appAPI as AppAPIType, ArticleListProvider, ArticleListProviderProps, ArticleProvider, ArticleProviderProps, Background, BackgroundImageValue, BackgroundMedia, BackgroundVideoValue, BaseProps, BasePropsWrap, BlockEntity, BogosWidgetType, BoldSubscriptionsWidgetType, Border, BorderStyle, BuilderComponentProvider, BuilderComponentProviderProps, BuilderEntity, BuilderEntityNested, BuilderPreviewProvider, BuilderPreviewProviderProps, BuilderProvider, BuilderProviderProps, BuilderState, Builtin, CSSStateKey, CartLineProvider, CartLineProviderProps, CollectionDetailFilterDocument, CollectionDetailFilterQueryResponse, CollectionDetailFilterQueryVariables, CollectionDocument, CollectionProvider, CollectionProviderProps, CollectionQueryResponse, CollectionQueryVariables, CollectionSelectFragment, CollectionsDocument, CollectionsQueryResponse, CollectionsQueryVariables, ColorKey, ColorType$1 as ColorType, ColorValueType, Component, ComponentPreset, ComponentSetting, ContainerProp, ControlProp, ControlTriggerAction, ControlUI, CornerRadius, CornerRadiusType, CustomComponentConfig, DeepPartial, DynamicCollection, DynamicProduct, ExtractState, FastBundleWidgetType, FeraReviewsV3WidgetType, FeraReviewsWidgetType, FetchCollectionArgs, FetchFunc, FetchProductParams, FlexDirectionProp, FontName, GRADIENT_BGR_KEY, GlobalStyleConfig, GlobalStyleResponsiveConfig, GlobalSwatchesData, GraphQLConnection, GroupPropType, GrowaveWidgetTypeV1, GrowaveWidgetTypeV2, HSLAColorType, HSLColorType, HexColorType, ImageShape$1 as ImageShape, InitComponentType, InstantJudgeMeReviewsWidgetType, InstantKlaviyoWidgetType, InstantLooxReviewsWidgetType, Interaction, InteractionCondition, InteractionElement, InteractionTarget, InteractionTargetEvent, InteractionTargetEventObject, InteractionTriggerEvent, JudgeMeReviewsWidgetType, KlaviyoWidgetType, LaiProductReviewsAdvancedWidgetType, LaiProductReviewsWidgetType, LibrarySaleFunnelDocument, LibrarySaleFunnelQueryResponse, LibrarySaleFunnelQueryVariables, LibraryTemplateDocument, LibraryTemplateQueryResponse, LibraryTemplateQueryVariables, LooxReviewsWidgetType, ModalProvider, ModalProviderProps, NameDevices$1 as NameDevices, NestedKeys, ObjectDeviceGlobalType, ObjectDevices, ObjectLayoutValue, OmnisendWidgetType, OnlyOne, OpinewDesignWidgetType, OpinewWidgetType, OptionNormalStyle, OptionSpecialStyle, Options, PageContext, PageProvider, PageProviderProps, PageType, PageViewUpDocument, PageViewUpMutationResponse, PageViewUpMutationVariables, PickyStoryWidgetType, PostPurchaseTypo, PreOrderNowWodWidgetType, PreviewPageDocument, PreviewPageQueryResponse, PreviewPageQueryVariables, Primitive, ProductInputAnalytic, ProductListProvider, ProductListProviderProps, ProductOffer, ProductProvider, ProductProviderProps, ProductReviewsWidgetType, ProductSelectFragment, ProductsDocument, ProductsQueryResponse, ProductsQueryVariables, PublicStoreFrontData, PublishedThemePageSelectFragment, PublishedThemePagesDocument, PublishedThemePagesQueryResponse, PublishedThemePagesQueryVariables, RGBAColorType, RGBColorType, Ratio$1 as Ratio, RawChild, RenderMemo as Render, RenderChildren, RenderIf, Render as RenderLiquid, RenderMode, RenderPreviewMemo as RenderPreview, RequiredCursorEdge, ResponsiveKey, ResponsiveStateProp, RivyoWidgetType, RoundedSize, RyviuWidgetType, SaleFunnelDiscount$1 as SaleFunnelDiscount, SaleFunnelDiscountEdge$1 as SaleFunnelDiscountEdge, SaleFunnelDiscountObjectType$1 as SaleFunnelDiscountObjectType, SaleFunnelDiscountType$1 as SaleFunnelDiscountType, SaleFunnelDiscountValueType$1 as SaleFunnelDiscountValueType, SaleFunnelDiscountsDocument, SaleFunnelDiscountsQueryResponse, SaleFunnelDiscountsQueryVariables, Scalars$1 as Scalars, ScaleByDirection, SectionData, SectionEntity, SectionProvider, SectionProviderProps, SettingByAnimationType, SettingByAnimationValues, SettingUIGroup, ShadowProps, ShadowStyle, ShadowStyleApplied, ShadowType, ShopLibraryPageDocument, ShopLibraryPageQueryResponse, ShopLibraryPageQueryVariables, ShopProvider, ShopProviderProps, shop as ShopType, SizeProps, SizeSetting, SizeSettingGlobal, SizeType, SpacingType, StampedWidgetType, StateProp, StateSelector, StateType, StoreConfig, StorePropertyDocument, StorePropertyQueryResponse, StorePropertyQueryVariables, SwatchesOptionType, SwatchesOptionValue, TagShopWidgetType, ThemePageDocument, ThemePageQueryResponse, ThemePageQueryVariables, ThemeSectionStatus$1 as ThemeSectionStatus, TransformProp, TriggerConfig, TrustooWidgetType, TypographyProps, TypographySetting, TypographySettingV2, TypographyType, TypographyV2Attrs, TypographyV2Props, UltimateSalesBoostWidgetType, VariantSelectFragment, VitalsWidgetType, WiserV2WidgetType, WiserWidgetType, WrapRenderChildren, YotpoReviewsWidgetType, addAppBlockId, animations, baseAssetURL, calculateFirstProduct, checkAvailableVariantInStock, checkInStock, cls, composeAdvanceStyle, composeAdvanceStyleForPostPurchase, composeBackgroundCss, composeBorderCss, composeCornerCss, composeFallbackTypographyStyle, composeFontFamilyTypographyV2, composeGridLayout, composeMemo, composePositionLineHeight, composePostionIconList, composeRadius, composeRadiusResponsive, composeShadowCss, composeSize, composeSizeCss, composeSpacing, composeTextColorCss, composeTypography, composeTypographyAttr, composeTypographyClassName, composeTypographyCss, composeTypographyStyle, composeTypographyV2, composeTypographyV2Css, convertHTML, convertOldLayout, convertTextAlignToJustify, dataStringify, fetchMedias, fetchVariants, filterAttrInStyle, filterCornerInStyle, filterToolbarPreview, flattenConnection, formatMoney, fpixel, genSizeClass, genTypoClass, genVariable, generateCollectionQueryKey, generateProductQueryKey, generateProductsQueryKey, getAppBlocks, getAspectRatioGlobalSize, getBgImageByDevice, getBorderRadiusStyle, getBorderStyle, getCarouselContainerHeight, getCollection, getCornerCSSFromGlobal, getCustomRadius, getGlobalColorCSSProp, getGlobalColorClass, getGlobalColorResponsiveClass, getGlobalColorResponsiveStyle, getGlobalColorStateClass, getGlobalColorStateClassDynamicBtn, getGlobalColorStateResponsiveClass, getGlobalColorStateResponsiveClassDynamicBtn, getGlobalColorStateResponsiveStyle, getGlobalColorStateStyle, getGlobalColorStyle, getGlobalSizeGap, getGradientBgrStyleByDevice, getGradientBgrStyleForButton, getHeightByShapeGlobalSize, getPaddingGlobalSize, getProduct, getProductBySlug, getRadiusCSSFromGlobal, getRadiusStyleActiveState, getResponsiveStateValue, getResponsiveStyleShadow, getResponsiveValue, getResponsiveValueByScreen, getSelectedVariant, getShortName, getSingleColorVariable, getSpacingVariable, getStyleBackgroundByDevice, getStyleBgColor, getStyleShadow, getStyleShadowState, getValueByDevice, getWidthByShapeGlobalSize, getWidthHeightGlobalSize, globalEvent, gridToArrayRegex, gtag, handleConvertBorderColor, handleConvertBorderStyle, handleConvertBorderWidth, handleConvertClassColor, handleConvertClassColorDynamicBtn, isBrowser, isColor, isColumnDirectionExist, isDefined, isEmptyChildren, isLocalEnv, isSafari, loadScript, makeAspectRatio, makeContainerWidthOrHeight, makeDotGapToCarouselStyle, makeFixedBgAttachment, makeGlobalSize, makeGlobalSizeHeightResponsive, makeGlobalSizeIcon, makeGlobalSizeWidthResponsive, makeHeight, makeLineClamp, makeStyle, makeStyleKey, makeStyleResponsive, makeStyleResponsiveByScreen, makeStyleResponsiveState, makeStyleState, makeStyleWithDefault, makeWidth, normalizeBuilderData, optionLayoutStyle, parseSelectedOption, parseValueWithUnit, prefetchQueries, props, removeAttrInStyle, removeNullUndefined, removePaddingYInStyle, removeUndefinedValuesFromObject, shopifyPriceRounding, splitStyle, styles, template, tiktokpixel, useAddToCart, useAddon, useAddons, useArticleListStore, useArticleStore, useArticlesQuery, useBlogsQuery, useBuilderComponent, useBuilderPreviewStore, useBuilderStore, useCartData, useCartDiscountCodesUpdate, useCartId, useCartLine, useCartLineStore, useCartNoteUpdate, useCartUI, useCheckAvailableVariantInStock, useCheckoutUrl, useCollection, useCollectionQuery, useCollectionStore, useCollectionsQuery, useConnectedShopify, useCreateCart, useCurrency, useCurrentDevice, useCurrentVariant, useCurrentVariantInStock, useEditorMode, useFeaturedImageGlobal, useFormatMoney, useHasPreSelected, useInitialSwatchesOptions, useInteraction, useIsSampleProduct, useIsStorefrontProduct, useIsSyncProduct, useIsomorphicLayoutEffect, useLazyVideo, useLoadScript, useLocale, useMatchMutate, useMobileOnly, useModalStore, useMoney, useMoneyFormat, usePageStore, usePageType, usePluginEnable, usePrevious, useProduct, useProductList, useProductListProducts, useProductListSettings, useProductListStore, useProductListStyles, useProductOfferDiscount, useProductProperties, useProductQuery, useProductStore, useProductsQuery, useProductsQueryAll, useQuantity, useRemoveCartItem, useSection, useSectionStore, useSelectedOption, useShopStore, useStoreFront, useSuspenseFetch, useSwatches, useSwatchesOptions, useUniqProductID, useUpdateCartItem, useVariant, useVariantOutStock, useVariants, validateEmail };
|