sa2kit 1.6.84 → 1.6.88
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 +16 -1
|
@@ -6576,19 +6576,10 @@ var UniversalImageUpload = ({
|
|
|
6576
6576
|
handleFileSelect(file);
|
|
6577
6577
|
}
|
|
6578
6578
|
};
|
|
6579
|
-
const handleDivClick = (e) => {
|
|
6580
|
-
e.preventDefault();
|
|
6581
|
-
e.stopPropagation();
|
|
6582
|
-
const input = document.getElementById(inputId);
|
|
6583
|
-
if (input && !disabled && !uploading) {
|
|
6584
|
-
input.click();
|
|
6585
|
-
}
|
|
6586
|
-
};
|
|
6587
6579
|
return /* @__PURE__ */ React56__namespace.default.createElement(
|
|
6588
6580
|
"div",
|
|
6589
6581
|
{
|
|
6590
6582
|
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",
|
|
6591
|
-
onClick: handleDivClick,
|
|
6592
6583
|
style: { position: "relative", zIndex: 1 }
|
|
6593
6584
|
},
|
|
6594
6585
|
/* @__PURE__ */ React56__namespace.default.createElement(
|