@gem-sdk/core 1.48.0-dev.5 → 1.48.0-dev.9
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 +16 -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 +16 -0
- package/dist/esm/helpers/third-party/constant.js +4 -2
- package/dist/types/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -66,8 +66,21 @@ const KiteFreeGiftDiscountConfig = {
|
|
|
66
66
|
appId: '2c7302c4-455d-4078-a829-48563ba26089'
|
|
67
67
|
}
|
|
68
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
|
+
};
|
|
69
81
|
|
|
70
82
|
exports.BonLoyaltyRewardsReferralsConfig = BonLoyaltyRewardsReferralsConfig;
|
|
83
|
+
exports.FastBundleBundlesDiscountsConfig = FastBundleBundlesDiscountsConfig;
|
|
71
84
|
exports.KiteFreeGiftDiscountConfig = KiteFreeGiftDiscountConfig;
|
|
72
85
|
exports.LoopSubscriptionsConfig = LoopSubscriptionsConfig;
|
|
73
86
|
exports.PumperBundlesVolumeDiscountConfig = PumperBundlesVolumeDiscountConfig;
|
|
@@ -75,6 +88,7 @@ exports.RechargeSubscriptionsConfig = RechargeSubscriptionsConfig;
|
|
|
75
88
|
exports.ReviewxpoProductReviewsAppConfig = ReviewxpoProductReviewsAppConfig;
|
|
76
89
|
exports.SelleasyConfig = SelleasyConfig;
|
|
77
90
|
exports.ShopifyFormsConfig = ShopifyFormsConfig;
|
|
91
|
+
exports.SimpleBundlesKitsConfig = SimpleBundlesKitsConfig;
|
|
78
92
|
exports.SkioSubscriptionsYcS20Config = SkioSubscriptionsYcS20Config;
|
|
79
93
|
exports.SubifySubscriptionsConfig = SubifySubscriptionsConfig;
|
|
80
94
|
exports.UnlimitedBundlesDiscountsConfig = UnlimitedBundlesDiscountsConfig;
|
|
@@ -115,9 +115,25 @@ const KiteFreeGiftDiscount = {
|
|
|
115
115
|
'app-block': null
|
|
116
116
|
}
|
|
117
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
|
+
};
|
|
118
132
|
const composeSettingsByWidgetType = {
|
|
133
|
+
...FastBundleBundlesDiscounts,
|
|
119
134
|
...KiteFreeGiftDiscount,
|
|
120
135
|
...UnlimitedBundlesDiscounts,
|
|
136
|
+
...SimpleBundlesKits,
|
|
121
137
|
...PumperBundlesVolumeDiscount,
|
|
122
138
|
...ReviewxpoProductReviewsApp,
|
|
123
139
|
...ShopifyForms,
|
|
@@ -13,7 +13,9 @@ const mapShopifyAppMeta = {
|
|
|
13
13
|
...appConfig.ReviewxpoProductReviewsAppConfig,
|
|
14
14
|
...appConfig.PumperBundlesVolumeDiscountConfig,
|
|
15
15
|
...appConfig.UnlimitedBundlesDiscountsConfig,
|
|
16
|
-
...appConfig.KiteFreeGiftDiscountConfig
|
|
16
|
+
...appConfig.KiteFreeGiftDiscountConfig,
|
|
17
|
+
...appConfig.FastBundleBundlesDiscountsConfig,
|
|
18
|
+
...appConfig.SimpleBundlesKitsConfig
|
|
17
19
|
};
|
|
18
20
|
const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
|
|
19
21
|
|
|
@@ -64,5 +64,17 @@ const KiteFreeGiftDiscountConfig = {
|
|
|
64
64
|
appId: '2c7302c4-455d-4078-a829-48563ba26089'
|
|
65
65
|
}
|
|
66
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
|
+
};
|
|
67
79
|
|
|
68
|
-
export { BonLoyaltyRewardsReferralsConfig, KiteFreeGiftDiscountConfig, LoopSubscriptionsConfig, PumperBundlesVolumeDiscountConfig, RechargeSubscriptionsConfig, ReviewxpoProductReviewsAppConfig, SelleasyConfig, ShopifyFormsConfig, SkioSubscriptionsYcS20Config, SubifySubscriptionsConfig, UnlimitedBundlesDiscountsConfig };
|
|
80
|
+
export { BonLoyaltyRewardsReferralsConfig, FastBundleBundlesDiscountsConfig, KiteFreeGiftDiscountConfig, LoopSubscriptionsConfig, PumperBundlesVolumeDiscountConfig, RechargeSubscriptionsConfig, ReviewxpoProductReviewsAppConfig, SelleasyConfig, ShopifyFormsConfig, SimpleBundlesKitsConfig, SkioSubscriptionsYcS20Config, SubifySubscriptionsConfig, UnlimitedBundlesDiscountsConfig };
|
|
@@ -113,9 +113,25 @@ const KiteFreeGiftDiscount = {
|
|
|
113
113
|
'app-block': null
|
|
114
114
|
}
|
|
115
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
|
+
};
|
|
116
130
|
const composeSettingsByWidgetType = {
|
|
131
|
+
...FastBundleBundlesDiscounts,
|
|
117
132
|
...KiteFreeGiftDiscount,
|
|
118
133
|
...UnlimitedBundlesDiscounts,
|
|
134
|
+
...SimpleBundlesKits,
|
|
119
135
|
...PumperBundlesVolumeDiscount,
|
|
120
136
|
...ReviewxpoProductReviewsApp,
|
|
121
137
|
...ShopifyForms,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RechargeSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, SubifySubscriptionsConfig, SelleasyConfig, LoopSubscriptionsConfig, SkioSubscriptionsYcS20Config, ShopifyFormsConfig, ReviewxpoProductReviewsAppConfig, PumperBundlesVolumeDiscountConfig, UnlimitedBundlesDiscountsConfig, KiteFreeGiftDiscountConfig } 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,
|
|
@@ -11,7 +11,9 @@ const mapShopifyAppMeta = {
|
|
|
11
11
|
...ReviewxpoProductReviewsAppConfig,
|
|
12
12
|
...PumperBundlesVolumeDiscountConfig,
|
|
13
13
|
...UnlimitedBundlesDiscountsConfig,
|
|
14
|
-
...KiteFreeGiftDiscountConfig
|
|
14
|
+
...KiteFreeGiftDiscountConfig,
|
|
15
|
+
...FastBundleBundlesDiscountsConfig,
|
|
16
|
+
...SimpleBundlesKitsConfig
|
|
15
17
|
};
|
|
16
18
|
const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
|
|
17
19
|
|
package/dist/types/index.d.ts
CHANGED