@hmcts/ccpay-web-component 6.3.0-beta1 → 6.3.0-beta4
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/esm2022/lib/components/add-remission/add-remission.component.mjs +57 -8
- package/esm2022/lib/components/allocate-payments/allocate-payments.component.mjs +22 -6
- package/esm2022/lib/components/card-details/card-details.component.mjs +4 -4
- package/esm2022/lib/components/case-transactions/case-transactions.component.mjs +4 -4
- package/esm2022/lib/components/contact-details/contact-details.component.mjs +4 -4
- package/esm2022/lib/components/error-banner/error-banner.component.mjs +4 -4
- package/esm2022/lib/components/fee-summary/fee-summary.component.mjs +4 -4
- package/esm2022/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.mjs +4 -4
- package/esm2022/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.mjs +4 -4
- package/esm2022/lib/components/notification-preview/notification-preview.component.mjs +4 -4
- package/esm2022/lib/components/page-not-found.component.mjs +4 -4
- package/esm2022/lib/components/payment-list/payment-list.component.mjs +4 -4
- package/esm2022/lib/components/payment-view/payment-view.component.mjs +5 -4
- package/esm2022/lib/components/pba-details/pba-details.component.mjs +4 -4
- package/esm2022/lib/components/pba-payment/pba-payment.component.mjs +5 -5
- package/esm2022/lib/components/process-refund/process-refund.component.mjs +5 -5
- package/esm2022/lib/components/processed-payments/processed-payments.component.mjs +4 -4
- package/esm2022/lib/components/refund-list/refund-list.component.mjs +4 -4
- package/esm2022/lib/components/refund-status/refund-status.component.mjs +5 -5
- package/esm2022/lib/components/reports/reports.component.mjs +4 -4
- package/esm2022/lib/components/service-request/service-request.component.mjs +6 -4
- package/esm2022/lib/components/status-history/status-history.component.mjs +4 -4
- package/esm2022/lib/components/table/table.component.mjs +4 -4
- package/esm2022/lib/components/unprocessed-payments/unprocessed-payments.component.mjs +4 -4
- package/esm2022/lib/interfaces/NotificationPreviewRequest.mjs +4 -3
- package/esm2022/lib/payment-lib.component.mjs +5 -5
- package/esm2022/lib/payment-lib.module.mjs +35 -42
- package/esm2022/lib/payment-lib.service.mjs +4 -4
- package/esm2022/lib/pipes/capitalize.pipe.mjs +4 -4
- package/esm2022/lib/pipes/ccd-hyphens.pipe.mjs +4 -4
- package/esm2022/lib/pipes/key-value.pipe.mjs +4 -4
- package/esm2022/lib/pipes/sanitize-html.pipe.mjs +4 -4
- package/esm2022/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.mjs +4 -4
- package/esm2022/lib/services/card-details/card-details.service.mjs +4 -4
- package/esm2022/lib/services/case-transactions/case-transactions.service.mjs +4 -4
- package/esm2022/lib/services/notification/notification.service.mjs +4 -4
- package/esm2022/lib/services/orderslist.service.mjs +4 -4
- package/esm2022/lib/services/payment-list/payment-list.service.mjs +4 -4
- package/esm2022/lib/services/payment-view/payment-view.service.mjs +4 -4
- package/esm2022/lib/services/refunds/refunds.service.mjs +4 -4
- package/esm2022/lib/services/shared/error-handler.service.mjs +4 -4
- package/esm2022/lib/services/shared/httpclient/webcomponent.http.client.mjs +4 -4
- package/esm2022/lib/services/shared/logger/console-logger.service.mjs +4 -4
- package/esm2022/lib/services/shared/logger/logger.service.mjs +4 -4
- package/esm2022/lib/services/status-history/status-history.service.mjs +4 -4
- package/esm2022/lib/services/xl-file/xl-file.service.mjs +4 -4
- package/fesm2022/hmcts-ccpay-web-component.mjs +247 -185
- package/fesm2022/hmcts-ccpay-web-component.mjs.map +1 -1
- package/lib/components/add-remission/add-remission.component.d.ts +8 -1
- package/lib/components/allocate-payments/allocate-payments.component.d.ts +6 -2
- package/lib/components/case-transactions/case-transactions.component.d.ts +1 -1
- package/lib/components/fee-summary/fee-summary.component.d.ts +1 -1
- package/lib/interfaces/NotificationPreviewRequest.d.ts +1 -0
- package/lib/payment-lib.module.d.ts +19 -20
- package/package.json +3 -3
|
@@ -152,8 +152,9 @@ export declare class AddRemissionComponent implements OnInit {
|
|
|
152
152
|
ngOnInit(): void;
|
|
153
153
|
goToPaymentViewComponent(): void;
|
|
154
154
|
refundFeesList(): void;
|
|
155
|
-
get feesList(): FormArray
|
|
155
|
+
get feesList(): FormArray;
|
|
156
156
|
noneSelected(): boolean;
|
|
157
|
+
calculateRefundAmount(index: any, AppAmt: any): any;
|
|
157
158
|
check_en(i: any, v1: any, AppAmt: any, Volume: any): void;
|
|
158
159
|
addRemission(): void;
|
|
159
160
|
confirmRemission(): void;
|
|
@@ -195,6 +196,12 @@ export declare class AddRemissionComponent implements OnInit {
|
|
|
195
196
|
getRefundAmountToBeDisplayed(remission: IRemission): string;
|
|
196
197
|
getRefundAmountToBeDisplayedForContinueJourney(): string;
|
|
197
198
|
getRemissionAmountToBeDisplayed(remission: IRemission): string;
|
|
199
|
+
isRemissionEnabled(feeCode: string): boolean;
|
|
200
|
+
isRemissionEnabledForFeeCode(feeCode: string): boolean;
|
|
201
|
+
getRemissions(feeCode: string): IRemission;
|
|
202
|
+
getRemissionsHwfAmount(feeCode: string): string;
|
|
203
|
+
getNetAmountFee(hwfAmount: number, feeAmount: number): number;
|
|
204
|
+
getRemissionValueForFullyRefund(): number;
|
|
198
205
|
static ɵfac: i0.ɵɵFactoryDeclaration<AddRemissionComponent, never>;
|
|
199
206
|
static ɵcmp: i0.ɵɵComponentDeclaration<AddRemissionComponent, "ccpay-add-remission", never, { "fee": { "alias": "fee"; "required": false; }; "fees": { "alias": "fees"; "required": false; }; "payment": { "alias": "payment"; "required": false; }; "remission": { "alias": "remission"; "required": false; }; "ccdCaseNumber": { "alias": "ccdCaseNumber"; "required": false; }; "caseType": { "alias": "caseType"; "required": false; }; "viewCompStatus": { "alias": "viewCompStatus"; "required": false; }; "paymentGroupRef": { "alias": "paymentGroupRef"; "required": false; }; "isTurnOff": { "alias": "isTurnOff"; "required": false; }; "isRefundRemission": { "alias": "isRefundRemission"; "required": false; }; "isStrategicFixEnable": { "alias": "isStrategicFixEnable"; "required": false; }; "paidAmount": { "alias": "paidAmount"; "required": false; }; "isFromRefundListPage": { "alias": "isFromRefundListPage"; "required": false; }; "isFromPaymentDetailPage": { "alias": "isFromPaymentDetailPage"; "required": false; }; "isFromServiceRequestPage": { "alias": "isFromServiceRequestPage"; "required": false; }; "isFullyRefund": { "alias": "isFullyRefund"; "required": false; }; "feeamount": { "alias": "feeamount"; "required": false; }; "refundPaymentReference": { "alias": "refundPaymentReference"; "required": false; }; "isFromRefundStatusPage": { "alias": "isFromRefundStatusPage"; "required": false; }; "changeRefundReason": { "alias": "changeRefundReason"; "required": false; }; "isServiceRequest": { "alias": "isServiceRequest"; "required": false; }; "LOGGEDINUSERROLES": { "alias": "LOGGEDINUSERROLES"; "required": false; }; "orderDetail": { "alias": "orderDetail"; "required": false; }; "orderRef": { "alias": "orderRef"; "required": false; }; "orderStatus": { "alias": "orderStatus"; "required": false; }; "orderParty": { "alias": "orderParty"; "required": false; }; "orderCreated": { "alias": "orderCreated"; "required": false; }; "orderCCDEvent": { "alias": "orderCCDEvent"; "required": false; }; "takePayment": { "alias": "takepayment"; "required": false; }; "orderFeesTotal": { "alias": "orderFeesTotal"; "required": false; }; "orderTotalPayments": { "alias": "orderTotalPayments"; "required": false; }; "orderRemissionTotal": { "alias": "orderRemissionTotal"; "required": false; }; }, { "cancelRemission": "cancelRemission"; "refundListReason": "refundListReason"; "refundListAmount": "refundListAmount"; "refundFees": "refundFees"; }, never, never, true, never>;
|
|
200
207
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
1
|
+
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
2
|
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
3
|
import type { PaymentLibComponent } from '../../payment-lib.component';
|
|
4
4
|
import { PaymentViewService } from '../../services/payment-view/payment-view.service';
|
|
@@ -21,6 +21,8 @@ export declare class AllocatePaymentsComponent implements OnInit {
|
|
|
21
21
|
private OrderslistService;
|
|
22
22
|
isTurnOff: boolean;
|
|
23
23
|
caseType: string;
|
|
24
|
+
reasonEventEmitter: EventEmitter<string>;
|
|
25
|
+
explanationEventEmitter: EventEmitter<string>;
|
|
24
26
|
overUnderPaymentForm: FormGroup;
|
|
25
27
|
viewStatus: string;
|
|
26
28
|
ccdCaseNumber: string;
|
|
@@ -92,6 +94,8 @@ export declare class AllocatePaymentsComponent implements OnInit {
|
|
|
92
94
|
constructor(errorHandlerService: ErrorHandlerService, caseTransactionsService: CaseTransactionsService, formBuilder: FormBuilder, paymentViewService: PaymentViewService, paymentLibComponent: PaymentLibAlias, bulkScaningPaymentService: BulkScaningPaymentService, OrderslistService: OrderslistService);
|
|
93
95
|
ngOnInit(): void;
|
|
94
96
|
getGroupOutstandingAmount(paymentGroup: IPaymentGroup): number;
|
|
97
|
+
getExplanationValue(inputValue: string): void;
|
|
98
|
+
getReasonValue(inputValue: string): void;
|
|
95
99
|
getPaymentGroupDetails(): void;
|
|
96
100
|
selectedPaymentGroup(paymentGroup: IPaymentGroup): void;
|
|
97
101
|
gotoCasetransationPage(): void;
|
|
@@ -106,6 +110,6 @@ export declare class AllocatePaymentsComponent implements OnInit {
|
|
|
106
110
|
OrderListSelectEvent(orderef: any): void;
|
|
107
111
|
redirectToOrderFeeSearchPage(): void;
|
|
108
112
|
static ɵfac: i0.ɵɵFactoryDeclaration<AllocatePaymentsComponent, never>;
|
|
109
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AllocatePaymentsComponent, "app-allocate-payments", never, { "isTurnOff": { "alias": "isTurnOff"; "required": false; }; "caseType": { "alias": "caseType"; "required": false; }; }, {}, never, never, false, never>;
|
|
113
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AllocatePaymentsComponent, "app-allocate-payments", never, { "isTurnOff": { "alias": "isTurnOff"; "required": false; }; "caseType": { "alias": "caseType"; "required": false; }; }, { "reasonEventEmitter": "reasonEventEmitter"; "explanationEventEmitter": "explanationEventEmitter"; }, never, never, false, never>;
|
|
110
114
|
}
|
|
111
115
|
export {};
|
|
@@ -125,7 +125,7 @@ export declare class CaseTransactionsComponent implements OnInit {
|
|
|
125
125
|
confirmRemoveFee(fee: IFee): void;
|
|
126
126
|
cancelRemoval(): void;
|
|
127
127
|
removeFee(fee: any): void;
|
|
128
|
-
isCheckAmountdueExist(amountDue: any):
|
|
128
|
+
isCheckAmountdueExist(amountDue: any): amountDue is undefined;
|
|
129
129
|
issueRefund(payment: IPayment): void;
|
|
130
130
|
chkForAddRemission(feeCode: string): boolean;
|
|
131
131
|
chkForPBAPayment(): boolean;
|
|
@@ -56,7 +56,7 @@ export declare class FeeSummaryComponent implements OnInit {
|
|
|
56
56
|
redirectToFeeSearchPage(event: any, page?: string): void;
|
|
57
57
|
takePayment(): void;
|
|
58
58
|
goToAllocatePage(outStandingAmount: number, isFeeAmountZero: Boolean): void;
|
|
59
|
-
isCheckAmountdueExist(amountDue: any):
|
|
59
|
+
isCheckAmountdueExist(amountDue: any): amountDue is undefined;
|
|
60
60
|
static ɵfac: i0.ɵɵFactoryDeclaration<FeeSummaryComponent, never>;
|
|
61
61
|
static ɵcmp: i0.ɵɵComponentDeclaration<FeeSummaryComponent, "ccpay-fee-summary", never, { "paymentGroupRef": { "alias": "paymentGroupRef"; "required": false; }; "ccdCaseNumber": { "alias": "ccdCaseNumber"; "required": false; }; "isTurnOff": { "alias": "isTurnOff"; "required": false; }; "caseType": { "alias": "caseType"; "required": false; }; }, {}, never, never, false, never>;
|
|
62
62
|
}
|
|
@@ -17,27 +17,26 @@ import * as i15 from "./components/reports/reports.component";
|
|
|
17
17
|
import * as i16 from "./components/error-banner/error-banner.component";
|
|
18
18
|
import * as i17 from "./components/table/table.component";
|
|
19
19
|
import * as i18 from "@angular/common";
|
|
20
|
-
import * as i19 from "@angular/
|
|
21
|
-
import * as i20 from "@angular/
|
|
22
|
-
import * as i21 from "@angular/material/
|
|
23
|
-
import * as i22 from "@angular/material/
|
|
24
|
-
import * as i23 from "@angular/material/
|
|
25
|
-
import * as i24 from "@angular/material/
|
|
26
|
-
import * as i25 from "
|
|
27
|
-
import * as i26 from "./pipes/
|
|
28
|
-
import * as i27 from "./
|
|
29
|
-
import * as i28 from "./components/
|
|
30
|
-
import * as i29 from "./components/
|
|
31
|
-
import * as i30 from "./components/
|
|
32
|
-
import * as i31 from "./components/
|
|
33
|
-
import * as i32 from "./components/
|
|
34
|
-
import * as i33 from "./components/
|
|
35
|
-
import * as i34 from "./components/
|
|
36
|
-
import * as i35 from "./components/
|
|
37
|
-
import * as i36 from "
|
|
38
|
-
import * as i37 from "rpx-xui-translation";
|
|
20
|
+
import * as i19 from "@angular/forms";
|
|
21
|
+
import * as i20 from "@angular/material/table";
|
|
22
|
+
import * as i21 from "@angular/material/paginator";
|
|
23
|
+
import * as i22 from "@angular/material/sort";
|
|
24
|
+
import * as i23 from "@angular/material/form-field";
|
|
25
|
+
import * as i24 from "@angular/material/input";
|
|
26
|
+
import * as i25 from "./pipes/ccd-hyphens.pipe";
|
|
27
|
+
import * as i26 from "./pipes/capitalize.pipe";
|
|
28
|
+
import * as i27 from "./components/payment-view/payment-view.component";
|
|
29
|
+
import * as i28 from "./components/contact-details/contact-details.component";
|
|
30
|
+
import * as i29 from "./components/add-remission/add-remission.component";
|
|
31
|
+
import * as i30 from "./components/service-request/service-request.component";
|
|
32
|
+
import * as i31 from "./components/notification-preview/notification-preview.component";
|
|
33
|
+
import * as i32 from "./components/case-transactions/case-transactions.component";
|
|
34
|
+
import * as i33 from "./components/unprocessed-payments/unprocessed-payments.component";
|
|
35
|
+
import * as i34 from "./components/refund-status/refund-status.component";
|
|
36
|
+
import * as i35 from "./components/pba-payment/pba-payment.component";
|
|
37
|
+
import * as i36 from "rpx-xui-translation";
|
|
39
38
|
export declare class PaymentLibModule {
|
|
40
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<PaymentLibModule, never>;
|
|
41
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PaymentLibModule, [typeof i1.PaymentLibComponent, typeof i2.PaymentListComponent, typeof i3.ProcessRefundComponent, typeof i4.RefundListComponent, typeof i5.CardDetailsComponent, typeof i6.PageNotFoundComponent, typeof i7.MarkUnidentifiedPaymentComponent, typeof i8.MarkUnsolicitedPaymentComponent, typeof i9.ProcessedPaymentsComponent, typeof i10.AllocatePaymentsComponent, typeof i11.PbaDetailsComponent, typeof i12.FeeSummaryComponent, typeof i13.keyValuePipe, typeof i14.SanitizeHtmlPipe, typeof i15.ReportsComponent, typeof i16.ErrorBannerComponent, typeof i17.TableComponent], [typeof i18.CommonModule, typeof i19.
|
|
40
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PaymentLibModule, [typeof i1.PaymentLibComponent, typeof i2.PaymentListComponent, typeof i3.ProcessRefundComponent, typeof i4.RefundListComponent, typeof i5.CardDetailsComponent, typeof i6.PageNotFoundComponent, typeof i7.MarkUnidentifiedPaymentComponent, typeof i8.MarkUnsolicitedPaymentComponent, typeof i9.ProcessedPaymentsComponent, typeof i10.AllocatePaymentsComponent, typeof i11.PbaDetailsComponent, typeof i12.FeeSummaryComponent, typeof i13.keyValuePipe, typeof i14.SanitizeHtmlPipe, typeof i15.ReportsComponent, typeof i16.ErrorBannerComponent, typeof i17.TableComponent], [typeof i18.CommonModule, typeof i19.FormsModule, typeof i19.ReactiveFormsModule, typeof i20.MatTableModule, typeof i21.MatPaginatorModule, typeof i22.MatSortModule, typeof i23.MatFormFieldModule, typeof i24.MatInputModule, typeof i25.CcdHyphensPipe, typeof i26.CapitalizePipe, typeof i27.PaymentViewComponent, typeof i28.ContactDetailsComponent, typeof i29.AddRemissionComponent, typeof i30.ServiceRequestComponent, typeof i31.NotificationPreviewComponent, typeof i32.CaseTransactionsComponent, typeof i29.AddRemissionComponent, typeof i33.UnprocessedPaymentsComponent, typeof i34.RefundStatusComponent, typeof i35.PbaPaymentComponent, typeof i36.RpxTranslationModule], [typeof i1.PaymentLibComponent]>;
|
|
42
41
|
static ɵinj: i0.ɵɵInjectorDeclaration<PaymentLibModule>;
|
|
43
42
|
}
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hmcts/ccpay-web-component",
|
|
3
|
-
"version": "6.3.0-
|
|
3
|
+
"version": "6.3.0-beta4",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
7
|
"peerDependencies": {
|
|
8
|
-
"@angular/common": "^
|
|
9
|
-
"@angular/core": "^
|
|
8
|
+
"@angular/common": "^18.2.13",
|
|
9
|
+
"@angular/core": "^18.2.13"
|
|
10
10
|
},
|
|
11
11
|
"license": "MIT",
|
|
12
12
|
"repository": "https://github.com/hmcts/ccpay-web-component.git",
|