@gem-sdk/core 1.48.0-staging.4 → 1.48.0-staging.5
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 +35 -0
- package/dist/cjs/helpers/third-party/appSetting.js +37 -0
- package/dist/cjs/helpers/third-party/constant.js +6 -1
- package/dist/esm/helpers/third-party/appConfig.js +31 -1
- package/dist/esm/helpers/third-party/appSetting.js +37 -0
- package/dist/esm/helpers/third-party/constant.js +7 -2
- package/package.json +1 -1
|
@@ -48,12 +48,47 @@ const ReviewxpoProductReviewsAppConfig = {
|
|
|
48
48
|
appId: '3e3d94fa-8b53-4134-942c-f7662dc9282f'
|
|
49
49
|
}
|
|
50
50
|
};
|
|
51
|
+
const PumperBundlesVolumeDiscountConfig = {
|
|
52
|
+
PumperBundlesVolumeDiscount: {
|
|
53
|
+
appName: 'Pumper Bundles Volume Discount',
|
|
54
|
+
appId: '0856870d-2aca-4b1e-a662-cf1797f61270'
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
const UnlimitedBundlesDiscountsConfig = {
|
|
58
|
+
UnlimitedBundlesDiscounts: {
|
|
59
|
+
appName: 'unlimited-bundles',
|
|
60
|
+
appId: 'd33d0f48-dee0-42a0-b156-2a5dce91814a'
|
|
61
|
+
}
|
|
62
|
+
};
|
|
63
|
+
const KiteFreeGiftDiscountConfig = {
|
|
64
|
+
KiteFreeGiftDiscount: {
|
|
65
|
+
appName: 'kite-free-gift-discounts',
|
|
66
|
+
appId: '2c7302c4-455d-4078-a829-48563ba26089'
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
const FastBundleBundlesDiscountsConfig = {
|
|
70
|
+
FastBundleBundlesDiscounts: {
|
|
71
|
+
appName: 'fast-bundle',
|
|
72
|
+
appId: '9e87fbe2-9041-4c23-acf5-322413994cef'
|
|
73
|
+
}
|
|
74
|
+
};
|
|
75
|
+
const SimpleBundlesKitsConfig = {
|
|
76
|
+
SimpleBundlesKits: {
|
|
77
|
+
appName: 'simple-bundles-kits',
|
|
78
|
+
appId: 'e553276b-36b2-446d-b80a-aa47fe5f96ac'
|
|
79
|
+
}
|
|
80
|
+
};
|
|
51
81
|
|
|
52
82
|
exports.BonLoyaltyRewardsReferralsConfig = BonLoyaltyRewardsReferralsConfig;
|
|
83
|
+
exports.FastBundleBundlesDiscountsConfig = FastBundleBundlesDiscountsConfig;
|
|
84
|
+
exports.KiteFreeGiftDiscountConfig = KiteFreeGiftDiscountConfig;
|
|
53
85
|
exports.LoopSubscriptionsConfig = LoopSubscriptionsConfig;
|
|
86
|
+
exports.PumperBundlesVolumeDiscountConfig = PumperBundlesVolumeDiscountConfig;
|
|
54
87
|
exports.RechargeSubscriptionsConfig = RechargeSubscriptionsConfig;
|
|
55
88
|
exports.ReviewxpoProductReviewsAppConfig = ReviewxpoProductReviewsAppConfig;
|
|
56
89
|
exports.SelleasyConfig = SelleasyConfig;
|
|
57
90
|
exports.ShopifyFormsConfig = ShopifyFormsConfig;
|
|
91
|
+
exports.SimpleBundlesKitsConfig = SimpleBundlesKitsConfig;
|
|
58
92
|
exports.SkioSubscriptionsYcS20Config = SkioSubscriptionsYcS20Config;
|
|
59
93
|
exports.SubifySubscriptionsConfig = SubifySubscriptionsConfig;
|
|
94
|
+
exports.UnlimitedBundlesDiscountsConfig = UnlimitedBundlesDiscountsConfig;
|
|
@@ -97,7 +97,44 @@ const ReviewxpoProductReviewsApp = {
|
|
|
97
97
|
'revews-widget': null
|
|
98
98
|
}
|
|
99
99
|
};
|
|
100
|
+
const PumperBundlesVolumeDiscount = {
|
|
101
|
+
PumperBundlesVolumeDiscount: {
|
|
102
|
+
'app-block': {
|
|
103
|
+
selected_product: '{{product}}',
|
|
104
|
+
using_page_builder: false
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
};
|
|
108
|
+
const UnlimitedBundlesDiscounts = {
|
|
109
|
+
UnlimitedBundlesDiscounts: {
|
|
110
|
+
'product-page-placeholder': null
|
|
111
|
+
}
|
|
112
|
+
};
|
|
113
|
+
const KiteFreeGiftDiscount = {
|
|
114
|
+
KiteFreeGiftDiscount: {
|
|
115
|
+
'app-block': null
|
|
116
|
+
}
|
|
117
|
+
};
|
|
118
|
+
const FastBundleBundlesDiscounts = {
|
|
119
|
+
FastBundleBundlesDiscounts: {
|
|
120
|
+
all_bundles: null,
|
|
121
|
+
fbt_position: null,
|
|
122
|
+
product_bundles: null,
|
|
123
|
+
product_bundle_with_ids: null,
|
|
124
|
+
volume_position: null
|
|
125
|
+
}
|
|
126
|
+
};
|
|
127
|
+
const SimpleBundlesKits = {
|
|
128
|
+
SimpleBundlesKits: {
|
|
129
|
+
'infinite-options-selector': null
|
|
130
|
+
}
|
|
131
|
+
};
|
|
100
132
|
const composeSettingsByWidgetType = {
|
|
133
|
+
...FastBundleBundlesDiscounts,
|
|
134
|
+
...KiteFreeGiftDiscount,
|
|
135
|
+
...UnlimitedBundlesDiscounts,
|
|
136
|
+
...SimpleBundlesKits,
|
|
137
|
+
...PumperBundlesVolumeDiscount,
|
|
101
138
|
...ReviewxpoProductReviewsApp,
|
|
102
139
|
...ShopifyForms,
|
|
103
140
|
...SkioSubscriptionsYcS20,
|
|
@@ -10,7 +10,12 @@ const mapShopifyAppMeta = {
|
|
|
10
10
|
...appConfig.LoopSubscriptionsConfig,
|
|
11
11
|
...appConfig.SkioSubscriptionsYcS20Config,
|
|
12
12
|
...appConfig.ShopifyFormsConfig,
|
|
13
|
-
...appConfig.ReviewxpoProductReviewsAppConfig
|
|
13
|
+
...appConfig.ReviewxpoProductReviewsAppConfig,
|
|
14
|
+
...appConfig.PumperBundlesVolumeDiscountConfig,
|
|
15
|
+
...appConfig.UnlimitedBundlesDiscountsConfig,
|
|
16
|
+
...appConfig.KiteFreeGiftDiscountConfig,
|
|
17
|
+
...appConfig.FastBundleBundlesDiscountsConfig,
|
|
18
|
+
...appConfig.SimpleBundlesKitsConfig
|
|
14
19
|
};
|
|
15
20
|
const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
|
|
16
21
|
|
|
@@ -46,5 +46,35 @@ const ReviewxpoProductReviewsAppConfig = {
|
|
|
46
46
|
appId: '3e3d94fa-8b53-4134-942c-f7662dc9282f'
|
|
47
47
|
}
|
|
48
48
|
};
|
|
49
|
+
const PumperBundlesVolumeDiscountConfig = {
|
|
50
|
+
PumperBundlesVolumeDiscount: {
|
|
51
|
+
appName: 'Pumper Bundles Volume Discount',
|
|
52
|
+
appId: '0856870d-2aca-4b1e-a662-cf1797f61270'
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
const UnlimitedBundlesDiscountsConfig = {
|
|
56
|
+
UnlimitedBundlesDiscounts: {
|
|
57
|
+
appName: 'unlimited-bundles',
|
|
58
|
+
appId: 'd33d0f48-dee0-42a0-b156-2a5dce91814a'
|
|
59
|
+
}
|
|
60
|
+
};
|
|
61
|
+
const KiteFreeGiftDiscountConfig = {
|
|
62
|
+
KiteFreeGiftDiscount: {
|
|
63
|
+
appName: 'kite-free-gift-discounts',
|
|
64
|
+
appId: '2c7302c4-455d-4078-a829-48563ba26089'
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
const FastBundleBundlesDiscountsConfig = {
|
|
68
|
+
FastBundleBundlesDiscounts: {
|
|
69
|
+
appName: 'fast-bundle',
|
|
70
|
+
appId: '9e87fbe2-9041-4c23-acf5-322413994cef'
|
|
71
|
+
}
|
|
72
|
+
};
|
|
73
|
+
const SimpleBundlesKitsConfig = {
|
|
74
|
+
SimpleBundlesKits: {
|
|
75
|
+
appName: 'simple-bundles-kits',
|
|
76
|
+
appId: 'e553276b-36b2-446d-b80a-aa47fe5f96ac'
|
|
77
|
+
}
|
|
78
|
+
};
|
|
49
79
|
|
|
50
|
-
export { BonLoyaltyRewardsReferralsConfig, LoopSubscriptionsConfig, RechargeSubscriptionsConfig, ReviewxpoProductReviewsAppConfig, SelleasyConfig, ShopifyFormsConfig, SkioSubscriptionsYcS20Config, SubifySubscriptionsConfig };
|
|
80
|
+
export { BonLoyaltyRewardsReferralsConfig, FastBundleBundlesDiscountsConfig, KiteFreeGiftDiscountConfig, LoopSubscriptionsConfig, PumperBundlesVolumeDiscountConfig, RechargeSubscriptionsConfig, ReviewxpoProductReviewsAppConfig, SelleasyConfig, ShopifyFormsConfig, SimpleBundlesKitsConfig, SkioSubscriptionsYcS20Config, SubifySubscriptionsConfig, UnlimitedBundlesDiscountsConfig };
|
|
@@ -95,7 +95,44 @@ const ReviewxpoProductReviewsApp = {
|
|
|
95
95
|
'revews-widget': null
|
|
96
96
|
}
|
|
97
97
|
};
|
|
98
|
+
const PumperBundlesVolumeDiscount = {
|
|
99
|
+
PumperBundlesVolumeDiscount: {
|
|
100
|
+
'app-block': {
|
|
101
|
+
selected_product: '{{product}}',
|
|
102
|
+
using_page_builder: false
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
};
|
|
106
|
+
const UnlimitedBundlesDiscounts = {
|
|
107
|
+
UnlimitedBundlesDiscounts: {
|
|
108
|
+
'product-page-placeholder': null
|
|
109
|
+
}
|
|
110
|
+
};
|
|
111
|
+
const KiteFreeGiftDiscount = {
|
|
112
|
+
KiteFreeGiftDiscount: {
|
|
113
|
+
'app-block': null
|
|
114
|
+
}
|
|
115
|
+
};
|
|
116
|
+
const FastBundleBundlesDiscounts = {
|
|
117
|
+
FastBundleBundlesDiscounts: {
|
|
118
|
+
all_bundles: null,
|
|
119
|
+
fbt_position: null,
|
|
120
|
+
product_bundles: null,
|
|
121
|
+
product_bundle_with_ids: null,
|
|
122
|
+
volume_position: null
|
|
123
|
+
}
|
|
124
|
+
};
|
|
125
|
+
const SimpleBundlesKits = {
|
|
126
|
+
SimpleBundlesKits: {
|
|
127
|
+
'infinite-options-selector': null
|
|
128
|
+
}
|
|
129
|
+
};
|
|
98
130
|
const composeSettingsByWidgetType = {
|
|
131
|
+
...FastBundleBundlesDiscounts,
|
|
132
|
+
...KiteFreeGiftDiscount,
|
|
133
|
+
...UnlimitedBundlesDiscounts,
|
|
134
|
+
...SimpleBundlesKits,
|
|
135
|
+
...PumperBundlesVolumeDiscount,
|
|
99
136
|
...ReviewxpoProductReviewsApp,
|
|
100
137
|
...ShopifyForms,
|
|
101
138
|
...SkioSubscriptionsYcS20,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RechargeSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, SubifySubscriptionsConfig, SelleasyConfig, LoopSubscriptionsConfig, SkioSubscriptionsYcS20Config, ShopifyFormsConfig, ReviewxpoProductReviewsAppConfig } from './appConfig.js';
|
|
1
|
+
import { RechargeSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, SubifySubscriptionsConfig, SelleasyConfig, LoopSubscriptionsConfig, SkioSubscriptionsYcS20Config, ShopifyFormsConfig, ReviewxpoProductReviewsAppConfig, PumperBundlesVolumeDiscountConfig, UnlimitedBundlesDiscountsConfig, KiteFreeGiftDiscountConfig, FastBundleBundlesDiscountsConfig, SimpleBundlesKitsConfig } from './appConfig.js';
|
|
2
2
|
|
|
3
3
|
const mapShopifyAppMeta = {
|
|
4
4
|
...RechargeSubscriptionsConfig,
|
|
@@ -8,7 +8,12 @@ const mapShopifyAppMeta = {
|
|
|
8
8
|
...LoopSubscriptionsConfig,
|
|
9
9
|
...SkioSubscriptionsYcS20Config,
|
|
10
10
|
...ShopifyFormsConfig,
|
|
11
|
-
...ReviewxpoProductReviewsAppConfig
|
|
11
|
+
...ReviewxpoProductReviewsAppConfig,
|
|
12
|
+
...PumperBundlesVolumeDiscountConfig,
|
|
13
|
+
...UnlimitedBundlesDiscountsConfig,
|
|
14
|
+
...KiteFreeGiftDiscountConfig,
|
|
15
|
+
...FastBundleBundlesDiscountsConfig,
|
|
16
|
+
...SimpleBundlesKitsConfig
|
|
12
17
|
};
|
|
13
18
|
const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
|
|
14
19
|
|