@microsoft/omnichannel-chat-widget 1.8.3-main.892e099 → 1.8.3-main.b5b8289
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/lib/cjs/common/Constants.js +2 -0
- package/lib/cjs/common/telemetry/TelemetryConstants.js +3 -0
- package/lib/cjs/components/citationpanestateful/CitationDim.js +29 -0
- package/lib/cjs/components/citationpanestateful/CitationPaneStateful.js +198 -0
- package/lib/cjs/components/citationpanestateful/common/defaultProps/defaultCitationPaneProps.js +70 -0
- package/lib/cjs/components/confirmationpanestateful/interfaces/IConfirmationPaneLocalizedTexts.js +1 -0
- package/lib/cjs/components/livechatwidget/common/ActivitySubscriber/BotAuthActivitySubscriber.js +4 -5
- package/lib/cjs/components/livechatwidget/common/endChat.js +33 -4
- package/lib/cjs/components/livechatwidget/common/initWebChatComposer.js +5 -3
- package/lib/cjs/components/livechatwidget/common/startChat.js +5 -4
- package/lib/cjs/components/livechatwidget/livechatwidgetstateful/LiveChatWidgetStateful.js +25 -1
- package/lib/cjs/components/webchatcontainerstateful/WebChatContainerStateful.js +89 -4
- package/lib/cjs/components/webchatcontainerstateful/interfaces/ICitation.js +1 -0
- package/lib/cjs/components/webchatcontainerstateful/webchatcontroller/middlewares/storemiddlewares/citationsMiddleware.js +97 -30
- package/lib/cjs/components/webchatcontainerstateful/webchatcontroller/middlewares/storemiddlewares/localizedStringsBotInitialsMiddleware.js +54 -0
- package/lib/cjs/components/webchatcontainerstateful/webchatcontroller/middlewares/storemiddlewares/queueOverflowHandlerMiddleware.js +2 -2
- package/lib/cjs/contexts/common/LiveChatWidgetActionType.js +46 -45
- package/lib/cjs/contexts/common/LiveChatWidgetContextInitialState.js +2 -0
- package/lib/cjs/contexts/createReducer.js +15 -0
- package/lib/esm/common/Constants.js +2 -0
- package/lib/esm/common/telemetry/TelemetryConstants.js +3 -0
- package/lib/esm/components/citationpanestateful/CitationDim.js +20 -0
- package/lib/esm/components/citationpanestateful/CitationPaneStateful.js +187 -0
- package/lib/esm/components/citationpanestateful/common/defaultProps/defaultCitationPaneProps.js +61 -0
- package/lib/esm/components/confirmationpanestateful/interfaces/IConfirmationPaneLocalizedTexts.js +1 -0
- package/lib/esm/components/livechatwidget/common/ActivitySubscriber/BotAuthActivitySubscriber.js +4 -5
- package/lib/esm/components/livechatwidget/common/endChat.js +34 -5
- package/lib/esm/components/livechatwidget/common/initWebChatComposer.js +5 -3
- package/lib/esm/components/livechatwidget/common/startChat.js +5 -4
- package/lib/esm/components/livechatwidget/livechatwidgetstateful/LiveChatWidgetStateful.js +25 -1
- package/lib/esm/components/webchatcontainerstateful/WebChatContainerStateful.js +89 -5
- package/lib/esm/components/webchatcontainerstateful/interfaces/ICitation.js +1 -0
- package/lib/esm/components/webchatcontainerstateful/webchatcontroller/middlewares/storemiddlewares/citationsMiddleware.js +98 -30
- package/lib/esm/components/webchatcontainerstateful/webchatcontroller/middlewares/storemiddlewares/localizedStringsBotInitialsMiddleware.js +46 -0
- package/lib/esm/components/webchatcontainerstateful/webchatcontroller/middlewares/storemiddlewares/queueOverflowHandlerMiddleware.js +2 -2
- package/lib/esm/contexts/common/LiveChatWidgetActionType.js +46 -45
- package/lib/esm/contexts/common/LiveChatWidgetContextInitialState.js +2 -0
- package/lib/esm/contexts/createReducer.js +15 -0
- package/lib/types/common/Constants.d.ts +2 -0
- package/lib/types/common/telemetry/TelemetryConstants.d.ts +3 -0
- package/lib/types/components/citationpanestateful/CitationDim.d.ts +5 -0
- package/lib/types/components/citationpanestateful/CitationPaneStateful.d.ts +4 -0
- package/lib/types/components/citationpanestateful/common/defaultProps/defaultCitationPaneProps.d.ts +11 -0
- package/lib/types/components/citationpanestateful/interfaces/ICitationPaneStatefulProps.d.ts +10 -0
- package/lib/types/components/confirmationpanestateful/common/defaultProps/defaultConfirmationPaneLocalizedTexts.d.ts +1 -1
- package/lib/types/components/confirmationpanestateful/interfaces/IConfirmationPaneStatefulProps.d.ts +1 -1
- package/lib/types/components/livechatwidget/interfaces/ILiveChatWidgetProps.d.ts +5 -1
- package/lib/types/components/webchatcontainerstateful/interfaces/ICitation.d.ts +12 -0
- package/lib/types/components/webchatcontainerstateful/webchatcontroller/middlewares/storemiddlewares/citationsMiddleware.d.ts +3 -4
- package/lib/types/components/webchatcontainerstateful/webchatcontroller/middlewares/storemiddlewares/localizedStringsBotInitialsMiddleware.d.ts +5 -0
- package/lib/types/components/webchatcontainerstateful/webchatcontroller/middlewares/storemiddlewares/queueOverflowHandlerMiddleware.d.ts +2 -2
- package/lib/types/contexts/common/ILiveChatWidgetContext.d.ts +1 -0
- package/lib/types/contexts/common/LiveChatWidgetActionType.d.ts +46 -45
- package/package.json +4 -3
- /package/lib/cjs/components/{confirmationpanestateful/interfaces/IConfirmationPaneLocalizedText.js → citationpanestateful/interfaces/ICitationPaneStatefulProps.js} +0 -0
- /package/lib/esm/components/{confirmationpanestateful/interfaces/IConfirmationPaneLocalizedText.js → citationpanestateful/interfaces/ICitationPaneStatefulProps.js} +0 -0
- /package/lib/types/components/confirmationpanestateful/interfaces/{IConfirmationPaneLocalizedText.d.ts → IConfirmationPaneLocalizedTexts.d.ts} +0 -0
|
@@ -2,49 +2,50 @@ export declare enum LiveChatWidgetActionType {
|
|
|
2
2
|
SET_WIDGET_ELEMENT_ID = 0,
|
|
3
3
|
SET_RENDERING_MIDDLEWARE_PROPS = 1,
|
|
4
4
|
SET_MIDDLEWARE_LOCALIZED_TEXTS = 2,
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
5
|
+
SET_CITATIONS = 3,
|
|
6
|
+
SET_GLOBAL_DIR = 4,
|
|
7
|
+
SET_MINIMIZED = 5,
|
|
8
|
+
SET_CONVERSATION_STATE = 6,
|
|
9
|
+
SET_PREVIOUS_FOCUSED_ELEMENT_ID = 7,
|
|
10
|
+
SET_START_CHAT_FAILING = 8,
|
|
11
|
+
SET_START_CHAT_FAILURE_TYPE = 9,
|
|
12
|
+
SET_OUTSIDE_OPERATING_HOURS = 10,
|
|
13
|
+
SET_PRE_CHAT_SURVEY_RESPONSE = 11,
|
|
14
|
+
SET_CUSTOM_CONTEXT = 12,
|
|
15
|
+
SET_SHOW_CONFIRMATION = 13,
|
|
16
|
+
SET_SHOW_EMAIL_TRANSCRIPT_PANE = 14,
|
|
17
|
+
SET_PRECHAT_RESPONSE_EMAIL = 15,
|
|
18
|
+
SET_AUDIO_NOTIFICATION = 16,
|
|
19
|
+
SET_E2VV_ENABLED = 17,
|
|
20
|
+
SET_POST_CHAT_CONTEXT = 18,
|
|
21
|
+
SHOW_CALLING_CONTAINER = 19,
|
|
22
|
+
SET_INCOMING_CALL = 20,
|
|
23
|
+
DISABLE_VIDEO_CALL = 21,
|
|
24
|
+
DISABLE_LOCAL_VIDEO = 22,
|
|
25
|
+
DISABLE_REMOTE_VIDEO = 23,
|
|
26
|
+
SET_CHAT_TOKEN = 24,
|
|
27
|
+
SET_START_CHAT_BUTTON_DISPLAY = 25,
|
|
28
|
+
SET_PROACTIVE_CHAT_PARAMS = 26,
|
|
29
|
+
SET_TELEMETRY_DATA = 27,
|
|
30
|
+
SET_RECONNECT_ID = 28,
|
|
31
|
+
SET_UNREAD_MESSAGE_COUNT = 29,
|
|
32
|
+
SET_FOCUS_CHAT_BUTTON = 30,
|
|
33
|
+
SET_CONVERSATION_ENDED_BY_AGENT_EVENT_RECEIVED = 31,
|
|
34
|
+
SET_CONVERSATION_ENDED_BY = 32,
|
|
35
|
+
SET_WIDGET_STATE = 33,
|
|
36
|
+
SET_LIVE_CHAT_CONTEXT = 34,
|
|
37
|
+
SET_BOT_OAUTH_SIGNIN_ID = 35,
|
|
38
|
+
SET_WIDGET_SIZE = 36,
|
|
39
|
+
SET_WIDGET_INSTANCE_ID = 37,
|
|
40
|
+
SET_LIVE_CHAT_CONFIG = 38,
|
|
41
|
+
SET_POST_CHAT_WORKFLOW_IN_PROGRESS = 39,
|
|
42
|
+
SET_INITIAL_CHAT_SDK_REQUEST_ID = 40,
|
|
43
|
+
SET_SHOULD_USE_BOT_SURVEY = 41,
|
|
44
|
+
SET_CHAT_DISCONNECT_EVENT_RECEIVED = 42,
|
|
45
|
+
SET_SURVEY_MODE = 43,
|
|
46
|
+
SET_CONFIRMATION_STATE = 44,
|
|
47
|
+
SET_POST_CHAT_PARTICIPANT_TYPE = 45,
|
|
48
|
+
SET_CONVERSATIONAL_SURVEY_ENABLED = 46,
|
|
49
|
+
SET_CONVERSATIONAL_SURVEY_DISPLAY = 47,
|
|
50
|
+
GET_IN_MEMORY_STATE = 48
|
|
50
51
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@microsoft/omnichannel-chat-widget",
|
|
3
|
-
"version": "1.8.3-main.
|
|
3
|
+
"version": "1.8.3-main.b5b8289",
|
|
4
4
|
"description": "Microsoft Omnichannel Chat Widget",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"types": "lib/types/index.d.ts",
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
"dependencies": {
|
|
87
87
|
"@azure/core-tracing": "^1.2.0",
|
|
88
88
|
"@microsoft/applicationinsights-web": "^3.3.6",
|
|
89
|
-
"@microsoft/omnichannel-chat-components": "1.1.
|
|
89
|
+
"@microsoft/omnichannel-chat-components": "1.1.14",
|
|
90
90
|
"@microsoft/omnichannel-chat-sdk": "^1.11.6",
|
|
91
91
|
"@opentelemetry/api": "^1.9.0",
|
|
92
92
|
"abort-controller": "^3",
|
|
@@ -144,7 +144,8 @@
|
|
|
144
144
|
"**/abort-controller-es5": "^2.0.1",
|
|
145
145
|
"**/minimist": "1.2.6",
|
|
146
146
|
"**/sanitize-html": "2.14.0",
|
|
147
|
-
"@storybook/react-docgen-typescript-plugin": "1.0.6--canary.9.cd77847.0"
|
|
147
|
+
"@storybook/react-docgen-typescript-plugin": "1.0.6--canary.9.cd77847.0",
|
|
148
|
+
"**/semver": "7.5.4"
|
|
148
149
|
},
|
|
149
150
|
"jest": {
|
|
150
151
|
"verbose": true,
|
|
File without changes
|
|
File without changes
|