@telia-ace/widget-conversation-flamingo 1.1.14 → 1.1.15-rc.1
Sign up to get free protection for your applications and to get access to all the features.
- package/{conversation-863ede7a.mjs → conversation-3926f29b.mjs} +462 -440
- package/{conversation-c7b20faa.js → conversation-9bbc787d.js} +91 -93
- package/conversation-session.d.ts +2 -1
- package/conversation.d.ts +2 -2
- package/{index-94b25fbe.mjs → index-306e28c8.mjs} +2 -2
- package/index-41339d4e.mjs +1218 -0
- package/index-70996338.js +3 -0
- package/{index-b8394e84.js → index-d5d01cbe.js} +1 -1
- package/index.js +1 -1
- package/index.mjs +1 -1
- package/models/conversation-provider.d.ts +3 -0
- package/models/conversation-session-state.d.ts +3 -2
- package/package.json +2 -2
- package/typing.d.ts +5 -0
- package/index-7ce12d5a.mjs +0 -773
- package/index-cec07deb.js +0 -3
package/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index-
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index-70996338.js");exports.Agent=o.Agent;exports.ConversationComponent=o.ConversationComponent;exports.ConversationEntry=o.ConversationEntry;exports.ConversationPlatform=o.ConversationPlatform;exports.ConversationProvider=o.ConversationProvider;exports.User=o.User;
|
package/index.mjs
CHANGED
@@ -8,12 +8,15 @@ type UserSubmitEvent = {
|
|
8
8
|
export declare class ConversationProvider {
|
9
9
|
name: string;
|
10
10
|
private print$;
|
11
|
+
private typingState$;
|
11
12
|
constructor(name: string);
|
12
13
|
onUserSubmit(action: UserSubmitEvent): void;
|
13
14
|
print(type: ConversationMessageType, text: string): ConversationEntry;
|
14
15
|
printEntry(entry: ConversationEntry): ConversationEntry;
|
15
16
|
createAgent(name: string): Agent;
|
16
17
|
createUser(name: string): User;
|
18
|
+
setTypingState(isTyping: boolean): void;
|
19
|
+
isTyping(): import("rxjs").Observable<boolean>;
|
17
20
|
actions(): import("rxjs").Observable<ConversationEntry>;
|
18
21
|
}
|
19
22
|
export {};
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { BehaviorSubject } from 'rxjs';
|
1
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
2
2
|
import { ConversationEntry } from './conversation-entry';
|
3
3
|
import { ConversationProvider } from './conversation-provider';
|
4
4
|
import Conversation from '../conversation';
|
@@ -8,6 +8,7 @@ export declare class ConversationSessionState {
|
|
8
8
|
private provider?;
|
9
9
|
constructor(id: string, component: Conversation);
|
10
10
|
private write;
|
11
|
-
entries():
|
11
|
+
entries(): Observable<ConversationEntry[]>;
|
12
12
|
setProvider(provider: ConversationProvider): void;
|
13
|
+
isTyping(): Observable<boolean>;
|
13
14
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@telia-ace/widget-conversation-flamingo",
|
3
|
-
"version": "1.1.
|
3
|
+
"version": "1.1.15-rc.1",
|
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.
|
12
|
+
"@telia-ace/widget-core-flamingo": "1.1.15-rc.1",
|
13
13
|
"uuid": "^9.0.1",
|
14
14
|
"lit-html": "^3.0.2",
|
15
15
|
"rxjs": "^7.8.1"
|