Updated `SelectInput` and `OptionInput` to allow `value` as `string | number`. Extended image generation configurations with new features, including `cfg_rescale`, `noise_schedule`, and vibe data handling. Improved the setup for reference images and added support for mnemonist dependency in the package manager.
10 lines
335 B
Svelte
10 lines
335 B
Svelte
<option value={value} selected={selected} class="bg-darkbg appearance-none">{@render children?.()}</option>
|
|
<script lang="ts">
|
|
interface Props {
|
|
value: string | number;
|
|
selected?: boolean;
|
|
children?: import('svelte').Snippet;
|
|
}
|
|
|
|
let { value, selected = false, children }: Props = $props();
|
|
</script> |