@carbon/ai-chat 1.1.0 → 1.2.0-rc.1
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/README.md +4 -0
- package/dist/es/aiChatEntry.js.map +1 -1
- package/dist/es/chat.ChatAppEntry.js +226 -168
- package/dist/es/chat.ChatAppEntry.js.map +1 -1
- package/dist/es/chat.PageObjectId.js +4 -1
- package/dist/es/chat.PageObjectId.js.map +1 -1
- package/dist/es-custom/aiChatEntry.js.map +1 -1
- package/dist/es-custom/chat.ChatAppEntry.js +226 -168
- package/dist/es-custom/chat.ChatAppEntry.js.map +1 -1
- package/dist/es-custom/chat.PageObjectId.js +4 -1
- package/dist/es-custom/chat.PageObjectId.js.map +1 -1
- package/dist/types/aiChatEntry.d.ts +2 -2
- package/dist/types/{serverEntry-CNIXj7Z3.d.ts → serverEntry-C7dK61Jb.d.ts} +9 -51
- package/dist/types/serverEntry.d.ts +1 -1
- package/package.json +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as ChatContainerProps, B as BusEventViewChange, a as ChatInstance } from './serverEntry-
|
|
2
|
-
export { ar as AdditionalDataToAgent, as as AgentAvailability, aO as AudioItem, aJ as BaseGenericItem, aP as BaseMessageInput, o as BusEvent, x as BusEventChatReady, y as BusEventChunkUserDefinedResponse, z as BusEventClosePanelButtonClicked, A as BusEventCustomPanelClose, D as BusEventCustomPanelOpen, G as BusEventCustomPanelPreClose, H as BusEventCustomPanelPreOpen, J as BusEventFeedback, K as BusEventHistoryBegin, M as BusEventHistoryEnd, p as BusEventHumanAgentAreAnyAgentsOnline, q as BusEventHumanAgentEndChat, r as BusEventHumanAgentPreEndChat, s as BusEventHumanAgentPreReceive, t as BusEventHumanAgentPreSend, u as BusEventHumanAgentPreStartChat, v as BusEventHumanAgentReceive, w as BusEventHumanAgentSend, O as BusEventMessageItemCustom, Q as BusEventPreReceive, R as BusEventPreReset, U as BusEventPreSend, X as BusEventReceive, Y as BusEventReset, Z as BusEventSend, _ as BusEventType, $ as BusEventUserDefinedResponse, a0 as BusEventViewPreChange, aQ as ButtonItem, aR as ButtonItemKind, aS as ButtonItemType, a8 as CancellationReason, ab as CarbonTheme, aT as CardItem, aU as CarouselItem,
|
|
1
|
+
import { C as ChatContainerProps, B as BusEventViewChange, a as ChatInstance } from './serverEntry-C7dK61Jb.js';
|
|
2
|
+
export { ar as AdditionalDataToAgent, as as AgentAvailability, aO as AudioItem, aJ as BaseGenericItem, aP as BaseMessageInput, o as BusEvent, x as BusEventChatReady, y as BusEventChunkUserDefinedResponse, z as BusEventClosePanelButtonClicked, A as BusEventCustomPanelClose, D as BusEventCustomPanelOpen, G as BusEventCustomPanelPreClose, H as BusEventCustomPanelPreOpen, J as BusEventFeedback, K as BusEventHistoryBegin, M as BusEventHistoryEnd, p as BusEventHumanAgentAreAnyAgentsOnline, q as BusEventHumanAgentEndChat, r as BusEventHumanAgentPreEndChat, s as BusEventHumanAgentPreReceive, t as BusEventHumanAgentPreSend, u as BusEventHumanAgentPreStartChat, v as BusEventHumanAgentReceive, w as BusEventHumanAgentSend, O as BusEventMessageItemCustom, Q as BusEventPreReceive, R as BusEventPreReset, U as BusEventPreSend, X as BusEventReceive, Y as BusEventReset, Z as BusEventSend, _ as BusEventType, $ as BusEventUserDefinedResponse, a0 as BusEventViewPreChange, aQ as ButtonItem, aR as ButtonItemKind, aS as ButtonItemType, a8 as CancellationReason, ab as CarbonTheme, aT as CardItem, aU as CarouselItem, bN as CdsAiChatContainerAttributes, bO as CdsAiChatCustomElementAttributes, bz as ChainOfThoughtStep, bA as ChainOfThoughtStepStatus, g as ChangeFunction, c as ChatHeaderConfig, a9 as ChatInstanceMessaging, h as ChatInstanceNotifications, i as ChatInstanceServiceDeskActions, aV as Chunk, aW as CompleteItemChunk, aX as ConnectToHumanAgentItem, aY as ConnectToHumanAgentItemTransferInfo, au as ConnectingErrorInfo, aZ as ConversationalSearchItem, a_ as ConversationalSearchItemCitation, n as CornersType, ac as CustomMenuOption, d as CustomPanelConfigOptions, e as CustomPanelInstance, f as CustomPanels, aa as CustomSendMessageOptions, a$ as DateItem, ap as DeepPartial, ad as DisclaimerPublicConfig, av as DisconnectedErrorInfo, aw as EndChatInfo, ax as ErrorType, E as EventBusHandler, j as EventHandlers, b0 as EventInput, b1 as EventInputData, a1 as FeedbackInteractionType, ay as FileStatusValue, az as FileUpload, F as FileUploadCapabilities, b2 as FinalResponseChunk, b3 as GenericItem, b4 as GenericItemMessageFeedbackCategories, bB as GenericItemMessageFeedbackOptions, bC as GenericItemMessageOptions, b5 as GridItem, af as HeaderConfig, bJ as HistoryItem, a4 as HomeScreenConfig, a5 as HomeScreenStarterButton, a6 as HomeScreenStarterButtons, a7 as HomeScreenState, b6 as HorizontalCellAlignment, by as HumanAgentMessageType, at as HumanAgentsOnlineStatus, b7 as IFrameItem, b8 as IFrameItemDisplayOption, b9 as ImageItem, I as IncreaseOrDecrease, ba as InlineErrorItem, ag as InputConfig, bb as ItemStreamingMetadata, ah as LanguagePack, bL as LauncherCallToActionConfig, bM as LauncherConfig, ai as LayoutConfig, L as LayoutCustomProperties, bc as MediaItem, bd as MediaItemDimensions, bD as Message, bK as MessageErrorState, bG as MessageHistoryFeedback, be as MessageInput, bf as MessageInputType, bg as MessageItemPanelInfo, bh as MessageOutput, bi as MessageRequest, aM as MessageRequestHistory, bj as MessageResponse, aL as MessageResponseHistory, aK as MessageResponseOptions, bk as MessageResponseTypes, a2 as MessageSendSource, aj as MinimizeButtonIconType, N as NotificationMessage, aq as ObjectMap, ak as OnErrorData, al as OnErrorType, bl as OptionItem, bm as OptionItemPreference, bS as PageObjectId, bn as PartialItemChunk, bE as PartialOrCompleteItemChunk, bF as PartialResponse, bo as PauseItem, ao as PersistedHumanAgentState, P as PersistedState, k as PublicChatHumanAgentState, l as PublicChatState, am as PublicConfig, an as PublicConfigMessaging, bP as RenderUserDefinedResponse, bQ as RenderUserDefinedState, bR as RenderWriteableElementResponse, aN as ResponseUserProfile, aA as ScreenShareState, bH as SearchResult, S as SendOptions, aB as ServiceDesk, aC as ServiceDeskCallback, aD as ServiceDeskCapabilities, aE as ServiceDeskErrorInfo, aF as ServiceDeskFactoryParameters, aG as ServiceDeskPublicConfig, bx as SingleOption, aH as StartChatOptions, bp as StreamChunk, bT as TestId, bq as TextItem, T as TypeAndHandler, br as UserDefinedItem, aI as UserMessageErrorInfo, bI as UserType, bs as VerticalCellAlignment, bt as VideoItem, a3 as ViewChangeReason, V as ViewState, b as ViewType, bu as WidthOptions, bv as WithBodyAndFooter, bw as WithWidthOptions, W as WriteableElementName, m as WriteableElements, ae as enLanguagePack } from './serverEntry-C7dK61Jb.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';
|
|
@@ -435,12 +435,6 @@ declare enum MessageResponseTypes {
|
|
|
435
435
|
* Asks the user to provide a date. This may result in a date picker being presented to the user.
|
|
436
436
|
*/
|
|
437
437
|
DATE = "date",
|
|
438
|
-
/**
|
|
439
|
-
* Displays a table of data to the user.
|
|
440
|
-
*
|
|
441
|
-
* @experimental
|
|
442
|
-
*/
|
|
443
|
-
TABLE = "table",
|
|
444
438
|
/**
|
|
445
439
|
* Displays a general error message to the user and include developer info to be logged and to debug.
|
|
446
440
|
*/
|
|
@@ -752,7 +746,7 @@ interface BaseGenericItem<TUserDefinedType = Record<string, unknown>> {
|
|
|
752
746
|
*
|
|
753
747
|
* @category Messaging
|
|
754
748
|
*/
|
|
755
|
-
type GenericItem<TUserDefinedType = Record<string, unknown>> = TextItem<TUserDefinedType> | OptionItem<TUserDefinedType> | ConnectToHumanAgentItem<TUserDefinedType> | ImageItem<TUserDefinedType> | PauseItem<TUserDefinedType> | UserDefinedItem<TUserDefinedType> | IFrameItem<TUserDefinedType> | VideoItem<TUserDefinedType> | AudioItem<TUserDefinedType> | DateItem<TUserDefinedType> |
|
|
749
|
+
type GenericItem<TUserDefinedType = Record<string, unknown>> = TextItem<TUserDefinedType> | OptionItem<TUserDefinedType> | ConnectToHumanAgentItem<TUserDefinedType> | ImageItem<TUserDefinedType> | PauseItem<TUserDefinedType> | UserDefinedItem<TUserDefinedType> | IFrameItem<TUserDefinedType> | VideoItem<TUserDefinedType> | AudioItem<TUserDefinedType> | DateItem<TUserDefinedType> | InlineErrorItem<TUserDefinedType> | CardItem<TUserDefinedType> | CarouselItem<TUserDefinedType> | ButtonItem<TUserDefinedType> | GridItem<TUserDefinedType> | ConversationalSearchItem<TUserDefinedType>;
|
|
756
750
|
/**
|
|
757
751
|
* A user defined item returned in a message response from an assistant.
|
|
758
752
|
*
|
|
@@ -1384,47 +1378,6 @@ interface GridItem<TUserDefinedType = Record<string, unknown>> extends BaseGener
|
|
|
1384
1378
|
* @category Messaging
|
|
1385
1379
|
*/
|
|
1386
1380
|
type DateItem<TUserDefinedType = Record<string, unknown>> = BaseGenericItem<TUserDefinedType>;
|
|
1387
|
-
/**
|
|
1388
|
-
* @category Messaging
|
|
1389
|
-
*/
|
|
1390
|
-
type TableItemCell = string | number;
|
|
1391
|
-
/**
|
|
1392
|
-
* A table item returned in a message response from an assistant. This response type is used when displaying a table of data to the user.
|
|
1393
|
-
* The content of the table is up to the client and is authored using json.
|
|
1394
|
-
*
|
|
1395
|
-
* @category Messaging
|
|
1396
|
-
*
|
|
1397
|
-
* @experimental
|
|
1398
|
-
*/
|
|
1399
|
-
interface TableItem<TUserDefinedType = Record<string, unknown>> extends BaseGenericItem<TUserDefinedType> {
|
|
1400
|
-
/**
|
|
1401
|
-
* Optional title for the table.
|
|
1402
|
-
*/
|
|
1403
|
-
title?: string;
|
|
1404
|
-
/**
|
|
1405
|
-
* Optional description of the table.
|
|
1406
|
-
*/
|
|
1407
|
-
description?: string;
|
|
1408
|
-
/**
|
|
1409
|
-
* The array of headers for the table.
|
|
1410
|
-
*/
|
|
1411
|
-
headers: TableItemCell[];
|
|
1412
|
-
/**
|
|
1413
|
-
* The array of row objects for the table.
|
|
1414
|
-
*/
|
|
1415
|
-
rows: TableItemRow[];
|
|
1416
|
-
}
|
|
1417
|
-
/**
|
|
1418
|
-
* @category Messaging
|
|
1419
|
-
*
|
|
1420
|
-
* @experimental
|
|
1421
|
-
*/
|
|
1422
|
-
interface TableItemRow {
|
|
1423
|
-
/**
|
|
1424
|
-
* Data for a specific cell.
|
|
1425
|
-
*/
|
|
1426
|
-
cells: TableItemCell[];
|
|
1427
|
-
}
|
|
1428
1381
|
/**
|
|
1429
1382
|
* @category Messaging
|
|
1430
1383
|
*/
|
|
@@ -2336,7 +2289,11 @@ declare enum BusEventType {
|
|
|
2336
2289
|
* This event is fired whenever the public state returned by ChatInstance.getState() changes.
|
|
2337
2290
|
* This includes changes to viewState, showUnreadIndicator, and other persisted state.
|
|
2338
2291
|
*/
|
|
2339
|
-
STATE_CHANGE = "state:change"
|
|
2292
|
+
STATE_CHANGE = "state:change",
|
|
2293
|
+
/**
|
|
2294
|
+
* Fired if the disclaimer is accepted.
|
|
2295
|
+
*/
|
|
2296
|
+
DISCLAIMER_ACCEPTED = "disclaimerAccepted"
|
|
2340
2297
|
}
|
|
2341
2298
|
/**
|
|
2342
2299
|
* The possible reasons why the view may be changed.
|
|
@@ -3467,6 +3424,7 @@ interface LauncherCallToActionConfig {
|
|
|
3467
3424
|
* @category Config
|
|
3468
3425
|
*/
|
|
3469
3426
|
declare const enLanguagePack: {
|
|
3427
|
+
ai_slug_label: string;
|
|
3470
3428
|
ai_slug_title: string;
|
|
3471
3429
|
ai_slug_description: string;
|
|
3472
3430
|
components_overflow_ariaLabel: string;
|
|
@@ -4472,5 +4430,5 @@ declare enum PageObjectId {
|
|
|
4472
4430
|
*/
|
|
4473
4431
|
type TestId = PageObjectId;
|
|
4474
4432
|
|
|
4475
|
-
export { LayoutCustomProperties as L, WriteableElementName as W, BusEventType as _, FeedbackInteractionType as a1, MessageSendSource as a2, ViewChangeReason as a3, CancellationReason as a8, ScreenShareState as aA, ButtonItemKind as aR, ButtonItemType as aS, CarbonTheme as ab, enLanguagePack as ae, MinimizeButtonIconType as aj, OnErrorType as al, HumanAgentsOnlineStatus as at, ErrorType as ax, FileStatusValue as ay, ViewType as b, IFrameItemDisplayOption as b8,
|
|
4476
|
-
export type { BusEventUserDefinedResponse as $, BusEventCustomPanelClose as A, BusEventViewChange as B, ChatContainerProps as C, BusEventCustomPanelOpen as D, EventBusHandler as E, FileUploadCapabilities as F, BusEventCustomPanelPreClose as G, BusEventCustomPanelPreOpen as H, IncreaseOrDecrease as I, BusEventFeedback as J, BusEventHistoryBegin as K, BusEventHistoryEnd as M, NotificationMessage as N, BusEventMessageItemCustom as O, PersistedState as P, BusEventPreReceive as Q, BusEventPreReset as R, SendOptions as S, TypeAndHandler as T, BusEventPreSend as U, ViewState as V, BusEventReceive as X, BusEventReset as Y, BusEventSend as Z, ChatInstance as a, DateItem as a$, BusEventViewPreChange as a0, HomeScreenConfig as a4, HomeScreenStarterButton as a5, HomeScreenStarterButtons as a6, HomeScreenState as a7, ChatInstanceMessaging as a9, ServiceDesk as aB, ServiceDeskCallback as aC, ServiceDeskCapabilities as aD, ServiceDeskErrorInfo as aE, ServiceDeskFactoryParameters as aF, ServiceDeskPublicConfig as aG, StartChatOptions as aH, UserMessageErrorInfo as aI, BaseGenericItem as aJ, MessageResponseOptions as aK, MessageResponseHistory as aL, MessageRequestHistory as aM, ResponseUserProfile as aN, AudioItem as aO, BaseMessageInput as aP, ButtonItem as aQ, CardItem as aT, CarouselItem as aU, Chunk as aV, CompleteItemChunk as aW, ConnectToHumanAgentItem as aX, ConnectToHumanAgentItemTransferInfo as aY, ConversationalSearchItem as aZ, ConversationalSearchItemCitation as a_, CustomSendMessageOptions as aa, CustomMenuOption as ac, DisclaimerPublicConfig as ad, HeaderConfig as af, InputConfig as ag, LanguagePack as ah, LayoutConfig as ai, OnErrorData as ak, PublicConfig as am, PublicConfigMessaging as an, PersistedHumanAgentState as ao, DeepPartial as ap, ObjectMap as aq, AdditionalDataToAgent as ar, AgentAvailability as as, ConnectingErrorInfo as au, DisconnectedErrorInfo as av, EndChatInfo as aw, FileUpload as az, EventInput as b0, EventInputData as b1, FinalResponseChunk as b2, GenericItem as b3, GenericItemMessageFeedbackCategories as b4, GridItem as b5, HorizontalCellAlignment as b6, IFrameItem as b7, ImageItem as b9,
|
|
4433
|
+
export { LayoutCustomProperties as L, WriteableElementName as W, BusEventType as _, FeedbackInteractionType as a1, MessageSendSource as a2, ViewChangeReason as a3, CancellationReason as a8, ScreenShareState as aA, ButtonItemKind as aR, ButtonItemType as aS, CarbonTheme as ab, enLanguagePack as ae, MinimizeButtonIconType as aj, OnErrorType as al, HumanAgentsOnlineStatus as at, ErrorType as ax, FileStatusValue as ay, ViewType as b, IFrameItemDisplayOption as b8, ChainOfThoughtStepStatus as bA, UserType as bI, MessageErrorState as bK, PageObjectId as bS, MessageInputType as bf, MessageResponseTypes as bk, OptionItemPreference as bm, WidthOptions as bu, HumanAgentMessageType as by, CornersType as n };
|
|
4434
|
+
export type { BusEventUserDefinedResponse as $, BusEventCustomPanelClose as A, BusEventViewChange as B, ChatContainerProps as C, BusEventCustomPanelOpen as D, EventBusHandler as E, FileUploadCapabilities as F, BusEventCustomPanelPreClose as G, BusEventCustomPanelPreOpen as H, IncreaseOrDecrease as I, BusEventFeedback as J, BusEventHistoryBegin as K, BusEventHistoryEnd as M, NotificationMessage as N, BusEventMessageItemCustom as O, PersistedState as P, BusEventPreReceive as Q, BusEventPreReset as R, SendOptions as S, TypeAndHandler as T, BusEventPreSend as U, ViewState as V, BusEventReceive as X, BusEventReset as Y, BusEventSend as Z, ChatInstance as a, DateItem as a$, BusEventViewPreChange as a0, HomeScreenConfig as a4, HomeScreenStarterButton as a5, HomeScreenStarterButtons as a6, HomeScreenState as a7, ChatInstanceMessaging as a9, ServiceDesk as aB, ServiceDeskCallback as aC, ServiceDeskCapabilities as aD, ServiceDeskErrorInfo as aE, ServiceDeskFactoryParameters as aF, ServiceDeskPublicConfig as aG, StartChatOptions as aH, UserMessageErrorInfo as aI, BaseGenericItem as aJ, MessageResponseOptions as aK, MessageResponseHistory as aL, MessageRequestHistory as aM, ResponseUserProfile as aN, AudioItem as aO, BaseMessageInput as aP, ButtonItem as aQ, CardItem as aT, CarouselItem as aU, Chunk as aV, CompleteItemChunk as aW, ConnectToHumanAgentItem as aX, ConnectToHumanAgentItemTransferInfo as aY, ConversationalSearchItem as aZ, ConversationalSearchItemCitation as a_, CustomSendMessageOptions as aa, CustomMenuOption as ac, DisclaimerPublicConfig as ad, HeaderConfig as af, InputConfig as ag, LanguagePack as ah, LayoutConfig as ai, OnErrorData as ak, PublicConfig as am, PublicConfigMessaging as an, PersistedHumanAgentState as ao, DeepPartial as ap, ObjectMap as aq, AdditionalDataToAgent as ar, AgentAvailability as as, ConnectingErrorInfo as au, DisconnectedErrorInfo as av, EndChatInfo as aw, FileUpload as az, EventInput as b0, EventInputData as b1, FinalResponseChunk as b2, GenericItem as b3, GenericItemMessageFeedbackCategories as b4, GridItem as b5, HorizontalCellAlignment as b6, IFrameItem as b7, ImageItem as b9, GenericItemMessageFeedbackOptions as bB, GenericItemMessageOptions as bC, Message as bD, PartialOrCompleteItemChunk as bE, PartialResponse as bF, MessageHistoryFeedback as bG, SearchResult as bH, HistoryItem as bJ, LauncherCallToActionConfig as bL, LauncherConfig as bM, CdsAiChatContainerAttributes as bN, CdsAiChatCustomElementAttributes as bO, RenderUserDefinedResponse as bP, RenderUserDefinedState as bQ, RenderWriteableElementResponse as bR, TestId as bT, InlineErrorItem as ba, ItemStreamingMetadata as bb, MediaItem as bc, MediaItemDimensions as bd, MessageInput as be, MessageItemPanelInfo as bg, MessageOutput as bh, MessageRequest as bi, MessageResponse as bj, OptionItem as bl, PartialItemChunk as bn, PauseItem as bo, StreamChunk as bp, TextItem as bq, UserDefinedItem as br, VerticalCellAlignment as bs, VideoItem as bt, WithBodyAndFooter as bv, WithWidthOptions as bw, SingleOption as bx, ChainOfThoughtStep as bz, ChatHeaderConfig as c, CustomPanelConfigOptions as d, CustomPanelInstance as e, CustomPanels as f, ChangeFunction as g, ChatInstanceNotifications as h, ChatInstanceServiceDeskActions as i, EventHandlers as j, PublicChatHumanAgentState as k, PublicChatState as l, WriteableElements as m, BusEvent as o, BusEventHumanAgentAreAnyAgentsOnline as p, BusEventHumanAgentEndChat as q, BusEventHumanAgentPreEndChat as r, BusEventHumanAgentPreReceive as s, BusEventHumanAgentPreSend as t, BusEventHumanAgentPreStartChat as u, BusEventHumanAgentReceive as v, BusEventHumanAgentSend as w, BusEventChatReady as x, BusEventChunkUserDefinedResponse as y, BusEventClosePanelButtonClicked as z };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { ar as AdditionalDataToAgent, as as AgentAvailability, aO as AudioItem, aJ as BaseGenericItem, aP as BaseMessageInput, o as BusEvent, x as BusEventChatReady, y as BusEventChunkUserDefinedResponse, z as BusEventClosePanelButtonClicked, A as BusEventCustomPanelClose, D as BusEventCustomPanelOpen, G as BusEventCustomPanelPreClose, H as BusEventCustomPanelPreOpen, J as BusEventFeedback, K as BusEventHistoryBegin, M as BusEventHistoryEnd, p as BusEventHumanAgentAreAnyAgentsOnline, q as BusEventHumanAgentEndChat, r as BusEventHumanAgentPreEndChat, s as BusEventHumanAgentPreReceive, t as BusEventHumanAgentPreSend, u as BusEventHumanAgentPreStartChat, v as BusEventHumanAgentReceive, w as BusEventHumanAgentSend, O as BusEventMessageItemCustom, Q as BusEventPreReceive, R as BusEventPreReset, U as BusEventPreSend, X as BusEventReceive, Y as BusEventReset, Z as BusEventSend, _ as BusEventType, $ as BusEventUserDefinedResponse, B as BusEventViewChange, a0 as BusEventViewPreChange, aQ as ButtonItem, aR as ButtonItemKind, aS as ButtonItemType, a8 as CancellationReason, ab as CarbonTheme, aT as CardItem, aU as CarouselItem,
|
|
1
|
+
export { ar as AdditionalDataToAgent, as as AgentAvailability, aO as AudioItem, aJ as BaseGenericItem, aP as BaseMessageInput, o as BusEvent, x as BusEventChatReady, y as BusEventChunkUserDefinedResponse, z as BusEventClosePanelButtonClicked, A as BusEventCustomPanelClose, D as BusEventCustomPanelOpen, G as BusEventCustomPanelPreClose, H as BusEventCustomPanelPreOpen, J as BusEventFeedback, K as BusEventHistoryBegin, M as BusEventHistoryEnd, p as BusEventHumanAgentAreAnyAgentsOnline, q as BusEventHumanAgentEndChat, r as BusEventHumanAgentPreEndChat, s as BusEventHumanAgentPreReceive, t as BusEventHumanAgentPreSend, u as BusEventHumanAgentPreStartChat, v as BusEventHumanAgentReceive, w as BusEventHumanAgentSend, O as BusEventMessageItemCustom, Q as BusEventPreReceive, R as BusEventPreReset, U as BusEventPreSend, X as BusEventReceive, Y as BusEventReset, Z as BusEventSend, _ as BusEventType, $ as BusEventUserDefinedResponse, B as BusEventViewChange, a0 as BusEventViewPreChange, aQ as ButtonItem, aR as ButtonItemKind, aS as ButtonItemType, a8 as CancellationReason, ab as CarbonTheme, aT as CardItem, aU as CarouselItem, bN as CdsAiChatContainerAttributes, bO as CdsAiChatCustomElementAttributes, bz as ChainOfThoughtStep, bA as ChainOfThoughtStepStatus, c as ChatHeaderConfig, a as ChatInstance, a9 as ChatInstanceMessaging, h as ChatInstanceNotifications, i as ChatInstanceServiceDeskActions, aV as Chunk, aW as CompleteItemChunk, aX as ConnectToHumanAgentItem, aY as ConnectToHumanAgentItemTransferInfo, au as ConnectingErrorInfo, aZ as ConversationalSearchItem, a_ as ConversationalSearchItemCitation, n as CornersType, ac as CustomMenuOption, d as CustomPanelConfigOptions, e as CustomPanelInstance, f as CustomPanels, aa as CustomSendMessageOptions, a$ as DateItem, ap as DeepPartial, ad as DisclaimerPublicConfig, av as DisconnectedErrorInfo, aw as EndChatInfo, ax as ErrorType, E as EventBusHandler, j as EventHandlers, b0 as EventInput, b1 as EventInputData, a1 as FeedbackInteractionType, ay as FileStatusValue, az as FileUpload, F as FileUploadCapabilities, b2 as FinalResponseChunk, b3 as GenericItem, b4 as GenericItemMessageFeedbackCategories, bB as GenericItemMessageFeedbackOptions, bC as GenericItemMessageOptions, b5 as GridItem, af as HeaderConfig, bJ as HistoryItem, a4 as HomeScreenConfig, a5 as HomeScreenStarterButton, a6 as HomeScreenStarterButtons, a7 as HomeScreenState, b6 as HorizontalCellAlignment, by as HumanAgentMessageType, at as HumanAgentsOnlineStatus, b7 as IFrameItem, b8 as IFrameItemDisplayOption, b9 as ImageItem, I as IncreaseOrDecrease, ba as InlineErrorItem, ag as InputConfig, bb as ItemStreamingMetadata, ah as LanguagePack, bL as LauncherCallToActionConfig, bM as LauncherConfig, ai as LayoutConfig, L as LayoutCustomProperties, bc as MediaItem, bd as MediaItemDimensions, bD as Message, bK as MessageErrorState, bG as MessageHistoryFeedback, be as MessageInput, bf as MessageInputType, bg as MessageItemPanelInfo, bh as MessageOutput, bi as MessageRequest, aM as MessageRequestHistory, bj as MessageResponse, aL as MessageResponseHistory, aK as MessageResponseOptions, bk as MessageResponseTypes, a2 as MessageSendSource, aj as MinimizeButtonIconType, N as NotificationMessage, aq as ObjectMap, ak as OnErrorData, al as OnErrorType, bl as OptionItem, bm as OptionItemPreference, bS as PageObjectId, bn as PartialItemChunk, bE as PartialOrCompleteItemChunk, bF as PartialResponse, bo as PauseItem, ao as PersistedHumanAgentState, P as PersistedState, k as PublicChatHumanAgentState, l as PublicChatState, am as PublicConfig, an as PublicConfigMessaging, bP as RenderUserDefinedResponse, bQ as RenderUserDefinedState, bR as RenderWriteableElementResponse, aN as ResponseUserProfile, aA as ScreenShareState, bH as SearchResult, S as SendOptions, aB as ServiceDesk, aC as ServiceDeskCallback, aD as ServiceDeskCapabilities, aE as ServiceDeskErrorInfo, aF as ServiceDeskFactoryParameters, aG as ServiceDeskPublicConfig, bx as SingleOption, aH as StartChatOptions, bp as StreamChunk, bT as TestId, bq as TextItem, T as TypeAndHandler, br as UserDefinedItem, aI as UserMessageErrorInfo, bI as UserType, bs as VerticalCellAlignment, bt as VideoItem, a3 as ViewChangeReason, V as ViewState, b as ViewType, bu as WidthOptions, bv as WithBodyAndFooter, bw as WithWidthOptions, W as WriteableElementName, m as WriteableElements, ae as enLanguagePack } from './serverEntry-C7dK61Jb.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
|
+
"version": "1.2.0-rc.1",
|
|
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.
|
|
136
|
+
"@carbon/ai-chat-components": "^0.4.0-rc.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": "eee35894a9577d357611a6566d4807e05c7d85db"
|
|
175
175
|
}
|