@telia-ace/widget-conversation-flamingo 1.1.45-rc.2 → 1.1.45-rc.4
Sign up to get free protection for your applications and to get access to all the features.
- package/{conversation-a8cae024.js → conversation-4cae227d.js} +35 -35
- package/{conversation-9815b16c.mjs → conversation-f7ad8459.mjs} +219 -215
- package/conversation.d.ts +2 -0
- package/index-20604d5c.js +3 -0
- package/index-913a371e.mjs +1199 -0
- package/index.js +1 -3
- package/index.mjs +9 -1306
- package/models/conversation-provider.d.ts +5 -2
- package/models/conversation-session-state.d.ts +3 -4
- package/package.json +2 -2
@@ -12,9 +12,11 @@ export declare class ConversationProvider {
|
|
12
12
|
session: ConversationSessionState;
|
13
13
|
private print$;
|
14
14
|
private typingState$;
|
15
|
+
private complete$;
|
15
16
|
protected system: System;
|
16
17
|
constructor(name: string, session: ConversationSessionState);
|
17
|
-
connect(): void;
|
18
|
+
connect(_conversationOptions?: Record<string, any>): void;
|
19
|
+
disconnected(): void;
|
18
20
|
onUserSubmit(action: UserSubmitEvent): void;
|
19
21
|
print(type: ConversationMessageType, text: string): ConversationEntry;
|
20
22
|
printEntry(entry: ConversationEntry): ConversationEntry;
|
@@ -25,7 +27,8 @@ export declare class ConversationProvider {
|
|
25
27
|
setToastMessage(message: string | null): void;
|
26
28
|
isTyping(): import("rxjs").Observable<boolean>;
|
27
29
|
actions(): import("rxjs").Observable<ConversationEntry>;
|
28
|
-
complete(): void;
|
29
30
|
playNotification(): void;
|
31
|
+
onComplete: () => import("rxjs").Observable<void>;
|
32
|
+
complete(): void;
|
30
33
|
}
|
31
34
|
export {};
|
@@ -10,13 +10,12 @@ export declare class ConversationSessionState {
|
|
10
10
|
entries$: BehaviorSubject<ConversationEntry[]>;
|
11
11
|
private kill$;
|
12
12
|
private provider?;
|
13
|
-
private
|
13
|
+
private isTyping$;
|
14
14
|
constructor(id: string, component: Conversation, platform: ConversationPlatform);
|
15
15
|
private write;
|
16
16
|
entries(): Observable<ConversationEntry[]>;
|
17
|
-
setProvider(provider: ConversationProvider): void;
|
18
|
-
handover(providerKey: string): void
|
17
|
+
setProvider(provider: ConversationProvider, options?: Record<string, any>): void;
|
18
|
+
handover(providerKey: string, handoverOptions?: Record<string, any>): Observable<void>;
|
19
19
|
addEntryRemoveHandler(entry: ConversationEntry): void;
|
20
|
-
completeProvider(): void;
|
21
20
|
isTyping(): Observable<boolean>;
|
22
21
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@telia-ace/widget-conversation-flamingo",
|
3
|
-
"version": "1.1.45-rc.
|
3
|
+
"version": "1.1.45-rc.4",
|
4
4
|
"publishConfig": {
|
5
5
|
"registry": "https://registry.npmjs.org"
|
6
6
|
},
|
@@ -9,7 +9,7 @@
|
|
9
9
|
"@lit-labs/motion": "^1.0.4",
|
10
10
|
"@teliads/icons": "^8.4.0",
|
11
11
|
"@teliads/components": "^22.1.1",
|
12
|
-
"@telia-ace/widget-core-flamingo": "1.1.45-rc.
|
12
|
+
"@telia-ace/widget-core-flamingo": "1.1.45-rc.4",
|
13
13
|
"uuid": "^9.0.1",
|
14
14
|
"lit-html": "^3.0.2",
|
15
15
|
"rxjs": "^7.8.1"
|