feat: Add page number string reordering to Organize PDF tool

This commit introduces a new feature to the "Organize PDF" tool that allows users to reorder pages by providing a comma-separated string of page numbers.

An "Advanced Settings" section has been added to the UI, containing a text input for the page order and an "Apply Order" button. The implementation includes validation for the input and updates the page thumbnail grid accordingly.
This commit is contained in:
sheing-google
2026-01-14 21:11:11 +00:00
parent 8f628e2b5a
commit 4a23dabd52
4 changed files with 94 additions and 5 deletions

5
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "bento-pdf",
"version": "1.15.4",
"version": "1.16.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "bento-pdf",
"version": "1.15.4",
"version": "1.16.0",
"license": "AGPL-3.0-only",
"dependencies": {
"@bentopdf/gs-wasm": "^0.1.0",
@@ -10537,7 +10537,6 @@
"resolved": "https://registry.npmjs.org/rollup/-/rollup-4.55.1.tgz",
"integrity": "sha512-wDv/Ht1BNHB4upNbK74s9usvl7hObDnvVzknxqY/E/O3X6rW1U1rV1aENEfJ54eFZDTNo7zv1f5N4edCluH7+A==",
"license": "MIT",
"peer": true,
"dependencies": {
"@types/estree": "1.0.8"
},