feat(#10): add batch download settings and capabilities

- Introduced new batch download settings in the settings slice, allowing users to configure options for directory picking, streaming ZIP downloads, and blob ZIP downloads.
- Implemented a new general settings panel for managing batch download preferences.
- Added utility functions to handle directory selection and ZIP file creation.
- Updated the download logic to support multiple download modes based on user preferences.
- Enhanced documentation to reflect changes in batch download functionality.
This commit is contained in:
鲁树人
2026-10-21 10:24:21 +09:00
parent 3059f495ab
commit 07d160c547
16 changed files with 660 additions and 55 deletions
+15 -4
View File
@@ -25,6 +25,12 @@ importers:
classnames:
specifier: ^2.5.1
version: 2.5.1
fflate:
specifier: ^0.8.3
version: 0.8.3
idb-keyval:
specifier: ^6.3.0
version: 6.3.0
nanoid:
specifier: ^5.1.6
version: 5.1.6
@@ -2212,8 +2218,8 @@ packages:
picomatch:
optional: true
[email protected].2:
resolution: {integrity: sha512-cPJU47OaAoCbg0pBvzsgpTPhmhqI5eJjh/JIu8tPj5q+T7iLvW/JAYUqmE7KOB4R1ZyEhzBaIQpQpardBF5z8A==}
[email protected].3:
resolution: {integrity: sha512-tbZNuJrLwGUp3zshBtdy4W+ORxZuIh8a5ilyIEQDC5rY1f3U20JMry0Ll3WBzU58EZKsEuJFXhb5gwv8CsPvgA==}
[email protected]:
resolution: {integrity: sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==}
@@ -2409,6 +2415,9 @@ packages:
resolution: {integrity: sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==}
engines: {node: '>=0.10.0'}
[email protected]:
resolution: {integrity: sha512-um+2dgAWmYsu615EXpWVwSmapJhON0G43t3Ka/EVaohzPQXSMqKEqeDK/oIW3Ow+BXaF2PvSc+oBTFp793A5Ow==}
[email protected]:
resolution: {integrity: sha512-gchesWBzyvGHRO9W8tzUWFDycow5gwjvFKfyV9FF32Y7F50yZMp7mP+T2mJIWFx49zicqyC4uefHM17o6xKIVQ==}
@@ -5380,7 +5389,7 @@ snapshots:
'@vitest/[email protected]([email protected])':
dependencies:
'@vitest/utils': 3.2.4
fflate: 0.8.2
fflate: 0.8.3
flatted: 3.3.3
pathe: 2.0.3
sirv: 3.0.2
@@ -5986,7 +5995,7 @@ snapshots:
optionalDependencies:
picomatch: 4.0.3
[email protected].2: {}
[email protected].3: {}
[email protected]:
dependencies:
@@ -6193,6 +6202,8 @@ snapshots:
dependencies:
safer-buffer: 2.1.2
[email protected]: {}
[email protected]: {}
[email protected]: {}