@gem-sdk/core 1.57.10-staging.3 → 1.57.10-staging.6
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/third-party/appConfig.js +21 -0
- package/dist/cjs/helpers/third-party/appSetting.js +27 -0
- package/dist/cjs/helpers/third-party/constant.js +4 -1
- package/dist/esm/helpers/third-party/appConfig.js +19 -1
- package/dist/esm/helpers/third-party/appSetting.js +27 -0
- package/dist/esm/helpers/third-party/constant.js +5 -2
- package/package.json +1 -1
|
@@ -162,6 +162,24 @@ const LoloyalLoyaltyReferralsConfig = {
|
|
|
162
162
|
appId: '930ac91f-2bf2-4655-9ba0-574771f782d6'
|
|
163
163
|
}
|
|
164
164
|
};
|
|
165
|
+
const PowerfulContactFormBuilderConfig = {
|
|
166
|
+
PowerfulContactFormBuilder: {
|
|
167
|
+
appName: 'powerful-form-builder',
|
|
168
|
+
appId: 'e4bcb1eb-35b2-42e6-bc37-bfe0e1542c9d'
|
|
169
|
+
}
|
|
170
|
+
};
|
|
171
|
+
const WishlistKingConfig = {
|
|
172
|
+
WishlistKing: {
|
|
173
|
+
appName: 'wishlist-king',
|
|
174
|
+
appId: '194f5011-a43c-4b22-b12e-eaf20dc4506a'
|
|
175
|
+
}
|
|
176
|
+
};
|
|
177
|
+
const GloboProductOptionsVariantConfig = {
|
|
178
|
+
GloboProductOptionsVariant: {
|
|
179
|
+
appName: 'globo-product-option',
|
|
180
|
+
appId: 'fdc9fad5-1a0f-4bd4-9c8a-1af6a6eef6b8'
|
|
181
|
+
}
|
|
182
|
+
};
|
|
165
183
|
|
|
166
184
|
exports.AppointmentBookingCowlendarConfig = AppointmentBookingCowlendarConfig;
|
|
167
185
|
exports.BoldSubscriptionsConfig = BoldSubscriptionsConfig;
|
|
@@ -169,12 +187,14 @@ exports.BonLoyaltyRewardsReferralsConfig = BonLoyaltyRewardsReferralsConfig;
|
|
|
169
187
|
exports.EasyBundleBuilderSkailamaConfig = EasyBundleBuilderSkailamaConfig;
|
|
170
188
|
exports.FastBundleBundlesDiscountsConfig = FastBundleBundlesDiscountsConfig;
|
|
171
189
|
exports.FlyBundlesUpsellsFbtConfig = FlyBundlesUpsellsFbtConfig;
|
|
190
|
+
exports.GloboProductOptionsVariantConfig = GloboProductOptionsVariantConfig;
|
|
172
191
|
exports.GrowaveConfig = GrowaveConfig;
|
|
173
192
|
exports.InstasellShoppableInstagramConfig = InstasellShoppableInstagramConfig;
|
|
174
193
|
exports.JunipProductReviewsUgcConfig = JunipProductReviewsUgcConfig;
|
|
175
194
|
exports.KiteFreeGiftDiscountConfig = KiteFreeGiftDiscountConfig;
|
|
176
195
|
exports.LoloyalLoyaltyReferralsConfig = LoloyalLoyaltyReferralsConfig;
|
|
177
196
|
exports.LoopSubscriptionsConfig = LoopSubscriptionsConfig;
|
|
197
|
+
exports.PowerfulContactFormBuilderConfig = PowerfulContactFormBuilderConfig;
|
|
178
198
|
exports.PreorderNowPreOrderPqConfig = PreorderNowPreOrderPqConfig;
|
|
179
199
|
exports.PreorderNowWodPresaleConfig = PreorderNowWodPresaleConfig;
|
|
180
200
|
exports.ProductOptionsCustomizerConfig = ProductOptionsCustomizerConfig;
|
|
@@ -189,4 +209,5 @@ exports.SproutPlantTreesGrowSalesConfig = SproutPlantTreesGrowSalesConfig;
|
|
|
189
209
|
exports.SubifySubscriptionsConfig = SubifySubscriptionsConfig;
|
|
190
210
|
exports.UnlimitedBundlesDiscountsConfig = UnlimitedBundlesDiscountsConfig;
|
|
191
211
|
exports.WhatmoreShoppableVideosreelConfig = WhatmoreShoppableVideosreelConfig;
|
|
212
|
+
exports.WishlistKingConfig = WishlistKingConfig;
|
|
192
213
|
exports.YotpoReviewsV3UgcConfig = YotpoReviewsV3UgcConfig;
|
|
@@ -102,6 +102,13 @@ const overrideSettings = (tag, currentSetting, appSetting)=>{
|
|
|
102
102
|
['show-views']: appSetting?.showViews
|
|
103
103
|
};
|
|
104
104
|
}
|
|
105
|
+
case 'PowerfulContactFormBuilder':
|
|
106
|
+
{
|
|
107
|
+
return {
|
|
108
|
+
...currentSetting,
|
|
109
|
+
shortcode: appSetting?.shortcode
|
|
110
|
+
};
|
|
111
|
+
}
|
|
105
112
|
default:
|
|
106
113
|
return currentSetting;
|
|
107
114
|
}
|
|
@@ -412,8 +419,28 @@ const LoloyalLoyaltyReferrals = {
|
|
|
412
419
|
'app-referrals': LoloyalSettingCommon
|
|
413
420
|
}
|
|
414
421
|
};
|
|
422
|
+
const PowerfulContactFormBuilder = {
|
|
423
|
+
PowerfulContactFormBuilder: {
|
|
424
|
+
'app-block': {
|
|
425
|
+
shortcode: ''
|
|
426
|
+
}
|
|
427
|
+
}
|
|
428
|
+
};
|
|
429
|
+
const WishlistKing = {
|
|
430
|
+
WishlistKing: {
|
|
431
|
+
'wishlist-button-block': null
|
|
432
|
+
}
|
|
433
|
+
};
|
|
434
|
+
const GloboProductOptionsVariant = {
|
|
435
|
+
GloboProductOptionsVariant: {
|
|
436
|
+
'app-block': null
|
|
437
|
+
}
|
|
438
|
+
};
|
|
415
439
|
const composeSettingsByWidgetType = {
|
|
440
|
+
...GloboProductOptionsVariant,
|
|
441
|
+
...WishlistKing,
|
|
416
442
|
...LoloyalLoyaltyReferrals,
|
|
443
|
+
...PowerfulContactFormBuilder,
|
|
417
444
|
...InstasellShoppableInstagram,
|
|
418
445
|
...SproutPlantTreesGrowSales,
|
|
419
446
|
...AppointmentBookingCowlendar,
|
|
@@ -29,7 +29,10 @@ const mapShopifyAppMeta = {
|
|
|
29
29
|
...appConfig.SproutPlantTreesGrowSalesConfig,
|
|
30
30
|
...appConfig.InstasellShoppableInstagramConfig,
|
|
31
31
|
...appConfig.GrowaveConfig,
|
|
32
|
-
...appConfig.LoloyalLoyaltyReferralsConfig
|
|
32
|
+
...appConfig.LoloyalLoyaltyReferralsConfig,
|
|
33
|
+
...appConfig.PowerfulContactFormBuilderConfig,
|
|
34
|
+
...appConfig.WishlistKingConfig,
|
|
35
|
+
...appConfig.GloboProductOptionsVariantConfig
|
|
33
36
|
};
|
|
34
37
|
const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
|
|
35
38
|
|
|
@@ -160,5 +160,23 @@ const LoloyalLoyaltyReferralsConfig = {
|
|
|
160
160
|
appId: '930ac91f-2bf2-4655-9ba0-574771f782d6'
|
|
161
161
|
}
|
|
162
162
|
};
|
|
163
|
+
const PowerfulContactFormBuilderConfig = {
|
|
164
|
+
PowerfulContactFormBuilder: {
|
|
165
|
+
appName: 'powerful-form-builder',
|
|
166
|
+
appId: 'e4bcb1eb-35b2-42e6-bc37-bfe0e1542c9d'
|
|
167
|
+
}
|
|
168
|
+
};
|
|
169
|
+
const WishlistKingConfig = {
|
|
170
|
+
WishlistKing: {
|
|
171
|
+
appName: 'wishlist-king',
|
|
172
|
+
appId: '194f5011-a43c-4b22-b12e-eaf20dc4506a'
|
|
173
|
+
}
|
|
174
|
+
};
|
|
175
|
+
const GloboProductOptionsVariantConfig = {
|
|
176
|
+
GloboProductOptionsVariant: {
|
|
177
|
+
appName: 'globo-product-option',
|
|
178
|
+
appId: 'fdc9fad5-1a0f-4bd4-9c8a-1af6a6eef6b8'
|
|
179
|
+
}
|
|
180
|
+
};
|
|
163
181
|
|
|
164
|
-
export { AppointmentBookingCowlendarConfig, BoldSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, EasyBundleBuilderSkailamaConfig, FastBundleBundlesDiscountsConfig, FlyBundlesUpsellsFbtConfig, GrowaveConfig, InstasellShoppableInstagramConfig, JunipProductReviewsUgcConfig, KiteFreeGiftDiscountConfig, LoloyalLoyaltyReferralsConfig, LoopSubscriptionsConfig, PreorderNowPreOrderPqConfig, PreorderNowWodPresaleConfig, ProductOptionsCustomizerConfig, PumperBundlesVolumeDiscountConfig, RechargeSubscriptionsConfig, ReviewxpoProductReviewsAppConfig, SelleasyConfig, ShopifyFormsConfig, SimpleBundlesKitsConfig, SkioSubscriptionsYcS20Config, SproutPlantTreesGrowSalesConfig, SubifySubscriptionsConfig, UnlimitedBundlesDiscountsConfig, WhatmoreShoppableVideosreelConfig, YotpoReviewsV3UgcConfig };
|
|
182
|
+
export { AppointmentBookingCowlendarConfig, BoldSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, EasyBundleBuilderSkailamaConfig, FastBundleBundlesDiscountsConfig, FlyBundlesUpsellsFbtConfig, GloboProductOptionsVariantConfig, GrowaveConfig, InstasellShoppableInstagramConfig, JunipProductReviewsUgcConfig, KiteFreeGiftDiscountConfig, LoloyalLoyaltyReferralsConfig, LoopSubscriptionsConfig, PowerfulContactFormBuilderConfig, PreorderNowPreOrderPqConfig, PreorderNowWodPresaleConfig, ProductOptionsCustomizerConfig, PumperBundlesVolumeDiscountConfig, RechargeSubscriptionsConfig, ReviewxpoProductReviewsAppConfig, SelleasyConfig, ShopifyFormsConfig, SimpleBundlesKitsConfig, SkioSubscriptionsYcS20Config, SproutPlantTreesGrowSalesConfig, SubifySubscriptionsConfig, UnlimitedBundlesDiscountsConfig, WhatmoreShoppableVideosreelConfig, WishlistKingConfig, YotpoReviewsV3UgcConfig };
|
|
@@ -100,6 +100,13 @@ const overrideSettings = (tag, currentSetting, appSetting)=>{
|
|
|
100
100
|
['show-views']: appSetting?.showViews
|
|
101
101
|
};
|
|
102
102
|
}
|
|
103
|
+
case 'PowerfulContactFormBuilder':
|
|
104
|
+
{
|
|
105
|
+
return {
|
|
106
|
+
...currentSetting,
|
|
107
|
+
shortcode: appSetting?.shortcode
|
|
108
|
+
};
|
|
109
|
+
}
|
|
103
110
|
default:
|
|
104
111
|
return currentSetting;
|
|
105
112
|
}
|
|
@@ -410,8 +417,28 @@ const LoloyalLoyaltyReferrals = {
|
|
|
410
417
|
'app-referrals': LoloyalSettingCommon
|
|
411
418
|
}
|
|
412
419
|
};
|
|
420
|
+
const PowerfulContactFormBuilder = {
|
|
421
|
+
PowerfulContactFormBuilder: {
|
|
422
|
+
'app-block': {
|
|
423
|
+
shortcode: ''
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
};
|
|
427
|
+
const WishlistKing = {
|
|
428
|
+
WishlistKing: {
|
|
429
|
+
'wishlist-button-block': null
|
|
430
|
+
}
|
|
431
|
+
};
|
|
432
|
+
const GloboProductOptionsVariant = {
|
|
433
|
+
GloboProductOptionsVariant: {
|
|
434
|
+
'app-block': null
|
|
435
|
+
}
|
|
436
|
+
};
|
|
413
437
|
const composeSettingsByWidgetType = {
|
|
438
|
+
...GloboProductOptionsVariant,
|
|
439
|
+
...WishlistKing,
|
|
414
440
|
...LoloyalLoyaltyReferrals,
|
|
441
|
+
...PowerfulContactFormBuilder,
|
|
415
442
|
...InstasellShoppableInstagram,
|
|
416
443
|
...SproutPlantTreesGrowSales,
|
|
417
444
|
...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, 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, LoloyalLoyaltyReferralsConfig, PowerfulContactFormBuilderConfig, WishlistKingConfig, GloboProductOptionsVariantConfig } from './appConfig.js';
|
|
2
2
|
|
|
3
3
|
const mapShopifyAppMeta = {
|
|
4
4
|
...RechargeSubscriptionsConfig,
|
|
@@ -27,7 +27,10 @@ const mapShopifyAppMeta = {
|
|
|
27
27
|
...SproutPlantTreesGrowSalesConfig,
|
|
28
28
|
...InstasellShoppableInstagramConfig,
|
|
29
29
|
...GrowaveConfig,
|
|
30
|
-
...LoloyalLoyaltyReferralsConfig
|
|
30
|
+
...LoloyalLoyaltyReferralsConfig,
|
|
31
|
+
...PowerfulContactFormBuilderConfig,
|
|
32
|
+
...WishlistKingConfig,
|
|
33
|
+
...GloboProductOptionsVariantConfig
|
|
31
34
|
};
|
|
32
35
|
const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
|
|
33
36
|
|