gearboxdownloadmodal 5.0.72 → 5.0.73
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.es.js +6 -6
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -4056,11 +4056,11 @@ const PA = (e) => {
|
|
|
4056
4056
|
const o = window.URL.createObjectURL(r), i = document.createElement("a");
|
|
4057
4057
|
i.href = o, i.download = n.split("/").reduce((a, A) => A, ""), document.body.appendChild(i), i.click(), window.URL.revokeObjectURL(o), Lt("Download successfully");
|
|
4058
4058
|
}).catch((r) => {
|
|
4059
|
-
console.error("
|
|
4059
|
+
console.error("File error:", r);
|
|
4060
4060
|
});
|
|
4061
4061
|
}, BA = (e, t) => {
|
|
4062
4062
|
let n = rr + "/" + e;
|
|
4063
|
-
|
|
4063
|
+
nr(n) ? Lt("Link Copied") : t(n);
|
|
4064
4064
|
};
|
|
4065
4065
|
async function Vt(e, t, n, r, o, i = "download", a) {
|
|
4066
4066
|
return new Promise(async (A, c) => {
|
|
@@ -4098,13 +4098,13 @@ async function Vt(e, t, n, r, o, i = "download", a) {
|
|
|
4098
4098
|
c(m);
|
|
4099
4099
|
})) : e === "Import" ? YA(o, t, n).then((s) => {
|
|
4100
4100
|
let m = s.url;
|
|
4101
|
-
|
|
4101
|
+
d(m), A(m);
|
|
4102
4102
|
}).catch((s) => {
|
|
4103
4103
|
let m = s.response.data.error.msg;
|
|
4104
4104
|
c(m);
|
|
4105
4105
|
}) : e === "Ready" && jA(o, t, n).then((s) => {
|
|
4106
4106
|
let m = s.url;
|
|
4107
|
-
|
|
4107
|
+
d(m), A(m);
|
|
4108
4108
|
}).catch((s) => {
|
|
4109
4109
|
let m = s.response.data.error.msg;
|
|
4110
4110
|
c(m);
|
|
@@ -7529,7 +7529,7 @@ const Jl = ({ width: e, height: t }) => /* @__PURE__ */ u.jsxs("svg", { width: e
|
|
|
7529
7529
|
}
|
|
7530
7530
|
)
|
|
7531
7531
|
}
|
|
7532
|
-
) }) : V && a === "Flex" ? null :
|
|
7532
|
+
) }) : V && a === "Flex" ? null : /* @__PURE__ */ u.jsxs(
|
|
7533
7533
|
"div",
|
|
7534
7534
|
{
|
|
7535
7535
|
onMouseDown: (x) => {
|
|
@@ -7684,7 +7684,7 @@ const Jl = ({ width: e, height: t }) => /* @__PURE__ */ u.jsxs("svg", { width: e
|
|
|
7684
7684
|
)
|
|
7685
7685
|
]
|
|
7686
7686
|
}
|
|
7687
|
-
)
|
|
7687
|
+
);
|
|
7688
7688
|
};
|
|
7689
7689
|
export {
|
|
7690
7690
|
Tl as DownloadModal
|