@8wave/ai-elements 0.111.0 → 0.112.0-beta.3

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 (40) hide show
  1. package/dist/_chunks/{PkToolRequestGeolocation-BP5yJQIW.js → PkToolRequestGeolocation-65jeiJs8.js} +5 -5
  2. package/dist/_chunks/{PkToolRequestGeolocation-BP5yJQIW.js.map → PkToolRequestGeolocation-65jeiJs8.js.map} +1 -1
  3. package/dist/_chunks/{PkToolRequestOAuthConnection-4SqtPTCS.js → PkToolRequestOAuthConnection-bHpDAtzu.js} +5 -5
  4. package/dist/_chunks/{PkToolRequestOAuthConnection-4SqtPTCS.js.map → PkToolRequestOAuthConnection-bHpDAtzu.js.map} +1 -1
  5. package/dist/_chunks/{PkToolShowForm-C45JD6jS.js → PkToolShowForm-KuTsIy5P.js} +21 -21
  6. package/dist/_chunks/{PkToolShowForm-C45JD6jS.js.map → PkToolShowForm-KuTsIy5P.js.map} +1 -1
  7. package/dist/_chunks/{PkToolShowSources-DlBfHwkg.js → PkToolShowSources-CY_q7ANb.js} +4 -4
  8. package/dist/_chunks/{PkToolShowSources-DlBfHwkg.js.map → PkToolShowSources-CY_q7ANb.js.map} +1 -1
  9. package/dist/_chunks/{PkToolShowSuggestedReply-DzoRQESi.js → PkToolShowSuggestedReply-D98Atidw.js} +5 -5
  10. package/dist/_chunks/{PkToolShowSuggestedReply-DzoRQESi.js.map → PkToolShowSuggestedReply-D98Atidw.js.map} +1 -1
  11. package/dist/_chunks/{Document-Bmx6774B.js → markdown-BRD-hDrH.js} +70 -72
  12. package/dist/_chunks/markdown-BRD-hDrH.js.map +1 -0
  13. package/dist/ai-elements.es.js +602 -590
  14. package/dist/ai-elements.es.js.map +1 -1
  15. package/dist-vue/PkChatbot.js +1 -1
  16. package/dist-vue/PkChatbotMessages.js +1 -1
  17. package/dist-vue/PkChatbotViewChat.js +1 -1
  18. package/dist-vue/PkChatbotViewFiles.js +1 -1
  19. package/dist-vue/_chunks/{Document-8umjeTVS.js → Document-9SUVPzht.js} +70 -72
  20. package/dist-vue/_chunks/Document-9SUVPzht.js.map +1 -0
  21. package/dist-vue/_chunks/{PkChatbot-CloRPTIX.js → PkChatbot-BBR2t9R9.js} +3 -3
  22. package/dist-vue/_chunks/{PkChatbot-CloRPTIX.js.map → PkChatbot-BBR2t9R9.js.map} +1 -1
  23. package/dist-vue/_chunks/{PkChatbotMessages-r9D-kFvX.js → PkChatbotMessages-9NluDSgJ.js} +3 -3
  24. package/dist-vue/_chunks/{PkChatbotMessages-r9D-kFvX.js.map → PkChatbotMessages-9NluDSgJ.js.map} +1 -1
  25. package/dist-vue/_chunks/{PkChatbotViewChat-DP0EUTDu.js → PkChatbotViewChat-C0fxsO-G.js} +3 -3
  26. package/dist-vue/_chunks/{PkChatbotViewChat-DP0EUTDu.js.map → PkChatbotViewChat-C0fxsO-G.js.map} +1 -1
  27. package/dist-vue/_chunks/{PkChatbotViewFiles-hzlJUf0f.js → PkChatbotViewFiles-DPpZHHvK.js} +2 -2
  28. package/dist-vue/_chunks/{PkChatbotViewFiles-hzlJUf0f.js.map → PkChatbotViewFiles-DPpZHHvK.js.map} +1 -1
  29. package/dist-vue/_chunks/{PkToolShowDiagram-BAdJMmt7.js → PkToolShowDiagram-CVHYhfwH.js} +2 -2
  30. package/dist-vue/_chunks/{PkToolShowDiagram-BAdJMmt7.js.map → PkToolShowDiagram-CVHYhfwH.js.map} +1 -1
  31. package/dist-vue/_chunks/{PkToolShowSources-Dlaz2Y77.js → PkToolShowSources-Qq3c8_ZQ.js} +2 -2
  32. package/dist-vue/_chunks/{PkToolShowSources-Dlaz2Y77.js.map → PkToolShowSources-Qq3c8_ZQ.js.map} +1 -1
  33. package/dist-vue/index.js +3136 -3116
  34. package/dist-vue/index.js.map +1 -1
  35. package/dist-vue/packages/components/src/chat/PkLanguageModelCombobox.d.ts +7 -0
  36. package/dist-vue/packages/models/src/schema/ModelProvider.d.ts +121 -8
  37. package/dist-vue/packages/models/src/schema/constants.d.ts +2 -1
  38. package/package.json +1 -1
  39. package/dist/_chunks/Document-Bmx6774B.js.map +0 -1
  40. package/dist-vue/_chunks/Document-8umjeTVS.js.map +0 -1
@@ -1,6 +1,6 @@
1
1
  import { a as e, n as t, t as n } from "./useChatbotStore-BowmAdfD.js";
2
2
  import { t as r } from "./src-DT8FLE4_.js";
3
- import { t as i } from "./PkChatbotMessages-r9D-kFvX.js";
3
+ import { t as i } from "./PkChatbotMessages-9NluDSgJ.js";
4
4
  import { t as a } from "./useLocalizedString-PfaKjIQY.js";
5
5
  import { i as o } from "./utils-C1666_6C.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-Dx10jOXm.js").then((e) => e.n)), b = S(() => import("./PkToolShowContactForm-CotIwNhi.js").then((e) => e.n)), C = S(() => import("./PkToolShowSuggestedReply-DWLkUh2L.js").then((e) => e.n)), ee = S(() => import("./PkToolShowSources-Dlaz2Y77.js").then((e) => e.n)), ne = S(() => import("./PkToolRequestGeolocation-Q3N3jlO8.js")), re = S(() => import("./PkToolRequestOAuthConnection-lYoTJIF_.js")), ie = S(() => import("./PkToolShowLocation-Bv6sLN5P.js").then((e) => e.n)), ae = S(() => import("./PkToolShowDiagram-BAdJMmt7.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-Dx10jOXm.js").then((e) => e.n)), b = S(() => import("./PkToolShowContactForm-CotIwNhi.js").then((e) => e.n)), C = S(() => import("./PkToolShowSuggestedReply-DWLkUh2L.js").then((e) => e.n)), ee = S(() => import("./PkToolShowSources-Qq3c8_ZQ.js").then((e) => e.n)), ne = S(() => import("./PkToolRequestGeolocation-Q3N3jlO8.js")), re = S(() => import("./PkToolRequestOAuthConnection-lYoTJIF_.js")), ie = S(() => import("./PkToolShowLocation-Bv6sLN5P.js").then((e) => e.n)), ae = S(() => import("./PkToolShowDiagram-CVHYhfwH.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-DP0EUTDu.js.map
802
+ //# sourceMappingURL=PkChatbotViewChat-C0fxsO-G.js.map