Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
* inaccessible by keyboard or screen reader.
*
* @author Vaadin Ltd
* @since 1.0
*/
@Tag("vaadin-accordion")
@NpmPackage(value = "@vaadin/accordion", version = "25.2.0")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@

/**
* An accordion panel which could be opened or closed.
*
* @since 1.0
*/
@Tag("vaadin-accordion-panel")
@NpmPackage(value = "@vaadin/accordion", version = "25.2.0")
Expand Down Expand Up @@ -51,6 +53,7 @@ public AccordionPanel() {
* @param summary
* the summary component to set.
* @see #setSummaryText(String)
* @since 23.1
*/
public AccordionPanel(String summary) {
this();
Expand All @@ -63,6 +66,7 @@ public AccordionPanel(String summary) {
* @param summary
* the summary component to set.
* @see #setSummary(Component)
* @since 23.1
*/
public AccordionPanel(Component summary) {
this();
Expand Down Expand Up @@ -104,6 +108,7 @@ public AccordionPanel(Component summary, Component content) {
*
* @see #setSummaryText(String)
* @see #add(Component...)
* @since 23.1
*/
public AccordionPanel(String summary, Component... components) {
this(summary);
Expand All @@ -121,6 +126,7 @@ public AccordionPanel(String summary, Component... components) {
*
* @see #setSummary(Component)
* @see #add(Component...)
* @since 23.1
*/
public AccordionPanel(Component summary, Component... components) {
this(summary);
Expand All @@ -131,6 +137,7 @@ public AccordionPanel(Component summary, Component... components) {
* Creates the summary container component.
*
* @return the summary container
* @since 24.0
*/
protected Component createSummaryContainer() {
return new AccordionHeading();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
* features without activating the associated feature flag first.
*
* @author Vaadin Ltd
* @since 25.1
*/
public class AIComponentsExperimentalFeatureException extends RuntimeException {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
* AIOrchestrator, modular upload components, and MessageListItem attachments.
*
* @author Vaadin Ltd
* @since 25.1
*/
public class AIComponentsFeatureFlagProvider implements FeatureFlagProvider {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@
* @see ChartState
* @see DataConverter
* @see DatabaseProviderAITools
* @since 25.2
*/
public class ChartAIController implements AIController {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
* </p>
*
* @author Vaadin Ltd
* @since 25.2
*/
public final class ChartAITools {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
* {@link Configuration} object.
*
* @author Vaadin Ltd
* @since 25.2
*/
public final class ChartConfigurationParser implements Serializable {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
* (standalone chart, dashboard) share the same rendering logic.
*
* @author Vaadin Ltd
* @since 25.2
*/
public final class ChartRenderer implements Serializable {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
* @param configuration
* the chart configuration
* @author Vaadin Ltd
* @since 25.2
*/
public record ChartState(List<String> queries,
Configuration configuration) implements Serializable {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
* </p>
*
* @author Vaadin Ltd
* @since 25.2
*/
public final class ColumnNames implements Serializable {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
* </p>
*
* @author Vaadin Ltd
* @since 25.2
*/
public final class ConfigurationKeys implements Serializable {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
*
* @author Vaadin Ltd
* @see DefaultDataConverter
* @since 25.2
*/
public interface DataConverter extends Serializable {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@
*
* @author Vaadin Ltd
* @see ColumnNames
* @since 25.2
*/
public class DefaultDataConverter implements DataConverter {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@
* <p>
* Invoked automatically during the Maven build via {@code exec-maven-plugin}.
* The output is consumed by {@link PlotOptionsSchema} at runtime.
*
* @since 25.2
*/
public final class PlotOptionsSchemaGenerator {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
* @param data
* the raw file data, not {@code null}
* @author Vaadin Ltd
* @since 25.1
*/
public record AIAttachment(String name, String mimeType,
byte[] data) implements Serializable {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
* Supported content type categories for attachments.
* <p>
* Intended only for internal use and can be removed in the future.
*
* @since 25.1
*/
public enum AttachmentContentType {
/** Image content types (image/*). */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
* @param time
* the timestamp when the message was created; may be {@code null}
* @author Vaadin Ltd
* @since 25.1
*/
public record ChatMessage(Role role, String content, String messageId,
Instant time) implements Serializable {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
* the field's value at the end of the turn, possibly {@code null}
*
* @author Vaadin Ltd
* @since 25.2
*/
public record FieldValueChange(HasValue<?, ?> field, Object oldValue,
Object newValue) implements Serializable {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@
* </p>
*
* @author Vaadin Ltd
* @since 25.2
*/
public class FormAIController implements AIController {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
* multi-select fields
*
* @author Vaadin Ltd
* @since 25.2
*/
public final class ValueOptions<I> {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
* @author Vaadin Ltd
* @see GridAIController
* @see GridRenderer
* @since 25.2
*/
public final class AIDataRow implements Serializable {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@
* @see GridRenderer
* @see GridState
* @see DatabaseProviderAITools
* @since 25.2
*/
public class GridAIController implements AIController {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
* </p>
*
* @author Vaadin Ltd
* @since 25.2
*/
public final class GridAITools {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
*
* @author Vaadin Ltd
* @see GridAIController
* @since 25.2
*/
public final class GridRenderer implements Serializable {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
* @param query
* the SQL query that populates the grid
* @author Vaadin Ltd
* @since 25.2
*/
public record GridState(String query) implements Serializable {
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
* </p>
*
* @author Vaadin Ltd
* @since 25.2
*/
public interface AIController {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@
* </p>
*
* @author Vaadin Ltd
* @since 25.1
*/
public class AIOrchestrator implements Serializable {

Expand Down Expand Up @@ -293,6 +294,7 @@ public void prompt(String userMessage) {
* if no UI context is available, or if the orchestrator needs
* to be reconnected after deserialization (see
* {@link #reconnect(LLMProvider)})
* @since 25.2
*/
public void prompt(String userMessage, List<AIAttachment> attachments) {
Objects.requireNonNull(attachments, "attachments cannot be null");
Expand Down Expand Up @@ -805,6 +807,7 @@ public Reconnector withTools(Object... tools) {
* @return this reconnector
* @throws IllegalArgumentException
* if any tool name is invalid
* @since 25.2
*/
public Reconnector withController(AIController controller) {
Objects.requireNonNull(controller, "Controller cannot be null");
Expand Down Expand Up @@ -1102,6 +1105,7 @@ public Builder withTools(Object... tools) {
* if controller is {@code null}
* @throws IllegalArgumentException
* if any tool name is invalid
* @since 25.2
*/
public Builder withController(AIController controller) {
Objects.requireNonNull(controller, "Controller cannot be null");
Expand Down Expand Up @@ -1167,6 +1171,7 @@ public Builder withAssistantName(String assistantName) {
* @param listener
* the listener to call on each prompt
* @return this builder
* @since 25.2
*/
public Builder withRequestListener(RequestListener listener) {
warnIfAlreadySet(this.requestListener, "Request listener");
Expand Down Expand Up @@ -1227,6 +1232,7 @@ public Builder withAttachmentClickListener(
* @param listener
* the listener to call after each exchange
* @return this builder
* @since 25.2
*/
public Builder withResponseListener(ResponseListener listener) {
warnIfAlreadySet(this.responseListener, "Response listener");
Expand Down Expand Up @@ -1265,6 +1271,7 @@ public Builder withResponseListener(ResponseListener listener) {
* supplier of the per-turn context string, or {@code null}
* to disable session context entirely
* @return this builder
* @since 25.2
*/
public Builder withMetadata(
SerializableSupplier<String> contextSupplier) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@

/**
* Listener for attachment click events.
*
* @since 25.1
*/
@FunctionalInterface
public interface AttachmentClickListener extends Serializable {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@
* <b>Threading:</b> the listener is called on the UI thread under the session
* lock. Long-running work should be offloaded to a worker; UI updates do not
* need an extra {@code ui.access(...)} hop.
*
* @since 25.2
*/
@FunctionalInterface
public interface RequestListener extends Serializable {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@
* <b>Threading:</b> the listener is called from a background thread (Reactor
* scheduler). Blocking I/O (e.g. database writes) is safe directly. To update
* Vaadin UI components from this listener, use {@code ui.access()}.
*
* @since 25.2
*/
@FunctionalInterface
public interface ResponseListener extends Serializable {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@
* </pre>
*
* @author Vaadin Ltd
* @since 25.2
*/
public interface DatabaseProvider extends Serializable {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
* {@link DatabaseProvider}.
*
* @author Vaadin Ltd
* @since 25.2
*/
public final class DatabaseProviderAITools {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
* </pre>
*
* @author Vaadin Ltd.
* @since 25.1
*/
public interface LLMProvider {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@
* </p>
*
* @author Vaadin Ltd
* @since 25.1
*/
public class LangChain4JLLMProvider implements LLMProvider {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@
* </p>
*
* @author Vaadin Ltd
* @since 25.1
*/
public class SpringAILLMProvider implements LLMProvider {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
* Interface for file upload components that are used in an AI conversation.
*
* @author Vaadin Ltd
* @since 25.1
*/
public interface AIFileReceiver extends Serializable {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
* Interface for input components that are used in an AI conversation.
*
* @author Vaadin Ltd
* @since 25.1
*/
public interface AIInput extends Serializable {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
*
* @author Vaadin Ltd
* @see AIMessageList
* @since 25.1
*/
public interface AIMessage extends Serializable {

Expand Down
Loading
Loading