bkui-vue 0.0.2-beta.86 → 0.0.2-beta.87
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/lib/upload/index.js
CHANGED
@@ -1945,11 +1945,11 @@ const external_button_namespaceObject = external_button_x({ ["default"]: () => _
|
|
1945
1945
|
"disabled": disabled.value
|
1946
1946
|
}, {
|
1947
1947
|
"default": function _default() {
|
1948
|
-
return [(0,external_vue_namespaceObject.createVNode)(external_icon_namespaceObject.Upload, {
|
1948
|
+
return [(0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Fragment, null, [slots["default"] ? slots["default"]() : (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Fragment, null, [(0,external_vue_namespaceObject.createVNode)(external_icon_namespaceObject.Upload, {
|
1949
1949
|
"class": "".concat(classBlock, "__button-icon")
|
1950
1950
|
}, null), (0,external_vue_namespaceObject.createVNode)("span", {
|
1951
1951
|
"class": "".concat(classBlock, "__button-text")
|
1952
|
-
}, [t.value.uploadLabel])];
|
1952
|
+
}, [t.value.uploadLabel])])])];
|
1953
1953
|
}
|
1954
1954
|
});
|
1955
1955
|
};
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { UploadFile, UploadHanderHooks, UploadProgressEvent, UploadProps, UploadRawFile } from './upload.type';
|
1
|
+
import { SuccessResponse, UploadFile, UploadHanderHooks, UploadProgressEvent, UploadProps, UploadRawFile } from './upload.type';
|
2
2
|
declare const _default: (props: UploadProps, hooks: UploadHanderHooks) => {
|
3
3
|
fileList: import("vue").Ref<{
|
4
4
|
name: string;
|
@@ -15,7 +15,7 @@ declare const _default: (props: UploadProps, hooks: UploadHanderHooks) => {
|
|
15
15
|
handlePreprocess: (file: UploadRawFile) => any;
|
16
16
|
handleRemove: (file: UploadFile | UploadRawFile) => Promise<void>;
|
17
17
|
handleError: (err: Error, rawFile: UploadRawFile, res?: unknown) => Promise<void>;
|
18
|
-
handleSuccess: (res:
|
18
|
+
handleSuccess: (res: SuccessResponse, rawFile: UploadRawFile) => Promise<void>;
|
19
19
|
handleProgress: (event: UploadProgressEvent, rawFile: UploadRawFile) => Promise<void>;
|
20
20
|
};
|
21
21
|
export default _default;
|