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.
@@ -1 +1 @@
1
- {"schemaVersion":"1.0.0","readme":"","modules":[{"kind":"javascript-module","path":"/builds/laredoute/digital/apps/uxeng/components/uxeng-gui-front/libs/shared/client/features/chatbot/src/components/Chatbot.ts","declarations":[{"kind":"class","description":"","name":"Chatbot","members":[{"kind":"field","name":"_chatElementRef","type":{"text":"DeepChat | null | undefined"},"privacy":"private","default":"null"},{"kind":"field","name":"apiUrl","type":{"text":"string"},"default":"''","attribute":"apiUrl"},{"kind":"field","name":"opened","type":{"text":"boolean"},"default":"true","attribute":"opened"},{"kind":"field","name":"minimized","type":{"text":"boolean"},"default":"false","attribute":"minimized"},{"kind":"field","name":"sticky","type":{"text":"boolean"},"default":"false","attribute":"sticky"},{"kind":"field","name":"language","type":{"text":"AppLanguage"},"default":"'fr-FR'","attribute":"language"},{"kind":"field","name":"country","type":{"text":"AppCountry"},"default":"'fr'","attribute":"country"},{"kind":"method","name":"getVersion","static":true},{"kind":"method","name":"initTranslations","privacy":"private"},{"kind":"method","name":"setChatTranslations","privacy":"private"},{"kind":"method","name":"setChatStyle","privacy":"private"},{"kind":"method","name":"setChatInitialMessages","privacy":"private"},{"kind":"method","name":"setChatConnection","privacy":"private"},{"kind":"method","name":"handleClose"}],"attributes":[{"name":"apiUrl","type":{"text":"string"},"default":"''","fieldName":"apiUrl"},{"name":"opened","type":{"text":"boolean"},"default":"true","fieldName":"opened"},{"name":"minimized","type":{"text":"boolean"},"default":"false","fieldName":"minimized"},{"name":"sticky","type":{"text":"boolean"},"default":"false","fieldName":"sticky"},{"name":"language","type":{"text":"AppLanguage"},"default":"'fr-FR'","fieldName":"language"},{"name":"country","type":{"text":"AppCountry"},"default":"'fr'","fieldName":"country"}],"superclass":{"name":"LitElement","package":"lit"},"tagName":"lr-chatbot","customElement":true}],"exports":[{"kind":"js","name":"Chatbot","declaration":{"name":"Chatbot","module":"/builds/laredoute/digital/apps/uxeng/components/uxeng-gui-front/libs/shared/client/features/chatbot/src/components/Chatbot.ts"}},{"kind":"custom-element-definition","name":"lr-chatbot","declaration":{"name":"Chatbot","module":"/builds/laredoute/digital/apps/uxeng/components/uxeng-gui-front/libs/shared/client/features/chatbot/src/components/Chatbot.ts"}}]}]}
1
+ {"schemaVersion":"1.0.0","readme":"","modules":[{"kind":"javascript-module","path":"/builds/laredoute/digital/apps/uxeng/components/uxeng-gui-front/libs/shared/client/features/chatbot/src/components/chatbot/Chatbot.ts","declarations":[{"kind":"class","description":"","name":"Chatbot","members":[{"kind":"field","name":"_chatElementRef","type":{"text":"DeepChat | null | undefined"},"privacy":"private","default":"null"},{"kind":"field","name":"apiUrl","type":{"text":"string"},"default":"''","attribute":"apiUrl"},{"kind":"field","name":"opened","type":{"text":"boolean"},"default":"false","attribute":"opened"},{"kind":"field","name":"minimized","type":{"text":"boolean"},"default":"false","attribute":"minimized"},{"kind":"field","name":"sticky","type":{"text":"boolean"},"default":"false","attribute":"sticky"},{"kind":"field","name":"country","type":{"text":"AppCountry"},"attribute":"country"},{"kind":"field","name":"language","type":{"text":"AppLanguage"},"attribute":"language"},{"kind":"method","name":"getVersion","static":true},{"kind":"method","name":"initTranslations","privacy":"private"},{"kind":"method","name":"setChatTranslations","privacy":"private"},{"kind":"method","name":"setChatStyle","privacy":"private"},{"kind":"method","name":"setChatInitialMessages","privacy":"private"},{"kind":"method","name":"setChatConnection","privacy":"private"},{"kind":"method","name":"close"},{"kind":"method","name":"minimize"},{"kind":"method","name":"open"}],"attributes":[{"name":"apiUrl","type":{"text":"string"},"default":"''","fieldName":"apiUrl"},{"name":"opened","type":{"text":"boolean"},"default":"false","fieldName":"opened"},{"name":"minimized","type":{"text":"boolean"},"default":"false","fieldName":"minimized"},{"name":"sticky","type":{"text":"boolean"},"default":"false","fieldName":"sticky"},{"name":"country","type":{"text":"AppCountry"},"fieldName":"country"},{"name":"language","type":{"text":"AppLanguage"},"fieldName":"language"}],"superclass":{"name":"LitElement","package":"lit"},"tagName":"lr-chatbot","customElement":true}],"exports":[{"kind":"js","name":"Chatbot","declaration":{"name":"Chatbot","module":"/builds/laredoute/digital/apps/uxeng/components/uxeng-gui-front/libs/shared/client/features/chatbot/src/components/chatbot/Chatbot.ts"}},{"kind":"custom-element-definition","name":"lr-chatbot","declaration":{"name":"Chatbot","module":"/builds/laredoute/digital/apps/uxeng/components/uxeng-gui-front/libs/shared/client/features/chatbot/src/components/chatbot/Chatbot.ts"}}]}]}
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { Chatbot as r } from "./components/Chatbot.js";
1
+ import { Chatbot as r } from "./components/chatbot/Chatbot.js";
2
2
  export {
3
3
  r as Chatbot
4
4
  };
package/package.json CHANGED
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "name": "lr-chatbot",
3
- "main": "./index.cjs",
3
+ "main": "./index.js",
4
4
  "module": "./index.js",
5
5
  "type": "module",
6
+ "version": "0.6.2",
6
7
  "dependencies": {
7
8
  "deep-chat": "1.4.11",
8
9
  "lit": "3.1.4"
9
10
  },
10
11
  "devDependencies": {
11
- "@storybook/web-components-vite": "8.2.0",
12
+ "@storybook/web-components-vite": "8.1.11",
12
13
  "vite-plugin-cem": "0.8.1",
13
14
  "vite-plugin-dts": "3.9.1",
14
15
  "vite-plugin-svgo": "1.4.0"
15
- },
16
- "version": "0.6.0"
16
+ }
17
17
  }
@@ -1,14 +0,0 @@
1
- const e = "👋 Bienvenue ! Je suis R’, votre conseiller virtuel La Redoute, je suis là pour vous aider ! Je débute, soyez indulgent ;) Sélectionnez une question récurrente/un sujet ou posez-moi votre question.", o = "Entrez votre question", t = "Chatbot La Redoute", n = "Bonjour, afin de vous offrir la meilleure aide possible, nous utilisons l'intelligence artificielle. Ne partagez pas de données personnelles ou sensibles telles que vos données de paiement, pour en savoir plus, consultez <a href='https://www.laredoute.fr/'>notre politique de confidentialité</a>.", s = {
2
- introMessage: e,
3
- inputPlaceholder: o,
4
- title: t,
5
- legalInformation: n
6
- };
7
- export {
8
- s as default,
9
- o as inputPlaceholder,
10
- e as introMessage,
11
- n as legalInformation,
12
- t as title
13
- };
14
- //# sourceMappingURL=chatbot-CgcVx0hW.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"chatbot-CgcVx0hW.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}