File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed
AIAndChatbotIntegration/Vue
FileManager/UICustomization/Vue Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -124,7 +124,10 @@ function renderAssistantMessage(text: string): void {
124124 dataSource .store ().push ([{ type: ' insert' , data: message }]);
125125}
126126
127- async function processMessageSending(message : DxChatTypes .TextMessage , event : Events .EventObject | undefined ): Promise <void > {
127+ async function processMessageSending(
128+ message : DxChatTypes .TextMessage ,
129+ event : Events .EventObject | undefined
130+ ): Promise <void > {
128131 toggleDisabledState (true , event );
129132
130133 messages .push ({ role: ' user' , content: message .text });
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ export const supportAgent = {
1818 avatarUrl : '../../../../images/petersmith.png' ,
1919} ;
2020
21- export const messages : Array < DxChatTypes . Message > = [
21+ export const messages : DxChatTypes . Message [ ] = [
2222 {
2323 timestamp : getTimestamp ( date , - 9 ) ,
2424 author : supportAgent ,
Original file line number Diff line number Diff line change @@ -119,7 +119,10 @@ function onItemClick(
119119 }
120120}
121121
122- function createFile(fileExtension : string , directory : any = fileManager .value .instance .getCurrentDirectory ()) {
122+ function createFile(
123+ fileExtension : string ,
124+ directory : any = fileManager .value .instance .getCurrentDirectory ()
125+ ) {
123126 const newItem = {
124127 __KEY__: Date .now (),
125128 name: ` New file${fileExtension } ` ,
You can’t perform that action at this time.
0 commit comments