@8wave/ai-elements 0.122.0 → 0.123.0-beta.2
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/PkFilePreview-eKok4xdc.js +211 -0
- package/dist/_chunks/PkFilePreview-eKok4xdc.js.map +1 -0
- package/dist/_chunks/PkStreamingMarkdown-Dc0R0GHe.js.map +1 -1
- package/dist/_chunks/PkToolChatFile-3fYhbFSi.js +222 -0
- package/dist/_chunks/PkToolChatFile-3fYhbFSi.js.map +1 -0
- package/dist/ai-elements.es.js +99 -27
- package/dist/ai-elements.es.js.map +1 -1
- package/dist-vue/PkChatbot.js +1 -1
- package/dist-vue/PkChatbotViewChat.js +1 -1
- package/dist-vue/PkChatbotViewConversations.js +1 -1
- package/dist-vue/PkChatbotViewFiles.js +1 -1
- package/dist-vue/PkChatbotViewProfile.js +1 -1
- package/dist-vue/_chunks/{PkChatbot-CxbPkjhQ.js → PkChatbot-D3KGDerg.js} +6 -6
- package/dist-vue/_chunks/{PkChatbot-CxbPkjhQ.js.map → PkChatbot-D3KGDerg.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewChat-gcim5jsW.js → PkChatbotViewChat-BNaSv86u.js} +373 -329
- package/dist-vue/_chunks/PkChatbotViewChat-BNaSv86u.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotViewConversations-ZdDraX9c.js → PkChatbotViewConversations-C1vl8z4o.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotViewConversations-ZdDraX9c.js.map → PkChatbotViewConversations-C1vl8z4o.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewFiles-BqZ3CJm5.js → PkChatbotViewFiles-DiKHsdPE.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotViewFiles-BqZ3CJm5.js.map → PkChatbotViewFiles-DiKHsdPE.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewProfile-CANtq-SY.js → PkChatbotViewProfile-CuQ0MAX7.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotViewProfile-CANtq-SY.js.map → PkChatbotViewProfile-CuQ0MAX7.js.map} +1 -1
- package/dist-vue/_chunks/PkFilePreview-Cx6jmJCD.js +200 -0
- package/dist-vue/_chunks/PkFilePreview-Cx6jmJCD.js.map +1 -0
- package/dist-vue/_chunks/PkToolChatFile-BJsDSu1Q.js +220 -0
- package/dist-vue/_chunks/PkToolChatFile-BJsDSu1Q.js.map +1 -0
- package/dist-vue/_chunks/{createChatbotApiClient-Cu1nDV3E.js → createChatbotApiClient-DAh91HyT.js} +2 -2
- package/dist-vue/_chunks/{createChatbotApiClient-Cu1nDV3E.js.map → createChatbotApiClient-DAh91HyT.js.map} +1 -1
- package/dist-vue/_chunks/{useChatbotStore-CPl6KHny.js → useChatbotStore-D1U24qc8.js} +2 -2
- package/dist-vue/_chunks/{useChatbotStore-CPl6KHny.js.map → useChatbotStore-D1U24qc8.js.map} +1 -1
- package/dist-vue/_chunks/utils-DaAIWTtt.js.map +1 -1
- package/dist-vue/api.js +1 -1
- package/dist-vue/composables.js +30 -2
- package/dist-vue/composables.js.map +1 -1
- package/dist-vue/index.js +6 -6
- package/dist-vue/locales.js +32 -4
- package/dist-vue/packages/components/src/chat/PkFilePreview.d.ts +28 -0
- package/dist-vue/packages/components/src/chat/PkSpreadsheetPreview.d.ts +15 -0
- package/dist-vue/packages/components/src/chat/PkToolChatFile.d.ts +11 -1
- package/dist-vue/packages/components/src/chat/PkWordPreview.d.ts +5 -18
- package/dist-vue/packages/components/src/chat/utils.d.ts +2 -1
- package/dist-vue/packages/composable/src/chatbot/api/createChatbotApiClient.d.ts +3 -3
- package/dist-vue/packages/models/src/schema/SpreadsheetPreview.d.ts +137 -0
- package/dist-vue/packages/models/src/schema/WordPreview.d.ts +1 -0
- package/dist-vue/packages/models/src/schema/index.d.ts +1 -0
- package/dist-vue/style.css +1 -1
- package/package.json +1 -1
- package/dist/_chunks/PkToolChatFile-CScP_O0D.js +0 -193
- package/dist/_chunks/PkToolChatFile-CScP_O0D.js.map +0 -1
- package/dist/_chunks/PkWordPreview-COVeYzqX.js +0 -120
- package/dist/_chunks/PkWordPreview-COVeYzqX.js.map +0 -1
- package/dist-vue/_chunks/PkChatbotViewChat-gcim5jsW.js.map +0 -1
- package/dist-vue/_chunks/PkToolChatFile-iOyeQBp6.js +0 -191
- package/dist-vue/_chunks/PkToolChatFile-iOyeQBp6.js.map +0 -1
- package/dist-vue/_chunks/PkWordPreview-azW8wfJe.js +0 -115
- package/dist-vue/_chunks/PkWordPreview-azW8wfJe.js.map +0 -1
package/dist/ai-elements.es.js
CHANGED
|
@@ -1451,6 +1451,15 @@ var hr = {
|
|
|
1451
1451
|
revisionBy: "Revisione di {author}",
|
|
1452
1452
|
image: "Immagine",
|
|
1453
1453
|
truncated: "L'anteprima si ferma qui: il resto del documento è nel file da scaricare.",
|
|
1454
|
+
versionFirstRows: "Versione {version}, le prime righe di ogni foglio",
|
|
1455
|
+
firstRows: "Le prime righe di ogni foglio",
|
|
1456
|
+
true: "VERO",
|
|
1457
|
+
false: "FALSO",
|
|
1458
|
+
staleFormulas: "I valori con il trattino si aggiornano quando apri il file in Excel.",
|
|
1459
|
+
missingValue: "Calcolato quando apri il file in Excel",
|
|
1460
|
+
emptySheet: "Questo foglio è vuoto.",
|
|
1461
|
+
moreRows: "Nel file c'è un'altra riga. | Nel file ci sono altre {count} righe.",
|
|
1462
|
+
moreColumns: "Nel file c'è un'altra colonna. | Nel file ci sono altre {count} colonne.",
|
|
1454
1463
|
unavailable: "L'anteprima di questo documento non è disponibile: scaricalo per aprirlo in Word."
|
|
1455
1464
|
},
|
|
1456
1465
|
messagePart: {
|
|
@@ -1484,6 +1493,11 @@ var hr = {
|
|
|
1484
1493
|
chatFileAfter: "Dopo",
|
|
1485
1494
|
chatFileRefreshPivots: "Le tabelle pivot mostrano ancora i dati di prima: aggiornale in Excel con Dati, Aggiorna tutto.",
|
|
1486
1495
|
chatFileUpdateTableOfContents: "L'indice non si aggiorna da solo: in Word fai clic destro sull'indice e scegli Aggiorna campo.",
|
|
1496
|
+
chatFileRevisionAccepted: "Revisione accettata",
|
|
1497
|
+
chatFileRevisionRejected: "Revisione rifiutata",
|
|
1498
|
+
chatFileRestored: "Versione {version}: ripristinata la versione {restored}",
|
|
1499
|
+
chatFileRestore: "Ripristina",
|
|
1500
|
+
chatFileRestoreRequest: "Ripristina la versione {version} di {filename}",
|
|
1487
1501
|
enableTools: "Attivazione dei tool…",
|
|
1488
1502
|
expandChunkContext: "Lettura di altro contesto…",
|
|
1489
1503
|
fetchTeamsChannelHistory: "Lettura cronologia canale…",
|
|
@@ -3487,6 +3501,15 @@ var hr = {
|
|
|
3487
3501
|
revisionBy: "Tracked change by {author}",
|
|
3488
3502
|
image: "Image",
|
|
3489
3503
|
truncated: "The preview stops here: the rest of the document is in the file to download.",
|
|
3504
|
+
versionFirstRows: "Version {version}, the first rows of each sheet",
|
|
3505
|
+
firstRows: "The first rows of each sheet",
|
|
3506
|
+
true: "TRUE",
|
|
3507
|
+
false: "FALSE",
|
|
3508
|
+
staleFormulas: "Values shown with a dash update when you open the file in Excel.",
|
|
3509
|
+
missingValue: "Computed when you open the file in Excel",
|
|
3510
|
+
emptySheet: "This sheet is empty.",
|
|
3511
|
+
moreRows: "The file holds one more row. | The file holds {count} more rows.",
|
|
3512
|
+
moreColumns: "The file holds one more column. | The file holds {count} more columns.",
|
|
3490
3513
|
unavailable: "This document has no preview: download it to open it in Word."
|
|
3491
3514
|
},
|
|
3492
3515
|
messagePart: {
|
|
@@ -3520,6 +3543,11 @@ var hr = {
|
|
|
3520
3543
|
chatFileAfter: "After",
|
|
3521
3544
|
chatFileRefreshPivots: "The pivot tables still show the old figures: refresh them in Excel with Data, Refresh All.",
|
|
3522
3545
|
chatFileUpdateTableOfContents: "The table of contents does not update by itself: in Word, right click it and choose Update Field.",
|
|
3546
|
+
chatFileRevisionAccepted: "Revision accepted",
|
|
3547
|
+
chatFileRevisionRejected: "Revision rejected",
|
|
3548
|
+
chatFileRestored: "Version {version}: version {restored} restored",
|
|
3549
|
+
chatFileRestore: "Restore",
|
|
3550
|
+
chatFileRestoreRequest: "Restore version {version} of {filename}",
|
|
3523
3551
|
enableTools: "Enabling tools…",
|
|
3524
3552
|
expandChunkContext: "Reading more context…",
|
|
3525
3553
|
fetchTeamsChannelHistory: "Reading channel history…",
|
|
@@ -6934,7 +6962,7 @@ function xc(e) {
|
|
|
6934
6962
|
async getAgent(e, t) {
|
|
6935
6963
|
return i(`/organizations/${encodeURIComponent(e)}/agents/${encodeURIComponent(t)}`);
|
|
6936
6964
|
},
|
|
6937
|
-
async
|
|
6965
|
+
async getChatFilePreview(e, t, n) {
|
|
6938
6966
|
return i(`/agents/${encodeURIComponent(e)}/chats/${encodeURIComponent(t)}/media/${encodeURIComponent(n)}/preview`);
|
|
6939
6967
|
},
|
|
6940
6968
|
async getAgentAccess(e, t) {
|
|
@@ -17378,7 +17406,7 @@ var ux = { class: "pk-chatbot-view-chat__input-stage" }, dx = {
|
|
|
17378
17406
|
},
|
|
17379
17407
|
emits: ["show-info", "revise"],
|
|
17380
17408
|
setup(e, { emit: t }) {
|
|
17381
|
-
let n = T(() => import("./_chunks/PkToolShowForm-CkpMsrEo.js")), r = T(() => import("./_chunks/PkToolShowContactForm-YX1BuolZ.js")), i = T(() => import("./_chunks/PkToolShowSuggestedReply-79UAjTL4.js")), a = T(() => import("./_chunks/PkToolShowSources-BO1IhnmO.js")), o = T(() => import("./_chunks/PkToolRequestGeolocation-n1W_drCv.js")), s = T(() => import("./_chunks/PkToolRequestOAuthConnection-DmMeSF2m.js")), c = T(() => import("./_chunks/PkToolShowLocation-B1ltUJ-K.js")), l = T(() => import("./_chunks/PkToolShowDiagram-fTIiANVA.js")), u = T(() => import("./_chunks/PkToolChatFile-
|
|
17409
|
+
let n = T(() => import("./_chunks/PkToolShowForm-CkpMsrEo.js")), r = T(() => import("./_chunks/PkToolShowContactForm-YX1BuolZ.js")), i = T(() => import("./_chunks/PkToolShowSuggestedReply-79UAjTL4.js")), a = T(() => import("./_chunks/PkToolShowSources-BO1IhnmO.js")), o = T(() => import("./_chunks/PkToolRequestGeolocation-n1W_drCv.js")), s = T(() => import("./_chunks/PkToolRequestOAuthConnection-DmMeSF2m.js")), c = T(() => import("./_chunks/PkToolShowLocation-B1ltUJ-K.js")), l = T(() => import("./_chunks/PkToolShowDiagram-fTIiANVA.js")), u = T(() => import("./_chunks/PkToolChatFile-3fYhbFSi.js")), d = T(() => import("./_chunks/PkToolShareDocument-BE02IEEO.js")), f = T(() => import("./_chunks/PkFilePreview-eKok4xdc.js")), p = e, m = t, h = Nf(p.agentId), { agentInterface: g, agentFileUpload: _, agentType: v, agentVoice: y, actions: b, revisedAnswers: x, messages: S, chat: C, messageFeedbacks: ee, feedbackDialogMessage: w, isFeedbackSubmitting: D, isFeedbackSubmitted: O, feedbackSubmitError: k, isLeadSubmitted: te, isLoadingSubmitLead: re, submitLeadError: A, input: ie, inputMessagePlaceholder: j, isConversationBlocked: ae, baseUrl: oe, pendingAttachments: M, isAttachmentLimitReached: se, fileLimitError: ce, apiClient: le, isDark: ue, hostToolsPending: fe, pageNoticeLevel: pe, hostConfirmation: he, agentPageAccess: R, hostStepTitles: z, canQueue: _e, queuedMessages: ve, backgroundAnswers: ye, inputFocusRequest: V } = mr(h);
|
|
17382
17410
|
Fe(bt, z);
|
|
17383
17411
|
let be = me("inputEl");
|
|
17384
17412
|
I(V, () => {
|
|
@@ -17400,7 +17428,7 @@ var ux = { class: "pk-chatbot-view-chat__input-stage" }, dx = {
|
|
|
17400
17428
|
ot.value = !0;
|
|
17401
17429
|
let n = () => it.value?.storedFileName === e.storedFileName;
|
|
17402
17430
|
try {
|
|
17403
|
-
let t = await le.value.
|
|
17431
|
+
let t = await le.value.getChatFilePreview(p.agentId, h.localChatId, e.storedFileName);
|
|
17404
17432
|
ct.set(e.storedFileName, t), n() && (at.value = t);
|
|
17405
17433
|
} catch {
|
|
17406
17434
|
n() && (st.value = !0);
|
|
@@ -17449,14 +17477,14 @@ var ux = { class: "pk-chatbot-view-chat__input-stage" }, dx = {
|
|
|
17449
17477
|
Et = !1;
|
|
17450
17478
|
}
|
|
17451
17479
|
if (vt) return;
|
|
17452
|
-
if (e === "caught-up" && (yt.value = !1,
|
|
17480
|
+
if (e === "caught-up" && (yt.value = !1, cn()), jt.isActive.value) {
|
|
17453
17481
|
Ct = void 0, wt = !1, Tt = 0, Ot(_x);
|
|
17454
17482
|
return;
|
|
17455
17483
|
}
|
|
17456
17484
|
Ct === void 0 && (Ct = Date.now(), wt = !!jt.error.value);
|
|
17457
17485
|
let t = Date.now() - Ct;
|
|
17458
17486
|
if (e === "caught-up" && t >= (wt ? yx : vx) || t >= bx) {
|
|
17459
|
-
Dt(),
|
|
17487
|
+
Dt(), ln();
|
|
17460
17488
|
return;
|
|
17461
17489
|
}
|
|
17462
17490
|
let n = xt[Math.min(Tt, xt.length - 1)];
|
|
@@ -17474,7 +17502,7 @@ var ux = { class: "pk-chatbot-view-chat__input-stage" }, dx = {
|
|
|
17474
17502
|
},
|
|
17475
17503
|
closeGrant: (e) => le.value.closeVoiceSession(p.agentId, e),
|
|
17476
17504
|
onTranscript: (e) => {
|
|
17477
|
-
e.role === "user" ? (yt.value = !0,
|
|
17505
|
+
e.role === "user" ? (yt.value = !0, sn(), Pe({
|
|
17478
17506
|
id: `${hf}user-${hl()}`,
|
|
17479
17507
|
role: "user",
|
|
17480
17508
|
parts: [{
|
|
@@ -17514,16 +17542,30 @@ var ux = { class: "pk-chatbot-view-chat__input-stage" }, dx = {
|
|
|
17514
17542
|
toolCallId: e.toolCallId,
|
|
17515
17543
|
output: e.confirmed ? "confirmed" : "cancelled"
|
|
17516
17544
|
});
|
|
17517
|
-
}, Xt =
|
|
17545
|
+
}, Xt = /* @__PURE__ */ new Set([
|
|
17546
|
+
"tool-editSpreadsheet",
|
|
17547
|
+
"tool-editWordDocument",
|
|
17548
|
+
"tool-createSpreadsheet",
|
|
17549
|
+
"tool-createWordDocument"
|
|
17550
|
+
]), Zt = U(() => {
|
|
17551
|
+
let e = /* @__PURE__ */ new Map();
|
|
17552
|
+
for (let t of S.value) for (let n of t.parts) {
|
|
17553
|
+
let { type: t, state: r, output: i } = n;
|
|
17554
|
+
Xt.has(t) && r === "output-available" && i?.fileId && i.version && e.set(i.fileId, Math.max(e.get(i.fileId) ?? 0, i.version));
|
|
17555
|
+
}
|
|
17556
|
+
return e;
|
|
17557
|
+
}), Qt = U(() => ae.value ? void 0 : (e) => {
|
|
17558
|
+
ie.value = Ue("messagePart.chatFileRestoreRequest", e), G();
|
|
17559
|
+
}), $t = (e, t) => {
|
|
17518
17560
|
qt(e, t) || (ie.value = t, G());
|
|
17519
|
-
},
|
|
17561
|
+
}, en = (e, t) => {
|
|
17520
17562
|
let n = t.error ? Ue("message.voiceLocationRefused") : Ue("message.voiceLocationShared", { place: t.displayName ?? `${t.latitude}, ${t.longitude}` });
|
|
17521
17563
|
qt(e, n) || Me({
|
|
17522
17564
|
tool: "requestGeolocation",
|
|
17523
17565
|
toolCallId: Ut(e),
|
|
17524
17566
|
output: t
|
|
17525
17567
|
});
|
|
17526
|
-
},
|
|
17568
|
+
}, tn = (e, t) => {
|
|
17527
17569
|
qt(e, Ue("message.voiceConnectionDone")) || Me({
|
|
17528
17570
|
tool: "requestOAuthConnection",
|
|
17529
17571
|
toolCallId: Ut(e),
|
|
@@ -17532,13 +17574,13 @@ var ux = { class: "pk-chatbot-view-chat__input-stage" }, dx = {
|
|
|
17532
17574
|
mcpServerId: t
|
|
17533
17575
|
}
|
|
17534
17576
|
});
|
|
17535
|
-
},
|
|
17577
|
+
}, nn = () => {
|
|
17536
17578
|
_t.value = !_t.value, jt.setMuted(_t.value);
|
|
17537
17579
|
};
|
|
17538
17580
|
ne(() => {
|
|
17539
17581
|
vt = !0, Dt();
|
|
17540
17582
|
});
|
|
17541
|
-
let { pendingWakeup:
|
|
17583
|
+
let { pendingWakeup: rn, isStopping: an, stop: on, spokenTurnStarted: sn, spokenTurnsWritten: cn, forgetSpokenTurns: ln } = lx({
|
|
17542
17584
|
agentId: () => p.agentId,
|
|
17543
17585
|
chatId: () => h.localChatId,
|
|
17544
17586
|
apiClient: () => le.value,
|
|
@@ -17627,7 +17669,7 @@ var ux = { class: "pk-chatbot-view-chat__input-stage" }, dx = {
|
|
|
17627
17669
|
])]),
|
|
17628
17670
|
"tool-showSuggestedReply": B(({ part: e }) => [F(E(i), {
|
|
17629
17671
|
part: e,
|
|
17630
|
-
onSelect: (t) =>
|
|
17672
|
+
onSelect: (t) => $t(e, t)
|
|
17631
17673
|
}, null, 8, ["part", "onSelect"])]),
|
|
17632
17674
|
"tool-showSources": B(({ part: e }) => [F(E(a), {
|
|
17633
17675
|
part: e,
|
|
@@ -17664,7 +17706,7 @@ var ux = { class: "pk-chatbot-view-chat__input-stage" }, dx = {
|
|
|
17664
17706
|
"backend-url": E(oe),
|
|
17665
17707
|
"resolve-connection": (e) => E(le).getOAuthAuthorizeUrl(p.agentId, e),
|
|
17666
17708
|
"check-connection": (e) => E(le).getOAuthConnectionStatus(p.agentId, e),
|
|
17667
|
-
onConnected: (t) =>
|
|
17709
|
+
onConnected: (t) => tn(e, t)
|
|
17668
17710
|
}, null, 8, [
|
|
17669
17711
|
"part",
|
|
17670
17712
|
"backend-url",
|
|
@@ -17676,7 +17718,7 @@ var ux = { class: "pk-chatbot-view-chat__input-stage" }, dx = {
|
|
|
17676
17718
|
part: e,
|
|
17677
17719
|
"call-live": E(jt).isActive.value,
|
|
17678
17720
|
"reverse-geocode": (e, t) => E(le).reverseGeocode(e, t),
|
|
17679
|
-
onResult: (t) =>
|
|
17721
|
+
onResult: (t) => en(e, t)
|
|
17680
17722
|
}, null, 8, [
|
|
17681
17723
|
"part",
|
|
17682
17724
|
"call-live",
|
|
@@ -17701,25 +17743,51 @@ var ux = { class: "pk-chatbot-view-chat__input-stage" }, dx = {
|
|
|
17701
17743
|
"tool-editSpreadsheet": B(({ part: e }) => [(P(), L(E(u), {
|
|
17702
17744
|
key: E(dt)(e),
|
|
17703
17745
|
part: e,
|
|
17704
|
-
"file-url": Se
|
|
17705
|
-
|
|
17746
|
+
"file-url": Se,
|
|
17747
|
+
preview: lt,
|
|
17748
|
+
"latest-versions": Zt.value,
|
|
17749
|
+
restore: Qt.value
|
|
17750
|
+
}, null, 8, [
|
|
17751
|
+
"part",
|
|
17752
|
+
"latest-versions",
|
|
17753
|
+
"restore"
|
|
17754
|
+
]))]),
|
|
17706
17755
|
"tool-editWordDocument": B(({ part: e }) => [(P(), L(E(u), {
|
|
17707
17756
|
key: E(dt)(e),
|
|
17708
17757
|
part: e,
|
|
17709
17758
|
"file-url": Se,
|
|
17710
|
-
preview: lt
|
|
17711
|
-
|
|
17759
|
+
preview: lt,
|
|
17760
|
+
"latest-versions": Zt.value,
|
|
17761
|
+
restore: Qt.value
|
|
17762
|
+
}, null, 8, [
|
|
17763
|
+
"part",
|
|
17764
|
+
"latest-versions",
|
|
17765
|
+
"restore"
|
|
17766
|
+
]))]),
|
|
17712
17767
|
"tool-createSpreadsheet": B(({ part: e }) => [(P(), L(E(u), {
|
|
17713
17768
|
key: E(dt)(e),
|
|
17714
17769
|
part: e,
|
|
17715
|
-
"file-url": Se
|
|
17716
|
-
|
|
17770
|
+
"file-url": Se,
|
|
17771
|
+
preview: lt,
|
|
17772
|
+
"latest-versions": Zt.value,
|
|
17773
|
+
restore: Qt.value
|
|
17774
|
+
}, null, 8, [
|
|
17775
|
+
"part",
|
|
17776
|
+
"latest-versions",
|
|
17777
|
+
"restore"
|
|
17778
|
+
]))]),
|
|
17717
17779
|
"tool-createWordDocument": B(({ part: e }) => [(P(), L(E(u), {
|
|
17718
17780
|
key: E(dt)(e),
|
|
17719
17781
|
part: e,
|
|
17720
17782
|
"file-url": Se,
|
|
17721
|
-
preview: lt
|
|
17722
|
-
|
|
17783
|
+
preview: lt,
|
|
17784
|
+
"latest-versions": Zt.value,
|
|
17785
|
+
restore: Qt.value
|
|
17786
|
+
}, null, 8, [
|
|
17787
|
+
"part",
|
|
17788
|
+
"latest-versions",
|
|
17789
|
+
"restore"
|
|
17790
|
+
]))]),
|
|
17723
17791
|
"tool-shareDocument": B(({ part: e }) => [(P(), L(E(d), {
|
|
17724
17792
|
key: E(dt)(e),
|
|
17725
17793
|
part: e,
|
|
@@ -17748,11 +17816,11 @@ var ux = { class: "pk-chatbot-view-chat__input-stage" }, dx = {
|
|
|
17748
17816
|
})) : q("", !0)]),
|
|
17749
17817
|
_: 1
|
|
17750
17818
|
}),
|
|
17751
|
-
E(
|
|
17819
|
+
E(rn) && !E(ae) ? (P(), L(rx, {
|
|
17752
17820
|
key: 0,
|
|
17753
|
-
pending: E(
|
|
17754
|
-
stopping: E(
|
|
17755
|
-
onStop: E(
|
|
17821
|
+
pending: E(rn),
|
|
17822
|
+
stopping: E(an),
|
|
17823
|
+
onStop: E(on)
|
|
17756
17824
|
}, null, 8, [
|
|
17757
17825
|
"pending",
|
|
17758
17826
|
"stopping",
|
|
@@ -17825,7 +17893,7 @@ var ux = { class: "pk-chatbot-view-chat__input-stage" }, dx = {
|
|
|
17825
17893
|
"raw-error": E(jt).error.value,
|
|
17826
17894
|
live: E(jt).isActive.value,
|
|
17827
17895
|
class: "pk-chatbot-view-chat__voice",
|
|
17828
|
-
onToggleMute:
|
|
17896
|
+
onToggleMute: nn,
|
|
17829
17897
|
onHangUp: Bt,
|
|
17830
17898
|
onRetry: Ht,
|
|
17831
17899
|
onDismiss: Vt
|
|
@@ -17847,6 +17915,7 @@ var ux = { class: "pk-chatbot-view-chat__input-stage" }, dx = {
|
|
|
17847
17915
|
}),
|
|
17848
17916
|
it.value && nt.value ? (P(), Z("aside", hx, [F(E(f), {
|
|
17849
17917
|
closable: "",
|
|
17918
|
+
kind: it.value.kind,
|
|
17850
17919
|
filename: it.value.filename,
|
|
17851
17920
|
version: it.value.version,
|
|
17852
17921
|
"download-url": Se(it.value.storedFileName),
|
|
@@ -17855,6 +17924,7 @@ var ux = { class: "pk-chatbot-view-chat__input-stage" }, dx = {
|
|
|
17855
17924
|
error: st.value,
|
|
17856
17925
|
onClose: ut
|
|
17857
17926
|
}, null, 8, [
|
|
17927
|
+
"kind",
|
|
17858
17928
|
"filename",
|
|
17859
17929
|
"version",
|
|
17860
17930
|
"download-url",
|
|
@@ -17872,6 +17942,7 @@ var ux = { class: "pk-chatbot-view-chat__input-stage" }, dx = {
|
|
|
17872
17942
|
class: "pk-chatbot-view-chat__preview-dialog"
|
|
17873
17943
|
}, {
|
|
17874
17944
|
default: B(() => [F(E(f), {
|
|
17945
|
+
kind: it.value.kind,
|
|
17875
17946
|
filename: it.value.filename,
|
|
17876
17947
|
version: it.value.version,
|
|
17877
17948
|
"download-url": Se(it.value.storedFileName),
|
|
@@ -17879,6 +17950,7 @@ var ux = { class: "pk-chatbot-view-chat__input-stage" }, dx = {
|
|
|
17879
17950
|
loading: ot.value,
|
|
17880
17951
|
error: st.value
|
|
17881
17952
|
}, null, 8, [
|
|
17953
|
+
"kind",
|
|
17882
17954
|
"filename",
|
|
17883
17955
|
"version",
|
|
17884
17956
|
"download-url",
|