lr-chatbot 0.32.31 → 0.32.33
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/index.js +73 -36
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -20868,12 +20868,13 @@ class Y3 {
|
|
|
20868
20868
|
return;
|
|
20869
20869
|
}
|
|
20870
20870
|
const i = this.getFallbackTranslationsMaps();
|
|
20871
|
-
if (i[e]) {
|
|
20872
|
-
|
|
20873
|
-
|
|
20874
|
-
|
|
20871
|
+
if (i[r] && e in i[r]) {
|
|
20872
|
+
const s = await i[r][e]();
|
|
20873
|
+
let o = A2(
|
|
20874
|
+
s,
|
|
20875
|
+
n.map((l) => Od(l))
|
|
20875
20876
|
);
|
|
20876
|
-
return
|
|
20877
|
+
return o = lo(o), o;
|
|
20877
20878
|
} else
|
|
20878
20879
|
throw new Error(`Translations fallbacks for ${e} not found.`);
|
|
20879
20880
|
}
|
|
@@ -22163,47 +22164,83 @@ class Ew extends Y3 {
|
|
|
22163
22164
|
}
|
|
22164
22165
|
getFallbackTranslationsMaps() {
|
|
22165
22166
|
return {
|
|
22166
|
-
|
|
22167
|
-
|
|
22168
|
-
|
|
22169
|
-
|
|
22170
|
-
|
|
22171
|
-
|
|
22172
|
-
|
|
22173
|
-
throw Error("Not available yet");
|
|
22167
|
+
be: {
|
|
22168
|
+
"fr-BE": async () => {
|
|
22169
|
+
throw Error("Not available yet");
|
|
22170
|
+
},
|
|
22171
|
+
"nl-BE": async () => {
|
|
22172
|
+
throw Error("Not available yet");
|
|
22173
|
+
}
|
|
22174
22174
|
},
|
|
22175
|
-
|
|
22176
|
-
|
|
22175
|
+
ch: {
|
|
22176
|
+
"de-CH": async () => {
|
|
22177
|
+
throw Error("Not available yet");
|
|
22178
|
+
},
|
|
22179
|
+
"en-CH": async () => {
|
|
22180
|
+
throw Error("Not available yet");
|
|
22181
|
+
},
|
|
22182
|
+
"it-CH": async () => {
|
|
22183
|
+
throw Error("Not available yet");
|
|
22184
|
+
},
|
|
22185
|
+
"fr-CH": async () => {
|
|
22186
|
+
throw Error("Not available yet");
|
|
22187
|
+
}
|
|
22177
22188
|
},
|
|
22178
|
-
|
|
22179
|
-
|
|
22189
|
+
com: {
|
|
22190
|
+
"de-DE": async () => {
|
|
22191
|
+
throw Error("Not available yet");
|
|
22192
|
+
},
|
|
22193
|
+
"en-GB": async () => {
|
|
22194
|
+
throw Error("Not available yet");
|
|
22195
|
+
},
|
|
22196
|
+
"fr-FR": async () => {
|
|
22197
|
+
throw Error("Not available yet");
|
|
22198
|
+
}
|
|
22180
22199
|
},
|
|
22181
|
-
|
|
22182
|
-
|
|
22200
|
+
de: {
|
|
22201
|
+
"de-DE": async () => {
|
|
22202
|
+
throw Error("Not available yet");
|
|
22203
|
+
}
|
|
22183
22204
|
},
|
|
22184
|
-
|
|
22185
|
-
|
|
22205
|
+
es: {
|
|
22206
|
+
"es-ES": async () => {
|
|
22207
|
+
throw Error("Not available yet");
|
|
22208
|
+
}
|
|
22186
22209
|
},
|
|
22187
|
-
|
|
22188
|
-
|
|
22210
|
+
fr: {
|
|
22211
|
+
"fr-FR": async () => ({
|
|
22212
|
+
chatbot: (await import("./chatbot-Dkk-AjQu.js")).default
|
|
22213
|
+
})
|
|
22189
22214
|
},
|
|
22190
|
-
|
|
22191
|
-
|
|
22215
|
+
it: {
|
|
22216
|
+
"it-IT": async () => {
|
|
22217
|
+
throw Error("Not available yet");
|
|
22218
|
+
}
|
|
22192
22219
|
},
|
|
22193
|
-
|
|
22194
|
-
|
|
22220
|
+
lu: {
|
|
22221
|
+
"fr-BE": async () => {
|
|
22222
|
+
throw Error("Not available yet");
|
|
22223
|
+
}
|
|
22195
22224
|
},
|
|
22196
|
-
|
|
22197
|
-
|
|
22225
|
+
nl: {
|
|
22226
|
+
"nl-NL": async () => {
|
|
22227
|
+
throw Error("Not available yet");
|
|
22228
|
+
}
|
|
22198
22229
|
},
|
|
22199
|
-
|
|
22200
|
-
|
|
22230
|
+
pt: {
|
|
22231
|
+
"pt-PT": async () => {
|
|
22232
|
+
throw Error("Not available yet");
|
|
22233
|
+
}
|
|
22201
22234
|
},
|
|
22202
|
-
|
|
22203
|
-
|
|
22235
|
+
ru: {
|
|
22236
|
+
"ru-RU": async () => {
|
|
22237
|
+
throw Error("Not available yet");
|
|
22238
|
+
}
|
|
22204
22239
|
},
|
|
22205
|
-
|
|
22206
|
-
|
|
22240
|
+
uk: {
|
|
22241
|
+
"en-GB": async () => {
|
|
22242
|
+
throw Error("Not available yet");
|
|
22243
|
+
}
|
|
22207
22244
|
}
|
|
22208
22245
|
};
|
|
22209
22246
|
}
|
|
@@ -23280,7 +23317,7 @@ let Lt = class extends ge {
|
|
|
23280
23317
|
Gn(this, di, t);
|
|
23281
23318
|
}
|
|
23282
23319
|
getVersion() {
|
|
23283
|
-
return "LR Chatbot - v0.32.
|
|
23320
|
+
return "LR Chatbot - v0.32.33";
|
|
23284
23321
|
}
|
|
23285
23322
|
async connectedCallback() {
|
|
23286
23323
|
super.connectedCallback(), this._conversationHistoryTask.run();
|