@hmcts/ccpay-web-component 5.2.13-beta01 → 6.0.0-beta-ccs10

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 (406) hide show
  1. package/esm2022/hmcts-ccpay-web-component.mjs +5 -0
  2. package/esm2022/lib/components/add-remission/add-remission.component.mjs +1189 -0
  3. package/esm2022/lib/components/allocate-payments/allocate-payments.component.mjs +407 -0
  4. package/esm2022/lib/components/card-details/card-details.component.mjs +32 -0
  5. package/esm2022/lib/components/case-transactions/case-transactions.component.mjs +798 -0
  6. package/esm2022/lib/components/contact-details/contact-details.component.mjs +338 -0
  7. package/esm2022/lib/components/error-banner/error-banner.component.mjs +18 -0
  8. package/esm2022/lib/components/fee-summary/fee-summary.component.mjs +247 -0
  9. package/esm2022/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.mjs +195 -0
  10. package/esm2022/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.mjs +255 -0
  11. package/esm2022/lib/components/notification-preview/notification-preview.component.mjs +79 -0
  12. package/esm2022/lib/components/page-not-found.component.mjs +17 -0
  13. package/esm2022/lib/components/payment-list/payment-list.component.mjs +36 -0
  14. package/esm2022/lib/components/payment-view/payment-view.component.mjs +416 -0
  15. package/esm2022/lib/components/pba-details/pba-details.component.mjs +18 -0
  16. package/esm2022/lib/components/pba-payment/pba-payment.component.mjs +151 -0
  17. package/esm2022/lib/components/process-refund/process-refund.component.mjs +417 -0
  18. package/esm2022/lib/components/processed-payments/processed-payments.component.mjs +37 -0
  19. package/esm2022/lib/components/refund-list/refund-list.component.mjs +73 -0
  20. package/esm2022/lib/components/refund-status/refund-status.component.mjs +453 -0
  21. package/esm2022/lib/components/reports/reports.component.mjs +291 -0
  22. package/esm2022/lib/components/service-request/service-request.component.mjs +456 -0
  23. package/esm2022/lib/components/status-history/status-history.component.mjs +33 -0
  24. package/esm2022/lib/components/table/table.component.mjs +128 -0
  25. package/esm2022/lib/components/unprocessed-payments/unprocessed-payments.component.mjs +236 -0
  26. package/esm2022/lib/interfaces/AddRemissionRequest.mjs +17 -0
  27. package/esm2022/lib/interfaces/AddRetroRemissionRequest.mjs +9 -0
  28. package/esm2022/lib/interfaces/AllocatePaymentRequest.mjs +41 -0
  29. package/esm2022/lib/interfaces/IAllocationPaymentsRequest.mjs +20 -0
  30. package/esm2022/lib/interfaces/IPaymentStatus.mjs +12 -0
  31. package/esm2022/lib/interfaces/IPutNotificationRequest.mjs +13 -0
  32. package/esm2022/lib/interfaces/IResubmitRefundRequest.mjs +13 -0
  33. package/esm2022/lib/interfaces/IserviceRequestCardPayment.mjs +11 -0
  34. package/esm2022/lib/interfaces/IserviceRequestPbaPayment.mjs +15 -0
  35. package/esm2022/lib/interfaces/IssueRefundRequest.mjs +11 -0
  36. package/esm2022/lib/interfaces/NotificationPreviewRequest.mjs +45 -0
  37. package/esm2022/lib/interfaces/PayhubAntennaRequest.mjs +12 -0
  38. package/esm2022/lib/interfaces/PaymentToPayhubRequest.mjs +15 -0
  39. package/esm2022/lib/interfaces/PostIssueRefundRetroRemission.mjs +9 -0
  40. package/esm2022/lib/interfaces/PostRefundRetroRemission.mjs +18 -0
  41. package/esm2022/lib/interfaces/RefundsRequest.mjs +9 -0
  42. package/esm2022/lib/interfaces/UnidentifiedPaymentsRequest.mjs +16 -0
  43. package/esm2022/lib/interfaces/UnsolicitedPaymentsRequest.mjs +22 -0
  44. package/esm2022/lib/payment-lib.component.mjs +288 -0
  45. package/esm2022/lib/payment-lib.module.mjs +187 -0
  46. package/esm2022/lib/payment-lib.service.mjs +49 -0
  47. package/esm2022/lib/pipes/capitalize.pipe.mjs +18 -0
  48. package/esm2022/lib/pipes/ccd-hyphens.pipe.mjs +22 -0
  49. package/esm2022/lib/pipes/key-value.pipe.mjs +23 -0
  50. package/esm2022/lib/pipes/sanitize-html.pipe.mjs +20 -0
  51. package/esm2022/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.mjs +87 -0
  52. package/esm2022/lib/services/card-details/card-details.service.mjs +39 -0
  53. package/esm2022/lib/services/case-transactions/case-transactions.service.mjs +39 -0
  54. package/esm2022/lib/services/notification/notification.service.mjs +70 -0
  55. package/esm2022/lib/services/orderslist.service.mjs +154 -0
  56. package/esm2022/lib/services/payment-list/payment-list.service.mjs +40 -0
  57. package/esm2022/lib/services/payment-view/payment-view.service.mjs +152 -0
  58. package/esm2022/lib/services/refunds/refunds.service.mjs +117 -0
  59. package/{esm2015/lib/services/shared/error-handler.service.js → esm2022/lib/services/shared/error-handler.service.mjs} +9 -8
  60. package/esm2022/lib/services/shared/httpclient/webcomponent.http.client.mjs +64 -0
  61. package/esm2022/lib/services/shared/logger/console-logger.service.mjs +43 -0
  62. package/esm2022/lib/services/shared/logger/logger.service.mjs +23 -0
  63. package/esm2022/lib/services/status-history/status-history.service.mjs +41 -0
  64. package/esm2022/lib/services/xl-file/xl-file.service.mjs +153 -0
  65. package/fesm2022/hmcts-ccpay-web-component.mjs +7874 -0
  66. package/fesm2022/hmcts-ccpay-web-component.mjs.map +1 -0
  67. package/index.d.ts +5 -0
  68. package/lib/components/add-remission/add-remission.component.d.ts +5 -3
  69. package/lib/components/allocate-payments/allocate-payments.component.d.ts +5 -7
  70. package/lib/components/card-details/card-details.component.d.ts +3 -1
  71. package/lib/components/case-transactions/case-transactions.component.d.ts +4 -2
  72. package/lib/components/contact-details/contact-details.component.d.ts +4 -2
  73. package/lib/components/error-banner/error-banner.component.d.ts +3 -1
  74. package/lib/components/fee-summary/fee-summary.component.d.ts +4 -2
  75. package/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.d.ts +4 -2
  76. package/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.d.ts +4 -2
  77. package/lib/components/notification-preview/notification-preview.component.d.ts +4 -6
  78. package/lib/components/page-not-found.component.d.ts +3 -1
  79. package/lib/components/payment-list/payment-list.component.d.ts +4 -2
  80. package/lib/components/payment-view/payment-view.component.d.ts +4 -2
  81. package/lib/components/pba-details/pba-details.component.d.ts +3 -1
  82. package/lib/components/pba-payment/pba-payment.component.d.ts +4 -2
  83. package/lib/components/process-refund/process-refund.component.d.ts +4 -2
  84. package/lib/components/processed-payments/processed-payments.component.d.ts +3 -1
  85. package/lib/components/refund-list/refund-list.component.d.ts +3 -1
  86. package/lib/components/refund-status/refund-status.component.d.ts +4 -2
  87. package/lib/components/reports/reports.component.d.ts +4 -6
  88. package/lib/components/service-request/service-request.component.d.ts +4 -2
  89. package/lib/components/status-history/status-history.component.d.ts +4 -2
  90. package/lib/components/table/table.component.d.ts +4 -2
  91. package/lib/components/unprocessed-payments/unprocessed-payments.component.d.ts +4 -2
  92. package/lib/interfaces/AddRemissionRequest.d.ts +0 -1
  93. package/lib/interfaces/AddRetroRemissionRequest.d.ts +0 -1
  94. package/lib/interfaces/AllocatePaymentRequest.d.ts +0 -1
  95. package/lib/interfaces/IAllocationPaymentsRequest.d.ts +0 -1
  96. package/lib/interfaces/IBSPayments.d.ts +0 -1
  97. package/lib/interfaces/ICardDetails.d.ts +0 -1
  98. package/lib/interfaces/IFee.d.ts +0 -1
  99. package/lib/interfaces/INotificationPreview.d.ts +0 -1
  100. package/lib/interfaces/IOrderReferenceFee.d.ts +0 -1
  101. package/lib/interfaces/IPatchRefundAction.d.ts +0 -1
  102. package/lib/interfaces/IPayment.d.ts +0 -1
  103. package/lib/interfaces/IPaymentFailure.d.ts +0 -1
  104. package/lib/interfaces/IPaymentGroup.d.ts +0 -1
  105. package/lib/interfaces/IPaymentStatus.d.ts +0 -1
  106. package/lib/interfaces/IPaymentView.d.ts +0 -1
  107. package/lib/interfaces/IPayments.d.ts +0 -1
  108. package/lib/interfaces/IPutNotificationRequest.d.ts +0 -1
  109. package/lib/interfaces/IRefundAction.d.ts +0 -1
  110. package/lib/interfaces/IRefundContactDetails.d.ts +0 -1
  111. package/lib/interfaces/IRefundFee.d.ts +0 -1
  112. package/lib/interfaces/IRefundList.d.ts +0 -1
  113. package/lib/interfaces/IRefundReasons.d.ts +0 -1
  114. package/lib/interfaces/IRefundRejectReason.d.ts +0 -1
  115. package/lib/interfaces/IRefundStatus.d.ts +0 -1
  116. package/lib/interfaces/IRefundStatusHistory.d.ts +0 -1
  117. package/lib/interfaces/IRefundsNotifications.d.ts +0 -1
  118. package/lib/interfaces/IRemission.d.ts +0 -1
  119. package/lib/interfaces/IResubmitRefundRequest.d.ts +0 -1
  120. package/lib/interfaces/IStatusHistories.d.ts +0 -1
  121. package/lib/interfaces/IStatusHistory.d.ts +0 -1
  122. package/lib/interfaces/IserviceRequestCardPayment.d.ts +0 -1
  123. package/lib/interfaces/IserviceRequestPbaPayment.d.ts +0 -1
  124. package/lib/interfaces/IssueRefundRequest.d.ts +0 -1
  125. package/lib/interfaces/NotificationPreviewRequest.d.ts +0 -1
  126. package/lib/interfaces/PayhubAntennaRequest.d.ts +0 -1
  127. package/lib/interfaces/PaymentToPayhubRequest.d.ts +0 -1
  128. package/lib/interfaces/PostIssueRefundRetroRemission.d.ts +0 -1
  129. package/lib/interfaces/PostRefundRetroRemission.d.ts +0 -1
  130. package/lib/interfaces/RefundsRequest.d.ts +0 -1
  131. package/lib/interfaces/UnidentifiedPaymentsRequest.d.ts +0 -1
  132. package/lib/interfaces/UnsolicitedPaymentsRequest.d.ts +0 -1
  133. package/lib/payment-lib.component.d.ts +3 -1
  134. package/lib/payment-lib.module.d.ts +40 -1
  135. package/lib/payment-lib.service.d.ts +3 -1
  136. package/lib/pipes/capitalize.pipe.d.ts +3 -1
  137. package/lib/pipes/ccd-hyphens.pipe.d.ts +3 -1
  138. package/lib/pipes/key-value.pipe.d.ts +3 -1
  139. package/lib/pipes/sanitize-html.pipe.d.ts +3 -1
  140. package/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.d.ts +4 -2
  141. package/lib/services/card-details/card-details.service.d.ts +3 -1
  142. package/lib/services/case-transactions/case-transactions.service.d.ts +4 -2
  143. package/lib/services/notification/notification.service.d.ts +4 -2
  144. package/lib/services/orderslist.service.d.ts +3 -1
  145. package/lib/services/payment-list/payment-list.service.d.ts +3 -1
  146. package/lib/services/payment-view/payment-view.service.d.ts +3 -1
  147. package/lib/services/refunds/refunds.service.d.ts +4 -2
  148. package/lib/services/shared/error-handler.service.d.ts +3 -1
  149. package/lib/services/shared/httpclient/webcomponent.http.client.d.ts +3 -1
  150. package/lib/services/shared/logger/console-logger.service.d.ts +3 -1
  151. package/lib/services/shared/logger/logger.service.d.ts +3 -1
  152. package/lib/services/status-history/status-history.service.d.ts +3 -1
  153. package/lib/services/xl-file/xl-file.service.d.ts +3 -1
  154. package/package.json +17 -11
  155. package/public_api.d.ts +0 -1
  156. package/bundles/hmcts-ccpay-web-component.umd.js +0 -7550
  157. package/bundles/hmcts-ccpay-web-component.umd.js.map +0 -1
  158. package/bundles/hmcts-ccpay-web-component.umd.min.js +0 -2
  159. package/bundles/hmcts-ccpay-web-component.umd.min.js.map +0 -1
  160. package/esm2015/hmcts-ccpay-web-component.js +0 -47
  161. package/esm2015/lib/components/add-remission/add-remission.component.js +0 -1045
  162. package/esm2015/lib/components/allocate-payments/allocate-payments.component.js +0 -381
  163. package/esm2015/lib/components/card-details/card-details.component.js +0 -28
  164. package/esm2015/lib/components/case-transactions/case-transactions.component.js +0 -735
  165. package/esm2015/lib/components/contact-details/contact-details.component.js +0 -315
  166. package/esm2015/lib/components/error-banner/error-banner.component.js +0 -18
  167. package/esm2015/lib/components/fee-summary/fee-summary.component.js +0 -223
  168. package/esm2015/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.js +0 -184
  169. package/esm2015/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.js +0 -238
  170. package/esm2015/lib/components/notification-preview/notification-preview.component.js +0 -59
  171. package/esm2015/lib/components/page-not-found.component.js +0 -11
  172. package/esm2015/lib/components/payment-list/payment-list.component.js +0 -31
  173. package/esm2015/lib/components/payment-view/payment-view.component.js +0 -335
  174. package/esm2015/lib/components/pba-details/pba-details.component.js +0 -18
  175. package/esm2015/lib/components/pba-payment/pba-payment.component.js +0 -144
  176. package/esm2015/lib/components/process-refund/process-refund.component.js +0 -398
  177. package/esm2015/lib/components/processed-payments/processed-payments.component.js +0 -34
  178. package/esm2015/lib/components/refund-list/refund-list.component.js +0 -59
  179. package/esm2015/lib/components/refund-status/refund-status.component.js +0 -399
  180. package/esm2015/lib/components/reports/reports.component.js +0 -280
  181. package/esm2015/lib/components/service-request/service-request.component.js +0 -345
  182. package/esm2015/lib/components/status-history/status-history.component.js +0 -28
  183. package/esm2015/lib/components/table/table.component.js +0 -99
  184. package/esm2015/lib/components/unprocessed-payments/unprocessed-payments.component.js +0 -199
  185. package/esm2015/lib/interfaces/AddRemissionRequest.js +0 -10
  186. package/esm2015/lib/interfaces/AddRetroRemissionRequest.js +0 -7
  187. package/esm2015/lib/interfaces/AllocatePaymentRequest.js +0 -27
  188. package/esm2015/lib/interfaces/IAllocationPaymentsRequest.js +0 -14
  189. package/esm2015/lib/interfaces/IPaymentStatus.js +0 -3
  190. package/esm2015/lib/interfaces/IPutNotificationRequest.js +0 -11
  191. package/esm2015/lib/interfaces/IResubmitRefundRequest.js +0 -9
  192. package/esm2015/lib/interfaces/IserviceRequestCardPayment.js +0 -8
  193. package/esm2015/lib/interfaces/IserviceRequestPbaPayment.js +0 -10
  194. package/esm2015/lib/interfaces/IssueRefundRequest.js +0 -8
  195. package/esm2015/lib/interfaces/NotificationPreviewRequest.js +0 -37
  196. package/esm2015/lib/interfaces/PayhubAntennaRequest.js +0 -9
  197. package/esm2015/lib/interfaces/PaymentToPayhubRequest.js +0 -12
  198. package/esm2015/lib/interfaces/PostIssueRefundRetroRemission.js +0 -7
  199. package/esm2015/lib/interfaces/PostRefundRetroRemission.js +0 -11
  200. package/esm2015/lib/interfaces/RefundsRequest.js +0 -7
  201. package/esm2015/lib/interfaces/UnidentifiedPaymentsRequest.js +0 -12
  202. package/esm2015/lib/interfaces/UnsolicitedPaymentsRequest.js +0 -15
  203. package/esm2015/lib/payment-lib.component.js +0 -132
  204. package/esm2015/lib/payment-lib.module.js +0 -99
  205. package/esm2015/lib/payment-lib.service.js +0 -43
  206. package/esm2015/lib/pipes/capitalize.pipe.js +0 -14
  207. package/esm2015/lib/pipes/ccd-hyphens.pipe.js +0 -18
  208. package/esm2015/lib/pipes/key-value.pipe.js +0 -20
  209. package/esm2015/lib/pipes/sanitize-html.pipe.js +0 -17
  210. package/esm2015/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.js +0 -87
  211. package/esm2015/lib/services/card-details/card-details.service.js +0 -39
  212. package/esm2015/lib/services/case-transactions/case-transactions.service.js +0 -39
  213. package/esm2015/lib/services/notification/notification.service.js +0 -70
  214. package/esm2015/lib/services/orderslist.service.js +0 -154
  215. package/esm2015/lib/services/payment-list/payment-list.service.js +0 -39
  216. package/esm2015/lib/services/payment-view/payment-view.service.js +0 -150
  217. package/esm2015/lib/services/refunds/refunds.service.js +0 -117
  218. package/esm2015/lib/services/shared/httpclient/webcomponent.http.client.js +0 -61
  219. package/esm2015/lib/services/shared/logger/console-logger.service.js +0 -43
  220. package/esm2015/lib/services/shared/logger/logger.service.js +0 -17
  221. package/esm2015/lib/services/status-history/status-history.service.js +0 -41
  222. package/esm2015/lib/services/xl-file/xl-file.service.js +0 -151
  223. package/fesm2015/hmcts-ccpay-web-component.js +0 -6980
  224. package/fesm2015/hmcts-ccpay-web-component.js.map +0 -1
  225. package/hmcts-ccpay-web-component.d.ts +0 -47
  226. package/hmcts-ccpay-web-component.d.ts.map +0 -1
  227. package/hmcts-ccpay-web-component.metadata.json +0 -1
  228. package/lib/components/add-remission/add-remission.component.d.ts.map +0 -1
  229. package/lib/components/add-remission/add-remission.component.ngfactory.d.ts.map +0 -1
  230. package/lib/components/add-remission/add-remission.component.scss.shim.ngstyle.d.ts.map +0 -1
  231. package/lib/components/allocate-payments/allocate-payments.component.d.ts.map +0 -1
  232. package/lib/components/allocate-payments/allocate-payments.component.ngfactory.d.ts.map +0 -1
  233. package/lib/components/allocate-payments/allocate-payments.component.scss.shim.ngstyle.d.ts.map +0 -1
  234. package/lib/components/card-details/card-details.component.css.shim.ngstyle.d.ts.map +0 -1
  235. package/lib/components/card-details/card-details.component.d.ts.map +0 -1
  236. package/lib/components/card-details/card-details.component.ngfactory.d.ts.map +0 -1
  237. package/lib/components/case-transactions/case-transactions.component.css.shim.ngstyle.d.ts.map +0 -1
  238. package/lib/components/case-transactions/case-transactions.component.d.ts.map +0 -1
  239. package/lib/components/case-transactions/case-transactions.component.ngfactory.d.ts.map +0 -1
  240. package/lib/components/contact-details/contact-details.component.css.shim.ngstyle.d.ts.map +0 -1
  241. package/lib/components/contact-details/contact-details.component.d.ts.map +0 -1
  242. package/lib/components/contact-details/contact-details.component.ngfactory.d.ts.map +0 -1
  243. package/lib/components/error-banner/error-banner.component.d.ts.map +0 -1
  244. package/lib/components/error-banner/error-banner.component.ngfactory.d.ts.map +0 -1
  245. package/lib/components/error-banner/error-banner.component.scss.shim.ngstyle.d.ts.map +0 -1
  246. package/lib/components/fee-summary/fee-summary.component.d.ts.map +0 -1
  247. package/lib/components/fee-summary/fee-summary.component.ngfactory.d.ts.map +0 -1
  248. package/lib/components/fee-summary/fee-summary.component.scss.shim.ngstyle.d.ts.map +0 -1
  249. package/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.d.ts.map +0 -1
  250. package/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.ngfactory.d.ts.map +0 -1
  251. package/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.scss.shim.ngstyle.d.ts.map +0 -1
  252. package/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.d.ts.map +0 -1
  253. package/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.ngfactory.d.ts.map +0 -1
  254. package/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.scss.shim.ngstyle.d.ts.map +0 -1
  255. package/lib/components/notification-preview/notification-preview.component.d.ts.map +0 -1
  256. package/lib/components/notification-preview/notification-preview.component.ngfactory.d.ts.map +0 -1
  257. package/lib/components/notification-preview/notification-preview.component.scss.shim.ngstyle.d.ts.map +0 -1
  258. package/lib/components/page-not-found.component.d.ts.map +0 -1
  259. package/lib/components/page-not-found.component.ngfactory.d.ts.map +0 -1
  260. package/lib/components/payment-list/payment-list.component.css.shim.ngstyle.d.ts.map +0 -1
  261. package/lib/components/payment-list/payment-list.component.d.ts.map +0 -1
  262. package/lib/components/payment-list/payment-list.component.ngfactory.d.ts.map +0 -1
  263. package/lib/components/payment-view/payment-view.component.d.ts.map +0 -1
  264. package/lib/components/payment-view/payment-view.component.ngfactory.d.ts.map +0 -1
  265. package/lib/components/payment-view/payment-view.component.scss.shim.ngstyle.d.ts.map +0 -1
  266. package/lib/components/pba-details/pba-details.component.css.shim.ngstyle.d.ts.map +0 -1
  267. package/lib/components/pba-details/pba-details.component.d.ts.map +0 -1
  268. package/lib/components/pba-details/pba-details.component.ngfactory.d.ts.map +0 -1
  269. package/lib/components/pba-payment/pba-payment.component.d.ts.map +0 -1
  270. package/lib/components/pba-payment/pba-payment.component.ngfactory.d.ts.map +0 -1
  271. package/lib/components/pba-payment/pba-payment.component.scss.shim.ngstyle.d.ts.map +0 -1
  272. package/lib/components/process-refund/process-refund.component.css.shim.ngstyle.d.ts.map +0 -1
  273. package/lib/components/process-refund/process-refund.component.d.ts.map +0 -1
  274. package/lib/components/process-refund/process-refund.component.ngfactory.d.ts.map +0 -1
  275. package/lib/components/processed-payments/processed-payments.component.d.ts.map +0 -1
  276. package/lib/components/processed-payments/processed-payments.component.ngfactory.d.ts.map +0 -1
  277. package/lib/components/processed-payments/processed-payments.component.scss.shim.ngstyle.d.ts.map +0 -1
  278. package/lib/components/refund-list/refund-list.component.css.shim.ngstyle.d.ts.map +0 -1
  279. package/lib/components/refund-list/refund-list.component.d.ts.map +0 -1
  280. package/lib/components/refund-list/refund-list.component.ngfactory.d.ts.map +0 -1
  281. package/lib/components/refund-status/refund-status.component.css.shim.ngstyle.d.ts.map +0 -1
  282. package/lib/components/refund-status/refund-status.component.d.ts.map +0 -1
  283. package/lib/components/refund-status/refund-status.component.ngfactory.d.ts.map +0 -1
  284. package/lib/components/reports/reports.component.d.ts.map +0 -1
  285. package/lib/components/reports/reports.component.ngfactory.d.ts.map +0 -1
  286. package/lib/components/reports/reports.component.scss.shim.ngstyle.d.ts.map +0 -1
  287. package/lib/components/service-request/service-request.component.d.ts.map +0 -1
  288. package/lib/components/service-request/service-request.component.ngfactory.d.ts.map +0 -1
  289. package/lib/components/service-request/service-request.component.scss.shim.ngstyle.d.ts.map +0 -1
  290. package/lib/components/status-history/status-history.component.css.shim.ngstyle.d.ts.map +0 -1
  291. package/lib/components/status-history/status-history.component.d.ts.map +0 -1
  292. package/lib/components/status-history/status-history.component.ngfactory.d.ts.map +0 -1
  293. package/lib/components/table/table.component.css.shim.ngstyle.d.ts.map +0 -1
  294. package/lib/components/table/table.component.d.ts.map +0 -1
  295. package/lib/components/table/table.component.ngfactory.d.ts.map +0 -1
  296. package/lib/components/unprocessed-payments/unprocessed-payments.component.d.ts.map +0 -1
  297. package/lib/components/unprocessed-payments/unprocessed-payments.component.ngfactory.d.ts.map +0 -1
  298. package/lib/components/unprocessed-payments/unprocessed-payments.component.scss.shim.ngstyle.d.ts.map +0 -1
  299. package/lib/interfaces/AddRemissionRequest.d.ts.map +0 -1
  300. package/lib/interfaces/AddRetroRemissionRequest.d.ts.map +0 -1
  301. package/lib/interfaces/AllocatePaymentRequest.d.ts.map +0 -1
  302. package/lib/interfaces/IAllocationPaymentsRequest.d.ts.map +0 -1
  303. package/lib/interfaces/IBSPayments.d.ts.map +0 -1
  304. package/lib/interfaces/ICardDetails.d.ts.map +0 -1
  305. package/lib/interfaces/IFee.d.ts.map +0 -1
  306. package/lib/interfaces/INotificationPreview.d.ts.map +0 -1
  307. package/lib/interfaces/IOrderReferenceFee.d.ts.map +0 -1
  308. package/lib/interfaces/IPatchRefundAction.d.ts.map +0 -1
  309. package/lib/interfaces/IPayment.d.ts.map +0 -1
  310. package/lib/interfaces/IPaymentFailure.d.ts.map +0 -1
  311. package/lib/interfaces/IPaymentGroup.d.ts.map +0 -1
  312. package/lib/interfaces/IPaymentStatus.d.ts.map +0 -1
  313. package/lib/interfaces/IPaymentView.d.ts.map +0 -1
  314. package/lib/interfaces/IPayments.d.ts.map +0 -1
  315. package/lib/interfaces/IPutNotificationRequest.d.ts.map +0 -1
  316. package/lib/interfaces/IRefundAction.d.ts.map +0 -1
  317. package/lib/interfaces/IRefundContactDetails.d.ts.map +0 -1
  318. package/lib/interfaces/IRefundFee.d.ts.map +0 -1
  319. package/lib/interfaces/IRefundList.d.ts.map +0 -1
  320. package/lib/interfaces/IRefundReasons.d.ts.map +0 -1
  321. package/lib/interfaces/IRefundRejectReason.d.ts.map +0 -1
  322. package/lib/interfaces/IRefundStatus.d.ts.map +0 -1
  323. package/lib/interfaces/IRefundStatusHistory.d.ts.map +0 -1
  324. package/lib/interfaces/IRefundsNotifications.d.ts.map +0 -1
  325. package/lib/interfaces/IRemission.d.ts.map +0 -1
  326. package/lib/interfaces/IResubmitRefundRequest.d.ts.map +0 -1
  327. package/lib/interfaces/IStatusHistories.d.ts.map +0 -1
  328. package/lib/interfaces/IStatusHistory.d.ts.map +0 -1
  329. package/lib/interfaces/IserviceRequestCardPayment.d.ts.map +0 -1
  330. package/lib/interfaces/IserviceRequestPbaPayment.d.ts.map +0 -1
  331. package/lib/interfaces/IssueRefundRequest.d.ts.map +0 -1
  332. package/lib/interfaces/NotificationPreviewRequest.d.ts.map +0 -1
  333. package/lib/interfaces/PayhubAntennaRequest.d.ts.map +0 -1
  334. package/lib/interfaces/PaymentToPayhubRequest.d.ts.map +0 -1
  335. package/lib/interfaces/PostIssueRefundRetroRemission.d.ts.map +0 -1
  336. package/lib/interfaces/PostRefundRetroRemission.d.ts.map +0 -1
  337. package/lib/interfaces/RefundsRequest.d.ts.map +0 -1
  338. package/lib/interfaces/UnidentifiedPaymentsRequest.d.ts.map +0 -1
  339. package/lib/interfaces/UnsolicitedPaymentsRequest.d.ts.map +0 -1
  340. package/lib/payment-lib.component.d.ts.map +0 -1
  341. package/lib/payment-lib.component.ngfactory.d.ts.map +0 -1
  342. package/lib/payment-lib.module.d.ts.map +0 -1
  343. package/lib/payment-lib.module.ngfactory.d.ts.map +0 -1
  344. package/lib/payment-lib.service.d.ts.map +0 -1
  345. package/lib/payment-lib.service.ngfactory.d.ts.map +0 -1
  346. package/lib/pipes/capitalize.pipe.d.ts.map +0 -1
  347. package/lib/pipes/capitalize.pipe.ngfactory.d.ts.map +0 -1
  348. package/lib/pipes/ccd-hyphens.pipe.d.ts.map +0 -1
  349. package/lib/pipes/ccd-hyphens.pipe.ngfactory.d.ts.map +0 -1
  350. package/lib/pipes/key-value.pipe.d.ts.map +0 -1
  351. package/lib/pipes/key-value.pipe.ngfactory.d.ts.map +0 -1
  352. package/lib/pipes/sanitize-html.pipe.d.ts.map +0 -1
  353. package/lib/pipes/sanitize-html.pipe.ngfactory.d.ts.map +0 -1
  354. package/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.d.ts.map +0 -1
  355. package/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.ngfactory.d.ts.map +0 -1
  356. package/lib/services/card-details/card-details.service.d.ts.map +0 -1
  357. package/lib/services/card-details/card-details.service.ngfactory.d.ts.map +0 -1
  358. package/lib/services/case-transactions/case-transactions.service.d.ts.map +0 -1
  359. package/lib/services/case-transactions/case-transactions.service.ngfactory.d.ts.map +0 -1
  360. package/lib/services/notification/notification.service.d.ts.map +0 -1
  361. package/lib/services/notification/notification.service.ngfactory.d.ts.map +0 -1
  362. package/lib/services/orderslist.service.d.ts.map +0 -1
  363. package/lib/services/orderslist.service.ngfactory.d.ts.map +0 -1
  364. package/lib/services/payment-list/payment-list.service.d.ts.map +0 -1
  365. package/lib/services/payment-list/payment-list.service.ngfactory.d.ts.map +0 -1
  366. package/lib/services/payment-view/payment-view.service.d.ts.map +0 -1
  367. package/lib/services/payment-view/payment-view.service.ngfactory.d.ts.map +0 -1
  368. package/lib/services/refunds/refunds.service.d.ts.map +0 -1
  369. package/lib/services/refunds/refunds.service.ngfactory.d.ts.map +0 -1
  370. package/lib/services/shared/error-handler.service.d.ts.map +0 -1
  371. package/lib/services/shared/error-handler.service.ngfactory.d.ts.map +0 -1
  372. package/lib/services/shared/httpclient/webcomponent.http.client.d.ts.map +0 -1
  373. package/lib/services/shared/httpclient/webcomponent.http.client.ngfactory.d.ts.map +0 -1
  374. package/lib/services/shared/logger/console-logger.service.d.ts.map +0 -1
  375. package/lib/services/shared/logger/console-logger.service.ngfactory.d.ts.map +0 -1
  376. package/lib/services/shared/logger/logger.service.d.ts.map +0 -1
  377. package/lib/services/shared/logger/logger.service.ngfactory.d.ts.map +0 -1
  378. package/lib/services/status-history/status-history.service.d.ts.map +0 -1
  379. package/lib/services/status-history/status-history.service.ngfactory.d.ts.map +0 -1
  380. package/lib/services/xl-file/xl-file.service.d.ts.map +0 -1
  381. package/lib/services/xl-file/xl-file.service.ngfactory.d.ts.map +0 -1
  382. package/public_api.d.ts.map +0 -1
  383. /package/{esm2015/lib/interfaces/IBSPayments.js → esm2022/lib/interfaces/IBSPayments.mjs} +0 -0
  384. /package/{esm2015/lib/interfaces/ICardDetails.js → esm2022/lib/interfaces/ICardDetails.mjs} +0 -0
  385. /package/{esm2015/lib/interfaces/IFee.js → esm2022/lib/interfaces/IFee.mjs} +0 -0
  386. /package/{esm2015/lib/interfaces/INotificationPreview.js → esm2022/lib/interfaces/INotificationPreview.mjs} +0 -0
  387. /package/{esm2015/lib/interfaces/IOrderReferenceFee.js → esm2022/lib/interfaces/IOrderReferenceFee.mjs} +0 -0
  388. /package/{esm2015/lib/interfaces/IPatchRefundAction.js → esm2022/lib/interfaces/IPatchRefundAction.mjs} +0 -0
  389. /package/{esm2015/lib/interfaces/IPayment.js → esm2022/lib/interfaces/IPayment.mjs} +0 -0
  390. /package/{esm2015/lib/interfaces/IPaymentFailure.js → esm2022/lib/interfaces/IPaymentFailure.mjs} +0 -0
  391. /package/{esm2015/lib/interfaces/IPaymentGroup.js → esm2022/lib/interfaces/IPaymentGroup.mjs} +0 -0
  392. /package/{esm2015/lib/interfaces/IPaymentView.js → esm2022/lib/interfaces/IPaymentView.mjs} +0 -0
  393. /package/{esm2015/lib/interfaces/IPayments.js → esm2022/lib/interfaces/IPayments.mjs} +0 -0
  394. /package/{esm2015/lib/interfaces/IRefundAction.js → esm2022/lib/interfaces/IRefundAction.mjs} +0 -0
  395. /package/{esm2015/lib/interfaces/IRefundContactDetails.js → esm2022/lib/interfaces/IRefundContactDetails.mjs} +0 -0
  396. /package/{esm2015/lib/interfaces/IRefundFee.js → esm2022/lib/interfaces/IRefundFee.mjs} +0 -0
  397. /package/{esm2015/lib/interfaces/IRefundList.js → esm2022/lib/interfaces/IRefundList.mjs} +0 -0
  398. /package/{esm2015/lib/interfaces/IRefundReasons.js → esm2022/lib/interfaces/IRefundReasons.mjs} +0 -0
  399. /package/{esm2015/lib/interfaces/IRefundRejectReason.js → esm2022/lib/interfaces/IRefundRejectReason.mjs} +0 -0
  400. /package/{esm2015/lib/interfaces/IRefundStatus.js → esm2022/lib/interfaces/IRefundStatus.mjs} +0 -0
  401. /package/{esm2015/lib/interfaces/IRefundStatusHistory.js → esm2022/lib/interfaces/IRefundStatusHistory.mjs} +0 -0
  402. /package/{esm2015/lib/interfaces/IRefundsNotifications.js → esm2022/lib/interfaces/IRefundsNotifications.mjs} +0 -0
  403. /package/{esm2015/lib/interfaces/IRemission.js → esm2022/lib/interfaces/IRemission.mjs} +0 -0
  404. /package/{esm2015/lib/interfaces/IStatusHistories.js → esm2022/lib/interfaces/IStatusHistories.mjs} +0 -0
  405. /package/{esm2015/lib/interfaces/IStatusHistory.js → esm2022/lib/interfaces/IStatusHistory.mjs} +0 -0
  406. /package/{esm2015/public_api.js → esm2022/public_api.mjs} +0 -0
@@ -1,144 +0,0 @@
1
- import { Component, Input } from '@angular/core';
2
- import { PaymentViewService } from '../../services/payment-view/payment-view.service';
3
- import { PaymentLibComponent } from '../../payment-lib.component';
4
- import { IserviceRequestCardPayment } from '../../interfaces/IserviceRequestCardPayment';
5
- import { IserviceRequestPbaPayment } from '../../interfaces/IserviceRequestPbaPayment';
6
- const BS_ENABLE_FLAG = 'bulk-scan-enabling-fe';
7
- export class PbaPaymentComponent {
8
- constructor(paymentLibComponent, paymentViewService) {
9
- this.paymentLibComponent = paymentLibComponent;
10
- this.paymentViewService = paymentViewService;
11
- this.isPBAAccountHold = false;
12
- this.isCardPaymentSuccess = true;
13
- this.isInSufficiantFund = false;
14
- this.isPBAAccountNotExist = false;
15
- this.isPBAServerError = false;
16
- this.isGetPBAAccountSucceed = false;
17
- this.selectedPbaAccount = '';
18
- this.pbaAccountRef = '';
19
- this.isPbaAccountSelected = false;
20
- this.isCardPaymentSelected = false;
21
- this.isPBADropdownSelected = false;
22
- this.isContinueButtondisabled = true;
23
- this.isPBAAccountPaymentSuccess = false;
24
- this.orgName = '';
25
- }
26
- ngOnInit() {
27
- this.pbaPayOrderRef = this.paymentLibComponent.pbaPayOrderRef;
28
- this.viewStatus = 'pba-payment';
29
- this.errorMsg = null;
30
- this.paymentViewService.getPBAaccountDetails()
31
- .subscribe(result => {
32
- this.isGetPBAAccountSucceed = true;
33
- this.orgName = result.organisationEntityResponse.name;
34
- this.pbaAccountList = result.organisationEntityResponse.paymentAccount;
35
- }, error => {
36
- this.errorMsg = error;
37
- });
38
- }
39
- selectpbaaccount(args) {
40
- if (args.currentTarget.id === 'pbaAccountNumber') {
41
- this.isPBADropdownSelected = true;
42
- this.selectedPbaAccount = args.target.value;
43
- }
44
- if (args.currentTarget.id === 'pbaAccountRef') {
45
- this.pbaAccountRef = args.target.value;
46
- }
47
- if (this.selectedPbaAccount !== '' && this.pbaAccountRef !== "") {
48
- this.isContinueButtondisabled = false;
49
- }
50
- else {
51
- this.isContinueButtondisabled = true;
52
- }
53
- }
54
- saveAndContinue() {
55
- if (this.isPbaAccountSelected) {
56
- this.isInSufficiantFund = false;
57
- this.isPBAAccountNotExist = false;
58
- this.isPBAServerError = false;
59
- this.isPBAAccountPaymentSuccess = false;
60
- this.isContinueButtondisabled = false;
61
- if (this.pbaAccountList.indexOf(this.selectedPbaAccount) !== -1) {
62
- const requestBody = new IserviceRequestPbaPayment(this.selectedPbaAccount, this.pbaPayOrderRef.orderTotalFees, this.pbaAccountRef, this.orgName);
63
- setTimeout(() => {
64
- this.paymentViewService.postPBAaccountPayment(this.pbaPayOrderRef.orderRefId, requestBody)
65
- .subscribe(r => {
66
- try {
67
- this.pbaAccountrPaymentResult = JSON.parse(r);
68
- }
69
- catch (e) {
70
- this.pbaAccountrPaymentResult = r;
71
- }
72
- this.isPBAAccountPaymentSuccess = true;
73
- }, e => {
74
- if (e.status == '402') {
75
- this.isInSufficiantFund = true;
76
- }
77
- else if (e.status == '410') {
78
- this.isPBAAccountNotExist = true;
79
- }
80
- else if (e.status == '412') {
81
- this.isPBAAccountHold = true;
82
- }
83
- else {
84
- this.isPBAServerError = true;
85
- }
86
- });
87
- }, 5000);
88
- }
89
- else {
90
- this.isPBAServerError = true;
91
- }
92
- }
93
- else if (this.isCardPaymentSelected) {
94
- this.cardPayment();
95
- }
96
- }
97
- cardPayment() {
98
- this.isCardPaymentSuccess = true;
99
- const requestBody = new IserviceRequestCardPayment(this.pbaPayOrderRef.orderTotalFees);
100
- this.paymentViewService.postWays2PayCardPayment(this.pbaPayOrderRef.orderRefId, requestBody)
101
- .subscribe(result => {
102
- const paymentUrl = JSON.parse(result).next_url;
103
- window.location.href = paymentUrl;
104
- }, error => {
105
- this.isCardPaymentSuccess = false;
106
- });
107
- }
108
- selectPaymentMethod(type) {
109
- if (type === 'PBA') {
110
- this.isPbaAccountSelected = true;
111
- this.isCardPaymentSelected = false;
112
- this.isPBADropdownSelected = false;
113
- this.isContinueButtondisabled = true;
114
- this.selectedPbaAccount = null;
115
- }
116
- else if (type === 'CARD') {
117
- this.isPbaAccountSelected = false;
118
- this.isCardPaymentSelected = true;
119
- this.isPBADropdownSelected = false;
120
- this.isContinueButtondisabled = false;
121
- }
122
- }
123
- gotoCasetransationPage() {
124
- this.paymentLibComponent.viewName = 'case-transactions';
125
- this.paymentLibComponent.TAKEPAYMENT = false;
126
- this.paymentLibComponent.ISBSENABLE = true;
127
- this.paymentLibComponent.isFromServiceRequestPage = true;
128
- }
129
- }
130
- PbaPaymentComponent.decorators = [
131
- { type: Component, args: [{
132
- selector: 'ccpay-pba-payment',
133
- 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",
134
- 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:3px solid #fd0}.govuk-body-width{width:750px}"]
135
- },] }
136
- ];
137
- PbaPaymentComponent.ctorParameters = () => [
138
- { type: PaymentLibComponent },
139
- { type: PaymentViewService }
140
- ];
141
- PbaPaymentComponent.propDecorators = {
142
- pbaPayOrderRef: [{ type: Input }]
143
- };
144
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGJhLXBheW1lbnQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvcGF5bWVudC1saWIvc3JjL2xpYi9jb21wb25lbnRzL3BiYS1wYXltZW50L3BiYS1wYXltZW50LmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFVLEtBQUssRUFBQyxNQUF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gICAgICAgICB0aGlzLnBheW1lbnRWaWV3U2VydmljZS5wb3N0UEJBYWNjb3VudFBheW1lbnQodGhpcy5wYmFQYXlPcmRlclJlZi5vcmRlclJlZklkLCByZXF1ZXN0Qm9keSlcbiAgICAgICAgICAgIC5zdWJzY3JpYmUoXG4gICAgICAgICAgICAgIHIgPT4ge1xuICAgICAgICAgICAgICAgIHRyeSB7XG4gICAgICAgICAgICAgICAgICB0aGlzLnBiYUFjY291bnRyUGF5bWVudFJlc3VsdCA9IEpTT04ucGFyc2Uocik7XG4gICAgICAgICAgICAgICAgfSBjYXRjaChlKSB7XG4gICAgICAgICAgICAgICAgICB0aGlzLnBiYUFjY291bnRyUGF5bWVudFJlc3VsdCA9IHI7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIHRoaXMuaXNQQkFBY2NvdW50UGF5bWVudFN1Y2Nlc3MgPSB0cnVlO1xuICAgICAgICAgICAgICB9LFxuICAgICAgICAgICAgICBlID0+IHtcbiAgICAgICAgICAgICAgICBpZihlLnN0YXR1cyA9PSAnNDAyJykge1xuICAgICAgICAgICAgICAgICAgdGhpcy5pc0luU3VmZmljaWFudEZ1bmQgPSB0cnVlO1xuICAgICAgICAgICAgICAgIH0gZWxzZSBpZihlLnN0YXR1cyA9PSAnNDEwJykge1xuICAgICAgICAgICAgICAgICAgdGhpcy5pc1BCQUFjY291bnROb3RFeGlzdCA9IHRydWU7XG4gICAgICAgICAgICAgICAgfSBlbHNlIGlmKGUuc3RhdHVzID09ICc0MTInKSB7XG4gICAgICAgICAgICAgICAgICB0aGlzLmlzUEJBQWNjb3VudEhvbGQgPSB0cnVlO1xuICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICB0aGlzLmlzUEJBU2VydmVyRXJyb3IgPSB0cnVlO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgKTtcblxuICAgICAgICB9LCA1MDAwKTtcbiAgICAgI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