Test with name suggestion index

This commit is contained in:
Robin van der Linde 2024-04-25 00:56:36 +02:00
parent 00ab3a1b77
commit 6786c8f321
Signed by untrusted user: Robin-van-der-Linde
GPG key ID: 53956B3252478F0D
7 changed files with 371 additions and 5 deletions

View file

@ -19,6 +19,7 @@
import OpeningHoursInput from "./Helpers/OpeningHoursInput.svelte"
import SlopeInput from "./Helpers/SlopeInput.svelte"
import type { SpecialVisualizationState } from "../SpecialVisualization"
import NameSuggestionIndexInput from "./Helpers/NameSuggestionIndexInput.svelte"
export let type: ValidatorType
export let value: UIEventSource<string | object>
@ -50,4 +51,6 @@
<SlopeInput {value} {feature} {state} />
{:else if type === "wikidata"}
<ToSvelte construct={() => InputHelpers.constructWikidataHelper(value, properties)} />
{:else if type === "nsi"}
<NameSuggestionIndexInput {value} {feature} />
{/if}