@mx-cartographer/experiences 6.16.8-alpha.mega1 → 6.16.8-alpha.mega2
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 +0 -11
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -5549,17 +5549,6 @@ const It = () => {
|
|
|
5549
5549
|
return Ne().uiStore;
|
|
5550
5550
|
}, zs = async (e, n) => {
|
|
5551
5551
|
const a = Bu(Gu(e, n)), i = "transactions.csv";
|
|
5552
|
-
console.log("first exportTransactionsToCSV");
|
|
5553
|
-
try {
|
|
5554
|
-
if (typeof Blob < "u" && typeof URL < "u" && URL.createObjectURL) {
|
|
5555
|
-
const o = new Blob([a], { type: "text/csv;charset=utf-8;" }), r = URL.createObjectURL(o), s = document.createElement("a");
|
|
5556
|
-
s.href = r, s.download = i, s.style.display = "none", document.body.appendChild(s), s.click(), document.body.removeChild(s), setTimeout(() => URL.revokeObjectURL(r), 100);
|
|
5557
|
-
return;
|
|
5558
|
-
}
|
|
5559
|
-
} catch (o) {
|
|
5560
|
-
console.error("Blob download failed:", o);
|
|
5561
|
-
}
|
|
5562
|
-
console.log("second exportTransactionsToCSV");
|
|
5563
5552
|
try {
|
|
5564
5553
|
const o = `data:text/csv;charset=utf-8,${encodeURIComponent(a)}`, r = document.createElement("a");
|
|
5565
5554
|
r.href = o, r.download = i, r.style.display = "none", document.body.appendChild(r), r.click(), document.body.removeChild(r);
|