@hmcts/ccpay-web-component 4.0.0-beta542 → 4.0.0-beta547
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 +69 -112
- 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 +33 -45
- package/esm2015/lib/components/case-transactions/case-transactions.component.js +4 -6
- package/esm2015/lib/components/payment-view/payment-view.component.js +24 -21
- package/esm2015/lib/components/refund-list/refund-list.component.js +1 -10
- package/esm2015/lib/components/refund-status/refund-status.component.js +2 -2
- package/esm2015/lib/components/table/table.component.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/shared/error-handler.service.js +3 -3
- package/esm5/hmcts-ccpay-web-component.js +4 -5
- package/esm5/lib/components/add-remission/add-remission.component.js +34 -47
- package/esm5/lib/components/case-transactions/case-transactions.component.js +4 -7
- package/esm5/lib/components/payment-view/payment-view.component.js +28 -22
- package/esm5/lib/components/refund-list/refund-list.component.js +1 -10
- package/esm5/lib/components/refund-status/refund-status.component.js +2 -2
- package/esm5/lib/components/table/table.component.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/shared/error-handler.service.js +3 -3
- package/fesm2015/hmcts-ccpay-web-component.js +61 -109
- package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
- package/fesm5/hmcts-ccpay-web-component.js +67 -118
- 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/case-transactions/case-transactions.component.d.ts +1 -1
- package/lib/components/payment-view/payment-view.component.d.ts +1 -0
- package/package.json +1 -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
|
}
|
|
@@ -93,7 +93,7 @@ export declare class CaseTransactionsComponent implements OnInit {
|
|
|
93
93
|
ngOnInit(): void;
|
|
94
94
|
setDefaults(): void;
|
|
95
95
|
getAllocationStatus(payments: any): any;
|
|
96
|
-
checkForExceptionRecord(
|
|
96
|
+
checkForExceptionRecord(): void;
|
|
97
97
|
calculateOrderFeesAmounts(): void;
|
|
98
98
|
resetOrderVariables(): void;
|
|
99
99
|
goToOrderViewDetailSection(orderReferenceObj: any): void;
|
|
@@ -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;
|
package/package.json
CHANGED
|
@@ -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==
|