@gem-sdk/core 2.0.0-staging.117 → 2.0.0
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/components/AddOn.js +0 -1
- package/dist/cjs/components/ComponentAnimation.js +0 -1
- package/dist/cjs/components/ComponentToolbarPreview.js +0 -1
- package/dist/cjs/components/ComponentWrapper.js +0 -1
- package/dist/cjs/components/ComponentWrapperPreview.js +0 -1
- package/dist/cjs/components/Empty.js +0 -1
- package/dist/cjs/components/InteractionSuffix.js +0 -1
- package/dist/cjs/components/Render.js +0 -1
- package/dist/cjs/components/Render.liquid.js +0 -1
- package/dist/cjs/components/RenderBlock.js +0 -1
- package/dist/cjs/components/RenderCustomCode.js +0 -1
- package/dist/cjs/components/RenderPreview.js +0 -1
- package/dist/cjs/components/RenderSection.js +0 -1
- package/dist/cjs/components/ai-generator/AIContentGenerator.js +0 -1
- package/dist/cjs/components/ai-generator/AIGenContentLoading.js +0 -1
- package/dist/cjs/components/ai-generator/components/PickProduct.js +0 -1
- package/dist/cjs/components/ai-generator/components/ToneAndVoice.js +0 -1
- package/dist/cjs/components/ai-generator/icons/AIIcon.js +0 -1
- package/dist/cjs/components/ai-generator/icons/CloseIcon.js +0 -1
- package/dist/cjs/components/ai-generator/icons/DropdownIcon.js +0 -1
- package/dist/cjs/components/ai-generator/icons/SearchIcon.js +0 -1
- package/dist/cjs/components/ai-generator/icons/ShowMoreIcon.js +0 -1
- package/dist/cjs/components/ai-generator/icons/UpgradeIcon.js +0 -1
- package/dist/cjs/components/ai-generator/icons/WarningIcon.js +0 -1
- package/dist/cjs/components/resize/Resize.js +0 -1
- package/dist/cjs/components/resize/Spacing.js +0 -1
- package/dist/cjs/components/theme-section/CreateThemeSection.js +0 -1
- package/dist/cjs/components/theme-section/ThemeSectionStatus.js +0 -1
- package/dist/cjs/components/theme-section/ThemeSectionTooltip.js +0 -1
- package/dist/cjs/components/toolbar/Tooltip.js +0 -1
- package/dist/cjs/contexts/AddonContext.js +0 -1
- package/dist/cjs/contexts/ArticleContext.js +0 -1
- package/dist/cjs/contexts/ArticleListContext.js +0 -1
- package/dist/cjs/contexts/BuilderComponent.js +0 -1
- package/dist/cjs/contexts/BuilderContext.js +0 -1
- package/dist/cjs/contexts/BuilderPreviewContext.js +0 -1
- package/dist/cjs/contexts/CartLineContext.js +0 -1
- package/dist/cjs/contexts/CollectionContext.js +0 -1
- package/dist/cjs/contexts/ModalContext.js +0 -1
- package/dist/cjs/contexts/PageContext.js +0 -1
- package/dist/cjs/contexts/ProductContext.js +0 -1
- package/dist/cjs/contexts/ProductListContext.js +0 -1
- package/dist/cjs/contexts/SectionContext.js +0 -1
- package/dist/cjs/contexts/ShopContext.js +0 -1
- package/dist/cjs/graphql/fragments/published-theme-page.generated.js +0 -4
- package/dist/cjs/graphql/queries/articles.generated.js +0 -1
- package/dist/cjs/helpers/compose-advance-style.js +9 -5
- package/dist/cjs/helpers/filter-toolbar-preview.js +0 -1
- package/dist/cjs/helpers/interaction/index.js +0 -1
- package/dist/cjs/helpers/is-empty-children.js +0 -1
- package/dist/cjs/helpers/third-party/appConfig.js +0 -56
- package/dist/cjs/helpers/third-party/appSetting.js +0 -180
- package/dist/cjs/helpers/third-party/constant.js +1 -9
- package/dist/cjs/hooks/animation/useAnimationActions.js +0 -1
- package/dist/cjs/hooks/animation/useAnimationConfig.js +0 -1
- package/dist/cjs/hooks/animation/useAnimationPreview.js +0 -1
- package/dist/cjs/hooks/animation/useAnimationTarget.js +0 -1
- package/dist/cjs/hooks/animation/useApplyAnimation.js +0 -1
- package/dist/cjs/hooks/articles/useArticlesQuery.js +0 -1
- package/dist/cjs/hooks/cart/use-add-to-cart.js +0 -1
- package/dist/cjs/hooks/cart/use-cart-data.js +0 -1
- package/dist/cjs/hooks/cart/use-cart-discount-codes-update.js +0 -1
- package/dist/cjs/hooks/cart/use-cart-note-update.js +0 -1
- package/dist/cjs/hooks/cart/use-create-cart.js +0 -1
- package/dist/cjs/hooks/cart/use-remove-cart-item.js +0 -1
- package/dist/cjs/hooks/cart/use-update-cart-item.js +0 -1
- package/dist/cjs/hooks/shop/use-collection-query.js +0 -1
- package/dist/cjs/hooks/shop/use-collections-query.js +0 -1
- package/dist/cjs/hooks/shop/use-product-query.js +0 -1
- package/dist/cjs/hooks/shop/use-products-query.js +0 -1
- package/dist/cjs/hooks/shop.js +0 -10
- package/dist/cjs/hooks/use-current-device.js +0 -1
- package/dist/cjs/hooks/use-lazy-video.js +0 -1
- package/dist/cjs/hooks/useAnimations.js +0 -1
- package/dist/cjs/hooks/useCartId.js +0 -1
- package/dist/cjs/hooks/useCartLine.js +0 -1
- package/dist/cjs/hooks/useCartUI.js +0 -1
- package/dist/cjs/hooks/useCollection.js +0 -1
- package/dist/cjs/hooks/useFetchHandle.js +0 -1
- package/dist/cjs/hooks/useFormatMoney.js +0 -1
- package/dist/cjs/hooks/useInitialSwatchesOptions.js +3 -3
- package/dist/cjs/hooks/useInteraction.js +0 -1
- package/dist/cjs/hooks/useIsomorphicLayoutEffect.js +0 -1
- package/dist/cjs/hooks/useLoadScript.js +0 -1
- package/dist/cjs/hooks/useMoney.js +0 -1
- package/dist/cjs/hooks/usePrevious.js +0 -1
- package/dist/cjs/hooks/useProduct.js +0 -18
- package/dist/cjs/hooks/useProductList.js +0 -1
- package/dist/cjs/hooks/useSuspenseFetch.js +0 -1
- package/dist/cjs/hooks/useSwatchesOptions.js +0 -1
- package/dist/cjs/hooks/useToolbarPostPurchase.js +0 -1
- package/dist/cjs/index.js +1 -7
- package/dist/esm/components/AddOn.js +0 -1
- package/dist/esm/components/ComponentAnimation.js +0 -1
- package/dist/esm/components/ComponentToolbarPreview.js +0 -1
- package/dist/esm/components/ComponentWrapper.js +0 -1
- package/dist/esm/components/ComponentWrapperPreview.js +0 -1
- package/dist/esm/components/Empty.js +0 -1
- package/dist/esm/components/InteractionSuffix.js +0 -1
- package/dist/esm/components/Render.js +0 -1
- package/dist/esm/components/Render.liquid.js +0 -1
- package/dist/esm/components/RenderBlock.js +0 -1
- package/dist/esm/components/RenderCustomCode.js +0 -1
- package/dist/esm/components/RenderPreview.js +0 -1
- package/dist/esm/components/RenderSection.js +0 -1
- package/dist/esm/components/ai-generator/AIContentGenerator.js +0 -1
- package/dist/esm/components/ai-generator/AIGenContentLoading.js +0 -1
- package/dist/esm/components/ai-generator/components/PickProduct.js +0 -1
- package/dist/esm/components/ai-generator/components/ToneAndVoice.js +0 -1
- package/dist/esm/components/ai-generator/icons/AIIcon.js +0 -1
- package/dist/esm/components/ai-generator/icons/CloseIcon.js +0 -1
- package/dist/esm/components/ai-generator/icons/DropdownIcon.js +0 -1
- package/dist/esm/components/ai-generator/icons/SearchIcon.js +0 -1
- package/dist/esm/components/ai-generator/icons/ShowMoreIcon.js +0 -1
- package/dist/esm/components/ai-generator/icons/UpgradeIcon.js +0 -1
- package/dist/esm/components/ai-generator/icons/WarningIcon.js +0 -1
- package/dist/esm/components/resize/Resize.js +0 -1
- package/dist/esm/components/resize/Spacing.js +0 -1
- package/dist/esm/components/theme-section/CreateThemeSection.js +0 -1
- package/dist/esm/components/theme-section/ThemeSectionStatus.js +0 -1
- package/dist/esm/components/theme-section/ThemeSectionTooltip.js +0 -1
- package/dist/esm/components/toolbar/Tooltip.js +0 -1
- package/dist/esm/contexts/AddonContext.js +0 -1
- package/dist/esm/contexts/ArticleContext.js +0 -1
- package/dist/esm/contexts/ArticleListContext.js +0 -1
- package/dist/esm/contexts/BuilderComponent.js +0 -1
- package/dist/esm/contexts/BuilderContext.js +0 -1
- package/dist/esm/contexts/BuilderPreviewContext.js +0 -1
- package/dist/esm/contexts/CartLineContext.js +0 -1
- package/dist/esm/contexts/CollectionContext.js +0 -1
- package/dist/esm/contexts/ModalContext.js +0 -1
- package/dist/esm/contexts/PageContext.js +0 -1
- package/dist/esm/contexts/ProductContext.js +0 -1
- package/dist/esm/contexts/ProductListContext.js +0 -1
- package/dist/esm/contexts/SectionContext.js +0 -1
- package/dist/esm/contexts/ShopContext.js +0 -1
- package/dist/esm/graphql/fragments/published-theme-page.generated.js +0 -4
- package/dist/esm/graphql/queries/articles.generated.js +0 -1
- package/dist/esm/helpers/compose-advance-style.js +9 -5
- package/dist/esm/helpers/filter-toolbar-preview.js +0 -1
- package/dist/esm/helpers/interaction/index.js +0 -1
- package/dist/esm/helpers/is-empty-children.js +0 -1
- package/dist/esm/helpers/third-party/appConfig.js +1 -49
- package/dist/esm/helpers/third-party/appSetting.js +0 -180
- package/dist/esm/helpers/third-party/constant.js +2 -10
- package/dist/esm/hooks/animation/useAnimationActions.js +0 -1
- package/dist/esm/hooks/animation/useAnimationConfig.js +0 -1
- package/dist/esm/hooks/animation/useAnimationPreview.js +0 -1
- package/dist/esm/hooks/animation/useAnimationTarget.js +0 -1
- package/dist/esm/hooks/animation/useApplyAnimation.js +0 -1
- package/dist/esm/hooks/articles/useArticlesQuery.js +0 -1
- package/dist/esm/hooks/cart/use-add-to-cart.js +0 -1
- package/dist/esm/hooks/cart/use-cart-data.js +0 -1
- package/dist/esm/hooks/cart/use-cart-discount-codes-update.js +0 -1
- package/dist/esm/hooks/cart/use-cart-note-update.js +0 -1
- package/dist/esm/hooks/cart/use-create-cart.js +0 -1
- package/dist/esm/hooks/cart/use-remove-cart-item.js +0 -1
- package/dist/esm/hooks/cart/use-update-cart-item.js +0 -1
- package/dist/esm/hooks/shop/use-collection-query.js +0 -1
- package/dist/esm/hooks/shop/use-collections-query.js +0 -1
- package/dist/esm/hooks/shop/use-product-query.js +0 -1
- package/dist/esm/hooks/shop/use-products-query.js +0 -1
- package/dist/esm/hooks/shop.js +1 -10
- package/dist/esm/hooks/use-current-device.js +0 -1
- package/dist/esm/hooks/use-lazy-video.js +0 -1
- package/dist/esm/hooks/useAnimations.js +0 -1
- package/dist/esm/hooks/useCartId.js +0 -1
- package/dist/esm/hooks/useCartLine.js +0 -1
- package/dist/esm/hooks/useCartUI.js +0 -1
- package/dist/esm/hooks/useCollection.js +0 -1
- package/dist/esm/hooks/useFetchHandle.js +0 -1
- package/dist/esm/hooks/useFormatMoney.js +0 -1
- package/dist/esm/hooks/useInitialSwatchesOptions.js +3 -3
- package/dist/esm/hooks/useInteraction.js +0 -1
- package/dist/esm/hooks/useIsomorphicLayoutEffect.js +0 -1
- package/dist/esm/hooks/useLoadScript.js +0 -1
- package/dist/esm/hooks/useMoney.js +0 -1
- package/dist/esm/hooks/usePrevious.js +0 -1
- package/dist/esm/hooks/useProduct.js +1 -18
- package/dist/esm/hooks/useProductList.js +0 -1
- package/dist/esm/hooks/useSuspenseFetch.js +0 -1
- package/dist/esm/hooks/useSwatchesOptions.js +0 -1
- package/dist/esm/hooks/useToolbarPostPurchase.js +0 -1
- package/dist/esm/index.js +3 -5
- package/dist/types/index.d.ts +1569 -78
- package/package.json +4 -4
- package/dist/cjs/graphql/queries/shop-shopify.generated.js +0 -11
- package/dist/cjs/hooks/shop/useShopifyLink.js +0 -47
- package/dist/esm/graphql/queries/shop-shopify.generated.js +0 -9
- package/dist/esm/hooks/shop/useShopifyLink.js +0 -45
|
@@ -297,10 +297,14 @@ const removeAttrInStyle = (style, filterKeys)=>{
|
|
|
297
297
|
});
|
|
298
298
|
return newStyle;
|
|
299
299
|
};
|
|
300
|
-
const
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
300
|
+
const filterCornerInStyle = (style)=>{
|
|
301
|
+
const cornerKeys = [
|
|
302
|
+
'--bblr',
|
|
303
|
+
'--bbrr',
|
|
304
|
+
'--btlr',
|
|
305
|
+
'--btrr'
|
|
306
|
+
];
|
|
307
|
+
return filterAttrInStyle(style, cornerKeys);
|
|
304
308
|
};
|
|
305
309
|
const removePaddingYInStyle = (style)=>{
|
|
306
310
|
const keys = [
|
|
@@ -317,7 +321,7 @@ const removePaddingYInStyle = (style)=>{
|
|
|
317
321
|
exports.composeAdvanceStyle = composeAdvanceStyle;
|
|
318
322
|
exports.composeAdvanceStyleForPostPurchase = composeAdvanceStyleForPostPurchase;
|
|
319
323
|
exports.filterAttrInStyle = filterAttrInStyle;
|
|
320
|
-
exports.
|
|
324
|
+
exports.filterCornerInStyle = filterCornerInStyle;
|
|
321
325
|
exports.removeAttrInStyle = removeAttrInStyle;
|
|
322
326
|
exports.removePaddingYInStyle = removePaddingYInStyle;
|
|
323
327
|
exports.splitStyle = splitStyle;
|
|
@@ -186,24 +186,6 @@ const KachingBundlesConfig = {
|
|
|
186
186
|
appId: '6c637362-a106-4a32-94ac-94dcfd68cdb8'
|
|
187
187
|
}
|
|
188
188
|
};
|
|
189
|
-
const BestBuyFulfillmentConfig = {
|
|
190
|
-
BestBuyFulfillment: {
|
|
191
|
-
appName: 'best-buy-fulfillment',
|
|
192
|
-
appId: 'd9839db8-b94c-4590-ac73-3469abe7ed9b'
|
|
193
|
-
}
|
|
194
|
-
};
|
|
195
|
-
const AftershipEmailMarketingsmsConfig = {
|
|
196
|
-
AftershipEmailMarketingsms: {
|
|
197
|
-
appName: 'aftership-email-marketing-sms',
|
|
198
|
-
appId: '2db13273-f8db-4274-be89-c86a3352fb70'
|
|
199
|
-
}
|
|
200
|
-
};
|
|
201
|
-
const SegunoEmailMarketingConfig = {
|
|
202
|
-
SegunoEmailMarketing: {
|
|
203
|
-
appName: 'seguno-email',
|
|
204
|
-
appId: 'db65571f-fa4d-473d-baa2-283a96dc76bc'
|
|
205
|
-
}
|
|
206
|
-
};
|
|
207
189
|
const TrustooConfig = {
|
|
208
190
|
Trustoo: {
|
|
209
191
|
appName: 'trustoo-io-reviews',
|
|
@@ -216,40 +198,8 @@ const LooxReviewsConfig = {
|
|
|
216
198
|
appId: '5c3b337f-fd14-4df5-b1d6-80ec13e6e28e'
|
|
217
199
|
}
|
|
218
200
|
};
|
|
219
|
-
const SeoantTrustBadgesIconConfig = {
|
|
220
|
-
SeoantTrustBadgesIcon: {
|
|
221
|
-
appName: 'seoant-trust-badges',
|
|
222
|
-
appId: 'f42f2346-5d14-4b41-a8b9-4b6ee352262e'
|
|
223
|
-
}
|
|
224
|
-
};
|
|
225
|
-
const TrustreviewsProductReviewsConfig = {
|
|
226
|
-
TrustreviewsProductReviews: {
|
|
227
|
-
appName: 'trustreviews',
|
|
228
|
-
appId: '56d0fe1b-e701-4cff-8f84-466a26e09adb'
|
|
229
|
-
}
|
|
230
|
-
};
|
|
231
|
-
const MyappgurusProductReviewsConfig = {
|
|
232
|
-
MyappgurusProductReviews: {
|
|
233
|
-
appName: 'mag-product-reviews',
|
|
234
|
-
appId: '0cf5caa0-e138-46b8-999b-520d16633e4c'
|
|
235
|
-
}
|
|
236
|
-
};
|
|
237
|
-
const HulkProductOptionsConfig = {
|
|
238
|
-
HulkProductOptions: {
|
|
239
|
-
appName: 'hulk-product-options',
|
|
240
|
-
appId: '380168ef-9475-4244-a291-f66b189208b5'
|
|
241
|
-
}
|
|
242
|
-
};
|
|
243
|
-
const TrustshopProductReviewsConfig = {
|
|
244
|
-
TrustshopProductReviews: {
|
|
245
|
-
appName: 'trustshop-reviews',
|
|
246
|
-
appId: '18b0c4cc-5411-4b6e-922d-34fdc2f30ab9'
|
|
247
|
-
}
|
|
248
|
-
};
|
|
249
201
|
|
|
250
|
-
exports.AftershipEmailMarketingsmsConfig = AftershipEmailMarketingsmsConfig;
|
|
251
202
|
exports.AppointmentBookingCowlendarConfig = AppointmentBookingCowlendarConfig;
|
|
252
|
-
exports.BestBuyFulfillmentConfig = BestBuyFulfillmentConfig;
|
|
253
203
|
exports.BoldSubscriptionsConfig = BoldSubscriptionsConfig;
|
|
254
204
|
exports.BonLoyaltyRewardsReferralsConfig = BonLoyaltyRewardsReferralsConfig;
|
|
255
205
|
exports.EasyBundleBuilderSkailamaConfig = EasyBundleBuilderSkailamaConfig;
|
|
@@ -257,7 +207,6 @@ exports.FastBundleBundlesDiscountsConfig = FastBundleBundlesDiscountsConfig;
|
|
|
257
207
|
exports.FlyBundlesUpsellsFbtConfig = FlyBundlesUpsellsFbtConfig;
|
|
258
208
|
exports.GloboProductOptionsVariantConfig = GloboProductOptionsVariantConfig;
|
|
259
209
|
exports.GrowaveConfig = GrowaveConfig;
|
|
260
|
-
exports.HulkProductOptionsConfig = HulkProductOptionsConfig;
|
|
261
210
|
exports.InstasellShoppableInstagramConfig = InstasellShoppableInstagramConfig;
|
|
262
211
|
exports.JunipProductReviewsUgcConfig = JunipProductReviewsUgcConfig;
|
|
263
212
|
exports.KachingBundlesConfig = KachingBundlesConfig;
|
|
@@ -265,7 +214,6 @@ exports.KiteFreeGiftDiscountConfig = KiteFreeGiftDiscountConfig;
|
|
|
265
214
|
exports.LoloyalLoyaltyReferralsConfig = LoloyalLoyaltyReferralsConfig;
|
|
266
215
|
exports.LoopSubscriptionsConfig = LoopSubscriptionsConfig;
|
|
267
216
|
exports.LooxReviewsConfig = LooxReviewsConfig;
|
|
268
|
-
exports.MyappgurusProductReviewsConfig = MyappgurusProductReviewsConfig;
|
|
269
217
|
exports.PowerfulContactFormBuilderConfig = PowerfulContactFormBuilderConfig;
|
|
270
218
|
exports.PreorderNowPreOrderPqConfig = PreorderNowPreOrderPqConfig;
|
|
271
219
|
exports.PreorderNowWodPresaleConfig = PreorderNowWodPresaleConfig;
|
|
@@ -273,17 +221,13 @@ exports.ProductOptionsCustomizerConfig = ProductOptionsCustomizerConfig;
|
|
|
273
221
|
exports.PumperBundlesVolumeDiscountConfig = PumperBundlesVolumeDiscountConfig;
|
|
274
222
|
exports.RechargeSubscriptionsConfig = RechargeSubscriptionsConfig;
|
|
275
223
|
exports.ReviewxpoProductReviewsAppConfig = ReviewxpoProductReviewsAppConfig;
|
|
276
|
-
exports.SegunoEmailMarketingConfig = SegunoEmailMarketingConfig;
|
|
277
224
|
exports.SelleasyConfig = SelleasyConfig;
|
|
278
|
-
exports.SeoantTrustBadgesIconConfig = SeoantTrustBadgesIconConfig;
|
|
279
225
|
exports.ShopifyFormsConfig = ShopifyFormsConfig;
|
|
280
226
|
exports.SimpleBundlesKitsConfig = SimpleBundlesKitsConfig;
|
|
281
227
|
exports.SkioSubscriptionsYcS20Config = SkioSubscriptionsYcS20Config;
|
|
282
228
|
exports.SproutPlantTreesGrowSalesConfig = SproutPlantTreesGrowSalesConfig;
|
|
283
229
|
exports.SubifySubscriptionsConfig = SubifySubscriptionsConfig;
|
|
284
230
|
exports.TrustooConfig = TrustooConfig;
|
|
285
|
-
exports.TrustreviewsProductReviewsConfig = TrustreviewsProductReviewsConfig;
|
|
286
|
-
exports.TrustshopProductReviewsConfig = TrustshopProductReviewsConfig;
|
|
287
231
|
exports.UnlimitedBundlesDiscountsConfig = UnlimitedBundlesDiscountsConfig;
|
|
288
232
|
exports.WhatmoreShoppableVideosreelConfig = WhatmoreShoppableVideosreelConfig;
|
|
289
233
|
exports.WishlistKingConfig = WishlistKingConfig;
|
|
@@ -95,13 +95,6 @@ const overrideSettings = (tag, currentSetting, appSetting)=>{
|
|
|
95
95
|
selected_product: appSetting?.['productHandle'] || '{{ product }}'
|
|
96
96
|
};
|
|
97
97
|
}
|
|
98
|
-
case 'TrustshopProductReviews':
|
|
99
|
-
{
|
|
100
|
-
return {
|
|
101
|
-
...currentSetting,
|
|
102
|
-
selected_product: appSetting?.['productHandle'] || '{{ product }}'
|
|
103
|
-
};
|
|
104
|
-
}
|
|
105
98
|
case 'WhatmoreShoppableVideosreel':
|
|
106
99
|
{
|
|
107
100
|
return {
|
|
@@ -130,20 +123,6 @@ const overrideSettings = (tag, currentSetting, appSetting)=>{
|
|
|
130
123
|
shortcode: appSetting?.shortcode
|
|
131
124
|
};
|
|
132
125
|
}
|
|
133
|
-
case 'AftershipEmailMarketingsms':
|
|
134
|
-
{
|
|
135
|
-
return {
|
|
136
|
-
...currentSetting,
|
|
137
|
-
embedded_form_id: appSetting?.formId
|
|
138
|
-
};
|
|
139
|
-
}
|
|
140
|
-
case 'SeoantTrustBadgesIcon':
|
|
141
|
-
{
|
|
142
|
-
return {
|
|
143
|
-
...currentSetting,
|
|
144
|
-
badge_id: appSetting?.BadgeId
|
|
145
|
-
};
|
|
146
|
-
}
|
|
147
126
|
case 'YotpoReviews':
|
|
148
127
|
{
|
|
149
128
|
return {
|
|
@@ -485,70 +464,6 @@ const GloboProductOptionsVariant = {
|
|
|
485
464
|
'app-block': null
|
|
486
465
|
}
|
|
487
466
|
};
|
|
488
|
-
const BestBuyFulfillment = {
|
|
489
|
-
BestBuyFulfillment: {
|
|
490
|
-
'pickup-selector': null
|
|
491
|
-
}
|
|
492
|
-
};
|
|
493
|
-
const AftershipEmailMarketingsms = {
|
|
494
|
-
AftershipEmailMarketingsms: {
|
|
495
|
-
embeded_form: {
|
|
496
|
-
embedded_form_id: ''
|
|
497
|
-
}
|
|
498
|
-
}
|
|
499
|
-
};
|
|
500
|
-
const SegunoEmailMarketing = {
|
|
501
|
-
SegunoEmailMarketing: {
|
|
502
|
-
back_in_stock: {
|
|
503
|
-
heading: '<h3>Get notified when this is back in stock</h3>',
|
|
504
|
-
label_email: 'Email',
|
|
505
|
-
placeholder_email: '',
|
|
506
|
-
show_permission_checkbox: true,
|
|
507
|
-
label_permission: '<p>Also, sign up to receive newsletters</p>',
|
|
508
|
-
label_notify: 'Notify me',
|
|
509
|
-
label_success: '<p>Thanks! You will be notified once the product is back in stock.</p>',
|
|
510
|
-
product_exclusion_tag: 'back-in-stock-excluded',
|
|
511
|
-
default_variant: 'available',
|
|
512
|
-
padding: 0,
|
|
513
|
-
form_gap: 16,
|
|
514
|
-
button_alignment: 'stretch',
|
|
515
|
-
font_size: 16,
|
|
516
|
-
input_font_size: 16,
|
|
517
|
-
button_font_size: 16,
|
|
518
|
-
background_color: '#ffffff',
|
|
519
|
-
text_color: '#121212',
|
|
520
|
-
button_background_color: '#121212',
|
|
521
|
-
button_border_color: '#121212',
|
|
522
|
-
button_text_color: '#ffffff',
|
|
523
|
-
input_background_color: '#ffffff',
|
|
524
|
-
input_border_color: '#121212',
|
|
525
|
-
input_text_color: '#121212',
|
|
526
|
-
custom_css: ''
|
|
527
|
-
},
|
|
528
|
-
newsletter_form: {
|
|
529
|
-
heading: 'Subscribe to our newsletter',
|
|
530
|
-
subheading: '<p>Be the first to know about new collections and exclusive offers.</p>',
|
|
531
|
-
show_first_name: false,
|
|
532
|
-
show_last_name: false,
|
|
533
|
-
show_permission_checkbox: false,
|
|
534
|
-
tags: 'newsletter',
|
|
535
|
-
return_to: '',
|
|
536
|
-
label_first_name: 'First name',
|
|
537
|
-
placeholder_first_name: '',
|
|
538
|
-
label_last_name: 'Last name',
|
|
539
|
-
placeholder_last_name: '',
|
|
540
|
-
label_email: 'Email',
|
|
541
|
-
placeholder_email: '',
|
|
542
|
-
label_permission: '<p>I agree to receive marketing emails</p>',
|
|
543
|
-
label_subscribe: 'Subscribe',
|
|
544
|
-
success_message: 'Thanks for subscribing',
|
|
545
|
-
background_color: '#ffffff',
|
|
546
|
-
text_color: '#1a1b18',
|
|
547
|
-
button_background_color: '#445958',
|
|
548
|
-
button_text_color: '#ffffff'
|
|
549
|
-
}
|
|
550
|
-
}
|
|
551
|
-
};
|
|
552
467
|
const Trustoo = {
|
|
553
468
|
Trustoo: {
|
|
554
469
|
'barrage-carousel': null,
|
|
@@ -706,102 +621,7 @@ const LooxReviews = {
|
|
|
706
621
|
}
|
|
707
622
|
}
|
|
708
623
|
};
|
|
709
|
-
const SeoantTrustBadgesIcon = {
|
|
710
|
-
SeoantTrustBadgesIcon: {
|
|
711
|
-
star_rating: {
|
|
712
|
-
badge_id: null
|
|
713
|
-
}
|
|
714
|
-
}
|
|
715
|
-
};
|
|
716
|
-
const TrustreviewsProductReviews = {
|
|
717
|
-
TrustreviewsProductReviews: {
|
|
718
|
-
questions_widget: {
|
|
719
|
-
product: '{{ product }}'
|
|
720
|
-
},
|
|
721
|
-
'review-carousel': null,
|
|
722
|
-
reviews_text_widget: null,
|
|
723
|
-
reviews_widget: {
|
|
724
|
-
product: '{{ product }}'
|
|
725
|
-
},
|
|
726
|
-
shop_reviews_widget: null,
|
|
727
|
-
star_rating: {
|
|
728
|
-
product: '{{product}}',
|
|
729
|
-
hide_on_no_reviews: false,
|
|
730
|
-
enable_jsonld: false,
|
|
731
|
-
starsize: 16,
|
|
732
|
-
addtional_text: ''
|
|
733
|
-
},
|
|
734
|
-
'reviews-testimonials': null,
|
|
735
|
-
all_reviews_widget: null,
|
|
736
|
-
'review-cards': null,
|
|
737
|
-
'review-gallery': null,
|
|
738
|
-
medals: null
|
|
739
|
-
}
|
|
740
|
-
};
|
|
741
|
-
const MyappgurusProductReviews = {
|
|
742
|
-
MyappgurusProductReviews: {
|
|
743
|
-
allReviews: {
|
|
744
|
-
Show_by_label: ''
|
|
745
|
-
},
|
|
746
|
-
allReviewsCounter: {
|
|
747
|
-
out_of_label: '',
|
|
748
|
-
stars_based_on_label: '',
|
|
749
|
-
reviews_label: ''
|
|
750
|
-
},
|
|
751
|
-
form: {
|
|
752
|
-
block_heading: '',
|
|
753
|
-
no_rating: '',
|
|
754
|
-
subtitle2: '',
|
|
755
|
-
review_btn: '',
|
|
756
|
-
see_all_reviews_label: '',
|
|
757
|
-
form_heading: '',
|
|
758
|
-
name_label: '',
|
|
759
|
-
email_label: '',
|
|
760
|
-
review_title_label: '',
|
|
761
|
-
review_description_label: '',
|
|
762
|
-
ratings_label: '',
|
|
763
|
-
delivery_ratings_label: '',
|
|
764
|
-
payment_ratings_label: '',
|
|
765
|
-
price_ratings_label: '',
|
|
766
|
-
review_image_label: '',
|
|
767
|
-
submit_btn_label: '',
|
|
768
|
-
cancel_btn_label: '',
|
|
769
|
-
sort_label: '',
|
|
770
|
-
sort1_label: '',
|
|
771
|
-
sort2_label: '',
|
|
772
|
-
sort3_label: '',
|
|
773
|
-
showing_label: '',
|
|
774
|
-
to_label: '',
|
|
775
|
-
of_label: '',
|
|
776
|
-
results_label: ''
|
|
777
|
-
},
|
|
778
|
-
star: null
|
|
779
|
-
}
|
|
780
|
-
};
|
|
781
|
-
const HulkProductOptions = {
|
|
782
|
-
HulkProductOptions: {
|
|
783
|
-
option_block: null
|
|
784
|
-
}
|
|
785
|
-
};
|
|
786
|
-
const TrustshopProductReviews = {
|
|
787
|
-
TrustshopProductReviews: {
|
|
788
|
-
'widget-product-rating': {
|
|
789
|
-
selected_product: '{{ product }}'
|
|
790
|
-
},
|
|
791
|
-
'all-reviews': null,
|
|
792
|
-
'widget-box': null,
|
|
793
|
-
'review-testimonial': null
|
|
794
|
-
}
|
|
795
|
-
};
|
|
796
624
|
const composeSettingsByWidgetType = {
|
|
797
|
-
...TrustshopProductReviews,
|
|
798
|
-
...HulkProductOptions,
|
|
799
|
-
...MyappgurusProductReviews,
|
|
800
|
-
...TrustreviewsProductReviews,
|
|
801
|
-
...SeoantTrustBadgesIcon,
|
|
802
|
-
...SegunoEmailMarketing,
|
|
803
|
-
...AftershipEmailMarketingsms,
|
|
804
|
-
...BestBuyFulfillment,
|
|
805
625
|
...GloboProductOptionsVariant,
|
|
806
626
|
...WishlistKing,
|
|
807
627
|
...LoloyalLoyaltyReferrals,
|