@gem-sdk/components 1.38.1 → 2.0.0-dev.832
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,506 +1 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
6
|
-
var core = require('@gem-sdk/core');
|
|
7
|
-
var react = require('react');
|
|
8
|
-
var react$1 = require('keen-slider/react');
|
|
9
|
-
var Arrow = require('./Arrow.js');
|
|
10
|
-
var Dots = require('./Dots.js');
|
|
11
|
-
var AutoPlayPlugin = require('./plugins/AutoPlayPlugin.js');
|
|
12
|
-
var MutationPlugin = require('./plugins/MutationPlugin.js');
|
|
13
|
-
var index = require('../../product/components/ProductVariants/index.js');
|
|
14
|
-
var FixSliderMoveBackwards = require('./plugins/FixSliderMoveBackwards.js');
|
|
15
|
-
var AnimationPlugin = require('./plugins/AnimationPlugin.js');
|
|
16
|
-
var useTrackPreviewPause = require('./hooks/useTrackPreviewPause.js');
|
|
17
|
-
var arrow = require('./common/arrow.js');
|
|
18
|
-
|
|
19
|
-
const Carousel = ({ children, builderAttrs, builderProps, style, styles, moveToIdx, isHiddenArrowWhenDisabled = true, hiddenDotWhenOnlyOne, onLoaded, onChangeActive, onUpdated, onCreated, onClickArrow, elmRef, rootClass, slidesClass, ...props })=>{
|
|
20
|
-
const setting = arrow.mappingNavigationCarousel(props.setting);
|
|
21
|
-
const isRunningAnimation = react.useRef(false);
|
|
22
|
-
const [loaded, setLoaded] = react.useState(false);
|
|
23
|
-
const [slider, setSlider] = react.useState();
|
|
24
|
-
const [currentSlide, setCurrentSlide] = react.useState(setting?.defaultCurrentSlider ?? 0);
|
|
25
|
-
const [totalSlideItem, setTotalSlideItem] = react.useState(0);
|
|
26
|
-
const [slideMaxIndex, setSlideMaxIndex] = react.useState(0);
|
|
27
|
-
const [isInfinity, setIsInfinity] = react.useState(false);
|
|
28
|
-
const { isFirstPreviewClicked } = useTrackPreviewPause.default(setting?.runPreview);
|
|
29
|
-
const currentDevice = core.useCurrentDevice();
|
|
30
|
-
const mode = core.useEditorMode();
|
|
31
|
-
let delayTimeout;
|
|
32
|
-
const getSlideToShowFromOldData = react.useCallback(()=>{
|
|
33
|
-
if (!setting?.slidesToShow) return null;
|
|
34
|
-
const result = {};
|
|
35
|
-
index.DEVICES.forEach((device)=>{
|
|
36
|
-
const value = core.getResponsiveValueByScreen(setting?.slidesToShow, device);
|
|
37
|
-
result[device] = value ? value === 'auto' ? 4 : value : 0;
|
|
38
|
-
});
|
|
39
|
-
return result;
|
|
40
|
-
}, [
|
|
41
|
-
setting?.slidesToShow
|
|
42
|
-
]);
|
|
43
|
-
const getItemNumberFromOldData = react.useCallback(()=>{
|
|
44
|
-
if (!setting?.slidesToShow) return null;
|
|
45
|
-
const result = {};
|
|
46
|
-
index.DEVICES.forEach((device)=>{
|
|
47
|
-
const value = core.getResponsiveValueByScreen(setting?.slidesToShow, device);
|
|
48
|
-
result[device] = value ? value === 'auto' ? 4 : Math.floor(value) : 0;
|
|
49
|
-
});
|
|
50
|
-
return result;
|
|
51
|
-
}, [
|
|
52
|
-
setting?.slidesToShow
|
|
53
|
-
]);
|
|
54
|
-
const slidesToShow = react.useMemo(()=>{
|
|
55
|
-
const oldData = getSlideToShowFromOldData();
|
|
56
|
-
if (oldData) {
|
|
57
|
-
return oldData;
|
|
58
|
-
}
|
|
59
|
-
const result = {};
|
|
60
|
-
index.DEVICES.forEach((device)=>{
|
|
61
|
-
const enableSneakPeak = core.getResponsiveValueByScreen(setting?.sneakPeak, device);
|
|
62
|
-
const offset = enableSneakPeak ? core.getResponsiveValueByScreen(setting?.sneakPeakType, device) === 'center' ? core.getResponsiveValueByScreen(setting?.sneakPeakOffsetCenter, device) ?? 0 : core.getResponsiveValueByScreen(setting?.sneakPeakOffsetForward, device) ?? 0 : 0;
|
|
63
|
-
const rx = core.getResponsiveValueByScreen(setting?.sneakPeakType, device) === 'center' ? -2 : -1;
|
|
64
|
-
const itemNumberByDevice = core.getResponsiveValueByScreen(setting?.itemNumber, device);
|
|
65
|
-
result[device] = typeof itemNumberByDevice === 'number' ? itemNumberByDevice + offset / 100 * rx : 'auto';
|
|
66
|
-
});
|
|
67
|
-
return result;
|
|
68
|
-
}, [
|
|
69
|
-
getSlideToShowFromOldData,
|
|
70
|
-
setting?.itemNumber,
|
|
71
|
-
setting?.sneakPeak,
|
|
72
|
-
setting?.sneakPeakOffsetCenter,
|
|
73
|
-
setting?.sneakPeakOffsetForward,
|
|
74
|
-
setting?.sneakPeakType
|
|
75
|
-
]);
|
|
76
|
-
const itemNumber = react.useMemo(()=>{
|
|
77
|
-
const oldData = getItemNumberFromOldData();
|
|
78
|
-
return oldData || setting?.itemNumber;
|
|
79
|
-
}, [
|
|
80
|
-
getItemNumberFromOldData,
|
|
81
|
-
setting?.itemNumber
|
|
82
|
-
]);
|
|
83
|
-
const slideItemsPerPage = ()=>{
|
|
84
|
-
const items = core.getResponsiveValueByScreen(slidesToShow, currentDevice, 1) === 'auto' ? 1 : core.getResponsiveValueByScreen(slidesToShow, currentDevice, 1);
|
|
85
|
-
return items ?? 1;
|
|
86
|
-
};
|
|
87
|
-
const { sizeSetting } = styles ?? {};
|
|
88
|
-
const { navigationStyle, arrowButtonSize, arrowBackgroundColor, arrowGapToEachSide = '16', arrowBorder, roundedArrow, arrowIconSize, arrowCustomColor, showWhenHover } = setting ?? {};
|
|
89
|
-
const styleHeight = core.makeStyleResponsive('h', core.getHeightByShapeGlobalSize(sizeSetting));
|
|
90
|
-
const styleWidth = core.makeStyleWithDefault('w', core.getWidthByShapeGlobalSize(sizeSetting, true), {
|
|
91
|
-
desktop: '--g-ct-w',
|
|
92
|
-
tablet: '--g-ct-w',
|
|
93
|
-
mobile: '--g-ct-w'
|
|
94
|
-
});
|
|
95
|
-
const getNumberOfFullWidthShow = react.useCallback((device)=>{
|
|
96
|
-
const sneakPeekTypeByNumber = core.getResponsiveValueByScreen(setting?.sneakPeakType, device) === 'center' ? 2 : 1;
|
|
97
|
-
return typeof core.getResponsiveValueByScreen(itemNumber, device, 4) === 'number' ? core.getResponsiveValueByScreen(itemNumber, device, 4) - sneakPeekTypeByNumber : undefined;
|
|
98
|
-
}, [
|
|
99
|
-
setting?.sneakPeakType,
|
|
100
|
-
itemNumber
|
|
101
|
-
]);
|
|
102
|
-
const enabledSneakPeak = setting?.sneakPeak?.[currentDevice];
|
|
103
|
-
const getOriginCarousel = react.useMemo(()=>(device)=>{
|
|
104
|
-
const origin = core.getResponsiveValueByScreen(setting?.sneakPeakType, device) === 'center' && core.getResponsiveValueByScreen(setting?.sneakPeak, device) ? 'center' : 'auto';
|
|
105
|
-
return origin;
|
|
106
|
-
}, [
|
|
107
|
-
setting?.sneakPeak,
|
|
108
|
-
setting?.sneakPeakType
|
|
109
|
-
]);
|
|
110
|
-
const getMaxNavigationWhenSneak = react.useMemo(()=>(device)=>{
|
|
111
|
-
if (getOriginCarousel(device) !== 'center') return {};
|
|
112
|
-
const totalItems = setting?.childItem?.length || 1;
|
|
113
|
-
let itemShow = Number(core.getResponsiveValueByScreen(slidesToShow, device, 1)) || 1 + 1;
|
|
114
|
-
if (setting?.sneakPeak?.[currentDevice]) {
|
|
115
|
-
itemShow = Math.trunc(Number(getNumberOfFullWidthShow(device)));
|
|
116
|
-
}
|
|
117
|
-
const max = totalItems - itemShow;
|
|
118
|
-
const isLoopByDevice = core.getResponsiveValueByScreen(setting?.loop, device, false);
|
|
119
|
-
if (isLoopByDevice) return {
|
|
120
|
-
max: undefined
|
|
121
|
-
};
|
|
122
|
-
return {
|
|
123
|
-
max
|
|
124
|
-
};
|
|
125
|
-
}, [
|
|
126
|
-
setting?.childItem,
|
|
127
|
-
slidesToShow,
|
|
128
|
-
getOriginCarousel,
|
|
129
|
-
setting?.loop,
|
|
130
|
-
currentDevice,
|
|
131
|
-
setting?.sneakPeak,
|
|
132
|
-
getNumberOfFullWidthShow
|
|
133
|
-
]);
|
|
134
|
-
const makeSpacing = ()=>{
|
|
135
|
-
if (loaded) return;
|
|
136
|
-
let result = {};
|
|
137
|
-
index.DEVICES.forEach((device)=>{
|
|
138
|
-
const isVertical = core.getResponsiveValueByScreen(setting?.vertical, device);
|
|
139
|
-
const spacing = core.getResponsiveValueByScreen(styles?.spacing, device);
|
|
140
|
-
const key = isVertical ? `--rg${device !== 'desktop' ? `-${device}` : ''}` : `--cg${device !== 'desktop' ? `-${device}` : ''}`;
|
|
141
|
-
result = {
|
|
142
|
-
...result,
|
|
143
|
-
[key]: `${spacing}px`
|
|
144
|
-
};
|
|
145
|
-
});
|
|
146
|
-
return result;
|
|
147
|
-
};
|
|
148
|
-
const removeInitialCarouselGap = ()=>{
|
|
149
|
-
const sliderSelector = document.querySelectorAll(`.gp-carousel-slider-${builderProps?.uid}`);
|
|
150
|
-
if (!sliderSelector) return;
|
|
151
|
-
sliderSelector.forEach((selector)=>{
|
|
152
|
-
selector?.style.removeProperty('--cg');
|
|
153
|
-
selector?.style.removeProperty('--cg-tablet');
|
|
154
|
-
selector?.style.removeProperty('--cg-mobile');
|
|
155
|
-
selector?.style.removeProperty('--rg');
|
|
156
|
-
selector?.style.removeProperty('--rg-tablet');
|
|
157
|
-
selector?.style.removeProperty('--rg-mobile');
|
|
158
|
-
});
|
|
159
|
-
};
|
|
160
|
-
const [sliderRef, instanceRef] = react$1.useKeenSlider({
|
|
161
|
-
selector: `.gem-slider-item-${builderProps?.uid}`,
|
|
162
|
-
optionsChanged: (slider)=>{
|
|
163
|
-
if (slider?.track?.details?.maxIdx === Infinity) {
|
|
164
|
-
setIsInfinity(true);
|
|
165
|
-
} else {
|
|
166
|
-
setIsInfinity(false);
|
|
167
|
-
}
|
|
168
|
-
setTotalSlideItem(Math.ceil(slider.slides.length));
|
|
169
|
-
setSlideMaxIndex(slider?.track?.details?.maxIdx);
|
|
170
|
-
},
|
|
171
|
-
defaultAnimation: {
|
|
172
|
-
duration: styles?.playSpeed,
|
|
173
|
-
easing: (t)=>{
|
|
174
|
-
switch(setting?.animationMode){
|
|
175
|
-
case AnimationPlugin.CAROUSEL_ANIMATION.EASE_IN.value:
|
|
176
|
-
return AnimationPlugin.CAROUSEL_ANIMATION.EASE_IN.formula(t);
|
|
177
|
-
case AnimationPlugin.CAROUSEL_ANIMATION.EASE_OUT.value:
|
|
178
|
-
return AnimationPlugin.CAROUSEL_ANIMATION.EASE_OUT.formula(t);
|
|
179
|
-
case AnimationPlugin.CAROUSEL_ANIMATION.EASE_IN_OUT.value:
|
|
180
|
-
return AnimationPlugin.CAROUSEL_ANIMATION.EASE_IN_OUT.formula(t);
|
|
181
|
-
default:
|
|
182
|
-
return AnimationPlugin.CAROUSEL_ANIMATION.DEFAULT.formula(t);
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
},
|
|
186
|
-
dragSpeed: 2,
|
|
187
|
-
renderMode: 'precision',
|
|
188
|
-
mode: 'snap',
|
|
189
|
-
loop: core.getResponsiveValueByScreen(setting?.loop, 'desktop', false),
|
|
190
|
-
vertical: core.getResponsiveValueByScreen(setting?.vertical, 'desktop'),
|
|
191
|
-
breakpoints: {
|
|
192
|
-
'(max-width: 9999px)': {
|
|
193
|
-
slides: {
|
|
194
|
-
perView: core.getResponsiveValueByScreen(slidesToShow, 'desktop', 4) || 1,
|
|
195
|
-
spacing: core.getResponsiveValueByScreen(styles?.spacing, 'desktop'),
|
|
196
|
-
origin: getOriginCarousel('desktop'),
|
|
197
|
-
numberOfFullWidthShow: getNumberOfFullWidthShow('desktop')
|
|
198
|
-
},
|
|
199
|
-
loop: core.getResponsiveValueByScreen(setting?.loop, 'desktop', false),
|
|
200
|
-
vertical: core.getResponsiveValueByScreen(setting?.vertical, 'desktop'),
|
|
201
|
-
drag: core.getResponsiveValueByScreen(mode == 'edit' ? {
|
|
202
|
-
desktop: false
|
|
203
|
-
} : setting?.enableDrag, 'desktop'),
|
|
204
|
-
initial: moveToIdx || (getOriginCarousel('desktop') === 'center' ? 1 : 0),
|
|
205
|
-
range: getMaxNavigationWhenSneak('desktop')
|
|
206
|
-
},
|
|
207
|
-
'(max-width: 1023px)': {
|
|
208
|
-
slides: {
|
|
209
|
-
perView: core.getResponsiveValueByScreen(slidesToShow, 'tablet', 4),
|
|
210
|
-
spacing: core.getResponsiveValueByScreen(styles?.spacing, 'tablet'),
|
|
211
|
-
origin: getOriginCarousel('tablet'),
|
|
212
|
-
numberOfFullWidthShow: getNumberOfFullWidthShow('tablet')
|
|
213
|
-
},
|
|
214
|
-
loop: core.getResponsiveValueByScreen(setting?.loop, 'tablet', false),
|
|
215
|
-
vertical: core.getResponsiveValueByScreen(setting?.vertical, 'tablet'),
|
|
216
|
-
drag: core.getResponsiveValueByScreen(mode == 'edit' ? {
|
|
217
|
-
tablet: false
|
|
218
|
-
} : setting?.enableDrag, 'tablet'),
|
|
219
|
-
initial: moveToIdx || (getOriginCarousel('tablet') === 'center' ? 1 : 0),
|
|
220
|
-
range: getMaxNavigationWhenSneak('tablet')
|
|
221
|
-
},
|
|
222
|
-
'(max-width: 767px)': {
|
|
223
|
-
slides: {
|
|
224
|
-
perView: core.getResponsiveValueByScreen(slidesToShow, 'mobile', 4),
|
|
225
|
-
spacing: core.getResponsiveValueByScreen(styles?.spacing, 'mobile'),
|
|
226
|
-
origin: getOriginCarousel('mobile'),
|
|
227
|
-
numberOfFullWidthShow: getNumberOfFullWidthShow('mobile')
|
|
228
|
-
},
|
|
229
|
-
loop: core.getResponsiveValueByScreen(setting?.loop, 'mobile', false),
|
|
230
|
-
vertical: core.getResponsiveValueByScreen(setting?.vertical, 'mobile'),
|
|
231
|
-
drag: core.getResponsiveValueByScreen(mode == 'edit' ? {
|
|
232
|
-
mobile: false
|
|
233
|
-
} : setting?.enableDrag, 'mobile'),
|
|
234
|
-
initial: moveToIdx || (getOriginCarousel('mobile') === 'center' ? 1 : 0),
|
|
235
|
-
range: getMaxNavigationWhenSneak('mobile')
|
|
236
|
-
}
|
|
237
|
-
},
|
|
238
|
-
slideChanged: (slider)=>{
|
|
239
|
-
setCurrentSlide(slider.track.details.rel);
|
|
240
|
-
onChangeActive && onChangeActive(slider.track.details.rel);
|
|
241
|
-
},
|
|
242
|
-
created: (slider)=>{
|
|
243
|
-
setLoaded(true);
|
|
244
|
-
setSlider(slider);
|
|
245
|
-
setCurrentSlide(slider.track.details.rel);
|
|
246
|
-
onCreated && onCreated(slider);
|
|
247
|
-
removeInitialCarouselGap();
|
|
248
|
-
},
|
|
249
|
-
updated: (slider)=>{
|
|
250
|
-
onLoaded && onLoaded(true);
|
|
251
|
-
onUpdated && onUpdated(slider);
|
|
252
|
-
},
|
|
253
|
-
autoplay: {
|
|
254
|
-
delay: (setting?.autoplayTimeout ?? 1) * 1000,
|
|
255
|
-
pauseOnHover: setting?.pauseOnHover,
|
|
256
|
-
enable: mode === 'edit' ? isFirstPreviewClicked ? setting?.runPreview && setting?.autoplay : false : setting?.autoplay
|
|
257
|
-
},
|
|
258
|
-
animation: {
|
|
259
|
-
type: setting?.animationMode,
|
|
260
|
-
speed: styles?.playSpeed
|
|
261
|
-
},
|
|
262
|
-
dragStarted: (slider)=>{
|
|
263
|
-
slider.container.style.cursor = 'grabbing';
|
|
264
|
-
},
|
|
265
|
-
dragEnded: (slider)=>{
|
|
266
|
-
slider.container.style.cursor = 'auto';
|
|
267
|
-
},
|
|
268
|
-
animationStarted: (slider)=>{
|
|
269
|
-
// This code used to handle when user click next/prev button constantly
|
|
270
|
-
if (!isRunningAnimation.current) {
|
|
271
|
-
isRunningAnimation.current = true;
|
|
272
|
-
} else {
|
|
273
|
-
slider.options.defaultAnimation = {
|
|
274
|
-
duration: AnimationPlugin.DEFAULT_PLAY_SPEED,
|
|
275
|
-
easing: (t)=>AnimationPlugin.CAROUSEL_ANIMATION.DEFAULT.formula(t)
|
|
276
|
-
};
|
|
277
|
-
}
|
|
278
|
-
},
|
|
279
|
-
animationEnded: (slider)=>{
|
|
280
|
-
isRunningAnimation.current = false;
|
|
281
|
-
slider.options.defaultAnimation = {
|
|
282
|
-
duration: styles?.playSpeed,
|
|
283
|
-
easing (t) {
|
|
284
|
-
switch(setting?.animationMode){
|
|
285
|
-
case AnimationPlugin.CAROUSEL_ANIMATION.EASE_IN.value:
|
|
286
|
-
return AnimationPlugin.CAROUSEL_ANIMATION.EASE_IN.formula(t);
|
|
287
|
-
case AnimationPlugin.CAROUSEL_ANIMATION.EASE_OUT.value:
|
|
288
|
-
return AnimationPlugin.CAROUSEL_ANIMATION.EASE_OUT.formula(t);
|
|
289
|
-
case AnimationPlugin.CAROUSEL_ANIMATION.EASE_IN_OUT.value:
|
|
290
|
-
return AnimationPlugin.CAROUSEL_ANIMATION.EASE_IN_OUT.formula(t);
|
|
291
|
-
default:
|
|
292
|
-
return AnimationPlugin.CAROUSEL_ANIMATION.EASE_IN.formula(t);
|
|
293
|
-
}
|
|
294
|
-
}
|
|
295
|
-
};
|
|
296
|
-
}
|
|
297
|
-
}, [
|
|
298
|
-
MutationPlugin.MutationPlugin,
|
|
299
|
-
AutoPlayPlugin.AutoPlayPlugin,
|
|
300
|
-
AnimationPlugin.AnimationPlugin,
|
|
301
|
-
FixSliderMoveBackwards.FixSliderMoveBackwards
|
|
302
|
-
]);
|
|
303
|
-
// Update slider when size change
|
|
304
|
-
react.useEffect(()=>{
|
|
305
|
-
instanceRef.current?.update(instanceRef.current?.options);
|
|
306
|
-
}, [
|
|
307
|
-
instanceRef,
|
|
308
|
-
setting
|
|
309
|
-
]);
|
|
310
|
-
react.useEffect(()=>{
|
|
311
|
-
const moveToIndexListenEvent = (event)=>{
|
|
312
|
-
if (builderProps?.uid !== event?.detail.componentUid) return;
|
|
313
|
-
const maxIndexSlideTo = instanceRef?.current?.track.details.maxIdx;
|
|
314
|
-
let indexFinal = event?.detail.index || 0;
|
|
315
|
-
if (maxIndexSlideTo && indexFinal > maxIndexSlideTo) indexFinal = maxIndexSlideTo;
|
|
316
|
-
instanceRef.current?.moveToIdx(indexFinal);
|
|
317
|
-
};
|
|
318
|
-
window.addEventListener('move-to-idx', moveToIndexListenEvent);
|
|
319
|
-
return ()=>window.removeEventListener('move-to-idx', moveToIndexListenEvent);
|
|
320
|
-
}, [
|
|
321
|
-
instanceRef,
|
|
322
|
-
builderProps?.uid
|
|
323
|
-
]);
|
|
324
|
-
react.useEffect(()=>{
|
|
325
|
-
if (enabledSneakPeak && core.getResponsiveValueByScreen(setting?.sneakPeakType, currentDevice) === 'center' && instanceRef.current?.track.details.rel === 0) {
|
|
326
|
-
instanceRef?.current?.moveToIdx(1);
|
|
327
|
-
}
|
|
328
|
-
}, [
|
|
329
|
-
instanceRef,
|
|
330
|
-
setting?.sneakPeakType,
|
|
331
|
-
currentDevice,
|
|
332
|
-
enabledSneakPeak
|
|
333
|
-
]);
|
|
334
|
-
// change slider when receive prop move to idx
|
|
335
|
-
react.useEffect(()=>{
|
|
336
|
-
if (typeof moveToIdx == 'number') {
|
|
337
|
-
instanceRef?.current?.moveToIdx(moveToIdx);
|
|
338
|
-
}
|
|
339
|
-
}, [
|
|
340
|
-
instanceRef,
|
|
341
|
-
moveToIdx,
|
|
342
|
-
isHiddenArrowWhenDisabled
|
|
343
|
-
]);
|
|
344
|
-
const getIndexSlideItemBy = (pageIdx)=>{
|
|
345
|
-
let indexPage = pageIdx * slideItemsPerPage();
|
|
346
|
-
if (indexPage >= totalSlideItem - slideItemsPerPage()) {
|
|
347
|
-
indexPage = totalSlideItem - slideItemsPerPage();
|
|
348
|
-
}
|
|
349
|
-
return indexPage;
|
|
350
|
-
};
|
|
351
|
-
const sliderNext = ()=>{
|
|
352
|
-
instanceRef.current?.next();
|
|
353
|
-
if (onClickArrow) {
|
|
354
|
-
delayTimeout && clearTimeout(delayTimeout);
|
|
355
|
-
delayTimeout = setTimeout(()=>onClickArrow && onClickArrow(), 500);
|
|
356
|
-
}
|
|
357
|
-
};
|
|
358
|
-
const sliderPrev = ()=>{
|
|
359
|
-
instanceRef.current?.prev();
|
|
360
|
-
if (onClickArrow) {
|
|
361
|
-
delayTimeout && clearTimeout(delayTimeout);
|
|
362
|
-
delayTimeout = setTimeout(()=>onClickArrow && onClickArrow(), 500);
|
|
363
|
-
}
|
|
364
|
-
};
|
|
365
|
-
const navigationStyleRes = arrow.getResponsiveSetting(navigationStyle || {});
|
|
366
|
-
const showNavigation = react.useMemo(()=>{
|
|
367
|
-
return loaded && instanceRef.current && navigationStyleRes[currentDevice] !== 'none';
|
|
368
|
-
}, [
|
|
369
|
-
currentDevice,
|
|
370
|
-
instanceRef,
|
|
371
|
-
loaded,
|
|
372
|
-
navigationStyleRes
|
|
373
|
-
]);
|
|
374
|
-
return /*#__PURE__*/ jsxRuntime.jsx("div", {
|
|
375
|
-
className: core.cls('gp-flex gp-w-full', rootClass),
|
|
376
|
-
style: {
|
|
377
|
-
...core.makeStyleResponsive('jc', styles?.align)
|
|
378
|
-
},
|
|
379
|
-
children: /*#__PURE__*/ jsxRuntime.jsxs("div", {
|
|
380
|
-
ref: elmRef,
|
|
381
|
-
...builderAttrs,
|
|
382
|
-
className: core.cls('gp-group/carousel gp-my-0 gp-h-full gp-max-w-full tablet:gp-px-0 mobile:gp-px-0', {
|
|
383
|
-
'!gp-flex': setting?.vertical?.[currentDevice]
|
|
384
|
-
}, builderProps?.uid),
|
|
385
|
-
style: {
|
|
386
|
-
...style,
|
|
387
|
-
...styleHeight,
|
|
388
|
-
...styleWidth
|
|
389
|
-
},
|
|
390
|
-
children: [
|
|
391
|
-
/*#__PURE__*/ jsxRuntime.jsxs("div", {
|
|
392
|
-
className: core.cls(`gp-relative gp-mx-auto gp-flex gp-items-center gp-justify-between `, {
|
|
393
|
-
'gp-flex-col': setting?.vertical?.[currentDevice]
|
|
394
|
-
}),
|
|
395
|
-
style: {
|
|
396
|
-
...core.makeContainerWidthOrHeight({
|
|
397
|
-
vertical: setting?.vertical,
|
|
398
|
-
dotStyle: setting?.dotStyle,
|
|
399
|
-
dotSize: setting?.dotSize,
|
|
400
|
-
dotGapToCarousel: setting?.dotGapToCarousel
|
|
401
|
-
}),
|
|
402
|
-
gap: arrowGapToEachSide + 'px'
|
|
403
|
-
},
|
|
404
|
-
children: [
|
|
405
|
-
showNavigation && /*#__PURE__*/ jsxRuntime.jsx(Arrow.default, {
|
|
406
|
-
uid: builderProps?.uid,
|
|
407
|
-
custom: setting?.arrowCustom || '',
|
|
408
|
-
showArrow: navigationStyle,
|
|
409
|
-
arrowButtonSize: arrowButtonSize || {},
|
|
410
|
-
arrowIconSize: arrowIconSize || {},
|
|
411
|
-
arrowBackgroundColor: arrowBackgroundColor || '',
|
|
412
|
-
arrowCustomColor: arrowCustomColor,
|
|
413
|
-
gapToEachSize: arrowGapToEachSide,
|
|
414
|
-
showWhenHover: showWhenHover,
|
|
415
|
-
arrowBorder: arrowBorder || {},
|
|
416
|
-
arrowCorner: roundedArrow || {},
|
|
417
|
-
onClick: (e)=>{
|
|
418
|
-
e.stopPropagation();
|
|
419
|
-
sliderPrev();
|
|
420
|
-
},
|
|
421
|
-
left: true,
|
|
422
|
-
disabled: !isInfinity && slider?.track?.details?.abs === 0,
|
|
423
|
-
vertical: setting?.vertical,
|
|
424
|
-
isHiddenWhenDisabled: isHiddenArrowWhenDisabled,
|
|
425
|
-
className: "gem-slider-previous",
|
|
426
|
-
rootId: props?.parentClass
|
|
427
|
-
}),
|
|
428
|
-
/*#__PURE__*/ jsxRuntime.jsx("div", {
|
|
429
|
-
className: `gp-carousel-slider-${builderProps?.uid} gem-slider gp-h-full gp-overflow-hidden ${slidesClass} ${setting?.vertical?.[currentDevice] ? '!gp-min-h-0' : ''}`,
|
|
430
|
-
style: {
|
|
431
|
-
...makeSpacing()
|
|
432
|
-
},
|
|
433
|
-
ref: sliderRef,
|
|
434
|
-
children: core.isEmptyChildren(children) ? /*#__PURE__*/ jsxRuntime.jsx("div", {
|
|
435
|
-
children: "No Slider"
|
|
436
|
-
}) : react.Children.map(core.filterToolbarPreview(children), (child)=>{
|
|
437
|
-
if (/*#__PURE__*/ react.isValidElement(child)) {
|
|
438
|
-
return /*#__PURE__*/ jsxRuntime.jsx(child.type, {
|
|
439
|
-
className: `gem-slider-item gp-w-full gem-slider-item-${builderProps?.uid}`,
|
|
440
|
-
...child.props,
|
|
441
|
-
parentStyle: styles,
|
|
442
|
-
parentSettings: setting,
|
|
443
|
-
background: setting?.background
|
|
444
|
-
});
|
|
445
|
-
}
|
|
446
|
-
return null;
|
|
447
|
-
})
|
|
448
|
-
}),
|
|
449
|
-
showNavigation && /*#__PURE__*/ jsxRuntime.jsx(Arrow.default, {
|
|
450
|
-
uid: builderProps?.uid,
|
|
451
|
-
custom: setting?.arrowCustom || '',
|
|
452
|
-
showArrow: navigationStyle,
|
|
453
|
-
arrowIconSize: arrowIconSize || {},
|
|
454
|
-
arrowButtonSize: arrowButtonSize || {},
|
|
455
|
-
arrowBackgroundColor: arrowBackgroundColor || '',
|
|
456
|
-
arrowCustomColor: arrowCustomColor,
|
|
457
|
-
gapToEachSize: arrowGapToEachSide,
|
|
458
|
-
showWhenHover: showWhenHover,
|
|
459
|
-
arrowBorder: arrowBorder || {},
|
|
460
|
-
arrowCorner: roundedArrow || {},
|
|
461
|
-
onClick: (e)=>{
|
|
462
|
-
e.stopPropagation();
|
|
463
|
-
sliderNext();
|
|
464
|
-
console.log(slider?.track?.details);
|
|
465
|
-
},
|
|
466
|
-
left: false,
|
|
467
|
-
disabled: !isInfinity && slider?.track?.details?.abs === slideMaxIndex,
|
|
468
|
-
vertical: setting?.vertical,
|
|
469
|
-
isHiddenWhenDisabled: isHiddenArrowWhenDisabled,
|
|
470
|
-
className: "gem-slider-next",
|
|
471
|
-
rootId: props?.parentClass
|
|
472
|
-
})
|
|
473
|
-
]
|
|
474
|
-
}),
|
|
475
|
-
loaded && !!totalSlideItem && instanceRef.current && /*#__PURE__*/ jsxRuntime.jsx(Dots.default, {
|
|
476
|
-
showDots: setting?.dot,
|
|
477
|
-
dotStyle: setting?.dotStyle,
|
|
478
|
-
onHandleClick: (idx, isLoop)=>{
|
|
479
|
-
if (setting?.sneakPeak?.[currentDevice]) {
|
|
480
|
-
instanceRef.current?.moveToIdx(idx);
|
|
481
|
-
} else {
|
|
482
|
-
instanceRef.current?.moveToIdx(isLoop ? idx : getIndexSlideItemBy(idx));
|
|
483
|
-
}
|
|
484
|
-
},
|
|
485
|
-
totalSlideItem: totalSlideItem,
|
|
486
|
-
slideItemsPerPage: slideItemsPerPage(),
|
|
487
|
-
currentSlide: currentSlide,
|
|
488
|
-
enabledSneakPeak: enabledSneakPeak,
|
|
489
|
-
vertical: setting?.vertical,
|
|
490
|
-
loop: setting?.loop,
|
|
491
|
-
dotColor: setting?.dotColor,
|
|
492
|
-
dotGapToCarousel: setting?.dotGapToCarousel,
|
|
493
|
-
dotSize: setting?.dotSize,
|
|
494
|
-
dotActiveColor: setting?.dotActiveColor,
|
|
495
|
-
hiddenWhenOnlyOne: hiddenDotWhenOnlyOne,
|
|
496
|
-
sneakPeakType: setting?.sneakPeakType,
|
|
497
|
-
numberOfFullWidthShow: getNumberOfFullWidthShow(currentDevice),
|
|
498
|
-
className: "carousel-dots"
|
|
499
|
-
}),
|
|
500
|
-
core.filterToolbarPreview(children, true)
|
|
501
|
-
]
|
|
502
|
-
})
|
|
503
|
-
});
|
|
504
|
-
};
|
|
505
|
-
|
|
506
|
-
exports.default = Carousel;
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var jsxRuntime=require("react/jsx-runtime"),core=require("@gem-sdk/core"),react=require("react"),react$1=require("keen-slider/react"),Arrow=require("./Arrow.js"),Dots=require("./Dots.js"),AutoPlayPlugin=require("./plugins/AutoPlayPlugin.js"),MutationPlugin=require("./plugins/MutationPlugin.js"),FixSliderMoveBackwards=require("./plugins/FixSliderMoveBackwards.js"),AnimationPlugin=require("./plugins/AnimationPlugin.js"),useTrackPreviewPause=require("./hooks/useTrackPreviewPause.js"),index=require("../../product/components/ProductVariants/index.js"),arrow=require("./common/arrow.js");const Carousel=({children:e,builderAttrs:r,builderProps:t,style:o,styles:a,moveToIdx:i,isHiddenArrowWhenDisabled:n=!0,hiddenDotWhenOnlyOne:l,onLoaded:s,onChangeActive:u,onUpdated:c,onCreated:d,onClickArrow:p,elmRef:g,rootClass:m,slidesClass:S,...v})=>{let y;let k=arrow.mappingNavigationCarousel(v.setting),A=react.useRef(!1),[P,f]=react.useState(!1),[w,E]=react.useState(),[b,R]=react.useState(k?.defaultCurrentSlider??0),[h,x]=react.useState(0),[T,I]=react.useState(0),[C,N]=react.useState(!1),{isFirstPreviewClicked:O}=useTrackPreviewPause.default(k?.runPreview),B=core.useCurrentDevice(),V=core.useEditorMode(),M=react.useCallback(()=>{if(!k?.slidesToShow)return null;let e={};return index.DEVICES.forEach(r=>{let t=core.getResponsiveValueByScreen(k?.slidesToShow,r);e[r]=t?"auto"===t?4:t:0}),e},[k?.slidesToShow]),_=react.useCallback(()=>{if(!k?.slidesToShow)return null;let e={};return index.DEVICES.forEach(r=>{let t=core.getResponsiveValueByScreen(k?.slidesToShow,r);e[r]=t?"auto"===t?4:Math.floor(t):0}),e},[k?.slidesToShow]),j=react.useMemo(()=>{let e=M();if(e)return e;let r={};return index.DEVICES.forEach(e=>{let t=core.getResponsiveValueByScreen(k?.sneakPeak,e),o=t?"center"===core.getResponsiveValueByScreen(k?.sneakPeakType,e)?core.getResponsiveValueByScreen(k?.sneakPeakOffsetCenter,e)??0:core.getResponsiveValueByScreen(k?.sneakPeakOffsetForward,e)??0:0,a="center"===core.getResponsiveValueByScreen(k?.sneakPeakType,e)?-2:-1,i=core.getResponsiveValueByScreen(k?.itemNumber,e);r[e]="number"==typeof i?i+o/100*a:"auto"}),r},[M,k?.itemNumber,k?.sneakPeak,k?.sneakPeakOffsetCenter,k?.sneakPeakOffsetForward,k?.sneakPeakType]),U=react.useMemo(()=>{let e=_();return e||k?.itemNumber},[_,k?.itemNumber]),L=()=>{let e="auto"===core.getResponsiveValueByScreen(j,B,1)?1:core.getResponsiveValueByScreen(j,B,1);return e??1},{sizeSetting:D}=a??{},{navigationStyle:q,arrowButtonSize:F,arrowBackgroundColor:$,arrowGapToEachSide:z="16",arrowBorder:W,roundedArrow:H,arrowIconSize:G,arrowCustomColor:K,showWhenHover:Y}=k??{},J=core.makeStyleResponsive("h",core.getHeightByShapeGlobalSize(D)),Q=core.makeStyleWithDefault("w",core.getWidthByShapeGlobalSize(D,!0),{desktop:"--g-ct-w",tablet:"--g-ct-w",mobile:"--g-ct-w"}),X=react.useCallback(e=>{let r="center"===core.getResponsiveValueByScreen(k?.sneakPeakType,e)?2:1;return"number"==typeof core.getResponsiveValueByScreen(U,e,4)?core.getResponsiveValueByScreen(U,e,4)-r:void 0},[k?.sneakPeakType,U]),Z=k?.sneakPeak?.[B],ee=react.useMemo(()=>e=>{let r="center"===core.getResponsiveValueByScreen(k?.sneakPeakType,e)&&core.getResponsiveValueByScreen(k?.sneakPeak,e)?"center":"auto";return r},[k?.sneakPeak,k?.sneakPeakType]),er=react.useMemo(()=>e=>{if("center"!==ee(e))return{};let r=k?.childItem?.length||1,t=Number(core.getResponsiveValueByScreen(j,e,1))||2;k?.sneakPeak?.[B]&&(t=Math.trunc(Number(X(e))));let o=r-t,a=core.getResponsiveValueByScreen(k?.loop,e,!1);return a?{max:void 0}:{max:o}},[k?.childItem,j,ee,k?.loop,B,k?.sneakPeak,X]),et=()=>{if(P)return;let e={};return index.DEVICES.forEach(r=>{let t=core.getResponsiveValueByScreen(k?.vertical,r),o=core.getResponsiveValueByScreen(a?.spacing,r),i=t?`--rg${"desktop"!==r?`-${r}`:""}`:`--cg${"desktop"!==r?`-${r}`:""}`;e={...e,[i]:`${o}px`}}),e},eo=()=>{let e=document.querySelectorAll(`.gp-carousel-slider-${t?.uid}`);e&&e.forEach(e=>{e?.style.removeProperty("--cg"),e?.style.removeProperty("--cg-tablet"),e?.style.removeProperty("--cg-mobile"),e?.style.removeProperty("--rg"),e?.style.removeProperty("--rg-tablet"),e?.style.removeProperty("--rg-mobile")})},[ea,ei]=react$1.useKeenSlider({selector:`.gem-slider-item-${t?.uid}`,optionsChanged:e=>{e?.track?.details?.maxIdx===1/0?N(!0):N(!1),x(Math.ceil(e.slides.length)),I(e?.track?.details?.maxIdx)},defaultAnimation:{duration:a?.playSpeed,easing:e=>{switch(k?.animationMode){case AnimationPlugin.CAROUSEL_ANIMATION.EASE_IN.value:return AnimationPlugin.CAROUSEL_ANIMATION.EASE_IN.formula(e);case AnimationPlugin.CAROUSEL_ANIMATION.EASE_OUT.value:return AnimationPlugin.CAROUSEL_ANIMATION.EASE_OUT.formula(e);case AnimationPlugin.CAROUSEL_ANIMATION.EASE_IN_OUT.value:return AnimationPlugin.CAROUSEL_ANIMATION.EASE_IN_OUT.formula(e);default:return AnimationPlugin.CAROUSEL_ANIMATION.DEFAULT.formula(e)}}},dragSpeed:2,renderMode:"precision",mode:"snap",loop:core.getResponsiveValueByScreen(k?.loop,"desktop",!1),vertical:core.getResponsiveValueByScreen(k?.vertical,"desktop"),breakpoints:{"(max-width: 9999px)":{slides:{perView:core.getResponsiveValueByScreen(j,"desktop",4)||1,spacing:core.getResponsiveValueByScreen(a?.spacing,"desktop"),origin:ee("desktop"),numberOfFullWidthShow:X("desktop")},loop:core.getResponsiveValueByScreen(k?.loop,"desktop",!1),vertical:core.getResponsiveValueByScreen(k?.vertical,"desktop"),drag:core.getResponsiveValueByScreen("edit"==V?{desktop:!1}:k?.enableDrag,"desktop"),initial:i||("center"===ee("desktop")?1:0),range:er("desktop")},"(max-width: 1023px)":{slides:{perView:core.getResponsiveValueByScreen(j,"tablet",4),spacing:core.getResponsiveValueByScreen(a?.spacing,"tablet"),origin:ee("tablet"),numberOfFullWidthShow:X("tablet")},loop:core.getResponsiveValueByScreen(k?.loop,"tablet",!1),vertical:core.getResponsiveValueByScreen(k?.vertical,"tablet"),drag:core.getResponsiveValueByScreen("edit"==V?{tablet:!1}:k?.enableDrag,"tablet"),initial:i||("center"===ee("tablet")?1:0),range:er("tablet")},"(max-width: 767px)":{slides:{perView:core.getResponsiveValueByScreen(j,"mobile",4),spacing:core.getResponsiveValueByScreen(a?.spacing,"mobile"),origin:ee("mobile"),numberOfFullWidthShow:X("mobile")},loop:core.getResponsiveValueByScreen(k?.loop,"mobile",!1),vertical:core.getResponsiveValueByScreen(k?.vertical,"mobile"),drag:core.getResponsiveValueByScreen("edit"==V?{mobile:!1}:k?.enableDrag,"mobile"),initial:i||("center"===ee("mobile")?1:0),range:er("mobile")}},slideChanged:e=>{R(e.track.details.rel),u&&u(e.track.details.rel)},created:e=>{f(!0),E(e),R(e.track.details.rel),d&&d(e),eo()},updated:e=>{s&&s(!0),c&&c(e)},autoplay:{delay:(k?.autoplayTimeout??1)*1e3,pauseOnHover:k?.pauseOnHover,enable:"edit"===V?!!O&&k?.runPreview&&k?.autoplay:k?.autoplay},animation:{type:k?.animationMode,speed:a?.playSpeed},dragStarted:e=>{e.container.style.cursor="grabbing"},dragEnded:e=>{e.container.style.cursor="auto"},animationStarted:e=>{A.current?e.options.defaultAnimation={duration:AnimationPlugin.DEFAULT_PLAY_SPEED,easing:e=>AnimationPlugin.CAROUSEL_ANIMATION.DEFAULT.formula(e)}:A.current=!0},animationEnded:e=>{A.current=!1,e.options.defaultAnimation={duration:a?.playSpeed,easing(e){switch(k?.animationMode){case AnimationPlugin.CAROUSEL_ANIMATION.EASE_IN.value:return AnimationPlugin.CAROUSEL_ANIMATION.EASE_IN.formula(e);case AnimationPlugin.CAROUSEL_ANIMATION.EASE_OUT.value:return AnimationPlugin.CAROUSEL_ANIMATION.EASE_OUT.formula(e);case AnimationPlugin.CAROUSEL_ANIMATION.EASE_IN_OUT.value:return AnimationPlugin.CAROUSEL_ANIMATION.EASE_IN_OUT.formula(e);default:return AnimationPlugin.CAROUSEL_ANIMATION.EASE_IN.formula(e)}}}}},[MutationPlugin.MutationPlugin,AutoPlayPlugin.AutoPlayPlugin,AnimationPlugin.AnimationPlugin,FixSliderMoveBackwards.FixSliderMoveBackwards]);react.useEffect(()=>{ei.current?.update(ei.current?.options)},[ei,k]),react.useEffect(()=>{let e=e=>{if(t?.uid!==e?.detail.componentUid)return;let r=ei?.current?.track.details.maxIdx,o=e?.detail.index||0;r&&o>r&&(o=r),ei.current?.moveToIdx(o)};return window.addEventListener("move-to-idx",e),()=>window.removeEventListener("move-to-idx",e)},[ei,t?.uid]),react.useEffect(()=>{Z&&"center"===core.getResponsiveValueByScreen(k?.sneakPeakType,B)&&ei.current?.track.details.rel===0&&ei?.current?.moveToIdx(1)},[ei,k?.sneakPeakType,B,Z]),react.useEffect(()=>{"number"==typeof i&&ei?.current?.moveToIdx(i)},[ei,i,n]);let en=e=>{let r=e*L();return r>=h-L()&&(r=h-L()),r},el=()=>{ei.current?.next(),p&&(y&&clearTimeout(y),y=setTimeout(()=>p&&p(),500))},es=()=>{ei.current?.prev(),p&&(y&&clearTimeout(y),y=setTimeout(()=>p&&p(),500))},eu=arrow.getResponsiveSetting(q||{}),ec=react.useMemo(()=>P&&ei.current&&"none"!==eu[B],[B,ei,P,eu]);return jsxRuntime.jsx("div",{className:core.cls("gp-flex gp-w-full",m),style:{...core.makeStyleResponsive("jc",a?.align)},children:jsxRuntime.jsxs("div",{ref:g,...r,className:core.cls("gp-group/carousel gp-relative gp-my-0 gp-max-w-full tablet:gp-px-0 mobile:gp-px-0",{"!gp-flex":k?.vertical?.[B]},t?.uid),style:{...o,...J,...Q},children:[jsxRuntime.jsxs("div",{className:core.cls("gp-relative gp-mx-auto gp-flex gp-items-center gp-justify-between ",{"gp-flex-col":k?.vertical?.[B]}),style:{...core.makeContainerWidthOrHeight({vertical:k?.vertical,dotStyle:k?.dotStyle,dotSize:k?.dotSize,dotGapToCarousel:k?.dotGapToCarousel}),gap:z+"px"},children:[ec&&jsxRuntime.jsx(Arrow.default,{uid:t?.uid,custom:k?.arrowCustom||"",showArrow:q,arrowButtonSize:F||{},arrowIconSize:G||{},arrowBackgroundColor:$||"",arrowCustomColor:K,gapToEachSize:z,showWhenHover:Y,arrowBorder:W||{},arrowCorner:H||{},onClick:e=>{e.stopPropagation(),es()},left:!0,disabled:!C&&w?.track?.details?.abs===0,vertical:k?.vertical,isHiddenWhenDisabled:n,className:"gem-slider-previous",rootId:v?.parentClass}),jsxRuntime.jsx("div",{className:`gp-carousel-slider-${t?.uid} gem-slider gp-h-full gp-overflow-hidden ${S} ${k?.vertical?.[B]?"!gp-min-h-0":""}`,style:{...et()},ref:ea,children:core.isEmptyChildren(e)?jsxRuntime.jsx("div",{children:"No Slider"}):react.Children.map(core.filterToolbarPreview(e),e=>react.isValidElement(e)?jsxRuntime.jsx(e.type,{className:`gem-slider-item gp-w-full gem-slider-item-${t?.uid}`,...e.props,parentStyle:a,parentSettings:k,background:k?.background}):null)}),ec&&jsxRuntime.jsx(Arrow.default,{uid:t?.uid,custom:k?.arrowCustom||"",showArrow:q,arrowIconSize:G||{},arrowButtonSize:F||{},arrowBackgroundColor:$||"",arrowCustomColor:K,gapToEachSize:z,showWhenHover:Y,arrowBorder:W||{},arrowCorner:H||{},onClick:e=>{e.stopPropagation(),el(),console.log(w?.track?.details)},left:!1,disabled:!C&&w?.track?.details?.abs===T,vertical:k?.vertical,isHiddenWhenDisabled:n,className:"gem-slider-next",rootId:v?.parentClass})]}),P&&!!h&&ei.current&&jsxRuntime.jsx(Dots.default,{showDots:k?.dot,dotStyle:k?.dotStyle,onHandleClick:(e,r)=>{k?.sneakPeak?.[B]?ei.current?.moveToIdx(e):ei.current?.moveToIdx(r?e:en(e))},totalSlideItem:h,slideItemsPerPage:L(),currentSlide:b,enabledSneakPeak:Z,vertical:k?.vertical,loop:k?.loop,dotColor:k?.dotColor,dotGapToCarousel:k?.dotGapToCarousel,dotSize:k?.dotSize,dotActiveColor:k?.dotActiveColor,hiddenWhenOnlyOne:l,sneakPeakType:k?.sneakPeakType,numberOfFullWidthShow:X(B),className:"carousel-dots"}),core.filterToolbarPreview(e,!0)]})})};exports.default=Carousel;
|