@hmcts/ccpay-web-component 5.0.1-beta77 → 5.0.1-beta78
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 +393 -86
- 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 -31
- package/esm2015/lib/components/add-remission/add-remission.component.js +60 -27
- package/esm2015/lib/components/case-transactions/case-transactions.component.js +3 -2
- package/esm2015/lib/components/contact-details/contact-details.component.js +314 -0
- package/esm2015/lib/components/fee-summary/fee-summary.component.js +3 -1
- package/esm2015/lib/components/payment-view/payment-view.component.js +4 -3
- package/esm2015/lib/components/process-refund/process-refund.component.js +3 -8
- package/esm2015/lib/components/refund-status/refund-status.component.js +5 -3
- package/esm2015/lib/components/unprocessed-payments/unprocessed-payments.component.js +2 -1
- package/esm2015/lib/interfaces/IRefundContactDetails.js +25 -0
- package/esm2015/lib/interfaces/PostIssueRefundRetroRemission.js +6 -2
- package/esm2015/lib/interfaces/PostRefundRetroRemission.js +6 -2
- package/esm2015/lib/payment-lib.module.js +3 -1
- package/esm2015/lib/services/shared/error-handler.service.js +10 -19
- package/esm5/hmcts-ccpay-web-component.js +32 -31
- package/esm5/lib/components/add-remission/add-remission.component.js +71 -27
- package/esm5/lib/components/case-transactions/case-transactions.component.js +3 -2
- package/esm5/lib/components/contact-details/contact-details.component.js +335 -0
- package/esm5/lib/components/fee-summary/fee-summary.component.js +3 -1
- package/esm5/lib/components/payment-view/payment-view.component.js +4 -3
- package/esm5/lib/components/process-refund/process-refund.component.js +3 -8
- package/esm5/lib/components/refund-status/refund-status.component.js +5 -3
- package/esm5/lib/components/unprocessed-payments/unprocessed-payments.component.js +2 -1
- package/esm5/lib/interfaces/IRefundContactDetails.js +25 -0
- package/esm5/lib/interfaces/PostIssueRefundRetroRemission.js +5 -2
- package/esm5/lib/interfaces/PostRefundRetroRemission.js +5 -2
- package/esm5/lib/payment-lib.module.js +3 -1
- package/esm5/lib/services/shared/error-handler.service.js +10 -19
- package/fesm2015/hmcts-ccpay-web-component.js +334 -57
- package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
- package/fesm5/hmcts-ccpay-web-component.js +362 -57
- package/fesm5/hmcts-ccpay-web-component.js.map +1 -1
- package/hmcts-ccpay-web-component.d.ts +31 -30
- package/hmcts-ccpay-web-component.metadata.json +1 -1
- package/lib/components/add-remission/add-remission.component.d.ts +5 -0
- package/lib/components/contact-details/contact-details.component.d.ts +38 -0
- package/lib/components/process-refund/process-refund.component.d.ts +0 -1
- package/lib/components/refund-status/refund-status.component.d.ts +1 -0
- package/lib/interfaces/IRefundContactDetails.d.ts +9 -0
- package/lib/interfaces/PostIssueRefundRetroRemission.d.ts +3 -1
- package/lib/interfaces/PostRefundRetroRemission.d.ts +3 -1
- package/package.json +1 -1
|
@@ -7,6 +7,7 @@ import { PaymentLibComponent } from '../../payment-lib.component';
|
|
|
7
7
|
import { IPayment } from '../../interfaces/IPayment';
|
|
8
8
|
import { RefundsService } from '../../services/refunds/refunds.service';
|
|
9
9
|
import { IRefundReasons } from '../../interfaces/IRefundReasons';
|
|
10
|
+
import { IRefundContactDetails } from '../../interfaces/IRefundContactDetails';
|
|
10
11
|
import { ChangeDetectorRef } from '@angular/core';
|
|
11
12
|
import { IRemission } from '../../interfaces/IRemission';
|
|
12
13
|
import { OrderslistService } from '../../services/orderslist.service';
|
|
@@ -60,6 +61,7 @@ export declare class AddRemissionComponent implements OnInit {
|
|
|
60
61
|
other: string;
|
|
61
62
|
};
|
|
62
63
|
};
|
|
64
|
+
contactDetailsObj: IRefundContactDetails;
|
|
63
65
|
remissionForm: FormGroup;
|
|
64
66
|
hasErrors: boolean;
|
|
65
67
|
viewStatus: string;
|
|
@@ -127,15 +129,18 @@ export declare class AddRemissionComponent implements OnInit {
|
|
|
127
129
|
gotoAddRetroRemissionCodePage(): void;
|
|
128
130
|
gotoCheckRetroRemissionPage(payment: IPayment): void;
|
|
129
131
|
gotoProcessRetroRemissionPage(): void;
|
|
132
|
+
gotoProcessRetroRemission(): void;
|
|
130
133
|
confirmRetroRemission(): void;
|
|
131
134
|
processRefund(): void;
|
|
132
135
|
gotoIssueRefundConfirmation(payment: IPayment): void;
|
|
133
136
|
gotoIssueRefundPage(): void;
|
|
137
|
+
gotoContactDetailsPage(): void;
|
|
134
138
|
changeIssueRefundReason(): void;
|
|
135
139
|
confirmIssueRefund(): void;
|
|
136
140
|
confirmRetroRefund(): void;
|
|
137
141
|
selectRadioButton(key: any, value: any): void;
|
|
138
142
|
selectchange(args: any): void;
|
|
143
|
+
getContactDetails(obj: IRefundContactDetails, type: any): void;
|
|
139
144
|
gotoServiceRequestPage(event: any): void;
|
|
140
145
|
gotoCasetransationPage(): void;
|
|
141
146
|
gotoCasetransationPageCancelBtnClicked(event: Event): void;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
|
+
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
+
import { PaymentLibComponent } from '../../payment-lib.component';
|
|
4
|
+
export declare class ContactDetailsComponent implements OnInit {
|
|
5
|
+
private formBuilder;
|
|
6
|
+
private paymentLibComponent;
|
|
7
|
+
assignContactDetails: EventEmitter<any>;
|
|
8
|
+
redirectToIssueRefund: EventEmitter<any>;
|
|
9
|
+
pageTitle: string;
|
|
10
|
+
errorMessage: string;
|
|
11
|
+
isEmailSAddressClicked: boolean;
|
|
12
|
+
isPostcodeClicked: boolean;
|
|
13
|
+
isManualAddressClicked: boolean;
|
|
14
|
+
emailAddressForm: FormGroup;
|
|
15
|
+
postCodeForm: FormGroup;
|
|
16
|
+
manualAddressForm: FormGroup;
|
|
17
|
+
isEmailEmpty: boolean;
|
|
18
|
+
emailHasError: boolean;
|
|
19
|
+
isPostcodeEmpty: boolean;
|
|
20
|
+
postcodeHasError: boolean;
|
|
21
|
+
isaddressLine1Empty: boolean;
|
|
22
|
+
addressLine1HasError: boolean;
|
|
23
|
+
addressLine2HasError: boolean;
|
|
24
|
+
isTownOrCityEmpty: boolean;
|
|
25
|
+
townOrCityHasError: boolean;
|
|
26
|
+
isCountyEmpty: boolean;
|
|
27
|
+
countyHasError: boolean;
|
|
28
|
+
isMPostcodeEmpty: boolean;
|
|
29
|
+
mpostcodeHasError: boolean;
|
|
30
|
+
isCountryEmpty: boolean;
|
|
31
|
+
constructor(formBuilder: FormBuilder, paymentLibComponent: PaymentLibComponent);
|
|
32
|
+
ngOnInit(): void;
|
|
33
|
+
selectContactOption(type: any, isLinkedClied: any): void;
|
|
34
|
+
finalFormSubmit(): void;
|
|
35
|
+
postcodeValidation(): void;
|
|
36
|
+
redirection(event: any): void;
|
|
37
|
+
resetForm(val: any, field: any): void;
|
|
38
|
+
}
|
|
@@ -41,7 +41,6 @@ export declare class ProcessRefundComponent implements OnInit {
|
|
|
41
41
|
successMsg: string;
|
|
42
42
|
navigationpage: string;
|
|
43
43
|
ccdCaseNumber: string;
|
|
44
|
-
isFromRefundListPage: boolean;
|
|
45
44
|
isConfirmButtondisabled: boolean;
|
|
46
45
|
constructor(RefundsService: RefundsService, formBuilder: FormBuilder, OrderslistService: OrderslistService, paymentLibComponent: PaymentLibComponent, router: Router, activeRoute: ActivatedRoute);
|
|
47
46
|
ngOnInit(): void;
|
|
@@ -38,6 +38,7 @@ export declare class RefundStatusComponent implements OnInit {
|
|
|
38
38
|
refundHasError: boolean;
|
|
39
39
|
refundReasons: any[];
|
|
40
40
|
refundStatusHistories: IRefundStatus[];
|
|
41
|
+
refundNotifications: IRefundStatus[];
|
|
41
42
|
refundReference: string;
|
|
42
43
|
refundAmount: string;
|
|
43
44
|
refundCode: string;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import { IRefundContactDetails } from './IRefundContactDetails';
|
|
1
2
|
export declare class PostIssueRefundRetroRemission {
|
|
2
3
|
remissionReference: string;
|
|
3
|
-
|
|
4
|
+
contact_details: IRefundContactDetails;
|
|
5
|
+
constructor(remissionReference: string, contactDeatils: any);
|
|
4
6
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import { IRefundContactDetails } from './IRefundContactDetails';
|
|
1
2
|
export declare class PostRefundRetroRemission {
|
|
2
3
|
payment_reference: string;
|
|
3
4
|
refund_reason: string;
|
|
4
|
-
|
|
5
|
+
contact_details: IRefundContactDetails;
|
|
6
|
+
constructor(payment_reference: string, refund_reason: string, contactDeatils: any);
|
|
5
7
|
}
|