@gem-sdk/core 1.58.0-dev.63 → 1.58.0-dev.69
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 +14 -0
- package/dist/cjs/helpers/third-party/appSetting.js +68 -0
- package/dist/cjs/helpers/third-party/constant.js +3 -1
- package/dist/esm/helpers/third-party/appConfig.js +13 -1
- package/dist/esm/helpers/third-party/appSetting.js +68 -0
- package/dist/esm/helpers/third-party/constant.js +4 -2
- package/package.json +1 -1
|
@@ -192,7 +192,20 @@ const BestBuyFulfillmentConfig = {
|
|
|
192
192
|
appId: 'd9839db8-b94c-4590-ac73-3469abe7ed9b'
|
|
193
193
|
}
|
|
194
194
|
};
|
|
195
|
+
const AftershipEmailMarketingsmsConfig = {
|
|
196
|
+
AftershipEmailMarketingsms: {
|
|
197
|
+
appName: 'aftership-email-marketing-sms',
|
|
198
|
+
appId: '2db13273-f8db-4274-be89-c86a3352fb70'
|
|
199
|
+
}
|
|
200
|
+
};
|
|
201
|
+
const SegunoEmailMarketingConfig = {
|
|
202
|
+
SegunoEmailMarketing: {
|
|
203
|
+
appName: 'seguno-email',
|
|
204
|
+
appId: 'db65571f-fa4d-473d-baa2-283a96dc76bc'
|
|
205
|
+
}
|
|
206
|
+
};
|
|
195
207
|
|
|
208
|
+
exports.AftershipEmailMarketingsmsConfig = AftershipEmailMarketingsmsConfig;
|
|
196
209
|
exports.AppointmentBookingCowlendarConfig = AppointmentBookingCowlendarConfig;
|
|
197
210
|
exports.BestBuyFulfillmentConfig = BestBuyFulfillmentConfig;
|
|
198
211
|
exports.BoldSubscriptionsConfig = BoldSubscriptionsConfig;
|
|
@@ -215,6 +228,7 @@ exports.ProductOptionsCustomizerConfig = ProductOptionsCustomizerConfig;
|
|
|
215
228
|
exports.PumperBundlesVolumeDiscountConfig = PumperBundlesVolumeDiscountConfig;
|
|
216
229
|
exports.RechargeSubscriptionsConfig = RechargeSubscriptionsConfig;
|
|
217
230
|
exports.ReviewxpoProductReviewsAppConfig = ReviewxpoProductReviewsAppConfig;
|
|
231
|
+
exports.SegunoEmailMarketingConfig = SegunoEmailMarketingConfig;
|
|
218
232
|
exports.SelleasyConfig = SelleasyConfig;
|
|
219
233
|
exports.ShopifyFormsConfig = ShopifyFormsConfig;
|
|
220
234
|
exports.SimpleBundlesKitsConfig = SimpleBundlesKitsConfig;
|
|
@@ -109,6 +109,13 @@ const overrideSettings = (tag, currentSetting, appSetting)=>{
|
|
|
109
109
|
shortcode: appSetting?.shortcode
|
|
110
110
|
};
|
|
111
111
|
}
|
|
112
|
+
case 'AftershipEmailMarketingsms':
|
|
113
|
+
{
|
|
114
|
+
return {
|
|
115
|
+
...currentSetting,
|
|
116
|
+
embedded_form_id: appSetting?.formId
|
|
117
|
+
};
|
|
118
|
+
}
|
|
112
119
|
default:
|
|
113
120
|
return currentSetting;
|
|
114
121
|
}
|
|
@@ -448,7 +455,68 @@ const BestBuyFulfillment = {
|
|
|
448
455
|
'pickup-selector': null
|
|
449
456
|
}
|
|
450
457
|
};
|
|
458
|
+
const AftershipEmailMarketingsms = {
|
|
459
|
+
AftershipEmailMarketingsms: {
|
|
460
|
+
embeded_form: {
|
|
461
|
+
embedded_form_id: ''
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
};
|
|
465
|
+
const SegunoEmailMarketing = {
|
|
466
|
+
SegunoEmailMarketing: {
|
|
467
|
+
back_in_stock: {
|
|
468
|
+
heading: '<h3>Get notified when this is back in stock</h3>',
|
|
469
|
+
label_email: 'Email',
|
|
470
|
+
placeholder_email: '',
|
|
471
|
+
show_permission_checkbox: true,
|
|
472
|
+
label_permission: '<p>Also, sign up to receive newsletters</p>',
|
|
473
|
+
label_notify: 'Notify me',
|
|
474
|
+
label_success: '<p>Thanks! You will be notified once the product is back in stock.</p>',
|
|
475
|
+
product_exclusion_tag: 'back-in-stock-excluded',
|
|
476
|
+
default_variant: 'available',
|
|
477
|
+
padding: 0,
|
|
478
|
+
form_gap: 16,
|
|
479
|
+
button_alignment: 'stretch',
|
|
480
|
+
font_size: 16,
|
|
481
|
+
input_font_size: 16,
|
|
482
|
+
button_font_size: 16,
|
|
483
|
+
background_color: '#ffffff',
|
|
484
|
+
text_color: '#121212',
|
|
485
|
+
button_background_color: '#121212',
|
|
486
|
+
button_border_color: '#121212',
|
|
487
|
+
button_text_color: '#ffffff',
|
|
488
|
+
input_background_color: '#ffffff',
|
|
489
|
+
input_border_color: '#121212',
|
|
490
|
+
input_text_color: '#121212',
|
|
491
|
+
custom_css: ''
|
|
492
|
+
},
|
|
493
|
+
newsletter_form: {
|
|
494
|
+
heading: 'Subscribe to our newsletter',
|
|
495
|
+
subheading: '<p>Be the first to know about new collections and exclusive offers.</p>',
|
|
496
|
+
show_first_name: false,
|
|
497
|
+
show_last_name: false,
|
|
498
|
+
show_permission_checkbox: false,
|
|
499
|
+
tags: 'newsletter',
|
|
500
|
+
return_to: '',
|
|
501
|
+
label_first_name: 'First name',
|
|
502
|
+
placeholder_first_name: '',
|
|
503
|
+
label_last_name: 'Last name',
|
|
504
|
+
placeholder_last_name: '',
|
|
505
|
+
label_email: 'Email',
|
|
506
|
+
placeholder_email: '',
|
|
507
|
+
label_permission: '<p>I agree to receive marketing emails</p>',
|
|
508
|
+
label_subscribe: 'Subscribe',
|
|
509
|
+
success_message: 'Thanks for subscribing',
|
|
510
|
+
background_color: '#ffffff',
|
|
511
|
+
text_color: '#1a1b18',
|
|
512
|
+
button_background_color: '#445958',
|
|
513
|
+
button_text_color: '#ffffff'
|
|
514
|
+
}
|
|
515
|
+
}
|
|
516
|
+
};
|
|
451
517
|
const composeSettingsByWidgetType = {
|
|
518
|
+
...SegunoEmailMarketing,
|
|
519
|
+
...AftershipEmailMarketingsms,
|
|
452
520
|
...BestBuyFulfillment,
|
|
453
521
|
...GloboProductOptionsVariant,
|
|
454
522
|
...WishlistKing,
|
|
@@ -34,7 +34,9 @@ const mapShopifyAppMeta = {
|
|
|
34
34
|
...appConfig.WishlistKingConfig,
|
|
35
35
|
...appConfig.GloboProductOptionsVariantConfig,
|
|
36
36
|
...appConfig.KachingBundlesConfig,
|
|
37
|
-
...appConfig.BestBuyFulfillmentConfig
|
|
37
|
+
...appConfig.BestBuyFulfillmentConfig,
|
|
38
|
+
...appConfig.AftershipEmailMarketingsmsConfig,
|
|
39
|
+
...appConfig.SegunoEmailMarketingConfig
|
|
38
40
|
};
|
|
39
41
|
const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
|
|
40
42
|
|
|
@@ -190,5 +190,17 @@ const BestBuyFulfillmentConfig = {
|
|
|
190
190
|
appId: 'd9839db8-b94c-4590-ac73-3469abe7ed9b'
|
|
191
191
|
}
|
|
192
192
|
};
|
|
193
|
+
const AftershipEmailMarketingsmsConfig = {
|
|
194
|
+
AftershipEmailMarketingsms: {
|
|
195
|
+
appName: 'aftership-email-marketing-sms',
|
|
196
|
+
appId: '2db13273-f8db-4274-be89-c86a3352fb70'
|
|
197
|
+
}
|
|
198
|
+
};
|
|
199
|
+
const SegunoEmailMarketingConfig = {
|
|
200
|
+
SegunoEmailMarketing: {
|
|
201
|
+
appName: 'seguno-email',
|
|
202
|
+
appId: 'db65571f-fa4d-473d-baa2-283a96dc76bc'
|
|
203
|
+
}
|
|
204
|
+
};
|
|
193
205
|
|
|
194
|
-
export { AppointmentBookingCowlendarConfig, BestBuyFulfillmentConfig, BoldSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, EasyBundleBuilderSkailamaConfig, FastBundleBundlesDiscountsConfig, FlyBundlesUpsellsFbtConfig, GloboProductOptionsVariantConfig, GrowaveConfig, InstasellShoppableInstagramConfig, JunipProductReviewsUgcConfig, KachingBundlesConfig, KiteFreeGiftDiscountConfig, LoloyalLoyaltyReferralsConfig, LoopSubscriptionsConfig, PowerfulContactFormBuilderConfig, PreorderNowPreOrderPqConfig, PreorderNowWodPresaleConfig, ProductOptionsCustomizerConfig, PumperBundlesVolumeDiscountConfig, RechargeSubscriptionsConfig, ReviewxpoProductReviewsAppConfig, SelleasyConfig, ShopifyFormsConfig, SimpleBundlesKitsConfig, SkioSubscriptionsYcS20Config, SproutPlantTreesGrowSalesConfig, SubifySubscriptionsConfig, UnlimitedBundlesDiscountsConfig, WhatmoreShoppableVideosreelConfig, WishlistKingConfig, YotpoReviewsV3UgcConfig };
|
|
206
|
+
export { AftershipEmailMarketingsmsConfig, AppointmentBookingCowlendarConfig, BestBuyFulfillmentConfig, BoldSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, EasyBundleBuilderSkailamaConfig, FastBundleBundlesDiscountsConfig, FlyBundlesUpsellsFbtConfig, GloboProductOptionsVariantConfig, GrowaveConfig, InstasellShoppableInstagramConfig, JunipProductReviewsUgcConfig, KachingBundlesConfig, KiteFreeGiftDiscountConfig, LoloyalLoyaltyReferralsConfig, LoopSubscriptionsConfig, PowerfulContactFormBuilderConfig, PreorderNowPreOrderPqConfig, PreorderNowWodPresaleConfig, ProductOptionsCustomizerConfig, PumperBundlesVolumeDiscountConfig, RechargeSubscriptionsConfig, ReviewxpoProductReviewsAppConfig, SegunoEmailMarketingConfig, SelleasyConfig, ShopifyFormsConfig, SimpleBundlesKitsConfig, SkioSubscriptionsYcS20Config, SproutPlantTreesGrowSalesConfig, SubifySubscriptionsConfig, UnlimitedBundlesDiscountsConfig, WhatmoreShoppableVideosreelConfig, WishlistKingConfig, YotpoReviewsV3UgcConfig };
|
|
@@ -107,6 +107,13 @@ const overrideSettings = (tag, currentSetting, appSetting)=>{
|
|
|
107
107
|
shortcode: appSetting?.shortcode
|
|
108
108
|
};
|
|
109
109
|
}
|
|
110
|
+
case 'AftershipEmailMarketingsms':
|
|
111
|
+
{
|
|
112
|
+
return {
|
|
113
|
+
...currentSetting,
|
|
114
|
+
embedded_form_id: appSetting?.formId
|
|
115
|
+
};
|
|
116
|
+
}
|
|
110
117
|
default:
|
|
111
118
|
return currentSetting;
|
|
112
119
|
}
|
|
@@ -446,7 +453,68 @@ const BestBuyFulfillment = {
|
|
|
446
453
|
'pickup-selector': null
|
|
447
454
|
}
|
|
448
455
|
};
|
|
456
|
+
const AftershipEmailMarketingsms = {
|
|
457
|
+
AftershipEmailMarketingsms: {
|
|
458
|
+
embeded_form: {
|
|
459
|
+
embedded_form_id: ''
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
};
|
|
463
|
+
const SegunoEmailMarketing = {
|
|
464
|
+
SegunoEmailMarketing: {
|
|
465
|
+
back_in_stock: {
|
|
466
|
+
heading: '<h3>Get notified when this is back in stock</h3>',
|
|
467
|
+
label_email: 'Email',
|
|
468
|
+
placeholder_email: '',
|
|
469
|
+
show_permission_checkbox: true,
|
|
470
|
+
label_permission: '<p>Also, sign up to receive newsletters</p>',
|
|
471
|
+
label_notify: 'Notify me',
|
|
472
|
+
label_success: '<p>Thanks! You will be notified once the product is back in stock.</p>',
|
|
473
|
+
product_exclusion_tag: 'back-in-stock-excluded',
|
|
474
|
+
default_variant: 'available',
|
|
475
|
+
padding: 0,
|
|
476
|
+
form_gap: 16,
|
|
477
|
+
button_alignment: 'stretch',
|
|
478
|
+
font_size: 16,
|
|
479
|
+
input_font_size: 16,
|
|
480
|
+
button_font_size: 16,
|
|
481
|
+
background_color: '#ffffff',
|
|
482
|
+
text_color: '#121212',
|
|
483
|
+
button_background_color: '#121212',
|
|
484
|
+
button_border_color: '#121212',
|
|
485
|
+
button_text_color: '#ffffff',
|
|
486
|
+
input_background_color: '#ffffff',
|
|
487
|
+
input_border_color: '#121212',
|
|
488
|
+
input_text_color: '#121212',
|
|
489
|
+
custom_css: ''
|
|
490
|
+
},
|
|
491
|
+
newsletter_form: {
|
|
492
|
+
heading: 'Subscribe to our newsletter',
|
|
493
|
+
subheading: '<p>Be the first to know about new collections and exclusive offers.</p>',
|
|
494
|
+
show_first_name: false,
|
|
495
|
+
show_last_name: false,
|
|
496
|
+
show_permission_checkbox: false,
|
|
497
|
+
tags: 'newsletter',
|
|
498
|
+
return_to: '',
|
|
499
|
+
label_first_name: 'First name',
|
|
500
|
+
placeholder_first_name: '',
|
|
501
|
+
label_last_name: 'Last name',
|
|
502
|
+
placeholder_last_name: '',
|
|
503
|
+
label_email: 'Email',
|
|
504
|
+
placeholder_email: '',
|
|
505
|
+
label_permission: '<p>I agree to receive marketing emails</p>',
|
|
506
|
+
label_subscribe: 'Subscribe',
|
|
507
|
+
success_message: 'Thanks for subscribing',
|
|
508
|
+
background_color: '#ffffff',
|
|
509
|
+
text_color: '#1a1b18',
|
|
510
|
+
button_background_color: '#445958',
|
|
511
|
+
button_text_color: '#ffffff'
|
|
512
|
+
}
|
|
513
|
+
}
|
|
514
|
+
};
|
|
449
515
|
const composeSettingsByWidgetType = {
|
|
516
|
+
...SegunoEmailMarketing,
|
|
517
|
+
...AftershipEmailMarketingsms,
|
|
450
518
|
...BestBuyFulfillment,
|
|
451
519
|
...GloboProductOptionsVariant,
|
|
452
520
|
...WishlistKing,
|
|
@@ -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 } 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 } from './appConfig.js';
|
|
2
2
|
|
|
3
3
|
const mapShopifyAppMeta = {
|
|
4
4
|
...RechargeSubscriptionsConfig,
|
|
@@ -32,7 +32,9 @@ const mapShopifyAppMeta = {
|
|
|
32
32
|
...WishlistKingConfig,
|
|
33
33
|
...GloboProductOptionsVariantConfig,
|
|
34
34
|
...KachingBundlesConfig,
|
|
35
|
-
...BestBuyFulfillmentConfig
|
|
35
|
+
...BestBuyFulfillmentConfig,
|
|
36
|
+
...AftershipEmailMarketingsmsConfig,
|
|
37
|
+
...SegunoEmailMarketingConfig
|
|
36
38
|
};
|
|
37
39
|
const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
|
|
38
40
|
|