@8wave/ai-elements 0.123.0-beta.16 → 0.123.0-beta.18

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 (95) hide show
  1. package/dist/_chunks/PkFilePreview-DXmgMwwu.js +1143 -0
  2. package/dist/_chunks/PkFilePreview-DXmgMwwu.js.map +1 -0
  3. package/dist/_chunks/{PkFilePreviewDialog-nibxELSF.js → PkFilePreviewDialog-Bzt534GA.js} +2 -2
  4. package/dist/_chunks/{PkFilePreviewDialog-nibxELSF.js.map → PkFilePreviewDialog-Bzt534GA.js.map} +1 -1
  5. package/dist/_chunks/{PkStreamingMarkdown-C6cFkf82.js → PkStreamingMarkdown-PQ3X83Fq.js} +2 -2
  6. package/dist/_chunks/{PkStreamingMarkdown-C6cFkf82.js.map → PkStreamingMarkdown-PQ3X83Fq.js.map} +1 -1
  7. package/dist/_chunks/{PkToolChatFile-5t_1vL81.js → PkToolChatFile-CYxqugvO.js} +2 -2
  8. package/dist/_chunks/{PkToolChatFile-5t_1vL81.js.map → PkToolChatFile-CYxqugvO.js.map} +1 -1
  9. package/dist/_chunks/{PkToolShowArtifact-DV78g_yD.js → PkToolShowArtifact-BIpD-GkV.js} +2 -2
  10. package/dist/_chunks/{PkToolShowArtifact-DV78g_yD.js.map → PkToolShowArtifact-BIpD-GkV.js.map} +1 -1
  11. package/dist/_chunks/{PkToolShowContactForm-Bnjy0g50.js → PkToolShowContactForm-2_YDqjeM.js} +2 -2
  12. package/dist/_chunks/{PkToolShowContactForm-Bnjy0g50.js.map → PkToolShowContactForm-2_YDqjeM.js.map} +1 -1
  13. package/dist/_chunks/{PkToolShowForm-CT5_ln9b.js → PkToolShowForm-Bu4igmQL.js} +5 -5
  14. package/dist/_chunks/{PkToolShowForm-CT5_ln9b.js.map → PkToolShowForm-Bu4igmQL.js.map} +1 -1
  15. package/dist/_chunks/{PkToolShowSources-DhZ5I_J-.js → PkToolShowSources-DKtdU_Bq.js} +2 -2
  16. package/dist/_chunks/{PkToolShowSources-DhZ5I_J-.js.map → PkToolShowSources-DKtdU_Bq.js.map} +1 -1
  17. package/dist/_chunks/{utils-B5VcWm3g.js → utils-Bz1Gb3iO.js} +114 -77
  18. package/dist/_chunks/utils-Bz1Gb3iO.js.map +1 -0
  19. package/dist/ai-elements.es.js +252 -252
  20. package/dist/ai-elements.es.js.map +1 -1
  21. package/dist-vue/PkChatbot.js +1 -1
  22. package/dist-vue/PkChatbotEmptyState.js +1 -1
  23. package/dist-vue/PkChatbotInput.js +1 -1
  24. package/dist-vue/PkChatbotMessages.js +1 -1
  25. package/dist-vue/PkChatbotStepPayload.js +1 -1
  26. package/dist-vue/PkChatbotStepToolDetail.js +1 -1
  27. package/dist-vue/PkChatbotSteps.js +1 -1
  28. package/dist-vue/PkChatbotViewChat.js +1 -1
  29. package/dist-vue/PkChatbotViewConversations.js +1 -1
  30. package/dist-vue/_chunks/{PkChatbot-tq-fJUij.js → PkChatbot-MEYD0XUR.js} +5 -5
  31. package/dist-vue/_chunks/{PkChatbot-tq-fJUij.js.map → PkChatbot-MEYD0XUR.js.map} +1 -1
  32. package/dist-vue/_chunks/{PkChatbotEmptyState-Dp0_UPJm.js → PkChatbotEmptyState-qKpfIuvI.js} +2 -2
  33. package/dist-vue/_chunks/{PkChatbotEmptyState-Dp0_UPJm.js.map → PkChatbotEmptyState-qKpfIuvI.js.map} +1 -1
  34. package/dist-vue/_chunks/{PkChatbotInput-B_kPnNNB.js → PkChatbotInput-DSH5IrO6.js} +2 -2
  35. package/dist-vue/_chunks/{PkChatbotInput-B_kPnNNB.js.map → PkChatbotInput-DSH5IrO6.js.map} +1 -1
  36. package/dist-vue/_chunks/{PkChatbotMessages-BTZOic9V.js → PkChatbotMessages-BcHNPZUB.js} +327 -327
  37. package/dist-vue/_chunks/{PkChatbotMessages-BTZOic9V.js.map → PkChatbotMessages-BcHNPZUB.js.map} +1 -1
  38. package/dist-vue/_chunks/{PkChatbotStepPayload-CoGCHBhJ.js → PkChatbotStepPayload-BT-Xg18D.js} +2 -2
  39. package/dist-vue/_chunks/{PkChatbotStepPayload-CoGCHBhJ.js.map → PkChatbotStepPayload-BT-Xg18D.js.map} +1 -1
  40. package/dist-vue/_chunks/{PkChatbotStepToolDetail-BJtIZBF0.js → PkChatbotStepToolDetail-Cs322RDk.js} +16 -16
  41. package/dist-vue/_chunks/{PkChatbotStepToolDetail-BJtIZBF0.js.map → PkChatbotStepToolDetail-Cs322RDk.js.map} +1 -1
  42. package/dist-vue/_chunks/{PkChatbotSteps-CEJNclG4.js → PkChatbotSteps-Dd62GEXJ.js} +23 -23
  43. package/dist-vue/_chunks/{PkChatbotSteps-CEJNclG4.js.map → PkChatbotSteps-Dd62GEXJ.js.map} +1 -1
  44. package/dist-vue/_chunks/{PkChatbotViewChat-CnEOSH32.js → PkChatbotViewChat-CfpGWukX.js} +9 -9
  45. package/dist-vue/_chunks/{PkChatbotViewChat-CnEOSH32.js.map → PkChatbotViewChat-CfpGWukX.js.map} +1 -1
  46. package/dist-vue/_chunks/{PkChatbotViewConversations-D7j5P1RO.js → PkChatbotViewConversations-JCrQIoGf.js} +2 -2
  47. package/dist-vue/_chunks/{PkChatbotViewConversations-D7j5P1RO.js.map → PkChatbotViewConversations-JCrQIoGf.js.map} +1 -1
  48. package/dist-vue/_chunks/PkFilePreview-CFqcO3vY.js +1126 -0
  49. package/dist-vue/_chunks/PkFilePreview-CFqcO3vY.js.map +1 -0
  50. package/dist-vue/_chunks/{PkFilePreviewDialog-Cic7gmVR.js → PkFilePreviewDialog-DeNnbXWq.js} +2 -2
  51. package/dist-vue/_chunks/{PkFilePreviewDialog-Cic7gmVR.js.map → PkFilePreviewDialog-DeNnbXWq.js.map} +1 -1
  52. package/dist-vue/_chunks/{PkStreamingMarkdown-CYlCIfA0.js → PkStreamingMarkdown-QDsT-4jC.js} +2 -2
  53. package/dist-vue/_chunks/{PkStreamingMarkdown-CYlCIfA0.js.map → PkStreamingMarkdown-QDsT-4jC.js.map} +1 -1
  54. package/dist-vue/_chunks/{PkToolChatFile-B_PeJef8.js → PkToolChatFile-UZeUytvT.js} +2 -2
  55. package/dist-vue/_chunks/{PkToolChatFile-B_PeJef8.js.map → PkToolChatFile-UZeUytvT.js.map} +1 -1
  56. package/dist-vue/_chunks/{PkToolShowArtifact-Bh-jIo0V.js → PkToolShowArtifact-ldnH-U3h.js} +2 -2
  57. package/dist-vue/_chunks/{PkToolShowArtifact-Bh-jIo0V.js.map → PkToolShowArtifact-ldnH-U3h.js.map} +1 -1
  58. package/dist-vue/_chunks/{PkToolShowContactForm-BjfRuNuj.js → PkToolShowContactForm-4hISKYqb.js} +2 -2
  59. package/dist-vue/_chunks/{PkToolShowContactForm-BjfRuNuj.js.map → PkToolShowContactForm-4hISKYqb.js.map} +1 -1
  60. package/dist-vue/_chunks/{PkToolShowDiagram-_NnrFDGT.js → PkToolShowDiagram-uHFCQ0FJ.js} +2 -2
  61. package/dist-vue/_chunks/{PkToolShowDiagram-_NnrFDGT.js.map → PkToolShowDiagram-uHFCQ0FJ.js.map} +1 -1
  62. package/dist-vue/_chunks/{PkToolShowForm-AqEY4_do.js → PkToolShowForm-DiUz5_Ct.js} +5 -5
  63. package/dist-vue/_chunks/{PkToolShowForm-AqEY4_do.js.map → PkToolShowForm-DiUz5_Ct.js.map} +1 -1
  64. package/dist-vue/_chunks/{PkToolShowImageGallery-DM5AJNZ3.js → PkToolShowImageGallery-CEzeXupr.js} +2 -2
  65. package/dist-vue/_chunks/{PkToolShowImageGallery-DM5AJNZ3.js.map → PkToolShowImageGallery-CEzeXupr.js.map} +1 -1
  66. package/dist-vue/_chunks/{PkToolShowProductList-CAV8be9a.js → PkToolShowProductList-h4Dqvk1V.js} +2 -2
  67. package/dist-vue/_chunks/{PkToolShowProductList-CAV8be9a.js.map → PkToolShowProductList-h4Dqvk1V.js.map} +1 -1
  68. package/dist-vue/_chunks/{PkToolShowSources-CriswKr_.js → PkToolShowSources-BJd4zYAY.js} +2 -2
  69. package/dist-vue/_chunks/{PkToolShowSources-CriswKr_.js.map → PkToolShowSources-BJd4zYAY.js.map} +1 -1
  70. package/dist-vue/_chunks/{PkToolShowVideo-FSWM5MOl.js → PkToolShowVideo-DgkpZriW.js} +2 -2
  71. package/dist-vue/_chunks/{PkToolShowVideo-FSWM5MOl.js.map → PkToolShowVideo-DgkpZriW.js.map} +1 -1
  72. package/dist-vue/_chunks/{PkToolShowWebPages-CPhm2ba3.js → PkToolShowWebPages-DQr3SEGC.js} +2 -2
  73. package/dist-vue/_chunks/{PkToolShowWebPages-CPhm2ba3.js.map → PkToolShowWebPages-DQr3SEGC.js.map} +1 -1
  74. package/dist-vue/_chunks/{utils-BgvjC1Pu.js → utils-DmBnucJs.js} +129 -92
  75. package/dist-vue/_chunks/utils-DmBnucJs.js.map +1 -0
  76. package/dist-vue/composables.js +1 -1
  77. package/dist-vue/composables.js.map +1 -1
  78. package/dist-vue/index.js +32 -32
  79. package/dist-vue/index.js.map +1 -1
  80. package/dist-vue/packages/components/src/chat/PkWordPreview.d.ts +3 -1
  81. package/dist-vue/packages/components/src/chat/PkWordPreviewBlock.d.ts +9 -3
  82. package/dist-vue/packages/components/src/chat/PkWordPreviewPart.d.ts +20 -0
  83. package/dist-vue/packages/components/src/chat/PkWordPreviewRuns.d.ts +12 -3
  84. package/dist-vue/packages/components/src/chat/useChatFilePreview.d.ts +420 -0
  85. package/dist-vue/packages/components/src/chat/utils.d.ts +49 -1
  86. package/dist-vue/packages/models/src/schema/SpreadsheetPreview.d.ts +339 -0
  87. package/dist-vue/packages/models/src/schema/WordPreview.d.ts +571 -0
  88. package/dist-vue/style.css +1 -1
  89. package/package.json +1 -1
  90. package/dist/_chunks/PkFilePreview-Bcdfci6i.js +0 -948
  91. package/dist/_chunks/PkFilePreview-Bcdfci6i.js.map +0 -1
  92. package/dist/_chunks/utils-B5VcWm3g.js.map +0 -1
  93. package/dist-vue/_chunks/PkFilePreview-BKwnNsyV.js +0 -934
  94. package/dist-vue/_chunks/PkFilePreview-BKwnNsyV.js.map +0 -1
  95. package/dist-vue/_chunks/utils-BgvjC1Pu.js.map +0 -1
package/dist-vue/index.js CHANGED
@@ -1,60 +1,60 @@
1
1
  import { t as e } from "./_chunks/rolldown-runtime-CGnMp29N.js";
2
2
  import { t } from "./_chunks/PkEditorRadioButtons-Bw576DPQ.js";
3
3
  import { E as n, S as r, T as i, _ as a, f as o, m as s, o as c, r as l, s as u, u as d, v as f, w as p, x as m, y as h } from "./_chunks/schemas-BO5QlXAp.js";
4
- import { t as g } from "./_chunks/PkChatbotMessages-BTZOic9V.js";
4
+ import { t as g } from "./_chunks/PkChatbotMessages-BcHNPZUB.js";
5
5
  import { a as _, i as v, l as y, n as b, r as x } from "./_chunks/Media-DylqhvaF.js";
6
6
  import { C as S, E as C, F as w, G as ee, H as te, I as ne, J as re, K as ie, L as ae, M as oe, N as se, P as ce, R as le, T as ue, X as de, Y as fe, a as pe, at as me, b as he, ct as ge, d as _e, f as ve, ft as ye, i as be, it as xe, lt as Se, nt as Ce, ot as we, p as Te, q as Ee, r as T, rt as De, s as Oe, st as ke, t as Ae, v as je, w as Me, x as Ne, z as Pe } from "./_chunks/Agent-D3US-D1x.js";
7
7
  import { c as Fe, d as Ie, l as Le, r as Re, s as ze, t as Be, u as Ve } from "./_chunks/Document-D5FVOcP9.js";
8
8
  import { a as He, i as Ue, n as We } from "./_chunks/createChatbotApiClient-CFKeOgEA.js";
9
9
  import { t as Ge } from "./_chunks/PkChatbotAuth-Btxg3TF0.js";
10
10
  import { t as Ke } from "./_chunks/VvButtonLocalized-C-vx25u4.js";
11
- import { n as qe, t as Je } from "./_chunks/PkStreamingMarkdown-CYlCIfA0.js";
11
+ import { n as qe, t as Je } from "./_chunks/PkStreamingMarkdown-QDsT-4jC.js";
12
12
  import { a as Ye, i as Xe, n as Ze, r as Qe } from "./_chunks/useChatbotStore--6ws3cew.js";
13
13
  import "./_chunks/src-nb8MU1sh.js";
14
14
  import { a as $e, l as et, u as tt } from "./_chunks/message-DuibQyHy.js";
15
- import { L as nt, O as rt, P as it, R as at, T as ot, _ as st, h as ct, j as lt, p as ut, z as dt } from "./_chunks/utils-BgvjC1Pu.js";
15
+ import { E as nt, F as rt, G as it, K as at, M as ot, W as st, g as ct, k as lt, m as ut, v as dt } from "./_chunks/utils-DmBnucJs.js";
16
16
  import { t as ft } from "./_chunks/useSafeLocalStorage-Bn4SsL8C.js";
17
17
  import { t as pt } from "./_chunks/useDialogConfirm-fn7iV-iE.js";
18
- import { i as mt, n as ht, r as gt, t as _t } from "./_chunks/PkChatbotViewConversations-D7j5P1RO.js";
19
- import { a as vt, i as yt, n as bt, o as xt, r as St, t as Ct } from "./_chunks/PkChatbotViewChat-CnEOSH32.js";
18
+ import { i as mt, n as ht, r as gt, t as _t } from "./_chunks/PkChatbotViewConversations-JCrQIoGf.js";
19
+ import { a as vt, i as yt, n as bt, o as xt, r as St, t as Ct } from "./_chunks/PkChatbotViewChat-CfpGWukX.js";
20
20
  import { t as wt } from "./_chunks/PkChatbotError-BS84xuiu.js";
21
21
  import { t as Tt } from "./_chunks/useImageFallback-HUe4GHah.js";
22
22
  import { t as Et } from "./_chunks/useLocalizedString-Dmn92nix.js";
23
23
  import { n as Dt, t as Ot } from "./_chunks/PkRelativeTime-CZF5CYHv.js";
24
- import { r as kt, t as At } from "./_chunks/PkToolShowArtifact-Bh-jIo0V.js";
24
+ import { r as kt, t as At } from "./_chunks/PkToolShowArtifact-ldnH-U3h.js";
25
25
  import { $ as jt, A as Mt, B as Nt, C as Pt, Ct as Ft, D as It, E as Lt, F as Rt, G as zt, H as Bt, I as Vt, J as Ht, K as Ut, L as Wt, M as Gt, N as E, Q as Kt, S as qt, St as Jt, T as Yt, Tt as Xt, U as Zt, V as Qt, W as $t, X as en, _t as tn, a as nn, at as rn, b as an, bt as on, c as sn, ct as cn, d as ln, dt as un, et as dn, f as fn, gt as pn, h as mn, it as hn, j as gn, k as _n, l as D, lt as O, mt as vn, nt as yn, o as bn, ot as xn, pt as Sn, q as Cn, rt as wn, st as Tn, tt as En, u as Dn, ut as On, vt as kn, w as An, wt as jn, x as Mn, xt as Nn, y as Pn, yt as Fn, z as In } from "./_chunks/dist-DtxVAOxm.js";
26
26
  import { n as Ln, t as Rn } from "./_chunks/dist-CKKe4gMX.js";
27
27
  import { n as zn, r as Bn } from "./_chunks/dist-DTy4614p.js";
28
- import { r as Vn, t as Hn } from "./_chunks/PkToolShowForm-AqEY4_do.js";
28
+ import { r as Vn, t as Hn } from "./_chunks/PkToolShowForm-DiUz5_Ct.js";
29
29
  import { t as Un } from "./_chunks/PkLazyImg-D_Tmtfz3.js";
30
30
  import { n as Wn, r as Gn, t as Kn } from "./_chunks/PkChatbotFilePreview-KxVpL0UT.js";
31
31
  import { t as qn } from "./_chunks/PkSvgViewer-DBYr0CUi.js";
32
32
  import { t as Jn } from "./_chunks/PkUrl-IFszepUi.js";
33
33
  import { t as Yn } from "./_chunks/PkAvatar-DwtZWSW4.js";
34
34
  import { t as Xn } from "./_chunks/PkChatbotFeedbackForm-Bh3tvNUW.js";
35
- import { n as Zn, t as Qn } from "./_chunks/PkChatbotSteps-CEJNclG4.js";
36
- import { t as $n } from "./_chunks/PkChatbotStepPayload-CoGCHBhJ.js";
37
- import { t as er } from "./_chunks/PkChatbotStepToolDetail-BJtIZBF0.js";
38
- import { n as tr, t as nr } from "./_chunks/PkChatbotInput-B_kPnNNB.js";
39
- import { t as rr } from "./_chunks/PkChatbotEmptyState-Dp0_UPJm.js";
35
+ import { n as Zn, t as Qn } from "./_chunks/PkChatbotSteps-Dd62GEXJ.js";
36
+ import { t as $n } from "./_chunks/PkChatbotStepPayload-BT-Xg18D.js";
37
+ import { t as er } from "./_chunks/PkChatbotStepToolDetail-Cs322RDk.js";
38
+ import { n as tr, t as nr } from "./_chunks/PkChatbotInput-DSH5IrO6.js";
39
+ import { t as rr } from "./_chunks/PkChatbotEmptyState-qKpfIuvI.js";
40
40
  import { t as ir } from "./_chunks/PkChatbotViewProfile--TWIrhYk.js";
41
- import { t as ar } from "./_chunks/PkChatbot-tq-fJUij.js";
42
- import { i as or, r as sr, t as cr } from "./_chunks/PkToolShowSources-CriswKr_.js";
41
+ import { t as ar } from "./_chunks/PkChatbot-MEYD0XUR.js";
42
+ import { i as or, r as sr, t as cr } from "./_chunks/PkToolShowSources-BJd4zYAY.js";
43
43
  import { t as lr } from "./_chunks/mcpOAuthReport-D-MtFYwN.js";
44
44
  import { t as ur } from "./_chunks/PkToolShowEmail-BehvoNsz.js";
45
45
  import { t as dr } from "./_chunks/PkToolShowMessage-Cca7K7GQ.js";
46
- import { t as fr } from "./_chunks/PkToolShowWebPages-CPhm2ba3.js";
47
- import { t as pr } from "./_chunks/PkToolShowProductList-CAV8be9a.js";
48
- import { t as mr } from "./_chunks/PkToolShowContactForm-BjfRuNuj.js";
46
+ import { t as fr } from "./_chunks/PkToolShowWebPages-DQr3SEGC.js";
47
+ import { t as pr } from "./_chunks/PkToolShowProductList-h4Dqvk1V.js";
48
+ import { t as mr } from "./_chunks/PkToolShowContactForm-4hISKYqb.js";
49
49
  import { t as hr } from "./_chunks/PkToolShowCalendarEvent-BsAOYLjp.js";
50
50
  import { t as gr } from "./_chunks/PkToolShowComparison-BEHyRNXE.js";
51
51
  import { t as _r } from "./_chunks/PkToolShowLocation-DAQEuCuQ.js";
52
52
  import { t as vr } from "./_chunks/PkToolShowQrCode-skWaARYV.js";
53
- import { t as yr } from "./_chunks/PkToolShowImageGallery-DM5AJNZ3.js";
53
+ import { t as yr } from "./_chunks/PkToolShowImageGallery-CEzeXupr.js";
54
54
  import { t as br } from "./_chunks/PkToolShowSuggestedReply-Bb7Inxa4.js";
55
55
  import { t as xr } from "./_chunks/PkToolShareDocument-CsS5OTDj.js";
56
- import { t as Sr } from "./_chunks/PkToolChatFile-B_PeJef8.js";
57
- import { t as Cr } from "./_chunks/PkFilePreviewDialog-Cic7gmVR.js";
56
+ import { t as Sr } from "./_chunks/PkToolChatFile-UZeUytvT.js";
57
+ import { t as Cr } from "./_chunks/PkFilePreviewDialog-DeNnbXWq.js";
58
58
  import { t as wr } from "./_chunks/PkToolRequestGeolocation-gEDbmudT.js";
59
59
  import { VvAccordion as Tr, VvAccordionGroup as Er, VvAlert as Dr, VvAlertGroup as Or, VvBadge as kr, VvButtonGroup as Ar, VvCheckbox as jr, VvCombobox as Mr, VvDialog as Nr, VvDropdown as Pr, VvDropdownAction as Fr, VvIcon as Ir, VvInputFile as Lr, VvInputRange as Rr, VvInputText as zr, VvTab as Br } from "@volverjs/ui-vue/components";
60
60
  import { Fragment as k, Teleport as Vr, Transition as Hr, TransitionGroup as Ur, cloneVNode as Wr, computed as A, createApp as Gr, createBlock as j, createCommentVNode as M, createElementBlock as N, createElementVNode as P, createSlots as Kr, createStaticVNode as qr, createTextVNode as F, createVNode as I, defineComponent as L, guardReactiveProps as Jr, h as Yr, inject as R, isRef as Xr, isVNode as Zr, mergeModels as Qr, mergeProps as $r, nextTick as ei, normalizeClass as ti, normalizeProps as ni, normalizeStyle as ri, onBeforeUnmount as ii, onMounted as ai, onUnmounted as oi, openBlock as z, provide as si, reactive as ci, readonly as li, ref as B, renderList as ui, renderSlot as di, resolveComponent as fi, resolveDynamicComponent as pi, shallowRef as mi, toDisplayString as V, toRef as hi, toRefs as gi, unref as H, useId as _i, useModel as U, useSlots as vi, useTemplateRef as yi, vModelSelect as bi, vModelText as xi, watch as W, withCtx as G, withDirectives as Si, withKeys as Ci, withModifiers as wi } from "vue";
@@ -20444,7 +20444,7 @@ var YE = Le, XE = .6, ZE = pe.parse({}), QE = /* @__PURE__ */ L({
20444
20444
  }, w = U(e, "messagePlaceholder"), ee = U(e, "dismissableNotice"), te = U(e, "footerMessage"), re = U(e, "model"), ie = A(() => Ie(re.value)), ae = A(() => d.catalog?.find((e) => e.id === re.value)), se = A(() => {
20445
20445
  let e = ae.value;
20446
20446
  if (e) return e.retired ? r("hint.modelRetired") : Ut.value && e.zdr === la.None || Wt.value && e.noTraining === la.None ? r("hint.modelNotCompatible") : Ut.value && e.zdr === la.Some || Wt.value && e.noTraining === la.Some ? r("hint.modelGuaranteedOnSome") : e.contextWindow ? r("hint.modelContextWindow", { count: a(Math.round(e.contextWindow / 1e3)) }) : void 0;
20447
- }), ue = U(e, "temperature"), de = U(e, "prompt"), fe = U(e, "status"), pe = U(e, "visibility"), me = U(e, "limit"), he = U(e, "maxStepCount"), ge = U(e, "maxOutputTokens"), ye = U(e, "presencePenalty"), xe = U(e, "frequencyPenalty"), Se = U(e, "searchMode"), Ce = U(e, "reasoning"), we = U(e, "webSearch"), Ee = U(e, "theme"), De = U(e, "mainColor"), ke = U(e, "textColor"), Ae = U(e, "useColorsForAgentHeader"), je = U(e, "welcomePopup"), Me = U(e, "interactiveLogin"), Ne = U(e, "floatingButtonPosition"), Fe = U(e, "layout"), Le = U(e, "workingGlow"), Re = U(e, "appearance"), ze = U(e, "hideFloatingButton"), Be = U(e, "copilotPageCss"), Ve = U(e, "maxMessageLength"), He = U(e, "media"), Ue = U(e, "minuteRateLimit"), We = U(e, "hourRateLimit"), Ge = U(e, "dayRateLimit"), qe = U(e, "monthRateLimit"), Je = U(e, "trustedOrigins"), Ye = U(e, "imageHosts"), Xe = U(e, "disabledTools"), Ze = U(e, "shareDocumentEnabled"), Qe = U(e, "createSpreadsheetEnabled"), $e = U(e, "createWordDocumentEnabled"), et = U(e, "approvalTools"), tt = U(e, "useAllUserKb"), nt = U(e, "useAllUserFiles"), rt = U(e, "formMaxSteps"), at = U(e, "formMaxOptionsPerStep"), ot = U(e, "widgetUrl"), st = U(e, "loadDelay"), ct = U(e, "loaderStrategy"), lt = U(e, "fileUploadEnabled"), ut = U(e, "toolWorkingSetMode"), dt = U(e, "voiceEnabled"), ft = U(e, "voiceMaxSessionSeconds"), pt = U(e, "voiceId"), mt = U(e, "voiceLanguage"), ht = U(e, "voiceFirstMessage"), gt = U(e, "voiceCascadeTimeoutSeconds"), _t = U(e, "voiceFillerAfterSeconds"), vt = U(e, "voiceFillerMessage"), yt = U(e, "voiceIgnoreBackgroundVoices"), bt = U(e, "voiceTurnEagerness"), xt = U(e, "voiceTurnTimeoutSeconds"), St = [
20447
+ }), ue = U(e, "temperature"), de = U(e, "prompt"), fe = U(e, "status"), pe = U(e, "visibility"), me = U(e, "limit"), he = U(e, "maxStepCount"), ge = U(e, "maxOutputTokens"), ye = U(e, "presencePenalty"), xe = U(e, "frequencyPenalty"), Se = U(e, "searchMode"), Ce = U(e, "reasoning"), we = U(e, "webSearch"), Ee = U(e, "theme"), De = U(e, "mainColor"), ke = U(e, "textColor"), Ae = U(e, "useColorsForAgentHeader"), je = U(e, "welcomePopup"), Me = U(e, "interactiveLogin"), Ne = U(e, "floatingButtonPosition"), Fe = U(e, "layout"), Le = U(e, "workingGlow"), Re = U(e, "appearance"), ze = U(e, "hideFloatingButton"), Be = U(e, "copilotPageCss"), Ve = U(e, "maxMessageLength"), He = U(e, "media"), Ue = U(e, "minuteRateLimit"), We = U(e, "hourRateLimit"), Ge = U(e, "dayRateLimit"), qe = U(e, "monthRateLimit"), Je = U(e, "trustedOrigins"), Ye = U(e, "imageHosts"), Xe = U(e, "disabledTools"), Ze = U(e, "shareDocumentEnabled"), Qe = U(e, "createSpreadsheetEnabled"), $e = U(e, "createWordDocumentEnabled"), et = U(e, "approvalTools"), tt = U(e, "useAllUserKb"), nt = U(e, "useAllUserFiles"), it = U(e, "formMaxSteps"), at = U(e, "formMaxOptionsPerStep"), ot = U(e, "widgetUrl"), st = U(e, "loadDelay"), ct = U(e, "loaderStrategy"), lt = U(e, "fileUploadEnabled"), ut = U(e, "toolWorkingSetMode"), dt = U(e, "voiceEnabled"), ft = U(e, "voiceMaxSessionSeconds"), pt = U(e, "voiceId"), mt = U(e, "voiceLanguage"), ht = U(e, "voiceFirstMessage"), gt = U(e, "voiceCascadeTimeoutSeconds"), _t = U(e, "voiceFillerAfterSeconds"), vt = U(e, "voiceFillerMessage"), yt = U(e, "voiceIgnoreBackgroundVoices"), bt = U(e, "voiceTurnEagerness"), xt = U(e, "voiceTurnTimeoutSeconds"), St = [
20448
20448
  "it",
20449
20449
  "en",
20450
20450
  "es",
@@ -20699,7 +20699,7 @@ var YE = Le, XE = .6, ZE = pe.parse({}), QE = /* @__PURE__ */ L({
20699
20699
  function vn(e) {
20700
20700
  return et.value.includes(e);
20701
20701
  }
20702
- let yn = A(() => et.value.filter((e) => ce(e) && D(e)).map((e) => it(e, {
20702
+ let yn = A(() => et.value.filter((e) => ce(e) && D(e)).map((e) => rt(e, {
20703
20703
  t: r,
20704
20704
  te: i
20705
20705
  })));
@@ -22193,8 +22193,8 @@ var YE = Le, XE = .6, ZE = pe.parse({}), QE = /* @__PURE__ */ L({
22193
22193
  }, {
22194
22194
  default: G(() => [P("div", TO, [
22195
22195
  t === H(T).ShowForm ? (z(), N("div", EO, [I(p, {
22196
- modelValue: rt.value,
22197
- "onUpdate:modelValue": o[63] ||= (e) => rt.value = e,
22196
+ modelValue: it.value,
22197
+ "onUpdate:modelValue": o[63] ||= (e) => it.value = e,
22198
22198
  name: "formMaxSteps",
22199
22199
  type: "number",
22200
22200
  min: 1,
@@ -23545,7 +23545,7 @@ var YE = Le, XE = .6, ZE = pe.parse({}), QE = /* @__PURE__ */ L({
23545
23545
  e.message?.metadata?.resolvedProvider ? (z(), N("span", EA, [I(p, {
23546
23546
  name: "ri:cloud-line",
23547
23547
  class: "shrink-0"
23548
- }), P("span", DA, [F(V(H(lt)(e.message.metadata.resolvedProvider)) + " ", 1), e.message.metadata.resolvedModelId ? (z(), N(k, { key: 0 }, [F(" (" + V(e.message.metadata.resolvedModelId) + ") ", 1)], 64)) : M("", !0)])])) : M("", !0),
23548
+ }), P("span", DA, [F(V(H(ot)(e.message.metadata.resolvedProvider)) + " ", 1), e.message.metadata.resolvedModelId ? (z(), N(k, { key: 0 }, [F(" (" + V(e.message.metadata.resolvedModelId) + ") ", 1)], 64)) : M("", !0)])])) : M("", !0),
23549
23549
  e.message?.metadata?.totalTokens ? (z(), N("span", OA, [I(p, {
23550
23550
  name: "ri:ai-generate-2-line",
23551
23551
  class: "shrink-0"
@@ -23597,7 +23597,7 @@ var YE = Le, XE = .6, ZE = pe.parse({}), QE = /* @__PURE__ */ L({
23597
23597
  title: t.$t("label.platformContext"),
23598
23598
  class: "border border-surface-3 rounded"
23599
23599
  }, {
23600
- default: G(() => [P("dl", BA, [(z(!0), N(k, null, ui(e.message.metadata?.platformContext, (e, t) => (z(), N(k, { key: t }, [P("dt", VA, V(H(nt)(H(at)(t))), 1), P("dd", {
23600
+ default: G(() => [P("dl", BA, [(z(!0), N(k, null, ui(e.message.metadata?.platformContext, (e, t) => (z(), N(k, { key: t }, [P("dt", VA, V(H(st)(H(it)(t))), 1), P("dd", {
23601
23601
  class: "truncate font-mono col-span-2",
23602
23602
  title: String(e)
23603
23603
  }, V(e), 9, HA)], 64))), 128))])]),
@@ -23609,7 +23609,7 @@ var YE = Le, XE = .6, ZE = pe.parse({}), QE = /* @__PURE__ */ L({
23609
23609
  title: t.$t("label.deviceContext"),
23610
23610
  class: "border border-surface-3 rounded"
23611
23611
  }, {
23612
- default: G(() => [P("dl", UA, [(z(!0), N(k, null, ui(c.value, (e, t) => (z(), N(k, { key: t }, [P("dt", WA, V(H(nt)(H(at)(t))), 1), P("dd", {
23612
+ default: G(() => [P("dl", UA, [(z(!0), N(k, null, ui(c.value, (e, t) => (z(), N(k, { key: t }, [P("dt", WA, V(H(st)(H(it)(t))), 1), P("dd", {
23613
23613
  class: "truncate font-mono col-span-2",
23614
23614
  title: String(e)
23615
23615
  }, V(e), 9, GA)], 64))), 128))])]),
@@ -23621,7 +23621,7 @@ var YE = Le, XE = .6, ZE = pe.parse({}), QE = /* @__PURE__ */ L({
23621
23621
  title: t.$t("label.externalContext"),
23622
23622
  class: "border border-surface-3 rounded"
23623
23623
  }, {
23624
- default: G(() => [P("dl", KA, [(z(!0), N(k, null, ui(e.message.metadata?.externalContext, (e, t) => (z(), N(k, { key: t }, [P("dt", qA, V(H(nt)(H(at)(t))), 1), P("dd", {
23624
+ default: G(() => [P("dl", KA, [(z(!0), N(k, null, ui(e.message.metadata?.externalContext, (e, t) => (z(), N(k, { key: t }, [P("dt", qA, V(H(st)(H(it)(t))), 1), P("dd", {
23625
23625
  class: "truncate font-mono col-span-2",
23626
23626
  title: String(e)
23627
23627
  }, V(e), 9, JA)], 64))), 128))])]),
@@ -23633,7 +23633,7 @@ var YE = Le, XE = .6, ZE = pe.parse({}), QE = /* @__PURE__ */ L({
23633
23633
  I(tA, { message: e.message }, null, 8, ["message"]),
23634
23634
  P("ol", YA, [(z(!0), N(k, null, ui(r.value, (e, c) => (z(), N("li", { key: c }, [
23635
23635
  P("span", { class: ti(["text-12 text-word-2 leading-none flex items-center gap-12 bg-surface-1 rounded-t border-t border-x border-surface-3 p-8", { "border-b rounded-b": !n(e) && !H($e)(e) }]) }, [
23636
- P("div", XA, [P("span", ZA, [P("strong", QA, V(c + 1), 1), P("span", $A, "/" + V(r.value.length), 1)]), (n(e) || H(et)(e)) && H(ot)(e.state) ? (z(), j(p, {
23636
+ P("div", XA, [P("span", ZA, [P("strong", QA, V(c + 1), 1), P("span", $A, "/" + V(r.value.length), 1)]), (n(e) || H(et)(e)) && H(nt)(e.state) ? (z(), j(p, {
23637
23637
  key: 0,
23638
23638
  name: "loading-loop",
23639
23639
  class: "w-12 h-12 ml-4"
@@ -23642,7 +23642,7 @@ var YE = Le, XE = .6, ZE = pe.parse({}), QE = /* @__PURE__ */ L({
23642
23642
  name: H(ct)(e) || "ri:question-line",
23643
23643
  class: "w-12 h-12 ml-4"
23644
23644
  }, null, 8, ["name"]))]),
23645
- P("span", ej, V(H(st)(e, {
23645
+ P("span", ej, V(H(dt)(e, {
23646
23646
  t: H(o),
23647
23647
  te: H(s)
23648
23648
  })), 1),
@@ -23673,7 +23673,7 @@ var YE = Le, XE = .6, ZE = pe.parse({}), QE = /* @__PURE__ */ L({
23673
23673
  _: 2
23674
23674
  }, 1024)], 64)) : M("", !0),
23675
23675
  "errorText" in e && e.errorText ? (z(), N(k, { key: 1 }, [P("div", oj, V(t.$t("messagePart.stepError")), 1), P("pre", sj, V(e.errorText), 1)], 64)) : M("", !0),
23676
- e.type.includes("tool-subagent") || e.type === "tool-runWorker" ? di(t.$slots, "subagent", { part: e }, void 0, void 0, 2) : di(t.$slots, H(dt)(e.type), { part: e }, void 0, void 0, 3)
23676
+ e.type.includes("tool-subagent") || e.type === "tool-runWorker" ? di(t.$slots, "subagent", { part: e }, void 0, void 0, 2) : di(t.$slots, H(at)(e.type), { part: e }, void 0, void 0, 3)
23677
23677
  ])])) : M("", !0),
23678
23678
  H($e)(e) ? (z(), j(g, {
23679
23679
  key: 1,
@@ -24451,6 +24451,6 @@ var DM = {
24451
24451
  };
24452
24452
  }
24453
24453
  });
24454
- export { GE as AGENT_STATUS_GLYPHS, KE as AGENT_VISIBILITY_GLYPHS, $E as MODEL_CATALOG_KEY, VO as PkAgentSettingsPanel, xt as PkAuroraCanvas, Yn as PkAvatar, Gi as PkBadge, tr as PkChatButton, Ck as PkChatSidebar, ik as PkChatSidebarConversationItem, ar as PkChatbot, Ge as PkChatbotAuth, rr as PkChatbotEmptyState, wt as PkChatbotError, Xn as PkChatbotFeedbackForm, Kn as PkChatbotFilePreview, nr as PkChatbotInput, g as PkChatbotMessages, $n as PkChatbotStepPayload, er as PkChatbotStepToolDetail, Qn as PkChatbotSteps, Ct as PkChatbotViewChat, _t as PkChatbotViewConversations, ir as PkChatbotViewProfile, sE as PkCheckboxField, or as PkChunkPreview, kt as PkCode, SD as PkCopyBlock, sr as PkDocumentHeader, no as PkEditorAgentType, Vn as PkEditorCheckboxButtons, gs as PkEditorCode, ho as PkEditorDocumentType, Bs as PkEditorJsonSchema, NT as PkEditorMarkdown, PT as PkEditorMedia, wo as PkEditorNotificationType, VT as PkEditorPrompt, t as PkEditorRadioButtons, YT as PkEditorRepeater, ys as PkFieldset, Cr as PkFilePreviewDialog, Cs as PkIconOption, tE as PkInfoPopover, cE as PkInfobox, CD as PkInputColor, gE as PkIntegrationProvider, cD as PkLanguageModel, hD as PkLanguageModelCombobox, Un as PkLazyImg, vE as PkLightbox, SE as PkLoader, wE as PkMedia, Sj as PkMessageDetail, cj as PkMessageParts, mD as PkModelOption, NE as PkOfflineScreen, iM as PkPagination, BE as PkPwaNotices, HE as PkQrCode, Vj as PkReasoningChat, _D as PkReasoningSettings, Ot as PkRelativeTime, Tk as PkRetryCountdown, Ns as PkSchemaField, WE as PkSkeleton, Je as PkStreamingMarkdown, Zn as PkStreamingMarkdownAutoscroll, qn as PkSvgViewer, dM as PkTableEmpty, gM as PkTableError, WM as PkTableSortable, QE as PkToolApprovalBadge, Sr as PkToolChatFile, wr as PkToolRequestGeolocation, xr as PkToolShareDocument, At as PkToolShowArtifact, hr as PkToolShowCalendarEvent, gr as PkToolShowComparison, mr as PkToolShowContactForm, ur as PkToolShowEmail, Hn as PkToolShowForm, yr as PkToolShowImageGallery, _r as PkToolShowLocation, dr as PkToolShowMessage, pr as PkToolShowProductList, vr as PkToolShowQrCode, cr as PkToolShowSources, br as PkToolShowSuggestedReply, fr as PkToolShowWebPages, Jn as PkUrl, vt as PkVoiceOrb, yt as PkVoiceSession, vD as PkWebSearchSettings, Gj as PkWelcomePopup, qj as PkWorkingBeam, Ke as VvButtonLocalized, qE as agentStatusGlyph, JE as agentVisibilityGlyph, fE as integrationProviderIcon, lr as isMcpOAuthReport, rt as localizeSummaryLabels, St as provideChatFilePreviewDock, qe as provideChatImagePolicy, eD as provideModelCatalog, bt as useChatFilePreview, tD as useModelCatalogEntry };
24454
+ export { GE as AGENT_STATUS_GLYPHS, KE as AGENT_VISIBILITY_GLYPHS, $E as MODEL_CATALOG_KEY, VO as PkAgentSettingsPanel, xt as PkAuroraCanvas, Yn as PkAvatar, Gi as PkBadge, tr as PkChatButton, Ck as PkChatSidebar, ik as PkChatSidebarConversationItem, ar as PkChatbot, Ge as PkChatbotAuth, rr as PkChatbotEmptyState, wt as PkChatbotError, Xn as PkChatbotFeedbackForm, Kn as PkChatbotFilePreview, nr as PkChatbotInput, g as PkChatbotMessages, $n as PkChatbotStepPayload, er as PkChatbotStepToolDetail, Qn as PkChatbotSteps, Ct as PkChatbotViewChat, _t as PkChatbotViewConversations, ir as PkChatbotViewProfile, sE as PkCheckboxField, or as PkChunkPreview, kt as PkCode, SD as PkCopyBlock, sr as PkDocumentHeader, no as PkEditorAgentType, Vn as PkEditorCheckboxButtons, gs as PkEditorCode, ho as PkEditorDocumentType, Bs as PkEditorJsonSchema, NT as PkEditorMarkdown, PT as PkEditorMedia, wo as PkEditorNotificationType, VT as PkEditorPrompt, t as PkEditorRadioButtons, YT as PkEditorRepeater, ys as PkFieldset, Cr as PkFilePreviewDialog, Cs as PkIconOption, tE as PkInfoPopover, cE as PkInfobox, CD as PkInputColor, gE as PkIntegrationProvider, cD as PkLanguageModel, hD as PkLanguageModelCombobox, Un as PkLazyImg, vE as PkLightbox, SE as PkLoader, wE as PkMedia, Sj as PkMessageDetail, cj as PkMessageParts, mD as PkModelOption, NE as PkOfflineScreen, iM as PkPagination, BE as PkPwaNotices, HE as PkQrCode, Vj as PkReasoningChat, _D as PkReasoningSettings, Ot as PkRelativeTime, Tk as PkRetryCountdown, Ns as PkSchemaField, WE as PkSkeleton, Je as PkStreamingMarkdown, Zn as PkStreamingMarkdownAutoscroll, qn as PkSvgViewer, dM as PkTableEmpty, gM as PkTableError, WM as PkTableSortable, QE as PkToolApprovalBadge, Sr as PkToolChatFile, wr as PkToolRequestGeolocation, xr as PkToolShareDocument, At as PkToolShowArtifact, hr as PkToolShowCalendarEvent, gr as PkToolShowComparison, mr as PkToolShowContactForm, ur as PkToolShowEmail, Hn as PkToolShowForm, yr as PkToolShowImageGallery, _r as PkToolShowLocation, dr as PkToolShowMessage, pr as PkToolShowProductList, vr as PkToolShowQrCode, cr as PkToolShowSources, br as PkToolShowSuggestedReply, fr as PkToolShowWebPages, Jn as PkUrl, vt as PkVoiceOrb, yt as PkVoiceSession, vD as PkWebSearchSettings, Gj as PkWelcomePopup, qj as PkWorkingBeam, Ke as VvButtonLocalized, qE as agentStatusGlyph, JE as agentVisibilityGlyph, fE as integrationProviderIcon, lr as isMcpOAuthReport, lt as localizeSummaryLabels, St as provideChatFilePreviewDock, qe as provideChatImagePolicy, eD as provideModelCatalog, bt as useChatFilePreview, tD as useModelCatalogEntry };
24455
24455
 
24456
24456
  //# sourceMappingURL=index.js.map