@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.
@@ -6194,7 +6194,7 @@ var AllocatePaymentsComponent = /** @class */ (function () {
6194
6194
  amount: 0
6195
6195
  };
6196
6196
  this.siteID = null;
6197
- this.errorMessage = this.errorHandlerService.getServerErrorMessage(false);
6197
+ this.errorMessage = this.errorHandlerService.getServerErrorMessage(false, false, '');
6198
6198
  this.paymentGroups = [];
6199
6199
  this.isMoreDetailsBoxHide = true;
6200
6200
  this.isConfirmButtondisabled = false;
@@ -6328,7 +6328,7 @@ var AllocatePaymentsComponent = /** @class */ (function () {
6328
6328
  * @return {?}
6329
6329
  */
6330
6330
  function (paymentGroup) {
6331
- _this.errorMessage = _this.errorHandlerService.getServerErrorMessage(false);
6331
+ _this.errorMessage = _this.errorHandlerService.getServerErrorMessage(false, false, '');
6332
6332
  _this.paymentGroup = paymentGroup;
6333
6333
  _this.saveAndContinue();
6334
6334
  }), (/**
@@ -6336,7 +6336,7 @@ var AllocatePaymentsComponent = /** @class */ (function () {
6336
6336
  * @return {?}
6337
6337
  */
6338
6338
  function (error) {
6339
- _this.errorMessage = _this.errorHandlerService.getServerErrorMessage(true);
6339
+ _this.errorMessage = _this.errorHandlerService.getServerErrorMessage(true, false, '');
6340
6340
  }));
6341
6341
  }
6342
6342
  else {
@@ -6345,7 +6345,7 @@ var AllocatePaymentsComponent = /** @class */ (function () {
6345
6345
  * @return {?}
6346
6346
  */
6347
6347
  function (paymentGroups) {
6348
- _this.errorMessage = _this.errorHandlerService.getServerErrorMessage(false);
6348
+ _this.errorMessage = _this.errorHandlerService.getServerErrorMessage(false, false, '');
6349
6349
  _this.paymentGroups = paymentGroups['payment_groups'].filter((/**
6350
6350
  * @param {?} paymentGroup
6351
6351
  * @return {?}
@@ -6371,7 +6371,7 @@ var AllocatePaymentsComponent = /** @class */ (function () {
6371
6371
  * @return {?}
6372
6372
  */
6373
6373
  function (error) {
6374
- _this.errorMessage = _this.errorHandlerService.getServerErrorMessage(true);
6374
+ _this.errorMessage = _this.errorHandlerService.getServerErrorMessage(true, false, '');
6375
6375
  }));
6376
6376
  }
6377
6377
  };
@@ -6550,7 +6550,7 @@ var AllocatePaymentsComponent = /** @class */ (function () {
6550
6550
  * @return {?}
6551
6551
  */
6552
6552
  function (res) {
6553
- _this.errorMessage = _this.errorHandlerService.getServerErrorMessage(false);
6553
+ _this.errorMessage = _this.errorHandlerService.getServerErrorMessage(false, false, '');
6554
6554
  /** @type {?} */
6555
6555
  var response = JSON.parse(res);
6556
6556
  if (response.success) {
@@ -6561,7 +6561,7 @@ var AllocatePaymentsComponent = /** @class */ (function () {
6561
6561
  * @return {?}
6562
6562
  */
6563
6563
  function (error) {
6564
- _this.errorMessage = _this.errorHandlerService.getServerErrorMessage(true);
6564
+ _this.errorMessage = _this.errorHandlerService.getServerErrorMessage(true, false, '');
6565
6565
  window.scrollTo(0, 0);
6566
6566
  _this.isConfirmButtondisabled = false;
6567
6567
  }));
@@ -6572,7 +6572,7 @@ var AllocatePaymentsComponent = /** @class */ (function () {
6572
6572
  * @return {?}
6573
6573
  */
6574
6574
  function (res1) {
6575
- _this.errorMessage = _this.errorHandlerService.getServerErrorMessage(false);
6575
+ _this.errorMessage = _this.errorHandlerService.getServerErrorMessage(false, false, '');
6576
6576
  /** @type {?} */
6577
6577
  var response1 = JSON.parse(res1);
6578
6578
  if (response1.success) {
@@ -6583,7 +6583,7 @@ var AllocatePaymentsComponent = /** @class */ (function () {
6583
6583
  * @return {?}
6584
6584
  */
6585
6585
  function (res2) {
6586
- _this.errorMessage = _this.errorHandlerService.getServerErrorMessage(false);
6586
+ _this.errorMessage = _this.errorHandlerService.getServerErrorMessage(false, false, '');
6587
6587
  /** @type {?} */
6588
6588
  var response2 = JSON.parse(res2);
6589
6589
  /** @type {?} */
@@ -6594,7 +6594,7 @@ var AllocatePaymentsComponent = /** @class */ (function () {
6594
6594
  * @return {?}
6595
6595
  */
6596
6596
  function (res3) {
6597
- _this.errorMessage = _this.errorHandlerService.getServerErrorMessage(false);
6597
+ _this.errorMessage = _this.errorHandlerService.getServerErrorMessage(false, false, '');
6598
6598
  /** @type {?} */
6599
6599
  var response3 = JSON.parse(res3);
6600
6600
  if (response3.success) {
@@ -6606,7 +6606,7 @@ var AllocatePaymentsComponent = /** @class */ (function () {
6606
6606
  */
6607
6607
  function (error) {
6608
6608
  _this.bulkScaningPaymentService.patchBSChangeStatus(_this.unAllocatedPayment.dcn_reference, 'COMPLETE').subscribe();
6609
- _this.errorMessage = _this.errorHandlerService.getServerErrorMessage(true);
6609
+ _this.errorMessage = _this.errorHandlerService.getServerErrorMessage(true, false, '');
6610
6610
  window.scrollTo(0, 0);
6611
6611
  _this.isConfirmButtondisabled = false;
6612
6612
  }));
@@ -6617,7 +6617,7 @@ var AllocatePaymentsComponent = /** @class */ (function () {
6617
6617
  */
6618
6618
  function (error) {
6619
6619
  _this.bulkScaningPaymentService.patchBSChangeStatus(_this.unAllocatedPayment.dcn_reference, 'COMPLETE').subscribe();
6620
- _this.errorMessage = _this.errorHandlerService.getServerErrorMessage(true);
6620
+ _this.errorMessage = _this.errorHandlerService.getServerErrorMessage(true, false, '');
6621
6621
  window.scrollTo(0, 0);
6622
6622
  _this.isConfirmButtondisabled = false;
6623
6623
  }));
@@ -6627,7 +6627,7 @@ var AllocatePaymentsComponent = /** @class */ (function () {
6627
6627
  * @return {?}
6628
6628
  */
6629
6629
  function (error) {
6630
- _this.errorMessage = _this.errorHandlerService.getServerErrorMessage(true);
6630
+ _this.errorMessage = _this.errorHandlerService.getServerErrorMessage(true, false, '');
6631
6631
  window.scrollTo(0, 0);
6632
6632
  _this.isConfirmButtondisabled = false;
6633
6633
  }));
@@ -6686,7 +6686,7 @@ var AllocatePaymentsComponent = /** @class */ (function () {
6686
6686
  * @return {?}
6687
6687
  */
6688
6688
  function (unassignedPayments) {
6689
- _this.errorMessage = _this.errorHandlerService.getServerErrorMessage(false);
6689
+ _this.errorMessage = _this.errorHandlerService.getServerErrorMessage(false, false, '');
6690
6690
  _this.unAllocatedPayment = unassignedPayments['data'].payments.filter((/**
6691
6691
  * @param {?} payment
6692
6692
  * @return {?}
@@ -6709,7 +6709,7 @@ var AllocatePaymentsComponent = /** @class */ (function () {
6709
6709
  * @return {?}
6710
6710
  */
6711
6711
  function (error) {
6712
- _this.errorMessage = _this.errorHandlerService.getServerErrorMessage(true);
6712
+ _this.errorMessage = _this.errorHandlerService.getServerErrorMessage(true, false, '');
6713
6713
  }));
6714
6714
  };
6715
6715
  /**
@@ -8197,7 +8197,7 @@ var ReportsComponent = /** @class */ (function () {
8197
8197
  this.isStartDateLesthanEndDate = false;
8198
8198
  this.isDateBetwnMonth = false;
8199
8199
  this.isDateRangeBetnWeek = false;
8200
- this.errorMessage = this.errorHandlerService.getServerErrorMessage(false);
8200
+ this.errorMessage = this.errorHandlerService.getServerErrorMessage(false, false, '');
8201
8201
  this.paymentGroups = [];
8202
8202
  }
8203
8203
  /**
@@ -8308,7 +8308,7 @@ var ReportsComponent = /** @class */ (function () {
8308
8308
  * @return {?}
8309
8309
  */
8310
8310
  function (response) {
8311
- _this.errorMessage = _this.errorHandlerService.getServerErrorMessage(false);
8311
+ _this.errorMessage = _this.errorHandlerService.getServerErrorMessage(false, false, '');
8312
8312
  /** @type {?} */
8313
8313
  var result = JSON.parse(response);
8314
8314
  /** @type {?} */
@@ -8349,7 +8349,7 @@ var ReportsComponent = /** @class */ (function () {
8349
8349
  */
8350
8350
  function (error) {
8351
8351
  _this.isDownLoadButtondisabled = false;
8352
- _this.errorMessage = _this.errorHandlerService.getServerErrorMessage(true);
8352
+ _this.errorMessage = _this.errorHandlerService.getServerErrorMessage(true, false, '');
8353
8353
  }));
8354
8354
  }
8355
8355
  else if (selectedReportName === 'PAYMENT_FAILURE_EVENT') {
@@ -8358,7 +8358,7 @@ var ReportsComponent = /** @class */ (function () {
8358
8358
  * @return {?}
8359
8359
  */
8360
8360
  function (response) {
8361
- _this.errorMessage = _this.errorHandlerService.getServerErrorMessage(false);
8361
+ _this.errorMessage = _this.errorHandlerService.getServerErrorMessage(false, false, '');
8362
8362
  /** @type {?} */
8363
8363
  var result = { data: JSON.parse(response)['payment_failure_report_list'] };
8364
8364
  /** @type {?} */
@@ -8388,7 +8388,9 @@ var ReportsComponent = /** @class */ (function () {
8388
8388
  if (statusCode === '404') {
8389
8389
  _this.errorHandlerService.getServerErrorMessage(true, true, errorContent);
8390
8390
  }
8391
- _this.errorHandlerService.getServerErrorMessage(true);
8391
+ else {
8392
+ _this.errorHandlerService.getServerErrorMessage(true, false, '');
8393
+ }
8392
8394
  }));
8393
8395
  }
8394
8396
  else {
@@ -8397,7 +8399,7 @@ var ReportsComponent = /** @class */ (function () {
8397
8399
  * @return {?}
8398
8400
  */
8399
8401
  function (response) {
8400
- _this.errorMessage = _this.errorHandlerService.getServerErrorMessage(false);
8402
+ _this.errorMessage = _this.errorHandlerService.getServerErrorMessage(false, false, '');
8401
8403
  /** @type {?} */
8402
8404
  var result = JSON.parse(response);
8403
8405
  /** @type {?} */
@@ -8427,7 +8429,7 @@ var ReportsComponent = /** @class */ (function () {
8427
8429
  */
8428
8430
  function (error) {
8429
8431
  _this.isDownLoadButtondisabled = false;
8430
- _this.errorMessage = _this.errorHandlerService.getServerErrorMessage(true);
8432
+ _this.errorMessage = _this.errorHandlerService.getServerErrorMessage(true, false, '');
8431
8433
  }));
8432
8434
  }
8433
8435
  };