@hmcts/ccpay-web-component 5.0.1-beta62 → 5.0.1-beta63
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 +348 -68
- 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 +36 -24
- package/esm2015/lib/components/case-transactions/case-transactions.component.js +2 -2
- package/esm2015/lib/components/contact-details/contact-details.component.js +299 -0
- package/esm2015/lib/components/payment-list/payment-list.component.js +2 -2
- 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/processed-payments/processed-payments.component.js +2 -2
- package/esm2015/lib/components/refund-status/refund-status.component.js +5 -3
- package/esm2015/lib/components/service-request/service-request.component.js +2 -2
- package/esm2015/lib/components/table/table.component.js +2 -2
- package/esm2015/lib/interfaces/PostRefundRetroRemission.js +16 -2
- package/esm2015/lib/payment-lib.module.js +3 -1
- package/esm5/hmcts-ccpay-web-component.js +32 -31
- package/esm5/lib/components/add-remission/add-remission.component.js +40 -24
- package/esm5/lib/components/case-transactions/case-transactions.component.js +2 -2
- package/esm5/lib/components/contact-details/contact-details.component.js +316 -0
- package/esm5/lib/components/payment-list/payment-list.component.js +2 -2
- 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/processed-payments/processed-payments.component.js +2 -2
- package/esm5/lib/components/refund-status/refund-status.component.js +5 -3
- package/esm5/lib/components/service-request/service-request.component.js +2 -2
- package/esm5/lib/components/table/table.component.js +2 -2
- package/esm5/lib/interfaces/PostRefundRetroRemission.js +15 -2
- package/esm5/lib/payment-lib.module.js +3 -1
- package/fesm2015/hmcts-ccpay-web-component.js +298 -39
- package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
- package/fesm5/hmcts-ccpay-web-component.js +317 -39
- 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 +2 -0
- package/lib/components/contact-details/contact-details.component.d.ts +36 -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/PostRefundRetroRemission.d.ts +11 -1
- package/package.json +1 -1
|
@@ -60,6 +60,7 @@ export declare class AddRemissionComponent implements OnInit {
|
|
|
60
60
|
other: string;
|
|
61
61
|
};
|
|
62
62
|
};
|
|
63
|
+
contactDetailsObj: any[];
|
|
63
64
|
remissionForm: FormGroup;
|
|
64
65
|
hasErrors: boolean;
|
|
65
66
|
viewStatus: string;
|
|
@@ -136,6 +137,7 @@ export declare class AddRemissionComponent implements OnInit {
|
|
|
136
137
|
confirmRetroRefund(): void;
|
|
137
138
|
selectRadioButton(key: any, value: any): void;
|
|
138
139
|
selectchange(args: any): void;
|
|
140
|
+
getContactDetails(obj: any): void;
|
|
139
141
|
gotoServiceRequestPage(event: any): void;
|
|
140
142
|
gotoCasetransationPage(): void;
|
|
141
143
|
gotoCasetransationPageCancelBtnClicked(event: Event): void;
|
|
@@ -0,0 +1,36 @@
|
|
|
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
|
+
pageTitle: string;
|
|
9
|
+
errorMessage: string;
|
|
10
|
+
isEmailSAddressClicked: boolean;
|
|
11
|
+
isPostcodeClicked: boolean;
|
|
12
|
+
isManualAddressClicked: boolean;
|
|
13
|
+
emailAddressForm: FormGroup;
|
|
14
|
+
postCodeForm: FormGroup;
|
|
15
|
+
manualAddressForm: FormGroup;
|
|
16
|
+
isEmailEmpty: boolean;
|
|
17
|
+
emailHasError: boolean;
|
|
18
|
+
isPostcodeEmpty: boolean;
|
|
19
|
+
postcodeHasError: boolean;
|
|
20
|
+
isaddressLine1Empty: boolean;
|
|
21
|
+
addressLine1HasError: boolean;
|
|
22
|
+
addressLine2HasError: boolean;
|
|
23
|
+
isTownOrCityEmpty: boolean;
|
|
24
|
+
townOrCityHasError: boolean;
|
|
25
|
+
isCountyEmpty: boolean;
|
|
26
|
+
countyHasError: boolean;
|
|
27
|
+
isMPostcodeEmpty: boolean;
|
|
28
|
+
mpostcodeHasError: boolean;
|
|
29
|
+
isCountryEmpty: boolean;
|
|
30
|
+
constructor(formBuilder: FormBuilder, paymentLibComponent: PaymentLibComponent);
|
|
31
|
+
ngOnInit(): void;
|
|
32
|
+
selectContactOption(type: any, isLinkedClied: any): void;
|
|
33
|
+
finalFormSubmit(): void;
|
|
34
|
+
postcodeValidation(): void;
|
|
35
|
+
resetForm(val: any, field: any): void;
|
|
36
|
+
}
|
|
@@ -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,5 +1,15 @@
|
|
|
1
1
|
export declare class PostRefundRetroRemission {
|
|
2
2
|
payment_reference: string;
|
|
3
3
|
refund_reason: string;
|
|
4
|
-
|
|
4
|
+
contact_details: {
|
|
5
|
+
address_line?: string;
|
|
6
|
+
city?: string;
|
|
7
|
+
country?: string;
|
|
8
|
+
county?: string;
|
|
9
|
+
email?: string;
|
|
10
|
+
notification_type: string;
|
|
11
|
+
postal_code?: string;
|
|
12
|
+
template_id: string;
|
|
13
|
+
};
|
|
14
|
+
constructor(payment_reference: string, refund_reason: string, contactDeatils: any);
|
|
5
15
|
}
|