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

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, ...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,6 +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
+ enableLazyloadImage,
78
79
  ...passProps,
79
80
  builderAttrs: {
80
81
  ...passProps.builderAttrs
@@ -86,7 +87,8 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
86
87
  builder,
87
88
  components,
88
89
  customProps,
89
- pageContext
90
+ pageContext,
91
+ enableLazyloadImage
90
92
  };
91
93
  }),
92
94
  children: !constant.customRenderChildren.includes(item.tag) ? WrapRenderChildren({
@@ -98,7 +100,8 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
98
100
  components,
99
101
  customProps,
100
102
  parentTag: item.tag,
101
- pageContext
103
+ pageContext,
104
+ enableLazyloadImage
102
105
  }))) : ''
103
106
  });
104
107
  }, ()=>{
@@ -114,6 +117,7 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
114
117
  isText: componentTexts.includes(item.tag) ? true : null,
115
118
  parentId: componentsRenderWithParentId.includes(item.tag) ? parentId : null,
116
119
  pageContext,
120
+ enableLazyloadImage,
117
121
  ...passProps,
118
122
  builderAttrs: {
119
123
  ...passProps.builderAttrs
@@ -135,6 +139,7 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
135
139
  cssClass: item?.advanced?.cssClass
136
140
  },
137
141
  pageContext,
142
+ enableLazyloadImage,
138
143
  ...passProps,
139
144
  builderAttrs: {
140
145
  ...passProps.builderAttrs
@@ -146,7 +151,8 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
146
151
  builder,
147
152
  components,
148
153
  customProps,
149
- pageContext
154
+ pageContext,
155
+ enableLazyloadImage
150
156
  };
151
157
  }),
152
158
  children: !constant.customRenderChildren.includes(item.tag) ? WrapRenderChildren({
@@ -158,7 +164,8 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
158
164
  components,
159
165
  customProps,
160
166
  parentTag: item.tag,
161
- pageContext
167
+ pageContext,
168
+ enableLazyloadImage
162
169
  }))) : ''
163
170
  });
164
171
  }, ()=>{
@@ -174,6 +181,7 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
174
181
  cssClass: item?.advanced?.cssClass
175
182
  },
176
183
  pageContext,
184
+ enableLazyloadImage,
177
185
  isText: componentTexts.includes(item.tag) ? true : null,
178
186
  style: componentIconList.includes(item.tag) ? style : null,
179
187
  ...passProps,
@@ -12,7 +12,6 @@ var RenderSection = require('./RenderSection.js');
12
12
 
13
13
  const RenderPreview = ({ uid, ...passProps })=>{
14
14
  const item = BuilderPreviewContext.useBuilderPreviewStore((s)=>s.getItem(uid));
15
- BuilderPreviewContext.useBuilderPreviewStore((s)=>s.getState());
16
15
  const Component = BuilderComponent.useBuilderComponent(item?.tag);
17
16
  if (!item) return null;
18
17
  if (item?.type === 'section') {
@@ -256,9 +256,6 @@ const createBuilderPreviewProvider = (args, pageName, isThemeSectionEditor)=>zus
256
256
  getItem: (id)=>{
257
257
  return get().state[id];
258
258
  },
259
- getState: ()=>{
260
- return get().state;
261
- },
262
259
  removeItem: (id)=>{
263
260
  if (id === 'ROOT') {
264
261
  set({
@@ -348,12 +348,6 @@ const AppstleBundlesDiscountsConfig = {
348
348
  appId: '8909921b-2d24-4d68-9b12-9d045d3dcb0a'
349
349
  }
350
350
  };
351
- const ReleasitConfig = {
352
- Releasit: {
353
- appName: 'releasit-cod-form',
354
- appId: '72faf214-4174-4fec-886b-0d0e8d3af9a2'
355
- }
356
- };
357
351
 
358
352
  exports.AftershipEmailMarketingsmsConfig = AftershipEmailMarketingsmsConfig;
359
353
  exports.AppointmentBookingCowlendarConfig = AppointmentBookingCowlendarConfig;
@@ -393,7 +387,6 @@ exports.ProductOptionsCustomizerConfig = ProductOptionsCustomizerConfig;
393
387
  exports.PumperBundlesVolumeDiscountConfig = PumperBundlesVolumeDiscountConfig;
394
388
  exports.QikifyUpsellConfig = QikifyUpsellConfig;
395
389
  exports.RechargeSubscriptionsConfig = RechargeSubscriptionsConfig;
396
- exports.ReleasitConfig = ReleasitConfig;
397
390
  exports.ReviewxpoProductReviewsAppConfig = ReviewxpoProductReviewsAppConfig;
398
391
  exports.SegunoEmailMarketingConfig = SegunoEmailMarketingConfig;
399
392
  exports.SelleasyConfig = SelleasyConfig;
@@ -278,13 +278,6 @@ const overrideSettings = (tag, currentSetting, appSetting)=>{
278
278
  playlist_id: appSetting?.['playlistId']
279
279
  };
280
280
  }
281
- case 'Releasit':
282
- {
283
- return {
284
- ...currentSetting,
285
- product: appSetting?.['productHandle'] || '{{ product }}'
286
- };
287
- }
288
281
  default:
289
282
  return currentSetting;
290
283
  }
@@ -1228,16 +1221,6 @@ const EcoboostifyShoppableReelUgc = {
1228
1221
  }
1229
1222
  }
1230
1223
  };
1231
- const Releasit = {
1232
- Releasit: {
1233
- 'button-app-block': {
1234
- product: '{{product}}'
1235
- },
1236
- 'form-app-block': {
1237
- product: '{{product}}'
1238
- }
1239
- }
1240
- };
1241
1224
  const AppstleBundlesDiscounts = {
1242
1225
  AppstleBundlesDiscounts: {
1243
1226
  'appstle-classic-bundle': null,
@@ -1302,8 +1285,7 @@ const composeSettingsByWidgetType = {
1302
1285
  ...HextomFreeShippingBar,
1303
1286
  ...ShopifySubscriptions,
1304
1287
  ...QikifyUpsell,
1305
- ...EcoboostifyShoppableReelUgc,
1306
- ...Releasit
1288
+ ...EcoboostifyShoppableReelUgc
1307
1289
  };
1308
1290
 
1309
1291
  exports.composeSettingsByWidgetType = composeSettingsByWidgetType;
@@ -60,8 +60,7 @@ const mapShopifyAppMeta = {
60
60
  ...appConfig.ShopifySubscriptionsConfig,
61
61
  ...appConfig.QikifyUpsellConfig,
62
62
  ...appConfig.EcoboostifyShoppableReelUgcConfig,
63
- ...appConfig.AppstleBundlesDiscountsConfig,
64
- ...appConfig.ReleasitConfig
63
+ ...appConfig.AppstleBundlesDiscountsConfig
65
64
  };
66
65
  const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
67
66
 
@@ -7,8 +7,7 @@ const listAppUpdateNewVersion = [
7
7
  'Growave',
8
8
  'Trustoo',
9
9
  'LooxReviews',
10
- 'Stamped',
11
- 'Releasit'
10
+ 'Stamped'
12
11
  ];
13
12
  const listThirdPartyRejectAppBlock = {
14
13
  YotpoReviews: {
@@ -22,9 +21,6 @@ const listThirdPartyRejectAppBlock = {
22
21
  },
23
22
  Stamped: {
24
23
  conditionToReject: 'settings?.version === "v1"'
25
- },
26
- Releasit: {
27
- conditionToReject: 'settings?.version === "v1"'
28
24
  }
29
25
  };
30
26
  const getAppBlockConfig = (tag, appBlockId, settings)=>{
@@ -39,7 +35,7 @@ const getAppBlockConfig = (tag, appBlockId, settings)=>{
39
35
  tag,
40
36
  widgetType
41
37
  });
42
- const settingByWidget = appSetting.composeSettingsByWidgetType?.[tag]?.[widgetType];
38
+ const settingByWidget = appSetting.composeSettingsByWidgetType[tag][settings?.widgetType];
43
39
  const appSettings = appSetting.overrideSettings(tag, settingByWidget, settings);
44
40
  return {
45
41
  key: appBlockId,
@@ -32,7 +32,7 @@ const componentUsingAdvanced = [
32
32
  'IconList',
33
33
  'ProductVariants'
34
34
  ];
35
- const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageContext, ...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,6 +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
+ enableLazyloadImage,
74
75
  ...passProps,
75
76
  builderAttrs: {
76
77
  ...passProps.builderAttrs
@@ -82,7 +83,8 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
82
83
  builder,
83
84
  components,
84
85
  customProps,
85
- pageContext
86
+ pageContext,
87
+ enableLazyloadImage
86
88
  };
87
89
  }),
88
90
  children: !customRenderChildren.includes(item.tag) ? WrapRenderChildren({
@@ -94,7 +96,8 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
94
96
  components,
95
97
  customProps,
96
98
  parentTag: item.tag,
97
- pageContext
99
+ pageContext,
100
+ enableLazyloadImage
98
101
  }))) : ''
99
102
  });
100
103
  }, ()=>{
@@ -110,6 +113,7 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
110
113
  isText: componentTexts.includes(item.tag) ? true : null,
111
114
  parentId: componentsRenderWithParentId.includes(item.tag) ? parentId : null,
112
115
  pageContext,
116
+ enableLazyloadImage,
113
117
  ...passProps,
114
118
  builderAttrs: {
115
119
  ...passProps.builderAttrs
@@ -131,6 +135,7 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
131
135
  cssClass: item?.advanced?.cssClass
132
136
  },
133
137
  pageContext,
138
+ enableLazyloadImage,
134
139
  ...passProps,
135
140
  builderAttrs: {
136
141
  ...passProps.builderAttrs
@@ -142,7 +147,8 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
142
147
  builder,
143
148
  components,
144
149
  customProps,
145
- pageContext
150
+ pageContext,
151
+ enableLazyloadImage
146
152
  };
147
153
  }),
148
154
  children: !customRenderChildren.includes(item.tag) ? WrapRenderChildren({
@@ -154,7 +160,8 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
154
160
  components,
155
161
  customProps,
156
162
  parentTag: item.tag,
157
- pageContext
163
+ pageContext,
164
+ enableLazyloadImage
158
165
  }))) : ''
159
166
  });
160
167
  }, ()=>{
@@ -170,6 +177,7 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
170
177
  cssClass: item?.advanced?.cssClass
171
178
  },
172
179
  pageContext,
180
+ enableLazyloadImage,
173
181
  isText: componentTexts.includes(item.tag) ? true : null,
174
182
  style: componentIconList.includes(item.tag) ? style : null,
175
183
  ...passProps,
@@ -8,7 +8,6 @@ import RenderSectionMemo from './RenderSection.js';
8
8
 
9
9
  const RenderPreview = ({ uid, ...passProps })=>{
10
10
  const item = useBuilderPreviewStore((s)=>s.getItem(uid));
11
- useBuilderPreviewStore((s)=>s.getState());
12
11
  const Component = useBuilderComponent(item?.tag);
13
12
  if (!item) return null;
14
13
  if (item?.type === 'section') {
@@ -254,9 +254,6 @@ const createBuilderPreviewProvider = (args, pageName, isThemeSectionEditor)=>cre
254
254
  getItem: (id)=>{
255
255
  return get().state[id];
256
256
  },
257
- getState: ()=>{
258
- return get().state;
259
- },
260
257
  removeItem: (id)=>{
261
258
  if (id === 'ROOT') {
262
259
  set({
@@ -346,11 +346,5 @@ const AppstleBundlesDiscountsConfig = {
346
346
  appId: '8909921b-2d24-4d68-9b12-9d045d3dcb0a'
347
347
  }
348
348
  };
349
- const ReleasitConfig = {
350
- Releasit: {
351
- appName: 'releasit-cod-form',
352
- appId: '72faf214-4174-4fec-886b-0d0e8d3af9a2'
353
- }
354
- };
355
349
 
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 };
350
+ 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, ReviewxpoProductReviewsAppConfig, SegunoEmailMarketingConfig, SelleasyConfig, SeoantTrustBadgesIconConfig, ShopifyFormsConfig, ShopifySubscriptionsConfig, SimpleBundlesKitsConfig, SkioSubscriptionsYcS20Config, SproutPlantTreesGrowSalesConfig, StampedConfig, SubifySubscriptionsConfig, TrustBadgesBearConfig, TrustedsiteTrustBadgesConfig, TrustooConfig, TrustreviewsProductReviewsConfig, TrustshopProductReviewsConfig, UnlimitedBundlesDiscountsConfig, WhatmoreShoppableVideosreelConfig, WishlistKingConfig, YotpoReviewsV3UgcConfig };
@@ -276,13 +276,6 @@ const overrideSettings = (tag, currentSetting, appSetting)=>{
276
276
  playlist_id: appSetting?.['playlistId']
277
277
  };
278
278
  }
279
- case 'Releasit':
280
- {
281
- return {
282
- ...currentSetting,
283
- product: appSetting?.['productHandle'] || '{{ product }}'
284
- };
285
- }
286
279
  default:
287
280
  return currentSetting;
288
281
  }
@@ -1226,16 +1219,6 @@ const EcoboostifyShoppableReelUgc = {
1226
1219
  }
1227
1220
  }
1228
1221
  };
1229
- const Releasit = {
1230
- Releasit: {
1231
- 'button-app-block': {
1232
- product: '{{product}}'
1233
- },
1234
- 'form-app-block': {
1235
- product: '{{product}}'
1236
- }
1237
- }
1238
- };
1239
1222
  const AppstleBundlesDiscounts = {
1240
1223
  AppstleBundlesDiscounts: {
1241
1224
  'appstle-classic-bundle': null,
@@ -1300,8 +1283,7 @@ const composeSettingsByWidgetType = {
1300
1283
  ...HextomFreeShippingBar,
1301
1284
  ...ShopifySubscriptions,
1302
1285
  ...QikifyUpsell,
1303
- ...EcoboostifyShoppableReelUgc,
1304
- ...Releasit
1286
+ ...EcoboostifyShoppableReelUgc
1305
1287
  };
1306
1288
 
1307
1289
  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, 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 } from './appConfig.js';
2
2
 
3
3
  const mapShopifyAppMeta = {
4
4
  ...RechargeSubscriptionsConfig,
@@ -58,8 +58,7 @@ const mapShopifyAppMeta = {
58
58
  ...ShopifySubscriptionsConfig,
59
59
  ...QikifyUpsellConfig,
60
60
  ...EcoboostifyShoppableReelUgcConfig,
61
- ...AppstleBundlesDiscountsConfig,
62
- ...ReleasitConfig
61
+ ...AppstleBundlesDiscountsConfig
63
62
  };
64
63
  const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
65
64
 
@@ -5,8 +5,7 @@ const listAppUpdateNewVersion = [
5
5
  'Growave',
6
6
  'Trustoo',
7
7
  'LooxReviews',
8
- 'Stamped',
9
- 'Releasit'
8
+ 'Stamped'
10
9
  ];
11
10
  const listThirdPartyRejectAppBlock = {
12
11
  YotpoReviews: {
@@ -20,9 +19,6 @@ const listThirdPartyRejectAppBlock = {
20
19
  },
21
20
  Stamped: {
22
21
  conditionToReject: 'settings?.version === "v1"'
23
- },
24
- Releasit: {
25
- conditionToReject: 'settings?.version === "v1"'
26
22
  }
27
23
  };
28
24
  const getAppBlockConfig = (tag, appBlockId, settings)=>{
@@ -37,7 +33,7 @@ const getAppBlockConfig = (tag, appBlockId, settings)=>{
37
33
  tag,
38
34
  widgetType
39
35
  });
40
- const settingByWidget = composeSettingsByWidgetType?.[tag]?.[widgetType];
36
+ const settingByWidget = composeSettingsByWidgetType[tag][settings?.widgetType];
41
37
  const appSettings = overrideSettings(tag, settingByWidget, settings);
42
38
  return {
43
39
  key: appBlockId,
@@ -7489,7 +7489,7 @@ type StampedWidgetTypeV2 = 'main-widget' | 'product-rating-image' | 'badge-doubl
7489
7489
  type LaiProductReviewsWidgetType = 'reviews_widget' | 'star_ratings' | 'homepage_reviews' | 'happy_customer_reviews' | 'star_ratings_in_list' | 'advanced_widget';
7490
7490
  type LaiProductReviewsAdvancedWidgetType = 'cardCarousel' | 'testimonialCarousel' | 'mediaGallery' | 'cardGrid';
7491
7491
  type YotpoReviewsWidgetType = 'reviews' | 'star-rating' | 'reviewHighlights';
7492
- type BogosWidgetType = 'icon' | 'thumnail' | 'slider' | 'message' | 'classic-bundle' | 'quantity-break' | 'mix-match';
7492
+ type BogosWidgetType = 'icon' | 'thumnail' | 'slider' | 'message' | 'classic-bundle' | 'quantity-break' | 'mix-match' | 'classic-bundle';
7493
7493
  type PreOrderNowWodWidgetType = 'app-block' | 'popups-block';
7494
7494
  type TagShopWidgetType = 'homeLandingGalleries' | 'productGalleries' | 'tagGalleries';
7495
7495
  type AirProductReview = 'review_box' | 'star_rating' | 'review_carousel';
@@ -8883,8 +8883,6 @@ type PageContext = {
8883
8883
  pageType?: string;
8884
8884
  isTranslateWithLocale?: boolean;
8885
8885
  sectionName?: string;
8886
- isOptimizePlan?: boolean;
8887
- enableLazyLoadImage?: boolean;
8888
8886
  };
8889
8887
  type OnlyOne<T, U> = (T & {
8890
8888
  [K in keyof U]?: never;
@@ -35916,9 +35914,10 @@ type Props = {
35916
35914
  components: Record<string, any>;
35917
35915
  extraFiles?: ExtraFiles;
35918
35916
  pageContext?: PageContext;
35917
+ enableLazyloadImage?: boolean;
35919
35918
  [key: string]: any;
35920
35919
  };
35921
- declare const Render: ({ uid, builder, components, parentId, extraFiles, pageContext, ...passProps }: Props) => {
35920
+ declare const Render: ({ uid, builder, components, parentId, extraFiles, pageContext, enableLazyloadImage, ...passProps }: Props) => {
35922
35921
  liquid: string;
35923
35922
  extraFiles: ExtraFiles;
35924
35923
  };
@@ -35994,7 +35993,6 @@ type BuilderPreviewContextProps = {
35994
35993
  group?: GroupPropType;
35995
35994
  }) => void;
35996
35995
  getItem: (id: string) => BuilderEntity | undefined;
35997
- getState: () => BuilderState;
35998
35996
  removeItem: (id: string) => void;
35999
35997
  forceChangeState: (data: BuilderState) => void;
36000
35998
  initState: (data: BuilderEntityNested | BuilderEntityNested[]) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/core",
3
- "version": "2.2.0-staging.57",
3
+ "version": "2.4.7",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",
@@ -27,8 +27,8 @@
27
27
  "type-check": "yarn tsc --noEmit"
28
28
  },
29
29
  "devDependencies": {
30
- "@gem-sdk/adapter-shopify": "2.1.27-staging.0",
31
- "@gem-sdk/styles": "2.2.0-staging.52",
30
+ "@gem-sdk/adapter-shopify": "2.1.36",
31
+ "@gem-sdk/styles": "2.1.31",
32
32
  "@types/classnames": "^2.3.1"
33
33
  },
34
34
  "dependencies": {