@carbon/ai-chat 0.1.6 → 0.1.7-alpha0
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/cjs/{cds-aichat-internal.js → AppContainer.js} +615 -7203
- package/dist/cjs/Carousel.js +24 -16
- package/dist/cjs/Chat.js +813 -805
- package/dist/cjs/GenesysMessengerServiceDesk.js +60 -52
- package/dist/cjs/HumanAgentServiceImpl.js +103 -95
- package/dist/cjs/NiceDFOServiceDesk.js +56 -48
- package/dist/cjs/PDFViewerContainer.js +58 -149
- package/dist/cjs/ReactPlayer.js +2 -2
- package/dist/cjs/SFServiceDesk.js +66 -58
- package/dist/cjs/ServiceDeskImpl.js +2 -2
- package/dist/cjs/Table.js +457 -341
- package/dist/cjs/ZendeskServiceDesk.js +36 -28
- package/dist/cjs/_node-resolve_empty.js +2 -2
- package/dist/cjs/agentActions.js +5 -5
- package/dist/cjs/aiChatEntry.js +163 -144
- package/dist/cjs/anonymousUserIDStorage.js +8 -8
- package/dist/cjs/ar-dz.js +4 -4
- package/dist/cjs/ar-kw.js +4 -4
- package/dist/cjs/ar-ly.js +4 -4
- package/dist/cjs/ar-ma.js +4 -4
- package/dist/cjs/ar-sa.js +4 -4
- package/dist/cjs/ar-tn.js +4 -4
- package/dist/cjs/ar.js +4 -4
- package/dist/cjs/ar2.js +2 -2
- package/dist/cjs/cds-aichat-container.js +111 -23
- package/dist/cjs/cds-aichat-custom-element.js +42 -30
- package/dist/cjs/cs.js +4 -4
- package/dist/cjs/cs2.js +2 -2
- package/dist/cjs/de-at.js +4 -4
- package/dist/cjs/de-ch.js +4 -4
- package/dist/cjs/de.js +4 -4
- package/dist/cjs/de2.js +2 -2
- package/dist/cjs/en-au.js +4 -4
- package/dist/cjs/en-ca.js +4 -4
- package/dist/cjs/en-gb.js +4 -4
- package/dist/cjs/en-ie.js +4 -4
- package/dist/cjs/en-il.js +4 -4
- package/dist/cjs/en-nz.js +4 -4
- package/dist/cjs/es-do.js +4 -4
- package/dist/cjs/es-us.js +4 -4
- package/dist/cjs/es.js +4 -4
- package/dist/cjs/es2.js +2 -2
- package/dist/cjs/export.js +3 -3
- package/dist/cjs/export.legacy.js +3 -3
- package/dist/cjs/fontUtils.js +2 -2
- package/dist/cjs/fr-ca.js +4 -4
- package/dist/cjs/fr-ch.js +4 -4
- package/dist/cjs/fr.js +4 -4
- package/dist/cjs/fr2.js +2 -2
- package/dist/cjs/highlight_js.js +2 -2
- package/dist/cjs/it-ch.js +4 -4
- package/dist/cjs/it.js +4 -4
- package/dist/cjs/it2.js +2 -2
- package/dist/cjs/ja.js +4 -4
- package/dist/cjs/ja2.js +2 -2
- package/dist/cjs/ko.js +4 -4
- package/dist/cjs/ko2.js +2 -2
- package/dist/cjs/markdown.js +2362 -14
- package/dist/cjs/mockServiceDesk.js +42 -34
- package/dist/cjs/nl.js +4 -4
- package/dist/cjs/nl2.js +2 -2
- package/dist/cjs/pt-br.js +4 -4
- package/dist/cjs/pt-br2.js +2 -2
- package/dist/cjs/pt.js +4 -4
- package/dist/cjs/render.js +18 -10
- package/dist/cjs/zh-cn.js +4 -4
- package/dist/cjs/zh-tw.js +4 -4
- package/dist/cjs/zh-tw2.js +2 -2
- package/dist/cjs/zh.js +2 -2
- package/dist/es/{cds-aichat-internal.js → AppContainer.js} +1117 -7671
- package/dist/es/Carousel.js +16 -8
- package/dist/es/Chat.js +16 -8
- package/dist/es/GenesysMessengerServiceDesk.js +16 -8
- package/dist/es/HumanAgentServiceImpl.js +16 -8
- package/dist/es/NiceDFOServiceDesk.js +16 -8
- package/dist/es/PDFViewerContainer.js +16 -107
- package/dist/es/ReactPlayer.js +2 -2
- package/dist/es/SFServiceDesk.js +16 -8
- package/dist/es/ServiceDeskImpl.js +2 -2
- package/dist/es/Table.js +426 -310
- package/dist/es/ZendeskServiceDesk.js +16 -8
- package/dist/es/_node-resolve_empty.js +2 -2
- package/dist/es/agentActions.js +3 -3
- package/dist/es/aiChatEntry.js +136 -117
- package/dist/es/anonymousUserIDStorage.js +3 -3
- package/dist/es/ar-dz.js +3 -3
- package/dist/es/ar-kw.js +3 -3
- package/dist/es/ar-ly.js +3 -3
- package/dist/es/ar-ma.js +3 -3
- package/dist/es/ar-sa.js +3 -3
- package/dist/es/ar-tn.js +3 -3
- package/dist/es/ar.js +3 -3
- package/dist/es/ar2.js +2 -2
- package/dist/es/cds-aichat-container.js +103 -15
- package/dist/es/cds-aichat-custom-element.js +30 -18
- package/dist/es/cs.js +3 -3
- package/dist/es/cs2.js +2 -2
- package/dist/es/de-at.js +3 -3
- package/dist/es/de-ch.js +3 -3
- package/dist/es/de.js +3 -3
- package/dist/es/de2.js +2 -2
- package/dist/es/en-au.js +3 -3
- package/dist/es/en-ca.js +3 -3
- package/dist/es/en-gb.js +3 -3
- package/dist/es/en-ie.js +3 -3
- package/dist/es/en-il.js +3 -3
- package/dist/es/en-nz.js +3 -3
- package/dist/es/es-do.js +3 -3
- package/dist/es/es-us.js +3 -3
- package/dist/es/es.js +3 -3
- package/dist/es/es2.js +2 -2
- package/dist/es/export.js +3 -3
- package/dist/es/export.legacy.js +3 -3
- package/dist/es/fontUtils.js +2 -2
- package/dist/es/fr-ca.js +3 -3
- package/dist/es/fr-ch.js +3 -3
- package/dist/es/fr.js +3 -3
- package/dist/es/fr2.js +2 -2
- package/dist/es/highlight_js.js +2 -2
- package/dist/es/it-ch.js +3 -3
- package/dist/es/it.js +3 -3
- package/dist/es/it2.js +2 -2
- package/dist/es/ja.js +3 -3
- package/dist/es/ja2.js +2 -2
- package/dist/es/ko.js +3 -3
- package/dist/es/ko2.js +2 -2
- package/dist/es/markdown.js +2361 -15
- package/dist/es/mockServiceDesk.js +16 -8
- package/dist/es/nl.js +3 -3
- package/dist/es/nl2.js +2 -2
- package/dist/es/pt-br.js +3 -3
- package/dist/es/pt-br2.js +2 -2
- package/dist/es/pt.js +3 -3
- package/dist/es/render.js +17 -9
- package/dist/es/zh-cn.js +3 -3
- package/dist/es/zh-tw.js +3 -3
- package/dist/es/zh-tw2.js +2 -2
- package/dist/es/zh.js +2 -2
- package/dist/types/aiChatEntry.d.ts +69 -9
- package/package.json +27 -14
- package/dist/cjs/jstz.min.js +0 -43
- package/dist/cjs/markdown_attrs.js +0 -805
- package/dist/es/jstz.min.js +0 -41
- package/dist/es/markdown_attrs.js +0 -803
package/dist/es/Carousel.js
CHANGED
|
@@ -13,35 +13,43 @@ is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND
|
|
|
13
13
|
or implied. See the License for the specific language governing permissions and limitations under
|
|
14
14
|
the License.
|
|
15
15
|
|
|
16
|
-
@carbon/ai-chat 0.1.
|
|
16
|
+
@carbon/ai-chat 0.1.7-alpha0
|
|
17
17
|
|
|
18
|
-
Built: Feb
|
|
18
|
+
Built: Feb 12 2025 9:14 am -05:00
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
*/
|
|
23
|
+
import { ChevronLeft, ChevronRight } from '@carbon/icons-react';
|
|
23
24
|
import { Button } from '@carbon/react';
|
|
24
25
|
import React__default, { forwardRef, useState, useRef, useEffect, useLayoutEffect, createContext } from 'react';
|
|
25
26
|
import { useIntl } from 'react-intl';
|
|
26
27
|
import { useSelector } from 'react-redux';
|
|
27
|
-
import {
|
|
28
|
-
import 'lit';
|
|
29
|
-
import 'lit/decorators.js';
|
|
30
|
-
import 'react-dom';
|
|
28
|
+
import { ej as ChatWidthBreakpoint, e8 as useLanguagePack, ek as ButtonKindEnum } from './AppContainer.js';
|
|
31
29
|
import './highlight_js.js';
|
|
30
|
+
import 'classnames';
|
|
31
|
+
import 'tabbable';
|
|
32
32
|
import './markdown.js';
|
|
33
|
-
import '
|
|
33
|
+
import 'tslib';
|
|
34
|
+
import 'lit';
|
|
35
|
+
import 'lit/decorators.js';
|
|
34
36
|
import '@carbon/web-components/es/components/button/index.js';
|
|
35
37
|
import '@carbon/web-components/es/components/overflow-menu/index.js';
|
|
36
38
|
import 'lit/directives/unsafe-html.js';
|
|
39
|
+
import 'prop-types';
|
|
37
40
|
import '@carbon/web-components/es/components/slug/index.js';
|
|
38
41
|
import '@carbon/web-components/es/components/popover/defs.js';
|
|
39
42
|
import '@carbon/web-components/es/components/slug/defs.js';
|
|
43
|
+
import '@floating-ui/react';
|
|
44
|
+
import 'react-dom';
|
|
40
45
|
import '@carbon/web-components/es/components/slug/slug-action-button.js';
|
|
41
46
|
import '@carbon/web-components/es/components/slug/slug.js';
|
|
47
|
+
import '@carbon/web-components/es/components/inline-loading/index.js';
|
|
48
|
+
import '@carbon/icon-helpers';
|
|
49
|
+
import '@carbon/icons';
|
|
50
|
+
import 'lit/directives/unsafe-svg.js';
|
|
42
51
|
import '@carbon/web-components/es/components/textarea/index.js';
|
|
43
52
|
import '@carbon/web-components/es/components/icon-button/index.js';
|
|
44
|
-
import 'lit/directives/unsafe-svg.js';
|
|
45
53
|
import '@carbon/web-components/es/components/tag/index.js';
|
|
46
54
|
import '@carbon/web-components/es/components/chat-button/index.js';
|
|
47
55
|
import '@carbon/web-components/es/components/button/button.js';
|
package/dist/es/Chat.js
CHANGED
|
@@ -13,37 +13,45 @@ is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND
|
|
|
13
13
|
or implied. See the License for the specific language governing permissions and limitations under
|
|
14
14
|
the License.
|
|
15
15
|
|
|
16
|
-
@carbon/ai-chat 0.1.
|
|
16
|
+
@carbon/ai-chat 0.1.7-alpha0
|
|
17
17
|
|
|
18
|
-
Built: Feb
|
|
18
|
+
Built: Feb 12 2025 9:14 am -05:00
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
*/
|
|
23
|
-
import {
|
|
23
|
+
import { t as AlternateSuggestionsContactType, u as getContactLabel, v as createMessageRequestForChoice, w as CONTACT_OPTION, k as MessageSendSource, x as actions, y as consoleError, z as createEventMessageRequest, D as EVENT_NAME_CHANNEL_TRANSFER, G as isEmptyObject, J as HEADER_ACCEPT, K as HEADER_CONTENT_TYPE, N as MIME_JSON, P as API_DEBUGGING_HEADER_NAME, Q as HEADER_AUTHORIZATION, R as ToolingType, U as safeFetchText, X as isJWTError, Y as getNewIdentityToken, Z as MIME_JSON_STREAM, _ as VIEW_STATE_ALL_CLOSED, $ as createLocalMessageForChannelTransferFailure, a0 as createLocalMessageForSessionExpiration, a1 as getRemoteMainConfig, a2 as debugLog, O as OnErrorType, f as CatastrophicErrorType, a3 as createWelcomeRequest, a4 as arrayLastValue, a5 as isLiveAgentMessage, a6 as isRequest, a7 as merge, a8 as getBrowserInfo, a9 as isEnableDebugLog, aa as createMessageRequestForText, ab as addDefaultsToMessage, ac as deepFreeze, ad as cloneDeep, ae as uuid, af as UUIDType, ag as shouldMessageActivateThirdStrike, ah as IS_JEST, ai as sleep, r as isEqual, aj as isResponse, ak as createMessageResponseForText, j as MessageResponseTypes, al as isStreamCompleteItem, am as isStreamPartialItem, an as isStreamFinalResponse, ao as renderAsUserDefinedMessage, ap as isResponseWithNestedItems, aq as asyncForEach, ar as streamItemID, as as isForChatChannel, at as isPause, au as isConnectToAgent, av as hasTourUserDefinedType, aw as outputItemToLocalItem, n as TourStartReason, ax as MainWindowCloseReason, V as ViewChangeReason, ay as createLocalMessageItemsForNestedMessageItems, az as hasServiceDesk, aA as ConnectToAgentBehaviorType, aB as isChannelTransferToAgent, b as AgentsOnlineStatus, aC as isTyping, aD as isPanelResponseType, aE as WA_CONSOLE_PREFIX, aF as doDecodeJWT, s as consoleWarn, aG as mergeCSSVariables, aH as getBotName, aI as OpenReasonsToViewReasons, aJ as CloseReasonsToViewReasons, p as ViewType, aK as callOnError, aL as MainWindowOpenReason, aM as DEFAULT_PERSISTED_TO_BROWSER, aN as VIEW_STATE_LAUNCHER_OPEN, aO as getSessionURL, aP as isSuggestionListItem, aQ as AlternateSuggestionsSection, aR as AlternateSuggestionsPanelState, aS as getLastBotResponseWithContext, aT as getDialogSkillID, aU as EVENT_NAME_UPDATE_HISTORY, aV as resolvablePromise, aW as debugStackTrace, aX as consoleLog, aY as CUSTOM_RESPONSE_WARNING, aZ as WINDOW_WARNING, a_ as asArray, a$ as DEFAULT_CUSTOM_PANEL_CONFIG_OPTIONS, b0 as DEFAULT_CUSTOM_PANEL_ID, b1 as DEFAULT_MESSAGE_STATE, b2 as findLastIndex, b3 as isEventRequest, i as FileStatusValue, b4 as MessageErrorState, b5 as THREAD_ID_MAIN, b6 as DEFAULT_CHAT_MESSAGES_STATE, b7 as findLast, b8 as isOptionOrSuggestion, b9 as isDateResponseType, ba as hasMessageResponsePanel, bb as isUpdateHistoryRequest, bc as mergeWith, bd as replaceCurrentArrayValue, be as getRegionHostname, bf as getHistoryURL, bg as doWithRetryWithTimeout, bh as throwOnStatus, bi as AGENT_APP_HEADER_NAME, bj as getMessageURL, bk as INTEGRATIONS_VERSION, bl as MessageRetryStatus, M as MessageInputType, bm as assertType, bn as createLocalMessageForItem, bo as InternalMessageResponseType, bp as createLocalMessageForInlineError, bq as StatusCodes, br as safeFetchJSON, bs as resolveOrTimeout, bt as isSearchResultItem, bu as isEmptySearchResultItem, bv as safeFetchTextWithTimeout, bw as EMPTY_CONTEXT, bx as isAtStackRoot, by as getDialogState, bz as getTimeZone, bA as MIME_STREAM, bB as tryJSONParse, bC as isStreamPartialOrCompleteItem, bD as EVENT_STOP_STREAMING, bE as IS_SESSION_STORAGE, bF as storage$1, bG as VERSION, bH as InputFieldType, bI as TagType, bJ as SET_ALTERNATE_SUGGESTIONS_OPEN, bK as SET_ALTERNATE_SUGGESTIONS_THIRD_STRIKE, bL as UPDATE_ALTERNATE_SUGGESTIONS_CONFIG, bM as SUGGESTIONS_SET_SELECTED_INDEX, bN as SET_SUGGESTIONS_SEARCH_RESULTS, bO as addEventMessage, bP as DEFAULT_ALTERNATE_SUGGESTIONS_STATE, bQ as selectAgentDisplayState, bR as selectHasSearchSkill, bS as CONTACT_SUGGESTION_ITEM, bT as hasResponseToRequest, bU as keepIfEqual, bV as isFromAMainThread, bW as isFallbackResponse, bX as isStrike, bY as EVENT_NAME_ALTERNATE_SUGGESTIONS_OPENED, bZ as hasLiveAgentMessage, b_ as EVENT_NAME_ALTERNATE_SUGGESTIONS_CLOSED, a as AgentMessageType, b$ as CHANGE_STATE, c0 as SET_MAIN_CONFIG, c1 as HYDRATE_CHAT, c2 as RESTART_CONVERSATION, c3 as DEFAULT_IFRAME_PANEL_STATE, c4 as DEFAULT_CITATION_PANEL_STATE, c5 as DEFAULT_CUSTOM_PANEL_STATE, c6 as setHomeScreenOpenState, c7 as HYDRATE_MESSAGE_HISTORY, c8 as ADD_LOCAL_MESSAGE_ITEM, c9 as REMOVE_MESSAGES, ca as UPDATE_LOCAL_MESSAGE_ITEM, cb as UPDATE_MESSAGE, cc as ADD_MESSAGE, cd as MESSAGE_SET_OPTION_SELECTED, ce as ADD_IS_TYPING_COUNTER, cf as ADD_IS_LOADING_COUNTER, cg as SET_APP_STATE_VALUE, ch as UPDATE_SESSION_ID, ci as UPDATE_SESSION_STARTED_TIMESTAMP, cj as UPDATE_PERSISTED_CHAT_STATE, ck as UPDATE_HAS_SENT_NON_WELCOME_MESSAGE, cl as SET_VIEW_STATE, cm as handleViewStateChange, cn as SET_VIEW_CHANGING, co as SET_INITIAL_VIEW_CHANGE_COMPLETE, cp as UPDATE_BOT_NAME, cq as UPDATE_BOT_AVATAR_URL, cr as UPDATE_LAUNCHER_AVATAR_URL, cs as UPDATE_MAIN_HEADER_TITLE, ct as UPDATE_CSS_VARIABLES, cu as UPDATE_THEME_CONFIG, cv as UPDATE_STREAMING_CONFIG, cw as UPDATE_HOME_SCREEN_CONFIG, cx as convertHomeScreenConfigToBackgroundIfBackgroundGradient, cy as SET_MESSAGE_UI_PROPERTY, cz as SET_MESSAGE_HISTORY_PROPERTY, cA as MERGE_HISTORY, cB as ANNOUNCE_MESSAGE, cC as ACCEPTED_DISCLAIMER, cD as SET_HOME_SCREEN_IS_OPEN, cE as TOGGLE_HOME_SCREEN, cF as SET_UPDATE_HISTORY_USER_DEFINED_COUNT, cG as UPDATE_LAUNCHER_CONFIG, cH as UPDATE_BRANDING_CONFIG, cI as SET_BRANDING_OVERLAY_IS_OPEN, cJ as calcAnnouncementForBrandingPanel, cK as SET_BRANDING_BANNER_SHOWN, cL as SET_LAUNCHER_PROPERTY, cM as SET_LAUNCHER_CONFIG_PROPERTY, L as LauncherType, cN as SET_CHAT_MESSAGES_PROPERTY, cO as applyBotMessageState, cP as SET_LAUNCHER_MINIMIZED, cQ as OPEN_IFRAME_CONTENT, cR as CLOSE_IFRAME_PANEL, cS as SET_CONVERSATIONAL_SEARCH_CITATION_PANEL_IS_OPEN, cT as SET_CUSTOM_PANEL_OPEN, cU as SET_CUSTOM_PANEL_OPTIONS, cV as SET_TOUR_DATA, cW as CLEAR_TOUR_DATA, cX as CHANGE_STEP_IN_TOUR, cY as UPDATE_INPUT_STATE, cZ as SET_IS_BROWSER_PAGE_VISIBLE, c_ as ADD_INPUT_FILE, c$ as REMOVE_INPUT_FILE, d0 as REMOVE_LOCAL_MESSAGE_ITEM, d1 as ADD_NOTIFICATION, d2 as REMOVE_NOTIFICATIONS, d3 as REMOVE_ALL_NOTIFICATIONS, d4 as CLEAR_INPUT_FILES, d5 as FILE_UPLOAD_INPUT_ERROR, d6 as ADD_NESTED_MESSAGES, d7 as SET_RESPONSE_PANEL_IS_OPEN, d8 as SET_RESPONSE_PANEL_CONTENT, d9 as STREAMING_START, da as STREAMING_MERGE_HISTORY, db as STREAMING_ADD_CHUNK, dc as UPDATE_CHAT_HEADER_CONFIG, dd as UPDATE_MAX_VISIBLE_HEADER_OBJECTS, de as SET_STOP_STREAMING_BUTTON_VISIBLE, df as SET_STOP_STREAMING_BUTTON_DISABLED, dg as SET_STREAM_ID, dh as DEFAULT_THEME_STATE, di as DEFAULT_INPUT_STATE, dj as DEFAULT_AGENT_STATE, dk as enLanguagePack, dl as mergeHomeScreenConfig, dm as withoutEmptyStarters, dn as DEFAULT_BRANDING_STATE, dp as DEFAULT_LAUNCHER, dq as VIEW_STATE_MAIN_WINDOW_OPEN, dr as DEFAULT_MESSAGE_PANEL_STATE, ds as DEFAULT_TOUR_STATE, dt as DEFAULT_STREAMING_STATE, du as AWS_REGION_FRAGMENT, dv as WXO_CLOUD_REGION_FRAGMENT, dw as NODE_ENV, dx as IS_PHONE, g as CornersType, dy as DEFAULT_LAYOUT_STATE, dz as NamespaceService, dA as TrackService, dB as getAnalyticsPath, W as WriteableElementName, dC as setEnableDebugLog, dD as setEnableDebugStackTracesLog, dE as loadLanguagePack, dF as loadLocale, dG as dayjs, dH as selectInputState, dI as CustomMenuType, dJ as consoleDebug, dK as AGENT_APP_DEFAULT_PUBLIC_CONFIG, dL as AGENT_APP_DEFAULT_REMOTE_INIT_CONFIG, dM as DEFAULT_PUBLIC_CONFIG, dN as DEFAULT_REMOTE_INIT_CONFIG, dO as hasSupportedServiceDesk, dP as createMockServiceDesk, dQ as loadRender, dR as loadHAA, dS as getWXOUrl, dT as loadWXOScript, dU as WXO_SCRIPT_KEY, dV as pullValueParam, dW as ensureChatBrowserWindowConfigExists, dX as getSharedConfig } from './AppContainer.js';
|
|
24
24
|
import { c as commonjsGlobal, g as getDefaultExportFromCjs } from './highlight_js.js';
|
|
25
25
|
import { createIntl } from 'react-intl';
|
|
26
26
|
import { i as inputItemToLocalItem, a as agentUpdateIsSuspended, H as HA_SET_IS_CONNECTING, b as HA_SET_IS_RECONNECTING, c as HA_SET_AGENT_AVAILABILITY, d as HA_SET_SHOW_SCREEN_SHARE_REQUEST, e as HA_SET_AGENT_JOINED, f as HA_SET_PERSISTED_STATE, g as HA_UPDATE_IS_SUSPENDED, h as HA_UPDATE_IS_TYPING, j as HA_SET_AGENT_LEFT_CHAT, k as HA_UPDATE_CAPABILITIES, l as HA_SET_IS_SCREEN_SHARING, m as HA_UPDATE_FILE_UPLOAD_IN_PROGRESS, n as HA_END_CHAT } from './agentActions.js';
|
|
27
27
|
import { g as getAnonymousUserID, a as generateAndSetAnonymousUserId, c as clearAnonymousUserId } from './anonymousUserIDStorage.js';
|
|
28
|
-
import 'lit';
|
|
29
|
-
import 'lit/decorators.js';
|
|
30
28
|
import 'react';
|
|
31
|
-
import 'react-dom';
|
|
32
29
|
import '@carbon/react';
|
|
30
|
+
import 'classnames';
|
|
33
31
|
import 'react-redux';
|
|
32
|
+
import 'tabbable';
|
|
33
|
+
import '@carbon/icons-react';
|
|
34
34
|
import './markdown.js';
|
|
35
|
-
import '
|
|
35
|
+
import 'tslib';
|
|
36
|
+
import 'lit';
|
|
37
|
+
import 'lit/decorators.js';
|
|
36
38
|
import '@carbon/web-components/es/components/button/index.js';
|
|
37
39
|
import '@carbon/web-components/es/components/overflow-menu/index.js';
|
|
38
40
|
import 'lit/directives/unsafe-html.js';
|
|
41
|
+
import 'prop-types';
|
|
39
42
|
import '@carbon/web-components/es/components/slug/index.js';
|
|
40
43
|
import '@carbon/web-components/es/components/popover/defs.js';
|
|
41
44
|
import '@carbon/web-components/es/components/slug/defs.js';
|
|
45
|
+
import '@floating-ui/react';
|
|
46
|
+
import 'react-dom';
|
|
42
47
|
import '@carbon/web-components/es/components/slug/slug-action-button.js';
|
|
43
48
|
import '@carbon/web-components/es/components/slug/slug.js';
|
|
49
|
+
import '@carbon/web-components/es/components/inline-loading/index.js';
|
|
50
|
+
import '@carbon/icon-helpers';
|
|
51
|
+
import '@carbon/icons';
|
|
52
|
+
import 'lit/directives/unsafe-svg.js';
|
|
44
53
|
import '@carbon/web-components/es/components/textarea/index.js';
|
|
45
54
|
import '@carbon/web-components/es/components/icon-button/index.js';
|
|
46
|
-
import 'lit/directives/unsafe-svg.js';
|
|
47
55
|
import '@carbon/web-components/es/components/tag/index.js';
|
|
48
56
|
import '@carbon/web-components/es/components/chat-button/index.js';
|
|
49
57
|
import '@carbon/web-components/es/components/button/button.js';
|
|
@@ -13,36 +13,44 @@ is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND
|
|
|
13
13
|
or implied. See the License for the specific language governing permissions and limitations under
|
|
14
14
|
the License.
|
|
15
15
|
|
|
16
|
-
@carbon/ai-chat 0.1.
|
|
16
|
+
@carbon/ai-chat 0.1.7-alpha0
|
|
17
17
|
|
|
18
|
-
Built: Feb
|
|
18
|
+
Built: Feb 12 2025 9:14 am -05:00
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
*/
|
|
23
|
-
import {
|
|
23
|
+
import { a2 as debugLog, au as isConnectToAgent, en as getSummaryMessages, aq as asyncForEach, bm as assertType, j as MessageResponseTypes, e as ButtonItemKind, d as ButtonItemType, G as isEmptyObject, y as consoleError, E as ErrorType, ep as loadScript, bs as resolveOrTimeout, S as ScreenShareState } from './AppContainer.js';
|
|
24
24
|
import { S as ServiceDeskImpl } from './ServiceDeskImpl.js';
|
|
25
|
-
import 'lit';
|
|
26
|
-
import 'lit/decorators.js';
|
|
27
25
|
import 'react';
|
|
28
|
-
import 'react-dom';
|
|
29
26
|
import './highlight_js.js';
|
|
30
27
|
import '@carbon/react';
|
|
28
|
+
import 'classnames';
|
|
31
29
|
import 'react-intl';
|
|
32
30
|
import 'react-redux';
|
|
31
|
+
import 'tabbable';
|
|
32
|
+
import '@carbon/icons-react';
|
|
33
33
|
import './markdown.js';
|
|
34
|
-
import '
|
|
34
|
+
import 'tslib';
|
|
35
|
+
import 'lit';
|
|
36
|
+
import 'lit/decorators.js';
|
|
35
37
|
import '@carbon/web-components/es/components/button/index.js';
|
|
36
38
|
import '@carbon/web-components/es/components/overflow-menu/index.js';
|
|
37
39
|
import 'lit/directives/unsafe-html.js';
|
|
40
|
+
import 'prop-types';
|
|
38
41
|
import '@carbon/web-components/es/components/slug/index.js';
|
|
39
42
|
import '@carbon/web-components/es/components/popover/defs.js';
|
|
40
43
|
import '@carbon/web-components/es/components/slug/defs.js';
|
|
44
|
+
import '@floating-ui/react';
|
|
45
|
+
import 'react-dom';
|
|
41
46
|
import '@carbon/web-components/es/components/slug/slug-action-button.js';
|
|
42
47
|
import '@carbon/web-components/es/components/slug/slug.js';
|
|
48
|
+
import '@carbon/web-components/es/components/inline-loading/index.js';
|
|
49
|
+
import '@carbon/icon-helpers';
|
|
50
|
+
import '@carbon/icons';
|
|
51
|
+
import 'lit/directives/unsafe-svg.js';
|
|
43
52
|
import '@carbon/web-components/es/components/textarea/index.js';
|
|
44
53
|
import '@carbon/web-components/es/components/icon-button/index.js';
|
|
45
|
-
import 'lit/directives/unsafe-svg.js';
|
|
46
54
|
import '@carbon/web-components/es/components/tag/index.js';
|
|
47
55
|
import '@carbon/web-components/es/components/chat-button/index.js';
|
|
48
56
|
import '@carbon/web-components/es/components/button/button.js';
|
|
@@ -13,36 +13,44 @@ is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND
|
|
|
13
13
|
or implied. See the License for the specific language governing permissions and limitations under
|
|
14
14
|
the License.
|
|
15
15
|
|
|
16
|
-
@carbon/ai-chat 0.1.
|
|
16
|
+
@carbon/ai-chat 0.1.7-alpha0
|
|
17
17
|
|
|
18
|
-
Built: Feb
|
|
18
|
+
Built: Feb 12 2025 9:14 am -05:00
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
*/
|
|
23
|
-
import {
|
|
23
|
+
import { ad as cloneDeep, a2 as debugLog, e0 as BuiltInServiceDesk, be as getRegionHostname, y as consoleError, E as ErrorType, e1 as addEndChatMessages, S as ScreenShareState, bs as resolveOrTimeout, ac as deepFreeze, aa as createMessageRequestForText, e2 as createMessageRequestForFileUpload, e3 as addMessages, b4 as MessageErrorState, b as AgentsOnlineStatus, x as actions, bp as createLocalMessageForInlineError, e4 as toPair, a as AgentMessageType, e5 as createAgentLocalMessage, ak as createMessageResponseForText, ab as addDefaultsToMessage, aw as outputItemToLocalItem, i as FileStatusValue, aV as resolvablePromise, a7 as merge, bG as VERSION } from './AppContainer.js';
|
|
24
24
|
import { u as updateFilesUploadInProgress, s as setIsConnecting, o as endChat, i as inputItemToLocalItem, p as setIsScreenSharing, q as setIsReconnecting, r as setShowScreenShareRequest, t as updateCapabilities, v as setAgentAvailability, w as setAgentJoined, x as agentUpdateIsTyping, y as setAgentLeftChat, z as setPersistedServiceDeskState } from './agentActions.js';
|
|
25
|
-
import 'lit';
|
|
26
|
-
import 'lit/decorators.js';
|
|
27
25
|
import 'react';
|
|
28
|
-
import 'react-dom';
|
|
29
26
|
import './highlight_js.js';
|
|
30
27
|
import '@carbon/react';
|
|
28
|
+
import 'classnames';
|
|
31
29
|
import 'react-intl';
|
|
32
30
|
import 'react-redux';
|
|
31
|
+
import 'tabbable';
|
|
32
|
+
import '@carbon/icons-react';
|
|
33
33
|
import './markdown.js';
|
|
34
|
-
import '
|
|
34
|
+
import 'tslib';
|
|
35
|
+
import 'lit';
|
|
36
|
+
import 'lit/decorators.js';
|
|
35
37
|
import '@carbon/web-components/es/components/button/index.js';
|
|
36
38
|
import '@carbon/web-components/es/components/overflow-menu/index.js';
|
|
37
39
|
import 'lit/directives/unsafe-html.js';
|
|
40
|
+
import 'prop-types';
|
|
38
41
|
import '@carbon/web-components/es/components/slug/index.js';
|
|
39
42
|
import '@carbon/web-components/es/components/popover/defs.js';
|
|
40
43
|
import '@carbon/web-components/es/components/slug/defs.js';
|
|
44
|
+
import '@floating-ui/react';
|
|
45
|
+
import 'react-dom';
|
|
41
46
|
import '@carbon/web-components/es/components/slug/slug-action-button.js';
|
|
42
47
|
import '@carbon/web-components/es/components/slug/slug.js';
|
|
48
|
+
import '@carbon/web-components/es/components/inline-loading/index.js';
|
|
49
|
+
import '@carbon/icon-helpers';
|
|
50
|
+
import '@carbon/icons';
|
|
51
|
+
import 'lit/directives/unsafe-svg.js';
|
|
43
52
|
import '@carbon/web-components/es/components/textarea/index.js';
|
|
44
53
|
import '@carbon/web-components/es/components/icon-button/index.js';
|
|
45
|
-
import 'lit/directives/unsafe-svg.js';
|
|
46
54
|
import '@carbon/web-components/es/components/tag/index.js';
|
|
47
55
|
import '@carbon/web-components/es/components/chat-button/index.js';
|
|
48
56
|
import '@carbon/web-components/es/components/button/button.js';
|
|
@@ -13,37 +13,45 @@ is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND
|
|
|
13
13
|
or implied. See the License for the specific language governing permissions and limitations under
|
|
14
14
|
the License.
|
|
15
15
|
|
|
16
|
-
@carbon/ai-chat 0.1.
|
|
16
|
+
@carbon/ai-chat 0.1.7-alpha0
|
|
17
17
|
|
|
18
|
-
Built: Feb
|
|
18
|
+
Built: Feb 12 2025 9:14 am -05:00
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
*/
|
|
23
23
|
import { c as commonjsGlobal, g as getDefaultExportFromCjs } from './highlight_js.js';
|
|
24
|
-
import {
|
|
24
|
+
import { a2 as debugLog, ae as uuid, af as UUIDType, bs as resolveOrTimeout, y as consoleError, au as isConnectToAgent, aV as resolvablePromise, en as getSummaryMessages, bm as assertType, j as MessageResponseTypes, e as ButtonItemKind, d as ButtonItemType, E as ErrorType } from './AppContainer.js';
|
|
25
25
|
import { A as ANONYMOUS_USER_ID_PREFIX } from './anonymousUserIDStorage.js';
|
|
26
26
|
import { S as ServiceDeskImpl } from './ServiceDeskImpl.js';
|
|
27
|
-
import 'lit';
|
|
28
|
-
import 'lit/decorators.js';
|
|
29
27
|
import 'react';
|
|
30
|
-
import 'react-dom';
|
|
31
28
|
import '@carbon/react';
|
|
29
|
+
import 'classnames';
|
|
32
30
|
import 'react-intl';
|
|
33
31
|
import 'react-redux';
|
|
32
|
+
import 'tabbable';
|
|
33
|
+
import '@carbon/icons-react';
|
|
34
34
|
import './markdown.js';
|
|
35
|
-
import '
|
|
35
|
+
import 'tslib';
|
|
36
|
+
import 'lit';
|
|
37
|
+
import 'lit/decorators.js';
|
|
36
38
|
import '@carbon/web-components/es/components/button/index.js';
|
|
37
39
|
import '@carbon/web-components/es/components/overflow-menu/index.js';
|
|
38
40
|
import 'lit/directives/unsafe-html.js';
|
|
41
|
+
import 'prop-types';
|
|
39
42
|
import '@carbon/web-components/es/components/slug/index.js';
|
|
40
43
|
import '@carbon/web-components/es/components/popover/defs.js';
|
|
41
44
|
import '@carbon/web-components/es/components/slug/defs.js';
|
|
45
|
+
import '@floating-ui/react';
|
|
46
|
+
import 'react-dom';
|
|
42
47
|
import '@carbon/web-components/es/components/slug/slug-action-button.js';
|
|
43
48
|
import '@carbon/web-components/es/components/slug/slug.js';
|
|
49
|
+
import '@carbon/web-components/es/components/inline-loading/index.js';
|
|
50
|
+
import '@carbon/icon-helpers';
|
|
51
|
+
import '@carbon/icons';
|
|
52
|
+
import 'lit/directives/unsafe-svg.js';
|
|
44
53
|
import '@carbon/web-components/es/components/textarea/index.js';
|
|
45
54
|
import '@carbon/web-components/es/components/icon-button/index.js';
|
|
46
|
-
import 'lit/directives/unsafe-svg.js';
|
|
47
55
|
import '@carbon/web-components/es/components/tag/index.js';
|
|
48
56
|
import '@carbon/web-components/es/components/chat-button/index.js';
|
|
49
57
|
import '@carbon/web-components/es/components/button/button.js';
|
|
@@ -13,139 +13,48 @@ is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND
|
|
|
13
13
|
or implied. See the License for the specific language governing permissions and limitations under
|
|
14
14
|
the License.
|
|
15
15
|
|
|
16
|
-
@carbon/ai-chat 0.1.
|
|
16
|
+
@carbon/ai-chat 0.1.7-alpha0
|
|
17
17
|
|
|
18
|
-
Built: Feb
|
|
18
|
+
Built: Feb 12 2025 9:14 am -05:00
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
*/
|
|
23
23
|
import { Button as Button$1, TextInput, OverflowMenu, OverflowMenuItem, Loading } from '@carbon/react';
|
|
24
|
-
import { e8 as
|
|
24
|
+
import { e8 as useLanguagePack, e9 as ButtonSizeEnum, ea as isEnterKey, eb as doFocusRef, ec as useServiceManager, ed as useCounter, ee as useWindowSize, ah as IS_JEST, ef as parseTextDirective, eg as ModalPortal, eh as FocusTrap, s as consoleWarn, ei as MountChildrenOnDelay } from './AppContainer.js';
|
|
25
25
|
import React__default, { useState, useRef, useEffect } from 'react';
|
|
26
|
+
import { Search, ChevronLeft, ChevronRight, Close, ChevronUp, ChevronDown, ZoomIn, ZoomOut, ZoomReset, Download } from '@carbon/icons-react';
|
|
27
|
+
import cx from 'classnames';
|
|
26
28
|
import { FormattedMessage } from 'react-intl';
|
|
27
|
-
import 'lit';
|
|
28
|
-
import 'lit/decorators.js';
|
|
29
|
-
import 'react-dom';
|
|
30
29
|
import './highlight_js.js';
|
|
31
30
|
import 'react-redux';
|
|
31
|
+
import 'tabbable';
|
|
32
32
|
import './markdown.js';
|
|
33
|
-
import '
|
|
33
|
+
import 'tslib';
|
|
34
|
+
import 'lit';
|
|
35
|
+
import 'lit/decorators.js';
|
|
34
36
|
import '@carbon/web-components/es/components/button/index.js';
|
|
35
37
|
import '@carbon/web-components/es/components/overflow-menu/index.js';
|
|
36
38
|
import 'lit/directives/unsafe-html.js';
|
|
39
|
+
import 'prop-types';
|
|
37
40
|
import '@carbon/web-components/es/components/slug/index.js';
|
|
38
41
|
import '@carbon/web-components/es/components/popover/defs.js';
|
|
39
42
|
import '@carbon/web-components/es/components/slug/defs.js';
|
|
43
|
+
import '@floating-ui/react';
|
|
44
|
+
import 'react-dom';
|
|
40
45
|
import '@carbon/web-components/es/components/slug/slug-action-button.js';
|
|
41
46
|
import '@carbon/web-components/es/components/slug/slug.js';
|
|
47
|
+
import '@carbon/web-components/es/components/inline-loading/index.js';
|
|
48
|
+
import '@carbon/icon-helpers';
|
|
49
|
+
import '@carbon/icons';
|
|
50
|
+
import 'lit/directives/unsafe-svg.js';
|
|
42
51
|
import '@carbon/web-components/es/components/textarea/index.js';
|
|
43
52
|
import '@carbon/web-components/es/components/icon-button/index.js';
|
|
44
|
-
import 'lit/directives/unsafe-svg.js';
|
|
45
53
|
import '@carbon/web-components/es/components/tag/index.js';
|
|
46
54
|
import '@carbon/web-components/es/components/chat-button/index.js';
|
|
47
55
|
import '@carbon/web-components/es/components/button/button.js';
|
|
48
56
|
import '@carbon/web-components/es/components/layer/index.js';
|
|
49
57
|
|
|
50
|
-
/**
|
|
51
|
-
* Copyright IBM Corp. 2016, 2023
|
|
52
|
-
*
|
|
53
|
-
* This source code is licensed under the Apache-2.0 license found in the
|
|
54
|
-
* LICENSE file in the root directory of this source tree.
|
|
55
|
-
*
|
|
56
|
-
* Code generated by @carbon/icon-build-helpers. DO NOT EDIT.
|
|
57
|
-
*/
|
|
58
|
-
|
|
59
|
-
var _path38, _path39, _path40, _path41, _path44, _path45, _path46, _path47, _path50;
|
|
60
|
-
const ZoomIn = /*#__PURE__*/React__default.forwardRef(function ZoomIn(_ref28, ref) {
|
|
61
|
-
let {
|
|
62
|
-
children,
|
|
63
|
-
size = 16,
|
|
64
|
-
...rest
|
|
65
|
-
} = _ref28;
|
|
66
|
-
if (size === 16 || size === "16" || size === "16px") {
|
|
67
|
-
return /*#__PURE__*/React__default.createElement(Icon, {
|
|
68
|
-
width: size,
|
|
69
|
-
height: size,
|
|
70
|
-
ref: ref,
|
|
71
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
72
|
-
viewBox: "0 0 16 16",
|
|
73
|
-
fill: "currentColor",
|
|
74
|
-
...rest
|
|
75
|
-
}, _path38 || (_path38 = /*#__PURE__*/React__default.createElement("path", {
|
|
76
|
-
d: "M9 6L7 6 7 4 6 4 6 6 4 6 4 7 6 7 6 9 7 9 7 7 9 7z"
|
|
77
|
-
})), _path39 || (_path39 = /*#__PURE__*/React__default.createElement("path", {
|
|
78
|
-
d: "M10.7,10C11.5,9,12,7.8,12,6.5C12,3.5,9.5,1,6.5,1S1,3.5,1,6.5S3.5,12,6.5,12c1.3,0,2.5-0.5,3.5-1.3l3.8,3.8l0.7-0.7 L10.7,10z M6.5,11C4,11,2,9,2,6.5S4,2,6.5,2S11,4,11,6.5S9,11,6.5,11L6.5,11z"
|
|
79
|
-
})), children);
|
|
80
|
-
}
|
|
81
|
-
return /*#__PURE__*/React__default.createElement(Icon, {
|
|
82
|
-
width: size,
|
|
83
|
-
height: size,
|
|
84
|
-
ref: ref,
|
|
85
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
86
|
-
viewBox: "0 0 32 32",
|
|
87
|
-
fill: "currentColor",
|
|
88
|
-
...rest
|
|
89
|
-
}, _path40 || (_path40 = /*#__PURE__*/React__default.createElement("path", {
|
|
90
|
-
d: "M18 12L14 12 14 8 12 8 12 12 8 12 8 14 12 14 12 18 14 18 14 14 18 14 18 12z"
|
|
91
|
-
})), _path41 || (_path41 = /*#__PURE__*/React__default.createElement("path", {
|
|
92
|
-
d: "M21.4479,20A10.856,10.856,0,0,0,24,13,11,11,0,1,0,13,24a10.856,10.856,0,0,0,7-2.5521L27.5859,29,29,27.5859ZM13,22a9,9,0,1,1,9-9A9.01,9.01,0,0,1,13,22Z"
|
|
93
|
-
})), children);
|
|
94
|
-
});
|
|
95
|
-
const ZoomOut = /*#__PURE__*/React__default.forwardRef(function ZoomOut(_ref30, ref) {
|
|
96
|
-
let {
|
|
97
|
-
children,
|
|
98
|
-
size = 16,
|
|
99
|
-
...rest
|
|
100
|
-
} = _ref30;
|
|
101
|
-
if (size === 16 || size === "16" || size === "16px") {
|
|
102
|
-
return /*#__PURE__*/React__default.createElement(Icon, {
|
|
103
|
-
width: size,
|
|
104
|
-
height: size,
|
|
105
|
-
ref: ref,
|
|
106
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
107
|
-
viewBox: "0 0 16 16",
|
|
108
|
-
fill: "currentColor",
|
|
109
|
-
...rest
|
|
110
|
-
}, _path44 || (_path44 = /*#__PURE__*/React__default.createElement("path", {
|
|
111
|
-
d: "M4 6H9V7H4z"
|
|
112
|
-
})), _path45 || (_path45 = /*#__PURE__*/React__default.createElement("path", {
|
|
113
|
-
d: "M10.7,10C11.5,9,12,7.8,12,6.5C12,3.5,9.5,1,6.5,1S1,3.5,1,6.5S3.5,12,6.5,12c1.3,0,2.5-0.5,3.5-1.3l3.8,3.8l0.7-0.7 L10.7,10z M6.5,11C4,11,2,9,2,6.5S4,2,6.5,2S11,4,11,6.5S9,11,6.5,11L6.5,11z"
|
|
114
|
-
})), children);
|
|
115
|
-
}
|
|
116
|
-
return /*#__PURE__*/React__default.createElement(Icon, {
|
|
117
|
-
width: size,
|
|
118
|
-
height: size,
|
|
119
|
-
ref: ref,
|
|
120
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
121
|
-
viewBox: "0 0 32 32",
|
|
122
|
-
fill: "currentColor",
|
|
123
|
-
...rest
|
|
124
|
-
}, _path46 || (_path46 = /*#__PURE__*/React__default.createElement("path", {
|
|
125
|
-
d: "M8 12H18V14H8z"
|
|
126
|
-
})), _path47 || (_path47 = /*#__PURE__*/React__default.createElement("path", {
|
|
127
|
-
d: "M21.4479,20A10.856,10.856,0,0,0,24,13,11,11,0,1,0,13,24a10.856,10.856,0,0,0,7-2.5521L27.5859,29,29,27.5859ZM13,22a9,9,0,1,1,9-9A9.01,9.01,0,0,1,13,22Z"
|
|
128
|
-
})), children);
|
|
129
|
-
});
|
|
130
|
-
const ZoomReset = /*#__PURE__*/React__default.forwardRef(function ZoomReset(_ref32, ref) {
|
|
131
|
-
let {
|
|
132
|
-
children,
|
|
133
|
-
size = 16,
|
|
134
|
-
...rest
|
|
135
|
-
} = _ref32;
|
|
136
|
-
return /*#__PURE__*/React__default.createElement(Icon, {
|
|
137
|
-
width: size,
|
|
138
|
-
height: size,
|
|
139
|
-
ref: ref,
|
|
140
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
141
|
-
viewBox: "0 0 32 32",
|
|
142
|
-
fill: "currentColor",
|
|
143
|
-
...rest
|
|
144
|
-
}, _path50 || (_path50 = /*#__PURE__*/React__default.createElement("path", {
|
|
145
|
-
d: "M22.4478,21A10.855,10.855,0,0,0,25,14,10.99,10.99,0,0,0,6,6.4658V2H4v8h8V8H7.332a8.9768,8.9768,0,1,1-2.1,8H3.1912A11.0118,11.0118,0,0,0,14,25a10.855,10.855,0,0,0,7-2.5522L28.5859,30,30,28.5859Z"
|
|
146
|
-
})), children);
|
|
147
|
-
});
|
|
148
|
-
|
|
149
58
|
/**
|
|
150
59
|
* @licstart The following is the entire license notice for the
|
|
151
60
|
* JavaScript code in this page
|
package/dist/es/ReactPlayer.js
CHANGED
|
@@ -13,9 +13,9 @@ is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND
|
|
|
13
13
|
or implied. See the License for the specific language governing permissions and limitations under
|
|
14
14
|
the License.
|
|
15
15
|
|
|
16
|
-
@carbon/ai-chat 0.1.
|
|
16
|
+
@carbon/ai-chat 0.1.7-alpha0
|
|
17
17
|
|
|
18
|
-
Built: Feb
|
|
18
|
+
Built: Feb 12 2025 9:14 am -05:00
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
package/dist/es/SFServiceDesk.js
CHANGED
|
@@ -13,36 +13,44 @@ is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND
|
|
|
13
13
|
or implied. See the License for the specific language governing permissions and limitations under
|
|
14
14
|
the License.
|
|
15
15
|
|
|
16
|
-
@carbon/ai-chat 0.1.
|
|
16
|
+
@carbon/ai-chat 0.1.7-alpha0
|
|
17
17
|
|
|
18
|
-
Built: Feb
|
|
18
|
+
Built: Feb 12 2025 9:14 am -05:00
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
*/
|
|
23
|
-
import { E as ErrorType,
|
|
23
|
+
import { E as ErrorType, a2 as debugLog, au as isConnectToAgent, ad as cloneDeep, s as consoleWarn, a9 as isEnableDebugLog, em as mergeNoArrays, en as getSummaryMessages, aq as asyncForEach, y as consoleError, U as safeFetchText, eo as pushAll, ak as createMessageResponseForText, a as AgentMessageType, bq as StatusCodes, ai as sleep, aa as createMessageRequestForText } from './AppContainer.js';
|
|
24
24
|
import { S as ServiceDeskImpl } from './ServiceDeskImpl.js';
|
|
25
|
-
import 'lit';
|
|
26
|
-
import 'lit/decorators.js';
|
|
27
25
|
import 'react';
|
|
28
|
-
import 'react-dom';
|
|
29
26
|
import './highlight_js.js';
|
|
30
27
|
import '@carbon/react';
|
|
28
|
+
import 'classnames';
|
|
31
29
|
import 'react-intl';
|
|
32
30
|
import 'react-redux';
|
|
31
|
+
import 'tabbable';
|
|
32
|
+
import '@carbon/icons-react';
|
|
33
33
|
import './markdown.js';
|
|
34
|
-
import '
|
|
34
|
+
import 'tslib';
|
|
35
|
+
import 'lit';
|
|
36
|
+
import 'lit/decorators.js';
|
|
35
37
|
import '@carbon/web-components/es/components/button/index.js';
|
|
36
38
|
import '@carbon/web-components/es/components/overflow-menu/index.js';
|
|
37
39
|
import 'lit/directives/unsafe-html.js';
|
|
40
|
+
import 'prop-types';
|
|
38
41
|
import '@carbon/web-components/es/components/slug/index.js';
|
|
39
42
|
import '@carbon/web-components/es/components/popover/defs.js';
|
|
40
43
|
import '@carbon/web-components/es/components/slug/defs.js';
|
|
44
|
+
import '@floating-ui/react';
|
|
45
|
+
import 'react-dom';
|
|
41
46
|
import '@carbon/web-components/es/components/slug/slug-action-button.js';
|
|
42
47
|
import '@carbon/web-components/es/components/slug/slug.js';
|
|
48
|
+
import '@carbon/web-components/es/components/inline-loading/index.js';
|
|
49
|
+
import '@carbon/icon-helpers';
|
|
50
|
+
import '@carbon/icons';
|
|
51
|
+
import 'lit/directives/unsafe-svg.js';
|
|
43
52
|
import '@carbon/web-components/es/components/textarea/index.js';
|
|
44
53
|
import '@carbon/web-components/es/components/icon-button/index.js';
|
|
45
|
-
import 'lit/directives/unsafe-svg.js';
|
|
46
54
|
import '@carbon/web-components/es/components/tag/index.js';
|
|
47
55
|
import '@carbon/web-components/es/components/chat-button/index.js';
|
|
48
56
|
import '@carbon/web-components/es/components/button/button.js';
|
|
@@ -13,9 +13,9 @@ is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND
|
|
|
13
13
|
or implied. See the License for the specific language governing permissions and limitations under
|
|
14
14
|
the License.
|
|
15
15
|
|
|
16
|
-
@carbon/ai-chat 0.1.
|
|
16
|
+
@carbon/ai-chat 0.1.7-alpha0
|
|
17
17
|
|
|
18
|
-
Built: Feb
|
|
18
|
+
Built: Feb 12 2025 9:14 am -05:00
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|