2024-01-18 19:50:37 +00:00
|
|
|
#include ui/chat-interface.js
|
|
|
|
|
|
|
|
// this needs revising at some point but will suffice for now
|
2024-07-01 21:38:07 +00:00
|
|
|
Umi.UI.ChatLayout = function(chatForm, sideBar) {
|
|
|
|
const main = new Umi.UI.ChatInterface(chatForm);
|
2025-02-20 20:49:09 +00:00
|
|
|
const element = $element('div', { id: 'umi-chat', className: 'umi' }, main, sideBar);
|
2024-01-18 19:50:37 +00:00
|
|
|
|
|
|
|
return {
|
2025-02-20 20:49:09 +00:00
|
|
|
get interface() { return main; },
|
|
|
|
get element() { return element; },
|
2024-01-18 19:50:37 +00:00
|
|
|
};
|
|
|
|
};
|