@8wave/ai-elements 0.119.0-beta.12 → 0.119.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.
Files changed (29) hide show
  1. package/dist/_chunks/{PkToolShowContactForm-CQQ6p4bJ.js → PkToolShowContactForm--9XOVqNB.js} +4 -4
  2. package/dist/_chunks/PkToolShowContactForm--9XOVqNB.js.map +1 -0
  3. package/dist/ai-elements.es.js +33 -28
  4. package/dist/ai-elements.es.js.map +1 -1
  5. package/dist-vue/PkChatbot.js +1 -1
  6. package/dist-vue/PkChatbotMessages.js +1 -1
  7. package/dist-vue/PkChatbotViewChat.js +1 -1
  8. package/dist-vue/_chunks/{PkChatbot-CcNC2r_E.js → PkChatbot-UzdAjTRl.js} +2 -2
  9. package/dist-vue/_chunks/PkChatbot-UzdAjTRl.js.map +1 -0
  10. package/dist-vue/_chunks/PkChatbotInput-BfZqRpQ2.js.map +1 -1
  11. package/dist-vue/_chunks/{PkChatbotMessages-B6qYZsMZ.js → PkChatbotMessages-D9uf0NMI.js} +3 -3
  12. package/dist-vue/_chunks/{PkChatbotMessages-B6qYZsMZ.js.map → PkChatbotMessages-D9uf0NMI.js.map} +1 -1
  13. package/dist-vue/_chunks/{PkChatbotViewChat--Q90F_Kg.js → PkChatbotViewChat-B_7IdZIz.js} +3 -3
  14. package/dist-vue/_chunks/{PkChatbotViewChat--Q90F_Kg.js.map → PkChatbotViewChat-B_7IdZIz.js.map} +1 -1
  15. package/dist-vue/_chunks/{PkToolShowContactForm-BjNpnv6y.js → PkToolShowContactForm-Y0lrHXhr.js} +4 -4
  16. package/dist-vue/_chunks/PkToolShowContactForm-Y0lrHXhr.js.map +1 -0
  17. package/dist-vue/_chunks/{PkToolShowDiagram-CqkabP0e.js → PkToolShowDiagram-BJ_ryTsD.js} +2 -2
  18. package/dist-vue/_chunks/{PkToolShowDiagram-CqkabP0e.js.map → PkToolShowDiagram-BJ_ryTsD.js.map} +1 -1
  19. package/dist-vue/composables.js +4 -0
  20. package/dist-vue/composables.js.map +1 -1
  21. package/dist-vue/index.js +2635 -2637
  22. package/dist-vue/index.js.map +1 -1
  23. package/dist-vue/locales.js +32 -8
  24. package/dist-vue/packages/components/src/chat/PkAgentSettingsPanel.d.ts +2 -2
  25. package/dist-vue/style.css +1 -1
  26. package/package.json +1 -1
  27. package/dist/_chunks/PkToolShowContactForm-CQQ6p4bJ.js.map +0 -1
  28. package/dist-vue/_chunks/PkChatbot-CcNC2r_E.js.map +0 -1
  29. package/dist-vue/_chunks/PkToolShowContactForm-BjNpnv6y.js.map +0 -1
@@ -1,4 +1,4 @@
1
- import { t as e } from "./PkChatbotMessages-B6qYZsMZ.js";
1
+ import { t as e } from "./PkChatbotMessages-D9uf0NMI.js";
2
2
  import { a as t, n, t as r } from "./useChatbotStore-rtl-oKqU.js";
3
3
  import { t as i } from "./src-DCfvejyT.js";
4
4
  import { t as a } from "./useLocalizedString-PfaKjIQY.js";
@@ -458,7 +458,7 @@ var Oe = { class: "pk-chatbot-view-chat__input-stage" }, ke = {
458
458
  },
459
459
  emits: ["show-info", "revise"],
460
460
  setup(i, { emit: l }) {
461
- let m = C(() => import("./PkToolShowForm-CZFWZub7.js").then((e) => e.n)), ee = C(() => import("./PkToolShowContactForm-BjNpnv6y.js").then((e) => e.n)), w = C(() => import("./PkToolShowSuggestedReply-DjutyiEi.js").then((e) => e.n)), ne = C(() => import("./PkToolShowSources-CSN7S0zo.js").then((e) => e.n)), re = C(() => import("./PkToolRequestGeolocation-BE22qwxB.js")), ie = C(() => import("./PkToolRequestOAuthConnection-GfSalEJG.js")), ae = C(() => import("./PkToolShowLocation-Dyz6h_0n.js").then((e) => e.n)), oe = C(() => import("./PkToolShowDiagram-CqkabP0e.js")), se = C(() => import("./PkToolEditSpreadsheet-HAskd6d3.js")), A = i, pe = l, P = n(A.agentId), { agentInterface: F, agentFileUpload: I, agentVoice: me, actions: L, revisedAnswers: ge, messages: R, chat: z, messageFeedbacks: _e, feedbackDialogMessage: ve, isFeedbackSubmitting: ye, isFeedbackSubmitted: be, feedbackSubmitError: xe, isLeadSubmitted: we, isLoadingSubmitLead: Te, submitLeadError: Ee, input: B, inputMessagePlaceholder: Le, isConversationBlocked: Re, baseUrl: ze, pendingAttachments: Be, isAttachmentLimitReached: Ve, fileLimitError: He, apiClient: V, isDark: Ue } = de(P), We = (e) => V.value.getMediaDownloadUrl(A.agentId, P.localChatId, e), { handleSubmit: Ge, stopGeneration: Ke, regenerate: qe, onUpvote: Je, onDownvote: Ye, onFeedback: Xe, onFeedbackSubmit: Ze, onLeadSubmit: Qe, startNewChat: $e, addToolOutput: H, addToolApprovalResponse: et, handleFileSelect: tt, clearFileLimitError: nt, refreshMessages: rt, appendMessage: it } = P, { t: U } = le({ useScope: "global" }), at = g(() => {
461
+ let m = C(() => import("./PkToolShowForm-CZFWZub7.js").then((e) => e.n)), ee = C(() => import("./PkToolShowContactForm-Y0lrHXhr.js").then((e) => e.n)), w = C(() => import("./PkToolShowSuggestedReply-DjutyiEi.js").then((e) => e.n)), ne = C(() => import("./PkToolShowSources-CSN7S0zo.js").then((e) => e.n)), re = C(() => import("./PkToolRequestGeolocation-BE22qwxB.js")), ie = C(() => import("./PkToolRequestOAuthConnection-GfSalEJG.js")), ae = C(() => import("./PkToolShowLocation-Dyz6h_0n.js").then((e) => e.n)), oe = C(() => import("./PkToolShowDiagram-BJ_ryTsD.js")), se = C(() => import("./PkToolEditSpreadsheet-HAskd6d3.js")), A = i, pe = l, P = n(A.agentId), { agentInterface: F, agentFileUpload: I, agentVoice: me, actions: L, revisedAnswers: ge, messages: R, chat: z, messageFeedbacks: _e, feedbackDialogMessage: ve, isFeedbackSubmitting: ye, isFeedbackSubmitted: be, feedbackSubmitError: xe, isLeadSubmitted: we, isLoadingSubmitLead: Te, submitLeadError: Ee, input: B, inputMessagePlaceholder: Le, isConversationBlocked: Re, baseUrl: ze, pendingAttachments: Be, isAttachmentLimitReached: Ve, fileLimitError: He, apiClient: V, isDark: Ue } = de(P), We = (e) => V.value.getMediaDownloadUrl(A.agentId, P.localChatId, e), { handleSubmit: Ge, stopGeneration: Ke, regenerate: qe, onUpvote: Je, onDownvote: Ye, onFeedback: Xe, onFeedbackSubmit: Ze, onLeadSubmit: Qe, startNewChat: $e, addToolOutput: H, addToolApprovalResponse: et, handleFileSelect: tt, clearFileLimitError: nt, refreshMessages: rt, appendMessage: it } = P, { t: U } = le({ useScope: "global" }), at = g(() => {
462
462
  let e = He.value;
463
463
  if (e) return e.reason === "per-chat" ? U("message.fileLimitPerChat", { max: e.max }) : U("message.fileLimitPerMessage", { max: e.max });
464
464
  }), ot = a(() => F.value?.dismissableNotice), st = g(() => R.value.some((e) => e.role === "user")), ct = g(() => A.modifier === "fullscreen" && !st.value), lt = fe(F, () => A.userName), ut = ce("chatViewEl"), dt = async (e) => (await V.value.expandSourceContext(A.agentId, e.documentId, e.chunkIndex)).content, ft = async (e) => {
@@ -873,4 +873,4 @@ var Oe = { class: "pk-chatbot-view-chat__input-stage" }, ke = {
873
873
  //#endregion
874
874
  export { he as i, Se as n, R as r, Le as t };
875
875
 
876
- //# sourceMappingURL=PkChatbotViewChat--Q90F_Kg.js.map
876
+ //# sourceMappingURL=PkChatbotViewChat-B_7IdZIz.js.map