@churchillliving/se-ui-toolkit 6.52.61 → 6.52.63
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/bundles/churchillliving-se-ui-toolkit.umd.js +8 -0
- package/bundles/churchillliving-se-ui-toolkit.umd.js.map +1 -1
- package/esm2015/lib/components/base/file-upload/file-upload.component.js +9 -1
- package/fesm2015/churchillliving-se-ui-toolkit.js +8 -0
- package/fesm2015/churchillliving-se-ui-toolkit.js.map +1 -1
- package/package.json +1 -1
|
@@ -7610,6 +7610,14 @@
|
|
|
7610
7610
|
this.requestService.get('/Upload', fileData).subscribe(function (data) {
|
|
7611
7611
|
var _a;
|
|
7612
7612
|
if (data) {
|
|
7613
|
+
data.results.forEach(function (res) {
|
|
7614
|
+
res['url'] = res.blobFileUrl,
|
|
7615
|
+
res['extension'] = res.fileExtension,
|
|
7616
|
+
res['caption'] = res.fileCaption,
|
|
7617
|
+
delete res.blobFileUrl;
|
|
7618
|
+
delete res.fileExtension;
|
|
7619
|
+
delete res.fileCaption;
|
|
7620
|
+
});
|
|
7613
7621
|
console.log('data: ', data);
|
|
7614
7622
|
_this.alertService.success('File Upload Successfully.');
|
|
7615
7623
|
if ((_a = _this.fields) === null || _a === void 0 ? void 0 : _a.onReturn) {
|