feat: add Bates numbering tool with PDF processing capabilities

- Implemented bates-numbering-page.ts for handling Bates numbering logic.
- Created a new HTML page for Bates numbering functionality.
- Added style presets and file handling for multiple PDF uploads.
- Integrated user interface elements for file selection, style customization, and preview.
- Enhanced main.ts to support collapsible categories and compact mode for tool grid.
- Updated types for Bates numbering in bates-numbering-type.ts.
- Registered the new tool in tools.html and updated routing in vite.config.ts.
This commit is contained in:
alam00000
2026-02-21 14:05:38 +05:30
parent 7313fa08a8
commit 3cae20a10c
26 changed files with 1443 additions and 21 deletions

View File

@@ -508,6 +508,12 @@
category: 'editor',
icon: 'list-numbers',
},
{
name: 'bates-numbering',
title: 'Bates Numbering',
category: 'editor',
icon: 'hash',
},
{
name: 'background-color',
title: 'Background Color',
@@ -821,7 +827,7 @@
grid.innerHTML = filtered
.map(
(tool) => `
<a href="/src/pages/${tool.name}.html" class="tool-card">
<a href="/${tool.name}.html" class="tool-card">
<i class="ph ph-${tool.icon} text-4xl text-indigo-400 mb-2"></i>
<h3 class="font-semibold text-white text-sm">${tool.title}</h3>
</a>