@hmcts/ccpay-web-component 5.0.7-beta06 → 5.0.7-beta07
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 +24 -22
- 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/lib/components/allocate-payments/allocate-payments.component.js +16 -16
- package/esm2015/lib/components/reports/reports.component.js +10 -8
- package/esm5/lib/components/allocate-payments/allocate-payments.component.js +16 -16
- package/esm5/lib/components/reports/reports.component.js +10 -8
- package/fesm2015/hmcts-ccpay-web-component.js +24 -22
- package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
- package/fesm5/hmcts-ccpay-web-component.js +24 -22
- package/fesm5/hmcts-ccpay-web-component.js.map +1 -1
- package/package.json +1 -1
|
@@ -6113,7 +6113,7 @@
|
|
|
6113
6113
|
amount: 0
|
|
6114
6114
|
};
|
|
6115
6115
|
this.siteID = null;
|
|
6116
|
-
this.errorMessage = this.errorHandlerService.getServerErrorMessage(false);
|
|
6116
|
+
this.errorMessage = this.errorHandlerService.getServerErrorMessage(false, false, '');
|
|
6117
6117
|
this.paymentGroups = [];
|
|
6118
6118
|
this.isMoreDetailsBoxHide = true;
|
|
6119
6119
|
this.isConfirmButtondisabled = false;
|
|
@@ -6243,14 +6243,14 @@
|
|
|
6243
6243
|
* @param {?} paymentGroup
|
|
6244
6244
|
* @return {?}
|
|
6245
6245
|
*/function (paymentGroup) {
|
|
6246
|
-
_this.errorMessage = _this.errorHandlerService.getServerErrorMessage(false);
|
|
6246
|
+
_this.errorMessage = _this.errorHandlerService.getServerErrorMessage(false, false, '');
|
|
6247
6247
|
_this.paymentGroup = paymentGroup;
|
|
6248
6248
|
_this.saveAndContinue();
|
|
6249
6249
|
}), ( /**
|
|
6250
6250
|
* @param {?} error
|
|
6251
6251
|
* @return {?}
|
|
6252
6252
|
*/function (error) {
|
|
6253
|
-
_this.errorMessage = _this.errorHandlerService.getServerErrorMessage(true);
|
|
6253
|
+
_this.errorMessage = _this.errorHandlerService.getServerErrorMessage(true, false, '');
|
|
6254
6254
|
}));
|
|
6255
6255
|
}
|
|
6256
6256
|
else {
|
|
@@ -6258,7 +6258,7 @@
|
|
|
6258
6258
|
* @param {?} paymentGroups
|
|
6259
6259
|
* @return {?}
|
|
6260
6260
|
*/function (paymentGroups) {
|
|
6261
|
-
_this.errorMessage = _this.errorHandlerService.getServerErrorMessage(false);
|
|
6261
|
+
_this.errorMessage = _this.errorHandlerService.getServerErrorMessage(false, false, '');
|
|
6262
6262
|
_this.paymentGroups = paymentGroups['payment_groups'].filter(( /**
|
|
6263
6263
|
* @param {?} paymentGroup
|
|
6264
6264
|
* @return {?}
|
|
@@ -6281,7 +6281,7 @@
|
|
|
6281
6281
|
* @param {?} error
|
|
6282
6282
|
* @return {?}
|
|
6283
6283
|
*/function (error) {
|
|
6284
|
-
_this.errorMessage = _this.errorHandlerService.getServerErrorMessage(true);
|
|
6284
|
+
_this.errorMessage = _this.errorHandlerService.getServerErrorMessage(true, false, '');
|
|
6285
6285
|
}));
|
|
6286
6286
|
}
|
|
6287
6287
|
};
|
|
@@ -6458,7 +6458,7 @@
|
|
|
6458
6458
|
* @param {?} res
|
|
6459
6459
|
* @return {?}
|
|
6460
6460
|
*/function (res) {
|
|
6461
|
-
_this.errorMessage = _this.errorHandlerService.getServerErrorMessage(false);
|
|
6461
|
+
_this.errorMessage = _this.errorHandlerService.getServerErrorMessage(false, false, '');
|
|
6462
6462
|
/** @type {?} */
|
|
6463
6463
|
var response = JSON.parse(res);
|
|
6464
6464
|
if (response.success) {
|
|
@@ -6468,7 +6468,7 @@
|
|
|
6468
6468
|
* @param {?} error
|
|
6469
6469
|
* @return {?}
|
|
6470
6470
|
*/function (error) {
|
|
6471
|
-
_this.errorMessage = _this.errorHandlerService.getServerErrorMessage(true);
|
|
6471
|
+
_this.errorMessage = _this.errorHandlerService.getServerErrorMessage(true, false, '');
|
|
6472
6472
|
window.scrollTo(0, 0);
|
|
6473
6473
|
_this.isConfirmButtondisabled = false;
|
|
6474
6474
|
}));
|
|
@@ -6478,7 +6478,7 @@
|
|
|
6478
6478
|
* @param {?} res1
|
|
6479
6479
|
* @return {?}
|
|
6480
6480
|
*/function (res1) {
|
|
6481
|
-
_this.errorMessage = _this.errorHandlerService.getServerErrorMessage(false);
|
|
6481
|
+
_this.errorMessage = _this.errorHandlerService.getServerErrorMessage(false, false, '');
|
|
6482
6482
|
/** @type {?} */
|
|
6483
6483
|
var response1 = JSON.parse(res1);
|
|
6484
6484
|
if (response1.success) {
|
|
@@ -6488,7 +6488,7 @@
|
|
|
6488
6488
|
* @param {?} res2
|
|
6489
6489
|
* @return {?}
|
|
6490
6490
|
*/function (res2) {
|
|
6491
|
-
_this.errorMessage = _this.errorHandlerService.getServerErrorMessage(false);
|
|
6491
|
+
_this.errorMessage = _this.errorHandlerService.getServerErrorMessage(false, false, '');
|
|
6492
6492
|
/** @type {?} */
|
|
6493
6493
|
var response2 = JSON.parse(res2);
|
|
6494
6494
|
/** @type {?} */
|
|
@@ -6498,7 +6498,7 @@
|
|
|
6498
6498
|
* @param {?} res3
|
|
6499
6499
|
* @return {?}
|
|
6500
6500
|
*/function (res3) {
|
|
6501
|
-
_this.errorMessage = _this.errorHandlerService.getServerErrorMessage(false);
|
|
6501
|
+
_this.errorMessage = _this.errorHandlerService.getServerErrorMessage(false, false, '');
|
|
6502
6502
|
/** @type {?} */
|
|
6503
6503
|
var response3 = JSON.parse(res3);
|
|
6504
6504
|
if (response3.success) {
|
|
@@ -6509,7 +6509,7 @@
|
|
|
6509
6509
|
* @return {?}
|
|
6510
6510
|
*/function (error) {
|
|
6511
6511
|
_this.bulkScaningPaymentService.patchBSChangeStatus(_this.unAllocatedPayment.dcn_reference, 'COMPLETE').subscribe();
|
|
6512
|
-
_this.errorMessage = _this.errorHandlerService.getServerErrorMessage(true);
|
|
6512
|
+
_this.errorMessage = _this.errorHandlerService.getServerErrorMessage(true, false, '');
|
|
6513
6513
|
window.scrollTo(0, 0);
|
|
6514
6514
|
_this.isConfirmButtondisabled = false;
|
|
6515
6515
|
}));
|
|
@@ -6519,7 +6519,7 @@
|
|
|
6519
6519
|
* @return {?}
|
|
6520
6520
|
*/function (error) {
|
|
6521
6521
|
_this.bulkScaningPaymentService.patchBSChangeStatus(_this.unAllocatedPayment.dcn_reference, 'COMPLETE').subscribe();
|
|
6522
|
-
_this.errorMessage = _this.errorHandlerService.getServerErrorMessage(true);
|
|
6522
|
+
_this.errorMessage = _this.errorHandlerService.getServerErrorMessage(true, false, '');
|
|
6523
6523
|
window.scrollTo(0, 0);
|
|
6524
6524
|
_this.isConfirmButtondisabled = false;
|
|
6525
6525
|
}));
|
|
@@ -6528,7 +6528,7 @@
|
|
|
6528
6528
|
* @param {?} error
|
|
6529
6529
|
* @return {?}
|
|
6530
6530
|
*/function (error) {
|
|
6531
|
-
_this.errorMessage = _this.errorHandlerService.getServerErrorMessage(true);
|
|
6531
|
+
_this.errorMessage = _this.errorHandlerService.getServerErrorMessage(true, false, '');
|
|
6532
6532
|
window.scrollTo(0, 0);
|
|
6533
6533
|
_this.isConfirmButtondisabled = false;
|
|
6534
6534
|
}));
|
|
@@ -6586,7 +6586,7 @@
|
|
|
6586
6586
|
* @param {?} unassignedPayments
|
|
6587
6587
|
* @return {?}
|
|
6588
6588
|
*/function (unassignedPayments) {
|
|
6589
|
-
_this.errorMessage = _this.errorHandlerService.getServerErrorMessage(false);
|
|
6589
|
+
_this.errorMessage = _this.errorHandlerService.getServerErrorMessage(false, false, '');
|
|
6590
6590
|
_this.unAllocatedPayment = unassignedPayments['data'].payments.filter(( /**
|
|
6591
6591
|
* @param {?} payment
|
|
6592
6592
|
* @return {?}
|
|
@@ -6607,7 +6607,7 @@
|
|
|
6607
6607
|
* @param {?} error
|
|
6608
6608
|
* @return {?}
|
|
6609
6609
|
*/function (error) {
|
|
6610
|
-
_this.errorMessage = _this.errorHandlerService.getServerErrorMessage(true);
|
|
6610
|
+
_this.errorMessage = _this.errorHandlerService.getServerErrorMessage(true, false, '');
|
|
6611
6611
|
}));
|
|
6612
6612
|
};
|
|
6613
6613
|
/**
|
|
@@ -8079,7 +8079,7 @@
|
|
|
8079
8079
|
this.isStartDateLesthanEndDate = false;
|
|
8080
8080
|
this.isDateBetwnMonth = false;
|
|
8081
8081
|
this.isDateRangeBetnWeek = false;
|
|
8082
|
-
this.errorMessage = this.errorHandlerService.getServerErrorMessage(false);
|
|
8082
|
+
this.errorMessage = this.errorHandlerService.getServerErrorMessage(false, false, '');
|
|
8083
8083
|
this.paymentGroups = [];
|
|
8084
8084
|
}
|
|
8085
8085
|
/**
|
|
@@ -8189,7 +8189,7 @@
|
|
|
8189
8189
|
* @param {?} response
|
|
8190
8190
|
* @return {?}
|
|
8191
8191
|
*/function (response) {
|
|
8192
|
-
_this.errorMessage = _this.errorHandlerService.getServerErrorMessage(false);
|
|
8192
|
+
_this.errorMessage = _this.errorHandlerService.getServerErrorMessage(false, false, '');
|
|
8193
8193
|
/** @type {?} */
|
|
8194
8194
|
var result = JSON.parse(response);
|
|
8195
8195
|
/** @type {?} */
|
|
@@ -8229,7 +8229,7 @@
|
|
|
8229
8229
|
* @return {?}
|
|
8230
8230
|
*/function (error) {
|
|
8231
8231
|
_this.isDownLoadButtondisabled = false;
|
|
8232
|
-
_this.errorMessage = _this.errorHandlerService.getServerErrorMessage(true);
|
|
8232
|
+
_this.errorMessage = _this.errorHandlerService.getServerErrorMessage(true, false, '');
|
|
8233
8233
|
}));
|
|
8234
8234
|
}
|
|
8235
8235
|
else if (selectedReportName === 'PAYMENT_FAILURE_EVENT') {
|
|
@@ -8237,7 +8237,7 @@
|
|
|
8237
8237
|
* @param {?} response
|
|
8238
8238
|
* @return {?}
|
|
8239
8239
|
*/function (response) {
|
|
8240
|
-
_this.errorMessage = _this.errorHandlerService.getServerErrorMessage(false);
|
|
8240
|
+
_this.errorMessage = _this.errorHandlerService.getServerErrorMessage(false, false, '');
|
|
8241
8241
|
/** @type {?} */
|
|
8242
8242
|
var result = { data: JSON.parse(response)['payment_failure_report_list'] };
|
|
8243
8243
|
/** @type {?} */
|
|
@@ -8266,7 +8266,9 @@
|
|
|
8266
8266
|
if (statusCode === '404') {
|
|
8267
8267
|
_this.errorHandlerService.getServerErrorMessage(true, true, errorContent);
|
|
8268
8268
|
}
|
|
8269
|
-
|
|
8269
|
+
else {
|
|
8270
|
+
_this.errorHandlerService.getServerErrorMessage(true, false, '');
|
|
8271
|
+
}
|
|
8270
8272
|
}));
|
|
8271
8273
|
}
|
|
8272
8274
|
else {
|
|
@@ -8274,7 +8276,7 @@
|
|
|
8274
8276
|
* @param {?} response
|
|
8275
8277
|
* @return {?}
|
|
8276
8278
|
*/function (response) {
|
|
8277
|
-
_this.errorMessage = _this.errorHandlerService.getServerErrorMessage(false);
|
|
8279
|
+
_this.errorMessage = _this.errorHandlerService.getServerErrorMessage(false, false, '');
|
|
8278
8280
|
/** @type {?} */
|
|
8279
8281
|
var result = JSON.parse(response);
|
|
8280
8282
|
/** @type {?} */
|
|
@@ -8303,7 +8305,7 @@
|
|
|
8303
8305
|
* @return {?}
|
|
8304
8306
|
*/function (error) {
|
|
8305
8307
|
_this.isDownLoadButtondisabled = false;
|
|
8306
|
-
_this.errorMessage = _this.errorHandlerService.getServerErrorMessage(true);
|
|
8308
|
+
_this.errorMessage = _this.errorHandlerService.getServerErrorMessage(true, false, '');
|
|
8307
8309
|
}));
|
|
8308
8310
|
}
|
|
8309
8311
|
};
|