From ba7c75aff485fea5e5689b012762d3ec901beca7 Mon Sep 17 00:00:00 2001 From: Reece Browne <74901996+reecebrowne@users.noreply.github.com> Date: Tue, 2 Dec 2025 18:56:22 +0000 Subject: [PATCH 1/9] Update embed and allow form rendering (#5124) You can now see the values of forms filled elsewhre (still no filling forms ourselves) --- frontend/package-lock.json | 294 +++++++++--------- frontend/package.json | 40 +-- .../core/components/viewer/LocalEmbedPDF.tsx | 5 +- .../viewer/LocalEmbedPDFWithAnnotations.tsx | 5 +- 4 files changed, 175 insertions(+), 169 deletions(-) diff --git a/frontend/package-lock.json b/frontend/package-lock.json index 2dfd2c9afb..6e1f885e65 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -11,26 +11,26 @@ "dependencies": { "@atlaskit/pragmatic-drag-and-drop": "^1.7.7", "@dnd-kit/core": "^6.3.1", - "@embedpdf/core": "^1.4.1", - "@embedpdf/engines": "^1.4.1", - "@embedpdf/plugin-annotation": "^1.4.1", - "@embedpdf/plugin-bookmark": "^1.4.1", - "@embedpdf/plugin-export": "^1.4.1", - "@embedpdf/plugin-history": "^1.4.1", - "@embedpdf/plugin-interaction-manager": "^1.4.1", - "@embedpdf/plugin-loader": "^1.4.1", - "@embedpdf/plugin-pan": "^1.4.1", - "@embedpdf/plugin-print": "^1.4.1", - "@embedpdf/plugin-render": "^1.4.1", - "@embedpdf/plugin-rotate": "^1.4.1", - "@embedpdf/plugin-scroll": "^1.4.1", - "@embedpdf/plugin-search": "^1.4.1", - "@embedpdf/plugin-selection": "^1.4.1", - "@embedpdf/plugin-spread": "^1.4.1", - "@embedpdf/plugin-thumbnail": "^1.4.1", - "@embedpdf/plugin-tiling": "^1.4.1", - "@embedpdf/plugin-viewport": "^1.4.1", - "@embedpdf/plugin-zoom": "^1.4.1", + "@embedpdf/core": "^1.5.0", + "@embedpdf/engines": "^1.5.0", + "@embedpdf/plugin-annotation": "^1.5.0", + "@embedpdf/plugin-bookmark": "^1.5.0", + "@embedpdf/plugin-export": "^1.5.0", + "@embedpdf/plugin-history": "^1.5.0", + "@embedpdf/plugin-interaction-manager": "^1.5.0", + "@embedpdf/plugin-loader": "^1.5.0", + "@embedpdf/plugin-pan": "^1.5.0", + "@embedpdf/plugin-print": "^1.5.0", + "@embedpdf/plugin-render": "^1.5.0", + "@embedpdf/plugin-rotate": "^1.5.0", + "@embedpdf/plugin-scroll": "^1.5.0", + "@embedpdf/plugin-search": "^1.5.0", + "@embedpdf/plugin-selection": "^1.5.0", + "@embedpdf/plugin-spread": "^1.5.0", + "@embedpdf/plugin-thumbnail": "^1.5.0", + "@embedpdf/plugin-tiling": "^1.5.0", + "@embedpdf/plugin-viewport": "^1.5.0", + "@embedpdf/plugin-zoom": "^1.5.0", "@emotion/react": "^11.14.0", "@emotion/styled": "^11.14.1", "@iconify/react": "^6.0.2", @@ -575,13 +575,13 @@ "license": "0BSD" }, "node_modules/@embedpdf/core": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/@embedpdf/core/-/core-1.4.1.tgz", - "integrity": "sha512-TGpxn2CvAKRnOJWJ3bsK+dKBiCp75ehxftRUmv7wAmPomhnG5XrDfoWJungvO+zbbqAwso6PocdeXINVt3hlAw==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@embedpdf/core/-/core-1.5.0.tgz", + "integrity": "sha512-Yrh9XoVaT8cUgzgqpJ7hx5wg6BqQrCFirqqlSwVb+Ly9oNn4fZbR9GycIWmzJOU5XBnaOJjXfQSaDyoNP0woNA==", "license": "MIT", "dependencies": { - "@embedpdf/engines": "1.4.1", - "@embedpdf/models": "1.4.1" + "@embedpdf/engines": "1.5.0", + "@embedpdf/models": "1.5.0" }, "peerDependencies": { "preact": "^10.26.4", @@ -592,13 +592,13 @@ } }, "node_modules/@embedpdf/engines": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/@embedpdf/engines/-/engines-1.4.1.tgz", - "integrity": "sha512-yugIb5OwTI/1VnAaEvSYxAd2DvYBPkV/D7wytagyaOq98o3sqzcY2Q9zHt+LhnawA5KKG1e/FDPjCd4qm8gsvg==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@embedpdf/engines/-/engines-1.5.0.tgz", + "integrity": "sha512-/GzhjHFHWfOaX7vjgFJX/pyq668wYjoda1bZ9MpwF/EF000Wwy2Q0AOhprjldPFz8ASKjwKwqsXmaqrK99yOAQ==", "license": "MIT", "dependencies": { - "@embedpdf/models": "1.4.1", - "@embedpdf/pdfium": "1.4.1" + "@embedpdf/models": "1.5.0", + "@embedpdf/pdfium": "1.5.0" }, "peerDependencies": { "preact": "^10.26.4", @@ -609,31 +609,31 @@ } }, "node_modules/@embedpdf/models": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/@embedpdf/models/-/models-1.4.1.tgz", - "integrity": "sha512-2nTg8Q1qpplBvspZJXMCZOA+/OILpfdNRPddlplxZXY/Upx0rzKXx/e6pXWW7AuOgtfGneT4h9tMs3A595/PdQ==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@embedpdf/models/-/models-1.5.0.tgz", + "integrity": "sha512-x/1li3jdag+IzfZkcfRLKLqASLep4v6dgVi3z0JArwaicFra8k1IY2xaVTrwcZyx7pRb/rxvoO9yLHW0Y34NFw==", "license": "MIT" }, "node_modules/@embedpdf/pdfium": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/@embedpdf/pdfium/-/pdfium-1.4.1.tgz", - "integrity": "sha512-BekKEK4UNCwzj7xOffKn6WpL0FQHxq+mTj2iGI3N7OwAX2J/BO2G+rDOB+lvojQG+Dkpg8uqm427ZKJDRyLgVQ==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@embedpdf/pdfium/-/pdfium-1.5.0.tgz", + "integrity": "sha512-PI32t2U4ThZC907n2Iwr8E5WqmC574G83u3V9ysNFl29N9kasrY9RiLSzU4W/yQvXPjIbpQHBsbMKXLjCFBI9w==", "license": "MIT" }, "node_modules/@embedpdf/plugin-annotation": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/@embedpdf/plugin-annotation/-/plugin-annotation-1.4.1.tgz", - "integrity": "sha512-d4HibNy6ecyDqx2Y2R8VjaqppSdjNofAJmU6VenOd88wn080sAUqvnkeVJ6ehJH5BoND4ymQrcAkcbVeYK0myA==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@embedpdf/plugin-annotation/-/plugin-annotation-1.5.0.tgz", + "integrity": "sha512-mxEPI6xYwOGaf9fYfoywuj6nwA10eHFPBuN066MzwphDk6DOHJGZ3Vq8zNQBXh20c/Lb25PL718D7MZWxZLUHg==", "license": "MIT", "dependencies": { - "@embedpdf/models": "1.4.1", - "@embedpdf/utils": "1.4.1" + "@embedpdf/models": "1.5.0", + "@embedpdf/utils": "1.5.0" }, "peerDependencies": { - "@embedpdf/core": "1.4.1", - "@embedpdf/plugin-history": "1.4.1", - "@embedpdf/plugin-interaction-manager": "1.4.1", - "@embedpdf/plugin-selection": "1.4.1", + "@embedpdf/core": "1.5.0", + "@embedpdf/plugin-history": "1.5.0", + "@embedpdf/plugin-interaction-manager": "1.5.0", + "@embedpdf/plugin-selection": "1.5.0", "preact": "^10.26.4", "react": ">=16.8.0", "react-dom": ">=16.8.0", @@ -641,15 +641,15 @@ } }, "node_modules/@embedpdf/plugin-bookmark": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/@embedpdf/plugin-bookmark/-/plugin-bookmark-1.4.1.tgz", - "integrity": "sha512-WnfBJdv+Eq5zsMfwDZ5RlXZMGpvKm/ccL6jlTVwtELBhu3wvhjjbBmZdheEOzHMC3VXMNYDMjCeaXkUG4nWoDA==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@embedpdf/plugin-bookmark/-/plugin-bookmark-1.5.0.tgz", + "integrity": "sha512-s3C9PtVesy5X8Ds/C9TEElFiqfKGRklG/uNPTROpNoolfpi0h7qX2xqqh/9+FzKH2nHjVcPB7Pp432v16h7eRA==", "license": "MIT", "dependencies": { - "@embedpdf/models": "1.4.1" + "@embedpdf/models": "1.5.0" }, "peerDependencies": { - "@embedpdf/core": "1.4.1", + "@embedpdf/core": "1.5.0", "preact": "^10.26.4", "react": ">=16.8.0", "react-dom": ">=16.8.0", @@ -657,15 +657,15 @@ } }, "node_modules/@embedpdf/plugin-export": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/@embedpdf/plugin-export/-/plugin-export-1.4.1.tgz", - "integrity": "sha512-g89fREFM/zkt2Ai2Q5dWwDkhXgC/JmVyUniaMgm1fTG/MZ0Z05E7f34DUzX/CKcJyVjxEgl6tojBTMeUbm15bA==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@embedpdf/plugin-export/-/plugin-export-1.5.0.tgz", + "integrity": "sha512-luk68mNW9l2X31qk4b02phKaqDl9aDXUAgHVz1EWrgwXQ3Oz9WEdu60utYARYDiepDo3Caadll8RwctYSf/anA==", "license": "MIT", "dependencies": { - "@embedpdf/models": "1.4.1" + "@embedpdf/models": "1.5.0" }, "peerDependencies": { - "@embedpdf/core": "1.4.1", + "@embedpdf/core": "1.5.0", "preact": "^10.26.4", "react": ">=16.8.0", "react-dom": ">=16.8.0", @@ -674,15 +674,15 @@ } }, "node_modules/@embedpdf/plugin-history": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/@embedpdf/plugin-history/-/plugin-history-1.4.1.tgz", - "integrity": "sha512-5WLDiNMH6tACkLGGv/lJtNsDeozOhSbrh0mjD1btHun8u7Yscu/Vf8tdJRUOsd+nULivo2nQ2NFNKu0OTbVo8w==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@embedpdf/plugin-history/-/plugin-history-1.5.0.tgz", + "integrity": "sha512-p7PTNNaIr4gH3jLwX+eLJe1DeUXgi21kVGN6SRx/pocH8esg4jqoOeD/YiRRZoZnPOiy0jBXVhkPkwSmY7a2hQ==", "license": "MIT", "dependencies": { - "@embedpdf/models": "1.4.1" + "@embedpdf/models": "1.5.0" }, "peerDependencies": { - "@embedpdf/core": "1.4.1", + "@embedpdf/core": "1.5.0", "preact": "^10.26.4", "react": ">=16.8.0", "react-dom": ">=16.8.0", @@ -690,15 +690,15 @@ } }, "node_modules/@embedpdf/plugin-interaction-manager": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/@embedpdf/plugin-interaction-manager/-/plugin-interaction-manager-1.4.1.tgz", - "integrity": "sha512-Ng02S9SFIAi9JZS5rI+NXSnZZ1Yk9YYRw4MlN2pig49qOyivZdz0oScZaYxQPewo8ccJkLeghjdeWswOBW/6cA==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@embedpdf/plugin-interaction-manager/-/plugin-interaction-manager-1.5.0.tgz", + "integrity": "sha512-ckHgTfvkW6c5Ta7Mc+Dl9C2foVnvEpqEJ84wyBnqrU0OWbe/jsiPhyKBVeartMGqNI/kVfaQTXupyrKhekAVmg==", "license": "MIT", "dependencies": { - "@embedpdf/models": "1.4.1" + "@embedpdf/models": "1.5.0" }, "peerDependencies": { - "@embedpdf/core": "1.4.1", + "@embedpdf/core": "1.5.0", "preact": "^10.26.4", "react": ">=16.8.0", "react-dom": ">=16.8.0", @@ -707,15 +707,15 @@ } }, "node_modules/@embedpdf/plugin-loader": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/@embedpdf/plugin-loader/-/plugin-loader-1.4.1.tgz", - "integrity": "sha512-m3ZOk8JygsLxoa4cZ+0BVB5pfRWuBCg2/gPqjhoFZNKTqAFw4J6HGUrhYKg94GRYe+w1cTJl/NbTBYuU5DOrsA==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@embedpdf/plugin-loader/-/plugin-loader-1.5.0.tgz", + "integrity": "sha512-P4YpIZfaW69etYIjphyaL4cGl2pB14h3OdTE0tRQ2pZYZHFLTvlt4q9B3PVSdhlSrHK5nob7jfLGon2U7xCslg==", "license": "MIT", "dependencies": { - "@embedpdf/models": "1.4.1" + "@embedpdf/models": "1.5.0" }, "peerDependencies": { - "@embedpdf/core": "1.4.1", + "@embedpdf/core": "1.5.0", "preact": "^10.26.4", "react": ">=16.8.0", "react-dom": ">=16.8.0", @@ -724,17 +724,17 @@ } }, "node_modules/@embedpdf/plugin-pan": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/@embedpdf/plugin-pan/-/plugin-pan-1.4.1.tgz", - "integrity": "sha512-zmOZJ9dUqXiaV0F5GPf/5WTWf3jAEkiv153Tl3x8HT9Rfff+WQhV48NruCIBAy/T4jVt4aH7D1zt/B/ftvcdkA==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@embedpdf/plugin-pan/-/plugin-pan-1.5.0.tgz", + "integrity": "sha512-EMQ08dHqLkZmFVuLOO6h3AAinFPQoA1r6OlL9z+p0sswq31JAgd4X7+xjYIpI01z/V3+cTzPHzp7qwob5E4tbA==", "license": "MIT", "dependencies": { - "@embedpdf/models": "1.4.1" + "@embedpdf/models": "1.5.0" }, "peerDependencies": { - "@embedpdf/core": "1.4.1", - "@embedpdf/plugin-interaction-manager": "1.4.1", - "@embedpdf/plugin-viewport": "1.4.1", + "@embedpdf/core": "1.5.0", + "@embedpdf/plugin-interaction-manager": "1.5.0", + "@embedpdf/plugin-viewport": "1.5.0", "preact": "^10.26.4", "react": ">=16.8.0", "react-dom": ">=16.8.0", @@ -743,15 +743,15 @@ } }, "node_modules/@embedpdf/plugin-print": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/@embedpdf/plugin-print/-/plugin-print-1.4.1.tgz", - "integrity": "sha512-YEjU6rQVW8wb125JXl1wma95+JISwADZpfqZZOtvPBRABp6ce4byblDTNjWVmTYWSgKUZrlXCL3Ff3Ig+bjbjw==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@embedpdf/plugin-print/-/plugin-print-1.5.0.tgz", + "integrity": "sha512-rjorvNxAZfO9X4cFZVU9fHnldMWqMceJGmr3mH+yj7KdHePvNDDP+omyZyZKtxlUZENaeDI2h6k5z0GbhBz6sQ==", "license": "MIT", "dependencies": { - "@embedpdf/models": "1.4.1" + "@embedpdf/models": "1.5.0" }, "peerDependencies": { - "@embedpdf/core": "1.4.1", + "@embedpdf/core": "1.5.0", "preact": "^10.26.4", "react": ">=18.0.0", "react-dom": ">=18.0.0", @@ -760,15 +760,15 @@ } }, "node_modules/@embedpdf/plugin-render": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/@embedpdf/plugin-render/-/plugin-render-1.4.1.tgz", - "integrity": "sha512-gKCdNKw6WBHBEpTc2DLBWIWOxzsNnaNbpfeY6C4f2Bum0EO+XW3Hl2oIx1uaRHjIhhnXso1J3QweqelsPwDGwg==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@embedpdf/plugin-render/-/plugin-render-1.5.0.tgz", + "integrity": "sha512-ywwSj0ByrlkvrJIHKRzqxARkOZriki8VJUC+T4MV8fGyF4CzvCRJyKlPktahFz+VxhoodqTh7lBCib68dH+GvA==", "license": "MIT", "dependencies": { - "@embedpdf/models": "1.4.1" + "@embedpdf/models": "1.5.0" }, "peerDependencies": { - "@embedpdf/core": "1.4.1", + "@embedpdf/core": "1.5.0", "preact": "^10.26.4", "react": ">=16.8.0", "react-dom": ">=16.8.0", @@ -777,15 +777,15 @@ } }, "node_modules/@embedpdf/plugin-rotate": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/@embedpdf/plugin-rotate/-/plugin-rotate-1.4.1.tgz", - "integrity": "sha512-hVzHkKwMNH3tUhxqJGsj5qTLpYZXbj6E74AEcG0w/fz5FrK7EnofPqt0gRfYmIzxnQGIh+39BRtcp8gmx8UNnw==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@embedpdf/plugin-rotate/-/plugin-rotate-1.5.0.tgz", + "integrity": "sha512-5EmBCsq0VfrE3xWY6ofuVm8S6aK95EbAycRIk1wczcmTdvpsuXZ6P2ZaECUgYMcpZ6uAg4/kGf8X8VVZuCihSQ==", "license": "MIT", "dependencies": { - "@embedpdf/models": "1.4.1" + "@embedpdf/models": "1.5.0" }, "peerDependencies": { - "@embedpdf/core": "1.4.1", + "@embedpdf/core": "1.5.0", "preact": "^10.26.4", "react": ">=16.8.0", "react-dom": ">=16.8.0", @@ -794,16 +794,16 @@ } }, "node_modules/@embedpdf/plugin-scroll": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/@embedpdf/plugin-scroll/-/plugin-scroll-1.4.1.tgz", - "integrity": "sha512-Y9O+matB4j4fLim5s/jn7qIi+lMC9vmDJRpJhiWe8bvD9oYLP2xfD/DdhFgAjRKcNhPoxC+j8q8QN5BMeGAv2Q==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@embedpdf/plugin-scroll/-/plugin-scroll-1.5.0.tgz", + "integrity": "sha512-RNmTZCZ8X1mA8cw9M7TMDuhO9GtkOalGha2bBL3En3D1IlDRS7PzNNMSMV7eqT7OQICSTltlpJ8p8Qi5esvL/Q==", "license": "MIT", "dependencies": { - "@embedpdf/models": "1.4.1" + "@embedpdf/models": "1.5.0" }, "peerDependencies": { - "@embedpdf/core": "1.4.1", - "@embedpdf/plugin-viewport": "1.4.1", + "@embedpdf/core": "1.5.0", + "@embedpdf/plugin-viewport": "1.5.0", "preact": "^10.26.4", "react": ">=16.8.0", "react-dom": ">=16.8.0", @@ -812,16 +812,16 @@ } }, "node_modules/@embedpdf/plugin-search": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/@embedpdf/plugin-search/-/plugin-search-1.4.1.tgz", - "integrity": "sha512-8JG4CbOcUsLuT0vHJJ4cECmu+Yn53EokWFUVXi2Mo/XvHjhrQuWmD7+y6s/qQPEpctFYWmUCXTDAX9ynPud+2Q==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@embedpdf/plugin-search/-/plugin-search-1.5.0.tgz", + "integrity": "sha512-TB5b0H8Iobx/azVUBIlG2ClaKtf0y3/Xi3E/iB8BwvkIE2+g6EGfp8IMXIn8WDXST6bbvJEP31Ab0Ilp6SVkiw==", "license": "MIT", "dependencies": { - "@embedpdf/models": "1.4.1" + "@embedpdf/models": "1.5.0" }, "peerDependencies": { - "@embedpdf/core": "1.4.1", - "@embedpdf/plugin-loader": "1.4.1", + "@embedpdf/core": "1.5.0", + "@embedpdf/plugin-loader": "1.5.0", "preact": "^10.26.4", "react": ">=16.8.0", "react-dom": ">=16.8.0", @@ -830,17 +830,17 @@ } }, "node_modules/@embedpdf/plugin-selection": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/@embedpdf/plugin-selection/-/plugin-selection-1.4.1.tgz", - "integrity": "sha512-lo5Ytk1PH0PrRKv6zKVupm4t02VGsqIrnSIeP6NO8Ujx0wfqEhj//sqIuO/EwfFVJD8lcQIP9UUo9y8baCrEog==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@embedpdf/plugin-selection/-/plugin-selection-1.5.0.tgz", + "integrity": "sha512-zrxLBAZQoPswDuf9q9DrYaQc6B0Ysc2U1hueTjNH/4+ydfl0BFXZkKR63C2e3YmWtXvKjkoIj0GyPzsiBORLUw==", "license": "MIT", "dependencies": { - "@embedpdf/models": "1.4.1" + "@embedpdf/models": "1.5.0" }, "peerDependencies": { - "@embedpdf/core": "1.4.1", - "@embedpdf/plugin-interaction-manager": "1.4.1", - "@embedpdf/plugin-viewport": "1.4.1", + "@embedpdf/core": "1.5.0", + "@embedpdf/plugin-interaction-manager": "1.5.0", + "@embedpdf/plugin-viewport": "1.5.0", "preact": "^10.26.4", "react": ">=16.8.0", "react-dom": ">=16.8.0", @@ -849,16 +849,16 @@ } }, "node_modules/@embedpdf/plugin-spread": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/@embedpdf/plugin-spread/-/plugin-spread-1.4.1.tgz", - "integrity": "sha512-l+SrDVGTiiItkt2cEtzv7V/X5HhmLbYHcQ8CFobGeIKdJtzKS1Nu/JSKqg7Ki7eCNgyPL1yMNfNE92bNKYVN4w==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@embedpdf/plugin-spread/-/plugin-spread-1.5.0.tgz", + "integrity": "sha512-3EU5Cp+fPQSiMjvMR/P2kXxXry/RlnxHLs4JeskAaH95QcqWW3VD+DrHkWSiLFkdhI18rNNGNlMc5RvDGvbXGQ==", "license": "MIT", "dependencies": { - "@embedpdf/models": "1.4.1" + "@embedpdf/models": "1.5.0" }, "peerDependencies": { - "@embedpdf/core": "1.4.1", - "@embedpdf/plugin-loader": "1.4.1", + "@embedpdf/core": "1.5.0", + "@embedpdf/plugin-loader": "1.5.0", "preact": "^10.26.4", "react": ">=16.8.0", "react-dom": ">=16.8.0", @@ -867,16 +867,16 @@ } }, "node_modules/@embedpdf/plugin-thumbnail": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/@embedpdf/plugin-thumbnail/-/plugin-thumbnail-1.4.1.tgz", - "integrity": "sha512-bN3msjI0PovazgbPK3LyugYVTwIDo0RyBUhBaG42FgJxeY3hmFOWTPgfUH1QF7twHlySnksIvHRFYR3nViryVw==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@embedpdf/plugin-thumbnail/-/plugin-thumbnail-1.5.0.tgz", + "integrity": "sha512-Z2qpyyr5s2M6460KDGu1Vk6rdbQFIoCpnyFAT6e7UaTIKkqJSNpmjqMsBU5PosYCFu/cClpHPvS7tg9/IKAk6g==", "license": "MIT", "dependencies": { - "@embedpdf/models": "1.4.1" + "@embedpdf/models": "1.5.0" }, "peerDependencies": { - "@embedpdf/core": "1.4.1", - "@embedpdf/plugin-render": "1.4.1", + "@embedpdf/core": "1.5.0", + "@embedpdf/plugin-render": "1.5.0", "preact": "^10.26.4", "react": ">=16.8.0", "react-dom": ">=16.8.0", @@ -885,18 +885,18 @@ } }, "node_modules/@embedpdf/plugin-tiling": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/@embedpdf/plugin-tiling/-/plugin-tiling-1.4.1.tgz", - "integrity": "sha512-wgTfj5T8HV6KP61iiR63DVNrbVp8sPxTqa1Sm+2/D0jY+EPSSCmpt1/qYWiAXd1X+t78foOjCnfbo7fEMn5/pg==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@embedpdf/plugin-tiling/-/plugin-tiling-1.5.0.tgz", + "integrity": "sha512-0Vx9elHNpMM+zv8hEoZXBEm8Q0+4kU52LxOlTYRr1A5FskF836sUct6g1ngwK1bmfbAfpz+62PnYI2EeilDZig==", "license": "MIT", "dependencies": { - "@embedpdf/models": "1.4.1" + "@embedpdf/models": "1.5.0" }, "peerDependencies": { - "@embedpdf/core": "1.4.1", - "@embedpdf/plugin-render": "1.4.1", - "@embedpdf/plugin-scroll": "1.4.1", - "@embedpdf/plugin-viewport": "1.4.1", + "@embedpdf/core": "1.5.0", + "@embedpdf/plugin-render": "1.5.0", + "@embedpdf/plugin-scroll": "1.5.0", + "@embedpdf/plugin-viewport": "1.5.0", "preact": "^10.26.4", "react": ">=16.8.0", "react-dom": ">=16.8.0", @@ -905,15 +905,15 @@ } }, "node_modules/@embedpdf/plugin-viewport": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/@embedpdf/plugin-viewport/-/plugin-viewport-1.4.1.tgz", - "integrity": "sha512-+TgFHKPCLTBiDYe2DdsmTS37hwQgcZ3dYIc7bE0l5cp+GVwouu1h0MTmjL+90loizeWwCiu10E/zXR6hz+CUaQ==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@embedpdf/plugin-viewport/-/plugin-viewport-1.5.0.tgz", + "integrity": "sha512-G8GDyYRhfehw72+r4qKkydnA5+AU8qH67g01Y12b0DzI0VIzymh/05Z4dK8DsY3jyWPXJfw2hlg5+KDHaMBHgQ==", "license": "MIT", "dependencies": { - "@embedpdf/models": "1.4.1" + "@embedpdf/models": "1.5.0" }, "peerDependencies": { - "@embedpdf/core": "1.4.1", + "@embedpdf/core": "1.5.0", "preact": "^10.26.4", "react": ">=16.8.0", "react-dom": ">=16.8.0", @@ -922,19 +922,19 @@ } }, "node_modules/@embedpdf/plugin-zoom": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/@embedpdf/plugin-zoom/-/plugin-zoom-1.4.1.tgz", - "integrity": "sha512-9HocmXnPZxqN06q7kyNAmLjgDHOEW8/8QfgNE3nMpRyNHIgnAjxvsWc9lApgp5ErDPG0cSDt0Cduil6nB3wSBQ==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@embedpdf/plugin-zoom/-/plugin-zoom-1.5.0.tgz", + "integrity": "sha512-LiDkCd5/IXg2CRORl1Yikan2op+AYXSxhHzCFatyBdwzVj+n4y9I74OwCI62Mar8WDAIMyXZDCQxGPToSm+zDw==", "license": "MIT", "dependencies": { - "@embedpdf/models": "1.4.1", + "@embedpdf/models": "1.5.0", "hammerjs": "^2.0.8" }, "peerDependencies": { - "@embedpdf/core": "1.4.1", - "@embedpdf/plugin-interaction-manager": "1.4.1", - "@embedpdf/plugin-scroll": "1.4.1", - "@embedpdf/plugin-viewport": "1.4.1", + "@embedpdf/core": "1.5.0", + "@embedpdf/plugin-interaction-manager": "1.5.0", + "@embedpdf/plugin-scroll": "1.5.0", + "@embedpdf/plugin-viewport": "1.5.0", "preact": "^10.26.4", "react": ">=16.8.0", "react-dom": ">=16.8.0", @@ -943,9 +943,9 @@ } }, "node_modules/@embedpdf/utils": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/@embedpdf/utils/-/utils-1.4.1.tgz", - "integrity": "sha512-vvJ51Qsz3PyJWR2YvDMMpJXg4+YqdV7Vn2cusmW9sx+4EnAiBiw0HevEE+FepgFV8k+A0WbwXzmsujDIQJ7R4A==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@embedpdf/utils/-/utils-1.5.0.tgz", + "integrity": "sha512-L6jsAPQPGM8ne+MMFAd5gqXb1RNEgNyh16VvVUVKcVnJlBhwil59nVeEQ0cwPhjF5qVeY6MQDIOjBzJqkgXOYg==", "license": "MIT", "peerDependencies": { "preact": "^10.26.4", diff --git a/frontend/package.json b/frontend/package.json index 0656fcc790..5489f6b46e 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -7,26 +7,26 @@ "dependencies": { "@atlaskit/pragmatic-drag-and-drop": "^1.7.7", "@dnd-kit/core": "^6.3.1", - "@embedpdf/core": "^1.4.1", - "@embedpdf/engines": "^1.4.1", - "@embedpdf/plugin-annotation": "^1.4.1", - "@embedpdf/plugin-bookmark": "^1.4.1", - "@embedpdf/plugin-export": "^1.4.1", - "@embedpdf/plugin-history": "^1.4.1", - "@embedpdf/plugin-interaction-manager": "^1.4.1", - "@embedpdf/plugin-loader": "^1.4.1", - "@embedpdf/plugin-pan": "^1.4.1", - "@embedpdf/plugin-print": "^1.4.1", - "@embedpdf/plugin-render": "^1.4.1", - "@embedpdf/plugin-rotate": "^1.4.1", - "@embedpdf/plugin-scroll": "^1.4.1", - "@embedpdf/plugin-search": "^1.4.1", - "@embedpdf/plugin-selection": "^1.4.1", - "@embedpdf/plugin-spread": "^1.4.1", - "@embedpdf/plugin-thumbnail": "^1.4.1", - "@embedpdf/plugin-tiling": "^1.4.1", - "@embedpdf/plugin-viewport": "^1.4.1", - "@embedpdf/plugin-zoom": "^1.4.1", + "@embedpdf/core": "^1.5.0", + "@embedpdf/engines": "^1.5.0", + "@embedpdf/plugin-annotation": "^1.5.0", + "@embedpdf/plugin-bookmark": "^1.5.0", + "@embedpdf/plugin-export": "^1.5.0", + "@embedpdf/plugin-history": "^1.5.0", + "@embedpdf/plugin-interaction-manager": "^1.5.0", + "@embedpdf/plugin-loader": "^1.5.0", + "@embedpdf/plugin-pan": "^1.5.0", + "@embedpdf/plugin-print": "^1.5.0", + "@embedpdf/plugin-render": "^1.5.0", + "@embedpdf/plugin-rotate": "^1.5.0", + "@embedpdf/plugin-scroll": "^1.5.0", + "@embedpdf/plugin-search": "^1.5.0", + "@embedpdf/plugin-selection": "^1.5.0", + "@embedpdf/plugin-spread": "^1.5.0", + "@embedpdf/plugin-thumbnail": "^1.5.0", + "@embedpdf/plugin-tiling": "^1.5.0", + "@embedpdf/plugin-viewport": "^1.5.0", + "@embedpdf/plugin-zoom": "^1.5.0", "@emotion/react": "^11.14.0", "@emotion/styled": "^11.14.1", "@iconify/react": "^6.0.2", diff --git a/frontend/src/core/components/viewer/LocalEmbedPDF.tsx b/frontend/src/core/components/viewer/LocalEmbedPDF.tsx index b953b2205c..3e5fa5f1c6 100644 --- a/frontend/src/core/components/viewer/LocalEmbedPDF.tsx +++ b/frontend/src/core/components/viewer/LocalEmbedPDF.tsx @@ -97,7 +97,10 @@ export function LocalEmbedPDF({ file, url, enableAnnotations = false, onSignatur strategy: ScrollStrategy.Vertical, initialPage: 0, }), - createPluginRegistration(RenderPluginPackage), + createPluginRegistration(RenderPluginPackage, { + withForms: true, + withAnnotations: true, + }), // Register interaction manager (required for zoom and selection features) createPluginRegistration(InteractionManagerPluginPackage), diff --git a/frontend/src/core/components/viewer/LocalEmbedPDFWithAnnotations.tsx b/frontend/src/core/components/viewer/LocalEmbedPDFWithAnnotations.tsx index 87a5d75143..cfd48185dc 100644 --- a/frontend/src/core/components/viewer/LocalEmbedPDFWithAnnotations.tsx +++ b/frontend/src/core/components/viewer/LocalEmbedPDFWithAnnotations.tsx @@ -85,7 +85,10 @@ export function LocalEmbedPDFWithAnnotations({ strategy: ScrollStrategy.Vertical, initialPage: 0, }), - createPluginRegistration(RenderPluginPackage), + createPluginRegistration(RenderPluginPackage, { + withForms: true, + withAnnotations: true, + }), // Register interaction manager (required for annotations) createPluginRegistration(InteractionManagerPluginPackage), From f3cc30d0c23cd04db667133965a371fa32152cf2 Mon Sep 17 00:00:00 2001 From: Anthony Stirling <77850077+Frooodle@users.noreply.github.com> Date: Tue, 2 Dec 2025 19:14:03 +0000 Subject: [PATCH 2/9] Update wording for third-party services reference --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 194a8c410d..d9e0d5a418 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@
From f2f4bd52302ee8c018076afcc89cf1b362c9c684 Mon Sep 17 00:00:00 2001
From: Reece Browne <74901996+reecebrowne@users.noreply.github.com>
Date: Tue, 2 Dec 2025 22:48:29 +0000
Subject: [PATCH 3/9] Bug/v2/signature fixes (#5104)
Co-authored-by: Dario Ghunney Ware 2?B}0O-cjscA)sjjR);XrOEpGUJdtJ9lt^TFUv+k5FcUSq>>=C}_
z|BP=|6OV27j9#zSfAMeCoVqzxedTu&p3C~|wU@x!q)u}_a!D}2nRU&@J=zN;H{U
zeea#Z)$P1}SM{F1TT6MHkIgqY)3Nk>%-6e?`6AQ%7G3)M(wvVs |J8SC2J3^>0Uyt=+Kf&p927HpTa@~Zf{C9E2d5k@!cPSh6E
zUW!<$3R>`i#bVVY)+;OPcePE`JC?UEJ5dcWO6Q`(aDoLRykJ#47Oz4#E@8FA610N~
zYn}BJwCQT_T4WI^xO(40Prtc#lb7YOH@v~#1Oc_k)|{Ft$6fmDO(kf%>9b&l1R-oC
zB6w+pzE1q(qgt}1qF4H(TXb+5s-0vTyXD9on}ilIMQ(*^Z0Wn`Kn`fTAE>hZykX+S
z7}cq>uX$a36uN2ApB;1jXRvputYh!D)Ctv9x)iBgtyS*X`u?EQ%NM5eGcRd{R+pc=
z`1;v571^uDm*$++(u~>@b}f9~l+$~as=c^X%IkK {KuqHQ6*slUADh|%K9*ZA$H
z{yHZ8Y`=B>?03ff@_o-t-Cw1+=
e>7(Meo=ew_u=LYTCA8RG_QhaCW^L=}MRPO%sEn@i$
z=FBfrrEm8ZZQXjmtuOB7p4#|0yDNJ4uiXFmuKKRPb9VEO_cr>wtG3p>H@sT9WY(_t
zJ<%Q)8@{f7d-l`z)$30_p8fjiud^R_UpqU`dgXt|3ID7%2O^TkO|gw7g5|}#_vgFJ
zD14Ul>EoTQbs
Wuelvw)yMVsr@>){GzjS*FNhcgCyRvIrY5<
zm98zaH>p-GXX}ozVhvoL$u>Xz-e&pwFR@DO)?v$czPxfScq{YbzV{wV*QDKV?K!{q
zf7IEn8{LF9mi$`Wx5>)9r(>z|zAtlGOP9oi{*`^dE6(TF!sFdh2PaIK6E@Q_>F0I(
z(AgWLHky2Td!_!q%Nh?vW4mCFa#(fs@;86~bmXl3;bC|4^G
`)m{q!oKNgj7(cI3OvxXw5oN62?YScP7YPkpNY
zV%_3RCNV!Ro|5l1oz+oVch=_Q%s3^{z0c+efX*bDX0ZL+<=d(s7k=ySkcu>ncDH=%
zZO7xbX5qTa(W
<_-uJ~?WCF9JNTFO9SdsrFZyzE
zi|WdWfwd~vH+*vQnX5ZFawY49(vM$6mo|c9U0HPUGW|)P{OY5pZ=V+GcV8-IZBS&)
zgSq)pag8FnHQVfyO6A@~&$t`yzIuDusqRU~pPe}|ea;;wO-r+B9i~6FviC;Z6FE{F
zG~@WLhzX#%e0XGnooZNSY{PoBK-4Y$xo-aa$~`N=x3kWD(XsT!2`%Fg-lcw~R|F%!
zfwq5o2W8Kb=GmHGqH;@0Rj%sLglterwX@#qafIZbTMRQn0}-I;0ap#6+dvQAYYlLZ
zyJ~*V;Q!yH3k|*dP3OOd9IvmgoCMv&$ngLFw{u4|yRt9tt{2<>PWQcT{)$aWweu|0
z=S%cwxb!9kD81n9XmDe?_&|AIubPl>pz?Ex4t*s%CAZ!{=OYq^8eSJZaBwiI#7CxH
zeZTsyF|Y6W0}R_PHD`ye4f