@newskit-render/my-account 7.139.1-deb9a761a.17 → 7.139.1-e72c58506.32

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 (408) hide show
  1. package/dist/cjs/Components/Elements/CancelSubscriptionModal/CancelSubscriptionModal.d.ts +6 -0
  2. package/dist/cjs/Components/Elements/CancelSubscriptionModal/CancelSubscriptionModal.js +66 -0
  3. package/dist/cjs/Components/Elements/CancelSubscriptionModal/CancelSubscriptionModal.js.map +1 -0
  4. package/dist/cjs/Components/Elements/CancelSubscriptionModal/index.d.ts +1 -0
  5. package/dist/cjs/Components/Elements/CancelSubscriptionModal/index.js +18 -0
  6. package/dist/cjs/Components/Elements/CancelSubscriptionModal/index.js.map +1 -0
  7. package/dist/cjs/Components/Elements/CancellationButtons/CancellationButtons.d.ts +7 -0
  8. package/dist/cjs/Components/Elements/CancellationButtons/CancellationButtons.js +43 -0
  9. package/dist/cjs/Components/Elements/CancellationButtons/CancellationButtons.js.map +1 -0
  10. package/dist/cjs/Components/Elements/CancellationButtons/index.d.ts +1 -0
  11. package/dist/cjs/Components/Elements/CancellationButtons/index.js +18 -0
  12. package/dist/cjs/Components/Elements/CancellationButtons/index.js.map +1 -0
  13. package/dist/cjs/Components/Elements/CancellationPolicy/CancellationPolicy.d.ts +13 -0
  14. package/dist/cjs/Components/Elements/CancellationPolicy/CancellationPolicy.js +36 -0
  15. package/dist/cjs/Components/Elements/CancellationPolicy/CancellationPolicy.js.map +1 -0
  16. package/dist/cjs/Components/Elements/CancellationPolicy/index.d.ts +1 -0
  17. package/dist/cjs/Components/Elements/CancellationPolicy/index.js +6 -0
  18. package/dist/cjs/Components/Elements/CancellationPolicy/index.js.map +1 -0
  19. package/dist/cjs/Components/Elements/CancellationReasonSelector/CancellationReasonSelector.d.ts +19 -0
  20. package/dist/cjs/Components/Elements/CancellationReasonSelector/CancellationReasonSelector.js +42 -0
  21. package/dist/cjs/Components/Elements/CancellationReasonSelector/CancellationReasonSelector.js.map +1 -0
  22. package/dist/cjs/Components/Elements/CancellationReasonSelector/index.d.ts +1 -0
  23. package/dist/cjs/Components/Elements/CancellationReasonSelector/index.js +6 -0
  24. package/dist/cjs/Components/Elements/CancellationReasonSelector/index.js.map +1 -0
  25. package/dist/cjs/Components/Elements/NewsletterCard/NewsletterCard.js +1 -1
  26. package/dist/cjs/Components/Elements/NewsletterCard/NewsletterCard.js.map +1 -1
  27. package/dist/cjs/Components/Elements/OfferGroup/Offer.d.ts +2 -0
  28. package/dist/cjs/Components/Elements/OfferGroup/Offer.js +29 -0
  29. package/dist/cjs/Components/Elements/OfferGroup/Offer.js.map +1 -0
  30. package/dist/cjs/Components/Elements/OfferGroup/OfferBody.d.ts +2 -0
  31. package/dist/cjs/Components/Elements/OfferGroup/OfferBody.js +29 -0
  32. package/dist/cjs/Components/Elements/OfferGroup/OfferBody.js.map +1 -0
  33. package/dist/cjs/Components/Elements/OfferGroup/OfferGroup.d.ts +2 -0
  34. package/dist/cjs/Components/Elements/OfferGroup/OfferGroup.js +26 -0
  35. package/dist/cjs/Components/Elements/OfferGroup/OfferGroup.js.map +1 -0
  36. package/dist/cjs/Components/Elements/OfferGroup/index.d.ts +4 -0
  37. package/dist/cjs/Components/Elements/OfferGroup/index.js +23 -0
  38. package/dist/cjs/Components/Elements/OfferGroup/index.js.map +1 -0
  39. package/dist/cjs/Components/Elements/OfferGroup/styled.d.ts +6 -0
  40. package/dist/cjs/Components/Elements/OfferGroup/styled.js +17 -0
  41. package/dist/cjs/Components/Elements/OfferGroup/styled.js.map +1 -0
  42. package/dist/cjs/Components/Elements/OfferGroup/types.d.ts +29 -0
  43. package/dist/cjs/Components/Elements/OfferGroup/types.js +3 -0
  44. package/dist/cjs/Components/Elements/OfferGroup/types.js.map +1 -0
  45. package/dist/cjs/Components/Elements/SectionListItem/SectionListItem.js +6 -5
  46. package/dist/cjs/Components/Elements/SectionListItem/SectionListItem.js.map +1 -1
  47. package/dist/cjs/Components/Elements/SectionListItem/types.d.ts +2 -0
  48. package/dist/cjs/Components/Elements/SunArticleCard/SunArticleCard.d.ts +23 -0
  49. package/dist/cjs/Components/Elements/SunArticleCard/SunArticleCard.js +39 -0
  50. package/dist/cjs/Components/Elements/SunArticleCard/SunArticleCard.js.map +1 -0
  51. package/dist/cjs/Components/Elements/SunArticleCard/index.d.ts +1 -0
  52. package/dist/cjs/Components/Elements/SunArticleCard/index.js +6 -0
  53. package/dist/cjs/Components/Elements/SunArticleCard/index.js.map +1 -0
  54. package/dist/cjs/Components/Elements/SunArticleGrid/SunArticleGrid.d.ts +12 -0
  55. package/dist/cjs/Components/Elements/SunArticleGrid/SunArticleGrid.js +27 -0
  56. package/dist/cjs/Components/Elements/SunArticleGrid/SunArticleGrid.js.map +1 -0
  57. package/dist/cjs/Components/Elements/SunArticleGrid/index.d.ts +1 -0
  58. package/dist/cjs/Components/Elements/SunArticleGrid/index.js +6 -0
  59. package/dist/cjs/Components/Elements/SunArticleGrid/index.js.map +1 -0
  60. package/dist/cjs/Components/Elements/SunOfferCard/SunOfferCard.d.ts +21 -0
  61. package/dist/cjs/Components/Elements/SunOfferCard/SunOfferCard.js +38 -0
  62. package/dist/cjs/Components/Elements/SunOfferCard/SunOfferCard.js.map +1 -0
  63. package/dist/cjs/Components/Elements/SunOfferCard/index.d.ts +1 -0
  64. package/dist/cjs/Components/Elements/SunOfferCard/index.js +6 -0
  65. package/dist/cjs/Components/Elements/SunOfferCard/index.js.map +1 -0
  66. package/dist/cjs/Components/Elements/SunOfferGrid/SunOfferGrid.d.ts +12 -0
  67. package/dist/cjs/Components/Elements/SunOfferGrid/SunOfferGrid.js +27 -0
  68. package/dist/cjs/Components/Elements/SunOfferGrid/SunOfferGrid.js.map +1 -0
  69. package/dist/cjs/Components/Elements/SunOfferGrid/index.d.ts +1 -0
  70. package/dist/cjs/Components/Elements/SunOfferGrid/index.js +6 -0
  71. package/dist/cjs/Components/Elements/SunOfferGrid/index.js.map +1 -0
  72. package/dist/cjs/Components/Sections/CancelSubscription/CancelSubscription.d.ts +1 -1
  73. package/dist/cjs/Components/Sections/CancelSubscription/CancelSubscription.js +7 -46
  74. package/dist/cjs/Components/Sections/CancelSubscription/CancelSubscription.js.map +1 -1
  75. package/dist/cjs/Components/Sections/CancellationDetails/CancellationDetails.js +1 -1
  76. package/dist/cjs/Components/Sections/CancellationDetails/CancellationDetails.js.map +1 -1
  77. package/dist/cjs/Components/Sections/CancellationOffers/CancellationOffers.d.ts +2 -0
  78. package/dist/cjs/Components/Sections/CancellationOffers/CancellationOffers.js +58 -0
  79. package/dist/cjs/Components/Sections/CancellationOffers/CancellationOffers.js.map +1 -0
  80. package/dist/cjs/Components/Sections/CancellationOffers/index.d.ts +2 -0
  81. package/dist/cjs/Components/Sections/CancellationOffers/index.js +19 -0
  82. package/dist/cjs/Components/Sections/CancellationOffers/index.js.map +1 -0
  83. package/dist/cjs/Components/Sections/CancellationOffers/types.d.ts +33 -0
  84. package/dist/cjs/Components/Sections/CancellationOffers/types.js +3 -0
  85. package/dist/cjs/Components/Sections/CancellationOffers/types.js.map +1 -0
  86. package/dist/cjs/Components/Sections/CardContentContainer/CardContentContainer.js +1 -1
  87. package/dist/cjs/Components/Sections/CardContentContainer/CardContentContainer.js.map +1 -1
  88. package/dist/cjs/Components/Sections/ContentContainer/BelowContentExtra.js +1 -1
  89. package/dist/cjs/Components/Sections/ContentContainer/ContentContainer.js +98 -55
  90. package/dist/cjs/Components/Sections/ContentContainer/ContentContainer.js.map +1 -1
  91. package/dist/cjs/Components/Sections/ContentContainer/PaginationButton.d.ts +11 -0
  92. package/dist/cjs/Components/Sections/ContentContainer/{InvoiceHistoryButton.js → PaginationButton.js} +13 -16
  93. package/dist/cjs/Components/Sections/ContentContainer/PaginationButton.js.map +1 -0
  94. package/dist/cjs/Components/Sections/ContentContainer/types.d.ts +4 -3
  95. package/dist/cjs/Components/Sections/Form/Vouchers/Vouchers.js +1 -1
  96. package/dist/cjs/Components/Sections/Form/Vouchers/Vouchers.js.map +1 -1
  97. package/dist/cjs/Components/Sections/NavigationSecondary/NavigationSecondary.js +1 -0
  98. package/dist/cjs/Components/Sections/NavigationSecondary/NavigationSecondary.js.map +1 -1
  99. package/dist/cjs/Components/Sections/SectionContainer/types.d.ts +2 -2
  100. package/dist/cjs/Components/Sections/UserHub/BaseSection.d.ts +3 -0
  101. package/dist/cjs/Components/Sections/UserHub/BaseSection.js +3 -3
  102. package/dist/cjs/Components/Sections/UserHub/BaseSection.js.map +1 -1
  103. package/dist/cjs/Components/Sections/UserHub/NewslettersSection.js +13 -16
  104. package/dist/cjs/Components/Sections/UserHub/NewslettersSection.js.map +1 -1
  105. package/dist/cjs/Components/Sections/UserHub/SubscriptionDetailsSection.d.ts +6 -0
  106. package/dist/cjs/Components/Sections/UserHub/SubscriptionDetailsSection.js +71 -0
  107. package/dist/cjs/Components/Sections/UserHub/SubscriptionDetailsSection.js.map +1 -0
  108. package/dist/cjs/Components/Templates/CancellationStepperRender.d.ts +2 -0
  109. package/dist/cjs/Components/Templates/CancellationStepperRender.js +8 -4
  110. package/dist/cjs/Components/Templates/CancellationStepperRender.js.map +1 -1
  111. package/dist/cjs/Components/Templates/DisplayRenderer.js +1 -1
  112. package/dist/cjs/Components/Templates/DisplayRenderer.js.map +1 -1
  113. package/dist/cjs/Components/Templates/SubscriptionAndBillingRender.js +9 -1
  114. package/dist/cjs/Components/Templates/SubscriptionAndBillingRender.js.map +1 -1
  115. package/dist/cjs/Components/Templates/SunCancellationFlowRender.d.ts +3 -0
  116. package/dist/cjs/Components/Templates/SunCancellationFlowRender.js +111 -0
  117. package/dist/cjs/Components/Templates/SunCancellationFlowRender.js.map +1 -0
  118. package/dist/cjs/Components/Templates/UserHubRender.js +3 -1
  119. package/dist/cjs/Components/Templates/UserHubRender.js.map +1 -1
  120. package/dist/cjs/api/mutateHandlerHelpers.js +4 -4
  121. package/dist/cjs/api/mutateHandlerHelpers.js.map +1 -1
  122. package/dist/cjs/context/index.d.ts +3 -2
  123. package/dist/cjs/context/index.js +1 -0
  124. package/dist/cjs/context/index.js.map +1 -1
  125. package/dist/cjs/context/types.d.ts +20 -11
  126. package/dist/cjs/context/types.js +1 -0
  127. package/dist/cjs/context/types.js.map +1 -1
  128. package/dist/cjs/helpers/apiHandlerUtils.js +9 -1
  129. package/dist/cjs/helpers/apiHandlerUtils.js.map +1 -1
  130. package/dist/cjs/helpers/cancellationUtils.d.ts +1 -1
  131. package/dist/cjs/helpers/cancellationUtils.js +5 -4
  132. package/dist/cjs/helpers/cancellationUtils.js.map +1 -1
  133. package/dist/cjs/helpers/dataUtils.d.ts +2 -2
  134. package/dist/cjs/helpers/dataUtils.js +16 -11
  135. package/dist/cjs/helpers/dataUtils.js.map +1 -1
  136. package/dist/cjs/helpers/dateUtils.d.ts +0 -1
  137. package/dist/cjs/helpers/dateUtils.js +1 -8
  138. package/dist/cjs/helpers/dateUtils.js.map +1 -1
  139. package/dist/cjs/helpers/featureFlagUtils.js +1 -1
  140. package/dist/cjs/helpers/featureFlagUtils.js.map +1 -1
  141. package/dist/cjs/helpers/holidayStopsUtils.js +2 -2
  142. package/dist/cjs/helpers/holidayStopsUtils.js.map +1 -1
  143. package/dist/cjs/hooks/index.d.ts +1 -0
  144. package/dist/cjs/hooks/index.js +1 -0
  145. package/dist/cjs/hooks/index.js.map +1 -1
  146. package/dist/cjs/hooks/useCancelSubscriptionModal.d.ts +6 -0
  147. package/dist/cjs/hooks/useCancelSubscriptionModal.js +31 -0
  148. package/dist/cjs/hooks/useCancelSubscriptionModal.js.map +1 -0
  149. package/dist/cjs/index.d.ts +7 -1
  150. package/dist/cjs/index.js +5 -0
  151. package/dist/cjs/index.js.map +1 -1
  152. package/dist/cjs/pages/CancellationStepper/CancellationStepperContext.js +191 -15
  153. package/dist/cjs/pages/CancellationStepper/CancellationStepperContext.js.map +1 -1
  154. package/dist/cjs/pages/HolidayStop/HolidayStopContext.js +1 -1
  155. package/dist/cjs/pages/HolidayStop/HolidayStopContext.js.map +1 -1
  156. package/dist/cjs/pages/HolidayStopList/HolidayStopListContext.js +1 -1
  157. package/dist/cjs/pages/HolidayStopList/HolidayStopListContext.js.map +1 -1
  158. package/dist/cjs/pages/Newsletters/NewslettersContext.js +3 -3
  159. package/dist/cjs/pages/Newsletters/NewslettersContext.js.map +1 -1
  160. package/dist/cjs/pages/SubscriptionAndBilling/Sections/CancelSubscriptionSectionContext.js +13 -0
  161. package/dist/cjs/pages/SubscriptionAndBilling/Sections/CancelSubscriptionSectionContext.js.map +1 -1
  162. package/dist/cjs/pages/SubscriptionAndBilling/SubscriptionAndBillingContext.js +46 -0
  163. package/dist/cjs/pages/SubscriptionAndBilling/SubscriptionAndBillingContext.js.map +1 -1
  164. package/dist/cjs/pages/SunCancellationFlow/SunCancellationFlow.d.ts +7 -0
  165. package/dist/cjs/pages/SunCancellationFlow/SunCancellationFlow.js +34 -0
  166. package/dist/cjs/pages/SunCancellationFlow/SunCancellationFlow.js.map +1 -0
  167. package/dist/cjs/pages/SunCancellationFlow/SunCancellationFlowContext.d.ts +215 -0
  168. package/dist/cjs/pages/SunCancellationFlow/SunCancellationFlowContext.js +259 -0
  169. package/dist/cjs/pages/SunCancellationFlow/SunCancellationFlowContext.js.map +1 -0
  170. package/dist/cjs/pages/SunCancellationFlow/index.d.ts +2 -0
  171. package/dist/cjs/pages/SunCancellationFlow/index.js +19 -0
  172. package/dist/cjs/pages/SunCancellationFlow/index.js.map +1 -0
  173. package/dist/cjs/pages/UserHub/UserHubContext.js +64 -20
  174. package/dist/cjs/pages/UserHub/UserHubContext.js.map +1 -1
  175. package/dist/cjs/pages/types.d.ts +12 -0
  176. package/dist/cjs/providers/index.d.ts +1 -0
  177. package/dist/cjs/providers/index.js +1 -0
  178. package/dist/cjs/providers/index.js.map +1 -1
  179. package/dist/cjs/providers/sunCancellationProvider.d.ts +1 -0
  180. package/dist/cjs/providers/sunCancellationProvider.js +6 -0
  181. package/dist/cjs/providers/sunCancellationProvider.js.map +1 -0
  182. package/dist/cjs/queries/getContractPhases.d.ts +1 -0
  183. package/dist/cjs/queries/getContractPhases.js +11 -0
  184. package/dist/cjs/queries/getContractPhases.js.map +1 -0
  185. package/dist/cjs/queries/getPropositionFeatures.d.ts +1 -0
  186. package/dist/cjs/queries/getPropositionFeatures.js +11 -0
  187. package/dist/cjs/queries/getPropositionFeatures.js.map +1 -0
  188. package/dist/cjs/queries/getUserNewsletters.js +1 -1
  189. package/dist/cjs/queries/getUserNewsletters.js.map +1 -1
  190. package/dist/cjs/queries/getUserSubscription.js +3 -1
  191. package/dist/cjs/queries/getUserSubscription.js.map +1 -1
  192. package/dist/cjs/queries/getUserWithNewsletters.js +4 -1
  193. package/dist/cjs/queries/getUserWithNewsletters.js.map +1 -1
  194. package/dist/cjs/queries/index.d.ts +1 -0
  195. package/dist/cjs/queries/index.js +1 -0
  196. package/dist/cjs/queries/index.js.map +1 -1
  197. package/dist/cjs/queries/mutateCancelSubscriptionV2.d.ts +2 -0
  198. package/dist/cjs/queries/mutateCancelSubscriptionV2.js +11 -0
  199. package/dist/cjs/queries/mutateCancelSubscriptionV2.js.map +1 -0
  200. package/dist/cjs/queries/mutateCancellation.js +1 -1
  201. package/dist/cjs/queries/mutateCancellation.js.map +1 -1
  202. package/dist/esm/Components/Elements/CancelSubscriptionModal/CancelSubscriptionModal.d.ts +6 -0
  203. package/dist/esm/Components/Elements/CancelSubscriptionModal/CancelSubscriptionModal.js +59 -0
  204. package/dist/esm/Components/Elements/CancelSubscriptionModal/CancelSubscriptionModal.js.map +1 -0
  205. package/dist/esm/Components/Elements/CancelSubscriptionModal/index.d.ts +1 -0
  206. package/dist/esm/Components/Elements/CancelSubscriptionModal/index.js +2 -0
  207. package/dist/esm/Components/Elements/CancelSubscriptionModal/index.js.map +1 -0
  208. package/dist/esm/Components/Elements/CancellationButtons/CancellationButtons.d.ts +7 -0
  209. package/dist/esm/Components/Elements/CancellationButtons/CancellationButtons.js +36 -0
  210. package/dist/esm/Components/Elements/CancellationButtons/CancellationButtons.js.map +1 -0
  211. package/dist/esm/Components/Elements/CancellationButtons/index.d.ts +1 -0
  212. package/dist/esm/Components/Elements/CancellationButtons/index.js +2 -0
  213. package/dist/esm/Components/Elements/CancellationButtons/index.js.map +1 -0
  214. package/dist/esm/Components/Elements/CancellationPolicy/CancellationPolicy.d.ts +13 -0
  215. package/dist/esm/Components/Elements/CancellationPolicy/CancellationPolicy.js +29 -0
  216. package/dist/esm/Components/Elements/CancellationPolicy/CancellationPolicy.js.map +1 -0
  217. package/dist/esm/Components/Elements/CancellationPolicy/index.d.ts +1 -0
  218. package/dist/esm/Components/Elements/CancellationPolicy/index.js +2 -0
  219. package/dist/esm/Components/Elements/CancellationPolicy/index.js.map +1 -0
  220. package/dist/esm/Components/Elements/CancellationReasonSelector/CancellationReasonSelector.d.ts +19 -0
  221. package/dist/esm/Components/Elements/CancellationReasonSelector/CancellationReasonSelector.js +35 -0
  222. package/dist/esm/Components/Elements/CancellationReasonSelector/CancellationReasonSelector.js.map +1 -0
  223. package/dist/esm/Components/Elements/CancellationReasonSelector/index.d.ts +1 -0
  224. package/dist/esm/Components/Elements/CancellationReasonSelector/index.js +2 -0
  225. package/dist/esm/Components/Elements/CancellationReasonSelector/index.js.map +1 -0
  226. package/dist/esm/Components/Elements/NewsletterCard/NewsletterCard.js +1 -1
  227. package/dist/esm/Components/Elements/NewsletterCard/NewsletterCard.js.map +1 -1
  228. package/dist/esm/Components/Elements/OfferGroup/Offer.d.ts +2 -0
  229. package/dist/esm/Components/Elements/OfferGroup/Offer.js +22 -0
  230. package/dist/esm/Components/Elements/OfferGroup/Offer.js.map +1 -0
  231. package/dist/esm/Components/Elements/OfferGroup/OfferBody.d.ts +2 -0
  232. package/dist/esm/Components/Elements/OfferGroup/OfferBody.js +22 -0
  233. package/dist/esm/Components/Elements/OfferGroup/OfferBody.js.map +1 -0
  234. package/dist/esm/Components/Elements/OfferGroup/OfferGroup.d.ts +2 -0
  235. package/dist/esm/Components/Elements/OfferGroup/OfferGroup.js +19 -0
  236. package/dist/esm/Components/Elements/OfferGroup/OfferGroup.js.map +1 -0
  237. package/dist/esm/Components/Elements/OfferGroup/index.d.ts +4 -0
  238. package/dist/esm/Components/Elements/OfferGroup/index.js +5 -0
  239. package/dist/esm/Components/Elements/OfferGroup/index.js.map +1 -0
  240. package/dist/esm/Components/Elements/OfferGroup/styled.d.ts +6 -0
  241. package/dist/esm/Components/Elements/OfferGroup/styled.js +14 -0
  242. package/dist/esm/Components/Elements/OfferGroup/styled.js.map +1 -0
  243. package/dist/esm/Components/Elements/OfferGroup/types.d.ts +29 -0
  244. package/dist/esm/Components/Elements/OfferGroup/types.js +2 -0
  245. package/dist/esm/Components/Elements/OfferGroup/types.js.map +1 -0
  246. package/dist/esm/Components/Elements/SectionListItem/SectionListItem.js +6 -5
  247. package/dist/esm/Components/Elements/SectionListItem/SectionListItem.js.map +1 -1
  248. package/dist/esm/Components/Elements/SectionListItem/types.d.ts +2 -0
  249. package/dist/esm/Components/Elements/SunArticleCard/SunArticleCard.d.ts +23 -0
  250. package/dist/esm/Components/Elements/SunArticleCard/SunArticleCard.js +32 -0
  251. package/dist/esm/Components/Elements/SunArticleCard/SunArticleCard.js.map +1 -0
  252. package/dist/esm/Components/Elements/SunArticleCard/index.d.ts +1 -0
  253. package/dist/esm/Components/Elements/SunArticleCard/index.js +2 -0
  254. package/dist/esm/Components/Elements/SunArticleCard/index.js.map +1 -0
  255. package/dist/esm/Components/Elements/SunArticleGrid/SunArticleGrid.d.ts +12 -0
  256. package/dist/esm/Components/Elements/SunArticleGrid/SunArticleGrid.js +20 -0
  257. package/dist/esm/Components/Elements/SunArticleGrid/SunArticleGrid.js.map +1 -0
  258. package/dist/esm/Components/Elements/SunArticleGrid/index.d.ts +1 -0
  259. package/dist/esm/Components/Elements/SunArticleGrid/index.js +2 -0
  260. package/dist/esm/Components/Elements/SunArticleGrid/index.js.map +1 -0
  261. package/dist/esm/Components/Elements/SunOfferCard/SunOfferCard.d.ts +21 -0
  262. package/dist/esm/Components/Elements/SunOfferCard/SunOfferCard.js +31 -0
  263. package/dist/esm/Components/Elements/SunOfferCard/SunOfferCard.js.map +1 -0
  264. package/dist/esm/Components/Elements/SunOfferCard/index.d.ts +1 -0
  265. package/dist/esm/Components/Elements/SunOfferCard/index.js +2 -0
  266. package/dist/esm/Components/Elements/SunOfferCard/index.js.map +1 -0
  267. package/dist/esm/Components/Elements/SunOfferGrid/SunOfferGrid.d.ts +12 -0
  268. package/dist/esm/Components/Elements/SunOfferGrid/SunOfferGrid.js +20 -0
  269. package/dist/esm/Components/Elements/SunOfferGrid/SunOfferGrid.js.map +1 -0
  270. package/dist/esm/Components/Elements/SunOfferGrid/index.d.ts +1 -0
  271. package/dist/esm/Components/Elements/SunOfferGrid/index.js +2 -0
  272. package/dist/esm/Components/Elements/SunOfferGrid/index.js.map +1 -0
  273. package/dist/esm/Components/Sections/CancelSubscription/CancelSubscription.d.ts +1 -1
  274. package/dist/esm/Components/Sections/CancelSubscription/CancelSubscription.js +9 -48
  275. package/dist/esm/Components/Sections/CancelSubscription/CancelSubscription.js.map +1 -1
  276. package/dist/esm/Components/Sections/CancellationDetails/CancellationDetails.js +1 -1
  277. package/dist/esm/Components/Sections/CancellationDetails/CancellationDetails.js.map +1 -1
  278. package/dist/esm/Components/Sections/CancellationOffers/CancellationOffers.d.ts +2 -0
  279. package/dist/esm/Components/Sections/CancellationOffers/CancellationOffers.js +51 -0
  280. package/dist/esm/Components/Sections/CancellationOffers/CancellationOffers.js.map +1 -0
  281. package/dist/esm/Components/Sections/CancellationOffers/index.d.ts +2 -0
  282. package/dist/esm/Components/Sections/CancellationOffers/index.js +3 -0
  283. package/dist/esm/Components/Sections/CancellationOffers/index.js.map +1 -0
  284. package/dist/esm/Components/Sections/CancellationOffers/types.d.ts +33 -0
  285. package/dist/esm/Components/Sections/CancellationOffers/types.js +2 -0
  286. package/dist/esm/Components/Sections/CancellationOffers/types.js.map +1 -0
  287. package/dist/esm/Components/Sections/CardContentContainer/CardContentContainer.js +2 -2
  288. package/dist/esm/Components/Sections/CardContentContainer/CardContentContainer.js.map +1 -1
  289. package/dist/esm/Components/Sections/ContentContainer/BelowContentExtra.js +1 -1
  290. package/dist/esm/Components/Sections/ContentContainer/ContentContainer.js +99 -56
  291. package/dist/esm/Components/Sections/ContentContainer/ContentContainer.js.map +1 -1
  292. package/dist/esm/Components/Sections/ContentContainer/PaginationButton.d.ts +11 -0
  293. package/dist/esm/Components/Sections/ContentContainer/PaginationButton.js +37 -0
  294. package/dist/esm/Components/Sections/ContentContainer/PaginationButton.js.map +1 -0
  295. package/dist/esm/Components/Sections/ContentContainer/types.d.ts +4 -3
  296. package/dist/esm/Components/Sections/Form/Vouchers/Vouchers.js +2 -2
  297. package/dist/esm/Components/Sections/Form/Vouchers/Vouchers.js.map +1 -1
  298. package/dist/esm/Components/Sections/NavigationSecondary/NavigationSecondary.js +1 -0
  299. package/dist/esm/Components/Sections/NavigationSecondary/NavigationSecondary.js.map +1 -1
  300. package/dist/esm/Components/Sections/SectionContainer/types.d.ts +2 -2
  301. package/dist/esm/Components/Sections/UserHub/BaseSection.d.ts +3 -0
  302. package/dist/esm/Components/Sections/UserHub/BaseSection.js +1 -1
  303. package/dist/esm/Components/Sections/UserHub/BaseSection.js.map +1 -1
  304. package/dist/esm/Components/Sections/UserHub/NewslettersSection.js +13 -16
  305. package/dist/esm/Components/Sections/UserHub/NewslettersSection.js.map +1 -1
  306. package/dist/esm/Components/Sections/UserHub/SubscriptionDetailsSection.d.ts +6 -0
  307. package/dist/esm/Components/Sections/UserHub/SubscriptionDetailsSection.js +64 -0
  308. package/dist/esm/Components/Sections/UserHub/SubscriptionDetailsSection.js.map +1 -0
  309. package/dist/esm/Components/Templates/CancellationStepperRender.d.ts +2 -0
  310. package/dist/esm/Components/Templates/CancellationStepperRender.js +8 -4
  311. package/dist/esm/Components/Templates/CancellationStepperRender.js.map +1 -1
  312. package/dist/esm/Components/Templates/DisplayRenderer.js +1 -1
  313. package/dist/esm/Components/Templates/DisplayRenderer.js.map +1 -1
  314. package/dist/esm/Components/Templates/SubscriptionAndBillingRender.js +10 -2
  315. package/dist/esm/Components/Templates/SubscriptionAndBillingRender.js.map +1 -1
  316. package/dist/esm/Components/Templates/SunCancellationFlowRender.d.ts +3 -0
  317. package/dist/esm/Components/Templates/SunCancellationFlowRender.js +86 -0
  318. package/dist/esm/Components/Templates/SunCancellationFlowRender.js.map +1 -0
  319. package/dist/esm/Components/Templates/UserHubRender.js +3 -1
  320. package/dist/esm/Components/Templates/UserHubRender.js.map +1 -1
  321. package/dist/esm/api/mutateHandlerHelpers.js +4 -4
  322. package/dist/esm/api/mutateHandlerHelpers.js.map +1 -1
  323. package/dist/esm/context/index.d.ts +3 -2
  324. package/dist/esm/context/index.js +1 -0
  325. package/dist/esm/context/index.js.map +1 -1
  326. package/dist/esm/context/types.d.ts +20 -11
  327. package/dist/esm/context/types.js +1 -0
  328. package/dist/esm/context/types.js.map +1 -1
  329. package/dist/esm/helpers/apiHandlerUtils.js +10 -2
  330. package/dist/esm/helpers/apiHandlerUtils.js.map +1 -1
  331. package/dist/esm/helpers/cancellationUtils.d.ts +1 -1
  332. package/dist/esm/helpers/cancellationUtils.js +5 -4
  333. package/dist/esm/helpers/cancellationUtils.js.map +1 -1
  334. package/dist/esm/helpers/dataUtils.d.ts +2 -2
  335. package/dist/esm/helpers/dataUtils.js +11 -6
  336. package/dist/esm/helpers/dataUtils.js.map +1 -1
  337. package/dist/esm/helpers/dateUtils.d.ts +0 -1
  338. package/dist/esm/helpers/dateUtils.js +0 -6
  339. package/dist/esm/helpers/dateUtils.js.map +1 -1
  340. package/dist/esm/helpers/featureFlagUtils.js +1 -1
  341. package/dist/esm/helpers/featureFlagUtils.js.map +1 -1
  342. package/dist/esm/helpers/holidayStopsUtils.js +2 -2
  343. package/dist/esm/helpers/holidayStopsUtils.js.map +1 -1
  344. package/dist/esm/hooks/index.d.ts +1 -0
  345. package/dist/esm/hooks/index.js +1 -0
  346. package/dist/esm/hooks/index.js.map +1 -1
  347. package/dist/esm/hooks/useCancelSubscriptionModal.d.ts +6 -0
  348. package/dist/esm/hooks/useCancelSubscriptionModal.js +27 -0
  349. package/dist/esm/hooks/useCancelSubscriptionModal.js.map +1 -0
  350. package/dist/esm/index.d.ts +7 -1
  351. package/dist/esm/index.js +5 -0
  352. package/dist/esm/index.js.map +1 -1
  353. package/dist/esm/pages/CancellationStepper/CancellationStepperContext.js +191 -15
  354. package/dist/esm/pages/CancellationStepper/CancellationStepperContext.js.map +1 -1
  355. package/dist/esm/pages/HolidayStop/HolidayStopContext.js +1 -1
  356. package/dist/esm/pages/HolidayStop/HolidayStopContext.js.map +1 -1
  357. package/dist/esm/pages/HolidayStopList/HolidayStopListContext.js +1 -1
  358. package/dist/esm/pages/HolidayStopList/HolidayStopListContext.js.map +1 -1
  359. package/dist/esm/pages/Newsletters/NewslettersContext.js +3 -3
  360. package/dist/esm/pages/Newsletters/NewslettersContext.js.map +1 -1
  361. package/dist/esm/pages/SubscriptionAndBilling/Sections/CancelSubscriptionSectionContext.js +13 -0
  362. package/dist/esm/pages/SubscriptionAndBilling/Sections/CancelSubscriptionSectionContext.js.map +1 -1
  363. package/dist/esm/pages/SubscriptionAndBilling/SubscriptionAndBillingContext.js +46 -0
  364. package/dist/esm/pages/SubscriptionAndBilling/SubscriptionAndBillingContext.js.map +1 -1
  365. package/dist/esm/pages/SunCancellationFlow/SunCancellationFlow.d.ts +7 -0
  366. package/dist/esm/pages/SunCancellationFlow/SunCancellationFlow.js +27 -0
  367. package/dist/esm/pages/SunCancellationFlow/SunCancellationFlow.js.map +1 -0
  368. package/dist/esm/pages/SunCancellationFlow/SunCancellationFlowContext.d.ts +215 -0
  369. package/dist/esm/pages/SunCancellationFlow/SunCancellationFlowContext.js +256 -0
  370. package/dist/esm/pages/SunCancellationFlow/SunCancellationFlowContext.js.map +1 -0
  371. package/dist/esm/pages/SunCancellationFlow/index.d.ts +2 -0
  372. package/dist/esm/pages/SunCancellationFlow/index.js +3 -0
  373. package/dist/esm/pages/SunCancellationFlow/index.js.map +1 -0
  374. package/dist/esm/pages/UserHub/UserHubContext.js +64 -20
  375. package/dist/esm/pages/UserHub/UserHubContext.js.map +1 -1
  376. package/dist/esm/pages/types.d.ts +12 -0
  377. package/dist/esm/providers/index.d.ts +1 -0
  378. package/dist/esm/providers/index.js +1 -0
  379. package/dist/esm/providers/index.js.map +1 -1
  380. package/dist/esm/providers/sunCancellationProvider.d.ts +1 -0
  381. package/dist/esm/providers/sunCancellationProvider.js +2 -0
  382. package/dist/esm/providers/sunCancellationProvider.js.map +1 -0
  383. package/dist/esm/queries/getContractPhases.d.ts +1 -0
  384. package/dist/esm/queries/getContractPhases.js +8 -0
  385. package/dist/esm/queries/getContractPhases.js.map +1 -0
  386. package/dist/esm/queries/getPropositionFeatures.d.ts +1 -0
  387. package/dist/esm/queries/getPropositionFeatures.js +8 -0
  388. package/dist/esm/queries/getPropositionFeatures.js.map +1 -0
  389. package/dist/esm/queries/getUserNewsletters.js +1 -1
  390. package/dist/esm/queries/getUserNewsletters.js.map +1 -1
  391. package/dist/esm/queries/getUserSubscription.js +3 -1
  392. package/dist/esm/queries/getUserSubscription.js.map +1 -1
  393. package/dist/esm/queries/getUserWithNewsletters.js +4 -1
  394. package/dist/esm/queries/getUserWithNewsletters.js.map +1 -1
  395. package/dist/esm/queries/index.d.ts +1 -0
  396. package/dist/esm/queries/index.js +1 -0
  397. package/dist/esm/queries/index.js.map +1 -1
  398. package/dist/esm/queries/mutateCancelSubscriptionV2.d.ts +2 -0
  399. package/dist/esm/queries/mutateCancelSubscriptionV2.js +8 -0
  400. package/dist/esm/queries/mutateCancelSubscriptionV2.js.map +1 -0
  401. package/dist/esm/queries/mutateCancellation.js +1 -1
  402. package/dist/esm/queries/mutateCancellation.js.map +1 -1
  403. package/package.json +6 -6
  404. package/dist/cjs/Components/Sections/ContentContainer/InvoiceHistoryButton.d.ts +0 -10
  405. package/dist/cjs/Components/Sections/ContentContainer/InvoiceHistoryButton.js.map +0 -1
  406. package/dist/esm/Components/Sections/ContentContainer/InvoiceHistoryButton.d.ts +0 -10
  407. package/dist/esm/Components/Sections/ContentContainer/InvoiceHistoryButton.js +0 -40
  408. package/dist/esm/Components/Sections/ContentContainer/InvoiceHistoryButton.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"UserHubContext.js","sourceRoot":"","sources":["../../../../src/pages/UserHub/UserHubContext.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,gDAAyB;AACzB,mCAAqD;AACrD,6CAA6E;AAC7E,yCAAkE;AAClE,qEAAyF;AACzF,iEAAmF;AACnF,8DAA4E;AAC5E,+EAA6E;AAC7E,yDAAuD;AACvD,mEAAiE;AACjE,uDAAgE;AAChE,uEAA4D;AAE5D,IAAM,gBAAgB,GAAG,IAAA,uBAAa,EAAC,WAAY,CAAC,CAAA;AACpD,IAAM,oBAAoB,GAAG,IAAA,uBAAa,EAAC,uBAAgB,CAAC,CAAA;AAC5D,IAAM,sBAAsB,GAAG,IAAA,uBAAa,EAAC,2BAAkB,CAAC,CAAA;AAChE,IAAM,qBAAqB,GAAG,IAAA,uBAAa,EAAC,qCAAiB,CAAC,CAAA;AAC9D,IAAM,eAAe,GAAG,IAAA,uBAAa,EAAC,yBAAW,CAAC,CAAA;AAClD,IAAM,UAAU,GAAG,IAAA,uBAAa,EAAC,eAAM,CAAC,CAAA;AAExC,IAAM,QAAQ,GAAG,UAAU,CAAA;AAEd,QAAA,cAAc,GAAmC;IAC5D,QAAQ,EAAE;QACR,UAAU,EAAE;YACV,UAAU,EAAE,aAAa;YACzB,UAAU,EAAE,MAAM;YAClB,MAAM,EAAE;gBACN,KAAK,EAAE,aAAa;gBACpB,cAAc,EAAE;oBACd,cAAc,EAAE;wBACd,EAAE,EAAE,UAAU;qBACf;oBACD,gBAAgB,EAAE,sBAAsB;iBACzC;gBACD,WAAW,EAAE,KAAK;aACnB;YACD,kBAAkB,EAAE;gBAClB,IAAI,EAAE,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B,6BAAA;IACjB,mBAAmB,EAAE;QACnB,OAAO,EAAE,2BAA2B;QACpC,KAAK,EACH,2FAA2F;QAC7F,OAAO,EAAE,iCAAiC;KAC3C;CACF,CAAA"}
1
+ {"version":3,"file":"UserHubContext.js","sourceRoot":"","sources":["../../../../src/pages/UserHub/UserHubContext.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,gDAAyB;AACzB,mCAAqD;AAErD,yCAAkE;AAClE,qEAAyF;AACzF,iEAAmF;AACnF,8DAA4E;AAC5E,+EAA6E;AAC7E,yDAAuD;AACvD,mEAAiE;AACjE,uDAAgE;AAChE,uEAA4D;AAC5D,kFAAgF;AAChF,wHAA+G;AAG/G,IAAM,gBAAgB,GAAG,IAAA,uBAAa,EAAC,WAAY,CAAC,CAAA;AACpD,IAAM,oBAAoB,GAAG,IAAA,uBAAa,EAAC,uBAAgB,CAAC,CAAA;AAC5D,IAAM,sBAAsB,GAAG,IAAA,uBAAa,EAAC,2BAAkB,CAAC,CAAA;AAChE,IAAM,qBAAqB,GAAG,IAAA,uBAAa,EAAC,qCAAiB,CAAC,CAAA;AAC9D,IAAM,eAAe,GAAG,IAAA,uBAAa,EAAC,yBAAW,CAAC,CAAA;AAClD,IAAM,UAAU,GAAG,IAAA,uBAAa,EAAC,eAAM,CAAC,CAAA;AACxC,IAAM,kBAAkB,GAAG,IAAA,uBAAa,EAAC,+BAAc,CAAC,CAAA;AAExD,IAAM,QAAQ,GAAG,UAAU,CAAA;AAEd,QAAA,cAAc,GAAmC;IAC5D,QAAQ,EAAE;QACR,UAAU,EAAE;YACV,UAAU,EAAE,aAAa;YACzB,UAAU,EAAE,MAAM;YAClB,MAAM,EAAE;gBACN,KAAK,EAAE,aAAa;gBACpB,cAAc,EAAE;oBACd,cAAc,EAAE;wBACd,EAAE,EAAE,UAAU;qBACf;oBACD,gBAAgB,EAAE,sBAAsB;iBACzC;gBACD,WAAW,EAAE,KAAK;aACnB;YACD,kBAAkB,EAAE;gBAClB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BAC/B,SAAS,EAAE;oBACT,YAAY,EAAE,UAAU;oBACxB,aAAa,EAAE,UAAU;oBACzB,QAAQ,EAAE,MAAM;iBACjB;aACF;YACD,oBAAoB,sBAClB,cAAc,EAAE;oBACd,UAAU,EAAE,MAAM;oBAClB,OAAO,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE;iBACjC,IACE,oCAAsB,KACzB,aAAa,wBACR,oCAAsB,CAAC,aAAa,KACvC,QAAQ,EAAE;wBACR,EAAE,EAAE,MAAM;qBACX,KAEH,mBAAmB,EAAE;oBACnB,OAAO,EAAE;wBACP,EAAE,EAAE,MAAM;wBACV,EAAE,EAAE,MAAM;wBACV,EAAE,EAAE,SAAS;wBACb,EAAE,EAAE,SAAS;wBACb,EAAE,EAAE,UAAU;qBACf;oBACD,SAAS,EAAE,MAAM;oBACjB,QAAQ,EAAE,KAAK;oBACf,MAAM,EAAE,MAAM;iBACf,GACF;SACF;QACD,OAAO,EAAE;YACP,kBAAkB,EAAE,KAAK;YACzB,UAAU,EAAE,sBAAsB;YAClC,MAAM,EAAE;gBACN,KAAK,EAAE,2BAA2B;gBAClC,cAAc,EAAE;oBACd,cAAc,EAAE;wBACd,EAAE,EAAE,UAAU;qBACf;oBACD,gBAAgB,EAAE,sBAAsB;iBACzC;aACF;YACD,WAAW,EAAE;gBACX,IAAI,EAAE,4HAA4H;aACnI;YACD,MAAM,EAAE;gBACN,QAAQ,EAAE,SAAS;gBACnB,IAAI,EAAE,6DAA6D;aACpE;SACF;KACF;IACD,MAAM,kBAAA;IACN,OAAO,mBAAA;IACP,iBAAiB,6BAAA;IACjB,mBAAmB,EAAE;QACnB,OAAO,EAAE,2BAA2B;QACpC,KAAK,EACH,2FAA2F;QAC7F,OAAO,EAAE,iCAAiC;KAC3C;CACF,CAAA"}
@@ -145,6 +145,8 @@ export interface NewsletterDetails {
145
145
  customerId: string;
146
146
  isSubscribed: boolean;
147
147
  imageUrl: string;
148
+ landingPage: boolean;
149
+ landingPageDisplayOrder: number;
148
150
  featured: boolean;
149
151
  displayOrder: number;
150
152
  }
@@ -237,6 +239,16 @@ export interface UserData {
237
239
  invoiceHistory?: InvoiceHistory;
238
240
  entitlements?: UserEntitlements[];
239
241
  userCapabilities?: UserCapabilitiesDecisions;
242
+ customerNotifications?: CustomerNotification[];
243
+ }
244
+ export interface CustomerNotification {
245
+ type: string;
246
+ notifications: Notification[];
247
+ }
248
+ export interface Notification {
249
+ name: string;
250
+ lastModifiedDate: string;
251
+ downloadLink: string;
240
252
  }
241
253
  export type UserEntitlements = 'The Times Metered Access with 3 Articles a Month' | 'The Times Session Monitoring Feature' | 'The Times Site Product' | 'The Times Apple Podcast Product' | 'Email Bulletins Product' | 'The Sunday Times iPhone app product' | 'The Sunday Times Site Product ONLY' | 'The Times Group Account Feature' | 'The Sunday Times Mobi Product' | 'The Sunday Times iPad app product' | 'e-paper Product' | 'Daily Crossword Product' | 'saving' | 'The Sunday Times Site Product' | 'Sharing' | 'The Times Mobi Product' | 'The Times iPad app Product' | 'Digital Subscription Product' | 'commenting' | 'The Times iPhone app product' | 'Times+ membership benefits Product' | 'The Times Site Product ONLY' | 'Times Literary Supplement Digital Free' | 'The Times Metered Access 30 Articles Per Month' | 'Times Sports App' | 'The Times EPL Video Product';
242
254
  export type EntitlementsMap = {
@@ -8,6 +8,7 @@ export * from './personalDetailsProvider';
8
8
  export * from './paymentProvider';
9
9
  export * from './stepUpMfaProvider';
10
10
  export * from './subscriptionAndBillingProvider';
11
+ export * from './sunCancellationProvider';
11
12
  export * from './userPaymentInfoProvider';
12
13
  export * from './userNewslettersListProvider';
13
14
  export * from './types';
@@ -24,6 +24,7 @@ __exportStar(require("./personalDetailsProvider"), exports);
24
24
  __exportStar(require("./paymentProvider"), exports);
25
25
  __exportStar(require("./stepUpMfaProvider"), exports);
26
26
  __exportStar(require("./subscriptionAndBillingProvider"), exports);
27
+ __exportStar(require("./sunCancellationProvider"), exports);
27
28
  __exportStar(require("./userPaymentInfoProvider"), exports);
28
29
  __exportStar(require("./userNewslettersListProvider"), exports);
29
30
  __exportStar(require("./types"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/providers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAmC;AACnC,kDAA+B;AAC/B,yDAAsC;AACtC,iEAA8C;AAC9C,2DAAwC;AACxC,oDAAiC;AACjC,4DAAyC;AACzC,oDAAiC;AACjC,sDAAmC;AACnC,mEAAgD;AAChD,4DAAyC;AACzC,gEAA6C;AAC7C,0CAAuB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/providers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAmC;AACnC,kDAA+B;AAC/B,yDAAsC;AACtC,iEAA8C;AAC9C,2DAAwC;AACxC,oDAAiC;AACjC,4DAAyC;AACzC,oDAAiC;AACjC,sDAAmC;AACnC,mEAAgD;AAChD,4DAAyC;AACzC,4DAAyC;AACzC,gEAA6C;AAC7C,0CAAuB"}
@@ -0,0 +1 @@
1
+ export declare const sunCancellationProvider: () => Promise<void>;
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.sunCancellationProvider = void 0;
4
+ var sunCancellationProvider = function () { return Promise.resolve(); };
5
+ exports.sunCancellationProvider = sunCancellationProvider;
6
+ //# sourceMappingURL=sunCancellationProvider.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sunCancellationProvider.js","sourceRoot":"","sources":["../../../src/providers/sunCancellationProvider.ts"],"names":[],"mappings":";;;AAAO,IAAM,uBAAuB,GAAG,cAAM,OAAA,OAAO,CAAC,OAAO,EAAE,EAAjB,CAAiB,CAAA;AAAjD,QAAA,uBAAuB,2BAA0B"}
@@ -0,0 +1 @@
1
+ export declare const contractPhasesFragment: import("@apollo/client").DocumentNode;
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
3
+ if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
4
+ return cooked;
5
+ };
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.contractPhasesFragment = void 0;
8
+ var client_1 = require("@apollo/client");
9
+ exports.contractPhasesFragment = (0, client_1.gql)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n fragment contractPhasesFragment on Subscription {\n phases {\n type\n active\n currentPhase\n }\n }\n"], ["\n fragment contractPhasesFragment on Subscription {\n phases {\n type\n active\n currentPhase\n }\n }\n"])));
10
+ var templateObject_1;
11
+ //# sourceMappingURL=getContractPhases.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getContractPhases.js","sourceRoot":"","sources":["../../../src/queries/getContractPhases.ts"],"names":[],"mappings":";;;;;;;AAAA,yCAAoC;AAEvB,QAAA,sBAAsB,OAAG,YAAG,qMAAA,iIAQxC,KAAA"}
@@ -0,0 +1 @@
1
+ export declare const propositionFeaturesFragment: import("@apollo/client").DocumentNode;
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
3
+ if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
4
+ return cooked;
5
+ };
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.propositionFeaturesFragment = void 0;
8
+ var client_1 = require("@apollo/client");
9
+ exports.propositionFeaturesFragment = (0, client_1.gql)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n fragment propositionFeaturesFragment on Proposition {\n features {\n code\n name\n displayLabel\n displayDescription\n displayPriority\n displayEnabled\n }\n }\n"], ["\n fragment propositionFeaturesFragment on Proposition {\n features {\n code\n name\n displayLabel\n displayDescription\n displayPriority\n displayEnabled\n }\n }\n"])));
10
+ var templateObject_1;
11
+ //# sourceMappingURL=getPropositionFeatures.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getPropositionFeatures.js","sourceRoot":"","sources":["../../../src/queries/getPropositionFeatures.ts"],"names":[],"mappings":";;;;;;;AAAA,yCAAoC;AAEvB,QAAA,2BAA2B,OAAG,YAAG,gRAAA,4MAW7C,KAAA"}
@@ -6,6 +6,6 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
7
  exports.GET_USER_NEWSLETTERS = void 0;
8
8
  var client_1 = require("@apollo/client");
9
- exports.GET_USER_NEWSLETTERS = (0, client_1.gql)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n fragment UserNewsletters on User {\n newsletters {\n brand\n bulletinId\n bulletinText\n category\n code\n detailedText\n frequency\n frequencyDesc\n includesRA\n sfId\n thirdPartyId\n customerId\n isSubscribed\n imageUrl\n featured\n displayOrder\n }\n }\n"], ["\n fragment UserNewsletters on User {\n newsletters {\n brand\n bulletinId\n bulletinText\n category\n code\n detailedText\n frequency\n frequencyDesc\n includesRA\n sfId\n thirdPartyId\n customerId\n isSubscribed\n imageUrl\n featured\n displayOrder\n }\n }\n"])));
9
+ exports.GET_USER_NEWSLETTERS = (0, client_1.gql)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n fragment UserNewsletters on User {\n newsletters {\n brand\n bulletinId\n bulletinText\n category\n code\n detailedText\n frequency\n frequencyDesc\n includesRA\n sfId\n thirdPartyId\n customerId\n isSubscribed\n imageUrl\n landingPage\n landingPageDisplayOrder\n featured\n displayOrder\n }\n }\n"], ["\n fragment UserNewsletters on User {\n newsletters {\n brand\n bulletinId\n bulletinText\n category\n code\n detailedText\n frequency\n frequencyDesc\n includesRA\n sfId\n thirdPartyId\n customerId\n isSubscribed\n imageUrl\n landingPage\n landingPageDisplayOrder\n featured\n displayOrder\n }\n }\n"])));
10
10
  var templateObject_1;
11
11
  //# sourceMappingURL=getUserNewsletters.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getUserNewsletters.js","sourceRoot":"","sources":["../../../src/queries/getUserNewsletters.ts"],"names":[],"mappings":";;;;;;;AAAA,yCAAoC;AAEvB,QAAA,oBAAoB,OAAG,YAAG,kaAAA,8VAqBtC,KAAA"}
1
+ {"version":3,"file":"getUserNewsletters.js","sourceRoot":"","sources":["../../../src/queries/getUserNewsletters.ts"],"names":[],"mappings":";;;;;;;AAAA,yCAAoC;AAEvB,QAAA,oBAAoB,OAAG,YAAG,odAAA,gZAuBtC,KAAA"}
@@ -8,6 +8,8 @@ exports.GET_USER_SUBSCRIPTION = void 0;
8
8
  var client_1 = require("@apollo/client");
9
9
  var getInvoiceHistory_1 = require("./getInvoiceHistory");
10
10
  var getUserIncentives_1 = require("./getUserIncentives");
11
- exports.GET_USER_SUBSCRIPTION = (0, client_1.gql)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", "\n ", "\n fragment UserSubscription on User {\n cpn\n address {\n line1\n line2\n line3\n city\n postcode\n county\n country {\n countryIsoCode\n name\n }\n }\n subscriptions {\n id\n startDate\n serviceCancellationDate\n isActive\n currency\n price\n type\n status\n isVoucher\n packName\n propositionCode\n propositionV2 {\n code\n features {\n code\n name\n displayLabel\n displayDescription\n displayPriority\n displayEnabled\n }\n }\n products {\n id\n packImageUrl\n }\n billingDetails {\n zipCode\n billCycleDay\n nextBillCycleDate\n nextBillAmount\n paymentMethod {\n cardType\n cardNumber\n type\n expirationYear\n expirationMonth\n bankTransferAccountNumberMask\n walletType\n paypalEmail\n }\n }\n deliveryInformation\n fulfilmentPeriodStartDate\n nextVoucherInsGenerationDate\n dtc\n phases {\n type\n active\n currentPhase\n }\n ...grantedIncentivesFragment\n }\n invoiceHistory(page: 1, pageSize: 12) {\n ...invoiceHistoryFields\n }\n }\n"], ["\n ", "\n ", "\n fragment UserSubscription on User {\n cpn\n address {\n line1\n line2\n line3\n city\n postcode\n county\n country {\n countryIsoCode\n name\n }\n }\n subscriptions {\n id\n startDate\n serviceCancellationDate\n isActive\n currency\n price\n type\n status\n isVoucher\n packName\n propositionCode\n propositionV2 {\n code\n features {\n code\n name\n displayLabel\n displayDescription\n displayPriority\n displayEnabled\n }\n }\n products {\n id\n packImageUrl\n }\n billingDetails {\n zipCode\n billCycleDay\n nextBillCycleDate\n nextBillAmount\n paymentMethod {\n cardType\n cardNumber\n type\n expirationYear\n expirationMonth\n bankTransferAccountNumberMask\n walletType\n paypalEmail\n }\n }\n deliveryInformation\n fulfilmentPeriodStartDate\n nextVoucherInsGenerationDate\n dtc\n phases {\n type\n active\n currentPhase\n }\n ...grantedIncentivesFragment\n }\n invoiceHistory(page: 1, pageSize: 12) {\n ...invoiceHistoryFields\n }\n }\n"])), getInvoiceHistory_1.invoiceHistoryFields, getUserIncentives_1.grantedIncentivesFragment);
11
+ var getContractPhases_1 = require("./getContractPhases");
12
+ var getPropositionFeatures_1 = require("./getPropositionFeatures");
13
+ exports.GET_USER_SUBSCRIPTION = (0, client_1.gql)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", "\n ", "\n ", "\n ", "\n fragment UserSubscription on User {\n cpn\n address {\n line1\n line2\n line3\n city\n postcode\n county\n country {\n countryIsoCode\n name\n }\n }\n subscriptions {\n id\n startDate\n serviceCancellationDate\n isActive\n currency\n price\n type\n status\n isVoucher\n packName\n propositionCode\n propositionV2 {\n code\n ...propositionFeaturesFragment\n }\n products {\n id\n packImageUrl\n }\n billingDetails {\n zipCode\n billCycleDay\n nextBillCycleDate\n nextBillAmount\n paymentMethod {\n cardType\n cardNumber\n type\n expirationYear\n expirationMonth\n bankTransferAccountNumberMask\n walletType\n paypalEmail\n }\n }\n deliveryInformation\n fulfilmentPeriodStartDate\n nextVoucherInsGenerationDate\n dtc\n ...contractPhasesFragment\n ...grantedIncentivesFragment\n }\n invoiceHistory(page: 1, pageSize: 12) {\n ...invoiceHistoryFields\n }\n customerNotifications {\n type\n notifications {\n name\n lastModifiedDate\n downloadLink\n }\n }\n }\n"], ["\n ", "\n ", "\n ", "\n ", "\n fragment UserSubscription on User {\n cpn\n address {\n line1\n line2\n line3\n city\n postcode\n county\n country {\n countryIsoCode\n name\n }\n }\n subscriptions {\n id\n startDate\n serviceCancellationDate\n isActive\n currency\n price\n type\n status\n isVoucher\n packName\n propositionCode\n propositionV2 {\n code\n ...propositionFeaturesFragment\n }\n products {\n id\n packImageUrl\n }\n billingDetails {\n zipCode\n billCycleDay\n nextBillCycleDate\n nextBillAmount\n paymentMethod {\n cardType\n cardNumber\n type\n expirationYear\n expirationMonth\n bankTransferAccountNumberMask\n walletType\n paypalEmail\n }\n }\n deliveryInformation\n fulfilmentPeriodStartDate\n nextVoucherInsGenerationDate\n dtc\n ...contractPhasesFragment\n ...grantedIncentivesFragment\n }\n invoiceHistory(page: 1, pageSize: 12) {\n ...invoiceHistoryFields\n }\n customerNotifications {\n type\n notifications {\n name\n lastModifiedDate\n downloadLink\n }\n }\n }\n"])), getInvoiceHistory_1.invoiceHistoryFields, getUserIncentives_1.grantedIncentivesFragment, getContractPhases_1.contractPhasesFragment, getPropositionFeatures_1.propositionFeaturesFragment);
12
14
  var templateObject_1;
13
15
  //# sourceMappingURL=getUserSubscription.js.map
@@ -1 +1 @@
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,i7CAAA,MACpC,EAAoB,MACpB,EAAyB,61CAyE5B,KA1EG,wCAAoB,EACpB,6CAAyB,EAyE5B"}
1
+ {"version":3,"file":"getUserSubscription.js","sourceRoot":"","sources":["../../../src/queries/getUserSubscription.ts"],"names":[],"mappings":";;;;;;;AAAA,yCAAoC;AACpC,yDAA0D;AAC1D,yDAA+D;AAC/D,yDAA4D;AAC5D,mEAAsE;AAEzD,QAAA,qBAAqB,OAAG,YAAG,i6CAAA,MACpC,EAAoB,MACpB,EAAyB,MACzB,EAAsB,MACtB,EAA2B,6zCAsE9B,KAzEG,wCAAoB,EACpB,6CAAyB,EACzB,0CAAsB,EACtB,oDAA2B,EAsE9B"}
@@ -8,6 +8,9 @@ exports.GET_USER_WITH_NEWSLETTERS = void 0;
8
8
  var client_1 = require("@apollo/client");
9
9
  var getUserNewsletters_1 = require("./getUserNewsletters");
10
10
  var getUserEntitlements_1 = require("./getUserEntitlements");
11
- exports.GET_USER_WITH_NEWSLETTERS = (0, client_1.gql)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", "\n ", "\n fragment UserWithNewsletters on User {\n cpn\n subscriptions {\n isActive\n startDate\n type\n serviceCancellationDate\n status\n packName\n freeOfCharge\n isVoucher\n billingDetails {\n available\n paymentMethod {\n type\n }\n }\n }\n ...UserNewsletters\n ...UserEntitlements\n }\n"], ["\n ", "\n ", "\n fragment UserWithNewsletters on User {\n cpn\n subscriptions {\n isActive\n startDate\n type\n serviceCancellationDate\n status\n packName\n freeOfCharge\n isVoucher\n billingDetails {\n available\n paymentMethod {\n type\n }\n }\n }\n ...UserNewsletters\n ...UserEntitlements\n }\n"])), getUserNewsletters_1.GET_USER_NEWSLETTERS, getUserEntitlements_1.GET_USER_ENTITLEMENTS);
11
+ var getContractPhases_1 = require("./getContractPhases");
12
+ var getPropositionFeatures_1 = require("./getPropositionFeatures");
13
+ var getUserIncentives_1 = require("./getUserIncentives");
14
+ exports.GET_USER_WITH_NEWSLETTERS = (0, client_1.gql)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", "\n ", "\n ", "\n ", "\n ", "\n fragment UserWithNewsletters on User {\n cpn\n subscriptions {\n isActive\n startDate\n type\n serviceCancellationDate\n status\n packName\n freeOfCharge\n isVoucher\n price\n currency\n billingDetails {\n available\n paymentMethod {\n type\n }\n }\n propositionV2 {\n ...propositionFeaturesFragment\n }\n ...contractPhasesFragment\n ...grantedIncentivesFragment\n }\n ...UserNewsletters\n ...UserEntitlements\n }\n"], ["\n ", "\n ", "\n ", "\n ", "\n ", "\n fragment UserWithNewsletters on User {\n cpn\n subscriptions {\n isActive\n startDate\n type\n serviceCancellationDate\n status\n packName\n freeOfCharge\n isVoucher\n price\n currency\n billingDetails {\n available\n paymentMethod {\n type\n }\n }\n propositionV2 {\n ...propositionFeaturesFragment\n }\n ...contractPhasesFragment\n ...grantedIncentivesFragment\n }\n ...UserNewsletters\n ...UserEntitlements\n }\n"])), getUserNewsletters_1.GET_USER_NEWSLETTERS, getUserEntitlements_1.GET_USER_ENTITLEMENTS, getContractPhases_1.contractPhasesFragment, getPropositionFeatures_1.propositionFeaturesFragment, getUserIncentives_1.grantedIncentivesFragment);
12
15
  var templateObject_1;
13
16
  //# sourceMappingURL=getUserWithNewsletters.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getUserWithNewsletters.js","sourceRoot":"","sources":["../../../src/queries/getUserWithNewsletters.ts"],"names":[],"mappings":";;;;;;;AAAA,yCAAoC;AACpC,2DAA2D;AAC3D,6DAA6D;AAEhD,QAAA,yBAAyB,OAAG,YAAG,odAAA,MACxC,EAAoB,MACpB,EAAqB,gYAsBxB,KAvBG,yCAAoB,EACpB,2CAAqB,EAsBxB"}
1
+ {"version":3,"file":"getUserWithNewsletters.js","sourceRoot":"","sources":["../../../src/queries/getUserWithNewsletters.ts"],"names":[],"mappings":";;;;;;;AAAA,yCAAoC;AACpC,2DAA2D;AAC3D,6DAA6D;AAC7D,yDAA4D;AAC5D,mEAAsE;AACtE,yDAA+D;AAElD,QAAA,yBAAyB,OAAG,YAAG,spBAAA,MACxC,EAAoB,MACpB,EAAqB,MACrB,EAAsB,MACtB,EAA2B,MAC3B,EAAyB,0iBA6B5B,KAjCG,yCAAoB,EACpB,2CAAqB,EACrB,0CAAsB,EACtB,oDAA2B,EAC3B,6CAAyB,EA6B5B"}
@@ -26,3 +26,4 @@ export * from './mutateSendFamilyMemberInvite';
26
26
  export * from './mutateSendFamilyMemberInviteV2';
27
27
  export * from './mutateUserBroadcasting';
28
28
  export * from './mutateCreateShareLink';
29
+ export * from './mutateCancelSubscriptionV2';
@@ -44,4 +44,5 @@ __exportStar(require("./mutateSendFamilyMemberInvite"), exports);
44
44
  __exportStar(require("./mutateSendFamilyMemberInviteV2"), exports);
45
45
  __exportStar(require("./mutateUserBroadcasting"), exports);
46
46
  __exportStar(require("./mutateCreateShareLink"), exports);
47
+ __exportStar(require("./mutateCancelSubscriptionV2"), exports);
47
48
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/queries/index.ts"],"names":[],"mappings":";AAAA,MAAM;;;;;;;;;;;;;;;;AAEN,yDAAsC;AACtC,wDAAqC;AACrC,iDAA8B;AAC9B,sDAAmC;AACnC,0DAAuC;AACvC,mDAAgC;AAChC,iEAA8C;AAC9C,uDAAoC;AACpC,uDAAoC;AACpC,mDAAgC;AAChC,wDAAqC;AACrC,yDAAsC;AAEtC,SAAS;AAET,uDAAoC;AACpC,4DAAyC;AACzC,+DAA4C;AAC5C,sDAAmC;AACnC,8DAA2C;AAC3C,wDAAqC;AACrC,iEAA8C;AAC9C,mEAAgD;AAChD,+DAA4C;AAC5C,+CAA4B;AAC5B,wDAAqC;AACrC,mEAAgD;AAChD,iEAA8C;AAC9C,mEAAgD;AAChD,2DAAwC;AACxC,0DAAuC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/queries/index.ts"],"names":[],"mappings":";AAAA,MAAM;;;;;;;;;;;;;;;;AAEN,yDAAsC;AACtC,wDAAqC;AACrC,iDAA8B;AAC9B,sDAAmC;AACnC,0DAAuC;AACvC,mDAAgC;AAChC,iEAA8C;AAC9C,uDAAoC;AACpC,uDAAoC;AACpC,mDAAgC;AAChC,wDAAqC;AACrC,yDAAsC;AAEtC,SAAS;AAET,uDAAoC;AACpC,4DAAyC;AACzC,+DAA4C;AAC5C,sDAAmC;AACnC,8DAA2C;AAC3C,wDAAqC;AACrC,iEAA8C;AAC9C,mEAAgD;AAChD,+DAA4C;AAC5C,+CAA4B;AAC5B,wDAAqC;AACrC,mEAAgD;AAChD,iEAA8C;AAC9C,mEAAgD;AAChD,2DAAwC;AACxC,0DAAuC;AACvC,+DAA4C"}
@@ -0,0 +1,2 @@
1
+ import { DocumentNode } from '@apollo/client';
2
+ export declare const mutateCancelSubscriptionV2: DocumentNode;
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
3
+ if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
4
+ return cooked;
5
+ };
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.mutateCancelSubscriptionV2 = void 0;
8
+ var client_1 = require("@apollo/client");
9
+ exports.mutateCancelSubscriptionV2 = (0, client_1.gql)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n mutation ($input: CancelSubscriptionV2Input!) {\n cancelSubscriptionV2(input: $input) {\n success\n errorMessage\n serviceCancellationDate\n }\n }\n"], ["\n mutation ($input: CancelSubscriptionV2Input!) {\n cancelSubscriptionV2(input: $input) {\n success\n errorMessage\n serviceCancellationDate\n }\n }\n"])));
10
+ var templateObject_1;
11
+ //# sourceMappingURL=mutateCancelSubscriptionV2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mutateCancelSubscriptionV2.js","sourceRoot":"","sources":["../../../src/queries/mutateCancelSubscriptionV2.ts"],"names":[],"mappings":";;;;;;;AAAA,yCAAkD;AAErC,QAAA,0BAA0B,OAAiB,YAAG,oPAAA,gLAQ1D,KAAA"}
@@ -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 serviceCancellationDate\n }\n }\n"], ["\n mutation ($input: CancelSubscriptionInput!) {\n cancelSubscription(input: $input) {\n success\n message\n serviceCancellationDate\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 }\n }\n"], ["\n mutation ($input: CancelSubscriptionInput!) {\n cancelSubscription(input: $input) {\n success\n message\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,2OAAA,uKAQlD,KAAA"}
1
+ {"version":3,"file":"mutateCancellation.js","sourceRoot":"","sources":["../../../src/queries/mutateCancellation.ts"],"names":[],"mappings":";;;;;;;AAAA,yCAAkD;AAErC,QAAA,kBAAkB,OAAiB,YAAG,4MAAA,wIAOlD,KAAA"}
@@ -0,0 +1,6 @@
1
+ import { CancelSubscriptionProps } from '../../Sections/CancelSubscription';
2
+ export interface CancelSubscriptionModalProps extends Pick<CancelSubscriptionProps, 'modal' | 'featureFlags' | 'cpn' | 'subscriptions'> {
3
+ isOpen: boolean;
4
+ onDismissModal: () => void;
5
+ }
6
+ export declare const CancelSubscriptionModal: ({ isOpen, onDismissModal, modal, featureFlags, cpn, subscriptions, }: CancelSubscriptionModalProps) => JSX.Element;
@@ -0,0 +1,59 @@
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 { Modal } from '@newskit-render/shared-components';
29
+ import { LayerOrganizer, styled, getColorCssFromTheme, StructuredList, } from 'newskit';
30
+ import { zIndexModal } from '../../Sections/LayoutContentContainer';
31
+ import { SectionListItem } from '../../Elements/SectionListItem';
32
+ import { ForwardButton } from '../../Elements/ForwardButton/ForwardButton';
33
+ import { CANCELLATION_EXPERIMENT } from '../../../constants';
34
+ var StyledStructuredList = styled(StructuredList)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n li {\n border-top: 1px solid;\n ", "\n }\n\n li:last-child {\n border-bottom: ", ";\n ", ";\n }\n\n li:first-child {\n ", "\n }\n"], ["\n li {\n border-top: 1px solid;\n ", "\n }\n\n li:last-child {\n border-bottom: ", ";\n ", ";\n }\n\n li:first-child {\n ", "\n }\n"])), getColorCssFromTheme('borderColor', 'interface030'), function (_a) {
35
+ var featureFlags = _a.featureFlags;
36
+ return (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.enable_cancel_subscription.variationKey) ===
37
+ CANCELLATION_EXPERIMENT.VARIANT_1_ON
38
+ ? '1px solid'
39
+ : 'none';
40
+ }, getColorCssFromTheme('borderColor', 'interface030'), function (_a) {
41
+ var featureFlags = _a.featureFlags;
42
+ return (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.enable_cancel_subscription.variationKey) ===
43
+ CANCELLATION_EXPERIMENT.VARIANT_1_ON
44
+ ? ''
45
+ : 'border-top: none';
46
+ });
47
+ export var CancelSubscriptionModal = function (_a) {
48
+ var isOpen = _a.isOpen, onDismissModal = _a.onDismissModal, modal = _a.modal, featureFlags = _a.featureFlags, cpn = _a.cpn, subscriptions = _a.subscriptions;
49
+ var _b = modal || {}, content = _b.content, belowItemExtra = _b.belowItemExtra, modalProps = __rest(_b, ["content", "belowItemExtra"]);
50
+ return (React.createElement(LayerOrganizer, { zIndex: zIndexModal },
51
+ React.createElement(Modal, __assign({ open: isOpen, onDismiss: onDismissModal }, modalProps, { "data-testid": "cancel-subscription-modal" }),
52
+ (content === null || content === void 0 ? void 0 : content.items) && (React.createElement(StyledStructuredList, { featureFlags: featureFlags }, content === null || content === void 0 ? void 0 : content.items.map(function (_a) {
53
+ var href = _a.href, props = __rest(_a, ["href"]);
54
+ return (React.createElement(SectionListItem, __assign({ key: props.id }, props, { containerOverrides: content.itemContainerOverrides })));
55
+ }))),
56
+ React.createElement(ForwardButton, { label: "or", buttonOverrides: __assign({ stylePreset: 'buttonMinimalPrimary' }, belowItemExtra === null || belowItemExtra === void 0 ? void 0 : belowItemExtra.buttonOverrides), baseUrl: belowItemExtra === null || belowItemExtra === void 0 ? void 0 : belowItemExtra.baseUrl, eventContext: belowItemExtra === null || belowItemExtra === void 0 ? void 0 : belowItemExtra.eventContext, dataTestId: "continue-button", button: belowItemExtra === null || belowItemExtra === void 0 ? void 0 : belowItemExtra.button, userTrackingData: { cpn: cpn, subscriptions: subscriptions } }))));
57
+ };
58
+ var templateObject_1;
59
+ //# sourceMappingURL=CancelSubscriptionModal.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CancelSubscriptionModal.js","sourceRoot":"","sources":["../../../../../src/Components/Elements/CancelSubscriptionModal/CancelSubscriptionModal.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,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A,EAAK,UAAU,cAAxC,6BAA0C,CAAc,CAAA;IAE9D,OAAO,CACL,oBAAC,cAAc,IAAC,MAAM,EAAE,WAAW;QACjC,oBAAC,KAAK,aACJ,IAAI,EAAE,MAAM,EACZ,SAAS,EAAE,cAAc,IACrB,UAAU,mBACF,2BAA2B;YAEtC,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,KAAK,KAAI,CACjB,oBAAC,oBAAoB,IAAC,YAAY,EAAE,YAAY,IAC7C,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,KAAK,CAAC,GAAG,CAAC,UAAC,EAAkB;gBAAhB,IAAA,IAAI,UAAA,EAAK,KAAK,cAAhB,QAAkB,CAAF;gBAAO,OAAA,CAC1C,oBAAC,eAAe,aACd,GAAG,EAAE,KAAK,CAAC,EAAE,IACT,KAAK,IACT,kBAAkB,EAAE,OAAO,CAAC,sBAAsB,IAClD,CACH,CAAA;aAAA,CAAC,CACmB,CACxB;YACD,oBAAC,aAAa,IACZ,KAAK,EAAC,IAAI,EACV,eAAe,aACb,WAAW,EAAE,sBAAsB,IAChC,cAAc,aAAd,cAAc,uBAAd,cAAc,CAAE,eAAe,GAEpC,OAAO,EAAE,cAAc,aAAd,cAAc,uBAAd,cAAc,CAAE,OAAO,EAChC,YAAY,EAAE,cAAc,aAAd,cAAc,uBAAd,cAAc,CAAE,YAAY,EAC1C,UAAU,EAAC,iBAAiB,EAC5B,MAAM,EAAE,cAAc,aAAd,cAAc,uBAAd,cAAc,CAAE,MAAM,EAC9B,gBAAgB,EAAE,EAAE,GAAG,KAAA,EAAE,aAAa,eAAA,EAAE,GACxC,CACI,CACO,CAClB,CAAA;AACH,CAAC,CAAA"}
@@ -0,0 +1 @@
1
+ export * from './CancelSubscriptionModal';
@@ -0,0 +1,2 @@
1
+ export * from './CancelSubscriptionModal';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/Components/Elements/CancelSubscriptionModal/index.tsx"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAA"}
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { ButtonGroupProps } from '@newskit-render/shared-components';
3
+ export interface CancellationButtonsProps extends ButtonGroupProps {
4
+ baseUrl?: string;
5
+ onPrimaryButtonClick?: (event: React.MouseEvent) => void;
6
+ }
7
+ export declare const CancellationButtons: ({ baseUrl, onPrimaryButtonClick, keepFixed, paddingBlock, paddingInline, primaryButton, secondaryButton, stylePreset, ...buttonGroupProps }: CancellationButtonsProps) => JSX.Element;
@@ -0,0 +1,36 @@
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 { useSearchParams } from 'next/navigation';
25
+ import { ButtonGroup, } from '@newskit-render/shared-components';
26
+ import { replaceBaseURL } from '../../../helpers/dataUtils';
27
+ export var CancellationButtons = function (_a) {
28
+ var _b = _a.baseUrl, baseUrl = _b === void 0 ? '' : _b, onPrimaryButtonClick = _a.onPrimaryButtonClick, keepFixed = _a.keepFixed, _c = _a.paddingBlock, paddingBlock = _c === void 0 ? 'space000' : _c, _d = _a.paddingInline, paddingInline = _d === void 0 ? 'space000' : _d, primaryButton = _a.primaryButton, secondaryButton = _a.secondaryButton, _e = _a.stylePreset, stylePreset = _e === void 0 ? { xs: 'buttonGroupSm' } : _e, buttonGroupProps = __rest(_a, ["baseUrl", "onPrimaryButtonClick", "keepFixed", "paddingBlock", "paddingInline", "primaryButton", "secondaryButton", "stylePreset"]);
29
+ var searchParams = useSearchParams();
30
+ var returnUrl = searchParams.get('returnUrl') ||
31
+ replaceBaseURL(baseUrl, '[baseURL]/subscription-and-billing');
32
+ var primaryButtonProps = __assign({ text: 'Continue with cancellation', onClick: onPrimaryButtonClick }, primaryButton);
33
+ var secondaryButtonProps = __assign(__assign({ text: 'Stay subscribed', href: returnUrl }, secondaryButton), { overrides: __assign({ stylePreset: 'buttonOutlinedSecondary' }, secondaryButton === null || secondaryButton === void 0 ? void 0 : secondaryButton.overrides) });
34
+ return (React.createElement(ButtonGroup, __assign({ "data-testid": "cancellation-buttons", paddingBlock: paddingBlock, paddingInline: paddingInline, primaryButton: primaryButtonProps, secondaryButton: secondaryButtonProps, stylePreset: stylePreset, keepFixed: keepFixed }, buttonGroupProps)));
35
+ };
36
+ //# sourceMappingURL=CancellationButtons.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CancellationButtons.js","sourceRoot":"","sources":["../../../../../src/Components/Elements/CancellationButtons/CancellationButtons.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AACjD,OAAO,EACL,WAAW,GAEZ,MAAM,mCAAmC,CAAA;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAA;AAO3D,MAAM,CAAC,IAAM,mBAAmB,GAAG,UAAC,EAUT;IATzB,IAAA,eAAY,EAAZ,OAAO,mBAAG,EAAE,KAAA,EACZ,oBAAoB,0BAAA,EACpB,SAAS,eAAA,EACT,oBAAyB,EAAzB,YAAY,mBAAG,UAAU,KAAA,EACzB,qBAA0B,EAA1B,aAAa,mBAAG,UAAU,KAAA,EAC1B,aAAa,mBAAA,EACb,eAAe,qBAAA,EACf,mBAAqC,EAArC,WAAW,mBAAG,EAAE,EAAE,EAAE,eAAe,EAAE,KAAA,EAClC,gBAAgB,cATe,oIAUnC,CADoB;IAEnB,IAAM,YAAY,GAAG,eAAe,EAAE,CAAA;IAEtC,IAAM,SAAS,GACb,YAAY,CAAC,GAAG,CAAC,WAAW,CAAC;QAC7B,cAAc,CAAC,OAAO,EAAE,oCAAoC,CAAC,CAAA;IAE/D,IAAM,kBAAkB,cACtB,IAAI,EAAE,4BAA4B,EAClC,OAAO,EAAE,oBAAoB,IAC1B,aAAa,CACjB,CAAA;IAED,IAAM,oBAAoB,uBACxB,IAAI,EAAE,iBAAiB,EACvB,IAAI,EAAE,SAAS,IACZ,eAAe,KAClB,SAAS,aACP,WAAW,EAAE,yBAAyB,IACnC,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAE,SAAS,IAEhC,CAAA;IAED,OAAO,CACL,oBAAC,WAAW,4BACE,sBAAsB,EAClC,YAAY,EAAE,YAAY,EAC1B,aAAa,EAAE,aAAa,EAC5B,aAAa,EAAE,kBAAkB,EACjC,eAAe,EAAE,oBAAoB,EACrC,WAAW,EAAE,WAAW,EACxB,SAAS,EAAE,SAAS,IAChB,gBAAgB,EACpB,CACH,CAAA;AACH,CAAC,CAAA"}
@@ -0,0 +1 @@
1
+ export * from './CancellationButtons';
@@ -0,0 +1,2 @@
1
+ export * from './CancellationButtons';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/Components/Elements/CancellationButtons/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA"}
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ export interface CancellationPolicyProps {
3
+ title?: string;
4
+ message?: string;
5
+ daysUntilBilling?: number;
6
+ overrides?: {
7
+ container?: Record<string, unknown>;
8
+ title?: Record<string, unknown>;
9
+ message?: Record<string, unknown>;
10
+ };
11
+ }
12
+ export declare const CancellationPolicy: React.FC<CancellationPolicyProps>;
13
+ export default CancellationPolicy;
@@ -0,0 +1,29 @@
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 { TextBlock, InlineMessage, toNewsKitIcon } from 'newskit';
14
+ import { Info as FilledInfo } from '@emotion-icons/material/Info';
15
+ var IconFilledInfo = toNewsKitIcon(FilledInfo);
16
+ export var CancellationPolicy = function (_a) {
17
+ var _b = _a.title, title = _b === void 0 ? 'Cancellation Policy' : _b, message = _a.message, daysUntilBilling = _a.daysUntilBilling, overrides = _a.overrides;
18
+ var displayMessage = message ||
19
+ "You need to cancel 1 day before your billing date otherwise you will be charged for another month. Your next billing cycle is in ".concat(daysUntilBilling || 'X', " days.");
20
+ return (React.createElement(InlineMessage, { icon: React.createElement(IconFilledInfo, { overrides: { size: 'iconSize020' } }), overrides: __assign({ marginBlockStart: 'space040', content: {
21
+ message: {
22
+ typographyPreset: 'utilityBody010',
23
+ },
24
+ } }, overrides === null || overrides === void 0 ? void 0 : overrides.container) },
25
+ React.createElement(TextBlock, __assign({ typographyPreset: "utilityHeading010", stylePreset: "inkContrast", marginBlockEnd: "space010" }, overrides === null || overrides === void 0 ? void 0 : overrides.title), title),
26
+ React.createElement(TextBlock, __assign({ typographyPreset: "utilityBody010", stylePreset: "inkBase" }, overrides === null || overrides === void 0 ? void 0 : overrides.message), displayMessage)));
27
+ };
28
+ export default CancellationPolicy;
29
+ //# sourceMappingURL=CancellationPolicy.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CancellationPolicy.js","sourceRoot":"","sources":["../../../../../src/Components/Elements/CancellationPolicy/CancellationPolicy.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AACjE,OAAO,EAAE,IAAI,IAAI,UAAU,EAAE,MAAM,8BAA8B,CAAA;AAEjE,IAAM,cAAc,GAAG,aAAa,CAAC,UAAU,CAAC,CAAA;AAahD,MAAM,CAAC,IAAM,kBAAkB,GAAsC,UAAC,EAKrE;QAJC,aAA6B,EAA7B,KAAK,mBAAG,qBAAqB,KAAA,EAC7B,OAAO,aAAA,EACP,gBAAgB,sBAAA,EAChB,SAAS,eAAA;IAET,IAAM,cAAc,GAClB,OAAO;QACP,2IACE,gBAAgB,IAAI,GAAG,WACjB,CAAA;IAEV,OAAO,CACL,oBAAC,aAAa,IACZ,IAAI,EAAE,oBAAC,cAAc,IAAC,SAAS,EAAE,EAAE,IAAI,EAAE,aAAa,EAAE,GAAI,EAC5D,SAAS,aACP,gBAAgB,EAAE,UAAU,EAC5B,OAAO,EAAE;gBACP,OAAO,EAAE;oBACP,gBAAgB,EAAE,gBAAgB;iBACnC;aACF,IACE,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAE,SAAS;QAGzB,oBAAC,SAAS,aACR,gBAAgB,EAAC,mBAAmB,EACpC,WAAW,EAAC,aAAa,EACzB,cAAc,EAAC,UAAU,IACrB,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAE,KAAK,GAEnB,KAAK,CACI;QACZ,oBAAC,SAAS,aACR,gBAAgB,EAAC,gBAAgB,EACjC,WAAW,EAAC,SAAS,IACjB,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAE,OAAO,GAErB,cAAc,CACL,CACE,CACjB,CAAA;AACH,CAAC,CAAA;AAED,eAAe,kBAAkB,CAAA"}
@@ -0,0 +1 @@
1
+ export { CancellationPolicy, type CancellationPolicyProps, } from './CancellationPolicy';
@@ -0,0 +1,2 @@
1
+ export { CancellationPolicy, } from './CancellationPolicy';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/Components/Elements/CancellationPolicy/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,GAEnB,MAAM,sBAAsB,CAAA"}
@@ -0,0 +1,19 @@
1
+ import React from 'react';
2
+ export interface CancellationReason {
3
+ id: string;
4
+ label: string;
5
+ }
6
+ export interface CancellationReasonSelectorProps {
7
+ reasons: CancellationReason[];
8
+ selectedReasonId?: string;
9
+ onSelect: (reasonId: string) => void;
10
+ overrides?: {
11
+ container?: Record<string, unknown>;
12
+ radioButton?: {
13
+ size?: 'small' | 'medium' | 'large';
14
+ overrides?: Record<string, unknown>;
15
+ };
16
+ };
17
+ }
18
+ export declare const CancellationReasonSelector: React.FC<CancellationReasonSelectorProps>;
19
+ export default CancellationReasonSelector;
@@ -0,0 +1,35 @@
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
+ import React from 'react';
17
+ import { RadioButton, RadioGroup, styled, getColorCssFromTheme, getSpacingCssFromTheme, } from 'newskit';
18
+ var StyledRadioGroup = styled(RadioGroup)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n width: 100%;\n"], ["\n width: 100%;\n"])));
19
+ var RadioContainer = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n width: 100%;\n ", "\n border-style: solid;\n border-width: 1px;\n border-radius: 4px;\n ", "\n ", "\n"], ["\n width: 100%;\n ", "\n border-style: solid;\n border-width: 1px;\n border-radius: 4px;\n ", "\n ", "\n"])), getColorCssFromTheme('borderColor', 'interface030'), getSpacingCssFromTheme('padding', 'space040'), getSpacingCssFromTheme('marginBottom', 'space030'));
20
+ export var CancellationReasonSelector = function (_a) {
21
+ var reasons = _a.reasons, selectedReasonId = _a.selectedReasonId, onSelect = _a.onSelect, overrides = _a.overrides;
22
+ return (reasons === null || reasons === void 0 ? void 0 : reasons.length) ? (React.createElement(StyledRadioGroup, { name: "cancellation-reason-group", "data-testid": "cancellation-reason-group", value: selectedReasonId, onChange: function (event) { return onSelect(event.target.value); } }, reasons.map(function (reason) {
23
+ var _a, _b;
24
+ return (React.createElement(RadioContainer, { key: reason.id },
25
+ React.createElement(RadioButton, { overrides: __assign({ input: {
26
+ spaceInline: 'space030',
27
+ size: 'sizing045',
28
+ }, label: {
29
+ stylePreset: 'inkBase',
30
+ } }, (_a = overrides === null || overrides === void 0 ? void 0 : overrides.radioButton) === null || _a === void 0 ? void 0 : _a.overrides), name: reason.id, value: reason.id, size: ((_b = overrides === null || overrides === void 0 ? void 0 : overrides.radioButton) === null || _b === void 0 ? void 0 : _b.size) || 'medium', label: reason.label })));
31
+ }))) : null;
32
+ };
33
+ export default CancellationReasonSelector;
34
+ var templateObject_1, templateObject_2;
35
+ //# sourceMappingURL=CancellationReasonSelector.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CancellationReasonSelector.js","sourceRoot":"","sources":["../../../../../src/Components/Elements/CancellationReasonSelector/CancellationReasonSelector.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EACL,WAAW,EACX,UAAU,EACV,MAAM,EACN,oBAAoB,EACpB,sBAAsB,GACvB,MAAM,SAAS,CAAA;AAEhB,IAAM,gBAAg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AE,MAAM,CAAC,KAAK,GACnB,CACa,CAClB,CAAA;KAAA,CAAC,CACe,CACpB,CAAC,CAAC,CAAC,IAAI;AA5BR,CA4BQ,CAAA;AAEV,eAAe,0BAA0B,CAAA"}
@@ -0,0 +1 @@
1
+ export { CancellationReasonSelector, type CancellationReasonSelectorProps, type CancellationReason, } from './CancellationReasonSelector';
@@ -0,0 +1,2 @@
1
+ export { CancellationReasonSelector, } from './CancellationReasonSelector';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/Components/Elements/CancellationReasonSelector/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,0BAA0B,GAG3B,MAAM,8BAA8B,CAAA"}
@@ -71,7 +71,7 @@ var StyledHeaderBlockWrapper = styled(Block)(templateObject_1 || (templateObject
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
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: 8px;\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: 8px;\n flex-shrink: 0;\n }\n"])));
74
- var StyledDescription = styled(TextBlock)(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n flex: 1 1 auto;\n word-break: break-word;\n margin-bottom: 16px;\n min-height: 0;\n"], ["\n flex: 1 1 auto;\n word-break: break-word;\n margin-bottom: 16px;\n min-height: 0;\n"])));
74
+ var StyledDescription = styled(TextBlock)(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n flex: 1 1 auto;\n word-break: break-word;\n min-height: 0;\n"], ["\n flex: 1 1 auto;\n word-break: break-word;\n min-height: 0;\n"])));
75
75
  var StyledSwitchWrapper = styled(Block)(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n z-index: 0;\n"], ["\n z-index: 0;\n"])));
76
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"])));
77
77
  var NewslettersSubscriptionTypes;