sa2kit 1.6.84 → 1.6.85
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/showmasterpiece/index.js +0 -9
- package/dist/showmasterpiece/index.js.map +1 -1
- package/dist/showmasterpiece/index.mjs +0 -9
- package/dist/showmasterpiece/index.mjs.map +1 -1
- package/dist/showmasterpiece/ui/web/index.js +0 -9
- package/dist/showmasterpiece/ui/web/index.js.map +1 -1
- package/dist/showmasterpiece/ui/web/index.mjs +0 -9
- package/dist/showmasterpiece/ui/web/index.mjs.map +1 -1
- package/dist/showmasterpiece/web/index.js +0 -9
- package/dist/showmasterpiece/web/index.js.map +1 -1
- package/dist/showmasterpiece/web/index.mjs +0 -9
- package/dist/showmasterpiece/web/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -6552,19 +6552,10 @@ var UniversalImageUpload = ({
|
|
|
6552
6552
|
handleFileSelect(file);
|
|
6553
6553
|
}
|
|
6554
6554
|
};
|
|
6555
|
-
const handleDivClick = (e) => {
|
|
6556
|
-
e.preventDefault();
|
|
6557
|
-
e.stopPropagation();
|
|
6558
|
-
const input = document.getElementById(inputId);
|
|
6559
|
-
if (input && !disabled && !uploading) {
|
|
6560
|
-
input.click();
|
|
6561
|
-
}
|
|
6562
|
-
};
|
|
6563
6555
|
return /* @__PURE__ */ React56__default.createElement(
|
|
6564
6556
|
"div",
|
|
6565
6557
|
{
|
|
6566
6558
|
className: "border-2 border-dashed border-slate-300 rounded-xl p-8 text-center hover:border-blue-400 hover:bg-slate-50 transition-all duration-200 cursor-pointer",
|
|
6567
|
-
onClick: handleDivClick,
|
|
6568
6559
|
style: { position: "relative", zIndex: 1 }
|
|
6569
6560
|
},
|
|
6570
6561
|
/* @__PURE__ */ React56__default.createElement(
|