widget-chatbot 1.0.3-alpha.3 → 1.0.3-alpha.5
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/index.d.ts +36 -0
- package/dist/index.js +1 -1
- package/package.json +2 -2
- package/dist/types/assets/LoadingIcon.d.ts +0 -2
- package/dist/types/assets/icons/BackIcon.d.ts +0 -5
- package/dist/types/assets/icons/DocIcon.d.ts +0 -2
- package/dist/types/assets/icons/DragIcon.d.ts +0 -10
- package/dist/types/assets/icons/FileAltIcon.d.ts +0 -5
- package/dist/types/assets/icons/FollowAssistant.d.ts +0 -2
- package/dist/types/assets/icons/FormIcon.d.ts +0 -2
- package/dist/types/assets/icons/ReactionFeedbackIcon.d.ts +0 -5
- package/dist/types/assets/icons/ReadUnreadIcon.d.ts +0 -2
- package/dist/types/assets/icons/RightArrowIcon.d.ts +0 -2
- package/dist/types/assets/icons/ThumbsIcon.d.ts +0 -8
- package/dist/types/index.d.ts +0 -95
- package/dist/types/src/HistoryContext.d.ts +0 -7
- package/dist/types/src/LanguageContextProvider.d.ts +0 -5
- package/dist/types/src/PayloadContextProvider.d.ts +0 -28
- package/dist/types/src/PayslipContextProvider.d.ts +0 -22
- package/dist/types/src/components/Global/ErrorBoundary/index.d.ts +0 -13
- package/dist/types/src/components/Global/ModalChatbot/index.d.ts +0 -41
- package/dist/types/src/components/Global/NotAuthorized/index.d.ts +0 -2
- package/dist/types/src/components/Widget/ThemeContext.d.ts +0 -2
- package/dist/types/src/components/Widget/components/Conversation/HelpdeskChatContextProvider.d.ts +0 -5
- package/dist/types/src/components/Widget/components/Conversation/components/Body/ModalComponents/ModalCloseTicket.d.ts +0 -2
- package/dist/types/src/components/Widget/components/Conversation/components/Body/ModalComponents/ModalFeedback.d.ts +0 -4
- package/dist/types/src/components/Widget/components/Conversation/components/Body/ModalComponents/ModalImagePreview.d.ts +0 -2
- package/dist/types/src/components/Widget/components/Conversation/components/Body/ModalComponents/index.d.ts +0 -2
- package/dist/types/src/components/Widget/components/Conversation/components/Body/index.d.ts +0 -8
- package/dist/types/src/components/Widget/components/Conversation/components/Ehelp/EhelpBotInfo.d.ts +0 -2
- package/dist/types/src/components/Widget/components/Conversation/components/Ehelp/EhelpMarkdownText.d.ts +0 -4
- package/dist/types/src/components/Widget/components/Conversation/components/Ehelp/EhelpMessagesRender.d.ts +0 -6
- package/dist/types/src/components/Widget/components/Conversation/components/Ehelp/EhelpNewComponent.d.ts +0 -11
- package/dist/types/src/components/Widget/components/Conversation/components/Ehelp/EhelpPrediction.d.ts +0 -16
- package/dist/types/src/components/Widget/components/Conversation/components/Ehelp/EhelpRecommendation.d.ts +0 -2
- package/dist/types/src/components/Widget/components/Conversation/components/Ehelp/EhelpReferences.d.ts +0 -10
- package/dist/types/src/components/Widget/components/Conversation/components/Ehelp/EhelpSuggestion.d.ts +0 -2
- package/dist/types/src/components/Widget/components/Conversation/components/Ehelp/EhelpTimestamps.d.ts +0 -12
- package/dist/types/src/components/Widget/components/Conversation/components/Ehelp/EhelpTypingIndication.d.ts +0 -2
- package/dist/types/src/components/Widget/components/Conversation/components/Ehelp/components-message/EhelpChart.d.ts +0 -4
- package/dist/types/src/components/Widget/components/Conversation/components/Ehelp/components-message/EhelpCollapsible.d.ts +0 -4
- package/dist/types/src/components/Widget/components/Conversation/components/Ehelp/components-message/EhelpDivider.d.ts +0 -2
- package/dist/types/src/components/Widget/components/Conversation/components/Ehelp/components-message/EhelpFileDownload.d.ts +0 -4
- package/dist/types/src/components/Widget/components/Conversation/components/Ehelp/components-message/EhelpText.d.ts +0 -4
- package/dist/types/src/components/Widget/components/Conversation/components/Ehelp/index.d.ts +0 -4
- package/dist/types/src/components/Widget/components/Conversation/components/Header/index.d.ts +0 -26
- package/dist/types/src/components/Widget/components/Conversation/components/Helpdesk/EmptyHelpdesk.d.ts +0 -2
- package/dist/types/src/components/Widget/components/Conversation/components/Helpdesk/detail-helpdesk/BalloonChat.d.ts +0 -7
- package/dist/types/src/components/Widget/components/Conversation/components/Helpdesk/detail-helpdesk/chat_type/AttachmentChat.d.ts +0 -10
- package/dist/types/src/components/Widget/components/Conversation/components/Helpdesk/detail-helpdesk/chat_type/RegularChat.d.ts +0 -4
- package/dist/types/src/components/Widget/components/Conversation/components/Helpdesk/detail-helpdesk/chat_type/info-chat/index.d.ts +0 -4
- package/dist/types/src/components/Widget/components/Conversation/components/Helpdesk/detail-helpdesk/index.d.ts +0 -4
- package/dist/types/src/components/Widget/components/Conversation/components/Helpdesk/index.d.ts +0 -2
- package/dist/types/src/components/Widget/components/Conversation/components/Helpdesk/list-ticket/index.d.ts +0 -2
- package/dist/types/src/components/Widget/components/Conversation/components/Helpdesk/loading-next-fetch/index.d.ts +0 -10
- package/dist/types/src/components/Widget/components/Conversation/components/Helpdesk/search-ticket/index.d.ts +0 -2
- package/dist/types/src/components/Widget/components/Conversation/components/Helpdesk/skeleton-helpdesk/index.d.ts +0 -6
- package/dist/types/src/components/Widget/components/Conversation/components/Helpdesk/title-helpdesk/index.d.ts +0 -2
- package/dist/types/src/components/Widget/components/Conversation/components/Messages/MessagesRender.d.ts +0 -16
- package/dist/types/src/components/Widget/components/Conversation/components/Messages/components/Feedback/FormFeedback.d.ts +0 -6
- package/dist/types/src/components/Widget/components/Conversation/components/Messages/components/Feedback/ListReasons.d.ts +0 -5
- package/dist/types/src/components/Widget/components/Conversation/components/Messages/components/Feedback/index.d.ts +0 -19
- package/dist/types/src/components/Widget/components/Conversation/components/Messages/index.d.ts +0 -23
- package/dist/types/src/components/Widget/components/Conversation/components/Sender/AssistantSender.d.ts +0 -26
- package/dist/types/src/components/Widget/components/Conversation/components/Sender/ButtonResetConvo.d.ts +0 -5
- package/dist/types/src/components/Widget/components/Conversation/components/Sender/EhelpSender.d.ts +0 -2
- package/dist/types/src/components/Widget/components/Conversation/components/Sender/HelpdeskSender.d.ts +0 -6
- package/dist/types/src/components/Widget/components/Conversation/components/Sender/LiveChatSender.d.ts +0 -32
- package/dist/types/src/components/Widget/components/Conversation/components/Sender/helpers/isStringNull.d.ts +0 -2
- package/dist/types/src/components/Widget/components/Conversation/components/Sender/index.d.ts +0 -30
- package/dist/types/src/components/Widget/components/Conversation/components/TabBottom/DotLiveChat.d.ts +0 -2
- package/dist/types/src/components/Widget/components/Conversation/components/TabBottom/index.d.ts +0 -2
- package/dist/types/src/components/Widget/components/Conversation/index.d.ts +0 -23
- package/dist/types/src/components/Widget/components/Launcher/components/Badge/index.d.ts +0 -9
- package/dist/types/src/components/Widget/components/Launcher/components/LauncherCollapse/index.d.ts +0 -5
- package/dist/types/src/components/Widget/components/Launcher/index.d.ts +0 -34
- package/dist/types/src/components/Widget/index.d.ts +0 -113
- package/dist/types/src/components/Widget/layout.d.ts +0 -31
- package/dist/types/src/components/Widget/msgProcessor.d.ts +0 -23
- package/dist/types/src/constants.d.ts +0 -70
- package/dist/types/src/context/ConversationContextProvider.d.ts +0 -22
- package/dist/types/src/context/EhelpContextProvider.d.ts +0 -7
- package/dist/types/src/context/ErrorBoundaryContextProvider.d.ts +0 -5
- package/dist/types/src/context/ListTicketContextProvider.d.ts +0 -5
- package/dist/types/src/context/types.d.ts +0 -170
- package/dist/types/src/helpers/ModalResult.d.ts +0 -17
- package/dist/types/src/helpers/constant.d.ts +0 -10
- package/dist/types/src/helpers/decrypt.d.ts +0 -2
- package/dist/types/src/helpers/encrypt.d.ts +0 -2
- package/dist/types/src/helpers/formatChat.d.ts +0 -3
- package/dist/types/src/helpers/formatDate.d.ts +0 -4
- package/dist/types/src/helpers/getBase64.d.ts +0 -2
- package/dist/types/src/helpers/getTextWidth.d.ts +0 -2
- package/dist/types/src/helpers/isMobileUserAgent.d.ts +0 -2
- package/dist/types/src/helpers/sortArr.d.ts +0 -9
- package/dist/types/src/helpers/uniqueArrObj.d.ts +0 -2
- package/dist/types/src/hooks/useDecodeJWT.d.ts +0 -35
- package/dist/types/src/hooks/useDictionary.d.ts +0 -8
- package/dist/types/src/hooks/useFetch.d.ts +0 -13
- package/dist/types/src/hooks/useGetFileNameImage.d.ts +0 -7
- package/dist/types/src/hooks/useHeadersEnt.d.ts +0 -9
- package/dist/types/src/hooks/useWSChatbot.d.ts +0 -7
- package/dist/types/src/index.d.ts +0 -4
- package/dist/types/src/pro-src/rules-wrapper.d.ts +0 -2
- package/dist/types/src/pro-src/rules.d.ts +0 -38
- package/dist/types/src/pro-src/utils.d.ts +0 -1
- package/dist/types/src/socket-socketio.d.ts +0 -1
- package/dist/types/src/socket-sockjs.d.ts +0 -2
- package/dist/types/src/socket.d.ts +0 -1
- package/dist/types/src/store/actions/actionTypes.d.ts +0 -62
- package/dist/types/src/store/reducers/behaviorReducer.d.ts +0 -7
- package/dist/types/src/store/reducers/ehelpReducer.d.ts +0 -30
- package/dist/types/src/store/reducers/helper.d.ts +0 -31
- package/dist/types/src/store/reducers/messagesReducer.d.ts +0 -2
- package/dist/types/src/store/reducers/metadataReducer.d.ts +0 -2
- package/dist/types/src/store/store.d.ts +0 -1
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "widget-chatbot",
|
|
3
|
-
"version": "1.0.3-alpha.
|
|
3
|
+
"version": "1.0.3-alpha.5",
|
|
4
4
|
"description": "Custom rasa chat widget",
|
|
5
5
|
"module": "module/index.js",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
|
-
"types": "dist/
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
8
|
"files": [
|
|
9
9
|
"dist"
|
|
10
10
|
],
|
package/dist/types/index.d.ts
DELETED
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
export namespace rasaWebchatProTypes {
|
|
2
|
-
const initPayload: string;
|
|
3
|
-
const title: string;
|
|
4
|
-
const subtitle: string;
|
|
5
|
-
const protocol: string;
|
|
6
|
-
const socketUrl: string;
|
|
7
|
-
const socketPath: string;
|
|
8
|
-
const protocolOptions: object;
|
|
9
|
-
const customData: object;
|
|
10
|
-
const handleNewUserMessage: () => void;
|
|
11
|
-
const profileAvatar: string;
|
|
12
|
-
const inputTextFieldHint: string;
|
|
13
|
-
const connectingText: string;
|
|
14
|
-
const showCloseButton: boolean;
|
|
15
|
-
const showFullScreenButton: boolean;
|
|
16
|
-
const hideWhenNotConnected: boolean;
|
|
17
|
-
const connectOn: 'mount' | 'open';
|
|
18
|
-
const autoClearCache: boolean;
|
|
19
|
-
const onSocketEvent: any;
|
|
20
|
-
const fullScreenMode: boolean;
|
|
21
|
-
const badge: number;
|
|
22
|
-
const embedded: boolean;
|
|
23
|
-
const params: object;
|
|
24
|
-
const openLauncherImage: string;
|
|
25
|
-
const closeImage: string;
|
|
26
|
-
const docViewer: boolean;
|
|
27
|
-
const customComponent: () => void;
|
|
28
|
-
const displayUnreadCount: boolean;
|
|
29
|
-
const showMessageDate: any;
|
|
30
|
-
const customMessageDelay: () => void;
|
|
31
|
-
const tooltipPayload: string;
|
|
32
|
-
const tooltipDelay: number;
|
|
33
|
-
const withRules: boolean;
|
|
34
|
-
const rules: any;
|
|
35
|
-
const triggerEventListenerUpdateRate: number;
|
|
36
|
-
}
|
|
37
|
-
export namespace rasaWebchatProDefaultTypes {
|
|
38
|
-
let title_1: string;
|
|
39
|
-
export { title_1 as title };
|
|
40
|
-
let customData_1: {};
|
|
41
|
-
export { customData_1 as customData };
|
|
42
|
-
let inputTextFieldHint_1: string;
|
|
43
|
-
export { inputTextFieldHint_1 as inputTextFieldHint };
|
|
44
|
-
let connectingText_1: string;
|
|
45
|
-
export { connectingText_1 as connectingText };
|
|
46
|
-
let fullScreenMode_1: boolean;
|
|
47
|
-
export { fullScreenMode_1 as fullScreenMode };
|
|
48
|
-
let hideWhenNotConnected_1: boolean;
|
|
49
|
-
export { hideWhenNotConnected_1 as hideWhenNotConnected };
|
|
50
|
-
let autoClearCache_1: boolean;
|
|
51
|
-
export { autoClearCache_1 as autoClearCache };
|
|
52
|
-
let connectOn_1: string;
|
|
53
|
-
export { connectOn_1 as connectOn };
|
|
54
|
-
let onSocketEvent_1: {};
|
|
55
|
-
export { onSocketEvent_1 as onSocketEvent };
|
|
56
|
-
let protocol_1: string;
|
|
57
|
-
export { protocol_1 as protocol };
|
|
58
|
-
let socketUrl_1: string;
|
|
59
|
-
export { socketUrl_1 as socketUrl };
|
|
60
|
-
let protocolOptions_1: {};
|
|
61
|
-
export { protocolOptions_1 as protocolOptions };
|
|
62
|
-
let badge_1: number;
|
|
63
|
-
export { badge_1 as badge };
|
|
64
|
-
let embedded_1: boolean;
|
|
65
|
-
export { embedded_1 as embedded };
|
|
66
|
-
export namespace params_1 {
|
|
67
|
-
let storage: string;
|
|
68
|
-
}
|
|
69
|
-
export { params_1 as params };
|
|
70
|
-
let docViewer_1: boolean;
|
|
71
|
-
export { docViewer_1 as docViewer };
|
|
72
|
-
let showCloseButton_1: boolean;
|
|
73
|
-
export { showCloseButton_1 as showCloseButton };
|
|
74
|
-
let showFullScreenButton_1: boolean;
|
|
75
|
-
export { showFullScreenButton_1 as showFullScreenButton };
|
|
76
|
-
let displayUnreadCount_1: boolean;
|
|
77
|
-
export { displayUnreadCount_1 as displayUnreadCount };
|
|
78
|
-
let showMessageDate_1: boolean;
|
|
79
|
-
export { showMessageDate_1 as showMessageDate };
|
|
80
|
-
export function customMessageDelay_1(message: any): number;
|
|
81
|
-
export { customMessageDelay_1 as customMessageDelay };
|
|
82
|
-
let tooltipPayload_1: any;
|
|
83
|
-
export { tooltipPayload_1 as tooltipPayload };
|
|
84
|
-
let tooltipDelay_1: number;
|
|
85
|
-
export { tooltipDelay_1 as tooltipDelay };
|
|
86
|
-
let withRules_1: boolean;
|
|
87
|
-
export { withRules_1 as withRules };
|
|
88
|
-
let rules_1: any;
|
|
89
|
-
export { rules_1 as rules };
|
|
90
|
-
let triggerEventListenerUpdateRate_1: number;
|
|
91
|
-
export { triggerEventListenerUpdateRate_1 as triggerEventListenerUpdateRate };
|
|
92
|
-
}
|
|
93
|
-
declare const _default: any;
|
|
94
|
-
export default _default;
|
|
95
|
-
export function selfMount(props: any, element?: any): void;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
export function usePayloadContext(): PayloadContextData;
|
|
2
|
-
export default PayloadContextProvider;
|
|
3
|
-
export type PayloadContextData = {
|
|
4
|
-
access_token: string;
|
|
5
|
-
refresh_token: string;
|
|
6
|
-
companycode: string;
|
|
7
|
-
companyid: string;
|
|
8
|
-
env: string;
|
|
9
|
-
keyEncrypt: string;
|
|
10
|
-
lang: string;
|
|
11
|
-
uagent: string;
|
|
12
|
-
uriBackend: string;
|
|
13
|
-
uriBackendEnt: string;
|
|
14
|
-
uriService: string;
|
|
15
|
-
origin: string;
|
|
16
|
-
getWebSocket: import("react-use-websocket/dist/lib/types").WebSocketHook["getWebSocket"];
|
|
17
|
-
onRefreshToken: () => void;
|
|
18
|
-
isVerifyHelpdesk: boolean;
|
|
19
|
-
};
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @param {object} props
|
|
23
|
-
* @param {string} props.initPayload
|
|
24
|
-
* @returns
|
|
25
|
-
*/
|
|
26
|
-
declare function PayloadContextProvider({ children, initPayload, setInitPayload }: {
|
|
27
|
-
initPayload: string;
|
|
28
|
-
}): any;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export const PayslipContext: import("react").Context<{
|
|
2
|
-
isValid: boolean;
|
|
3
|
-
onSubmitPwdPY: () => void;
|
|
4
|
-
loadingAccess: boolean;
|
|
5
|
-
}>;
|
|
6
|
-
export function usePayslipContext(): {
|
|
7
|
-
isValid: boolean;
|
|
8
|
-
onSubmitPwdPY: () => void;
|
|
9
|
-
loadingAccess: boolean;
|
|
10
|
-
};
|
|
11
|
-
declare const _default: import("react-redux").ConnectedComponent<({ messages, children, onCheckPYPwd, onCheckPYAccess }: {
|
|
12
|
-
messages: any;
|
|
13
|
-
children: any;
|
|
14
|
-
onCheckPYPwd: any;
|
|
15
|
-
onCheckPYAccess: any;
|
|
16
|
-
}) => any, import("react-redux").Omit<{
|
|
17
|
-
messages: any;
|
|
18
|
-
children: any;
|
|
19
|
-
onCheckPYPwd: any;
|
|
20
|
-
onCheckPYAccess: any;
|
|
21
|
-
}, "messages">>;
|
|
22
|
-
export default _default;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export default ErrorBoundary;
|
|
2
|
-
declare class ErrorBoundary {
|
|
3
|
-
static getDerivedStateFromError(error: any): {
|
|
4
|
-
hasError: boolean;
|
|
5
|
-
};
|
|
6
|
-
constructor(props: any);
|
|
7
|
-
state: {
|
|
8
|
-
hasError: boolean;
|
|
9
|
-
errMsg: string;
|
|
10
|
-
};
|
|
11
|
-
componentDidCatch(error: any, errorInfo: any): void;
|
|
12
|
-
render(): any;
|
|
13
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
export default ModalChatbot;
|
|
2
|
-
export type ModalChatbotProps = {
|
|
3
|
-
visible: boolean;
|
|
4
|
-
onClose?: () => void;
|
|
5
|
-
okText?: string;
|
|
6
|
-
onOk?: () => void;
|
|
7
|
-
type?: "success" | "info" | "warning" | "error";
|
|
8
|
-
title?: string;
|
|
9
|
-
subTitle?: string;
|
|
10
|
-
footer?: React.ReactNode;
|
|
11
|
-
style?: import("react").CSSProperties;
|
|
12
|
-
styleOverlay?: import("react").CSSProperties;
|
|
13
|
-
buttonOkProps?: import("antd/lib/button").ButtonProps;
|
|
14
|
-
buttonCancelProps?: import("antd/lib/button").ButtonProps;
|
|
15
|
-
showCancel?: boolean;
|
|
16
|
-
maskClosable?: boolean;
|
|
17
|
-
};
|
|
18
|
-
/**
|
|
19
|
-
* @typedef ModalChatbotProps
|
|
20
|
-
* @property {boolean} visible
|
|
21
|
-
* @property {()=>void} [onClose]
|
|
22
|
-
* @property {string} [okText=Ok]
|
|
23
|
-
* @property {()=>void} [onOk]
|
|
24
|
-
* @property {'success'|'info'|'warning'|'error'} [type]
|
|
25
|
-
* @property {string} [title]
|
|
26
|
-
* @property {string} [subTitle]
|
|
27
|
-
* @property {React.ReactNode} [footer]
|
|
28
|
-
* @property {import('react').CSSProperties} [style]
|
|
29
|
-
* @property {import('react').CSSProperties} [styleOverlay]
|
|
30
|
-
* @property {import('antd/lib/button').ButtonProps} [buttonOkProps]
|
|
31
|
-
* @property {import('antd/lib/button').ButtonProps} [buttonCancelProps]
|
|
32
|
-
* @property {boolean} [showCancel=true]
|
|
33
|
-
* @property {boolean} [maskClosable=true]
|
|
34
|
-
*
|
|
35
|
-
*/
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @param {ModalChatbotProps} props
|
|
39
|
-
* @returns {Element}
|
|
40
|
-
*/
|
|
41
|
-
declare function ModalChatbot({ visible, onClose, okText, onOk, type, title, subTitle, children, footer, style, styleOverlay, buttonOkProps, buttonCancelProps, showCancel, maskClosable, }: ModalChatbotProps): Element;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
declare const _default: import("react").MemoExoticComponent<({ taskIDSelect, isStickyDate, onScrollListTicket, heightContent, props }: {
|
|
2
|
-
taskIDSelect: any;
|
|
3
|
-
isStickyDate: any;
|
|
4
|
-
onScrollListTicket: any;
|
|
5
|
-
heightContent: any;
|
|
6
|
-
props: any;
|
|
7
|
-
}) => any>;
|
|
8
|
-
export default _default;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export default EhelpNewComponent;
|
|
2
|
-
declare function EhelpNewComponent({ datetime, data, onFollowInstruction, onDocAction, onFormAction, hideButtonId, showApplyChat, chatId, }: {
|
|
3
|
-
datetime: any;
|
|
4
|
-
data: any;
|
|
5
|
-
onFollowInstruction: any;
|
|
6
|
-
onDocAction: any;
|
|
7
|
-
onFormAction: any;
|
|
8
|
-
hideButtonId: any;
|
|
9
|
-
showApplyChat?: boolean;
|
|
10
|
-
chatId: any;
|
|
11
|
-
}): any;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export default EhelpPrediction;
|
|
2
|
-
/**
|
|
3
|
-
*
|
|
4
|
-
* @param {object} props
|
|
5
|
-
* @param {import('../../../../../../context/types').AskResponseMessages} props.item
|
|
6
|
-
* @param {import('../../../../../../context/types').PredictionObject} props.prediction
|
|
7
|
-
* @param {() => void} props.onFollowInstruction
|
|
8
|
-
* @param {string[]} props.hideButtonId
|
|
9
|
-
* @returns
|
|
10
|
-
*/
|
|
11
|
-
declare function EhelpPrediction({ item, prediction, onFollowInstruction, hideButtonId }: {
|
|
12
|
-
item: import("../../../../../../context/types").AskResponseMessages;
|
|
13
|
-
prediction: import("../../../../../../context/types").PredictionObject;
|
|
14
|
-
onFollowInstruction: () => void;
|
|
15
|
-
hideButtonId: string[];
|
|
16
|
-
}): any;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export default EhelpReferences;
|
|
2
|
-
/**
|
|
3
|
-
*
|
|
4
|
-
* @param {object} props
|
|
5
|
-
* @param {import('../../../../../../context/types').AskResponseOther[]} props.links
|
|
6
|
-
* @returns
|
|
7
|
-
*/
|
|
8
|
-
declare function EhelpReferences({ links }: {
|
|
9
|
-
links: import("../../../../../../context/types").AskResponseOther[];
|
|
10
|
-
}): any;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export default EhelpTimestamps;
|
|
2
|
-
/**
|
|
3
|
-
*
|
|
4
|
-
* @param {object} props
|
|
5
|
-
* @param {string} props.date
|
|
6
|
-
* @param {boolean} [props.isFrom=false]
|
|
7
|
-
* @returns
|
|
8
|
-
*/
|
|
9
|
-
declare function EhelpTimestamps({ date, isFrom }: {
|
|
10
|
-
date: string;
|
|
11
|
-
isFrom?: boolean;
|
|
12
|
-
}): any;
|
package/dist/types/src/components/Widget/components/Conversation/components/Header/index.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export default Header;
|
|
2
|
-
declare function Header({ title, subtitle, fullScreenMode, toggleFullScreen, toggleChat, showFullScreenButton, connectingText, profileAvatar, }: {
|
|
3
|
-
title: any;
|
|
4
|
-
subtitle: any;
|
|
5
|
-
fullScreenMode: any;
|
|
6
|
-
toggleFullScreen: any;
|
|
7
|
-
toggleChat: any;
|
|
8
|
-
showFullScreenButton: any;
|
|
9
|
-
connectingText: any;
|
|
10
|
-
profileAvatar: any;
|
|
11
|
-
}): any;
|
|
12
|
-
declare namespace Header {
|
|
13
|
-
namespace propTypes {
|
|
14
|
-
let title: any;
|
|
15
|
-
let subtitle: any;
|
|
16
|
-
let fullScreenMode: any;
|
|
17
|
-
let toggleFullScreen: any;
|
|
18
|
-
let toggleChat: any;
|
|
19
|
-
let showCloseButton: any;
|
|
20
|
-
let showFullScreenButton: any;
|
|
21
|
-
let connected: any;
|
|
22
|
-
let connectingText: any;
|
|
23
|
-
let closeImage: any;
|
|
24
|
-
let profileAvatar: any;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export default AttachmentChat;
|
|
2
|
-
/**
|
|
3
|
-
*
|
|
4
|
-
* @param {object} props
|
|
5
|
-
* @param {import('../../../../../../../../context/types').ListChat} props.chat
|
|
6
|
-
* @returns
|
|
7
|
-
*/
|
|
8
|
-
declare function AttachmentChat({ chat }: {
|
|
9
|
-
chat: import("../../../../../../../../context/types").ListChat;
|
|
10
|
-
}): any;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
declare const _default: import("react-redux").ConnectedComponent<({ messages, showMessageDate, getComponentToRender, displayTypingIndication, assistBackgoundColor, fullScreenMode, }: {
|
|
2
|
-
messages: any;
|
|
3
|
-
showMessageDate: any;
|
|
4
|
-
getComponentToRender: any;
|
|
5
|
-
displayTypingIndication: any;
|
|
6
|
-
assistBackgoundColor: any;
|
|
7
|
-
fullScreenMode: any;
|
|
8
|
-
}) => any, import("react-redux").Omit<{
|
|
9
|
-
messages: any;
|
|
10
|
-
showMessageDate: any;
|
|
11
|
-
getComponentToRender: any;
|
|
12
|
-
displayTypingIndication: any;
|
|
13
|
-
assistBackgoundColor: any;
|
|
14
|
-
fullScreenMode: any;
|
|
15
|
-
}, "displayTypingIndication">>;
|
|
16
|
-
export default _default;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export default Feedback;
|
|
2
|
-
/**
|
|
3
|
-
*
|
|
4
|
-
* currently feedback focused on ehelp only
|
|
5
|
-
*
|
|
6
|
-
* @param {object} props
|
|
7
|
-
* @param {{up_link:string;down_link:string;message_id:string[];showFeedbackIcons:boolean;feedback_link:string;}} props.customConfigMessage
|
|
8
|
-
* @param {object} itemChatEhelp
|
|
9
|
-
* @returns
|
|
10
|
-
*/
|
|
11
|
-
declare function Feedback({ message, customConfigMessage, itemChatEhelp }: {
|
|
12
|
-
customConfigMessage: {
|
|
13
|
-
up_link: string;
|
|
14
|
-
down_link: string;
|
|
15
|
-
message_id: string[];
|
|
16
|
-
showFeedbackIcons: boolean;
|
|
17
|
-
feedback_link: string;
|
|
18
|
-
};
|
|
19
|
-
}): any;
|