lr-chatbot 0.25.3 → 0.26.1

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,10 +1,10 @@
1
- const e = "<p>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.</p> <div class='button-container'> <lr-pill class='suggestion' size='small'>Question 1</lr-pill> <lr-pill class='suggestion' size='small'>Question 2</lr-pill> <lr-pill class='suggestion' size='small'>Question 3</lr-pill> <lr-pill class='suggestion' size='small'>Question 4</lr-pill></div>", s = "Entrez votre question ...", t = "Chatbot La Redoute", o = "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='/espace-mentions_legales.aspx' target='blank'>notre politique de confidentialité</a>.", a = "<p>Oups, notre Chatbot n’est pas disponible pour le moment. Nous vous conseillons de contacter un conseiller pour plus de renseignements. </p>", l = {
1
+ const e = "<p>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.</p> <div class='button-container'> <lr-pill class='suggestion' size='small'>Question 1</lr-pill> <lr-pill class='suggestion' size='small'>Question 2</lr-pill> <lr-pill class='suggestion' size='small'>Question 3</lr-pill> <lr-pill class='suggestion' size='small'>Question 4</lr-pill></div>", t = "Entrez votre question ...", s = "Chatbot La Redoute", o = "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='/espace-mentions_legales.aspx' target='blank'>notre politique de confidentialité</a>.", n = "<p>Oups, notre Chatbot n’est pas disponible pour le moment. Nous vous conseillons de contacter un conseiller pour plus de renseignements. </p>", a = {
2
2
  minimizeLabel: "Minimize chat",
3
3
  closeLabel: "Close chat"
4
- }, n = {
4
+ }, l = {
5
5
  text: "Etes-vous sûr de vouloir quitter le chat ? En quittant ce Chat vous perdrez l’historique de votre conversation",
6
6
  button: "Quitter"
7
- }, i = "Reprendre la discussion", r = "Qu'avez-vous pensé de notre échange ?", u = "Ravi d'avoir pu vous aider, avez-vous d'autres questions ?", c = {
7
+ }, i = "Reprendre la discussion", r = "Qu'avez-vous pensé de notre échange ?", c = "Ravi d'avoir pu vous aider, avez-vous d'autres questions ?", u = {
8
8
  suggestions: "<lr-chatbot-escalation-pill channel='contact-form' shouldGetSummary size='small' icon='help'>Formulaire de contact</lr-chatbot-escalation-pill> <lr-chatbot-escalation-pill shouldGetSummary channel='whatsapp' size='small' icon='brand-whatsapp'>WhatsApp</lr-chatbot-escalation-pill><lr-chatbot-escalation-pill channel='faq' size='small' icon='help'>FAQ</lr-chatbot-escalation-pill>",
9
9
  suggestions_mobile: "$t(chatbot:escalation.suggestions, {'context': '' })<lr-chatbot-escalation-pill channel='tel' size='small' icon='smartphone'>0969323515</lr-chatbot-escalation-pill>",
10
10
  url: "",
@@ -19,34 +19,41 @@ const e = "<p>Bienvenue ! Je suis R’, votre conseiller virtuel La Redoute, je
19
19
  label: "Chat",
20
20
  ariaLabel: "Ouvrir le chat"
21
21
  }, m = "5000", d = {
22
+ sendButtonLabel: "Envoyer",
23
+ messageConfirm: "<lr-icon-check size='small'></lr-icon-check> <p><i>Votre commentaire a bien été envoyé</i></p>",
24
+ inputLabel: "Laisser un commentaire",
25
+ inputPlaceholder: "Commentaire :"
26
+ }, h = {
22
27
  introMessage: e,
23
- inputPlaceholder: s,
24
- title: t,
28
+ inputPlaceholder: t,
29
+ title: s,
25
30
  legalInformation: o,
26
- errorMessage: a,
27
- menu: l,
28
- exit: n,
31
+ errorMessage: n,
32
+ menu: a,
33
+ exit: l,
29
34
  returnToConversation: i,
30
35
  ratingConversation: r,
31
- otherQuestionOnConversation: u,
32
- escalation: c,
36
+ otherQuestionOnConversation: c,
37
+ escalation: u,
33
38
  minimized: p,
34
- evaluationTimeout: m
39
+ evaluationTimeout: m,
40
+ feedback: d
35
41
  };
36
42
  export {
37
- d as default,
38
- a as errorMessage,
39
- c as escalation,
43
+ h as default,
44
+ n as errorMessage,
45
+ u as escalation,
40
46
  m as evaluationTimeout,
41
- n as exit,
42
- s as inputPlaceholder,
47
+ l as exit,
48
+ d as feedback,
49
+ t as inputPlaceholder,
43
50
  e as introMessage,
44
51
  o as legalInformation,
45
- l as menu,
52
+ a as menu,
46
53
  p as minimized,
47
- u as otherQuestionOnConversation,
54
+ c as otherQuestionOnConversation,
48
55
  r as ratingConversation,
49
56
  i as returnToConversation,
50
- t as title
57
+ s as title
51
58
  };
52
- //# sourceMappingURL=chatbot-Aqi3JULC.js.map
59
+ //# sourceMappingURL=chatbot-CyA3K7s6.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chatbot-CyA3K7s6.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -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/Chatbot.ts","declarations":[{"kind":"variable","name":"LR_CHATBOT_BROADCAST_CHANNEL_ID"},{"kind":"variable","name":"LR_CHATBOT_LOCALSTORAGE_CONVERSATION_ID","type":{"text":"string"},"default":"'lr.chatbot.conversation_id'"},{"kind":"class","description":"","name":"Chatbot","members":[{"kind":"field","name":"apiUrl","type":{"text":"string"},"default":"'/bff'","attribute":"apiUrl"},{"kind":"field","name":"opened","type":{"text":"boolean"},"default":"false","attribute":"opened","reflects":true},{"kind":"field","name":"minimized","type":{"text":"boolean"},"default":"false","attribute":"minimized","reflects":true},{"kind":"field","name":"sticky","type":{"text":"boolean"},"default":"false","attribute":"sticky"},{"kind":"field","name":"exitOverlay","type":{"text":"boolean"},"default":"false","attribute":"exitOverlay"},{"kind":"field","name":"deepChat","type":{"text":"DeepChat | undefined"},"privacy":"private"},{"kind":"field","name":"_closeClickCount","type":{"text":"number"},"privacy":"private","default":"0"},{"kind":"field","name":"_isConversationDone","type":{"text":"boolean"},"privacy":"private","default":"false"},{"kind":"field","name":"_shouldEndConversation","type":{"text":"boolean"},"privacy":"private","default":"false"},{"kind":"field","name":"_broadcastController","privacy":"private","default":"new BroadcastController<ChatbotBroadcastMessage>( this, LR_CHATBOT_BROADCAST_CHANNEL_ID )"},{"kind":"field","name":"_conversationHistoryTask","privacy":"private"},{"kind":"field","name":"conversationTimeout","type":{"text":"ReturnType<typeof setTimeout> | undefined"},"privacy":"private"},{"kind":"method","name":"getVersion"},{"kind":"method","name":"registerBroadcastMessages","privacy":"private"},{"kind":"method","name":"observeInputChanges","privacy":"private"},{"kind":"method","name":"handleDeepChatLoad","privacy":"private","parameters":[{"name":"deepChat","optional":true,"type":{"text":"Element"}}]},{"kind":"method","name":"getCurrentConversationId","privacy":"private"},{"kind":"method","name":"createConversationHistoryTask","privacy":"private"},{"kind":"method","name":"tryGetConversationHistory","privacy":"private"},{"kind":"method","name":"setInitialMessages","privacy":"private"},{"kind":"method","name":"setDeepChatHistory","privacy":"private","return":{"type":{"text":"Promise<void>"}}},{"kind":"method","name":"setDeepChatTranslations","privacy":"private"},{"kind":"method","name":"setDeepChatStyle","privacy":"private"},{"kind":"method","name":"setConversationTimeout","privacy":"private"},{"kind":"method","name":"setChatConnection","privacy":"private"},{"kind":"method","name":"endConversation","privacy":"private","parameters":[{"name":"conversationId","type":{"text":"string | null"}}]},{"kind":"method","name":"disableDeepChatTextInput","privacy":"private"},{"kind":"method","name":"enableDeepChatTextInput","privacy":"private"},{"kind":"method","name":"handleClosure","privacy":"private"},{"kind":"method","name":"handleReturnConversation","privacy":"private"},{"kind":"method","name":"clearConversation","privacy":"private"},{"kind":"method","name":"minimize"},{"kind":"method","name":"open"},{"kind":"method","name":"close"},{"kind":"method","name":"renderExitOverlay"},{"kind":"method","name":"renderChatPopin"},{"kind":"method","name":"renderMinimizedChat"},{"kind":"method","name":"renderElement"}],"attributes":[{"name":"apiUrl","type":{"text":"string"},"default":"'/bff'","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":"exitOverlay","type":{"text":"boolean"},"default":"false","fieldName":"exitOverlay"}],"superclass":{"name":"SuperElement","package":"@atlas/shared/client/ui/wc/internals/super/SuperElement"},"tagName":"lr-chatbot","customElement":true}],"exports":[{"kind":"js","name":"LR_CHATBOT_BROADCAST_CHANNEL_ID","declaration":{"name":"LR_CHATBOT_BROADCAST_CHANNEL_ID","module":"/builds/laredoute/digital/apps/uxeng/components/uxeng-gui-front/libs/shared/client/features/chatbot/src/components/chatbot/Chatbot.ts"}},{"kind":"js","name":"LR_CHATBOT_LOCALSTORAGE_CONVERSATION_ID","declaration":{"name":"LR_CHATBOT_LOCALSTORAGE_CONVERSATION_ID","module":"/builds/laredoute/digital/apps/uxeng/components/uxeng-gui-front/libs/shared/client/features/chatbot/src/components/chatbot/Chatbot.ts"}},{"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"}}]},{"kind":"javascript-module","path":"/builds/laredoute/digital/apps/uxeng/components/uxeng-gui-front/libs/shared/client/features/chatbot/src/components/chatbot-conversation-rating/ChatbotConversationRating.ts","declarations":[{"kind":"class","description":"","name":"ChatbotConversationRating","members":[{"kind":"field","name":"messageContext","type":{"text":"ChatbotMessageContext | undefined"}},{"kind":"field","name":"score","type":{"text":"number | null"},"default":"null"},{"kind":"field","name":"label","type":{"text":"string"},"default":"''","attribute":"label"},{"kind":"field","name":"_broadcastController","privacy":"private","default":"new BroadcastController<ChatbotBroadcastMessage>( this, LR_CHATBOT_BROADCAST_CHANNEL_ID )"},{"kind":"method","name":"getConversationId","privacy":"private"},{"kind":"field","name":"rating","type":{"text":"number"},"default":"0"},{"kind":"method","name":"handleSubmit","parameters":[{"name":"event","type":{"text":"SubmitEvent"}}]},{"kind":"method","name":"renderElement"}],"attributes":[{"name":"label","type":{"text":"string"},"default":"''","fieldName":"label"}],"superclass":{"name":"SuperElement","package":"@atlas/shared/client/ui/wc/internals/super/SuperElement"},"tagName":"lr-chatbot-conversation-rating","customElement":true}],"exports":[{"kind":"js","name":"ChatbotConversationRating","declaration":{"name":"ChatbotConversationRating","module":"/builds/laredoute/digital/apps/uxeng/components/uxeng-gui-front/libs/shared/client/features/chatbot/src/components/chatbot-conversation-rating/ChatbotConversationRating.ts"}},{"kind":"custom-element-definition","name":"lr-chatbot-conversation-rating","declaration":{"name":"ChatbotConversationRating","module":"/builds/laredoute/digital/apps/uxeng/components/uxeng-gui-front/libs/shared/client/features/chatbot/src/components/chatbot-conversation-rating/ChatbotConversationRating.ts"}}]},{"kind":"javascript-module","path":"/builds/laredoute/digital/apps/uxeng/components/uxeng-gui-front/libs/shared/client/features/chatbot/src/components/chatbot-escalation-pill/ChatbotEscalationPill.ts","declarations":[{"kind":"class","description":"","name":"ChatbotEscalationPill","members":[{"kind":"field","name":"channel","type":{"text":"string"},"default":"''","attribute":"channel"},{"kind":"field","name":"shouldGetSummary","type":{"text":"boolean"},"default":"false","attribute":"shouldGetSummary"},{"kind":"field","name":"messageContext","type":{"text":"ChatbotMessageContext | undefined"}},{"kind":"method","name":"getUrl","privacy":"private","parameters":[{"name":"message","optional":true,"type":{"text":"string"}}]},{"kind":"method","name":"handleClick"},{"kind":"method","name":"escalate","privacy":"private"}],"attributes":[{"name":"channel","type":{"text":"string"},"default":"''","fieldName":"channel"},{"name":"shouldGetSummary","type":{"text":"boolean"},"default":"false","fieldName":"shouldGetSummary"}],"superclass":{"name":"Pill","package":"@atlas/shared/client/ui/wc/components/pill"},"tagName":"lr-chatbot-escalation-pill","customElement":true}],"exports":[{"kind":"js","name":"ChatbotEscalationPill","declaration":{"name":"ChatbotEscalationPill","module":"/builds/laredoute/digital/apps/uxeng/components/uxeng-gui-front/libs/shared/client/features/chatbot/src/components/chatbot-escalation-pill/ChatbotEscalationPill.ts"}},{"kind":"custom-element-definition","name":"lr-chatbot-escalation-pill","declaration":{"name":"ChatbotEscalationPill","module":"/builds/laredoute/digital/apps/uxeng/components/uxeng-gui-front/libs/shared/client/features/chatbot/src/components/chatbot-escalation-pill/ChatbotEscalationPill.ts"}}]},{"kind":"javascript-module","path":"/builds/laredoute/digital/apps/uxeng/components/uxeng-gui-front/libs/shared/client/features/chatbot/src/components/chatbot-message/ChatbotMessage.ts","declarations":[{"kind":"class","description":"","name":"ChatbotMessage","members":[{"kind":"field","name":"apiUrl","type":{"text":"string"},"default":"''","attribute":"apiUrl"},{"kind":"field","name":"conversationId","type":{"text":"string"},"default":"''","attribute":"conversationId"},{"kind":"field","name":"messageId","type":{"text":"string"},"default":"''","attribute":"messageId"},{"kind":"field","name":"score","type":{"text":"number | undefined"},"attribute":"score"},{"kind":"field","name":"showEscalation","type":{"text":"boolean"},"default":"false","attribute":"showEscalation"},{"kind":"field","name":"showMessageRating","type":{"text":"boolean"},"default":"false","attribute":"showMessageRating"},{"kind":"field","name":"showConversationRating","type":{"text":"boolean"},"default":"false","attribute":"showConversationRating"},{"kind":"field","name":"messageContext","type":{"text":"ChatbotMessageContext"},"default":"{}"},{"kind":"method","name":"renderElement"}],"attributes":[{"name":"apiUrl","type":{"text":"string"},"default":"''","fieldName":"apiUrl"},{"name":"conversationId","type":{"text":"string"},"default":"''","fieldName":"conversationId"},{"name":"messageId","type":{"text":"string"},"default":"''","fieldName":"messageId"},{"name":"score","type":{"text":"number | undefined"},"fieldName":"score"},{"name":"showEscalation","type":{"text":"boolean"},"default":"false","fieldName":"showEscalation"},{"name":"showMessageRating","type":{"text":"boolean"},"default":"false","fieldName":"showMessageRating"},{"name":"showConversationRating","type":{"text":"boolean"},"default":"false","fieldName":"showConversationRating"}],"superclass":{"name":"SuperElement","package":"@atlas/shared/client/ui/wc/internals/super/SuperElement"},"tagName":"lr-chatbot-message","customElement":true},{"kind":"function","name":"createChatbotMessageHtml","parameters":[{"name":"props","type":{"text":"ChatbotMessageProps"}}]}],"exports":[{"kind":"js","name":"ChatbotMessage","declaration":{"name":"ChatbotMessage","module":"/builds/laredoute/digital/apps/uxeng/components/uxeng-gui-front/libs/shared/client/features/chatbot/src/components/chatbot-message/ChatbotMessage.ts"}},{"kind":"custom-element-definition","name":"lr-chatbot-message","declaration":{"name":"ChatbotMessage","module":"/builds/laredoute/digital/apps/uxeng/components/uxeng-gui-front/libs/shared/client/features/chatbot/src/components/chatbot-message/ChatbotMessage.ts"}},{"kind":"js","name":"createChatbotMessageHtml","declaration":{"name":"createChatbotMessageHtml","module":"/builds/laredoute/digital/apps/uxeng/components/uxeng-gui-front/libs/shared/client/features/chatbot/src/components/chatbot-message/ChatbotMessage.ts"}}]},{"kind":"javascript-module","path":"/builds/laredoute/digital/apps/uxeng/components/uxeng-gui-front/libs/shared/client/features/chatbot/src/components/chatbot-message-rating/ChatbotMessageRating.ts","declarations":[{"kind":"class","description":"","name":"ChatbotMessageRating","members":[{"kind":"field","name":"messageContext","type":{"text":"ChatbotMessageContext | undefined"}},{"kind":"field","name":"upActive","type":{"text":"boolean"},"privacy":"private","default":"false"},{"kind":"field","name":"downActive","type":{"text":"boolean"},"privacy":"private","default":"false"},{"kind":"field","name":"score","type":{"text":"number | undefined"},"privacy":"private"},{"kind":"method","name":"toggleButton","parameters":[{"name":"e","type":{"text":"Event"}},{"name":"score","type":{"text":"number"}}]},{"kind":"method","name":"evaluateResponse","privacy":"private","parameters":[{"name":"score","type":{"text":"number"}}]},{"kind":"method","name":"renderElement"}],"superclass":{"name":"SuperElement","package":"@atlas/shared/client/ui/wc/internals/super/SuperElement"},"tagName":"lr-chatbot-message-rating","customElement":true}],"exports":[{"kind":"js","name":"ChatbotMessageRating","declaration":{"name":"ChatbotMessageRating","module":"/builds/laredoute/digital/apps/uxeng/components/uxeng-gui-front/libs/shared/client/features/chatbot/src/components/chatbot-message-rating/ChatbotMessageRating.ts"}},{"kind":"custom-element-definition","name":"lr-chatbot-message-rating","declaration":{"name":"ChatbotMessageRating","module":"/builds/laredoute/digital/apps/uxeng/components/uxeng-gui-front/libs/shared/client/features/chatbot/src/components/chatbot-message-rating/ChatbotMessageRating.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":"variable","name":"LR_CHATBOT_BROADCAST_CHANNEL_ID"},{"kind":"variable","name":"LR_CHATBOT_LOCALSTORAGE_CONVERSATION_ID","type":{"text":"string"},"default":"'lr.chatbot.conversation_id'"},{"kind":"class","description":"","name":"Chatbot","members":[{"kind":"field","name":"apiUrl","type":{"text":"string"},"default":"'/bff'","attribute":"apiUrl"},{"kind":"field","name":"opened","type":{"text":"boolean"},"default":"false","attribute":"opened","reflects":true},{"kind":"field","name":"minimized","type":{"text":"boolean"},"default":"false","attribute":"minimized","reflects":true},{"kind":"field","name":"sticky","type":{"text":"boolean"},"default":"false","attribute":"sticky"},{"kind":"field","name":"exitOverlay","type":{"text":"boolean"},"default":"false","attribute":"exitOverlay"},{"kind":"field","name":"deepChat","type":{"text":"DeepChat | undefined"},"privacy":"private"},{"kind":"field","name":"_closeClickCount","type":{"text":"number"},"privacy":"private","default":"0"},{"kind":"field","name":"_isConversationDone","type":{"text":"boolean"},"privacy":"private","default":"false"},{"kind":"field","name":"_shouldEndConversation","type":{"text":"boolean"},"privacy":"private","default":"false"},{"kind":"field","name":"_broadcastController","privacy":"private","default":"new BroadcastController<ChatbotBroadcastMessage>( this, LR_CHATBOT_BROADCAST_CHANNEL_ID )"},{"kind":"field","name":"_conversationHistoryTask","privacy":"private"},{"kind":"field","name":"conversationTimeout","type":{"text":"ReturnType<typeof setTimeout> | undefined"},"privacy":"private"},{"kind":"method","name":"getVersion"},{"kind":"method","name":"registerBroadcastMessages","privacy":"private"},{"kind":"method","name":"observeInputChanges","privacy":"private"},{"kind":"method","name":"handleDeepChatLoad","privacy":"private","parameters":[{"name":"deepChat","optional":true,"type":{"text":"Element"}}]},{"kind":"method","name":"getCurrentConversationId","privacy":"private"},{"kind":"method","name":"createConversationHistoryTask","privacy":"private"},{"kind":"method","name":"tryGetConversationHistory","privacy":"private"},{"kind":"method","name":"setInitialMessages","privacy":"private"},{"kind":"method","name":"setDeepChatHistory","privacy":"private","return":{"type":{"text":"Promise<void>"}}},{"kind":"method","name":"setDeepChatTranslations","privacy":"private"},{"kind":"method","name":"setDeepChatStyle","privacy":"private"},{"kind":"method","name":"setConversationTimeout","privacy":"private"},{"kind":"method","name":"setChatConnection","privacy":"private"},{"kind":"method","name":"endConversation","privacy":"private","parameters":[{"name":"conversationId","type":{"text":"string | null"}}]},{"kind":"method","name":"disableDeepChatTextInput","privacy":"private"},{"kind":"method","name":"enableDeepChatTextInput","privacy":"private"},{"kind":"method","name":"handleClosure","privacy":"private"},{"kind":"method","name":"handleReturnConversation","privacy":"private"},{"kind":"method","name":"clearConversation","privacy":"private"},{"kind":"method","name":"minimize"},{"kind":"method","name":"open"},{"kind":"method","name":"close"},{"kind":"method","name":"renderExitOverlay"},{"kind":"method","name":"renderChatPopin"},{"kind":"method","name":"renderMinimizedChat"},{"kind":"method","name":"renderElement"}],"attributes":[{"name":"apiUrl","type":{"text":"string"},"default":"'/bff'","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":"exitOverlay","type":{"text":"boolean"},"default":"false","fieldName":"exitOverlay"}],"superclass":{"name":"SuperElement","package":"@atlas/shared/client/ui/wc/internals/super/SuperElement"},"tagName":"lr-chatbot","customElement":true}],"exports":[{"kind":"js","name":"LR_CHATBOT_BROADCAST_CHANNEL_ID","declaration":{"name":"LR_CHATBOT_BROADCAST_CHANNEL_ID","module":"/builds/laredoute/digital/apps/uxeng/components/uxeng-gui-front/libs/shared/client/features/chatbot/src/components/chatbot/Chatbot.ts"}},{"kind":"js","name":"LR_CHATBOT_LOCALSTORAGE_CONVERSATION_ID","declaration":{"name":"LR_CHATBOT_LOCALSTORAGE_CONVERSATION_ID","module":"/builds/laredoute/digital/apps/uxeng/components/uxeng-gui-front/libs/shared/client/features/chatbot/src/components/chatbot/Chatbot.ts"}},{"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"}}]},{"kind":"javascript-module","path":"/builds/laredoute/digital/apps/uxeng/components/uxeng-gui-front/libs/shared/client/features/chatbot/src/components/chatbot-conversation-rating/ChatbotConversationRating.ts","declarations":[{"kind":"class","description":"","name":"ChatbotConversationRating","members":[{"kind":"field","name":"messageContext","type":{"text":"ChatbotMessageContext | undefined"}},{"kind":"field","name":"score","type":{"text":"number | null"},"default":"null"},{"kind":"field","name":"label","type":{"text":"string"},"default":"''","attribute":"label"},{"kind":"field","name":"rating","type":{"text":"number"},"default":"0"},{"kind":"field","name":"feedback","type":{"text":"string"},"default":"''"},{"kind":"field","name":"_broadcastController","privacy":"private","default":"new BroadcastController<ChatbotBroadcastMessage>( this, LR_CHATBOT_BROADCAST_CHANNEL_ID )"},{"kind":"method","name":"getConversationId","privacy":"private"},{"kind":"method","name":"handleSubmit","parameters":[{"name":"event","type":{"text":"SubmitEvent"}}]},{"kind":"method","name":"renderFeedbackElement"},{"kind":"method","name":"renderElement"}],"attributes":[{"name":"label","type":{"text":"string"},"default":"''","fieldName":"label"}],"superclass":{"name":"SuperElement","package":"@atlas/shared/client/ui/wc/internals/super/SuperElement"},"tagName":"lr-chatbot-conversation-rating","customElement":true}],"exports":[{"kind":"js","name":"ChatbotConversationRating","declaration":{"name":"ChatbotConversationRating","module":"/builds/laredoute/digital/apps/uxeng/components/uxeng-gui-front/libs/shared/client/features/chatbot/src/components/chatbot-conversation-rating/ChatbotConversationRating.ts"}},{"kind":"custom-element-definition","name":"lr-chatbot-conversation-rating","declaration":{"name":"ChatbotConversationRating","module":"/builds/laredoute/digital/apps/uxeng/components/uxeng-gui-front/libs/shared/client/features/chatbot/src/components/chatbot-conversation-rating/ChatbotConversationRating.ts"}}]},{"kind":"javascript-module","path":"/builds/laredoute/digital/apps/uxeng/components/uxeng-gui-front/libs/shared/client/features/chatbot/src/components/chatbot-escalation-pill/ChatbotEscalationPill.ts","declarations":[{"kind":"class","description":"","name":"ChatbotEscalationPill","members":[{"kind":"field","name":"channel","type":{"text":"string"},"default":"''","attribute":"channel"},{"kind":"field","name":"shouldGetSummary","type":{"text":"boolean"},"default":"false","attribute":"shouldGetSummary"},{"kind":"field","name":"messageContext","type":{"text":"ChatbotMessageContext | undefined"}},{"kind":"method","name":"getUrl","privacy":"private","parameters":[{"name":"message","optional":true,"type":{"text":"string"}}]},{"kind":"method","name":"handleClick"},{"kind":"method","name":"escalate","privacy":"private"}],"attributes":[{"name":"channel","type":{"text":"string"},"default":"''","fieldName":"channel"},{"name":"shouldGetSummary","type":{"text":"boolean"},"default":"false","fieldName":"shouldGetSummary"}],"superclass":{"name":"Pill","package":"@atlas/shared/client/ui/wc/components/pill"},"tagName":"lr-chatbot-escalation-pill","customElement":true}],"exports":[{"kind":"js","name":"ChatbotEscalationPill","declaration":{"name":"ChatbotEscalationPill","module":"/builds/laredoute/digital/apps/uxeng/components/uxeng-gui-front/libs/shared/client/features/chatbot/src/components/chatbot-escalation-pill/ChatbotEscalationPill.ts"}},{"kind":"custom-element-definition","name":"lr-chatbot-escalation-pill","declaration":{"name":"ChatbotEscalationPill","module":"/builds/laredoute/digital/apps/uxeng/components/uxeng-gui-front/libs/shared/client/features/chatbot/src/components/chatbot-escalation-pill/ChatbotEscalationPill.ts"}}]},{"kind":"javascript-module","path":"/builds/laredoute/digital/apps/uxeng/components/uxeng-gui-front/libs/shared/client/features/chatbot/src/components/chatbot-message/ChatbotMessage.ts","declarations":[{"kind":"class","description":"","name":"ChatbotMessage","members":[{"kind":"field","name":"apiUrl","type":{"text":"string"},"default":"''","attribute":"apiUrl"},{"kind":"field","name":"conversationId","type":{"text":"string"},"default":"''","attribute":"conversationId"},{"kind":"field","name":"messageId","type":{"text":"string"},"default":"''","attribute":"messageId"},{"kind":"field","name":"score","type":{"text":"number | undefined"},"attribute":"score"},{"kind":"field","name":"showEscalation","type":{"text":"boolean"},"default":"false","attribute":"showEscalation"},{"kind":"field","name":"showMessageRating","type":{"text":"boolean"},"default":"false","attribute":"showMessageRating"},{"kind":"field","name":"showConversationRating","type":{"text":"boolean"},"default":"false","attribute":"showConversationRating"},{"kind":"field","name":"messageContext","type":{"text":"ChatbotMessageContext"},"default":"{}"},{"kind":"method","name":"renderElement"}],"attributes":[{"name":"apiUrl","type":{"text":"string"},"default":"''","fieldName":"apiUrl"},{"name":"conversationId","type":{"text":"string"},"default":"''","fieldName":"conversationId"},{"name":"messageId","type":{"text":"string"},"default":"''","fieldName":"messageId"},{"name":"score","type":{"text":"number | undefined"},"fieldName":"score"},{"name":"showEscalation","type":{"text":"boolean"},"default":"false","fieldName":"showEscalation"},{"name":"showMessageRating","type":{"text":"boolean"},"default":"false","fieldName":"showMessageRating"},{"name":"showConversationRating","type":{"text":"boolean"},"default":"false","fieldName":"showConversationRating"}],"superclass":{"name":"SuperElement","package":"@atlas/shared/client/ui/wc/internals/super/SuperElement"},"tagName":"lr-chatbot-message","customElement":true},{"kind":"function","name":"createChatbotMessageHtml","parameters":[{"name":"props","type":{"text":"ChatbotMessageProps"}}]}],"exports":[{"kind":"js","name":"ChatbotMessage","declaration":{"name":"ChatbotMessage","module":"/builds/laredoute/digital/apps/uxeng/components/uxeng-gui-front/libs/shared/client/features/chatbot/src/components/chatbot-message/ChatbotMessage.ts"}},{"kind":"custom-element-definition","name":"lr-chatbot-message","declaration":{"name":"ChatbotMessage","module":"/builds/laredoute/digital/apps/uxeng/components/uxeng-gui-front/libs/shared/client/features/chatbot/src/components/chatbot-message/ChatbotMessage.ts"}},{"kind":"js","name":"createChatbotMessageHtml","declaration":{"name":"createChatbotMessageHtml","module":"/builds/laredoute/digital/apps/uxeng/components/uxeng-gui-front/libs/shared/client/features/chatbot/src/components/chatbot-message/ChatbotMessage.ts"}}]},{"kind":"javascript-module","path":"/builds/laredoute/digital/apps/uxeng/components/uxeng-gui-front/libs/shared/client/features/chatbot/src/components/chatbot-message-rating/ChatbotMessageRating.ts","declarations":[{"kind":"class","description":"","name":"ChatbotMessageRating","members":[{"kind":"field","name":"messageContext","type":{"text":"ChatbotMessageContext | undefined"}},{"kind":"field","name":"upActive","type":{"text":"boolean"},"privacy":"private","default":"false"},{"kind":"field","name":"downActive","type":{"text":"boolean"},"privacy":"private","default":"false"},{"kind":"field","name":"score","type":{"text":"number | undefined"},"privacy":"private"},{"kind":"method","name":"toggleButton","parameters":[{"name":"e","type":{"text":"Event"}},{"name":"score","type":{"text":"number"}}]},{"kind":"method","name":"evaluateResponse","privacy":"private","parameters":[{"name":"score","type":{"text":"number"}}]},{"kind":"method","name":"renderElement"}],"superclass":{"name":"SuperElement","package":"@atlas/shared/client/ui/wc/internals/super/SuperElement"},"tagName":"lr-chatbot-message-rating","customElement":true}],"exports":[{"kind":"js","name":"ChatbotMessageRating","declaration":{"name":"ChatbotMessageRating","module":"/builds/laredoute/digital/apps/uxeng/components/uxeng-gui-front/libs/shared/client/features/chatbot/src/components/chatbot-message-rating/ChatbotMessageRating.ts"}},{"kind":"custom-element-definition","name":"lr-chatbot-message-rating","declaration":{"name":"ChatbotMessageRating","module":"/builds/laredoute/digital/apps/uxeng/components/uxeng-gui-front/libs/shared/client/features/chatbot/src/components/chatbot-message-rating/ChatbotMessageRating.ts"}}]}]}