feat(pdf-tools): add bookmark pdf tool and lucide icons integration

- Add 'bookmark-pdf' to singlePdfLoadTools
- Create new lucide-init.ts for icon initialization
- Update HTML files to use local lucide initialization
- Add bookmark.html page with full bookmark editor functionality
- Update tools config to include bookmark tool
- Modify main.ts to handle tool cards with href links
This commit is contained in:
abdullahalam123
2025-10-27 22:01:36 +05:30
parent 72688cde4c
commit 72e74d2a62
14 changed files with 2645 additions and 38 deletions

View File

@@ -1,5 +1,6 @@
import createModule from '@neslinesli93/qpdf-wasm';
import { showLoader, hideLoader, showAlert } from '../ui';
import { createIcons } from 'lucide';
const STANDARD_SIZES = {
A4: { width: 595.28, height: 841.89 },
@@ -177,3 +178,13 @@ export async function initializeQpdf() {
return qpdfInstance;
}
export function initializeIcons(): void {
createIcons({
attrs: {
class: 'bento-icon',
'stroke-width': '1.5',
},
});
}