@carbon/ai-chat 0.5.1 → 0.5.2
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.map +1 -0
- package/dist/es/chat.AppContainer.js +5 -2
- package/dist/es/chat.ChatAppEntry.js +17338 -0
- package/dist/es/chat.ChatAppEntry.js.map +1 -0
- package/dist/es/chat.PageObjectId.js +905 -0
- package/dist/es/chat.PageObjectId.js.map +1 -0
- package/dist/es/serverEntry.js +13 -0
- package/dist/es/serverEntry.js.map +1 -0
- package/dist/es/web-components/cds-aichat-container/index.js.map +1 -0
- package/dist/es/web-components/cds-aichat-custom-element/index.js.map +1 -0
- package/dist/types/serverEntry-C7dK61Jb.d.ts +4434 -0
- package/dist/types/serverEntry-Cad3Ek2W.d.ts +4430 -0
- package/dist/types/serverEntry-DvtEiqn2.d.ts +4452 -0
- package/dist/types/serverEntry.d.ts +7 -0
- package/package.json +2 -2
|
@@ -0,0 +1,905 @@
|
|
|
1
|
+
var ViewType;
|
|
2
|
+
|
|
3
|
+
(function(ViewType) {
|
|
4
|
+
ViewType["LAUNCHER"] = "launcher";
|
|
5
|
+
ViewType["MAIN_WINDOW"] = "mainWindow";
|
|
6
|
+
})(ViewType || (ViewType = {}));
|
|
7
|
+
|
|
8
|
+
var WriteableElementName;
|
|
9
|
+
|
|
10
|
+
(function(WriteableElementName) {
|
|
11
|
+
WriteableElementName["AI_TOOLTIP_AFTER_DESCRIPTION_ELEMENT"] = "aiTooltipAfterDescriptionElement";
|
|
12
|
+
WriteableElementName["WELCOME_NODE_BEFORE_ELEMENT"] = "welcomeNodeBeforeElement";
|
|
13
|
+
WriteableElementName["HEADER_BOTTOM_ELEMENT"] = "headerBottomElement";
|
|
14
|
+
WriteableElementName["BEFORE_INPUT_ELEMENT"] = "beforeInputElement";
|
|
15
|
+
WriteableElementName["HOME_SCREEN_BEFORE_INPUT_ELEMENT"] = "homeScreenBeforeInputElement";
|
|
16
|
+
WriteableElementName["HOME_SCREEN_AFTER_STARTERS_ELEMENT"] = "homeScreenAfterStartersElement";
|
|
17
|
+
WriteableElementName["HOME_SCREEN_HEADER_BOTTOM_ELEMENT"] = "homeScreenHeaderBottomElement";
|
|
18
|
+
WriteableElementName["CUSTOM_PANEL_ELEMENT"] = "customPanelElement";
|
|
19
|
+
})(WriteableElementName || (WriteableElementName = {}));
|
|
20
|
+
|
|
21
|
+
var CornersType;
|
|
22
|
+
|
|
23
|
+
(function(CornersType) {
|
|
24
|
+
CornersType["ROUND"] = "round";
|
|
25
|
+
CornersType["SQUARE"] = "square";
|
|
26
|
+
})(CornersType || (CornersType = {}));
|
|
27
|
+
|
|
28
|
+
var BusEventType;
|
|
29
|
+
|
|
30
|
+
(function(BusEventType) {
|
|
31
|
+
BusEventType["CLOSE_PANEL_BUTTON_TOGGLED"] = "closePanelButton:toggled";
|
|
32
|
+
BusEventType["PRE_RECEIVE"] = "pre:receive";
|
|
33
|
+
BusEventType["RECEIVE"] = "receive";
|
|
34
|
+
BusEventType["PRE_SEND"] = "pre:send";
|
|
35
|
+
BusEventType["SEND"] = "send";
|
|
36
|
+
BusEventType["VIEW_PRE_CHANGE"] = "view:pre:change";
|
|
37
|
+
BusEventType["VIEW_CHANGE"] = "view:change";
|
|
38
|
+
BusEventType["MESSAGE_ITEM_CUSTOM"] = "messageItemCustom";
|
|
39
|
+
BusEventType["USER_DEFINED_RESPONSE"] = "userDefinedResponse";
|
|
40
|
+
BusEventType["HISTORY_BEGIN"] = "history:begin";
|
|
41
|
+
BusEventType["HISTORY_END"] = "history:end";
|
|
42
|
+
BusEventType["PRE_RESTART_CONVERSATION"] = "pre:restartConversation";
|
|
43
|
+
BusEventType["RESTART_CONVERSATION"] = "restartConversation";
|
|
44
|
+
BusEventType["CHAT_READY"] = "chat:ready";
|
|
45
|
+
BusEventType["CUSTOM_PANEL_PRE_OPEN"] = "customPanel:pre:open";
|
|
46
|
+
BusEventType["CUSTOM_PANEL_OPEN"] = "customPanel:open";
|
|
47
|
+
BusEventType["CUSTOM_PANEL_PRE_CLOSE"] = "customPanel:pre:close";
|
|
48
|
+
BusEventType["CUSTOM_PANEL_CLOSE"] = "customPanel:close";
|
|
49
|
+
BusEventType["HUMAN_AGENT_PRE_RECEIVE"] = "human_agent:pre:receive";
|
|
50
|
+
BusEventType["HUMAN_AGENT_RECEIVE"] = "human_agent:receive";
|
|
51
|
+
BusEventType["HUMAN_AGENT_PRE_SEND"] = "human_agent:pre:send";
|
|
52
|
+
BusEventType["HUMAN_AGENT_SEND"] = "human_agent:send";
|
|
53
|
+
BusEventType["HUMAN_AGENT_PRE_START_CHAT"] = "human_agent:pre:startChat";
|
|
54
|
+
BusEventType["HUMAN_AGENT_PRE_END_CHAT"] = "human_agent:pre:endChat";
|
|
55
|
+
BusEventType["HUMAN_AGENT_END_CHAT"] = "human_agent:endChat";
|
|
56
|
+
BusEventType["HUMAN_AGENT_ARE_ANY_AGENTS_ONLINE"] = "human_agent:areAnyAgentsOnline";
|
|
57
|
+
BusEventType["CHUNK_USER_DEFINED_RESPONSE"] = "chunk:userDefinedResponse";
|
|
58
|
+
BusEventType["FEEDBACK"] = "feedback";
|
|
59
|
+
BusEventType["STOP_STREAMING"] = "stopStreaming";
|
|
60
|
+
BusEventType["STATE_CHANGE"] = "state:change";
|
|
61
|
+
BusEventType["DISCLAIMER_ACCEPTED"] = "disclaimerAccepted";
|
|
62
|
+
})(BusEventType || (BusEventType = {}));
|
|
63
|
+
|
|
64
|
+
var ViewChangeReason;
|
|
65
|
+
|
|
66
|
+
(function(ViewChangeReason) {
|
|
67
|
+
ViewChangeReason["WEB_CHAT_LOADED"] = "webChatLoaded";
|
|
68
|
+
ViewChangeReason["LAUNCHER_CLICKED"] = "launcherClicked";
|
|
69
|
+
ViewChangeReason["MAIN_WINDOW_MINIMIZED"] = "mainWindowMinimized";
|
|
70
|
+
ViewChangeReason["CALLED_CHANGE_VIEW"] = "calledChangeView";
|
|
71
|
+
})(ViewChangeReason || (ViewChangeReason = {}));
|
|
72
|
+
|
|
73
|
+
var MessageSendSource;
|
|
74
|
+
|
|
75
|
+
(function(MessageSendSource) {
|
|
76
|
+
MessageSendSource["MESSAGE_INPUT"] = "messageInput";
|
|
77
|
+
MessageSendSource["HOME_SCREEN_INPUT"] = "homeScreenInput";
|
|
78
|
+
MessageSendSource["OPTION_BUTTON"] = "optionButton";
|
|
79
|
+
MessageSendSource["OPTION_DROP_DOWN"] = "optionDropDown";
|
|
80
|
+
MessageSendSource["HYDRATE_RESEND"] = "hydrateResend";
|
|
81
|
+
MessageSendSource["HISTORY_UPDATE"] = "historyUpdate";
|
|
82
|
+
MessageSendSource["INSTANCE_SEND"] = "instanceSend";
|
|
83
|
+
MessageSendSource["DATE_PICKER"] = "datePicker";
|
|
84
|
+
MessageSendSource["POST_BACK_BUTTON"] = "postBackButton";
|
|
85
|
+
MessageSendSource["HOME_SCREEN_STARTER"] = "homeScreenStarter";
|
|
86
|
+
MessageSendSource["WELCOME_REQUEST"] = "welcomeRequest";
|
|
87
|
+
MessageSendSource["EVENT"] = "event";
|
|
88
|
+
MessageSendSource["OTHER"] = "other";
|
|
89
|
+
})(MessageSendSource || (MessageSendSource = {}));
|
|
90
|
+
|
|
91
|
+
var FeedbackInteractionType;
|
|
92
|
+
|
|
93
|
+
(function(FeedbackInteractionType) {
|
|
94
|
+
FeedbackInteractionType["DETAILS_OPENED"] = "detailsOpened";
|
|
95
|
+
FeedbackInteractionType["DETAILS_CLOSED"] = "detailsClosed";
|
|
96
|
+
FeedbackInteractionType["SUBMITTED"] = "submitted";
|
|
97
|
+
})(FeedbackInteractionType || (FeedbackInteractionType = {}));
|
|
98
|
+
|
|
99
|
+
var MainWindowOpenReason;
|
|
100
|
+
|
|
101
|
+
(function(MainWindowOpenReason) {
|
|
102
|
+
MainWindowOpenReason["DEFAULT_LAUNCHER"] = "default_launcher";
|
|
103
|
+
MainWindowOpenReason["OPEN_BY_DEFAULT"] = "open_by_default";
|
|
104
|
+
MainWindowOpenReason["SESSION_HISTORY"] = "session_history";
|
|
105
|
+
})(MainWindowOpenReason || (MainWindowOpenReason = {}));
|
|
106
|
+
|
|
107
|
+
var MainWindowCloseReason;
|
|
108
|
+
|
|
109
|
+
(function(MainWindowCloseReason) {
|
|
110
|
+
MainWindowCloseReason["DEFAULT_MINIMIZE"] = "default_minimize";
|
|
111
|
+
MainWindowCloseReason["MAIN_WINDOW_CLOSED_AND_RESTARTED"] = "main_window_closed_and_restarted";
|
|
112
|
+
})(MainWindowCloseReason || (MainWindowCloseReason = {}));
|
|
113
|
+
|
|
114
|
+
var CancellationReason;
|
|
115
|
+
|
|
116
|
+
(function(CancellationReason) {
|
|
117
|
+
CancellationReason["STOP_STREAMING"] = "Stop streaming";
|
|
118
|
+
CancellationReason["CONVERSATION_RESTARTED"] = "Conversation restarted";
|
|
119
|
+
CancellationReason["TIMEOUT"] = "Request timeout";
|
|
120
|
+
})(CancellationReason || (CancellationReason = {}));
|
|
121
|
+
|
|
122
|
+
var ai_slug_label = "AI explained";
|
|
123
|
+
|
|
124
|
+
var ai_slug_title = "Powered by IBM watsonx";
|
|
125
|
+
|
|
126
|
+
var ai_slug_description = "IBM watsonx is powered by the latest AI models to intelligently process conversations and provide help whenever and wherever you may need it.";
|
|
127
|
+
|
|
128
|
+
var components_overflow_ariaLabel = "Open and close list of options";
|
|
129
|
+
|
|
130
|
+
var components_swiper_currentLabel = "{currentSlideNumber}/{totalSlideCount}";
|
|
131
|
+
|
|
132
|
+
var errors_communicating = "{assistantName} isn't available right now. Problems with a related system are preventing the data from being supplied.";
|
|
133
|
+
|
|
134
|
+
var errors_imageSource = "Image is not available.";
|
|
135
|
+
|
|
136
|
+
var errors_videoSource = "Video is not available.";
|
|
137
|
+
|
|
138
|
+
var errors_audioSource = "Audio is not available.";
|
|
139
|
+
|
|
140
|
+
var errors_iframeSource = "The web page is not available.";
|
|
141
|
+
|
|
142
|
+
var errors_singleMessage = "There is an error with the message you just sent, but feel free to ask me something else.";
|
|
143
|
+
|
|
144
|
+
var errors_ariaMessageRetrying = "We are having some trouble sending your message but are still trying";
|
|
145
|
+
|
|
146
|
+
var errors_ariaMessageFailed = "Your message failed to be sent";
|
|
147
|
+
|
|
148
|
+
var errors_noHumanAgentsAvailable = "No agents are available.";
|
|
149
|
+
|
|
150
|
+
var errors_noHumanAgentsJoined = "No agents accepted the chat";
|
|
151
|
+
|
|
152
|
+
var errors_connectingToHumanAgent = "I'm sorry. Something went wrong and I cannot connect you to an agent right now.";
|
|
153
|
+
|
|
154
|
+
var errors_busy = "I'm sorry, but I can't help you right now. I'm answering questions from lots of people at the moment. Please try again later.";
|
|
155
|
+
|
|
156
|
+
var errors_agentAppSessionExpired = "I'm sorry, but access to the chat history has expired.";
|
|
157
|
+
|
|
158
|
+
var errors_generalContent = "There was an error displaying this content";
|
|
159
|
+
|
|
160
|
+
var errors_somethingWrong = "Something went wrong";
|
|
161
|
+
|
|
162
|
+
var input_ariaLabel = "Message to send";
|
|
163
|
+
|
|
164
|
+
var input_placeholder = "Type something...";
|
|
165
|
+
|
|
166
|
+
var input_buttonLabel = "Click to send message";
|
|
167
|
+
|
|
168
|
+
var input_uploadButtonLabel = "Add files to upload";
|
|
169
|
+
|
|
170
|
+
var window_title = "Chat window";
|
|
171
|
+
|
|
172
|
+
var window_ariaChatRegion = "Chat";
|
|
173
|
+
|
|
174
|
+
var window_ariaChatRegionNamespace = "Chat {namespace}";
|
|
175
|
+
|
|
176
|
+
var window_ariaWindowOpened = "The chat window has been opened";
|
|
177
|
+
|
|
178
|
+
var window_ariaWindowClosed = "The chat window has been closed";
|
|
179
|
+
|
|
180
|
+
var window_ariaWindowLoading = "The chat is loading.";
|
|
181
|
+
|
|
182
|
+
var launcher_isOpen = "Close the chat window";
|
|
183
|
+
|
|
184
|
+
var launcher_isClosed = "Open the chat window";
|
|
185
|
+
|
|
186
|
+
var launcher_desktopGreeting = "Hi! I’m a virtual assistant. How can I help you today?";
|
|
187
|
+
|
|
188
|
+
var launcher_mobileGreeting = "Hi! How can I help you today?";
|
|
189
|
+
|
|
190
|
+
var launcher_ariaIsExpanded = "Close the chat launcher";
|
|
191
|
+
|
|
192
|
+
var launcher_closeButton = "Close";
|
|
193
|
+
|
|
194
|
+
var messages_youSaid = "You said";
|
|
195
|
+
|
|
196
|
+
var messages_assistantSaid = "{assistantName} said";
|
|
197
|
+
|
|
198
|
+
var messages_agentSaid = "The live agent said";
|
|
199
|
+
|
|
200
|
+
var messages_searchResults = "Search results";
|
|
201
|
+
|
|
202
|
+
var messages_searchResultsLink = "Open this search result in a new window";
|
|
203
|
+
|
|
204
|
+
var messages_searchResultsOpenDocument = "Open document";
|
|
205
|
+
|
|
206
|
+
var messages_searchResultsOpenDocumentWithLabel = 'Open document "{documentName}"';
|
|
207
|
+
|
|
208
|
+
var messages_searchResultsExpand = "Expand";
|
|
209
|
+
|
|
210
|
+
var messages_searchResultsCollapse = "Collapse";
|
|
211
|
+
|
|
212
|
+
var messages_assistantIsLoading = "{assistantName} is thinking";
|
|
213
|
+
|
|
214
|
+
var messages_agentIsTyping = "The live agent is typing";
|
|
215
|
+
|
|
216
|
+
var messages_scrollHandle = "Chat history begin";
|
|
217
|
+
|
|
218
|
+
var messages_scrollHandleDetailed = "Chat history begin. Activate to focus the first message then use the arrow, home, and end keys to move between messages. Press escape to exit.";
|
|
219
|
+
|
|
220
|
+
var messages_scrollHandleEnd = "Chat history end";
|
|
221
|
+
|
|
222
|
+
var messages_scrollHandleEndDetailed = "Chat history end. Activate to focus the last message then use the arrow, home, and end keys to move between messages. Press escape to exit.";
|
|
223
|
+
|
|
224
|
+
var messages_scrollMoreButton = "Scroll to bottom";
|
|
225
|
+
|
|
226
|
+
var message_labelAssistant = "{actorName} {timestamp}";
|
|
227
|
+
|
|
228
|
+
var message_labelYou = "You {timestamp}";
|
|
229
|
+
|
|
230
|
+
var notifications_toastClose = "Close notification";
|
|
231
|
+
|
|
232
|
+
var buttons_restart = "Restart conversation";
|
|
233
|
+
|
|
234
|
+
var buttons_cancel = "Cancel";
|
|
235
|
+
|
|
236
|
+
var buttons_retry = "Retry";
|
|
237
|
+
|
|
238
|
+
var options_select = "Select an option";
|
|
239
|
+
|
|
240
|
+
var options_ariaOptionsDisabled = "These options are disabled and cannot be selected";
|
|
241
|
+
|
|
242
|
+
var header_previewLinkTitle = "Assistant preview";
|
|
243
|
+
|
|
244
|
+
var header_ariaAssistantAvatar = "{assistantName} avatar image";
|
|
245
|
+
|
|
246
|
+
var header_overflowMenu_options = "Options";
|
|
247
|
+
|
|
248
|
+
var homeScreen_returnToAssistant = "Return to assistant";
|
|
249
|
+
|
|
250
|
+
var homeScreen_returnToHome = "Return to the home screen";
|
|
251
|
+
|
|
252
|
+
var homeScreen_overflowMenuHomeScreen = "Home screen";
|
|
253
|
+
|
|
254
|
+
var homeScreen_ariaQuickStartListButton = "Quick start menu";
|
|
255
|
+
|
|
256
|
+
var homeScreen_ariaQuickStartListOpened = "The quick start menu has been opened.";
|
|
257
|
+
|
|
258
|
+
var homeScreen_ariaQuickStartListClosed = "The quick start menu has been closed.";
|
|
259
|
+
|
|
260
|
+
var default_agent_availableMessage = "Request an agent, and I'll notify you when they're ready. Your wait time may vary based on availability.";
|
|
261
|
+
|
|
262
|
+
var default_agent_unavailableMessage = "Sorry, no agents are available right now.";
|
|
263
|
+
|
|
264
|
+
var agent_reason_error = "Hmmm... I'm experiencing some difficulties. I need a human agent to manually continue the chat.";
|
|
265
|
+
|
|
266
|
+
var agent_sdMissingWarning = 'No service desk is configured. Unless you have a custom service desk implemented, users will see an error instead of the message below. See the <a href="https://cloud.ibm.com/docs/watson-assistant?topic=watson-assistant-deploy-web-chat-haa" rel="noreferrer noopener" target="_blank">documentation</a> for more information.';
|
|
267
|
+
|
|
268
|
+
var agent_noName = "Live agent";
|
|
269
|
+
|
|
270
|
+
var agent_chatTitle = "Live agent support";
|
|
271
|
+
|
|
272
|
+
var agent_startChat = "Connect to agent";
|
|
273
|
+
|
|
274
|
+
var agent_connecting = "Request for agent sent...";
|
|
275
|
+
|
|
276
|
+
var agent_agentNoNameTitle = "Agent";
|
|
277
|
+
|
|
278
|
+
var agent_agentJoinedName = "{personName} connected.";
|
|
279
|
+
|
|
280
|
+
var agent_agentJoinedNoName = "A live agent connected.";
|
|
281
|
+
|
|
282
|
+
var agent_youConnectedWarning = "If you refresh or leave the current page, you'll have to request a new agent.";
|
|
283
|
+
|
|
284
|
+
var agent_connectingMinutes = "Current wait time is <b>{time, number} {time, plural, one {minute} other {minutes}}</b>.";
|
|
285
|
+
|
|
286
|
+
var agent_connectingQueue = "You're number <b>{position, number}</b> in line.";
|
|
287
|
+
|
|
288
|
+
var agent_ariaHumanAgentAvatar = "Live agent avatar image";
|
|
289
|
+
|
|
290
|
+
var agent_ariaGenericAvatar = "Avatar image";
|
|
291
|
+
|
|
292
|
+
var agent_ariaGenericAssistantAvatar = "Avatar image";
|
|
293
|
+
|
|
294
|
+
var agent_youEndedChat = "You disconnected from the live agent.";
|
|
295
|
+
|
|
296
|
+
var agent_conversationWasEnded = "You disconnected from the live agent.";
|
|
297
|
+
|
|
298
|
+
var agent_disconnected = "Something went wrong and your connection to the live agent was lost. Check your internet connection and then try again to connect to an agent.";
|
|
299
|
+
|
|
300
|
+
var agent_reconnected = "The agent reconnected.";
|
|
301
|
+
|
|
302
|
+
var agent_agentLeftChat = "{personName} disconnected.";
|
|
303
|
+
|
|
304
|
+
var agent_agentLeftChatNoName = "The live agent disconnected.";
|
|
305
|
+
|
|
306
|
+
var agent_agentEndedChat = "{personName} ended the chat.";
|
|
307
|
+
|
|
308
|
+
var agent_agentEndedChatNoName = "The live agent ended the chat.";
|
|
309
|
+
|
|
310
|
+
var agent_transferring = "You're being transferred.";
|
|
311
|
+
|
|
312
|
+
var agent_transferringNoName = "You're being transferred.";
|
|
313
|
+
|
|
314
|
+
var agent_endChat = "Disconnect from live agent?";
|
|
315
|
+
|
|
316
|
+
var agent_confirmSuspendedEndChatTitle = "Disconnect from previous agent?";
|
|
317
|
+
|
|
318
|
+
var agent_confirmSuspendedEndChatMessage = "You are currently connected to an agent. Continuing will disconnect you from the agent and connect you to a new one. Do you want to continue?";
|
|
319
|
+
|
|
320
|
+
var agent_confirmCancelRequestTitle = "Cancel request?";
|
|
321
|
+
|
|
322
|
+
var agent_confirmCancelRequestMessage = "If you continue, you'll cancel your request for an agent.";
|
|
323
|
+
|
|
324
|
+
var agent_confirmCancelRequestNo = "Go back";
|
|
325
|
+
|
|
326
|
+
var agent_confirmCancelRequestYes = "Cancel request";
|
|
327
|
+
|
|
328
|
+
var agent_confirmEndChat = "If you disconnect, you'll have to request a new live agent.";
|
|
329
|
+
|
|
330
|
+
var agent_confirmEndChatNo = "Go back";
|
|
331
|
+
|
|
332
|
+
var agent_confirmEndChatYes = "Disconnect";
|
|
333
|
+
|
|
334
|
+
var agent_confirmEndSuspendedYes = "Continue";
|
|
335
|
+
|
|
336
|
+
var agent_assistantReturned = "Can I help you with anything else?";
|
|
337
|
+
|
|
338
|
+
var agent_newMessage = "New message";
|
|
339
|
+
|
|
340
|
+
var agent_cardButtonChatRequested = "Connecting...";
|
|
341
|
+
|
|
342
|
+
var agent_cardButtonConnected = "Connected";
|
|
343
|
+
|
|
344
|
+
var agent_cardButtonChatEnded = "Disconnected";
|
|
345
|
+
|
|
346
|
+
var agent_cardMessageChatEnded = "You disconnected from the live agent.";
|
|
347
|
+
|
|
348
|
+
var agent_cardMessageConnected = "You're now connected.";
|
|
349
|
+
|
|
350
|
+
var agent_connectButtonCancel = "Cancel";
|
|
351
|
+
|
|
352
|
+
var agent_connectedButtonEndChat = "Disconnect";
|
|
353
|
+
|
|
354
|
+
var agent_connectWaiting = "Waiting...";
|
|
355
|
+
|
|
356
|
+
var agent_defaultMessageToHumanAgent = "Begin conversation";
|
|
357
|
+
|
|
358
|
+
var agent_inputPlaceholderConnecting = "Waiting for agent...";
|
|
359
|
+
|
|
360
|
+
var agent_inputPlaceholderReconnecting = "Reconnecting to agent...";
|
|
361
|
+
|
|
362
|
+
var agent_sharingStopSharingButton = "Stop sharing screen";
|
|
363
|
+
|
|
364
|
+
var agent_sharingRequestTitle = "Screen sharing";
|
|
365
|
+
|
|
366
|
+
var agent_sharingRequestMessage = "The agent has requested you share your screen. You can stop sharing at any time.";
|
|
367
|
+
|
|
368
|
+
var agent_sharingAcceptButton = "Share screen";
|
|
369
|
+
|
|
370
|
+
var agent_sharingDeclineButton = "Decline";
|
|
371
|
+
|
|
372
|
+
var agent_sharingRequested = "You were requested to share your screen.";
|
|
373
|
+
|
|
374
|
+
var agent_sharingAccepted = "You shared your screen.";
|
|
375
|
+
|
|
376
|
+
var agent_sharingDeclined = "You declined to share your screen.";
|
|
377
|
+
|
|
378
|
+
var agent_sharingCancelled = "The screen sharing request was cancelled.";
|
|
379
|
+
|
|
380
|
+
var agent_sharingEnded = "You stopped sharing your screen.";
|
|
381
|
+
|
|
382
|
+
var agent_suspendedWarning = "You are currently connected to an agent.";
|
|
383
|
+
|
|
384
|
+
var icon_ariaUnreadMessages = "There {count, plural, one {is} other {are}} {count, number} unread {count, plural, one {message} other {messages}}";
|
|
385
|
+
|
|
386
|
+
var showMore = "See more";
|
|
387
|
+
|
|
388
|
+
var showMoreResults = "See more";
|
|
389
|
+
|
|
390
|
+
var disclaimer_title = "Disclaimer";
|
|
391
|
+
|
|
392
|
+
var disclaimer_accept = "I accept";
|
|
393
|
+
|
|
394
|
+
var general_ariaCloseInformationOverlay = "Close information panel.";
|
|
395
|
+
|
|
396
|
+
var general_ariaAnnounceOpenedInformationOverlay = "An information panel has been opened.";
|
|
397
|
+
|
|
398
|
+
var general_ariaAnnounceClosedInformationOverlay = "An information panel has been closed.";
|
|
399
|
+
|
|
400
|
+
var general_ariaAnnounceEscapeOverlay = "Press escape or click the close button to close.";
|
|
401
|
+
|
|
402
|
+
var general_returnToAssistant = "Return to assistant";
|
|
403
|
+
|
|
404
|
+
var conversationalSearch_streamingIncomplete = "This message was not completed. Please try again.";
|
|
405
|
+
|
|
406
|
+
var conversationalSearch_viewSourceDocument = "View source";
|
|
407
|
+
|
|
408
|
+
var conversationalSearch_citationsLabel = "Sources";
|
|
409
|
+
|
|
410
|
+
var conversationalSearch_toggleCitations = "Open or close the list of sources";
|
|
411
|
+
|
|
412
|
+
var conversationalSearch_responseStopped = "Response stopped";
|
|
413
|
+
|
|
414
|
+
var launcher_chatNow = "Chat now";
|
|
415
|
+
|
|
416
|
+
var iframe_ariaSourceLoaded = "The web page has loaded.";
|
|
417
|
+
|
|
418
|
+
var iframe_ariaImageAltText = "Preview image for the web page panel.";
|
|
419
|
+
|
|
420
|
+
var iframe_ariaClosePanel = "Close the web page panel.";
|
|
421
|
+
|
|
422
|
+
var iframe_ariaOpenedPanel = "Web page panel has opened.";
|
|
423
|
+
|
|
424
|
+
var iframe_ariaClosedPanel = "Web page panel has closed.";
|
|
425
|
+
|
|
426
|
+
var iframe_ariaClickPreviewCard = "Click to open the web page panel and visit {source}.";
|
|
427
|
+
|
|
428
|
+
var datePicker_chooseDate = "Choose a date ({format})";
|
|
429
|
+
|
|
430
|
+
var datePicker_confirmDate = "Confirm date";
|
|
431
|
+
|
|
432
|
+
var fileSharing_fileTooLarge = "The maximum file size allowed is {maxSize}.";
|
|
433
|
+
|
|
434
|
+
var fileSharing_ariaAnnounceSuccess = "The file was uploaded successfully.";
|
|
435
|
+
|
|
436
|
+
var fileSharing_fileIcon = "File icon";
|
|
437
|
+
|
|
438
|
+
var fileSharing_removeButtonTitle = "Remove file";
|
|
439
|
+
|
|
440
|
+
var fileSharing_statusUploading = "Uploading file";
|
|
441
|
+
|
|
442
|
+
var fileSharing_uploadFailed = "There was an error uploading the file.";
|
|
443
|
+
|
|
444
|
+
var fileSharing_agentMessageText = "File upload";
|
|
445
|
+
|
|
446
|
+
var fileSharing_request = "The agent has requested you upload a file.";
|
|
447
|
+
|
|
448
|
+
var carousel_prevNavButton = "Go to previous slide.";
|
|
449
|
+
|
|
450
|
+
var carousel_nextNavButton = "Go to next slide.";
|
|
451
|
+
|
|
452
|
+
var input_completionsTagApp = "App";
|
|
453
|
+
|
|
454
|
+
var input_completionsTagAssistant = "Assistant";
|
|
455
|
+
|
|
456
|
+
var table_filterPlaceholder = "Filter table";
|
|
457
|
+
|
|
458
|
+
var table_previousPage = "Previous page";
|
|
459
|
+
|
|
460
|
+
var table_nextPage = "Next page";
|
|
461
|
+
|
|
462
|
+
var table_itemsPerPage = "Items per page:";
|
|
463
|
+
|
|
464
|
+
var table_paginationSupplementalText = "of {pagesCount, number} {pagesCount, plural, one {page} other {pages}}";
|
|
465
|
+
|
|
466
|
+
var table_paginationStatus = "{start, number}–{end, number} of {count, number} {count, plural, one {item} other {items}}";
|
|
467
|
+
|
|
468
|
+
var feedback_positiveLabel = "Good response";
|
|
469
|
+
|
|
470
|
+
var feedback_negativeLabel = "Bad response";
|
|
471
|
+
|
|
472
|
+
var feedback_defaultTitle = "Additional feedback";
|
|
473
|
+
|
|
474
|
+
var feedback_defaultPrompt = "Why did you choose this rating?";
|
|
475
|
+
|
|
476
|
+
var feedback_defaultPlaceholder = "Add a comment";
|
|
477
|
+
|
|
478
|
+
var feedback_submitLabel = "Submit";
|
|
479
|
+
|
|
480
|
+
var feedback_cancelLabel = "Cancel";
|
|
481
|
+
|
|
482
|
+
var input_stopResponse = "Stop response";
|
|
483
|
+
|
|
484
|
+
var messages_responseStopped = "Response stopped";
|
|
485
|
+
|
|
486
|
+
var chainOfThought_stepTitle = "{stepNumber, number}: {stepTitle}";
|
|
487
|
+
|
|
488
|
+
var chainOfThought_inputLabel = "Input";
|
|
489
|
+
|
|
490
|
+
var chainOfThought_outputLabel = "Output";
|
|
491
|
+
|
|
492
|
+
var chainOfThought_toolLabel = "Tool";
|
|
493
|
+
|
|
494
|
+
var chainOfThought_statusSucceededLabel = "Succeeded";
|
|
495
|
+
|
|
496
|
+
var chainOfThought_statusFailedLabel = "Failed";
|
|
497
|
+
|
|
498
|
+
var chainOfThought_statusProcessingLabel = "Processing";
|
|
499
|
+
|
|
500
|
+
var chainOfThought_explainabilityLabel = "How did I get this answer?";
|
|
501
|
+
|
|
502
|
+
var enLanguagePackData = {
|
|
503
|
+
ai_slug_label: ai_slug_label,
|
|
504
|
+
ai_slug_title: ai_slug_title,
|
|
505
|
+
ai_slug_description: ai_slug_description,
|
|
506
|
+
components_overflow_ariaLabel: components_overflow_ariaLabel,
|
|
507
|
+
components_swiper_currentLabel: components_swiper_currentLabel,
|
|
508
|
+
errors_communicating: errors_communicating,
|
|
509
|
+
errors_imageSource: errors_imageSource,
|
|
510
|
+
errors_videoSource: errors_videoSource,
|
|
511
|
+
errors_audioSource: errors_audioSource,
|
|
512
|
+
errors_iframeSource: errors_iframeSource,
|
|
513
|
+
errors_singleMessage: errors_singleMessage,
|
|
514
|
+
errors_ariaMessageRetrying: errors_ariaMessageRetrying,
|
|
515
|
+
errors_ariaMessageFailed: errors_ariaMessageFailed,
|
|
516
|
+
errors_noHumanAgentsAvailable: errors_noHumanAgentsAvailable,
|
|
517
|
+
errors_noHumanAgentsJoined: errors_noHumanAgentsJoined,
|
|
518
|
+
errors_connectingToHumanAgent: errors_connectingToHumanAgent,
|
|
519
|
+
errors_busy: errors_busy,
|
|
520
|
+
errors_agentAppSessionExpired: errors_agentAppSessionExpired,
|
|
521
|
+
errors_generalContent: errors_generalContent,
|
|
522
|
+
errors_somethingWrong: errors_somethingWrong,
|
|
523
|
+
input_ariaLabel: input_ariaLabel,
|
|
524
|
+
input_placeholder: input_placeholder,
|
|
525
|
+
input_buttonLabel: input_buttonLabel,
|
|
526
|
+
input_uploadButtonLabel: input_uploadButtonLabel,
|
|
527
|
+
window_title: window_title,
|
|
528
|
+
window_ariaChatRegion: window_ariaChatRegion,
|
|
529
|
+
window_ariaChatRegionNamespace: window_ariaChatRegionNamespace,
|
|
530
|
+
window_ariaWindowOpened: window_ariaWindowOpened,
|
|
531
|
+
window_ariaWindowClosed: window_ariaWindowClosed,
|
|
532
|
+
window_ariaWindowLoading: window_ariaWindowLoading,
|
|
533
|
+
launcher_isOpen: launcher_isOpen,
|
|
534
|
+
launcher_isClosed: launcher_isClosed,
|
|
535
|
+
launcher_desktopGreeting: launcher_desktopGreeting,
|
|
536
|
+
launcher_mobileGreeting: launcher_mobileGreeting,
|
|
537
|
+
launcher_ariaIsExpanded: launcher_ariaIsExpanded,
|
|
538
|
+
launcher_closeButton: launcher_closeButton,
|
|
539
|
+
messages_youSaid: messages_youSaid,
|
|
540
|
+
messages_assistantSaid: messages_assistantSaid,
|
|
541
|
+
messages_agentSaid: messages_agentSaid,
|
|
542
|
+
messages_searchResults: messages_searchResults,
|
|
543
|
+
messages_searchResultsLink: messages_searchResultsLink,
|
|
544
|
+
messages_searchResultsOpenDocument: messages_searchResultsOpenDocument,
|
|
545
|
+
messages_searchResultsOpenDocumentWithLabel: messages_searchResultsOpenDocumentWithLabel,
|
|
546
|
+
messages_searchResultsExpand: messages_searchResultsExpand,
|
|
547
|
+
messages_searchResultsCollapse: messages_searchResultsCollapse,
|
|
548
|
+
messages_assistantIsLoading: messages_assistantIsLoading,
|
|
549
|
+
messages_agentIsTyping: messages_agentIsTyping,
|
|
550
|
+
messages_scrollHandle: messages_scrollHandle,
|
|
551
|
+
messages_scrollHandleDetailed: messages_scrollHandleDetailed,
|
|
552
|
+
messages_scrollHandleEnd: messages_scrollHandleEnd,
|
|
553
|
+
messages_scrollHandleEndDetailed: messages_scrollHandleEndDetailed,
|
|
554
|
+
messages_scrollMoreButton: messages_scrollMoreButton,
|
|
555
|
+
message_labelAssistant: message_labelAssistant,
|
|
556
|
+
message_labelYou: message_labelYou,
|
|
557
|
+
notifications_toastClose: notifications_toastClose,
|
|
558
|
+
buttons_restart: buttons_restart,
|
|
559
|
+
buttons_cancel: buttons_cancel,
|
|
560
|
+
buttons_retry: buttons_retry,
|
|
561
|
+
options_select: options_select,
|
|
562
|
+
options_ariaOptionsDisabled: options_ariaOptionsDisabled,
|
|
563
|
+
header_previewLinkTitle: header_previewLinkTitle,
|
|
564
|
+
header_ariaAssistantAvatar: header_ariaAssistantAvatar,
|
|
565
|
+
header_overflowMenu_options: header_overflowMenu_options,
|
|
566
|
+
homeScreen_returnToAssistant: homeScreen_returnToAssistant,
|
|
567
|
+
homeScreen_returnToHome: homeScreen_returnToHome,
|
|
568
|
+
homeScreen_overflowMenuHomeScreen: homeScreen_overflowMenuHomeScreen,
|
|
569
|
+
homeScreen_ariaQuickStartListButton: homeScreen_ariaQuickStartListButton,
|
|
570
|
+
homeScreen_ariaQuickStartListOpened: homeScreen_ariaQuickStartListOpened,
|
|
571
|
+
homeScreen_ariaQuickStartListClosed: homeScreen_ariaQuickStartListClosed,
|
|
572
|
+
default_agent_availableMessage: default_agent_availableMessage,
|
|
573
|
+
default_agent_unavailableMessage: default_agent_unavailableMessage,
|
|
574
|
+
agent_reason_error: agent_reason_error,
|
|
575
|
+
agent_sdMissingWarning: agent_sdMissingWarning,
|
|
576
|
+
agent_noName: agent_noName,
|
|
577
|
+
agent_chatTitle: agent_chatTitle,
|
|
578
|
+
agent_startChat: agent_startChat,
|
|
579
|
+
agent_connecting: agent_connecting,
|
|
580
|
+
agent_agentNoNameTitle: agent_agentNoNameTitle,
|
|
581
|
+
agent_agentJoinedName: agent_agentJoinedName,
|
|
582
|
+
agent_agentJoinedNoName: agent_agentJoinedNoName,
|
|
583
|
+
agent_youConnectedWarning: agent_youConnectedWarning,
|
|
584
|
+
agent_connectingMinutes: agent_connectingMinutes,
|
|
585
|
+
agent_connectingQueue: agent_connectingQueue,
|
|
586
|
+
agent_ariaHumanAgentAvatar: agent_ariaHumanAgentAvatar,
|
|
587
|
+
agent_ariaGenericAvatar: agent_ariaGenericAvatar,
|
|
588
|
+
agent_ariaGenericAssistantAvatar: agent_ariaGenericAssistantAvatar,
|
|
589
|
+
agent_youEndedChat: agent_youEndedChat,
|
|
590
|
+
agent_conversationWasEnded: agent_conversationWasEnded,
|
|
591
|
+
agent_disconnected: agent_disconnected,
|
|
592
|
+
agent_reconnected: agent_reconnected,
|
|
593
|
+
agent_agentLeftChat: agent_agentLeftChat,
|
|
594
|
+
agent_agentLeftChatNoName: agent_agentLeftChatNoName,
|
|
595
|
+
agent_agentEndedChat: agent_agentEndedChat,
|
|
596
|
+
agent_agentEndedChatNoName: agent_agentEndedChatNoName,
|
|
597
|
+
agent_transferring: agent_transferring,
|
|
598
|
+
agent_transferringNoName: agent_transferringNoName,
|
|
599
|
+
agent_endChat: agent_endChat,
|
|
600
|
+
agent_confirmSuspendedEndChatTitle: agent_confirmSuspendedEndChatTitle,
|
|
601
|
+
agent_confirmSuspendedEndChatMessage: agent_confirmSuspendedEndChatMessage,
|
|
602
|
+
agent_confirmCancelRequestTitle: agent_confirmCancelRequestTitle,
|
|
603
|
+
agent_confirmCancelRequestMessage: agent_confirmCancelRequestMessage,
|
|
604
|
+
agent_confirmCancelRequestNo: agent_confirmCancelRequestNo,
|
|
605
|
+
agent_confirmCancelRequestYes: agent_confirmCancelRequestYes,
|
|
606
|
+
agent_confirmEndChat: agent_confirmEndChat,
|
|
607
|
+
agent_confirmEndChatNo: agent_confirmEndChatNo,
|
|
608
|
+
agent_confirmEndChatYes: agent_confirmEndChatYes,
|
|
609
|
+
agent_confirmEndSuspendedYes: agent_confirmEndSuspendedYes,
|
|
610
|
+
agent_assistantReturned: agent_assistantReturned,
|
|
611
|
+
agent_newMessage: agent_newMessage,
|
|
612
|
+
agent_cardButtonChatRequested: agent_cardButtonChatRequested,
|
|
613
|
+
agent_cardButtonConnected: agent_cardButtonConnected,
|
|
614
|
+
agent_cardButtonChatEnded: agent_cardButtonChatEnded,
|
|
615
|
+
agent_cardMessageChatEnded: agent_cardMessageChatEnded,
|
|
616
|
+
agent_cardMessageConnected: agent_cardMessageConnected,
|
|
617
|
+
agent_connectButtonCancel: agent_connectButtonCancel,
|
|
618
|
+
agent_connectedButtonEndChat: agent_connectedButtonEndChat,
|
|
619
|
+
agent_connectWaiting: agent_connectWaiting,
|
|
620
|
+
agent_defaultMessageToHumanAgent: agent_defaultMessageToHumanAgent,
|
|
621
|
+
agent_inputPlaceholderConnecting: agent_inputPlaceholderConnecting,
|
|
622
|
+
agent_inputPlaceholderReconnecting: agent_inputPlaceholderReconnecting,
|
|
623
|
+
agent_sharingStopSharingButton: agent_sharingStopSharingButton,
|
|
624
|
+
agent_sharingRequestTitle: agent_sharingRequestTitle,
|
|
625
|
+
agent_sharingRequestMessage: agent_sharingRequestMessage,
|
|
626
|
+
agent_sharingAcceptButton: agent_sharingAcceptButton,
|
|
627
|
+
agent_sharingDeclineButton: agent_sharingDeclineButton,
|
|
628
|
+
agent_sharingRequested: agent_sharingRequested,
|
|
629
|
+
agent_sharingAccepted: agent_sharingAccepted,
|
|
630
|
+
agent_sharingDeclined: agent_sharingDeclined,
|
|
631
|
+
agent_sharingCancelled: agent_sharingCancelled,
|
|
632
|
+
agent_sharingEnded: agent_sharingEnded,
|
|
633
|
+
agent_suspendedWarning: agent_suspendedWarning,
|
|
634
|
+
icon_ariaUnreadMessages: icon_ariaUnreadMessages,
|
|
635
|
+
showMore: showMore,
|
|
636
|
+
showMoreResults: showMoreResults,
|
|
637
|
+
disclaimer_title: disclaimer_title,
|
|
638
|
+
disclaimer_accept: disclaimer_accept,
|
|
639
|
+
general_ariaCloseInformationOverlay: general_ariaCloseInformationOverlay,
|
|
640
|
+
general_ariaAnnounceOpenedInformationOverlay: general_ariaAnnounceOpenedInformationOverlay,
|
|
641
|
+
general_ariaAnnounceClosedInformationOverlay: general_ariaAnnounceClosedInformationOverlay,
|
|
642
|
+
general_ariaAnnounceEscapeOverlay: general_ariaAnnounceEscapeOverlay,
|
|
643
|
+
general_returnToAssistant: general_returnToAssistant,
|
|
644
|
+
conversationalSearch_streamingIncomplete: conversationalSearch_streamingIncomplete,
|
|
645
|
+
conversationalSearch_viewSourceDocument: conversationalSearch_viewSourceDocument,
|
|
646
|
+
conversationalSearch_citationsLabel: conversationalSearch_citationsLabel,
|
|
647
|
+
conversationalSearch_toggleCitations: conversationalSearch_toggleCitations,
|
|
648
|
+
conversationalSearch_responseStopped: conversationalSearch_responseStopped,
|
|
649
|
+
launcher_chatNow: launcher_chatNow,
|
|
650
|
+
iframe_ariaSourceLoaded: iframe_ariaSourceLoaded,
|
|
651
|
+
iframe_ariaImageAltText: iframe_ariaImageAltText,
|
|
652
|
+
iframe_ariaClosePanel: iframe_ariaClosePanel,
|
|
653
|
+
iframe_ariaOpenedPanel: iframe_ariaOpenedPanel,
|
|
654
|
+
iframe_ariaClosedPanel: iframe_ariaClosedPanel,
|
|
655
|
+
iframe_ariaClickPreviewCard: iframe_ariaClickPreviewCard,
|
|
656
|
+
datePicker_chooseDate: datePicker_chooseDate,
|
|
657
|
+
datePicker_confirmDate: datePicker_confirmDate,
|
|
658
|
+
fileSharing_fileTooLarge: fileSharing_fileTooLarge,
|
|
659
|
+
fileSharing_ariaAnnounceSuccess: fileSharing_ariaAnnounceSuccess,
|
|
660
|
+
fileSharing_fileIcon: fileSharing_fileIcon,
|
|
661
|
+
fileSharing_removeButtonTitle: fileSharing_removeButtonTitle,
|
|
662
|
+
fileSharing_statusUploading: fileSharing_statusUploading,
|
|
663
|
+
fileSharing_uploadFailed: fileSharing_uploadFailed,
|
|
664
|
+
fileSharing_agentMessageText: fileSharing_agentMessageText,
|
|
665
|
+
fileSharing_request: fileSharing_request,
|
|
666
|
+
carousel_prevNavButton: carousel_prevNavButton,
|
|
667
|
+
carousel_nextNavButton: carousel_nextNavButton,
|
|
668
|
+
input_completionsTagApp: input_completionsTagApp,
|
|
669
|
+
input_completionsTagAssistant: input_completionsTagAssistant,
|
|
670
|
+
table_filterPlaceholder: table_filterPlaceholder,
|
|
671
|
+
table_previousPage: table_previousPage,
|
|
672
|
+
table_nextPage: table_nextPage,
|
|
673
|
+
table_itemsPerPage: table_itemsPerPage,
|
|
674
|
+
table_paginationSupplementalText: table_paginationSupplementalText,
|
|
675
|
+
table_paginationStatus: table_paginationStatus,
|
|
676
|
+
feedback_positiveLabel: feedback_positiveLabel,
|
|
677
|
+
feedback_negativeLabel: feedback_negativeLabel,
|
|
678
|
+
feedback_defaultTitle: feedback_defaultTitle,
|
|
679
|
+
feedback_defaultPrompt: feedback_defaultPrompt,
|
|
680
|
+
feedback_defaultPlaceholder: feedback_defaultPlaceholder,
|
|
681
|
+
feedback_submitLabel: feedback_submitLabel,
|
|
682
|
+
feedback_cancelLabel: feedback_cancelLabel,
|
|
683
|
+
input_stopResponse: input_stopResponse,
|
|
684
|
+
messages_responseStopped: messages_responseStopped,
|
|
685
|
+
chainOfThought_stepTitle: chainOfThought_stepTitle,
|
|
686
|
+
chainOfThought_inputLabel: chainOfThought_inputLabel,
|
|
687
|
+
chainOfThought_outputLabel: chainOfThought_outputLabel,
|
|
688
|
+
chainOfThought_toolLabel: chainOfThought_toolLabel,
|
|
689
|
+
chainOfThought_statusSucceededLabel: chainOfThought_statusSucceededLabel,
|
|
690
|
+
chainOfThought_statusFailedLabel: chainOfThought_statusFailedLabel,
|
|
691
|
+
chainOfThought_statusProcessingLabel: chainOfThought_statusProcessingLabel,
|
|
692
|
+
chainOfThought_explainabilityLabel: chainOfThought_explainabilityLabel
|
|
693
|
+
};
|
|
694
|
+
|
|
695
|
+
const enLanguagePack = enLanguagePackData;
|
|
696
|
+
|
|
697
|
+
var MinimizeButtonIconType;
|
|
698
|
+
|
|
699
|
+
(function(MinimizeButtonIconType) {
|
|
700
|
+
MinimizeButtonIconType["CLOSE"] = "close";
|
|
701
|
+
MinimizeButtonIconType["MINIMIZE"] = "minimize";
|
|
702
|
+
MinimizeButtonIconType["SIDE_PANEL_LEFT"] = "side-panel-left";
|
|
703
|
+
MinimizeButtonIconType["SIDE_PANEL_RIGHT"] = "side-panel-right";
|
|
704
|
+
})(MinimizeButtonIconType || (MinimizeButtonIconType = {}));
|
|
705
|
+
|
|
706
|
+
var CarbonTheme;
|
|
707
|
+
|
|
708
|
+
(function(CarbonTheme) {
|
|
709
|
+
CarbonTheme["WHITE"] = "white";
|
|
710
|
+
CarbonTheme["G10"] = "g10";
|
|
711
|
+
CarbonTheme["G90"] = "g90";
|
|
712
|
+
CarbonTheme["G100"] = "g100";
|
|
713
|
+
})(CarbonTheme || (CarbonTheme = {}));
|
|
714
|
+
|
|
715
|
+
var OnErrorType;
|
|
716
|
+
|
|
717
|
+
(function(OnErrorType) {
|
|
718
|
+
OnErrorType["MESSAGE_COMMUNICATION"] = "MESSAGE_COMMUNICATION";
|
|
719
|
+
OnErrorType["RENDER"] = "RENDER";
|
|
720
|
+
OnErrorType["INTEGRATION_ERROR"] = "INTEGRATION_ERROR";
|
|
721
|
+
OnErrorType["HYDRATION"] = "HYDRATION";
|
|
722
|
+
})(OnErrorType || (OnErrorType = {}));
|
|
723
|
+
|
|
724
|
+
var FileStatusValue;
|
|
725
|
+
|
|
726
|
+
(function(FileStatusValue) {
|
|
727
|
+
FileStatusValue["COMPLETE"] = "complete";
|
|
728
|
+
FileStatusValue["EDIT"] = "edit";
|
|
729
|
+
FileStatusValue["UPLOADING"] = "uploading";
|
|
730
|
+
FileStatusValue["SUCCESS"] = "success";
|
|
731
|
+
})(FileStatusValue || (FileStatusValue = {}));
|
|
732
|
+
|
|
733
|
+
var HumanAgentsOnlineStatus;
|
|
734
|
+
|
|
735
|
+
(function(HumanAgentsOnlineStatus) {
|
|
736
|
+
HumanAgentsOnlineStatus["ONLINE"] = "online";
|
|
737
|
+
HumanAgentsOnlineStatus["OFFLINE"] = "offline";
|
|
738
|
+
HumanAgentsOnlineStatus["UNKNOWN"] = "unknown";
|
|
739
|
+
})(HumanAgentsOnlineStatus || (HumanAgentsOnlineStatus = {}));
|
|
740
|
+
|
|
741
|
+
var ScreenShareState;
|
|
742
|
+
|
|
743
|
+
(function(ScreenShareState) {
|
|
744
|
+
ScreenShareState["ACCEPTED"] = "accepted";
|
|
745
|
+
ScreenShareState["DECLINED"] = "declined";
|
|
746
|
+
ScreenShareState["CANCELLED"] = "cancelled";
|
|
747
|
+
ScreenShareState["ENDED"] = "ended";
|
|
748
|
+
})(ScreenShareState || (ScreenShareState = {}));
|
|
749
|
+
|
|
750
|
+
var ErrorType;
|
|
751
|
+
|
|
752
|
+
(function(ErrorType) {
|
|
753
|
+
ErrorType[ErrorType["CONNECTING"] = 1] = "CONNECTING";
|
|
754
|
+
ErrorType[ErrorType["DISCONNECTED"] = 2] = "DISCONNECTED";
|
|
755
|
+
ErrorType[ErrorType["USER_MESSAGE"] = 3] = "USER_MESSAGE";
|
|
756
|
+
})(ErrorType || (ErrorType = {}));
|
|
757
|
+
|
|
758
|
+
var MessageInputType;
|
|
759
|
+
|
|
760
|
+
(function(MessageInputType) {
|
|
761
|
+
MessageInputType["TEXT"] = "text";
|
|
762
|
+
MessageInputType["EVENT"] = "event";
|
|
763
|
+
})(MessageInputType || (MessageInputType = {}));
|
|
764
|
+
|
|
765
|
+
var InternalMessageRequestType;
|
|
766
|
+
|
|
767
|
+
(function(InternalMessageRequestType) {
|
|
768
|
+
InternalMessageRequestType["FILE"] = "file";
|
|
769
|
+
})(InternalMessageRequestType || (InternalMessageRequestType = {}));
|
|
770
|
+
|
|
771
|
+
var MessageResponseTypes;
|
|
772
|
+
|
|
773
|
+
(function(MessageResponseTypes) {
|
|
774
|
+
MessageResponseTypes["TEXT"] = "text";
|
|
775
|
+
MessageResponseTypes["OPTION"] = "option";
|
|
776
|
+
MessageResponseTypes["CONNECT_TO_HUMAN_AGENT"] = "connect_to_agent";
|
|
777
|
+
MessageResponseTypes["IMAGE"] = "image";
|
|
778
|
+
MessageResponseTypes["PAUSE"] = "pause";
|
|
779
|
+
MessageResponseTypes["USER_DEFINED"] = "user_defined";
|
|
780
|
+
MessageResponseTypes["IFRAME"] = "iframe";
|
|
781
|
+
MessageResponseTypes["VIDEO"] = "video";
|
|
782
|
+
MessageResponseTypes["AUDIO"] = "audio";
|
|
783
|
+
MessageResponseTypes["DATE"] = "date";
|
|
784
|
+
MessageResponseTypes["INLINE_ERROR"] = "inline_error";
|
|
785
|
+
MessageResponseTypes["CARD"] = "card";
|
|
786
|
+
MessageResponseTypes["CAROUSEL"] = "carousel";
|
|
787
|
+
MessageResponseTypes["BUTTON"] = "button";
|
|
788
|
+
MessageResponseTypes["GRID"] = "grid";
|
|
789
|
+
MessageResponseTypes["CONVERSATIONAL_SEARCH"] = "conversational_search";
|
|
790
|
+
})(MessageResponseTypes || (MessageResponseTypes = {}));
|
|
791
|
+
|
|
792
|
+
var HumanAgentMessageType;
|
|
793
|
+
|
|
794
|
+
(function(HumanAgentMessageType) {
|
|
795
|
+
HumanAgentMessageType["INLINE_ERROR"] = "inline_error";
|
|
796
|
+
HumanAgentMessageType["FROM_HUMAN_AGENT"] = "from_agent";
|
|
797
|
+
HumanAgentMessageType["FROM_USER"] = "from_user";
|
|
798
|
+
HumanAgentMessageType["HUMAN_AGENT_LEFT_CHAT"] = "agent_left_chat";
|
|
799
|
+
HumanAgentMessageType["HUMAN_AGENT_ENDED_CHAT"] = "agent_ended_chat";
|
|
800
|
+
HumanAgentMessageType["HUMAN_AGENT_JOINED"] = "agent_joined";
|
|
801
|
+
HumanAgentMessageType["RELOAD_WARNING"] = "user_connected_warning";
|
|
802
|
+
HumanAgentMessageType["TRANSFER_TO_HUMAN_AGENT"] = "transfer_to_agent";
|
|
803
|
+
HumanAgentMessageType["USER_ENDED_CHAT"] = "user_ended_chat";
|
|
804
|
+
HumanAgentMessageType["CHAT_WAS_ENDED"] = "chat_was_ended";
|
|
805
|
+
HumanAgentMessageType["DISCONNECTED"] = "disconnected";
|
|
806
|
+
HumanAgentMessageType["RECONNECTED"] = "reconnected";
|
|
807
|
+
HumanAgentMessageType["SHARING_REQUESTED"] = "sharing_requested";
|
|
808
|
+
HumanAgentMessageType["SHARING_ACCEPTED"] = "sharing_accepted";
|
|
809
|
+
HumanAgentMessageType["SHARING_DECLINED"] = "sharing_declined";
|
|
810
|
+
HumanAgentMessageType["SHARING_CANCELLED"] = "sharing_cancelled";
|
|
811
|
+
HumanAgentMessageType["SHARING_ENDED"] = "sharing_ended";
|
|
812
|
+
HumanAgentMessageType["SYSTEM"] = "system";
|
|
813
|
+
})(HumanAgentMessageType || (HumanAgentMessageType = {}));
|
|
814
|
+
|
|
815
|
+
var ChainOfThoughtStepStatus;
|
|
816
|
+
|
|
817
|
+
(function(ChainOfThoughtStepStatus) {
|
|
818
|
+
ChainOfThoughtStepStatus["PROCESSING"] = "processing";
|
|
819
|
+
ChainOfThoughtStepStatus["FAILURE"] = "failure";
|
|
820
|
+
ChainOfThoughtStepStatus["SUCCESS"] = "success";
|
|
821
|
+
})(ChainOfThoughtStepStatus || (ChainOfThoughtStepStatus = {}));
|
|
822
|
+
|
|
823
|
+
var OptionItemPreference;
|
|
824
|
+
|
|
825
|
+
(function(OptionItemPreference) {
|
|
826
|
+
OptionItemPreference["DROPDOWN"] = "dropdown";
|
|
827
|
+
OptionItemPreference["BUTTON"] = "button";
|
|
828
|
+
})(OptionItemPreference || (OptionItemPreference = {}));
|
|
829
|
+
|
|
830
|
+
var IFrameItemDisplayOption;
|
|
831
|
+
|
|
832
|
+
(function(IFrameItemDisplayOption) {
|
|
833
|
+
IFrameItemDisplayOption["INLINE"] = "inline";
|
|
834
|
+
IFrameItemDisplayOption["PANEL"] = "panel";
|
|
835
|
+
})(IFrameItemDisplayOption || (IFrameItemDisplayOption = {}));
|
|
836
|
+
|
|
837
|
+
var ButtonItemType;
|
|
838
|
+
|
|
839
|
+
(function(ButtonItemType) {
|
|
840
|
+
ButtonItemType["POST_BACK"] = "post_back";
|
|
841
|
+
ButtonItemType["CUSTOM_EVENT"] = "custom_event";
|
|
842
|
+
ButtonItemType["SHOW_PANEL"] = "show_panel";
|
|
843
|
+
ButtonItemType["URL"] = "url";
|
|
844
|
+
})(ButtonItemType || (ButtonItemType = {}));
|
|
845
|
+
|
|
846
|
+
var WidthOptions;
|
|
847
|
+
|
|
848
|
+
(function(WidthOptions) {
|
|
849
|
+
WidthOptions["SMALL"] = "small";
|
|
850
|
+
WidthOptions["MEDIUM"] = "medium";
|
|
851
|
+
WidthOptions["LARGE"] = "large";
|
|
852
|
+
})(WidthOptions || (WidthOptions = {}));
|
|
853
|
+
|
|
854
|
+
var ButtonItemKind;
|
|
855
|
+
|
|
856
|
+
(function(ButtonItemKind) {
|
|
857
|
+
ButtonItemKind["DEFAULT"] = "default";
|
|
858
|
+
ButtonItemKind["SECONDARY"] = "secondary";
|
|
859
|
+
ButtonItemKind["TERTIARY"] = "tertiary";
|
|
860
|
+
ButtonItemKind["DANGER"] = "danger";
|
|
861
|
+
ButtonItemKind["GHOST"] = "ghost";
|
|
862
|
+
ButtonItemKind["LINK"] = "link";
|
|
863
|
+
})(ButtonItemKind || (ButtonItemKind = {}));
|
|
864
|
+
|
|
865
|
+
var UserType;
|
|
866
|
+
|
|
867
|
+
(function(UserType) {
|
|
868
|
+
UserType["HUMAN"] = "human";
|
|
869
|
+
UserType["BOT"] = "bot";
|
|
870
|
+
UserType["WATSONX"] = "watsonx";
|
|
871
|
+
})(UserType || (UserType = {}));
|
|
872
|
+
|
|
873
|
+
var MessageErrorState;
|
|
874
|
+
|
|
875
|
+
(function(MessageErrorState) {
|
|
876
|
+
MessageErrorState[MessageErrorState["NONE"] = 1] = "NONE";
|
|
877
|
+
MessageErrorState[MessageErrorState["FAILED"] = 2] = "FAILED";
|
|
878
|
+
MessageErrorState[MessageErrorState["FAILED_WHILE_STREAMING"] = 3] = "FAILED_WHILE_STREAMING";
|
|
879
|
+
MessageErrorState[MessageErrorState["RETRYING"] = 4] = "RETRYING";
|
|
880
|
+
MessageErrorState[MessageErrorState["WAITING"] = 5] = "WAITING";
|
|
881
|
+
})(MessageErrorState || (MessageErrorState = {}));
|
|
882
|
+
|
|
883
|
+
var PageObjectId;
|
|
884
|
+
|
|
885
|
+
(function(PageObjectId) {
|
|
886
|
+
PageObjectId["CLOSE_CHAT"] = "close_chat";
|
|
887
|
+
PageObjectId["LAUNCHER"] = "launcher_open_chat";
|
|
888
|
+
PageObjectId["INPUT"] = "input_field";
|
|
889
|
+
PageObjectId["INPUT_SEND"] = "input_send";
|
|
890
|
+
PageObjectId["HEADER_TITLE"] = "header_title";
|
|
891
|
+
PageObjectId["HEADER_NAME"] = "header_name";
|
|
892
|
+
PageObjectId["MAIN_PANEL"] = "main_panel";
|
|
893
|
+
PageObjectId["DISCLAIMER_PANEL"] = "disclaimer_panel";
|
|
894
|
+
PageObjectId["DISCLAIMER_ACCEPT_BUTTON"] = "disclaimer_accept_button";
|
|
895
|
+
PageObjectId["HOME_SCREEN_PANEL"] = "home_screen_panel";
|
|
896
|
+
PageObjectId["HYDRATING_PANEL"] = "hydrating_panel";
|
|
897
|
+
PageObjectId["CATASTROPHIC_PANEL"] = "catastrophic_panel";
|
|
898
|
+
PageObjectId["IFRAME_PANEL"] = "iframe_panel";
|
|
899
|
+
PageObjectId["CONVERSATIONAL_SEARCH_CITATION_PANEL"] = "conversational_search_citation_panel";
|
|
900
|
+
PageObjectId["CUSTOM_PANEL"] = "custom_panel";
|
|
901
|
+
PageObjectId["BUTTON_RESPONSE_PANEL"] = "button_response_panel";
|
|
902
|
+
})(PageObjectId || (PageObjectId = {}));
|
|
903
|
+
|
|
904
|
+
export { BusEventType as B, CornersType as C, ErrorType as E, FeedbackInteractionType as F, HumanAgentsOnlineStatus as H, IFrameItemDisplayOption as I, MessageSendSource as M, OnErrorType as O, PageObjectId as P, ScreenShareState as S, UserType as U, ViewType as V, WriteableElementName as W, ViewChangeReason as a, CancellationReason as b, CarbonTheme as c, MinimizeButtonIconType as d, enLanguagePack as e, FileStatusValue as f, ButtonItemKind as g, ButtonItemType as h, MessageInputType as i, MessageResponseTypes as j, OptionItemPreference as k, WidthOptions as l, HumanAgentMessageType as m, ChainOfThoughtStepStatus as n, MessageErrorState as o, InternalMessageRequestType as p, MainWindowOpenReason as q, MainWindowCloseReason as r };
|
|
905
|
+
//# sourceMappingURL=chat.PageObjectId.js.map
|