@hmcts/ccpay-web-component 5.0.1-beta99 → 6.0.0-beta2
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 +364 -706
- 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 -5
- package/esm2015/lib/components/add-remission/add-remission.component.js +25 -87
- package/esm2015/lib/components/case-transactions/case-transactions.component.js +32 -5
- package/esm2015/lib/components/fee-summary/fee-summary.component.js +1 -3
- package/esm2015/lib/components/payment-view/payment-view.component.js +3 -4
- package/esm2015/lib/components/pba-payment/pba-payment.component.js +199 -0
- package/esm2015/lib/components/process-refund/process-refund.component.js +8 -3
- package/esm2015/lib/components/refund-status/refund-status.component.js +27 -145
- package/esm2015/lib/components/service-request/service-request.component.js +28 -9
- package/esm2015/lib/components/unprocessed-payments/unprocessed-payments.component.js +1 -2
- package/esm2015/lib/interfaces/IserviceRequestCardPayment.js +23 -0
- package/esm2015/lib/interfaces/IserviceRequestPbaPayment.js +28 -0
- package/esm2015/lib/interfaces/PostIssueRefundRetroRemission.js +2 -6
- package/esm2015/lib/interfaces/PostRefundRetroRemission.js +2 -6
- package/esm2015/lib/payment-lib.component.js +6 -8
- package/esm2015/lib/payment-lib.module.js +3 -5
- package/esm2015/lib/payment-lib.service.js +1 -16
- package/esm2015/lib/services/payment-view/payment-view.service.js +29 -1
- package/esm2015/lib/services/refunds/refunds.service.js +1 -10
- package/esm2015/lib/services/shared/error-handler.service.js +19 -10
- package/esm5/hmcts-ccpay-web-component.js +4 -5
- package/esm5/lib/components/add-remission/add-remission.component.js +25 -108
- package/esm5/lib/components/case-transactions/case-transactions.component.js +38 -5
- package/esm5/lib/components/fee-summary/fee-summary.component.js +1 -3
- package/esm5/lib/components/payment-view/payment-view.component.js +3 -4
- package/esm5/lib/components/pba-payment/pba-payment.component.js +216 -0
- package/esm5/lib/components/process-refund/process-refund.component.js +8 -3
- package/esm5/lib/components/refund-status/refund-status.component.js +25 -172
- package/esm5/lib/components/service-request/service-request.component.js +32 -9
- package/esm5/lib/components/unprocessed-payments/unprocessed-payments.component.js +1 -2
- package/esm5/lib/interfaces/IserviceRequestCardPayment.js +22 -0
- package/esm5/lib/interfaces/IserviceRequestPbaPayment.js +25 -0
- package/esm5/lib/interfaces/PostIssueRefundRetroRemission.js +2 -5
- package/esm5/lib/interfaces/PostRefundRetroRemission.js +2 -5
- package/esm5/lib/payment-lib.component.js +4 -7
- package/esm5/lib/payment-lib.module.js +3 -5
- package/esm5/lib/payment-lib.service.js +1 -23
- package/esm5/lib/services/payment-view/payment-view.service.js +42 -1
- package/esm5/lib/services/refunds/refunds.service.js +1 -16
- package/esm5/lib/services/shared/error-handler.service.js +19 -10
- package/fesm2015/hmcts-ccpay-web-component.js +337 -623
- package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
- package/fesm5/hmcts-ccpay-web-component.js +367 -704
- package/fesm5/hmcts-ccpay-web-component.js.map +1 -1
- package/hmcts-ccpay-web-component.d.ts +3 -4
- package/hmcts-ccpay-web-component.metadata.json +1 -1
- package/lib/components/add-remission/add-remission.component.d.ts +0 -8
- package/lib/components/case-transactions/case-transactions.component.d.ts +5 -0
- package/lib/components/pba-payment/pba-payment.component.d.ts +27 -0
- package/lib/components/process-refund/process-refund.component.d.ts +1 -0
- package/lib/components/refund-status/refund-status.component.d.ts +5 -20
- package/lib/components/service-request/service-request.component.d.ts +2 -0
- package/lib/interfaces/IserviceRequestCardPayment.d.ts +6 -0
- package/lib/interfaces/IserviceRequestPbaPayment.d.ts +7 -0
- package/lib/interfaces/PostIssueRefundRetroRemission.d.ts +1 -3
- package/lib/interfaces/PostRefundRetroRemission.d.ts +1 -3
- package/lib/payment-lib.component.d.ts +2 -1
- package/lib/payment-lib.service.d.ts +0 -3
- package/lib/services/payment-view/payment-view.service.d.ts +5 -0
- package/lib/services/refunds/refunds.service.d.ts +0 -2
- package/package.json +1 -1
- package/esm2015/lib/components/contact-details/contact-details.component.js +0 -346
- package/esm2015/lib/interfaces/IPutNotificationRequest.js +0 -25
- package/esm2015/lib/interfaces/IRefundContactDetails.js +0 -25
- package/esm2015/lib/interfaces/IRefundsNotifications.js +0 -21
- package/esm2015/lib/services/notification/notification.service.js +0 -85
- package/esm5/lib/components/contact-details/contact-details.component.js +0 -370
- package/esm5/lib/interfaces/IPutNotificationRequest.js +0 -23
- package/esm5/lib/interfaces/IRefundContactDetails.js +0 -25
- package/esm5/lib/interfaces/IRefundsNotifications.js +0 -21
- package/esm5/lib/services/notification/notification.service.js +0 -89
- package/lib/components/contact-details/contact-details.component.d.ts +0 -41
- package/lib/interfaces/IPutNotificationRequest.d.ts +0 -6
- package/lib/interfaces/IRefundContactDetails.d.ts +0 -9
- package/lib/interfaces/IRefundsNotifications.d.ts +0 -16
- package/lib/services/notification/notification.service.d.ts +0 -15
|
@@ -1,41 +0,0 @@
|
|
|
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
|
-
isEditOperation: boolean;
|
|
8
|
-
addressObj: any;
|
|
9
|
-
assignContactDetails: EventEmitter<any>;
|
|
10
|
-
redirectToIssueRefund: EventEmitter<any>;
|
|
11
|
-
pageTitle: string;
|
|
12
|
-
errorMessage: string;
|
|
13
|
-
isEmailSAddressClicked: boolean;
|
|
14
|
-
isPostcodeClicked: boolean;
|
|
15
|
-
isManualAddressClicked: boolean;
|
|
16
|
-
emailAddressForm: FormGroup;
|
|
17
|
-
postCodeForm: FormGroup;
|
|
18
|
-
manualAddressForm: FormGroup;
|
|
19
|
-
isEmailEmpty: boolean;
|
|
20
|
-
emailHasError: boolean;
|
|
21
|
-
isPostcodeEmpty: boolean;
|
|
22
|
-
postcodeHasError: boolean;
|
|
23
|
-
isaddressLine1Empty: boolean;
|
|
24
|
-
addressLine1HasError: boolean;
|
|
25
|
-
addressLine2HasError: boolean;
|
|
26
|
-
isTownOrCityEmpty: boolean;
|
|
27
|
-
townOrCityHasError: boolean;
|
|
28
|
-
isCountyEmpty: boolean;
|
|
29
|
-
countyHasError: boolean;
|
|
30
|
-
isMPostcodeEmpty: boolean;
|
|
31
|
-
mpostcodeHasError: boolean;
|
|
32
|
-
isCountryEmpty: boolean;
|
|
33
|
-
constructor(formBuilder: FormBuilder, paymentLibComponent: PaymentLibComponent);
|
|
34
|
-
ngOnInit(): void;
|
|
35
|
-
setEditDetails(): void;
|
|
36
|
-
selectContactOption(type: any, isLinkedClied: any): void;
|
|
37
|
-
finalFormSubmit(): void;
|
|
38
|
-
postcodeValidation(): void;
|
|
39
|
-
redirection(event: any): void;
|
|
40
|
-
resetForm(val: any, field: any): void;
|
|
41
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export interface IRefundsNotifications {
|
|
2
|
-
contact_details: {
|
|
3
|
-
address_line: string;
|
|
4
|
-
city: string;
|
|
5
|
-
country: string;
|
|
6
|
-
county: string;
|
|
7
|
-
date_created: string;
|
|
8
|
-
date_updated: string;
|
|
9
|
-
email: string;
|
|
10
|
-
postal_code: string;
|
|
11
|
-
};
|
|
12
|
-
date_created: string;
|
|
13
|
-
date_updated: string;
|
|
14
|
-
notification_type: string;
|
|
15
|
-
reference: string;
|
|
16
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { ErrorHandlerService } from '../shared/error-handler.service';
|
|
3
|
-
import { WebComponentHttpClient } from '../shared/httpclient/webcomponent.http.client';
|
|
4
|
-
import { PaymentLibService } from '../../payment-lib.service';
|
|
5
|
-
import { Observable } from 'rxjs/Observable';
|
|
6
|
-
import { IRefundsNotifications } from '../../interfaces/IRefundsNotifications';
|
|
7
|
-
export declare class NotificationService {
|
|
8
|
-
private http;
|
|
9
|
-
private https;
|
|
10
|
-
private errorHandlerService;
|
|
11
|
-
private paymentLibService;
|
|
12
|
-
constructor(http: HttpClient, https: WebComponentHttpClient, errorHandlerService: ErrorHandlerService, paymentLibService: PaymentLibService);
|
|
13
|
-
getRefundNotification(reference: string): Observable<IRefundsNotifications>;
|
|
14
|
-
getAddressByPostcode(postcode: string): Observable<any>;
|
|
15
|
-
}
|