Skip to content

Commit 3a45b7d

Browse files
committed
refactor: Component imports
1 parent ce2f9d1 commit 3a45b7d

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

tools/server/webui/src/lib/components/app/chat/ChatSettings/ChatSettingsDialog.svelte

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,18 @@
11
<script lang="ts">
2+
import { Settings, Filter, Hand, MessageSquare, Plus, Beaker } from '@lucide/svelte';
3+
import { ChatSettingsFooter, ChatSettingsSection } from '$lib/components/app';
24
import { Checkbox } from '$lib/components/ui/checkbox';
35
import * as Dialog from '$lib/components/ui/dialog';
46
import { Input } from '$lib/components/ui/input';
57
import { ScrollArea } from '$lib/components/ui/scroll-area';
68
import { Textarea } from '$lib/components/ui/textarea';
7-
import { Settings, Filter, Hand, MessageSquare, Plus, Beaker } from '@lucide/svelte';
89
import { SETTING_CONFIG_DEFAULT } from '$lib/constants/settings-config';
9-
import { type SettingsConfigType, type FieldConfig } from '$lib/types/settings';
1010
import {
1111
config,
1212
updateMultipleConfig,
1313
resetConfig
1414
} from '$lib/stores/settings.svelte';
15-
import ChatSettingsFooter from './ChatSettingsFooter.svelte';
16-
import ChatSettingsSection from './ChatSettingsSection.svelte';
15+
import { type SettingsConfigType, type FieldConfig } from '$lib/types/settings';
1716
1817
interface Props {
1918
onOpenChange?: (open: boolean) => void;

tools/server/webui/src/lib/components/app/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@ export { default as ChatMessageThinkingBlock } from './chat/ChatMessages/ChatMes
1515

1616
export { default as ChatHeader } from './chat/ChatScreen/ChatScreenHeader.svelte';
1717
export { default as ChatScreen } from './chat/ChatScreen/ChatScreen.svelte';
18+
1819
export { default as ChatSettingsDialog } from './chat/ChatSettings/ChatSettingsDialog.svelte';
20+
export { default as ChatSettingsSection } from './chat/ChatSettings/ChatSettingsSection.svelte';
21+
export { default as ChatSettingsFooter } from './chat/ChatSettings/ChatSettingsFooter.svelte';
1922

2023
export { default as ChatSidebarConversationItem } from './chat/ChatSidebar/ChatSidebarConversationItem.svelte';
2124
export { default as ChatSidebar } from './chat/ChatSidebar/ChatSidebar.svelte';

0 commit comments

Comments
 (0)