@magic-xpa/angular 4.1200.0-dev4120.112 → 4.1200.0-dev4120.114
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.
@@ -317,6 +317,9 @@ class EngineMagicService {
|
|
317
317
|
UploadFileToServer(fileContent, serverFileName) {
|
318
318
|
return this.magicBridge.UploadFileToServer(fileContent, serverFileName);
|
319
319
|
}
|
320
|
+
async DownloadFileFromServer(serverFileName) {
|
321
|
+
return await this.magicBridge.DownloadFileFromServer(serverFileName);
|
322
|
+
}
|
320
323
|
GetFormattedValue(taskId, controlName, value, rowId) {
|
321
324
|
return this.magicBridge.GetFormattedValue(taskId, controlName, value, rowId);
|
322
325
|
}
|
@@ -2220,6 +2223,9 @@ class TaskMagicService {
|
|
2220
2223
|
UploadFileToServer(fileContent, serverFileName) {
|
2221
2224
|
return this.magic.UploadFileToServer(fileContent, serverFileName);
|
2222
2225
|
}
|
2226
|
+
async DownloadFileFromServer(serverFileName) {
|
2227
|
+
return await this.magic.DownloadFileFromServer(serverFileName);
|
2228
|
+
}
|
2223
2229
|
/**
|
2224
2230
|
* Validates the control value, using the Magic WebClient
|
2225
2231
|
* @param controlName Id of validated control
|
@@ -3145,6 +3151,9 @@ class AccessorMagicService {
|
|
3145
3151
|
UploadFileToServer(fileContent, serverFileName) {
|
3146
3152
|
return this.task.UploadFileToServer(fileContent, serverFileName);
|
3147
3153
|
}
|
3154
|
+
async DownloadFileFromServer(serverFileName) {
|
3155
|
+
return await this.task.DownloadFileFromServer(serverFileName);
|
3156
|
+
}
|
3148
3157
|
/**
|
3149
3158
|
* Checks if the control is read-only
|
3150
3159
|
* @param controlId Id of control
|