@hmcts/ccpay-web-component 5.0.4-beta18 → 5.0.4-beta22
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 +24 -91
- 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/case-transactions/case-transactions.component.js +5 -6
- package/esm2015/lib/components/payment-view/payment-view.component.js +3 -53
- package/esm2015/lib/components/refund-status/refund-status.component.js +22 -29
- package/esm2015/lib/services/payment-view/payment-view.service.js +1 -10
- package/esm5/lib/components/case-transactions/case-transactions.component.js +5 -6
- package/esm5/lib/components/payment-view/payment-view.component.js +3 -61
- package/esm5/lib/components/refund-status/refund-status.component.js +22 -32
- package/esm5/lib/services/payment-view/payment-view.service.js +1 -14
- package/fesm2015/hmcts-ccpay-web-component.js +25 -82
- package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
- package/fesm5/hmcts-ccpay-web-component.js +25 -97
- package/fesm5/hmcts-ccpay-web-component.js.map +1 -1
- package/hmcts-ccpay-web-component.metadata.json +1 -1
- package/lib/components/case-transactions/case-transactions.component.d.ts +0 -1
- package/lib/components/payment-view/payment-view.component.d.ts +0 -6
- package/lib/components/refund-status/refund-status.component.d.ts +1 -2
- package/lib/services/payment-view/payment-view.service.d.ts +0 -1
- package/package.json +1 -1
- package/esm2015/lib/interfaces/IPaymentFailure.js +0 -31
- package/esm5/lib/interfaces/IPaymentFailure.js +0 -31
- package/lib/interfaces/IPaymentFailure.d.ts +0 -12
|
@@ -6,7 +6,6 @@ import { IFee } from '../../interfaces/IFee';
|
|
|
6
6
|
import { IPayment } from '../../interfaces/IPayment';
|
|
7
7
|
import { IRemission } from '../../interfaces/IRemission';
|
|
8
8
|
import { ChangeDetectorRef } from '@angular/core';
|
|
9
|
-
import { IPaymentFailure } from '../../interfaces/IPaymentFailure';
|
|
10
9
|
import { OrderslistService } from '../../services/orderslist.service';
|
|
11
10
|
export declare class PaymentViewComponent implements OnInit {
|
|
12
11
|
private paymentViewService;
|
|
@@ -30,7 +29,6 @@ export declare class PaymentViewComponent implements OnInit {
|
|
|
30
29
|
orderRemissionTotal: number;
|
|
31
30
|
orderDetail: any[];
|
|
32
31
|
isServiceRequest: string;
|
|
33
|
-
errorMsg: string;
|
|
34
32
|
paymentGroup: IPaymentGroup;
|
|
35
33
|
errorMessage: string;
|
|
36
34
|
ccdCaseNumber: string;
|
|
@@ -46,8 +44,6 @@ export declare class PaymentViewComponent implements OnInit {
|
|
|
46
44
|
isIssueRefunfBtnEnable: boolean;
|
|
47
45
|
allowedRolesToAccessRefund: string[];
|
|
48
46
|
remissions: IRemission[];
|
|
49
|
-
allPaymentsFailure: IPaymentFailure[];
|
|
50
|
-
selectedPaymentsStatus: IPaymentFailure;
|
|
51
47
|
remissionFeeAmt: number;
|
|
52
48
|
isRefundRemissionBtnEnable: boolean;
|
|
53
49
|
serviceReference: string;
|
|
@@ -73,6 +69,4 @@ export declare class PaymentViewComponent implements OnInit {
|
|
|
73
69
|
check4AllowedRoles2AccessRefund: () => boolean;
|
|
74
70
|
allowFurtherAccessAfter4Days: (payment: IPayment) => boolean;
|
|
75
71
|
resetOrderData(): void;
|
|
76
|
-
goToPaymentFailuePage(payment: any): void;
|
|
77
|
-
goBackToPaymentView(event: any): void;
|
|
78
72
|
}
|
|
@@ -19,6 +19,7 @@ export declare class RefundStatusComponent implements OnInit {
|
|
|
19
19
|
isNewPcipalOff: boolean;
|
|
20
20
|
ccdCaseNumber: string;
|
|
21
21
|
isTurnOff: boolean;
|
|
22
|
+
isEliginbleToAccess: boolean;
|
|
22
23
|
refundStatusForm: FormGroup;
|
|
23
24
|
selectedRefundReason: string;
|
|
24
25
|
rejectedRefundList: IRefundList[];
|
|
@@ -48,10 +49,8 @@ export declare class RefundStatusComponent implements OnInit {
|
|
|
48
49
|
isLastUpdatedByCurrentUser: boolean;
|
|
49
50
|
isProcessRefund: boolean;
|
|
50
51
|
changedAmount: number;
|
|
51
|
-
allowedRolesToAccessRefund: string[];
|
|
52
52
|
constructor(formBuilder: FormBuilder, refundService: RefundsService, paymentLibComponent: PaymentLibComponent, paymentViewService: PaymentViewService, router: Router, OrderslistService: OrderslistService);
|
|
53
53
|
ngOnInit(): void;
|
|
54
|
-
check4AllowedRoles2AccessRefund: () => boolean;
|
|
55
54
|
getRefundsStatusHistoryList(): void;
|
|
56
55
|
goToRefundView(refundlist: IRefundList, navigationpage: string): void;
|
|
57
56
|
loadCaseTransactionPage(): void;
|
|
@@ -52,5 +52,4 @@ export declare class PaymentViewService {
|
|
|
52
52
|
postRefundsReason(body: PostRefundRetroRemission): Observable<any>;
|
|
53
53
|
postPaymentGroupWithRetroRemissions(paymentGroupReference: string, feeId: number, body: AddRetroRemissionRequest): Observable<any>;
|
|
54
54
|
postRefundRetroRemission(body: PostIssueRefundRetroRemission): Observable<any>;
|
|
55
|
-
getPaymentFailure(paymentReference: string): Observable<any>;
|
|
56
55
|
}
|
package/package.json
CHANGED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview added by tsickle
|
|
3
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @record
|
|
7
|
-
*/
|
|
8
|
-
export function IPaymentFailure() { }
|
|
9
|
-
if (false) {
|
|
10
|
-
/** @type {?} */
|
|
11
|
-
IPaymentFailure.prototype.additional_reference;
|
|
12
|
-
/** @type {?} */
|
|
13
|
-
IPaymentFailure.prototype.disputed_amount;
|
|
14
|
-
/** @type {?} */
|
|
15
|
-
IPaymentFailure.prototype.failure_event_date_time;
|
|
16
|
-
/** @type {?} */
|
|
17
|
-
IPaymentFailure.prototype.failure_reason;
|
|
18
|
-
/** @type {?} */
|
|
19
|
-
IPaymentFailure.prototype.failure_reference;
|
|
20
|
-
/** @type {?} */
|
|
21
|
-
IPaymentFailure.prototype.failure_type;
|
|
22
|
-
/** @type {?} */
|
|
23
|
-
IPaymentFailure.prototype.payment_reference;
|
|
24
|
-
/** @type {?} */
|
|
25
|
-
IPaymentFailure.prototype.representment_date;
|
|
26
|
-
/** @type {?} */
|
|
27
|
-
IPaymentFailure.prototype.representment_status;
|
|
28
|
-
/** @type {?} */
|
|
29
|
-
IPaymentFailure.prototype.status;
|
|
30
|
-
}
|
|
31
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiSVBheW1lbnRGYWlsdXJlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGhtY3RzL2NjcGF5LXdlYi1jb21wb25lbnQvIiwic291cmNlcyI6WyJsaWIvaW50ZXJmYWNlcy9JUGF5bWVudEZhaWx1cmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQUFBLHFDQVdDOzs7SUFWQywrQ0FBNkI7O0lBQzdCLDBDQUF3Qjs7SUFDeEIsa0RBQWdDOztJQUNoQyx5Q0FBdUI7O0lBQ3ZCLDRDQUEwQjs7SUFDMUIsdUNBQXFCOztJQUNyQiw0Q0FBMEI7O0lBQzFCLDZDQUEyQjs7SUFDM0IsK0NBQTZCOztJQUM3QixpQ0FBZSIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBpbnRlcmZhY2UgSVBheW1lbnRGYWlsdXJlIHtcbiAgYWRkaXRpb25hbF9yZWZlcmVuY2U6IHN0cmluZztcbiAgZGlzcHV0ZWRfYW1vdW50OiBudW1iZXI7XG4gIGZhaWx1cmVfZXZlbnRfZGF0ZV90aW1lOiBzdHJpbmc7XG4gIGZhaWx1cmVfcmVhc29uOiBzdHJpbmc7XG4gIGZhaWx1cmVfcmVmZXJlbmNlOiBzdHJpbmc7XG4gIGZhaWx1cmVfdHlwZTogc3RyaW5nO1xuICBwYXltZW50X3JlZmVyZW5jZTogc3RyaW5nO1xuICByZXByZXNlbnRtZW50X2RhdGU6IHN0cmluZztcbiAgcmVwcmVzZW50bWVudF9zdGF0dXM6IHN0cmluZztcbiAgc3RhdHVzOiBzdHJpbmc7XG59XG4iXX0=
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview added by tsickle
|
|
3
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @record
|
|
7
|
-
*/
|
|
8
|
-
export function IPaymentFailure() { }
|
|
9
|
-
if (false) {
|
|
10
|
-
/** @type {?} */
|
|
11
|
-
IPaymentFailure.prototype.additional_reference;
|
|
12
|
-
/** @type {?} */
|
|
13
|
-
IPaymentFailure.prototype.disputed_amount;
|
|
14
|
-
/** @type {?} */
|
|
15
|
-
IPaymentFailure.prototype.failure_event_date_time;
|
|
16
|
-
/** @type {?} */
|
|
17
|
-
IPaymentFailure.prototype.failure_reason;
|
|
18
|
-
/** @type {?} */
|
|
19
|
-
IPaymentFailure.prototype.failure_reference;
|
|
20
|
-
/** @type {?} */
|
|
21
|
-
IPaymentFailure.prototype.failure_type;
|
|
22
|
-
/** @type {?} */
|
|
23
|
-
IPaymentFailure.prototype.payment_reference;
|
|
24
|
-
/** @type {?} */
|
|
25
|
-
IPaymentFailure.prototype.representment_date;
|
|
26
|
-
/** @type {?} */
|
|
27
|
-
IPaymentFailure.prototype.representment_status;
|
|
28
|
-
/** @type {?} */
|
|
29
|
-
IPaymentFailure.prototype.status;
|
|
30
|
-
}
|
|
31
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiSVBheW1lbnRGYWlsdXJlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGhtY3RzL2NjcGF5LXdlYi1jb21wb25lbnQvIiwic291cmNlcyI6WyJsaWIvaW50ZXJmYWNlcy9JUGF5bWVudEZhaWx1cmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQUFBLHFDQVdDOzs7SUFWQywrQ0FBNkI7O0lBQzdCLDBDQUF3Qjs7SUFDeEIsa0RBQWdDOztJQUNoQyx5Q0FBdUI7O0lBQ3ZCLDRDQUEwQjs7SUFDMUIsdUNBQXFCOztJQUNyQiw0Q0FBMEI7O0lBQzFCLDZDQUEyQjs7SUFDM0IsK0NBQTZCOztJQUM3QixpQ0FBZSIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBpbnRlcmZhY2UgSVBheW1lbnRGYWlsdXJlIHtcbiAgYWRkaXRpb25hbF9yZWZlcmVuY2U6IHN0cmluZztcbiAgZGlzcHV0ZWRfYW1vdW50OiBudW1iZXI7XG4gIGZhaWx1cmVfZXZlbnRfZGF0ZV90aW1lOiBzdHJpbmc7XG4gIGZhaWx1cmVfcmVhc29uOiBzdHJpbmc7XG4gIGZhaWx1cmVfcmVmZXJlbmNlOiBzdHJpbmc7XG4gIGZhaWx1cmVfdHlwZTogc3RyaW5nO1xuICBwYXltZW50X3JlZmVyZW5jZTogc3RyaW5nO1xuICByZXByZXNlbnRtZW50X2RhdGU6IHN0cmluZztcbiAgcmVwcmVzZW50bWVudF9zdGF0dXM6IHN0cmluZztcbiAgc3RhdHVzOiBzdHJpbmc7XG59XG4iXX0=
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export interface IPaymentFailure {
|
|
2
|
-
additional_reference: string;
|
|
3
|
-
disputed_amount: number;
|
|
4
|
-
failure_event_date_time: string;
|
|
5
|
-
failure_reason: string;
|
|
6
|
-
failure_reference: string;
|
|
7
|
-
failure_type: string;
|
|
8
|
-
payment_reference: string;
|
|
9
|
-
representment_date: string;
|
|
10
|
-
representment_status: string;
|
|
11
|
-
status: string;
|
|
12
|
-
}
|