@hmcts/ccpay-web-component 5.0.8-beta05 → 5.0.8-beta10
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 +1690 -7568
- package/bundles/hmcts-ccpay-web-component.umd.js.map +1 -1
- package/bundles/hmcts-ccpay-web-component.umd.min.js +2 -2
- package/bundles/hmcts-ccpay-web-component.umd.min.js.map +1 -1
- package/esm2015/hmcts-ccpay-web-component.js +2 -7
- package/esm2015/lib/components/add-remission/add-remission.component.js +166 -446
- package/esm2015/lib/components/allocate-payments/allocate-payments.component.js +61 -360
- package/esm2015/lib/components/card-details/card-details.component.js +15 -55
- package/esm2015/lib/components/case-transactions/case-transactions.component.js +127 -698
- package/esm2015/lib/components/error-banner/error-banner.component.js +16 -26
- package/esm2015/lib/components/fee-summary/fee-summary.component.js +59 -268
- package/esm2015/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.js +40 -192
- package/esm2015/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.js +44 -236
- package/esm2015/lib/components/page-not-found.component.js +10 -13
- package/esm2015/lib/components/payment-list/payment-list.component.js +15 -56
- package/esm2015/lib/components/payment-view/payment-view.component.js +115 -361
- package/esm2015/lib/components/pba-details/pba-details.component.js +16 -26
- package/esm2015/lib/components/pba-payment/pba-payment.component.js +27 -130
- package/esm2015/lib/components/process-refund/process-refund.component.js +39 -190
- package/esm2015/lib/components/processed-payments/processed-payments.component.js +22 -53
- package/esm2015/lib/components/refund-list/refund-list.component.js +32 -91
- package/esm2015/lib/components/refund-status/refund-status.component.js +58 -270
- package/esm2015/lib/components/reports/reports.component.js +39 -223
- package/esm2015/lib/components/service-request/service-request.component.js +108 -394
- package/esm2015/lib/components/status-history/status-history.component.js +19 -55
- package/esm2015/lib/components/table/table.component.js +39 -120
- package/esm2015/lib/components/unprocessed-payments/unprocessed-payments.component.js +65 -203
- package/esm2015/lib/interfaces/AddRemissionRequest.js +1 -29
- package/esm2015/lib/interfaces/AddRetroRemissionRequest.js +1 -16
- package/esm2015/lib/interfaces/AllocatePaymentRequest.js +1 -43
- package/esm2015/lib/interfaces/IAllocationPaymentsRequest.js +1 -27
- package/esm2015/lib/interfaces/IBSPayments.js +1 -46
- package/esm2015/lib/interfaces/ICardDetails.js +1 -22
- package/esm2015/lib/interfaces/IFee.js +1 -54
- package/esm2015/lib/interfaces/IOrderReferenceFee.js +1 -26
- package/esm2015/lib/interfaces/IPatchRefundAction.js +1 -16
- package/esm2015/lib/interfaces/IPayment.js +1 -66
- package/esm2015/lib/interfaces/IPaymentFailure.js +1 -34
- package/esm2015/lib/interfaces/IPaymentGroup.js +1 -20
- package/esm2015/lib/interfaces/IPaymentStatus.js +1 -26
- package/esm2015/lib/interfaces/IPaymentView.js +1 -18
- package/esm2015/lib/interfaces/IPayments.js +1 -14
- package/esm2015/lib/interfaces/IRefundAction.js +1 -16
- package/esm2015/lib/interfaces/IRefundList.js +1 -30
- package/esm2015/lib/interfaces/IRefundReasons.js +1 -20
- package/esm2015/lib/interfaces/IRefundRejectReason.js +1 -16
- package/esm2015/lib/interfaces/IRefundStatus.js +1 -24
- package/esm2015/lib/interfaces/IRefundStatusHistory.js +1 -16
- package/esm2015/lib/interfaces/IRemission.js +1 -26
- package/esm2015/lib/interfaces/IResubmitRefundRequest.js +1 -16
- package/esm2015/lib/interfaces/IStatusHistories.js +1 -20
- package/esm2015/lib/interfaces/IStatusHistory.js +1 -22
- package/esm2015/lib/interfaces/IserviceRequestCardPayment.js +1 -17
- package/esm2015/lib/interfaces/IserviceRequestPbaPayment.js +1 -24
- package/esm2015/lib/interfaces/IssueRefundRequest.js +1 -19
- package/esm2015/lib/interfaces/PayhubAntennaRequest.js +2 -22
- package/esm2015/lib/interfaces/PaymentToPayhubRequest.js +2 -28
- package/esm2015/lib/interfaces/PostIssueRefundRetroRemission.js +1 -13
- package/esm2015/lib/interfaces/PostRefundRetroRemission.js +1 -16
- package/esm2015/lib/interfaces/RefundsRequest.js +1 -16
- package/esm2015/lib/interfaces/UnidentifiedPaymentsRequest.js +1 -21
- package/esm2015/lib/interfaces/UnsolicitedPaymentsRequest.js +1 -30
- package/esm2015/lib/payment-lib.component.js +120 -188
- package/esm2015/lib/payment-lib.module.js +55 -58
- package/esm2015/lib/payment-lib.service.js +12 -54
- package/esm2015/lib/pipes/capitalize.pipe.js +11 -20
- package/esm2015/lib/pipes/ccd-hyphens.pipe.js +11 -21
- package/esm2015/lib/pipes/key-value.pipe.js +11 -20
- package/esm2015/lib/pipes/sanitize-html.pipe.js +10 -27
- package/esm2015/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.js +22 -110
- package/esm2015/lib/services/card-details/card-details.service.js +15 -47
- package/esm2015/lib/services/case-transactions/case-transactions.service.js +15 -47
- package/esm2015/lib/services/orderslist.service.js +12 -260
- package/esm2015/lib/services/payment-list/payment-list.service.js +15 -50
- package/esm2015/lib/services/payment-view/payment-view.service.js +18 -177
- package/esm2015/lib/services/refunds/refunds.service.js +21 -117
- package/esm2015/lib/services/shared/error-handler.service.js +12 -28
- package/esm2015/lib/services/shared/httpclient/webcomponent.http.client.js +15 -88
- package/esm2015/lib/services/shared/logger/console-logger.service.js +12 -35
- package/esm2015/lib/services/shared/logger/logger.service.js +12 -43
- package/esm2015/lib/services/status-history/status-history.service.js +15 -48
- package/esm2015/lib/services/xl-file/xl-file.service.js +10 -67
- package/esm2015/public_api.js +4 -9
- package/esm5/hmcts-ccpay-web-component.js +2 -7
- package/esm5/lib/components/add-remission/add-remission.component.js +185 -542
- package/esm5/lib/components/allocate-payments/allocate-payments.component.js +75 -420
- package/esm5/lib/components/card-details/card-details.component.js +14 -54
- package/esm5/lib/components/case-transactions/case-transactions.component.js +160 -851
- package/esm5/lib/components/error-banner/error-banner.component.js +15 -29
- package/esm5/lib/components/fee-summary/fee-summary.component.js +70 -321
- package/esm5/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.js +46 -224
- package/esm5/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.js +52 -278
- package/esm5/lib/components/page-not-found.component.js +7 -11
- package/esm5/lib/components/payment-list/payment-list.component.js +14 -61
- package/esm5/lib/components/payment-view/payment-view.component.js +134 -440
- package/esm5/lib/components/pba-details/pba-details.component.js +15 -29
- package/esm5/lib/components/pba-payment/pba-payment.component.js +30 -150
- package/esm5/lib/components/process-refund/process-refund.component.js +45 -272
- package/esm5/lib/components/processed-payments/processed-payments.component.js +22 -63
- package/esm5/lib/components/refund-list/refund-list.component.js +30 -90
- package/esm5/lib/components/refund-status/refund-status.component.js +71 -335
- package/esm5/lib/components/reports/reports.component.js +49 -276
- package/esm5/lib/components/service-request/service-request.component.js +122 -462
- package/esm5/lib/components/status-history/status-history.component.js +17 -53
- package/esm5/lib/components/table/table.component.js +44 -154
- package/esm5/lib/components/unprocessed-payments/unprocessed-payments.component.js +75 -259
- package/esm5/lib/interfaces/AddRemissionRequest.js +1 -22
- package/esm5/lib/interfaces/AddRetroRemissionRequest.js +1 -12
- package/esm5/lib/interfaces/AllocatePaymentRequest.js +1 -36
- package/esm5/lib/interfaces/IAllocationPaymentsRequest.js +1 -20
- package/esm5/lib/interfaces/IBSPayments.js +1 -46
- package/esm5/lib/interfaces/ICardDetails.js +1 -22
- package/esm5/lib/interfaces/IFee.js +1 -54
- package/esm5/lib/interfaces/IOrderReferenceFee.js +1 -26
- package/esm5/lib/interfaces/IPatchRefundAction.js +1 -16
- package/esm5/lib/interfaces/IPayment.js +1 -66
- package/esm5/lib/interfaces/IPaymentFailure.js +1 -34
- package/esm5/lib/interfaces/IPaymentGroup.js +1 -20
- package/esm5/lib/interfaces/IPaymentStatus.js +1 -26
- package/esm5/lib/interfaces/IPaymentView.js +1 -18
- package/esm5/lib/interfaces/IPayments.js +1 -14
- package/esm5/lib/interfaces/IRefundAction.js +1 -16
- package/esm5/lib/interfaces/IRefundList.js +1 -30
- package/esm5/lib/interfaces/IRefundReasons.js +1 -20
- package/esm5/lib/interfaces/IRefundRejectReason.js +1 -16
- package/esm5/lib/interfaces/IRefundStatus.js +1 -24
- package/esm5/lib/interfaces/IRefundStatusHistory.js +1 -16
- package/esm5/lib/interfaces/IRemission.js +1 -26
- package/esm5/lib/interfaces/IResubmitRefundRequest.js +1 -12
- package/esm5/lib/interfaces/IStatusHistories.js +1 -20
- package/esm5/lib/interfaces/IStatusHistory.js +1 -22
- package/esm5/lib/interfaces/IserviceRequestCardPayment.js +1 -14
- package/esm5/lib/interfaces/IserviceRequestPbaPayment.js +1 -18
- package/esm5/lib/interfaces/IssueRefundRequest.js +1 -14
- package/esm5/lib/interfaces/PayhubAntennaRequest.js +2 -17
- package/esm5/lib/interfaces/PaymentToPayhubRequest.js +2 -23
- package/esm5/lib/interfaces/PostIssueRefundRetroRemission.js +1 -10
- package/esm5/lib/interfaces/PostRefundRetroRemission.js +1 -12
- package/esm5/lib/interfaces/RefundsRequest.js +1 -12
- package/esm5/lib/interfaces/UnidentifiedPaymentsRequest.js +1 -16
- package/esm5/lib/interfaces/UnsolicitedPaymentsRequest.js +1 -22
- package/esm5/lib/payment-lib.component.js +114 -184
- package/esm5/lib/payment-lib.module.js +52 -56
- package/esm5/lib/payment-lib.service.js +17 -88
- package/esm5/lib/pipes/capitalize.pipe.js +9 -24
- package/esm5/lib/pipes/ccd-hyphens.pipe.js +9 -25
- package/esm5/lib/pipes/key-value.pipe.js +9 -23
- package/esm5/lib/pipes/sanitize-html.pipe.js +8 -27
- package/esm5/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.js +28 -153
- package/esm5/lib/services/card-details/card-details.service.js +13 -44
- package/esm5/lib/services/case-transactions/case-transactions.service.js +13 -44
- package/esm5/lib/services/orderslist.service.js +45 -420
- package/esm5/lib/services/payment-list/payment-list.service.js +13 -48
- package/esm5/lib/services/payment-view/payment-view.service.js +40 -307
- package/esm5/lib/services/refunds/refunds.service.js +29 -164
- package/esm5/lib/services/shared/error-handler.service.js +11 -38
- package/esm5/lib/services/shared/httpclient/webcomponent.http.client.js +18 -120
- package/esm5/lib/services/shared/logger/console-logger.service.js +13 -42
- package/esm5/lib/services/shared/logger/logger.service.js +11 -54
- package/esm5/lib/services/status-history/status-history.service.js +13 -46
- package/esm5/lib/services/xl-file/xl-file.service.js +15 -115
- package/esm5/public_api.js +4 -9
- package/fesm2015/hmcts-ccpay-web-component.js +1435 -6224
- package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
- package/fesm5/hmcts-ccpay-web-component.js +1694 -7576
- package/fesm5/hmcts-ccpay-web-component.js.map +1 -1
- package/hmcts-ccpay-web-component.metadata.json +1 -1
- package/lib/components/card-details/card-details.component.d.ts +1 -1
- package/lib/components/payment-view/payment-view.component.d.ts +2 -2
- package/lib/services/shared/logger/console-logger.service.d.ts +3 -3
- package/package.json +2 -2
|
@@ -1,37 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
* @fileoverview added by tsickle
|
|
3
|
-
* Generated from: lib/components/pba-details/pba-details.component.ts
|
|
4
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5
|
-
*/
|
|
1
|
+
import { __decorate, __metadata } from "tslib";
|
|
6
2
|
import { Component, Input } from '@angular/core';
|
|
7
3
|
var PbaDetailsComponent = /** @class */ (function () {
|
|
8
4
|
function PbaDetailsComponent() {
|
|
9
5
|
}
|
|
10
|
-
|
|
11
|
-
* @return {?}
|
|
12
|
-
*/
|
|
13
|
-
PbaDetailsComponent.prototype.ngOnInit = /**
|
|
14
|
-
* @return {?}
|
|
15
|
-
*/
|
|
16
|
-
function () {
|
|
17
|
-
};
|
|
18
|
-
PbaDetailsComponent.decorators = [
|
|
19
|
-
{ type: Component, args: [{
|
|
20
|
-
selector: 'ccpay-pba-details',
|
|
21
|
-
template: "\n <h2 class=\"heading-large\">Payment method</h2>\n <table>\n <tbody>\n <tr>\n <td class=\"bold tb-col-w\">Method</td>\n <td class=\"capitalize\">{{ payment.method | lowercase}}</td>\n </tr>\n <tr>\n <td class=\"bold tb-col-w\">Type</td>\n <td>Credit</td>\n </tr>\n <tr *ngIf=\"payment.organisation_name\">\n <td class=\"bold tb-col-w\">PBA account name</td>\n <td>{{ payment.organisation_name }}</td>\n </tr>\n <tr *ngIf=\"payment.account_number\">\n <td class=\"bold tb-col-w\">PBA number</td>\n <td>{{ payment.account_number }}</td>\n </tr>\n <tr *ngIf=\"payment.customer_reference\">\n <td class=\"bold tb-col-w\">Customer internal reference</td>\n <td>{{ payment.customer_reference }}</td>\n </tr>\n </tbody>\n </table>\n",
|
|
22
|
-
styles: [".capitalize::first-letter{text-transform:uppercase}.tb-col-w{width:330px}"]
|
|
23
|
-
}] }
|
|
24
|
-
];
|
|
25
|
-
/** @nocollapse */
|
|
26
|
-
PbaDetailsComponent.ctorParameters = function () { return []; };
|
|
27
|
-
PbaDetailsComponent.propDecorators = {
|
|
28
|
-
payment: [{ type: Input }]
|
|
6
|
+
PbaDetailsComponent.prototype.ngOnInit = function () {
|
|
29
7
|
};
|
|
8
|
+
__decorate([
|
|
9
|
+
Input(),
|
|
10
|
+
__metadata("design:type", Object)
|
|
11
|
+
], PbaDetailsComponent.prototype, "payment", void 0);
|
|
12
|
+
PbaDetailsComponent = __decorate([
|
|
13
|
+
Component({
|
|
14
|
+
selector: 'ccpay-pba-details',
|
|
15
|
+
template: "\n <h2 class=\"heading-large\">Payment method</h2>\n <table>\n <tbody>\n <tr>\n <td class=\"bold tb-col-w\">Method</td>\n <td class=\"capitalize\">{{ payment.method | lowercase}}</td>\n </tr>\n <tr>\n <td class=\"bold tb-col-w\">Type</td>\n <td>Credit</td>\n </tr>\n <tr *ngIf=\"payment.organisation_name\">\n <td class=\"bold tb-col-w\">PBA account name</td>\n <td>{{ payment.organisation_name }}</td>\n </tr>\n <tr *ngIf=\"payment.account_number\">\n <td class=\"bold tb-col-w\">PBA number</td>\n <td>{{ payment.account_number }}</td>\n </tr>\n <tr *ngIf=\"payment.customer_reference\">\n <td class=\"bold tb-col-w\">Customer internal reference</td>\n <td>{{ payment.customer_reference }}</td>\n </tr>\n </tbody>\n </table>\n",
|
|
16
|
+
styles: [".capitalize::first-letter{text-transform:uppercase}.tb-col-w{width:330px}"]
|
|
17
|
+
}),
|
|
18
|
+
__metadata("design:paramtypes", [])
|
|
19
|
+
], PbaDetailsComponent);
|
|
30
20
|
return PbaDetailsComponent;
|
|
31
21
|
}());
|
|
32
22
|
export { PbaDetailsComponent };
|
|
33
|
-
|
|
34
|
-
/** @type {?} */
|
|
35
|
-
PbaDetailsComponent.prototype.payment;
|
|
36
|
-
}
|
|
37
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGJhLWRldGFpbHMuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGhtY3RzL2NjcGF5LXdlYi1jb21wb25lbnQvIiwic291cmNlcyI6WyJsaWIvY29tcG9uZW50cy9wYmEtZGV0YWlscy9wYmEtZGV0YWlscy5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBVSxNQUFNLGVBQWUsQ0FBQztBQUd6RDtJQVFFO0lBQWdCLENBQUM7Ozs7SUFFakIsc0NBQVE7OztJQUFSO0lBQ0EsQ0FBQzs7Z0JBWEYsU0FBUyxTQUFDO29CQUNULFFBQVEsRUFBRSxtQkFBbUI7b0JBQzdCLDR6QkFBMkM7O2lCQUU1Qzs7Ozs7MEJBRUUsS0FBSzs7SUFPUiwwQkFBQztDQUFBLEFBYkQsSUFhQztTQVJZLG1CQUFtQjs7O0lBQzlCLHNDQUEyQiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbXBvbmVudCwgSW5wdXQsIE9uSW5pdCB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgSVBheW1lbnQgfSBmcm9tICcuLi8uLi9pbnRl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bXBvbmVudCwgSW5wdXQsIE9uSW5pdCB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgSVBheW1lbnQgfSBmcm9tICcuLi8uLi9pbnRlcmZhY2VzL0lQYXltZW50JztcblxuQENvbXBvbmVudCh7XG4gIHNlbGVjdG9yOiAnY2NwYXktcGJhLWRldGFpbHMnLFxuICB0ZW1wbGF0ZVVybDogJy4vcGJhLWRldGFpbHMuY29tcG9uZW50Lmh0bWwnLFxuICBzdHlsZVVybHM6IFsnLi9wYmEtZGV0YWlscy5jb21wb25lbnQuY3NzJ11cbn0pXG5leHBvcnQgY2xhc3MgUGJhRGV0YWlsc0NvbXBvbmVudCBpbXBsZW1lbnRzIE9uSW5pdCB7XG4gIEBJbnB1dCgpIHBheW1lbnQ6IElQYXltZW50O1xuXG4gIGNvbnN0cnVjdG9yKCkgeyB9XG5cbiAgbmdPbkluaXQoKSB7XG4gIH1cblxufVxuIl19
|
|
@@ -1,14 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
* @fileoverview added by tsickle
|
|
3
|
-
* Generated from: lib/components/pba-payment/pba-payment.component.ts
|
|
4
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5
|
-
*/
|
|
1
|
+
import { __decorate, __metadata } from "tslib";
|
|
6
2
|
import { Component, Input } from '@angular/core';
|
|
7
3
|
import { PaymentViewService } from '../../services/payment-view/payment-view.service';
|
|
8
4
|
import { PaymentLibComponent } from '../../payment-lib.component';
|
|
9
5
|
import { IserviceRequestCardPayment } from '../../interfaces/IserviceRequestCardPayment';
|
|
10
6
|
import { IserviceRequestPbaPayment } from '../../interfaces/IserviceRequestPbaPayment';
|
|
11
|
-
/** @type {?} */
|
|
12
7
|
var BS_ENABLE_FLAG = 'bulk-scan-enabling-fe';
|
|
13
8
|
var PbaPaymentComponent = /** @class */ (function () {
|
|
14
9
|
function PbaPaymentComponent(paymentLibComponent, paymentViewService) {
|
|
@@ -29,43 +24,21 @@ var PbaPaymentComponent = /** @class */ (function () {
|
|
|
29
24
|
this.isPBAAccountPaymentSuccess = false;
|
|
30
25
|
this.orgName = '';
|
|
31
26
|
}
|
|
32
|
-
|
|
33
|
-
* @return {?}
|
|
34
|
-
*/
|
|
35
|
-
PbaPaymentComponent.prototype.ngOnInit = /**
|
|
36
|
-
* @return {?}
|
|
37
|
-
*/
|
|
38
|
-
function () {
|
|
27
|
+
PbaPaymentComponent.prototype.ngOnInit = function () {
|
|
39
28
|
var _this = this;
|
|
40
29
|
this.pbaPayOrderRef = this.paymentLibComponent.pbaPayOrderRef;
|
|
41
30
|
this.viewStatus = 'pba-payment';
|
|
42
31
|
this.errorMsg = null;
|
|
43
32
|
this.paymentViewService.getPBAaccountDetails()
|
|
44
|
-
.subscribe((
|
|
45
|
-
* @param {?} result
|
|
46
|
-
* @return {?}
|
|
47
|
-
*/
|
|
48
|
-
function (result) {
|
|
33
|
+
.subscribe(function (result) {
|
|
49
34
|
_this.isGetPBAAccountSucceed = true;
|
|
50
35
|
_this.orgName = result.organisationEntityResponse.name;
|
|
51
36
|
_this.pbaAccountList = result.organisationEntityResponse.paymentAccount;
|
|
52
|
-
}
|
|
53
|
-
* @param {?} error
|
|
54
|
-
* @return {?}
|
|
55
|
-
*/
|
|
56
|
-
function (error) {
|
|
37
|
+
}, function (error) {
|
|
57
38
|
_this.errorMsg = error;
|
|
58
|
-
})
|
|
39
|
+
});
|
|
59
40
|
};
|
|
60
|
-
|
|
61
|
-
* @param {?} args
|
|
62
|
-
* @return {?}
|
|
63
|
-
*/
|
|
64
|
-
PbaPaymentComponent.prototype.selectpbaaccount = /**
|
|
65
|
-
* @param {?} args
|
|
66
|
-
* @return {?}
|
|
67
|
-
*/
|
|
68
|
-
function (args) {
|
|
41
|
+
PbaPaymentComponent.prototype.selectpbaaccount = function (args) {
|
|
69
42
|
if (args.currentTarget.id === 'pbaAccountNumber') {
|
|
70
43
|
this.isPBADropdownSelected = true;
|
|
71
44
|
this.selectedPbaAccount = args.target.value;
|
|
@@ -80,13 +53,7 @@ var PbaPaymentComponent = /** @class */ (function () {
|
|
|
80
53
|
this.isContinueButtondisabled = true;
|
|
81
54
|
}
|
|
82
55
|
};
|
|
83
|
-
|
|
84
|
-
* @return {?}
|
|
85
|
-
*/
|
|
86
|
-
PbaPaymentComponent.prototype.saveAndContinue = /**
|
|
87
|
-
* @return {?}
|
|
88
|
-
*/
|
|
89
|
-
function () {
|
|
56
|
+
PbaPaymentComponent.prototype.saveAndContinue = function () {
|
|
90
57
|
var _this = this;
|
|
91
58
|
if (this.isPbaAccountSelected) {
|
|
92
59
|
this.isInSufficiantFund = false;
|
|
@@ -94,14 +61,9 @@ var PbaPaymentComponent = /** @class */ (function () {
|
|
|
94
61
|
this.isPBAServerError = false;
|
|
95
62
|
this.isPBAAccountPaymentSuccess = false;
|
|
96
63
|
if (this.pbaAccountList.indexOf(this.selectedPbaAccount) !== -1) {
|
|
97
|
-
/** @type {?} */
|
|
98
64
|
var requestBody = new IserviceRequestPbaPayment(this.selectedPbaAccount, this.pbaPayOrderRef.orderTotalFees, this.pbaAccountRef, this.orgName);
|
|
99
65
|
this.paymentViewService.postPBAaccountPayment(this.pbaPayOrderRef.orderRefId, requestBody)
|
|
100
|
-
.subscribe((
|
|
101
|
-
* @param {?} r
|
|
102
|
-
* @return {?}
|
|
103
|
-
*/
|
|
104
|
-
function (r) {
|
|
66
|
+
.subscribe(function (r) {
|
|
105
67
|
try {
|
|
106
68
|
_this.pbaAccountrPaymentResult = JSON.parse(r);
|
|
107
69
|
}
|
|
@@ -109,11 +71,7 @@ var PbaPaymentComponent = /** @class */ (function () {
|
|
|
109
71
|
_this.pbaAccountrPaymentResult = r;
|
|
110
72
|
}
|
|
111
73
|
_this.isPBAAccountPaymentSuccess = true;
|
|
112
|
-
}
|
|
113
|
-
* @param {?} e
|
|
114
|
-
* @return {?}
|
|
115
|
-
*/
|
|
116
|
-
function (e) {
|
|
74
|
+
}, function (e) {
|
|
117
75
|
if (e.status == '402') {
|
|
118
76
|
_this.isInSufficiantFund = true;
|
|
119
77
|
}
|
|
@@ -126,7 +84,7 @@ var PbaPaymentComponent = /** @class */ (function () {
|
|
|
126
84
|
else {
|
|
127
85
|
_this.isPBAServerError = true;
|
|
128
86
|
}
|
|
129
|
-
})
|
|
87
|
+
});
|
|
130
88
|
}
|
|
131
89
|
else {
|
|
132
90
|
this.isPBAServerError = true;
|
|
@@ -136,43 +94,19 @@ var PbaPaymentComponent = /** @class */ (function () {
|
|
|
136
94
|
this.cardPayment();
|
|
137
95
|
}
|
|
138
96
|
};
|
|
139
|
-
|
|
140
|
-
* @return {?}
|
|
141
|
-
*/
|
|
142
|
-
PbaPaymentComponent.prototype.cardPayment = /**
|
|
143
|
-
* @return {?}
|
|
144
|
-
*/
|
|
145
|
-
function () {
|
|
97
|
+
PbaPaymentComponent.prototype.cardPayment = function () {
|
|
146
98
|
var _this = this;
|
|
147
99
|
this.isCardPaymentSuccess = true;
|
|
148
|
-
/** @type {?} */
|
|
149
100
|
var requestBody = new IserviceRequestCardPayment(this.pbaPayOrderRef.orderTotalFees);
|
|
150
101
|
this.paymentViewService.postWays2PayCardPayment(this.pbaPayOrderRef.orderRefId, requestBody)
|
|
151
|
-
.subscribe((
|
|
152
|
-
* @param {?} result
|
|
153
|
-
* @return {?}
|
|
154
|
-
*/
|
|
155
|
-
function (result) {
|
|
156
|
-
/** @type {?} */
|
|
102
|
+
.subscribe(function (result) {
|
|
157
103
|
var paymentUrl = JSON.parse(result).next_url;
|
|
158
104
|
window.location.href = paymentUrl;
|
|
159
|
-
}
|
|
160
|
-
* @param {?} error
|
|
161
|
-
* @return {?}
|
|
162
|
-
*/
|
|
163
|
-
function (error) {
|
|
105
|
+
}, function (error) {
|
|
164
106
|
_this.isCardPaymentSuccess = false;
|
|
165
|
-
})
|
|
107
|
+
});
|
|
166
108
|
};
|
|
167
|
-
|
|
168
|
-
* @param {?} type
|
|
169
|
-
* @return {?}
|
|
170
|
-
*/
|
|
171
|
-
PbaPaymentComponent.prototype.selectPaymentMethod = /**
|
|
172
|
-
* @param {?} type
|
|
173
|
-
* @return {?}
|
|
174
|
-
*/
|
|
175
|
-
function (type) {
|
|
109
|
+
PbaPaymentComponent.prototype.selectPaymentMethod = function (type) {
|
|
176
110
|
if (type === 'PBA') {
|
|
177
111
|
this.isPbaAccountSelected = true;
|
|
178
112
|
this.isCardPaymentSelected = false;
|
|
@@ -187,84 +121,30 @@ var PbaPaymentComponent = /** @class */ (function () {
|
|
|
187
121
|
this.isContinueButtondisabled = false;
|
|
188
122
|
}
|
|
189
123
|
};
|
|
190
|
-
|
|
191
|
-
* @return {?}
|
|
192
|
-
*/
|
|
193
|
-
PbaPaymentComponent.prototype.gotoCasetransationPage = /**
|
|
194
|
-
* @return {?}
|
|
195
|
-
*/
|
|
196
|
-
function () {
|
|
124
|
+
PbaPaymentComponent.prototype.gotoCasetransationPage = function () {
|
|
197
125
|
this.paymentLibComponent.viewName = 'case-transactions';
|
|
198
126
|
this.paymentLibComponent.TAKEPAYMENT = false;
|
|
199
127
|
this.paymentLibComponent.ISBSENABLE = true;
|
|
200
128
|
this.paymentLibComponent.isFromServiceRequestPage = true;
|
|
201
129
|
};
|
|
202
|
-
PbaPaymentComponent.decorators = [
|
|
203
|
-
{ type: Component, args: [{
|
|
204
|
-
selector: 'ccpay-pba-payment',
|
|
205
|
-
template: "<ng-container *ngIf=\"viewStatus === 'pba-payment'\">\n\n <div class=\"govuk-breadcrumbs\" *ngIf=\"!errorMsg && !isPBAAccountPaymentSuccess && !isCardPaymentSuccess\">\n <ol class=\"govuk-breadcrumbs__list\">\n <li class=\"govuk-breadcrumbs__list-item\">\n <a href=\"javascript:void(0)\" (click)=\"gotoCasetransationPage()\" class=\"govuk-back-link pba-payments-16-font\">Back</a>\n </li>\n </ol>\n </div>\n <div class=\"pba-payment\" *ngIf=\"(pbaAccountList?.length > 0 || errorMsg) && !isInSufficiantFund && !isPBAAccountNotExist && !isPBAServerError && !isPBAAccountHold && !isPBAAccountPaymentSuccess && isCardPaymentSuccess\">\n \n <div *ngIf=\"errorMsg\" class=\"govuk-error-summary pba-payments-error-box--size\" aria-labelledby=\"error-summary-title\" >\n <h2 class=\"govuk-error-summary__title govuk-error-summary__title-custom pba-payments-24-font\" id=\"error-summary-title\">\n There is a problem\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li class=\"pba-payments-error-16-font\">\n Your PBA account cannot be found.\n </li>\n <li class=\"pba-payments-error-16-font\">\n If you know your organisation has a PBA, try again.\n </li>\n <li class=\"pba-payments-error-16-font\">\n You can also pay by credit or debit card.\n </li>\n </ul>\n </div>\n </div>\n <!-- <h1 class=\"heading-medium margin-top-10-px\">Pay fee using Payment by Account (PBA)</h1> -->\n <div class=\"govuk-form-group margin-top-10-px\">\n <label class=\"govuk-label pba-payments-govuk__label pba-payments-19-font\">\n Amount to pay \n </label>\n <span class=\"pba-payments-19-font\">{{pbaPayOrderRef.orderTotalFees | currency :'GBP':'symbol':'1.2-2'}}</span>\n </div>\n\n <div class=\"govuk-form-group\" *ngIf=\"!errorMsg\">\n <fieldset class=\"govuk-fieldset\" aria-describedby=\"contact-hint\">\n <div class=\"govuk-radios\" data-module=\"govuk-radios\">\n <div class=\"govuk-radios__item\">\n <input class=\"govuk-radios__input\" id=\"pbaAccount\" name=\"paymentSelection\" type=\"radio\" value=\"PBA\" (click)=\"selectPaymentMethod('PBA')\" data-aria-controls=\"pba-account\">\n <label class=\"govuk-label govuk-radios__label pba-payments-19-font pba-payments-font-bld\" for=\"pbaAccount\">\n Pay fee using Payment by Account (PBA)\n </label>\n </div>\n <div class=\"govuk-radios__conditional\" id=\"conditional-contact\" *ngIf=\"isPbaAccountSelected\">\n <div class=\"govuk-form-group pba-payments-select-box--size\">\n <label class=\"govuk-label pba-payments-govuk__label pba-payments-19-font\" for=\"pbaAccountNumber\">\n Select a PBA \n </label>\n <select class=\"form-control short-input\" id=\"pbaAccountNumber\" (change)=\"selectpbaaccount($event)\">\n <option value=\"\" selected='selected'>Select option</option>\n <option *ngFor=\"let pbaAccount of pbaAccountList;\" value=\"{{pbaAccount}}\">{{pbaAccount}}</option>\n </select>\n </div>\n <div class=\"govuk-form-group\" *ngIf=\"!errorMsg && selectedPbaAccount\">\n <label class=\"govuk-label pba-payments-govuk__label pba-payments-24-font\" for=\"pbaAccountNumber\">\n Enter a reference for your PBA account statements \n </label>\n <div id=\"event-name-hint\" class=\"govuk-hint pba-payments-19-font pba-payment-width\">\n This should be your own unique reference to identify the case. It will appear on your statements.\n </div>\n <input class=\"govuk-input pba-payments-ref-box--size pba-payments-19-font\" id=\"pbaAccountRef\" (change)=\"selectpbaaccount($event)\" name=\"pbaAccountRef\" type=\"text\" aria-describedby=\"pbaAccountRef-hint\">\n </div>\n \n </div>\n <div class=\"govuk-radios__item\">\n <input class=\"govuk-radios__input\" id=\"cardPayment\" name=\"paymentSelection\" type=\"radio\" value=\"card\" (click)=\"selectPaymentMethod('CARD')\" data-aria-controls=\"card-payment\">\n <label class=\"govuk-label govuk-radios__label pba-payments-19-font pba-payments-font-bld\" for=\"cardPayment\">\n Pay by credit or debit card\n </label>\n </div>\n </div>\n </fieldset>\n </div>\n\n <div class=\"govuk-button--group\" *ngIf=\"errorMsg\">\n <button type=\"button\" class=\"button pba-payments-19-font govuk-button--secondary pba-payments-margin-10\" (click)=\"gotoCasetransationPage()\">\n View Service Request\n </button>\n <button type=\"submit\" class=\"button pba-payments-19-font pba-payments-20-margin\" (click)=\"cardPayment()\">\n Pay by card\n </button>\n </div>\n <div class=\"govuk-button--group\" *ngIf=\"!errorMsg\">\n <button type=\"submit\" [disabled]=\"isContinueButtondisabled\" class=\"button pba-payments-19-font pba-payments-20-margin\" (click)=\"saveAndContinue()\">\n <span *ngIf=\"!isPBADropdownSelected\">Continue</span>\n <span *ngIf=\"isPBADropdownSelected\">Confirm payment</span>\n </button>\n </div>\n </div>\n<ng-container *ngIf=\"pbaAccountList?.length <= 0 && !errorMsg && isGetPBAAccountSucceed && isCardPaymentSuccess\">\n <div class=\"govuk-width-container\">\n <main class=\"govuk-main-wrapper govuk-main-wrapper--l\" id=\"main-content\" role=\"main\">\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-warning-text\">\n <span class=\"govuk-warning-text__icon\" aria-hidden=\"true\">!</span>\n <strong class=\"govuk-warning-text__text\">\n <span class=\"govuk-warning-text__assistive\">Warning</span>\n <h2 class=\"warning-heading-m\">You don\u2019t have a registered PBA.</h2>\n </strong>\n </div>\n <div class=\"pba-payments-margin-top-10\">\n <h2 class=\"heading-medium\">Pay by credit or debit card</h2>\n <p class=\"govuk-body pba-payments-19-font\">\n We recommend that you apply to get a new PBA to pay for fees.\n </p>\n <p class=\"govuk-bod ypba-payments-19-font\">\n you can also pay by credit or debit card if you need to pay now\n </p>\n <p class=\"govuk-body\">\n <button type=\"submit\" (click)=\"cardPayment()\" class=\"button pba-payments-19-font pba-payments-20-margin\">\n Pay by card\n </button>\n </p>\n \n </div>\n <div class=\"pba-payments-margin-top-10\">\n <h2 class=\"heading-medium\">Register an existing PBA with MyHMCTS</h2>\n <p class=\"govuk-body pba-payments-19-font\">\n You may find it easier in future to pay by PBA, your organisation administrator will need to \n email <a href=\"mailto: MyHMCTSsupport@justice.gov.uk\">MyHMCTSsupport@justice.gov.uk</a> to ask for your PBA to be registered with your \n MyHMCTS account. You should include your organisation name and PBA number.\n </p>\n <p class=\"govuk-body pba-payments-19-font\">\n It can then take up to 3 days for your account to be updated. You\u2019ll need to start your claim \n again to pay the fee.\n </p>\n </div>\n <div class=\"pba-payments-margin-top-10\">\n <h2 class=\"heading-medium\">Apply to get a new PBA </h2>\n <p class=\"govuk-body pba-payments-19-font\">\n You\u2019ll need to provide details for you and your organisation, including the required credit\n limit for your account.\n </p>\n <p class=\"govuk-body pba-payments-19-font\">\n Once your account has been registered, you\u2019ll need to start your claim again to pay the fee.\n </p>\n <p class=\"govuk-body pba-payments-19-font\">\n Read more information on <a target=\"_blank\" href=\"https://www.gov.uk/guidance/hmcts-payment-by-account-for-online-services\">registering for PBA</a>.\n </p>\n </div>\n </div>\n </main>\n </div>\n</ng-container>\n\n<ng-container *ngIf=\"isInSufficiantFund && isCardPaymentSuccess\">\n <div class=\"govuk-width-container\">\n <main class=\"govuk-main-wrapper govuk-main-wrapper--l\" id=\"main-content\" role=\"main\">\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-error-summary pba-payments-error-box--size\" aria-labelledby=\"error-summary-title\">\n <h2 class=\"govuk-error-summary__title govuk-error-summary__title-custom pba-payments-24-font\" id=\"error-summary-title\">\n There is a problem\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li class=\"pba-payments-error-16-font\">\n You don't have enough funds in your PBA account to pay for this fee.\n </li>\n <li class=\"pba-payments-error-16-font\">\n If you have already topped up your PBA account, wait up to 24 hours for the new balance to become available.\n </li>\n </ul>\n </div>\n </div>\n <div class=\"pba-payments-margin-top-10\">\n <h2 class=\"heading-medium\">Should you need any further advice</h2>\n <p class=\"govuk-body pba-payments-19-font\">\n Email <a href=\"mailto:MiddleOffice.DDservices@liberata.com\">MiddleOffice.DDservices@liberata.com</a> or call <a href=\"tel:01633-652-125\">01633 652 125</a> (option 3) to try to fix the issue.\n </p>\n <p class=\"govuk-body pba-payments-19-font\">\n you can also pay by credit or debit card.\n </p>\n <div class=\"govuk-button--group\">\n <button type=\"button\" class=\"button pba-payments-19-font govuk-button--secondary pba-payments-margin-10\" (click)=\"gotoCasetransationPage()\">\n View Service Request\n </button>\n <button type=\"submit\" class=\"button pba-payments-19-font pba-payments-20-margin\" (click)=\"cardPayment()\">\n Pay by card\n </button>\n </div>\n </div>\n </div>\n </main>\n </div>\n</ng-container>\n<ng-container *ngIf=\"isPBAAccountNotExist && isCardPaymentSuccess\">\n <div class=\"govuk-width-container\">\n <main class=\"govuk-main-wrapper govuk-main-wrapper--l\" id=\"main-content\" role=\"main\">\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-error-summary pba-payments-error-box--size\" aria-labelledby=\"error-summary-title\">\n <h2 class=\"govuk-error-summary__title govuk-error-summary__title-custom pba-payments-24-font\" id=\"error-summary-title\">\n There is a problem\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li class=\"pba-payments-error-16-font\">\n Your PBA account ({{selectedPbaAccount}}) no longer exists.\n </li>\n </ul>\n </div>\n </div>\n <div class=\"pba-payments-margin-top-10\">\n <h2 class=\"heading-medium\">Should you need any further advice</h2>\n <p class=\"govuk-body pba-payments-19-font govuk-body-width\">\n Email <a href=\"mailto:MiddleOffice.DDservices@liberata.com\">MiddleOffice.DDservices@liberata.com</a> or call <a href=\"tel:01633-652-125\">01633 652 125</a> (option 3) to try to fix the issue.\n </p>\n <p class=\"govuk-body pba-payments-19-font\">\n you can also pay by credit or debit card.\n </p>\n <div class=\"govuk-button--group\">\n <button type=\"button\" class=\"button pba-payments-19-font govuk-button--secondary pba-payments-margin-10\" (click)=\"gotoCasetransationPage()\">\n View Service Request\n </button>\n <button type=\"submit\" class=\"button pba-payments-19-font pba-payments-20-margin\" (click)=\"cardPayment()\">\n Pay by card\n </button>\n </div>\n </div>\n </div>\n </main>\n </div>\n</ng-container>\n<ng-container *ngIf=\"isPBAAccountHold && isCardPaymentSuccess\">\n <div class=\"govuk-width-container\">\n <main class=\"govuk-main-wrapper govuk-main-wrapper--l\" id=\"main-content\" role=\"main\">\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-error-summary pba-payments-error-box--size\" aria-labelledby=\"error-summary-title\">\n <h2 class=\"govuk-error-summary__title govuk-error-summary__title-custom pba-payments-24-font\" id=\"error-summary-title\">\n There is a problem\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li class=\"pba-payments-error-16-font\">\n Your PBA account ({{selectedPbaAccount}}) has been put on hold.\n </li>\n </ul>\n </div>\n </div>\n <div class=\"pba-payments-margin-top-10\">\n <h2 class=\"heading-medium\">Should you need any further advice</h2>\n <p class=\"govuk-body pba-payments-19-font govuk-body-width\">\n Email <a href=\"mailto:MiddleOffice.DDservices@liberata.com\">MiddleOffice.DDservices@liberata.com</a> or call <a href=\"tel:01633-652-125\">01633 652 125</a> (option 3) to try to fix the issue.\n </p>\n <p class=\"govuk-body pba-payments-19-font\">\n you can also pay by credit or debit card.\n </p>\n <div class=\"govuk-button--group\">\n <button type=\"button\" class=\"button pba-payments-19-font govuk-button--secondary pba-payments-margin-10\" (click)=\"gotoCasetransationPage()\">\n View Service Request\n </button>\n <button type=\"submit\" class=\"button pba-payments-19-font pba-payments-20-margin\" (click)=\"cardPayment()\">\n Pay by card\n </button>\n </div>\n </div>\n </div>\n </main>\n </div>\n</ng-container>\n<ng-container *ngIf=\"isPBAServerError && isCardPaymentSuccess\">\n <div class=\"govuk-width-container\">\n <main class=\"govuk-main-wrapper govuk-main-wrapper--l\" id=\"main-content\" role=\"main\">\n <div class=\"govuk-grid-row\">\n <div class=\"pba-payments-margin-top-10\">\n <h2 class=\"pba-payments-heading-lg\">Sorry, there is a problem with the service</h2>\n <p class=\"govuk-body pba-payments-19-font\">\n Try again later.\n </p>\n <p class=\"govuk-body pba-payments-19-font\">\n you can also pay by credit or debit card.\n </p>\n <div class=\"govuk-button--group\">\n <button type=\"button\" class=\"button pba-payments-19-font govuk-button--secondary pba-payments-margin-10\" (click)=\"gotoCasetransationPage()\">\n View Service Request\n </button>\n <button type=\"submit\" class=\"button pba-payments-19-font pba-payments-20-margin\" (click)=\"cardPayment()\">\n Pay by card\n </button>\n </div>\n </div>\n </div>\n </main>\n </div>\n</ng-container>\n\n<ng-container *ngIf=\"isPBAAccountPaymentSuccess && isCardPaymentSuccess\">\n <div class=\"govuk-width-container\">\n <main class=\"govuk-main-wrapper govuk-main-wrapper--l\" id=\"main-content\" role=\"main\">\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-panel govuk-panel--confirmation pba-payments--confirmation\">\n <h1 class=\"govuk-panel__title pba-payments--title\">\n Payment successful\n </h1>\n <div class=\"govuk-panel__body pba-payments__body\">\n Your payment reference is <br><strong>{{pbaAccountrPaymentResult.payment_reference}}</strong>\n </div>\n </div>\n <p class=\"govuk-body pba-payments-19-font\">\n <a href=\"javascript:void(0)\" (click)=\"gotoCasetransationPage()\">View service requests</a>\n </p>\n </div>\n </main>\n </div>\n</ng-container>\n\n<ng-container *ngIf=\"!isCardPaymentSuccess\">\n <div class=\"govuk-width-container\">\n <main class=\"govuk-main-wrapper govuk-main-wrapper--l\" id=\"main-content\" role=\"main\">\n <div class=\"govuk-grid-row\">\n <div class=\"pba-payments-margin-top-10\">\n <h2 class=\"pba-payments-heading-lg\">Sorry, there is a problem with the service</h2>\n <p class=\"govuk-body pba-payments-19-font\">\n Try again later.\n </p>\n <!-- <p class=\"govuk-body pba-payments-19-font\">\n you can also <a href=\"javascript:void(0)\" (click)=\"cardPayment()\" >pay by credit or debit card</a>.\n </p> -->\n <p class=\"govuk-body pba-payments-19-font\">\n <a href=\"javascript:void(0)\" (click)=\"gotoCasetransationPage()\">View service requests</a>\n </p>\n </div>\n </div>\n </main>\n </div>\n</ng-container>\n</ng-container>\n\n\n\n",
|
|
206
|
-
styles: [".pba-payments-govuk__label{font-weight:700;line-height:1.31578947}.pba-payments-19-font{font-size:19px}.pba-payments-font-bld{font-weight:700}.pba-payments-16-font{font-size:16px}.pba-payments-24-font{font-size:24px}.pba-payments-20-margin{margin-bottom:20px}.pba-payments-select-box--size{width:40%}.pba-payments-error-box--size{width:80%}.pba-payments-ref-box--size{width:60%}.pba-payments-error-16-font{font-size:16px;line-height:34px}.pba-payments-margin-10{margin-right:10px}.pba-payments-margin-top-10{margin-top:15px}.pba-payments-heading-lg{font-size:40px;font-weight:700;line-height:72px}.pba-payments--confirmation{background:#00703c!important}.pba-payments__body{font-size:36px!important}.pba-payments--title{font-size:48px!important}.warning-heading-m{font-size:29px;font-weight:700}.pba-payment-width{width:75%}.margin-top-10-px{margin-top:10px}.govuk-error-summary:focus{outline:#fd0 solid 3px}.govuk-body-width{width:750px}"]
|
|
207
|
-
}] }
|
|
208
|
-
];
|
|
209
|
-
/** @nocollapse */
|
|
210
130
|
PbaPaymentComponent.ctorParameters = function () { return [
|
|
211
131
|
{ type: PaymentLibComponent },
|
|
212
132
|
{ type: PaymentViewService }
|
|
213
133
|
]; };
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
134
|
+
__decorate([
|
|
135
|
+
Input(),
|
|
136
|
+
__metadata("design:type", Object)
|
|
137
|
+
], PbaPaymentComponent.prototype, "pbaPayOrderRef", void 0);
|
|
138
|
+
PbaPaymentComponent = __decorate([
|
|
139
|
+
Component({
|
|
140
|
+
selector: 'ccpay-pba-payment',
|
|
141
|
+
template: "<ng-container *ngIf=\"viewStatus === 'pba-payment'\">\n\n <div class=\"govuk-breadcrumbs\" *ngIf=\"!errorMsg && !isPBAAccountPaymentSuccess && !isCardPaymentSuccess\">\n <ol class=\"govuk-breadcrumbs__list\">\n <li class=\"govuk-breadcrumbs__list-item\">\n <a href=\"javascript:void(0)\" (click)=\"gotoCasetransationPage()\" class=\"govuk-back-link pba-payments-16-font\">Back</a>\n </li>\n </ol>\n </div>\n <div class=\"pba-payment\" *ngIf=\"(pbaAccountList?.length > 0 || errorMsg) && !isInSufficiantFund && !isPBAAccountNotExist && !isPBAServerError && !isPBAAccountHold && !isPBAAccountPaymentSuccess && isCardPaymentSuccess\">\n \n <div *ngIf=\"errorMsg\" class=\"govuk-error-summary pba-payments-error-box--size\" aria-labelledby=\"error-summary-title\" >\n <h2 class=\"govuk-error-summary__title govuk-error-summary__title-custom pba-payments-24-font\" id=\"error-summary-title\">\n There is a problem\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li class=\"pba-payments-error-16-font\">\n Your PBA account cannot be found.\n </li>\n <li class=\"pba-payments-error-16-font\">\n If you know your organisation has a PBA, try again.\n </li>\n <li class=\"pba-payments-error-16-font\">\n You can also pay by credit or debit card.\n </li>\n </ul>\n </div>\n </div>\n <!-- <h1 class=\"heading-medium margin-top-10-px\">Pay fee using Payment by Account (PBA)</h1> -->\n <div class=\"govuk-form-group margin-top-10-px\">\n <label class=\"govuk-label pba-payments-govuk__label pba-payments-19-font\">\n Amount to pay \n </label>\n <span class=\"pba-payments-19-font\">{{pbaPayOrderRef.orderTotalFees | currency :'GBP':'symbol':'1.2-2'}}</span>\n </div>\n\n <div class=\"govuk-form-group\" *ngIf=\"!errorMsg\">\n <fieldset class=\"govuk-fieldset\" aria-describedby=\"contact-hint\">\n <div class=\"govuk-radios\" data-module=\"govuk-radios\">\n <div class=\"govuk-radios__item\">\n <input class=\"govuk-radios__input\" id=\"pbaAccount\" name=\"paymentSelection\" type=\"radio\" value=\"PBA\" (click)=\"selectPaymentMethod('PBA')\" data-aria-controls=\"pba-account\">\n <label class=\"govuk-label govuk-radios__label pba-payments-19-font pba-payments-font-bld\" for=\"pbaAccount\">\n Pay fee using Payment by Account (PBA)\n </label>\n </div>\n <div class=\"govuk-radios__conditional\" id=\"conditional-contact\" *ngIf=\"isPbaAccountSelected\">\n <div class=\"govuk-form-group pba-payments-select-box--size\">\n <label class=\"govuk-label pba-payments-govuk__label pba-payments-19-font\" for=\"pbaAccountNumber\">\n Select a PBA \n </label>\n <select class=\"form-control short-input\" id=\"pbaAccountNumber\" (change)=\"selectpbaaccount($event)\">\n <option value=\"\" selected='selected'>Select option</option>\n <option *ngFor=\"let pbaAccount of pbaAccountList;\" value=\"{{pbaAccount}}\">{{pbaAccount}}</option>\n </select>\n </div>\n <div class=\"govuk-form-group\" *ngIf=\"!errorMsg && selectedPbaAccount\">\n <label class=\"govuk-label pba-payments-govuk__label pba-payments-24-font\" for=\"pbaAccountNumber\">\n Enter a reference for your PBA account statements \n </label>\n <div id=\"event-name-hint\" class=\"govuk-hint pba-payments-19-font pba-payment-width\">\n This should be your own unique reference to identify the case. It will appear on your statements.\n </div>\n <input class=\"govuk-input pba-payments-ref-box--size pba-payments-19-font\" id=\"pbaAccountRef\" (change)=\"selectpbaaccount($event)\" name=\"pbaAccountRef\" type=\"text\" aria-describedby=\"pbaAccountRef-hint\">\n </div>\n \n </div>\n <div class=\"govuk-radios__item\">\n <input class=\"govuk-radios__input\" id=\"cardPayment\" name=\"paymentSelection\" type=\"radio\" value=\"card\" (click)=\"selectPaymentMethod('CARD')\" data-aria-controls=\"card-payment\">\n <label class=\"govuk-label govuk-radios__label pba-payments-19-font pba-payments-font-bld\" for=\"cardPayment\">\n Pay by credit or debit card\n </label>\n </div>\n </div>\n </fieldset>\n </div>\n\n <div class=\"govuk-button--group\" *ngIf=\"errorMsg\">\n <button type=\"button\" class=\"button pba-payments-19-font govuk-button--secondary pba-payments-margin-10\" (click)=\"gotoCasetransationPage()\">\n View Service Request\n </button>\n <button type=\"submit\" class=\"button pba-payments-19-font pba-payments-20-margin\" (click)=\"cardPayment()\">\n Pay by card\n </button>\n </div>\n <div class=\"govuk-button--group\" *ngIf=\"!errorMsg\">\n <button type=\"submit\" [disabled]=\"isContinueButtondisabled\" class=\"button pba-payments-19-font pba-payments-20-margin\" (click)=\"saveAndContinue()\">\n <span *ngIf=\"!isPBADropdownSelected\">Continue</span>\n <span *ngIf=\"isPBADropdownSelected\">Confirm payment</span>\n </button>\n </div>\n </div>\n<ng-container *ngIf=\"pbaAccountList?.length <= 0 && !errorMsg && isGetPBAAccountSucceed && isCardPaymentSuccess\">\n <div class=\"govuk-width-container\">\n <main class=\"govuk-main-wrapper govuk-main-wrapper--l\" id=\"main-content\" role=\"main\">\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-warning-text\">\n <span class=\"govuk-warning-text__icon\" aria-hidden=\"true\">!</span>\n <strong class=\"govuk-warning-text__text\">\n <span class=\"govuk-warning-text__assistive\">Warning</span>\n <h2 class=\"warning-heading-m\">You don\u2019t have a registered PBA.</h2>\n </strong>\n </div>\n <div class=\"pba-payments-margin-top-10\">\n <h2 class=\"heading-medium\">Pay by credit or debit card</h2>\n <p class=\"govuk-body pba-payments-19-font\">\n We recommend that you apply to get a new PBA to pay for fees.\n </p>\n <p class=\"govuk-bod ypba-payments-19-font\">\n you can also pay by credit or debit card if you need to pay now\n </p>\n <p class=\"govuk-body\">\n <button type=\"submit\" (click)=\"cardPayment()\" class=\"button pba-payments-19-font pba-payments-20-margin\">\n Pay by card\n </button>\n </p>\n \n </div>\n <div class=\"pba-payments-margin-top-10\">\n <h2 class=\"heading-medium\">Register an existing PBA with MyHMCTS</h2>\n <p class=\"govuk-body pba-payments-19-font\">\n You may find it easier in future to pay by PBA, your organisation administrator will need to \n email <a href=\"mailto: MyHMCTSsupport@justice.gov.uk\">MyHMCTSsupport@justice.gov.uk</a> to ask for your PBA to be registered with your \n MyHMCTS account. You should include your organisation name and PBA number.\n </p>\n <p class=\"govuk-body pba-payments-19-font\">\n It can then take up to 3 days for your account to be updated. You\u2019ll need to start your claim \n again to pay the fee.\n </p>\n </div>\n <div class=\"pba-payments-margin-top-10\">\n <h2 class=\"heading-medium\">Apply to get a new PBA </h2>\n <p class=\"govuk-body pba-payments-19-font\">\n You\u2019ll need to provide details for you and your organisation, including the required credit\n limit for your account.\n </p>\n <p class=\"govuk-body pba-payments-19-font\">\n Once your account has been registered, you\u2019ll need to start your claim again to pay the fee.\n </p>\n <p class=\"govuk-body pba-payments-19-font\">\n Read more information on <a target=\"_blank\" href=\"https://www.gov.uk/guidance/hmcts-payment-by-account-for-online-services\">registering for PBA</a>.\n </p>\n </div>\n </div>\n </main>\n </div>\n</ng-container>\n\n<ng-container *ngIf=\"isInSufficiantFund && isCardPaymentSuccess\">\n <div class=\"govuk-width-container\">\n <main class=\"govuk-main-wrapper govuk-main-wrapper--l\" id=\"main-content\" role=\"main\">\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-error-summary pba-payments-error-box--size\" aria-labelledby=\"error-summary-title\">\n <h2 class=\"govuk-error-summary__title govuk-error-summary__title-custom pba-payments-24-font\" id=\"error-summary-title\">\n There is a problem\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li class=\"pba-payments-error-16-font\">\n You don't have enough funds in your PBA account to pay for this fee.\n </li>\n <li class=\"pba-payments-error-16-font\">\n If you have already topped up your PBA account, wait up to 24 hours for the new balance to become available.\n </li>\n </ul>\n </div>\n </div>\n <div class=\"pba-payments-margin-top-10\">\n <h2 class=\"heading-medium\">Should you need any further advice</h2>\n <p class=\"govuk-body pba-payments-19-font\">\n Email <a href=\"mailto:MiddleOffice.DDservices@liberata.com\">MiddleOffice.DDservices@liberata.com</a> or call <a href=\"tel:01633-652-125\">01633 652 125</a> (option 3) to try to fix the issue.\n </p>\n <p class=\"govuk-body pba-payments-19-font\">\n you can also pay by credit or debit card.\n </p>\n <div class=\"govuk-button--group\">\n <button type=\"button\" class=\"button pba-payments-19-font govuk-button--secondary pba-payments-margin-10\" (click)=\"gotoCasetransationPage()\">\n View Service Request\n </button>\n <button type=\"submit\" class=\"button pba-payments-19-font pba-payments-20-margin\" (click)=\"cardPayment()\">\n Pay by card\n </button>\n </div>\n </div>\n </div>\n </main>\n </div>\n</ng-container>\n<ng-container *ngIf=\"isPBAAccountNotExist && isCardPaymentSuccess\">\n <div class=\"govuk-width-container\">\n <main class=\"govuk-main-wrapper govuk-main-wrapper--l\" id=\"main-content\" role=\"main\">\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-error-summary pba-payments-error-box--size\" aria-labelledby=\"error-summary-title\">\n <h2 class=\"govuk-error-summary__title govuk-error-summary__title-custom pba-payments-24-font\" id=\"error-summary-title\">\n There is a problem\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li class=\"pba-payments-error-16-font\">\n Your PBA account ({{selectedPbaAccount}}) no longer exists.\n </li>\n </ul>\n </div>\n </div>\n <div class=\"pba-payments-margin-top-10\">\n <h2 class=\"heading-medium\">Should you need any further advice</h2>\n <p class=\"govuk-body pba-payments-19-font govuk-body-width\">\n Email <a href=\"mailto:MiddleOffice.DDservices@liberata.com\">MiddleOffice.DDservices@liberata.com</a> or call <a href=\"tel:01633-652-125\">01633 652 125</a> (option 3) to try to fix the issue.\n </p>\n <p class=\"govuk-body pba-payments-19-font\">\n you can also pay by credit or debit card.\n </p>\n <div class=\"govuk-button--group\">\n <button type=\"button\" class=\"button pba-payments-19-font govuk-button--secondary pba-payments-margin-10\" (click)=\"gotoCasetransationPage()\">\n View Service Request\n </button>\n <button type=\"submit\" class=\"button pba-payments-19-font pba-payments-20-margin\" (click)=\"cardPayment()\">\n Pay by card\n </button>\n </div>\n </div>\n </div>\n </main>\n </div>\n</ng-container>\n<ng-container *ngIf=\"isPBAAccountHold && isCardPaymentSuccess\">\n <div class=\"govuk-width-container\">\n <main class=\"govuk-main-wrapper govuk-main-wrapper--l\" id=\"main-content\" role=\"main\">\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-error-summary pba-payments-error-box--size\" aria-labelledby=\"error-summary-title\">\n <h2 class=\"govuk-error-summary__title govuk-error-summary__title-custom pba-payments-24-font\" id=\"error-summary-title\">\n There is a problem\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li class=\"pba-payments-error-16-font\">\n Your PBA account ({{selectedPbaAccount}}) has been put on hold.\n </li>\n </ul>\n </div>\n </div>\n <div class=\"pba-payments-margin-top-10\">\n <h2 class=\"heading-medium\">Should you need any further advice</h2>\n <p class=\"govuk-body pba-payments-19-font govuk-body-width\">\n Email <a href=\"mailto:MiddleOffice.DDservices@liberata.com\">MiddleOffice.DDservices@liberata.com</a> or call <a href=\"tel:01633-652-125\">01633 652 125</a> (option 3) to try to fix the issue.\n </p>\n <p class=\"govuk-body pba-payments-19-font\">\n you can also pay by credit or debit card.\n </p>\n <div class=\"govuk-button--group\">\n <button type=\"button\" class=\"button pba-payments-19-font govuk-button--secondary pba-payments-margin-10\" (click)=\"gotoCasetransationPage()\">\n View Service Request\n </button>\n <button type=\"submit\" class=\"button pba-payments-19-font pba-payments-20-margin\" (click)=\"cardPayment()\">\n Pay by card\n </button>\n </div>\n </div>\n </div>\n </main>\n </div>\n</ng-container>\n<ng-container *ngIf=\"isPBAServerError && isCardPaymentSuccess\">\n <div class=\"govuk-width-container\">\n <main class=\"govuk-main-wrapper govuk-main-wrapper--l\" id=\"main-content\" role=\"main\">\n <div class=\"govuk-grid-row\">\n <div class=\"pba-payments-margin-top-10\">\n <h2 class=\"pba-payments-heading-lg\">Sorry, there is a problem with the service</h2>\n <p class=\"govuk-body pba-payments-19-font\">\n Try again later.\n </p>\n <p class=\"govuk-body pba-payments-19-font\">\n you can also pay by credit or debit card.\n </p>\n <div class=\"govuk-button--group\">\n <button type=\"button\" class=\"button pba-payments-19-font govuk-button--secondary pba-payments-margin-10\" (click)=\"gotoCasetransationPage()\">\n View Service Request\n </button>\n <button type=\"submit\" class=\"button pba-payments-19-font pba-payments-20-margin\" (click)=\"cardPayment()\">\n Pay by card\n </button>\n </div>\n </div>\n </div>\n </main>\n </div>\n</ng-container>\n\n<ng-container *ngIf=\"isPBAAccountPaymentSuccess && isCardPaymentSuccess\">\n <div class=\"govuk-width-container\">\n <main class=\"govuk-main-wrapper govuk-main-wrapper--l\" id=\"main-content\" role=\"main\">\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-panel govuk-panel--confirmation pba-payments--confirmation\">\n <h1 class=\"govuk-panel__title pba-payments--title\">\n Payment successful\n </h1>\n <div class=\"govuk-panel__body pba-payments__body\">\n Your payment reference is <br><strong>{{pbaAccountrPaymentResult.payment_reference}}</strong>\n </div>\n </div>\n <p class=\"govuk-body pba-payments-19-font\">\n <a href=\"javascript:void(0)\" (click)=\"gotoCasetransationPage()\">View service requests</a>\n </p>\n </div>\n </main>\n </div>\n</ng-container>\n\n<ng-container *ngIf=\"!isCardPaymentSuccess\">\n <div class=\"govuk-width-container\">\n <main class=\"govuk-main-wrapper govuk-main-wrapper--l\" id=\"main-content\" role=\"main\">\n <div class=\"govuk-grid-row\">\n <div class=\"pba-payments-margin-top-10\">\n <h2 class=\"pba-payments-heading-lg\">Sorry, there is a problem with the service</h2>\n <p class=\"govuk-body pba-payments-19-font\">\n Try again later.\n </p>\n <!-- <p class=\"govuk-body pba-payments-19-font\">\n you can also <a href=\"javascript:void(0)\" (click)=\"cardPayment()\" >pay by credit or debit card</a>.\n </p> -->\n <p class=\"govuk-body pba-payments-19-font\">\n <a href=\"javascript:void(0)\" (click)=\"gotoCasetransationPage()\">View service requests</a>\n </p>\n </div>\n </div>\n </main>\n </div>\n</ng-container>\n</ng-container>\n\n\n\n",
|
|
142
|
+
styles: [".pba-payments-govuk__label{font-weight:700;line-height:1.31578947}.pba-payments-19-font{font-size:19px}.pba-payments-font-bld{font-weight:700}.pba-payments-16-font{font-size:16px}.pba-payments-24-font{font-size:24px}.pba-payments-20-margin{margin-bottom:20px}.pba-payments-select-box--size{width:40%}.pba-payments-error-box--size{width:80%}.pba-payments-ref-box--size{width:60%}.pba-payments-error-16-font{font-size:16px;line-height:34px}.pba-payments-margin-10{margin-right:10px}.pba-payments-margin-top-10{margin-top:15px}.pba-payments-heading-lg{font-size:40px;font-weight:700;line-height:72px}.pba-payments--confirmation{background:#00703c!important}.pba-payments__body{font-size:36px!important}.pba-payments--title{font-size:48px!important}.warning-heading-m{font-size:29px;font-weight:700}.pba-payment-width{width:75%}.margin-top-10-px{margin-top:10px}.govuk-error-summary:focus{outline:#fd0 solid 3px}.govuk-body-width{width:750px}"]
|
|
143
|
+
}),
|
|
144
|
+
__metadata("design:paramtypes", [PaymentLibComponent,
|
|
145
|
+
PaymentViewService])
|
|
146
|
+
], PbaPaymentComponent);
|
|
217
147
|
return PbaPaymentComponent;
|
|
218
148
|
}());
|
|
219
149
|
export { PbaPaymentComponent };
|
|
220
|
-
if (false) {
|
|
221
|
-
/** @type {?} */
|
|
222
|
-
PbaPaymentComponent.prototype.pbaPayOrderRef;
|
|
223
|
-
/** @type {?} */
|
|
224
|
-
PbaPaymentComponent.prototype.viewStatus;
|
|
225
|
-
/** @type {?} */
|
|
226
|
-
PbaPaymentComponent.prototype.pbaAccountList;
|
|
227
|
-
/** @type {?} */
|
|
228
|
-
PbaPaymentComponent.prototype.isPBAAccountHold;
|
|
229
|
-
/** @type {?} */
|
|
230
|
-
PbaPaymentComponent.prototype.errorMsg;
|
|
231
|
-
/** @type {?} */
|
|
232
|
-
PbaPaymentComponent.prototype.isCardPaymentSuccess;
|
|
233
|
-
/** @type {?} */
|
|
234
|
-
PbaPaymentComponent.prototype.isInSufficiantFund;
|
|
235
|
-
/** @type {?} */
|
|
236
|
-
PbaPaymentComponent.prototype.isPBAAccountNotExist;
|
|
237
|
-
/** @type {?} */
|
|
238
|
-
PbaPaymentComponent.prototype.isPBAServerError;
|
|
239
|
-
/** @type {?} */
|
|
240
|
-
PbaPaymentComponent.prototype.isGetPBAAccountSucceed;
|
|
241
|
-
/** @type {?} */
|
|
242
|
-
PbaPaymentComponent.prototype.selectedPbaAccount;
|
|
243
|
-
/** @type {?} */
|
|
244
|
-
PbaPaymentComponent.prototype.pbaAccountRef;
|
|
245
|
-
/** @type {?} */
|
|
246
|
-
PbaPaymentComponent.prototype.isPbaAccountSelected;
|
|
247
|
-
/** @type {?} */
|
|
248
|
-
PbaPaymentComponent.prototype.isCardPaymentSelected;
|
|
249
|
-
/** @type {?} */
|
|
250
|
-
PbaPaymentComponent.prototype.isPBADropdownSelected;
|
|
251
|
-
/** @type {?} */
|
|
252
|
-
PbaPaymentComponent.prototype.isContinueButtondisabled;
|
|
253
|
-
/** @type {?} */
|
|
254
|
-
PbaPaymentComponent.prototype.isPBAAccountPaymentSuccess;
|
|
255
|
-
/** @type {?} */
|
|
256
|
-
PbaPaymentComponent.prototype.pbaAccountrPaymentResult;
|
|
257
|
-
/** @type {?} */
|
|
258
|
-
PbaPaymentComponent.prototype.orgName;
|
|
259
|
-
/**
|
|
260
|
-
* @type {?}
|
|
261
|
-
* @private
|
|
262
|
-
*/
|
|
263
|
-
PbaPaymentComponent.prototype.paymentLibComponent;
|
|
264
|
-
/**
|
|
265
|
-
* @type {?}
|
|
266
|
-
* @private
|
|
267
|
-
*/
|
|
268
|
-
PbaPaymentComponent.prototype.paymentViewService;
|
|
269
|
-
}
|
|
270
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGJhLXBheW1lbnQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGhtY3RzL2NjcGF5LXdlYi1jb21wb25lbnQvIiwic291cmNlcyI6WyJsaWIvY29tcG9uZW50cy9wYmEtcGF5bWVudC9wYmEtcGF5bWVudC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFVLEtBQUssRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUN4RCxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSxrREFBa0QsQ0FBQztBQUN0RixPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSw2QkFBNkIsQ0FBQztBQUNsRSxPQUFPLEVBQUUsMEJBQTBCLEVBQUUsTUFBTSw2Q0FBNkMsQ0FBQztBQUN6RixPQUFPLEVBQUUseUJBQXlCLEVBQUUsTUFBTSw0Q0FBNEMsQ0FBQzs7SUFFakYsY0FBYyxHQUFHLHVCQUF1QjtBQUU5QztJQTBCRSw2QkFBcUIsbUJBQXdDLEVBQ25ELGtCQUFzQztRQUQzQix3QkFBbUIsR0FBbkIsbUJBQW1CLENBQXFCO1FBQ25ELHVCQUFrQixHQUFsQixrQkFBa0IsQ0FBb0I7UUFsQmhELHFCQUFnQixHQUFZLEtBQUssQ0FBQztRQUVsQyx5QkFBb0IsR0FBWSxJQUFJLENBQUM7UUFDckMsdUJBQWtCLEdBQVksS0FBSyxDQUFDO1FBQ3BDLHlCQUFvQixHQ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W1lbnRSZXN1bHQgPSBKU09OLnBhcnNlKHIpO1xuICAgICAgICAgICAgfSBjYXRjaChlKSB7XG4gICAgICAgICAgICAgIHRoaXMucGJhQWNjb3VudHJQYXltZW50UmVzdWx0ID0gcjtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIHRoaXMuaXNQQkFBY2NvdW50UGF5bWVudFN1Y2Nlc3MgPSB0cnVlO1xuICAgICAgICAgIH0sXG4gICAgICAgICAgZSA9PiB7XG4gICAgICAgICAgICBpZihlLnN0YXR1cyA9PSAnNDAyJykge1xuICAgICAgICAgICAgICB0aGlzLmlzSW5TdWZmaWNpYW50RnVuZCA9IHRydWU7IFxuICAgICAgICAgICAgfSBlbHNlIGlmKGUuc3RhdHVzID09ICc0MTAnKSB7XG4gICAgICAgICAgICAgIHRoaXMuaXNQQkFBY2NvdW50Tm90RXhpc3QgPSB0cnVlO1xuICAgICAgICAgICAgfSBlbHNlIGlmKGUuc3RhdHVzID09ICc0MTInKSB7XG4gICAgICAgICAgICAgIHRoaXMuaXNQQkFBY2NvdW50SG9sZCA9IHRydWU7XG4gICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICB0aGlzLmlzUEJBU2VydmVyRXJyb3IgPSB0cnVlO1xuICAgICAgICAgICAgfVxuICAgICAgICAgIH1cbiAgICAgICAgKTtcbiAgICAgIH0gZWxzZSB7XG4gICAgICAgIHRoaXMuaXNQQkFTZXJ2ZXJFcnJvciA9IHRydWU7XG4gICAgICB9XG4gICAgfSBlbHNlIGlmICh0aGlzLmlzQ2FyZFBheW1lbnRTZWxlY3RlZCkge1xuICAgICAgdGhpcy5jYXJkUGF5bWVudCgpO1xuICAgIH1cblxuICB9XG4gIGNhcmRQYXltZW50KCkge1xuICAgIHRoaXMuaXNDYXJkUGF5bWVudFN1Y2Nlc3MgPSB0cnVlO1xuICAgIGNvbnN0IHJlcXVlc3RCb2R5ID0gbmV3IElzZXJ2aWNlUmVxdWVzdENhcmRQYXltZW50IChcbi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