feat: add Quick Look page preview and unify thumbnail styles across all tools

This commit is contained in:
alam00000
2026-03-04 00:38:07 +05:30
parent 2aaea50031
commit 84848ab902
12 changed files with 1520 additions and 1082 deletions

View File

@@ -50,3 +50,4 @@ export * from './bookmark-pdf-type.ts';
export * from './scanner-effect-type.ts';
export * from './adjust-colors-type.ts';
export * from './bates-numbering-type.ts';
export * from './page-preview-type.ts';

View File

@@ -0,0 +1,10 @@
import { PDFDocumentProxy } from 'pdfjs-dist';
export interface PreviewState {
modal: HTMLElement | null;
pdfjsDoc: PDFDocumentProxy | null;
currentPage: number;
totalPages: number;
isOpen: boolean;
container: HTMLElement | null;
}