@telia-ace/widget-conversation-flamingo 1.0.13 → 1.0.14
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/components/conversation/conversation.d.ts.map +1 -1
- package/dist/components/conversation/plugin.d.ts.map +1 -1
- package/dist/components/conversation/ui/message-list.d.ts.map +1 -1
- package/dist/components/conversation/ui/message.d.ts.map +1 -1
- package/dist/{conversation-34a9a242.js → conversation-309361e4.js} +13 -7
- package/dist/{conversation-34a9a242.js.map → conversation-309361e4.js.map} +1 -1
- package/dist/conversation-platform.d.ts +3 -6
- package/dist/conversation-platform.d.ts.map +1 -1
- package/dist/index-c61b2340.js +5175 -0
- package/dist/index-c61b2340.js.map +1 -0
- package/dist/index.js +1 -1
- package/dist/utils/open-chat-widget.d.ts +1 -1
- package/dist/utils/open-chat-widget.d.ts.map +1 -1
- package/dist/utils/swap-provider.d.ts.map +1 -1
- package/package.json +3 -4
- package/dist/index-b8cb68ab.js +0 -5670
- package/dist/index-b8cb68ab.js.map +0 -1
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { ComponentNodeController, ComponentPlatform } from '@telia-ace/widget-core';
|
|
2
|
-
import { RouteData } from '@telia-ace/widget-routing';
|
|
1
|
+
import { ComponentNodeController, ComponentPlatform } from '@telia-ace/widget-core-flamingo';
|
|
3
2
|
import { Container, EventManager, EventSubscriptionCancellation } from '@webprovisions/platform';
|
|
4
3
|
import { ConversationController } from './conversation-controller';
|
|
5
4
|
import { ConversationProvider } from './conversation-provider';
|
|
@@ -16,7 +15,7 @@ export declare enum ConversationEndedBehavior {
|
|
|
16
15
|
}
|
|
17
16
|
export type SessionInfo = {
|
|
18
17
|
id?: string;
|
|
19
|
-
route?:
|
|
18
|
+
route?: any;
|
|
20
19
|
conversationEndedBehavior?: ConversationEndedBehavior;
|
|
21
20
|
};
|
|
22
21
|
export declare class ConversationPlatform {
|
|
@@ -31,14 +30,12 @@ export declare class ConversationPlatform {
|
|
|
31
30
|
private disposeProviders;
|
|
32
31
|
private subscriptions;
|
|
33
32
|
private storageWriter;
|
|
34
|
-
private router;
|
|
35
33
|
private buttonQuery;
|
|
36
34
|
private sessionInfo;
|
|
37
35
|
constructor(container: Container, components: ComponentPlatform);
|
|
38
36
|
initialize(): void;
|
|
39
37
|
addSubscription(sub: EventSubscriptionCancellation): void;
|
|
40
38
|
static getInstance(container: Container, key?: string): Promise<ConversationPlatform>;
|
|
41
|
-
navigateToConversationIfActive(id: string): Promise<void>;
|
|
42
39
|
setConversationEndedBehavior(behavior: ConversationEndedBehavior): Promise<void>;
|
|
43
40
|
createController(id: string, options: {
|
|
44
41
|
rehydrate: boolean;
|
|
@@ -47,7 +44,7 @@ export declare class ConversationPlatform {
|
|
|
47
44
|
registerController(conversation: ConversationController, component: ComponentNodeController): boolean;
|
|
48
45
|
private writeToComponents;
|
|
49
46
|
private invokeHandler;
|
|
50
|
-
getComponentRoute(): Promise<
|
|
47
|
+
getComponentRoute(): Promise<any>;
|
|
51
48
|
dispose(): void;
|
|
52
49
|
static handleContactMethodClick(event: any, container: Container, contactMethod: any, _callback?: Function): Promise<void>;
|
|
53
50
|
static handleContactMethodSubmit(container: Container, contactMethod: any): Promise<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conversation-platform.d.ts","sourceRoot":"","sources":["../src/conversation-platform.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EACvB,iBAAiB,EAElB,MAAM,
|
|
1
|
+
{"version":3,"file":"conversation-platform.d.ts","sourceRoot":"","sources":["../src/conversation-platform.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EACvB,iBAAiB,EAElB,MAAM,iCAAiC,CAAC;AASzC,OAAO,EACL,SAAS,EACT,YAAY,EACZ,6BAA6B,EAE9B,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,EAAE,oBAAoB,EA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