@carbon/ai-chat 1.3.0-rc.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/aiChatEntry.js +1 -1
- package/dist/es/chat.ChatAppEntry.js +205 -104
- package/dist/es/chat.ChatAppEntry.js.map +1 -1
- package/dist/es/chat.PageObjectId.js +7 -1
- package/dist/es/chat.PageObjectId.js.map +1 -1
- package/dist/es/serverEntry.js +1 -1
- package/dist/es-custom/aiChatEntry.js +1 -1
- package/dist/es-custom/chat.ChatAppEntry.js +205 -104
- package/dist/es-custom/chat.ChatAppEntry.js.map +1 -1
- package/dist/es-custom/chat.PageObjectId.js +7 -1
- package/dist/es-custom/chat.PageObjectId.js.map +1 -1
- package/dist/es-custom/serverEntry.js +1 -1
- package/dist/types/aiChatEntry.d.ts +2 -2
- package/dist/types/{serverEntry-BN03ML3a.d.ts → serverEntry-BMoPx5K4.d.ts} +87 -26
- package/dist/types/serverEntry.d.ts +1 -1
- package/package.json +3 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { B as BusEventType, g as ButtonItemKind, h as ButtonItemType, b as CancellationReason, c as CarbonTheme, n as ChainOfThoughtStepStatus, C as CornersType, E as ErrorType, F as FeedbackInteractionType, f as FileStatusValue, m as HumanAgentMessageType, H as HumanAgentsOnlineStatus, I as IFrameItemDisplayOption, o as MessageErrorState, i as MessageInputType, j as MessageResponseTypes, M as MessageSendSource, d as MinimizeButtonIconType, O as OnErrorType, k as OptionItemPreference,
|
|
1
|
+
export { B as BusEventType, g as ButtonItemKind, h as ButtonItemType, b as CancellationReason, c as CarbonTheme, n as ChainOfThoughtStepStatus, C as CornersType, E as ErrorType, F as FeedbackInteractionType, f as FileStatusValue, m as HumanAgentMessageType, H as HumanAgentsOnlineStatus, I as IFrameItemDisplayOption, o as MessageErrorState, i as MessageInputType, j as MessageResponseTypes, M as MessageSendSource, d as MinimizeButtonIconType, O as OnErrorType, k as OptionItemPreference, p as PageObjectId, P as PanelType, S as ScreenShareState, U as UserType, a as ViewChangeReason, V as ViewType, l as WidthOptions, W as WriteableElementName, e as enLanguagePack } from "./chat.PageObjectId.js";
|
|
2
2
|
|
|
3
3
|
var LayoutCustomProperties;
|
|
4
4
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as ChatContainerProps, B as BusEventViewPreChange, a as ChatInstance, b as BusEventViewChange } from './serverEntry-
|
|
2
|
-
export {
|
|
1
|
+
import { C as ChatContainerProps, B as BusEventViewPreChange, a as ChatInstance, b as BusEventViewChange } from './serverEntry-BMoPx5K4.js';
|
|
2
|
+
export { ay as AdditionalDataToAgent, az as AgentAvailability, aV as AudioItem, aQ as BaseGenericItem, aW as BaseMessageInput, v as BusEvent, K as BusEventChatReady, M as BusEventChunkUserDefinedResponse, O as BusEventClosePanelButtonClicked, Q as BusEventCustomPanelClose, R as BusEventCustomPanelOpen, U as BusEventCustomPanelPreClose, X as BusEventCustomPanelPreOpen, Y as BusEventFeedback, Z as BusEventHistoryBegin, _ as BusEventHistoryEnd, w as BusEventHumanAgentAreAnyAgentsOnline, x as BusEventHumanAgentEndChat, y as BusEventHumanAgentPreEndChat, z as BusEventHumanAgentPreReceive, A as BusEventHumanAgentPreSend, G as BusEventHumanAgentPreStartChat, H as BusEventHumanAgentReceive, J as BusEventHumanAgentSend, $ as BusEventMessageItemCustom, a0 as BusEventPreReceive, a1 as BusEventPreReset, a2 as BusEventPreSend, a3 as BusEventReceive, a4 as BusEventReset, a5 as BusEventSend, a6 as BusEventType, a7 as BusEventUserDefinedResponse, aX as ButtonItem, aY as ButtonItemKind, aZ as ButtonItemType, af as CancellationReason, ai as CarbonTheme, a_ as CardItem, a$ as CarouselItem, bX as CdsAiChatContainerAttributes, bY as CdsAiChatCustomElementAttributes, bJ as ChainOfThoughtStep, bK as ChainOfThoughtStepStatus, j as ChangeFunction, e as ChatHeaderConfig, k as ChatInstanceInput, ag as ChatInstanceMessaging, l as ChatInstanceNotifications, m as ChatInstanceServiceDeskActions, b0 as Chunk, b1 as CompleteItemChunk, b2 as ConnectToHumanAgentItem, b3 as ConnectToHumanAgentItemTransferInfo, aB as ConnectingErrorInfo, b4 as ConversationalSearchItem, b5 as ConversationalSearchItemCitation, u as CornersType, aj as CustomMenuOption, f as CustomPanelConfigOptions, g as CustomPanelInstance, i as CustomPanelOpenOptions, h as CustomPanels, ah as CustomSendMessageOptions, b6 as DateItem, aw as DeepPartial, D as DefaultCustomPanelConfigOptions, ak as DisclaimerPublicConfig, aC as DisconnectedErrorInfo, aD as EndChatInfo, aE as ErrorType, E as EventBusHandler, n as EventHandlers, b7 as EventInput, b8 as EventInputData, a8 as FeedbackInteractionType, aF as FileStatusValue, aG as FileUpload, F as FileUploadCapabilities, b9 as FinalResponseChunk, ba as GenericItem, bb as GenericItemMessageFeedbackCategories, bL as GenericItemMessageFeedbackOptions, bM as GenericItemMessageOptions, bc as GridItem, am as HeaderConfig, bT as HistoryItem, ab as HomeScreenConfig, ac as HomeScreenStarterButton, ad as HomeScreenStarterButtons, ae as HomeScreenState, bd as HorizontalCellAlignment, bI as HumanAgentMessageType, aA as HumanAgentsOnlineStatus, be as IFrameItem, bf as IFrameItemDisplayOption, bg as ImageItem, I as IncreaseOrDecrease, bh as InlineErrorItem, an as InputConfig, bi as ItemStreamingMetadata, ao as LanguagePack, bV as LauncherCallToActionConfig, bW as LauncherConfig, ap as LayoutConfig, L as LayoutCustomProperties, bn as MediaFileAccessibility, bj as MediaItem, bk as MediaItemDimensions, bl as MediaSubtitleTrack, bm as MediaTranscript, bN as Message, bU as MessageErrorState, bQ as MessageHistoryFeedback, bo as MessageInput, bp as MessageInputType, bq as MessageItemPanelInfo, br as MessageOutput, bs as MessageRequest, aT as MessageRequestHistory, bt as MessageResponse, aS as MessageResponseHistory, aR as MessageResponseOptions, bu as MessageResponseTypes, a9 as MessageSendSource, aq as MinimizeButtonIconType, N as NotificationMessage, ax as ObjectMap, ar as OnErrorData, as as OnErrorType, bv as OptionItem, bw as OptionItemPreference, c0 as PageObjectId, P as PanelType, bx as PartialItemChunk, bO as PartialOrCompleteItemChunk, bP as PartialResponse, by as PauseItem, av as PersistedHumanAgentState, d as PersistedState, r as PublicChatHumanAgentState, s as PublicChatState, at as PublicConfig, au as PublicConfigMessaging, p as PublicCustomPanelsState, q as PublicDefaultCustomPanelState, o as PublicInputState, bZ as RenderUserDefinedResponse, b_ as RenderUserDefinedState, b$ as RenderWriteableElementResponse, aU as ResponseUserProfile, aH as ScreenShareState, bR as SearchResult, S as SendOptions, aI as ServiceDesk, aJ as ServiceDeskCallback, aK as ServiceDeskCapabilities, aL as ServiceDeskErrorInfo, aM as ServiceDeskFactoryParameters, aN as ServiceDeskPublicConfig, bH as SingleOption, aO as StartChatOptions, bz as StreamChunk, c1 as TestId, bA as TextItem, T as TypeAndHandler, bB as UserDefinedItem, aP as UserMessageErrorInfo, bS as UserType, bC as VerticalCellAlignment, bD as VideoItem, aa as ViewChangeReason, V as ViewState, c as ViewType, bE as WidthOptions, bF as WithBodyAndFooter, bG as WithWidthOptions, W as WriteableElementName, t as WriteableElements, al as enLanguagePack } from './serverEntry-BMoPx5K4.js';
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import '@carbon/web-components/es/components/notification/defs.js';
|
|
5
5
|
import '@carbon/web-components/es/components/button/defs.js';
|
|
@@ -69,6 +69,17 @@ declare enum ViewType {
|
|
|
69
69
|
*/
|
|
70
70
|
MAIN_WINDOW = "mainWindow"
|
|
71
71
|
}
|
|
72
|
+
/**
|
|
73
|
+
* Describes the different panel types that Carbon AI Chat supports.
|
|
74
|
+
*
|
|
75
|
+
* @category Instance
|
|
76
|
+
*/
|
|
77
|
+
declare enum PanelType {
|
|
78
|
+
/**
|
|
79
|
+
* Opens the panel so that it overlays the main chat content.
|
|
80
|
+
*/
|
|
81
|
+
DEFAULT = "default"
|
|
82
|
+
}
|
|
72
83
|
/**
|
|
73
84
|
* This manager handles fetching an instance for manipulating the custom panel.
|
|
74
85
|
*
|
|
@@ -78,7 +89,7 @@ interface CustomPanels {
|
|
|
78
89
|
/**
|
|
79
90
|
* Gets a custom panel instance.
|
|
80
91
|
*/
|
|
81
|
-
getPanel: () => CustomPanelInstance;
|
|
92
|
+
getPanel: (panel?: PanelType) => CustomPanelInstance;
|
|
82
93
|
}
|
|
83
94
|
/**
|
|
84
95
|
* The custom panel instance for controlling and manipulating a custom panel in Carbon AI Chat.
|
|
@@ -95,69 +106,104 @@ interface CustomPanelInstance {
|
|
|
95
106
|
*
|
|
96
107
|
* @param options Custom panel options.
|
|
97
108
|
*/
|
|
98
|
-
open: (options?:
|
|
109
|
+
open: (options?: CustomPanelOpenOptions) => void;
|
|
99
110
|
/**
|
|
100
111
|
* Closes the custom panel.
|
|
101
112
|
*/
|
|
102
113
|
close: () => void;
|
|
103
114
|
}
|
|
104
115
|
/**
|
|
105
|
-
*
|
|
106
|
-
* {@link
|
|
107
|
-
*
|
|
108
|
-
* Any options specific to either the BasePanelComponent or CustomPanelConfigOptions should be added to the respective
|
|
109
|
-
* interface.
|
|
116
|
+
* Options that change how the custom panel looks. When a header is shown, it inherits styling and behavior from the
|
|
117
|
+
* configured {@link HeaderConfig} (title, assistant name, AI slug, minimize button style, overflow menu, etc.) unless
|
|
118
|
+
* explicitly overridden below.
|
|
110
119
|
*
|
|
111
120
|
* @category Instance
|
|
121
|
+
*
|
|
122
|
+
* @deprecated Use {@link DefaultCustomPanelConfigOptions} for default panels.
|
|
123
|
+
*
|
|
112
124
|
*/
|
|
113
|
-
interface
|
|
125
|
+
interface CustomPanelConfigOptions {
|
|
114
126
|
/**
|
|
115
|
-
* The panel title
|
|
127
|
+
* The panel title displayed in the custom panel header. Left blank by default which causes the configured chat header
|
|
128
|
+
* title/name to be shown instead. When a back button is visible the inherited header stays on screen above the panel
|
|
129
|
+
* so this title acts like a breadcrumb; when the back button is hidden, the header fills the panel chrome and this
|
|
130
|
+
* title becomes the primary heading within the overlay.
|
|
116
131
|
*/
|
|
117
132
|
title?: string;
|
|
118
133
|
/**
|
|
119
|
-
* Indicates if the close button in the custom panel should be hidden.
|
|
134
|
+
* Indicates if the close/minimize button in the custom panel should be hidden.
|
|
120
135
|
*/
|
|
121
136
|
hideCloseButton?: boolean;
|
|
122
137
|
/**
|
|
123
|
-
* Indicates if the panel header should be hidden.
|
|
138
|
+
* Indicates if the panel header should be hidden. Hiding the header removes the inherited title, AI slug, minimize
|
|
139
|
+
* button, and back button chrome entirely. Leave this undefined to animate the panel in with the standard header; set
|
|
140
|
+
* it to true when you need a chrome-free experience (for example, when the panel content provides its own close
|
|
141
|
+
* controls or you want the panel to cover the chat header without animating the header into view).
|
|
124
142
|
*/
|
|
125
143
|
hidePanelHeader?: boolean;
|
|
126
144
|
/**
|
|
127
|
-
* Indicates if the back button in the custom panel should be hidden.
|
|
145
|
+
* Indicates if the back button in the custom panel should be hidden. When {@link hidePanelHeader} is true, the back
|
|
146
|
+
* button is hidden automatically. When the back button is visible the panel opens beneath the chat header so users
|
|
147
|
+
* can always access the assistant-level header controls while the panel is active.
|
|
128
148
|
*/
|
|
129
149
|
hideBackButton?: boolean;
|
|
130
150
|
/**
|
|
131
|
-
*
|
|
132
|
-
*
|
|
151
|
+
* Called when the header's close/minimize button is clicked. By default Carbon AI Chat will run its normal close
|
|
152
|
+
* behavior (which collapses the experience) before this callback fires; set {@link disableDefaultCloseAction} to true
|
|
153
|
+
* if you plan to intercept the event and manage closing yourself. The callback still fires even when the default
|
|
154
|
+
* action is disabled.
|
|
133
155
|
*/
|
|
134
156
|
onClickClose?: () => void;
|
|
135
157
|
/**
|
|
136
|
-
* Called when the restart button is clicked.
|
|
158
|
+
* Called when the restart button in the header is clicked. Use this to trigger a conversation reset or your own
|
|
159
|
+
* telemetry when the restart control is surfaced.
|
|
137
160
|
*/
|
|
138
161
|
onClickRestart?: () => void;
|
|
139
162
|
/**
|
|
140
|
-
*
|
|
163
|
+
* Called after the header's back button is clicked. The panel automatically closes before this callback is invoked,
|
|
164
|
+
* so you can safely run follow-up logic or analytics once the panel has been dismissed.
|
|
141
165
|
*/
|
|
142
166
|
onClickBack?: () => void;
|
|
167
|
+
/**
|
|
168
|
+
* Determines if the panel open/close animation should be turned off.
|
|
169
|
+
*/
|
|
170
|
+
disableAnimation?: boolean;
|
|
171
|
+
/**
|
|
172
|
+
* Disables the default action that is taken when the close button is clicked. Normally clicking the close/minimize
|
|
173
|
+
* button will run Carbon AI Chat's standard close routine (after verifying no view change is in progress). Set this
|
|
174
|
+
* to true when you want to keep the experience open or handle closing asynchronously; you'll need to perform the
|
|
175
|
+
* desired close work inside {@link onClickClose}.
|
|
176
|
+
*/
|
|
177
|
+
disableDefaultCloseAction?: boolean;
|
|
143
178
|
}
|
|
144
179
|
/**
|
|
145
|
-
* Options
|
|
180
|
+
* Options supported by the default custom panel implementation.
|
|
146
181
|
*
|
|
147
|
-
* @
|
|
182
|
+
* When {@link hideBackButton} is set to true, any {@link title} value defined here will override the title/name in
|
|
183
|
+
* the main chat header.
|
|
148
184
|
*/
|
|
149
|
-
interface
|
|
185
|
+
interface DefaultCustomPanelConfigOptions {
|
|
150
186
|
/**
|
|
151
|
-
*
|
|
187
|
+
* The panel title displayed in the custom panel header. When a back button is visible the inherited header remains
|
|
188
|
+
* on screen above the panel so this title acts like a breadcrumb; when the back button is hidden, the header fills
|
|
189
|
+
* the panel chrome and this title becomes the primary heading within the overlay.
|
|
190
|
+
*/
|
|
191
|
+
title?: string;
|
|
192
|
+
/**
|
|
193
|
+
* Determines if the panel open/close animation should be turned off. By default, the panel will animate up from the
|
|
194
|
+
* bottom of the chat window.
|
|
152
195
|
*/
|
|
153
196
|
disableAnimation?: boolean;
|
|
154
197
|
/**
|
|
155
|
-
*
|
|
156
|
-
* action closes Carbon AI Chat and disabling this will cause the button to not do anything. You can override the button
|
|
157
|
-
* behavior by using the {@link onClickClose} callback.
|
|
198
|
+
* Indicates if the back button in the custom panel should be hidden.
|
|
158
199
|
*/
|
|
159
|
-
|
|
200
|
+
hideBackButton?: boolean;
|
|
160
201
|
}
|
|
202
|
+
/**
|
|
203
|
+
* Options accepted by {@link CustomPanelInstance.open}. Legacy consumers may continue to pass
|
|
204
|
+
* {@link CustomPanelConfigOptions} until the next major release.
|
|
205
|
+
*/
|
|
206
|
+
type CustomPanelOpenOptions = CustomPanelConfigOptions | DefaultCustomPanelConfigOptions;
|
|
161
207
|
|
|
162
208
|
/*
|
|
163
209
|
* Copyright IBM Corp. 2025
|
|
@@ -3054,6 +3100,17 @@ interface PublicInputState {
|
|
|
3054
3100
|
*/
|
|
3055
3101
|
rawValue: string;
|
|
3056
3102
|
}
|
|
3103
|
+
/**
|
|
3104
|
+
* Represents public state for each supported custom panel variant.
|
|
3105
|
+
*/
|
|
3106
|
+
interface PublicDefaultCustomPanelState {
|
|
3107
|
+
/** Indicates if the default custom panel overlay is currently open. */
|
|
3108
|
+
isOpen: boolean;
|
|
3109
|
+
}
|
|
3110
|
+
interface PublicCustomPanelsState {
|
|
3111
|
+
/** State for the default overlay-style custom panel. */
|
|
3112
|
+
default: PublicDefaultCustomPanelState;
|
|
3113
|
+
}
|
|
3057
3114
|
type PublicChatState = Readonly<Omit<PersistedState, "humanAgentState"> & {
|
|
3058
3115
|
/**
|
|
3059
3116
|
* Current human agent state.
|
|
@@ -3076,6 +3133,10 @@ type PublicChatState = Readonly<Omit<PersistedState, "humanAgentState"> & {
|
|
|
3076
3133
|
* @experimental State representing the main input surface.
|
|
3077
3134
|
*/
|
|
3078
3135
|
input: PublicInputState;
|
|
3136
|
+
/**
|
|
3137
|
+
* @experimental State for any surfaced custom panels.
|
|
3138
|
+
*/
|
|
3139
|
+
customPanels: PublicCustomPanelsState;
|
|
3079
3140
|
}>;
|
|
3080
3141
|
interface ChatInstanceInput {
|
|
3081
3142
|
/**
|
|
@@ -4583,5 +4644,5 @@ declare enum PageObjectId {
|
|
|
4583
4644
|
*/
|
|
4584
4645
|
type TestId = PageObjectId;
|
|
4585
4646
|
|
|
4586
|
-
export { LayoutCustomProperties as L, WriteableElementName as W, BusEventType as
|
|
4587
|
-
export type {
|
|
4647
|
+
export { LayoutCustomProperties as L, PanelType as P, WriteableElementName as W, BusEventType as a6, FeedbackInteractionType as a8, MessageSendSource as a9, HumanAgentsOnlineStatus as aA, ErrorType as aE, FileStatusValue as aF, ScreenShareState as aH, ButtonItemKind as aY, ButtonItemType as aZ, ViewChangeReason as aa, CancellationReason as af, CarbonTheme as ai, enLanguagePack as al, MinimizeButtonIconType as aq, OnErrorType as as, WidthOptions as bE, HumanAgentMessageType as bI, ChainOfThoughtStepStatus as bK, UserType as bS, MessageErrorState as bU, IFrameItemDisplayOption as bf, MessageInputType as bp, MessageResponseTypes as bu, OptionItemPreference as bw, ViewType as c, PageObjectId as c0, CornersType as u };
|
|
4648
|
+
export type { BusEventMessageItemCustom as $, BusEventHumanAgentPreSend as A, BusEventViewPreChange as B, ChatContainerProps as C, DefaultCustomPanelConfigOptions as D, EventBusHandler as E, FileUploadCapabilities as F, BusEventHumanAgentPreStartChat as G, BusEventHumanAgentReceive as H, IncreaseOrDecrease as I, BusEventHumanAgentSend as J, BusEventChatReady as K, BusEventChunkUserDefinedResponse as M, NotificationMessage as N, BusEventClosePanelButtonClicked as O, BusEventCustomPanelClose as Q, BusEventCustomPanelOpen as R, SendOptions as S, TypeAndHandler as T, BusEventCustomPanelPreClose as U, ViewState as V, BusEventCustomPanelPreOpen as X, BusEventFeedback as Y, BusEventHistoryBegin as Z, BusEventHistoryEnd as _, ChatInstance as a, CarouselItem as a$, BusEventPreReceive as a0, BusEventPreReset as a1, BusEventPreSend as a2, BusEventReceive as a3, BusEventReset as a4, BusEventSend as a5, BusEventUserDefinedResponse as a7, ConnectingErrorInfo as aB, DisconnectedErrorInfo as aC, EndChatInfo as aD, FileUpload as aG, ServiceDesk as aI, ServiceDeskCallback as aJ, ServiceDeskCapabilities as aK, ServiceDeskErrorInfo as aL, ServiceDeskFactoryParameters as aM, ServiceDeskPublicConfig as aN, StartChatOptions as aO, UserMessageErrorInfo as aP, BaseGenericItem as aQ, MessageResponseOptions as aR, MessageResponseHistory as aS, MessageRequestHistory as aT, ResponseUserProfile as aU, AudioItem as aV, BaseMessageInput as aW, ButtonItem as aX, CardItem as a_, HomeScreenConfig as ab, HomeScreenStarterButton as ac, HomeScreenStarterButtons as ad, HomeScreenState as ae, ChatInstanceMessaging as ag, CustomSendMessageOptions as ah, CustomMenuOption as aj, DisclaimerPublicConfig as ak, HeaderConfig as am, InputConfig as an, LanguagePack as ao, LayoutConfig as ap, OnErrorData as ar, PublicConfig as at, PublicConfigMessaging as au, PersistedHumanAgentState as av, DeepPartial as aw, ObjectMap as ax, AdditionalDataToAgent as ay, AgentAvailability as az, BusEventViewChange as b, RenderWriteableElementResponse as b$, Chunk as b0, CompleteItemChunk as b1, ConnectToHumanAgentItem as b2, ConnectToHumanAgentItemTransferInfo as b3, ConversationalSearchItem as b4, ConversationalSearchItemCitation as b5, DateItem as b6, EventInput as b7, EventInputData as b8, FinalResponseChunk as b9, TextItem as bA, UserDefinedItem as bB, VerticalCellAlignment as bC, VideoItem as bD, WithBodyAndFooter as bF, WithWidthOptions as bG, SingleOption as bH, ChainOfThoughtStep as bJ, GenericItemMessageFeedbackOptions as bL, GenericItemMessageOptions as bM, Message as bN, PartialOrCompleteItemChunk as bO, PartialResponse as bP, MessageHistoryFeedback as bQ, SearchResult as bR, HistoryItem as bT, LauncherCallToActionConfig as bV, LauncherConfig as bW, CdsAiChatContainerAttributes as bX, CdsAiChatCustomElementAttributes as bY, RenderUserDefinedResponse as bZ, RenderUserDefinedState as b_, GenericItem as ba, GenericItemMessageFeedbackCategories as bb, GridItem as bc, HorizontalCellAlignment as bd, IFrameItem as be, ImageItem as bg, InlineErrorItem as bh, ItemStreamingMetadata as bi, MediaItem as bj, MediaItemDimensions as bk, MediaSubtitleTrack as bl, MediaTranscript as bm, MediaFileAccessibility as bn, MessageInput as bo, MessageItemPanelInfo as bq, MessageOutput as br, MessageRequest as bs, MessageResponse as bt, OptionItem as bv, PartialItemChunk as bx, PauseItem as by, StreamChunk as bz, TestId as c1, PersistedState as d, ChatHeaderConfig as e, CustomPanelConfigOptions as f, CustomPanelInstance as g, CustomPanels as h, CustomPanelOpenOptions as i, ChangeFunction as j, ChatInstanceInput as k, ChatInstanceNotifications as l, ChatInstanceServiceDeskActions as m, EventHandlers as n, PublicInputState as o, PublicCustomPanelsState as p, PublicDefaultCustomPanelState as q, PublicChatHumanAgentState as r, PublicChatState as s, WriteableElements as t, BusEvent as v, BusEventHumanAgentAreAnyAgentsOnline as w, BusEventHumanAgentEndChat as x, BusEventHumanAgentPreEndChat as y, BusEventHumanAgentPreReceive as z };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { ay as AdditionalDataToAgent, az as AgentAvailability, aV as AudioItem, aQ as BaseGenericItem, aW as BaseMessageInput, v as BusEvent, K as BusEventChatReady, M as BusEventChunkUserDefinedResponse, O as BusEventClosePanelButtonClicked, Q as BusEventCustomPanelClose, R as BusEventCustomPanelOpen, U as BusEventCustomPanelPreClose, X as BusEventCustomPanelPreOpen, Y as BusEventFeedback, Z as BusEventHistoryBegin, _ as BusEventHistoryEnd, w as BusEventHumanAgentAreAnyAgentsOnline, x as BusEventHumanAgentEndChat, y as BusEventHumanAgentPreEndChat, z as BusEventHumanAgentPreReceive, A as BusEventHumanAgentPreSend, G as BusEventHumanAgentPreStartChat, H as BusEventHumanAgentReceive, J as BusEventHumanAgentSend, $ as BusEventMessageItemCustom, a0 as BusEventPreReceive, a1 as BusEventPreReset, a2 as BusEventPreSend, a3 as BusEventReceive, a4 as BusEventReset, a5 as BusEventSend, a6 as BusEventType, a7 as BusEventUserDefinedResponse, b as BusEventViewChange, B as BusEventViewPreChange, aX as ButtonItem, aY as ButtonItemKind, aZ as ButtonItemType, af as CancellationReason, ai as CarbonTheme, a_ as CardItem, a$ as CarouselItem, bX as CdsAiChatContainerAttributes, bY as CdsAiChatCustomElementAttributes, bJ as ChainOfThoughtStep, bK as ChainOfThoughtStepStatus, e as ChatHeaderConfig, a as ChatInstance, k as ChatInstanceInput, ag as ChatInstanceMessaging, l as ChatInstanceNotifications, m as ChatInstanceServiceDeskActions, b0 as Chunk, b1 as CompleteItemChunk, b2 as ConnectToHumanAgentItem, b3 as ConnectToHumanAgentItemTransferInfo, aB as ConnectingErrorInfo, b4 as ConversationalSearchItem, b5 as ConversationalSearchItemCitation, u as CornersType, aj as CustomMenuOption, f as CustomPanelConfigOptions, g as CustomPanelInstance, i as CustomPanelOpenOptions, h as CustomPanels, ah as CustomSendMessageOptions, b6 as DateItem, aw as DeepPartial, D as DefaultCustomPanelConfigOptions, ak as DisclaimerPublicConfig, aC as DisconnectedErrorInfo, aD as EndChatInfo, aE as ErrorType, E as EventBusHandler, n as EventHandlers, b7 as EventInput, b8 as EventInputData, a8 as FeedbackInteractionType, aF as FileStatusValue, aG as FileUpload, F as FileUploadCapabilities, b9 as FinalResponseChunk, ba as GenericItem, bb as GenericItemMessageFeedbackCategories, bL as GenericItemMessageFeedbackOptions, bM as GenericItemMessageOptions, bc as GridItem, am as HeaderConfig, bT as HistoryItem, ab as HomeScreenConfig, ac as HomeScreenStarterButton, ad as HomeScreenStarterButtons, ae as HomeScreenState, bd as HorizontalCellAlignment, bI as HumanAgentMessageType, aA as HumanAgentsOnlineStatus, be as IFrameItem, bf as IFrameItemDisplayOption, bg as ImageItem, I as IncreaseOrDecrease, bh as InlineErrorItem, an as InputConfig, bi as ItemStreamingMetadata, ao as LanguagePack, bV as LauncherCallToActionConfig, bW as LauncherConfig, ap as LayoutConfig, L as LayoutCustomProperties, bn as MediaFileAccessibility, bj as MediaItem, bk as MediaItemDimensions, bl as MediaSubtitleTrack, bm as MediaTranscript, bN as Message, bU as MessageErrorState, bQ as MessageHistoryFeedback, bo as MessageInput, bp as MessageInputType, bq as MessageItemPanelInfo, br as MessageOutput, bs as MessageRequest, aT as MessageRequestHistory, bt as MessageResponse, aS as MessageResponseHistory, aR as MessageResponseOptions, bu as MessageResponseTypes, a9 as MessageSendSource, aq as MinimizeButtonIconType, N as NotificationMessage, ax as ObjectMap, ar as OnErrorData, as as OnErrorType, bv as OptionItem, bw as OptionItemPreference, c0 as PageObjectId, P as PanelType, bx as PartialItemChunk, bO as PartialOrCompleteItemChunk, bP as PartialResponse, by as PauseItem, av as PersistedHumanAgentState, d as PersistedState, r as PublicChatHumanAgentState, s as PublicChatState, at as PublicConfig, au as PublicConfigMessaging, p as PublicCustomPanelsState, q as PublicDefaultCustomPanelState, o as PublicInputState, bZ as RenderUserDefinedResponse, b_ as RenderUserDefinedState, b$ as RenderWriteableElementResponse, aU as ResponseUserProfile, aH as ScreenShareState, bR as SearchResult, S as SendOptions, aI as ServiceDesk, aJ as ServiceDeskCallback, aK as ServiceDeskCapabilities, aL as ServiceDeskErrorInfo, aM as ServiceDeskFactoryParameters, aN as ServiceDeskPublicConfig, bH as SingleOption, aO as StartChatOptions, bz as StreamChunk, c1 as TestId, bA as TextItem, T as TypeAndHandler, bB as UserDefinedItem, aP as UserMessageErrorInfo, bS as UserType, bC as VerticalCellAlignment, bD as VideoItem, aa as ViewChangeReason, V as ViewState, c as ViewType, bE as WidthOptions, bF as WithBodyAndFooter, bG as WithWidthOptions, W as WriteableElementName, t as WriteableElements, al as enLanguagePack } from './serverEntry-BMoPx5K4.js';
|
|
2
2
|
import '@carbon/web-components/es/components/notification/defs.js';
|
|
3
3
|
import '@carbon/web-components/es/components/button/defs.js';
|
|
4
4
|
import 'react';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@carbon/ai-chat",
|
|
3
|
-
"version": "1.3.0
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"description": "Be sure to review the [chat documentation](https://chat.carbondesignsystem.com/tag/latest/docs/documents/Overview.html).",
|
|
5
5
|
"author": "IBM Corp",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -133,7 +133,7 @@
|
|
|
133
133
|
"react-dom": ">=17.0.0 <20.0.0"
|
|
134
134
|
},
|
|
135
135
|
"dependencies": {
|
|
136
|
-
"@carbon/ai-chat-components": "^0.5.0
|
|
136
|
+
"@carbon/ai-chat-components": "^0.5.0",
|
|
137
137
|
"@ibm/telemetry-js": "^1.10.2",
|
|
138
138
|
"@lit/react": "^1.0.6",
|
|
139
139
|
"classnames": "^2.5.0",
|
|
@@ -171,5 +171,5 @@
|
|
|
171
171
|
"url": "https://github.com/carbon-design-system/carbon-ai-chat/issues"
|
|
172
172
|
},
|
|
173
173
|
"homepage": "https://github.com/carbon-design-system/carbon-ai-chat#readme",
|
|
174
|
-
"gitHead": "
|
|
174
|
+
"gitHead": "777733162ea8b32241e716895ad443c2d32cb39b"
|
|
175
175
|
}
|