@churchillliving/se-ui-toolkit 6.53.485 → 6.53.486

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.
@@ -8962,7 +8962,7 @@
8962
8962
  FileUploadComponent.prototype.ngOnInit = function () { };
8963
8963
  FileUploadComponent.prototype.uploadFile = function (files) {
8964
8964
  var _this = this;
8965
- var _a, _b, _c, _d, _e, _f;
8965
+ var _a, _b, _c;
8966
8966
  var fileData = new FormData();
8967
8967
  var chooseFile = false;
8968
8968
  for (var i = 0; i < files.length; i++) {
@@ -8975,8 +8975,8 @@
8975
8975
  if (this.fields && ((_a = this.fields.uniqueKey) === null || _a === void 0 ? void 0 : _a.length) > 0) {
8976
8976
  fileData.append('uniqueKey', (_b = this.fields) === null || _b === void 0 ? void 0 : _b.uniqueKey);
8977
8977
  }
8978
- else if (this.fields && (((_c = this.fields.azureContainer) === null || _c === void 0 ? void 0 : _c.length) > 0 || ((_d = this.fields.pathSystemConfig) === null || _d === void 0 ? void 0 : _d.length) > 0)) {
8979
- fileData.append('azureContainer', ((_e = this.fields) === null || _e === void 0 ? void 0 : _e.SetfileTypes) === exports.ESelectFileType.MRT ? (_f = this.fields) === null || _f === void 0 ? void 0 : _f.azureContainer : this.fields.pathSystemConfig);
8978
+ else if (this.fields && ((_c = this.fields.pathSystemConfig) === null || _c === void 0 ? void 0 : _c.length) > 0) {
8979
+ fileData.append('azureContainer', this.fields.pathSystemConfig);
8980
8980
  }
8981
8981
  this.requestService.get('/Upload', fileData).subscribe(function (data) {
8982
8982
  var _a;
@@ -8988,8 +8988,8 @@
8988
8988
  }
8989
8989
  _this.fileUrl.emit(data.results);
8990
8990
  }
8991
- }, function (_g) {
8992
- var error = _g.error;
8991
+ }, function (_d) {
8992
+ var error = _d.error;
8993
8993
  _this.alertService.apiError(error);
8994
8994
  if (_this.fields.onReturn) {
8995
8995
  _this.fields.onReturn(error);