app.ts

 1import command_palette from "./command_palette"
 2import project_panel from "./project_panel"
 3import search from "./search"
 4import picker from "./picker"
 5import workspace from "./workspace"
 6import context_menu from "./context_menu"
 7import shared_screen from "./shared_screen"
 8import project_diagnostics from "./project_diagnostics"
 9import contact_notification from "./contact_notification"
10import update_notification from "./update_notification"
11import simple_message_notification from "./simple_message_notification"
12import project_shared_notification from "./project_shared_notification"
13import tooltip from "./tooltip"
14import terminal from "./terminal"
15import chat_panel from "./chat_panel"
16import collab_panel from "./collab_panel"
17import toolbar_dropdown_menu from "./toolbar_dropdown_menu"
18import incoming_call_notification from "./incoming_call_notification"
19import welcome from "./welcome"
20import copilot from "./copilot"
21import assistant from "./assistant"
22import { titlebar } from "./titlebar"
23import editor from "./editor"
24import feedback from "./feedback"
25import component_test from "./component_test"
26import { useTheme } from "../common"
27
28export default function app(): any {
29    const theme = useTheme()
30
31    return {
32        meta: {
33            name: theme.name,
34            is_light: theme.is_light,
35        },
36        command_palette: command_palette(),
37        contact_notification: contact_notification(),
38        project_shared_notification: project_shared_notification(),
39        incoming_call_notification: incoming_call_notification(),
40        picker: picker(),
41        workspace: workspace(),
42        titlebar: titlebar(),
43        copilot: copilot(),
44        welcome: welcome(),
45        context_menu: context_menu(),
46        editor: editor(),
47        project_diagnostics: project_diagnostics(),
48        project_panel: project_panel(),
49        collab_panel: collab_panel(),
50        toolbar_dropdown_menu: toolbar_dropdown_menu(),
51        search: search(),
52        shared_screen: shared_screen(),
53        update_notification: update_notification(),
54        simple_message_notification: simple_message_notification(),
55        tooltip: tooltip(),
56        terminal: terminal(),
57        assistant: assistant(),
58        feedback: feedback(),
59        chat_panel: chat_panel(),
60        component_test: component_test(),
61    }
62}