@gem-sdk/core 1.57.12 → 1.57.15-staging.12

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.
@@ -0,0 +1,15 @@
1
+ 'use strict';
2
+
3
+ const PublishedShopMetasDocument = `
4
+ query PublishedShopMetas($keys: [String!]) {
5
+ publishedShopMetas(keys: $keys) {
6
+ id
7
+ createdAt
8
+ updatedAt
9
+ key
10
+ value
11
+ }
12
+ }
13
+ `;
14
+
15
+ exports.PublishedShopMetasDocument = PublishedShopMetasDocument;
@@ -29,17 +29,22 @@ const useInteraction = ()=>{
29
29
  return element?.querySelector(selector);
30
30
  }
31
31
  }
32
+ const handleOnListener = (element, event, callback)=>{
33
+ const eventListener = (e)=>{
34
+ const customEvent = e;
35
+ const params = customEvent.detail;
36
+ if (callback) callback(params);
37
+ };
38
+ element.addEventListener(event, eventListener);
39
+ return ()=>element.removeEventListener(event, eventListener);
40
+ };
32
41
  const onListener = ({ event, selector, elementRef }, callback)=>{
33
42
  const element = findElementIncludingSelf(elementRef?.current || ref.current || document, selector);
34
43
  if (!element) return;
35
- element.addEventListener(event, (e)=>{
36
- const event = e;
37
- const params = event.detail;
38
- if (callback) callback(params);
39
- });
44
+ return handleOnListener(element, event, callback);
40
45
  };
41
46
  const trigger = ({ event, data, selector, element: elementParam })=>{
42
- const element = elementParam || document.body.querySelector('#storefront')?.querySelector(selector);
47
+ const element = elementParam || document.body?.querySelector(selector);
43
48
  if (!element) return;
44
49
  const eventDispatch = new CustomEvent(event, {
45
50
  bubbles: false,
@@ -100,6 +105,16 @@ const useInteraction = ()=>{
100
105
  const isSelectOnPage = react.useMemo(()=>interactionData?.isSelectOnPage, [
101
106
  interactionData?.isSelectOnPage
102
107
  ]);
108
+ const interactionListenerLoaded = react.useCallback((callback)=>{
109
+ //@ts-ignore
110
+ if (window.interactionLoaded) {
111
+ callback();
112
+ return;
113
+ }
114
+ window.addEventListener('gp:flow-actions-loaded', ()=>{
115
+ callback();
116
+ });
117
+ }, []);
103
118
  return {
104
119
  onListener,
105
120
  trigger,
@@ -111,7 +126,8 @@ const useInteraction = ()=>{
111
126
  changeSelectMode,
112
127
  selectInteractionElement,
113
128
  isInteractionMode,
114
- isSelectOnPage
129
+ isSelectOnPage,
130
+ interactionListenerLoaded
115
131
  };
116
132
  };
117
133
 
@@ -1,10 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var useSWR = require('swr');
4
3
  var getCollection = require('./queries/get-collection.js');
5
4
  var getProduct = require('./queries/get-product.js');
6
5
  var getProducts = require('./queries/get-products.js');
7
- var query = require('./query.js');
8
6
 
9
7
  const prefetchQueries = (input, options)=>{
10
8
  const queries = [];
@@ -21,7 +19,7 @@ const prefetchQueries = (input, options)=>{
21
19
  isStorefront: options?.isStorefront
22
20
  };
23
21
  data = {
24
- key: useSWR.unstable_serialize(query.generateProductQueryKey(variables)),
22
+ key: `query/product/${variables.id}`,
25
23
  func: getProduct.getProduct,
26
24
  variables
27
25
  };
@@ -39,7 +37,7 @@ const prefetchQueries = (input, options)=>{
39
37
  isStorefront: options?.isStorefront
40
38
  };
41
39
  data = {
42
- key: useSWR.unstable_serialize(query.generateCollectionQueryKey(variables)),
40
+ key: `query/collection/${variables.id}`,
43
41
  func: getCollection.getCollection,
44
42
  variables
45
43
  };
@@ -52,7 +50,7 @@ const prefetchQueries = (input, options)=>{
52
50
  isStorefront: options?.isStorefront
53
51
  };
54
52
  data = {
55
- key: useSWR.unstable_serialize(query.generateProductsQueryKey(variables)),
53
+ key: `query/products/${variables.ids.join(',')}`,
56
54
  func: getProducts.getProducts,
57
55
  variables
58
56
  };
@@ -156,6 +156,30 @@ const GrowaveConfig = {
156
156
  appId: 'b3d2efbe-110a-4e27-84a8-1f2ed63996a4'
157
157
  }
158
158
  };
159
+ const LoloyalLoyaltyReferralsConfig = {
160
+ LoloyalLoyaltyReferrals: {
161
+ appName: 'loloyal-com',
162
+ appId: '930ac91f-2bf2-4655-9ba0-574771f782d6'
163
+ }
164
+ };
165
+ const PowerfulContactFormBuilderConfig = {
166
+ PowerfulContactFormBuilder: {
167
+ appName: 'powerful-form-builder',
168
+ appId: 'e4bcb1eb-35b2-42e6-bc37-bfe0e1542c9d'
169
+ }
170
+ };
171
+ const WishlistKingConfig = {
172
+ WishlistKing: {
173
+ appName: 'wishlist-king',
174
+ appId: '194f5011-a43c-4b22-b12e-eaf20dc4506a'
175
+ }
176
+ };
177
+ const GloboProductOptionsVariantConfig = {
178
+ GloboProductOptionsVariant: {
179
+ appName: 'globo-product-option',
180
+ appId: 'fdc9fad5-1a0f-4bd4-9c8a-1af6a6eef6b8'
181
+ }
182
+ };
159
183
 
160
184
  exports.AppointmentBookingCowlendarConfig = AppointmentBookingCowlendarConfig;
161
185
  exports.BoldSubscriptionsConfig = BoldSubscriptionsConfig;
@@ -163,11 +187,14 @@ exports.BonLoyaltyRewardsReferralsConfig = BonLoyaltyRewardsReferralsConfig;
163
187
  exports.EasyBundleBuilderSkailamaConfig = EasyBundleBuilderSkailamaConfig;
164
188
  exports.FastBundleBundlesDiscountsConfig = FastBundleBundlesDiscountsConfig;
165
189
  exports.FlyBundlesUpsellsFbtConfig = FlyBundlesUpsellsFbtConfig;
190
+ exports.GloboProductOptionsVariantConfig = GloboProductOptionsVariantConfig;
166
191
  exports.GrowaveConfig = GrowaveConfig;
167
192
  exports.InstasellShoppableInstagramConfig = InstasellShoppableInstagramConfig;
168
193
  exports.JunipProductReviewsUgcConfig = JunipProductReviewsUgcConfig;
169
194
  exports.KiteFreeGiftDiscountConfig = KiteFreeGiftDiscountConfig;
195
+ exports.LoloyalLoyaltyReferralsConfig = LoloyalLoyaltyReferralsConfig;
170
196
  exports.LoopSubscriptionsConfig = LoopSubscriptionsConfig;
197
+ exports.PowerfulContactFormBuilderConfig = PowerfulContactFormBuilderConfig;
171
198
  exports.PreorderNowPreOrderPqConfig = PreorderNowPreOrderPqConfig;
172
199
  exports.PreorderNowWodPresaleConfig = PreorderNowWodPresaleConfig;
173
200
  exports.ProductOptionsCustomizerConfig = ProductOptionsCustomizerConfig;
@@ -182,4 +209,5 @@ exports.SproutPlantTreesGrowSalesConfig = SproutPlantTreesGrowSalesConfig;
182
209
  exports.SubifySubscriptionsConfig = SubifySubscriptionsConfig;
183
210
  exports.UnlimitedBundlesDiscountsConfig = UnlimitedBundlesDiscountsConfig;
184
211
  exports.WhatmoreShoppableVideosreelConfig = WhatmoreShoppableVideosreelConfig;
212
+ exports.WishlistKingConfig = WishlistKingConfig;
185
213
  exports.YotpoReviewsV3UgcConfig = YotpoReviewsV3UgcConfig;
@@ -102,6 +102,13 @@ const overrideSettings = (tag, currentSetting, appSetting)=>{
102
102
  ['show-views']: appSetting?.showViews
103
103
  };
104
104
  }
105
+ case 'PowerfulContactFormBuilder':
106
+ {
107
+ return {
108
+ ...currentSetting,
109
+ shortcode: appSetting?.shortcode
110
+ };
111
+ }
105
112
  default:
106
113
  return currentSetting;
107
114
  }
@@ -361,7 +368,79 @@ const Growave = {
361
368
  'v2.product.reviewsMiniSlider': null
362
369
  }
363
370
  };
371
+ const LoloyalSettingCommon = {
372
+ title_font_size: 30,
373
+ subtitle_font_size: 13,
374
+ name_font_size: 20,
375
+ details_font_size: 14,
376
+ corner_radius: 8,
377
+ btn_radius: 8,
378
+ top_padding: 32,
379
+ bottom_padding: 32,
380
+ icon_color: '',
381
+ title_color: '#000000',
382
+ subtitle_color: '#000000',
383
+ name_color: '#000000',
384
+ details_color: '#000000',
385
+ card_bg_color: '#FFFFFF',
386
+ background_color: '#ffffff',
387
+ border_color: '#ececec',
388
+ primary_button_color: '#000000',
389
+ primary_button_text_color: '#FFFFFF',
390
+ secondary_button_color: '#FFFFFF',
391
+ secondary_button_text_color: '#000000',
392
+ hover_btn: '#000000',
393
+ hover_text_color: '#FFFFFF',
394
+ custom_css: '/* Add your custom styles here */'
395
+ };
396
+ const LoloyalLoyaltyReferrals = {
397
+ LoloyalLoyaltyReferrals: {
398
+ 'app-banner': {
399
+ img_opacity: 0,
400
+ bg_color: '#F6F6F6',
401
+ banner_height: '400',
402
+ content_position: 'll-middle-left',
403
+ content_alignment: 'left',
404
+ title_font_size: 40,
405
+ subtitle_font_size: 13,
406
+ title_color: '#000000',
407
+ subtitle_color: '#000000',
408
+ btn_radius: 30,
409
+ primary_button_color: '#000000',
410
+ primary_button_text_color: '#FFFFFF',
411
+ secondary_button_color: '#FFFFFF',
412
+ secondary_button_text_color: '#000000',
413
+ hover_btn: '#000000',
414
+ hover_text_color: '#FFFFFF',
415
+ custom_css: '/* Add your custom styles here */'
416
+ },
417
+ 'app-ways-to-earn': LoloyalSettingCommon,
418
+ 'app-ways-to-redeem': LoloyalSettingCommon,
419
+ 'app-referrals': LoloyalSettingCommon
420
+ }
421
+ };
422
+ const PowerfulContactFormBuilder = {
423
+ PowerfulContactFormBuilder: {
424
+ 'app-block': {
425
+ shortcode: ''
426
+ }
427
+ }
428
+ };
429
+ const WishlistKing = {
430
+ WishlistKing: {
431
+ 'wishlist-button-block': null
432
+ }
433
+ };
434
+ const GloboProductOptionsVariant = {
435
+ GloboProductOptionsVariant: {
436
+ 'app-block': null
437
+ }
438
+ };
364
439
  const composeSettingsByWidgetType = {
440
+ ...GloboProductOptionsVariant,
441
+ ...WishlistKing,
442
+ ...LoloyalLoyaltyReferrals,
443
+ ...PowerfulContactFormBuilder,
365
444
  ...InstasellShoppableInstagram,
366
445
  ...SproutPlantTreesGrowSales,
367
446
  ...AppointmentBookingCowlendar,
@@ -28,7 +28,11 @@ const mapShopifyAppMeta = {
28
28
  ...appConfig.BoldSubscriptionsConfig,
29
29
  ...appConfig.SproutPlantTreesGrowSalesConfig,
30
30
  ...appConfig.InstasellShoppableInstagramConfig,
31
- ...appConfig.GrowaveConfig
31
+ ...appConfig.GrowaveConfig,
32
+ ...appConfig.LoloyalLoyaltyReferralsConfig,
33
+ ...appConfig.PowerfulContactFormBuilderConfig,
34
+ ...appConfig.WishlistKingConfig,
35
+ ...appConfig.GloboProductOptionsVariantConfig
32
36
  };
33
37
  const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
34
38
 
package/dist/cjs/index.js CHANGED
@@ -19,6 +19,7 @@ var ModalContext = require('./contexts/ModalContext.js');
19
19
  var ArticleListContext = require('./contexts/ArticleListContext.js');
20
20
  var ArticleContext = require('./contexts/ArticleContext.js');
21
21
  var pageViewUp_generated = require('./graphql/mutations/page-view-up.generated.js');
22
+ var publishedShopMetas = require('./graphql/queries/published-shop-metas.js');
22
23
  var collectionDetailFilter_generated = require('./graphql/queries/collection-detail-filter.generated.js');
23
24
  var collection_generated = require('./graphql/queries/collection.generated.js');
24
25
  var collections_generated = require('./graphql/queries/collections.generated.js');
@@ -151,6 +152,7 @@ exports.useArticleListStore = ArticleListContext.useArticleListStore;
151
152
  exports.ArticleProvider = ArticleContext.ArticleProvider;
152
153
  exports.useArticleStore = ArticleContext.useArticleStore;
153
154
  exports.PageViewUpDocument = pageViewUp_generated.PageViewUpDocument;
155
+ exports.PublishedShopMetasDocument = publishedShopMetas.PublishedShopMetasDocument;
154
156
  exports.CollectionDetailFilterDocument = collectionDetailFilter_generated.CollectionDetailFilterDocument;
155
157
  exports.CollectionDocument = collection_generated.CollectionDocument;
156
158
  exports.CollectionsDocument = collections_generated.CollectionsDocument;
@@ -23,6 +23,7 @@ exports.InteractionTargetEvent = void 0;
23
23
  InteractionTargetEvent[InteractionTargetEvent['gp:toggle-popup-open'] = 18] = 'gp:toggle-popup-open';
24
24
  InteractionTargetEvent[InteractionTargetEvent['gp:show-or-hide'] = 19] = 'gp:show-or-hide';
25
25
  InteractionTargetEvent[InteractionTargetEvent['gp:change-banner'] = 20] = 'gp:change-banner';
26
+ InteractionTargetEvent[InteractionTargetEvent['gp:change-open-tab'] = 21] = 'gp:change-open-tab';
26
27
  })(exports.InteractionTargetEvent || (exports.InteractionTargetEvent = {}));
27
28
  exports.InteractionTriggerEvent = void 0;
28
29
  (function(InteractionTriggerEvent) {
@@ -0,0 +1,13 @@
1
+ const PublishedShopMetasDocument = `
2
+ query PublishedShopMetas($keys: [String!]) {
3
+ publishedShopMetas(keys: $keys) {
4
+ id
5
+ createdAt
6
+ updatedAt
7
+ key
8
+ value
9
+ }
10
+ }
11
+ `;
12
+
13
+ export { PublishedShopMetasDocument };
@@ -1,4 +1,4 @@
1
- import { useRef, useMemo } from 'react';
1
+ import { useRef, useMemo, useCallback } from 'react';
2
2
  import 'react/jsx-runtime';
3
3
  import 'zustand';
4
4
  import 'swr';
@@ -27,17 +27,22 @@ const useInteraction = ()=>{
27
27
  return element?.querySelector(selector);
28
28
  }
29
29
  }
30
+ const handleOnListener = (element, event, callback)=>{
31
+ const eventListener = (e)=>{
32
+ const customEvent = e;
33
+ const params = customEvent.detail;
34
+ if (callback) callback(params);
35
+ };
36
+ element.addEventListener(event, eventListener);
37
+ return ()=>element.removeEventListener(event, eventListener);
38
+ };
30
39
  const onListener = ({ event, selector, elementRef }, callback)=>{
31
40
  const element = findElementIncludingSelf(elementRef?.current || ref.current || document, selector);
32
41
  if (!element) return;
33
- element.addEventListener(event, (e)=>{
34
- const event = e;
35
- const params = event.detail;
36
- if (callback) callback(params);
37
- });
42
+ return handleOnListener(element, event, callback);
38
43
  };
39
44
  const trigger = ({ event, data, selector, element: elementParam })=>{
40
- const element = elementParam || document.body.querySelector('#storefront')?.querySelector(selector);
45
+ const element = elementParam || document.body?.querySelector(selector);
41
46
  if (!element) return;
42
47
  const eventDispatch = new CustomEvent(event, {
43
48
  bubbles: false,
@@ -98,6 +103,16 @@ const useInteraction = ()=>{
98
103
  const isSelectOnPage = useMemo(()=>interactionData?.isSelectOnPage, [
99
104
  interactionData?.isSelectOnPage
100
105
  ]);
106
+ const interactionListenerLoaded = useCallback((callback)=>{
107
+ //@ts-ignore
108
+ if (window.interactionLoaded) {
109
+ callback();
110
+ return;
111
+ }
112
+ window.addEventListener('gp:flow-actions-loaded', ()=>{
113
+ callback();
114
+ });
115
+ }, []);
101
116
  return {
102
117
  onListener,
103
118
  trigger,
@@ -109,7 +124,8 @@ const useInteraction = ()=>{
109
124
  changeSelectMode,
110
125
  selectInteractionElement,
111
126
  isInteractionMode,
112
- isSelectOnPage
127
+ isSelectOnPage,
128
+ interactionListenerLoaded
113
129
  };
114
130
  };
115
131
 
@@ -1,8 +1,6 @@
1
- import { unstable_serialize } from 'swr';
2
1
  import { getCollection } from './queries/get-collection.js';
3
2
  import { getProduct } from './queries/get-product.js';
4
3
  import { getProducts } from './queries/get-products.js';
5
- import { generateCollectionQueryKey, generateProductsQueryKey, generateProductQueryKey } from './query.js';
6
4
 
7
5
  const prefetchQueries = (input, options)=>{
8
6
  const queries = [];
@@ -19,7 +17,7 @@ const prefetchQueries = (input, options)=>{
19
17
  isStorefront: options?.isStorefront
20
18
  };
21
19
  data = {
22
- key: unstable_serialize(generateProductQueryKey(variables)),
20
+ key: `query/product/${variables.id}`,
23
21
  func: getProduct,
24
22
  variables
25
23
  };
@@ -37,7 +35,7 @@ const prefetchQueries = (input, options)=>{
37
35
  isStorefront: options?.isStorefront
38
36
  };
39
37
  data = {
40
- key: unstable_serialize(generateCollectionQueryKey(variables)),
38
+ key: `query/collection/${variables.id}`,
41
39
  func: getCollection,
42
40
  variables
43
41
  };
@@ -50,7 +48,7 @@ const prefetchQueries = (input, options)=>{
50
48
  isStorefront: options?.isStorefront
51
49
  };
52
50
  data = {
53
- key: unstable_serialize(generateProductsQueryKey(variables)),
51
+ key: `query/products/${variables.ids.join(',')}`,
54
52
  func: getProducts,
55
53
  variables
56
54
  };
@@ -154,5 +154,29 @@ const GrowaveConfig = {
154
154
  appId: 'b3d2efbe-110a-4e27-84a8-1f2ed63996a4'
155
155
  }
156
156
  };
157
+ const LoloyalLoyaltyReferralsConfig = {
158
+ LoloyalLoyaltyReferrals: {
159
+ appName: 'loloyal-com',
160
+ appId: '930ac91f-2bf2-4655-9ba0-574771f782d6'
161
+ }
162
+ };
163
+ const PowerfulContactFormBuilderConfig = {
164
+ PowerfulContactFormBuilder: {
165
+ appName: 'powerful-form-builder',
166
+ appId: 'e4bcb1eb-35b2-42e6-bc37-bfe0e1542c9d'
167
+ }
168
+ };
169
+ const WishlistKingConfig = {
170
+ WishlistKing: {
171
+ appName: 'wishlist-king',
172
+ appId: '194f5011-a43c-4b22-b12e-eaf20dc4506a'
173
+ }
174
+ };
175
+ const GloboProductOptionsVariantConfig = {
176
+ GloboProductOptionsVariant: {
177
+ appName: 'globo-product-option',
178
+ appId: 'fdc9fad5-1a0f-4bd4-9c8a-1af6a6eef6b8'
179
+ }
180
+ };
157
181
 
158
- export { AppointmentBookingCowlendarConfig, BoldSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, EasyBundleBuilderSkailamaConfig, FastBundleBundlesDiscountsConfig, FlyBundlesUpsellsFbtConfig, GrowaveConfig, InstasellShoppableInstagramConfig, JunipProductReviewsUgcConfig, KiteFreeGiftDiscountConfig, LoopSubscriptionsConfig, PreorderNowPreOrderPqConfig, PreorderNowWodPresaleConfig, ProductOptionsCustomizerConfig, PumperBundlesVolumeDiscountConfig, RechargeSubscriptionsConfig, ReviewxpoProductReviewsAppConfig, SelleasyConfig, ShopifyFormsConfig, SimpleBundlesKitsConfig, SkioSubscriptionsYcS20Config, SproutPlantTreesGrowSalesConfig, SubifySubscriptionsConfig, UnlimitedBundlesDiscountsConfig, WhatmoreShoppableVideosreelConfig, YotpoReviewsV3UgcConfig };
182
+ export { AppointmentBookingCowlendarConfig, BoldSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, EasyBundleBuilderSkailamaConfig, FastBundleBundlesDiscountsConfig, FlyBundlesUpsellsFbtConfig, GloboProductOptionsVariantConfig, GrowaveConfig, InstasellShoppableInstagramConfig, JunipProductReviewsUgcConfig, KiteFreeGiftDiscountConfig, LoloyalLoyaltyReferralsConfig, LoopSubscriptionsConfig, PowerfulContactFormBuilderConfig, PreorderNowPreOrderPqConfig, PreorderNowWodPresaleConfig, ProductOptionsCustomizerConfig, PumperBundlesVolumeDiscountConfig, RechargeSubscriptionsConfig, ReviewxpoProductReviewsAppConfig, SelleasyConfig, ShopifyFormsConfig, SimpleBundlesKitsConfig, SkioSubscriptionsYcS20Config, SproutPlantTreesGrowSalesConfig, SubifySubscriptionsConfig, UnlimitedBundlesDiscountsConfig, WhatmoreShoppableVideosreelConfig, WishlistKingConfig, YotpoReviewsV3UgcConfig };
@@ -100,6 +100,13 @@ const overrideSettings = (tag, currentSetting, appSetting)=>{
100
100
  ['show-views']: appSetting?.showViews
101
101
  };
102
102
  }
103
+ case 'PowerfulContactFormBuilder':
104
+ {
105
+ return {
106
+ ...currentSetting,
107
+ shortcode: appSetting?.shortcode
108
+ };
109
+ }
103
110
  default:
104
111
  return currentSetting;
105
112
  }
@@ -359,7 +366,79 @@ const Growave = {
359
366
  'v2.product.reviewsMiniSlider': null
360
367
  }
361
368
  };
369
+ const LoloyalSettingCommon = {
370
+ title_font_size: 30,
371
+ subtitle_font_size: 13,
372
+ name_font_size: 20,
373
+ details_font_size: 14,
374
+ corner_radius: 8,
375
+ btn_radius: 8,
376
+ top_padding: 32,
377
+ bottom_padding: 32,
378
+ icon_color: '',
379
+ title_color: '#000000',
380
+ subtitle_color: '#000000',
381
+ name_color: '#000000',
382
+ details_color: '#000000',
383
+ card_bg_color: '#FFFFFF',
384
+ background_color: '#ffffff',
385
+ border_color: '#ececec',
386
+ primary_button_color: '#000000',
387
+ primary_button_text_color: '#FFFFFF',
388
+ secondary_button_color: '#FFFFFF',
389
+ secondary_button_text_color: '#000000',
390
+ hover_btn: '#000000',
391
+ hover_text_color: '#FFFFFF',
392
+ custom_css: '/* Add your custom styles here */'
393
+ };
394
+ const LoloyalLoyaltyReferrals = {
395
+ LoloyalLoyaltyReferrals: {
396
+ 'app-banner': {
397
+ img_opacity: 0,
398
+ bg_color: '#F6F6F6',
399
+ banner_height: '400',
400
+ content_position: 'll-middle-left',
401
+ content_alignment: 'left',
402
+ title_font_size: 40,
403
+ subtitle_font_size: 13,
404
+ title_color: '#000000',
405
+ subtitle_color: '#000000',
406
+ btn_radius: 30,
407
+ primary_button_color: '#000000',
408
+ primary_button_text_color: '#FFFFFF',
409
+ secondary_button_color: '#FFFFFF',
410
+ secondary_button_text_color: '#000000',
411
+ hover_btn: '#000000',
412
+ hover_text_color: '#FFFFFF',
413
+ custom_css: '/* Add your custom styles here */'
414
+ },
415
+ 'app-ways-to-earn': LoloyalSettingCommon,
416
+ 'app-ways-to-redeem': LoloyalSettingCommon,
417
+ 'app-referrals': LoloyalSettingCommon
418
+ }
419
+ };
420
+ const PowerfulContactFormBuilder = {
421
+ PowerfulContactFormBuilder: {
422
+ 'app-block': {
423
+ shortcode: ''
424
+ }
425
+ }
426
+ };
427
+ const WishlistKing = {
428
+ WishlistKing: {
429
+ 'wishlist-button-block': null
430
+ }
431
+ };
432
+ const GloboProductOptionsVariant = {
433
+ GloboProductOptionsVariant: {
434
+ 'app-block': null
435
+ }
436
+ };
362
437
  const composeSettingsByWidgetType = {
438
+ ...GloboProductOptionsVariant,
439
+ ...WishlistKing,
440
+ ...LoloyalLoyaltyReferrals,
441
+ ...PowerfulContactFormBuilder,
363
442
  ...InstasellShoppableInstagram,
364
443
  ...SproutPlantTreesGrowSales,
365
444
  ...AppointmentBookingCowlendar,
@@ -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 } 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 } from './appConfig.js';
2
2
 
3
3
  const mapShopifyAppMeta = {
4
4
  ...RechargeSubscriptionsConfig,
@@ -26,7 +26,11 @@ const mapShopifyAppMeta = {
26
26
  ...BoldSubscriptionsConfig,
27
27
  ...SproutPlantTreesGrowSalesConfig,
28
28
  ...InstasellShoppableInstagramConfig,
29
- ...GrowaveConfig
29
+ ...GrowaveConfig,
30
+ ...LoloyalLoyaltyReferralsConfig,
31
+ ...PowerfulContactFormBuilderConfig,
32
+ ...WishlistKingConfig,
33
+ ...GloboProductOptionsVariantConfig
30
34
  };
31
35
  const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
32
36
 
package/dist/esm/index.js CHANGED
@@ -17,6 +17,7 @@ export { ModalProvider, useModalStore } from './contexts/ModalContext.js';
17
17
  export { ArticleListProvider, useArticleListStore } from './contexts/ArticleListContext.js';
18
18
  export { ArticleProvider, useArticleStore } from './contexts/ArticleContext.js';
19
19
  export { PageViewUpDocument } from './graphql/mutations/page-view-up.generated.js';
20
+ export { PublishedShopMetasDocument } from './graphql/queries/published-shop-metas.js';
20
21
  export { CollectionDetailFilterDocument } from './graphql/queries/collection-detail-filter.generated.js';
21
22
  export { CollectionDocument } from './graphql/queries/collection.generated.js';
22
23
  export { CollectionsDocument } from './graphql/queries/collections.generated.js';
@@ -21,6 +21,7 @@ var InteractionTargetEvent;
21
21
  InteractionTargetEvent[InteractionTargetEvent['gp:toggle-popup-open'] = 18] = 'gp:toggle-popup-open';
22
22
  InteractionTargetEvent[InteractionTargetEvent['gp:show-or-hide'] = 19] = 'gp:show-or-hide';
23
23
  InteractionTargetEvent[InteractionTargetEvent['gp:change-banner'] = 20] = 'gp:change-banner';
24
+ InteractionTargetEvent[InteractionTargetEvent['gp:change-open-tab'] = 21] = 'gp:change-open-tab';
24
25
  })(InteractionTargetEvent || (InteractionTargetEvent = {}));
25
26
  var InteractionTriggerEvent;
26
27
  (function(InteractionTriggerEvent) {
@@ -5413,6 +5413,7 @@ type PublishedShopMetaWhereInput$1 = {
5413
5413
  valueNotIn?: InputMaybe$1<Array<Scalars$2['String']>>;
5414
5414
  };
5415
5415
  type PublishedThemePage$1 = {
5416
+ children?: Maybe$1<Array<Maybe$1<PublishedThemePage$1>>>;
5416
5417
  createdAt?: Maybe$1<Scalars$2['Time']>;
5417
5418
  default: Scalars$2['Boolean'];
5418
5419
  description?: Maybe$1<Scalars$2['String']>;
@@ -5680,12 +5681,18 @@ type PublishedThemePageWhereInput$1 = {
5680
5681
  handleNEQ?: InputMaybe$1<Scalars$2['String']>;
5681
5682
  handleNotIn?: InputMaybe$1<Array<Scalars$2['String']>>;
5682
5683
  handleNotNil?: InputMaybe$1<Scalars$2['Boolean']>;
5684
+ /** children edge predicates */
5685
+ hasChildren?: InputMaybe$1<Scalars$2['Boolean']>;
5686
+ hasChildrenWith?: InputMaybe$1<Array<PublishedThemePageWhereInput$1>>;
5683
5687
  /** interaction edge predicates */
5684
5688
  hasInteraction?: InputMaybe$1<Scalars$2['Boolean']>;
5685
5689
  hasInteractionWith?: InputMaybe$1<Array<PublishedPageInteractionWhereInput$1>>;
5686
5690
  /** offer edge predicates */
5687
5691
  hasOffer?: InputMaybe$1<Scalars$2['Boolean']>;
5688
5692
  hasOfferWith?: InputMaybe$1<Array<PublishedSaleFunnelOfferWhereInput$1>>;
5693
+ /** parent edge predicates */
5694
+ hasParent?: InputMaybe$1<Scalars$2['Boolean']>;
5695
+ hasParentWith?: InputMaybe$1<Array<PublishedThemePageWhereInput$1>>;
5689
5696
  /** publishedPageSection edge predicates */
5690
5697
  hasPublishedPageSection?: InputMaybe$1<Scalars$2['Boolean']>;
5691
5698
  hasPublishedPageSectionWith?: InputMaybe$1<Array<PublishedPageSectionWhereInput$1>>;
@@ -5748,6 +5755,13 @@ type PublishedThemePageWhereInput$1 = {
5748
5755
  offerIDNotIn?: InputMaybe$1<Array<Scalars$2['ID']>>;
5749
5756
  offerIDNotNil?: InputMaybe$1<Scalars$2['Boolean']>;
5750
5757
  or?: InputMaybe$1<Array<PublishedThemePageWhereInput$1>>;
5758
+ /** parent_id field predicates */
5759
+ parentID?: InputMaybe$1<Scalars$2['ID']>;
5760
+ parentIDIn?: InputMaybe$1<Array<Scalars$2['ID']>>;
5761
+ parentIDIsNil?: InputMaybe$1<Scalars$2['Boolean']>;
5762
+ parentIDNEQ?: InputMaybe$1<Scalars$2['ID']>;
5763
+ parentIDNotIn?: InputMaybe$1<Array<Scalars$2['ID']>>;
5764
+ parentIDNotNil?: InputMaybe$1<Scalars$2['Boolean']>;
5751
5765
  /** split_percentage field predicates */
5752
5766
  splitPercentage?: InputMaybe$1<Scalars$2['Float']>;
5753
5767
  splitPercentageGT?: InputMaybe$1<Scalars$2['Float']>;
@@ -6001,6 +6015,7 @@ type Query$1 = {
6001
6015
  productOptionValues?: Maybe$1<ProductOptionValueConnection$1>;
6002
6016
  productOptions?: Maybe$1<ProductOptionConnection$1>;
6003
6017
  products?: Maybe$1<ProductConnection$1>;
6018
+ publishedShopMetas?: Maybe$1<Array<PublishedShopMeta$1>>;
6004
6019
  publishedThemePages?: Maybe$1<Array<Maybe$1<PublishedThemePage$1>>>;
6005
6020
  publishedThemeSection?: Maybe$1<PublishedThemeSection$1>;
6006
6021
  publishedThemeSections?: Maybe$1<PublishedThemeSectionConnection$1>;
@@ -6114,6 +6129,9 @@ type QueryProductsArgs$1 = {
6114
6129
  orderBy?: InputMaybe$1<ProductOrder$1>;
6115
6130
  where?: InputMaybe$1<ProductWhereInput$1>;
6116
6131
  };
6132
+ type QueryPublishedShopMetasArgs = {
6133
+ keys?: InputMaybe$1<Array<Scalars$2['String']>>;
6134
+ };
6117
6135
  type QueryPublishedThemePagesArgs$1 = {
6118
6136
  slug?: InputMaybe$1<Scalars$2['String']>;
6119
6137
  slugType: PublishedThemePageType$1;
@@ -6485,6 +6503,7 @@ type shop_EntityFindPublishedThemePageOnlineStoreDataByIdArgs = EntityFindPublis
6485
6503
  type shop_EntityFindPublishedThemeSectionByIdArgs = EntityFindPublishedThemeSectionByIdArgs;
6486
6504
  type shop_EntityFindPublishedThemeStyleByIdArgs = EntityFindPublishedThemeStyleByIdArgs;
6487
6505
  type shop_EntityFindTagByIdArgs = EntityFindTagByIdArgs;
6506
+ type shop_QueryPublishedShopMetasArgs = QueryPublishedShopMetasArgs;
6488
6507
  type shop_Query_EntitiesArgs = Query_EntitiesArgs;
6489
6508
  type shop__Entity = _Entity;
6490
6509
  type shop__Service = _Service;
@@ -6697,6 +6716,7 @@ declare namespace shop {
6697
6716
  QueryProductOptionValuesArgs$1 as QueryProductOptionValuesArgs,
6698
6717
  QueryProductOptionsArgs$1 as QueryProductOptionsArgs,
6699
6718
  QueryProductsArgs$1 as QueryProductsArgs,
6719
+ shop_QueryPublishedShopMetasArgs as QueryPublishedShopMetasArgs,
6700
6720
  QueryPublishedThemePagesArgs$1 as QueryPublishedThemePagesArgs,
6701
6721
  QueryPublishedThemeSectionArgs$1 as QueryPublishedThemeSectionArgs,
6702
6722
  QueryPublishedThemeSectionsArgs$1 as QueryPublishedThemeSectionsArgs,
@@ -8368,7 +8388,8 @@ declare enum InteractionTargetEvent {
8368
8388
  'gp:change-text-value' = 17,
8369
8389
  'gp:toggle-popup-open' = 18,
8370
8390
  'gp:show-or-hide' = 19,
8371
- 'gp:change-banner' = 20
8391
+ 'gp:change-banner' = 20,
8392
+ 'gp:change-open-tab' = 21
8372
8393
  }
8373
8394
  declare enum InteractionTriggerEvent {
8374
8395
  'click' = 0,
@@ -30714,7 +30735,7 @@ type TypographyV2Family = string | {
30714
30735
  value: string;
30715
30736
  type: TypographyV2FontFamilyType;
30716
30737
  };
30717
- type TypographyV2FontFamilyType = 'google' | 'custom' | 'theme';
30738
+ type TypographyV2FontFamilyType = 'google' | 'custom' | 'theme' | 'bunny';
30718
30739
 
30719
30740
  /**
30720
30741
  * @deprecated Please use `TypographySettingV2`
@@ -31402,6 +31423,11 @@ type PageViewUpMutationVariables = Exact$1<{
31402
31423
  type PageViewUpMutationResponse = Pick<Mutation$1, 'pageViewUp'>;
31403
31424
  declare const PageViewUpDocument = "\n mutation pageViewUp($pageHandle: String!) {\n pageViewUp(pageHandle: $pageHandle)\n}\n ";
31404
31425
 
31426
+ type PublishedShopMetasQueryResponse = {
31427
+ publishedShopMetas?: Maybe$1<Array<Pick<PublishedShopMeta$1, 'id' | 'createdAt' | 'updatedAt' | 'key' | 'value'>>>;
31428
+ };
31429
+ declare const PublishedShopMetasDocument = "\n query PublishedShopMetas($keys: [String!]) {\n publishedShopMetas(keys: $keys) {\n id\n createdAt\n updatedAt\n key\n value\n }\n}\n ";
31430
+
31405
31431
  type CollectionDetailFilterQueryVariables = Exact$1<{
31406
31432
  firstProduct?: InputMaybe$1<Scalars$2['Int']>;
31407
31433
  orderBy?: InputMaybe$1<CollectionOrder$1>;
@@ -41543,7 +41569,7 @@ declare const useInteraction: () => {
41543
41569
  event: string;
41544
41570
  selector: string;
41545
41571
  elementRef?: React.MutableRefObject<HTMLElement> | undefined;
41546
- }, callback: (data: any) => void) => void;
41572
+ }, callback: (data: any) => void) => (() => void) | undefined;
41547
41573
  trigger: ({ event, data, selector, element: elementParam, }: {
41548
41574
  event: string;
41549
41575
  data?: any;
@@ -41566,6 +41592,7 @@ declare const useInteraction: () => {
41566
41592
  }) => void;
41567
41593
  isInteractionMode: boolean;
41568
41594
  isSelectOnPage: boolean | undefined;
41595
+ interactionListenerLoaded: (callback: () => void) => void;
41569
41596
  };
41570
41597
 
41571
- 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, PreviewPageDocument, PreviewPageQueryResponse, PreviewPageQueryVariables, Primitive, ProductInputAnalytic, ProductListProvider, ProductListProviderProps, ProductOffer, ProductProvider, ProductProviderProps, ProductReviewsWidgetType, ProductSelectFragment, ProductsDocument, ProductsQueryResponse, ProductsQueryVariables, PublicStoreFrontData, PublishedThemePageSelectFragment, PublishedThemePagesDocument, PublishedThemePagesQueryResponse, PublishedThemePagesQueryVariables, 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, useProductList, useProductListProducts, useProductListSettings, useProductListStore, useProductListStyles, useProductOfferDiscount, useProductProperties, useProductQuery, useProductStore, useProductsQuery, useProductsQueryAll, useQuantity, useRemoveCartItem, useSection, useSectionStore, useSelectedOption, useShopStore, useStoreFront, useSuspenseFetch, useSwatches, useSwatchesOptions, useUniqProductID, useUpdateCartItem, useVariant, useVariantOutStock, useVariants, validateEmail };
41598
+ 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, PreviewPageDocument, PreviewPageQueryResponse, PreviewPageQueryVariables, 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, useProductList, useProductListProducts, useProductListSettings, useProductListStore, useProductListStyles, useProductOfferDiscount, useProductProperties, useProductQuery, useProductStore, useProductsQuery, useProductsQueryAll, useQuantity, useRemoveCartItem, useSection, useSectionStore, useSelectedOption, useShopStore, useStoreFront, useSuspenseFetch, useSwatches, useSwatchesOptions, 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.57.12",
3
+ "version": "1.57.15-staging.12",
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": "1.57.0",
31
- "@gem-sdk/styles": "1.57.12",
30
+ "@gem-sdk/adapter-shopify": "1.57.15-staging.0",
31
+ "@gem-sdk/styles": "1.57.15-staging.0",
32
32
  "@types/classnames": "^2.3.1"
33
33
  },
34
34
  "dependencies": {