@gem-sdk/components 1.38.1 → 2.0.0-dev.833
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 -138
- package/dist/cjs/accordion/components/Accordion.liquid.js +11 -103
- package/dist/cjs/accordion/components/AccordionItem.js +4 -297
- package/dist/cjs/accordion/components/AccordionItem.liquid.js +38 -223
- package/dist/cjs/accordion/hooks/useMountTransition.js +1 -27
- package/dist/cjs/accordion/next.js +1 -19
- package/dist/cjs/accordion/setting/Accordion.js +15 -1355
- package/dist/cjs/accordion/setting/AccordionItem.js +1 -34
- package/dist/cjs/accordion/setting/ItemTemplate.js +1 -49
- package/dist/cjs/accordion/setting/index.js +1 -13
- package/dist/cjs/banner/components/hero-banner/index.js +1 -247
- package/dist/cjs/banner/components/hero-banner/index.liquid.js +22 -167
- package/dist/cjs/banner/helpers/common.js +1 -284
- package/dist/cjs/banner/next.js +1 -15
- package/dist/cjs/banner/setting/HeroBanner.js +19 -979
- package/dist/cjs/banner/setting/index.js +1 -11
- package/dist/cjs/banner/setting/presets/heroBanner1Col.js +2 -110
- package/dist/cjs/banner/setting/presets/heroBannerContentLeft.js +2 -131
- package/dist/cjs/banner/setting/presets/heroBannerContentRight.js +2 -131
- package/dist/cjs/breadcrumb/components/Breadcrumb.js +1 -49
- package/dist/cjs/breadcrumb/next.js +1 -15
- package/dist/cjs/breadcrumb/setting/Breadcrumb.js +1 -38
- package/dist/cjs/breadcrumb/setting/index.js +1 -11
- package/dist/cjs/builder.js +1 -279
- package/dist/cjs/button/components/Button.js +8 -138
- package/dist/cjs/button/components/Button.liquid.js +27 -148
- package/dist/cjs/button/next.js +1 -15
- package/dist/cjs/button/setting/Button.js +4 -770
- package/dist/cjs/button/setting/index.js +1 -11
- package/dist/cjs/carousel/components/Arrow.js +10 -96
- package/dist/cjs/carousel/components/Arrow.liquid.js +28 -79
- package/dist/cjs/carousel/components/Carousel.js +1 -506
- package/dist/cjs/carousel/components/Carousel.liquid.js +15 -220
- package/dist/cjs/carousel/components/CarouselItem.js +1 -72
- package/dist/cjs/carousel/components/CarouselItem.liquid.js +7 -76
- package/dist/cjs/carousel/components/Dots.js +1 -68
- package/dist/cjs/carousel/components/Dots.liquid.js +4 -23
- package/dist/cjs/carousel/components/common/arrow.js +1 -130
- package/dist/cjs/carousel/components/common/carousel.js +1 -99
- package/dist/cjs/carousel/components/common/dots.js +1 -55
- package/dist/cjs/carousel/components/hooks/useTrackPreviewPause.js +1 -34
- package/dist/cjs/carousel/components/plugins/AnimationPlugin.js +1 -43
- package/dist/cjs/carousel/components/plugins/AutoPlayPlugin.js +1 -64
- package/dist/cjs/carousel/components/plugins/FixSliderMoveBackwards.js +1 -15
- package/dist/cjs/carousel/components/plugins/MutationPlugin.js +1 -45
- package/dist/cjs/carousel/next.js +1 -19
- package/dist/cjs/carousel/setting/Carousel.js +7 -1381
- package/dist/cjs/carousel/setting/CarouselItem.js +1 -40
- package/dist/cjs/carousel/setting/index.js +1 -13
- package/dist/cjs/cart/components/Cart.js +1 -84
- package/dist/cjs/cart/components/CartCheckout.js +1 -18
- package/dist/cjs/cart/components/CartDiscount.js +1 -13
- package/dist/cjs/cart/components/CartLineAttribute.js +1 -30
- package/dist/cjs/cart/components/CartLineImage.js +1 -44
- package/dist/cjs/cart/components/CartLinePrice.js +1 -45
- package/dist/cjs/cart/components/CartLineVariant.js +1 -27
- package/dist/cjs/cart/components/CartList.js +1 -36
- package/dist/cjs/cart/components/CartOrderNote.js +1 -46
- package/dist/cjs/cart/components/CartTotalItem.js +1 -23
- package/dist/cjs/cart/components/CartTotalPrice.js +1 -55
- package/dist/cjs/cart/components/CheckoutNow.js +1 -41
- package/dist/cjs/cart/components/CouponList.js +1 -15
- package/dist/cjs/cart/components/DiscountInput.js +1 -27
- package/dist/cjs/cart/components/ShopPayButton/ShopPayButtonCommon.js +1 -20
- package/dist/cjs/cart/components/ShopPayButton/icons/BaseIcon.js +1 -16
- package/dist/cjs/cart/components/ShopPayButton/icons/BaseIcon.liquid.js +4 -16
- package/dist/cjs/cart/components/ShopPayButton/icons/DynamicCheckoutBlack.js +1 -50
- package/dist/cjs/cart/components/ShopPayButton/icons/DynamicCheckoutBlack.liquid.js +4 -21
- package/dist/cjs/cart/components/ShopPayButton/icons/DynamicCheckoutPurple.js +1 -50
- package/dist/cjs/cart/components/ShopPayButton/icons/DynamicCheckoutPurple.liquid.js +4 -21
- package/dist/cjs/cart/components/ShopPayButton/icons/DynamicCheckoutWhite.js +1 -48
- package/dist/cjs/cart/components/ShopPayButton/icons/DynamicCheckoutWhite.liquid.js +4 -21
- package/dist/cjs/cart/components/ShopPayButton/icons/ExpressCheckoutBlack.js +1 -46
- package/dist/cjs/cart/components/ShopPayButton/icons/ExpressCheckoutBlack.liquid.js +4 -21
- package/dist/cjs/cart/components/ShopPayButton/icons/ExpressCheckoutPurple.js +1 -46
- package/dist/cjs/cart/components/ShopPayButton/icons/ExpressCheckoutPurple.liquid.js +4 -21
- package/dist/cjs/cart/components/ShopPayButton/icons/ExpressCheckoutWhite.js +1 -46
- package/dist/cjs/cart/components/ShopPayButton/icons/ExpressCheckoutWhite.liquid.js +4 -21
- package/dist/cjs/cart/components/ShopPayButton/index.js +1 -112
- package/dist/cjs/cart/components/ShopPayButton/index.liquid.js +8 -42
- package/dist/cjs/cart/next.js +1 -73
- package/dist/cjs/cart/setting/Cart.js +3 -67
- package/dist/cjs/cart/setting/CartCheckout.js +1 -20
- package/dist/cjs/cart/setting/CartDiscount.js +1 -20
- package/dist/cjs/cart/setting/CartLineAttribute.js +1 -29
- package/dist/cjs/cart/setting/CartLineImage.js +1 -165
- package/dist/cjs/cart/setting/CartLinePrice.js +1 -29
- package/dist/cjs/cart/setting/CartLineVariant.js +1 -29
- package/dist/cjs/cart/setting/CartList.js +1 -139
- package/dist/cjs/cart/setting/CartOrderNote.js +1 -44
- package/dist/cjs/cart/setting/CartTotalItem.js +1 -29
- package/dist/cjs/cart/setting/CartTotalPrice.js +1 -58
- package/dist/cjs/cart/setting/CouponList.js +1 -20
- package/dist/cjs/cart/setting/DiscountInput.js +1 -33
- package/dist/cjs/cart/setting/ShopPayButton.js +1 -168
- package/dist/cjs/cart/setting/index.js +1 -37
- package/dist/cjs/code/components/CSSCode.js +2 -129
- package/dist/cjs/code/components/CSSCode.liquid.js +7 -30
- package/dist/cjs/code/next.js +1 -15
- package/dist/cjs/code/setting/CSSCode.js +3 -175
- package/dist/cjs/code/setting/index.js +1 -11
- package/dist/cjs/collection/components/CollectionBanner.js +1 -97
- package/dist/cjs/collection/components/CollectionBanner.liquid.js +14 -76
- package/dist/cjs/collection/components/CollectionDescription.js +1 -20
- package/dist/cjs/collection/components/CollectionDescription.liquid.js +3 -21
- package/dist/cjs/collection/components/CollectionPaginator.js +1 -150
- package/dist/cjs/collection/components/CollectionPaginator.liquid.js +9 -58
- package/dist/cjs/collection/components/CollectionTitle.js +1 -20
- package/dist/cjs/collection/components/CollectionTitle.liquid.js +3 -21
- package/dist/cjs/collection/components/CollectionToolbar.js +1 -111
- package/dist/cjs/collection/components/CollectionToolbar.liquid.js +15 -70
- package/dist/cjs/collection/next.js +1 -31
- package/dist/cjs/collection/setting/CollectionBanner.js +10 -532
- package/dist/cjs/collection/setting/CollectionDescription.js +3 -128
- package/dist/cjs/collection/setting/CollectionPaginator.js +3 -323
- package/dist/cjs/collection/setting/CollectionTitle.js +3 -128
- package/dist/cjs/collection/setting/CollectionToolbar.js +3 -276
- package/dist/cjs/collection/setting/index.js +1 -19
- package/dist/cjs/common/components/Loading.js +1 -23
- package/dist/cjs/common/components/Tooltip.js +1 -0
- package/dist/cjs/countdown-timer/components/Countdown.js +1 -308
- package/dist/cjs/countdown-timer/components/Countdown.liquid.js +20 -91
- package/dist/cjs/countdown-timer/helpers.js +1 -99
- package/dist/cjs/countdown-timer/hooks/useTimeLeft.js +1 -94
- package/dist/cjs/countdown-timer/next.js +1 -16
- package/dist/cjs/countdown-timer/setting/Countdown.js +3 -883
- package/dist/cjs/countdown-timer/setting/index.js +1 -11
- package/dist/cjs/dialog/components/Dialog.js +1 -357
- package/dist/cjs/dialog/components/Dialog.liquid.js +16 -147
- package/dist/cjs/dialog/helpers/common.js +1 -19
- package/dist/cjs/dialog/hooks/use-scroll-percentage.js +1 -34
- package/dist/cjs/dialog/next.js +1 -15
- package/dist/cjs/dialog/setting/Dialog.js +3 -579
- package/dist/cjs/dialog/setting/index.js +1 -11
- package/dist/cjs/form/components/contact/Contact.js +1 -15
- package/dist/cjs/form/components/contact/Contact.liquid.js +3 -22
- package/dist/cjs/form/components/form-checkbox/FormCheckbox.js +1 -51
- package/dist/cjs/form/components/form-checkbox/FormCheckbox.liquid.js +10 -39
- package/dist/cjs/form/components/form-dropdown/FormDropdown.js +1 -72
- package/dist/cjs/form/components/form-dropdown/FormDropdown.liquid.js +12 -66
- package/dist/cjs/form/components/form-email/FormEmail.js +1 -59
- package/dist/cjs/form/components/form-email/FormEmail.liquid.js +10 -66
- package/dist/cjs/form/components/newsletter/Newsletter.js +1 -15
- package/dist/cjs/form/components/newsletter/Newsletter.liquid.js +19 -56
- package/dist/cjs/form/components/submit-button/SubmitButton.js +1 -31
- package/dist/cjs/form/components/submit-button/SubmitButton.liquid.js +3 -33
- package/dist/cjs/form/components/textarea/TextArea.js +1 -75
- package/dist/cjs/form/components/textarea/TextArea.liquid.js +11 -74
- package/dist/cjs/form/components/textfield/TextField.js +1 -68
- package/dist/cjs/form/components/textfield/TextField.liquid.js +11 -74
- package/dist/cjs/form/next.js +1 -43
- package/dist/cjs/form/setting/Contact.js +3 -46
- package/dist/cjs/form/setting/ContactInitConfig.js +1 -228
- package/dist/cjs/form/setting/FormCheckbox.js +3 -226
- package/dist/cjs/form/setting/FormCheckboxInitConfig.js +1 -18
- package/dist/cjs/form/setting/FormDropdown.js +3 -262
- package/dist/cjs/form/setting/FormDropdownInitConfig.js +1 -33
- package/dist/cjs/form/setting/FormEmail.js +3 -275
- package/dist/cjs/form/setting/FormEmailInitConfig.js +1 -33
- package/dist/cjs/form/setting/Newsletter.js +3 -168
- package/dist/cjs/form/setting/NewsletterInitConfig.js +1 -133
- package/dist/cjs/form/setting/SubmitButton.js +4 -653
- package/dist/cjs/form/setting/SubmitButtonInitConfig.js +1 -30
- package/dist/cjs/form/setting/TextField.js +3 -306
- package/dist/cjs/form/setting/Textarea.js +3 -307
- package/dist/cjs/form/setting/index.js +1 -25
- package/dist/cjs/grid/components/ChildrenDroppable.js +4 -65
- package/dist/cjs/grid/components/Col.js +1 -25
- package/dist/cjs/grid/components/Col.liquid.js +6 -39
- package/dist/cjs/grid/components/Root.js +1 -13
- package/dist/cjs/grid/components/Root.liquid.js +1 -9
- package/dist/cjs/grid/components/Row.js +1 -92
- package/dist/cjs/grid/components/Row.liquid.js +12 -65
- package/dist/cjs/grid/components/Section.js +1 -27
- package/dist/cjs/grid/components/Section.liquid.js +1 -17
- package/dist/cjs/grid/components/helpers.js +1 -71
- package/dist/cjs/grid/next.js +1 -27
- package/dist/cjs/grid/setting/Col.js +1 -34
- package/dist/cjs/grid/setting/Root.js +1 -19
- package/dist/cjs/grid/setting/Row.js +39 -514
- package/dist/cjs/grid/setting/Section.js +34 -362
- package/dist/cjs/grid/setting/index.js +1 -17
- package/dist/cjs/header/components/Header.js +1 -32
- package/dist/cjs/header/components/SalePageHeaderWarning.js +1 -0
- package/dist/cjs/header/components/icons/ChevronLeft.js +1 -18
- package/dist/cjs/header/components/icons/Dismiss.js +1 -18
- package/dist/cjs/header/components/icons/MenuIcon.js +1 -18
- package/dist/cjs/header/components/kind/basic/DesktopMenu.js +1 -36
- package/dist/cjs/header/components/kind/basic/DesktopMenuItem.js +1 -66
- package/dist/cjs/header/components/kind/basic/MenuMobileItem.js +1 -160
- package/dist/cjs/header/components/kind/basic/MobileMenu.js +1 -157
- package/dist/cjs/header/components/kind/basic/index.js +1 -109
- package/dist/cjs/header/components/kind/modern/index.js +1 -33
- package/dist/cjs/header/hooks/use-body-overlay.js +1 -21
- package/dist/cjs/header/next.js +1 -15
- package/dist/cjs/header/setting/Header.js +3 -716
- package/dist/cjs/header/setting/index.js +1 -11
- package/dist/cjs/heading/Heading.js +1 -46
- package/dist/cjs/heading/Heading.liquid.js +1 -47
- package/dist/cjs/heading/next.js +1 -15
- package/dist/cjs/heading/setting/Heading.js +3 -373
- package/dist/cjs/heading/setting/index.js +1 -11
- package/dist/cjs/helpers.js +1 -17
- package/dist/cjs/hooks/useGetProductId.js +1 -15
- package/dist/cjs/icon/components/Icon.js +1 -76
- package/dist/cjs/icon/components/Icon.liquid.js +13 -65
- package/dist/cjs/icon/next.js +1 -15
- package/dist/cjs/icon/setting/Icon.js +3 -303
- package/dist/cjs/icon/setting/index.js +1 -11
- package/dist/cjs/icon-list/components/IconList.js +1 -81
- package/dist/cjs/icon-list/components/IconList.liquid.js +12 -47
- package/dist/cjs/icon-list/components/IconListItem.js +1 -29
- package/dist/cjs/icon-list/components/IconListItem.liquid.js +4 -19
- package/dist/cjs/icon-list/next.js +1 -19
- package/dist/cjs/icon-list/setting/IconList.js +4 -299
- package/dist/cjs/icon-list/setting/IconListItem.js +1 -40
- package/dist/cjs/icon-list/setting/ItemTemplate.js +1 -329
- package/dist/cjs/icon-list/setting/index.js +1 -13
- package/dist/cjs/icon-list-hoz/components/IconListHoz.js +1 -69
- package/dist/cjs/icon-list-hoz/components/IconListHoz.liquid.js +11 -36
- package/dist/cjs/icon-list-hoz/components/IconListHozItem.js +1 -30
- package/dist/cjs/icon-list-hoz/components/IconListItemHoz.liquid.js +4 -19
- package/dist/cjs/icon-list-hoz/next.js +1 -19
- package/dist/cjs/icon-list-hoz/setting/IconListHoz.js +3 -221
- package/dist/cjs/icon-list-hoz/setting/IconListItem.js +1 -40
- package/dist/cjs/icon-list-hoz/setting/ItemTemplate.js +1 -83
- package/dist/cjs/icon-list-hoz/setting/index.js +1 -13
- package/dist/cjs/icon-list-v2/components/IconList.js +1 -140
- package/dist/cjs/icon-list-v2/components/IconList.liquid.js +19 -89
- package/dist/cjs/icon-list-v2/next.js +1 -15
- package/dist/cjs/icon-list-v2/setting/IconList.js +3 -525
- package/dist/cjs/icon-list-v2/setting/index.js +1 -11
- package/dist/cjs/icon-list-v2/setting/template.js +1 -112
- package/dist/cjs/image/components/AdaptiveImage.js +1 -60
- package/dist/cjs/image/components/AdaptiveImage.liquid.js +19 -96
- package/dist/cjs/image/components/BackgroundImage.js +1 -101
- package/dist/cjs/image/components/Image.js +1 -121
- package/dist/cjs/image/components/Image.liquid.js +10 -93
- package/dist/cjs/image/components/Img.js +1 -28
- package/dist/cjs/image/components/Modal3d.liquid.js +15 -34
- package/dist/cjs/image/components/NextImage.js +1 -40
- package/dist/cjs/image/components/NextImage.liquid.js +16 -111
- package/dist/cjs/image/components/Video.liquid.js +12 -26
- package/dist/cjs/image/components/helpers.js +1 -10
- package/dist/cjs/image/helpers/getSrcSet.js +1 -56
- package/dist/cjs/image/next.js +1 -19
- package/dist/cjs/image/setting/BackgroundImage.js +2 -361
- package/dist/cjs/image/setting/Image.js +4 -464
- package/dist/cjs/image/setting/index.js +1 -13
- package/dist/cjs/image-comparison/components/CompareImage.js +5 -560
- package/dist/cjs/image-comparison/components/CompareImage.liquid.js +22 -328
- package/dist/cjs/image-comparison/components/ImageComparison.js +1 -60
- package/dist/cjs/image-comparison/components/ImageComparison.liquid.js +3 -36
- package/dist/cjs/image-comparison/components/Label.liquid.js +13 -45
- package/dist/cjs/image-comparison/constants/commonStyles.js +1 -62
- package/dist/cjs/image-comparison/next.js +1 -15
- package/dist/cjs/image-comparison/setting/ImageComparison.js +3 -881
- package/dist/cjs/image-comparison/setting/index.js +1 -11
- package/dist/cjs/image-detection/ImageDetection.js +1 -236
- package/dist/cjs/image-detection/next.js +1 -15
- package/dist/cjs/image-detection/setting/ImageDetection.js +2 -75
- package/dist/cjs/image-detection/setting/index.js +1 -11
- package/dist/cjs/index.js +1 -363
- package/dist/cjs/index.liquid.js +1 -199
- package/dist/cjs/input/Input.js +1 -117
- package/dist/cjs/input/next.js +1 -15
- package/dist/cjs/input/setting/Input.js +2 -121
- package/dist/cjs/input/setting/index.js +1 -11
- package/dist/cjs/intersection-observer/InView.js +1 -100
- package/dist/cjs/intersection-observer/observe.js +1 -112
- package/dist/cjs/intersection-observer/useInView.js +1 -103
- package/dist/cjs/line/Divider.js +1 -34
- package/dist/cjs/line/Divider.liquid.js +4 -33
- package/dist/cjs/line/Line.js +1 -165
- package/dist/cjs/line/Line.liquid.js +17 -146
- package/dist/cjs/line/next.js +1 -15
- package/dist/cjs/line/setting/Line.js +3 -581
- package/dist/cjs/line/setting/index.js +1 -11
- package/dist/cjs/link/components/CustomLink.js +1 -14
- package/dist/cjs/link/components/Link.js +1 -36
- package/dist/cjs/link/components/ProductLink.js +1 -18
- package/dist/cjs/link/components/next-link/CustomLink.js +1 -18
- package/dist/cjs/link/components/next-link/ProductLink.js +1 -22
- package/dist/cjs/link/components/next-link/index.js +1 -29
- package/dist/cjs/link/helpers/url-join.js +1 -56
- package/dist/cjs/link/next.js +1 -15
- package/dist/cjs/link/setting/Link.js +1 -68
- package/dist/cjs/link/setting/index.js +1 -11
- package/dist/cjs/menu/components/DropdownMenu.js +1 -67
- package/dist/cjs/menu/components/MegaMenu.js +1 -67
- package/dist/cjs/menu/components/Menu.js +1 -20
- package/dist/cjs/menu/components/NavigationMenu.js +1 -63
- package/dist/cjs/menu/components/SubMegaMenu.js +1 -46
- package/dist/cjs/menu/components/SubNavigationMenu.js +1 -61
- package/dist/cjs/menu/next.js +1 -15
- package/dist/cjs/menu/setting/Menu.js +1 -216
- package/dist/cjs/menu/setting/index.js +1 -11
- package/dist/cjs/modal/components/Modal.js +1 -98
- package/dist/cjs/modal/components/confirm.js +1 -162
- package/dist/cjs/modal/hooks/useModalContainer.js +1 -21
- package/dist/cjs/modal/next.js +1 -15
- package/dist/cjs/modal/setting/Modal.js +1 -27
- package/dist/cjs/modal/setting/index.js +1 -11
- package/dist/cjs/next.js +1 -87
- package/dist/cjs/notification/components/Notice.js +1 -74
- package/dist/cjs/notification/components/Notifications.js +1 -96
- package/dist/cjs/notification/components/icons/CloseIcon.js +1 -17
- package/dist/cjs/notification/hooks/use-notification.js +1 -120
- package/dist/cjs/pagination/Pagination.js +1 -186
- package/dist/cjs/pagination/next.js +1 -15
- package/dist/cjs/pagination/setting/Pagination.js +1 -72
- package/dist/cjs/pagination/setting/index.js +1 -11
- package/dist/cjs/post-purchase/advanced-list/components/AdvancedListPostPurchase.js +1 -0
- package/dist/cjs/post-purchase/advanced-list/components/PostPurchaseAdvancedListItem.js +1 -0
- package/dist/cjs/post-purchase/advanced-list/next.js +1 -0
- package/dist/cjs/post-purchase/advanced-list/setting/AdvancedListPostPurchase.js +15 -0
- package/dist/cjs/post-purchase/advanced-list/setting/PostPurchaseAdvancedListItem.js +1 -0
- package/dist/cjs/post-purchase/advanced-list/setting/index.js +1 -0
- package/dist/cjs/post-purchase/advanced-list/setting/template.js +1 -0
- package/dist/cjs/post-purchase/button/Button.js +1 -0
- package/dist/cjs/post-purchase/button/next.js +1 -0
- package/dist/cjs/post-purchase/button/setting/Button.js +22 -0
- package/dist/cjs/post-purchase/button/setting/index.js +1 -0
- package/dist/cjs/post-purchase/callout-banner/components/CalloutBox.js +1 -0
- package/dist/cjs/post-purchase/callout-banner/components/CalloutText.js +1 -0
- package/dist/cjs/post-purchase/callout-banner/next.js +1 -0
- package/dist/cjs/post-purchase/callout-banner/setting/CalloutBox.js +66 -0
- package/dist/cjs/post-purchase/callout-banner/setting/CalloutText.js +18 -0
- package/dist/cjs/post-purchase/callout-banner/setting/index.js +1 -0
- package/dist/cjs/post-purchase/countdown-timer/components/PostPurchaseCountdownTimer.js +1 -0
- package/dist/cjs/post-purchase/countdown-timer/components/TextCountdown.js +1 -0
- package/dist/cjs/post-purchase/countdown-timer/hooks/useCountdownTimer.js +1 -0
- package/dist/cjs/post-purchase/countdown-timer/next.js +1 -0
- package/dist/cjs/post-purchase/countdown-timer/settings/CountdownTimer.js +34 -0
- package/dist/cjs/post-purchase/countdown-timer/settings/index.js +1 -0
- package/dist/cjs/post-purchase/image/components/AdaptiveImage.js +1 -0
- package/dist/cjs/post-purchase/image/components/Image.js +1 -0
- package/dist/cjs/post-purchase/image/components/Img.js +1 -0
- package/dist/cjs/post-purchase/image/next.js +1 -0
- package/dist/cjs/post-purchase/image/setting/Image.js +11 -0
- package/dist/cjs/post-purchase/image/setting/index.js +1 -0
- package/dist/cjs/post-purchase/line/components/PostPurchaseLine.js +1 -0
- package/dist/cjs/post-purchase/line/next.js +1 -0
- package/dist/cjs/post-purchase/line/setting/PostPurchaseLine.js +9 -0
- package/dist/cjs/post-purchase/line/setting/index.js +1 -0
- package/dist/cjs/post-purchase/next.js +1 -0
- package/dist/cjs/post-purchase/product/components/AcceptButton.js +1 -0
- package/dist/cjs/post-purchase/product/components/ProductDescription.js +1 -0
- package/dist/cjs/post-purchase/product/components/ProductDiscountTag.js +1 -0
- package/dist/cjs/post-purchase/product/components/ProductOffer.js +1 -0
- package/dist/cjs/post-purchase/product/components/ProductPrice.js +1 -0
- package/dist/cjs/post-purchase/product/components/ProductPriceBreakdown.js +1 -0
- package/dist/cjs/post-purchase/product/components/ProductQuantity.js +1 -0
- package/dist/cjs/post-purchase/product/components/ProductTitle.js +1 -0
- package/dist/cjs/post-purchase/product/components/ProductVariant.js +1 -0
- package/dist/cjs/post-purchase/product/components/priceBreakdown/MoneyLine.js +1 -0
- package/dist/cjs/post-purchase/product/components/product-image/Arrow.js +1 -0
- package/dist/cjs/post-purchase/product/components/product-image/CarouselPostPurchase.js +1 -0
- package/dist/cjs/post-purchase/product/components/product-image/FeatureImage.js +1 -0
- package/dist/cjs/post-purchase/product/components/product-image/ImageListCarousel.js +1 -0
- package/dist/cjs/post-purchase/product/components/product-image/ImageListGrid.js +1 -0
- package/dist/cjs/post-purchase/product/components/product-image/index.js +1 -0
- package/dist/cjs/post-purchase/product/components/product-image/layouts/FeatureImageWithGalleryImage.js +1 -0
- package/dist/cjs/post-purchase/product/components/product-image/layouts/OnlyGalleryImage.js +1 -0
- package/dist/cjs/post-purchase/product/components/variants/Dropdown.js +1 -0
- package/dist/cjs/post-purchase/product/components/variants/DropdownOption.js +1 -0
- package/dist/cjs/post-purchase/product/components/variants/RectangleList.js +1 -0
- package/dist/cjs/post-purchase/product/components/variants/VariantGroup.js +1 -0
- package/dist/cjs/post-purchase/product/components/variants/VariantItem.js +1 -0
- package/dist/cjs/post-purchase/product/components/variants/VariantOption.js +1 -0
- package/dist/cjs/post-purchase/product/helpers/index.js +1 -0
- package/dist/cjs/post-purchase/product/next.js +1 -0
- package/dist/cjs/post-purchase/product/settings/AcceptButton.js +22 -0
- package/dist/cjs/post-purchase/product/settings/ProductDescription.js +9 -0
- package/dist/cjs/post-purchase/product/settings/ProductDiscountTag.js +4 -0
- package/dist/cjs/post-purchase/product/settings/ProductOffer.js +53 -0
- package/dist/cjs/post-purchase/product/settings/ProductPrice.js +15 -0
- package/dist/cjs/post-purchase/product/settings/ProductPriceBreakdown.js +43 -0
- package/dist/cjs/post-purchase/product/settings/ProductQuantity.js +25 -0
- package/dist/cjs/post-purchase/product/settings/ProductTitle.js +9 -0
- package/dist/cjs/post-purchase/product/settings/ProductVariant.js +27 -0
- package/dist/cjs/post-purchase/product/settings/index.js +1 -0
- package/dist/cjs/post-purchase/product/settings/presets-config/product-presets/product-1-col.js +8 -0
- package/dist/cjs/post-purchase/product/settings/presets-config/product-presets/product-2-col.js +11 -0
- package/dist/cjs/post-purchase/product/settings/presets-config/product-presets/product-default.js +12 -0
- package/dist/cjs/post-purchase/product/settings/presets-config/product-presets/product-offer-1-col.js +8 -0
- package/dist/cjs/post-purchase/product/settings/presets-config/product-presets/product-offer-2-col.js +11 -0
- package/dist/cjs/post-purchase/product/settings/presets-config/product-presets/product-offer-default.js +12 -0
- package/dist/cjs/post-purchase/product/settings/product-image/ProductFeatureImage.js +1 -0
- package/dist/cjs/post-purchase/product/settings/product-image/ProductGalleryImage.js +9 -0
- package/dist/cjs/post-purchase/product/settings/product-image/ProductImageLayoutSetting.js +1 -0
- package/dist/cjs/post-purchase/product/settings/product-image/ProductImages.js +21 -0
- package/dist/cjs/post-purchase/text/Text.js +1 -0
- package/dist/cjs/post-purchase/text/index.js +1 -0
- package/dist/cjs/post-purchase/text/next.js +1 -0
- package/dist/cjs/post-purchase/text/setting/Heading.js +3 -0
- package/dist/cjs/post-purchase/text/setting/Text.js +7 -0
- package/dist/cjs/post-purchase/text/setting/index.js +1 -0
- package/dist/cjs/post-purchase/utils/constants.js +1 -0
- package/dist/cjs/post-purchase/utils/helper.js +1 -0
- package/dist/cjs/product/components/DynamicCheckout.js +1 -26
- package/dist/cjs/product/components/DynamicCheckout.liquid.js +59 -106
- package/dist/cjs/product/components/Product.js +1 -98
- package/dist/cjs/product/components/Product.liquid.js +21 -51
- package/dist/cjs/product/components/ProductButton.js +1 -234
- package/dist/cjs/product/components/ProductButton.liquid.js +9 -116
- package/dist/cjs/product/components/ProductDescription.js +2 -107
- package/dist/cjs/product/components/ProductDescription.liquid.js +14 -80
- package/dist/cjs/product/components/ProductImages/ProductFeaturedImage.js +1 -252
- package/dist/cjs/product/components/ProductImages/ProductGalleryCarousel.js +1 -203
- package/dist/cjs/product/components/ProductImages/ProductGalleryGrid.js +1 -163
- package/dist/cjs/product/components/ProductImages/ProductImagesLightBox.js +1 -118
- package/dist/cjs/product/components/ProductImages/common/common.js +1 -112
- package/dist/cjs/product/components/ProductImages/common/productFeaturedImage.js +1 -98
- package/dist/cjs/product/components/ProductImages/common/productGallery.js +1 -199
- package/dist/cjs/product/components/ProductImages/liquid/ProductFeaturedImage.liquid.js +25 -108
- package/dist/cjs/product/components/ProductImages/liquid/ProductGalleryCarousel.liquid.js +9 -108
- package/dist/cjs/product/components/ProductImages/liquid/ProductGalleryGrid.liquid.js +11 -62
- package/dist/cjs/product/components/ProductImages.js +1 -284
- package/dist/cjs/product/components/ProductImages.liquid.js +17 -88
- package/dist/cjs/product/components/ProductImagesV2/common/common.js +1 -210
- package/dist/cjs/product/components/ProductImagesV2/common/hoverAction.js +1 -92
- package/dist/cjs/product/components/ProductImagesV2/common/productFeaturedImage.js +1 -20
- package/dist/cjs/product/components/ProductImagesV2/common/productGallery.js +1 -236
- package/dist/cjs/product/components/ProductImagesV2/jsx/ProductImages.js +11 -216
- package/dist/cjs/product/components/ProductImagesV2/jsx/components/ButtonOpenLightBox.js +1 -27
- package/dist/cjs/product/components/ProductImagesV2/jsx/components/MediaIcon.js +1 -62
- package/dist/cjs/product/components/ProductImagesV2/jsx/components/ProductFeaturedImageCarousel.js +1 -268
- package/dist/cjs/product/components/ProductImagesV2/jsx/components/ProductGalleryCarousel.js +1 -261
- package/dist/cjs/product/components/ProductImagesV2/jsx/components/ProductGalleryGrid.js +1 -158
- package/dist/cjs/product/components/ProductImagesV2/jsx/components/ProductImagesLightBox.js +1 -118
- package/dist/cjs/product/components/ProductImagesV2/jsx/layouts/FeatureImageWithGallery.js +1 -153
- package/dist/cjs/product/components/ProductImagesV2/jsx/layouts/GalleryOneCol.js +1 -24
- package/dist/cjs/product/components/ProductImagesV2/jsx/layouts/GalleryTwoCol.js +1 -24
- package/dist/cjs/product/components/ProductImagesV2/jsx/layouts/OnlyFeatureImage.js +1 -32
- package/dist/cjs/product/components/ProductImagesV2/liquid/ProductFeaturedImageCarousel.liquid.js +32 -299
- package/dist/cjs/product/components/ProductImagesV2/liquid/ProductGalleryCarousel.liquid.js +11 -230
- package/dist/cjs/product/components/ProductImagesV2/liquid/ProductGalleryGrid.liquid.js +28 -207
- package/dist/cjs/product/components/ProductImagesV2/liquid/ProductImages.liquid.js +23 -75
- package/dist/cjs/product/components/ProductList.js +1 -206
- package/dist/cjs/product/components/ProductList.liquid.js +135 -168
- package/dist/cjs/product/components/ProductNotFound.js +1 -141
- package/dist/cjs/product/components/ProductPrice.js +1 -71
- package/dist/cjs/product/components/ProductPrice.liquid.js +13 -50
- package/dist/cjs/product/components/ProductProperties/ProductPropertyChoice.js +1 -56
- package/dist/cjs/product/components/ProductProperties/ProductPropertyChoice.liquid.js +13 -53
- package/dist/cjs/product/components/ProductProperties/ProductPropertyInput.js +1 -61
- package/dist/cjs/product/components/ProductProperties/ProductPropertyInput.liquid.js +12 -110
- package/dist/cjs/product/components/ProductProperties/ProductPropertySelect.js +1 -41
- package/dist/cjs/product/components/ProductProperties/ProductPropertySelect.liquid.js +12 -49
- package/dist/cjs/product/components/ProductProperties.js +1 -268
- package/dist/cjs/product/components/ProductProperties.liquid.js +16 -77
- package/dist/cjs/product/components/ProductQuantity.js +1 -197
- package/dist/cjs/product/components/ProductQuantity.liquid.js +17 -112
- package/dist/cjs/product/components/ProductQuickView/ProductQuickView.js +1 -158
- package/dist/cjs/product/components/ProductQuickView/index.js +1 -20
- package/dist/cjs/product/components/ProductTag.js +1 -114
- package/dist/cjs/product/components/ProductTag.liquid.js +22 -82
- package/dist/cjs/product/components/ProductTitle.js +1 -40
- package/dist/cjs/product/components/ProductTitle.liquid.js +7 -35
- package/dist/cjs/product/components/ProductVariants/common.js +1 -68
- package/dist/cjs/product/components/ProductVariants/index.js +1 -311
- package/dist/cjs/product/components/ProductVariants/index.liquid.js +28 -191
- package/dist/cjs/product/components/ProductVariants/utils/mappingVariantStyles.js +1 -0
- package/dist/cjs/product/components/ProductVariants/variants/Base.js +11 -264
- package/dist/cjs/product/components/ProductVariants/variants/Base.liquid.js +19 -122
- package/dist/cjs/product/components/ProductVariants/variants/Color.js +1 -22
- package/dist/cjs/product/components/ProductVariants/variants/Color.liquid.js +3 -17
- package/dist/cjs/product/components/ProductVariants/variants/Dropdown.js +1 -148
- package/dist/cjs/product/components/ProductVariants/variants/Dropdown.liquid.js +11 -53
- package/dist/cjs/product/components/ProductVariants/variants/DropdownGroup.liquid.js +17 -59
- package/dist/cjs/product/components/ProductVariants/variants/DropdownOption.js +1 -21
- package/dist/cjs/product/components/ProductVariants/variants/Image.js +1 -22
- package/dist/cjs/product/components/ProductVariants/variants/Image.liquid.js +3 -17
- package/dist/cjs/product/components/ProductVariants/variants/ImageShopify.js +1 -39
- package/dist/cjs/product/components/ProductVariants/variants/ImageShopify.liquid.js +3 -17
- package/dist/cjs/product/components/ProductVariants/variants/RadioButtons.js +1 -62
- package/dist/cjs/product/components/ProductVariants/variants/RectangleList.js +1 -68
- package/dist/cjs/product/components/ProductVariants/variants/VariantGroup.js +1 -38
- package/dist/cjs/product/components/ProductVariants/variants/VariantOption/index.js +1 -20
- package/dist/cjs/product/components/ProductVariants/variants/index.js +1 -113
- package/dist/cjs/product/components/ProductVariants/variants/index.liquid.js +27 -75
- package/dist/cjs/product/components/SalePageProductListWarning.js +1 -0
- package/dist/cjs/product/components/Vendor.js +1 -38
- package/dist/cjs/product/components/Vendor.liquid.js +7 -35
- package/dist/cjs/product/helpers/function.js +1 -42
- package/dist/cjs/product/helpers/product-image.js +1 -33
- package/dist/cjs/product/helpers/product.js +1 -56
- package/dist/cjs/product/helpers/tracking.js +1 -11
- package/dist/cjs/product/next.js +1 -73
- package/dist/cjs/product/setting/DynamicCheckout.js +3 -551
- package/dist/cjs/product/setting/Product.js +35 -381
- package/dist/cjs/product/setting/ProductButton.js +4 -1079
- package/dist/cjs/product/setting/ProductDescription.js +2 -299
- package/dist/cjs/product/setting/ProductImages.js +5 -1201
- package/dist/cjs/product/setting/ProductList.js +3 -1197
- package/dist/cjs/product/setting/ProductPrice.js +4 -357
- package/dist/cjs/product/setting/ProductProperties.js +3 -975
- package/dist/cjs/product/setting/ProductQuantity.js +3 -610
- package/dist/cjs/product/setting/ProductTag.js +2 -250
- package/dist/cjs/product/setting/ProductTitle.js +3 -352
- package/dist/cjs/product/setting/ProductVariants.js +4 -1423
- package/dist/cjs/product/setting/Vendor.js +3 -338
- package/dist/cjs/product/setting/index.js +1 -37
- package/dist/cjs/product/setting/presets-config/product-presets/product-1-col.js +9 -275
- package/dist/cjs/product/setting/presets-config/product-presets/product-2-col.js +12 -283
- package/dist/cjs/product/setting/presets-config/product-presets/product-default.js +13 -283
- package/dist/cjs/product/setting/product-image-v2/ProductFeatureImage.js +2 -522
- package/dist/cjs/product/setting/product-image-v2/ProductGalleryImage.js +2 -648
- package/dist/cjs/product/setting/product-image-v2/ProductImages.js +4 -439
- package/dist/cjs/product/setting/swatches-style-config/color.js +1 -0
- package/dist/cjs/product/setting/swatches-style-config/dropdown.js +1 -0
- package/dist/cjs/product/setting/swatches-style-config/image-shopify.js +1 -0
- package/dist/cjs/product/setting/swatches-style-config/image.js +1 -0
- package/dist/cjs/product/setting/swatches-style-config/rectangle-list.js +1 -0
- package/dist/cjs/radio/Radio.js +1 -37
- package/dist/cjs/radio/next.js +1 -15
- package/dist/cjs/radio/setting/Radio.js +1 -70
- package/dist/cjs/radio/setting/index.js +1 -11
- package/dist/cjs/select/Select.js +2 -60
- package/dist/cjs/select/next.js +1 -15
- package/dist/cjs/select/setting/index.js +1 -11
- package/dist/cjs/sticky/components/Sticky.js +1 -160
- package/dist/cjs/sticky/components/Sticky.liquid.js +10 -77
- package/dist/cjs/sticky/next.js +1 -15
- package/dist/cjs/sticky/setting/Sticky.js +1 -234
- package/dist/cjs/sticky/setting/index.js +1 -11
- package/dist/cjs/sticky/setting/preset-config.js +2 -878
- package/dist/cjs/stock-counter/components/StockCounter.js +1 -115
- package/dist/cjs/stock-counter/components/StockCounter.liquid.js +23 -104
- package/dist/cjs/stock-counter/const.js +1 -36
- package/dist/cjs/stock-counter/helpers.js +5 -64
- package/dist/cjs/stock-counter/next.js +1 -15
- package/dist/cjs/stock-counter/setting/StockCounter.js +4 -628
- package/dist/cjs/stock-counter/setting/index.js +1 -11
- package/dist/cjs/tab/components/TabItem.js +1 -24
- package/dist/cjs/tab/components/TabItem.liquid.js +6 -23
- package/dist/cjs/tab/components/Tabs.js +1 -133
- package/dist/cjs/tab/components/Tabs.liquid.js +18 -83
- package/dist/cjs/tab/components/common.js +1 -43
- package/dist/cjs/tab/next.js +1 -19
- package/dist/cjs/tab/setting/TabItem.js +2 -33
- package/dist/cjs/tab/setting/Tabs.js +3 -573
- package/dist/cjs/tab/setting/index.js +1 -13
- package/dist/cjs/text/components/Text.js +1 -99
- package/dist/cjs/text/components/Text.liquid.js +10 -88
- package/dist/cjs/text/index.js +1 -10
- package/dist/cjs/text/next.js +1 -15
- package/dist/cjs/text/setting/Text.js +3 -418
- package/dist/cjs/text/setting/index.js +1 -11
- package/dist/cjs/textarea/Textarea.js +1 -38
- package/dist/cjs/textarea/next.js +1 -15
- package/dist/cjs/textarea/setting/Textarea.js +2 -107
- package/dist/cjs/textarea/setting/index.js +1 -11
- package/dist/cjs/third-party/components/AliReviews/AliReviewsSampleContent.js +1 -28
- package/dist/cjs/third-party/components/AliReviews.js +1 -22
- package/dist/cjs/third-party/components/AliReviews.liquid.js +8 -21
- package/dist/cjs/third-party/components/AppstleSubscriptions/AppstleSubscriptionsSampleContent.js +1 -23
- package/dist/cjs/third-party/components/AppstleSubscriptions.js +1 -22
- package/dist/cjs/third-party/components/AppstleSubscriptions.liquid.js +4 -17
- package/dist/cjs/third-party/components/BoldProductOptions/BoldProductOptionsSampleContent.js +1 -23
- package/dist/cjs/third-party/components/BoldProductOptions.js +1 -22
- package/dist/cjs/third-party/components/BoldProductOptions.liquid.js +4 -17
- package/dist/cjs/third-party/components/BoldSubscriptions/BoldSubscriptionsSampleContent.js +1 -34
- package/dist/cjs/third-party/components/BoldSubscriptions.js +1 -22
- package/dist/cjs/third-party/components/BoldSubscriptions.liquid.js +5 -18
- package/dist/cjs/third-party/components/BoostAISearchDiscovery/BoostAISearchDiscoverySampleContent.js +1 -23
- package/dist/cjs/third-party/components/BoostAISearchDiscovery.js +1 -22
- package/dist/cjs/third-party/components/BoostAISearchDiscovery.liquid.js +5 -17
- package/dist/cjs/third-party/components/Bundler/BundlerSampleContent.js +1 -23
- package/dist/cjs/third-party/components/Bundler.js +1 -24
- package/dist/cjs/third-party/components/Bundler.liquid.js +5 -22
- package/dist/cjs/third-party/components/CrossSellCartUpsell/CrossSellCartUpsellSampleContent.js +1 -23
- package/dist/cjs/third-party/components/CrossSellCartUpsell.js +1 -22
- package/dist/cjs/third-party/components/CrossSellCartUpsell.liquid.js +5 -24
- package/dist/cjs/third-party/components/FeraReviews/FeraReviewsSampleContent.js +1 -49
- package/dist/cjs/third-party/components/FeraReviews/LiquidTemplateByWidget.js +1 -52
- package/dist/cjs/third-party/components/FeraReviews.js +1 -27
- package/dist/cjs/third-party/components/FeraReviews.liquid.js +5 -20
- package/dist/cjs/third-party/components/FirePush/FirePushSampleContent.js +1 -21
- package/dist/cjs/third-party/components/FirePush.js +1 -22
- package/dist/cjs/third-party/components/FirePush.liquid.js +4 -17
- package/dist/cjs/third-party/components/FrequentlyBoughtTogether/FrequentlyBoughtTogetherSampleContent.js +1 -23
- package/dist/cjs/third-party/components/FrequentlyBoughtTogether.js +1 -24
- package/dist/cjs/third-party/components/FrequentlyBoughtTogether.liquid.js +5 -18
- package/dist/cjs/third-party/components/Growave/GrowaveSampleContent.js +1 -38
- package/dist/cjs/third-party/components/Growave.js +1 -22
- package/dist/cjs/third-party/components/Growave.liquid.js +5 -18
- package/dist/cjs/third-party/components/InfiniteOptions/InfiniteOptionsSampleContent.js +1 -23
- package/dist/cjs/third-party/components/InfiniteOptions.js +1 -22
- package/dist/cjs/third-party/components/InfiniteOptions.liquid.js +4 -16
- package/dist/cjs/third-party/components/Instafeed/InstafeedSampleContent.js +1 -23
- package/dist/cjs/third-party/components/Instafeed.js +1 -22
- package/dist/cjs/third-party/components/Instafeed.liquid.js +4 -17
- package/dist/cjs/third-party/components/Judgeme/JudgemeSampleContent.js +1 -39
- package/dist/cjs/third-party/components/JudgemeReviews.js +1 -23
- package/dist/cjs/third-party/components/JudgemeReviews.liquid.js +5 -18
- package/dist/cjs/third-party/components/KachingBundles/KachingBundlesSampleContent.js +1 -27
- package/dist/cjs/third-party/components/KachingBundles.js +1 -22
- package/dist/cjs/third-party/components/KachingBundles.liquid.js +4 -17
- package/dist/cjs/third-party/components/Klaviyo/KlaviyoSampleContent.js +1 -23
- package/dist/cjs/third-party/components/Klaviyo.js +1 -30
- package/dist/cjs/third-party/components/Klaviyo.liquid.js +5 -19
- package/dist/cjs/third-party/components/LaiProductReviews/LaiProductReviewsSampleContent.js +1 -58
- package/dist/cjs/third-party/components/LaiProductReviews/LiquidTemplateByWiget.js +10 -43
- package/dist/cjs/third-party/components/LaiProductReviews.js +1 -24
- package/dist/cjs/third-party/components/LaiProductReviews.liquid.js +5 -21
- package/dist/cjs/third-party/components/LooxReviews/LooxReviewsSampleContent.js +1 -35
- package/dist/cjs/third-party/components/LooxReviews.js +1 -22
- package/dist/cjs/third-party/components/LooxReviews.liquid.js +9 -51
- package/dist/cjs/third-party/components/Omnisend/OmnisendSampleContent.js +1 -34
- package/dist/cjs/third-party/components/Omnisend.js +1 -22
- package/dist/cjs/third-party/components/Omnisend.liquid.js +9 -22
- package/dist/cjs/third-party/components/Opinew/OpinewSampleContent.js +1 -33
- package/dist/cjs/third-party/components/Opinew.js +1 -22
- package/dist/cjs/third-party/components/Opinew.liquid.js +6 -19
- package/dist/cjs/third-party/components/ParcelPanel/ParcelPanelSampleContent.js +1 -23
- package/dist/cjs/third-party/components/ParcelPanel.js +1 -22
- package/dist/cjs/third-party/components/ParcelPanel.liquid.js +4 -17
- package/dist/cjs/third-party/components/PickyStory/PickyStorySampleContent.js +1 -36
- package/dist/cjs/third-party/components/PickyStory.js +1 -22
- package/dist/cjs/third-party/components/PickyStory.liquid.js +5 -18
- package/dist/cjs/third-party/components/ProductReviews/ProductReviewsSampleContent.js +1 -29
- package/dist/cjs/third-party/components/ProductReviews.js +1 -22
- package/dist/cjs/third-party/components/ProductReviews.liquid.js +5 -18
- package/dist/cjs/third-party/components/Rivyo/RivyoSampleContent.js +1 -36
- package/dist/cjs/third-party/components/Rivyo.js +1 -22
- package/dist/cjs/third-party/components/Rivyo.liquid.js +5 -18
- package/dist/cjs/third-party/components/Ryviu/RyviuSampleContent.js +1 -37
- package/dist/cjs/third-party/components/Ryviu.js +1 -22
- package/dist/cjs/third-party/components/Ryviu.liquid.js +5 -18
- package/dist/cjs/third-party/components/SealSubscriptions/SealSubscriptionsSampleContent.js +1 -23
- package/dist/cjs/third-party/components/SealSubscriptions.js +1 -22
- package/dist/cjs/third-party/components/SealSubscriptions.liquid.js +4 -17
- package/dist/cjs/third-party/components/SmartSearchBarAndFilters/SmartSearchBarAndFiltersSampleContent.js +1 -23
- package/dist/cjs/third-party/components/SmartSearchBarAndFilters.js +1 -24
- package/dist/cjs/third-party/components/SmartSearchBarAndFilters.liquid.js +6 -20
- package/dist/cjs/third-party/components/Stamped/LiquidTemplateByWidget.js +92 -174
- package/dist/cjs/third-party/components/Stamped/StampedSampleContent.js +1 -46
- package/dist/cjs/third-party/components/Stamped.js +1 -22
- package/dist/cjs/third-party/components/Stamped.liquid.js +5 -20
- package/dist/cjs/third-party/components/ThirdPartyPreview.js +1 -73
- package/dist/cjs/third-party/components/TrustMe/TrustMeSampleContent.js +1 -23
- package/dist/cjs/third-party/components/TrustMe.js +1 -22
- package/dist/cjs/third-party/components/TrustMe.liquid.js +4 -17
- package/dist/cjs/third-party/components/Trustoo/TrustooSampleContent.js +1 -35
- package/dist/cjs/third-party/components/Trustoo.js +1 -22
- package/dist/cjs/third-party/components/Trustoo.liquid.js +6 -19
- package/dist/cjs/third-party/components/UltimateSalesBoost/UltimateSalesBoostSampleContent.js +1 -33
- package/dist/cjs/third-party/components/UltimateSalesBoost.js +1 -22
- package/dist/cjs/third-party/components/UltimateSalesBoost.liquid.js +5 -18
- package/dist/cjs/third-party/components/Vitals/VitalsSampleContent.js +1 -51
- package/dist/cjs/third-party/components/Vitals.js +1 -22
- package/dist/cjs/third-party/components/Vitals.liquid.js +5 -18
- package/dist/cjs/third-party/components/WideBundle/WideBundleSampleContent.js +1 -23
- package/dist/cjs/third-party/components/WideBundle.js +1 -22
- package/dist/cjs/third-party/components/WideBundle.liquid.js +4 -17
- package/dist/cjs/third-party/components/Wiser/WiserSampleContent.js +1 -57
- package/dist/cjs/third-party/components/Wiser.js +1 -27
- package/dist/cjs/third-party/components/Wiser.liquid.js +5 -19
- package/dist/cjs/third-party/components/YotpoLoyalty/YotpoLoyaltySampleContent.js +1 -23
- package/dist/cjs/third-party/components/YotpoLoyalty.js +1 -43
- package/dist/cjs/third-party/components/YotpoReviews/YotpoReviewsSampleContent.js +1 -35
- package/dist/cjs/third-party/components/YotpoReviews.js +1 -22
- package/dist/cjs/third-party/components/YotpoReviews.liquid.js +6 -19
- package/dist/cjs/third-party/configs/AliReviews.js +1 -12
- package/dist/cjs/third-party/configs/AppstleSubscriptions.js +1 -12
- package/dist/cjs/third-party/configs/BoldProductOptions.js +1 -12
- package/dist/cjs/third-party/configs/BoldSubscription.js +1 -12
- package/dist/cjs/third-party/configs/BoostAISearchDiscovery.js +1 -12
- package/dist/cjs/third-party/configs/Bundler.js +1 -12
- package/dist/cjs/third-party/configs/CrossSellCartUpsell.js +1 -12
- package/dist/cjs/third-party/configs/FeraReviews.js +1 -12
- package/dist/cjs/third-party/configs/FirePush.js +1 -12
- package/dist/cjs/third-party/configs/FrequentlyBoughtTogether.js +1 -12
- package/dist/cjs/third-party/configs/Growave.js +1 -12
- package/dist/cjs/third-party/configs/InfiniteOptions.js +1 -12
- package/dist/cjs/third-party/configs/Instafeed.js +1 -12
- package/dist/cjs/third-party/configs/JudgemeReviews.js +1 -12
- package/dist/cjs/third-party/configs/KachingBundles.js +1 -12
- package/dist/cjs/third-party/configs/Klaviyo.js +1 -12
- package/dist/cjs/third-party/configs/LaiProductReviews.js +1 -12
- package/dist/cjs/third-party/configs/LooxReviews.js +1 -12
- package/dist/cjs/third-party/configs/Omnisend.js +1 -12
- package/dist/cjs/third-party/configs/Opinew.js +1 -12
- package/dist/cjs/third-party/configs/ParcelPanel.js +1 -12
- package/dist/cjs/third-party/configs/PickyStory.js +1 -12
- package/dist/cjs/third-party/configs/ProductReviews.js +1 -12
- package/dist/cjs/third-party/configs/Rivyo.js +1 -12
- package/dist/cjs/third-party/configs/Ryviu.js +1 -12
- package/dist/cjs/third-party/configs/SealSubscriptions.js +1 -12
- package/dist/cjs/third-party/configs/SmartSearchBarAndFilters.js +1 -12
- package/dist/cjs/third-party/configs/Stamped.js +1 -12
- package/dist/cjs/third-party/configs/TrustMe.js +1 -12
- package/dist/cjs/third-party/configs/Trustoo.js +1 -12
- package/dist/cjs/third-party/configs/UltimateSalesBoost.js +1 -12
- package/dist/cjs/third-party/configs/Vitals.js +1 -12
- package/dist/cjs/third-party/configs/WideBundle.js +1 -12
- package/dist/cjs/third-party/configs/Wiser.js +1 -12
- package/dist/cjs/third-party/configs/YotpoLoyalty.js +1 -12
- package/dist/cjs/third-party/configs/YotpoReviews.js +1 -12
- package/dist/cjs/third-party/helpers/thirdParty.js +1 -36
- package/dist/cjs/third-party/next.js +1 -206
- package/dist/cjs/third-party/setting/AliReviews.js +2 -166
- package/dist/cjs/third-party/setting/AppstleSubscriptions.js +2 -95
- package/dist/cjs/third-party/setting/BoldProductOptions.js +2 -81
- package/dist/cjs/third-party/setting/BoldSubscriptions.js +2 -106
- package/dist/cjs/third-party/setting/BoostAISearchDiscovery.js +2 -84
- package/dist/cjs/third-party/setting/Bundler.js +2 -99
- package/dist/cjs/third-party/setting/CrossSellCartUpsell.js +2 -81
- package/dist/cjs/third-party/setting/FeraReviews.js +2 -392
- package/dist/cjs/third-party/setting/FirePush.js +2 -81
- package/dist/cjs/third-party/setting/FrequentlyBoughtTogether.js +3 -100
- package/dist/cjs/third-party/setting/Growave.js +2 -138
- package/dist/cjs/third-party/setting/InfiniteOptions.js +2 -81
- package/dist/cjs/third-party/setting/Instafeed.js +2 -87
- package/dist/cjs/third-party/setting/JudgemeReviews.js +2 -151
- package/dist/cjs/third-party/setting/KachingBundles.js +2 -86
- package/dist/cjs/third-party/setting/Klaviyo.js +2 -96
- package/dist/cjs/third-party/setting/LaiProductReviews.js +2 -202
- package/dist/cjs/third-party/setting/LooxReviews.js +2 -145
- package/dist/cjs/third-party/setting/Omnisend.js +2 -146
- package/dist/cjs/third-party/setting/Opinew.js +2 -190
- package/dist/cjs/third-party/setting/ParcelPanel.js +2 -90
- package/dist/cjs/third-party/setting/PickyStory.js +2 -114
- package/dist/cjs/third-party/setting/ProductReviews.js +2 -106
- package/dist/cjs/third-party/setting/Rivyo.js +2 -114
- package/dist/cjs/third-party/setting/Ryviu.js +2 -118
- package/dist/cjs/third-party/setting/SealSubscriptions.js +2 -95
- package/dist/cjs/third-party/setting/SmartSearchBarAndFilters.js +2 -96
- package/dist/cjs/third-party/setting/Stamped/Badge.js +1 -117
- package/dist/cjs/third-party/setting/Stamped/BadgeDouble.js +1 -22
- package/dist/cjs/third-party/setting/Stamped/BadgeRibbon.js +1 -61
- package/dist/cjs/third-party/setting/Stamped/BadgeSingle.js +1 -22
- package/dist/cjs/third-party/setting/Stamped/Carousel.js +1 -126
- package/dist/cjs/third-party/setting/Stamped/CheckoutReviews.js +1 -107
- package/dist/cjs/third-party/setting/Stamped/Colors.js +1 -58
- package/dist/cjs/third-party/setting/Stamped/Filters.js +1 -250
- package/dist/cjs/third-party/setting/Stamped/FullPage.js +1 -90
- package/dist/cjs/third-party/setting/Stamped/InstagramFeed.js +1 -111
- package/dist/cjs/third-party/setting/Stamped/MainWidget.js +1 -145
- package/dist/cjs/third-party/setting/Stamped/ProductRating.js +1 -73
- package/dist/cjs/third-party/setting/Stamped/SingleHighlight.js +1 -22
- package/dist/cjs/third-party/setting/Stamped/SiteBadge.js +1 -146
- package/dist/cjs/third-party/setting/Stamped/TopRated.js +1 -37
- package/dist/cjs/third-party/setting/Stamped/VisualGallery.js +1 -129
- package/dist/cjs/third-party/setting/Stamped/WallPhotos.js +1 -31
- package/dist/cjs/third-party/setting/Stamped/index.js +1 -51
- package/dist/cjs/third-party/setting/Stamped.js +2 -105
- package/dist/cjs/third-party/setting/TrustMe.js +2 -81
- package/dist/cjs/third-party/setting/Trustoo.js +2 -165
- package/dist/cjs/third-party/setting/UltimateSalesBoost.js +2 -180
- package/dist/cjs/third-party/setting/Vitals.js +3 -338
- package/dist/cjs/third-party/setting/WideBundle.js +2 -81
- package/dist/cjs/third-party/setting/Wiser.js +2 -223
- package/dist/cjs/third-party/setting/YotpoLoyalty.js +2 -79
- package/dist/cjs/third-party/setting/YotpoReviews.js +2 -124
- package/dist/cjs/third-party/setting/index.js +1 -87
- package/dist/cjs/third-party-instant/components/InstantJudgemeReviews.js +1 -75
- package/dist/cjs/third-party-instant/components/InstantKlaviyo.js +1 -47
- package/dist/cjs/third-party-instant/components/InstantLooxReviews.js +1 -36
- package/dist/cjs/third-party-instant/components/InstantThirdPartyPreview.js +1 -70
- package/dist/cjs/third-party-instant/components/InstantYotpoLoyalty.js +1 -43
- package/dist/cjs/third-party-instant/components/Judgeme/JudgemeSampleContent.js +1 -23
- package/dist/cjs/third-party-instant/components/Judgeme/SingleProduct.js +1 -48
- package/dist/cjs/third-party-instant/components/Judgeme/WithoutProduct.js +1 -93
- package/dist/cjs/third-party-instant/components/Klaviyo/KlaviyoSampleContent.js +1 -23
- package/dist/cjs/third-party-instant/components/LooxReviews/LooxReviewsSampleContent.js +2 -24
- package/dist/cjs/third-party-instant/components/LooxReviews/SingleProduct.js +1 -51
- package/dist/cjs/third-party-instant/components/LooxReviews/WithoutProduct.js +1 -55
- package/dist/cjs/third-party-instant/components/YotpoLoyalty/YotpoLoyaltySampleContent.js +1 -23
- package/dist/cjs/third-party-instant/configs/JudgemeReviews.js +1 -12
- package/dist/cjs/third-party-instant/configs/Klaviyo.js +1 -12
- package/dist/cjs/third-party-instant/configs/LooxReviews.js +1 -12
- package/dist/cjs/third-party-instant/configs/YotpoLoyalty.js +1 -12
- package/dist/cjs/third-party-instant/helpers/thirdParty.js +1 -74
- package/dist/cjs/third-party-instant/next.js +1 -32
- package/dist/cjs/third-party-instant/setting/InstantJudgemeReviews.js +2 -157
- package/dist/cjs/third-party-instant/setting/InstantKlaviyo.js +2 -95
- package/dist/cjs/third-party-instant/setting/InstantLooxReviews.js +2 -118
- package/dist/cjs/third-party-instant/setting/InstantYotpoLoyalty.js +2 -95
- package/dist/cjs/third-party-instant/setting/index.js +1 -17
- package/dist/cjs/third-party-instant/types/JudgemeReviews.js +1 -13
- package/dist/cjs/third-party-slot/components/ThirdPartySlot.js +1 -51
- package/dist/cjs/third-party-slot/components/ThirdPartySlot.liquid.js +9 -25
- package/dist/cjs/third-party-slot/next.js +1 -15
- package/dist/cjs/third-party-slot/setting/ThirdPartySlot.js +2 -105
- package/dist/cjs/third-party-slot/setting/index.js +1 -11
- package/dist/cjs/video/components/HTML5Embed.js +1 -43
- package/dist/cjs/video/components/HTML5Embed.liquid.js +21 -49
- package/dist/cjs/video/components/LiteVimeoEmbed.js +1 -117
- package/dist/cjs/video/components/LiteVimeoEmbed.liquid.js +13 -48
- package/dist/cjs/video/components/LiteYouTubeEmbed.js +1 -195
- package/dist/cjs/video/components/LiteYouTubeEmbed.liquid.js +15 -53
- package/dist/cjs/video/components/Video.js +1 -138
- package/dist/cjs/video/components/Video.liquid.js +6 -118
- package/dist/cjs/video/helpers/common.js +1 -46
- package/dist/cjs/video/next.js +1 -15
- package/dist/cjs/video/setting/Video.js +3 -451
- package/dist/cjs/video/setting/index.js +1 -11
- package/dist/esm/accordion/components/Accordion.js +1 -134
- package/dist/esm/accordion/components/Accordion.liquid.js +11 -99
- package/dist/esm/accordion/components/AccordionItem.js +4 -291
- package/dist/esm/accordion/components/AccordionItem.liquid.js +38 -219
- package/dist/esm/accordion/hooks/useMountTransition.js +1 -23
- package/dist/esm/accordion/next.js +1 -15
- package/dist/esm/accordion/setting/Accordion.js +15 -1351
- package/dist/esm/accordion/setting/AccordionItem.js +1 -30
- package/dist/esm/accordion/setting/ItemTemplate.js +1 -46
- package/dist/esm/accordion/setting/index.js +1 -9
- package/dist/esm/banner/components/hero-banner/index.js +1 -243
- package/dist/esm/banner/components/hero-banner/index.liquid.js +22 -163
- package/dist/esm/banner/helpers/common.js +1 -269
- package/dist/esm/banner/next.js +1 -11
- package/dist/esm/banner/setting/HeroBanner.js +19 -975
- package/dist/esm/banner/setting/index.js +1 -7
- package/dist/esm/banner/setting/presets/heroBanner1Col.js +2 -108
- package/dist/esm/banner/setting/presets/heroBannerContentLeft.js +2 -129
- package/dist/esm/banner/setting/presets/heroBannerContentRight.js +2 -129
- package/dist/esm/breadcrumb/components/Breadcrumb.js +1 -45
- package/dist/esm/breadcrumb/next.js +1 -11
- package/dist/esm/breadcrumb/setting/Breadcrumb.js +1 -34
- package/dist/esm/breadcrumb/setting/index.js +1 -7
- package/dist/esm/builder.js +1 -275
- package/dist/esm/button/components/Button.js +8 -134
- package/dist/esm/button/components/Button.liquid.js +27 -144
- package/dist/esm/button/next.js +1 -11
- package/dist/esm/button/setting/Button.js +4 -766
- package/dist/esm/button/setting/index.js +1 -7
- package/dist/esm/carousel/components/Arrow.js +10 -92
- package/dist/esm/carousel/components/Arrow.liquid.js +28 -75
- package/dist/esm/carousel/components/Carousel.js +1 -502
- package/dist/esm/carousel/components/Carousel.liquid.js +15 -216
- package/dist/esm/carousel/components/CarouselItem.js +1 -68
- package/dist/esm/carousel/components/CarouselItem.liquid.js +7 -72
- package/dist/esm/carousel/components/Dots.js +1 -64
- package/dist/esm/carousel/components/Dots.liquid.js +4 -19
- package/dist/esm/carousel/components/common/arrow.js +1 -121
- package/dist/esm/carousel/components/common/carousel.js +1 -94
- package/dist/esm/carousel/components/common/dots.js +1 -51
- package/dist/esm/carousel/components/hooks/useTrackPreviewPause.js +1 -30
- package/dist/esm/carousel/components/plugins/AnimationPlugin.js +1 -36
- package/dist/esm/carousel/components/plugins/AutoPlayPlugin.js +1 -62
- package/dist/esm/carousel/components/plugins/FixSliderMoveBackwards.js +1 -13
- package/dist/esm/carousel/components/plugins/MutationPlugin.js +1 -43
- package/dist/esm/carousel/next.js +1 -15
- package/dist/esm/carousel/setting/Carousel.js +7 -1377
- package/dist/esm/carousel/setting/CarouselItem.js +1 -36
- package/dist/esm/carousel/setting/index.js +1 -9
- package/dist/esm/cart/components/Cart.js +1 -80
- package/dist/esm/cart/components/CartCheckout.js +1 -14
- package/dist/esm/cart/components/CartDiscount.js +1 -9
- package/dist/esm/cart/components/CartLineAttribute.js +1 -26
- package/dist/esm/cart/components/CartLineImage.js +1 -40
- package/dist/esm/cart/components/CartLinePrice.js +1 -41
- package/dist/esm/cart/components/CartLineVariant.js +1 -23
- package/dist/esm/cart/components/CartList.js +1 -32
- package/dist/esm/cart/components/CartOrderNote.js +1 -42
- package/dist/esm/cart/components/CartTotalItem.js +1 -19
- package/dist/esm/cart/components/CartTotalPrice.js +1 -51
- package/dist/esm/cart/components/CheckoutNow.js +1 -37
- package/dist/esm/cart/components/CouponList.js +1 -11
- package/dist/esm/cart/components/DiscountInput.js +1 -23
- package/dist/esm/cart/components/ShopPayButton/ShopPayButtonCommon.js +1 -17
- package/dist/esm/cart/components/ShopPayButton/icons/BaseIcon.js +1 -12
- package/dist/esm/cart/components/ShopPayButton/icons/BaseIcon.liquid.js +4 -12
- package/dist/esm/cart/components/ShopPayButton/icons/DynamicCheckoutBlack.js +1 -46
- package/dist/esm/cart/components/ShopPayButton/icons/DynamicCheckoutBlack.liquid.js +4 -17
- package/dist/esm/cart/components/ShopPayButton/icons/DynamicCheckoutPurple.js +1 -46
- package/dist/esm/cart/components/ShopPayButton/icons/DynamicCheckoutPurple.liquid.js +4 -17
- package/dist/esm/cart/components/ShopPayButton/icons/DynamicCheckoutWhite.js +1 -44
- package/dist/esm/cart/components/ShopPayButton/icons/DynamicCheckoutWhite.liquid.js +4 -17
- package/dist/esm/cart/components/ShopPayButton/icons/ExpressCheckoutBlack.js +1 -42
- package/dist/esm/cart/components/ShopPayButton/icons/ExpressCheckoutBlack.liquid.js +4 -17
- package/dist/esm/cart/components/ShopPayButton/icons/ExpressCheckoutPurple.js +1 -42
- package/dist/esm/cart/components/ShopPayButton/icons/ExpressCheckoutPurple.liquid.js +4 -17
- package/dist/esm/cart/components/ShopPayButton/icons/ExpressCheckoutWhite.js +1 -42
- package/dist/esm/cart/components/ShopPayButton/icons/ExpressCheckoutWhite.liquid.js +4 -17
- package/dist/esm/cart/components/ShopPayButton/index.js +1 -108
- package/dist/esm/cart/components/ShopPayButton/index.liquid.js +8 -38
- package/dist/esm/cart/next.js +1 -69
- package/dist/esm/cart/setting/Cart.js +3 -63
- package/dist/esm/cart/setting/CartCheckout.js +1 -16
- package/dist/esm/cart/setting/CartDiscount.js +1 -16
- package/dist/esm/cart/setting/CartLineAttribute.js +1 -25
- package/dist/esm/cart/setting/CartLineImage.js +1 -161
- package/dist/esm/cart/setting/CartLinePrice.js +1 -25
- package/dist/esm/cart/setting/CartLineVariant.js +1 -25
- package/dist/esm/cart/setting/CartList.js +1 -135
- package/dist/esm/cart/setting/CartOrderNote.js +1 -40
- package/dist/esm/cart/setting/CartTotalItem.js +1 -25
- package/dist/esm/cart/setting/CartTotalPrice.js +1 -54
- package/dist/esm/cart/setting/CouponList.js +1 -16
- package/dist/esm/cart/setting/DiscountInput.js +1 -29
- package/dist/esm/cart/setting/ShopPayButton.js +1 -164
- package/dist/esm/cart/setting/index.js +1 -33
- package/dist/esm/code/components/CSSCode.js +2 -125
- package/dist/esm/code/components/CSSCode.liquid.js +7 -26
- package/dist/esm/code/next.js +1 -11
- package/dist/esm/code/setting/CSSCode.js +3 -171
- package/dist/esm/code/setting/index.js +1 -7
- package/dist/esm/collection/components/CollectionBanner.js +1 -93
- package/dist/esm/collection/components/CollectionBanner.liquid.js +14 -72
- package/dist/esm/collection/components/CollectionDescription.js +1 -16
- package/dist/esm/collection/components/CollectionDescription.liquid.js +3 -17
- package/dist/esm/collection/components/CollectionPaginator.js +1 -146
- package/dist/esm/collection/components/CollectionPaginator.liquid.js +9 -54
- package/dist/esm/collection/components/CollectionTitle.js +1 -16
- package/dist/esm/collection/components/CollectionTitle.liquid.js +3 -17
- package/dist/esm/collection/components/CollectionToolbar.js +1 -106
- package/dist/esm/collection/components/CollectionToolbar.liquid.js +15 -66
- package/dist/esm/collection/next.js +1 -27
- package/dist/esm/collection/setting/CollectionBanner.js +10 -528
- package/dist/esm/collection/setting/CollectionDescription.js +3 -124
- package/dist/esm/collection/setting/CollectionPaginator.js +3 -319
- package/dist/esm/collection/setting/CollectionTitle.js +3 -124
- package/dist/esm/collection/setting/CollectionToolbar.js +3 -272
- package/dist/esm/collection/setting/index.js +1 -15
- package/dist/esm/common/components/Loading.js +1 -19
- package/dist/esm/common/components/Tooltip.js +1 -0
- package/dist/esm/countdown-timer/components/Countdown.js +1 -304
- package/dist/esm/countdown-timer/components/Countdown.liquid.js +20 -87
- package/dist/esm/countdown-timer/helpers.js +1 -90
- package/dist/esm/countdown-timer/hooks/useTimeLeft.js +1 -90
- package/dist/esm/countdown-timer/next.js +1 -12
- package/dist/esm/countdown-timer/setting/Countdown.js +3 -879
- package/dist/esm/countdown-timer/setting/index.js +1 -7
- package/dist/esm/dialog/components/Dialog.js +1 -353
- package/dist/esm/dialog/components/Dialog.liquid.js +16 -143
- package/dist/esm/dialog/helpers/common.js +1 -16
- package/dist/esm/dialog/hooks/use-scroll-percentage.js +1 -32
- package/dist/esm/dialog/next.js +1 -11
- package/dist/esm/dialog/setting/Dialog.js +3 -575
- package/dist/esm/dialog/setting/index.js +1 -7
- package/dist/esm/form/components/contact/Contact.js +1 -11
- package/dist/esm/form/components/contact/Contact.liquid.js +3 -18
- package/dist/esm/form/components/form-checkbox/FormCheckbox.js +1 -47
- package/dist/esm/form/components/form-checkbox/FormCheckbox.liquid.js +10 -35
- package/dist/esm/form/components/form-dropdown/FormDropdown.js +1 -68
- package/dist/esm/form/components/form-dropdown/FormDropdown.liquid.js +12 -62
- package/dist/esm/form/components/form-email/FormEmail.js +1 -55
- package/dist/esm/form/components/form-email/FormEmail.liquid.js +10 -62
- package/dist/esm/form/components/newsletter/Newsletter.js +1 -11
- package/dist/esm/form/components/newsletter/Newsletter.liquid.js +19 -52
- package/dist/esm/form/components/submit-button/SubmitButton.js +1 -27
- package/dist/esm/form/components/submit-button/SubmitButton.liquid.js +3 -29
- package/dist/esm/form/components/textarea/TextArea.js +1 -71
- package/dist/esm/form/components/textarea/TextArea.liquid.js +11 -70
- package/dist/esm/form/components/textfield/TextField.js +1 -64
- package/dist/esm/form/components/textfield/TextField.liquid.js +11 -70
- package/dist/esm/form/next.js +1 -39
- package/dist/esm/form/setting/Contact.js +3 -42
- package/dist/esm/form/setting/ContactInitConfig.js +1 -226
- package/dist/esm/form/setting/FormCheckbox.js +3 -222
- package/dist/esm/form/setting/FormCheckboxInitConfig.js +1 -16
- package/dist/esm/form/setting/FormDropdown.js +3 -258
- package/dist/esm/form/setting/FormDropdownInitConfig.js +1 -31
- package/dist/esm/form/setting/FormEmail.js +3 -271
- package/dist/esm/form/setting/FormEmailInitConfig.js +1 -31
- package/dist/esm/form/setting/Newsletter.js +3 -164
- package/dist/esm/form/setting/NewsletterInitConfig.js +1 -131
- package/dist/esm/form/setting/SubmitButton.js +4 -649
- package/dist/esm/form/setting/SubmitButtonInitConfig.js +1 -28
- package/dist/esm/form/setting/TextField.js +3 -302
- package/dist/esm/form/setting/Textarea.js +3 -303
- package/dist/esm/form/setting/index.js +1 -21
- package/dist/esm/grid/components/ChildrenDroppable.js +4 -61
- package/dist/esm/grid/components/Col.js +1 -21
- package/dist/esm/grid/components/Col.liquid.js +6 -35
- package/dist/esm/grid/components/Root.js +1 -9
- package/dist/esm/grid/components/Root.liquid.js +1 -5
- package/dist/esm/grid/components/Row.js +1 -88
- package/dist/esm/grid/components/Row.liquid.js +12 -61
- package/dist/esm/grid/components/Section.js +1 -23
- package/dist/esm/grid/components/Section.liquid.js +1 -13
- package/dist/esm/grid/components/helpers.js +1 -69
- package/dist/esm/grid/next.js +1 -23
- package/dist/esm/grid/setting/Col.js +1 -30
- package/dist/esm/grid/setting/Root.js +1 -15
- package/dist/esm/grid/setting/Row.js +39 -510
- package/dist/esm/grid/setting/Section.js +34 -358
- package/dist/esm/grid/setting/index.js +1 -13
- package/dist/esm/header/components/Header.js +1 -28
- package/dist/esm/header/components/SalePageHeaderWarning.js +1 -0
- package/dist/esm/header/components/icons/ChevronLeft.js +1 -14
- package/dist/esm/header/components/icons/Dismiss.js +1 -14
- package/dist/esm/header/components/icons/MenuIcon.js +1 -14
- package/dist/esm/header/components/kind/basic/DesktopMenu.js +1 -32
- package/dist/esm/header/components/kind/basic/DesktopMenuItem.js +1 -62
- package/dist/esm/header/components/kind/basic/MenuMobileItem.js +1 -156
- package/dist/esm/header/components/kind/basic/MobileMenu.js +1 -153
- package/dist/esm/header/components/kind/basic/index.js +1 -105
- package/dist/esm/header/components/kind/modern/index.js +1 -29
- package/dist/esm/header/hooks/use-body-overlay.js +1 -19
- package/dist/esm/header/next.js +1 -11
- package/dist/esm/header/setting/Header.js +3 -712
- package/dist/esm/header/setting/index.js +1 -7
- package/dist/esm/heading/Heading.js +1 -42
- package/dist/esm/heading/Heading.liquid.js +1 -43
- package/dist/esm/heading/next.js +1 -11
- package/dist/esm/heading/setting/Heading.js +3 -369
- package/dist/esm/heading/setting/index.js +1 -7
- package/dist/esm/helpers.js +1 -14
- package/dist/esm/hooks/useGetProductId.js +1 -13
- package/dist/esm/icon/components/Icon.js +1 -72
- package/dist/esm/icon/components/Icon.liquid.js +13 -61
- package/dist/esm/icon/next.js +1 -11
- package/dist/esm/icon/setting/Icon.js +3 -299
- package/dist/esm/icon/setting/index.js +1 -7
- package/dist/esm/icon-list/components/IconList.js +1 -77
- package/dist/esm/icon-list/components/IconList.liquid.js +12 -43
- package/dist/esm/icon-list/components/IconListItem.js +1 -25
- package/dist/esm/icon-list/components/IconListItem.liquid.js +4 -15
- package/dist/esm/icon-list/next.js +1 -15
- package/dist/esm/icon-list/setting/IconList.js +4 -295
- package/dist/esm/icon-list/setting/IconListItem.js +1 -36
- package/dist/esm/icon-list/setting/ItemTemplate.js +1 -323
- package/dist/esm/icon-list/setting/index.js +1 -9
- package/dist/esm/icon-list-hoz/components/IconListHoz.js +1 -65
- package/dist/esm/icon-list-hoz/components/IconListHoz.liquid.js +11 -32
- package/dist/esm/icon-list-hoz/components/IconListHozItem.js +1 -26
- package/dist/esm/icon-list-hoz/components/IconListItemHoz.liquid.js +4 -15
- package/dist/esm/icon-list-hoz/next.js +1 -15
- package/dist/esm/icon-list-hoz/setting/IconListHoz.js +3 -217
- package/dist/esm/icon-list-hoz/setting/IconListItem.js +1 -36
- package/dist/esm/icon-list-hoz/setting/ItemTemplate.js +1 -80
- package/dist/esm/icon-list-hoz/setting/index.js +1 -9
- package/dist/esm/icon-list-v2/components/IconList.js +1 -136
- package/dist/esm/icon-list-v2/components/IconList.liquid.js +19 -85
- package/dist/esm/icon-list-v2/next.js +1 -11
- package/dist/esm/icon-list-v2/setting/IconList.js +3 -521
- package/dist/esm/icon-list-v2/setting/index.js +1 -7
- package/dist/esm/icon-list-v2/setting/template.js +1 -110
- package/dist/esm/image/components/AdaptiveImage.js +1 -56
- package/dist/esm/image/components/AdaptiveImage.liquid.js +19 -92
- package/dist/esm/image/components/BackgroundImage.js +1 -97
- package/dist/esm/image/components/Image.js +1 -117
- package/dist/esm/image/components/Image.liquid.js +10 -89
- package/dist/esm/image/components/Img.js +1 -24
- package/dist/esm/image/components/Modal3d.liquid.js +15 -30
- package/dist/esm/image/components/NextImage.js +1 -36
- package/dist/esm/image/components/NextImage.liquid.js +16 -107
- package/dist/esm/image/components/Video.liquid.js +12 -22
- package/dist/esm/image/components/helpers.js +1 -8
- package/dist/esm/image/helpers/getSrcSet.js +1 -50
- package/dist/esm/image/next.js +1 -15
- package/dist/esm/image/setting/BackgroundImage.js +2 -357
- package/dist/esm/image/setting/Image.js +4 -460
- package/dist/esm/image/setting/index.js +1 -9
- package/dist/esm/image-comparison/components/CompareImage.js +5 -556
- package/dist/esm/image-comparison/components/CompareImage.liquid.js +22 -324
- package/dist/esm/image-comparison/components/ImageComparison.js +1 -56
- package/dist/esm/image-comparison/components/ImageComparison.liquid.js +3 -32
- package/dist/esm/image-comparison/components/Label.liquid.js +13 -41
- package/dist/esm/image-comparison/constants/commonStyles.js +1 -58
- package/dist/esm/image-comparison/next.js +1 -11
- package/dist/esm/image-comparison/setting/ImageComparison.js +3 -877
- package/dist/esm/image-comparison/setting/index.js +1 -7
- package/dist/esm/image-detection/ImageDetection.js +1 -232
- package/dist/esm/image-detection/next.js +1 -11
- package/dist/esm/image-detection/setting/ImageDetection.js +2 -71
- package/dist/esm/image-detection/setting/index.js +1 -7
- package/dist/esm/index.js +1 -180
- package/dist/esm/index.liquid.js +1 -97
- package/dist/esm/input/Input.js +1 -113
- package/dist/esm/input/next.js +1 -11
- package/dist/esm/input/setting/Input.js +2 -117
- package/dist/esm/input/setting/index.js +1 -7
- package/dist/esm/intersection-observer/InView.js +1 -98
- package/dist/esm/intersection-observer/observe.js +1 -109
- package/dist/esm/intersection-observer/useInView.js +1 -101
- package/dist/esm/line/Divider.js +1 -30
- package/dist/esm/line/Divider.liquid.js +4 -29
- package/dist/esm/line/Line.js +1 -161
- package/dist/esm/line/Line.liquid.js +17 -142
- package/dist/esm/line/next.js +1 -11
- package/dist/esm/line/setting/Line.js +3 -577
- package/dist/esm/line/setting/index.js +1 -7
- package/dist/esm/link/components/CustomLink.js +1 -10
- package/dist/esm/link/components/Link.js +1 -32
- package/dist/esm/link/components/ProductLink.js +1 -14
- package/dist/esm/link/components/next-link/CustomLink.js +1 -14
- package/dist/esm/link/components/next-link/ProductLink.js +1 -18
- package/dist/esm/link/components/next-link/index.js +1 -25
- package/dist/esm/link/helpers/url-join.js +1 -54
- package/dist/esm/link/next.js +1 -11
- package/dist/esm/link/setting/Link.js +1 -64
- package/dist/esm/link/setting/index.js +1 -7
- package/dist/esm/menu/components/DropdownMenu.js +1 -63
- package/dist/esm/menu/components/MegaMenu.js +1 -63
- package/dist/esm/menu/components/Menu.js +1 -16
- package/dist/esm/menu/components/NavigationMenu.js +1 -59
- package/dist/esm/menu/components/SubMegaMenu.js +1 -42
- package/dist/esm/menu/components/SubNavigationMenu.js +1 -57
- package/dist/esm/menu/next.js +1 -11
- package/dist/esm/menu/setting/Menu.js +1 -212
- package/dist/esm/menu/setting/index.js +1 -7
- package/dist/esm/modal/components/Modal.js +1 -94
- package/dist/esm/modal/components/confirm.js +1 -152
- package/dist/esm/modal/hooks/useModalContainer.js +1 -17
- package/dist/esm/modal/next.js +1 -11
- package/dist/esm/modal/setting/Modal.js +1 -23
- package/dist/esm/modal/setting/index.js +1 -7
- package/dist/esm/next.js +1 -83
- package/dist/esm/notification/components/Notice.js +1 -70
- package/dist/esm/notification/components/Notifications.js +1 -92
- package/dist/esm/notification/components/icons/CloseIcon.js +1 -13
- package/dist/esm/notification/hooks/use-notification.js +1 -116
- package/dist/esm/pagination/Pagination.js +1 -182
- package/dist/esm/pagination/next.js +1 -11
- package/dist/esm/pagination/setting/Pagination.js +1 -68
- package/dist/esm/pagination/setting/index.js +1 -7
- package/dist/esm/post-purchase/advanced-list/components/AdvancedListPostPurchase.js +1 -0
- package/dist/esm/post-purchase/advanced-list/components/PostPurchaseAdvancedListItem.js +1 -0
- package/dist/esm/post-purchase/advanced-list/next.js +1 -0
- package/dist/esm/post-purchase/advanced-list/setting/AdvancedListPostPurchase.js +15 -0
- package/dist/esm/post-purchase/advanced-list/setting/PostPurchaseAdvancedListItem.js +1 -0
- package/dist/esm/post-purchase/advanced-list/setting/index.js +1 -0
- package/dist/esm/post-purchase/advanced-list/setting/template.js +1 -0
- package/dist/esm/post-purchase/button/Button.js +1 -0
- package/dist/esm/post-purchase/button/next.js +1 -0
- package/dist/esm/post-purchase/button/setting/Button.js +22 -0
- package/dist/esm/post-purchase/button/setting/index.js +1 -0
- package/dist/esm/post-purchase/callout-banner/components/CalloutBox.js +1 -0
- package/dist/esm/post-purchase/callout-banner/components/CalloutText.js +1 -0
- package/dist/esm/post-purchase/callout-banner/next.js +1 -0
- package/dist/esm/post-purchase/callout-banner/setting/CalloutBox.js +66 -0
- package/dist/esm/post-purchase/callout-banner/setting/CalloutText.js +18 -0
- package/dist/esm/post-purchase/callout-banner/setting/index.js +1 -0
- package/dist/esm/post-purchase/countdown-timer/components/PostPurchaseCountdownTimer.js +1 -0
- package/dist/esm/post-purchase/countdown-timer/components/TextCountdown.js +1 -0
- package/dist/esm/post-purchase/countdown-timer/hooks/useCountdownTimer.js +1 -0
- package/dist/esm/post-purchase/countdown-timer/next.js +1 -0
- package/dist/esm/post-purchase/countdown-timer/settings/CountdownTimer.js +34 -0
- package/dist/esm/post-purchase/countdown-timer/settings/index.js +1 -0
- package/dist/esm/post-purchase/image/components/AdaptiveImage.js +1 -0
- package/dist/esm/post-purchase/image/components/Image.js +1 -0
- package/dist/esm/post-purchase/image/components/Img.js +1 -0
- package/dist/esm/post-purchase/image/next.js +1 -0
- package/dist/esm/post-purchase/image/setting/Image.js +11 -0
- package/dist/esm/post-purchase/image/setting/index.js +1 -0
- package/dist/esm/post-purchase/line/components/PostPurchaseLine.js +1 -0
- package/dist/esm/post-purchase/line/next.js +1 -0
- package/dist/esm/post-purchase/line/setting/PostPurchaseLine.js +9 -0
- package/dist/esm/post-purchase/line/setting/index.js +1 -0
- package/dist/esm/post-purchase/next.js +1 -0
- package/dist/esm/post-purchase/product/components/AcceptButton.js +1 -0
- package/dist/esm/post-purchase/product/components/ProductDescription.js +1 -0
- package/dist/esm/post-purchase/product/components/ProductDiscountTag.js +1 -0
- package/dist/esm/post-purchase/product/components/ProductOffer.js +1 -0
- package/dist/esm/post-purchase/product/components/ProductPrice.js +1 -0
- package/dist/esm/post-purchase/product/components/ProductPriceBreakdown.js +1 -0
- package/dist/esm/post-purchase/product/components/ProductQuantity.js +1 -0
- package/dist/esm/post-purchase/product/components/ProductTitle.js +1 -0
- package/dist/esm/post-purchase/product/components/ProductVariant.js +1 -0
- package/dist/esm/post-purchase/product/components/priceBreakdown/MoneyLine.js +1 -0
- package/dist/esm/post-purchase/product/components/product-image/Arrow.js +1 -0
- package/dist/esm/post-purchase/product/components/product-image/CarouselPostPurchase.js +1 -0
- package/dist/esm/post-purchase/product/components/product-image/FeatureImage.js +1 -0
- package/dist/esm/post-purchase/product/components/product-image/ImageListCarousel.js +1 -0
- package/dist/esm/post-purchase/product/components/product-image/ImageListGrid.js +1 -0
- package/dist/esm/post-purchase/product/components/product-image/index.js +1 -0
- package/dist/esm/post-purchase/product/components/product-image/layouts/FeatureImageWithGalleryImage.js +1 -0
- package/dist/esm/post-purchase/product/components/product-image/layouts/OnlyGalleryImage.js +1 -0
- package/dist/esm/post-purchase/product/components/variants/Dropdown.js +1 -0
- package/dist/esm/post-purchase/product/components/variants/DropdownOption.js +1 -0
- package/dist/esm/post-purchase/product/components/variants/RectangleList.js +1 -0
- package/dist/esm/post-purchase/product/components/variants/VariantGroup.js +1 -0
- package/dist/esm/post-purchase/product/components/variants/VariantItem.js +1 -0
- package/dist/esm/post-purchase/product/components/variants/VariantOption.js +1 -0
- package/dist/esm/post-purchase/product/helpers/index.js +1 -0
- package/dist/esm/post-purchase/product/next.js +1 -0
- package/dist/esm/post-purchase/product/settings/AcceptButton.js +22 -0
- package/dist/esm/post-purchase/product/settings/ProductDescription.js +9 -0
- package/dist/esm/post-purchase/product/settings/ProductDiscountTag.js +4 -0
- package/dist/esm/post-purchase/product/settings/ProductOffer.js +53 -0
- package/dist/esm/post-purchase/product/settings/ProductPrice.js +15 -0
- package/dist/esm/post-purchase/product/settings/ProductPriceBreakdown.js +43 -0
- package/dist/esm/post-purchase/product/settings/ProductQuantity.js +25 -0
- package/dist/esm/post-purchase/product/settings/ProductTitle.js +9 -0
- package/dist/esm/post-purchase/product/settings/ProductVariant.js +27 -0
- package/dist/esm/post-purchase/product/settings/index.js +1 -0
- package/dist/esm/post-purchase/product/settings/presets-config/product-presets/product-1-col.js +8 -0
- package/dist/esm/post-purchase/product/settings/presets-config/product-presets/product-2-col.js +11 -0
- package/dist/esm/post-purchase/product/settings/presets-config/product-presets/product-default.js +12 -0
- package/dist/esm/post-purchase/product/settings/presets-config/product-presets/product-offer-1-col.js +8 -0
- package/dist/esm/post-purchase/product/settings/presets-config/product-presets/product-offer-2-col.js +11 -0
- package/dist/esm/post-purchase/product/settings/presets-config/product-presets/product-offer-default.js +12 -0
- package/dist/esm/post-purchase/product/settings/product-image/ProductFeatureImage.js +1 -0
- package/dist/esm/post-purchase/product/settings/product-image/ProductGalleryImage.js +9 -0
- package/dist/esm/post-purchase/product/settings/product-image/ProductImageLayoutSetting.js +1 -0
- package/dist/esm/post-purchase/product/settings/product-image/ProductImages.js +21 -0
- package/dist/esm/post-purchase/text/Text.js +1 -0
- package/dist/esm/post-purchase/text/index.js +1 -0
- package/dist/esm/post-purchase/text/next.js +1 -0
- package/dist/esm/post-purchase/text/setting/Heading.js +3 -0
- package/dist/esm/post-purchase/text/setting/Text.js +7 -0
- package/dist/esm/post-purchase/text/setting/index.js +1 -0
- package/dist/esm/post-purchase/utils/constants.js +1 -0
- package/dist/esm/post-purchase/utils/helper.js +1 -0
- package/dist/esm/product/components/DynamicCheckout.js +1 -22
- package/dist/esm/product/components/DynamicCheckout.liquid.js +59 -102
- package/dist/esm/product/components/Product.js +1 -94
- package/dist/esm/product/components/Product.liquid.js +21 -47
- package/dist/esm/product/components/ProductButton.js +1 -230
- package/dist/esm/product/components/ProductButton.liquid.js +9 -112
- package/dist/esm/product/components/ProductDescription.js +2 -103
- package/dist/esm/product/components/ProductDescription.liquid.js +14 -76
- package/dist/esm/product/components/ProductImages/ProductFeaturedImage.js +1 -248
- package/dist/esm/product/components/ProductImages/ProductGalleryCarousel.js +1 -199
- package/dist/esm/product/components/ProductImages/ProductGalleryGrid.js +1 -159
- package/dist/esm/product/components/ProductImages/ProductImagesLightBox.js +1 -114
- package/dist/esm/product/components/ProductImages/common/common.js +1 -103
- package/dist/esm/product/components/ProductImages/common/productFeaturedImage.js +1 -90
- package/dist/esm/product/components/ProductImages/common/productGallery.js +1 -188
- package/dist/esm/product/components/ProductImages/liquid/ProductFeaturedImage.liquid.js +25 -104
- package/dist/esm/product/components/ProductImages/liquid/ProductGalleryCarousel.liquid.js +9 -104
- package/dist/esm/product/components/ProductImages/liquid/ProductGalleryGrid.liquid.js +11 -58
- package/dist/esm/product/components/ProductImages.js +1 -280
- package/dist/esm/product/components/ProductImages.liquid.js +17 -84
- package/dist/esm/product/components/ProductImagesV2/common/common.js +1 -198
- package/dist/esm/product/components/ProductImagesV2/common/hoverAction.js +1 -89
- package/dist/esm/product/components/ProductImagesV2/common/productFeaturedImage.js +1 -16
- package/dist/esm/product/components/ProductImagesV2/common/productGallery.js +1 -223
- package/dist/esm/product/components/ProductImagesV2/jsx/ProductImages.js +11 -212
- package/dist/esm/product/components/ProductImagesV2/jsx/components/ButtonOpenLightBox.js +1 -23
- package/dist/esm/product/components/ProductImagesV2/jsx/components/MediaIcon.js +1 -58
- package/dist/esm/product/components/ProductImagesV2/jsx/components/ProductFeaturedImageCarousel.js +1 -264
- package/dist/esm/product/components/ProductImagesV2/jsx/components/ProductGalleryCarousel.js +1 -257
- package/dist/esm/product/components/ProductImagesV2/jsx/components/ProductGalleryGrid.js +1 -154
- package/dist/esm/product/components/ProductImagesV2/jsx/components/ProductImagesLightBox.js +1 -114
- package/dist/esm/product/components/ProductImagesV2/jsx/layouts/FeatureImageWithGallery.js +1 -149
- package/dist/esm/product/components/ProductImagesV2/jsx/layouts/GalleryOneCol.js +1 -20
- package/dist/esm/product/components/ProductImagesV2/jsx/layouts/GalleryTwoCol.js +1 -20
- package/dist/esm/product/components/ProductImagesV2/jsx/layouts/OnlyFeatureImage.js +1 -28
- package/dist/esm/product/components/ProductImagesV2/liquid/ProductFeaturedImageCarousel.liquid.js +32 -295
- package/dist/esm/product/components/ProductImagesV2/liquid/ProductGalleryCarousel.liquid.js +11 -226
- package/dist/esm/product/components/ProductImagesV2/liquid/ProductGalleryGrid.liquid.js +28 -203
- package/dist/esm/product/components/ProductImagesV2/liquid/ProductImages.liquid.js +23 -71
- package/dist/esm/product/components/ProductList.js +1 -202
- package/dist/esm/product/components/ProductList.liquid.js +135 -164
- package/dist/esm/product/components/ProductNotFound.js +1 -137
- package/dist/esm/product/components/ProductPrice.js +1 -67
- package/dist/esm/product/components/ProductPrice.liquid.js +13 -46
- package/dist/esm/product/components/ProductProperties/ProductPropertyChoice.js +1 -52
- package/dist/esm/product/components/ProductProperties/ProductPropertyChoice.liquid.js +13 -49
- package/dist/esm/product/components/ProductProperties/ProductPropertyInput.js +1 -57
- package/dist/esm/product/components/ProductProperties/ProductPropertyInput.liquid.js +12 -106
- package/dist/esm/product/components/ProductProperties/ProductPropertySelect.js +1 -37
- package/dist/esm/product/components/ProductProperties/ProductPropertySelect.liquid.js +12 -45
- package/dist/esm/product/components/ProductProperties.js +1 -264
- package/dist/esm/product/components/ProductProperties.liquid.js +16 -73
- package/dist/esm/product/components/ProductQuantity.js +1 -193
- package/dist/esm/product/components/ProductQuantity.liquid.js +17 -108
- package/dist/esm/product/components/ProductQuickView/ProductQuickView.js +1 -154
- package/dist/esm/product/components/ProductQuickView/index.js +1 -16
- package/dist/esm/product/components/ProductTag.js +1 -110
- package/dist/esm/product/components/ProductTag.liquid.js +22 -78
- package/dist/esm/product/components/ProductTitle.js +1 -36
- package/dist/esm/product/components/ProductTitle.liquid.js +7 -31
- package/dist/esm/product/components/ProductVariants/common.js +1 -64
- package/dist/esm/product/components/ProductVariants/index.js +1 -306
- package/dist/esm/product/components/ProductVariants/index.liquid.js +28 -186
- package/dist/esm/product/components/ProductVariants/utils/mappingVariantStyles.js +1 -0
- package/dist/esm/product/components/ProductVariants/variants/Base.js +11 -260
- package/dist/esm/product/components/ProductVariants/variants/Base.liquid.js +19 -118
- package/dist/esm/product/components/ProductVariants/variants/Color.js +1 -18
- package/dist/esm/product/components/ProductVariants/variants/Color.liquid.js +3 -13
- package/dist/esm/product/components/ProductVariants/variants/Dropdown.js +1 -144
- package/dist/esm/product/components/ProductVariants/variants/Dropdown.liquid.js +11 -49
- package/dist/esm/product/components/ProductVariants/variants/DropdownGroup.liquid.js +17 -55
- package/dist/esm/product/components/ProductVariants/variants/DropdownOption.js +1 -17
- package/dist/esm/product/components/ProductVariants/variants/Image.js +1 -18
- package/dist/esm/product/components/ProductVariants/variants/Image.liquid.js +3 -13
- package/dist/esm/product/components/ProductVariants/variants/ImageShopify.js +1 -35
- package/dist/esm/product/components/ProductVariants/variants/ImageShopify.liquid.js +3 -13
- package/dist/esm/product/components/ProductVariants/variants/RadioButtons.js +1 -58
- package/dist/esm/product/components/ProductVariants/variants/RectangleList.js +1 -64
- package/dist/esm/product/components/ProductVariants/variants/VariantGroup.js +1 -34
- package/dist/esm/product/components/ProductVariants/variants/VariantOption/index.js +1 -16
- package/dist/esm/product/components/ProductVariants/variants/index.js +1 -109
- package/dist/esm/product/components/ProductVariants/variants/index.liquid.js +27 -71
- package/dist/esm/product/components/SalePageProductListWarning.js +1 -0
- package/dist/esm/product/components/Vendor.js +1 -34
- package/dist/esm/product/components/Vendor.liquid.js +7 -31
- package/dist/esm/product/helpers/function.js +1 -39
- package/dist/esm/product/helpers/product-image.js +1 -31
- package/dist/esm/product/helpers/product.js +1 -51
- package/dist/esm/product/helpers/tracking.js +1 -9
- package/dist/esm/product/next.js +1 -69
- package/dist/esm/product/setting/DynamicCheckout.js +3 -547
- package/dist/esm/product/setting/Product.js +35 -377
- package/dist/esm/product/setting/ProductButton.js +4 -1075
- package/dist/esm/product/setting/ProductDescription.js +2 -295
- package/dist/esm/product/setting/ProductImages.js +5 -1197
- package/dist/esm/product/setting/ProductList.js +3 -1193
- package/dist/esm/product/setting/ProductPrice.js +4 -353
- package/dist/esm/product/setting/ProductProperties.js +3 -971
- package/dist/esm/product/setting/ProductQuantity.js +3 -606
- package/dist/esm/product/setting/ProductTag.js +2 -246
- package/dist/esm/product/setting/ProductTitle.js +3 -348
- package/dist/esm/product/setting/ProductVariants.js +4 -1419
- package/dist/esm/product/setting/Vendor.js +3 -334
- package/dist/esm/product/setting/index.js +1 -33
- package/dist/esm/product/setting/presets-config/product-presets/product-1-col.js +9 -273
- package/dist/esm/product/setting/presets-config/product-presets/product-2-col.js +12 -281
- package/dist/esm/product/setting/presets-config/product-presets/product-default.js +13 -281
- package/dist/esm/product/setting/product-image-v2/ProductFeatureImage.js +2 -515
- package/dist/esm/product/setting/product-image-v2/ProductGalleryImage.js +2 -643
- package/dist/esm/product/setting/product-image-v2/ProductImages.js +4 -435
- package/dist/esm/product/setting/swatches-style-config/color.js +1 -0
- package/dist/esm/product/setting/swatches-style-config/dropdown.js +1 -0
- package/dist/esm/product/setting/swatches-style-config/image-shopify.js +1 -0
- package/dist/esm/product/setting/swatches-style-config/image.js +1 -0
- package/dist/esm/product/setting/swatches-style-config/rectangle-list.js +1 -0
- package/dist/esm/radio/Radio.js +1 -33
- package/dist/esm/radio/next.js +1 -11
- package/dist/esm/radio/setting/Radio.js +1 -66
- package/dist/esm/radio/setting/index.js +1 -7
- package/dist/esm/select/Select.js +2 -56
- package/dist/esm/select/next.js +1 -11
- package/dist/esm/select/setting/index.js +1 -7
- package/dist/esm/sticky/components/Sticky.js +1 -156
- package/dist/esm/sticky/components/Sticky.liquid.js +10 -73
- package/dist/esm/sticky/next.js +1 -11
- package/dist/esm/sticky/setting/Sticky.js +1 -230
- package/dist/esm/sticky/setting/index.js +1 -7
- package/dist/esm/sticky/setting/preset-config.js +2 -876
- package/dist/esm/stock-counter/components/StockCounter.js +1 -111
- package/dist/esm/stock-counter/components/StockCounter.liquid.js +23 -100
- package/dist/esm/stock-counter/const.js +1 -20
- package/dist/esm/stock-counter/helpers.js +5 -59
- package/dist/esm/stock-counter/next.js +1 -11
- package/dist/esm/stock-counter/setting/StockCounter.js +4 -624
- package/dist/esm/stock-counter/setting/index.js +1 -7
- package/dist/esm/tab/components/TabItem.js +1 -20
- package/dist/esm/tab/components/TabItem.liquid.js +6 -19
- package/dist/esm/tab/components/Tabs.js +1 -129
- package/dist/esm/tab/components/Tabs.liquid.js +18 -79
- package/dist/esm/tab/components/common.js +1 -39
- package/dist/esm/tab/next.js +1 -15
- package/dist/esm/tab/setting/TabItem.js +2 -29
- package/dist/esm/tab/setting/Tabs.js +3 -569
- package/dist/esm/tab/setting/index.js +1 -9
- package/dist/esm/text/components/Text.js +1 -95
- package/dist/esm/text/components/Text.liquid.js +10 -84
- package/dist/esm/text/index.js +1 -5
- package/dist/esm/text/next.js +1 -11
- package/dist/esm/text/setting/Text.js +3 -414
- package/dist/esm/text/setting/index.js +1 -7
- package/dist/esm/textarea/Textarea.js +1 -34
- package/dist/esm/textarea/next.js +1 -11
- package/dist/esm/textarea/setting/Textarea.js +2 -103
- package/dist/esm/textarea/setting/index.js +1 -7
- package/dist/esm/third-party/components/AliReviews/AliReviewsSampleContent.js +1 -24
- package/dist/esm/third-party/components/AliReviews.js +1 -18
- package/dist/esm/third-party/components/AliReviews.liquid.js +8 -17
- package/dist/esm/third-party/components/AppstleSubscriptions/AppstleSubscriptionsSampleContent.js +1 -19
- package/dist/esm/third-party/components/AppstleSubscriptions.js +1 -18
- package/dist/esm/third-party/components/AppstleSubscriptions.liquid.js +4 -13
- package/dist/esm/third-party/components/BoldProductOptions/BoldProductOptionsSampleContent.js +1 -19
- package/dist/esm/third-party/components/BoldProductOptions.js +1 -18
- package/dist/esm/third-party/components/BoldProductOptions.liquid.js +4 -13
- package/dist/esm/third-party/components/BoldSubscriptions/BoldSubscriptionsSampleContent.js +1 -30
- package/dist/esm/third-party/components/BoldSubscriptions.js +1 -18
- package/dist/esm/third-party/components/BoldSubscriptions.liquid.js +5 -14
- package/dist/esm/third-party/components/BoostAISearchDiscovery/BoostAISearchDiscoverySampleContent.js +1 -19
- package/dist/esm/third-party/components/BoostAISearchDiscovery.js +1 -18
- package/dist/esm/third-party/components/BoostAISearchDiscovery.liquid.js +5 -13
- package/dist/esm/third-party/components/Bundler/BundlerSampleContent.js +1 -19
- package/dist/esm/third-party/components/Bundler.js +1 -20
- package/dist/esm/third-party/components/Bundler.liquid.js +5 -18
- package/dist/esm/third-party/components/CrossSellCartUpsell/CrossSellCartUpsellSampleContent.js +1 -19
- package/dist/esm/third-party/components/CrossSellCartUpsell.js +1 -18
- package/dist/esm/third-party/components/CrossSellCartUpsell.liquid.js +5 -20
- package/dist/esm/third-party/components/FeraReviews/FeraReviewsSampleContent.js +1 -45
- package/dist/esm/third-party/components/FeraReviews/LiquidTemplateByWidget.js +1 -50
- package/dist/esm/third-party/components/FeraReviews.js +1 -22
- package/dist/esm/third-party/components/FeraReviews.liquid.js +5 -16
- package/dist/esm/third-party/components/FirePush/FirePushSampleContent.js +1 -17
- package/dist/esm/third-party/components/FirePush.js +1 -18
- package/dist/esm/third-party/components/FirePush.liquid.js +4 -13
- package/dist/esm/third-party/components/FrequentlyBoughtTogether/FrequentlyBoughtTogetherSampleContent.js +1 -19
- package/dist/esm/third-party/components/FrequentlyBoughtTogether.js +1 -20
- package/dist/esm/third-party/components/FrequentlyBoughtTogether.liquid.js +5 -14
- package/dist/esm/third-party/components/Growave/GrowaveSampleContent.js +1 -34
- package/dist/esm/third-party/components/Growave.js +1 -18
- package/dist/esm/third-party/components/Growave.liquid.js +5 -14
- package/dist/esm/third-party/components/InfiniteOptions/InfiniteOptionsSampleContent.js +1 -19
- package/dist/esm/third-party/components/InfiniteOptions.js +1 -18
- package/dist/esm/third-party/components/InfiniteOptions.liquid.js +4 -12
- package/dist/esm/third-party/components/Instafeed/InstafeedSampleContent.js +1 -19
- package/dist/esm/third-party/components/Instafeed.js +1 -18
- package/dist/esm/third-party/components/Instafeed.liquid.js +4 -13
- package/dist/esm/third-party/components/Judgeme/JudgemeSampleContent.js +1 -35
- package/dist/esm/third-party/components/JudgemeReviews.js +1 -19
- package/dist/esm/third-party/components/JudgemeReviews.liquid.js +5 -14
- package/dist/esm/third-party/components/KachingBundles/KachingBundlesSampleContent.js +1 -23
- package/dist/esm/third-party/components/KachingBundles.js +1 -18
- package/dist/esm/third-party/components/KachingBundles.liquid.js +4 -13
- package/dist/esm/third-party/components/Klaviyo/KlaviyoSampleContent.js +1 -19
- package/dist/esm/third-party/components/Klaviyo.js +1 -26
- package/dist/esm/third-party/components/Klaviyo.liquid.js +5 -15
- package/dist/esm/third-party/components/LaiProductReviews/LaiProductReviewsSampleContent.js +1 -54
- package/dist/esm/third-party/components/LaiProductReviews/LiquidTemplateByWiget.js +10 -41
- package/dist/esm/third-party/components/LaiProductReviews.js +1 -20
- package/dist/esm/third-party/components/LaiProductReviews.liquid.js +5 -17
- package/dist/esm/third-party/components/LooxReviews/LooxReviewsSampleContent.js +1 -31
- package/dist/esm/third-party/components/LooxReviews.js +1 -18
- package/dist/esm/third-party/components/LooxReviews.liquid.js +9 -47
- package/dist/esm/third-party/components/Omnisend/OmnisendSampleContent.js +1 -30
- package/dist/esm/third-party/components/Omnisend.js +1 -18
- package/dist/esm/third-party/components/Omnisend.liquid.js +9 -18
- package/dist/esm/third-party/components/Opinew/OpinewSampleContent.js +1 -29
- package/dist/esm/third-party/components/Opinew.js +1 -18
- package/dist/esm/third-party/components/Opinew.liquid.js +6 -15
- package/dist/esm/third-party/components/ParcelPanel/ParcelPanelSampleContent.js +1 -19
- package/dist/esm/third-party/components/ParcelPanel.js +1 -18
- package/dist/esm/third-party/components/ParcelPanel.liquid.js +4 -13
- package/dist/esm/third-party/components/PickyStory/PickyStorySampleContent.js +1 -32
- package/dist/esm/third-party/components/PickyStory.js +1 -18
- package/dist/esm/third-party/components/PickyStory.liquid.js +5 -14
- package/dist/esm/third-party/components/ProductReviews/ProductReviewsSampleContent.js +1 -25
- package/dist/esm/third-party/components/ProductReviews.js +1 -18
- package/dist/esm/third-party/components/ProductReviews.liquid.js +5 -14
- package/dist/esm/third-party/components/Rivyo/RivyoSampleContent.js +1 -32
- package/dist/esm/third-party/components/Rivyo.js +1 -18
- package/dist/esm/third-party/components/Rivyo.liquid.js +5 -14
- package/dist/esm/third-party/components/Ryviu/RyviuSampleContent.js +1 -33
- package/dist/esm/third-party/components/Ryviu.js +1 -18
- package/dist/esm/third-party/components/Ryviu.liquid.js +5 -14
- package/dist/esm/third-party/components/SealSubscriptions/SealSubscriptionsSampleContent.js +1 -19
- package/dist/esm/third-party/components/SealSubscriptions.js +1 -18
- package/dist/esm/third-party/components/SealSubscriptions.liquid.js +4 -13
- package/dist/esm/third-party/components/SmartSearchBarAndFilters/SmartSearchBarAndFiltersSampleContent.js +1 -19
- package/dist/esm/third-party/components/SmartSearchBarAndFilters.js +1 -20
- package/dist/esm/third-party/components/SmartSearchBarAndFilters.liquid.js +6 -16
- package/dist/esm/third-party/components/Stamped/LiquidTemplateByWidget.js +92 -172
- package/dist/esm/third-party/components/Stamped/StampedSampleContent.js +1 -42
- package/dist/esm/third-party/components/Stamped.js +1 -18
- package/dist/esm/third-party/components/Stamped.liquid.js +5 -16
- package/dist/esm/third-party/components/ThirdPartyPreview.js +1 -69
- package/dist/esm/third-party/components/TrustMe/TrustMeSampleContent.js +1 -19
- package/dist/esm/third-party/components/TrustMe.js +1 -18
- package/dist/esm/third-party/components/TrustMe.liquid.js +4 -13
- package/dist/esm/third-party/components/Trustoo/TrustooSampleContent.js +1 -31
- package/dist/esm/third-party/components/Trustoo.js +1 -18
- package/dist/esm/third-party/components/Trustoo.liquid.js +6 -15
- package/dist/esm/third-party/components/UltimateSalesBoost/UltimateSalesBoostSampleContent.js +1 -29
- package/dist/esm/third-party/components/UltimateSalesBoost.js +1 -18
- package/dist/esm/third-party/components/UltimateSalesBoost.liquid.js +5 -14
- package/dist/esm/third-party/components/Vitals/VitalsSampleContent.js +1 -47
- package/dist/esm/third-party/components/Vitals.js +1 -18
- package/dist/esm/third-party/components/Vitals.liquid.js +5 -14
- package/dist/esm/third-party/components/WideBundle/WideBundleSampleContent.js +1 -19
- package/dist/esm/third-party/components/WideBundle.js +1 -18
- package/dist/esm/third-party/components/WideBundle.liquid.js +4 -13
- package/dist/esm/third-party/components/Wiser/WiserSampleContent.js +1 -53
- package/dist/esm/third-party/components/Wiser.js +1 -22
- package/dist/esm/third-party/components/Wiser.liquid.js +5 -15
- package/dist/esm/third-party/components/YotpoLoyalty/YotpoLoyaltySampleContent.js +1 -19
- package/dist/esm/third-party/components/YotpoLoyalty.js +1 -39
- package/dist/esm/third-party/components/YotpoReviews/YotpoReviewsSampleContent.js +1 -31
- package/dist/esm/third-party/components/YotpoReviews.js +1 -18
- package/dist/esm/third-party/components/YotpoReviews.liquid.js +6 -15
- package/dist/esm/third-party/configs/AliReviews.js +1 -8
- package/dist/esm/third-party/configs/AppstleSubscriptions.js +1 -8
- package/dist/esm/third-party/configs/BoldProductOptions.js +1 -8
- package/dist/esm/third-party/configs/BoldSubscription.js +1 -8
- package/dist/esm/third-party/configs/BoostAISearchDiscovery.js +1 -8
- package/dist/esm/third-party/configs/Bundler.js +1 -8
- package/dist/esm/third-party/configs/CrossSellCartUpsell.js +1 -8
- package/dist/esm/third-party/configs/FeraReviews.js +1 -8
- package/dist/esm/third-party/configs/FirePush.js +1 -8
- package/dist/esm/third-party/configs/FrequentlyBoughtTogether.js +1 -8
- package/dist/esm/third-party/configs/Growave.js +1 -8
- package/dist/esm/third-party/configs/InfiniteOptions.js +1 -8
- package/dist/esm/third-party/configs/Instafeed.js +1 -8
- package/dist/esm/third-party/configs/JudgemeReviews.js +1 -8
- package/dist/esm/third-party/configs/KachingBundles.js +1 -8
- package/dist/esm/third-party/configs/Klaviyo.js +1 -8
- package/dist/esm/third-party/configs/LaiProductReviews.js +1 -8
- package/dist/esm/third-party/configs/LooxReviews.js +1 -8
- package/dist/esm/third-party/configs/Omnisend.js +1 -8
- package/dist/esm/third-party/configs/Opinew.js +1 -8
- package/dist/esm/third-party/configs/ParcelPanel.js +1 -8
- package/dist/esm/third-party/configs/PickyStory.js +1 -8
- package/dist/esm/third-party/configs/ProductReviews.js +1 -8
- package/dist/esm/third-party/configs/Rivyo.js +1 -8
- package/dist/esm/third-party/configs/Ryviu.js +1 -8
- package/dist/esm/third-party/configs/SealSubscriptions.js +1 -8
- package/dist/esm/third-party/configs/SmartSearchBarAndFilters.js +1 -8
- package/dist/esm/third-party/configs/Stamped.js +1 -8
- package/dist/esm/third-party/configs/TrustMe.js +1 -8
- package/dist/esm/third-party/configs/Trustoo.js +1 -8
- package/dist/esm/third-party/configs/UltimateSalesBoost.js +1 -8
- package/dist/esm/third-party/configs/Vitals.js +1 -8
- package/dist/esm/third-party/configs/WideBundle.js +1 -8
- package/dist/esm/third-party/configs/Wiser.js +1 -8
- package/dist/esm/third-party/configs/YotpoLoyalty.js +1 -8
- package/dist/esm/third-party/configs/YotpoReviews.js +1 -8
- package/dist/esm/third-party/helpers/thirdParty.js +1 -33
- package/dist/esm/third-party/next.js +1 -202
- package/dist/esm/third-party/setting/AliReviews.js +4 -163
- package/dist/esm/third-party/setting/AppstleSubscriptions.js +4 -93
- package/dist/esm/third-party/setting/BoldProductOptions.js +4 -79
- package/dist/esm/third-party/setting/BoldSubscriptions.js +4 -104
- package/dist/esm/third-party/setting/BoostAISearchDiscovery.js +4 -82
- package/dist/esm/third-party/setting/Bundler.js +4 -97
- package/dist/esm/third-party/setting/CrossSellCartUpsell.js +4 -79
- package/dist/esm/third-party/setting/FeraReviews.js +4 -390
- package/dist/esm/third-party/setting/FirePush.js +4 -79
- package/dist/esm/third-party/setting/FrequentlyBoughtTogether.js +6 -99
- package/dist/esm/third-party/setting/Growave.js +4 -136
- package/dist/esm/third-party/setting/InfiniteOptions.js +4 -79
- package/dist/esm/third-party/setting/Instafeed.js +4 -85
- package/dist/esm/third-party/setting/JudgemeReviews.js +4 -149
- package/dist/esm/third-party/setting/KachingBundles.js +4 -84
- package/dist/esm/third-party/setting/Klaviyo.js +4 -94
- package/dist/esm/third-party/setting/LaiProductReviews.js +4 -200
- package/dist/esm/third-party/setting/LooxReviews.js +4 -143
- package/dist/esm/third-party/setting/Omnisend.js +4 -144
- package/dist/esm/third-party/setting/Opinew.js +4 -187
- package/dist/esm/third-party/setting/ParcelPanel.js +4 -88
- package/dist/esm/third-party/setting/PickyStory.js +4 -112
- package/dist/esm/third-party/setting/ProductReviews.js +4 -104
- package/dist/esm/third-party/setting/Rivyo.js +4 -112
- package/dist/esm/third-party/setting/Ryviu.js +4 -116
- package/dist/esm/third-party/setting/SealSubscriptions.js +4 -93
- package/dist/esm/third-party/setting/SmartSearchBarAndFilters.js +4 -94
- package/dist/esm/third-party/setting/Stamped/Badge.js +1 -115
- package/dist/esm/third-party/setting/Stamped/BadgeDouble.js +1 -20
- package/dist/esm/third-party/setting/Stamped/BadgeRibbon.js +1 -59
- package/dist/esm/third-party/setting/Stamped/BadgeSingle.js +1 -20
- package/dist/esm/third-party/setting/Stamped/Carousel.js +1 -124
- package/dist/esm/third-party/setting/Stamped/CheckoutReviews.js +1 -105
- package/dist/esm/third-party/setting/Stamped/Colors.js +1 -56
- package/dist/esm/third-party/setting/Stamped/Filters.js +1 -248
- package/dist/esm/third-party/setting/Stamped/FullPage.js +1 -88
- package/dist/esm/third-party/setting/Stamped/InstagramFeed.js +1 -109
- package/dist/esm/third-party/setting/Stamped/MainWidget.js +1 -143
- package/dist/esm/third-party/setting/Stamped/ProductRating.js +1 -71
- package/dist/esm/third-party/setting/Stamped/SingleHighlight.js +1 -20
- package/dist/esm/third-party/setting/Stamped/SiteBadge.js +1 -144
- package/dist/esm/third-party/setting/Stamped/TopRated.js +1 -35
- package/dist/esm/third-party/setting/Stamped/VisualGallery.js +1 -127
- package/dist/esm/third-party/setting/Stamped/WallPhotos.js +1 -29
- package/dist/esm/third-party/setting/Stamped/index.js +1 -48
- package/dist/esm/third-party/setting/Stamped.js +4 -103
- package/dist/esm/third-party/setting/TrustMe.js +4 -79
- package/dist/esm/third-party/setting/Trustoo.js +4 -163
- package/dist/esm/third-party/setting/UltimateSalesBoost.js +4 -177
- package/dist/esm/third-party/setting/Vitals.js +5 -336
- package/dist/esm/third-party/setting/WideBundle.js +4 -79
- package/dist/esm/third-party/setting/Wiser.js +4 -221
- package/dist/esm/third-party/setting/YotpoLoyalty.js +4 -77
- package/dist/esm/third-party/setting/YotpoReviews.js +4 -122
- package/dist/esm/third-party/setting/index.js +1 -83
- package/dist/esm/third-party-instant/components/InstantJudgemeReviews.js +1 -71
- package/dist/esm/third-party-instant/components/InstantKlaviyo.js +1 -43
- package/dist/esm/third-party-instant/components/InstantLooxReviews.js +1 -32
- package/dist/esm/third-party-instant/components/InstantThirdPartyPreview.js +1 -66
- package/dist/esm/third-party-instant/components/InstantYotpoLoyalty.js +1 -39
- package/dist/esm/third-party-instant/components/Judgeme/JudgemeSampleContent.js +1 -19
- package/dist/esm/third-party-instant/components/Judgeme/SingleProduct.js +1 -44
- package/dist/esm/third-party-instant/components/Judgeme/WithoutProduct.js +1 -89
- package/dist/esm/third-party-instant/components/Klaviyo/KlaviyoSampleContent.js +1 -19
- package/dist/esm/third-party-instant/components/LooxReviews/LooxReviewsSampleContent.js +2 -20
- package/dist/esm/third-party-instant/components/LooxReviews/SingleProduct.js +1 -47
- package/dist/esm/third-party-instant/components/LooxReviews/WithoutProduct.js +1 -51
- package/dist/esm/third-party-instant/components/YotpoLoyalty/YotpoLoyaltySampleContent.js +1 -19
- package/dist/esm/third-party-instant/configs/JudgemeReviews.js +1 -8
- package/dist/esm/third-party-instant/configs/Klaviyo.js +1 -8
- package/dist/esm/third-party-instant/configs/LooxReviews.js +1 -8
- package/dist/esm/third-party-instant/configs/YotpoLoyalty.js +1 -8
- package/dist/esm/third-party-instant/helpers/thirdParty.js +1 -68
- package/dist/esm/third-party-instant/next.js +1 -28
- package/dist/esm/third-party-instant/setting/InstantJudgemeReviews.js +4 -155
- package/dist/esm/third-party-instant/setting/InstantKlaviyo.js +4 -93
- package/dist/esm/third-party-instant/setting/InstantLooxReviews.js +4 -116
- package/dist/esm/third-party-instant/setting/InstantYotpoLoyalty.js +4 -93
- package/dist/esm/third-party-instant/setting/index.js +1 -13
- package/dist/esm/third-party-instant/types/JudgemeReviews.js +1 -7
- package/dist/esm/third-party-slot/components/ThirdPartySlot.js +1 -47
- package/dist/esm/third-party-slot/components/ThirdPartySlot.liquid.js +9 -21
- package/dist/esm/third-party-slot/next.js +1 -11
- package/dist/esm/third-party-slot/setting/ThirdPartySlot.js +2 -101
- package/dist/esm/third-party-slot/setting/index.js +1 -7
- package/dist/esm/video/components/HTML5Embed.js +1 -39
- package/dist/esm/video/components/HTML5Embed.liquid.js +21 -45
- package/dist/esm/video/components/LiteVimeoEmbed.js +1 -113
- package/dist/esm/video/components/LiteVimeoEmbed.liquid.js +13 -44
- package/dist/esm/video/components/LiteYouTubeEmbed.js +1 -191
- package/dist/esm/video/components/LiteYouTubeEmbed.liquid.js +15 -49
- package/dist/esm/video/components/Video.js +1 -134
- package/dist/esm/video/components/Video.liquid.js +6 -114
- package/dist/esm/video/helpers/common.js +1 -38
- package/dist/esm/video/next.js +1 -11
- package/dist/esm/video/setting/Video.js +3 -447
- package/dist/esm/video/setting/index.js +1 -7
- package/dist/types/index.d.ts +1084 -192
- package/package.json +3 -3
- package/dist/cjs/third-party/components/Bogos/BogosSampleContent.js +0 -36
- package/dist/cjs/third-party/components/Bogos.js +0 -22
- package/dist/cjs/third-party/components/Bogos.liquid.js +0 -31
- package/dist/cjs/third-party/components/CleanSizeChars.js +0 -43
- package/dist/cjs/third-party/components/CleanSizeCharts.liquid.js +0 -22
- package/dist/cjs/third-party/components/PushOwl.js +0 -9
- package/dist/cjs/third-party/components/PushOwl.liquid.js +0 -37
- package/dist/cjs/third-party/configs/Bogos.js +0 -12
- package/dist/cjs/third-party/configs/PushOwl.js +0 -12
- package/dist/cjs/third-party/setting/Bogos.js +0 -167
- package/dist/cjs/third-party/setting/CleanSizeCharts.js +0 -152
- package/dist/cjs/third-party/setting/PushOwl.js +0 -762
- package/dist/esm/third-party/components/Bogos/BogosSampleContent.js +0 -32
- package/dist/esm/third-party/components/Bogos.js +0 -18
- package/dist/esm/third-party/components/Bogos.liquid.js +0 -27
- package/dist/esm/third-party/components/CleanSizeChars.js +0 -38
- package/dist/esm/third-party/components/CleanSizeCharts.liquid.js +0 -18
- package/dist/esm/third-party/components/PushOwl.js +0 -5
- package/dist/esm/third-party/components/PushOwl.liquid.js +0 -33
- package/dist/esm/third-party/configs/Bogos.js +0 -8
- package/dist/esm/third-party/configs/PushOwl.js +0 -8
- package/dist/esm/third-party/setting/Bogos.js +0 -163
- package/dist/esm/third-party/setting/CleanSizeCharts.js +0 -148
- package/dist/esm/third-party/setting/PushOwl.js +0 -758
|
@@ -1,58 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
const MediaIcon = ({ contentType })=>{
|
|
4
|
-
const isVideoSource = contentType == 'VIDEO' || contentType == 'EXTERNAL_VIDEO';
|
|
5
|
-
const isModel3D = contentType == 'MODEL_3D';
|
|
6
|
-
return /*#__PURE__*/ jsx(Fragment, {
|
|
7
|
-
children: (isVideoSource || isModel3D) && /*#__PURE__*/ jsxs("div", {
|
|
8
|
-
className: "gp-absolute gp-bottom-0 gp-right-0 gp-pb-[15px] gp-pr-[15px]",
|
|
9
|
-
children: [
|
|
10
|
-
isVideoSource && /*#__PURE__*/ jsxs("svg", {
|
|
11
|
-
width: "24",
|
|
12
|
-
height: "24",
|
|
13
|
-
viewBox: "0 0 24 24",
|
|
14
|
-
fill: "none",
|
|
15
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
16
|
-
children: [
|
|
17
|
-
/*#__PURE__*/ jsx("rect", {
|
|
18
|
-
opacity: "0.9",
|
|
19
|
-
width: "24",
|
|
20
|
-
height: "24",
|
|
21
|
-
rx: "3",
|
|
22
|
-
fill: "#212121"
|
|
23
|
-
}),
|
|
24
|
-
/*#__PURE__*/ jsx("path", {
|
|
25
|
-
d: "M17.6869 12.2646L17.6868 12.2646L6.78379 18.4464C6.78378 18.4464 6.78376 18.4464 6.78374 18.4464C6.52931 18.5903 6.1665 18.4179 6.1665 18.0416V5.95844C6.1665 5.58218 6.52917 5.40981 6.7836 5.55354C6.78366 5.55357 6.78373 5.55361 6.78379 5.55365L17.6868 11.7354L17.6869 11.7354C17.8819 11.846 17.8819 12.154 17.6869 12.2646Z",
|
|
26
|
-
stroke: "#F9F9F9",
|
|
27
|
-
strokeMiterlimit: "10"
|
|
28
|
-
})
|
|
29
|
-
]
|
|
30
|
-
}),
|
|
31
|
-
isModel3D && /*#__PURE__*/ jsxs("svg", {
|
|
32
|
-
width: "24",
|
|
33
|
-
height: "24",
|
|
34
|
-
viewBox: "0 0 24 24",
|
|
35
|
-
fill: "none",
|
|
36
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
37
|
-
children: [
|
|
38
|
-
/*#__PURE__*/ jsx("rect", {
|
|
39
|
-
opacity: "0.9",
|
|
40
|
-
width: "24",
|
|
41
|
-
height: "24",
|
|
42
|
-
rx: "3",
|
|
43
|
-
fill: "#212121"
|
|
44
|
-
}),
|
|
45
|
-
/*#__PURE__*/ jsx("path", {
|
|
46
|
-
fillRule: "evenodd",
|
|
47
|
-
clipRule: "evenodd",
|
|
48
|
-
d: "M11.7441 4.57034C11.9017 4.47655 12.098 4.47655 12.2555 4.57034L18.5889 8.33957C18.7404 8.42971 18.8332 8.59296 18.8332 8.76923V15.2308C18.8332 15.407 18.7404 15.5703 18.5889 15.6604L12.2555 19.4297C12.098 19.5234 11.9017 19.5234 11.7441 19.4297L5.41079 15.6604C5.25932 15.5703 5.1665 15.407 5.1665 15.2308V8.76923C5.1665 8.59296 5.25932 8.42971 5.41079 8.33957L11.7441 4.57034ZM6.1665 9.64865V14.9465L11.4998 18.1206V12.8227L6.1665 9.64865ZM12.4998 12.8227V18.1206L17.8332 14.9465V9.64865L12.4998 12.8227ZM17.3555 8.76923L11.9998 11.9566L6.64417 8.76923L11.9998 5.58185L17.3555 8.76923Z",
|
|
49
|
-
fill: "#F9F9F9"
|
|
50
|
-
})
|
|
51
|
-
]
|
|
52
|
-
})
|
|
53
|
-
]
|
|
54
|
-
})
|
|
55
|
-
});
|
|
56
|
-
};
|
|
57
|
-
|
|
58
|
-
export { MediaIcon as default };
|
|
1
|
+
import{jsx as e,Fragment as t,jsxs as i}from"react/jsx-runtime";let MediaIcon=({contentType:l})=>{let r="VIDEO"==l||"EXTERNAL_VIDEO"==l,h="MODEL_3D"==l;return e(t,{children:(r||h)&&i("div",{className:"gp-absolute gp-bottom-0 gp-right-0 gp-pb-[15px] gp-pr-[15px]",children:[r&&i("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e("rect",{opacity:"0.9",width:"24",height:"24",rx:"3",fill:"#212121"}),e("path",{d:"M17.6869 12.2646L17.6868 12.2646L6.78379 18.4464C6.78378 18.4464 6.78376 18.4464 6.78374 18.4464C6.52931 18.5903 6.1665 18.4179 6.1665 18.0416V5.95844C6.1665 5.58218 6.52917 5.40981 6.7836 5.55354C6.78366 5.55357 6.78373 5.55361 6.78379 5.55365L17.6868 11.7354L17.6869 11.7354C17.8819 11.846 17.8819 12.154 17.6869 12.2646Z",stroke:"#F9F9F9",strokeMiterlimit:"10"})]}),h&&i("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e("rect",{opacity:"0.9",width:"24",height:"24",rx:"3",fill:"#212121"}),e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.7441 4.57034C11.9017 4.47655 12.098 4.47655 12.2555 4.57034L18.5889 8.33957C18.7404 8.42971 18.8332 8.59296 18.8332 8.76923V15.2308C18.8332 15.407 18.7404 15.5703 18.5889 15.6604L12.2555 19.4297C12.098 19.5234 11.9017 19.5234 11.7441 19.4297L5.41079 15.6604C5.25932 15.5703 5.1665 15.407 5.1665 15.2308V8.76923C5.1665 8.59296 5.25932 8.42971 5.41079 8.33957L11.7441 4.57034ZM6.1665 9.64865V14.9465L11.4998 18.1206V12.8227L6.1665 9.64865ZM12.4998 12.8227V18.1206L17.8332 14.9465V9.64865L12.4998 12.8227ZM17.3555 8.76923L11.9998 11.9566L6.64417 8.76923L11.9998 5.58185L17.3555 8.76923Z",fill:"#F9F9F9"})]})]})})};export{MediaIcon as default};
|
package/dist/esm/product/components/ProductImagesV2/jsx/components/ProductFeaturedImageCarousel.js
CHANGED
|
@@ -1,264 +1 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import Carousel from '../../../../../carousel/components/Carousel.js';
|
|
3
|
-
import CarouselItem from '../../../../../carousel/components/CarouselItem.js';
|
|
4
|
-
import { useFeaturedImageGlobal, useCurrentDevice, useProduct, useShopStore, getResponsiveValueByScreen, getHeightByShapeGlobalSize, cls, composeRadius, makeStyleResponsive, makeHeight, makeStyle } from '@gem-sdk/core';
|
|
5
|
-
import { getAspectRatio } from '../../common/common.js';
|
|
6
|
-
import { isFeatureMedia, getZoomImageClass, getZoomLenClass } from '../../common/productFeaturedImage.js';
|
|
7
|
-
import { handleMouseMove, handleMouseOut } from '../../common/hoverAction.js';
|
|
8
|
-
import MediaIcon from './MediaIcon.js';
|
|
9
|
-
import NextImage from '../../../../../image/components/NextImage.js';
|
|
10
|
-
import { memo, useMemo } from 'react';
|
|
11
|
-
|
|
12
|
-
const ProductFeaturedImageCarousel = ({ productImages, imgRef, onHandleClick, onClickArrow, onHandleLoaded, onHandleUpdateActiveIndex, builderPropUID, builderPropsClass, ...setting })=>{
|
|
13
|
-
const featuredImageGlobal = useFeaturedImageGlobal();
|
|
14
|
-
const currentDevice = useCurrentDevice();
|
|
15
|
-
let delayTimeout;
|
|
16
|
-
const product = useProduct();
|
|
17
|
-
const storefrontUrl = useShopStore((state)=>state.storefrontUrl);
|
|
18
|
-
const imageActiveIndex = useMemo(()=>{
|
|
19
|
-
const index = productImages?.findIndex((item)=>item.id === featuredImageGlobal?.id);
|
|
20
|
-
return index && index > 0 ? index : 0;
|
|
21
|
-
}, [
|
|
22
|
-
productImages,
|
|
23
|
-
featuredImageGlobal
|
|
24
|
-
]);
|
|
25
|
-
const controlOverContent = useMemo(()=>{
|
|
26
|
-
return {
|
|
27
|
-
desktop: getResponsiveValueByScreen(setting.ftNavigationPosition, 'desktop') === 'inside',
|
|
28
|
-
tablet: getResponsiveValueByScreen(setting.ftNavigationPosition, 'tablet') === 'inside',
|
|
29
|
-
mobile: getResponsiveValueByScreen(setting.ftNavigationPosition, 'mobile') === 'inside'
|
|
30
|
-
};
|
|
31
|
-
}, [
|
|
32
|
-
setting.ftNavigationPosition
|
|
33
|
-
]);
|
|
34
|
-
const enableOpenLightBox = useMemo(()=>{
|
|
35
|
-
return getResponsiveValueByScreen(setting.ftClickOpenLightBox, currentDevice) === 'popup';
|
|
36
|
-
}, [
|
|
37
|
-
setting.ftClickOpenLightBox,
|
|
38
|
-
currentDevice
|
|
39
|
-
]);
|
|
40
|
-
const shopifyProductLink = useMemo(()=>{
|
|
41
|
-
if (!storefrontUrl) return `#`;
|
|
42
|
-
const url = new URL(storefrontUrl);
|
|
43
|
-
if (product) {
|
|
44
|
-
return `${url.protocol}//${url.host}/products/${product.handle}`;
|
|
45
|
-
}
|
|
46
|
-
return `#`;
|
|
47
|
-
}, [
|
|
48
|
-
storefrontUrl,
|
|
49
|
-
product
|
|
50
|
-
]);
|
|
51
|
-
const imageWidthResponsive = useMemo(()=>{
|
|
52
|
-
let result = {};
|
|
53
|
-
const DEVICES = [
|
|
54
|
-
'desktop',
|
|
55
|
-
'mobile',
|
|
56
|
-
'tablet'
|
|
57
|
-
];
|
|
58
|
-
DEVICES.forEach((device)=>{
|
|
59
|
-
const shapeByDevice = getResponsiveValueByScreen(setting.ftShape, device);
|
|
60
|
-
const width = shapeByDevice?.width;
|
|
61
|
-
result = {
|
|
62
|
-
...result,
|
|
63
|
-
[device]: width || '100%'
|
|
64
|
-
};
|
|
65
|
-
});
|
|
66
|
-
return result;
|
|
67
|
-
}, [
|
|
68
|
-
setting.ftShape
|
|
69
|
-
]);
|
|
70
|
-
const imageHeightResponsive = useMemo(()=>{
|
|
71
|
-
return getHeightByShapeGlobalSize(setting.ftShape);
|
|
72
|
-
}, [
|
|
73
|
-
setting.ftShape
|
|
74
|
-
]);
|
|
75
|
-
const imageShowWhenHover = useMemo(()=>{
|
|
76
|
-
return setting?.hoverEffect === 'other' ? productImages?.[setting?.otherImage ? setting.otherImage : 0] : productImages?.find((item)=>item.id === featuredImageGlobal?.id) || productImages?.[0];
|
|
77
|
-
}, [
|
|
78
|
-
featuredImageGlobal,
|
|
79
|
-
productImages,
|
|
80
|
-
setting?.hoverEffect,
|
|
81
|
-
setting?.otherImage
|
|
82
|
-
]);
|
|
83
|
-
const genRandomKey = function() {
|
|
84
|
-
return Math.random().toString(36).substr(2, 5);
|
|
85
|
-
};
|
|
86
|
-
const emitUpdateActiveIndex = (index)=>{
|
|
87
|
-
delayTimeout && clearTimeout(delayTimeout);
|
|
88
|
-
delayTimeout = setTimeout(()=>onHandleUpdateActiveIndex && onHandleUpdateActiveIndex(index), 500);
|
|
89
|
-
};
|
|
90
|
-
const handleProductLink = (children)=>{
|
|
91
|
-
if (getResponsiveValueByScreen(setting.ftClickOpenLightBox, currentDevice) === 'product-link') return /*#__PURE__*/ jsx("a", {
|
|
92
|
-
title: product?.title,
|
|
93
|
-
href: shopifyProductLink,
|
|
94
|
-
className: "gp-w-full",
|
|
95
|
-
children: children
|
|
96
|
-
});
|
|
97
|
-
return children;
|
|
98
|
-
};
|
|
99
|
-
const getDefaultAspectRatio = ()=>{
|
|
100
|
-
let result = '1/1';
|
|
101
|
-
let ratio = 0;
|
|
102
|
-
productImages?.forEach((item)=>{
|
|
103
|
-
if (item.width && item.height) {
|
|
104
|
-
const r = item.height / item.width;
|
|
105
|
-
if (r > ratio) {
|
|
106
|
-
ratio = r;
|
|
107
|
-
result = `${item.width}/${item.height}`;
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
});
|
|
111
|
-
return result;
|
|
112
|
-
};
|
|
113
|
-
const getAspectRatioFinal = ()=>{
|
|
114
|
-
const result = getAspectRatio(setting.ftShape);
|
|
115
|
-
const defaultRatio = getDefaultAspectRatio();
|
|
116
|
-
return {
|
|
117
|
-
desktop: result.desktop || defaultRatio,
|
|
118
|
-
tablet: result.tablet || defaultRatio,
|
|
119
|
-
mobile: result.mobile || defaultRatio
|
|
120
|
-
};
|
|
121
|
-
};
|
|
122
|
-
return /*#__PURE__*/ jsx(Carousel, {
|
|
123
|
-
parentClass: builderPropsClass,
|
|
124
|
-
elmRef: imgRef,
|
|
125
|
-
setting: {
|
|
126
|
-
loop: setting?.ftLoop,
|
|
127
|
-
dot: {
|
|
128
|
-
desktop: false
|
|
129
|
-
},
|
|
130
|
-
dotStyle: {
|
|
131
|
-
desktop: 'none'
|
|
132
|
-
},
|
|
133
|
-
itemNumber: {
|
|
134
|
-
desktop: 1
|
|
135
|
-
},
|
|
136
|
-
defaultCurrentSlider: imageActiveIndex,
|
|
137
|
-
controlOverContent: controlOverContent,
|
|
138
|
-
enableDrag: {
|
|
139
|
-
desktop: setting?.ftDragToScroll,
|
|
140
|
-
tablet: setting?.ftDragToScroll,
|
|
141
|
-
mobile: setting?.ftDragToScroll
|
|
142
|
-
},
|
|
143
|
-
arrowCustom: setting?.ftArrowIcon,
|
|
144
|
-
arrowCustomColor: setting?.ftArrowIconColor,
|
|
145
|
-
arrowBackgroundColor: setting?.ftArrowNavColor,
|
|
146
|
-
arrowBorder: {
|
|
147
|
-
desktop: setting?.ftArrowNavBorder
|
|
148
|
-
},
|
|
149
|
-
roundedArrow: {
|
|
150
|
-
desktop: setting?.ftArrowNavRadius
|
|
151
|
-
},
|
|
152
|
-
sneakPeakType: {
|
|
153
|
-
desktop: 'center'
|
|
154
|
-
},
|
|
155
|
-
arrowGapToEachSide: '16',
|
|
156
|
-
navigationStyle: setting?.ftNavigationPosition,
|
|
157
|
-
arrowButtonSize: {
|
|
158
|
-
desktop: {
|
|
159
|
-
width: '24px',
|
|
160
|
-
height: '24px'
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
},
|
|
164
|
-
styles: {
|
|
165
|
-
sizeSetting: {
|
|
166
|
-
desktop: {
|
|
167
|
-
width: imageWidthResponsive?.desktop || '100%',
|
|
168
|
-
height: 'auto'
|
|
169
|
-
},
|
|
170
|
-
tablet: {
|
|
171
|
-
width: imageWidthResponsive?.tablet || '100%',
|
|
172
|
-
height: 'auto'
|
|
173
|
-
},
|
|
174
|
-
mobile: {
|
|
175
|
-
width: imageWidthResponsive?.mobile || '100%',
|
|
176
|
-
height: 'auto'
|
|
177
|
-
}
|
|
178
|
-
},
|
|
179
|
-
align: {
|
|
180
|
-
desktop: getResponsiveValueByScreen(setting?.align, 'desktop'),
|
|
181
|
-
tablet: getResponsiveValueByScreen(setting?.align, 'tablet'),
|
|
182
|
-
mobile: getResponsiveValueByScreen(setting?.align, 'mobile')
|
|
183
|
-
}
|
|
184
|
-
},
|
|
185
|
-
builderProps: {
|
|
186
|
-
uid: builderPropUID
|
|
187
|
-
},
|
|
188
|
-
isHiddenArrowWhenDisabled: true,
|
|
189
|
-
onLoaded: (status)=>onHandleLoaded && onHandleLoaded(status),
|
|
190
|
-
onChangeActive: (index)=>emitUpdateActiveIndex(index),
|
|
191
|
-
onClickArrow: ()=>onClickArrow && onClickArrow(genRandomKey()),
|
|
192
|
-
moveToIdx: imageActiveIndex,
|
|
193
|
-
disableMarginAuto: true,
|
|
194
|
-
children: productImages?.map((image)=>{
|
|
195
|
-
return /*#__PURE__*/ jsx(CarouselItem, {
|
|
196
|
-
contentType: "productImage",
|
|
197
|
-
className: cls(`gem-slider-item !gp-min-w-full !gp-max-w-full gem-slider-item-${builderPropUID} gp-group gp-relative gp-flex gp-w-full gp-items-center gp-justify-center gp-overflow-hidden gp-outline-1 -gp-outline-offset-1`),
|
|
198
|
-
onClick: ()=>{
|
|
199
|
-
onHandleClick(image?.id || '', enableOpenLightBox);
|
|
200
|
-
},
|
|
201
|
-
style: {
|
|
202
|
-
maxWidth: '100%',
|
|
203
|
-
outlineColor: 'var(--g-c-brand, brand)',
|
|
204
|
-
...composeRadius({
|
|
205
|
-
normal: setting.ftCorner
|
|
206
|
-
}),
|
|
207
|
-
...makeStyleResponsive('h', makeHeight(imageHeightResponsive))
|
|
208
|
-
},
|
|
209
|
-
onMouseMove: (e)=>handleMouseMove(e, setting),
|
|
210
|
-
onMouseOut: (e)=>handleMouseOut(e),
|
|
211
|
-
children: handleProductLink(/*#__PURE__*/ jsxs(Fragment, {
|
|
212
|
-
children: [
|
|
213
|
-
/*#__PURE__*/ jsx(NextImage, {
|
|
214
|
-
src: image.src,
|
|
215
|
-
width: image?.width,
|
|
216
|
-
height: image?.height,
|
|
217
|
-
alt: image?.alt,
|
|
218
|
-
setting: {
|
|
219
|
-
aspectRatio: getAspectRatioFinal(),
|
|
220
|
-
layout: setting?.ftLayout
|
|
221
|
-
},
|
|
222
|
-
priority: setting?.preload,
|
|
223
|
-
style: {
|
|
224
|
-
width: '100%',
|
|
225
|
-
height: '100%',
|
|
226
|
-
cursor: 'pointer'
|
|
227
|
-
}
|
|
228
|
-
}),
|
|
229
|
-
/*#__PURE__*/ jsx(MediaIcon, {
|
|
230
|
-
contentType: image?.contentType || ''
|
|
231
|
-
}),
|
|
232
|
-
setting?.hoverEffect !== 'none' && !isFeatureMedia(image?.contentType) && /*#__PURE__*/ jsx(NextImage, {
|
|
233
|
-
src: setting?.hoverEffect === 'other' ? imageShowWhenHover?.src : image.src,
|
|
234
|
-
width: setting?.hoverEffect === 'other' ? imageShowWhenHover?.width : image.width,
|
|
235
|
-
height: setting?.hoverEffect === 'other' ? imageShowWhenHover?.height : image.height,
|
|
236
|
-
alt: setting?.hoverEffect === 'other' ? imageShowWhenHover?.alt : image.alt,
|
|
237
|
-
setting: {
|
|
238
|
-
layout: setting.ftLayout,
|
|
239
|
-
aspectRatio: getAspectRatioFinal()
|
|
240
|
-
},
|
|
241
|
-
style: {
|
|
242
|
-
width: '100%',
|
|
243
|
-
height: '100%'
|
|
244
|
-
},
|
|
245
|
-
className: cls('hover-image !gp-max-w-none', getZoomImageClass()),
|
|
246
|
-
priority: setting?.preload
|
|
247
|
-
}),
|
|
248
|
-
setting?.hoverEffect == 'zoom' && setting?.zoomType == 'glasses' && !isFeatureMedia(image?.contentType) && /*#__PURE__*/ jsx("div", {
|
|
249
|
-
className: cls(getZoomLenClass(), 'room-len'),
|
|
250
|
-
style: {
|
|
251
|
-
...makeStyle({
|
|
252
|
-
bgi: `url("${image?.src}")`
|
|
253
|
-
})
|
|
254
|
-
}
|
|
255
|
-
})
|
|
256
|
-
]
|
|
257
|
-
}))
|
|
258
|
-
}, image?.id);
|
|
259
|
-
})
|
|
260
|
-
});
|
|
261
|
-
};
|
|
262
|
-
var ProductFeaturedImageCarousel$1 = /*#__PURE__*/ memo(ProductFeaturedImageCarousel);
|
|
263
|
-
|
|
264
|
-
export { ProductFeaturedImageCarousel$1 as default };
|
|
1
|
+
import{jsx as e,jsxs as t,Fragment as o}from"react/jsx-runtime";import r from"../../../../../carousel/components/Carousel.js";import i from"../../../../../carousel/components/CarouselItem.js";import{useFeaturedImageGlobal as a,useCurrentDevice as l,useEditorMode as n,useProduct as s,useShopStore as d,getResponsiveValueByScreen as m,getHeightByShapeGlobalSize as p,cls as h,composeRadius as f,makeStyleResponsive as c,makeHeight as u,makeStyle as g}from"@gem-sdk/core";import{getAspectRatio as w}from"../../common/common.js";import{isFeatureMedia as y,getZoomImageClass as v,getZoomLenClass as b}from"../../common/productFeaturedImage.js";import{handleMouseMove as C,handleMouseOut as k}from"../../common/hoverAction.js";import S from"./MediaIcon.js";import T from"../../../../../image/components/NextImage.js";import{memo as I,useMemo as N,useCallback as x,useEffect as P}from"react";import{handleSetSrcForFeatureProductImage as A}from"../../../../../image/helpers/getSrcSet.js";let ProductFeaturedImageCarousel=({productImages:I,imgRef:E,onHandleClick:j,onClickArrow:D,onHandleLoaded:$,onHandleUpdateActiveIndex:L,builderPropUID:q,builderPropsClass:z,...B})=>{let M;let O=a(),R=l(),F=n(),G=s(),U=d(e=>e.storefrontUrl),W=N(()=>{let e=I?.findIndex(e=>e.id===O?.id);return e&&e>0?e:0},[I,O]),H=x(()=>{A({builderPropUID:q,ftShape:B.ftShape,qualityType:B.qualityType,qualityPercent:B.qualityPercent})},[B.ftShape,B.qualityPercent,B.qualityType,q]);P(()=>{if("edit"===F)return;let e=document?.querySelector(`.gem-slider-item-${q} .featured-image-only`);if(!e)return;H();let t=new ResizeObserver(()=>{H()});return t?.observe(e,{}),()=>{t?.disconnect()}},[H,q,F]);let J=N(()=>({desktop:"inside"===m(B.ftNavigationPosition,"desktop"),tablet:"inside"===m(B.ftNavigationPosition,"tablet"),mobile:"inside"===m(B.ftNavigationPosition,"mobile")}),[B.ftNavigationPosition]),K=N(()=>"popup"===m(B.ftClickOpenLightBox,R),[B.ftClickOpenLightBox,R]),Q=N(()=>{if(!U)return"#";let e=new URL(U);return G?`${e.protocol}//${e.host}/products/${G.handle}`:"#"},[U,G]),V=N(()=>{let e={},t=["desktop","mobile","tablet"];return t.forEach(t=>{let o=m(B.ftShape,t),r=o?.width;e={...e,[t]:r||"100%"}}),e},[B.ftShape]),X=N(()=>p(B.ftShape),[B.ftShape]),Y=N(()=>B?.hoverEffect==="other"?I?.[B?.otherImage?B.otherImage:0]:I?.find(e=>e.id===O?.id)||I?.[0],[O,I,B?.hoverEffect,B?.otherImage]),Z=function(){return Math.random().toString(36).substr(2,5)},_=e=>{M&&clearTimeout(M),M=setTimeout(()=>L&&L(e),500)},ee=t=>"product-link"===m(B.ftClickOpenLightBox,R)?e("a",{title:G?.title,href:Q,className:"gp-w-full",children:t}):t,et=()=>{let e="1/1",t=0;return I?.forEach(o=>{if(o.width&&o.height){let r=o.height/o.width;r>t&&(t=r,e=`${o.width}/${o.height}`)}}),e},eo=()=>{let e=w(B.ftShape),t=et();return{desktop:e.desktop||t,tablet:e.tablet||t,mobile:e.mobile||t}};return e(r,{parentClass:z,elmRef:E,setting:{loop:B?.ftLoop,dotStyle:B.ftDotStyle,dotSize:B.ftDotSize,dotGapToCarousel:B.ftDotGapToCarousel,dotColor:B.ftDotColor,dotActiveColor:B.ftDotActiveColor,itemNumber:{desktop:1},slidesToShow:{desktop:1},defaultCurrentSlider:W,controlOverContent:J,enableDrag:{desktop:B?.ftDragToScroll,tablet:B?.ftDragToScroll,mobile:B?.ftDragToScroll},arrowCustom:B?.ftArrowIcon,arrowCustomColor:B?.ftArrowIconColor,arrowBackgroundColor:B?.ftArrowNavColor,arrowBorder:{desktop:B?.ftArrowNavBorder},roundedArrow:{desktop:B?.ftArrowNavRadius},sneakPeakType:{desktop:"center"},arrowGapToEachSide:"16",navigationStyle:B?.ftNavigationPosition,arrowButtonSize:{desktop:{width:"24px",height:"24px"}}},styles:{sizeSetting:{desktop:{width:V?.desktop||"100%",height:"auto"},tablet:{width:V?.tablet||"100%",height:"auto"},mobile:{width:V?.mobile||"100%",height:"auto"}},align:{desktop:m(B?.align,"desktop"),tablet:m(B?.align,"tablet"),mobile:m(B?.align,"mobile")}},builderProps:{uid:q},isHiddenArrowWhenDisabled:!0,onLoaded:e=>$&&$(e),onChangeActive:e=>_(e),onClickArrow:()=>D&&D(Z()),moveToIdx:W,disableMarginAuto:!0,children:I?.map(r=>e(i,{contentType:"productImage",className:h(`gem-slider-item !gp-min-w-full !gp-max-w-full gem-slider-item-${q} gp-ft-image-item gp-group gp-relative gp-flex gp-w-full gp-items-start gp-justify-center gp-overflow-hidden gp-outline-1 -gp-outline-offset-1`),onClick:()=>{j(r?.id||"",K)},style:{maxWidth:"100%",outlineColor:"var(--g-c-brand, brand)",...f({normal:B.ftCorner}),...c("h",u(X))},onMouseMove:e=>C(e,B),onMouseOut:e=>k(e),children:ee(t(o,{children:[e(T,{src:r.src,width:r?.width,height:r?.height,alt:r?.alt,setting:{aspectRatio:eo(),layout:B?.ftLayout},className:"featured-image-only",priority:B?.preload,style:{width:"100%",height:"100%",cursor:"pointer"}}),e(S,{contentType:r?.contentType||""}),B?.hoverEffect!=="none"&&!y(r?.contentType)&&e(T,{src:B?.hoverEffect==="other"?Y?.src:r.src,width:B?.hoverEffect==="other"?Y?.width:r.width,height:B?.hoverEffect==="other"?Y?.height:r.height,alt:B?.hoverEffect==="other"?Y?.alt:r.alt,setting:{aspectRatio:eo(),layout:B?.ftLayout},style:{width:"100%",height:"100%"},className:h("hover-image featured-image-only !gp-max-w-none",v()),priority:B?.preload}),B?.hoverEffect=="zoom"&&B?.zoomType=="glasses"&&!y(r?.contentType)&&e("div",{className:h(b(),"room-len"),style:{...g({bgi:`url("${r?.src}")`})}})]}))},r?.id))})};var ProductFeaturedImageCarousel$1=I(ProductFeaturedImageCarousel);export{ProductFeaturedImageCarousel$1 as default};
|
package/dist/esm/product/components/ProductImagesV2/jsx/components/ProductGalleryCarousel.js
CHANGED
|
@@ -1,257 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { memo, useState, useEffect, useMemo } from 'react';
|
|
3
|
-
import Carousel from '../../../../../carousel/components/Carousel.js';
|
|
4
|
-
import CarouselItem from '../../../../../carousel/components/CarouselItem.js';
|
|
5
|
-
import { useCurrentDevice, useFeaturedImageGlobal, getResponsiveValueByScreen, getHeightByShapeGlobalSize, cls, makeStyleResponsive, makeWidth, makeHeight, composeRadius } from '@gem-sdk/core';
|
|
6
|
-
import { convertSpacing, getAspectRatio } from '../../common/common.js';
|
|
7
|
-
import NextImage from '../../../../../image/components/NextImage.js';
|
|
8
|
-
import { getShapeByLayout, getSliderPerShowConfig, getSettingWidthForCarouselItem, getSettingMinWidthForCarouselItem, checkDisplayGalleryByWidth, getAllowDotConfig, getDotStyleConfig, getCarouselVerticalConfigByPosition, getEditorMinHeightClass } from '../../common/productGallery.js';
|
|
9
|
-
import ButtonOpenLightBox from './ButtonOpenLightBox.js';
|
|
10
|
-
import MediaIcon from './MediaIcon.js';
|
|
11
|
-
|
|
12
|
-
const ProductGalleryCarousel = ({ builderPropUID, productImages, onHandleClick, activeIndexFormFeatureImage, onClickFeatureArrow, builderPropsClass, arrow, priorityFeatureImage, ...setting })=>{
|
|
13
|
-
const currentDevice = useCurrentDevice();
|
|
14
|
-
const featuredImageGlobal = useFeaturedImageGlobal();
|
|
15
|
-
const [imageActiveIndex, setImageActiveIndex] = useState(0);
|
|
16
|
-
const [hasClickFeatureArrow, setHasClickFeatureArrow] = useState(onClickFeatureArrow || '');
|
|
17
|
-
const [moveToIdx, setMoveToIdx] = useState(0);
|
|
18
|
-
useEffect(()=>{
|
|
19
|
-
setHasClickFeatureArrow(onClickFeatureArrow || '');
|
|
20
|
-
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
21
|
-
}, [
|
|
22
|
-
onClickFeatureArrow
|
|
23
|
-
]);
|
|
24
|
-
useEffect(()=>{
|
|
25
|
-
if (hasClickFeatureArrow) {
|
|
26
|
-
setImageActiveIndex(activeIndexFormFeatureImage || 0);
|
|
27
|
-
setMoveToIdx(activeIndexFormFeatureImage || 0);
|
|
28
|
-
setHasClickFeatureArrow('');
|
|
29
|
-
}
|
|
30
|
-
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
31
|
-
}, [
|
|
32
|
-
activeIndexFormFeatureImage
|
|
33
|
-
]);
|
|
34
|
-
useEffect(()=>{
|
|
35
|
-
if (priorityFeatureImage) {
|
|
36
|
-
const indexPriorityFeatureImage = productImages?.findIndex((item)=>item.id === priorityFeatureImage.id) || 0;
|
|
37
|
-
setMoveToIdx(indexPriorityFeatureImage);
|
|
38
|
-
setHasClickFeatureArrow('');
|
|
39
|
-
}
|
|
40
|
-
}, [
|
|
41
|
-
priorityFeatureImage,
|
|
42
|
-
productImages
|
|
43
|
-
]);
|
|
44
|
-
useEffect(()=>{
|
|
45
|
-
const index = productImages?.findIndex((item)=>item.id === featuredImageGlobal?.id);
|
|
46
|
-
setImageActiveIndex(index && index > 0 ? index : 0);
|
|
47
|
-
setMoveToIdx(index || 0);
|
|
48
|
-
setHasClickFeatureArrow('');
|
|
49
|
-
}, [
|
|
50
|
-
featuredImageGlobal,
|
|
51
|
-
productImages
|
|
52
|
-
]);
|
|
53
|
-
const layout = useMemo(()=>{
|
|
54
|
-
return getResponsiveValueByScreen(setting?.position, currentDevice);
|
|
55
|
-
}, [
|
|
56
|
-
currentDevice,
|
|
57
|
-
setting?.position
|
|
58
|
-
]);
|
|
59
|
-
const controlOverContent = useMemo(()=>{
|
|
60
|
-
return {
|
|
61
|
-
desktop: getResponsiveValueByScreen(setting.navigationPosition, 'desktop') === 'inside',
|
|
62
|
-
tablet: getResponsiveValueByScreen(setting.navigationPosition, 'tablet') === 'inside',
|
|
63
|
-
mobile: getResponsiveValueByScreen(setting.navigationPosition, 'mobile') === 'inside'
|
|
64
|
-
};
|
|
65
|
-
}, [
|
|
66
|
-
setting.navigationPosition
|
|
67
|
-
]);
|
|
68
|
-
const shapeByLayout = useMemo(()=>{
|
|
69
|
-
return getShapeByLayout({
|
|
70
|
-
shape: setting.shape,
|
|
71
|
-
shapeForBottom: setting.shapeForBottom,
|
|
72
|
-
shapeFor1Col: setting.shapeFor1Col,
|
|
73
|
-
shapeFor2Col: setting.shapeFor2Col,
|
|
74
|
-
shapeForFtOnly: setting.shapeForFtOnly
|
|
75
|
-
}, setting.position);
|
|
76
|
-
}, [
|
|
77
|
-
setting.shape,
|
|
78
|
-
setting.shapeForBottom,
|
|
79
|
-
setting.shapeFor1Col,
|
|
80
|
-
setting.shapeFor2Col,
|
|
81
|
-
setting.shapeForFtOnly,
|
|
82
|
-
setting.position
|
|
83
|
-
]);
|
|
84
|
-
const slidePerShow = useMemo(()=>{
|
|
85
|
-
return getSliderPerShowConfig(shapeByLayout, setting.position);
|
|
86
|
-
}, [
|
|
87
|
-
setting.position,
|
|
88
|
-
shapeByLayout
|
|
89
|
-
]);
|
|
90
|
-
const getWidthByLayoutForCarousel = useMemo(()=>{
|
|
91
|
-
let widthConfigByDevice = {};
|
|
92
|
-
const DEVICES = [
|
|
93
|
-
'desktop',
|
|
94
|
-
'mobile',
|
|
95
|
-
'tablet'
|
|
96
|
-
];
|
|
97
|
-
DEVICES.forEach((device)=>{
|
|
98
|
-
const isLayoutBottom = layout === 'bottom-center';
|
|
99
|
-
widthConfigByDevice = {
|
|
100
|
-
...widthConfigByDevice,
|
|
101
|
-
[device]: isLayoutBottom ? '100%' : getResponsiveValueByScreen(shapeByLayout, device)?.width
|
|
102
|
-
};
|
|
103
|
-
});
|
|
104
|
-
return widthConfigByDevice;
|
|
105
|
-
}, [
|
|
106
|
-
shapeByLayout,
|
|
107
|
-
layout
|
|
108
|
-
]);
|
|
109
|
-
const getWidthByLayoutForCarouselItem = useMemo(()=>{
|
|
110
|
-
return getSettingWidthForCarouselItem({
|
|
111
|
-
shapeByLayout,
|
|
112
|
-
position: setting.position
|
|
113
|
-
});
|
|
114
|
-
}, [
|
|
115
|
-
shapeByLayout,
|
|
116
|
-
setting.position
|
|
117
|
-
]);
|
|
118
|
-
const getMinWidthByLayoutForCarouselItem = useMemo(()=>{
|
|
119
|
-
return getSettingMinWidthForCarouselItem({
|
|
120
|
-
shapeByLayout,
|
|
121
|
-
position: setting.position,
|
|
122
|
-
spacing: setting.itemSpacing
|
|
123
|
-
});
|
|
124
|
-
}, [
|
|
125
|
-
shapeByLayout,
|
|
126
|
-
setting.position,
|
|
127
|
-
setting.itemSpacing
|
|
128
|
-
]);
|
|
129
|
-
const getHeightByLayoutForCarouselItem = useMemo(()=>{
|
|
130
|
-
return getHeightByShapeGlobalSize(shapeByLayout);
|
|
131
|
-
}, [
|
|
132
|
-
shapeByLayout
|
|
133
|
-
]);
|
|
134
|
-
const enableOpenLightBox = useMemo(()=>{
|
|
135
|
-
return getResponsiveValueByScreen(setting.clickOpenLightBox, currentDevice);
|
|
136
|
-
}, [
|
|
137
|
-
setting.clickOpenLightBox,
|
|
138
|
-
currentDevice
|
|
139
|
-
]);
|
|
140
|
-
const isDisplay = useMemo(()=>{
|
|
141
|
-
const isDisplayByWidth = checkDisplayGalleryByWidth({
|
|
142
|
-
shapeByLayout
|
|
143
|
-
});
|
|
144
|
-
return getResponsiveValueByScreen(isDisplayByWidth, currentDevice);
|
|
145
|
-
}, [
|
|
146
|
-
shapeByLayout,
|
|
147
|
-
currentDevice
|
|
148
|
-
]);
|
|
149
|
-
return isDisplay && /*#__PURE__*/ jsx(Carousel, {
|
|
150
|
-
parentClass: builderPropsClass,
|
|
151
|
-
setting: {
|
|
152
|
-
loop: setting?.loop,
|
|
153
|
-
// slidesToShow: slidePerShow,
|
|
154
|
-
itemNumber: slidePerShow,
|
|
155
|
-
dot: getAllowDotConfig(),
|
|
156
|
-
dotStyle: getDotStyleConfig(),
|
|
157
|
-
controlOverContent: controlOverContent,
|
|
158
|
-
enableDrag: {
|
|
159
|
-
desktop: setting?.dragToScroll,
|
|
160
|
-
tablet: setting?.dragToScroll,
|
|
161
|
-
mobile: setting?.dragToScroll
|
|
162
|
-
},
|
|
163
|
-
vertical: getCarouselVerticalConfigByPosition(setting.position),
|
|
164
|
-
arrowCustom: setting?.arrowIcon,
|
|
165
|
-
arrowCustomColor: setting?.arrowIconColor,
|
|
166
|
-
arrowBackgroundColor: setting?.arrowNavColor,
|
|
167
|
-
arrowBorder: {
|
|
168
|
-
desktop: setting?.arrowNavBorder
|
|
169
|
-
},
|
|
170
|
-
roundedArrow: {
|
|
171
|
-
desktop: setting?.arrowNavRadius
|
|
172
|
-
},
|
|
173
|
-
sneakPeakType: {
|
|
174
|
-
desktop: 'center'
|
|
175
|
-
},
|
|
176
|
-
arrowGapToEachSide: '16',
|
|
177
|
-
navigationStyle: setting.navigationPosition,
|
|
178
|
-
arrowButtonSize: {
|
|
179
|
-
desktop: {
|
|
180
|
-
width: '24px',
|
|
181
|
-
height: '24px'
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
},
|
|
185
|
-
styles: {
|
|
186
|
-
spacing: convertSpacing(setting?.itemSpacing),
|
|
187
|
-
sizeSetting: {
|
|
188
|
-
desktop: {
|
|
189
|
-
width: getWidthByLayoutForCarousel['desktop'] || '100%',
|
|
190
|
-
height: 'auto'
|
|
191
|
-
},
|
|
192
|
-
tablet: {
|
|
193
|
-
width: getWidthByLayoutForCarousel['tablet'] || '100%',
|
|
194
|
-
height: 'auto'
|
|
195
|
-
},
|
|
196
|
-
mobile: {
|
|
197
|
-
width: getWidthByLayoutForCarousel['mobile'] || '100%',
|
|
198
|
-
height: 'auto'
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
},
|
|
202
|
-
slidesClass: getEditorMinHeightClass(currentDevice, setting.position, setting.navigationPosition),
|
|
203
|
-
builderProps: {
|
|
204
|
-
uid: builderPropUID
|
|
205
|
-
},
|
|
206
|
-
moveToIdx: moveToIdx,
|
|
207
|
-
isHiddenArrowWhenDisabled: true,
|
|
208
|
-
disableMarginAuto: true,
|
|
209
|
-
children: productImages?.map((image, index, arr)=>{
|
|
210
|
-
const canActive = index === imageActiveIndex && arr.length > 1;
|
|
211
|
-
return /*#__PURE__*/ jsxs(CarouselItem, {
|
|
212
|
-
contentType: "productImage",
|
|
213
|
-
className: cls(`gem-slider-item gem-slider-item-${builderPropUID} gp-group gp-flex gp-w-full gp-items-center gp-justify-center gp-overflow-hidden gp-outline-1 -gp-outline-offset-1`, {
|
|
214
|
-
'gp-outline ': canActive && !!setting?.showActiveStatus
|
|
215
|
-
}),
|
|
216
|
-
onClick: ()=>{
|
|
217
|
-
onHandleClick(image?.id || '', enableOpenLightBox);
|
|
218
|
-
},
|
|
219
|
-
style: {
|
|
220
|
-
maxWidth: '100%',
|
|
221
|
-
outlineColor: 'var(--g-c-brand, brand)',
|
|
222
|
-
...makeStyleResponsive('minw', makeWidth(getMinWidthByLayoutForCarouselItem)),
|
|
223
|
-
...makeStyleResponsive('w', makeWidth(getWidthByLayoutForCarouselItem)),
|
|
224
|
-
...makeStyleResponsive('h', makeHeight(getHeightByLayoutForCarouselItem)),
|
|
225
|
-
...composeRadius({
|
|
226
|
-
normal: setting.corner
|
|
227
|
-
})
|
|
228
|
-
},
|
|
229
|
-
"data-id": image?.id,
|
|
230
|
-
children: [
|
|
231
|
-
/*#__PURE__*/ jsx(NextImage, {
|
|
232
|
-
src: image.src,
|
|
233
|
-
width: image?.width,
|
|
234
|
-
height: image?.height,
|
|
235
|
-
alt: image?.alt,
|
|
236
|
-
setting: {
|
|
237
|
-
aspectRatio: getAspectRatio(shapeByLayout),
|
|
238
|
-
layout: setting?.layout
|
|
239
|
-
},
|
|
240
|
-
style: {
|
|
241
|
-
width: '100%',
|
|
242
|
-
height: '100%',
|
|
243
|
-
cursor: "pointer"
|
|
244
|
-
}
|
|
245
|
-
}),
|
|
246
|
-
/*#__PURE__*/ jsx(MediaIcon, {
|
|
247
|
-
contentType: image?.contentType || ''
|
|
248
|
-
}),
|
|
249
|
-
getResponsiveValueByScreen(setting?.clickOpenLightBox, currentDevice) && /*#__PURE__*/ jsx(ButtonOpenLightBox, {})
|
|
250
|
-
]
|
|
251
|
-
}, image?.id);
|
|
252
|
-
})
|
|
253
|
-
});
|
|
254
|
-
};
|
|
255
|
-
var ProductGalleryCarousel$1 = /*#__PURE__*/ memo(ProductGalleryCarousel);
|
|
256
|
-
|
|
257
|
-
export { ProductGalleryCarousel$1 as default };
|
|
1
|
+
import{jsx as o,jsxs as e}from"react/jsx-runtime";import{memo as t,useState as i,useEffect as r,useMemo as a,useCallback as n}from"react";import l from"../../../../../carousel/components/Carousel.js";import s from"../../../../../carousel/components/CarouselItem.js";import{useCurrentDevice as p,useFeaturedImageGlobal as d,useEditorMode as m,getResponsiveValueByScreen as c,getHeightByShapeGlobalSize as u,cls as g,makeStyleResponsive as h,makeWidth as y,makeHeight as w,composeRadius as f}from"@gem-sdk/core";import{convertSpacing as b,getAspectRatio as C}from"../../common/common.js";import v from"../../../../../image/components/NextImage.js";import{getShapeByLayout as k,getSliderPerShowConfig as P,getSettingWidthForCarouselItem as F,getSettingMinWidthForCarouselItem as x,checkDisplayGalleryByWidth as S,getAllowDotConfig as T,getDotStyleConfig as B,getCarouselVerticalConfigByPosition as q,getEditorMinHeightClass as j}from"../../common/productGallery.js";import I from"./ButtonOpenLightBox.js";import O from"./MediaIcon.js";import{handleSetSrcForProductImageList as N}from"../../../../../image/helpers/getSrcSet.js";let ProductGalleryCarousel=({builderPropUID:t,productImages:G,onHandleClick:L,activeIndexFormFeatureImage:$,onClickFeatureArrow:z,builderPropsClass:A,arrow:R,priorityFeatureImage:D,...E})=>{let M=p(),W=d(),[H,J]=i(z||""),K=m(),[Q,U]=i(0);r(()=>{J(z||"")},[z]),r(()=>{H&&(U($||0),J(""))},[$]),r(()=>{if(D){let o=G?.findIndex(o=>o.id===D.id)||0;U(o),J("")}},[D,G]),r(()=>{let o=G?.findIndex(o=>o.id===W?.id);U(o||0),J("")},[W,G]);let V=a(()=>c(E?.position,M),[M,E?.position]),X=a(()=>({desktop:"inside"===c(E.navigationPosition,"desktop"),tablet:"inside"===c(E.navigationPosition,"tablet"),mobile:"inside"===c(E.navigationPosition,"mobile")}),[E.navigationPosition]),Y=a(()=>k({shape:E.shape,shapeForBottom:E.shapeForBottom,shapeFor1Col:E.shapeFor1Col,shapeFor2Col:E.shapeFor2Col,shapeForFtOnly:E.shapeForFtOnly},E.position),[E.shape,E.shapeForBottom,E.shapeFor1Col,E.shapeFor2Col,E.shapeForFtOnly,E.position]),Z=n(()=>{N({builderPropUID:t,shapeByLayout:Y,qualityType:E.qualityType,qualityPercent:E.qualityPercent})},[Y,E.qualityPercent,E.qualityType,t]);r(()=>{if("edit"===K)return;let o=document?.querySelector(`.gem-slider-item-${t} .product-list-image`);if(!o)return;Z();let e=new ResizeObserver(()=>{Z()});return e?.observe(o,{}),()=>{e?.disconnect()}},[Z,t,K]);let _=a(()=>P(Y,E.position),[E.position,Y]),oo=a(()=>{let o={},e=["desktop","mobile","tablet"];return e.forEach(e=>{let t="bottom-center"===V;o={...o,[e]:t?"100%":c(Y,e)?.width}}),o},[Y,V]),oe=a(()=>F({shapeByLayout:Y,position:E.position}),[Y,E.position]),ot=a(()=>x({shapeByLayout:Y,position:E.position,spacing:E.itemSpacing}),[Y,E.position,E.itemSpacing]),oi=a(()=>u(Y),[Y]),or=a(()=>c(E.clickOpenLightBox,M),[E.clickOpenLightBox,M]),oa=a(()=>{let o=S({shapeByLayout:Y});return c(o,M)},[Y,M]);return oa&&o(l,{parentClass:A,setting:{loop:E?.loop,itemNumber:_,dot:T(),dotStyle:B(),controlOverContent:X,enableDrag:{desktop:E?.dragToScroll,tablet:E?.dragToScroll,mobile:E?.dragToScroll},vertical:q(E.position),arrowCustom:E?.arrowIcon,arrowCustomColor:E?.arrowIconColor,arrowBackgroundColor:E?.arrowNavColor,arrowBorder:{desktop:E?.arrowNavBorder},roundedArrow:{desktop:E?.arrowNavRadius},sneakPeakType:{desktop:"center"},arrowGapToEachSide:"16",navigationStyle:E.navigationPosition,arrowButtonSize:{desktop:{width:"24px",height:"24px"}}},styles:{spacing:b(E?.itemSpacing),sizeSetting:{desktop:{width:oo.desktop||"100%",height:"auto"},tablet:{width:oo.tablet||"100%",height:"auto"},mobile:{width:oo.mobile||"100%",height:"auto"}}},slidesClass:j(M,E.position,E.navigationPosition),builderProps:{uid:t},moveToIdx:Q,isHiddenArrowWhenDisabled:!0,disableMarginAuto:!0,children:G?.map(i=>e(s,{contentType:"productImage",className:g(`gem-slider-item gem-slider-item-${t} gp-gallery-image-item gp-group gp-flex gp-w-full gp-items-center gp-justify-center gp-overflow-hidden gp-outline-1 -gp-outline-offset-1 data-[border=deactive]:after:!gp-border-transparent`),onClick:()=>{L(i?.id||"",or)},style:{maxWidth:"100%",outlineColor:"var(--g-c-brand, brand)",...h("minw",y(ot)),...h("w",y(oe)),...h("h",w(oi)),...f({normal:E.corner})},children:[o(v,{src:i.src,width:i?.width,height:i?.height,alt:i?.alt,setting:{aspectRatio:C(Y),layout:E?.layout,qualityPercent:E?.qualityPercent,qualityType:E?.qualityType},style:{width:"100%",height:"100%",cursor:"pointer"},className:"product-list-image"}),o(O,{contentType:i?.contentType||""}),c(E?.clickOpenLightBox,M)&&o(I,{})]},i?.id))})};var ProductGalleryCarousel$1=t(ProductGalleryCarousel);export{ProductGalleryCarousel$1 as default};
|