@gem-sdk/components 2.0.0-dev.874 → 2.0.0-dev.878
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/accordion/components/Accordion.js +1 -1
- package/dist/cjs/accordion/components/AccordionItem.js +3 -3
- package/dist/cjs/accordion/hooks/useMountTransition.js +1 -1
- package/dist/cjs/article/components/ArticleAuthor.js +1 -1
- package/dist/cjs/article/components/ArticleCategory.js +1 -1
- package/dist/cjs/article/components/ArticleDate.js +1 -1
- package/dist/cjs/article/components/ArticleExcerpt.js +1 -1
- package/dist/cjs/article/components/ArticleImage.js +1 -1
- package/dist/cjs/article/components/ArticleList.js +1 -1
- package/dist/cjs/article/components/ArticleTag.js +1 -1
- package/dist/cjs/banner/components/hero-banner/index.js +1 -1
- package/dist/cjs/banner/components/hero-banner/index.liquid.js +37 -35
- package/dist/cjs/builder.js +1 -1
- package/dist/cjs/carousel/components/Carousel.js +1 -1
- package/dist/cjs/carousel/components/CarouselItem.js +1 -1
- package/dist/cjs/carousel/components/Dots.js +1 -1
- package/dist/cjs/carousel/components/hooks/useTrackPreviewPause.js +1 -1
- package/dist/cjs/cart/components/Cart.js +1 -1
- package/dist/cjs/cart/components/CartLinePrice.js +1 -1
- package/dist/cjs/cart/components/CartOrderNote.js +1 -1
- package/dist/cjs/cart/components/CartTotalPrice.js +1 -1
- package/dist/cjs/cart/components/CheckoutNow.js +1 -1
- package/dist/cjs/cart/components/ShopPayButton/index.js +1 -1
- package/dist/cjs/code/components/CSSCode.js +1 -1
- package/dist/cjs/countdown-timer/hooks/useTimeLeft.js +1 -1
- package/dist/cjs/dialog/components/Dialog.js +1 -1
- package/dist/cjs/dialog/hooks/use-scroll-percentage.js +1 -1
- package/dist/cjs/form/components/form-checkbox/FormCheckbox.js +1 -1
- package/dist/cjs/form/components/form-dropdown/FormDropdown.js +1 -1
- package/dist/cjs/form/components/textarea/TextArea.js +1 -1
- package/dist/cjs/grid/components/ChildrenDroppable.js +4 -4
- package/dist/cjs/grid/components/Col.js +1 -1
- package/dist/cjs/grid/components/Row.js +1 -1
- package/dist/cjs/grid/components/Section.js +1 -1
- package/dist/cjs/header/components/Header.js +1 -1
- package/dist/cjs/header/components/kind/basic/MenuMobileItem.js +1 -1
- package/dist/cjs/header/components/kind/basic/MobileMenu.js +1 -1
- package/dist/cjs/header/hooks/use-body-overlay.js +1 -1
- package/dist/cjs/heading/Heading.js +1 -1
- package/dist/cjs/hooks/useGetProductId.js +1 -1
- package/dist/cjs/icon/components/Icon.js +1 -1
- package/dist/cjs/icon-list/components/IconList.js +1 -1
- package/dist/cjs/icon-list/components/IconListItem.js +1 -1
- package/dist/cjs/icon-list-hoz/components/IconListHoz.js +1 -1
- package/dist/cjs/icon-list-hoz/components/IconListHozItem.js +1 -1
- package/dist/cjs/icon-list-v2/components/IconList.js +1 -1
- package/dist/cjs/ignoreHashClasses.js +4 -1
- package/dist/cjs/image/components/BackgroundImage.js +1 -1
- package/dist/cjs/image/components/Image.js +1 -1
- package/dist/cjs/image-comparison/components/CompareImage.js +5 -5
- package/dist/cjs/image-comparison/components/ImageComparison.js +1 -1
- package/dist/cjs/image-detection/ImageDetection.js +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/index.liquid.js +1 -1
- package/dist/cjs/input/Input.js +1 -1
- package/dist/cjs/intersection-observer/InView.js +1 -1
- package/dist/cjs/intersection-observer/useInView.js +1 -1
- package/dist/cjs/link/components/Link.js +1 -1
- package/dist/cjs/link/components/next-link/index.js +1 -1
- package/dist/cjs/marquee/components/Marquee.js +1 -0
- package/dist/cjs/marquee/components/Marquee.liquid.js +28 -0
- package/dist/cjs/marquee/components/MarqueeItem.js +1 -0
- package/dist/cjs/marquee/components/MarqueeItem.liquid.js +6 -0
- package/dist/cjs/marquee/hooks/useMarqueeScrollToItem.js +1 -0
- package/dist/cjs/marquee/hooks/useMarqueeStyles.js +1 -0
- package/dist/cjs/marquee/next.js +1 -0
- package/dist/cjs/marquee/setting/Marquee.js +27 -0
- package/dist/cjs/marquee/setting/MarqueeItem.js +1 -0
- package/dist/cjs/marquee/setting/childTemplate.js +1 -0
- package/dist/cjs/marquee/setting/index.js +1 -0
- package/dist/cjs/modal/components/Modal.js +1 -1
- package/dist/cjs/modal/components/confirm.js +1 -1
- package/dist/cjs/modal/hooks/useModalContainer.js +1 -1
- package/dist/cjs/next.js +1 -1
- package/dist/cjs/notification/components/Notice.js +1 -1
- package/dist/cjs/notification/components/Notifications.js +1 -1
- package/dist/cjs/notification/hooks/use-notification.js +1 -1
- package/dist/cjs/pagination/Pagination.js +1 -1
- package/dist/cjs/post-purchase/advanced-list/components/AdvancedListPostPurchase.js +1 -1
- package/dist/cjs/post-purchase/button/Button.js +1 -1
- package/dist/cjs/post-purchase/callout-banner/components/CalloutText.js +1 -1
- package/dist/cjs/post-purchase/countdown-timer/components/PostPurchaseCountdownTimer.js +1 -1
- package/dist/cjs/post-purchase/countdown-timer/components/TextCountdown.js +1 -1
- package/dist/cjs/post-purchase/countdown-timer/hooks/useCountdownTimer.js +1 -1
- package/dist/cjs/post-purchase/product/components/AcceptButton.js +1 -1
- package/dist/cjs/post-purchase/product/components/ProductOffer.js +1 -1
- package/dist/cjs/post-purchase/product/components/ProductPrice.js +1 -1
- package/dist/cjs/post-purchase/product/components/ProductPriceBreakdown.js +1 -1
- package/dist/cjs/post-purchase/product/components/ProductQuantity.js +1 -1
- package/dist/cjs/post-purchase/product/components/ProductVariant.js +1 -1
- package/dist/cjs/post-purchase/product/components/product-image/Arrow.js +1 -1
- package/dist/cjs/post-purchase/product/components/product-image/CarouselPostPurchase.js +1 -1
- package/dist/cjs/post-purchase/product/components/product-image/FeatureImage.js +1 -1
- package/dist/cjs/post-purchase/product/components/product-image/ImageListCarousel.js +1 -1
- package/dist/cjs/post-purchase/product/components/product-image/ImageListGrid.js +1 -1
- package/dist/cjs/post-purchase/product/components/product-image/index.js +1 -1
- package/dist/cjs/post-purchase/product/components/product-image/layouts/FeatureImageWithGalleryImage.js +1 -1
- package/dist/cjs/post-purchase/product/components/product-image/layouts/OnlyGalleryImage.js +1 -1
- package/dist/cjs/post-purchase/product/components/variants/Dropdown.js +1 -1
- package/dist/cjs/post-purchase/product/components/variants/RectangleList.js +1 -1
- package/dist/cjs/post-purchase/product/components/variants/VariantGroup.js +1 -1
- package/dist/cjs/post-purchase/product/components/variants/VariantItem.js +1 -1
- package/dist/cjs/post-purchase/text/Text.js +1 -1
- package/dist/cjs/product/components/Product.js +1 -1
- package/dist/cjs/product/components/ProductBadge.js +1 -0
- package/dist/cjs/product/components/ProductBadge.liquid.js +13 -0
- package/dist/cjs/product/components/ProductBundleDiscount.js +1 -1
- package/dist/cjs/product/components/ProductButton.js +1 -1
- package/dist/cjs/product/components/ProductDescription.js +1 -1
- package/dist/cjs/product/components/ProductImages/ProductFeaturedImage.js +1 -1
- package/dist/cjs/product/components/ProductImages/ProductGalleryCarousel.js +1 -1
- package/dist/cjs/product/components/ProductImages/ProductGalleryGrid.js +1 -1
- package/dist/cjs/product/components/ProductImages/ProductImagesLightBox.js +1 -1
- package/dist/cjs/product/components/ProductImages.js +1 -1
- package/dist/cjs/product/components/ProductImagesV2/common/product-badge-setting.js +1 -0
- package/dist/cjs/product/components/ProductImagesV2/jsx/ProductImages.js +4 -4
- package/dist/cjs/product/components/ProductImagesV2/jsx/components/ProductFeaturedImageCarousel.js +1 -1
- package/dist/cjs/product/components/ProductImagesV2/jsx/components/ProductGalleryCarousel.js +1 -1
- package/dist/cjs/product/components/ProductImagesV2/jsx/components/ProductGalleryGrid.js +1 -1
- package/dist/cjs/product/components/ProductImagesV2/jsx/components/ProductImagesLightBox.js +1 -1
- package/dist/cjs/product/components/ProductImagesV2/jsx/layouts/FeatureImageWithGallery.js +1 -1
- package/dist/cjs/product/components/ProductImagesV2/liquid/ProductImages.liquid.js +31 -23
- package/dist/cjs/product/components/ProductList.js +1 -1
- package/dist/cjs/product/components/ProductNotFound.js +1 -1
- package/dist/cjs/product/components/ProductPrice.js +1 -1
- package/dist/cjs/product/components/ProductProperties/ProductPropertyInput.js +1 -1
- package/dist/cjs/product/components/ProductProperties.js +1 -1
- package/dist/cjs/product/components/ProductQuantity.js +1 -1
- package/dist/cjs/product/components/ProductQuickView/ProductQuickView.js +1 -1
- package/dist/cjs/product/components/ProductTag.js +1 -1
- package/dist/cjs/product/components/ProductVariants/common.js +1 -1
- package/dist/cjs/product/components/ProductVariants/index.js +1 -1
- package/dist/cjs/product/components/ProductVariants/index.liquid.js +6 -6
- package/dist/cjs/product/components/ProductVariants/variants/Base.js +3 -3
- package/dist/cjs/product/components/ProductVariants/variants/Color.js +1 -1
- package/dist/cjs/product/components/ProductVariants/variants/Dropdown.js +1 -1
- package/dist/cjs/product/components/ProductVariants/variants/Image.js +1 -1
- package/dist/cjs/product/components/ProductVariants/variants/ImageShopify.js +1 -1
- package/dist/cjs/product/components/ProductVariants/variants/RadioButtons.js +1 -1
- package/dist/cjs/product/components/ProductVariants/variants/RectangleList.js +1 -1
- package/dist/cjs/product/components/ProductVariants/variants/VariantGroup.js +1 -1
- package/dist/cjs/product/components/ProductVariants/variants/index.js +1 -1
- package/dist/cjs/product/next.js +1 -1
- package/dist/cjs/product/setting/ProductBadge.js +6 -0
- package/dist/cjs/product/setting/ProductBundleDiscount.js +1 -1
- package/dist/cjs/product/setting/ProductImages.js +1 -1
- package/dist/cjs/product/setting/index.js +1 -1
- package/dist/cjs/product/setting/product-image-v2/ProductImages.js +1 -1
- package/dist/cjs/stock-counter/components/StockCounter.js +1 -1
- package/dist/cjs/tab/components/Tabs.js +1 -1
- package/dist/cjs/text/components/Text.js +1 -1
- package/dist/cjs/third-party/components/AliReviews/AliReviewsSampleContent.js +1 -1
- package/dist/cjs/third-party/components/BoldSubscriptions/BoldSubscriptionsSampleContent.js +1 -1
- package/dist/cjs/third-party/components/FeraReviews/FeraReviewsSampleContent.js +1 -1
- package/dist/cjs/third-party/components/Growave/GrowaveSampleContent.js +1 -1
- package/dist/cjs/third-party/components/Judgeme/JudgemeSampleContent.js +1 -1
- package/dist/cjs/third-party/components/KachingBundles/KachingBundlesSampleContent.js +1 -1
- package/dist/cjs/third-party/components/LaiProductReviews/LaiProductReviewsSampleContent.js +1 -1
- package/dist/cjs/third-party/components/LooxReviews/LooxReviewsSampleContent.js +1 -1
- package/dist/cjs/third-party/components/Omnisend/OmnisendSampleContent.js +1 -1
- package/dist/cjs/third-party/components/Opinew/OpinewSampleContent.js +1 -1
- package/dist/cjs/third-party/components/PickyStory/PickyStorySampleContent.js +1 -1
- package/dist/cjs/third-party/components/ProductReviews/ProductReviewsSampleContent.js +1 -1
- package/dist/cjs/third-party/components/Rivyo/RivyoSampleContent.js +1 -1
- package/dist/cjs/third-party/components/Ryviu/RyviuSampleContent.js +1 -1
- package/dist/cjs/third-party/components/Stamped/StampedSampleContent.js +1 -1
- package/dist/cjs/third-party/components/Trustoo/TrustooSampleContent.js +1 -1
- package/dist/cjs/third-party/components/UltimateSalesBoost/UltimateSalesBoostSampleContent.js +1 -1
- package/dist/cjs/third-party/components/Vitals/VitalsSampleContent.js +1 -1
- package/dist/cjs/third-party/components/Wiser/WiserSampleContent.js +1 -1
- package/dist/cjs/third-party/components/YotpoReviews/YotpoReviewsSampleContent.js +1 -1
- package/dist/cjs/third-party-instant/components/InstantJudgemeReviews.js +1 -1
- package/dist/cjs/third-party-instant/components/Judgeme/SingleProduct.js +1 -1
- package/dist/cjs/third-party-instant/components/Judgeme/WithoutProduct.js +1 -1
- package/dist/cjs/third-party-instant/components/LooxReviews/SingleProduct.js +1 -1
- package/dist/cjs/third-party-instant/components/LooxReviews/WithoutProduct.js +1 -1
- package/dist/cjs/video/components/HTML5Embed.js +1 -1
- package/dist/cjs/video/components/LiteVimeoEmbed.js +1 -1
- package/dist/cjs/video/components/LiteYouTubeEmbed.js +1 -1
- package/dist/cjs/video/components/Video.js +1 -1
- package/dist/esm/banner/components/hero-banner/index.liquid.js +38 -36
- package/dist/esm/builder.js +1 -1
- package/dist/esm/grid/components/ChildrenDroppable.js +1 -1
- package/dist/esm/grid/components/Row.js +1 -1
- package/dist/esm/ignoreHashClasses.js +4 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.liquid.js +1 -1
- package/dist/esm/marquee/components/Marquee.js +1 -0
- package/dist/esm/marquee/components/Marquee.liquid.js +28 -0
- package/dist/esm/marquee/components/MarqueeItem.js +1 -0
- package/dist/esm/marquee/components/MarqueeItem.liquid.js +6 -0
- package/dist/esm/marquee/hooks/useMarqueeScrollToItem.js +1 -0
- package/dist/esm/marquee/hooks/useMarqueeStyles.js +1 -0
- package/dist/esm/marquee/next.js +1 -0
- package/dist/esm/marquee/setting/Marquee.js +27 -0
- package/dist/esm/marquee/setting/MarqueeItem.js +1 -0
- package/dist/esm/marquee/setting/childTemplate.js +1 -0
- package/dist/esm/marquee/setting/index.js +1 -0
- package/dist/esm/next.js +1 -1
- package/dist/esm/product/components/ProductBadge.js +1 -0
- package/dist/esm/product/components/ProductBadge.liquid.js +13 -0
- package/dist/esm/product/components/ProductImagesV2/common/product-badge-setting.js +1 -0
- package/dist/esm/product/components/ProductImagesV2/jsx/ProductImages.js +5 -5
- package/dist/esm/product/components/ProductImagesV2/jsx/components/ProductFeaturedImageCarousel.js +1 -1
- package/dist/esm/product/components/ProductImagesV2/liquid/ProductImages.liquid.js +34 -26
- package/dist/esm/product/components/ProductVariants/index.liquid.js +1 -1
- package/dist/esm/product/components/ProductVariants/variants/Base.js +3 -3
- package/dist/esm/product/next.js +1 -1
- package/dist/esm/product/setting/ProductBadge.js +6 -0
- package/dist/esm/product/setting/ProductBundleDiscount.js +1 -1
- package/dist/esm/product/setting/ProductImages.js +1 -1
- package/dist/esm/product/setting/index.js +1 -1
- package/dist/esm/product/setting/product-image-v2/ProductImages.js +1 -1
- package/dist/types/index.d.ts +183 -54
- package/package.json +5 -3
|
@@ -2,7 +2,7 @@ import{productSelectDisplaySetting as e,productFeatureImageSetting as t,productF
|
|
|
2
2
|
<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3
3
|
<path d="M13.3337 14.6666C13.3337 16.1333 12.1337 17.3333 10.667 17.3333C9.20033 17.3333 8.00033 16.1333 8.00033 14.6666C8.00033 13.2 9.20033 12 10.667 12C12.1337 12 13.3337 13.2 13.3337 14.6666ZM27.3741 14.8404C26.9836 14.4499 26.3504 14.4499 25.9599 14.8404L16.667 24.1333L14.0346 21.6062C13.6442 21.2314 13.0267 21.2352 12.6409 21.6145L5.33366 28.8V9.33329H34.667V22.1333L27.3741 14.8404ZM34.667 30.6666H23.2003L18.5337 26L26.667 17.8666L34.667 25.8666V30.6666ZM7.33366 30.6666L13.467 24.6666L19.467 30.6666H7.33366ZM3.66699 6.66663C3.11471 6.66663 2.66699 7.11434 2.66699 7.66663V31.4666V32.3333C2.66699 32.8856 3.11471 33.3333 3.66699 33.3333H25.867H36.3337C36.8859 33.3333 37.3337 32.8856 37.3337 32.3333V30.6666V28.5333V24.8V7.66662C37.3337 7.11434 36.8859 6.66663 36.3337 6.66663H3.66699Z" fill="currentColor"/>
|
|
4
4
|
</svg>
|
|
5
|
-
`,settings:[{id:"setting",controls:[{id:"select-display",type:"group",label:"Select images to display",controls:e},{id:"featured-image",type:"group",label:"Featured Image",controls:t},{id:"gallery-images",type:"group",label:"Gallery Images",controls:a},{id:"qualityType",type:"select",label:"Quality",devices:{desktop:{default:"finest"}},options:[{label:"Finest",value:"finest"},{label:"High",value:"high"},{label:"Medium",value:"medium"},{label:"Custom",value:"custom",tooltip:"You can choose it for advanced page loading optimization."}]},{id:"preload",type:"toggle",label:"Preload",default:!1},{id:"qualityPercent",type:"range",label:"",units:["%"],min:100,max:400,step:50,useOnlyUnitInit:!0,devices:{desktop:{default:100}}},{id:"ftDotStyle",label:"Dot style",type:"layout-segment",iconViewBox:"0 0 77 48",enableItemBackground:!0,enableTooltip:!0,options:[{label:"None",value:"none",type:"carousel-dot",isTextIcon:!0},{label:"Inside",value:"inside",type:"carousel-dot"},{label:"Outside",value:"outside",type:"carousel-dot"}],devices:{desktop:{default:"none"}}},{id:"ftDotSize",label:"Dots size",type:"input:number",min:1,devices:{desktop:{default:12}}},{id:"ftDotGapToCarousel",label:"Gap to carousel",type:"input:unit",useOnlyUnitInit:!0,units:["px"],min:0,devices:{desktop:{default:16}}},{id:"ftDotColor",label:"Dot color",type:"colorpicker",devices:{desktop:{default:"bg-1"}}},{id:"ftDotActiveColor",label:"Dot color active",type:"colorpicker",devices:{desktop:{default:"line-3"}}}]},{id:"style",controls:[{id:"position",label:"Layout",type:"layout-segment",iconViewBox:"0 0 72 72",enableItemBackground:!0,itemPerRow:3,itemSpacing:"large",options:[{label:"Bottom",value:"bottom-center",type:"p-image-layout"},{label:"Left",value:"left",type:"p-image-layout"},{label:"Right",value:"right",type:"p-image-layout"},{label:"Only Feature Image",value:"only-feature",type:"p-image-layout"},{label:"2 Col",value:"two-col",type:"p-image-layout"},{label:"1 Col",value:"one-col",type:"p-image-layout"},{label:"Inside Bottom",value:"inside-bottom",type:"p-image-layout"},{label:"Inside Left",value:"inside-left",type:"p-image-layout"},{label:"Inside Right",value:"inside-right",type:"p-image-layout"}],devices:{desktop:{default:"bottom-center"},mobile:{default:"bottom-center"}}},{id:"spacing",label:"Spacing Item",type:"input:unit-spacing",units:["px"],devices:{desktop:{default:"var(--g-s-s)"},mobile:{default:"var(--g-s-s)"}}},{id:"ratioLayout",label:"Ratio",type:"grid-arrange",devices:{desktop:{default:[2,10]}}},{id:"ratioLayoutRight",label:"Ratio",type:"grid-arrange",devices:{desktop:{default:[10,2]}}},{id:"dimensions",type:"group",label:"Featured Image",controls:o},{id:"galleryStyles",type:"group",label:"Gallery",controls:s},{id:"align",label:"Alignment",type:"segment",options:[{label:"Start",value:"flex-start",type:"align-flex",tooltip:"Align left"},{label:"Center",value:"center",type:"align-flex",tooltip:"Align center"},{label:"End",value:"flex-end",type:"align-flex",tooltip:"Align right"}],devices:getDefaultResponsive("flex-start")}]}],ui:[{type:"group",label:{en:"Layout"},controls:[{type:"control",layout:"vertical",setting:{id:"position"}},{type:"control",label:{en:"Ratio"},setting:{id:"ratioLayout"},layout:"vertical",condition:'position == "left"'},{type:"control",label:{en:"Ratio"},setting:{id:"ratioLayoutRight"},layout:"vertical",condition:'position == "right"'},{type:"control",label:{en:"Spacing"},setting:{id:"spacing"},isMoreSetting:!0,condition:'["bottom-center", "left", "right", "inside-bottom", "inside-left", "inside-right"].includes(position)'},{type:"control",label:{en:"Spacing"},setting:{id:"itemSpacing"},isMoreSetting:!0,condition:'["one-col", "two-col"].includes(position)'}]},{type:"group",label:{en:"Select images to display"},controls:i,condition:'["bottom-center", "left", "right", "only-feature", "inside-bottom", "inside-left", "inside-right"].includes(position)'},{type:"group",label:{en:"Featured image"},controls:l,condition:'["bottom-center", "left", "right", "only-feature", "inside-bottom", "inside-left", "inside-right"].includes(position)',hiddenDivice:!0},{type:"group",label:{en:""},controls:n,condition:'["bottom-center", "left", "right", "only-feature", "inside-bottom", "inside-left", "inside-right"].includes(position)'},{type:"group",label:{en:"Dots"},controls:[{type:"control",setting:{id:"ftDotStyle"}},{condition:'ftDotStyle !== "none"',type:"control",label:{en:"Inactive dot color"},setting:{id:"ftDotColor"}},{condition:'ftDotStyle !== "none"',type:"control",label:{en:"Active dot color"},setting:{id:"ftDotActiveColor"}},{condition:'ftDotStyle !== "none"',type:"control",label:{en:"Dots size"},setting:{id:"ftDotSize"},isMoreSetting:!0},{condition:'ftDotStyle !== "none"',type:"control",label:{en:"Gap to carousel"},setting:{id:"ftDotGapToCarousel"},isMoreSetting:!0}],condition:'position === "only-feature"'},{type:"group",label:{en:"Image list"},controls:r,condition:'position !== "only-feature"',hiddenDivice:!0},{type:"group",label:{en:""},controls:d,condition:'position !== "only-feature"'},{type:"group",controls:[{type:"control",label:{en:"Quality"},options:{label:"large"},setting:{id:"qualityType"}},{type:"control",layout:"horizontal",label:{en:" "},condition:'qualityType == "custom"',setting:{id:"qualityPercent"}}]},{type:"control",label:{en:"Align"},setting:{id:"align"}}],editorConfigs:{placeholder:{flowTag:["Product"]}},presets:[{id:"product-image-v2",name:{en:"Product Images"},icon:{desktop:`
|
|
5
|
+
`,settings:[{id:"setting",controls:[{id:"select-display",type:"group",label:"Select images to display",controls:e},{id:"featured-image",type:"group",label:"Featured Image",controls:t},{id:"gallery-images",type:"group",label:"Gallery Images",controls:a},{id:"qualityType",type:"select",label:"Quality",devices:{desktop:{default:"finest"}},options:[{label:"Finest",value:"finest"},{label:"High",value:"high"},{label:"Medium",value:"medium"},{label:"Custom",value:"custom",tooltip:"You can choose it for advanced page loading optimization."}]},{id:"preload",type:"toggle",label:"Preload",default:!1},{id:"qualityPercent",type:"range",label:"",units:["%"],min:100,max:400,step:50,useOnlyUnitInit:!0,devices:{desktop:{default:100}}},{id:"ftDotStyle",label:"Dot style",type:"layout-segment",iconViewBox:"0 0 77 48",enableItemBackground:!0,enableTooltip:!0,options:[{label:"None",value:"none",type:"carousel-dot",isTextIcon:!0},{label:"Inside",value:"inside",type:"carousel-dot"},{label:"Outside",value:"outside",type:"carousel-dot"}],devices:{desktop:{default:"none"}}},{id:"ftDotSize",label:"Dots size",type:"input:number",min:1,devices:{desktop:{default:12}}},{id:"ftDotGapToCarousel",label:"Gap to carousel",type:"input:unit",useOnlyUnitInit:!0,units:["px"],min:0,devices:{desktop:{default:16}}},{id:"ftDotColor",label:"Dot color",type:"colorpicker",devices:{desktop:{default:"bg-1"}}},{id:"ftDotActiveColor",label:"Dot color active",type:"colorpicker",devices:{desktop:{default:"line-3"}}}]},{id:"style",controls:[{id:"position",label:"Layout",type:"layout-segment",iconViewBox:"0 0 72 72",enableItemBackground:!0,itemPerRow:3,itemSpacing:"large",options:[{label:"Bottom",value:"bottom-center",type:"p-image-layout"},{label:"Left",value:"left",type:"p-image-layout"},{label:"Right",value:"right",type:"p-image-layout"},{label:"Only Feature Image",value:"only-feature",type:"p-image-layout"},{label:"2 Col",value:"two-col",type:"p-image-layout"},{label:"1 Col",value:"one-col",type:"p-image-layout"},{label:"Inside Bottom",value:"inside-bottom",type:"p-image-layout"},{label:"Inside Left",value:"inside-left",type:"p-image-layout"},{label:"Inside Right",value:"inside-right",type:"p-image-layout"}],devices:{desktop:{default:"bottom-center"},mobile:{default:"bottom-center"}}},{id:"spacing",label:"Spacing Item",type:"input:unit-spacing",units:["px"],devices:{desktop:{default:"var(--g-s-s)"},mobile:{default:"var(--g-s-s)"}}},{id:"ratioLayout",label:"Ratio",type:"grid-arrange",devices:{desktop:{default:[2,10]}}},{id:"ratioLayoutRight",label:"Ratio",type:"grid-arrange",devices:{desktop:{default:[10,2]}}},{id:"dimensions",type:"group",label:"Featured Image",controls:o},{id:"galleryStyles",type:"group",label:"Gallery",controls:s},{id:"align",label:"Alignment",type:"segment",options:[{label:"Start",value:"flex-start",type:"align-flex",tooltip:"Align left"},{label:"Center",value:"center",type:"align-flex",tooltip:"Align center"},{label:"End",value:"flex-end",type:"align-flex",tooltip:"Align right"}],devices:getDefaultResponsive("flex-start")}]}],ui:[{type:"group",label:{en:"Layout"},controls:[{type:"control",layout:"vertical",setting:{id:"position"}},{type:"control",label:{en:"Ratio"},setting:{id:"ratioLayout"},layout:"vertical",condition:'position == "left"'},{type:"control",label:{en:"Ratio"},setting:{id:"ratioLayoutRight"},layout:"vertical",condition:'position == "right"'},{type:"control",label:{en:"Spacing"},setting:{id:"spacing"},isMoreSetting:!0,condition:'["bottom-center", "left", "right", "inside-bottom", "inside-left", "inside-right"].includes(position)'},{type:"control",label:{en:"Spacing"},setting:{id:"itemSpacing"},isMoreSetting:!0,condition:'["one-col", "two-col"].includes(position)'}]},{type:"group",label:{en:"Select images to display"},controls:i,condition:'["bottom-center", "left", "right", "only-feature", "inside-bottom", "inside-left", "inside-right"].includes(position)'},{type:"group",label:{en:"Featured image"},controls:l,condition:'["bottom-center", "left", "right", "only-feature", "inside-bottom", "inside-left", "inside-right"].includes(position)',hiddenDivice:!0},{type:"group",label:{en:""},controls:n,condition:'["bottom-center", "left", "right", "only-feature", "inside-bottom", "inside-left", "inside-right"].includes(position)'},{type:"group",label:{en:"Dots"},controls:[{type:"control",setting:{id:"ftDotStyle"}},{condition:'ftDotStyle !== "none"',type:"control",label:{en:"Inactive dot color"},setting:{id:"ftDotColor"}},{condition:'ftDotStyle !== "none"',type:"control",label:{en:"Active dot color"},setting:{id:"ftDotActiveColor"}},{condition:'ftDotStyle !== "none"',type:"control",label:{en:"Dots size"},setting:{id:"ftDotSize"},isMoreSetting:!0},{condition:'ftDotStyle !== "none"',type:"control",label:{en:"Gap to carousel"},setting:{id:"ftDotGapToCarousel"},isMoreSetting:!0}],condition:'position === "only-feature"'},{type:"group",label:{en:"Image list"},controls:r,condition:'position !== "only-feature"',hiddenDivice:!0},{type:"group",label:{en:""},controls:d,condition:'position !== "only-feature"'},{type:"group",controls:[{type:"control",label:{en:"Quality"},options:{label:"large"},setting:{id:"qualityType"}},{type:"control",layout:"horizontal",label:{en:" "},condition:'qualityType == "custom"',setting:{id:"qualityPercent"}}]},{type:"control",label:{en:"Align"},setting:{id:"align"}}],editorConfigs:{placeholder:{flowTag:["Product"]},slots:{children:!0}},presets:[{id:"product-image-v2",name:{en:"Product Images"},icon:{desktop:`
|
|
6
6
|
<svg width="70" height="48" viewBox="0 0 70 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
7
7
|
<rect x="10" width="10" height="10" rx="3" transform="rotate(90 10 0)" fill="#494949"/>
|
|
8
8
|
<rect x="10" y="12" width="10" height="10" rx="3" transform="rotate(90 10 12)" fill="#494949"/>
|