mirror of
https://github.com/fmhy/edit.git
synced 2026-01-13 23:41:06 +11:00
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:
parent
e3ae5c4256
commit
443d34d169
4 changed files with 71 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue