A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Chore: update ng2 pdf viewer (#8462)
shamoon997db0fea1b4
diff --git a/src-ui/package-lock.json b/src-ui/package-lock.jsonindex 15451b598..7ba56a1c2 100644--- a/src-ui/package-lock.json+++ b/src-ui/package-lock.json@@ -25,7 +25,7 @@"bootstrap": "^5.3.3","file-saver": "^2.0.5","mime-names": "^1.0.0",- "ng2-pdf-viewer": "^10.3.4",+ "ng2-pdf-viewer": "^10.4.0","ngx-bootstrap-icons": "^1.9.3","ngx-color": "^9.0.0","ngx-cookie-service": "^18.0.0",@@ -4948,7 +4948,9 @@"version": "1.0.11","resolved": "https://registry.npmjs.org/@mapbox/node-pre-gyp/-/node-pre-gyp-1.0.11.tgz","integrity": "sha512-Yhlar6v9WQgUp/He7BdgzOz8lqMQ8sU+jkCq7Wx8Myc5YFJLbEe7lgui/V7G1qB1DJykHSGwreceSaD60Y0PUQ==",+ "dev": true,"optional": true,+ "peer": true,"dependencies": {"detect-libc": "^2.0.0","https-proxy-agent": "^5.0.0",@@ -4968,13 +4970,17 @@"version": "1.1.1","resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz","integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==",- "optional": true+ "dev": true,+ "optional": true,+ "peer": true},"node_modules/@mapbox/node-pre-gyp/node_modules/agent-base": {"version": "6.0.2","resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz","integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==",+ "dev": true,"optional": true,+ "peer": true,"dependencies": {"debug": "4"},@@ -4986,7 +4992,9 @@"version": "5.0.1","resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz","integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==",+ "dev": true,"optional": true,+ "peer": true,"dependencies": {"agent-base": "6","debug": "4"@@ -4999,7 +5007,9 @@"version": "3.1.0","resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz","integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==",+ "dev": true,"optional": true,+ "peer": true,"dependencies": {"semver": "^6.0.0"},@@ -5014,7 +5024,9 @@"version": "6.3.1","resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz","integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==",+ "dev": true,"optional": true,+ "peer": true,"bin": {"semver": "bin/semver.js"}@@ -5023,7 +5035,9 @@"version": "5.0.0","resolved": "https://registry.npmjs.org/nopt/-/nopt-5.0.0.tgz","integrity": "sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ==",+ "dev": true,"optional": true,+ "peer": true,"dependencies": {"abbrev": "1"},@@ -7102,13 +7116,17 @@"version": "2.0.0","resolved": "https://registry.npmjs.org/aproba/-/aproba-2.0.0.tgz","integrity": "sha512-lYe4Gx7QT+MKGbDsA+Z+he/Wtef0BiwDOlK/XkBrdfsh9J/jPPXbX0tE9x9cl27Tmu5gg3QUbUrQYa/y+KOHPQ==",- "optional": true+ "dev": true,+ "optional": true,+ "peer": true},"node_modules/are-we-there-yet": {"version": "2.0.0","resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-2.0.0.tgz","integrity": "sha512-Ci/qENmwHnsYo9xKIcUJN5LeDKdJ6R1Z1j9V/J5wyq8nh/mYPEpIKJbBZXtZjG04HiK7zV/p6Vs9952MrMeUIw==",+ "dev": true,"optional": true,+ "peer": true,"dependencies": {"delegates": "^1.0.0","readable-stream": "^3.6.0"@@ -7368,13 +7386,13 @@"version": "1.0.2","resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz","integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==",- "devOptional": true+ "dev": true},"node_modules/base64-js": {"version": "1.5.1","resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz","integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==",- "dev": true,+ "devOptional": true,"funding": [{"type": "github",@@ -7424,7 +7442,7 @@"version": "4.1.0","resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz","integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==",- "dev": true,+ "devOptional": true,"dependencies": {"buffer": "^5.5.0","inherits": "^2.0.4",@@ -7508,7 +7526,7 @@"version": "1.1.11","resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz","integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",- "devOptional": true,+ "dev": true,"dependencies": {"balanced-match": "^1.0.0","concat-map": "0.0.1"@@ -7581,7 +7599,7 @@"version": "5.7.1","resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz","integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==",- "dev": true,+ "devOptional": true,"funding": [{"type": "github",@@ -7769,8 +7787,10 @@"version": "2.11.2","resolved": "https://registry.npmjs.org/canvas/-/canvas-2.11.2.tgz","integrity": "sha512-ItanGBMrmRV7Py2Z+Xhs7cT+FNt5K0vPL4p9EZ/UX/Mu7hFbkxSjKF2KVtPwX7UYWp7dRKnrTvReflgrItJbdw==",+ "dev": true,"hasInstallScript": true,"optional": true,+ "peer": true,"dependencies": {"@mapbox/node-pre-gyp": "^1.0.0","nan": "^2.17.0",@@ -7839,7 +7859,7 @@"version": "2.0.0","resolved": "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz","integrity": "sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==",- "devOptional": true,+ "dev": true,"engines": {"node": ">=10"}@@ -8070,7 +8090,9 @@"version": "1.1.3","resolved": "https://registry.npmjs.org/color-support/-/color-support-1.1.3.tgz","integrity": "sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg==",+ "dev": true,"optional": true,+ "peer": true,"bin": {"color-support": "bin.js"}@@ -8154,7 +8176,7 @@"version": "0.0.1","resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz","integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==",- "devOptional": true+ "dev": true},"node_modules/connect-history-api-fallback": {"version": "2.0.0",@@ -8169,7 +8191,9 @@"version": "1.1.0","resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz","integrity": "sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ==",- "optional": true+ "dev": true,+ "optional": true,+ "peer": true},"node_modules/content-disposition": {"version": "0.5.4",@@ -8541,6 +8565,16 @@}}},+ "node_modules/deep-extend": {+ "version": "0.6.0",+ "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz",+ "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==",+ "license": "MIT",+ "optional": true,+ "engines": {+ "node": ">=4.0.0"+ }+ },"node_modules/deep-is": {"version": "0.1.4","resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz",@@ -8650,7 +8684,9 @@"version": "1.0.0","resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz","integrity": "sha512-bd2L678uiWATM6m5Z1VzNCErI3jiGzt6HGY8OVICs40JQq/HALfbyNJmp0UDakEY4pMMaN0Ly5om/B1VI/+xfQ==",- "optional": true+ "dev": true,+ "optional": true,+ "peer": true},"node_modules/depd": {"version": "2.0.0",@@ -8874,6 +8910,16 @@"node": ">=0.10.0"}},+ "node_modules/end-of-stream": {+ "version": "1.4.4",+ "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz",+ "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==",+ "license": "MIT",+ "optional": true,+ "dependencies": {+ "once": "^1.4.0"+ }+ },"node_modules/enhanced-resolve": {"version": "5.17.1","resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.17.1.tgz",@@ -9402,6 +9448,16 @@"node": ">= 0.8.0"}},+ "node_modules/expand-template": {+ "version": "2.0.3",+ "resolved": "https://registry.npmjs.org/expand-template/-/expand-template-2.0.3.tgz",+ "integrity": "sha512-XYfuKMvj4O35f/pOXLObndIRvyQ+/+6AhODh+OKWj9S9498pHHn/IMszH+gt0fBCRWMNfk1ZSp5x3AifmnI2vg==",+ "license": "(MIT OR WTFPL)",+ "optional": true,+ "engines": {+ "node": ">=6"+ }+ },"node_modules/expect": {"version": "29.7.0","resolved": "https://registry.npmjs.org/expect/-/expect-29.7.0.tgz",@@ -9783,6 +9839,13 @@"node": ">= 0.6"}},+ "node_modules/fs-constants": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz",+ "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==",+ "license": "MIT",+ "optional": true+ },"node_modules/fs-minipass": {"version": "3.0.3","resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-3.0.3.tgz",@@ -9799,7 +9862,7 @@"version": "1.0.0","resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz","integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==",- "devOptional": true+ "dev": true},"node_modules/fsevents": {"version": "2.3.3",@@ -9828,7 +9891,9 @@"version": "3.0.2","resolved": "https://registry.npmjs.org/gauge/-/gauge-3.0.2.tgz","integrity": "sha512-+5J6MS/5XksCuXq++uFRsnUd7Ovu1XenbeuIuNRJxYWjgQbPuFhT14lAvsWfqfAmnwluf1OwMjz39HjfLPci0Q==",+ "dev": true,"optional": true,+ "peer": true,"dependencies": {"aproba": "^1.0.3 || ^2.0.0","color-support": "^1.1.2",@@ -9912,11 +9977,18 @@"url": "https://github.com/sponsors/sindresorhus"}},+ "node_modules/github-from-package": {+ "version": "0.0.0",+ "resolved": "https://registry.npmjs.org/github-from-package/-/github-from-package-0.0.0.tgz",+ "integrity": "sha512-SyHy3T1v2NUXn29OsWdxmK6RwHD+vkj3v8en8AOBZ1wBQ/hCAQ5bAQTD02kW4W9tUp/3Qh6J8r9EvntiyCmOOw==",+ "license": "MIT",+ "optional": true+ },"node_modules/glob": {"version": "7.2.3","resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz","integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",- "devOptional": true,+ "dev": true,"dependencies": {"fs.realpath": "^1.0.0","inflight": "^1.0.4",@@ -10068,7 +10140,9 @@"version": "2.0.1","resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz","integrity": "sha512-8Rf9Y83NBReMnx0gFzA8JImQACstCYWUplepDa9xprwwtmgEZUF0h/i5xSA625zB/I37EtrswSST6OXxwaaIJQ==",- "optional": true+ "dev": true,+ "optional": true,+ "peer": true},"node_modules/hasown": {"version": "2.0.0",@@ -10363,7 +10437,7 @@"version": "1.2.1","resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz","integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==",- "dev": true,+ "devOptional": true,"funding": [{"type": "github",@@ -10521,7 +10595,7 @@"version": "1.0.6","resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz","integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==",- "devOptional": true,+ "dev": true,"dependencies": {"once": "^1.3.0","wrappy": "1"@@ -12618,7 +12692,7 @@"version": "3.1.2","resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz","integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",- "devOptional": true,+ "dev": true,"dependencies": {"brace-expansion": "^1.1.7"},@@ -12630,7 +12704,7 @@"version": "1.2.8","resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz","integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==",- "dev": true,+ "devOptional": true,"funding": {"url": "https://github.com/sponsors/ljharb"}@@ -12767,7 +12841,7 @@"version": "2.1.2","resolved": "https://registry.npmjs.org/minizlib/-/minizlib-2.1.2.tgz","integrity": "sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==",- "devOptional": true,+ "dev": true,"dependencies": {"minipass": "^3.0.0","yallist": "^4.0.0"@@ -12780,7 +12854,7 @@"version": "3.3.6","resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz","integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==",- "devOptional": true,+ "dev": true,"dependencies": {"yallist": "^4.0.0"},@@ -12792,13 +12866,13 @@"version": "4.0.0","resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz","integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==",- "devOptional": true+ "dev": true},"node_modules/mkdirp": {"version": "1.0.4","resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz","integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==",- "devOptional": true,+ "dev": true,"bin": {"mkdirp": "bin/cmd.js"},@@ -12806,6 +12880,13 @@"node": ">=10"}},+ "node_modules/mkdirp-classic": {+ "version": "0.5.3",+ "resolved": "https://registry.npmjs.org/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz",+ "integrity": "sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A==",+ "license": "MIT",+ "optional": true+ },"node_modules/mock-socket": {"version": "9.3.1","resolved": "https://registry.npmjs.org/mock-socket/-/mock-socket-9.3.1.tgz",@@ -12886,7 +12967,9 @@"version": "2.18.0","resolved": "https://registry.npmjs.org/nan/-/nan-2.18.0.tgz","integrity": "sha512-W7tfG7vMOGtD30sHoZSSc/JVYiyDPEyQVso/Zz+/uQd0B0L46gtC+pHha5FFMRpil6fm/AoEcRWyOVi4+E/f8w==",- "optional": true+ "dev": true,+ "optional": true,+ "peer": true},"node_modules/nanoid": {"version": "3.3.7",@@ -12906,6 +12989,13 @@"node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"}},+ "node_modules/napi-build-utils": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/napi-build-utils/-/napi-build-utils-1.0.2.tgz",+ "integrity": "sha512-ONmRUqK7zj7DWX0D9ADe03wbwOBZxNAfF20PlGfCWQcD3+/MakShIHrMqx9YwPTfxDdF1zLeL+RGZiR9kGMLdg==",+ "license": "MIT",+ "optional": true+ },"node_modules/natural-compare": {"version": "1.4.0","resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz",@@ -12958,12 +13048,13 @@"dev": true},"node_modules/ng2-pdf-viewer": {- "version": "10.3.4",- "resolved": "https://registry.npmjs.org/ng2-pdf-viewer/-/ng2-pdf-viewer-10.3.4.tgz",- "integrity": "sha512-YcMT52612LRHky82POLnyPx32Gk8PcCU+bmSatRje7zi655F+HT2HYAbOY+gG2PDH96R22oQCF8fAgKzlJl64w==",+ "version": "10.4.0",+ "resolved": "https://registry.npmjs.org/ng2-pdf-viewer/-/ng2-pdf-viewer-10.4.0.tgz",+ "integrity": "sha512-TPh1oLZoeARggreTG60Sl3ikSn+Z3+At9pLZ0o/vxPjc7mW2ok2XPyl2Oqz7VyP80ipVorldm1hsLPBmNe2zzA==",+ "license": "MIT","dependencies": {- "pdfjs-dist": "4.6.82",- "tslib": "^2.3.0"+ "pdfjs-dist": "4.8.69",+ "tslib": "^2.8.1"}},"node_modules/ngx-bootstrap-icons": {@@ -13067,6 +13158,19 @@"node-gyp-build": "^4.2.2"}},+ "node_modules/node-abi": {+ "version": "3.71.0",+ "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-3.71.0.tgz",+ "integrity": "sha512-SZ40vRiy/+wRTf21hxkkEjPJZpARzUMVcJoQse2EF8qkUWbbO2z7vd5oA/H6bVH6SZQ5STGcu0KRDS7biNRfxw==",+ "license": "MIT",+ "optional": true,+ "dependencies": {+ "semver": "^7.3.5"+ },+ "engines": {+ "node": ">=10"+ }+ },"node_modules/node-addon-api": {"version": "3.2.1","resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-3.2.1.tgz",@@ -13078,7 +13182,9 @@"version": "2.7.0","resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz","integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==",+ "dev": true,"optional": true,+ "peer": true,"dependencies": {"whatwg-url": "^5.0.0"},@@ -13098,19 +13204,25 @@"version": "0.0.3","resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz","integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==",- "optional": true+ "dev": true,+ "optional": true,+ "peer": true},"node_modules/node-fetch/node_modules/webidl-conversions": {"version": "3.0.1","resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz","integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==",- "optional": true+ "dev": true,+ "optional": true,+ "peer": true},"node_modules/node-fetch/node_modules/whatwg-url": {"version": "5.0.0","resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz","integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==",+ "dev": true,"optional": true,+ "peer": true,"dependencies": {"tr46": "~0.0.3","webidl-conversions": "^3.0.0"@@ -13423,7 +13535,9 @@"version": "5.0.1","resolved": "https://registry.npmjs.org/npmlog/-/npmlog-5.0.1.tgz","integrity": "sha512-AqZtDUWOMKs1G/8lwylVjrdYgqA4d9nu8hc+0gzRxlDb1I10+FHBGMXs6aiQHFdCUUlqH99MUMuLfzWDNDtfxw==",+ "dev": true,"optional": true,+ "peer": true,"dependencies": {"are-we-there-yet": "^2.0.0","console-control-strings": "^1.1.0",@@ -13453,7 +13567,9 @@"version": "4.1.1","resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz","integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==",+ "dev": true,"optional": true,+ "peer": true,"engines": {"node": ">=0.10.0"}@@ -13952,7 +14068,7 @@"version": "1.0.1","resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz","integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==",- "devOptional": true,+ "dev": true,"engines": {"node": ">=0.10.0"}@@ -14016,26 +14132,51 @@}},"node_modules/path2d": {- "version": "0.2.1",- "resolved": "https://registry.npmjs.org/path2d/-/path2d-0.2.1.tgz",- "integrity": "sha512-Fl2z/BHvkTNvkuBzYTpTuirHZg6wW9z8+4SND/3mDTEcYbbNKWAy21dz9D3ePNNwrrK8pqZO5vLPZ1hLF6T7XA==",+ "version": "0.2.2",+ "resolved": "https://registry.npmjs.org/path2d/-/path2d-0.2.2.tgz",+ "integrity": "sha512-+vnG6S4dYcYxZd+CZxzXCNKdELYZSKfohrk98yajCo1PtRoDgCTrrwOvK1GT0UoAdVszagDVllQc0U1vaX4NUQ==",+ "license": "MIT","optional": true,"engines": {"node": ">=6"}},"node_modules/pdfjs-dist": {- "version": "4.6.82",- "resolved": "https://registry.npmjs.org/pdfjs-dist/-/pdfjs-dist-4.6.82.tgz",- "integrity": "sha512-BUOryeRFwvbLe0lOU6NhkJNuVQUp06WxlJVVCsxdmJ4y5cU3O3s3/0DunVdK1PMm7v2MUw52qKYaidhDH1Z9+w==",+ "version": "4.8.69",+ "resolved": "https://registry.npmjs.org/pdfjs-dist/-/pdfjs-dist-4.8.69.tgz",+ "integrity": "sha512-IHZsA4T7YElCKNNXtiLgqScw4zPd3pG9do8UrznC757gMd7UPeHSL2qwNNMJo4r79fl8oj1Xx+1nh2YkzdMpLQ==",+ "license": "Apache-2.0","engines": {"node": ">=18"},"optionalDependencies": {- "canvas": "^2.11.2",+ "canvas": "^3.0.0-rc2","path2d": "^0.2.1"}},+ "node_modules/pdfjs-dist/node_modules/canvas": {+ "version": "3.0.0-rc2",+ "resolved": "https://registry.npmjs.org/canvas/-/canvas-3.0.0-rc2.tgz",+ "integrity": "sha512-esx4bYDznnqgRX4G8kaEaf0W3q8xIc51WpmrIitDzmcoEgwnv9wSKdzT6UxWZ4wkVu5+ileofppX0TpyviJRdQ==",+ "hasInstallScript": true,+ "license": "MIT",+ "optional": true,+ "dependencies": {+ "node-addon-api": "^7.0.0",+ "prebuild-install": "^7.1.1",+ "simple-get": "^3.0.3"+ },+ "engines": {+ "node": "^18.12.0 || >= 20.9.0"+ }+ },+ "node_modules/pdfjs-dist/node_modules/node-addon-api": {+ "version": "7.1.1",+ "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-7.1.1.tgz",+ "integrity": "sha512-5m3bsyrjFWE1xf7nz7YXdN4udnVtXK6/Yfgn5qnahL6bCkf2yKt4k3nuTKAtT4r3IG8JNR2ncsIMdZuAzJjHQQ==",+ "license": "MIT",+ "optional": true+ },"node_modules/picocolors": {"version": "1.1.0","resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.0.tgz",@@ -14365,6 +14506,88 @@"integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==","dev": true},+ "node_modules/prebuild-install": {+ "version": "7.1.2",+ "resolved": "https://registry.npmjs.org/prebuild-install/-/prebuild-install-7.1.2.tgz",+ "integrity": "sha512-UnNke3IQb6sgarcZIDU3gbMeTp/9SSU1DAIkil7PrqG1vZlBtY5msYccSKSHDqa3hNg436IXK+SNImReuA1wEQ==",+ "license": "MIT",+ "optional": true,+ "dependencies": {+ "detect-libc": "^2.0.0",+ "expand-template": "^2.0.3",+ "github-from-package": "0.0.0",+ "minimist": "^1.2.3",+ "mkdirp-classic": "^0.5.3",+ "napi-build-utils": "^1.0.1",+ "node-abi": "^3.3.0",+ "pump": "^3.0.0",+ "rc": "^1.2.7",+ "simple-get": "^4.0.0",+ "tar-fs": "^2.0.0",+ "tunnel-agent": "^0.6.0"+ },+ "bin": {+ "prebuild-install": "bin.js"+ },+ "engines": {+ "node": ">=10"+ }+ },+ "node_modules/prebuild-install/node_modules/decompress-response": {+ "version": "6.0.0",+ "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-6.0.0.tgz",+ "integrity": "sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ==",+ "license": "MIT",+ "optional": true,+ "dependencies": {+ "mimic-response": "^3.1.0"+ },+ "engines": {+ "node": ">=10"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/prebuild-install/node_modules/mimic-response": {+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-3.1.0.tgz",+ "integrity": "sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ==",+ "license": "MIT",+ "optional": true,+ "engines": {+ "node": ">=10"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/prebuild-install/node_modules/simple-get": {+ "version": "4.0.1",+ "resolved": "https://registry.npmjs.org/simple-get/-/simple-get-4.0.1.tgz",+ "integrity": "sha512-brv7p5WgH0jmQJr1ZDDfKDOSeWWg+OVypG99A/5vYGPqJ6pxiaHLy8nxtFjBA7oMa01ebA9gfh1uMCFqOuXxvA==",+ "funding": [+ {+ "type": "github",+ "url": "https://github.com/sponsors/feross"+ },+ {+ "type": "patreon",+ "url": "https://www.patreon.com/feross"+ },+ {+ "type": "consulting",+ "url": "https://feross.org/support"+ }+ ],+ "license": "MIT",+ "optional": true,+ "dependencies": {+ "decompress-response": "^6.0.0",+ "once": "^1.3.1",+ "simple-concat": "^1.0.0"+ }+ },"node_modules/prelude-ls": {"version": "1.2.1","resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz",@@ -14482,6 +14705,17 @@"integrity": "sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag==","dev": true},+ "node_modules/pump": {+ "version": "3.0.2",+ "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.2.tgz",+ "integrity": "sha512-tUPXtzlGM8FE3P0ZL6DVs/3P58k9nk8/jZeQCurTJylQA8qFYzHFfhBJkuqyE0FifOsQ0uKWekiZ5g8wtr28cw==",+ "license": "MIT",+ "optional": true,+ "dependencies": {+ "end-of-stream": "^1.1.0",+ "once": "^1.3.1"+ }+ },"node_modules/punycode": {"version": "2.3.1","resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz",@@ -14580,6 +14814,39 @@"node": ">= 0.8"}},+ "node_modules/rc": {+ "version": "1.2.8",+ "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz",+ "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==",+ "license": "(BSD-2-Clause OR MIT OR Apache-2.0)",+ "optional": true,+ "dependencies": {+ "deep-extend": "^0.6.0",+ "ini": "~1.3.0",+ "minimist": "^1.2.0",+ "strip-json-comments": "~2.0.1"+ },+ "bin": {+ "rc": "cli.js"+ }+ },+ "node_modules/rc/node_modules/ini": {+ "version": "1.3.8",+ "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz",+ "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==",+ "license": "ISC",+ "optional": true+ },+ "node_modules/rc/node_modules/strip-json-comments": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz",+ "integrity": "sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==",+ "license": "MIT",+ "optional": true,+ "engines": {+ "node": ">=0.10.0"+ }+ },"node_modules/react-is": {"version": "18.2.0","resolved": "https://registry.npmjs.org/react-is/-/react-is-18.2.0.tgz",@@ -14865,7 +15132,9 @@"version": "3.0.2","resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz","integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==",+ "dev": true,"optional": true,+ "peer": true,"dependencies": {"glob": "^7.1.3"},@@ -15260,7 +15529,9 @@"version": "2.0.0","resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz","integrity": "sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==",- "optional": true+ "dev": true,+ "optional": true,+ "peer": true},"node_modules/set-function-length": {"version": "1.2.1",@@ -15349,7 +15620,7 @@"version": "3.0.7","resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz","integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==",- "devOptional": true+ "dev": true},"node_modules/sigstore": {"version": "2.3.1",@@ -15847,7 +16118,7 @@"version": "6.2.1","resolved": "https://registry.npmjs.org/tar/-/tar-6.2.1.tgz","integrity": "sha512-DZ4yORTwrbTj/7MZYq2w+/ZFdI6OZ/f9SFHR+71gIVUZhOQPHzVCLpvRnPgyaMpfWxxk/4ONva3GQSyNIKRv6A==",- "devOptional": true,+ "dev": true,"dependencies": {"chownr": "^2.0.0","fs-minipass": "^2.0.0",@@ -15860,11 +16131,48 @@"node": ">=10"}},+ "node_modules/tar-fs": {+ "version": "2.1.1",+ "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.1.tgz",+ "integrity": "sha512-V0r2Y9scmbDRLCNex/+hYzvp/zyYjvFbHPNgVTKfQvVrb6guiE/fxP+XblDNR011utopbkex2nM4dHNV6GDsng==",+ "license": "MIT",+ "optional": true,+ "dependencies": {+ "chownr": "^1.1.1",+ "mkdirp-classic": "^0.5.2",+ "pump": "^3.0.0",+ "tar-stream": "^2.1.4"+ }+ },+ "node_modules/tar-fs/node_modules/chownr": {+ "version": "1.1.4",+ "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz",+ "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==",+ "license": "ISC",+ "optional": true+ },+ "node_modules/tar-stream": {+ "version": "2.2.0",+ "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.2.0.tgz",+ "integrity": "sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==",+ "license": "MIT",+ "optional": true,+ "dependencies": {+ "bl": "^4.0.3",+ "end-of-stream": "^1.4.1",+ "fs-constants": "^1.0.0",+ "inherits": "^2.0.3",+ "readable-stream": "^3.1.1"+ },+ "engines": {+ "node": ">=6"+ }+ },"node_modules/tar/node_modules/fs-minipass": {"version": "2.1.0","resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz","integrity": "sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==",- "devOptional": true,+ "dev": true,"dependencies": {"minipass": "^3.0.0"},@@ -15876,7 +16184,7 @@"version": "3.3.6","resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz","integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==",- "devOptional": true,+ "dev": true,"dependencies": {"yallist": "^4.0.0"},@@ -15888,7 +16196,7 @@"version": "5.0.0","resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz","integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==",- "devOptional": true,+ "dev": true,"engines": {"node": ">=8"}@@ -15897,7 +16205,7 @@"version": "4.0.0","resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz","integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==",- "devOptional": true+ "dev": true},"node_modules/terser": {"version": "5.31.6",@@ -16319,6 +16627,19 @@"node": ">=0.6.11 <=0.7.0 || >=0.7.3"}},+ "node_modules/tunnel-agent": {+ "version": "0.6.0",+ "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz",+ "integrity": "sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w==",+ "license": "Apache-2.0",+ "optional": true,+ "dependencies": {+ "safe-buffer": "^5.0.1"+ },+ "engines": {+ "node": "*"+ }+ },"node_modules/type-check": {"version": "0.4.0","resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz",@@ -17240,7 +17561,9 @@"version": "1.1.5","resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.5.tgz","integrity": "sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg==",+ "dev": true,"optional": true,+ "peer": true,"dependencies": {"string-width": "^1.0.2 || 2 || 3 || 4"}diff --git a/src-ui/package.json b/src-ui/package.jsonindex e2b2b6569..1055df0d4 100644--- a/src-ui/package.json+++ b/src-ui/package.json@@ -27,7 +27,7 @@"bootstrap": "^5.3.3","file-saver": "^2.0.5","mime-names": "^1.0.0",- "ng2-pdf-viewer": "^10.3.4",+ "ng2-pdf-viewer": "^10.4.0","ngx-bootstrap-icons": "^1.9.3","ngx-color": "^9.0.0","ngx-cookie-service": "^18.0.0",@@ -67,5 +67,6 @@"patch-package": "^8.0.0","ts-node": "~10.9.1","typescript": "^5.5.4"- }+ },+ "typings": "./src/typings.d.ts"}diff --git a/src-ui/src/typings.d.ts b/src-ui/src/typings.d.tsnew file mode 100644index 000000000..d827fa8d0--- /dev/null+++ b/src-ui/src/typings.d.ts@@ -0,0 +1,2 @@+// see https://github.com/VadimDez/ng2-pdf-viewer/pull/1161#issuecomment-2521857488+type SetIterator<T> = Iterator<T>