Skip to content

Commit

Permalink
Add functionality to download custom reports as an image.
Browse files Browse the repository at this point in the history
  • Loading branch information
ADRROE committed Jan 22, 2025
1 parent fb761cf commit 726122d
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 1 deletion.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,5 +80,8 @@
"browserslist": [
"electron 24.0",
"defaults"
]
],
"dependencies": {
"html2canvas": "^1.4.1"
}
}
File renamed without changes.
45 changes: 45 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6504,6 +6504,7 @@ __metadata:
eslint-plugin-react-hooks: "npm:^5.1.0"
eslint-plugin-rulesdir: "npm:^0.2.2"
globals: "npm:^15.13.0"
html2canvas: "npm:^1.4.1"
husky: "npm:^9.0.11"
lint-staged: "npm:^15.2.9"
node-jq: "npm:^4.0.1"
Expand Down Expand Up @@ -7133,6 +7134,13 @@ __metadata:
languageName: node
linkType: hard

"base64-arraybuffer@npm:^1.0.2":
version: 1.0.2
resolution: "base64-arraybuffer@npm:1.0.2"
checksum: 10/15e6400d2d028bf18be4ed97702b11418f8f8779fb8c743251c863b726638d52f69571d4cc1843224da7838abef0949c670bde46936663c45ad078e89fee5c62
languageName: node
linkType: hard

"base64-js@npm:^1.3.1, base64-js@npm:^1.5.1":
version: 1.5.1
resolution: "base64-js@npm:1.5.1"
Expand Down Expand Up @@ -8304,6 +8312,15 @@ __metadata:
languageName: node
linkType: hard

"css-line-break@npm:^2.1.0":
version: 2.1.0
resolution: "css-line-break@npm:2.1.0"
dependencies:
utrie: "npm:^1.0.2"
checksum: 10/e75cae40de511026228d4fa69e8d464895714f8899880b8268a446b57f0faa84b490ba1bdda5ed9e7f38f99ab947c6bc941bb505d8119c49072db079c1cacea5
languageName: node
linkType: hard

"css-select@npm:^5.1.0":
version: 5.1.0
resolution: "css-select@npm:5.1.0"
Expand Down Expand Up @@ -11510,6 +11527,16 @@ __metadata:
languageName: node
linkType: hard

"html2canvas@npm:^1.4.1":
version: 1.4.1
resolution: "html2canvas@npm:1.4.1"
dependencies:
css-line-break: "npm:^2.1.0"
text-segmentation: "npm:^1.0.3"
checksum: 10/595790810557a1d4287f07b6ead49aed4f169f08eb00e20c1f030b93344003e84797d28cd8a220e8ec1b78641d460ca6add11b8531960725526f11a7b9fa9900
languageName: node
linkType: hard

"htmlparser2@npm:^8.0.1":
version: 8.0.2
resolution: "htmlparser2@npm:8.0.2"
Expand Down Expand Up @@ -18545,6 +18572,15 @@ __metadata:
languageName: node
linkType: hard

"text-segmentation@npm:^1.0.3":
version: 1.0.3
resolution: "text-segmentation@npm:1.0.3"
dependencies:
utrie: "npm:^1.0.2"
checksum: 10/86191de83f09b96f356628c3dbaf6d281eda46a4dd4c94c3827495428871b9dd44ead4ef4cdf06a188b08a3b83e3943c5911841422b55286b121ba9e04c846dd
languageName: node
linkType: hard

"throat@npm:^6.0.1":
version: 6.0.2
resolution: "throat@npm:6.0.2"
Expand Down Expand Up @@ -19435,6 +19471,15 @@ __metadata:
languageName: node
linkType: hard

"utrie@npm:^1.0.2":
version: 1.0.2
resolution: "utrie@npm:1.0.2"
dependencies:
base64-arraybuffer: "npm:^1.0.2"
checksum: 10/0c9458380bf3113f425a268e3d605aef163bfbaea62bf24de517b62b6e6744394d8ef1cdd9b07423359aec5ed402baab4bb2c5beec64f674ec635dc2f8dbd4bf
languageName: node
linkType: hard

"uuid@npm:^3.0.1, uuid@npm:^3.3.2":
version: 3.4.0
resolution: "uuid@npm:3.4.0"
Expand Down

0 comments on commit 726122d

Please sign in to comment.