lr-chatbot 0.5.0 → 0.5.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/components/Chatbot.js +25771 -0
- package/components/Chatbot.js.map +1 -0
- package/custom-elements.json +1 -1
- package/index.js +3 -25872
- package/index.js.map +1 -0
- package/libs/shared/client/features/chatbot/src/components/Chatbot.d.ts +19 -0
- package/libs/shared/client/features/chatbot/src/index.d.ts +1 -0
- package/package.json +4 -2
- package/index.cjs +0 -339
package/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
|
|
3
|
+
export declare class Chatbot extends LitElement {
|
|
4
|
+
private _chatElementRef?;
|
|
5
|
+
accessor apiUrl: string;
|
|
6
|
+
accessor opened: boolean;
|
|
7
|
+
accessor minimized: boolean;
|
|
8
|
+
accessor sticky: boolean;
|
|
9
|
+
static styles: import('lit').CSSResult;
|
|
10
|
+
static getVersion(): string;
|
|
11
|
+
firstUpdated(): void;
|
|
12
|
+
disconnectedCallback(): void;
|
|
13
|
+
private setChatTranslations;
|
|
14
|
+
private setChatStyle;
|
|
15
|
+
private setChatInitialMessages;
|
|
16
|
+
private setChatConnection;
|
|
17
|
+
handleClose(): void;
|
|
18
|
+
render(): import('lit').TemplateResult<1>;
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './components/Chatbot';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lr-chatbot",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.2",
|
|
4
4
|
"main": "./index.cjs",
|
|
5
5
|
"module": "./index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -11,6 +11,8 @@
|
|
|
11
11
|
},
|
|
12
12
|
"devDependencies": {
|
|
13
13
|
"@storybook/web-components-vite": "8.1.11",
|
|
14
|
-
"vite-plugin-cem": "0.8.1"
|
|
14
|
+
"vite-plugin-cem": "0.8.1",
|
|
15
|
+
"vite-plugin-dts": "3.9.1",
|
|
16
|
+
"vite-plugin-svgo": "1.4.0"
|
|
15
17
|
}
|
|
16
18
|
}
|