@magic-xpa/angular 4.1200.0-dev4120.70 → 4.1200.0-dev4120.72
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.
@@ -314,6 +314,9 @@ class EngineMagicService {
|
|
314
314
|
GetControlPictureMask(taskId, controlName) {
|
315
315
|
return this.magicBridge.GetControlPictureMask(taskId, controlName);
|
316
316
|
}
|
317
|
+
UploadFileToServer(fileContent, serverFileName) {
|
318
|
+
return this.magicBridge.UploadFileToServer(fileContent, serverFileName);
|
319
|
+
}
|
317
320
|
GetFormattedValue(taskId, controlName, value, rowId) {
|
318
321
|
return this.magicBridge.GetFormattedValue(taskId, controlName, value, rowId);
|
319
322
|
}
|
@@ -2211,6 +2214,12 @@ class TaskMagicService {
|
|
2211
2214
|
GetControlPictureMask(controlName) {
|
2212
2215
|
return this.magic.GetControlPictureMask(this.taskId, controlName);
|
2213
2216
|
}
|
2217
|
+
/**
|
2218
|
+
* @ignore
|
2219
|
+
*/
|
2220
|
+
UploadFileToServer(fileContent, serverFileName) {
|
2221
|
+
return this.magic.UploadFileToServer(fileContent, serverFileName);
|
2222
|
+
}
|
2214
2223
|
/**
|
2215
2224
|
* Validates the control value, using the Magic WebClient
|
2216
2225
|
* @param controlName Id of validated control
|
@@ -3133,6 +3142,9 @@ class AccessorMagicService {
|
|
3133
3142
|
this.magicColor = magicColor;
|
3134
3143
|
this.Logger = Logger.Instance;
|
3135
3144
|
}
|
3145
|
+
UploadFileToServer(fileContent, serverFileName) {
|
3146
|
+
return this.task.UploadFileToServer(fileContent, serverFileName);
|
3147
|
+
}
|
3136
3148
|
/**
|
3137
3149
|
* Checks if the control is read-only
|
3138
3150
|
* @param controlId Id of control
|