@spare-technologies/spare-link 0.1.0-beta.0 → 1.0.0

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 (561) hide show
  1. package/README.md +119 -81
  2. package/lib/commonjs/core/models/payment-return-params.js +245 -20
  3. package/lib/commonjs/core/models/payment-return-params.js.map +1 -1
  4. package/lib/commonjs/core/models/pending-session-record.js +2 -0
  5. package/lib/commonjs/core/models/pending-session-record.js.map +1 -0
  6. package/lib/commonjs/core/services/hosted-flow-controller.js +333 -0
  7. package/lib/commonjs/core/services/hosted-flow-controller.js.map +1 -0
  8. package/lib/commonjs/core/services/hosted-flow-state.js +96 -0
  9. package/lib/commonjs/core/services/hosted-flow-state.js.map +1 -0
  10. package/lib/commonjs/index.js +42 -164
  11. package/lib/commonjs/index.js.map +1 -1
  12. package/lib/commonjs/internal/hosted/bridge-message.js +107 -0
  13. package/lib/commonjs/internal/hosted/bridge-message.js.map +1 -0
  14. package/lib/commonjs/internal/hosted/hosted-url.js +41 -0
  15. package/lib/commonjs/internal/hosted/hosted-url.js.map +1 -0
  16. package/lib/commonjs/internal/index.js +0 -7
  17. package/lib/commonjs/internal/index.js.map +1 -1
  18. package/lib/commonjs/internal/redact-uri.js +59 -15
  19. package/lib/commonjs/internal/redact-uri.js.map +1 -1
  20. package/lib/commonjs/internal/secure-store-pending-session-store.js +20 -25
  21. package/lib/commonjs/internal/secure-store-pending-session-store.js.map +1 -1
  22. package/lib/commonjs/internal/url-parts.js +145 -0
  23. package/lib/commonjs/internal/url-parts.js.map +1 -0
  24. package/lib/commonjs/public/index.js +0 -37
  25. package/lib/commonjs/public/index.js.map +1 -1
  26. package/lib/commonjs/public/payment-result.js +16 -4
  27. package/lib/commonjs/public/payment-result.js.map +1 -1
  28. package/lib/commonjs/public/recovery-result.js +7 -18
  29. package/lib/commonjs/public/recovery-result.js.map +1 -1
  30. package/lib/commonjs/public/spare-link-config.js +41 -16
  31. package/lib/commonjs/public/spare-link-config.js.map +1 -1
  32. package/lib/commonjs/public/spare-link-event.js +27 -33
  33. package/lib/commonjs/public/spare-link-event.js.map +1 -1
  34. package/lib/commonjs/public/spare-link-instance.js +67 -77
  35. package/lib/commonjs/public/spare-link-instance.js.map +1 -1
  36. package/lib/commonjs/public/spare-link-session.js +2 -9
  37. package/lib/commonjs/public/spare-link-session.js.map +1 -1
  38. package/lib/commonjs/public/spare-link.js +0 -12
  39. package/lib/commonjs/public/spare-link.js.map +1 -1
  40. package/lib/commonjs/ui/hooks/{use-payment-flow-state.js → use-hosted-flow-state.js} +4 -4
  41. package/lib/commonjs/ui/hooks/use-hosted-flow-state.js.map +1 -0
  42. package/lib/commonjs/ui/hosted/hosted-payment-page.js +177 -0
  43. package/lib/commonjs/ui/hosted/hosted-payment-page.js.map +1 -0
  44. package/lib/commonjs/ui/hosted/hosted-payment-webview.js +168 -0
  45. package/lib/commonjs/ui/hosted/hosted-payment-webview.js.map +1 -0
  46. package/lib/commonjs/ui/screens/index.js +3 -17
  47. package/lib/commonjs/ui/screens/index.js.map +1 -1
  48. package/lib/commonjs/ui/screens/page-unavailable-screen.js +101 -0
  49. package/lib/commonjs/ui/screens/page-unavailable-screen.js.map +1 -0
  50. package/lib/commonjs/ui/spare-link-host.js +220 -234
  51. package/lib/commonjs/ui/spare-link-host.js.map +1 -1
  52. package/lib/commonjs/ui/widgets/index.js +3 -10
  53. package/lib/commonjs/ui/widgets/index.js.map +1 -1
  54. package/lib/commonjs/version.js +7 -5
  55. package/lib/commonjs/version.js.map +1 -1
  56. package/lib/module/core/models/payment-return-params.js +235 -20
  57. package/lib/module/core/models/payment-return-params.js.map +1 -1
  58. package/lib/module/core/models/pending-session-record.js +2 -0
  59. package/lib/module/core/models/pending-session-record.js.map +1 -0
  60. package/lib/module/core/services/hosted-flow-controller.js +328 -0
  61. package/lib/module/core/services/hosted-flow-controller.js.map +1 -0
  62. package/lib/module/core/services/hosted-flow-state.js +91 -0
  63. package/lib/module/core/services/hosted-flow-state.js.map +1 -0
  64. package/lib/module/index.js +8 -22
  65. package/lib/module/index.js.map +1 -1
  66. package/lib/module/internal/hosted/bridge-message.js +104 -0
  67. package/lib/module/internal/hosted/bridge-message.js.map +1 -0
  68. package/lib/module/internal/hosted/hosted-url.js +36 -0
  69. package/lib/module/internal/hosted/hosted-url.js.map +1 -0
  70. package/lib/module/internal/index.js +0 -1
  71. package/lib/module/internal/index.js.map +1 -1
  72. package/lib/module/internal/redact-uri.js +59 -15
  73. package/lib/module/internal/redact-uri.js.map +1 -1
  74. package/lib/module/internal/secure-store-pending-session-store.js +20 -25
  75. package/lib/module/internal/secure-store-pending-session-store.js.map +1 -1
  76. package/lib/module/internal/url-parts.js +139 -0
  77. package/lib/module/internal/url-parts.js.map +1 -0
  78. package/lib/module/public/index.js +2 -3
  79. package/lib/module/public/index.js.map +1 -1
  80. package/lib/module/public/payment-result.js +16 -4
  81. package/lib/module/public/payment-result.js.map +1 -1
  82. package/lib/module/public/recovery-result.js +7 -17
  83. package/lib/module/public/recovery-result.js.map +1 -1
  84. package/lib/module/public/spare-link-config.js +42 -15
  85. package/lib/module/public/spare-link-config.js.map +1 -1
  86. package/lib/module/public/spare-link-event.js +27 -33
  87. package/lib/module/public/spare-link-event.js.map +1 -1
  88. package/lib/module/public/spare-link-instance.js +68 -72
  89. package/lib/module/public/spare-link-instance.js.map +1 -1
  90. package/lib/module/public/spare-link-session.js +2 -9
  91. package/lib/module/public/spare-link-session.js.map +1 -1
  92. package/lib/module/public/spare-link.js +1 -1
  93. package/lib/module/public/spare-link.js.map +1 -1
  94. package/lib/module/ui/hooks/{use-payment-flow-state.js → use-hosted-flow-state.js} +3 -3
  95. package/lib/module/ui/hooks/use-hosted-flow-state.js.map +1 -0
  96. package/lib/module/ui/hosted/hosted-payment-page.js +175 -0
  97. package/lib/module/ui/hosted/hosted-payment-page.js.map +1 -0
  98. package/lib/module/ui/hosted/hosted-payment-webview.js +163 -0
  99. package/lib/module/ui/hosted/hosted-payment-webview.js.map +1 -0
  100. package/lib/module/ui/screens/index.js +1 -3
  101. package/lib/module/ui/screens/index.js.map +1 -1
  102. package/lib/module/ui/screens/page-unavailable-screen.js +97 -0
  103. package/lib/module/ui/screens/page-unavailable-screen.js.map +1 -0
  104. package/lib/module/ui/spare-link-host.js +221 -236
  105. package/lib/module/ui/spare-link-host.js.map +1 -1
  106. package/lib/module/ui/widgets/index.js +1 -2
  107. package/lib/module/ui/widgets/index.js.map +1 -1
  108. package/lib/module/version.js +7 -5
  109. package/lib/module/version.js.map +1 -1
  110. package/lib/typescript/commonjs/core/models/index.d.ts +1 -123
  111. package/lib/typescript/commonjs/core/models/index.d.ts.map +1 -1
  112. package/lib/typescript/commonjs/core/models/payment-return-params.d.ts +91 -8
  113. package/lib/typescript/commonjs/core/models/payment-return-params.d.ts.map +1 -1
  114. package/lib/typescript/commonjs/core/models/pending-session-record.d.ts +11 -0
  115. package/lib/typescript/commonjs/core/models/pending-session-record.d.ts.map +1 -0
  116. package/lib/typescript/commonjs/core/services/hosted-flow-controller.d.ts +119 -0
  117. package/lib/typescript/commonjs/core/services/hosted-flow-controller.d.ts.map +1 -0
  118. package/lib/typescript/commonjs/core/services/hosted-flow-state.d.ts +75 -0
  119. package/lib/typescript/commonjs/core/services/hosted-flow-state.d.ts.map +1 -0
  120. package/lib/typescript/commonjs/index.d.ts +5 -14
  121. package/lib/typescript/commonjs/index.d.ts.map +1 -1
  122. package/lib/typescript/commonjs/internal/hosted/bridge-message.d.ts +44 -0
  123. package/lib/typescript/commonjs/internal/hosted/bridge-message.d.ts.map +1 -0
  124. package/lib/typescript/commonjs/internal/hosted/hosted-url.d.ts +30 -0
  125. package/lib/typescript/commonjs/internal/hosted/hosted-url.d.ts.map +1 -0
  126. package/lib/typescript/commonjs/internal/index.d.ts +0 -1
  127. package/lib/typescript/commonjs/internal/index.d.ts.map +1 -1
  128. package/lib/typescript/commonjs/internal/redact-uri.d.ts +21 -1
  129. package/lib/typescript/commonjs/internal/redact-uri.d.ts.map +1 -1
  130. package/lib/typescript/commonjs/internal/secure-store-pending-session-store.d.ts +3 -2
  131. package/lib/typescript/commonjs/internal/secure-store-pending-session-store.d.ts.map +1 -1
  132. package/lib/typescript/commonjs/internal/url-parts.d.ts +46 -0
  133. package/lib/typescript/commonjs/internal/url-parts.d.ts.map +1 -0
  134. package/lib/typescript/commonjs/public/index.d.ts +4 -6
  135. package/lib/typescript/commonjs/public/index.d.ts.map +1 -1
  136. package/lib/typescript/commonjs/public/payment-result.d.ts +50 -12
  137. package/lib/typescript/commonjs/public/payment-result.d.ts.map +1 -1
  138. package/lib/typescript/commonjs/public/recovery-result.d.ts +11 -20
  139. package/lib/typescript/commonjs/public/recovery-result.d.ts.map +1 -1
  140. package/lib/typescript/commonjs/public/spare-link-config.d.ts +13 -31
  141. package/lib/typescript/commonjs/public/spare-link-config.d.ts.map +1 -1
  142. package/lib/typescript/commonjs/public/spare-link-event.d.ts +29 -31
  143. package/lib/typescript/commonjs/public/spare-link-event.d.ts.map +1 -1
  144. package/lib/typescript/commonjs/public/spare-link-host-api.d.ts +1 -12
  145. package/lib/typescript/commonjs/public/spare-link-host-api.d.ts.map +1 -1
  146. package/lib/typescript/commonjs/public/spare-link-instance.d.ts +26 -20
  147. package/lib/typescript/commonjs/public/spare-link-instance.d.ts.map +1 -1
  148. package/lib/typescript/commonjs/public/spare-link-session.d.ts +3 -8
  149. package/lib/typescript/commonjs/public/spare-link-session.d.ts.map +1 -1
  150. package/lib/typescript/commonjs/public/spare-link.d.ts +1 -1
  151. package/lib/typescript/commonjs/public/spare-link.d.ts.map +1 -1
  152. package/lib/typescript/commonjs/ui/hooks/use-hosted-flow-state.d.ts +9 -0
  153. package/lib/typescript/commonjs/ui/hooks/use-hosted-flow-state.d.ts.map +1 -0
  154. package/lib/typescript/commonjs/ui/hosted/hosted-payment-page.d.ts +17 -0
  155. package/lib/typescript/commonjs/ui/hosted/hosted-payment-page.d.ts.map +1 -0
  156. package/lib/typescript/commonjs/ui/hosted/hosted-payment-webview.d.ts +43 -0
  157. package/lib/typescript/commonjs/ui/hosted/hosted-payment-webview.d.ts.map +1 -0
  158. package/lib/typescript/commonjs/ui/screens/index.d.ts +1 -3
  159. package/lib/typescript/commonjs/ui/screens/index.d.ts.map +1 -1
  160. package/lib/typescript/commonjs/ui/screens/page-unavailable-screen.d.ts +18 -0
  161. package/lib/typescript/commonjs/ui/screens/page-unavailable-screen.d.ts.map +1 -0
  162. package/lib/typescript/commonjs/ui/spare-link-host.d.ts +4 -5
  163. package/lib/typescript/commonjs/ui/spare-link-host.d.ts.map +1 -1
  164. package/lib/typescript/commonjs/ui/widgets/index.d.ts +1 -2
  165. package/lib/typescript/commonjs/ui/widgets/index.d.ts.map +1 -1
  166. package/lib/typescript/commonjs/version.d.ts +7 -5
  167. package/lib/typescript/commonjs/version.d.ts.map +1 -1
  168. package/lib/typescript/module/core/models/index.d.ts +1 -123
  169. package/lib/typescript/module/core/models/index.d.ts.map +1 -1
  170. package/lib/typescript/module/core/models/payment-return-params.d.ts +91 -8
  171. package/lib/typescript/module/core/models/payment-return-params.d.ts.map +1 -1
  172. package/lib/typescript/module/core/models/pending-session-record.d.ts +11 -0
  173. package/lib/typescript/module/core/models/pending-session-record.d.ts.map +1 -0
  174. package/lib/typescript/module/core/services/hosted-flow-controller.d.ts +119 -0
  175. package/lib/typescript/module/core/services/hosted-flow-controller.d.ts.map +1 -0
  176. package/lib/typescript/module/core/services/hosted-flow-state.d.ts +75 -0
  177. package/lib/typescript/module/core/services/hosted-flow-state.d.ts.map +1 -0
  178. package/lib/typescript/module/index.d.ts +5 -14
  179. package/lib/typescript/module/index.d.ts.map +1 -1
  180. package/lib/typescript/module/internal/hosted/bridge-message.d.ts +44 -0
  181. package/lib/typescript/module/internal/hosted/bridge-message.d.ts.map +1 -0
  182. package/lib/typescript/module/internal/hosted/hosted-url.d.ts +30 -0
  183. package/lib/typescript/module/internal/hosted/hosted-url.d.ts.map +1 -0
  184. package/lib/typescript/module/internal/index.d.ts +0 -1
  185. package/lib/typescript/module/internal/index.d.ts.map +1 -1
  186. package/lib/typescript/module/internal/redact-uri.d.ts +21 -1
  187. package/lib/typescript/module/internal/redact-uri.d.ts.map +1 -1
  188. package/lib/typescript/module/internal/secure-store-pending-session-store.d.ts +3 -2
  189. package/lib/typescript/module/internal/secure-store-pending-session-store.d.ts.map +1 -1
  190. package/lib/typescript/module/internal/url-parts.d.ts +46 -0
  191. package/lib/typescript/module/internal/url-parts.d.ts.map +1 -0
  192. package/lib/typescript/module/public/index.d.ts +4 -6
  193. package/lib/typescript/module/public/index.d.ts.map +1 -1
  194. package/lib/typescript/module/public/payment-result.d.ts +50 -12
  195. package/lib/typescript/module/public/payment-result.d.ts.map +1 -1
  196. package/lib/typescript/module/public/recovery-result.d.ts +11 -20
  197. package/lib/typescript/module/public/recovery-result.d.ts.map +1 -1
  198. package/lib/typescript/module/public/spare-link-config.d.ts +13 -31
  199. package/lib/typescript/module/public/spare-link-config.d.ts.map +1 -1
  200. package/lib/typescript/module/public/spare-link-event.d.ts +29 -31
  201. package/lib/typescript/module/public/spare-link-event.d.ts.map +1 -1
  202. package/lib/typescript/module/public/spare-link-host-api.d.ts +1 -12
  203. package/lib/typescript/module/public/spare-link-host-api.d.ts.map +1 -1
  204. package/lib/typescript/module/public/spare-link-instance.d.ts +26 -20
  205. package/lib/typescript/module/public/spare-link-instance.d.ts.map +1 -1
  206. package/lib/typescript/module/public/spare-link-session.d.ts +3 -8
  207. package/lib/typescript/module/public/spare-link-session.d.ts.map +1 -1
  208. package/lib/typescript/module/public/spare-link.d.ts +1 -1
  209. package/lib/typescript/module/public/spare-link.d.ts.map +1 -1
  210. package/lib/typescript/module/ui/hooks/use-hosted-flow-state.d.ts +9 -0
  211. package/lib/typescript/module/ui/hooks/use-hosted-flow-state.d.ts.map +1 -0
  212. package/lib/typescript/module/ui/hosted/hosted-payment-page.d.ts +17 -0
  213. package/lib/typescript/module/ui/hosted/hosted-payment-page.d.ts.map +1 -0
  214. package/lib/typescript/module/ui/hosted/hosted-payment-webview.d.ts +43 -0
  215. package/lib/typescript/module/ui/hosted/hosted-payment-webview.d.ts.map +1 -0
  216. package/lib/typescript/module/ui/screens/index.d.ts +1 -3
  217. package/lib/typescript/module/ui/screens/index.d.ts.map +1 -1
  218. package/lib/typescript/module/ui/screens/page-unavailable-screen.d.ts +18 -0
  219. package/lib/typescript/module/ui/screens/page-unavailable-screen.d.ts.map +1 -0
  220. package/lib/typescript/module/ui/spare-link-host.d.ts +4 -5
  221. package/lib/typescript/module/ui/spare-link-host.d.ts.map +1 -1
  222. package/lib/typescript/module/ui/widgets/index.d.ts +1 -2
  223. package/lib/typescript/module/ui/widgets/index.d.ts.map +1 -1
  224. package/lib/typescript/module/version.d.ts +7 -5
  225. package/lib/typescript/module/version.d.ts.map +1 -1
  226. package/package.json +24 -23
  227. package/plugins/with-spare-link.js +6 -26
  228. package/src/core/models/index.ts +1 -139
  229. package/src/core/models/payment-return-params.ts +269 -21
  230. package/src/core/models/pending-session-record.ts +10 -0
  231. package/src/core/services/hosted-flow-controller.ts +374 -0
  232. package/src/core/services/hosted-flow-state.ts +123 -0
  233. package/src/index.ts +20 -89
  234. package/src/internal/hosted/bridge-message.ts +106 -0
  235. package/src/internal/hosted/hosted-url.ts +33 -0
  236. package/src/internal/index.ts +0 -1
  237. package/src/internal/redact-uri.ts +69 -15
  238. package/src/internal/secure-store-pending-session-store.ts +28 -49
  239. package/src/internal/url-parts.ts +134 -0
  240. package/src/public/index.ts +2 -24
  241. package/src/public/payment-result.ts +50 -12
  242. package/src/public/recovery-result.ts +16 -25
  243. package/src/public/spare-link-config.ts +56 -43
  244. package/src/public/spare-link-event.ts +33 -42
  245. package/src/public/spare-link-host-api.ts +1 -14
  246. package/src/public/spare-link-instance.ts +57 -65
  247. package/src/public/spare-link-session.ts +4 -16
  248. package/src/public/spare-link.ts +1 -1
  249. package/src/ui/hooks/use-hosted-flow-state.ts +16 -0
  250. package/src/ui/hosted/hosted-payment-page.tsx +178 -0
  251. package/src/ui/hosted/hosted-payment-webview.tsx +164 -0
  252. package/src/ui/screens/index.ts +4 -6
  253. package/src/ui/screens/page-unavailable-screen.tsx +94 -0
  254. package/src/ui/spare-link-host.tsx +227 -247
  255. package/src/ui/widgets/index.ts +1 -2
  256. package/src/version.ts +7 -5
  257. package/CHANGELOG.md +0 -66
  258. package/lib/commonjs/core/client/link-api-client.js +0 -297
  259. package/lib/commonjs/core/client/link-api-client.js.map +0 -1
  260. package/lib/commonjs/core/errors/payment-api-error.js +0 -35
  261. package/lib/commonjs/core/errors/payment-api-error.js.map +0 -1
  262. package/lib/commonjs/core/models/link-session-status.js +0 -14
  263. package/lib/commonjs/core/models/link-session-status.js.map +0 -1
  264. package/lib/commonjs/core/models/payment-type.js +0 -45
  265. package/lib/commonjs/core/models/payment-type.js.map +0 -1
  266. package/lib/commonjs/core/models/wire-mappers.js +0 -277
  267. package/lib/commonjs/core/models/wire-mappers.js.map +0 -1
  268. package/lib/commonjs/core/services/consent-presenter.js +0 -150
  269. package/lib/commonjs/core/services/consent-presenter.js.map +0 -1
  270. package/lib/commonjs/core/services/execute-resume-if-needed.js +0 -216
  271. package/lib/commonjs/core/services/execute-resume-if-needed.js.map +0 -1
  272. package/lib/commonjs/core/services/multi-payment-rules-presenter.js +0 -151
  273. package/lib/commonjs/core/services/multi-payment-rules-presenter.js.map +0 -1
  274. package/lib/commonjs/core/services/payment-flow-controller.js +0 -547
  275. package/lib/commonjs/core/services/payment-flow-controller.js.map +0 -1
  276. package/lib/commonjs/core/services/payment-flow-state.js +0 -110
  277. package/lib/commonjs/core/services/payment-flow-state.js.map +0 -1
  278. package/lib/commonjs/core/services/payment-result-mapper.js +0 -49
  279. package/lib/commonjs/core/services/payment-result-mapper.js.map +0 -1
  280. package/lib/commonjs/core/services/presentation-utils.js +0 -11
  281. package/lib/commonjs/core/services/presentation-utils.js.map +0 -1
  282. package/lib/commonjs/core/services/redirect-buffer.js +0 -40
  283. package/lib/commonjs/core/services/redirect-buffer.js.map +0 -1
  284. package/lib/commonjs/core/services/user-friendly-messages.js +0 -46
  285. package/lib/commonjs/core/services/user-friendly-messages.js.map +0 -1
  286. package/lib/commonjs/internal/telemetry-collector.js +0 -80
  287. package/lib/commonjs/internal/telemetry-collector.js.map +0 -1
  288. package/lib/commonjs/public/constants.js +0 -21
  289. package/lib/commonjs/public/constants.js.map +0 -1
  290. package/lib/commonjs/public/spare-link-callbacks.js +0 -6
  291. package/lib/commonjs/public/spare-link-callbacks.js.map +0 -1
  292. package/lib/commonjs/ui/consent/charge-bearer-display.js +0 -99
  293. package/lib/commonjs/ui/consent/charge-bearer-display.js.map +0 -1
  294. package/lib/commonjs/ui/consent/consent-accordion.js +0 -94
  295. package/lib/commonjs/ui/consent/consent-accordion.js.map +0 -1
  296. package/lib/commonjs/ui/consent/consent-summary-section.js +0 -27
  297. package/lib/commonjs/ui/consent/consent-summary-section.js.map +0 -1
  298. package/lib/commonjs/ui/consent/cop-information.js +0 -168
  299. package/lib/commonjs/ui/consent/cop-information.js.map +0 -1
  300. package/lib/commonjs/ui/consent/international-payment-summary.js +0 -98
  301. package/lib/commonjs/ui/consent/international-payment-summary.js.map +0 -1
  302. package/lib/commonjs/ui/consent/label-value-rows.js +0 -59
  303. package/lib/commonjs/ui/consent/label-value-rows.js.map +0 -1
  304. package/lib/commonjs/ui/consent/multi-payment-rules-list.js +0 -130
  305. package/lib/commonjs/ui/consent/multi-payment-rules-list.js.map +0 -1
  306. package/lib/commonjs/ui/consent/multi-payment-summary.js +0 -99
  307. package/lib/commonjs/ui/consent/multi-payment-summary.js.map +0 -1
  308. package/lib/commonjs/ui/consent/single-payment-summary.js +0 -158
  309. package/lib/commonjs/ui/consent/single-payment-summary.js.map +0 -1
  310. package/lib/commonjs/ui/consent/terms-link.js +0 -35
  311. package/lib/commonjs/ui/consent/terms-link.js.map +0 -1
  312. package/lib/commonjs/ui/hooks/use-payment-flow-state.js.map +0 -1
  313. package/lib/commonjs/ui/payment-flow-page.js +0 -235
  314. package/lib/commonjs/ui/payment-flow-page.js.map +0 -1
  315. package/lib/commonjs/ui/screens/bank-selection-screen.js +0 -215
  316. package/lib/commonjs/ui/screens/bank-selection-screen.js.map +0 -1
  317. package/lib/commonjs/ui/screens/consent-details-screen.js +0 -124
  318. package/lib/commonjs/ui/screens/consent-details-screen.js.map +0 -1
  319. package/lib/commonjs/ui/screens/mandate-setup-success-screen.js +0 -79
  320. package/lib/commonjs/ui/screens/mandate-setup-success-screen.js.map +0 -1
  321. package/lib/commonjs/ui/widgets/layout-w-header.js +0 -106
  322. package/lib/commonjs/ui/widgets/layout-w-header.js.map +0 -1
  323. package/lib/commonjs/ui/widgets/stepper.js +0 -124
  324. package/lib/commonjs/ui/widgets/stepper.js.map +0 -1
  325. package/lib/module/core/client/link-api-client.js +0 -292
  326. package/lib/module/core/client/link-api-client.js.map +0 -1
  327. package/lib/module/core/errors/payment-api-error.js +0 -29
  328. package/lib/module/core/errors/payment-api-error.js.map +0 -1
  329. package/lib/module/core/models/link-session-status.js +0 -10
  330. package/lib/module/core/models/link-session-status.js.map +0 -1
  331. package/lib/module/core/models/payment-type.js +0 -36
  332. package/lib/module/core/models/payment-type.js.map +0 -1
  333. package/lib/module/core/models/wire-mappers.js +0 -263
  334. package/lib/module/core/models/wire-mappers.js.map +0 -1
  335. package/lib/module/core/services/consent-presenter.js +0 -140
  336. package/lib/module/core/services/consent-presenter.js.map +0 -1
  337. package/lib/module/core/services/execute-resume-if-needed.js +0 -211
  338. package/lib/module/core/services/execute-resume-if-needed.js.map +0 -1
  339. package/lib/module/core/services/multi-payment-rules-presenter.js +0 -146
  340. package/lib/module/core/services/multi-payment-rules-presenter.js.map +0 -1
  341. package/lib/module/core/services/payment-flow-controller.js +0 -544
  342. package/lib/module/core/services/payment-flow-controller.js.map +0 -1
  343. package/lib/module/core/services/payment-flow-state.js +0 -106
  344. package/lib/module/core/services/payment-flow-state.js.map +0 -1
  345. package/lib/module/core/services/payment-result-mapper.js +0 -45
  346. package/lib/module/core/services/payment-result-mapper.js.map +0 -1
  347. package/lib/module/core/services/presentation-utils.js +0 -7
  348. package/lib/module/core/services/presentation-utils.js.map +0 -1
  349. package/lib/module/core/services/redirect-buffer.js +0 -33
  350. package/lib/module/core/services/redirect-buffer.js.map +0 -1
  351. package/lib/module/core/services/user-friendly-messages.js +0 -42
  352. package/lib/module/core/services/user-friendly-messages.js.map +0 -1
  353. package/lib/module/internal/telemetry-collector.js +0 -75
  354. package/lib/module/internal/telemetry-collector.js.map +0 -1
  355. package/lib/module/public/constants.js +0 -17
  356. package/lib/module/public/constants.js.map +0 -1
  357. package/lib/module/public/spare-link-callbacks.js +0 -4
  358. package/lib/module/public/spare-link-callbacks.js.map +0 -1
  359. package/lib/module/ui/consent/charge-bearer-display.js +0 -95
  360. package/lib/module/ui/consent/charge-bearer-display.js.map +0 -1
  361. package/lib/module/ui/consent/consent-accordion.js +0 -90
  362. package/lib/module/ui/consent/consent-accordion.js.map +0 -1
  363. package/lib/module/ui/consent/consent-summary-section.js +0 -23
  364. package/lib/module/ui/consent/consent-summary-section.js.map +0 -1
  365. package/lib/module/ui/consent/cop-information.js +0 -165
  366. package/lib/module/ui/consent/cop-information.js.map +0 -1
  367. package/lib/module/ui/consent/international-payment-summary.js +0 -94
  368. package/lib/module/ui/consent/international-payment-summary.js.map +0 -1
  369. package/lib/module/ui/consent/label-value-rows.js +0 -55
  370. package/lib/module/ui/consent/label-value-rows.js.map +0 -1
  371. package/lib/module/ui/consent/multi-payment-rules-list.js +0 -125
  372. package/lib/module/ui/consent/multi-payment-rules-list.js.map +0 -1
  373. package/lib/module/ui/consent/multi-payment-summary.js +0 -95
  374. package/lib/module/ui/consent/multi-payment-summary.js.map +0 -1
  375. package/lib/module/ui/consent/single-payment-summary.js +0 -154
  376. package/lib/module/ui/consent/single-payment-summary.js.map +0 -1
  377. package/lib/module/ui/consent/terms-link.js +0 -31
  378. package/lib/module/ui/consent/terms-link.js.map +0 -1
  379. package/lib/module/ui/hooks/use-payment-flow-state.js.map +0 -1
  380. package/lib/module/ui/payment-flow-page.js +0 -232
  381. package/lib/module/ui/payment-flow-page.js.map +0 -1
  382. package/lib/module/ui/screens/bank-selection-screen.js +0 -211
  383. package/lib/module/ui/screens/bank-selection-screen.js.map +0 -1
  384. package/lib/module/ui/screens/consent-details-screen.js +0 -120
  385. package/lib/module/ui/screens/consent-details-screen.js.map +0 -1
  386. package/lib/module/ui/screens/mandate-setup-success-screen.js +0 -75
  387. package/lib/module/ui/screens/mandate-setup-success-screen.js.map +0 -1
  388. package/lib/module/ui/widgets/layout-w-header.js +0 -102
  389. package/lib/module/ui/widgets/layout-w-header.js.map +0 -1
  390. package/lib/module/ui/widgets/stepper.js +0 -120
  391. package/lib/module/ui/widgets/stepper.js.map +0 -1
  392. package/lib/typescript/commonjs/core/client/link-api-client.d.ts +0 -70
  393. package/lib/typescript/commonjs/core/client/link-api-client.d.ts.map +0 -1
  394. package/lib/typescript/commonjs/core/errors/payment-api-error.d.ts +0 -15
  395. package/lib/typescript/commonjs/core/errors/payment-api-error.d.ts.map +0 -1
  396. package/lib/typescript/commonjs/core/models/link-session-status.d.ts +0 -6
  397. package/lib/typescript/commonjs/core/models/link-session-status.d.ts.map +0 -1
  398. package/lib/typescript/commonjs/core/models/payment-type.d.ts +0 -18
  399. package/lib/typescript/commonjs/core/models/payment-type.d.ts.map +0 -1
  400. package/lib/typescript/commonjs/core/models/wire-mappers.d.ts +0 -19
  401. package/lib/typescript/commonjs/core/models/wire-mappers.d.ts.map +0 -1
  402. package/lib/typescript/commonjs/core/services/consent-presenter.d.ts +0 -67
  403. package/lib/typescript/commonjs/core/services/consent-presenter.d.ts.map +0 -1
  404. package/lib/typescript/commonjs/core/services/execute-resume-if-needed.d.ts +0 -32
  405. package/lib/typescript/commonjs/core/services/execute-resume-if-needed.d.ts.map +0 -1
  406. package/lib/typescript/commonjs/core/services/multi-payment-rules-presenter.d.ts +0 -9
  407. package/lib/typescript/commonjs/core/services/multi-payment-rules-presenter.d.ts.map +0 -1
  408. package/lib/typescript/commonjs/core/services/payment-flow-controller.d.ts +0 -146
  409. package/lib/typescript/commonjs/core/services/payment-flow-controller.d.ts.map +0 -1
  410. package/lib/typescript/commonjs/core/services/payment-flow-state.d.ts +0 -64
  411. package/lib/typescript/commonjs/core/services/payment-flow-state.d.ts.map +0 -1
  412. package/lib/typescript/commonjs/core/services/payment-result-mapper.d.ts +0 -5
  413. package/lib/typescript/commonjs/core/services/payment-result-mapper.d.ts.map +0 -1
  414. package/lib/typescript/commonjs/core/services/presentation-utils.d.ts +0 -5
  415. package/lib/typescript/commonjs/core/services/presentation-utils.d.ts.map +0 -1
  416. package/lib/typescript/commonjs/core/services/redirect-buffer.d.ts +0 -6
  417. package/lib/typescript/commonjs/core/services/redirect-buffer.d.ts.map +0 -1
  418. package/lib/typescript/commonjs/core/services/user-friendly-messages.d.ts +0 -6
  419. package/lib/typescript/commonjs/core/services/user-friendly-messages.d.ts.map +0 -1
  420. package/lib/typescript/commonjs/internal/telemetry-collector.d.ts +0 -2
  421. package/lib/typescript/commonjs/internal/telemetry-collector.d.ts.map +0 -1
  422. package/lib/typescript/commonjs/public/constants.d.ts +0 -12
  423. package/lib/typescript/commonjs/public/constants.d.ts.map +0 -1
  424. package/lib/typescript/commonjs/public/spare-link-callbacks.d.ts +0 -14
  425. package/lib/typescript/commonjs/public/spare-link-callbacks.d.ts.map +0 -1
  426. package/lib/typescript/commonjs/ui/consent/charge-bearer-display.d.ts +0 -5
  427. package/lib/typescript/commonjs/ui/consent/charge-bearer-display.d.ts.map +0 -1
  428. package/lib/typescript/commonjs/ui/consent/consent-accordion.d.ts +0 -10
  429. package/lib/typescript/commonjs/ui/consent/consent-accordion.d.ts.map +0 -1
  430. package/lib/typescript/commonjs/ui/consent/consent-summary-section.d.ts +0 -6
  431. package/lib/typescript/commonjs/ui/consent/consent-summary-section.d.ts.map +0 -1
  432. package/lib/typescript/commonjs/ui/consent/cop-information.d.ts +0 -6
  433. package/lib/typescript/commonjs/ui/consent/cop-information.d.ts.map +0 -1
  434. package/lib/typescript/commonjs/ui/consent/international-payment-summary.d.ts +0 -6
  435. package/lib/typescript/commonjs/ui/consent/international-payment-summary.d.ts.map +0 -1
  436. package/lib/typescript/commonjs/ui/consent/label-value-rows.d.ts +0 -10
  437. package/lib/typescript/commonjs/ui/consent/label-value-rows.d.ts.map +0 -1
  438. package/lib/typescript/commonjs/ui/consent/multi-payment-rules-list.d.ts +0 -15
  439. package/lib/typescript/commonjs/ui/consent/multi-payment-rules-list.d.ts.map +0 -1
  440. package/lib/typescript/commonjs/ui/consent/multi-payment-summary.d.ts +0 -6
  441. package/lib/typescript/commonjs/ui/consent/multi-payment-summary.d.ts.map +0 -1
  442. package/lib/typescript/commonjs/ui/consent/single-payment-summary.d.ts +0 -6
  443. package/lib/typescript/commonjs/ui/consent/single-payment-summary.d.ts.map +0 -1
  444. package/lib/typescript/commonjs/ui/consent/terms-link.d.ts +0 -2
  445. package/lib/typescript/commonjs/ui/consent/terms-link.d.ts.map +0 -1
  446. package/lib/typescript/commonjs/ui/hooks/use-payment-flow-state.d.ts +0 -9
  447. package/lib/typescript/commonjs/ui/hooks/use-payment-flow-state.d.ts.map +0 -1
  448. package/lib/typescript/commonjs/ui/payment-flow-page.d.ts +0 -20
  449. package/lib/typescript/commonjs/ui/payment-flow-page.d.ts.map +0 -1
  450. package/lib/typescript/commonjs/ui/screens/bank-selection-screen.d.ts +0 -15
  451. package/lib/typescript/commonjs/ui/screens/bank-selection-screen.d.ts.map +0 -1
  452. package/lib/typescript/commonjs/ui/screens/consent-details-screen.d.ts +0 -13
  453. package/lib/typescript/commonjs/ui/screens/consent-details-screen.d.ts.map +0 -1
  454. package/lib/typescript/commonjs/ui/screens/mandate-setup-success-screen.d.ts +0 -10
  455. package/lib/typescript/commonjs/ui/screens/mandate-setup-success-screen.d.ts.map +0 -1
  456. package/lib/typescript/commonjs/ui/widgets/layout-w-header.d.ts +0 -20
  457. package/lib/typescript/commonjs/ui/widgets/layout-w-header.d.ts.map +0 -1
  458. package/lib/typescript/commonjs/ui/widgets/stepper.d.ts +0 -15
  459. package/lib/typescript/commonjs/ui/widgets/stepper.d.ts.map +0 -1
  460. package/lib/typescript/module/core/client/link-api-client.d.ts +0 -70
  461. package/lib/typescript/module/core/client/link-api-client.d.ts.map +0 -1
  462. package/lib/typescript/module/core/errors/payment-api-error.d.ts +0 -15
  463. package/lib/typescript/module/core/errors/payment-api-error.d.ts.map +0 -1
  464. package/lib/typescript/module/core/models/link-session-status.d.ts +0 -6
  465. package/lib/typescript/module/core/models/link-session-status.d.ts.map +0 -1
  466. package/lib/typescript/module/core/models/payment-type.d.ts +0 -18
  467. package/lib/typescript/module/core/models/payment-type.d.ts.map +0 -1
  468. package/lib/typescript/module/core/models/wire-mappers.d.ts +0 -19
  469. package/lib/typescript/module/core/models/wire-mappers.d.ts.map +0 -1
  470. package/lib/typescript/module/core/services/consent-presenter.d.ts +0 -67
  471. package/lib/typescript/module/core/services/consent-presenter.d.ts.map +0 -1
  472. package/lib/typescript/module/core/services/execute-resume-if-needed.d.ts +0 -32
  473. package/lib/typescript/module/core/services/execute-resume-if-needed.d.ts.map +0 -1
  474. package/lib/typescript/module/core/services/multi-payment-rules-presenter.d.ts +0 -9
  475. package/lib/typescript/module/core/services/multi-payment-rules-presenter.d.ts.map +0 -1
  476. package/lib/typescript/module/core/services/payment-flow-controller.d.ts +0 -146
  477. package/lib/typescript/module/core/services/payment-flow-controller.d.ts.map +0 -1
  478. package/lib/typescript/module/core/services/payment-flow-state.d.ts +0 -64
  479. package/lib/typescript/module/core/services/payment-flow-state.d.ts.map +0 -1
  480. package/lib/typescript/module/core/services/payment-result-mapper.d.ts +0 -5
  481. package/lib/typescript/module/core/services/payment-result-mapper.d.ts.map +0 -1
  482. package/lib/typescript/module/core/services/presentation-utils.d.ts +0 -5
  483. package/lib/typescript/module/core/services/presentation-utils.d.ts.map +0 -1
  484. package/lib/typescript/module/core/services/redirect-buffer.d.ts +0 -6
  485. package/lib/typescript/module/core/services/redirect-buffer.d.ts.map +0 -1
  486. package/lib/typescript/module/core/services/user-friendly-messages.d.ts +0 -6
  487. package/lib/typescript/module/core/services/user-friendly-messages.d.ts.map +0 -1
  488. package/lib/typescript/module/internal/telemetry-collector.d.ts +0 -2
  489. package/lib/typescript/module/internal/telemetry-collector.d.ts.map +0 -1
  490. package/lib/typescript/module/public/constants.d.ts +0 -12
  491. package/lib/typescript/module/public/constants.d.ts.map +0 -1
  492. package/lib/typescript/module/public/spare-link-callbacks.d.ts +0 -14
  493. package/lib/typescript/module/public/spare-link-callbacks.d.ts.map +0 -1
  494. package/lib/typescript/module/ui/consent/charge-bearer-display.d.ts +0 -5
  495. package/lib/typescript/module/ui/consent/charge-bearer-display.d.ts.map +0 -1
  496. package/lib/typescript/module/ui/consent/consent-accordion.d.ts +0 -10
  497. package/lib/typescript/module/ui/consent/consent-accordion.d.ts.map +0 -1
  498. package/lib/typescript/module/ui/consent/consent-summary-section.d.ts +0 -6
  499. package/lib/typescript/module/ui/consent/consent-summary-section.d.ts.map +0 -1
  500. package/lib/typescript/module/ui/consent/cop-information.d.ts +0 -6
  501. package/lib/typescript/module/ui/consent/cop-information.d.ts.map +0 -1
  502. package/lib/typescript/module/ui/consent/international-payment-summary.d.ts +0 -6
  503. package/lib/typescript/module/ui/consent/international-payment-summary.d.ts.map +0 -1
  504. package/lib/typescript/module/ui/consent/label-value-rows.d.ts +0 -10
  505. package/lib/typescript/module/ui/consent/label-value-rows.d.ts.map +0 -1
  506. package/lib/typescript/module/ui/consent/multi-payment-rules-list.d.ts +0 -15
  507. package/lib/typescript/module/ui/consent/multi-payment-rules-list.d.ts.map +0 -1
  508. package/lib/typescript/module/ui/consent/multi-payment-summary.d.ts +0 -6
  509. package/lib/typescript/module/ui/consent/multi-payment-summary.d.ts.map +0 -1
  510. package/lib/typescript/module/ui/consent/single-payment-summary.d.ts +0 -6
  511. package/lib/typescript/module/ui/consent/single-payment-summary.d.ts.map +0 -1
  512. package/lib/typescript/module/ui/consent/terms-link.d.ts +0 -2
  513. package/lib/typescript/module/ui/consent/terms-link.d.ts.map +0 -1
  514. package/lib/typescript/module/ui/hooks/use-payment-flow-state.d.ts +0 -9
  515. package/lib/typescript/module/ui/hooks/use-payment-flow-state.d.ts.map +0 -1
  516. package/lib/typescript/module/ui/payment-flow-page.d.ts +0 -20
  517. package/lib/typescript/module/ui/payment-flow-page.d.ts.map +0 -1
  518. package/lib/typescript/module/ui/screens/bank-selection-screen.d.ts +0 -15
  519. package/lib/typescript/module/ui/screens/bank-selection-screen.d.ts.map +0 -1
  520. package/lib/typescript/module/ui/screens/consent-details-screen.d.ts +0 -13
  521. package/lib/typescript/module/ui/screens/consent-details-screen.d.ts.map +0 -1
  522. package/lib/typescript/module/ui/screens/mandate-setup-success-screen.d.ts +0 -10
  523. package/lib/typescript/module/ui/screens/mandate-setup-success-screen.d.ts.map +0 -1
  524. package/lib/typescript/module/ui/widgets/layout-w-header.d.ts +0 -20
  525. package/lib/typescript/module/ui/widgets/layout-w-header.d.ts.map +0 -1
  526. package/lib/typescript/module/ui/widgets/stepper.d.ts +0 -15
  527. package/lib/typescript/module/ui/widgets/stepper.d.ts.map +0 -1
  528. package/src/core/client/link-api-client.ts +0 -414
  529. package/src/core/errors/payment-api-error.ts +0 -35
  530. package/src/core/models/link-session-status.ts +0 -7
  531. package/src/core/models/payment-type.ts +0 -54
  532. package/src/core/models/wire-mappers.ts +0 -315
  533. package/src/core/services/consent-presenter.ts +0 -213
  534. package/src/core/services/execute-resume-if-needed.ts +0 -243
  535. package/src/core/services/multi-payment-rules-presenter.ts +0 -158
  536. package/src/core/services/payment-flow-controller.ts +0 -607
  537. package/src/core/services/payment-flow-state.ts +0 -124
  538. package/src/core/services/payment-result-mapper.ts +0 -41
  539. package/src/core/services/presentation-utils.ts +0 -4
  540. package/src/core/services/redirect-buffer.ts +0 -34
  541. package/src/core/services/user-friendly-messages.ts +0 -39
  542. package/src/internal/telemetry-collector.ts +0 -90
  543. package/src/public/constants.ts +0 -14
  544. package/src/public/spare-link-callbacks.ts +0 -20
  545. package/src/ui/consent/charge-bearer-display.tsx +0 -68
  546. package/src/ui/consent/consent-accordion.tsx +0 -89
  547. package/src/ui/consent/consent-summary-section.tsx +0 -19
  548. package/src/ui/consent/cop-information.tsx +0 -121
  549. package/src/ui/consent/international-payment-summary.tsx +0 -83
  550. package/src/ui/consent/label-value-rows.tsx +0 -50
  551. package/src/ui/consent/multi-payment-rules-list.tsx +0 -138
  552. package/src/ui/consent/multi-payment-summary.tsx +0 -82
  553. package/src/ui/consent/single-payment-summary.tsx +0 -123
  554. package/src/ui/consent/terms-link.tsx +0 -27
  555. package/src/ui/hooks/use-payment-flow-state.ts +0 -16
  556. package/src/ui/payment-flow-page.tsx +0 -254
  557. package/src/ui/screens/bank-selection-screen.tsx +0 -209
  558. package/src/ui/screens/consent-details-screen.tsx +0 -106
  559. package/src/ui/screens/mandate-setup-success-screen.tsx +0 -72
  560. package/src/ui/widgets/layout-w-header.tsx +0 -89
  561. package/src/ui/widgets/stepper.tsx +0 -126
@@ -1 +0,0 @@
1
- {"version":3,"names":["InternationalPaymentSummary","MultiPaymentSummary","SinglePaymentSummary","jsx","_jsx","ConsentSummarySection","props","data","variant"],"sourceRoot":"../../../../src","sources":["ui/consent/consent-summary-section.tsx"],"mappings":";;AACA,SAASA,2BAA2B,QAAQ,oCAAiC;AAC7E,SAASC,mBAAmB,QAAQ,4BAAyB;AAC7D,SAASC,oBAAoB,QAAQ,6BAA0B;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAMhE,OAAO,SAASC,qBAAqBA,CAACC,KAAiC,EAAe;EACpF,QAAQA,KAAK,CAACC,IAAI,CAACC,OAAO;IACxB,KAAK,eAAe;MAClB,oBAAOJ,IAAA,CAACF,oBAAoB;QAACK,IAAI,EAAED,KAAK,CAACC;MAAK,CAAE,CAAC;IACnD,KAAK,eAAe;MAClB,oBAAOH,IAAA,CAACJ,2BAA2B;QAACO,IAAI,EAAED,KAAK,CAACC;MAAK,CAAE,CAAC;IAC1D,KAAK,cAAc;MACjB,oBAAOH,IAAA,CAACH,mBAAmB;QAACM,IAAI,EAAED,KAAK,CAACC;MAAK,CAAE,CAAC;EACpD;AACF","ignoreList":[]}
@@ -1,165 +0,0 @@
1
- "use strict";
2
-
3
- import { Ionicons } from '@expo/vector-icons';
4
- import { useEffect, useRef } from 'react';
5
- import { Animated, StyleSheet, Text, View } from 'react-native';
6
- import { Colors, FONT_FAMILY } from "../theme/index.js";
7
-
8
- /** Matches {@link LabelValueRows} default horizontal inset inside accordions. */
9
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
10
- const ACCORDION_BODY_INSET = 20;
11
- const COP_COLORS = {
12
- match: '#81C784',
13
- partialMatch: '#E57373',
14
- noMatch: '#FFB74D',
15
- unknown: Colors.textMuted
16
- };
17
- const COP_ICONS = {
18
- match: 'checkmark-circle-outline',
19
- partialMatch: 'warning-outline',
20
- noMatch: 'close-circle-outline',
21
- unknown: 'information-circle-outline'
22
- };
23
- export function CopLoadingPlaceholder() {
24
- const opacity = useRef(new Animated.Value(0.35)).current;
25
- useEffect(() => {
26
- const animation = Animated.loop(Animated.sequence([Animated.timing(opacity, {
27
- toValue: 1,
28
- duration: 450,
29
- useNativeDriver: true
30
- }), Animated.timing(opacity, {
31
- toValue: 0.35,
32
- duration: 450,
33
- useNativeDriver: true
34
- })]));
35
- animation.start();
36
- return () => animation.stop();
37
- }, [opacity]);
38
- return /*#__PURE__*/_jsxs(View, {
39
- style: styles.loadingRow,
40
- testID: "consent-cop-loading",
41
- children: [/*#__PURE__*/_jsx(Animated.View, {
42
- style: [styles.loadingBar, styles.loadingBarWide, {
43
- opacity
44
- }]
45
- }), /*#__PURE__*/_jsx(Animated.View, {
46
- style: [styles.loadingBar, styles.loadingBarNarrow, {
47
- opacity
48
- }]
49
- })]
50
- });
51
- }
52
- export function CopInformation(props) {
53
- const {
54
- display
55
- } = props;
56
- const color = COP_COLORS[display.indicator];
57
- const icon = COP_ICONS[display.indicator];
58
- if (display.indicator === 'match') {
59
- return /*#__PURE__*/_jsxs(View, {
60
- style: styles.matchRow,
61
- testID: "consent-cop-information",
62
- children: [/*#__PURE__*/_jsx(Text, {
63
- style: [styles.statusLabel, {
64
- color
65
- }],
66
- children: display.statusLabel
67
- }), /*#__PURE__*/_jsx(Ionicons, {
68
- name: icon,
69
- size: 18,
70
- color: color
71
- })]
72
- });
73
- }
74
- return /*#__PURE__*/_jsxs(View, {
75
- style: styles.column,
76
- testID: "consent-cop-information",
77
- children: [/*#__PURE__*/_jsxs(View, {
78
- style: styles.statusRow,
79
- children: [/*#__PURE__*/_jsxs(View, {
80
- style: styles.statusLeft,
81
- children: [/*#__PURE__*/_jsx(Ionicons, {
82
- name: icon,
83
- size: 18,
84
- color: color
85
- }), /*#__PURE__*/_jsx(Text, {
86
- style: [styles.statusLabel, {
87
- color
88
- }],
89
- children: display.statusLabel
90
- })]
91
- }), display.maskedName ? /*#__PURE__*/_jsx(Text, {
92
- style: styles.maskedName,
93
- children: display.maskedName
94
- }) : null]
95
- }), display.paragraphs.map(paragraph => /*#__PURE__*/_jsx(Text, {
96
- style: [styles.paragraph, {
97
- color
98
- }],
99
- children: paragraph
100
- }, paragraph))]
101
- });
102
- }
103
- const styles = StyleSheet.create({
104
- loadingRow: {
105
- flexDirection: 'row',
106
- justifyContent: 'space-between',
107
- alignItems: 'center',
108
- paddingTop: 4,
109
- paddingHorizontal: ACCORDION_BODY_INSET
110
- },
111
- loadingBar: {
112
- height: 12,
113
- backgroundColor: '#E5E7EB',
114
- borderRadius: 4
115
- },
116
- loadingBarWide: {
117
- width: 96
118
- },
119
- loadingBarNarrow: {
120
- width: 48
121
- },
122
- matchRow: {
123
- flexDirection: 'row',
124
- justifyContent: 'space-between',
125
- alignItems: 'center',
126
- paddingTop: 4,
127
- paddingHorizontal: ACCORDION_BODY_INSET
128
- },
129
- column: {
130
- gap: 8,
131
- paddingTop: 4,
132
- paddingHorizontal: ACCORDION_BODY_INSET
133
- },
134
- statusRow: {
135
- flexDirection: 'row',
136
- alignItems: 'flex-start',
137
- justifyContent: 'space-between',
138
- gap: 8
139
- },
140
- statusLeft: {
141
- flexDirection: 'row',
142
- alignItems: 'center',
143
- gap: 4,
144
- flex: 1
145
- },
146
- statusLabel: {
147
- fontFamily: FONT_FAMILY,
148
- fontSize: 14,
149
- fontWeight: '500'
150
- },
151
- maskedName: {
152
- fontFamily: FONT_FAMILY,
153
- fontSize: 14,
154
- color: Colors.textMuted,
155
- textAlign: 'right',
156
- flex: 1
157
- },
158
- paragraph: {
159
- fontFamily: FONT_FAMILY,
160
- fontSize: 14,
161
- lineHeight: 22,
162
- fontWeight: '400'
163
- }
164
- });
165
- //# sourceMappingURL=cop-information.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["Ionicons","useEffect","useRef","Animated","StyleSheet","Text","View","Colors","FONT_FAMILY","jsx","_jsx","jsxs","_jsxs","ACCORDION_BODY_INSET","COP_COLORS","match","partialMatch","noMatch","unknown","textMuted","COP_ICONS","CopLoadingPlaceholder","opacity","Value","current","animation","loop","sequence","timing","toValue","duration","useNativeDriver","start","stop","style","styles","loadingRow","testID","children","loadingBar","loadingBarWide","loadingBarNarrow","CopInformation","props","display","color","indicator","icon","matchRow","statusLabel","name","size","column","statusRow","statusLeft","maskedName","paragraphs","map","paragraph","create","flexDirection","justifyContent","alignItems","paddingTop","paddingHorizontal","height","backgroundColor","borderRadius","width","gap","flex","fontFamily","fontSize","fontWeight","textAlign","lineHeight"],"sourceRoot":"../../../../src","sources":["ui/consent/cop-information.tsx"],"mappings":";;AAAA,SAASA,QAAQ,QAAQ,oBAAoB;AAC7C,SAASC,SAAS,EAAEC,MAAM,QAAQ,OAAO;AACzC,SAASC,QAAQ,EAAEC,UAAU,EAAEC,IAAI,EAAEC,IAAI,QAAQ,cAAc;AAE/D,SAASC,MAAM,EAAEC,WAAW,QAAQ,mBAAU;;AAE9C;AAAA,SAAAC,GAAA,I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C,iBAAiB,EAAEnD;EACrB,CAAC;EACDuC,MAAM,EAAE;IACNiB,GAAG,EAAE,CAAC;IACNN,UAAU,EAAE,CAAC;IACbC,iBAAiB,EAAEnD;EACrB,CAAC;EACDwC,SAAS,EAAE;IACTO,aAAa,EAAE,KAAK;IACpBE,UAAU,EAAE,YAAY;IACxBD,cAAc,EAAE,eAAe;IAC/BQ,GAAG,EAAE;EACP,CAAC;EACDf,UAAU,EAAE;IAAEM,aAAa,EAAE,KAAK;IAAEE,UAAU,EAAE,QAAQ;IAAEO,GAAG,EAAE,CAAC;IAAEC,IAAI,EAAE;EAAE,CAAC;EAC3ErB,WAAW,EAAE;IAAEsB,UAAU,EAAE/D,WAAW;IAAEgE,QAAQ,EAAE,EAAE;IAAEC,UAAU,EAAE;EAAM,CAAC;EACzElB,UAAU,EAAE;IACVgB,UAAU,EAAE/D,WAAW;IACvBgE,QAAQ,EAAE,EAAE;IACZ3B,KAAK,EAAEtC,MAAM,CAACY,SAAS;IACvBuD,SAAS,EAAE,OAAO;IAClBJ,IAAI,EAAE;EACR,CAAC;EACDZ,SAAS,EAAE;IAAEa,UAAU,EAAE/D,WAAW;IAAEgE,QAAQ,EAAE,EAAE;IAAEG,UAAU,EAAE,EAAE;IAAEF,UAAU,EAAE;EAAM;AACxF,CAAC,CAAC","ignoreList":[]}
@@ -1,94 +0,0 @@
1
- "use strict";
2
-
3
- import { StyleSheet, Text, View } from 'react-native';
4
- import { presentField } from "../../core/services/consent-presenter.js";
5
- import { Colors, FONT_FAMILY } from "../theme/index.js";
6
- import { ChargeBearerDisplay } from "./charge-bearer-display.js";
7
- import { ConsentAccordion } from "./consent-accordion.js";
8
- import { LabelValueRows } from "./label-value-rows.js";
9
- import { TermsLink } from "./terms-link.js";
10
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
11
- export function InternationalPaymentSummary(props) {
12
- const {
13
- data
14
- } = props;
15
- return /*#__PURE__*/_jsxs(View, {
16
- testID: "international-payment-summary",
17
- children: [/*#__PURE__*/_jsxs(View, {
18
- style: styles.card,
19
- children: [/*#__PURE__*/_jsx(Text, {
20
- style: styles.title,
21
- children: "Payment Details"
22
- }), /*#__PURE__*/_jsx(LabelValueRows, {
23
- paddingHorizontal: 0,
24
- rows: [{
25
- label: 'Payment References',
26
- value: presentField(data.paymentReference)
27
- }, {
28
- label: 'Amount',
29
- value: data.formattedAmount
30
- }, {
31
- label: 'Priority',
32
- value: presentField(data.priority)
33
- }, {
34
- label: 'Payment Purpose',
35
- value: presentField(data.paymentPurpose)
36
- }]
37
- })]
38
- }), /*#__PURE__*/_jsx(ChargeBearerDisplay, {
39
- chargeBearer: data.chargeBearer
40
- }), /*#__PURE__*/_jsx(ConsentAccordion, {
41
- items: [{
42
- header: 'Payee Information',
43
- children: /*#__PURE__*/_jsx(LabelValueRows, {
44
- rows: [{
45
- label: 'IBAN',
46
- value: data.iban
47
- }, {
48
- label: 'Payee Name',
49
- value: presentField(data.creditorName)
50
- }]
51
- })
52
- }, {
53
- header: 'Payer Information',
54
- children: /*#__PURE__*/_jsx(LabelValueRows, {
55
- rows: [{
56
- label: 'Bank',
57
- value: presentField(data.bankName)
58
- }]
59
- })
60
- }, {
61
- header: 'Terms',
62
- initiallyExpanded: false,
63
- children: /*#__PURE__*/_jsx(TermsLink, {})
64
- }]
65
- })]
66
- });
67
- }
68
- const styles = StyleSheet.create({
69
- card: {
70
- backgroundColor: Colors.surfaceCard,
71
- borderRadius: 16,
72
- paddingVertical: 14,
73
- paddingHorizontal: 20,
74
- marginBottom: 14,
75
- gap: 12,
76
- borderWidth: StyleSheet.hairlineWidth,
77
- borderColor: Colors.divider,
78
- shadowColor: '#000000',
79
- shadowOpacity: 0.06,
80
- shadowRadius: 6,
81
- shadowOffset: {
82
- width: 0,
83
- height: 2
84
- },
85
- elevation: 2
86
- },
87
- title: {
88
- fontFamily: FONT_FAMILY,
89
- fontSize: 14,
90
- fontWeight: '700',
91
- color: Colors.textPrimary
92
- }
93
- });
94
- //# sourceMappingURL=international-payment-summary.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["StyleSheet","Text","View","presentField","Colors","FONT_FAMILY","ChargeBearerDisplay","ConsentAccordion","LabelValueRows","TermsLink","jsx","_jsx","jsxs","_jsxs","InternationalPaymentSummary","props","data","testID","children","style","styles","card","title","paddingHorizontal","rows","label","value","paymentReference","formattedAmount","priority","paymentPurpose","chargeBearer","items","header","iban","creditorName","bankName","initiallyExpanded","create","backgroundColor","surfaceCard","borderRadius","paddingVertical","marginBottom","gap","borderWidth","hairlineWidth","borderColor","divider","shadowColor","shadowOpacity","shadowRadius","shadowOffset","width","height","elevation","fontFamily","fontSize","fontWeight","color","textPrimary"],"sourceRoot":"../../../../src","sources":["ui/consent/international-payment-summary.tsx"],"mappings":";;AAAA,SAASA,UAAU,EAAEC,IAAI,EAAEC,IAAI,QAAQ,cAAc;AAErD,SAASC,YAAY,QAAQ,0CAAuC;AACpE,SAASC,MAAM,EAAEC,WAAW,QAAQ,mBAAU;AAC9C,SAASC,mBAAmB,QAAQ,4BAAyB;AAC7D,SAASC,gBAAgB,QAAQ,wBAAqB;AACtD,SAASC,cAAc,QAAQ,uBAAoB;AACnD,SAASC,SAAS,QAAQ,iBAAc;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAMzC,OAAO,SAASC,2BAA2BA,CAACC,KAAuC,EAAe;EAChG,MAAM;IAAEC;EAAK,CAAC,GAAGD,KAAK;EACtB,oBACEF,KAAA,CAACX,IAAI;IAACe,MAAM,EAAC,+BAA+B;IAAAC,QAAA,gBAC1CL,KAAA,CAACX,IAAI;MAACiB,KAAK,EAAEC,MAAM,CAACC,IAAK;MAAAH,QAAA,gBACvBP,IAAA,CAACV,IAAI;QAACkB,KAAK,EAAEC,MAAM,CAACE,KAAM;QAAAJ,QAAA,EAAC;MAAe,CAAM,CAAC,eACjDP,IAAA,CAACH,cAAc;QACbe,iBAAiB,EAAE,CAAE;QACrBC,IAAI,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ACsC,MAAM,CAAC;EAC/BjB,IAAI,EAAE;IACJkB,eAAe,EAAEnC,MAAM,CAACoC,WAAW;IACnCC,YAAY,EAAE,EAAE;IAChBC,eAAe,EAAE,EAAE;IACnBnB,iBAAiB,EAAE,EAAE;IACrBoB,YAAY,EAAE,EAAE;IAChBC,GAAG,EAAE,EAAE;IACPC,WAAW,EAAE7C,UAAU,CAAC8C,aAAa;IACrCC,WAAW,EAAE3C,MAAM,CAAC4C,OAAO;IAC3BC,WAAW,EAAE,SAAS;IACtBC,aAAa,EAAE,IAAI;IACnBC,YAAY,EAAE,CAAC;IACfC,YAAY,EAAE;MAAEC,KAAK,EAAE,CAAC;MAAEC,MAAM,EAAE;IAAE,CAAC;IACrCC,SAAS,EAAE;EACb,CAAC;EACDjC,KAAK,EAAE;IACLkC,UAAU,EAAEnD,WAAW;IACvBoD,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE,KAAK;IACjBC,KAAK,EAAEvD,MAAM,CAACwD;EAChB;AACF,CAAC,CAAC","ignoreList":[]}
@@ -1,55 +0,0 @@
1
- "use strict";
2
-
3
- import { StyleSheet, Text, View } from 'react-native';
4
- import { Colors, FONT_FAMILY } from "../theme/index.js";
5
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
6
- export function LabelValueRows(props) {
7
- const paddingHorizontal = props.paddingHorizontal ?? 20;
8
- return /*#__PURE__*/_jsx(View, {
9
- style: [styles.wrap, {
10
- paddingHorizontal
11
- }],
12
- testID: "label-value-rows",
13
- children: props.rows.map((row, idx) => /*#__PURE__*/_jsxs(View, {
14
- style: styles.row,
15
- testID: `label-value-row-${idx}`,
16
- children: [/*#__PURE__*/_jsx(Text, {
17
- style: styles.label,
18
- children: row.label
19
- }), /*#__PURE__*/_jsx(Text, {
20
- style: styles.value,
21
- children: row.value
22
- })]
23
- }, `${row.label}-${idx}`))
24
- });
25
- }
26
- const styles = StyleSheet.create({
27
- wrap: {},
28
- row: {
29
- flexDirection: 'row',
30
- justifyContent: 'space-between',
31
- alignItems: 'flex-start',
32
- gap: 12,
33
- paddingVertical: 4
34
- },
35
- label: {
36
- fontFamily: FONT_FAMILY,
37
- fontSize: 14,
38
- color: Colors.textMuted,
39
- flex: 1
40
- },
41
- value: {
42
- fontFamily: FONT_FAMILY,
43
- fontSize: 14,
44
- color: Colors.textMuted,
45
- textAlign: 'right',
46
- flex: 1,
47
- flexShrink: 1
48
- }
49
- });
50
- function present(value, fallback = '—') {
51
- const v = value?.trim();
52
- return v ? v : fallback;
53
- }
54
- export { present };
55
- //# sourceMappingURL=label-value-rows.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["StyleSheet","Text","View","Colors","FONT_FAMILY","jsx","_jsx","jsxs","_jsxs","LabelValueRows","props","paddingHorizontal","style","styles","wrap","testID","children","rows","map","row","idx","label","value","create","flexDirection","justifyContent","alignItems","gap","paddingVertical","fontFamily","fontSize","color","textMuted","flex","textAlign","flexShrink","present","fallback","v","trim"],"sourceRoot":"../../../../src","sources":["ui/consent/label-value-rows.tsx"],"mappings":";;AAAA,SAASA,UAAU,EAAEC,IAAI,EAAEC,IAAI,QAAQ,cAAc;AAErD,SAASC,MAAM,EAAEC,WAAW,QAAQ,mBAAU;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAQ/C,OAAO,SAASC,cAAcA,CAACC,KAA0B,EAAe;EACtE,MAAMC,iBAAiB,GAAGD,KAAK,CAACC,iBAAiB,IAAI,EAAE;EACvD,oBACEL,IAAA,CAACJ,IAAI;IAACU,KAAK,EAAE,CAACC,MAAM,CAACC,IAAI,EAAE;MAAEH;IAAkB,CAAC,CAAE;IAACI,MAAM,EAAC,kBAAkB;IAAAC,QAAA,EACzEN,KAAK,CAACO,IAAI,CAACC,GAAG,CAAC,CAACC,GAAG,EAAEC,GAAG,kBACvBZ,KAAA,CAACN,IAAI;MAA6BU,KAAK,EAAEC,MAAM,CAACM,GAAI;MAACJ,MAAM,EAAE,mBAAmBK,GAAG,EAAG;MAAAJ,QAAA,gBACpFV,IAAA,CAACL,IAAI;QAACW,KAAK,EAAEC,MAAM,CAACQ,KAAM;QAAAL,QAAA,EAAEG,GAAG,CAACE;MAAK,CAAO,CAAC,eAC7Cf,IAAA,CAACL,IAAI;QAACW,KAAK,EAAEC,MAAM,CAACS,KAAM;QAAAN,QAAA,EAAEG,GAAG,CAACG;MAAK,CAAO,CAAC;IAAA,GAFpC,GAAGH,GAAG,CAACE,KAAK,IAAID,GAAG,EAGxB,CACP;EAAC,CACE,CAAC;AAEX;AAEA,MAAMP,MAAM,GAAGb,UAAU,CAACuB,MAAM,CAAC;EAC/BT,IAAI,EAAE,CAAC,CAAC;EACRK,GAAG,EAAE;IACHK,aAAa,EAAE,KAAK;IACpBC,cAAc,EAAE,eAAe;IAC/BC,UAAU,EAAE,YAAY;IACxBC,GAAG,EAAE,EAAE;IACPC,eAAe,EAAE;EACnB,CAAC;EACDP,KAAK,EAAE;IAAEQ,UAAU,EAAEzB,WAAW;IAAE0B,QAAQ,EAAE,EAAE;IAAEC,KAAK,EAAE5B,MAAM,CAAC6B,SAAS;IAAEC,IAAI,EAAE;EAAE,CAAC;EAClFX,KAAK,EAAE;IACLO,UAAU,EAAEzB,WAAW;IACvB0B,QAAQ,EAAE,EAAE;IACZC,KAAK,EAAE5B,MAAM,CAAC6B,SAAS;IACvBE,SAAS,EAAE,OAAO;IAClBD,IAAI,EAAE,CAAC;IACPE,UAAU,EAAE;EACd;AACF,CAAC,CAAC;AAEF,SAASC,OAAOA,CAACd,KAAyB,EAAEe,QAAQ,GAAG,GAAG,EAAU;EAClE,MAAMC,CAAC,GAAGhB,KAAK,EAAEiB,IAAI,CAAC,CAAC;EACvB,OAAOD,CAAC,GAAGA,CAAC,GAAGD,QAAQ;AACzB;AAEA,SAASD,OAAO","ignoreList":[]}
@@ -1,125 +0,0 @@
1
- "use strict";
2
-
3
- import { ScrollView, StyleSheet, Text, View } from 'react-native';
4
- import { PaymentType } from "../../core/models/payment-type.js";
5
- import { Colors, FONT_FAMILY } from "../theme/index.js";
6
- import { LabelValueRows } from "./label-value-rows.js";
7
-
8
- /** Number of defined-schedule entry cards visible before scrolling. */
9
- import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
10
- export const DEFINED_SCHEDULE_VISIBLE_ENTRY_COUNT = 3;
11
-
12
- /** Approximate height of one defined-schedule entry card (incl. spacing). */
13
- export const DEFINED_SCHEDULE_ENTRY_EXTENT = 96;
14
- export function MultiPaymentRulesList(props) {
15
- const {
16
- rules,
17
- paymentType
18
- } = props;
19
- if (rules.length === 0) {
20
- return /*#__PURE__*/_jsxs(View, {
21
- testID: "multi-payment-rules-list",
22
- children: [props.rulesTitle ? /*#__PURE__*/_jsx(Text, {
23
- style: styles.title,
24
- children: props.rulesTitle
25
- }) : null, /*#__PURE__*/_jsx(Text, {
26
- style: styles.empty,
27
- children: "\u2014"
28
- })]
29
- });
30
- }
31
- const isDefinedSchedule = paymentType === PaymentType.fixedDefinedSchedule || paymentType === PaymentType.variableDefinedSchedule;
32
- return /*#__PURE__*/_jsxs(View, {
33
- testID: "multi-payment-rules-list",
34
- children: [props.rulesTitle ? /*#__PURE__*/_jsx(Text, {
35
- style: styles.title,
36
- children: props.rulesTitle
37
- }) : null, isDefinedSchedule ? /*#__PURE__*/_jsx(DefinedScheduleEntries, {
38
- rules: rules
39
- }) : /*#__PURE__*/_jsx(LabelValueRows, {
40
- rows: rules
41
- })]
42
- });
43
- }
44
- function DefinedScheduleEntries(props) {
45
- const entries = groupDefinedScheduleEntries(props.rules);
46
- if (entries.length <= DEFINED_SCHEDULE_VISIBLE_ENTRY_COUNT) {
47
- return /*#__PURE__*/_jsx(_Fragment, {
48
- children: entries.map((entry, index) => /*#__PURE__*/_jsx(DefinedScheduleEntryCard, {
49
- testID: `payment-schedule-entry-${index}`,
50
- rows: entry
51
- }, definedScheduleEntryKey(entry)))
52
- });
53
- }
54
- return /*#__PURE__*/_jsx(ScrollView, {
55
- testID: "defined-schedule-scroll",
56
- style: {
57
- maxHeight: DEFINED_SCHEDULE_ENTRY_EXTENT * DEFINED_SCHEDULE_VISIBLE_ENTRY_COUNT
58
- },
59
- nestedScrollEnabled: true,
60
- showsVerticalScrollIndicator: true,
61
- children: entries.map((entry, index) => /*#__PURE__*/_jsx(DefinedScheduleEntryCard, {
62
- testID: `payment-schedule-entry-${index}`,
63
- rows: entry
64
- }, definedScheduleEntryKey(entry)))
65
- });
66
- }
67
- function DefinedScheduleEntryCard(props) {
68
- return /*#__PURE__*/_jsx(View, {
69
- style: styles.entryCard,
70
- testID: props.testID,
71
- children: /*#__PURE__*/_jsx(LabelValueRows, {
72
- paddingHorizontal: 0,
73
- rows: props.rows
74
- })
75
- });
76
- }
77
-
78
- /** Groups flat Amount/Date row pairs into per-payment entry lists. */
79
- export function groupDefinedScheduleEntries(rules) {
80
- const entries = [];
81
- for (const row of rules) {
82
- if (row.label === 'Amount' || row.label === 'Max Amount') {
83
- entries.push([row]);
84
- } else if (row.label === 'Date' && entries.length > 0) {
85
- entries[entries.length - 1]?.push(row);
86
- }
87
- }
88
- return entries;
89
- }
90
- function definedScheduleEntryKey(entry) {
91
- return entry.map(row => `${row.label}:${row.value}`).join('|');
92
- }
93
- const styles = StyleSheet.create({
94
- title: {
95
- fontFamily: FONT_FAMILY,
96
- fontSize: 16,
97
- fontWeight: '700',
98
- color: Colors.textPrimary,
99
- marginBottom: 8,
100
- paddingHorizontal: 20
101
- },
102
- empty: {
103
- fontFamily: FONT_FAMILY,
104
- fontSize: 14,
105
- color: Colors.textMuted,
106
- paddingHorizontal: 20
107
- },
108
- entryCard: {
109
- backgroundColor: Colors.surfaceCard,
110
- borderRadius: 8,
111
- paddingVertical: 10,
112
- paddingHorizontal: 16,
113
- marginBottom: 10,
114
- marginHorizontal: 20,
115
- shadowColor: '#000000',
116
- shadowOpacity: 0.06,
117
- shadowRadius: 4,
118
- shadowOffset: {
119
- width: 0,
120
- height: 1
121
- },
122
- elevation: 1
123
- }
124
- });
125
- //# sourceMappingURL=multi-payment-rules-list.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["ScrollView","StyleSheet","Text","View","PaymentType","Colors","FONT_FAMILY","LabelValueRows","jsx","_jsx","jsxs","_jsxs","Fragment","_Fragment","DEFINED_SCHEDULE_VISIBLE_ENTRY_COUNT","DEFINED_SCHEDULE_ENTRY_EXTENT","MultiPaymentRulesList","props","rules","paymentType","length","testID","children","rulesTitle","style","styles","title","empty","isDefinedSchedule","fixedDefinedSchedule","variableDefinedSchedule","DefinedScheduleEntries","rows","entries","groupDefinedScheduleEntries","map","entry","index","DefinedScheduleEntryCard","definedScheduleEntryKey","maxHeight","nestedScrollEnabled","showsVerticalScrollIndicator","entryCard","paddingHorizontal","row","label","push","value","join","create","fontFamily","fontSize","fontWeight","color","textPrimary","marginBottom","textMuted","backgroundColor","surfaceCard","borderRadius","paddingVertical","marginHorizontal","shadowColor","shadowOpacity","shadowRadius","shadowOffset","width","height","elevation"],"sourceRoot":"../../../../src","sources":["ui/consent/multi-payment-rules-list.tsx"],"mappings":";;AAAA,SAASA,UAAU,EAAEC,UAAU,EAAEC,IAAI,EAAEC,IAAI,QAAQ,cAAc;AACjE,SAASC,WAAW,QAAQ,mCAAgC;AAE5D,SAASC,MAAM,EAAEC,WAAW,QAAQ,mBAAU;AAC9C,SAASC,cAAc,QAAQ,uBAAoB;;AAEnD;AAAA,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA,EAAAC,QAAA,IAAAC,SAAA;AACA,OAAO,MAAMC,oCAAoC,GAAG,CAAC;;AAErD;AACA,OAAO,MAAMC,6BAA6B,GAAG,EAAE;AAQ/C,OAAO,SAASC,qBAAqBA,CAACC,KAAiC,EAAe;EACpF,MAAM;IAAEC,KAAK;IAAEC;EAAY,CAAC,GAAGF,KAAK;EAEpC,IAAIC,KAAK,CAACE,MAAM,KAAK,CAAC,EAAE;IACtB,oBACET,KAAA,CAACR,IAAI;M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,uBAAuBA,CAACH,KAAsB,EAAU;EAC/D,OAAOA,KAAK,CAACD,GAAG,CAAEU,GAAG,IAAK,GAAGA,GAAG,CAACC,KAAK,IAAID,GAAG,CAACG,KAAK,EAAE,CAAC,CAACC,IAAI,CAAC,GAAG,CAAC;AAClE;AAEA,MAAMxB,MAAM,GAAGxB,UAAU,CAACiD,MAAM,CAAC;EAC/BxB,KAAK,EAAE;IACLyB,UAAU,EAAE7C,WAAW;IACvB8C,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE,KAAK;IACjBC,KAAK,EAAEjD,MAAM,CAACkD,WAAW;IACzBC,YAAY,EAAE,CAAC;IACfZ,iBAAiB,EAAE;EACrB,CAAC;EACDjB,KAAK,EAAE;IACLwB,UAAU,EAAE7C,WAAW;IACvB8C,QAAQ,EAAE,EAAE;IACZE,KAAK,EAAEjD,MAAM,CAACoD,SAAS;IACvBb,iBAAiB,EAAE;EACrB,CAAC;EACDD,SAAS,EAAE;IACTe,eAAe,EAAErD,MAAM,CAACsD,WAAW;IACnCC,YAAY,EAAE,CAAC;IACfC,eAAe,EAAE,EAAE;IACnBjB,iBAAiB,EAAE,EAAE;IACrBY,YAAY,EAAE,EAAE;IAChBM,gBAAgB,EAAE,EAAE;IACpBC,WAAW,EAAE,SAAS;IACtBC,aAAa,EAAE,IAAI;IACnBC,YAAY,EAAE,CAAC;IACfC,YAAY,EAAE;MAAEC,KAAK,EAAE,CAAC;MAAEC,MAAM,EAAE;IAAE,CAAC;IACrCC,SAAS,EAAE;EACb;AACF,CAAC,CAAC","ignoreList":[]}
@@ -1,95 +0,0 @@
1
- "use strict";
2
-
3
- import { StyleSheet, Text, View } from 'react-native';
4
- import { Colors, FONT_FAMILY } from "../theme/index.js";
5
- import { ConsentAccordion } from "./consent-accordion.js";
6
- import { LabelValueRows, present } from "./label-value-rows.js";
7
- import { MultiPaymentRulesList } from "./multi-payment-rules-list.js";
8
- import { TermsLink } from "./terms-link.js";
9
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
10
- export function MultiPaymentSummary(props) {
11
- const {
12
- data
13
- } = props;
14
- return /*#__PURE__*/_jsxs(View, {
15
- testID: "multi-payment-summary",
16
- children: [/*#__PURE__*/_jsxs(View, {
17
- style: styles.card,
18
- testID: "multi-payment-setup-card",
19
- children: [/*#__PURE__*/_jsx(Text, {
20
- style: styles.setupTitle,
21
- children: "Payment setup"
22
- }), /*#__PURE__*/_jsx(LabelValueRows, {
23
- paddingHorizontal: 0,
24
- rows: [{
25
- label: 'Payment to',
26
- value: present(data.creditorType)
27
- }, {
28
- label: 'Reference',
29
- value: present(data.externalReference)
30
- }, {
31
- label: 'Payment Purpose',
32
- value: present(data.paymentPurpose)
33
- }]
34
- })]
35
- }), /*#__PURE__*/_jsx(ConsentAccordion, {
36
- items: [{
37
- header: data.rulesTitle,
38
- children: /*#__PURE__*/_jsx(MultiPaymentRulesList, {
39
- rules: data.rules,
40
- paymentType: data.paymentType
41
- })
42
- }, {
43
- header: 'To account',
44
- children: /*#__PURE__*/_jsx(LabelValueRows, {
45
- rows: [{
46
- label: 'IBAN',
47
- value: present(data.iban)
48
- }, {
49
- label: 'Payee Name',
50
- value: present(data.creditorName)
51
- }]
52
- })
53
- }, {
54
- header: 'From account',
55
- children: /*#__PURE__*/_jsx(LabelValueRows, {
56
- rows: [{
57
- label: 'Bank',
58
- value: present(data.bankName)
59
- }]
60
- })
61
- }, {
62
- header: 'Terms',
63
- initiallyExpanded: false,
64
- children: /*#__PURE__*/_jsx(TermsLink, {})
65
- }]
66
- })]
67
- });
68
- }
69
- const styles = StyleSheet.create({
70
- card: {
71
- backgroundColor: Colors.surfaceCard,
72
- borderRadius: 12,
73
- paddingVertical: 14,
74
- paddingHorizontal: 20,
75
- marginBottom: 14,
76
- gap: 12,
77
- borderWidth: StyleSheet.hairlineWidth,
78
- borderColor: Colors.divider,
79
- shadowColor: '#000000',
80
- shadowOpacity: 0.06,
81
- shadowRadius: 6,
82
- shadowOffset: {
83
- width: 0,
84
- height: 2
85
- },
86
- elevation: 2
87
- },
88
- setupTitle: {
89
- fontFamily: FONT_FAMILY,
90
- fontSize: 14,
91
- fontWeight: '700',
92
- color: Colors.textPrimary
93
- }
94
- });
95
- //# sourceMappingURL=multi-payment-summary.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["StyleSheet","Text","View","Colors","FONT_FAMILY","ConsentAccordion","LabelValueRows","present","MultiPaymentRulesList","TermsLink","jsx","_jsx","jsxs","_jsxs","MultiPaymentSummary","props","data","testID","children","style","styles","card","setupTitle","paddingHorizontal","rows","label","value","creditorType","externalReference","paymentPurpose","items","header","rulesTitle","rules","paymentType","iban","creditorName","bankName","initiallyExpanded","create","backgroundColor","surfaceCard","borderRadius","paddingVertical","marginBottom","gap","borderWidth","hairlineWidth","borderColor","divider","shadowColor","shadowOpacity","shadowRadius","shadowOffset","width","height","elevation","fontFamily","fontSize","fontWeight","color","textPrimary"],"sourceRoot":"../../../../src","sources":["ui/consent/multi-payment-summary.tsx"],"mappings":";;AAAA,SAASA,UAAU,EAAEC,IAAI,EAAEC,IAAI,QAAQ,cAAc;AAErD,SAASC,MAAM,EAAEC,WAAW,QAAQ,mBAAU;AAC9C,SAASC,gBAAgB,QAAQ,wBAAqB;AACtD,SAASC,cAAc,EAAEC,OAAO,QAAQ,uBAAoB;AAC5D,SAASC,qBAAqB,QAAQ,+BAA4B;AAClE,SAASC,SAAS,QAAQ,iBAAc;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAMzC,OAAO,SAASC,mBAAmBA,CAACC,KAA+B,EAAe;EAChF,MAAM;IAAEC;EAAK,CAAC,GAAGD,KAAK;EACtB,oBACEF,KAAA,CAACX,IAAI;IAACe,MAAM,EAAC,uBAAuB;IAAAC,QAAA,gBAClCL,KAAA,CAACX,IAAI;MAACiB,KAAK,EAAEC,MAAM,CAACC,IAAK;MAACJ,MAAM,EAAC,0BAA0B;MAAAC,QAAA,gBACzDP,IAAA,C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