@8wave/ai-elements 0.125.0-beta.43 → 0.125.0-beta.45

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 (112) hide show
  1. package/README.md +9 -4
  2. package/dist/_chunks/{PkFilePreview-yjdtArag.js → PkFilePreview-DfYzaj3Y.js} +427 -427
  3. package/dist/_chunks/{PkFilePreview-yjdtArag.js.map → PkFilePreview-DfYzaj3Y.js.map} +1 -1
  4. package/dist/_chunks/{PkFilePreviewDialog-Df0Lt40J.js → PkFilePreviewDialog-COkwyLq6.js} +2 -2
  5. package/dist/_chunks/{PkFilePreviewDialog-Df0Lt40J.js.map → PkFilePreviewDialog-COkwyLq6.js.map} +1 -1
  6. package/dist/_chunks/{PkImageEditorDialog-PVf3IHGB.js → PkImageEditorDialog-Ceas-HZA.js} +2 -2
  7. package/dist/_chunks/{PkImageEditorDialog-PVf3IHGB.js.map → PkImageEditorDialog-Ceas-HZA.js.map} +1 -1
  8. package/dist/_chunks/{PkSelectionActions-CMyg_x8h.js → PkSelectionActions-Dl3cKb7x.js} +2 -2
  9. package/dist/_chunks/PkSelectionActions-Dl3cKb7x.js.map +1 -0
  10. package/dist/_chunks/{PkStreamingMarkdown-BDXbU2tz.js → PkStreamingMarkdown-DZvLHy2l.js} +2 -2
  11. package/dist/_chunks/{PkStreamingMarkdown-BDXbU2tz.js.map → PkStreamingMarkdown-DZvLHy2l.js.map} +1 -1
  12. package/dist/_chunks/{PkToolChatFile-CMQdMs-9.js → PkToolChatFile-D4ukZ9g6.js} +2 -2
  13. package/dist/_chunks/{PkToolChatFile-CMQdMs-9.js.map → PkToolChatFile-D4ukZ9g6.js.map} +1 -1
  14. package/dist/_chunks/{PkToolShowArtifact-YrC54qxc.js → PkToolShowArtifact-wIAxyXrL.js} +2 -2
  15. package/dist/_chunks/{PkToolShowArtifact-YrC54qxc.js.map → PkToolShowArtifact-wIAxyXrL.js.map} +1 -1
  16. package/dist/_chunks/{PkToolShowContactForm-Dio2FNkA.js → PkToolShowContactForm-BhcM-Z6m.js} +2 -2
  17. package/dist/_chunks/{PkToolShowContactForm-Dio2FNkA.js.map → PkToolShowContactForm-BhcM-Z6m.js.map} +1 -1
  18. package/dist/_chunks/{PkToolShowForm-w9HGhvCy.js → PkToolShowForm-D6k7_QLF.js} +3 -3
  19. package/dist/_chunks/{PkToolShowForm-w9HGhvCy.js.map → PkToolShowForm-D6k7_QLF.js.map} +1 -1
  20. package/dist/_chunks/{PkToolShowSources-DXFvFHOo.js → PkToolShowSources-Cw1ofky2.js} +2 -2
  21. package/dist/_chunks/{PkToolShowSources-DXFvFHOo.js.map → PkToolShowSources-Cw1ofky2.js.map} +1 -1
  22. package/dist/_chunks/{utils-BBoaLDYF.js → utils-C2aFWWye.js} +132 -110
  23. package/{dist-vue/_chunks/utils-C9l078yb.js.map → dist/_chunks/utils-C2aFWWye.js.map} +1 -1
  24. package/dist/ai-elements.es.js +2911 -2860
  25. package/dist/ai-elements.es.js.map +1 -1
  26. package/dist-vue/PkChatbot.js +1 -1
  27. package/dist-vue/PkChatbotEmptyState.js +1 -1
  28. package/dist-vue/PkChatbotInput.js +1 -1
  29. package/dist-vue/PkChatbotMessages.js +1 -1
  30. package/dist-vue/PkChatbotStepPayload.js +1 -1
  31. package/dist-vue/PkChatbotStepToolDetail.js +1 -1
  32. package/dist-vue/PkChatbotSteps.js +1 -1
  33. package/dist-vue/PkChatbotViewChat.js +1 -1
  34. package/dist-vue/PkChatbotViewConversations.js +1 -1
  35. package/dist-vue/_chunks/{PkChatbot-CxkTubw8.js → PkChatbot-CBSe9MOB.js} +5 -5
  36. package/dist-vue/_chunks/{PkChatbot-CxkTubw8.js.map → PkChatbot-CBSe9MOB.js.map} +1 -1
  37. package/dist-vue/_chunks/{PkChatbotEmptyState-CUoHkCgO.js → PkChatbotEmptyState-DfyYZXHQ.js} +2 -2
  38. package/dist-vue/_chunks/{PkChatbotEmptyState-CUoHkCgO.js.map → PkChatbotEmptyState-DfyYZXHQ.js.map} +1 -1
  39. package/dist-vue/_chunks/{PkChatbotInput-CPf7wqiQ.js → PkChatbotInput-CBalSveL.js} +4 -4
  40. package/dist-vue/_chunks/{PkChatbotInput-CPf7wqiQ.js.map → PkChatbotInput-CBalSveL.js.map} +1 -1
  41. package/dist-vue/_chunks/{PkChatbotMessages-CLNu2dTm.js → PkChatbotMessages-C2AUTqk4.js} +15 -15
  42. package/dist-vue/_chunks/{PkChatbotMessages-CLNu2dTm.js.map → PkChatbotMessages-C2AUTqk4.js.map} +1 -1
  43. package/dist-vue/_chunks/{PkChatbotStepPayload-Cf7mJPjL.js → PkChatbotStepPayload-Bb3Y6kuL.js} +2 -2
  44. package/dist-vue/_chunks/{PkChatbotStepPayload-Cf7mJPjL.js.map → PkChatbotStepPayload-Bb3Y6kuL.js.map} +1 -1
  45. package/dist-vue/_chunks/{PkChatbotStepToolDetail-D6nwNnHv.js → PkChatbotStepToolDetail-CwOxzYOe.js} +3 -3
  46. package/dist-vue/_chunks/{PkChatbotStepToolDetail-D6nwNnHv.js.map → PkChatbotStepToolDetail-CwOxzYOe.js.map} +1 -1
  47. package/dist-vue/_chunks/{PkChatbotSteps-xkxdaX7O.js → PkChatbotSteps-FduD9X9i.js} +5 -5
  48. package/dist-vue/_chunks/{PkChatbotSteps-xkxdaX7O.js.map → PkChatbotSteps-FduD9X9i.js.map} +1 -1
  49. package/dist-vue/_chunks/{PkChatbotViewChat-BkkyjiFl.js → PkChatbotViewChat-jl3ZbK7H.js} +6 -6
  50. package/dist-vue/_chunks/{PkChatbotViewChat-BkkyjiFl.js.map → PkChatbotViewChat-jl3ZbK7H.js.map} +1 -1
  51. package/dist-vue/_chunks/{PkChatbotViewConversations-hgqSO1hx.js → PkChatbotViewConversations-BtwTWqmM.js} +2 -2
  52. package/dist-vue/_chunks/{PkChatbotViewConversations-hgqSO1hx.js.map → PkChatbotViewConversations-BtwTWqmM.js.map} +1 -1
  53. package/dist-vue/_chunks/{PkFilePreview-CmsT6lSP.js → PkFilePreview-CRfDEYYo.js} +3 -3
  54. package/dist-vue/_chunks/PkFilePreview-CRfDEYYo.js.map +1 -0
  55. package/dist-vue/_chunks/{PkFilePreviewDialog-DIiTt9iK.js → PkFilePreviewDialog-u-0rhuRx.js} +2 -2
  56. package/dist-vue/_chunks/{PkFilePreviewDialog-DIiTt9iK.js.map → PkFilePreviewDialog-u-0rhuRx.js.map} +1 -1
  57. package/dist-vue/_chunks/{PkImageEditorDialog-CE0Y5Pwr.js → PkImageEditorDialog-CjMwpb-a.js} +2 -2
  58. package/dist-vue/_chunks/{PkImageEditorDialog-CE0Y5Pwr.js.map → PkImageEditorDialog-CjMwpb-a.js.map} +1 -1
  59. package/dist-vue/_chunks/{PkStreamingMarkdown-BBvCtDlO.js → PkStreamingMarkdown-7Kl_VBH-.js} +2 -2
  60. package/dist-vue/_chunks/{PkStreamingMarkdown-BBvCtDlO.js.map → PkStreamingMarkdown-7Kl_VBH-.js.map} +1 -1
  61. package/dist-vue/_chunks/{PkToolChatFile-DVhunkPS.js → PkToolChatFile-DcNRCVXy.js} +2 -2
  62. package/dist-vue/_chunks/{PkToolChatFile-DVhunkPS.js.map → PkToolChatFile-DcNRCVXy.js.map} +1 -1
  63. package/dist-vue/_chunks/{PkToolShowArtifact-DKOTsP9C.js → PkToolShowArtifact-C7CxCqVO.js} +2 -2
  64. package/dist-vue/_chunks/{PkToolShowArtifact-DKOTsP9C.js.map → PkToolShowArtifact-C7CxCqVO.js.map} +1 -1
  65. package/dist-vue/_chunks/{PkToolShowChart-CNBUjDc7.js → PkToolShowChart-DULlrMjq.js} +2 -2
  66. package/dist-vue/_chunks/{PkToolShowChart-CNBUjDc7.js.map → PkToolShowChart-DULlrMjq.js.map} +1 -1
  67. package/dist-vue/_chunks/{PkToolShowContactForm-D1Ff15Zf.js → PkToolShowContactForm-472d-SAE.js} +2 -2
  68. package/dist-vue/_chunks/{PkToolShowContactForm-D1Ff15Zf.js.map → PkToolShowContactForm-472d-SAE.js.map} +1 -1
  69. package/dist-vue/_chunks/{PkToolShowDiagram-CBwqjy6a.js → PkToolShowDiagram-RrqVpOaX.js} +2 -2
  70. package/dist-vue/_chunks/{PkToolShowDiagram-CBwqjy6a.js.map → PkToolShowDiagram-RrqVpOaX.js.map} +1 -1
  71. package/dist-vue/_chunks/{PkToolShowForm-D-rzzwJa.js → PkToolShowForm-CgyszDEI.js} +3 -3
  72. package/dist-vue/_chunks/{PkToolShowForm-D-rzzwJa.js.map → PkToolShowForm-CgyszDEI.js.map} +1 -1
  73. package/dist-vue/_chunks/{PkToolShowImageGallery-Cre2zSGV.js → PkToolShowImageGallery-LBx9JE6p.js} +2 -2
  74. package/dist-vue/_chunks/{PkToolShowImageGallery-Cre2zSGV.js.map → PkToolShowImageGallery-LBx9JE6p.js.map} +1 -1
  75. package/dist-vue/_chunks/{PkToolShowProductList-D4FAfMS-.js → PkToolShowProductList-THiH4EzZ.js} +2 -2
  76. package/dist-vue/_chunks/{PkToolShowProductList-D4FAfMS-.js.map → PkToolShowProductList-THiH4EzZ.js.map} +1 -1
  77. package/dist-vue/_chunks/{PkToolShowSources-BC6YJl-O.js → PkToolShowSources-CEqGXOOt.js} +2 -2
  78. package/dist-vue/_chunks/{PkToolShowSources-BC6YJl-O.js.map → PkToolShowSources-CEqGXOOt.js.map} +1 -1
  79. package/dist-vue/_chunks/{PkToolShowVideo-CxN7z_cZ.js → PkToolShowVideo-8Gi3vOer.js} +2 -2
  80. package/dist-vue/_chunks/{PkToolShowVideo-CxN7z_cZ.js.map → PkToolShowVideo-8Gi3vOer.js.map} +1 -1
  81. package/dist-vue/_chunks/{PkToolShowWebPages-0Ux6n8G1.js → PkToolShowWebPages-xjUPdfOU.js} +2 -2
  82. package/dist-vue/_chunks/{PkToolShowWebPages-0Ux6n8G1.js.map → PkToolShowWebPages-xjUPdfOU.js.map} +1 -1
  83. package/dist-vue/_chunks/{utils-C9l078yb.js → utils-VVbH-Liq.js} +22 -22
  84. package/dist-vue/_chunks/utils-VVbH-Liq.js.map +1 -0
  85. package/dist-vue/apps/web-component/src/composables/useChatbotAgent.d.ts +6 -6
  86. package/dist-vue/apps/web-component/src/composables/useSelectionActions.d.ts +14 -4
  87. package/dist-vue/composables.js +3 -3
  88. package/dist-vue/composables.js.map +1 -1
  89. package/dist-vue/index.js +21 -21
  90. package/dist-vue/packages/auth/src/organization-auto-join.d.ts +13 -1
  91. package/dist-vue/packages/auth/src/unproven-password.d.ts +30 -0
  92. package/dist-vue/packages/components/src/chat/PkAgentSettingsPanel.d.ts +6 -6
  93. package/dist-vue/packages/components/src/chat/PkChatbotMessages.d.ts +1 -1
  94. package/dist-vue/packages/components/src/chat/PkSelectionActionIconPicker.d.ts +2 -2
  95. package/dist-vue/packages/components/src/chat/PkSelectionAnswerCard.d.ts +6 -0
  96. package/dist-vue/packages/components/src/chat/selectionActionEdits.d.ts +1 -1
  97. package/dist-vue/packages/components/src/chat/useChatFilePreview.d.ts +4 -4
  98. package/dist-vue/packages/components/src/chat/utils.d.ts +51 -4
  99. package/dist-vue/packages/composable/src/chatbot/useChatbotStore.d.ts +18 -18
  100. package/dist-vue/packages/composable/src/useSettledSelection.d.ts +2 -2
  101. package/dist-vue/packages/models/src/schema/Agent.d.ts +21 -21
  102. package/dist-vue/packages/models/src/schema/Chart.d.ts +1 -1
  103. package/dist-vue/packages/models/src/schema/ReasoningChat.d.ts +6 -6
  104. package/dist-vue/packages/models/src/schema/SelectionAction.d.ts +11 -11
  105. package/dist-vue/packages/models/src/schema/SelectionActionPreview.d.ts +3 -3
  106. package/dist-vue/packages/models/src/schema/SpreadsheetPreview.d.ts +5 -5
  107. package/dist-vue/packages/models/src/schema/SubAgent.d.ts +6 -6
  108. package/dist-vue/packages/models/src/schema/WordPreview.d.ts +1 -1
  109. package/package.json +1 -1
  110. package/dist/_chunks/PkSelectionActions-CMyg_x8h.js.map +0 -1
  111. package/dist/_chunks/utils-BBoaLDYF.js.map +0 -1
  112. package/dist-vue/_chunks/PkFilePreview-CmsT6lSP.js.map +0 -1
package/dist-vue/index.js CHANGED
@@ -1,7 +1,7 @@
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-CLNu2dTm.js";
4
+ import { t as g } from "./_chunks/PkChatbotMessages-C2AUTqk4.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 { $ as S, B as C, D as w, E as ee, F as te, G as ne, I as re, J as ie, K as ae, L as oe, N as se, P as ce, Q as le, R as ue, S as de, T as fe, U as pe, X as me, Y as he, a as ge, d as _e, dt as ve, et as ye, f as be, ft as xe, gt as Se, ht as Ce, i as we, lt as Te, mt as Ee, nt as De, p as Oe, pt as ke, q as Ae, r as T, rt as je, s as Me, t as Ne, tt as Pe, ut as Fe, w as Ie, x as Le, y as Re, yt as ze, z as Be } from "./_chunks/Agent-B9iJ1WvR.js";
7
7
  import { c as Ve, d as He, l as Ue, r as We, s as Ge, t as Ke, u as qe } from "./_chunks/Document-DnsOE7s6.js";
@@ -9,54 +9,54 @@ import { a as Je, i as Ye, n as Xe } from "./_chunks/createChatbotApiClient-DmPc
9
9
  import { t as Ze } from "./_chunks/PkChatbotAuth-Ci9NmbVb.js";
10
10
  import { t as Qe } from "./_chunks/VvButtonLocalized-C-vx25u4.js";
11
11
  import { i as $e, r as et } from "./_chunks/useLightbox-DmtNa8bJ.js";
12
- import { n as tt, t as nt } from "./_chunks/PkStreamingMarkdown-BBvCtDlO.js";
12
+ import { n as tt, t as nt } from "./_chunks/PkStreamingMarkdown-7Kl_VBH-.js";
13
13
  import { a as rt, i as it, n as at, r as ot } from "./_chunks/useChatbotStore-B6ILfm5Z.js";
14
14
  import "./_chunks/src-nb8MU1sh.js";
15
15
  import { a as st, l as ct, u as lt } from "./_chunks/message-DuibQyHy.js";
16
- import { $ as ut, B as dt, D as ft, F as pt, M as mt, Q as ht, R as gt, U as _t, _ as vt, et as yt, l as bt, x as xt, y as St } from "./_chunks/utils-C9l078yb.js";
16
+ import { $ as ut, B as dt, D as ft, F as pt, M as mt, Q as ht, R as gt, U as _t, _ as vt, et as yt, l as bt, x as xt, y as St } from "./_chunks/utils-VVbH-Liq.js";
17
17
  import { t as Ct } from "./_chunks/useSafeLocalStorage-Bn4SsL8C.js";
18
18
  import { t as wt } from "./_chunks/useDialogConfirm-fn7iV-iE.js";
19
- import { i as Tt, n as Et, r as Dt, t as Ot } from "./_chunks/PkChatbotViewConversations-hgqSO1hx.js";
20
- import { a as kt, i as At, n as jt, o as Mt, s as Nt, t as Pt } from "./_chunks/PkChatbotViewChat-BkkyjiFl.js";
19
+ import { i as Tt, n as Et, r as Dt, t as Ot } from "./_chunks/PkChatbotViewConversations-BtwTWqmM.js";
20
+ import { a as kt, i as At, n as jt, o as Mt, s as Nt, t as Pt } from "./_chunks/PkChatbotViewChat-jl3ZbK7H.js";
21
21
  import { t as Ft } from "./_chunks/PkChatbotError-BS84xuiu.js";
22
22
  import { t as It } from "./_chunks/useImageFallback-HUe4GHah.js";
23
23
  import { t as Lt } from "./_chunks/useLocalizedString-Dmn92nix.js";
24
- import { i as Rt, r as zt } from "./_chunks/PkFilePreview-CmsT6lSP.js";
24
+ import { i as Rt, r as zt } from "./_chunks/PkFilePreview-CRfDEYYo.js";
25
25
  import { n as Bt, t as Vt } from "./_chunks/PkRelativeTime-CZF5CYHv.js";
26
- import { r as Ht, t as Ut } from "./_chunks/PkToolShowArtifact-DKOTsP9C.js";
26
+ import { r as Ht, t as Ut } from "./_chunks/PkToolShowArtifact-C7CxCqVO.js";
27
27
  import { $ as Wt, A as Gt, B as Kt, C as qt, Ct as Jt, D as Yt, E as Xt, F as Zt, G as Qt, H as $t, I as en, J as tn, K as nn, L as rn, M as an, N as E, Q as on, S as sn, St as cn, T as ln, Tt as un, U as dn, V as fn, W as pn, X as mn, _t as hn, a as gn, at as _n, b as vn, bt as yn, c as bn, ct as xn, d as Sn, dt as Cn, et as wn, f as Tn, gt as En, h as Dn, it as On, j as kn, k as An, l as D, lt as O, mt as jn, nt as Mn, o as Nn, ot as Pn, pt as Fn, q as In, rt as Ln, st as Rn, tt as zn, u as Bn, ut as Vn, vt as Hn, w as Un, wt as Wn, x as Gn, xt as Kn, y as qn, yt as Jn, z as Yn } from "./_chunks/dist-DtxVAOxm.js";
28
28
  import { n as Xn, t as Zn } from "./_chunks/dist-CKKe4gMX.js";
29
29
  import { n as Qn, r as $n } from "./_chunks/dist-DTy4614p.js";
30
- import { r as er, t as tr } from "./_chunks/PkToolShowForm-D-rzzwJa.js";
30
+ import { r as er, t as tr } from "./_chunks/PkToolShowForm-CgyszDEI.js";
31
31
  import { t as nr } from "./_chunks/PkLazyImg-D_Tmtfz3.js";
32
32
  import { t as rr } from "./_chunks/PkSvgViewer-CRNwb6Yn.js";
33
33
  import { t as ir } from "./_chunks/PkUrl-IFszepUi.js";
34
34
  import { t as ar } from "./_chunks/PkAvatar-DwtZWSW4.js";
35
35
  import { t as or } from "./_chunks/PkChatbotFeedbackForm-D3YNMO7m.js";
36
36
  import { t as sr } from "./_chunks/PkChatbotFilePreview-BDU2vY0F.js";
37
- import { n as cr, t as lr } from "./_chunks/PkChatbotSteps-xkxdaX7O.js";
38
- import { t as ur } from "./_chunks/PkChatbotStepPayload-Cf7mJPjL.js";
39
- import { t as dr } from "./_chunks/PkChatbotStepToolDetail-D6nwNnHv.js";
40
- import { n as fr, t as pr } from "./_chunks/PkChatbotInput-CPf7wqiQ.js";
41
- import { t as mr } from "./_chunks/PkChatbotEmptyState-CUoHkCgO.js";
37
+ import { n as cr, t as lr } from "./_chunks/PkChatbotSteps-FduD9X9i.js";
38
+ import { t as ur } from "./_chunks/PkChatbotStepPayload-Bb3Y6kuL.js";
39
+ import { t as dr } from "./_chunks/PkChatbotStepToolDetail-CwOxzYOe.js";
40
+ import { n as fr, t as pr } from "./_chunks/PkChatbotInput-CBalSveL.js";
41
+ import { t as mr } from "./_chunks/PkChatbotEmptyState-DfyYZXHQ.js";
42
42
  import { t as hr } from "./_chunks/PkChatbotViewProfile-CriJtak0.js";
43
- import { t as gr } from "./_chunks/PkChatbot-CxkTubw8.js";
44
- import { i as _r, r as vr, t as yr } from "./_chunks/PkToolShowSources-BC6YJl-O.js";
43
+ import { t as gr } from "./_chunks/PkChatbot-CBSe9MOB.js";
44
+ import { i as _r, r as vr, t as yr } from "./_chunks/PkToolShowSources-CEqGXOOt.js";
45
45
  import { t as br } from "./_chunks/mcpOAuthReport-D-MtFYwN.js";
46
46
  import { t as xr } from "./_chunks/PkToolShowEmail-BehvoNsz.js";
47
47
  import { t as Sr } from "./_chunks/PkToolShowMessage-Cca7K7GQ.js";
48
- import { t as Cr } from "./_chunks/PkToolShowWebPages-0Ux6n8G1.js";
49
- import { t as wr } from "./_chunks/PkToolShowProductList-D4FAfMS-.js";
50
- import { t as Tr } from "./_chunks/PkToolShowContactForm-D1Ff15Zf.js";
48
+ import { t as Cr } from "./_chunks/PkToolShowWebPages-xjUPdfOU.js";
49
+ import { t as wr } from "./_chunks/PkToolShowProductList-THiH4EzZ.js";
50
+ import { t as Tr } from "./_chunks/PkToolShowContactForm-472d-SAE.js";
51
51
  import { t as Er } from "./_chunks/PkToolShowCalendarEvent-CAejFLQI.js";
52
52
  import { t as Dr } from "./_chunks/PkToolShowComparison-BEHyRNXE.js";
53
53
  import { t as Or } from "./_chunks/PkToolShowLocation-Nhh_LwmN.js";
54
54
  import { t as kr } from "./_chunks/PkToolShowQrCode-96KzD1rX.js";
55
- import { t as Ar } from "./_chunks/PkToolShowImageGallery-Cre2zSGV.js";
55
+ import { t as Ar } from "./_chunks/PkToolShowImageGallery-LBx9JE6p.js";
56
56
  import { t as jr } from "./_chunks/PkToolShowSuggestedReply-DxlGhMvE.js";
57
57
  import { t as Mr } from "./_chunks/PkToolShareDocument-Bf7OE8XA.js";
58
- import { t as Nr } from "./_chunks/PkToolChatFile-DVhunkPS.js";
59
- import { t as Pr } from "./_chunks/PkFilePreviewDialog-DIiTt9iK.js";
58
+ import { t as Nr } from "./_chunks/PkToolChatFile-DcNRCVXy.js";
59
+ import { t as Pr } from "./_chunks/PkFilePreviewDialog-u-0rhuRx.js";
60
60
  import { t as Fr } from "./_chunks/PkToolRequestGeolocation-Bhh7UomV.js";
61
61
  import { VvAccordion as Ir, VvAccordionGroup as Lr, VvAlert as Rr, VvAlertGroup as zr, VvBadge as Br, VvButtonGroup as Vr, VvCheckbox as Hr, VvCombobox as Ur, VvDialog as Wr, VvDropdown as Gr, VvDropdownAction as Kr, VvIcon as qr, VvInputFile as Jr, VvInputRange as Yr, VvInputText as Xr, VvTab as Zr, VvTextarea as Qr } from "@volverjs/ui-vue/components";
62
62
  import { Fragment as k, Teleport as $r, Transition as ei, TransitionGroup as ti, cloneVNode as ni, computed as A, createApp as ri, createBlock as j, createCommentVNode as M, createElementBlock as N, createElementVNode as P, createSlots as ii, createStaticVNode as ai, createTextVNode as F, createVNode as I, defineComponent as L, guardReactiveProps as oi, h as si, inject as R, isRef as ci, isVNode as li, mergeModels as ui, mergeProps as di, nextTick as fi, normalizeClass as pi, normalizeProps as mi, normalizeStyle as hi, onBeforeUnmount as gi, onMounted as _i, onUnmounted as vi, openBlock as z, provide as yi, reactive as bi, readonly as xi, ref as B, renderList as Si, renderSlot as Ci, resolveComponent as wi, resolveDynamicComponent as Ti, shallowRef as Ei, toDisplayString as V, toRef as Di, toRefs as Oi, unref as H, useId as ki, useModel as U, useSlots as Ai, useTemplateRef as ji, vModelSelect as Mi, vModelText as Ni, watch as W, withCtx as G, withDirectives as Pi, withKeys as Fi, withModifiers as Ii } from "vue";
@@ -1,4 +1,15 @@
1
- export declare function handleOrganizationAutoJoin(userId: string, userEmail: string, emailVerified: boolean): Promise<void>;
1
+ type Account = {
2
+ providerId: string;
3
+ idToken?: string | null;
4
+ accessToken?: string | null;
5
+ };
6
+ /**
7
+ * Auto-joins a user to the organization one of their identities maps to.
8
+ * `account` is the one the caller just created, when it has it: it names the
9
+ * identity that triggered the call, which matters for a user with more than
10
+ * one social account.
11
+ */
12
+ export declare function handleOrganizationAutoJoin(userId: string, userEmail: string, emailVerified: boolean, account?: Account): Promise<void>;
2
13
  /**
3
14
  * Auto-join a user to the organization mapped to their identity provider, if
4
15
  * any. Shared by the interactive login hook (which derives provider + org id
@@ -13,3 +24,4 @@ export declare function joinOrganizationForProvider(params: {
13
24
  providerId: string;
14
25
  providerOrgId: string;
15
26
  }): Promise<void>;
27
+ export {};
@@ -0,0 +1,30 @@
1
+ /**
2
+ * Prepares a user whose email was never verified for the social account
3
+ * (Microsoft, Google) about to be linked to it, and answers whether the link
4
+ * may go ahead.
5
+ *
6
+ * A social sign-in whose email matches an existing user links to it, and the
7
+ * link marks the email verified (packages/auth/src/index.ts,
8
+ * `requireLocalEmailVerified: false`). If that user registered with a password
9
+ * and never confirmed the address, the password may not be theirs: anyone can
10
+ * sign up with someone else's email and wait. It could not sign in while the
11
+ * email was unverified, but it would start working the moment the owner's
12
+ * social sign-in verified it. So the password goes first, and the account is
13
+ * left to whoever proved the address. The owner can set a password again
14
+ * through the reset link, which creates the credential account when there is
15
+ * none.
16
+ *
17
+ * Removing the password is enough only while the account was never used,
18
+ * which is the rule since sign-in requires a verified email. An unverified
19
+ * password account with a session, a passkey, an API key or a second factor
20
+ * dates from before that rule, and whoever holds those would keep them after
21
+ * the link: the link is refused instead, as better-auth refused it before.
22
+ *
23
+ * The password is removed in one statement that checks the email is still
24
+ * unverified, so a confirmation link clicked at the same moment does not lose
25
+ * a password that has just become valid. Nothing here shares a transaction
26
+ * with better-auth (the Drizzle adapter runs without one): if the link then
27
+ * fails, the password stays removed, which costs nothing because it could not
28
+ * sign in.
29
+ */
30
+ export declare function admitSocialLink(userId: string): Promise<boolean>;
@@ -431,7 +431,7 @@ declare const __VLS_base: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, Com
431
431
  id: string;
432
432
  label: Record<string, string>;
433
433
  prompt: Record<string, string>;
434
- icon?: "map" | "filter" | "card" | "check" | "text" | "key" | "sparkles" | "magic" | "idea" | "star" | "heart" | "lightning" | "fire" | "rocket" | "pen" | "pencil" | "paragraph" | "quote" | "list" | "checklist" | "highlighter" | "document" | "folder" | "book" | "bookmark" | "clipboard" | "draft" | "contract" | "attachment" | "archive" | "search" | "eye" | "questions" | "pie-chart" | "line-chart" | "table" | "database" | "calculator" | "percent" | "scales" | "euro" | "dollar" | "wallet" | "bank" | "cart" | "price-tag" | "bill" | "gift" | "shop" | "truck" | "shield" | "lock" | "gavel" | "institution" | "passport" | "person" | "team" | "group" | "smile" | "handshake" | "support" | "contacts" | "mail" | "send" | "speech" | "phone" | "megaphone" | "bell" | "share" | "link" | "globe" | "calendar" | "event" | "clock" | "timer" | "history" | "hourglass" | "plane" | "car" | "train" | "ship" | "pin" | "compass" | "bed" | "suitcase" | "home" | "building" | "flag" | "earth" | "sun" | "umbrella" | "heartbeat" | "capsule" | "first-aid" | "restaurant" | "cup" | "leaf" | "plant" | "recycle" | "school" | "graduation" | "brain" | "puzzle" | "award" | "trophy" | "settings" | "tools" | "code" | "bug" | "robot" | "cloud" | "flask" | "microscope" | "cross" | "warning" | "information" | "refresh" | "swap" | "arrow" | "thumbs-up" | "target" | "palette" | "image" | "music" | "video" | "microphone" | undefined;
434
+ icon?: "map" | "filter" | "card" | "text" | "check" | "key" | "sparkles" | "magic" | "idea" | "star" | "heart" | "lightning" | "fire" | "rocket" | "pen" | "pencil" | "paragraph" | "quote" | "list" | "checklist" | "highlighter" | "document" | "folder" | "book" | "bookmark" | "clipboard" | "draft" | "contract" | "attachment" | "archive" | "search" | "eye" | "questions" | "pie-chart" | "line-chart" | "table" | "database" | "calculator" | "percent" | "scales" | "euro" | "dollar" | "wallet" | "bank" | "cart" | "price-tag" | "bill" | "gift" | "shop" | "truck" | "shield" | "lock" | "gavel" | "institution" | "passport" | "person" | "team" | "group" | "smile" | "handshake" | "support" | "contacts" | "mail" | "send" | "speech" | "phone" | "megaphone" | "bell" | "share" | "link" | "globe" | "calendar" | "event" | "clock" | "timer" | "history" | "hourglass" | "plane" | "car" | "train" | "ship" | "pin" | "compass" | "bed" | "suitcase" | "home" | "building" | "flag" | "earth" | "sun" | "umbrella" | "heartbeat" | "capsule" | "first-aid" | "restaurant" | "cup" | "leaf" | "plant" | "recycle" | "school" | "graduation" | "brain" | "puzzle" | "award" | "trophy" | "settings" | "tools" | "code" | "bug" | "robot" | "cloud" | "flask" | "microscope" | "cross" | "warning" | "information" | "refresh" | "swap" | "arrow" | "thumbs-up" | "target" | "palette" | "image" | "music" | "video" | "microphone" | undefined;
435
435
  }[];
436
436
  }> | undefined) => any;
437
437
  "update:selectionActionsWord": (value: Partial<{
@@ -441,7 +441,7 @@ declare const __VLS_base: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, Com
441
441
  id: string;
442
442
  label: Record<string, string>;
443
443
  prompt: Record<string, string>;
444
- icon?: "map" | "filter" | "card" | "check" | "text" | "key" | "sparkles" | "magic" | "idea" | "star" | "heart" | "lightning" | "fire" | "rocket" | "pen" | "pencil" | "paragraph" | "quote" | "list" | "checklist" | "highlighter" | "document" | "folder" | "book" | "bookmark" | "clipboard" | "draft" | "contract" | "attachment" | "archive" | "search" | "eye" | "questions" | "pie-chart" | "line-chart" | "table" | "database" | "calculator" | "percent" | "scales" | "euro" | "dollar" | "wallet" | "bank" | "cart" | "price-tag" | "bill" | "gift" | "shop" | "truck" | "shield" | "lock" | "gavel" | "institution" | "passport" | "person" | "team" | "group" | "smile" | "handshake" | "support" | "contacts" | "mail" | "send" | "speech" | "phone" | "megaphone" | "bell" | "share" | "link" | "globe" | "calendar" | "event" | "clock" | "timer" | "history" | "hourglass" | "plane" | "car" | "train" | "ship" | "pin" | "compass" | "bed" | "suitcase" | "home" | "building" | "flag" | "earth" | "sun" | "umbrella" | "heartbeat" | "capsule" | "first-aid" | "restaurant" | "cup" | "leaf" | "plant" | "recycle" | "school" | "graduation" | "brain" | "puzzle" | "award" | "trophy" | "settings" | "tools" | "code" | "bug" | "robot" | "cloud" | "flask" | "microscope" | "cross" | "warning" | "information" | "refresh" | "swap" | "arrow" | "thumbs-up" | "target" | "palette" | "image" | "music" | "video" | "microphone" | undefined;
444
+ icon?: "map" | "filter" | "card" | "text" | "check" | "key" | "sparkles" | "magic" | "idea" | "star" | "heart" | "lightning" | "fire" | "rocket" | "pen" | "pencil" | "paragraph" | "quote" | "list" | "checklist" | "highlighter" | "document" | "folder" | "book" | "bookmark" | "clipboard" | "draft" | "contract" | "attachment" | "archive" | "search" | "eye" | "questions" | "pie-chart" | "line-chart" | "table" | "database" | "calculator" | "percent" | "scales" | "euro" | "dollar" | "wallet" | "bank" | "cart" | "price-tag" | "bill" | "gift" | "shop" | "truck" | "shield" | "lock" | "gavel" | "institution" | "passport" | "person" | "team" | "group" | "smile" | "handshake" | "support" | "contacts" | "mail" | "send" | "speech" | "phone" | "megaphone" | "bell" | "share" | "link" | "globe" | "calendar" | "event" | "clock" | "timer" | "history" | "hourglass" | "plane" | "car" | "train" | "ship" | "pin" | "compass" | "bed" | "suitcase" | "home" | "building" | "flag" | "earth" | "sun" | "umbrella" | "heartbeat" | "capsule" | "first-aid" | "restaurant" | "cup" | "leaf" | "plant" | "recycle" | "school" | "graduation" | "brain" | "puzzle" | "award" | "trophy" | "settings" | "tools" | "code" | "bug" | "robot" | "cloud" | "flask" | "microscope" | "cross" | "warning" | "information" | "refresh" | "swap" | "arrow" | "thumbs-up" | "target" | "palette" | "image" | "music" | "video" | "microphone" | undefined;
445
445
  }[];
446
446
  }> | undefined) => any;
447
447
  "update:selectionActionsExcel": (value: Partial<{
@@ -451,7 +451,7 @@ declare const __VLS_base: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, Com
451
451
  id: string;
452
452
  label: Record<string, string>;
453
453
  prompt: Record<string, string>;
454
- icon?: "map" | "filter" | "card" | "check" | "text" | "key" | "sparkles" | "magic" | "idea" | "star" | "heart" | "lightning" | "fire" | "rocket" | "pen" | "pencil" | "paragraph" | "quote" | "list" | "checklist" | "highlighter" | "document" | "folder" | "book" | "bookmark" | "clipboard" | "draft" | "contract" | "attachment" | "archive" | "search" | "eye" | "questions" | "pie-chart" | "line-chart" | "table" | "database" | "calculator" | "percent" | "scales" | "euro" | "dollar" | "wallet" | "bank" | "cart" | "price-tag" | "bill" | "gift" | "shop" | "truck" | "shield" | "lock" | "gavel" | "institution" | "passport" | "person" | "team" | "group" | "smile" | "handshake" | "support" | "contacts" | "mail" | "send" | "speech" | "phone" | "megaphone" | "bell" | "share" | "link" | "globe" | "calendar" | "event" | "clock" | "timer" | "history" | "hourglass" | "plane" | "car" | "train" | "ship" | "pin" | "compass" | "bed" | "suitcase" | "home" | "building" | "flag" | "earth" | "sun" | "umbrella" | "heartbeat" | "capsule" | "first-aid" | "restaurant" | "cup" | "leaf" | "plant" | "recycle" | "school" | "graduation" | "brain" | "puzzle" | "award" | "trophy" | "settings" | "tools" | "code" | "bug" | "robot" | "cloud" | "flask" | "microscope" | "cross" | "warning" | "information" | "refresh" | "swap" | "arrow" | "thumbs-up" | "target" | "palette" | "image" | "music" | "video" | "microphone" | undefined;
454
+ icon?: "map" | "filter" | "card" | "text" | "check" | "key" | "sparkles" | "magic" | "idea" | "star" | "heart" | "lightning" | "fire" | "rocket" | "pen" | "pencil" | "paragraph" | "quote" | "list" | "checklist" | "highlighter" | "document" | "folder" | "book" | "bookmark" | "clipboard" | "draft" | "contract" | "attachment" | "archive" | "search" | "eye" | "questions" | "pie-chart" | "line-chart" | "table" | "database" | "calculator" | "percent" | "scales" | "euro" | "dollar" | "wallet" | "bank" | "cart" | "price-tag" | "bill" | "gift" | "shop" | "truck" | "shield" | "lock" | "gavel" | "institution" | "passport" | "person" | "team" | "group" | "smile" | "handshake" | "support" | "contacts" | "mail" | "send" | "speech" | "phone" | "megaphone" | "bell" | "share" | "link" | "globe" | "calendar" | "event" | "clock" | "timer" | "history" | "hourglass" | "plane" | "car" | "train" | "ship" | "pin" | "compass" | "bed" | "suitcase" | "home" | "building" | "flag" | "earth" | "sun" | "umbrella" | "heartbeat" | "capsule" | "first-aid" | "restaurant" | "cup" | "leaf" | "plant" | "recycle" | "school" | "graduation" | "brain" | "puzzle" | "award" | "trophy" | "settings" | "tools" | "code" | "bug" | "robot" | "cloud" | "flask" | "microscope" | "cross" | "warning" | "information" | "refresh" | "swap" | "arrow" | "thumbs-up" | "target" | "palette" | "image" | "music" | "video" | "microphone" | undefined;
455
455
  }[];
456
456
  }> | undefined) => any;
457
457
  "update:confirmationsAllowAutomatic": (value: boolean) => any;
@@ -735,7 +735,7 @@ declare const __VLS_base: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, Com
735
735
  id: string;
736
736
  label: Record<string, string>;
737
737
  prompt: Record<string, string>;
738
- icon?: "map" | "filter" | "card" | "check" | "text" | "key" | "sparkles" | "magic" | "idea" | "star" | "heart" | "lightning" | "fire" | "rocket" | "pen" | "pencil" | "paragraph" | "quote" | "list" | "checklist" | "highlighter" | "document" | "folder" | "book" | "bookmark" | "clipboard" | "draft" | "contract" | "attachment" | "archive" | "search" | "eye" | "questions" | "pie-chart" | "line-chart" | "table" | "database" | "calculator" | "percent" | "scales" | "euro" | "dollar" | "wallet" | "bank" | "cart" | "price-tag" | "bill" | "gift" | "shop" | "truck" | "shield" | "lock" | "gavel" | "institution" | "passport" | "person" | "team" | "group" | "smile" | "handshake" | "support" | "contacts" | "mail" | "send" | "speech" | "phone" | "megaphone" | "bell" | "share" | "link" | "globe" | "calendar" | "event" | "clock" | "timer" | "history" | "hourglass" | "plane" | "car" | "train" | "ship" | "pin" | "compass" | "bed" | "suitcase" | "home" | "building" | "flag" | "earth" | "sun" | "umbrella" | "heartbeat" | "capsule" | "first-aid" | "restaurant" | "cup" | "leaf" | "plant" | "recycle" | "school" | "graduation" | "brain" | "puzzle" | "award" | "trophy" | "settings" | "tools" | "code" | "bug" | "robot" | "cloud" | "flask" | "microscope" | "cross" | "warning" | "information" | "refresh" | "swap" | "arrow" | "thumbs-up" | "target" | "palette" | "image" | "music" | "video" | "microphone" | undefined;
738
+ icon?: "map" | "filter" | "card" | "text" | "check" | "key" | "sparkles" | "magic" | "idea" | "star" | "heart" | "lightning" | "fire" | "rocket" | "pen" | "pencil" | "paragraph" | "quote" | "list" | "checklist" | "highlighter" | "document" | "folder" | "book" | "bookmark" | "clipboard" | "draft" | "contract" | "attachment" | "archive" | "search" | "eye" | "questions" | "pie-chart" | "line-chart" | "table" | "database" | "calculator" | "percent" | "scales" | "euro" | "dollar" | "wallet" | "bank" | "cart" | "price-tag" | "bill" | "gift" | "shop" | "truck" | "shield" | "lock" | "gavel" | "institution" | "passport" | "person" | "team" | "group" | "smile" | "handshake" | "support" | "contacts" | "mail" | "send" | "speech" | "phone" | "megaphone" | "bell" | "share" | "link" | "globe" | "calendar" | "event" | "clock" | "timer" | "history" | "hourglass" | "plane" | "car" | "train" | "ship" | "pin" | "compass" | "bed" | "suitcase" | "home" | "building" | "flag" | "earth" | "sun" | "umbrella" | "heartbeat" | "capsule" | "first-aid" | "restaurant" | "cup" | "leaf" | "plant" | "recycle" | "school" | "graduation" | "brain" | "puzzle" | "award" | "trophy" | "settings" | "tools" | "code" | "bug" | "robot" | "cloud" | "flask" | "microscope" | "cross" | "warning" | "information" | "refresh" | "swap" | "arrow" | "thumbs-up" | "target" | "palette" | "image" | "music" | "video" | "microphone" | undefined;
739
739
  }[];
740
740
  }> | undefined) => any) | undefined;
741
741
  "onUpdate:selectionActionsWord"?: ((value: Partial<{
@@ -745,7 +745,7 @@ declare const __VLS_base: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, Com
745
745
  id: string;
746
746
  label: Record<string, string>;
747
747
  prompt: Record<string, string>;
748
- icon?: "map" | "filter" | "card" | "check" | "text" | "key" | "sparkles" | "magic" | "idea" | "star" | "heart" | "lightning" | "fire" | "rocket" | "pen" | "pencil" | "paragraph" | "quote" | "list" | "checklist" | "highlighter" | "document" | "folder" | "book" | "bookmark" | "clipboard" | "draft" | "contract" | "attachment" | "archive" | "search" | "eye" | "questions" | "pie-chart" | "line-chart" | "table" | "database" | "calculator" | "percent" | "scales" | "euro" | "dollar" | "wallet" | "bank" | "cart" | "price-tag" | "bill" | "gift" | "shop" | "truck" | "shield" | "lock" | "gavel" | "institution" | "passport" | "person" | "team" | "group" | "smile" | "handshake" | "support" | "contacts" | "mail" | "send" | "speech" | "phone" | "megaphone" | "bell" | "share" | "link" | "globe" | "calendar" | "event" | "clock" | "timer" | "history" | "hourglass" | "plane" | "car" | "train" | "ship" | "pin" | "compass" | "bed" | "suitcase" | "home" | "building" | "flag" | "earth" | "sun" | "umbrella" | "heartbeat" | "capsule" | "first-aid" | "restaurant" | "cup" | "leaf" | "plant" | "recycle" | "school" | "graduation" | "brain" | "puzzle" | "award" | "trophy" | "settings" | "tools" | "code" | "bug" | "robot" | "cloud" | "flask" | "microscope" | "cross" | "warning" | "information" | "refresh" | "swap" | "arrow" | "thumbs-up" | "target" | "palette" | "image" | "music" | "video" | "microphone" | undefined;
748
+ icon?: "map" | "filter" | "card" | "text" | "check" | "key" | "sparkles" | "magic" | "idea" | "star" | "heart" | "lightning" | "fire" | "rocket" | "pen" | "pencil" | "paragraph" | "quote" | "list" | "checklist" | "highlighter" | "document" | "folder" | "book" | "bookmark" | "clipboard" | "draft" | "contract" | "attachment" | "archive" | "search" | "eye" | "questions" | "pie-chart" | "line-chart" | "table" | "database" | "calculator" | "percent" | "scales" | "euro" | "dollar" | "wallet" | "bank" | "cart" | "price-tag" | "bill" | "gift" | "shop" | "truck" | "shield" | "lock" | "gavel" | "institution" | "passport" | "person" | "team" | "group" | "smile" | "handshake" | "support" | "contacts" | "mail" | "send" | "speech" | "phone" | "megaphone" | "bell" | "share" | "link" | "globe" | "calendar" | "event" | "clock" | "timer" | "history" | "hourglass" | "plane" | "car" | "train" | "ship" | "pin" | "compass" | "bed" | "suitcase" | "home" | "building" | "flag" | "earth" | "sun" | "umbrella" | "heartbeat" | "capsule" | "first-aid" | "restaurant" | "cup" | "leaf" | "plant" | "recycle" | "school" | "graduation" | "brain" | "puzzle" | "award" | "trophy" | "settings" | "tools" | "code" | "bug" | "robot" | "cloud" | "flask" | "microscope" | "cross" | "warning" | "information" | "refresh" | "swap" | "arrow" | "thumbs-up" | "target" | "palette" | "image" | "music" | "video" | "microphone" | undefined;
749
749
  }[];
750
750
  }> | undefined) => any) | undefined;
751
751
  "onUpdate:selectionActionsExcel"?: ((value: Partial<{
@@ -755,7 +755,7 @@ declare const __VLS_base: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, Com
755
755
  id: string;
756
756
  label: Record<string, string>;
757
757
  prompt: Record<string, string>;
758
- icon?: "map" | "filter" | "card" | "check" | "text" | "key" | "sparkles" | "magic" | "idea" | "star" | "heart" | "lightning" | "fire" | "rocket" | "pen" | "pencil" | "paragraph" | "quote" | "list" | "checklist" | "highlighter" | "document" | "folder" | "book" | "bookmark" | "clipboard" | "draft" | "contract" | "attachment" | "archive" | "search" | "eye" | "questions" | "pie-chart" | "line-chart" | "table" | "database" | "calculator" | "percent" | "scales" | "euro" | "dollar" | "wallet" | "bank" | "cart" | "price-tag" | "bill" | "gift" | "shop" | "truck" | "shield" | "lock" | "gavel" | "institution" | "passport" | "person" | "team" | "group" | "smile" | "handshake" | "support" | "contacts" | "mail" | "send" | "speech" | "phone" | "megaphone" | "bell" | "share" | "link" | "globe" | "calendar" | "event" | "clock" | "timer" | "history" | "hourglass" | "plane" | "car" | "train" | "ship" | "pin" | "compass" | "bed" | "suitcase" | "home" | "building" | "flag" | "earth" | "sun" | "umbrella" | "heartbeat" | "capsule" | "first-aid" | "restaurant" | "cup" | "leaf" | "plant" | "recycle" | "school" | "graduation" | "brain" | "puzzle" | "award" | "trophy" | "settings" | "tools" | "code" | "bug" | "robot" | "cloud" | "flask" | "microscope" | "cross" | "warning" | "information" | "refresh" | "swap" | "arrow" | "thumbs-up" | "target" | "palette" | "image" | "music" | "video" | "microphone" | undefined;
758
+ icon?: "map" | "filter" | "card" | "text" | "check" | "key" | "sparkles" | "magic" | "idea" | "star" | "heart" | "lightning" | "fire" | "rocket" | "pen" | "pencil" | "paragraph" | "quote" | "list" | "checklist" | "highlighter" | "document" | "folder" | "book" | "bookmark" | "clipboard" | "draft" | "contract" | "attachment" | "archive" | "search" | "eye" | "questions" | "pie-chart" | "line-chart" | "table" | "database" | "calculator" | "percent" | "scales" | "euro" | "dollar" | "wallet" | "bank" | "cart" | "price-tag" | "bill" | "gift" | "shop" | "truck" | "shield" | "lock" | "gavel" | "institution" | "passport" | "person" | "team" | "group" | "smile" | "handshake" | "support" | "contacts" | "mail" | "send" | "speech" | "phone" | "megaphone" | "bell" | "share" | "link" | "globe" | "calendar" | "event" | "clock" | "timer" | "history" | "hourglass" | "plane" | "car" | "train" | "ship" | "pin" | "compass" | "bed" | "suitcase" | "home" | "building" | "flag" | "earth" | "sun" | "umbrella" | "heartbeat" | "capsule" | "first-aid" | "restaurant" | "cup" | "leaf" | "plant" | "recycle" | "school" | "graduation" | "brain" | "puzzle" | "award" | "trophy" | "settings" | "tools" | "code" | "bug" | "robot" | "cloud" | "flask" | "microscope" | "cross" | "warning" | "information" | "refresh" | "swap" | "arrow" | "thumbs-up" | "target" | "palette" | "image" | "music" | "video" | "microphone" | undefined;
759
759
  }[];
760
760
  }> | undefined) => any) | undefined;
761
761
  "onUpdate:confirmationsAllowAutomatic"?: ((value: boolean) => any) | undefined;
@@ -100,7 +100,7 @@ declare var __VLS_35: {
100
100
  part: TextUIPart;
101
101
  index: number;
102
102
  isLoading: boolean;
103
- }, __VLS_128: "custom" | "text" | "reasoning" | "dynamic-tool" | "source-url" | "source-document" | "reasoning-file" | "step-start" | `data-${string}` | `tool-${string}`, __VLS_129: {
103
+ }, __VLS_128: "text" | "custom" | "reasoning" | "dynamic-tool" | "source-url" | "source-document" | "reasoning-file" | "step-start" | `data-${string}` | `tool-${string}`, __VLS_129: {
104
104
  message: UIChatMessage;
105
105
  part: TextUIPart | CustomContentUIPart | ReasoningUIPart | DynamicToolUIPart | SourceUrlUIPart | SourceDocumentUIPart | ReasoningFileUIPart | StepStartUIPart | {
106
106
  type: `data-${string}`;
@@ -11,9 +11,9 @@ type __VLS_ModelProps = {
11
11
  modelValue?: SelectionActionIcon | undefined;
12
12
  };
13
13
  declare const __VLS_export: DefineComponent<__VLS_ModelProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
14
- "update:modelValue": (value: "map" | "filter" | "card" | "check" | "text" | "key" | "sparkles" | "magic" | "idea" | "star" | "heart" | "lightning" | "fire" | "rocket" | "pen" | "pencil" | "paragraph" | "quote" | "list" | "checklist" | "highlighter" | "document" | "folder" | "book" | "bookmark" | "clipboard" | "draft" | "contract" | "attachment" | "archive" | "search" | "eye" | "questions" | "pie-chart" | "line-chart" | "table" | "database" | "calculator" | "percent" | "scales" | "euro" | "dollar" | "wallet" | "bank" | "cart" | "price-tag" | "bill" | "gift" | "shop" | "truck" | "shield" | "lock" | "gavel" | "institution" | "passport" | "person" | "team" | "group" | "smile" | "handshake" | "support" | "contacts" | "mail" | "send" | "speech" | "phone" | "megaphone" | "bell" | "share" | "link" | "globe" | "calendar" | "event" | "clock" | "timer" | "history" | "hourglass" | "plane" | "car" | "train" | "ship" | "pin" | "compass" | "bed" | "suitcase" | "home" | "building" | "flag" | "earth" | "sun" | "umbrella" | "heartbeat" | "capsule" | "first-aid" | "restaurant" | "cup" | "leaf" | "plant" | "recycle" | "school" | "graduation" | "brain" | "puzzle" | "award" | "trophy" | "settings" | "tools" | "code" | "bug" | "robot" | "cloud" | "flask" | "microscope" | "cross" | "warning" | "information" | "refresh" | "swap" | "arrow" | "thumbs-up" | "target" | "palette" | "image" | "music" | "video" | "microphone" | undefined) => any;
14
+ "update:modelValue": (value: "map" | "filter" | "card" | "text" | "check" | "key" | "sparkles" | "magic" | "idea" | "star" | "heart" | "lightning" | "fire" | "rocket" | "pen" | "pencil" | "paragraph" | "quote" | "list" | "checklist" | "highlighter" | "document" | "folder" | "book" | "bookmark" | "clipboard" | "draft" | "contract" | "attachment" | "archive" | "search" | "eye" | "questions" | "pie-chart" | "line-chart" | "table" | "database" | "calculator" | "percent" | "scales" | "euro" | "dollar" | "wallet" | "bank" | "cart" | "price-tag" | "bill" | "gift" | "shop" | "truck" | "shield" | "lock" | "gavel" | "institution" | "passport" | "person" | "team" | "group" | "smile" | "handshake" | "support" | "contacts" | "mail" | "send" | "speech" | "phone" | "megaphone" | "bell" | "share" | "link" | "globe" | "calendar" | "event" | "clock" | "timer" | "history" | "hourglass" | "plane" | "car" | "train" | "ship" | "pin" | "compass" | "bed" | "suitcase" | "home" | "building" | "flag" | "earth" | "sun" | "umbrella" | "heartbeat" | "capsule" | "first-aid" | "restaurant" | "cup" | "leaf" | "plant" | "recycle" | "school" | "graduation" | "brain" | "puzzle" | "award" | "trophy" | "settings" | "tools" | "code" | "bug" | "robot" | "cloud" | "flask" | "microscope" | "cross" | "warning" | "information" | "refresh" | "swap" | "arrow" | "thumbs-up" | "target" | "palette" | "image" | "music" | "video" | "microphone" | undefined) => any;
15
15
  }, string, PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
16
- "onUpdate:modelValue"?: ((value: "map" | "filter" | "card" | "check" | "text" | "key" | "sparkles" | "magic" | "idea" | "star" | "heart" | "lightning" | "fire" | "rocket" | "pen" | "pencil" | "paragraph" | "quote" | "list" | "checklist" | "highlighter" | "document" | "folder" | "book" | "bookmark" | "clipboard" | "draft" | "contract" | "attachment" | "archive" | "search" | "eye" | "questions" | "pie-chart" | "line-chart" | "table" | "database" | "calculator" | "percent" | "scales" | "euro" | "dollar" | "wallet" | "bank" | "cart" | "price-tag" | "bill" | "gift" | "shop" | "truck" | "shield" | "lock" | "gavel" | "institution" | "passport" | "person" | "team" | "group" | "smile" | "handshake" | "support" | "contacts" | "mail" | "send" | "speech" | "phone" | "megaphone" | "bell" | "share" | "link" | "globe" | "calendar" | "event" | "clock" | "timer" | "history" | "hourglass" | "plane" | "car" | "train" | "ship" | "pin" | "compass" | "bed" | "suitcase" | "home" | "building" | "flag" | "earth" | "sun" | "umbrella" | "heartbeat" | "capsule" | "first-aid" | "restaurant" | "cup" | "leaf" | "plant" | "recycle" | "school" | "graduation" | "brain" | "puzzle" | "award" | "trophy" | "settings" | "tools" | "code" | "bug" | "robot" | "cloud" | "flask" | "microscope" | "cross" | "warning" | "information" | "refresh" | "swap" | "arrow" | "thumbs-up" | "target" | "palette" | "image" | "music" | "video" | "microphone" | undefined) => any) | undefined;
16
+ "onUpdate:modelValue"?: ((value: "map" | "filter" | "card" | "text" | "check" | "key" | "sparkles" | "magic" | "idea" | "star" | "heart" | "lightning" | "fire" | "rocket" | "pen" | "pencil" | "paragraph" | "quote" | "list" | "checklist" | "highlighter" | "document" | "folder" | "book" | "bookmark" | "clipboard" | "draft" | "contract" | "attachment" | "archive" | "search" | "eye" | "questions" | "pie-chart" | "line-chart" | "table" | "database" | "calculator" | "percent" | "scales" | "euro" | "dollar" | "wallet" | "bank" | "cart" | "price-tag" | "bill" | "gift" | "shop" | "truck" | "shield" | "lock" | "gavel" | "institution" | "passport" | "person" | "team" | "group" | "smile" | "handshake" | "support" | "contacts" | "mail" | "send" | "speech" | "phone" | "megaphone" | "bell" | "share" | "link" | "globe" | "calendar" | "event" | "clock" | "timer" | "history" | "hourglass" | "plane" | "car" | "train" | "ship" | "pin" | "compass" | "bed" | "suitcase" | "home" | "building" | "flag" | "earth" | "sun" | "umbrella" | "heartbeat" | "capsule" | "first-aid" | "restaurant" | "cup" | "leaf" | "plant" | "recycle" | "school" | "graduation" | "brain" | "puzzle" | "award" | "trophy" | "settings" | "tools" | "code" | "bug" | "robot" | "cloud" | "flask" | "microscope" | "cross" | "warning" | "information" | "refresh" | "swap" | "arrow" | "thumbs-up" | "target" | "palette" | "image" | "music" | "video" | "microphone" | undefined) => any) | undefined;
17
17
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
18
18
  declare const _default: typeof __VLS_export;
19
19
  export default _default;
@@ -27,6 +27,12 @@ type __VLS_Props = {
27
27
  isDark?: boolean;
28
28
  /** The action came from the keyboard: the focus the bar had moves here. */
29
29
  takeFocus?: boolean;
30
+ /**
31
+ * On a touch screen the text stays selected, with the system's menu
32
+ * above it: the card goes below first, and above only clear of that
33
+ * menu, which covered its buttons on Android.
34
+ */
35
+ touch?: boolean;
30
36
  };
31
37
  declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
32
38
  continue: () => any;
@@ -17,7 +17,7 @@ export declare const withoutUnwritten: (actions: SelectionAction[]) => {
17
17
  id: string;
18
18
  label: Record<string, string>;
19
19
  prompt: Record<string, string>;
20
- icon?: "map" | "filter" | "card" | "check" | "text" | "key" | "sparkles" | "magic" | "idea" | "star" | "heart" | "lightning" | "fire" | "rocket" | "pen" | "pencil" | "paragraph" | "quote" | "list" | "checklist" | "highlighter" | "document" | "folder" | "book" | "bookmark" | "clipboard" | "draft" | "contract" | "attachment" | "archive" | "search" | "eye" | "questions" | "pie-chart" | "line-chart" | "table" | "database" | "calculator" | "percent" | "scales" | "euro" | "dollar" | "wallet" | "bank" | "cart" | "price-tag" | "bill" | "gift" | "shop" | "truck" | "shield" | "lock" | "gavel" | "institution" | "passport" | "person" | "team" | "group" | "smile" | "handshake" | "support" | "contacts" | "mail" | "send" | "speech" | "phone" | "megaphone" | "bell" | "share" | "link" | "globe" | "calendar" | "event" | "clock" | "timer" | "history" | "hourglass" | "plane" | "car" | "train" | "ship" | "pin" | "compass" | "bed" | "suitcase" | "home" | "building" | "flag" | "earth" | "sun" | "umbrella" | "heartbeat" | "capsule" | "first-aid" | "restaurant" | "cup" | "leaf" | "plant" | "recycle" | "school" | "graduation" | "brain" | "puzzle" | "award" | "trophy" | "settings" | "tools" | "code" | "bug" | "robot" | "cloud" | "flask" | "microscope" | "cross" | "warning" | "information" | "refresh" | "swap" | "arrow" | "thumbs-up" | "target" | "palette" | "image" | "music" | "video" | "microphone" | undefined;
20
+ icon?: "map" | "filter" | "card" | "text" | "check" | "key" | "sparkles" | "magic" | "idea" | "star" | "heart" | "lightning" | "fire" | "rocket" | "pen" | "pencil" | "paragraph" | "quote" | "list" | "checklist" | "highlighter" | "document" | "folder" | "book" | "bookmark" | "clipboard" | "draft" | "contract" | "attachment" | "archive" | "search" | "eye" | "questions" | "pie-chart" | "line-chart" | "table" | "database" | "calculator" | "percent" | "scales" | "euro" | "dollar" | "wallet" | "bank" | "cart" | "price-tag" | "bill" | "gift" | "shop" | "truck" | "shield" | "lock" | "gavel" | "institution" | "passport" | "person" | "team" | "group" | "smile" | "handshake" | "support" | "contacts" | "mail" | "send" | "speech" | "phone" | "megaphone" | "bell" | "share" | "link" | "globe" | "calendar" | "event" | "clock" | "timer" | "history" | "hourglass" | "plane" | "car" | "train" | "ship" | "pin" | "compass" | "bed" | "suitcase" | "home" | "building" | "flag" | "earth" | "sun" | "umbrella" | "heartbeat" | "capsule" | "first-aid" | "restaurant" | "cup" | "leaf" | "plant" | "recycle" | "school" | "graduation" | "brain" | "puzzle" | "award" | "trophy" | "settings" | "tools" | "code" | "bug" | "robot" | "cloud" | "flask" | "microscope" | "cross" | "warning" | "information" | "refresh" | "swap" | "arrow" | "thumbs-up" | "target" | "palette" | "image" | "music" | "video" | "microphone" | undefined;
21
21
  }[];
22
22
  /**
23
23
  * The languages the list is written in, a tab each: the agent's, then any
@@ -442,7 +442,7 @@ export declare function useChatFilePreview(read: (storedFileName: string) => Pro
442
442
  format?: "number" | "percent" | "currency" | undefined;
443
443
  } | undefined;
444
444
  colors?: string[] | undefined;
445
- legend?: "left" | "right" | "top" | "bottom" | undefined;
445
+ legend?: "bottom" | "left" | "right" | "top" | undefined;
446
446
  title?: string | undefined;
447
447
  }> | undefined;
448
448
  } | {
@@ -511,7 +511,7 @@ export declare function useChatFilePreview(read: (storedFileName: string) => Pro
511
511
  format?: "number" | "percent" | "currency" | undefined;
512
512
  } | undefined;
513
513
  colors?: string[] | undefined;
514
- legend?: "left" | "right" | "top" | "bottom" | undefined;
514
+ legend?: "bottom" | "left" | "right" | "top" | undefined;
515
515
  title?: string | undefined;
516
516
  }[] | undefined;
517
517
  }[];
@@ -978,7 +978,7 @@ export declare function useChatFilePreview(read: (storedFileName: string) => Pro
978
978
  format?: "number" | "percent" | "currency" | undefined;
979
979
  } | undefined;
980
980
  colors?: string[] | undefined;
981
- legend?: "left" | "right" | "top" | "bottom" | undefined;
981
+ legend?: "bottom" | "left" | "right" | "top" | undefined;
982
982
  title?: string | undefined;
983
983
  }> | undefined;
984
984
  } | {
@@ -1047,7 +1047,7 @@ export declare function useChatFilePreview(read: (storedFileName: string) => Pro
1047
1047
  format?: "number" | "percent" | "currency" | undefined;
1048
1048
  } | undefined;
1049
1049
  colors?: string[] | undefined;
1050
- legend?: "left" | "right" | "top" | "bottom" | undefined;
1050
+ legend?: "bottom" | "left" | "right" | "top" | undefined;
1051
1051
  title?: string | undefined;
1052
1052
  }[] | undefined;
1053
1053
  }[];
@@ -374,13 +374,27 @@ export type SelectionBarPosition = {
374
374
  left: number;
375
375
  placement: 'above' | 'below';
376
376
  };
377
+ /**
378
+ * The room the system's menu takes above a selection made by touch, with its
379
+ * distance from the text: iOS 18 draws its edit menu 41 px high, 14 px above
380
+ * the selection (measured in the simulator on 2026-11-04).
381
+ */
382
+ export declare const SYSTEM_MENU_ROOM = 56;
383
+ /**
384
+ * The room the selection's handles take below the text on a touch screen:
385
+ * Android's hang about 22 px under the line, the knob of iOS about 13
386
+ * (measured in the emulator and the simulator on 2026-11-04). Closer, a
387
+ * handle covered the first row of the bar and took its touch.
388
+ */
389
+ export declare const SELECTION_HANDLES_ROOM = 28;
377
390
  /**
378
391
  * Where the bar of a selection goes (spec `selection-actions.md`, "Dove"):
379
392
  * above the start of the selection, where it covers what was already read,
380
- * and below it only without room above; always below on a touch screen, away
381
- * from the menu the system opens above a selection. `start` is the box of the
382
- * selection's first line, `bottom` its lowest edge, `bounds` the box the bar
383
- * stays in, all in one coordinate space, the result's too.
393
+ * and below it only without room above. On a touch screen below, away from
394
+ * the menu the system opens above a selection; without room below, above
395
+ * that menu, never over it. `start` is the box of the selection's first
396
+ * line, `bottom` its lowest edge, `bounds` the box the bar stays in, all in
397
+ * one coordinate space, the result's too.
384
398
  */
385
399
  export declare function selectionBarPosition({ start, bottom, bar, bounds, touch, gap, margin, }: {
386
400
  start: Pick<DOMRect, 'top' | 'left'>;
@@ -394,3 +408,36 @@ export declare function selectionBarPosition({ start, bottom, bar, bounds, touch
394
408
  gap?: number;
395
409
  margin?: number;
396
410
  }): SelectionBarPosition;
411
+ /**
412
+ * Where the card of an answer goes (spec `selection-actions.md`, "Dove
413
+ * arriva la risposta"), in the coordinates of its `bounds`. The side is
414
+ * decided for the tallest card, so a growing answer never moves it across
415
+ * the text: above the start as the bar, below when the tallest card fits
416
+ * only there, otherwise on the side with more room, and no taller than that
417
+ * room. On a touch screen the other way round, as the bar there: the text
418
+ * stays selected with the system's menu above it, and the card keeps clear
419
+ * of that menu and of the handles. It grows away from the text, and is no
420
+ * wider than its box: the visible part of the window, a pinch included.
421
+ */
422
+ export declare function selectionCardPosition({ start, bottom, bounds, card, tallest, shortest, touch, gap, margin, }: {
423
+ start: Pick<DOMRect, 'top' | 'left'>;
424
+ bottom: number;
425
+ bounds: Pick<DOMRect, 'top' | 'left' | 'width' | 'height'>;
426
+ /** The card as drawn now: it grows with the answer. */
427
+ card: {
428
+ width: number;
429
+ height: number;
430
+ };
431
+ /** The tallest the card gets. */
432
+ tallest: number;
433
+ /** The least room it opens in: with less on both sides it overlaps the selection rather than shrink. */
434
+ shortest: number;
435
+ touch?: boolean;
436
+ gap?: number;
437
+ margin?: number;
438
+ }): {
439
+ top: number;
440
+ left: number;
441
+ maxHeight: number;
442
+ maxWidth: number;
443
+ };