@8wave/ai-elements 0.112.0-beta.13 → 0.112.0-beta.17
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/dist/_chunks/markdown-BRD-hDrH.js.map +1 -1
- package/dist/_chunks/{web-Dzr6HJ14.js → web-CEmtEYdH.js} +89 -65
- package/dist/_chunks/web-CEmtEYdH.js.map +1 -0
- package/dist/ai-elements.es.js +2807 -3033
- package/dist/ai-elements.es.js.map +1 -1
- package/dist-vue/PkChatbot.js +1 -1
- package/dist-vue/PkChatbotAuth.js +1 -1
- package/dist-vue/PkChatbotMessages.js +1 -1
- package/dist-vue/PkChatbotViewChat.js +1 -1
- package/dist-vue/PkChatbotViewConversations.js +1 -1
- package/dist-vue/PkChatbotViewFiles.js +1 -1
- package/dist-vue/PkChatbotViewProfile.js +1 -1
- package/dist-vue/_chunks/{Document-B6RpxFr9.js → Document-2X01-F4Z.js} +2 -2
- package/dist-vue/_chunks/Document-2X01-F4Z.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbot-C0pf6xeZ.js → PkChatbot-C11EVHnI.js} +6 -6
- package/dist-vue/_chunks/{PkChatbot-C0pf6xeZ.js.map → PkChatbot-C11EVHnI.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotAuth-AxAOI9t2.js → PkChatbotAuth-Bi508F1u.js} +57 -57
- package/dist-vue/_chunks/PkChatbotAuth-Bi508F1u.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotMessages-HbKhrhbg.js → PkChatbotMessages-BD-vUak6.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotMessages-HbKhrhbg.js.map → PkChatbotMessages-BD-vUak6.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewChat-DdxvITNb.js → PkChatbotViewChat-DJnjuhjt.js} +5 -5
- package/dist-vue/_chunks/{PkChatbotViewChat-DdxvITNb.js.map → PkChatbotViewChat-DJnjuhjt.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewConversations-CWSrP36z.js → PkChatbotViewConversations-BCdolW0R.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotViewConversations-CWSrP36z.js.map → PkChatbotViewConversations-BCdolW0R.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewFiles-DzLp1WfU.js → PkChatbotViewFiles-Cudao8ew.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotViewFiles-DzLp1WfU.js.map → PkChatbotViewFiles-Cudao8ew.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewProfile-CHbn3W6F.js → PkChatbotViewProfile-DDsKOkcC.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotViewProfile-CHbn3W6F.js.map → PkChatbotViewProfile-DDsKOkcC.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowDiagram-BWCBuXH8.js → PkToolShowDiagram-RtkI_sKL.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowDiagram-BWCBuXH8.js.map → PkToolShowDiagram-RtkI_sKL.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowSources-Cc26LzRd.js → PkToolShowSources-gI947JOm.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowSources-Cc26LzRd.js.map → PkToolShowSources-gI947JOm.js.map} +1 -1
- package/dist-vue/_chunks/{useChatbotStore-CMS2zFht.js → useChatbotStore-BwrBZJCq.js} +944 -1259
- package/dist-vue/_chunks/useChatbotStore-BwrBZJCq.js.map +1 -0
- package/dist-vue/_chunks/{web-Dzr6HJ14.js → web-CEmtEYdH.js} +89 -65
- package/dist-vue/_chunks/web-CEmtEYdH.js.map +1 -0
- package/dist-vue/apps/web-component/src/composables/useChatbotAuthForm.d.ts +0 -1
- package/dist-vue/composables.js +2807 -80
- package/dist-vue/composables.js.map +1 -1
- package/dist-vue/index.js +12 -12
- package/dist-vue/packages/models/src/schema/User.d.ts +10 -0
- package/dist-vue/packages/models/src/schema/constants.d.ts +1 -1
- package/package.json +3 -3
- package/dist/_chunks/web-Dzr6HJ14.js.map +0 -1
- package/dist-vue/_chunks/Document-B6RpxFr9.js.map +0 -1
- package/dist-vue/_chunks/PkChatbotAuth-AxAOI9t2.js.map +0 -1
- package/dist-vue/_chunks/useChatbotStore-CMS2zFht.js.map +0 -1
- package/dist-vue/_chunks/web-Dzr6HJ14.js.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as e, n as t, t as n } from "./useChatbotStore-
|
|
1
|
+
import { a as e, n as t, t as n } from "./useChatbotStore-BwrBZJCq.js";
|
|
2
2
|
import { t as r } from "./src-DT8FLE4_.js";
|
|
3
|
-
import { t as i } from "./PkChatbotMessages-
|
|
3
|
+
import { t as i } from "./PkChatbotMessages-BD-vUak6.js";
|
|
4
4
|
import { t as a } from "./useLocalizedString-PfaKjIQY.js";
|
|
5
5
|
import { i as o } from "./utils-h4C7rRcu.js";
|
|
6
6
|
import { t as s } from "./PkAvatar-paEJByEA.js";
|
|
@@ -288,7 +288,7 @@ var P = {
|
|
|
288
288
|
a.value = void 0, o.value = [], i.value = "listening", c.value = void 0, n.value = "connecting", d += 1;
|
|
289
289
|
let r = d, s = () => r === d && !f, u;
|
|
290
290
|
try {
|
|
291
|
-
let r = import("./web-
|
|
291
|
+
let r = import("./web-CEmtEYdH.js");
|
|
292
292
|
r.catch(() => void 0);
|
|
293
293
|
let d = await e.fetchGrant();
|
|
294
294
|
if (!s()) {
|
|
@@ -408,7 +408,7 @@ var P = {
|
|
|
408
408
|
},
|
|
409
409
|
emits: ["show-info", "revise"],
|
|
410
410
|
setup(r, { emit: c }) {
|
|
411
|
-
let f = S(() => import("./PkToolShowForm-IPAkJIXh.js").then((e) => e.n)), b = S(() => import("./PkToolShowContactForm-_x_dbiHn.js").then((e) => e.n)), C = S(() => import("./PkToolShowSuggestedReply-DA4NEjHB.js").then((e) => e.n)), ee = S(() => import("./PkToolShowSources-
|
|
411
|
+
let f = S(() => import("./PkToolShowForm-IPAkJIXh.js").then((e) => e.n)), b = S(() => import("./PkToolShowContactForm-_x_dbiHn.js").then((e) => e.n)), C = S(() => import("./PkToolShowSuggestedReply-DA4NEjHB.js").then((e) => e.n)), ee = S(() => import("./PkToolShowSources-gI947JOm.js").then((e) => e.n)), ne = S(() => import("./PkToolRequestGeolocation-9vfYNaQo.js")), re = S(() => import("./PkToolRequestOAuthConnection-BorR5NmZ.js")), ie = S(() => import("./PkToolShowLocation-Bv6sLN5P.js").then((e) => e.n)), ae = S(() => import("./PkToolShowDiagram-RtkI_sKL.js")), O = r, A = c, N = t(O.agentId), { agentInterface: P, agentFileUpload: F, agentVoice: fe, actions: pe, revisedAnswers: I, messages: he, chat: L, messageFeedbacks: ge, feedbackDialogMessage: _e, isFeedbackSubmitting: ve, isFeedbackSubmitted: ye, feedbackSubmitError: be, isLeadSubmitted: xe, isLoadingSubmitLead: Ne, submitLeadError: Pe, input: R, inputMessagePlaceholder: Fe, isConversationBlocked: Ie, baseUrl: Le, pendingAttachments: Re, isAttachmentLimitReached: ze, fileLimitError: Be, apiClient: z, isDark: Ve } = ue(N), { handleSubmit: He, stopGeneration: Ue, regenerate: We, onUpvote: Ge, onDownvote: Ke, onFeedback: qe, onFeedbackSubmit: Je, onLeadSubmit: Ye, startNewChat: Xe, addToolOutput: B, addToolApprovalResponse: Ze, handleFileSelect: Qe, clearFileLimitError: $e, refreshMessages: et, appendMessage: tt } = N, { t: V } = ce({ useScope: "global" }), nt = m(() => {
|
|
412
412
|
let e = Be.value;
|
|
413
413
|
if (e) return e.reason === "per-chat" ? V("message.fileLimitPerChat", { max: e.max }) : V("message.fileLimitPerMessage", { max: e.max });
|
|
414
414
|
}), rt = a(() => P.value?.dismissableNotice), it = m(() => he.value.some((e) => e.role === "user")), at = m(() => O.modifier === "fullscreen" && !it.value), ot = de(P, () => O.userName), st = oe("chatViewEl"), ct = async (e) => (await z.value.expandSourceContext(O.agentId, e.documentId, e.chunkIndex)).content, lt = async (e) => {
|
|
@@ -799,4 +799,4 @@ var P = {
|
|
|
799
799
|
//#endregion
|
|
800
800
|
export { me as i, Se as n, L as r, Ne as t };
|
|
801
801
|
|
|
802
|
-
//# sourceMappingURL=PkChatbotViewChat-
|
|
802
|
+
//# sourceMappingURL=PkChatbotViewChat-DJnjuhjt.js.map
|