yt-uikit 0.7.402-zelo-classes.0 → 0.7.403

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