@gem-sdk/core 1.58.0-staging.59 → 1.58.0-staging.74
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 +21 -0
- package/dist/cjs/helpers/third-party/appSetting.js +183 -2
- package/dist/cjs/helpers/third-party/constant.js +4 -1
- package/dist/cjs/helpers/third-party/getAppBlockConfig.js +10 -2
- package/dist/esm/helpers/third-party/appConfig.js +19 -1
- package/dist/esm/helpers/third-party/appSetting.js +183 -2
- package/dist/esm/helpers/third-party/constant.js +5 -2
- package/dist/esm/helpers/third-party/getAppBlockConfig.js +10 -2
- package/dist/types/index.d.ts +4 -2
- package/package.json +2 -2
|
@@ -204,6 +204,24 @@ const SegunoEmailMarketingConfig = {
|
|
|
204
204
|
appId: 'db65571f-fa4d-473d-baa2-283a96dc76bc'
|
|
205
205
|
}
|
|
206
206
|
};
|
|
207
|
+
const TrustooConfig = {
|
|
208
|
+
Trustoo: {
|
|
209
|
+
appName: 'trustoo-io-reviews',
|
|
210
|
+
appId: 'c8f15077-6475-4e86-ad06-b66038d5ba2c'
|
|
211
|
+
}
|
|
212
|
+
};
|
|
213
|
+
const LooxReviewsConfig = {
|
|
214
|
+
LooxReviews: {
|
|
215
|
+
appName: 'loox-reviews',
|
|
216
|
+
appId: '5c3b337f-fd14-4df5-b1d6-80ec13e6e28e'
|
|
217
|
+
}
|
|
218
|
+
};
|
|
219
|
+
const SeoantTrustBadgesIconConfig = {
|
|
220
|
+
SeoantTrustBadgesIcon: {
|
|
221
|
+
appName: 'seoant-trust-badges',
|
|
222
|
+
appId: 'f42f2346-5d14-4b41-a8b9-4b6ee352262e'
|
|
223
|
+
}
|
|
224
|
+
};
|
|
207
225
|
|
|
208
226
|
exports.AftershipEmailMarketingsmsConfig = AftershipEmailMarketingsmsConfig;
|
|
209
227
|
exports.AppointmentBookingCowlendarConfig = AppointmentBookingCowlendarConfig;
|
|
@@ -221,6 +239,7 @@ exports.KachingBundlesConfig = KachingBundlesConfig;
|
|
|
221
239
|
exports.KiteFreeGiftDiscountConfig = KiteFreeGiftDiscountConfig;
|
|
222
240
|
exports.LoloyalLoyaltyReferralsConfig = LoloyalLoyaltyReferralsConfig;
|
|
223
241
|
exports.LoopSubscriptionsConfig = LoopSubscriptionsConfig;
|
|
242
|
+
exports.LooxReviewsConfig = LooxReviewsConfig;
|
|
224
243
|
exports.PowerfulContactFormBuilderConfig = PowerfulContactFormBuilderConfig;
|
|
225
244
|
exports.PreorderNowPreOrderPqConfig = PreorderNowPreOrderPqConfig;
|
|
226
245
|
exports.PreorderNowWodPresaleConfig = PreorderNowWodPresaleConfig;
|
|
@@ -230,11 +249,13 @@ exports.RechargeSubscriptionsConfig = RechargeSubscriptionsConfig;
|
|
|
230
249
|
exports.ReviewxpoProductReviewsAppConfig = ReviewxpoProductReviewsAppConfig;
|
|
231
250
|
exports.SegunoEmailMarketingConfig = SegunoEmailMarketingConfig;
|
|
232
251
|
exports.SelleasyConfig = SelleasyConfig;
|
|
252
|
+
exports.SeoantTrustBadgesIconConfig = SeoantTrustBadgesIconConfig;
|
|
233
253
|
exports.ShopifyFormsConfig = ShopifyFormsConfig;
|
|
234
254
|
exports.SimpleBundlesKitsConfig = SimpleBundlesKitsConfig;
|
|
235
255
|
exports.SkioSubscriptionsYcS20Config = SkioSubscriptionsYcS20Config;
|
|
236
256
|
exports.SproutPlantTreesGrowSalesConfig = SproutPlantTreesGrowSalesConfig;
|
|
237
257
|
exports.SubifySubscriptionsConfig = SubifySubscriptionsConfig;
|
|
258
|
+
exports.TrustooConfig = TrustooConfig;
|
|
238
259
|
exports.UnlimitedBundlesDiscountsConfig = UnlimitedBundlesDiscountsConfig;
|
|
239
260
|
exports.WhatmoreShoppableVideosreelConfig = WhatmoreShoppableVideosreelConfig;
|
|
240
261
|
exports.WishlistKingConfig = WishlistKingConfig;
|
|
@@ -99,7 +99,14 @@ const overrideSettings = (tag, currentSetting, appSetting)=>{
|
|
|
99
99
|
{
|
|
100
100
|
return {
|
|
101
101
|
...currentSetting,
|
|
102
|
-
|
|
102
|
+
'show-views': appSetting?.showViews,
|
|
103
|
+
heading: appSetting?.heading,
|
|
104
|
+
'template-type': appSetting?.templateType,
|
|
105
|
+
'title-font-size': parseFloat(appSetting?.titleFontSize),
|
|
106
|
+
'landscape-padding': parseFloat(appSetting?.landscapePadding),
|
|
107
|
+
'top-bottom-padding': parseFloat(appSetting?.topBottomPadding),
|
|
108
|
+
'scroll-video-tile-size': parseFloat(appSetting?.scrollVideoTitleSize),
|
|
109
|
+
'scroll-video-tile-size-portrait': parseFloat(appSetting?.scrollVideoTitleSizePortrait)
|
|
103
110
|
};
|
|
104
111
|
}
|
|
105
112
|
case 'KachingBundles':
|
|
@@ -123,6 +130,13 @@ const overrideSettings = (tag, currentSetting, appSetting)=>{
|
|
|
123
130
|
embedded_form_id: appSetting?.formId
|
|
124
131
|
};
|
|
125
132
|
}
|
|
133
|
+
case 'SeoantTrustBadgesIcon':
|
|
134
|
+
{
|
|
135
|
+
return {
|
|
136
|
+
...currentSetting,
|
|
137
|
+
badge_id: appSetting?.BadgeId
|
|
138
|
+
};
|
|
139
|
+
}
|
|
126
140
|
case 'YotpoReviews':
|
|
127
141
|
{
|
|
128
142
|
return {
|
|
@@ -528,7 +542,172 @@ const SegunoEmailMarketing = {
|
|
|
528
542
|
}
|
|
529
543
|
}
|
|
530
544
|
};
|
|
545
|
+
const Trustoo = {
|
|
546
|
+
Trustoo: {
|
|
547
|
+
'barrage-carousel': null,
|
|
548
|
+
'review-widget': null,
|
|
549
|
+
'photo-carousel': null,
|
|
550
|
+
'star-rating-widget': {
|
|
551
|
+
star_size: 20,
|
|
552
|
+
font_size: 16,
|
|
553
|
+
block_aligment: 'flex-start'
|
|
554
|
+
},
|
|
555
|
+
'text-carousel': null,
|
|
556
|
+
'card-carousel': null
|
|
557
|
+
}
|
|
558
|
+
};
|
|
559
|
+
const LooxReviews = {
|
|
560
|
+
LooxReviews: {
|
|
561
|
+
'loox-card-carousel-section': {
|
|
562
|
+
maxWidth: 1100,
|
|
563
|
+
borderRadius: 8,
|
|
564
|
+
itemsPerView: 4,
|
|
565
|
+
mobileItemsPerView: 1,
|
|
566
|
+
maxNumberOfCharacters: 100,
|
|
567
|
+
imageRatio: '0.72',
|
|
568
|
+
reviewerNameColor: '#000000',
|
|
569
|
+
textColor: '#000000',
|
|
570
|
+
itemBackgroundColor: '#ffffff',
|
|
571
|
+
starsColor: '',
|
|
572
|
+
starsBackgroundColor: '#ffffff',
|
|
573
|
+
arrows_backgroundColor: '#FFFFFF',
|
|
574
|
+
arrows_iconColor: '#9A9A9A',
|
|
575
|
+
shadow: 'offset-dark',
|
|
576
|
+
border_active: false,
|
|
577
|
+
border_width: 2,
|
|
578
|
+
border_color: '#000000',
|
|
579
|
+
productIds: ''
|
|
580
|
+
},
|
|
581
|
+
'loox-gallery-carousel-section': {
|
|
582
|
+
maxWidth: 1100,
|
|
583
|
+
borderRadius: 60,
|
|
584
|
+
itemsPerView: 5,
|
|
585
|
+
mobileItemsPerView: 1,
|
|
586
|
+
imageRatio: '1',
|
|
587
|
+
reviewerNameColor: '#ffffff',
|
|
588
|
+
starsColor: '#ffffff',
|
|
589
|
+
arrows_backgroundColor: '#FFFFFF',
|
|
590
|
+
arrows_iconColor: '#9A9A9A',
|
|
591
|
+
shadow: 'none',
|
|
592
|
+
border_active: false,
|
|
593
|
+
border_width: 2,
|
|
594
|
+
border_color: '#000000',
|
|
595
|
+
productIds: ''
|
|
596
|
+
},
|
|
597
|
+
'loox-referrals-section': {
|
|
598
|
+
max_width: 1100,
|
|
599
|
+
layout: 'with-photo',
|
|
600
|
+
primary_color: '',
|
|
601
|
+
text_color: '#000000',
|
|
602
|
+
text_field_border_color: '#C9CDD4',
|
|
603
|
+
background: ''
|
|
604
|
+
},
|
|
605
|
+
'loox-dynamic-section': {
|
|
606
|
+
only_photos: false,
|
|
607
|
+
aggregated: false,
|
|
608
|
+
limit: 20,
|
|
609
|
+
hide_thumbnails: false,
|
|
610
|
+
maxwidth: 1080,
|
|
611
|
+
is_sample: true
|
|
612
|
+
},
|
|
613
|
+
'loox-snippets-widget': {
|
|
614
|
+
alignment: 'left',
|
|
615
|
+
'max-width': '',
|
|
616
|
+
'color-scheme': 'default',
|
|
617
|
+
shadow: '',
|
|
618
|
+
'show-rating': true,
|
|
619
|
+
'show-image': true,
|
|
620
|
+
'hide-arrows-mobile': false,
|
|
621
|
+
'font-size': 14,
|
|
622
|
+
'show-border': false,
|
|
623
|
+
'border-radius': 16,
|
|
624
|
+
'background-color': '',
|
|
625
|
+
'text-color': '',
|
|
626
|
+
'name-color': '',
|
|
627
|
+
'rating-icon-color': '',
|
|
628
|
+
'border-color': '',
|
|
629
|
+
'shadow-color': '',
|
|
630
|
+
'reviews-limit': 10
|
|
631
|
+
},
|
|
632
|
+
'loox-rating': {
|
|
633
|
+
contentSize: 16,
|
|
634
|
+
pattern: '',
|
|
635
|
+
hideText: false,
|
|
636
|
+
alignment: '',
|
|
637
|
+
layout: '',
|
|
638
|
+
textColor: '',
|
|
639
|
+
starColor: '',
|
|
640
|
+
showAllReviews: false,
|
|
641
|
+
looxOpenFloatingWidget: false,
|
|
642
|
+
emptyRatingWidget: false
|
|
643
|
+
},
|
|
644
|
+
'loox-testimonial-carousel-section': {
|
|
645
|
+
maxWidth: 1100,
|
|
646
|
+
desktopFontSize: 32,
|
|
647
|
+
mobileFontSize: 20,
|
|
648
|
+
maxNumberOfCharacters: 100,
|
|
649
|
+
quoteMarkIcon: 'style-1',
|
|
650
|
+
reviewerNameColor: '#000000',
|
|
651
|
+
textColor: '#000000',
|
|
652
|
+
starsColor: '',
|
|
653
|
+
quotesIconColor: '#EAEAEA',
|
|
654
|
+
arrows_iconColor: '#000000',
|
|
655
|
+
arrows_hideOnMobile: true,
|
|
656
|
+
pagination_active: true,
|
|
657
|
+
pagination_selectedDotColor: '#000000',
|
|
658
|
+
pagination_dotColor: '#000000',
|
|
659
|
+
autoplay_active: false,
|
|
660
|
+
autoplay_duration: 2,
|
|
661
|
+
productIds: ''
|
|
662
|
+
},
|
|
663
|
+
'loox-trust-badge': {
|
|
664
|
+
layout: 'horizontal',
|
|
665
|
+
alignment: 'left',
|
|
666
|
+
'scheme-type': 'default',
|
|
667
|
+
'review-title': 'reviews',
|
|
668
|
+
'rating-icon': true,
|
|
669
|
+
'average-rating': true,
|
|
670
|
+
'loox-branding': true,
|
|
671
|
+
'review-count': true,
|
|
672
|
+
'open-reviews': true,
|
|
673
|
+
'show-border': true,
|
|
674
|
+
'border-radius': 8,
|
|
675
|
+
'font-size': 20,
|
|
676
|
+
'background-color': '',
|
|
677
|
+
'secondary-background-color': '',
|
|
678
|
+
'text-color': '',
|
|
679
|
+
'rating-icon-color': '',
|
|
680
|
+
'border-color': ''
|
|
681
|
+
},
|
|
682
|
+
'loox-video-slider': {
|
|
683
|
+
'show-by-tag': false,
|
|
684
|
+
layout: 'spotlight',
|
|
685
|
+
shadow: '',
|
|
686
|
+
'show-rating': true,
|
|
687
|
+
'show-reviewer-name': true,
|
|
688
|
+
'hide-arrows-mobile': true,
|
|
689
|
+
'auto-play': true,
|
|
690
|
+
'show-border': false,
|
|
691
|
+
'border-width': 1,
|
|
692
|
+
'border-radius': 16,
|
|
693
|
+
'text-color': '',
|
|
694
|
+
'rating-icon-color': '',
|
|
695
|
+
'border-color': '',
|
|
696
|
+
'play-button-color': '',
|
|
697
|
+
'shadow-color': '',
|
|
698
|
+
'product-id': ''
|
|
699
|
+
}
|
|
700
|
+
}
|
|
701
|
+
};
|
|
702
|
+
const SeoantTrustBadgesIcon = {
|
|
703
|
+
SeoantTrustBadgesIcon: {
|
|
704
|
+
star_rating: {
|
|
705
|
+
badge_id: null
|
|
706
|
+
}
|
|
707
|
+
}
|
|
708
|
+
};
|
|
531
709
|
const composeSettingsByWidgetType = {
|
|
710
|
+
...SeoantTrustBadgesIcon,
|
|
532
711
|
...SegunoEmailMarketing,
|
|
533
712
|
...AftershipEmailMarketingsms,
|
|
534
713
|
...BestBuyFulfillment,
|
|
@@ -562,7 +741,9 @@ const composeSettingsByWidgetType = {
|
|
|
562
741
|
...YotpoReviews,
|
|
563
742
|
...BoldSubscriptions,
|
|
564
743
|
...Growave,
|
|
565
|
-
...KachingBundles
|
|
744
|
+
...KachingBundles,
|
|
745
|
+
...Trustoo,
|
|
746
|
+
...LooxReviews
|
|
566
747
|
};
|
|
567
748
|
|
|
568
749
|
exports.composeSettingsByWidgetType = composeSettingsByWidgetType;
|
|
@@ -36,7 +36,10 @@ const mapShopifyAppMeta = {
|
|
|
36
36
|
...appConfig.KachingBundlesConfig,
|
|
37
37
|
...appConfig.BestBuyFulfillmentConfig,
|
|
38
38
|
...appConfig.AftershipEmailMarketingsmsConfig,
|
|
39
|
-
...appConfig.SegunoEmailMarketingConfig
|
|
39
|
+
...appConfig.SegunoEmailMarketingConfig,
|
|
40
|
+
...appConfig.TrustooConfig,
|
|
41
|
+
...appConfig.LooxReviewsConfig,
|
|
42
|
+
...appConfig.SeoantTrustBadgesIconConfig
|
|
40
43
|
};
|
|
41
44
|
const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
|
|
42
45
|
|
|
@@ -4,15 +4,23 @@ var appSetting = require('./appSetting.js');
|
|
|
4
4
|
var getAppBlockType = require('./getAppBlockType.js');
|
|
5
5
|
|
|
6
6
|
const listAppUpdateNewVersion = [
|
|
7
|
-
'Growave'
|
|
7
|
+
'Growave',
|
|
8
|
+
'Trustoo',
|
|
9
|
+
'LooxReviews'
|
|
8
10
|
];
|
|
9
11
|
const listThirdPartyRejectAppBlock = {
|
|
10
12
|
YotpoReviews: {
|
|
11
13
|
conditionToReject: 'settings?.version === "v1"'
|
|
14
|
+
},
|
|
15
|
+
Trustoo: {
|
|
16
|
+
conditionToReject: 'settings?.version === "v1"'
|
|
17
|
+
},
|
|
18
|
+
LooxReviews: {
|
|
19
|
+
conditionToReject: 'settings?.version === "v1"'
|
|
12
20
|
}
|
|
13
21
|
};
|
|
14
22
|
const getAppBlockConfig = (tag, appBlockId, settings)=>{
|
|
15
|
-
if (listThirdPartyRejectAppBlock[tag] && eval(listThirdPartyRejectAppBlock[tag]
|
|
23
|
+
if (listThirdPartyRejectAppBlock[tag] && eval(listThirdPartyRejectAppBlock[tag]?.conditionToReject ?? '')) {
|
|
16
24
|
return;
|
|
17
25
|
}
|
|
18
26
|
let widgetType = settings?.widgetType;
|
|
@@ -202,5 +202,23 @@ const SegunoEmailMarketingConfig = {
|
|
|
202
202
|
appId: 'db65571f-fa4d-473d-baa2-283a96dc76bc'
|
|
203
203
|
}
|
|
204
204
|
};
|
|
205
|
+
const TrustooConfig = {
|
|
206
|
+
Trustoo: {
|
|
207
|
+
appName: 'trustoo-io-reviews',
|
|
208
|
+
appId: 'c8f15077-6475-4e86-ad06-b66038d5ba2c'
|
|
209
|
+
}
|
|
210
|
+
};
|
|
211
|
+
const LooxReviewsConfig = {
|
|
212
|
+
LooxReviews: {
|
|
213
|
+
appName: 'loox-reviews',
|
|
214
|
+
appId: '5c3b337f-fd14-4df5-b1d6-80ec13e6e28e'
|
|
215
|
+
}
|
|
216
|
+
};
|
|
217
|
+
const SeoantTrustBadgesIconConfig = {
|
|
218
|
+
SeoantTrustBadgesIcon: {
|
|
219
|
+
appName: 'seoant-trust-badges',
|
|
220
|
+
appId: 'f42f2346-5d14-4b41-a8b9-4b6ee352262e'
|
|
221
|
+
}
|
|
222
|
+
};
|
|
205
223
|
|
|
206
|
-
export { AftershipEmailMarketingsmsConfig, AppointmentBookingCowlendarConfig, BestBuyFulfillmentConfig, BoldSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, EasyBundleBuilderSkailamaConfig, FastBundleBundlesDiscountsConfig, FlyBundlesUpsellsFbtConfig, GloboProductOptionsVariantConfig, GrowaveConfig, InstasellShoppableInstagramConfig, JunipProductReviewsUgcConfig, KachingBundlesConfig, KiteFreeGiftDiscountConfig, LoloyalLoyaltyReferralsConfig, LoopSubscriptionsConfig, PowerfulContactFormBuilderConfig, PreorderNowPreOrderPqConfig, PreorderNowWodPresaleConfig, ProductOptionsCustomizerConfig, PumperBundlesVolumeDiscountConfig, RechargeSubscriptionsConfig, ReviewxpoProductReviewsAppConfig, SegunoEmailMarketingConfig, SelleasyConfig, ShopifyFormsConfig, SimpleBundlesKitsConfig, SkioSubscriptionsYcS20Config, SproutPlantTreesGrowSalesConfig, SubifySubscriptionsConfig, UnlimitedBundlesDiscountsConfig, WhatmoreShoppableVideosreelConfig, WishlistKingConfig, YotpoReviewsV3UgcConfig };
|
|
224
|
+
export { AftershipEmailMarketingsmsConfig, AppointmentBookingCowlendarConfig, BestBuyFulfillmentConfig, BoldSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, EasyBundleBuilderSkailamaConfig, FastBundleBundlesDiscountsConfig, FlyBundlesUpsellsFbtConfig, GloboProductOptionsVariantConfig, GrowaveConfig, InstasellShoppableInstagramConfig, JunipProductReviewsUgcConfig, KachingBundlesConfig, KiteFreeGiftDiscountConfig, LoloyalLoyaltyReferralsConfig, LoopSubscriptionsConfig, LooxReviewsConfig, PowerfulContactFormBuilderConfig, PreorderNowPreOrderPqConfig, PreorderNowWodPresaleConfig, ProductOptionsCustomizerConfig, PumperBundlesVolumeDiscountConfig, RechargeSubscriptionsConfig, ReviewxpoProductReviewsAppConfig, SegunoEmailMarketingConfig, SelleasyConfig, SeoantTrustBadgesIconConfig, ShopifyFormsConfig, SimpleBundlesKitsConfig, SkioSubscriptionsYcS20Config, SproutPlantTreesGrowSalesConfig, SubifySubscriptionsConfig, TrustooConfig, UnlimitedBundlesDiscountsConfig, WhatmoreShoppableVideosreelConfig, WishlistKingConfig, YotpoReviewsV3UgcConfig };
|
|
@@ -97,7 +97,14 @@ const overrideSettings = (tag, currentSetting, appSetting)=>{
|
|
|
97
97
|
{
|
|
98
98
|
return {
|
|
99
99
|
...currentSetting,
|
|
100
|
-
|
|
100
|
+
'show-views': appSetting?.showViews,
|
|
101
|
+
heading: appSetting?.heading,
|
|
102
|
+
'template-type': appSetting?.templateType,
|
|
103
|
+
'title-font-size': parseFloat(appSetting?.titleFontSize),
|
|
104
|
+
'landscape-padding': parseFloat(appSetting?.landscapePadding),
|
|
105
|
+
'top-bottom-padding': parseFloat(appSetting?.topBottomPadding),
|
|
106
|
+
'scroll-video-tile-size': parseFloat(appSetting?.scrollVideoTitleSize),
|
|
107
|
+
'scroll-video-tile-size-portrait': parseFloat(appSetting?.scrollVideoTitleSizePortrait)
|
|
101
108
|
};
|
|
102
109
|
}
|
|
103
110
|
case 'KachingBundles':
|
|
@@ -121,6 +128,13 @@ const overrideSettings = (tag, currentSetting, appSetting)=>{
|
|
|
121
128
|
embedded_form_id: appSetting?.formId
|
|
122
129
|
};
|
|
123
130
|
}
|
|
131
|
+
case 'SeoantTrustBadgesIcon':
|
|
132
|
+
{
|
|
133
|
+
return {
|
|
134
|
+
...currentSetting,
|
|
135
|
+
badge_id: appSetting?.BadgeId
|
|
136
|
+
};
|
|
137
|
+
}
|
|
124
138
|
case 'YotpoReviews':
|
|
125
139
|
{
|
|
126
140
|
return {
|
|
@@ -526,7 +540,172 @@ const SegunoEmailMarketing = {
|
|
|
526
540
|
}
|
|
527
541
|
}
|
|
528
542
|
};
|
|
543
|
+
const Trustoo = {
|
|
544
|
+
Trustoo: {
|
|
545
|
+
'barrage-carousel': null,
|
|
546
|
+
'review-widget': null,
|
|
547
|
+
'photo-carousel': null,
|
|
548
|
+
'star-rating-widget': {
|
|
549
|
+
star_size: 20,
|
|
550
|
+
font_size: 16,
|
|
551
|
+
block_aligment: 'flex-start'
|
|
552
|
+
},
|
|
553
|
+
'text-carousel': null,
|
|
554
|
+
'card-carousel': null
|
|
555
|
+
}
|
|
556
|
+
};
|
|
557
|
+
const LooxReviews = {
|
|
558
|
+
LooxReviews: {
|
|
559
|
+
'loox-card-carousel-section': {
|
|
560
|
+
maxWidth: 1100,
|
|
561
|
+
borderRadius: 8,
|
|
562
|
+
itemsPerView: 4,
|
|
563
|
+
mobileItemsPerView: 1,
|
|
564
|
+
maxNumberOfCharacters: 100,
|
|
565
|
+
imageRatio: '0.72',
|
|
566
|
+
reviewerNameColor: '#000000',
|
|
567
|
+
textColor: '#000000',
|
|
568
|
+
itemBackgroundColor: '#ffffff',
|
|
569
|
+
starsColor: '',
|
|
570
|
+
starsBackgroundColor: '#ffffff',
|
|
571
|
+
arrows_backgroundColor: '#FFFFFF',
|
|
572
|
+
arrows_iconColor: '#9A9A9A',
|
|
573
|
+
shadow: 'offset-dark',
|
|
574
|
+
border_active: false,
|
|
575
|
+
border_width: 2,
|
|
576
|
+
border_color: '#000000',
|
|
577
|
+
productIds: ''
|
|
578
|
+
},
|
|
579
|
+
'loox-gallery-carousel-section': {
|
|
580
|
+
maxWidth: 1100,
|
|
581
|
+
borderRadius: 60,
|
|
582
|
+
itemsPerView: 5,
|
|
583
|
+
mobileItemsPerView: 1,
|
|
584
|
+
imageRatio: '1',
|
|
585
|
+
reviewerNameColor: '#ffffff',
|
|
586
|
+
starsColor: '#ffffff',
|
|
587
|
+
arrows_backgroundColor: '#FFFFFF',
|
|
588
|
+
arrows_iconColor: '#9A9A9A',
|
|
589
|
+
shadow: 'none',
|
|
590
|
+
border_active: false,
|
|
591
|
+
border_width: 2,
|
|
592
|
+
border_color: '#000000',
|
|
593
|
+
productIds: ''
|
|
594
|
+
},
|
|
595
|
+
'loox-referrals-section': {
|
|
596
|
+
max_width: 1100,
|
|
597
|
+
layout: 'with-photo',
|
|
598
|
+
primary_color: '',
|
|
599
|
+
text_color: '#000000',
|
|
600
|
+
text_field_border_color: '#C9CDD4',
|
|
601
|
+
background: ''
|
|
602
|
+
},
|
|
603
|
+
'loox-dynamic-section': {
|
|
604
|
+
only_photos: false,
|
|
605
|
+
aggregated: false,
|
|
606
|
+
limit: 20,
|
|
607
|
+
hide_thumbnails: false,
|
|
608
|
+
maxwidth: 1080,
|
|
609
|
+
is_sample: true
|
|
610
|
+
},
|
|
611
|
+
'loox-snippets-widget': {
|
|
612
|
+
alignment: 'left',
|
|
613
|
+
'max-width': '',
|
|
614
|
+
'color-scheme': 'default',
|
|
615
|
+
shadow: '',
|
|
616
|
+
'show-rating': true,
|
|
617
|
+
'show-image': true,
|
|
618
|
+
'hide-arrows-mobile': false,
|
|
619
|
+
'font-size': 14,
|
|
620
|
+
'show-border': false,
|
|
621
|
+
'border-radius': 16,
|
|
622
|
+
'background-color': '',
|
|
623
|
+
'text-color': '',
|
|
624
|
+
'name-color': '',
|
|
625
|
+
'rating-icon-color': '',
|
|
626
|
+
'border-color': '',
|
|
627
|
+
'shadow-color': '',
|
|
628
|
+
'reviews-limit': 10
|
|
629
|
+
},
|
|
630
|
+
'loox-rating': {
|
|
631
|
+
contentSize: 16,
|
|
632
|
+
pattern: '',
|
|
633
|
+
hideText: false,
|
|
634
|
+
alignment: '',
|
|
635
|
+
layout: '',
|
|
636
|
+
textColor: '',
|
|
637
|
+
starColor: '',
|
|
638
|
+
showAllReviews: false,
|
|
639
|
+
looxOpenFloatingWidget: false,
|
|
640
|
+
emptyRatingWidget: false
|
|
641
|
+
},
|
|
642
|
+
'loox-testimonial-carousel-section': {
|
|
643
|
+
maxWidth: 1100,
|
|
644
|
+
desktopFontSize: 32,
|
|
645
|
+
mobileFontSize: 20,
|
|
646
|
+
maxNumberOfCharacters: 100,
|
|
647
|
+
quoteMarkIcon: 'style-1',
|
|
648
|
+
reviewerNameColor: '#000000',
|
|
649
|
+
textColor: '#000000',
|
|
650
|
+
starsColor: '',
|
|
651
|
+
quotesIconColor: '#EAEAEA',
|
|
652
|
+
arrows_iconColor: '#000000',
|
|
653
|
+
arrows_hideOnMobile: true,
|
|
654
|
+
pagination_active: true,
|
|
655
|
+
pagination_selectedDotColor: '#000000',
|
|
656
|
+
pagination_dotColor: '#000000',
|
|
657
|
+
autoplay_active: false,
|
|
658
|
+
autoplay_duration: 2,
|
|
659
|
+
productIds: ''
|
|
660
|
+
},
|
|
661
|
+
'loox-trust-badge': {
|
|
662
|
+
layout: 'horizontal',
|
|
663
|
+
alignment: 'left',
|
|
664
|
+
'scheme-type': 'default',
|
|
665
|
+
'review-title': 'reviews',
|
|
666
|
+
'rating-icon': true,
|
|
667
|
+
'average-rating': true,
|
|
668
|
+
'loox-branding': true,
|
|
669
|
+
'review-count': true,
|
|
670
|
+
'open-reviews': true,
|
|
671
|
+
'show-border': true,
|
|
672
|
+
'border-radius': 8,
|
|
673
|
+
'font-size': 20,
|
|
674
|
+
'background-color': '',
|
|
675
|
+
'secondary-background-color': '',
|
|
676
|
+
'text-color': '',
|
|
677
|
+
'rating-icon-color': '',
|
|
678
|
+
'border-color': ''
|
|
679
|
+
},
|
|
680
|
+
'loox-video-slider': {
|
|
681
|
+
'show-by-tag': false,
|
|
682
|
+
layout: 'spotlight',
|
|
683
|
+
shadow: '',
|
|
684
|
+
'show-rating': true,
|
|
685
|
+
'show-reviewer-name': true,
|
|
686
|
+
'hide-arrows-mobile': true,
|
|
687
|
+
'auto-play': true,
|
|
688
|
+
'show-border': false,
|
|
689
|
+
'border-width': 1,
|
|
690
|
+
'border-radius': 16,
|
|
691
|
+
'text-color': '',
|
|
692
|
+
'rating-icon-color': '',
|
|
693
|
+
'border-color': '',
|
|
694
|
+
'play-button-color': '',
|
|
695
|
+
'shadow-color': '',
|
|
696
|
+
'product-id': ''
|
|
697
|
+
}
|
|
698
|
+
}
|
|
699
|
+
};
|
|
700
|
+
const SeoantTrustBadgesIcon = {
|
|
701
|
+
SeoantTrustBadgesIcon: {
|
|
702
|
+
star_rating: {
|
|
703
|
+
badge_id: null
|
|
704
|
+
}
|
|
705
|
+
}
|
|
706
|
+
};
|
|
529
707
|
const composeSettingsByWidgetType = {
|
|
708
|
+
...SeoantTrustBadgesIcon,
|
|
530
709
|
...SegunoEmailMarketing,
|
|
531
710
|
...AftershipEmailMarketingsms,
|
|
532
711
|
...BestBuyFulfillment,
|
|
@@ -560,7 +739,9 @@ const composeSettingsByWidgetType = {
|
|
|
560
739
|
...YotpoReviews,
|
|
561
740
|
...BoldSubscriptions,
|
|
562
741
|
...Growave,
|
|
563
|
-
...KachingBundles
|
|
742
|
+
...KachingBundles,
|
|
743
|
+
...Trustoo,
|
|
744
|
+
...LooxReviews
|
|
564
745
|
};
|
|
565
746
|
|
|
566
747
|
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, YotpoReviewsV3UgcConfig, WhatmoreShoppableVideosreelConfig, ProductOptionsCustomizerConfig, AppointmentBookingCowlendarConfig, BoldSubscriptionsConfig, SproutPlantTreesGrowSalesConfig, InstasellShoppableInstagramConfig, GrowaveConfig, LoloyalLoyaltyReferralsConfig, PowerfulContactFormBuilderConfig, WishlistKingConfig, GloboProductOptionsVariantConfig, KachingBundlesConfig, BestBuyFulfillmentConfig, AftershipEmailMarketingsmsConfig, SegunoEmailMarketingConfig } from './appConfig.js';
|
|
1
|
+
import { RechargeSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, SubifySubscriptionsConfig, SelleasyConfig, LoopSubscriptionsConfig, SkioSubscriptionsYcS20Config, ShopifyFormsConfig, ReviewxpoProductReviewsAppConfig, PumperBundlesVolumeDiscountConfig, UnlimitedBundlesDiscountsConfig, KiteFreeGiftDiscountConfig, FastBundleBundlesDiscountsConfig, SimpleBundlesKitsConfig, EasyBundleBuilderSkailamaConfig, PreorderNowPreOrderPqConfig, FlyBundlesUpsellsFbtConfig, JunipProductReviewsUgcConfig, PreorderNowWodPresaleConfig, YotpoReviewsV3UgcConfig, WhatmoreShoppableVideosreelConfig, ProductOptionsCustomizerConfig, AppointmentBookingCowlendarConfig, BoldSubscriptionsConfig, SproutPlantTreesGrowSalesConfig, InstasellShoppableInstagramConfig, GrowaveConfig, LoloyalLoyaltyReferralsConfig, PowerfulContactFormBuilderConfig, WishlistKingConfig, GloboProductOptionsVariantConfig, KachingBundlesConfig, BestBuyFulfillmentConfig, AftershipEmailMarketingsmsConfig, SegunoEmailMarketingConfig, TrustooConfig, LooxReviewsConfig, SeoantTrustBadgesIconConfig } from './appConfig.js';
|
|
2
2
|
|
|
3
3
|
const mapShopifyAppMeta = {
|
|
4
4
|
...RechargeSubscriptionsConfig,
|
|
@@ -34,7 +34,10 @@ const mapShopifyAppMeta = {
|
|
|
34
34
|
...KachingBundlesConfig,
|
|
35
35
|
...BestBuyFulfillmentConfig,
|
|
36
36
|
...AftershipEmailMarketingsmsConfig,
|
|
37
|
-
...SegunoEmailMarketingConfig
|
|
37
|
+
...SegunoEmailMarketingConfig,
|
|
38
|
+
...TrustooConfig,
|
|
39
|
+
...LooxReviewsConfig,
|
|
40
|
+
...SeoantTrustBadgesIconConfig
|
|
38
41
|
};
|
|
39
42
|
const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
|
|
40
43
|
|
|
@@ -2,15 +2,23 @@ import { composeSettingsByWidgetType, overrideSettings } from './appSetting.js';
|
|
|
2
2
|
import { getAppBlockType } from './getAppBlockType.js';
|
|
3
3
|
|
|
4
4
|
const listAppUpdateNewVersion = [
|
|
5
|
-
'Growave'
|
|
5
|
+
'Growave',
|
|
6
|
+
'Trustoo',
|
|
7
|
+
'LooxReviews'
|
|
6
8
|
];
|
|
7
9
|
const listThirdPartyRejectAppBlock = {
|
|
8
10
|
YotpoReviews: {
|
|
9
11
|
conditionToReject: 'settings?.version === "v1"'
|
|
12
|
+
},
|
|
13
|
+
Trustoo: {
|
|
14
|
+
conditionToReject: 'settings?.version === "v1"'
|
|
15
|
+
},
|
|
16
|
+
LooxReviews: {
|
|
17
|
+
conditionToReject: 'settings?.version === "v1"'
|
|
10
18
|
}
|
|
11
19
|
};
|
|
12
20
|
const getAppBlockConfig = (tag, appBlockId, settings)=>{
|
|
13
|
-
if (listThirdPartyRejectAppBlock[tag] && eval(listThirdPartyRejectAppBlock[tag]
|
|
21
|
+
if (listThirdPartyRejectAppBlock[tag] && eval(listThirdPartyRejectAppBlock[tag]?.conditionToReject ?? '')) {
|
|
14
22
|
return;
|
|
15
23
|
}
|
|
16
24
|
let widgetType = settings?.widgetType;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -7222,6 +7222,7 @@ type ResponsiveStateProp<T> = ObjectDevices<StateProp<T>>;
|
|
|
7222
7222
|
type AlignItemProp = 'left' | 'center' | 'right';
|
|
7223
7223
|
type JudgeMeReviewsWidgetType = 'single_product_preview_badge' | 'review_widget' | 'reviews_carousel' | 'reviews_text' | 'section_for_medals' | 'ugc_media_grid' | 'verified_reviews_count_badge';
|
|
7224
7224
|
type LooxReviewsWidgetType = 'reviews_widget' | 'rating_widget' | 'carousel_widget';
|
|
7225
|
+
type LooxReviewsWidgetTypeV2 = 'loox-card-carousel-section' | 'loox-gallery-carousel-section' | 'loox-referrals-section' | 'loox-dynamic-section' | 'loox-snippets-widget' | 'loox-rating' | 'loox-testimonial-carousel-section' | 'loox-trust-badge' | 'loox-video-slider';
|
|
7225
7226
|
type RyviuWidgetType = 'reviews' | 'badge' | 'badgeCollection' | 'carousel' | 'masonry';
|
|
7226
7227
|
type RivyoWidgetType = 'reviews' | 'badge' | 'testimonials' | 'allReviewsPage';
|
|
7227
7228
|
type VitalsWidgetType = 'addToWishlist' | 'goToWishlist' | 'paymentLogos' | 'recentlyViewed' | 'shoppableInstagramFeed' | 'trustSealsAndBadges' | 'productReviews' | 'productBundles' | 'volumeDiscounts' | 'stockScarcity' | 'sizeChart' | 'upsellBuilderBogo' | 'bundleCountdownBox' | 'reviewsUnderTitle' | 'productReviewsCarousel' | 'shippingBox' | 'currencyConverter' | 'relatedProducts' | 'backInStock';
|
|
@@ -7244,6 +7245,7 @@ type ObjectLayoutValue = {
|
|
|
7244
7245
|
};
|
|
7245
7246
|
type ProductReviewsWidgetType = 'reviews' | 'badge';
|
|
7246
7247
|
type TrustooWidgetType = 'starRatingInList' | 'starRating' | 'reviews';
|
|
7248
|
+
type TrustooWidgetTypeV2 = 'barrage-carousel' | 'review-widget' | 'photo-carousel' | 'star-rating-widget' | 'text-carousel' | 'card-carousel';
|
|
7247
7249
|
type WiserWidgetType = 'related' | 'recommended' | 'alsobought' | 'recentview' | 'newarrivals' | 'featured' | 'topselling' | 'trending' | 'recent_related';
|
|
7248
7250
|
type WiserV2WidgetType = 'evm-also-bought-products' | 'evm-related-product' | 'evm-featured-collections-product' | 'evm-recommended-products' | 'evm-most-popular-products' | 'evm-new-arrivals-product' | 'recently-viewed' | 'evm-recent_purchased_recomm-product' | 'evm-recent_purchased-product' | 'trending-products' | 'evm-related-viewed-browsing';
|
|
7249
7251
|
type InstantJudgeMeReviewsWidgetType = 'single_product_preview_badge' | 'review_widget' | 'reviews_carousel' | 'floating_reviews_tab' | 'all_reviews_widget' | 'verified_reviews_count_badge' | 'medals' | 'media_grid' | 'all_reviews_text';
|
|
@@ -7253,7 +7255,7 @@ type StampedWidgetType = 'main-widget' | 'carousel' | 'full-page' | 'visual-gall
|
|
|
7253
7255
|
type LaiProductReviewsWidgetType = 'reviews_widget' | 'star_ratings' | 'homepage_reviews' | 'happy_customer_reviews' | 'star_ratings_in_list' | 'advanced_widget';
|
|
7254
7256
|
type LaiProductReviewsAdvancedWidgetType = 'cardCarousel' | 'testimonialCarousel' | 'mediaGallery' | 'cardGrid';
|
|
7255
7257
|
type YotpoReviewsWidgetType = 'reviews' | 'star-rating' | 'reviewHighlights';
|
|
7256
|
-
type BogosWidgetType = 'icon' | 'thumnail' | 'slider' | 'message' | 'classic-bundle' | 'quantity-break';
|
|
7258
|
+
type BogosWidgetType = 'icon' | 'thumnail' | 'slider' | 'message' | 'classic-bundle' | 'quantity-break' | 'mix-match' | 'classic-bundle';
|
|
7257
7259
|
type PreOrderNowWodWidgetType = 'app-block' | 'popups-block';
|
|
7258
7260
|
type TagShopWidgetType = 'homeLandingGalleries' | 'productGalleries' | 'tagGalleries';
|
|
7259
7261
|
type AirProductReview = 'review_box' | 'star_rating' | 'review_carousel';
|
|
@@ -41933,4 +41935,4 @@ declare const useInteraction: () => {
|
|
|
41933
41935
|
interactionListenerLoaded: (callback: () => void) => void;
|
|
41934
41936
|
};
|
|
41935
41937
|
|
|
41936
|
-
export { AddOn, AddonProvider, AddonProviderProps, AdvancedType, AirProductReview, AliReviewsWidgetType, AlignItemProp, AlignProp, AnimationBaseSetting, AnimationConfig, AnimationDirectionType, AnimationEasingType, AnimationFadeSettingType, AnimationSetting, AnimationSettingType, AnimationShakeSettingType, AnimationSlideSettingType, AnimationTrigger, AnimationTriggerType, AnimationType, AnimationZoomDirectionType, AnimationZoomSettingType, appAPI as AppAPIType, ArticleListProvider, ArticleListProviderProps, ArticleProvider, ArticleProviderProps, Background, BaseProps, BasePropsWrap, BlockEntity, BogosWidgetType, BoldSubscriptionsWidgetType, Border, BorderStyle, BuilderComponentProvider, BuilderComponentProviderProps, BuilderEntity, BuilderEntityNested, BuilderPreviewProvider, BuilderPreviewProviderProps, BuilderProvider, BuilderProviderProps, BuilderState, Builtin, CSSStateKey, CartLineProvider, CartLineProviderProps, CollectionDetailFilterDocument, CollectionDetailFilterQueryResponse, CollectionDetailFilterQueryVariables, CollectionDocument, CollectionProvider, CollectionProviderProps, CollectionQueryResponse, CollectionQueryVariables, CollectionSelectFragment, CollectionsDocument, CollectionsQueryResponse, CollectionsQueryVariables, ColorKey, ColorType$1 as ColorType, ColorValueType, Component, ComponentPreset, ComponentSetting, ContainerProp, ControlProp, ControlTriggerAction, ControlUI, CornerRadius, CornerRadiusType, CustomComponentConfig, DeepPartial, DynamicCollection, DynamicProduct, ExtractState, FastBundleWidgetType, FeraReviewsV3WidgetType, FeraReviewsWidgetType, FetchCollectionArgs, FetchFunc, FetchProductParams, FlexDirectionProp, FontName, GRADIENT_BGR_KEY, GlobalStyleConfig, GlobalStyleResponsiveConfig, GlobalSwatchesData, GraphQLConnection, GroupPropType, GrowaveWidgetTypeV1, GrowaveWidgetTypeV2, HSLAColorType, HSLColorType, HexColorType, ImageShape$1 as ImageShape, InitComponentType, InstantJudgeMeReviewsWidgetType, InstantKlaviyoWidgetType, InstantLooxReviewsWidgetType, Interaction, InteractionCondition, InteractionElement, InteractionTarget, InteractionTargetEvent, InteractionTargetEventObject, InteractionTriggerEvent, JudgeMeReviewsWidgetType, KlaviyoWidgetType, LaiProductReviewsAdvancedWidgetType, LaiProductReviewsWidgetType, LibrarySaleFunnelDocument, LibrarySaleFunnelQueryResponse, LibrarySaleFunnelQueryVariables, LibraryTemplateDocument, LibraryTemplateQueryResponse, LibraryTemplateQueryVariables, LooxReviewsWidgetType, ModalProvider, ModalProviderProps, NameDevices$1 as NameDevices, NestedKeys, ObjectDeviceGlobalType, ObjectDevices, ObjectLayoutValue, OmnisendWidgetType, OnlyOne, OpinewDesignWidgetType, OpinewWidgetType, OptionNormalStyle, OptionSpecialStyle, Options, PageContext, PageProvider, PageProviderProps, PageType, PageViewUpDocument, PageViewUpMutationResponse, PageViewUpMutationVariables, PickyStoryWidgetType, PostPurchaseTypo, PreOrderNowWodWidgetType, PreviewThemePageDocument, PreviewThemePageQueryResponse, PreviewThemePageQueryVariables, Primitive, ProductInputAnalytic, ProductListProvider, ProductListProviderProps, ProductOffer, ProductProvider, ProductProviderProps, ProductReviewsWidgetType, ProductSelectFragment, ProductsDocument, ProductsQueryResponse, ProductsQueryVariables, PublicStoreFrontData, PublishedShopMetasDocument, PublishedShopMetasQueryResponse, PublishedThemePageSelectFragment, PublishedThemePagesDocument, PublishedThemePagesQueryResponse, PublishedThemePagesQueryVariables, QueryPublishedShopMetasArgs, RGBAColorType, RGBColorType, Ratio$1 as Ratio, RawChild, RenderMemo as Render, RenderChildren, RenderIf, Render as RenderLiquid, RenderMode, RenderPreviewMemo as RenderPreview, RequiredCursorEdge, ResponsiveKey, ResponsiveStateProp, RivyoWidgetType, RoundedSize, RyviuWidgetType, SaleFunnelDiscount$1 as SaleFunnelDiscount, SaleFunnelDiscountEdge$1 as SaleFunnelDiscountEdge, SaleFunnelDiscountObjectType$1 as SaleFunnelDiscountObjectType, SaleFunnelDiscountType$1 as SaleFunnelDiscountType, SaleFunnelDiscountValueType$1 as SaleFunnelDiscountValueType, SaleFunnelDiscountsDocument, SaleFunnelDiscountsQueryResponse, SaleFunnelDiscountsQueryVariables, Scalars$1 as Scalars, ScaleByDirection, SectionData, SectionEntity, SectionProvider, SectionProviderProps, SettingByAnimationType, SettingByAnimationValues, ShadowProps, ShadowStyle, ShadowStyleApplied, ShadowType, ShopLibraryPageDocument, ShopLibraryPageQueryResponse, ShopLibraryPageQueryVariables, ShopProvider, ShopProviderProps, shop as ShopType, SizeProps, SizeSetting, SizeSettingGlobal, SizeType, SpacingType, StampedWidgetType, StateProp, StateSelector, StateType, StoreConfig, StorePropertyDocument, StorePropertyQueryResponse, StorePropertyQueryVariables, SwatchesOptionType, SwatchesOptionValue, TagShopWidgetType, ThemePageDocument, ThemePageQueryResponse, ThemePageQueryVariables, ThemeSectionStatus$1 as ThemeSectionStatus, TransformProp, TriggerConfig, TrustooWidgetType, TypographyProps, TypographySetting, TypographySettingV2, TypographyType, TypographyV2Attrs, TypographyV2Props, UltimateSalesBoostWidgetType, VariantSelectFragment, VitalsWidgetType, WiserV2WidgetType, WiserWidgetType, WrapRenderChildren, YotpoReviewsWidgetType, addAppBlockId, animations, baseAssetURL, calculateFirstProduct, checkAvailableVariantInStock, checkInStock, cls, composeAdvanceStyle, composeAdvanceStyleForPostPurchase, composeBackgroundCss, composeBorderCss, composeCornerCss, composeFallbackTypographyStyle, composeFontFamilyTypographyV2, composeGridLayout, composeMemo, composePositionLineHeight, composePostionIconList, composeRadius, composeRadiusResponsive, composeShadowCss, composeSize, composeSizeCss, composeSpacing, composeTextColorCss, composeTypography, composeTypographyAttr, composeTypographyClassName, composeTypographyCss, composeTypographyStyle, composeTypographyV2, composeTypographyV2Css, convertHTML, convertOldLayout, convertTextAlignToJustify, dataStringify, fetchMedias, fetchVariants, filterAttrInStyle, filterCornerInStyle, filterToolbarPreview, flattenConnection, formatMoney, fpixel, genSizeClass, genTypoClass, genVariable, generateCollectionQueryKey, generateProductQueryKey, generateProductsQueryKey, getAppBlocks, getAspectRatioGlobalSize, getBgImageByDevice, getBorderRadiusStyle, getBorderStyle, getCarouselContainerHeight, getCollection, getCornerCSSFromGlobal, getCustomRadius, getGlobalColorCSSProp, getGlobalColorClass, getGlobalColorResponsiveClass, getGlobalColorResponsiveStyle, getGlobalColorStateClass, getGlobalColorStateClassDynamicBtn, getGlobalColorStateResponsiveClass, getGlobalColorStateResponsiveClassDynamicBtn, getGlobalColorStateResponsiveStyle, getGlobalColorStateStyle, getGlobalColorStyle, getGlobalSizeGap, getGradientBgrStyleByDevice, getGradientBgrStyleForButton, getHeightByShapeGlobalSize, getPaddingGlobalSize, getProduct, getProductBySlug, getRadiusCSSFromGlobal, getRadiusStyleActiveState, getResponsiveStateValue, getResponsiveStyleShadow, getResponsiveValue, getResponsiveValueByScreen, getSelectedVariant, getShortName, getSingleColorVariable, getSpacingVariable, getStyleBackgroundByDevice, getStyleBgColor, getStyleShadow, getStyleShadowState, getValueByDevice, getWidthByShapeGlobalSize, getWidthHeightGlobalSize, globalEvent, gridToArrayRegex, gtag, handleConvertBorderColor, handleConvertBorderStyle, handleConvertBorderWidth, handleConvertClassColor, handleConvertClassColorDynamicBtn, isBrowser, isColor, isColumnDirectionExist, isDefined, isEmptyChildren, isLocalEnv, isSafari, loadScript, makeAspectRatio, makeContainerWidthOrHeight, makeDotGapToCarouselStyle, makeFixedBgAttachment, makeGlobalSize, makeGlobalSizeHeightResponsive, makeGlobalSizeIcon, makeGlobalSizeWidthResponsive, makeHeight, makeLineClamp, makeStyle, makeStyleKey, makeStyleResponsive, makeStyleResponsiveByScreen, makeStyleResponsiveState, makeStyleState, makeStyleWithDefault, makeWidth, normalizeBuilderData, optionLayoutStyle, parseSelectedOption, parseValueWithUnit, prefetchQueries, props, removeAttrInStyle, removeNullUndefined, removePaddingYInStyle, removeUndefinedValuesFromObject, shopifyPriceRounding, splitStyle, styles, template, tiktokpixel, useAddToCart, useAddon, useAddons, useArticleListStore, useArticleStore, useArticlesQuery, useBlogsQuery, useBuilderComponent, useBuilderPreviewStore, useBuilderStore, useCartData, useCartDiscountCodesUpdate, useCartId, useCartLine, useCartLineStore, useCartNoteUpdate, useCartUI, useCheckAvailableVariantInStock, useCheckoutUrl, useCollection, useCollectionQuery, useCollectionStore, useCollectionsQuery, useConnectedShopify, useCreateCart, useCurrency, useCurrentDevice, useCurrentVariant, useCurrentVariantInStock, useEditorMode, useFeaturedImageGlobal, useFormatMoney, useHasPreSelected, useInitialSwatchesOptions, useInteraction, useIsSampleProduct, useIsStorefrontProduct, useIsSyncProduct, useIsomorphicLayoutEffect, useLazyVideo, useLoadScript, useLocale, useMatchMutate, useMobileOnly, useModalStore, useMoney, useMoneyFormat, usePageStore, usePageType, usePluginEnable, usePrevious, useProduct, useProductBundleDiscount, useProductList, useProductListProducts, useProductListSettings, useProductListStore, useProductListStyles, useProductOfferDiscount, useProductProperties, useProductQuery, useProductShopifyEditLink, useProductStore, useProductsQuery, useProductsQueryAll, useQuantity, useRemoveCartItem, useSection, useSectionStore, useSelectedOption, useShopStore, useShopifyLink, useStoreFront, useSuspenseFetch, useSwatches, useSwatchesOptions, useUniqProductID, useUpdateCartItem, useVariant, useVariantOutStock, useVariants, validateEmail };
|
|
41938
|
+
export { AddOn, AddonProvider, AddonProviderProps, AdvancedType, AirProductReview, AliReviewsWidgetType, AlignItemProp, AlignProp, AnimationBaseSetting, AnimationConfig, AnimationDirectionType, AnimationEasingType, AnimationFadeSettingType, AnimationSetting, AnimationSettingType, AnimationShakeSettingType, AnimationSlideSettingType, AnimationTrigger, AnimationTriggerType, AnimationType, AnimationZoomDirectionType, AnimationZoomSettingType, appAPI as AppAPIType, ArticleListProvider, ArticleListProviderProps, ArticleProvider, ArticleProviderProps, Background, BaseProps, BasePropsWrap, BlockEntity, BogosWidgetType, BoldSubscriptionsWidgetType, Border, BorderStyle, BuilderComponentProvider, BuilderComponentProviderProps, BuilderEntity, BuilderEntityNested, BuilderPreviewProvider, BuilderPreviewProviderProps, BuilderProvider, BuilderProviderProps, BuilderState, Builtin, CSSStateKey, CartLineProvider, CartLineProviderProps, CollectionDetailFilterDocument, CollectionDetailFilterQueryResponse, CollectionDetailFilterQueryVariables, CollectionDocument, CollectionProvider, CollectionProviderProps, CollectionQueryResponse, CollectionQueryVariables, CollectionSelectFragment, CollectionsDocument, CollectionsQueryResponse, CollectionsQueryVariables, ColorKey, ColorType$1 as ColorType, ColorValueType, Component, ComponentPreset, ComponentSetting, ContainerProp, ControlProp, ControlTriggerAction, ControlUI, CornerRadius, CornerRadiusType, CustomComponentConfig, DeepPartial, DynamicCollection, DynamicProduct, ExtractState, FastBundleWidgetType, FeraReviewsV3WidgetType, FeraReviewsWidgetType, FetchCollectionArgs, FetchFunc, FetchProductParams, FlexDirectionProp, FontName, GRADIENT_BGR_KEY, GlobalStyleConfig, GlobalStyleResponsiveConfig, GlobalSwatchesData, GraphQLConnection, GroupPropType, GrowaveWidgetTypeV1, GrowaveWidgetTypeV2, HSLAColorType, HSLColorType, HexColorType, ImageShape$1 as ImageShape, InitComponentType, InstantJudgeMeReviewsWidgetType, InstantKlaviyoWidgetType, InstantLooxReviewsWidgetType, Interaction, InteractionCondition, InteractionElement, InteractionTarget, InteractionTargetEvent, InteractionTargetEventObject, InteractionTriggerEvent, JudgeMeReviewsWidgetType, KlaviyoWidgetType, LaiProductReviewsAdvancedWidgetType, LaiProductReviewsWidgetType, LibrarySaleFunnelDocument, LibrarySaleFunnelQueryResponse, LibrarySaleFunnelQueryVariables, LibraryTemplateDocument, LibraryTemplateQueryResponse, LibraryTemplateQueryVariables, LooxReviewsWidgetType, LooxReviewsWidgetTypeV2, ModalProvider, ModalProviderProps, NameDevices$1 as NameDevices, NestedKeys, ObjectDeviceGlobalType, ObjectDevices, ObjectLayoutValue, OmnisendWidgetType, OnlyOne, OpinewDesignWidgetType, OpinewWidgetType, OptionNormalStyle, OptionSpecialStyle, Options, PageContext, PageProvider, PageProviderProps, PageType, PageViewUpDocument, PageViewUpMutationResponse, PageViewUpMutationVariables, PickyStoryWidgetType, PostPurchaseTypo, PreOrderNowWodWidgetType, PreviewThemePageDocument, PreviewThemePageQueryResponse, PreviewThemePageQueryVariables, Primitive, ProductInputAnalytic, ProductListProvider, ProductListProviderProps, ProductOffer, ProductProvider, ProductProviderProps, ProductReviewsWidgetType, ProductSelectFragment, ProductsDocument, ProductsQueryResponse, ProductsQueryVariables, PublicStoreFrontData, PublishedShopMetasDocument, PublishedShopMetasQueryResponse, PublishedThemePageSelectFragment, PublishedThemePagesDocument, PublishedThemePagesQueryResponse, PublishedThemePagesQueryVariables, QueryPublishedShopMetasArgs, RGBAColorType, RGBColorType, Ratio$1 as Ratio, RawChild, RenderMemo as Render, RenderChildren, RenderIf, Render as RenderLiquid, RenderMode, RenderPreviewMemo as RenderPreview, RequiredCursorEdge, ResponsiveKey, ResponsiveStateProp, RivyoWidgetType, RoundedSize, RyviuWidgetType, SaleFunnelDiscount$1 as SaleFunnelDiscount, SaleFunnelDiscountEdge$1 as SaleFunnelDiscountEdge, SaleFunnelDiscountObjectType$1 as SaleFunnelDiscountObjectType, SaleFunnelDiscountType$1 as SaleFunnelDiscountType, SaleFunnelDiscountValueType$1 as SaleFunnelDiscountValueType, SaleFunnelDiscountsDocument, SaleFunnelDiscountsQueryResponse, SaleFunnelDiscountsQueryVariables, Scalars$1 as Scalars, ScaleByDirection, SectionData, SectionEntity, SectionProvider, SectionProviderProps, SettingByAnimationType, SettingByAnimationValues, ShadowProps, ShadowStyle, ShadowStyleApplied, ShadowType, ShopLibraryPageDocument, ShopLibraryPageQueryResponse, ShopLibraryPageQueryVariables, ShopProvider, ShopProviderProps, shop as ShopType, SizeProps, SizeSetting, SizeSettingGlobal, SizeType, SpacingType, StampedWidgetType, StateProp, StateSelector, StateType, StoreConfig, StorePropertyDocument, StorePropertyQueryResponse, StorePropertyQueryVariables, SwatchesOptionType, SwatchesOptionValue, TagShopWidgetType, ThemePageDocument, ThemePageQueryResponse, ThemePageQueryVariables, ThemeSectionStatus$1 as ThemeSectionStatus, TransformProp, TriggerConfig, TrustooWidgetType, TrustooWidgetTypeV2, TypographyProps, TypographySetting, TypographySettingV2, TypographyType, TypographyV2Attrs, TypographyV2Props, UltimateSalesBoostWidgetType, VariantSelectFragment, VitalsWidgetType, WiserV2WidgetType, WiserWidgetType, WrapRenderChildren, YotpoReviewsWidgetType, addAppBlockId, animations, baseAssetURL, calculateFirstProduct, checkAvailableVariantInStock, checkInStock, cls, composeAdvanceStyle, composeAdvanceStyleForPostPurchase, composeBackgroundCss, composeBorderCss, composeCornerCss, composeFallbackTypographyStyle, composeFontFamilyTypographyV2, composeGridLayout, composeMemo, composePositionLineHeight, composePostionIconList, composeRadius, composeRadiusResponsive, composeShadowCss, composeSize, composeSizeCss, composeSpacing, composeTextColorCss, composeTypography, composeTypographyAttr, composeTypographyClassName, composeTypographyCss, composeTypographyStyle, composeTypographyV2, composeTypographyV2Css, convertHTML, convertOldLayout, convertTextAlignToJustify, dataStringify, fetchMedias, fetchVariants, filterAttrInStyle, filterCornerInStyle, filterToolbarPreview, flattenConnection, formatMoney, fpixel, genSizeClass, genTypoClass, genVariable, generateCollectionQueryKey, generateProductQueryKey, generateProductsQueryKey, getAppBlocks, getAspectRatioGlobalSize, getBgImageByDevice, getBorderRadiusStyle, getBorderStyle, getCarouselContainerHeight, getCollection, getCornerCSSFromGlobal, getCustomRadius, getGlobalColorCSSProp, getGlobalColorClass, getGlobalColorResponsiveClass, getGlobalColorResponsiveStyle, getGlobalColorStateClass, getGlobalColorStateClassDynamicBtn, getGlobalColorStateResponsiveClass, getGlobalColorStateResponsiveClassDynamicBtn, getGlobalColorStateResponsiveStyle, getGlobalColorStateStyle, getGlobalColorStyle, getGlobalSizeGap, getGradientBgrStyleByDevice, getGradientBgrStyleForButton, getHeightByShapeGlobalSize, getPaddingGlobalSize, getProduct, getProductBySlug, getRadiusCSSFromGlobal, getRadiusStyleActiveState, getResponsiveStateValue, getResponsiveStyleShadow, getResponsiveValue, getResponsiveValueByScreen, getSelectedVariant, getShortName, getSingleColorVariable, getSpacingVariable, getStyleBackgroundByDevice, getStyleBgColor, getStyleShadow, getStyleShadowState, getValueByDevice, getWidthByShapeGlobalSize, getWidthHeightGlobalSize, globalEvent, gridToArrayRegex, gtag, handleConvertBorderColor, handleConvertBorderStyle, handleConvertBorderWidth, handleConvertClassColor, handleConvertClassColorDynamicBtn, isBrowser, isColor, isColumnDirectionExist, isDefined, isEmptyChildren, isLocalEnv, isSafari, loadScript, makeAspectRatio, makeContainerWidthOrHeight, makeDotGapToCarouselStyle, makeFixedBgAttachment, makeGlobalSize, makeGlobalSizeHeightResponsive, makeGlobalSizeIcon, makeGlobalSizeWidthResponsive, makeHeight, makeLineClamp, makeStyle, makeStyleKey, makeStyleResponsive, makeStyleResponsiveByScreen, makeStyleResponsiveState, makeStyleState, makeStyleWithDefault, makeWidth, normalizeBuilderData, optionLayoutStyle, parseSelectedOption, parseValueWithUnit, prefetchQueries, props, removeAttrInStyle, removeNullUndefined, removePaddingYInStyle, removeUndefinedValuesFromObject, shopifyPriceRounding, splitStyle, styles, template, tiktokpixel, useAddToCart, useAddon, useAddons, useArticleListStore, useArticleStore, useArticlesQuery, useBlogsQuery, useBuilderComponent, useBuilderPreviewStore, useBuilderStore, useCartData, useCartDiscountCodesUpdate, useCartId, useCartLine, useCartLineStore, useCartNoteUpdate, useCartUI, useCheckAvailableVariantInStock, useCheckoutUrl, useCollection, useCollectionQuery, useCollectionStore, useCollectionsQuery, useConnectedShopify, useCreateCart, useCurrency, useCurrentDevice, useCurrentVariant, useCurrentVariantInStock, useEditorMode, useFeaturedImageGlobal, useFormatMoney, useHasPreSelected, useInitialSwatchesOptions, useInteraction, useIsSampleProduct, useIsStorefrontProduct, useIsSyncProduct, useIsomorphicLayoutEffect, useLazyVideo, useLoadScript, useLocale, useMatchMutate, useMobileOnly, useModalStore, useMoney, useMoneyFormat, usePageStore, usePageType, usePluginEnable, usePrevious, useProduct, useProductBundleDiscount, useProductList, useProductListProducts, useProductListSettings, useProductListStore, useProductListStyles, useProductOfferDiscount, useProductProperties, useProductQuery, useProductShopifyEditLink, useProductStore, useProductsQuery, useProductsQueryAll, useQuantity, useRemoveCartItem, useSection, useSectionStore, useSelectedOption, useShopStore, useShopifyLink, useStoreFront, useSuspenseFetch, useSwatches, useSwatchesOptions, useUniqProductID, useUpdateCartItem, useVariant, useVariantOutStock, useVariants, validateEmail };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gem-sdk/core",
|
|
3
|
-
"version": "1.58.0-staging.
|
|
3
|
+
"version": "1.58.0-staging.74",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@gem-sdk/adapter-shopify": "1.57.15-staging.0",
|
|
31
|
-
"@gem-sdk/styles": "1.58.0-staging.
|
|
31
|
+
"@gem-sdk/styles": "1.58.0-staging.61",
|
|
32
32
|
"@types/classnames": "^2.3.1"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|