@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
|
@@ -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",appName:l.default.label,href:e.get3rdPartyInstallLink({handle:"v7-wiser-product-recommendation"})},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",appName:l.default.label,href:"
|
|
6
|
+
`},components:[{tag:l.default.tag}]}],settings:[{id:"setting",controls:[{id:"install",type:"open-link",target:"_blank",linkType:"install",appName:l.default.label,href:e.get3rdPartyInstallLink({handle:"v7-wiser-product-recommendation"})},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",appName:l.default.label,href:e.get3rdPartyAppStoreLink({handle:"recommended-products-wiser"})},{id:"wiserVersion",label:"Choose widget",type:"select",default:"V2",options:[{label:"Version 2.0 (Latest Version)",value:"V2"},{label:"Version 1.0 (Deprecated)",value:"V1"}]},{id:"widgetType",label:"Choose widget",type:"select",default:"related",options:[{label:"Related Products",value:"related"},{label:"Recommended Products",value:"recommended"},{label:"Frequently Bought Together",value:"alsobought"},{label:"Recently Viewed Products",value:"recentview"},{label:"New Arrivals",value:"newarrivals"},{label:"Featured Products",value:"featured"},{label:"Top Selling Products",value:"topselling"},{label:"Trending Products",value:"trending"},{label:"Inspired By Your Browsing History",value:"recent_related"}]},{id:"widgetTypeV2",label:"Choose widget",type:"select",default:"evm-related-product",options:[{label:"Related Products",value:"evm-related-product"},{label:"Frequently Bought Together",value:"evm-also-bought-products"},{label:"Featured Products",value:"evm-featured-collections-product"},{label:"Manual Recommendations",value:"evm-recommended-products"},{label:"Top Selling Recommendations",value:"evm-most-popular-products"},{label:"New Arrivals",value:"evm-new-arrivals-product"},{label:"Recently Viewed Products",value:"recently-viewed"},{label:"Recommendations Based On Past Purchases",value:"evm-recent_purchased_recomm-product"},{label:"Products Purchased Before",value:"evm-recent_purchased-product"},{label:"Trending Products",value:"trending-products"},{label:"AI Based Recommendations",value:"evm-related-viewed-browsing"}]},{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
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../common/helpers.js"),t=require("../../configs/WishlistKing.js"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../common/helpers.js"),t=require("../../configs/WishlistKing.js"),l=require("./uiV2.js");const i={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/4d45c9492efce6b4965d75eb55be0252/icon/CIaX3ofRsvICEAE=.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/4d45c9492efce6b4965d75eb55be0252/icon/CIaX3ofRsvICEAE=.png?width=22&height=22">
|
|
3
3
|
<span class="preset-item-title">Wishlist King</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:"Wishlist Button Block",value:"wishlist-button-block"}],default:"wishlist-button-block"},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:e.get3rdPartyInstallLink({handle:"wishlist-king"}),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:"Wishlist Button Block",value:"wishlist-button-block"}],default:"wishlist-button-block"},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:e.get3rdPartyInstallLink({handle:"wishlist-king"}),appName:t.default.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:e.get3rdPartyAppStoreLink({handle:"wishlist-king"}),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"),t=require("../../configs/WishlistPlus.js"),l=require("./uiV2.js");const
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../common/helpers.js"),t=require("../../configs/WishlistPlus.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/d612f58ce0decfaba38849af3396fb5b/icon/CKKXmdzFx_MCEAE=.jpeg?width=22&height=22">',editorConfigs:{placeholder:{flowTag:["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/d612f58ce0decfaba38849af3396fb5b/icon/CKKXmdzFx_MCEAE=.jpeg?width=22&height=22">
|
|
3
3
|
<span class="preset-item-title">Wishlist Plus</span>
|
|
4
4
|
</div>`},components:[{tag:t.default.tag}]}],settings:[{id:"setting",controls:[{id:"label",label:"Custom label",type:"input",default:"Added To Wishlist"},{id:"iconSvg",label:"SVG Icon",type:"icon",hideLabel:!0,default:`
|
|
5
5
|
<svg height="20" width="20" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor" data-id="508414775080714600">
|
|
6
|
-
<path fill="currentColor" strokelinecap="round" strokelinejoin="round" d="M225.84,54.13A62.07,62.07,0,0,0,138.32,54L128,63.58,117.68,54a62,62,0,0,0-87.58,87.8l89.35,90.65a12,12,0,0,0,17.1,0l89.29-90.59a62,62,0,0,0,0-87.7Zm-17,70.79L128,206.9,47.13,124.85a38,38,0,0,1,53.74-53.74c.1.1.2.2.31.29l18.64,17.36a12,12,0,0,0,16.36,0L154.82,71.4c.11-.09.21-.19.31-.29a38,38,0,1,1,53.68,53.81Z"></path></svg>`},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:e.get3rdPartyInstallLink({handle:"wishlist-plus"}),appName:t.default.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:"
|
|
6
|
+
<path fill="currentColor" strokelinecap="round" strokelinejoin="round" d="M225.84,54.13A62.07,62.07,0,0,0,138.32,54L128,63.58,117.68,54a62,62,0,0,0-87.58,87.8l89.35,90.65a12,12,0,0,0,17.1,0l89.29-90.59a62,62,0,0,0,0-87.7Zm-17,70.79L128,206.9,47.13,124.85a38,38,0,0,1,53.74-53.74c.1.1.2.2.31.29l18.64,17.36a12,12,0,0,0,16.36,0L154.82,71.4c.11-.09.21-.19.31-.29a38,38,0,1,1,53.68,53.81Z"></path></svg>`},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:e.get3rdPartyInstallLink({handle:"wishlist-plus"}),appName:t.default.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:e.get3rdPartyAppStoreLink({handle:"swym-relay"}),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;
|
|
@@ -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:"appBlockId",type:"input",default:""},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:e.get3rdPartyInstallLink({handle:"yotpo-product-reviews-ugc"}),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:"appBlockId",type:"input",default:""},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:e.get3rdPartyInstallLink({handle:"yotpo-product-reviews-ugc"}),appName:l.default.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:e.get3rdPartyAppStoreLink({handle:"yotpo-social-reviews"}),appName:l.default.label},{id:"productHandle",type:"product-handle",hide:!0},{id:"version",label:"Choose version",type:"select",default:"v1",options:[{label:"V1",value:"v1"},{label:"V3",value:"v3"}]},{id:"widgetType",label:"Choose widget",type:"select",default:"reviews",options:[{label:"Reviews",value:"reviews"},{label:"Star Badge",value:"star-rating"},{label:"Review Highlights",value:"reviewHighlights"}]},{id:"appKey",label:"Your API key",type:"input"},{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 +1 @@
|
|
|
1
|
-
"use strict";exports.getAttr=({uid:t})=>({"data-id":t}),exports.getHtml5Attr=({videoId:t,title:e,autoplay:a,preloadThumbnail:r,offLazyLoad:d,src:s,thumbnail:o})=>({id:`${t}`,title:`${e}`,preload:`${a&&!r||d?"metadata":"none"}`,"data-src":`${s}`,poster:o
|
|
1
|
+
"use strict";exports.getAttr=({uid:t})=>({"data-id":t}),exports.getHtml5Attr=({videoId:t,title:e,autoplay:a,preloadThumbnail:r,offLazyLoad:d,src:s,thumbnail:o,shouldDeferPoster:p})=>({id:`${t}`,title:`${e}`,preload:`${a&&!r||d?"metadata":"none"}`,"data-src":`${s}`,poster:o&&!p?o:"","data-poster":o||""});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),
|
|
2
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),s=require("../common/classes.js"),t=require("@gem-sdk/system"),l=require("../hooks/useLiteHtml5Embed.js"),r=require("../../image/components/NextImage.js"),a=require("../common/styles.js"),i=require("../common/attrs.js"),o=require("@gem-sdk/core");exports.default=c=>{let m=o.useEditorMode(),u="edit"!==m,{thumbnail:n,muted:d,autoplay:g,loop:p,controls:j,src:x,style:y,title:C,className:b,lazy:h,poster:q}=c,{playVideoAndTurnOffThumbnail:v,videoRef:f,showThumbnail:N}=l.default(g,d,x),T=!u&&g&&d&&!!n,k=!h&&c.isVideoComponent&&u,I=!n||!N,P=x||void 0,w=t.createAttr({...i.getHtml5Attr({title:C,autoplay:g,preloadThumbnail:T,offLazyLoad:k,src:x,thumbnail:n})}),A=t.createClass({...s.getWrapThumbnailClasses(I)}),M=t.createStyle({...a.getPreloadImageStyle()}),S=t.createClass({...s.getButtonThumbnailClasses()}),V=t.createClass({...s.getImageThumbnailClasses()}),B=t.createClass({...s.getVideoYoutubeClasses(b,k)});return e.jsxs(e.Fragment,{children:[T?e.jsx(r.default,{src:n,alt:C,priority:!0,style:M}):"",e.jsx("video",{ref:f,...w,style:y,className:B,controls:j,loop:p,muted:d,autoPlay:g,playsInline:!0,src:P}),!I&&e.jsxs("div",{role:"presentation",style:y,className:A,onClick:v,children:[e.jsx(r.default,{id:"video-thumbnail",src:n??"",alt:q?.altText,title:q?.imageTitle,priority:q?.preload&&u,className:V,isDisableAspectStyle:!0}),e.jsx("button",{type:"button",className:S,"aria-label":"Play",children:e.jsx("svg",{className:"gp-w-5 gp-text-white",viewBox:"0 0 24 24",children:e.jsx("path",{fill:"currentColor",d:"M5 5.274c0-1.707 1.826-2.792 3.325-1.977l12.362 6.726c1.566.853 1.566 3.101 0 3.953L8.325 20.702C6.826 21.518 5 20.432 5 18.726V5.274Z"})})})]})]})};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../common/classes.js"),t=require("@gem-sdk/core"),s=require("@gem-sdk/system"),o=require("../../image/components/NextImage.liquid.js"),
|
|
2
|
-
<gp-lite-html5-embed is-check-loaded="${l.isCheckLoaded??!1}" style="${
|
|
3
|
-
${A?t.template`${o.default({src:n,alt:y,priority:h?.preload,
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../common/classes.js"),t=require("@gem-sdk/core"),s=require("@gem-sdk/system"),o=require("../../image/components/NextImage.liquid.js"),i=require("../common/styles.js"),a=require("../../helpers.js"),r=require("../common/attrs.js");exports.default=l=>{let d=`gp-video-${l.uid}`,{thumbnail:n,muted:u,autoplay:c,loop:m,controls:v,src:p,style:g,title:y,className:f,lazy:$,poster:h,thumbnailImage:b,wrapperStyles:L}=l,A=c&&u&&!!n,C=!$&&l.isVideoComponent,P=!n||c&&u,E=C?p:void 0,S=!l.isVideoComponent&&!P,T=s.createAttr({...r.getHtml5Attr({videoId:d,title:y,autoplay:c,preloadThumbnail:A,offLazyLoad:C,src:p,thumbnail:n,shouldDeferPoster:S})}),q=s.createClass({...e.getWrapThumbnailClasses(P)}),w=s.createStyle({...i.getPreloadImageStyle()}),I=s.createClass({...e.getButtonThumbnailClasses()}),j=s.createClass({...e.getImageThumbnailClasses()}),V=s.createClass({...e.getVideoYoutubeClasses(f,C)});return t.template`
|
|
2
|
+
<gp-lite-html5-embed is-check-loaded="${l.isCheckLoaded??!1}" style="${L}">
|
|
3
|
+
${A?t.template`${o.default({src:n,alt:y,priority:h?.preload,style:w})}
|
|
4
4
|
${s.If(c,`<script>
|
|
5
5
|
document.addEventListener("DOMContentLoaded", (event) => {
|
|
6
6
|
const eventList = ["keydown", "mousemove", "wheel", "touchmove", "touchstart", "touchend"];
|
|
@@ -36,24 +36,24 @@
|
|
|
36
36
|
</script>`)}
|
|
37
37
|
`:""}
|
|
38
38
|
<video
|
|
39
|
-
${{...
|
|
39
|
+
${{...T}}
|
|
40
40
|
style="${g}"
|
|
41
|
-
class="${
|
|
41
|
+
class="${V}"
|
|
42
42
|
${v?"controls":void 0}
|
|
43
43
|
${m?"loop":void 0}
|
|
44
44
|
${u?"muted":void 0}
|
|
45
45
|
${c?"autoplay":void 0}
|
|
46
46
|
playsinline
|
|
47
|
-
${
|
|
47
|
+
${E?`src="${E}"`:""}
|
|
48
48
|
></video>
|
|
49
|
-
${s.If(!
|
|
49
|
+
${s.If(!P,t.template`
|
|
50
50
|
<div
|
|
51
51
|
role="presentation"
|
|
52
52
|
style="${g}"
|
|
53
|
-
class="${
|
|
53
|
+
class="${q}"
|
|
54
54
|
>
|
|
55
|
-
${o.default({id:"video-thumbnail",src:n??"",alt:h?.altText,title:h?.imageTitle,className:
|
|
56
|
-
<button type="button" class="${
|
|
55
|
+
${o.default({id:"video-thumbnail",src:n??"",...b&&{srcIsLiquidCode:!0,srcset:b.srcset},alt:h?.altText,title:h?.imageTitle,className:j,isDisableAspectStyle:!0,priority:h?.preload})}
|
|
56
|
+
<button type="button" class="${I}" aria-label="Play">
|
|
57
57
|
<svg class="gp-w-5 gp-text-white" viewBox="0 0 24 24">
|
|
58
58
|
<path
|
|
59
59
|
fill="currentColor"
|
|
@@ -64,5 +64,5 @@
|
|
|
64
64
|
</div>
|
|
65
65
|
`)}
|
|
66
66
|
</gp-lite-html5-embed>
|
|
67
|
-
${t.RenderIf(t.isLocalEnv,`<script ${
|
|
67
|
+
${t.RenderIf(t.isLocalEnv,`<script ${a.getSettingPreloadData('class="gps-link" delay',"src")}="{{ 'gp-lite-html5-embed-v7-5.js' | asset_url }}" defer="defer"></script>`,`<script ${a.getSettingPreloadData('class="gps-link" delay',"src")}="${t.baseAssetURL}/assets-v2/gp-lite-html5-embed-v7-5.js?v={{ shop.metafields.GEMPAGES.ASSETS_VERSION }}" defer="defer"></script>`)}
|
|
68
68
|
`};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../common/classes.js"),t=require("@gem-sdk/system"),s=require("../common/styles.js"),a=require("@gem-sdk/core"),l=require("../../image/components/NextImage.liquid.js"),r=require("../../helpers.js"),i=require("../common/helpers.js");exports.default=c=>{let{title:o,id:m,lazy:p,aspectRatio:d,autoplay:g,muted:n,thumbnailLink:u,poster:y,translatedVideoUrl:f
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../common/classes.js"),t=require("@gem-sdk/system"),s=require("../common/styles.js"),a=require("@gem-sdk/core"),l=require("../../image/components/NextImage.liquid.js"),r=require("../../helpers.js"),i=require("../common/helpers.js");exports.default=c=>{let{title:o,id:m,lazy:p,aspectRatio:d,autoplay:g,muted:n,thumbnailLink:u,poster:y,translatedVideoUrl:f}=c,{iframeSrc:$}=i.getVimeoParams(c),v=!p,S=c.thumbnail,b=t.createStateOrContext({id:m,thumbnail:u,lazy:p,iframeSrc:$,title:o,autoplay:g,muted:n,style:c?.vimeoStyleIframe||"",translatedVideoUrl:f}),h=t.createStyle({...s.getIframeVimeoStyle(d)}),C=t.createStyle({...s.getArticleVimeoStyle(d,"")}),j=t.createClass({...e.getArticleVimeoClasses(S,d)}),I=t.createClass({...e.getImageVimeoClasses(v)}),V=t.createClass({...e.getButtonVimeoClasses(v)}),q=t.createClass({...e.getIframeVimeoClasses()});return a.template`
|
|
2
2
|
<gp-lite-vimeo-embed>
|
|
3
|
-
<script gp-data type="application/json">${JSON.stringify(
|
|
3
|
+
<script gp-data type="application/json">${JSON.stringify(b)}</script>
|
|
4
4
|
<article
|
|
5
5
|
aria-hidden
|
|
6
|
-
class="${
|
|
6
|
+
class="${j}"
|
|
7
7
|
data-title="${o}"
|
|
8
|
-
style="${
|
|
8
|
+
style="${C}"
|
|
9
9
|
>
|
|
10
|
-
${l.default({src:
|
|
11
|
-
${t.If(!
|
|
12
|
-
<button type="button" class="${
|
|
10
|
+
${l.default({src:S,alt:y?.altText,title:y?.imageTitle,className:I,isDisableAspectStyle:!0,priority:y?.preload,height:y?.height,width:y?.width})}
|
|
11
|
+
${t.If(!v,a.template`
|
|
12
|
+
<button type="button" class="${V}" aria-label="Play">
|
|
13
13
|
<svg class="gp-w-5 gp-text-white" viewBox="0 0 24 24">
|
|
14
14
|
<path
|
|
15
15
|
fill="currentColor"
|
|
@@ -17,15 +17,15 @@
|
|
|
17
17
|
/>
|
|
18
18
|
</svg>
|
|
19
19
|
</button>`)}
|
|
20
|
-
${t.If(
|
|
20
|
+
${t.If(v,a.template`
|
|
21
21
|
<iframe
|
|
22
|
-
style="${
|
|
22
|
+
style="${h}"
|
|
23
23
|
title="${o}"
|
|
24
24
|
frameborder="0"
|
|
25
25
|
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
|
|
26
26
|
allowfullscreen
|
|
27
|
-
src="${
|
|
28
|
-
class="${
|
|
27
|
+
src="${$}"
|
|
28
|
+
class="${q}"
|
|
29
29
|
></iframe>`)}
|
|
30
30
|
</article>
|
|
31
31
|
</gp-lite-vimeo-embed>
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("@gem-sdk/core"),r=require("react-youtube"),
|
|
2
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("@gem-sdk/core"),r=require("react-youtube"),s=require("../common/classes.js"),a=require("../common/helpers.js"),l=require("../common/styles.js"),o=require("../hooks/useLiteYoutubeEmbed.js"),i=require("@gem-sdk/system"),u=require("../../image/components/NextImage.js");exports.default=c=>{let n=t.useEditorMode(),m="edit"!==n,{style:d,poster:y,iframeClass:g,wrapperClass:b,title:p}=c,{preload:f}=y||{},{videoId:C,paramsImp:h,posterUrl:j,iframeSrc:x}=a.getYoutubeParams(c),{iframe:v,intervalPlay:S,warmConnections:q,isVideoStarted:Y,videoDuration:w,addIframe:N}=o.default(c,h,C),B=i.createClass({...s.getButtonYoutubeClasses(v)}),I=i.createClass({...s.getImageYoutubeClasses()}),k=i.createClass({...s.getArticleYoutubeClasses(f&&m||!1,b)}),M=i.createClass({...s.getIframeYoutubeClasses(g)}),P=i.createStyle({...l.getIframeYoutubeStyle(d)}),E=i.createStyle({...l.getArticleYoutubeStyle(d,j)}),T=i.createClass({...s.getYoutubeContentClasses()});return e.jsxs("article",{"aria-hidden":!0,className:k,"data-title":p,style:E,onPointerOver:q,onClick:N,children:[e.jsx(u.default,{src:j,alt:y?.altText,title:y?.imageTitle,priority:m&&f,className:I,isDisableAspectStyle:!0}),e.jsx("button",{type:"button","aria-label":"Play",className:B,children:e.jsxs("svg",{height:"100%",version:"1.1",viewBox:"0 0 68 48",width:"100%",children:[e.jsx("path",{d:"M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z",fill:"#f00"}),e.jsx("path",{d:"M 45,24 27,14 27,34",fill:"#fff"})]})}),v&&(()=>{if(c.isHeroBanner&&a.isSettingLoop(h))return e.jsx(r,{videoId:C,title:p,iframeClassName:M,style:P,className:T,opts:{host:"https://www.youtube-nocookie.com",playerVars:{autoplay:1,state:1,controls:0,mute:1,...a.covertStrParamsToObj(h)}},onReady:e=>{if(e.target.playVideo(),w.current=Math.floor(e.target.getDuration()),c.isHeroBanner){let t=e.target.getIframe();if(t){let e=t.closest("div.hero-banner-container");if(e){let r=new CustomEvent("youtube-iframe-ready",{detail:{iframe:t},bubbles:!0,cancelable:!0});e.dispatchEvent(r)}}}},onStateChange:e=>{let t=e.target;Y.current||(t.playVideo(),Y.current=!0,S(e)),0===e.data&&(w.current=t.getCurrentTime(),t.playVideo(),S(e))}});let t=e.jsx("iframe",{className:M,style:P,title:p,frameBorder:"0",allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,src:x});return c.isHeroBanner?e.jsx("div",{className:T,children:t}):t})()]})};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../common/classes.js"),t=require("@gem-sdk/system"),s=require("../common/styles.js"),a=require("@gem-sdk/core"),r=require("../../image/components/NextImage.liquid.js"),l=require("../../helpers.js"),i=require("../common/helpers.js");exports.default=o=>{let{style:u,iframeClass:c,wrapperClass:p,title:d,poster:n,translatedVideoUrl:m,autoplay:g
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../common/classes.js"),t=require("@gem-sdk/system"),s=require("../common/styles.js"),a=require("@gem-sdk/core"),r=require("../../image/components/NextImage.liquid.js"),l=require("../../helpers.js"),i=require("../common/helpers.js");exports.default=o=>{let{style:u,iframeClass:c,wrapperClass:p,title:d,poster:n,translatedVideoUrl:m,autoplay:g}=o,y=`gp-video-${o.uid}`,{posterUrl:b,iframeSrc:f}=i.getYoutubeParams(o),$=!!o.thumbnail,C=n?.preload,S=t.createStateOrContext({lazy:o.lazy,hasThumbnail:$,style:u,title:d,iframeSrc:f,translatedVideoUrl:m,autoplay:g,isHeroBanner:o.isHeroBanner}),v=!o.lazy&&(!$||!!o.autoplay),h=t.createClass({...e.getButtonYoutubeClasses(v)}),j=t.createClass({...e.getImageYoutubeClasses()}),q=t.createClass({...e.getArticleYoutubeClasses(C||!1,p)}),Y=t.createClass({...e.getIframeYoutubeClasses(c)}),I=t.createStyle({...s.getIframeYoutubeStyle(u)}),x=t.createStyle({...s.getArticleYoutubeStyle(u,b)}),A=t.createClass({...e.getYoutubeContentClasses()});return a.template`
|
|
2
2
|
<gp-lite-youtube-embed>
|
|
3
|
-
<script gp-data type="application/json">${JSON.stringify(
|
|
3
|
+
<script gp-data type="application/json">${JSON.stringify(S)}</script>
|
|
4
4
|
<article
|
|
5
5
|
aria-hidden
|
|
6
|
-
class="${
|
|
6
|
+
class="${q}"
|
|
7
7
|
data-title="${d}"
|
|
8
|
-
style="${
|
|
8
|
+
style="${x}"
|
|
9
9
|
>
|
|
10
|
-
${r.default({id:
|
|
11
|
-
<button type="button" aria-label="Play" class="${
|
|
10
|
+
${r.default({id:y,src:b,alt:n?.altText,title:n?.imageTitle,priority:n?.preload,className:j,isDisableAspectStyle:!0})}
|
|
11
|
+
<button type="button" aria-label="Play" class="${h}">
|
|
12
12
|
<svg height="100%" version="1.1" viewBox="0 0 68 48" width="100%">
|
|
13
13
|
<path
|
|
14
14
|
d="M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z"
|
|
@@ -17,19 +17,19 @@
|
|
|
17
17
|
<path d="M 45,24 27,14 27,34" fill="#fff"></path>
|
|
18
18
|
</svg>
|
|
19
19
|
</button>
|
|
20
|
-
${t.If(
|
|
20
|
+
${t.If(v,(()=>{let e=a.template`
|
|
21
21
|
<iframe
|
|
22
22
|
id="player-wrapper-${o.uid}"
|
|
23
|
-
class="${
|
|
24
|
-
style="${
|
|
23
|
+
class="${Y}"
|
|
24
|
+
style="${I}"
|
|
25
25
|
title="${d}"
|
|
26
26
|
frameborder="0"
|
|
27
27
|
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
|
|
28
28
|
allowfullscreen
|
|
29
|
-
src="${
|
|
29
|
+
src="${f}"
|
|
30
30
|
></iframe>
|
|
31
31
|
`;return o.isHeroBanner?a.template`
|
|
32
|
-
<div class="${
|
|
32
|
+
<div class="${A}">${e}</div>
|
|
33
33
|
`:e})())}
|
|
34
34
|
</article>
|
|
35
35
|
</gp-lite-youtube-embed>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../common/helpers.js"),t=require("@gem-sdk/core"),a=require("../common/styles.js"),l=require("../common/classes.js"),i=require("@gem-sdk/system"),s=require("../../image/components/NextImage.liquid.js"),r=require("../../image/common/helpers.js"),o=require("./LiteYouTubeEmbed.liquid.js"),d=require("./LiteVimeoEmbed.liquid.js"),u=require("./HTML5Embed.liquid.js"),m=require("../common/attrs.js");exports.default=({className:c,setting:n,style:g,builderAttrs:y,builderProps:p,advanced:b,pageContext:V})=>{let q=e.getSettingTranslatedVideoAndThumbnail({setting:n,uid:p?.uid,pageContext:V??{}}),{youtubeUrl:f="",vimeoUrl:S="",html5Url:k,autoplay:h=!1,loopVideo:I=!1,controls:j=!1,mute:v,poster:C,startTime:T,endTime:$,lazy:L,type:x}=q??{},{youtubeUrlTranslated:R,vimeoUrlTranslated:F}=q,N=r.getImageSrc(C),{cssClass:U}=b??{},A=e.getAspectRatioSettings(q?.ratioOptions,q?.aspectRatio),z=i.createAttr({...m.getAttr({uid:p?.uid||""})}),E=i.createStyle({...a.getStyle(q,g)}),Y=i.createStyle({...a.getYoutubeStyle(A)}),w=i.createStyle({...a.getVimeoStyle(A)}),H=i.createStyle({...a.getHtml5Style(A)}),M=i.createStyle({...a.getFallBackImageStyle(n?.aspectRatio)}),O=i.createClass({...l.getFallbackImageClasses()}),P=i.createClass({...l.getClasses({className:c,builderProps:p,isInstantLP:!1,advancedCssClass:U})});return t.template`
|
|
2
2
|
<div
|
|
3
3
|
${{...y}} ${{...z}} class="${P}" style="${E}">
|
|
4
|
-
${(()=>{switch(x){case"youtube":{let a=e.getYoutubeVideoId(f),l=t.hasTranslatedLiquid(R);if((!e.youtubeVideoRegex.test(f)||!a)&&!l)return s.default({src:e.fallbackImageVideoUrl,alt:"Fallback video",className:O,style:M});let i="";return I&&(i+=`&loop=1&playlist=${a}`),T&&(i+=`&start=${e.parseTimeVideo(T)}`),$&&(i+=`&end=${e.parseTimeVideo($)}`),o.default({uid:p?.uid,id:a??"",translatedVideoUrl:l?R:"",autoplay:h,title:"Video",controls:j,params:i,adNetwork:!1,noCookie:!0,muted:!v,thumbnail:N,lazy:L??!0,poster:C,style:Y
|
|
4
|
+
${(()=>{switch(x){case"youtube":{let a=e.getYoutubeVideoId(f),l=t.hasTranslatedLiquid(R);if((!e.youtubeVideoRegex.test(f)||!a)&&!l)return s.default({src:e.fallbackImageVideoUrl,alt:"Fallback video",className:O,style:M});let i="";return I&&(i+=`&loop=1&playlist=${a}`),T&&(i+=`&start=${e.parseTimeVideo(T)}`),$&&(i+=`&end=${e.parseTimeVideo($)}`),o.default({uid:p?.uid,id:a??"",translatedVideoUrl:l?R:"",autoplay:h,title:"Video",controls:j,params:i,adNetwork:!1,noCookie:!0,muted:!v,thumbnail:N,lazy:L??!0,poster:C,style:Y})}case"vimeo":{let a=e.getVimeoVideoId(S),l=t.hasTranslatedLiquid(F);if((!e.vimeoVideoRegex.test(S)||!a)&&!l)return s.default({src:e.fallbackImageVideoUrl,alt:"Fallback video",className:O,style:M});return d.default({muted:!v,loop:I,controls:j,thumbnail:N,thumbnailLink:C?.src,autoplay:h,lazy:L??!0,id:a??"",translatedVideoUrl:l?F:"",title:"Video",aspectRatio:A,poster:C,vimeoStyleIframe:w})}case"html5":if(!k)return s.default({src:e.fallbackImageVideoUrl,alt:"Fallback video",className:O,style:M});return u.default({uid:p?.uid,muted:!v,loop:I,controls:j,autoplay:h,src:k,thumbnail:N,title:"Video",poster:C,lazy:L??!0,isVideoComponent:!0,style:H})}})()}
|
|
5
5
|
</div>
|
|
6
6
|
`};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import{jsx as e}from"react/jsx-runtime";import{useArticleStore as t,cls as r}from"@gem-sdk/core";import a from"../../image/components/Image.js";import{useMemo as i}from"react";let m=({className:m,setting:o={},styles:s={},advanced:l,builderProps:
|
|
2
|
+
import{jsx as e}from"react/jsx-runtime";import{useArticleStore as t,cls as r}from"@gem-sdk/core";import a from"../../image/components/Image.js";import{useMemo as i}from"react";let m=({className:m,setting:o={},styles:s={},advanced:l,builderProps:c})=>{let d=t(e=>e.article),n=i(()=>{let{src:e,alt:t}=d?.media??{};return{src:e,alt:t}},[d]);return e("div",{className:r("gp-text-center",m),style:{borderRadius:"inherit"},children:e(a,{builderProps:c,setting:{...o,image:n,disableNoDataState:!0},styles:s,advanced:l,sizeTarget:"ArticleImage"})})};export{m as default};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import
|
|
3
|
-
<div class="${
|
|
4
|
-
${
|
|
5
|
-
<a href="${
|
|
6
|
-
${
|
|
2
|
+
import{getLiquidImageObjectSources as t}from"../../image/common/liquidSrcset.js";import{FALLBACK_IMAGE as e}from"../../image/common/helpers.js";import{getLinkArticle as o}from"../../helpers.js";import{cls as s,template as i}from"@gem-sdk/core";import"../../accordion/common/classes.js";import"@gem-sdk/system";import"html-react-parser";import"react/jsx-runtime";import"next/link";import"react";import"../../image/common/listContext.js";import"../../breadcrumb/types.js";import"../../common/const.js";import r from"../../image/components/Image.liquid.js";import"../../marquee/common/classes.js";import"../../product/components/product-bundle/common/styles.js";import"../../product/components/product-bundle/common/classes.js";import"../../product/components/product-button/types.js";import"../../product/components/product-list-v3/constants/index.js";import"../../product/components/constants/product-bundle.js";import"../../product/components/product-badge/constants.js";import"../../product/components/product-badge/types.js";import"../../product/components/product-badge/utils/shape.js";let a="ArticleImage",m=o=>({...t({liquidSrc:"article.image",fallbackSrc:e,sizeTarget:a,qualityType:o?.qualityType,qualityPercent:o?.qualityPercent}),alt:"{{article.image.alt}}",srcIsLiquidCode:!0}),c=t=>{let e=t?.setting??{},{alt:c,title:p}=e,{builderProps:n}=t,d=e?.openNewTab?"_blank":"_self",l=m(e);return i`
|
|
3
|
+
<div class="${s("gp-text-center",t?.className)}" style="border-radius: inherit">
|
|
4
|
+
${e?.linkArticle?`
|
|
5
|
+
<a href="${o(e.linkArticle,e.customURL)}" target="${d}" title="{{article.title}}">
|
|
6
|
+
${r({...t,styles:t.styles,setting:{...t.setting,alt:c,title:p,image:l,isAdaptive:!1,disableNoDataState:!0},advanced:t.advanced,sizeTarget:a,builderAttrs:{"data-id":n?.uid}})}
|
|
7
7
|
</a>
|
|
8
8
|
`:`
|
|
9
|
-
${
|
|
9
|
+
${r({...t,styles:t.styles,setting:{...t.setting,alt:"{{article.image.alt}}",image:l,isAdaptive:!1,disableNoDataState:!0},advanced:t.advanced,sizeTarget:a,builderAttrs:{"data-id":n?.uid}})}
|
|
10
10
|
`}
|
|
11
11
|
</div>
|
|
12
|
-
`};export{
|
|
12
|
+
`};export{c as default};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import{jsxs as e,jsx as t}from"react/jsx-runtime";import{useEditorMode as i,splitStyle as l,composeAdvanceStyle as
|
|
2
|
+
import{jsxs as e,jsx as t}from"react/jsx-runtime";import{useEditorMode as i,splitStyle as l,composeAdvanceStyle as r,useBlogsQuery as a,useArticlesQuery as o,flattenConnection as d,filterToolbarPreview as n,ArticleListProvider as s,ArticleProvider as c,isEmptyChildren as m,cls as g,makeStyleResponsive as p,getResponsiveValueByScreen as h,getGradientBgrStyleByDevice as u,getStyleBackgroundByDevice as b,makeStyleWithDefault as f,makeWidth as D}from"@gem-sdk/core";import w from"../../grid/components/ChildrenDroppable.js";import{getElementLabel as T,isQueryLoading as A}from"../../common/helpers.js";import"../../common/const.js";import{useState as y}from"react";import v from"../../common/components/Loading.js";import S from"./ArticleNotFound.js";let O=O=>{let k=i(),{styles:I,setting:E,className:L,children:P,builderProps:j,advanced:G,builderAttrs:_,style:x}=O??{},{articleSetting:C,numberOfArticle:M}=E??{},{articleIds:N,articlePickType:z}=C??{},{border:B,rounded:F,hasBoxShadow:R,boxShadow:U}=G??{},[$]=l(["pos","top","left","bottom","right","z","d"],x),H=r({border:B,rounded:F,hasBoxShadow:R,boxShadow:U,"spacing-setting":G?.["spacing-setting"]}),Q={first:N?.length||50,where:{baseIDIn:[...C?.articleIds??[]]},orderBy:{direction:"DESC",field:"PLATFORM_UPDATED_AT"}},V={first:1,where:{baseID:C?.blogId},orderBy:{direction:"DESC",field:"PLATFORM_UPDATED_AT"},articlesOrderBy:{direction:"DESC",field:"PLATFORM_UPDATED_AT"}},[q,J]=y(!0),K="manually"===z,W="latest"===z,X=a(W?V:null,{revalidateOnMount:!0}),Y=o(K?Q:null,{revalidateOnMount:!0}),Z=X.data?.blogs?.edges?.[0]?.node,ee=K?Y:X,et=ee.error,ei=ee.isValidating,el=A({hasQuery:K||W,data:ee.data,error:ee.error,isLoading:ee.isLoading}),er=X?.data?.blogs?.edges?.[0]?.node,ea="latest"===z?d(er?.articles):d(Y?.data?.articles),eo=(e,t)=>({...e??{},blog:{title:t?.title??"",handle:t?.handle??""}}),ed="latest"===z?ea?.filter((e,t)=>t<+(M||4)).map(e=>eo(e,er)):"manually"===z&&C?.articleIds?.length?N?.map(e=>{let t=ea?.find(t=>t?.baseID===e);return eo(t,t?.blogs?.edges?.[0]?.node)}).filter(Boolean):ea.filter((e,t)=>t<(C?.numOfSelectedArticles||4)).map(e=>eo(e,e?.blogs?.edges?.[0]?.node));return ed?.length||el||"edit"!=k?e("div",{..._,className:j?.builderData?.uid,style:$,children:[ei||el?t(v,{label:T({builderData:j?.builderData})}):et?e("div",{children:["Error: ",et?.message]}):ed?.length?t(s,{styles:{horizontalGutter:I?.horizontalGutter,verticalGutter:I?.verticalGutter,spacing:I?.spacing,width:I?.width,height:I?.height},settings:{slidesToShow:E?.slideToShow??{desktop:4,tablet:3,mobile:1}},articles:ed,children:t("div",{"data-id":j?.uid,className:"gp-relative",children:t("div",{style:{...H,...f("w",D(I?.width),{desktop:"--g-ct-w",tablet:"--g-ct-w",mobile:"--g-ct-w"}),...p("rg",I?.horizontalGutter),...p("cg",I?.verticalGutter),...b(E?.background),...u(E?.background),...p("gtc",{desktop:`repeat(${h(E?.slideToShow,"desktop")}, minmax(0, 1fr))`,tablet:E?.slideToShow?.tablet&&`repeat(${h(E?.slideToShow,"tablet")}, minmax(0, 1fr))`,mobile:E?.slideToShow?.mobile&&`repeat(${h(E?.slideToShow,"mobile")}, minmax(0, 1fr))`})},className:g(L,"gp-m-auto gp-grid gp-w-full"),children:ed.map(e=>t(c,{article:e,readOnly:!0,children:t("div",{"data-component-type":"component","data-component-tag":"Article","data-component-label":"Article","data-component-no-setting":!0,"data-article-id":e?.baseID?.replace("gid://shopify/OnlineStoreArticle/",""),children:m(P)?t(w,{}):P})},e?.id))})})}):t("div",{children:"Articles not found"}),n(P,!0)]}):q?e("div",{..._,className:j?.builderData?.uid,children:[t(S,{blogHandle:Z?.handle,onClose:()=>J(!1),articlePickType:z??"manually",children:P}),n(P,!0)]}):null};export{O as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"react/jsx-runtime";import"@gem-sdk/core";import"@gem-sdk/system";import"next/link";import"react";import"html-react-parser";import"../common/const.js";import"../image/components/AdaptiveImage.js";import"
|
|
1
|
+
import"react/jsx-runtime";import"@gem-sdk/core";import"@gem-sdk/system";import"next/link";import"react";import"html-react-parser";import"../common/const.js";import"../image/components/AdaptiveImage.js";import"../image/common/listImageContext.js";import"../image/common/listContext.js";import t from"./settings/ArticlePagination.js";import i from"./settings/ArticleReadMore.js";import e from"./settings/ArticleCategory.js";import r from"./settings/ArticleExcerpt.js";import o from"./settings/ArticleContent.js";import m from"./settings/ArticleAuthor.js";import s from"./settings/ArticleTitle.js";import c from"./settings/ArticleImage.js";import n from"./settings/ArticleList.js";import l from"./settings/ArticleDate.js";import g from"./settings/ArticleTag.js";let p={ArticleList:n,ArticleTitle:s,ArticleExcerpt:r,ArticleContent:o,ArticleImage:c,ArticlePagination:t,ArticleAuthor:m,ArticleTag:g,ArticleCategory:e,ArticleDate:l,ArticleReadMore:i};export{p as articleListSetting};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
let e=[{id:"setting",controls:[{id:"seo",type:"group",label:"SEO",controls:[{id:"alt",label:"Alt Text",type:"textarea",minHeight:56,autoHeight:!0,placeholder:"E.g: This is a very long value for text area field"},{id:"title",label:"Image title",info:"Show title when hover to image",type:"textarea",minHeight:56,autoHeight:!0,placeholder:"E.g: White t-shirt"}]},{id:"optimize",type:"group",label:"Optimize",hiddenWithGemPages:!0,controls:[{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:"qualityPercent",type:"input:slider",label:"",units:["%"],min:
|
|
1
|
+
let e=[{id:"setting",controls:[{id:"seo",type:"group",label:"SEO",controls:[{id:"alt",label:"Alt Text",type:"textarea",minHeight:56,autoHeight:!0,placeholder:"E.g: This is a very long value for text area field"},{id:"title",label:"Image title",info:"Show title when hover to image",type:"textarea",minHeight:56,autoHeight:!0,placeholder:"E.g: White t-shirt"}]},{id:"optimize",type:"group",label:"Optimize",hiddenWithGemPages:!0,controls:[{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:"qualityPercent",type:"input:slider",label:"",units:["%"],min:20,max:400,step:20,useOnlyUnitInit:!0,devices:{desktop:{default:100}}},{id:"priority",type:"toggle",label:"Preload",default:!1}]},{id:"enableLink",type:"toggle",label:"Link",default:!0},{id:"linkArticle",label:"After click",type:"select",options:[{label:"Go to article",value:"go-to-article"},{label:"Scroll to",value:"scroll-to"}],default:"go-to-article",info:"Ability to click on article title to go to article detail page."},{id:"customURL",label:"Custom URL",type:"pick-link",default:{target:"_self",type:"scroll-to"},isHiddenOpenLinkSelect:!0,hide:!0},{id:"openNewTab",type:"option:value",label:"Open new tab",default:!1,options:[{label:"Yes",value:!0},{label:"No",value:!1}]}]},{id:"style",controls:[{id:"shape",type:"size-setting",label:"",devices:{desktop:{default:{shape:"square",width:"100%"}}},settingConfig:{width:{displayOptions:["full"]}},hiddenSettings:["padding","gap"]},{id:"objectFit",type:"option:illustration",enableTooltip:!0,label:"Image scale",options:[{label:"Fill image",value:"cover",type:"image",svgName:"gp-image-cover"},{label:"Fit image",value:"contain",type:"image",svgName:"gp-image-contain"}],devices:{desktop:{default:"cover"}}},{id:"align",label:"Align",type:"option:value",options:[{label:"Left",value:"left",type:"align",tooltip:"Align left",iconName:"gp-align-left"},{label:"Center",value:"center",type:"align",tooltip:"Align center",iconName:"gp-align-center"},{label:"Right",value:"right",type:"align",tooltip:"Align right",iconName:"gp-align-right"}],devices:{desktop:{default:"center"}}},{id:"opacity",label:"Overlay Opacity",type:"input",default:{normal:0},state:{normal:!0,hover:!0}},{id:"opacityColor",label:"Overlay Color",type:"colorpicker",default:{normal:"#242424"},state:{normal:!0,hover:!0}},{id:"wrapperBorder",type:"border",label:"Border",compoDefaultValue:{border:"solid",width:"1px 1px 1px 1px",position:"all",borderWidth:"1px",color:"#A01414",isCustom:!0}},{id:"borderRadius",type:"radius-preset",label:"Corner",default:{radiusType:"none"},compoDefaultValue:{bblr:"20px",btrr:"20px",bbrr:"20px",btlr:"20px",radiusType:"rounded"}},{id:"shadow",type:"shadow-v2",label:"Button Shadow",compoDefaultValue:{type:"shadow-1",distance:"4px",blur:"4px",spread:"0px",color:"rgba(18, 18, 18, 0.2)",angle:45,enable:!0}}]}];export{e as ArticleImageSettings};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
let e=[{label:"Image",hiddenOnMobile:!0,conditionDisplay:"shape.shape !== 'original'",controls:[{label:"Image scale",setting:{id:"objectFit"}}]},{label:"Size",hiddenOnMobile:!0,controls:[{setting:{id:"shape"},layout:"vertical"}]},{label:"Shape",hiddenOnMobile:!0,controls:[{label:"Border",controlConfig:{id:"border",type:"border-v2",linkWithSetting:{name:"wrapperBorder"}}},{label:"Corner",controlConfig:{id:"corner",type:"corner-v2",linkWithSetting:{name:"borderRadius"}}},{label:"Shadow",setting:{id:"shadow"},options:{updateFields:[{field:"enable",settingId:"hasActiveShadow"}]},controlChangeTrigger:{settings:[{condition:"shadow.enable === true",source:["shadow","hasActiveShadow"],action:{controlId:"hasActiveShadow",groupType:"style",controlType:"style",newValue:!0}},{condition:"shadow.enable === false",source:["shadow","hasActiveShadow"],action:{controlId:"hasActiveShadow",groupType:"style",controlType:"style",newValue:!1}}],options:{noRecordHistory:!0}}}]},{hiddenOnMobile:!0,controls:[{label:"Link",setting:{id:"enableLink"},options:{labelVariant:"primary",toggleStyle:"switch"}},{type:"control",conditionDisplay:"enableLink == true",setting:{id:"linkArticle"},label:"After click"},{label:"Open new tab",setting:{id:"openNewTab"},conditionDisplay:"enableLink === true && linkArticle === 'go-to-article'"},{type:"control",conditionDisplay:"linkArticle === 'scroll-to' && enableLink == true",layout:"vertical",setting:{id:"customURL"}}]},{label:"SEO",hiddenOnMobile:!0,controls:[{type:"combo",label:"Alt text",iconName:"polaris-text-block",getValueFromSettingID:"alt",compoDefaultValue:"Describes the appearance of the image",isHideClear:!0,controls:[{label:"Content",setting:{id:"alt"},layout:"vertical"}]},{type:"combo",label:"Image title",iconName:"polaris-text-block",getValueFromSettingID:"title",compoDefaultValue:"Title",isHideClear:!0,controls:[{label:"Content",setting:{id:"title"},layout:"vertical"}]}]},{label:"Optimize LCP",conditionDisplay:'pageType !== "STATIC"',hiddenOnMobile:!0,controls:[{label:"Preload",setting:{id:"priority"}},{label:"Quality",
|
|
1
|
+
let e=[{label:"Image",hiddenOnMobile:!0,conditionDisplay:"shape.shape !== 'original'",controls:[{label:"Image scale",setting:{id:"objectFit"}}]},{label:"Size",hiddenOnMobile:!0,controls:[{setting:{id:"shape"},layout:"vertical"}]},{label:"Shape",hiddenOnMobile:!0,controls:[{label:"Border",controlConfig:{id:"border",type:"border-v2",linkWithSetting:{name:"wrapperBorder"}}},{label:"Corner",controlConfig:{id:"corner",type:"corner-v2",linkWithSetting:{name:"borderRadius"}}},{label:"Shadow",setting:{id:"shadow"},options:{updateFields:[{field:"enable",settingId:"hasActiveShadow"}]},controlChangeTrigger:{settings:[{condition:"shadow.enable === true",source:["shadow","hasActiveShadow"],action:{controlId:"hasActiveShadow",groupType:"style",controlType:"style",newValue:!0}},{condition:"shadow.enable === false",source:["shadow","hasActiveShadow"],action:{controlId:"hasActiveShadow",groupType:"style",controlType:"style",newValue:!1}}],options:{noRecordHistory:!0}}}]},{hiddenOnMobile:!0,controls:[{label:"Link",setting:{id:"enableLink"},options:{labelVariant:"primary",toggleStyle:"switch"}},{type:"control",conditionDisplay:"enableLink == true",setting:{id:"linkArticle"},label:"After click"},{label:"Open new tab",setting:{id:"openNewTab"},conditionDisplay:"enableLink === true && linkArticle === 'go-to-article'"},{type:"control",conditionDisplay:"linkArticle === 'scroll-to' && enableLink == true",layout:"vertical",setting:{id:"customURL"}}]},{label:"SEO",hiddenOnMobile:!0,controls:[{type:"combo",label:"Alt text",iconName:"polaris-text-block",getValueFromSettingID:"alt",compoDefaultValue:"Describes the appearance of the image",isHideClear:!0,controls:[{label:"Content",setting:{id:"alt"},layout:"vertical"}]},{type:"combo",label:"Image title",iconName:"polaris-text-block",getValueFromSettingID:"title",compoDefaultValue:"Title",isHideClear:!0,controls:[{label:"Content",setting:{id:"title"},layout:"vertical"}]}]},{label:"Optimize LCP",conditionDisplay:'pageType !== "STATIC"',hiddenOnMobile:!0,controls:[{label:"Preload",setting:{id:"priority"}},{label:"Quality",setting:{id:"qualityType"}},{layout:"horizontal",label:"Quality",conditionDisplay:'qualityType == "custom"',setting:{id:"qualityPercent"}}]},{hiddenOnMobile:!0,controls:[{label:"Align",setting:{id:"align"},conditionEnable:"shape.width !== '100%'",options:{labelVariant:"primary",fullWidth:!0,disableMessage:"This option is disabled because the width is set to 100%"}}]}];export{e as SettingUIV2};
|
package/dist/esm/builder.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import o from"./post-purchase/product/components/product-subscription/ProductSubscription.js";import t from"./post-purchase/product/components/ProductPriceBreakdown.js";import r from"./post-purchase/product/components/ProductDiscountTag.js";import m from"./post-purchase/product/components/ProductDescription.js";import s from"./post-purchase/product/components/product-variant/components/ProductVariant.js";import p from"./post-purchase/product/components/ProductQuantity.js";import n from"./post-purchase/product/components/product-offer/components/ProductOffer.js";import e from"./post-purchase/product/components/product-image/index.js";import i from"./post-purchase/product/components/ProductTitle.js";import c from"./post-purchase/product/components/ProductPrice.js";import a from"./post-purchase/product/components/AcceptButton.js";import d from"./third-party/components/TeeinblueProductPersonalizer.js";import"@gem-sdk/core";import u from"./third-party/components/ProductOptionsVariantOption.js";import f from"./third-party/components/GloboProductOptionsVariant.js";import j from"./third-party/components/WhatmoreShoppableVideosreel.js";import l from"./third-party/components/UppromoteAffiliateMarketing.js";import h from"./third-party/components/PumperBundlesVolumeDiscount.js";import y from"./third-party/components/KoalaBundleQuantityDiscount.js";import P from"./third-party/components/InstasellShoppableInstagram.js";import g from"./third-party/components/EcoboostifyShoppableReelUgc.js";import B from"./third-party/components/CustomProductOptionsVariant.js";import S from"./third-party/components/AppointmentBookingCowlendar.js";import C from"./third-party/components/TrustreviewsProductReviews.js";import b from"./third-party/components/ReviewxpoProductReviewsApp.js";import w from"./third-party/components/PowerfulContactFormBuilder.js";import k from"./third-party/components/GloColorSwatchvariantImage.js";import v from"./third-party/components/FastBundleBundlesDiscounts.js";import I from"./third-party/components/EssentialCountdownTimerBar.js";import A from"./third-party/components/DiscountyBulkDiscountSales.js";import T from"./third-party/components/BonLoyaltyRewardsReferrals.js";import L from"./third-party/components/AftershipEmailMarketingsms.js";import R from"./third-party/components/UnlimitedBundlesDiscounts.js";import D from"./third-party/components/TagshopShoppableVideosUgc.js";import x from"./third-party/components/StellarDeliveryDatePickup.js";import V from"./third-party/components/SproutPlantTreesGrowSales.js";import F from"./third-party/components/NotifyBackInStockPreOrder.js";import O from"./third-party/components/EstimatedDeliveryDatePlus.js";import M from"./third-party/components/EssentPreorderBackInStock.js";import E from"./third-party/components/EasyBundleBuilderSkailama.js";import H from"./third-party/components/BloyRewardsProgramLoyalty.js";import U from"./third-party/components/AovBundlesVolumeDiscounts.js";import z from"./third-party/components/TagembedSocialPostReview.js";import G from"./third-party/components/SmartSearchBarAndFilters.js";import K from"./third-party/components/RapiBundleQuantityBreaks.js";import q from"./third-party/components/ProductOptionsCustomizer.js";import Q from"./third-party/components/MyappgurusProductReviews.js";import W from"./third-party/components/GrowthSuiteDiscountCodes.js";import N from"./third-party/components/FrequentlyBoughtTogether.js";import Y from"./third-party/components/EssentialAnnouncementBar.js";import J from"./third-party/components/EcomsendBackInStockAlert.js";import X from"./third-party/components/TrustshopProductReviews.js";import Z from"./third-party/components/RecurpaySubscriptionApp.js";import $ from"./third-party/components/MbcBundleVolumeDiscount.js";import _ from"./third-party/components/MaxbundleProductBundles.js";import oo from"./third-party/components/LoloyalLoyaltyReferrals.js";import ot from"./third-party/components/KachingSubscriptionsApp.js";import or from"./third-party/components/HextomCountdownTimerBar.js";import om from"./third-party/components/DealeasyVolumeDiscounts.js";import os from"./third-party/components/AppstleBundlesDiscounts.js";import op from"./third-party/components/AovFreeGiftBuyXGetYBogo.js";import on from"./third-party/components/AirProductReviewsAppUgc.js";import oe from"./third-party/components/TrustedsiteTrustBadges.js";import oi from"./third-party/components/SubifySubscriptionsApp.js";import oc from"./third-party/components/SkioSubscriptionsYcS20.js";import oa from"./third-party/components/JunipProductReviewsUgc.js";import od from"./third-party/components/GoogleReviewsByReputon.js";import ou from"./third-party/components/BoostAISearchDiscovery.js";import of from"./third-party/components/WcWishlistBackInStock.js";import oj from"./third-party/components/SeoantTrustBadgesIcon.js";import ol from"./third-party/components/RequestQuoteHidePrice.js";import oh from"./third-party/components/RechargeSubscriptions.js";import oy from"./third-party/components/PreorderNowWodPresale.js";import oP from"./third-party/components/PreorderNowPreOrderPq.js";import og from"./third-party/components/HextomFreeShippingBar.js";import oB from"./third-party/components/BestBuyFulfillment.js";import oS from"./third-party/components/ShopifySubscriptions.js";import oC from"./third-party/components/SegunoEmailMarketing.js";import ob from"./third-party/components/OkendoReviewsLoyalty.js";import ow from"./third-party/components/KiteFreeGiftDiscount.js";import ok from"./third-party/components/FordeerProductLabels.js";import ov from"./third-party/components/FlyBundlesUpsellsFbt.js";import oI from"./third-party/components/EasifyProductOptions.js";import oA from"./third-party/components/BonySubscriptionsApp.js";import oT from"./third-party/components/BfSizeChartSizeGuide.js";import oL from"./third-party/components/AppstleSubscriptions.js";import oR from"./third-party/components/CrossSellCartUpsell.js";import oD from"./third-party/components/UltimateSalesBoost.js";import ox from"./third-party/components/KingProductOptions.js";import oV from"./third-party/components/HulkProductOptions.js";import oF from"./third-party/components/BoldProductOptions.js";import oO from"./third-party/components/SimpleBundlesKits.js";import oM from"./third-party/components/SealSubscriptions.js";import oE from"./third-party/components/LoopSubscriptions.js";import oH from"./third-party/components/LaiProductReviews.js";import oU from"./third-party/components/BoldSubscriptions.js";import oz from"./third-party/components/TrustBadgesBear.js";import oG from"./third-party/components/KlarnaMessaging.js";import oK from"./third-party/components/InfiniteOptions.js";import oq from"./third-party/components/HulkFormBuilder.js";import oQ from"./third-party/components/CleanSizeCharts.js";import oW from"./third-party/components/ProductReviews.js";import oN from"./third-party/components/KachingBundles.js";import oY from"./third-party/components/JudgemeReviews.js";import oJ from"./third-party/components/AlsoBoughtCbb.js";import oX from"./third-party/components/YotpoReviews.js";import oZ from"./third-party/components/YotpoLoyalty.js";import o$ from"./third-party/components/WishlistPlus.js";import o_ from"./third-party/components/WishlistKing.js";import o3 from"./third-party/components/ShopifyForms.js";import o2 from"./third-party/components/QikifyUpsell.js";import o0 from"./third-party/components/ParcelPanel.js";import o1 from"./third-party/components/LooxReviews.js";import o4 from"./third-party/components/FeraReviews.js";import o5 from"./third-party/components/EasySellCOD.js";import o6 from"./third-party/components/WideBundle.js";import o7 from"./third-party/components/PickyStory.js";import o8 from"./third-party/components/AliReviews.js";import o9 from"./third-party/components/Instafeed.js";import to from"./third-party/components/BirdChime.js";import tt from"./third-party/components/Selleasy.js";import tr from"./third-party/components/Releasit.js";import tm from"./third-party/components/Omnisend.js";import ts from"./third-party/components/FirePush.js";import tp from"./third-party/components/Trustoo.js";import tn from"./third-party/components/TrustMe.js";import te from"./third-party/components/Stamped.js";import ti from"./third-party/components/PushOwl.js";import tc from"./third-party/components/Klaviyo.js";import ta from"./third-party/components/Growave.js";import td from"./third-party/components/Bundler.js";import tu from"./third-party/components/Vitals.js";import tf from"./third-party/components/Opinew.js";import tj from"./third-party/components/Wiser.js";import tl from"./third-party/components/Ryviu.js";import th from"./third-party/components/Rivyo.js";import ty from"./third-party/components/Bogos.js";import tP from"./third-party/components/AppstleLoyaltyRewardProgram.js";import tg from"./cart/components/shop-pay-button/ShopPayButton.js";import tB from"./cart/components/CartLineAttribute.js";import tS from"./cart/components/CartLineVariant.js";import tC from"./cart/components/CartTotalPrice.js";import tb from"./cart/components/DiscountInput.js";import tw from"./cart/components/CartTotalItem.js";import tk from"./cart/components/CartOrderNote.js";import tv from"./cart/components/CartLinePrice.js";import tI from"./cart/components/CartLineImage.js";import tA from"./cart/components/CartDiscount.js";import tT from"./cart/components/CartCheckout.js";import tL from"./cart/components/CheckoutNow.js";import tR from"./cart/components/CouponList.js";import tD from"./cart/components/CartList.js";import tx from"./cart/components/Cart.js";import tV from"./article/components/ArticlePagination.js";import tF from"./article/components/ArticleReadMore.js";import tO from"./article/components/ArticleCategory.js";import tM from"./article/components/ArticleExcerpt.js";import tE from"./article/components/ArticleContent.js";import tH from"./article/components/ArticleAuthor.js";import tU from"./article/components/ArticleTitle.js";import tz from"./article/components/ArticleImage.js";import tG from"./article/components/ArticleList.js";import tK from"./article/components/ArticleDate.js";import tq from"./article/components/ArticleTag.js";import tQ from"./form/components/submit-button/SubmitButton.js";import tW from"./form/components/form-dropdown/FormDropdown.js";import tN from"./form/components/form-checkbox/FormCheckbox.js";import tY from"./form/components/newsletter/Newsletter.js";import tJ from"./form/components/form-email/FormEmail.js";import tX from"./form/components/textarea/TextArea.js";import tZ from"./form/components/textinput/TextInput.js";import t$ from"./form/components/textfield/TextField.js";import t_ from"./form/components/contact/Contact.js";import t3 from"./collection/components/collection-description/CollectionDescription.js";import t2 from"./collection/components/collection-paginator/CollectionPaginator.js";import t0 from"./collection/components/collection-toolbar/CollectionToolbar.js";import t1 from"./collection/components/collection-banner/CollectionBanner.js";import t4 from"./collection/components/collection-title/CollectionTitle.js";import t5 from"./post-purchase/advanced-list/components/PostPurchaseAdvancedListItem.js";import t6 from"./post-purchase/advanced-list/components/AdvancedListPostPurchase.js";import t7 from"./post-purchase/callout-banner/components/CalloutText.js";import t8 from"./post-purchase/callout-banner/components/CalloutBox.js";import t9 from"./header/components/kind/basic/DesktopMenu.js";import ro from"./header/components/kind/basic/MobileMenu.js";import rt from"./header/components/kind/modern/index.js";import rr from"./header/components/kind/basic/index.js";import rm from"./header/components/Header.js";import rs from"./post-purchase/countdown-timer/components/PostPurchaseCountdownTimer.js";import{PostPurchaseHeading as rp}from"./post-purchase/text/index.js";import rn from"./post-purchase/buyer-consent/components/BuyerConsent.js";import re from"./icon-list-hoz/components/IconListHozItem.js";import ri from"./icon-list-hoz/components/IconListHoz.js";import rc from"./post-purchase/button/components/Button.js";import ra from"./carousel-v3/components/item/CarouselItem.js";import rd from"./carousel-v3/components/root/Carousel.js";import ru from"./post-purchase/image/components/Image.js";import rf from"./post-purchase/link/components/PostPurchaseLink.js";import rj from"./post-purchase/line/components/PostPurchaseLine.js";import rl from"./accordion/components/AccordionItem.js";import"./accordion/settings/configs/settings.js";import rh from"./accordion/components/Accordion.js";import ry from"./image-comparison/components/ImageComparison.js";import rP from"./icon-list/components/IconListItem.js";import rg from"./icon-list/components/IconList.js";import rB from"./carousel/components/item/CarouselItem.js";import rS from"./carousel/components/root/Carousel.js";import"./estimate-delivery/settings/configs/settings.js";import rC from"./link/components/Link.js";import"@gem-sdk/system";import rb from"./estimate-delivery/components/EstimateDate.js";import rw from"./marquee/components/MarqueeItem.js";import rk from"./marquee/components/Marquee.js";import rv from"./grid/components/section/Section.js";import rI from"./grid/components/root/Root.js";import rA from"./grid/components/row/Row.js";import rT from"./grid/components/col/Col.js";import"./countdown-timer/settings/configs/setting.js";import rL from"./countdown-timer/components/Countdown.js";import"./icon-list-v2/settings/configs/settings.js";import rR from"./icon-list-v2/components/IconList.js";import rD from"./hero-banner/components/HeroBanner.js";import rx from"./pagination/components/Pagination.js";import rV from"./breadcrumb/components/Breadcrumb.js";import rF from"./heading/components/Heading.js";import rO from"./dialog/components/Dialog.js";import rM from"./coupon/components/Coupon.js";import rE from"./button/components/Button.js";import rH from"./code/components/CSSCode.js";import"./modal/components/confirm.js";import rU from"./modal/components/Modal.js";import rz from"./input/components/Input.js";import rG from"./image/components/Image.js";import rK from"./menu/components/Menu.js";import rq from"./line/components/Line.js";import rQ from"./icon/components/Icon.js";import rW from"./product/components/product-bundle/ProductBundleDiscountItem.js";import rN from"./product/components/product-bundle/ProductBundleDiscount.js";import rY from"./product/components/product-description/ProductDescription.js";import rJ from"./product/components/product-properties/ProductProperties.js";import rX from"./product/components/product-discount-tag/ProductDiscountTag.js";import rZ from"./product/components/product-view-more/ProductViewMore.js";import r$ from"./product/components/product-variants/ProductVariants.js";import r_ from"./product/components/product-quantity/ProductQuantity.js";import r3 from"./product/components/product-images-v3/ProductImageV3.js";import r2 from"./product/components/product-images-v2/ProductImageV2.js";import r0 from"./product/components/dynamic-checkout/DynamicCheckout.js";import r1 from"./product/components/product-quick-view/QuickView.js";import r4 from"./product/components/product-button/ProductButton.js";import r5 from"./product/components/product-list-v3/ProductList.js";import r6 from"./product/components/product-title/ProductTitle.js";import r7 from"./product/components/product-price/ProductPrice.js";import r8 from"./product/components/product-badge/ProductBadge.js";import r9 from"./product/components/product-list/ProductList.js";import mo from"./product/components/product-vendor/Vendor.js";import mt from"./product/components/file-upload/UploadFile.js";import mr from"./product/components/product-wrap/Product.js";import mm from"./product/components/ProductImages.js";import ms from"./product/components/product-sku/Sku.js";import mp from"./third-party-instant/components/InstantJudgemeReviews.js";import mn from"./third-party-instant/components/InstantYotpoLoyalty.js";import me from"./third-party-instant/components/InstantLooxReviews.js";import mi from"./third-party-instant/components/InstantKlaviyo.js";import mc from"./shop-pay-installment/components/ShopPayInstallments.js";import ma from"./third-party-slot/components/ThirdPartySlot.js";import md from"./textarea/components/Textarea.js";import mu from"./tab/components/TabItem.js";import mf from"./tab/components/Tabs.js";import"./select/settings/configs/settings.js";import mj from"./select/components/Select.js";import ml from"./video/components/Video.js";import mh from"./radio/components/Radio.js";import my from"./text/components/Text.js";import mP from"./stock-counter/components/StockCounter.js";import mg from"./sticky/components/Sticky.js";import mB from"./post-purchase/text/components/Text.js";var mS={AppstleLoyaltyRewardProgram:tP,EssentPreorderBackInStock:M,WcWishlistBackInStock:of,BonySubscriptionsApp:oA,GrowthSuiteDiscountCodes:W,KachingSubscriptionsApp:ot,BloyRewardsProgramLoyalty:H,DealeasyVolumeDiscounts:om,UppromoteAffiliateMarketing:l,AovBundlesVolumeDiscounts:U,AovFreeGiftBuyXGetYBogo:op,EcomsendBackInStockAlert:J,AppstleBundlesDiscounts:os,Accordion:rh,AccordionItem:rl,ArticleList:tG,ArticleTitle:tU,ArticleExcerpt:tM,ArticleContent:tE,ArticleImage:tz,ArticlePagination:tV,ArticleAuthor:tH,ArticleTag:tq,ArticleCategory:tO,ArticleDate:tK,ArticleReadMore:tF,HeroBanner:rD,Breadcrumb:rV,Button:rE,CarouselV3:rd,CarouselItemV3:ra,Carousel:rS,CarouselItem:rB,Cart:tx,CartList:tD,CartLinePrice:tv,CartLineVariant:tS,CartLineImage:tI,CartTotalPrice:tC,CartTotalItem:tw,CartCheckout:tT,DiscountInput:tb,CartDiscount:tA,CartOrderNote:tk,CartLineAttribute:tB,CouponList:tR,ShopPayButton:tg,CheckoutNow:tL,CSSCode:rH,CollectionTitle:t4,CollectionDescription:t3,CollectionBanner:t1,CollectionToolbar:t0,CollectionPaginator:t2,Countdown:rL,Coupon:rM,Dialog:rO,EstimateDate:rb,Newsletter:tY,ContactForm:t_,FormEmail:tJ,SubmitButton:tQ,TextField:t$,TextInput:tZ,FormTextarea:tX,FormDropdown:tW,FormCheckbox:tN,Root:rI,Section:rv,Row:rA,Col:rT,Header:rm,BasicHeader:rr,ModernHeader:rt,MobileMenu:ro,DesktopMenu:t9,Heading:rF,Icon:rQ,IconList:rg,IconListItem:rP,IconListHoz:ri,IconListItemHoz:re,IconListV2:rR,Image:rG,ImageComparison:ry,Input:rz,Line:rq,Link:rC,Marquee:rk,MarqueeItem:rw,Menu:rK,Modal:rU,Pagination:rx,PostPurchaseAdvancedList:t6,PostPurchaseAdvancedListItem:t5,PostPurchaseAcceptButton:a,PostPurchaseButton:rc,PostPurchaseCalloutBox:t8,PostPurchaseCalloutText:t7,PostPurchaseCountdownTimer:rs,PostPurchaseImage:ru,PostPurchaseLine:rj,PostPurchaseLink:rf,PostPurchaseHeading:rp,PostPurchaseText:mB,PostPurchaseProductTitle:i,PostPurchaseProductDescription:m,PostPurchaseProductPrice:c,PostPurchaseProductVariants:s,PostPurchaseProductQuantity:p,PostPurchaseProductPriceBreakdown:t,PostPurchaseProductOffer:n,PostPurchaseProductDiscountTag:r,PostPurchaseProductImages:e,PostPurchaseProductSubscription:o,PostPurchaseBuyerConsent:rn,EstimatedDeliveryDatePlus:O,OkendoReviewsLoyalty:ob,EssentialAnnouncementBar:Y,EssentialCountdownTimerBar:I,StellarDeliveryDatePickup:x,TrustshopProductReviews:X,HulkProductOptions:oV,MyappgurusProductReviews:Q,TrustreviewsProductReviews:C,DiscountyBulkDiscountSales:A,SeoantTrustBadgesIcon:oj,SegunoEmailMarketing:oC,AftershipEmailMarketingsms:L,BestBuyFulfillment:oB,ProductOptionsVariantOption:u,GloboProductOptionsVariant:f,TeeinblueProductPersonalizer:d,HulkFormBuilder:oq,LoloyalLoyaltyReferrals:oo,PowerfulContactFormBuilder:w,WishlistKing:o_,WishlistPlus:o$,InstasellShoppableInstagram:P,SproutPlantTreesGrowSales:V,RapiBundleQuantityBreaks:K,AppointmentBookingCowlendar:S,GoogleReviewsByReputon:od,MbcBundleVolumeDiscount:$,ProductOptionsCustomizer:q,AirProductReviewsAppUgc:on,TagembedSocialPostReview:z,WhatmoreShoppableVideosreel:j,TagshopShoppableVideosUgc:D,JunipProductReviewsUgc:oa,FlyBundlesUpsellsFbt:ov,PreorderNowWodPresale:oy,PreorderNowPreOrderPq:oP,MaxbundleProductBundles:_,KoalaBundleQuantityDiscount:y,EasyBundleBuilderSkailama:E,FastBundleBundlesDiscounts:v,KiteFreeGiftDiscount:ow,UnlimitedBundlesDiscounts:R,SimpleBundlesKits:oO,ReviewxpoProductReviewsApp:b,PumperBundlesVolumeDiscount:h,NotifyBackInStockPreOrder:F,ShopifyForms:o3,SkioSubscriptionsYcS20:oc,LoopSubscriptions:oE,Selleasy:tt,RecurpaySubscriptionApp:Z,SubifySubscriptionsApp:oi,ShopifySubscriptions:oS,BonLoyaltyRewardsReferrals:T,EasifyProductOptions:oI,CustomProductOptionsVariant:B,KlarnaMessaging:oG,FordeerProductLabels:ok,RechargeSubscriptions:oh,Product:mr,ProductTitle:r6,ProductQuantity:r_,ProductPrice:r7,ProductSku:ms,FileUpload:mt,ProductBundleDiscount:rN,ProductBundleDiscountItem:rW,ProductButton:r4,ProductDescription:rY,ProductVariants:r$,ProductImages:mm,ProductImagesV3:r3,ProductImagesV2:r2,ProductProperties:rJ,ProductQuickView:r1,ProductTag:rX,ProductListV3:r5,ProductList:r9,Radio:mh,Select:mj,Tabs:mf,TabItem:mu,Text:my,Textarea:md,Video:ml,PushOwl:ti,ThirdPartySlot:ma,ShopPayInstallments:mc,JudgemeReviews:oY,LooxReviews:o1,Instafeed:o9,Klaviyo:tc,YotpoLoyalty:oZ,SmartSearchBarAndFilters:G,ProductReviews:oW,Ryviu:tl,Rivyo:th,Vitals:tu,Omnisend:tm,ParcelPanel:o0,TrustMe:tn,Trustoo:tp,SealSubscriptions:oM,AppstleSubscriptions:oL,FeraReviews:o4,Growave:ta,KachingBundles:oN,Bogos:ty,Opinew:tf,UltimateSalesBoost:oD,FirePush:ts,FrequentlyBoughtTogether:N,BoldSubscriptions:oU,BoldProductOptions:oF,WideBundle:o6,PickyStory:o7,InfiniteOptions:oK,Wiser:tj,Stamped:te,Bundler:td,LaiProductReviews:oH,CrossSellCartUpsell:oR,BoostAISearchDiscovery:ou,YotpoReviews:oX,AliReviews:o8,CleanSizeCharts:oQ,QikifyUpsell:o2,EasySellCOD:o5,RequestQuoteHidePrice:ol,InstantJudgemeReviews:mp,InstantLooxReviews:me,InstantKlaviyo:mi,InstantYotpoLoyalty:mn,Releasit:tr,BirdChime:to,StockCounter:mP,DynamicCheckout:r0,Sticky:mg,ProductVendor:mo,KingProductOptions:ox,ProductViewMore:rZ,ProductBadge:r8,HextomCountdownTimerBar:or,TrustBadgesBear:oz,TrustedsiteTrustBadges:oe,GloColorSwatchvariantImage:k,BfSizeChartSizeGuide:oT,AlsoBoughtCbb:oJ,HextomFreeShippingBar:og,EcoboostifyShoppableReelUgc:g};export{mS as default};
|
|
2
|
+
import o from"./post-purchase/product/components/product-subscription/ProductSubscription.js";import t from"./post-purchase/product/components/ProductPriceBreakdown.js";import r from"./post-purchase/product/components/ProductDiscountTag.js";import m from"./post-purchase/product/components/ProductDescription.js";import s from"./post-purchase/product/components/product-variant/components/ProductVariant.js";import p from"./post-purchase/product/components/ProductQuantity.js";import n from"./post-purchase/product/components/product-offer/components/ProductOffer.js";import e from"./post-purchase/product/components/product-image/index.js";import i from"./post-purchase/product/components/ProductTitle.js";import c from"./post-purchase/product/components/ProductPrice.js";import a from"./post-purchase/product/components/AcceptButton.js";import"@gem-sdk/core";import d from"./third-party/components/TeeinblueProductPersonalizer.js";import u from"./third-party/components/ProductOptionsVariantOption.js";import f from"./third-party/components/GloboProductOptionsVariant.js";import j from"./third-party/components/WhatmoreShoppableVideosreel.js";import l from"./third-party/components/UppromoteAffiliateMarketing.js";import h from"./third-party/components/PumperBundlesVolumeDiscount.js";import y from"./third-party/components/KoalaBundleQuantityDiscount.js";import P from"./third-party/components/InstasellShoppableInstagram.js";import g from"./third-party/components/EcoboostifyShoppableReelUgc.js";import B from"./third-party/components/CustomProductOptionsVariant.js";import S from"./third-party/components/AppointmentBookingCowlendar.js";import C from"./third-party/components/TrustreviewsProductReviews.js";import b from"./third-party/components/ReviewxpoProductReviewsApp.js";import w from"./third-party/components/PowerfulContactFormBuilder.js";import k from"./third-party/components/GloColorSwatchvariantImage.js";import v from"./third-party/components/FastBundleBundlesDiscounts.js";import I from"./third-party/components/EssentialCountdownTimerBar.js";import A from"./third-party/components/DiscountyBulkDiscountSales.js";import T from"./third-party/components/BonLoyaltyRewardsReferrals.js";import L from"./third-party/components/AftershipEmailMarketingsms.js";import R from"./third-party/components/UnlimitedBundlesDiscounts.js";import D from"./third-party/components/TagshopShoppableVideosUgc.js";import x from"./third-party/components/StellarDeliveryDatePickup.js";import V from"./third-party/components/SproutPlantTreesGrowSales.js";import F from"./third-party/components/NotifyBackInStockPreOrder.js";import O from"./third-party/components/EstimatedDeliveryDatePlus.js";import M from"./third-party/components/EssentPreorderBackInStock.js";import E from"./third-party/components/EasyBundleBuilderSkailama.js";import H from"./third-party/components/BloyRewardsProgramLoyalty.js";import U from"./third-party/components/AovBundlesVolumeDiscounts.js";import z from"./third-party/components/TagembedSocialPostReview.js";import G from"./third-party/components/SmartSearchBarAndFilters.js";import K from"./third-party/components/RapiBundleQuantityBreaks.js";import q from"./third-party/components/ProductOptionsCustomizer.js";import Q from"./third-party/components/MyappgurusProductReviews.js";import W from"./third-party/components/GrowthSuiteDiscountCodes.js";import N from"./third-party/components/FrequentlyBoughtTogether.js";import Y from"./third-party/components/EssentialAnnouncementBar.js";import J from"./third-party/components/EcomsendBackInStockAlert.js";import X from"./third-party/components/TrustshopProductReviews.js";import Z from"./third-party/components/RecurpaySubscriptionApp.js";import $ from"./third-party/components/MbcBundleVolumeDiscount.js";import _ from"./third-party/components/MaxbundleProductBundles.js";import oo from"./third-party/components/LoloyalLoyaltyReferrals.js";import ot from"./third-party/components/KachingSubscriptionsApp.js";import or from"./third-party/components/HextomCountdownTimerBar.js";import om from"./third-party/components/DealeasyVolumeDiscounts.js";import os from"./third-party/components/AppstleBundlesDiscounts.js";import op from"./third-party/components/AovFreeGiftBuyXGetYBogo.js";import on from"./third-party/components/AirProductReviewsAppUgc.js";import oe from"./third-party/components/TrustedsiteTrustBadges.js";import oi from"./third-party/components/SubifySubscriptionsApp.js";import oc from"./third-party/components/SkioSubscriptionsYcS20.js";import oa from"./third-party/components/JunipProductReviewsUgc.js";import od from"./third-party/components/GoogleReviewsByReputon.js";import ou from"./third-party/components/BoostAISearchDiscovery.js";import of from"./third-party/components/WcWishlistBackInStock.js";import oj from"./third-party/components/SeoantTrustBadgesIcon.js";import ol from"./third-party/components/RequestQuoteHidePrice.js";import oh from"./third-party/components/RechargeSubscriptions.js";import oy from"./third-party/components/PreorderNowWodPresale.js";import oP from"./third-party/components/PreorderNowPreOrderPq.js";import og from"./third-party/components/HextomFreeShippingBar.js";import oB from"./third-party/components/BestBuyFulfillment.js";import oS from"./third-party/components/ShopifySubscriptions.js";import oC from"./third-party/components/SegunoEmailMarketing.js";import ob from"./third-party/components/OkendoReviewsLoyalty.js";import ow from"./third-party/components/KiteFreeGiftDiscount.js";import ok from"./third-party/components/FordeerProductLabels.js";import ov from"./third-party/components/FlyBundlesUpsellsFbt.js";import oI from"./third-party/components/EasifyProductOptions.js";import oA from"./third-party/components/BonySubscriptionsApp.js";import oT from"./third-party/components/BfSizeChartSizeGuide.js";import oL from"./third-party/components/AppstleSubscriptions.js";import oR from"./third-party/components/CrossSellCartUpsell.js";import oD from"./third-party/components/UltimateSalesBoost.js";import ox from"./third-party/components/KingProductOptions.js";import oV from"./third-party/components/HulkProductOptions.js";import oF from"./third-party/components/BoldProductOptions.js";import oO from"./third-party/components/SimpleBundlesKits.js";import oM from"./third-party/components/SealSubscriptions.js";import oE from"./third-party/components/LoopSubscriptions.js";import oH from"./third-party/components/LaiProductReviews.js";import oU from"./third-party/components/BoldSubscriptions.js";import oz from"./third-party/components/TrustBadgesBear.js";import oG from"./third-party/components/KlarnaMessaging.js";import oK from"./third-party/components/InfiniteOptions.js";import oq from"./third-party/components/HulkFormBuilder.js";import oQ from"./third-party/components/CleanSizeCharts.js";import oW from"./third-party/components/ProductReviews.js";import oN from"./third-party/components/KachingBundles.js";import oY from"./third-party/components/JudgemeReviews.js";import oJ from"./third-party/components/AlsoBoughtCbb.js";import oX from"./third-party/components/YotpoReviews.js";import oZ from"./third-party/components/YotpoLoyalty.js";import o$ from"./third-party/components/WishlistPlus.js";import o_ from"./third-party/components/WishlistKing.js";import o3 from"./third-party/components/ShopifyForms.js";import o2 from"./third-party/components/QikifyUpsell.js";import o0 from"./third-party/components/ParcelPanel.js";import o1 from"./third-party/components/LooxReviews.js";import o4 from"./third-party/components/FeraReviews.js";import o5 from"./third-party/components/EasySellCOD.js";import o6 from"./third-party/components/WideBundle.js";import o7 from"./third-party/components/PickyStory.js";import o8 from"./third-party/components/AliReviews.js";import o9 from"./third-party/components/Instafeed.js";import to from"./third-party/components/BirdChime.js";import tt from"./third-party/components/Selleasy.js";import tr from"./third-party/components/Releasit.js";import tm from"./third-party/components/Omnisend.js";import ts from"./third-party/components/FirePush.js";import tp from"./third-party/components/Trustoo.js";import tn from"./third-party/components/TrustMe.js";import te from"./third-party/components/Stamped.js";import ti from"./third-party/components/PushOwl.js";import tc from"./third-party/components/Klaviyo.js";import ta from"./third-party/components/Growave.js";import td from"./third-party/components/Bundler.js";import tu from"./third-party/components/Vitals.js";import tf from"./third-party/components/Opinew.js";import tj from"./third-party/components/Wiser.js";import tl from"./third-party/components/Ryviu.js";import th from"./third-party/components/Rivyo.js";import ty from"./third-party/components/Bogos.js";import tP from"./third-party/components/AppstleLoyaltyRewardProgram.js";import tg from"./cart/components/shop-pay-button/ShopPayButton.js";import tB from"./cart/components/CartLineAttribute.js";import tS from"./cart/components/CartLineVariant.js";import tC from"./cart/components/CartTotalPrice.js";import tb from"./cart/components/DiscountInput.js";import tw from"./cart/components/CartTotalItem.js";import tk from"./cart/components/CartOrderNote.js";import tv from"./cart/components/CartLinePrice.js";import tI from"./cart/components/CartLineImage.js";import tA from"./cart/components/CartDiscount.js";import tT from"./cart/components/CartCheckout.js";import tL from"./cart/components/CheckoutNow.js";import tR from"./cart/components/CouponList.js";import tD from"./cart/components/CartList.js";import tx from"./cart/components/Cart.js";import tV from"./article/components/ArticlePagination.js";import tF from"./article/components/ArticleReadMore.js";import tO from"./article/components/ArticleCategory.js";import tM from"./article/components/ArticleExcerpt.js";import tE from"./article/components/ArticleContent.js";import tH from"./article/components/ArticleAuthor.js";import tU from"./article/components/ArticleTitle.js";import tz from"./article/components/ArticleImage.js";import tG from"./article/components/ArticleList.js";import tK from"./article/components/ArticleDate.js";import tq from"./article/components/ArticleTag.js";import tQ from"./form/components/submit-button/SubmitButton.js";import tW from"./form/components/form-dropdown/FormDropdown.js";import tN from"./form/components/form-checkbox/FormCheckbox.js";import tY from"./form/components/newsletter/Newsletter.js";import tJ from"./form/components/form-email/FormEmail.js";import tX from"./form/components/textarea/TextArea.js";import tZ from"./form/components/textinput/TextInput.js";import t$ from"./form/components/textfield/TextField.js";import t_ from"./form/components/contact/Contact.js";import t3 from"./collection/components/collection-description/CollectionDescription.js";import t2 from"./collection/components/collection-paginator/CollectionPaginator.js";import t0 from"./collection/components/collection-toolbar/CollectionToolbar.js";import t1 from"./collection/components/collection-banner/CollectionBanner.js";import t4 from"./collection/components/collection-title/CollectionTitle.js";import t5 from"./post-purchase/advanced-list/components/PostPurchaseAdvancedListItem.js";import t6 from"./post-purchase/advanced-list/components/AdvancedListPostPurchase.js";import t7 from"./post-purchase/callout-banner/components/CalloutText.js";import t8 from"./post-purchase/callout-banner/components/CalloutBox.js";import t9 from"./header/components/kind/basic/DesktopMenu.js";import ro from"./header/components/kind/basic/MobileMenu.js";import rt from"./header/components/kind/modern/index.js";import rr from"./header/components/kind/basic/index.js";import rm from"./header/components/Header.js";import rs from"./post-purchase/countdown-timer/components/PostPurchaseCountdownTimer.js";import{PostPurchaseHeading as rp}from"./post-purchase/text/index.js";import rn from"./post-purchase/buyer-consent/components/BuyerConsent.js";import re from"./icon-list-hoz/components/IconListHozItem.js";import ri from"./icon-list-hoz/components/IconListHoz.js";import rc from"./post-purchase/button/components/Button.js";import ra from"./carousel-v3/components/item/CarouselItem.js";import rd from"./carousel-v3/components/root/Carousel.js";import ru from"./post-purchase/image/components/Image.js";import rf from"./post-purchase/link/components/PostPurchaseLink.js";import rj from"./post-purchase/line/components/PostPurchaseLine.js";import rl from"./accordion/components/AccordionItem.js";import"./accordion/settings/configs/settings.js";import rh from"./accordion/components/Accordion.js";import ry from"./image-comparison/components/ImageComparison.js";import rP from"./icon-list/components/IconListItem.js";import rg from"./icon-list/components/IconList.js";import rB from"./carousel/components/item/CarouselItem.js";import rS from"./carousel/components/root/Carousel.js";import"./estimate-delivery/settings/configs/settings.js";import rC from"./link/components/Link.js";import"@gem-sdk/system";import rb from"./estimate-delivery/components/EstimateDate.js";import rw from"./marquee/components/MarqueeItem.js";import rk from"./marquee/components/Marquee.js";import rv from"./grid/components/section/Section.js";import rI from"./grid/components/root/Root.js";import rA from"./grid/components/row/Row.js";import rT from"./grid/components/col/Col.js";import"./countdown-timer/settings/configs/setting.js";import rL from"./countdown-timer/components/Countdown.js";import"./icon-list-v2/settings/configs/settings.js";import rR from"./icon-list-v2/components/IconList.js";import rD from"./hero-banner/components/HeroBanner.js";import rx from"./pagination/components/Pagination.js";import rV from"./breadcrumb/components/Breadcrumb.js";import rF from"./heading/components/Heading.js";import rO from"./dialog/components/Dialog.js";import rM from"./coupon/components/Coupon.js";import rE from"./button/components/Button.js";import rH from"./code/components/CSSCode.js";import"./modal/components/confirm.js";import rU from"./modal/components/Modal.js";import rz from"./input/components/Input.js";import rG from"./image/components/Image.js";import rK from"./menu/components/Menu.js";import rq from"./line/components/Line.js";import rQ from"./icon/components/Icon.js";import rW from"./product/components/product-bundle/ProductBundleDiscountItem.js";import rN from"./product/components/product-bundle/ProductBundleDiscount.js";import rY from"./product/components/product-description/ProductDescription.js";import rJ from"./product/components/product-properties/ProductProperties.js";import rX from"./product/components/product-discount-tag/ProductDiscountTag.js";import rZ from"./product/components/product-view-more/ProductViewMore.js";import r$ from"./product/components/product-variants/ProductVariants.js";import r_ from"./product/components/product-quantity/ProductQuantity.js";import r3 from"./product/components/product-images-v3/ProductImageV3.js";import r2 from"./product/components/product-images-v2/ProductImageV2.js";import r0 from"./product/components/dynamic-checkout/DynamicCheckout.js";import r1 from"./product/components/product-quick-view/QuickView.js";import r4 from"./product/components/product-button/ProductButton.js";import r5 from"./product/components/product-list-v3/ProductList.js";import r6 from"./product/components/product-title/ProductTitle.js";import r7 from"./product/components/product-price/ProductPrice.js";import r8 from"./product/components/product-badge/ProductBadge.js";import r9 from"./product/components/product-list/ProductList.js";import mo from"./product/components/product-vendor/Vendor.js";import mt from"./product/components/file-upload/UploadFile.js";import mr from"./product/components/product-wrap/Product.js";import mm from"./product/components/ProductImages.js";import ms from"./product/components/product-sku/Sku.js";import mp from"./third-party-instant/components/InstantJudgemeReviews.js";import mn from"./third-party-instant/components/InstantYotpoLoyalty.js";import me from"./third-party-instant/components/InstantLooxReviews.js";import mi from"./third-party-instant/components/InstantKlaviyo.js";import mc from"./shop-pay-installment/components/ShopPayInstallments.js";import ma from"./third-party-slot/components/ThirdPartySlot.js";import md from"./textarea/components/Textarea.js";import mu from"./tab/components/TabItem.js";import mf from"./tab/components/Tabs.js";import"./select/settings/configs/settings.js";import mj from"./select/components/Select.js";import ml from"./video/components/Video.js";import mh from"./radio/components/Radio.js";import my from"./text/components/Text.js";import mP from"./stock-counter/components/StockCounter.js";import mg from"./sticky/components/Sticky.js";import mB from"./post-purchase/text/components/Text.js";var mS={AppstleLoyaltyRewardProgram:tP,EssentPreorderBackInStock:M,WcWishlistBackInStock:of,BonySubscriptionsApp:oA,GrowthSuiteDiscountCodes:W,KachingSubscriptionsApp:ot,BloyRewardsProgramLoyalty:H,DealeasyVolumeDiscounts:om,UppromoteAffiliateMarketing:l,AovBundlesVolumeDiscounts:U,AovFreeGiftBuyXGetYBogo:op,EcomsendBackInStockAlert:J,AppstleBundlesDiscounts:os,Accordion:rh,AccordionItem:rl,ArticleList:tG,ArticleTitle:tU,ArticleExcerpt:tM,ArticleContent:tE,ArticleImage:tz,ArticlePagination:tV,ArticleAuthor:tH,ArticleTag:tq,ArticleCategory:tO,ArticleDate:tK,ArticleReadMore:tF,HeroBanner:rD,Breadcrumb:rV,Button:rE,CarouselV3:rd,CarouselItemV3:ra,Carousel:rS,CarouselItem:rB,Cart:tx,CartList:tD,CartLinePrice:tv,CartLineVariant:tS,CartLineImage:tI,CartTotalPrice:tC,CartTotalItem:tw,CartCheckout:tT,DiscountInput:tb,CartDiscount:tA,CartOrderNote:tk,CartLineAttribute:tB,CouponList:tR,ShopPayButton:tg,CheckoutNow:tL,CSSCode:rH,CollectionTitle:t4,CollectionDescription:t3,CollectionBanner:t1,CollectionToolbar:t0,CollectionPaginator:t2,Countdown:rL,Coupon:rM,Dialog:rO,EstimateDate:rb,Newsletter:tY,ContactForm:t_,FormEmail:tJ,SubmitButton:tQ,TextField:t$,TextInput:tZ,FormTextarea:tX,FormDropdown:tW,FormCheckbox:tN,Root:rI,Section:rv,Row:rA,Col:rT,Header:rm,BasicHeader:rr,ModernHeader:rt,MobileMenu:ro,DesktopMenu:t9,Heading:rF,Icon:rQ,IconList:rg,IconListItem:rP,IconListHoz:ri,IconListItemHoz:re,IconListV2:rR,Image:rG,ImageComparison:ry,Input:rz,Line:rq,Link:rC,Marquee:rk,MarqueeItem:rw,Menu:rK,Modal:rU,Pagination:rx,PostPurchaseAdvancedList:t6,PostPurchaseAdvancedListItem:t5,PostPurchaseAcceptButton:a,PostPurchaseButton:rc,PostPurchaseCalloutBox:t8,PostPurchaseCalloutText:t7,PostPurchaseCountdownTimer:rs,PostPurchaseImage:ru,PostPurchaseLine:rj,PostPurchaseLink:rf,PostPurchaseHeading:rp,PostPurchaseText:mB,PostPurchaseProductTitle:i,PostPurchaseProductDescription:m,PostPurchaseProductPrice:c,PostPurchaseProductVariants:s,PostPurchaseProductQuantity:p,PostPurchaseProductPriceBreakdown:t,PostPurchaseProductOffer:n,PostPurchaseProductDiscountTag:r,PostPurchaseProductImages:e,PostPurchaseProductSubscription:o,PostPurchaseBuyerConsent:rn,EstimatedDeliveryDatePlus:O,OkendoReviewsLoyalty:ob,EssentialAnnouncementBar:Y,EssentialCountdownTimerBar:I,StellarDeliveryDatePickup:x,TrustshopProductReviews:X,HulkProductOptions:oV,MyappgurusProductReviews:Q,TrustreviewsProductReviews:C,DiscountyBulkDiscountSales:A,SeoantTrustBadgesIcon:oj,SegunoEmailMarketing:oC,AftershipEmailMarketingsms:L,BestBuyFulfillment:oB,ProductOptionsVariantOption:u,GloboProductOptionsVariant:f,TeeinblueProductPersonalizer:d,HulkFormBuilder:oq,LoloyalLoyaltyReferrals:oo,PowerfulContactFormBuilder:w,WishlistKing:o_,WishlistPlus:o$,InstasellShoppableInstagram:P,SproutPlantTreesGrowSales:V,RapiBundleQuantityBreaks:K,AppointmentBookingCowlendar:S,GoogleReviewsByReputon:od,MbcBundleVolumeDiscount:$,ProductOptionsCustomizer:q,AirProductReviewsAppUgc:on,TagembedSocialPostReview:z,WhatmoreShoppableVideosreel:j,TagshopShoppableVideosUgc:D,JunipProductReviewsUgc:oa,FlyBundlesUpsellsFbt:ov,PreorderNowWodPresale:oy,PreorderNowPreOrderPq:oP,MaxbundleProductBundles:_,KoalaBundleQuantityDiscount:y,EasyBundleBuilderSkailama:E,FastBundleBundlesDiscounts:v,KiteFreeGiftDiscount:ow,UnlimitedBundlesDiscounts:R,SimpleBundlesKits:oO,ReviewxpoProductReviewsApp:b,PumperBundlesVolumeDiscount:h,NotifyBackInStockPreOrder:F,ShopifyForms:o3,SkioSubscriptionsYcS20:oc,LoopSubscriptions:oE,Selleasy:tt,RecurpaySubscriptionApp:Z,SubifySubscriptionsApp:oi,ShopifySubscriptions:oS,BonLoyaltyRewardsReferrals:T,EasifyProductOptions:oI,CustomProductOptionsVariant:B,KlarnaMessaging:oG,FordeerProductLabels:ok,RechargeSubscriptions:oh,Product:mr,ProductTitle:r6,ProductQuantity:r_,ProductPrice:r7,ProductSku:ms,FileUpload:mt,ProductBundleDiscount:rN,ProductBundleDiscountItem:rW,ProductButton:r4,ProductDescription:rY,ProductVariants:r$,ProductImages:mm,ProductImagesV3:r3,ProductImagesV2:r2,ProductProperties:rJ,ProductQuickView:r1,ProductTag:rX,ProductListV3:r5,ProductList:r9,Radio:mh,Select:mj,Tabs:mf,TabItem:mu,Text:my,Textarea:md,Video:ml,PushOwl:ti,ThirdPartySlot:ma,ShopPayInstallments:mc,JudgemeReviews:oY,LooxReviews:o1,Instafeed:o9,Klaviyo:tc,YotpoLoyalty:oZ,SmartSearchBarAndFilters:G,ProductReviews:oW,Ryviu:tl,Rivyo:th,Vitals:tu,Omnisend:tm,ParcelPanel:o0,TrustMe:tn,Trustoo:tp,SealSubscriptions:oM,AppstleSubscriptions:oL,FeraReviews:o4,Growave:ta,KachingBundles:oN,Bogos:ty,Opinew:tf,UltimateSalesBoost:oD,FirePush:ts,FrequentlyBoughtTogether:N,BoldSubscriptions:oU,BoldProductOptions:oF,WideBundle:o6,PickyStory:o7,InfiniteOptions:oK,Wiser:tj,Stamped:te,Bundler:td,LaiProductReviews:oH,CrossSellCartUpsell:oR,BoostAISearchDiscovery:ou,YotpoReviews:oX,AliReviews:o8,CleanSizeCharts:oQ,QikifyUpsell:o2,EasySellCOD:o5,RequestQuoteHidePrice:ol,InstantJudgemeReviews:mp,InstantLooxReviews:me,InstantKlaviyo:mi,InstantYotpoLoyalty:mn,Releasit:tr,BirdChime:to,StockCounter:mP,DynamicCheckout:r0,Sticky:mg,ProductVendor:mo,KingProductOptions:ox,ProductViewMore:rZ,ProductBadge:r8,HextomCountdownTimerBar:or,TrustBadgesBear:oz,TrustedsiteTrustBadges:oe,GloColorSwatchvariantImage:k,BfSizeChartSizeGuide:oT,AlsoBoughtCbb:oJ,HextomFreeShippingBar:og,EcoboostifyShoppableReelUgc:g};export{mS as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{normalizeMailto as t,isShopifyDomain as e,checkIsScrollToTop as l,checkIsOpenPopup as r,isLinkedToSalesPage as i,getDynamicSourceLocales as a,createSettingId as o}from"../../helpers.js";import{Button as n}from"../settings/configs/translate.js";import{splitStyle as s,convertHTML as
|
|
1
|
+
import{normalizeMailto as t,isShopifyDomain as e,checkIsScrollToTop as l,checkIsOpenPopup as r,isLinkedToSalesPage as i,getDynamicSourceLocales as a,createSettingId as o}from"../../helpers.js";import{Button as n}from"../settings/configs/translate.js";import{splitStyle as s,convertHTML as p}from"@gem-sdk/core";import{HREF_TO_SALES_PAGE as g}from"../../constant.js";import{getCustomCssStyles as c}from"./styles.js";import d from"../../link/components/Link.js";let u=(t,e)=>{if(!e)return t;let l={...t};return["hover","focus"].forEach(t=>{delete l?.backgroundColorV2?.[t]}),l},h=({label:t,translateSetting:e,styles:l,pageContext:r,isUseTranslatedValue:i,builderProps:s,isLiquid:g=!1,isForceValue:c})=>{let d=!i||c?t:a({val:t,pageContext:r,settingId:o({id:e??n?.label?.id}),uid:s?.uidTranslate??s?.uid,isCapitalize:l?.typo?.attrs?.transform==="capitalize"});return g?d?.toString()??"":p(t)},f=(t,e)=>!!t&&e,m=(t,e)=>!!t||!e,b=({mode:t,options:e,isLiquid:l=!1})=>l?!e?.isCannotEditing:"edit"===t&&!e?.isCannotEditing,k=t=>!!t?.link?.startsWith("#")&&("_self"===t.target||"scroll-to"===t.type),C=t=>s(["pos","top","left","bottom","right","z"],t),I=t=>t?"loading":"idle",w=(t,e,l)=>t??(e||l)??"",y=({label:t,isLiquid:e=!1})=>{let l=(t?.toString()??"").replace(/<br\s*\/?>|<\/(?:p|div)>/gi," ").replace(/<[^>]*>/g,"").replace(/\s+/g," ").trim();return e?l.replaceAll("'","'").replaceAll('"',"'"):l},v=({setting:a,htmlType:o,defaultTag:n,enableBtnLink:s,isLiquid:p=!1,pageType:c})=>{let u=["product.url"],h=["#","mailto:","tel:"],f=a?.link??"",m="/"===f,b=a?.link!==void 0&&""!==a.link,k=new RegExp(/^https?:\/\//i),C=b&&k.test(f);b&&f.toLowerCase().startsWith("mailto:")&&f.includes("+")&&(f=t(f));let I=i(a?.type),w=!!s&&(C||e(b,f)||(()=>{if(u.find(t=>f.includes(t)))return!0;let t=h.find(t=>f.startsWith(t));return!(!t||l(a)||"STATIC"===c&&r(a))})()||m||I),y=f;p&&(e(b,f)||m)&&(y=a?.isTranslate?"$locationOrigin"+f:"{{ request.origin }}{{ routes.root_url | split: '/' | join: '/' }}"+f);let v={href:y,target:a?.target,...a?.noFollow&&{rel:"nofollow"}},L=w?v:b?{...v,type:o}:{type:o};return I&&(L={href:g,target:"_self"}),{HTMLTag:w?p?"a":d:n,urlData:L,shouldRenderLink:w}},L=t=>{let{style:e,dataId:l,pageContext:r,styles:i={},setting:a={},builderProps:o,builderAttrs:n,isUseTranslatedValue:s=!0}=t,{label:p,iconSvg:g,btnLink:d,loading:v,options:L,disabled:S,iconVisible:E,shouldClearSpace:T}=a,[x,A]=C(e),D=u(i,S),j=c({styles:i,uid:o?.uid,builderAttrs:n,enableHoverEffect:a.enableHoverEffect??!0}),z=I(v),H=w(o?.uidInteraction,l,o?.uid),_=t=>{let{isLiquid:e,translateSetting:l,isForceValue:i,pageContext:a}=t??{};return h({pageContext:a??r??{},label:p,translateSetting:l,isForceValue:i,builderProps:o,styles:D,isLiquid:e,...e&&{isUseTranslatedValue:s}})},G=f(g,E),O=k(d);return{customCss:j,wrapStyle:x,restStyle:A,dataState:z,dataIdAttr:H,isShowIcon:G,isScrollToElement:O,getArialLabel:t=>{let{isLiquid:e}=t??{};return y({label:p,isLiquid:e})},getLabelToDisplay:_,checkIsShowLabel:t=>{let{isLiquid:e,translateSetting:l,isForceValue:i,pageContext:a}=t??{},o=_({isLiquid:e,translateSetting:l,isForceValue:i,pageContext:a??r??{}});return m(o,T)},checkIsEditableLabel:t=>{let{isLiquid:e,mode:l}=t??{};return b({options:L,isLiquid:e,...!e&&l&&{mode:l}})}}},S=`
|
|
2
2
|
<svg
|
|
3
3
|
class="gp-invisible gp-absolute gp-h-5 gp-w-5 group-data-[state=loading]:gp-animate-spin group-data-[state=loading]:gp-visible"
|
|
4
4
|
xmlns="http://www.w3.org/2000/svg"
|
|
@@ -19,4 +19,4 @@ import{normalizeMailto as t,isShopifyDomain as e,checkIsScrollToTop as l,checkIs
|
|
|
19
19
|
d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"
|
|
20
20
|
></path>
|
|
21
21
|
</svg>
|
|
22
|
-
`;export{
|
|
22
|
+
`;export{S as LOADING_INDICATOR,k as checkIsScrollToElement,f as checkIsShowIcon,u as getCleanedStyles,L as getData,w as getDataId,I as getDataState,v as getInsertLinkData,C as getSplitStyles,b as handleCheckIsEditableLabel,m as handleCheckIsShowLabel,y as handleGetArialLabel,h as handleGetLabelToDisplay};
|