@hmcts/ccpay-web-component 5.0.2-beta100 → 5.0.2-beta104
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 +157 -7
- 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/service-request/service-request.component.js +159 -9
- package/esm5/lib/components/service-request/service-request.component.js +188 -9
- package/fesm2015/hmcts-ccpay-web-component.js +132 -8
- package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
- package/fesm5/hmcts-ccpay-web-component.js +161 -8
- package/fesm5/hmcts-ccpay-web-component.js.map +1 -1
- package/hmcts-ccpay-web-component.metadata.json +1 -1
- package/lib/components/service-request/service-request.component.d.ts +23 -3
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OnInit, EventEmitter } from '@angular/core';
|
|
1
|
+
import { OnInit, EventEmitter, ChangeDetectorRef } from '@angular/core';
|
|
2
2
|
import { PaymentLibComponent } from '../../payment-lib.component';
|
|
3
3
|
import { IPayment } from '../../interfaces/IPayment';
|
|
4
4
|
import { IRemission } from '../../interfaces/IRemission';
|
|
@@ -9,10 +9,12 @@ import { IPaymentGroup } from '../../interfaces/IPaymentGroup';
|
|
|
9
9
|
import { Router } from '@angular/router';
|
|
10
10
|
import { PaymentViewService } from '../../services/payment-view/payment-view.service';
|
|
11
11
|
import { OrderslistService } from '../../services/orderslist.service';
|
|
12
|
+
import { IRefundContactDetails } from '../../interfaces/IRefundContactDetails';
|
|
12
13
|
export declare class ServiceRequestComponent implements OnInit {
|
|
13
14
|
private paymentLibComponent;
|
|
14
15
|
private paymentViewService;
|
|
15
16
|
private OrderslistService;
|
|
17
|
+
private cd;
|
|
16
18
|
private router;
|
|
17
19
|
LOGGEDINUSERROLES: string[];
|
|
18
20
|
viewStatus: string;
|
|
@@ -29,14 +31,16 @@ export declare class ServiceRequestComponent implements OnInit {
|
|
|
29
31
|
ccdCaseNumber: boolean;
|
|
30
32
|
isServiceRequest: string;
|
|
31
33
|
goToServiceRquestComponent: EventEmitter<any>;
|
|
34
|
+
viewCompStatus: any;
|
|
32
35
|
servicerequest: string;
|
|
36
|
+
paymentType: string;
|
|
33
37
|
excReference: string;
|
|
34
38
|
paymentGroups: any[];
|
|
35
39
|
payments: IPayment[];
|
|
36
40
|
nonPayments: IPayment[];
|
|
37
41
|
allPayments: IPayment[];
|
|
38
42
|
remissions: IRemission[];
|
|
39
|
-
fees:
|
|
43
|
+
fees: any;
|
|
40
44
|
errorMessage: string;
|
|
41
45
|
totalFees: number;
|
|
42
46
|
totalPayments: number;
|
|
@@ -66,6 +70,9 @@ export declare class ServiceRequestComponent implements OnInit {
|
|
|
66
70
|
isGrpOutstandingAmtPositive: boolean;
|
|
67
71
|
totalRefundAmount: Number;
|
|
68
72
|
caseType: String;
|
|
73
|
+
isConfirmationBtnDisabled: boolean;
|
|
74
|
+
refundReference: string;
|
|
75
|
+
refundAmount: string;
|
|
69
76
|
payment: IPayment;
|
|
70
77
|
paymentGroup: IPaymentGroup;
|
|
71
78
|
paymentView: IPaymentView;
|
|
@@ -75,6 +82,9 @@ export declare class ServiceRequestComponent implements OnInit {
|
|
|
75
82
|
cpoDetails: any;
|
|
76
83
|
serviceRequestValue: string;
|
|
77
84
|
orderAddBtnEnable: boolean;
|
|
85
|
+
isFromPaymentDetailPage: boolean;
|
|
86
|
+
contactDetailsObj: IRefundContactDetails;
|
|
87
|
+
notification: any;
|
|
78
88
|
isCPODown: boolean;
|
|
79
89
|
test: boolean;
|
|
80
90
|
isPBA: boolean;
|
|
@@ -85,7 +95,9 @@ export declare class ServiceRequestComponent implements OnInit {
|
|
|
85
95
|
isFromServiceRequestPage: boolean;
|
|
86
96
|
navigationpage: string;
|
|
87
97
|
remissionFeeAmt: number;
|
|
88
|
-
|
|
98
|
+
isContinueBtnDisabled: boolean;
|
|
99
|
+
isFullyRefund: boolean;
|
|
100
|
+
constructor(paymentLibComponent: PaymentLibComponent, paymentViewService: PaymentViewService, OrderslistService: OrderslistService, cd: ChangeDetectorRef, router: Router);
|
|
89
101
|
ngOnInit(): void;
|
|
90
102
|
goToServiceRequestPage(): void;
|
|
91
103
|
goToCaseTransationPage(event: any): void;
|
|
@@ -100,4 +112,12 @@ export declare class ServiceRequestComponent implements OnInit {
|
|
|
100
112
|
chkIsAddRefundBtnEnable(remission: IRemission): boolean;
|
|
101
113
|
chkIsAddRemissionBtnEnable(fee: IFee): boolean;
|
|
102
114
|
resetOrderData(): void;
|
|
115
|
+
selectPymentOption(paymentType: string): void;
|
|
116
|
+
goToPaymentViewComp(): void;
|
|
117
|
+
continuePayment(paymentgrp: IPaymentGroup): void;
|
|
118
|
+
getContactDetails(obj: IRefundContactDetails): void;
|
|
119
|
+
gotoPaymentSelectPage(event: Event): void;
|
|
120
|
+
gotoAddressPage(note?: IRefundContactDetails): void;
|
|
121
|
+
processRefund(): void;
|
|
122
|
+
getOverPaymentValue(): number;
|
|
103
123
|
}
|