@hmcts/ccpay-web-component 5.0.1-beta110 → 5.0.1-beta111

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 (44) hide show
  1. package/bundles/hmcts-ccpay-web-component.umd.js +180 -493
  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 +30 -30
  6. package/esm2015/lib/components/add-remission/add-remission.component.js +41 -351
  7. package/esm2015/lib/components/case-transactions/case-transactions.component.js +2 -3
  8. package/esm2015/lib/components/contact-details/contact-details.component.js +28 -3
  9. package/esm2015/lib/components/fee-summary/fee-summary.component.js +1 -3
  10. package/esm2015/lib/components/payment-view/payment-view.component.js +3 -6
  11. package/esm2015/lib/components/pba-payment/pba-payment.component.js +10 -4
  12. package/esm2015/lib/components/process-refund/process-refund.component.js +5 -8
  13. package/esm2015/lib/components/service-request/service-request.component.js +2 -2
  14. package/esm2015/lib/components/unprocessed-payments/unprocessed-payments.component.js +1 -2
  15. package/esm2015/lib/interfaces/PostRefundRetroRemission.js +4 -16
  16. package/esm2015/lib/services/notification/notification.service.js +2 -2
  17. package/esm2015/lib/services/payment-view/payment-view.service.js +1 -1
  18. package/esm5/hmcts-ccpay-web-component.js +30 -30
  19. package/esm5/lib/components/add-remission/add-remission.component.js +48 -427
  20. package/esm5/lib/components/case-transactions/case-transactions.component.js +2 -3
  21. package/esm5/lib/components/contact-details/contact-details.component.js +28 -3
  22. package/esm5/lib/components/fee-summary/fee-summary.component.js +1 -3
  23. package/esm5/lib/components/payment-view/payment-view.component.js +3 -6
  24. package/esm5/lib/components/pba-payment/pba-payment.component.js +10 -4
  25. package/esm5/lib/components/process-refund/process-refund.component.js +5 -8
  26. package/esm5/lib/components/service-request/service-request.component.js +2 -2
  27. package/esm5/lib/components/unprocessed-payments/unprocessed-payments.component.js +1 -2
  28. package/esm5/lib/interfaces/PostRefundRetroRemission.js +3 -12
  29. package/esm5/lib/services/notification/notification.service.js +2 -2
  30. package/esm5/lib/services/payment-view/payment-view.service.js +1 -1
  31. package/fesm2015/hmcts-ccpay-web-component.js +144 -402
  32. package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
  33. package/fesm5/hmcts-ccpay-web-component.js +150 -476
  34. package/fesm5/hmcts-ccpay-web-component.js.map +1 -1
  35. package/hmcts-ccpay-web-component.d.ts +29 -29
  36. package/hmcts-ccpay-web-component.metadata.json +1 -1
  37. package/lib/components/add-remission/add-remission.component.d.ts +2 -22
  38. package/lib/components/contact-details/contact-details.component.d.ts +4 -1
  39. package/lib/components/payment-view/payment-view.component.d.ts +0 -1
  40. package/lib/components/pba-payment/pba-payment.component.d.ts +1 -0
  41. package/lib/components/process-refund/process-refund.component.d.ts +1 -1
  42. package/lib/interfaces/PostRefundRetroRemission.d.ts +2 -5
  43. package/lib/services/payment-view/payment-view.service.d.ts +2 -1
  44. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  import { OnInit, EventEmitter } from '@angular/core';
2
- import { FormBuilder, FormGroup, FormArray } from '@angular/forms';
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;
@@ -93,7 +91,6 @@ export declare class AddRemissionComponent implements OnInit {
93
91
  isPaymentSuccess: boolean;
94
92
  isRemissionApplied: boolean;
95
93
  remissionamt: number;
96
- elementId: any;
97
94
  commonRefundReasons: any[];
98
95
  showReasonText: boolean;
99
96
  isRefundReasonsSelected: boolean;
@@ -104,17 +101,6 @@ export declare class AddRemissionComponent implements OnInit {
104
101
  pattern2: string;
105
102
  sendOrderDetail: any[];
106
103
  sendOrderRef: string;
107
- paymentReference: string;
108
- class: string;
109
- errorMsg: any[];
110
- totalRefundAmount: number;
111
- quantityUpdated: number;
112
- fullRefund: boolean;
113
- allowedRefundAmount: number;
114
- isRemissionsMatch: boolean;
115
- paymentFees: IFee[];
116
- paymentGroup: IPaymentGroup;
117
- isStatusAllocated: boolean;
118
104
  component: {
119
105
  account_number: string;
120
106
  amount: number;
@@ -136,10 +122,6 @@ export declare class AddRemissionComponent implements OnInit {
136
122
  };
137
123
  constructor(formBuilder: FormBuilder, router: Router, paymentViewService: PaymentViewService, paymentLibComponent: PaymentLibComponent, refundService: RefundsService, cd: ChangeDetectorRef, OrderslistService: OrderslistService);
138
124
  ngOnInit(): void;
139
- refundFeesList(): void;
140
- readonly feesList: FormArray;
141
- noneSelected(): boolean;
142
- check_en(v1: any): void;
143
125
  addRemission(): void;
144
126
  confirmRemission(): void;
145
127
  resetRemissionForm(val: any, field: any): void;
@@ -153,12 +135,10 @@ export declare class AddRemissionComponent implements OnInit {
153
135
  processRefund(): void;
154
136
  gotoIssueRefundConfirmation(payment: IPayment): void;
155
137
  gotoIssueRefundPage(): void;
156
- gotoIssuePage(): void;
157
138
  gotoContactDetailsPage(): void;
158
- getRefundReasons(): void;
159
- getErrorClass(elementId: any): void;
160
139
  changeIssueRefundReason(): void;
161
140
  confirmIssueRefund(): void;
141
+ confirmRetroRefund(): void;
162
142
  selectRadioButton(key: any, value: any): void;
163
143
  selectchange(args: any): void;
164
144
  getContactDetails(obj: IRefundContactDetails, type: any): void;
@@ -1,8 +1,10 @@
1
1
  import { OnInit, EventEmitter } from '@angular/core';
2
2
  import { FormBuilder, FormGroup } from '@angular/forms';
3
3
  import { PaymentLibComponent } from '../../payment-lib.component';
4
+ import { NotificationService } from '../../services/notification/notification.service';
4
5
  export declare class ContactDetailsComponent implements OnInit {
5
6
  private formBuilder;
7
+ private notificationService;
6
8
  private paymentLibComponent;
7
9
  isEditOperation: boolean;
8
10
  addressObj: any;
@@ -16,6 +18,7 @@ export declare class ContactDetailsComponent implements OnInit {
16
18
  emailAddressForm: FormGroup;
17
19
  postCodeForm: FormGroup;
18
20
  manualAddressForm: FormGroup;
21
+ addressPostcodeList: any[];
19
22
  isEmailEmpty: boolean;
20
23
  emailHasError: boolean;
21
24
  isPostcodeEmpty: boolean;
@@ -30,7 +33,7 @@ export declare class ContactDetailsComponent implements OnInit {
30
33
  isMPostcodeEmpty: boolean;
31
34
  mpostcodeHasError: boolean;
32
35
  isCountryEmpty: boolean;
33
- constructor(formBuilder: FormBuilder, paymentLibComponent: PaymentLibComponent);
36
+ constructor(formBuilder: FormBuilder, notificationService: NotificationService, paymentLibComponent: PaymentLibComponent);
34
37
  ngOnInit(): void;
35
38
  setEditDetails(): void;
36
39
  selectContactOption(type: any, isLinkedClied: any): void;
@@ -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;
@@ -7,6 +7,7 @@ export declare class PbaPaymentComponent implements OnInit {
7
7
  pbaPayOrderRef: any;
8
8
  viewStatus: string;
9
9
  pbaAccountList: string[];
10
+ isPBAAccountHold: boolean;
10
11
  errorMsg: any;
11
12
  isCardPaymentSuccess: boolean;
12
13
  isInSufficiantFund: boolean;
@@ -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;
@@ -1,10 +1,7 @@
1
- import { IRefundContactDetails } from "./IRefundContactDetails";
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(ccd_case_number: string, payment_reference: string, refund_reason: string, refund_amount: any, fees: any[], contact_details: any);
6
+ constructor(payment_reference: string, refund_reason: string, contactDeatils: any);
10
7
  }
@@ -19,6 +19,7 @@ import { IserviceRequestPbaPayment } from '../../interfaces/IserviceRequestPbaPa
19
19
  import { IserviceRequestCardPayment } from '../../interfaces/IserviceRequestCardPayment';
20
20
  import { AddRetroRemissionRequest } from '../../interfaces/AddRetroRemissionRequest';
21
21
  import { PostRefundRetroRemission } from '../../interfaces/PostRefundRetroRemission';
22
+ import { PostIssueRefundRetroRemission } from '../../interfaces/PostIssueRefundRetroRemission';
22
23
  export declare class PaymentViewService {
23
24
  private http;
24
25
  private https;
@@ -50,5 +51,5 @@ export declare class PaymentViewService {
50
51
  getOrdersList(): BehaviorSubject<IOrderReferenceFee[]>;
51
52
  postRefundsReason(body: PostRefundRetroRemission): Observable<any>;
52
53
  postPaymentGroupWithRetroRemissions(paymentGroupReference: string, feeId: number, body: AddRetroRemissionRequest): Observable<any>;
53
- postRefundRetroRemission(body: PostRefundRetroRemission): Observable<any>;
54
+ postRefundRetroRemission(body: PostIssueRefundRetroRemission): Observable<any>;
54
55
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hmcts/ccpay-web-component",
3
- "version": "5.0.1-beta110",
3
+ "version": "5.0.1-beta111",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },