@newskit-render/my-account 0.0.0-e8d83dca6 → 0.0.0-ebbe82767

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 (435) hide show
  1. package/dist/cjs/Components/Elements/ForwardButton/ForwardButton.d.ts +21 -0
  2. package/dist/cjs/Components/Elements/ForwardButton/ForwardButton.js +54 -0
  3. package/dist/cjs/Components/Elements/ForwardButton/ForwardButton.js.map +1 -0
  4. package/dist/cjs/Components/Elements/Head/Head.js +1 -1
  5. package/dist/cjs/Components/Elements/Head/Head.js.map +1 -1
  6. package/dist/cjs/Components/Elements/ListItemComponents/ItemFooter.d.ts +15 -0
  7. package/dist/cjs/Components/Elements/ListItemComponents/ItemFooter.js +27 -0
  8. package/dist/cjs/Components/Elements/ListItemComponents/ItemFooter.js.map +1 -0
  9. package/dist/cjs/Components/Elements/ListItemComponents/ItemIconLabel.d.ts +5 -0
  10. package/dist/cjs/Components/Elements/ListItemComponents/ItemIconLabel.js +16 -0
  11. package/dist/cjs/Components/Elements/ListItemComponents/ItemIconLabel.js.map +1 -0
  12. package/dist/cjs/Components/Elements/ListItemComponents/ItemSubtitle.d.ts +7 -0
  13. package/dist/cjs/Components/Elements/ListItemComponents/ItemSubtitle.js +51 -0
  14. package/dist/cjs/Components/Elements/ListItemComponents/ItemSubtitle.js.map +1 -0
  15. package/dist/cjs/Components/Elements/ListItemComponents/index.d.ts +3 -0
  16. package/dist/cjs/Components/Elements/ListItemComponents/index.js +20 -0
  17. package/dist/cjs/Components/Elements/ListItemComponents/index.js.map +1 -0
  18. package/dist/cjs/Components/Elements/NewsletterCard/NewsletterCard.js +6 -5
  19. package/dist/cjs/Components/Elements/NewsletterCard/NewsletterCard.js.map +1 -1
  20. package/dist/cjs/Components/Elements/OfferCard/OfferCard.d.ts +3 -0
  21. package/dist/cjs/Components/Elements/OfferCard/OfferCard.js +73 -0
  22. package/dist/cjs/Components/Elements/OfferCard/OfferCard.js.map +1 -0
  23. package/dist/cjs/Components/Elements/OfferCard/index.d.ts +2 -0
  24. package/dist/cjs/Components/Elements/OfferCard/index.js +5 -0
  25. package/dist/cjs/Components/Elements/OfferCard/index.js.map +1 -0
  26. package/dist/cjs/Components/Elements/OfferCard/styled.d.ts +35 -0
  27. package/dist/cjs/Components/Elements/OfferCard/styled.js +12 -0
  28. package/dist/cjs/Components/Elements/OfferCard/styled.js.map +1 -0
  29. package/dist/cjs/Components/Elements/OfferCard/types.d.ts +21 -0
  30. package/dist/cjs/Components/Elements/OfferCard/types.js +3 -0
  31. package/dist/cjs/Components/Elements/OfferCard/types.js.map +1 -0
  32. package/dist/cjs/Components/Elements/SectionListItem/GridListItem.d.ts +3 -0
  33. package/dist/cjs/Components/Elements/SectionListItem/GridListItem.js +77 -0
  34. package/dist/cjs/Components/Elements/SectionListItem/GridListItem.js.map +1 -0
  35. package/dist/cjs/Components/Elements/SectionListItem/SectionListItem.d.ts +3 -0
  36. package/dist/cjs/Components/Elements/SectionListItem/SectionListItem.js +76 -0
  37. package/dist/cjs/Components/Elements/SectionListItem/SectionListItem.js.map +1 -0
  38. package/dist/cjs/Components/Elements/SectionListItem/index.d.ts +3 -0
  39. package/dist/cjs/Components/Elements/SectionListItem/index.js +20 -0
  40. package/dist/cjs/Components/Elements/SectionListItem/index.js.map +1 -0
  41. package/dist/cjs/Components/Elements/SectionListItem/types.d.ts +37 -0
  42. package/dist/cjs/Components/Elements/SectionListItem/types.js +3 -0
  43. package/dist/cjs/Components/Elements/SectionListItem/types.js.map +1 -0
  44. package/dist/cjs/Components/Elements/StandaloneLinkComponent/StandaloneLinkComponent.js +4 -15
  45. package/dist/cjs/Components/Elements/StandaloneLinkComponent/StandaloneLinkComponent.js.map +1 -1
  46. package/dist/cjs/Components/Elements/UserHubListItem/UserHubListItem.js +3 -4
  47. package/dist/cjs/Components/Elements/UserHubListItem/UserHubListItem.js.map +1 -1
  48. package/dist/cjs/Components/Elements/UserHubListItem/types.d.ts +5 -2
  49. package/dist/cjs/Components/Sections/CancelSubscription/CancelSubscription.d.ts +1 -1
  50. package/dist/cjs/Components/Sections/CancelSubscription/CancelSubscription.js +42 -12
  51. package/dist/cjs/Components/Sections/CancelSubscription/CancelSubscription.js.map +1 -1
  52. package/dist/cjs/Components/Sections/CancelSubscription/types.d.ts +20 -7
  53. package/dist/cjs/Components/Sections/CancelSubscriptionDowngrade/CancelSubscriptionDowngrade.d.ts +19 -0
  54. package/dist/cjs/Components/Sections/CancelSubscriptionDowngrade/CancelSubscriptionDowngrade.js +43 -0
  55. package/dist/cjs/Components/Sections/CancelSubscriptionDowngrade/CancelSubscriptionDowngrade.js.map +1 -0
  56. package/dist/cjs/Components/Sections/CancelSubscriptionDowngrade/index.d.ts +1 -0
  57. package/dist/cjs/Components/Sections/CancelSubscriptionDowngrade/index.js +6 -0
  58. package/dist/cjs/Components/Sections/CancelSubscriptionDowngrade/index.js.map +1 -0
  59. package/dist/cjs/Components/Sections/CancelSubscriptionDowngrade/type.d.ts +0 -0
  60. package/dist/cjs/Components/Sections/CancelSubscriptionDowngrade/type.js +2 -0
  61. package/dist/cjs/Components/Sections/CancelSubscriptionDowngrade/type.js.map +1 -0
  62. package/dist/cjs/Components/Sections/CancellationDetails/CancellationDetails.d.ts +2 -0
  63. package/dist/cjs/Components/Sections/CancellationDetails/CancellationDetails.js +172 -0
  64. package/dist/cjs/Components/Sections/CancellationDetails/CancellationDetails.js.map +1 -0
  65. package/dist/cjs/Components/Sections/CancellationDetails/index.d.ts +2 -0
  66. package/dist/cjs/Components/Sections/CancellationDetails/index.js +19 -0
  67. package/dist/cjs/Components/Sections/CancellationDetails/index.js.map +1 -0
  68. package/dist/cjs/Components/Sections/CancellationDetails/types.d.ts +37 -0
  69. package/dist/cjs/Components/Sections/CancellationDetails/types.js +3 -0
  70. package/dist/cjs/Components/Sections/CancellationDetails/types.js.map +1 -0
  71. package/dist/cjs/Components/Sections/CancellationReasons/CancellationReasons.d.ts +2 -0
  72. package/dist/cjs/Components/Sections/CancellationReasons/CancellationReasons.js +44 -0
  73. package/dist/cjs/Components/Sections/CancellationReasons/CancellationReasons.js.map +1 -0
  74. package/dist/cjs/Components/Sections/CancellationReasons/index.d.ts +1 -0
  75. package/dist/cjs/Components/Sections/CancellationReasons/index.js +18 -0
  76. package/dist/cjs/Components/Sections/CancellationReasons/index.js.map +1 -0
  77. package/dist/cjs/Components/Sections/CardContentContainer/CardContentContainer.js +2 -0
  78. package/dist/cjs/Components/Sections/CardContentContainer/CardContentContainer.js.map +1 -1
  79. package/dist/cjs/Components/Sections/ConfirmCancellation/ConfirmCancellation.d.ts +19 -0
  80. package/dist/cjs/Components/Sections/ConfirmCancellation/ConfirmCancellation.js +43 -0
  81. package/dist/cjs/Components/Sections/ConfirmCancellation/ConfirmCancellation.js.map +1 -0
  82. package/dist/cjs/Components/Sections/ContentContainer/ContentContainer.js +3 -2
  83. package/dist/cjs/Components/Sections/ContentContainer/ContentContainer.js.map +1 -1
  84. package/dist/cjs/Components/Sections/ContentContainer/InvoiceHistoryButton.js +11 -7
  85. package/dist/cjs/Components/Sections/ContentContainer/InvoiceHistoryButton.js.map +1 -1
  86. package/dist/cjs/Components/Sections/Form/InviteFamilyMember/InviteFamilyMember.js +2 -0
  87. package/dist/cjs/Components/Sections/Form/InviteFamilyMember/InviteFamilyMember.js.map +1 -1
  88. package/dist/cjs/Components/Sections/LayoutContentContainer/LayoutContentContainer.js +3 -3
  89. package/dist/cjs/Components/Sections/LayoutContentContainer/LayoutContentContainer.js.map +1 -1
  90. package/dist/cjs/Components/Sections/NewslettersList/NewslettersList.js +55 -5
  91. package/dist/cjs/Components/Sections/NewslettersList/NewslettersList.js.map +1 -1
  92. package/dist/cjs/Components/Sections/SectionContainer/GridSection.d.ts +3 -0
  93. package/dist/cjs/Components/Sections/SectionContainer/GridSection.js +46 -0
  94. package/dist/cjs/Components/Sections/SectionContainer/GridSection.js.map +1 -0
  95. package/dist/cjs/Components/Sections/SectionContainer/ListSection.d.ts +2 -0
  96. package/dist/cjs/Components/Sections/SectionContainer/ListSection.js +61 -0
  97. package/dist/cjs/Components/Sections/SectionContainer/ListSection.js.map +1 -0
  98. package/dist/cjs/Components/Sections/SectionContainer/SectionContainer.d.ts +11 -0
  99. package/dist/cjs/Components/Sections/SectionContainer/SectionContainer.js +49 -0
  100. package/dist/cjs/Components/Sections/SectionContainer/SectionContainer.js.map +1 -0
  101. package/dist/cjs/Components/Sections/SectionContainer/index.d.ts +4 -0
  102. package/dist/cjs/Components/Sections/SectionContainer/index.js +20 -0
  103. package/dist/cjs/Components/Sections/SectionContainer/index.js.map +1 -0
  104. package/dist/cjs/Components/Sections/SectionContainer/types.d.ts +39 -0
  105. package/dist/cjs/Components/Sections/SectionContainer/types.js +3 -0
  106. package/dist/cjs/Components/Sections/SectionContainer/types.js.map +1 -0
  107. package/dist/cjs/Components/Sections/SectionContainer/utils.d.ts +8 -0
  108. package/dist/cjs/Components/Sections/SectionContainer/utils.js +29 -0
  109. package/dist/cjs/Components/Sections/SectionContainer/utils.js.map +1 -0
  110. package/dist/cjs/Components/Sections/UserHub/BaseSection.js +5 -7
  111. package/dist/cjs/Components/Sections/UserHub/BaseSection.js.map +1 -1
  112. package/dist/cjs/Components/Sections/UserHub/NewslettersSection.js +1 -3
  113. package/dist/cjs/Components/Sections/UserHub/NewslettersSection.js.map +1 -1
  114. package/dist/cjs/Components/SharedTypes/GridLayoutProps.d.ts +37 -0
  115. package/dist/cjs/Components/SharedTypes/GridLayoutProps.js +3 -0
  116. package/dist/cjs/Components/SharedTypes/GridLayoutProps.js.map +1 -0
  117. package/dist/cjs/Components/Templates/CancellationStepperRender.d.ts +17 -0
  118. package/dist/cjs/Components/Templates/CancellationStepperRender.js +164 -0
  119. package/dist/cjs/Components/Templates/CancellationStepperRender.js.map +1 -0
  120. package/dist/cjs/Components/Templates/DisplayRenderer.js +9 -5
  121. package/dist/cjs/Components/Templates/DisplayRenderer.js.map +1 -1
  122. package/dist/cjs/Components/Templates/SectionRender.d.ts +7 -0
  123. package/dist/cjs/Components/Templates/SectionRender.js +50 -0
  124. package/dist/cjs/Components/Templates/SectionRender.js.map +1 -0
  125. package/dist/cjs/Components/Templates/SubscriptionAndBillingRender.js +12 -1
  126. package/dist/cjs/Components/Templates/SubscriptionAndBillingRender.js.map +1 -1
  127. package/dist/cjs/Components/Templates/index.d.ts +2 -1
  128. package/dist/cjs/Components/Templates/index.js +3 -1
  129. package/dist/cjs/Components/Templates/index.js.map +1 -1
  130. package/dist/cjs/api/authorization.d.ts +2 -1
  131. package/dist/cjs/api/authorization.js +9 -14
  132. package/dist/cjs/api/authorization.js.map +1 -1
  133. package/dist/cjs/api/index.d.ts +1 -0
  134. package/dist/cjs/api/index.js +1 -0
  135. package/dist/cjs/api/index.js.map +1 -1
  136. package/dist/cjs/api/mutateHandler.js +11 -3
  137. package/dist/cjs/api/mutateHandler.js.map +1 -1
  138. package/dist/cjs/api/mutateHandlerHelpers.js +5 -0
  139. package/dist/cjs/api/mutateHandlerHelpers.js.map +1 -1
  140. package/dist/cjs/api/trackEvent.d.ts +2 -0
  141. package/dist/cjs/api/trackEvent.js +83 -0
  142. package/dist/cjs/api/trackEvent.js.map +1 -0
  143. package/dist/cjs/constants/index.d.ts +1 -0
  144. package/dist/cjs/constants/index.js +2 -1
  145. package/dist/cjs/constants/index.js.map +1 -1
  146. package/dist/cjs/context/index.d.ts +24 -2
  147. package/dist/cjs/context/index.js +1 -0
  148. package/dist/cjs/context/index.js.map +1 -1
  149. package/dist/cjs/context/types.d.ts +100 -21
  150. package/dist/cjs/context/types.js +1 -1
  151. package/dist/cjs/context/types.js.map +1 -1
  152. package/dist/cjs/getProviderPropsTimes.js +28 -22
  153. package/dist/cjs/getProviderPropsTimes.js.map +1 -1
  154. package/dist/cjs/helpers/apiHandlerUtils.js +1 -0
  155. package/dist/cjs/helpers/apiHandlerUtils.js.map +1 -1
  156. package/dist/cjs/helpers/cancellationUtils.d.ts +9 -0
  157. package/dist/cjs/helpers/cancellationUtils.js +96 -0
  158. package/dist/cjs/helpers/cancellationUtils.js.map +1 -0
  159. package/dist/cjs/helpers/dateUtils.d.ts +8 -0
  160. package/dist/cjs/helpers/dateUtils.js +43 -0
  161. package/dist/cjs/helpers/dateUtils.js.map +1 -0
  162. package/dist/cjs/helpers/featureFlagUtils.d.ts +27 -3
  163. package/dist/cjs/helpers/featureFlagUtils.js +98 -8
  164. package/dist/cjs/helpers/featureFlagUtils.js.map +1 -1
  165. package/dist/cjs/helpers/index.d.ts +3 -0
  166. package/dist/cjs/helpers/index.js +3 -0
  167. package/dist/cjs/helpers/index.js.map +1 -1
  168. package/dist/cjs/helpers/layoutReflowUtils.d.ts +1 -0
  169. package/dist/cjs/helpers/layoutReflowUtils.js +13 -0
  170. package/dist/cjs/helpers/layoutReflowUtils.js.map +1 -0
  171. package/dist/cjs/helpers/providerUtilsTimes.js +1 -0
  172. package/dist/cjs/helpers/providerUtilsTimes.js.map +1 -1
  173. package/dist/cjs/helpers/subscriptionsUtils.d.ts +3 -0
  174. package/dist/cjs/helpers/subscriptionsUtils.js +32 -1
  175. package/dist/cjs/helpers/subscriptionsUtils.js.map +1 -1
  176. package/dist/cjs/index.d.ts +2 -1
  177. package/dist/cjs/index.js +1 -0
  178. package/dist/cjs/index.js.map +1 -1
  179. package/dist/cjs/pages/CancellationStepper/CancellationStepper.d.ts +3 -0
  180. package/dist/cjs/pages/CancellationStepper/CancellationStepper.js +55 -0
  181. package/dist/cjs/pages/CancellationStepper/CancellationStepper.js.map +1 -0
  182. package/dist/cjs/pages/CancellationStepper/CancellationStepperContext.d.ts +2 -0
  183. package/dist/cjs/pages/CancellationStepper/CancellationStepperContext.js +512 -0
  184. package/dist/cjs/pages/CancellationStepper/CancellationStepperContext.js.map +1 -0
  185. package/dist/cjs/pages/CancellationStepper/index.d.ts +2 -0
  186. package/dist/cjs/pages/CancellationStepper/index.js +19 -0
  187. package/dist/cjs/pages/CancellationStepper/index.js.map +1 -0
  188. package/dist/cjs/pages/SubscriptionAndBilling/Sections/CancelSubscriptionSectionContext.d.ts +2 -0
  189. package/dist/cjs/pages/SubscriptionAndBilling/Sections/CancelSubscriptionSectionContext.js +158 -0
  190. package/dist/cjs/pages/SubscriptionAndBilling/Sections/CancelSubscriptionSectionContext.js.map +1 -0
  191. package/dist/cjs/pages/SubscriptionAndBilling/SubscriptionAndBillingContext.js +0 -87
  192. package/dist/cjs/pages/SubscriptionAndBilling/SubscriptionAndBillingContext.js.map +1 -1
  193. package/dist/cjs/pages/SubscriptionAndBilling/SubscriptionAndBillingSunContext.js +1 -0
  194. package/dist/cjs/pages/SubscriptionAndBilling/SubscriptionAndBillingSunContext.js.map +1 -1
  195. package/dist/cjs/pages/UserHub/UserHubContext.js +10 -4
  196. package/dist/cjs/pages/UserHub/UserHubContext.js.map +1 -1
  197. package/dist/cjs/pages/types.d.ts +18 -0
  198. package/dist/cjs/providers/types.d.ts +4 -2
  199. package/dist/cjs/providersTimes/types.d.ts +0 -8
  200. package/dist/cjs/providersTimes/types.js.map +1 -1
  201. package/dist/cjs/queries/getAuthorizeUriInput.js +1 -1
  202. package/dist/cjs/queries/getAuthorizeUriInput.js.map +1 -1
  203. package/dist/cjs/queries/getPaymentInfoAndAccountType.js +1 -1
  204. package/dist/cjs/queries/getPaymentInfoAndAccountType.js.map +1 -1
  205. package/dist/cjs/queries/getUserEntitlements.js +1 -1
  206. package/dist/cjs/queries/getUserEntitlements.js.map +1 -1
  207. package/dist/cjs/queries/getUserIncentives.d.ts +1 -0
  208. package/dist/cjs/queries/getUserIncentives.js +11 -0
  209. package/dist/cjs/queries/getUserIncentives.js.map +1 -0
  210. package/dist/cjs/queries/getUserNewsletters.js +1 -1
  211. package/dist/cjs/queries/getUserNewsletters.js.map +1 -1
  212. package/dist/cjs/queries/getUserSubscription.js +2 -1
  213. package/dist/cjs/queries/getUserSubscription.js.map +1 -1
  214. package/dist/cjs/queries/mutateCancellation.js +1 -1
  215. package/dist/cjs/queries/mutateCancellation.js.map +1 -1
  216. package/dist/cjs/queries/mutateSendFamilyMemberInvite.js +1 -0
  217. package/dist/cjs/queries/mutateSendFamilyMemberInvite.js.map +1 -1
  218. package/dist/esm/Components/Elements/ForwardButton/ForwardButton.d.ts +21 -0
  219. package/dist/esm/Components/Elements/ForwardButton/ForwardButton.js +47 -0
  220. package/dist/esm/Components/Elements/ForwardButton/ForwardButton.js.map +1 -0
  221. package/dist/esm/Components/Elements/Head/Head.js +1 -1
  222. package/dist/esm/Components/Elements/Head/Head.js.map +1 -1
  223. package/dist/esm/Components/Elements/ListItemComponents/ItemFooter.d.ts +15 -0
  224. package/dist/esm/Components/Elements/ListItemComponents/ItemFooter.js +20 -0
  225. package/dist/esm/Components/Elements/ListItemComponents/ItemFooter.js.map +1 -0
  226. package/dist/esm/Components/Elements/ListItemComponents/ItemIconLabel.d.ts +5 -0
  227. package/dist/esm/Components/Elements/ListItemComponents/ItemIconLabel.js +9 -0
  228. package/dist/esm/Components/Elements/ListItemComponents/ItemIconLabel.js.map +1 -0
  229. package/dist/esm/Components/Elements/ListItemComponents/ItemSubtitle.d.ts +7 -0
  230. package/dist/esm/Components/Elements/ListItemComponents/ItemSubtitle.js +24 -0
  231. package/dist/esm/Components/Elements/ListItemComponents/ItemSubtitle.js.map +1 -0
  232. package/dist/esm/Components/Elements/ListItemComponents/index.d.ts +3 -0
  233. package/dist/esm/Components/Elements/ListItemComponents/index.js +4 -0
  234. package/dist/esm/Components/Elements/ListItemComponents/index.js.map +1 -0
  235. package/dist/esm/Components/Elements/NewsletterCard/NewsletterCard.js +6 -5
  236. package/dist/esm/Components/Elements/NewsletterCard/NewsletterCard.js.map +1 -1
  237. package/dist/esm/Components/Elements/OfferCard/OfferCard.d.ts +3 -0
  238. package/dist/esm/Components/Elements/OfferCard/OfferCard.js +66 -0
  239. package/dist/esm/Components/Elements/OfferCard/OfferCard.js.map +1 -0
  240. package/dist/esm/Components/Elements/OfferCard/index.d.ts +2 -0
  241. package/dist/esm/Components/Elements/OfferCard/index.js +3 -0
  242. package/dist/esm/Components/Elements/OfferCard/index.js.map +1 -0
  243. package/dist/esm/Components/Elements/OfferCard/styled.d.ts +35 -0
  244. package/dist/esm/Components/Elements/OfferCard/styled.js +9 -0
  245. package/dist/esm/Components/Elements/OfferCard/styled.js.map +1 -0
  246. package/dist/esm/Components/Elements/OfferCard/types.d.ts +21 -0
  247. package/dist/esm/Components/Elements/OfferCard/types.js +2 -0
  248. package/dist/esm/Components/Elements/OfferCard/types.js.map +1 -0
  249. package/dist/esm/Components/Elements/SectionListItem/GridListItem.d.ts +3 -0
  250. package/dist/esm/Components/Elements/SectionListItem/GridListItem.js +70 -0
  251. package/dist/esm/Components/Elements/SectionListItem/GridListItem.js.map +1 -0
  252. package/dist/esm/Components/Elements/SectionListItem/SectionListItem.d.ts +3 -0
  253. package/dist/esm/Components/Elements/SectionListItem/SectionListItem.js +69 -0
  254. package/dist/esm/Components/Elements/SectionListItem/SectionListItem.js.map +1 -0
  255. package/dist/esm/Components/Elements/SectionListItem/index.d.ts +3 -0
  256. package/dist/esm/Components/Elements/SectionListItem/index.js +4 -0
  257. package/dist/esm/Components/Elements/SectionListItem/index.js.map +1 -0
  258. package/dist/esm/Components/Elements/SectionListItem/types.d.ts +37 -0
  259. package/dist/esm/Components/Elements/SectionListItem/types.js +2 -0
  260. package/dist/esm/Components/Elements/SectionListItem/types.js.map +1 -0
  261. package/dist/esm/Components/Elements/StandaloneLinkComponent/StandaloneLinkComponent.js +4 -15
  262. package/dist/esm/Components/Elements/StandaloneLinkComponent/StandaloneLinkComponent.js.map +1 -1
  263. package/dist/esm/Components/Elements/UserHubListItem/UserHubListItem.js +3 -4
  264. package/dist/esm/Components/Elements/UserHubListItem/UserHubListItem.js.map +1 -1
  265. package/dist/esm/Components/Elements/UserHubListItem/types.d.ts +5 -2
  266. package/dist/esm/Components/Sections/CancelSubscription/CancelSubscription.d.ts +1 -1
  267. package/dist/esm/Components/Sections/CancelSubscription/CancelSubscription.js +44 -14
  268. package/dist/esm/Components/Sections/CancelSubscription/CancelSubscription.js.map +1 -1
  269. package/dist/esm/Components/Sections/CancelSubscription/types.d.ts +20 -7
  270. package/dist/esm/Components/Sections/CancelSubscriptionDowngrade/CancelSubscriptionDowngrade.d.ts +19 -0
  271. package/dist/esm/Components/Sections/CancelSubscriptionDowngrade/CancelSubscriptionDowngrade.js +36 -0
  272. package/dist/esm/Components/Sections/CancelSubscriptionDowngrade/CancelSubscriptionDowngrade.js.map +1 -0
  273. package/dist/esm/Components/Sections/CancelSubscriptionDowngrade/index.d.ts +1 -0
  274. package/dist/esm/Components/Sections/CancelSubscriptionDowngrade/index.js +2 -0
  275. package/dist/esm/Components/Sections/CancelSubscriptionDowngrade/index.js.map +1 -0
  276. package/dist/esm/Components/Sections/CancelSubscriptionDowngrade/type.d.ts +0 -0
  277. package/dist/esm/Components/Sections/CancelSubscriptionDowngrade/type.js +2 -0
  278. package/dist/esm/Components/Sections/CancelSubscriptionDowngrade/type.js.map +1 -0
  279. package/dist/esm/Components/Sections/CancellationDetails/CancellationDetails.d.ts +2 -0
  280. package/dist/esm/Components/Sections/CancellationDetails/CancellationDetails.js +145 -0
  281. package/dist/esm/Components/Sections/CancellationDetails/CancellationDetails.js.map +1 -0
  282. package/dist/esm/Components/Sections/CancellationDetails/index.d.ts +2 -0
  283. package/dist/esm/Components/Sections/CancellationDetails/index.js +3 -0
  284. package/dist/esm/Components/Sections/CancellationDetails/index.js.map +1 -0
  285. package/dist/esm/Components/Sections/CancellationDetails/types.d.ts +37 -0
  286. package/dist/esm/Components/Sections/CancellationDetails/types.js +2 -0
  287. package/dist/esm/Components/Sections/CancellationDetails/types.js.map +1 -0
  288. package/dist/esm/Components/Sections/CancellationReasons/CancellationReasons.d.ts +2 -0
  289. package/dist/esm/Components/Sections/CancellationReasons/CancellationReasons.js +37 -0
  290. package/dist/esm/Components/Sections/CancellationReasons/CancellationReasons.js.map +1 -0
  291. package/dist/esm/Components/Sections/CancellationReasons/index.d.ts +1 -0
  292. package/dist/esm/Components/Sections/CancellationReasons/index.js +2 -0
  293. package/dist/esm/Components/Sections/CancellationReasons/index.js.map +1 -0
  294. package/dist/esm/Components/Sections/CardContentContainer/CardContentContainer.js +2 -0
  295. package/dist/esm/Components/Sections/CardContentContainer/CardContentContainer.js.map +1 -1
  296. package/dist/esm/Components/Sections/ConfirmCancellation/ConfirmCancellation.d.ts +19 -0
  297. package/dist/esm/Components/Sections/ConfirmCancellation/ConfirmCancellation.js +36 -0
  298. package/dist/esm/Components/Sections/ConfirmCancellation/ConfirmCancellation.js.map +1 -0
  299. package/dist/esm/Components/Sections/ContentContainer/ContentContainer.js +3 -2
  300. package/dist/esm/Components/Sections/ContentContainer/ContentContainer.js.map +1 -1
  301. package/dist/esm/Components/Sections/ContentContainer/InvoiceHistoryButton.js +11 -7
  302. package/dist/esm/Components/Sections/ContentContainer/InvoiceHistoryButton.js.map +1 -1
  303. package/dist/esm/Components/Sections/Form/InviteFamilyMember/InviteFamilyMember.js +2 -0
  304. package/dist/esm/Components/Sections/Form/InviteFamilyMember/InviteFamilyMember.js.map +1 -1
  305. package/dist/esm/Components/Sections/LayoutContentContainer/LayoutContentContainer.js +3 -3
  306. package/dist/esm/Components/Sections/LayoutContentContainer/LayoutContentContainer.js.map +1 -1
  307. package/dist/esm/Components/Sections/NewslettersList/NewslettersList.js +32 -2
  308. package/dist/esm/Components/Sections/NewslettersList/NewslettersList.js.map +1 -1
  309. package/dist/esm/Components/Sections/SectionContainer/GridSection.d.ts +3 -0
  310. package/dist/esm/Components/Sections/SectionContainer/GridSection.js +39 -0
  311. package/dist/esm/Components/Sections/SectionContainer/GridSection.js.map +1 -0
  312. package/dist/esm/Components/Sections/SectionContainer/ListSection.d.ts +2 -0
  313. package/dist/esm/Components/Sections/SectionContainer/ListSection.js +54 -0
  314. package/dist/esm/Components/Sections/SectionContainer/ListSection.js.map +1 -0
  315. package/dist/esm/Components/Sections/SectionContainer/SectionContainer.d.ts +11 -0
  316. package/dist/esm/Components/Sections/SectionContainer/SectionContainer.js +41 -0
  317. package/dist/esm/Components/Sections/SectionContainer/SectionContainer.js.map +1 -0
  318. package/dist/esm/Components/Sections/SectionContainer/index.d.ts +4 -0
  319. package/dist/esm/Components/Sections/SectionContainer/index.js +4 -0
  320. package/dist/esm/Components/Sections/SectionContainer/index.js.map +1 -0
  321. package/dist/esm/Components/Sections/SectionContainer/types.d.ts +39 -0
  322. package/dist/esm/Components/Sections/SectionContainer/types.js +2 -0
  323. package/dist/esm/Components/Sections/SectionContainer/types.js.map +1 -0
  324. package/dist/esm/Components/Sections/SectionContainer/utils.d.ts +8 -0
  325. package/dist/esm/Components/Sections/SectionContainer/utils.js +24 -0
  326. package/dist/esm/Components/Sections/SectionContainer/utils.js.map +1 -0
  327. package/dist/esm/Components/Sections/UserHub/BaseSection.js +5 -7
  328. package/dist/esm/Components/Sections/UserHub/BaseSection.js.map +1 -1
  329. package/dist/esm/Components/Sections/UserHub/NewslettersSection.js +1 -3
  330. package/dist/esm/Components/Sections/UserHub/NewslettersSection.js.map +1 -1
  331. package/dist/esm/Components/SharedTypes/GridLayoutProps.d.ts +37 -0
  332. package/dist/esm/Components/SharedTypes/GridLayoutProps.js +2 -0
  333. package/dist/esm/Components/SharedTypes/GridLayoutProps.js.map +1 -0
  334. package/dist/esm/Components/Templates/CancellationStepperRender.d.ts +17 -0
  335. package/dist/esm/Components/Templates/CancellationStepperRender.js +138 -0
  336. package/dist/esm/Components/Templates/CancellationStepperRender.js.map +1 -0
  337. package/dist/esm/Components/Templates/DisplayRenderer.js +9 -5
  338. package/dist/esm/Components/Templates/DisplayRenderer.js.map +1 -1
  339. package/dist/esm/Components/Templates/SectionRender.d.ts +7 -0
  340. package/dist/esm/Components/Templates/SectionRender.js +45 -0
  341. package/dist/esm/Components/Templates/SectionRender.js.map +1 -0
  342. package/dist/esm/Components/Templates/SubscriptionAndBillingRender.js +14 -3
  343. package/dist/esm/Components/Templates/SubscriptionAndBillingRender.js.map +1 -1
  344. package/dist/esm/Components/Templates/index.d.ts +2 -1
  345. package/dist/esm/Components/Templates/index.js +2 -1
  346. package/dist/esm/Components/Templates/index.js.map +1 -1
  347. package/dist/esm/api/authorization.d.ts +2 -1
  348. package/dist/esm/api/authorization.js +7 -12
  349. package/dist/esm/api/authorization.js.map +1 -1
  350. package/dist/esm/api/index.d.ts +1 -0
  351. package/dist/esm/api/index.js +1 -0
  352. package/dist/esm/api/index.js.map +1 -1
  353. package/dist/esm/api/mutateHandler.js +12 -4
  354. package/dist/esm/api/mutateHandler.js.map +1 -1
  355. package/dist/esm/api/mutateHandlerHelpers.js +5 -0
  356. package/dist/esm/api/mutateHandlerHelpers.js.map +1 -1
  357. package/dist/esm/api/trackEvent.d.ts +2 -0
  358. package/dist/esm/api/trackEvent.js +79 -0
  359. package/dist/esm/api/trackEvent.js.map +1 -0
  360. package/dist/esm/constants/index.d.ts +1 -0
  361. package/dist/esm/constants/index.js +1 -0
  362. package/dist/esm/constants/index.js.map +1 -1
  363. package/dist/esm/context/index.d.ts +24 -2
  364. package/dist/esm/context/index.js +1 -0
  365. package/dist/esm/context/index.js.map +1 -1
  366. package/dist/esm/context/types.d.ts +100 -21
  367. package/dist/esm/context/types.js +1 -1
  368. package/dist/esm/context/types.js.map +1 -1
  369. package/dist/esm/getProviderPropsTimes.js +28 -22
  370. package/dist/esm/getProviderPropsTimes.js.map +1 -1
  371. package/dist/esm/helpers/apiHandlerUtils.js +1 -0
  372. package/dist/esm/helpers/apiHandlerUtils.js.map +1 -1
  373. package/dist/esm/helpers/cancellationUtils.d.ts +9 -0
  374. package/dist/esm/helpers/cancellationUtils.js +86 -0
  375. package/dist/esm/helpers/cancellationUtils.js.map +1 -0
  376. package/dist/esm/helpers/dateUtils.d.ts +8 -0
  377. package/dist/esm/helpers/dateUtils.js +37 -0
  378. package/dist/esm/helpers/dateUtils.js.map +1 -0
  379. package/dist/esm/helpers/featureFlagUtils.d.ts +27 -3
  380. package/dist/esm/helpers/featureFlagUtils.js +96 -7
  381. package/dist/esm/helpers/featureFlagUtils.js.map +1 -1
  382. package/dist/esm/helpers/index.d.ts +3 -0
  383. package/dist/esm/helpers/index.js +3 -0
  384. package/dist/esm/helpers/index.js.map +1 -1
  385. package/dist/esm/helpers/layoutReflowUtils.d.ts +1 -0
  386. package/dist/esm/helpers/layoutReflowUtils.js +10 -0
  387. package/dist/esm/helpers/layoutReflowUtils.js.map +1 -0
  388. package/dist/esm/helpers/providerUtilsTimes.js +1 -0
  389. package/dist/esm/helpers/providerUtilsTimes.js.map +1 -1
  390. package/dist/esm/helpers/subscriptionsUtils.d.ts +3 -0
  391. package/dist/esm/helpers/subscriptionsUtils.js +29 -0
  392. package/dist/esm/helpers/subscriptionsUtils.js.map +1 -1
  393. package/dist/esm/index.d.ts +2 -1
  394. package/dist/esm/index.js +1 -0
  395. package/dist/esm/index.js.map +1 -1
  396. package/dist/esm/pages/CancellationStepper/CancellationStepper.d.ts +3 -0
  397. package/dist/esm/pages/CancellationStepper/CancellationStepper.js +25 -0
  398. package/dist/esm/pages/CancellationStepper/CancellationStepper.js.map +1 -0
  399. package/dist/esm/pages/CancellationStepper/CancellationStepperContext.d.ts +2 -0
  400. package/dist/esm/pages/CancellationStepper/CancellationStepperContext.js +506 -0
  401. package/dist/esm/pages/CancellationStepper/CancellationStepperContext.js.map +1 -0
  402. package/dist/esm/pages/CancellationStepper/index.d.ts +2 -0
  403. package/dist/esm/pages/CancellationStepper/index.js +3 -0
  404. package/dist/esm/pages/CancellationStepper/index.js.map +1 -0
  405. package/dist/esm/pages/SubscriptionAndBilling/Sections/CancelSubscriptionSectionContext.d.ts +2 -0
  406. package/dist/esm/pages/SubscriptionAndBilling/Sections/CancelSubscriptionSectionContext.js +151 -0
  407. package/dist/esm/pages/SubscriptionAndBilling/Sections/CancelSubscriptionSectionContext.js.map +1 -0
  408. package/dist/esm/pages/SubscriptionAndBilling/SubscriptionAndBillingContext.js +2 -92
  409. package/dist/esm/pages/SubscriptionAndBilling/SubscriptionAndBillingContext.js.map +1 -1
  410. package/dist/esm/pages/SubscriptionAndBilling/SubscriptionAndBillingSunContext.js +1 -0
  411. package/dist/esm/pages/SubscriptionAndBilling/SubscriptionAndBillingSunContext.js.map +1 -1
  412. package/dist/esm/pages/UserHub/UserHubContext.js +10 -4
  413. package/dist/esm/pages/UserHub/UserHubContext.js.map +1 -1
  414. package/dist/esm/pages/types.d.ts +18 -0
  415. package/dist/esm/providers/types.d.ts +4 -2
  416. package/dist/esm/providersTimes/types.d.ts +0 -8
  417. package/dist/esm/providersTimes/types.js.map +1 -1
  418. package/dist/esm/queries/getAuthorizeUriInput.js +1 -1
  419. package/dist/esm/queries/getAuthorizeUriInput.js.map +1 -1
  420. package/dist/esm/queries/getPaymentInfoAndAccountType.js +1 -1
  421. package/dist/esm/queries/getPaymentInfoAndAccountType.js.map +1 -1
  422. package/dist/esm/queries/getUserEntitlements.js +1 -1
  423. package/dist/esm/queries/getUserEntitlements.js.map +1 -1
  424. package/dist/esm/queries/getUserIncentives.d.ts +1 -0
  425. package/dist/esm/queries/getUserIncentives.js +8 -0
  426. package/dist/esm/queries/getUserIncentives.js.map +1 -0
  427. package/dist/esm/queries/getUserNewsletters.js +1 -1
  428. package/dist/esm/queries/getUserNewsletters.js.map +1 -1
  429. package/dist/esm/queries/getUserSubscription.js +2 -1
  430. package/dist/esm/queries/getUserSubscription.js.map +1 -1
  431. package/dist/esm/queries/mutateCancellation.js +1 -1
  432. package/dist/esm/queries/mutateCancellation.js.map +1 -1
  433. package/dist/esm/queries/mutateSendFamilyMemberInvite.js +1 -0
  434. package/dist/esm/queries/mutateSendFamilyMemberInvite.js.map +1 -1
  435. package/package.json +7 -5
@@ -1 +1 @@
1
- {"version":3,"file":"getUserSubscription.js","sourceRoot":"","sources":["../../../src/queries/getUserSubscription.ts"],"names":[],"mappings":";;;;;;;AAAA,yCAAoC;AACpC,yDAA0D;AAE7C,QAAA,qBAAqB,OAAG,YAAG,4oCAAA,MACpC,EAAoB,gkCA2DvB,KA3DG,wCAAoB,EA2DvB"}
1
+ {"version":3,"file":"getUserSubscription.js","sourceRoot":"","sources":["../../../src/queries/getUserSubscription.ts"],"names":[],"mappings":";;;;;;;AAAA,yCAAoC;AACpC,yDAA0D;AAC1D,yDAA+D;AAElD,QAAA,qBAAqB,OAAG,YAAG,qwCAAA,MACpC,EAAoB,MACpB,EAAyB,irCAiE5B,KAlEG,wCAAoB,EACpB,6CAAyB,EAiE5B"}
@@ -6,6 +6,6 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
7
  exports.mutateCancellation = void 0;
8
8
  var client_1 = require("@apollo/client");
9
- exports.mutateCancellation = (0, client_1.gql)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n mutation ($input: CancelSubscriptionInput!) {\n cancelSubscription(input: $input) {\n success\n message\n }\n }\n"], ["\n mutation ($input: CancelSubscriptionInput!) {\n cancelSubscription(input: $input) {\n success\n message\n }\n }\n"])));
9
+ exports.mutateCancellation = (0, client_1.gql)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n mutation ($input: CancelSubscriptionInput!) {\n cancelSubscription(input: $input) {\n success\n message\n serviceCancellationDate\n }\n }\n"], ["\n mutation ($input: CancelSubscriptionInput!) {\n cancelSubscription(input: $input) {\n success\n message\n serviceCancellationDate\n }\n }\n"])));
10
10
  var templateObject_1;
11
11
  //# sourceMappingURL=mutateCancellation.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"mutateCancellation.js","sourceRoot":"","sources":["../../../src/queries/mutateCancellation.ts"],"names":[],"mappings":";;;;;;;AAAA,yCAAkD;AAErC,QAAA,kBAAkB,OAAiB,YAAG,4MAAA,wIAOlD,KAAA"}
1
+ {"version":3,"file":"mutateCancellation.js","sourceRoot":"","sources":["../../../src/queries/mutateCancellation.ts"],"names":[],"mappings":";;;;;;;AAAA,yCAAkD;AAErC,QAAA,kBAAkB,OAAiB,YAAG,2OAAA,uKAQlD,KAAA"}
@@ -5,6 +5,7 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
5
5
  };
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
7
  exports.mutateSendFamilyMemberInvite = void 0;
8
+ // istanbul ignore next
8
9
  var client_1 = require("@apollo/client");
9
10
  exports.mutateSendFamilyMemberInvite = (0, client_1.gql)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n mutation sendGroupAccountShareInvitation(\n $input: SendGroupAccountShareInvitationInput!\n ) {\n sendGroupAccountShareInvitation(input: $input) {\n success\n errorCode\n errorMessage\n }\n }\n"], ["\n mutation sendGroupAccountShareInvitation(\n $input: SendGroupAccountShareInvitationInput!\n ) {\n sendGroupAccountShareInvitation(input: $input) {\n success\n errorCode\n errorMessage\n }\n }\n"])));
10
11
  var templateObject_1;
@@ -1 +1 @@
1
- {"version":3,"file":"mutateSendFamilyMemberInvite.js","sourceRoot":"","sources":["../../../src/queries/mutateSendFamilyMemberInvite.ts"],"names":[],"mappings":";;;;;;;AAAA,yCAAkD;AAErC,QAAA,4BAA4B,OAAiB,YAAG,qSAAA,iOAU5D,KAAA"}
1
+ {"version":3,"file":"mutateSendFamilyMemberInvite.js","sourceRoot":"","sources":["../../../src/queries/mutateSendFamilyMemberInvite.ts"],"names":[],"mappings":";;;;;;;AAAA,uBAAuB;AACvB,yCAAkD;AAErC,QAAA,4BAA4B,OAAiB,YAAG,qSAAA,iOAU5D,KAAA"}
@@ -0,0 +1,21 @@
1
+ import React, { FC } from 'react';
2
+ import { BlockProps, ButtonOverrides } from 'newskit';
3
+ import { EventContext } from '@newskit-render/shared-components';
4
+ export interface ForwardButtonProps extends React.HTMLAttributes<HTMLDivElement> {
5
+ label: string;
6
+ button?: {
7
+ text?: string;
8
+ href?: string;
9
+ };
10
+ baseUrl?: string;
11
+ icon?: React.ReactNode;
12
+ onClick?: (MouseEvent: any) => void;
13
+ buttonOverrides?: ButtonOverrides;
14
+ eventContext?: EventContext;
15
+ dataTestId?: string;
16
+ userTrackingData?: {
17
+ cpn?: string;
18
+ mpcode?: string;
19
+ };
20
+ }
21
+ export declare const ForwardButton: FC<ForwardButtonProps & BlockProps>;
@@ -0,0 +1,47 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ var __rest = (this && this.__rest) || function (s, e) {
13
+ var t = {};
14
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
15
+ t[p] = s[p];
16
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
17
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
18
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
19
+ t[p[i]] = s[p[i]];
20
+ }
21
+ return t;
22
+ };
23
+ import React from 'react';
24
+ import { Block, Button, TextBlock, toNewsKitIcon, } from 'newskit';
25
+ import { KeyboardArrowRight } from '@emotion-icons/material';
26
+ import { replaceBaseURL, trackEvent } from '../../../helpers';
27
+ var IconFilledKeyboardArrowRight = toNewsKitIcon(KeyboardArrowRight);
28
+ export var ForwardButton = function (_a) {
29
+ var label = _a.label, icon = _a.icon, _b = _a.button, _c = _b === void 0 ? {} : _b, text = _c.text, href = _c.href, _d = _a.baseUrl, baseUrl = _d === void 0 ? '' : _d, buttonOverrides = _a.buttonOverrides, eventContext = _a.eventContext, _e = _a.dataTestId, dataTestId = _e === void 0 ? 'forward-button' : _e, onClick = _a.onClick, userTrackingData = _a.userTrackingData, rest = __rest(_a, ["label", "icon", "button", "baseUrl", "buttonOverrides", "eventContext", "dataTestId", "onClick", "userTrackingData"]);
30
+ return (React.createElement(Block, __assign({}, rest),
31
+ React.createElement(TextBlock, { as: "span", stylePreset: "inkBase" }, label),
32
+ text && (React.createElement(Button, __assign({ "data-testid": dataTestId, overrides: __assign({ stylePreset: 'buttonMinimalPrimary', paddingInline: 'space010' }, buttonOverrides), eventContext: eventContext }, (href ? { href: replaceBaseURL(baseUrl, href) } : {}), { onClick: function (e) {
33
+ trackEvent({
34
+ eventName: "cancellation_flow_".concat(text === null || text === void 0 ? void 0 : text.split(' ').join('_').toLowerCase()),
35
+ cpn: (userTrackingData === null || userTrackingData === void 0 ? void 0 : userTrackingData.cpn) || '',
36
+ mpcode: (userTrackingData === null || userTrackingData === void 0 ? void 0 : userTrackingData.mpcode) || '',
37
+ tags: {},
38
+ });
39
+ if (onClick)
40
+ onClick(e);
41
+ } }),
42
+ text,
43
+ icon || (React.createElement(IconFilledKeyboardArrowRight, { overrides: {
44
+ stylePreset: 'buttonMinimalPrimary',
45
+ } }))))));
46
+ };
47
+ //# sourceMappingURL=ForwardButton.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ForwardButton.js","sourceRoot":"","sources":["../../../../../src/Components/Elements/ForwardButton/ForwardButton.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAa,MAAM,OAAO,CAAA;AACjC,OAAO,EACL,KAAK,EAEL,MAAM,EAEN,SAAS,EACT,aAAa,GACd,MAAM,SAAS,CAAA;AAChB,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AAE5D,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAE7D,IAAM,4BAA4B,GAAG,aAAa,CAAC,kBAAkB,CAAC,CAAA;AAqBtE,MAAM,CAAC,IAAM,aAAa,GAAwC,UAAC,EAWlE;IAVC,IAAA,KAAK,WAAA,EACL,IAAI,UAAA,EACJ,cAA2B,EAA3B,qBAAyB,EAAE,KAAA,EAAjB,IAAI,UAAA,EAAE,IAAI,UAAA,EACpB,eAAY,EAAZ,OAAO,mBAAG,EAAE,KAAA,EACZ,eAAe,qBAAA,E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Element("title", null, head &&
9
9
  "\n ".concat(head.pageTitle ? head.pageTitle : '', "\n ").concat(head.pageTitle && head.siteTitle ? ' | ' : '', " \n ").concat(head.siteTitle ? head.siteTitle : '')),
10
- head.pageMetaDescription && (React.createElement("meta", { name: "description", content: head.pageMetaDescription }))));
10
+ (head === null || head === void 0 ? void 0 : head.pageMetaDescription) && (React.createElement("meta", { name: "description", content: head === null || head === void 0 ? void 0 : head.pageMetaDescription }))));
11
11
  };
12
12
  export default AccountHead;
13
13
  //# sourceMappingURL=Head.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Head.js","sourceRoot":"","sources":["../../../../../src/Components/Elements/Head/Head.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,IAAI,MAAM,WAAW,CAAA;AAC5B,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAA;AAGpD,IAAM,WAAW,GAA+B,UAAC,EAAe;QAAb,WAAW,iBAAA;IACpD,IAAA,IAAI,GAAK,iBAAiB,CAAC,WAAW,CAAC,KAAnC,CAAmC;IAC/C,OAAO,CACL,oBAAC,IAAI;QACH,mCACG,IAAI;YACH,oBACA,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,uBACpC,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,wBAC7C,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAE,CAClC;QACP,IAAI,CAAC,mBAAmB,IAAI,CAC3B,8BAAM,IAAI,EAAC,aAAa,EAAC,OAAO,EAAE,IAAI,CAAC,mBAAmB,GAAS,CACpE,CACI,CACR,CAAA;AACH,CAAC,CAAA;AAED,eAAe,WAAW,CAAA"}
1
+ {"version":3,"file":"Head.js","sourceRoot":"","sources":["../../../../../src/Components/Elements/Head/Head.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,IAAI,MAAM,WAAW,CAAA;AAC5B,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAA;AAGpD,IAAM,WAAW,GAA+B,UAAC,EAAe;QAAb,WAAW,iBAAA;IACpD,IAAA,IAAI,GAAK,iBAAiB,CAAC,WAAW,CAAC,KAAnC,CAAmC;IAC/C,OAAO,CACL,oBAAC,IAAI;QACH,mCACG,IAAI;YACH,oBACA,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,uBACpC,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,wBAC7C,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAE,CAClC;QACP,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,mBAAmB,KAAI,CAC5B,8BAAM,IAAI,EAAC,aAAa,EAAC,OAAO,EAAE,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,mBAAmB,GAAS,CACrE,CACI,CACR,CAAA;AACH,CAAC,CAAA;AAED,eAAe,WAAW,CAAA"}
@@ -0,0 +1,15 @@
1
+ import React, { ReactNode } from 'react';
2
+ import { MQ } from 'newskit';
3
+ export interface ItemFooterProps {
4
+ dataTestId?: string;
5
+ content: string | ReactNode;
6
+ props?: {
7
+ textOverrides?: {
8
+ paddingBlock?: MQ<string>;
9
+ paddingInline?: MQ<string>;
10
+ typographyPreset?: MQ<string>;
11
+ stylePreset?: MQ<string>;
12
+ };
13
+ };
14
+ }
15
+ export declare const ItemFooter: React.FC<ItemFooterProps>;
@@ -0,0 +1,20 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ import React from 'react';
13
+ import { GridLayout, GridLayoutItem, TextBlock } from 'newskit';
14
+ export var ItemFooter = function (_a) {
15
+ var props = _a.props, dataTestId = _a.dataTestId, content = _a.content;
16
+ return (React.createElement(GridLayout, null,
17
+ React.createElement(GridLayoutItem, { paddingBlockStart: "space040" },
18
+ React.createElement(TextBlock, __assign({ stylePreset: "inkSubtle", typographyPreset: "utilityBody010" }, props === null || props === void 0 ? void 0 : props.textOverrides, { "data-testid": dataTestId }), content))));
19
+ };
20
+ //# sourceMappingURL=ItemFooter.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ItemFooter.js","sourceRoot":"","sources":["../../../../../src/Components/Elements/ListItemComponents/ItemFooter.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAoB,MAAM,OAAO,CAAA;AACxC,OAAO,EAAE,UAAU,EAAE,cAAc,EAAM,SAAS,EAAE,MAAM,SAAS,CAAA;AAenE,MAAM,CAAC,IAAM,UAAU,GAA8B,UAAC,EAIrD;QAHC,KAAK,WAAA,EACL,UAAU,gBAAA,EACV,OAAO,aAAA;IACH,OAAA,CACJ,oBAAC,UAAU;QACT,oBAAC,cAAc,IAAC,iBAAiB,EAAC,UAAU;YAC1C,oBAAC,SAAS,aACR,WAAW,EAAC,WAAW,EACvB,gBAAgB,EAAC,gBAAgB,IAC7B,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,aAAa,mBACX,UAAU,KAEtB,OAAO,CACE,CACG,CACN,CACd;AAbK,CAaL,CAAA"}
@@ -0,0 +1,5 @@
1
+ export declare const ItemIconLabel: ({ titleIcon, label, typographyPreset }: {
2
+ titleIcon: any;
3
+ label: any;
4
+ typographyPreset: any;
5
+ }) => JSX.Element;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { Stack, TextBlock } from 'newskit';
3
+ export var ItemIconLabel = function (_a) {
4
+ var titleIcon = _a.titleIcon, label = _a.label, typographyPreset = _a.typographyPreset;
5
+ return (React.createElement(Stack, { flow: "horizontal-center", stackDistribution: "flex-start" },
6
+ titleIcon,
7
+ React.createElement(TextBlock, { typographyPreset: typographyPreset || 'utilityHeading010' }, label)));
8
+ };
9
+ //# sourceMappingURL=ItemIconLabel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ItemIconLabel.js","sourceRoot":"","sources":["../../../../../src/Components/Elements/ListItemComponents/ItemIconLabel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAE1C,MAAM,CAAC,IAAM,aAAa,GAAG,UAAC,EAAsC;QAApC,SAAS,eAAA,EAAE,KAAK,WAAA,EAAE,gBAAgB,sBAAA;IAAO,OAAA,CACvE,oBAAC,KAAK,IAAC,IAAI,EAAC,mBAAmB,EAAC,iBAAiB,EAAC,YAAY;QAC3D,SAAS;QACV,oBAAC,SAAS,IAAC,gBAAgB,EAAE,gBAAgB,IAAI,mBAAmB,IACjE,KAAK,CACI,CACN,CACT;AAPwE,CAOxE,CAAA"}
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { TextBlockProps } from 'newskit';
3
+ export interface ItemSubtitleProps {
4
+ subtitle?: string | string[] | React.ReactNode;
5
+ subtitleOverrides?: TextBlockProps;
6
+ }
7
+ export declare const ItemSubtitle: React.FC<ItemSubtitleProps>;
@@ -0,0 +1,24 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ import React, { isValidElement } from 'react';
13
+ import { Stack, TextBlock } from 'newskit';
14
+ export var ItemSubtitle = function (_a) {
15
+ var subtitle = _a.subtitle, subtitleOverrides = _a.subtitleOverrides;
16
+ return (React.createElement(Stack, { flow: "vertical-stretch", stackDistribution: "flex-start" },
17
+ isValidElement(subtitle) &&
18
+ typeof subtitle !== 'string' &&
19
+ // If subtitle is a React element, render it directly
20
+ subtitle,
21
+ typeof subtitle === 'string' ? (React.createElement(TextBlock, __assign({ typographyPreset: "utilityBody020" }, subtitleOverrides), subtitle)) : (Array.isArray(subtitle) &&
22
+ (subtitle === null || subtitle === void 0 ? void 0 : subtitle.map(function (s) { return (React.createElement(TextBlock, __assign({ key: s, typographyPreset: "utilityBody020", marginBlockEnd: 'space040' }, subtitleOverrides), s)); })))));
23
+ };
24
+ //# sourceMappingURL=ItemSubtitle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ItemSubtitle.js","sourceRoot":"","sources":["../../../../../src/Components/Elements/ListItemComponents/ItemSubtitle.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAC7C,OAAO,EAAE,KAAK,EAAE,SAAS,EAAkB,MAAM,SAAS,CAAA;AAO1D,MAAM,CAAC,IAAM,YAAY,GAAgC,UAAC,EAGzD;QAFC,QAAQ,cAAA,EACR,iBAAiB,uBAAA;IACb,OAAA,CACJ,oBAAC,KAAK,IAAC,IAAI,EAAC,kBAAkB,EAAC,iBAAiB,EAAC,YAAY;QAC1D,cAAc,CAAC,QAAQ,CAAC;YACvB,OAAO,QAAQ,KAAK,QAAQ;YAC5B,qDAAqD;YACrD,QAAQ;QAET,OAAO,QAAQ,KAAK,QAAQ,CAAC,CAAC,CAAC,CAC9B,oBAAC,SAAS,aAAC,gBAAgB,EAAC,gBAAgB,IAAK,iBAAiB,GAC/D,QAAQ,CACC,CACb,CAAC,CAAC,CAAC,CACF,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC;aACvB,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,GAAG,CAAC,UAAC,CAAC,IAAK,OAAA,CACnB,oBAAC,SAAS,aACR,GAAG,EAAE,CAAC,EACN,gBAAgB,EAAC,gBAAgB,EACjC,cAAc,EAAE,UAAU,IACtB,iBAAiB,GAEpB,CAAC,CACQ,CACb,EAToB,CASpB,CAAC,CAAA,CACH,CACK,CACT;AAzBK,CAyBL,CAAA"}
@@ -0,0 +1,3 @@
1
+ export * from './ItemIconLabel';
2
+ export * from './ItemSubtitle';
3
+ export * from './ItemFooter';
@@ -0,0 +1,4 @@
1
+ export * from './ItemIconLabel';
2
+ export * from './ItemSubtitle';
3
+ export * from './ItemFooter';
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/Components/Elements/ListItemComponents/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA;AAC/B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,cAAc,CAAA"}
@@ -70,9 +70,10 @@ var StyledHeaderBlockWrapper = styled(Block)(templateObject_1 || (templateObject
70
70
  }, getMediaQueryFromTheme('sm'));
71
71
  var StyledTitleBlockWrapper = styled(Block)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n\n span {\n display: block;\n }\n"], ["\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n\n span {\n display: block;\n }\n"])));
72
72
  var StyledFrequencyWrapper = styled(TextBlock)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n text-transform: uppercase;\n"], ["\n text-transform: uppercase;\n"])));
73
- var StyledCardContentWrapper = styled(CardContent)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n grid-row-start: 1;\n grid-row-end: span 3;\n\n .switch-block {\n align-self: end;\n }\n"], ["\n grid-row-start: 1;\n grid-row-end: span 3;\n\n .switch-block {\n align-self: end;\n }\n"])));
74
- var StyledSwitchWrapper = styled(Block)(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n z-index: 0;\n"], ["\n z-index: 0;\n"])));
75
- var StyledButton = styled.button(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n width: auto;\n height: auto;\n background: transparent;\n border: none;\n margin: 0;\n padding: 0;\n\n input {\n display: none;\n }\n"], ["\n width: auto;\n height: auto;\n background: transparent;\n border: none;\n margin: 0;\n padding: 0;\n\n input {\n display: none;\n }\n"])));
73
+ var StyledCardContentWrapper = styled(CardContent)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n grid-row-start: 1;\n grid-row-end: span 3;\n\n .switch-block {\n align-self: end;\n margin-top: auto;\n flex-shrink: 0;\n }\n"], ["\n grid-row-start: 1;\n grid-row-end: span 3;\n\n .switch-block {\n align-self: end;\n margin-top: auto;\n flex-shrink: 0;\n }\n"])));
74
+ var StyledDescription = styled(TextBlock)(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n display: -webkit-box;\n -webkit-line-clamp: 3;\n -webkit-box-orient: vertical;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: normal;\n min-height: 0;\n flex-shrink: 1;\n word-break: break-word;\n"], ["\n display: -webkit-box;\n -webkit-line-clamp: 3;\n -webkit-box-orient: vertical;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: normal;\n min-height: 0;\n flex-shrink: 1;\n word-break: break-word;\n"])));
75
+ var StyledSwitchWrapper = styled(Block)(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n z-index: 0;\n"], ["\n z-index: 0;\n"])));
76
+ var StyledButton = styled.button(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n width: auto;\n height: auto;\n background: transparent;\n border: none;\n margin: 0;\n padding: 0;\n\n input {\n display: none;\n }\n"], ["\n width: auto;\n height: auto;\n background: transparent;\n border: none;\n margin: 0;\n padding: 0;\n\n input {\n display: none;\n }\n"])));
76
77
  var NewslettersSubscriptionTypes;
77
78
  (function (NewslettersSubscriptionTypes) {
78
79
  NewslettersSubscriptionTypes["unsubscribe"] = "unsubscribe";
@@ -147,11 +148,11 @@ export var NewsletterCard = function (_a) {
147
148
  React.createElement(Headline, { overrides: headlineOverrides.content, headingAs: "span" }, title),
148
149
  React.createElement(StyledFrequencyWrapper, { stylePreset: frequencyOverrides.stylePreset, typographyPreset: frequencyOverrides.typographyPreset }, frequency)),
149
150
  React.createElement(Image, { src: imageSrc, alt: title, width: "80", height: "80" })),
150
- React.createElement(TextBlock, { stylePreset: textOverrides.stylePreset, typographyPreset: textOverrides.typographyPreset }, description),
151
+ React.createElement(StyledDescription, { stylePreset: textOverrides.stylePreset, typographyPreset: textOverrides.typographyPreset }, description),
151
152
  React.createElement(StyledSwitchWrapper, { className: "switch-block", "data-testid": "switch-wrapper" },
152
153
  React.createElement(StyledButton, { onClick: handleSubscribeBtnClick, "aria-label": switchButtonProps.label ||
153
154
  "subscribe/unsubscribe button for the ".concat(title, " newsletter") },
154
155
  React.createElement(Switch, { checked: isSubscribed, label: switchButtonProps.label, "aria-label": title, size: switchButtonProps.size, overrides: switchButtonProps.overrides }))))));
155
156
  };
156
- var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6;
157
+ var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7;
157
158
  //# sourceMappingURL=NewsletterCard.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"NewsletterCard.js","sourceRoot":"","sources":["../../../../../src/Components/Elements/NewsletterCard/NewsletterCard.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AACvC,OAAO,EACL,KAAK,EACL,MAAM,EACN,cAAc,EACd,WAAW,EACX,QAAQ,EACR,SAAS,E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AC,cAAc,aAAC,SAAS,EAAE,aAAa,IAAM,IAAI;QAChD,oBAAC,wBAAwB,IACvB,MAAM,EAAE,oBAAoB,CAAC,MAAM,EACnC,IAAI,EAAE,oBAAoB,CAAC,IAAI,EAC/B,SAAS,EAAE,oBAAoB,CAAC,SAAS;YAEzC,oBAAC,wBAAwB,IAAC,YAAY,EAAE,YAAY;gBAClD,oBAAC,uBAAuB;oBACtB,oBAAC,QAAQ,IAAC,SAAS,EAAE,iBAAiB,CAAC,OAAO,EAAE,SAAS,EAAC,MAAM,IAC7D,KAAK,CACG;oBACX,oBAAC,sBAAsB,IACrB,WAAW,EAAE,kBAAkB,CAAC,WAAW,EAC3C,gBAAgB,EAAE,kBAAkB,CAAC,gBAAgB,IAEpD,SAAS,CACa,CACD;gBAC1B,oBAAC,KAAK,IAAC,GAAG,EAAE,QAAQ,EAAE,GAAG,EAAE,KAAK,EAAE,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,GAAG,CAClC;YAC3B,oBAAC,SAAS,IACR,WAAW,EAAE,aAAa,CAAC,WAAW,EACtC,gBAAgB,EAAE,aAAa,CAAC,gBAAgB,IAE/C,WAAW,CACF;YACZ,oBAAC,mBAAmB,IAClB,SAAS,EAAC,cAAc,iBACZ,gBAAgB;gBAI5B,oBAAC,YAAY,IACX,OAAO,EAAE,uBAAuB,gBAE9B,iBAAiB,CAAC,KAAK;wBACvB,+CAAwC,KAAK,gBAAa;oBAG5D,oBAAC,MAAM,IACL,OAAO,EAAE,YAAY,EACrB,KAAK,EAAE,iBAAiB,CAAC,KAAK,gBAClB,KAAK,EACjB,IAAI,EAAE,iBAAiB,CAAC,IAAI,EAC5B,SAAS,EAAE,iBAAiB,CAAC,SAAS,GACtC,CACW,CACK,CACG,CACZ,CAClB,CAAA;AACH,CAAC,CAAA"}
1
+ {"version":3,"file":"NewsletterCard.js","sourceRoot":"","sources":["../../../../../src/Components/Elements/NewsletterCard/NewsletterCard.tsx"],"names":[],"mappings":";;;;;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B,KAAK,EAAE,iBAAiB,CAAC,KAAK,gBAClB,KAAK,EACjB,IAAI,EAAE,iBAAiB,CAAC,IAAI,EAC5B,SAAS,EAAE,iBAAiB,CAAC,SAAS,GACtC,CACW,CACK,CACG,CACZ,CAClB,CAAA;AACH,CAAC,CAAA"}
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { OfferCardProps } from './types';
3
+ export declare const OfferCard: React.FC<OfferCardProps>;
@@ -0,0 +1,66 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ var __rest = (this && this.__rest) || function (s, e) {
13
+ var t = {};
14
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
15
+ t[p] = s[p];
16
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
17
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
18
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
19
+ t[p[i]] = s[p[i]];
20
+ }
21
+ return t;
22
+ };
23
+ import React from 'react';
24
+ import { CardContent, TextBlock, Button, CardActions, Divider, GridLayout, } from 'newskit';
25
+ import { StrikedThroughTextBlock, StylesCardComposable } from './styled';
26
+ import { replaceBaseURL, trackEvent } from '../../../helpers';
27
+ import { useAccountContext } from '../../../context';
28
+ import { ContextName, } from '../../../context/types';
29
+ import { useRouter } from 'next/router';
30
+ export var OfferCard = function (_a) {
31
+ var title = _a.title, titleOverrides = _a.titleOverrides, description = _a.description, descriptionOverrides = _a.descriptionOverrides, offerLabel = _a.offerLabel, offerLabelOverrides = _a.offerLabelOverrides, currentPrice = _a.currentPrice, currentPriceOverrides = _a.currentPriceOverrides, newPrice = _a.newPrice, newsPriceOverrides = _a.newsPriceOverrides, buttonText = _a.buttonText, buttonHref = _a.buttonHref, _b = _a.baseUrl, baseUrl = _b === void 0 ? '' : _b, buttonOverrides = _a.buttonOverrides, buttonEventContext = _a.buttonEventContext, containerOverrides = _a.containerOverrides, rest = __rest(_a, ["title", "titleOverrides", "description", "descriptionOverrides", "offerLabel", "offerLabelOverrides", "currentPrice", "currentPriceOverrides", "newPrice", "newsPriceOverrides", "buttonText", "buttonHref", "baseUrl", "buttonOverrides", "buttonEventContext", "containerOverrides"]);
32
+ var contextName = ContextName.CancellationStepper;
33
+ var userData = useAccountContext(contextName).userData;
34
+ var router = useRouter();
35
+ return (React.createElement(StylesCardComposable, __assign({ "data-testid": "offer-card-container" }, containerOverrides, { overrides: __assign({ paddingBlock: 'space040', paddingInline: 'space040', maxWidth: '600px' }, containerOverrides === null || containerOverrides === void 0 ? void 0 : containerOverrides.overrides) }, rest),
36
+ React.createElement(CardContent, { rowGap: "space050", overrides: {
37
+ paddingBlock: 'space020',
38
+ paddingInline: { xs: 'space000', md: 'space020' },
39
+ } },
40
+ React.createElement(TextBlock, __assign({ "data-testid": "offer-card-title", typographyPreset: "utilityHeading050", stylePreset: "inkDark010" }, titleOverrides), title),
41
+ offerLabel && typeof offerLabel === 'string' && (React.createElement(TextBlock, __assign({ "data-testid": "offer-card-offer-label", typographyPreset: "editorialRegularHeadline070", stylePreset: "inkDark010" }, offerLabelOverrides), offerLabel)),
42
+ typeof offerLabel !== 'string' ? offerLabel : null,
43
+ React.createElement(GridLayout, { columnGap: "space020", columns: "auto auto", justifyContent: "space-between" },
44
+ currentPrice && (React.createElement(StrikedThroughTextBlock, __assign({ "data-testid": "offer-card-current-price", typographyPreset: "editorialRegularDisplay003", stylePreset: "inkSubtle" }, currentPriceOverrides), currentPrice)),
45
+ newPrice && (React.createElement(TextBlock, __assign({ "data-testid": "offer-card-new-price", typographyPreset: "editorialRegularDisplay003" }, newsPriceOverrides, { stylePreset: "inkDark010" }), newPrice))),
46
+ React.createElement(Divider, { overrides: { marginBlockStart: 'space010' } }),
47
+ description && (React.createElement(TextBlock, __assign({ "data-testid": "offer-card-description", typographyPreset: "editorialRegularDisplay002", stylePreset: "inkBase" }, descriptionOverrides), description))),
48
+ React.createElement(CardActions, { columns: "1fr", overrides: {
49
+ paddingBlockStart: 'space050',
50
+ } }, buttonText && (React.createElement(Button, __assign({ "data-testid": "offer-card-action", overrides: { width: '100%' } }, buttonOverrides, (buttonHref
51
+ ? { href: replaceBaseURL(baseUrl, buttonHref) }
52
+ : {}), { eventContext: buttonEventContext, onClick: function () {
53
+ var _a, _b, _c;
54
+ trackEvent({
55
+ eventName: 'cancellation_downgrade_offer',
56
+ cpn: (userData === null || userData === void 0 ? void 0 : userData.cpn) || '',
57
+ mpcode: ((_c = (_b = (_a = userData === null || userData === void 0 ? void 0 : userData.subscriptions) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.proposition) === null || _c === void 0 ? void 0 : _c.code) || '',
58
+ tags: {
59
+ page_name: "online cancellation: downgrade",
60
+ step: 'downgrade',
61
+ },
62
+ });
63
+ router.push(replaceBaseURL(baseUrl, buttonHref));
64
+ } }), buttonText)))));
65
+ };
66
+ //# sourceMappingURL=OfferCard.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OfferCard.js","sourceRoot":"","sources":["../../../../../src/Components/Elements/OfferCard/OfferCard.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EACL,WAAW,EACX,SAAS,EACT,MAAM,EACN,WAAW,EACX,OAAO,EACP,UAAU,GACX,MAAM,SAAS,CAAA;AAChB,OAAO,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAA;AAExE,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAC7D,OAAO,EAAE,iBAAiB,EAAE,M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oBACT,SAAS,EAAE,8BAA8B;oBACzC,GAAG,EAAE,CAAA,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,GAAG,KAAI,EAAE;oBACxB,MAAM,EAAE,CAAA,MAAA,MAAA,MAAA,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,aAAa,0CAAG,CAAC,CAAC,0CAAE,WAAW,0CAAE,IAAI,KAAI,EAAE;oBAC7D,IAAI,EAAE;wBACJ,SAAS,EAAE,gCAAgC;wBAC3C,IAAI,EAAE,WAAW;qBAClB;iBACF,CAAC,CAAA;gBACF,MAAM,CAAC,IAAI,CAAC,cAAc,CAAC,OAAO,EAAE,UAAU,CAAC,CAAC,CAAA;YAClD,CAAC,KAEA,UAAU,CACJ,CACV,CACW,CACO,CACxB,CAAA;AACH,CAAC,CAAA"}
@@ -0,0 +1,2 @@
1
+ import { OfferCard } from './OfferCard';
2
+ export default OfferCard;
@@ -0,0 +1,3 @@
1
+ import { OfferCard } from './OfferCard';
2
+ export default OfferCard;
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/Components/Elements/OfferCard/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAEvC,eAAe,SAAS,CAAA"}
@@ -0,0 +1,35 @@
1
+ export declare const StrikedThroughTextBlock: import("@emotion/styled").StyledComponent<import("newskit").TextBlockProps & import("react").RefAttributes<HTMLParagraphElement> & {
2
+ theme?: import("@emotion/react").Theme;
3
+ }, {}, {}>;
4
+ export declare const StylesCardComposable: import("@emotion/styled").StyledComponent<{
5
+ rowGap?: import("newskit").MQ<string> | undefined;
6
+ columnGap?: import("newskit").MQ<string> | undefined;
7
+ rows?: import("newskit").MQ<string> | undefined;
8
+ columns?: import("newskit").MQ<string> | undefined;
9
+ justifyContent?: import("newskit").MQ<string> | undefined;
10
+ alignContent?: import("newskit").MQ<string> | undefined;
11
+ justifyItems?: import("newskit").MQ<string> | undefined;
12
+ alignItems?: import("newskit").MQ<string> | undefined;
13
+ areas?: import("newskit").MQ<string> | undefined;
14
+ inline?: import("newskit").MQ<boolean> | undefined;
15
+ autoColumns?: import("newskit").MQ<string> | undefined;
16
+ autoRows?: import("newskit").MQ<string> | undefined;
17
+ autoFlow?: import("newskit").MQ<string> | undefined;
18
+ children?: React.ReactNode | import("newskit/cjs/grid-layout/types").GridLayoutRenderProps;
19
+ as?: React.ElementType<any> | undefined;
20
+ overrides?: ({
21
+ width?: import("newskit").MQ<string> | undefined;
22
+ minWidth?: import("newskit").MQ<string> | undefined;
23
+ maxWidth?: import("newskit").MQ<string> | undefined;
24
+ height?: import("newskit").MQ<string> | undefined;
25
+ minHeight?: import("newskit").MQ<string> | undefined;
26
+ maxHeight?: import("newskit").MQ<string> | undefined;
27
+ } & import("newskit/cjs/utils/logical-properties").LogicalProps) | undefined;
28
+ } & Omit<import("react").HTMLAttributes<HTMLDivElement>, "children"> & {
29
+ overrides?: {
30
+ stylePreset?: import("newskit").MQ<string> | undefined;
31
+ transitionPreset?: import("newskit").TransitionToken | import("newskit").TransitionToken[] | undefined;
32
+ } | undefined;
33
+ } & import("react").RefAttributes<HTMLDivElement> & {
34
+ theme?: import("@emotion/react").Theme;
35
+ }, {}, {}>;
@@ -0,0 +1,9 @@
1
+ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
2
+ if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
3
+ return cooked;
4
+ };
5
+ import { CardComposable, getColorCssFromTheme, getShadowCssFromTheme, styled, TextBlock, } from 'newskit';
6
+ export var StrikedThroughTextBlock = styled(TextBlock)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n text-decoration: line-through;\n"], ["\n text-decoration: line-through;\n"])));
7
+ export var StylesCardComposable = styled(CardComposable)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n border: 1px solid;\n ", "\n ", "\n backdrop-filter: blur(20px); /* blur does not exist in newskit */\n"], ["\n border: 1px solid;\n ", "\n ", "\n backdrop-filter: blur(20px); /* blur does not exist in newskit */\n"])), getColorCssFromTheme('borderColor', 'interface020'), getShadowCssFromTheme('box-shadow', 'shadow030'));
8
+ var templateObject_1, templateObject_2;
9
+ //# sourceMappingURL=styled.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styled.js","sourceRoot":"","sources":["../../../../../src/Components/Elements/OfferCard/styled.ts"],"names":[],"mappings":";;;;AAAA,OAAO,EACL,cAAc,EACd,oBAAoB,EACpB,qBAAqB,EACrB,MAAM,EACN,SAAS,GACV,MAAM,SAAS,CAAA;AAEhB,MAAM,CAAC,IAAM,uBAAuB,GAAG,MAAM,CAAC,SAAS,CAAC,yGAAA,sCAEvD,IAAA,CAAA;AAED,MAAM,CAAC,IAAM,oBAAoB,GAAG,MAAM,CAAC,cAAc,CAAC,kLAAA,4BAEtD,EAAmD,MACnD,EAAgD,yEAEnD,KAHG,oBAAoB,CAAC,aAAa,EAAE,cAAc,CAAC,EACnD,qBAAqB,CAAC,YAAY,EAAE,WAAW,CAAC,CAEnD,CAAA"}
@@ -0,0 +1,21 @@
1
+ import { ButtonProps, CardComposableProps, EventContext, TextBlockProps } from 'newskit';
2
+ import { ReactNode } from 'react';
3
+ export interface OfferCardProps extends CardComposableProps {
4
+ id: string;
5
+ title: string;
6
+ titleOverrides?: TextBlockProps;
7
+ currentPrice?: string;
8
+ currentPriceOverrides?: TextBlockProps;
9
+ newPrice?: string;
10
+ newsPriceOverrides?: TextBlockProps;
11
+ description?: string | string[] | React.ReactNode;
12
+ descriptionOverrides?: TextBlockProps;
13
+ offerLabel?: ReactNode;
14
+ offerLabelOverrides?: TextBlockProps;
15
+ buttonText?: string;
16
+ buttonHref?: string;
17
+ baseUrl?: string;
18
+ buttonOverrides?: ButtonProps;
19
+ buttonEventContext?: EventContext;
20
+ containerOverrides?: CardComposableProps;
21
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../src/Components/Elements/OfferCard/types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { GridListItemProps } from './types';
3
+ export declare const GridListItem: React.FC<GridListItemProps>;
@@ -0,0 +1,70 @@
1
+ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
2
+ if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
3
+ return cooked;
4
+ };
5
+ var __assign = (this && this.__assign) || function () {
6
+ __assign = Object.assign || function(t) {
7
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
8
+ s = arguments[i];
9
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
10
+ t[p] = s[p];
11
+ }
12
+ return t;
13
+ };
14
+ return __assign.apply(this, arguments);
15
+ };
16
+ var __rest = (this && this.__rest) || function (s, e) {
17
+ var t = {};
18
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
19
+ t[p] = s[p];
20
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
21
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
22
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
23
+ t[p[i]] = s[p[i]];
24
+ }
25
+ return t;
26
+ };
27
+ import React from 'react';
28
+ import { Block, styled, CardComposable, CardContent, TextBlock, getMediaQueryFromTheme, useInstrumentation, EventTrigger, getColorCssFromTheme, Stack, } from 'newskit';
29
+ import Link from 'next/link';
30
+ import { createClickEvent, Image } from '@newskit-render/shared-components';
31
+ import { replaceBaseURL } from '../../../helpers';
32
+ var StyledHeaderBlockWrapper = styled(Stack)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n min-height: 65px;\n width: 100%;\n\n figure {\n ", "\n }\n\n ", " {\n min-height: auto;\n\n figure {\n display: block;\n }\n }\n"], ["\n min-height: 65px;\n width: 100%;\n\n figure {\n ", "\n }\n\n ", " {\n min-height: auto;\n\n figure {\n display: block;\n }\n }\n"])), function (_a) {
33
+ var imageVisible = _a.imageVisible;
34
+ return imageVisible ? 'display: block' : 'display: none;';
35
+ }, getMediaQueryFromTheme('sm'));
36
+ var StyledTitleBlockWrapper = styled(Block)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n\n span {\n display: block;\n }\n"], ["\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n\n span {\n display: block;\n }\n"])));
37
+ var StyledCardContentWrapper = styled(CardContent)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n grid-row-start: 1;\n grid-row-end: span 3;\n border: 1px solid;\n ", "\n\n .switch-block {\n align-self: end;\n }\n &:hover,\n &:focus,\n &:active {\n ", "\n cursor: pointer;\n }\n"], ["\n grid-row-start: 1;\n grid-row-end: span 3;\n border: 1px solid;\n ", "\n\n .switch-block {\n align-self: end;\n }\n &:hover,\n &:focus,\n &:active {\n ", "\n cursor: pointer;\n }\n"])), getColorCssFromTheme('borderColor', 'interface030'), getColorCssFromTheme('backgroundColor', 'interface020'));
38
+ var StyledTextBlock = styled(TextBlock)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n ", "\n ", "\n"], ["\n ", "\n ", "\n"])), function (_a) {
39
+ var textWrap = _a.textWrap;
40
+ return textWrap && "text-wrap: ".concat(textWrap, ";");
41
+ }, function (_a) {
42
+ var width = _a.width;
43
+ return width && "width: ".concat(width, ";");
44
+ });
45
+ export var GridListItem = function (_a) {
46
+ var cardOverrides = _a.cardOverrides, containerOverrides = _a.containerOverrides, labelOverrides = _a.labelOverrides, subtitleOverrides = _a.subtitleOverrides, handleClick = _a.handleClick, label = _a.label, image = _a.image, href = _a.href, subtitle = _a.subtitle, ariaLabel = _a.ariaLabel, eventContext = _a.eventContext, baseUrl = _a.baseUrl, headerOverrides = _a.headerOverrides, imageOverrides = _a.imageOverrides, props = __rest(_a, ["cardOverrides", "containerOverrides", "labelOverrides", "subtitleOverrides", "handleClick", "label", "image", "href", "subtitle", "ariaLabel", "eventContext", "baseUrl", "headerOverrides", "imageOverrides"]);
47
+ var fireEvent = useInstrumentation().fireEvent;
48
+ /* istanbul ignore next */
49
+ var handleCardClick = function (event) {
50
+ if (handleClick) {
51
+ handleClick(event, {
52
+ id: props.id || '',
53
+ label: label || '',
54
+ eventContext: eventContext,
55
+ });
56
+ }
57
+ if (href)
58
+ fireEvent(createClickEvent('link', (eventContext === null || eventContext === void 0 ? void 0 : eventContext.event_navigation_name) || '', undefined, (eventContext === null || eventContext === void 0 ? void 0 : eventContext.article_parent_name) || '', (eventContext === null || eventContext === void 0 ? void 0 : eventContext.page_name) || '', 'navigation', (eventContext === null || eventContext === void 0 ? void 0 : eventContext.event_navigation_browsing_method) || EventTrigger.Click));
59
+ };
60
+ return (React.createElement(CardComposable, __assign({ overrides: cardOverrides, "data-testid": "list-item" }, props),
61
+ React.createElement(Link, { "data-testid": "list-item-link", legacyBehavior: true, href: replaceBaseURL(baseUrl || '', href) || '', tabIndex: href ? undefined : -1, "aria-disabled": !href, "aria-label": ariaLabel || '' },
62
+ React.createElement(StyledCardContentWrapper, __assign({ rowGap: 'space050' }, containerOverrides, { onClick: handleCardClick }),
63
+ React.createElement(StyledHeaderBlockWrapper, __assign({ stackDistribution: "space-between" }, headerOverrides),
64
+ React.createElement(StyledTitleBlockWrapper, null,
65
+ React.createElement(StyledTextBlock, __assign({ "data-testid": "list-item-label" }, labelOverrides), label)),
66
+ image && (React.createElement(Image, __assign({ "data-testid": "list-item-image", src: image, alt: label || '', width: "80", height: "80", priority: true }, imageOverrides)))),
67
+ React.createElement(StyledTextBlock, __assign({ "data-testid": "list-item-subtitle" }, subtitleOverrides), subtitle)))));
68
+ };
69
+ var templateObject_1, templateObject_2, templateObject_3, templateObject_4;
70
+ //# sourceMappingURL=GridListItem.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GridListItem.js","sourceRoot":"","sources":["../../../../../src/Components/Elements/SectionListItem/GridListItem.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EACL,KAAK,EACL,MAAM,EACN,cAAc,EACd,WAAW,EACX,SAAS,EACT,sBAAsB,EACtB,kBAAkB,EAClB,YAAY,EACZ,oBAAoB,EACpB,KAAK,GACN,MAAM,SAAS,CAAA;AAChB,OAAO,IAAI,MAAM,WAAW,CAAA;AAE5B,OAAO,EAAE,gBAAgB,EAAE,KAAK,EAAE,MAAM,mCAAmC,CAAA;AAE3E,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAEjD,IAAM,wBAAwB,GAAG,MAAM,CAAC,KAAK,CAAC,+NAA4B,2DAKpE,EACkD,aAGpD,EAA4B,gFAO/B,KAXK,UAAC,EAAgB;QAAd,YAAY,kBAAA;IACf,OAAA,YAAY,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,gBAAgB;AAAlD,CAAkD,EAGpD,sBAAsB,CAAC,IAAI,CAAC,CAO/B,CAAA;AAED,IAAM,uBAAuB,GAAG,MAAM,CAAC,KAAK,CAAC,6LAAA,0HAQ5C,IAAA,CAAA;AAED,IAAM,wBAAwB,GAAG,MAAM,CAAC,WAAW,CAAC,+QAAA,2EAIhD,EAAmD,8FAQjD,EAAuD,+BAG5D,KAXG,oBAAoB,CAAC,aAAa,EAAE,cAAc,CAAC,EAQjD,oBAAoB,CAAC,iBAAiB,EAAE,cAAc,CAAC,CAG5D,CAAA;AAED,IAAM,eAAe,GAAG,MAAM,CAAC,SAAS,CAAC,uFAGvC,MACE,EAAuD,MACvD,EAA0C,IAC7C,KAFG,UAAC,EAAY;QAAV,QAAQ,cAAA;IAAO,OAAA,QAAQ,IAAI,qBAAc,QAAQ,MAAG;AAArC,C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ACZ,WAAW,IACnB,KAAK;QAET,oBAAC,IAAI,mBACS,gBAAgB,EAC5B,cAAc,QACd,IAAI,EAAE,cAAc,CAAC,OAAO,IAAI,EAAE,EAAE,IAAI,CAAC,IAAI,EAAE,EAC/C,QAAQ,EAAE,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,mBAChB,CAAC,IAAI,gBACR,SAAS,IAAI,EAAE;YAE3B,oBAAC,wBAAwB,aACvB,MAAM,EAAE,UAAU,IACd,kBAAkB,IACtB,OAAO,EAAE,eAAe;gBAExB,oBAAC,wBAAwB,aACvB,iBAAiB,EAAC,eAAe,IAC7B,eAAe;oBAEnB,oBAAC,uBAAuB;wBACtB,oBAAC,eAAe,4BACF,iBAAiB,IACzB,cAAc,GAEjB,KAAK,CACU,CACM;oBACzB,KAAK,IAAI,CACR,oBAAC,KAAK,4BACQ,iBAAiB,EAC7B,GAAG,EAAE,KAAK,EACV,GAAG,EAAE,KAAK,IAAI,EAAE,EAChB,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,QAAQ,UACJ,cAAc,EAClB,CACH,CACwB;gBAC3B,oBAAC,eAAe,4BACF,oBAAoB,IAC5B,iBAAiB,GAEpB,QAAQ,CACO,CACO,CACtB,CACQ,CAClB,CAAA;AACH,CAAC,CAAA"}
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { SectionListItemProps } from './types';
3
+ export declare const SectionListItem: React.FC<SectionListItemProps>;