node_modules ignore

This commit is contained in:
2025-05-08 23:43:47 +02:00
parent e19d52f172
commit 4574544c9f
65041 changed files with 10593536 additions and 0 deletions

View File

@@ -0,0 +1 @@
{"version":3,"file":"downloadFile.mjs","sources":["../../../admin/src/utils/downloadFile.ts"],"sourcesContent":["export const downloadFile = async (url: string, fileName: string) => {\n const fileBlob = await fetch(url).then((res) => res.blob());\n const urlDownload = window.URL.createObjectURL(fileBlob);\n const link = document.createElement('a');\n\n link.href = urlDownload;\n link.setAttribute('download', fileName);\n link.click();\n};\n"],"names":["downloadFile","url","fileName","fileBlob","fetch","then","res","blob","urlDownload","window","URL","createObjectURL","link","document","createElement","href","setAttribute","click"],"mappings":"AAAO,MAAMA,YAAe,GAAA,OAAOC,GAAaC,EAAAA,QAAAA,GAAAA;IAC9C,MAAMC,QAAAA,GAAW,MAAMC,KAAMH,CAAAA,GAAAA,CAAAA,CAAKI,IAAI,CAAC,CAACC,GAAQA,GAAAA,GAAAA,CAAIC,IAAI,EAAA,CAAA;AACxD,IAAA,MAAMC,WAAcC,GAAAA,MAAAA,CAAOC,GAAG,CAACC,eAAe,CAACR,QAAAA,CAAAA;IAC/C,MAAMS,IAAAA,GAAOC,QAASC,CAAAA,aAAa,CAAC,GAAA,CAAA;AAEpCF,IAAAA,IAAAA,CAAKG,IAAI,GAAGP,WAAAA;IACZI,IAAKI,CAAAA,YAAY,CAAC,UAAYd,EAAAA,QAAAA,CAAAA;AAC9BU,IAAAA,IAAAA,CAAKK,KAAK,EAAA;AACZ;;;;"}