@gem-sdk/components 23.1.3 → 24.0.0-dev.11

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 (517) hide show
  1. package/dist/cjs/article/components/ArticleImage.js +1 -1
  2. package/dist/cjs/article/components/ArticleImage.liquid.js +6 -6
  3. package/dist/cjs/article/components/ArticleList.js +1 -1
  4. package/dist/cjs/article/index.js +1 -1
  5. package/dist/cjs/article/settings/configs/article-image/settings.js +1 -1
  6. package/dist/cjs/article/settings/configs/article-image/ui-v2.js +1 -1
  7. package/dist/cjs/builder.js +1 -1
  8. package/dist/cjs/button/common/helpers.js +2 -2
  9. package/dist/cjs/cart/components/CartList.js +1 -1
  10. package/dist/cjs/cart/index.js +1 -1
  11. package/dist/cjs/collection/index.js +1 -1
  12. package/dist/cjs/common/components/Loading.js +1 -1
  13. package/dist/cjs/common/const.js +1 -1
  14. package/dist/cjs/common/helpers.js +1 -0
  15. package/dist/cjs/common/hooks/useElementWidth.js +1 -0
  16. package/dist/cjs/common/hooks/useLoadingProgress.js +1 -0
  17. package/dist/cjs/grid/components/row/Row.liquid.js +12 -12
  18. package/dist/cjs/grid/components/section/Section.js +1 -1
  19. package/dist/cjs/grid/index.js +1 -1
  20. package/dist/cjs/header/components/kind/basic/index.js +1 -1
  21. package/dist/cjs/header/components/kind/modern/index.js +1 -1
  22. package/dist/cjs/header/index.js +1 -1
  23. package/dist/cjs/hero-banner/common/styles.js +1 -1
  24. package/dist/cjs/hero-banner/components/HeroBannerItem.js +1 -1
  25. package/dist/cjs/hero-banner/components/HeroBannerItem.liquid.js +5 -5
  26. package/dist/cjs/hero-banner/index.js +1 -1
  27. package/dist/cjs/image/common/adaptiveSources.js +1 -0
  28. package/dist/cjs/image/common/attrs.js +1 -1
  29. package/dist/cjs/image/common/classes.js +1 -1
  30. package/dist/cjs/image/common/helpers.js +2 -2
  31. package/dist/cjs/image/common/liquidSrcset.js +1 -0
  32. package/dist/cjs/image/common/listContext.js +1 -0
  33. package/dist/cjs/image/common/listImageContext.js +1 -0
  34. package/dist/cjs/image/common/sizes.js +1 -0
  35. package/dist/cjs/image/common/srcset.js +1 -0
  36. package/dist/cjs/image/components/AdaptiveImage.js +1 -1
  37. package/dist/cjs/image/components/AdaptiveImage.liquid.js +10 -12
  38. package/dist/cjs/image/components/Image.js +1 -1
  39. package/dist/cjs/image/components/Image.liquid.js +10 -10
  40. package/dist/cjs/image/components/NextImage.js +1 -1
  41. package/dist/cjs/image/components/NextImage.liquid.js +4 -5
  42. package/dist/cjs/image/constants.js +1 -1
  43. package/dist/cjs/image/index.js +1 -1
  44. package/dist/cjs/image/settings/configs/settings.js +1 -1
  45. package/dist/cjs/image/settings/configs/ui-v2.js +1 -1
  46. package/dist/cjs/image-comparison/common/attrs.js +1 -1
  47. package/dist/cjs/image-comparison/components/CompareImage.js +1 -1
  48. package/dist/cjs/image-comparison/components/CompareImage.liquid.js +14 -14
  49. package/dist/cjs/image-comparison/components/ImageComparison.liquid.js +3 -3
  50. package/dist/cjs/image-comparison/index.js +1 -1
  51. package/dist/cjs/image-comparison/settings/configs/settings.js +1 -1
  52. package/dist/cjs/image-comparison/settings/configs/ui-v2.js +1 -1
  53. package/dist/cjs/index.js +1 -1
  54. package/dist/cjs/post-purchase/callout-banner/index.js +1 -1
  55. package/dist/cjs/post-purchase/product/components/ProductPrice.js +1 -1
  56. package/dist/cjs/post-purchase/product/components/ProductQuantity.js +1 -1
  57. package/dist/cjs/post-purchase/product/components/product-offer/components/ProductOffer.js +1 -1
  58. package/dist/cjs/post-purchase/product/components/product-offer/helpers/getOfferErrorText.js +1 -0
  59. package/dist/cjs/post-purchase/product/components/product-offer/hooks/useProductOfferData.js +1 -1
  60. package/dist/cjs/post-purchase/product/hooks/useHandleQuantity.js +1 -1
  61. package/dist/cjs/post-purchase/product/index.js +1 -1
  62. package/dist/cjs/post-purchase/product/settings/product-quantity/configs/settings.js +1 -1
  63. package/dist/cjs/post-purchase/product/settings/product-quantity/configs/ui-v2.js +1 -1
  64. package/dist/cjs/product/components/product-badge/ProductBadge.js +1 -1
  65. package/dist/cjs/product/components/product-badge/common/styles.js +1 -1
  66. package/dist/cjs/product/components/product-bundle/ProductBundleDiscount.js +1 -1
  67. package/dist/cjs/product/components/product-bundle/ProductBundleDiscountWarning.js +2 -0
  68. package/dist/cjs/product/components/product-bundle/common/classes.js +1 -1
  69. package/dist/cjs/product/components/product-bundle/common/constants.js +1 -0
  70. package/dist/cjs/product/components/product-bundle/hooks/useProductBundleDataState.js +1 -83
  71. package/dist/cjs/product/components/product-discount-tag/ProductDiscountTag.js +1 -1
  72. package/dist/cjs/product/components/product-discount-tag/common/helpers.js +1 -0
  73. package/dist/cjs/product/components/product-images/ProductImagesLightBox.js +1 -1
  74. package/dist/cjs/product/components/product-images-v2/common/attrs.js +1 -1
  75. package/dist/cjs/product/components/product-images-v2/common/common.js +1 -1
  76. package/dist/cjs/product/components/product-images-v2/components/child/ProductFeaturedImageOnly.js +1 -1
  77. package/dist/cjs/product/components/product-images-v2/components/child/ProductGalleryGrid.js +1 -1
  78. package/dist/cjs/product/components/product-images-v2/components/feature-gallery/FeatureImageWithGallery.liquid.js +41 -41
  79. package/dist/cjs/product/components/product-images-v2/components/gallery-carousel/GalleryCarousel.js +1 -1
  80. package/dist/cjs/product/components/product-images-v2/components/gallery-carousel/GalleryCarousel.liquid.js +13 -13
  81. package/dist/cjs/product/components/product-images-v2/components/gallery-grid/GalleryGrid.liquid.js +23 -23
  82. package/dist/cjs/product/components/product-images-v2/components/lightbox/ProductImagesLightBox.js +1 -1
  83. package/dist/cjs/product/components/product-images-v3/ProductImagesV3.liquid.js +3 -3
  84. package/dist/cjs/product/components/product-images-v3/common/attrs.js +1 -1
  85. package/dist/cjs/product/components/product-images-v3/common/common.js +1 -1
  86. package/dist/cjs/product/components/product-images-v3/components/child/ProductFeaturedImageOnly.js +1 -1
  87. package/dist/cjs/product/components/product-images-v3/components/child/ProductGalleryGrid.js +1 -1
  88. package/dist/cjs/product/components/product-images-v3/components/feature-gallery/FeatureImageWithGallery.liquid.js +40 -40
  89. package/dist/cjs/product/components/product-images-v3/components/feature-gallery/FeatureImageWithGalleryEmbla.liquid.js +40 -40
  90. package/dist/cjs/product/components/product-images-v3/components/gallery-carousel/GalleryCarousel.js +1 -1
  91. package/dist/cjs/product/components/product-images-v3/components/gallery-carousel/GalleryCarousel.liquid.js +12 -12
  92. package/dist/cjs/product/components/product-images-v3/components/gallery-carousel/GalleryCarouselEmbla.liquid.js +12 -12
  93. package/dist/cjs/product/components/product-images-v3/components/gallery-grid/GalleryGrid.liquid.js +23 -23
  94. package/dist/cjs/product/components/product-images-v3/components/lightbox/ProductImagesLightBox.js +1 -1
  95. package/dist/cjs/product/components/product-list/ProductList.js +1 -1
  96. package/dist/cjs/product/components/product-list/ProductListCarouselLayout.js +1 -1
  97. package/dist/cjs/product/components/product-list/ProductListCarouselLayout.liquid.js +9 -7
  98. package/dist/cjs/product/components/product-list/ProductListGridLayout.js +1 -1
  99. package/dist/cjs/product/components/product-list/ProductListGridLayout.liquid.js +16 -14
  100. package/dist/cjs/product/components/product-list/common/helpers.js +1 -1
  101. package/dist/cjs/product/components/product-list/common/imagePriority.js +17 -0
  102. package/dist/cjs/product/components/product-list/common/imagePriorityHints.js +1 -0
  103. package/dist/cjs/product/components/product-list-v3/ProductList.js +1 -1
  104. package/dist/cjs/product/components/product-list-v3/ProductListCarouselLayout.js +1 -1
  105. package/dist/cjs/product/components/product-list-v3/ProductListCarouselLayout.liquid.js +11 -9
  106. package/dist/cjs/product/components/product-list-v3/ProductListGridLayout.js +1 -1
  107. package/dist/cjs/product/components/product-list-v3/ProductListGridLayout.liquid.js +16 -14
  108. package/dist/cjs/product/components/product-price/hooks/useGpPrice.js +1 -1
  109. package/dist/cjs/product/components/product-wrap/Product.js +1 -1
  110. package/dist/cjs/product/components/product-wrap/hook/useProductSetting.js +1 -1
  111. package/dist/cjs/product/helpers/product-bundle.js +1 -1
  112. package/dist/cjs/product/helpers/productImagesDrag.js +1 -0
  113. package/dist/cjs/product/index.js +1 -1
  114. package/dist/cjs/product/settings/product-image-v2/configs/setting-v2/ProductFeatureImage.js +2 -2
  115. package/dist/cjs/product/settings/product-image-v2/configs/setting-v2/ProductGalleryImage.js +2 -2
  116. package/dist/cjs/product/settings/product-image-v2/configs/setting-v2/index.js +1 -1
  117. package/dist/cjs/product/settings/product-image-v2/configs/ui-v2.js +1 -1
  118. package/dist/cjs/product/settings/product-image-v3/configs/setting-v2/ProductFeatureImage.js +2 -2
  119. package/dist/cjs/product/settings/product-image-v3/configs/setting-v2/ProductGalleryImage.js +2 -2
  120. package/dist/cjs/product/settings/product-image-v3/configs/setting-v2/index.js +1 -1
  121. package/dist/cjs/product/settings/product-image-v3/configs/ui-v2.js +1 -1
  122. package/dist/cjs/stock-counter/common/attrs.js +1 -1
  123. package/dist/cjs/stock-counter/common/helpers.js +23 -23
  124. package/dist/cjs/stock-counter/hooks/useStockCounter.js +1 -1
  125. package/dist/cjs/third-party/common/helpers.js +4 -4
  126. package/dist/cjs/third-party/components/KlarnaMessaging.liquid.js +29 -4
  127. package/dist/cjs/third-party/settings/AftershipEmailMarketingsms/index.js +1 -1
  128. package/dist/cjs/third-party/settings/AirProductReviewsAppUgc/index.js +2 -2
  129. package/dist/cjs/third-party/settings/AliReviews/index.js +1 -1
  130. package/dist/cjs/third-party/settings/AlsoBoughtCbb/index.js +1 -1
  131. package/dist/cjs/third-party/settings/AovBundlesVolumeDiscounts/index.js +2 -2
  132. package/dist/cjs/third-party/settings/AovFreeGiftBuyXGetYBogo/index.js +2 -2
  133. package/dist/cjs/third-party/settings/AppointmentBookingCowlendar/index.js +2 -2
  134. package/dist/cjs/third-party/settings/AppstleBundlesDiscounts/index.js +2 -2
  135. package/dist/cjs/third-party/settings/AppstleLoyaltyRewardProgram/index.js +1 -1
  136. package/dist/cjs/third-party/settings/AppstleSubscriptions/index.js +1 -1
  137. package/dist/cjs/third-party/settings/BestBuyFulfillment/index.js +1 -1
  138. package/dist/cjs/third-party/settings/BfSizeChartSizeGuide/index.js +1 -1
  139. package/dist/cjs/third-party/settings/BirdChime/index.js +4 -4
  140. package/dist/cjs/third-party/settings/BloyRewardsProgramLoyalty/index.js +1 -1
  141. package/dist/cjs/third-party/settings/Bogos/index.js +1 -1
  142. package/dist/cjs/third-party/settings/BoldProductOptions/index.js +4 -4
  143. package/dist/cjs/third-party/settings/BoldSubscriptions/index.js +1 -1
  144. package/dist/cjs/third-party/settings/BonLoyaltyRewardsReferrals/index.js +1 -1
  145. package/dist/cjs/third-party/settings/BonySubscriptionsApp/index.js +2 -2
  146. package/dist/cjs/third-party/settings/BoostAISearchDiscovery/index.js +1 -1
  147. package/dist/cjs/third-party/settings/Bundler/index.js +1 -1
  148. package/dist/cjs/third-party/settings/CleanSizeCharts/index.js +1 -1
  149. package/dist/cjs/third-party/settings/CrossSellCartUpsell/index.js +1 -1
  150. package/dist/cjs/third-party/settings/CustomProductOptionsVariant/index.js +2 -2
  151. package/dist/cjs/third-party/settings/DealeasyVolumeDiscounts/index.js +2 -2
  152. package/dist/cjs/third-party/settings/DiscountyBulkDiscountSales/index.js +2 -2
  153. package/dist/cjs/third-party/settings/EasifyProductOptions/index.js +1 -1
  154. package/dist/cjs/third-party/settings/EasyBundleBuilderSkailama/index.js +2 -2
  155. package/dist/cjs/third-party/settings/EasySellCOD/index.js +4 -4
  156. package/dist/cjs/third-party/settings/EcoboostifyShoppableReelUgc/index.js +2 -2
  157. package/dist/cjs/third-party/settings/EcomsendBackInStockAlert/index.js +1 -1
  158. package/dist/cjs/third-party/settings/EssentPreorderBackInStock/index.js +2 -2
  159. package/dist/cjs/third-party/settings/EssentialAnnouncementBar/index.js +1 -1
  160. package/dist/cjs/third-party/settings/EssentialCountdownTimerBar/index.js +2 -2
  161. package/dist/cjs/third-party/settings/EstimatedDeliveryDatePlus/index.js +2 -2
  162. package/dist/cjs/third-party/settings/FastBundleBundlesDiscounts/index.js +2 -2
  163. package/dist/cjs/third-party/settings/FeraReviews/index.js +1 -1
  164. package/dist/cjs/third-party/settings/FirePush/index.js +1 -1
  165. package/dist/cjs/third-party/settings/FlyBundlesUpsellsFbt/index.js +1 -1
  166. package/dist/cjs/third-party/settings/FordeerProductLabels/index.js +2 -2
  167. package/dist/cjs/third-party/settings/FrequentlyBoughtTogether/index.js +1 -1
  168. package/dist/cjs/third-party/settings/GloColorSwatchvariantImage/index.js +1 -1
  169. package/dist/cjs/third-party/settings/GloboProductOptionsVariant/index.js +1 -1
  170. package/dist/cjs/third-party/settings/GoogleReviewsByReputon/index.js +1 -1
  171. package/dist/cjs/third-party/settings/Growave/index.js +1 -1
  172. package/dist/cjs/third-party/settings/GrowthSuiteDiscountCodes/index.js +2 -2
  173. package/dist/cjs/third-party/settings/HextomCountdownTimerBar/index.js +2 -2
  174. package/dist/cjs/third-party/settings/HextomFreeShippingBar/index.js +2 -2
  175. package/dist/cjs/third-party/settings/HulkFormBuilder/index.js +1 -1
  176. package/dist/cjs/third-party/settings/HulkProductOptions/index.js +1 -1
  177. package/dist/cjs/third-party/settings/InfiniteOptions/index.js +1 -1
  178. package/dist/cjs/third-party/settings/Instafeed/index.js +1 -1
  179. package/dist/cjs/third-party/settings/InstasellShoppableInstagram/index.js +1 -1
  180. package/dist/cjs/third-party/settings/JudgemeReviews/index.js +1 -1
  181. package/dist/cjs/third-party/settings/JunipProductReviewsUgc/index.js +1 -1
  182. package/dist/cjs/third-party/settings/KachingBundles/index.js +1 -1
  183. package/dist/cjs/third-party/settings/KachingSubscriptionsApp/index.js +1 -1
  184. package/dist/cjs/third-party/settings/KingProductOptions/index.js +1 -1
  185. package/dist/cjs/third-party/settings/KiteFreeGiftDiscount/index.js +2 -2
  186. package/dist/cjs/third-party/settings/KlarnaMessaging/index.js +2 -2
  187. package/dist/cjs/third-party/settings/Klaviyo/index.js +4 -4
  188. package/dist/cjs/third-party/settings/KoalaBundleQuantityDiscount/index.js +1 -1
  189. package/dist/cjs/third-party/settings/LaiProductReviews/index.js +1 -1
  190. package/dist/cjs/third-party/settings/LoloyalLoyaltyReferrals/index.js +1 -1
  191. package/dist/cjs/third-party/settings/LoopSubscriptions/index.js +1 -1
  192. package/dist/cjs/third-party/settings/LooxReviews/index.js +1 -1
  193. package/dist/cjs/third-party/settings/MaxbundleProductBundles/index.js +1 -1
  194. package/dist/cjs/third-party/settings/MbcBundleVolumeDiscount/index.js +1 -1
  195. package/dist/cjs/third-party/settings/MyappgurusProductReviews/index.js +1 -1
  196. package/dist/cjs/third-party/settings/NotifyBackInStockPreOrder/index.js +1 -1
  197. package/dist/cjs/third-party/settings/OkendoReviewsLoyalty/index.js +1 -1
  198. package/dist/cjs/third-party/settings/Omnisend/index.js +1 -1
  199. package/dist/cjs/third-party/settings/Opinew/index.js +1 -1
  200. package/dist/cjs/third-party/settings/ParcelPanel/index.js +1 -1
  201. package/dist/cjs/third-party/settings/PickyStory/index.js +4 -4
  202. package/dist/cjs/third-party/settings/PowerfulContactFormBuilder/index.js +1 -1
  203. package/dist/cjs/third-party/settings/PreorderNowPreOrderPq/index.js +2 -2
  204. package/dist/cjs/third-party/settings/PreorderNowWodPresale/index.js +1 -1
  205. package/dist/cjs/third-party/settings/ProductOptionsCustomizer/index.js +2 -2
  206. package/dist/cjs/third-party/settings/ProductOptionsVariantOption/index.js +2 -2
  207. package/dist/cjs/third-party/settings/PumperBundlesVolumeDiscount/index.js +2 -2
  208. package/dist/cjs/third-party/settings/PushOwl/index.js +1 -1
  209. package/dist/cjs/third-party/settings/QikifyUpsell/index.js +2 -2
  210. package/dist/cjs/third-party/settings/RapiBundleQuantityBreaks/index.js +2 -2
  211. package/dist/cjs/third-party/settings/RechargeSubscriptions/index.js +1 -1
  212. package/dist/cjs/third-party/settings/RecurpaySubscriptionApp/index.js +1 -1
  213. package/dist/cjs/third-party/settings/Releasit/index.js +1 -1
  214. package/dist/cjs/third-party/settings/RequestQuoteHidePrice/index.js +1 -1
  215. package/dist/cjs/third-party/settings/ReviewxpoProductReviewsApp/index.js +1 -1
  216. package/dist/cjs/third-party/settings/Rivyo/index.js +1 -1
  217. package/dist/cjs/third-party/settings/Ryviu/index.js +1 -1
  218. package/dist/cjs/third-party/settings/SealSubscriptions/index.js +2 -2
  219. package/dist/cjs/third-party/settings/SegunoEmailMarketing/index.js +1 -1
  220. package/dist/cjs/third-party/settings/Selleasy/index.js +1 -1
  221. package/dist/cjs/third-party/settings/SeoantTrustBadgesIcon/index.js +2 -2
  222. package/dist/cjs/third-party/settings/ShopifyForms/index.js +1 -1
  223. package/dist/cjs/third-party/settings/ShopifySubscriptions/index.js +2 -2
  224. package/dist/cjs/third-party/settings/SimpleBundlesKits/index.js +1 -1
  225. package/dist/cjs/third-party/settings/SkioSubscriptionsYcS20/index.js +1 -1
  226. package/dist/cjs/third-party/settings/SmartSearchBarAndFilters/index.js +4 -4
  227. package/dist/cjs/third-party/settings/SproutPlantTreesGrowSales/index.js +1 -1
  228. package/dist/cjs/third-party/settings/Stamped.js +1 -1
  229. package/dist/cjs/third-party/settings/StellarDeliveryDatePickup/index.js +1 -1
  230. package/dist/cjs/third-party/settings/SubifySubscriptionsApp/index.js +2 -2
  231. package/dist/cjs/third-party/settings/TagembedSocialPostReview/index.js +2 -2
  232. package/dist/cjs/third-party/settings/TagshopShoppableVideosUgc/index.js +2 -2
  233. package/dist/cjs/third-party/settings/TeeinblueProductPersonalizer/index.js +2 -2
  234. package/dist/cjs/third-party/settings/TrustBadgesBear/index.js +2 -2
  235. package/dist/cjs/third-party/settings/TrustMe/index.js +4 -4
  236. package/dist/cjs/third-party/settings/TrustedsiteTrustBadges/index.js +1 -1
  237. package/dist/cjs/third-party/settings/Trustoo/index.js +1 -1
  238. package/dist/cjs/third-party/settings/TrustreviewsProductReviews/index.js +1 -1
  239. package/dist/cjs/third-party/settings/TrustshopProductReviews/index.js +1 -1
  240. package/dist/cjs/third-party/settings/UltimateSalesBoost/index.js +1 -1
  241. package/dist/cjs/third-party/settings/UnlimitedBundlesDiscounts/index.js +2 -2
  242. package/dist/cjs/third-party/settings/UppromoteAffiliateMarketing/setting.js +2 -2
  243. package/dist/cjs/third-party/settings/Vitals/index.js +1 -1
  244. package/dist/cjs/third-party/settings/WcWishlistBackInStock/index.js +1 -1
  245. package/dist/cjs/third-party/settings/WhatmoreShoppableVideosreel/index.js +1 -1
  246. package/dist/cjs/third-party/settings/WideBundle/index.js +4 -4
  247. package/dist/cjs/third-party/settings/Wiser/index.js +1 -1
  248. package/dist/cjs/third-party/settings/WishlistKing/index.js +2 -2
  249. package/dist/cjs/third-party/settings/WishlistPlus/index.js +2 -2
  250. package/dist/cjs/third-party/settings/YotpoReviews/index.js +1 -1
  251. package/dist/cjs/video/common/attrs.js +1 -1
  252. package/dist/cjs/video/components/HTML5Embed.js +1 -1
  253. package/dist/cjs/video/components/HTML5Embed.liquid.js +11 -11
  254. package/dist/cjs/video/components/LiteVimeoEmbed.liquid.js +11 -11
  255. package/dist/cjs/video/components/LiteYouTubeEmbed.js +1 -1
  256. package/dist/cjs/video/components/LiteYouTubeEmbed.liquid.js +11 -11
  257. package/dist/cjs/video/components/Video.liquid.js +1 -1
  258. package/dist/esm/article/components/ArticleImage.js +1 -1
  259. package/dist/esm/article/components/ArticleImage.liquid.js +7 -7
  260. package/dist/esm/article/components/ArticleList.js +1 -1
  261. package/dist/esm/article/index.js +1 -1
  262. package/dist/esm/article/settings/configs/article-image/settings.js +1 -1
  263. package/dist/esm/article/settings/configs/article-image/ui-v2.js +1 -1
  264. package/dist/esm/builder.js +1 -1
  265. package/dist/esm/button/common/helpers.js +2 -2
  266. package/dist/esm/cart/components/CartList.js +1 -1
  267. package/dist/esm/cart/index.js +1 -1
  268. package/dist/esm/collection/index.js +1 -1
  269. package/dist/esm/common/components/Loading.js +1 -1
  270. package/dist/esm/common/const.js +1 -1
  271. package/dist/esm/common/helpers.js +1 -0
  272. package/dist/esm/common/hooks/useElementWidth.js +1 -0
  273. package/dist/esm/common/hooks/useLoadingProgress.js +1 -0
  274. package/dist/esm/grid/components/row/Row.liquid.js +10 -10
  275. package/dist/esm/grid/components/section/Section.js +1 -1
  276. package/dist/esm/grid/index.js +1 -1
  277. package/dist/esm/header/components/kind/basic/index.js +1 -1
  278. package/dist/esm/header/components/kind/modern/index.js +1 -1
  279. package/dist/esm/header/index.js +1 -1
  280. package/dist/esm/hero-banner/common/styles.js +1 -1
  281. package/dist/esm/hero-banner/components/HeroBannerItem.js +1 -1
  282. package/dist/esm/hero-banner/components/HeroBannerItem.liquid.js +10 -10
  283. package/dist/esm/hero-banner/index.js +1 -1
  284. package/dist/esm/image/common/adaptiveSources.js +1 -0
  285. package/dist/esm/image/common/attrs.js +1 -1
  286. package/dist/esm/image/common/classes.js +1 -1
  287. package/dist/esm/image/common/helpers.js +2 -2
  288. package/dist/esm/image/common/liquidSrcset.js +1 -0
  289. package/dist/esm/image/common/listContext.js +1 -0
  290. package/dist/esm/image/common/listImageContext.js +1 -0
  291. package/dist/esm/image/common/sizes.js +1 -0
  292. package/dist/esm/image/common/srcset.js +1 -0
  293. package/dist/esm/image/components/AdaptiveImage.js +1 -1
  294. package/dist/esm/image/components/AdaptiveImage.liquid.js +11 -13
  295. package/dist/esm/image/components/Image.js +1 -1
  296. package/dist/esm/image/components/Image.liquid.js +3 -3
  297. package/dist/esm/image/components/NextImage.js +1 -1
  298. package/dist/esm/image/components/NextImage.liquid.js +5 -6
  299. package/dist/esm/image/constants.js +1 -1
  300. package/dist/esm/image/index.js +1 -1
  301. package/dist/esm/image/settings/configs/settings.js +1 -1
  302. package/dist/esm/image/settings/configs/ui-v2.js +1 -1
  303. package/dist/esm/image-comparison/common/attrs.js +1 -1
  304. package/dist/esm/image-comparison/components/CompareImage.js +1 -1
  305. package/dist/esm/image-comparison/components/CompareImage.liquid.js +17 -17
  306. package/dist/esm/image-comparison/components/ImageComparison.liquid.js +3 -3
  307. package/dist/esm/image-comparison/index.js +1 -1
  308. package/dist/esm/image-comparison/settings/configs/settings.js +1 -1
  309. package/dist/esm/image-comparison/settings/configs/ui-v2.js +1 -1
  310. package/dist/esm/index.js +1 -1
  311. package/dist/esm/post-purchase/callout-banner/index.js +1 -1
  312. package/dist/esm/post-purchase/product/components/ProductPrice.js +1 -1
  313. package/dist/esm/post-purchase/product/components/ProductQuantity.js +1 -1
  314. package/dist/esm/post-purchase/product/components/product-offer/components/ProductOffer.js +1 -1
  315. package/dist/esm/post-purchase/product/components/product-offer/helpers/getOfferErrorText.js +1 -0
  316. package/dist/esm/post-purchase/product/components/product-offer/hooks/useProductOfferData.js +1 -1
  317. package/dist/esm/post-purchase/product/hooks/useHandleQuantity.js +1 -1
  318. package/dist/esm/post-purchase/product/index.js +1 -1
  319. package/dist/esm/post-purchase/product/settings/product-quantity/configs/settings.js +1 -1
  320. package/dist/esm/post-purchase/product/settings/product-quantity/configs/ui-v2.js +1 -1
  321. package/dist/esm/product/components/product-badge/ProductBadge.js +1 -1
  322. package/dist/esm/product/components/product-badge/common/styles.js +1 -1
  323. package/dist/esm/product/components/product-bundle/ProductBundleDiscount.js +1 -1
  324. package/dist/esm/product/components/product-bundle/ProductBundleDiscountWarning.js +2 -0
  325. package/dist/esm/product/components/product-bundle/common/classes.js +1 -1
  326. package/dist/esm/product/components/product-bundle/common/constants.js +1 -0
  327. package/dist/esm/product/components/product-bundle/hooks/useProductBundleDataState.js +1 -83
  328. package/dist/esm/product/components/product-discount-tag/ProductDiscountTag.js +1 -1
  329. package/dist/esm/product/components/product-discount-tag/common/helpers.js +1 -0
  330. package/dist/esm/product/components/product-images/ProductImagesLightBox.js +1 -1
  331. package/dist/esm/product/components/product-images-v2/common/attrs.js +1 -1
  332. package/dist/esm/product/components/product-images-v2/common/common.js +1 -1
  333. package/dist/esm/product/components/product-images-v2/components/child/ProductFeaturedImageOnly.js +1 -1
  334. package/dist/esm/product/components/product-images-v2/components/child/ProductGalleryGrid.js +1 -1
  335. package/dist/esm/product/components/product-images-v2/components/feature-gallery/FeatureImageWithGallery.liquid.js +35 -35
  336. package/dist/esm/product/components/product-images-v2/components/gallery-carousel/GalleryCarousel.js +1 -1
  337. package/dist/esm/product/components/product-images-v2/components/gallery-carousel/GalleryCarousel.liquid.js +13 -13
  338. package/dist/esm/product/components/product-images-v2/components/gallery-grid/GalleryGrid.liquid.js +29 -29
  339. package/dist/esm/product/components/product-images-v2/components/lightbox/ProductImagesLightBox.js +1 -1
  340. package/dist/esm/product/components/product-images-v3/ProductImagesV3.liquid.js +3 -3
  341. package/dist/esm/product/components/product-images-v3/common/attrs.js +1 -1
  342. package/dist/esm/product/components/product-images-v3/common/common.js +1 -1
  343. package/dist/esm/product/components/product-images-v3/components/child/ProductFeaturedImageOnly.js +1 -1
  344. package/dist/esm/product/components/product-images-v3/components/child/ProductGalleryGrid.js +1 -1
  345. package/dist/esm/product/components/product-images-v3/components/feature-gallery/FeatureImageWithGallery.liquid.js +24 -24
  346. package/dist/esm/product/components/product-images-v3/components/feature-gallery/FeatureImageWithGalleryEmbla.liquid.js +24 -24
  347. package/dist/esm/product/components/product-images-v3/components/gallery-carousel/GalleryCarousel.js +1 -1
  348. package/dist/esm/product/components/product-images-v3/components/gallery-carousel/GalleryCarousel.liquid.js +5 -5
  349. package/dist/esm/product/components/product-images-v3/components/gallery-carousel/GalleryCarouselEmbla.liquid.js +5 -5
  350. package/dist/esm/product/components/product-images-v3/components/gallery-grid/GalleryGrid.liquid.js +30 -30
  351. package/dist/esm/product/components/product-images-v3/components/lightbox/ProductImagesLightBox.js +1 -1
  352. package/dist/esm/product/components/product-list/ProductList.js +1 -1
  353. package/dist/esm/product/components/product-list/ProductListCarouselLayout.js +1 -1
  354. package/dist/esm/product/components/product-list/ProductListCarouselLayout.liquid.js +11 -9
  355. package/dist/esm/product/components/product-list/ProductListGridLayout.js +1 -1
  356. package/dist/esm/product/components/product-list/ProductListGridLayout.liquid.js +18 -16
  357. package/dist/esm/product/components/product-list/common/helpers.js +1 -1
  358. package/dist/esm/product/components/product-list/common/imagePriority.js +17 -0
  359. package/dist/esm/product/components/product-list/common/imagePriorityHints.js +1 -0
  360. package/dist/esm/product/components/product-list-v3/ProductList.js +1 -1
  361. package/dist/esm/product/components/product-list-v3/ProductListCarouselLayout.js +1 -1
  362. package/dist/esm/product/components/product-list-v3/ProductListCarouselLayout.liquid.js +12 -10
  363. package/dist/esm/product/components/product-list-v3/ProductListGridLayout.js +1 -1
  364. package/dist/esm/product/components/product-list-v3/ProductListGridLayout.liquid.js +18 -16
  365. package/dist/esm/product/components/product-price/hooks/useGpPrice.js +1 -1
  366. package/dist/esm/product/components/product-wrap/Product.js +1 -1
  367. package/dist/esm/product/components/product-wrap/hook/useProductSetting.js +1 -1
  368. package/dist/esm/product/helpers/product-bundle.js +1 -1
  369. package/dist/esm/product/helpers/productImagesDrag.js +1 -0
  370. package/dist/esm/product/index.js +1 -1
  371. package/dist/esm/product/settings/product-image-v2/configs/setting-v2/ProductFeatureImage.js +2 -2
  372. package/dist/esm/product/settings/product-image-v2/configs/setting-v2/ProductGalleryImage.js +2 -2
  373. package/dist/esm/product/settings/product-image-v2/configs/setting-v2/index.js +1 -1
  374. package/dist/esm/product/settings/product-image-v2/configs/ui-v2.js +1 -1
  375. package/dist/esm/product/settings/product-image-v3/configs/setting-v2/ProductFeatureImage.js +2 -2
  376. package/dist/esm/product/settings/product-image-v3/configs/setting-v2/ProductGalleryImage.js +2 -2
  377. package/dist/esm/product/settings/product-image-v3/configs/setting-v2/index.js +1 -1
  378. package/dist/esm/product/settings/product-image-v3/configs/ui-v2.js +1 -1
  379. package/dist/esm/stock-counter/common/attrs.js +1 -1
  380. package/dist/esm/stock-counter/common/helpers.js +21 -21
  381. package/dist/esm/stock-counter/components/StockCounter.liquid.js +1 -1
  382. package/dist/esm/stock-counter/hooks/useStockCounter.js +1 -1
  383. package/dist/esm/third-party/common/helpers.js +5 -5
  384. package/dist/esm/third-party/components/KlarnaMessaging.liquid.js +30 -5
  385. package/dist/esm/third-party/settings/AftershipEmailMarketingsms/index.js +2 -2
  386. package/dist/esm/third-party/settings/AirProductReviewsAppUgc/index.js +2 -2
  387. package/dist/esm/third-party/settings/AliReviews/index.js +2 -2
  388. package/dist/esm/third-party/settings/AlsoBoughtCbb/index.js +2 -2
  389. package/dist/esm/third-party/settings/AovBundlesVolumeDiscounts/index.js +2 -2
  390. package/dist/esm/third-party/settings/AovFreeGiftBuyXGetYBogo/index.js +2 -2
  391. package/dist/esm/third-party/settings/AppointmentBookingCowlendar/index.js +2 -2
  392. package/dist/esm/third-party/settings/AppstleBundlesDiscounts/index.js +2 -2
  393. package/dist/esm/third-party/settings/AppstleLoyaltyRewardProgram/index.js +2 -2
  394. package/dist/esm/third-party/settings/AppstleSubscriptions/index.js +2 -2
  395. package/dist/esm/third-party/settings/BestBuyFulfillment/index.js +2 -2
  396. package/dist/esm/third-party/settings/BfSizeChartSizeGuide/index.js +2 -2
  397. package/dist/esm/third-party/settings/BirdChime/index.js +4 -4
  398. package/dist/esm/third-party/settings/BloyRewardsProgramLoyalty/index.js +2 -2
  399. package/dist/esm/third-party/settings/Bogos/index.js +4 -4
  400. package/dist/esm/third-party/settings/BoldProductOptions/index.js +4 -4
  401. package/dist/esm/third-party/settings/BoldSubscriptions/index.js +2 -2
  402. package/dist/esm/third-party/settings/BonLoyaltyRewardsReferrals/index.js +2 -2
  403. package/dist/esm/third-party/settings/BonySubscriptionsApp/index.js +2 -2
  404. package/dist/esm/third-party/settings/BoostAISearchDiscovery/index.js +2 -2
  405. package/dist/esm/third-party/settings/Bundler/index.js +4 -4
  406. package/dist/esm/third-party/settings/CleanSizeCharts/index.js +2 -2
  407. package/dist/esm/third-party/settings/CrossSellCartUpsell/index.js +2 -2
  408. package/dist/esm/third-party/settings/CustomProductOptionsVariant/index.js +2 -2
  409. package/dist/esm/third-party/settings/DealeasyVolumeDiscounts/index.js +2 -2
  410. package/dist/esm/third-party/settings/DiscountyBulkDiscountSales/index.js +2 -2
  411. package/dist/esm/third-party/settings/EasifyProductOptions/index.js +2 -2
  412. package/dist/esm/third-party/settings/EasyBundleBuilderSkailama/index.js +2 -2
  413. package/dist/esm/third-party/settings/EasySellCOD/index.js +4 -4
  414. package/dist/esm/third-party/settings/EcoboostifyShoppableReelUgc/index.js +2 -2
  415. package/dist/esm/third-party/settings/EcomsendBackInStockAlert/index.js +2 -2
  416. package/dist/esm/third-party/settings/EssentPreorderBackInStock/index.js +2 -2
  417. package/dist/esm/third-party/settings/EssentialAnnouncementBar/index.js +2 -2
  418. package/dist/esm/third-party/settings/EssentialCountdownTimerBar/index.js +2 -2
  419. package/dist/esm/third-party/settings/EstimatedDeliveryDatePlus/index.js +2 -2
  420. package/dist/esm/third-party/settings/FastBundleBundlesDiscounts/index.js +2 -2
  421. package/dist/esm/third-party/settings/FeraReviews/index.js +4 -4
  422. package/dist/esm/third-party/settings/FirePush/index.js +2 -2
  423. package/dist/esm/third-party/settings/FlyBundlesUpsellsFbt/index.js +2 -2
  424. package/dist/esm/third-party/settings/FordeerProductLabels/index.js +2 -2
  425. package/dist/esm/third-party/settings/FrequentlyBoughtTogether/index.js +2 -2
  426. package/dist/esm/third-party/settings/GloColorSwatchvariantImage/index.js +2 -2
  427. package/dist/esm/third-party/settings/GloboProductOptionsVariant/index.js +2 -2
  428. package/dist/esm/third-party/settings/GoogleReviewsByReputon/index.js +2 -2
  429. package/dist/esm/third-party/settings/Growave/index.js +4 -4
  430. package/dist/esm/third-party/settings/GrowthSuiteDiscountCodes/index.js +2 -2
  431. package/dist/esm/third-party/settings/HextomCountdownTimerBar/index.js +2 -2
  432. package/dist/esm/third-party/settings/HextomFreeShippingBar/index.js +2 -2
  433. package/dist/esm/third-party/settings/HulkFormBuilder/index.js +2 -2
  434. package/dist/esm/third-party/settings/HulkProductOptions/index.js +2 -2
  435. package/dist/esm/third-party/settings/InfiniteOptions/index.js +2 -2
  436. package/dist/esm/third-party/settings/Instafeed/index.js +2 -2
  437. package/dist/esm/third-party/settings/InstasellShoppableInstagram/index.js +2 -2
  438. package/dist/esm/third-party/settings/JudgemeReviews/index.js +2 -2
  439. package/dist/esm/third-party/settings/JunipProductReviewsUgc/index.js +2 -2
  440. package/dist/esm/third-party/settings/KachingBundles/index.js +2 -2
  441. package/dist/esm/third-party/settings/KachingSubscriptionsApp/index.js +2 -2
  442. package/dist/esm/third-party/settings/KingProductOptions/index.js +2 -2
  443. package/dist/esm/third-party/settings/KiteFreeGiftDiscount/index.js +2 -2
  444. package/dist/esm/third-party/settings/KlarnaMessaging/index.js +4 -4
  445. package/dist/esm/third-party/settings/Klaviyo/index.js +4 -4
  446. package/dist/esm/third-party/settings/KoalaBundleQuantityDiscount/index.js +2 -2
  447. package/dist/esm/third-party/settings/LaiProductReviews/index.js +2 -2
  448. package/dist/esm/third-party/settings/LoloyalLoyaltyReferrals/index.js +2 -2
  449. package/dist/esm/third-party/settings/LoopSubscriptions/index.js +2 -2
  450. package/dist/esm/third-party/settings/LooxReviews/index.js +4 -4
  451. package/dist/esm/third-party/settings/MaxbundleProductBundles/index.js +2 -2
  452. package/dist/esm/third-party/settings/MbcBundleVolumeDiscount/index.js +2 -2
  453. package/dist/esm/third-party/settings/MyappgurusProductReviews/index.js +2 -2
  454. package/dist/esm/third-party/settings/NotifyBackInStockPreOrder/index.js +2 -2
  455. package/dist/esm/third-party/settings/OkendoReviewsLoyalty/index.js +2 -2
  456. package/dist/esm/third-party/settings/Omnisend/index.js +4 -4
  457. package/dist/esm/third-party/settings/Opinew/index.js +4 -4
  458. package/dist/esm/third-party/settings/ParcelPanel/index.js +4 -4
  459. package/dist/esm/third-party/settings/PickyStory/index.js +4 -4
  460. package/dist/esm/third-party/settings/PowerfulContactFormBuilder/index.js +2 -2
  461. package/dist/esm/third-party/settings/PreorderNowPreOrderPq/index.js +2 -2
  462. package/dist/esm/third-party/settings/PreorderNowWodPresale/index.js +2 -2
  463. package/dist/esm/third-party/settings/ProductOptionsCustomizer/index.js +2 -2
  464. package/dist/esm/third-party/settings/ProductOptionsVariantOption/index.js +2 -2
  465. package/dist/esm/third-party/settings/PumperBundlesVolumeDiscount/index.js +2 -2
  466. package/dist/esm/third-party/settings/PushOwl/index.js +4 -4
  467. package/dist/esm/third-party/settings/QikifyUpsell/index.js +2 -2
  468. package/dist/esm/third-party/settings/RapiBundleQuantityBreaks/index.js +2 -2
  469. package/dist/esm/third-party/settings/RechargeSubscriptions/index.js +2 -2
  470. package/dist/esm/third-party/settings/RecurpaySubscriptionApp/index.js +2 -2
  471. package/dist/esm/third-party/settings/Releasit/index.js +4 -4
  472. package/dist/esm/third-party/settings/RequestQuoteHidePrice/index.js +3 -3
  473. package/dist/esm/third-party/settings/ReviewxpoProductReviewsApp/index.js +2 -2
  474. package/dist/esm/third-party/settings/Rivyo/index.js +4 -4
  475. package/dist/esm/third-party/settings/Ryviu/index.js +4 -4
  476. package/dist/esm/third-party/settings/SealSubscriptions/index.js +2 -2
  477. package/dist/esm/third-party/settings/SegunoEmailMarketing/index.js +2 -2
  478. package/dist/esm/third-party/settings/Selleasy/index.js +2 -2
  479. package/dist/esm/third-party/settings/SeoantTrustBadgesIcon/index.js +2 -2
  480. package/dist/esm/third-party/settings/ShopifyForms/index.js +2 -2
  481. package/dist/esm/third-party/settings/ShopifySubscriptions/index.js +2 -2
  482. package/dist/esm/third-party/settings/SimpleBundlesKits/index.js +2 -2
  483. package/dist/esm/third-party/settings/SkioSubscriptionsYcS20/index.js +2 -2
  484. package/dist/esm/third-party/settings/SmartSearchBarAndFilters/index.js +4 -4
  485. package/dist/esm/third-party/settings/SproutPlantTreesGrowSales/index.js +2 -2
  486. package/dist/esm/third-party/settings/Stamped.js +4 -4
  487. package/dist/esm/third-party/settings/StellarDeliveryDatePickup/index.js +2 -2
  488. package/dist/esm/third-party/settings/SubifySubscriptionsApp/index.js +2 -2
  489. package/dist/esm/third-party/settings/TagembedSocialPostReview/index.js +2 -2
  490. package/dist/esm/third-party/settings/TagshopShoppableVideosUgc/index.js +2 -2
  491. package/dist/esm/third-party/settings/TeeinblueProductPersonalizer/index.js +2 -2
  492. package/dist/esm/third-party/settings/TrustBadgesBear/index.js +2 -2
  493. package/dist/esm/third-party/settings/TrustMe/index.js +4 -4
  494. package/dist/esm/third-party/settings/TrustedsiteTrustBadges/index.js +2 -2
  495. package/dist/esm/third-party/settings/Trustoo/index.js +2 -2
  496. package/dist/esm/third-party/settings/TrustreviewsProductReviews/index.js +2 -2
  497. package/dist/esm/third-party/settings/TrustshopProductReviews/index.js +2 -2
  498. package/dist/esm/third-party/settings/UltimateSalesBoost/index.js +2 -2
  499. package/dist/esm/third-party/settings/UnlimitedBundlesDiscounts/index.js +2 -2
  500. package/dist/esm/third-party/settings/UppromoteAffiliateMarketing/setting.js +2 -2
  501. package/dist/esm/third-party/settings/Vitals/index.js +4 -4
  502. package/dist/esm/third-party/settings/WcWishlistBackInStock/index.js +3 -3
  503. package/dist/esm/third-party/settings/WhatmoreShoppableVideosreel/index.js +2 -2
  504. package/dist/esm/third-party/settings/WideBundle/index.js +4 -4
  505. package/dist/esm/third-party/settings/Wiser/index.js +4 -4
  506. package/dist/esm/third-party/settings/WishlistKing/index.js +2 -2
  507. package/dist/esm/third-party/settings/WishlistPlus/index.js +2 -2
  508. package/dist/esm/third-party/settings/YotpoReviews/index.js +4 -4
  509. package/dist/esm/video/common/attrs.js +1 -1
  510. package/dist/esm/video/components/HTML5Embed.js +1 -1
  511. package/dist/esm/video/components/HTML5Embed.liquid.js +8 -8
  512. package/dist/esm/video/components/LiteVimeoEmbed.liquid.js +11 -11
  513. package/dist/esm/video/components/LiteYouTubeEmbed.js +1 -1
  514. package/dist/esm/video/components/LiteYouTubeEmbed.liquid.js +9 -9
  515. package/dist/esm/video/components/Video.liquid.js +1 -1
  516. package/dist/types/index.d.ts +35 -8
  517. package/package.json +11 -8
@@ -1 +1 @@
1
- import{ImageListNavigation as i}from"./ui/ImageListNavigation.js";import{FeatureNavigation as o}from"./ui/FeatureNavigation.js";import{FeatureDots as t}from"./ui/FeatureDots.js";let e='((type == "slider" || position == "left" || position == "right") && position !== "one-col" && position != "two-col")',n='(["bottom-center", "left", "right", "only-feature", "inside-bottom", "inside-left", "inside-right"].includes(position))',l=[{label:"Layout",controls:[{layout:"vertical",setting:{id:"position"},options:{isComboLayout:!0},controls:[{label:"Ratio",type:"control",setting:{id:"ratioLayout"},layout:"vertical",conditionDisplay:'position == "left"'},{label:"Ratio",type:"control",setting:{id:"ratioLayoutRight"},layout:"vertical",conditionDisplay:'position == "right"'}]}]},{label:"Featured image",conditionDisplay:n,controls:[{setting:{id:"ftShape"},hiddenOnMobile:!0,layout:"vertical",controlChangeTrigger:{settings:[{condition:"ftShape.shape === 'original'",source:["ftShape"],action:{controlId:"ftLayout",newValue:"contain",groupType:"style",controlType:"style"}}],options:{noRecordHistory:!0}}},{conditionDisplay:"ftShape.shape !== 'original'",label:"Image scale",setting:{id:"ftLayout"}},{...t,hiddenOnMobile:!0,conditionDisplay:`${n} && position === "only-feature"`},{...o,hiddenOnMobile:!0,conditionDisplay:`${n}`}],moreSettings:{type:"collapse",controls:[{label:"Corner",hiddenOnMobile:!0,setting:{id:"ftCorner"}},{type:"combo",label:"Hover action",conditionDisplay:n,hiddenOnMobile:!0,iconName:"gp-trigger-action-hover",getValueFromSettingID:"hoverEffect",isShowSettingTitle:!0,defaultValueWhenClear:"none",compoDefaultValue:"zoom",controls:[{label:"When hover",setting:{id:"hoverEffect"}},{label:"Zoom type",conditionDisplay:'hoverEffect == "zoom"',setting:{id:"zoomType"}},{label:"Zoom value",conditionDisplay:'hoverEffect == "zoom"',setting:{id:"zoom"}},{label:"Other image",conditionDisplay:'hoverEffect == "other"',setting:{id:"otherImage"}}]},{type:"combo",label:"Click action",hiddenOnMobile:!0,iconName:"gp-trigger-action-click",conditionDisplay:n,getValueFromSettingID:"ftClickOpenLightBox",isShowSettingTitle:!0,defaultValueWhenClear:"none",compoDefaultValue:"popup",controls:[{label:"After click",setting:{id:"ftClickOpenLightBox"}},{label:"Open new tab",setting:{id:"ftClickOpenNewTab"},conditionDisplay:'ftClickOpenLightBox === "product-link"'}]},{type:"control",label:"Slide speed",setting:{id:"ftAnimationSpeed"}},{type:"control",label:"Animation",setting:{id:"ftAnimationMode"}},{label:"Drag / swipe",setting:{id:"ftDragToScroll"}},{label:"Infinity loop",setting:{id:"ftLoop"}}]}},{label:"Image list",conditionDisplay:'(position !== "only-feature")',controls:[{label:"Display",hiddenOnMobile:!0,conditionDisplay:'position === "bottom-center" || position === "bottom-left" || position === "inside-bottom"',setting:{id:"type"}},{setting:{id:"shape"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'["left", "right"].includes(position)'},{setting:{id:"shapeForBottom"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'["bottom-left", "bottom-center"].includes(position)'},{setting:{id:"shapeForInsideBottom"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'["inside-bottom"].includes(position)'},{setting:{id:"shapeForInside"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'["inside-left", "inside-right"].includes(position)'},{setting:{id:"shapeForFtOnly"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'position == "only-feature"'},{setting:{id:"shapeFor2Col"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'position == "two-col"'},{setting:{id:"shapeFor1Col"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'position == "one-col"'},{label:"Image gap",setting:{id:"itemSpacing"}},{conditionDisplay:"(position == 'one-col' && shapeFor1Col.shape !== 'original') || (position == 'two-col' && shapeFor2Col.shape !== 'original') || (position == 'only-feature' && shapeForFtOnly.shape !== 'original') || ([\"inside-left\", \"inside-right\"].includes(position) && shapeForInside.shape !== 'original') || ([\"inside-bottom\"].includes(position) && shapeForInsideBottom.shape !== 'original') || ([\"bottom-left\", \"bottom-center\"].includes(position) && shapeForBottom.shape !== 'original') || ([\"left\", \"right\"].includes(position) && shape.shape !== 'original')",label:"Image scale",setting:{id:"layout"}},{...i,hiddenOnMobile:!0,conditionDisplay:e}],moreSettings:{type:"collapse",controls:[{label:"Corner",hiddenOnMobile:!0,setting:{id:"corner"}},{label:"Active border",hiddenOnMobile:!0,conditionDisplay:'!["one-col", "two-col"].includes(position)',setting:{id:"borderActive"}},{type:"combo",label:"Hover action",conditionDisplay:'(position == "one-col" || position == "two-col")',hiddenOnMobile:!0,iconName:"gp-trigger-action-hover",getValueFromSettingID:"galleryHoverEffect",defaultValueWhenClear:"none",compoDefaultValue:"zoom",controls:[{label:"When hover",setting:{id:"galleryHoverEffect"},conditionDisplay:'galleryHoverEffect == "none"'},{label:"Zoom type",conditionDisplay:'galleryHoverEffect == "zoom"',setting:{id:"galleryZoomType"}},{label:"Zoom value",conditionDisplay:'galleryHoverEffect == "zoom"',setting:{id:"galleryZoom"}},{label:"Other image",conditionDisplay:'galleryHoverEffect == "other"',setting:{id:"otherImage"}}]},{label:"Click action",setting:{id:"clickOpenLightBox"}},{conditionDisplay:e,label:"Drag / swipe",setting:{id:"dragToScroll"}},{conditionDisplay:e,label:"Infinity loop",setting:{id:"loop"}}]}},{label:"Item spacing",hiddenOnMobile:!0,conditionDisplay:'["bottom-center", "left", "right", "inside-bottom", "inside-left", "inside-right"].includes(position)',controls:[{label:"Gap",setting:{id:"spacing"}}]},{label:"Display condition",conditionDisplay:'["bottom-center", "left", "right", "only-feature", "inside-bottom", "inside-left", "inside-right"].includes(position)',controls:[{label:"Default item",setting:{id:"preDisplay"}}]},{label:"Optimize LCP",conditionDisplay:'pageType !== "STATIC"',controls:[{label:"Preload",conditionDisplay:'["bottom-center", "left", "right", "only-feature", "inside-bottom", "inside-left", "inside-right"].includes(position)',setting:{id:"preload"}},{label:"Quality",setting:{id:"qualityType"},conditionDisplay:"preload === false"},{layout:"horizontal",label:" ",conditionDisplay:'qualityType == "custom" && preload === false',setting:{id:"qualityPercent"}}]},{hiddenOnMobile:!0,controls:[{label:"Align",setting:{id:"align"},options:{labelVariant:"primary"}}]}];export{l as SettingUIV2};
1
+ import{ImageListNavigation as i}from"./ui/ImageListNavigation.js";import{FeatureNavigation as o}from"./ui/FeatureNavigation.js";import{FeatureDots as t}from"./ui/FeatureDots.js";let e='((type == "slider" || position == "left" || position == "right") && position !== "one-col" && position != "two-col")',n='(["bottom-center", "left", "right", "only-feature", "inside-bottom", "inside-left", "inside-right"].includes(position))',l=[{label:"Layout",controls:[{layout:"vertical",setting:{id:"position"},options:{isComboLayout:!0},controls:[{label:"Ratio",type:"control",setting:{id:"ratioLayout"},layout:"vertical",conditionDisplay:'position == "left"'},{label:"Ratio",type:"control",setting:{id:"ratioLayoutRight"},layout:"vertical",conditionDisplay:'position == "right"'}]}]},{label:"Featured image",conditionDisplay:n,controls:[{setting:{id:"ftShape"},hiddenOnMobile:!0,layout:"vertical",controlChangeTrigger:{settings:[{condition:"ftShape.shape === 'original'",source:["ftShape"],action:{controlId:"ftLayout",newValue:"contain",groupType:"style",controlType:"style"}}],options:{noRecordHistory:!0}}},{conditionDisplay:"ftShape.shape !== 'original'",label:"Image scale",setting:{id:"ftLayout"}},{...t,hiddenOnMobile:!0,conditionDisplay:`${n} && position === "only-feature"`},{...o,hiddenOnMobile:!0,conditionDisplay:`${n}`}],moreSettings:{type:"collapse",controls:[{label:"Corner",hiddenOnMobile:!0,setting:{id:"ftCorner"}},{type:"combo",label:"Hover action",conditionDisplay:n,hiddenOnMobile:!0,iconName:"gp-trigger-action-hover",getValueFromSettingID:"hoverEffect",isShowSettingTitle:!0,defaultValueWhenClear:"none",compoDefaultValue:"zoom",controls:[{label:"When hover",setting:{id:"hoverEffect"}},{label:"Zoom type",conditionDisplay:'hoverEffect == "zoom"',setting:{id:"zoomType"}},{label:"Zoom value",conditionDisplay:'hoverEffect == "zoom"',setting:{id:"zoom"}},{label:"Other image",conditionDisplay:'hoverEffect == "other"',setting:{id:"otherImage"}}]},{type:"combo",label:"Click action",hiddenOnMobile:!0,iconName:"gp-trigger-action-click",conditionDisplay:n,getValueFromSettingID:"ftClickOpenLightBox",isShowSettingTitle:!0,defaultValueWhenClear:"none",compoDefaultValue:"popup",controls:[{label:"After click",setting:{id:"ftClickOpenLightBox"}},{label:"Open new tab",setting:{id:"ftClickOpenNewTab"},conditionDisplay:'ftClickOpenLightBox === "product-link"'}]},{type:"control",label:"Slide speed",setting:{id:"ftAnimationSpeed"}},{type:"control",label:"Animation",setting:{id:"ftAnimationMode"}},{label:"Drag / swipe",setting:{id:"ftDragToScroll"}},{label:"Infinity loop",setting:{id:"ftLoop"}}]}},{label:"Image list",conditionDisplay:'(position !== "only-feature")',controls:[{label:"Display",hiddenOnMobile:!0,conditionDisplay:'position === "bottom-center" || position === "bottom-left" || position === "inside-bottom"',setting:{id:"type"}},{setting:{id:"shape"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'["left", "right"].includes(position)'},{setting:{id:"shapeForBottom"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'["bottom-left", "bottom-center"].includes(position)'},{setting:{id:"shapeForInsideBottom"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'["inside-bottom"].includes(position)'},{setting:{id:"shapeForInside"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'["inside-left", "inside-right"].includes(position)'},{setting:{id:"shapeForFtOnly"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'position == "only-feature"'},{setting:{id:"shapeFor2Col"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'position == "two-col"'},{setting:{id:"shapeFor1Col"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'position == "one-col"'},{label:"Image gap",setting:{id:"itemSpacing"}},{conditionDisplay:"(position == 'one-col' && shapeFor1Col.shape !== 'original') || (position == 'two-col' && shapeFor2Col.shape !== 'original') || (position == 'only-feature' && shapeForFtOnly.shape !== 'original') || ([\"inside-left\", \"inside-right\"].includes(position) && shapeForInside.shape !== 'original') || ([\"inside-bottom\"].includes(position) && shapeForInsideBottom.shape !== 'original') || ([\"bottom-left\", \"bottom-center\"].includes(position) && shapeForBottom.shape !== 'original') || ([\"left\", \"right\"].includes(position) && shape.shape !== 'original')",label:"Image scale",setting:{id:"layout"}},{...i,hiddenOnMobile:!0,conditionDisplay:e}],moreSettings:{type:"collapse",controls:[{label:"Corner",hiddenOnMobile:!0,setting:{id:"corner"}},{label:"Active border",hiddenOnMobile:!0,conditionDisplay:'!["one-col", "two-col"].includes(position)',setting:{id:"borderActive"}},{type:"combo",label:"Hover action",conditionDisplay:'(position == "one-col" || position == "two-col")',hiddenOnMobile:!0,iconName:"gp-trigger-action-hover",getValueFromSettingID:"galleryHoverEffect",defaultValueWhenClear:"none",compoDefaultValue:"zoom",controls:[{label:"When hover",setting:{id:"galleryHoverEffect"},conditionDisplay:'galleryHoverEffect == "none"'},{label:"Zoom type",conditionDisplay:'galleryHoverEffect == "zoom"',setting:{id:"galleryZoomType"}},{label:"Zoom value",conditionDisplay:'galleryHoverEffect == "zoom"',setting:{id:"galleryZoom"}},{label:"Other image",conditionDisplay:'galleryHoverEffect == "other"',setting:{id:"otherImage"}}]},{label:"Click action",setting:{id:"clickOpenLightBox"}},{conditionDisplay:e,label:"Drag / swipe",setting:{id:"dragToScroll"}},{conditionDisplay:e,label:"Infinity loop",setting:{id:"loop"}}]}},{label:"Item spacing",hiddenOnMobile:!0,conditionDisplay:'["bottom-center", "left", "right", "inside-bottom", "inside-left", "inside-right"].includes(position)',controls:[{label:"Gap",setting:{id:"spacing"}}]},{label:"Display condition",conditionDisplay:'["bottom-center", "left", "right", "only-feature", "inside-bottom", "inside-left", "inside-right"].includes(position)',controls:[{label:"Default item",setting:{id:"preDisplay"}}]},{label:"Optimize LCP",conditionDisplay:'pageType !== "STATIC"',controls:[{label:"Preload",setting:{id:"preload"}},{label:"Quality",setting:{id:"qualityType"}},{layout:"horizontal",label:" ",conditionDisplay:'qualityType == "custom"',setting:{id:"qualityPercent"}}]},{hiddenOnMobile:!0,controls:[{label:"Align",setting:{id:"align"},options:{labelVariant:"primary"}}]}];export{l as SettingUIV2};
@@ -1,2 +1,2 @@
1
- import{CAROUSEL_ANIMATION as e}from"../../../../../carousel-v3/plugins/animation.js";let t=e=>({desktop:{default:e}}),l=[{id:"hoverEffect",label:"Hover Effect",type:"select",hide:!0,hideOnMode:{mobileOnly:!0},options:[{title:"Zoom",value:"zoom"},{title:"Show other image",value:"other"}],default:"none"},{id:"zoomType",type:"option:value",label:"Zoom Type",hide:!0,default:"default",hideOnMode:{mobileOnly:!0},options:[{label:"Default",value:"default"},{label:"Glasses",value:"glasses"}]},{id:"zoom",type:"input:slider",label:"Zoom Value",min:100,max:200,step:10,default:150,units:["%"],showDefaultUnit:!0,useOnlyUnitInit:!0,isNumber:!0},{id:"otherImage",label:"Other image",type:"dropdown:input",isNumber:!0,isIndexValue:!0,displayOptions:[{label:"Image 1",value:1},{label:"Image 2",value:2},{label:"Image 3",value:3},{label:"Image 4",value:4},{label:"Last image",value:"Last image"}],default:1},{id:"ftClickOpenLightBox",label:"Click Effect",type:"select",options:[{title:"Open gallery",value:"popup"},{title:"Open product",value:"product-link"}],devices:t("none")},{id:"ftClickOpenNewTab",type:"option:value",options:[{label:"Yes",value:!0},{label:"No",value:!1}],default:!1},{id:"ftNavigationPosition",label:"Navigation",type:"option:illustration",enableTooltip:!0,options:[{label:"No navigation",value:"none",type:"slide-control",hide:!0},{label:"Outside",value:"outside",type:"slide-control",svgName:"gp-slide-control-outside"},{label:"Inside",value:"inside",type:"slide-control",svgName:"gp-slide-control-inside"}],devices:t("none")},{id:"ftLoop",type:"toggle",devices:t(!0)},{id:"ftPauseOnHover",label:"Pause On Hover",type:"toggle",hide:!0,default:!0},{id:"ftAnimationSpeed",label:"Slide speed",type:"input:slider",useOnlyUnitInit:!0,min:100,max:5e3,step:50,units:["ms"],showDefaultUnit:!0,isNumber:!0,default:500},{id:"ftAnimationMode",label:"Animation",type:"select",default:e.EASE_OUT.value,options:[{label:"Ease in",value:e.EASE_IN.value},{label:"Ease out",value:e.EASE_OUT.value},{label:"Ease in out",value:e.EASE_IN_OUT.value}]},{id:"ftArrowIcon",type:"icon",hide:!0,label:"Custom Arrow",info:"Choose from list or paste any SVG icon",default:`<svg height="20" width="20" data-name="caret-right-regular" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor" data-id="508418455613473128">
2
- <path fill="currentColor" strokeLinecap="round" strokeLinejoin="round" fill="currentColor" d="M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z" /></svg>`},{id:"ftArrowIconColor",label:"Icon color",type:"color-picker-v2",default:"text-1"},{id:"ftArrowIconSize",label:"Number per show",type:"input:stepper",min:1,devices:{desktop:{default:16}}},{id:"ftDragToScroll",label:"Drag to scroll",type:"toggle",hide:!0,default:!0},{id:"ftArrowNavColor",label:"Nav. color",type:"color-picker-v2",default:"bg-3",compoDefaultValue:"bg-3"},{id:"ftArrowNavSize",type:"size-setting",settingConfig:{width:{name:"Width",units:["px"],displayOptions:["auto"]},height:{name:"Height",units:["px"],displayOptions:["auto"]}},default:{width:"Auto",height:"Auto",padding:{top:"12px",bottom:"12px",left:"12px",right:"12px"},shapeLinked:!0,shape:"square",shapeValue:"1/1"},hiddenSettings:["gap","padding","proportion"]},{id:"ftArrowNavBorder",label:"Nav. border",type:"border",compoDefaultValue:{color:"line-3",borderType:"none",border:"solid",borderWidth:"1px",width:"1px 1px 1px 1px",isCustom:!1}},{id:"ftArrowNavRadius",label:"Nav. corner",type:"radius-preset",default:{btrr:"9999px",bblr:"9999px",bbrr:"9999px",btlr:"9999px",radiusType:"circle"}},{id:"ftArrowNavShadow",type:"shadow-v2"},{id:"ftDotStyle",label:"Dot style",type:"option:illustration",enableTooltip:!0,options:[{label:"None",value:"none",type:"carousel-dot",hide:!0},{label:"Inside",value:"inside",type:"carousel-dot",svgName:"gp-carousel-dot-inside"},{label:"Outside",value:"outside",type:"carousel-dot",svgName:"gp-carousel-dot-outside"}],devices:{desktop:{default:"none"}}},{id:"ftDotSize",label:"Dots size",type:"input:stepper",min:1,devices:{desktop:{default:12}}},{id:"ftDotGapToCarousel",label:"Gap to carousel",type:"input:slider",min:0,max:80,isNumber:!0,ignoreMax:!0,devices:{desktop:{default:16}}},{id:"ftDotColor",label:"Dot color",type:"color-picker-v2",devices:{desktop:{default:"bg-1"}}},{id:"ftDotActiveColor",label:"Dot color active",type:"color-picker-v2",devices:{desktop:{default:"line-3"}}}],a=[{id:"typeDisplay",type:"select",options:[{title:"All images",value:"all-images"},{title:"Select manually",value:"select-manual"}],default:"all-images"},{id:"preDisplay",type:"select",label:"Pre-display",default:"1st-available-variant",options:[{title:"1st available variant",value:"1st-available-variant"},{title:"1st image",value:"1st-images"},{title:"1st video",value:"1st-video"},{title:"1st 3D model",value:"1st-3d-mode"}]}],i=[{id:"ftShape",type:"size-setting",label:"",devices:{desktop:{default:{shape:"square",shapeValue:"1/1",width:"100%",height:void 0,shapeLinked:!0}}},settingConfig:{width:{displayOptions:["full"]}},hiddenSettings:["padding","gap"]},{id:"ftLayout",type:"option:illustration",enableTooltip:!0,label:"Image scale",options:[{label:"Fill image",value:"cover",type:"image",svgName:"gp-image-cover"},{label:"Fit image",value:"contain",type:"image",svgName:"gp-image-contain"}],devices:t("cover")},{id:"ftCorner",type:"radius-preset",label:"Corner",default:{btrr:"0px",bblr:"0px",bbrr:"0px",btlr:"0px",radiusType:"none"},state:{hover:!0,normal:!0}}];export{l as productFeatureImageSetting,i as productFeatureImageStyle,a as productSelectDisplaySetting};
1
+ import{CAROUSEL_ANIMATION as e}from"../../../../../carousel-v3/plugins/animation.js";import{PRODUCT_IMAGES_DRAG_TO_SCROLL_DEFAULT as t}from"../../../../helpers/productImagesDrag.js";let l=e=>({desktop:{default:e}}),a=[{id:"hoverEffect",label:"Hover Effect",type:"select",hide:!0,hideOnMode:{mobileOnly:!0},options:[{title:"Zoom",value:"zoom"},{title:"Show other image",value:"other"}],default:"none"},{id:"zoomType",type:"option:value",label:"Zoom Type",hide:!0,default:"default",hideOnMode:{mobileOnly:!0},options:[{label:"Default",value:"default"},{label:"Glasses",value:"glasses"}]},{id:"zoom",type:"input:slider",label:"Zoom Value",min:100,max:200,step:10,default:150,units:["%"],showDefaultUnit:!0,useOnlyUnitInit:!0,isNumber:!0},{id:"otherImage",label:"Other image",type:"dropdown:input",isNumber:!0,isIndexValue:!0,displayOptions:[{label:"Image 1",value:1},{label:"Image 2",value:2},{label:"Image 3",value:3},{label:"Image 4",value:4},{label:"Last image",value:"Last image"}],default:1},{id:"ftClickOpenLightBox",label:"Click Effect",type:"select",options:[{title:"Open gallery",value:"popup"},{title:"Open product",value:"product-link"}],devices:l("none")},{id:"ftClickOpenNewTab",type:"option:value",options:[{label:"Yes",value:!0},{label:"No",value:!1}],default:!1},{id:"ftNavigationPosition",label:"Navigation",type:"option:illustration",enableTooltip:!0,options:[{label:"No navigation",value:"none",type:"slide-control",hide:!0},{label:"Outside",value:"outside",type:"slide-control",svgName:"gp-slide-control-outside"},{label:"Inside",value:"inside",type:"slide-control",svgName:"gp-slide-control-inside"}],devices:l("none")},{id:"ftLoop",type:"toggle",devices:l(!0)},{id:"ftPauseOnHover",label:"Pause On Hover",type:"toggle",hide:!0,default:!0},{id:"ftAnimationSpeed",label:"Slide speed",type:"input:slider",useOnlyUnitInit:!0,min:100,max:5e3,step:50,units:["ms"],showDefaultUnit:!0,isNumber:!0,default:500},{id:"ftAnimationMode",label:"Animation",type:"select",default:e.EASE_OUT.value,options:[{label:"Ease in",value:e.EASE_IN.value},{label:"Ease out",value:e.EASE_OUT.value},{label:"Ease in out",value:e.EASE_IN_OUT.value}]},{id:"ftArrowIcon",type:"icon",hide:!0,label:"Custom Arrow",info:"Choose from list or paste any SVG icon",default:`<svg height="20" width="20" data-name="caret-right-regular" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor" data-id="508418455613473128">
2
+ <path fill="currentColor" strokeLinecap="round" strokeLinejoin="round" fill="currentColor" d="M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z" /></svg>`},{id:"ftArrowIconColor",label:"Icon color",type:"color-picker-v2",default:"text-1"},{id:"ftArrowIconSize",label:"Number per show",type:"input:stepper",min:1,devices:{desktop:{default:16}}},{id:"ftDragToScroll",label:"Drag to scroll",type:"toggle",hide:!0,default:t},{id:"ftArrowNavColor",label:"Nav. color",type:"color-picker-v2",default:"bg-3",compoDefaultValue:"bg-3"},{id:"ftArrowNavSize",type:"size-setting",settingConfig:{width:{name:"Width",units:["px"],displayOptions:["auto"]},height:{name:"Height",units:["px"],displayOptions:["auto"]}},default:{width:"Auto",height:"Auto",padding:{top:"12px",bottom:"12px",left:"12px",right:"12px"},shapeLinked:!0,shape:"square",shapeValue:"1/1"},hiddenSettings:["gap","padding","proportion"]},{id:"ftArrowNavBorder",label:"Nav. border",type:"border",compoDefaultValue:{color:"line-3",borderType:"none",border:"solid",borderWidth:"1px",width:"1px 1px 1px 1px",isCustom:!1}},{id:"ftArrowNavRadius",label:"Nav. corner",type:"radius-preset",default:{btrr:"9999px",bblr:"9999px",bbrr:"9999px",btlr:"9999px",radiusType:"circle"}},{id:"ftArrowNavShadow",type:"shadow-v2"},{id:"ftDotStyle",label:"Dot style",type:"option:illustration",enableTooltip:!0,options:[{label:"None",value:"none",type:"carousel-dot",hide:!0},{label:"Inside",value:"inside",type:"carousel-dot",svgName:"gp-carousel-dot-inside"},{label:"Outside",value:"outside",type:"carousel-dot",svgName:"gp-carousel-dot-outside"}],devices:{desktop:{default:"none"}}},{id:"ftDotSize",label:"Dots size",type:"input:stepper",min:1,devices:{desktop:{default:12}}},{id:"ftDotGapToCarousel",label:"Gap to carousel",type:"input:slider",min:0,max:80,isNumber:!0,ignoreMax:!0,devices:{desktop:{default:16}}},{id:"ftDotColor",label:"Dot color",type:"color-picker-v2",devices:{desktop:{default:"bg-1"}}},{id:"ftDotActiveColor",label:"Dot color active",type:"color-picker-v2",devices:{desktop:{default:"line-3"}}}],i=[{id:"typeDisplay",type:"select",options:[{title:"All images",value:"all-images"},{title:"Select manually",value:"select-manual"}],default:"all-images"},{id:"preDisplay",type:"select",label:"Pre-display",default:"1st-available-variant",options:[{title:"1st available variant",value:"1st-available-variant"},{title:"1st image",value:"1st-images"},{title:"1st video",value:"1st-video"},{title:"1st 3D model",value:"1st-3d-mode"}]}],o=[{id:"ftShape",type:"size-setting",label:"",devices:{desktop:{default:{shape:"square",shapeValue:"1/1",width:"100%",height:void 0,shapeLinked:!0}}},settingConfig:{width:{displayOptions:["full"]}},hiddenSettings:["padding","gap"]},{id:"ftLayout",type:"option:illustration",enableTooltip:!0,label:"Image scale",options:[{label:"Fill image",value:"cover",type:"image",svgName:"gp-image-cover"},{label:"Fit image",value:"contain",type:"image",svgName:"gp-image-contain"}],devices:l("cover")},{id:"ftCorner",type:"radius-preset",label:"Corner",default:{btrr:"0px",bblr:"0px",bbrr:"0px",btlr:"0px",radiusType:"none"},state:{hover:!0,normal:!0}}];export{a as productFeatureImageSetting,o as productFeatureImageStyle,i as productSelectDisplaySetting};
@@ -1,2 +1,2 @@
1
- let e=e=>({desktop:{default:e}}),i=[{id:"type",label:"Gallery Type",type:"segment",hide:!0,options:[{label:"Slide",value:"slider"},{label:"All",value:"images"}],devices:e("slider")},{id:"galleryHoverEffect",label:"Hover Effect",type:"select",hide:!0,hideOnMode:{mobileOnly:!0},options:[{title:"None",value:"none"},{title:"Zoom",value:"zoom"}],default:"none"},{id:"galleryZoomType",type:"select",label:"Zoom Type",hide:!0,default:"default",hideOnMode:{mobileOnly:!0},options:[{title:"Default",value:"default"},{title:"Glasses",value:"glasses"}]},{id:"galleryZoom",type:"input:slider",label:"Zoom Value",min:100,max:200,step:10,default:150,units:["%"],useOnlyUnitInit:!0,isNumber:!0},{id:"clickOpenLightBox",label:"Large view in pop-up",type:"select",options:[{label:"View in featured",value:!1},{label:"Open Gallery",value:!0}],devices:e(!1)},{id:"borderActive",label:"Active border",type:"border",default:{borderType:"none",border:"solid",borderWidth:"1px",width:"1px 1px 1px 1px",isCustom:!1,color:"line-3"},compoDefaultValue:{borderType:"none",border:"solid",borderWidth:"1px",width:"1px 1px 1px 1px",isCustom:!1,color:"line-3"}},{id:"navigationPosition",label:"Navigation",type:"option:illustration",enableTooltip:!0,options:[{label:"No navigation",value:"none",type:"slide-control",hide:!0},{label:"Outside",value:"outside",type:"slide-control",svgName:"gp-slide-control-outside"},{label:"Inside",value:"inside",type:"slide-control",svgName:"gp-slide-control-inside"}],devices:e("inside")},{id:"loop",type:"toggle",devices:e(!0)},{id:"pauseOnHover",label:"Pause On Hover",type:"toggle",hide:!0,default:!0},{id:"speed",type:"input:slider",label:"Speed (s)",hide:!0,min:0,max:60,step:1,default:1},{id:"arrowIcon",type:"icon",hide:!0,label:"Custom Arrow",info:"Choose from list or paste any SVG icon",default:`<svg height="20px" width="20px" data-name="caret-right-bold" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor" data-id="508817562042106216">
2
- <path fill="currentColor" strokelinecap="round" strokelinejoin="round" d="M184.49,136.49l-80,80a12,12,0,0,1-17-17L159,128,87.51,56.49a12,12,0,1,1,17-17l80,80A12,12,0,0,1,184.49,136.49Z"></path></svg>`},{id:"arrowIconSize",label:"Number per show",type:"input:stepper",min:1,devices:{desktop:{default:16}}},{id:"arrowIconColor",label:"Icon color",type:"color-picker-v2",default:"text-1"},{id:"dragToScroll",label:"Drag to scroll",type:"toggle",hide:!0,default:!0},{id:"arrowNavColor",label:"Nav. color",type:"color-picker-v2",default:"bg-3",compoDefaultValue:"bg-3"},{id:"arrowNavSize",type:"size-setting",settingConfig:{width:{name:"Width",units:["px"],displayOptions:["auto"]},height:{name:"Height",units:["px"],displayOptions:["auto"]}},default:{width:"Auto",height:"Auto",padding:{top:"12px",bottom:"12px",left:"12px",right:"12px"},shapeLinked:!0,shape:"square",shapeValue:"1/1"},hiddenSettings:["gap","padding","proportion"]},{id:"arrowNavBorder",label:"Nav. border",type:"border",default:{borderType:"none",border:"none",borderWidth:"1px",width:"1px 1px 1px 1px",isCustom:!1}},{id:"arrowNavRadius",label:"Nav. corner",type:"radius-preset",default:{btrr:"9999px",bblr:"9999px",bbrr:"9999px",btlr:"9999px",radiusType:"circle"}},{id:"arrowNavShadow",type:"shadow-v2",default:{type:"shadow-1",distance:"4px",blur:"12px",spread:"0px",color:"rgba(0, 0, 0, 0.20)",angle:90,enable:!1}}],t=[{id:"shape",type:"size-setting",label:"",devices:{desktop:{default:{shape:"square",shapeValue:"1/1",width:"100%",height:void 0,shapeLinked:!0}}},settingConfig:{width:{displayOptions:["full"]}},hiddenSettings:["padding","gap"]},{id:"shapeForFtOnly",type:"size-setting",label:"",devices:{desktop:{default:{shape:"square",shapeValue:"1/1",width:"100%",height:void 0,shapeLinked:!0}}},settingConfig:{width:{displayOptions:["full"]}},hiddenSettings:["padding","gap"]},{id:"shapeForBottom",type:"size-setting",label:"",devices:{desktop:{default:{shape:"square",shapeValue:"1/1",width:"20%",height:void 0,shapeLinked:!0}}},settingConfig:{width:{displayOptions:["full","small","medium","large"],sizeConfig:{small:"10%",medium:"20%",large:"25%"}}},hiddenSettings:["padding","gap"]},{id:"shapeForInsideBottom",type:"size-setting",label:"",devices:{desktop:{default:{shape:"square",shapeValue:"1/1",width:"20%",height:void 0,shapeLinked:!0}}},settingConfig:{width:{displayOptions:["small","medium","large"],sizeConfig:{small:"10%",medium:"20%",large:"25%"}}},hiddenSettings:["padding","gap"]},{id:"shapeForInside",type:"size-setting",label:"",devices:{desktop:{default:{shape:"square",shapeValue:"1/1",width:"20%",height:void 0,shapeLinked:!0}}},settingConfig:{width:{displayOptions:["small","medium","large"],sizeConfig:{small:"10%",medium:"20%",large:"25%"}}},hiddenSettings:["padding","gap"]},{id:"shapeFor2Col",type:"size-setting",label:"",devices:{desktop:{default:{shape:"square",shapeValue:"1/1",width:"50%",height:void 0,shapeLinked:!0}}},settingConfig:{width:{displayOptions:["full","small","medium","large"],sizeConfig:{small:"25%",medium:"33%",large:"50%"}}},hiddenSettings:["padding","gap"]},{id:"shapeFor1Col",type:"size-setting",label:"",devices:{desktop:{default:{shape:"square",shapeValue:"1/1",width:"100%",height:void 0,shapeLinked:!0}}},settingConfig:{width:{displayOptions:["full","small","medium","large"],sizeConfig:{small:"25%",medium:"33%",large:"50%"}}},hiddenSettings:["padding","gap"]},{id:"layout",type:"option:illustration",enableTooltip:!0,label:"Image scale",options:[{label:"Fill image",value:"cover",type:"image",svgName:"gp-image-cover"},{label:"Fit image",value:"contain",type:"image",svgName:"gp-image-contain"}],devices:e("cover")},{id:"itemSpacing",label:"Gallery Item Spacing",type:"input:slider",units:["px"],devices:{desktop:{default:"8px"}}},{id:"corner",type:"radius-preset",label:"Corner",default:{btrr:"0px",bblr:"0px",bbrr:"0px",btlr:"0px",radiusType:"none"},state:{hover:!0,normal:!0}}];export{i as productGalleryImageSetting,t as productGalleryImageStyle};
1
+ import{PRODUCT_IMAGES_DRAG_TO_SCROLL_DEFAULT as e}from"../../../../helpers/productImagesDrag.js";let i=e=>({desktop:{default:e}}),t=[{id:"type",label:"Gallery Type",type:"segment",hide:!0,options:[{label:"Slide",value:"slider"},{label:"All",value:"images"}],devices:i("slider")},{id:"galleryHoverEffect",label:"Hover Effect",type:"select",hide:!0,hideOnMode:{mobileOnly:!0},options:[{title:"None",value:"none"},{title:"Zoom",value:"zoom"}],default:"none"},{id:"galleryZoomType",type:"select",label:"Zoom Type",hide:!0,default:"default",hideOnMode:{mobileOnly:!0},options:[{title:"Default",value:"default"},{title:"Glasses",value:"glasses"}]},{id:"galleryZoom",type:"input:slider",label:"Zoom Value",min:100,max:200,step:10,default:150,units:["%"],useOnlyUnitInit:!0,isNumber:!0},{id:"clickOpenLightBox",label:"Large view in pop-up",type:"select",options:[{label:"View in featured",value:!1},{label:"Open Gallery",value:!0}],devices:i(!1)},{id:"borderActive",label:"Active border",type:"border",default:{borderType:"none",border:"solid",borderWidth:"1px",width:"1px 1px 1px 1px",isCustom:!1,color:"line-3"},compoDefaultValue:{borderType:"none",border:"solid",borderWidth:"1px",width:"1px 1px 1px 1px",isCustom:!1,color:"line-3"}},{id:"navigationPosition",label:"Navigation",type:"option:illustration",enableTooltip:!0,options:[{label:"No navigation",value:"none",type:"slide-control",hide:!0},{label:"Outside",value:"outside",type:"slide-control",svgName:"gp-slide-control-outside"},{label:"Inside",value:"inside",type:"slide-control",svgName:"gp-slide-control-inside"}],devices:i("inside")},{id:"loop",type:"toggle",devices:i(!0)},{id:"pauseOnHover",label:"Pause On Hover",type:"toggle",hide:!0,default:!0},{id:"speed",type:"input:slider",label:"Speed (s)",hide:!0,min:0,max:60,step:1,default:1},{id:"arrowIcon",type:"icon",hide:!0,label:"Custom Arrow",info:"Choose from list or paste any SVG icon",default:`<svg height="20px" width="20px" data-name="caret-right-bold" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor" data-id="508817562042106216">
2
+ <path fill="currentColor" strokelinecap="round" strokelinejoin="round" d="M184.49,136.49l-80,80a12,12,0,0,1-17-17L159,128,87.51,56.49a12,12,0,1,1,17-17l80,80A12,12,0,0,1,184.49,136.49Z"></path></svg>`},{id:"arrowIconSize",label:"Number per show",type:"input:stepper",min:1,devices:{desktop:{default:16}}},{id:"arrowIconColor",label:"Icon color",type:"color-picker-v2",default:"text-1"},{id:"dragToScroll",label:"Drag to scroll",type:"toggle",hide:!0,default:e},{id:"arrowNavColor",label:"Nav. color",type:"color-picker-v2",default:"bg-3",compoDefaultValue:"bg-3"},{id:"arrowNavSize",type:"size-setting",settingConfig:{width:{name:"Width",units:["px"],displayOptions:["auto"]},height:{name:"Height",units:["px"],displayOptions:["auto"]}},default:{width:"Auto",height:"Auto",padding:{top:"12px",bottom:"12px",left:"12px",right:"12px"},shapeLinked:!0,shape:"square",shapeValue:"1/1"},hiddenSettings:["gap","padding","proportion"]},{id:"arrowNavBorder",label:"Nav. border",type:"border",default:{borderType:"none",border:"none",borderWidth:"1px",width:"1px 1px 1px 1px",isCustom:!1}},{id:"arrowNavRadius",label:"Nav. corner",type:"radius-preset",default:{btrr:"9999px",bblr:"9999px",bbrr:"9999px",btlr:"9999px",radiusType:"circle"}},{id:"arrowNavShadow",type:"shadow-v2",default:{type:"shadow-1",distance:"4px",blur:"12px",spread:"0px",color:"rgba(0, 0, 0, 0.20)",angle:90,enable:!1}}],l=[{id:"shape",type:"size-setting",label:"",devices:{desktop:{default:{shape:"square",shapeValue:"1/1",width:"100%",height:void 0,shapeLinked:!0}}},settingConfig:{width:{displayOptions:["full"]}},hiddenSettings:["padding","gap"]},{id:"shapeForFtOnly",type:"size-setting",label:"",devices:{desktop:{default:{shape:"square",shapeValue:"1/1",width:"100%",height:void 0,shapeLinked:!0}}},settingConfig:{width:{displayOptions:["full"]}},hiddenSettings:["padding","gap"]},{id:"shapeForBottom",type:"size-setting",label:"",devices:{desktop:{default:{shape:"square",shapeValue:"1/1",width:"20%",height:void 0,shapeLinked:!0}}},settingConfig:{width:{displayOptions:["full","small","medium","large"],sizeConfig:{small:"10%",medium:"20%",large:"25%"}}},hiddenSettings:["padding","gap"]},{id:"shapeForInsideBottom",type:"size-setting",label:"",devices:{desktop:{default:{shape:"square",shapeValue:"1/1",width:"20%",height:void 0,shapeLinked:!0}}},settingConfig:{width:{displayOptions:["small","medium","large"],sizeConfig:{small:"10%",medium:"20%",large:"25%"}}},hiddenSettings:["padding","gap"]},{id:"shapeForInside",type:"size-setting",label:"",devices:{desktop:{default:{shape:"square",shapeValue:"1/1",width:"20%",height:void 0,shapeLinked:!0}}},settingConfig:{width:{displayOptions:["small","medium","large"],sizeConfig:{small:"10%",medium:"20%",large:"25%"}}},hiddenSettings:["padding","gap"]},{id:"shapeFor2Col",type:"size-setting",label:"",devices:{desktop:{default:{shape:"square",shapeValue:"1/1",width:"50%",height:void 0,shapeLinked:!0}}},settingConfig:{width:{displayOptions:["full","small","medium","large"],sizeConfig:{small:"25%",medium:"33%",large:"50%"}}},hiddenSettings:["padding","gap"]},{id:"shapeFor1Col",type:"size-setting",label:"",devices:{desktop:{default:{shape:"square",shapeValue:"1/1",width:"100%",height:void 0,shapeLinked:!0}}},settingConfig:{width:{displayOptions:["full","small","medium","large"],sizeConfig:{small:"25%",medium:"33%",large:"50%"}}},hiddenSettings:["padding","gap"]},{id:"layout",type:"option:illustration",enableTooltip:!0,label:"Image scale",options:[{label:"Fill image",value:"cover",type:"image",svgName:"gp-image-cover"},{label:"Fit image",value:"contain",type:"image",svgName:"gp-image-contain"}],devices:i("cover")},{id:"itemSpacing",label:"Gallery Item Spacing",type:"input:slider",units:["px"],devices:{desktop:{default:"8px"}}},{id:"corner",type:"radius-preset",label:"Corner",default:{btrr:"0px",bblr:"0px",bbrr:"0px",btlr:"0px",radiusType:"none"},state:{hover:!0,normal:!0}}];export{t as productGalleryImageSetting,l as productGalleryImageStyle};
@@ -1 +1 @@
1
- import{productSelectDisplaySetting as e,productFeatureImageSetting as t,productFeatureImageStyle as l}from"./ProductFeatureImage.js";import{productGalleryImageSetting as a,productGalleryImageStyle as i}from"./ProductGalleryImage.js";let o=[{id:"setting",controls:[{id:"filterByVariant",type:"select",label:"Filter images by variant",default:"all_images",options:[{label:"All images",value:"all_images"},{label:"Selected variant",value:"selected_variant"}]},{id:"displayByVariant",label:"Option Label",type:"toggle",default:!1},{id:"variantSelect",type:"variant:listing"},{id:"select-display",type:"group",label:"Select images to display",controls:e},{id:"featured-image",type:"group",label:"Featured Image",controls:t},{id:"gallery-images",type:"group",label:"Gallery Images",controls:a},{id:"qualityType",type:"select",label:"Quality",devices:{desktop:{default:"high"}},options:[{title:"Finest",value:"finest"},{title:"High",value:"high"},{title:"Medium",value:"medium"},{title:"Custom",value:"custom",tooltip:"You can choose it for advanced page loading optimization."}]},{id:"preload",type:"toggle",label:"Preload",default:!1},{id:"qualityPercent",type:"input:slider",label:"",units:["%"],min:100,max:400,step:50,useOnlyUnitInit:!0,devices:{desktop:{default:100}}}]},{id:"style",controls:[{id:"position",label:"Layout",type:"layout-selector",iconViewBox:"0 0 50 50",enableItemBackground:!0,itemPerRow:3,itemSpacing:"large",enableItemOpacity:!0,options:[{label:"Featured top",value:"bottom-center",type:"p-image-layout",iconName:"gp-product-image-layout-bottom"},{label:"Featured right",value:"left",type:"p-image-layout",iconName:"gp-product-image-layout-left"},{label:"Featured left",value:"right",type:"p-image-layout",iconName:"gp-product-image-layout-right"},{label:"Image list inside bottom",value:"inside-bottom",type:"p-image-layout",iconName:"gp-product-image-layout-bottom-inside"},{label:"Image list inside left",value:"inside-left",type:"p-image-layout",iconName:"gp-product-image-layout-left-inside"},{label:"Image list inside right",value:"inside-right",type:"p-image-layout",iconName:"gp-product-image-layout-right-inside"},{label:"Featured only",value:"only-feature",type:"p-image-layout",iconName:"gp-product-image-layout-featured-only"},{label:"Image list 1 col",value:"one-col",type:"p-image-layout",iconName:"gp-product-image-layout-one-col",noPadding:"y"},{label:"Image list 2 col",value:"two-col",type:"p-image-layout",iconName:"gp-product-image-layout-two-col"}],devices:{desktop:{default:"bottom-center"},mobile:{default:"bottom-center"}}},{id:"spacing",label:"Spacing Item",type:"input:slider",units:["px"],ignoreMax:!0,max:40,devices:{desktop:{default:"8px"}}},{id:"ratioLayout",label:"Ratio",type:"column-with-slider",fallbackArrayValue:[2,10],devices:{desktop:{default:[2,10]}}},{id:"ratioLayoutRight",label:"Ratio",type:"column-with-slider",fallbackArrayValue:[10,2],devices:{desktop:{default:[10,2]}}},{id:"dimensions",type:"group",label:"Featured Image",controls:l},{id:"galleryStyles",type:"group",label:"Gallery",controls:i},{id:"align",label:"Alignment",type:"segment",options:[{label:"Start",value:"flex-start",type:"align-flex",tooltip:"Align left"},{label:"Center",value:"center",type:"align-flex",tooltip:"Align center"},{label:"End",value:"flex-end",type:"align-flex",tooltip:"Align right"}],devices:{desktop:{default:"flex-start"}}}]}];export{o as ProductImageSettingsV2};
1
+ import{productSelectDisplaySetting as e,productFeatureImageSetting as t,productFeatureImageStyle as l}from"./ProductFeatureImage.js";import{productGalleryImageSetting as a,productGalleryImageStyle as i}from"./ProductGalleryImage.js";let o=[{id:"setting",controls:[{id:"filterByVariant",type:"select",label:"Filter images by variant",default:"all_images",options:[{label:"All images",value:"all_images"},{label:"Selected variant",value:"selected_variant"}]},{id:"displayByVariant",label:"Option Label",type:"toggle",default:!1},{id:"variantSelect",type:"variant:listing"},{id:"select-display",type:"group",label:"Select images to display",controls:e},{id:"featured-image",type:"group",label:"Featured Image",controls:t},{id:"gallery-images",type:"group",label:"Gallery Images",controls:a},{id:"qualityType",type:"select",label:"Quality",devices:{desktop:{default:"high"}},options:[{title:"Finest",value:"finest"},{title:"High",value:"high"},{title:"Medium",value:"medium"},{title:"Custom",value:"custom",tooltip:"You can choose it for advanced page loading optimization."}]},{id:"preload",type:"toggle",label:"Preload",default:!1},{id:"qualityPercent",type:"input:slider",label:"",units:["%"],min:20,max:400,step:200,useOnlyUnitInit:!0,devices:{desktop:{default:100}}}]},{id:"style",controls:[{id:"position",label:"Layout",type:"layout-selector",iconViewBox:"0 0 50 50",enableItemBackground:!0,itemPerRow:3,itemSpacing:"large",enableItemOpacity:!0,options:[{label:"Featured top",value:"bottom-center",type:"p-image-layout",iconName:"gp-product-image-layout-bottom"},{label:"Featured right",value:"left",type:"p-image-layout",iconName:"gp-product-image-layout-left"},{label:"Featured left",value:"right",type:"p-image-layout",iconName:"gp-product-image-layout-right"},{label:"Image list inside bottom",value:"inside-bottom",type:"p-image-layout",iconName:"gp-product-image-layout-bottom-inside"},{label:"Image list inside left",value:"inside-left",type:"p-image-layout",iconName:"gp-product-image-layout-left-inside"},{label:"Image list inside right",value:"inside-right",type:"p-image-layout",iconName:"gp-product-image-layout-right-inside"},{label:"Featured only",value:"only-feature",type:"p-image-layout",iconName:"gp-product-image-layout-featured-only"},{label:"Image list 1 col",value:"one-col",type:"p-image-layout",iconName:"gp-product-image-layout-one-col",noPadding:"y"},{label:"Image list 2 col",value:"two-col",type:"p-image-layout",iconName:"gp-product-image-layout-two-col"}],devices:{desktop:{default:"bottom-center"},mobile:{default:"bottom-center"}}},{id:"spacing",label:"Spacing Item",type:"input:slider",units:["px"],ignoreMax:!0,max:40,devices:{desktop:{default:"8px"}}},{id:"ratioLayout",label:"Ratio",type:"column-with-slider",fallbackArrayValue:[2,10],devices:{desktop:{default:[2,10]}}},{id:"ratioLayoutRight",label:"Ratio",type:"column-with-slider",fallbackArrayValue:[10,2],devices:{desktop:{default:[10,2]}}},{id:"dimensions",type:"group",label:"Featured Image",controls:l},{id:"galleryStyles",type:"group",label:"Gallery",controls:i},{id:"align",label:"Alignment",type:"segment",options:[{label:"Start",value:"flex-start",type:"align-flex",tooltip:"Align left"},{label:"Center",value:"center",type:"align-flex",tooltip:"Align center"},{label:"End",value:"flex-end",type:"align-flex",tooltip:"Align right"}],devices:{desktop:{default:"flex-start"}}}]}];export{o as ProductImageSettingsV2};
@@ -1 +1 @@
1
- import{ImageListNavigation as i}from"./ui/ImageListNavigation.js";import{FeatureNavigation as o}from"./ui/FeatureNavigation.js";import{FeatureDots as t}from"./ui/FeatureDots.js";let e='((type == "slider" || position == "left" || position == "right") && position !== "one-col" && position != "two-col")',n='(["bottom-center", "left", "right", "only-feature", "inside-bottom", "inside-left", "inside-right"].includes(position))',l=[{label:"Layout",controls:[{layout:"vertical",setting:{id:"position"},options:{isComboLayout:!0},controls:[{label:"Ratio",type:"control",setting:{id:"ratioLayout"},layout:"vertical",conditionDisplay:'position == "left"'},{label:"Ratio",type:"control",setting:{id:"ratioLayoutRight"},layout:"vertical",conditionDisplay:'position == "right"'}]}]},{label:"Featured image",conditionDisplay:n,controls:[{setting:{id:"ftShape"},hiddenOnMobile:!0,layout:"vertical",controlChangeTrigger:{settings:[{condition:"ftShape.shape === 'original'",source:["ftShape"],action:{controlId:"ftLayout",newValue:"contain",groupType:"style",controlType:"style"}}],options:{noRecordHistory:!0}}},{conditionDisplay:"ftShape.shape !== 'original'",label:"Image scale",setting:{id:"ftLayout"}},{...t,hiddenOnMobile:!0,conditionDisplay:`${n} && position === "only-feature"`},{...o,hiddenOnMobile:!0,conditionDisplay:`${n}`}],moreSettings:{type:"collapse",controls:[{label:"Corner",setting:{id:"ftCorner"},hiddenOnMobile:!0},{type:"combo",label:"Hover action",conditionDisplay:n,iconName:"gp-trigger-action-hover",getValueFromSettingID:"hoverEffect",isShowSettingTitle:!0,defaultValueWhenClear:"none",compoDefaultValue:"zoom",hiddenOnMobile:!0,controls:[{label:"When hover",setting:{id:"hoverEffect"}},{label:"Zoom type",conditionDisplay:'hoverEffect == "zoom"',setting:{id:"zoomType"}},{label:"Zoom value",conditionDisplay:'hoverEffect == "zoom"',setting:{id:"zoom"}},{label:"Other image",conditionDisplay:'hoverEffect == "other"',setting:{id:"otherImage"}}]},{type:"combo",label:"Click action",hiddenOnMobile:!0,iconName:"gp-trigger-action-click",conditionDisplay:n,getValueFromSettingID:"ftClickOpenLightBox",isShowSettingTitle:!0,defaultValueWhenClear:"none",compoDefaultValue:"popup",controls:[{label:"After click",setting:{id:"ftClickOpenLightBox"}},{label:"Open new tab",setting:{id:"ftClickOpenNewTab"},conditionDisplay:'ftClickOpenLightBox === "product-link"'}]},{type:"control",label:"Slide speed",setting:{id:"ftAnimationSpeed"}},{type:"control",label:"Animation",setting:{id:"ftAnimationMode"}},{label:"Drag / swipe",setting:{id:"ftDragToScroll"}},{label:"Infinity loop",setting:{id:"ftLoop"}}]}},{label:"Image list",conditionDisplay:'(position !== "only-feature")',controls:[{label:"Display",hiddenOnMobile:!0,conditionDisplay:'position === "bottom-center" || position === "bottom-left" || position === "inside-bottom"',setting:{id:"type"}},{setting:{id:"shape"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'["left", "right"].includes(position)'},{setting:{id:"shapeForBottom"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'["bottom-left", "bottom-center"].includes(position)'},{setting:{id:"shapeForInsideBottom"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'["inside-bottom"].includes(position)'},{setting:{id:"shapeForInside"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'["inside-left", "inside-right"].includes(position)'},{setting:{id:"shapeForFtOnly"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'position == "only-feature"'},{setting:{id:"shapeFor2Col"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'position == "two-col"'},{setting:{id:"shapeFor1Col"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'position == "one-col"'},{label:"Image gap",setting:{id:"itemSpacing"}},{conditionDisplay:"(position == 'one-col' && shapeFor1Col.shape !== 'original') || (position == 'two-col' && shapeFor2Col.shape !== 'original') || (position == 'only-feature' && shapeForFtOnly.shape !== 'original') || ([\"inside-left\", \"inside-right\"].includes(position) && shapeForInside.shape !== 'original') || ([\"inside-bottom\"].includes(position) && shapeForInsideBottom.shape !== 'original') || ([\"bottom-left\", \"bottom-center\"].includes(position) && shapeForBottom.shape !== 'original') || ([\"left\", \"right\"].includes(position) && shape.shape !== 'original')",label:"Image scale",setting:{id:"layout"}},{...i,hiddenOnMobile:!0,conditionDisplay:e}],moreSettings:{type:"collapse",controls:[{label:"Corner",hiddenOnMobile:!0,setting:{id:"corner"}},{label:"Active border",hiddenOnMobile:!0,conditionDisplay:'!["one-col", "two-col"].includes(position)',setting:{id:"borderActive"}},{type:"combo",label:"Hover action",conditionDisplay:'(position == "one-col" || position == "two-col")',iconName:"gp-trigger-action-hover",getValueFromSettingID:"galleryHoverEffect",defaultValueWhenClear:"none",hiddenOnMobile:!0,compoDefaultValue:"zoom",controls:[{label:"When hover",setting:{id:"galleryHoverEffect"},conditionDisplay:'galleryHoverEffect == "none"'},{label:"Zoom type",conditionDisplay:'galleryHoverEffect == "zoom"',setting:{id:"galleryZoomType"}},{label:"Zoom value",conditionDisplay:'galleryHoverEffect == "zoom"',setting:{id:"galleryZoom"}},{label:"Other image",conditionDisplay:'galleryHoverEffect == "other"',setting:{id:"otherImage"}}]},{label:"Click action",setting:{id:"clickOpenLightBox"}},{conditionDisplay:e,label:"Drag / swipe",setting:{id:"dragToScroll"}},{conditionDisplay:e,label:"Infinity loop",setting:{id:"loop"}}]}},{label:"Item spacing",hiddenOnMobile:!0,conditionDisplay:'["bottom-center", "left", "right", "inside-bottom", "inside-left", "inside-right"].includes(position)',controls:[{label:"Gap",setting:{id:"spacing"}}]},{label:"Display condition",controls:[{conditionDisplay:'["bottom-center", "left", "right", "only-feature", "inside-bottom", "inside-left", "inside-right"].includes(position)',label:"Default item",setting:{id:"preDisplay"}},{label:"Image list",setting:{id:"filterByVariant"}}],messageConfig:{type:"info",message:'Image list can display based on the selected variants. <a class="text-white" target="_blank" href="https://gempages.co/display-selected-variant">How to setup</a>'}},{label:"Optimize LCP",conditionDisplay:'pageType !== "STATIC"',controls:[{label:"Preload",conditionDisplay:'["bottom-center", "left", "right", "only-feature", "inside-bottom", "inside-left", "inside-right"].includes(position)',setting:{id:"preload"}},{label:"Quality",setting:{id:"qualityType"},conditionDisplay:'preload === false || (preload === true && (position === "one-col" || position === "two-col"))'},{layout:"horizontal",label:"Quality",conditionDisplay:'qualityType == "custom" && (preload === false || (preload === true && (position === "one-col" || position === "two-col")))',setting:{id:"qualityPercent"}}]},{hiddenOnMobile:!0,controls:[{label:"Align",setting:{id:"align"},options:{labelVariant:"primary"}}]}];export{l as SettingUIV2};
1
+ import{ImageListNavigation as i}from"./ui/ImageListNavigation.js";import{FeatureNavigation as o}from"./ui/FeatureNavigation.js";import{FeatureDots as t}from"./ui/FeatureDots.js";let e='((type == "slider" || position == "left" || position == "right") && position !== "one-col" && position != "two-col")',n='(["bottom-center", "left", "right", "only-feature", "inside-bottom", "inside-left", "inside-right"].includes(position))',l=[{label:"Layout",controls:[{layout:"vertical",setting:{id:"position"},options:{isComboLayout:!0},controls:[{label:"Ratio",type:"control",setting:{id:"ratioLayout"},layout:"vertical",conditionDisplay:'position == "left"'},{label:"Ratio",type:"control",setting:{id:"ratioLayoutRight"},layout:"vertical",conditionDisplay:'position == "right"'}]}]},{label:"Featured image",conditionDisplay:n,controls:[{setting:{id:"ftShape"},hiddenOnMobile:!0,layout:"vertical",controlChangeTrigger:{settings:[{condition:"ftShape.shape === 'original'",source:["ftShape"],action:{controlId:"ftLayout",newValue:"contain",groupType:"style",controlType:"style"}}],options:{noRecordHistory:!0}}},{conditionDisplay:"ftShape.shape !== 'original'",label:"Image scale",setting:{id:"ftLayout"}},{...t,hiddenOnMobile:!0,conditionDisplay:`${n} && position === "only-feature"`},{...o,hiddenOnMobile:!0,conditionDisplay:`${n}`}],moreSettings:{type:"collapse",controls:[{label:"Corner",setting:{id:"ftCorner"},hiddenOnMobile:!0},{type:"combo",label:"Hover action",conditionDisplay:n,iconName:"gp-trigger-action-hover",getValueFromSettingID:"hoverEffect",isShowSettingTitle:!0,defaultValueWhenClear:"none",compoDefaultValue:"zoom",hiddenOnMobile:!0,controls:[{label:"When hover",setting:{id:"hoverEffect"}},{label:"Zoom type",conditionDisplay:'hoverEffect == "zoom"',setting:{id:"zoomType"}},{label:"Zoom value",conditionDisplay:'hoverEffect == "zoom"',setting:{id:"zoom"}},{label:"Other image",conditionDisplay:'hoverEffect == "other"',setting:{id:"otherImage"}}]},{type:"combo",label:"Click action",hiddenOnMobile:!0,iconName:"gp-trigger-action-click",conditionDisplay:n,getValueFromSettingID:"ftClickOpenLightBox",isShowSettingTitle:!0,defaultValueWhenClear:"none",compoDefaultValue:"popup",controls:[{label:"After click",setting:{id:"ftClickOpenLightBox"}},{label:"Open new tab",setting:{id:"ftClickOpenNewTab"},conditionDisplay:'ftClickOpenLightBox === "product-link"'}]},{type:"control",label:"Slide speed",setting:{id:"ftAnimationSpeed"}},{type:"control",label:"Animation",setting:{id:"ftAnimationMode"}},{label:"Drag / swipe",setting:{id:"ftDragToScroll"}},{label:"Infinity loop",setting:{id:"ftLoop"}}]}},{label:"Image list",conditionDisplay:'(position !== "only-feature")',controls:[{label:"Display",hiddenOnMobile:!0,conditionDisplay:'position === "bottom-center" || position === "bottom-left" || position === "inside-bottom"',setting:{id:"type"}},{setting:{id:"shape"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'["left", "right"].includes(position)'},{setting:{id:"shapeForBottom"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'["bottom-left", "bottom-center"].includes(position)'},{setting:{id:"shapeForInsideBottom"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'["inside-bottom"].includes(position)'},{setting:{id:"shapeForInside"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'["inside-left", "inside-right"].includes(position)'},{setting:{id:"shapeForFtOnly"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'position == "only-feature"'},{setting:{id:"shapeFor2Col"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'position == "two-col"'},{setting:{id:"shapeFor1Col"},hiddenOnMobile:!0,layout:"vertical",conditionDisplay:'position == "one-col"'},{label:"Image gap",setting:{id:"itemSpacing"}},{conditionDisplay:"(position == 'one-col' && shapeFor1Col.shape !== 'original') || (position == 'two-col' && shapeFor2Col.shape !== 'original') || (position == 'only-feature' && shapeForFtOnly.shape !== 'original') || ([\"inside-left\", \"inside-right\"].includes(position) && shapeForInside.shape !== 'original') || ([\"inside-bottom\"].includes(position) && shapeForInsideBottom.shape !== 'original') || ([\"bottom-left\", \"bottom-center\"].includes(position) && shapeForBottom.shape !== 'original') || ([\"left\", \"right\"].includes(position) && shape.shape !== 'original')",label:"Image scale",setting:{id:"layout"}},{...i,hiddenOnMobile:!0,conditionDisplay:e}],moreSettings:{type:"collapse",controls:[{label:"Corner",hiddenOnMobile:!0,setting:{id:"corner"}},{label:"Active border",hiddenOnMobile:!0,conditionDisplay:'!["one-col", "two-col"].includes(position)',setting:{id:"borderActive"}},{type:"combo",label:"Hover action",conditionDisplay:'(position == "one-col" || position == "two-col")',iconName:"gp-trigger-action-hover",getValueFromSettingID:"galleryHoverEffect",defaultValueWhenClear:"none",hiddenOnMobile:!0,compoDefaultValue:"zoom",controls:[{label:"When hover",setting:{id:"galleryHoverEffect"},conditionDisplay:'galleryHoverEffect == "none"'},{label:"Zoom type",conditionDisplay:'galleryHoverEffect == "zoom"',setting:{id:"galleryZoomType"}},{label:"Zoom value",conditionDisplay:'galleryHoverEffect == "zoom"',setting:{id:"galleryZoom"}},{label:"Other image",conditionDisplay:'galleryHoverEffect == "other"',setting:{id:"otherImage"}}]},{label:"Click action",setting:{id:"clickOpenLightBox"}},{conditionDisplay:e,label:"Drag / swipe",setting:{id:"dragToScroll"}},{conditionDisplay:e,label:"Infinity loop",setting:{id:"loop"}}]}},{label:"Item spacing",hiddenOnMobile:!0,conditionDisplay:'["bottom-center", "left", "right", "inside-bottom", "inside-left", "inside-right"].includes(position)',controls:[{label:"Gap",setting:{id:"spacing"}}]},{label:"Display condition",controls:[{conditionDisplay:'["bottom-center", "left", "right", "only-feature", "inside-bottom", "inside-left", "inside-right"].includes(position)',label:"Default item",setting:{id:"preDisplay"}},{label:"Image list",setting:{id:"filterByVariant"}}],messageConfig:{type:"info",message:'Image list can display based on the selected variants. <a class="text-white" target="_blank" href="https://gempages.co/display-selected-variant">How to setup</a>'}},{label:"Optimize LCP",conditionDisplay:'pageType !== "STATIC"',controls:[{label:"Preload",setting:{id:"preload"}},{label:"Quality",setting:{id:"qualityType"}},{layout:"horizontal",label:"Quality",conditionDisplay:'qualityType == "custom"',setting:{id:"qualityPercent"}}]},{hiddenOnMobile:!0,controls:[{label:"Align",setting:{id:"align"},options:{labelVariant:"primary"}}]}];export{l as SettingUIV2};
@@ -1 +1 @@
1
- let t=(t,a,e)=>{let{displayByDefault:i,scarcityThreshold:s=0,template:l,outOfStockMessage:r,continueSelling:d,unlimitedQuantityMessage:o,hiddenCounterWhenOutOfStock:p}=a??{},{displayProgressBar:c,textColor:g,oosTextColor:n,typo:u}=e??{},y=u?.attrs?.color;return{"data-id":t?.uid??"","data-visible":"{{ should_display }}","data-policy":"{{ variant_policy_list | escape }}","gp-setting":JSON.stringify({displayByDefault:i,displayProgressBar:c,scarcityThreshold:s,template:l,outOfStockMessage:r,continueSelling:d,unlimitedQuantityMessage:o,color:g||"brand",hiddenCounterWhenOutOfStock:p,oosTextColor:n,typoColor:y}).replaceAll('"',"&#34;")}},a=()=>({"data-slot-type":"message"}),e=t=>({"data-id":t?.uid??""}),i=(t,a)=>({"data-slot-type":t?"oos-icon":"has-stock-icon","data-visible":a?"true":"false"});export{i as getIconAttrs,t as getLiquidTagAttrs,a as getLiquidTextAttrs,e as getWrapperAttrs};
1
+ import{getMainColor as t}from"./helpers.js";let e=(e,a,i)=>{let{displayByDefault:s,scarcityThreshold:l=0,template:r,outOfStockMessage:o,continueSelling:d,unlimitedQuantityMessage:p,hiddenCounterWhenOutOfStock:c}=a??{},{displayProgressBar:g,oosTextColor:n,typo:u}=i??{},y=u?.attrs?.color,m=t(i);return{"data-id":e?.uid??"","data-visible":"{{ should_display }}","data-policy":"{{ variant_policy_list | escape }}","gp-setting":JSON.stringify({displayByDefault:s,displayProgressBar:g,scarcityThreshold:l,template:r,outOfStockMessage:o,continueSelling:d,unlimitedQuantityMessage:p,color:m,hiddenCounterWhenOutOfStock:c,oosTextColor:n,typoColor:y}).replaceAll('"',"&#34;")}},a=()=>({"data-slot-type":"message"}),i=t=>({"data-id":t?.uid??""}),s=(t,e)=>({"data-slot-type":t?"oos-icon":"has-stock-icon","data-visible":e?"true":"false"});export{s as getIconAttrs,e as getLiquidTagAttrs,a as getLiquidTextAttrs,i as getWrapperAttrs};
@@ -1,12 +1,12 @@
1
- let e={AUTO:"auto",MANUAL:"manual"},a={SHOW:"show",HIDE:"hide"},i="%number%",t="mark",n=0,r=12,s=12,l=20,o=0,_=10,d=100,g=10,u=20,p=10,y=5,v=20,T="CONTINUE",c=e=>{let{templateStringDisplay:a,outOfStockMessageDisplay:i,continueSellingDisplay:t,unlimitedQuantityMessageDisplay:n}=e??{};return`{% if inventory_management == null and inventory_quantity <= 0 %}
1
+ import{isColor as e}from"@gem-sdk/core";let t={AUTO:"auto",MANUAL:"manual"},a={SHOW:"show",HIDE:"hide"},i="%number%",n="mark",r=0,s=12,l=12,o=20,_=0,d=10,g=100,u=10,p=20,y=10,v=5,T=20,c="CONTINUE",f=e=>{let{templateStringDisplay:t,outOfStockMessageDisplay:a,continueSellingDisplay:i,unlimitedQuantityMessageDisplay:n}=e??{};return`{% if inventory_management == null and inventory_quantity <= 0 %}
2
2
  ${n}
3
3
  {% elsif available == false %}
4
+ ${a}
5
+ {% elsif available and inventory_policy == '${c.toLowerCase()}' and inventory_quantity <= 0 %}
4
6
  ${i}
5
- {% elsif available and inventory_policy == '${T.toLowerCase()}' and inventory_quantity <= 0 %}
6
- ${t}
7
7
  {% else %}
8
- ${a}
9
- {% endif %}`},f=(e,a)=>{let{scarcityThreshold:i=0,hiddenCounterWhenOutOfStock:t,displayByDefault:n}=e??{},{displayProgressBar:r}=a??{},s=!!i&&i>0;return`{%- liquid
8
+ ${t}
9
+ {% endif %}`},$=(e,t)=>{let{scarcityThreshold:a=0,hiddenCounterWhenOutOfStock:i,displayByDefault:n}=e??{},{displayProgressBar:r}=t??{},s=!!a&&a>0;return`{%- liquid
10
10
  assign current_variant = variant
11
11
  assign available = current_variant.available | default: false
12
12
  assign inventory_management = current_variant.inventory_management | default: null
@@ -15,7 +15,7 @@ let e={AUTO:"auto",MANUAL:"manual"},a={SHOW:"show",HIDE:"hide"},i="%number%",t="
15
15
  assign scarcityThreshold = ${s}
16
16
  assign check_display = ${!!n}
17
17
 
18
- if inventory_management != null and available == false and inventory_quantity <= 0 and inventory_policy != '${T.toLowerCase()}'
18
+ if inventory_management != null and available == false and inventory_quantity <= 0 and inventory_policy != '${c.toLowerCase()}'
19
19
  assign is_out_of_stock = true
20
20
  else
21
21
  assign is_out_of_stock = false
@@ -23,13 +23,13 @@ let e={AUTO:"auto",MANUAL:"manual"},a={SHOW:"show",HIDE:"hide"},i="%number%",t="
23
23
 
24
24
  if check_display == true
25
25
  assign should_display = true
26
- elsif ${s} and inventory_quantity >= 0 and inventory_quantity < ${i}
26
+ elsif ${s} and inventory_quantity >= 0 and inventory_quantity < ${a}
27
27
  assign should_display = true
28
28
  else
29
29
  assign should_display = false
30
30
  endif
31
31
 
32
- if ${!0===t} and available == false
32
+ if ${!0===i} and available == false
33
33
  assign should_display = false
34
34
  endif
35
35
 
@@ -46,26 +46,26 @@ let e={AUTO:"auto",MANUAL:"manual"},a={SHOW:"show",HIDE:"hide"},i="%number%",t="
46
46
  "{{ variant.id }}_management":"{{ variant.inventory_management }}"{% if forloop.last == false %},{% endif %}
47
47
  {% endfor %}
48
48
  }
49
- {% endcapture %}`},$=(e,a)=>{let{templateStringDisplay:i,outOfStockMessageDisplay:t,continueSellingDisplay:n,unlimitedQuantityMessageDisplay:r}=e??{},{textColor:s}=a??{},l=s||"brand";return`
50
- <div class="gp-hidden gp-text-white gp-py-1 gp-px-2 gp-mr-1 gp-inline-block gp-my-[1px] gp-text-g-${l} gp-bg-g-${l}" >
49
+ {% endcapture %}`},E=e=>{let{textColor:t,typo:a}=e??{};return a?.attrs?.color||t||"text-2"},b=(t,a)=>{let{templateStringDisplay:i,outOfStockMessageDisplay:n,continueSellingDisplay:r,unlimitedQuantityMessageDisplay:s}=t??{},l=E(a),o=e(l)?"":`gp-text-g-${l} gp-bg-g-${l}`;return`
50
+ <div class="gp-hidden gp-text-white gp-py-1 gp-px-2 gp-mr-1 gp-inline-block gp-my-[1px] ${o}" >
51
51
  <div id="template">${i}</div>
52
- <div id="out-of-stock-message">${t}</div>
53
- <div id="continue-selling">${n}</div>
54
- <div id="unlimited-quantity-message">${r}</div>
55
- </div>`},b=(e,a)=>{let i=E(a);if(e)return`
52
+ <div id="out-of-stock-message">${n}</div>
53
+ <div id="continue-selling">${r}</div>
54
+ <div id="unlimited-quantity-message">${s}</div>
55
+ </div>`},m=(e,t)=>{let a=A(t);if(e)return`
56
56
  [data-id="${e}"] {
57
57
  .gp-sc-progress-bar{
58
- ${i}
58
+ ${a}
59
59
  }
60
60
  .gp-sc-progress-bar:before{
61
- ${i}
61
+ ${a}
62
62
  }
63
- }`},E=e=>`
63
+ }`},A=e=>`
64
64
  border-top-left-radius: ${e?.bbrr??"0px"};
65
65
  border-top-right-radius: ${e?.bblr??"0px"};
66
66
  border-bottom-left-radius: ${e?.btrr??"0px"};
67
- border-bottom-right-radius: ${e?.btlr??"0px"};`,m=(e,a)=>{if(!e.includes(`<${t}>`))return e;let i="gp-text-white gp-py-1 gp-px-2 gp-mr-1 gp-inline-block gp-my-[1px]",n=`<${t}>`;return n=a.includes("#")?`
68
- <${t} class='${i}' style='background-color: ${a}'>
67
+ border-bottom-right-radius: ${e?.btlr??"0px"};`,N=(t,a)=>{if(!t.includes(`<${n}>`))return t;let i="gp-text-white gp-py-1 gp-px-2 gp-mr-1 gp-inline-block gp-my-[1px]",r=`<${n}>`;return r=e(a)?`
68
+ <${n} class='${i}' style='background-color: ${a}'>
69
69
  `:`
70
- <${t} class='${i} gp-bg-g-${a}'>
71
- `,e.replaceAll(`<${t}>`,n)},A=(e,a,t)=>{if(!e.includes(i))return e;let n="";return n=a.includes("#")?`<span style='--c: ${a}'><$quantity$></span>`:`<span class='gp-text-g-${a}'><$quantity$></span>`,t&&(n=n.replace("<$quantity$>",t.toString())),e.replaceAll(i,n)},N=e=>{let a={};return e["--size"]&&(a["--w"]=e["--size"]),e["--size-tablet"]&&(a["--w-tablet"]=e["--size-tablet"]),e["--size-mobile"]&&(a["--w-mobile"]=e["--size-mobile"]),a};export{T as CONTINUE_SELLING_WHEN_OUT_OF_STOCK,u as DEFAULT_FONT_SIZE,t as DEFAULT_HIGHLIGHT_TAG,p as DEFAULT_PROGRESS_BAR_HEIGHT,i as DEFAULT_QUANTITY_TEMPLATE,g as DEFAULT_RANGE_STEP,l as DEFAULT_REMAINING_PERCENT,s as DEFAULT_REMAINING_QUANTITY,r as DEFAULT_SCARCITY_THRESHOLD,v as MAX_PROGRESS_BAR_HEIGHT,d as MAX_REMAINING_PERCENT,y as MIN_PROGRESS_BAR_HEIGHT,_ as MIN_REMAINING_PERCENT,o as MIN_REMAINING_QUANTITY,n as NO_PRODUCT_LEFT,a as OUT_OF_STOCK,e as QUANTITY_SOURCE,N as convertSizeToWidth,b as getInlineCss,f as getLiquidInitData,c as getLiquidTextContent,$ as getTextDisplayData,m as transformHighlighTag,A as transformNumberTag};
70
+ <${n} class='${i} gp-bg-g-${a}'>
71
+ `,t.replaceAll(`<${n}>`,r)},I=(t,a,n)=>{if(!t.includes(i))return t;let r="";return r=e(a)?`<span style='--c: ${a}'><$quantity$></span>`:`<span class='gp-text-g-${a}'><$quantity$></span>`,n&&(r=r.replace("<$quantity$>",n.toString())),t.replaceAll(i,r)},R=e=>{let t={};return e["--size"]&&(t["--w"]=e["--size"]),e["--size-tablet"]&&(t["--w-tablet"]=e["--size-tablet"]),e["--size-mobile"]&&(t["--w-mobile"]=e["--size-mobile"]),t};export{c as CONTINUE_SELLING_WHEN_OUT_OF_STOCK,p as DEFAULT_FONT_SIZE,n as DEFAULT_HIGHLIGHT_TAG,y as DEFAULT_PROGRESS_BAR_HEIGHT,i as DEFAULT_QUANTITY_TEMPLATE,u as DEFAULT_RANGE_STEP,o as DEFAULT_REMAINING_PERCENT,l as DEFAULT_REMAINING_QUANTITY,s as DEFAULT_SCARCITY_THRESHOLD,T as MAX_PROGRESS_BAR_HEIGHT,g as MAX_REMAINING_PERCENT,v as MIN_PROGRESS_BAR_HEIGHT,d as MIN_REMAINING_PERCENT,_ as MIN_REMAINING_QUANTITY,r as NO_PRODUCT_LEFT,a as OUT_OF_STOCK,t as QUANTITY_SOURCE,R as convertSizeToWidth,m as getInlineCss,$ as getLiquidInitData,f as getLiquidTextContent,E as getMainColor,b as getTextDisplayData,N as transformHighlighTag,I as transformNumberTag};
@@ -1,4 +1,4 @@
1
- import{composeClasses as s,RenderIf as t,template as i,isLocalEnv as e,baseAssetURL as o}from"@gem-sdk/core";import{getContainerClasses as l,getLiquidTagClasses as c,getWrapperIconClasses as d,getOuterIconClasses as r,getIconClasses as a,getWrapperClasses as $,getTextClasses as p}from"../common/classes.js";import{getLiquidInitData as u,getInlineCss as n,getTextDisplayData as m,getLiquidTextContent as f}from"../common/helpers.js";import{getContainerStyles as v,getWrapperStyles as g,getIconStyles as k,getTextStyles as y}from"../common/styles.js";import{getDynamicSourceLocales as S,createSettingId as I,getSettingPreloadData as O}from"../../helpers.js";import{StockCounter as b}from"../settings/configs/translate.js";import{getLiquidTagAttrs as j,getLiquidTextAttrs as _,getIconAttrs as V}from"../common/attrs.js";import{createAttr as h,createStyle as E,createClass as M,LiquidIf as A}from"@gem-sdk/system";let C=({setting:C,styles:G,style:Q,advanced:R,builderProps:x,pageContext:N})=>{let{borderRadius:P}=G??{},{showIcon:T,icon:q,oosIcon:w,layout:z="full",template:B,outOfStockMessage:D,continueSelling:F,unlimitedQuantityMessage:H}=C??{},J=n(x?.uid,P),K=S({val:B,uid:x?.uid,settingId:I({id:b?.template?.id}),pageContext:N,isReplaceInventoryQuantity:!0}),L=S({val:D,uid:x?.uid,settingId:I({id:b?.outOfStockMessage?.id}),pageContext:N}),U=S({val:F,uid:x?.uid,settingId:I({id:b?.continueSelling?.id}),pageContext:N}),W=S({val:H,uid:x?.uid,settingId:I({id:b?.unlimitedQuantityMessage?.id}),pageContext:N}),X=h({...j(x,C,G)}),Y=E({...v(G)}),Z=M({...l(C)}),ss=M({...c(R)}),st=E({...Q}),si=E({...g(G)}),se=u(C,G),so=f({templateStringDisplay:K,outOfStockMessageDisplay:L,continueSellingDisplay:U,unlimitedQuantityMessageDisplay:W}),sl=M({...d(C)}),sc=M({...s("gp-stock-counter-icon data-[visible=true]:gp-block data-[visible=false]:gp-hidden"),...a(),...r()}),sd=M({...$(C)}),sr=s=>E({...k(G,C,s)}),sa=({isOutOfStockIcon:s,isVisible:t})=>h({...V(s,t)}),s$=M({...p(G),...s("gp-stock-counter-mark")}),sp=s=>E({...y(G,s)}),su=h({..._()}),sn=m({templateStringDisplay:K,outOfStockMessageDisplay:L,continueSellingDisplay:U,unlimitedQuantityMessageDisplay:W},G);return i`
1
+ import{composeClasses as s,RenderIf as t,template as i,isLocalEnv as e,baseAssetURL as o}from"@gem-sdk/core";import{getContainerClasses as l,getLiquidTagClasses as c,getWrapperIconClasses as d,getOuterIconClasses as r,getIconClasses as a,getWrapperClasses as $,getTextClasses as p}from"../common/classes.js";import{getTextDisplayData as u,getLiquidInitData as n,getInlineCss as m,getLiquidTextContent as f}from"../common/helpers.js";import{getContainerStyles as v,getWrapperStyles as g,getIconStyles as k,getTextStyles as y}from"../common/styles.js";import{getDynamicSourceLocales as S,createSettingId as I,getSettingPreloadData as O}from"../../helpers.js";import{StockCounter as b}from"../settings/configs/translate.js";import{getLiquidTagAttrs as j,getLiquidTextAttrs as _,getIconAttrs as V}from"../common/attrs.js";import{createAttr as h,createStyle as E,createClass as M,LiquidIf as A}from"@gem-sdk/system";let C=({setting:C,styles:G,style:Q,advanced:R,builderProps:x,pageContext:N})=>{let{borderRadius:P}=G??{},{showIcon:T,icon:q,oosIcon:w,layout:z="full",template:B,outOfStockMessage:D,continueSelling:F,unlimitedQuantityMessage:H}=C??{},J=m(x?.uid,P),K=S({val:B,uid:x?.uid,settingId:I({id:b?.template?.id}),pageContext:N,isReplaceInventoryQuantity:!0}),L=S({val:D,uid:x?.uid,settingId:I({id:b?.outOfStockMessage?.id}),pageContext:N}),U=S({val:F,uid:x?.uid,settingId:I({id:b?.continueSelling?.id}),pageContext:N}),W=S({val:H,uid:x?.uid,settingId:I({id:b?.unlimitedQuantityMessage?.id}),pageContext:N}),X=h({...j(x,C,G)}),Y=E({...v(G)}),Z=M({...l(C)}),ss=M({...c(R)}),st=E({...Q}),si=E({...g(G)}),se=n(C,G),so=f({templateStringDisplay:K,outOfStockMessageDisplay:L,continueSellingDisplay:U,unlimitedQuantityMessageDisplay:W}),sl=M({...d(C)}),sc=M({...s("gp-stock-counter-icon data-[visible=true]:gp-block data-[visible=false]:gp-hidden"),...a(),...r()}),sd=M({...$(C)}),sr=s=>E({...k(G,C,s)}),sa=({isOutOfStockIcon:s,isVisible:t})=>h({...V(s,t)}),s$=M({...p(G),...s("gp-stock-counter-mark")}),sp=s=>E({...y(G,s)}),su=h({..._()}),sn=u({templateStringDisplay:K,outOfStockMessageDisplay:L,continueSellingDisplay:U,unlimitedQuantityMessageDisplay:W},G);return i`
2
2
  ${se}
3
3
  <gp-product-stock-counter ${{...X}} class="${ss}"
4
4
  style="${st}">
@@ -1 +1 @@
1
- import{NO_PRODUCT_LEFT as t,CONTINUE_SELLING_WHEN_OUT_OF_STOCK as e,transformHighlighTag as r,transformNumberTag as o}from"../common/helpers.js";import{useEditorMode as n,useCurrentVariant as a}from"@gem-sdk/core";import{useMemo as i}from"react";let u=(u,l)=>{let s=n(),{template:c,outOfStockMessage:y,continueSelling:d,unlimitedQuantityMessage:m}=u??{},{textColor:f}=l??{},p=f||"brand",h=a(),k=i(()=>Number(h?h.inventoryQuantity:0),[h]),C=!h||h.manageInventory,O=h?h.inventoryPolicy:"deny",g=C&&k<=t&&O!==e,v=O===e&&k<=t,S=!C&&m;function b(){return S?r(m,p):g?r(y||"",p):v?r(d||"",p):r(o(c||"",p,k),p)}let B=i(()=>{if("edit"===s)return!1;let t=!u?.displayByDefault&&k>=(u?.scarcityThreshold??0),e=u?.hiddenCounterWhenOutOfStock&&g;return t||e},[k,g,s,u?.displayByDefault,u?.hiddenCounterWhenOutOfStock,u?.scarcityThreshold]);return{outputMessage:()=>{let t=l?.typo?.attrs?.transform==="capitalize";return t?b()?.toLocaleLowerCase():b()},isOutOfStock:g,inventoryQuantity:k,shouldHideCounter:B}};export{u as useStockCounter};
1
+ import{useEditorMode as t,useCurrentVariant as e}from"@gem-sdk/core";import{useMemo as r}from"react";import{NO_PRODUCT_LEFT as o,CONTINUE_SELLING_WHEN_OUT_OF_STOCK as n,transformHighlighTag as i,transformNumberTag as u,getMainColor as a}from"../common/helpers.js";let l=(l,s)=>{let c=t(),{template:y,outOfStockMessage:m,continueSelling:d,unlimitedQuantityMessage:f}=l??{},p=a(s),h=e(),k=r(()=>Number(h?h.inventoryQuantity:0),[h]),C=!h||h.manageInventory,O=h?h.inventoryPolicy:"deny",g=C&&k<=o&&O!==n,v=O===n&&k<=o,S=!C&&f;function B(){return S?i(f,p):g?i(m||"",p):v?i(d||"",p):i(u(y||"",p,k),p)}let D=r(()=>{if("edit"===c)return!1;let t=!l?.displayByDefault&&k>=(l?.scarcityThreshold??0),e=l?.hiddenCounterWhenOutOfStock&&g;return t||e},[k,g,c,l?.displayByDefault,l?.hiddenCounterWhenOutOfStock,l?.scarcityThreshold]);return{outputMessage:()=>{let t=s?.typo?.attrs?.transform==="capitalize";return t?B()?.toLocaleLowerCase():B()},isOutOfStock:g,inventoryQuantity:k,shouldHideCounter:D}};export{l as useStockCounter};
@@ -1,13 +1,13 @@
1
- import{makeStyleResponsive as e,template as r}from"@gem-sdk/core";let t=e=>{if(!e)return"";let r="";return e.replace(/data-yotpo-instance-id ?= ?"([^"]+)"/gi,t=>(r=(r=(r=(r=t).replace("data-yotpo-instance-id=","")).replace(/['"]+/g,"")).replace(/["']+/g,""),e)),r},p=e=>{if(!e)return"";let r="";return(e.replace(/src ?= ?"([^"]+)"/gi,t=>(r=(r=(r=(r=t).replace("src=","")).replace(/['"]+/g,"")).replace(/["']+/g,""),e)),r)?r:""},l=(t,p,l)=>r`
1
+ import{makeStyleResponsive as e,template as t}from"@gem-sdk/core";let p=e=>{if(!e)return"";let t="";return e.replace(/data-yotpo-instance-id ?= ?"([^"]+)"/gi,p=>(t=(t=(t=(t=p).replace("data-yotpo-instance-id=","")).replace(/['"]+/g,"")).replace(/["']+/g,""),e)),t},r=e=>{if(!e)return"";let t="";return(e.replace(/src ?= ?"([^"]+)"/gi,p=>(t=(t=(t=(t=p).replace("src=","")).replace(/['"]+/g,"")).replace(/["']+/g,""),e)),t)?t:""},o=(p,r,o)=>t`
2
2
  {% assign app_blocks = section.blocks | where: "type", "@app" %}
3
3
  <div
4
- class="gp-flex gp-w-full gp-items-center ${l}"
5
- style="${{...e("jc",p)}}"
4
+ class="gp-flex gp-w-full gp-items-center ${o}"
5
+ style="${{...e("jc",r)}}"
6
6
  >
7
7
  {% for block in app_blocks %}
8
- {% if block.type == '@app' and block.id contains '${t}' %}
8
+ {% if block.type == '@app' and block.id contains '${p}' %}
9
9
  {% render block %}
10
10
  {% endif %}
11
11
  {% endfor %}
12
12
  </div>
13
- `,c=({handle:e})=>`https://help.gempages.net/articles/${e}`;export{c as get3rdPartyInstallLink,l as getLiquidForAppBlock,t as getYotpoFormCode,p as getYotpoUri};
13
+ `,a=({handle:e})=>`https://help.gempages.net/articles/${e}`,c=({handle:e})=>`https://apps.shopify.com/${e}`;export{c as get3rdPartyAppStoreLink,a as get3rdPartyInstallLink,o as getLiquidForAppBlock,p as getYotpoFormCode,r as getYotpoUri};
@@ -1,11 +1,36 @@
1
- import{makeStyleResponsive as o,template as t}from"@gem-sdk/core";let e=({setting:e,advanced:r})=>{let{widgetType:a,align:i}=e??{};return t`
1
+ import{makeStyleResponsive as e,template as t}from"@gem-sdk/core";let o=({setting:o,advanced:a})=>{let{widgetType:r,align:i}=o??{};return t`
2
2
  <div
3
- class="${r?.cssClass}"
4
- style="${{...o("ta",i)}}"
3
+ class="${a?.cssClass}"
4
+ style="${{...e("ta",i)}}"
5
5
  >
6
6
  <klarna-placement
7
- data-key=${(()=>{switch(a){case"topStripPromotionBadge":default:return"top-strip-promotion-badge";case"topStripPromotionAutoSize":return"top-strip-promotion-auto-size";case"footerPromotionAutoSize":return"footer-promotion-auto-size";case"infoPage":return"info-page";case"creditPromotionBadge":return"credit-promotion-badge";case"creditPromotionAutoSize":return"credit-promotion-auto-size"}})()}
7
+ data-key=${(()=>{switch(r){case"topStripPromotionBadge":default:return"top-strip-promotion-badge";case"topStripPromotionAutoSize":return"top-strip-promotion-auto-size";case"footerPromotionAutoSize":return"footer-promotion-auto-size";case"infoPage":return"info-page";case"creditPromotionBadge":return"credit-promotion-badge";case"creditPromotionAutoSize":return"credit-promotion-auto-size"}})()}
8
8
  data-locale={{ request.locale.iso_code }}-{{ localization.country.iso_code }}
9
9
  ></klarna-placement>
10
+ <script>
11
+ (function () {
12
+ var placement = document.currentScript.previousElementSibling;
13
+ var index = 0;
14
+ var id = 'gp-klarna-placement';
15
+ while (document.getElementById(id)) {
16
+ id = 'gp-klarna-placement-' + (++index);
17
+ }
18
+ placement.id = id;
19
+
20
+ // Register with the Shopify app so it initializes the SDK and validates the market.
21
+ var placements = window.klarnaAppBlocksManager || (window.appBlockPlacements ||= []);
22
+ placements.push({
23
+ selector: id,
24
+ dataKey: placement.getAttribute('data-key'),
25
+ productVariants: {{ product.variants | json | replace: '<', '\\u003c' }} || [],
26
+ templateName: {{ template.name | json }},
27
+ storefrontCurrency: {{ cart.currency.iso_code | json }},
28
+ storefrontCountry: {{ localization.country.iso_code | json }},
29
+ storefrontLanguage: {{ request.locale.iso_code | split: '-' | first | json }},
30
+ variantPrice: {{ product.selected_or_first_available_variant.price | default: 0 | append: '' | json }},
31
+ cartPrice: {{ cart.total_price | default: 0 | append: '' | json }}
32
+ });
33
+ })();
34
+ </script>
10
35
  </div>
11
- `};export{e as default};
36
+ `};export{o as default};
@@ -1,4 +1,4 @@
1
- import e from"../../configs/AftershipEmailMarketingsms.js";import{get3rdPartyInstallLink as t}from"../../common/helpers.js";import i from"./uiV2.js";let l={tag:e.tag,label:e.label,icon:'<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/b8bc9d365792ea16185361099864182c/icon/COb3zP2Pwv4CEAE=.png?width=22&height=22">',editorConfigs:{component:{isThirdParty:!0}},presets:[{id:e.id,name:e.label,hideTextContent:!0,icon:{desktop:`<div class="w-full flex flex-col items-center">
1
+ import e from"../../configs/AftershipEmailMarketingsms.js";import{get3rdPartyInstallLink as t,get3rdPartyAppStoreLink as i}from"../../common/helpers.js";import l from"./uiV2.js";let a={tag:e.tag,label:e.label,icon:'<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/b8bc9d365792ea16185361099864182c/icon/COb3zP2Pwv4CEAE=.png?width=22&height=22">',editorConfigs:{component:{isThirdParty:!0}},presets:[{id:e.id,name:e.label,hideTextContent:!0,icon:{desktop:`<div class="w-full flex flex-col items-center">
2
2
  <img class="w-24 border border-dark-200 rounded-medium" src="https://cdn.shopify.com/app-store/listing_images/b8bc9d365792ea16185361099864182c/icon/COb3zP2Pwv4CEAE=.png?width=22&height=22">
3
3
  <span class="preset-item-title">AfterShip Email Marketing,SMS</span>
4
- </div>`},components:[{tag:e.tag}]}],settings:[{id:"setting",controls:[{id:"appBlockId",type:"input",default:""},{id:"widgetType",label:"Choose widget",type:"select",options:[{label:"Embeded_form",value:"embeded_form"}],default:"embeded_form"},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:t({handle:"aftership-email-marketing-sms"}),appName:e.label},{id:"formId",type:"input",default:""},{id:"getFormId",type:"group"},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:"https://marketing.automizely.com",appName:e.label},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:[],uiV2:i};export{l as default};
4
+ </div>`},components:[{tag:e.tag}]}],settings:[{id:"setting",controls:[{id:"appBlockId",type:"input",default:""},{id:"widgetType",label:"Choose widget",type:"select",options:[{label:"Embeded_form",value:"embeded_form"}],default:"embeded_form"},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:t({handle:"aftership-email-marketing-sms"}),appName:e.label},{id:"formId",type:"input",default:""},{id:"getFormId",type:"group"},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:i({handle:"automizely-messages"}),appName:e.label},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:[],uiV2:l};export{a as default};
@@ -1,4 +1,4 @@
1
- import e from"../../configs/AirProductReviewsAppUgc.js";import{get3rdPartyInstallLink as i}from"../../common/helpers.js";import t from"./uiV2.js";let a={tag:e.tag,label:e.label,icon:'<img class="gp-w-6 gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/d636d73c74c4684a910d23211e0e6ddf/icon/CJbfpYa_9oYDEAE=.jpeg?width=22&height=22">',editorConfigs:{component:{isThirdParty:!0}},presets:[{id:e.id,name:e.label,hideTextContent:!0,icon:{desktop:`<div class="w-full flex flex-col items-center">
1
+ import e from"../../configs/AirProductReviewsAppUgc.js";import{get3rdPartyInstallLink as i,get3rdPartyAppStoreLink as t}from"../../common/helpers.js";import l from"./uiV2.js";let a={tag:e.tag,label:e.label,icon:'<img class="gp-w-6 gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/d636d73c74c4684a910d23211e0e6ddf/icon/CJbfpYa_9oYDEAE=.jpeg?width=22&height=22">',editorConfigs:{component:{isThirdParty:!0}},presets:[{id:e.id,name:e.label,hideTextContent:!0,icon:{desktop:`<div class="w-full flex flex-col items-center">
2
2
  <img class="w-24 border border-dark-200 rounded-medium" src="https://cdn.shopify.com/app-store/listing_images/d636d73c74c4684a910d23211e0e6ddf/icon/CJbfpYa_9oYDEAE=.jpeg?width=22&height=22">
3
3
  <span class="preset-item-title">Air: Product Reviews app & UGC</span>
4
- </div>`},components:[{tag:e.tag}]}],settings:[{id:"setting",controls:[{id:"install",type:"open-link",target:"_blank",linkType:"install",href:i({handle:"air-product-reviews-app-ugc"}),appName:e.label},{id:"widgetType",label:"Choose widget",type:"select",options:[{label:"Review box",value:"review_box"},{label:"Star Rating",value:"star_rating"},{label:"Review carousel",value:"review_carousel"}],default:"review_box"},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:"https://admin.shopify.com/?redirect=/apps/air-reviews-1",appName:e.label},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:[],uiV2:t};export{a as default};
4
+ </div>`},components:[{tag:e.tag}]}],settings:[{id:"setting",controls:[{id:"install",type:"open-link",target:"_blank",linkType:"install",href:i({handle:"air-product-reviews-app-ugc"}),appName:e.label},{id:"widgetType",label:"Choose widget",type:"select",options:[{label:"Review box",value:"review_box"},{label:"Star Rating",value:"star_rating"},{label:"Review carousel",value:"review_carousel"}],default:"review_box"},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:t({handle:"air-reviews"}),appName:e.label},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:[],uiV2:l};export{a as default};
@@ -1,6 +1,6 @@
1
- import{get3rdPartyInstallLink as e}from"../../common/helpers.js";import t from"../../configs/AliReviews.js";import l from"./uiV2.js";let i=[{value:"starRating",label:"Star Rating"},{value:"reviewBox",label:"Review box"}],a={tag:t.tag,label:t.label,icon:`<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="${t.logoUrl}?width=22&height=22">`,editorConfigs:{component:{isThirdParty:!0}},presets:[{id:t.id,name:t.label,hideTextContent:!0,icon:{desktop:`
1
+ import{get3rdPartyInstallLink as e,get3rdPartyAppStoreLink as l}from"../../common/helpers.js";import t from"../../configs/AliReviews.js";import i from"./uiV2.js";let a=[{value:"starRating",label:"Star Rating"},{value:"reviewBox",label:"Review box"}],n={tag:t.tag,label:t.label,icon:`<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="${t.logoUrl}?width=22&height=22">`,editorConfigs:{component:{isThirdParty:!0}},presets:[{id:t.id,name:t.label,hideTextContent:!0,icon:{desktop:`
2
2
  <div class="w-full flex flex-col items-center">
3
3
  <img class="w-24 border border-dark-200 rounded-medium" src="${t.logoUrl}?width=22&height=22">
4
4
  <span class="preset-item-title">${t.label}</span>
5
5
  </div>
6
- `},components:[{tag:t.tag}]}],settings:[{id:"setting",controls:[{id:"install",type:"open-link",target:"_blank",linkType:"install",href:e({handle:"ali-reviews-kudosi-reviews"}),appName:t.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:"https://admin.shopify.com/?redirect=/apps/ali-reviews",appName:t.label},{id:"widgetType",label:"Choose widget",type:"select",default:"starRating",options:i},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:[],uiV2:l};export{i as WidgetOptions,a as default};
6
+ `},components:[{tag:t.tag}]}],settings:[{id:"setting",controls:[{id:"install",type:"open-link",target:"_blank",linkType:"install",href:e({handle:"ali-reviews-kudosi-reviews"}),appName:t.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:l({handle:"ali-reviews"}),appName:t.label},{id:"widgetType",label:"Choose widget",type:"select",default:"starRating",options:a},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:[],uiV2:i};export{a as WidgetOptions,n as default};
@@ -1,4 +1,4 @@
1
- import{get3rdPartyInstallLink as e}from"../../common/helpers.js";import t from"../../configs/AlsoBoughtCbb.js";import i from"./uiV2.js";let l={tag:t.tag,label:t.label,icon:'<img class="gp-w-6 gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/55a595d2413473dd0c6e6a315690886a/icon/CITkod-6vf0CEAE=.png?width=22&height=22">',editorConfigs:{placeholder:{flowPage:"GP_PRODUCT"},component:{isThirdParty:!0}},presets:[{id:t.id,name:t.label,hideTextContent:!0,icon:{desktop:`<div class="w-full flex flex-col items-center">
1
+ import{get3rdPartyInstallLink as e,get3rdPartyAppStoreLink as t}from"../../common/helpers.js";import l from"../../configs/AlsoBoughtCbb.js";import i from"./uiV2.js";let a={tag:l.tag,label:l.label,icon:'<img class="gp-w-6 gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/55a595d2413473dd0c6e6a315690886a/icon/CITkod-6vf0CEAE=.png?width=22&height=22">',editorConfigs:{placeholder:{flowPage:"GP_PRODUCT"},component:{isThirdParty:!0}},presets:[{id:l.id,name:l.label,hideTextContent:!0,icon:{desktop:`<div class="w-full flex flex-col items-center">
2
2
  <img class="w-24 border border-dark-200 rounded-medium" src="https://cdn.shopify.com/app-store/listing_images/55a595d2413473dd0c6e6a315690886a/icon/CITkod-6vf0CEAE=.png?width=22&height=22">
3
3
  <span class="preset-item-title">Also Bought • CBB</span>
4
- </div>`},components:[{tag:t.tag}]}],settings:[{id:"setting",controls:[{id:"install",type:"open-link",target:"_blank",linkType:"install",href:e({handle:"also-bought-cbb"}),appName:t.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:"https://admin.shopify.com/?redirect=/apps/also-bought",appName:t.label},{id:"guideId",type:"group"},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:[],uiV2:i};export{l as default};
4
+ </div>`},components:[{tag:l.tag}]}],settings:[{id:"setting",controls:[{id:"install",type:"open-link",target:"_blank",linkType:"install",href:e({handle:"also-bought-cbb"}),appName:l.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:t({handle:"also-bought"}),appName:l.label},{id:"guideId",type:"group"},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:[],uiV2:i};export{a as default};
@@ -1,4 +1,4 @@
1
- import e from"../../configs/AovBundlesVolumeDiscounts.js";import l from"./uiV2.js";let t={tag:e.tag,label:e.label,icon:'<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/0cf2a4359de6605e10e663ebf70249cb/icon/CI6xy4Hqu44DEAE=.png?width=22&height=22">',editorConfigs:{placeholder:{flowTag:["Product"]},component:{isThirdParty:!0}},presets:[{id:e.id,name:e.label,hideTextContent:!0,icon:{desktop:`<div class="w-full flex flex-col items-center">
1
+ import{get3rdPartyAppStoreLink as e}from"../../common/helpers.js";import l from"../../configs/AovBundlesVolumeDiscounts.js";import t from"./uiV2.js";let i={tag:l.tag,label:l.label,icon:'<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/0cf2a4359de6605e10e663ebf70249cb/icon/CI6xy4Hqu44DEAE=.png?width=22&height=22">',editorConfigs:{placeholder:{flowTag:["Product"]},component:{isThirdParty:!0}},presets:[{id:l.id,name:l.label,hideTextContent:!0,icon:{desktop:`<div class="w-full flex flex-col items-center">
2
2
  <img class="w-24 border border-dark-200 rounded-medium" src="https://cdn.shopify.com/app-store/listing_images/0cf2a4359de6605e10e663ebf70249cb/icon/CI6xy4Hqu44DEAE=.png?width=22&height=22">
3
3
  <span class="preset-item-title">AOV Bundles Volume Discounts</span>
4
- </div>`},components:[{tag:e.tag}]}],settings:[{id:"setting",controls:[{id:"appBlockId",type:"input",default:""},{id:"widgetType",label:"Choose widget",type:"select",options:[{label:"AOV Bundle Builder",value:"offer-bundle-builder"},{label:"AOV Child Product List",value:"offer-fixed"},{label:"AOV Frequently Bought",value:"offer-inline"},{label:"AOV Mix Match Bundle",value:"mix-match-offer-inline"},{label:"AOV Volume Discount",value:"offer-volume"}],default:"offer-bundle-builder"},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:"",appName:e.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:"https://admin.shopify.com/?redirect=/apps/aov-bundle-upsell",appName:e.label},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:[],uiV2:l};export{t as default};
4
+ </div>`},components:[{tag:l.tag}]}],settings:[{id:"setting",controls:[{id:"appBlockId",type:"input",default:""},{id:"widgetType",label:"Choose widget",type:"select",options:[{label:"AOV Bundle Builder",value:"offer-bundle-builder"},{label:"AOV Child Product List",value:"offer-fixed"},{label:"AOV Frequently Bought",value:"offer-inline"},{label:"AOV Mix Match Bundle",value:"mix-match-offer-inline"},{label:"AOV Volume Discount",value:"offer-volume"}],default:"offer-bundle-builder"},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:"",appName:l.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:e({handle:"aov-bundle-upsell"}),appName:l.label},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:[],uiV2:t};export{i as default};
@@ -1,4 +1,4 @@
1
- import e from"../../configs/AovFreeGiftBuyXGetYBogo.js";import t from"./uiV2.js";let a={tag:e.tag,label:e.label,icon:'<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/b957b53ca225f32cac0ad2cd41f89a1f/icon/CI6dsMjDr4cDEAE=.png?width=22&height=22">',editorConfigs:{placeholder:{flowPage:"GP_PRODUCT"},component:{isThirdParty:!0}},presets:[{id:e.id,name:e.label,hideTextContent:!0,icon:{desktop:`<div class="w-full flex flex-col items-center">
1
+ import{get3rdPartyAppStoreLink as e}from"../../common/helpers.js";import t from"../../configs/AovFreeGiftBuyXGetYBogo.js";import a from"./uiV2.js";let i={tag:t.tag,label:t.label,icon:'<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/b957b53ca225f32cac0ad2cd41f89a1f/icon/CI6dsMjDr4cDEAE=.png?width=22&height=22">',editorConfigs:{placeholder:{flowPage:"GP_PRODUCT"},component:{isThirdParty:!0}},presets:[{id:t.id,name:t.label,hideTextContent:!0,icon:{desktop:`<div class="w-full flex flex-col items-center">
2
2
  <img class="w-24 border border-dark-200 rounded-medium" src="https://cdn.shopify.com/app-store/listing_images/b957b53ca225f32cac0ad2cd41f89a1f/icon/CI6dsMjDr4cDEAE=.png?width=22&height=22">
3
3
  <span class="preset-item-title">AOV Free Gift Buy X Get Y BOGO</span>
4
- </div>`},components:[{tag:e.tag}]}],settings:[{id:"setting",controls:[{id:"appBlockId",type:"input",default:""},{id:"widgetType",label:"Choose widget",type:"select",options:[{label:"AOV Promotion Card",value:"avada-promotion-card"}],default:"avada-promotion-card"},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:"",appName:e.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:"https://admin.shopify.com/?redirect=/apps/avada-upsell",appName:e.label},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:[],uiV2:t};export{a as default};
4
+ </div>`},components:[{tag:t.tag}]}],settings:[{id:"setting",controls:[{id:"appBlockId",type:"input",default:""},{id:"widgetType",label:"Choose widget",type:"select",options:[{label:"AOV Promotion Card",value:"avada-promotion-card"}],default:"avada-promotion-card"},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:"",appName:t.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:e({handle:"avada-upsell"}),appName:t.label},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:[],uiV2:a};export{i as default};
@@ -1,4 +1,4 @@
1
- import e from"../../configs/AppointmentBookingCowlendar.js";import{get3rdPartyInstallLink as t}from"../../common/helpers.js";import i from"./uiV2.js";let p={tag:e.tag,label:e.label,icon:'<img class="gp-w-6 gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/e297c43d07c087a231c656afcdca283f/icon/CP-e-oKX6PUCEAE=.png?width=22&height=22">',editorConfigs:{component:{isThirdParty:!0}},presets:[{id:e.id,name:e.label,hideTextContent:!0,icon:{desktop:`<div class="w-full flex flex-col items-center">
1
+ import e from"../../configs/AppointmentBookingCowlendar.js";import{get3rdPartyInstallLink as t,get3rdPartyAppStoreLink as i}from"../../common/helpers.js";import n from"./uiV2.js";let l={tag:e.tag,label:e.label,icon:'<img class="gp-w-6 gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/e297c43d07c087a231c656afcdca283f/icon/CP-e-oKX6PUCEAE=.png?width=22&height=22">',editorConfigs:{component:{isThirdParty:!0}},presets:[{id:e.id,name:e.label,hideTextContent:!0,icon:{desktop:`<div class="w-full flex flex-col items-center">
2
2
  <img class="w-24 border border-dark-200 rounded-medium" src="https://cdn.shopify.com/app-store/listing_images/e297c43d07c087a231c656afcdca283f/icon/CP-e-oKX6PUCEAE=.png?width=22&height=22">
3
3
  <span class="preset-item-title">Appointment Booking Cowlendar</span>
4
- </div>`},components:[{tag:e.tag}]}],settings:[{id:"setting",controls:[{id:"appBlockId",type:"input",default:""},{id:"widgetType",label:"Choose widget",type:"select",options:[{label:"App Section",value:"app-section"}],default:"app-section"},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:t({handle:"appointment-booking-cowlendar"}),appName:e.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:"https://admin.shopify.com/?redirect=/apps/cowlendar",appName:e.label},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:[],uiV2:i};export{p as default};
4
+ </div>`},components:[{tag:e.tag}]}],settings:[{id:"setting",controls:[{id:"appBlockId",type:"input",default:""},{id:"widgetType",label:"Choose widget",type:"select",options:[{label:"App Section",value:"app-section"}],default:"app-section"},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:t({handle:"appointment-booking-cowlendar"}),appName:e.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:i({handle:"cowlendar"}),appName:e.label},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:[],uiV2:n};export{l as default};
@@ -1,4 +1,4 @@
1
- import e from"../../configs/AppstleBundlesDiscounts.js";import{get3rdPartyInstallLink as l}from"../../common/helpers.js";import t from"./uiV2.js";let p={tag:e.tag,label:e.label,icon:'<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/855ee74552c1cca133c12a4364890912/icon/CO69r8mp0oQDEAE=.png?width=22&height=22">',editorConfigs:{placeholder:{flowTag:["Product"]},component:{isThirdParty:!0}},presets:[{id:e.id,name:e.label,hideTextContent:!0,icon:{desktop:`<div class="w-full flex flex-col items-center">
1
+ import e from"../../configs/AppstleBundlesDiscounts.js";import{get3rdPartyInstallLink as l,get3rdPartyAppStoreLink as t}from"../../common/helpers.js";import p from"./uiV2.js";let i={tag:e.tag,label:e.label,icon:'<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/855ee74552c1cca133c12a4364890912/icon/CO69r8mp0oQDEAE=.png?width=22&height=22">',editorConfigs:{placeholder:{flowTag:["Product"]},component:{isThirdParty:!0}},presets:[{id:e.id,name:e.label,hideTextContent:!0,icon:{desktop:`<div class="w-full flex flex-col items-center">
2
2
  <img class="w-24 border border-dark-200 rounded-medium" src="https://cdn.shopify.com/app-store/listing_images/855ee74552c1cca133c12a4364890912/icon/CO69r8mp0oQDEAE=.png?width=22&height=22">
3
3
  <span class="preset-item-title">Appstle℠ Bundles & Discounts</span>
4
- </div>`},components:[{tag:e.tag}]}],settings:[{id:"setting",controls:[{id:"appBlockId",type:"input",default:""},{id:"widgetType",label:"Choose widget",type:"select",options:[{label:"Classic Bundle",value:"appstle-classic-bundle"},{label:"Dynamic Bundle",value:"appstle-bundle-product-page-build-a-box"}],default:"appstle-classic-bundle"},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:l({handle:"appstle-bundles-discounts"}),appName:e.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:"https://admin.shopify.com/?redirect=/apps/855ee74552c1cca133c12a4364890912",appName:e.label},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:[],uiV2:t};export{p as default};
4
+ </div>`},components:[{tag:e.tag}]}],settings:[{id:"setting",controls:[{id:"appBlockId",type:"input",default:""},{id:"widgetType",label:"Choose widget",type:"select",options:[{label:"Classic Bundle",value:"appstle-classic-bundle"},{label:"Dynamic Bundle",value:"appstle-bundle-product-page-build-a-box"}],default:"appstle-classic-bundle"},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:l({handle:"appstle-bundles-discounts"}),appName:e.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:t({handle:"appstle-bundles"}),appName:e.label},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:[],uiV2:p};export{i as default};
@@ -1,4 +1,4 @@
1
- import e from"../../configs/AppstleLoyaltyRewardProgram.js";import{get3rdPartyInstallLink as l}from"../../common/helpers.js";import t from"./uiV2.js";let a={tag:e.tag,label:e.label,icon:`<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="${e.logoUrl}">`,editorConfigs:{component:{isThirdParty:!0}},presets:[{id:e.id,name:e.label,hideTextContent:!0,icon:{desktop:`<div class="w-full flex flex-col items-center">
1
+ import e from"../../configs/AppstleLoyaltyRewardProgram.js";import{get3rdPartyInstallLink as l,get3rdPartyAppStoreLink as t}from"../../common/helpers.js";import a from"./uiV2.js";let o={tag:e.tag,label:e.label,icon:`<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="${e.logoUrl}">`,editorConfigs:{component:{isThirdParty:!0}},presets:[{id:e.id,name:e.label,hideTextContent:!0,icon:{desktop:`<div class="w-full flex flex-col items-center">
2
2
  <img class="w-24 border border-dark-200 rounded-medium" src="${e.logoUrl}">
3
3
  <span class="preset-item-title">${e.label}</span>
4
- </div>`},components:[{tag:e.tag}]}],settings:[{id:"setting",controls:[{id:"install",type:"open-link",target:"_blank",linkType:"install",href:l({handle:"appstle-loyalty-reward-program"}),appName:e.label},{id:"widgetType",label:"Choose widget",type:"select",default:"loyalty_dedicated_page",options:[{label:"Loyalty Dedicated Page",value:"loyalty_dedicated_page"},{label:"Points Display on Product",value:"points_display_on_product",hideOnPage:["ARTICLE","BLOG","COLLECTION","GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_INDEX","GP_STATIC","STATIC"]},{label:"Points Display on Collections",value:"points_display_on_collections",hideOnPage:["ARTICLE","BLOG","GP_ARTICLE","GP_BLOG","GP_INDEX","GP_STATIC","STATIC"]}]},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:"https://admin.shopify.com/?redirect=/apps/appstle-loyalty",appName:e.label},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:[],uiV2:t};export{a as default};
4
+ </div>`},components:[{tag:e.tag}]}],settings:[{id:"setting",controls:[{id:"install",type:"open-link",target:"_blank",linkType:"install",href:l({handle:"appstle-loyalty-reward-program"}),appName:e.label},{id:"widgetType",label:"Choose widget",type:"select",default:"loyalty_dedicated_page",options:[{label:"Loyalty Dedicated Page",value:"loyalty_dedicated_page"},{label:"Points Display on Product",value:"points_display_on_product",hideOnPage:["ARTICLE","BLOG","COLLECTION","GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_INDEX","GP_STATIC","STATIC"]},{label:"Points Display on Collections",value:"points_display_on_collections",hideOnPage:["ARTICLE","BLOG","GP_ARTICLE","GP_BLOG","GP_INDEX","GP_STATIC","STATIC"]}]},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:t({handle:"appstle-loyalty"}),appName:e.label},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:[],uiV2:a};export{o as default};
@@ -1,6 +1,6 @@
1
- import e from"../../configs/AppstleSubscriptions.js";import{get3rdPartyInstallLink as t}from"../../common/helpers.js";import l from"./uiV2.js";let i={tag:e.tag,label:e.label,icon:`<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="${e.logoUrl}?width=22&height=22">`,editorConfigs:{component:{isThirdParty:!0},placeholder:{flowTag:["Product"]}},presets:[{id:e.id,name:e.label,hideTextContent:!0,icon:{desktop:`
1
+ import e from"../../configs/AppstleSubscriptions.js";import{get3rdPartyInstallLink as l,get3rdPartyAppStoreLink as t}from"../../common/helpers.js";import i from"./uiV2.js";let p={tag:e.tag,label:e.label,icon:`<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="${e.logoUrl}?width=22&height=22">`,editorConfigs:{component:{isThirdParty:!0},placeholder:{flowTag:["Product"]}},presets:[{id:e.id,name:e.label,hideTextContent:!0,icon:{desktop:`
2
2
  <div class="w-full flex flex-col items-center">
3
3
  <img class="w-24 border border-dark-200 rounded-medium" src="${e.logoUrl}?width=22&height=22">
4
4
  <span class="preset-item-title">${e.label}</span>
5
5
  </div>
6
- `},components:[{tag:e.tag}]}],settings:[{id:"setting",controls:[{id:"install",type:"open-link",target:"_blank",linkType:"install",href:t({handle:"appstle-subscriptions"}),appName:e.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:"https://admin.shopify.com/?redirect=/apps/subscription-by-rhem",appName:e.label},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:[],uiV2:l};export{i as default};
6
+ `},components:[{tag:e.tag}]}],settings:[{id:"setting",controls:[{id:"install",type:"open-link",target:"_blank",linkType:"install",href:l({handle:"appstle-subscriptions"}),appName:e.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:t({handle:"subscriptions-by-appstle"}),appName:e.label},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:[],uiV2:i};export{p as default};
@@ -1,4 +1,4 @@
1
- import{AppConfig as e}from"../../components/BestBuyFulfillment.js";import{get3rdPartyInstallLink as t}from"../../common/helpers.js";import l from"./uiV2.js";let i={tag:e.tag,label:e.label,icon:'<img class="gp-w-6 gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/cff02298a65798558a8b2ec125eaa1e4/icon/CKzimdrIrIcDEAE=.png?width=22&height=22">',editorConfigs:{placeholder:{flowTag:["Product"]},component:{isThirdParty:!0}},presets:[{id:e.id,name:e.label,hideTextContent:!0,icon:{desktop:`<div class="w-full flex flex-col items-center">
1
+ import{AppConfig as e}from"../../components/BestBuyFulfillment.js";import{get3rdPartyInstallLink as t,get3rdPartyAppStoreLink as l}from"../../common/helpers.js";import i from"./uiV2.js";let a={tag:e.tag,label:e.label,icon:'<img class="gp-w-6 gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/cff02298a65798558a8b2ec125eaa1e4/icon/CKzimdrIrIcDEAE=.png?width=22&height=22">',editorConfigs:{placeholder:{flowTag:["Product"]},component:{isThirdParty:!0}},presets:[{id:e.id,name:e.label,hideTextContent:!0,icon:{desktop:`<div class="w-full flex flex-col items-center">
2
2
  <img class="w-24 border border-dark-200 rounded-medium" src="https://cdn.shopify.com/app-store/listing_images/cff02298a65798558a8b2ec125eaa1e4/icon/CKzimdrIrIcDEAE=.png?width=22&height=22">
3
3
  <span class="preset-item-title">Best Buy Fulfillment</span>
4
- </div>`},components:[{tag:e.tag}]}],settings:[{id:"setting",controls:[{id:"appBlockId",type:"input",default:""},{id:"widgetType",label:"Choose widget",type:"select",options:[{label:"Pickup Selector",value:"pickup-selector"}],default:"pickup-selector"},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:t({handle:"best-buy-fullfilment"}),appName:e.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:"https://admin.shopify.com/?redirect=/apps/best-buy-fulfillment",appName:e.label},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:[],uiV2:l};export{i as default};
4
+ </div>`},components:[{tag:e.tag}]}],settings:[{id:"setting",controls:[{id:"appBlockId",type:"input",default:""},{id:"widgetType",label:"Choose widget",type:"select",options:[{label:"Pickup Selector",value:"pickup-selector"}],default:"pickup-selector"},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:t({handle:"best-buy-fullfilment"}),appName:e.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:l({handle:"best-buy-fulfillment"}),appName:e.label},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:[],uiV2:i};export{a as default};