lr-chatbot 0.6.0 → 0.6.2
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/chatbot-Cd8SuXtg.js +16 -0
- package/chatbot-Cd8SuXtg.js.map +1 -0
- package/components/chatbot/Chatbot.js +18689 -0
- package/components/chatbot/Chatbot.js.map +1 -0
- package/custom-elements.json +1 -1
- package/index.js +1 -1
- package/package.json +4 -4
- package/chatbot-CgcVx0hW.js +0 -14
- package/chatbot-CgcVx0hW.js.map +0 -1
- package/components/Chatbot.js +0 -15261
- package/components/Chatbot.js.map +0 -1
- package/libs/shared/client/features/chatbot/src/components/Chatbot.d.ts +0 -23
- package/libs/shared/client/features/chatbot/src/index.d.ts +0 -1
- package/libs/shared/client/features/chatbot/src/services/ChatbotFallbacksLoader.d.ts +0 -7
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { LitElement } from 'lit';
|
|
2
|
-
import { AppCountry, AppLanguage } from '../../../../../universal/i18n/src/index.ts';
|
|
3
|
-
|
|
4
|
-
export declare class Chatbot extends LitElement {
|
|
5
|
-
private _chatElementRef?;
|
|
6
|
-
accessor apiUrl: string;
|
|
7
|
-
accessor opened: boolean;
|
|
8
|
-
accessor minimized: boolean;
|
|
9
|
-
accessor sticky: boolean;
|
|
10
|
-
accessor language: AppLanguage;
|
|
11
|
-
accessor country: AppCountry;
|
|
12
|
-
static styles: import('lit').CSSResult;
|
|
13
|
-
static getVersion(): string;
|
|
14
|
-
protected performUpdate(): Promise<unknown>;
|
|
15
|
-
firstUpdated(): void;
|
|
16
|
-
private initTranslations;
|
|
17
|
-
private setChatTranslations;
|
|
18
|
-
private setChatStyle;
|
|
19
|
-
private setChatInitialMessages;
|
|
20
|
-
private setChatConnection;
|
|
21
|
-
handleClose(): void;
|
|
22
|
-
render(): import('lit').TemplateResult<1>;
|
|
23
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './components/Chatbot';
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { AppLanguage, FallbacksSchema, BaseFallbacksLoader } from '../../../../../universal/i18n/src/index.ts';
|
|
2
|
-
|
|
3
|
-
import * as fr_FR from '@atlas/shared/universal/i18n/fallbacks/fr/fr-FR/chatbot.json';
|
|
4
|
-
export type ChatbotTranslationsKeys = typeof fr_FR;
|
|
5
|
-
export declare class ChatbotFallbacksLoader extends BaseFallbacksLoader<AppLanguage, FallbacksSchema<ChatbotTranslationsKeys>> {
|
|
6
|
-
getTranslationsMaps(): Record<AppLanguage, () => Promise<FallbacksSchema<ChatbotTranslationsKeys>>>;
|
|
7
|
-
}
|