@gem-sdk/core 1.58.0-dev.109 → 1.58.0-dev.112
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/compose-advance-style.js +15 -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/esm/helpers/compose-advance-style.js +15 -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/package.json +1 -1
|
@@ -140,12 +140,25 @@ function composeAdvanceStyle(data, tag, pageType) {
|
|
|
140
140
|
'IconList',
|
|
141
141
|
'IconListV2',
|
|
142
142
|
'Tabs',
|
|
143
|
-
'Accordion'
|
|
143
|
+
'Accordion',
|
|
144
|
+
'Marquee',
|
|
145
|
+
'Breadcrumb'
|
|
146
|
+
];
|
|
147
|
+
const formElements = [
|
|
148
|
+
'Newsletter',
|
|
149
|
+
'ContactForm',
|
|
150
|
+
'TextField',
|
|
151
|
+
'FormTextarea',
|
|
152
|
+
'FormEmail',
|
|
153
|
+
'FormDropdown',
|
|
154
|
+
'FormCheckbox',
|
|
155
|
+
'SubmitButton'
|
|
144
156
|
];
|
|
145
157
|
const listElementShadowV2 = [
|
|
146
158
|
...baseElements,
|
|
147
159
|
...productElements,
|
|
148
|
-
...boostElements
|
|
160
|
+
...boostElements,
|
|
161
|
+
...formElements
|
|
149
162
|
];
|
|
150
163
|
let hasBoxShadowV2 = hasBoxShadow;
|
|
151
164
|
if (listElementShadowV2.includes(tag || '')) {
|
|
@@ -222,6 +222,12 @@ const SeoantTrustBadgesIconConfig = {
|
|
|
222
222
|
appId: 'f42f2346-5d14-4b41-a8b9-4b6ee352262e'
|
|
223
223
|
}
|
|
224
224
|
};
|
|
225
|
+
const PowrContactFormBuilderConfig = {
|
|
226
|
+
PowrContactFormBuilder: {
|
|
227
|
+
appName: 'powr-form-builder',
|
|
228
|
+
appId: '1412fe37-d89c-4706-a797-6e2b53cb4a69'
|
|
229
|
+
}
|
|
230
|
+
};
|
|
225
231
|
|
|
226
232
|
exports.AftershipEmailMarketingsmsConfig = AftershipEmailMarketingsmsConfig;
|
|
227
233
|
exports.AppointmentBookingCowlendarConfig = AppointmentBookingCowlendarConfig;
|
|
@@ -241,6 +247,7 @@ exports.LoloyalLoyaltyReferralsConfig = LoloyalLoyaltyReferralsConfig;
|
|
|
241
247
|
exports.LoopSubscriptionsConfig = LoopSubscriptionsConfig;
|
|
242
248
|
exports.LooxReviewsConfig = LooxReviewsConfig;
|
|
243
249
|
exports.PowerfulContactFormBuilderConfig = PowerfulContactFormBuilderConfig;
|
|
250
|
+
exports.PowrContactFormBuilderConfig = PowrContactFormBuilderConfig;
|
|
244
251
|
exports.PreorderNowPreOrderPqConfig = PreorderNowPreOrderPqConfig;
|
|
245
252
|
exports.PreorderNowWodPresaleConfig = PreorderNowWodPresaleConfig;
|
|
246
253
|
exports.ProductOptionsCustomizerConfig = ProductOptionsCustomizerConfig;
|
|
@@ -130,6 +130,13 @@ const overrideSettings = (tag, currentSetting, appSetting)=>{
|
|
|
130
130
|
badge_id: appSetting?.BadgeId
|
|
131
131
|
};
|
|
132
132
|
}
|
|
133
|
+
case 'PowrContactFormBuilder':
|
|
134
|
+
{
|
|
135
|
+
return {
|
|
136
|
+
...currentSetting,
|
|
137
|
+
app_id: appSetting?.appId
|
|
138
|
+
};
|
|
139
|
+
}
|
|
133
140
|
default:
|
|
134
141
|
return currentSetting;
|
|
135
142
|
}
|
|
@@ -692,7 +699,15 @@ const SeoantTrustBadgesIcon = {
|
|
|
692
699
|
}
|
|
693
700
|
}
|
|
694
701
|
};
|
|
702
|
+
const PowrContactFormBuilder = {
|
|
703
|
+
PowrContactFormBuilder: {
|
|
704
|
+
'app-block': {
|
|
705
|
+
'app_id': ""
|
|
706
|
+
}
|
|
707
|
+
}
|
|
708
|
+
};
|
|
695
709
|
const composeSettingsByWidgetType = {
|
|
710
|
+
...PowrContactFormBuilder,
|
|
696
711
|
...SeoantTrustBadgesIcon,
|
|
697
712
|
...SegunoEmailMarketing,
|
|
698
713
|
...AftershipEmailMarketingsms,
|
|
@@ -39,7 +39,8 @@ const mapShopifyAppMeta = {
|
|
|
39
39
|
...appConfig.SegunoEmailMarketingConfig,
|
|
40
40
|
...appConfig.TrustooConfig,
|
|
41
41
|
...appConfig.LooxReviewsConfig,
|
|
42
|
-
...appConfig.SeoantTrustBadgesIconConfig
|
|
42
|
+
...appConfig.SeoantTrustBadgesIconConfig,
|
|
43
|
+
...appConfig.PowrContactFormBuilderConfig
|
|
43
44
|
};
|
|
44
45
|
const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
|
|
45
46
|
|
|
@@ -138,12 +138,25 @@ function composeAdvanceStyle(data, tag, pageType) {
|
|
|
138
138
|
'IconList',
|
|
139
139
|
'IconListV2',
|
|
140
140
|
'Tabs',
|
|
141
|
-
'Accordion'
|
|
141
|
+
'Accordion',
|
|
142
|
+
'Marquee',
|
|
143
|
+
'Breadcrumb'
|
|
144
|
+
];
|
|
145
|
+
const formElements = [
|
|
146
|
+
'Newsletter',
|
|
147
|
+
'ContactForm',
|
|
148
|
+
'TextField',
|
|
149
|
+
'FormTextarea',
|
|
150
|
+
'FormEmail',
|
|
151
|
+
'FormDropdown',
|
|
152
|
+
'FormCheckbox',
|
|
153
|
+
'SubmitButton'
|
|
142
154
|
];
|
|
143
155
|
const listElementShadowV2 = [
|
|
144
156
|
...baseElements,
|
|
145
157
|
...productElements,
|
|
146
|
-
...boostElements
|
|
158
|
+
...boostElements,
|
|
159
|
+
...formElements
|
|
147
160
|
];
|
|
148
161
|
let hasBoxShadowV2 = hasBoxShadow;
|
|
149
162
|
if (listElementShadowV2.includes(tag || '')) {
|
|
@@ -220,5 +220,11 @@ const SeoantTrustBadgesIconConfig = {
|
|
|
220
220
|
appId: 'f42f2346-5d14-4b41-a8b9-4b6ee352262e'
|
|
221
221
|
}
|
|
222
222
|
};
|
|
223
|
+
const PowrContactFormBuilderConfig = {
|
|
224
|
+
PowrContactFormBuilder: {
|
|
225
|
+
appName: 'powr-form-builder',
|
|
226
|
+
appId: '1412fe37-d89c-4706-a797-6e2b53cb4a69'
|
|
227
|
+
}
|
|
228
|
+
};
|
|
223
229
|
|
|
224
|
-
export { AftershipEmailMarketingsmsConfig, AppointmentBookingCowlendarConfig, BestBuyFulfillmentConfig, BoldSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, EasyBundleBuilderSkailamaConfig, FastBundleBundlesDiscountsConfig, FlyBundlesUpsellsFbtConfig, GloboProductOptionsVariantConfig, GrowaveConfig, InstasellShoppableInstagramConfig, JunipProductReviewsUgcConfig, KachingBundlesConfig, KiteFreeGiftDiscountConfig, LoloyalLoyaltyReferralsConfig, LoopSubscriptionsConfig, LooxReviewsConfig, PowerfulContactFormBuilderConfig, PreorderNowPreOrderPqConfig, PreorderNowWodPresaleConfig, ProductOptionsCustomizerConfig, PumperBundlesVolumeDiscountConfig, RechargeSubscriptionsConfig, ReviewxpoProductReviewsAppConfig, SegunoEmailMarketingConfig, SelleasyConfig, SeoantTrustBadgesIconConfig, ShopifyFormsConfig, SimpleBundlesKitsConfig, SkioSubscriptionsYcS20Config, SproutPlantTreesGrowSalesConfig, SubifySubscriptionsConfig, TrustooConfig, UnlimitedBundlesDiscountsConfig, WhatmoreShoppableVideosreelConfig, WishlistKingConfig, YotpoReviewsV3UgcConfig };
|
|
230
|
+
export { AftershipEmailMarketingsmsConfig, AppointmentBookingCowlendarConfig, BestBuyFulfillmentConfig, BoldSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, EasyBundleBuilderSkailamaConfig, FastBundleBundlesDiscountsConfig, FlyBundlesUpsellsFbtConfig, GloboProductOptionsVariantConfig, GrowaveConfig, InstasellShoppableInstagramConfig, JunipProductReviewsUgcConfig, KachingBundlesConfig, KiteFreeGiftDiscountConfig, LoloyalLoyaltyReferralsConfig, LoopSubscriptionsConfig, LooxReviewsConfig, PowerfulContactFormBuilderConfig, PowrContactFormBuilderConfig, PreorderNowPreOrderPqConfig, PreorderNowWodPresaleConfig, ProductOptionsCustomizerConfig, PumperBundlesVolumeDiscountConfig, RechargeSubscriptionsConfig, ReviewxpoProductReviewsAppConfig, SegunoEmailMarketingConfig, SelleasyConfig, SeoantTrustBadgesIconConfig, ShopifyFormsConfig, SimpleBundlesKitsConfig, SkioSubscriptionsYcS20Config, SproutPlantTreesGrowSalesConfig, SubifySubscriptionsConfig, TrustooConfig, UnlimitedBundlesDiscountsConfig, WhatmoreShoppableVideosreelConfig, WishlistKingConfig, YotpoReviewsV3UgcConfig };
|
|
@@ -128,6 +128,13 @@ const overrideSettings = (tag, currentSetting, appSetting)=>{
|
|
|
128
128
|
badge_id: appSetting?.BadgeId
|
|
129
129
|
};
|
|
130
130
|
}
|
|
131
|
+
case 'PowrContactFormBuilder':
|
|
132
|
+
{
|
|
133
|
+
return {
|
|
134
|
+
...currentSetting,
|
|
135
|
+
app_id: appSetting?.appId
|
|
136
|
+
};
|
|
137
|
+
}
|
|
131
138
|
default:
|
|
132
139
|
return currentSetting;
|
|
133
140
|
}
|
|
@@ -690,7 +697,15 @@ const SeoantTrustBadgesIcon = {
|
|
|
690
697
|
}
|
|
691
698
|
}
|
|
692
699
|
};
|
|
700
|
+
const PowrContactFormBuilder = {
|
|
701
|
+
PowrContactFormBuilder: {
|
|
702
|
+
'app-block': {
|
|
703
|
+
'app_id': ""
|
|
704
|
+
}
|
|
705
|
+
}
|
|
706
|
+
};
|
|
693
707
|
const composeSettingsByWidgetType = {
|
|
708
|
+
...PowrContactFormBuilder,
|
|
694
709
|
...SeoantTrustBadgesIcon,
|
|
695
710
|
...SegunoEmailMarketing,
|
|
696
711
|
...AftershipEmailMarketingsms,
|
|
@@ -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, LoloyalLoyaltyReferralsConfig, PowerfulContactFormBuilderConfig, WishlistKingConfig, GloboProductOptionsVariantConfig, KachingBundlesConfig, BestBuyFulfillmentConfig, AftershipEmailMarketingsmsConfig, SegunoEmailMarketingConfig, TrustooConfig, LooxReviewsConfig, SeoantTrustBadgesIconConfig } 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, LoloyalLoyaltyReferralsConfig, PowerfulContactFormBuilderConfig, WishlistKingConfig, GloboProductOptionsVariantConfig, KachingBundlesConfig, BestBuyFulfillmentConfig, AftershipEmailMarketingsmsConfig, SegunoEmailMarketingConfig, TrustooConfig, LooxReviewsConfig, SeoantTrustBadgesIconConfig, PowrContactFormBuilderConfig } from './appConfig.js';
|
|
2
2
|
|
|
3
3
|
const mapShopifyAppMeta = {
|
|
4
4
|
...RechargeSubscriptionsConfig,
|
|
@@ -37,7 +37,8 @@ const mapShopifyAppMeta = {
|
|
|
37
37
|
...SegunoEmailMarketingConfig,
|
|
38
38
|
...TrustooConfig,
|
|
39
39
|
...LooxReviewsConfig,
|
|
40
|
-
...SeoantTrustBadgesIconConfig
|
|
40
|
+
...SeoantTrustBadgesIconConfig,
|
|
41
|
+
...PowrContactFormBuilderConfig
|
|
41
42
|
};
|
|
42
43
|
const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
|
|
43
44
|
|