lr-chatbot 0.27.0 → 0.27.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.
|
@@ -33,7 +33,7 @@ const e = "<p>Bienvenue ! Je suis R’, votre conseiller virtuel La Redoute, je
|
|
|
33
33
|
exit: l,
|
|
34
34
|
returnToConversation: i,
|
|
35
35
|
ratingConversation: r,
|
|
36
|
-
|
|
36
|
+
otherQuestiononConversation: c,
|
|
37
37
|
escalation: u,
|
|
38
38
|
minimized: p,
|
|
39
39
|
evaluationTimeout: m,
|
|
@@ -51,9 +51,9 @@ export {
|
|
|
51
51
|
o as legalInformation,
|
|
52
52
|
a as menu,
|
|
53
53
|
p as minimized,
|
|
54
|
-
c as
|
|
54
|
+
c as otherQuestiononConversation,
|
|
55
55
|
r as ratingConversation,
|
|
56
56
|
i as returnToConversation,
|
|
57
57
|
s as title
|
|
58
58
|
};
|
|
59
|
-
//# sourceMappingURL=chatbot-
|
|
59
|
+
//# sourceMappingURL=chatbot-PPBlRgDF.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chatbot-PPBlRgDF.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/index.js
CHANGED
|
@@ -21978,7 +21978,7 @@ class ew extends _3 {
|
|
|
21978
21978
|
getFallbackTranslationsMaps() {
|
|
21979
21979
|
return {
|
|
21980
21980
|
"fr-FR": async () => ({
|
|
21981
|
-
chatbot: (await import("./chatbot-
|
|
21981
|
+
chatbot: (await import("./chatbot-PPBlRgDF.js")).default
|
|
21982
21982
|
}),
|
|
21983
21983
|
"pt-PT": async () => {
|
|
21984
21984
|
throw Error("Not available yet");
|
|
@@ -22893,7 +22893,7 @@ let Lt = class extends ge {
|
|
|
22893
22893
|
action: "addMessage",
|
|
22894
22894
|
payload: {
|
|
22895
22895
|
message: {
|
|
22896
|
-
html: be("chatbot:
|
|
22896
|
+
html: be("chatbot:otherQuestiononConversation")
|
|
22897
22897
|
}
|
|
22898
22898
|
}
|
|
22899
22899
|
}), this.feedback && (this.score = null);
|
|
@@ -22954,7 +22954,7 @@ Lt = Mn([
|
|
|
22954
22954
|
Fe("lr-chatbot-conversation-rating")
|
|
22955
22955
|
], Lt);
|
|
22956
22956
|
function Lw(t) {
|
|
22957
|
-
const r =
|
|
22957
|
+
const r = new RegExp("https?:\\/\\/(www\\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\\.[a-zA-Z0-9()]{1,6}\\b([-a-zA-Z0-9()@:%_+.~#?&//=]*)(?<![\\.,;:!?])", "g");
|
|
22958
22958
|
return t.replace(r, (n) => `<a href="${n}" style="color: inherit" target="_blank">${n}</a>`);
|
|
22959
22959
|
}
|
|
22960
22960
|
var Mw = Object.defineProperty, Pw = Object.getOwnPropertyDescriptor, yt = (t, r, e, n) => {
|
|
@@ -23079,7 +23079,7 @@ let Mt = class extends ge {
|
|
|
23079
23079
|
qn(this, ci, t);
|
|
23080
23080
|
}
|
|
23081
23081
|
getVersion() {
|
|
23082
|
-
return "LR Chatbot - 0.27.
|
|
23082
|
+
return "LR Chatbot - 0.27.2";
|
|
23083
23083
|
}
|
|
23084
23084
|
async connectedCallback() {
|
|
23085
23085
|
super.connectedCallback(), this._conversationHistoryTask.run();
|