@gem-sdk/components 2.0.0-staging.827 → 2.0.0-staging.830

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.
Files changed (44) hide show
  1. package/dist/cjs/button/common/helpers.js +1 -1
  2. package/dist/cjs/button/components/Button.js +1 -1
  3. package/dist/cjs/button/settings/configs/settings.js +1 -1
  4. package/dist/cjs/countdown-timer/settings/configs/setting.js +1 -1
  5. package/dist/cjs/helpers.js +1 -1
  6. package/dist/cjs/hero-banner/components/HeroBannerItem.liquid.js +1 -1
  7. package/dist/cjs/hero-banner/settings/configs/settings.js +1 -1
  8. package/dist/cjs/image/common/attrs.js +1 -1
  9. package/dist/cjs/index.js +1 -1
  10. package/dist/cjs/marquee/settings/configs/ui-v2.js +1 -1
  11. package/dist/cjs/product/components/dynamic-checkout/common/styles.js +4 -4
  12. package/dist/cjs/product/settings/product-badge/configs/settings.js +1 -1
  13. package/dist/cjs/product/settings/product-variant/configs/settings.js +1 -1
  14. package/dist/cjs/video/components/HTML5Embed.js +1 -1
  15. package/dist/cjs/video/components/HTML5Embed.liquid.js +14 -14
  16. package/dist/cjs/video/components/LiteVimeoEmbed.js +1 -1
  17. package/dist/cjs/video/components/LiteVimeoEmbed.liquid.js +11 -11
  18. package/dist/cjs/video/components/LiteYouTubeEmbed.js +1 -1
  19. package/dist/cjs/video/components/LiteYouTubeEmbed.liquid.js +10 -10
  20. package/dist/cjs/video/components/Video.js +1 -1
  21. package/dist/cjs/video/settings/configs/ui-v2.js +1 -1
  22. package/dist/esm/button/common/helpers.js +1 -1
  23. package/dist/esm/button/components/Button.js +1 -1
  24. package/dist/esm/button/settings/configs/settings.js +1 -1
  25. package/dist/esm/countdown-timer/settings/configs/setting.js +1 -1
  26. package/dist/esm/helpers.js +1 -1
  27. package/dist/esm/hero-banner/components/HeroBannerItem.liquid.js +1 -1
  28. package/dist/esm/hero-banner/settings/configs/settings.js +1 -1
  29. package/dist/esm/image/common/attrs.js +1 -1
  30. package/dist/esm/index.js +1 -1
  31. package/dist/esm/marquee/settings/configs/ui-v2.js +1 -1
  32. package/dist/esm/product/components/dynamic-checkout/common/styles.js +4 -4
  33. package/dist/esm/product/settings/product-badge/configs/settings.js +1 -1
  34. package/dist/esm/product/settings/product-variant/configs/settings.js +1 -1
  35. package/dist/esm/video/components/HTML5Embed.js +1 -1
  36. package/dist/esm/video/components/HTML5Embed.liquid.js +17 -17
  37. package/dist/esm/video/components/LiteVimeoEmbed.js +1 -1
  38. package/dist/esm/video/components/LiteVimeoEmbed.liquid.js +5 -5
  39. package/dist/esm/video/components/LiteYouTubeEmbed.js +1 -1
  40. package/dist/esm/video/components/LiteYouTubeEmbed.liquid.js +8 -8
  41. package/dist/esm/video/components/Video.js +1 -1
  42. package/dist/esm/video/settings/configs/ui-v2.js +1 -1
  43. package/dist/types/index.d.ts +13 -2
  44. package/package.json +2 -2
package/dist/esm/index.js CHANGED
@@ -1 +1 @@
1
- export{accordionSetting}from"./accordion/index.js";export{articleListSetting}from"./article/index.js";export{bannerSetting}from"./hero-banner/index.js";export{breadcrumbSetting}from"./breadcrumb/index.js";export{buttonSetting}from"./button/index.js";export{carouselSetting}from"./carousel/index.js";export{cartSetting}from"./cart/index.js";export{codeSetting}from"./code/index.js";export{collectionSetting}from"./collection/index.js";export{countdownSetting}from"./countdown-timer/index.js";export{couponSetting}from"./coupon/index.js";export{dialogSetting}from"./dialog/index.js";export{estimateDeliverySetting}from"./estimate-delivery/index.js";export{gridSetting}from"./grid/index.js";export{contactFormSetting}from"./form/index.js";export{headerSetting}from"./header/index.js";export{headingSetting}from"./heading/index.js";export{iconSetting}from"./icon/index.js";export{iconListSetting}from"./icon-list/index.js";export{iconListHozSetting}from"./icon-list-hoz/index.js";export{iconListSettingV2}from"./icon-list-v2/index.js";export{imageSetting}from"./image/index.js";export{imageComparisonSetting}from"./image-comparison/index.js";export{imageDetectionSetting}from"./image-detection/index.js";export{inputSetting}from"./input/index.js";export{lineSetting}from"./line/index.js";export{linkSetting}from"./link/index.js";export{marqueeSetting}from"./marquee/index.js";export{menuSetting}from"./menu/index.js";export{modalSetting}from"./modal/index.js";export{default as useNotification}from"./notification/hooks/useNotification.js";export{default as Notice}from"./notification/components/Notice.js";export{paginationSetting}from"./pagination/index.js";export{postPurchaseAdvancedListSetting}from"./post-purchase/advanced-list/index.js";export{postPurchaseButtonSetting}from"./post-purchase/button/index.js";export{postPurchaseCalloutBoxSetting}from"./post-purchase/callout-banner/index.js";export{postPurchaseCountdownTimerSetting}from"./post-purchase/countdown-timer/index.js";export{postPurchaseImageSetting}from"./post-purchase/image/index.js";export{postPurchaseLineSetting}from"./post-purchase/line/index.js";export{postPurchaseLinkSetting}from"./post-purchase/link/index.js";export{PostPurchaseHeading,postPurchaseTextSetting}from"./post-purchase/text/index.js";export{postPurchaseProductSetting}from"./post-purchase/product/index.js";export{productSetting}from"./product/index.js";export{radioSetting}from"./radio/index.js";export{selectSetting}from"./select/index.js";export{tabSetting}from"./tab/index.js";export{textSetting}from"./text/index.js";export{textareaSetting}from"./textarea/index.js";export{videoSetting}from"./video/index.js";export{thirdPartySetting}from"./third-party/index.js";export{thirdPartyInstantSetting}from"./third-party-instant/index.js";export{stockCounterSetting}from"./stock-counter/index.js";export{thirdPartySlotSetting}from"./third-party-slot/index.js";export{shopPayInstallmentSetting}from"./shop-pay-installment/index.js";export{stickySetting}from"./sticky/index.js";export{default as nextComponent}from"./next.js";import*as t from"./index.liquid.js";export{default as builderComponent}from"./builder.js";export{default as componentSettings}from"./setting.js";export{default as postPurchaseSettings}from"./postPurchaseSetting.js";import"react/jsx-runtime";import"react";import"@gem-sdk/core";export{ELEMENT_Z_INDEX}from"./common/const.js";export{convertUnitToNumber,filterTruthyObject,filterTruthyStyles,getAllHrefFromString,getDisplayStyle,getDynamicSourceLocales,getInsertLinkData,getLinkArticle,getLinkData,getSettingPreloadData,getStaticLocale,isEmptyObject,isHexTransparent,isLinkedToSalesPage,isTransparentColor,isTransparentRGBA,replaceAllHrefFromString,replaceLinkData,youtubeShortsRegex}from"./helpers.js";export{default as Accordion}from"./accordion/components/Accordion.js";export{default as AccordionItem}from"./accordion/components/AccordionItem.js";export{default as ArticleList}from"./article/components/ArticleList.js";export{default as ArticleTitle}from"./article/components/ArticleTitle.js";export{default as ArticleExcerpt}from"./article/components/ArticleExcerpt.js";export{default as ArticleContent}from"./article/components/ArticleContent.js";export{default as ArticleImage}from"./article/components/ArticleImage.js";export{default as ArticlePagination}from"./article/components/ArticlePagination.js";export{default as ArticleAuthor}from"./article/components/ArticleAuthor.js";export{default as ArticleTag}from"./article/components/ArticleTag.js";export{default as ArticleCategory}from"./article/components/ArticleCategory.js";export{default as ArticleDate}from"./article/components/ArticleDate.js";export{default as ArticleReadMore}from"./article/components/ArticleReadMore.js";export{default as HeroBanner}from"./hero-banner/components/HeroBanner.js";export{default as Breadcrumb}from"./breadcrumb/components/Breadcrumb.js";export{default as Button}from"./button/components/Button.js";export{default as Carousel}from"./carousel/components/root/Carousel.js";export{default as CarouselItem}from"./carousel/components/item/CarouselItem.js";export{default as Cart}from"./cart/components/Cart.js";export{default as CartList}from"./cart/components/CartList.js";export{default as CartLinePrice}from"./cart/components/CartLinePrice.js";export{default as CartLineVariant}from"./cart/components/CartLineVariant.js";export{default as CartLineImage}from"./cart/components/CartLineImage.js";export{default as CartTotalPrice}from"./cart/components/CartTotalPrice.js";export{default as CartTotalItem}from"./cart/components/CartTotalItem.js";export{default as CartCheckout}from"./cart/components/CartCheckout.js";export{default as DiscountInput}from"./cart/components/DiscountInput.js";export{default as CartDiscount}from"./cart/components/CartDiscount.js";export{default as CartOrderNote}from"./cart/components/CartOrderNote.js";export{default as CartLineAttribute}from"./cart/components/CartLineAttribute.js";export{default as CouponList}from"./cart/components/CouponList.js";export{default as ShopPayButton}from"./cart/components/shop-pay-button/ShopPayButton.js";export{default as CheckoutNow}from"./cart/components/CheckoutNow.js";export{default as CSSCode}from"./code/components/CSSCode.js";export{default as CollectionTitle}from"./collection/components/collection-title/CollectionTitle.js";export{default as CollectionBanner}from"./collection/components/collection-banner/CollectionBanner.js";export{default as CollectionDescription}from"./collection/components/collection-description/CollectionDescription.js";export{default as CollectionToolbar}from"./collection/components/collection-toolbar/CollectionToolbar.js";export{default as CollectionPaginator}from"./collection/components/collection-paginator/CollectionPaginator.js";export{default as Countdown}from"./countdown-timer/components/Countdown.js";export{default as Coupon}from"./coupon/components/Coupon.js";export{default as Dialog}from"./dialog/components/Dialog.js";export{default as EstimateDate}from"./estimate-delivery/components/EstimateDate.js";export{default as Root}from"./grid/components/root/Root.js";export{default as Section}from"./grid/components/section/Section.js";export{default as Row}from"./grid/components/row/Row.js";export{default as Col}from"./grid/components/col/Col.js";export{default as Newsletter}from"./form/components/newsletter/Newsletter.js";export{default as ContactForm}from"./form/components/contact/Contact.js";export{default as FormEmail}from"./form/components/form-email/FormEmail.js";export{default as SubmitButton}from"./form/components/submit-button/SubmitButton.js";export{default as FormDropdown}from"./form/components/form-dropdown/FormDropdown.js";export{default as TextField}from"./form/components/textfield/TextField.js";export{default as FormTextarea}from"./form/components/textarea/TextArea.js";export{default as FormCheckbox}from"./form/components/form-checkbox/FormCheckbox.js";export{default as TextInput}from"./form/components/textinput/TextInput.js";export{default as Header}from"./header/components/Header.js";export{default as BasicHeader}from"./header/components/kind/basic/index.js";export{default as ModernHeader}from"./header/components/kind/modern/index.js";export{default as MobileMenu}from"./header/components/kind/basic/MobileMenu.js";export{default as DesktopMenu}from"./header/components/kind/basic/DesktopMenu.js";export{default as Heading}from"./heading/components/Heading.js";export{default as Icon}from"./icon/components/Icon.js";export{default as IconList}from"./icon-list/components/IconList.js";export{default as IconListItem}from"./icon-list/components/IconListItem.js";export{default as IconListHoz}from"./icon-list-hoz/components/IconListHoz.js";export{default as IconListHozItem}from"./icon-list-hoz/components/IconListHozItem.js";export{default as IconListV2}from"./icon-list-v2/components/IconList.js";export{default as Image}from"./image/components/Image.js";export{default as ImageComparison}from"./image-comparison/components/ImageComparison.js";export{default as ImageDetection}from"./image-detection/components/ImageDetection.js";export{default as Input}from"./input/components/Input.js";export{default as Line}from"./line/components/Line.js";export{default as Link}from"./link/components/Link.js";export{default as Marquee}from"./marquee/components/Marquee.js";export{default as MarqueeItem}from"./marquee/components/MarqueeItem.js";export{default as Menu}from"./menu/components/Menu.js";export{openConfirm}from"./modal/components/confirm.js";export{default as Modal}from"./modal/components/Modal.js";export{default as Pagination}from"./pagination/components/Pagination.js";export{default as PostPurchaseAdvancedList}from"./post-purchase/advanced-list/components/AdvancedListPostPurchase.js";export{default as PostPurchaseAdvancedListItem}from"./post-purchase/advanced-list/components/PostPurchaseAdvancedListItem.js";export{default as PostPurchaseButton}from"./post-purchase/button/components/Button.js";export{default as PostPurchaseCalloutBox}from"./post-purchase/callout-banner/components/CalloutBox.js";export{default as PostPurchaseCalloutText}from"./post-purchase/callout-banner/components/CalloutText.js";export{default as PostPurchaseCountdownTimer}from"./post-purchase/countdown-timer/components/PostPurchaseCountdownTimer.js";export{default as PostPurchaseImage}from"./post-purchase/image/components/Image.js";export{default as PostPurchaseLine}from"./post-purchase/line/components/PostPurchaseLine.js";export{default as PostPurchaseLink}from"./post-purchase/link/components/PostPurchaseLink.js";export{default as PostPurchaseText}from"./post-purchase/text/components/Text.js";export{default as PostPurchaseProductPrice}from"./post-purchase/product/components/ProductPrice.js";export{default as PostPurchaseProductDescription}from"./post-purchase/product/components/ProductDescription.js";export{default as PostPurchaseProductTitle}from"./post-purchase/product/components/ProductTitle.js";export{default as PostPurchaseProductVariants}from"./post-purchase/product/components/product-variant/components/ProductVariant.js";export{default as PostPurchaseAcceptButton}from"./post-purchase/product/components/AcceptButton.js";export{default as PostPurchaseProductQuantity}from"./post-purchase/product/components/ProductQuantity.js";export{default as PostPurchaseProductPriceBreakdown}from"./post-purchase/product/components/ProductPriceBreakdown.js";export{default as PostPurchaseProductOffer}from"./post-purchase/product/components/product-offer/components/ProductOffer.js";export{default as PostPurchaseProductDiscountTag}from"./post-purchase/product/components/ProductDiscountTag.js";export{default as PostPurchaseProductImages}from"./post-purchase/product/components/product-image/index.js";export{postPurchaseProduct1Col}from"./post-purchase/product/settings/presets-config/product-presets/product-1-col.js";export{postPurchaseProduct2Col}from"./post-purchase/product/settings/presets-config/product-presets/product-2-col.js";export{postPurchaseProductDefault}from"./post-purchase/product/settings/presets-config/product-presets/product-default.js";export{default as Product}from"./product/components/product-wrap/Product.js";export{default as ProductTitle}from"./product/components/product-title/ProductTitle.js";export{default as ProductQuantity}from"./product/components/product-quantity/ProductQuantity.js";export{default as ProductPrice}from"./product/components/product-price/ProductPrice.js";export{default as ProductButton}from"./product/components/product-button/ProductButton.js";export{default as ProductDescription}from"./product/components/product-description/ProductDescription.js";export{default as ProductVariants}from"./product/components/product-variants/ProductVariants.js";export{default as ProductImages}from"./product/components/ProductImages.js";export{default as ProductImagesV2}from"./product/components/product-images-v2/ProductImageV2.js";export{default as ProductPropertyInput}from"./product/components/product-properties/ProductProperties.js";export{default as ProductQuickView}from"./product/components/product-quick-view/QuickView.js";export{default as ProductTag}from"./product/components/product-discount-tag/ProductDiscountTag.js";export{default as ProductList}from"./product/components/product-list/ProductList.js";export{default as ProductVendor}from"./product/components/product-vendor/Vendor.js";export{default as DynamicCheckout}from"./product/components/dynamic-checkout/DynamicCheckout.js";export{default as ProductViewMore}from"./product/components/product-view-more/ProductViewMore.js";export{default as ProductBadge}from"./product/components/product-badge/ProductBadge.js";export{default as ProductBundleDiscount}from"./product/components/product-bundle/ProductBundleDiscount.js";export{default as ProductBundleDiscountItem}from"./product/components/product-bundle/ProductBundleDiscountItem.js";export{default as ProductSku}from"./product/components/product-sku/Sku.js";export{default as FileUpload}from"./product/components/file-upload/UploadFile.js";export{default as Radio}from"./radio/components/Radio.js";export{default as Select}from"./select/components/Select.js";export{default as Tabs}from"./tab/components/Tabs.js";export{default as TabItem}from"./tab/components/TabItem.js";export{default as Text}from"./text/components/Text.js";export{default as Textarea}from"./textarea/components/Textarea.js";export{default as Video}from"./video/components/Video.js";export{default as AovFreeGiftBuyXGetYBogo}from"./third-party/components/AovFreeGiftBuyXGetYBogo.js";export{default as AppstleBundlesDiscounts}from"./third-party/components/AppstleBundlesDiscounts.js";export{default as EcomsendBackInStockAlert}from"./third-party/components/EcomsendBackInStockAlert.js";export{default as EstimatedDeliveryDatePlus}from"./third-party/components/EstimatedDeliveryDatePlus.js";export{default as OkendoReviewsLoyalty}from"./third-party/components/OkendoReviewsLoyalty.js";export{default as EssentialAnnouncementBar}from"./third-party/components/EssentialAnnouncementBar.js";export{default as EssentialCountdownTimerBar}from"./third-party/components/EssentialCountdownTimerBar.js";export{default as StellarDeliveryDatePickup}from"./third-party/components/StellarDeliveryDatePickup.js";export{default as TrustshopProductReviews}from"./third-party/components/TrustshopProductReviews.js";export{default as HulkProductOptions}from"./third-party/components/HulkProductOptions.js";export{default as MyappgurusProductReviews}from"./third-party/components/MyappgurusProductReviews.js";export{default as TrustreviewsProductReviews}from"./third-party/components/TrustreviewsProductReviews.js";export{default as DiscountyBulkDiscountSales}from"./third-party/components/DiscountyBulkDiscountSales.js";export{default as SeoantTrustBadgesIcon}from"./third-party/components/SeoantTrustBadgesIcon.js";export{default as SegunoEmailMarketing}from"./third-party/components/SegunoEmailMarketing.js";export{default as AftershipEmailMarketingsms}from"./third-party/components/AftershipEmailMarketingsms.js";export{default as BestBuyFulfillment}from"./third-party/components/BestBuyFulfillment.js";export{default as ProductOptionsVariantOption}from"./third-party/components/ProductOptionsVariantOption.js";export{default as GloboProductOptionsVariant}from"./third-party/components/GloboProductOptionsVariant.js";export{default as TeeinblueProductPersonalizer}from"./third-party/components/TeeinblueProductPersonalizer.js";export{default as WishlistKing}from"./third-party/components/WishlistKing.js";export{default as HulkFormBuilder}from"./third-party/components/HulkFormBuilder.js";export{default as LoloyalLoyaltyReferrals}from"./third-party/components/LoloyalLoyaltyReferrals.js";export{default as PowerfulContactFormBuilder}from"./third-party/components/PowerfulContactFormBuilder.js";export{default as WishlistPlus}from"./third-party/components/WishlistPlus.js";export{default as InstasellShoppableInstagram}from"./third-party/components/InstasellShoppableInstagram.js";export{default as SproutPlantTreesGrowSales}from"./third-party/components/SproutPlantTreesGrowSales.js";export{default as RapiBundleQuantityBreaks}from"./third-party/components/RapiBundleQuantityBreaks.js";export{default as AppointmentBookingCowlendar}from"./third-party/components/AppointmentBookingCowlendar.js";export{default as GoogleReviewsByReputon}from"./third-party/components/GoogleReviewsByReputon.js";export{default as MbcBundleVolumeDiscount}from"./third-party/components/MbcBundleVolumeDiscount.js";export{default as ProductOptionsCustomizer}from"./third-party/components/ProductOptionsCustomizer.js";export{default as AirProductReviewsAppUgc}from"./third-party/components/AirProductReviewsAppUgc.js";export{default as TagembedSocialPostReview}from"./third-party/components/TagembedSocialPostReview.js";export{default as WhatmoreShoppableVideosreel}from"./third-party/components/WhatmoreShoppableVideosreel.js";export{default as TagshopShoppableVideosUgc}from"./third-party/components/TagshopShoppableVideosUgc.js";export{default as JunipProductReviewsUgc}from"./third-party/components/JunipProductReviewsUgc.js";export{default as FlyBundlesUpsellsFbt}from"./third-party/components/FlyBundlesUpsellsFbt.js";export{default as PreorderNowWodPresale}from"./third-party/components/PreorderNowWodPresale.js";export{default as PreorderNowPreOrderPq}from"./third-party/components/PreorderNowPreOrderPq.js";export{default as MaxbundleProductBundles}from"./third-party/components/MaxbundleProductBundles.js";export{default as KoalaBundleQuantityDiscount}from"./third-party/components/KoalaBundleQuantityDiscount.js";export{default as EasyBundleBuilderSkailama}from"./third-party/components/EasyBundleBuilderSkailama.js";export{default as FastBundleBundlesDiscounts}from"./third-party/components/FastBundleBundlesDiscounts.js";export{default as KiteFreeGiftDiscount}from"./third-party/components/KiteFreeGiftDiscount.js";export{default as UnlimitedBundlesDiscounts}from"./third-party/components/UnlimitedBundlesDiscounts.js";export{default as SimpleBundlesKits}from"./third-party/components/SimpleBundlesKits.js";export{default as ReviewxpoProductReviewsApp}from"./third-party/components/ReviewxpoProductReviewsApp.js";export{default as PumperBundlesVolumeDiscount}from"./third-party/components/PumperBundlesVolumeDiscount.js";export{default as NotifyBackInStockPreOrder}from"./third-party/components/NotifyBackInStockPreOrder.js";export{default as ShopifyForms}from"./third-party/components/ShopifyForms.js";export{default as SkioSubscriptionsYcS20}from"./third-party/components/SkioSubscriptionsYcS20.js";export{default as LoopSubscriptions}from"./third-party/components/LoopSubscriptions.js";export{default as RecurpaySubscriptionApp}from"./third-party/components/RecurpaySubscriptionApp.js";export{default as SubifySubscriptionsApp}from"./third-party/components/SubifySubscriptionsApp.js";export{default as BonLoyaltyRewardsReferrals}from"./third-party/components/BonLoyaltyRewardsReferrals.js";export{default as ShopifySubscriptions}from"./third-party/components/ShopifySubscriptions.js";export{default as EasifyProductOptions}from"./third-party/components/EasifyProductOptions.js";export{default as CustomProductOptionsVariant}from"./third-party/components/CustomProductOptionsVariant.js";export{default as EasySellCOD}from"./third-party/components/EasySellCOD.js";export{default as QikifyUpsell}from"./third-party/components/QikifyUpsell.js";export{default as CleanSizeCharts}from"./third-party/components/CleanSizeCharts.js";export{default as JudgemeReviews}from"./third-party/components/JudgemeReviews.js";export{default as LooxReviews}from"./third-party/components/LooxReviews.js";export{default as Klaviyo}from"./third-party/components/Klaviyo.js";export{default as YotpoLoyalty}from"./third-party/components/YotpoLoyalty.js";export{default as SmartSearchBarAndFilters}from"./third-party/components/SmartSearchBarAndFilters.js";export{default as Instafeed}from"./third-party/components/Instafeed.js";export{default as ProductReviews}from"./third-party/components/ProductReviews.js";export{default as Ryviu}from"./third-party/components/Ryviu.js";export{default as Rivyo}from"./third-party/components/Rivyo.js";export{default as Vitals}from"./third-party/components/Vitals.js";export{default as Omnisend}from"./third-party/components/Omnisend.js";export{default as Trustoo}from"./third-party/components/Trustoo.js";export{default as SealSubscriptions}from"./third-party/components/SealSubscriptions.js";export{default as AppstleSubscriptions}from"./third-party/components/AppstleSubscriptions.js";export{default as FeraReviews}from"./third-party/components/FeraReviews.js";export{default as Growave}from"./third-party/components/Growave.js";export{default as KachingBundles}from"./third-party/components/KachingBundles.js";export{default as PushOwl}from"./third-party/components/PushOwl.js";export{default as Opinew}from"./third-party/components/Opinew.js";export{default as UltimateSalesBoost}from"./third-party/components/UltimateSalesBoost.js";export{default as FirePush}from"./third-party/components/FirePush.js";export{default as ParcelPanel}from"./third-party/components/ParcelPanel.js";export{default as TrustMe}from"./third-party/components/TrustMe.js";export{default as FrequentlyBoughtTogether}from"./third-party/components/FrequentlyBoughtTogether.js";export{default as BoldSubscriptions}from"./third-party/components/BoldSubscriptions.js";export{default as BoldProductOptions}from"./third-party/components/BoldProductOptions.js";export{default as WideBundle}from"./third-party/components/WideBundle.js";export{default as PickyStory}from"./third-party/components/PickyStory.js";export{default as InfiniteOptions}from"./third-party/components/InfiniteOptions.js";export{default as Wiser}from"./third-party/components/Wiser.js";export{default as Stamped}from"./third-party/components/Stamped.js";export{default as Bundler}from"./third-party/components/Bundler.js";export{default as LaiProductReviews}from"./third-party/components/LaiProductReviews.js";export{default as CrossSellCartUpsell}from"./third-party/components/CrossSellCartUpsell.js";export{default as BoostAISearchDiscovery}from"./third-party/components/BoostAISearchDiscovery.js";export{default as YotpoReviews}from"./third-party/components/YotpoReviews.js";export{default as AliReviews}from"./third-party/components/AliReviews.js";export{default as Bogos}from"./third-party/components/Bogos.js";export{default as Releasit}from"./third-party/components/Releasit.js";export{default as KingProductOptions}from"./third-party/components/KingProductOptions.js";export{default as KlarnaMessaging}from"./third-party/components/KlarnaMessaging.js";export{default as RequestQuoteHidePrice}from"./third-party/components/RequestQuoteHidePrice.js";export{default as BirdChime}from"./third-party/components/BirdChime.js";export{default as FordeerProductLabels}from"./third-party/components/FordeerProductLabels.js";export{default as RechargeSubscriptions}from"./third-party/components/RechargeSubscriptions.js";export{default as Selleasy}from"./third-party/components/Selleasy.js";export{default as HextomCountdownTimerBar}from"./third-party/components/HextomCountdownTimerBar.js";export{default as TrustBadgesBear}from"./third-party/components/TrustBadgesBear.js";export{default as TrustedsiteTrustBadges}from"./third-party/components/TrustedsiteTrustBadges.js";export{default as GloColorSwatchvariantImage}from"./third-party/components/GloColorSwatchvariantImage.js";export{default as BfSizeChartSizeGuide}from"./third-party/components/BfSizeChartSizeGuide.js";export{default as AlsoBoughtCbb}from"./third-party/components/AlsoBoughtCbb.js";export{default as HextomFreeShippingBar}from"./third-party/components/HextomFreeShippingBar.js";export{default as EcoboostifyShoppableReelUgc}from"./third-party/components/EcoboostifyShoppableReelUgc.js";export{default as InstantJudgemeReviews}from"./third-party-instant/components/InstantJudgemeReviews.js";export{default as InstantLooxReviews}from"./third-party-instant/components/InstantLooxReviews.js";export{default as InstantKlaviyo}from"./third-party-instant/components/InstantKlaviyo.js";export{default as InstantYotpoLoyalty}from"./third-party-instant/components/InstantYotpoLoyalty.js";export{default as StockCounter}from"./stock-counter/components/StockCounter.js";export{default as ThirdPartySlot}from"./third-party-slot/components/ThirdPartySlot.js";export{default as ShopPayInstallments}from"./shop-pay-installment/components/ShopPayInstallments.js";export{default as Sticky}from"./sticky/components/Sticky.js";export{CONTINUE_SELLING_WHEN_OUT_OF_STOCK,DEFAULT_FONT_SIZE,DEFAULT_HIGHLIGHT_TAG,DEFAULT_PROGRESS_BAR_HEIGHT,DEFAULT_QUANTITY_TEMPLATE,DEFAULT_RANGE_STEP,DEFAULT_REMAINING_PERCENT,DEFAULT_REMAINING_QUANTITY,DEFAULT_SCARCITY_THRESHOLD,MAX_PROGRESS_BAR_HEIGHT,MAX_REMAINING_PERCENT,MIN_PROGRESS_BAR_HEIGHT,MIN_REMAINING_PERCENT,MIN_REMAINING_QUANTITY,NO_PRODUCT_LEFT,OUT_OF_STOCK,QUANTITY_SOURCE,convertSizeToWidth,getInlineCss,getLiquidInitData,getLiquidTextContent,getTextDisplayData,transformHighlighTag,transformNumberTag}from"./stock-counter/common/helpers.js";export{t as liquidComponents};
1
+ export{accordionSetting}from"./accordion/index.js";export{articleListSetting}from"./article/index.js";export{bannerSetting}from"./hero-banner/index.js";export{breadcrumbSetting}from"./breadcrumb/index.js";export{buttonSetting}from"./button/index.js";export{carouselSetting}from"./carousel/index.js";export{cartSetting}from"./cart/index.js";export{codeSetting}from"./code/index.js";export{collectionSetting}from"./collection/index.js";export{countdownSetting}from"./countdown-timer/index.js";export{couponSetting}from"./coupon/index.js";export{dialogSetting}from"./dialog/index.js";export{estimateDeliverySetting}from"./estimate-delivery/index.js";export{gridSetting}from"./grid/index.js";export{contactFormSetting}from"./form/index.js";export{headerSetting}from"./header/index.js";export{headingSetting}from"./heading/index.js";export{iconSetting}from"./icon/index.js";export{iconListSetting}from"./icon-list/index.js";export{iconListHozSetting}from"./icon-list-hoz/index.js";export{iconListSettingV2}from"./icon-list-v2/index.js";export{imageSetting}from"./image/index.js";export{imageComparisonSetting}from"./image-comparison/index.js";export{imageDetectionSetting}from"./image-detection/index.js";export{inputSetting}from"./input/index.js";export{lineSetting}from"./line/index.js";export{linkSetting}from"./link/index.js";export{marqueeSetting}from"./marquee/index.js";export{menuSetting}from"./menu/index.js";export{modalSetting}from"./modal/index.js";export{default as useNotification}from"./notification/hooks/useNotification.js";export{default as Notice}from"./notification/components/Notice.js";export{paginationSetting}from"./pagination/index.js";export{postPurchaseAdvancedListSetting}from"./post-purchase/advanced-list/index.js";export{postPurchaseButtonSetting}from"./post-purchase/button/index.js";export{postPurchaseCalloutBoxSetting}from"./post-purchase/callout-banner/index.js";export{postPurchaseCountdownTimerSetting}from"./post-purchase/countdown-timer/index.js";export{postPurchaseImageSetting}from"./post-purchase/image/index.js";export{postPurchaseLineSetting}from"./post-purchase/line/index.js";export{postPurchaseLinkSetting}from"./post-purchase/link/index.js";export{PostPurchaseHeading,postPurchaseTextSetting}from"./post-purchase/text/index.js";export{postPurchaseProductSetting}from"./post-purchase/product/index.js";export{productSetting}from"./product/index.js";export{radioSetting}from"./radio/index.js";export{selectSetting}from"./select/index.js";export{tabSetting}from"./tab/index.js";export{textSetting}from"./text/index.js";export{textareaSetting}from"./textarea/index.js";export{videoSetting}from"./video/index.js";export{thirdPartySetting}from"./third-party/index.js";export{thirdPartyInstantSetting}from"./third-party-instant/index.js";export{stockCounterSetting}from"./stock-counter/index.js";export{thirdPartySlotSetting}from"./third-party-slot/index.js";export{shopPayInstallmentSetting}from"./shop-pay-installment/index.js";export{stickySetting}from"./sticky/index.js";export{default as nextComponent}from"./next.js";import*as t from"./index.liquid.js";export{default as builderComponent}from"./builder.js";export{default as componentSettings}from"./setting.js";export{default as postPurchaseSettings}from"./postPurchaseSetting.js";import"react/jsx-runtime";import"react";import"@gem-sdk/core";export{ELEMENT_Z_INDEX}from"./common/const.js";export{checkIsScrollToTop,convertUnitToNumber,filterTruthyObject,filterTruthyStyles,getAllHrefFromString,getDisplayStyle,getDynamicSourceLocales,getInsertLinkData,getLinkArticle,getLinkData,getSettingPreloadData,getStaticLocale,isEmptyObject,isHexTransparent,isLinkedToSalesPage,isTransparentColor,isTransparentRGBA,replaceAllHrefFromString,replaceLinkData,youtubeShortsRegex}from"./helpers.js";export{default as Accordion}from"./accordion/components/Accordion.js";export{default as AccordionItem}from"./accordion/components/AccordionItem.js";export{default as ArticleList}from"./article/components/ArticleList.js";export{default as ArticleTitle}from"./article/components/ArticleTitle.js";export{default as ArticleExcerpt}from"./article/components/ArticleExcerpt.js";export{default as ArticleContent}from"./article/components/ArticleContent.js";export{default as ArticleImage}from"./article/components/ArticleImage.js";export{default as ArticlePagination}from"./article/components/ArticlePagination.js";export{default as ArticleAuthor}from"./article/components/ArticleAuthor.js";export{default as ArticleTag}from"./article/components/ArticleTag.js";export{default as ArticleCategory}from"./article/components/ArticleCategory.js";export{default as ArticleDate}from"./article/components/ArticleDate.js";export{default as ArticleReadMore}from"./article/components/ArticleReadMore.js";export{default as HeroBanner}from"./hero-banner/components/HeroBanner.js";export{default as Breadcrumb}from"./breadcrumb/components/Breadcrumb.js";export{default as Button}from"./button/components/Button.js";export{default as Carousel}from"./carousel/components/root/Carousel.js";export{default as CarouselItem}from"./carousel/components/item/CarouselItem.js";export{default as Cart}from"./cart/components/Cart.js";export{default as CartList}from"./cart/components/CartList.js";export{default as CartLinePrice}from"./cart/components/CartLinePrice.js";export{default as CartLineVariant}from"./cart/components/CartLineVariant.js";export{default as CartLineImage}from"./cart/components/CartLineImage.js";export{default as CartTotalPrice}from"./cart/components/CartTotalPrice.js";export{default as CartTotalItem}from"./cart/components/CartTotalItem.js";export{default as CartCheckout}from"./cart/components/CartCheckout.js";export{default as DiscountInput}from"./cart/components/DiscountInput.js";export{default as CartDiscount}from"./cart/components/CartDiscount.js";export{default as CartOrderNote}from"./cart/components/CartOrderNote.js";export{default as CartLineAttribute}from"./cart/components/CartLineAttribute.js";export{default as CouponList}from"./cart/components/CouponList.js";export{default as ShopPayButton}from"./cart/components/shop-pay-button/ShopPayButton.js";export{default as CheckoutNow}from"./cart/components/CheckoutNow.js";export{default as CSSCode}from"./code/components/CSSCode.js";export{default as CollectionTitle}from"./collection/components/collection-title/CollectionTitle.js";export{default as CollectionBanner}from"./collection/components/collection-banner/CollectionBanner.js";export{default as CollectionDescription}from"./collection/components/collection-description/CollectionDescription.js";export{default as CollectionToolbar}from"./collection/components/collection-toolbar/CollectionToolbar.js";export{default as CollectionPaginator}from"./collection/components/collection-paginator/CollectionPaginator.js";export{default as Countdown}from"./countdown-timer/components/Countdown.js";export{default as Coupon}from"./coupon/components/Coupon.js";export{default as Dialog}from"./dialog/components/Dialog.js";export{default as EstimateDate}from"./estimate-delivery/components/EstimateDate.js";export{default as Root}from"./grid/components/root/Root.js";export{default as Section}from"./grid/components/section/Section.js";export{default as Row}from"./grid/components/row/Row.js";export{default as Col}from"./grid/components/col/Col.js";export{default as Newsletter}from"./form/components/newsletter/Newsletter.js";export{default as ContactForm}from"./form/components/contact/Contact.js";export{default as FormEmail}from"./form/components/form-email/FormEmail.js";export{default as SubmitButton}from"./form/components/submit-button/SubmitButton.js";export{default as FormDropdown}from"./form/components/form-dropdown/FormDropdown.js";export{default as TextField}from"./form/components/textfield/TextField.js";export{default as FormTextarea}from"./form/components/textarea/TextArea.js";export{default as FormCheckbox}from"./form/components/form-checkbox/FormCheckbox.js";export{default as TextInput}from"./form/components/textinput/TextInput.js";export{default as Header}from"./header/components/Header.js";export{default as BasicHeader}from"./header/components/kind/basic/index.js";export{default as ModernHeader}from"./header/components/kind/modern/index.js";export{default as MobileMenu}from"./header/components/kind/basic/MobileMenu.js";export{default as DesktopMenu}from"./header/components/kind/basic/DesktopMenu.js";export{default as Heading}from"./heading/components/Heading.js";export{default as Icon}from"./icon/components/Icon.js";export{default as IconList}from"./icon-list/components/IconList.js";export{default as IconListItem}from"./icon-list/components/IconListItem.js";export{default as IconListHoz}from"./icon-list-hoz/components/IconListHoz.js";export{default as IconListHozItem}from"./icon-list-hoz/components/IconListHozItem.js";export{default as IconListV2}from"./icon-list-v2/components/IconList.js";export{default as Image}from"./image/components/Image.js";export{default as ImageComparison}from"./image-comparison/components/ImageComparison.js";export{default as ImageDetection}from"./image-detection/components/ImageDetection.js";export{default as Input}from"./input/components/Input.js";export{default as Line}from"./line/components/Line.js";export{default as Link}from"./link/components/Link.js";export{default as Marquee}from"./marquee/components/Marquee.js";export{default as MarqueeItem}from"./marquee/components/MarqueeItem.js";export{default as Menu}from"./menu/components/Menu.js";export{openConfirm}from"./modal/components/confirm.js";export{default as Modal}from"./modal/components/Modal.js";export{default as Pagination}from"./pagination/components/Pagination.js";export{default as PostPurchaseAdvancedList}from"./post-purchase/advanced-list/components/AdvancedListPostPurchase.js";export{default as PostPurchaseAdvancedListItem}from"./post-purchase/advanced-list/components/PostPurchaseAdvancedListItem.js";export{default as PostPurchaseButton}from"./post-purchase/button/components/Button.js";export{default as PostPurchaseCalloutBox}from"./post-purchase/callout-banner/components/CalloutBox.js";export{default as PostPurchaseCalloutText}from"./post-purchase/callout-banner/components/CalloutText.js";export{default as PostPurchaseCountdownTimer}from"./post-purchase/countdown-timer/components/PostPurchaseCountdownTimer.js";export{default as PostPurchaseImage}from"./post-purchase/image/components/Image.js";export{default as PostPurchaseLine}from"./post-purchase/line/components/PostPurchaseLine.js";export{default as PostPurchaseLink}from"./post-purchase/link/components/PostPurchaseLink.js";export{default as PostPurchaseText}from"./post-purchase/text/components/Text.js";export{default as PostPurchaseProductPrice}from"./post-purchase/product/components/ProductPrice.js";export{default as PostPurchaseProductDescription}from"./post-purchase/product/components/ProductDescription.js";export{default as PostPurchaseProductTitle}from"./post-purchase/product/components/ProductTitle.js";export{default as PostPurchaseProductVariants}from"./post-purchase/product/components/product-variant/components/ProductVariant.js";export{default as PostPurchaseAcceptButton}from"./post-purchase/product/components/AcceptButton.js";export{default as PostPurchaseProductQuantity}from"./post-purchase/product/components/ProductQuantity.js";export{default as PostPurchaseProductPriceBreakdown}from"./post-purchase/product/components/ProductPriceBreakdown.js";export{default as PostPurchaseProductOffer}from"./post-purchase/product/components/product-offer/components/ProductOffer.js";export{default as PostPurchaseProductDiscountTag}from"./post-purchase/product/components/ProductDiscountTag.js";export{default as PostPurchaseProductImages}from"./post-purchase/product/components/product-image/index.js";export{postPurchaseProduct1Col}from"./post-purchase/product/settings/presets-config/product-presets/product-1-col.js";export{postPurchaseProduct2Col}from"./post-purchase/product/settings/presets-config/product-presets/product-2-col.js";export{postPurchaseProductDefault}from"./post-purchase/product/settings/presets-config/product-presets/product-default.js";export{default as Product}from"./product/components/product-wrap/Product.js";export{default as ProductTitle}from"./product/components/product-title/ProductTitle.js";export{default as ProductQuantity}from"./product/components/product-quantity/ProductQuantity.js";export{default as ProductPrice}from"./product/components/product-price/ProductPrice.js";export{default as ProductButton}from"./product/components/product-button/ProductButton.js";export{default as ProductDescription}from"./product/components/product-description/ProductDescription.js";export{default as ProductVariants}from"./product/components/product-variants/ProductVariants.js";export{default as ProductImages}from"./product/components/ProductImages.js";export{default as ProductImagesV2}from"./product/components/product-images-v2/ProductImageV2.js";export{default as ProductPropertyInput}from"./product/components/product-properties/ProductProperties.js";export{default as ProductQuickView}from"./product/components/product-quick-view/QuickView.js";export{default as ProductTag}from"./product/components/product-discount-tag/ProductDiscountTag.js";export{default as ProductList}from"./product/components/product-list/ProductList.js";export{default as ProductVendor}from"./product/components/product-vendor/Vendor.js";export{default as DynamicCheckout}from"./product/components/dynamic-checkout/DynamicCheckout.js";export{default as ProductViewMore}from"./product/components/product-view-more/ProductViewMore.js";export{default as ProductBadge}from"./product/components/product-badge/ProductBadge.js";export{default as ProductBundleDiscount}from"./product/components/product-bundle/ProductBundleDiscount.js";export{default as ProductBundleDiscountItem}from"./product/components/product-bundle/ProductBundleDiscountItem.js";export{default as ProductSku}from"./product/components/product-sku/Sku.js";export{default as FileUpload}from"./product/components/file-upload/UploadFile.js";export{default as Radio}from"./radio/components/Radio.js";export{default as Select}from"./select/components/Select.js";export{default as Tabs}from"./tab/components/Tabs.js";export{default as TabItem}from"./tab/components/TabItem.js";export{default as Text}from"./text/components/Text.js";export{default as Textarea}from"./textarea/components/Textarea.js";export{default as Video}from"./video/components/Video.js";export{default as AovFreeGiftBuyXGetYBogo}from"./third-party/components/AovFreeGiftBuyXGetYBogo.js";export{default as AppstleBundlesDiscounts}from"./third-party/components/AppstleBundlesDiscounts.js";export{default as EcomsendBackInStockAlert}from"./third-party/components/EcomsendBackInStockAlert.js";export{default as EstimatedDeliveryDatePlus}from"./third-party/components/EstimatedDeliveryDatePlus.js";export{default as OkendoReviewsLoyalty}from"./third-party/components/OkendoReviewsLoyalty.js";export{default as EssentialAnnouncementBar}from"./third-party/components/EssentialAnnouncementBar.js";export{default as EssentialCountdownTimerBar}from"./third-party/components/EssentialCountdownTimerBar.js";export{default as StellarDeliveryDatePickup}from"./third-party/components/StellarDeliveryDatePickup.js";export{default as TrustshopProductReviews}from"./third-party/components/TrustshopProductReviews.js";export{default as HulkProductOptions}from"./third-party/components/HulkProductOptions.js";export{default as MyappgurusProductReviews}from"./third-party/components/MyappgurusProductReviews.js";export{default as TrustreviewsProductReviews}from"./third-party/components/TrustreviewsProductReviews.js";export{default as DiscountyBulkDiscountSales}from"./third-party/components/DiscountyBulkDiscountSales.js";export{default as SeoantTrustBadgesIcon}from"./third-party/components/SeoantTrustBadgesIcon.js";export{default as SegunoEmailMarketing}from"./third-party/components/SegunoEmailMarketing.js";export{default as AftershipEmailMarketingsms}from"./third-party/components/AftershipEmailMarketingsms.js";export{default as BestBuyFulfillment}from"./third-party/components/BestBuyFulfillment.js";export{default as ProductOptionsVariantOption}from"./third-party/components/ProductOptionsVariantOption.js";export{default as GloboProductOptionsVariant}from"./third-party/components/GloboProductOptionsVariant.js";export{default as TeeinblueProductPersonalizer}from"./third-party/components/TeeinblueProductPersonalizer.js";export{default as WishlistKing}from"./third-party/components/WishlistKing.js";export{default as HulkFormBuilder}from"./third-party/components/HulkFormBuilder.js";export{default as LoloyalLoyaltyReferrals}from"./third-party/components/LoloyalLoyaltyReferrals.js";export{default as PowerfulContactFormBuilder}from"./third-party/components/PowerfulContactFormBuilder.js";export{default as WishlistPlus}from"./third-party/components/WishlistPlus.js";export{default as InstasellShoppableInstagram}from"./third-party/components/InstasellShoppableInstagram.js";export{default as SproutPlantTreesGrowSales}from"./third-party/components/SproutPlantTreesGrowSales.js";export{default as RapiBundleQuantityBreaks}from"./third-party/components/RapiBundleQuantityBreaks.js";export{default as AppointmentBookingCowlendar}from"./third-party/components/AppointmentBookingCowlendar.js";export{default as GoogleReviewsByReputon}from"./third-party/components/GoogleReviewsByReputon.js";export{default as MbcBundleVolumeDiscount}from"./third-party/components/MbcBundleVolumeDiscount.js";export{default as ProductOptionsCustomizer}from"./third-party/components/ProductOptionsCustomizer.js";export{default as AirProductReviewsAppUgc}from"./third-party/components/AirProductReviewsAppUgc.js";export{default as TagembedSocialPostReview}from"./third-party/components/TagembedSocialPostReview.js";export{default as WhatmoreShoppableVideosreel}from"./third-party/components/WhatmoreShoppableVideosreel.js";export{default as TagshopShoppableVideosUgc}from"./third-party/components/TagshopShoppableVideosUgc.js";export{default as JunipProductReviewsUgc}from"./third-party/components/JunipProductReviewsUgc.js";export{default as FlyBundlesUpsellsFbt}from"./third-party/components/FlyBundlesUpsellsFbt.js";export{default as PreorderNowWodPresale}from"./third-party/components/PreorderNowWodPresale.js";export{default as PreorderNowPreOrderPq}from"./third-party/components/PreorderNowPreOrderPq.js";export{default as MaxbundleProductBundles}from"./third-party/components/MaxbundleProductBundles.js";export{default as KoalaBundleQuantityDiscount}from"./third-party/components/KoalaBundleQuantityDiscount.js";export{default as EasyBundleBuilderSkailama}from"./third-party/components/EasyBundleBuilderSkailama.js";export{default as FastBundleBundlesDiscounts}from"./third-party/components/FastBundleBundlesDiscounts.js";export{default as KiteFreeGiftDiscount}from"./third-party/components/KiteFreeGiftDiscount.js";export{default as UnlimitedBundlesDiscounts}from"./third-party/components/UnlimitedBundlesDiscounts.js";export{default as SimpleBundlesKits}from"./third-party/components/SimpleBundlesKits.js";export{default as ReviewxpoProductReviewsApp}from"./third-party/components/ReviewxpoProductReviewsApp.js";export{default as PumperBundlesVolumeDiscount}from"./third-party/components/PumperBundlesVolumeDiscount.js";export{default as NotifyBackInStockPreOrder}from"./third-party/components/NotifyBackInStockPreOrder.js";export{default as ShopifyForms}from"./third-party/components/ShopifyForms.js";export{default as SkioSubscriptionsYcS20}from"./third-party/components/SkioSubscriptionsYcS20.js";export{default as LoopSubscriptions}from"./third-party/components/LoopSubscriptions.js";export{default as RecurpaySubscriptionApp}from"./third-party/components/RecurpaySubscriptionApp.js";export{default as SubifySubscriptionsApp}from"./third-party/components/SubifySubscriptionsApp.js";export{default as BonLoyaltyRewardsReferrals}from"./third-party/components/BonLoyaltyRewardsReferrals.js";export{default as ShopifySubscriptions}from"./third-party/components/ShopifySubscriptions.js";export{default as EasifyProductOptions}from"./third-party/components/EasifyProductOptions.js";export{default as CustomProductOptionsVariant}from"./third-party/components/CustomProductOptionsVariant.js";export{default as EasySellCOD}from"./third-party/components/EasySellCOD.js";export{default as QikifyUpsell}from"./third-party/components/QikifyUpsell.js";export{default as CleanSizeCharts}from"./third-party/components/CleanSizeCharts.js";export{default as JudgemeReviews}from"./third-party/components/JudgemeReviews.js";export{default as LooxReviews}from"./third-party/components/LooxReviews.js";export{default as Klaviyo}from"./third-party/components/Klaviyo.js";export{default as YotpoLoyalty}from"./third-party/components/YotpoLoyalty.js";export{default as SmartSearchBarAndFilters}from"./third-party/components/SmartSearchBarAndFilters.js";export{default as Instafeed}from"./third-party/components/Instafeed.js";export{default as ProductReviews}from"./third-party/components/ProductReviews.js";export{default as Ryviu}from"./third-party/components/Ryviu.js";export{default as Rivyo}from"./third-party/components/Rivyo.js";export{default as Vitals}from"./third-party/components/Vitals.js";export{default as Omnisend}from"./third-party/components/Omnisend.js";export{default as Trustoo}from"./third-party/components/Trustoo.js";export{default as SealSubscriptions}from"./third-party/components/SealSubscriptions.js";export{default as AppstleSubscriptions}from"./third-party/components/AppstleSubscriptions.js";export{default as FeraReviews}from"./third-party/components/FeraReviews.js";export{default as Growave}from"./third-party/components/Growave.js";export{default as KachingBundles}from"./third-party/components/KachingBundles.js";export{default as PushOwl}from"./third-party/components/PushOwl.js";export{default as Opinew}from"./third-party/components/Opinew.js";export{default as UltimateSalesBoost}from"./third-party/components/UltimateSalesBoost.js";export{default as FirePush}from"./third-party/components/FirePush.js";export{default as ParcelPanel}from"./third-party/components/ParcelPanel.js";export{default as TrustMe}from"./third-party/components/TrustMe.js";export{default as FrequentlyBoughtTogether}from"./third-party/components/FrequentlyBoughtTogether.js";export{default as BoldSubscriptions}from"./third-party/components/BoldSubscriptions.js";export{default as BoldProductOptions}from"./third-party/components/BoldProductOptions.js";export{default as WideBundle}from"./third-party/components/WideBundle.js";export{default as PickyStory}from"./third-party/components/PickyStory.js";export{default as InfiniteOptions}from"./third-party/components/InfiniteOptions.js";export{default as Wiser}from"./third-party/components/Wiser.js";export{default as Stamped}from"./third-party/components/Stamped.js";export{default as Bundler}from"./third-party/components/Bundler.js";export{default as LaiProductReviews}from"./third-party/components/LaiProductReviews.js";export{default as CrossSellCartUpsell}from"./third-party/components/CrossSellCartUpsell.js";export{default as BoostAISearchDiscovery}from"./third-party/components/BoostAISearchDiscovery.js";export{default as YotpoReviews}from"./third-party/components/YotpoReviews.js";export{default as AliReviews}from"./third-party/components/AliReviews.js";export{default as Bogos}from"./third-party/components/Bogos.js";export{default as Releasit}from"./third-party/components/Releasit.js";export{default as KingProductOptions}from"./third-party/components/KingProductOptions.js";export{default as KlarnaMessaging}from"./third-party/components/KlarnaMessaging.js";export{default as RequestQuoteHidePrice}from"./third-party/components/RequestQuoteHidePrice.js";export{default as BirdChime}from"./third-party/components/BirdChime.js";export{default as FordeerProductLabels}from"./third-party/components/FordeerProductLabels.js";export{default as RechargeSubscriptions}from"./third-party/components/RechargeSubscriptions.js";export{default as Selleasy}from"./third-party/components/Selleasy.js";export{default as HextomCountdownTimerBar}from"./third-party/components/HextomCountdownTimerBar.js";export{default as TrustBadgesBear}from"./third-party/components/TrustBadgesBear.js";export{default as TrustedsiteTrustBadges}from"./third-party/components/TrustedsiteTrustBadges.js";export{default as GloColorSwatchvariantImage}from"./third-party/components/GloColorSwatchvariantImage.js";export{default as BfSizeChartSizeGuide}from"./third-party/components/BfSizeChartSizeGuide.js";export{default as AlsoBoughtCbb}from"./third-party/components/AlsoBoughtCbb.js";export{default as HextomFreeShippingBar}from"./third-party/components/HextomFreeShippingBar.js";export{default as EcoboostifyShoppableReelUgc}from"./third-party/components/EcoboostifyShoppableReelUgc.js";export{default as InstantJudgemeReviews}from"./third-party-instant/components/InstantJudgemeReviews.js";export{default as InstantLooxReviews}from"./third-party-instant/components/InstantLooxReviews.js";export{default as InstantKlaviyo}from"./third-party-instant/components/InstantKlaviyo.js";export{default as InstantYotpoLoyalty}from"./third-party-instant/components/InstantYotpoLoyalty.js";export{default as StockCounter}from"./stock-counter/components/StockCounter.js";export{default as ThirdPartySlot}from"./third-party-slot/components/ThirdPartySlot.js";export{default as ShopPayInstallments}from"./shop-pay-installment/components/ShopPayInstallments.js";export{default as Sticky}from"./sticky/components/Sticky.js";export{CONTINUE_SELLING_WHEN_OUT_OF_STOCK,DEFAULT_FONT_SIZE,DEFAULT_HIGHLIGHT_TAG,DEFAULT_PROGRESS_BAR_HEIGHT,DEFAULT_QUANTITY_TEMPLATE,DEFAULT_RANGE_STEP,DEFAULT_REMAINING_PERCENT,DEFAULT_REMAINING_QUANTITY,DEFAULT_SCARCITY_THRESHOLD,MAX_PROGRESS_BAR_HEIGHT,MAX_REMAINING_PERCENT,MIN_PROGRESS_BAR_HEIGHT,MIN_REMAINING_PERCENT,MIN_REMAINING_QUANTITY,NO_PRODUCT_LEFT,OUT_OF_STOCK,QUANTITY_SOURCE,convertSizeToWidth,getInlineCss,getLiquidInitData,getLiquidTextContent,getTextDisplayData,transformHighlighTag,transformNumberTag}from"./stock-counter/common/helpers.js";export{t as liquidComponents};
@@ -1 +1 @@
1
- let SettingUIV2=[{label:{en:"Item management"},controls:[{label:{en:"Order"},setting:{id:"childItem"}}]},{label:{en:"Item spacing"},controls:[{label:{en:"Gap"},setting:{id:"itemSpacing"}}]},{label:{en:"Item style"},controls:[{setting:{id:"itemWidthType"},label:{en:"Max width"}},{label:{en:"Custom width"},setting:{id:"itemMaxWidth"},conditionDisplay:'itemWidthType == "CUSTOM"'}],moreSettings:{type:"collapse",controls:[{label:{en:"Background"},setting:{id:"itemBackgroundColor"}},{label:{en:"Border"},setting:{id:"itemBorderStyle"}},{label:{en:"Corner"},setting:{id:"itemCorner"}},{label:{en:"Shadow"},setting:{id:"itemShadow"}}]}},{controls:[{label:{en:"Separator"},setting:{id:"isShowIconSeparator"},options:{labelVariant:"primary",toggleStyle:"switch"}},{setting:{id:"iconSeparatorSvg"},conditionDisplay:"isShowIconSeparator == true",label:{en:"Icon"}},{label:{en:"Icon size"},setting:{id:"iconSeparatorSize"},conditionDisplay:"isShowIconSeparator == true"},{label:{en:"Icon color"},setting:{id:"iconSeparatorColor"},conditionDisplay:"isShowIconSeparator == true"}]},{label:{en:"Marquee effect"},controls:[{label:{en:"Direction"},setting:{id:"direction"}},{label:{en:"Stop on hover"},setting:{id:"stopOnHover"}},{label:{en:"Speed"},setting:{id:"speed"}},{setting:{id:"isPreview"},layout:"vertical"}]},{label:{en:"Size"},controls:[{label:{en:"Width"},controlConfig:{id:"width",type:"dropdown:input",label:"Width",inputType:"number",units:["px","%"],hideUnit:!1,linkWithSetting:{name:"sizeSetting",field:"width"}}},{label:{en:"Height"},controlConfig:{id:"height",type:"dropdown:input",inputType:"number",units:["px"],linkWithSetting:{name:"sizeSetting",field:"height"},displayOptions:[{label:"Fit content",value:"Auto",showValue:!0},{label:"Small",value:"32px",showValue:!0},{label:"Medium",value:"48px",showValue:!0},{label:"Large",value:"64px",showValue:!0}]}},{label:{en:"Padding"},controlConfig:{id:"padding",type:"padding-v2",linkWithSetting:{name:"spacing-setting",field:"padding"},compoDefaultValue:{desktop:{default:{padding:{type:"custom",top:"16px",bottom:"16px",left:"0px",right:"0px"}}}}}}]},{label:{en:"Background"},controls:[{label:{en:"Color"},setting:{id:"backgroundColor"}}]},{label:{en:"Shape"},controls:[{label:{en:"Border"},setting:{id:"border",state:"normal"}},{label:{en:"Corner"},setting:{id:"rounded",state:"normal"}},{label:{en:"Shadow"},setting:{id:"boxShadow",state:"normal"},options:{updateFields:[{field:"normal.enable",settingId:"hasBoxShadow",state:"normal"}]},controlChangeTrigger:{settings:[{condition:"boxShadow.normal.enable === true",source:["boxShadow","hasBoxShadow"],action:{controlId:"hasBoxShadow",groupType:"advanced",controlType:"advanced",state:"normal",newValue:!0}},{condition:"boxShadow.normal.enable === false",source:["boxShadow","hasBoxShadow"],action:{controlId:"hasBoxShadow",groupType:"advanced",controlType:"advanced",state:"normal",newValue:!1}}],options:{noRecordHistory:!0}}}]},{controls:[{label:{en:"Align"},conditionEnable:'!(parseInt(sizeSetting.width) >= 100 && sizeSetting.width?.includes("%"))',setting:{id:"align"},options:{labelVariant:"primary",fullWidth:!0,disableMessage:"Align is not supported when width is 100%"}}]}];export{SettingUIV2};
1
+ let SettingUIV2=[{label:{en:"Item management"},controls:[{label:{en:"Order"},setting:{id:"childItem"}}]},{label:{en:"Item spacing"},controls:[{label:{en:"Gap"},setting:{id:"itemSpacing"}}]},{label:{en:"Item style"},controls:[{setting:{id:"itemWidthType"},label:{en:"Max width"}},{label:{en:"Custom width"},setting:{id:"itemMaxWidth"},conditionDisplay:'itemWidthType == "CUSTOM"'}],moreSettings:{type:"collapse",controls:[{label:{en:"Background"},setting:{id:"itemBackgroundColor"}},{label:{en:"Border"},setting:{id:"itemBorderStyle"}},{label:{en:"Corner"},setting:{id:"itemCorner"}},{label:{en:"Shadow"},setting:{id:"itemShadow"}}]}},{controls:[{label:{en:"Separator"},setting:{id:"isShowIconSeparator"},options:{labelVariant:"primary",toggleStyle:"switch"}},{setting:{id:"iconSeparatorSvg"},conditionDisplay:"isShowIconSeparator == true",label:{en:"Icon"}},{label:{en:"Icon size"},setting:{id:"iconSeparatorSize"},conditionDisplay:"isShowIconSeparator == true"},{label:{en:"Icon color"},setting:{id:"iconSeparatorColor"},conditionDisplay:"isShowIconSeparator == true"}]},{label:{en:"Marquee effect"},controls:[{label:{en:"Direction"},setting:{id:"direction"}},{label:{en:"Stop on hover"},setting:{id:"stopOnHover"}},{label:{en:"Speed"},setting:{id:"speed"}},{setting:{id:"isPreview"},layout:"vertical"}]},{label:{en:"Size"},controls:[{label:{en:"Width"},controlConfig:{id:"width",type:"dropdown:input",label:"Width",inputType:"number",units:["px","%"],hideUnit:!1,linkWithSetting:{name:"sizeSetting",field:"width"}}},{label:{en:"Height"},controlConfig:{id:"height",type:"dropdown:input",inputType:"number",units:["px"],linkWithSetting:{name:"sizeSetting",field:"height"},displayOptions:[{label:"Fit content",value:"Auto",showValue:!0},{label:"Small",value:"32px",showValue:!0},{label:"Medium",value:"48px",showValue:!0},{label:"Large",value:"64px",showValue:!0}]}},{label:{en:"Padding"},controlConfig:{id:"padding",type:"padding-v2",linkWithSetting:{name:"spacing-setting",field:"padding"},compoDefaultValue:{desktop:{default:{padding:{type:"custom",top:"16px",bottom:"16px",left:"0px",right:"0px"}}}}}}]},{label:{en:"Background"},controls:[{label:{en:"Color"},setting:{id:"backgroundColor"}}]},{label:{en:"Shape"},controls:[{label:{en:"Border"},setting:{id:"border",state:"normal"}},{label:{en:"Corner"},setting:{id:"rounded",state:"normal"}},{label:{en:"Shadow"},setting:{id:"boxShadow",state:"normal"},options:{updateFields:[{field:"normal.enable",settingId:"hasBoxShadow",state:"normal"}]},controlChangeTrigger:{settings:[{condition:"boxShadow.normal.enable === true",source:["boxShadow","hasBoxShadow"],action:{controlId:"hasBoxShadow",groupType:"advanced",controlType:"advanced",state:"normal",newValue:!0}},{condition:"boxShadow.normal.enable === false",source:["boxShadow","hasBoxShadow"],action:{controlId:"hasBoxShadow",groupType:"advanced",controlType:"advanced",state:"normal",newValue:!1}}],options:{noRecordHistory:!0}}}]},{controls:[{label:{en:"Align"},conditionEnable:'!(parseInt(sizeSetting.width) >= 100 && sizeSetting.width?.includes("%"))',setting:{id:"align"},options:{labelVariant:"primary",fullWidth:!0,disableMessage:"Horizontal alignment is disabled when the width is set to 100% or greater"}}]}];export{SettingUIV2};
@@ -6,7 +6,7 @@ import{getWidthHeightGlobalSize as t,getPaddingGlobalSize as o,composeShadowCss
6
6
  padding-bottom: ${e.bottom?`${e.bottom} !important;`:""};
7
7
  padding-left: ${e.left?`${e.left} !important;`:""};
8
8
  padding-right: ${e.right?`${e.right} !important;`:""};
9
- `},composeFontSize=t=>t?`font-size: ${t} !important;`:"",composeLineHeight=t=>t?`line-height: ${t} !important;`:"",composeTextAlign=t=>`${t?`text-align: ${t} !important;`:""}`,composeBackgroundStyle=t=>t?"string"==typeof t&&t.includes("linear-gradient")?`background-image: ${t};`:`background-color: ${p(t)};`:"",getDeviceStyles=({uid:t,device:o,styles:p,composeGlobalSize:b})=>`
9
+ `},composeFontSize=t=>t?`font-size: ${t} !important;`:"",composeLineHeight=t=>t?`line-height: ${t} !important;`:"",composeTextAlign=t=>`${t?`text-align: ${t} !important;`:""}`,composeBackgroundStyle=(t,o)=>!t||o?.forceIgnore?"":"string"==typeof t&&t.includes("linear-gradient")?`background-image: ${t};`:`background-color: ${p(t)};`,getDeviceStyles=({uid:t,device:o,styles:p,composeGlobalSize:b})=>`
10
10
  .wrap__button--unbranded__${t} {
11
11
  ${composeTextAlign(p?.align?.[o])}
12
12
  }
@@ -38,7 +38,7 @@ import{getWidthHeightGlobalSize as t,getPaddingGlobalSize as o,composeShadowCss
38
38
  .wrap__button--unbranded__${t} .shopify-payment-button .shopify-payment-button__button--unbranded::before {
39
39
  ${d(p?.borderBtnV2?.normal)}
40
40
  ${e(p?.roundedBtnV2?.normal)}
41
- ${composeBackgroundStyle(p?.backgroundColorV2?.normal)}
41
+ ${composeBackgroundStyle(p?.backgroundColorV2?.normal,{forceIgnore:!!p?.backgroundImage?.normal?.image})}
42
42
  ${i(p?.backgroundImage,{device:o,state:"normal"})}
43
43
  ${n({boxShadowValue:p?.boxShadowBtn?.normal,hasBoxShadow:p?.boxShadowBtn?.normal?.type!=="none"})||""}
44
44
 
@@ -49,7 +49,7 @@ import{getWidthHeightGlobalSize as t,getPaddingGlobalSize as o,composeShadowCss
49
49
  ${p?.backgroundImage?.hover||p?.backgroundColorV2?.hover?"background-image : unset;":""}
50
50
  ${p?.borderBtnV2?.hover?.borderType!=="none"?d(p?.borderBtnV2?.hover):""}
51
51
  ${p?.roundedBtnV2?.hover?.radiusType!=="none"?e(p?.roundedBtnV2?.hover):""}
52
- ${p?.backgroundColorV2?.hover?composeBackgroundStyle(p?.backgroundColorV2?.hover):""}
52
+ ${p?.backgroundColorV2?.hover?composeBackgroundStyle(p?.backgroundColorV2?.hover,{forceIgnore:!!p?.backgroundImage?.hover?.image}):""}
53
53
  ${p?.backgroundImage?.hover?i(p?.backgroundImage,{device:o,state:"hover"}):""}
54
54
  ${n({boxShadowValue:p?.boxShadowBtn?.hover,hasBoxShadow:p?.boxShadowBtn?.hover?.type!=="none",important:!0})||""}
55
55
  }
@@ -122,4 +122,4 @@ import{getWidthHeightGlobalSize as t,getPaddingGlobalSize as o,composeShadowCss
122
122
  @media only screen and (max-width: 767px) {
123
123
  ${getDeviceStyles({device:"mobile",uid:e,styles:n,composeGlobalSize:a})}
124
124
  }
125
- `;return r};export{composeBackgroundStyle,getButtonStyles};
125
+ `;return r};export{getButtonStyles};
@@ -1 +1 @@
1
- let triggerBadgeDefault=[{triggerEvent:"inventory_status",type:"in_stock",quantityType:"exact_or_above",from:"1",to:"15",priority:0,conditionType:"exact_or_above"}],ProductBadgeSettings=[{id:"setting",controls:[{id:"displayTrigger",type:"display-trigger-badge",default:triggerBadgeDefault},{id:"content",type:"group",controls:[{id:"image",type:"image",label:"Pick Image",default:{src:"https://cdn.shopify.com/s/files/1/0697/6182/7064/files/gempages_523190969722471488-fc9fecb6-26b8-4836-b417-2dfb9ea43bd5.png?v=1723733677"}},{id:"shape",type:"badge-style",label:"Content",iconViewBox:"0 0 80 48",enableItemBackground:!0,itemPerRow:2,itemSpacing:"large",default:"horizontal_rectangle",options:[{value:"image",label:"Image",type:"badge-layout",iconName:"gp-product-badge-image"},{value:"horizontal_rectangle",label:"Text horizontal",type:"badge-layout",iconName:"gp-product-badge-horizontal-rectangle"},{value:"ribbon",label:"Text corner 1",type:"badge-layout",iconName:"gp-product-badge-ribbon"},{value:"ribbon_2",label:"Text ribbon 1",type:"badge-layout",iconName:"gp-product-badge-ribbon-2"},{value:"triangle",label:"Text corner 2",type:"badge-layout",iconName:"gp-product-badge-triangle"},{value:"ribbon_3",label:"Text ribbon 2",type:"badge-layout",iconName:"gp-product-badge-ribbon-3"},{value:"square",label:"Text square",type:"badge-layout",iconName:"gp-product-badge-square"},{value:"star",label:"Text star",type:"badge-layout",iconName:"gp-product-badge-star"},{value:"vertical_rectangle",label:"Text vertical",type:"badge-layout",iconName:"gp-product-badge-vertical-rectangle"}]},{id:"displayContent",type:"textarea",default:"Sale {percent_discount} off",minHeight:72,inputClass:"!pr-36",autoHeight:!0,showPlusBtn:!0,isFocusToBottom:!0,defaultRows:1,suggestContents:[{message:"{percent_discount}",eg:"Save 20%"},{message:"{amount_discount}",eg:"Save $20"},{message:"{min_price}",eg:"Start from $20"},{message:"{inventory_quantity}",eg:"Only 3 items left",tooltip:`Only work with product enable “Track inventory”`}]},{id:"contentBanner",type:"banner",message:`{inventory_quantity} Only work with product enable “Track inventory”`,closable:!0},{id:"translate",type:"input",default:"displayContent"},{id:"contentType",label:"Shape",type:"input",default:"text"}]},{id:"positionWithImage",type:"input",default:"outside"}]},{id:"style",controls:[{id:"typo",type:"typography-v2",ignoreReRender:!0,default:{type:"paragraph-1",attrs:{color:"#121212"}},hiddenSetting:{textAlign:!0}},{id:"position",type:"custom-position",ignoreValue:["center"],devices:{desktop:{default:{placement:"top-left",topGap:"0",leftGap:"0",bottomGap:"0",rightGap:"0"}}}},{id:"badgeColor",type:"background-color-picker",label:"Badge color",default:"#C62A33"},{id:"badgeColorV2",type:"color-picker-v2",devices:{desktop:{default:{normal:"#C62A33"}}},compoDefaultValue:{desktop:{default:{normal:"#C62A33"}}}},{id:"textColor",type:"background-color-picker",label:"Text color",mode:"solid",default:"text-3"},{id:"wrapperBorder",type:"border"},{id:"textBadgeBorder",type:"border-v2",devices:{desktop:{default:{normal:{borderType:"none",border:"none",borderWidth:"1px",width:"1px 1px 1px 1px",color:"line-3",isCustom:!0},hover:{borderType:"none",border:"none",borderWidth:"1px",width:"1px 1px 1px 1px",color:"line-3",isCustom:!0}}}},compoDefaultValue:{desktop:{default:{normal:{border:"solid",color:"line-3",width:"1px",borderWidth:"1px"},hover:{border:"solid",color:"line-3",width:"1px",borderWidth:"1px"}}}}},{id:"imageBadgeBorder",type:"border-v2",devices:{desktop:{default:{normal:{borderType:"none",border:"none",borderWidth:"1px",width:"1px 1px 1px 1px",color:"line-1",isCustom:!0},hover:{borderType:"none",border:"none",borderWidth:"1px",width:"1px 1px 1px 1px",color:"#121212",isCustom:!0}}}},compoDefaultValue:{desktop:{default:{normal:{border:"solid",color:"line-1",width:"1px",borderWidth:"1px"},hover:{border:"solid",color:"line-1",width:"1px",borderWidth:"1px"}}}}},{id:"borderRadius",type:"radius-preset",default:{btrr:"3px",bblr:"3px",bbrr:"3px",btlr:"3px",radiusType:"custom"}},{id:"textBadgeCorner",type:"corner-v2",devices:{desktop:{default:{normal:{btrr:"0px",bblr:"0px",bbrr:"0px",btlr:"0px",radiusType:"none"},hover:{btrr:"0px",bblr:"0px",bbrr:"0px",btlr:"0px",radiusType:"none"}}}},compoDefaultValue:{desktop:{default:{normal:{btrr:"8px",bblr:"8px",bbrr:"8px",btlr:"8px",radiusType:"rounded"},hover:{btrr:"8px",bblr:"8px",bbrr:"8px",btlr:"8px",radiusType:"rounded"}}}}},{id:"imageBadgeCorner",type:"corner-v2",devices:{desktop:{default:{normal:{btrr:"0px",bblr:"0px",bbrr:"0px",btlr:"0px",radiusType:"none"},hover:{btrr:"0px",bblr:"0px",bbrr:"0px",btlr:"0px",radiusType:"none"}}}},compoDefaultValue:{desktop:{default:{normal:{btrr:"8px",bblr:"8px",bbrr:"8px",btlr:"8px",radiusType:"rounded"},hover:{btrr:"8px",bblr:"8px",bbrr:"8px",btlr:"8px",radiusType:"rounded"}}}}},{id:"hasShadow",type:"toggle",default:!1},{id:"textSizeV2",type:"size-setting",hiddenShowMore:!0,disableShapeLinkedTooltip:"The ratio is locked to ensure the badge shape displays correctly",devices:{desktop:{default:{width:"auto",height:"auto",shapeLinked:!1,disableShapeLinked:!0,hiddenShape:!0,shape:"custom",padding:{top:"8px",bottom:"8px",left:"12px",right:"12px"}}}},settingConfig:{width:{displayOptions:["auto","default"]},height:{displayOptions:["auto","default"]}},hiddenSettings:["gap","proportion","padding"]},{id:"imageSizeV2",type:"size-setting",hiddenShowMore:!0,disableShapeLinkedTooltip:"The ratio is locked to ensure the badge shape displays correctly",devices:{desktop:{default:{width:"20%",height:"auto",shapeLinked:!0,hiddenShape:!1,shape:"original",disableShapeLinked:!0}}},settingConfig:{width:{displayOptions:["full","auto","small","large","medium"],sizeConfig:{small:"100px",medium:"116px",large:"132px"}},height:{displayOptions:["auto","small","large","medium"],sizeConfig:{small:"28px",medium:"36px",large:"44px"}}},hiddenSettings:["gap","padding","proportion"]},{id:"align",label:"Align",type:"option:value",options:[{label:"Left",value:"left",type:"align",tooltip:"Align left",iconName:"gp-align-left"},{label:"Center",value:"center",type:"align",tooltip:"Align center",iconName:"gp-align-center"},{label:"Right",value:"right",type:"align",tooltip:"Align right",iconName:"gp-align-right"}],devices:{desktop:{default:"left"}}},{id:"shapeShadow",type:"boxShadow",hideOptions:["size"],label:"",default:{type:"shadow-1",distance:"4px",blur:"12px",spread:"0px",color:"#121212",angle:90}},{id:"textBadgeShadow",type:"shadow-v2",devices:{desktop:{default:{normal:{}}}},compoDefaultValue:{desktop:{default:{normal:{type:"shadow-1",distance:"4px",blur:"4px",spread:"0px",color:"rgba(18, 18, 18, 0.2)",angle:45}}}}},{id:"imageBadgeShadow",type:"shadow-v2",devices:{desktop:{default:{normal:{}}}},compoDefaultValue:{desktop:{default:{normal:{type:"shadow-1",distance:"4px",blur:"4px",spread:"0px",color:"rgba(18, 18, 18, 0.2)",angle:45}}}}}]}];export{ProductBadgeSettings};
1
+ let triggerBadgeDefault=[{triggerEvent:"inventory_status",type:"in_stock",quantityType:"exact_or_above",from:"1",to:"15",priority:0,conditionType:"exact_or_above"}],ProductBadgeSettings=[{id:"setting",controls:[{id:"displayTrigger",type:"display-trigger-badge",default:triggerBadgeDefault},{id:"content",type:"group",controls:[{id:"image",type:"image",label:"Pick Image",default:{src:"https://cdn.shopify.com/s/files/1/0697/6182/7064/files/gempages_523190969722471488-fc9fecb6-26b8-4836-b417-2dfb9ea43bd5.png?v=1723733677"}},{id:"shape",type:"badge-style",label:"Content",iconViewBox:"0 0 80 48",enableItemBackground:!0,itemPerRow:2,itemSpacing:"large",default:"horizontal_rectangle",options:[{value:"image",label:"Image",type:"badge-layout",iconName:"gp-product-badge-image"},{value:"horizontal_rectangle",label:"Text horizontal",type:"badge-layout",iconName:"gp-product-badge-horizontal-rectangle"},{value:"ribbon",label:"Text corner 1",type:"badge-layout",iconName:"gp-product-badge-ribbon"},{value:"ribbon_2",label:"Text ribbon 1",type:"badge-layout",iconName:"gp-product-badge-ribbon-2"},{value:"triangle",label:"Text corner 2",type:"badge-layout",iconName:"gp-product-badge-triangle"},{value:"ribbon_3",label:"Text ribbon 2",type:"badge-layout",iconName:"gp-product-badge-ribbon-3"},{value:"vertical_rectangle",label:"Text vertical",type:"badge-layout",iconName:"gp-product-badge-vertical-rectangle"},{value:"star",label:"Text star",type:"badge-layout",iconName:"gp-product-badge-star"},{value:"square",label:"Text square",type:"badge-layout",iconName:"gp-product-badge-square"}]},{id:"displayContent",type:"textarea",default:"Sale {percent_discount} off",minHeight:72,inputClass:"!pr-36",autoHeight:!0,showPlusBtn:!0,isFocusToBottom:!0,defaultRows:1,suggestContents:[{message:"{percent_discount}",eg:"Save 20%"},{message:"{amount_discount}",eg:"Save $20"},{message:"{min_price}",eg:"Start from $20"},{message:"{inventory_quantity}",eg:"Only 3 items left",tooltip:`Only work with product enable “Track inventory”`}]},{id:"contentBanner",type:"banner",message:`{inventory_quantity} Only work with product enable “Track inventory”`,closable:!0},{id:"translate",type:"input",default:"displayContent"},{id:"contentType",label:"Shape",type:"input",default:"text"}]},{id:"positionWithImage",type:"input",default:"outside"}]},{id:"style",controls:[{id:"typo",type:"typography-v2",ignoreReRender:!0,default:{type:"paragraph-1",attrs:{color:"#EAEAEA"}},hiddenSetting:{textAlign:!0}},{id:"position",type:"custom-position",ignoreValue:["center"],devices:{desktop:{default:{placement:"top-left",topGap:"0",leftGap:"0",bottomGap:"0",rightGap:"0"}}}},{id:"badgeColor",type:"background-color-picker",label:"Badge color",default:"#C62A33"},{id:"badgeColorV2",type:"color-picker-v2",devices:{desktop:{default:{normal:"#C62A33"}}},compoDefaultValue:{desktop:{default:{normal:"#C62A33"}}}},{id:"textColor",type:"background-color-picker",label:"Text color",mode:"solid",default:"text-3"},{id:"wrapperBorder",type:"border"},{id:"textBadgeBorder",type:"border-v2",devices:{desktop:{default:{normal:{borderType:"none",border:"none",borderWidth:"1px",width:"1px 1px 1px 1px",color:"line-3",isCustom:!0},hover:{borderType:"none",border:"none",borderWidth:"1px",width:"1px 1px 1px 1px",color:"line-3",isCustom:!0}}}},compoDefaultValue:{desktop:{default:{normal:{border:"solid",color:"line-3",width:"1px",borderWidth:"1px"},hover:{border:"solid",color:"line-3",width:"1px",borderWidth:"1px"}}}}},{id:"imageBadgeBorder",type:"border-v2",devices:{desktop:{default:{normal:{borderType:"none",border:"none",borderWidth:"1px",width:"1px 1px 1px 1px",color:"line-1",isCustom:!0},hover:{borderType:"none",border:"none",borderWidth:"1px",width:"1px 1px 1px 1px",color:"#121212",isCustom:!0}}}},compoDefaultValue:{desktop:{default:{normal:{border:"solid",color:"line-1",width:"1px",borderWidth:"1px"},hover:{border:"solid",color:"line-1",width:"1px",borderWidth:"1px"}}}}},{id:"borderRadius",type:"radius-preset",default:{btrr:"3px",bblr:"3px",bbrr:"3px",btlr:"3px",radiusType:"custom"}},{id:"textBadgeCorner",type:"corner-v2",devices:{desktop:{default:{normal:{btrr:"0px",bblr:"0px",bbrr:"0px",btlr:"0px",radiusType:"none"},hover:{btrr:"0px",bblr:"0px",bbrr:"0px",btlr:"0px",radiusType:"none"}}}},compoDefaultValue:{desktop:{default:{normal:{btrr:"8px",bblr:"8px",bbrr:"8px",btlr:"8px",radiusType:"rounded"},hover:{btrr:"8px",bblr:"8px",bbrr:"8px",btlr:"8px",radiusType:"rounded"}}}}},{id:"imageBadgeCorner",type:"corner-v2",devices:{desktop:{default:{normal:{btrr:"0px",bblr:"0px",bbrr:"0px",btlr:"0px",radiusType:"none"},hover:{btrr:"0px",bblr:"0px",bbrr:"0px",btlr:"0px",radiusType:"none"}}}},compoDefaultValue:{desktop:{default:{normal:{btrr:"8px",bblr:"8px",bbrr:"8px",btlr:"8px",radiusType:"rounded"},hover:{btrr:"8px",bblr:"8px",bbrr:"8px",btlr:"8px",radiusType:"rounded"}}}}},{id:"hasShadow",type:"toggle",default:!1},{id:"textSizeV2",type:"size-setting",hiddenShowMore:!0,disableShapeLinkedTooltip:"The ratio is locked to ensure the badge shape displays correctly",devices:{desktop:{default:{width:"auto",height:"auto",shapeLinked:!1,disableShapeLinked:!0,hiddenShape:!0,shape:"custom",padding:{top:"8px",bottom:"8px",left:"12px",right:"12px"}}}},settingConfig:{width:{displayOptions:["auto","default"]},height:{displayOptions:["auto","default"]}},hiddenSettings:["gap","proportion","padding"]},{id:"imageSizeV2",type:"size-setting",hiddenShowMore:!0,disableShapeLinkedTooltip:"The ratio is locked to ensure the badge shape displays correctly",devices:{desktop:{default:{width:"20%",height:"auto",shapeLinked:!0,hiddenShape:!1,shape:"original",disableShapeLinked:!0}}},settingConfig:{width:{displayOptions:["full","auto","small","large","medium"],sizeConfig:{small:"100px",medium:"116px",large:"132px"}},height:{displayOptions:["auto","small","large","medium"],sizeConfig:{small:"28px",medium:"36px",large:"44px"}}},hiddenSettings:["gap","padding","proportion"]},{id:"align",label:"Align",type:"option:value",options:[{label:"Left",value:"left",type:"align",tooltip:"Align left",iconName:"gp-align-left"},{label:"Center",value:"center",type:"align",tooltip:"Align center",iconName:"gp-align-center"},{label:"Right",value:"right",type:"align",tooltip:"Align right",iconName:"gp-align-right"}],devices:{desktop:{default:"left"}}},{id:"shapeShadow",type:"boxShadow",hideOptions:["size"],label:"",default:{type:"shadow-1",distance:"4px",blur:"12px",spread:"0px",color:"#121212",angle:90}},{id:"textBadgeShadow",type:"shadow-v2",devices:{desktop:{default:{normal:{}}}},compoDefaultValue:{desktop:{default:{normal:{type:"shadow-1",distance:"4px",blur:"4px",spread:"0px",color:"rgba(18, 18, 18, 0.2)",angle:45}}}}},{id:"imageBadgeShadow",type:"shadow-v2",devices:{desktop:{default:{normal:{}}}},compoDefaultValue:{desktop:{default:{normal:{type:"shadow-1",distance:"4px",blur:"4px",spread:"0px",color:"rgba(18, 18, 18, 0.2)",angle:45}}}}}]}];export{ProductBadgeSettings};
@@ -1 +1 @@
1
- import{rectangleListPresetConfig as e}from"../swatches-style-config/rectangle-list.js";import{colorPresetConfig as t}from"../swatches-style-config/color.js";import{imagePresetConfig as l}from"../swatches-style-config/image.js";import{imageShopifyPresetConfig as a}from"../swatches-style-config/image-shopify.js";import{dropdownPresetConfig as i}from"../swatches-style-config/dropdown.js";let ProductVariantSettings=[{id:"setting",controls:[{id:"variantsOption",type:"group",label:"Variants Options",controls:[{id:"optionType",label:"Option Label",type:"select",default:"singleOption",options:[{label:"Separated",value:"singleOption"},{label:"Combine",value:"groupOption"}]},{id:"label",label:"Option Label",type:"toggle",default:!0},{id:"optionAlign",label:"Alignment",type:"segment",devices:{desktop:{default:"left"}},options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}]},{id:"price",label:"Option Price",type:"option:value",hide:!0,default:!0,options:[{value:!0,label:"Yes"},{value:!1,label:"No"}]},{id:"showAsSwatches",label:"Use Option Swatches",type:"swatchesLink",hide:!0,default:!0,hyperlinkInfo:{beforeText:"Go to ",hyperlinkText:"Manage Swatches",afterText:" to configure options display as swatches",modal:"manage_swatches"}},{id:"combineFullWidth",label:"Full Width",type:"toggle",devices:{desktop:{default:!0}}},{id:"combineWidth",type:"input:unit",label:"Width",placeholder:"Auto",min:0,units:["px","%"],hide:!0,devices:{desktop:{default:"100%"}}},{id:"combineHeight",type:"input:unit",label:"Height",placeholder:"Auto",min:0,units:["px"],default:"45px"},{id:"variantPresets",label:"Use Option Swatches",type:"variant:presets",default:[{optionName:"base",optionType:"rectangle_list",presets:{...t,...e,...l,...a,...i}}],hyperlinkInfo:{modal:"manage_swatches"}},{id:"soldOutStyle",type:"select",default:"line",options:[{label:"None",value:"none"},{label:"Unclickable",value:"disable"},{label:"Cross-out",value:"line",icon:"gp-cross-out-one-line"}]}]},{id:"options",type:"group",label:"Options",controls:[{id:"layout",label:"Layout",type:"option:illustration",iconViewBox:"0 0 66 45",enableItemBackground:!0,devices:{desktop:{default:"vertical"}},options:[{label:"Vertical",value:"vertical",type:"arrange",svgName:"gp-arrange-vertical"},{label:"Horizontal",value:"horizontal",type:"arrange",svgName:"gp-arrange-horizontal"}]},{id:"column",label:"Column",type:"select",devices:{desktop:{default:1}},options:[{label:"1 column",value:1},{label:"2 columns",value:2},{label:"3 columns",value:3},{label:"4 columns",value:4}]}]},{id:"variantDisplay",type:"group",label:"Variant Display",controls:[{id:"hasPreSelected",type:"toggle",label:"hasPreSelected",default:!0},{id:"selectVariantDefault",type:"select-variant",label:"Select Default Variant",hide:!0}]},{id:"blankText",label:"Blank Option Text",type:"input",hide:!0,default:"Please select an option"},{id:"hasOnlyDefaultVariant",label:"Blank Option Text",type:"variant:default",hide:!0,default:!1}]},{id:"style",controls:[{id:"dimension",type:"group",label:"Variants Dimension",controls:[{id:"fullWidth",label:"Full Width",type:"toggle",devices:{desktop:{default:!0}}},{id:"width",type:"input:unit",label:"Width",min:0,units:["px","%"],hide:!0,devices:{desktop:{default:"100%"}}},{id:"optionSpacing",label:"Option Spacing",type:"input:unit",units:["px"],placeholder:"Auto",default:"30px"},{id:"labelGap",label:"Gap",type:"input:slider",units:["px"],ignoreMax:!0,max:40,default:"8px"}]},{id:"swatchDimension",type:"group",label:"Swatch Dimension",controls:[{id:"swatchAutoWidth",label:"Auto Width",type:"toggle",devices:{desktop:{default:!0}}},{id:"swatchWidth",type:"input:unit",label:"Width",placeholder:"Auto Width",min:0,units:["px","%"],hide:!0,devices:{desktop:{default:"80px"}}},{id:"swatchHeight",type:"input:unit",label:"Height",placeholder:"Auto Height",min:0,units:["px"],devices:{desktop:{default:"45px"}}},{id:"swatchSpacing",label:"Swatch Spacing",type:"input:unit",units:["px"],placeholder:"Auto",default:"var(--g-s-m)"},{id:"marginBottom",label:"Margin Bottom",type:"input:slider",units:["px"],ignoreMax:!0,max:40,devices:{desktop:{default:"16px"}}}]},{id:"align",label:"Align",type:"option:value",options:[{label:"Left",value:"left",type:"align",tooltip:"Align left",iconName:"gp-align-left"},{label:"Center",value:"center",type:"align",tooltip:"Align center",iconName:"gp-align-center"},{label:"Right",value:"right",type:"align",tooltip:"Align right",iconName:"gp-align-right"}],devices:{desktop:{default:"left"}}},{id:"labelGroup",type:"group",label:"Label",controls:[{id:"labelTypo",type:"typography-combo",label:"Typography",default:{type:"paragraph-2",attrs:{color:"text-2",bold:!0},custom:{fontFamily:"Assistant",letterSpacing:"0px"}},ignoreReRender:!0,hiddenSetting:{textAlign:!0}},{id:"labelColor",type:"color-picker-v2",label:"Text Color",default:"text-2"}]},{id:"labelGroup",type:"group",label:"Option Value",controls:[{id:"optionTypo",type:"typography-v2",label:"Typography",default:{type:"paragraph-2"},hiddenSetting:{},ignoreReRender:!0}]},{id:"behavior-state",type:"behavior-state",label:"Option Value",controls:[{id:"optionBgColor",type:"color-picker-v2",label:"Background Color",default:{normal:"#FFFFFF"},compoDefaultValue:{normal:"#FFFFFF",hover:"highlight",active:"highlight"},state:{active:!0,hover:!0,normal:!0}},{id:"optionTextColor",type:"color-picker-v2",label:"Text Color",default:{normal:"text-2"},compoDefaultValue:{normal:"text-2",active:"text-3",hover:"text-3"},state:{active:!0,hover:!0,normal:!0}},{id:"optionBorder",type:"border",label:"Border",default:{normal:{borderType:"style-2",border:"solid",color:"line-2",isCustom:!1,width:"1px 1px 1px 1px",borderWidth:"1px"},active:{borderType:"style-3",border:"solid",color:"line-3",isCustom:!1,width:"2px 2px 2px 2px",borderWidth:"2px"},hover:{borderType:"style-3",border:"solid",color:"line-3",isCustom:!1,width:"1px 1px 1px 1px",borderWidth:"1px"}},compoDefaultValue:{normal:{borderType:"style-2",border:"solid",color:"line-2"}},state:{active:!0,hover:!0,normal:!0}},{id:"optionRounded",type:"radius-preset",label:"Border Radius",default:{normal:{btrr:"9999px",bblr:"9999px",bbrr:"9999px",btlr:"9999px",radiusType:"circle"},hover:{btrr:"9999px",bblr:"9999px",bbrr:"9999px",btlr:"9999px",radiusType:"circle"},active:{btrr:"9999px",bblr:"9999px",bbrr:"9999px",btlr:"9999px",radiusType:"circle"}},compoDefaultValue:{normal:{radiusType:"rounded",btrr:"8px",bblr:"8px",bbrr:"8px",btlr:"8px"},active:{radiusType:"rounded",btrr:"8px",bblr:"8px",bbrr:"8px",btlr:"8px"}},state:{active:!0,hover:!0,normal:!0}},{id:"optionShadow",type:"shadow-v2",label:"Shadow",hideOnState:{normal:!0,hover:!0,active:!0},default:{normal:{type:"shadow-1",distance:"4px",blur:"4px",spread:"0px",color:"rgba(18, 18, 18, 0.20)",angle:45,enable:!1},hover:{type:"shadow-1",distance:"4px",blur:"12px",spread:"0px",color:"rgba(18, 18, 18, 0.20)",angle:45,enable:!1},active:{type:"shadow-1",distance:"4px",blur:"4px",spread:"0px",color:"rgba(18, 18, 18, 0.20)",angle:45,enable:!1}},compoDefaultValue:{hover:{type:"shadow-1",enable:!0,distance:"4px",blur:"4px",spread:"0px",color:"rgba(18, 18, 18, 0.20)",angle:45},normal:{type:"shadow-1",enable:!0,distance:"4px",blur:"4px",spread:"0px",color:"rgba(18, 18, 18, 0.20)",angle:45},active:{type:"shadow-1",enable:!0,distance:"4px",blur:"4px",spread:"0px",color:"rgba(18, 18, 18, 0.20)",angle:45}},state:{normal:!0,hover:!0,active:!0}}]},{id:"dropdownItemWidth",type:"segment",label:"Dropdown Width",devices:{desktop:{default:"fill"},mobile:{default:"fill"},tablet:{default:"fill"}},options:[{label:"Fill",value:"fill"},{label:"Fixed",value:"fixed"}]},{id:"fixedDropdownWidth",type:"input:unit",label:"Fixed Width",units:["px","%"],devices:{desktop:{default:"240px"},mobile:{default:"240px"},tablet:{default:"240px"}}},{id:"swatchItemWidth",type:"segment",label:"Swatch Width",devices:{desktop:{default:"auto"}},options:[{label:"Fill",value:"auto"},{label:"Fixed",value:"fixed"}]},{id:"fixedDropdownWidth",type:"input:unit",label:"Fixed Width",units:["px","%"],devices:{desktop:{default:"240px"}}}]}];export{ProductVariantSettings};
1
+ import{rectangleListPresetConfig as e}from"../swatches-style-config/rectangle-list.js";import{colorPresetConfig as t}from"../swatches-style-config/color.js";import{imagePresetConfig as l}from"../swatches-style-config/image.js";import{imageShopifyPresetConfig as a}from"../swatches-style-config/image-shopify.js";import{dropdownPresetConfig as i}from"../swatches-style-config/dropdown.js";let ProductVariantSettings=[{id:"setting",controls:[{id:"variantsOption",type:"group",label:"Variants Options",controls:[{id:"optionType",label:"Option Label",type:"select",default:"singleOption",options:[{label:"Separated",value:"singleOption"},{label:"Combine",value:"groupOption"}]},{id:"label",label:"Option Label",type:"toggle",default:!0},{id:"optionAlign",label:"Alignment",type:"segment",devices:{desktop:{default:"left"}},options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}]},{id:"price",label:"Option Price",type:"option:value",hide:!0,default:!0,options:[{value:!0,label:"Yes"},{value:!1,label:"No"}]},{id:"showAsSwatches",label:"Use Option Swatches",type:"swatchesLink",hide:!0,default:!0,hyperlinkInfo:{beforeText:"Go to ",hyperlinkText:"Manage Swatches",afterText:" to configure options display as swatches",modal:"manage_swatches"}},{id:"combineFullWidth",label:"Full Width",type:"toggle",devices:{desktop:{default:!0}}},{id:"combineWidth",type:"input:unit",label:"Width",placeholder:"Auto",min:0,units:["px","%"],hide:!0,devices:{desktop:{default:"100%"}}},{id:"combineHeight",type:"input:unit",label:"Height",placeholder:"Auto",min:0,units:["px"],default:"45px"},{id:"variantPresets",label:"Use Option Swatches",type:"variant:presets",default:[{optionName:"base",optionType:"rectangle_list",presets:{...t,...e,...l,...a,...i}}],hyperlinkInfo:{modal:"manage_swatches"}},{id:"soldOutStyle",type:"select",default:"line",options:[{label:"None",value:"none"},{label:"Unclickable",value:"disable"},{label:"Cross-out",value:"line",icon:"gp-cross-out-one-line"}]}]},{id:"options",type:"group",label:"Options",controls:[{id:"layout",label:"Layout",type:"option:illustration",iconViewBox:"0 0 66 45",enableItemBackground:!0,devices:{desktop:{default:"vertical"}},options:[{label:"Vertical",value:"vertical",type:"arrange",svgName:"gp-arrange-vertical"},{label:"Horizontal",value:"horizontal",type:"arrange",svgName:"gp-arrange-horizontal"}]},{id:"column",label:"Column",type:"select",devices:{desktop:{default:1}},options:[{label:"1 column",value:1},{label:"2 columns",value:2},{label:"3 columns",value:3},{label:"4 columns",value:4}]}]},{id:"variantDisplay",type:"group",label:"Variant Display",controls:[{id:"hasPreSelected",type:"toggle",label:"hasPreSelected",default:!0},{id:"selectVariantDefault",type:"select-variant",label:"Select Default Variant",hide:!0}]},{id:"blankText",label:"Blank Option Text",type:"input",hide:!0,default:"Please select an option"},{id:"hasOnlyDefaultVariant",label:"Blank Option Text",type:"variant:default",hide:!0,default:!1}]},{id:"style",controls:[{id:"dimension",type:"group",label:"Variants Dimension",controls:[{id:"fullWidth",label:"Full Width",type:"toggle",devices:{desktop:{default:!0}}},{id:"width",type:"input:unit",label:"Width",min:0,units:["px","%"],hide:!0,devices:{desktop:{default:"100%"}}},{id:"optionSpacing",label:"Option Spacing",type:"input:unit",units:["px"],placeholder:"Auto",default:"30px"},{id:"labelGap",label:"Gap",type:"input:slider",units:["px"],ignoreMax:!0,max:40,default:"8px"}]},{id:"swatchDimension",type:"group",label:"Swatch Dimension",controls:[{id:"swatchAutoWidth",label:"Auto Width",type:"toggle",devices:{desktop:{default:!0}}},{id:"swatchWidth",type:"input:unit",label:"Width",placeholder:"Auto Width",min:0,units:["px","%"],hide:!0,devices:{desktop:{default:"80px"}}},{id:"swatchHeight",type:"input:unit",label:"Height",placeholder:"Auto Height",min:0,units:["px"],devices:{desktop:{default:"45px"}}},{id:"swatchSpacing",label:"Swatch Spacing",type:"input:unit",units:["px"],placeholder:"Auto",default:"var(--g-s-m)"},{id:"marginBottom",label:"Margin Bottom",type:"input:slider",units:["px"],ignoreMax:!0,max:40,devices:{desktop:{default:"16px"}}}]},{id:"align",label:"Align",type:"option:value",options:[{label:"Left",value:"left",type:"align",tooltip:"Align left",iconName:"gp-align-left"},{label:"Center",value:"center",type:"align",tooltip:"Align center",iconName:"gp-align-center"},{label:"Right",value:"right",type:"align",tooltip:"Align right",iconName:"gp-align-right"}],devices:{desktop:{default:"left"}}},{id:"labelGroup",type:"group",label:"Label",controls:[{id:"labelTypo",type:"typography-combo",label:"Typography",default:{type:"paragraph-2",attrs:{color:"text-2",bold:!0},custom:{fontFamily:"Assistant",letterSpacing:"0px"}},ignoreReRender:!0,hiddenSetting:{textAlign:!0}},{id:"labelColor",type:"color-picker-v2",label:"Text Color",default:"text-2"}]},{id:"labelGroup",type:"group",label:"Option Value",controls:[{id:"optionTypo",type:"typography-v2",label:"Typography",default:{type:"paragraph-2"},hiddenSetting:{},ignoreReRender:!0}]},{id:"behavior-state",type:"behavior-state",label:"Option Value",controls:[{id:"optionBgColor",type:"color-picker-v2",label:"Background Color",default:{normal:"#FFFFFF"},compoDefaultValue:{normal:"#FFFFFF",hover:"highlight",active:"highlight"},state:{active:!0,hover:!0,normal:!0}},{id:"optionTextColor",type:"color-picker-v2",label:"Text Color",default:{normal:"text-2"},compoDefaultValue:{normal:"text-2",active:"text-3",hover:"text-3"},state:{active:!0,hover:!0,normal:!0}},{id:"optionBorder",type:"border",label:"Border",default:{normal:{borderType:"style-2",border:"solid",color:"line-2",isCustom:!1,width:"1px 1px 1px 1px",borderWidth:"1px"},active:{borderType:"style-3",border:"solid",color:"line-3",isCustom:!1,width:"2px 2px 2px 2px",borderWidth:"2px"},hover:{borderType:"style-3",border:"solid",color:"line-3",isCustom:!1,width:"1px 1px 1px 1px",borderWidth:"1px"}},compoDefaultValue:{normal:{borderType:"style-2",border:"solid",color:"line-2"}},state:{active:!0,hover:!0,normal:!0}},{id:"optionRounded",type:"radius-preset",label:"Border Radius",default:{normal:{btrr:"0px",bblr:"0px",bbrr:"0px",btlr:"0px",radiusType:"none"},hover:{btrr:"0px",bblr:"0px",bbrr:"0px",btlr:"0px",radiusType:"none"},active:{btrr:"0px",bblr:"0px",bbrr:"0px",btlr:"0px",radiusType:"none"}},state:{active:!0,hover:!0,normal:!0}},{id:"optionShadow",type:"shadow-v2",label:"Shadow",hideOnState:{normal:!0,hover:!0,active:!0},default:{normal:{type:"shadow-1",distance:"4px",blur:"4px",spread:"0px",color:"rgba(18, 18, 18, 0.20)",angle:45,enable:!1},hover:{type:"shadow-1",distance:"4px",blur:"12px",spread:"0px",color:"rgba(18, 18, 18, 0.20)",angle:45,enable:!1},active:{type:"shadow-1",distance:"4px",blur:"4px",spread:"0px",color:"rgba(18, 18, 18, 0.20)",angle:45,enable:!1}},compoDefaultValue:{hover:{type:"shadow-1",enable:!0,distance:"4px",blur:"4px",spread:"0px",color:"rgba(18, 18, 18, 0.20)",angle:45},normal:{type:"shadow-1",enable:!0,distance:"4px",blur:"4px",spread:"0px",color:"rgba(18, 18, 18, 0.20)",angle:45},active:{type:"shadow-1",enable:!0,distance:"4px",blur:"4px",spread:"0px",color:"rgba(18, 18, 18, 0.20)",angle:45}},state:{normal:!0,hover:!0,active:!0}}]},{id:"dropdownItemWidth",type:"segment",label:"Dropdown Width",devices:{desktop:{default:"fill"},mobile:{default:"fill"},tablet:{default:"fill"}},options:[{label:"Fill",value:"fill"},{label:"Fixed",value:"fixed"}]},{id:"fixedDropdownWidth",type:"input:unit",label:"Fixed Width",units:["px","%"],devices:{desktop:{default:"240px"},mobile:{default:"240px"},tablet:{default:"240px"}}},{id:"swatchItemWidth",type:"segment",label:"Swatch Width",devices:{desktop:{default:"auto"}},options:[{label:"Fill",value:"auto"},{label:"Fixed",value:"fixed"}]},{id:"fixedDropdownWidth",type:"input:unit",label:"Fixed Width",units:["px","%"],devices:{desktop:{default:"240px"}}}]}];export{ProductVariantSettings};
@@ -1,2 +1,2 @@
1
1
  'use client';
2
- import{jsxs as e,Fragment as o,jsx as t}from"react/jsx-runtime";import{useEditorMode as m}from"@gem-sdk/core";import r from"../../image/components/NextImage.js";import{useLiteHtml5Embed as s}from"../hooks/useLiteHtml5Embed.js";import{listSourceVideoSupport as i}from"../common/helpers.js";import{createAttr as l,createClass as a,createStyle as c}from"@gem-sdk/system";import{getWrapThumbnailClasses as n,getButtonThumbnailClasses as d,getImageThumbnailClasses as p,getVideoYoutubeClasses as y}from"../common/classes.js";import{getPreloadImageStyle as f}from"../common/styles.js";import{getHtml5Attr as h}from"../common/attrs.js";let HTML5Embed=u=>{let b=m(),g="edit"!==b,{thumbnail:j,muted:v,autoplay:L,loop:N,controls:x,src:k,style:C,title:w,className:E,lazy:H,preload:I}=u,{playVideoAndTurnOffThumbnail:M,videoRef:T,showThumbnail:V}=s(L,v,k),P=!g&&L&&v&&!!j,z=!H&&u.isVideoComponent&&g,B=i.some(e=>k?.endsWith(e)),W=!j||!V,Z=z&&!g?k:void 0,q=l({...h({title:w,autoplay:L,preloadThumbnail:P,offLazyLoad:z,src:k,thumbnail:j})}),A=a({...n(W)}),D=c({...f()}),F=a({...d()}),G=a({...p()}),J=a({...y(E,z)}),K=()=>P?t(r,{src:j,alt:w,priority:!0,style:D}):"",O=()=>e("div",{role:"presentation",style:C,className:A,onClick:M,children:[t(r,{id:"video-thumbnail",src:j??"",alt:"Video Thumbnail",priority:I&&g,className:G,enableLazyLoadImage:!0}),t("button",{type:"button",className:F,"aria-label":"Play",children:t("svg",{className:"gp-w-5 gp-text-white",viewBox:"0 0 24 24",children:t("path",{fill:"currentColor",d:"M5 5.274c0-1.707 1.826-2.792 3.325-1.977l12.362 6.726c1.566.853 1.566 3.101 0 3.953L8.325 20.702C6.826 21.518 5 20.432 5 18.726V5.274Z"})})})]});return e(o,{children:[K(),t("video",{ref:T,...q,style:C,className:J,controls:x,loop:N,muted:v,autoPlay:L,playsInline:!0,src:Z,children:B&&t("source",{"data-src":k,src:k,type:"video/mp4"})}),!W&&O()]})};export{HTML5Embed as default};
2
+ import{jsxs as e,Fragment as o,jsx as t}from"react/jsx-runtime";import{useEditorMode as m}from"@gem-sdk/core";import r from"../../image/components/NextImage.js";import{useLiteHtml5Embed as s}from"../hooks/useLiteHtml5Embed.js";import{listSourceVideoSupport as i}from"../common/helpers.js";import{createAttr as l,createClass as a,createStyle as c}from"@gem-sdk/system";import{getWrapThumbnailClasses as n,getButtonThumbnailClasses as d,getImageThumbnailClasses as p,getVideoYoutubeClasses as y}from"../common/classes.js";import{getPreloadImageStyle as f}from"../common/styles.js";import{getHtml5Attr as h}from"../common/attrs.js";let HTML5Embed=u=>{let g=m(),b="edit"!==g,{thumbnail:j,muted:v,autoplay:x,loop:L,controls:N,src:k,style:C,title:T,className:w,lazy:E,preload:H,poster:I}=u,{playVideoAndTurnOffThumbnail:M,videoRef:P,showThumbnail:V}=s(x,v,k),z=!b&&x&&v&&!!j,B=!E&&u.isVideoComponent&&b,W=i.some(e=>k?.endsWith(e)),Z=!j||!V,q=B&&!b?k:void 0,A=l({...h({title:T,autoplay:x,preloadThumbnail:z,offLazyLoad:B,src:k,thumbnail:j})}),D=a({...n(Z)}),F=c({...f()}),G=a({...d()}),J=a({...p()}),K=a({...y(w,B)}),O=()=>z?t(r,{src:j,alt:T,priority:!0,style:F}):"",Q=()=>e("div",{role:"presentation",style:C,className:D,onClick:M,children:[t(r,{id:"video-thumbnail",src:j??"",alt:I?.altText,title:I?.imageTitle,priority:H&&b,className:J,enableLazyLoadImage:!0}),t("button",{type:"button",className:G,"aria-label":"Play",children:t("svg",{className:"gp-w-5 gp-text-white",viewBox:"0 0 24 24",children:t("path",{fill:"currentColor",d:"M5 5.274c0-1.707 1.826-2.792 3.325-1.977l12.362 6.726c1.566.853 1.566 3.101 0 3.953L8.325 20.702C6.826 21.518 5 20.432 5 18.726V5.274Z"})})})]});return e(o,{children:[O(),t("video",{ref:P,...A,style:C,className:K,controls:N,loop:L,muted:v,autoPlay:x,playsInline:!0,src:q,children:W&&t("source",{"data-src":k,src:k,type:"video/mp4"})}),!Z&&Q()]})};export{HTML5Embed as default};
@@ -1,5 +1,5 @@
1
- import{template as e,RenderIf as t,isLocalEnv as o,baseAssetURL as s}from"@gem-sdk/core";import i from"../../image/components/NextImage.liquid.js";import{getSettingPreloadData as r}from"../../helpers.js";import{createAttr as n,createClass as a,createStyle as l,If as d}from"@gem-sdk/system";import{getWrapThumbnailClasses as m,getButtonThumbnailClasses as u,getImageThumbnailClasses as c,getVideoYoutubeClasses as p}from"../common/classes.js";import{getPreloadImageStyle as v}from"../common/styles.js";import{getHtml5Attr as y}from"../common/attrs.js";let HTML5Embed=$=>{let g=`gp-video-${$.uid}`,{thumbnail:f,muted:h,autoplay:b,loop:L,controls:E,src:A,style:w,title:P,className:T,lazy:j,preload:I}=$,V=b&&h&&!!f,k=!j&&$.isVideoComponent,M=A.endsWith(".mp4"),S=!f||b&&h,x=k?A:void 0,B=n({...y({videoId:g,title:P,autoplay:b,preloadThumbnail:V,offLazyLoad:k,src:A,thumbnail:f})}),C=a({...m(S)}),N=l({...v()}),z=a({...u()}),G=a({...c()}),H=a({...p(T,k)}),O=()=>V?e`${i({src:f,alt:P,priority:I,enableLazyLoadImage:!0,style:N})}
2
- ${d(b,`<script>
1
+ import{template as e,RenderIf as t,isLocalEnv as o,baseAssetURL as s}from"@gem-sdk/core";import i from"../../image/components/NextImage.liquid.js";import{getSettingPreloadData as r}from"../../helpers.js";import{createAttr as l,createClass as a,createStyle as n,If as m}from"@gem-sdk/system";import{getWrapThumbnailClasses as d,getButtonThumbnailClasses as c,getImageThumbnailClasses as u,getVideoYoutubeClasses as p}from"../common/classes.js";import{getPreloadImageStyle as v}from"../common/styles.js";import{getHtml5Attr as y}from"../common/attrs.js";let HTML5Embed=g=>{let $=`gp-video-${g.uid}`,{thumbnail:f,muted:h,autoplay:L,loop:b,controls:E,src:A,style:w,title:T,className:P,lazy:j,preload:I,poster:V}=g,k=L&&h&&!!f,x=!j&&g.isVideoComponent,M=A.endsWith(".mp4"),S=!f||L&&h,B=x?A:void 0,C=l({...y({videoId:$,title:T,autoplay:L,preloadThumbnail:k,offLazyLoad:x,src:A,thumbnail:f})}),N=a({...d(S)}),z=n({...v()}),G=a({...c()}),H=a({...u()}),O=a({...p(P,x)}),_=()=>k?e`${i({src:f,alt:T,priority:I,enableLazyLoadImage:!0,style:z})}
2
+ ${m(L,`<script>
3
3
  document.addEventListener("DOMContentLoaded", (event) => {
4
4
  const eventList = ["keydown", "mousemove", "wheel", "touchmove", "touchstart", "touchend"];
5
5
  const autoLoadTimeout = setTimeout(runAutoPlayVideo, 0);
@@ -14,20 +14,20 @@ import{template as e,RenderIf as t,isLocalEnv as o,baseAssetURL as s}from"@gem-s
14
14
  });
15
15
  }
16
16
  function runAutoPlayVideo() {
17
- document.getElementById('${g}').setAttribute('autoplay','true');
18
- document.getElementById('${g}').setAttribute('playsinline','true');
19
- document.getElementById('${g}').play();
17
+ document.getElementById('${$}').setAttribute('autoplay','true');
18
+ document.getElementById('${$}').setAttribute('playsinline','true');
19
+ document.getElementById('${$}').play();
20
20
  }
21
21
  });
22
22
  </script>`)}
23
- `:"",_=()=>e`
23
+ `:"",q=()=>e`
24
24
  <div
25
25
  role="presentation"
26
26
  style="${w}"
27
- class="${C}"
27
+ class="${N}"
28
28
  >
29
- ${i({id:"video-thumbnail",src:f??"",alt:"Video Thumbnail",className:G,priority:I,enableLazyLoadImage:!0})}}
30
- <button type="button" class="${z}" aria-label="Play">
29
+ ${i({id:"video-thumbnail",src:f??"",alt:V?.altText,title:V?.imageTitle,className:H,priority:I,enableLazyLoadImage:!0})}}
30
+ <button type="button" class="${G}" aria-label="Play">
31
31
  <svg class="gp-w-5 gp-text-white" viewBox="0 0 24 24">
32
32
  <path
33
33
  fill="currentColor"
@@ -38,21 +38,21 @@ import{template as e,RenderIf as t,isLocalEnv as o,baseAssetURL as s}from"@gem-s
38
38
  </div>
39
39
  `;return e`
40
40
  <gp-lite-html5-embed>
41
- ${O()}
41
+ ${_()}
42
42
  <video
43
- ${{...B}}
43
+ ${{...C}}
44
44
  style="${w}"
45
- class="${H}"
45
+ class="${O}"
46
46
  ${E?"controls":void 0}
47
- ${L?"loop":void 0}
47
+ ${b?"loop":void 0}
48
48
  ${h?"muted":void 0}
49
- ${b?"autoplay":void 0}
49
+ ${L?"autoplay":void 0}
50
50
  playsinline
51
- src="${x}"
51
+ src="${B}"
52
52
  >
53
- ${d(M,`<source data-src="${A}" src="${x}" type="video/mp4"></source>`)}
53
+ ${m(M,`<source data-src="${A}" src="${B}" type="video/mp4"></source>`)}
54
54
  </video>
55
- ${d(!S,_())}
55
+ ${m(!S,q())}
56
56
  </gp-lite-html5-embed>
57
57
  ${t(o,`<script ${r('class="gps-link" delay',"src")}="{{ 'gp-lite-html5-embed.js' | asset_url }}" defer="defer"></script>`,`<script ${r('class="gps-link" delay',"src")}="${s}/assets-v2/gp-lite-html5-embed.js?v={{ shop.metafields.GEMPAGES.ASSETS_VERSION }}" defer="defer"></script>`)}
58
58
  `};export{HTML5Embed as default};
@@ -1,2 +1,2 @@
1
1
  'use client';
2
- import{jsx as e,Fragment as t,jsxs as r}from"react/jsx-runtime";import{useLiteVimeoEmbed as o}from"../hooks/useLiteVimeoEmbed.js";import{createStyle as m,createClass as l}from"@gem-sdk/system";import{getArticleVimeoClasses as a,getImageVimeoClasses as i,getButtonVimeoClasses as s,getIframeVimeoClasses as c}from"../common/classes.js";import{getIframeVimeoStyle as n,getArticleVimeoStyle as p}from"../common/styles.js";import{getVimeoParams as d}from"../common/helpers.js";import u from"../../image/components/NextImage.js";let LiteVimeoEmbed=f=>{let{title:h,lazy:y,aspectRatio:b,autoplay:g,muted:j}=f,{iframeSrc:N,videoId:w}=d(f),x=g&&j&&!y,{addIframe:k,thumbnail:C,iframe:L,originRatio:V}=o(y,w),E=f.thumbnail||C,v=m({...n(b)}),B=m({...p(b,E,V)}),P=l({...a(E,b)}),F=l({...i(L,x)}),I=l({...s(L)}),M=l({...c()});return e(t,{children:r("article",{"aria-hidden":!0,className:P,"data-title":h,style:B,onClick:k,children:[e(u,{src:E,alt:"Poster",className:F,onClick:k}),e("button",{type:"button",className:I,"aria-label":"Play",children:e("svg",{className:"gp-w-5 gp-text-white",viewBox:"0 0 24 24",children:e("path",{fill:"currentColor",d:"M5 5.274c0-1.707 1.826-2.792 3.325-1.977l12.362 6.726c1.566.853 1.566 3.101 0 3.953L8.325 20.702C6.826 21.518 5 20.432 5 18.726V5.274Z"})})}),L&&e("iframe",{style:v,title:h,frameBorder:"0",allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,src:N,className:M})]})})};export{LiteVimeoEmbed as default};
2
+ import{jsx as e,Fragment as t,jsxs as m}from"react/jsx-runtime";import{useLiteVimeoEmbed as r}from"../hooks/useLiteVimeoEmbed.js";import{createStyle as l,createClass as o}from"@gem-sdk/system";import{getArticleVimeoClasses as i,getImageVimeoClasses as a,getButtonVimeoClasses as s,getIframeVimeoClasses as c}from"../common/classes.js";import{getIframeVimeoStyle as n,getArticleVimeoStyle as p}from"../common/styles.js";import{getVimeoParams as d}from"../common/helpers.js";import u from"../../image/components/NextImage.js";let LiteVimeoEmbed=f=>{let{title:h,lazy:y,aspectRatio:g,autoplay:b,muted:j,poster:x}=f,{iframeSrc:N,videoId:w}=d(f),k=b&&j&&!y,{addIframe:C,thumbnail:L,iframe:V,originRatio:E}=r(y,w),v=f.thumbnail||L,B=l({...n(g)}),T=l({...p(g,v,E)}),F=o({...i(v,g)}),I=o({...a(V,k)}),M=o({...s(V)}),P=o({...c()});return e(t,{children:m("article",{"aria-hidden":!0,className:F,"data-title":h,style:T,onClick:C,children:[e(u,{src:v,alt:x?.altText,title:x?.imageTitle,className:I,onClick:C}),e("button",{type:"button",className:M,"aria-label":"Play",children:e("svg",{className:"gp-w-5 gp-text-white",viewBox:"0 0 24 24",children:e("path",{fill:"currentColor",d:"M5 5.274c0-1.707 1.826-2.792 3.325-1.977l12.362 6.726c1.566.853 1.566 3.101 0 3.953L8.325 20.702C6.826 21.518 5 20.432 5 18.726V5.274Z"})})}),V&&e("iframe",{style:B,title:h,frameBorder:"0",allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,src:N,className:P})]})})};export{LiteVimeoEmbed as default};
@@ -1,13 +1,13 @@
1
- import{template as e,RenderIf as t,isLocalEnv as s,baseAssetURL as r}from"@gem-sdk/core";import{getSettingPreloadData as i}from"../../helpers.js";import{createStateOrContext as l,createStyle as m,createClass as a,If as o}from"@gem-sdk/system";import{getArticleVimeoClasses as c,getImageVimeoClasses as p,getButtonVimeoClasses as d,getIframeVimeoClasses as f}from"../common/classes.js";import{getIframeVimeoStyle as n,getArticleVimeoStyle as g}from"../common/styles.js";import{getVimeoParams as y}from"../common/helpers.js";import $ from"../../image/components/NextImage.liquid.js";let LiteVimeoEmbed=b=>{let{title:u,id:v,lazy:h,aspectRatio:j,autoplay:S,muted:E,preload:w,thumbnailLink:L}=b,{iframeSrc:k}=y(b),x=S&&E&&!h,I=!h,N=b.thumbnail,V=l({id:v,thumbnail:L,lazy:h,iframeSrc:k,title:u,autoplay:S,muted:E,style:b?.vimeoStyleIframe||""}),A=m({...n(j)}),C=m({...g(j,"")}),G=a({...c(N,j)}),M=a({...p(I,x)}),O=a({...d(I)}),P=a({...f()});return e`
2
- <gp-lite-vimeo-embed gp-data='${JSON.stringify(V)}'>
1
+ import{template as e,RenderIf as t,isLocalEnv as s,baseAssetURL as r}from"@gem-sdk/core";import{getSettingPreloadData as i}from"../../helpers.js";import{createStateOrContext as l,createStyle as m,createClass as a,If as o}from"@gem-sdk/system";import{getArticleVimeoClasses as c,getImageVimeoClasses as p,getButtonVimeoClasses as d,getIframeVimeoClasses as f}from"../common/classes.js";import{getIframeVimeoStyle as n,getArticleVimeoStyle as g}from"../common/styles.js";import{getVimeoParams as y}from"../common/helpers.js";import $ from"../../image/components/NextImage.liquid.js";let LiteVimeoEmbed=b=>{let{title:u,id:v,lazy:h,aspectRatio:j,autoplay:S,muted:E,preload:w,thumbnailLink:x,poster:L}=b,{iframeSrc:k}=y(b),I=S&&E&&!h,N=!h,V=b.thumbnail,T=l({id:v,thumbnail:x,lazy:h,iframeSrc:k,title:u,autoplay:S,muted:E,style:b?.vimeoStyleIframe||""}),A=m({...n(j)}),C=m({...g(j,"")}),G=a({...c(V,j)}),M=a({...p(N,I)}),O=a({...d(N)}),P=a({...f()});return e`
2
+ <gp-lite-vimeo-embed gp-data='${JSON.stringify(T)}'>
3
3
  <article
4
4
  aria-hidden
5
5
  class="${G}"
6
6
  data-title="${u}"
7
7
  style="${C}"
8
8
  >
9
- ${$({src:N,alt:u,className:M,enableLazyLoadImage:!0,priority:w})}
10
- ${o(!I,e`
9
+ ${$({src:V,alt:L?.altText,title:L?.imageTitle,className:M,enableLazyLoadImage:!0,priority:w})}
10
+ ${o(!N,e`
11
11
  <button type="button" class="${O}" aria-label="Play">
12
12
  <svg class="gp-w-5 gp-text-white" viewBox="0 0 24 24">
13
13
  <path
@@ -16,7 +16,7 @@ import{template as e,RenderIf as t,isLocalEnv as s,baseAssetURL as r}from"@gem-s
16
16
  />
17
17
  </svg>
18
18
  </button>`)}
19
- ${o(I,e`
19
+ ${o(N,e`
20
20
  <iframe
21
21
  style="${A}"
22
22
  title="${u}"
@@ -1,2 +1,2 @@
1
1
  'use client';
2
- import{jsxs as e,jsx as t}from"react/jsx-runtime";import{useEditorMode as r}from"@gem-sdk/core";import o from"react-youtube";import{getYoutubeParams as a,isSettingLoop as s,covertStrParamsToObj as i}from"../common/helpers.js";import l from"../../image/components/NextImage.js";import{createClass as m,createStyle as c}from"@gem-sdk/system";import{getButtonYoutubeClasses as n,getImageYoutubeClasses as p,getArticleYoutubeClasses as u,getIframeYoutubeClasses as d,getYoutubeContentClasses as y}from"../common/classes.js";import{getIframeYoutubeStyle as f,getArticleYoutubeStyle as h}from"../common/styles.js";import{useLiteYoutubeEmbed as g}from"../hooks/useLiteYoutubeEmbed.js";let LiteYouTubeEmbed=b=>{let C=r(),w="edit"!==C,{style:N,preload:j,iframeClass:k,wrapperClass:v,title:L}=b,{videoId:S,paramsImp:x,posterUrl:V,iframeSrc:B}=a(b),{iframe:E,intervalPlay:I,warmConnections:M,isVideoStarted:P,videoDuration:T,addIframe:Y}=g(b,x,S),z=j&&w,D=m({...n(E)}),A=m({...p()}),F=m({...u(z||!1,v)}),H=m({...d(k)}),O=c({...f(N)}),R=c({...h(N,V)}),q=m({...y()}),G=()=>b.isHeroBanner&&s(x)?t(o,{videoId:S,title:L,iframeClassName:H,style:O,className:q,opts:{host:"https://www.youtube-nocookie.com",playerVars:{autoplay:1,state:1,controls:0,mute:1,...i(x)}},onReady:e=>{e.target.playVideo(),T.current=Math.floor(e.target.getDuration())},onStateChange:e=>{let t=e.target;P.current||(t.playVideo(),P.current=!0,I(e)),0===e.data&&(T.current=t.getCurrentTime(),t.playVideo(),I(e))}}):t("iframe",{className:H,style:O,title:L,frameBorder:"0",allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,src:B});return e("article",{"aria-hidden":!0,className:F,"data-title":L,style:R,onPointerOver:M,onClick:Y,children:[t(l,{src:V,alt:"Poster",priority:w&&j,enableLazyLoadImage:!0,className:A,isDisableAspectStyle:!0}),t("button",{type:"button","aria-label":"Play",className:D,children:e("svg",{height:"100%",version:"1.1",viewBox:"0 0 68 48",width:"100%",children:[t("path",{d:"M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z",fill:"#f00"}),t("path",{d:"M 45,24 27,14 27,34",fill:"#fff"})]})}),E&&G()]})};export{LiteYouTubeEmbed as default};
2
+ import{jsxs as e,jsx as t}from"react/jsx-runtime";import{useEditorMode as r}from"@gem-sdk/core";import o from"react-youtube";import{getYoutubeParams as a,isSettingLoop as i,covertStrParamsToObj as l}from"../common/helpers.js";import s from"../../image/components/NextImage.js";import{createClass as m,createStyle as c}from"@gem-sdk/system";import{getButtonYoutubeClasses as n,getImageYoutubeClasses as p,getArticleYoutubeClasses as u,getIframeYoutubeClasses as d,getYoutubeContentClasses as y}from"../common/classes.js";import{getIframeYoutubeStyle as f,getArticleYoutubeStyle as g}from"../common/styles.js";import{useLiteYoutubeEmbed as h}from"../hooks/useLiteYoutubeEmbed.js";let LiteYouTubeEmbed=b=>{let C=r(),w="edit"!==C,{style:N,poster:j,iframeClass:k,wrapperClass:v,title:x}=b,{preload:L}=j||{},{videoId:S,paramsImp:T,posterUrl:V,iframeSrc:B}=a(b),{iframe:E,intervalPlay:I,warmConnections:M,isVideoStarted:Y,videoDuration:z,addIframe:D}=h(b,T,S),P=L&&w,A=m({...n(E)}),F=m({...p()}),H=m({...u(P||!1,v)}),O=m({...d(k)}),R=c({...f(N)}),q=c({...g(N,V)}),G=m({...y()}),J=()=>b.isHeroBanner&&i(T)?t(o,{videoId:S,title:x,iframeClassName:O,style:R,className:G,opts:{host:"https://www.youtube-nocookie.com",playerVars:{autoplay:1,state:1,controls:0,mute:1,...l(T)}},onReady:e=>{e.target.playVideo(),z.current=Math.floor(e.target.getDuration())},onStateChange:e=>{let t=e.target;Y.current||(t.playVideo(),Y.current=!0,I(e)),0===e.data&&(z.current=t.getCurrentTime(),t.playVideo(),I(e))}}):t("iframe",{className:O,style:R,title:x,frameBorder:"0",allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,src:B});return e("article",{"aria-hidden":!0,className:H,"data-title":x,style:q,onPointerOver:M,onClick:D,children:[t(s,{src:V,alt:j?.altText,title:j?.imageTitle,priority:w&&L,enableLazyLoadImage:!0,className:F,isDisableAspectStyle:!0}),t("button",{type:"button","aria-label":"Play",className:A,children:e("svg",{height:"100%",version:"1.1",viewBox:"0 0 68 48",width:"100%",children:[t("path",{d:"M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z",fill:"#f00"}),t("path",{d:"M 45,24 27,14 27,34",fill:"#fff"})]})}),E&&J()]})};export{LiteYouTubeEmbed as default};
@@ -1,4 +1,4 @@
1
- import{template as e,RenderIf as t,isLocalEnv as s,baseAssetURL as r}from"@gem-sdk/core";import a from"../../image/components/NextImage.liquid.js";import{getSettingPreloadData as i}from"../../helpers.js";import{createStateOrContext as l,createClass as o,createStyle as m,If as p}from"@gem-sdk/system";import{getButtonYoutubeClasses as c,getImageYoutubeClasses as d,getArticleYoutubeClasses as u,getIframeYoutubeClasses as f}from"../common/classes.js";import{getIframeYoutubeStyle as y,getArticleYoutubeStyle as b}from"../common/styles.js";import{getYoutubeParams as g}from"../common/helpers.js";let LiteYouTubeEmbed=n=>{let{style:$,preload:h,iframeClass:S,wrapperClass:j,title:v}=n,E=`gp-video-${n.uid}`,{posterUrl:w,iframeSrc:z}=g(n),C=l({lazy:n.lazy,style:$,title:v,iframeSrc:z}),k=!n.lazy,L=o({...c(k)}),N=o({...d()}),x=o({...u(h||!1,j)}),A=o({...f(S)}),I=m({...y($)}),M=m({...b($,w)}),P=()=>e`
1
+ import{template as e,RenderIf as t,isLocalEnv as s,baseAssetURL as i}from"@gem-sdk/core";import l from"../../image/components/NextImage.liquid.js";import{getSettingPreloadData as r}from"../../helpers.js";import{createStateOrContext as a,createClass as o,createStyle as m,If as p}from"@gem-sdk/system";import{getButtonYoutubeClasses as c,getImageYoutubeClasses as d,getArticleYoutubeClasses as u,getIframeYoutubeClasses as f}from"../common/classes.js";import{getIframeYoutubeStyle as y,getArticleYoutubeStyle as b}from"../common/styles.js";import{getYoutubeParams as g}from"../common/helpers.js";let LiteYouTubeEmbed=n=>{let{style:$,preload:h,iframeClass:S,wrapperClass:j,title:v,poster:E}=n,w=`gp-video-${n.uid}`,{posterUrl:z,iframeSrc:C}=g(n),T=a({lazy:n.lazy,style:$,title:v,iframeSrc:C}),k=!n.lazy,x=o({...c(k)}),L=o({...d()}),N=o({...u(h||!1,j)}),A=o({...f(S)}),I=m({...y($)}),M=m({...b($,z)}),G=()=>e`
2
2
  <iframe
3
3
  id="player-wrapper-${n.uid}"
4
4
  class="${A}"
@@ -7,18 +7,18 @@ import{template as e,RenderIf as t,isLocalEnv as s,baseAssetURL as r}from"@gem-s
7
7
  frameborder="0"
8
8
  allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
9
9
  allowfullscreen
10
- src="${z}"
10
+ src="${C}"
11
11
  ></iframe>
12
12
  `;return e`
13
- <gp-lite-youtube-embed gp-data='${JSON.stringify(C)}'>
13
+ <gp-lite-youtube-embed gp-data='${JSON.stringify(T)}'>
14
14
  <article
15
15
  aria-hidden
16
- class="${x}"
16
+ class="${N}"
17
17
  data-title="${v}"
18
18
  style="${M}"
19
19
  >
20
- ${a({id:E,src:w,alt:"Poster",priority:h,enableLazyLoadImage:!0,className:N,isDisableAspectStyle:!0})}
21
- <button type="button" aria-label="Play" class="${L}">
20
+ ${l({id:w,src:z,alt:E?.altText,title:E?.imageTitle,priority:h,enableLazyLoadImage:!0,className:L,isDisableAspectStyle:!0})}
21
+ <button type="button" aria-label="Play" class="${x}">
22
22
  <svg height="100%" version="1.1" viewBox="0 0 68 48" width="100%">
23
23
  <path
24
24
  d="M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z"
@@ -27,8 +27,8 @@ import{template as e,RenderIf as t,isLocalEnv as s,baseAssetURL as r}from"@gem-s
27
27
  <path d="M 45,24 27,14 27,34" fill="#fff"></path>
28
28
  </svg>
29
29
  </button>
30
- ${p(k,P())}
30
+ ${p(k,G())}
31
31
  </article>
32
32
  </gp-lite-youtube-embed>
33
- ${t(s,`<script ${i('class="gps-link" delay',"src")}="{{ 'gp-lite-youtube-embed.js' | asset_url }}" defer="defer"></script>`,`<script ${i('class="gps-link" delay',"src")}="${r}/assets-v2/gp-lite-youtube-embed.js?v={{ shop.metafields.GEMPAGES.ASSETS_VERSION }}" defer="defer"></script>`)}
33
+ ${t(s,`<script ${r('class="gps-link" delay',"src")}="{{ 'gp-lite-youtube-embed.js' | asset_url }}" defer="defer"></script>`,`<script ${r('class="gps-link" delay',"src")}="${i}/assets-v2/gp-lite-youtube-embed.js?v={{ shop.metafields.GEMPAGES.ASSETS_VERSION }}" defer="defer"></script>`)}
34
34
  `};export{LiteYouTubeEmbed as default};
@@ -1,2 +1,2 @@
1
1
  'use client';
2
- import{jsx as e,jsxs as t}from"react/jsx-runtime";import{useEditorMode as o}from"@gem-sdk/core";import m from"next/dynamic";import{useMemo as a}from"react";import{getAspectRatioSettings as r,fallbackImageVideoUrl as l,getVimeoVideoId as i,getYoutubeVideoId as s,youtubeVideoRegex as d,parseTimeVideo as p}from"../common/helpers.js";import{createAttr as c,createStyle as n,createClass as u}from"@gem-sdk/system";import{getAttr as y}from"../common/attrs.js";import{getStyle as b,getYoutubeStyle as f,getVimeoStyle as j,getHtml5Style as E,getFallBackImageStyle as L}from"../common/styles.js";import{getFallbackImageClasses as V,getClasses as h}from"../common/classes.js";import k from"../../image/components/NextImage.js";let HTML5Embed=m(()=>import("./HTML5Embed.js")),LiteVimeoEmbed=m(()=>import("./LiteVimeoEmbed.js")),LiteYouTubeEmbed=m(()=>import("./LiteYouTubeEmbed.js")),Video=({className:m,setting:z,style:v,builderAttrs:N,builderProps:T,advanced:g,children:x})=>{let C=o(),{youtubeUrl:F="",vimeoUrl:H="",html5Url:M,autoplay:R=!1,loopVideo:Y=!1,controls:$=!1,mute:w,poster:I,startTime:O,endTime:S}=z??{},{cssClass:q}=g??{},A=I?.src,B="edit"!==C,D=r(z?.ratioOptions,z?.aspectRatio),G=c({...y({uid:T?.uid||""})}),J=n({...b(z,v)}),K=n({...f(z)}),P=n({...j(z)}),Q=n({...E(z)}),U=n({...L(z?.aspectRatio)}),W=u({...V()}),X=u({...h({className:m,builderProps:T,isInstantLP:B,advancedCssClass:q})}),Z=a(()=>{switch(z?.type){case"youtube":{let t=s(F);if(!d.test(F)||!t)return e(k,{src:l,alt:"Fallback video",className:W,style:U});let o="";return Y&&(o+=`&loop=1&playlist=${t}`),O&&(o+=`&start=${p(O)}`),S&&(o+=`&end=${p(S)}`),e(LiteYouTubeEmbed,{id:t,autoplay:R,title:"Video",controls:$,params:o,adNetwork:!1,noCookie:!0,muted:!w,thumbnail:A,lazy:z.lazy??!0,preload:I?.preload,style:K})}case"vimeo":{let t=i(H);if(!t)return e(k,{src:l,alt:"Fallback video",className:W,style:U});return e(LiteVimeoEmbed,{muted:!w,loop:Y,controls:$,thumbnail:A,autoplay:R,lazy:z.lazy??!0,id:t,title:"Video",aspectRatio:D,preload:I?.preload,vimeoStyleIframe:P})}case"html5":if(!M)return e(k,{src:l,alt:"Fallback video",className:W,style:U});return e(HTML5Embed,{muted:!w,loop:Y,controls:$,autoplay:R,src:M,thumbnail:A,title:"Video",preload:I?.preload,lazy:z.lazy??!0,isVideoComponent:!0,style:Q})}},[D,R,Y,w,$,H,F,M,S,O,z?.type,z?.lazy,A,I?.preload,P,K,Q]);return t("div",{...N,...G,className:X,style:J,children:[Z,x]})};export{Video as default};
2
+ import{jsx as e,jsxs as t}from"react/jsx-runtime";import{useEditorMode as o}from"@gem-sdk/core";import m from"next/dynamic";import{useMemo as r}from"react";import{getAspectRatioSettings as a,fallbackImageVideoUrl as s,getVimeoVideoId as l,getYoutubeVideoId as i,youtubeVideoRegex as d,parseTimeVideo as p}from"../common/helpers.js";import{createAttr as c,createStyle as n,createClass as u}from"@gem-sdk/system";import{getAttr as y}from"../common/attrs.js";import{getStyle as b,getYoutubeStyle as f,getVimeoStyle as j,getHtml5Style as E,getFallBackImageStyle as L}from"../common/styles.js";import{getFallbackImageClasses as V,getClasses as h}from"../common/classes.js";import k from"../../image/components/NextImage.js";let HTML5Embed=m(()=>import("./HTML5Embed.js")),LiteVimeoEmbed=m(()=>import("./LiteVimeoEmbed.js")),LiteYouTubeEmbed=m(()=>import("./LiteYouTubeEmbed.js")),Video=({className:m,setting:z,style:v,builderAttrs:N,builderProps:T,advanced:g,children:x})=>{let C=o(),{youtubeUrl:F="",vimeoUrl:H="",html5Url:M,autoplay:R=!1,loopVideo:Y=!1,controls:$=!1,mute:w,poster:I,startTime:O,endTime:S}=z??{},{cssClass:q}=g??{},A=I?.src,B="edit"!==C,D=a(z?.ratioOptions,z?.aspectRatio),G=c({...y({uid:T?.uid||""})}),J=n({...b(z,v)}),K=n({...f(z)}),P=n({...j(z)}),Q=n({...E(z)}),U=n({...L(z?.aspectRatio)}),W=u({...V()}),X=u({...h({className:m,builderProps:T,isInstantLP:B,advancedCssClass:q})}),Z=r(()=>{switch(z?.type){case"youtube":{let t=i(F);if(!d.test(F)||!t)return e(k,{src:s,alt:"Fallback video",className:W,style:U});let o="";return Y&&(o+=`&loop=1&playlist=${t}`),O&&(o+=`&start=${p(O)}`),S&&(o+=`&end=${p(S)}`),e(LiteYouTubeEmbed,{id:t,autoplay:R,title:"Video",controls:$,params:o,adNetwork:!1,noCookie:!0,muted:!w,thumbnail:A,lazy:z.lazy??!0,poster:I,preload:I?.preload,style:K})}case"vimeo":{let t=l(H);if(!t)return e(k,{src:s,alt:"Fallback video",className:W,style:U});return e(LiteVimeoEmbed,{muted:!w,loop:Y,controls:$,thumbnail:A,autoplay:R,lazy:z.lazy??!0,id:t,title:"Video",aspectRatio:D,poster:I,preload:I?.preload,vimeoStyleIframe:P})}case"html5":if(!M)return e(k,{src:s,alt:"Fallback video",className:W,style:U});return e(HTML5Embed,{muted:!w,loop:Y,controls:$,autoplay:R,src:M,thumbnail:A,title:"Video",preload:I?.preload,lazy:z.lazy??!0,isVideoComponent:!0,style:Q,poster:I})}},[D,R,Y,w,$,H,F,M,S,O,z?.type,z?.lazy,A,P,K,Q,U,W,I]);return t("div",{...N,...G,className:X,style:J,children:[Z,x]})};export{Video as default};
@@ -1 +1 @@
1
- let SettingUIV2=[{label:{en:"Video source"},controls:[{label:{en:"Type"},setting:{id:"type"}},{label:{en:"Video link"},conditionDisplay:"type === 'youtube'",setting:{id:"youtubeUrl"}},{label:{en:"Video link"},conditionDisplay:"type === 'vimeo'",setting:{id:"vimeoUrl"}},{label:{en:"Video link"},conditionDisplay:"type === 'html5'",setting:{id:"html5Url"}},{label:{en:"Thumbnail"},setting:{id:"poster"},options:{updateFields:[{field:"preload",settingId:"preload"}]},controlChangeTrigger:{settings:[{action:{controlId:"preload",valueFromField:"preload",groupType:"setting",controlType:"setting",removeDevice:!0}}],options:{noRecordHistory:!0}}}],moreSettings:{type:"collapse",controls:[{conditionDisplay:"type === 'youtube'",label:{en:"Start video at"},setting:{id:"startTime"}},{conditionDisplay:"type === 'youtube'",label:{en:"End video at"},setting:{id:"endTime"}}]}},{label:{en:"Video configure"},controls:[{label:{en:"Control bar"},setting:{id:"controls"}},{label:{en:"Sound"},setting:{id:"mute"}},{label:{en:"Lazy load"},setting:{id:"lazy"}}],moreSettings:{type:"collapse",controls:[{label:{en:"Autoplay"},setting:{id:"autoplay"},options:{disableMessage:"YouTube videos will not autoplay when lazy load is enabled"},conditionEnable:"type === 'html5' || (type !== 'html5' && lazy != true)"},{label:{en:"Loop video"},setting:{id:"loopVideo"}}]}},{label:{en:"Size"},controls:[{label:{en:"Frame"},setting:{id:"aspectRatio"}},{conditionDisplay:"aspectRatio === 'custom'",setting:{id:"ratioOptions"},layout:"vertical"}]},{label:{en:"Shape"},controls:[{label:{en:"Border"},setting:{id:"border",state:"normal"}},{label:{en:"Corner"},setting:{id:"rounded",state:"normal"}},{label:{en:"Shadow"},setting:{id:"boxShadow",state:"normal"},options:{updateFields:[{field:"normal.enable",settingId:"hasBoxShadow",state:"normal"}]},controlChangeTrigger:{settings:[{condition:"boxShadow.normal.enable === true",source:["boxShadow","hasBoxShadow"],action:{controlId:"hasBoxShadow",groupType:"advanced",controlType:"advanced",state:"normal",newValue:!0}},{condition:"boxShadow.normal.enable === false",source:["boxShadow","hasBoxShadow"],action:{controlId:"hasBoxShadow",groupType:"advanced",controlType:"advanced",state:"normal",newValue:!1}}],options:{noRecordHistory:!0}}}]}];export{SettingUIV2};
1
+ let SettingUIV2=[{label:{en:"Video source"},controls:[{label:{en:"Type"},setting:{id:"type"}},{label:{en:"Video link"},conditionDisplay:"type === 'youtube'",setting:{id:"youtubeUrl"}},{label:{en:"Video link"},conditionDisplay:"type === 'vimeo'",setting:{id:"vimeoUrl"}},{label:{en:"Video link"},conditionDisplay:"type === 'html5'",setting:{id:"html5Url"}},{label:{en:"Thumbnail"},setting:{id:"poster"},options:{updateFields:[{field:"preload",settingId:"preload"}]},controlChangeTrigger:{settings:[{action:{controlId:"preload",valueFromField:"preload",groupType:"setting",controlType:"setting",removeDevice:!0}}],options:{noRecordHistory:!0}}}],moreSettings:{type:"collapse",controls:[{conditionDisplay:"type === 'youtube'",label:{en:"Start at"},setting:{id:"startTime"}},{conditionDisplay:"type === 'youtube'",label:{en:"End at"},setting:{id:"endTime"}}]}},{label:{en:"Video configure"},controls:[{label:{en:"Control bar"},setting:{id:"controls"}},{label:{en:"Sound"},setting:{id:"mute"}},{label:{en:"Lazy load"},setting:{id:"lazy"}}],moreSettings:{type:"collapse",controls:[{label:{en:"Autoplay"},setting:{id:"autoplay"},options:{disableMessage:"YouTube videos will not autoplay when lazy load is enabled"},conditionEnable:"type === 'html5' || (type !== 'html5' && lazy != true)"},{label:{en:"Loop video"},setting:{id:"loopVideo"}}]}},{label:{en:"Size"},controls:[{label:{en:"Frame"},setting:{id:"aspectRatio"}},{conditionDisplay:"aspectRatio === 'custom'",setting:{id:"ratioOptions"},layout:"vertical"}]},{label:{en:"Shape"},controls:[{label:{en:"Border"},setting:{id:"border",state:"normal"}},{label:{en:"Corner"},setting:{id:"rounded",state:"normal"}},{label:{en:"Shadow"},setting:{id:"boxShadow",state:"normal"},options:{updateFields:[{field:"normal.enable",settingId:"hasBoxShadow",state:"normal"}]},controlChangeTrigger:{settings:[{condition:"boxShadow.normal.enable === true",source:["boxShadow","hasBoxShadow"],action:{controlId:"hasBoxShadow",groupType:"advanced",controlType:"advanced",state:"normal",newValue:!0}},{condition:"boxShadow.normal.enable === false",source:["boxShadow","hasBoxShadow"],action:{controlId:"hasBoxShadow",groupType:"advanced",controlType:"advanced",state:"normal",newValue:!1}}],options:{noRecordHistory:!0}}}]}];export{SettingUIV2};