@telia-ace/widget-conversation-flamingo 1.1.33 → 1.1.34-rc.1
Sign up to get free protection for your applications and to get access to all the features.
- package/controllers/toast-controller.d.ts +10 -0
- package/{conversation-d74b7570.mjs → conversation-16392b4c.mjs} +948 -831
- package/conversation-3d26c066.js +768 -0
- package/conversation.d.ts +5 -0
- package/entry.d.ts +4 -1
- package/{index-0b4bc287.mjs → index-127a80a4.mjs} +2 -2
- package/index-fe488435.js +1 -0
- package/index.d.ts +1 -0
- package/index.js +3 -1
- package/index.mjs +1303 -8
- package/models/conversation-entry.d.ts +4 -1
- package/models/conversation-provider.d.ts +5 -0
- package/models/conversation-session-state.d.ts +1 -0
- package/models/system.d.ts +8 -0
- package/package.json +2 -2
- package/types.d.ts +4 -0
- package/conversation-2b47ebf9.js +0 -706
- package/index-1f92dd69.js +0 -3
- package/index-351f4e11.mjs +0 -1245
- package/index-ae71f17a.js +0 -1
package/conversation.d.ts
CHANGED
@@ -5,6 +5,7 @@ import { ConversationSessionState } from './models/conversation-session-state';
|
|
5
5
|
declare const WidgetElement: (new (...args: any[]) => import("@telia-ace/widget-core-flamingo").WidgetComponentType) & typeof LitElement;
|
6
6
|
export declare class Conversation extends WidgetElement {
|
7
7
|
static styles: import("lit").CSSResultGroup[];
|
8
|
+
private toast;
|
8
9
|
connectedCallback(): Promise<void>;
|
9
10
|
_onSendMessage(e: Event): Promise<void>;
|
10
11
|
_addHeaderOptions(): void;
|
@@ -16,10 +17,14 @@ export declare class Conversation extends WidgetElement {
|
|
16
17
|
message: string;
|
17
18
|
platform: ConversationPlatform | null;
|
18
19
|
session: ConversationSessionState | null;
|
20
|
+
disabled: boolean;
|
19
21
|
conversationContentRef: Ref<HTMLDivElement>;
|
20
22
|
formRef: Ref<HTMLFormElement>;
|
21
23
|
chatScrollHeight: number;
|
22
24
|
private onSessionUpdated;
|
25
|
+
disableInput(): void;
|
26
|
+
enableInput(): void;
|
27
|
+
setToastMessage(message: string | null): void;
|
23
28
|
render(): import("lit-html").TemplateResult<1>;
|
24
29
|
}
|
25
30
|
export default Conversation;
|
package/entry.d.ts
CHANGED
@@ -1,9 +1,12 @@
|
|
1
1
|
import { LitElement, nothing } from 'lit';
|
2
2
|
import { ConversationEntry } from './models/conversation-entry';
|
3
|
+
import { ConversationEntryAction } from './types';
|
3
4
|
export declare class ConversationMessage extends LitElement {
|
4
5
|
static styles: import("lit").CSSResult[];
|
5
6
|
entry: ConversationEntry;
|
6
7
|
connectedCallback(): void;
|
8
|
+
_getTimestamp(raw: number): string;
|
7
9
|
_renderTimestamp(name: string, timestamp: number | null): import("lit-html").TemplateResult<1> | typeof nothing;
|
8
|
-
|
10
|
+
_dispatchEntryAction(event: CustomEvent<ConversationEntryAction>): void;
|
11
|
+
render(): import("lit-html").TemplateResult<1> | typeof nothing;
|
9
12
|
}
|