@mxmweb/aichat 2.1.2 → 2.1.4
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/index.js +4 -4
- package/package.json +1 -1
- package/stats.html +1 -1
package/index.js
CHANGED
|
@@ -2006,7 +2006,7 @@ function ey({ uploadedFiles: e, onRemoveFile: t, eventsEmit: n, styles: r }) {
|
|
|
2006
2006
|
alt: p,
|
|
2007
2007
|
fallback: E
|
|
2008
2008
|
}
|
|
2009
|
-
) : E;
|
|
2009
|
+
) : E, R = e.length === 1;
|
|
2010
2010
|
return /* @__PURE__ */ oe.jsx(
|
|
2011
2011
|
Qb,
|
|
2012
2012
|
{
|
|
@@ -2018,15 +2018,15 @@ function ey({ uploadedFiles: e, onRemoveFile: t, eventsEmit: n, styles: r }) {
|
|
|
2018
2018
|
statusColor: w.color || "text-gray-400",
|
|
2019
2019
|
statusIcon: w.icon || null,
|
|
2020
2020
|
showRemove: y !== "parsing" && y !== "uploading",
|
|
2021
|
-
onRemoveWithAnim: (
|
|
2021
|
+
onRemoveWithAnim: (D) => {
|
|
2022
2022
|
Ut({
|
|
2023
|
-
targets: `#${
|
|
2023
|
+
targets: `#${D}`,
|
|
2024
2024
|
opacity: 0,
|
|
2025
2025
|
scale: 0.8,
|
|
2026
2026
|
duration: 300,
|
|
2027
2027
|
easing: "easeOutExpo",
|
|
2028
2028
|
complete: () => {
|
|
2029
|
-
t?.(h);
|
|
2029
|
+
t?.(h), R && n?.("files:finished_animation_complete");
|
|
2030
2030
|
}
|
|
2031
2031
|
});
|
|
2032
2032
|
},
|