@8wave/ai-elements 0.119.0-beta.20 → 0.119.0-beta.22

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 (28) hide show
  1. package/dist/_chunks/PkToolShowWeather-DfLsFayn.js +340 -0
  2. package/dist/_chunks/PkToolShowWeather-DfLsFayn.js.map +1 -0
  3. package/dist/ai-elements.es.js +5 -3
  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-CM9ST43I.js → PkChatbot-536vsOfp.js} +2 -2
  9. package/dist-vue/_chunks/{PkChatbot-CM9ST43I.js.map → PkChatbot-536vsOfp.js.map} +1 -1
  10. package/dist-vue/_chunks/{PkChatbotMessages-D9uf0NMI.js → PkChatbotMessages-CnI3e9wF.js} +3 -3
  11. package/dist-vue/_chunks/{PkChatbotMessages-D9uf0NMI.js.map → PkChatbotMessages-CnI3e9wF.js.map} +1 -1
  12. package/dist-vue/_chunks/{PkChatbotViewChat-B_7IdZIz.js → PkChatbotViewChat-CVT6OUIv.js} +3 -3
  13. package/dist-vue/_chunks/{PkChatbotViewChat-B_7IdZIz.js.map → PkChatbotViewChat-CVT6OUIv.js.map} +1 -1
  14. package/dist-vue/_chunks/{PkToolShowDiagram-BJ_ryTsD.js → PkToolShowDiagram-7WxDObZ6.js} +2 -2
  15. package/dist-vue/_chunks/{PkToolShowDiagram-BJ_ryTsD.js.map → PkToolShowDiagram-7WxDObZ6.js.map} +1 -1
  16. package/dist-vue/_chunks/PkToolShowWeather-BOuNrvY2.js +339 -0
  17. package/dist-vue/_chunks/PkToolShowWeather-BOuNrvY2.js.map +1 -0
  18. package/dist-vue/composables.js +4 -2
  19. package/dist-vue/composables.js.map +1 -1
  20. package/dist-vue/index.js +3 -3
  21. package/dist-vue/locales.js +2 -0
  22. package/dist-vue/packages/models/src/schema/AgentApiTool.d.ts +8 -0
  23. package/dist-vue/packages/models/src/schema/Weather.d.ts +7 -0
  24. package/package.json +1 -1
  25. package/dist/_chunks/PkToolShowWeather-BFOlS1AS.js +0 -280
  26. package/dist/_chunks/PkToolShowWeather-BFOlS1AS.js.map +0 -1
  27. package/dist-vue/_chunks/PkToolShowWeather-BH-FtLpk.js +0 -279
  28. package/dist-vue/_chunks/PkToolShowWeather-BH-FtLpk.js.map +0 -1
@@ -1,4 +1,4 @@
1
- import { t as e } from "./PkChatbotMessages-D9uf0NMI.js";
1
+ import { t as e } from "./PkChatbotMessages-CnI3e9wF.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-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(() => {
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-7WxDObZ6.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-B_7IdZIz.js.map
876
+ //# sourceMappingURL=PkChatbotViewChat-CVT6OUIv.js.map