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

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 (109) 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 +2909 -2858
  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 +1 -1
  88. package/dist-vue/index.js +21 -21
  89. package/dist-vue/packages/components/src/chat/PkAgentSettingsPanel.d.ts +6 -6
  90. package/dist-vue/packages/components/src/chat/PkChatbotMessages.d.ts +1 -1
  91. package/dist-vue/packages/components/src/chat/PkSelectionActionIconPicker.d.ts +2 -2
  92. package/dist-vue/packages/components/src/chat/PkSelectionAnswerCard.d.ts +6 -0
  93. package/dist-vue/packages/components/src/chat/selectionActionEdits.d.ts +1 -1
  94. package/dist-vue/packages/components/src/chat/useChatFilePreview.d.ts +4 -4
  95. package/dist-vue/packages/components/src/chat/utils.d.ts +51 -4
  96. package/dist-vue/packages/composable/src/chatbot/useChatbotStore.d.ts +18 -18
  97. package/dist-vue/packages/composable/src/useSettledSelection.d.ts +2 -2
  98. package/dist-vue/packages/models/src/schema/Agent.d.ts +21 -21
  99. package/dist-vue/packages/models/src/schema/Chart.d.ts +1 -1
  100. package/dist-vue/packages/models/src/schema/ReasoningChat.d.ts +6 -6
  101. package/dist-vue/packages/models/src/schema/SelectionAction.d.ts +11 -11
  102. package/dist-vue/packages/models/src/schema/SelectionActionPreview.d.ts +3 -3
  103. package/dist-vue/packages/models/src/schema/SpreadsheetPreview.d.ts +5 -5
  104. package/dist-vue/packages/models/src/schema/SubAgent.d.ts +6 -6
  105. package/dist-vue/packages/models/src/schema/WordPreview.d.ts +1 -1
  106. package/package.json +1 -1
  107. package/dist/_chunks/PkSelectionActions-CMyg_x8h.js.map +0 -1
  108. package/dist/_chunks/utils-BBoaLDYF.js.map +0 -1
  109. package/dist-vue/_chunks/PkFilePreview-CmsT6lSP.js.map +0 -1
@@ -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
+ };