@hmcts/ccpay-web-component 5.0.12 → 5.1.0-beta02

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 (389) hide show
  1. package/bundles/hmcts-ccpay-web-component.umd.js +5091 -8699
  2. package/bundles/hmcts-ccpay-web-component.umd.js.map +1 -1
  3. package/bundles/hmcts-ccpay-web-component.umd.min.js +1 -1
  4. package/bundles/hmcts-ccpay-web-component.umd.min.js.map +1 -1
  5. package/esm2015/hmcts-ccpay-web-component.js +2 -6
  6. package/esm2015/lib/components/add-remission/add-remission.component.js +34 -407
  7. package/esm2015/lib/components/allocate-payments/allocate-payments.component.js +37 -348
  8. package/esm2015/lib/components/card-details/card-details.component.js +3 -46
  9. package/esm2015/lib/components/case-transactions/case-transactions.component.js +107 -687
  10. package/esm2015/lib/components/error-banner/error-banner.component.js +2 -14
  11. package/esm2015/lib/components/fee-summary/fee-summary.component.js +29 -255
  12. package/esm2015/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.js +23 -181
  13. package/esm2015/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.js +27 -225
  14. package/esm2015/lib/components/page-not-found.component.js +2 -6
  15. package/esm2015/lib/components/payment-list/payment-list.component.js +4 -48
  16. package/esm2015/lib/components/payment-view/payment-view.component.js +39 -336
  17. package/esm2015/lib/components/pba-details/pba-details.component.js +3 -15
  18. package/esm2015/lib/components/pba-payment/pba-payment.component.js +13 -120
  19. package/esm2015/lib/components/process-refund/process-refund.component.js +16 -178
  20. package/esm2015/lib/components/processed-payments/processed-payments.component.js +4 -42
  21. package/esm2015/lib/components/refund-list/refund-list.component.js +9 -77
  22. package/esm2015/lib/components/refund-status/refund-status.component.js +25 -257
  23. package/esm2015/lib/components/reports/reports.component.js +21 -212
  24. package/esm2015/lib/components/service-request/service-request.component.js +36 -370
  25. package/esm2015/lib/components/status-history/status-history.component.js +4 -44
  26. package/esm2015/lib/components/table/table.component.js +5 -105
  27. package/esm2015/lib/components/unprocessed-payments/unprocessed-payments.component.js +12 -184
  28. package/esm2015/lib/interfaces/AddRemissionRequest.js +1 -28
  29. package/esm2015/lib/interfaces/AddRetroRemissionRequest.js +1 -15
  30. package/esm2015/lib/interfaces/AllocatePaymentRequest.js +1 -42
  31. package/esm2015/lib/interfaces/IAllocationPaymentsRequest.js +1 -26
  32. package/esm2015/lib/interfaces/IBSPayments.js +2 -45
  33. package/esm2015/lib/interfaces/ICardDetails.js +2 -21
  34. package/esm2015/lib/interfaces/IFee.js +2 -53
  35. package/esm2015/lib/interfaces/IOrderReferenceFee.js +2 -25
  36. package/esm2015/lib/interfaces/IPatchRefundAction.js +2 -15
  37. package/esm2015/lib/interfaces/IPayment.js +2 -65
  38. package/esm2015/lib/interfaces/IPaymentFailure.js +2 -33
  39. package/esm2015/lib/interfaces/IPaymentGroup.js +2 -19
  40. package/esm2015/lib/interfaces/IPaymentStatus.js +1 -25
  41. package/esm2015/lib/interfaces/IPaymentView.js +2 -17
  42. package/esm2015/lib/interfaces/IPayments.js +2 -13
  43. package/esm2015/lib/interfaces/IRefundAction.js +2 -15
  44. package/esm2015/lib/interfaces/IRefundList.js +2 -29
  45. package/esm2015/lib/interfaces/IRefundReasons.js +2 -19
  46. package/esm2015/lib/interfaces/IRefundRejectReason.js +2 -15
  47. package/esm2015/lib/interfaces/IRefundStatus.js +2 -23
  48. package/esm2015/lib/interfaces/IRefundStatusHistory.js +2 -15
  49. package/esm2015/lib/interfaces/IRemission.js +2 -25
  50. package/esm2015/lib/interfaces/IResubmitRefundRequest.js +1 -15
  51. package/esm2015/lib/interfaces/IStatusHistories.js +2 -19
  52. package/esm2015/lib/interfaces/IStatusHistory.js +2 -21
  53. package/esm2015/lib/interfaces/IserviceRequestCardPayment.js +1 -16
  54. package/esm2015/lib/interfaces/IserviceRequestPbaPayment.js +1 -23
  55. package/esm2015/lib/interfaces/IssueRefundRequest.js +1 -18
  56. package/esm2015/lib/interfaces/PayhubAntennaRequest.js +2 -21
  57. package/esm2015/lib/interfaces/PaymentToPayhubRequest.js +2 -27
  58. package/esm2015/lib/interfaces/PostIssueRefundRetroRemission.js +1 -12
  59. package/esm2015/lib/interfaces/PostRefundRetroRemission.js +1 -15
  60. package/esm2015/lib/interfaces/RefundsRequest.js +1 -15
  61. package/esm2015/lib/interfaces/UnidentifiedPaymentsRequest.js +1 -20
  62. package/esm2015/lib/interfaces/UnsolicitedPaymentsRequest.js +1 -29
  63. package/esm2015/lib/payment-lib.component.js +2 -147
  64. package/esm2015/lib/payment-lib.module.js +1 -5
  65. package/esm2015/lib/payment-lib.service.js +2 -45
  66. package/esm2015/lib/pipes/capitalize.pipe.js +1 -11
  67. package/esm2015/lib/pipes/ccd-hyphens.pipe.js +1 -12
  68. package/esm2015/lib/pipes/key-value.pipe.js +1 -11
  69. package/esm2015/lib/pipes/sanitize-html.pipe.js +1 -20
  70. package/esm2015/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.js +9 -102
  71. package/esm2015/lib/services/card-details/card-details.service.js +2 -39
  72. package/esm2015/lib/services/case-transactions/case-transactions.service.js +2 -39
  73. package/esm2015/lib/services/orderslist.service.js +2 -251
  74. package/esm2015/lib/services/payment-list/payment-list.service.js +2 -42
  75. package/esm2015/lib/services/payment-view/payment-view.service.js +3 -168
  76. package/esm2015/lib/services/refunds/refunds.service.js +7 -109
  77. package/esm2015/lib/services/shared/error-handler.service.js +4 -21
  78. package/esm2015/lib/services/shared/httpclient/webcomponent.http.client.js +6 -82
  79. package/esm2015/lib/services/shared/logger/console-logger.service.js +3 -27
  80. package/esm2015/lib/services/shared/logger/logger.service.js +3 -35
  81. package/esm2015/lib/services/status-history/status-history.service.js +2 -40
  82. package/esm2015/lib/services/xl-file/xl-file.service.js +2 -60
  83. package/esm2015/public_api.js +4 -8
  84. package/fesm2015/hmcts-ccpay-web-component.js +552 -3557
  85. package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
  86. package/hmcts-ccpay-web-component.d.ts +1 -0
  87. package/hmcts-ccpay-web-component.d.ts.map +1 -0
  88. package/hmcts-ccpay-web-component.metadata.json +1 -1
  89. package/lib/components/add-remission/add-remission.component.d.ts +1 -0
  90. package/lib/components/add-remission/add-remission.component.d.ts.map +1 -0
  91. package/lib/components/add-remission/add-remission.component.ngfactory.d.ts.map +1 -0
  92. package/lib/components/add-remission/add-remission.component.scss.shim.ngstyle.d.ts.map +1 -0
  93. package/lib/components/allocate-payments/allocate-payments.component.d.ts +1 -0
  94. package/lib/components/allocate-payments/allocate-payments.component.d.ts.map +1 -0
  95. package/lib/components/allocate-payments/allocate-payments.component.ngfactory.d.ts.map +1 -0
  96. package/lib/components/allocate-payments/allocate-payments.component.scss.shim.ngstyle.d.ts.map +1 -0
  97. package/lib/components/card-details/card-details.component.css.shim.ngstyle.d.ts.map +1 -0
  98. package/lib/components/card-details/card-details.component.d.ts +2 -1
  99. package/lib/components/card-details/card-details.component.d.ts.map +1 -0
  100. package/lib/components/card-details/card-details.component.ngfactory.d.ts.map +1 -0
  101. package/lib/components/case-transactions/case-transactions.component.css.shim.ngstyle.d.ts.map +1 -0
  102. package/lib/components/case-transactions/case-transactions.component.d.ts +2 -1
  103. package/lib/components/case-transactions/case-transactions.component.d.ts.map +1 -0
  104. package/lib/components/case-transactions/case-transactions.component.ngfactory.d.ts.map +1 -0
  105. package/lib/components/error-banner/error-banner.component.d.ts +1 -0
  106. package/lib/components/error-banner/error-banner.component.d.ts.map +1 -0
  107. package/lib/components/error-banner/error-banner.component.ngfactory.d.ts.map +1 -0
  108. package/lib/components/error-banner/error-banner.component.scss.shim.ngstyle.d.ts.map +1 -0
  109. package/lib/components/fee-summary/fee-summary.component.d.ts +1 -0
  110. package/lib/components/fee-summary/fee-summary.component.d.ts.map +1 -0
  111. package/lib/components/fee-summary/fee-summary.component.ngfactory.d.ts.map +1 -0
  112. package/lib/components/fee-summary/fee-summary.component.scss.shim.ngstyle.d.ts.map +1 -0
  113. package/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.d.ts +1 -0
  114. package/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.d.ts.map +1 -0
  115. package/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.ngfactory.d.ts.map +1 -0
  116. package/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.scss.shim.ngstyle.d.ts.map +1 -0
  117. package/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.d.ts +1 -0
  118. package/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.d.ts.map +1 -0
  119. package/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.ngfactory.d.ts.map +1 -0
  120. package/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.scss.shim.ngstyle.d.ts.map +1 -0
  121. package/lib/components/page-not-found.component.d.ts +1 -0
  122. package/lib/components/page-not-found.component.d.ts.map +1 -0
  123. package/lib/components/page-not-found.component.ngfactory.d.ts.map +1 -0
  124. package/lib/components/payment-list/payment-list.component.css.shim.ngstyle.d.ts.map +1 -0
  125. package/lib/components/payment-list/payment-list.component.d.ts +1 -0
  126. package/lib/components/payment-list/payment-list.component.d.ts.map +1 -0
  127. package/lib/components/payment-list/payment-list.component.ngfactory.d.ts.map +1 -0
  128. package/lib/components/payment-view/payment-view.component.css.shim.ngstyle.d.ts.map +1 -0
  129. package/lib/components/payment-view/payment-view.component.d.ts +3 -2
  130. package/lib/components/payment-view/payment-view.component.d.ts.map +1 -0
  131. package/lib/components/payment-view/payment-view.component.ngfactory.d.ts.map +1 -0
  132. package/lib/components/pba-details/pba-details.component.css.shim.ngstyle.d.ts.map +1 -0
  133. package/lib/components/pba-details/pba-details.component.d.ts +1 -0
  134. package/lib/components/pba-details/pba-details.component.d.ts.map +1 -0
  135. package/lib/components/pba-details/pba-details.component.ngfactory.d.ts.map +1 -0
  136. package/lib/components/pba-payment/pba-payment.component.d.ts +1 -0
  137. package/lib/components/pba-payment/pba-payment.component.d.ts.map +1 -0
  138. package/lib/components/pba-payment/pba-payment.component.ngfactory.d.ts.map +1 -0
  139. package/lib/components/pba-payment/pba-payment.component.scss.shim.ngstyle.d.ts.map +1 -0
  140. package/lib/components/process-refund/process-refund.component.css.shim.ngstyle.d.ts.map +1 -0
  141. package/lib/components/process-refund/process-refund.component.d.ts +1 -0
  142. package/lib/components/process-refund/process-refund.component.d.ts.map +1 -0
  143. package/lib/components/process-refund/process-refund.component.ngfactory.d.ts.map +1 -0
  144. package/lib/components/processed-payments/processed-payments.component.d.ts +1 -0
  145. package/lib/components/processed-payments/processed-payments.component.d.ts.map +1 -0
  146. package/lib/components/processed-payments/processed-payments.component.ngfactory.d.ts.map +1 -0
  147. package/lib/components/processed-payments/processed-payments.component.scss.shim.ngstyle.d.ts.map +1 -0
  148. package/lib/components/refund-list/refund-list.component.css.shim.ngstyle.d.ts.map +1 -0
  149. package/lib/components/refund-list/refund-list.component.d.ts +1 -0
  150. package/lib/components/refund-list/refund-list.component.d.ts.map +1 -0
  151. package/lib/components/refund-list/refund-list.component.ngfactory.d.ts.map +1 -0
  152. package/lib/components/refund-status/refund-status.component.css.shim.ngstyle.d.ts.map +1 -0
  153. package/lib/components/refund-status/refund-status.component.d.ts +2 -1
  154. package/lib/components/refund-status/refund-status.component.d.ts.map +1 -0
  155. package/lib/components/refund-status/refund-status.component.ngfactory.d.ts.map +1 -0
  156. package/lib/components/reports/reports.component.d.ts +1 -0
  157. package/lib/components/reports/reports.component.d.ts.map +1 -0
  158. package/lib/components/reports/reports.component.ngfactory.d.ts.map +1 -0
  159. package/lib/components/reports/reports.component.scss.shim.ngstyle.d.ts.map +1 -0
  160. package/lib/components/service-request/service-request.component.css.shim.ngstyle.d.ts.map +1 -0
  161. package/lib/components/service-request/service-request.component.d.ts +1 -0
  162. package/lib/components/service-request/service-request.component.d.ts.map +1 -0
  163. package/lib/components/service-request/service-request.component.ngfactory.d.ts.map +1 -0
  164. package/lib/components/status-history/status-history.component.css.shim.ngstyle.d.ts.map +1 -0
  165. package/lib/components/status-history/status-history.component.d.ts +1 -0
  166. package/lib/components/status-history/status-history.component.d.ts.map +1 -0
  167. package/lib/components/status-history/status-history.component.ngfactory.d.ts.map +1 -0
  168. package/lib/components/table/table.component.css.shim.ngstyle.d.ts.map +1 -0
  169. package/lib/components/table/table.component.d.ts +1 -0
  170. package/lib/components/table/table.component.d.ts.map +1 -0
  171. package/lib/components/table/table.component.ngfactory.d.ts.map +1 -0
  172. package/lib/components/unprocessed-payments/unprocessed-payments.component.d.ts +1 -0
  173. package/lib/components/unprocessed-payments/unprocessed-payments.component.d.ts.map +1 -0
  174. package/lib/components/unprocessed-payments/unprocessed-payments.component.ngfactory.d.ts.map +1 -0
  175. package/lib/components/unprocessed-payments/unprocessed-payments.component.scss.shim.ngstyle.d.ts.map +1 -0
  176. package/lib/interfaces/AddRemissionRequest.d.ts +1 -0
  177. package/lib/interfaces/AddRemissionRequest.d.ts.map +1 -0
  178. package/lib/interfaces/AddRetroRemissionRequest.d.ts +1 -0
  179. package/lib/interfaces/AddRetroRemissionRequest.d.ts.map +1 -0
  180. package/lib/interfaces/AllocatePaymentRequest.d.ts +1 -0
  181. package/lib/interfaces/AllocatePaymentRequest.d.ts.map +1 -0
  182. package/lib/interfaces/IAllocationPaymentsRequest.d.ts +1 -0
  183. package/lib/interfaces/IAllocationPaymentsRequest.d.ts.map +1 -0
  184. package/lib/interfaces/IBSPayments.d.ts +1 -0
  185. package/lib/interfaces/IBSPayments.d.ts.map +1 -0
  186. package/lib/interfaces/ICardDetails.d.ts +1 -0
  187. package/lib/interfaces/ICardDetails.d.ts.map +1 -0
  188. package/lib/interfaces/IFee.d.ts +1 -0
  189. package/lib/interfaces/IFee.d.ts.map +1 -0
  190. package/lib/interfaces/IOrderReferenceFee.d.ts +1 -0
  191. package/lib/interfaces/IOrderReferenceFee.d.ts.map +1 -0
  192. package/lib/interfaces/IPatchRefundAction.d.ts +1 -0
  193. package/lib/interfaces/IPatchRefundAction.d.ts.map +1 -0
  194. package/lib/interfaces/IPayment.d.ts +1 -0
  195. package/lib/interfaces/IPayment.d.ts.map +1 -0
  196. package/lib/interfaces/IPaymentFailure.d.ts +1 -0
  197. package/lib/interfaces/IPaymentFailure.d.ts.map +1 -0
  198. package/lib/interfaces/IPaymentGroup.d.ts +1 -0
  199. package/lib/interfaces/IPaymentGroup.d.ts.map +1 -0
  200. package/lib/interfaces/IPaymentStatus.d.ts +1 -0
  201. package/lib/interfaces/IPaymentStatus.d.ts.map +1 -0
  202. package/lib/interfaces/IPaymentView.d.ts +1 -0
  203. package/lib/interfaces/IPaymentView.d.ts.map +1 -0
  204. package/lib/interfaces/IPayments.d.ts +1 -0
  205. package/lib/interfaces/IPayments.d.ts.map +1 -0
  206. package/lib/interfaces/IRefundAction.d.ts +1 -0
  207. package/lib/interfaces/IRefundAction.d.ts.map +1 -0
  208. package/lib/interfaces/IRefundList.d.ts +1 -0
  209. package/lib/interfaces/IRefundList.d.ts.map +1 -0
  210. package/lib/interfaces/IRefundReasons.d.ts +1 -0
  211. package/lib/interfaces/IRefundReasons.d.ts.map +1 -0
  212. package/lib/interfaces/IRefundRejectReason.d.ts +1 -0
  213. package/lib/interfaces/IRefundRejectReason.d.ts.map +1 -0
  214. package/lib/interfaces/IRefundStatus.d.ts +1 -0
  215. package/lib/interfaces/IRefundStatus.d.ts.map +1 -0
  216. package/lib/interfaces/IRefundStatusHistory.d.ts +1 -0
  217. package/lib/interfaces/IRefundStatusHistory.d.ts.map +1 -0
  218. package/lib/interfaces/IRemission.d.ts +1 -0
  219. package/lib/interfaces/IRemission.d.ts.map +1 -0
  220. package/lib/interfaces/IResubmitRefundRequest.d.ts +1 -0
  221. package/lib/interfaces/IResubmitRefundRequest.d.ts.map +1 -0
  222. package/lib/interfaces/IStatusHistories.d.ts +1 -0
  223. package/lib/interfaces/IStatusHistories.d.ts.map +1 -0
  224. package/lib/interfaces/IStatusHistory.d.ts +1 -0
  225. package/lib/interfaces/IStatusHistory.d.ts.map +1 -0
  226. package/lib/interfaces/IserviceRequestCardPayment.d.ts +1 -0
  227. package/lib/interfaces/IserviceRequestCardPayment.d.ts.map +1 -0
  228. package/lib/interfaces/IserviceRequestPbaPayment.d.ts +1 -0
  229. package/lib/interfaces/IserviceRequestPbaPayment.d.ts.map +1 -0
  230. package/lib/interfaces/IssueRefundRequest.d.ts +1 -0
  231. package/lib/interfaces/IssueRefundRequest.d.ts.map +1 -0
  232. package/lib/interfaces/PayhubAntennaRequest.d.ts +1 -0
  233. package/lib/interfaces/PayhubAntennaRequest.d.ts.map +1 -0
  234. package/lib/interfaces/PaymentToPayhubRequest.d.ts +1 -0
  235. package/lib/interfaces/PaymentToPayhubRequest.d.ts.map +1 -0
  236. package/lib/interfaces/PostIssueRefundRetroRemission.d.ts +1 -0
  237. package/lib/interfaces/PostIssueRefundRetroRemission.d.ts.map +1 -0
  238. package/lib/interfaces/PostRefundRetroRemission.d.ts +1 -0
  239. package/lib/interfaces/PostRefundRetroRemission.d.ts.map +1 -0
  240. package/lib/interfaces/RefundsRequest.d.ts +1 -0
  241. package/lib/interfaces/RefundsRequest.d.ts.map +1 -0
  242. package/lib/interfaces/UnidentifiedPaymentsRequest.d.ts +1 -0
  243. package/lib/interfaces/UnidentifiedPaymentsRequest.d.ts.map +1 -0
  244. package/lib/interfaces/UnsolicitedPaymentsRequest.d.ts +1 -0
  245. package/lib/interfaces/UnsolicitedPaymentsRequest.d.ts.map +1 -0
  246. package/lib/payment-lib.component.d.ts +1 -0
  247. package/lib/payment-lib.component.d.ts.map +1 -0
  248. package/lib/payment-lib.component.ngfactory.d.ts.map +1 -0
  249. package/lib/payment-lib.module.d.ts +1 -0
  250. package/lib/payment-lib.module.d.ts.map +1 -0
  251. package/lib/payment-lib.module.ngfactory.d.ts.map +1 -0
  252. package/lib/payment-lib.service.d.ts +1 -0
  253. package/lib/payment-lib.service.d.ts.map +1 -0
  254. package/lib/payment-lib.service.ngfactory.d.ts.map +1 -0
  255. package/lib/pipes/capitalize.pipe.d.ts +1 -0
  256. package/lib/pipes/capitalize.pipe.d.ts.map +1 -0
  257. package/lib/pipes/capitalize.pipe.ngfactory.d.ts.map +1 -0
  258. package/lib/pipes/ccd-hyphens.pipe.d.ts +1 -0
  259. package/lib/pipes/ccd-hyphens.pipe.d.ts.map +1 -0
  260. package/lib/pipes/ccd-hyphens.pipe.ngfactory.d.ts.map +1 -0
  261. package/lib/pipes/key-value.pipe.d.ts +1 -0
  262. package/lib/pipes/key-value.pipe.d.ts.map +1 -0
  263. package/lib/pipes/key-value.pipe.ngfactory.d.ts.map +1 -0
  264. package/lib/pipes/sanitize-html.pipe.d.ts +1 -0
  265. package/lib/pipes/sanitize-html.pipe.d.ts.map +1 -0
  266. package/lib/pipes/sanitize-html.pipe.ngfactory.d.ts.map +1 -0
  267. package/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.d.ts +1 -0
  268. package/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.d.ts.map +1 -0
  269. package/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.ngfactory.d.ts.map +1 -0
  270. package/lib/services/card-details/card-details.service.d.ts +1 -0
  271. package/lib/services/card-details/card-details.service.d.ts.map +1 -0
  272. package/lib/services/card-details/card-details.service.ngfactory.d.ts.map +1 -0
  273. package/lib/services/case-transactions/case-transactions.service.d.ts +1 -0
  274. package/lib/services/case-transactions/case-transactions.service.d.ts.map +1 -0
  275. package/lib/services/case-transactions/case-transactions.service.ngfactory.d.ts.map +1 -0
  276. package/lib/services/orderslist.service.d.ts +1 -0
  277. package/lib/services/orderslist.service.d.ts.map +1 -0
  278. package/lib/services/orderslist.service.ngfactory.d.ts.map +1 -0
  279. package/lib/services/payment-list/payment-list.service.d.ts +1 -0
  280. package/lib/services/payment-list/payment-list.service.d.ts.map +1 -0
  281. package/lib/services/payment-list/payment-list.service.ngfactory.d.ts.map +1 -0
  282. package/lib/services/payment-view/payment-view.service.d.ts +1 -0
  283. package/lib/services/payment-view/payment-view.service.d.ts.map +1 -0
  284. package/lib/services/payment-view/payment-view.service.ngfactory.d.ts.map +1 -0
  285. package/lib/services/refunds/refunds.service.d.ts +1 -0
  286. package/lib/services/refunds/refunds.service.d.ts.map +1 -0
  287. package/lib/services/refunds/refunds.service.ngfactory.d.ts.map +1 -0
  288. package/lib/services/shared/error-handler.service.d.ts +2 -1
  289. package/lib/services/shared/error-handler.service.d.ts.map +1 -0
  290. package/lib/services/shared/error-handler.service.ngfactory.d.ts.map +1 -0
  291. package/lib/services/shared/httpclient/webcomponent.http.client.d.ts +1 -0
  292. package/lib/services/shared/httpclient/webcomponent.http.client.d.ts.map +1 -0
  293. package/lib/services/shared/httpclient/webcomponent.http.client.ngfactory.d.ts.map +1 -0
  294. package/lib/services/shared/logger/console-logger.service.d.ts +4 -3
  295. package/lib/services/shared/logger/console-logger.service.d.ts.map +1 -0
  296. package/lib/services/shared/logger/console-logger.service.ngfactory.d.ts.map +1 -0
  297. package/lib/services/shared/logger/logger.service.d.ts +1 -0
  298. package/lib/services/shared/logger/logger.service.d.ts.map +1 -0
  299. package/lib/services/shared/logger/logger.service.ngfactory.d.ts.map +1 -0
  300. package/lib/services/status-history/status-history.service.d.ts +1 -0
  301. package/lib/services/status-history/status-history.service.d.ts.map +1 -0
  302. package/lib/services/status-history/status-history.service.ngfactory.d.ts.map +1 -0
  303. package/lib/services/xl-file/xl-file.service.d.ts +1 -0
  304. package/lib/services/xl-file/xl-file.service.d.ts.map +1 -0
  305. package/lib/services/xl-file/xl-file.service.ngfactory.d.ts.map +1 -0
  306. package/package.json +6 -8
  307. package/public_api.d.ts +1 -0
  308. package/public_api.d.ts.map +1 -0
  309. package/esm5/hmcts-ccpay-web-component.js +0 -48
  310. package/esm5/lib/components/add-remission/add-remission.component.js +0 -1146
  311. package/esm5/lib/components/allocate-payments/allocate-payments.component.js +0 -745
  312. package/esm5/lib/components/card-details/card-details.component.js +0 -77
  313. package/esm5/lib/components/case-transactions/case-transactions.component.js +0 -1448
  314. package/esm5/lib/components/error-banner/error-banner.component.js +0 -36
  315. package/esm5/lib/components/fee-summary/fee-summary.component.js +0 -504
  316. package/esm5/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.js +0 -371
  317. package/esm5/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.js +0 -474
  318. package/esm5/lib/components/page-not-found.component.js +0 -17
  319. package/esm5/lib/components/payment-list/payment-list.component.js +0 -83
  320. package/esm5/lib/components/payment-view/payment-view.component.js +0 -673
  321. package/esm5/lib/components/pba-details/pba-details.component.js +0 -36
  322. package/esm5/lib/components/pba-payment/pba-payment.component.js +0 -269
  323. package/esm5/lib/components/process-refund/process-refund.component.js +0 -536
  324. package/esm5/lib/components/processed-payments/processed-payments.component.js +0 -83
  325. package/esm5/lib/components/refund-list/refund-list.component.js +0 -130
  326. package/esm5/lib/components/refund-status/refund-status.component.js +0 -554
  327. package/esm5/lib/components/reports/reports.component.js +0 -515
  328. package/esm5/lib/components/service-request/service-request.component.js +0 -690
  329. package/esm5/lib/components/status-history/status-history.component.js +0 -70
  330. package/esm5/lib/components/table/table.component.js +0 -229
  331. package/esm5/lib/components/unprocessed-payments/unprocessed-payments.component.js +0 -418
  332. package/esm5/lib/interfaces/AddRemissionRequest.js +0 -32
  333. package/esm5/lib/interfaces/AddRetroRemissionRequest.js +0 -19
  334. package/esm5/lib/interfaces/AllocatePaymentRequest.js +0 -63
  335. package/esm5/lib/interfaces/IAllocationPaymentsRequest.js +0 -34
  336. package/esm5/lib/interfaces/IBSPayments.js +0 -45
  337. package/esm5/lib/interfaces/ICardDetails.js +0 -21
  338. package/esm5/lib/interfaces/IFee.js +0 -53
  339. package/esm5/lib/interfaces/IOrderReferenceFee.js +0 -25
  340. package/esm5/lib/interfaces/IPatchRefundAction.js +0 -15
  341. package/esm5/lib/interfaces/IPayment.js +0 -65
  342. package/esm5/lib/interfaces/IPaymentFailure.js +0 -33
  343. package/esm5/lib/interfaces/IPaymentGroup.js +0 -19
  344. package/esm5/lib/interfaces/IPaymentStatus.js +0 -31
  345. package/esm5/lib/interfaces/IPaymentView.js +0 -17
  346. package/esm5/lib/interfaces/IPayments.js +0 -13
  347. package/esm5/lib/interfaces/IRefundAction.js +0 -15
  348. package/esm5/lib/interfaces/IRefundList.js +0 -29
  349. package/esm5/lib/interfaces/IRefundReasons.js +0 -19
  350. package/esm5/lib/interfaces/IRefundRejectReason.js +0 -15
  351. package/esm5/lib/interfaces/IRefundStatus.js +0 -23
  352. package/esm5/lib/interfaces/IRefundStatusHistory.js +0 -15
  353. package/esm5/lib/interfaces/IRemission.js +0 -25
  354. package/esm5/lib/interfaces/IResubmitRefundRequest.js +0 -19
  355. package/esm5/lib/interfaces/IStatusHistories.js +0 -19
  356. package/esm5/lib/interfaces/IStatusHistory.js +0 -21
  357. package/esm5/lib/interfaces/IserviceRequestCardPayment.js +0 -22
  358. package/esm5/lib/interfaces/IserviceRequestPbaPayment.js +0 -28
  359. package/esm5/lib/interfaces/IssueRefundRequest.js +0 -22
  360. package/esm5/lib/interfaces/PayhubAntennaRequest.js +0 -25
  361. package/esm5/lib/interfaces/PaymentToPayhubRequest.js +0 -34
  362. package/esm5/lib/interfaces/PostIssueRefundRetroRemission.js +0 -16
  363. package/esm5/lib/interfaces/PostRefundRetroRemission.js +0 -19
  364. package/esm5/lib/interfaces/RefundsRequest.js +0 -19
  365. package/esm5/lib/interfaces/UnidentifiedPaymentsRequest.js +0 -28
  366. package/esm5/lib/interfaces/UnsolicitedPaymentsRequest.js +0 -37
  367. package/esm5/lib/payment-lib.component.js +0 -237
  368. package/esm5/lib/payment-lib.module.js +0 -103
  369. package/esm5/lib/payment-lib.service.js +0 -111
  370. package/esm5/lib/pipes/capitalize.pipe.js +0 -32
  371. package/esm5/lib/pipes/ccd-hyphens.pipe.js +0 -37
  372. package/esm5/lib/pipes/key-value.pipe.js +0 -37
  373. package/esm5/lib/pipes/sanitize-html.pipe.js +0 -39
  374. package/esm5/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.js +0 -218
  375. package/esm5/lib/services/card-details/card-details.service.js +0 -76
  376. package/esm5/lib/services/case-transactions/case-transactions.service.js +0 -76
  377. package/esm5/lib/services/orderslist.service.js +0 -531
  378. package/esm5/lib/services/payment-list/payment-list.service.js +0 -80
  379. package/esm5/lib/services/payment-view/payment-view.service.js +0 -416
  380. package/esm5/lib/services/refunds/refunds.service.js +0 -256
  381. package/esm5/lib/services/shared/error-handler.service.js +0 -127
  382. package/esm5/lib/services/shared/httpclient/webcomponent.http.client.js +0 -167
  383. package/esm5/lib/services/shared/logger/console-logger.service.js +0 -88
  384. package/esm5/lib/services/shared/logger/logger.service.js +0 -68
  385. package/esm5/lib/services/status-history/status-history.service.js +0 -80
  386. package/esm5/lib/services/xl-file/xl-file.service.js +0 -254
  387. package/esm5/public_api.js +0 -11
  388. package/fesm5/hmcts-ccpay-web-component.js +0 -10021
  389. package/fesm5/hmcts-ccpay-web-component.js.map +0 -1
@@ -1,36 +0,0 @@
1
- /**
2
- * @fileoverview added by tsickle
3
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
4
- */
5
- import { Component, Input } from '@angular/core';
6
- var PbaDetailsComponent = /** @class */ (function () {
7
- function PbaDetailsComponent() {
8
- }
9
- /**
10
- * @return {?}
11
- */
12
- PbaDetailsComponent.prototype.ngOnInit = /**
13
- * @return {?}
14
- */
15
- function () {
16
- };
17
- PbaDetailsComponent.decorators = [
18
- { type: Component, args: [{
19
- selector: 'ccpay-pba-details',
20
- template: "\n <h2 class=\"heading-large\">Payment method</h2>\n <table>\n <tbody>\n <tr>\n <td class=\"bold tb-col-w\">Method</td>\n <td class=\"capitalize\">{{ payment.method | lowercase}}</td>\n </tr>\n <tr>\n <td class=\"bold tb-col-w\">Type</td>\n <td>Credit</td>\n </tr>\n <tr *ngIf=\"payment.organisation_name\">\n <td class=\"bold tb-col-w\">PBA account name</td>\n <td>{{ payment.organisation_name }}</td>\n </tr>\n <tr *ngIf=\"payment.account_number\">\n <td class=\"bold tb-col-w\">PBA number</td>\n <td>{{ payment.account_number }}</td>\n </tr>\n <tr *ngIf=\"payment.customer_reference\">\n <td class=\"bold tb-col-w\">Customer internal reference</td>\n <td>{{ payment.customer_reference }}</td>\n </tr>\n </tbody>\n </table>\n",
21
- styles: [".capitalize::first-letter{text-transform:uppercase}.tb-col-w{width:330px}"]
22
- }] }
23
- ];
24
- /** @nocollapse */
25
- PbaDetailsComponent.ctorParameters = function () { return []; };
26
- PbaDetailsComponent.propDecorators = {
27
- payment: [{ type: Input }]
28
- };
29
- return PbaDetailsComponent;
30
- }());
31
- export { PbaDetailsComponent };
32
- if (false) {
33
- /** @type {?} */
34
- PbaDetailsComponent.prototype.payment;
35
- }
36
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGJhLWRldGFpbHMuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGhtY3RzL2NjcGF5LXdlYi1jb21wb25lbnQvIiwic291cmNlcyI6WyJsaWIvY29tcG9uZW50cy9wYmEtZGV0YWlscy9wYmEtZGV0YWlscy5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFVLE1BQU0sZUFBZSxDQUFDO0FBR3pEO0lBUUU7SUFBZ0IsQ0FBQzs7OztJQUVqQixzQ0FBUTs7O0lBQVI7SUFDQSxDQUFDOztnQkFYRixTQUFTLFNBQUM7b0JBQ1QsUUFBUSxFQUFFLG1CQUFtQjtvQkFDN0IsNHpCQUEyQzs7aUJBRTVDOzs7OzswQkFFRSxLQUFLOztJQU9SLDBCQUFDO0NBQUEsQUFiRCxJQWFDO1NBUlksbUJBQW1COzs7SUFDOUIsc0NBQTJCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50LCBJbnB1dCwgT25Jbml0IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBJUGF5bWVudCB9IGZyb20gJy4uLy4uL2ludGVyZmFjZXMvSVBheW1lbnQnO1xuXG5AQ29tcG9uZW50KHtcbiAgc2VsZWN0b3I6ICdjY3BheS1wYmEtZGV0YWlscycsXG4gIHRlbXBsYXRlVXJsOiAnLi9wYmEtZGV0YWlscy5jb21wb25lbnQuaHRtbCcsXG4gIHN0eWxlVXJsczogWycuL3BiYS1kZXRhaWxzLmNvbXBvbmVudC5jc3MnXVxufSlcbmV4cG9ydCBjbGFzcyBQYmFEZXRhaWxzQ29tcG9uZW50IGltcGxlbWVudHMgT25Jbml0IHtcbiAgQElucHV0KCkgcGF5bWVudDogSVBheW1lbnQ7XG5cbiAgY29uc3RydWN0b3IoKSB7IH1cblxuICBuZ09uSW5pdCgpIHtcbiAgfVxuXG59XG4iXX0=
@@ -1,269 +0,0 @@
1
- /**
2
- * @fileoverview added by tsickle
3
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
4
- */
5
- import { Component, Input } from '@angular/core';
6
- import { PaymentViewService } from '../../services/payment-view/payment-view.service';
7
- import { PaymentLibComponent } from '../../payment-lib.component';
8
- import { IserviceRequestCardPayment } from '../../interfaces/IserviceRequestCardPayment';
9
- import { IserviceRequestPbaPayment } from '../../interfaces/IserviceRequestPbaPayment';
10
- /** @type {?} */
11
- var BS_ENABLE_FLAG = 'bulk-scan-enabling-fe';
12
- var PbaPaymentComponent = /** @class */ (function () {
13
- function PbaPaymentComponent(paymentLibComponent, paymentViewService) {
14
- this.paymentLibComponent = paymentLibComponent;
15
- this.paymentViewService = paymentViewService;
16
- this.isPBAAccountHold = false;
17
- this.isCardPaymentSuccess = true;
18
- this.isInSufficiantFund = false;
19
- this.isPBAAccountNotExist = false;
20
- this.isPBAServerError = false;
21
- this.isGetPBAAccountSucceed = false;
22
- this.selectedPbaAccount = '';
23
- this.pbaAccountRef = '';
24
- this.isPbaAccountSelected = false;
25
- this.isCardPaymentSelected = false;
26
- this.isPBADropdownSelected = false;
27
- this.isContinueButtondisabled = true;
28
- this.isPBAAccountPaymentSuccess = false;
29
- this.orgName = '';
30
- }
31
- /**
32
- * @return {?}
33
- */
34
- PbaPaymentComponent.prototype.ngOnInit = /**
35
- * @return {?}
36
- */
37
- function () {
38
- var _this = this;
39
- this.pbaPayOrderRef = this.paymentLibComponent.pbaPayOrderRef;
40
- this.viewStatus = 'pba-payment';
41
- this.errorMsg = null;
42
- this.paymentViewService.getPBAaccountDetails()
43
- .subscribe((/**
44
- * @param {?} result
45
- * @return {?}
46
- */
47
- function (result) {
48
- _this.isGetPBAAccountSucceed = true;
49
- _this.orgName = result.organisationEntityResponse.name;
50
- _this.pbaAccountList = result.organisationEntityResponse.paymentAccount;
51
- }), (/**
52
- * @param {?} error
53
- * @return {?}
54
- */
55
- function (error) {
56
- _this.errorMsg = error;
57
- }));
58
- };
59
- /**
60
- * @param {?} args
61
- * @return {?}
62
- */
63
- PbaPaymentComponent.prototype.selectpbaaccount = /**
64
- * @param {?} args
65
- * @return {?}
66
- */
67
- function (args) {
68
- if (args.currentTarget.id === 'pbaAccountNumber') {
69
- this.isPBADropdownSelected = true;
70
- this.selectedPbaAccount = args.target.value;
71
- }
72
- if (args.currentTarget.id === 'pbaAccountRef') {
73
- this.pbaAccountRef = args.target.value;
74
- }
75
- if (this.selectedPbaAccount !== '' && this.pbaAccountRef !== "") {
76
- this.isContinueButtondisabled = false;
77
- }
78
- else {
79
- this.isContinueButtondisabled = true;
80
- }
81
- };
82
- /**
83
- * @return {?}
84
- */
85
- PbaPaymentComponent.prototype.saveAndContinue = /**
86
- * @return {?}
87
- */
88
- function () {
89
- var _this = this;
90
- if (this.isPbaAccountSelected) {
91
- this.isInSufficiantFund = false;
92
- this.isPBAAccountNotExist = false;
93
- this.isPBAServerError = false;
94
- this.isPBAAccountPaymentSuccess = false;
95
- if (this.pbaAccountList.indexOf(this.selectedPbaAccount) !== -1) {
96
- /** @type {?} */
97
- var requestBody = new IserviceRequestPbaPayment(this.selectedPbaAccount, this.pbaPayOrderRef.orderTotalFees, this.pbaAccountRef, this.orgName);
98
- this.paymentViewService.postPBAaccountPayment(this.pbaPayOrderRef.orderRefId, requestBody)
99
- .subscribe((/**
100
- * @param {?} r
101
- * @return {?}
102
- */
103
- function (r) {
104
- try {
105
- _this.pbaAccountrPaymentResult = JSON.parse(r);
106
- }
107
- catch (e) {
108
- _this.pbaAccountrPaymentResult = r;
109
- }
110
- _this.isPBAAccountPaymentSuccess = true;
111
- }), (/**
112
- * @param {?} e
113
- * @return {?}
114
- */
115
- function (e) {
116
- if (e.status == '402') {
117
- _this.isInSufficiantFund = true;
118
- }
119
- else if (e.status == '410') {
120
- _this.isPBAAccountNotExist = true;
121
- }
122
- else if (e.status == '412') {
123
- _this.isPBAAccountHold = true;
124
- }
125
- else {
126
- _this.isPBAServerError = true;
127
- }
128
- }));
129
- }
130
- else {
131
- this.isPBAServerError = true;
132
- }
133
- }
134
- else if (this.isCardPaymentSelected) {
135
- this.cardPayment();
136
- }
137
- };
138
- /**
139
- * @return {?}
140
- */
141
- PbaPaymentComponent.prototype.cardPayment = /**
142
- * @return {?}
143
- */
144
- function () {
145
- var _this = this;
146
- this.isCardPaymentSuccess = true;
147
- /** @type {?} */
148
- var requestBody = new IserviceRequestCardPayment(this.pbaPayOrderRef.orderTotalFees);
149
- this.paymentViewService.postWays2PayCardPayment(this.pbaPayOrderRef.orderRefId, requestBody)
150
- .subscribe((/**
151
- * @param {?} result
152
- * @return {?}
153
- */
154
- function (result) {
155
- /** @type {?} */
156
- var paymentUrl = JSON.parse(result).next_url;
157
- window.location.href = paymentUrl;
158
- }), (/**
159
- * @param {?} error
160
- * @return {?}
161
- */
162
- function (error) {
163
- _this.isCardPaymentSuccess = false;
164
- }));
165
- };
166
- /**
167
- * @param {?} type
168
- * @return {?}
169
- */
170
- PbaPaymentComponent.prototype.selectPaymentMethod = /**
171
- * @param {?} type
172
- * @return {?}
173
- */
174
- function (type) {
175
- if (type === 'PBA') {
176
- this.isPbaAccountSelected = true;
177
- this.isCardPaymentSelected = false;
178
- this.isPBADropdownSelected = false;
179
- this.isContinueButtondisabled = true;
180
- this.selectedPbaAccount = null;
181
- }
182
- else if (type === 'CARD') {
183
- this.isPbaAccountSelected = false;
184
- this.isCardPaymentSelected = true;
185
- this.isPBADropdownSelected = false;
186
- this.isContinueButtondisabled = false;
187
- }
188
- };
189
- /**
190
- * @return {?}
191
- */
192
- PbaPaymentComponent.prototype.gotoCasetransationPage = /**
193
- * @return {?}
194
- */
195
- function () {
196
- this.paymentLibComponent.viewName = 'case-transactions';
197
- this.paymentLibComponent.TAKEPAYMENT = false;
198
- this.paymentLibComponent.ISBSENABLE = true;
199
- this.paymentLibComponent.isFromServiceRequestPage = true;
200
- };
201
- PbaPaymentComponent.decorators = [
202
- { type: Component, args: [{
203
- selector: 'ccpay-pba-payment',
204
- template: "<ng-container *ngIf=\"viewStatus === 'pba-payment'\">\n\n <div class=\"govuk-breadcrumbs\" *ngIf=\"!errorMsg && !isPBAAccountPaymentSuccess && !isCardPaymentSuccess\">\n <ol class=\"govuk-breadcrumbs__list\">\n <li class=\"govuk-breadcrumbs__list-item\">\n <a href=\"javascript:void(0)\" (click)=\"gotoCasetransationPage()\" class=\"govuk-back-link pba-payments-16-font\">Back</a>\n </li>\n </ol>\n </div>\n <div class=\"pba-payment\" *ngIf=\"(pbaAccountList?.length > 0 || errorMsg) && !isInSufficiantFund && !isPBAAccountNotExist && !isPBAServerError && !isPBAAccountHold && !isPBAAccountPaymentSuccess && isCardPaymentSuccess\">\n \n <div *ngIf=\"errorMsg\" class=\"govuk-error-summary pba-payments-error-box--size\" aria-labelledby=\"error-summary-title\" >\n <h2 class=\"govuk-error-summary__title govuk-error-summary__title-custom pba-payments-24-font\" id=\"error-summary-title\">\n There is a problem\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li class=\"pba-payments-error-16-font\">\n Your PBA account cannot be found.\n </li>\n <li class=\"pba-payments-error-16-font\">\n If you know your organisation has a PBA, try again.\n </li>\n <li class=\"pba-payments-error-16-font\">\n You can also pay by credit or debit card.\n </li>\n </ul>\n </div>\n </div>\n <!-- <h1 class=\"heading-medium margin-top-10-px\">Pay fee using Payment by Account (PBA)</h1> -->\n <div class=\"govuk-form-group margin-top-10-px\">\n <label class=\"govuk-label pba-payments-govuk__label pba-payments-19-font\">\n Amount to pay \n </label>\n <span class=\"pba-payments-19-font\">{{pbaPayOrderRef.orderTotalFees | currency :'GBP':'symbol':'1.2-2'}}</span>\n </div>\n\n <div class=\"govuk-form-group\" *ngIf=\"!errorMsg\">\n <fieldset class=\"govuk-fieldset\" aria-describedby=\"contact-hint\">\n <div class=\"govuk-radios\" data-module=\"govuk-radios\">\n <div class=\"govuk-radios__item\">\n <input class=\"govuk-radios__input\" id=\"pbaAccount\" name=\"paymentSelection\" type=\"radio\" value=\"PBA\" (click)=\"selectPaymentMethod('PBA')\" data-aria-controls=\"pba-account\">\n <label class=\"govuk-label govuk-radios__label pba-payments-19-font pba-payments-font-bld\" for=\"pbaAccount\">\n Pay fee using Payment by Account (PBA)\n </label>\n </div>\n <div class=\"govuk-radios__conditional\" id=\"conditional-contact\" *ngIf=\"isPbaAccountSelected\">\n <div class=\"govuk-form-group pba-payments-select-box--size\">\n <label class=\"govuk-label pba-payments-govuk__label pba-payments-19-font\" for=\"pbaAccountNumber\">\n Select a PBA \n </label>\n <select class=\"form-control short-input\" id=\"pbaAccountNumber\" (change)=\"selectpbaaccount($event)\">\n <option value=\"\" selected='selected'>Select option</option>\n <option *ngFor=\"let pbaAccount of pbaAccountList;\" value=\"{{pbaAccount}}\">{{pbaAccount}}</option>\n </select>\n </div>\n <div class=\"govuk-form-group\" *ngIf=\"!errorMsg && selectedPbaAccount\">\n <label class=\"govuk-label pba-payments-govuk__label pba-payments-24-font\" for=\"pbaAccountNumber\">\n Enter a reference for your PBA account statements \n </label>\n <div id=\"event-name-hint\" class=\"govuk-hint pba-payments-19-font pba-payment-width\">\n This should be your own unique reference to identify the case. It will appear on your statements.\n </div>\n <input class=\"govuk-input pba-payments-ref-box--size pba-payments-19-font\" id=\"pbaAccountRef\" (change)=\"selectpbaaccount($event)\" name=\"pbaAccountRef\" type=\"text\" aria-describedby=\"pbaAccountRef-hint\">\n </div>\n \n </div>\n <div class=\"govuk-radios__item\">\n <input class=\"govuk-radios__input\" id=\"cardPayment\" name=\"paymentSelection\" type=\"radio\" value=\"card\" (click)=\"selectPaymentMethod('CARD')\" data-aria-controls=\"card-payment\">\n <label class=\"govuk-label govuk-radios__label pba-payments-19-font pba-payments-font-bld\" for=\"cardPayment\">\n Pay by credit or debit card\n </label>\n </div>\n </div>\n </fieldset>\n </div>\n\n <div class=\"govuk-button--group\" *ngIf=\"errorMsg\">\n <button type=\"button\" class=\"button pba-payments-19-font govuk-button--secondary pba-payments-margin-10\" (click)=\"gotoCasetransationPage()\">\n View Service Request\n </button>\n <button type=\"submit\" class=\"button pba-payments-19-font pba-payments-20-margin\" (click)=\"cardPayment()\">\n Pay by card\n </button>\n </div>\n <div class=\"govuk-button--group\" *ngIf=\"!errorMsg\">\n <button type=\"submit\" [disabled]=\"isContinueButtondisabled\" class=\"button pba-payments-19-font pba-payments-20-margin\" (click)=\"saveAndContinue()\">\n <span *ngIf=\"!isPBADropdownSelected\">Continue</span>\n <span *ngIf=\"isPBADropdownSelected\">Confirm payment</span>\n </button>\n </div>\n </div>\n<ng-container *ngIf=\"pbaAccountList?.length <= 0 && !errorMsg && isGetPBAAccountSucceed && isCardPaymentSuccess\">\n <div class=\"govuk-width-container\">\n <main class=\"govuk-main-wrapper govuk-main-wrapper--l\" id=\"main-content\" role=\"main\">\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-warning-text\">\n <span class=\"govuk-warning-text__icon\" aria-hidden=\"true\">!</span>\n <strong class=\"govuk-warning-text__text\">\n <span class=\"govuk-warning-text__assistive\">Warning</span>\n <h2 class=\"warning-heading-m\">You don\u2019t have a registered PBA.</h2>\n </strong>\n </div>\n <div class=\"pba-payments-margin-top-10\">\n <h2 class=\"heading-medium\">Pay by credit or debit card</h2>\n <p class=\"govuk-body pba-payments-19-font\">\n We recommend that you apply to get a new PBA to pay for fees.\n </p>\n <p class=\"govuk-bod ypba-payments-19-font\">\n you can also pay by credit or debit card if you need to pay now\n </p>\n <p class=\"govuk-body\">\n <button type=\"submit\" (click)=\"cardPayment()\" class=\"button pba-payments-19-font pba-payments-20-margin\">\n Pay by card\n </button>\n </p>\n \n </div>\n <div class=\"pba-payments-margin-top-10\">\n <h2 class=\"heading-medium\">Register an existing PBA with MyHMCTS</h2>\n <p class=\"govuk-body pba-payments-19-font\">\n You may find it easier in future to pay by PBA, your organisation administrator will need to \n email <a href=\"mailto: MyHMCTSsupport@justice.gov.uk\">MyHMCTSsupport@justice.gov.uk</a> to ask for your PBA to be registered with your \n MyHMCTS account. You should include your organisation name and PBA number.\n </p>\n <p class=\"govuk-body pba-payments-19-font\">\n It can then take up to 3 days for your account to be updated. You\u2019ll need to start your claim \n again to pay the fee.\n </p>\n </div>\n <div class=\"pba-payments-margin-top-10\">\n <h2 class=\"heading-medium\">Apply to get a new PBA </h2>\n <p class=\"govuk-body pba-payments-19-font\">\n You\u2019ll need to provide details for you and your organisation, including the required credit\n limit for your account.\n </p>\n <p class=\"govuk-body pba-payments-19-font\">\n Once your account has been registered, you\u2019ll need to start your claim again to pay the fee.\n </p>\n <p class=\"govuk-body pba-payments-19-font\">\n Read more information on <a target=\"_blank\" href=\"https://www.gov.uk/guidance/hmcts-payment-by-account-for-online-services\">registering for PBA</a>.\n </p>\n </div>\n </div>\n </main>\n </div>\n</ng-container>\n\n<ng-container *ngIf=\"isInSufficiantFund && isCardPaymentSuccess\">\n <div class=\"govuk-width-container\">\n <main class=\"govuk-main-wrapper govuk-main-wrapper--l\" id=\"main-content\" role=\"main\">\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-error-summary pba-payments-error-box--size\" aria-labelledby=\"error-summary-title\">\n <h2 class=\"govuk-error-summary__title govuk-error-summary__title-custom pba-payments-24-font\" id=\"error-summary-title\">\n There is a problem\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li class=\"pba-payments-error-16-font\">\n You don't have enough funds in your PBA account to pay for this fee.\n </li>\n <li class=\"pba-payments-error-16-font\">\n If you have already topped up your PBA account, wait up to 24 hours for the new balance to become available.\n </li>\n </ul>\n </div>\n </div>\n <div class=\"pba-payments-margin-top-10\">\n <h2 class=\"heading-medium\">Should you need any further advice</h2>\n <p class=\"govuk-body pba-payments-19-font\">\n Email <a href=\"mailto:MiddleOffice.DDservices@liberata.com\">MiddleOffice.DDservices@liberata.com</a> or call <a href=\"tel:01633-652-125\">01633 652 125</a> (option 3) to try to fix the issue.\n </p>\n <p class=\"govuk-body pba-payments-19-font\">\n you can also pay by credit or debit card.\n </p>\n <div class=\"govuk-button--group\">\n <button type=\"button\" class=\"button pba-payments-19-font govuk-button--secondary pba-payments-margin-10\" (click)=\"gotoCasetransationPage()\">\n View Service Request\n </button>\n <button type=\"submit\" class=\"button pba-payments-19-font pba-payments-20-margin\" (click)=\"cardPayment()\">\n Pay by card\n </button>\n </div>\n </div>\n </div>\n </main>\n </div>\n</ng-container>\n<ng-container *ngIf=\"isPBAAccountNotExist && isCardPaymentSuccess\">\n <div class=\"govuk-width-container\">\n <main class=\"govuk-main-wrapper govuk-main-wrapper--l\" id=\"main-content\" role=\"main\">\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-error-summary pba-payments-error-box--size\" aria-labelledby=\"error-summary-title\">\n <h2 class=\"govuk-error-summary__title govuk-error-summary__title-custom pba-payments-24-font\" id=\"error-summary-title\">\n There is a problem\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li class=\"pba-payments-error-16-font\">\n Your PBA account ({{selectedPbaAccount}}) no longer exists.\n </li>\n </ul>\n </div>\n </div>\n <div class=\"pba-payments-margin-top-10\">\n <h2 class=\"heading-medium\">Should you need any further advice</h2>\n <p class=\"govuk-body pba-payments-19-font govuk-body-width\">\n Email <a href=\"mailto:MiddleOffice.DDservices@liberata.com\">MiddleOffice.DDservices@liberata.com</a> or call <a href=\"tel:01633-652-125\">01633 652 125</a> (option 3) to try to fix the issue.\n </p>\n <p class=\"govuk-body pba-payments-19-font\">\n you can also pay by credit or debit card.\n </p>\n <div class=\"govuk-button--group\">\n <button type=\"button\" class=\"button pba-payments-19-font govuk-button--secondary pba-payments-margin-10\" (click)=\"gotoCasetransationPage()\">\n View Service Request\n </button>\n <button type=\"submit\" class=\"button pba-payments-19-font pba-payments-20-margin\" (click)=\"cardPayment()\">\n Pay by card\n </button>\n </div>\n </div>\n </div>\n </main>\n </div>\n</ng-container>\n<ng-container *ngIf=\"isPBAAccountHold && isCardPaymentSuccess\">\n <div class=\"govuk-width-container\">\n <main class=\"govuk-main-wrapper govuk-main-wrapper--l\" id=\"main-content\" role=\"main\">\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-error-summary pba-payments-error-box--size\" aria-labelledby=\"error-summary-title\">\n <h2 class=\"govuk-error-summary__title govuk-error-summary__title-custom pba-payments-24-font\" id=\"error-summary-title\">\n There is a problem\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li class=\"pba-payments-error-16-font\">\n Your PBA account ({{selectedPbaAccount}}) has been put on hold.\n </li>\n </ul>\n </div>\n </div>\n <div class=\"pba-payments-margin-top-10\">\n <h2 class=\"heading-medium\">Should you need any further advice</h2>\n <p class=\"govuk-body pba-payments-19-font govuk-body-width\">\n Email <a href=\"mailto:MiddleOffice.DDservices@liberata.com\">MiddleOffice.DDservices@liberata.com</a> or call <a href=\"tel:01633-652-125\">01633 652 125</a> (option 3) to try to fix the issue.\n </p>\n <p class=\"govuk-body pba-payments-19-font\">\n you can also pay by credit or debit card.\n </p>\n <div class=\"govuk-button--group\">\n <button type=\"button\" class=\"button pba-payments-19-font govuk-button--secondary pba-payments-margin-10\" (click)=\"gotoCasetransationPage()\">\n View Service Request\n </button>\n <button type=\"submit\" class=\"button pba-payments-19-font pba-payments-20-margin\" (click)=\"cardPayment()\">\n Pay by card\n </button>\n </div>\n </div>\n </div>\n </main>\n </div>\n</ng-container>\n<ng-container *ngIf=\"isPBAServerError && isCardPaymentSuccess\">\n <div class=\"govuk-width-container\">\n <main class=\"govuk-main-wrapper govuk-main-wrapper--l\" id=\"main-content\" role=\"main\">\n <div class=\"govuk-grid-row\">\n <div class=\"pba-payments-margin-top-10\">\n <h2 class=\"pba-payments-heading-lg\">Sorry, there is a problem with the service</h2>\n <p class=\"govuk-body pba-payments-19-font\">\n Try again later.\n </p>\n <p class=\"govuk-body pba-payments-19-font\">\n you can also pay by credit or debit card.\n </p>\n <div class=\"govuk-button--group\">\n <button type=\"button\" class=\"button pba-payments-19-font govuk-button--secondary pba-payments-margin-10\" (click)=\"gotoCasetransationPage()\">\n View Service Request\n </button>\n <button type=\"submit\" class=\"button pba-payments-19-font pba-payments-20-margin\" (click)=\"cardPayment()\">\n Pay by card\n </button>\n </div>\n </div>\n </div>\n </main>\n </div>\n</ng-container>\n\n<ng-container *ngIf=\"isPBAAccountPaymentSuccess && isCardPaymentSuccess\">\n <div class=\"govuk-width-container\">\n <main class=\"govuk-main-wrapper govuk-main-wrapper--l\" id=\"main-content\" role=\"main\">\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-panel govuk-panel--confirmation pba-payments--confirmation\">\n <h1 class=\"govuk-panel__title pba-payments--title\">\n Payment successful\n </h1>\n <div class=\"govuk-panel__body pba-payments__body\">\n Your payment reference is <br><strong>{{pbaAccountrPaymentResult.payment_reference}}</strong>\n </div>\n </div>\n <p class=\"govuk-body pba-payments-19-font\">\n <a href=\"javascript:void(0)\" (click)=\"gotoCasetransationPage()\">View service requests</a>\n </p>\n </div>\n </main>\n </div>\n</ng-container>\n\n<ng-container *ngIf=\"!isCardPaymentSuccess\">\n <div class=\"govuk-width-container\">\n <main class=\"govuk-main-wrapper govuk-main-wrapper--l\" id=\"main-content\" role=\"main\">\n <div class=\"govuk-grid-row\">\n <div class=\"pba-payments-margin-top-10\">\n <h2 class=\"pba-payments-heading-lg\">Sorry, there is a problem with the service</h2>\n <p class=\"govuk-body pba-payments-19-font\">\n Try again later.\n </p>\n <!-- <p class=\"govuk-body pba-payments-19-font\">\n you can also <a href=\"javascript:void(0)\" (click)=\"cardPayment()\" >pay by credit or debit card</a>.\n </p> -->\n <p class=\"govuk-body pba-payments-19-font\">\n <a href=\"javascript:void(0)\" (click)=\"gotoCasetransationPage()\">View service requests</a>\n </p>\n </div>\n </div>\n </main>\n </div>\n</ng-container>\n</ng-container>\n\n\n\n",
205
- styles: [".pba-payments-govuk__label{font-weight:700;line-height:1.31578947}.pba-payments-19-font{font-size:19px}.pba-payments-font-bld{font-weight:700}.pba-payments-16-font{font-size:16px}.pba-payments-24-font{font-size:24px}.pba-payments-20-margin{margin-bottom:20px}.pba-payments-select-box--size{width:40%}.pba-payments-error-box--size{width:80%}.pba-payments-ref-box--size{width:60%}.pba-payments-error-16-font{font-size:16px;line-height:34px}.pba-payments-margin-10{margin-right:10px}.pba-payments-margin-top-10{margin-top:15px}.pba-payments-heading-lg{font-size:40px;font-weight:700;line-height:72px}.pba-payments--confirmation{background:#00703c!important}.pba-payments__body{font-size:36px!important}.pba-payments--title{font-size:48px!important}.warning-heading-m{font-size:29px;font-weight:700}.pba-payment-width{width:75%}.margin-top-10-px{margin-top:10px}.govuk-error-summary:focus{outline:#fd0 solid 3px}.govuk-body-width{width:750px}"]
206
- }] }
207
- ];
208
- /** @nocollapse */
209
- PbaPaymentComponent.ctorParameters = function () { return [
210
- { type: PaymentLibComponent },
211
- { type: PaymentViewService }
212
- ]; };
213
- PbaPaymentComponent.propDecorators = {
214
- pbaPayOrderRef: [{ type: Input }]
215
- };
216
- return PbaPaymentComponent;
217
- }());
218
- export { PbaPaymentComponent };
219
- if (false) {
220
- /** @type {?} */
221
- PbaPaymentComponent.prototype.pbaPayOrderRef;
222
- /** @type {?} */
223
- PbaPaymentComponent.prototype.viewStatus;
224
- /** @type {?} */
225
- PbaPaymentComponent.prototype.pbaAccountList;
226
- /** @type {?} */
227
- PbaPaymentComponent.prototype.isPBAAccountHold;
228
- /** @type {?} */
229
- PbaPaymentComponent.prototype.errorMsg;
230
- /** @type {?} */
231
- PbaPaymentComponent.prototype.isCardPaymentSuccess;
232
- /** @type {?} */
233
- PbaPaymentComponent.prototype.isInSufficiantFund;
234
- /** @type {?} */
235
- PbaPaymentComponent.prototype.isPBAAccountNotExist;
236
- /** @type {?} */
237
- PbaPaymentComponent.prototype.isPBAServerError;
238
- /** @type {?} */
239
- PbaPaymentComponent.prototype.isGetPBAAccountSucceed;
240
- /** @type {?} */
241
- PbaPaymentComponent.prototype.selectedPbaAccount;
242
- /** @type {?} */
243
- PbaPaymentComponent.prototype.pbaAccountRef;
244
- /** @type {?} */
245
- PbaPaymentComponent.prototype.isPbaAccountSelected;
246
- /** @type {?} */
247
- PbaPaymentComponent.prototype.isCardPaymentSelected;
248
- /** @type {?} */
249
- PbaPaymentComponent.prototype.isPBADropdownSelected;
250
- /** @type {?} */
251
- PbaPaymentComponent.prototype.isContinueButtondisabled;
252
- /** @type {?} */
253
- PbaPaymentComponent.prototype.isPBAAccountPaymentSuccess;
254
- /** @type {?} */
255
- PbaPaymentComponent.prototype.pbaAccountrPaymentResult;
256
- /** @type {?} */
257
- PbaPaymentComponent.prototype.orgName;
258
- /**
259
- * @type {?}
260
- * @private
261
- */
262
- PbaPaymentComponent.prototype.paymentLibComponent;
263
- /**
264
- * @type {?}
265
- * @private
266
- */
267
- PbaPaymentComponent.prototype.paymentViewService;
268
- }
269
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGJhLXBheW1lbnQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGhtY3RzL2NjcGF5LXdlYi1jb21wb25lbnQvIiwic291cmNlcyI6WyJsaWIvY29tc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