feat: PDF in neue Tab öffnen und die PDFs werden in indexedDB gespeichert und dann von dort aufgerufen und gelesen mit Hilfe von idb Bibliothek

"npm install idb"
This commit is contained in:
ISA
2024-10-18 10:58:51 +02:00
parent 50cf1d3cea
commit 563105c79a
4 changed files with 129 additions and 4 deletions

6
package-lock.json generated
View File

@@ -15,6 +15,7 @@
"autoprefixer": "^10.4.20",
"bootstrap-icons": "^1.11.3",
"chart.js": "^4.4.5",
"idb": "^8.0.0",
"next": "14.2.13",
"react": "^18",
"react-dom": "^18",
@@ -853,6 +854,11 @@
"node": ">= 0.4"
}
},
"node_modules/idb": {
"version": "8.0.0",
"resolved": "https://registry.npmjs.org/idb/-/idb-8.0.0.tgz",
"integrity": "sha512-l//qvlAKGmQO31Qn7xdzagVPPaHTxXx199MhrAFuVBTPqydcPYBWjkrbv4Y0ktB+GmWOiwHl237UUOrLmQxLvw=="
},
"node_modules/is-binary-path": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz",