yt-uikit 0.7.413 → 0.7.414-hide-progress.1

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 (232) hide show
  1. package/README.md +94 -94
  2. package/dist/esm/atoms/bundleBuilderProductDetailsAtom.d.ts +4 -4
  3. package/dist/esm/atoms/cartDataAtom.d.ts +3 -3
  4. package/dist/esm/atoms/cartLoadingAtom.d.ts +22 -22
  5. package/dist/esm/atoms/cartTimer.d.ts +2 -2
  6. package/dist/esm/atoms/couponSelectionOpenAtom.d.ts +3 -3
  7. package/dist/esm/atoms/dateAtom.d.ts +1 -1
  8. package/dist/esm/atoms/freebieClaimModalAtom.d.ts +7 -7
  9. package/dist/esm/atoms/giftWrap.d.ts +2 -2
  10. package/dist/esm/atoms/gstCompanyNameAtom.d.ts +1 -1
  11. package/dist/esm/atoms/gstInputAtom.d.ts +1 -1
  12. package/dist/esm/atoms/maxQtyErrorAtom.d.ts +3 -3
  13. package/dist/esm/atoms/multiClaimSelectionAtom.d.ts +19 -19
  14. package/dist/esm/atoms/noteInputAtom.d.ts +3 -3
  15. package/dist/esm/atoms/postalCodeAtom.d.ts +1 -1
  16. package/dist/esm/atoms/shippingAtom.d.ts +8 -8
  17. package/dist/esm/atoms/showGSTInputAtom.d.ts +1 -1
  18. package/dist/esm/atoms/variantSelectionModalAtom.d.ts +23 -23
  19. package/dist/esm/components/BundleBlock/Bundle.d.ts +388 -388
  20. package/dist/esm/components/BundleBlock/BundleBuilder/BundleBuilder.d.ts +39 -39
  21. package/dist/esm/components/BundleBlock/BundleBuilder/ResponsiveBgImage.d.ts +9 -9
  22. package/dist/esm/components/BundleBlock/BundleBuilder/VariantOptionsModal.d.ts +16 -16
  23. package/dist/esm/components/BundleBlock/BundleBuilder/bundleBuilder.style.d.ts +35 -37
  24. package/dist/esm/components/BundleBlock/BundleBuilderTracker/BundleBuilderTracker.d.ts +50 -50
  25. package/dist/esm/components/BundleBlock/BundleBuilderTracker/bundleBuilderTracker.style.d.ts +75 -77
  26. package/dist/esm/components/BundleBlock/BundleProductDetailsModal/BundleProductDetailsModal.d.ts +27 -27
  27. package/dist/esm/components/BundleBlock/BundleProductDetailsModal/bundleProductDetailsModal.style.d.ts +10 -10
  28. package/dist/esm/components/BundleBlock/CollectionBundle/ColllectionBundle.d.ts +103 -103
  29. package/dist/esm/components/BundleBlock/CollectionBundle/FileUpload.d.ts +15 -15
  30. package/dist/esm/components/BundleBlock/CollectionBundle/LoadingSpinner.d.ts +2 -2
  31. package/dist/esm/components/BundleBlock/CollectionBundle/ProductDetailsModal.d.ts +15 -15
  32. package/dist/esm/components/BundleBlock/ComboBundle.d.ts +16 -16
  33. package/dist/esm/components/BundleBlock/FixedBundle/FixedBundle.d.ts +4 -4
  34. package/dist/esm/components/BundleBlock/FixedBundle/SeparateVariantOptions.d.ts +39 -39
  35. package/dist/esm/components/BundleBlock/FixedBundle/VariantSelectorModal.d.ts +22 -22
  36. package/dist/esm/components/BundleBlock/FixedBundle/fixedBundle.style.d.ts +84 -90
  37. package/dist/esm/components/BundleBlock/Loader.d.ts +5 -5
  38. package/dist/esm/components/BundleBlock/MixAndMatchBundle/MixAndMatchBundle.d.ts +8 -8
  39. package/dist/esm/components/BundleBlock/MixAndMatchBundle/mixAndMatchBundle.style.d.ts +86 -86
  40. package/dist/esm/components/BundleBlock/VolumeBundle/VolumeBundle.d.ts +3 -3
  41. package/dist/esm/components/BundleBlock/VolumeBundle/volumeBundle.style.d.ts +78 -80
  42. package/dist/esm/components/BundleBlock/index.d.ts +1 -1
  43. package/dist/esm/components/Cart/ApplyCoupon.d.ts +12 -12
  44. package/dist/esm/components/Cart/Bundle.d.ts +6 -6
  45. package/dist/esm/components/Cart/Cart.d.ts +235 -235
  46. package/dist/esm/components/Cart/CartDrawer.d.ts +21 -21
  47. package/dist/esm/components/Cart/CartOffersCarousel.d.ts +45 -45
  48. package/dist/esm/components/Cart/CartProductsList.d.ts +45 -45
  49. package/dist/esm/components/Cart/CartTimer.d.ts +8 -8
  50. package/dist/esm/components/Cart/CheckoutSection.d.ts +38 -38
  51. package/dist/esm/components/Cart/CouponSelection.d.ts +25 -25
  52. package/dist/esm/components/Cart/DatePicker.d.ts +10 -10
  53. package/dist/esm/components/Cart/EmptyCart.d.ts +33 -33
  54. package/dist/esm/components/Cart/FooterSections.d.ts +6 -6
  55. package/dist/esm/components/Cart/FreebieClaimManager.d.ts +18 -18
  56. package/dist/esm/components/Cart/FreebieClaimOverlay.d.ts +18 -18
  57. package/dist/esm/components/Cart/FreebieClaimOverlayCard.d.ts +10 -10
  58. package/dist/esm/components/Cart/FreebieClaimSection.d.ts +18 -18
  59. package/dist/esm/components/Cart/FreebieClaimSectionCard.d.ts +17 -17
  60. package/dist/esm/components/Cart/GSTSection.d.ts +15 -15
  61. package/dist/esm/components/Cart/GiftWrap.d.ts +14 -14
  62. package/dist/esm/components/Cart/GuestDiscountCoupon.d.ts +9 -9
  63. package/dist/esm/components/Cart/InlineCartOfferInfoText.d.ts +10 -10
  64. package/dist/esm/components/Cart/LoyaltyAppliedCTA.d.ts +19 -19
  65. package/dist/esm/components/Cart/LoyaltyApplyCTA.d.ts +18 -18
  66. package/dist/esm/components/Cart/LoyaltyBadge.d.ts +10 -10
  67. package/dist/esm/components/Cart/LoyaltyGuestCTA.d.ts +17 -17
  68. package/dist/esm/components/Cart/MultiStepProgressBar/CheckpointConfetti.d.ts +11 -11
  69. package/dist/esm/components/Cart/MultiStepProgressBar/CheckpointIcon.d.ts +3 -3
  70. package/dist/esm/components/Cart/MultiStepProgressBar/CheckpointTooltip.d.ts +3 -3
  71. package/dist/esm/components/Cart/MultiStepProgressBar/MultiStepIcon.d.ts +9 -9
  72. package/dist/esm/components/Cart/MultiStepProgressBar/MultiStepProgressBar.d.ts +5 -5
  73. package/dist/esm/components/Cart/MultiStepProgressBar/MultiStepProgressBar.styled.d.ts +45 -45
  74. package/dist/esm/components/Cart/MultiStepProgressBar/MultiStepUtils.d.ts +6 -5
  75. package/dist/esm/components/Cart/MultiStepProgressBar/MultiTierProgressBar.d.ts +4 -4
  76. package/dist/esm/components/Cart/MultiStepProgressBar/MutiTierNextRewardMessage.d.ts +3 -3
  77. package/dist/esm/components/Cart/MultiStepProgressBar/NextRewardMessage.d.ts +3 -3
  78. package/dist/esm/components/Cart/MultiStepProgressBar/SingleTierProgressBar.d.ts +4 -4
  79. package/dist/esm/components/Cart/MultiStepProgressBar/SingleTierProgressBar.styled.d.ts +22 -22
  80. package/dist/esm/components/Cart/MultiStepProgressBar/SingletTierNextRewardMessage.d.ts +3 -3
  81. package/dist/esm/components/Cart/MultiStepProgressBar/types.d.ts +55 -55
  82. package/dist/esm/components/Cart/NextFreebieRow.d.ts +19 -19
  83. package/dist/esm/components/Cart/NoteSection.d.ts +8 -8
  84. package/dist/esm/components/Cart/ProductCard.d.ts +30 -30
  85. package/dist/esm/components/Cart/ProductRecCard.d.ts +20 -20
  86. package/dist/esm/components/Cart/ProductRecList.d.ts +23 -23
  87. package/dist/esm/components/Cart/ProgressBar.d.ts +13 -13
  88. package/dist/esm/components/Cart/ProgressBarCartLoader.d.ts +7 -7
  89. package/dist/esm/components/Cart/QuantitySelector.d.ts +12 -12
  90. package/dist/esm/components/Cart/RegionSpecificDelivery.d.ts +17 -17
  91. package/dist/esm/components/Cart/RewardPointsPreview.d.ts +10 -10
  92. package/dist/esm/components/Cart/StandardDelivery.d.ts +11 -11
  93. package/dist/esm/components/Cart/StickyCart.d.ts +52 -52
  94. package/dist/esm/components/Cart/VariantSelectionPopup/DesktopVariantPopup.d.ts +19 -19
  95. package/dist/esm/components/Cart/VariantSelectionPopup/DesktopVariantPopup.styled.d.ts +60 -60
  96. package/dist/esm/components/Cart/VariantSelectionPopup/MobileVariantPopover.d.ts +19 -19
  97. package/dist/esm/components/Cart/index.d.ts +1 -1
  98. package/dist/esm/components/CouponFrame/CouponFrame.d.ts +15 -15
  99. package/dist/esm/components/CouponFrame/index.d.ts +1 -1
  100. package/dist/esm/components/Nudge/LeadGenerationNudge.d.ts +15 -15
  101. package/dist/esm/components/Nudge/Nudge.d.ts +40 -40
  102. package/dist/esm/components/Nudge/index.d.ts +1 -1
  103. package/dist/esm/components/SpinnerWheel/SpinnerWheel.d.ts +23 -23
  104. package/dist/esm/components/SpinnerWheel/WheelSection.d.ts +9 -9
  105. package/dist/esm/components/SpinnerWheel/index.d.ts +1 -1
  106. package/dist/esm/components/index.d.ts +6 -6
  107. package/dist/esm/index.d.ts +1 -1
  108. package/dist/esm/index.js +395 -395
  109. package/dist/esm/types/atoms/bundleBuilderProductDetailsAtom.d.ts +4 -4
  110. package/dist/esm/types/atoms/cartDataAtom.d.ts +3 -3
  111. package/dist/esm/types/atoms/cartLoadingAtom.d.ts +22 -22
  112. package/dist/esm/types/atoms/cartTimer.d.ts +2 -2
  113. package/dist/esm/types/atoms/couponSelectionOpenAtom.d.ts +3 -3
  114. package/dist/esm/types/atoms/dateAtom.d.ts +1 -1
  115. package/dist/esm/types/atoms/freebieClaimModalAtom.d.ts +7 -7
  116. package/dist/esm/types/atoms/giftWrap.d.ts +2 -2
  117. package/dist/esm/types/atoms/gstCompanyNameAtom.d.ts +1 -1
  118. package/dist/esm/types/atoms/gstInputAtom.d.ts +1 -1
  119. package/dist/esm/types/atoms/maxQtyErrorAtom.d.ts +3 -3
  120. package/dist/esm/types/atoms/multiClaimSelectionAtom.d.ts +19 -19
  121. package/dist/esm/types/atoms/noteInputAtom.d.ts +3 -3
  122. package/dist/esm/types/atoms/postalCodeAtom.d.ts +1 -1
  123. package/dist/esm/types/atoms/shippingAtom.d.ts +8 -8
  124. package/dist/esm/types/atoms/showGSTInputAtom.d.ts +1 -1
  125. package/dist/esm/types/atoms/variantSelectionModalAtom.d.ts +23 -23
  126. package/dist/esm/types/components/BundleBlock/Bundle.d.ts +388 -388
  127. package/dist/esm/types/components/BundleBlock/BundleBuilder/BundleBuilder.d.ts +39 -39
  128. package/dist/esm/types/components/BundleBlock/BundleBuilder/ResponsiveBgImage.d.ts +9 -9
  129. package/dist/esm/types/components/BundleBlock/BundleBuilder/VariantOptionsModal.d.ts +16 -16
  130. package/dist/esm/types/components/BundleBlock/BundleBuilder/bundleBuilder.style.d.ts +35 -37
  131. package/dist/esm/types/components/BundleBlock/BundleBuilderTracker/BundleBuilderTracker.d.ts +50 -50
  132. package/dist/esm/types/components/BundleBlock/BundleBuilderTracker/bundleBuilderTracker.style.d.ts +75 -77
  133. package/dist/esm/types/components/BundleBlock/BundleProductDetailsModal/BundleProductDetailsModal.d.ts +27 -27
  134. package/dist/esm/types/components/BundleBlock/BundleProductDetailsModal/bundleProductDetailsModal.style.d.ts +10 -10
  135. package/dist/esm/types/components/BundleBlock/CollectionBundle/ColllectionBundle.d.ts +103 -103
  136. package/dist/esm/types/components/BundleBlock/CollectionBundle/FileUpload.d.ts +15 -15
  137. package/dist/esm/types/components/BundleBlock/CollectionBundle/LoadingSpinner.d.ts +2 -2
  138. package/dist/esm/types/components/BundleBlock/CollectionBundle/ProductDetailsModal.d.ts +15 -15
  139. package/dist/esm/types/components/BundleBlock/ComboBundle.d.ts +16 -16
  140. package/dist/esm/types/components/BundleBlock/FixedBundle/FixedBundle.d.ts +4 -4
  141. package/dist/esm/types/components/BundleBlock/FixedBundle/SeparateVariantOptions.d.ts +39 -39
  142. package/dist/esm/types/components/BundleBlock/FixedBundle/VariantSelectorModal.d.ts +22 -22
  143. package/dist/esm/types/components/BundleBlock/FixedBundle/fixedBundle.style.d.ts +84 -90
  144. package/dist/esm/types/components/BundleBlock/Loader.d.ts +5 -5
  145. package/dist/esm/types/components/BundleBlock/MixAndMatchBundle/MixAndMatchBundle.d.ts +8 -8
  146. package/dist/esm/types/components/BundleBlock/MixAndMatchBundle/mixAndMatchBundle.style.d.ts +86 -86
  147. package/dist/esm/types/components/BundleBlock/VolumeBundle/VolumeBundle.d.ts +3 -3
  148. package/dist/esm/types/components/BundleBlock/VolumeBundle/volumeBundle.style.d.ts +78 -80
  149. package/dist/esm/types/components/BundleBlock/index.d.ts +1 -1
  150. package/dist/esm/types/components/Cart/ApplyCoupon.d.ts +12 -12
  151. package/dist/esm/types/components/Cart/Bundle.d.ts +6 -6
  152. package/dist/esm/types/components/Cart/Cart.d.ts +235 -235
  153. package/dist/esm/types/components/Cart/CartDrawer.d.ts +21 -21
  154. package/dist/esm/types/components/Cart/CartOffersCarousel.d.ts +45 -45
  155. package/dist/esm/types/components/Cart/CartProductsList.d.ts +45 -45
  156. package/dist/esm/types/components/Cart/CartTimer.d.ts +8 -8
  157. package/dist/esm/types/components/Cart/CheckoutSection.d.ts +38 -38
  158. package/dist/esm/types/components/Cart/CouponSelection.d.ts +25 -25
  159. package/dist/esm/types/components/Cart/DatePicker.d.ts +10 -10
  160. package/dist/esm/types/components/Cart/EmptyCart.d.ts +33 -33
  161. package/dist/esm/types/components/Cart/FooterSections.d.ts +6 -6
  162. package/dist/esm/types/components/Cart/FreebieClaimManager.d.ts +18 -18
  163. package/dist/esm/types/components/Cart/FreebieClaimOverlay.d.ts +18 -18
  164. package/dist/esm/types/components/Cart/FreebieClaimOverlayCard.d.ts +10 -10
  165. package/dist/esm/types/components/Cart/FreebieClaimSection.d.ts +18 -18
  166. package/dist/esm/types/components/Cart/FreebieClaimSectionCard.d.ts +17 -17
  167. package/dist/esm/types/components/Cart/GSTSection.d.ts +15 -15
  168. package/dist/esm/types/components/Cart/GiftWrap.d.ts +14 -14
  169. package/dist/esm/types/components/Cart/GuestDiscountCoupon.d.ts +9 -9
  170. package/dist/esm/types/components/Cart/InlineCartOfferInfoText.d.ts +10 -10
  171. package/dist/esm/types/components/Cart/LoyaltyAppliedCTA.d.ts +19 -19
  172. package/dist/esm/types/components/Cart/LoyaltyApplyCTA.d.ts +18 -18
  173. package/dist/esm/types/components/Cart/LoyaltyBadge.d.ts +10 -10
  174. package/dist/esm/types/components/Cart/LoyaltyGuestCTA.d.ts +17 -17
  175. package/dist/esm/types/components/Cart/MultiStepProgressBar/CheckpointConfetti.d.ts +11 -11
  176. package/dist/esm/types/components/Cart/MultiStepProgressBar/CheckpointIcon.d.ts +3 -3
  177. package/dist/esm/types/components/Cart/MultiStepProgressBar/CheckpointTooltip.d.ts +3 -3
  178. package/dist/esm/types/components/Cart/MultiStepProgressBar/MultiStepIcon.d.ts +9 -9
  179. package/dist/esm/types/components/Cart/MultiStepProgressBar/MultiStepProgressBar.d.ts +5 -5
  180. package/dist/esm/types/components/Cart/MultiStepProgressBar/MultiStepProgressBar.styled.d.ts +45 -45
  181. package/dist/esm/types/components/Cart/MultiStepProgressBar/MultiStepUtils.d.ts +6 -5
  182. package/dist/esm/types/components/Cart/MultiStepProgressBar/MultiTierProgressBar.d.ts +4 -4
  183. package/dist/esm/types/components/Cart/MultiStepProgressBar/MutiTierNextRewardMessage.d.ts +3 -3
  184. package/dist/esm/types/components/Cart/MultiStepProgressBar/NextRewardMessage.d.ts +3 -3
  185. package/dist/esm/types/components/Cart/MultiStepProgressBar/SingleTierProgressBar.d.ts +4 -4
  186. package/dist/esm/types/components/Cart/MultiStepProgressBar/SingleTierProgressBar.styled.d.ts +22 -22
  187. package/dist/esm/types/components/Cart/MultiStepProgressBar/SingletTierNextRewardMessage.d.ts +3 -3
  188. package/dist/esm/types/components/Cart/MultiStepProgressBar/types.d.ts +55 -55
  189. package/dist/esm/types/components/Cart/NextFreebieRow.d.ts +19 -19
  190. package/dist/esm/types/components/Cart/NoteSection.d.ts +8 -8
  191. package/dist/esm/types/components/Cart/ProductCard.d.ts +30 -30
  192. package/dist/esm/types/components/Cart/ProductRecCard.d.ts +20 -20
  193. package/dist/esm/types/components/Cart/ProductRecList.d.ts +23 -23
  194. package/dist/esm/types/components/Cart/ProgressBar.d.ts +13 -13
  195. package/dist/esm/types/components/Cart/ProgressBarCartLoader.d.ts +7 -7
  196. package/dist/esm/types/components/Cart/QuantitySelector.d.ts +12 -12
  197. package/dist/esm/types/components/Cart/RegionSpecificDelivery.d.ts +17 -17
  198. package/dist/esm/types/components/Cart/RewardPointsPreview.d.ts +10 -10
  199. package/dist/esm/types/components/Cart/StandardDelivery.d.ts +11 -11
  200. package/dist/esm/types/components/Cart/StickyCart.d.ts +52 -52
  201. package/dist/esm/types/components/Cart/VariantSelectionPopup/DesktopVariantPopup.d.ts +19 -19
  202. package/dist/esm/types/components/Cart/VariantSelectionPopup/DesktopVariantPopup.styled.d.ts +60 -60
  203. package/dist/esm/types/components/Cart/VariantSelectionPopup/MobileVariantPopover.d.ts +19 -19
  204. package/dist/esm/types/components/Cart/index.d.ts +1 -1
  205. package/dist/esm/types/components/CouponFrame/CouponFrame.d.ts +15 -15
  206. package/dist/esm/types/components/CouponFrame/index.d.ts +1 -1
  207. package/dist/esm/types/components/Nudge/LeadGenerationNudge.d.ts +15 -15
  208. package/dist/esm/types/components/Nudge/Nudge.d.ts +40 -40
  209. package/dist/esm/types/components/Nudge/index.d.ts +1 -1
  210. package/dist/esm/types/components/SpinnerWheel/SpinnerWheel.d.ts +23 -23
  211. package/dist/esm/types/components/SpinnerWheel/WheelSection.d.ts +9 -9
  212. package/dist/esm/types/components/SpinnerWheel/index.d.ts +1 -1
  213. package/dist/esm/types/components/index.d.ts +6 -6
  214. package/dist/esm/types/index.d.ts +1 -1
  215. package/dist/esm/types/utils/converter.d.ts +2 -2
  216. package/dist/esm/types/utils/customVariantOptions.d.ts +20 -20
  217. package/dist/esm/types/utils/freebieProductUtils.d.ts +22 -22
  218. package/dist/esm/types/utils/freebieUtils.d.ts +5 -5
  219. package/dist/esm/types/utils/index.d.ts +14 -14
  220. package/dist/esm/utils/converter.d.ts +2 -2
  221. package/dist/esm/utils/customVariantOptions.d.ts +20 -20
  222. package/dist/esm/utils/freebieProductUtils.d.ts +22 -22
  223. package/dist/esm/utils/freebieUtils.d.ts +5 -5
  224. package/dist/esm/utils/index.d.ts +14 -14
  225. package/dist/index.d.ts +712 -712
  226. package/package.json +95 -95
  227. package/src/assets/Frame.svg +4 -4
  228. package/src/assets/bundlePlus.svg +4 -4
  229. package/src/assets/copy-icon.svg +3 -3
  230. package/src/assets/copy-iconBlack.svg +4 -4
  231. package/src/assets/coupon.svg +4 -4
  232. package/src/assets/delivery.svg +5 -5
package/dist/index.d.ts CHANGED
@@ -1,735 +1,735 @@
1
1
  import React, { Dispatch, SetStateAction } from 'react';
2
2
 
3
- interface NudgeProps {
4
- title?: string;
5
- text?: string;
6
- highlightColor?: string;
7
- backgroundColor?: string;
8
- variant?: "campaign" | "delivery" | "checkout" | "postPurchase" | "registration" | "leadGeneration";
9
- extraProps?: any;
10
- cartValue?: number;
11
- freeDeliveryValue?: number;
12
- imageUrl?: string;
13
- nudgeImageUrl?: string;
14
- onClickCheckout?: () => void;
15
- onClose?: () => void;
16
- isDev?: boolean;
17
- onGotoCartClick?: () => void;
18
- bannerCtaAction?: () => void;
19
- bannerCtaText?: string;
20
- ctaButtonBackgroundColor?: string;
21
- ctaTextColor?: string;
22
- ctaButtonText?: string;
23
- ctaButtonPosition?: "left" | "right" | "center";
24
- postPurchaseCtaAction?: () => void;
25
- postPurchaseCredits?: number;
26
- largeScreenImageUrl?: string;
27
- smallScreenImageUrl?: string;
28
- ctaButtonLink?: string;
29
- autoCloseTimeout?: number;
30
- isCTAButtonEnabled?: boolean;
31
- isCTARedirectionEnabled?: boolean;
32
- borderRadius?: string;
33
- padding?: string;
34
- onClickCtaButton?: () => void;
35
- position?: "right" | "left";
36
- closeIconColor?: string;
37
- handleLoginOrSignup?: (phoneNumber: string, email: string) => Promise<any>;
38
- handleSubmit?: (phoneNumber: string, otp: string) => Promise<any>;
39
- }
3
+ interface NudgeProps {
4
+ title?: string;
5
+ text?: string;
6
+ highlightColor?: string;
7
+ backgroundColor?: string;
8
+ variant?: "campaign" | "delivery" | "checkout" | "postPurchase" | "registration" | "leadGeneration";
9
+ extraProps?: any;
10
+ cartValue?: number;
11
+ freeDeliveryValue?: number;
12
+ imageUrl?: string;
13
+ nudgeImageUrl?: string;
14
+ onClickCheckout?: () => void;
15
+ onClose?: () => void;
16
+ isDev?: boolean;
17
+ onGotoCartClick?: () => void;
18
+ bannerCtaAction?: () => void;
19
+ bannerCtaText?: string;
20
+ ctaButtonBackgroundColor?: string;
21
+ ctaTextColor?: string;
22
+ ctaButtonText?: string;
23
+ ctaButtonPosition?: "left" | "right" | "center";
24
+ postPurchaseCtaAction?: () => void;
25
+ postPurchaseCredits?: number;
26
+ largeScreenImageUrl?: string;
27
+ smallScreenImageUrl?: string;
28
+ ctaButtonLink?: string;
29
+ autoCloseTimeout?: number;
30
+ isCTAButtonEnabled?: boolean;
31
+ isCTARedirectionEnabled?: boolean;
32
+ borderRadius?: string;
33
+ padding?: string;
34
+ onClickCtaButton?: () => void;
35
+ position?: "right" | "left";
36
+ closeIconColor?: string;
37
+ handleLoginOrSignup?: (phoneNumber: string, email: string) => Promise<any>;
38
+ handleSubmit?: (phoneNumber: string, otp: string) => Promise<any>;
39
+ }
40
40
  declare const Nudge: React.FC<NudgeProps>;
41
41
 
42
- interface SegmentProps {
43
- label: string;
44
- color: string;
45
- outcome: "WIN" | "LOSE";
46
- winHeading?: string;
47
- winValue?: number;
48
- probability?: number;
49
- }
50
- interface WheelProps {
51
- segments: SegmentProps[];
52
- setWinningSegment: Dispatch<SetStateAction<number | null>>;
53
- ctaButtonText?: string;
54
- brandThemeColor?: string | undefined;
55
- brandGameDefaultThemeColor?: string | undefined;
56
- wheelSectionColor1?: string | undefined;
57
- wheelSectionColor2?: string | undefined;
58
- wheelCenterLogo?: string | undefined;
59
- isStatic?: boolean | undefined;
60
- }
42
+ interface SegmentProps {
43
+ label: string;
44
+ color: string;
45
+ outcome: "WIN" | "LOSE";
46
+ winHeading?: string;
47
+ winValue?: number;
48
+ probability?: number;
49
+ }
50
+ interface WheelProps {
51
+ segments: SegmentProps[];
52
+ setWinningSegment: Dispatch<SetStateAction<number | null>>;
53
+ ctaButtonText?: string;
54
+ brandThemeColor?: string | undefined;
55
+ brandGameDefaultThemeColor?: string | undefined;
56
+ wheelSectionColor1?: string | undefined;
57
+ wheelSectionColor2?: string | undefined;
58
+ wheelCenterLogo?: string | undefined;
59
+ isStatic?: boolean | undefined;
60
+ }
61
61
  declare const SpinnerWheel: React.FC<WheelProps>;
62
62
 
63
- interface RewardCouponWithIcon extends RewardCoupon {
64
- icon?: React.ReactElement | null;
65
- }
66
- type CouponFrameProps = {
67
- couponActive: boolean;
68
- rewardCoupon: RewardCouponWithIcon;
69
- currency: string;
70
- handleApply: (templateId?: number) => Promise<any>;
71
- pointsCoupon?: boolean;
72
- pointsToBeUsed?: number;
73
- };
63
+ interface RewardCouponWithIcon extends RewardCoupon {
64
+ icon?: React.ReactElement | null;
65
+ }
66
+ type CouponFrameProps = {
67
+ couponActive: boolean;
68
+ rewardCoupon: RewardCouponWithIcon;
69
+ currency: string;
70
+ handleApply: (templateId?: number) => Promise<any>;
71
+ pointsCoupon?: boolean;
72
+ pointsToBeUsed?: number;
73
+ };
74
74
  declare const CouponFrame: React.FC<CouponFrameProps>;
75
75
 
76
- interface ShopifyCurrency {
77
- rate: number;
78
- active: string;
79
- }
80
- declare global {
81
- interface Window {
82
- Shopify?: {
83
- currency?: ShopifyCurrency;
84
- };
85
- }
86
- }
87
- type ProductImage = {
88
- url: string;
89
- height: number;
90
- width: number;
91
- altText?: string;
92
- };
93
- type ProductFeaturedMedia = {
94
- alt: string;
95
- preview: {
96
- image: {
97
- url: string;
98
- height?: number;
99
- width?: number;
100
- altText: string;
101
- };
102
- };
103
- };
104
- type ProductOption = {
105
- id: string;
106
- name: string;
107
- values: string[];
108
- };
109
- type CollectionNode = {
110
- node: {
111
- id: string;
112
- title: string;
113
- handle: string;
114
- };
115
- };
116
- type VariantNode = {
117
- node: {
118
- id: string;
119
- price: string;
120
- compareAtPrice: string;
121
- title: string;
122
- displayName: string;
123
- image: ProductImage;
124
- availableForSale: boolean;
125
- inventoryQuantity: number;
126
- };
127
- };
128
- type SelectedVariantDetails = {
129
- id: string;
130
- price: string;
131
- compareAtPrice: string;
132
- title: string;
133
- displayName: string;
134
- image: ProductImage;
135
- availableForSale: boolean;
136
- inventoryQuantity: number;
137
- };
138
- type VariantOptions = {
139
- shop: string;
140
- options: {
141
- name: string;
142
- type: "text" | "image" | "color";
143
- values: {
144
- name: string;
145
- value: string;
146
- }[];
147
- }[];
148
- createdAt: string;
149
- updatedAt: string;
150
- };
151
- type ProductDetails = {
152
- id: string;
153
- title: string;
154
- handle: string;
155
- featuredMedia: ProductFeaturedMedia;
156
- status: "active" | "archived" | "draft" | "";
157
- options: ProductOption[];
158
- onlineStoreUrl: string;
159
- collections: {
160
- edges: CollectionNode[];
161
- };
162
- variants: {
163
- edges: VariantNode[];
164
- };
165
- shop: string;
166
- metafield?: {
167
- key: string;
168
- namespace: string;
169
- ownerType: string;
170
- value: string;
171
- id: string;
172
- jsonValue: string[];
173
- type: string;
174
- };
175
- descriptionHtml: string;
176
- media: {
177
- edges: {
178
- node: {
179
- alt: string;
180
- preview: {
181
- image: {
182
- altText: string;
183
- width?: number;
184
- height?: number;
185
- url: string;
186
- };
187
- };
188
- image: {
189
- altText: string;
190
- height: number;
191
- width: number;
192
- url: string;
193
- };
194
- };
195
- }[];
196
- };
197
- selectedVariant?: SelectedVariantDetails;
198
- rating?: {
199
- averageRating: number;
200
- ratingCount: number;
201
- };
202
- };
203
- type ProductData = {
204
- productId: string;
205
- variantIds: string[];
206
- productDetails: ProductDetails;
207
- };
208
- type GeneralStyle = {
209
- primaryColor: string;
210
- primaryContrastColor: string;
211
- secondaryColor: string;
212
- secondaryContrastColor: string;
213
- imageAspectRatio: string;
214
- ctaBackgroundColor: string;
215
- ctaTextColor: string;
216
- ctaBorderColor: string;
217
- ctaShadowType: string;
218
- ctaPadding: string;
219
- ctaWidth: string;
220
- ctaBorderRadius: string;
221
- ctaHoverBackgroundColor: string;
222
- ctaHoverTextColor: string;
223
- customizeHoverState: boolean;
224
- checkoutPartner: string;
225
- redirectToPDP: boolean;
226
- restrictCOD: boolean;
227
- trackInventory: boolean;
228
- showOutOfStockProducts: boolean;
229
- outOfStockLabel: string;
230
- disabledButtonColor: string;
231
- storeCurrency: string;
232
- currencySymbol: string;
233
- discountPrefix: string;
234
- discountSuffix: string;
235
- addOrderTags: boolean;
236
- addOrderNotes: boolean;
237
- variantTitleSuffix: boolean;
238
- titleLength: string;
239
- showDecimalsInBundlePricing?: boolean;
240
- };
241
- type VolumeStyle = {
242
- addtoCartMethod: string;
243
- titleFontSize: string;
244
- subtitleFontSize: string;
245
- titleBackgroundColor: string;
246
- titleTextColor: string;
247
- verticalMargin: string;
248
- sectionBackgroundColor: string;
249
- cardStyle: string;
250
- discountBadgeVisibility: string;
251
- allowVariantSelection: string;
252
- variantSelectorType: string;
253
- ctaTitle: string;
254
- bundleRedirection: string;
255
- };
256
- type ComboStyle = {
257
- productTitleFontSize: string;
258
- productDescriptionFontSize: string;
259
- descriptionTextColor: string;
260
- titleTextColor: string;
261
- verticalMargin: string;
262
- infoAlignment: string;
263
- ctaTitle: string;
264
- bundleRedirection: string;
265
- embedContentVisibility: boolean;
266
- mixAndMatchCardStyle: string;
267
- mixAndMatchVariantTypeSelector: string;
268
- comboCardStyle: string;
269
- comboVariantTypeSelector: string;
270
- selectedEmbedContentVisibilityOptions: string[];
271
- subProductsSectionVisibility: boolean;
272
- subProductsImageVisibility: boolean;
273
- subProductsProductTitleVisibility: boolean;
274
- subProductsProductPriceVisibility: boolean;
275
- };
276
- type ByobStyle = {
277
- titleFontSize: string;
278
- subtitleFontSize: string;
279
- titleBackgroundColor: string;
280
- titleTextColor: string;
281
- productTitleFontSize: string;
282
- sectionBackgroundColor: string;
283
- lazyLoadWidget: string;
284
- listingsGap: string;
285
- footerMargin: string;
286
- borderRadius: string;
287
- borderColor: string;
288
- cardBackgroundColor: string;
289
- shadowType: string;
290
- addToBundleCTAText: string;
291
- checkoutCTAText: string;
292
- variantSelectorType: string;
293
- primaryVariant: string;
294
- productsPriceVisibility: boolean;
295
- compareAtPriceVisibility: boolean;
296
- selectedProductsVisibility: boolean;
297
- bundleRedirection: string;
298
- enableConfetti: boolean;
299
- selectedItemVisibility: boolean;
300
- productTiersVisibility: boolean;
301
- tierNavigation: boolean;
302
- enableProductCategories: boolean;
303
- productCardCategoryVisibility: string;
304
- categoryFilterOnPage: string;
305
- };
306
- type FixedStyle = {
307
- titleFontSize: string;
308
- subtitleFontSize: string;
309
- titleBackgroundColor: string;
310
- titleTextColor: string;
311
- verticalMargin: string;
312
- sectionBackgroundColor: string;
313
- borderRadius: string;
314
- borderColor: string;
315
- cardBackgroundColor: string;
316
- shadowType: string;
317
- infoAlignment: string;
318
- ctaTitle: string;
319
- bundleRedirection: string;
320
- cardLayoutStyle: string;
321
- variantSelectorType: string;
322
- productsPriceVisibility: boolean;
323
- compareAtPriceVisibility: boolean;
324
- };
325
- type Customizations = {
326
- shop?: string;
327
- general: GeneralStyle;
328
- byob: ByobStyle;
329
- fixedBundle: FixedStyle;
330
- volumeBundle: VolumeStyle;
331
- comboBundle: ComboStyle;
332
- createdAt?: string;
333
- updatedAt?: string;
334
- };
335
- type BundlePayload = {
336
- showIndividualProductSelector: boolean;
337
- title?: string;
338
- subtitle?: string;
339
- products: ProductData[];
340
- percentageOff?: number;
341
- dealAmount?: number;
342
- amountOff?: number;
343
- type: "fixed" | "builder" | "volume" | "mixAndMatch" | "" | "combo" | "collection";
344
- minimumQuantity: number;
345
- showProductDetailsInTracker: boolean;
346
- coverImageUrl?: string;
347
- mobileCoverImageUrl?: string;
348
- titleSectionTextColor?: string;
349
- titleSectionBackgroundColor?: string;
350
- dealTextColor?: string;
351
- showBorder?: boolean;
352
- hideProductDetails?: boolean;
353
- cornerRadiusType?: "medium" | "high" | "";
354
- primaryBackgroundColorCta?: string;
355
- enableProgressBar?: boolean;
356
- enableSortAndFilter?: boolean;
357
- disableQuantitySelector?: boolean;
358
- disableInventoryTracking?: boolean;
359
- alignFixedBundleContent?: "left" | "right" | "center" | "";
360
- imageAspectType?: "portrait" | "square" | "";
361
- backgroundColorFixedBundleDiv?: string;
362
- canCustomizeFixedBundle?: boolean;
363
- primaryTextColorCta?: string;
364
- showVariants?: boolean;
365
- discountType?: string;
366
- showCta?: boolean;
367
- productCardBadgeText?: string;
368
- coverImageVerticalMargin?: string;
369
- builderTiers?: {
370
- type: string;
371
- offerTier?: {
372
- tier: number;
373
- minimumQuantity: number;
374
- discountValue: number;
375
- }[];
376
- productTier?: {
377
- tier: number;
378
- title: string;
379
- minimumQuantity: number;
380
- isFixed?: boolean;
381
- products: {
382
- productId: string;
383
- variantIds: string[];
384
- }[];
385
- }[];
386
- };
387
- volumeTiers?: {
388
- isDefault: unknown;
389
- tier: number;
390
- minimumQuantity: number;
391
- title: string;
392
- subtitle: string;
393
- badgeTitle: string;
394
- discountValue: number;
395
- imageUrl?: string;
396
- }[];
397
- mixAndMatchTiers?: {
398
- tier: number;
399
- title: string;
400
- products: {
401
- productId: string;
402
- variantIds: string[];
403
- }[];
404
- }[];
405
- customizations: Customizations;
406
- variantOptions?: VariantOptions;
407
- storeCurrencyCode?: string;
408
- customStoreDetails?: {
409
- [key: string]: any;
410
- };
411
- customProductsQuantity?: number | null;
412
- reviewRatingType?: "none" | "ratingOnly" | "ratingAndReviewCount";
413
- appName?: string;
414
- pageHeader?: {
415
- title?: string;
416
- description?: string;
417
- customizePadding?: string;
418
- };
419
- };
420
- type BundleProps = {
421
- bundle: BundlePayload;
422
- addToCartFunction?: (selectedItemsSubtotal: number, variantIds?: string[], finalBundlePrice?: number, variantIdPriceMap?: {
423
- variantId: string;
424
- price: number;
425
- }[]) => Promise<void>;
426
- addCustomBundleToCart?: (e: any) => Promise<void>;
427
- selectedItems?: {
428
- variantId: string;
429
- product: ProductDetails;
430
- quantity: number;
431
- }[];
432
- setSelectedItems?: React.Dispatch<React.SetStateAction<{
433
- variantId: string;
434
- product: ProductDetails;
435
- quantity: number;
436
- }[]>>;
437
- bundleAddToCartLoading?: boolean;
438
- handleRemoveItem?: (variantId: string) => void;
439
- selectedItemsQuantity?: number;
440
- renderingOnPage?: boolean;
441
- bundleSubtotal?: {
442
- price: number;
443
- compareAtPrice: number;
444
- };
445
- bundleHeaderBackgroundColor?: string;
446
- currentProductId?: string;
447
- };
76
+ interface ShopifyCurrency {
77
+ rate: number;
78
+ active: string;
79
+ }
80
+ declare global {
81
+ interface Window {
82
+ Shopify?: {
83
+ currency?: ShopifyCurrency;
84
+ };
85
+ }
86
+ }
87
+ type ProductImage = {
88
+ url: string;
89
+ height: number;
90
+ width: number;
91
+ altText?: string;
92
+ };
93
+ type ProductFeaturedMedia = {
94
+ alt: string;
95
+ preview: {
96
+ image: {
97
+ url: string;
98
+ height?: number;
99
+ width?: number;
100
+ altText: string;
101
+ };
102
+ };
103
+ };
104
+ type ProductOption = {
105
+ id: string;
106
+ name: string;
107
+ values: string[];
108
+ };
109
+ type CollectionNode = {
110
+ node: {
111
+ id: string;
112
+ title: string;
113
+ handle: string;
114
+ };
115
+ };
116
+ type VariantNode = {
117
+ node: {
118
+ id: string;
119
+ price: string;
120
+ compareAtPrice: string;
121
+ title: string;
122
+ displayName: string;
123
+ image: ProductImage;
124
+ availableForSale: boolean;
125
+ inventoryQuantity: number;
126
+ };
127
+ };
128
+ type SelectedVariantDetails = {
129
+ id: string;
130
+ price: string;
131
+ compareAtPrice: string;
132
+ title: string;
133
+ displayName: string;
134
+ image: ProductImage;
135
+ availableForSale: boolean;
136
+ inventoryQuantity: number;
137
+ };
138
+ type VariantOptions = {
139
+ shop: string;
140
+ options: {
141
+ name: string;
142
+ type: "text" | "image" | "color";
143
+ values: {
144
+ name: string;
145
+ value: string;
146
+ }[];
147
+ }[];
148
+ createdAt: string;
149
+ updatedAt: string;
150
+ };
151
+ type ProductDetails = {
152
+ id: string;
153
+ title: string;
154
+ handle: string;
155
+ featuredMedia: ProductFeaturedMedia;
156
+ status: "active" | "archived" | "draft" | "";
157
+ options: ProductOption[];
158
+ onlineStoreUrl: string;
159
+ collections: {
160
+ edges: CollectionNode[];
161
+ };
162
+ variants: {
163
+ edges: VariantNode[];
164
+ };
165
+ shop: string;
166
+ metafield?: {
167
+ key: string;
168
+ namespace: string;
169
+ ownerType: string;
170
+ value: string;
171
+ id: string;
172
+ jsonValue: string[];
173
+ type: string;
174
+ };
175
+ descriptionHtml: string;
176
+ media: {
177
+ edges: {
178
+ node: {
179
+ alt: string;
180
+ preview: {
181
+ image: {
182
+ altText: string;
183
+ width?: number;
184
+ height?: number;
185
+ url: string;
186
+ };
187
+ };
188
+ image: {
189
+ altText: string;
190
+ height: number;
191
+ width: number;
192
+ url: string;
193
+ };
194
+ };
195
+ }[];
196
+ };
197
+ selectedVariant?: SelectedVariantDetails;
198
+ rating?: {
199
+ averageRating: number;
200
+ ratingCount: number;
201
+ };
202
+ };
203
+ type ProductData = {
204
+ productId: string;
205
+ variantIds: string[];
206
+ productDetails: ProductDetails;
207
+ };
208
+ type GeneralStyle = {
209
+ primaryColor: string;
210
+ primaryContrastColor: string;
211
+ secondaryColor: string;
212
+ secondaryContrastColor: string;
213
+ imageAspectRatio: string;
214
+ ctaBackgroundColor: string;
215
+ ctaTextColor: string;
216
+ ctaBorderColor: string;
217
+ ctaShadowType: string;
218
+ ctaPadding: string;
219
+ ctaWidth: string;
220
+ ctaBorderRadius: string;
221
+ ctaHoverBackgroundColor: string;
222
+ ctaHoverTextColor: string;
223
+ customizeHoverState: boolean;
224
+ checkoutPartner: string;
225
+ redirectToPDP: boolean;
226
+ restrictCOD: boolean;
227
+ trackInventory: boolean;
228
+ showOutOfStockProducts: boolean;
229
+ outOfStockLabel: string;
230
+ disabledButtonColor: string;
231
+ storeCurrency: string;
232
+ currencySymbol: string;
233
+ discountPrefix: string;
234
+ discountSuffix: string;
235
+ addOrderTags: boolean;
236
+ addOrderNotes: boolean;
237
+ variantTitleSuffix: boolean;
238
+ titleLength: string;
239
+ showDecimalsInBundlePricing?: boolean;
240
+ };
241
+ type VolumeStyle = {
242
+ addtoCartMethod: string;
243
+ titleFontSize: string;
244
+ subtitleFontSize: string;
245
+ titleBackgroundColor: string;
246
+ titleTextColor: string;
247
+ verticalMargin: string;
248
+ sectionBackgroundColor: string;
249
+ cardStyle: string;
250
+ discountBadgeVisibility: string;
251
+ allowVariantSelection: string;
252
+ variantSelectorType: string;
253
+ ctaTitle: string;
254
+ bundleRedirection: string;
255
+ };
256
+ type ComboStyle = {
257
+ productTitleFontSize: string;
258
+ productDescriptionFontSize: string;
259
+ descriptionTextColor: string;
260
+ titleTextColor: string;
261
+ verticalMargin: string;
262
+ infoAlignment: string;
263
+ ctaTitle: string;
264
+ bundleRedirection: string;
265
+ embedContentVisibility: boolean;
266
+ mixAndMatchCardStyle: string;
267
+ mixAndMatchVariantTypeSelector: string;
268
+ comboCardStyle: string;
269
+ comboVariantTypeSelector: string;
270
+ selectedEmbedContentVisibilityOptions: string[];
271
+ subProductsSectionVisibility: boolean;
272
+ subProductsImageVisibility: boolean;
273
+ subProductsProductTitleVisibility: boolean;
274
+ subProductsProductPriceVisibility: boolean;
275
+ };
276
+ type ByobStyle = {
277
+ titleFontSize: string;
278
+ subtitleFontSize: string;
279
+ titleBackgroundColor: string;
280
+ titleTextColor: string;
281
+ productTitleFontSize: string;
282
+ sectionBackgroundColor: string;
283
+ lazyLoadWidget: string;
284
+ listingsGap: string;
285
+ footerMargin: string;
286
+ borderRadius: string;
287
+ borderColor: string;
288
+ cardBackgroundColor: string;
289
+ shadowType: string;
290
+ addToBundleCTAText: string;
291
+ checkoutCTAText: string;
292
+ variantSelectorType: string;
293
+ primaryVariant: string;
294
+ productsPriceVisibility: boolean;
295
+ compareAtPriceVisibility: boolean;
296
+ selectedProductsVisibility: boolean;
297
+ bundleRedirection: string;
298
+ enableConfetti: boolean;
299
+ selectedItemVisibility: boolean;
300
+ productTiersVisibility: boolean;
301
+ tierNavigation: boolean;
302
+ enableProductCategories: boolean;
303
+ productCardCategoryVisibility: string;
304
+ categoryFilterOnPage: string;
305
+ };
306
+ type FixedStyle = {
307
+ titleFontSize: string;
308
+ subtitleFontSize: string;
309
+ titleBackgroundColor: string;
310
+ titleTextColor: string;
311
+ verticalMargin: string;
312
+ sectionBackgroundColor: string;
313
+ borderRadius: string;
314
+ borderColor: string;
315
+ cardBackgroundColor: string;
316
+ shadowType: string;
317
+ infoAlignment: string;
318
+ ctaTitle: string;
319
+ bundleRedirection: string;
320
+ cardLayoutStyle: string;
321
+ variantSelectorType: string;
322
+ productsPriceVisibility: boolean;
323
+ compareAtPriceVisibility: boolean;
324
+ };
325
+ type Customizations = {
326
+ shop?: string;
327
+ general: GeneralStyle;
328
+ byob: ByobStyle;
329
+ fixedBundle: FixedStyle;
330
+ volumeBundle: VolumeStyle;
331
+ comboBundle: ComboStyle;
332
+ createdAt?: string;
333
+ updatedAt?: string;
334
+ };
335
+ type BundlePayload = {
336
+ showIndividualProductSelector: boolean;
337
+ title?: string;
338
+ subtitle?: string;
339
+ products: ProductData[];
340
+ percentageOff?: number;
341
+ dealAmount?: number;
342
+ amountOff?: number;
343
+ type: "fixed" | "builder" | "volume" | "mixAndMatch" | "" | "combo" | "collection";
344
+ minimumQuantity: number;
345
+ showProductDetailsInTracker: boolean;
346
+ coverImageUrl?: string;
347
+ mobileCoverImageUrl?: string;
348
+ titleSectionTextColor?: string;
349
+ titleSectionBackgroundColor?: string;
350
+ dealTextColor?: string;
351
+ showBorder?: boolean;
352
+ hideProductDetails?: boolean;
353
+ cornerRadiusType?: "medium" | "high" | "";
354
+ primaryBackgroundColorCta?: string;
355
+ enableProgressBar?: boolean;
356
+ enableSortAndFilter?: boolean;
357
+ disableQuantitySelector?: boolean;
358
+ disableInventoryTracking?: boolean;
359
+ alignFixedBundleContent?: "left" | "right" | "center" | "";
360
+ imageAspectType?: "portrait" | "square" | "";
361
+ backgroundColorFixedBundleDiv?: string;
362
+ canCustomizeFixedBundle?: boolean;
363
+ primaryTextColorCta?: string;
364
+ showVariants?: boolean;
365
+ discountType?: string;
366
+ showCta?: boolean;
367
+ productCardBadgeText?: string;
368
+ coverImageVerticalMargin?: string;
369
+ builderTiers?: {
370
+ type: string;
371
+ offerTier?: {
372
+ tier: number;
373
+ minimumQuantity: number;
374
+ discountValue: number;
375
+ }[];
376
+ productTier?: {
377
+ tier: number;
378
+ title: string;
379
+ minimumQuantity: number;
380
+ isFixed?: boolean;
381
+ products: {
382
+ productId: string;
383
+ variantIds: string[];
384
+ }[];
385
+ }[];
386
+ };
387
+ volumeTiers?: {
388
+ isDefault: unknown;
389
+ tier: number;
390
+ minimumQuantity: number;
391
+ title: string;
392
+ subtitle: string;
393
+ badgeTitle: string;
394
+ discountValue: number;
395
+ imageUrl?: string;
396
+ }[];
397
+ mixAndMatchTiers?: {
398
+ tier: number;
399
+ title: string;
400
+ products: {
401
+ productId: string;
402
+ variantIds: string[];
403
+ }[];
404
+ }[];
405
+ customizations: Customizations;
406
+ variantOptions?: VariantOptions;
407
+ storeCurrencyCode?: string;
408
+ customStoreDetails?: {
409
+ [key: string]: any;
410
+ };
411
+ customProductsQuantity?: number | null;
412
+ reviewRatingType?: "none" | "ratingOnly" | "ratingAndReviewCount";
413
+ appName?: string;
414
+ pageHeader?: {
415
+ title?: string;
416
+ description?: string;
417
+ customizePadding?: string;
418
+ };
419
+ };
420
+ type BundleProps = {
421
+ bundle: BundlePayload;
422
+ addToCartFunction?: (selectedItemsSubtotal: number, variantIds?: string[], finalBundlePrice?: number, variantIdPriceMap?: {
423
+ variantId: string;
424
+ price: number;
425
+ }[]) => Promise<void>;
426
+ addCustomBundleToCart?: (e: any) => Promise<void>;
427
+ selectedItems?: {
428
+ variantId: string;
429
+ product: ProductDetails;
430
+ quantity: number;
431
+ }[];
432
+ setSelectedItems?: React.Dispatch<React.SetStateAction<{
433
+ variantId: string;
434
+ product: ProductDetails;
435
+ quantity: number;
436
+ }[]>>;
437
+ bundleAddToCartLoading?: boolean;
438
+ handleRemoveItem?: (variantId: string) => void;
439
+ selectedItemsQuantity?: number;
440
+ renderingOnPage?: boolean;
441
+ bundleSubtotal?: {
442
+ price: number;
443
+ compareAtPrice: number;
444
+ };
445
+ bundleHeaderBackgroundColor?: string;
446
+ currentProductId?: string;
447
+ };
448
448
  declare const Bundle: React.FC<BundleProps>;
449
449
 
450
- type stickyCartCustomizationDataProps = {
451
- showPrice: boolean;
452
- productImage?: {
453
- id: string;
454
- path: string;
455
- };
456
- buyNowCtaTitle: string;
457
- desktopBarType: "stretch" | "hover";
458
- showProductName: boolean;
459
- showBuyNowButton: boolean;
460
- showProductImage: boolean;
461
- addToCartCtaTitle: string;
462
- showAddToCartButton: boolean;
463
- showVariantSelector: boolean;
464
- productInfoVisibility: boolean;
465
- excludeProducts?: string[];
466
- showBarOnDesktop?: boolean;
467
- ctaButtonFontSize?: number;
468
- startsAppearingAtHeight?: number;
469
- fullyAppearsAtHeight?: number;
470
- topRibbonText?: string;
450
+ type stickyCartCustomizationDataProps = {
451
+ showPrice: boolean;
452
+ productImage?: {
453
+ id: string;
454
+ path: string;
455
+ };
456
+ buyNowCtaTitle: string;
457
+ desktopBarType: "stretch" | "hover";
458
+ showProductName: boolean;
459
+ showBuyNowButton: boolean;
460
+ showProductImage: boolean;
461
+ addToCartCtaTitle: string;
462
+ showAddToCartButton: boolean;
463
+ showVariantSelector: boolean;
464
+ productInfoVisibility: boolean;
465
+ excludeProducts?: string[];
466
+ showBarOnDesktop?: boolean;
467
+ ctaButtonFontSize?: number;
468
+ startsAppearingAtHeight?: number;
469
+ fullyAppearsAtHeight?: number;
470
+ topRibbonText?: string;
471
471
  };
472
472
 
473
- type Criteria = {
474
- id: string;
475
- type: "mov" | "moq";
476
- value: number;
477
- message: string;
478
- redirectionUrl?: string;
479
- };
480
- type Slide = {
481
- slideNumber: number;
482
- slideType: "TextImage" | "TextCode" | "TextFieldOnly" | "ImageOnly";
483
- textAlignment: "left" | "center" | "right";
484
- titleTextField?: string;
485
- descriptionTextField?: string;
486
- campaignCode?: string;
487
- imageUrl?: string;
488
- carouselRedirectionLink?: string;
489
- criteriaCount?: number;
490
- criteria?: Criteria[];
491
- };
492
- type CartOffersCarousalProps = {
493
- enableCartOffersCarousel: boolean;
494
- slidesCount: number;
495
- pauseTimer: number;
496
- backgroundColor: string;
497
- slides: Slide[];
473
+ type Criteria = {
474
+ id: string;
475
+ type: "mov" | "moq";
476
+ value: number;
477
+ message: string;
478
+ redirectionUrl?: string;
479
+ };
480
+ type Slide = {
481
+ slideNumber: number;
482
+ slideType: "TextImage" | "TextCode" | "TextFieldOnly" | "ImageOnly";
483
+ textAlignment: "left" | "center" | "right";
484
+ titleTextField?: string;
485
+ descriptionTextField?: string;
486
+ campaignCode?: string;
487
+ imageUrl?: string;
488
+ carouselRedirectionLink?: string;
489
+ criteriaCount?: number;
490
+ criteria?: Criteria[];
491
+ };
492
+ type CartOffersCarousalProps = {
493
+ enableCartOffersCarousel: boolean;
494
+ slidesCount: number;
495
+ pauseTimer: number;
496
+ backgroundColor: string;
497
+ slides: Slide[];
498
498
  };
499
499
 
500
- type freebieMilestoneProps = {
501
- enableFreebieMilestone: boolean;
502
- milestoneImage: {
503
- id: string;
504
- path: string;
505
- };
506
- campaignFilter?: string;
500
+ type freebieMilestoneProps = {
501
+ enableFreebieMilestone: boolean;
502
+ milestoneImage: {
503
+ id: string;
504
+ path: string;
505
+ };
506
+ campaignFilter?: string;
507
507
  };
508
508
 
509
- interface GSTSectionCustomizationProps {
510
- title?: string;
511
- iconColor?: string;
512
- showIcon?: boolean;
513
- backgroundColor?: string;
514
- textColor?: string;
509
+ interface GSTSectionCustomizationProps {
510
+ title?: string;
511
+ iconColor?: string;
512
+ showIcon?: boolean;
513
+ backgroundColor?: string;
514
+ textColor?: string;
515
515
  }
516
516
 
517
- interface RewardCoupon {
518
- couponTemplateId: number;
519
- name: string;
520
- couponType: string;
521
- discountPercentage: number | null;
522
- discountValue: number | null;
523
- minimumOrderValue: number | null;
524
- pointsRequired: number | null;
525
- }
526
- interface Checkpoint {
527
- couponTemplateId: number;
528
- couponType: string;
529
- minimumOrderValue: number;
530
- name: string;
531
- quantityThreshold: number;
532
- isDummyCouponTemplate?: boolean;
533
- customerGetsProductIds?: {
534
- ids: string[];
535
- };
536
- discountValue?: number;
537
- _allVariantIds: string[];
538
- maxFreebiesInTier?: number;
539
- }
540
- interface freebieClaimInterface {
541
- freebieSectionTitle: string;
542
- productClaimCtaButtonText: string;
543
- type: "section" | "overlay";
544
- allowOverlayClose: boolean;
545
- }
546
- type LoyaltyDiscount = {
547
- type: string;
548
- key: string;
549
- title: string;
550
- description: string | null;
551
- value: string;
552
- created_at: string;
553
- value_type: string;
554
- allocation_method: string;
555
- target_selection: string;
556
- target_type: string;
557
- total_allocated_amount: number;
558
- };
559
- interface CartProps {
560
- isOpen: boolean;
561
- setIsOpen: React.Dispatch<React.SetStateAction<boolean>>;
562
- backdrop?: boolean;
563
- backgroundColor: string;
564
- backgroundSubdued?: string;
565
- tertiaryColor?: string;
566
- tertiaryTextColor?: string;
567
- exploreCTAColor: string;
568
- emptyCartTitle: string;
569
- emptyCartDescription?: string;
570
- emptyCartButtons?: Array<{
571
- title: string;
572
- link: string;
573
- }>;
574
- checkoutFontSize: number | string;
575
- cartTitle: string;
576
- cartData?: any;
577
- switchWidthVariant?: boolean;
578
- addCartItem?: (product: any, quantity?: number, triggeredFrom?: string, freebieReplace?: boolean, productHandle?: string) => Promise<any>;
579
- removeCartItem: (lineItemKey: string, triggeredFrom?: string, ytRequest?: boolean) => Promise<any>;
580
- handleIncrement: (productId: number, newQuantity: number, properties?: {
581
- [key: string]: string;
582
- }) => Promise<any>;
583
- handleDecrement: (productId: number, newQuantity?: number) => Promise<any>;
584
- bundleProducts?: any;
585
- showBundle?: boolean;
586
- showCouponOptions?: boolean;
587
- isUserSignedIn?: boolean;
588
- loyaltyIcon?: string;
589
- discountAmountOff?: number;
590
- pointsToBeUsed?: number;
591
- rewardMultiplier?: number;
592
- redemptionMultiplier?: number;
593
- removeDiscount?: () => Promise<any>;
594
- applyDiscount?: () => Promise<any>;
595
- discountApplied?: boolean;
596
- rewardCoupons?: RewardCoupon[];
597
- userTotalPoints?: number;
598
- joinNowFunction?: () => void;
599
- checkoutFunction: (templateId?: number) => Promise<any>;
600
- guestLoyaltyPercentage?: number;
601
- showToggleButton?: boolean;
602
- isDev?: boolean;
603
- recProductsList?: any[];
604
- showMultiStepProgressBar?: boolean;
605
- cartCheckpoints?: Checkpoint[];
606
- showCartLevelAltPay?: boolean;
607
- redemptionRate: number;
608
- pointsRewardRate: number;
609
- showGuestDiscountCoupon?: boolean;
610
- guestRewardCoupon?: RewardCouponWithIcon;
611
- applyTemplateDiscount?: (templateId?: number) => Promise<any>;
612
- exploreCtaRedirectLink?: string;
613
- discountAmountApplied?: number;
614
- minimumCartValue?: number;
615
- discountInCheckoutButton?: boolean | string;
616
- isStickyCheckout?: boolean;
617
- showDiscountsListToGuestUsers?: boolean;
618
- showApplyCouponsButtonToGuestUsers?: boolean;
619
- handleCheckpointCrossed?: (checkpoint: Checkpoint, cartAmount: number) => Promise<any>;
620
- customCartProgressBarCriteria?: string;
621
- primaryTextColor?: string;
622
- secondaryTextColor?: string;
623
- themeColor?: string;
624
- themeTextColor?: string;
625
- checkoutButtonColor?: string;
626
- ctaButtonBackgroundColor?: string;
627
- ctaButtonTextColor?: string;
628
- showProductRecsOnMobile?: boolean;
629
- showProductRecsOnDesktop?: boolean;
630
- productRecsTitleText?: string;
631
- productRecsCtaButtonText?: string;
632
- showGSTOption?: boolean;
633
- gstNumber?: string;
634
- companyName?: string;
635
- applyGSTToCart?: (gstNumber: string, companyName: string) => Promise<any>;
636
- showMOVForProgressTiers?: boolean;
637
- freeProduct?: any;
638
- showLoyaltyCta?: boolean;
639
- freeProductAdjustedCartTotal?: number;
640
- minimumOrderValueToAvailDiscount?: number;
641
- signinCTAButtonVisible?: boolean;
642
- cartSigninCTAMainText?: string;
643
- showNoteOption?: boolean;
644
- note?: string;
645
- applyNoteToCart?: (note: string) => Promise<any>;
646
- inlineCartOfferInfoText?: string;
647
- inlineCartOfferInfoRedirectLink?: string;
648
- cartOfferTermsAndConditionsText?: string;
649
- showEditOptionOnProducts?: boolean;
650
- getProductDetailsByVariantId?: (handle: string, variantId?: string) => Promise<any>;
651
- onSetLoading?: (setLoadingFn: (isLoading: boolean, showLoader: boolean, showSkeletonLoader?: boolean, showLoyaltyCtaLoading?: boolean) => void) => void;
652
- showVariantSelectionDropdownInProductRecs?: boolean;
653
- originalCartSubtotal?: number;
654
- freebieProductsInCart?: any;
655
- currentTier?: number;
656
- showFreebieClaim?: boolean;
657
- addFreebieToCart?: (variantId: string) => Promise<void>;
658
- freebiesInCart?: string[];
659
- effectiveQuantityForProgressBar?: number;
660
- productPercentageOffMapping: {
661
- [variantId: string]: number;
662
- };
663
- productTagsMapping?: Map<string, string[]>;
664
- removeFreebieFromCart?: (lineItemKey: string) => Promise<void>;
665
- postalCodeList?: number[];
666
- enableGeoLocationDeliveryRestriction?: boolean;
667
- applyPostalCodeAndDeliverySlotToCart?: (deliveryType: string, postalCode?: string, deliverySlot?: string) => Promise<any>;
668
- showDeleteOnFreebies?: boolean;
669
- freebieCouponTemplates?: Checkpoint[];
670
- freebieFlowCheckpoints?: Checkpoint[];
671
- freebieClaimData?: freebieClaimInterface;
672
- showStickyAddToCart?: boolean;
673
- stickyCartLineItem?: any;
674
- stickyCartCustomizationData?: stickyCartCustomizationDataProps;
675
- stickyCartLineItemQuantity?: number;
676
- postalCodeBasedItemTrackingParameter?: "specific-tags" | "all-products";
677
- enableSlotPicker?: boolean;
678
- deliveryHeaderTitle?: string;
679
- deliveryAvailableText?: string;
680
- deliveryNotAvailableText?: string;
681
- giftWrapSetupData?: any;
682
- giftWrapProductDetail?: any;
683
- progressBarFreeProductIconType?: "tshirt" | "gift" | "box" | "cup";
684
- addToStickyCart?: (variantId: string, quantity: number) => Promise<void>;
685
- enableCustomCartOnCartPage?: boolean;
686
- isCartPage?: boolean;
687
- productRecsCardLayout: "horizontal" | "vertical";
688
- productRecsCardListVariant: "scroll" | "carousel" | "vertical";
689
- showCartTimer?: boolean;
690
- showFreebieMilestone?: boolean;
691
- cartTimerInMinutes?: number;
692
- cartTimerCustomText?: string;
693
- imageAspectSelector?: "square" | "portrait";
694
- cartComponentsCornerType?: "rounded" | "sharp";
695
- cartComponentsCornerRadius?: number;
696
- cartOffersCarousalData?: CartOffersCarousalProps;
697
- freebieMilestoneData?: freebieMilestoneProps;
698
- cartOffersCarouselHeight?: number;
699
- stickyBarBuyNowFunction?: (event: any) => Promise<any>;
700
- gstSectionCustomizationData?: GSTSectionCustomizationProps;
701
- noteSectionTitle?: string;
702
- checkoutSectionMessage?: string;
703
- checkoutSectionMessageRedirectLink?: string;
704
- checkoutSectionMessageDisplay?: "ribbon" | "tag" | "bookmark";
705
- showVariantSelectionDropdownInProductClaim?: boolean;
706
- productClaimCtaButtonText?: string;
707
- loyaltyDiscount?: LoyaltyDiscount | undefined;
708
- brandTokenName?: string;
709
- showDiscountOnMRP?: boolean;
710
- prefixMessageText?: string;
711
- suffixMessageText?: string;
712
- successMessageText?: string;
713
- toggleDecimal?: boolean;
714
- disableCheckoutButton: boolean;
715
- showEmptyCartRecommendations?: boolean;
716
- emptyProductRecsTitleText?: string;
717
- checkoutButtonBottomSpacing?: number;
718
- showPoweredByBadge?: boolean;
719
- applyCouponCode?: (code: string) => Promise<void>;
720
- showApplyCoupon?: boolean;
721
- enableConfetti?: boolean;
722
- showCheckoutButtonPaymentIcons?: boolean;
723
- shouldCheckInventoryQuantity?: boolean;
724
- comboBundleData?: BundlePayload;
725
- comboBundleAddToCartFunction?: (selectedItemsSubtotal: number, variantIds?: string[], finalBundlePrice?: number, variantIdPriceMap?: {
726
- variantId: string;
727
- price: number;
728
- }[]) => Promise<void>;
729
- }
517
+ interface RewardCoupon {
518
+ couponTemplateId: number;
519
+ name: string;
520
+ couponType: string;
521
+ discountPercentage: number | null;
522
+ discountValue: number | null;
523
+ minimumOrderValue: number | null;
524
+ pointsRequired: number | null;
525
+ }
526
+ interface Checkpoint {
527
+ couponTemplateId: number;
528
+ couponType: string;
529
+ minimumOrderValue: number;
530
+ name: string;
531
+ quantityThreshold: number;
532
+ isDummyCouponTemplate?: boolean;
533
+ customerGetsProductIds?: {
534
+ ids: string[];
535
+ };
536
+ discountValue?: number;
537
+ _allVariantIds: string[];
538
+ maxFreebiesInTier?: number;
539
+ }
540
+ interface freebieClaimInterface {
541
+ freebieSectionTitle: string;
542
+ productClaimCtaButtonText: string;
543
+ type: "section" | "overlay";
544
+ allowOverlayClose: boolean;
545
+ }
546
+ type LoyaltyDiscount = {
547
+ type: string;
548
+ key: string;
549
+ title: string;
550
+ description: string | null;
551
+ value: string;
552
+ created_at: string;
553
+ value_type: string;
554
+ allocation_method: string;
555
+ target_selection: string;
556
+ target_type: string;
557
+ total_allocated_amount: number;
558
+ };
559
+ interface CartProps {
560
+ isOpen: boolean;
561
+ setIsOpen: React.Dispatch<React.SetStateAction<boolean>>;
562
+ backdrop?: boolean;
563
+ backgroundColor: string;
564
+ backgroundSubdued?: string;
565
+ tertiaryColor?: string;
566
+ tertiaryTextColor?: string;
567
+ exploreCTAColor: string;
568
+ emptyCartTitle: string;
569
+ emptyCartDescription?: string;
570
+ emptyCartButtons?: Array<{
571
+ title: string;
572
+ link: string;
573
+ }>;
574
+ checkoutFontSize: number | string;
575
+ cartTitle: string;
576
+ cartData?: any;
577
+ switchWidthVariant?: boolean;
578
+ addCartItem?: (product: any, quantity?: number, triggeredFrom?: string, freebieReplace?: boolean, productHandle?: string) => Promise<any>;
579
+ removeCartItem: (lineItemKey: string, triggeredFrom?: string, ytRequest?: boolean) => Promise<any>;
580
+ handleIncrement: (productId: number, newQuantity: number, properties?: {
581
+ [key: string]: string;
582
+ }) => Promise<any>;
583
+ handleDecrement: (productId: number, newQuantity?: number) => Promise<any>;
584
+ bundleProducts?: any;
585
+ showBundle?: boolean;
586
+ showCouponOptions?: boolean;
587
+ isUserSignedIn?: boolean;
588
+ loyaltyIcon?: string;
589
+ discountAmountOff?: number;
590
+ pointsToBeUsed?: number;
591
+ rewardMultiplier?: number;
592
+ redemptionMultiplier?: number;
593
+ removeDiscount?: () => Promise<any>;
594
+ applyDiscount?: () => Promise<any>;
595
+ discountApplied?: boolean;
596
+ rewardCoupons?: RewardCoupon[];
597
+ userTotalPoints?: number;
598
+ joinNowFunction?: () => void;
599
+ checkoutFunction: (templateId?: number) => Promise<any>;
600
+ guestLoyaltyPercentage?: number;
601
+ showToggleButton?: boolean;
602
+ isDev?: boolean;
603
+ recProductsList?: any[];
604
+ showMultiStepProgressBar?: boolean;
605
+ cartCheckpoints?: Checkpoint[];
606
+ showCartLevelAltPay?: boolean;
607
+ redemptionRate: number;
608
+ pointsRewardRate: number;
609
+ showGuestDiscountCoupon?: boolean;
610
+ guestRewardCoupon?: RewardCouponWithIcon;
611
+ applyTemplateDiscount?: (templateId?: number) => Promise<any>;
612
+ exploreCtaRedirectLink?: string;
613
+ discountAmountApplied?: number;
614
+ minimumCartValue?: number;
615
+ discountInCheckoutButton?: boolean | string;
616
+ isStickyCheckout?: boolean;
617
+ showDiscountsListToGuestUsers?: boolean;
618
+ showApplyCouponsButtonToGuestUsers?: boolean;
619
+ handleCheckpointCrossed?: (checkpoint: Checkpoint, cartAmount: number) => Promise<any>;
620
+ customCartProgressBarCriteria?: string;
621
+ primaryTextColor?: string;
622
+ secondaryTextColor?: string;
623
+ themeColor?: string;
624
+ themeTextColor?: string;
625
+ checkoutButtonColor?: string;
626
+ ctaButtonBackgroundColor?: string;
627
+ ctaButtonTextColor?: string;
628
+ showProductRecsOnMobile?: boolean;
629
+ showProductRecsOnDesktop?: boolean;
630
+ productRecsTitleText?: string;
631
+ productRecsCtaButtonText?: string;
632
+ showGSTOption?: boolean;
633
+ gstNumber?: string;
634
+ companyName?: string;
635
+ applyGSTToCart?: (gstNumber: string, companyName: string) => Promise<any>;
636
+ showMOVForProgressTiers?: boolean;
637
+ freeProduct?: any;
638
+ showLoyaltyCta?: boolean;
639
+ freeProductAdjustedCartTotal?: number;
640
+ minimumOrderValueToAvailDiscount?: number;
641
+ signinCTAButtonVisible?: boolean;
642
+ cartSigninCTAMainText?: string;
643
+ showNoteOption?: boolean;
644
+ note?: string;
645
+ applyNoteToCart?: (note: string) => Promise<any>;
646
+ inlineCartOfferInfoText?: string;
647
+ inlineCartOfferInfoRedirectLink?: string;
648
+ cartOfferTermsAndConditionsText?: string;
649
+ showEditOptionOnProducts?: boolean;
650
+ getProductDetailsByVariantId?: (handle: string, variantId?: string) => Promise<any>;
651
+ onSetLoading?: (setLoadingFn: (isLoading: boolean, showLoader: boolean, showSkeletonLoader?: boolean, showLoyaltyCtaLoading?: boolean) => void) => void;
652
+ showVariantSelectionDropdownInProductRecs?: boolean;
653
+ originalCartSubtotal?: number;
654
+ freebieProductsInCart?: any;
655
+ currentTier?: number;
656
+ showFreebieClaim?: boolean;
657
+ addFreebieToCart?: (variantId: string) => Promise<void>;
658
+ freebiesInCart?: string[];
659
+ effectiveQuantityForProgressBar?: number;
660
+ productPercentageOffMapping: {
661
+ [variantId: string]: number;
662
+ };
663
+ productTagsMapping?: Map<string, string[]>;
664
+ removeFreebieFromCart?: (lineItemKey: string) => Promise<void>;
665
+ postalCodeList?: number[];
666
+ enableGeoLocationDeliveryRestriction?: boolean;
667
+ applyPostalCodeAndDeliverySlotToCart?: (deliveryType: string, postalCode?: string, deliverySlot?: string) => Promise<any>;
668
+ showDeleteOnFreebies?: boolean;
669
+ freebieCouponTemplates?: Checkpoint[];
670
+ freebieFlowCheckpoints?: Checkpoint[];
671
+ freebieClaimData?: freebieClaimInterface;
672
+ showStickyAddToCart?: boolean;
673
+ stickyCartLineItem?: any;
674
+ stickyCartCustomizationData?: stickyCartCustomizationDataProps;
675
+ stickyCartLineItemQuantity?: number;
676
+ postalCodeBasedItemTrackingParameter?: "specific-tags" | "all-products";
677
+ enableSlotPicker?: boolean;
678
+ deliveryHeaderTitle?: string;
679
+ deliveryAvailableText?: string;
680
+ deliveryNotAvailableText?: string;
681
+ giftWrapSetupData?: any;
682
+ giftWrapProductDetail?: any;
683
+ progressBarFreeProductIconType?: "tshirt" | "gift" | "box" | "cup";
684
+ addToStickyCart?: (variantId: string, quantity: number) => Promise<void>;
685
+ enableCustomCartOnCartPage?: boolean;
686
+ isCartPage?: boolean;
687
+ productRecsCardLayout: "horizontal" | "vertical";
688
+ productRecsCardListVariant: "scroll" | "carousel" | "vertical";
689
+ showCartTimer?: boolean;
690
+ showFreebieMilestone?: boolean;
691
+ cartTimerInMinutes?: number;
692
+ cartTimerCustomText?: string;
693
+ imageAspectSelector?: "square" | "portrait";
694
+ cartComponentsCornerType?: "rounded" | "sharp";
695
+ cartComponentsCornerRadius?: number;
696
+ cartOffersCarousalData?: CartOffersCarousalProps;
697
+ freebieMilestoneData?: freebieMilestoneProps;
698
+ cartOffersCarouselHeight?: number;
699
+ stickyBarBuyNowFunction?: (event: any) => Promise<any>;
700
+ gstSectionCustomizationData?: GSTSectionCustomizationProps;
701
+ noteSectionTitle?: string;
702
+ checkoutSectionMessage?: string;
703
+ checkoutSectionMessageRedirectLink?: string;
704
+ checkoutSectionMessageDisplay?: "ribbon" | "tag" | "bookmark";
705
+ showVariantSelectionDropdownInProductClaim?: boolean;
706
+ productClaimCtaButtonText?: string;
707
+ loyaltyDiscount?: LoyaltyDiscount | undefined;
708
+ brandTokenName?: string;
709
+ showDiscountOnMRP?: boolean;
710
+ prefixMessageText?: string;
711
+ suffixMessageText?: string;
712
+ successMessageText?: string;
713
+ toggleDecimal?: boolean;
714
+ disableCheckoutButton: boolean;
715
+ showEmptyCartRecommendations?: boolean;
716
+ emptyProductRecsTitleText?: string;
717
+ checkoutButtonBottomSpacing?: number;
718
+ showPoweredByBadge?: boolean;
719
+ applyCouponCode?: (code: string) => Promise<void>;
720
+ showApplyCoupon?: boolean;
721
+ enableConfetti?: boolean;
722
+ showCheckoutButtonPaymentIcons?: boolean;
723
+ shouldCheckInventoryQuantity?: boolean;
724
+ comboBundleData?: BundlePayload;
725
+ comboBundleAddToCartFunction?: (selectedItemsSubtotal: number, variantIds?: string[], finalBundlePrice?: number, variantIdPriceMap?: {
726
+ variantId: string;
727
+ price: number;
728
+ }[]) => Promise<void>;
729
+ }
730
730
  declare const Cart: React.FC<CartProps>;
731
731
 
732
- type BundleLoaderProps = {};
732
+ type BundleLoaderProps = {};
733
733
  declare const BundleLoader: React.FC<BundleLoaderProps>;
734
734
 
735
735
  export { Bundle, BundleLoader, Cart, CouponFrame, Nudge, SpinnerWheel };