@churchillliving/se-ui-toolkit 6.53.133 → 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 +0 -1
- package/bundles/churchillliving-se-ui-toolkit.umd.js +5 -3
- package/bundles/churchillliving-se-ui-toolkit.umd.js.map +1 -1
- package/esm2015/lib/components/base/file-upload/file-upload.component.js +3 -2
- package/esm2015/lib/components/shared/global-filters/global-filters.component.js +1 -1
- package/esm2015/lib/models/form.model.js +1 -1
- package/esm2015/lib/services/form.service.js +2 -1
- package/fesm2015/churchillliving-se-ui-toolkit.js +3 -1
- package/fesm2015/churchillliving-se-ui-toolkit.js.map +1 -1
- package/lib/models/form.model.d.ts +3 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -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 (
|
|
7793
|
-
var 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);
|