@churchillliving/se-ui-toolkit 6.53.132 → 6.53.135

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/README.md CHANGED
@@ -26,4 +26,3 @@ To get more help on the Angular CLI use `ng help` or go check out the [Angular C
26
26
  ## Library Publish Command
27
27
 
28
28
  run `npm run publish-toolkit` to publish the npm package
29
- T
@@ -5772,6 +5772,7 @@
5772
5772
  card: fieldInfo.card,
5773
5773
  uniqueKey: fieldInfo.uniqueKey,
5774
5774
  azureContainer: fieldInfo.azureContainer,
5775
+ azureContainerId: fieldInfo.azureContainerId,
5775
5776
  class: fieldInfo.class
5776
5777
  };
5777
5778
  return formField;
@@ -7763,7 +7764,7 @@
7763
7764
  FileUploadComponent.prototype.ngOnInit = function () { };
7764
7765
  FileUploadComponent.prototype.uploadFile = function (files) {
7765
7766
  var _this = this;
7766
- var _a, _b, _c, _d;
7767
+ var _a, _b, _c, _d, _e;
7767
7768
  var fileData = new FormData();
7768
7769
  var chooseFile = false;
7769
7770
  for (var i = 0; i < files.length; i++) {
@@ -7778,6 +7779,7 @@
7778
7779
  }
7779
7780
  else if (this.fields && ((_c = this.fields.azureContainer) === null || _c === void 0 ? void 0 : _c.length) > 0) {
7780
7781
  fileData.append('azureContainer', (_d = this.fields) === null || _d === void 0 ? void 0 : _d.azureContainer);
7782
+ fileData.append('Id', (_e = this.fields) === null || _e === void 0 ? void 0 : _e.azureContainerId);
7781
7783
  }
7782
7784
  this.requestService.get('/Upload', fileData).subscribe(function (data) {
7783
7785
  var _a;
@@ -7789,8 +7791,8 @@
7789
7791
  }
7790
7792
  _this.fileUrl.emit(data.results);
7791
7793
  }
7792
- }, function (_e) {
7793
- var error = _e.error;
7794
+ }, function (_f) {
7795
+ var error = _f.error;
7794
7796
  _this.alertService.apiError(error);
7795
7797
  if (_this.fields.onReturn) {
7796
7798
  _this.fields.onReturn(error);