AIChatPanel

A specialized chat panel designed to be connected to a remote AI service (OpenAI, Google Gemini etc.). Adds additional preconfigured menu options to configure the AI behavior & characteristics.

Configs

118

Common

listenersEvents

Other

Set to true to always read aloud received messages. Set to false to not read aloud responses to recorded messages. Defaults to audio-input which reads received messages aloud if they are a response to a local audio message.

Configure with a function that takes a string and returns a formatted string which will be rendered as message content. Defaults to a built-in simple Markdown parser.

ParameterTypeDescription
unformattedTextString
Returns: String -

formattedText

Set to true to show an icon which displays the confidence level supplied by the AI.

Set to true to show an icon which reads the message back to the user.

Set to true to show a button in the message field which starts and stops microphone recording

avatarChatPanelMixin
bubbleToolsChatPanelMixin
columnWidget
defaultFocusContainer
drawerPanel
introChatPanelMixin
labelPositionContainer
messagesChatPanelMixin
renditionContainer
rtlRTL
showTimestampChatPanelMixin
spanWidget

Accessibility

ariaLabelWidget
keyMapKeyMap

Content

bbarPanel
defaultsContainer
footerPanel
headerPanel
itemsContainer
lazyItemsContainer
namedItemsContainer
stripsPanel
tbarPanel
textContentContainer
toolsPanel

CSS

bodyClsPanel
borderContainer
clsWidget
colorWidget
htmlClsWidget
itemClsContainer
styleWidget
uiPanel

DOM

adoptWidget
appendToWidget
contentWidget
datasetWidget
htmlWidget
idWidget
tagWidget

Float & align

alignWidget
anchorWidget
centeredWidget
draggableWidget
floatingWidget
xWidget
yWidget

Layout

alignSelfWidget
dockWidget
flexWidget
heightWidget
hiddenWidget
hideWhenEmptyContainer
layoutContainer
layoutStyleContainer
marginWidget
maxHeightWidget
maxWidthWidget
minHeightWidget
minWidthWidget
textAlignWidget
weightWidget
widthWidget

misc

tabBarItemsContainer

Misc

dataFieldWidget
disabledWidget
iconPanel
localeClassLocalizable
localizableLocalizable
maskedWidget
ownerWidget
readOnlyWidget
refWidget
rippleWidget
tabWidget
titlePanel
tooltipWidget

Record

recordContainer

Scrolling

State

stateIdState

Properties

104

Other

Set to true to always read aloud received messages. Set to false to not read aloud responses to recorded messages. Defaults to audio-input which reads received messages aloud if they are a response to a local audio message.

Set to true to show an icon which displays the confidence level supplied by the AI.

Set to true to show an icon which reads the message back to the user.

Set to true to show a button in the message field which starts and stops microphone recording

$namestaticWidget
avatarChatPanelMixin
bubbleToolsChatPanelMixin
columnWidget
firstItemContainer
hasChangesContainer
introChatPanelMixin
isValidContainer
itemsContainer
labelPositionContainer
lastItemContainer
messagesChatPanelMixin
renditionContainer
rtlRTL
showTimestampChatPanelMixin
spanWidget
storeChatPanelMixin
toolsPanel
typestaticWidget
valuesContainer

Accessibility

keyMapKeyMap

Class hierarchy

isChatPanelChatPanel
isChatPanelMixinChatPanelMixin
isContainerContainer
isDelayableDelayable
isEventsEvents
isKeyMapKeyMap
isLocalizableLocalizable
isPanelPanel
isStateState
isToolableToolable
isWidgetWidget

Content

bbarPanel
tbarPanel

CSS

clsWidget

DOM

appendToWidget
contentWidget
datasetWidget
elementWidget
htmlWidget
idWidget
styleWidget

Float & align

xWidget
yWidget

Layout

alignSelfWidget
flexWidget
heightWidget
layoutContainer
layoutStyleContainer
marginWidget
maxHeightWidget
maxWidthWidget
minHeightWidget
minWidthWidget
widthWidget

Lifecycle

configBase

Misc

cellInfoWidget
disabledWidget
localeHelperLocalizable
localeManagerLocalizable
readOnlyWidget
refWidget
tabWidget
titlePanel
tooltipWidget

Record

recordContainer

State

stateState

Visibility

hiddenWidget
isVisibleWidget

Widget hierarchy

ownerWidget
parentWidget
widgetMapContainer

Functions

75

Configuration

applyDefaultsstaticBase

Events

Float & align

alignToWidget
setXYWidget
showByWidget
toFrontWidget

Lifecycle

createstaticWidget
destroystaticBase
initClassstaticWidget

Misc

attachTooltipstaticWidget
fromElementstaticWidget
fromSelectorstaticWidget
getByIdstaticWidget
isOfTypeNamestaticBase
mixinstaticBase
optionalLstaticLocalizable

Other

addContainer
addMessageChatPanelMixin
composeWidget
createOnFrameDelayable
disableWidget
enableWidget
focusWidget
getAtContainer
getWidgetByIdContainer
insertContainer
LstaticLocalizable
maskWidget
onEvents
recomposeWidget
relayAllEvents
removeContainer
removeAllContainer
resetValuesContainer
setValuesContainer
triggerEvents
unEvents
unmaskWidget

State

Visibility

hideWidget
showWidget

Widget hierarchy

closestWidget
containsWidget
ownsWidget
queryWidget
queryAllWidget
upWidget

Events

23
bubbleToolClickChatPanelMixin
catchAllEvents
destroyEvents
expandPanel
focusInWidget
focusOutWidget
hideWidget
localMessageChatPanelMixin
paintWidget
readOnlyWidget
recomposeWidget
resizeWidget
showWidget

Event handlers

23

Typedefs

7

CSS variables

52

Inherited