@gem-sdk/core 2.0.0-staging.117 → 2.0.0-staging.136
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.
- package/dist/cjs/contexts/BuilderPreviewContext.js +1 -5
- package/dist/cjs/helpers/third-party/appConfig.js +7 -0
- package/dist/cjs/helpers/third-party/appSetting.js +195 -0
- package/dist/cjs/helpers/third-party/constant.js +2 -1
- package/dist/cjs/helpers/third-party/getAppBlockConfig.js +5 -1
- package/dist/esm/contexts/BuilderPreviewContext.js +1 -5
- package/dist/esm/helpers/third-party/appConfig.js +7 -1
- package/dist/esm/helpers/third-party/appSetting.js +195 -0
- package/dist/esm/helpers/third-party/constant.js +3 -2
- package/dist/esm/helpers/third-party/getAppBlockConfig.js +5 -1
- package/dist/types/index.d.ts +2 -2
- package/package.json +2 -2
|
@@ -255,11 +255,7 @@ const createBuilderPreviewProvider = (args, pageName, isThemeSectionEditor)=>zus
|
|
|
255
255
|
}
|
|
256
256
|
},
|
|
257
257
|
getItem: (id)=>{
|
|
258
|
-
|
|
259
|
-
return {
|
|
260
|
-
...item,
|
|
261
|
-
rawChildrens: item?.childrens?.map((v)=>get().state[v])
|
|
262
|
-
};
|
|
258
|
+
return get().state[id];
|
|
263
259
|
},
|
|
264
260
|
removeItem: (id)=>{
|
|
265
261
|
if (id === 'ROOT') {
|
|
@@ -246,6 +246,12 @@ const TrustshopProductReviewsConfig = {
|
|
|
246
246
|
appId: '18b0c4cc-5411-4b6e-922d-34fdc2f30ab9'
|
|
247
247
|
}
|
|
248
248
|
};
|
|
249
|
+
const StampedConfig = {
|
|
250
|
+
Stamped: {
|
|
251
|
+
appName: 'stamped-reviews',
|
|
252
|
+
appId: 'a103faaf-2125-4b0e-89fa-de5149736723'
|
|
253
|
+
}
|
|
254
|
+
};
|
|
249
255
|
|
|
250
256
|
exports.AftershipEmailMarketingsmsConfig = AftershipEmailMarketingsmsConfig;
|
|
251
257
|
exports.AppointmentBookingCowlendarConfig = AppointmentBookingCowlendarConfig;
|
|
@@ -280,6 +286,7 @@ exports.ShopifyFormsConfig = ShopifyFormsConfig;
|
|
|
280
286
|
exports.SimpleBundlesKitsConfig = SimpleBundlesKitsConfig;
|
|
281
287
|
exports.SkioSubscriptionsYcS20Config = SkioSubscriptionsYcS20Config;
|
|
282
288
|
exports.SproutPlantTreesGrowSalesConfig = SproutPlantTreesGrowSalesConfig;
|
|
289
|
+
exports.StampedConfig = StampedConfig;
|
|
283
290
|
exports.SubifySubscriptionsConfig = SubifySubscriptionsConfig;
|
|
284
291
|
exports.TrustooConfig = TrustooConfig;
|
|
285
292
|
exports.TrustreviewsProductReviewsConfig = TrustreviewsProductReviewsConfig;
|
|
@@ -151,6 +151,45 @@ const overrideSettings = (tag, currentSetting, appSetting)=>{
|
|
|
151
151
|
product: appSetting?.['productHandle'] || '{{ product }}'
|
|
152
152
|
};
|
|
153
153
|
}
|
|
154
|
+
case 'Stamped':
|
|
155
|
+
{
|
|
156
|
+
return {
|
|
157
|
+
...currentSetting,
|
|
158
|
+
feed_type: appSetting.visualGalleryType,
|
|
159
|
+
auto_play: appSetting.autoSlide,
|
|
160
|
+
color_star: appSetting.starColor,
|
|
161
|
+
color_hover: appSetting.hoverColor,
|
|
162
|
+
color_hover_opacity: appSetting.hoverOpacity,
|
|
163
|
+
review_ids: appSetting.reviewIds,
|
|
164
|
+
product_ids: appSetting.productIds,
|
|
165
|
+
category: appSetting.productType,
|
|
166
|
+
product_brand: appSetting.productVendor,
|
|
167
|
+
tags: appSetting.tags,
|
|
168
|
+
min_rating: appSetting.minimumRating,
|
|
169
|
+
fill_empty: appSetting.fillEmpty,
|
|
170
|
+
random: appSetting.random,
|
|
171
|
+
with_photos: appSetting.withPhotos,
|
|
172
|
+
color_link: appSetting.linkColor,
|
|
173
|
+
product_image: appSetting.showProductImage,
|
|
174
|
+
take: appSetting.limitResults,
|
|
175
|
+
color_verified: appSetting.verifiedColor,
|
|
176
|
+
color_text: appSetting.textColor,
|
|
177
|
+
title: appSetting.carouselTitle,
|
|
178
|
+
color_title: appSetting.titleColor,
|
|
179
|
+
api_key: appSetting.publicKey,
|
|
180
|
+
store_hash: appSetting.storeHash,
|
|
181
|
+
label1: appSetting.labelFront,
|
|
182
|
+
label2: appSetting.labelBack,
|
|
183
|
+
width: appSetting.imageWidth,
|
|
184
|
+
height: appSetting.imageHeight,
|
|
185
|
+
product_id: appSetting.productId,
|
|
186
|
+
animation: appSetting.mainWidgetAnimation,
|
|
187
|
+
tags_exclude: appSetting.excludeTags,
|
|
188
|
+
tags_include: appSetting.includeTags,
|
|
189
|
+
search: appSetting.search,
|
|
190
|
+
linkify: appSetting.linkify
|
|
191
|
+
};
|
|
192
|
+
}
|
|
154
193
|
default:
|
|
155
194
|
return currentSetting;
|
|
156
195
|
}
|
|
@@ -793,7 +832,163 @@ const TrustshopProductReviews = {
|
|
|
793
832
|
'review-testimonial': null
|
|
794
833
|
}
|
|
795
834
|
};
|
|
835
|
+
const Stamped = {
|
|
836
|
+
Stamped: {
|
|
837
|
+
'main-widget': {
|
|
838
|
+
animation: true,
|
|
839
|
+
tags_exclude: '',
|
|
840
|
+
tags_include: '',
|
|
841
|
+
search: '',
|
|
842
|
+
linkify: true,
|
|
843
|
+
use_metafields: false,
|
|
844
|
+
sku_tagtype: 'sku'
|
|
845
|
+
},
|
|
846
|
+
'product-rating-image': {
|
|
847
|
+
api_key: '',
|
|
848
|
+
store_hash: '',
|
|
849
|
+
product_id: '',
|
|
850
|
+
width: '',
|
|
851
|
+
height: ''
|
|
852
|
+
},
|
|
853
|
+
'badge-double-image': {
|
|
854
|
+
api_key: '',
|
|
855
|
+
store_hash: '',
|
|
856
|
+
label1: '',
|
|
857
|
+
label2: '',
|
|
858
|
+
width: '',
|
|
859
|
+
height: ''
|
|
860
|
+
},
|
|
861
|
+
'badge-single-image': {
|
|
862
|
+
api_key: '',
|
|
863
|
+
store_hash: '',
|
|
864
|
+
label1: '',
|
|
865
|
+
label2: '',
|
|
866
|
+
width: '',
|
|
867
|
+
height: ''
|
|
868
|
+
},
|
|
869
|
+
carousel: {
|
|
870
|
+
title: 'Real Reviews from Real Customers',
|
|
871
|
+
auto_play: false,
|
|
872
|
+
take: 30,
|
|
873
|
+
color_title: '',
|
|
874
|
+
color_star: '',
|
|
875
|
+
color_text: '',
|
|
876
|
+
color_link: '',
|
|
877
|
+
review_ids: '',
|
|
878
|
+
product_ids: '',
|
|
879
|
+
category: '',
|
|
880
|
+
product_brand: '',
|
|
881
|
+
tags: '',
|
|
882
|
+
min_rating: 'none',
|
|
883
|
+
fill_empty: false,
|
|
884
|
+
random: false,
|
|
885
|
+
with_photos: false
|
|
886
|
+
},
|
|
887
|
+
'checkout-comments': {
|
|
888
|
+
product_ids: '',
|
|
889
|
+
style: 'box',
|
|
890
|
+
title: '',
|
|
891
|
+
timeago: false,
|
|
892
|
+
style_color_text: '',
|
|
893
|
+
style_color_link: ''
|
|
894
|
+
},
|
|
895
|
+
'full-page': {
|
|
896
|
+
product_image: true,
|
|
897
|
+
take: 30,
|
|
898
|
+
label_substitute: '',
|
|
899
|
+
color_star: '',
|
|
900
|
+
color_verified: '',
|
|
901
|
+
color_text: '',
|
|
902
|
+
color_link: '',
|
|
903
|
+
review_ids: '',
|
|
904
|
+
product_ids: '',
|
|
905
|
+
category: '',
|
|
906
|
+
product_brand: '',
|
|
907
|
+
tags: '',
|
|
908
|
+
min_rating: 'none',
|
|
909
|
+
fill_empty: false,
|
|
910
|
+
random: false,
|
|
911
|
+
with_photos: false
|
|
912
|
+
},
|
|
913
|
+
'instagram-feed': {
|
|
914
|
+
feed_type: 'carousel',
|
|
915
|
+
color_hover: '',
|
|
916
|
+
hover_text: '',
|
|
917
|
+
shop_button_text: '',
|
|
918
|
+
auto_play: false,
|
|
919
|
+
review_ids: '',
|
|
920
|
+
product_ids: '',
|
|
921
|
+
category: '',
|
|
922
|
+
product_brand: '',
|
|
923
|
+
tags: '',
|
|
924
|
+
min_rating: 'none',
|
|
925
|
+
fill_empty: false,
|
|
926
|
+
random: false,
|
|
927
|
+
with_photos: false
|
|
928
|
+
},
|
|
929
|
+
'single-highlight': {
|
|
930
|
+
review_ids: '',
|
|
931
|
+
product_ids: '',
|
|
932
|
+
category: '',
|
|
933
|
+
product_brand: '',
|
|
934
|
+
tags: ''
|
|
935
|
+
},
|
|
936
|
+
'site-badge': {
|
|
937
|
+
badge_type: 'badge',
|
|
938
|
+
color_outer: '',
|
|
939
|
+
color_inner: '',
|
|
940
|
+
color_ribbon: '',
|
|
941
|
+
color_text: '',
|
|
942
|
+
color_stars: '',
|
|
943
|
+
title_size: 12,
|
|
944
|
+
title: 'Verified Reviews'
|
|
945
|
+
},
|
|
946
|
+
'star-rating-badge': {
|
|
947
|
+
use_metafields: false,
|
|
948
|
+
sku_tagtype: 'sku',
|
|
949
|
+
is_featured_product: false,
|
|
950
|
+
featured_product_handle: ''
|
|
951
|
+
},
|
|
952
|
+
'top-rated': {
|
|
953
|
+
color_star: '',
|
|
954
|
+
color_link: ''
|
|
955
|
+
},
|
|
956
|
+
'visual-gallery': {
|
|
957
|
+
feed_type: 'feed',
|
|
958
|
+
auto_play: false,
|
|
959
|
+
color_star: '',
|
|
960
|
+
color_hover: '',
|
|
961
|
+
color_hover_opacity: 50,
|
|
962
|
+
review_ids: '',
|
|
963
|
+
product_ids: '',
|
|
964
|
+
category: '',
|
|
965
|
+
product_brand: '',
|
|
966
|
+
tags: '',
|
|
967
|
+
min_rating: 'none',
|
|
968
|
+
fill_empty: false,
|
|
969
|
+
random: false,
|
|
970
|
+
with_photos: false
|
|
971
|
+
},
|
|
972
|
+
'wall-photos': {
|
|
973
|
+
feed_type: 'feed',
|
|
974
|
+
auto_play: false,
|
|
975
|
+
color_star: '',
|
|
976
|
+
color_hover: '',
|
|
977
|
+
color_hover_opacity: 50,
|
|
978
|
+
review_ids: '',
|
|
979
|
+
product_ids: '',
|
|
980
|
+
category: '',
|
|
981
|
+
product_brand: '',
|
|
982
|
+
tags: '',
|
|
983
|
+
min_rating: 'none',
|
|
984
|
+
fill_empty: false,
|
|
985
|
+
random: false,
|
|
986
|
+
with_photos: false
|
|
987
|
+
}
|
|
988
|
+
}
|
|
989
|
+
};
|
|
796
990
|
const composeSettingsByWidgetType = {
|
|
991
|
+
...Stamped,
|
|
797
992
|
...TrustshopProductReviews,
|
|
798
993
|
...HulkProductOptions,
|
|
799
994
|
...MyappgurusProductReviews,
|
|
@@ -43,7 +43,8 @@ const mapShopifyAppMeta = {
|
|
|
43
43
|
...appConfig.TrustreviewsProductReviewsConfig,
|
|
44
44
|
...appConfig.MyappgurusProductReviewsConfig,
|
|
45
45
|
...appConfig.HulkProductOptionsConfig,
|
|
46
|
-
...appConfig.TrustshopProductReviewsConfig
|
|
46
|
+
...appConfig.TrustshopProductReviewsConfig,
|
|
47
|
+
...appConfig.StampedConfig
|
|
47
48
|
};
|
|
48
49
|
const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
|
|
49
50
|
|
|
@@ -6,7 +6,8 @@ var getAppBlockType = require('./getAppBlockType.js');
|
|
|
6
6
|
const listAppUpdateNewVersion = [
|
|
7
7
|
'Growave',
|
|
8
8
|
'Trustoo',
|
|
9
|
-
'LooxReviews'
|
|
9
|
+
'LooxReviews',
|
|
10
|
+
'Stamped'
|
|
10
11
|
];
|
|
11
12
|
const listThirdPartyRejectAppBlock = {
|
|
12
13
|
YotpoReviews: {
|
|
@@ -17,6 +18,9 @@ const listThirdPartyRejectAppBlock = {
|
|
|
17
18
|
},
|
|
18
19
|
LooxReviews: {
|
|
19
20
|
conditionToReject: 'settings?.version === "v1"'
|
|
21
|
+
},
|
|
22
|
+
Stamped: {
|
|
23
|
+
conditionToReject: 'settings?.version === "v1"'
|
|
20
24
|
}
|
|
21
25
|
};
|
|
22
26
|
const getAppBlockConfig = (tag, appBlockId, settings)=>{
|
|
@@ -253,11 +253,7 @@ const createBuilderPreviewProvider = (args, pageName, isThemeSectionEditor)=>cre
|
|
|
253
253
|
}
|
|
254
254
|
},
|
|
255
255
|
getItem: (id)=>{
|
|
256
|
-
|
|
257
|
-
return {
|
|
258
|
-
...item,
|
|
259
|
-
rawChildrens: item?.childrens?.map((v)=>get().state[v])
|
|
260
|
-
};
|
|
256
|
+
return get().state[id];
|
|
261
257
|
},
|
|
262
258
|
removeItem: (id)=>{
|
|
263
259
|
if (id === 'ROOT') {
|
|
@@ -244,5 +244,11 @@ const TrustshopProductReviewsConfig = {
|
|
|
244
244
|
appId: '18b0c4cc-5411-4b6e-922d-34fdc2f30ab9'
|
|
245
245
|
}
|
|
246
246
|
};
|
|
247
|
+
const StampedConfig = {
|
|
248
|
+
Stamped: {
|
|
249
|
+
appName: 'stamped-reviews',
|
|
250
|
+
appId: 'a103faaf-2125-4b0e-89fa-de5149736723'
|
|
251
|
+
}
|
|
252
|
+
};
|
|
247
253
|
|
|
248
|
-
export { AftershipEmailMarketingsmsConfig, AppointmentBookingCowlendarConfig, BestBuyFulfillmentConfig, BoldSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, EasyBundleBuilderSkailamaConfig, FastBundleBundlesDiscountsConfig, FlyBundlesUpsellsFbtConfig, GloboProductOptionsVariantConfig, GrowaveConfig, HulkProductOptionsConfig, InstasellShoppableInstagramConfig, JunipProductReviewsUgcConfig, KachingBundlesConfig, KiteFreeGiftDiscountConfig, LoloyalLoyaltyReferralsConfig, LoopSubscriptionsConfig, LooxReviewsConfig, MyappgurusProductReviewsConfig, PowerfulContactFormBuilderConfig, PreorderNowPreOrderPqConfig, PreorderNowWodPresaleConfig, ProductOptionsCustomizerConfig, PumperBundlesVolumeDiscountConfig, RechargeSubscriptionsConfig, ReviewxpoProductReviewsAppConfig, SegunoEmailMarketingConfig, SelleasyConfig, SeoantTrustBadgesIconConfig, ShopifyFormsConfig, SimpleBundlesKitsConfig, SkioSubscriptionsYcS20Config, SproutPlantTreesGrowSalesConfig, SubifySubscriptionsConfig, TrustooConfig, TrustreviewsProductReviewsConfig, TrustshopProductReviewsConfig, UnlimitedBundlesDiscountsConfig, WhatmoreShoppableVideosreelConfig, WishlistKingConfig, YotpoReviewsV3UgcConfig };
|
|
254
|
+
export { AftershipEmailMarketingsmsConfig, AppointmentBookingCowlendarConfig, BestBuyFulfillmentConfig, BoldSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, EasyBundleBuilderSkailamaConfig, FastBundleBundlesDiscountsConfig, FlyBundlesUpsellsFbtConfig, GloboProductOptionsVariantConfig, GrowaveConfig, HulkProductOptionsConfig, InstasellShoppableInstagramConfig, JunipProductReviewsUgcConfig, KachingBundlesConfig, KiteFreeGiftDiscountConfig, LoloyalLoyaltyReferralsConfig, LoopSubscriptionsConfig, LooxReviewsConfig, MyappgurusProductReviewsConfig, PowerfulContactFormBuilderConfig, PreorderNowPreOrderPqConfig, PreorderNowWodPresaleConfig, ProductOptionsCustomizerConfig, PumperBundlesVolumeDiscountConfig, RechargeSubscriptionsConfig, ReviewxpoProductReviewsAppConfig, SegunoEmailMarketingConfig, SelleasyConfig, SeoantTrustBadgesIconConfig, ShopifyFormsConfig, SimpleBundlesKitsConfig, SkioSubscriptionsYcS20Config, SproutPlantTreesGrowSalesConfig, StampedConfig, SubifySubscriptionsConfig, TrustooConfig, TrustreviewsProductReviewsConfig, TrustshopProductReviewsConfig, UnlimitedBundlesDiscountsConfig, WhatmoreShoppableVideosreelConfig, WishlistKingConfig, YotpoReviewsV3UgcConfig };
|
|
@@ -149,6 +149,45 @@ const overrideSettings = (tag, currentSetting, appSetting)=>{
|
|
|
149
149
|
product: appSetting?.['productHandle'] || '{{ product }}'
|
|
150
150
|
};
|
|
151
151
|
}
|
|
152
|
+
case 'Stamped':
|
|
153
|
+
{
|
|
154
|
+
return {
|
|
155
|
+
...currentSetting,
|
|
156
|
+
feed_type: appSetting.visualGalleryType,
|
|
157
|
+
auto_play: appSetting.autoSlide,
|
|
158
|
+
color_star: appSetting.starColor,
|
|
159
|
+
color_hover: appSetting.hoverColor,
|
|
160
|
+
color_hover_opacity: appSetting.hoverOpacity,
|
|
161
|
+
review_ids: appSetting.reviewIds,
|
|
162
|
+
product_ids: appSetting.productIds,
|
|
163
|
+
category: appSetting.productType,
|
|
164
|
+
product_brand: appSetting.productVendor,
|
|
165
|
+
tags: appSetting.tags,
|
|
166
|
+
min_rating: appSetting.minimumRating,
|
|
167
|
+
fill_empty: appSetting.fillEmpty,
|
|
168
|
+
random: appSetting.random,
|
|
169
|
+
with_photos: appSetting.withPhotos,
|
|
170
|
+
color_link: appSetting.linkColor,
|
|
171
|
+
product_image: appSetting.showProductImage,
|
|
172
|
+
take: appSetting.limitResults,
|
|
173
|
+
color_verified: appSetting.verifiedColor,
|
|
174
|
+
color_text: appSetting.textColor,
|
|
175
|
+
title: appSetting.carouselTitle,
|
|
176
|
+
color_title: appSetting.titleColor,
|
|
177
|
+
api_key: appSetting.publicKey,
|
|
178
|
+
store_hash: appSetting.storeHash,
|
|
179
|
+
label1: appSetting.labelFront,
|
|
180
|
+
label2: appSetting.labelBack,
|
|
181
|
+
width: appSetting.imageWidth,
|
|
182
|
+
height: appSetting.imageHeight,
|
|
183
|
+
product_id: appSetting.productId,
|
|
184
|
+
animation: appSetting.mainWidgetAnimation,
|
|
185
|
+
tags_exclude: appSetting.excludeTags,
|
|
186
|
+
tags_include: appSetting.includeTags,
|
|
187
|
+
search: appSetting.search,
|
|
188
|
+
linkify: appSetting.linkify
|
|
189
|
+
};
|
|
190
|
+
}
|
|
152
191
|
default:
|
|
153
192
|
return currentSetting;
|
|
154
193
|
}
|
|
@@ -791,7 +830,163 @@ const TrustshopProductReviews = {
|
|
|
791
830
|
'review-testimonial': null
|
|
792
831
|
}
|
|
793
832
|
};
|
|
833
|
+
const Stamped = {
|
|
834
|
+
Stamped: {
|
|
835
|
+
'main-widget': {
|
|
836
|
+
animation: true,
|
|
837
|
+
tags_exclude: '',
|
|
838
|
+
tags_include: '',
|
|
839
|
+
search: '',
|
|
840
|
+
linkify: true,
|
|
841
|
+
use_metafields: false,
|
|
842
|
+
sku_tagtype: 'sku'
|
|
843
|
+
},
|
|
844
|
+
'product-rating-image': {
|
|
845
|
+
api_key: '',
|
|
846
|
+
store_hash: '',
|
|
847
|
+
product_id: '',
|
|
848
|
+
width: '',
|
|
849
|
+
height: ''
|
|
850
|
+
},
|
|
851
|
+
'badge-double-image': {
|
|
852
|
+
api_key: '',
|
|
853
|
+
store_hash: '',
|
|
854
|
+
label1: '',
|
|
855
|
+
label2: '',
|
|
856
|
+
width: '',
|
|
857
|
+
height: ''
|
|
858
|
+
},
|
|
859
|
+
'badge-single-image': {
|
|
860
|
+
api_key: '',
|
|
861
|
+
store_hash: '',
|
|
862
|
+
label1: '',
|
|
863
|
+
label2: '',
|
|
864
|
+
width: '',
|
|
865
|
+
height: ''
|
|
866
|
+
},
|
|
867
|
+
carousel: {
|
|
868
|
+
title: 'Real Reviews from Real Customers',
|
|
869
|
+
auto_play: false,
|
|
870
|
+
take: 30,
|
|
871
|
+
color_title: '',
|
|
872
|
+
color_star: '',
|
|
873
|
+
color_text: '',
|
|
874
|
+
color_link: '',
|
|
875
|
+
review_ids: '',
|
|
876
|
+
product_ids: '',
|
|
877
|
+
category: '',
|
|
878
|
+
product_brand: '',
|
|
879
|
+
tags: '',
|
|
880
|
+
min_rating: 'none',
|
|
881
|
+
fill_empty: false,
|
|
882
|
+
random: false,
|
|
883
|
+
with_photos: false
|
|
884
|
+
},
|
|
885
|
+
'checkout-comments': {
|
|
886
|
+
product_ids: '',
|
|
887
|
+
style: 'box',
|
|
888
|
+
title: '',
|
|
889
|
+
timeago: false,
|
|
890
|
+
style_color_text: '',
|
|
891
|
+
style_color_link: ''
|
|
892
|
+
},
|
|
893
|
+
'full-page': {
|
|
894
|
+
product_image: true,
|
|
895
|
+
take: 30,
|
|
896
|
+
label_substitute: '',
|
|
897
|
+
color_star: '',
|
|
898
|
+
color_verified: '',
|
|
899
|
+
color_text: '',
|
|
900
|
+
color_link: '',
|
|
901
|
+
review_ids: '',
|
|
902
|
+
product_ids: '',
|
|
903
|
+
category: '',
|
|
904
|
+
product_brand: '',
|
|
905
|
+
tags: '',
|
|
906
|
+
min_rating: 'none',
|
|
907
|
+
fill_empty: false,
|
|
908
|
+
random: false,
|
|
909
|
+
with_photos: false
|
|
910
|
+
},
|
|
911
|
+
'instagram-feed': {
|
|
912
|
+
feed_type: 'carousel',
|
|
913
|
+
color_hover: '',
|
|
914
|
+
hover_text: '',
|
|
915
|
+
shop_button_text: '',
|
|
916
|
+
auto_play: false,
|
|
917
|
+
review_ids: '',
|
|
918
|
+
product_ids: '',
|
|
919
|
+
category: '',
|
|
920
|
+
product_brand: '',
|
|
921
|
+
tags: '',
|
|
922
|
+
min_rating: 'none',
|
|
923
|
+
fill_empty: false,
|
|
924
|
+
random: false,
|
|
925
|
+
with_photos: false
|
|
926
|
+
},
|
|
927
|
+
'single-highlight': {
|
|
928
|
+
review_ids: '',
|
|
929
|
+
product_ids: '',
|
|
930
|
+
category: '',
|
|
931
|
+
product_brand: '',
|
|
932
|
+
tags: ''
|
|
933
|
+
},
|
|
934
|
+
'site-badge': {
|
|
935
|
+
badge_type: 'badge',
|
|
936
|
+
color_outer: '',
|
|
937
|
+
color_inner: '',
|
|
938
|
+
color_ribbon: '',
|
|
939
|
+
color_text: '',
|
|
940
|
+
color_stars: '',
|
|
941
|
+
title_size: 12,
|
|
942
|
+
title: 'Verified Reviews'
|
|
943
|
+
},
|
|
944
|
+
'star-rating-badge': {
|
|
945
|
+
use_metafields: false,
|
|
946
|
+
sku_tagtype: 'sku',
|
|
947
|
+
is_featured_product: false,
|
|
948
|
+
featured_product_handle: ''
|
|
949
|
+
},
|
|
950
|
+
'top-rated': {
|
|
951
|
+
color_star: '',
|
|
952
|
+
color_link: ''
|
|
953
|
+
},
|
|
954
|
+
'visual-gallery': {
|
|
955
|
+
feed_type: 'feed',
|
|
956
|
+
auto_play: false,
|
|
957
|
+
color_star: '',
|
|
958
|
+
color_hover: '',
|
|
959
|
+
color_hover_opacity: 50,
|
|
960
|
+
review_ids: '',
|
|
961
|
+
product_ids: '',
|
|
962
|
+
category: '',
|
|
963
|
+
product_brand: '',
|
|
964
|
+
tags: '',
|
|
965
|
+
min_rating: 'none',
|
|
966
|
+
fill_empty: false,
|
|
967
|
+
random: false,
|
|
968
|
+
with_photos: false
|
|
969
|
+
},
|
|
970
|
+
'wall-photos': {
|
|
971
|
+
feed_type: 'feed',
|
|
972
|
+
auto_play: false,
|
|
973
|
+
color_star: '',
|
|
974
|
+
color_hover: '',
|
|
975
|
+
color_hover_opacity: 50,
|
|
976
|
+
review_ids: '',
|
|
977
|
+
product_ids: '',
|
|
978
|
+
category: '',
|
|
979
|
+
product_brand: '',
|
|
980
|
+
tags: '',
|
|
981
|
+
min_rating: 'none',
|
|
982
|
+
fill_empty: false,
|
|
983
|
+
random: false,
|
|
984
|
+
with_photos: false
|
|
985
|
+
}
|
|
986
|
+
}
|
|
987
|
+
};
|
|
794
988
|
const composeSettingsByWidgetType = {
|
|
989
|
+
...Stamped,
|
|
795
990
|
...TrustshopProductReviews,
|
|
796
991
|
...HulkProductOptions,
|
|
797
992
|
...MyappgurusProductReviews,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RechargeSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, SubifySubscriptionsConfig, SelleasyConfig, LoopSubscriptionsConfig, SkioSubscriptionsYcS20Config, ShopifyFormsConfig, ReviewxpoProductReviewsAppConfig, PumperBundlesVolumeDiscountConfig, UnlimitedBundlesDiscountsConfig, KiteFreeGiftDiscountConfig, FastBundleBundlesDiscountsConfig, SimpleBundlesKitsConfig, EasyBundleBuilderSkailamaConfig, PreorderNowPreOrderPqConfig, FlyBundlesUpsellsFbtConfig, JunipProductReviewsUgcConfig, PreorderNowWodPresaleConfig, YotpoReviewsV3UgcConfig, WhatmoreShoppableVideosreelConfig, ProductOptionsCustomizerConfig, AppointmentBookingCowlendarConfig, BoldSubscriptionsConfig, SproutPlantTreesGrowSalesConfig, InstasellShoppableInstagramConfig, GrowaveConfig, LoloyalLoyaltyReferralsConfig, PowerfulContactFormBuilderConfig, WishlistKingConfig, GloboProductOptionsVariantConfig, KachingBundlesConfig, BestBuyFulfillmentConfig, AftershipEmailMarketingsmsConfig, SegunoEmailMarketingConfig, TrustooConfig, LooxReviewsConfig, SeoantTrustBadgesIconConfig, TrustreviewsProductReviewsConfig, MyappgurusProductReviewsConfig, HulkProductOptionsConfig, TrustshopProductReviewsConfig } from './appConfig.js';
|
|
1
|
+
import { RechargeSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, SubifySubscriptionsConfig, SelleasyConfig, LoopSubscriptionsConfig, SkioSubscriptionsYcS20Config, ShopifyFormsConfig, ReviewxpoProductReviewsAppConfig, PumperBundlesVolumeDiscountConfig, UnlimitedBundlesDiscountsConfig, KiteFreeGiftDiscountConfig, FastBundleBundlesDiscountsConfig, SimpleBundlesKitsConfig, EasyBundleBuilderSkailamaConfig, PreorderNowPreOrderPqConfig, FlyBundlesUpsellsFbtConfig, JunipProductReviewsUgcConfig, PreorderNowWodPresaleConfig, YotpoReviewsV3UgcConfig, WhatmoreShoppableVideosreelConfig, ProductOptionsCustomizerConfig, AppointmentBookingCowlendarConfig, BoldSubscriptionsConfig, SproutPlantTreesGrowSalesConfig, InstasellShoppableInstagramConfig, GrowaveConfig, LoloyalLoyaltyReferralsConfig, PowerfulContactFormBuilderConfig, WishlistKingConfig, GloboProductOptionsVariantConfig, KachingBundlesConfig, BestBuyFulfillmentConfig, AftershipEmailMarketingsmsConfig, SegunoEmailMarketingConfig, TrustooConfig, LooxReviewsConfig, SeoantTrustBadgesIconConfig, TrustreviewsProductReviewsConfig, MyappgurusProductReviewsConfig, HulkProductOptionsConfig, TrustshopProductReviewsConfig, StampedConfig } from './appConfig.js';
|
|
2
2
|
|
|
3
3
|
const mapShopifyAppMeta = {
|
|
4
4
|
...RechargeSubscriptionsConfig,
|
|
@@ -41,7 +41,8 @@ const mapShopifyAppMeta = {
|
|
|
41
41
|
...TrustreviewsProductReviewsConfig,
|
|
42
42
|
...MyappgurusProductReviewsConfig,
|
|
43
43
|
...HulkProductOptionsConfig,
|
|
44
|
-
...TrustshopProductReviewsConfig
|
|
44
|
+
...TrustshopProductReviewsConfig,
|
|
45
|
+
...StampedConfig
|
|
45
46
|
};
|
|
46
47
|
const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
|
|
47
48
|
|
|
@@ -4,7 +4,8 @@ import { getAppBlockType } from './getAppBlockType.js';
|
|
|
4
4
|
const listAppUpdateNewVersion = [
|
|
5
5
|
'Growave',
|
|
6
6
|
'Trustoo',
|
|
7
|
-
'LooxReviews'
|
|
7
|
+
'LooxReviews',
|
|
8
|
+
'Stamped'
|
|
8
9
|
];
|
|
9
10
|
const listThirdPartyRejectAppBlock = {
|
|
10
11
|
YotpoReviews: {
|
|
@@ -15,6 +16,9 @@ const listThirdPartyRejectAppBlock = {
|
|
|
15
16
|
},
|
|
16
17
|
LooxReviews: {
|
|
17
18
|
conditionToReject: 'settings?.version === "v1"'
|
|
19
|
+
},
|
|
20
|
+
Stamped: {
|
|
21
|
+
conditionToReject: 'settings?.version === "v1"'
|
|
18
22
|
}
|
|
19
23
|
};
|
|
20
24
|
const getAppBlockConfig = (tag, appBlockId, settings)=>{
|
package/dist/types/index.d.ts
CHANGED
|
@@ -7062,7 +7062,6 @@ type BlockEntity = {
|
|
|
7062
7062
|
name?: string;
|
|
7063
7063
|
dateModified?: string | number;
|
|
7064
7064
|
childrens?: string[];
|
|
7065
|
-
rawChildrens?: BlockEntity[];
|
|
7066
7065
|
settings?: Record<string, any>;
|
|
7067
7066
|
advanced?: Record<string, any>;
|
|
7068
7067
|
styles?: Record<string, any>;
|
|
@@ -7252,6 +7251,7 @@ type InstantJudgeMeReviewsWidgetType = 'single_product_preview_badge' | 'review_
|
|
|
7252
7251
|
type InstantLooxReviewsWidgetType = 'product_reviews_widget' | 'reviews_widget_all_stores' | 'product_star_ratings_widget' | 'carousel_widget';
|
|
7253
7252
|
type InstantKlaviyoWidgetType = 'popup_widget' | 'flyout_widget' | 'embed_widget' | 'full_page_widget';
|
|
7254
7253
|
type StampedWidgetType = 'main-widget' | 'carousel' | 'full-page' | 'visual-gallery' | 'wall-photos' | 'site-badge' | 'instagram-feed' | 'checkout-reviews' | 'single-highlight' | 'top-rated' | 'badge-single' | 'badge-double' | 'badge-ribbon' | 'product-rating';
|
|
7254
|
+
type StampedWidgetTypeV2 = 'main-widget' | 'product-rating-image' | 'badge-double-image' | 'badge-ribbon-image' | 'badge-single-image' | 'carousel' | 'checkout-comments' | 'full-page' | 'instagram-feed' | 'single-highlight' | 'site-badge' | 'star-rating-badge' | 'top-rated' | 'visual-gallery' | 'wall-photos';
|
|
7255
7255
|
type LaiProductReviewsWidgetType = 'reviews_widget' | 'star_ratings' | 'homepage_reviews' | 'happy_customer_reviews' | 'star_ratings_in_list' | 'advanced_widget';
|
|
7256
7256
|
type LaiProductReviewsAdvancedWidgetType = 'cardCarousel' | 'testimonialCarousel' | 'mediaGallery' | 'cardGrid';
|
|
7257
7257
|
type YotpoReviewsWidgetType = 'reviews' | 'star-rating' | 'reviewHighlights';
|
|
@@ -40431,4 +40431,4 @@ declare const useInteraction: () => {
|
|
|
40431
40431
|
interactionListenerLoaded: (callback: () => void) => void;
|
|
40432
40432
|
};
|
|
40433
40433
|
|
|
40434
|
-
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, LooxReviewsWidgetTypeV2, 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, PreviewThemePageDocument, PreviewThemePageQueryResponse, PreviewThemePageQueryVariables, 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, ShopShopifyDocument, ShopShopifyQueryResponse, ShopShopifyQueryVariables, 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, TrustooWidgetTypeV2, 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, filterToolbarPreview, flattenConnection, formatMoney, fpixel, genSizeClass, genTypoClass, genVariable, generateCollectionQueryKey, generateProductQueryKey, generateProductsQueryKey, getAppBlocks, getAspectRatioGlobalSize, getBgImageByDevice, getBorderRadiusStyle, getBorderStyle, getCarouselContainerHeight, getCollection, getCornerCSSFromGlobal, getCornerStyle, 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, useProductBundleDiscount, useProductList, useProductListProducts, useProductListSettings, useProductListStore, useProductListStyles, useProductOfferDiscount, useProductProperties, useProductQuery, useProductShopifyEditLink, useProductStore, useProductsQuery, useProductsQueryAll, useQuantity, useRemoveCartItem, useSection, useSectionStore, useSelectedOption, useShopStore, useShopifyLink, useStoreFront, useSuspenseFetch, useSwatches, useSwatchesOptions, useTimezone, useUniqProductID, useUpdateCartItem, useVariant, useVariantOutStock, useVariants, validateEmail };
|
|
40434
|
+
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, LooxReviewsWidgetTypeV2, 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, PreviewThemePageDocument, PreviewThemePageQueryResponse, PreviewThemePageQueryVariables, 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, ShopShopifyDocument, ShopShopifyQueryResponse, ShopShopifyQueryVariables, shop as ShopType, SizeProps, SizeSetting, SizeSettingGlobal, SizeType, SpacingType, StampedWidgetType, StampedWidgetTypeV2, StateProp, StateSelector, StateType, StoreConfig, StorePropertyDocument, StorePropertyQueryResponse, StorePropertyQueryVariables, SwatchesOptionType, SwatchesOptionValue, TagShopWidgetType, ThemePageDocument, ThemePageQueryResponse, ThemePageQueryVariables, ThemeSectionStatus$1 as ThemeSectionStatus, TransformProp, TriggerConfig, TrustooWidgetType, TrustooWidgetTypeV2, 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, filterToolbarPreview, flattenConnection, formatMoney, fpixel, genSizeClass, genTypoClass, genVariable, generateCollectionQueryKey, generateProductQueryKey, generateProductsQueryKey, getAppBlocks, getAspectRatioGlobalSize, getBgImageByDevice, getBorderRadiusStyle, getBorderStyle, getCarouselContainerHeight, getCollection, getCornerCSSFromGlobal, getCornerStyle, 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, useProductBundleDiscount, useProductList, useProductListProducts, useProductListSettings, useProductListStore, useProductListStyles, useProductOfferDiscount, useProductProperties, useProductQuery, useProductShopifyEditLink, useProductStore, useProductsQuery, useProductsQueryAll, useQuantity, useRemoveCartItem, useSection, useSectionStore, useSelectedOption, useShopStore, useShopifyLink, useStoreFront, useSuspenseFetch, useSwatches, useSwatchesOptions, useTimezone, useUniqProductID, useUpdateCartItem, useVariant, useVariantOutStock, useVariants, validateEmail };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gem-sdk/core",
|
|
3
|
-
"version": "2.0.0-staging.
|
|
3
|
+
"version": "2.0.0-staging.136",
|
|
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": "1.58.0-staging.79",
|
|
31
|
-
"@gem-sdk/styles": "2.0.0-staging.
|
|
31
|
+
"@gem-sdk/styles": "2.0.0-staging.127",
|
|
32
32
|
"@types/classnames": "^2.3.1"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|