bkui-vue 0.0.1-beta.192 → 0.0.1-beta.193
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.js +28 -28
- package/dist/index.esm.js +14 -4
- package/dist/index.umd.js +28 -28
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/upload/index.js +1 -1
- package/lib/upload/upload.css +3 -0
- package/lib/upload/upload.less +3 -0
- package/lib/upload/upload.variable.css +3 -0
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
@@ -30212,7 +30212,9 @@ var UploadList = defineComponent({
|
|
30212
30212
|
return createVNode("li", {
|
30213
30213
|
"key": file.uid,
|
30214
30214
|
"class": classNames2
|
30215
|
-
}, [(slots == null ? void 0 : slots.file) ? slots.file(
|
30215
|
+
}, [(slots == null ? void 0 : slots.file) ? slots.file({
|
30216
|
+
file
|
30217
|
+
}) : PhotoItem(file)]);
|
30216
30218
|
})) ? _slot : {
|
30217
30219
|
default: () => [_slot]
|
30218
30220
|
});
|
@@ -30249,7 +30251,9 @@ var UploadList = defineComponent({
|
|
30249
30251
|
return createVNode("li", {
|
30250
30252
|
"key": file.uid,
|
30251
30253
|
"class": classNames2
|
30252
|
-
}, [(slots == null ? void 0 : slots.file) ? slots.file(
|
30254
|
+
}, [(slots == null ? void 0 : slots.file) ? slots.file({
|
30255
|
+
file
|
30256
|
+
}) : NormalItem(file)]);
|
30253
30257
|
})) ? _slot2 : {
|
30254
30258
|
default: () => [_slot2]
|
30255
30259
|
});
|
@@ -31298,7 +31302,8 @@ var Component$1 = defineComponent({
|
|
31298
31302
|
emits: ["exceed", "progress", "success", "error", "delete", "done"],
|
31299
31303
|
setup(props2, {
|
31300
31304
|
slots,
|
31301
|
-
emit
|
31305
|
+
emit,
|
31306
|
+
expose
|
31302
31307
|
}) {
|
31303
31308
|
const requests = shallowRef({});
|
31304
31309
|
const isPhotowall = computed(() => props2.theme === EThemes.PICTURE);
|
@@ -31469,6 +31474,10 @@ var Component$1 = defineComponent({
|
|
31469
31474
|
URL.revokeObjectURL(url);
|
31470
31475
|
});
|
31471
31476
|
});
|
31477
|
+
expose({
|
31478
|
+
handleRemove,
|
31479
|
+
handleRetry
|
31480
|
+
});
|
31472
31481
|
return () => createVNode("div", {
|
31473
31482
|
"class": classNames.value
|
31474
31483
|
}, [!isPhotowall.value && createVNode(UploadTrigger, mergeProps(triggerProps, {
|
@@ -31487,7 +31496,8 @@ var Component$1 = defineComponent({
|
|
31487
31496
|
"file": file,
|
31488
31497
|
"onChange": handleFiles,
|
31489
31498
|
"onRemove": handleRemove
|
31490
|
-
}), slots)
|
31499
|
+
}), slots),
|
31500
|
+
file: slots.file
|
31491
31501
|
})]);
|
31492
31502
|
}
|
31493
31503
|
});
|