@telia-ace/widget-conversation-flamingo 1.1.12-rc.0 → 1.1.12-rc.10
Sign up to get free protection for your applications and to get access to all the features.
- package/conversation-1bf28a6e.js +572 -0
- package/conversation-7da6b954.mjs +2619 -0
- package/conversation-component.d.ts +2 -0
- package/conversation-platform.d.ts +10 -49
- package/conversation-session.d.ts +11 -0
- package/conversation.d.ts +23 -0
- package/entry.d.ts +9 -0
- package/group.d.ts +7 -0
- package/{index-1ea0fde8.mjs → index-217978bc.mjs} +320 -319
- package/index-43151bb4.js +1 -0
- package/index-494250de.js +3 -0
- package/index-4ba82b09.mjs +777 -0
- package/index.d.ts +6 -10
- package/index.js +1 -1
- package/index.mjs +7 -9
- package/{components/conversation/ui/message-types → message-types}/message-type-html.d.ts +3 -2
- package/models/agent.d.ts +8 -0
- package/models/conversation-entry.d.ts +11 -0
- package/models/conversation-provider.d.ts +19 -0
- package/models/conversation-session-state.d.ts +13 -0
- package/models/user.d.ts +8 -0
- package/package.json +5 -6
- package/types.d.ts +9 -123
- package/agent.d.ts +0 -20
- package/components/conversation/conversation.d.ts +0 -19
- package/components/conversation/plugin.d.ts +0 -45
- package/components/conversation/ui/message-list.d.ts +0 -9
- package/components/conversation/ui/message-types/message-type-link-list.d.ts +0 -8
- package/components/conversation/ui/message-types/message-type-separator.d.ts +0 -7
- package/components/conversation/ui/message.d.ts +0 -8
- package/components/conversation/utils.d.ts +0 -1
- package/conversation-17a64990.mjs +0 -1865
- package/conversation-b2f9f789.js +0 -446
- package/conversation-controller.d.ts +0 -118
- package/conversation-history.d.ts +0 -26
- package/conversation-provider.d.ts +0 -32
- package/index-c51d4b6a.js +0 -1
- package/index-ecfa0fe7.js +0 -156
- package/index-ffd77508.mjs +0 -3923
- package/send-18482cae.mjs +0 -4
- package/send-eb8b9428.js +0 -1
- package/store.d.ts +0 -31
- package/user.d.ts +0 -9
- package/utils/custom-message.d.ts +0 -2
- package/utils/index.d.ts +0 -1
- package/utils/open-chat-widget.d.ts +0 -4
- package/utils/swap-provider.d.ts +0 -8
@@ -1,32 +0,0 @@
|
|
1
|
-
import { Container, EventListener, EventSubscriptionCancellation } from '@webprovisions/platform';
|
2
|
-
import { Agent, AgentSettings } from './agent';
|
3
|
-
import { CancelLoaderDelegate, ConversationController, ConversationEntry, ConversationMessageType, ConversationOptions } from './conversation-controller';
|
4
|
-
import { ConversationMessageContent, ConversationMessageSender, ConversationMessageSettings } from './types';
|
5
|
-
export declare class ConversationProvider {
|
6
|
-
name: string;
|
7
|
-
controller: ConversationController | null;
|
8
|
-
private subscriptions;
|
9
|
-
options: ConversationOptions;
|
10
|
-
user: any;
|
11
|
-
private constructor();
|
12
|
-
static create(name: string, container: Container, controller: ConversationController): ConversationProvider;
|
13
|
-
createAgent(settings?: AgentSettings): Agent | undefined;
|
14
|
-
print(settings: string | ConversationMessageSettings): ConversationEntry | undefined;
|
15
|
-
setTypingState(sender: ConversationMessageSender, type?: ConversationMessageType): (() => void) | undefined;
|
16
|
-
loading(): CancelLoaderDelegate;
|
17
|
-
createEntry(key: string, content: ConversationMessageContent, type: ConversationMessageType, sender?: ConversationMessageSender, timestamp?: number | null): ConversationEntry | undefined;
|
18
|
-
dispose(): void;
|
19
|
-
isRehydrated(): Promise<boolean>;
|
20
|
-
getHistory(): {
|
21
|
-
message?: string | undefined;
|
22
|
-
options?: string[] | undefined;
|
23
|
-
alias: string;
|
24
|
-
source: string;
|
25
|
-
timestamp: number | null;
|
26
|
-
}[];
|
27
|
-
complete(): void;
|
28
|
-
setOptions(options?: ConversationOptions): void;
|
29
|
-
onUnreadMessage(fn: EventListener): EventSubscriptionCancellation | void;
|
30
|
-
onMounted(fn: EventListener): EventSubscriptionCancellation | void;
|
31
|
-
}
|
32
|
-
export default ConversationProvider;
|