@gem-sdk/components 23.1.3 → 24.0.0-dev.9
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/article/components/ArticleImage.js +1 -1
- package/dist/cjs/article/components/ArticleImage.liquid.js +6 -6
- package/dist/cjs/article/components/ArticleList.js +1 -1
- package/dist/cjs/article/index.js +1 -1
- package/dist/cjs/article/settings/configs/article-image/settings.js +1 -1
- package/dist/cjs/article/settings/configs/article-image/ui-v2.js +1 -1
- package/dist/cjs/builder.js +1 -1
- package/dist/cjs/button/common/helpers.js +2 -2
- package/dist/cjs/cart/components/CartList.js +1 -1
- package/dist/cjs/cart/index.js +1 -1
- package/dist/cjs/collection/index.js +1 -1
- package/dist/cjs/common/components/Loading.js +1 -1
- package/dist/cjs/common/const.js +1 -1
- package/dist/cjs/common/helpers.js +1 -0
- package/dist/cjs/common/hooks/useElementWidth.js +1 -0
- package/dist/cjs/common/hooks/useLoadingProgress.js +1 -0
- package/dist/cjs/grid/components/row/Row.liquid.js +12 -12
- package/dist/cjs/grid/components/section/Section.js +1 -1
- package/dist/cjs/grid/index.js +1 -1
- package/dist/cjs/header/components/kind/basic/index.js +1 -1
- package/dist/cjs/header/components/kind/modern/index.js +1 -1
- package/dist/cjs/header/index.js +1 -1
- package/dist/cjs/hero-banner/common/styles.js +1 -1
- package/dist/cjs/hero-banner/components/HeroBannerItem.js +1 -1
- package/dist/cjs/hero-banner/components/HeroBannerItem.liquid.js +5 -5
- package/dist/cjs/hero-banner/index.js +1 -1
- package/dist/cjs/image/common/adaptiveSources.js +1 -0
- package/dist/cjs/image/common/attrs.js +1 -1
- package/dist/cjs/image/common/classes.js +1 -1
- package/dist/cjs/image/common/helpers.js +2 -2
- package/dist/cjs/image/common/liquidSrcset.js +1 -0
- package/dist/cjs/image/common/listContext.js +1 -0
- package/dist/cjs/image/common/listImageContext.js +1 -0
- package/dist/cjs/image/common/sizes.js +1 -0
- package/dist/cjs/image/common/srcset.js +1 -0
- package/dist/cjs/image/components/AdaptiveImage.js +1 -1
- package/dist/cjs/image/components/AdaptiveImage.liquid.js +10 -12
- package/dist/cjs/image/components/Image.js +1 -1
- package/dist/cjs/image/components/Image.liquid.js +10 -10
- package/dist/cjs/image/components/NextImage.js +1 -1
- package/dist/cjs/image/components/NextImage.liquid.js +4 -5
- package/dist/cjs/image/constants.js +1 -1
- package/dist/cjs/image/index.js +1 -1
- package/dist/cjs/image/settings/configs/settings.js +1 -1
- package/dist/cjs/image/settings/configs/ui-v2.js +1 -1
- package/dist/cjs/image-comparison/common/attrs.js +1 -1
- package/dist/cjs/image-comparison/components/CompareImage.js +1 -1
- package/dist/cjs/image-comparison/components/CompareImage.liquid.js +14 -14
- package/dist/cjs/image-comparison/components/ImageComparison.liquid.js +3 -3
- package/dist/cjs/image-comparison/index.js +1 -1
- package/dist/cjs/image-comparison/settings/configs/settings.js +1 -1
- package/dist/cjs/image-comparison/settings/configs/ui-v2.js +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/post-purchase/callout-banner/index.js +1 -1
- package/dist/cjs/post-purchase/product/components/ProductPrice.js +1 -1
- package/dist/cjs/post-purchase/product/components/ProductQuantity.js +1 -1
- package/dist/cjs/post-purchase/product/components/product-offer/components/ProductOffer.js +1 -1
- package/dist/cjs/post-purchase/product/components/product-offer/helpers/getOfferErrorText.js +1 -0
- package/dist/cjs/post-purchase/product/components/product-offer/hooks/useProductOfferData.js +1 -1
- package/dist/cjs/post-purchase/product/hooks/useHandleQuantity.js +1 -1
- package/dist/cjs/post-purchase/product/index.js +1 -1
- package/dist/cjs/post-purchase/product/settings/product-quantity/configs/settings.js +1 -1
- package/dist/cjs/post-purchase/product/settings/product-quantity/configs/ui-v2.js +1 -1
- package/dist/cjs/product/components/product-badge/ProductBadge.js +1 -1
- package/dist/cjs/product/components/product-badge/common/styles.js +1 -1
- package/dist/cjs/product/components/product-bundle/ProductBundleDiscount.js +1 -1
- package/dist/cjs/product/components/product-bundle/ProductBundleDiscountWarning.js +2 -0
- package/dist/cjs/product/components/product-bundle/common/classes.js +1 -1
- package/dist/cjs/product/components/product-bundle/hooks/useProductBundleDataState.js +3 -3
- package/dist/cjs/product/components/product-discount-tag/ProductDiscountTag.js +1 -1
- package/dist/cjs/product/components/product-discount-tag/common/helpers.js +1 -0
- package/dist/cjs/product/components/product-images/ProductImagesLightBox.js +1 -1
- package/dist/cjs/product/components/product-images-v2/common/common.js +1 -1
- package/dist/cjs/product/components/product-images-v2/components/child/ProductFeaturedImageOnly.js +1 -1
- package/dist/cjs/product/components/product-images-v2/components/child/ProductGalleryGrid.js +1 -1
- package/dist/cjs/product/components/product-images-v2/components/feature-gallery/FeatureImageWithGallery.liquid.js +41 -41
- package/dist/cjs/product/components/product-images-v2/components/gallery-carousel/GalleryCarousel.js +1 -1
- package/dist/cjs/product/components/product-images-v2/components/gallery-carousel/GalleryCarousel.liquid.js +13 -13
- package/dist/cjs/product/components/product-images-v2/components/gallery-grid/GalleryGrid.liquid.js +23 -23
- package/dist/cjs/product/components/product-images-v2/components/lightbox/ProductImagesLightBox.js +1 -1
- package/dist/cjs/product/components/product-images-v3/ProductImagesV3.liquid.js +3 -3
- package/dist/cjs/product/components/product-images-v3/common/common.js +1 -1
- package/dist/cjs/product/components/product-images-v3/components/child/ProductFeaturedImageOnly.js +1 -1
- package/dist/cjs/product/components/product-images-v3/components/child/ProductGalleryGrid.js +1 -1
- package/dist/cjs/product/components/product-images-v3/components/feature-gallery/FeatureImageWithGallery.liquid.js +40 -40
- package/dist/cjs/product/components/product-images-v3/components/feature-gallery/FeatureImageWithGalleryEmbla.liquid.js +40 -40
- package/dist/cjs/product/components/product-images-v3/components/gallery-carousel/GalleryCarousel.js +1 -1
- package/dist/cjs/product/components/product-images-v3/components/gallery-carousel/GalleryCarousel.liquid.js +12 -12
- package/dist/cjs/product/components/product-images-v3/components/gallery-carousel/GalleryCarouselEmbla.liquid.js +12 -12
- package/dist/cjs/product/components/product-images-v3/components/gallery-grid/GalleryGrid.liquid.js +23 -23
- package/dist/cjs/product/components/product-images-v3/components/lightbox/ProductImagesLightBox.js +1 -1
- package/dist/cjs/product/components/product-list/ProductList.js +1 -1
- package/dist/cjs/product/components/product-list/ProductListCarouselLayout.js +1 -1
- package/dist/cjs/product/components/product-list/ProductListCarouselLayout.liquid.js +9 -7
- package/dist/cjs/product/components/product-list/ProductListGridLayout.js +1 -1
- package/dist/cjs/product/components/product-list/ProductListGridLayout.liquid.js +16 -14
- package/dist/cjs/product/components/product-list/common/helpers.js +1 -1
- package/dist/cjs/product/components/product-list/common/imagePriority.js +17 -0
- package/dist/cjs/product/components/product-list/common/imagePriorityHints.js +1 -0
- package/dist/cjs/product/components/product-list-v3/ProductList.js +1 -1
- package/dist/cjs/product/components/product-list-v3/ProductListCarouselLayout.js +1 -1
- package/dist/cjs/product/components/product-list-v3/ProductListCarouselLayout.liquid.js +11 -9
- package/dist/cjs/product/components/product-list-v3/ProductListGridLayout.js +1 -1
- package/dist/cjs/product/components/product-list-v3/ProductListGridLayout.liquid.js +16 -14
- package/dist/cjs/product/components/product-price/hooks/useGpPrice.js +1 -1
- package/dist/cjs/product/components/product-wrap/Product.js +1 -1
- package/dist/cjs/product/components/product-wrap/hook/useProductSetting.js +1 -1
- package/dist/cjs/product/helpers/product-bundle.js +1 -1
- package/dist/cjs/product/index.js +1 -1
- package/dist/cjs/product/settings/product-image-v2/configs/setting-v2/index.js +1 -1
- package/dist/cjs/product/settings/product-image-v2/configs/ui-v2.js +1 -1
- package/dist/cjs/product/settings/product-image-v3/configs/setting-v2/index.js +1 -1
- package/dist/cjs/product/settings/product-image-v3/configs/ui-v2.js +1 -1
- package/dist/cjs/stock-counter/common/attrs.js +1 -1
- package/dist/cjs/stock-counter/common/helpers.js +23 -23
- package/dist/cjs/stock-counter/hooks/useStockCounter.js +1 -1
- package/dist/cjs/third-party/common/helpers.js +4 -4
- package/dist/cjs/third-party/components/KlarnaMessaging.liquid.js +29 -4
- package/dist/cjs/third-party/settings/AftershipEmailMarketingsms/index.js +1 -1
- package/dist/cjs/third-party/settings/AirProductReviewsAppUgc/index.js +2 -2
- package/dist/cjs/third-party/settings/AliReviews/index.js +1 -1
- package/dist/cjs/third-party/settings/AlsoBoughtCbb/index.js +1 -1
- package/dist/cjs/third-party/settings/AovBundlesVolumeDiscounts/index.js +2 -2
- package/dist/cjs/third-party/settings/AovFreeGiftBuyXGetYBogo/index.js +2 -2
- package/dist/cjs/third-party/settings/AppointmentBookingCowlendar/index.js +2 -2
- package/dist/cjs/third-party/settings/AppstleBundlesDiscounts/index.js +2 -2
- package/dist/cjs/third-party/settings/AppstleLoyaltyRewardProgram/index.js +1 -1
- package/dist/cjs/third-party/settings/AppstleSubscriptions/index.js +1 -1
- package/dist/cjs/third-party/settings/BestBuyFulfillment/index.js +1 -1
- package/dist/cjs/third-party/settings/BfSizeChartSizeGuide/index.js +1 -1
- package/dist/cjs/third-party/settings/BirdChime/index.js +4 -4
- package/dist/cjs/third-party/settings/BloyRewardsProgramLoyalty/index.js +1 -1
- package/dist/cjs/third-party/settings/Bogos/index.js +1 -1
- package/dist/cjs/third-party/settings/BoldProductOptions/index.js +4 -4
- package/dist/cjs/third-party/settings/BoldSubscriptions/index.js +1 -1
- package/dist/cjs/third-party/settings/BonLoyaltyRewardsReferrals/index.js +1 -1
- package/dist/cjs/third-party/settings/BonySubscriptionsApp/index.js +2 -2
- package/dist/cjs/third-party/settings/BoostAISearchDiscovery/index.js +1 -1
- package/dist/cjs/third-party/settings/Bundler/index.js +1 -1
- package/dist/cjs/third-party/settings/CleanSizeCharts/index.js +1 -1
- package/dist/cjs/third-party/settings/CrossSellCartUpsell/index.js +1 -1
- package/dist/cjs/third-party/settings/CustomProductOptionsVariant/index.js +2 -2
- package/dist/cjs/third-party/settings/DealeasyVolumeDiscounts/index.js +2 -2
- package/dist/cjs/third-party/settings/DiscountyBulkDiscountSales/index.js +2 -2
- package/dist/cjs/third-party/settings/EasifyProductOptions/index.js +1 -1
- package/dist/cjs/third-party/settings/EasyBundleBuilderSkailama/index.js +2 -2
- package/dist/cjs/third-party/settings/EasySellCOD/index.js +4 -4
- package/dist/cjs/third-party/settings/EcoboostifyShoppableReelUgc/index.js +2 -2
- package/dist/cjs/third-party/settings/EcomsendBackInStockAlert/index.js +1 -1
- package/dist/cjs/third-party/settings/EssentPreorderBackInStock/index.js +2 -2
- package/dist/cjs/third-party/settings/EssentialAnnouncementBar/index.js +1 -1
- package/dist/cjs/third-party/settings/EssentialCountdownTimerBar/index.js +2 -2
- package/dist/cjs/third-party/settings/EstimatedDeliveryDatePlus/index.js +2 -2
- package/dist/cjs/third-party/settings/FastBundleBundlesDiscounts/index.js +2 -2
- package/dist/cjs/third-party/settings/FeraReviews/index.js +1 -1
- package/dist/cjs/third-party/settings/FirePush/index.js +1 -1
- package/dist/cjs/third-party/settings/FlyBundlesUpsellsFbt/index.js +1 -1
- package/dist/cjs/third-party/settings/FordeerProductLabels/index.js +2 -2
- package/dist/cjs/third-party/settings/FrequentlyBoughtTogether/index.js +1 -1
- package/dist/cjs/third-party/settings/GloColorSwatchvariantImage/index.js +1 -1
- package/dist/cjs/third-party/settings/GloboProductOptionsVariant/index.js +1 -1
- package/dist/cjs/third-party/settings/GoogleReviewsByReputon/index.js +1 -1
- package/dist/cjs/third-party/settings/Growave/index.js +1 -1
- package/dist/cjs/third-party/settings/GrowthSuiteDiscountCodes/index.js +2 -2
- package/dist/cjs/third-party/settings/HextomCountdownTimerBar/index.js +2 -2
- package/dist/cjs/third-party/settings/HextomFreeShippingBar/index.js +2 -2
- package/dist/cjs/third-party/settings/HulkFormBuilder/index.js +1 -1
- package/dist/cjs/third-party/settings/HulkProductOptions/index.js +1 -1
- package/dist/cjs/third-party/settings/InfiniteOptions/index.js +1 -1
- package/dist/cjs/third-party/settings/Instafeed/index.js +1 -1
- package/dist/cjs/third-party/settings/InstasellShoppableInstagram/index.js +1 -1
- package/dist/cjs/third-party/settings/JudgemeReviews/index.js +1 -1
- package/dist/cjs/third-party/settings/JunipProductReviewsUgc/index.js +1 -1
- package/dist/cjs/third-party/settings/KachingBundles/index.js +1 -1
- package/dist/cjs/third-party/settings/KachingSubscriptionsApp/index.js +1 -1
- package/dist/cjs/third-party/settings/KingProductOptions/index.js +1 -1
- package/dist/cjs/third-party/settings/KiteFreeGiftDiscount/index.js +2 -2
- package/dist/cjs/third-party/settings/KlarnaMessaging/index.js +2 -2
- package/dist/cjs/third-party/settings/Klaviyo/index.js +4 -4
- package/dist/cjs/third-party/settings/KoalaBundleQuantityDiscount/index.js +1 -1
- package/dist/cjs/third-party/settings/LaiProductReviews/index.js +1 -1
- package/dist/cjs/third-party/settings/LoloyalLoyaltyReferrals/index.js +1 -1
- package/dist/cjs/third-party/settings/LoopSubscriptions/index.js +1 -1
- package/dist/cjs/third-party/settings/LooxReviews/index.js +1 -1
- package/dist/cjs/third-party/settings/MaxbundleProductBundles/index.js +1 -1
- package/dist/cjs/third-party/settings/MbcBundleVolumeDiscount/index.js +1 -1
- package/dist/cjs/third-party/settings/MyappgurusProductReviews/index.js +1 -1
- package/dist/cjs/third-party/settings/NotifyBackInStockPreOrder/index.js +1 -1
- package/dist/cjs/third-party/settings/OkendoReviewsLoyalty/index.js +1 -1
- package/dist/cjs/third-party/settings/Omnisend/index.js +1 -1
- package/dist/cjs/third-party/settings/Opinew/index.js +1 -1
- package/dist/cjs/third-party/settings/ParcelPanel/index.js +1 -1
- package/dist/cjs/third-party/settings/PickyStory/index.js +4 -4
- package/dist/cjs/third-party/settings/PowerfulContactFormBuilder/index.js +1 -1
- package/dist/cjs/third-party/settings/PreorderNowPreOrderPq/index.js +2 -2
- package/dist/cjs/third-party/settings/PreorderNowWodPresale/index.js +1 -1
- package/dist/cjs/third-party/settings/ProductOptionsCustomizer/index.js +2 -2
- package/dist/cjs/third-party/settings/ProductOptionsVariantOption/index.js +2 -2
- package/dist/cjs/third-party/settings/PumperBundlesVolumeDiscount/index.js +2 -2
- package/dist/cjs/third-party/settings/PushOwl/index.js +1 -1
- package/dist/cjs/third-party/settings/QikifyUpsell/index.js +2 -2
- package/dist/cjs/third-party/settings/RapiBundleQuantityBreaks/index.js +2 -2
- package/dist/cjs/third-party/settings/RechargeSubscriptions/index.js +1 -1
- package/dist/cjs/third-party/settings/RecurpaySubscriptionApp/index.js +1 -1
- package/dist/cjs/third-party/settings/Releasit/index.js +1 -1
- package/dist/cjs/third-party/settings/RequestQuoteHidePrice/index.js +1 -1
- package/dist/cjs/third-party/settings/ReviewxpoProductReviewsApp/index.js +1 -1
- package/dist/cjs/third-party/settings/Rivyo/index.js +1 -1
- package/dist/cjs/third-party/settings/Ryviu/index.js +1 -1
- package/dist/cjs/third-party/settings/SealSubscriptions/index.js +2 -2
- package/dist/cjs/third-party/settings/SegunoEmailMarketing/index.js +1 -1
- package/dist/cjs/third-party/settings/Selleasy/index.js +1 -1
- package/dist/cjs/third-party/settings/SeoantTrustBadgesIcon/index.js +2 -2
- package/dist/cjs/third-party/settings/ShopifyForms/index.js +1 -1
- package/dist/cjs/third-party/settings/ShopifySubscriptions/index.js +2 -2
- package/dist/cjs/third-party/settings/SimpleBundlesKits/index.js +1 -1
- package/dist/cjs/third-party/settings/SkioSubscriptionsYcS20/index.js +1 -1
- package/dist/cjs/third-party/settings/SmartSearchBarAndFilters/index.js +4 -4
- package/dist/cjs/third-party/settings/SproutPlantTreesGrowSales/index.js +1 -1
- package/dist/cjs/third-party/settings/Stamped.js +1 -1
- package/dist/cjs/third-party/settings/StellarDeliveryDatePickup/index.js +1 -1
- package/dist/cjs/third-party/settings/SubifySubscriptionsApp/index.js +2 -2
- package/dist/cjs/third-party/settings/TagembedSocialPostReview/index.js +2 -2
- package/dist/cjs/third-party/settings/TagshopShoppableVideosUgc/index.js +2 -2
- package/dist/cjs/third-party/settings/TeeinblueProductPersonalizer/index.js +2 -2
- package/dist/cjs/third-party/settings/TrustBadgesBear/index.js +2 -2
- package/dist/cjs/third-party/settings/TrustMe/index.js +4 -4
- package/dist/cjs/third-party/settings/TrustedsiteTrustBadges/index.js +1 -1
- package/dist/cjs/third-party/settings/Trustoo/index.js +1 -1
- package/dist/cjs/third-party/settings/TrustreviewsProductReviews/index.js +1 -1
- package/dist/cjs/third-party/settings/TrustshopProductReviews/index.js +1 -1
- package/dist/cjs/third-party/settings/UltimateSalesBoost/index.js +1 -1
- package/dist/cjs/third-party/settings/UnlimitedBundlesDiscounts/index.js +2 -2
- package/dist/cjs/third-party/settings/UppromoteAffiliateMarketing/setting.js +2 -2
- package/dist/cjs/third-party/settings/Vitals/index.js +1 -1
- package/dist/cjs/third-party/settings/WcWishlistBackInStock/index.js +1 -1
- package/dist/cjs/third-party/settings/WhatmoreShoppableVideosreel/index.js +1 -1
- package/dist/cjs/third-party/settings/WideBundle/index.js +4 -4
- package/dist/cjs/third-party/settings/Wiser/index.js +1 -1
- package/dist/cjs/third-party/settings/WishlistKing/index.js +2 -2
- package/dist/cjs/third-party/settings/WishlistPlus/index.js +2 -2
- package/dist/cjs/third-party/settings/YotpoReviews/index.js +1 -1
- package/dist/cjs/video/common/attrs.js +1 -1
- package/dist/cjs/video/components/HTML5Embed.js +1 -1
- package/dist/cjs/video/components/HTML5Embed.liquid.js +11 -11
- package/dist/cjs/video/components/LiteVimeoEmbed.liquid.js +11 -11
- package/dist/cjs/video/components/LiteYouTubeEmbed.js +1 -1
- package/dist/cjs/video/components/LiteYouTubeEmbed.liquid.js +11 -11
- package/dist/cjs/video/components/Video.liquid.js +1 -1
- package/dist/esm/article/components/ArticleImage.js +1 -1
- package/dist/esm/article/components/ArticleImage.liquid.js +7 -7
- package/dist/esm/article/components/ArticleList.js +1 -1
- package/dist/esm/article/index.js +1 -1
- package/dist/esm/article/settings/configs/article-image/settings.js +1 -1
- package/dist/esm/article/settings/configs/article-image/ui-v2.js +1 -1
- package/dist/esm/builder.js +1 -1
- package/dist/esm/button/common/helpers.js +2 -2
- package/dist/esm/cart/components/CartList.js +1 -1
- package/dist/esm/cart/index.js +1 -1
- package/dist/esm/collection/index.js +1 -1
- package/dist/esm/common/components/Loading.js +1 -1
- package/dist/esm/common/const.js +1 -1
- package/dist/esm/common/helpers.js +1 -0
- package/dist/esm/common/hooks/useElementWidth.js +1 -0
- package/dist/esm/common/hooks/useLoadingProgress.js +1 -0
- package/dist/esm/grid/components/row/Row.liquid.js +10 -10
- package/dist/esm/grid/components/section/Section.js +1 -1
- package/dist/esm/grid/index.js +1 -1
- package/dist/esm/header/components/kind/basic/index.js +1 -1
- package/dist/esm/header/components/kind/modern/index.js +1 -1
- package/dist/esm/header/index.js +1 -1
- package/dist/esm/hero-banner/common/styles.js +1 -1
- package/dist/esm/hero-banner/components/HeroBannerItem.js +1 -1
- package/dist/esm/hero-banner/components/HeroBannerItem.liquid.js +10 -10
- package/dist/esm/hero-banner/index.js +1 -1
- package/dist/esm/image/common/adaptiveSources.js +1 -0
- package/dist/esm/image/common/attrs.js +1 -1
- package/dist/esm/image/common/classes.js +1 -1
- package/dist/esm/image/common/helpers.js +2 -2
- package/dist/esm/image/common/liquidSrcset.js +1 -0
- package/dist/esm/image/common/listContext.js +1 -0
- package/dist/esm/image/common/listImageContext.js +1 -0
- package/dist/esm/image/common/sizes.js +1 -0
- package/dist/esm/image/common/srcset.js +1 -0
- package/dist/esm/image/components/AdaptiveImage.js +1 -1
- package/dist/esm/image/components/AdaptiveImage.liquid.js +11 -13
- package/dist/esm/image/components/Image.js +1 -1
- package/dist/esm/image/components/Image.liquid.js +3 -3
- package/dist/esm/image/components/NextImage.js +1 -1
- package/dist/esm/image/components/NextImage.liquid.js +5 -6
- package/dist/esm/image/constants.js +1 -1
- package/dist/esm/image/index.js +1 -1
- package/dist/esm/image/settings/configs/settings.js +1 -1
- package/dist/esm/image/settings/configs/ui-v2.js +1 -1
- package/dist/esm/image-comparison/common/attrs.js +1 -1
- package/dist/esm/image-comparison/components/CompareImage.js +1 -1
- package/dist/esm/image-comparison/components/CompareImage.liquid.js +17 -17
- package/dist/esm/image-comparison/components/ImageComparison.liquid.js +3 -3
- package/dist/esm/image-comparison/index.js +1 -1
- package/dist/esm/image-comparison/settings/configs/settings.js +1 -1
- package/dist/esm/image-comparison/settings/configs/ui-v2.js +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/post-purchase/callout-banner/index.js +1 -1
- package/dist/esm/post-purchase/product/components/ProductPrice.js +1 -1
- package/dist/esm/post-purchase/product/components/ProductQuantity.js +1 -1
- package/dist/esm/post-purchase/product/components/product-offer/components/ProductOffer.js +1 -1
- package/dist/esm/post-purchase/product/components/product-offer/helpers/getOfferErrorText.js +1 -0
- package/dist/esm/post-purchase/product/components/product-offer/hooks/useProductOfferData.js +1 -1
- package/dist/esm/post-purchase/product/hooks/useHandleQuantity.js +1 -1
- package/dist/esm/post-purchase/product/index.js +1 -1
- package/dist/esm/post-purchase/product/settings/product-quantity/configs/settings.js +1 -1
- package/dist/esm/post-purchase/product/settings/product-quantity/configs/ui-v2.js +1 -1
- package/dist/esm/product/components/product-badge/ProductBadge.js +1 -1
- package/dist/esm/product/components/product-badge/common/styles.js +1 -1
- package/dist/esm/product/components/product-bundle/ProductBundleDiscount.js +1 -1
- package/dist/esm/product/components/product-bundle/ProductBundleDiscountWarning.js +2 -0
- package/dist/esm/product/components/product-bundle/common/classes.js +1 -1
- package/dist/esm/product/components/product-bundle/hooks/useProductBundleDataState.js +3 -3
- package/dist/esm/product/components/product-discount-tag/ProductDiscountTag.js +1 -1
- package/dist/esm/product/components/product-discount-tag/common/helpers.js +1 -0
- package/dist/esm/product/components/product-images/ProductImagesLightBox.js +1 -1
- package/dist/esm/product/components/product-images-v2/common/common.js +1 -1
- package/dist/esm/product/components/product-images-v2/components/child/ProductFeaturedImageOnly.js +1 -1
- package/dist/esm/product/components/product-images-v2/components/child/ProductGalleryGrid.js +1 -1
- package/dist/esm/product/components/product-images-v2/components/feature-gallery/FeatureImageWithGallery.liquid.js +35 -35
- package/dist/esm/product/components/product-images-v2/components/gallery-carousel/GalleryCarousel.js +1 -1
- package/dist/esm/product/components/product-images-v2/components/gallery-carousel/GalleryCarousel.liquid.js +13 -13
- package/dist/esm/product/components/product-images-v2/components/gallery-grid/GalleryGrid.liquid.js +29 -29
- package/dist/esm/product/components/product-images-v2/components/lightbox/ProductImagesLightBox.js +1 -1
- package/dist/esm/product/components/product-images-v3/ProductImagesV3.liquid.js +3 -3
- package/dist/esm/product/components/product-images-v3/common/common.js +1 -1
- package/dist/esm/product/components/product-images-v3/components/child/ProductFeaturedImageOnly.js +1 -1
- package/dist/esm/product/components/product-images-v3/components/child/ProductGalleryGrid.js +1 -1
- package/dist/esm/product/components/product-images-v3/components/feature-gallery/FeatureImageWithGallery.liquid.js +24 -24
- package/dist/esm/product/components/product-images-v3/components/feature-gallery/FeatureImageWithGalleryEmbla.liquid.js +24 -24
- package/dist/esm/product/components/product-images-v3/components/gallery-carousel/GalleryCarousel.js +1 -1
- package/dist/esm/product/components/product-images-v3/components/gallery-carousel/GalleryCarousel.liquid.js +5 -5
- package/dist/esm/product/components/product-images-v3/components/gallery-carousel/GalleryCarouselEmbla.liquid.js +5 -5
- package/dist/esm/product/components/product-images-v3/components/gallery-grid/GalleryGrid.liquid.js +30 -30
- package/dist/esm/product/components/product-images-v3/components/lightbox/ProductImagesLightBox.js +1 -1
- package/dist/esm/product/components/product-list/ProductList.js +1 -1
- package/dist/esm/product/components/product-list/ProductListCarouselLayout.js +1 -1
- package/dist/esm/product/components/product-list/ProductListCarouselLayout.liquid.js +11 -9
- package/dist/esm/product/components/product-list/ProductListGridLayout.js +1 -1
- package/dist/esm/product/components/product-list/ProductListGridLayout.liquid.js +18 -16
- package/dist/esm/product/components/product-list/common/helpers.js +1 -1
- package/dist/esm/product/components/product-list/common/imagePriority.js +17 -0
- package/dist/esm/product/components/product-list/common/imagePriorityHints.js +1 -0
- package/dist/esm/product/components/product-list-v3/ProductList.js +1 -1
- package/dist/esm/product/components/product-list-v3/ProductListCarouselLayout.js +1 -1
- package/dist/esm/product/components/product-list-v3/ProductListCarouselLayout.liquid.js +12 -10
- package/dist/esm/product/components/product-list-v3/ProductListGridLayout.js +1 -1
- package/dist/esm/product/components/product-list-v3/ProductListGridLayout.liquid.js +18 -16
- package/dist/esm/product/components/product-price/hooks/useGpPrice.js +1 -1
- package/dist/esm/product/components/product-wrap/Product.js +1 -1
- package/dist/esm/product/components/product-wrap/hook/useProductSetting.js +1 -1
- package/dist/esm/product/helpers/product-bundle.js +1 -1
- package/dist/esm/product/index.js +1 -1
- package/dist/esm/product/settings/product-image-v2/configs/setting-v2/index.js +1 -1
- package/dist/esm/product/settings/product-image-v2/configs/ui-v2.js +1 -1
- package/dist/esm/product/settings/product-image-v3/configs/setting-v2/index.js +1 -1
- package/dist/esm/product/settings/product-image-v3/configs/ui-v2.js +1 -1
- package/dist/esm/stock-counter/common/attrs.js +1 -1
- package/dist/esm/stock-counter/common/helpers.js +21 -21
- package/dist/esm/stock-counter/components/StockCounter.liquid.js +1 -1
- package/dist/esm/stock-counter/hooks/useStockCounter.js +1 -1
- package/dist/esm/third-party/common/helpers.js +5 -5
- package/dist/esm/third-party/components/KlarnaMessaging.liquid.js +30 -5
- package/dist/esm/third-party/settings/AftershipEmailMarketingsms/index.js +2 -2
- package/dist/esm/third-party/settings/AirProductReviewsAppUgc/index.js +2 -2
- package/dist/esm/third-party/settings/AliReviews/index.js +2 -2
- package/dist/esm/third-party/settings/AlsoBoughtCbb/index.js +2 -2
- package/dist/esm/third-party/settings/AovBundlesVolumeDiscounts/index.js +2 -2
- package/dist/esm/third-party/settings/AovFreeGiftBuyXGetYBogo/index.js +2 -2
- package/dist/esm/third-party/settings/AppointmentBookingCowlendar/index.js +2 -2
- package/dist/esm/third-party/settings/AppstleBundlesDiscounts/index.js +2 -2
- package/dist/esm/third-party/settings/AppstleLoyaltyRewardProgram/index.js +2 -2
- package/dist/esm/third-party/settings/AppstleSubscriptions/index.js +2 -2
- package/dist/esm/third-party/settings/BestBuyFulfillment/index.js +2 -2
- package/dist/esm/third-party/settings/BfSizeChartSizeGuide/index.js +2 -2
- package/dist/esm/third-party/settings/BirdChime/index.js +4 -4
- package/dist/esm/third-party/settings/BloyRewardsProgramLoyalty/index.js +2 -2
- package/dist/esm/third-party/settings/Bogos/index.js +4 -4
- package/dist/esm/third-party/settings/BoldProductOptions/index.js +4 -4
- package/dist/esm/third-party/settings/BoldSubscriptions/index.js +2 -2
- package/dist/esm/third-party/settings/BonLoyaltyRewardsReferrals/index.js +2 -2
- package/dist/esm/third-party/settings/BonySubscriptionsApp/index.js +2 -2
- package/dist/esm/third-party/settings/BoostAISearchDiscovery/index.js +2 -2
- package/dist/esm/third-party/settings/Bundler/index.js +4 -4
- package/dist/esm/third-party/settings/CleanSizeCharts/index.js +2 -2
- package/dist/esm/third-party/settings/CrossSellCartUpsell/index.js +2 -2
- package/dist/esm/third-party/settings/CustomProductOptionsVariant/index.js +2 -2
- package/dist/esm/third-party/settings/DealeasyVolumeDiscounts/index.js +2 -2
- package/dist/esm/third-party/settings/DiscountyBulkDiscountSales/index.js +2 -2
- package/dist/esm/third-party/settings/EasifyProductOptions/index.js +2 -2
- package/dist/esm/third-party/settings/EasyBundleBuilderSkailama/index.js +2 -2
- package/dist/esm/third-party/settings/EasySellCOD/index.js +4 -4
- package/dist/esm/third-party/settings/EcoboostifyShoppableReelUgc/index.js +2 -2
- package/dist/esm/third-party/settings/EcomsendBackInStockAlert/index.js +2 -2
- package/dist/esm/third-party/settings/EssentPreorderBackInStock/index.js +2 -2
- package/dist/esm/third-party/settings/EssentialAnnouncementBar/index.js +2 -2
- package/dist/esm/third-party/settings/EssentialCountdownTimerBar/index.js +2 -2
- package/dist/esm/third-party/settings/EstimatedDeliveryDatePlus/index.js +2 -2
- package/dist/esm/third-party/settings/FastBundleBundlesDiscounts/index.js +2 -2
- package/dist/esm/third-party/settings/FeraReviews/index.js +4 -4
- package/dist/esm/third-party/settings/FirePush/index.js +2 -2
- package/dist/esm/third-party/settings/FlyBundlesUpsellsFbt/index.js +2 -2
- package/dist/esm/third-party/settings/FordeerProductLabels/index.js +2 -2
- package/dist/esm/third-party/settings/FrequentlyBoughtTogether/index.js +2 -2
- package/dist/esm/third-party/settings/GloColorSwatchvariantImage/index.js +2 -2
- package/dist/esm/third-party/settings/GloboProductOptionsVariant/index.js +2 -2
- package/dist/esm/third-party/settings/GoogleReviewsByReputon/index.js +2 -2
- package/dist/esm/third-party/settings/Growave/index.js +4 -4
- package/dist/esm/third-party/settings/GrowthSuiteDiscountCodes/index.js +2 -2
- package/dist/esm/third-party/settings/HextomCountdownTimerBar/index.js +2 -2
- package/dist/esm/third-party/settings/HextomFreeShippingBar/index.js +2 -2
- package/dist/esm/third-party/settings/HulkFormBuilder/index.js +2 -2
- package/dist/esm/third-party/settings/HulkProductOptions/index.js +2 -2
- package/dist/esm/third-party/settings/InfiniteOptions/index.js +2 -2
- package/dist/esm/third-party/settings/Instafeed/index.js +2 -2
- package/dist/esm/third-party/settings/InstasellShoppableInstagram/index.js +2 -2
- package/dist/esm/third-party/settings/JudgemeReviews/index.js +2 -2
- package/dist/esm/third-party/settings/JunipProductReviewsUgc/index.js +2 -2
- package/dist/esm/third-party/settings/KachingBundles/index.js +2 -2
- package/dist/esm/third-party/settings/KachingSubscriptionsApp/index.js +2 -2
- package/dist/esm/third-party/settings/KingProductOptions/index.js +2 -2
- package/dist/esm/third-party/settings/KiteFreeGiftDiscount/index.js +2 -2
- package/dist/esm/third-party/settings/KlarnaMessaging/index.js +4 -4
- package/dist/esm/third-party/settings/Klaviyo/index.js +4 -4
- package/dist/esm/third-party/settings/KoalaBundleQuantityDiscount/index.js +2 -2
- package/dist/esm/third-party/settings/LaiProductReviews/index.js +2 -2
- package/dist/esm/third-party/settings/LoloyalLoyaltyReferrals/index.js +2 -2
- package/dist/esm/third-party/settings/LoopSubscriptions/index.js +2 -2
- package/dist/esm/third-party/settings/LooxReviews/index.js +4 -4
- package/dist/esm/third-party/settings/MaxbundleProductBundles/index.js +2 -2
- package/dist/esm/third-party/settings/MbcBundleVolumeDiscount/index.js +2 -2
- package/dist/esm/third-party/settings/MyappgurusProductReviews/index.js +2 -2
- package/dist/esm/third-party/settings/NotifyBackInStockPreOrder/index.js +2 -2
- package/dist/esm/third-party/settings/OkendoReviewsLoyalty/index.js +2 -2
- package/dist/esm/third-party/settings/Omnisend/index.js +4 -4
- package/dist/esm/third-party/settings/Opinew/index.js +4 -4
- package/dist/esm/third-party/settings/ParcelPanel/index.js +4 -4
- package/dist/esm/third-party/settings/PickyStory/index.js +4 -4
- package/dist/esm/third-party/settings/PowerfulContactFormBuilder/index.js +2 -2
- package/dist/esm/third-party/settings/PreorderNowPreOrderPq/index.js +2 -2
- package/dist/esm/third-party/settings/PreorderNowWodPresale/index.js +2 -2
- package/dist/esm/third-party/settings/ProductOptionsCustomizer/index.js +2 -2
- package/dist/esm/third-party/settings/ProductOptionsVariantOption/index.js +2 -2
- package/dist/esm/third-party/settings/PumperBundlesVolumeDiscount/index.js +2 -2
- package/dist/esm/third-party/settings/PushOwl/index.js +4 -4
- package/dist/esm/third-party/settings/QikifyUpsell/index.js +2 -2
- package/dist/esm/third-party/settings/RapiBundleQuantityBreaks/index.js +2 -2
- package/dist/esm/third-party/settings/RechargeSubscriptions/index.js +2 -2
- package/dist/esm/third-party/settings/RecurpaySubscriptionApp/index.js +2 -2
- package/dist/esm/third-party/settings/Releasit/index.js +4 -4
- package/dist/esm/third-party/settings/RequestQuoteHidePrice/index.js +3 -3
- package/dist/esm/third-party/settings/ReviewxpoProductReviewsApp/index.js +2 -2
- package/dist/esm/third-party/settings/Rivyo/index.js +4 -4
- package/dist/esm/third-party/settings/Ryviu/index.js +4 -4
- package/dist/esm/third-party/settings/SealSubscriptions/index.js +2 -2
- package/dist/esm/third-party/settings/SegunoEmailMarketing/index.js +2 -2
- package/dist/esm/third-party/settings/Selleasy/index.js +2 -2
- package/dist/esm/third-party/settings/SeoantTrustBadgesIcon/index.js +2 -2
- package/dist/esm/third-party/settings/ShopifyForms/index.js +2 -2
- package/dist/esm/third-party/settings/ShopifySubscriptions/index.js +2 -2
- package/dist/esm/third-party/settings/SimpleBundlesKits/index.js +2 -2
- package/dist/esm/third-party/settings/SkioSubscriptionsYcS20/index.js +2 -2
- package/dist/esm/third-party/settings/SmartSearchBarAndFilters/index.js +4 -4
- package/dist/esm/third-party/settings/SproutPlantTreesGrowSales/index.js +2 -2
- package/dist/esm/third-party/settings/Stamped.js +4 -4
- package/dist/esm/third-party/settings/StellarDeliveryDatePickup/index.js +2 -2
- package/dist/esm/third-party/settings/SubifySubscriptionsApp/index.js +2 -2
- package/dist/esm/third-party/settings/TagembedSocialPostReview/index.js +2 -2
- package/dist/esm/third-party/settings/TagshopShoppableVideosUgc/index.js +2 -2
- package/dist/esm/third-party/settings/TeeinblueProductPersonalizer/index.js +2 -2
- package/dist/esm/third-party/settings/TrustBadgesBear/index.js +2 -2
- package/dist/esm/third-party/settings/TrustMe/index.js +4 -4
- package/dist/esm/third-party/settings/TrustedsiteTrustBadges/index.js +2 -2
- package/dist/esm/third-party/settings/Trustoo/index.js +2 -2
- package/dist/esm/third-party/settings/TrustreviewsProductReviews/index.js +2 -2
- package/dist/esm/third-party/settings/TrustshopProductReviews/index.js +2 -2
- package/dist/esm/third-party/settings/UltimateSalesBoost/index.js +2 -2
- package/dist/esm/third-party/settings/UnlimitedBundlesDiscounts/index.js +2 -2
- package/dist/esm/third-party/settings/UppromoteAffiliateMarketing/setting.js +2 -2
- package/dist/esm/third-party/settings/Vitals/index.js +4 -4
- package/dist/esm/third-party/settings/WcWishlistBackInStock/index.js +3 -3
- package/dist/esm/third-party/settings/WhatmoreShoppableVideosreel/index.js +2 -2
- package/dist/esm/third-party/settings/WideBundle/index.js +4 -4
- package/dist/esm/third-party/settings/Wiser/index.js +4 -4
- package/dist/esm/third-party/settings/WishlistKing/index.js +2 -2
- package/dist/esm/third-party/settings/WishlistPlus/index.js +2 -2
- package/dist/esm/third-party/settings/YotpoReviews/index.js +4 -4
- package/dist/esm/video/common/attrs.js +1 -1
- package/dist/esm/video/components/HTML5Embed.js +1 -1
- package/dist/esm/video/components/HTML5Embed.liquid.js +8 -8
- package/dist/esm/video/components/LiteVimeoEmbed.liquid.js +11 -11
- package/dist/esm/video/components/LiteYouTubeEmbed.js +1 -1
- package/dist/esm/video/components/LiteYouTubeEmbed.liquid.js +9 -9
- package/dist/esm/video/components/Video.liquid.js +1 -1
- package/dist/types/index.d.ts +26 -8
- package/package.json +11 -8
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";require("react/jsx-runtime"),require("react"),require("@gem-sdk/core"),require("./components/product-bundle/common/
|
|
1
|
+
"use strict";require("react/jsx-runtime"),require("react"),require("@gem-sdk/core"),require("./components/product-bundle/common/classes.js"),require("./components/product-bundle/common/styles.js"),require("@gem-sdk/system"),require("next/link"),require("./components/constants/product-bundle.js"),require("../common/const.js"),require("./components/product-variants/components/variants/index.js"),require("../carousel-v3/components/swiper/Swiper.js"),require("../image/common/listImageContext.js"),require("../image/common/listContext.js"),require("../video/components/Video.js"),require("../modal/components/confirm.js"),require("react-dom"),require("@gem-sdk/keen-slider/react");var e=require("./components/product-quick-view/QuickView.js");require("../notification/components/Notifications.js"),require("../notification/components/Notice.js"),require("./components/product-button/types.js");var t=require("./components/product-list-v3/ProductList.js");require("./components/product-badge/types.js"),require("./components/product-badge/constants.js"),require("./components/product-badge/utils/shape.js");var r=require("./components/product-list/ProductList.js"),s=require("./components/product-wrap/Product.js"),u=require("./components/product-bundle/setting/ProductBundleDiscountItem.js"),o=require("./components/product-bundle/setting/ProductBundleDiscount.js"),i=require("./settings/product-image-v3/ProductImages.js"),c=require("./settings/product-image-v2/ProductImages.js"),n=require("./settings/ProductDescription.js"),d=require("./settings/ProductProperties.js"),a=require("./components/file-upload/settings/index.js"),p=require("./settings/ProductViewMore.js"),m=require("./settings/ProductVariants.js"),l=require("./settings/ProductQuantity.js"),q=require("./settings/DynamicCheckout.js"),P=require("./settings/ProductListV3.js"),g=require("./settings/ProductImages.js"),j=require("./settings/ProductButton.js"),f=require("./settings/ProductTitle.js"),V=require("./settings/ProductPrice.js"),k=require("./settings/ProductBadge.js"),v=require("./settings/ProductList.js"),x=require("./settings/ProductTag.js"),b=require("./settings/Vendor.js"),I=require("./settings/Product.js"),w=require("./settings/Sku.js");const y={Product:I.default,ProductQuantity:l.default,ProductTitle:f.default,ProductButton:j.default,ProductPrice:V.default,ProductVariants:m.default,ProductImages:g.default,ProductImagesV2:c.default,ProductImagesV3:i.default,ProductDescription:n.default,ProductProperties:d.default,ProductTag:x.default,ProductListV3:P.default,ProductList:v.default,DynamicCheckout:q.default,ProductVendor:b.default,ProductSku:w.default,ProductBundleDiscount:o.default,ProductBundleDiscountItem:u.default,ProductViewMore:p.default,ProductBadge:k.default,FileUpload:a.default};exports.ProductQuickView=e.default,exports.ProductListV3=t.default,exports.ProductList=r.default,exports.Product=s.default,exports.productSetting=y;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("./ProductFeatureImage.js"),t=require("./ProductGalleryImage.js");const l=[{id:"setting",controls:[{id:"displayByVariant",label:"Option Label",type:"toggle",default:!1},{id:"variantSelect",type:"variant:listing"},{id:"select-display",type:"group",label:"Select images to display",controls:e.productSelectDisplaySetting},{id:"featured-image",type:"group",label:"Featured Image",controls:e.productFeatureImageSetting},{id:"gallery-images",type:"group",label:"Gallery Images",controls:t.productGalleryImageSetting},{id:"qualityType",type:"select",label:"Quality",devices:{desktop:{default:"high"}},options:[{title:"Finest",value:"finest"},{title:"High",value:"high"},{title:"Medium",value:"medium"},{title:"Custom",value:"custom",tooltip:"You can choose it for advanced page loading optimization."}]},{id:"preload",type:"toggle",label:"Preload",default:!1},{id:"qualityPercent",type:"input:slider",label:"",units:["%"],min:
|
|
1
|
+
"use strict";var e=require("./ProductFeatureImage.js"),t=require("./ProductGalleryImage.js");const l=[{id:"setting",controls:[{id:"displayByVariant",label:"Option Label",type:"toggle",default:!1},{id:"variantSelect",type:"variant:listing"},{id:"select-display",type:"group",label:"Select images to display",controls:e.productSelectDisplaySetting},{id:"featured-image",type:"group",label:"Featured Image",controls:e.productFeatureImageSetting},{id:"gallery-images",type:"group",label:"Gallery Images",controls:t.productGalleryImageSetting},{id:"qualityType",type:"select",label:"Quality",devices:{desktop:{default:"high"}},options:[{title:"Finest",value:"finest"},{title:"High",value:"high"},{title:"Medium",value:"medium"},{title:"Custom",value:"custom",tooltip:"You can choose it for advanced page loading optimization."}]},{id:"preload",type:"toggle",label:"Preload",default:!1},{id:"qualityPercent",type:"input:slider",label:"",units:["%"],min:20,max:400,step:20,useOnlyUnitInit:!0,devices:{desktop:{default:100}}}]},{id:"style",controls:[{id:"position",label:"Layout",type:"layout-selector",iconViewBox:"0 0 50 50",enableItemBackground:!0,itemPerRow:3,itemSpacing:"large",enableItemOpacity:!0,options:[{label:"Featured top",value:"bottom-center",type:"p-image-layout",iconName:"gp-product-image-layout-bottom"},{label:"Featured right",value:"left",type:"p-image-layout",iconName:"gp-product-image-layout-left"},{label:"Featured left",value:"right",type:"p-image-layout",iconName:"gp-product-image-layout-right"},{label:"Image list inside bottom",value:"inside-bottom",type:"p-image-layout",iconName:"gp-product-image-layout-bottom-inside"},{label:"Image list inside left",value:"inside-left",type:"p-image-layout",iconName:"gp-product-image-layout-left-inside"},{label:"Image list inside right",value:"inside-right",type:"p-image-layout",iconName:"gp-product-image-layout-right-inside"},{label:"Featured only",value:"only-feature",type:"p-image-layout",iconName:"gp-product-image-layout-featured-only"},{label:"Image list 1 col",value:"one-col",type:"p-image-layout",iconName:"gp-product-image-layout-one-col",noPadding:"y"},{label:"Image list 2 col",value:"two-col",type:"p-image-layout",iconName:"gp-product-image-layout-two-col"}],devices:{desktop:{default:"bottom-center"},mobile:{default:"bottom-center"}}},{id:"spacing",label:"Spacing Item",type:"input:slider",units:["px"],ignoreMax:!0,max:40,devices:{desktop:{default:"8px"}}},{id:"ratioLayout",label:"Ratio",type:"column-with-slider",fallbackArrayValue:[2,10],devices:{desktop:{default:[2,10]}}},{id:"ratioLayoutRight",label:"Ratio",type:"column-with-slider",fallbackArrayValue:[10,2],devices:{desktop:{default:[10,2]}}},{id:"dimensions",type:"group",label:"Featured Image",controls:e.productFeatureImageStyle},{id:"galleryStyles",type:"group",label:"Gallery",controls:t.productGalleryImageStyle},{id:"align",label:"Alignment",type:"segment",options:[{label:"Start",value:"flex-start",type:"align-flex",tooltip:"Align left"},{label:"Center",value:"center",type:"align-flex",tooltip:"Align center"},{label:"End",value:"flex-end",type:"align-flex",tooltip:"Align right"}],devices:{desktop:{default:"flex-start"}}}]}];exports.ProductImageSettingsV2=l;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var i=require("./ui/ImageListNavigation.js"),o=require("./ui/FeatureNavigation.js"),e=require("./ui/FeatureDots.js");const t='((type == "slider" || position == "left" || position == "right") && position !== "one-col" && position != "two-col")',n='(["bottom-center", "left", "right", "only-feature", "inside-bottom", "inside-left", "inside-right"].includes(position))',l=[{label:"Layout",controls:[{layout:"vertical",setting:{id:"position"},options:{isComboLayout:!0},controls:[{label:"Ratio",type:"control",setting:{id:"ratioLayout"},layout:"vertical",conditionDisplay:'position == "left"'},{label:"Ratio",type:"control",setting:{id:"ratioLayoutRight"},layout:"vertical",conditionDisplay:'position == "right"'}]}]},{label:"Featured image",conditionDisplay:n,controls:[{setting:{id:"ftShape"},hiddenOnMobile:!0,layout:"vertical",controlChangeTrigger:{settings:[{condition:"ftShape.shape === 'original'",source:["ftShape"],action:{controlId:"ftLayout",newValue:"contain",groupType:"style",controlType:"style"}}],options:{noRecordHistory:!0}}},{conditionDisplay:"ftShape.shape !== 'original'",label:"Image scale",setting:{id:"ftLayout"}},{...e.FeatureDots,hiddenOnMobile:!0,conditionDisplay:`${n} && position === "only-feature"`},{...o.FeatureNavigation,hiddenOnMobile:!0,conditionDisplay:`${n}`}],moreSettings:{type:"collapse",controls:[{label:"Corner",hiddenOnMobile:!0,setting:{id:"ftCorner"}},{type:"combo",label:"Hover action",conditionDisplay:n,hiddenOnMobile:!0,iconName:"gp-trigger-action-hover",getValueFromSettingID:"hoverEffect",isShowSettingTitle:!0,defaultValueWhenClear:"none",compoDefaultValue:"zoom",controls:[{label:"When hover",setting:{id:"hoverEffect"}},{label:"Zoom type",conditionDisplay:'hoverEffect == "zoom"',setting:{id:"zoomType"}},{label:"Zoom value",conditionDisplay:'hoverEffect == "zoom"',setting:{id:"zoom"}},{label:"Other image",conditionDisplay:'hoverEffect == "other"',setting:{id:"otherImage"}}]},{type:"combo",label:"Click action",hiddenOnMobile:!0,iconName:"gp-trigger-action-click",conditionDisplay:n,getValueFromSettingID:"ftClickOpenLightBox",isShowSettingTitle:!0,defaultValueWhenClear:"none",compoDefaultValue:"popup",controls:[{label:"After click",setting:{id:"ftClickOpenLightBox"}},{label:"Open new tab",setting:{id:"ftClickOpenNewTab"},conditionDisplay:'ftClickOpenLightBox === "product-link"'}]},{type:"control",label:"Slide speed",setting:{id:"ftAnimationSpeed"}},{type:"control",label:"Animation",setting:{id:"ftAnimationMode"}},{label:"Drag / swipe",setting:{id:"ftDragToScroll"}},{label:"Infinity loop",setting:{id:"ftLoop"}}]}},{label:"Image list",conditionDisplay:'(position !== "only-feature")',controls:[{label:"Display",hiddenOnMobile:!0,conditionDisplay:'position === "bottom-center" || position === "bottom-left" || position === "inside-bottom"',setting:{id:"type"}},{setting:{id:"shape"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'["left", "right"].includes(position)'},{setting:{id:"shapeForBottom"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'["bottom-left", "bottom-center"].includes(position)'},{setting:{id:"shapeForInsideBottom"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'["inside-bottom"].includes(position)'},{setting:{id:"shapeForInside"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'["inside-left", "inside-right"].includes(position)'},{setting:{id:"shapeForFtOnly"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'position == "only-feature"'},{setting:{id:"shapeFor2Col"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'position == "two-col"'},{setting:{id:"shapeFor1Col"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'position == "one-col"'},{label:"Image gap",setting:{id:"itemSpacing"}},{conditionDisplay:"(position == 'one-col' && shapeFor1Col.shape !== 'original') || (position == 'two-col' && shapeFor2Col.shape !== 'original') || (position == 'only-feature' && shapeForFtOnly.shape !== 'original') || ([\"inside-left\", \"inside-right\"].includes(position) && shapeForInside.shape !== 'original') || ([\"inside-bottom\"].includes(position) && shapeForInsideBottom.shape !== 'original') || ([\"bottom-left\", \"bottom-center\"].includes(position) && shapeForBottom.shape !== 'original') || ([\"left\", \"right\"].includes(position) && shape.shape !== 'original')",label:"Image scale",setting:{id:"layout"}},{...i.ImageListNavigation,hiddenOnMobile:!0,conditionDisplay:t}],moreSettings:{type:"collapse",controls:[{label:"Corner",hiddenOnMobile:!0,setting:{id:"corner"}},{label:"Active border",hiddenOnMobile:!0,conditionDisplay:'!["one-col", "two-col"].includes(position)',setting:{id:"borderActive"}},{type:"combo",label:"Hover action",conditionDisplay:'(position == "one-col" || position == "two-col")',hiddenOnMobile:!0,iconName:"gp-trigger-action-hover",getValueFromSettingID:"galleryHoverEffect",defaultValueWhenClear:"none",compoDefaultValue:"zoom",controls:[{label:"When hover",setting:{id:"galleryHoverEffect"},conditionDisplay:'galleryHoverEffect == "none"'},{label:"Zoom type",conditionDisplay:'galleryHoverEffect == "zoom"',setting:{id:"galleryZoomType"}},{label:"Zoom value",conditionDisplay:'galleryHoverEffect == "zoom"',setting:{id:"galleryZoom"}},{label:"Other image",conditionDisplay:'galleryHoverEffect == "other"',setting:{id:"otherImage"}}]},{label:"Click action",setting:{id:"clickOpenLightBox"}},{conditionDisplay:t,label:"Drag / swipe",setting:{id:"dragToScroll"}},{conditionDisplay:t,label:"Infinity loop",setting:{id:"loop"}}]}},{label:"Item spacing",hiddenOnMobile:!0,conditionDisplay:'["bottom-center", "left", "right", "inside-bottom", "inside-left", "inside-right"].includes(position)',controls:[{label:"Gap",setting:{id:"spacing"}}]},{label:"Display condition",conditionDisplay:'["bottom-center", "left", "right", "only-feature", "inside-bottom", "inside-left", "inside-right"].includes(position)',controls:[{label:"Default item",setting:{id:"preDisplay"}}]},{label:"Optimize LCP",conditionDisplay:'pageType !== "STATIC"',controls:[{label:"Preload",
|
|
1
|
+
"use strict";var i=require("./ui/ImageListNavigation.js"),o=require("./ui/FeatureNavigation.js"),e=require("./ui/FeatureDots.js");const t='((type == "slider" || position == "left" || position == "right") && position !== "one-col" && position != "two-col")',n='(["bottom-center", "left", "right", "only-feature", "inside-bottom", "inside-left", "inside-right"].includes(position))',l=[{label:"Layout",controls:[{layout:"vertical",setting:{id:"position"},options:{isComboLayout:!0},controls:[{label:"Ratio",type:"control",setting:{id:"ratioLayout"},layout:"vertical",conditionDisplay:'position == "left"'},{label:"Ratio",type:"control",setting:{id:"ratioLayoutRight"},layout:"vertical",conditionDisplay:'position == "right"'}]}]},{label:"Featured image",conditionDisplay:n,controls:[{setting:{id:"ftShape"},hiddenOnMobile:!0,layout:"vertical",controlChangeTrigger:{settings:[{condition:"ftShape.shape === 'original'",source:["ftShape"],action:{controlId:"ftLayout",newValue:"contain",groupType:"style",controlType:"style"}}],options:{noRecordHistory:!0}}},{conditionDisplay:"ftShape.shape !== 'original'",label:"Image scale",setting:{id:"ftLayout"}},{...e.FeatureDots,hiddenOnMobile:!0,conditionDisplay:`${n} && position === "only-feature"`},{...o.FeatureNavigation,hiddenOnMobile:!0,conditionDisplay:`${n}`}],moreSettings:{type:"collapse",controls:[{label:"Corner",hiddenOnMobile:!0,setting:{id:"ftCorner"}},{type:"combo",label:"Hover action",conditionDisplay:n,hiddenOnMobile:!0,iconName:"gp-trigger-action-hover",getValueFromSettingID:"hoverEffect",isShowSettingTitle:!0,defaultValueWhenClear:"none",compoDefaultValue:"zoom",controls:[{label:"When hover",setting:{id:"hoverEffect"}},{label:"Zoom type",conditionDisplay:'hoverEffect == "zoom"',setting:{id:"zoomType"}},{label:"Zoom value",conditionDisplay:'hoverEffect == "zoom"',setting:{id:"zoom"}},{label:"Other image",conditionDisplay:'hoverEffect == "other"',setting:{id:"otherImage"}}]},{type:"combo",label:"Click action",hiddenOnMobile:!0,iconName:"gp-trigger-action-click",conditionDisplay:n,getValueFromSettingID:"ftClickOpenLightBox",isShowSettingTitle:!0,defaultValueWhenClear:"none",compoDefaultValue:"popup",controls:[{label:"After click",setting:{id:"ftClickOpenLightBox"}},{label:"Open new tab",setting:{id:"ftClickOpenNewTab"},conditionDisplay:'ftClickOpenLightBox === "product-link"'}]},{type:"control",label:"Slide speed",setting:{id:"ftAnimationSpeed"}},{type:"control",label:"Animation",setting:{id:"ftAnimationMode"}},{label:"Drag / swipe",setting:{id:"ftDragToScroll"}},{label:"Infinity loop",setting:{id:"ftLoop"}}]}},{label:"Image list",conditionDisplay:'(position !== "only-feature")',controls:[{label:"Display",hiddenOnMobile:!0,conditionDisplay:'position === "bottom-center" || position === "bottom-left" || position === "inside-bottom"',setting:{id:"type"}},{setting:{id:"shape"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'["left", "right"].includes(position)'},{setting:{id:"shapeForBottom"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'["bottom-left", "bottom-center"].includes(position)'},{setting:{id:"shapeForInsideBottom"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'["inside-bottom"].includes(position)'},{setting:{id:"shapeForInside"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'["inside-left", "inside-right"].includes(position)'},{setting:{id:"shapeForFtOnly"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'position == "only-feature"'},{setting:{id:"shapeFor2Col"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'position == "two-col"'},{setting:{id:"shapeFor1Col"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'position == "one-col"'},{label:"Image gap",setting:{id:"itemSpacing"}},{conditionDisplay:"(position == 'one-col' && shapeFor1Col.shape !== 'original') || (position == 'two-col' && shapeFor2Col.shape !== 'original') || (position == 'only-feature' && shapeForFtOnly.shape !== 'original') || ([\"inside-left\", \"inside-right\"].includes(position) && shapeForInside.shape !== 'original') || ([\"inside-bottom\"].includes(position) && shapeForInsideBottom.shape !== 'original') || ([\"bottom-left\", \"bottom-center\"].includes(position) && shapeForBottom.shape !== 'original') || ([\"left\", \"right\"].includes(position) && shape.shape !== 'original')",label:"Image scale",setting:{id:"layout"}},{...i.ImageListNavigation,hiddenOnMobile:!0,conditionDisplay:t}],moreSettings:{type:"collapse",controls:[{label:"Corner",hiddenOnMobile:!0,setting:{id:"corner"}},{label:"Active border",hiddenOnMobile:!0,conditionDisplay:'!["one-col", "two-col"].includes(position)',setting:{id:"borderActive"}},{type:"combo",label:"Hover action",conditionDisplay:'(position == "one-col" || position == "two-col")',hiddenOnMobile:!0,iconName:"gp-trigger-action-hover",getValueFromSettingID:"galleryHoverEffect",defaultValueWhenClear:"none",compoDefaultValue:"zoom",controls:[{label:"When hover",setting:{id:"galleryHoverEffect"},conditionDisplay:'galleryHoverEffect == "none"'},{label:"Zoom type",conditionDisplay:'galleryHoverEffect == "zoom"',setting:{id:"galleryZoomType"}},{label:"Zoom value",conditionDisplay:'galleryHoverEffect == "zoom"',setting:{id:"galleryZoom"}},{label:"Other image",conditionDisplay:'galleryHoverEffect == "other"',setting:{id:"otherImage"}}]},{label:"Click action",setting:{id:"clickOpenLightBox"}},{conditionDisplay:t,label:"Drag / swipe",setting:{id:"dragToScroll"}},{conditionDisplay:t,label:"Infinity loop",setting:{id:"loop"}}]}},{label:"Item spacing",hiddenOnMobile:!0,conditionDisplay:'["bottom-center", "left", "right", "inside-bottom", "inside-left", "inside-right"].includes(position)',controls:[{label:"Gap",setting:{id:"spacing"}}]},{label:"Display condition",conditionDisplay:'["bottom-center", "left", "right", "only-feature", "inside-bottom", "inside-left", "inside-right"].includes(position)',controls:[{label:"Default item",setting:{id:"preDisplay"}}]},{label:"Optimize LCP",conditionDisplay:'pageType !== "STATIC"',controls:[{label:"Preload",setting:{id:"preload"}},{label:"Quality",setting:{id:"qualityType"}},{layout:"horizontal",label:" ",conditionDisplay:'qualityType == "custom"',setting:{id:"qualityPercent"}}]},{hiddenOnMobile:!0,controls:[{label:"Align",setting:{id:"align"},options:{labelVariant:"primary"}}]}];exports.SettingUIV2=l;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("./ProductFeatureImage.js"),t=require("./ProductGalleryImage.js");const l=[{id:"setting",controls:[{id:"filterByVariant",type:"select",label:"Filter images by variant",default:"all_images",options:[{label:"All images",value:"all_images"},{label:"Selected variant",value:"selected_variant"}]},{id:"displayByVariant",label:"Option Label",type:"toggle",default:!1},{id:"variantSelect",type:"variant:listing"},{id:"select-display",type:"group",label:"Select images to display",controls:e.productSelectDisplaySetting},{id:"featured-image",type:"group",label:"Featured Image",controls:e.productFeatureImageSetting},{id:"gallery-images",type:"group",label:"Gallery Images",controls:t.productGalleryImageSetting},{id:"qualityType",type:"select",label:"Quality",devices:{desktop:{default:"high"}},options:[{title:"Finest",value:"finest"},{title:"High",value:"high"},{title:"Medium",value:"medium"},{title:"Custom",value:"custom",tooltip:"You can choose it for advanced page loading optimization."}]},{id:"preload",type:"toggle",label:"Preload",default:!1},{id:"qualityPercent",type:"input:slider",label:"",units:["%"],min:
|
|
1
|
+
"use strict";var e=require("./ProductFeatureImage.js"),t=require("./ProductGalleryImage.js");const l=[{id:"setting",controls:[{id:"filterByVariant",type:"select",label:"Filter images by variant",default:"all_images",options:[{label:"All images",value:"all_images"},{label:"Selected variant",value:"selected_variant"}]},{id:"displayByVariant",label:"Option Label",type:"toggle",default:!1},{id:"variantSelect",type:"variant:listing"},{id:"select-display",type:"group",label:"Select images to display",controls:e.productSelectDisplaySetting},{id:"featured-image",type:"group",label:"Featured Image",controls:e.productFeatureImageSetting},{id:"gallery-images",type:"group",label:"Gallery Images",controls:t.productGalleryImageSetting},{id:"qualityType",type:"select",label:"Quality",devices:{desktop:{default:"high"}},options:[{title:"Finest",value:"finest"},{title:"High",value:"high"},{title:"Medium",value:"medium"},{title:"Custom",value:"custom",tooltip:"You can choose it for advanced page loading optimization."}]},{id:"preload",type:"toggle",label:"Preload",default:!1},{id:"qualityPercent",type:"input:slider",label:"",units:["%"],min:20,max:400,step:200,useOnlyUnitInit:!0,devices:{desktop:{default:100}}}]},{id:"style",controls:[{id:"position",label:"Layout",type:"layout-selector",iconViewBox:"0 0 50 50",enableItemBackground:!0,itemPerRow:3,itemSpacing:"large",enableItemOpacity:!0,options:[{label:"Featured top",value:"bottom-center",type:"p-image-layout",iconName:"gp-product-image-layout-bottom"},{label:"Featured right",value:"left",type:"p-image-layout",iconName:"gp-product-image-layout-left"},{label:"Featured left",value:"right",type:"p-image-layout",iconName:"gp-product-image-layout-right"},{label:"Image list inside bottom",value:"inside-bottom",type:"p-image-layout",iconName:"gp-product-image-layout-bottom-inside"},{label:"Image list inside left",value:"inside-left",type:"p-image-layout",iconName:"gp-product-image-layout-left-inside"},{label:"Image list inside right",value:"inside-right",type:"p-image-layout",iconName:"gp-product-image-layout-right-inside"},{label:"Featured only",value:"only-feature",type:"p-image-layout",iconName:"gp-product-image-layout-featured-only"},{label:"Image list 1 col",value:"one-col",type:"p-image-layout",iconName:"gp-product-image-layout-one-col",noPadding:"y"},{label:"Image list 2 col",value:"two-col",type:"p-image-layout",iconName:"gp-product-image-layout-two-col"}],devices:{desktop:{default:"bottom-center"},mobile:{default:"bottom-center"}}},{id:"spacing",label:"Spacing Item",type:"input:slider",units:["px"],ignoreMax:!0,max:40,devices:{desktop:{default:"8px"}}},{id:"ratioLayout",label:"Ratio",type:"column-with-slider",fallbackArrayValue:[2,10],devices:{desktop:{default:[2,10]}}},{id:"ratioLayoutRight",label:"Ratio",type:"column-with-slider",fallbackArrayValue:[10,2],devices:{desktop:{default:[10,2]}}},{id:"dimensions",type:"group",label:"Featured Image",controls:e.productFeatureImageStyle},{id:"galleryStyles",type:"group",label:"Gallery",controls:t.productGalleryImageStyle},{id:"align",label:"Alignment",type:"segment",options:[{label:"Start",value:"flex-start",type:"align-flex",tooltip:"Align left"},{label:"Center",value:"center",type:"align-flex",tooltip:"Align center"},{label:"End",value:"flex-end",type:"align-flex",tooltip:"Align right"}],devices:{desktop:{default:"flex-start"}}}]}];exports.ProductImageSettingsV2=l;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var i=require("./ui/ImageListNavigation.js"),o=require("./ui/FeatureNavigation.js"),e=require("./ui/FeatureDots.js");const t='((type == "slider" || position == "left" || position == "right") && position !== "one-col" && position != "two-col")',n='(["bottom-center", "left", "right", "only-feature", "inside-bottom", "inside-left", "inside-right"].includes(position))',l=[{label:"Layout",controls:[{layout:"vertical",setting:{id:"position"},options:{isComboLayout:!0},controls:[{label:"Ratio",type:"control",setting:{id:"ratioLayout"},layout:"vertical",conditionDisplay:'position == "left"'},{label:"Ratio",type:"control",setting:{id:"ratioLayoutRight"},layout:"vertical",conditionDisplay:'position == "right"'}]}]},{label:"Featured image",conditionDisplay:n,controls:[{setting:{id:"ftShape"},hiddenOnMobile:!0,layout:"vertical",controlChangeTrigger:{settings:[{condition:"ftShape.shape === 'original'",source:["ftShape"],action:{controlId:"ftLayout",newValue:"contain",groupType:"style",controlType:"style"}}],options:{noRecordHistory:!0}}},{conditionDisplay:"ftShape.shape !== 'original'",label:"Image scale",setting:{id:"ftLayout"}},{...e.FeatureDots,hiddenOnMobile:!0,conditionDisplay:`${n} && position === "only-feature"`},{...o.FeatureNavigation,hiddenOnMobile:!0,conditionDisplay:`${n}`}],moreSettings:{type:"collapse",controls:[{label:"Corner",setting:{id:"ftCorner"},hiddenOnMobile:!0},{type:"combo",label:"Hover action",conditionDisplay:n,iconName:"gp-trigger-action-hover",getValueFromSettingID:"hoverEffect",isShowSettingTitle:!0,defaultValueWhenClear:"none",compoDefaultValue:"zoom",hiddenOnMobile:!0,controls:[{label:"When hover",setting:{id:"hoverEffect"}},{label:"Zoom type",conditionDisplay:'hoverEffect == "zoom"',setting:{id:"zoomType"}},{label:"Zoom value",conditionDisplay:'hoverEffect == "zoom"',setting:{id:"zoom"}},{label:"Other image",conditionDisplay:'hoverEffect == "other"',setting:{id:"otherImage"}}]},{type:"combo",label:"Click action",hiddenOnMobile:!0,iconName:"gp-trigger-action-click",conditionDisplay:n,getValueFromSettingID:"ftClickOpenLightBox",isShowSettingTitle:!0,defaultValueWhenClear:"none",compoDefaultValue:"popup",controls:[{label:"After click",setting:{id:"ftClickOpenLightBox"}},{label:"Open new tab",setting:{id:"ftClickOpenNewTab"},conditionDisplay:'ftClickOpenLightBox === "product-link"'}]},{type:"control",label:"Slide speed",setting:{id:"ftAnimationSpeed"}},{type:"control",label:"Animation",setting:{id:"ftAnimationMode"}},{label:"Drag / swipe",setting:{id:"ftDragToScroll"}},{label:"Infinity loop",setting:{id:"ftLoop"}}]}},{label:"Image list",conditionDisplay:'(position !== "only-feature")',controls:[{label:"Display",hiddenOnMobile:!0,conditionDisplay:'position === "bottom-center" || position === "bottom-left" || position === "inside-bottom"',setting:{id:"type"}},{setting:{id:"shape"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'["left", "right"].includes(position)'},{setting:{id:"shapeForBottom"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'["bottom-left", "bottom-center"].includes(position)'},{setting:{id:"shapeForInsideBottom"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'["inside-bottom"].includes(position)'},{setting:{id:"shapeForInside"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'["inside-left", "inside-right"].includes(position)'},{setting:{id:"shapeForFtOnly"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'position == "only-feature"'},{setting:{id:"shapeFor2Col"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'position == "two-col"'},{setting:{id:"shapeFor1Col"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'position == "one-col"'},{label:"Image gap",setting:{id:"itemSpacing"}},{conditionDisplay:"(position == 'one-col' && shapeFor1Col.shape !== 'original') || (position == 'two-col' && shapeFor2Col.shape !== 'original') || (position == 'only-feature' && shapeForFtOnly.shape !== 'original') || ([\"inside-left\", \"inside-right\"].includes(position) && shapeForInside.shape !== 'original') || ([\"inside-bottom\"].includes(position) && shapeForInsideBottom.shape !== 'original') || ([\"bottom-left\", \"bottom-center\"].includes(position) && shapeForBottom.shape !== 'original') || ([\"left\", \"right\"].includes(position) && shape.shape !== 'original')",label:"Image scale",setting:{id:"layout"}},{...i.ImageListNavigation,hiddenOnMobile:!0,conditionDisplay:t}],moreSettings:{type:"collapse",controls:[{label:"Corner",hiddenOnMobile:!0,setting:{id:"corner"}},{label:"Active border",hiddenOnMobile:!0,conditionDisplay:'!["one-col", "two-col"].includes(position)',setting:{id:"borderActive"}},{type:"combo",label:"Hover action",conditionDisplay:'(position == "one-col" || position == "two-col")',iconName:"gp-trigger-action-hover",getValueFromSettingID:"galleryHoverEffect",defaultValueWhenClear:"none",hiddenOnMobile:!0,compoDefaultValue:"zoom",controls:[{label:"When hover",setting:{id:"galleryHoverEffect"},conditionDisplay:'galleryHoverEffect == "none"'},{label:"Zoom type",conditionDisplay:'galleryHoverEffect == "zoom"',setting:{id:"galleryZoomType"}},{label:"Zoom value",conditionDisplay:'galleryHoverEffect == "zoom"',setting:{id:"galleryZoom"}},{label:"Other image",conditionDisplay:'galleryHoverEffect == "other"',setting:{id:"otherImage"}}]},{label:"Click action",setting:{id:"clickOpenLightBox"}},{conditionDisplay:t,label:"Drag / swipe",setting:{id:"dragToScroll"}},{conditionDisplay:t,label:"Infinity loop",setting:{id:"loop"}}]}},{label:"Item spacing",hiddenOnMobile:!0,conditionDisplay:'["bottom-center", "left", "right", "inside-bottom", "inside-left", "inside-right"].includes(position)',controls:[{label:"Gap",setting:{id:"spacing"}}]},{label:"Display condition",controls:[{conditionDisplay:'["bottom-center", "left", "right", "only-feature", "inside-bottom", "inside-left", "inside-right"].includes(position)',label:"Default item",setting:{id:"preDisplay"}},{label:"Image list",setting:{id:"filterByVariant"}}],messageConfig:{type:"info",message:'Image list can display based on the selected variants. <a class="text-white" target="_blank" href="https://gempages.co/display-selected-variant">How to setup</a>'}},{label:"Optimize LCP",conditionDisplay:'pageType !== "STATIC"',controls:[{label:"Preload",
|
|
1
|
+
"use strict";var i=require("./ui/ImageListNavigation.js"),o=require("./ui/FeatureNavigation.js"),e=require("./ui/FeatureDots.js");const t='((type == "slider" || position == "left" || position == "right") && position !== "one-col" && position != "two-col")',n='(["bottom-center", "left", "right", "only-feature", "inside-bottom", "inside-left", "inside-right"].includes(position))',l=[{label:"Layout",controls:[{layout:"vertical",setting:{id:"position"},options:{isComboLayout:!0},controls:[{label:"Ratio",type:"control",setting:{id:"ratioLayout"},layout:"vertical",conditionDisplay:'position == "left"'},{label:"Ratio",type:"control",setting:{id:"ratioLayoutRight"},layout:"vertical",conditionDisplay:'position == "right"'}]}]},{label:"Featured image",conditionDisplay:n,controls:[{setting:{id:"ftShape"},hiddenOnMobile:!0,layout:"vertical",controlChangeTrigger:{settings:[{condition:"ftShape.shape === 'original'",source:["ftShape"],action:{controlId:"ftLayout",newValue:"contain",groupType:"style",controlType:"style"}}],options:{noRecordHistory:!0}}},{conditionDisplay:"ftShape.shape !== 'original'",label:"Image scale",setting:{id:"ftLayout"}},{...e.FeatureDots,hiddenOnMobile:!0,conditionDisplay:`${n} && position === "only-feature"`},{...o.FeatureNavigation,hiddenOnMobile:!0,conditionDisplay:`${n}`}],moreSettings:{type:"collapse",controls:[{label:"Corner",setting:{id:"ftCorner"},hiddenOnMobile:!0},{type:"combo",label:"Hover action",conditionDisplay:n,iconName:"gp-trigger-action-hover",getValueFromSettingID:"hoverEffect",isShowSettingTitle:!0,defaultValueWhenClear:"none",compoDefaultValue:"zoom",hiddenOnMobile:!0,controls:[{label:"When hover",setting:{id:"hoverEffect"}},{label:"Zoom type",conditionDisplay:'hoverEffect == "zoom"',setting:{id:"zoomType"}},{label:"Zoom value",conditionDisplay:'hoverEffect == "zoom"',setting:{id:"zoom"}},{label:"Other image",conditionDisplay:'hoverEffect == "other"',setting:{id:"otherImage"}}]},{type:"combo",label:"Click action",hiddenOnMobile:!0,iconName:"gp-trigger-action-click",conditionDisplay:n,getValueFromSettingID:"ftClickOpenLightBox",isShowSettingTitle:!0,defaultValueWhenClear:"none",compoDefaultValue:"popup",controls:[{label:"After click",setting:{id:"ftClickOpenLightBox"}},{label:"Open new tab",setting:{id:"ftClickOpenNewTab"},conditionDisplay:'ftClickOpenLightBox === "product-link"'}]},{type:"control",label:"Slide speed",setting:{id:"ftAnimationSpeed"}},{type:"control",label:"Animation",setting:{id:"ftAnimationMode"}},{label:"Drag / swipe",setting:{id:"ftDragToScroll"}},{label:"Infinity loop",setting:{id:"ftLoop"}}]}},{label:"Image list",conditionDisplay:'(position !== "only-feature")',controls:[{label:"Display",hiddenOnMobile:!0,conditionDisplay:'position === "bottom-center" || position === "bottom-left" || position === "inside-bottom"',setting:{id:"type"}},{setting:{id:"shape"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'["left", "right"].includes(position)'},{setting:{id:"shapeForBottom"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'["bottom-left", "bottom-center"].includes(position)'},{setting:{id:"shapeForInsideBottom"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'["inside-bottom"].includes(position)'},{setting:{id:"shapeForInside"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'["inside-left", "inside-right"].includes(position)'},{setting:{id:"shapeForFtOnly"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'position == "only-feature"'},{setting:{id:"shapeFor2Col"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'position == "two-col"'},{setting:{id:"shapeFor1Col"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'position == "one-col"'},{label:"Image gap",setting:{id:"itemSpacing"}},{conditionDisplay:"(position == 'one-col' && shapeFor1Col.shape !== 'original') || (position == 'two-col' && shapeFor2Col.shape !== 'original') || (position == 'only-feature' && shapeForFtOnly.shape !== 'original') || ([\"inside-left\", \"inside-right\"].includes(position) && shapeForInside.shape !== 'original') || ([\"inside-bottom\"].includes(position) && shapeForInsideBottom.shape !== 'original') || ([\"bottom-left\", \"bottom-center\"].includes(position) && shapeForBottom.shape !== 'original') || ([\"left\", \"right\"].includes(position) && shape.shape !== 'original')",label:"Image scale",setting:{id:"layout"}},{...i.ImageListNavigation,hiddenOnMobile:!0,conditionDisplay:t}],moreSettings:{type:"collapse",controls:[{label:"Corner",hiddenOnMobile:!0,setting:{id:"corner"}},{label:"Active border",hiddenOnMobile:!0,conditionDisplay:'!["one-col", "two-col"].includes(position)',setting:{id:"borderActive"}},{type:"combo",label:"Hover action",conditionDisplay:'(position == "one-col" || position == "two-col")',iconName:"gp-trigger-action-hover",getValueFromSettingID:"galleryHoverEffect",defaultValueWhenClear:"none",hiddenOnMobile:!0,compoDefaultValue:"zoom",controls:[{label:"When hover",setting:{id:"galleryHoverEffect"},conditionDisplay:'galleryHoverEffect == "none"'},{label:"Zoom type",conditionDisplay:'galleryHoverEffect == "zoom"',setting:{id:"galleryZoomType"}},{label:"Zoom value",conditionDisplay:'galleryHoverEffect == "zoom"',setting:{id:"galleryZoom"}},{label:"Other image",conditionDisplay:'galleryHoverEffect == "other"',setting:{id:"otherImage"}}]},{label:"Click action",setting:{id:"clickOpenLightBox"}},{conditionDisplay:t,label:"Drag / swipe",setting:{id:"dragToScroll"}},{conditionDisplay:t,label:"Infinity loop",setting:{id:"loop"}}]}},{label:"Item spacing",hiddenOnMobile:!0,conditionDisplay:'["bottom-center", "left", "right", "inside-bottom", "inside-left", "inside-right"].includes(position)',controls:[{label:"Gap",setting:{id:"spacing"}}]},{label:"Display condition",controls:[{conditionDisplay:'["bottom-center", "left", "right", "only-feature", "inside-bottom", "inside-left", "inside-right"].includes(position)',label:"Default item",setting:{id:"preDisplay"}},{label:"Image list",setting:{id:"filterByVariant"}}],messageConfig:{type:"info",message:'Image list can display based on the selected variants. <a class="text-white" target="_blank" href="https://gempages.co/display-selected-variant">How to setup</a>'}},{label:"Optimize LCP",conditionDisplay:'pageType !== "STATIC"',controls:[{label:"Preload",setting:{id:"preload"}},{label:"Quality",setting:{id:"qualityType"}},{layout:"horizontal",label:"Quality",conditionDisplay:'qualityType == "custom"',setting:{id:"qualityPercent"}}]},{hiddenOnMobile:!0,controls:[{label:"Align",setting:{id:"align"},options:{labelVariant:"primary"}}]}];exports.SettingUIV2=l;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";exports.getIconAttrs=(t,e)=>({"data-slot-type":t?"oos-icon":"has-stock-icon","data-visible":e?"true":"false"}),exports.getLiquidTagAttrs=(
|
|
1
|
+
"use strict";var t=require("./helpers.js");exports.getIconAttrs=(t,e)=>({"data-slot-type":t?"oos-icon":"has-stock-icon","data-visible":e?"true":"false"}),exports.getLiquidTagAttrs=(e,a,s)=>{let{displayByDefault:i,scarcityThreshold:r=0,template:o,outOfStockMessage:l,continueSelling:p,unlimitedQuantityMessage:d,hiddenCounterWhenOutOfStock:c}=a??{},{displayProgressBar:g,oosTextColor:u,typo:n}=s??{},y=n?.attrs?.color,x=t.getMainColor(s);return{"data-id":e?.uid??"","data-visible":"{{ should_display }}","data-policy":"{{ variant_policy_list | escape }}","gp-setting":JSON.stringify({displayByDefault:i,displayProgressBar:g,scarcityThreshold:r,template:o,outOfStockMessage:l,continueSelling:p,unlimitedQuantityMessage:d,color:x,hiddenCounterWhenOutOfStock:c,oosTextColor:u,typoColor:y}).replaceAll('"',""")}},exports.getLiquidTextAttrs=()=>({"data-slot-type":"message"}),exports.getWrapperAttrs=t=>({"data-id":t?.uid??""});
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";var e=require("@gem-sdk/core");const t="%number%",a="mark",i="CONTINUE",r=e=>{let{textColor:t,typo:a}=e??{};return a?.attrs?.color||t||"text-2"},n=e=>`
|
|
2
2
|
border-top-left-radius: ${e?.bbrr??"0px"};
|
|
3
3
|
border-top-right-radius: ${e?.bblr??"0px"};
|
|
4
4
|
border-bottom-left-radius: ${e?.btrr??"0px"};
|
|
5
|
-
border-bottom-right-radius: ${e?.btlr??"0px"};`;exports.CONTINUE_SELLING_WHEN_OUT_OF_STOCK=
|
|
5
|
+
border-bottom-right-radius: ${e?.btlr??"0px"};`;exports.CONTINUE_SELLING_WHEN_OUT_OF_STOCK=i,exports.DEFAULT_FONT_SIZE=20,exports.DEFAULT_HIGHLIGHT_TAG=a,exports.DEFAULT_PROGRESS_BAR_HEIGHT=10,exports.DEFAULT_QUANTITY_TEMPLATE=t,exports.DEFAULT_RANGE_STEP=10,exports.DEFAULT_REMAINING_PERCENT=20,exports.DEFAULT_REMAINING_QUANTITY=12,exports.DEFAULT_SCARCITY_THRESHOLD=12,exports.MAX_PROGRESS_BAR_HEIGHT=20,exports.MAX_REMAINING_PERCENT=100,exports.MIN_PROGRESS_BAR_HEIGHT=5,exports.MIN_REMAINING_PERCENT=10,exports.MIN_REMAINING_QUANTITY=0,exports.NO_PRODUCT_LEFT=0,exports.OUT_OF_STOCK={SHOW:"show",HIDE:"hide"},exports.QUANTITY_SOURCE={AUTO:"auto",MANUAL:"manual"},exports.convertSizeToWidth=e=>{let t={};return e["--size"]&&(t["--w"]=e["--size"]),e["--size-tablet"]&&(t["--w-tablet"]=e["--size-tablet"]),e["--size-mobile"]&&(t["--w-mobile"]=e["--size-mobile"]),t},exports.getInlineCss=(e,t)=>{let a=n(t);if(e)return`
|
|
6
6
|
[data-id="${e}"] {
|
|
7
7
|
.gp-sc-progress-bar{
|
|
8
8
|
${a}
|
|
@@ -10,16 +10,16 @@
|
|
|
10
10
|
.gp-sc-progress-bar:before{
|
|
11
11
|
${a}
|
|
12
12
|
}
|
|
13
|
-
}`},exports.getLiquidInitData=(e,t)=>{let{scarcityThreshold:
|
|
13
|
+
}`},exports.getLiquidInitData=(e,t)=>{let{scarcityThreshold:a=0,hiddenCounterWhenOutOfStock:r,displayByDefault:n}=e??{},{displayProgressBar:s}=t??{},o=!!a&&a>0;return`{%- liquid
|
|
14
14
|
assign current_variant = variant
|
|
15
15
|
assign available = current_variant.available | default: false
|
|
16
16
|
assign inventory_management = current_variant.inventory_management | default: null
|
|
17
17
|
assign inventory_policy = current_variant.inventory_policy | default: 'deny'
|
|
18
18
|
assign inventory_quantity = current_variant.inventory_quantity | default: 0
|
|
19
|
-
assign scarcityThreshold = ${
|
|
20
|
-
assign check_display = ${!!
|
|
19
|
+
assign scarcityThreshold = ${o}
|
|
20
|
+
assign check_display = ${!!n}
|
|
21
21
|
|
|
22
|
-
if inventory_management != null and available == false and inventory_quantity <= 0 and inventory_policy != '${
|
|
22
|
+
if inventory_management != null and available == false and inventory_quantity <= 0 and inventory_policy != '${i.toLowerCase()}'
|
|
23
23
|
assign is_out_of_stock = true
|
|
24
24
|
else
|
|
25
25
|
assign is_out_of_stock = false
|
|
@@ -27,13 +27,13 @@
|
|
|
27
27
|
|
|
28
28
|
if check_display == true
|
|
29
29
|
assign should_display = true
|
|
30
|
-
elsif ${
|
|
30
|
+
elsif ${o} and inventory_quantity >= 0 and inventory_quantity < ${a}
|
|
31
31
|
assign should_display = true
|
|
32
32
|
else
|
|
33
33
|
assign should_display = false
|
|
34
34
|
endif
|
|
35
35
|
|
|
36
|
-
if ${!0===
|
|
36
|
+
if ${!0===r} and available == false
|
|
37
37
|
assign should_display = false
|
|
38
38
|
endif
|
|
39
39
|
|
|
@@ -50,22 +50,22 @@
|
|
|
50
50
|
"{{ variant.id }}_management":"{{ variant.inventory_management }}"{% if forloop.last == false %},{% endif %}
|
|
51
51
|
{% endfor %}
|
|
52
52
|
}
|
|
53
|
-
{% endcapture %}`},exports.getLiquidTextContent=e=>{let{templateStringDisplay:t,outOfStockMessageDisplay:
|
|
54
|
-
${r}
|
|
55
|
-
{% elsif available == false %}
|
|
56
|
-
${i}
|
|
57
|
-
{% elsif available and inventory_policy == '${a.toLowerCase()}' and inventory_quantity <= 0 %}
|
|
53
|
+
{% endcapture %}`},exports.getLiquidTextContent=e=>{let{templateStringDisplay:t,outOfStockMessageDisplay:a,continueSellingDisplay:r,unlimitedQuantityMessageDisplay:n}=e??{};return`{% if inventory_management == null and inventory_quantity <= 0 %}
|
|
58
54
|
${n}
|
|
55
|
+
{% elsif available == false %}
|
|
56
|
+
${a}
|
|
57
|
+
{% elsif available and inventory_policy == '${i.toLowerCase()}' and inventory_quantity <= 0 %}
|
|
58
|
+
${r}
|
|
59
59
|
{% else %}
|
|
60
60
|
${t}
|
|
61
|
-
{% endif %}`},exports.getTextDisplayData=(
|
|
62
|
-
<div class="gp-hidden gp-text-white gp-py-1 gp-px-2 gp-mr-1 gp-inline-block gp-my-[1px]
|
|
63
|
-
<div id="template">${
|
|
64
|
-
<div id="out-of-stock-message">${
|
|
65
|
-
<div id="continue-selling">${
|
|
66
|
-
<div id="unlimited-quantity-message">${
|
|
67
|
-
</div>`},exports.transformHighlighTag=(
|
|
68
|
-
<${
|
|
61
|
+
{% endif %}`},exports.getMainColor=r,exports.getTextDisplayData=(t,a)=>{let{templateStringDisplay:i,outOfStockMessageDisplay:n,continueSellingDisplay:s,unlimitedQuantityMessageDisplay:o}=t??{},l=r(a),p=e.isColor(l)?"":`gp-text-g-${l} gp-bg-g-${l}`;return`
|
|
62
|
+
<div class="gp-hidden gp-text-white gp-py-1 gp-px-2 gp-mr-1 gp-inline-block gp-my-[1px] ${p}" >
|
|
63
|
+
<div id="template">${i}</div>
|
|
64
|
+
<div id="out-of-stock-message">${n}</div>
|
|
65
|
+
<div id="continue-selling">${s}</div>
|
|
66
|
+
<div id="unlimited-quantity-message">${o}</div>
|
|
67
|
+
</div>`},exports.transformHighlighTag=(t,i)=>{if(!t.includes(`<${a}>`))return t;let r="gp-text-white gp-py-1 gp-px-2 gp-mr-1 gp-inline-block gp-my-[1px]",n=`<${a}>`;return n=e.isColor(i)?`
|
|
68
|
+
<${a} class='${r}' style='background-color: ${i}'>
|
|
69
69
|
`:`
|
|
70
|
-
<${
|
|
71
|
-
`,
|
|
70
|
+
<${a} class='${r} gp-bg-g-${i}'>
|
|
71
|
+
`,t.replaceAll(`<${a}>`,n)},exports.transformNumberTag=(a,i,r)=>{if(!a.includes(t))return a;let n="";return n=e.isColor(i)?`<span style='--c: ${i}'><$quantity$></span>`:`<span class='gp-text-g-${i}'><$quantity$></span>`,r&&(n=n.replace("<$quantity$>",r.toString())),a.replaceAll(t,n)};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("
|
|
1
|
+
"use strict";var e=require("@gem-sdk/core"),r=require("react"),t=require("../common/helpers.js");exports.useStockCounter=(o,n)=>{let a=e.useEditorMode(),{template:i,outOfStockMessage:u,continueSelling:s,unlimitedQuantityMessage:l}=o??{},g=t.getMainColor(n),h=e.useCurrentVariant(),T=r.useMemo(()=>Number(h?h.inventoryQuantity:0),[h]),O=!h||h.manageInventory,c=h?h.inventoryPolicy:"deny",m=O&&T<=t.NO_PRODUCT_LEFT&&c!==t.CONTINUE_SELLING_WHEN_OUT_OF_STOCK,_=c===t.CONTINUE_SELLING_WHEN_OUT_OF_STOCK&&T<=t.NO_PRODUCT_LEFT,d=!O&&l;function y(){return d?t.transformHighlighTag(l,g):m?t.transformHighlighTag(u||"",g):_?t.transformHighlighTag(s||"",g):t.transformHighlighTag(t.transformNumberTag(i||"",g,T),g)}let f=r.useMemo(()=>{if("edit"===a)return!1;let e=!o?.displayByDefault&&T>=(o?.scarcityThreshold??0),r=o?.hiddenCounterWhenOutOfStock&&m;return e||r},[T,m,a,o?.displayByDefault,o?.hiddenCounterWhenOutOfStock,o?.scarcityThreshold]);return{outputMessage:()=>{let e=n?.typo?.attrs?.transform==="capitalize";return e?y()?.toLocaleLowerCase():y()},isOutOfStock:m,inventoryQuantity:T,shouldHideCounter:f}};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
"use strict";var e=require("@gem-sdk/core");exports.get3rdPartyInstallLink=({handle:e})=>`https://help.gempages.net/articles/${e}`,exports.getLiquidForAppBlock=(t,r
|
|
1
|
+
"use strict";var e=require("@gem-sdk/core");exports.get3rdPartyAppStoreLink=({handle:e})=>`https://apps.shopify.com/${e}`,exports.get3rdPartyInstallLink=({handle:e})=>`https://help.gempages.net/articles/${e}`,exports.getLiquidForAppBlock=(t,p,r)=>e.template`
|
|
2
2
|
{% assign app_blocks = section.blocks | where: "type", "@app" %}
|
|
3
3
|
<div
|
|
4
|
-
class="gp-flex gp-w-full gp-items-center ${
|
|
5
|
-
style="${{...e.makeStyleResponsive("jc",
|
|
4
|
+
class="gp-flex gp-w-full gp-items-center ${r}"
|
|
5
|
+
style="${{...e.makeStyleResponsive("jc",p)}}"
|
|
6
6
|
>
|
|
7
7
|
{% for block in app_blocks %}
|
|
8
8
|
{% if block.type == '@app' and block.id contains '${t}' %}
|
|
@@ -10,4 +10,4 @@
|
|
|
10
10
|
{% endif %}
|
|
11
11
|
{% endfor %}
|
|
12
12
|
</div>
|
|
13
|
-
`,exports.getYotpoFormCode=e=>{if(!e)return"";let t="";return e.replace(/data-yotpo-instance-id ?= ?"([^"]+)"/gi,
|
|
13
|
+
`,exports.getYotpoFormCode=e=>{if(!e)return"";let t="";return e.replace(/data-yotpo-instance-id ?= ?"([^"]+)"/gi,p=>(t=(t=(t=(t=p).replace("data-yotpo-instance-id=","")).replace(/['"]+/g,"")).replace(/["']+/g,""),e)),t},exports.getYotpoUri=e=>{if(!e)return"";let t="";return(e.replace(/src ?= ?"([^"]+)"/gi,p=>(t=(t=(t=(t=p).replace("src=","")).replace(/['"]+/g,"")).replace(/["']+/g,""),e)),t)?t:""};
|
|
@@ -1,11 +1,36 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@gem-sdk/core");exports.default=({setting:
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@gem-sdk/core");exports.default=({setting:t,advanced:o})=>{let{widgetType:a,align:r}=t??{};return e.template`
|
|
2
2
|
<div
|
|
3
|
-
class="${
|
|
4
|
-
style="${{...e.makeStyleResponsive("ta",
|
|
3
|
+
class="${o?.cssClass}"
|
|
4
|
+
style="${{...e.makeStyleResponsive("ta",r)}}"
|
|
5
5
|
>
|
|
6
6
|
<klarna-placement
|
|
7
|
-
data-key=${(()=>{switch(
|
|
7
|
+
data-key=${(()=>{switch(a){case"topStripPromotionBadge":default:return"top-strip-promotion-badge";case"topStripPromotionAutoSize":return"top-strip-promotion-auto-size";case"footerPromotionAutoSize":return"footer-promotion-auto-size";case"infoPage":return"info-page";case"creditPromotionBadge":return"credit-promotion-badge";case"creditPromotionAutoSize":return"credit-promotion-auto-size"}})()}
|
|
8
8
|
data-locale={{ request.locale.iso_code }}-{{ localization.country.iso_code }}
|
|
9
9
|
></klarna-placement>
|
|
10
|
+
<script>
|
|
11
|
+
(function () {
|
|
12
|
+
var placement = document.currentScript.previousElementSibling;
|
|
13
|
+
var index = 0;
|
|
14
|
+
var id = 'gp-klarna-placement';
|
|
15
|
+
while (document.getElementById(id)) {
|
|
16
|
+
id = 'gp-klarna-placement-' + (++index);
|
|
17
|
+
}
|
|
18
|
+
placement.id = id;
|
|
19
|
+
|
|
20
|
+
// Register with the Shopify app so it initializes the SDK and validates the market.
|
|
21
|
+
var placements = window.klarnaAppBlocksManager || (window.appBlockPlacements ||= []);
|
|
22
|
+
placements.push({
|
|
23
|
+
selector: id,
|
|
24
|
+
dataKey: placement.getAttribute('data-key'),
|
|
25
|
+
productVariants: {{ product.variants | json | replace: '<', '\\u003c' }} || [],
|
|
26
|
+
templateName: {{ template.name | json }},
|
|
27
|
+
storefrontCurrency: {{ cart.currency.iso_code | json }},
|
|
28
|
+
storefrontCountry: {{ localization.country.iso_code | json }},
|
|
29
|
+
storefrontLanguage: {{ request.locale.iso_code | split: '-' | first | json }},
|
|
30
|
+
variantPrice: {{ product.selected_or_first_available_variant.price | default: 0 | append: '' | json }},
|
|
31
|
+
cartPrice: {{ cart.total_price | default: 0 | append: '' | json }}
|
|
32
|
+
});
|
|
33
|
+
})();
|
|
34
|
+
</script>
|
|
10
35
|
</div>
|
|
11
36
|
`};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../configs/AftershipEmailMarketingsms.js"),t=require("../../common/helpers.js"),i=require("./uiV2.js");const l={tag:e.default.tag,label:e.default.label,icon:'<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/b8bc9d365792ea16185361099864182c/icon/COb3zP2Pwv4CEAE=.png?width=22&height=22">',editorConfigs:{component:{isThirdParty:!0}},presets:[{id:e.default.id,name:e.default.label,hideTextContent:!0,icon:{desktop:`<div class="w-full flex flex-col items-center">
|
|
2
2
|
<img class="w-24 border border-dark-200 rounded-medium" src="https://cdn.shopify.com/app-store/listing_images/b8bc9d365792ea16185361099864182c/icon/COb3zP2Pwv4CEAE=.png?width=22&height=22">
|
|
3
3
|
<span class="preset-item-title">AfterShip Email Marketing,SMS</span>
|
|
4
|
-
</div>`},components:[{tag:e.default.tag}]}],settings:[{id:"setting",controls:[{id:"appBlockId",type:"input",default:""},{id:"widgetType",label:"Choose widget",type:"select",options:[{label:"Embeded_form",value:"embeded_form"}],default:"embeded_form"},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:t.get3rdPartyInstallLink({handle:"aftership-email-marketing-sms"}),appName:e.default.label},{id:"formId",type:"input",default:""},{id:"getFormId",type:"group"},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:"
|
|
4
|
+
</div>`},components:[{tag:e.default.tag}]}],settings:[{id:"setting",controls:[{id:"appBlockId",type:"input",default:""},{id:"widgetType",label:"Choose widget",type:"select",options:[{label:"Embeded_form",value:"embeded_form"}],default:"embeded_form"},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:t.get3rdPartyInstallLink({handle:"aftership-email-marketing-sms"}),appName:e.default.label},{id:"formId",type:"input",default:""},{id:"getFormId",type:"group"},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:t.get3rdPartyAppStoreLink({handle:"automizely-messages"}),appName:e.default.label},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:[],uiV2:i.default};exports.default=l;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../configs/AirProductReviewsAppUgc.js"),t=require("../../common/helpers.js"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../configs/AirProductReviewsAppUgc.js"),t=require("../../common/helpers.js"),l=require("./uiV2.js");const a={tag:e.default.tag,label:e.default.label,icon:'<img class="gp-w-6 gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/d636d73c74c4684a910d23211e0e6ddf/icon/CJbfpYa_9oYDEAE=.jpeg?width=22&height=22">',editorConfigs:{component:{isThirdParty:!0}},presets:[{id:e.default.id,name:e.default.label,hideTextContent:!0,icon:{desktop:`<div class="w-full flex flex-col items-center">
|
|
2
2
|
<img class="w-24 border border-dark-200 rounded-medium" src="https://cdn.shopify.com/app-store/listing_images/d636d73c74c4684a910d23211e0e6ddf/icon/CJbfpYa_9oYDEAE=.jpeg?width=22&height=22">
|
|
3
3
|
<span class="preset-item-title">Air: Product Reviews app & UGC</span>
|
|
4
|
-
</div>`},components:[{tag:e.default.tag}]}],settings:[{id:"setting",controls:[{id:"install",type:"open-link",target:"_blank",linkType:"install",href:t.get3rdPartyInstallLink({handle:"air-product-reviews-app-ugc"}),appName:e.default.label},{id:"widgetType",label:"Choose widget",type:"select",options:[{label:"Review box",value:"review_box"},{label:"Star Rating",value:"star_rating"},{label:"Review carousel",value:"review_carousel"}],default:"review_box"},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:"
|
|
4
|
+
</div>`},components:[{tag:e.default.tag}]}],settings:[{id:"setting",controls:[{id:"install",type:"open-link",target:"_blank",linkType:"install",href:t.get3rdPartyInstallLink({handle:"air-product-reviews-app-ugc"}),appName:e.default.label},{id:"widgetType",label:"Choose widget",type:"select",options:[{label:"Review box",value:"review_box"},{label:"Star Rating",value:"star_rating"},{label:"Review carousel",value:"review_carousel"}],default:"review_box"},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:t.get3rdPartyAppStoreLink({handle:"air-reviews"}),appName:e.default.label},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:[],uiV2:l.default};exports.default=a;
|
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
<img class="w-24 border border-dark-200 rounded-medium" src="${t.default.logoUrl}?width=22&height=22">
|
|
4
4
|
<span class="preset-item-title">${t.default.label}</span>
|
|
5
5
|
</div>
|
|
6
|
-
`},components:[{tag:t.default.tag}]}],settings:[{id:"setting",controls:[{id:"install",type:"open-link",target:"_blank",linkType:"install",href:e.get3rdPartyInstallLink({handle:"ali-reviews-kudosi-reviews"}),appName:t.default.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:"
|
|
6
|
+
`},components:[{tag:t.default.tag}]}],settings:[{id:"setting",controls:[{id:"install",type:"open-link",target:"_blank",linkType:"install",href:e.get3rdPartyInstallLink({handle:"ali-reviews-kudosi-reviews"}),appName:t.default.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:e.get3rdPartyAppStoreLink({handle:"ali-reviews"}),appName:t.default.label},{id:"widgetType",label:"Choose widget",type:"select",default:"starRating",options:a},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:[],uiV2:l.default};exports.WidgetOptions=a,exports.default=i;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../common/helpers.js"),t=require("../../configs/AlsoBoughtCbb.js"),l=require("./uiV2.js");const a={tag:t.default.tag,label:t.default.label,icon:'<img class="gp-w-6 gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/55a595d2413473dd0c6e6a315690886a/icon/CITkod-6vf0CEAE=.png?width=22&height=22">',editorConfigs:{placeholder:{flowPage:"GP_PRODUCT"},component:{isThirdParty:!0}},presets:[{id:t.default.id,name:t.default.label,hideTextContent:!0,icon:{desktop:`<div class="w-full flex flex-col items-center">
|
|
2
2
|
<img class="w-24 border border-dark-200 rounded-medium" src="https://cdn.shopify.com/app-store/listing_images/55a595d2413473dd0c6e6a315690886a/icon/CITkod-6vf0CEAE=.png?width=22&height=22">
|
|
3
3
|
<span class="preset-item-title">Also Bought • CBB</span>
|
|
4
|
-
</div>`},components:[{tag:t.default.tag}]}],settings:[{id:"setting",controls:[{id:"install",type:"open-link",target:"_blank",linkType:"install",href:e.get3rdPartyInstallLink({handle:"also-bought-cbb"}),appName:t.default.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:"
|
|
4
|
+
</div>`},components:[{tag:t.default.tag}]}],settings:[{id:"setting",controls:[{id:"install",type:"open-link",target:"_blank",linkType:"install",href:e.get3rdPartyInstallLink({handle:"also-bought-cbb"}),appName:t.default.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:e.get3rdPartyAppStoreLink({handle:"also-bought"}),appName:t.default.label},{id:"guideId",type:"group"},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:[],uiV2:l.default};exports.default=a;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../configs/AovBundlesVolumeDiscounts.js"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../common/helpers.js"),l=require("../../configs/AovBundlesVolumeDiscounts.js"),t=require("./uiV2.js");const i={tag:l.default.tag,label:l.default.label,icon:'<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/0cf2a4359de6605e10e663ebf70249cb/icon/CI6xy4Hqu44DEAE=.png?width=22&height=22">',editorConfigs:{placeholder:{flowTag:["Product"]},component:{isThirdParty:!0}},presets:[{id:l.default.id,name:l.default.label,hideTextContent:!0,icon:{desktop:`<div class="w-full flex flex-col items-center">
|
|
2
2
|
<img class="w-24 border border-dark-200 rounded-medium" src="https://cdn.shopify.com/app-store/listing_images/0cf2a4359de6605e10e663ebf70249cb/icon/CI6xy4Hqu44DEAE=.png?width=22&height=22">
|
|
3
3
|
<span class="preset-item-title">AOV Bundles Volume Discounts</span>
|
|
4
|
-
</div>`},components:[{tag:
|
|
4
|
+
</div>`},components:[{tag:l.default.tag}]}],settings:[{id:"setting",controls:[{id:"appBlockId",type:"input",default:""},{id:"widgetType",label:"Choose widget",type:"select",options:[{label:"AOV Bundle Builder",value:"offer-bundle-builder"},{label:"AOV Child Product List",value:"offer-fixed"},{label:"AOV Frequently Bought",value:"offer-inline"},{label:"AOV Mix Match Bundle",value:"mix-match-offer-inline"},{label:"AOV Volume Discount",value:"offer-volume"}],default:"offer-bundle-builder"},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:"",appName:l.default.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:e.get3rdPartyAppStoreLink({handle:"aov-bundle-upsell"}),appName:l.default.label},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:[],uiV2:t.default};exports.default=i;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../configs/AovFreeGiftBuyXGetYBogo.js"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../common/helpers.js"),t=require("../../configs/AovFreeGiftBuyXGetYBogo.js"),a=require("./uiV2.js");const l={tag:t.default.tag,label:t.default.label,icon:'<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/b957b53ca225f32cac0ad2cd41f89a1f/icon/CI6dsMjDr4cDEAE=.png?width=22&height=22">',editorConfigs:{placeholder:{flowPage:"GP_PRODUCT"},component:{isThirdParty:!0}},presets:[{id:t.default.id,name:t.default.label,hideTextContent:!0,icon:{desktop:`<div class="w-full flex flex-col items-center">
|
|
2
2
|
<img class="w-24 border border-dark-200 rounded-medium" src="https://cdn.shopify.com/app-store/listing_images/b957b53ca225f32cac0ad2cd41f89a1f/icon/CI6dsMjDr4cDEAE=.png?width=22&height=22">
|
|
3
3
|
<span class="preset-item-title">AOV Free Gift Buy X Get Y BOGO</span>
|
|
4
|
-
</div>`},components:[{tag:
|
|
4
|
+
</div>`},components:[{tag:t.default.tag}]}],settings:[{id:"setting",controls:[{id:"appBlockId",type:"input",default:""},{id:"widgetType",label:"Choose widget",type:"select",options:[{label:"AOV Promotion Card",value:"avada-promotion-card"}],default:"avada-promotion-card"},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:"",appName:t.default.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:e.get3rdPartyAppStoreLink({handle:"avada-upsell"}),appName:t.default.label},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:[],uiV2:a.default};exports.default=l;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../configs/AppointmentBookingCowlendar.js"),t=require("../../common/helpers.js"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../configs/AppointmentBookingCowlendar.js"),t=require("../../common/helpers.js"),l=require("./uiV2.js");const a={tag:e.default.tag,label:e.default.label,icon:'<img class="gp-w-6 gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/e297c43d07c087a231c656afcdca283f/icon/CP-e-oKX6PUCEAE=.png?width=22&height=22">',editorConfigs:{component:{isThirdParty:!0}},presets:[{id:e.default.id,name:e.default.label,hideTextContent:!0,icon:{desktop:`<div class="w-full flex flex-col items-center">
|
|
2
2
|
<img class="w-24 border border-dark-200 rounded-medium" src="https://cdn.shopify.com/app-store/listing_images/e297c43d07c087a231c656afcdca283f/icon/CP-e-oKX6PUCEAE=.png?width=22&height=22">
|
|
3
3
|
<span class="preset-item-title">Appointment Booking Cowlendar</span>
|
|
4
|
-
</div>`},components:[{tag:e.default.tag}]}],settings:[{id:"setting",controls:[{id:"appBlockId",type:"input",default:""},{id:"widgetType",label:"Choose widget",type:"select",options:[{label:"App Section",value:"app-section"}],default:"app-section"},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:t.get3rdPartyInstallLink({handle:"appointment-booking-cowlendar"}),appName:e.default.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:"
|
|
4
|
+
</div>`},components:[{tag:e.default.tag}]}],settings:[{id:"setting",controls:[{id:"appBlockId",type:"input",default:""},{id:"widgetType",label:"Choose widget",type:"select",options:[{label:"App Section",value:"app-section"}],default:"app-section"},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:t.get3rdPartyInstallLink({handle:"appointment-booking-cowlendar"}),appName:e.default.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:t.get3rdPartyAppStoreLink({handle:"cowlendar"}),appName:e.default.label},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:[],uiV2:l.default};exports.default=a;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../configs/AppstleBundlesDiscounts.js"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../configs/AppstleBundlesDiscounts.js"),l=require("../../common/helpers.js"),t=require("./uiV2.js");const a={tag:e.default.tag,label:e.default.label,icon:'<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/855ee74552c1cca133c12a4364890912/icon/CO69r8mp0oQDEAE=.png?width=22&height=22">',editorConfigs:{placeholder:{flowTag:["Product"]},component:{isThirdParty:!0}},presets:[{id:e.default.id,name:e.default.label,hideTextContent:!0,icon:{desktop:`<div class="w-full flex flex-col items-center">
|
|
2
2
|
<img class="w-24 border border-dark-200 rounded-medium" src="https://cdn.shopify.com/app-store/listing_images/855ee74552c1cca133c12a4364890912/icon/CO69r8mp0oQDEAE=.png?width=22&height=22">
|
|
3
3
|
<span class="preset-item-title">Appstle℠ Bundles & Discounts</span>
|
|
4
|
-
</div>`},components:[{tag:e.default.tag}]}],settings:[{id:"setting",controls:[{id:"appBlockId",type:"input",default:""},{id:"widgetType",label:"Choose widget",type:"select",options:[{label:"Classic Bundle",value:"appstle-classic-bundle"},{label:"Dynamic Bundle",value:"appstle-bundle-product-page-build-a-box"}],default:"appstle-classic-bundle"},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:
|
|
4
|
+
</div>`},components:[{tag:e.default.tag}]}],settings:[{id:"setting",controls:[{id:"appBlockId",type:"input",default:""},{id:"widgetType",label:"Choose widget",type:"select",options:[{label:"Classic Bundle",value:"appstle-classic-bundle"},{label:"Dynamic Bundle",value:"appstle-bundle-product-page-build-a-box"}],default:"appstle-classic-bundle"},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:l.get3rdPartyInstallLink({handle:"appstle-bundles-discounts"}),appName:e.default.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:l.get3rdPartyAppStoreLink({handle:"appstle-bundles"}),appName:e.default.label},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:[],uiV2:t.default};exports.default=a;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../configs/AppstleLoyaltyRewardProgram.js"),l=require("../../common/helpers.js"),t=require("./uiV2.js");const a={tag:e.default.tag,label:e.default.label,icon:`<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="${e.default.logoUrl}">`,editorConfigs:{component:{isThirdParty:!0}},presets:[{id:e.default.id,name:e.default.label,hideTextContent:!0,icon:{desktop:`<div class="w-full flex flex-col items-center">
|
|
2
2
|
<img class="w-24 border border-dark-200 rounded-medium" src="${e.default.logoUrl}">
|
|
3
3
|
<span class="preset-item-title">${e.default.label}</span>
|
|
4
|
-
</div>`},components:[{tag:e.default.tag}]}],settings:[{id:"setting",controls:[{id:"install",type:"open-link",target:"_blank",linkType:"install",href:l.get3rdPartyInstallLink({handle:"appstle-loyalty-reward-program"}),appName:e.default.label},{id:"widgetType",label:"Choose widget",type:"select",default:"loyalty_dedicated_page",options:[{label:"Loyalty Dedicated Page",value:"loyalty_dedicated_page"},{label:"Points Display on Product",value:"points_display_on_product",hideOnPage:["ARTICLE","BLOG","COLLECTION","GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_INDEX","GP_STATIC","STATIC"]},{label:"Points Display on Collections",value:"points_display_on_collections",hideOnPage:["ARTICLE","BLOG","GP_ARTICLE","GP_BLOG","GP_INDEX","GP_STATIC","STATIC"]}]},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:"
|
|
4
|
+
</div>`},components:[{tag:e.default.tag}]}],settings:[{id:"setting",controls:[{id:"install",type:"open-link",target:"_blank",linkType:"install",href:l.get3rdPartyInstallLink({handle:"appstle-loyalty-reward-program"}),appName:e.default.label},{id:"widgetType",label:"Choose widget",type:"select",default:"loyalty_dedicated_page",options:[{label:"Loyalty Dedicated Page",value:"loyalty_dedicated_page"},{label:"Points Display on Product",value:"points_display_on_product",hideOnPage:["ARTICLE","BLOG","COLLECTION","GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_INDEX","GP_STATIC","STATIC"]},{label:"Points Display on Collections",value:"points_display_on_collections",hideOnPage:["ARTICLE","BLOG","GP_ARTICLE","GP_BLOG","GP_INDEX","GP_STATIC","STATIC"]}]},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:l.get3rdPartyAppStoreLink({handle:"appstle-loyalty"}),appName:e.default.label},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:[],uiV2:t.default};exports.default=a;
|
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
<img class="w-24 border border-dark-200 rounded-medium" src="${e.default.logoUrl}?width=22&height=22">
|
|
4
4
|
<span class="preset-item-title">${e.default.label}</span>
|
|
5
5
|
</div>
|
|
6
|
-
`},components:[{tag:e.default.tag}]}],settings:[{id:"setting",controls:[{id:"install",type:"open-link",target:"_blank",linkType:"install",href:t.get3rdPartyInstallLink({handle:"appstle-subscriptions"}),appName:e.default.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:"
|
|
6
|
+
`},components:[{tag:e.default.tag}]}],settings:[{id:"setting",controls:[{id:"install",type:"open-link",target:"_blank",linkType:"install",href:t.get3rdPartyInstallLink({handle:"appstle-subscriptions"}),appName:e.default.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:t.get3rdPartyAppStoreLink({handle:"subscriptions-by-appstle"}),appName:e.default.label},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:[],uiV2:l.default};exports.default=a;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../components/BestBuyFulfillment.js"),t=require("../../common/helpers.js"),l=require("./uiV2.js");const i={tag:e.AppConfig.tag,label:e.AppConfig.label,icon:'<img class="gp-w-6 gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/cff02298a65798558a8b2ec125eaa1e4/icon/CKzimdrIrIcDEAE=.png?width=22&height=22">',editorConfigs:{placeholder:{flowTag:["Product"]},component:{isThirdParty:!0}},presets:[{id:e.AppConfig.id,name:e.AppConfig.label,hideTextContent:!0,icon:{desktop:`<div class="w-full flex flex-col items-center">
|
|
2
2
|
<img class="w-24 border border-dark-200 rounded-medium" src="https://cdn.shopify.com/app-store/listing_images/cff02298a65798558a8b2ec125eaa1e4/icon/CKzimdrIrIcDEAE=.png?width=22&height=22">
|
|
3
3
|
<span class="preset-item-title">Best Buy Fulfillment</span>
|
|
4
|
-
</div>`},components:[{tag:e.AppConfig.tag}]}],settings:[{id:"setting",controls:[{id:"appBlockId",type:"input",default:""},{id:"widgetType",label:"Choose widget",type:"select",options:[{label:"Pickup Selector",value:"pickup-selector"}],default:"pickup-selector"},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:t.get3rdPartyInstallLink({handle:"best-buy-fullfilment"}),appName:e.AppConfig.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:"
|
|
4
|
+
</div>`},components:[{tag:e.AppConfig.tag}]}],settings:[{id:"setting",controls:[{id:"appBlockId",type:"input",default:""},{id:"widgetType",label:"Choose widget",type:"select",options:[{label:"Pickup Selector",value:"pickup-selector"}],default:"pickup-selector"},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:t.get3rdPartyInstallLink({handle:"best-buy-fullfilment"}),appName:e.AppConfig.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:t.get3rdPartyAppStoreLink({handle:"best-buy-fulfillment"}),appName:e.AppConfig.label},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:[],uiV2:l.default};exports.default=i;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../common/helpers.js"),t=require("../../configs/BfSizeChartSizeGuide.js"),l=require("./uiV2.js");const i={tag:t.default.tag,label:t.default.label,icon:'<img class="gp-w-6 gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/022ba73148820196cc39ae7ac1667ec0/icon/CLqQkc30lu8CEAE=.png?width=22&height=22">',editorConfigs:{placeholder:{flowPage:"GP_PRODUCT"},component:{isThirdParty:!0}},presets:[{id:t.default.id,name:t.default.label,hideTextContent:!0,icon:{desktop:`<div class="w-full flex flex-col items-center">
|
|
2
2
|
<img class="w-24 border border-dark-200 rounded-medium" src="https://cdn.shopify.com/app-store/listing_images/022ba73148820196cc39ae7ac1667ec0/icon/CLqQkc30lu8CEAE=.png?width=22&height=22">
|
|
3
3
|
<span class="preset-item-title">BF Size Chart & Size Guide</span>
|
|
4
|
-
</div>`},components:[{tag:t.default.tag}]}],settings:[{id:"setting",controls:[{id:"appBlockId",type:"input",default:""},{id:"widgetType",label:"Choose widget",type:"select",options:[{label:"Block",value:"block"}],default:"block"},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:e.get3rdPartyInstallLink({handle:"bf-size-chart-size-guide"}),appName:t.default.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:"
|
|
4
|
+
</div>`},components:[{tag:t.default.tag}]}],settings:[{id:"setting",controls:[{id:"appBlockId",type:"input",default:""},{id:"widgetType",label:"Choose widget",type:"select",options:[{label:"Block",value:"block"}],default:"block"},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:e.get3rdPartyInstallLink({handle:"bf-size-chart-size-guide"}),appName:t.default.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:e.get3rdPartyAppStoreLink({handle:"best-fit-size-charts-size-guides"}),appName:t.default.label},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:[],uiV2:l.default};exports.default=i;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../common/helpers.js"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../common/helpers.js"),t=require("../../configs/BirdChime.js"),l=require("./uiV2.js");const a={tag:t.default.tag,label:t.default.label,icon:`<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="${t.default.logoUrl}?width=22&height=22">`,editorConfigs:{component:{isThirdParty:!0},placeholder:{flowTag:["Product"]}},presets:[{id:t.default.id,name:t.default.label,hideTextContent:!0,icon:{desktop:`
|
|
2
2
|
<div class="w-full flex flex-col items-center">
|
|
3
|
-
<img class="w-24 border border-dark-200 rounded-medium" src="${
|
|
4
|
-
<span class="preset-item-title">${
|
|
3
|
+
<img class="w-24 border border-dark-200 rounded-medium" src="${t.default.logoUrl}?width=22&height=22">
|
|
4
|
+
<span class="preset-item-title">${t.default.label}</span>
|
|
5
5
|
</div>
|
|
6
|
-
`},components:[{tag:
|
|
6
|
+
`},components:[{tag:t.default.tag}]}],settings:[{id:"setting",controls:[{id:"install",type:"open-link",target:"_blank",linkType:"install",href:e.get3rdPartyInstallLink({handle:"v7-bird-pickup-delivery-date"}),appName:t.default.label},{id:"openApp",type:"open-link",linkType:"openApp",target:"_blank",href:e.get3rdPartyAppStoreLink({handle:"store-pickup-and-delivery-date"}),appName:t.default.label},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:[],uiV2:l.default};exports.default=a;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../configs/BloyRewardsProgramLoyalty.js"),l=require("../../common/helpers.js"),t=require("./uiV2.js");const a={tag:e.default.tag,label:e.default.label,icon:'<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/eb1dd8939bb7b954d714a5344a78df08/icon/CITe8tmBxYoDEAE=.png?width=22&height=22">',editorConfigs:{component:{isThirdParty:!0}},presets:[{id:e.default.id,name:e.default.label,hideTextContent:!0,icon:{desktop:`<div class="w-full flex flex-col items-center">
|
|
2
2
|
<img class="w-24 border border-dark-200 rounded-medium" src="https://cdn.shopify.com/app-store/listing_images/eb1dd8939bb7b954d714a5344a78df08/icon/CITe8tmBxYoDEAE=.png?width=22&height=22">
|
|
3
3
|
<span class="preset-item-title">BLOY Rewards Program & Loyalty</span>
|
|
4
|
-
</div>`},components:[{tag:e.default.tag}]}],settings:[{id:"setting",controls:[{id:"appBlockId",type:"input",default:""},{id:"widgetType",label:"Choose widget",type:"select",options:[{label:"Bloy Loyalty Guide",value:"bloy-loyalty-guide"},{label:"Bloy Loyalty Points Program",value:"bloy-loyalty-points-program"},{label:"Bloy Loyalty Vip Program",value:"bloy-loyalty-vip-program"},{label:"Bloy Loyalty Ways Earn",value:"bloy-loyalty-ways-earn"},{label:"Bloy Loyalty Ways Redeem",value:"bloy-loyalty-ways-redeem"},{label:"Point On Product Page",value:"bloy-point-caculator-pdp"}],default:"bloy-loyalty-guide"},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:l.get3rdPartyInstallLink({handle:"bloy-loyalty"}),appName:e.default.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:"
|
|
4
|
+
</div>`},components:[{tag:e.default.tag}]}],settings:[{id:"setting",controls:[{id:"appBlockId",type:"input",default:""},{id:"widgetType",label:"Choose widget",type:"select",options:[{label:"Bloy Loyalty Guide",value:"bloy-loyalty-guide"},{label:"Bloy Loyalty Points Program",value:"bloy-loyalty-points-program"},{label:"Bloy Loyalty Vip Program",value:"bloy-loyalty-vip-program"},{label:"Bloy Loyalty Ways Earn",value:"bloy-loyalty-ways-earn"},{label:"Bloy Loyalty Ways Redeem",value:"bloy-loyalty-ways-redeem"},{label:"Point On Product Page",value:"bloy-point-caculator-pdp"}],default:"bloy-loyalty-guide"},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:l.get3rdPartyInstallLink({handle:"bloy-loyalty"}),appName:e.default.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:l.get3rdPartyAppStoreLink({handle:"bloy-loyalty"}),appName:e.default.label},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:[],uiV2:t.default};exports.default=a;
|
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
<img class="w-24 border border-dark-200 rounded-medium" src="${l.default.logoUrl}?width=22&height=22">
|
|
4
4
|
<span class="preset-item-title">${l.default.label}</span>
|
|
5
5
|
</div>
|
|
6
|
-
`},components:[{tag:l.default.tag}]}],settings:[{id:"setting",controls:[{id:"install",type:"open-link",target:"_blank",linkType:"install",href:e.get3rdPartyInstallLink({handle:"v7-bogos"}),appName:l.default.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:"
|
|
6
|
+
`},components:[{tag:l.default.tag}]}],settings:[{id:"setting",controls:[{id:"install",type:"open-link",target:"_blank",linkType:"install",href:e.get3rdPartyInstallLink({handle:"v7-bogos"}),appName:l.default.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:e.get3rdPartyAppStoreLink({handle:"freegifts"}),appName:l.default.label},{id:"widgetType",label:"Choose widget",type:"select",default:"icon",options:[{label:"Gift icon",value:"icon"},{label:"Gift thumbnail",value:"thumnail"},{label:"Gift slider",value:"slider"},{label:"Cart message",value:"message"},{label:"Quantity break",value:"quantity-break"},{label:"Classic bundle",value:"classic-bundle"},{label:"Mix and match",value:"mix-match"},{label:"Frequently Bought Together",value:"fbt"}]},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:[],uiV2:t.default};exports.default=a;
|