@hmcts/ccpay-web-component 5.0.2-beta67 → 5.0.2-beta70
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 +328 -158
- 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/lib/components/add-remission/add-remission.component.js +170 -131
- package/esm2015/lib/components/case-transactions/case-transactions.component.js +11 -2
- package/esm2015/lib/components/payment-view/payment-view.component.js +140 -9
- package/esm2015/lib/components/process-refund/process-refund.component.js +4 -10
- package/esm2015/lib/components/service-request/service-request.component.js +2 -1
- package/esm2015/lib/components/table/table.component.js +3 -3
- package/esm2015/lib/interfaces/IFee.js +3 -1
- package/esm2015/lib/interfaces/IPayment.js +3 -1
- package/esm2015/lib/interfaces/IRemission.js +3 -1
- package/esm2015/lib/payment-lib.service.js +1 -1
- package/esm2015/lib/services/shared/httpclient/webcomponent.http.client.js +1 -1
- package/esm5/lib/components/add-remission/add-remission.component.js +174 -131
- package/esm5/lib/components/case-transactions/case-transactions.component.js +11 -2
- package/esm5/lib/components/payment-view/payment-view.component.js +168 -9
- package/esm5/lib/components/process-refund/process-refund.component.js +4 -13
- package/esm5/lib/components/service-request/service-request.component.js +2 -1
- package/esm5/lib/components/table/table.component.js +3 -3
- package/esm5/lib/interfaces/IFee.js +3 -1
- package/esm5/lib/interfaces/IPayment.js +3 -1
- package/esm5/lib/interfaces/IRemission.js +3 -1
- package/esm5/lib/payment-lib.service.js +1 -1
- package/esm5/lib/services/shared/httpclient/webcomponent.http.client.js +1 -1
- package/fesm2015/hmcts-ccpay-web-component.js +312 -169
- package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
- package/fesm5/hmcts-ccpay-web-component.js +338 -166
- package/fesm5/hmcts-ccpay-web-component.js.map +1 -1
- package/hmcts-ccpay-web-component.metadata.json +1 -1
- package/lib/components/add-remission/add-remission.component.d.ts +7 -3
- package/lib/components/case-transactions/case-transactions.component.d.ts +1 -0
- package/lib/components/payment-view/payment-view.component.d.ts +18 -0
- package/lib/components/process-refund/process-refund.component.d.ts +1 -2
- package/lib/interfaces/IFee.d.ts +1 -0
- package/lib/interfaces/IPayment.d.ts +1 -0
- package/lib/interfaces/IRemission.d.ts +1 -0
- package/package.json +5 -1
|
@@ -4,6 +4,7 @@ import { IFee } from '../../interfaces/IFee';
|
|
|
4
4
|
import { Router } from '@angular/router';
|
|
5
5
|
import { PaymentViewService } from '../../services/payment-view/payment-view.service';
|
|
6
6
|
import { PaymentLibComponent } from '../../payment-lib.component';
|
|
7
|
+
import { PaymentViewComponent } from '../payment-view/payment-view.component';
|
|
7
8
|
import { IPayment } from '../../interfaces/IPayment';
|
|
8
9
|
import { RefundsService } from '../../services/refunds/refunds.service';
|
|
9
10
|
import { IRefundReasons } from '../../interfaces/IRefundReasons';
|
|
@@ -17,6 +18,7 @@ export declare class AddRemissionComponent implements OnInit {
|
|
|
17
18
|
private router;
|
|
18
19
|
private paymentViewService;
|
|
19
20
|
private paymentLibComponent;
|
|
21
|
+
private PaymentViewComponent;
|
|
20
22
|
private refundService;
|
|
21
23
|
private cd;
|
|
22
24
|
private OrderslistService;
|
|
@@ -37,6 +39,7 @@ export declare class AddRemissionComponent implements OnInit {
|
|
|
37
39
|
isFromRefundListPage: boolean;
|
|
38
40
|
isFromPaymentDetailPage: boolean;
|
|
39
41
|
isFromServiceRequestPage: boolean;
|
|
42
|
+
isFullyRefund: boolean;
|
|
40
43
|
feeamount: number;
|
|
41
44
|
refundPaymentReference: string;
|
|
42
45
|
isFromRefundStatusPage: boolean;
|
|
@@ -142,8 +145,9 @@ export declare class AddRemissionComponent implements OnInit {
|
|
|
142
145
|
site_id: string;
|
|
143
146
|
status: string;
|
|
144
147
|
};
|
|
145
|
-
constructor(formBuilder: FormBuilder, router: Router, paymentViewService: PaymentViewService, paymentLibComponent: PaymentLibComponent, refundService: RefundsService, cd: ChangeDetectorRef, OrderslistService: OrderslistService);
|
|
148
|
+
constructor(formBuilder: FormBuilder, router: Router, paymentViewService: PaymentViewService, paymentLibComponent: PaymentLibComponent, PaymentViewComponent: PaymentViewComponent, refundService: RefundsService, cd: ChangeDetectorRef, OrderslistService: OrderslistService);
|
|
146
149
|
ngOnInit(): void;
|
|
150
|
+
goToPaymentViewComponent(): void;
|
|
147
151
|
refundFeesList(): void;
|
|
148
152
|
readonly feesList: FormArray;
|
|
149
153
|
noneSelected(): boolean;
|
|
@@ -161,13 +165,13 @@ export declare class AddRemissionComponent implements OnInit {
|
|
|
161
165
|
processRefund(): void;
|
|
162
166
|
gotoIssueRefundConfirmation(payment: IPayment): void;
|
|
163
167
|
gotoIssueRefundPage(): void;
|
|
164
|
-
gotoIssuePage(): void;
|
|
168
|
+
gotoIssuePage(isFullyRefund: any): void;
|
|
165
169
|
calAmtToRefund(value: any, amount: any, volume: any, i: any): void;
|
|
166
170
|
gotoContactDetailsPage(note?: IRefundContactDetails): void;
|
|
167
171
|
getRefundReasons(): void;
|
|
168
172
|
getErrorClass(elementId: any): void;
|
|
169
173
|
changeIssueRefundReason(): void;
|
|
170
|
-
confirmIssueRefund(): void;
|
|
174
|
+
confirmIssueRefund(isFullyRefund: any): void;
|
|
171
175
|
gotoRefundReasonPage(): void;
|
|
172
176
|
selectRadioButton(key: any, value: any): void;
|
|
173
177
|
selectchange(args: any): void;
|
|
@@ -56,6 +56,7 @@ export declare class CaseTransactionsComponent implements OnInit {
|
|
|
56
56
|
isRemoveBtnDisabled: boolean;
|
|
57
57
|
feeId: IFee;
|
|
58
58
|
clAmountDue: number;
|
|
59
|
+
overPaymentAmount: number;
|
|
59
60
|
unprocessedRecordCount: number;
|
|
60
61
|
isFeeRecordsExist: boolean;
|
|
61
62
|
isGrpOutstandingAmtPositive: boolean;
|
|
@@ -7,6 +7,7 @@ import { IPayment } from '../../interfaces/IPayment';
|
|
|
7
7
|
import { IRemission } from '../../interfaces/IRemission';
|
|
8
8
|
import { ChangeDetectorRef } from '@angular/core';
|
|
9
9
|
import { OrderslistService } from '../../services/orderslist.service';
|
|
10
|
+
import { IRefundContactDetails } from '../../interfaces/IRefundContactDetails';
|
|
10
11
|
export declare class PaymentViewComponent implements OnInit {
|
|
11
12
|
private paymentViewService;
|
|
12
13
|
private paymentLibComponent;
|
|
@@ -28,6 +29,8 @@ export declare class PaymentViewComponent implements OnInit {
|
|
|
28
29
|
orderFeesTotal: number;
|
|
29
30
|
orderRemissionTotal: number;
|
|
30
31
|
orderDetail: any[];
|
|
32
|
+
fees: any;
|
|
33
|
+
isFullyRefund: boolean;
|
|
31
34
|
isServiceRequest: string;
|
|
32
35
|
paymentGroup: IPaymentGroup;
|
|
33
36
|
errorMessage: string;
|
|
@@ -50,6 +53,14 @@ export declare class PaymentViewComponent implements OnInit {
|
|
|
50
53
|
isFromServiceRequestPage: boolean;
|
|
51
54
|
isFromPaymentDetailPage: boolean;
|
|
52
55
|
paymentFees: IFee[];
|
|
56
|
+
paymentType: string;
|
|
57
|
+
isContinueBtnDisabled: boolean;
|
|
58
|
+
viewCompStatus: string;
|
|
59
|
+
contactDetailsObj: IRefundContactDetails;
|
|
60
|
+
notification: any;
|
|
61
|
+
isConfirmationBtnDisabled: boolean;
|
|
62
|
+
refundReference: string;
|
|
63
|
+
refundAmount: string;
|
|
53
64
|
constructor(paymentViewService: PaymentViewService, paymentLibComponent: PaymentLibComponent, cd: ChangeDetectorRef, OrderslistService: OrderslistService);
|
|
54
65
|
ngAfterContentChecked(): void;
|
|
55
66
|
ngOnInit(): void;
|
|
@@ -60,11 +71,18 @@ export declare class PaymentViewComponent implements OnInit {
|
|
|
60
71
|
goToCaseTransationPage(event: any): void;
|
|
61
72
|
addRemission(fee: IFee): void;
|
|
62
73
|
checkForFees(paymentGroup: any): boolean;
|
|
74
|
+
processRefund(): void;
|
|
75
|
+
gotoAddressPage(note?: IRefundContactDetails): void;
|
|
63
76
|
addRefundForRemission(payment: IPayment, remission: IRemission[], fees: any): void;
|
|
77
|
+
goToPaymentViewComponent(paymentgrp: IPaymentGroup): void;
|
|
64
78
|
issueRefund(paymentgrp: IPaymentGroup): void;
|
|
65
79
|
getRemissionByFeeCode(feeCode: string, remissions: IRemission[]): IRemission;
|
|
66
80
|
chkIsIssueRefundBtnEnable(payment: IPayment): boolean;
|
|
67
81
|
chkIsAddRefundBtnEnable(remission: IRemission): boolean;
|
|
68
82
|
chkIsAddRemissionBtnEnable(fee: IFee): boolean;
|
|
83
|
+
selectPymentOption(paymentType: string): void;
|
|
84
|
+
continuePayment(paymentgrp: IPaymentGroup): void;
|
|
85
|
+
gotoPaymentSelectPage(event: Event): void;
|
|
86
|
+
getContactDetails(obj: IRefundContactDetails): void;
|
|
69
87
|
resetOrderData(): void;
|
|
70
88
|
}
|
|
@@ -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;
|
|
46
47
|
cpoDetails: any;
|
|
47
48
|
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;
|
|
@@ -60,5 +60,4 @@ export declare class ProcessRefundComponent implements OnInit {
|
|
|
60
60
|
loadRefundsHomePage(): void;
|
|
61
61
|
redirecttoRefundListPage(): void;
|
|
62
62
|
resetForm(vals: any, field: any): void;
|
|
63
|
-
goToCaseReview(): void;
|
|
64
63
|
}
|
package/lib/interfaces/IFee.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hmcts/ccpay-web-component",
|
|
3
|
-
"version": "5.0.2-
|
|
3
|
+
"version": "5.0.2-beta70",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -17,6 +17,10 @@
|
|
|
17
17
|
"name": "Santosh Govindu",
|
|
18
18
|
"email": "santosh.govindu@hmcts.net"
|
|
19
19
|
},
|
|
20
|
+
{
|
|
21
|
+
"name": "Kumar dhanasamy",
|
|
22
|
+
"email": "kumar.dhanasamy@hmcts.net"
|
|
23
|
+
},
|
|
20
24
|
{
|
|
21
25
|
"name": "Tarun Palisetty",
|
|
22
26
|
"email": "tarun.palisetty@hmcts.net"
|