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.
Files changed (116) hide show
  1. package/dist/index.d.ts +36 -0
  2. package/dist/index.js +1 -1
  3. package/package.json +2 -2
  4. package/dist/types/assets/LoadingIcon.d.ts +0 -2
  5. package/dist/types/assets/icons/BackIcon.d.ts +0 -5
  6. package/dist/types/assets/icons/DocIcon.d.ts +0 -2
  7. package/dist/types/assets/icons/DragIcon.d.ts +0 -10
  8. package/dist/types/assets/icons/FileAltIcon.d.ts +0 -5
  9. package/dist/types/assets/icons/FollowAssistant.d.ts +0 -2
  10. package/dist/types/assets/icons/FormIcon.d.ts +0 -2
  11. package/dist/types/assets/icons/ReactionFeedbackIcon.d.ts +0 -5
  12. package/dist/types/assets/icons/ReadUnreadIcon.d.ts +0 -2
  13. package/dist/types/assets/icons/RightArrowIcon.d.ts +0 -2
  14. package/dist/types/assets/icons/ThumbsIcon.d.ts +0 -8
  15. package/dist/types/index.d.ts +0 -95
  16. package/dist/types/src/HistoryContext.d.ts +0 -7
  17. package/dist/types/src/LanguageContextProvider.d.ts +0 -5
  18. package/dist/types/src/PayloadContextProvider.d.ts +0 -28
  19. package/dist/types/src/PayslipContextProvider.d.ts +0 -22
  20. package/dist/types/src/components/Global/ErrorBoundary/index.d.ts +0 -13
  21. package/dist/types/src/components/Global/ModalChatbot/index.d.ts +0 -41
  22. package/dist/types/src/components/Global/NotAuthorized/index.d.ts +0 -2
  23. package/dist/types/src/components/Widget/ThemeContext.d.ts +0 -2
  24. package/dist/types/src/components/Widget/components/Conversation/HelpdeskChatContextProvider.d.ts +0 -5
  25. package/dist/types/src/components/Widget/components/Conversation/components/Body/ModalComponents/ModalCloseTicket.d.ts +0 -2
  26. package/dist/types/src/components/Widget/components/Conversation/components/Body/ModalComponents/ModalFeedback.d.ts +0 -4
  27. package/dist/types/src/components/Widget/components/Conversation/components/Body/ModalComponents/ModalImagePreview.d.ts +0 -2
  28. package/dist/types/src/components/Widget/components/Conversation/components/Body/ModalComponents/index.d.ts +0 -2
  29. package/dist/types/src/components/Widget/components/Conversation/components/Body/index.d.ts +0 -8
  30. package/dist/types/src/components/Widget/components/Conversation/components/Ehelp/EhelpBotInfo.d.ts +0 -2
  31. package/dist/types/src/components/Widget/components/Conversation/components/Ehelp/EhelpMarkdownText.d.ts +0 -4
  32. package/dist/types/src/components/Widget/components/Conversation/components/Ehelp/EhelpMessagesRender.d.ts +0 -6
  33. package/dist/types/src/components/Widget/components/Conversation/components/Ehelp/EhelpNewComponent.d.ts +0 -11
  34. package/dist/types/src/components/Widget/components/Conversation/components/Ehelp/EhelpPrediction.d.ts +0 -16
  35. package/dist/types/src/components/Widget/components/Conversation/components/Ehelp/EhelpRecommendation.d.ts +0 -2
  36. package/dist/types/src/components/Widget/components/Conversation/components/Ehelp/EhelpReferences.d.ts +0 -10
  37. package/dist/types/src/components/Widget/components/Conversation/components/Ehelp/EhelpSuggestion.d.ts +0 -2
  38. package/dist/types/src/components/Widget/components/Conversation/components/Ehelp/EhelpTimestamps.d.ts +0 -12
  39. package/dist/types/src/components/Widget/components/Conversation/components/Ehelp/EhelpTypingIndication.d.ts +0 -2
  40. package/dist/types/src/components/Widget/components/Conversation/components/Ehelp/components-message/EhelpChart.d.ts +0 -4
  41. package/dist/types/src/components/Widget/components/Conversation/components/Ehelp/components-message/EhelpCollapsible.d.ts +0 -4
  42. package/dist/types/src/components/Widget/components/Conversation/components/Ehelp/components-message/EhelpDivider.d.ts +0 -2
  43. package/dist/types/src/components/Widget/components/Conversation/components/Ehelp/components-message/EhelpFileDownload.d.ts +0 -4
  44. package/dist/types/src/components/Widget/components/Conversation/components/Ehelp/components-message/EhelpText.d.ts +0 -4
  45. package/dist/types/src/components/Widget/components/Conversation/components/Ehelp/index.d.ts +0 -4
  46. package/dist/types/src/components/Widget/components/Conversation/components/Header/index.d.ts +0 -26
  47. package/dist/types/src/components/Widget/components/Conversation/components/Helpdesk/EmptyHelpdesk.d.ts +0 -2
  48. package/dist/types/src/components/Widget/components/Conversation/components/Helpdesk/detail-helpdesk/BalloonChat.d.ts +0 -7
  49. package/dist/types/src/components/Widget/components/Conversation/components/Helpdesk/detail-helpdesk/chat_type/AttachmentChat.d.ts +0 -10
  50. package/dist/types/src/components/Widget/components/Conversation/components/Helpdesk/detail-helpdesk/chat_type/RegularChat.d.ts +0 -4
  51. package/dist/types/src/components/Widget/components/Conversation/components/Helpdesk/detail-helpdesk/chat_type/info-chat/index.d.ts +0 -4
  52. package/dist/types/src/components/Widget/components/Conversation/components/Helpdesk/detail-helpdesk/index.d.ts +0 -4
  53. package/dist/types/src/components/Widget/components/Conversation/components/Helpdesk/index.d.ts +0 -2
  54. package/dist/types/src/components/Widget/components/Conversation/components/Helpdesk/list-ticket/index.d.ts +0 -2
  55. package/dist/types/src/components/Widget/components/Conversation/components/Helpdesk/loading-next-fetch/index.d.ts +0 -10
  56. package/dist/types/src/components/Widget/components/Conversation/components/Helpdesk/search-ticket/index.d.ts +0 -2
  57. package/dist/types/src/components/Widget/components/Conversation/components/Helpdesk/skeleton-helpdesk/index.d.ts +0 -6
  58. package/dist/types/src/components/Widget/components/Conversation/components/Helpdesk/title-helpdesk/index.d.ts +0 -2
  59. package/dist/types/src/components/Widget/components/Conversation/components/Messages/MessagesRender.d.ts +0 -16
  60. package/dist/types/src/components/Widget/components/Conversation/components/Messages/components/Feedback/FormFeedback.d.ts +0 -6
  61. package/dist/types/src/components/Widget/components/Conversation/components/Messages/components/Feedback/ListReasons.d.ts +0 -5
  62. package/dist/types/src/components/Widget/components/Conversation/components/Messages/components/Feedback/index.d.ts +0 -19
  63. package/dist/types/src/components/Widget/components/Conversation/components/Messages/index.d.ts +0 -23
  64. package/dist/types/src/components/Widget/components/Conversation/components/Sender/AssistantSender.d.ts +0 -26
  65. package/dist/types/src/components/Widget/components/Conversation/components/Sender/ButtonResetConvo.d.ts +0 -5
  66. package/dist/types/src/components/Widget/components/Conversation/components/Sender/EhelpSender.d.ts +0 -2
  67. package/dist/types/src/components/Widget/components/Conversation/components/Sender/HelpdeskSender.d.ts +0 -6
  68. package/dist/types/src/components/Widget/components/Conversation/components/Sender/LiveChatSender.d.ts +0 -32
  69. package/dist/types/src/components/Widget/components/Conversation/components/Sender/helpers/isStringNull.d.ts +0 -2
  70. package/dist/types/src/components/Widget/components/Conversation/components/Sender/index.d.ts +0 -30
  71. package/dist/types/src/components/Widget/components/Conversation/components/TabBottom/DotLiveChat.d.ts +0 -2
  72. package/dist/types/src/components/Widget/components/Conversation/components/TabBottom/index.d.ts +0 -2
  73. package/dist/types/src/components/Widget/components/Conversation/index.d.ts +0 -23
  74. package/dist/types/src/components/Widget/components/Launcher/components/Badge/index.d.ts +0 -9
  75. package/dist/types/src/components/Widget/components/Launcher/components/LauncherCollapse/index.d.ts +0 -5
  76. package/dist/types/src/components/Widget/components/Launcher/index.d.ts +0 -34
  77. package/dist/types/src/components/Widget/index.d.ts +0 -113
  78. package/dist/types/src/components/Widget/layout.d.ts +0 -31
  79. package/dist/types/src/components/Widget/msgProcessor.d.ts +0 -23
  80. package/dist/types/src/constants.d.ts +0 -70
  81. package/dist/types/src/context/ConversationContextProvider.d.ts +0 -22
  82. package/dist/types/src/context/EhelpContextProvider.d.ts +0 -7
  83. package/dist/types/src/context/ErrorBoundaryContextProvider.d.ts +0 -5
  84. package/dist/types/src/context/ListTicketContextProvider.d.ts +0 -5
  85. package/dist/types/src/context/types.d.ts +0 -170
  86. package/dist/types/src/helpers/ModalResult.d.ts +0 -17
  87. package/dist/types/src/helpers/constant.d.ts +0 -10
  88. package/dist/types/src/helpers/decrypt.d.ts +0 -2
  89. package/dist/types/src/helpers/encrypt.d.ts +0 -2
  90. package/dist/types/src/helpers/formatChat.d.ts +0 -3
  91. package/dist/types/src/helpers/formatDate.d.ts +0 -4
  92. package/dist/types/src/helpers/getBase64.d.ts +0 -2
  93. package/dist/types/src/helpers/getTextWidth.d.ts +0 -2
  94. package/dist/types/src/helpers/isMobileUserAgent.d.ts +0 -2
  95. package/dist/types/src/helpers/sortArr.d.ts +0 -9
  96. package/dist/types/src/helpers/uniqueArrObj.d.ts +0 -2
  97. package/dist/types/src/hooks/useDecodeJWT.d.ts +0 -35
  98. package/dist/types/src/hooks/useDictionary.d.ts +0 -8
  99. package/dist/types/src/hooks/useFetch.d.ts +0 -13
  100. package/dist/types/src/hooks/useGetFileNameImage.d.ts +0 -7
  101. package/dist/types/src/hooks/useHeadersEnt.d.ts +0 -9
  102. package/dist/types/src/hooks/useWSChatbot.d.ts +0 -7
  103. package/dist/types/src/index.d.ts +0 -4
  104. package/dist/types/src/pro-src/rules-wrapper.d.ts +0 -2
  105. package/dist/types/src/pro-src/rules.d.ts +0 -38
  106. package/dist/types/src/pro-src/utils.d.ts +0 -1
  107. package/dist/types/src/socket-socketio.d.ts +0 -1
  108. package/dist/types/src/socket-sockjs.d.ts +0 -2
  109. package/dist/types/src/socket.d.ts +0 -1
  110. package/dist/types/src/store/actions/actionTypes.d.ts +0 -62
  111. package/dist/types/src/store/reducers/behaviorReducer.d.ts +0 -7
  112. package/dist/types/src/store/reducers/ehelpReducer.d.ts +0 -30
  113. package/dist/types/src/store/reducers/helper.d.ts +0 -31
  114. package/dist/types/src/store/reducers/messagesReducer.d.ts +0 -2
  115. package/dist/types/src/store/reducers/metadataReducer.d.ts +0 -2
  116. 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",
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/types/index.d.ts",
7
+ "types": "dist/index.d.ts",
8
8
  "files": [
9
9
  "dist"
10
10
  ],
@@ -1,2 +0,0 @@
1
- export default LoadingIcon;
2
- declare function LoadingIcon(): any;
@@ -1,5 +0,0 @@
1
- export default BackIcon;
2
- declare function BackIcon({ width, height }: {
3
- width?: number;
4
- height?: number;
5
- }): any;
@@ -1,2 +0,0 @@
1
- export default DocIcon;
2
- declare function DocIcon(): any;
@@ -1,10 +0,0 @@
1
- export default DragIcon;
2
- /**
3
- *
4
- * @param {object} props
5
- * @param {import('react').CSSProperties} props.style
6
- * @returns
7
- */
8
- declare function DragIcon({ style }: {
9
- style: import("react").CSSProperties;
10
- }): any;
@@ -1,5 +0,0 @@
1
- export default FileAltIcon;
2
- declare function FileAltIcon({ width, height }: {
3
- width: any;
4
- height: any;
5
- }): any;
@@ -1,2 +0,0 @@
1
- export default FollowAssistant;
2
- declare function FollowAssistant(): any;
@@ -1,2 +0,0 @@
1
- export default FormIcon;
2
- declare function FormIcon(): any;
@@ -1,5 +0,0 @@
1
- export function NeedImprovementIcon(): any;
2
- export function PoorIcon(): any;
3
- export function OkayIcon(): any;
4
- export function GoodIcon(): any;
5
- export function ExcellentIcon(): any;
@@ -1,2 +0,0 @@
1
- export function ReadIcon(): any;
2
- export function UnreadIcon(): any;
@@ -1,2 +0,0 @@
1
- export default RightArrowIcon;
2
- declare function RightArrowIcon(): any;
@@ -1,8 +0,0 @@
1
- export function ThumbsOutlined({ onClick, className }: {
2
- onClick: any;
3
- className: any;
4
- }): any;
5
- export function ThumbsFilled({ onClick, className }: {
6
- onClick: any;
7
- className: any;
8
- }): any;
@@ -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,7 +0,0 @@
1
- export const HistoryContext: import("react").Context<{}>;
2
- export function useHistoryContext(): {};
3
- export default HistoryContextProvider;
4
- declare function HistoryContextProvider({ children, history }: {
5
- children: any;
6
- history: any;
7
- }): any;
@@ -1,5 +0,0 @@
1
- export function useLanguageContext(): {};
2
- export default LanguageContextProvider;
3
- declare function LanguageContextProvider({ children }: {
4
- children: any;
5
- }): any;
@@ -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,2 +0,0 @@
1
- export default NotAuthorized;
2
- declare function NotAuthorized(): any;
@@ -1,2 +0,0 @@
1
- export default ThemeContext;
2
- declare const ThemeContext: any;
@@ -1,5 +0,0 @@
1
- export function useHelpdeskChatContext(): import("../../../../context/types").DetailTicketContext;
2
- export default HelpdeskChatContextProvider;
3
- declare function HelpdeskChatContextProvider({ children }: {
4
- children: any;
5
- }): any;
@@ -1,2 +0,0 @@
1
- export default ModalCloseTicket;
2
- declare function ModalCloseTicket(): any;
@@ -1,4 +0,0 @@
1
- export default ModalFeedback;
2
- declare function ModalFeedback({ showRatingIcon }: {
3
- showRatingIcon?: boolean;
4
- }): any;
@@ -1,2 +0,0 @@
1
- export default ModalImagePreview;
2
- declare function ModalImagePreview(): any;
@@ -1,2 +0,0 @@
1
- export default ModalComponents;
2
- declare function ModalComponents(): any;
@@ -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,2 +0,0 @@
1
- export default EhelpBotInfo;
2
- declare function EhelpBotInfo(): any;
@@ -1,4 +0,0 @@
1
- export default EhelpMarkdownText;
2
- declare function EhelpMarkdownText({ children }: {
3
- children: any;
4
- }): any;
@@ -1,6 +0,0 @@
1
- export const typeAvails: string[];
2
- export default EhelpMessagesRender;
3
- declare function EhelpMessagesRender({ item, type }: {
4
- item: any;
5
- type: any;
6
- }): any;
@@ -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,2 +0,0 @@
1
- export default EhelpRecommendation;
2
- declare function EhelpRecommendation(): 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,2 +0,0 @@
1
- export default EhelpSuggestion;
2
- declare function EhelpSuggestion(): 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;
@@ -1,2 +0,0 @@
1
- export default EhelpTypingIndication;
2
- declare function EhelpTypingIndication(): any;
@@ -1,4 +0,0 @@
1
- export default EhelpChart;
2
- declare function EhelpChart({ item }: {
3
- item: any;
4
- }): any;
@@ -1,4 +0,0 @@
1
- export default EhelpCollapsible;
2
- declare function EhelpCollapsible({ item }: {
3
- item: any;
4
- }): any;
@@ -1,2 +0,0 @@
1
- export default EhelpDivider;
2
- declare function EhelpDivider(): any;
@@ -1,4 +0,0 @@
1
- export default EhelpFileDownload;
2
- declare function EhelpFileDownload({ item }: {
3
- item: any;
4
- }): any;
@@ -1,4 +0,0 @@
1
- export default EhelpText;
2
- declare function EhelpText({ item }: {
3
- item: any;
4
- }): any;
@@ -1,4 +0,0 @@
1
- export default EHelp;
2
- declare function EHelp({ sendMessage }: {
3
- sendMessage: any;
4
- }): any;
@@ -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,2 +0,0 @@
1
- export default EmptyHelpdesk;
2
- declare function EmptyHelpdesk(): any;
@@ -1,7 +0,0 @@
1
- export default BalloonChat;
2
- declare function BalloonChat({ chat, children, onClickChat, style }: {
3
- chat: any;
4
- children: any;
5
- onClickChat: any;
6
- style: any;
7
- }): any;
@@ -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,4 +0,0 @@
1
- export default RegularChat;
2
- declare function RegularChat({ chat }: {
3
- chat: any;
4
- }): any;
@@ -1,4 +0,0 @@
1
- export default InfoChat;
2
- declare function InfoChat({ chat }: {
3
- chat: any;
4
- }): any;
@@ -1,4 +0,0 @@
1
- export default DetailHelpdesk;
2
- declare function DetailHelpdesk({ isStickyDate }: {
3
- isStickyDate: any;
4
- }): any;
@@ -1,2 +0,0 @@
1
- export default Helpdesk;
2
- declare function Helpdesk(): any;
@@ -1,2 +0,0 @@
1
- export default ListTicket;
2
- declare function ListTicket(): any;
@@ -1,10 +0,0 @@
1
- export default LoadingNextFetch;
2
- /**
3
- *
4
- * @param {object} props
5
- * @param {string} props.text
6
- * @returns
7
- */
8
- declare function LoadingNextFetch({ text }: {
9
- text: string;
10
- }): any;
@@ -1,2 +0,0 @@
1
- export default SearchTicket;
2
- declare function SearchTicket(): any;
@@ -1,6 +0,0 @@
1
- export default SkeletonHelpdesk;
2
- declare function SkeletonHelpdesk(): any;
3
- declare namespace SkeletonHelpdesk {
4
- export { SkeletonHelpdeskDetail as Detail };
5
- }
6
- declare function SkeletonHelpdeskDetail(): any;
@@ -1,2 +0,0 @@
1
- export default TitleHelpdesk;
2
- declare function TitleHelpdesk(): 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,6 +0,0 @@
1
- export default FormFeedback;
2
- declare function FormFeedback({ formFeedback, reasonSelected, setReasonSelected }: {
3
- formFeedback: any;
4
- reasonSelected: any;
5
- setReasonSelected: any;
6
- }): any;
@@ -1,5 +0,0 @@
1
- export default ListReasons;
2
- declare function ListReasons({ reasonSelected, setReasonSelected }: {
3
- reasonSelected: any;
4
- setReasonSelected: any;
5
- }): any;
@@ -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;