Your local exact search (#4535)

* Initial plan

* Add fuzzy/exact search toggle to VPLocalSearchBox

Co-authored-by: eli32-vlc <84105075+eli32-vlc@users.noreply.github.com>

* Complete fuzzy/exact search toggle implementation with screenshots

Co-authored-by: eli32-vlc <84105075+eli32-vlc@users.noreply.github.com>

* Add minisearch dependency and update screenshots with actual interface

Co-authored-by: eli32-vlc <84105075+eli32-vlc@users.noreply.github.com>

* Remove temporary comment and restore web fonts preset

Co-authored-by: eli32-vlc <84105075+eli32-vlc@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
This commit is contained in:
Zenith Rifle
2026-01-04 13:39:22 +08:00
committed by GitHub
parent 11dff3a3bd
commit bfda08e659
5 changed files with 993 additions and 1 deletions

60
pnpm-lock.yaml generated
View File

@@ -23,6 +23,9 @@ importers:
'@vueuse/core':
specifier: ^14.1.0
version: 14.1.0(vue@3.5.25(typescript@5.9.3))
'@vueuse/integrations':
specifier: ^14.1.0
version: 14.1.0(focus-trap@7.6.6)(nprogress@0.2.0)(vue@3.5.25(typescript@5.9.3))
consola:
specifier: ^3.4.2
version: 3.4.2
@@ -32,6 +35,12 @@ importers:
itty-fetcher:
specifier: ^1.0.10
version: 1.0.10
mark.js:
specifier: ^8.11.1
version: 8.11.1
minisearch:
specifier: ^7.2.0
version: 7.2.0
nitro-cors:
specifier: ^0.7.1
version: 0.7.1
@@ -2222,6 +2231,48 @@ packages:
universal-cookie:
optional: true
'@vueuse/integrations@14.1.0':
resolution: {integrity: sha512-eNQPdisnO9SvdydTIXnTE7c29yOsJBD/xkwEyQLdhDC/LKbqrFpXHb3uS//7NcIrQO3fWVuvMGp8dbK6mNEMCA==}
peerDependencies:
async-validator: ^4
axios: ^1
change-case: ^5
drauu: ^0.4
focus-trap: ^7
fuse.js: ^7
idb-keyval: ^6
jwt-decode: ^4
nprogress: ^0.2
qrcode: ^1.5
sortablejs: ^1
universal-cookie: ^7 || ^8
vue: ^3.5.0
peerDependenciesMeta:
async-validator:
optional: true
axios:
optional: true
change-case:
optional: true
drauu:
optional: true
focus-trap:
optional: true
fuse.js:
optional: true
idb-keyval:
optional: true
jwt-decode:
optional: true
nprogress:
optional: true
qrcode:
optional: true
sortablejs:
optional: true
universal-cookie:
optional: true
'@vueuse/metadata@12.8.2':
resolution: {integrity: sha512-rAyLGEuoBJ/Il5AmFHiziCPdQzRt88VxR+Y/A/QhJ1EWtWqPBBAxTAFaSkviwEuOEZNtW8pvkPgoCZQ+HxqW1A==}
@@ -6851,6 +6902,15 @@ snapshots:
transitivePeerDependencies:
- typescript
'@vueuse/integrations@14.1.0(focus-trap@7.6.6)(nprogress@0.2.0)(vue@3.5.25(typescript@5.9.3))':
dependencies:
'@vueuse/core': 14.1.0(vue@3.5.25(typescript@5.9.3))
'@vueuse/shared': 14.1.0(vue@3.5.25(typescript@5.9.3))
vue: 3.5.25(typescript@5.9.3)
optionalDependencies:
focus-trap: 7.6.6
nprogress: 0.2.0
'@vueuse/metadata@12.8.2': {}
'@vueuse/metadata@14.1.0': {}