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 notification_panel from "./notification_panel"
17import collab_panel from "./collab_panel"
18import toolbar_dropdown_menu from "./toolbar_dropdown_menu"
19import incoming_call_notification from "./incoming_call_notification"
20import welcome from "./welcome"
21import copilot from "./copilot"
22import assistant from "./assistant"
23import { titlebar } from "./titlebar"
24import editor from "./editor"
25import feedback from "./feedback"
26import component_test from "./component_test"
27import { useTheme } from "../common"
28
29export default function app(): any {
30    const theme = useTheme()
31
32    return {
33        meta: {
34            name: theme.name,
35            is_light: theme.is_light,
36        },
37        command_palette: command_palette(),
38        contact_notification: contact_notification(),
39        project_shared_notification: project_shared_notification(),
40        incoming_call_notification: incoming_call_notification(),
41        picker: picker(),
42        workspace: workspace(),
43        titlebar: titlebar(),
44        copilot: copilot(),
45        welcome: welcome(),
46        context_menu: context_menu(),
47        editor: editor(),
48        project_diagnostics: project_diagnostics(),
49        project_panel: project_panel(),
50        collab_panel: collab_panel(),
51        toolbar_dropdown_menu: toolbar_dropdown_menu(),
52        search: search(),
53        shared_screen: shared_screen(),
54        update_notification: update_notification(),
55        simple_message_notification: simple_message_notification(),
56        tooltip: tooltip(),
57        terminal: terminal(),
58        assistant: assistant(),
59        feedback: feedback(),
60        chat_panel: chat_panel(),
61        notification_panel: notification_panel(),
62        component_test: component_test(),
63    }
64}