@gem-sdk/core 1.57.10-staging.2 → 1.57.10-staging.4
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 +21 -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 +21 -0
- package/dist/esm/helpers/third-party/constant.js +4 -2
- package/package.json +2 -2
|
@@ -162,6 +162,18 @@ 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
|
+
};
|
|
165
177
|
|
|
166
178
|
exports.AppointmentBookingCowlendarConfig = AppointmentBookingCowlendarConfig;
|
|
167
179
|
exports.BoldSubscriptionsConfig = BoldSubscriptionsConfig;
|
|
@@ -175,6 +187,7 @@ exports.JunipProductReviewsUgcConfig = JunipProductReviewsUgcConfig;
|
|
|
175
187
|
exports.KiteFreeGiftDiscountConfig = KiteFreeGiftDiscountConfig;
|
|
176
188
|
exports.LoloyalLoyaltyReferralsConfig = LoloyalLoyaltyReferralsConfig;
|
|
177
189
|
exports.LoopSubscriptionsConfig = LoopSubscriptionsConfig;
|
|
190
|
+
exports.PowerfulContactFormBuilderConfig = PowerfulContactFormBuilderConfig;
|
|
178
191
|
exports.PreorderNowPreOrderPqConfig = PreorderNowPreOrderPqConfig;
|
|
179
192
|
exports.PreorderNowWodPresaleConfig = PreorderNowWodPresaleConfig;
|
|
180
193
|
exports.ProductOptionsCustomizerConfig = ProductOptionsCustomizerConfig;
|
|
@@ -189,4 +202,5 @@ exports.SproutPlantTreesGrowSalesConfig = SproutPlantTreesGrowSalesConfig;
|
|
|
189
202
|
exports.SubifySubscriptionsConfig = SubifySubscriptionsConfig;
|
|
190
203
|
exports.UnlimitedBundlesDiscountsConfig = UnlimitedBundlesDiscountsConfig;
|
|
191
204
|
exports.WhatmoreShoppableVideosreelConfig = WhatmoreShoppableVideosreelConfig;
|
|
205
|
+
exports.WishlistKingConfig = WishlistKingConfig;
|
|
192
206
|
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,22 @@ 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
|
+
};
|
|
415
434
|
const composeSettingsByWidgetType = {
|
|
435
|
+
...WishlistKing,
|
|
416
436
|
...LoloyalLoyaltyReferrals,
|
|
437
|
+
...PowerfulContactFormBuilder,
|
|
417
438
|
...InstasellShoppableInstagram,
|
|
418
439
|
...SproutPlantTreesGrowSales,
|
|
419
440
|
...AppointmentBookingCowlendar,
|
|
@@ -29,7 +29,9 @@ 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
|
|
33
35
|
};
|
|
34
36
|
const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
|
|
35
37
|
|
|
@@ -160,5 +160,17 @@ 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
|
+
};
|
|
163
175
|
|
|
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 };
|
|
176
|
+
export { AppointmentBookingCowlendarConfig, BoldSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, EasyBundleBuilderSkailamaConfig, FastBundleBundlesDiscountsConfig, FlyBundlesUpsellsFbtConfig, 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,22 @@ 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
|
+
};
|
|
413
432
|
const composeSettingsByWidgetType = {
|
|
433
|
+
...WishlistKing,
|
|
414
434
|
...LoloyalLoyaltyReferrals,
|
|
435
|
+
...PowerfulContactFormBuilder,
|
|
415
436
|
...InstasellShoppableInstagram,
|
|
416
437
|
...SproutPlantTreesGrowSales,
|
|
417
438
|
...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 } from './appConfig.js';
|
|
2
2
|
|
|
3
3
|
const mapShopifyAppMeta = {
|
|
4
4
|
...RechargeSubscriptionsConfig,
|
|
@@ -27,7 +27,9 @@ const mapShopifyAppMeta = {
|
|
|
27
27
|
...SproutPlantTreesGrowSalesConfig,
|
|
28
28
|
...InstasellShoppableInstagramConfig,
|
|
29
29
|
...GrowaveConfig,
|
|
30
|
-
...LoloyalLoyaltyReferralsConfig
|
|
30
|
+
...LoloyalLoyaltyReferralsConfig,
|
|
31
|
+
...PowerfulContactFormBuilderConfig,
|
|
32
|
+
...WishlistKingConfig
|
|
31
33
|
};
|
|
32
34
|
const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
|
|
33
35
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gem-sdk/core",
|
|
3
|
-
"version": "1.57.10-staging.
|
|
3
|
+
"version": "1.57.10-staging.4",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@gem-sdk/adapter-shopify": "1.57.10-staging.0",
|
|
31
|
-
"@gem-sdk/styles": "1.57.10-staging.
|
|
31
|
+
"@gem-sdk/styles": "1.57.10-staging.3",
|
|
32
32
|
"@types/classnames": "^2.3.1"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|