diff --git a/frontend/src/lib/components/Chart/TimeSeriesChart.svelte b/frontend/src/lib/components/Chart/TimeSeriesChart.svelte index 30f53a76d..2b7a8c486 100644 --- a/frontend/src/lib/components/Chart/TimeSeriesChart.svelte +++ b/frontend/src/lib/components/Chart/TimeSeriesChart.svelte @@ -4,9 +4,7 @@ export let width = 'w-auto'; export let height = 'h-full'; export let classesContainer = ''; - export let title = ''; export let name = ''; - export let timeseries = []; const chart_id = `${name}_div`; onMount(async () => { const echarts = await import('echarts'); diff --git a/frontend/src/lib/components/Forms/AutocompleteSelect.svelte b/frontend/src/lib/components/Forms/AutocompleteSelect.svelte index 8e71e96f4..cfd635728 100644 --- a/frontend/src/lib/components/Forms/AutocompleteSelect.svelte +++ b/frontend/src/lib/components/Forms/AutocompleteSelect.svelte @@ -29,7 +29,6 @@ resolve: (x) => x }; export let cachedValue: any[] | undefined = undefined; - export let createFromSelection = false; const { value, errors, constraints } = formFieldProxy(form, field); diff --git a/frontend/src/lib/components/Forms/ModelForm/FearedEventForm.svelte b/frontend/src/lib/components/Forms/ModelForm/FearedEventForm.svelte index 9580233a3..d979b3524 100644 --- a/frontend/src/lib/components/Forms/ModelForm/FearedEventForm.svelte +++ b/frontend/src/lib/components/Forms/ModelForm/FearedEventForm.svelte @@ -13,7 +13,6 @@ export let cacheLocks: Record = {}; export let formDataCache: Record = {}; export let initialData: Record = {}; - export let context: string; - import AutocompleteSelect from '../AutocompleteSelect.svelte'; - import { getOptions } from '$lib/utils/crud'; - import type { SuperValidated } from 'sveltekit-superforms'; - import type { ModelInfo, CacheLock } from '$lib/utils/types'; import TextField from '$lib/components/Forms/TextField.svelte'; + import type { CacheLock } from '$lib/utils/types'; import * as m from '$paraglide/messages.js'; + import type { SuperValidated } from 'sveltekit-superforms'; export let form: SuperValidated; - export let model: ModelInfo; export let cacheLocks: Record = {}; export let formDataCache: Record = {}; - export let initialData: Record = {}; import Select from '../Select.svelte'; import * as m from '$paraglide/messages'; + import type { CacheLock, ModelInfo } from '$lib/utils/types'; + import type { SuperForm } from 'sveltekit-superforms'; - export let form: SuperValidated; + export let form: SuperForm; export let model: ModelInfo; export let cacheLocks: Record = {}; export let formDataCache: Record = {}; - export let data: any = {};