Add password prompt functionality and tests while uploading encrypted PDF

This commit is contained in:
alam00000
2026-03-26 12:11:12 +05:30
parent f88f872162
commit 1dbf907eeb
79 changed files with 7869 additions and 4419 deletions

View File

@@ -54,3 +54,4 @@ export * from './page-preview-type.ts';
export * from './add-page-labels-type.ts';
export * from './pdf-to-tiff-type.ts';
export * from './pdf-to-cbz-type.ts';
export * from './password-prompt-type.ts';

View File

@@ -0,0 +1,7 @@
import type { PDFDocumentProxy } from 'pdfjs-dist';
export interface LoadedPdf {
pdf: PDFDocumentProxy;
bytes: ArrayBuffer;
file: File;
}