@hmcts/ccpay-web-component 5.0.10 → 5.1.0-beta01
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.
- package/bundles/hmcts-ccpay-web-component.umd.js +5092 -8696
- package/bundles/hmcts-ccpay-web-component.umd.js.map +1 -1
- package/bundles/hmcts-ccpay-web-component.umd.min.js +1 -1
- package/bundles/hmcts-ccpay-web-component.umd.min.js.map +1 -1
- package/esm2015/hmcts-ccpay-web-component.js +2 -6
- package/esm2015/lib/components/add-remission/add-remission.component.js +34 -407
- package/esm2015/lib/components/allocate-payments/allocate-payments.component.js +37 -348
- package/esm2015/lib/components/card-details/card-details.component.js +3 -46
- package/esm2015/lib/components/case-transactions/case-transactions.component.js +111 -687
- package/esm2015/lib/components/error-banner/error-banner.component.js +2 -14
- package/esm2015/lib/components/fee-summary/fee-summary.component.js +29 -255
- package/esm2015/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.js +23 -181
- package/esm2015/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.js +27 -225
- package/esm2015/lib/components/page-not-found.component.js +2 -6
- package/esm2015/lib/components/payment-list/payment-list.component.js +4 -48
- package/esm2015/lib/components/payment-view/payment-view.component.js +39 -336
- package/esm2015/lib/components/pba-details/pba-details.component.js +3 -15
- package/esm2015/lib/components/pba-payment/pba-payment.component.js +13 -120
- package/esm2015/lib/components/process-refund/process-refund.component.js +16 -178
- package/esm2015/lib/components/processed-payments/processed-payments.component.js +4 -42
- package/esm2015/lib/components/refund-list/refund-list.component.js +9 -77
- package/esm2015/lib/components/refund-status/refund-status.component.js +25 -257
- package/esm2015/lib/components/reports/reports.component.js +21 -212
- package/esm2015/lib/components/service-request/service-request.component.js +36 -370
- package/esm2015/lib/components/status-history/status-history.component.js +4 -44
- package/esm2015/lib/components/table/table.component.js +5 -105
- package/esm2015/lib/components/unprocessed-payments/unprocessed-payments.component.js +12 -184
- package/esm2015/lib/interfaces/AddRemissionRequest.js +1 -28
- package/esm2015/lib/interfaces/AddRetroRemissionRequest.js +1 -15
- package/esm2015/lib/interfaces/AllocatePaymentRequest.js +1 -42
- package/esm2015/lib/interfaces/IAllocationPaymentsRequest.js +1 -26
- package/esm2015/lib/interfaces/IBSPayments.js +2 -45
- package/esm2015/lib/interfaces/ICardDetails.js +2 -21
- package/esm2015/lib/interfaces/IFee.js +2 -53
- package/esm2015/lib/interfaces/IOrderReferenceFee.js +2 -25
- package/esm2015/lib/interfaces/IPatchRefundAction.js +2 -15
- package/esm2015/lib/interfaces/IPayment.js +2 -65
- package/esm2015/lib/interfaces/IPaymentFailure.js +2 -33
- package/esm2015/lib/interfaces/IPaymentGroup.js +2 -19
- package/esm2015/lib/interfaces/IPaymentStatus.js +1 -25
- package/esm2015/lib/interfaces/IPaymentView.js +2 -17
- package/esm2015/lib/interfaces/IPayments.js +2 -13
- package/esm2015/lib/interfaces/IRefundAction.js +2 -15
- package/esm2015/lib/interfaces/IRefundList.js +2 -29
- package/esm2015/lib/interfaces/IRefundReasons.js +2 -19
- package/esm2015/lib/interfaces/IRefundRejectReason.js +2 -15
- package/esm2015/lib/interfaces/IRefundStatus.js +2 -23
- package/esm2015/lib/interfaces/IRefundStatusHistory.js +2 -15
- package/esm2015/lib/interfaces/IRemission.js +2 -25
- package/esm2015/lib/interfaces/IResubmitRefundRequest.js +1 -15
- package/esm2015/lib/interfaces/IStatusHistories.js +2 -19
- package/esm2015/lib/interfaces/IStatusHistory.js +2 -21
- package/esm2015/lib/interfaces/IserviceRequestCardPayment.js +1 -16
- package/esm2015/lib/interfaces/IserviceRequestPbaPayment.js +1 -23
- package/esm2015/lib/interfaces/IssueRefundRequest.js +1 -18
- package/esm2015/lib/interfaces/PayhubAntennaRequest.js +2 -21
- package/esm2015/lib/interfaces/PaymentToPayhubRequest.js +2 -27
- package/esm2015/lib/interfaces/PostIssueRefundRetroRemission.js +1 -12
- package/esm2015/lib/interfaces/PostRefundRetroRemission.js +1 -15
- package/esm2015/lib/interfaces/RefundsRequest.js +1 -15
- package/esm2015/lib/interfaces/UnidentifiedPaymentsRequest.js +1 -20
- package/esm2015/lib/interfaces/UnsolicitedPaymentsRequest.js +1 -29
- package/esm2015/lib/payment-lib.component.js +2 -147
- package/esm2015/lib/payment-lib.module.js +1 -5
- package/esm2015/lib/payment-lib.service.js +2 -45
- package/esm2015/lib/pipes/capitalize.pipe.js +1 -11
- package/esm2015/lib/pipes/ccd-hyphens.pipe.js +1 -12
- package/esm2015/lib/pipes/key-value.pipe.js +1 -11
- package/esm2015/lib/pipes/sanitize-html.pipe.js +1 -20
- package/esm2015/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.js +9 -102
- package/esm2015/lib/services/card-details/card-details.service.js +2 -39
- package/esm2015/lib/services/case-transactions/case-transactions.service.js +2 -39
- package/esm2015/lib/services/orderslist.service.js +2 -251
- package/esm2015/lib/services/payment-list/payment-list.service.js +2 -42
- package/esm2015/lib/services/payment-view/payment-view.service.js +3 -168
- package/esm2015/lib/services/refunds/refunds.service.js +7 -109
- package/esm2015/lib/services/shared/error-handler.service.js +4 -21
- package/esm2015/lib/services/shared/httpclient/webcomponent.http.client.js +6 -82
- package/esm2015/lib/services/shared/logger/console-logger.service.js +3 -27
- package/esm2015/lib/services/shared/logger/logger.service.js +3 -35
- package/esm2015/lib/services/status-history/status-history.service.js +2 -40
- package/esm2015/lib/services/xl-file/xl-file.service.js +2 -60
- package/esm2015/public_api.js +4 -8
- package/fesm2015/hmcts-ccpay-web-component.js +557 -3558
- package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
- package/hmcts-ccpay-web-component.d.ts +1 -0
- package/hmcts-ccpay-web-component.d.ts.map +1 -0
- package/hmcts-ccpay-web-component.metadata.json +1 -1
- package/lib/components/add-remission/add-remission.component.d.ts +1 -0
- package/lib/components/add-remission/add-remission.component.d.ts.map +1 -0
- package/lib/components/add-remission/add-remission.component.ngfactory.d.ts.map +1 -0
- package/lib/components/add-remission/add-remission.component.scss.shim.ngstyle.d.ts.map +1 -0
- package/lib/components/allocate-payments/allocate-payments.component.d.ts +1 -0
- package/lib/components/allocate-payments/allocate-payments.component.d.ts.map +1 -0
- package/lib/components/allocate-payments/allocate-payments.component.ngfactory.d.ts.map +1 -0
- package/lib/components/allocate-payments/allocate-payments.component.scss.shim.ngstyle.d.ts.map +1 -0
- package/lib/components/card-details/card-details.component.css.shim.ngstyle.d.ts.map +1 -0
- package/lib/components/card-details/card-details.component.d.ts +2 -1
- package/lib/components/card-details/card-details.component.d.ts.map +1 -0
- package/lib/components/card-details/card-details.component.ngfactory.d.ts.map +1 -0
- package/lib/components/case-transactions/case-transactions.component.css.shim.ngstyle.d.ts.map +1 -0
- package/lib/components/case-transactions/case-transactions.component.d.ts +2 -1
- package/lib/components/case-transactions/case-transactions.component.d.ts.map +1 -0
- package/lib/components/case-transactions/case-transactions.component.ngfactory.d.ts.map +1 -0
- package/lib/components/error-banner/error-banner.component.d.ts +1 -0
- package/lib/components/error-banner/error-banner.component.d.ts.map +1 -0
- package/lib/components/error-banner/error-banner.component.ngfactory.d.ts.map +1 -0
- package/lib/components/error-banner/error-banner.component.scss.shim.ngstyle.d.ts.map +1 -0
- package/lib/components/fee-summary/fee-summary.component.d.ts +1 -0
- package/lib/components/fee-summary/fee-summary.component.d.ts.map +1 -0
- package/lib/components/fee-summary/fee-summary.component.ngfactory.d.ts.map +1 -0
- package/lib/components/fee-summary/fee-summary.component.scss.shim.ngstyle.d.ts.map +1 -0
- package/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.d.ts +1 -0
- package/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.d.ts.map +1 -0
- package/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.ngfactory.d.ts.map +1 -0
- package/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.scss.shim.ngstyle.d.ts.map +1 -0
- package/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.d.ts +1 -0
- package/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.d.ts.map +1 -0
- package/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.ngfactory.d.ts.map +1 -0
- package/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.scss.shim.ngstyle.d.ts.map +1 -0
- package/lib/components/page-not-found.component.d.ts +1 -0
- package/lib/components/page-not-found.component.d.ts.map +1 -0
- package/lib/components/page-not-found.component.ngfactory.d.ts.map +1 -0
- package/lib/components/payment-list/payment-list.component.css.shim.ngstyle.d.ts.map +1 -0
- package/lib/components/payment-list/payment-list.component.d.ts +1 -0
- package/lib/components/payment-list/payment-list.component.d.ts.map +1 -0
- package/lib/components/payment-list/payment-list.component.ngfactory.d.ts.map +1 -0
- package/lib/components/payment-view/payment-view.component.css.shim.ngstyle.d.ts.map +1 -0
- package/lib/components/payment-view/payment-view.component.d.ts +3 -2
- package/lib/components/payment-view/payment-view.component.d.ts.map +1 -0
- package/lib/components/payment-view/payment-view.component.ngfactory.d.ts.map +1 -0
- package/lib/components/pba-details/pba-details.component.css.shim.ngstyle.d.ts.map +1 -0
- package/lib/components/pba-details/pba-details.component.d.ts +1 -0
- package/lib/components/pba-details/pba-details.component.d.ts.map +1 -0
- package/lib/components/pba-details/pba-details.component.ngfactory.d.ts.map +1 -0
- package/lib/components/pba-payment/pba-payment.component.d.ts +1 -0
- package/lib/components/pba-payment/pba-payment.component.d.ts.map +1 -0
- package/lib/components/pba-payment/pba-payment.component.ngfactory.d.ts.map +1 -0
- package/lib/components/pba-payment/pba-payment.component.scss.shim.ngstyle.d.ts.map +1 -0
- package/lib/components/process-refund/process-refund.component.css.shim.ngstyle.d.ts.map +1 -0
- package/lib/components/process-refund/process-refund.component.d.ts +1 -0
- package/lib/components/process-refund/process-refund.component.d.ts.map +1 -0
- package/lib/components/process-refund/process-refund.component.ngfactory.d.ts.map +1 -0
- package/lib/components/processed-payments/processed-payments.component.d.ts +1 -0
- package/lib/components/processed-payments/processed-payments.component.d.ts.map +1 -0
- package/lib/components/processed-payments/processed-payments.component.ngfactory.d.ts.map +1 -0
- package/lib/components/processed-payments/processed-payments.component.scss.shim.ngstyle.d.ts.map +1 -0
- package/lib/components/refund-list/refund-list.component.css.shim.ngstyle.d.ts.map +1 -0
- package/lib/components/refund-list/refund-list.component.d.ts +1 -0
- package/lib/components/refund-list/refund-list.component.d.ts.map +1 -0
- package/lib/components/refund-list/refund-list.component.ngfactory.d.ts.map +1 -0
- package/lib/components/refund-status/refund-status.component.css.shim.ngstyle.d.ts.map +1 -0
- package/lib/components/refund-status/refund-status.component.d.ts +2 -1
- package/lib/components/refund-status/refund-status.component.d.ts.map +1 -0
- package/lib/components/refund-status/refund-status.component.ngfactory.d.ts.map +1 -0
- package/lib/components/reports/reports.component.d.ts +1 -0
- package/lib/components/reports/reports.component.d.ts.map +1 -0
- package/lib/components/reports/reports.component.ngfactory.d.ts.map +1 -0
- package/lib/components/reports/reports.component.scss.shim.ngstyle.d.ts.map +1 -0
- package/lib/components/service-request/service-request.component.css.shim.ngstyle.d.ts.map +1 -0
- package/lib/components/service-request/service-request.component.d.ts +1 -0
- package/lib/components/service-request/service-request.component.d.ts.map +1 -0
- package/lib/components/service-request/service-request.component.ngfactory.d.ts.map +1 -0
- package/lib/components/status-history/status-history.component.css.shim.ngstyle.d.ts.map +1 -0
- package/lib/components/status-history/status-history.component.d.ts +1 -0
- package/lib/components/status-history/status-history.component.d.ts.map +1 -0
- package/lib/components/status-history/status-history.component.ngfactory.d.ts.map +1 -0
- package/lib/components/table/table.component.css.shim.ngstyle.d.ts.map +1 -0
- package/lib/components/table/table.component.d.ts +1 -0
- package/lib/components/table/table.component.d.ts.map +1 -0
- package/lib/components/table/table.component.ngfactory.d.ts.map +1 -0
- package/lib/components/unprocessed-payments/unprocessed-payments.component.d.ts +1 -0
- package/lib/components/unprocessed-payments/unprocessed-payments.component.d.ts.map +1 -0
- package/lib/components/unprocessed-payments/unprocessed-payments.component.ngfactory.d.ts.map +1 -0
- package/lib/components/unprocessed-payments/unprocessed-payments.component.scss.shim.ngstyle.d.ts.map +1 -0
- package/lib/interfaces/AddRemissionRequest.d.ts +1 -0
- package/lib/interfaces/AddRemissionRequest.d.ts.map +1 -0
- package/lib/interfaces/AddRetroRemissionRequest.d.ts +1 -0
- package/lib/interfaces/AddRetroRemissionRequest.d.ts.map +1 -0
- package/lib/interfaces/AllocatePaymentRequest.d.ts +1 -0
- package/lib/interfaces/AllocatePaymentRequest.d.ts.map +1 -0
- package/lib/interfaces/IAllocationPaymentsRequest.d.ts +1 -0
- package/lib/interfaces/IAllocationPaymentsRequest.d.ts.map +1 -0
- package/lib/interfaces/IBSPayments.d.ts +1 -0
- package/lib/interfaces/IBSPayments.d.ts.map +1 -0
- package/lib/interfaces/ICardDetails.d.ts +1 -0
- package/lib/interfaces/ICardDetails.d.ts.map +1 -0
- package/lib/interfaces/IFee.d.ts +1 -0
- package/lib/interfaces/IFee.d.ts.map +1 -0
- package/lib/interfaces/IOrderReferenceFee.d.ts +1 -0
- package/lib/interfaces/IOrderReferenceFee.d.ts.map +1 -0
- package/lib/interfaces/IPatchRefundAction.d.ts +1 -0
- package/lib/interfaces/IPatchRefundAction.d.ts.map +1 -0
- package/lib/interfaces/IPayment.d.ts +1 -0
- package/lib/interfaces/IPayment.d.ts.map +1 -0
- package/lib/interfaces/IPaymentFailure.d.ts +1 -0
- package/lib/interfaces/IPaymentFailure.d.ts.map +1 -0
- package/lib/interfaces/IPaymentGroup.d.ts +1 -0
- package/lib/interfaces/IPaymentGroup.d.ts.map +1 -0
- package/lib/interfaces/IPaymentStatus.d.ts +1 -0
- package/lib/interfaces/IPaymentStatus.d.ts.map +1 -0
- package/lib/interfaces/IPaymentView.d.ts +1 -0
- package/lib/interfaces/IPaymentView.d.ts.map +1 -0
- package/lib/interfaces/IPayments.d.ts +1 -0
- package/lib/interfaces/IPayments.d.ts.map +1 -0
- package/lib/interfaces/IRefundAction.d.ts +1 -0
- package/lib/interfaces/IRefundAction.d.ts.map +1 -0
- package/lib/interfaces/IRefundList.d.ts +1 -0
- package/lib/interfaces/IRefundList.d.ts.map +1 -0
- package/lib/interfaces/IRefundReasons.d.ts +1 -0
- package/lib/interfaces/IRefundReasons.d.ts.map +1 -0
- package/lib/interfaces/IRefundRejectReason.d.ts +1 -0
- package/lib/interfaces/IRefundRejectReason.d.ts.map +1 -0
- package/lib/interfaces/IRefundStatus.d.ts +1 -0
- package/lib/interfaces/IRefundStatus.d.ts.map +1 -0
- package/lib/interfaces/IRefundStatusHistory.d.ts +1 -0
- package/lib/interfaces/IRefundStatusHistory.d.ts.map +1 -0
- package/lib/interfaces/IRemission.d.ts +1 -0
- package/lib/interfaces/IRemission.d.ts.map +1 -0
- package/lib/interfaces/IResubmitRefundRequest.d.ts +1 -0
- package/lib/interfaces/IResubmitRefundRequest.d.ts.map +1 -0
- package/lib/interfaces/IStatusHistories.d.ts +1 -0
- package/lib/interfaces/IStatusHistories.d.ts.map +1 -0
- package/lib/interfaces/IStatusHistory.d.ts +1 -0
- package/lib/interfaces/IStatusHistory.d.ts.map +1 -0
- package/lib/interfaces/IserviceRequestCardPayment.d.ts +1 -0
- package/lib/interfaces/IserviceRequestCardPayment.d.ts.map +1 -0
- package/lib/interfaces/IserviceRequestPbaPayment.d.ts +1 -0
- package/lib/interfaces/IserviceRequestPbaPayment.d.ts.map +1 -0
- package/lib/interfaces/IssueRefundRequest.d.ts +1 -0
- package/lib/interfaces/IssueRefundRequest.d.ts.map +1 -0
- package/lib/interfaces/PayhubAntennaRequest.d.ts +1 -0
- package/lib/interfaces/PayhubAntennaRequest.d.ts.map +1 -0
- package/lib/interfaces/PaymentToPayhubRequest.d.ts +1 -0
- package/lib/interfaces/PaymentToPayhubRequest.d.ts.map +1 -0
- package/lib/interfaces/PostIssueRefundRetroRemission.d.ts +1 -0
- package/lib/interfaces/PostIssueRefundRetroRemission.d.ts.map +1 -0
- package/lib/interfaces/PostRefundRetroRemission.d.ts +1 -0
- package/lib/interfaces/PostRefundRetroRemission.d.ts.map +1 -0
- package/lib/interfaces/RefundsRequest.d.ts +1 -0
- package/lib/interfaces/RefundsRequest.d.ts.map +1 -0
- package/lib/interfaces/UnidentifiedPaymentsRequest.d.ts +1 -0
- package/lib/interfaces/UnidentifiedPaymentsRequest.d.ts.map +1 -0
- package/lib/interfaces/UnsolicitedPaymentsRequest.d.ts +1 -0
- package/lib/interfaces/UnsolicitedPaymentsRequest.d.ts.map +1 -0
- package/lib/payment-lib.component.d.ts +1 -0
- package/lib/payment-lib.component.d.ts.map +1 -0
- package/lib/payment-lib.component.ngfactory.d.ts.map +1 -0
- package/lib/payment-lib.module.d.ts +1 -0
- package/lib/payment-lib.module.d.ts.map +1 -0
- package/lib/payment-lib.module.ngfactory.d.ts.map +1 -0
- package/lib/payment-lib.service.d.ts +1 -0
- package/lib/payment-lib.service.d.ts.map +1 -0
- package/lib/payment-lib.service.ngfactory.d.ts.map +1 -0
- package/lib/pipes/capitalize.pipe.d.ts +1 -0
- package/lib/pipes/capitalize.pipe.d.ts.map +1 -0
- package/lib/pipes/capitalize.pipe.ngfactory.d.ts.map +1 -0
- package/lib/pipes/ccd-hyphens.pipe.d.ts +1 -0
- package/lib/pipes/ccd-hyphens.pipe.d.ts.map +1 -0
- package/lib/pipes/ccd-hyphens.pipe.ngfactory.d.ts.map +1 -0
- package/lib/pipes/key-value.pipe.d.ts +1 -0
- package/lib/pipes/key-value.pipe.d.ts.map +1 -0
- package/lib/pipes/key-value.pipe.ngfactory.d.ts.map +1 -0
- package/lib/pipes/sanitize-html.pipe.d.ts +1 -0
- package/lib/pipes/sanitize-html.pipe.d.ts.map +1 -0
- package/lib/pipes/sanitize-html.pipe.ngfactory.d.ts.map +1 -0
- package/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.d.ts +1 -0
- package/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.d.ts.map +1 -0
- package/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.ngfactory.d.ts.map +1 -0
- package/lib/services/card-details/card-details.service.d.ts +1 -0
- package/lib/services/card-details/card-details.service.d.ts.map +1 -0
- package/lib/services/card-details/card-details.service.ngfactory.d.ts.map +1 -0
- package/lib/services/case-transactions/case-transactions.service.d.ts +1 -0
- package/lib/services/case-transactions/case-transactions.service.d.ts.map +1 -0
- package/lib/services/case-transactions/case-transactions.service.ngfactory.d.ts.map +1 -0
- package/lib/services/orderslist.service.d.ts +1 -0
- package/lib/services/orderslist.service.d.ts.map +1 -0
- package/lib/services/orderslist.service.ngfactory.d.ts.map +1 -0
- package/lib/services/payment-list/payment-list.service.d.ts +1 -0
- package/lib/services/payment-list/payment-list.service.d.ts.map +1 -0
- package/lib/services/payment-list/payment-list.service.ngfactory.d.ts.map +1 -0
- package/lib/services/payment-view/payment-view.service.d.ts +1 -0
- package/lib/services/payment-view/payment-view.service.d.ts.map +1 -0
- package/lib/services/payment-view/payment-view.service.ngfactory.d.ts.map +1 -0
- package/lib/services/refunds/refunds.service.d.ts +1 -0
- package/lib/services/refunds/refunds.service.d.ts.map +1 -0
- package/lib/services/refunds/refunds.service.ngfactory.d.ts.map +1 -0
- package/lib/services/shared/error-handler.service.d.ts +2 -1
- package/lib/services/shared/error-handler.service.d.ts.map +1 -0
- package/lib/services/shared/error-handler.service.ngfactory.d.ts.map +1 -0
- package/lib/services/shared/httpclient/webcomponent.http.client.d.ts +1 -0
- package/lib/services/shared/httpclient/webcomponent.http.client.d.ts.map +1 -0
- package/lib/services/shared/httpclient/webcomponent.http.client.ngfactory.d.ts.map +1 -0
- package/lib/services/shared/logger/console-logger.service.d.ts +4 -3
- package/lib/services/shared/logger/console-logger.service.d.ts.map +1 -0
- package/lib/services/shared/logger/console-logger.service.ngfactory.d.ts.map +1 -0
- package/lib/services/shared/logger/logger.service.d.ts +1 -0
- package/lib/services/shared/logger/logger.service.d.ts.map +1 -0
- package/lib/services/shared/logger/logger.service.ngfactory.d.ts.map +1 -0
- package/lib/services/status-history/status-history.service.d.ts +1 -0
- package/lib/services/status-history/status-history.service.d.ts.map +1 -0
- package/lib/services/status-history/status-history.service.ngfactory.d.ts.map +1 -0
- package/lib/services/xl-file/xl-file.service.d.ts +1 -0
- package/lib/services/xl-file/xl-file.service.d.ts.map +1 -0
- package/lib/services/xl-file/xl-file.service.ngfactory.d.ts.map +1 -0
- package/package.json +6 -8
- package/public_api.d.ts +1 -0
- package/public_api.d.ts.map +1 -0
- package/esm5/hmcts-ccpay-web-component.js +0 -48
- package/esm5/lib/components/add-remission/add-remission.component.js +0 -1146
- package/esm5/lib/components/allocate-payments/allocate-payments.component.js +0 -745
- package/esm5/lib/components/card-details/card-details.component.js +0 -77
- package/esm5/lib/components/case-transactions/case-transactions.component.js +0 -1444
- package/esm5/lib/components/error-banner/error-banner.component.js +0 -36
- package/esm5/lib/components/fee-summary/fee-summary.component.js +0 -504
- package/esm5/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.js +0 -371
- package/esm5/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.js +0 -474
- package/esm5/lib/components/page-not-found.component.js +0 -17
- package/esm5/lib/components/payment-list/payment-list.component.js +0 -83
- package/esm5/lib/components/payment-view/payment-view.component.js +0 -673
- package/esm5/lib/components/pba-details/pba-details.component.js +0 -36
- package/esm5/lib/components/pba-payment/pba-payment.component.js +0 -269
- package/esm5/lib/components/process-refund/process-refund.component.js +0 -536
- package/esm5/lib/components/processed-payments/processed-payments.component.js +0 -83
- package/esm5/lib/components/refund-list/refund-list.component.js +0 -130
- package/esm5/lib/components/refund-status/refund-status.component.js +0 -554
- package/esm5/lib/components/reports/reports.component.js +0 -515
- package/esm5/lib/components/service-request/service-request.component.js +0 -690
- package/esm5/lib/components/status-history/status-history.component.js +0 -70
- package/esm5/lib/components/table/table.component.js +0 -229
- package/esm5/lib/components/unprocessed-payments/unprocessed-payments.component.js +0 -418
- package/esm5/lib/interfaces/AddRemissionRequest.js +0 -32
- package/esm5/lib/interfaces/AddRetroRemissionRequest.js +0 -19
- package/esm5/lib/interfaces/AllocatePaymentRequest.js +0 -63
- package/esm5/lib/interfaces/IAllocationPaymentsRequest.js +0 -34
- package/esm5/lib/interfaces/IBSPayments.js +0 -45
- package/esm5/lib/interfaces/ICardDetails.js +0 -21
- package/esm5/lib/interfaces/IFee.js +0 -53
- package/esm5/lib/interfaces/IOrderReferenceFee.js +0 -25
- package/esm5/lib/interfaces/IPatchRefundAction.js +0 -15
- package/esm5/lib/interfaces/IPayment.js +0 -65
- package/esm5/lib/interfaces/IPaymentFailure.js +0 -33
- package/esm5/lib/interfaces/IPaymentGroup.js +0 -19
- package/esm5/lib/interfaces/IPaymentStatus.js +0 -31
- package/esm5/lib/interfaces/IPaymentView.js +0 -17
- package/esm5/lib/interfaces/IPayments.js +0 -13
- package/esm5/lib/interfaces/IRefundAction.js +0 -15
- package/esm5/lib/interfaces/IRefundList.js +0 -29
- package/esm5/lib/interfaces/IRefundReasons.js +0 -19
- package/esm5/lib/interfaces/IRefundRejectReason.js +0 -15
- package/esm5/lib/interfaces/IRefundStatus.js +0 -23
- package/esm5/lib/interfaces/IRefundStatusHistory.js +0 -15
- package/esm5/lib/interfaces/IRemission.js +0 -25
- package/esm5/lib/interfaces/IResubmitRefundRequest.js +0 -19
- package/esm5/lib/interfaces/IStatusHistories.js +0 -19
- package/esm5/lib/interfaces/IStatusHistory.js +0 -21
- package/esm5/lib/interfaces/IserviceRequestCardPayment.js +0 -22
- package/esm5/lib/interfaces/IserviceRequestPbaPayment.js +0 -28
- package/esm5/lib/interfaces/IssueRefundRequest.js +0 -22
- package/esm5/lib/interfaces/PayhubAntennaRequest.js +0 -25
- package/esm5/lib/interfaces/PaymentToPayhubRequest.js +0 -34
- package/esm5/lib/interfaces/PostIssueRefundRetroRemission.js +0 -16
- package/esm5/lib/interfaces/PostRefundRetroRemission.js +0 -19
- package/esm5/lib/interfaces/RefundsRequest.js +0 -19
- package/esm5/lib/interfaces/UnidentifiedPaymentsRequest.js +0 -28
- package/esm5/lib/interfaces/UnsolicitedPaymentsRequest.js +0 -37
- package/esm5/lib/payment-lib.component.js +0 -237
- package/esm5/lib/payment-lib.module.js +0 -103
- package/esm5/lib/payment-lib.service.js +0 -111
- package/esm5/lib/pipes/capitalize.pipe.js +0 -32
- package/esm5/lib/pipes/ccd-hyphens.pipe.js +0 -37
- package/esm5/lib/pipes/key-value.pipe.js +0 -37
- package/esm5/lib/pipes/sanitize-html.pipe.js +0 -39
- package/esm5/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.js +0 -218
- package/esm5/lib/services/card-details/card-details.service.js +0 -76
- package/esm5/lib/services/case-transactions/case-transactions.service.js +0 -76
- package/esm5/lib/services/orderslist.service.js +0 -531
- package/esm5/lib/services/payment-list/payment-list.service.js +0 -80
- package/esm5/lib/services/payment-view/payment-view.service.js +0 -416
- package/esm5/lib/services/refunds/refunds.service.js +0 -256
- package/esm5/lib/services/shared/error-handler.service.js +0 -127
- package/esm5/lib/services/shared/httpclient/webcomponent.http.client.js +0 -167
- package/esm5/lib/services/shared/logger/console-logger.service.js +0 -88
- package/esm5/lib/services/shared/logger/logger.service.js +0 -68
- package/esm5/lib/services/status-history/status-history.service.js +0 -80
- package/esm5/lib/services/xl-file/xl-file.service.js +0 -254
- package/esm5/public_api.js +0 -11
- package/fesm5/hmcts-ccpay-web-component.js +0 -10017
- package/fesm5/hmcts-ccpay-web-component.js.map +0 -1
|
@@ -1,554 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview added by tsickle
|
|
3
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4
|
-
*/
|
|
5
|
-
import { Component, Input } from '@angular/core';
|
|
6
|
-
import { RefundsService } from '../../services/refunds/refunds.service';
|
|
7
|
-
import { FormBuilder, Validators, FormControl } from '@angular/forms';
|
|
8
|
-
import { PaymentViewService } from '../../services/payment-view/payment-view.service';
|
|
9
|
-
import { Router } from '@angular/router';
|
|
10
|
-
import { OrderslistService } from '../../services/orderslist.service';
|
|
11
|
-
import { IResubmitRefundRequest } from '../../interfaces/IResubmitRefundRequest';
|
|
12
|
-
import { PaymentLibComponent } from '../../payment-lib.component';
|
|
13
|
-
/** @type {?} */
|
|
14
|
-
var BS_ENABLE_FLAG = 'bulk-scan-enabling-fe';
|
|
15
|
-
var RefundStatusComponent = /** @class */ (function () {
|
|
16
|
-
function RefundStatusComponent(formBuilder, refundService, paymentLibComponent, paymentViewService, router, OrderslistService) {
|
|
17
|
-
var _this = this;
|
|
18
|
-
this.formBuilder = formBuilder;
|
|
19
|
-
this.refundService = refundService;
|
|
20
|
-
this.paymentLibComponent = paymentLibComponent;
|
|
21
|
-
this.paymentViewService = paymentViewService;
|
|
22
|
-
this.router = router;
|
|
23
|
-
this.OrderslistService = OrderslistService;
|
|
24
|
-
this.LOGGEDINUSERROLES = [];
|
|
25
|
-
this.rejectedRefundList = [];
|
|
26
|
-
this.approvalStatus = 'Sent for approval';
|
|
27
|
-
this.rejectStatus = 'Update required';
|
|
28
|
-
// approvalStatus = 'sent for approval';
|
|
29
|
-
// rejectStatus = 'sent back';
|
|
30
|
-
this.errorMessage = null;
|
|
31
|
-
this.refundButtonState = '';
|
|
32
|
-
this.isAmountEmpty = false;
|
|
33
|
-
this.isReasonEmpty = false;
|
|
34
|
-
this.amountHasError = false;
|
|
35
|
-
this.isRemissionLessThanFeeError = false;
|
|
36
|
-
this.refundHasError = false;
|
|
37
|
-
this.refundReasons = [];
|
|
38
|
-
this.isRefundBtnDisabled = true;
|
|
39
|
-
this.isLastUpdatedByCurrentUser = true;
|
|
40
|
-
this.isProcessRefund = false;
|
|
41
|
-
this.isFromPayBubble = (/**
|
|
42
|
-
* @return {?}
|
|
43
|
-
*/
|
|
44
|
-
function () {
|
|
45
|
-
return _this.API_ROOT === 'api/payment-history';
|
|
46
|
-
});
|
|
47
|
-
}
|
|
48
|
-
/**
|
|
49
|
-
* @return {?}
|
|
50
|
-
*/
|
|
51
|
-
RefundStatusComponent.prototype.ngOnInit = /**
|
|
52
|
-
* @return {?}
|
|
53
|
-
*/
|
|
54
|
-
function () {
|
|
55
|
-
var _this = this;
|
|
56
|
-
// if (this.check4AllowedRoles2AccessRefund()) {
|
|
57
|
-
this.resetRemissionForm([false, false, false, false], 'All');
|
|
58
|
-
this.bsPaymentDcnNumber = this.paymentLibComponent.bspaymentdcn;
|
|
59
|
-
this.isCallFromRefundList = this.paymentLibComponent.isCallFromRefundList;
|
|
60
|
-
// if(this.paymentLibComponent.isFromRefundStatusPage) {
|
|
61
|
-
// this.viewName = 'reviewandsubmitview';
|
|
62
|
-
// }
|
|
63
|
-
if (this.paymentLibComponent.isRefundStatusView) {
|
|
64
|
-
this.viewName = 'refundview';
|
|
65
|
-
this.OrderslistService.getRefundView().subscribe((/**
|
|
66
|
-
* @param {?} data
|
|
67
|
-
* @return {?}
|
|
68
|
-
*/
|
|
69
|
-
function (data) { return _this.refundlist = data; }));
|
|
70
|
-
this.OrderslistService.getCCDCaseNumberforRefund.subscribe((/**
|
|
71
|
-
* @param {?} data
|
|
72
|
-
* @return {?}
|
|
73
|
-
*/
|
|
74
|
-
function (data) { return _this.ccdCaseNumber = data; }));
|
|
75
|
-
}
|
|
76
|
-
else {
|
|
77
|
-
this.viewName = 'refundstatuslist';
|
|
78
|
-
if (this.isEliginbleToAccess) {
|
|
79
|
-
this.refundService.getRefundStatusList(this.ccdCaseNumber).subscribe((/**
|
|
80
|
-
* @param {?} refundList
|
|
81
|
-
* @return {?}
|
|
82
|
-
*/
|
|
83
|
-
function (refundList) {
|
|
84
|
-
_this.rejectedRefundList = refundList['refund_list'];
|
|
85
|
-
})),
|
|
86
|
-
(/**
|
|
87
|
-
* @param {?} error
|
|
88
|
-
* @return {?}
|
|
89
|
-
*/
|
|
90
|
-
function (error) {
|
|
91
|
-
_this.errorMessage = error.replace(/"/g, "");
|
|
92
|
-
});
|
|
93
|
-
}
|
|
94
|
-
else {
|
|
95
|
-
this.rejectedRefundList = [];
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
this.refundStatusForm = this.formBuilder.group({
|
|
99
|
-
amount: new FormControl('', Validators.compose([
|
|
100
|
-
Validators.required,
|
|
101
|
-
Validators.pattern('^[0-9]+(\.[0-9]{1,2})?$')
|
|
102
|
-
])),
|
|
103
|
-
refundReason: new FormControl('', Validators.compose([Validators.required])),
|
|
104
|
-
reason: new FormControl()
|
|
105
|
-
});
|
|
106
|
-
if (this.refundlist !== undefined) {
|
|
107
|
-
this.getRefundsStatusHistoryList();
|
|
108
|
-
if (this.LOGGEDINUSERROLES.some((/**
|
|
109
|
-
* @param {?} i
|
|
110
|
-
* @return {?}
|
|
111
|
-
*/
|
|
112
|
-
function (i) { return i.includes('payments-refund-approver'); }))) {
|
|
113
|
-
this.isProcessRefund = true;
|
|
114
|
-
this.refundButtonState = this.refundlist.refund_status.name;
|
|
115
|
-
return;
|
|
116
|
-
}
|
|
117
|
-
if (this.LOGGEDINUSERROLES.some((/**
|
|
118
|
-
* @param {?} i
|
|
119
|
-
* @return {?}
|
|
120
|
-
*/
|
|
121
|
-
function (i) { return i.includes('payments-refund'); }))) {
|
|
122
|
-
this.isProcessRefund = false;
|
|
123
|
-
this.refundButtonState = this.refundlist.refund_status.name;
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
//}
|
|
127
|
-
};
|
|
128
|
-
/**
|
|
129
|
-
* @return {?}
|
|
130
|
-
*/
|
|
131
|
-
RefundStatusComponent.prototype.getRefundsStatusHistoryList = /**
|
|
132
|
-
* @return {?}
|
|
133
|
-
*/
|
|
134
|
-
function () {
|
|
135
|
-
var _this = this;
|
|
136
|
-
if (this.refundlist !== undefined) {
|
|
137
|
-
this.refundService.getRefundStatusHistory(this.refundlist.refund_reference).subscribe((/**
|
|
138
|
-
* @param {?} statusHistoryList
|
|
139
|
-
* @return {?}
|
|
140
|
-
*/
|
|
141
|
-
function (statusHistoryList) {
|
|
142
|
-
_this.refundStatusHistories = statusHistoryList.status_history_dto_list;
|
|
143
|
-
_this.isLastUpdatedByCurrentUser = statusHistoryList.last_updated_by_current_user;
|
|
144
|
-
})),
|
|
145
|
-
(/**
|
|
146
|
-
* @param {?} error
|
|
147
|
-
* @return {?}
|
|
148
|
-
*/
|
|
149
|
-
function (error) {
|
|
150
|
-
_this.errorMessage = error.replace(/"/g, "");
|
|
151
|
-
});
|
|
152
|
-
}
|
|
153
|
-
};
|
|
154
|
-
/**
|
|
155
|
-
* @param {?} refundlist
|
|
156
|
-
* @param {?} navigationpage
|
|
157
|
-
* @return {?}
|
|
158
|
-
*/
|
|
159
|
-
RefundStatusComponent.prototype.goToRefundView = /**
|
|
160
|
-
* @param {?} refundlist
|
|
161
|
-
* @param {?} navigationpage
|
|
162
|
-
* @return {?}
|
|
163
|
-
*/
|
|
164
|
-
function (refundlist, navigationpage) {
|
|
165
|
-
this.OrderslistService.setRefundView(refundlist);
|
|
166
|
-
this.OrderslistService.setCCDCaseNumber(this.ccdCaseNumber);
|
|
167
|
-
this.paymentLibComponent.viewName = 'refundstatuslist';
|
|
168
|
-
this.paymentLibComponent.isRefundStatusView = true;
|
|
169
|
-
this.refundlist = refundlist;
|
|
170
|
-
this.OrderslistService.setnavigationPage(navigationpage);
|
|
171
|
-
};
|
|
172
|
-
/**
|
|
173
|
-
* @return {?}
|
|
174
|
-
*/
|
|
175
|
-
RefundStatusComponent.prototype.loadCaseTransactionPage = /**
|
|
176
|
-
* @return {?}
|
|
177
|
-
*/
|
|
178
|
-
function () {
|
|
179
|
-
this.OrderslistService.setnavigationPage('casetransactions');
|
|
180
|
-
this.OrderslistService.setisFromServiceRequestPage(false);
|
|
181
|
-
this.paymentLibComponent.viewName = 'case-transactions';
|
|
182
|
-
this.paymentLibComponent.ISBSENABLE = true;
|
|
183
|
-
this.paymentLibComponent.isRefundStatusView = false;
|
|
184
|
-
};
|
|
185
|
-
/**
|
|
186
|
-
* @return {?}
|
|
187
|
-
*/
|
|
188
|
-
RefundStatusComponent.prototype.loadRefundListPage = /**
|
|
189
|
-
* @return {?}
|
|
190
|
-
*/
|
|
191
|
-
function () {
|
|
192
|
-
var _this = this;
|
|
193
|
-
this.OrderslistService.getnavigationPageValue().subscribe((/**
|
|
194
|
-
* @param {?} data
|
|
195
|
-
* @return {?}
|
|
196
|
-
*/
|
|
197
|
-
function (data) { return _this.navigationpage = data; }));
|
|
198
|
-
if (this.navigationpage === 'casetransactions') {
|
|
199
|
-
this.loadCaseTransactionPage();
|
|
200
|
-
}
|
|
201
|
-
else {
|
|
202
|
-
this.paymentLibComponent.viewName = 'refund-list';
|
|
203
|
-
}
|
|
204
|
-
};
|
|
205
|
-
/**
|
|
206
|
-
* @param {?} event
|
|
207
|
-
* @return {?}
|
|
208
|
-
*/
|
|
209
|
-
RefundStatusComponent.prototype.gotoReviewDetailsPage = /**
|
|
210
|
-
* @param {?} event
|
|
211
|
-
* @return {?}
|
|
212
|
-
*/
|
|
213
|
-
function (event) {
|
|
214
|
-
// event.preventDefault();
|
|
215
|
-
this.errorMessage = false;
|
|
216
|
-
this.paymentLibComponent.isRefundStatusView = true;
|
|
217
|
-
this.ngOnInit();
|
|
218
|
-
};
|
|
219
|
-
/**
|
|
220
|
-
* @return {?}
|
|
221
|
-
*/
|
|
222
|
-
RefundStatusComponent.prototype.gotoReviewAndReSubmitPage = /**
|
|
223
|
-
* @return {?}
|
|
224
|
-
*/
|
|
225
|
-
function () {
|
|
226
|
-
var _this = this;
|
|
227
|
-
this.viewName = 'reviewandsubmitview';
|
|
228
|
-
this.oldRefundReason = this.refundlist.reason;
|
|
229
|
-
this.changedAmount = this.refundlist.amount;
|
|
230
|
-
this.refundreason = this.refundStatusHistories.filter((/**
|
|
231
|
-
* @param {?} data
|
|
232
|
-
* @return {?}
|
|
233
|
-
*/
|
|
234
|
-
function (data) { return data.status.toLowerCase() === 'update required'; }))[0].notes;
|
|
235
|
-
this.refundService.getRefundReasons().subscribe((/**
|
|
236
|
-
* @param {?} refundReasons
|
|
237
|
-
* @return {?}
|
|
238
|
-
*/
|
|
239
|
-
function (refundReasons) {
|
|
240
|
-
_this.refundReasons = refundReasons;
|
|
241
|
-
}));
|
|
242
|
-
};
|
|
243
|
-
/**
|
|
244
|
-
* @return {?}
|
|
245
|
-
*/
|
|
246
|
-
RefundStatusComponent.prototype.gotoRefundReasonPage = /**
|
|
247
|
-
* @return {?}
|
|
248
|
-
*/
|
|
249
|
-
function () {
|
|
250
|
-
this.isRefundBtnDisabled = false;
|
|
251
|
-
this.paymentLibComponent.REFUNDLIST = "true";
|
|
252
|
-
this.paymentLibComponent.isFromRefundStatusPage = true;
|
|
253
|
-
this.ccdCaseNumber = this.paymentLibComponent.CCD_CASE_NUMBER;
|
|
254
|
-
this.errorMessage = false;
|
|
255
|
-
this.viewName = 'issuerefund';
|
|
256
|
-
};
|
|
257
|
-
/**
|
|
258
|
-
* @return {?}
|
|
259
|
-
*/
|
|
260
|
-
RefundStatusComponent.prototype.gotoAmountPage = /**
|
|
261
|
-
* @return {?}
|
|
262
|
-
*/
|
|
263
|
-
function () {
|
|
264
|
-
this.errorMessage = false;
|
|
265
|
-
this.paymentLibComponent.REFUNDLIST = "true";
|
|
266
|
-
this.isRefundBtnDisabled = false;
|
|
267
|
-
this.ccdCaseNumber = this.paymentLibComponent.CCD_CASE_NUMBER;
|
|
268
|
-
this.paymentLibComponent.isFromRefundStatusPage = true;
|
|
269
|
-
this.viewName = 'processretroremissonpage';
|
|
270
|
-
};
|
|
271
|
-
/**
|
|
272
|
-
* @return {?}
|
|
273
|
-
*/
|
|
274
|
-
RefundStatusComponent.prototype.goToReviewAndSubmitView = /**
|
|
275
|
-
* @return {?}
|
|
276
|
-
*/
|
|
277
|
-
function () {
|
|
278
|
-
/** @type {?} */
|
|
279
|
-
var remissionctrls = this.refundStatusForm.controls;
|
|
280
|
-
if (this.refundStatusForm.dirty) {
|
|
281
|
-
if (remissionctrls['amount'].value == '') {
|
|
282
|
-
this.resetRemissionForm([true, false, false, false], 'amount');
|
|
283
|
-
}
|
|
284
|
-
else if (remissionctrls['amount'].value != '' && remissionctrls['amount'].invalid) {
|
|
285
|
-
this.resetRemissionForm([false, true, false, false], 'amount');
|
|
286
|
-
}
|
|
287
|
-
else if (remissionctrls['reason'].value == '') {
|
|
288
|
-
this.resetRemissionForm([false, false, false, true], 'reason');
|
|
289
|
-
}
|
|
290
|
-
else {
|
|
291
|
-
this.refundlist.reason = remissionctrls['reason'].value;
|
|
292
|
-
this.viewName = 'reviewandsubmitview';
|
|
293
|
-
}
|
|
294
|
-
}
|
|
295
|
-
};
|
|
296
|
-
/**
|
|
297
|
-
* @param {?} val
|
|
298
|
-
* @param {?} field
|
|
299
|
-
* @return {?}
|
|
300
|
-
*/
|
|
301
|
-
RefundStatusComponent.prototype.resetRemissionForm = /**
|
|
302
|
-
* @param {?} val
|
|
303
|
-
* @param {?} field
|
|
304
|
-
* @return {?}
|
|
305
|
-
*/
|
|
306
|
-
function (val, field) {
|
|
307
|
-
if (field === 'All') {
|
|
308
|
-
this.isAmountEmpty = val[0];
|
|
309
|
-
this.amountHasError = val[1];
|
|
310
|
-
this.isRemissionLessThanFeeError = val[2];
|
|
311
|
-
this.isReasonEmpty = val[3];
|
|
312
|
-
}
|
|
313
|
-
else if (field === 'amount' || field === 'All') {
|
|
314
|
-
this.isAmountEmpty = val[0];
|
|
315
|
-
this.amountHasError = val[1];
|
|
316
|
-
this.isRemissionLessThanFeeError = val[2];
|
|
317
|
-
}
|
|
318
|
-
else if (field === 'reason' || field === 'All') {
|
|
319
|
-
this.isReasonEmpty = val[3];
|
|
320
|
-
}
|
|
321
|
-
};
|
|
322
|
-
/**
|
|
323
|
-
* @param {?} key
|
|
324
|
-
* @param {?} value
|
|
325
|
-
* @return {?}
|
|
326
|
-
*/
|
|
327
|
-
RefundStatusComponent.prototype.selectRadioButton = /**
|
|
328
|
-
* @param {?} key
|
|
329
|
-
* @param {?} value
|
|
330
|
-
* @return {?}
|
|
331
|
-
*/
|
|
332
|
-
function (key, value) {
|
|
333
|
-
this.refundHasError = false;
|
|
334
|
-
this.selectedRefundReason = key;
|
|
335
|
-
if (key === 'Other') {
|
|
336
|
-
this.refundHasError = false;
|
|
337
|
-
this.refundReason = key;
|
|
338
|
-
}
|
|
339
|
-
};
|
|
340
|
-
/**
|
|
341
|
-
* @param {?} refundListReason
|
|
342
|
-
* @return {?}
|
|
343
|
-
*/
|
|
344
|
-
RefundStatusComponent.prototype.getRefundListReason = /**
|
|
345
|
-
* @param {?} refundListReason
|
|
346
|
-
* @return {?}
|
|
347
|
-
*/
|
|
348
|
-
function (refundListReason) {
|
|
349
|
-
if (this.paymentLibComponent.isFromRefundStatusPage && !this.paymentLibComponent.iscancelClicked) {
|
|
350
|
-
this.refundlist.reason = refundListReason.reason;
|
|
351
|
-
this.refundCode = refundListReason.code;
|
|
352
|
-
}
|
|
353
|
-
else {
|
|
354
|
-
this.isRefundBtnDisabled = true;
|
|
355
|
-
}
|
|
356
|
-
this.viewName = 'reviewandsubmitview';
|
|
357
|
-
this.paymentLibComponent.CCD_CASE_NUMBER = this.ccdCaseNumber;
|
|
358
|
-
};
|
|
359
|
-
/**
|
|
360
|
-
* @param {?} amount
|
|
361
|
-
* @return {?}
|
|
362
|
-
*/
|
|
363
|
-
RefundStatusComponent.prototype.getRefundAmount = /**
|
|
364
|
-
* @param {?} amount
|
|
365
|
-
* @return {?}
|
|
366
|
-
*/
|
|
367
|
-
function (amount) {
|
|
368
|
-
if (this.paymentLibComponent.isFromRefundStatusPage && !this.paymentLibComponent.iscancelClicked) {
|
|
369
|
-
if (amount > 0) {
|
|
370
|
-
this.changedAmount = amount;
|
|
371
|
-
// this.refundlist.amount = amount;
|
|
372
|
-
}
|
|
373
|
-
}
|
|
374
|
-
else {
|
|
375
|
-
this.isRefundBtnDisabled = true;
|
|
376
|
-
}
|
|
377
|
-
this.viewName = 'reviewandsubmitview';
|
|
378
|
-
this.paymentLibComponent.CCD_CASE_NUMBER = this.ccdCaseNumber;
|
|
379
|
-
};
|
|
380
|
-
/**
|
|
381
|
-
* @return {?}
|
|
382
|
-
*/
|
|
383
|
-
RefundStatusComponent.prototype.gotoReviewRefundConfirmationPage = /**
|
|
384
|
-
* @return {?}
|
|
385
|
-
*/
|
|
386
|
-
function () {
|
|
387
|
-
var _this = this;
|
|
388
|
-
if (this.oldRefundReason === this.refundlist.reason) {
|
|
389
|
-
this.refundCode = '';
|
|
390
|
-
}
|
|
391
|
-
/** @type {?} */
|
|
392
|
-
var resubmitRequest = new IResubmitRefundRequest(this.refundCode, this.changedAmount);
|
|
393
|
-
this.refundService.patchResubmitRefund(resubmitRequest, this.refundlist.refund_reference).subscribe((/**
|
|
394
|
-
* @param {?} response
|
|
395
|
-
* @return {?}
|
|
396
|
-
*/
|
|
397
|
-
function (response) {
|
|
398
|
-
if (JSON.parse(response)) {
|
|
399
|
-
_this.refundReference = JSON.parse(response).refund_reference;
|
|
400
|
-
_this.refundAmount = JSON.parse(response).refund_amount;
|
|
401
|
-
_this.viewName = 'reviewrefundconfirmationpage';
|
|
402
|
-
}
|
|
403
|
-
}), (/**
|
|
404
|
-
* @param {?} error
|
|
405
|
-
* @return {?}
|
|
406
|
-
*/
|
|
407
|
-
function (error) {
|
|
408
|
-
_this.errorMessage = error.replace(/"/g, "");
|
|
409
|
-
}));
|
|
410
|
-
};
|
|
411
|
-
/**
|
|
412
|
-
* @param {?} refundReference
|
|
413
|
-
* @param {?} refundList
|
|
414
|
-
* @return {?}
|
|
415
|
-
*/
|
|
416
|
-
RefundStatusComponent.prototype.goToRefundProcessComponent = /**
|
|
417
|
-
* @param {?} refundReference
|
|
418
|
-
* @param {?} refundList
|
|
419
|
-
* @return {?}
|
|
420
|
-
*/
|
|
421
|
-
function (refundReference, refundList) {
|
|
422
|
-
this.paymentLibComponent.refundlistsource = refundList;
|
|
423
|
-
this.paymentLibComponent.refundReference = refundReference;
|
|
424
|
-
this.paymentLibComponent.viewName = 'process-refund';
|
|
425
|
-
};
|
|
426
|
-
RefundStatusComponent.decorators = [
|
|
427
|
-
{ type: Component, args: [{
|
|
428
|
-
selector: 'ccpay-refund-status',
|
|
429
|
-
template: "\n<div *ngIf=\"errorMessage\">\n <div class=\"error-summary\" role=\"group\" aria-labelledby=\"failure-error-summary-heading\" tabindex=\"-1\">\n <h2 class=\"heading-medium error-summary-heading\" id=\"failure-error-summary-heading\">\n Error in processing the request\n </h2>\n <div class=\"govuk-error-summary__body\">\n {{ errorMessage }}\n </div>\n </div>\n</div>\n<ng-container *ngIf=\"viewName==='refundstatuslist' && rejectedRefundList\">\n <!-- payments -->\n\n <table class=\"govuk-table\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__header col-16\" scope=\"col\">Status</td>\n <td class=\"govuk-table__header col-11\" scope=\"col\">Amount</td>\n <td class=\"govuk-table__header col-18\" scope=\"col\">Date</td>\n <td class=\"govuk-table__header col-25\" scope=\"col\">Refund reference</td>\n <td class=\"govuk-table__header col-24 \" scope=\"col\">Reason</td>\n <td class=\"govuk-table__header\" scope=\"col\"></td>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\" *ngIf=\"rejectedRefundList?.length > 0\">\n <tr class=\"govuk-table__row\" *ngFor=\"let refundList of rejectedRefundList\">\n <td class=\"govuk-table__cell whitespace-inherit\">{{ refundList?.refund_status['name'] }}</td>\n <td class=\"channel govuk-table__cell whitespace-inherit\">\u00A3{{ refundList?.amount | number:'.2' }}</td>\n <td class=\"govuk-table__cell whitespace-inherit\">{{ refundList?.date_updated | date:'dd MMM yyyy'}}\n </td>\n <td class=\"govuk-table__cell whitespace-inherit\">{{ refundList?.refund_reference }}</td>\n <td class=\"govuk-table__cell whitespace-inherit\"> {{refundList?.reason}}</td>\n <td class=\"govuk-table__cell whitespace-inherit\">\n <a href=\"javascript:void(0)\" (click)=\"goToRefundView(refundList,'casetransactions')\">Review</a>\n </td>\n </tr>\n </tbody>\n <tbody class=\"govuk-table__body\" *ngIf=\"rejectedRefundList?.length === 0\">\n <td class=\"govuk-table__cell\" colspan=\"6\">No refunds recorded</td>\n </tbody>\n </table>\n</ng-container>\n\n<ng-container *ngIf=\"viewName==='refundview'\">\n <div class=\"govuk-breadcrumbs\">\n <ol class=\"govuk-breadcrumbs__list\">\n <li class=\"govuk-breadcrumbs__list-item\">\n <a href=\"javascript:void(0)\" (click)=\"loadRefundListPage()\" class=\"govuk-back-link govuk-label\">Back</a>\n </li>\n </ol>\n </div>\n <h2 class=\"govuk-heading-l\">Refund details</h2>\n <table>\n \n <tbody>\n <tr class=\"section\">\n <td class=\"bold tb-col-w\">Refund reference</td>\n <td>{{ refundlist?.refund_reference }}</td>\n </tr>\n <tr class=\"section\">\n <td class=\"bold tb-col-w\">Payment to be refunded</td>\n <td>{{refundlist?.payment_reference }}</td>\n </tr>\n <tr class=\"section\">\n <td class=\"bold tb-col-w\">Reason for refund</td>\n <td>{{ refundlist?.reason }}</td>\n </tr>\n <tr class=\"section\">\n <td class=\"bold tb-col-w\">Amount refunded</td>\n <td>\u00A3{{refundlist?.amount | number:'.2' }}</td>\n </tr>\n\n </tbody>\n </table>\n\n <!-- Status history -->\n <div>\n <br />\n <h2 class=\"govuk-heading-m\">Refund status history</h2>\n <div *ngIf=\"refundStatusHistories\">\n <table class=\"govuk-table\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__header col-24 whitespace-inherit\" scope=\"col\">Status</td>\n <td class=\"govuk-table__header col-27 whitespace-inherit\" scope=\"col\">Date and time</td>\n <td class=\"govuk-table__header whitespace-inherit\" scope=\"col\">Users</td>\n <td class=\"govuk-table__header whitespace-inherit\" scope=\"col\">Notes</td>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\" *ngFor=\"let refundStatusHistory of refundStatusHistories;\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__cell whitespace-inherit\">{{refundStatusHistory.status}}</td>\n <td class=\"govuk-table__cell whitespace-inherit\">{{refundStatusHistory.date_created | date:'d MMMM yyyy\n hh:mm:ss'}}</td>\n <td class=\"govuk-table__cell whitespace-inherit\">{{refundStatusHistory.created_by}}</td>\n <td class=\"govuk-table__cell whitespace-inherit\">{{refundStatusHistory.notes}}</td>\n </tr>\n </tbody>\n </table>\n </div>\n\n </div>\n\n <ng-container *ngIf=\"viewName === 'refundview' && !isFromPayBubble\">\n <div *ngIf=\"refundButtonState==='Update required'\">\n <!-- <div *ngIf=\"refundButtonState==='sent back'\"> -->\n <br />\n <button type=\"submit\" class=\"button govuk-button--secondary btnmargin\"\n (click)=\"gotoReviewAndReSubmitPage()\">Resubmit\n refund</button>\n </div>\n <div *ngIf=\"isProcessRefund && !isLastUpdatedByCurrentUser && refundButtonState==='Sent for approval'\" >\n <!-- <div *ngIf=\"isProcessRefund && !isLastUpdatedByCurrentUser && refundButtonState==='sent for approval'\"> -->\n <br />\n <button type=\"submit\" class=\"button govuk-button--secondary\"\n (click)=\"goToRefundProcessComponent(refundlist.refund_reference,refundlist)\">Process refund</button>\n </div>\n </ng-container>\n\n\n</ng-container>\n\n<ng-container *ngIf=\"viewName==='reviewandsubmitview'\">\n <!-- <div class=\"govuk-breadcrumbs\">\n <ol class=\"govuk-breadcrumbs__list\">\n <li class=\"govuk-breadcrumbs__list-item\">\n <a (click)=\"gotoReviewDetailsPage($event)\" class=\"govuk-back-link govuk-label\">Back</a>\n </li>\n </ol>\n </div> -->\n <div class=\"govuk-warning-text\">\n <h1 class=\"heading-large\">Review and resubmit refund</h1>\n </div>\n <table class=\"govuk-table\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__cell govuk-!-font-weight-bold\">Reason for rejection</td>\n <td class=\"govuk-table__cell\">{{refundreason}}</td>\n </tr>\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__cell govuk-!-font-weight-bold\">Refund reference</td>\n <td class=\"govuk-table__cell\">{{ refundlist?.refund_reference}} </td>\n </tr>\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__cell govuk-!-font-weight-bold\">Reason for refund</td>\n <td class=\"govuk-table__cell\"> {{ refundlist?.reason}}\n <a (click)=\"gotoRefundReasonPage()\" *ngIf=\"refundlist?.reason !== 'Retrospective remission'\"\n class=\"govuk-link right\">Change</a>\n </td>\n\n <!-- <td class=\"govuk-table__cell\">{{ refundlist?.reason }}</td>\n <a (click)=\"gotoRefundReasonPage()\" class=\"govuk-link right\">Change</a> -->\n </tr>\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__cell govuk-!-font-weight-bold\">Payment reference</td>\n <td class=\"govuk-table__cell\">{{ refundlist?.payment_reference}} </td>\n </tr>\n <tr class=\"govuk-table__row\">\n <td *ngIf=\"refundlist?.reason === 'Retrospective remission'\" class=\"govuk-table__cell govuk-!-font-weight-bold\">Refund amount</td>\n <td *ngIf=\"refundlist?.reason !== 'Retrospective remission'\" class=\"govuk-table__cell govuk-!-font-weight-bold\">Payment amount</td>\n <td class=\"govuk-table__cell\"> \u00A3{{ changedAmount | number:'.2' }}\n <a (click)=\"gotoAmountPage()\" *ngIf=\"refundlist?.reason === 'Retrospective remission'\"\n class=\"govuk-link right\">Change</a>\n </td>\n\n </tr>\n </table>\n <div class=\"govuk-button-group\">\n <button (click)=\"gotoReviewDetailsPage($event)\" class=\"govuk-button govuk-button--secondary\"> Previous</button>\n <button [disabled]=\"isRefundBtnDisabled\" (click)=\"gotoReviewRefundConfirmationPage()\" class=\"govuk-button button\"\n data-module=\"govuk-button\">\n Submit refund\n </button>\n</div>\n<p><a href=\"javascript:void(0)\" (click)=\"loadRefundListPage()\" class=\"govuk-link\" data-module=\"govuk-button\">Cancel</a></p>\n <!-- <div class=\"govuk-button-group\">\n <button [disabled]=\"isRefundBtnDisabled\" (click)=\"gotoReviewRefundConfirmationPage()\" class=\"govuk-button button\"\n data-module=\"govuk-button\">\n Submit refund\n </button>\n </div> -->\n <!-- <p>\n <a (click)=\"loadRefundListPage()\" href=\"\" class=\"cancelbtn\">Cancel</a>\n </p> -->\n</ng-container>\n\n<ng-container *ngIf=\"viewName === 'issuerefund'\">\n <ccpay-add-remission [isFromRefundListPage]=\"true\" [viewCompStatus]=\"viewName\" [isRefundRemission]=\"true\"\n [ccdCaseNumber]=\"ccdCaseNumber\" (refundListReason)=\"getRefundListReason($event)\"></ccpay-add-remission>\n</ng-container>\n\n<ng-container *ngIf=\"viewName === 'processretroremissonpage'\">\n <ccpay-add-remission [isFromRefundListPage]=\"true\" [viewCompStatus]=\"viewName\" [isRefundRemission]=\"true\"\n [ccdCaseNumber]=\"ccdCaseNumber\" (refundListAmount)=\"getRefundAmount($event)\"></ccpay-add-remission>\n</ng-container>\n\n<ng-container *ngIf=\"viewName === 'reviewrefundconfirmationpage'\">\n <div class=\"govuk-grid-row pagesize\">\n <div>\n <div class=\"govuk-panel govuk-panel--confirmation\">\n <h1 class=\"govuk-panel__title\">\n Refund submitted\n </h1>\n\n <div class=\"govuk-panel__body\">\n <p class=\"govuk-body white\"><strong>Refund reference:{{refundReference}} </strong></p>\n </div>\n\n </div>\n\n <h2 class=\"govuk-heading-l\">What happens next</h2>\n <p class=\"govuk-body\">\n A refund request for {{refundAmount| currency:'GBP':'symbol-narrow':'1.2-2'}} has been created and will be passed to a team leader to approve.\n </p>\n\n <p class=\"govuk-body\">\n <a href=\"javascript:void(0)\" (click)=\"loadRefundListPage()\" class=\"govuk-link\">Return to case</a>\n </p>\n </div>\n </div>\n</ng-container>\n",
|
|
430
|
-
styles: [".right{float:right!important}.button{margin-bottom:3em;font-size:19px}.cancelbtn{font-size:19px;font-weight:400}.btnmargin{margin-bottom:2em}.govuk-button--secondary{background-color:#dee0e2;box-shadow:0 2px 0 #858688;color:#0b0c0c;margin-right:.5em}.govuk-label--s,.govuk-warning-text__text,.hmcts-currency-input__symbol{font-size:19px;font-weight:400}.inline-error-class{outline:#a71414 solid 3px;outline-offset:0}.inline-error-message{color:#a71414;font-weight:700;margin-top:10px;font-size:20px}.govuk-button,.govuk-link{margin-right:1em;font-size:19px;font-weight:200}.govuk-button-group{padding-top:2em}.heading-medium{margin-top:.875em}.heading-large{margin-top:.25em}.govuk-panel--confirmation{color:#fff;background:#00703c}.govuk-heading-l{font-size:36px}.govuk-heading-m{font-size:24px}.govuk-panel__title{font-size:5rem}.govuk-body,.govuk-body-m{font-size:2.1875rem}.govuk-input--width-10{max-width:36ex}.col-14{width:14%!important}.col-10{width:10%!important}.col-11{width:11%!important}.col-18{width:18%!important}.col-21{width:21%!important}.col-9{width:9%!important}.col-15{width:15%!important}.col-16{width:16%!important}.col-25{width:25%!important}.col-24{width:24%!important}.govuk-error-summary__title{font-size:24px!important}.govuk-error-summary__body{font-size:19px!important}.white{color:#fff}.pagesize{margin:2em;width:97%}.govuk-link{cursor:pointer}"]
|
|
431
|
-
}] }
|
|
432
|
-
];
|
|
433
|
-
/** @nocollapse */
|
|
434
|
-
RefundStatusComponent.ctorParameters = function () { return [
|
|
435
|
-
{ type: FormBuilder },
|
|
436
|
-
{ type: RefundsService },
|
|
437
|
-
{ type: PaymentLibComponent },
|
|
438
|
-
{ type: PaymentViewService },
|
|
439
|
-
{ type: Router },
|
|
440
|
-
{ type: OrderslistService }
|
|
441
|
-
]; };
|
|
442
|
-
RefundStatusComponent.propDecorators = {
|
|
443
|
-
LOGGEDINUSERROLES: [{ type: Input, args: ['LOGGEDINUSERROLES',] }],
|
|
444
|
-
API_ROOT: [{ type: Input, args: ['API_ROOT',] }],
|
|
445
|
-
ccdCaseNumber: [{ type: Input }],
|
|
446
|
-
isTurnOff: [{ type: Input }],
|
|
447
|
-
isEliginbleToAccess: [{ type: Input }]
|
|
448
|
-
};
|
|
449
|
-
return RefundStatusComponent;
|
|
450
|
-
}());
|
|
451
|
-
export { RefundStatusComponent };
|
|
452
|
-
if (false) {
|
|
453
|
-
/** @type {?} */
|
|
454
|
-
RefundStatusComponent.prototype.LOGGEDINUSERROLES;
|
|
455
|
-
/** @type {?} */
|
|
456
|
-
RefundStatusComponent.prototype.API_ROOT;
|
|
457
|
-
/** @type {?} */
|
|
458
|
-
RefundStatusComponent.prototype.ccdCaseNumber;
|
|
459
|
-
/** @type {?} */
|
|
460
|
-
RefundStatusComponent.prototype.isTurnOff;
|
|
461
|
-
/** @type {?} */
|
|
462
|
-
RefundStatusComponent.prototype.isEliginbleToAccess;
|
|
463
|
-
/** @type {?} */
|
|
464
|
-
RefundStatusComponent.prototype.refundStatusForm;
|
|
465
|
-
/** @type {?} */
|
|
466
|
-
RefundStatusComponent.prototype.selectedRefundReason;
|
|
467
|
-
/** @type {?} */
|
|
468
|
-
RefundStatusComponent.prototype.rejectedRefundList;
|
|
469
|
-
/** @type {?} */
|
|
470
|
-
RefundStatusComponent.prototype.approvalStatus;
|
|
471
|
-
/** @type {?} */
|
|
472
|
-
RefundStatusComponent.prototype.rejectStatus;
|
|
473
|
-
/** @type {?} */
|
|
474
|
-
RefundStatusComponent.prototype.errorMessage;
|
|
475
|
-
/** @type {?} */
|
|
476
|
-
RefundStatusComponent.prototype.viewName;
|
|
477
|
-
/** @type {?} */
|
|
478
|
-
RefundStatusComponent.prototype.refundReason;
|
|
479
|
-
/** @type {?} */
|
|
480
|
-
RefundStatusComponent.prototype.refundlist;
|
|
481
|
-
/** @type {?} */
|
|
482
|
-
RefundStatusComponent.prototype.bsPaymentDcnNumber;
|
|
483
|
-
/** @type {?} */
|
|
484
|
-
RefundStatusComponent.prototype.isCallFromRefundList;
|
|
485
|
-
/** @type {?} */
|
|
486
|
-
RefundStatusComponent.prototype.refundButtonState;
|
|
487
|
-
/** @type {?} */
|
|
488
|
-
RefundStatusComponent.prototype.isAmountEmpty;
|
|
489
|
-
/** @type {?} */
|
|
490
|
-
RefundStatusComponent.prototype.isReasonEmpty;
|
|
491
|
-
/** @type {?} */
|
|
492
|
-
RefundStatusComponent.prototype.amountHasError;
|
|
493
|
-
/** @type {?} */
|
|
494
|
-
RefundStatusComponent.prototype.isRemissionLessThanFeeError;
|
|
495
|
-
/** @type {?} */
|
|
496
|
-
RefundStatusComponent.prototype.refundHasError;
|
|
497
|
-
/** @type {?} */
|
|
498
|
-
RefundStatusComponent.prototype.refundReasons;
|
|
499
|
-
/** @type {?} */
|
|
500
|
-
RefundStatusComponent.prototype.refundStatusHistories;
|
|
501
|
-
/** @type {?} */
|
|
502
|
-
RefundStatusComponent.prototype.refundReference;
|
|
503
|
-
/** @type {?} */
|
|
504
|
-
RefundStatusComponent.prototype.refundAmount;
|
|
505
|
-
/** @type {?} */
|
|
506
|
-
RefundStatusComponent.prototype.refundCode;
|
|
507
|
-
/** @type {?} */
|
|
508
|
-
RefundStatusComponent.prototype.isRefundBtnDisabled;
|
|
509
|
-
/** @type {?} */
|
|
510
|
-
RefundStatusComponent.prototype.oldRefundReason;
|
|
511
|
-
/** @type {?} */
|
|
512
|
-
RefundStatusComponent.prototype.refundreason;
|
|
513
|
-
/** @type {?} */
|
|
514
|
-
RefundStatusComponent.prototype.navigationpage;
|
|
515
|
-
/** @type {?} */
|
|
516
|
-
RefundStatusComponent.prototype.isLastUpdatedByCurrentUser;
|
|
517
|
-
/** @type {?} */
|
|
518
|
-
RefundStatusComponent.prototype.isProcessRefund;
|
|
519
|
-
/** @type {?} */
|
|
520
|
-
RefundStatusComponent.prototype.changedAmount;
|
|
521
|
-
/** @type {?} */
|
|
522
|
-
RefundStatusComponent.prototype.isFromPayBubble;
|
|
523
|
-
/**
|
|
524
|
-
* @type {?}
|
|
525
|
-
* @private
|
|
526
|
-
*/
|
|
527
|
-
RefundStatusComponent.prototype.formBuilder;
|
|
528
|
-
/**
|
|
529
|
-
* @type {?}
|
|
530
|
-
* @private
|
|
531
|
-
*/
|
|
532
|
-
RefundStatusComponent.prototype.refundService;
|
|
533
|
-
/**
|
|
534
|
-
* @type {?}
|
|
535
|
-
* @private
|
|
536
|
-
*/
|
|
537
|
-
RefundStatusComponent.prototype.paymentLibComponent;
|
|
538
|
-
/**
|
|
539
|
-
* @type {?}
|
|
540
|
-
* @private
|
|
541
|
-
*/
|
|
542
|
-
RefundStatusComponent.prototype.paymentViewService;
|
|
543
|
-
/**
|
|
544
|
-
* @type {?}
|
|
545
|
-
* @private
|
|
546
|
-
*/
|
|
547
|
-
RefundStatusComponent.prototype.router;
|
|
548
|
-
/**
|
|
549
|
-
* @type {?}
|
|
550
|
-
* @private
|
|
551
|
-
*/
|
|
552
|
-
RefundStatusComponent.prototype.OrderslistService;
|
|
553
|
-
}
|
|
554
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVmdW5kLXN0YXR1cy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AaG1jdHMvY2NwYXktd2ViLWNvbXBvbmVudC8iLCJzb3VyY2VzIjpbImxpYi9jb21wb25lbnRzL3JlZnVuZC1zdGF0dXMvcmVmdW5kLXN0YXR1cy5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQVUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pELE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSx3Q0FBd0MsQ0FBQztBQUN4RSxPQUFPLEVBQUUsV0FBVyxFQUFhLFVBQVUsRUFBRSxXQUFXLEVBQXFCLE1BQU0sZ0JBQWdCLENBQUM7QUFFcEcsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0sa0RBQWtELENBQUM7QUFDdEYsT0FBTyxFQUFFLE1BQU0sRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQ3pDLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLG1DQUFtQyxDQUFDO0FBRXRFLE9BQU8sRUFBRSxzQkFBc0IsRUFBRSxNQUFNLHlDQUF5QyxDQUFDO0FBQ2pGLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLDZCQUE2QixDQUFDOztJQUM1RCxjQUFjLEdBQUcsdUJBQXVCO0FBRTlDO0lBMENFLCtCQUFvQixXQUF3QixFQUNsQyxhQUE2QixFQUM3QixtQkFBd0MsRUFDeEMsa0JBQXNDLEVBQ3RDLE1BQWMsRUFDZCxpQkFBb0M7UUFM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