@gem-sdk/core 1.50.0-staging.23 → 1.50.0-staging.34
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/dist/types/index.d.ts +3 -0
- package/package.json +1 -1
|
@@ -90,10 +90,17 @@ const PreorderNowPreOrderPqConfig = {
|
|
|
90
90
|
appId: '551fab2c-3af6-4a8f-ba21-736a71cb4540'
|
|
91
91
|
}
|
|
92
92
|
};
|
|
93
|
+
const FlyBundlesUpsellsFbtConfig = {
|
|
94
|
+
FlyBundlesUpsellsFbt: {
|
|
95
|
+
appName: 'fly-bundles-upsell',
|
|
96
|
+
appId: '26807bdc-c2ed-4a25-afb2-06e6b1ebf843'
|
|
97
|
+
}
|
|
98
|
+
};
|
|
93
99
|
|
|
94
100
|
exports.BonLoyaltyRewardsReferralsConfig = BonLoyaltyRewardsReferralsConfig;
|
|
95
101
|
exports.EasyBundleBuilderSkailamaConfig = EasyBundleBuilderSkailamaConfig;
|
|
96
102
|
exports.FastBundleBundlesDiscountsConfig = FastBundleBundlesDiscountsConfig;
|
|
103
|
+
exports.FlyBundlesUpsellsFbtConfig = FlyBundlesUpsellsFbtConfig;
|
|
97
104
|
exports.KiteFreeGiftDiscountConfig = KiteFreeGiftDiscountConfig;
|
|
98
105
|
exports.LoopSubscriptionsConfig = LoopSubscriptionsConfig;
|
|
99
106
|
exports.PreorderNowPreOrderPqConfig = PreorderNowPreOrderPqConfig;
|
|
@@ -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
|
}
|
|
@@ -142,7 +149,18 @@ const PreorderNowPreOrderPq = {
|
|
|
142
149
|
'app-block': null
|
|
143
150
|
}
|
|
144
151
|
};
|
|
152
|
+
const FlyBundlesUpsellsFbt = {
|
|
153
|
+
FlyBundlesUpsellsFbt: {
|
|
154
|
+
'app-block-volume': null,
|
|
155
|
+
'app-block-upsell-block': null,
|
|
156
|
+
'app-block-fbt': null,
|
|
157
|
+
'app-block-custom': {
|
|
158
|
+
bundle_id: ''
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
};
|
|
145
162
|
const composeSettingsByWidgetType = {
|
|
163
|
+
...FlyBundlesUpsellsFbt,
|
|
146
164
|
...PreorderNowPreOrderPq,
|
|
147
165
|
...EasyBundleBuilderSkailama,
|
|
148
166
|
...FastBundleBundlesDiscounts,
|
|
@@ -17,7 +17,8 @@ const mapShopifyAppMeta = {
|
|
|
17
17
|
...appConfig.FastBundleBundlesDiscountsConfig,
|
|
18
18
|
...appConfig.SimpleBundlesKitsConfig,
|
|
19
19
|
...appConfig.EasyBundleBuilderSkailamaConfig,
|
|
20
|
-
...appConfig.PreorderNowPreOrderPqConfig
|
|
20
|
+
...appConfig.PreorderNowPreOrderPqConfig,
|
|
21
|
+
...appConfig.FlyBundlesUpsellsFbtConfig
|
|
21
22
|
};
|
|
22
23
|
const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
|
|
23
24
|
|
|
@@ -88,5 +88,11 @@ const PreorderNowPreOrderPqConfig = {
|
|
|
88
88
|
appId: '551fab2c-3af6-4a8f-ba21-736a71cb4540'
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
|
+
const FlyBundlesUpsellsFbtConfig = {
|
|
92
|
+
FlyBundlesUpsellsFbt: {
|
|
93
|
+
appName: 'fly-bundles-upsell',
|
|
94
|
+
appId: '26807bdc-c2ed-4a25-afb2-06e6b1ebf843'
|
|
95
|
+
}
|
|
96
|
+
};
|
|
91
97
|
|
|
92
|
-
export { BonLoyaltyRewardsReferralsConfig, EasyBundleBuilderSkailamaConfig, FastBundleBundlesDiscountsConfig, KiteFreeGiftDiscountConfig, LoopSubscriptionsConfig, PreorderNowPreOrderPqConfig, PumperBundlesVolumeDiscountConfig, RechargeSubscriptionsConfig, ReviewxpoProductReviewsAppConfig, SelleasyConfig, ShopifyFormsConfig, SimpleBundlesKitsConfig, SkioSubscriptionsYcS20Config, SubifySubscriptionsConfig, UnlimitedBundlesDiscountsConfig };
|
|
98
|
+
export { BonLoyaltyRewardsReferralsConfig, EasyBundleBuilderSkailamaConfig, FastBundleBundlesDiscountsConfig, FlyBundlesUpsellsFbtConfig, 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
|
}
|
|
@@ -140,7 +147,18 @@ const PreorderNowPreOrderPq = {
|
|
|
140
147
|
'app-block': null
|
|
141
148
|
}
|
|
142
149
|
};
|
|
150
|
+
const FlyBundlesUpsellsFbt = {
|
|
151
|
+
FlyBundlesUpsellsFbt: {
|
|
152
|
+
'app-block-volume': null,
|
|
153
|
+
'app-block-upsell-block': null,
|
|
154
|
+
'app-block-fbt': null,
|
|
155
|
+
'app-block-custom': {
|
|
156
|
+
bundle_id: ''
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
};
|
|
143
160
|
const composeSettingsByWidgetType = {
|
|
161
|
+
...FlyBundlesUpsellsFbt,
|
|
144
162
|
...PreorderNowPreOrderPq,
|
|
145
163
|
...EasyBundleBuilderSkailama,
|
|
146
164
|
...FastBundleBundlesDiscounts,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RechargeSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, SubifySubscriptionsConfig, SelleasyConfig, LoopSubscriptionsConfig, SkioSubscriptionsYcS20Config, ShopifyFormsConfig, ReviewxpoProductReviewsAppConfig, PumperBundlesVolumeDiscountConfig, UnlimitedBundlesDiscountsConfig, KiteFreeGiftDiscountConfig, FastBundleBundlesDiscountsConfig, SimpleBundlesKitsConfig, EasyBundleBuilderSkailamaConfig, PreorderNowPreOrderPqConfig } from './appConfig.js';
|
|
1
|
+
import { RechargeSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, SubifySubscriptionsConfig, SelleasyConfig, LoopSubscriptionsConfig, SkioSubscriptionsYcS20Config, ShopifyFormsConfig, ReviewxpoProductReviewsAppConfig, PumperBundlesVolumeDiscountConfig, UnlimitedBundlesDiscountsConfig, KiteFreeGiftDiscountConfig, FastBundleBundlesDiscountsConfig, SimpleBundlesKitsConfig, EasyBundleBuilderSkailamaConfig, PreorderNowPreOrderPqConfig, FlyBundlesUpsellsFbtConfig } from './appConfig.js';
|
|
2
2
|
|
|
3
3
|
const mapShopifyAppMeta = {
|
|
4
4
|
...RechargeSubscriptionsConfig,
|
|
@@ -15,7 +15,8 @@ const mapShopifyAppMeta = {
|
|
|
15
15
|
...FastBundleBundlesDiscountsConfig,
|
|
16
16
|
...SimpleBundlesKitsConfig,
|
|
17
17
|
...EasyBundleBuilderSkailamaConfig,
|
|
18
|
-
...PreorderNowPreOrderPqConfig
|
|
18
|
+
...PreorderNowPreOrderPqConfig,
|
|
19
|
+
...FlyBundlesUpsellsFbtConfig
|
|
19
20
|
};
|
|
20
21
|
const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
|
|
21
22
|
|
package/dist/types/index.d.ts
CHANGED
|
@@ -7389,6 +7389,7 @@ type TextareaControlType<T> = SharedControlType<T> & {
|
|
|
7389
7389
|
placeholder?: string;
|
|
7390
7390
|
readonly?: boolean;
|
|
7391
7391
|
minHeight?: number;
|
|
7392
|
+
maxHeight?: number;
|
|
7392
7393
|
maxWidth?: number;
|
|
7393
7394
|
inputClass?: string;
|
|
7394
7395
|
autoHeight?: boolean;
|
|
@@ -7399,6 +7400,7 @@ type TextareaControlType<T> = SharedControlType<T> & {
|
|
|
7399
7400
|
eg?: string;
|
|
7400
7401
|
isStrike?: boolean;
|
|
7401
7402
|
hiddenOn?: 'singleProduct' | 'multiProduct';
|
|
7403
|
+
tooltip?: string;
|
|
7402
7404
|
}[];
|
|
7403
7405
|
};
|
|
7404
7406
|
|
|
@@ -8185,6 +8187,7 @@ type ComponentSetting<P extends BaseProps> = {
|
|
|
8185
8187
|
placeholder?: {
|
|
8186
8188
|
notAppendBeforeAfter?: boolean;
|
|
8187
8189
|
flowTag?: string[];
|
|
8190
|
+
flowTagMessage?: string[];
|
|
8188
8191
|
flowPage?: string;
|
|
8189
8192
|
notAppendTags?: string[];
|
|
8190
8193
|
notAppendLeftRight?: boolean;
|