@gem-sdk/core 1.58.0-staging.103 → 1.58.0-staging.107
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 +7 -0
- package/dist/cjs/helpers/third-party/appSetting.js +23 -0
- package/dist/cjs/helpers/third-party/constant.js +2 -1
- package/dist/esm/helpers/third-party/appConfig.js +7 -1
- package/dist/esm/helpers/third-party/appSetting.js +23 -0
- package/dist/esm/helpers/third-party/constant.js +3 -2
- package/package.json +1 -1
|
@@ -240,6 +240,12 @@ const HulkProductOptionsConfig = {
|
|
|
240
240
|
appId: '380168ef-9475-4244-a291-f66b189208b5'
|
|
241
241
|
}
|
|
242
242
|
};
|
|
243
|
+
const TrustshopProductReviewsConfig = {
|
|
244
|
+
TrustshopProductReviews: {
|
|
245
|
+
appName: 'trustshop-reviews',
|
|
246
|
+
appId: '18b0c4cc-5411-4b6e-922d-34fdc2f30ab9'
|
|
247
|
+
}
|
|
248
|
+
};
|
|
243
249
|
|
|
244
250
|
exports.AftershipEmailMarketingsmsConfig = AftershipEmailMarketingsmsConfig;
|
|
245
251
|
exports.AppointmentBookingCowlendarConfig = AppointmentBookingCowlendarConfig;
|
|
@@ -277,6 +283,7 @@ exports.SproutPlantTreesGrowSalesConfig = SproutPlantTreesGrowSalesConfig;
|
|
|
277
283
|
exports.SubifySubscriptionsConfig = SubifySubscriptionsConfig;
|
|
278
284
|
exports.TrustooConfig = TrustooConfig;
|
|
279
285
|
exports.TrustreviewsProductReviewsConfig = TrustreviewsProductReviewsConfig;
|
|
286
|
+
exports.TrustshopProductReviewsConfig = TrustshopProductReviewsConfig;
|
|
280
287
|
exports.UnlimitedBundlesDiscountsConfig = UnlimitedBundlesDiscountsConfig;
|
|
281
288
|
exports.WhatmoreShoppableVideosreelConfig = WhatmoreShoppableVideosreelConfig;
|
|
282
289
|
exports.WishlistKingConfig = WishlistKingConfig;
|
|
@@ -95,6 +95,13 @@ const overrideSettings = (tag, currentSetting, appSetting)=>{
|
|
|
95
95
|
selected_product: appSetting?.['productHandle'] || '{{ product }}'
|
|
96
96
|
};
|
|
97
97
|
}
|
|
98
|
+
case 'TrustshopProductReviews':
|
|
99
|
+
{
|
|
100
|
+
return {
|
|
101
|
+
...currentSetting,
|
|
102
|
+
selected_product: appSetting?.['productHandle'] || '{{ product }}'
|
|
103
|
+
};
|
|
104
|
+
}
|
|
98
105
|
case 'WhatmoreShoppableVideosreel':
|
|
99
106
|
{
|
|
100
107
|
return {
|
|
@@ -771,7 +778,23 @@ const MyappgurusProductReviews = {
|
|
|
771
778
|
star: null
|
|
772
779
|
}
|
|
773
780
|
};
|
|
781
|
+
const HulkProductOptions = {
|
|
782
|
+
HulkProductOptions: {
|
|
783
|
+
option_block: null
|
|
784
|
+
}
|
|
785
|
+
};
|
|
786
|
+
const TrustshopProductReviews = {
|
|
787
|
+
TrustshopProductReviews: {
|
|
788
|
+
'widget-product-rating': {
|
|
789
|
+
selected_product: '{{ product }}'
|
|
790
|
+
},
|
|
791
|
+
'all-reviews': null,
|
|
792
|
+
'widget-box': null,
|
|
793
|
+
'review-testimonial': null
|
|
794
|
+
}
|
|
795
|
+
};
|
|
774
796
|
const composeSettingsByWidgetType = {
|
|
797
|
+
...TrustshopProductReviews,
|
|
775
798
|
...HulkProductOptions,
|
|
776
799
|
...MyappgurusProductReviews,
|
|
777
800
|
...TrustreviewsProductReviews,
|
|
@@ -42,7 +42,8 @@ const mapShopifyAppMeta = {
|
|
|
42
42
|
...appConfig.SeoantTrustBadgesIconConfig,
|
|
43
43
|
...appConfig.TrustreviewsProductReviewsConfig,
|
|
44
44
|
...appConfig.MyappgurusProductReviewsConfig,
|
|
45
|
-
...appConfig.HulkProductOptionsConfig
|
|
45
|
+
...appConfig.HulkProductOptionsConfig,
|
|
46
|
+
...appConfig.TrustshopProductReviewsConfig
|
|
46
47
|
};
|
|
47
48
|
const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
|
|
48
49
|
|
|
@@ -238,5 +238,11 @@ const HulkProductOptionsConfig = {
|
|
|
238
238
|
appId: '380168ef-9475-4244-a291-f66b189208b5'
|
|
239
239
|
}
|
|
240
240
|
};
|
|
241
|
+
const TrustshopProductReviewsConfig = {
|
|
242
|
+
TrustshopProductReviews: {
|
|
243
|
+
appName: 'trustshop-reviews',
|
|
244
|
+
appId: '18b0c4cc-5411-4b6e-922d-34fdc2f30ab9'
|
|
245
|
+
}
|
|
246
|
+
};
|
|
241
247
|
|
|
242
|
-
export { AftershipEmailMarketingsmsConfig, AppointmentBookingCowlendarConfig, BestBuyFulfillmentConfig, BoldSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, EasyBundleBuilderSkailamaConfig, FastBundleBundlesDiscountsConfig, FlyBundlesUpsellsFbtConfig, GloboProductOptionsVariantConfig, GrowaveConfig, HulkProductOptionsConfig, InstasellShoppableInstagramConfig, JunipProductReviewsUgcConfig, KachingBundlesConfig, KiteFreeGiftDiscountConfig, LoloyalLoyaltyReferralsConfig, LoopSubscriptionsConfig, LooxReviewsConfig, MyappgurusProductReviewsConfig, PowerfulContactFormBuilderConfig, PreorderNowPreOrderPqConfig, PreorderNowWodPresaleConfig, ProductOptionsCustomizerConfig, PumperBundlesVolumeDiscountConfig, RechargeSubscriptionsConfig, ReviewxpoProductReviewsAppConfig, SegunoEmailMarketingConfig, SelleasyConfig, SeoantTrustBadgesIconConfig, ShopifyFormsConfig, SimpleBundlesKitsConfig, SkioSubscriptionsYcS20Config, SproutPlantTreesGrowSalesConfig, SubifySubscriptionsConfig, TrustooConfig, TrustreviewsProductReviewsConfig, UnlimitedBundlesDiscountsConfig, WhatmoreShoppableVideosreelConfig, WishlistKingConfig, YotpoReviewsV3UgcConfig };
|
|
248
|
+
export { AftershipEmailMarketingsmsConfig, AppointmentBookingCowlendarConfig, BestBuyFulfillmentConfig, BoldSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, EasyBundleBuilderSkailamaConfig, FastBundleBundlesDiscountsConfig, FlyBundlesUpsellsFbtConfig, GloboProductOptionsVariantConfig, GrowaveConfig, HulkProductOptionsConfig, InstasellShoppableInstagramConfig, JunipProductReviewsUgcConfig, KachingBundlesConfig, KiteFreeGiftDiscountConfig, LoloyalLoyaltyReferralsConfig, LoopSubscriptionsConfig, LooxReviewsConfig, MyappgurusProductReviewsConfig, PowerfulContactFormBuilderConfig, PreorderNowPreOrderPqConfig, PreorderNowWodPresaleConfig, ProductOptionsCustomizerConfig, PumperBundlesVolumeDiscountConfig, RechargeSubscriptionsConfig, ReviewxpoProductReviewsAppConfig, SegunoEmailMarketingConfig, SelleasyConfig, SeoantTrustBadgesIconConfig, ShopifyFormsConfig, SimpleBundlesKitsConfig, SkioSubscriptionsYcS20Config, SproutPlantTreesGrowSalesConfig, SubifySubscriptionsConfig, TrustooConfig, TrustreviewsProductReviewsConfig, TrustshopProductReviewsConfig, UnlimitedBundlesDiscountsConfig, WhatmoreShoppableVideosreelConfig, WishlistKingConfig, YotpoReviewsV3UgcConfig };
|
|
@@ -93,6 +93,13 @@ const overrideSettings = (tag, currentSetting, appSetting)=>{
|
|
|
93
93
|
selected_product: appSetting?.['productHandle'] || '{{ product }}'
|
|
94
94
|
};
|
|
95
95
|
}
|
|
96
|
+
case 'TrustshopProductReviews':
|
|
97
|
+
{
|
|
98
|
+
return {
|
|
99
|
+
...currentSetting,
|
|
100
|
+
selected_product: appSetting?.['productHandle'] || '{{ product }}'
|
|
101
|
+
};
|
|
102
|
+
}
|
|
96
103
|
case 'WhatmoreShoppableVideosreel':
|
|
97
104
|
{
|
|
98
105
|
return {
|
|
@@ -769,7 +776,23 @@ const MyappgurusProductReviews = {
|
|
|
769
776
|
star: null
|
|
770
777
|
}
|
|
771
778
|
};
|
|
779
|
+
const HulkProductOptions = {
|
|
780
|
+
HulkProductOptions: {
|
|
781
|
+
option_block: null
|
|
782
|
+
}
|
|
783
|
+
};
|
|
784
|
+
const TrustshopProductReviews = {
|
|
785
|
+
TrustshopProductReviews: {
|
|
786
|
+
'widget-product-rating': {
|
|
787
|
+
selected_product: '{{ product }}'
|
|
788
|
+
},
|
|
789
|
+
'all-reviews': null,
|
|
790
|
+
'widget-box': null,
|
|
791
|
+
'review-testimonial': null
|
|
792
|
+
}
|
|
793
|
+
};
|
|
772
794
|
const composeSettingsByWidgetType = {
|
|
795
|
+
...TrustshopProductReviews,
|
|
773
796
|
...HulkProductOptions,
|
|
774
797
|
...MyappgurusProductReviews,
|
|
775
798
|
...TrustreviewsProductReviews,
|
|
@@ -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, TrustreviewsProductReviewsConfig, MyappgurusProductReviewsConfig, HulkProductOptionsConfig } 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, TrustreviewsProductReviewsConfig, MyappgurusProductReviewsConfig, HulkProductOptionsConfig, TrustshopProductReviewsConfig } from './appConfig.js';
|
|
2
2
|
|
|
3
3
|
const mapShopifyAppMeta = {
|
|
4
4
|
...RechargeSubscriptionsConfig,
|
|
@@ -40,7 +40,8 @@ const mapShopifyAppMeta = {
|
|
|
40
40
|
...SeoantTrustBadgesIconConfig,
|
|
41
41
|
...TrustreviewsProductReviewsConfig,
|
|
42
42
|
...MyappgurusProductReviewsConfig,
|
|
43
|
-
...HulkProductOptionsConfig
|
|
43
|
+
...HulkProductOptionsConfig,
|
|
44
|
+
...TrustshopProductReviewsConfig
|
|
44
45
|
};
|
|
45
46
|
const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
|
|
46
47
|
|