File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
src/main/java/com/flowingcode/vaadin/addons/chatassistant Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 133133 <artifactId >markdown-editor-addon</artifactId >
134134 <version >${markdown-editor.version} </version >
135135 </dependency >
136+ <dependency >
137+ <groupId >com.flowingcode.vaadin</groupId >
138+ <artifactId >json-migration-helper</artifactId >
139+ <version >0.0.1-SNAPSHOT</version >
140+ </dependency >
136141 <dependency >
137142 <groupId >org.projectlombok</groupId >
138143 <artifactId >lombok</artifactId >
Original file line number Diff line number Diff line change 2121package com .flowingcode .vaadin .addons .chatassistant ;
2222
2323import com .flowingcode .vaadin .addons .chatassistant .model .Message ;
24+ import com .flowingcode .vaadin .jsonmigration .JsonMigration ;
2425import com .vaadin .flow .component .ClickNotifier ;
2526import com .vaadin .flow .component .Component ;
2627import com .vaadin .flow .component .ComponentEventListener ;
4950import java .util .ArrayList ;
5051import java .util .List ;
5152import java .util .Objects ;
53+ import lombok .experimental .ExtensionMethod ;
5254
5355/**
5456 * Component that allows to create a floating chat button that will open a chat window that can be
6668@ JsModule ("./fcChatAssistantConnector.js" )
6769@ Tag ("animated-fab" )
6870@ CssImport ("./styles/chat-assistant-styles.css" )
71+ @ ExtensionMethod (value = JsonMigration .class , suppressBaseMethods = true )
6972public class ChatAssistant <T extends Message > extends ReactAdapterComponent implements ClickNotifier <ChatAssistant <T >> {
7073
7174 private static final String CHAT_HEADER_CLASS_NAME = "chat-header" ;
You can’t perform that action at this time.
0 commit comments