@8wave/ai-elements 0.125.0-beta.42 → 0.125.0-beta.43
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.
- package/dist/_chunks/Chart-1vt0m6l_.js +87 -0
- package/dist/_chunks/Chart-1vt0m6l_.js.map +1 -0
- package/dist/_chunks/{PkChart-CbtMRGWc.js → PkChart-CYFx_UDq.js} +741 -623
- package/dist/_chunks/PkChart-CYFx_UDq.js.map +1 -0
- package/dist/_chunks/PkFilePreview-yjdtArag.js +1745 -0
- package/dist/_chunks/PkFilePreview-yjdtArag.js.map +1 -0
- package/dist/_chunks/{PkFilePreviewDialog-bcTkTcYk.js → PkFilePreviewDialog-Df0Lt40J.js} +2 -2
- package/dist/_chunks/{PkFilePreviewDialog-bcTkTcYk.js.map → PkFilePreviewDialog-Df0Lt40J.js.map} +1 -1
- package/dist/_chunks/{PkImageEditorDialog-FpbyhV3t.js → PkImageEditorDialog-PVf3IHGB.js} +2 -2
- package/dist/_chunks/{PkImageEditorDialog-FpbyhV3t.js.map → PkImageEditorDialog-PVf3IHGB.js.map} +1 -1
- package/dist/_chunks/{PkSelectionActions-BbfVZY0R.js → PkSelectionActions-CMyg_x8h.js} +2 -2
- package/dist/_chunks/{PkSelectionActions-BbfVZY0R.js.map → PkSelectionActions-CMyg_x8h.js.map} +1 -1
- package/dist/_chunks/{PkStreamingMarkdown-COSOOhCg.js → PkStreamingMarkdown-BDXbU2tz.js} +2 -2
- package/dist/_chunks/{PkStreamingMarkdown-COSOOhCg.js.map → PkStreamingMarkdown-BDXbU2tz.js.map} +1 -1
- package/dist/_chunks/{PkToolChatFile-C_gS0X1j.js → PkToolChatFile-CMQdMs-9.js} +3 -3
- package/dist/_chunks/{PkToolChatFile-C_gS0X1j.js.map → PkToolChatFile-CMQdMs-9.js.map} +1 -1
- package/dist/_chunks/{PkToolShowArtifact-fpFtKrZo.js → PkToolShowArtifact-YrC54qxc.js} +2 -2
- package/dist/_chunks/{PkToolShowArtifact-fpFtKrZo.js.map → PkToolShowArtifact-YrC54qxc.js.map} +1 -1
- package/dist/_chunks/PkToolShowChart-D3E_xBJv.js +138 -0
- package/dist/_chunks/PkToolShowChart-D3E_xBJv.js.map +1 -0
- package/dist/_chunks/{PkToolShowContactForm-BAM772bm.js → PkToolShowContactForm-Dio2FNkA.js} +2 -2
- package/dist/_chunks/{PkToolShowContactForm-BAM772bm.js.map → PkToolShowContactForm-Dio2FNkA.js.map} +1 -1
- package/dist/_chunks/{PkToolShowForm-DJcL0bgw.js → PkToolShowForm-w9HGhvCy.js} +3 -3
- package/dist/_chunks/{PkToolShowForm-DJcL0bgw.js.map → PkToolShowForm-w9HGhvCy.js.map} +1 -1
- package/dist/_chunks/{PkToolShowSources-GeWAMHYC.js → PkToolShowSources-DXFvFHOo.js} +2 -2
- package/dist/_chunks/{PkToolShowSources-GeWAMHYC.js.map → PkToolShowSources-DXFvFHOo.js.map} +1 -1
- package/dist/_chunks/chartFormat-B1T7y-16.js +27 -0
- package/dist/_chunks/chartFormat-B1T7y-16.js.map +1 -0
- package/dist/_chunks/{excelNumberFormat-BhQjife9.js → excelNumberFormat-CcXF_wJK.js} +101 -88
- package/dist/_chunks/excelNumberFormat-CcXF_wJK.js.map +1 -0
- package/dist/_chunks/{utils-DMvy5QRR.js → utils-BBoaLDYF.js} +14 -14
- package/dist/_chunks/utils-BBoaLDYF.js.map +1 -0
- package/dist/ai-elements.es.js +178 -172
- package/dist/ai-elements.es.js.map +1 -1
- package/dist-vue/PkChatbot.js +1 -1
- package/dist-vue/PkChatbotEmptyState.js +1 -1
- package/dist-vue/PkChatbotInput.js +1 -1
- package/dist-vue/PkChatbotMessages.js +1 -1
- package/dist-vue/PkChatbotStepPayload.js +1 -1
- package/dist-vue/PkChatbotStepToolDetail.js +1 -1
- package/dist-vue/PkChatbotSteps.js +1 -1
- package/dist-vue/PkChatbotViewChat.js +1 -1
- package/dist-vue/PkChatbotViewConversations.js +1 -1
- package/dist-vue/_chunks/Chart-DsBNs5rS.js +87 -0
- package/dist-vue/_chunks/Chart-DsBNs5rS.js.map +1 -0
- package/dist-vue/_chunks/{PkChart-D-K7nc0g.js → PkChart-CrZqhEpp.js} +112 -74
- package/dist-vue/_chunks/PkChart-CrZqhEpp.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbot-DVQ-Bb7n.js → PkChatbot-CxkTubw8.js} +6 -6
- package/dist-vue/_chunks/{PkChatbot-DVQ-Bb7n.js.map → PkChatbot-CxkTubw8.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotEmptyState-OlgewA4_.js → PkChatbotEmptyState-CUoHkCgO.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotEmptyState-OlgewA4_.js.map → PkChatbotEmptyState-CUoHkCgO.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotInput-D_I0Gf_u.js → PkChatbotInput-CPf7wqiQ.js} +4 -4
- package/dist-vue/_chunks/{PkChatbotInput-D_I0Gf_u.js.map → PkChatbotInput-CPf7wqiQ.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotMessages-CAXnEfXK.js → PkChatbotMessages-CLNu2dTm.js} +307 -307
- package/dist-vue/_chunks/{PkChatbotMessages-CAXnEfXK.js.map → PkChatbotMessages-CLNu2dTm.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotStepPayload-EBri1L10.js → PkChatbotStepPayload-Cf7mJPjL.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotStepPayload-EBri1L10.js.map → PkChatbotStepPayload-Cf7mJPjL.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotStepToolDetail-DiQEa0UV.js → PkChatbotStepToolDetail-D6nwNnHv.js} +16 -16
- package/dist-vue/_chunks/{PkChatbotStepToolDetail-DiQEa0UV.js.map → PkChatbotStepToolDetail-D6nwNnHv.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotSteps-BgLnv2J1.js → PkChatbotSteps-xkxdaX7O.js} +38 -38
- package/dist-vue/_chunks/{PkChatbotSteps-BgLnv2J1.js.map → PkChatbotSteps-xkxdaX7O.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewChat-CmjD1IXf.js → PkChatbotViewChat-BkkyjiFl.js} +22 -22
- package/dist-vue/_chunks/{PkChatbotViewChat-CmjD1IXf.js.map → PkChatbotViewChat-BkkyjiFl.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewConversations-CVZH5dXx.js → PkChatbotViewConversations-hgqSO1hx.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotViewConversations-CVZH5dXx.js.map → PkChatbotViewConversations-hgqSO1hx.js.map} +1 -1
- package/dist-vue/_chunks/{PkFilePreview-k5gEl3n8.js → PkFilePreview-CmsT6lSP.js} +701 -624
- package/dist-vue/_chunks/PkFilePreview-CmsT6lSP.js.map +1 -0
- package/dist-vue/_chunks/{PkFilePreviewDialog-DUwZPErE.js → PkFilePreviewDialog-DIiTt9iK.js} +2 -2
- package/dist-vue/_chunks/{PkFilePreviewDialog-DUwZPErE.js.map → PkFilePreviewDialog-DIiTt9iK.js.map} +1 -1
- package/dist-vue/_chunks/{PkImageEditorDialog-DQPXePae.js → PkImageEditorDialog-CE0Y5Pwr.js} +2 -2
- package/dist-vue/_chunks/{PkImageEditorDialog-DQPXePae.js.map → PkImageEditorDialog-CE0Y5Pwr.js.map} +1 -1
- package/dist-vue/_chunks/{PkStreamingMarkdown-ZasabxE0.js → PkStreamingMarkdown-BBvCtDlO.js} +2 -2
- package/dist-vue/_chunks/{PkStreamingMarkdown-ZasabxE0.js.map → PkStreamingMarkdown-BBvCtDlO.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolChatFile-CD26Q2xp.js → PkToolChatFile-DVhunkPS.js} +3 -3
- package/dist-vue/_chunks/{PkToolChatFile-CD26Q2xp.js.map → PkToolChatFile-DVhunkPS.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowArtifact-BhVd_ZQ8.js → PkToolShowArtifact-DKOTsP9C.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowArtifact-BhVd_ZQ8.js.map → PkToolShowArtifact-DKOTsP9C.js.map} +1 -1
- package/dist-vue/_chunks/PkToolShowChart-CNBUjDc7.js +133 -0
- package/dist-vue/_chunks/PkToolShowChart-CNBUjDc7.js.map +1 -0
- package/dist-vue/_chunks/{PkToolShowContactForm-CackCDGD.js → PkToolShowContactForm-D1Ff15Zf.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowContactForm-CackCDGD.js.map → PkToolShowContactForm-D1Ff15Zf.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowDiagram-CABPsFi8.js → PkToolShowDiagram-CBwqjy6a.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowDiagram-CABPsFi8.js.map → PkToolShowDiagram-CBwqjy6a.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowForm-BStbk4Iu.js → PkToolShowForm-D-rzzwJa.js} +3 -3
- package/dist-vue/_chunks/{PkToolShowForm-BStbk4Iu.js.map → PkToolShowForm-D-rzzwJa.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowImageGallery-BeeHsdTp.js → PkToolShowImageGallery-Cre2zSGV.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowImageGallery-BeeHsdTp.js.map → PkToolShowImageGallery-Cre2zSGV.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowProductList-BfUiap9U.js → PkToolShowProductList-D4FAfMS-.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowProductList-BfUiap9U.js.map → PkToolShowProductList-D4FAfMS-.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowSources-CgEkcyRg.js → PkToolShowSources-BC6YJl-O.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowSources-CgEkcyRg.js.map → PkToolShowSources-BC6YJl-O.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowVideo-CqSRnDNC.js → PkToolShowVideo-CxN7z_cZ.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowVideo-CqSRnDNC.js.map → PkToolShowVideo-CxN7z_cZ.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowWebPages-B-qIS8qY.js → PkToolShowWebPages-0Ux6n8G1.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowWebPages-B-qIS8qY.js.map → PkToolShowWebPages-0Ux6n8G1.js.map} +1 -1
- package/dist-vue/_chunks/chartFormat-B1T7y-16.js +27 -0
- package/dist-vue/_chunks/chartFormat-B1T7y-16.js.map +1 -0
- package/dist-vue/_chunks/{excelNumberFormat-C1sCQrOz.js → excelNumberFormat-BxRi0Y3e.js} +101 -88
- package/dist-vue/_chunks/excelNumberFormat-BxRi0Y3e.js.map +1 -0
- package/dist-vue/_chunks/{utils-KBB6SDPn.js → utils-C9l078yb.js} +10 -10
- package/dist-vue/_chunks/utils-C9l078yb.js.map +1 -0
- package/dist-vue/composables.js +9 -3
- package/dist-vue/composables.js.map +1 -1
- package/dist-vue/index.js +42 -42
- package/dist-vue/index.js.map +1 -1
- package/dist-vue/locales.js +6 -0
- package/dist-vue/packages/components/src/chat/PkChart.d.ts +8 -0
- package/dist-vue/packages/components/src/chat/PkFileChart.d.ts +14 -0
- package/dist-vue/packages/components/src/chat/PkWordPreviewRuns.d.ts +4 -1
- package/dist-vue/packages/components/src/chat/useChatFilePreview.d.ts +240 -0
- package/dist-vue/packages/components/src/chat/utils.d.ts +6 -1
- package/dist-vue/packages/models/src/schema/Chart.d.ts +91 -0
- package/dist-vue/packages/models/src/schema/SpreadsheetPreview.d.ts +381 -0
- package/dist-vue/packages/models/src/schema/WordPreview.d.ts +304 -0
- package/dist-vue/style.css +1 -1
- package/package.json +1 -1
- package/dist/_chunks/PkChart-CbtMRGWc.js.map +0 -1
- package/dist/_chunks/PkFilePreview-DC4iX7Yc.js +0 -1665
- package/dist/_chunks/PkFilePreview-DC4iX7Yc.js.map +0 -1
- package/dist/_chunks/PkToolShowChart-DZWu3Yuo.js +0 -224
- package/dist/_chunks/PkToolShowChart-DZWu3Yuo.js.map +0 -1
- package/dist/_chunks/excelNumberFormat-BhQjife9.js.map +0 -1
- package/dist/_chunks/utils-DMvy5QRR.js.map +0 -1
- package/dist-vue/_chunks/PkChart-D-K7nc0g.js.map +0 -1
- package/dist-vue/_chunks/PkFilePreview-k5gEl3n8.js.map +0 -1
- package/dist-vue/_chunks/PkToolShowChart-BQXxaPIO.js +0 -217
- package/dist-vue/_chunks/PkToolShowChart-BQXxaPIO.js.map +0 -1
- package/dist-vue/_chunks/excelNumberFormat-C1sCQrOz.js.map +0 -1
- package/dist-vue/_chunks/utils-KBB6SDPn.js.map +0 -1
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { t as e } from "./PkChatbotMessages-
|
|
1
|
+
import { t as e } from "./PkChatbotMessages-CLNu2dTm.js";
|
|
2
2
|
import { o as t } from "./Media-DylqhvaF.js";
|
|
3
3
|
import { t as n } from "./useLightbox-DmtNa8bJ.js";
|
|
4
4
|
import { a as r, n as i, t as a } from "./useChatbotStore-B6ILfm5Z.js";
|
|
5
5
|
import { n as o } from "./src-nb8MU1sh.js";
|
|
6
6
|
import { s, t as c } from "./message-DuibQyHy.js";
|
|
7
|
-
import {
|
|
7
|
+
import { B as l, b as u, n as d, p as f, r as p, u as m } from "./utils-C9l078yb.js";
|
|
8
8
|
import { t as h } from "./useLocalizedString-Dmn92nix.js";
|
|
9
9
|
import { t as g } from "./PkAvatar-DwtZWSW4.js";
|
|
10
|
-
import { n as _, t as v } from "./PkChatbotInput-
|
|
10
|
+
import { n as _, t as v } from "./PkChatbotInput-CPf7wqiQ.js";
|
|
11
11
|
import { t as ee } from "./PkChatbotQueuedMessages-CIJFAvE2.js";
|
|
12
|
-
import { t as te } from "./PkChatbotEmptyState-
|
|
12
|
+
import { t as te } from "./PkChatbotEmptyState-CUoHkCgO.js";
|
|
13
13
|
import { t as ne } from "./PkChatbotWakeupBar-DEP-d-Fp.js";
|
|
14
14
|
import { VvIcon as y } from "@volverjs/ui-vue/components";
|
|
15
15
|
import { Fragment as b, Teleport as re, Transition as x, computed as S, createBlock as C, createCommentVNode as w, createElementBlock as T, createElementVNode as E, createSlots as ie, createTextVNode as ae, createVNode as D, defineAsyncComponent as O, defineComponent as oe, inject as se, isRef as ce, nextTick as le, normalizeClass as k, normalizeStyle as ue, onBeforeUnmount as de, onMounted as fe, onScopeDispose as pe, onUnmounted as A, openBlock as j, provide as me, ref as M, renderList as he, shallowRef as ge, toDisplayString as N, toValue as _e, unref as P, useTemplateRef as ve, watch as F, withCtx as I } from "vue";
|
|
@@ -40,12 +40,12 @@ var we = {
|
|
|
40
40
|
let t = e, n = ve("rootEl"), r = ve("canvasEl"), i = M(!1), a = M(null), o = S(() => a.value ? {
|
|
41
41
|
"--pk-aurora-tint": `rgb(${a.value.first.join(" ")})`,
|
|
42
42
|
"--pk-aurora-tint-2": `rgb(${(a.value.duo ? a.value.second : a.value.first).join(" ")})`
|
|
43
|
-
} : void 0), s = null, c = 0,
|
|
43
|
+
} : void 0), s = null, c = 0, u = null, d = null, f = null, p = null, m = null, h = null, g = null, _ = null, v = null, ee = performance.now(), te = (e, t) => {
|
|
44
44
|
if (!s) return null;
|
|
45
45
|
let n = s.createShader(e);
|
|
46
46
|
return !n || (s.shaderSource(n, t), s.compileShader(n), !s.getShaderParameter(n, s.COMPILE_STATUS)) ? null : n;
|
|
47
47
|
}, ne = (e) => e.map((e) => e / 255), y = () => {
|
|
48
|
-
n.value && (a.value =
|
|
48
|
+
n.value && (a.value = l(n.value, {
|
|
49
49
|
mainColor: t.mainColor,
|
|
50
50
|
tones: t.tones,
|
|
51
51
|
secondColor: t.secondColor
|
|
@@ -63,13 +63,13 @@ var we = {
|
|
|
63
63
|
let a = r.value.parentElement?.offsetParent, o = (t.sourceSelector ? a?.querySelector(t.sourceSelector) : a) ?? a, c = r.value.getBoundingClientRect(), l = o?.getBoundingClientRect();
|
|
64
64
|
if (l && c.width > 0) {
|
|
65
65
|
let e = r.value.width / c.width, t = r.value.height / c.height, n = (l.left + l.width / 2 - c.left) * e, i = (c.bottom - (l.top + l.height / 2)) * t, a = l.width / 2 * e, o = l.height / 2 * t;
|
|
66
|
-
s.uniform2f(
|
|
66
|
+
s.uniform2f(p, n, i), s.uniform2f(m, a, o);
|
|
67
67
|
let u = Number.parseFloat(getComputedStyle(r.value).getPropertyValue("--aurora-spread"));
|
|
68
68
|
s.uniform1f(h, Number.isNaN(u) ? 1 : u);
|
|
69
69
|
}
|
|
70
70
|
x(re() ? 10 : void 0);
|
|
71
71
|
}, re = () => window.matchMedia("(prefers-reduced-motion: reduce)").matches, x = (e) => {
|
|
72
|
-
s && r.value && (s.uniform1f(
|
|
72
|
+
s && r.value && (s.uniform1f(d, e ?? (performance.now() - ee) / 1e3), s.uniform2f(f, r.value.width, r.value.height), s.drawArrays(s.TRIANGLE_STRIP, 0, 4));
|
|
73
73
|
}, C = () => {
|
|
74
74
|
x(), c = requestAnimationFrame(C);
|
|
75
75
|
};
|
|
@@ -96,10 +96,10 @@ var we = {
|
|
|
96
96
|
1,
|
|
97
97
|
1
|
|
98
98
|
]), s.STATIC_DRAW);
|
|
99
|
-
let
|
|
100
|
-
s.enableVertexAttribArray(
|
|
99
|
+
let l = s.getAttribLocation(o, "a_position");
|
|
100
|
+
s.enableVertexAttribArray(l), s.vertexAttribPointer(l, 2, s.FLOAT, !1, 0, 0), d = s.getUniformLocation(o, "u_time"), f = s.getUniformLocation(o, "u_resolution"), p = s.getUniformLocation(o, "u_center"), m = s.getUniformLocation(o, "u_half"), h = s.getUniformLocation(o, "u_spread"), g = s.getUniformLocation(o, "u_color"), _ = s.getUniformLocation(o, "u_color2"), v = s.getUniformLocation(o, "u_duo"), y(), u = new ResizeObserver(b), u.observe(e), b(), le(b), re() ? x(10) : C();
|
|
101
101
|
}), de(() => {
|
|
102
|
-
cancelAnimationFrame(c),
|
|
102
|
+
cancelAnimationFrame(c), u?.disconnect();
|
|
103
103
|
}), A(() => {
|
|
104
104
|
let e = s;
|
|
105
105
|
s = null, setTimeout(() => {
|
|
@@ -614,9 +614,9 @@ var Ze = { class: "pk-chatbot-view-chat__input-stage" }, Qe = {
|
|
|
614
614
|
"revise",
|
|
615
615
|
"selection-action"
|
|
616
616
|
],
|
|
617
|
-
setup(o, { emit:
|
|
618
|
-
let _ = O(() => import("./PkToolShowForm-
|
|
619
|
-
me(
|
|
617
|
+
setup(o, { emit: l }) {
|
|
618
|
+
let _ = O(() => import("./PkToolShowForm-D-rzzwJa.js").then((e) => e.n)), b = O(() => import("./PkToolShowContactForm-D1Ff15Zf.js").then((e) => e.n)), ae = O(() => import("./PkToolShowSuggestedReply-DxlGhMvE.js").then((e) => e.n)), oe = O(() => import("./PkToolShowSources-BC6YJl-O.js").then((e) => e.n)), se = O(() => import("./PkToolRequestGeolocation-Bhh7UomV.js").then((e) => e.n)), le = O(() => import("./PkToolRequestOAuthConnection-8GJlt5G1.js")), ue = O(() => import("./PkToolShowLocation-Nhh_LwmN.js").then((e) => e.n)), fe = O(() => import("./PkToolShowChart-CNBUjDc7.js")), pe = O(() => import("./PkToolShowDiagram-CBwqjy6a.js")), A = O(() => import("./PkToolChatFile-DVhunkPS.js").then((e) => e.n)), he = O(() => import("./PkToolShareDocument-Bf7OE8XA.js").then((e) => e.n)), ge = O(() => import("./PkFilePreview-CmsT6lSP.js").then((e) => e.n)), _e = O(() => import("./PkFilePreviewDialog-DIiTt9iK.js").then((e) => e.n)), L = o, we = l, R = i(L.agentId), { agentInterface: z, agentFileUpload: B, agentType: Ee, agentVoice: De, actions: Oe, revisedAnswers: ke, messages: V, chat: H, messageFeedbacks: Ae, feedbackDialogMessage: je, isFeedbackSubmitting: Pe, isFeedbackSubmitted: Fe, feedbackSubmitError: Le, isLeadSubmitted: Re, isLoadingSubmitLead: ze, submitLeadError: Be, input: U, inputMessagePlaceholder: He, isConversationBlocked: Ue, baseUrl: W, pendingAttachments: We, isAttachmentLimitReached: Ge, fileLimitError: Ke, apiClient: G, isDark: qe, hostToolsPending: Je, pageNoticeLevel: Ye, hostConfirmation: st, agentPageAccess: ct, hostStepTitles: lt, hostStepChanges: ut, confirmationMode: dt, canQueue: ft, queuedMessages: pt, backgroundAnswers: mt, inputFocusRequest: ht, pagePointer: gt, pagePointerAvailable: _t, pagePointing: vt, agentSelectionActions: yt } = Se(R);
|
|
619
|
+
me(p, lt), me(d, ut);
|
|
620
620
|
let bt = ve("inputEl");
|
|
621
621
|
F(ht, () => {
|
|
622
622
|
bt.value?.focus();
|
|
@@ -797,7 +797,7 @@ var Ze = { class: "pk-chatbot-view-chat__input-stage" }, Qe = {
|
|
|
797
797
|
}, ir = async () => {
|
|
798
798
|
Q.dismissError(), await Q.stop(), await tr();
|
|
799
799
|
}, ar = (e) => e?.toolCallId ?? "", or = M(/* @__PURE__ */ new Set()), sr = (e) => or.value.has(ar(e)), cr = M(/* @__PURE__ */ new Map()), lr = (e, t) => Q.isActive.value ? (Q.sendUserMessage(t) && (or.value = new Set(or.value).add(ar(e)), qn()), !0) : !1, ur = (e, t, n) => {
|
|
800
|
-
lr(t,
|
|
800
|
+
lr(t, f(t, n)) || Mt({
|
|
801
801
|
tool: e,
|
|
802
802
|
toolCallId: ar(t),
|
|
803
803
|
output: n
|
|
@@ -829,7 +829,7 @@ var Ze = { class: "pk-chatbot-view-chat__input-stage" }, Qe = {
|
|
|
829
829
|
continue;
|
|
830
830
|
}
|
|
831
831
|
let { type: e, state: r, output: i } = n;
|
|
832
|
-
Cn.has(e) && r === "output-available" && i?.filename && t(
|
|
832
|
+
Cn.has(e) && r === "output-available" && i?.filename && t(m(i.filename, i.version), i.fileId);
|
|
833
833
|
}
|
|
834
834
|
return e;
|
|
835
835
|
}), $ = S(() => Ue.value ? void 0 : (e) => {
|
|
@@ -1024,7 +1024,7 @@ var Ze = { class: "pk-chatbot-view-chat__input-stage" }, Qe = {
|
|
|
1024
1024
|
"is-dark": P(qe)
|
|
1025
1025
|
}, null, 8, ["part", "is-dark"])]),
|
|
1026
1026
|
"tool-editSpreadsheet": I(({ part: e }) => [(j(), C(P(A), {
|
|
1027
|
-
key: P(
|
|
1027
|
+
key: P(u)(e),
|
|
1028
1028
|
part: e,
|
|
1029
1029
|
"file-url": q,
|
|
1030
1030
|
preview: yn,
|
|
@@ -1036,7 +1036,7 @@ var Ze = { class: "pk-chatbot-view-chat__input-stage" }, Qe = {
|
|
|
1036
1036
|
"restore"
|
|
1037
1037
|
]))]),
|
|
1038
1038
|
"tool-editWordDocument": I(({ part: e }) => [(j(), C(P(A), {
|
|
1039
|
-
key: P(
|
|
1039
|
+
key: P(u)(e),
|
|
1040
1040
|
part: e,
|
|
1041
1041
|
"file-url": q,
|
|
1042
1042
|
preview: yn,
|
|
@@ -1048,7 +1048,7 @@ var Ze = { class: "pk-chatbot-view-chat__input-stage" }, Qe = {
|
|
|
1048
1048
|
"restore"
|
|
1049
1049
|
]))]),
|
|
1050
1050
|
"tool-createSpreadsheet": I(({ part: e }) => [(j(), C(P(A), {
|
|
1051
|
-
key: P(
|
|
1051
|
+
key: P(u)(e),
|
|
1052
1052
|
part: e,
|
|
1053
1053
|
"file-url": q,
|
|
1054
1054
|
preview: yn,
|
|
@@ -1060,7 +1060,7 @@ var Ze = { class: "pk-chatbot-view-chat__input-stage" }, Qe = {
|
|
|
1060
1060
|
"restore"
|
|
1061
1061
|
]))]),
|
|
1062
1062
|
"tool-createWordDocument": I(({ part: e }) => [(j(), C(P(A), {
|
|
1063
|
-
key: P(
|
|
1063
|
+
key: P(u)(e),
|
|
1064
1064
|
part: e,
|
|
1065
1065
|
"file-url": q,
|
|
1066
1066
|
preview: yn,
|
|
@@ -1072,7 +1072,7 @@ var Ze = { class: "pk-chatbot-view-chat__input-stage" }, Qe = {
|
|
|
1072
1072
|
"restore"
|
|
1073
1073
|
]))]),
|
|
1074
1074
|
"tool-shareDocument": I(({ part: e }) => [(j(), C(P(he), {
|
|
1075
|
-
key: P(
|
|
1075
|
+
key: P(u)(e),
|
|
1076
1076
|
part: e,
|
|
1077
1077
|
"on-download": Pn
|
|
1078
1078
|
}, null, 8, ["part"]))]),
|
|
@@ -1298,4 +1298,4 @@ var Ze = { class: "pk-chatbot-view-chat__input-stage" }, Qe = {
|
|
|
1298
1298
|
});
|
|
1299
1299
|
export { Me as a, Fe as i, Xe as n, De as o, Je as r, Te as s, st as t };
|
|
1300
1300
|
|
|
1301
|
-
//# sourceMappingURL=PkChatbotViewChat-
|
|
1301
|
+
//# sourceMappingURL=PkChatbotViewChat-BkkyjiFl.js.map
|