@gem-sdk/core 1.58.0-staging.63 → 1.58.0-staging.78

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.
@@ -27,6 +27,7 @@ const ArticlesDocument = `
27
27
  }
28
28
  isSample
29
29
  platformCreatedAt
30
+ platformUpdatedAt
30
31
  author
31
32
  content {
32
33
  excerptHtml
@@ -0,0 +1,11 @@
1
+ 'use strict';
2
+
3
+ const ShopShopifyDocument = `
4
+ query shopShopify {
5
+ shopShopify {
6
+ timezone
7
+ }
8
+ }
9
+ `;
10
+
11
+ exports.ShopShopifyDocument = ShopShopifyDocument;
@@ -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;
@@ -130,6 +130,13 @@ const overrideSettings = (tag, currentSetting, appSetting)=>{
130
130
  embedded_form_id: appSetting?.formId
131
131
  };
132
132
  }
133
+ case 'SeoantTrustBadgesIcon':
134
+ {
135
+ return {
136
+ ...currentSetting,
137
+ badge_id: appSetting?.BadgeId
138
+ };
139
+ }
133
140
  case 'YotpoReviews':
134
141
  {
135
142
  return {
@@ -535,7 +542,172 @@ const SegunoEmailMarketing = {
535
542
  }
536
543
  }
537
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
+ };
538
709
  const composeSettingsByWidgetType = {
710
+ ...SeoantTrustBadgesIcon,
539
711
  ...SegunoEmailMarketing,
540
712
  ...AftershipEmailMarketingsms,
541
713
  ...BestBuyFulfillment,
@@ -569,7 +741,9 @@ const composeSettingsByWidgetType = {
569
741
  ...YotpoReviews,
570
742
  ...BoldSubscriptions,
571
743
  ...Growave,
572
- ...KachingBundles
744
+ ...KachingBundles,
745
+ ...Trustoo,
746
+ ...LooxReviews
573
747
  };
574
748
 
575
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,11 +4,19 @@ 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)=>{
@@ -27,6 +27,14 @@ const useCurrency = ()=>{
27
27
  changeCurrency
28
28
  ]);
29
29
  };
30
+ const useTimezone = ()=>{
31
+ const timezone = ShopContext.useShopStore((state)=>state.timezone);
32
+ return react.useMemo(()=>({
33
+ timezone
34
+ }), [
35
+ timezone
36
+ ]);
37
+ };
30
38
  const useMoneyFormat = ()=>{
31
39
  const moneyFormat = ShopContext.useShopStore((state)=>state.moneyFormat);
32
40
  const moneyWithCurrencyFormat = ShopContext.useShopStore((state)=>state.moneyWithCurrencyFormat);
@@ -125,3 +133,4 @@ exports.usePageType = usePageType;
125
133
  exports.usePluginEnable = usePluginEnable;
126
134
  exports.useStoreFront = useStoreFront;
127
135
  exports.useSwatches = useSwatches;
136
+ exports.useTimezone = useTimezone;
package/dist/cjs/index.js CHANGED
@@ -27,6 +27,7 @@ var publishedThemePages_generated = require('./graphql/queries/published-theme-p
27
27
  var products_generated = require('./graphql/queries/products.generated.js');
28
28
  var storeProperty_generated = require('./graphql/queries/store-property.generated.js');
29
29
  var previewPage_generated = require('./graphql/queries/preview-page.generated.js');
30
+ var shopShopify_generated = require('./graphql/queries/shop-shopify.generated.js');
30
31
  var LibraryTemplate_generated = require('./graphql-app-api/queries/LibraryTemplate.generated.js');
31
32
  var ThemePage_generated = require('./graphql-app-api/queries/ThemePage.generated.js');
32
33
  var SaleFunnelDiscounts_generated = require('./graphql-app-api/queries/SaleFunnelDiscounts.generated.js');
@@ -161,6 +162,7 @@ exports.PublishedThemePagesDocument = publishedThemePages_generated.PublishedThe
161
162
  exports.ProductsDocument = products_generated.ProductsDocument;
162
163
  exports.StorePropertyDocument = storeProperty_generated.StorePropertyDocument;
163
164
  exports.PreviewThemePageDocument = previewPage_generated.PreviewThemePageDocument;
165
+ exports.ShopShopifyDocument = shopShopify_generated.ShopShopifyDocument;
164
166
  exports.LibraryTemplateDocument = LibraryTemplate_generated.LibraryTemplateDocument;
165
167
  exports.ThemePageDocument = ThemePage_generated.ThemePageDocument;
166
168
  exports.SaleFunnelDiscountsDocument = SaleFunnelDiscounts_generated.SaleFunnelDiscountsDocument;
@@ -325,6 +327,7 @@ exports.usePageType = shop.usePageType;
325
327
  exports.usePluginEnable = shop.usePluginEnable;
326
328
  exports.useStoreFront = shop.useStoreFront;
327
329
  exports.useSwatches = shop.useSwatches;
330
+ exports.useTimezone = shop.useTimezone;
328
331
  exports.useCollectionQuery = useCollectionQuery.useCollectionQuery;
329
332
  exports.useCollectionsQuery = useCollectionsQuery.useCollectionsQuery;
330
333
  exports.useProductQuery = useProductQuery.useProductQuery;
@@ -25,6 +25,7 @@ const ArticlesDocument = `
25
25
  }
26
26
  isSample
27
27
  platformCreatedAt
28
+ platformUpdatedAt
28
29
  author
29
30
  content {
30
31
  excerptHtml
@@ -0,0 +1,9 @@
1
+ const ShopShopifyDocument = `
2
+ query shopShopify {
3
+ shopShopify {
4
+ timezone
5
+ }
6
+ }
7
+ `;
8
+
9
+ export { ShopShopifyDocument };
@@ -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 };
@@ -128,6 +128,13 @@ const overrideSettings = (tag, currentSetting, appSetting)=>{
128
128
  embedded_form_id: appSetting?.formId
129
129
  };
130
130
  }
131
+ case 'SeoantTrustBadgesIcon':
132
+ {
133
+ return {
134
+ ...currentSetting,
135
+ badge_id: appSetting?.BadgeId
136
+ };
137
+ }
131
138
  case 'YotpoReviews':
132
139
  {
133
140
  return {
@@ -533,7 +540,172 @@ const SegunoEmailMarketing = {
533
540
  }
534
541
  }
535
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
+ };
536
707
  const composeSettingsByWidgetType = {
708
+ ...SeoantTrustBadgesIcon,
537
709
  ...SegunoEmailMarketing,
538
710
  ...AftershipEmailMarketingsms,
539
711
  ...BestBuyFulfillment,
@@ -567,7 +739,9 @@ const composeSettingsByWidgetType = {
567
739
  ...YotpoReviews,
568
740
  ...BoldSubscriptions,
569
741
  ...Growave,
570
- ...KachingBundles
742
+ ...KachingBundles,
743
+ ...Trustoo,
744
+ ...LooxReviews
571
745
  };
572
746
 
573
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,11 +2,19 @@ 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)=>{
@@ -25,6 +25,14 @@ const useCurrency = ()=>{
25
25
  changeCurrency
26
26
  ]);
27
27
  };
28
+ const useTimezone = ()=>{
29
+ const timezone = useShopStore((state)=>state.timezone);
30
+ return useMemo(()=>({
31
+ timezone
32
+ }), [
33
+ timezone
34
+ ]);
35
+ };
28
36
  const useMoneyFormat = ()=>{
29
37
  const moneyFormat = useShopStore((state)=>state.moneyFormat);
30
38
  const moneyWithCurrencyFormat = useShopStore((state)=>state.moneyWithCurrencyFormat);
@@ -109,4 +117,4 @@ function useCheckoutUrl(url) {
109
117
  return storefrontToken ? `${url}?access_token=${storefrontToken}` : url;
110
118
  }
111
119
 
112
- export { useCheckoutUrl, useConnectedShopify, useCurrency, useEditorMode, useIsSampleProduct, useIsStorefrontProduct, useLocale, useMatchMutate, useMobileOnly, useMoneyFormat, usePageType, usePluginEnable, useStoreFront, useSwatches };
120
+ export { useCheckoutUrl, useConnectedShopify, useCurrency, useEditorMode, useIsSampleProduct, useIsStorefrontProduct, useLocale, useMatchMutate, useMobileOnly, useMoneyFormat, usePageType, usePluginEnable, useStoreFront, useSwatches, useTimezone };
package/dist/esm/index.js CHANGED
@@ -25,6 +25,7 @@ export { PublishedThemePagesDocument } from './graphql/queries/published-theme-p
25
25
  export { ProductsDocument } from './graphql/queries/products.generated.js';
26
26
  export { StorePropertyDocument } from './graphql/queries/store-property.generated.js';
27
27
  export { PreviewThemePageDocument } from './graphql/queries/preview-page.generated.js';
28
+ export { ShopShopifyDocument } from './graphql/queries/shop-shopify.generated.js';
28
29
  export { LibraryTemplateDocument } from './graphql-app-api/queries/LibraryTemplate.generated.js';
29
30
  export { ThemePageDocument } from './graphql-app-api/queries/ThemePage.generated.js';
30
31
  export { SaleFunnelDiscountsDocument } from './graphql-app-api/queries/SaleFunnelDiscounts.generated.js';
@@ -80,7 +81,7 @@ export { useCartNoteUpdate } from './hooks/cart/use-cart-note-update.js';
80
81
  export { useCreateCart } from './hooks/cart/use-create-cart.js';
81
82
  export { useRemoveCartItem } from './hooks/cart/use-remove-cart-item.js';
82
83
  export { useUpdateCartItem } from './hooks/cart/use-update-cart-item.js';
83
- export { useCheckoutUrl, useConnectedShopify, useCurrency, useEditorMode, useIsSampleProduct, useIsStorefrontProduct, useLocale, useMatchMutate, useMobileOnly, useMoneyFormat, usePageType, usePluginEnable, useStoreFront, useSwatches } from './hooks/shop.js';
84
+ export { useCheckoutUrl, useConnectedShopify, useCurrency, useEditorMode, useIsSampleProduct, useIsStorefrontProduct, useLocale, useMatchMutate, useMobileOnly, useMoneyFormat, usePageType, usePluginEnable, useStoreFront, useSwatches, useTimezone } from './hooks/shop.js';
84
85
  export { useCollectionQuery } from './hooks/shop/use-collection-query.js';
85
86
  export { useCollectionsQuery } from './hooks/shop/use-collections-query.js';
86
87
  export { useProductQuery } from './hooks/shop/use-product-query.js';
@@ -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';
@@ -31618,6 +31620,7 @@ type ShopContextProps = {
31618
31620
  isStorefront?: boolean;
31619
31621
  createThemeSectionCount?: number;
31620
31622
  plan?: string;
31623
+ timezone?: string;
31621
31624
  generateContentLimitation?: {
31622
31625
  isAllow: boolean;
31623
31626
  maxGenerateCount?: number;
@@ -31972,6 +31975,14 @@ type PreviewThemePageQueryResponse = {
31972
31975
  };
31973
31976
  declare const PreviewThemePageDocument: string;
31974
31977
 
31978
+ type ShopShopifyQueryVariables = Exact$1<{
31979
+ [key: string]: never;
31980
+ }>;
31981
+ type ShopShopifyQueryResponse = {
31982
+ shopShopify?: Maybe$1<Pick<ShopShopify$1, 'timezone'>>;
31983
+ };
31984
+ declare const ShopShopifyDocument = "\n query shopShopify {\n shopShopify {\n timezone\n }\n}\n ";
31985
+
31975
31986
  type LibraryTemplateQueryVariables = Exact<{
31976
31987
  libraryTemplateId: Scalars['ID'];
31977
31988
  }>;
@@ -41567,7 +41578,7 @@ type ArticlesQueryVariables = Exact$1<{
41567
41578
  type ArticlesQueryResponse = {
41568
41579
  articles?: Maybe$1<(Pick<ArticleConnection$1, 'totalCount'> & {
41569
41580
  edges: Array<(Pick<ArticleEdge$1, 'cursor'> & {
41570
- node?: Maybe$1<(Pick<Article$2, 'id' | 'title' | 'handle' | 'description' | 'templateSuffix' | 'titleMeta' | 'descriptionMeta' | 'baseID' | 'platform' | 'isSample' | 'platformCreatedAt' | 'author'> & {
41581
+ node?: Maybe$1<(Pick<Article$2, 'id' | 'title' | 'handle' | 'description' | 'templateSuffix' | 'titleMeta' | 'descriptionMeta' | 'baseID' | 'platform' | 'isSample' | 'platformCreatedAt' | 'platformUpdatedAt' | 'author'> & {
41571
41582
  tags: Array<never>;
41572
41583
  content?: Maybe$1<Pick<ArticleContent$1, 'excerptHtml'>>;
41573
41584
  blogs?: Maybe$1<{
@@ -41660,6 +41671,9 @@ declare const useCurrency: () => {
41660
41671
  currency: string | undefined;
41661
41672
  changeCurrency: (currency: string) => void;
41662
41673
  };
41674
+ declare const useTimezone: () => {
41675
+ timezone: string | undefined;
41676
+ };
41663
41677
  declare const useMoneyFormat: () => {
41664
41678
  moneyFormat: string | undefined;
41665
41679
  moneyWithCurrencyFormat: string | undefined;
@@ -41933,4 +41947,4 @@ declare const useInteraction: () => {
41933
41947
  interactionListenerLoaded: (callback: () => void) => void;
41934
41948
  };
41935
41949
 
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 };
41950
+ 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, ShopShopifyDocument, ShopShopifyQueryResponse, ShopShopifyQueryVariables, 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, useTimezone, 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.63",
3
+ "version": "1.58.0-staging.78",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",