@hmcts/ccpay-web-component 5.0.7-beta22 → 5.0.8-beta02
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 +638 -2074
- 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 +31 -33
- package/esm2015/lib/components/add-remission/add-remission.component.js +120 -695
- package/esm2015/lib/components/allocate-payments/allocate-payments.component.js +2 -2
- package/esm2015/lib/components/case-transactions/case-transactions.component.js +17 -31
- package/esm2015/lib/components/fee-summary/fee-summary.component.js +13 -18
- package/esm2015/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.js +2 -2
- package/esm2015/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.js +2 -2
- package/esm2015/lib/components/payment-view/payment-view.component.js +106 -188
- package/esm2015/lib/components/process-refund/process-refund.component.js +28 -49
- package/esm2015/lib/components/refund-list/refund-list.component.js +3 -3
- package/esm2015/lib/components/refund-status/refund-status.component.js +30 -211
- package/esm2015/lib/components/reports/reports.component.js +17 -2
- package/esm2015/lib/components/service-request/service-request.component.js +146 -237
- package/esm2015/lib/components/table/table.component.js +9 -24
- package/esm2015/lib/components/unprocessed-payments/unprocessed-payments.component.js +2 -2
- package/esm2015/lib/interfaces/IFee.js +1 -13
- package/esm2015/lib/interfaces/IPayment.js +1 -7
- package/esm2015/lib/interfaces/IRefundList.js +1 -7
- package/esm2015/lib/interfaces/IRemission.js +1 -7
- package/esm2015/lib/interfaces/IResubmitRefundRequest.js +2 -10
- package/esm2015/lib/interfaces/PostIssueRefundRetroRemission.js +2 -6
- package/esm2015/lib/interfaces/PostRefundRetroRemission.js +2 -20
- package/esm2015/lib/payment-lib.component.js +2 -9
- package/esm2015/lib/payment-lib.module.js +1 -3
- package/esm2015/lib/payment-lib.service.js +1 -16
- package/esm2015/lib/services/refunds/refunds.service.js +1 -10
- package/esm2015/lib/services/shared/httpclient/webcomponent.http.client.js +1 -1
- package/esm2015/lib/services/xl-file/xl-file.service.js +2 -1
- package/esm5/hmcts-ccpay-web-component.js +31 -33
- package/esm5/lib/components/add-remission/add-remission.component.js +125 -817
- package/esm5/lib/components/allocate-payments/allocate-payments.component.js +2 -2
- package/esm5/lib/components/case-transactions/case-transactions.component.js +17 -31
- package/esm5/lib/components/fee-summary/fee-summary.component.js +13 -18
- package/esm5/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.js +2 -2
- package/esm5/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.js +2 -2
- package/esm5/lib/components/payment-view/payment-view.component.js +124 -219
- package/esm5/lib/components/process-refund/process-refund.component.js +78 -52
- package/esm5/lib/components/refund-list/refund-list.component.js +3 -3
- package/esm5/lib/components/refund-status/refund-status.component.js +28 -247
- package/esm5/lib/components/reports/reports.component.js +17 -2
- package/esm5/lib/components/service-request/service-request.component.js +176 -278
- package/esm5/lib/components/table/table.component.js +9 -27
- package/esm5/lib/components/unprocessed-payments/unprocessed-payments.component.js +2 -2
- package/esm5/lib/interfaces/IFee.js +1 -13
- package/esm5/lib/interfaces/IPayment.js +1 -7
- package/esm5/lib/interfaces/IRefundList.js +1 -7
- package/esm5/lib/interfaces/IRemission.js +1 -7
- package/esm5/lib/interfaces/IResubmitRefundRequest.js +2 -8
- package/esm5/lib/interfaces/PostIssueRefundRetroRemission.js +2 -5
- package/esm5/lib/interfaces/PostRefundRetroRemission.js +2 -16
- package/esm5/lib/payment-lib.component.js +2 -9
- package/esm5/lib/payment-lib.module.js +1 -3
- package/esm5/lib/payment-lib.service.js +1 -23
- package/esm5/lib/services/refunds/refunds.service.js +1 -16
- package/esm5/lib/services/shared/httpclient/webcomponent.http.client.js +1 -1
- package/esm5/lib/services/xl-file/xl-file.service.js +2 -1
- package/fesm2015/hmcts-ccpay-web-component.js +512 -1823
- package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
- package/fesm5/hmcts-ccpay-web-component.js +597 -2074
- package/fesm5/hmcts-ccpay-web-component.js.map +1 -1
- package/hmcts-ccpay-web-component.d.ts +30 -32
- package/hmcts-ccpay-web-component.metadata.json +1 -1
- package/lib/components/add-remission/add-remission.component.d.ts +3 -45
- package/lib/components/case-transactions/case-transactions.component.d.ts +1 -2
- package/lib/components/payment-view/payment-view.component.d.ts +6 -23
- package/lib/components/process-refund/process-refund.component.d.ts +1 -6
- package/lib/components/refund-status/refund-status.component.d.ts +6 -34
- package/lib/components/service-request/service-request.component.d.ts +9 -28
- package/lib/components/table/table.component.d.ts +0 -1
- package/lib/interfaces/IFee.d.ts +0 -6
- package/lib/interfaces/IPayment.d.ts +0 -3
- package/lib/interfaces/IRefundList.d.ts +0 -4
- package/lib/interfaces/IRemission.d.ts +0 -3
- package/lib/interfaces/IResubmitRefundRequest.d.ts +1 -5
- package/lib/interfaces/PostIssueRefundRetroRemission.d.ts +1 -3
- package/lib/interfaces/PostRefundRetroRemission.d.ts +1 -7
- package/lib/payment-lib.component.d.ts +0 -2
- package/lib/payment-lib.service.d.ts +0 -3
- package/lib/services/refunds/refunds.service.d.ts +0 -2
- package/package.json +1 -5
- package/esm2015/lib/components/contact-details/contact-details.component.js +0 -447
- package/esm2015/lib/interfaces/IPutNotificationRequest.js +0 -25
- package/esm2015/lib/interfaces/IRefundContactDetails.js +0 -25
- package/esm2015/lib/interfaces/IRefundFee.js +0 -21
- package/esm2015/lib/interfaces/IRefundsNotifications.js +0 -21
- package/esm2015/lib/services/notification/notification.service.js +0 -85
- package/esm5/lib/components/contact-details/contact-details.component.js +0 -472
- package/esm5/lib/interfaces/IPutNotificationRequest.js +0 -23
- package/esm5/lib/interfaces/IRefundContactDetails.js +0 -25
- package/esm5/lib/interfaces/IRefundFee.js +0 -21
- package/esm5/lib/interfaces/IRefundsNotifications.js +0 -21
- package/esm5/lib/services/notification/notification.service.js +0 -89
- package/lib/components/contact-details/contact-details.component.d.ts +0 -49
- package/lib/interfaces/IPutNotificationRequest.d.ts +0 -6
- package/lib/interfaces/IRefundContactDetails.d.ts +0 -9
- package/lib/interfaces/IRefundFee.d.ts +0 -7
- package/lib/interfaces/IRefundsNotifications.d.ts +0 -16
- package/lib/services/notification/notification.service.d.ts +0 -15
|
@@ -1,21 +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 IRefundsNotifications() { }
|
|
9
|
-
if (false) {
|
|
10
|
-
/** @type {?} */
|
|
11
|
-
IRefundsNotifications.prototype.contact_details;
|
|
12
|
-
/** @type {?} */
|
|
13
|
-
IRefundsNotifications.prototype.date_created;
|
|
14
|
-
/** @type {?} */
|
|
15
|
-
IRefundsNotifications.prototype.date_updated;
|
|
16
|
-
/** @type {?} */
|
|
17
|
-
IRefundsNotifications.prototype.notification_type;
|
|
18
|
-
/** @type {?} */
|
|
19
|
-
IRefundsNotifications.prototype.reference;
|
|
20
|
-
}
|
|
21
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiSVJlZnVuZHNOb3RpZmljYXRpb25zLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGhtY3RzL2NjcGF5LXdlYi1jb21wb25lbnQvIiwic291cmNlcyI6WyJsaWIvaW50ZXJmYWNlcy9JUmVmdW5kc05vdGlmaWNhdGlvbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQUFBLDJDQWVHOzs7SUFkQyxnREFTSTs7SUFDRiw2Q0FBcUI7O0lBQ3JCLDZDQUFxQjs7SUFDckIsa0RBQTBCOztJQUMxQiwwQ0FBaUIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgaW50ZXJmYWNlIElSZWZ1bmRzTm90aWZpY2F0aW9ucyB7XG4gICAgY29udGFjdF9kZXRhaWxzOiB7XG4gICAgICAgIGFkZHJlc3NfbGluZTogc3RyaW5nLFxuICAgICAgICBjaXR5OiBzdHJpbmcsXG4gICAgICAgIGNvdW50cnk6IHN0cmluZyxcbiAgICAgICAgY291bnR5OiBzdHJpbmcsXG4gICAgICAgIGRhdGVfY3JlYXRlZDogc3RyaW5nLFxuICAgICAgICBkYXRlX3VwZGF0ZWQ6IHN0cmluZyxcbiAgICAgICAgZW1haWw6IHN0cmluZyxcbiAgICAgICAgcG9zdGFsX2NvZGU6IHN0cmluZ1xuICAgICAgfSxcbiAgICAgIGRhdGVfY3JlYXRlZDogc3RyaW5nLFxuICAgICAgZGF0ZV91cGRhdGVkOiBzdHJpbmcsXG4gICAgICBub3RpZmljYXRpb25fdHlwZTogc3RyaW5nLFxuICAgICAgcmVmZXJlbmNlOiBzdHJpbmdcbiAgfSJdfQ==
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview added by tsickle
|
|
3
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4
|
-
*/
|
|
5
|
-
import { Injectable } from '@angular/core';
|
|
6
|
-
import { HttpClient } from '@angular/common/http';
|
|
7
|
-
import { ErrorHandlerService } from '../shared/error-handler.service';
|
|
8
|
-
import { WebComponentHttpClient } from '../shared/httpclient/webcomponent.http.client';
|
|
9
|
-
import { PaymentLibService } from '../../payment-lib.service';
|
|
10
|
-
import { catchError } from 'rxjs/operators';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
import * as i1 from "@angular/common/http";
|
|
13
|
-
import * as i2 from "../shared/httpclient/webcomponent.http.client";
|
|
14
|
-
import * as i3 from "../shared/error-handler.service";
|
|
15
|
-
import * as i4 from "../../payment-lib.service";
|
|
16
|
-
var NotificationService = /** @class */ (function () {
|
|
17
|
-
function NotificationService(http, https, errorHandlerService, paymentLibService) {
|
|
18
|
-
this.http = http;
|
|
19
|
-
this.https = https;
|
|
20
|
-
this.errorHandlerService = errorHandlerService;
|
|
21
|
-
this.paymentLibService = paymentLibService;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* @param {?} reference
|
|
25
|
-
* @return {?}
|
|
26
|
-
*/
|
|
27
|
-
NotificationService.prototype.getRefundNotification = /**
|
|
28
|
-
* @param {?} reference
|
|
29
|
-
* @return {?}
|
|
30
|
-
*/
|
|
31
|
-
function (reference) {
|
|
32
|
-
return this.http.get(this.paymentLibService.NOTIFICATION_API_ROOT + "/notifications/" + reference, {
|
|
33
|
-
withCredentials: true
|
|
34
|
-
})
|
|
35
|
-
.pipe(catchError(this.errorHandlerService.handleError));
|
|
36
|
-
};
|
|
37
|
-
/**
|
|
38
|
-
* @param {?} postcode
|
|
39
|
-
* @return {?}
|
|
40
|
-
*/
|
|
41
|
-
NotificationService.prototype.getAddressByPostcode = /**
|
|
42
|
-
* @param {?} postcode
|
|
43
|
-
* @return {?}
|
|
44
|
-
*/
|
|
45
|
-
function (postcode) {
|
|
46
|
-
return this.http.get(this.paymentLibService.NOTIFICATION_API_ROOT + "/search/places/v1/postcode?postcode=" + postcode, {
|
|
47
|
-
withCredentials: true
|
|
48
|
-
})
|
|
49
|
-
.pipe(catchError(this.errorHandlerService.handleError));
|
|
50
|
-
};
|
|
51
|
-
NotificationService.decorators = [
|
|
52
|
-
{ type: Injectable, args: [{
|
|
53
|
-
providedIn: 'root'
|
|
54
|
-
},] }
|
|
55
|
-
];
|
|
56
|
-
/** @nocollapse */
|
|
57
|
-
NotificationService.ctorParameters = function () { return [
|
|
58
|
-
{ type: HttpClient },
|
|
59
|
-
{ type: WebComponentHttpClient },
|
|
60
|
-
{ type: ErrorHandlerService },
|
|
61
|
-
{ type: PaymentLibService }
|
|
62
|
-
]; };
|
|
63
|
-
/** @nocollapse */ NotificationService.ngInjectableDef = i0.defineInjectable({ factory: function NotificationService_Factory() { return new NotificationService(i0.inject(i1.HttpClient), i0.inject(i2.WebComponentHttpClient), i0.inject(i3.ErrorHandlerService), i0.inject(i4.PaymentLibService)); }, token: NotificationService, providedIn: "root" });
|
|
64
|
-
return NotificationService;
|
|
65
|
-
}());
|
|
66
|
-
export { NotificationService };
|
|
67
|
-
if (false) {
|
|
68
|
-
/**
|
|
69
|
-
* @type {?}
|
|
70
|
-
* @private
|
|
71
|
-
*/
|
|
72
|
-
NotificationService.prototype.http;
|
|
73
|
-
/**
|
|
74
|
-
* @type {?}
|
|
75
|
-
* @private
|
|
76
|
-
*/
|
|
77
|
-
NotificationService.prototype.https;
|
|
78
|
-
/**
|
|
79
|
-
* @type {?}
|
|
80
|
-
* @private
|
|
81
|
-
*/
|
|
82
|
-
NotificationService.prototype.errorHandlerService;
|
|
83
|
-
/**
|
|
84
|
-
* @type {?}
|
|
85
|
-
* @private
|
|
86
|
-
*/
|
|
87
|
-
NotificationService.prototype.paymentLibService;
|
|
88
|
-
}
|
|
89
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm90aWZpY2F0aW9uLnNlcnZpY2UuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AaG1jdHMvY2NwYXktd2ViLWNvbXBvbmVudC8iLCJzb3VyY2VzIjpbImxpYi9zZXJ2aWNlcy9ub3RpZmljYXRpb24vbm90aWZpY2F0aW9uLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0MsT0FBTyxFQUFDLFVBQVUsRUFBQyxNQUFNLHNCQUFzQixDQUFDO0FBQ2hELE9BQU8sRUFBQyxtQkFBbUIsRUFBQyxNQUFNLGlDQUFpQyxDQUFDO0FBQ3BFLE9BQU8sRUFBRSxzQkFBc0IsRUFBRSxNQUFN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JvckhhbmRsZXJTZXJ2aWNlLmhhbmRsZUVycm9yKVxuICAgICAgKTtcbiAgfVxufVxuIl19
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
|
-
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
-
import { PaymentLibComponent } from '../../payment-lib.component';
|
|
4
|
-
import { NotificationService } from '../../services/notification/notification.service';
|
|
5
|
-
export declare class ContactDetailsComponent implements OnInit {
|
|
6
|
-
private formBuilder;
|
|
7
|
-
private notificationService;
|
|
8
|
-
private paymentLibComponent;
|
|
9
|
-
isEditOperation: boolean;
|
|
10
|
-
isEditOperationInRefundList: boolean;
|
|
11
|
-
addressObj: any;
|
|
12
|
-
assignContactDetails: EventEmitter<any>;
|
|
13
|
-
assignContactDetailsInFefundsList: EventEmitter<any>;
|
|
14
|
-
redirectToIssueRefund: EventEmitter<any>;
|
|
15
|
-
pageTitle: string;
|
|
16
|
-
errorMessage: string;
|
|
17
|
-
isEmailSAddressClicked: boolean;
|
|
18
|
-
isShowPickAddress: boolean;
|
|
19
|
-
isPostcodeClicked: boolean;
|
|
20
|
-
isManualAddressClicked: boolean;
|
|
21
|
-
emailAddressForm: FormGroup;
|
|
22
|
-
postCodeForm: FormGroup;
|
|
23
|
-
manualAddressForm: FormGroup;
|
|
24
|
-
addressPostcodeList: any[];
|
|
25
|
-
postcodeAddress: any;
|
|
26
|
-
isAddressBoxEmpty: boolean;
|
|
27
|
-
isEmailEmpty: boolean;
|
|
28
|
-
emailHasError: boolean;
|
|
29
|
-
isPostcodeEmpty: boolean;
|
|
30
|
-
postcodeHasError: boolean;
|
|
31
|
-
isaddressLine1Empty: boolean;
|
|
32
|
-
addressLine1HasError: boolean;
|
|
33
|
-
addressLine2HasError: boolean;
|
|
34
|
-
isTownOrCityEmpty: boolean;
|
|
35
|
-
townOrCityHasError: boolean;
|
|
36
|
-
isCountyEmpty: boolean;
|
|
37
|
-
countyHasError: boolean;
|
|
38
|
-
isMPostcodeEmpty: boolean;
|
|
39
|
-
mpostcodeHasError: boolean;
|
|
40
|
-
isCountryEmpty: boolean;
|
|
41
|
-
constructor(formBuilder: FormBuilder, notificationService: NotificationService, paymentLibComponent: PaymentLibComponent);
|
|
42
|
-
ngOnInit(): void;
|
|
43
|
-
setEditDetails(): void;
|
|
44
|
-
selectContactOption(type: any, isLinkedClied: any): void;
|
|
45
|
-
finalFormSubmit(): void;
|
|
46
|
-
postcodeValidation(str: any): void;
|
|
47
|
-
redirection(event: any): void;
|
|
48
|
-
resetForm(val: any, field: any): void;
|
|
49
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export interface IRefundsNotifications {
|
|
2
|
-
contact_details: {
|
|
3
|
-
address_line: string;
|
|
4
|
-
city: string;
|
|
5
|
-
country: string;
|
|
6
|
-
county: string;
|
|
7
|
-
date_created: string;
|
|
8
|
-
date_updated: string;
|
|
9
|
-
email: string;
|
|
10
|
-
postal_code: string;
|
|
11
|
-
};
|
|
12
|
-
date_created: string;
|
|
13
|
-
date_updated: string;
|
|
14
|
-
notification_type: string;
|
|
15
|
-
reference: string;
|
|
16
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { ErrorHandlerService } from '../shared/error-handler.service';
|
|
3
|
-
import { WebComponentHttpClient } from '../shared/httpclient/webcomponent.http.client';
|
|
4
|
-
import { PaymentLibService } from '../../payment-lib.service';
|
|
5
|
-
import { Observable } from 'rxjs/Observable';
|
|
6
|
-
import { IRefundsNotifications } from '../../interfaces/IRefundsNotifications';
|
|
7
|
-
export declare class NotificationService {
|
|
8
|
-
private http;
|
|
9
|
-
private https;
|
|
10
|
-
private errorHandlerService;
|
|
11
|
-
private paymentLibService;
|
|
12
|
-
constructor(http: HttpClient, https: WebComponentHttpClient, errorHandlerService: ErrorHandlerService, paymentLibService: PaymentLibService);
|
|
13
|
-
getRefundNotification(reference: string): Observable<IRefundsNotifications>;
|
|
14
|
-
getAddressByPostcode(postcode: string): Observable<any>;
|
|
15
|
-
}
|