@carbon/ai-chat 1.13.0 → 1.14.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.
Files changed (31) hide show
  1. package/dist/css/chat-explainability-popover.css +161 -0
  2. package/dist/es/aiChatEntry.js +14 -2
  3. package/dist/es/aiChatEntry.js.map +1 -1
  4. package/dist/es/chat.ChatAppEntry.js +113 -21
  5. package/dist/es/chat.ChatAppEntry.js.map +1 -1
  6. package/dist/es/chat.index.js +581 -0
  7. package/dist/es/chat.index.js.map +1 -0
  8. package/dist/es/chat.languageUtils.js +2 -0
  9. package/dist/es/chat.languageUtils.js.map +1 -1
  10. package/dist/es/web-components/cds-aichat-container/index.js +10 -500
  11. package/dist/es/web-components/cds-aichat-container/index.js.map +1 -1
  12. package/dist/es/web-components/cds-aichat-custom-element/index.js +19 -227
  13. package/dist/es/web-components/cds-aichat-custom-element/index.js.map +1 -1
  14. package/dist/es-custom/aiChatEntry.js +14 -2
  15. package/dist/es-custom/aiChatEntry.js.map +1 -1
  16. package/dist/es-custom/chat.ChatAppEntry.js +113 -21
  17. package/dist/es-custom/chat.ChatAppEntry.js.map +1 -1
  18. package/dist/es-custom/chat.index.js +581 -0
  19. package/dist/es-custom/chat.index.js.map +1 -0
  20. package/dist/es-custom/chat.languageUtils.js +2 -0
  21. package/dist/es-custom/chat.languageUtils.js.map +1 -1
  22. package/dist/es-custom/web-components/cds-aichat-container/index.js +10 -500
  23. package/dist/es-custom/web-components/cds-aichat-container/index.js.map +1 -1
  24. package/dist/es-custom/web-components/cds-aichat-custom-element/index.js +19 -227
  25. package/dist/es-custom/web-components/cds-aichat-custom-element/index.js.map +1 -1
  26. package/dist/scss/_chat-explainability-popover.scss +154 -0
  27. package/dist/types/aiChatEntry.d.ts +2 -2
  28. package/dist/types/{serverEntry-CU81SMOz.d.ts → serverEntry-mONw-M8N.d.ts} +206 -47
  29. package/dist/types/serverEntry.d.ts +1 -1
  30. package/package.json +5 -5
  31. package/telemetry.yml +3 -24
@@ -5,7 +5,7 @@ import { ToolbarAction } from '@carbon/ai-chat-components/es/react/toolbar.js';
5
5
  import { ReactNode } from 'react';
6
6
  import * as lit_html from 'lit-html';
7
7
  import * as lit from 'lit';
8
- import { LitElement, PropertyValues } from 'lit';
8
+ import { LitElement, PropertyValues, PropertyDeclarations } from 'lit';
9
9
  import { Root } from 'react-dom/client';
10
10
 
11
11
  /**
@@ -2513,9 +2513,14 @@ interface ReasoningStep {
2513
2513
  */
2514
2514
  open_state?: ReasoningStepOpenState;
2515
2515
  /**
2516
- * Optional markdown content to explain what the step is doing.
2516
+ * Optional markdown content (string) or a list of {@link GenericItem} response items to render inside this
2517
+ * reasoning step. When an array is supplied, each item is rendered through the standard message renderer.
2518
+ *
2519
+ * GenericItem variants that render purely from their own item data (TextItem, ImageItem, UserDefinedItem,
2520
+ * ButtonItem, InlineErrorItem, etc.) are fully supported. Variants whose renderers rely on nested-body
2521
+ * hydration (Card, Carousel, Grid bodies) will not hydrate those nested children when used here.
2517
2522
  */
2518
- content?: string;
2523
+ content?: string | GenericItem[];
2519
2524
  }
2520
2525
  /**
2521
2526
  * The interface describing how to pass reasoning steps to the UI.
@@ -2537,9 +2542,15 @@ interface ReasoningSteps {
2537
2542
  */
2538
2543
  steps?: ReasoningStep[];
2539
2544
  /**
2540
- * Optional markdown content to explain what the step is doing.
2545
+ * Optional markdown content (string) or a list of {@link GenericItem} response items to render as a preamble
2546
+ * above the reasoning steps. When an array is supplied, each item is rendered through the standard message
2547
+ * renderer.
2548
+ *
2549
+ * GenericItem variants that render purely from their own item data (TextItem, ImageItem, UserDefinedItem,
2550
+ * ButtonItem, InlineErrorItem, etc.) are fully supported. Variants whose renderers rely on nested-body
2551
+ * hydration (Card, Carousel, Grid bodies) will not hydrate those nested children when used here.
2541
2552
  */
2542
- content?: string;
2553
+ content?: string | GenericItem[];
2543
2554
  }
2544
2555
  /**
2545
2556
  * This interface contains options for a {@link MessageResponse}.
@@ -4824,6 +4835,19 @@ interface HeaderConfig {
4824
4835
  * blue gradients.
4825
4836
  */
4826
4837
  showAiLabel?: boolean;
4838
+ /**
4839
+ * Controls whether the default AI label content should be hidden.
4840
+ * The default content is only meant to serve as a placeholder and should be
4841
+ * replaced with custom content using:
4842
+ * {@link WriteableElementName.EXPLAINABILITY_POPOVER_CONTENT} and
4843
+ * {@link WriteableElementName.EXPLAINABILITY_POPOVER_ACTIONS}.
4844
+ * When set to true, all the default ai label content including the deprecated
4845
+ * {@link WriteableElementName.AI_TOOLTIP_AFTER_DESCRIPTION_ELEMENT}
4846
+ * writeable element will be removed.
4847
+ *
4848
+ * @default false
4849
+ */
4850
+ hideDefaultAiLabelContent?: boolean;
4827
4851
  /**
4828
4852
  * Controls whether the header should be constrained to the messages max width
4829
4853
  * (--cds-aichat-messages-max-width) or go full width. When true, the header
@@ -5191,6 +5215,12 @@ interface CatastrophicErrorPanelState {
5191
5215
  * The error body text to be displayed in the `CatastrophicErrorPanel`. Will render markdown if provided.
5192
5216
  */
5193
5217
  bodyText?: string;
5218
+ /**
5219
+ * When true, the panel renders without the built-in retry button. The consumer is then responsible
5220
+ * for closing the panel by calling `instance.updateCatastrophicErrorPanel({ isOpen: false })` once
5221
+ * their own recovery flow completes.
5222
+ */
5223
+ hideRetryButton?: boolean;
5194
5224
  }
5195
5225
 
5196
5226
  /**
@@ -5633,8 +5663,20 @@ declare enum WriteableElementName {
5633
5663
  /**
5634
5664
  * An element that appears in the AI theme only and is shown beneath the title and description in the AI tooltip
5635
5665
  * content.
5666
+ *
5667
+ * @deprecated Use {@link WriteableElementName.EXPLAINABILITY_POPOVER_CONTENT}
5668
+ * and {@link WriteableElementName.EXPLAINABILITY_POPOVER_ACTIONS} for full control over AI label popover content.
5636
5669
  */
5637
5670
  AI_TOOLTIP_AFTER_DESCRIPTION_ELEMENT = "aiTooltipAfterDescriptionElement",
5671
+ /**
5672
+ * An element that appears in the header's AI label popover body. When content is provided to this slot,
5673
+ * `HeaderConfig.hideDefaultAiLabelContent` should be set to true.
5674
+ */
5675
+ EXPLAINABILITY_POPOVER_CONTENT = "explainabilityPopoverContent",
5676
+ /**
5677
+ * An element that appears in the header's AI label popover actions footer area.
5678
+ */
5679
+ EXPLAINABILITY_POPOVER_ACTIONS = "explainabilityPopoverActions",
5638
5680
  /**
5639
5681
  * An element that appears in the main message body directly above the welcome node.
5640
5682
  */
@@ -5789,6 +5831,44 @@ declare global {
5789
5831
  }
5790
5832
  }
5791
5833
 
5834
+ /**
5835
+ * Shared Lit base class for the web components that expose a flattened
5836
+ * {@link PublicConfig} surface (`cds-aichat-container` and
5837
+ * `cds-aichat-custom-element`).
5838
+ *
5839
+ * It contributes every flattened reactive property from the single
5840
+ * {@link FLATTENED_PUBLIC_CONFIG_FIELDS} table and derives `resolvedConfig`
5841
+ * from that same table, so each config field is defined in exactly one place.
5842
+ */
5843
+
5844
+ /**
5845
+ * Declaration merging gives the instance typed access to `this.history`,
5846
+ * `this.debug`, ... without re-listing every {@link PublicConfig} field and
5847
+ * without emitting any runtime class field (so nothing shadows the accessors
5848
+ * Lit installs from `static properties`).
5849
+ */
5850
+ interface FlattenedConfigElement extends Partial<PublicConfig> {
5851
+ }
5852
+ /**
5853
+ * Base class contributing all flattened `PublicConfig` reactive properties.
5854
+ * Not registered as a custom element — only the concrete subclasses are.
5855
+ */
5856
+ declare abstract class FlattenedConfigElement extends LitElement {
5857
+ static properties: PropertyDeclarations;
5858
+ /** Base config object. Flattened properties layer on top of this. */
5859
+ config?: PublicConfig;
5860
+ /**
5861
+ * Optional explicit opt-out attribute. If present, it wins over `ai-enabled`.
5862
+ * Not a {@link PublicConfig} field — it resolves into `config.aiEnabled`.
5863
+ */
5864
+ aiDisabled?: boolean;
5865
+ /**
5866
+ * The {@link PublicConfig} reconstructed from `config` plus every defined
5867
+ * flattened property.
5868
+ */
5869
+ protected get resolvedConfig(): PublicConfig;
5870
+ }
5871
+
5792
5872
  /**
5793
5873
  * The user_defined message object passed into the renderUserDefinedResponse property on the main chat components.
5794
5874
  *
@@ -5852,6 +5932,37 @@ type RenderUserDefinedResponse = (state: RenderUserDefinedState, instance: ChatI
5852
5932
  * @category Web component
5853
5933
  */
5854
5934
  type WCRenderUserDefinedResponse = (state: RenderUserDefinedState, instance: ChatInstance) => HTMLElement | null;
5935
+ /**
5936
+ * The accumulated state for one custom message footer slot, passed to the
5937
+ * web component {@link WCRenderCustomMessageFooter} callback.
5938
+ *
5939
+ * @category Web component
5940
+ */
5941
+ interface RenderCustomMessageFooterState {
5942
+ /** The unique identifier for this footer slot. */
5943
+ slotName: string;
5944
+ /** The assistant response object that contains the messageItem. */
5945
+ message: MessageResponse;
5946
+ /** The message item that the footer is attached to. */
5947
+ messageItem: GenericItem;
5948
+ /** Optional application data supplied with the footer slot. */
5949
+ additionalData?: Record<string, unknown>;
5950
+ }
5951
+ /**
5952
+ * The render function used to render a custom message footer in web
5953
+ * components. When provided, the library manages all event listening, slot
5954
+ * tracking, and element lifecycle. The callback receives the accumulated state
5955
+ * and should return an HTMLElement to display, or null to render nothing.
5956
+ *
5957
+ * This is the web component analogue of {@link RenderCustomMessageFooter} and
5958
+ * mirrors the contract of {@link WCRenderUserDefinedResponse}.
5959
+ *
5960
+ * @param state The accumulated state for this custom footer slot.
5961
+ * @param instance The current instance of Carbon AI Chat.
5962
+ *
5963
+ * @category Web component
5964
+ */
5965
+ type WCRenderCustomMessageFooter = (state: RenderCustomMessageFooterState, instance: ChatInstance) => HTMLElement | null;
5855
5966
  /**
5856
5967
  * A map of writeable element keys to a ReactNode to render to them.
5857
5968
  *
@@ -5882,6 +5993,23 @@ interface ChatContainerProps extends PublicConfig {
5882
5993
  * which will cause Carbon AI Chat to wait for it before rendering.
5883
5994
  */
5884
5995
  onAfterRender?: (instance: ChatInstance) => Promise<void> | void;
5996
+ /**
5997
+ * Called before a view change (the chat opening or closing). Async — return a
5998
+ * Promise to defer the view change until it resolves.
5999
+ *
6000
+ * This is an opt-in observation hook. Unlike {@link ChatCustomElementProps},
6001
+ * the container has no wrapping element to size, so no default visibility
6002
+ * behavior runs when this prop is omitted.
6003
+ */
6004
+ onViewPreChange?: (event: BusEventViewPreChange, instance: ChatInstance) => Promise<void> | void;
6005
+ /**
6006
+ * Called when a view change (the chat opening or closing) is complete.
6007
+ *
6008
+ * This is an opt-in observation hook. Unlike {@link ChatCustomElementProps},
6009
+ * the container has no wrapping element to size, so no default visibility
6010
+ * behavior runs when this prop is omitted.
6011
+ */
6012
+ onViewChange?: (event: BusEventViewChange, instance: ChatInstance) => void;
5885
6013
  /**
5886
6014
  * This is the function that this component will call when a custom footer should be rendered.
5887
6015
  */
@@ -5901,42 +6029,7 @@ interface ChatContainerProps extends PublicConfig {
5901
6029
  * It then passes that slotted content into cds-aichat-internal. That component will boot up the full chat application
5902
6030
  * and pass the slotted elements into their slots.
5903
6031
  */
5904
- declare class ChatContainer extends LitElement {
5905
- config?: PublicConfig;
5906
- onError?: (data: OnErrorData) => void;
5907
- openChatByDefault?: boolean;
5908
- disclaimer?: DisclaimerPublicConfig;
5909
- disableCustomElementMobileEnhancements?: boolean;
5910
- debug?: boolean;
5911
- exposeServiceManagerForTesting?: boolean;
5912
- injectCarbonTheme?: CarbonTheme;
5913
- aiEnabled?: boolean;
5914
- aiDisabled?: boolean;
5915
- shouldTakeFocusIfOpensAutomatically?: boolean;
5916
- namespace?: string;
5917
- shouldSanitizeHTML?: boolean;
5918
- header?: HeaderConfig;
5919
- history?: HistoryConfig;
5920
- input?: InputConfig;
5921
- upload?: UploadConfig;
5922
- layout?: LayoutConfig;
5923
- messaging?: PublicConfigMessaging;
5924
- isReadonly?: boolean;
5925
- assistantName?: string;
5926
- assistantAvatarUrl?: string;
5927
- locale?: string;
5928
- homescreen?: HomeScreenConfig;
5929
- launcher?: LauncherConfig;
5930
- /** Optional partial language pack overrides */
5931
- strings?: DeepPartial<LanguagePack>;
5932
- /**
5933
- * A factory to create a {@link ServiceDesk} integration instance.
5934
- */
5935
- serviceDeskFactory?: (parameters: ServiceDeskFactoryParameters) => Promise<ServiceDesk>;
5936
- /**
5937
- * Public configuration for the service desk integration.
5938
- */
5939
- serviceDesk?: ServiceDeskPublicConfig;
6032
+ declare class ChatContainer extends FlattenedConfigElement {
5940
6033
  /**
5941
6034
  * This function is called before the render function of Carbon AI Chat is called. This function can return a Promise
5942
6035
  * which will cause Carbon AI Chat to wait for it before rendering.
@@ -5946,6 +6039,23 @@ declare class ChatContainer extends LitElement {
5946
6039
  * This function is called after the render function of Carbon AI Chat is called.
5947
6040
  */
5948
6041
  onAfterRender: (instance: ChatInstance) => Promise<void> | void;
6042
+ /**
6043
+ * Called before a view change (the chat opening or closing). Async — return a
6044
+ * Promise to defer the view change until it resolves.
6045
+ *
6046
+ * This is an opt-in observation hook. Unlike `cds-aichat-custom-element`, the
6047
+ * container has no wrapping element to size, so no default visibility
6048
+ * behavior runs when this property is omitted.
6049
+ */
6050
+ onViewPreChange?: (event: BusEventViewPreChange) => Promise<void> | void;
6051
+ /**
6052
+ * Called when a view change (the chat opening or closing) is complete.
6053
+ *
6054
+ * This is an opt-in observation hook. Unlike `cds-aichat-custom-element`, the
6055
+ * container has no wrapping element to size, so no default visibility
6056
+ * behavior runs when this property is omitted.
6057
+ */
6058
+ onViewChange?: (event: BusEventViewChange, instance: ChatInstance) => void;
5949
6059
  /**
5950
6060
  * Optional callback to render user defined responses. When provided, the library manages all event listening,
5951
6061
  * slot tracking, streaming state, and element lifecycle. The callback receives the accumulated state and should
@@ -5954,6 +6064,14 @@ declare class ChatContainer extends LitElement {
5954
6064
  * When this property is not set, the existing event + manual slot approach continues to work.
5955
6065
  */
5956
6066
  renderUserDefinedResponse?: WCRenderUserDefinedResponse;
6067
+ /**
6068
+ * Optional callback to render custom message footers. When provided, the library manages all event listening,
6069
+ * slot tracking, and element lifecycle. The callback receives the accumulated state and should
6070
+ * return an HTMLElement or null.
6071
+ *
6072
+ * When this property is not set, the existing event + manual slot approach continues to work.
6073
+ */
6074
+ renderCustomMessageFooter?: WCRenderCustomMessageFooter;
5957
6075
  /**
5958
6076
  * The existing array of slot names for all user_defined components.
5959
6077
  */
@@ -5974,10 +6092,18 @@ declare class ChatContainer extends LitElement {
5974
6092
  * Accumulated state per slot for user_defined responses when renderUserDefinedResponse is provided.
5975
6093
  */
5976
6094
  _userDefinedStateBySlot: Record<string, RenderUserDefinedState>;
6095
+ /**
6096
+ * Accumulated state per slot for custom message footers when renderCustomMessageFooter is provided.
6097
+ */
6098
+ _customFooterStateBySlot: Record<string, RenderCustomMessageFooterState>;
5977
6099
  /**
5978
6100
  * Tracks the wrapper elements created by the callback rendering path.
5979
6101
  */
5980
6102
  private _callbackElements;
6103
+ /**
6104
+ * Tracks the wrapper elements created by the custom-footer callback rendering path.
6105
+ */
6106
+ private _callbackFooterElements;
5981
6107
  /**
5982
6108
  * Adds the slot attribute to the element for the user_defined response type and then injects it into the component by
5983
6109
  * updating this._userDefinedSlotNames;
@@ -5988,6 +6114,11 @@ declare class ChatContainer extends LitElement {
5988
6114
  * updating this._customFooterSlotNames;
5989
6115
  */
5990
6116
  customFooterHandler: (event: BusEventCustomFooterSlot) => void;
6117
+ /**
6118
+ * Enhanced handler for CUSTOM_FOOTER_SLOT when the renderCustomMessageFooter callback is provided.
6119
+ * Tracks both slot names and the full per-slot state used by the callback rendering path.
6120
+ */
6121
+ private enhancedCustomFooterHandler;
5991
6122
  /**
5992
6123
  * Enhanced handler for USER_DEFINED_RESPONSE when renderUserDefinedResponse callback is provided.
5993
6124
  * Tracks both slot names and full message state per slot.
@@ -5999,8 +6130,11 @@ declare class ChatContainer extends LitElement {
5999
6130
  */
6000
6131
  private enhancedUserDefinedChunkHandler;
6001
6132
  /**
6002
- * Handles RESTART_CONVERSATION when renderUserDefinedResponse callback is provided.
6003
- * Clears all accumulated state and removes callback-rendered elements from the DOM.
6133
+ * Handles RESTART_CONVERSATION when the renderUserDefinedResponse and/or renderCustomMessageFooter
6134
+ * callback is provided. Clears all accumulated state and removes callback-rendered elements from the DOM.
6135
+ *
6136
+ * The custom-footer cleanup is guarded by renderCustomMessageFooter so the legacy footer passthrough
6137
+ * path (which the host clears itself) is left untouched.
6004
6138
  */
6005
6139
  private restartHandler;
6006
6140
  /**
@@ -6008,7 +6142,12 @@ declare class ChatContainer extends LitElement {
6008
6142
  * Called from render() when renderUserDefinedResponse is provided.
6009
6143
  */
6010
6144
  private syncCallbackRenderedElements;
6011
- private get resolvedConfig();
6145
+ /**
6146
+ * Synchronizes custom-footer callback-rendered elements in the light DOM based on current state.
6147
+ * Called from render() when renderCustomMessageFooter is provided. Direct analogue of
6148
+ * syncCallbackRenderedElements().
6149
+ */
6150
+ private syncCallbackRenderedFooterElements;
6012
6151
  onBeforeRenderOverride: (instance: ChatInstance) => Promise<void>;
6013
6152
  addWriteableElementSlots(): void;
6014
6153
  private attachWriteableElements;
@@ -6039,16 +6178,31 @@ interface CdsAiChatContainerAttributes extends PublicConfig {
6039
6178
  * This function is called after the render function of Carbon AI Chat is called.
6040
6179
  */
6041
6180
  onAfterRender?: (instance: ChatInstance) => Promise<void> | void;
6181
+ /**
6182
+ * Called before a view change (the chat opening or closing). Async — return a Promise to defer the view
6183
+ * change until it resolves. This is an opt-in observation hook with no default visibility behavior.
6184
+ */
6185
+ onViewPreChange?: (event: BusEventViewPreChange) => Promise<void> | void;
6186
+ /**
6187
+ * Called when a view change (the chat opening or closing) is complete. This is an opt-in observation hook
6188
+ * with no default visibility behavior.
6189
+ */
6190
+ onViewChange?: (event: BusEventViewChange, instance: ChatInstance) => void;
6042
6191
  /**
6043
6192
  * Optional callback to render user defined responses. When provided, the library manages all event listening,
6044
6193
  * slot tracking, streaming state, and element lifecycle.
6045
6194
  */
6046
6195
  renderUserDefinedResponse?: WCRenderUserDefinedResponse;
6196
+ /**
6197
+ * Optional callback to render custom message footers. When provided, the library manages all event listening,
6198
+ * slot tracking, and element lifecycle. When omitted, the legacy event + manual slot approach continues to work.
6199
+ */
6200
+ renderCustomMessageFooter?: WCRenderCustomMessageFooter;
6047
6201
  }
6048
6202
 
6049
6203
  /**
6050
6204
  * Attributes interface for the cds-aichat-custom-element web component.
6051
- * This interface extends {@link CdsAiChatContainerAttributes} and {@link PublicConfig} with additional component-specific props,
6205
+ * This interface extends {@link PublicConfig} with additional component-specific props,
6052
6206
  * flattening all config properties as top-level properties for better TypeScript IntelliSense.
6053
6207
  *
6054
6208
  * @category Web component
@@ -6081,7 +6235,12 @@ interface CdsAiChatCustomElementAttributes extends PublicConfig {
6081
6235
  * manages all event listening, slot tracking, streaming state, and element lifecycle.
6082
6236
  */
6083
6237
  renderUserDefinedResponse?: WCRenderUserDefinedResponse;
6238
+ /**
6239
+ * Optional callback to render custom message footers. When provided, the inner cds-aichat-container
6240
+ * manages all event listening, slot tracking, and element lifecycle.
6241
+ */
6242
+ renderCustomMessageFooter?: WCRenderCustomMessageFooter;
6084
6243
  }
6085
6244
 
6086
- export { BusEventType as N, ButtonItemKind as V, ButtonItemType as W, CancellationReason as X, CarbonTheme as Y, FileStatusValue as aA, HeaderMenuClickType as aL, HumanAgentMessageType as aT, HumanAgentsOnlineStatus as aU, IFrameItemDisplayOption as aW, CornersType as af, ErrorType as as, FeedbackInteractionType as ay, LayoutCustomProperties as b6, ReasoningStepOpenState as bQ, ScreenShareState as bY, MessageErrorState as bd, MessageInputType as bg, MessageResponseTypes as bo, MessageSendSource as bp, MinimizeButtonIconType as bq, OnErrorType as bt, OptionItemPreference as bv, PageObjectId as bw, PanelType as bx, UserType as ck, ViewChangeReason as cn, ViewType as cp, WidthOptions as cr, WriteableElementName as cv, enLanguagePack as cx, loadAllLazyDeps as cy };
6087
- export type { CatastrophicErrorPanelState as $, AdditionalDataToAgent as A, BusEventViewPreChange as B, ChatContainerProps as C, BusEventHumanAgentReceive as D, BusEventHumanAgentSend as E, BusEventMessageItemCustom as F, BusEventPreReceive as G, BusEventPreReset as H, BusEventPreSend as I, BusEventReceive as J, BusEventReset as K, BusEventSend as L, BusEventStateChange as M, BusEventUserDefinedResponse as O, PersistedState as P, BusEventWorkspaceClose as Q, BusEventWorkspaceOpen as R, BusEventWorkspacePreClose as S, BusEventWorkspacePreOpen as T, ButtonItem as U, CardItem as Z, CarouselItem as _, ChatInstance as a, InputConfig as a$, CdsAiChatContainerAttributes as a0, CdsAiChatCustomElementAttributes as a1, ChainOfThoughtStep as a2, ChangeFunction as a3, ChatInstanceInput as a4, ChatInstanceMessaging as a5, ChatInstanceServiceDeskActions as a6, ChatShortcutConfig as a7, Chunk as a8, CompleteItemChunk as a9, FileUpload as aB, FileUploadCapabilities as aC, FinalResponseChunk as aD, GenericItem as aE, GenericItemCustomFooterSlotOptions as aF, GenericItemMessageFeedbackCategories as aG, GenericItemMessageFeedbackOptions as aH, GenericItemMessageOptions as aI, GridItem as aJ, HeaderConfig as aK, HistoryConfig as aM, HistoryItem as aN, HomeScreenConfig as aO, HomeScreenStarterButton as aP, HomeScreenStarterButtons as aQ, HomeScreenState as aR, HorizontalCellAlignment as aS, IFrameItem as aV, ImageItem as aX, IncreaseOrDecrease as aY, InlineErrorItem as aZ, InlineFile as a_, ConnectToHumanAgentItem as aa, ConnectToHumanAgentItemTransferInfo as ab, ConnectingErrorInfo as ac, ConversationalSearchItem as ad, ConversationalSearchItemCitation as ae, CustomMenuOption as ag, CustomPanelConfigOptions as ah, CustomPanelInstance as ai, CustomPanelOpenOptions as aj, CustomPanels as ak, CustomSendMessageOptions as al, DateItem as am, DeepPartial as an, DefaultCustomPanelConfigOptions as ao, DisclaimerPublicConfig as ap, DisconnectedErrorInfo as aq, EndChatInfo as ar, EventBusHandler as at, EventHandlers as au, EventInput as av, EventInputData as aw, ExternalFileReference as ax, FileFieldValue as az, BusEventViewChange as b, ServiceDesk as b$, ItemStreamingMetadata as b0, KeyboardShortcuts as b1, LanguagePack as b2, LauncherCallToActionConfig as b3, LauncherConfig as b4, LayoutConfig as b5, MediaFileAccessibility as b7, MediaItem as b8, MediaItemDimensions as b9, PartialOrCompleteItemChunk as bA, PartialResponse as bB, PauseItem as bC, PerCornerConfig as bD, PersistedHumanAgentState as bE, PreviewCardItem as bF, PublicChatHumanAgentState as bG, PublicChatState as bH, PublicConfig as bI, PublicConfigMessaging as bJ, PublicCustomPanelsState as bK, PublicDefaultCustomPanelState as bL, PublicHistoryPanelState as bM, PublicInputState as bN, PublicWorkspaceCustomPanelState as bO, ReasoningStep as bP, ReasoningSteps as bR, RenderCustomMessageFooter as bS, RenderUserDefinedResponse as bT, RenderUserDefinedState as bU, RenderWriteableElementResponse as bV, ResolvedCornerConfig as bW, ResponseUserProfile as bX, SearchResult as bZ, SendOptions as b_, MediaSubtitleTrack as ba, MediaTranscript as bb, Message as bc, MessageHistoryFeedback as be, MessageInput as bf, MessageItemPanelInfo as bh, MessageOutput as bi, MessageRequest as bj, MessageRequestHistory as bk, MessageResponse as bl, MessageResponseHistory as bm, MessageResponseOptions as bn, ObjectMap as br, OnErrorData as bs, OptionItem as bu, PartialItemChunk as by, PartialItemChunkWithId as bz, AgentAvailability as c, ServiceDeskCallback as c0, ServiceDeskCapabilities as c1, ServiceDeskErrorInfo as c2, ServiceDeskFactoryParameters as c3, ServiceDeskPublicConfig as c4, SingleOption as c5, StartChatOptions as c6, StreamChunk as c7, StructuredData as c8, StructuredField as c9, StructuredFieldType as ca, StructuredFieldValue as cb, SystemMessageItem as cc, SystemMessageVariant as cd, TestId as ce, TextItem as cf, TypeAndHandler as cg, UploadConfig as ch, UserDefinedItem as ci, UserMessageErrorInfo as cj, VerticalCellAlignment as cl, VideoItem as cm, ViewState as co, WCRenderUserDefinedResponse as cq, WithBodyAndFooter as cs, WithWidthOptions as ct, WorkspaceCustomPanelConfigOptions as cu, WriteableElements as cw, AudioItem as d, AutoScrollOptions as e, BaseGenericItem as f, BaseMessageInput as g, BusEvent as h, BusEventChatReady as i, BusEventChunkUserDefinedResponse as j, BusEventClosePanelButtonClicked as k, BusEventCustomFooterSlot as l, BusEventCustomPanelClose as m, BusEventCustomPanelOpen as n, BusEventCustomPanelPreClose as o, BusEventCustomPanelPreOpen as p, BusEventFeedback as q, BusEventHeaderMenuClick as r, BusEventHistoryBegin as s, BusEventHistoryEnd as t, BusEventHumanAgentAreAnyAgentsOnline as u, BusEventHumanAgentEndChat as v, BusEventHumanAgentPreEndChat as w, BusEventHumanAgentPreReceive as x, BusEventHumanAgentPreSend as y, BusEventHumanAgentPreStartChat as z };
6245
+ export { BusEventType as N, ButtonItemKind as V, ButtonItemType as W, CancellationReason as X, CarbonTheme as Y, FileStatusValue as aA, HeaderMenuClickType as aL, HumanAgentMessageType as aT, HumanAgentsOnlineStatus as aU, IFrameItemDisplayOption as aW, CornersType as af, ErrorType as as, FeedbackInteractionType as ay, LayoutCustomProperties as b6, ReasoningStepOpenState as bQ, ScreenShareState as bZ, MessageErrorState as bd, MessageInputType as bg, MessageResponseTypes as bo, MessageSendSource as bp, MinimizeButtonIconType as bq, OnErrorType as bt, OptionItemPreference as bv, PageObjectId as bw, PanelType as bx, loadAllLazyDeps as cA, UserType as cl, ViewChangeReason as co, ViewType as cq, WidthOptions as ct, WriteableElementName as cx, enLanguagePack as cz };
6246
+ export type { CatastrophicErrorPanelState as $, AdditionalDataToAgent as A, BusEventViewPreChange as B, ChatContainerProps as C, BusEventHumanAgentReceive as D, BusEventHumanAgentSend as E, BusEventMessageItemCustom as F, BusEventPreReceive as G, BusEventPreReset as H, BusEventPreSend as I, BusEventReceive as J, BusEventReset as K, BusEventSend as L, BusEventStateChange as M, BusEventUserDefinedResponse as O, PersistedState as P, BusEventWorkspaceClose as Q, BusEventWorkspaceOpen as R, BusEventWorkspacePreClose as S, BusEventWorkspacePreOpen as T, ButtonItem as U, CardItem as Z, CarouselItem as _, ChatInstance as a, InputConfig as a$, CdsAiChatContainerAttributes as a0, CdsAiChatCustomElementAttributes as a1, ChainOfThoughtStep as a2, ChangeFunction as a3, ChatInstanceInput as a4, ChatInstanceMessaging as a5, ChatInstanceServiceDeskActions as a6, ChatShortcutConfig as a7, Chunk as a8, CompleteItemChunk as a9, FileUpload as aB, FileUploadCapabilities as aC, FinalResponseChunk as aD, GenericItem as aE, GenericItemCustomFooterSlotOptions as aF, GenericItemMessageFeedbackCategories as aG, GenericItemMessageFeedbackOptions as aH, GenericItemMessageOptions as aI, GridItem as aJ, HeaderConfig as aK, HistoryConfig as aM, HistoryItem as aN, HomeScreenConfig as aO, HomeScreenStarterButton as aP, HomeScreenStarterButtons as aQ, HomeScreenState as aR, HorizontalCellAlignment as aS, IFrameItem as aV, ImageItem as aX, IncreaseOrDecrease as aY, InlineErrorItem as aZ, InlineFile as a_, ConnectToHumanAgentItem as aa, ConnectToHumanAgentItemTransferInfo as ab, ConnectingErrorInfo as ac, ConversationalSearchItem as ad, ConversationalSearchItemCitation as ae, CustomMenuOption as ag, CustomPanelConfigOptions as ah, CustomPanelInstance as ai, CustomPanelOpenOptions as aj, CustomPanels as ak, CustomSendMessageOptions as al, DateItem as am, DeepPartial as an, DefaultCustomPanelConfigOptions as ao, DisclaimerPublicConfig as ap, DisconnectedErrorInfo as aq, EndChatInfo as ar, EventBusHandler as at, EventHandlers as au, EventInput as av, EventInputData as aw, ExternalFileReference as ax, FileFieldValue as az, BusEventViewChange as b, SendOptions as b$, ItemStreamingMetadata as b0, KeyboardShortcuts as b1, LanguagePack as b2, LauncherCallToActionConfig as b3, LauncherConfig as b4, LayoutConfig as b5, MediaFileAccessibility as b7, MediaItem as b8, MediaItemDimensions as b9, PartialOrCompleteItemChunk as bA, PartialResponse as bB, PauseItem as bC, PerCornerConfig as bD, PersistedHumanAgentState as bE, PreviewCardItem as bF, PublicChatHumanAgentState as bG, PublicChatState as bH, PublicConfig as bI, PublicConfigMessaging as bJ, PublicCustomPanelsState as bK, PublicDefaultCustomPanelState as bL, PublicHistoryPanelState as bM, PublicInputState as bN, PublicWorkspaceCustomPanelState as bO, ReasoningStep as bP, ReasoningSteps as bR, RenderCustomMessageFooter as bS, RenderCustomMessageFooterState as bT, RenderUserDefinedResponse as bU, RenderUserDefinedState as bV, RenderWriteableElementResponse as bW, ResolvedCornerConfig as bX, ResponseUserProfile as bY, SearchResult as b_, MediaSubtitleTrack as ba, MediaTranscript as bb, Message as bc, MessageHistoryFeedback as be, MessageInput as bf, MessageItemPanelInfo as bh, MessageOutput as bi, MessageRequest as bj, MessageRequestHistory as bk, MessageResponse as bl, MessageResponseHistory as bm, MessageResponseOptions as bn, ObjectMap as br, OnErrorData as bs, OptionItem as bu, PartialItemChunk as by, PartialItemChunkWithId as bz, AgentAvailability as c, ServiceDesk as c0, ServiceDeskCallback as c1, ServiceDeskCapabilities as c2, ServiceDeskErrorInfo as c3, ServiceDeskFactoryParameters as c4, ServiceDeskPublicConfig as c5, SingleOption as c6, StartChatOptions as c7, StreamChunk as c8, StructuredData as c9, StructuredField as ca, StructuredFieldType as cb, StructuredFieldValue as cc, SystemMessageItem as cd, SystemMessageVariant as ce, TestId as cf, TextItem as cg, TypeAndHandler as ch, UploadConfig as ci, UserDefinedItem as cj, UserMessageErrorInfo as ck, VerticalCellAlignment as cm, VideoItem as cn, ViewState as cp, WCRenderCustomMessageFooter as cr, WCRenderUserDefinedResponse as cs, WithBodyAndFooter as cu, WithWidthOptions as cv, WorkspaceCustomPanelConfigOptions as cw, WriteableElements as cy, AudioItem as d, AutoScrollOptions as e, BaseGenericItem as f, BaseMessageInput as g, BusEvent as h, BusEventChatReady as i, BusEventChunkUserDefinedResponse as j, BusEventClosePanelButtonClicked as k, BusEventCustomFooterSlot as l, BusEventCustomPanelClose as m, BusEventCustomPanelOpen as n, BusEventCustomPanelPreClose as o, BusEventCustomPanelPreOpen as p, BusEventFeedback as q, BusEventHeaderMenuClick as r, BusEventHistoryBegin as s, BusEventHistoryEnd as t, BusEventHumanAgentAreAnyAgentsOnline as u, BusEventHumanAgentEndChat as v, BusEventHumanAgentPreEndChat as w, BusEventHumanAgentPreReceive as x, BusEventHumanAgentPreSend as y, BusEventHumanAgentPreStartChat as z };
@@ -1,4 +1,4 @@
1
- export { A as AdditionalDataToAgent, c as AgentAvailability, d as AudioItem, e as AutoScrollOptions, f as BaseGenericItem, g as BaseMessageInput, h as BusEvent, i as BusEventChatReady, j as BusEventChunkUserDefinedResponse, k as BusEventClosePanelButtonClicked, m as BusEventCustomPanelClose, n as BusEventCustomPanelOpen, o as BusEventCustomPanelPreClose, p as BusEventCustomPanelPreOpen, q as BusEventFeedback, r as BusEventHeaderMenuClick, s as BusEventHistoryBegin, t as BusEventHistoryEnd, u as BusEventHumanAgentAreAnyAgentsOnline, v as BusEventHumanAgentEndChat, w as BusEventHumanAgentPreEndChat, x as BusEventHumanAgentPreReceive, y as BusEventHumanAgentPreSend, z as BusEventHumanAgentPreStartChat, D as BusEventHumanAgentReceive, E as BusEventHumanAgentSend, F as BusEventMessageItemCustom, G as BusEventPreReceive, H as BusEventPreReset, I as BusEventPreSend, J as BusEventReceive, K as BusEventReset, L as BusEventSend, M as BusEventStateChange, N as BusEventType, O as BusEventUserDefinedResponse, b as BusEventViewChange, B as BusEventViewPreChange, Q as BusEventWorkspaceClose, R as BusEventWorkspaceOpen, S as BusEventWorkspacePreClose, T as BusEventWorkspacePreOpen, U as ButtonItem, V as ButtonItemKind, W as ButtonItemType, X as CancellationReason, Y as CarbonTheme, Z as CardItem, _ as CarouselItem, $ as CatastrophicErrorPanelState, a0 as CdsAiChatContainerAttributes, a1 as CdsAiChatCustomElementAttributes, a2 as ChainOfThoughtStep, a3 as ChangeFunction, a as ChatInstance, a4 as ChatInstanceInput, a5 as ChatInstanceMessaging, a6 as ChatInstanceServiceDeskActions, a7 as ChatShortcutConfig, a8 as Chunk, a9 as CompleteItemChunk, aa as ConnectToHumanAgentItem, ab as ConnectToHumanAgentItemTransferInfo, ac as ConnectingErrorInfo, ad as ConversationalSearchItem, ae as ConversationalSearchItemCitation, af as CornersType, ag as CustomMenuOption, ah as CustomPanelConfigOptions, ai as CustomPanelInstance, aj as CustomPanelOpenOptions, ak as CustomPanels, al as CustomSendMessageOptions, am as DateItem, an as DeepPartial, ao as DefaultCustomPanelConfigOptions, ap as DisclaimerPublicConfig, aq as DisconnectedErrorInfo, ar as EndChatInfo, as as ErrorType, at as EventBusHandler, au as EventHandlers, av as EventInput, aw as EventInputData, ax as ExternalFileReference, ay as FeedbackInteractionType, az as FileFieldValue, aA as FileStatusValue, aB as FileUpload, aC as FileUploadCapabilities, aD as FinalResponseChunk, aE as GenericItem, aG as GenericItemMessageFeedbackCategories, aH as GenericItemMessageFeedbackOptions, aI as GenericItemMessageOptions, aJ as GridItem, aK as HeaderConfig, aL as HeaderMenuClickType, aM as HistoryConfig, aN as HistoryItem, aO as HomeScreenConfig, aP as HomeScreenStarterButton, aQ as HomeScreenStarterButtons, aR as HomeScreenState, aS as HorizontalCellAlignment, aT as HumanAgentMessageType, aU as HumanAgentsOnlineStatus, aV as IFrameItem, aW as IFrameItemDisplayOption, aX as ImageItem, aY as IncreaseOrDecrease, aZ as InlineErrorItem, a_ as InlineFile, a$ as InputConfig, b0 as ItemStreamingMetadata, b1 as KeyboardShortcuts, b2 as LanguagePack, b3 as LauncherCallToActionConfig, b4 as LauncherConfig, b5 as LayoutConfig, b6 as LayoutCustomProperties, b7 as MediaFileAccessibility, b8 as MediaItem, b9 as MediaItemDimensions, ba as MediaSubtitleTrack, bb as MediaTranscript, bc as Message, bd as MessageErrorState, be as MessageHistoryFeedback, bf as MessageInput, bg as MessageInputType, bh as MessageItemPanelInfo, bi as MessageOutput, bj as MessageRequest, bk as MessageRequestHistory, bl as MessageResponse, bm as MessageResponseHistory, bn as MessageResponseOptions, bo as MessageResponseTypes, bp as MessageSendSource, bq as MinimizeButtonIconType, br as ObjectMap, bs as OnErrorData, bt as OnErrorType, bu as OptionItem, bv as OptionItemPreference, bw as PageObjectId, bx as PanelType, by as PartialItemChunk, bz as PartialItemChunkWithId, bA as PartialOrCompleteItemChunk, bB as PartialResponse, bC as PauseItem, bE as PersistedHumanAgentState, P as PersistedState, bF as PreviewCardItem, bG as PublicChatHumanAgentState, bH as PublicChatState, bI as PublicConfig, bJ as PublicConfigMessaging, bK as PublicCustomPanelsState, bL as PublicDefaultCustomPanelState, bM as PublicHistoryPanelState, bN as PublicInputState, bO as PublicWorkspaceCustomPanelState, bP as ReasoningStep, bQ as ReasoningStepOpenState, bR as ReasoningSteps, bS as RenderCustomMessageFooter, bT as RenderUserDefinedResponse, bU as RenderUserDefinedState, bV as RenderWriteableElementResponse, bX as ResponseUserProfile, bY as ScreenShareState, bZ as SearchResult, b_ as SendOptions, b$ as ServiceDesk, c0 as ServiceDeskCallback, c1 as ServiceDeskCapabilities, c2 as ServiceDeskErrorInfo, c3 as ServiceDeskFactoryParameters, c4 as ServiceDeskPublicConfig, c5 as SingleOption, c6 as StartChatOptions, c7 as StreamChunk, c8 as StructuredData, c9 as StructuredField, ca as StructuredFieldType, cb as StructuredFieldValue, cc as SystemMessageItem, cd as SystemMessageVariant, ce as TestId, cf as TextItem, cg as TypeAndHandler, ch as UploadConfig, ci as UserDefinedItem, cj as UserMessageErrorInfo, ck as UserType, cl as VerticalCellAlignment, cm as VideoItem, cn as ViewChangeReason, co as ViewState, cp as ViewType, cr as WidthOptions, cs as WithBodyAndFooter, ct as WithWidthOptions, cu as WorkspaceCustomPanelConfigOptions, cv as WriteableElementName, cw as WriteableElements, cx as enLanguagePack, cy as loadAllLazyDeps } from './serverEntry-CU81SMOz.js';
1
+ export { A as AdditionalDataToAgent, c as AgentAvailability, d as AudioItem, e as AutoScrollOptions, f as BaseGenericItem, g as BaseMessageInput, h as BusEvent, i as BusEventChatReady, j as BusEventChunkUserDefinedResponse, k as BusEventClosePanelButtonClicked, m as BusEventCustomPanelClose, n as BusEventCustomPanelOpen, o as BusEventCustomPanelPreClose, p as BusEventCustomPanelPreOpen, q as BusEventFeedback, r as BusEventHeaderMenuClick, s as BusEventHistoryBegin, t as BusEventHistoryEnd, u as BusEventHumanAgentAreAnyAgentsOnline, v as BusEventHumanAgentEndChat, w as BusEventHumanAgentPreEndChat, x as BusEventHumanAgentPreReceive, y as BusEventHumanAgentPreSend, z as BusEventHumanAgentPreStartChat, D as BusEventHumanAgentReceive, E as BusEventHumanAgentSend, F as BusEventMessageItemCustom, G as BusEventPreReceive, H as BusEventPreReset, I as BusEventPreSend, J as BusEventReceive, K as BusEventReset, L as BusEventSend, M as BusEventStateChange, N as BusEventType, O as BusEventUserDefinedResponse, b as BusEventViewChange, B as BusEventViewPreChange, Q as BusEventWorkspaceClose, R as BusEventWorkspaceOpen, S as BusEventWorkspacePreClose, T as BusEventWorkspacePreOpen, U as ButtonItem, V as ButtonItemKind, W as ButtonItemType, X as CancellationReason, Y as CarbonTheme, Z as CardItem, _ as CarouselItem, $ as CatastrophicErrorPanelState, a0 as CdsAiChatContainerAttributes, a1 as CdsAiChatCustomElementAttributes, a2 as ChainOfThoughtStep, a3 as ChangeFunction, a as ChatInstance, a4 as ChatInstanceInput, a5 as ChatInstanceMessaging, a6 as ChatInstanceServiceDeskActions, a7 as ChatShortcutConfig, a8 as Chunk, a9 as CompleteItemChunk, aa as ConnectToHumanAgentItem, ab as ConnectToHumanAgentItemTransferInfo, ac as ConnectingErrorInfo, ad as ConversationalSearchItem, ae as ConversationalSearchItemCitation, af as CornersType, ag as CustomMenuOption, ah as CustomPanelConfigOptions, ai as CustomPanelInstance, aj as CustomPanelOpenOptions, ak as CustomPanels, al as CustomSendMessageOptions, am as DateItem, an as DeepPartial, ao as DefaultCustomPanelConfigOptions, ap as DisclaimerPublicConfig, aq as DisconnectedErrorInfo, ar as EndChatInfo, as as ErrorType, at as EventBusHandler, au as EventHandlers, av as EventInput, aw as EventInputData, ax as ExternalFileReference, ay as FeedbackInteractionType, az as FileFieldValue, aA as FileStatusValue, aB as FileUpload, aC as FileUploadCapabilities, aD as FinalResponseChunk, aE as GenericItem, aG as GenericItemMessageFeedbackCategories, aH as GenericItemMessageFeedbackOptions, aI as GenericItemMessageOptions, aJ as GridItem, aK as HeaderConfig, aL as HeaderMenuClickType, aM as HistoryConfig, aN as HistoryItem, aO as HomeScreenConfig, aP as HomeScreenStarterButton, aQ as HomeScreenStarterButtons, aR as HomeScreenState, aS as HorizontalCellAlignment, aT as HumanAgentMessageType, aU as HumanAgentsOnlineStatus, aV as IFrameItem, aW as IFrameItemDisplayOption, aX as ImageItem, aY as IncreaseOrDecrease, aZ as InlineErrorItem, a_ as InlineFile, a$ as InputConfig, b0 as ItemStreamingMetadata, b1 as KeyboardShortcuts, b2 as LanguagePack, b3 as LauncherCallToActionConfig, b4 as LauncherConfig, b5 as LayoutConfig, b6 as LayoutCustomProperties, b7 as MediaFileAccessibility, b8 as MediaItem, b9 as MediaItemDimensions, ba as MediaSubtitleTrack, bb as MediaTranscript, bc as Message, bd as MessageErrorState, be as MessageHistoryFeedback, bf as MessageInput, bg as MessageInputType, bh as MessageItemPanelInfo, bi as MessageOutput, bj as MessageRequest, bk as MessageRequestHistory, bl as MessageResponse, bm as MessageResponseHistory, bn as MessageResponseOptions, bo as MessageResponseTypes, bp as MessageSendSource, bq as MinimizeButtonIconType, br as ObjectMap, bs as OnErrorData, bt as OnErrorType, bu as OptionItem, bv as OptionItemPreference, bw as PageObjectId, bx as PanelType, by as PartialItemChunk, bz as PartialItemChunkWithId, bA as PartialOrCompleteItemChunk, bB as PartialResponse, bC as PauseItem, bE as PersistedHumanAgentState, P as PersistedState, bF as PreviewCardItem, bG as PublicChatHumanAgentState, bH as PublicChatState, bI as PublicConfig, bJ as PublicConfigMessaging, bK as PublicCustomPanelsState, bL as PublicDefaultCustomPanelState, bM as PublicHistoryPanelState, bN as PublicInputState, bO as PublicWorkspaceCustomPanelState, bP as ReasoningStep, bQ as ReasoningStepOpenState, bR as ReasoningSteps, bS as RenderCustomMessageFooter, bT as RenderCustomMessageFooterState, bU as RenderUserDefinedResponse, bV as RenderUserDefinedState, bW as RenderWriteableElementResponse, bY as ResponseUserProfile, bZ as ScreenShareState, b_ as SearchResult, b$ as SendOptions, c0 as ServiceDesk, c1 as ServiceDeskCallback, c2 as ServiceDeskCapabilities, c3 as ServiceDeskErrorInfo, c4 as ServiceDeskFactoryParameters, c5 as ServiceDeskPublicConfig, c6 as SingleOption, c7 as StartChatOptions, c8 as StreamChunk, c9 as StructuredData, ca as StructuredField, cb as StructuredFieldType, cc as StructuredFieldValue, cd as SystemMessageItem, ce as SystemMessageVariant, cf as TestId, cg as TextItem, ch as TypeAndHandler, ci as UploadConfig, cj as UserDefinedItem, ck as UserMessageErrorInfo, cl as UserType, cm as VerticalCellAlignment, cn as VideoItem, co as ViewChangeReason, cp as ViewState, cq as ViewType, ct as WidthOptions, cu as WithBodyAndFooter, cv as WithWidthOptions, cw as WorkspaceCustomPanelConfigOptions, cx as WriteableElementName, cy as WriteableElements, cz as enLanguagePack, cA as loadAllLazyDeps } from './serverEntry-mONw-M8N.js';
2
2
  export { ChainOfThoughtStepStatus } from '@carbon/ai-chat-components/es/components/chain-of-thought/defs.js';
3
3
  import '@carbon/web-components/es/components/button/defs.js';
4
4
  import '@carbon/ai-chat-components/es/react/chat-button.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carbon/ai-chat",
3
- "version": "1.13.0",
3
+ "version": "1.14.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",
@@ -80,7 +80,7 @@
80
80
  "@carbon/icons": "^11.53.0",
81
81
  "@carbon/styles": "^1.105.0",
82
82
  "@carbon/themes": "^11.58.0",
83
- "@carbon/typedoc-theme": "^0.2.0",
83
+ "@carbon/typedoc-theme": "^0.3.0",
84
84
  "@carbon/web-components": "^2.54.0",
85
85
  "@open-wc/testing": "4.0.0",
86
86
  "@rollup/plugin-babel": "^7.0.0",
@@ -116,7 +116,7 @@
116
116
  "rollup-plugin-dts": "^6.2.1",
117
117
  "rollup-plugin-postcss": "^4.0.2",
118
118
  "rollup-plugin-visualizer": "^6.0.3",
119
- "sass": "1.99.0",
119
+ "sass": "1.100.0",
120
120
  "serve": "^14.2.6",
121
121
  "terser": "^5.43.1",
122
122
  "ts-jest": "^29.1.5",
@@ -131,7 +131,7 @@
131
131
  "react-dom": ">=17.0.0 <20.0.0"
132
132
  },
133
133
  "dependencies": {
134
- "@carbon/ai-chat-components": "^1.3.0",
134
+ "@carbon/ai-chat-components": "^1.4.0",
135
135
  "@carbon/icons": "^11.53.0",
136
136
  "@ibm/telemetry-js": "^1.10.2",
137
137
  "@lit/react": "^1.0.6",
@@ -162,5 +162,5 @@
162
162
  "url": "https://github.com/carbon-design-system/carbon-ai-chat/issues"
163
163
  },
164
164
  "homepage": "https://github.com/carbon-design-system/carbon-ai-chat#readme",
165
- "gitHead": "ee9fee4a1e7d1e4960bca119ad2515e78044abb9"
165
+ "gitHead": "53c38230e329ea2bec35b568b6ee7d4c9f760137"
166
166
  }
package/telemetry.yml CHANGED
@@ -9,36 +9,15 @@ collect:
9
9
  allowedAttributeNames:
10
10
  # General
11
11
  - element
12
- - strings
13
12
  # cds-aichat-container
14
- - ai-disabled
15
- - ai-enabled
16
- - assistant-name
17
- - assistantAvatarUrl
18
- - debug
19
- - disable-custom-element-mobile-enhancements
20
- - disclaimer
21
- - expose-service-manager-for-testing
22
- - header
23
- - history
24
- - homescreen
25
- - inject-carbon-theme
26
- - input
27
- - is-readonly
28
- - launcher
29
- - layout
30
- - locale
31
- - messaging
32
- - namespace
33
- - open-chat-by-default
34
- - service-desk
35
- - should-sanitize-html
36
- - should-take-focus-if-opens-automatically
13
+ - onViewChange
14
+ - onViewPreChange
37
15
  # cds-aichat-internal
38
16
  - config
39
17
  - onAfterRender
40
18
  - onBeforeRender
41
19
  - serviceDesk
20
+ - strings
42
21
  # cds-aichat-stop-streaming-button
43
22
  - disabled
44
23
  - label