useless file
This commit is contained in:
parent
d3c7e7ea8e
commit
52ada90150
|
@ -1,24 +0,0 @@
|
||||||
<script lang="ts">
|
|
||||||
import type { ResultNote } from '../globals'
|
|
||||||
import ResultItemContainer from './ResultItemContainer.svelte'
|
|
||||||
import type LocatorPlugin from '../main'
|
|
||||||
|
|
||||||
export let plugin: LocatorPlugin
|
|
||||||
export let offset: number
|
|
||||||
export let note: ResultNote
|
|
||||||
export let index = 0
|
|
||||||
export let selected = false
|
|
||||||
|
|
||||||
$: cleanedContent = plugin.textProcessor.makeExcerpt(note?.content ?? '', offset)
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<ResultItemContainer
|
|
||||||
id="{index.toString()}"
|
|
||||||
on:auxclick
|
|
||||||
on:click
|
|
||||||
on:mousemove
|
|
||||||
selected="{selected}">
|
|
||||||
<div class="omnisearch-result__body">
|
|
||||||
{@html plugin.textProcessor.highlightText(cleanedContent, note.matches)}
|
|
||||||
</div>
|
|
||||||
</ResultItemContainer>
|
|
Loading…
Reference in New Issue
Block a user