@8wave/ai-elements 0.116.0-beta.3 → 0.117.0-beta.12

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 (41) hide show
  1. package/dist/_chunks/Agent-BxyaZeuL.js.map +1 -1
  2. package/dist/_chunks/{PkToolShowSources-BnpzLyxs.js → PkToolShowSources-BgnumOzQ.js} +2 -2
  3. package/dist/_chunks/{PkToolShowSources-BnpzLyxs.js.map → PkToolShowSources-BgnumOzQ.js.map} +1 -1
  4. package/dist/_chunks/{browser-CUX1HiwU.js → browser-BJcsjj9S.js} +7 -3
  5. package/dist/_chunks/{browser-CUX1HiwU.js.map → browser-BJcsjj9S.js.map} +1 -1
  6. package/dist/_chunks/{markdown-CqYYB88s.js → markdown-DCYDJNwF.js} +6 -3
  7. package/dist/_chunks/markdown-DCYDJNwF.js.map +1 -0
  8. package/dist/ai-elements.es.js +40 -16
  9. package/dist/ai-elements.es.js.map +1 -1
  10. package/dist-vue/PkChatbot.js +1 -1
  11. package/dist-vue/PkChatbotMessages.js +1 -1
  12. package/dist-vue/PkChatbotViewChat.js +1 -1
  13. package/dist-vue/PkChatbotViewFiles.js +1 -1
  14. package/dist-vue/_chunks/{Document-DoWHaIlA.js → Document-Ol8nGgij.js} +6 -3
  15. package/dist-vue/_chunks/Document-Ol8nGgij.js.map +1 -0
  16. package/dist-vue/_chunks/Media-Cv7ou2tP.js.map +1 -1
  17. package/dist-vue/_chunks/{PkChatbot-VqMDgwEm.js → PkChatbot-BmpFnkde.js} +3 -3
  18. package/dist-vue/_chunks/{PkChatbot-VqMDgwEm.js.map → PkChatbot-BmpFnkde.js.map} +1 -1
  19. package/dist-vue/_chunks/{PkChatbotMessages-DrlWn01K.js → PkChatbotMessages-CztL_AMB.js} +3 -3
  20. package/dist-vue/_chunks/{PkChatbotMessages-DrlWn01K.js.map → PkChatbotMessages-CztL_AMB.js.map} +1 -1
  21. package/dist-vue/_chunks/{PkChatbotViewChat-DP9PaWaa.js → PkChatbotViewChat-DZbQQNQn.js} +3 -3
  22. package/dist-vue/_chunks/{PkChatbotViewChat-DP9PaWaa.js.map → PkChatbotViewChat-DZbQQNQn.js.map} +1 -1
  23. package/dist-vue/_chunks/{PkChatbotViewFiles-NRidzZgV.js → PkChatbotViewFiles--wM5SVAl.js} +2 -2
  24. package/dist-vue/_chunks/{PkChatbotViewFiles-NRidzZgV.js.map → PkChatbotViewFiles--wM5SVAl.js.map} +1 -1
  25. package/dist-vue/_chunks/{PkToolShowDiagram-KjhjQe3_.js → PkToolShowDiagram-9THUQfbg.js} +2 -2
  26. package/dist-vue/_chunks/{PkToolShowDiagram-KjhjQe3_.js.map → PkToolShowDiagram-9THUQfbg.js.map} +1 -1
  27. package/dist-vue/_chunks/{PkToolShowSources-DsKrrIEK.js → PkToolShowSources-BfWNsyLw.js} +2 -2
  28. package/dist-vue/_chunks/{PkToolShowSources-DsKrrIEK.js.map → PkToolShowSources-BfWNsyLw.js.map} +1 -1
  29. package/dist-vue/composables.js +36 -12
  30. package/dist-vue/composables.js.map +1 -1
  31. package/dist-vue/index.js +2723 -2845
  32. package/dist-vue/index.js.map +1 -1
  33. package/dist-vue/packages/components/src/index.d.ts +1 -2
  34. package/dist-vue/packages/models/src/schema/Document.d.ts +2 -2
  35. package/dist-vue/packages/models/src/schema/Media.d.ts +28 -1
  36. package/dist-vue/packages/models/src/schema/Member.d.ts +19 -0
  37. package/dist-vue/style.css +1 -1
  38. package/package.json +1 -5
  39. package/dist/_chunks/markdown-CqYYB88s.js.map +0 -1
  40. package/dist-vue/_chunks/Document-DoWHaIlA.js.map +0 -1
  41. package/dist-vue/packages/components/src/PkEditorWyswyg.d.ts +0 -23
@@ -1,4 +1,4 @@
1
- import { t as e } from "./PkChatbotMessages-DrlWn01K.js";
1
+ import { t as e } from "./PkChatbotMessages-CztL_AMB.js";
2
2
  import { a as t, n, t as r } from "./useChatbotStore-A33jT5Cp.js";
3
3
  import { t as i } from "./src-DCfvejyT.js";
4
4
  import { t as a } from "./useLocalizedString-PfaKjIQY.js";
@@ -451,7 +451,7 @@ var ke = { class: "pk-chatbot-view-chat__input-stage" }, Ae = {
451
451
  },
452
452
  emits: ["show-info", "revise"],
453
453
  setup(i, { emit: l }) {
454
- let m = C(() => import("./PkToolShowForm-CjN-_-1j.js").then((e) => e.n)), ee = C(() => import("./PkToolShowContactForm-BK7B-Qzr.js").then((e) => e.n)), w = C(() => import("./PkToolShowSuggestedReply-_bH3Jikn.js").then((e) => e.n)), ne = C(() => import("./PkToolShowSources-DsKrrIEK.js").then((e) => e.n)), re = C(() => import("./PkToolRequestGeolocation-BWWUGKHJ.js")), ie = C(() => import("./PkToolRequestOAuthConnection-DvvLZ8yi.js")), ae = C(() => import("./PkToolShowLocation-Dyz6h_0n.js").then((e) => e.n)), oe = C(() => import("./PkToolShowDiagram-KjhjQe3_.js")), se = C(() => import("./PkToolEditSpreadsheet-BkjEQag2.js")), A = i, me = l, N = n(A.agentId), { agentInterface: P, agentFileUpload: F, agentVoice: he, actions: I, revisedAnswers: _e, messages: L, chat: R, messageFeedbacks: ve, feedbackDialogMessage: ye, isFeedbackSubmitting: be, isFeedbackSubmitted: xe, feedbackSubmitError: Se, isLeadSubmitted: Te, isLoadingSubmitLead: Ee, submitLeadError: De, input: z, inputMessagePlaceholder: Re, isConversationBlocked: ze, baseUrl: Be, pendingAttachments: Ve, isAttachmentLimitReached: He, fileLimitError: Ue, apiClient: B, isDark: We } = fe(N), Ge = (e) => B.value.getMediaDownloadUrl(A.agentId, N.localChatId, e), { handleSubmit: Ke, stopGeneration: qe, regenerate: Je, onUpvote: Ye, onDownvote: Xe, onFeedback: Ze, onFeedbackSubmit: Qe, onLeadSubmit: $e, startNewChat: et, addToolOutput: V, addToolApprovalResponse: tt, handleFileSelect: nt, clearFileLimitError: rt, refreshMessages: it, appendMessage: at } = N, { t: H } = ue({ useScope: "global" }), ot = g(() => {
454
+ let m = C(() => import("./PkToolShowForm-CjN-_-1j.js").then((e) => e.n)), ee = C(() => import("./PkToolShowContactForm-BK7B-Qzr.js").then((e) => e.n)), w = C(() => import("./PkToolShowSuggestedReply-_bH3Jikn.js").then((e) => e.n)), ne = C(() => import("./PkToolShowSources-BfWNsyLw.js").then((e) => e.n)), re = C(() => import("./PkToolRequestGeolocation-BWWUGKHJ.js")), ie = C(() => import("./PkToolRequestOAuthConnection-DvvLZ8yi.js")), ae = C(() => import("./PkToolShowLocation-Dyz6h_0n.js").then((e) => e.n)), oe = C(() => import("./PkToolShowDiagram-9THUQfbg.js")), se = C(() => import("./PkToolEditSpreadsheet-BkjEQag2.js")), A = i, me = l, N = n(A.agentId), { agentInterface: P, agentFileUpload: F, agentVoice: he, actions: I, revisedAnswers: _e, messages: L, chat: R, messageFeedbacks: ve, feedbackDialogMessage: ye, isFeedbackSubmitting: be, isFeedbackSubmitted: xe, feedbackSubmitError: Se, isLeadSubmitted: Te, isLoadingSubmitLead: Ee, submitLeadError: De, input: z, inputMessagePlaceholder: Re, isConversationBlocked: ze, baseUrl: Be, pendingAttachments: Ve, isAttachmentLimitReached: He, fileLimitError: Ue, apiClient: B, isDark: We } = fe(N), Ge = (e) => B.value.getMediaDownloadUrl(A.agentId, N.localChatId, e), { handleSubmit: Ke, stopGeneration: qe, regenerate: Je, onUpvote: Ye, onDownvote: Xe, onFeedback: Ze, onFeedbackSubmit: Qe, onLeadSubmit: $e, startNewChat: et, addToolOutput: V, addToolApprovalResponse: tt, handleFileSelect: nt, clearFileLimitError: rt, refreshMessages: it, appendMessage: at } = N, { t: H } = ue({ useScope: "global" }), ot = g(() => {
455
455
  let e = Ue.value;
456
456
  if (e) return e.reason === "per-chat" ? H("message.fileLimitPerChat", { max: e.max }) : H("message.fileLimitPerMessage", { max: e.max });
457
457
  }), st = a(() => P.value?.dismissableNotice), ct = g(() => L.value.some((e) => e.role === "user")), lt = g(() => A.modifier === "fullscreen" && !ct.value), ut = pe(P, () => A.userName), dt = ce("chatViewEl"), ft = async (e) => (await B.value.expandSourceContext(A.agentId, e.documentId, e.chunkIndex)).content, pt = async (e) => {
@@ -866,4 +866,4 @@ var ke = { class: "pk-chatbot-view-chat__input-stage" }, Ae = {
866
866
  //#endregion
867
867
  export { ge as i, Ce as n, L as r, z as t };
868
868
 
869
- //# sourceMappingURL=PkChatbotViewChat-DP9PaWaa.js.map
869
+ //# sourceMappingURL=PkChatbotViewChat-DZbQQNQn.js.map