@gem-sdk/core 2.6.0-staging.19 → 2.6.0-staging.29

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 componentUsingAdvanced = [
36
36
  'IconList',
37
37
  'ProductVariants'
38
38
  ];
39
- const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageContext, enableLazyloadImage, ...passProps })=>{
39
+ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageContext, ...passProps })=>{
40
40
  const item = builder[uid];
41
41
  const Component = components[item?.tag];
42
42
  if (!Component) {
@@ -75,7 +75,6 @@ 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
- enableLazyloadImage,
79
78
  ...passProps,
80
79
  builderAttrs: {
81
80
  ...passProps.builderAttrs
@@ -87,8 +86,7 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
87
86
  builder,
88
87
  components,
89
88
  customProps,
90
- pageContext,
91
- enableLazyloadImage
89
+ pageContext
92
90
  };
93
91
  }),
94
92
  children: !constant.customRenderChildren.includes(item.tag) ? WrapRenderChildren({
@@ -100,8 +98,7 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
100
98
  components,
101
99
  customProps,
102
100
  parentTag: item.tag,
103
- pageContext,
104
- enableLazyloadImage
101
+ pageContext
105
102
  }))) : ''
106
103
  });
107
104
  }, ()=>{
@@ -117,7 +114,6 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
117
114
  isText: componentTexts.includes(item.tag) ? true : null,
118
115
  parentId: componentsRenderWithParentId.includes(item.tag) ? parentId : null,
119
116
  pageContext,
120
- enableLazyloadImage,
121
117
  ...passProps,
122
118
  builderAttrs: {
123
119
  ...passProps.builderAttrs
@@ -139,7 +135,6 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
139
135
  cssClass: item?.advanced?.cssClass
140
136
  },
141
137
  pageContext,
142
- enableLazyloadImage,
143
138
  ...passProps,
144
139
  builderAttrs: {
145
140
  ...passProps.builderAttrs
@@ -151,8 +146,7 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
151
146
  builder,
152
147
  components,
153
148
  customProps,
154
- pageContext,
155
- enableLazyloadImage
149
+ pageContext
156
150
  };
157
151
  }),
158
152
  children: !constant.customRenderChildren.includes(item.tag) ? WrapRenderChildren({
@@ -164,8 +158,7 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
164
158
  components,
165
159
  customProps,
166
160
  parentTag: item.tag,
167
- pageContext,
168
- enableLazyloadImage
161
+ pageContext
169
162
  }))) : ''
170
163
  });
171
164
  }, ()=>{
@@ -181,7 +174,6 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
181
174
  cssClass: item?.advanced?.cssClass
182
175
  },
183
176
  pageContext,
184
- enableLazyloadImage,
185
177
  isText: componentTexts.includes(item.tag) ? true : null,
186
178
  style: componentIconList.includes(item.tag) ? style : null,
187
179
  ...passProps,
@@ -354,8 +354,15 @@ const ReleasitConfig = {
354
354
  appId: '72faf214-4174-4fec-886b-0d0e8d3af9a2'
355
355
  }
356
356
  };
357
+ const AovFreeGiftBuyXGetYBogoConfig = {
358
+ AovFreeGiftBuyXGetYBogo: {
359
+ appName: 'aov-free-gift-bxgy',
360
+ appId: 'de98edfe-90fa-4145-8a57-1055e0058723'
361
+ }
362
+ };
357
363
 
358
364
  exports.AftershipEmailMarketingsmsConfig = AftershipEmailMarketingsmsConfig;
365
+ exports.AovFreeGiftBuyXGetYBogoConfig = AovFreeGiftBuyXGetYBogoConfig;
359
366
  exports.AppointmentBookingCowlendarConfig = AppointmentBookingCowlendarConfig;
360
367
  exports.AppstleBundlesDiscountsConfig = AppstleBundlesDiscountsConfig;
361
368
  exports.BestBuyFulfillmentConfig = BestBuyFulfillmentConfig;
@@ -1258,7 +1258,13 @@ const Releasit = {
1258
1258
  }
1259
1259
  }
1260
1260
  };
1261
+ const AovFreeGiftBuyXGetYBogo = {
1262
+ AovFreeGiftBuyXGetYBogo: {
1263
+ 'avada-promotion-card': null
1264
+ }
1265
+ };
1261
1266
  const composeSettingsByWidgetType = {
1267
+ ...AovFreeGiftBuyXGetYBogo,
1262
1268
  ...AppstleBundlesDiscounts,
1263
1269
  ...HextomCountdownTimerBar,
1264
1270
  ...EstimatedDeliveryDatePlus,
@@ -61,7 +61,8 @@ const mapShopifyAppMeta = {
61
61
  ...appConfig.QikifyUpsellConfig,
62
62
  ...appConfig.EcoboostifyShoppableReelUgcConfig,
63
63
  ...appConfig.AppstleBundlesDiscountsConfig,
64
- ...appConfig.ReleasitConfig
64
+ ...appConfig.ReleasitConfig,
65
+ ...appConfig.AovFreeGiftBuyXGetYBogoConfig
65
66
  };
66
67
  const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
67
68
 
@@ -32,7 +32,7 @@ const componentUsingAdvanced = [
32
32
  'IconList',
33
33
  'ProductVariants'
34
34
  ];
35
- const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageContext, enableLazyloadImage, ...passProps })=>{
35
+ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageContext, ...passProps })=>{
36
36
  const item = builder[uid];
37
37
  const Component = components[item?.tag];
38
38
  if (!Component) {
@@ -71,7 +71,6 @@ 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
- enableLazyloadImage,
75
74
  ...passProps,
76
75
  builderAttrs: {
77
76
  ...passProps.builderAttrs
@@ -83,8 +82,7 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
83
82
  builder,
84
83
  components,
85
84
  customProps,
86
- pageContext,
87
- enableLazyloadImage
85
+ pageContext
88
86
  };
89
87
  }),
90
88
  children: !customRenderChildren.includes(item.tag) ? WrapRenderChildren({
@@ -96,8 +94,7 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
96
94
  components,
97
95
  customProps,
98
96
  parentTag: item.tag,
99
- pageContext,
100
- enableLazyloadImage
97
+ pageContext
101
98
  }))) : ''
102
99
  });
103
100
  }, ()=>{
@@ -113,7 +110,6 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
113
110
  isText: componentTexts.includes(item.tag) ? true : null,
114
111
  parentId: componentsRenderWithParentId.includes(item.tag) ? parentId : null,
115
112
  pageContext,
116
- enableLazyloadImage,
117
113
  ...passProps,
118
114
  builderAttrs: {
119
115
  ...passProps.builderAttrs
@@ -135,7 +131,6 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
135
131
  cssClass: item?.advanced?.cssClass
136
132
  },
137
133
  pageContext,
138
- enableLazyloadImage,
139
134
  ...passProps,
140
135
  builderAttrs: {
141
136
  ...passProps.builderAttrs
@@ -147,8 +142,7 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
147
142
  builder,
148
143
  components,
149
144
  customProps,
150
- pageContext,
151
- enableLazyloadImage
145
+ pageContext
152
146
  };
153
147
  }),
154
148
  children: !customRenderChildren.includes(item.tag) ? WrapRenderChildren({
@@ -160,8 +154,7 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
160
154
  components,
161
155
  customProps,
162
156
  parentTag: item.tag,
163
- pageContext,
164
- enableLazyloadImage
157
+ pageContext
165
158
  }))) : ''
166
159
  });
167
160
  }, ()=>{
@@ -177,7 +170,6 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
177
170
  cssClass: item?.advanced?.cssClass
178
171
  },
179
172
  pageContext,
180
- enableLazyloadImage,
181
173
  isText: componentTexts.includes(item.tag) ? true : null,
182
174
  style: componentIconList.includes(item.tag) ? style : null,
183
175
  ...passProps,
@@ -352,5 +352,11 @@ const ReleasitConfig = {
352
352
  appId: '72faf214-4174-4fec-886b-0d0e8d3af9a2'
353
353
  }
354
354
  };
355
+ const AovFreeGiftBuyXGetYBogoConfig = {
356
+ AovFreeGiftBuyXGetYBogo: {
357
+ appName: 'aov-free-gift-bxgy',
358
+ appId: 'de98edfe-90fa-4145-8a57-1055e0058723'
359
+ }
360
+ };
355
361
 
356
- export { AftershipEmailMarketingsmsConfig, AppointmentBookingCowlendarConfig, AppstleBundlesDiscountsConfig, BestBuyFulfillmentConfig, BfSizeChartSizeGuideConfig, BoldSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, BoostAISearchDiscoveryConfig, EasyBundleBuilderSkailamaConfig, EcoboostifyShoppableReelUgcConfig, EssentialAnnouncementBarConfig, EssentialCountdownTimerBarConfig, EstimatedDeliveryDatePlusConfig, FastBundleBundlesDiscountsConfig, FlyBundlesUpsellsFbtConfig, GloColorSwatchvariantImageConfig, GloboProductOptionsVariantConfig, GrowaveConfig, HextomCountdownTimerBarConfig, HextomFreeShippingBarConfig, HulkProductOptionsConfig, InstasellShoppableInstagramConfig, JunipProductReviewsUgcConfig, KachingBundlesConfig, KiteFreeGiftDiscountConfig, LoloyalLoyaltyReferralsConfig, LoopSubscriptionsConfig, LooxReviewsConfig, MyappgurusProductReviewsConfig, OkendoReviewsLoyaltyConfig, PowerfulContactFormBuilderConfig, PowrContactFormBuilderConfig, PreorderNowPreOrderPqConfig, PreorderNowWodPresaleConfig, ProductOptionsCustomizerConfig, PumperBundlesVolumeDiscountConfig, QikifyUpsellConfig, RechargeSubscriptionsConfig, ReleasitConfig, ReviewxpoProductReviewsAppConfig, SegunoEmailMarketingConfig, SelleasyConfig, SeoantTrustBadgesIconConfig, ShopifyFormsConfig, ShopifySubscriptionsConfig, SimpleBundlesKitsConfig, SkioSubscriptionsYcS20Config, SproutPlantTreesGrowSalesConfig, StampedConfig, SubifySubscriptionsConfig, TrustBadgesBearConfig, TrustedsiteTrustBadgesConfig, TrustooConfig, TrustreviewsProductReviewsConfig, TrustshopProductReviewsConfig, UnlimitedBundlesDiscountsConfig, WhatmoreShoppableVideosreelConfig, WishlistKingConfig, YotpoReviewsV3UgcConfig };
362
+ export { AftershipEmailMarketingsmsConfig, AovFreeGiftBuyXGetYBogoConfig, AppointmentBookingCowlendarConfig, AppstleBundlesDiscountsConfig, BestBuyFulfillmentConfig, BfSizeChartSizeGuideConfig, BoldSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, BoostAISearchDiscoveryConfig, EasyBundleBuilderSkailamaConfig, EcoboostifyShoppableReelUgcConfig, EssentialAnnouncementBarConfig, EssentialCountdownTimerBarConfig, EstimatedDeliveryDatePlusConfig, FastBundleBundlesDiscountsConfig, FlyBundlesUpsellsFbtConfig, GloColorSwatchvariantImageConfig, GloboProductOptionsVariantConfig, GrowaveConfig, HextomCountdownTimerBarConfig, HextomFreeShippingBarConfig, HulkProductOptionsConfig, InstasellShoppableInstagramConfig, JunipProductReviewsUgcConfig, KachingBundlesConfig, KiteFreeGiftDiscountConfig, LoloyalLoyaltyReferralsConfig, LoopSubscriptionsConfig, LooxReviewsConfig, MyappgurusProductReviewsConfig, OkendoReviewsLoyaltyConfig, PowerfulContactFormBuilderConfig, PowrContactFormBuilderConfig, PreorderNowPreOrderPqConfig, PreorderNowWodPresaleConfig, ProductOptionsCustomizerConfig, PumperBundlesVolumeDiscountConfig, QikifyUpsellConfig, RechargeSubscriptionsConfig, ReleasitConfig, ReviewxpoProductReviewsAppConfig, SegunoEmailMarketingConfig, SelleasyConfig, SeoantTrustBadgesIconConfig, ShopifyFormsConfig, ShopifySubscriptionsConfig, SimpleBundlesKitsConfig, SkioSubscriptionsYcS20Config, SproutPlantTreesGrowSalesConfig, StampedConfig, SubifySubscriptionsConfig, TrustBadgesBearConfig, TrustedsiteTrustBadgesConfig, TrustooConfig, TrustreviewsProductReviewsConfig, TrustshopProductReviewsConfig, UnlimitedBundlesDiscountsConfig, WhatmoreShoppableVideosreelConfig, WishlistKingConfig, YotpoReviewsV3UgcConfig };
@@ -1256,7 +1256,13 @@ const Releasit = {
1256
1256
  }
1257
1257
  }
1258
1258
  };
1259
+ const AovFreeGiftBuyXGetYBogo = {
1260
+ AovFreeGiftBuyXGetYBogo: {
1261
+ 'avada-promotion-card': null
1262
+ }
1263
+ };
1259
1264
  const composeSettingsByWidgetType = {
1265
+ ...AovFreeGiftBuyXGetYBogo,
1260
1266
  ...AppstleBundlesDiscounts,
1261
1267
  ...HextomCountdownTimerBar,
1262
1268
  ...EstimatedDeliveryDatePlus,
@@ -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, TrustooConfig, LooxReviewsConfig, PowrContactFormBuilderConfig, BestBuyFulfillmentConfig, AftershipEmailMarketingsmsConfig, SegunoEmailMarketingConfig, SeoantTrustBadgesIconConfig, TrustreviewsProductReviewsConfig, MyappgurusProductReviewsConfig, HulkProductOptionsConfig, TrustshopProductReviewsConfig, StampedConfig, BoostAISearchDiscoveryConfig, EssentialCountdownTimerBarConfig, EssentialAnnouncementBarConfig, OkendoReviewsLoyaltyConfig, EstimatedDeliveryDatePlusConfig, HextomCountdownTimerBarConfig, TrustBadgesBearConfig, TrustedsiteTrustBadgesConfig, GloColorSwatchvariantImageConfig, BfSizeChartSizeGuideConfig, HextomFreeShippingBarConfig, ShopifySubscriptionsConfig, QikifyUpsellConfig, EcoboostifyShoppableReelUgcConfig, AppstleBundlesDiscountsConfig, ReleasitConfig } 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, TrustooConfig, LooxReviewsConfig, PowrContactFormBuilderConfig, BestBuyFulfillmentConfig, AftershipEmailMarketingsmsConfig, SegunoEmailMarketingConfig, SeoantTrustBadgesIconConfig, TrustreviewsProductReviewsConfig, MyappgurusProductReviewsConfig, HulkProductOptionsConfig, TrustshopProductReviewsConfig, StampedConfig, BoostAISearchDiscoveryConfig, EssentialCountdownTimerBarConfig, EssentialAnnouncementBarConfig, OkendoReviewsLoyaltyConfig, EstimatedDeliveryDatePlusConfig, HextomCountdownTimerBarConfig, TrustBadgesBearConfig, TrustedsiteTrustBadgesConfig, GloColorSwatchvariantImageConfig, BfSizeChartSizeGuideConfig, HextomFreeShippingBarConfig, ShopifySubscriptionsConfig, QikifyUpsellConfig, EcoboostifyShoppableReelUgcConfig, AppstleBundlesDiscountsConfig, ReleasitConfig, AovFreeGiftBuyXGetYBogoConfig } from './appConfig.js';
2
2
 
3
3
  const mapShopifyAppMeta = {
4
4
  ...RechargeSubscriptionsConfig,
@@ -59,7 +59,8 @@ const mapShopifyAppMeta = {
59
59
  ...QikifyUpsellConfig,
60
60
  ...EcoboostifyShoppableReelUgcConfig,
61
61
  ...AppstleBundlesDiscountsConfig,
62
- ...ReleasitConfig
62
+ ...ReleasitConfig,
63
+ ...AovFreeGiftBuyXGetYBogoConfig
63
64
  };
64
65
  const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
65
66
 
@@ -7488,7 +7488,7 @@ type StampedWidgetTypeV2 = 'main-widget' | 'product-rating-image' | 'badge-doubl
7488
7488
  type LaiProductReviewsWidgetType = 'reviews_widget' | 'star_ratings' | 'homepage_reviews' | 'happy_customer_reviews' | 'star_ratings_in_list' | 'advanced_widget';
7489
7489
  type LaiProductReviewsAdvancedWidgetType = 'cardCarousel' | 'testimonialCarousel' | 'mediaGallery' | 'cardGrid';
7490
7490
  type YotpoReviewsWidgetType = 'reviews' | 'star-rating' | 'reviewHighlights';
7491
- type BogosWidgetType = 'icon' | 'thumnail' | 'slider' | 'message' | 'classic-bundle' | 'quantity-break' | 'mix-match' | 'classic-bundle';
7491
+ type BogosWidgetType = 'icon' | 'thumnail' | 'slider' | 'message' | 'classic-bundle' | 'quantity-break' | 'mix-match' | 'classic-bundle' | 'fbt';
7492
7492
  type PreOrderNowWodWidgetType = 'app-block' | 'popups-block';
7493
7493
  type TagShopWidgetType = 'homeLandingGalleries' | 'productGalleries' | 'tagGalleries';
7494
7494
  type AirProductReview = 'review_box' | 'star_rating' | 'review_carousel';
@@ -8889,6 +8889,8 @@ type PageContext = {
8889
8889
  pageType?: string;
8890
8890
  isTranslateWithLocale?: boolean;
8891
8891
  sectionName?: string;
8892
+ isOptimizePlan?: boolean;
8893
+ enableLazyLoadImage?: boolean;
8892
8894
  };
8893
8895
  type OnlyOne<T, U> = (T & {
8894
8896
  [K in keyof U]?: never;
@@ -35921,10 +35923,9 @@ type Props = {
35921
35923
  components: Record<string, any>;
35922
35924
  extraFiles?: ExtraFiles;
35923
35925
  pageContext?: PageContext;
35924
- enableLazyloadImage?: boolean;
35925
35926
  [key: string]: any;
35926
35927
  };
35927
- declare const Render: ({ uid, builder, components, parentId, extraFiles, pageContext, enableLazyloadImage, ...passProps }: Props) => {
35928
+ declare const Render: ({ uid, builder, components, parentId, extraFiles, pageContext, ...passProps }: Props) => {
35928
35929
  liquid: string;
35929
35930
  extraFiles: ExtraFiles;
35930
35931
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/core",
3
- "version": "2.6.0-staging.19",
3
+ "version": "2.6.0-staging.29",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",