@8wave/ai-elements 0.112.0-beta.8 → 0.112.0-beta.9

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.
Files changed (36) hide show
  1. package/dist/_chunks/markdown-BRD-hDrH.js.map +1 -1
  2. package/dist/ai-elements.es.js +863 -891
  3. package/dist/ai-elements.es.js.map +1 -1
  4. package/dist-vue/PkChatbot.js +1 -1
  5. package/dist-vue/PkChatbotMessages.js +1 -1
  6. package/dist-vue/PkChatbotViewChat.js +1 -1
  7. package/dist-vue/PkChatbotViewConversations.js +1 -1
  8. package/dist-vue/PkChatbotViewFiles.js +1 -1
  9. package/dist-vue/PkChatbotViewProfile.js +1 -1
  10. package/dist-vue/_chunks/{Document-Bjz-CSLq.js → Document-B6RpxFr9.js} +2 -2
  11. package/dist-vue/_chunks/Document-B6RpxFr9.js.map +1 -0
  12. package/dist-vue/_chunks/{PkChatbot-BGSXeh04.js → PkChatbot-CI9ucJ2M.js} +6 -6
  13. package/dist-vue/_chunks/{PkChatbot-BGSXeh04.js.map → PkChatbot-CI9ucJ2M.js.map} +1 -1
  14. package/dist-vue/_chunks/{PkChatbotMessages-BNjbDHgy.js → PkChatbotMessages-BsT48S-h.js} +3 -3
  15. package/dist-vue/_chunks/{PkChatbotMessages-BNjbDHgy.js.map → PkChatbotMessages-BsT48S-h.js.map} +1 -1
  16. package/dist-vue/_chunks/{PkChatbotViewChat-ZWFtuc-N.js → PkChatbotViewChat-jEBBPmSo.js} +4 -4
  17. package/dist-vue/_chunks/{PkChatbotViewChat-ZWFtuc-N.js.map → PkChatbotViewChat-jEBBPmSo.js.map} +1 -1
  18. package/dist-vue/_chunks/{PkChatbotViewConversations-BLMzqmXi.js → PkChatbotViewConversations-CWSrP36z.js} +2 -2
  19. package/dist-vue/_chunks/{PkChatbotViewConversations-BLMzqmXi.js.map → PkChatbotViewConversations-CWSrP36z.js.map} +1 -1
  20. package/dist-vue/_chunks/{PkChatbotViewFiles-DLkQ7ClA.js → PkChatbotViewFiles-DzLp1WfU.js} +3 -3
  21. package/dist-vue/_chunks/{PkChatbotViewFiles-DLkQ7ClA.js.map → PkChatbotViewFiles-DzLp1WfU.js.map} +1 -1
  22. package/dist-vue/_chunks/{PkChatbotViewProfile-DZ-Jim4x.js → PkChatbotViewProfile-CHbn3W6F.js} +2 -2
  23. package/dist-vue/_chunks/{PkChatbotViewProfile-DZ-Jim4x.js.map → PkChatbotViewProfile-CHbn3W6F.js.map} +1 -1
  24. package/dist-vue/_chunks/{PkToolShowDiagram-BXdA_2Na.js → PkToolShowDiagram-CjJcLvWs.js} +2 -2
  25. package/dist-vue/_chunks/{PkToolShowDiagram-BXdA_2Na.js.map → PkToolShowDiagram-CjJcLvWs.js.map} +1 -1
  26. package/dist-vue/_chunks/{PkToolShowSources-B3tBNres.js → PkToolShowSources-Cc26LzRd.js} +2 -2
  27. package/dist-vue/_chunks/{PkToolShowSources-B3tBNres.js.map → PkToolShowSources-Cc26LzRd.js.map} +1 -1
  28. package/dist-vue/_chunks/{useChatbotStore-Bc6V5Rv0.js → useChatbotStore-CMS2zFht.js} +861 -889
  29. package/dist-vue/_chunks/useChatbotStore-CMS2zFht.js.map +1 -0
  30. package/dist-vue/composables.js +1 -1
  31. package/dist-vue/index.js +8 -8
  32. package/dist-vue/packages/composable/src/chatbot/useChatbotStore.d.ts +12 -0
  33. package/dist-vue/packages/models/src/schema/constants.d.ts +1 -1
  34. package/package.json +2 -2
  35. package/dist-vue/_chunks/Document-Bjz-CSLq.js.map +0 -1
  36. package/dist-vue/_chunks/useChatbotStore-Bc6V5Rv0.js.map +0 -1
@@ -1,6 +1,6 @@
1
- import { a as e, n as t, t as n } from "./useChatbotStore-Bc6V5Rv0.js";
1
+ import { a as e, n as t, t as n } from "./useChatbotStore-CMS2zFht.js";
2
2
  import { t as r } from "./src-DT8FLE4_.js";
3
- import { t as i } from "./PkChatbotMessages-BNjbDHgy.js";
3
+ import { t as i } from "./PkChatbotMessages-BsT48S-h.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";
@@ -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-B3tBNres.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-BXdA_2Na.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(() => {
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-Cc26LzRd.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-CjJcLvWs.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-ZWFtuc-N.js.map
802
+ //# sourceMappingURL=PkChatbotViewChat-jEBBPmSo.js.map