@empathyco/x-components
Version:
Empathy X Components
31 lines (25 loc) • 1.26 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [SemanticQuery](./x-components.semanticquery.md)
## SemanticQuery variable
This component renders a semantic query. A semantic query is a recommended query that is similar in its meaning to another one. It contains the query and the distance, which indicates how similar the query is compared to the searched query.
**Signature:**
```typescript
_default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
suggestion: {
type: PropType<SemanticQuery>;
required: true;
};
}>, {
query: import("vue").ComputedRef<string>;
suggestionSelectedEvents: {
UserSelectedASemanticQuery: SemanticQuery;
};
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
suggestion: {
type: PropType<SemanticQuery>;
required: true;
};
}>> & Readonly<{}>, {}, {}, {
BaseSuggestion: import("vue").DefineComponent<{}, {}, any>;
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>
```