@gem-sdk/core 1.58.0-staging.90 → 1.58.0-staging.98

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.
@@ -36,7 +36,7 @@ const componentIconList = [
36
36
  const componentUsingAdvanced = [
37
37
  'IconList'
38
38
  ];
39
- const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageContext, additionalSettings, ...passProps })=>{
39
+ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageContext, enableLazyloadImage, ...passProps })=>{
40
40
  const item = builder[uid];
41
41
  const Component = components[item?.tag];
42
42
  if (!Component) {
@@ -75,7 +75,7 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
75
75
  advanced: item.advanced,
76
76
  parentId: componentsRenderWithParentId.includes(item.tag) ? parentId : null,
77
77
  pageContext,
78
- ...additionalSettings,
78
+ enableLazyloadImage,
79
79
  ...passProps,
80
80
  builderAttrs: {
81
81
  ...passProps.builderAttrs
@@ -88,7 +88,7 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
88
88
  components,
89
89
  customProps,
90
90
  pageContext,
91
- ...additionalSettings
91
+ enableLazyloadImage
92
92
  };
93
93
  }),
94
94
  children: !constant.customRenderChildren.includes(item.tag) ? WrapRenderChildren({
@@ -101,7 +101,7 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
101
101
  customProps,
102
102
  parentTag: item.tag,
103
103
  pageContext,
104
- ...additionalSettings
104
+ enableLazyloadImage
105
105
  }))) : ''
106
106
  });
107
107
  }, ()=>{
@@ -117,7 +117,7 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
117
117
  isText: componentTexts.includes(item.tag) ? true : null,
118
118
  parentId: componentsRenderWithParentId.includes(item.tag) ? parentId : null,
119
119
  pageContext,
120
- ...additionalSettings,
120
+ enableLazyloadImage,
121
121
  ...passProps,
122
122
  builderAttrs: {
123
123
  ...passProps.builderAttrs
@@ -139,7 +139,7 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
139
139
  cssClass: item?.advanced?.cssClass
140
140
  },
141
141
  pageContext,
142
- ...additionalSettings,
142
+ enableLazyloadImage,
143
143
  ...passProps,
144
144
  builderAttrs: {
145
145
  ...passProps.builderAttrs
@@ -152,7 +152,7 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
152
152
  components,
153
153
  customProps,
154
154
  pageContext,
155
- ...additionalSettings
155
+ enableLazyloadImage
156
156
  };
157
157
  }),
158
158
  children: !constant.customRenderChildren.includes(item.tag) ? WrapRenderChildren({
@@ -165,7 +165,7 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
165
165
  customProps,
166
166
  parentTag: item.tag,
167
167
  pageContext,
168
- ...additionalSettings
168
+ enableLazyloadImage
169
169
  }))) : ''
170
170
  });
171
171
  }, ()=>{
@@ -180,7 +180,7 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
180
180
  cssClass: item?.advanced?.cssClass
181
181
  },
182
182
  pageContext,
183
- ...additionalSettings,
183
+ enableLazyloadImage,
184
184
  isText: componentTexts.includes(item.tag) ? true : null,
185
185
  style: componentIconList.includes(item.tag) ? style : null,
186
186
  ...passProps,
@@ -222,6 +222,18 @@ const SeoantTrustBadgesIconConfig = {
222
222
  appId: 'f42f2346-5d14-4b41-a8b9-4b6ee352262e'
223
223
  }
224
224
  };
225
+ const TrustreviewsProductReviewsConfig = {
226
+ TrustreviewsProductReviews: {
227
+ appName: 'trustreviews',
228
+ appId: '56d0fe1b-e701-4cff-8f84-466a26e09adb'
229
+ }
230
+ };
231
+ const MyappgurusProductReviewsConfig = {
232
+ MyappgurusProductReviews: {
233
+ appName: 'mag-product-reviews',
234
+ appId: '0cf5caa0-e138-46b8-999b-520d16633e4c'
235
+ }
236
+ };
225
237
 
226
238
  exports.AftershipEmailMarketingsmsConfig = AftershipEmailMarketingsmsConfig;
227
239
  exports.AppointmentBookingCowlendarConfig = AppointmentBookingCowlendarConfig;
@@ -240,6 +252,7 @@ exports.KiteFreeGiftDiscountConfig = KiteFreeGiftDiscountConfig;
240
252
  exports.LoloyalLoyaltyReferralsConfig = LoloyalLoyaltyReferralsConfig;
241
253
  exports.LoopSubscriptionsConfig = LoopSubscriptionsConfig;
242
254
  exports.LooxReviewsConfig = LooxReviewsConfig;
255
+ exports.MyappgurusProductReviewsConfig = MyappgurusProductReviewsConfig;
243
256
  exports.PowerfulContactFormBuilderConfig = PowerfulContactFormBuilderConfig;
244
257
  exports.PreorderNowPreOrderPqConfig = PreorderNowPreOrderPqConfig;
245
258
  exports.PreorderNowWodPresaleConfig = PreorderNowWodPresaleConfig;
@@ -256,6 +269,7 @@ exports.SkioSubscriptionsYcS20Config = SkioSubscriptionsYcS20Config;
256
269
  exports.SproutPlantTreesGrowSalesConfig = SproutPlantTreesGrowSalesConfig;
257
270
  exports.SubifySubscriptionsConfig = SubifySubscriptionsConfig;
258
271
  exports.TrustooConfig = TrustooConfig;
272
+ exports.TrustreviewsProductReviewsConfig = TrustreviewsProductReviewsConfig;
259
273
  exports.UnlimitedBundlesDiscountsConfig = UnlimitedBundlesDiscountsConfig;
260
274
  exports.WhatmoreShoppableVideosreelConfig = WhatmoreShoppableVideosreelConfig;
261
275
  exports.WishlistKingConfig = WishlistKingConfig;
@@ -706,7 +706,74 @@ const SeoantTrustBadgesIcon = {
706
706
  }
707
707
  }
708
708
  };
709
+ const TrustreviewsProductReviews = {
710
+ TrustreviewsProductReviews: {
711
+ questions_widget: {
712
+ product: '{{ product }}'
713
+ },
714
+ 'review-carousel': null,
715
+ reviews_text_widget: null,
716
+ reviews_widget: {
717
+ product: '{{ product }}'
718
+ },
719
+ shop_reviews_widget: null,
720
+ star_rating: {
721
+ product: '{{product}}',
722
+ hide_on_no_reviews: false,
723
+ enable_jsonld: false,
724
+ starsize: 16,
725
+ addtional_text: ''
726
+ },
727
+ 'reviews-testimonials': null,
728
+ all_reviews_widget: null,
729
+ 'review-cards': null,
730
+ 'review-gallery': null,
731
+ medals: null
732
+ }
733
+ };
734
+ const MyappgurusProductReviews = {
735
+ MyappgurusProductReviews: {
736
+ allReviews: {
737
+ Show_by_label: ''
738
+ },
739
+ allReviewsCounter: {
740
+ out_of_label: '',
741
+ stars_based_on_label: '',
742
+ reviews_label: ''
743
+ },
744
+ form: {
745
+ block_heading: '',
746
+ no_rating: '',
747
+ subtitle2: '',
748
+ review_btn: '',
749
+ see_all_reviews_label: '',
750
+ form_heading: '',
751
+ name_label: '',
752
+ email_label: '',
753
+ review_title_label: '',
754
+ review_description_label: '',
755
+ ratings_label: '',
756
+ delivery_ratings_label: '',
757
+ payment_ratings_label: '',
758
+ price_ratings_label: '',
759
+ review_image_label: '',
760
+ submit_btn_label: '',
761
+ cancel_btn_label: '',
762
+ sort_label: '',
763
+ sort1_label: '',
764
+ sort2_label: '',
765
+ sort3_label: '',
766
+ showing_label: '',
767
+ to_label: '',
768
+ of_label: '',
769
+ results_label: ''
770
+ },
771
+ star: null
772
+ }
773
+ };
709
774
  const composeSettingsByWidgetType = {
775
+ ...MyappgurusProductReviews,
776
+ ...TrustreviewsProductReviews,
710
777
  ...SeoantTrustBadgesIcon,
711
778
  ...SegunoEmailMarketing,
712
779
  ...AftershipEmailMarketingsms,
@@ -39,7 +39,9 @@ const mapShopifyAppMeta = {
39
39
  ...appConfig.SegunoEmailMarketingConfig,
40
40
  ...appConfig.TrustooConfig,
41
41
  ...appConfig.LooxReviewsConfig,
42
- ...appConfig.SeoantTrustBadgesIconConfig
42
+ ...appConfig.SeoantTrustBadgesIconConfig,
43
+ ...appConfig.TrustreviewsProductReviewsConfig,
44
+ ...appConfig.MyappgurusProductReviewsConfig
43
45
  };
44
46
  const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
45
47
 
@@ -32,7 +32,7 @@ const componentIconList = [
32
32
  const componentUsingAdvanced = [
33
33
  'IconList'
34
34
  ];
35
- const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageContext, additionalSettings, ...passProps })=>{
35
+ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageContext, enableLazyloadImage, ...passProps })=>{
36
36
  const item = builder[uid];
37
37
  const Component = components[item?.tag];
38
38
  if (!Component) {
@@ -71,7 +71,7 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
71
71
  advanced: item.advanced,
72
72
  parentId: componentsRenderWithParentId.includes(item.tag) ? parentId : null,
73
73
  pageContext,
74
- ...additionalSettings,
74
+ enableLazyloadImage,
75
75
  ...passProps,
76
76
  builderAttrs: {
77
77
  ...passProps.builderAttrs
@@ -84,7 +84,7 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
84
84
  components,
85
85
  customProps,
86
86
  pageContext,
87
- ...additionalSettings
87
+ enableLazyloadImage
88
88
  };
89
89
  }),
90
90
  children: !customRenderChildren.includes(item.tag) ? WrapRenderChildren({
@@ -97,7 +97,7 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
97
97
  customProps,
98
98
  parentTag: item.tag,
99
99
  pageContext,
100
- ...additionalSettings
100
+ enableLazyloadImage
101
101
  }))) : ''
102
102
  });
103
103
  }, ()=>{
@@ -113,7 +113,7 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
113
113
  isText: componentTexts.includes(item.tag) ? true : null,
114
114
  parentId: componentsRenderWithParentId.includes(item.tag) ? parentId : null,
115
115
  pageContext,
116
- ...additionalSettings,
116
+ enableLazyloadImage,
117
117
  ...passProps,
118
118
  builderAttrs: {
119
119
  ...passProps.builderAttrs
@@ -135,7 +135,7 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
135
135
  cssClass: item?.advanced?.cssClass
136
136
  },
137
137
  pageContext,
138
- ...additionalSettings,
138
+ enableLazyloadImage,
139
139
  ...passProps,
140
140
  builderAttrs: {
141
141
  ...passProps.builderAttrs
@@ -148,7 +148,7 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
148
148
  components,
149
149
  customProps,
150
150
  pageContext,
151
- ...additionalSettings
151
+ enableLazyloadImage
152
152
  };
153
153
  }),
154
154
  children: !customRenderChildren.includes(item.tag) ? WrapRenderChildren({
@@ -161,7 +161,7 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
161
161
  customProps,
162
162
  parentTag: item.tag,
163
163
  pageContext,
164
- ...additionalSettings
164
+ enableLazyloadImage
165
165
  }))) : ''
166
166
  });
167
167
  }, ()=>{
@@ -176,7 +176,7 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
176
176
  cssClass: item?.advanced?.cssClass
177
177
  },
178
178
  pageContext,
179
- ...additionalSettings,
179
+ enableLazyloadImage,
180
180
  isText: componentTexts.includes(item.tag) ? true : null,
181
181
  style: componentIconList.includes(item.tag) ? style : null,
182
182
  ...passProps,
@@ -220,5 +220,17 @@ const SeoantTrustBadgesIconConfig = {
220
220
  appId: 'f42f2346-5d14-4b41-a8b9-4b6ee352262e'
221
221
  }
222
222
  };
223
+ const TrustreviewsProductReviewsConfig = {
224
+ TrustreviewsProductReviews: {
225
+ appName: 'trustreviews',
226
+ appId: '56d0fe1b-e701-4cff-8f84-466a26e09adb'
227
+ }
228
+ };
229
+ const MyappgurusProductReviewsConfig = {
230
+ MyappgurusProductReviews: {
231
+ appName: 'mag-product-reviews',
232
+ appId: '0cf5caa0-e138-46b8-999b-520d16633e4c'
233
+ }
234
+ };
223
235
 
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 };
236
+ export { AftershipEmailMarketingsmsConfig, AppointmentBookingCowlendarConfig, BestBuyFulfillmentConfig, BoldSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, EasyBundleBuilderSkailamaConfig, FastBundleBundlesDiscountsConfig, FlyBundlesUpsellsFbtConfig, GloboProductOptionsVariantConfig, GrowaveConfig, InstasellShoppableInstagramConfig, JunipProductReviewsUgcConfig, KachingBundlesConfig, KiteFreeGiftDiscountConfig, LoloyalLoyaltyReferralsConfig, LoopSubscriptionsConfig, LooxReviewsConfig, MyappgurusProductReviewsConfig, PowerfulContactFormBuilderConfig, PreorderNowPreOrderPqConfig, PreorderNowWodPresaleConfig, ProductOptionsCustomizerConfig, PumperBundlesVolumeDiscountConfig, RechargeSubscriptionsConfig, ReviewxpoProductReviewsAppConfig, SegunoEmailMarketingConfig, SelleasyConfig, SeoantTrustBadgesIconConfig, ShopifyFormsConfig, SimpleBundlesKitsConfig, SkioSubscriptionsYcS20Config, SproutPlantTreesGrowSalesConfig, SubifySubscriptionsConfig, TrustooConfig, TrustreviewsProductReviewsConfig, UnlimitedBundlesDiscountsConfig, WhatmoreShoppableVideosreelConfig, WishlistKingConfig, YotpoReviewsV3UgcConfig };
@@ -704,7 +704,74 @@ const SeoantTrustBadgesIcon = {
704
704
  }
705
705
  }
706
706
  };
707
+ const TrustreviewsProductReviews = {
708
+ TrustreviewsProductReviews: {
709
+ questions_widget: {
710
+ product: '{{ product }}'
711
+ },
712
+ 'review-carousel': null,
713
+ reviews_text_widget: null,
714
+ reviews_widget: {
715
+ product: '{{ product }}'
716
+ },
717
+ shop_reviews_widget: null,
718
+ star_rating: {
719
+ product: '{{product}}',
720
+ hide_on_no_reviews: false,
721
+ enable_jsonld: false,
722
+ starsize: 16,
723
+ addtional_text: ''
724
+ },
725
+ 'reviews-testimonials': null,
726
+ all_reviews_widget: null,
727
+ 'review-cards': null,
728
+ 'review-gallery': null,
729
+ medals: null
730
+ }
731
+ };
732
+ const MyappgurusProductReviews = {
733
+ MyappgurusProductReviews: {
734
+ allReviews: {
735
+ Show_by_label: ''
736
+ },
737
+ allReviewsCounter: {
738
+ out_of_label: '',
739
+ stars_based_on_label: '',
740
+ reviews_label: ''
741
+ },
742
+ form: {
743
+ block_heading: '',
744
+ no_rating: '',
745
+ subtitle2: '',
746
+ review_btn: '',
747
+ see_all_reviews_label: '',
748
+ form_heading: '',
749
+ name_label: '',
750
+ email_label: '',
751
+ review_title_label: '',
752
+ review_description_label: '',
753
+ ratings_label: '',
754
+ delivery_ratings_label: '',
755
+ payment_ratings_label: '',
756
+ price_ratings_label: '',
757
+ review_image_label: '',
758
+ submit_btn_label: '',
759
+ cancel_btn_label: '',
760
+ sort_label: '',
761
+ sort1_label: '',
762
+ sort2_label: '',
763
+ sort3_label: '',
764
+ showing_label: '',
765
+ to_label: '',
766
+ of_label: '',
767
+ results_label: ''
768
+ },
769
+ star: null
770
+ }
771
+ };
707
772
  const composeSettingsByWidgetType = {
773
+ ...MyappgurusProductReviews,
774
+ ...TrustreviewsProductReviews,
708
775
  ...SeoantTrustBadgesIcon,
709
776
  ...SegunoEmailMarketing,
710
777
  ...AftershipEmailMarketingsms,
@@ -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, TrustooConfig, LooxReviewsConfig, SeoantTrustBadgesIconConfig } 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, TrustreviewsProductReviewsConfig, MyappgurusProductReviewsConfig } from './appConfig.js';
2
2
 
3
3
  const mapShopifyAppMeta = {
4
4
  ...RechargeSubscriptionsConfig,
@@ -37,7 +37,9 @@ const mapShopifyAppMeta = {
37
37
  ...SegunoEmailMarketingConfig,
38
38
  ...TrustooConfig,
39
39
  ...LooxReviewsConfig,
40
- ...SeoantTrustBadgesIconConfig
40
+ ...SeoantTrustBadgesIconConfig,
41
+ ...TrustreviewsProductReviewsConfig,
42
+ ...MyappgurusProductReviewsConfig
41
43
  };
42
44
  const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
43
45
 
@@ -31316,10 +31316,10 @@ type Props = {
31316
31316
  components: Record<string, any>;
31317
31317
  extraFiles?: ExtraFiles;
31318
31318
  pageContext?: PageContext;
31319
- additionalSettings?: Record<string, any>;
31319
+ enableLazyloadImage?: boolean;
31320
31320
  [key: string]: any;
31321
31321
  };
31322
- declare const Render: ({ uid, builder, components, parentId, extraFiles, pageContext, additionalSettings, ...passProps }: Props) => {
31322
+ declare const Render: ({ uid, builder, components, parentId, extraFiles, pageContext, enableLazyloadImage, ...passProps }: Props) => {
31323
31323
  liquid: string;
31324
31324
  extraFiles: ExtraFiles;
31325
31325
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/core",
3
- "version": "1.58.0-staging.90",
3
+ "version": "1.58.0-staging.98",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",