@telia-ace/widget-conversation 1.0.14 → 1.0.15
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/LICENSE.txt +5 -5
- package/README.md +256 -256
- package/dist/agent.d.ts +17 -17
- package/dist/conversation-controller.d.ts +88 -88
- package/dist/conversation-form-adapter.d.ts +7 -7
- package/dist/conversation-platform.d.ts +50 -49
- package/dist/conversation-provider.d.ts +22 -22
- package/dist/conversation.js +6 -805
- package/dist/conversation.js.map +1 -1
- package/dist/index.d.ts +9 -9
- package/dist/index.js +9 -866
- package/dist/index.js.map +1 -1
- package/dist/index2.js +1678 -0
- package/dist/index2.js.map +1 -0
- package/dist/resolve-entity-value.d.ts +10 -10
- package/dist/return-button.js.map +1 -1
- package/dist/types.d.ts +110 -110
- package/dist/ui/conversation/conversation-component.d.ts +37 -37
- package/dist/ui/conversation/conversation-content.d.ts +12 -11
- package/dist/ui/conversation/conversation-input.d.ts +6 -6
- package/dist/ui/conversation/conversation-loader.d.ts +8 -8
- package/dist/ui/conversation/conversation-message.d.ts +7 -7
- package/dist/ui/conversation/conversation-styles.d.ts +11 -11
- package/dist/ui/conversation/conversation.d.ts +6 -6
- package/dist/ui/conversation/index.d.ts +3 -2
- package/dist/ui/conversation/message-types/agent.d.ts +11 -11
- package/dist/ui/conversation/message-types/custom-message-list-item.d.ts +9 -9
- package/dist/ui/conversation/message-types/custom.d.ts +9 -9
- package/dist/ui/conversation/message-types/index.d.ts +5 -5
- package/dist/ui/conversation/message-types/system.d.ts +12 -12
- package/dist/ui/conversation/message-types/timestamp.d.ts +8 -8
- package/dist/ui/conversation/message-types/user.d.ts +8 -8
- package/dist/ui/index.d.ts +2 -2
- package/dist/ui/return-button/index.d.ts +2 -2
- package/dist/ui/return-button/return-button-component.d.ts +19 -19
- package/dist/ui/return-button/return-button.d.ts +6 -6
- package/dist/user.d.ts +7 -7
- package/dist/utils/custom-message.d.ts +3 -3
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/open-chat-widget.d.ts +4 -4
- package/package.json +8 -8
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
import { Container } from '@webprovisions/platform';
|
|
2
|
-
import { ConversationMessage, ConversationMessageType } from '../../conversation-controller';
|
|
3
|
-
import { ConversationMessageContent, ConversationMessageSender } from '../../types';
|
|
4
|
-
export declare type BundledConversationMessage = {
|
|
5
|
-
timestamp: number;
|
|
6
|
-
content: [BundledMessageContent];
|
|
7
|
-
sender: ConversationMessageSender;
|
|
8
|
-
type: ConversationMessageType;
|
|
9
|
-
};
|
|
10
|
-
declare type BundledMessageContent = {
|
|
11
|
-
key: string;
|
|
12
|
-
} & ConversationMessageContent;
|
|
13
|
-
export declare type ConversationContent = {
|
|
14
|
-
loading: boolean;
|
|
15
|
-
typingActors: ConversationMessageSender[];
|
|
16
|
-
messages: ConversationMessage[];
|
|
17
|
-
};
|
|
18
|
-
export declare type ConversationComponentProperties = {
|
|
19
|
-
providers: string[];
|
|
20
|
-
messages: BundledConversationMessage[];
|
|
21
|
-
loading: boolean;
|
|
22
|
-
inputPlaceholder: string;
|
|
23
|
-
inputDisabled: boolean;
|
|
24
|
-
inputHidden: boolean;
|
|
25
|
-
inputMultiline: boolean;
|
|
26
|
-
userLabel: string;
|
|
27
|
-
avatarSize: string;
|
|
28
|
-
typingActors: any[];
|
|
29
|
-
sendButtonLabel: string;
|
|
30
|
-
secondaryAction?: {
|
|
31
|
-
icon?: string;
|
|
32
|
-
action: string;
|
|
33
|
-
label: string;
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
declare const ConversationComponent: (container: Container) => Promise<void>;
|
|
37
|
-
export default ConversationComponent;
|
|
1
|
+
import { Container } from '@webprovisions/platform';
|
|
2
|
+
import { ConversationMessage, ConversationMessageType } from '../../conversation-controller';
|
|
3
|
+
import { ConversationMessageContent, ConversationMessageSender } from '../../types';
|
|
4
|
+
export declare type BundledConversationMessage = {
|
|
5
|
+
timestamp: number;
|
|
6
|
+
content: [BundledMessageContent];
|
|
7
|
+
sender: ConversationMessageSender;
|
|
8
|
+
type: ConversationMessageType;
|
|
9
|
+
};
|
|
10
|
+
declare type BundledMessageContent = {
|
|
11
|
+
key: string;
|
|
12
|
+
} & ConversationMessageContent;
|
|
13
|
+
export declare type ConversationContent = {
|
|
14
|
+
loading: boolean;
|
|
15
|
+
typingActors: ConversationMessageSender[];
|
|
16
|
+
messages: ConversationMessage[];
|
|
17
|
+
};
|
|
18
|
+
export declare type ConversationComponentProperties = {
|
|
19
|
+
providers: string[];
|
|
20
|
+
messages: BundledConversationMessage[];
|
|
21
|
+
loading: boolean;
|
|
22
|
+
inputPlaceholder: string;
|
|
23
|
+
inputDisabled: boolean;
|
|
24
|
+
inputHidden: boolean;
|
|
25
|
+
inputMultiline: boolean;
|
|
26
|
+
userLabel: string;
|
|
27
|
+
avatarSize: string;
|
|
28
|
+
typingActors: any[];
|
|
29
|
+
sendButtonLabel: string;
|
|
30
|
+
secondaryAction?: {
|
|
31
|
+
icon?: string;
|
|
32
|
+
action: string;
|
|
33
|
+
label: string;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
declare const ConversationComponent: (container: Container) => Promise<void>;
|
|
37
|
+
export default ConversationComponent;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ConversationMessageContent } from '../../types';
|
|
3
|
-
declare type Props = {
|
|
4
|
-
className?: string;
|
|
5
|
-
content: ConversationMessageContent;
|
|
6
|
-
isUser: boolean;
|
|
7
|
-
stacked?: string;
|
|
8
|
-
CustomComponent?: any;
|
|
9
|
-
};
|
|
10
|
-
declare const ConversationContent: React.FC<Props>;
|
|
11
|
-
export
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ConversationMessageContent } from '../../types';
|
|
3
|
+
declare type Props = {
|
|
4
|
+
className?: string;
|
|
5
|
+
content: ConversationMessageContent;
|
|
6
|
+
isUser: boolean;
|
|
7
|
+
stacked?: string;
|
|
8
|
+
CustomComponent?: any;
|
|
9
|
+
};
|
|
10
|
+
declare const ConversationContent: React.FC<Props>;
|
|
11
|
+
export declare const StyledButtonList: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<Pick<import("@telia-ace/widget-ui").ListProps, "key" | "items" | keyof React.HTMLAttributes<HTMLUListElement> | "renderItem" | "renderLi"> & React.RefAttributes<HTMLUListElement>>, any, {}, never>;
|
|
12
|
+
export default ConversationContent;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare type Props = {
|
|
3
|
-
className?: string;
|
|
4
|
-
};
|
|
5
|
-
declare const ConversationInput: React.FC<Props>;
|
|
6
|
-
export default ConversationInput;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare type Props = {
|
|
3
|
+
className?: string;
|
|
4
|
+
};
|
|
5
|
+
declare const ConversationInput: React.FC<Props>;
|
|
6
|
+
export default ConversationInput;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ConversationMessageSender } from '../../types';
|
|
3
|
-
declare type Props = {
|
|
4
|
-
className?: string;
|
|
5
|
-
agentData?: ConversationMessageSender;
|
|
6
|
-
};
|
|
7
|
-
declare const ConversationLoader: React.FC<Props>;
|
|
8
|
-
export default ConversationLoader;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ConversationMessageSender } from '../../types';
|
|
3
|
+
declare type Props = {
|
|
4
|
+
className?: string;
|
|
5
|
+
agentData?: ConversationMessageSender;
|
|
6
|
+
};
|
|
7
|
+
declare const ConversationLoader: React.FC<Props>;
|
|
8
|
+
export default ConversationLoader;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { BundledConversationMessage } from './conversation-component';
|
|
3
|
-
declare type Props = {
|
|
4
|
-
className?: string;
|
|
5
|
-
} & BundledConversationMessage;
|
|
6
|
-
declare const ConversationMessageComponent: React.FC<Props>;
|
|
7
|
-
export default ConversationMessageComponent;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { BundledConversationMessage } from './conversation-component';
|
|
3
|
+
declare type Props = {
|
|
4
|
+
className?: string;
|
|
5
|
+
} & BundledConversationMessage;
|
|
6
|
+
declare const ConversationMessageComponent: React.FC<Props>;
|
|
7
|
+
export default ConversationMessageComponent;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const Avatar: import("styled-components").StyledComponent<"div", any, any, never>;
|
|
3
|
-
export declare const LoaderAnimation: import("styled-components").Keyframes;
|
|
4
|
-
export declare const Loader: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
|
-
export declare const ContentBundle: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
6
|
-
export declare const MessageTitle: import("styled-components").StyledComponent<import("react").FC<import("@telia-ace/widget-ui").TypographyProps>, any, {}, never>;
|
|
7
|
-
export declare const MessageContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
8
|
-
export declare const MessageContent: import("styled-components").StyledComponent<"div", any, any, never>;
|
|
9
|
-
export declare const MessageContentPart: import("styled-components").StyledComponent<"div", any, {
|
|
10
|
-
noPadding?: boolean | undefined;
|
|
11
|
-
}, never>;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const Avatar: import("styled-components").StyledComponent<"div", any, any, never>;
|
|
3
|
+
export declare const LoaderAnimation: import("styled-components").Keyframes;
|
|
4
|
+
export declare const Loader: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
|
+
export declare const ContentBundle: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
6
|
+
export declare const MessageTitle: import("styled-components").StyledComponent<import("react").FC<import("@telia-ace/widget-ui").TypographyProps>, any, {}, never>;
|
|
7
|
+
export declare const MessageContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
8
|
+
export declare const MessageContent: import("styled-components").StyledComponent<"div", any, any, never>;
|
|
9
|
+
export declare const MessageContentPart: import("styled-components").StyledComponent<"div", any, {
|
|
10
|
+
noPadding?: boolean | undefined;
|
|
11
|
+
}, never>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare type Props = {
|
|
3
|
-
className: string;
|
|
4
|
-
};
|
|
5
|
-
declare const Conversation: React.FC<Props>;
|
|
6
|
-
export default Conversation;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare type Props = {
|
|
3
|
+
className: string;
|
|
4
|
+
};
|
|
5
|
+
declare const Conversation: React.FC<Props>;
|
|
6
|
+
export default Conversation;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import ConversationComponent from './conversation-component';
|
|
2
|
-
export
|
|
1
|
+
import ConversationComponent from './conversation-component';
|
|
2
|
+
export { StyledButtonList } from './conversation-content';
|
|
3
|
+
export default ConversationComponent;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ConversationMessageSender } from '../../../types';
|
|
3
|
-
declare type Props = {
|
|
4
|
-
className?: string;
|
|
5
|
-
children: any;
|
|
6
|
-
sender: ConversationMessageSender;
|
|
7
|
-
timestamp: number | null;
|
|
8
|
-
};
|
|
9
|
-
declare const AgentMessage: React.FC<Props>;
|
|
10
|
-
export declare const StyledAgentMessage: import("styled-components").StyledComponent<"div", any, any, never>;
|
|
11
|
-
export default AgentMessage;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ConversationMessageSender } from '../../../types';
|
|
3
|
+
declare type Props = {
|
|
4
|
+
className?: string;
|
|
5
|
+
children: any;
|
|
6
|
+
sender: ConversationMessageSender;
|
|
7
|
+
timestamp: number | null;
|
|
8
|
+
};
|
|
9
|
+
declare const AgentMessage: React.FC<Props>;
|
|
10
|
+
export declare const StyledAgentMessage: import("styled-components").StyledComponent<"div", any, any, never>;
|
|
11
|
+
export default AgentMessage;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare type Props = {
|
|
3
|
-
type: string;
|
|
4
|
-
content?: {
|
|
5
|
-
[key: string]: any;
|
|
6
|
-
};
|
|
7
|
-
};
|
|
8
|
-
declare const CustomMessageListItem: React.FC<Props>;
|
|
9
|
-
export default CustomMessageListItem;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare type Props = {
|
|
3
|
+
type: string;
|
|
4
|
+
content?: {
|
|
5
|
+
[key: string]: any;
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
declare const CustomMessageListItem: React.FC<Props>;
|
|
9
|
+
export default CustomMessageListItem;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare type Props = {
|
|
3
|
-
type: any;
|
|
4
|
-
content: any;
|
|
5
|
-
isUser: any;
|
|
6
|
-
stacked: any;
|
|
7
|
-
};
|
|
8
|
-
declare const CustomMessage: React.FC<Props>;
|
|
9
|
-
export default CustomMessage;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare type Props = {
|
|
3
|
+
type: any;
|
|
4
|
+
content: any;
|
|
5
|
+
isUser: any;
|
|
6
|
+
stacked: any;
|
|
7
|
+
};
|
|
8
|
+
declare const CustomMessage: React.FC<Props>;
|
|
9
|
+
export default CustomMessage;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { default as AgentMessage } from './agent';
|
|
2
|
-
export { default as CustomMessage } from './custom';
|
|
3
|
-
export { default as SystemMessage } from './system';
|
|
4
|
-
export { default as Timestamp } from './timestamp';
|
|
5
|
-
export { default as UserMessage } from './user';
|
|
1
|
+
export { default as AgentMessage } from './agent';
|
|
2
|
+
export { default as CustomMessage } from './custom';
|
|
3
|
+
export { default as SystemMessage } from './system';
|
|
4
|
+
export { default as Timestamp } from './timestamp';
|
|
5
|
+
export { default as UserMessage } from './user';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare type Props = {
|
|
3
|
-
className?: string;
|
|
4
|
-
timestamp: number;
|
|
5
|
-
discrete?: boolean;
|
|
6
|
-
fullWidth?: boolean;
|
|
7
|
-
children: any;
|
|
8
|
-
};
|
|
9
|
-
declare const SystemMessage: React.FC<Props>;
|
|
10
|
-
export declare const StyledSystemMessage: import("styled-components").StyledComponent<"div", any, any, never>;
|
|
11
|
-
export declare const Discrete: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
12
|
-
export default SystemMessage;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare type Props = {
|
|
3
|
+
className?: string;
|
|
4
|
+
timestamp: number;
|
|
5
|
+
discrete?: boolean;
|
|
6
|
+
fullWidth?: boolean;
|
|
7
|
+
children: any;
|
|
8
|
+
};
|
|
9
|
+
declare const SystemMessage: React.FC<Props>;
|
|
10
|
+
export declare const StyledSystemMessage: import("styled-components").StyledComponent<"div", any, any, never>;
|
|
11
|
+
export declare const Discrete: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
12
|
+
export default SystemMessage;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare type Props = {
|
|
3
|
-
className?: string;
|
|
4
|
-
name?: string;
|
|
5
|
-
timestamp?: number | null;
|
|
6
|
-
};
|
|
7
|
-
declare const Timestamp: React.FC<Props>;
|
|
8
|
-
export default Timestamp;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare type Props = {
|
|
3
|
+
className?: string;
|
|
4
|
+
name?: string;
|
|
5
|
+
timestamp?: number | null;
|
|
6
|
+
};
|
|
7
|
+
declare const Timestamp: React.FC<Props>;
|
|
8
|
+
export default Timestamp;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare type Props = {
|
|
3
|
-
className?: string;
|
|
4
|
-
timestamp: number;
|
|
5
|
-
children: any;
|
|
6
|
-
};
|
|
7
|
-
declare const UserMessage: React.FC<Props>;
|
|
8
|
-
export default UserMessage;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare type Props = {
|
|
3
|
+
className?: string;
|
|
4
|
+
timestamp: number;
|
|
5
|
+
children: any;
|
|
6
|
+
};
|
|
7
|
+
declare const UserMessage: React.FC<Props>;
|
|
8
|
+
export default UserMessage;
|
package/dist/ui/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default as ConversationComponent } from './conversation';
|
|
2
|
-
export { default as ConversationReturnButtonComponent } from './return-button';
|
|
1
|
+
export { default as ConversationComponent, StyledButtonList } from './conversation';
|
|
2
|
+
export { default as ConversationReturnButtonComponent } from './return-button';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import ConversationReturnButtonComponent from './return-button-component';
|
|
2
|
-
export default ConversationReturnButtonComponent;
|
|
1
|
+
import ConversationReturnButtonComponent from './return-button-component';
|
|
2
|
+
export default ConversationReturnButtonComponent;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { Symbol } from '@telia-ace/widget-ui';
|
|
2
|
-
import { Container } from '@webprovisions/platform';
|
|
3
|
-
export declare enum ButtonMode {
|
|
4
|
-
flat = "flat",
|
|
5
|
-
flashing = "flashing",
|
|
6
|
-
flashingGradient = "flashingGradient"
|
|
7
|
-
}
|
|
8
|
-
export declare type ReturnButtonProps = {
|
|
9
|
-
label: string;
|
|
10
|
-
active: boolean;
|
|
11
|
-
mode: ButtonMode;
|
|
12
|
-
alert?: {
|
|
13
|
-
symbol?: Symbol;
|
|
14
|
-
show?: boolean;
|
|
15
|
-
label?: string;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
declare const ConversationReturnButtonComponent: (container: Container) => Promise<void>;
|
|
19
|
-
export default ConversationReturnButtonComponent;
|
|
1
|
+
import { Symbol } from '@telia-ace/widget-ui';
|
|
2
|
+
import { Container } from '@webprovisions/platform';
|
|
3
|
+
export declare enum ButtonMode {
|
|
4
|
+
flat = "flat",
|
|
5
|
+
flashing = "flashing",
|
|
6
|
+
flashingGradient = "flashingGradient"
|
|
7
|
+
}
|
|
8
|
+
export declare type ReturnButtonProps = {
|
|
9
|
+
label: string;
|
|
10
|
+
active: boolean;
|
|
11
|
+
mode: ButtonMode;
|
|
12
|
+
alert?: {
|
|
13
|
+
symbol?: Symbol;
|
|
14
|
+
show?: boolean;
|
|
15
|
+
label?: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
declare const ConversationReturnButtonComponent: (container: Container) => Promise<void>;
|
|
19
|
+
export default ConversationReturnButtonComponent;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare type Props = {
|
|
3
|
-
className: string;
|
|
4
|
-
};
|
|
5
|
-
declare const ReturnButton: React.SFC<Props>;
|
|
6
|
-
export default ReturnButton;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare type Props = {
|
|
3
|
+
className: string;
|
|
4
|
+
};
|
|
5
|
+
declare const ReturnButton: React.SFC<Props>;
|
|
6
|
+
export default ReturnButton;
|
package/dist/user.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ConversationController, ConversationEntry } from './conversation-controller';
|
|
2
|
-
import { ConversationMessageSettings } from './types';
|
|
3
|
-
export declare class User {
|
|
4
|
-
private controller;
|
|
5
|
-
constructor(controller: ConversationController);
|
|
6
|
-
print: (settings: string | ConversationMessageSettings) => ConversationEntry;
|
|
7
|
-
}
|
|
1
|
+
import { ConversationController, ConversationEntry } from './conversation-controller';
|
|
2
|
+
import { ConversationMessageSettings } from './types';
|
|
3
|
+
export declare class User {
|
|
4
|
+
private controller;
|
|
5
|
+
constructor(controller: ConversationController);
|
|
6
|
+
print: (settings: string | ConversationMessageSettings) => ConversationEntry;
|
|
7
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ReactComponent } from '@telia-ace/widget-core';
|
|
2
|
-
import { Container } from '@webprovisions/platform';
|
|
3
|
-
export declare const registerCustomMessageComponent: (container: Container, type: string, component: ReactComponent) => Promise<void>;
|
|
1
|
+
import { ReactComponent } from '@telia-ace/widget-core';
|
|
2
|
+
import { Container } from '@webprovisions/platform';
|
|
3
|
+
export declare const registerCustomMessageComponent: (container: Container, type: string, component: ReactComponent) => Promise<void>;
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { navigateToConversation, openChatWidget, shouldPreventDefault } from './open-chat-widget';
|
|
1
|
+
export { navigateToConversation, openChatWidget, shouldPreventDefault } from './open-chat-widget';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Container } from '@webprovisions/platform';
|
|
2
|
-
export declare const shouldPreventDefault: (container: Container) => boolean;
|
|
3
|
-
export declare const openChatWidget: (container: Container, contactMethod: any, triggerDOMTarget?: HTMLElement | undefined) => boolean | Promise<void> | Promise<boolean>;
|
|
4
|
-
export declare const navigateToConversation: (container: Container, contactMethod: any, routeName?: string) => any;
|
|
1
|
+
import { Container } from '@webprovisions/platform';
|
|
2
|
+
export declare const shouldPreventDefault: (container: Container) => boolean;
|
|
3
|
+
export declare const openChatWidget: (container: Container, contactMethod: any, triggerDOMTarget?: HTMLElement | undefined) => boolean | Promise<void> | Promise<boolean>;
|
|
4
|
+
export declare const navigateToConversation: (container: Container, contactMethod: any, routeName?: string) => any;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@telia-ace/widget-conversation",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.15",
|
|
4
4
|
"description": "ACE Widget Conversation Platform",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"author": "Telia Company AB",
|
|
@@ -24,12 +24,12 @@
|
|
|
24
24
|
},
|
|
25
25
|
"sideEffects": false,
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@telia-ace/widget-core": "^1.0.
|
|
28
|
-
"@telia-ace/widget-forms": "^1.0.
|
|
29
|
-
"@telia-ace/widget-plugins": "^1.0.
|
|
30
|
-
"@telia-ace/widget-routing": "^1.0.
|
|
31
|
-
"@telia-ace/widget-services": "^1.0.
|
|
32
|
-
"@telia-ace/widget-ui": "^1.0.
|
|
27
|
+
"@telia-ace/widget-core": "^1.0.7",
|
|
28
|
+
"@telia-ace/widget-forms": "^1.0.11",
|
|
29
|
+
"@telia-ace/widget-plugins": "^1.0.8",
|
|
30
|
+
"@telia-ace/widget-routing": "^1.0.8",
|
|
31
|
+
"@telia-ace/widget-services": "^1.0.7",
|
|
32
|
+
"@telia-ace/widget-ui": "^1.0.11",
|
|
33
33
|
"@telia-ace/widget-utilities": "^1.0.2",
|
|
34
34
|
"@webprovisions/platform": "^1.1.2"
|
|
35
35
|
},
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@types/react": "^16.8.0"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "0dfcfc79a4b6c45f98b7e62b71d5c0a30b907236"
|
|
44
44
|
}
|