@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.
Files changed (80) hide show
  1. package/bundles/hmcts-ccpay-web-component.umd.js +364 -706
  2. package/bundles/hmcts-ccpay-web-component.umd.js.map +1 -1
  3. package/bundles/hmcts-ccpay-web-component.umd.min.js +1 -1
  4. package/bundles/hmcts-ccpay-web-component.umd.min.js.map +1 -1
  5. package/esm2015/hmcts-ccpay-web-component.js +4 -5
  6. package/esm2015/lib/components/add-remission/add-remission.component.js +25 -87
  7. package/esm2015/lib/components/case-transactions/case-transactions.component.js +32 -5
  8. package/esm2015/lib/components/fee-summary/fee-summary.component.js +1 -3
  9. package/esm2015/lib/components/payment-view/payment-view.component.js +3 -4
  10. package/esm2015/lib/components/pba-payment/pba-payment.component.js +199 -0
  11. package/esm2015/lib/components/process-refund/process-refund.component.js +8 -3
  12. package/esm2015/lib/components/refund-status/refund-status.component.js +27 -145
  13. package/esm2015/lib/components/service-request/service-request.component.js +28 -9
  14. package/esm2015/lib/components/unprocessed-payments/unprocessed-payments.component.js +1 -2
  15. package/esm2015/lib/interfaces/IserviceRequestCardPayment.js +23 -0
  16. package/esm2015/lib/interfaces/IserviceRequestPbaPayment.js +28 -0
  17. package/esm2015/lib/interfaces/PostIssueRefundRetroRemission.js +2 -6
  18. package/esm2015/lib/interfaces/PostRefundRetroRemission.js +2 -6
  19. package/esm2015/lib/payment-lib.component.js +6 -8
  20. package/esm2015/lib/payment-lib.module.js +3 -5
  21. package/esm2015/lib/payment-lib.service.js +1 -16
  22. package/esm2015/lib/services/payment-view/payment-view.service.js +29 -1
  23. package/esm2015/lib/services/refunds/refunds.service.js +1 -10
  24. package/esm2015/lib/services/shared/error-handler.service.js +19 -10
  25. package/esm5/hmcts-ccpay-web-component.js +4 -5
  26. package/esm5/lib/components/add-remission/add-remission.component.js +25 -108
  27. package/esm5/lib/components/case-transactions/case-transactions.component.js +38 -5
  28. package/esm5/lib/components/fee-summary/fee-summary.component.js +1 -3
  29. package/esm5/lib/components/payment-view/payment-view.component.js +3 -4
  30. package/esm5/lib/components/pba-payment/pba-payment.component.js +216 -0
  31. package/esm5/lib/components/process-refund/process-refund.component.js +8 -3
  32. package/esm5/lib/components/refund-status/refund-status.component.js +25 -172
  33. package/esm5/lib/components/service-request/service-request.component.js +32 -9
  34. package/esm5/lib/components/unprocessed-payments/unprocessed-payments.component.js +1 -2
  35. package/esm5/lib/interfaces/IserviceRequestCardPayment.js +22 -0
  36. package/esm5/lib/interfaces/IserviceRequestPbaPayment.js +25 -0
  37. package/esm5/lib/interfaces/PostIssueRefundRetroRemission.js +2 -5
  38. package/esm5/lib/interfaces/PostRefundRetroRemission.js +2 -5
  39. package/esm5/lib/payment-lib.component.js +4 -7
  40. package/esm5/lib/payment-lib.module.js +3 -5
  41. package/esm5/lib/payment-lib.service.js +1 -23
  42. package/esm5/lib/services/payment-view/payment-view.service.js +42 -1
  43. package/esm5/lib/services/refunds/refunds.service.js +1 -16
  44. package/esm5/lib/services/shared/error-handler.service.js +19 -10
  45. package/fesm2015/hmcts-ccpay-web-component.js +337 -623
  46. package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
  47. package/fesm5/hmcts-ccpay-web-component.js +367 -704
  48. package/fesm5/hmcts-ccpay-web-component.js.map +1 -1
  49. package/hmcts-ccpay-web-component.d.ts +3 -4
  50. package/hmcts-ccpay-web-component.metadata.json +1 -1
  51. package/lib/components/add-remission/add-remission.component.d.ts +0 -8
  52. package/lib/components/case-transactions/case-transactions.component.d.ts +5 -0
  53. package/lib/components/pba-payment/pba-payment.component.d.ts +27 -0
  54. package/lib/components/process-refund/process-refund.component.d.ts +1 -0
  55. package/lib/components/refund-status/refund-status.component.d.ts +5 -20
  56. package/lib/components/service-request/service-request.component.d.ts +2 -0
  57. package/lib/interfaces/IserviceRequestCardPayment.d.ts +6 -0
  58. package/lib/interfaces/IserviceRequestPbaPayment.d.ts +7 -0
  59. package/lib/interfaces/PostIssueRefundRetroRemission.d.ts +1 -3
  60. package/lib/interfaces/PostRefundRetroRemission.d.ts +1 -3
  61. package/lib/payment-lib.component.d.ts +2 -1
  62. package/lib/payment-lib.service.d.ts +0 -3
  63. package/lib/services/payment-view/payment-view.service.d.ts +5 -0
  64. package/lib/services/refunds/refunds.service.d.ts +0 -2
  65. package/package.json +1 -1
  66. package/esm2015/lib/components/contact-details/contact-details.component.js +0 -346
  67. package/esm2015/lib/interfaces/IPutNotificationRequest.js +0 -25
  68. package/esm2015/lib/interfaces/IRefundContactDetails.js +0 -25
  69. package/esm2015/lib/interfaces/IRefundsNotifications.js +0 -21
  70. package/esm2015/lib/services/notification/notification.service.js +0 -85
  71. package/esm5/lib/components/contact-details/contact-details.component.js +0 -370
  72. package/esm5/lib/interfaces/IPutNotificationRequest.js +0 -23
  73. package/esm5/lib/interfaces/IRefundContactDetails.js +0 -25
  74. package/esm5/lib/interfaces/IRefundsNotifications.js +0 -21
  75. package/esm5/lib/services/notification/notification.service.js +0 -89
  76. package/lib/components/contact-details/contact-details.component.d.ts +0 -41
  77. package/lib/interfaces/IPutNotificationRequest.d.ts +0 -6
  78. package/lib/interfaces/IRefundContactDetails.d.ts +0 -9
  79. package/lib/interfaces/IRefundsNotifications.d.ts +0 -16
  80. 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,6 +0,0 @@
1
- import { IRefundContactDetails } from './IRefundContactDetails';
2
- export declare class IPutNotificationRequest {
3
- recipient_email_address?: string;
4
- recipient_postal_address?: IRefundContactDetails;
5
- constructor(contactDetails: any, notificationType: string);
6
- }
@@ -1,9 +0,0 @@
1
- export interface IRefundContactDetails {
2
- address_line?: string;
3
- city?: string;
4
- country?: string;
5
- county?: string;
6
- email?: string;
7
- notification_type?: string;
8
- postal_code?: string;
9
- }
@@ -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
- }