@hmcts/ccpay-web-component 5.0.10-beta07 → 5.0.10-beta09

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 +8705 -5098
  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 +6 -2
  6. package/esm2015/lib/components/add-remission/add-remission.component.js +406 -33
  7. package/esm2015/lib/components/allocate-payments/allocate-payments.component.js +348 -37
  8. package/esm2015/lib/components/card-details/card-details.component.js +46 -3
  9. package/esm2015/lib/components/case-transactions/case-transactions.component.js +686 -106
  10. package/esm2015/lib/components/error-banner/error-banner.component.js +14 -2
  11. package/esm2015/lib/components/fee-summary/fee-summary.component.js +254 -28
  12. package/esm2015/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.js +180 -22
  13. package/esm2015/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.js +224 -26
  14. package/esm2015/lib/components/page-not-found.component.js +6 -2
  15. package/esm2015/lib/components/payment-list/payment-list.component.js +47 -3
  16. package/esm2015/lib/components/payment-view/payment-view.component.js +335 -38
  17. package/esm2015/lib/components/pba-details/pba-details.component.js +15 -3
  18. package/esm2015/lib/components/pba-payment/pba-payment.component.js +119 -12
  19. package/esm2015/lib/components/process-refund/process-refund.component.js +177 -15
  20. package/esm2015/lib/components/processed-payments/processed-payments.component.js +41 -3
  21. package/esm2015/lib/components/refund-list/refund-list.component.js +77 -9
  22. package/esm2015/lib/components/refund-status/refund-status.component.js +255 -23
  23. package/esm2015/lib/components/reports/reports.component.js +211 -20
  24. package/esm2015/lib/components/service-request/service-request.component.js +369 -35
  25. package/esm2015/lib/components/status-history/status-history.component.js +44 -4
  26. package/esm2015/lib/components/table/table.component.js +105 -5
  27. package/esm2015/lib/components/unprocessed-payments/unprocessed-payments.component.js +184 -12
  28. package/esm2015/lib/interfaces/AddRemissionRequest.js +28 -1
  29. package/esm2015/lib/interfaces/AddRetroRemissionRequest.js +15 -1
  30. package/esm2015/lib/interfaces/AllocatePaymentRequest.js +42 -1
  31. package/esm2015/lib/interfaces/IAllocationPaymentsRequest.js +26 -1
  32. package/esm2015/lib/interfaces/IBSPayments.js +45 -2
  33. package/esm2015/lib/interfaces/ICardDetails.js +21 -2
  34. package/esm2015/lib/interfaces/IFee.js +53 -2
  35. package/esm2015/lib/interfaces/IOrderReferenceFee.js +25 -2
  36. package/esm2015/lib/interfaces/IPatchRefundAction.js +15 -2
  37. package/esm2015/lib/interfaces/IPayment.js +65 -2
  38. package/esm2015/lib/interfaces/IPaymentFailure.js +33 -2
  39. package/esm2015/lib/interfaces/IPaymentGroup.js +19 -2
  40. package/esm2015/lib/interfaces/IPaymentStatus.js +25 -1
  41. package/esm2015/lib/interfaces/IPaymentView.js +17 -2
  42. package/esm2015/lib/interfaces/IPayments.js +13 -2
  43. package/esm2015/lib/interfaces/IRefundAction.js +15 -2
  44. package/esm2015/lib/interfaces/IRefundList.js +29 -2
  45. package/esm2015/lib/interfaces/IRefundReasons.js +19 -2
  46. package/esm2015/lib/interfaces/IRefundRejectReason.js +15 -2
  47. package/esm2015/lib/interfaces/IRefundStatus.js +23 -2
  48. package/esm2015/lib/interfaces/IRefundStatusHistory.js +15 -2
  49. package/esm2015/lib/interfaces/IRemission.js +25 -2
  50. package/esm2015/lib/interfaces/IResubmitRefundRequest.js +15 -1
  51. package/esm2015/lib/interfaces/IStatusHistories.js +19 -2
  52. package/esm2015/lib/interfaces/IStatusHistory.js +21 -2
  53. package/esm2015/lib/interfaces/IserviceRequestCardPayment.js +16 -1
  54. package/esm2015/lib/interfaces/IserviceRequestPbaPayment.js +23 -1
  55. package/esm2015/lib/interfaces/IssueRefundRequest.js +18 -1
  56. package/esm2015/lib/interfaces/PayhubAntennaRequest.js +21 -2
  57. package/esm2015/lib/interfaces/PaymentToPayhubRequest.js +27 -2
  58. package/esm2015/lib/interfaces/PostIssueRefundRetroRemission.js +12 -1
  59. package/esm2015/lib/interfaces/PostRefundRetroRemission.js +15 -1
  60. package/esm2015/lib/interfaces/RefundsRequest.js +15 -1
  61. package/esm2015/lib/interfaces/UnidentifiedPaymentsRequest.js +20 -1
  62. package/esm2015/lib/interfaces/UnsolicitedPaymentsRequest.js +29 -1
  63. package/esm2015/lib/payment-lib.component.js +147 -2
  64. package/esm2015/lib/payment-lib.module.js +5 -1
  65. package/esm2015/lib/payment-lib.service.js +45 -2
  66. package/esm2015/lib/pipes/capitalize.pipe.js +11 -1
  67. package/esm2015/lib/pipes/ccd-hyphens.pipe.js +12 -1
  68. package/esm2015/lib/pipes/key-value.pipe.js +11 -1
  69. package/esm2015/lib/pipes/sanitize-html.pipe.js +20 -1
  70. package/esm2015/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.js +102 -9
  71. package/esm2015/lib/services/card-details/card-details.service.js +39 -2
  72. package/esm2015/lib/services/case-transactions/case-transactions.service.js +39 -2
  73. package/esm2015/lib/services/orderslist.service.js +251 -2
  74. package/esm2015/lib/services/payment-list/payment-list.service.js +42 -2
  75. package/esm2015/lib/services/payment-view/payment-view.service.js +168 -3
  76. package/esm2015/lib/services/refunds/refunds.service.js +109 -7
  77. package/esm2015/lib/services/shared/error-handler.service.js +19 -2
  78. package/esm2015/lib/services/shared/httpclient/webcomponent.http.client.js +82 -6
  79. package/esm2015/lib/services/shared/logger/console-logger.service.js +27 -3
  80. package/esm2015/lib/services/shared/logger/logger.service.js +35 -3
  81. package/esm2015/lib/services/status-history/status-history.service.js +40 -2
  82. package/esm2015/lib/services/xl-file/xl-file.service.js +60 -2
  83. package/esm2015/public_api.js +8 -4
  84. package/esm5/hmcts-ccpay-web-component.js +48 -0
  85. package/esm5/lib/components/add-remission/add-remission.component.js +1146 -0
  86. package/esm5/lib/components/allocate-payments/allocate-payments.component.js +745 -0
  87. package/esm5/lib/components/card-details/card-details.component.js +77 -0
  88. package/esm5/lib/components/case-transactions/case-transactions.component.js +1448 -0
  89. package/esm5/lib/components/error-banner/error-banner.component.js +36 -0
  90. package/esm5/lib/components/fee-summary/fee-summary.component.js +504 -0
  91. package/esm5/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.js +371 -0
  92. package/esm5/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.js +474 -0
  93. package/esm5/lib/components/page-not-found.component.js +17 -0
  94. package/esm5/lib/components/payment-list/payment-list.component.js +83 -0
  95. package/esm5/lib/components/payment-view/payment-view.component.js +673 -0
  96. package/esm5/lib/components/pba-details/pba-details.component.js +36 -0
  97. package/esm5/lib/components/pba-payment/pba-payment.component.js +269 -0
  98. package/esm5/lib/components/process-refund/process-refund.component.js +536 -0
  99. package/esm5/lib/components/processed-payments/processed-payments.component.js +83 -0
  100. package/esm5/lib/components/refund-list/refund-list.component.js +130 -0
  101. package/esm5/lib/components/refund-status/refund-status.component.js +554 -0
  102. package/esm5/lib/components/reports/reports.component.js +515 -0
  103. package/esm5/lib/components/service-request/service-request.component.js +690 -0
  104. package/esm5/lib/components/status-history/status-history.component.js +70 -0
  105. package/esm5/lib/components/table/table.component.js +229 -0
  106. package/esm5/lib/components/unprocessed-payments/unprocessed-payments.component.js +418 -0
  107. package/esm5/lib/interfaces/AddRemissionRequest.js +32 -0
  108. package/esm5/lib/interfaces/AddRetroRemissionRequest.js +19 -0
  109. package/esm5/lib/interfaces/AllocatePaymentRequest.js +63 -0
  110. package/esm5/lib/interfaces/IAllocationPaymentsRequest.js +34 -0
  111. package/esm5/lib/interfaces/IBSPayments.js +45 -0
  112. package/esm5/lib/interfaces/ICardDetails.js +21 -0
  113. package/esm5/lib/interfaces/IFee.js +53 -0
  114. package/esm5/lib/interfaces/IOrderReferenceFee.js +25 -0
  115. package/esm5/lib/interfaces/IPatchRefundAction.js +15 -0
  116. package/esm5/lib/interfaces/IPayment.js +65 -0
  117. package/esm5/lib/interfaces/IPaymentFailure.js +33 -0
  118. package/esm5/lib/interfaces/IPaymentGroup.js +19 -0
  119. package/esm5/lib/interfaces/IPaymentStatus.js +31 -0
  120. package/esm5/lib/interfaces/IPaymentView.js +17 -0
  121. package/esm5/lib/interfaces/IPayments.js +13 -0
  122. package/esm5/lib/interfaces/IRefundAction.js +15 -0
  123. package/esm5/lib/interfaces/IRefundList.js +29 -0
  124. package/esm5/lib/interfaces/IRefundReasons.js +19 -0
  125. package/esm5/lib/interfaces/IRefundRejectReason.js +15 -0
  126. package/esm5/lib/interfaces/IRefundStatus.js +23 -0
  127. package/esm5/lib/interfaces/IRefundStatusHistory.js +15 -0
  128. package/esm5/lib/interfaces/IRemission.js +25 -0
  129. package/esm5/lib/interfaces/IResubmitRefundRequest.js +19 -0
  130. package/esm5/lib/interfaces/IStatusHistories.js +19 -0
  131. package/esm5/lib/interfaces/IStatusHistory.js +21 -0
  132. package/esm5/lib/interfaces/IserviceRequestCardPayment.js +22 -0
  133. package/esm5/lib/interfaces/IserviceRequestPbaPayment.js +28 -0
  134. package/esm5/lib/interfaces/IssueRefundRequest.js +22 -0
  135. package/esm5/lib/interfaces/PayhubAntennaRequest.js +25 -0
  136. package/esm5/lib/interfaces/PaymentToPayhubRequest.js +34 -0
  137. package/esm5/lib/interfaces/PostIssueRefundRetroRemission.js +16 -0
  138. package/esm5/lib/interfaces/PostRefundRetroRemission.js +19 -0
  139. package/esm5/lib/interfaces/RefundsRequest.js +19 -0
  140. package/esm5/lib/interfaces/UnidentifiedPaymentsRequest.js +28 -0
  141. package/esm5/lib/interfaces/UnsolicitedPaymentsRequest.js +37 -0
  142. package/esm5/lib/payment-lib.component.js +237 -0
  143. package/esm5/lib/payment-lib.module.js +103 -0
  144. package/esm5/lib/payment-lib.service.js +111 -0
  145. package/esm5/lib/pipes/capitalize.pipe.js +32 -0
  146. package/esm5/lib/pipes/ccd-hyphens.pipe.js +37 -0
  147. package/esm5/lib/pipes/key-value.pipe.js +37 -0
  148. package/esm5/lib/pipes/sanitize-html.pipe.js +39 -0
  149. package/esm5/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.js +218 -0
  150. package/esm5/lib/services/card-details/card-details.service.js +76 -0
  151. package/esm5/lib/services/case-transactions/case-transactions.service.js +76 -0
  152. package/esm5/lib/services/orderslist.service.js +531 -0
  153. package/esm5/lib/services/payment-list/payment-list.service.js +80 -0
  154. package/esm5/lib/services/payment-view/payment-view.service.js +416 -0
  155. package/esm5/lib/services/refunds/refunds.service.js +256 -0
  156. package/esm5/lib/services/shared/error-handler.service.js +127 -0
  157. package/esm5/lib/services/shared/httpclient/webcomponent.http.client.js +167 -0
  158. package/esm5/lib/services/shared/logger/console-logger.service.js +88 -0
  159. package/esm5/lib/services/shared/logger/logger.service.js +68 -0
  160. package/esm5/lib/services/status-history/status-history.service.js +80 -0
  161. package/esm5/lib/services/xl-file/xl-file.service.js +254 -0
  162. package/esm5/public_api.js +11 -0
  163. package/fesm2015/hmcts-ccpay-web-component.js +3543 -539
  164. package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
  165. package/fesm5/hmcts-ccpay-web-component.js +10021 -0
  166. package/fesm5/hmcts-ccpay-web-component.js.map +1 -0
  167. package/hmcts-ccpay-web-component.d.ts +0 -1
  168. package/hmcts-ccpay-web-component.metadata.json +1 -1
  169. package/lib/components/add-remission/add-remission.component.d.ts +0 -1
  170. package/lib/components/allocate-payments/allocate-payments.component.d.ts +0 -1
  171. package/lib/components/card-details/card-details.component.d.ts +1 -2
  172. package/lib/components/case-transactions/case-transactions.component.d.ts +1 -2
  173. package/lib/components/error-banner/error-banner.component.d.ts +0 -1
  174. package/lib/components/fee-summary/fee-summary.component.d.ts +0 -1
  175. package/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.d.ts +0 -1
  176. package/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.d.ts +0 -1
  177. package/lib/components/page-not-found.component.d.ts +0 -1
  178. package/lib/components/payment-list/payment-list.component.d.ts +0 -1
  179. package/lib/components/payment-view/payment-view.component.d.ts +2 -3
  180. package/lib/components/pba-details/pba-details.component.d.ts +0 -1
  181. package/lib/components/pba-payment/pba-payment.component.d.ts +0 -1
  182. package/lib/components/process-refund/process-refund.component.d.ts +0 -1
  183. package/lib/components/processed-payments/processed-payments.component.d.ts +0 -1
  184. package/lib/components/refund-list/refund-list.component.d.ts +0 -1
  185. package/lib/components/refund-status/refund-status.component.d.ts +0 -1
  186. package/lib/components/reports/reports.component.d.ts +0 -1
  187. package/lib/components/service-request/service-request.component.d.ts +0 -1
  188. package/lib/components/status-history/status-history.component.d.ts +0 -1
  189. package/lib/components/table/table.component.d.ts +0 -1
  190. package/lib/components/unprocessed-payments/unprocessed-payments.component.d.ts +0 -1
  191. package/lib/interfaces/AddRemissionRequest.d.ts +0 -1
  192. package/lib/interfaces/AddRetroRemissionRequest.d.ts +0 -1
  193. package/lib/interfaces/AllocatePaymentRequest.d.ts +0 -1
  194. package/lib/interfaces/IAllocationPaymentsRequest.d.ts +0 -1
  195. package/lib/interfaces/IBSPayments.d.ts +0 -1
  196. package/lib/interfaces/ICardDetails.d.ts +0 -1
  197. package/lib/interfaces/IFee.d.ts +0 -1
  198. package/lib/interfaces/IOrderReferenceFee.d.ts +0 -1
  199. package/lib/interfaces/IPatchRefundAction.d.ts +0 -1
  200. package/lib/interfaces/IPayment.d.ts +0 -1
  201. package/lib/interfaces/IPaymentFailure.d.ts +0 -1
  202. package/lib/interfaces/IPaymentGroup.d.ts +0 -1
  203. package/lib/interfaces/IPaymentStatus.d.ts +0 -1
  204. package/lib/interfaces/IPaymentView.d.ts +0 -1
  205. package/lib/interfaces/IPayments.d.ts +0 -1
  206. package/lib/interfaces/IRefundAction.d.ts +0 -1
  207. package/lib/interfaces/IRefundList.d.ts +0 -1
  208. package/lib/interfaces/IRefundReasons.d.ts +0 -1
  209. package/lib/interfaces/IRefundRejectReason.d.ts +0 -1
  210. package/lib/interfaces/IRefundStatus.d.ts +0 -1
  211. package/lib/interfaces/IRefundStatusHistory.d.ts +0 -1
  212. package/lib/interfaces/IRemission.d.ts +0 -1
  213. package/lib/interfaces/IResubmitRefundRequest.d.ts +0 -1
  214. package/lib/interfaces/IStatusHistories.d.ts +0 -1
  215. package/lib/interfaces/IStatusHistory.d.ts +0 -1
  216. package/lib/interfaces/IserviceRequestCardPayment.d.ts +0 -1
  217. package/lib/interfaces/IserviceRequestPbaPayment.d.ts +0 -1
  218. package/lib/interfaces/IssueRefundRequest.d.ts +0 -1
  219. package/lib/interfaces/PayhubAntennaRequest.d.ts +0 -1
  220. package/lib/interfaces/PaymentToPayhubRequest.d.ts +0 -1
  221. package/lib/interfaces/PostIssueRefundRetroRemission.d.ts +0 -1
  222. package/lib/interfaces/PostRefundRetroRemission.d.ts +0 -1
  223. package/lib/interfaces/RefundsRequest.d.ts +0 -1
  224. package/lib/interfaces/UnidentifiedPaymentsRequest.d.ts +0 -1
  225. package/lib/interfaces/UnsolicitedPaymentsRequest.d.ts +0 -1
  226. package/lib/payment-lib.component.d.ts +0 -1
  227. package/lib/payment-lib.module.d.ts +0 -1
  228. package/lib/payment-lib.service.d.ts +0 -1
  229. package/lib/pipes/capitalize.pipe.d.ts +0 -1
  230. package/lib/pipes/ccd-hyphens.pipe.d.ts +0 -1
  231. package/lib/pipes/key-value.pipe.d.ts +0 -1
  232. package/lib/pipes/sanitize-html.pipe.d.ts +0 -1
  233. package/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.d.ts +0 -1
  234. package/lib/services/card-details/card-details.service.d.ts +0 -1
  235. package/lib/services/case-transactions/case-transactions.service.d.ts +0 -1
  236. package/lib/services/orderslist.service.d.ts +0 -1
  237. package/lib/services/payment-list/payment-list.service.d.ts +0 -1
  238. package/lib/services/payment-view/payment-view.service.d.ts +0 -1
  239. package/lib/services/refunds/refunds.service.d.ts +0 -1
  240. package/lib/services/shared/error-handler.service.d.ts +0 -1
  241. package/lib/services/shared/httpclient/webcomponent.http.client.d.ts +0 -1
  242. package/lib/services/shared/logger/console-logger.service.d.ts +3 -4
  243. package/lib/services/shared/logger/logger.service.d.ts +0 -1
  244. package/lib/services/status-history/status-history.service.d.ts +0 -1
  245. package/lib/services/xl-file/xl-file.service.d.ts +0 -1
  246. package/package.json +8 -6
  247. package/public_api.d.ts +0 -1
  248. package/hmcts-ccpay-web-component.d.ts.map +0 -1
  249. package/lib/components/add-remission/add-remission.component.d.ts.map +0 -1
  250. package/lib/components/add-remission/add-remission.component.ngfactory.d.ts.map +0 -1
  251. package/lib/components/add-remission/add-remission.component.scss.shim.ngstyle.d.ts.map +0 -1
  252. package/lib/components/allocate-payments/allocate-payments.component.d.ts.map +0 -1
  253. package/lib/components/allocate-payments/allocate-payments.component.ngfactory.d.ts.map +0 -1
  254. package/lib/components/allocate-payments/allocate-payments.component.scss.shim.ngstyle.d.ts.map +0 -1
  255. package/lib/components/card-details/card-details.component.css.shim.ngstyle.d.ts.map +0 -1
  256. package/lib/components/card-details/card-details.component.d.ts.map +0 -1
  257. package/lib/components/card-details/card-details.component.ngfactory.d.ts.map +0 -1
  258. package/lib/components/case-transactions/case-transactions.component.css.shim.ngstyle.d.ts.map +0 -1
  259. package/lib/components/case-transactions/case-transactions.component.d.ts.map +0 -1
  260. package/lib/components/case-transactions/case-transactions.component.ngfactory.d.ts.map +0 -1
  261. package/lib/components/error-banner/error-banner.component.d.ts.map +0 -1
  262. package/lib/components/error-banner/error-banner.component.ngfactory.d.ts.map +0 -1
  263. package/lib/components/error-banner/error-banner.component.scss.shim.ngstyle.d.ts.map +0 -1
  264. package/lib/components/fee-summary/fee-summary.component.d.ts.map +0 -1
  265. package/lib/components/fee-summary/fee-summary.component.ngfactory.d.ts.map +0 -1
  266. package/lib/components/fee-summary/fee-summary.component.scss.shim.ngstyle.d.ts.map +0 -1
  267. package/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.d.ts.map +0 -1
  268. package/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.ngfactory.d.ts.map +0 -1
  269. package/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.scss.shim.ngstyle.d.ts.map +0 -1
  270. package/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.d.ts.map +0 -1
  271. package/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.ngfactory.d.ts.map +0 -1
  272. package/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.scss.shim.ngstyle.d.ts.map +0 -1
  273. package/lib/components/page-not-found.component.d.ts.map +0 -1
  274. package/lib/components/page-not-found.component.ngfactory.d.ts.map +0 -1
  275. package/lib/components/payment-list/payment-list.component.css.shim.ngstyle.d.ts.map +0 -1
  276. package/lib/components/payment-list/payment-list.component.d.ts.map +0 -1
  277. package/lib/components/payment-list/payment-list.component.ngfactory.d.ts.map +0 -1
  278. package/lib/components/payment-view/payment-view.component.css.shim.ngstyle.d.ts.map +0 -1
  279. package/lib/components/payment-view/payment-view.component.d.ts.map +0 -1
  280. package/lib/components/payment-view/payment-view.component.ngfactory.d.ts.map +0 -1
  281. package/lib/components/pba-details/pba-details.component.css.shim.ngstyle.d.ts.map +0 -1
  282. package/lib/components/pba-details/pba-details.component.d.ts.map +0 -1
  283. package/lib/components/pba-details/pba-details.component.ngfactory.d.ts.map +0 -1
  284. package/lib/components/pba-payment/pba-payment.component.d.ts.map +0 -1
  285. package/lib/components/pba-payment/pba-payment.component.ngfactory.d.ts.map +0 -1
  286. package/lib/components/pba-payment/pba-payment.component.scss.shim.ngstyle.d.ts.map +0 -1
  287. package/lib/components/process-refund/process-refund.component.css.shim.ngstyle.d.ts.map +0 -1
  288. package/lib/components/process-refund/process-refund.component.d.ts.map +0 -1
  289. package/lib/components/process-refund/process-refund.component.ngfactory.d.ts.map +0 -1
  290. package/lib/components/processed-payments/processed-payments.component.d.ts.map +0 -1
  291. package/lib/components/processed-payments/processed-payments.component.ngfactory.d.ts.map +0 -1
  292. package/lib/components/processed-payments/processed-payments.component.scss.shim.ngstyle.d.ts.map +0 -1
  293. package/lib/components/refund-list/refund-list.component.css.shim.ngstyle.d.ts.map +0 -1
  294. package/lib/components/refund-list/refund-list.component.d.ts.map +0 -1
  295. package/lib/components/refund-list/refund-list.component.ngfactory.d.ts.map +0 -1
  296. package/lib/components/refund-status/refund-status.component.css.shim.ngstyle.d.ts.map +0 -1
  297. package/lib/components/refund-status/refund-status.component.d.ts.map +0 -1
  298. package/lib/components/refund-status/refund-status.component.ngfactory.d.ts.map +0 -1
  299. package/lib/components/reports/reports.component.d.ts.map +0 -1
  300. package/lib/components/reports/reports.component.ngfactory.d.ts.map +0 -1
  301. package/lib/components/reports/reports.component.scss.shim.ngstyle.d.ts.map +0 -1
  302. package/lib/components/service-request/service-request.component.css.shim.ngstyle.d.ts.map +0 -1
  303. package/lib/components/service-request/service-request.component.d.ts.map +0 -1
  304. package/lib/components/service-request/service-request.component.ngfactory.d.ts.map +0 -1
  305. package/lib/components/status-history/status-history.component.css.shim.ngstyle.d.ts.map +0 -1
  306. package/lib/components/status-history/status-history.component.d.ts.map +0 -1
  307. package/lib/components/status-history/status-history.component.ngfactory.d.ts.map +0 -1
  308. package/lib/components/table/table.component.css.shim.ngstyle.d.ts.map +0 -1
  309. package/lib/components/table/table.component.d.ts.map +0 -1
  310. package/lib/components/table/table.component.ngfactory.d.ts.map +0 -1
  311. package/lib/components/unprocessed-payments/unprocessed-payments.component.d.ts.map +0 -1
  312. package/lib/components/unprocessed-payments/unprocessed-payments.component.ngfactory.d.ts.map +0 -1
  313. package/lib/components/unprocessed-payments/unprocessed-payments.component.scss.shim.ngstyle.d.ts.map +0 -1
  314. package/lib/interfaces/AddRemissionRequest.d.ts.map +0 -1
  315. package/lib/interfaces/AddRetroRemissionRequest.d.ts.map +0 -1
  316. package/lib/interfaces/AllocatePaymentRequest.d.ts.map +0 -1
  317. package/lib/interfaces/IAllocationPaymentsRequest.d.ts.map +0 -1
  318. package/lib/interfaces/IBSPayments.d.ts.map +0 -1
  319. package/lib/interfaces/ICardDetails.d.ts.map +0 -1
  320. package/lib/interfaces/IFee.d.ts.map +0 -1
  321. package/lib/interfaces/IOrderReferenceFee.d.ts.map +0 -1
  322. package/lib/interfaces/IPatchRefundAction.d.ts.map +0 -1
  323. package/lib/interfaces/IPayment.d.ts.map +0 -1
  324. package/lib/interfaces/IPaymentFailure.d.ts.map +0 -1
  325. package/lib/interfaces/IPaymentGroup.d.ts.map +0 -1
  326. package/lib/interfaces/IPaymentStatus.d.ts.map +0 -1
  327. package/lib/interfaces/IPaymentView.d.ts.map +0 -1
  328. package/lib/interfaces/IPayments.d.ts.map +0 -1
  329. package/lib/interfaces/IRefundAction.d.ts.map +0 -1
  330. package/lib/interfaces/IRefundList.d.ts.map +0 -1
  331. package/lib/interfaces/IRefundReasons.d.ts.map +0 -1
  332. package/lib/interfaces/IRefundRejectReason.d.ts.map +0 -1
  333. package/lib/interfaces/IRefundStatus.d.ts.map +0 -1
  334. package/lib/interfaces/IRefundStatusHistory.d.ts.map +0 -1
  335. package/lib/interfaces/IRemission.d.ts.map +0 -1
  336. package/lib/interfaces/IResubmitRefundRequest.d.ts.map +0 -1
  337. package/lib/interfaces/IStatusHistories.d.ts.map +0 -1
  338. package/lib/interfaces/IStatusHistory.d.ts.map +0 -1
  339. package/lib/interfaces/IserviceRequestCardPayment.d.ts.map +0 -1
  340. package/lib/interfaces/IserviceRequestPbaPayment.d.ts.map +0 -1
  341. package/lib/interfaces/IssueRefundRequest.d.ts.map +0 -1
  342. package/lib/interfaces/PayhubAntennaRequest.d.ts.map +0 -1
  343. package/lib/interfaces/PaymentToPayhubRequest.d.ts.map +0 -1
  344. package/lib/interfaces/PostIssueRefundRetroRemission.d.ts.map +0 -1
  345. package/lib/interfaces/PostRefundRetroRemission.d.ts.map +0 -1
  346. package/lib/interfaces/RefundsRequest.d.ts.map +0 -1
  347. package/lib/interfaces/UnidentifiedPaymentsRequest.d.ts.map +0 -1
  348. package/lib/interfaces/UnsolicitedPaymentsRequest.d.ts.map +0 -1
  349. package/lib/payment-lib.component.d.ts.map +0 -1
  350. package/lib/payment-lib.component.ngfactory.d.ts.map +0 -1
  351. package/lib/payment-lib.module.d.ts.map +0 -1
  352. package/lib/payment-lib.module.ngfactory.d.ts.map +0 -1
  353. package/lib/payment-lib.service.d.ts.map +0 -1
  354. package/lib/payment-lib.service.ngfactory.d.ts.map +0 -1
  355. package/lib/pipes/capitalize.pipe.d.ts.map +0 -1
  356. package/lib/pipes/capitalize.pipe.ngfactory.d.ts.map +0 -1
  357. package/lib/pipes/ccd-hyphens.pipe.d.ts.map +0 -1
  358. package/lib/pipes/ccd-hyphens.pipe.ngfactory.d.ts.map +0 -1
  359. package/lib/pipes/key-value.pipe.d.ts.map +0 -1
  360. package/lib/pipes/key-value.pipe.ngfactory.d.ts.map +0 -1
  361. package/lib/pipes/sanitize-html.pipe.d.ts.map +0 -1
  362. package/lib/pipes/sanitize-html.pipe.ngfactory.d.ts.map +0 -1
  363. package/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.d.ts.map +0 -1
  364. package/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.ngfactory.d.ts.map +0 -1
  365. package/lib/services/card-details/card-details.service.d.ts.map +0 -1
  366. package/lib/services/card-details/card-details.service.ngfactory.d.ts.map +0 -1
  367. package/lib/services/case-transactions/case-transactions.service.d.ts.map +0 -1
  368. package/lib/services/case-transactions/case-transactions.service.ngfactory.d.ts.map +0 -1
  369. package/lib/services/orderslist.service.d.ts.map +0 -1
  370. package/lib/services/orderslist.service.ngfactory.d.ts.map +0 -1
  371. package/lib/services/payment-list/payment-list.service.d.ts.map +0 -1
  372. package/lib/services/payment-list/payment-list.service.ngfactory.d.ts.map +0 -1
  373. package/lib/services/payment-view/payment-view.service.d.ts.map +0 -1
  374. package/lib/services/payment-view/payment-view.service.ngfactory.d.ts.map +0 -1
  375. package/lib/services/refunds/refunds.service.d.ts.map +0 -1
  376. package/lib/services/refunds/refunds.service.ngfactory.d.ts.map +0 -1
  377. package/lib/services/shared/error-handler.service.d.ts.map +0 -1
  378. package/lib/services/shared/error-handler.service.ngfactory.d.ts.map +0 -1
  379. package/lib/services/shared/httpclient/webcomponent.http.client.d.ts.map +0 -1
  380. package/lib/services/shared/httpclient/webcomponent.http.client.ngfactory.d.ts.map +0 -1
  381. package/lib/services/shared/logger/console-logger.service.d.ts.map +0 -1
  382. package/lib/services/shared/logger/console-logger.service.ngfactory.d.ts.map +0 -1
  383. package/lib/services/shared/logger/logger.service.d.ts.map +0 -1
  384. package/lib/services/shared/logger/logger.service.ngfactory.d.ts.map +0 -1
  385. package/lib/services/status-history/status-history.service.d.ts.map +0 -1
  386. package/lib/services/status-history/status-history.service.ngfactory.d.ts.map +0 -1
  387. package/lib/services/xl-file/xl-file.service.d.ts.map +0 -1
  388. package/lib/services/xl-file/xl-file.service.ngfactory.d.ts.map +0 -1
  389. package/public_api.d.ts.map +0 -1
@@ -0,0 +1,36 @@
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=
@@ -0,0 +1,269 @@
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGJhLXBheW1lbnQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGhtY3RzL2NjcGF5LXdlYi1jb21wb25lbnQvIiwic291cmNlcyI6WyJsaWIvY29tcG9uZW50cy9wYmEtcGF5bWVudC9wYmEtcGF5bWVudC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQVUsS0FBSyxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQ3hELE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLGtEQUFrRCxDQUFDO0FBQ3RGLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLDZCQUE2QixDQUFDO0FBQ2xFLE9BQU8sRUFBRSwwQkFBMEIsRUFBRSxNQUFNLDZDQUE2QyxDQUFDO0FBQ3pGLE9BQU8sRUFBRSx5QkFBeUIsRUFBRSxNQUFNLDRDQUE0QyxDQUFDOztJQUVqRixjQUFjLEdBQUcsdUJBQXVCO0FBRTlDO0lBMEJFLDZCQUFxQixtQkFBd0MsRUFDbkQsa0JBQXNDO1FBRDNCLHdCQUFtQixHQUFuQixtQkFBbUIsQ0FBcUI7UUFDbkQsdUJBQWtCLEdBQWxCLGtCQUFrQixDQUFvQjtRQWxCaEQscUJBQWdCLEdBQVksS0FBSyxDQUFDO1FBRWxDLHlCQUFvQixHQUFZLElBQUksQ0FBQztRQUNyQyx1QkFBa0IsR0FBWSxLQUFLLENBQUM7UUFDcEMseUJBQW9CLEdBQVksS0FBSyxDQUFDO1FBQ3RDLH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ucGFyc2Uocik7XG4gICAgICAgICAgICB9IGNhdGNoKGUpIHtcbiAgICAgICAgICAgICAgdGhpcy5wYmFBY2NvdW50clBheW1lbnRSZXN1bHQgPSByO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgdGhpcy5pc1BCQUFjY291bnRQYXltZW50U3VjY2VzcyA9IHRydWU7XG4gICAgICAgICAgfSxcbiAgICAgICAgICBlID0+IHtcbiAgICAgICAgICAgIGlmKGUuc3RhdHVzID09ICc0MDInKSB7XG4gICAgICAgICAgICAgIHRoaXMuaXNJblN1ZmZpY2lhbnRGdW5kID0gdHJ1ZTsgXG4gICAgICAgICAgICB9IGVsc2UgaWYoZS5zdGF0dXMgPT0gJzQxMCcpIHtcbiAgICAgICAgICAgICAgdGhpcy5pc1BCQUFjY291bnROb3RFeGlzdCA9IHRydWU7XG4gICAgICAgICAgICB9IGVsc2UgaWYoZS5zdGF0dXMgPT0gJzQxMicpIHtcbiAgICAgICAgICAgICAgdGhpcy5pc1BCQUFjY291bnRIb2xkID0gdHJ1ZTtcbiAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgIHRoaXMuaXNQQkFTZXJ2ZXJFcnJvciA9IHRydWU7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgfVxuICAgICAgICApO1xuICAgICAgfSBlbHNlIHtcbiAgICAgICAgdGhpcy5pc1BCQVNlcnZlckVycm9yID0gdHJ1ZTtcbiAgICAgIH1cbiAgICB9IGVsc2UgaWYgKHRoaXMuaXNDYXJkUGF5bWVudFNlbGVjdGVkKSB7XG4gICAgICB0aGlzLmNhcmRQYXltZW50KCk7XG4gICAgfVxuXG4gIH1cbiAgY2FyZFBheW1lbnQoKSB7XG4gICAgdGhpcy5pc0NhcmRQYXltZW50U3VjY2VzcyA9IHRydWU7XG4gICAgY29uc3QgcmVxdWVzdEJvZHkgPSBuZXcgSXNlcnZpY2VSZXF1ZXN0Q2FyZFBheW1lbnQgKFxuICAgICAgdGhpcy5wYmFQYXl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