@gem-sdk/components 23.1.3 → 24.0.0-dev.10
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/attrs.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/attrs.js +1 -1
- 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/helpers/productImagesDrag.js +1 -0
- package/dist/cjs/product/index.js +1 -1
- package/dist/cjs/product/settings/product-image-v2/configs/setting-v2/ProductFeatureImage.js +2 -2
- package/dist/cjs/product/settings/product-image-v2/configs/setting-v2/ProductGalleryImage.js +2 -2
- 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/ProductFeatureImage.js +2 -2
- package/dist/cjs/product/settings/product-image-v3/configs/setting-v2/ProductGalleryImage.js +2 -2
- 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/attrs.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/attrs.js +1 -1
- 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/helpers/productImagesDrag.js +1 -0
- package/dist/esm/product/index.js +1 -1
- package/dist/esm/product/settings/product-image-v2/configs/setting-v2/ProductFeatureImage.js +2 -2
- package/dist/esm/product/settings/product-image-v2/configs/setting-v2/ProductGalleryImage.js +2 -2
- 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/ProductFeatureImage.js +2 -2
- package/dist/esm/product/settings/product-image-v3/configs/setting-v2/ProductGalleryImage.js +2 -2
- package/dist/esm/product/settings/product-image-v3/configs/setting-v2/index.js +1 -1
- package/dist/esm/product/settings/product-image-v3/configs/ui-v2.js +1 -1
- package/dist/esm/stock-counter/common/attrs.js +1 -1
- package/dist/esm/stock-counter/common/helpers.js +21 -21
- package/dist/esm/stock-counter/components/StockCounter.liquid.js +1 -1
- package/dist/esm/stock-counter/hooks/useStockCounter.js +1 -1
- package/dist/esm/third-party/common/helpers.js +5 -5
- package/dist/esm/third-party/components/KlarnaMessaging.liquid.js +30 -5
- package/dist/esm/third-party/settings/AftershipEmailMarketingsms/index.js +2 -2
- package/dist/esm/third-party/settings/AirProductReviewsAppUgc/index.js +2 -2
- package/dist/esm/third-party/settings/AliReviews/index.js +2 -2
- package/dist/esm/third-party/settings/AlsoBoughtCbb/index.js +2 -2
- package/dist/esm/third-party/settings/AovBundlesVolumeDiscounts/index.js +2 -2
- package/dist/esm/third-party/settings/AovFreeGiftBuyXGetYBogo/index.js +2 -2
- package/dist/esm/third-party/settings/AppointmentBookingCowlendar/index.js +2 -2
- package/dist/esm/third-party/settings/AppstleBundlesDiscounts/index.js +2 -2
- package/dist/esm/third-party/settings/AppstleLoyaltyRewardProgram/index.js +2 -2
- package/dist/esm/third-party/settings/AppstleSubscriptions/index.js +2 -2
- package/dist/esm/third-party/settings/BestBuyFulfillment/index.js +2 -2
- package/dist/esm/third-party/settings/BfSizeChartSizeGuide/index.js +2 -2
- package/dist/esm/third-party/settings/BirdChime/index.js +4 -4
- package/dist/esm/third-party/settings/BloyRewardsProgramLoyalty/index.js +2 -2
- package/dist/esm/third-party/settings/Bogos/index.js +4 -4
- package/dist/esm/third-party/settings/BoldProductOptions/index.js +4 -4
- package/dist/esm/third-party/settings/BoldSubscriptions/index.js +2 -2
- package/dist/esm/third-party/settings/BonLoyaltyRewardsReferrals/index.js +2 -2
- package/dist/esm/third-party/settings/BonySubscriptionsApp/index.js +2 -2
- package/dist/esm/third-party/settings/BoostAISearchDiscovery/index.js +2 -2
- package/dist/esm/third-party/settings/Bundler/index.js +4 -4
- package/dist/esm/third-party/settings/CleanSizeCharts/index.js +2 -2
- package/dist/esm/third-party/settings/CrossSellCartUpsell/index.js +2 -2
- package/dist/esm/third-party/settings/CustomProductOptionsVariant/index.js +2 -2
- package/dist/esm/third-party/settings/DealeasyVolumeDiscounts/index.js +2 -2
- package/dist/esm/third-party/settings/DiscountyBulkDiscountSales/index.js +2 -2
- package/dist/esm/third-party/settings/EasifyProductOptions/index.js +2 -2
- package/dist/esm/third-party/settings/EasyBundleBuilderSkailama/index.js +2 -2
- package/dist/esm/third-party/settings/EasySellCOD/index.js +4 -4
- package/dist/esm/third-party/settings/EcoboostifyShoppableReelUgc/index.js +2 -2
- package/dist/esm/third-party/settings/EcomsendBackInStockAlert/index.js +2 -2
- package/dist/esm/third-party/settings/EssentPreorderBackInStock/index.js +2 -2
- package/dist/esm/third-party/settings/EssentialAnnouncementBar/index.js +2 -2
- package/dist/esm/third-party/settings/EssentialCountdownTimerBar/index.js +2 -2
- package/dist/esm/third-party/settings/EstimatedDeliveryDatePlus/index.js +2 -2
- package/dist/esm/third-party/settings/FastBundleBundlesDiscounts/index.js +2 -2
- package/dist/esm/third-party/settings/FeraReviews/index.js +4 -4
- package/dist/esm/third-party/settings/FirePush/index.js +2 -2
- package/dist/esm/third-party/settings/FlyBundlesUpsellsFbt/index.js +2 -2
- package/dist/esm/third-party/settings/FordeerProductLabels/index.js +2 -2
- package/dist/esm/third-party/settings/FrequentlyBoughtTogether/index.js +2 -2
- package/dist/esm/third-party/settings/GloColorSwatchvariantImage/index.js +2 -2
- package/dist/esm/third-party/settings/GloboProductOptionsVariant/index.js +2 -2
- package/dist/esm/third-party/settings/GoogleReviewsByReputon/index.js +2 -2
- package/dist/esm/third-party/settings/Growave/index.js +4 -4
- package/dist/esm/third-party/settings/GrowthSuiteDiscountCodes/index.js +2 -2
- package/dist/esm/third-party/settings/HextomCountdownTimerBar/index.js +2 -2
- package/dist/esm/third-party/settings/HextomFreeShippingBar/index.js +2 -2
- package/dist/esm/third-party/settings/HulkFormBuilder/index.js +2 -2
- package/dist/esm/third-party/settings/HulkProductOptions/index.js +2 -2
- package/dist/esm/third-party/settings/InfiniteOptions/index.js +2 -2
- package/dist/esm/third-party/settings/Instafeed/index.js +2 -2
- package/dist/esm/third-party/settings/InstasellShoppableInstagram/index.js +2 -2
- package/dist/esm/third-party/settings/JudgemeReviews/index.js +2 -2
- package/dist/esm/third-party/settings/JunipProductReviewsUgc/index.js +2 -2
- package/dist/esm/third-party/settings/KachingBundles/index.js +2 -2
- package/dist/esm/third-party/settings/KachingSubscriptionsApp/index.js +2 -2
- package/dist/esm/third-party/settings/KingProductOptions/index.js +2 -2
- package/dist/esm/third-party/settings/KiteFreeGiftDiscount/index.js +2 -2
- package/dist/esm/third-party/settings/KlarnaMessaging/index.js +4 -4
- package/dist/esm/third-party/settings/Klaviyo/index.js +4 -4
- package/dist/esm/third-party/settings/KoalaBundleQuantityDiscount/index.js +2 -2
- package/dist/esm/third-party/settings/LaiProductReviews/index.js +2 -2
- package/dist/esm/third-party/settings/LoloyalLoyaltyReferrals/index.js +2 -2
- package/dist/esm/third-party/settings/LoopSubscriptions/index.js +2 -2
- package/dist/esm/third-party/settings/LooxReviews/index.js +4 -4
- package/dist/esm/third-party/settings/MaxbundleProductBundles/index.js +2 -2
- package/dist/esm/third-party/settings/MbcBundleVolumeDiscount/index.js +2 -2
- package/dist/esm/third-party/settings/MyappgurusProductReviews/index.js +2 -2
- package/dist/esm/third-party/settings/NotifyBackInStockPreOrder/index.js +2 -2
- package/dist/esm/third-party/settings/OkendoReviewsLoyalty/index.js +2 -2
- package/dist/esm/third-party/settings/Omnisend/index.js +4 -4
- package/dist/esm/third-party/settings/Opinew/index.js +4 -4
- package/dist/esm/third-party/settings/ParcelPanel/index.js +4 -4
- package/dist/esm/third-party/settings/PickyStory/index.js +4 -4
- package/dist/esm/third-party/settings/PowerfulContactFormBuilder/index.js +2 -2
- package/dist/esm/third-party/settings/PreorderNowPreOrderPq/index.js +2 -2
- package/dist/esm/third-party/settings/PreorderNowWodPresale/index.js +2 -2
- package/dist/esm/third-party/settings/ProductOptionsCustomizer/index.js +2 -2
- package/dist/esm/third-party/settings/ProductOptionsVariantOption/index.js +2 -2
- package/dist/esm/third-party/settings/PumperBundlesVolumeDiscount/index.js +2 -2
- package/dist/esm/third-party/settings/PushOwl/index.js +4 -4
- package/dist/esm/third-party/settings/QikifyUpsell/index.js +2 -2
- package/dist/esm/third-party/settings/RapiBundleQuantityBreaks/index.js +2 -2
- package/dist/esm/third-party/settings/RechargeSubscriptions/index.js +2 -2
- package/dist/esm/third-party/settings/RecurpaySubscriptionApp/index.js +2 -2
- package/dist/esm/third-party/settings/Releasit/index.js +4 -4
- package/dist/esm/third-party/settings/RequestQuoteHidePrice/index.js +3 -3
- package/dist/esm/third-party/settings/ReviewxpoProductReviewsApp/index.js +2 -2
- package/dist/esm/third-party/settings/Rivyo/index.js +4 -4
- package/dist/esm/third-party/settings/Ryviu/index.js +4 -4
- package/dist/esm/third-party/settings/SealSubscriptions/index.js +2 -2
- package/dist/esm/third-party/settings/SegunoEmailMarketing/index.js +2 -2
- package/dist/esm/third-party/settings/Selleasy/index.js +2 -2
- package/dist/esm/third-party/settings/SeoantTrustBadgesIcon/index.js +2 -2
- package/dist/esm/third-party/settings/ShopifyForms/index.js +2 -2
- package/dist/esm/third-party/settings/ShopifySubscriptions/index.js +2 -2
- package/dist/esm/third-party/settings/SimpleBundlesKits/index.js +2 -2
- package/dist/esm/third-party/settings/SkioSubscriptionsYcS20/index.js +2 -2
- package/dist/esm/third-party/settings/SmartSearchBarAndFilters/index.js +4 -4
- package/dist/esm/third-party/settings/SproutPlantTreesGrowSales/index.js +2 -2
- package/dist/esm/third-party/settings/Stamped.js +4 -4
- package/dist/esm/third-party/settings/StellarDeliveryDatePickup/index.js +2 -2
- package/dist/esm/third-party/settings/SubifySubscriptionsApp/index.js +2 -2
- package/dist/esm/third-party/settings/TagembedSocialPostReview/index.js +2 -2
- package/dist/esm/third-party/settings/TagshopShoppableVideosUgc/index.js +2 -2
- package/dist/esm/third-party/settings/TeeinblueProductPersonalizer/index.js +2 -2
- package/dist/esm/third-party/settings/TrustBadgesBear/index.js +2 -2
- package/dist/esm/third-party/settings/TrustMe/index.js +4 -4
- package/dist/esm/third-party/settings/TrustedsiteTrustBadges/index.js +2 -2
- package/dist/esm/third-party/settings/Trustoo/index.js +2 -2
- package/dist/esm/third-party/settings/TrustreviewsProductReviews/index.js +2 -2
- package/dist/esm/third-party/settings/TrustshopProductReviews/index.js +2 -2
- package/dist/esm/third-party/settings/UltimateSalesBoost/index.js +2 -2
- package/dist/esm/third-party/settings/UnlimitedBundlesDiscounts/index.js +2 -2
- package/dist/esm/third-party/settings/UppromoteAffiliateMarketing/setting.js +2 -2
- package/dist/esm/third-party/settings/Vitals/index.js +4 -4
- package/dist/esm/third-party/settings/WcWishlistBackInStock/index.js +3 -3
- package/dist/esm/third-party/settings/WhatmoreShoppableVideosreel/index.js +2 -2
- package/dist/esm/third-party/settings/WideBundle/index.js +4 -4
- package/dist/esm/third-party/settings/Wiser/index.js +4 -4
- package/dist/esm/third-party/settings/WishlistKing/index.js +2 -2
- package/dist/esm/third-party/settings/WishlistPlus/index.js +2 -2
- package/dist/esm/third-party/settings/YotpoReviews/index.js +4 -4
- package/dist/esm/video/common/attrs.js +1 -1
- package/dist/esm/video/components/HTML5Embed.js +1 -1
- package/dist/esm/video/components/HTML5Embed.liquid.js +8 -8
- package/dist/esm/video/components/LiteVimeoEmbed.liquid.js +11 -11
- package/dist/esm/video/components/LiteYouTubeEmbed.js +1 -1
- package/dist/esm/video/components/LiteYouTubeEmbed.liquid.js +9 -9
- package/dist/esm/video/components/Video.liquid.js +1 -1
- package/dist/types/index.d.ts +26 -8
- package/package.json +11 -8
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../configs/TrustshopProductReviews.js"),t=require("../../common/helpers.js"),l=require("./uiV2.js");const i={tag:e.default.tag,label:e.default.label,icon:'<img class="gp-w-6 gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/97bd740ed0597c4d5220e15ae930308d/icon/CKub0pnr1okDEAE=.png?width=22&height=22">',editorConfigs:{placeholder:{flowTag:["Product"]},component:{isThirdParty:!0}},presets:[{id:e.default.id,name:e.default.label,hideTextContent:!0,icon:{desktop:`<div class="w-full flex flex-col items-center">
|
|
2
2
|
<img class="w-24 border border-dark-200 rounded-medium" src="https://cdn.shopify.com/app-store/listing_images/97bd740ed0597c4d5220e15ae930308d/icon/CKub0pnr1okDEAE=.png?width=22&height=22">
|
|
3
3
|
<span class="preset-item-title">TrustShop: Product Reviews</span>
|
|
4
|
-
</div>`},components:[{tag:e.default.tag}]}],settings:[{id:"setting",controls:[{id:"appBlockId",type:"input",default:""},{id:"productHandle",type:"product-handle",hide:!0},{id:"widgetType",label:"Choose widget",type:"select",options:[{label:"Widget Product Rating",value:"widget-product-rating"},{label:"All Reviews",value:"all-reviews"},{label:"Widget Box",value:"widget-box"},{label:"Review Testimonial",value:"review-testimonial"}],default:"widget-product-rating"},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:t.get3rdPartyInstallLink({handle:"trustshop-product-reviews"}),appName:e.default.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:
|
|
4
|
+
</div>`},components:[{tag:e.default.tag}]}],settings:[{id:"setting",controls:[{id:"appBlockId",type:"input",default:""},{id:"productHandle",type:"product-handle",hide:!0},{id:"widgetType",label:"Choose widget",type:"select",options:[{label:"Widget Product Rating",value:"widget-product-rating"},{label:"All Reviews",value:"all-reviews"},{label:"Widget Box",value:"widget-box"},{label:"Review Testimonial",value:"review-testimonial"}],default:"widget-product-rating"},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:t.get3rdPartyInstallLink({handle:"trustshop-product-reviews"}),appName:e.default.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:t.get3rdPartyAppStoreLink({handle:"trustshop"}),appName:e.default.label},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:[],uiV2:l.default};exports.default=i;
|
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
<img class="w-24 border border-dark-200 rounded-medium" src="${e.default.logoUrl}?width=22&height=22">
|
|
4
4
|
<span class="preset-item-title">${e.default.label}</span>
|
|
5
5
|
</div>
|
|
6
|
-
`},components:[{tag:e.default.tag}]}],settings:[{id:"setting",controls:[{id:"install",type:"open-link",target:"_blank",linkType:"install",href:t.get3rdPartyInstallLink({handle:"ultimate-sales-boost-v7"}),appName:e.default.label},{id:"openApp",type:"open-link",linkType:"openApp",target:"_blank",href:"
|
|
6
|
+
`},components:[{tag:e.default.tag}]}],settings:[{id:"setting",controls:[{id:"install",type:"open-link",target:"_blank",linkType:"install",href:t.get3rdPartyInstallLink({handle:"ultimate-sales-boost-v7"}),appName:e.default.label},{id:"openApp",type:"open-link",linkType:"openApp",target:"_blank",href:t.get3rdPartyAppStoreLink({handle:"ultimate-sales-boost"}),appName:e.default.label},{id:"widgetType",label:"Choose widget",type:"select",default:"message",options:o},{id:"sticker",info:"When you select Sticker Widget, the anchor will be added automatically to (P) Image no matter where you place it",type:"group"},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:a.default,uiV2:l.default};exports.WidgetOptions=o,exports.default=i;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../configs/UnlimitedBundlesDiscounts.js"),t=require("./uiV2.js");const
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../common/helpers.js"),l=require("../../configs/UnlimitedBundlesDiscounts.js"),t=require("./uiV2.js");const a={tag:l.default.tag,label:l.default.label,icon:'<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/f401504ede69023ced1a51c93ad57152/icon/CPuO_JmopPsCEAE=.png?width=22&height=22">',editorConfigs:{placeholder:{flowTag:["Product"]},component:{isThirdParty:!0}},presets:[{id:l.default.id,name:l.default.label,hideTextContent:!0,icon:{desktop:`<div class="w-full flex flex-col items-center">
|
|
2
2
|
<img class="w-24 border border-dark-200 rounded-medium" src="https://cdn.shopify.com/app-store/listing_images/f401504ede69023ced1a51c93ad57152/icon/CPuO_JmopPsCEAE=.png?width=22&height=22">
|
|
3
3
|
<span class="preset-item-title">Unlimited Bundles & Discounts</span>
|
|
4
|
-
</div>`},components:[{tag:
|
|
4
|
+
</div>`},components:[{tag:l.default.tag}]}],settings:[{id:"setting",controls:[{id:"appBlockId",type:"input",default:""},{id:"widgetType",label:"Choose widget",type:"select",options:[{label:"All Bundles",value:"embed-all"},{label:"Revy Bundle Placeholder",value:"product-page-placeholder"}],default:"embed-all"},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:"",appName:l.default.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:e.get3rdPartyAppStoreLink({handle:"product-bundles-discounts-by-revy"}),appName:l.default.label},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:[],uiV2:t.default};exports.default=a;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../configs/UppromoteAffiliateMarketing.js"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../common/helpers.js"),t=require("../../configs/UppromoteAffiliateMarketing.js"),a=require("./uiV2.js");const l={tag:t.default.tag,label:t.default.label,icon:'<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/9c2f67b482aeae04937fd544c0bfe6a8/icon/CMjv-JmUpv0CEAE=.png?width=22&height=22">',editorConfigs:{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/9c2f67b482aeae04937fd544c0bfe6a8/icon/CMjv-JmUpv0CEAE=.png?width=22&height=22">
|
|
3
3
|
<span class="preset-item-title">UpPromote Affiliate Marketing</span>
|
|
4
|
-
</div>`},components:[{tag:
|
|
4
|
+
</div>`},components:[{tag:t.default.tag}]}],settings:[{id:"setting",controls:[{id:"appBlockId",type:"input",default:""},{id:"widgetType",label:"Choose widget",type:"select",options:[{label:"Customer Referral Landing",value:"customer-referral-landing"},{label:"Affiliate Signup Form",value:"registration-form"}],default:"customer-referral-landing"},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:"",appName:t.default.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:e.get3rdPartyAppStoreLink({handle:"affliate-by-secomapp"}),appName:t.default.label},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:[],uiV2:a.default};exports.default=l;
|
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
<img class="w-24 border border-dark-200 rounded-medium" src="${l.default.logoUrl}?width=22&height=22">
|
|
4
4
|
<span class="preset-item-title">${l.default.label}</span>
|
|
5
5
|
</div>
|
|
6
|
-
`},components:[{tag:l.default.tag}]}],settings:[{id:"setting",controls:[{id:"install",type:"open-link",target:"_blank",linkType:"install",href:e.get3rdPartyInstallLink({handle:"v7-vitals-all-in-one-marketing"}),appName:l.default.label},{id:"widgetType",label:"Choose widget",type:"select",default:"goToWishlist",options:[{label:"Go to Wishlist",value:"goToWishlist",maxOption:1},{label:"Payment Logos",value:"paymentLogos"},{label:"Recently Viewed",value:"recentlyViewed"},{label:"Shoppable Instagram Feed",value:"shoppableInstagramFeed"},{label:"Trust Seals and Badges",value:"trustSealsAndBadges"},{label:"Product Reviews",value:"productReviews",hideOnPage:["ARTICLE","BLOG","COLLECTION","GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_INDEX","GP_STATIC","STATIC"]},{label:"Product Bundles",value:"productBundles",hideOnPage:["ARTICLE","BLOG","COLLECTION","GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_INDEX","GP_STATIC","STATIC"]},{label:"Volume Discounts",value:"volumeDiscounts",hideOnPage:["ARTICLE","BLOG","COLLECTION","GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_INDEX","GP_STATIC","STATIC"]},{label:"Stock Scarcity",value:"stockScarcity",hideOnPage:["ARTICLE","BLOG","COLLECTION","GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_INDEX","GP_STATIC","STATIC"]},{label:"Add to Wishlist",value:"addToWishlist",hideOnPage:["ARTICLE","BLOG","COLLECTION","GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_INDEX","GP_STATIC","STATIC"]},{label:"Size chart",value:"sizeChart",hideOnPage:["ARTICLE","BLOG","COLLECTION","GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_INDEX","GP_STATIC","STATIC"]},{label:"Buy X Get Y",value:"upsellBuilderBogo",hideOnPage:["ARTICLE","BLOG","COLLECTION","GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_INDEX","GP_STATIC","STATIC"]},{label:"Countdown Timer",value:"bundleCountdownBox",hideOnPage:["ARTICLE","BLOG","COLLECTION","GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_INDEX","GP_STATIC","STATIC"]},{label:"Review Under Product Title",value:"reviewsUnderTitle",hideOnPage:["ARTICLE","BLOG","COLLECTION","GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_INDEX","GP_STATIC","STATIC"]},{label:"Reviews Carousel",value:"productReviewsCarousel"},{label:"Shipping Information",value:"shippingBox",hideOnPage:["ARTICLE","BLOG","COLLECTION","GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_INDEX","GP_STATIC","STATIC"]},{label:"Currency Converter",value:"currencyConverter"},{label:"Related Products",value:"relatedProducts",hideOnPage:["ARTICLE","BLOG","COLLECTION","GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_INDEX","GP_STATIC","STATIC"]},{label:"Back In Stock",value:"backInStock",hideOnPage:["ARTICLE","BLOG","COLLECTION","GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_INDEX","GP_STATIC","STATIC"]}]},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:"
|
|
6
|
+
`},components:[{tag:l.default.tag}]}],settings:[{id:"setting",controls:[{id:"install",type:"open-link",target:"_blank",linkType:"install",href:e.get3rdPartyInstallLink({handle:"v7-vitals-all-in-one-marketing"}),appName:l.default.label},{id:"widgetType",label:"Choose widget",type:"select",default:"goToWishlist",options:[{label:"Go to Wishlist",value:"goToWishlist",maxOption:1},{label:"Payment Logos",value:"paymentLogos"},{label:"Recently Viewed",value:"recentlyViewed"},{label:"Shoppable Instagram Feed",value:"shoppableInstagramFeed"},{label:"Trust Seals and Badges",value:"trustSealsAndBadges"},{label:"Product Reviews",value:"productReviews",hideOnPage:["ARTICLE","BLOG","COLLECTION","GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_INDEX","GP_STATIC","STATIC"]},{label:"Product Bundles",value:"productBundles",hideOnPage:["ARTICLE","BLOG","COLLECTION","GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_INDEX","GP_STATIC","STATIC"]},{label:"Volume Discounts",value:"volumeDiscounts",hideOnPage:["ARTICLE","BLOG","COLLECTION","GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_INDEX","GP_STATIC","STATIC"]},{label:"Stock Scarcity",value:"stockScarcity",hideOnPage:["ARTICLE","BLOG","COLLECTION","GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_INDEX","GP_STATIC","STATIC"]},{label:"Add to Wishlist",value:"addToWishlist",hideOnPage:["ARTICLE","BLOG","COLLECTION","GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_INDEX","GP_STATIC","STATIC"]},{label:"Size chart",value:"sizeChart",hideOnPage:["ARTICLE","BLOG","COLLECTION","GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_INDEX","GP_STATIC","STATIC"]},{label:"Buy X Get Y",value:"upsellBuilderBogo",hideOnPage:["ARTICLE","BLOG","COLLECTION","GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_INDEX","GP_STATIC","STATIC"]},{label:"Countdown Timer",value:"bundleCountdownBox",hideOnPage:["ARTICLE","BLOG","COLLECTION","GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_INDEX","GP_STATIC","STATIC"]},{label:"Review Under Product Title",value:"reviewsUnderTitle",hideOnPage:["ARTICLE","BLOG","COLLECTION","GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_INDEX","GP_STATIC","STATIC"]},{label:"Reviews Carousel",value:"productReviewsCarousel"},{label:"Shipping Information",value:"shippingBox",hideOnPage:["ARTICLE","BLOG","COLLECTION","GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_INDEX","GP_STATIC","STATIC"]},{label:"Currency Converter",value:"currencyConverter"},{label:"Related Products",value:"relatedProducts",hideOnPage:["ARTICLE","BLOG","COLLECTION","GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_INDEX","GP_STATIC","STATIC"]},{label:"Back In Stock",value:"backInStock",hideOnPage:["ARTICLE","BLOG","COLLECTION","GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_INDEX","GP_STATIC","STATIC"]}]},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:e.get3rdPartyAppStoreLink({handle:"vitals"}),appName:l.default.label},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:[],uiV2:a.default};exports.default=t;
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
</div>`},components:[{tag:t.default.tag,settings:{widgetType:"wishlist-collection-block"}}]},{id:"wishlist-product",name:t.default.label,hideTextContent:!0,icon:{desktop:`<div class="w-full flex flex-col items-center">
|
|
5
5
|
<img class="w-24 border border-dark-200 rounded-medium" src="https://cdn.shopify.com/app-store/listing_images/6c6bdd5180d0848b68f89d106476f116/icon/CLyD5I2Al_0CEAE=.jpeg?width=22&height=22">
|
|
6
6
|
<span class="preset-item-title">WC Wishlist & Back in Stock</span>
|
|
7
|
-
</div>`},components:[{tag:t.default.tag,settings:{widgetType:"wishlist-bis-block"}}]}],settings:[{id:"setting",controls:[{id:"widgetType",label:"Choose widget",type:"select",default:"wishlist-bis-block",options:[{label:"Back in Stock Product",value:"wishlist-bis-block",hideOnPage:["ARTICLE","BLOG","COLLECTION","GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_INDEX","GP_STATIC","STATIC"]},{label:"Wishlist Product",value:"wishlist-block",hideOnPage:["ARTICLE","BLOG","COLLECTION","GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_INDEX","GP_STATIC","STATIC"]},{label:"Wishlist Collection",value:"wishlist-collection-block",hideOnPage:["ARTICLE","BLOG","PRODUCT","GP_ARTICLE","GP_BLOG","GP_PRODUCT","GP_INDEX","GP_STATIC","STATIC"]},{label:"Back in Stock Collection",value:"wishlist-bis-collection",hideOnPage:["ARTICLE","BLOG","PRODUCT","GP_ARTICLE","GP_BLOG","GP_PRODUCT","GP_INDEX","GP_STATIC","STATIC"]}]},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:e.get3rdPartyInstallLink({handle:"wc-wishlist-back-in-stock"}),appName:t.default.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:
|
|
7
|
+
</div>`},components:[{tag:t.default.tag,settings:{widgetType:"wishlist-bis-block"}}]}],settings:[{id:"setting",controls:[{id:"widgetType",label:"Choose widget",type:"select",default:"wishlist-bis-block",options:[{label:"Back in Stock Product",value:"wishlist-bis-block",hideOnPage:["ARTICLE","BLOG","COLLECTION","GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_INDEX","GP_STATIC","STATIC"]},{label:"Wishlist Product",value:"wishlist-block",hideOnPage:["ARTICLE","BLOG","COLLECTION","GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_INDEX","GP_STATIC","STATIC"]},{label:"Wishlist Collection",value:"wishlist-collection-block",hideOnPage:["ARTICLE","BLOG","PRODUCT","GP_ARTICLE","GP_BLOG","GP_PRODUCT","GP_INDEX","GP_STATIC","STATIC"]},{label:"Back in Stock Collection",value:"wishlist-bis-collection",hideOnPage:["ARTICLE","BLOG","PRODUCT","GP_ARTICLE","GP_BLOG","GP_PRODUCT","GP_INDEX","GP_STATIC","STATIC"]}]},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:e.get3rdPartyInstallLink({handle:"wc-wishlist-back-in-stock"}),appName:t.default.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:e.get3rdPartyAppStoreLink({handle:"wishlist-club"}),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:i.default};exports.default=l;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../configs/WhatmoreShoppableVideosreel.js"),t=require("../../common/helpers.js"),l=require("./uiV2.js");const a={tag:e.default.tag,label:e.default.label,icon:'<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/92e9823511a71a34d577dc3d006abc4d/icon/CIuznZvgu4QDEAE=.png?width=22&height=22">',editorConfigs:{component:{isThirdParty:!0}},presets:[{id:e.default.id,name:e.default.label,hideTextContent:!0,icon:{desktop:`<div class="w-full flex flex-col items-center">
|
|
2
2
|
<img class="w-24 border border-dark-200 rounded-medium" src="https://cdn.shopify.com/app-store/listing_images/92e9823511a71a34d577dc3d006abc4d/icon/CIuznZvgu4QDEAE=.png?width=22&height=22">
|
|
3
3
|
<span class="preset-item-title">Whatmore Shoppable Videos+Reel</span>
|
|
4
|
-
</div>`},components:[{tag:e.default.tag}]}],settings:[{id:"setting",controls:[{id:"appBlockId",type:"input",default:""},{id:"widgetType",label:"Choose widget",type:"select",options:[{label:"Watch and Buy",value:"app-block"},{label:"Whatmore Banners",value:"app-block-banner"},{label:"Whatmore Collections",value:"app-block-collections"},{label:"Whatmore Stories",value:"app-block-stories"}],default:"app-block"},{id:"whatMoreSettings",type:"group",controls:[{id:"heading",type:"input",default:"Watch and Buy"},{id:"templateType",label:"Choose widget",type:"select",options:[{label:"Video-Card",value:"template-a"},{label:"Video-Card feed",value:"template-feed-a"},{label:"Video-Card with see-more option.",value:"template-a-1"},{label:"Product-Video-Card",value:"template-b"},{label:"Grid Style - Theme Border",value:"template-c"},{label:"Grid Style - No Border",value:"template-d"},{label:"Single Tile",value:"template-e"},{label:"Video-card with product-info",value:"template-f"},{label:"Video-card with text-overlay",value:"template-g"},{label:"Focussed-video-card with product-info",value:"template-h"},{label:"Video-stories",value:"template-stories"}],default:"template-f"},{id:"showViews",type:"segment",default:"show",options:[{label:"Show",value:"show"},{label:"Hide",value:"hide"}]},{id:"titleFontSize",type:"input:unit",emptyOnClear:!0,units:["px","%"],default:"40"},{id:"landscapePadding",type:"input:unit",emptyOnClear:!0,units:["px","%"],default:"40"},{id:"topBottomPadding",type:"input:unit",emptyOnClear:!0,units:["px","%"],default:"20"},{id:"scrollVideoTitleSize",type:"input:unit",emptyOnClear:!0,units:["px","%"],default:"80"},{id:"scrollVideoTitleSizePortrait",type:"input:unit",emptyOnClear:!0,units:["px","%"],default:"80"}]},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:t.get3rdPartyInstallLink({handle:"whatmore-shoppable-videosreel"}),appName:e.default.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",appName:e.default.label,href:"
|
|
4
|
+
</div>`},components:[{tag:e.default.tag}]}],settings:[{id:"setting",controls:[{id:"appBlockId",type:"input",default:""},{id:"widgetType",label:"Choose widget",type:"select",options:[{label:"Watch and Buy",value:"app-block"},{label:"Whatmore Banners",value:"app-block-banner"},{label:"Whatmore Collections",value:"app-block-collections"},{label:"Whatmore Stories",value:"app-block-stories"}],default:"app-block"},{id:"whatMoreSettings",type:"group",controls:[{id:"heading",type:"input",default:"Watch and Buy"},{id:"templateType",label:"Choose widget",type:"select",options:[{label:"Video-Card",value:"template-a"},{label:"Video-Card feed",value:"template-feed-a"},{label:"Video-Card with see-more option.",value:"template-a-1"},{label:"Product-Video-Card",value:"template-b"},{label:"Grid Style - Theme Border",value:"template-c"},{label:"Grid Style - No Border",value:"template-d"},{label:"Single Tile",value:"template-e"},{label:"Video-card with product-info",value:"template-f"},{label:"Video-card with text-overlay",value:"template-g"},{label:"Focussed-video-card with product-info",value:"template-h"},{label:"Video-stories",value:"template-stories"}],default:"template-f"},{id:"showViews",type:"segment",default:"show",options:[{label:"Show",value:"show"},{label:"Hide",value:"hide"}]},{id:"titleFontSize",type:"input:unit",emptyOnClear:!0,units:["px","%"],default:"40"},{id:"landscapePadding",type:"input:unit",emptyOnClear:!0,units:["px","%"],default:"40"},{id:"topBottomPadding",type:"input:unit",emptyOnClear:!0,units:["px","%"],default:"20"},{id:"scrollVideoTitleSize",type:"input:unit",emptyOnClear:!0,units:["px","%"],default:"80"},{id:"scrollVideoTitleSizePortrait",type:"input:unit",emptyOnClear:!0,units:["px","%"],default:"80"}]},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:t.get3rdPartyInstallLink({handle:"whatmore-shoppable-videosreel"}),appName:e.default.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",appName:e.default.label,href:t.get3rdPartyAppStoreLink({handle:"whatmore-live"})},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:[],uiV2:l.default};exports.default=a;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../common/helpers.js"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../common/helpers.js"),l=require("../../configs/WideBundle.js"),t=require("./uiV2.js");const a={tag:l.default.tag,label:l.default.label,icon:`<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="${l.default.logoUrl}?width=22&height=22">`,editorConfigs:{component:{isThirdParty:!0}},presets:[{id:l.default.id,name:l.default.label,hideTextContent:!0,icon:{desktop:`
|
|
2
2
|
<div class="w-full flex flex-col items-center">
|
|
3
|
-
<img class="w-24 border border-dark-200 rounded-medium" src="${
|
|
4
|
-
<span class="preset-item-title">${
|
|
3
|
+
<img class="w-24 border border-dark-200 rounded-medium" src="${l.default.logoUrl}?width=22&height=22">
|
|
4
|
+
<span class="preset-item-title">${l.default.label}</span>
|
|
5
5
|
</div>
|
|
6
|
-
`},components:[{tag:
|
|
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:"add-widebundle"})},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",appName:l.default.label,href:e.get3rdPartyAppStoreLink({handle:"widebundle"})},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:[],uiV2:t.default};exports.default=a;
|
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
<img class="w-24 border border-dark-200 rounded-medium" src="${l.default.logoUrl}?width=22&height=22">
|
|
4
4
|
<span class="preset-item-title">${l.default.label}</span>
|
|
5
5
|
</div>
|
|
6
|
-
`},components:[{tag:l.default.tag}]}],settings:[{id:"setting",controls:[{id:"install",type:"open-link",target:"_blank",linkType:"install",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};
|