@telia-ace/widget-conversation-flamingo 1.1.123-rc.45 → 1.1.123-rc.47
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/chat-session.d.ts +3 -3
- package/conversation-feed.d.ts +3 -3
- package/conversation.d.ts +3 -3
- package/entry.d.ts +5 -5
- package/group.d.ts +3 -3
- package/index.js +100 -100
- package/index.mjs +1366 -1341
- package/message-types/lightbox.d.ts +3 -3
- package/message-types/message-type-html.d.ts +3 -3
- package/message-types/message-type-markdown.d.ts +3 -3
- package/models/agent.d.ts +2 -1
- package/models/conversation-provider.d.ts +4 -4
- package/models/system.d.ts +2 -1
- package/models/user.d.ts +2 -1
- package/package.json +2 -2
- package/typing.d.ts +3 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { LitElement } from 'lit';
|
|
1
|
+
import { LitElement, CSSResultGroup, TemplateResult } from 'lit';
|
|
2
2
|
export declare class Lightbox extends LitElement {
|
|
3
|
-
static styles:
|
|
3
|
+
static styles: CSSResultGroup;
|
|
4
4
|
imageUrl: string;
|
|
5
5
|
altText?: string;
|
|
6
6
|
firstUpdated(): void;
|
|
@@ -8,5 +8,5 @@ export declare class Lightbox extends LitElement {
|
|
|
8
8
|
private escapeListener;
|
|
9
9
|
private closeLightbox;
|
|
10
10
|
private handleKeyDown;
|
|
11
|
-
render():
|
|
11
|
+
render(): TemplateResult;
|
|
12
12
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { LitElement } from 'lit';
|
|
1
|
+
import { LitElement, CSSResultGroup, TemplateResult } from 'lit';
|
|
2
2
|
export declare class MessageTypeHtml extends LitElement {
|
|
3
|
-
static readonly styles:
|
|
3
|
+
static readonly styles: CSSResultGroup;
|
|
4
4
|
message: {
|
|
5
5
|
content: string;
|
|
6
6
|
};
|
|
7
|
-
render():
|
|
7
|
+
render(): TemplateResult;
|
|
8
8
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { LitElement } from 'lit';
|
|
1
|
+
import { LitElement, CSSResultGroup, TemplateResult } from 'lit';
|
|
2
2
|
export declare class MessageTypeMarkdown extends LitElement {
|
|
3
|
-
static readonly styles:
|
|
3
|
+
static readonly styles: CSSResultGroup;
|
|
4
4
|
message: {
|
|
5
5
|
content: string;
|
|
6
6
|
};
|
|
@@ -21,5 +21,5 @@ export declare class MessageTypeMarkdown extends LitElement {
|
|
|
21
21
|
firstUpdated(): void;
|
|
22
22
|
updated(): void;
|
|
23
23
|
private applyCodeStyles;
|
|
24
|
-
render():
|
|
24
|
+
render(): TemplateResult;
|
|
25
25
|
}
|
package/models/agent.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
1
2
|
import { ConversationEntry } from './conversation-entry';
|
|
2
3
|
export declare class Agent {
|
|
3
4
|
name: string;
|
|
4
5
|
private print$;
|
|
5
6
|
constructor(name: string);
|
|
6
7
|
print(text: string, type?: string, alias?: string): ConversationEntry;
|
|
7
|
-
subscribe():
|
|
8
|
+
subscribe(): Observable<ConversationEntry>;
|
|
8
9
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BehaviorSubject, Subject } from 'rxjs';
|
|
1
|
+
import { BehaviorSubject, Subject, Observable } from 'rxjs';
|
|
2
2
|
import { ConversationMessageType } from '../types';
|
|
3
3
|
import { ConversationEntry } from './conversation-entry';
|
|
4
4
|
import { Agent } from './agent';
|
|
@@ -29,10 +29,10 @@ export declare class ConversationProvider {
|
|
|
29
29
|
createSystem(): System;
|
|
30
30
|
setTypingState(isTyping: boolean): void;
|
|
31
31
|
setToastMessage(message: string | null): void;
|
|
32
|
-
isTyping():
|
|
33
|
-
actions():
|
|
32
|
+
isTyping(): Observable<boolean>;
|
|
33
|
+
actions(): Observable<ConversationEntry>;
|
|
34
34
|
playNotification(): void;
|
|
35
|
-
onComplete: () =>
|
|
35
|
+
onComplete: () => Observable<void>;
|
|
36
36
|
complete(): void;
|
|
37
37
|
save(data: any): void;
|
|
38
38
|
rehydrate(_data: Record<string, any>): Promise<void>;
|
package/models/system.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
1
2
|
import { ConversationEntry } from './conversation-entry';
|
|
2
3
|
export declare class System {
|
|
3
4
|
private print$;
|
|
4
5
|
private name;
|
|
5
6
|
constructor();
|
|
6
7
|
print(text: string): ConversationEntry;
|
|
7
|
-
subscribe():
|
|
8
|
+
subscribe(): Observable<ConversationEntry>;
|
|
8
9
|
}
|
package/models/user.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
1
2
|
import { ConversationEntry } from './conversation-entry';
|
|
2
3
|
export declare class User {
|
|
3
4
|
name: string;
|
|
4
5
|
private print$;
|
|
5
6
|
constructor(name: string);
|
|
6
7
|
print(text: string): ConversationEntry;
|
|
7
|
-
subscribe():
|
|
8
|
+
subscribe(): Observable<ConversationEntry>;
|
|
8
9
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@telia-ace/widget-conversation-flamingo",
|
|
3
|
-
"version": "1.1.123-rc.
|
|
3
|
+
"version": "1.1.123-rc.47",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org"
|
|
6
6
|
},
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"@lit-labs/motion": "^1.0.8",
|
|
10
10
|
"@teliads/icons": "^8.4.0",
|
|
11
11
|
"@teliads/components": "^22.1.1",
|
|
12
|
-
"@telia-ace/widget-core-flamingo": "1.1.123-rc.
|
|
12
|
+
"@telia-ace/widget-core-flamingo": "1.1.123-rc.47",
|
|
13
13
|
"lit-html": "^3.0.2",
|
|
14
14
|
"rxjs": "^7.8.2",
|
|
15
15
|
"marked": "^15.0.12",
|
package/typing.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { LitElement } from 'lit';
|
|
1
|
+
import { LitElement, CSSResultGroup, TemplateResult } from 'lit';
|
|
2
2
|
export declare class Typing extends LitElement {
|
|
3
|
-
static styles:
|
|
4
|
-
render():
|
|
3
|
+
static styles: CSSResultGroup;
|
|
4
|
+
render(): TemplateResult;
|
|
5
5
|
}
|