@hmcts/ccpay-web-component 6.0.0-beta9 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/hmcts-ccpay-web-component.mjs +5 -0
- package/esm2022/lib/components/add-remission/add-remission.component.mjs +1189 -0
- package/esm2022/lib/components/allocate-payments/allocate-payments.component.mjs +407 -0
- package/esm2022/lib/components/card-details/card-details.component.mjs +32 -0
- package/esm2022/lib/components/case-transactions/case-transactions.component.mjs +798 -0
- package/esm2022/lib/components/contact-details/contact-details.component.mjs +338 -0
- package/esm2022/lib/components/error-banner/error-banner.component.mjs +18 -0
- package/esm2022/lib/components/fee-summary/fee-summary.component.mjs +247 -0
- package/esm2022/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.mjs +195 -0
- package/esm2022/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.mjs +255 -0
- package/esm2022/lib/components/notification-preview/notification-preview.component.mjs +79 -0
- package/esm2022/lib/components/page-not-found.component.mjs +17 -0
- package/esm2022/lib/components/payment-list/payment-list.component.mjs +36 -0
- package/esm2022/lib/components/payment-view/payment-view.component.mjs +416 -0
- package/esm2022/lib/components/pba-details/pba-details.component.mjs +18 -0
- package/esm2022/lib/components/pba-payment/pba-payment.component.mjs +151 -0
- package/esm2022/lib/components/process-refund/process-refund.component.mjs +417 -0
- package/esm2022/lib/components/processed-payments/processed-payments.component.mjs +37 -0
- package/esm2022/lib/components/refund-list/refund-list.component.mjs +73 -0
- package/esm2022/lib/components/refund-status/refund-status.component.mjs +453 -0
- package/esm2022/lib/components/reports/reports.component.mjs +291 -0
- package/esm2022/lib/components/service-request/service-request.component.mjs +456 -0
- package/esm2022/lib/components/status-history/status-history.component.mjs +33 -0
- package/esm2022/lib/components/table/table.component.mjs +128 -0
- package/esm2022/lib/components/unprocessed-payments/unprocessed-payments.component.mjs +236 -0
- package/esm2022/lib/interfaces/AddRemissionRequest.mjs +17 -0
- package/esm2022/lib/interfaces/AddRetroRemissionRequest.mjs +9 -0
- package/esm2022/lib/interfaces/AllocatePaymentRequest.mjs +41 -0
- package/esm2022/lib/interfaces/IAllocationPaymentsRequest.mjs +20 -0
- package/esm2022/lib/interfaces/IBSPayments.mjs +2 -0
- package/esm2022/lib/interfaces/ICardDetails.mjs +2 -0
- package/esm2022/lib/interfaces/IFee.mjs +2 -0
- package/esm2022/lib/interfaces/INotificationPreview.mjs +2 -0
- package/esm2022/lib/interfaces/IOrderReferenceFee.mjs +2 -0
- package/esm2022/lib/interfaces/IPatchRefundAction.mjs +2 -0
- package/esm2022/lib/interfaces/IPayment.mjs +2 -0
- package/esm2022/lib/interfaces/IPaymentFailure.mjs +2 -0
- package/esm2022/lib/interfaces/IPaymentGroup.mjs +2 -0
- package/esm2022/lib/interfaces/IPaymentStatus.mjs +12 -0
- package/esm2022/lib/interfaces/IPaymentView.mjs +2 -0
- package/esm2022/lib/interfaces/IPayments.mjs +2 -0
- package/esm2022/lib/interfaces/IPutNotificationRequest.mjs +13 -0
- package/esm2022/lib/interfaces/IRefundAction.mjs +2 -0
- package/esm2022/lib/interfaces/IRefundContactDetails.mjs +2 -0
- package/esm2022/lib/interfaces/IRefundFee.mjs +2 -0
- package/esm2022/lib/interfaces/IRefundList.mjs +2 -0
- package/esm2022/lib/interfaces/IRefundReasons.mjs +2 -0
- package/esm2022/lib/interfaces/IRefundRejectReason.mjs +2 -0
- package/esm2022/lib/interfaces/IRefundStatus.mjs +2 -0
- package/esm2022/lib/interfaces/IRefundStatusHistory.mjs +2 -0
- package/esm2022/lib/interfaces/IRefundsNotifications.mjs +2 -0
- package/esm2022/lib/interfaces/IRemission.mjs +2 -0
- package/esm2022/lib/interfaces/IResubmitRefundRequest.mjs +13 -0
- package/esm2022/lib/interfaces/IStatusHistories.mjs +2 -0
- package/esm2022/lib/interfaces/IStatusHistory.mjs +2 -0
- package/esm2022/lib/interfaces/IserviceRequestCardPayment.mjs +11 -0
- package/esm2022/lib/interfaces/IserviceRequestPbaPayment.mjs +15 -0
- package/esm2022/lib/interfaces/IssueRefundRequest.mjs +11 -0
- package/esm2022/lib/interfaces/NotificationPreviewRequest.mjs +45 -0
- package/esm2022/lib/interfaces/PayhubAntennaRequest.mjs +12 -0
- package/esm2022/lib/interfaces/PaymentToPayhubRequest.mjs +15 -0
- package/esm2022/lib/interfaces/PostIssueRefundRetroRemission.mjs +9 -0
- package/esm2022/lib/interfaces/PostRefundRetroRemission.mjs +18 -0
- package/esm2022/lib/interfaces/RefundsRequest.mjs +9 -0
- package/esm2022/lib/interfaces/UnidentifiedPaymentsRequest.mjs +16 -0
- package/esm2022/lib/interfaces/UnsolicitedPaymentsRequest.mjs +22 -0
- package/esm2022/lib/payment-lib.component.mjs +288 -0
- package/esm2022/lib/payment-lib.module.mjs +187 -0
- package/esm2022/lib/payment-lib.service.mjs +49 -0
- package/esm2022/lib/pipes/capitalize.pipe.mjs +18 -0
- package/esm2022/lib/pipes/ccd-hyphens.pipe.mjs +22 -0
- package/esm2022/lib/pipes/key-value.pipe.mjs +23 -0
- package/esm2022/lib/pipes/sanitize-html.pipe.mjs +20 -0
- package/esm2022/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.mjs +87 -0
- package/esm2022/lib/services/card-details/card-details.service.mjs +39 -0
- package/esm2022/lib/services/case-transactions/case-transactions.service.mjs +39 -0
- package/esm2022/lib/services/notification/notification.service.mjs +70 -0
- package/esm2022/lib/services/orderslist.service.mjs +154 -0
- package/esm2022/lib/services/payment-list/payment-list.service.mjs +40 -0
- package/esm2022/lib/services/payment-view/payment-view.service.mjs +152 -0
- package/esm2022/lib/services/refunds/refunds.service.mjs +117 -0
- package/esm2022/lib/services/shared/error-handler.service.mjs +96 -0
- package/esm2022/lib/services/shared/httpclient/webcomponent.http.client.mjs +64 -0
- package/esm2022/lib/services/shared/logger/console-logger.service.mjs +43 -0
- package/esm2022/lib/services/shared/logger/logger.service.mjs +23 -0
- package/{esm2015/lib/services/status-history/status-history.service.js → esm2022/lib/services/status-history/status-history.service.mjs} +13 -51
- package/esm2022/lib/services/xl-file/xl-file.service.mjs +153 -0
- package/esm2022/public_api.mjs +7 -0
- package/fesm2022/hmcts-ccpay-web-component.mjs +7874 -0
- package/fesm2022/hmcts-ccpay-web-component.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/components/add-remission/add-remission.component.d.ts +59 -7
- package/lib/components/allocate-payments/allocate-payments.component.d.ts +5 -6
- package/lib/components/card-details/card-details.component.d.ts +4 -1
- package/lib/components/case-transactions/case-transactions.component.d.ts +9 -7
- package/lib/components/contact-details/contact-details.component.d.ts +52 -0
- package/lib/components/error-banner/error-banner.component.d.ts +3 -0
- package/lib/components/fee-summary/fee-summary.component.d.ts +4 -3
- package/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.d.ts +4 -1
- package/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.d.ts +4 -1
- package/lib/components/notification-preview/notification-preview.component.d.ts +30 -0
- package/lib/components/page-not-found.component.d.ts +3 -0
- package/lib/components/payment-list/payment-list.component.d.ts +4 -1
- package/lib/components/payment-view/payment-view.component.d.ts +46 -12
- package/lib/components/pba-details/pba-details.component.d.ts +3 -0
- package/lib/components/pba-payment/pba-payment.component.d.ts +9 -1
- package/lib/components/process-refund/process-refund.component.d.ts +22 -2
- package/lib/components/processed-payments/processed-payments.component.d.ts +3 -0
- package/lib/components/refund-list/refund-list.component.d.ts +3 -0
- package/lib/components/refund-status/refund-status.component.d.ts +50 -10
- package/lib/components/reports/reports.component.d.ts +10 -5
- package/lib/components/service-request/service-request.component.d.ts +42 -14
- package/lib/components/status-history/status-history.component.d.ts +4 -1
- package/lib/components/table/table.component.d.ts +5 -1
- package/lib/components/unprocessed-payments/unprocessed-payments.component.d.ts +4 -5
- package/lib/interfaces/IFee.d.ts +6 -0
- package/lib/interfaces/INotificationPreview.d.ts +27 -0
- package/lib/interfaces/IPayment.d.ts +3 -0
- package/lib/interfaces/IPaymentFailure.d.ts +13 -0
- package/lib/interfaces/IPutNotificationRequest.d.ts +6 -0
- package/lib/interfaces/IRefundContactDetails.d.ts +9 -0
- package/lib/interfaces/IRefundFee.d.ts +7 -0
- package/lib/interfaces/IRefundList.d.ts +5 -0
- package/lib/interfaces/IRefundsNotifications.d.ts +16 -0
- package/lib/interfaces/IRemission.d.ts +3 -0
- package/lib/interfaces/IResubmitRefundRequest.d.ts +5 -1
- package/lib/interfaces/IserviceRequestPbaPayment.d.ts +2 -1
- package/lib/interfaces/NotificationPreviewRequest.d.ts +24 -0
- package/lib/interfaces/PostIssueRefundRetroRemission.d.ts +3 -1
- package/lib/interfaces/PostRefundRetroRemission.d.ts +7 -1
- package/lib/payment-lib.component.d.ts +7 -5
- package/lib/payment-lib.module.d.ts +40 -0
- package/lib/payment-lib.service.d.ts +9 -3
- package/lib/pipes/capitalize.pipe.d.ts +3 -0
- package/lib/pipes/ccd-hyphens.pipe.d.ts +3 -0
- package/lib/pipes/key-value.pipe.d.ts +3 -0
- package/lib/pipes/sanitize-html.pipe.d.ts +3 -0
- package/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.d.ts +4 -1
- package/lib/services/card-details/card-details.service.d.ts +3 -0
- package/lib/services/case-transactions/case-transactions.service.d.ts +4 -1
- package/lib/services/notification/notification.service.d.ts +21 -0
- package/lib/services/orderslist.service.d.ts +3 -0
- package/lib/services/payment-list/payment-list.service.d.ts +3 -0
- package/lib/services/payment-view/payment-view.service.d.ts +6 -1
- package/lib/services/refunds/refunds.service.d.ts +6 -1
- package/lib/services/shared/error-handler.service.d.ts +5 -2
- package/lib/services/shared/httpclient/webcomponent.http.client.d.ts +3 -0
- package/lib/services/shared/logger/console-logger.service.d.ts +6 -3
- package/lib/services/shared/logger/logger.service.d.ts +3 -0
- package/lib/services/status-history/status-history.service.d.ts +3 -0
- package/lib/services/xl-file/xl-file.service.d.ts +4 -0
- package/package.json +18 -14
- package/bundles/hmcts-ccpay-web-component.umd.js +0 -9664
- package/bundles/hmcts-ccpay-web-component.umd.js.map +0 -1
- package/bundles/hmcts-ccpay-web-component.umd.min.js +0 -2
- package/bundles/hmcts-ccpay-web-component.umd.min.js.map +0 -1
- package/esm2015/hmcts-ccpay-web-component.js +0 -48
- package/esm2015/lib/components/add-remission/add-remission.component.js +0 -1083
- package/esm2015/lib/components/allocate-payments/allocate-payments.component.js +0 -692
- package/esm2015/lib/components/card-details/card-details.component.js +0 -71
- package/esm2015/lib/components/case-transactions/case-transactions.component.js +0 -1298
- package/esm2015/lib/components/error-banner/error-banner.component.js +0 -30
- package/esm2015/lib/components/fee-summary/fee-summary.component.js +0 -482
- package/esm2015/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.js +0 -342
- package/esm2015/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.js +0 -436
- package/esm2015/lib/components/page-not-found.component.js +0 -15
- package/esm2015/lib/components/payment-list/payment-list.component.js +0 -75
- package/esm2015/lib/components/payment-view/payment-view.component.js +0 -514
- package/esm2015/lib/components/pba-details/pba-details.component.js +0 -30
- package/esm2015/lib/components/pba-payment/pba-payment.component.js +0 -205
- package/esm2015/lib/components/process-refund/process-refund.component.js +0 -455
- package/esm2015/lib/components/processed-payments/processed-payments.component.js +0 -72
- package/esm2015/lib/components/refund-list/refund-list.component.js +0 -127
- package/esm2015/lib/components/refund-status/refund-status.component.js +0 -497
- package/esm2015/lib/components/reports/reports.component.js +0 -357
- package/esm2015/lib/components/service-request/service-request.component.js +0 -626
- package/esm2015/lib/components/status-history/status-history.component.js +0 -68
- package/esm2015/lib/components/table/table.component.js +0 -196
- package/esm2015/lib/components/unprocessed-payments/unprocessed-payments.component.js +0 -385
- package/esm2015/lib/interfaces/AddRemissionRequest.js +0 -37
- package/esm2015/lib/interfaces/AddRetroRemissionRequest.js +0 -21
- package/esm2015/lib/interfaces/AllocatePaymentRequest.js +0 -68
- package/esm2015/lib/interfaces/IAllocationPaymentsRequest.js +0 -39
- package/esm2015/lib/interfaces/IBSPayments.js +0 -45
- package/esm2015/lib/interfaces/ICardDetails.js +0 -21
- package/esm2015/lib/interfaces/IFee.js +0 -53
- package/esm2015/lib/interfaces/IOrderReferenceFee.js +0 -25
- package/esm2015/lib/interfaces/IPatchRefundAction.js +0 -15
- package/esm2015/lib/interfaces/IPayment.js +0 -65
- package/esm2015/lib/interfaces/IPaymentGroup.js +0 -19
- package/esm2015/lib/interfaces/IPaymentStatus.js +0 -27
- package/esm2015/lib/interfaces/IPaymentView.js +0 -17
- package/esm2015/lib/interfaces/IPayments.js +0 -13
- package/esm2015/lib/interfaces/IRefundAction.js +0 -15
- package/esm2015/lib/interfaces/IRefundList.js +0 -29
- package/esm2015/lib/interfaces/IRefundReasons.js +0 -19
- package/esm2015/lib/interfaces/IRefundRejectReason.js +0 -15
- package/esm2015/lib/interfaces/IRefundStatus.js +0 -23
- package/esm2015/lib/interfaces/IRefundStatusHistory.js +0 -15
- package/esm2015/lib/interfaces/IRemission.js +0 -25
- package/esm2015/lib/interfaces/IResubmitRefundRequest.js +0 -21
- package/esm2015/lib/interfaces/IStatusHistories.js +0 -19
- package/esm2015/lib/interfaces/IStatusHistory.js +0 -21
- package/esm2015/lib/interfaces/IserviceRequestCardPayment.js +0 -23
- package/esm2015/lib/interfaces/IserviceRequestPbaPayment.js +0 -28
- package/esm2015/lib/interfaces/IssueRefundRequest.js +0 -25
- package/esm2015/lib/interfaces/PayhubAntennaRequest.js +0 -28
- package/esm2015/lib/interfaces/PaymentToPayhubRequest.js +0 -37
- package/esm2015/lib/interfaces/PostIssueRefundRetroRemission.js +0 -17
- package/esm2015/lib/interfaces/PostRefundRetroRemission.js +0 -21
- package/esm2015/lib/interfaces/RefundsRequest.js +0 -21
- package/esm2015/lib/interfaces/UnidentifiedPaymentsRequest.js +0 -31
- package/esm2015/lib/interfaces/UnsolicitedPaymentsRequest.js +0 -43
- package/esm2015/lib/payment-lib.component.js +0 -275
- package/esm2015/lib/payment-lib.module.js +0 -99
- package/esm2015/lib/payment-lib.service.js +0 -80
- package/esm2015/lib/pipes/capitalize.pipe.js +0 -24
- package/esm2015/lib/pipes/ccd-hyphens.pipe.js +0 -29
- package/esm2015/lib/pipes/key-value.pipe.js +0 -30
- package/esm2015/lib/pipes/sanitize-html.pipe.js +0 -36
- package/esm2015/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.js +0 -180
- package/esm2015/lib/services/card-details/card-details.service.js +0 -76
- package/esm2015/lib/services/case-transactions/case-transactions.service.js +0 -76
- package/esm2015/lib/services/orderslist.service.js +0 -403
- package/esm2015/lib/services/payment-list/payment-list.service.js +0 -79
- package/esm2015/lib/services/payment-view/payment-view.service.js +0 -285
- package/esm2015/lib/services/refunds/refunds.service.js +0 -203
- package/esm2015/lib/services/shared/error-handler.service.js +0 -108
- package/esm2015/lib/services/shared/httpclient/webcomponent.http.client.js +0 -124
- package/esm2015/lib/services/shared/logger/console-logger.service.js +0 -67
- package/esm2015/lib/services/shared/logger/logger.service.js +0 -49
- package/esm2015/lib/services/xl-file/xl-file.service.js +0 -181
- package/esm2015/public_api.js +0 -11
- package/esm5/hmcts-ccpay-web-component.js +0 -48
- package/esm5/lib/components/add-remission/add-remission.component.js +0 -1168
- 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 -1443
- package/esm5/lib/components/error-banner/error-banner.component.js +0 -36
- package/esm5/lib/components/fee-summary/fee-summary.component.js +0 -542
- 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 -602
- package/esm5/lib/components/pba-details/pba-details.component.js +0 -36
- package/esm5/lib/components/pba-payment/pba-payment.component.js +0 -222
- 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 -558
- package/esm5/lib/components/reports/reports.component.js +0 -398
- package/esm5/lib/components/service-request/service-request.component.js +0 -702
- 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 -434
- 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/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 -25
- 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 -244
- 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 -385
- package/esm5/lib/services/refunds/refunds.service.js +0 -243
- package/esm5/lib/services/shared/error-handler.service.js +0 -119
- package/esm5/lib/services/shared/httpclient/webcomponent.http.client.js +0 -154
- 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 -221
- package/esm5/public_api.js +0 -11
- package/fesm2015/hmcts-ccpay-web-component.js +0 -8525
- package/fesm2015/hmcts-ccpay-web-component.js.map +0 -1
- package/fesm5/hmcts-ccpay-web-component.js +0 -9773
- package/fesm5/hmcts-ccpay-web-component.js.map +0 -1
- package/hmcts-ccpay-web-component.d.ts +0 -43
- package/hmcts-ccpay-web-component.metadata.json +0 -1
|
@@ -1,70 +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 { StatusHistoryService } from '../../services/status-history/status-history.service';
|
|
7
|
-
import { PaymentLibComponent } from '../../payment-lib.component';
|
|
8
|
-
var StatusHistoryComponent = /** @class */ (function () {
|
|
9
|
-
function StatusHistoryComponent(statusHistoryService, paymentLibComponent) {
|
|
10
|
-
this.statusHistoryService = statusHistoryService;
|
|
11
|
-
this.paymentLibComponent = paymentLibComponent;
|
|
12
|
-
this.pageTitle = 'Payment status history';
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* @return {?}
|
|
16
|
-
*/
|
|
17
|
-
StatusHistoryComponent.prototype.ngOnInit = /**
|
|
18
|
-
* @return {?}
|
|
19
|
-
*/
|
|
20
|
-
function () {
|
|
21
|
-
var _this = this;
|
|
22
|
-
this.statusHistoryService.getPaymentStatusesByReference(this.paymentLibComponent.paymentReference, this.paymentLibComponent.paymentMethod).subscribe((/**
|
|
23
|
-
* @param {?} statuses
|
|
24
|
-
* @return {?}
|
|
25
|
-
*/
|
|
26
|
-
function (statuses) { return _this.statuses = statuses; }), (/**
|
|
27
|
-
* @param {?} error
|
|
28
|
-
* @return {?}
|
|
29
|
-
*/
|
|
30
|
-
function (error) { return _this.errorMessage = (/** @type {?} */ (error.replace(/"/g, ""))); }));
|
|
31
|
-
};
|
|
32
|
-
StatusHistoryComponent.decorators = [
|
|
33
|
-
{ type: Component, args: [{
|
|
34
|
-
selector: 'ccpay-payment-statuses',
|
|
35
|
-
template: "<div class=\"column\">\n <h2 class=\"heading-medium\">{{ pageTitle }}</h2>\n</div>\n\n\n<div class=\"error-summary\" role=\"group\" aria-labelledby=\"failure-error-summary-heading\" tabindex=\"-1\" *ngIf=\"errorMessage\">\n <h2 class=\"heading-medium error-summary-heading\" id=\"failure-error-summary-heading\">\n Payment status history could not be retrieved\n </h2>\n <div class=\"govuk-error-summary__body\">\n {{ errorMessage }}\n </div>\n</div>\n\n<div *ngIf=\"!errorMessage && statuses\">\n <table>\n <thead>\n <tr>\n <th>Status</th>\n <th *ngIf=\"isTakePayment\">Amount</th>\n <th>Date and time</th>\n </tr>\n </thead> \n <tbody>\n <tr *ngFor=\"let status of statuses.status_histories\">\n <td>{{ status.status }}</td>\n <td *ngIf=\"isTakePayment\">\u00A3{{ statuses.amount | number:'.2' }}</td>\n <td>{{ status.date_created | date:'dd MMMM yyyy hh:mm:ss'}}</td>\n </tr>\n </tbody>\n </table>\n</div>\n",
|
|
36
|
-
styles: [""]
|
|
37
|
-
}] }
|
|
38
|
-
];
|
|
39
|
-
/** @nocollapse */
|
|
40
|
-
StatusHistoryComponent.ctorParameters = function () { return [
|
|
41
|
-
{ type: StatusHistoryService },
|
|
42
|
-
{ type: PaymentLibComponent }
|
|
43
|
-
]; };
|
|
44
|
-
StatusHistoryComponent.propDecorators = {
|
|
45
|
-
isTakePayment: [{ type: Input }]
|
|
46
|
-
};
|
|
47
|
-
return StatusHistoryComponent;
|
|
48
|
-
}());
|
|
49
|
-
export { StatusHistoryComponent };
|
|
50
|
-
if (false) {
|
|
51
|
-
/** @type {?} */
|
|
52
|
-
StatusHistoryComponent.prototype.isTakePayment;
|
|
53
|
-
/** @type {?} */
|
|
54
|
-
StatusHistoryComponent.prototype.pageTitle;
|
|
55
|
-
/** @type {?} */
|
|
56
|
-
StatusHistoryComponent.prototype.statuses;
|
|
57
|
-
/** @type {?} */
|
|
58
|
-
StatusHistoryComponent.prototype.errorMessage;
|
|
59
|
-
/**
|
|
60
|
-
* @type {?}
|
|
61
|
-
* @private
|
|
62
|
-
*/
|
|
63
|
-
StatusHistoryComponent.prototype.statusHistoryService;
|
|
64
|
-
/**
|
|
65
|
-
* @type {?}
|
|
66
|
-
* @private
|
|
67
|
-
*/
|
|
68
|
-
StatusHistoryComponent.prototype.paymentLibComponent;
|
|
69
|
-
}
|
|
70
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RhdHVzLWhpc3RvcnkuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGhtY3RzL2NjcGF5LXdlYi1jb21wb25lbnQvIiwic291cmNlcyI6WyJsaWIvY29tcG9uZW50cy9zdGF0dXMtaGlzdG9yeS9zdGF0dXMtaGlzdG9yeS5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQVUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRXpELE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLHNEQUFzRCxDQUFDO0FBQzVGLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLDZCQUE2QixDQUFDO0FBRWxFO0lBV0UsZ0NBQW9CLG9CQUEwQyxFQUMxQyxtQkFBd0M7UUFEeEMseUJBQW9CLEdBQXBCLG9CQUFvQixDQUFzQjtRQUMxQyx3QkFBbUIsR0FBbkIsbUJBQW1CLENBQXFCO1FBTDVELGNBQVMsR0FBVyx3QkFBd0IsQ0FBQztJQUttQixDQUFDOzs7O0lBRWpFLHlDQUFROzs7SUFBUjtRQUFBLGlCQU1DO1FBTEMsSUFBSSxDQUFDLG9CQUFvQixDQUFDLDZCQUE2QixDQUFDLElBQUksQ0FBQyxtQkFBbUIsQ0FBQyxnQkFBZ0IsRUFBRSxJQUFJLENBQUMsbUJBQW1CLENBQUMsYUFBYSxDQUFDLENBQUMsU0FBUzs7OztRQUNsSixVQUFBLFFBQVEsSUFBSSxPQUFBLEtBQUksQ0FBQyxRQUFRLE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G9yeS5jb21wb25lbnQuaHRtbCcsXG4gIHN0eWxlVXJsczogWycuL3N0YXR1cy1oaXN0b3J5LmNvbXBvbmVudC5jc3MnXVxufSlcbmV4cG9ydCBjbGFzcyBTdGF0dXNIaXN0b3J5Q29tcG9uZW50IGltcGxlbWVudHMgT25Jbml0IHtcbiAgQElucHV0KCkgaXNUYWtlUGF5bWVudDogYm9vbGVhbjtcbiAgcGFnZVRpdGxlOiBzdHJpbmcgPSAnUGF5bWVudCBzdGF0dXMgaGlzdG9yeSc7XG4gIHN0YXR1c2VzOiBJU3RhdHVzSGlzdG9yaWVzO1xuICBlcnJvck1lc3NhZ2U6IHN0cmluZztcblxuICBjb25zdHJ1Y3Rvcihwcml2YXRlIHN0YXR1c0hpc3RvcnlTZXJ2aWNlOiBTdGF0dXNIaXN0b3J5U2VydmljZSxcbiAgICAgICAgICAgICAgcHJpdmF0ZSBwYXltZW50TGliQ29tcG9uZW50OiBQYXltZW50TGliQ29tcG9uZW50KSB7IH1cblxuICBuZ09uSW5pdCgpIHtcbiAgICB0aGlzLnN0YXR1c0hpc3RvcnlTZXJ2aWNlLmdldFBheW1lbnRTdGF0dXNlc0J5UmVmZXJlbmNlKHRoaXMucGF5bWVudExpYkNvbXBvbmVudC5wYXltZW50UmVmZXJlbmNlLCB0aGlzLnBheW1lbnRMaWJDb21wb25lbnQucGF5bWVudE1ldGhvZCkuc3Vic2NyaWJlKFxuICAgICAgc3RhdHVzZXMgPT4gdGhpcy5zdGF0dXNlcyA9IHN0YXR1c2VzLFxuICAgICAgKGVycm9yOiBhbnkpID0+IHRoaXMuZXJyb3JNZXNzYWdlID0gPGFueT5lcnJvci5yZXBsYWNlKC9cIi9nLFwiXCIpXG4gICAgKTtcbiAgICBcbiAgfVxuXG59XG4iXX0=
|
|
@@ -1,229 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview added by tsickle
|
|
3
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4
|
-
*/
|
|
5
|
-
import { Component, ViewChild, Input, ChangeDetectorRef } from '@angular/core';
|
|
6
|
-
import { PaymentLibComponent } from '../../payment-lib.component';
|
|
7
|
-
import { MatTableDataSource } from '@angular/material/table';
|
|
8
|
-
import { MatSort } from '@angular/material/sort';
|
|
9
|
-
import { MatPaginator } from '@angular/material/paginator';
|
|
10
|
-
import { OrderslistService } from '../../services/orderslist.service';
|
|
11
|
-
import { ActivatedRoute, Router } from '@angular/router';
|
|
12
|
-
var TableComponent = /** @class */ (function () {
|
|
13
|
-
function TableComponent(paymentLibComponent, cdRef, OrderslistService, router, activeRoute) {
|
|
14
|
-
this.paymentLibComponent = paymentLibComponent;
|
|
15
|
-
this.cdRef = cdRef;
|
|
16
|
-
this.OrderslistService = OrderslistService;
|
|
17
|
-
this.router = router;
|
|
18
|
-
this.activeRoute = activeRoute;
|
|
19
|
-
// displayedColumns = ['ccdCaseNumber', 'refundReference', 'reason', 'createBy', 'updateDate', 'Action'];
|
|
20
|
-
this.displayedColumns = ['ccd_case_number', 'refund_reference', 'user_full_name', 'date_created', 'date_updated', 'Action'];
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* @return {?}
|
|
24
|
-
*/
|
|
25
|
-
TableComponent.prototype.ngOnInit = /**
|
|
26
|
-
* @return {?}
|
|
27
|
-
*/
|
|
28
|
-
function () {
|
|
29
|
-
this.errorMessage = this.errorMessage;
|
|
30
|
-
if (this.STATUS.toLowerCase() === 'sent for approval') {
|
|
31
|
-
this.isApprovalFlow = true;
|
|
32
|
-
}
|
|
33
|
-
else {
|
|
34
|
-
this.isApprovalFlow = false;
|
|
35
|
-
}
|
|
36
|
-
this.refundList = this.DATASOURCE;
|
|
37
|
-
this.dataSource = new MatTableDataSource(this.refundList);
|
|
38
|
-
this.actualcount = this.dataSource.data.length;
|
|
39
|
-
if (this.refundList !== undefined) {
|
|
40
|
-
this.userLst = this.refundList.reduce((/**
|
|
41
|
-
* @param {?} r
|
|
42
|
-
* @param {?} __1
|
|
43
|
-
* @return {?}
|
|
44
|
-
*/
|
|
45
|
-
function (r, _a) {
|
|
46
|
-
var user_full_name = _a.user_full_name;
|
|
47
|
-
return (r[user_full_name] = '', r);
|
|
48
|
-
}), {});
|
|
49
|
-
this.userLst = Object.keys(this.userLst);
|
|
50
|
-
}
|
|
51
|
-
this.userLst.sort((/**
|
|
52
|
-
* @param {?} a
|
|
53
|
-
* @param {?} b
|
|
54
|
-
* @return {?}
|
|
55
|
-
*/
|
|
56
|
-
function (a, b) { return a.toString().localeCompare(b); }));
|
|
57
|
-
};
|
|
58
|
-
/**
|
|
59
|
-
* Set the paginator and sort after the view init since this component will
|
|
60
|
-
* be able to query its view for the initialized paginator and sort.
|
|
61
|
-
*/
|
|
62
|
-
/**
|
|
63
|
-
* Set the paginator and sort after the view init since this component will
|
|
64
|
-
* be able to query its view for the initialized paginator and sort.
|
|
65
|
-
* @return {?}
|
|
66
|
-
*/
|
|
67
|
-
TableComponent.prototype.ngAfterViewInit = /**
|
|
68
|
-
* Set the paginator and sort after the view init since this component will
|
|
69
|
-
* be able to query its view for the initialized paginator and sort.
|
|
70
|
-
* @return {?}
|
|
71
|
-
*/
|
|
72
|
-
function () {
|
|
73
|
-
this.dataSource.sort = this.sort;
|
|
74
|
-
//const sortState: Sort = {active: 'date_updated', direction: 'desc'};
|
|
75
|
-
// this.sort.active = sortState.active;
|
|
76
|
-
// this.sort.direction = sortState.direction;
|
|
77
|
-
// this.sort.sortChange.emit(sortState);
|
|
78
|
-
this.dataSource.paginator = this.paginator;
|
|
79
|
-
this.dataSource.sort = this.sort;
|
|
80
|
-
this.cdRef.detectChanges();
|
|
81
|
-
};
|
|
82
|
-
/**
|
|
83
|
-
* @param {?} filterValue
|
|
84
|
-
* @return {?}
|
|
85
|
-
*/
|
|
86
|
-
TableComponent.prototype.applyFilter = /**
|
|
87
|
-
* @param {?} filterValue
|
|
88
|
-
* @return {?}
|
|
89
|
-
*/
|
|
90
|
-
function (filterValue) {
|
|
91
|
-
filterValue = filterValue.trim(); // Remove whitespace
|
|
92
|
-
filterValue = filterValue.toLowerCase(); // Datasource defaults to lowercase matches
|
|
93
|
-
this.dataSource.filter = filterValue;
|
|
94
|
-
};
|
|
95
|
-
/**
|
|
96
|
-
* @param {?} args
|
|
97
|
-
* @return {?}
|
|
98
|
-
*/
|
|
99
|
-
TableComponent.prototype.selectchange = /**
|
|
100
|
-
* @param {?} args
|
|
101
|
-
* @return {?}
|
|
102
|
-
*/
|
|
103
|
-
function (args) {
|
|
104
|
-
this.dataSource.filter = args.target.value;
|
|
105
|
-
this.actualcount = this.dataSource.data.length;
|
|
106
|
-
this.dataSource.paginator = this.paginator;
|
|
107
|
-
};
|
|
108
|
-
/**
|
|
109
|
-
* @param {?} refundReference
|
|
110
|
-
* @param {?} refundData
|
|
111
|
-
* @return {?}
|
|
112
|
-
*/
|
|
113
|
-
TableComponent.prototype.goToRefundProcessComponent = /**
|
|
114
|
-
* @param {?} refundReference
|
|
115
|
-
* @param {?} refundData
|
|
116
|
-
* @return {?}
|
|
117
|
-
*/
|
|
118
|
-
function (refundReference, refundData) {
|
|
119
|
-
this.paymentLibComponent.refundlistsource = refundData;
|
|
120
|
-
this.paymentLibComponent.refundReference = refundReference;
|
|
121
|
-
this.paymentLibComponent.viewName = 'process-refund';
|
|
122
|
-
};
|
|
123
|
-
/**
|
|
124
|
-
* @param {?} refundReference
|
|
125
|
-
* @param {?} refundData
|
|
126
|
-
* @return {?}
|
|
127
|
-
*/
|
|
128
|
-
TableComponent.prototype.goToRefundViewComponent = /**
|
|
129
|
-
* @param {?} refundReference
|
|
130
|
-
* @param {?} refundData
|
|
131
|
-
* @return {?}
|
|
132
|
-
*/
|
|
133
|
-
function (refundReference, refundData) {
|
|
134
|
-
this.OrderslistService.setRefundView(refundData);
|
|
135
|
-
this.paymentLibComponent.viewName = 'refundstatuslist';
|
|
136
|
-
this.paymentLibComponent.CCD_CASE_NUMBER = refundData.ccd_case_number;
|
|
137
|
-
this.paymentLibComponent.isRefundStatusView = true;
|
|
138
|
-
this.paymentLibComponent.isCallFromRefundList = true;
|
|
139
|
-
};
|
|
140
|
-
/**
|
|
141
|
-
* @param {?} ccdCaseNumber
|
|
142
|
-
* @param {?} refundData
|
|
143
|
-
* @return {?}
|
|
144
|
-
*/
|
|
145
|
-
TableComponent.prototype.goToCaseReview = /**
|
|
146
|
-
* @param {?} ccdCaseNumber
|
|
147
|
-
* @param {?} refundData
|
|
148
|
-
* @return {?}
|
|
149
|
-
*/
|
|
150
|
-
function (ccdCaseNumber, refundData) {
|
|
151
|
-
this.router.navigate(["/cases/case-details/" + ccdCaseNumber], { relativeTo: this.activeRoute });
|
|
152
|
-
};
|
|
153
|
-
TableComponent.decorators = [
|
|
154
|
-
{ type: Component, args: [{
|
|
155
|
-
selector: 'ccpay-table',
|
|
156
|
-
template: "<div class=\"add-remission\">\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\n<div *ngIf=\"dataSource.data.length > 0\" class=\"govuk-form-group\" style=\"float: right\">\n <label class=\"govuk-label dropdpwn\" for=\"sort\" >\n Filter by caseworker:\n </label>\n <select class=\"govuk-select\" id=\"sort\" name=\"sort\" (change)=\"selectchange($event)\">\n <option value=\"\" selected='selected'>All caseworkers</option>\n <option *ngFor=\"let name of userLst;\" value=\"{{name}}\">{{name}}</option>\n </select>\n </div>\n \n<div *ngIf=\"dataSource.data.length > 0\" class=\"example-container\">\n\n <mat-table [dataSource]=\"dataSource\" matSort>\n\n <ng-container matColumnDef=\"ccd_case_number\">\n <mat-header-cell *matHeaderCellDef >Case reference </mat-header-cell>\n <mat-cell *matCellDef=\"let row\" class=\"whitespace-inherit\"> {{row.ccd_case_number | ccdHyphens }} </mat-cell>\n </ng-container>\n\n <ng-container matColumnDef=\"refund_reference\">\n <mat-header-cell *matHeaderCellDef > Refund reference </mat-header-cell>\n <mat-cell *matCellDef=\"let row\" class=\"whitespace-inherit\"> {{row.refund_reference}} </mat-cell>\n </ng-container>\n\n <ng-container matColumnDef=\"user_full_name\">\n <mat-header-cell *matHeaderCellDef > Submitted by </mat-header-cell>\n <mat-cell *matCellDef=\"let row\" [style.color]=\"row.color\" class=\"whitespace-inherit\"> {{row.user_full_name }} </mat-cell>\n </ng-container>\n\n <ng-container matColumnDef=\"date_created\">\n <mat-header-cell *matHeaderCellDef mat-sort-header> Date created </mat-header-cell>\n <mat-cell *matCellDef=\"let row\" class=\"whitespace-inherit\"> {{row.date_created | date:'d MMMM yyyy'}} </mat-cell>\n </ng-container>\n\n <ng-container matColumnDef=\"date_updated\">\n <mat-header-cell *matHeaderCellDef mat-sort-header> Last updated</mat-header-cell>\n <mat-cell *matCellDef=\"let row\" [style.color]=\"row.color\" class=\"whitespace-inherit\"> {{row.date_updated | date:'d MMMM yyyy'}} </mat-cell>\n </ng-container>\n\n <ng-container *ngIf=\"isApprovalFlow\" matColumnDef=\"Action\">\n <mat-header-cell *matHeaderCellDef> Action </mat-header-cell>\n <mat-cell *matCellDef=\"let row\" [style.color]=\"row.color\" > <a href=\"javascript:void(0)\" (click)=\"goToCaseReview(row.ccd_case_number, row)\">Review case</a> <a href=\"javascript:void(0)\" (click)=\"goToRefundProcessComponent(row.refund_reference, row)\">Process refund</a></mat-cell>\n </ng-container>\n \n <ng-container *ngIf=\"!isApprovalFlow\" matColumnDef=\"Action\">\n <mat-header-cell *matHeaderCellDef > Action </mat-header-cell>\n <mat-cell *matCellDef=\"let row\" [style.color]=\"row.color\"> <a href=\"javascript:void(0)\" (click)=\"goToRefundViewComponent(row.refund_reference, row)\">Review refund</a></mat-cell>\n </ng-container>\n\n <mat-header-row *matHeaderRowDef=\"displayedColumns\"></mat-header-row>\n <mat-row *matRowDef=\"let row; columns: displayedColumns;\">\n </mat-row>\n </mat-table>\n <mat-paginator [pageSizeOptions]=\"[5, 10, 25, 100]\"></mat-paginator>\n</div>\n\n<div class=\"govuk-label dropdpwn\" *ngIf=\"dataSource.data.length === 0\">No records to display</div>\n",
|
|
157
|
-
styles: [".mat-header-row{min-height:27px}.mat-cell{padding:0 10px 0 0;text-align:left;word-wrap:break-word;white-space:inherit!important;font-size:19px;line-height:25px;font-family:nta,Arial,sans-serif;font-weight:400}.mat-table{color:#0b0c0c;display:table;font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;margin-bottom:1px;box-sizing:border-box;text-indent:initial;border-spacing:0;border-collapse:collapse;font-size:1.1875rem;line-height:1.31578947;table-layout:fixed;width:102%}.mat-header-cell{text-align:left;font-weight:700;padding:10px 10px 10px 0;word-wrap:break-word;font-size:19px;line-height:25px;color:#0b0c0c;cursor:pointer;font-family:inherit}.dropdpwn{display:inline-block;margin-right:10px;font-size:19px}.mat-column-ccdCaseNumber{flex:3em}.mat-column-refundReference{flex:6em}.mat-column-reason{flex:2em}.govuk-select{font-size:19px;font-weight:400}.govuk-error-summary__title{font-size:24px!important}"]
|
|
158
|
-
}] }
|
|
159
|
-
];
|
|
160
|
-
/** @nocollapse */
|
|
161
|
-
TableComponent.ctorParameters = function () { return [
|
|
162
|
-
{ type: PaymentLibComponent },
|
|
163
|
-
{ type: ChangeDetectorRef },
|
|
164
|
-
{ type: OrderslistService },
|
|
165
|
-
{ type: Router },
|
|
166
|
-
{ type: ActivatedRoute }
|
|
167
|
-
]; };
|
|
168
|
-
TableComponent.propDecorators = {
|
|
169
|
-
DATASOURCE: [{ type: Input, args: ['DATASOURCE',] }],
|
|
170
|
-
STATUS: [{ type: Input, args: ['STATUS',] }],
|
|
171
|
-
errorMessage: [{ type: Input, args: ['errorMessage',] }],
|
|
172
|
-
paginator: [{ type: ViewChild, args: [MatPaginator,] }],
|
|
173
|
-
sort: [{ type: ViewChild, args: [MatSort,] }]
|
|
174
|
-
};
|
|
175
|
-
return TableComponent;
|
|
176
|
-
}());
|
|
177
|
-
export { TableComponent };
|
|
178
|
-
if (false) {
|
|
179
|
-
/** @type {?} */
|
|
180
|
-
TableComponent.prototype.DATASOURCE;
|
|
181
|
-
/** @type {?} */
|
|
182
|
-
TableComponent.prototype.STATUS;
|
|
183
|
-
/** @type {?} */
|
|
184
|
-
TableComponent.prototype.errorMessage;
|
|
185
|
-
/** @type {?} */
|
|
186
|
-
TableComponent.prototype.isApprovalFlow;
|
|
187
|
-
/** @type {?} */
|
|
188
|
-
TableComponent.prototype.displayedColumns;
|
|
189
|
-
/** @type {?} */
|
|
190
|
-
TableComponent.prototype.dataSource;
|
|
191
|
-
/** @type {?} */
|
|
192
|
-
TableComponent.prototype.userLst;
|
|
193
|
-
/** @type {?} */
|
|
194
|
-
TableComponent.prototype.actualcount;
|
|
195
|
-
/** @type {?} */
|
|
196
|
-
TableComponent.prototype.count;
|
|
197
|
-
/** @type {?} */
|
|
198
|
-
TableComponent.prototype.refundList;
|
|
199
|
-
/** @type {?} */
|
|
200
|
-
TableComponent.prototype.paginator;
|
|
201
|
-
/** @type {?} */
|
|
202
|
-
TableComponent.prototype.sort;
|
|
203
|
-
/**
|
|
204
|
-
* @type {?}
|
|
205
|
-
* @private
|
|
206
|
-
*/
|
|
207
|
-
TableComponent.prototype.paymentLibComponent;
|
|
208
|
-
/**
|
|
209
|
-
* @type {?}
|
|
210
|
-
* @private
|
|
211
|
-
*/
|
|
212
|
-
TableComponent.prototype.cdRef;
|
|
213
|
-
/**
|
|
214
|
-
* @type {?}
|
|
215
|
-
* @private
|
|
216
|
-
*/
|
|
217
|
-
TableComponent.prototype.OrderslistService;
|
|
218
|
-
/**
|
|
219
|
-
* @type {?}
|
|
220
|
-
* @private
|
|
221
|
-
*/
|
|
222
|
-
TableComponent.prototype.router;
|
|
223
|
-
/**
|
|
224
|
-
* @type {?}
|
|
225
|
-
* @private
|
|
226
|
-
*/
|
|
227
|
-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