@carbon/ai-chat 0.1.6 → 0.1.7-test-no-cjs
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/{cds-aichat-internal.js → AppContainer.js} +50756 -18310
- package/dist/es/Carousel.js +14 -8
- package/dist/es/GenesysMessengerServiceDesk.js +17 -11
- package/dist/es/HumanAgentServiceImpl.js +17 -12
- package/dist/es/NiceDFOServiceDesk.js +17 -12
- package/dist/es/PDFViewerContainer.js +15 -108
- package/dist/es/ReactPlayer.js +2 -2
- package/dist/es/SFServiceDesk.js +18 -11
- package/dist/es/ServiceDeskImpl.js +2 -2
- package/dist/es/Table.js +429 -315
- package/dist/es/ZendeskServiceDesk.js +17 -11
- package/dist/es/_node-resolve_empty.js +2 -2
- package/dist/es/aiChatEntry.js +137 -120
- package/dist/es/ar-dz.js +3 -4
- package/dist/es/ar-kw.js +3 -4
- package/dist/es/ar-ly.js +3 -4
- package/dist/es/ar-ma.js +3 -4
- package/dist/es/ar-sa.js +3 -4
- package/dist/es/ar-tn.js +3 -4
- package/dist/es/ar.js +3 -4
- package/dist/es/ar2.js +2 -2
- package/dist/es/cds-aichat-container.js +104 -18
- package/dist/es/cds-aichat-custom-element.js +31 -21
- package/dist/es/cs.js +3 -4
- package/dist/es/cs2.js +2 -2
- package/dist/es/de-at.js +3 -4
- package/dist/es/de-ch.js +3 -4
- package/dist/es/de.js +3 -4
- package/dist/es/de2.js +2 -2
- package/dist/es/en-au.js +3 -4
- package/dist/es/en-ca.js +3 -4
- package/dist/es/en-gb.js +3 -4
- package/dist/es/en-ie.js +3 -4
- package/dist/es/en-il.js +3 -4
- package/dist/es/en-nz.js +3 -4
- package/dist/es/es-do.js +3 -4
- package/dist/es/es-us.js +3 -4
- package/dist/es/es.js +3 -4
- 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 -4
- package/dist/es/fr-ch.js +3 -4
- package/dist/es/fr.js +3 -4
- package/dist/es/fr2.js +2 -2
- package/dist/es/it-ch.js +3 -4
- package/dist/es/it.js +3 -4
- package/dist/es/it2.js +2 -2
- package/dist/es/ja.js +3 -4
- package/dist/es/ja2.js +2 -2
- package/dist/es/ko.js +3 -4
- package/dist/es/ko2.js +2 -2
- package/dist/es/mockServiceDesk.js +17 -11
- package/dist/es/nl.js +3 -4
- package/dist/es/nl2.js +2 -2
- package/dist/es/pt-br.js +3 -4
- package/dist/es/pt-br2.js +2 -2
- package/dist/es/pt.js +3 -4
- package/dist/es/render.js +25 -12
- package/dist/es/zh-cn.js +3 -4
- package/dist/es/zh-tw.js +3 -4
- package/dist/es/zh-tw2.js +2 -2
- package/dist/es/zh.js +2 -2
- package/dist/types/aiChatEntry.d.ts +599 -11
- package/package.json +29 -21
- package/dist/cjs/Carousel.js +0 -5711
- package/dist/cjs/Chat.js +0 -8838
- package/dist/cjs/GenesysMessengerServiceDesk.js +0 -598
- package/dist/cjs/HumanAgentServiceImpl.js +0 -1145
- package/dist/cjs/NiceDFOServiceDesk.js +0 -2116
- package/dist/cjs/PDFViewerContainer.js +0 -83227
- package/dist/cjs/ReactPlayer.js +0 -57
- package/dist/cjs/SFServiceDesk.js +0 -1031
- package/dist/cjs/ServiceDeskImpl.js +0 -74
- package/dist/cjs/Table.js +0 -3146
- package/dist/cjs/ZendeskServiceDesk.js +0 -670
- package/dist/cjs/_node-resolve_empty.js +0 -27
- package/dist/cjs/agentActions.js +0 -214
- package/dist/cjs/aiChatEntry.js +0 -354
- package/dist/cjs/anonymousUserIDStorage.js +0 -254
- package/dist/cjs/ar-dz.js +0 -57
- package/dist/cjs/ar-kw.js +0 -57
- package/dist/cjs/ar-ly.js +0 -57
- package/dist/cjs/ar-ma.js +0 -57
- package/dist/cjs/ar-sa.js +0 -57
- package/dist/cjs/ar-tn.js +0 -57
- package/dist/cjs/ar.js +0 -57
- package/dist/cjs/ar2.js +0 -763
- package/dist/cjs/cds-aichat-container.js +0 -143
- package/dist/cjs/cds-aichat-custom-element.js +0 -200
- package/dist/cjs/cds-aichat-internal.js +0 -39150
- package/dist/cjs/cs.js +0 -57
- package/dist/cjs/cs2.js +0 -763
- package/dist/cjs/de-at.js +0 -57
- package/dist/cjs/de-ch.js +0 -57
- package/dist/cjs/de.js +0 -57
- package/dist/cjs/de2.js +0 -763
- package/dist/cjs/en-au.js +0 -57
- package/dist/cjs/en-ca.js +0 -57
- package/dist/cjs/en-gb.js +0 -57
- package/dist/cjs/en-ie.js +0 -57
- package/dist/cjs/en-il.js +0 -57
- package/dist/cjs/en-nz.js +0 -57
- package/dist/cjs/es-do.js +0 -57
- package/dist/cjs/es-us.js +0 -57
- package/dist/cjs/es.js +0 -57
- package/dist/cjs/es2.js +0 -763
- package/dist/cjs/export.js +0 -27
- package/dist/cjs/export.legacy.js +0 -27
- package/dist/cjs/fontUtils.js +0 -1038
- package/dist/cjs/fr-ca.js +0 -57
- package/dist/cjs/fr-ch.js +0 -57
- package/dist/cjs/fr.js +0 -57
- package/dist/cjs/fr2.js +0 -763
- package/dist/cjs/highlight_js.js +0 -15325
- package/dist/cjs/it-ch.js +0 -57
- package/dist/cjs/it.js +0 -57
- package/dist/cjs/it2.js +0 -763
- package/dist/cjs/ja.js +0 -57
- package/dist/cjs/ja2.js +0 -763
- package/dist/cjs/jstz.min.js +0 -43
- package/dist/cjs/ko.js +0 -57
- package/dist/cjs/ko2.js +0 -763
- package/dist/cjs/markdown.js +0 -8505
- package/dist/cjs/markdown_attrs.js +0 -805
- package/dist/cjs/mockServiceDesk.js +0 -887
- package/dist/cjs/nl.js +0 -57
- package/dist/cjs/nl2.js +0 -763
- package/dist/cjs/pt-br.js +0 -57
- package/dist/cjs/pt-br2.js +0 -763
- package/dist/cjs/pt.js +0 -57
- package/dist/cjs/render.js +0 -94
- package/dist/cjs/zh-cn.js +0 -57
- package/dist/cjs/zh-tw.js +0 -57
- package/dist/cjs/zh-tw2.js +0 -763
- package/dist/cjs/zh.js +0 -763
- package/dist/es/Chat.js +0 -8836
- package/dist/es/agentActions.js +0 -186
- package/dist/es/anonymousUserIDStorage.js +0 -249
- package/dist/es/highlight_js.js +0 -15320
- package/dist/es/jstz.min.js +0 -41
- package/dist/es/markdown.js +0 -8501
- package/dist/es/markdown_attrs.js +0 -803
package/dist/es/Carousel.js
CHANGED
|
@@ -13,35 +13,41 @@ 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-test-no-cjs
|
|
17
17
|
|
|
18
|
-
Built: Feb
|
|
18
|
+
Built: Feb 26 2025 2:36 pm -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 { aA as ChatWidthBreakpoint, ao as useLanguagePack, aB as ButtonKindEnum } from './AppContainer.js';
|
|
29
|
+
import 'tslib';
|
|
30
|
+
import 'classnames';
|
|
31
|
+
import 'tabbable';
|
|
28
32
|
import 'lit';
|
|
29
33
|
import 'lit/decorators.js';
|
|
30
|
-
import 'react-dom';
|
|
31
|
-
import './highlight_js.js';
|
|
32
|
-
import './markdown.js';
|
|
33
|
-
import './markdown_attrs.js';
|
|
34
34
|
import '@carbon/web-components/es/components/button/index.js';
|
|
35
35
|
import '@carbon/web-components/es/components/overflow-menu/index.js';
|
|
36
36
|
import 'lit/directives/unsafe-html.js';
|
|
37
|
+
import 'prop-types';
|
|
37
38
|
import '@carbon/web-components/es/components/slug/index.js';
|
|
38
39
|
import '@carbon/web-components/es/components/popover/defs.js';
|
|
39
40
|
import '@carbon/web-components/es/components/slug/defs.js';
|
|
41
|
+
import '@floating-ui/react';
|
|
42
|
+
import 'react-dom';
|
|
40
43
|
import '@carbon/web-components/es/components/slug/slug-action-button.js';
|
|
41
44
|
import '@carbon/web-components/es/components/slug/slug.js';
|
|
45
|
+
import '@carbon/web-components/es/components/inline-loading/index.js';
|
|
46
|
+
import '@carbon/icon-helpers';
|
|
47
|
+
import '@carbon/icons';
|
|
48
|
+
import 'lit/directives/unsafe-svg.js';
|
|
42
49
|
import '@carbon/web-components/es/components/textarea/index.js';
|
|
43
50
|
import '@carbon/web-components/es/components/icon-button/index.js';
|
|
44
|
-
import 'lit/directives/unsafe-svg.js';
|
|
45
51
|
import '@carbon/web-components/es/components/tag/index.js';
|
|
46
52
|
import '@carbon/web-components/es/components/chat-button/index.js';
|
|
47
53
|
import '@carbon/web-components/es/components/button/button.js';
|
|
@@ -13,36 +13,42 @@ 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-test-no-cjs
|
|
17
17
|
|
|
18
|
-
Built: Feb
|
|
18
|
+
Built: Feb 26 2025 2:36 pm -05:00
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
*/
|
|
23
|
-
import {
|
|
23
|
+
import { z as debugLog, aE as isConnectToAgent, aI as getSummaryMessages, aJ as asyncForEach, ak as assertType, j as MessageResponseTypes, e as ButtonItemKind, d as ButtonItemType, aF as isEmptyObject, N as consoleError, E as ErrorType, aQ as loadScript, Q 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
|
-
import './highlight_js.js';
|
|
30
|
-
import '@carbon/react';
|
|
31
26
|
import 'react-intl';
|
|
27
|
+
import 'tslib';
|
|
28
|
+
import '@carbon/icons-react';
|
|
29
|
+
import 'classnames';
|
|
30
|
+
import '@carbon/react';
|
|
32
31
|
import 'react-redux';
|
|
33
|
-
import '
|
|
34
|
-
import '
|
|
32
|
+
import 'tabbable';
|
|
33
|
+
import 'lit';
|
|
34
|
+
import 'lit/decorators.js';
|
|
35
35
|
import '@carbon/web-components/es/components/button/index.js';
|
|
36
36
|
import '@carbon/web-components/es/components/overflow-menu/index.js';
|
|
37
37
|
import 'lit/directives/unsafe-html.js';
|
|
38
|
+
import 'prop-types';
|
|
38
39
|
import '@carbon/web-components/es/components/slug/index.js';
|
|
39
40
|
import '@carbon/web-components/es/components/popover/defs.js';
|
|
40
41
|
import '@carbon/web-components/es/components/slug/defs.js';
|
|
42
|
+
import '@floating-ui/react';
|
|
43
|
+
import 'react-dom';
|
|
41
44
|
import '@carbon/web-components/es/components/slug/slug-action-button.js';
|
|
42
45
|
import '@carbon/web-components/es/components/slug/slug.js';
|
|
46
|
+
import '@carbon/web-components/es/components/inline-loading/index.js';
|
|
47
|
+
import '@carbon/icon-helpers';
|
|
48
|
+
import '@carbon/icons';
|
|
49
|
+
import 'lit/directives/unsafe-svg.js';
|
|
43
50
|
import '@carbon/web-components/es/components/textarea/index.js';
|
|
44
51
|
import '@carbon/web-components/es/components/icon-button/index.js';
|
|
45
|
-
import 'lit/directives/unsafe-svg.js';
|
|
46
52
|
import '@carbon/web-components/es/components/tag/index.js';
|
|
47
53
|
import '@carbon/web-components/es/components/chat-button/index.js';
|
|
48
54
|
import '@carbon/web-components/es/components/button/button.js';
|
|
@@ -13,36 +13,41 @@ 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-test-no-cjs
|
|
17
17
|
|
|
18
|
-
Built: Feb
|
|
18
|
+
Built: Feb 26 2025 2:36 pm -05:00
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
*/
|
|
23
|
-
import {
|
|
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';
|
|
23
|
+
import { y as cloneDeep, z as debugLog, D as BuiltInServiceDesk, G as getRegionHostname, J as updateFilesUploadInProgress, K as setIsConnecting, N as consoleError, E as ErrorType, P as addEndChatMessages, S as ScreenShareState, Q as resolveOrTimeout, R as endChat, U as deepFreeze, X as createMessageRequestForText, Y as inputItemToLocalItem, Z as createMessageRequestForFileUpload, _ as addMessages, $ as MessageErrorState, b as AgentsOnlineStatus, a0 as actions, a1 as createLocalMessageForInlineError, a2 as toPair, a3 as setIsScreenSharing, a4 as setIsReconnecting, a as AgentMessageType, a5 as setShowScreenShareRequest, a6 as createAgentLocalMessage, a7 as updateCapabilities, a8 as setAgentAvailability, a9 as setAgentJoined, aa as agentUpdateIsTyping, ab as createMessageResponseForText, ac as addDefaultsToMessage, ad as outputItemToLocalItem, ae as setAgentLeftChat, i as FileStatusValue, af as resolvablePromise, ag as merge, ah as setPersistedServiceDeskState, ai as VERSION } from './AppContainer.js';
|
|
27
24
|
import 'react';
|
|
28
|
-
import 'react-dom';
|
|
29
|
-
import './highlight_js.js';
|
|
30
|
-
import '@carbon/react';
|
|
31
25
|
import 'react-intl';
|
|
26
|
+
import 'tslib';
|
|
27
|
+
import '@carbon/icons-react';
|
|
28
|
+
import 'classnames';
|
|
29
|
+
import '@carbon/react';
|
|
32
30
|
import 'react-redux';
|
|
33
|
-
import '
|
|
34
|
-
import '
|
|
31
|
+
import 'tabbable';
|
|
32
|
+
import 'lit';
|
|
33
|
+
import 'lit/decorators.js';
|
|
35
34
|
import '@carbon/web-components/es/components/button/index.js';
|
|
36
35
|
import '@carbon/web-components/es/components/overflow-menu/index.js';
|
|
37
36
|
import 'lit/directives/unsafe-html.js';
|
|
37
|
+
import 'prop-types';
|
|
38
38
|
import '@carbon/web-components/es/components/slug/index.js';
|
|
39
39
|
import '@carbon/web-components/es/components/popover/defs.js';
|
|
40
40
|
import '@carbon/web-components/es/components/slug/defs.js';
|
|
41
|
+
import '@floating-ui/react';
|
|
42
|
+
import 'react-dom';
|
|
41
43
|
import '@carbon/web-components/es/components/slug/slug-action-button.js';
|
|
42
44
|
import '@carbon/web-components/es/components/slug/slug.js';
|
|
45
|
+
import '@carbon/web-components/es/components/inline-loading/index.js';
|
|
46
|
+
import '@carbon/icon-helpers';
|
|
47
|
+
import '@carbon/icons';
|
|
48
|
+
import 'lit/directives/unsafe-svg.js';
|
|
43
49
|
import '@carbon/web-components/es/components/textarea/index.js';
|
|
44
50
|
import '@carbon/web-components/es/components/icon-button/index.js';
|
|
45
|
-
import 'lit/directives/unsafe-svg.js';
|
|
46
51
|
import '@carbon/web-components/es/components/tag/index.js';
|
|
47
52
|
import '@carbon/web-components/es/components/chat-button/index.js';
|
|
48
53
|
import '@carbon/web-components/es/components/button/button.js';
|
|
@@ -13,37 +13,42 @@ 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-test-no-cjs
|
|
17
17
|
|
|
18
|
-
Built: Feb
|
|
18
|
+
Built: Feb 26 2025 2:36 pm -05:00
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
*/
|
|
23
|
-
import {
|
|
24
|
-
import { a0 as debugLog, ac as uuid, ad as UUIDType, bs as resolveOrTimeout, v as consoleError, at as isConnectToAgent, aV as resolvablePromise, ex as getSummaryMessages, bm as assertType, i as MessageResponseTypes, d as ButtonItemKind, b as ButtonItemType, E as ErrorType } from './cds-aichat-internal.js';
|
|
25
|
-
import { A as ANONYMOUS_USER_ID_PREFIX } from './anonymousUserIDStorage.js';
|
|
23
|
+
import { an as commonjsGlobal, al as getDefaultExportFromCjs, z as debugLog, aN as ANONYMOUS_USER_ID_PREFIX, aO as uuid, aP as UUIDType, Q as resolveOrTimeout, N as consoleError, aE as isConnectToAgent, af as resolvablePromise, aI as getSummaryMessages, ak as assertType, j as MessageResponseTypes, e as ButtonItemKind, d as ButtonItemType, E as ErrorType } from './AppContainer.js';
|
|
26
24
|
import { S as ServiceDeskImpl } from './ServiceDeskImpl.js';
|
|
27
|
-
import 'lit';
|
|
28
|
-
import 'lit/decorators.js';
|
|
29
25
|
import 'react';
|
|
30
|
-
import 'react-dom';
|
|
31
|
-
import '@carbon/react';
|
|
32
26
|
import 'react-intl';
|
|
27
|
+
import 'tslib';
|
|
28
|
+
import '@carbon/icons-react';
|
|
29
|
+
import 'classnames';
|
|
30
|
+
import '@carbon/react';
|
|
33
31
|
import 'react-redux';
|
|
34
|
-
import '
|
|
35
|
-
import '
|
|
32
|
+
import 'tabbable';
|
|
33
|
+
import 'lit';
|
|
34
|
+
import 'lit/decorators.js';
|
|
36
35
|
import '@carbon/web-components/es/components/button/index.js';
|
|
37
36
|
import '@carbon/web-components/es/components/overflow-menu/index.js';
|
|
38
37
|
import 'lit/directives/unsafe-html.js';
|
|
38
|
+
import 'prop-types';
|
|
39
39
|
import '@carbon/web-components/es/components/slug/index.js';
|
|
40
40
|
import '@carbon/web-components/es/components/popover/defs.js';
|
|
41
41
|
import '@carbon/web-components/es/components/slug/defs.js';
|
|
42
|
+
import '@floating-ui/react';
|
|
43
|
+
import 'react-dom';
|
|
42
44
|
import '@carbon/web-components/es/components/slug/slug-action-button.js';
|
|
43
45
|
import '@carbon/web-components/es/components/slug/slug.js';
|
|
46
|
+
import '@carbon/web-components/es/components/inline-loading/index.js';
|
|
47
|
+
import '@carbon/icon-helpers';
|
|
48
|
+
import '@carbon/icons';
|
|
49
|
+
import 'lit/directives/unsafe-svg.js';
|
|
44
50
|
import '@carbon/web-components/es/components/textarea/index.js';
|
|
45
51
|
import '@carbon/web-components/es/components/icon-button/index.js';
|
|
46
|
-
import 'lit/directives/unsafe-svg.js';
|
|
47
52
|
import '@carbon/web-components/es/components/tag/index.js';
|
|
48
53
|
import '@carbon/web-components/es/components/chat-button/index.js';
|
|
49
54
|
import '@carbon/web-components/es/components/button/button.js';
|
|
@@ -13,139 +13,46 @@ 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-test-no-cjs
|
|
17
17
|
|
|
18
|
-
Built: Feb
|
|
18
|
+
Built: Feb 26 2025 2:36 pm -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 {
|
|
24
|
+
import { ao as useLanguagePack, ap as ButtonSizeEnum, aq as isEnterKey, ar as doFocusRef, as as useServiceManager, at as useCounter, au as useWindowSize, av as IS_JEST, aw as parseTextDirective, ax as ModalPortal, ay as FocusTrap, s as consoleWarn, az 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';
|
|
29
|
+
import 'tslib';
|
|
30
|
+
import 'react-redux';
|
|
31
|
+
import 'tabbable';
|
|
27
32
|
import 'lit';
|
|
28
33
|
import 'lit/decorators.js';
|
|
29
|
-
import 'react-dom';
|
|
30
|
-
import './highlight_js.js';
|
|
31
|
-
import 'react-redux';
|
|
32
|
-
import './markdown.js';
|
|
33
|
-
import './markdown_attrs.js';
|
|
34
34
|
import '@carbon/web-components/es/components/button/index.js';
|
|
35
35
|
import '@carbon/web-components/es/components/overflow-menu/index.js';
|
|
36
36
|
import 'lit/directives/unsafe-html.js';
|
|
37
|
+
import 'prop-types';
|
|
37
38
|
import '@carbon/web-components/es/components/slug/index.js';
|
|
38
39
|
import '@carbon/web-components/es/components/popover/defs.js';
|
|
39
40
|
import '@carbon/web-components/es/components/slug/defs.js';
|
|
41
|
+
import '@floating-ui/react';
|
|
42
|
+
import 'react-dom';
|
|
40
43
|
import '@carbon/web-components/es/components/slug/slug-action-button.js';
|
|
41
44
|
import '@carbon/web-components/es/components/slug/slug.js';
|
|
45
|
+
import '@carbon/web-components/es/components/inline-loading/index.js';
|
|
46
|
+
import '@carbon/icon-helpers';
|
|
47
|
+
import '@carbon/icons';
|
|
48
|
+
import 'lit/directives/unsafe-svg.js';
|
|
42
49
|
import '@carbon/web-components/es/components/textarea/index.js';
|
|
43
50
|
import '@carbon/web-components/es/components/icon-button/index.js';
|
|
44
|
-
import 'lit/directives/unsafe-svg.js';
|
|
45
51
|
import '@carbon/web-components/es/components/tag/index.js';
|
|
46
52
|
import '@carbon/web-components/es/components/chat-button/index.js';
|
|
47
53
|
import '@carbon/web-components/es/components/button/button.js';
|
|
48
54
|
import '@carbon/web-components/es/components/layer/index.js';
|
|
49
55
|
|
|
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
56
|
/**
|
|
150
57
|
* @licstart The following is the entire license notice for the
|
|
151
58
|
* 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-test-no-cjs
|
|
17
17
|
|
|
18
|
-
Built: Feb
|
|
18
|
+
Built: Feb 26 2025 2:36 pm -05:00
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
package/dist/es/SFServiceDesk.js
CHANGED
|
@@ -13,36 +13,42 @@ 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-test-no-cjs
|
|
17
17
|
|
|
18
|
-
Built: Feb
|
|
18
|
+
Built: Feb 26 2025 2:36 pm -05:00
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
*/
|
|
23
|
-
import { E as ErrorType,
|
|
23
|
+
import { E as ErrorType, z as debugLog, aE as isConnectToAgent, y as cloneDeep, s as consoleWarn, aG as isEnableDebugLog, aH as mergeNoArrays, aI as getSummaryMessages, aJ as asyncForEach, N as consoleError, aK as safeFetchText, aL as pushAll, ab as createMessageResponseForText, a as AgentMessageType, aM as StatusCodes, aj as sleep, X 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
|
-
import './highlight_js.js';
|
|
30
|
-
import '@carbon/react';
|
|
31
26
|
import 'react-intl';
|
|
27
|
+
import 'tslib';
|
|
28
|
+
import '@carbon/icons-react';
|
|
29
|
+
import 'classnames';
|
|
30
|
+
import '@carbon/react';
|
|
32
31
|
import 'react-redux';
|
|
33
|
-
import '
|
|
34
|
-
import '
|
|
32
|
+
import 'tabbable';
|
|
33
|
+
import 'lit';
|
|
34
|
+
import 'lit/decorators.js';
|
|
35
35
|
import '@carbon/web-components/es/components/button/index.js';
|
|
36
36
|
import '@carbon/web-components/es/components/overflow-menu/index.js';
|
|
37
37
|
import 'lit/directives/unsafe-html.js';
|
|
38
|
+
import 'prop-types';
|
|
38
39
|
import '@carbon/web-components/es/components/slug/index.js';
|
|
39
40
|
import '@carbon/web-components/es/components/popover/defs.js';
|
|
40
41
|
import '@carbon/web-components/es/components/slug/defs.js';
|
|
42
|
+
import '@floating-ui/react';
|
|
43
|
+
import 'react-dom';
|
|
41
44
|
import '@carbon/web-components/es/components/slug/slug-action-button.js';
|
|
42
45
|
import '@carbon/web-components/es/components/slug/slug.js';
|
|
46
|
+
import '@carbon/web-components/es/components/inline-loading/index.js';
|
|
47
|
+
import '@carbon/icon-helpers';
|
|
48
|
+
import '@carbon/icons';
|
|
49
|
+
import 'lit/directives/unsafe-svg.js';
|
|
43
50
|
import '@carbon/web-components/es/components/textarea/index.js';
|
|
44
51
|
import '@carbon/web-components/es/components/icon-button/index.js';
|
|
45
|
-
import 'lit/directives/unsafe-svg.js';
|
|
46
52
|
import '@carbon/web-components/es/components/tag/index.js';
|
|
47
53
|
import '@carbon/web-components/es/components/chat-button/index.js';
|
|
48
54
|
import '@carbon/web-components/es/components/button/button.js';
|
|
@@ -62,6 +68,7 @@ import '@carbon/web-components/es/components/layer/index.js';
|
|
|
62
68
|
* disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
|
|
63
69
|
*
|
|
64
70
|
*/
|
|
71
|
+
/* eslint-disable no-await-in-loop */
|
|
65
72
|
const PREFIX = '[SFServiceDesk]';
|
|
66
73
|
// Fields required for routing to the correct Salesforce queue.
|
|
67
74
|
const BUTTON_ID = 'buttonId';
|
|
@@ -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-test-no-cjs
|
|
17
17
|
|
|
18
|
-
Built: Feb
|
|
18
|
+
Built: Feb 26 2025 2:36 pm -05:00
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|