@gem-sdk/core 1.53.0-staging.0 → 1.53.0-staging.13
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/graphql-app-api/queries/ShopLibraryPage.generated.js +17 -0
- package/dist/cjs/helpers/third-party/appConfig.js +7 -0
- package/dist/cjs/helpers/third-party/appSetting.js +12 -1
- package/dist/cjs/helpers/third-party/constant.js +2 -1
- package/dist/cjs/index.js +2 -0
- package/dist/esm/graphql-app-api/queries/ShopLibraryPage.generated.js +15 -0
- package/dist/esm/helpers/third-party/appConfig.js +7 -1
- package/dist/esm/helpers/third-party/appSetting.js +12 -1
- package/dist/esm/helpers/third-party/constant.js +3 -2
- package/dist/esm/index.js +1 -0
- package/dist/types/index.d.ts +2754 -510
- package/package.json +1 -1
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
/* eslint-disable */ const ShopLibraryPageDocument = `
|
|
4
|
+
query ShopLibraryPage($shopLibraryPageId: ID!) {
|
|
5
|
+
shopLibraryPage(id: $shopLibraryPageId) {
|
|
6
|
+
id
|
|
7
|
+
name
|
|
8
|
+
sectionPosition
|
|
9
|
+
shopLibrarySections {
|
|
10
|
+
id
|
|
11
|
+
component
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
`;
|
|
16
|
+
|
|
17
|
+
exports.ShopLibraryPageDocument = ShopLibraryPageDocument;
|
|
@@ -108,6 +108,12 @@ const PreorderNowWodPresaleConfig = {
|
|
|
108
108
|
appId: 'fdf17d17-ef12-4a7b-8383-20cc1fc2a4b6'
|
|
109
109
|
}
|
|
110
110
|
};
|
|
111
|
+
const YotpoReviewsV3UgcConfig = {
|
|
112
|
+
YotpoReviews: {
|
|
113
|
+
appName: 'yotpo-product-reviews-ugc',
|
|
114
|
+
appId: 'eb7dfd7d-db44-4334-bc49-c893b51b36cf'
|
|
115
|
+
}
|
|
116
|
+
};
|
|
111
117
|
|
|
112
118
|
exports.BonLoyaltyRewardsReferralsConfig = BonLoyaltyRewardsReferralsConfig;
|
|
113
119
|
exports.EasyBundleBuilderSkailamaConfig = EasyBundleBuilderSkailamaConfig;
|
|
@@ -127,3 +133,4 @@ exports.SimpleBundlesKitsConfig = SimpleBundlesKitsConfig;
|
|
|
127
133
|
exports.SkioSubscriptionsYcS20Config = SkioSubscriptionsYcS20Config;
|
|
128
134
|
exports.SubifySubscriptionsConfig = SubifySubscriptionsConfig;
|
|
129
135
|
exports.UnlimitedBundlesDiscountsConfig = UnlimitedBundlesDiscountsConfig;
|
|
136
|
+
exports.YotpoReviewsV3UgcConfig = YotpoReviewsV3UgcConfig;
|
|
@@ -197,6 +197,16 @@ const PreorderNowWodPresale = {
|
|
|
197
197
|
'popups-block': null
|
|
198
198
|
}
|
|
199
199
|
};
|
|
200
|
+
const YotpoReviews = {
|
|
201
|
+
YotpoReviews: {
|
|
202
|
+
reviews: {
|
|
203
|
+
product: '{{ product }}'
|
|
204
|
+
},
|
|
205
|
+
'star-rating': {
|
|
206
|
+
product: '{{ product }}'
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
};
|
|
200
210
|
const composeSettingsByWidgetType = {
|
|
201
211
|
...JunipProductReviewsUgc,
|
|
202
212
|
...FlyBundlesUpsellsFbt,
|
|
@@ -215,7 +225,8 @@ const composeSettingsByWidgetType = {
|
|
|
215
225
|
...RechargeSubscriptions,
|
|
216
226
|
...LoyaltyRewardsReferrals,
|
|
217
227
|
...SubifySubscriptions,
|
|
218
|
-
...SelleasyWidget
|
|
228
|
+
...SelleasyWidget,
|
|
229
|
+
...YotpoReviews
|
|
219
230
|
};
|
|
220
231
|
|
|
221
232
|
exports.composeSettingsByWidgetType = composeSettingsByWidgetType;
|
|
@@ -20,7 +20,8 @@ const mapShopifyAppMeta = {
|
|
|
20
20
|
...appConfig.PreorderNowPreOrderPqConfig,
|
|
21
21
|
...appConfig.FlyBundlesUpsellsFbtConfig,
|
|
22
22
|
...appConfig.JunipProductReviewsUgcConfig,
|
|
23
|
-
...appConfig.PreorderNowWodPresaleConfig
|
|
23
|
+
...appConfig.PreorderNowWodPresaleConfig,
|
|
24
|
+
...appConfig.YotpoReviewsV3UgcConfig
|
|
24
25
|
};
|
|
25
26
|
const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
|
|
26
27
|
|
package/dist/cjs/index.js
CHANGED
|
@@ -30,6 +30,7 @@ var LibraryTemplate_generated = require('./graphql-app-api/queries/LibraryTempla
|
|
|
30
30
|
var ThemePage_generated = require('./graphql-app-api/queries/ThemePage.generated.js');
|
|
31
31
|
var SaleFunnelDiscounts_generated = require('./graphql-app-api/queries/SaleFunnelDiscounts.generated.js');
|
|
32
32
|
var LibrarySaleFunnelDiscount_generated = require('./graphql-app-api/queries/LibrarySaleFunnelDiscount.generated.js');
|
|
33
|
+
var ShopLibraryPage_generated = require('./graphql-app-api/queries/ShopLibraryPage.generated.js');
|
|
33
34
|
var borders = require('./helpers/borders.js');
|
|
34
35
|
var carousel = require('./helpers/carousel.js');
|
|
35
36
|
var cls = require('./helpers/cls.js');
|
|
@@ -158,6 +159,7 @@ exports.LibraryTemplateDocument = LibraryTemplate_generated.LibraryTemplateDocum
|
|
|
158
159
|
exports.ThemePageDocument = ThemePage_generated.ThemePageDocument;
|
|
159
160
|
exports.SaleFunnelDiscountsDocument = SaleFunnelDiscounts_generated.SaleFunnelDiscountsDocument;
|
|
160
161
|
exports.LibrarySaleFunnelDocument = LibrarySaleFunnelDiscount_generated.LibrarySaleFunnelDocument;
|
|
162
|
+
exports.ShopLibraryPageDocument = ShopLibraryPage_generated.ShopLibraryPageDocument;
|
|
161
163
|
exports.composeBorderCss = borders.composeBorderCss;
|
|
162
164
|
exports.getBorderRadiusStyle = borders.getBorderRadiusStyle;
|
|
163
165
|
exports.getBorderStyle = borders.getBorderStyle;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* eslint-disable */ const ShopLibraryPageDocument = `
|
|
2
|
+
query ShopLibraryPage($shopLibraryPageId: ID!) {
|
|
3
|
+
shopLibraryPage(id: $shopLibraryPageId) {
|
|
4
|
+
id
|
|
5
|
+
name
|
|
6
|
+
sectionPosition
|
|
7
|
+
shopLibrarySections {
|
|
8
|
+
id
|
|
9
|
+
component
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
`;
|
|
14
|
+
|
|
15
|
+
export { ShopLibraryPageDocument };
|
|
@@ -106,5 +106,11 @@ const PreorderNowWodPresaleConfig = {
|
|
|
106
106
|
appId: 'fdf17d17-ef12-4a7b-8383-20cc1fc2a4b6'
|
|
107
107
|
}
|
|
108
108
|
};
|
|
109
|
+
const YotpoReviewsV3UgcConfig = {
|
|
110
|
+
YotpoReviews: {
|
|
111
|
+
appName: 'yotpo-product-reviews-ugc',
|
|
112
|
+
appId: 'eb7dfd7d-db44-4334-bc49-c893b51b36cf'
|
|
113
|
+
}
|
|
114
|
+
};
|
|
109
115
|
|
|
110
|
-
export { BonLoyaltyRewardsReferralsConfig, EasyBundleBuilderSkailamaConfig, FastBundleBundlesDiscountsConfig, FlyBundlesUpsellsFbtConfig, JunipProductReviewsUgcConfig, KiteFreeGiftDiscountConfig, LoopSubscriptionsConfig, PreorderNowPreOrderPqConfig, PreorderNowWodPresaleConfig, PumperBundlesVolumeDiscountConfig, RechargeSubscriptionsConfig, ReviewxpoProductReviewsAppConfig, SelleasyConfig, ShopifyFormsConfig, SimpleBundlesKitsConfig, SkioSubscriptionsYcS20Config, SubifySubscriptionsConfig, UnlimitedBundlesDiscountsConfig };
|
|
116
|
+
export { BonLoyaltyRewardsReferralsConfig, EasyBundleBuilderSkailamaConfig, FastBundleBundlesDiscountsConfig, FlyBundlesUpsellsFbtConfig, JunipProductReviewsUgcConfig, KiteFreeGiftDiscountConfig, LoopSubscriptionsConfig, PreorderNowPreOrderPqConfig, PreorderNowWodPresaleConfig, PumperBundlesVolumeDiscountConfig, RechargeSubscriptionsConfig, ReviewxpoProductReviewsAppConfig, SelleasyConfig, ShopifyFormsConfig, SimpleBundlesKitsConfig, SkioSubscriptionsYcS20Config, SubifySubscriptionsConfig, UnlimitedBundlesDiscountsConfig, YotpoReviewsV3UgcConfig };
|
|
@@ -195,6 +195,16 @@ const PreorderNowWodPresale = {
|
|
|
195
195
|
'popups-block': null
|
|
196
196
|
}
|
|
197
197
|
};
|
|
198
|
+
const YotpoReviews = {
|
|
199
|
+
YotpoReviews: {
|
|
200
|
+
reviews: {
|
|
201
|
+
product: '{{ product }}'
|
|
202
|
+
},
|
|
203
|
+
'star-rating': {
|
|
204
|
+
product: '{{ product }}'
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
};
|
|
198
208
|
const composeSettingsByWidgetType = {
|
|
199
209
|
...JunipProductReviewsUgc,
|
|
200
210
|
...FlyBundlesUpsellsFbt,
|
|
@@ -213,7 +223,8 @@ const composeSettingsByWidgetType = {
|
|
|
213
223
|
...RechargeSubscriptions,
|
|
214
224
|
...LoyaltyRewardsReferrals,
|
|
215
225
|
...SubifySubscriptions,
|
|
216
|
-
...SelleasyWidget
|
|
226
|
+
...SelleasyWidget,
|
|
227
|
+
...YotpoReviews
|
|
217
228
|
};
|
|
218
229
|
|
|
219
230
|
export { composeSettingsByWidgetType, overrideSettings };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RechargeSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, SubifySubscriptionsConfig, SelleasyConfig, LoopSubscriptionsConfig, SkioSubscriptionsYcS20Config, ShopifyFormsConfig, ReviewxpoProductReviewsAppConfig, PumperBundlesVolumeDiscountConfig, UnlimitedBundlesDiscountsConfig, KiteFreeGiftDiscountConfig, FastBundleBundlesDiscountsConfig, SimpleBundlesKitsConfig, EasyBundleBuilderSkailamaConfig, PreorderNowPreOrderPqConfig, FlyBundlesUpsellsFbtConfig, JunipProductReviewsUgcConfig, PreorderNowWodPresaleConfig } from './appConfig.js';
|
|
1
|
+
import { RechargeSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, SubifySubscriptionsConfig, SelleasyConfig, LoopSubscriptionsConfig, SkioSubscriptionsYcS20Config, ShopifyFormsConfig, ReviewxpoProductReviewsAppConfig, PumperBundlesVolumeDiscountConfig, UnlimitedBundlesDiscountsConfig, KiteFreeGiftDiscountConfig, FastBundleBundlesDiscountsConfig, SimpleBundlesKitsConfig, EasyBundleBuilderSkailamaConfig, PreorderNowPreOrderPqConfig, FlyBundlesUpsellsFbtConfig, JunipProductReviewsUgcConfig, PreorderNowWodPresaleConfig, YotpoReviewsV3UgcConfig } from './appConfig.js';
|
|
2
2
|
|
|
3
3
|
const mapShopifyAppMeta = {
|
|
4
4
|
...RechargeSubscriptionsConfig,
|
|
@@ -18,7 +18,8 @@ const mapShopifyAppMeta = {
|
|
|
18
18
|
...PreorderNowPreOrderPqConfig,
|
|
19
19
|
...FlyBundlesUpsellsFbtConfig,
|
|
20
20
|
...JunipProductReviewsUgcConfig,
|
|
21
|
-
...PreorderNowWodPresaleConfig
|
|
21
|
+
...PreorderNowWodPresaleConfig,
|
|
22
|
+
...YotpoReviewsV3UgcConfig
|
|
22
23
|
};
|
|
23
24
|
const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
|
|
24
25
|
|
package/dist/esm/index.js
CHANGED
|
@@ -28,6 +28,7 @@ export { LibraryTemplateDocument } from './graphql-app-api/queries/LibraryTempla
|
|
|
28
28
|
export { ThemePageDocument } from './graphql-app-api/queries/ThemePage.generated.js';
|
|
29
29
|
export { SaleFunnelDiscountsDocument } from './graphql-app-api/queries/SaleFunnelDiscounts.generated.js';
|
|
30
30
|
export { LibrarySaleFunnelDocument } from './graphql-app-api/queries/LibrarySaleFunnelDiscount.generated.js';
|
|
31
|
+
export { ShopLibraryPageDocument } from './graphql-app-api/queries/ShopLibraryPage.generated.js';
|
|
31
32
|
export { composeBorderCss, getBorderRadiusStyle, getBorderStyle, handleConvertBorderColor, handleConvertBorderStyle, handleConvertBorderWidth, handleConvertClassColor, handleConvertClassColorDynamicBtn } from './helpers/borders.js';
|
|
32
33
|
export { getCarouselContainerHeight, makeContainerWidthOrHeight, makeDotGapToCarouselStyle } from './helpers/carousel.js';
|
|
33
34
|
export { cls } from './helpers/cls.js';
|