@widget-js/core 0.11.6 → 0.11.8
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/dist/index.cjs +8 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +75 -3
- package/dist/index.js +8 -2
- package/dist/index.js.map +1 -1
- package/package.json +2 -1
package/dist/index.cjs
CHANGED
|
@@ -2103,6 +2103,12 @@ var LogApi = new LogApiImpl();
|
|
|
2103
2103
|
|
|
2104
2104
|
// src/api/FileApi.ts
|
|
2105
2105
|
var FileApiImpl = class extends BaseApi {
|
|
2106
|
+
getPictureMetadata(filePath) {
|
|
2107
|
+
return this.invokeMethod("getPictureMetadata", filePath);
|
|
2108
|
+
}
|
|
2109
|
+
move(form, to) {
|
|
2110
|
+
return this.invokeMethod("move", form, to);
|
|
2111
|
+
}
|
|
2106
2112
|
getFileType(filePath) {
|
|
2107
2113
|
return this.invokeMethod("getFileType", filePath);
|
|
2108
2114
|
}
|
|
@@ -2118,8 +2124,8 @@ var FileApiImpl = class extends BaseApi {
|
|
|
2118
2124
|
delete(filePath) {
|
|
2119
2125
|
return this.invokeMethod("delete", filePath);
|
|
2120
2126
|
}
|
|
2121
|
-
downloadUrl(url, savePath) {
|
|
2122
|
-
return this.invokeMethod("downloadUrl", url, savePath);
|
|
2127
|
+
downloadUrl(url, savePath, fileName) {
|
|
2128
|
+
return this.invokeMethod("downloadUrl", url, savePath, fileName);
|
|
2123
2129
|
}
|
|
2124
2130
|
exists(filePath) {
|
|
2125
2131
|
return this.invokeMethod("exists", filePath);
|