@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.
Files changed (47) hide show
  1. package/conversation-1bf28a6e.js +572 -0
  2. package/conversation-7da6b954.mjs +2619 -0
  3. package/conversation-component.d.ts +2 -0
  4. package/conversation-platform.d.ts +10 -49
  5. package/conversation-session.d.ts +11 -0
  6. package/conversation.d.ts +23 -0
  7. package/entry.d.ts +9 -0
  8. package/group.d.ts +7 -0
  9. package/{index-1ea0fde8.mjs → index-217978bc.mjs} +320 -319
  10. package/index-43151bb4.js +1 -0
  11. package/index-494250de.js +3 -0
  12. package/index-4ba82b09.mjs +777 -0
  13. package/index.d.ts +6 -10
  14. package/index.js +1 -1
  15. package/index.mjs +7 -9
  16. package/{components/conversation/ui/message-types → message-types}/message-type-html.d.ts +3 -2
  17. package/models/agent.d.ts +8 -0
  18. package/models/conversation-entry.d.ts +11 -0
  19. package/models/conversation-provider.d.ts +19 -0
  20. package/models/conversation-session-state.d.ts +13 -0
  21. package/models/user.d.ts +8 -0
  22. package/package.json +5 -6
  23. package/types.d.ts +9 -123
  24. package/agent.d.ts +0 -20
  25. package/components/conversation/conversation.d.ts +0 -19
  26. package/components/conversation/plugin.d.ts +0 -45
  27. package/components/conversation/ui/message-list.d.ts +0 -9
  28. package/components/conversation/ui/message-types/message-type-link-list.d.ts +0 -8
  29. package/components/conversation/ui/message-types/message-type-separator.d.ts +0 -7
  30. package/components/conversation/ui/message.d.ts +0 -8
  31. package/components/conversation/utils.d.ts +0 -1
  32. package/conversation-17a64990.mjs +0 -1865
  33. package/conversation-b2f9f789.js +0 -446
  34. package/conversation-controller.d.ts +0 -118
  35. package/conversation-history.d.ts +0 -26
  36. package/conversation-provider.d.ts +0 -32
  37. package/index-c51d4b6a.js +0 -1
  38. package/index-ecfa0fe7.js +0 -156
  39. package/index-ffd77508.mjs +0 -3923
  40. package/send-18482cae.mjs +0 -4
  41. package/send-eb8b9428.js +0 -1
  42. package/store.d.ts +0 -31
  43. package/user.d.ts +0 -9
  44. package/utils/custom-message.d.ts +0 -2
  45. package/utils/index.d.ts +0 -1
  46. package/utils/open-chat-widget.d.ts +0 -4
  47. 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;