@gem-sdk/core 1.48.0-dev.55 → 1.48.0-dev.59
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 +18 -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 +18 -0
- package/dist/esm/helpers/third-party/constant.js +3 -2
- package/package.json +1 -1
|
@@ -102,11 +102,18 @@ const KPreorderNowPartialPaymentConfig = {
|
|
|
102
102
|
appId: '65705a60-a3b0-43ae-9dc8-15db78d76b3b'
|
|
103
103
|
}
|
|
104
104
|
};
|
|
105
|
+
const FlyBundlesUpsellsFbtConfig = {
|
|
106
|
+
FlyBundlesUpsellsFbt: {
|
|
107
|
+
appName: 'fly-bundles-upsell',
|
|
108
|
+
appId: '26807bdc-c2ed-4a25-afb2-06e6b1ebf843'
|
|
109
|
+
}
|
|
110
|
+
};
|
|
105
111
|
|
|
106
112
|
exports.AssortionUpsellBundlesConfig = AssortionUpsellBundlesConfig;
|
|
107
113
|
exports.BonLoyaltyRewardsReferralsConfig = BonLoyaltyRewardsReferralsConfig;
|
|
108
114
|
exports.EasyBundleBuilderSkailamaConfig = EasyBundleBuilderSkailamaConfig;
|
|
109
115
|
exports.FastBundleBundlesDiscountsConfig = FastBundleBundlesDiscountsConfig;
|
|
116
|
+
exports.FlyBundlesUpsellsFbtConfig = FlyBundlesUpsellsFbtConfig;
|
|
110
117
|
exports.KPreorderNowPartialPaymentConfig = KPreorderNowPartialPaymentConfig;
|
|
111
118
|
exports.KiteFreeGiftDiscountConfig = KiteFreeGiftDiscountConfig;
|
|
112
119
|
exports.LoopSubscriptionsConfig = LoopSubscriptionsConfig;
|
|
@@ -81,6 +81,13 @@ const overrideSettings = (tag, currentSetting, appSetting)=>{
|
|
|
81
81
|
...currentSetting,
|
|
82
82
|
form_id: appSetting['formId']
|
|
83
83
|
};
|
|
84
|
+
case 'FlyBundlesUpsellsFbt':
|
|
85
|
+
{
|
|
86
|
+
return {
|
|
87
|
+
...currentSetting,
|
|
88
|
+
bundle_id: appSetting?.['customBundleId']
|
|
89
|
+
};
|
|
90
|
+
}
|
|
84
91
|
default:
|
|
85
92
|
return currentSetting;
|
|
86
93
|
}
|
|
@@ -154,7 +161,18 @@ const KPreorderNowPartialPayment = {
|
|
|
154
161
|
'kaktus-bundle': null
|
|
155
162
|
}
|
|
156
163
|
};
|
|
164
|
+
const FlyBundlesUpsellsFbt = {
|
|
165
|
+
FlyBundlesUpsellsFbt: {
|
|
166
|
+
'app-block-volume': null,
|
|
167
|
+
'app-block-upsell-block': null,
|
|
168
|
+
'app-block-fbt': null,
|
|
169
|
+
'app-block-custom': {
|
|
170
|
+
bundle_id: ''
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
};
|
|
157
174
|
const composeSettingsByWidgetType = {
|
|
175
|
+
...FlyBundlesUpsellsFbt,
|
|
158
176
|
...KPreorderNowPartialPayment,
|
|
159
177
|
...PreorderNowPreOrderPq,
|
|
160
178
|
...AssortionUpsellBundles,
|
|
@@ -19,7 +19,8 @@ const mapShopifyAppMeta = {
|
|
|
19
19
|
...appConfig.EasyBundleBuilderSkailamaConfig,
|
|
20
20
|
...appConfig.AssortionUpsellBundlesConfig,
|
|
21
21
|
...appConfig.PreorderNowPreOrderPqConfig,
|
|
22
|
-
...appConfig.KPreorderNowPartialPaymentConfig
|
|
22
|
+
...appConfig.KPreorderNowPartialPaymentConfig,
|
|
23
|
+
...appConfig.FlyBundlesUpsellsFbtConfig
|
|
23
24
|
};
|
|
24
25
|
const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
|
|
25
26
|
|
|
@@ -100,5 +100,11 @@ const KPreorderNowPartialPaymentConfig = {
|
|
|
100
100
|
appId: '65705a60-a3b0-43ae-9dc8-15db78d76b3b'
|
|
101
101
|
}
|
|
102
102
|
};
|
|
103
|
+
const FlyBundlesUpsellsFbtConfig = {
|
|
104
|
+
FlyBundlesUpsellsFbt: {
|
|
105
|
+
appName: 'fly-bundles-upsell',
|
|
106
|
+
appId: '26807bdc-c2ed-4a25-afb2-06e6b1ebf843'
|
|
107
|
+
}
|
|
108
|
+
};
|
|
103
109
|
|
|
104
|
-
export { AssortionUpsellBundlesConfig, BonLoyaltyRewardsReferralsConfig, EasyBundleBuilderSkailamaConfig, FastBundleBundlesDiscountsConfig, KPreorderNowPartialPaymentConfig, KiteFreeGiftDiscountConfig, LoopSubscriptionsConfig, PreorderNowPreOrderPqConfig, PumperBundlesVolumeDiscountConfig, RechargeSubscriptionsConfig, ReviewxpoProductReviewsAppConfig, SelleasyConfig, ShopifyFormsConfig, SimpleBundlesKitsConfig, SkioSubscriptionsYcS20Config, SubifySubscriptionsConfig, UnlimitedBundlesDiscountsConfig };
|
|
110
|
+
export { AssortionUpsellBundlesConfig, BonLoyaltyRewardsReferralsConfig, EasyBundleBuilderSkailamaConfig, FastBundleBundlesDiscountsConfig, FlyBundlesUpsellsFbtConfig, KPreorderNowPartialPaymentConfig, KiteFreeGiftDiscountConfig, LoopSubscriptionsConfig, PreorderNowPreOrderPqConfig, PumperBundlesVolumeDiscountConfig, RechargeSubscriptionsConfig, ReviewxpoProductReviewsAppConfig, SelleasyConfig, ShopifyFormsConfig, SimpleBundlesKitsConfig, SkioSubscriptionsYcS20Config, SubifySubscriptionsConfig, UnlimitedBundlesDiscountsConfig };
|
|
@@ -79,6 +79,13 @@ const overrideSettings = (tag, currentSetting, appSetting)=>{
|
|
|
79
79
|
...currentSetting,
|
|
80
80
|
form_id: appSetting['formId']
|
|
81
81
|
};
|
|
82
|
+
case 'FlyBundlesUpsellsFbt':
|
|
83
|
+
{
|
|
84
|
+
return {
|
|
85
|
+
...currentSetting,
|
|
86
|
+
bundle_id: appSetting?.['customBundleId']
|
|
87
|
+
};
|
|
88
|
+
}
|
|
82
89
|
default:
|
|
83
90
|
return currentSetting;
|
|
84
91
|
}
|
|
@@ -152,7 +159,18 @@ const KPreorderNowPartialPayment = {
|
|
|
152
159
|
'kaktus-bundle': null
|
|
153
160
|
}
|
|
154
161
|
};
|
|
162
|
+
const FlyBundlesUpsellsFbt = {
|
|
163
|
+
FlyBundlesUpsellsFbt: {
|
|
164
|
+
'app-block-volume': null,
|
|
165
|
+
'app-block-upsell-block': null,
|
|
166
|
+
'app-block-fbt': null,
|
|
167
|
+
'app-block-custom': {
|
|
168
|
+
bundle_id: ''
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
};
|
|
155
172
|
const composeSettingsByWidgetType = {
|
|
173
|
+
...FlyBundlesUpsellsFbt,
|
|
156
174
|
...KPreorderNowPartialPayment,
|
|
157
175
|
...PreorderNowPreOrderPq,
|
|
158
176
|
...AssortionUpsellBundles,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RechargeSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, SubifySubscriptionsConfig, SelleasyConfig, LoopSubscriptionsConfig, SkioSubscriptionsYcS20Config, ShopifyFormsConfig, ReviewxpoProductReviewsAppConfig, PumperBundlesVolumeDiscountConfig, UnlimitedBundlesDiscountsConfig, KiteFreeGiftDiscountConfig, FastBundleBundlesDiscountsConfig, SimpleBundlesKitsConfig, EasyBundleBuilderSkailamaConfig, AssortionUpsellBundlesConfig, PreorderNowPreOrderPqConfig, KPreorderNowPartialPaymentConfig } from './appConfig.js';
|
|
1
|
+
import { RechargeSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, SubifySubscriptionsConfig, SelleasyConfig, LoopSubscriptionsConfig, SkioSubscriptionsYcS20Config, ShopifyFormsConfig, ReviewxpoProductReviewsAppConfig, PumperBundlesVolumeDiscountConfig, UnlimitedBundlesDiscountsConfig, KiteFreeGiftDiscountConfig, FastBundleBundlesDiscountsConfig, SimpleBundlesKitsConfig, EasyBundleBuilderSkailamaConfig, AssortionUpsellBundlesConfig, PreorderNowPreOrderPqConfig, KPreorderNowPartialPaymentConfig, FlyBundlesUpsellsFbtConfig } from './appConfig.js';
|
|
2
2
|
|
|
3
3
|
const mapShopifyAppMeta = {
|
|
4
4
|
...RechargeSubscriptionsConfig,
|
|
@@ -17,7 +17,8 @@ const mapShopifyAppMeta = {
|
|
|
17
17
|
...EasyBundleBuilderSkailamaConfig,
|
|
18
18
|
...AssortionUpsellBundlesConfig,
|
|
19
19
|
...PreorderNowPreOrderPqConfig,
|
|
20
|
-
...KPreorderNowPartialPaymentConfig
|
|
20
|
+
...KPreorderNowPartialPaymentConfig,
|
|
21
|
+
...FlyBundlesUpsellsFbtConfig
|
|
21
22
|
};
|
|
22
23
|
const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
|
|
23
24
|
|