@energycap/components 0.27.9 → 0.27.10-ECAPID-535-Page-Base-Hide-Splash-On-Error.20220223-1352

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.
@@ -3994,7 +3994,7 @@
3994
3994
  */
3995
3995
  var integerPattern = new RegExp("^(-)?([\\d]+)?$");
3996
3996
  /** Pattern to validate most public domains */
3997
- var domainPattern = /^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\.)+[a-z0-9][a-z0-9-]{0,61}[a-z0-9]$/;
3997
+ var domainPattern = /^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\.)+[a-z0-9][a-z0-9-]{0,61}[a-z0-9]$/i;
3998
3998
  /**
3999
3999
  * Function to return a decimal RegExp. Takes in the number of decimals to validate
4000
4000
  * against
@@ -9036,6 +9036,7 @@
9036
9036
  case 2:
9037
9037
  error_1 = _a.sent();
9038
9038
  this.onError(error_1);
9039
+ this.splashService.hideSplash();
9039
9040
  return [3 /*break*/, 3];
9040
9041
  case 3:
9041
9042
  ;
@@ -9087,6 +9088,7 @@
9087
9088
  case 4:
9088
9089
  error_2 = _a.sent();
9089
9090
  this.onError(error_2);
9091
+ this.splashService.hideSplash();
9090
9092
  return [3 /*break*/, 5];
9091
9093
  case 5: return [2 /*return*/];
9092
9094
  }
@@ -9183,6 +9185,7 @@
9183
9185
  error_3 = _a.sent();
9184
9186
  //clear the "saving" overlay and show the message at the top of the view through the errors property
9185
9187
  this.showErrorBanner(error_3, this.defaultUnknownSaveError);
9188
+ this.splashService.hideSplash();
9186
9189
  return [3 /*break*/, 5];
9187
9190
  case 5: return [3 /*break*/, 7];
9188
9191
  case 6: