@hmcts/ccpay-web-component 5.0.1-beta155 → 5.0.1-beta158
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 +198 -738
- 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 +4 -4
- package/esm2015/lib/components/add-remission/add-remission.component.js +39 -467
- package/esm2015/lib/components/case-transactions/case-transactions.component.js +38 -45
- package/esm2015/lib/components/contact-details/contact-details.component.js +31 -9
- package/esm2015/lib/components/payment-view/payment-view.component.js +5 -9
- package/esm2015/lib/components/pba-payment/pba-payment.component.js +35 -84
- package/esm2015/lib/components/process-refund/process-refund.component.js +3 -3
- package/esm2015/lib/components/refund-list/refund-list.component.js +4 -4
- package/esm2015/lib/components/refund-status/refund-status.component.js +11 -2
- package/esm2015/lib/components/service-request/service-request.component.js +22 -19
- package/esm2015/lib/components/table/table.component.js +3 -3
- package/esm2015/lib/interfaces/IRemission.js +1 -3
- package/esm2015/lib/interfaces/IserviceRequestPbaPayment.js +2 -6
- package/esm2015/lib/interfaces/PostRefundRetroRemission.js +4 -16
- package/esm2015/lib/payment-lib.component.js +1 -5
- package/esm2015/lib/payment-lib.module.js +3 -2
- package/esm2015/lib/payment-lib.service.js +1 -16
- package/esm2015/lib/services/payment-view/payment-view.service.js +1 -7
- package/esm2015/lib/services/refunds/refunds.service.js +3 -16
- package/esm2015/lib/services/shared/httpclient/webcomponent.http.client.js +3 -16
- package/esm5/hmcts-ccpay-web-component.js +4 -4
- package/esm5/lib/components/add-remission/add-remission.component.js +44 -560
- package/esm5/lib/components/case-transactions/case-transactions.component.js +38 -48
- package/esm5/lib/components/contact-details/contact-details.component.js +31 -9
- package/esm5/lib/components/payment-view/payment-view.component.js +5 -10
- package/esm5/lib/components/pba-payment/pba-payment.component.js +35 -88
- package/esm5/lib/components/process-refund/process-refund.component.js +3 -3
- package/esm5/lib/components/refund-list/refund-list.component.js +4 -4
- package/esm5/lib/components/refund-status/refund-status.component.js +15 -2
- package/esm5/lib/components/service-request/service-request.component.js +26 -23
- package/esm5/lib/components/table/table.component.js +3 -3
- package/esm5/lib/interfaces/IRemission.js +1 -3
- package/esm5/lib/interfaces/IserviceRequestPbaPayment.js +2 -5
- package/esm5/lib/interfaces/PostRefundRetroRemission.js +3 -12
- package/esm5/lib/payment-lib.component.js +1 -5
- package/esm5/lib/payment-lib.module.js +3 -2
- package/esm5/lib/payment-lib.service.js +1 -23
- package/esm5/lib/services/payment-view/payment-view.service.js +1 -7
- package/esm5/lib/services/refunds/refunds.service.js +3 -16
- package/esm5/lib/services/shared/httpclient/webcomponent.http.client.js +3 -16
- package/fesm2015/hmcts-ccpay-web-component.js +185 -651
- package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
- package/fesm5/hmcts-ccpay-web-component.js +197 -758
- package/fesm5/hmcts-ccpay-web-component.js.map +1 -1
- package/hmcts-ccpay-web-component.d.ts +3 -3
- package/hmcts-ccpay-web-component.metadata.json +1 -1
- package/lib/components/add-remission/add-remission.component.d.ts +2 -28
- package/lib/components/case-transactions/case-transactions.component.d.ts +0 -1
- package/lib/components/contact-details/contact-details.component.d.ts +2 -0
- package/lib/components/payment-view/payment-view.component.d.ts +1 -2
- package/lib/components/pba-payment/pba-payment.component.d.ts +0 -6
- package/lib/components/process-refund/process-refund.component.d.ts +1 -1
- package/lib/components/refund-status/refund-status.component.d.ts +1 -0
- package/lib/components/service-request/service-request.component.d.ts +3 -4
- package/lib/interfaces/IRemission.d.ts +0 -1
- package/lib/interfaces/IserviceRequestPbaPayment.d.ts +1 -2
- package/lib/interfaces/PostRefundRetroRemission.d.ts +2 -5
- package/lib/payment-lib.component.d.ts +0 -1
- package/lib/payment-lib.service.d.ts +0 -3
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
|
-
import { FormBuilder, FormGroup
|
|
2
|
+
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
3
|
import { IFee } from '../../interfaces/IFee';
|
|
4
4
|
import { Router } from '@angular/router';
|
|
5
5
|
import { PaymentViewService } from '../../services/payment-view/payment-view.service';
|
|
@@ -11,7 +11,6 @@ import { IRefundContactDetails } from '../../interfaces/IRefundContactDetails';
|
|
|
11
11
|
import { ChangeDetectorRef } from '@angular/core';
|
|
12
12
|
import { IRemission } from '../../interfaces/IRemission';
|
|
13
13
|
import { OrderslistService } from '../../services/orderslist.service';
|
|
14
|
-
import { IPaymentGroup } from '../../interfaces/IPaymentGroup';
|
|
15
14
|
export declare class AddRemissionComponent implements OnInit {
|
|
16
15
|
private formBuilder;
|
|
17
16
|
private router;
|
|
@@ -21,7 +20,6 @@ export declare class AddRemissionComponent implements OnInit {
|
|
|
21
20
|
private cd;
|
|
22
21
|
private OrderslistService;
|
|
23
22
|
fee: IFee;
|
|
24
|
-
fees: any[];
|
|
25
23
|
payment: IPayment;
|
|
26
24
|
remission: IRemission;
|
|
27
25
|
ccdCaseNumber: string;
|
|
@@ -94,7 +92,6 @@ export declare class AddRemissionComponent implements OnInit {
|
|
|
94
92
|
isPaymentSuccess: boolean;
|
|
95
93
|
isRemissionApplied: boolean;
|
|
96
94
|
remissionamt: number;
|
|
97
|
-
elementId: any;
|
|
98
95
|
commonRefundReasons: any[];
|
|
99
96
|
showReasonText: boolean;
|
|
100
97
|
isRefundReasonsSelected: boolean;
|
|
@@ -105,19 +102,6 @@ export declare class AddRemissionComponent implements OnInit {
|
|
|
105
102
|
pattern2: string;
|
|
106
103
|
sendOrderDetail: any[];
|
|
107
104
|
sendOrderRef: string;
|
|
108
|
-
paymentReference: string;
|
|
109
|
-
class: string;
|
|
110
|
-
errorMsg: any[];
|
|
111
|
-
totalRefundAmount: number;
|
|
112
|
-
quantityUpdated: number;
|
|
113
|
-
fullRefund: boolean;
|
|
114
|
-
allowedRefundAmount: number;
|
|
115
|
-
isRemissionsMatch: boolean;
|
|
116
|
-
paymentFees: IFee[];
|
|
117
|
-
paymentGroup: IPaymentGroup;
|
|
118
|
-
isStatusAllocated: boolean;
|
|
119
|
-
isFromCheckAnsPage: boolean;
|
|
120
|
-
refundAmtForFeeVolumes: number;
|
|
121
105
|
component: {
|
|
122
106
|
account_number: string;
|
|
123
107
|
amount: number;
|
|
@@ -139,10 +123,6 @@ export declare class AddRemissionComponent implements OnInit {
|
|
|
139
123
|
};
|
|
140
124
|
constructor(formBuilder: FormBuilder, router: Router, paymentViewService: PaymentViewService, paymentLibComponent: PaymentLibComponent, refundService: RefundsService, cd: ChangeDetectorRef, OrderslistService: OrderslistService);
|
|
141
125
|
ngOnInit(): void;
|
|
142
|
-
refundFeesList(): void;
|
|
143
|
-
readonly feesList: FormArray;
|
|
144
|
-
noneSelected(): boolean;
|
|
145
|
-
check_en(i: any, v1: any, AppAmt: any, Volume: any): void;
|
|
146
126
|
addRemission(): void;
|
|
147
127
|
confirmRemission(): void;
|
|
148
128
|
resetRemissionForm(val: any, field: any): void;
|
|
@@ -156,24 +136,18 @@ export declare class AddRemissionComponent implements OnInit {
|
|
|
156
136
|
processRefund(): void;
|
|
157
137
|
gotoIssueRefundConfirmation(payment: IPayment): void;
|
|
158
138
|
gotoIssueRefundPage(): void;
|
|
159
|
-
gotoIssuePage(): void;
|
|
160
|
-
calAmtToRefund(value: any, amount: any, volume: any, i: any): void;
|
|
161
139
|
gotoContactDetailsPage(note?: IRefundContactDetails): void;
|
|
162
|
-
getRefundReasons(): void;
|
|
163
|
-
getErrorClass(elementId: any): void;
|
|
164
140
|
changeIssueRefundReason(): void;
|
|
165
141
|
confirmIssueRefund(): void;
|
|
166
|
-
|
|
142
|
+
confirmRetroRefund(): void;
|
|
167
143
|
selectRadioButton(key: any, value: any): void;
|
|
168
144
|
selectchange(args: any): void;
|
|
169
145
|
getContactDetails(obj: IRefundContactDetails, type: any): void;
|
|
170
|
-
gotoPartialFeeRefundScreen(): void;
|
|
171
146
|
gotoServiceRequestPage(event: any): void;
|
|
172
147
|
gotoAddressPage(note?: IRefundContactDetails): void;
|
|
173
148
|
gotoRemissionSuccess(event: Event): void;
|
|
174
149
|
gotoCasetransationPage(): void;
|
|
175
150
|
gotoCasetransationPageCancelBtnClicked(event: Event): void;
|
|
176
151
|
resetOrderData(): void;
|
|
177
|
-
changeRefundAmount(): void;
|
|
178
152
|
getFormattedCurrency(currency: number): string | number;
|
|
179
153
|
}
|
|
@@ -108,7 +108,6 @@ export declare class CaseTransactionsComponent implements OnInit {
|
|
|
108
108
|
addRemission(fee: IFee): void;
|
|
109
109
|
addRefundForRemission(payment: IPayment, remission: IRemission[], fees: any): void;
|
|
110
110
|
redirectToremissionPage(event: any): void;
|
|
111
|
-
goToServiceRequestPage(): void;
|
|
112
111
|
redirectToReportsPage(event: any): void;
|
|
113
112
|
loadFeeSummaryPage(paymentGroup: IPaymentGroup): void;
|
|
114
113
|
goToPaymentViewComponent(paymentGroup: any): void;
|
|
@@ -7,8 +7,10 @@ export declare class ContactDetailsComponent implements OnInit {
|
|
|
7
7
|
private notificationService;
|
|
8
8
|
private paymentLibComponent;
|
|
9
9
|
isEditOperation: boolean;
|
|
10
|
+
isEditOperationInRefundList: boolean;
|
|
10
11
|
addressObj: any;
|
|
11
12
|
assignContactDetails: EventEmitter<any>;
|
|
13
|
+
assignContactDetailsInFefundsList: EventEmitter<any>;
|
|
12
14
|
redirectToIssueRefund: EventEmitter<any>;
|
|
13
15
|
pageTitle: string;
|
|
14
16
|
errorMessage: string;
|
|
@@ -48,7 +48,6 @@ export declare class PaymentViewComponent implements OnInit {
|
|
|
48
48
|
serviceReference: string;
|
|
49
49
|
isFromServiceRequestPage: boolean;
|
|
50
50
|
isFromPaymentDetailPage: boolean;
|
|
51
|
-
paymentFees: IFee[];
|
|
52
51
|
constructor(paymentViewService: PaymentViewService, paymentLibComponent: PaymentLibComponent, cd: ChangeDetectorRef, OrderslistService: OrderslistService);
|
|
53
52
|
ngAfterContentChecked(): void;
|
|
54
53
|
ngOnInit(): void;
|
|
@@ -64,7 +63,7 @@ export declare class PaymentViewComponent implements OnInit {
|
|
|
64
63
|
getRemissionByFeeCode(feeCode: string, remissions: IRemission[]): IRemission;
|
|
65
64
|
chkIssueRefundBtnEnable(payment: IPayment): boolean;
|
|
66
65
|
chkForPBAPayment(): boolean;
|
|
67
|
-
chkForAddRemission(feeCode: string
|
|
66
|
+
chkForAddRemission(feeCode: string): boolean;
|
|
68
67
|
check4AllowedRoles2AccessRefund: () => boolean;
|
|
69
68
|
allowFurtherAccessAfter4Days: (payment: IPayment) => boolean;
|
|
70
69
|
resetOrderData(): void;
|
|
@@ -7,7 +7,6 @@ export declare class PbaPaymentComponent implements OnInit {
|
|
|
7
7
|
pbaPayOrderRef: any;
|
|
8
8
|
viewStatus: string;
|
|
9
9
|
pbaAccountList: string[];
|
|
10
|
-
isPBAAccountHold: boolean;
|
|
11
10
|
errorMsg: any;
|
|
12
11
|
isCardPaymentSuccess: boolean;
|
|
13
12
|
isInSufficiantFund: boolean;
|
|
@@ -16,18 +15,13 @@ export declare class PbaPaymentComponent implements OnInit {
|
|
|
16
15
|
isGetPBAAccountSucceed: boolean;
|
|
17
16
|
selectedPbaAccount: string;
|
|
18
17
|
pbaAccountRef: string;
|
|
19
|
-
isPbaAccountSelected: boolean;
|
|
20
|
-
isCardPaymentSelected: boolean;
|
|
21
|
-
isPBADropdownSelected: boolean;
|
|
22
18
|
isContinueButtondisabled: boolean;
|
|
23
19
|
isPBAAccountPaymentSuccess: boolean;
|
|
24
20
|
pbaAccountrPaymentResult: any;
|
|
25
|
-
orgName: string;
|
|
26
21
|
constructor(paymentLibComponent: PaymentLibComponent, paymentViewService: PaymentViewService);
|
|
27
22
|
ngOnInit(): void;
|
|
28
23
|
selectpbaaccount(args: any): void;
|
|
29
24
|
saveAndContinue(): void;
|
|
30
25
|
cardPayment(): void;
|
|
31
|
-
selectPaymentMethod(type: string): void;
|
|
32
26
|
gotoCasetransationPage(): void;
|
|
33
27
|
}
|
|
@@ -43,9 +43,9 @@ export declare class ProcessRefundComponent implements OnInit {
|
|
|
43
43
|
successMsg: string;
|
|
44
44
|
navigationpage: string;
|
|
45
45
|
ccdCaseNumber: string;
|
|
46
|
-
isFromRefundListPage: boolean;
|
|
47
46
|
cpoDetails: any;
|
|
48
47
|
isCPODown: boolean;
|
|
48
|
+
isFromRefundListPage: boolean;
|
|
49
49
|
isConfirmButtondisabled: boolean;
|
|
50
50
|
constructor(RefundsService: RefundsService, paymentViewService: PaymentViewService, formBuilder: FormBuilder, OrderslistService: OrderslistService, paymentLibComponent: PaymentLibComponent, router: Router, activeRoute: ActivatedRoute);
|
|
51
51
|
ngOnInit(): void;
|
|
@@ -77,6 +77,7 @@ export declare class RefundStatusComponent implements OnInit {
|
|
|
77
77
|
gotoReviewRefundConfirmationPage(): void;
|
|
78
78
|
gotoEditAddressDetails(note: IRefundsNotifications): void;
|
|
79
79
|
getContactDetails(obj: IRefundContactDetails): void;
|
|
80
|
+
getContactDetailsForRefundList(obj: IRefundContactDetails): void;
|
|
80
81
|
gotoEditDetailsPage(note?: any): void;
|
|
81
82
|
submitEditDetail(): void;
|
|
82
83
|
putResend(notification: IRefundsNotifications): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OnInit
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
2
|
import { PaymentLibComponent } from '../../payment-lib.component';
|
|
3
3
|
import { IPayment } from '../../interfaces/IPayment';
|
|
4
4
|
import { IRemission } from '../../interfaces/IRemission';
|
|
@@ -28,7 +28,6 @@ export declare class ServiceRequestComponent implements OnInit {
|
|
|
28
28
|
takePayment: boolean;
|
|
29
29
|
ccdCaseNumber: boolean;
|
|
30
30
|
isServiceRequest: string;
|
|
31
|
-
goToServiceRquestComponent: EventEmitter<any>;
|
|
32
31
|
servicerequest: string;
|
|
33
32
|
excReference: string;
|
|
34
33
|
paymentGroups: any[];
|
|
@@ -87,9 +86,8 @@ export declare class ServiceRequestComponent implements OnInit {
|
|
|
87
86
|
remissionFeeAmt: number;
|
|
88
87
|
constructor(paymentLibComponent: PaymentLibComponent, paymentViewService: PaymentViewService, OrderslistService: OrderslistService, router: Router);
|
|
89
88
|
ngOnInit(): void;
|
|
90
|
-
goToServiceRequestPage(): void;
|
|
91
89
|
goToCaseTransationPage(event: any): void;
|
|
92
|
-
chkForAddRemission(feeCode: string
|
|
90
|
+
chkForAddRemission(feeCode: string): boolean;
|
|
93
91
|
chkForPBAPayment(): boolean;
|
|
94
92
|
addRemission(fee: IFee): void;
|
|
95
93
|
addRefundForRemission(payment: IPayment, remission: IRemission[], fees: any): void;
|
|
@@ -100,6 +98,7 @@ export declare class ServiceRequestComponent implements OnInit {
|
|
|
100
98
|
check4AllowedRoles2AccessRefund: () => boolean;
|
|
101
99
|
allowFurtherAccessAfter4Days: (payment: IPayment) => boolean;
|
|
102
100
|
issueRefund(payment: IPayment): void;
|
|
101
|
+
goToServiceRequestPage(event: any): void;
|
|
103
102
|
goToPayementView(paymentGroupReference: string, paymentReference: string, paymentMethod: string): void;
|
|
104
103
|
goToPaymentViewComponent(paymentGroup: any): void;
|
|
105
104
|
resetOrderData(): void;
|
|
@@ -3,6 +3,5 @@ export declare class IserviceRequestPbaPayment {
|
|
|
3
3
|
amount: string;
|
|
4
4
|
currency: string;
|
|
5
5
|
customer_reference: string;
|
|
6
|
-
|
|
7
|
-
constructor(account_number: string, amount: string, customer_reference: string, orgName: string);
|
|
6
|
+
constructor(account_number: string, amount: string, customer_reference: string);
|
|
8
7
|
}
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
import { IRefundContactDetails } from
|
|
1
|
+
import { IRefundContactDetails } from './IRefundContactDetails';
|
|
2
2
|
export declare class PostRefundRetroRemission {
|
|
3
|
-
ccd_case_number: string;
|
|
4
3
|
payment_reference: string;
|
|
5
4
|
refund_reason: string;
|
|
6
|
-
refund_amount: any;
|
|
7
|
-
fees: any[];
|
|
8
5
|
contact_details: IRefundContactDetails;
|
|
9
|
-
constructor(
|
|
6
|
+
constructor(payment_reference: string, refund_reason: string, contactDeatils: any);
|
|
10
7
|
}
|
|
@@ -11,7 +11,6 @@ export declare class PaymentLibComponent implements OnInit {
|
|
|
11
11
|
BULKSCAN_API_ROOT: string;
|
|
12
12
|
REFUNDS_API_ROOT: string;
|
|
13
13
|
NOTIFICATION_API_ROOT: string;
|
|
14
|
-
CARDPAYMENTRETURNURL: string;
|
|
15
14
|
CCD_CASE_NUMBER: string;
|
|
16
15
|
EXC_REFERENCE: string;
|
|
17
16
|
PAYMENT_METHOD: string;
|
|
@@ -3,7 +3,6 @@ export declare class PaymentLibService {
|
|
|
3
3
|
BULKSCAN_API_ROOT: string;
|
|
4
4
|
REFUNDS_API_ROOT: string;
|
|
5
5
|
NOTIFICATION_API_ROOT: string;
|
|
6
|
-
CARDPAYMENTRETURNURL: string;
|
|
7
6
|
constructor();
|
|
8
7
|
setApiRootUrl(apiRoot: string): void;
|
|
9
8
|
getApiRootUrl(): string;
|
|
@@ -13,6 +12,4 @@ export declare class PaymentLibService {
|
|
|
13
12
|
getRefundsApiRootUrl(): string;
|
|
14
13
|
setNoticationApiRootUrl(notificationapiRoot: string): void;
|
|
15
14
|
getNoticationApiRootUrl(): string;
|
|
16
|
-
setCardPaymentReturnUrl(cardPaymentReturnUrl: string): void;
|
|
17
|
-
getCardPaymentReturnUrl(): string;
|
|
18
15
|
}
|