Refactor and enhance PDF signature editor

- Added `IMemoryCache` for session persistence and caching.
- Introduced session persistence via query parameter (`esid`).
- Replaced overlay-based click handling with normalized PDF coordinates.
- Added `PdfSharp` integration to render signature placeholders.
- Updated button behavior for receiver-specific signature placement.
- Improved receiver popup validation and email suggestion handling.
- Removed unused overlay synchronization logic.
- Refactored CSS for better PDF viewer layout and toolbar alignment.
- Enhanced logging with additional context for signature actions.
- General code cleanup for readability and maintainability.
This commit is contained in:
2026-07-01 22:50:47 +02:00
parent 10f65e583a
commit 74da6e37b0
3 changed files with 374 additions and 275 deletions

View File

@@ -52,8 +52,8 @@
}
.pdf-editor-wrapper {
position: relative;
min-height: 100%;
width: 100%;
height: 100%;
}
.sender-editor-pdf-viewer {
@@ -61,6 +61,14 @@
height: 100%;
}
.sender-editor-pdf-viewer .dxbl-toolbar {
justify-content: center;
}
.sender-editor-pdf-viewer .dxbl-toolbar-left {
margin-inline: auto;
}
.sender-editor-pdf-viewer .dxbrv-document-surface {
display: flex;
flex-direction: column;