@hmcts/ccpay-web-component 4.0.1-beta17 → 4.0.1-beta21
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 +144 -141
- 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/hmcts-ccpay-web-component.js +4 -5
- package/esm2015/lib/components/add-remission/add-remission.component.js +38 -50
- package/esm2015/lib/components/allocate-payments/allocate-payments.component.js +24 -11
- package/esm2015/lib/components/case-transactions/case-transactions.component.js +2 -2
- package/esm2015/lib/components/payment-view/payment-view.component.js +24 -21
- package/esm2015/lib/components/pba-payment/pba-payment.component.js +2 -2
- package/esm2015/lib/components/process-refund/process-refund.component.js +23 -12
- package/esm2015/lib/components/refund-list/refund-list.component.js +1 -10
- package/esm2015/lib/components/refund-status/refund-status.component.js +3 -3
- package/esm2015/lib/components/reports/reports.component.js +8 -3
- package/esm2015/lib/components/table/table.component.js +10 -2
- package/esm2015/lib/interfaces/IserviceRequestCardPayment.js +2 -2
- package/esm2015/lib/payment-lib.component.js +1 -2
- package/esm2015/lib/payment-lib.module.js +1 -3
- package/esm2015/lib/services/payment-view/payment-view.service.js +2 -2
- package/esm2015/lib/services/shared/error-handler.service.js +7 -2
- package/esm2015/lib/services/xl-file/xl-file.service.js +2 -2
- package/esm5/hmcts-ccpay-web-component.js +4 -5
- package/esm5/lib/components/add-remission/add-remission.component.js +39 -52
- package/esm5/lib/components/allocate-payments/allocate-payments.component.js +24 -11
- package/esm5/lib/components/case-transactions/case-transactions.component.js +2 -2
- package/esm5/lib/components/payment-view/payment-view.component.js +28 -22
- package/esm5/lib/components/pba-payment/pba-payment.component.js +2 -2
- package/esm5/lib/components/process-refund/process-refund.component.js +26 -14
- package/esm5/lib/components/refund-list/refund-list.component.js +1 -10
- package/esm5/lib/components/refund-status/refund-status.component.js +3 -3
- package/esm5/lib/components/reports/reports.component.js +8 -3
- package/esm5/lib/components/table/table.component.js +15 -2
- package/esm5/lib/interfaces/IserviceRequestCardPayment.js +2 -2
- package/esm5/lib/payment-lib.component.js +2 -2
- package/esm5/lib/payment-lib.module.js +1 -3
- package/esm5/lib/services/payment-view/payment-view.service.js +2 -2
- package/esm5/lib/services/shared/error-handler.service.js +7 -2
- package/esm5/lib/services/xl-file/xl-file.service.js +2 -2
- package/fesm2015/hmcts-ccpay-web-component.js +129 -137
- package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
- package/fesm5/hmcts-ccpay-web-component.js +143 -147
- package/fesm5/hmcts-ccpay-web-component.js.map +1 -1
- package/hmcts-ccpay-web-component.d.ts +3 -4
- package/hmcts-ccpay-web-component.metadata.json +1 -1
- package/lib/components/add-remission/add-remission.component.d.ts +20 -1
- package/lib/components/allocate-payments/allocate-payments.component.d.ts +3 -0
- package/lib/components/payment-view/payment-view.component.d.ts +1 -0
- package/lib/components/process-refund/process-refund.component.d.ts +1 -1
- package/lib/components/table/table.component.d.ts +1 -0
- package/package.json +5 -1
- package/esm2015/lib/components/refunds/refunds.component.js +0 -23
- package/esm5/lib/components/refunds/refunds.component.js +0 -29
- package/lib/components/refunds/refunds.component.d.ts +0 -5
|
@@ -84,6 +84,25 @@ export declare class AddRemissionComponent implements OnInit {
|
|
|
84
84
|
default: string;
|
|
85
85
|
reasonLength: number;
|
|
86
86
|
refundReasons: IRefundReasons[];
|
|
87
|
+
component: {
|
|
88
|
+
account_number: string;
|
|
89
|
+
amount: number;
|
|
90
|
+
case_reference: string;
|
|
91
|
+
ccd_case_number: string;
|
|
92
|
+
channel: string;
|
|
93
|
+
currency: string;
|
|
94
|
+
customer_reference: string;
|
|
95
|
+
date_created: string;
|
|
96
|
+
date_updated: string;
|
|
97
|
+
description: string;
|
|
98
|
+
method: string;
|
|
99
|
+
organisation_name: string;
|
|
100
|
+
payment_allocation: any[];
|
|
101
|
+
reference: string;
|
|
102
|
+
service_name: string;
|
|
103
|
+
site_id: string;
|
|
104
|
+
status: string;
|
|
105
|
+
};
|
|
87
106
|
constructor(formBuilder: FormBuilder, router: Router, paymentViewService: PaymentViewService, paymentLibComponent: PaymentLibComponent, refundService: RefundsService, cd: ChangeDetectorRef, OrderslistService: OrderslistService);
|
|
88
107
|
ngOnInit(): void;
|
|
89
108
|
addRemission(): void;
|
|
@@ -104,6 +123,6 @@ export declare class AddRemissionComponent implements OnInit {
|
|
|
104
123
|
selectchange(args: any): void;
|
|
105
124
|
gotoServiceRequestPage(event: any): void;
|
|
106
125
|
gotoCasetransationPage(): void;
|
|
107
|
-
gotoCasetransationPageCancelBtnClicked(): void;
|
|
126
|
+
gotoCasetransationPageCancelBtnClicked(event: Event): void;
|
|
108
127
|
getFormattedCurrency(currency: number): string | number;
|
|
109
128
|
}
|
|
@@ -62,6 +62,9 @@ export declare class AllocatePaymentsComponent implements OnInit {
|
|
|
62
62
|
paymentRef: string;
|
|
63
63
|
isStrategicFixEnable: boolean;
|
|
64
64
|
orderLevelFees: IOrderReferenceFee[];
|
|
65
|
+
cookieUserName: string[];
|
|
66
|
+
enCookieUserName: any;
|
|
67
|
+
userNameField: string;
|
|
65
68
|
reasonList: {
|
|
66
69
|
[key: string]: {
|
|
67
70
|
[key: string]: string;
|
|
@@ -46,6 +46,7 @@ export declare class PaymentViewComponent implements OnInit {
|
|
|
46
46
|
goToPaymentList(): void;
|
|
47
47
|
goToCaseTransationPage(event: any): void;
|
|
48
48
|
addRemission(fee: IFee): void;
|
|
49
|
+
checkForFees(paymentGroup: any): boolean;
|
|
49
50
|
addRefundForRemission(payment: IPayment, remission: IRemission[], fees: any): void;
|
|
50
51
|
chkIsRefundRemissionBtnEnable(): boolean;
|
|
51
52
|
issueRefund(paymentgrp: IPaymentGroup): void;
|
|
@@ -42,7 +42,7 @@ export declare class ProcessRefundComponent implements OnInit {
|
|
|
42
42
|
ngOnInit(): void;
|
|
43
43
|
checkRefundActions(code: string): void;
|
|
44
44
|
processRefundSubmit(): void;
|
|
45
|
-
getErrorMessage(isErrorExist: any, status: any, errorMsg: any): {
|
|
45
|
+
getErrorMessage(isErrorExist: any, status: any, errorMsg: any, err: any): {
|
|
46
46
|
title: string;
|
|
47
47
|
body: string;
|
|
48
48
|
showError: any;
|
|
@@ -32,4 +32,5 @@ export declare class TableComponent {
|
|
|
32
32
|
selectchange(args: any): void;
|
|
33
33
|
goToRefundProcessComponent(refundReference: string, refundDate: IRefundList): void;
|
|
34
34
|
goToRefundViewComponent(refundReference: string, refundData: IRefundList): void;
|
|
35
|
+
goToCaseReview(ccdCaseNumber: string, refundData: IRefundList): void;
|
|
35
36
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hmcts/ccpay-web-component",
|
|
3
|
-
"version": "4.0.1-
|
|
3
|
+
"version": "4.0.1-beta21",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -13,6 +13,10 @@
|
|
|
13
13
|
"description": "Angular web component for displaying payments returned from ccpay api",
|
|
14
14
|
"author": "Mateusz Swirski <mateusz.swirski@hmcts.net>",
|
|
15
15
|
"contributors": [
|
|
16
|
+
{
|
|
17
|
+
"name": "Santosh Govindu",
|
|
18
|
+
"email": "santosh.govindu@hmcts.net"
|
|
19
|
+
},
|
|
16
20
|
{
|
|
17
21
|
"name": "Tarun Palisetty",
|
|
18
22
|
"email": "tarun.palisetty@hmcts.net"
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview added by tsickle
|
|
3
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4
|
-
*/
|
|
5
|
-
import { Component } from '@angular/core';
|
|
6
|
-
export class RefundsComponent {
|
|
7
|
-
constructor() { }
|
|
8
|
-
/**
|
|
9
|
-
* @return {?}
|
|
10
|
-
*/
|
|
11
|
-
ngOnInit() {
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
RefundsComponent.decorators = [
|
|
15
|
-
{ type: Component, args: [{
|
|
16
|
-
selector: 'ccpay-refunds',
|
|
17
|
-
template: "<main class=\"govuk-main-wrapper \" id=\"main-content\" role=\"main\" class=\"refundsmain\">\n <div class=\"processrefund\">\n <h1 class=\"govuk-heading-l\">Process refund</h1>\n <h2 class=\"govuk-heading-m\">#4692-3164-5845-4819</h2>\n <br>\n\n <div class=\"govuk-form-group\">\n <h1 class=\"govuk-label-wrapper\">\n <label class=\"govuk-label govuk-label--l\" for=\"event-name\">\n Enter help with fees or remission reference\n </label>\n </h1>\n\n <div id=\"event-name-hint\" class=\"govuk-hint\">\n For example: HWF-A1B-23C\n </div>\n \n <input class=\"govuk-input govuk-input--width-10\" id=\"event-name\" name=\"event-name\" type=\"text\" aria-describedby=\"event-name-hint\">\n </div>\n \n \n \n <div class=\"govuk-button-group\">\n \n \n \n \n \n \n \n \n <a href=\"reason\" role=\"button\" draggable=\"false\" class=\"govuk-button govuk-button--secondary\" data-module=\"govuk-button\">\n Previous\n </a>\n \n \n \n \n \n \n \n <a href=\"transaction\" role=\"button\" draggable=\"false\" class=\"govuk-button\" data-module=\"govuk-button\">\n Continue\n </a>\n \n </div>\n \n <p>\n <a href=\"../v1paymenthistory\">Cancel</a>\n </p>\n <br>\n <br>\n </div>\n </main>",
|
|
18
|
-
styles: [".processrefund{min-width:960px;max-width:1860px;margin:0 30px}.refundsmain{padding-top:25px}"]
|
|
19
|
-
}] }
|
|
20
|
-
];
|
|
21
|
-
/** @nocollapse */
|
|
22
|
-
RefundsComponent.ctorParameters = () => [];
|
|
23
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVmdW5kcy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AaG1jdHMvY2NwYXktd2ViLWNvbXBvbmVudC8iLCJzb3VyY2VzIjpbImxpYi9jb21wb25lbnRzL3JlZnVuZHMvcmVmdW5kcy5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQVUsTUFBTSxlQUFlLENBQUM7QUFPbEQsTUFBTSxPQUFPLGdCQUFnQjtJQUUzQixnQkFBZ0IsQ0FBQzs7OztJQUVqQixRQUFRO0lBQ1IsQ0FBQzs7O1lBVkYsU0FBUyxTQUFDO2dCQUNULFFBQVEsRUFBRSxlQUFlO2dCQUN6Qix1MENBQXVDOzthQUV4QyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbXBvbmVudCwgT25Jbml0IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbkBDb21wb25lbnQoe1xuICBzZWxlY3RvcjogJ2NjcGF5LXJlZnVuZHMnLFxuICB0ZW1wbGF0ZVVybDogJy4vcmVmdW5kcy5jb21wb25lbnQuaHRtbCcsXG4gIHN0eWxlVXJsczogWycuL3JlZnVuZHMuY29tcG9uZW50LmNzcyddXG59KVxuZXhwb3J0IGNsYXNzIFJlZnVuZHNDb21wb25lbnQgaW1wbGVtZW50cyBPbkluaXQge1xuXG4gIGNvbnN0cnVjdG9yKCkgeyB9XG5cbiAgbmdPbkluaXQoKSB7XG4gIH1cblxufVxuIl19
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview added by tsickle
|
|
3
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4
|
-
*/
|
|
5
|
-
import { Component } from '@angular/core';
|
|
6
|
-
var RefundsComponent = /** @class */ (function () {
|
|
7
|
-
function RefundsComponent() {
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* @return {?}
|
|
11
|
-
*/
|
|
12
|
-
RefundsComponent.prototype.ngOnInit = /**
|
|
13
|
-
* @return {?}
|
|
14
|
-
*/
|
|
15
|
-
function () {
|
|
16
|
-
};
|
|
17
|
-
RefundsComponent.decorators = [
|
|
18
|
-
{ type: Component, args: [{
|
|
19
|
-
selector: 'ccpay-refunds',
|
|
20
|
-
template: "<main class=\"govuk-main-wrapper \" id=\"main-content\" role=\"main\" class=\"refundsmain\">\n <div class=\"processrefund\">\n <h1 class=\"govuk-heading-l\">Process refund</h1>\n <h2 class=\"govuk-heading-m\">#4692-3164-5845-4819</h2>\n <br>\n\n <div class=\"govuk-form-group\">\n <h1 class=\"govuk-label-wrapper\">\n <label class=\"govuk-label govuk-label--l\" for=\"event-name\">\n Enter help with fees or remission reference\n </label>\n </h1>\n\n <div id=\"event-name-hint\" class=\"govuk-hint\">\n For example: HWF-A1B-23C\n </div>\n \n <input class=\"govuk-input govuk-input--width-10\" id=\"event-name\" name=\"event-name\" type=\"text\" aria-describedby=\"event-name-hint\">\n </div>\n \n \n \n <div class=\"govuk-button-group\">\n \n \n \n \n \n \n \n \n <a href=\"reason\" role=\"button\" draggable=\"false\" class=\"govuk-button govuk-button--secondary\" data-module=\"govuk-button\">\n Previous\n </a>\n \n \n \n \n \n \n \n <a href=\"transaction\" role=\"button\" draggable=\"false\" class=\"govuk-button\" data-module=\"govuk-button\">\n Continue\n </a>\n \n </div>\n \n <p>\n <a href=\"../v1paymenthistory\">Cancel</a>\n </p>\n <br>\n <br>\n </div>\n </main>",
|
|
21
|
-
styles: [".processrefund{min-width:960px;max-width:1860px;margin:0 30px}.refundsmain{padding-top:25px}"]
|
|
22
|
-
}] }
|
|
23
|
-
];
|
|
24
|
-
/** @nocollapse */
|
|
25
|
-
RefundsComponent.ctorParameters = function () { return []; };
|
|
26
|
-
return RefundsComponent;
|
|
27
|
-
}());
|
|
28
|
-
export { RefundsComponent };
|
|
29
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVmdW5kcy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AaG1jdHMvY2NwYXktd2ViLWNvbXBvbmVudC8iLCJzb3VyY2VzIjpbImxpYi9jb21wb25lbnRzL3JlZnVuZHMvcmVmdW5kcy5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQVUsTUFBTSxlQUFlLENBQUM7QUFFbEQ7SUFPRTtJQUFnQixDQUFDOzs7O0lBRWpCLG1DQUFROzs7SUFBUjtJQUNBLENBQUM7O2dCQVZGLFNBQVMsU0FBQztvQkFDVCxRQUFRLEVBQUUsZUFBZTtvQkFDekIsdTBDQUF1Qzs7aUJBRXhDOzs7O0lBUUQsdUJBQUM7Q0FBQSxBQVpELElBWUM7U0FQWSxnQkFBZ0IiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDb21wb25lbnQsIE9uSW5pdCB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5AQ29tcG9uZW50KHtcbiAgc2VsZWN0b3I6ICdjY3BheS1yZWZ1bmRzJyxcbiAgdGVtcGxhdGVVcmw6ICcuL3JlZnVuZHMuY29tcG9uZW50Lmh0bWwnLFxuICBzdHlsZVVybHM6IFsnLi9yZWZ1bmRzLmNvbXBvbmVudC5jc3MnXVxufSlcbmV4cG9ydCBjbGFzcyBSZWZ1bmRzQ29tcG9uZW50IGltcGxlbWVudHMgT25Jbml0IHtcblxuICBjb25zdHJ1Y3RvcigpIHsgfVxuXG4gIG5nT25Jbml0KCkge1xuICB9XG5cbn1cbiJdfQ==
|