@hmcts/ccpay-web-component 4.0.0-beta60 → 4.0.0-beta604
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 +6868 -2571
- 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 +32 -26
- package/esm2015/lib/components/add-remission/add-remission.component.js +874 -138
- package/esm2015/lib/components/allocate-payments/allocate-payments.component.js +342 -217
- package/esm2015/lib/components/card-details/card-details.component.js +22 -57
- package/esm2015/lib/components/case-transactions/case-transactions.component.js +932 -350
- package/esm2015/lib/components/error-banner/error-banner.component.js +5 -17
- package/esm2015/lib/components/fee-summary/fee-summary.component.js +229 -231
- package/esm2015/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.js +137 -156
- package/esm2015/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.js +178 -177
- package/esm2015/lib/components/page-not-found.component.js +3 -4
- package/esm2015/lib/components/payment-list/payment-list.component.js +22 -80
- package/esm2015/lib/components/payment-view/payment-view.component.js +358 -127
- package/esm2015/lib/components/pba-details/pba-details.component.js +5 -39
- package/esm2015/lib/components/process-refund/process-refund.component.js +392 -0
- package/esm2015/lib/components/processed-payments/processed-payments.component.js +13 -41
- package/esm2015/lib/components/refund-list/refund-list.component.js +131 -0
- package/esm2015/lib/components/refund-status/refund-status.component.js +511 -0
- package/esm2015/lib/components/reports/reports.component.js +96 -107
- package/esm2015/lib/components/status-history/status-history.component.js +28 -35
- package/esm2015/lib/components/table/table.component.js +179 -0
- package/esm2015/lib/components/unprocessed-payments/unprocessed-payments.component.js +168 -91
- package/esm2015/lib/interfaces/AddRemissionRequest.js +6 -7
- package/esm2015/lib/interfaces/AddRetroRemissionRequest.js +21 -0
- package/esm2015/lib/interfaces/AllocatePaymentRequest.js +11 -9
- package/esm2015/lib/interfaces/IAllocationPaymentsRequest.js +2 -3
- package/esm2015/lib/interfaces/IBSPayments.js +38 -35
- package/esm2015/lib/interfaces/ICardDetails.js +14 -13
- package/esm2015/lib/interfaces/IFee.js +44 -43
- package/esm2015/lib/interfaces/IOrderReferenceFee.js +25 -0
- package/esm2015/lib/interfaces/IPatchRefundAction.js +15 -0
- package/esm2015/lib/interfaces/IPayment.js +56 -55
- package/esm2015/lib/interfaces/IPaymentGroup.js +12 -11
- package/esm2015/lib/interfaces/IPaymentStatus.js +2 -3
- package/esm2015/lib/interfaces/IPaymentView.js +17 -0
- package/esm2015/lib/interfaces/IPayments.js +6 -5
- package/esm2015/lib/interfaces/IRefundAction.js +15 -0
- package/esm2015/lib/interfaces/IRefundList.js +29 -0
- package/esm2015/lib/interfaces/IRefundReasons.js +19 -0
- package/esm2015/lib/interfaces/IRefundRejectReason.js +15 -0
- package/esm2015/lib/interfaces/IRefundStatus.js +23 -0
- package/esm2015/lib/interfaces/IRefundStatusHistory.js +15 -0
- package/esm2015/lib/interfaces/IRemission.js +18 -17
- package/esm2015/lib/interfaces/IResubmitRefundRequest.js +21 -0
- package/esm2015/lib/interfaces/IStatusHistories.js +12 -11
- package/esm2015/lib/interfaces/IStatusHistory.js +14 -13
- package/esm2015/lib/interfaces/IssueRefundRequest.js +25 -0
- package/esm2015/lib/interfaces/PayhubAntennaRequest.js +28 -0
- package/esm2015/lib/interfaces/PaymentToPayhubRequest.js +7 -12
- package/esm2015/lib/interfaces/PostIssueRefundRetroRemission.js +17 -0
- package/esm2015/lib/interfaces/PostRefundRetroRemission.js +21 -0
- package/esm2015/lib/interfaces/RefundsRequest.js +21 -0
- package/esm2015/lib/interfaces/UnidentifiedPaymentsRequest.js +2 -3
- package/esm2015/lib/interfaces/UnsolicitedPaymentsRequest.js +2 -3
- package/esm2015/lib/payment-lib.component.js +124 -20
- package/esm2015/lib/payment-lib.module.js +27 -6
- package/esm2015/lib/payment-lib.service.js +18 -4
- package/esm2015/lib/pipes/capitalize.pipe.js +24 -0
- package/esm2015/lib/pipes/ccd-hyphens.pipe.js +3 -4
- package/esm2015/lib/pipes/key-value.pipe.js +3 -4
- package/esm2015/lib/pipes/sanitize-html.pipe.js +7 -5
- package/esm2015/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.js +52 -14
- package/esm2015/lib/services/card-details/card-details.service.js +19 -8
- package/esm2015/lib/services/case-transactions/case-transactions.service.js +19 -8
- package/esm2015/lib/services/orderslist.service.js +211 -0
- package/esm2015/lib/services/payment-list/payment-list.service.js +19 -8
- package/esm2015/lib/services/payment-view/payment-view.service.js +96 -11
- package/esm2015/lib/services/refunds/refunds.service.js +203 -0
- package/esm2015/lib/services/shared/error-handler.service.js +24 -4
- package/esm2015/lib/services/shared/httpclient/webcomponent.http.client.js +27 -9
- package/esm2015/lib/services/shared/logger/console-logger.service.js +7 -5
- package/esm2015/lib/services/shared/logger/logger.service.js +7 -5
- package/esm2015/lib/services/status-history/status-history.service.js +19 -8
- package/esm2015/lib/services/xl-file/xl-file.service.js +56 -51
- package/esm2015/public_api.js +1 -2
- package/esm5/hmcts-ccpay-web-component.js +32 -26
- package/esm5/lib/components/add-remission/add-remission.component.js +941 -47
- package/esm5/lib/components/allocate-payments/allocate-payments.component.js +358 -74
- package/esm5/lib/components/card-details/card-details.component.js +22 -9
- package/esm5/lib/components/case-transactions/case-transactions.component.js +1003 -110
- package/esm5/lib/components/error-banner/error-banner.component.js +3 -4
- package/esm5/lib/components/fee-summary/fee-summary.component.js +232 -56
- package/esm5/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.js +136 -45
- package/esm5/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.js +179 -65
- package/esm5/lib/components/page-not-found.component.js +3 -4
- package/esm5/lib/components/payment-list/payment-list.component.js +21 -8
- package/esm5/lib/components/payment-view/payment-view.component.js +425 -20
- package/esm5/lib/components/pba-details/pba-details.component.js +5 -6
- package/esm5/lib/components/process-refund/process-refund.component.js +469 -0
- package/esm5/lib/components/processed-payments/processed-payments.component.js +12 -7
- package/esm5/lib/components/refund-list/refund-list.component.js +134 -0
- package/esm5/lib/components/refund-status/refund-status.component.js +570 -0
- package/esm5/lib/components/reports/reports.component.js +97 -26
- package/esm5/lib/components/status-history/status-history.component.js +27 -9
- package/esm5/lib/components/table/table.component.js +214 -0
- package/esm5/lib/components/unprocessed-payments/unprocessed-payments.component.js +178 -27
- package/esm5/lib/interfaces/AddRemissionRequest.js +5 -6
- package/esm5/lib/interfaces/AddRetroRemissionRequest.js +19 -0
- package/esm5/lib/interfaces/AllocatePaymentRequest.js +9 -8
- package/esm5/lib/interfaces/IAllocationPaymentsRequest.js +2 -3
- package/esm5/lib/interfaces/IBSPayments.js +38 -35
- package/esm5/lib/interfaces/ICardDetails.js +14 -13
- package/esm5/lib/interfaces/IFee.js +44 -43
- package/esm5/lib/interfaces/IOrderReferenceFee.js +25 -0
- package/esm5/lib/interfaces/IPatchRefundAction.js +15 -0
- package/esm5/lib/interfaces/IPayment.js +56 -55
- package/esm5/lib/interfaces/IPaymentGroup.js +12 -11
- package/esm5/lib/interfaces/IPaymentStatus.js +2 -3
- package/esm5/lib/interfaces/IPaymentView.js +17 -0
- package/esm5/lib/interfaces/IPayments.js +6 -5
- package/esm5/lib/interfaces/IRefundAction.js +15 -0
- package/esm5/lib/interfaces/IRefundList.js +29 -0
- package/esm5/lib/interfaces/IRefundReasons.js +19 -0
- package/esm5/lib/interfaces/IRefundRejectReason.js +15 -0
- package/esm5/lib/interfaces/IRefundStatus.js +23 -0
- package/esm5/lib/interfaces/IRefundStatusHistory.js +15 -0
- package/esm5/lib/interfaces/IRemission.js +18 -17
- package/esm5/lib/interfaces/IResubmitRefundRequest.js +19 -0
- package/esm5/lib/interfaces/IStatusHistories.js +12 -11
- package/esm5/lib/interfaces/IStatusHistory.js +14 -13
- package/esm5/lib/interfaces/IssueRefundRequest.js +22 -0
- package/esm5/lib/interfaces/PayhubAntennaRequest.js +25 -0
- package/esm5/lib/interfaces/PaymentToPayhubRequest.js +6 -10
- package/esm5/lib/interfaces/PostIssueRefundRetroRemission.js +16 -0
- package/esm5/lib/interfaces/PostRefundRetroRemission.js +19 -0
- package/esm5/lib/interfaces/RefundsRequest.js +19 -0
- package/esm5/lib/interfaces/UnidentifiedPaymentsRequest.js +2 -3
- package/esm5/lib/interfaces/UnsolicitedPaymentsRequest.js +2 -3
- package/esm5/lib/payment-lib.component.js +99 -14
- package/esm5/lib/payment-lib.module.js +27 -6
- package/esm5/lib/payment-lib.service.js +25 -4
- package/esm5/lib/pipes/capitalize.pipe.js +32 -0
- package/esm5/lib/pipes/ccd-hyphens.pipe.js +3 -4
- package/esm5/lib/pipes/key-value.pipe.js +3 -4
- package/esm5/lib/pipes/sanitize-html.pipe.js +7 -5
- package/esm5/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.js +61 -14
- package/esm5/lib/services/card-details/card-details.service.js +19 -8
- package/esm5/lib/services/case-transactions/case-transactions.service.js +19 -8
- package/esm5/lib/services/orderslist.service.js +276 -0
- package/esm5/lib/services/payment-list/payment-list.service.js +19 -8
- package/esm5/lib/services/payment-view/payment-view.service.js +135 -11
- package/esm5/lib/services/refunds/refunds.service.js +243 -0
- package/esm5/lib/services/shared/error-handler.service.js +24 -4
- package/esm5/lib/services/shared/httpclient/webcomponent.http.client.js +27 -9
- package/esm5/lib/services/shared/logger/console-logger.service.js +7 -5
- package/esm5/lib/services/shared/logger/logger.service.js +7 -5
- package/esm5/lib/services/status-history/status-history.service.js +19 -8
- package/esm5/lib/services/xl-file/xl-file.service.js +62 -51
- package/esm5/public_api.js +1 -2
- package/fesm2015/hmcts-ccpay-web-component.js +4622 -2024
- package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
- package/fesm5/hmcts-ccpay-web-component.js +7021 -2540
- package/fesm5/hmcts-ccpay-web-component.js.map +1 -1
- package/hmcts-ccpay-web-component.d.ts +30 -23
- package/hmcts-ccpay-web-component.metadata.json +1 -1
- package/lib/components/add-remission/add-remission.component.d.ts +100 -3
- package/lib/components/allocate-payments/allocate-payments.component.d.ts +29 -1
- package/lib/components/case-transactions/case-transactions.component.d.ts +64 -2
- package/lib/components/fee-summary/fee-summary.component.d.ts +10 -1
- package/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.d.ts +2 -0
- package/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.d.ts +4 -0
- package/lib/components/payment-view/payment-view.component.d.ts +41 -1
- package/lib/components/process-refund/process-refund.component.d.ts +53 -0
- package/lib/components/refund-list/refund-list.component.d.ts +23 -0
- package/lib/components/refund-status/refund-status.component.d.ts +68 -0
- package/lib/components/reports/reports.component.d.ts +4 -1
- package/lib/components/status-history/status-history.component.d.ts +1 -0
- package/lib/components/table/table.component.d.ts +36 -0
- package/lib/components/unprocessed-payments/unprocessed-payments.component.d.ts +24 -4
- package/lib/interfaces/AddRemissionRequest.d.ts +2 -2
- package/lib/interfaces/AddRetroRemissionRequest.d.ts +5 -0
- package/lib/interfaces/AllocatePaymentRequest.d.ts +16 -3
- package/lib/interfaces/IBSPayments.d.ts +1 -0
- package/lib/interfaces/IOrderReferenceFee.d.ts +9 -0
- package/lib/interfaces/IPatchRefundAction.d.ts +4 -0
- package/lib/interfaces/IPaymentView.d.ts +5 -0
- package/lib/interfaces/IRefundAction.d.ts +4 -0
- package/lib/interfaces/IRefundList.d.ts +14 -0
- package/lib/interfaces/IRefundReasons.d.ts +6 -0
- package/lib/interfaces/IRefundRejectReason.d.ts +4 -0
- package/lib/interfaces/IRefundStatus.d.ts +8 -0
- package/lib/interfaces/IRefundStatusHistory.d.ts +5 -0
- package/lib/interfaces/IResubmitRefundRequest.d.ts +5 -0
- package/lib/interfaces/IssueRefundRequest.d.ts +6 -0
- package/lib/interfaces/PayhubAntennaRequest.d.ts +7 -0
- package/lib/interfaces/PaymentToPayhubRequest.d.ts +2 -3
- package/lib/interfaces/PostIssueRefundRetroRemission.d.ts +4 -0
- package/lib/interfaces/PostRefundRetroRemission.d.ts +5 -0
- package/lib/interfaces/RefundsRequest.d.ts +5 -0
- package/lib/payment-lib.component.d.ts +30 -4
- package/lib/payment-lib.service.d.ts +3 -0
- package/lib/pipes/capitalize.pipe.d.ts +5 -0
- package/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.d.ts +2 -0
- package/lib/services/orderslist.service.d.ts +40 -0
- package/lib/services/payment-view/payment-view.service.d.ts +15 -0
- package/lib/services/refunds/refunds.service.d.ts +30 -0
- package/lib/services/xl-file/xl-file.service.d.ts +6 -6
- package/package.json +5 -1
|
@@ -0,0 +1,179 @@
|
|
|
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
|
+
export class TableComponent {
|
|
12
|
+
/**
|
|
13
|
+
* @param {?} paymentLibComponent
|
|
14
|
+
* @param {?} cdRef
|
|
15
|
+
* @param {?} OrderslistService
|
|
16
|
+
*/
|
|
17
|
+
constructor(paymentLibComponent, cdRef, OrderslistService) {
|
|
18
|
+
this.paymentLibComponent = paymentLibComponent;
|
|
19
|
+
this.cdRef = cdRef;
|
|
20
|
+
this.OrderslistService = OrderslistService;
|
|
21
|
+
// displayedColumns = ['ccdCaseNumber', 'refundReference', 'reason', 'createBy', 'updateDate', 'Action'];
|
|
22
|
+
this.displayedColumns = ['ccd_case_number', 'refund_reference', 'reason', 'user_full_name', 'date_updated', 'Action'];
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @return {?}
|
|
26
|
+
*/
|
|
27
|
+
ngOnInit() {
|
|
28
|
+
this.errorMessage = this.errorMessage;
|
|
29
|
+
if (this.STATUS.toLowerCase() === 'sent for approval') {
|
|
30
|
+
this.isApprovalFlow = true;
|
|
31
|
+
}
|
|
32
|
+
else {
|
|
33
|
+
this.isApprovalFlow = false;
|
|
34
|
+
}
|
|
35
|
+
this.refundList = this.DATASOURCE;
|
|
36
|
+
this.dataSource = new MatTableDataSource(this.refundList);
|
|
37
|
+
this.actualcount = this.dataSource.data.length;
|
|
38
|
+
if (this.refundList !== undefined) {
|
|
39
|
+
this.userLst = this.refundList.reduce((/**
|
|
40
|
+
* @param {?} r
|
|
41
|
+
* @param {?} __1
|
|
42
|
+
* @return {?}
|
|
43
|
+
*/
|
|
44
|
+
(r, { user_full_name }) => (r[user_full_name] = '', r)), {});
|
|
45
|
+
this.userLst = Object.keys(this.userLst);
|
|
46
|
+
}
|
|
47
|
+
this.userLst.sort((/**
|
|
48
|
+
* @param {?} a
|
|
49
|
+
* @param {?} b
|
|
50
|
+
* @return {?}
|
|
51
|
+
*/
|
|
52
|
+
(a, b) => a.toString().localeCompare(b)));
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Set the paginator and sort after the view init since this component will
|
|
56
|
+
* be able to query its view for the initialized paginator and sort.
|
|
57
|
+
* @return {?}
|
|
58
|
+
*/
|
|
59
|
+
ngAfterViewInit() {
|
|
60
|
+
this.dataSource.sort = this.sort;
|
|
61
|
+
//const sortState: Sort = {active: 'date_updated', direction: 'desc'};
|
|
62
|
+
// this.sort.active = sortState.active;
|
|
63
|
+
// this.sort.direction = sortState.direction;
|
|
64
|
+
// this.sort.sortChange.emit(sortState);
|
|
65
|
+
this.dataSource.paginator = this.paginator;
|
|
66
|
+
this.dataSource.sort = this.sort;
|
|
67
|
+
this.cdRef.detectChanges();
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* @param {?} filterValue
|
|
71
|
+
* @return {?}
|
|
72
|
+
*/
|
|
73
|
+
applyFilter(filterValue) {
|
|
74
|
+
filterValue = filterValue.trim(); // Remove whitespace
|
|
75
|
+
filterValue = filterValue.toLowerCase(); // Datasource defaults to lowercase matches
|
|
76
|
+
this.dataSource.filter = filterValue;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* @param {?} args
|
|
80
|
+
* @return {?}
|
|
81
|
+
*/
|
|
82
|
+
selectchange(args) {
|
|
83
|
+
this.dataSource.filter = args.target.value;
|
|
84
|
+
this.actualcount = this.dataSource.data.length;
|
|
85
|
+
this.dataSource.paginator = this.paginator;
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* @param {?} refundReference
|
|
89
|
+
* @param {?} refundDate
|
|
90
|
+
* @return {?}
|
|
91
|
+
*/
|
|
92
|
+
goToRefundProcessComponent(refundReference, refundDate) {
|
|
93
|
+
this.paymentLibComponent.refundlistsource = refundDate;
|
|
94
|
+
this.paymentLibComponent.refundReference = refundReference;
|
|
95
|
+
this.paymentLibComponent.viewName = 'process-refund';
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* @param {?} refundReference
|
|
99
|
+
* @param {?} refundData
|
|
100
|
+
* @return {?}
|
|
101
|
+
*/
|
|
102
|
+
goToRefundViewComponent(refundReference, refundData) {
|
|
103
|
+
this.OrderslistService.setRefundView(refundData);
|
|
104
|
+
this.paymentLibComponent.viewName = 'refundstatuslist';
|
|
105
|
+
this.paymentLibComponent.CCD_CASE_NUMBER = refundData.ccd_case_number;
|
|
106
|
+
this.paymentLibComponent.isRefundStatusView = true;
|
|
107
|
+
this.paymentLibComponent.isCallFromRefundList = true;
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* @param {?} ccdCaseNumber
|
|
111
|
+
* @param {?} refundData
|
|
112
|
+
* @return {?}
|
|
113
|
+
*/
|
|
114
|
+
goToCaseReview(ccdCaseNumber, refundData) {
|
|
115
|
+
window.location.href = `/cases/case-details/:${ccdCaseNumber}`;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
TableComponent.decorators = [
|
|
119
|
+
{ type: Component, args: [{
|
|
120
|
+
selector: 'ccpay-table',
|
|
121
|
+
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 ID </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=\"reason\">\n <mat-header-cell *matHeaderCellDef> Reason </mat-header-cell>\n <mat-cell *matCellDef=\"let row\" class=\"whitespace-inherit\"> {{row.reason}} </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_updated\">\n <mat-header-cell *matHeaderCellDef mat-sort-header> Date 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",
|
|
122
|
+
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:#005ea5;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}"]
|
|
123
|
+
}] }
|
|
124
|
+
];
|
|
125
|
+
/** @nocollapse */
|
|
126
|
+
TableComponent.ctorParameters = () => [
|
|
127
|
+
{ type: PaymentLibComponent },
|
|
128
|
+
{ type: ChangeDetectorRef },
|
|
129
|
+
{ type: OrderslistService }
|
|
130
|
+
];
|
|
131
|
+
TableComponent.propDecorators = {
|
|
132
|
+
DATASOURCE: [{ type: Input, args: ['DATASOURCE',] }],
|
|
133
|
+
STATUS: [{ type: Input, args: ['STATUS',] }],
|
|
134
|
+
errorMessage: [{ type: Input, args: ['errorMessage',] }],
|
|
135
|
+
paginator: [{ type: ViewChild, args: [MatPaginator,] }],
|
|
136
|
+
sort: [{ type: ViewChild, args: [MatSort,] }]
|
|
137
|
+
};
|
|
138
|
+
if (false) {
|
|
139
|
+
/** @type {?} */
|
|
140
|
+
TableComponent.prototype.DATASOURCE;
|
|
141
|
+
/** @type {?} */
|
|
142
|
+
TableComponent.prototype.STATUS;
|
|
143
|
+
/** @type {?} */
|
|
144
|
+
TableComponent.prototype.errorMessage;
|
|
145
|
+
/** @type {?} */
|
|
146
|
+
TableComponent.prototype.isApprovalFlow;
|
|
147
|
+
/** @type {?} */
|
|
148
|
+
TableComponent.prototype.displayedColumns;
|
|
149
|
+
/** @type {?} */
|
|
150
|
+
TableComponent.prototype.dataSource;
|
|
151
|
+
/** @type {?} */
|
|
152
|
+
TableComponent.prototype.userLst;
|
|
153
|
+
/** @type {?} */
|
|
154
|
+
TableComponent.prototype.actualcount;
|
|
155
|
+
/** @type {?} */
|
|
156
|
+
TableComponent.prototype.count;
|
|
157
|
+
/** @type {?} */
|
|
158
|
+
TableComponent.prototype.refundList;
|
|
159
|
+
/** @type {?} */
|
|
160
|
+
TableComponent.prototype.paginator;
|
|
161
|
+
/** @type {?} */
|
|
162
|
+
TableComponent.prototype.sort;
|
|
163
|
+
/**
|
|
164
|
+
* @type {?}
|
|
165
|
+
* @private
|
|
166
|
+
*/
|
|
167
|
+
TableComponent.prototype.paymentLibComponent;
|
|
168
|
+
/**
|
|
169
|
+
* @type {?}
|
|
170
|
+
* @private
|
|
171
|
+
*/
|
|
172
|
+
TableComponent.prototype.cdRef;
|
|
173
|
+
/**
|
|
174
|
+
* @type {?}
|
|
175
|
+
* @private
|
|
176
|
+
*/
|
|
177
|
+
TableComponent.prototype.OrderslistService;
|
|
178
|
+
}
|
|
179
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFibGUuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGhtY3RzL2NjcGF5LXdlYi1jb21wb25lbnQvIiwic291cmNlcyI6WyJsaWIvY29tcG9uZW50cy90YWJsZS90YWJsZS5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBRSxpQkFBaUIsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUM3RSxPQUFPLEVBQUMsbUJBQW1CLEVBQUMsTUFBTSw2QkFBNkIsQ0FBQztBQUNoRSxPQUFPLEVBQUUsa0JBQWtCLEVBQUMsTUFBTSx5QkFBeUIsQ0FBQztBQUM1RCxPQUFPLEVBQUMsT0FBTyxFQUFFLE1BQU0sd0JBQXdCLENBQUM7QUFFaEQsT0FBTyxFQUFDLFlBQVksRUFBRSxNQUFNLDZCQUE2QixDQUFDO0FBRTFELE9BQU8sRUFBRSxpQkFBaUIsRUFBRSx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