UNPKG

vue-json-search

Version:

Headless Vue (3.x) search component based on [Fuse.js](https://github.com/krisk/Fuse). Designed for static generators like [Hugo](https://github.com/gohugoio/hugo) but works with any site that's cabable of producing a JSON corpus.

23 lines (22 loc) 1.1 kB
import type { renderTag } from '../utils'; import type { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, EmitsOptions, Ref } from 'vue'; import { FuseResult, SearchResultItem } from '../types'; declare const _sfc_main: DefineComponent<{}, { results: Ref<FuseResult<SearchResultItem>[]> | undefined; ResultListItem: DefineComponent<{ result: { type: null; required: true; }; }, { showTags: boolean | undefined; tagRoot: string | undefined; renderTag: typeof renderTag; }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{ result: { type: null; required: true; }; }>>, {}>; }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, EmitsOptions, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}>; export default _sfc_main;