@gem-sdk/core 2.2.0-staging.50 → 2.2.0-staging.57

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,
@@ -342,18 +342,18 @@ const EcoboostifyShoppableReelUgcConfig = {
342
342
  appId: '24110205-fc49-453b-ac2b-ceea2bf6a8f3'
343
343
  }
344
344
  };
345
- const ReleasitConfig = {
346
- Releasit: {
347
- appName: 'releasit-cod-form',
348
- appId: '72faf214-4174-4fec-886b-0d0e8d3af9a2'
349
- }
350
- };
351
345
  const AppstleBundlesDiscountsConfig = {
352
346
  AppstleBundlesDiscounts: {
353
347
  appName: 'appstle-bundles',
354
348
  appId: '8909921b-2d24-4d68-9b12-9d045d3dcb0a'
355
349
  }
356
350
  };
351
+ const ReleasitConfig = {
352
+ Releasit: {
353
+ appName: 'releasit-cod-form',
354
+ appId: '72faf214-4174-4fec-886b-0d0e8d3af9a2'
355
+ }
356
+ };
357
357
 
358
358
  exports.AftershipEmailMarketingsmsConfig = AftershipEmailMarketingsmsConfig;
359
359
  exports.AppointmentBookingCowlendarConfig = AppointmentBookingCowlendarConfig;
@@ -60,8 +60,8 @@ const mapShopifyAppMeta = {
60
60
  ...appConfig.ShopifySubscriptionsConfig,
61
61
  ...appConfig.QikifyUpsellConfig,
62
62
  ...appConfig.EcoboostifyShoppableReelUgcConfig,
63
- ...appConfig.ReleasitConfig,
64
- ...appConfig.AppstleBundlesDiscountsConfig
63
+ ...appConfig.AppstleBundlesDiscountsConfig,
64
+ ...appConfig.ReleasitConfig
65
65
  };
66
66
  const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
67
67
 
@@ -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,
@@ -340,17 +340,17 @@ const EcoboostifyShoppableReelUgcConfig = {
340
340
  appId: '24110205-fc49-453b-ac2b-ceea2bf6a8f3'
341
341
  }
342
342
  };
343
- const ReleasitConfig = {
344
- Releasit: {
345
- appName: 'releasit-cod-form',
346
- appId: '72faf214-4174-4fec-886b-0d0e8d3af9a2'
347
- }
348
- };
349
343
  const AppstleBundlesDiscountsConfig = {
350
344
  AppstleBundlesDiscounts: {
351
345
  appName: 'appstle-bundles',
352
346
  appId: '8909921b-2d24-4d68-9b12-9d045d3dcb0a'
353
347
  }
354
348
  };
349
+ const ReleasitConfig = {
350
+ Releasit: {
351
+ appName: 'releasit-cod-form',
352
+ appId: '72faf214-4174-4fec-886b-0d0e8d3af9a2'
353
+ }
354
+ };
355
355
 
356
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 };
@@ -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, ReleasitConfig, AppstleBundlesDiscountsConfig } 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 } from './appConfig.js';
2
2
 
3
3
  const mapShopifyAppMeta = {
4
4
  ...RechargeSubscriptionsConfig,
@@ -58,8 +58,8 @@ const mapShopifyAppMeta = {
58
58
  ...ShopifySubscriptionsConfig,
59
59
  ...QikifyUpsellConfig,
60
60
  ...EcoboostifyShoppableReelUgcConfig,
61
- ...ReleasitConfig,
62
- ...AppstleBundlesDiscountsConfig
61
+ ...AppstleBundlesDiscountsConfig,
62
+ ...ReleasitConfig
63
63
  };
64
64
  const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
65
65
 
@@ -7438,7 +7438,6 @@ type BaseProps<Setting = unknown, Style = unknown, Advanced = AdvancedType> = {
7438
7438
  styles?: Style;
7439
7439
  setting?: Setting;
7440
7440
  advanced?: Advanced;
7441
- enableLazyLoadImage?: boolean;
7442
7441
  };
7443
7442
  type BasePropsWrap<S = unknown, Style = unknown, A = Record<string, any>> = BaseProps<S, Style, A> & {
7444
7443
  builderAttrs?: Record<string, any>;
@@ -8885,6 +8884,7 @@ type PageContext = {
8885
8884
  isTranslateWithLocale?: boolean;
8886
8885
  sectionName?: string;
8887
8886
  isOptimizePlan?: boolean;
8887
+ enableLazyLoadImage?: boolean;
8888
8888
  };
8889
8889
  type OnlyOne<T, U> = (T & {
8890
8890
  [K in keyof U]?: never;
@@ -35916,10 +35916,9 @@ type Props = {
35916
35916
  components: Record<string, any>;
35917
35917
  extraFiles?: ExtraFiles;
35918
35918
  pageContext?: PageContext;
35919
- enableLazyLoadImage?: boolean;
35920
35919
  [key: string]: any;
35921
35920
  };
35922
- declare const Render: ({ uid, builder, components, parentId, extraFiles, pageContext, enableLazyLoadImage, ...passProps }: Props) => {
35921
+ declare const Render: ({ uid, builder, components, parentId, extraFiles, pageContext, ...passProps }: Props) => {
35923
35922
  liquid: string;
35924
35923
  extraFiles: ExtraFiles;
35925
35924
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/core",
3
- "version": "2.2.0-staging.50",
3
+ "version": "2.2.0-staging.57",
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": "2.1.27-staging.0",
31
- "@gem-sdk/styles": "2.1.27-staging.13",
31
+ "@gem-sdk/styles": "2.2.0-staging.52",
32
32
  "@types/classnames": "^2.3.1"
33
33
  },
34
34
  "dependencies": {