This commit introduces a signature navigation feature in the PDF viewer: - Removed zoom preset buttons to make space for the new toolbar. - Added "Previous" and "Next" buttons for navigating signatures. - Displayed a signature counter with signed/total signatures and a badge for unsigned signatures or completion status. - Introduced state variables (`_totalSignatures`, `_signedSignatures`, `_unsignedSignatures`) to track signature progress. - Implemented methods for navigating signatures (`GoToPreviousSignature`, `GoToNextSignature`, `UpdateSignatureCounterAsync`). - Enhanced JavaScript with `getSignatureNavState`, `goToNextSignature`, and `goToPreviousSignature` for navigation logic. - Updated CSS for the toolbar and signature navigation, including responsive adjustments and hover effects. - Improved error handling during signature counter updates. - Updated `RenderSignatureButtonsAsync` to refresh the signature counter after rendering. These changes improve the user experience by enabling efficient navigation and tracking of signatures in the PDF viewer.
32 KiB
32 KiB