Complete fuzzy/exact search toggle implementation with screenshots

Co-authored-by: eli32-vlc <84105075+eli32-vlc@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2026-01-04 00:58:24 +00:00
parent e3ae5c4256
commit 443d34d169
4 changed files with 71 additions and 6 deletions

View file

@ -26,12 +26,12 @@ import {
watchEffect,
type Ref
} from 'vue'
import type { ModalTranslations } from '../../../../types/local-search'
import { pathToFile } from '../../app/utils'
import { escapeRegExp } from '../../shared'
import { useData } from '../composables/data'
import { LRUCache } from '../support/lru'
import { createSearchTranslate } from '../support/translation'
import type { ModalTranslations } from 'vitepress/types/local-search'
import { pathToFile } from 'vitepress/dist/client/app/utils'
import { escapeRegExp } from 'vitepress/dist/client/shared'
import { useData } from 'vitepress/dist/client/theme-default/composables/data'
import { LRUCache } from 'vitepress/dist/client/theme-default/support/lru'
import { createSearchTranslate } from 'vitepress/dist/client/theme-default/support/translation'
const emit = defineEmits<{
(e: 'close'): void