@deep-eye/core 1.2.99 → 1.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (168) hide show
  1. package/CHANGELOG.md +63 -0
  2. package/README.md +1 -1
  3. package/dist/chat-token.css +226 -0
  4. package/dist/components/chat/ChatApp.vue.d.ts +150 -0
  5. package/dist/components/chat/ChatApp.vue.d.ts.map +1 -0
  6. package/dist/components/chat/ChatBot.vue.d.ts +12 -1
  7. package/dist/components/chat/ChatBot.vue.d.ts.map +1 -1
  8. package/dist/components/chat/attachments.d.ts +3 -1
  9. package/dist/components/chat/attachments.d.ts.map +1 -1
  10. package/dist/components/chat/chatContext.d.ts +3 -2
  11. package/dist/components/chat/chatContext.d.ts.map +1 -1
  12. package/dist/components/chat/chatSessionSidebarAssets.d.ts +21 -0
  13. package/dist/components/chat/chatSessionSidebarAssets.d.ts.map +1 -0
  14. package/dist/components/chat/chatSessionSidebarTypes.d.ts +59 -0
  15. package/dist/components/chat/chatSessionSidebarTypes.d.ts.map +1 -0
  16. package/dist/components/chat/cloudConfig.d.ts +84 -0
  17. package/dist/components/chat/cloudConfig.d.ts.map +1 -0
  18. package/dist/components/chat/components/ArtifactList.vue.d.ts +14 -0
  19. package/dist/components/chat/components/ArtifactList.vue.d.ts.map +1 -0
  20. package/dist/components/chat/components/ChatHistorySearchDialog.vue.d.ts +33 -0
  21. package/dist/components/chat/components/ChatHistorySearchDialog.vue.d.ts.map +1 -0
  22. package/dist/components/chat/components/ChatProvider.vue.d.ts +10 -7
  23. package/dist/components/chat/components/ChatProvider.vue.d.ts.map +1 -1
  24. package/dist/components/chat/components/ChatSender.vue.d.ts +16 -4
  25. package/dist/components/chat/components/ChatSender.vue.d.ts.map +1 -1
  26. package/dist/components/chat/components/ChatSessionExpandHistoryCard.vue.d.ts +30 -0
  27. package/dist/components/chat/components/ChatSessionExpandHistoryCard.vue.d.ts.map +1 -0
  28. package/dist/components/chat/components/ChatSessionLoadingDots.vue.d.ts +11 -0
  29. package/dist/components/chat/components/ChatSessionLoadingDots.vue.d.ts.map +1 -0
  30. package/dist/components/chat/components/ChatSessionOverflowTooltip.vue.d.ts +22 -0
  31. package/dist/components/chat/components/ChatSessionOverflowTooltip.vue.d.ts.map +1 -0
  32. package/dist/components/chat/components/ChatSessionSidebar.vue.d.ts +76 -0
  33. package/dist/components/chat/components/ChatSessionSidebar.vue.d.ts.map +1 -0
  34. package/dist/components/chat/components/ChatSessionSkeleton.vue.d.ts +6 -0
  35. package/dist/components/chat/components/ChatSessionSkeleton.vue.d.ts.map +1 -0
  36. package/dist/components/chat/components/ChatSessionStatusMark.vue.d.ts +15 -0
  37. package/dist/components/chat/components/ChatSessionStatusMark.vue.d.ts.map +1 -0
  38. package/dist/components/chat/components/ChatSkillPanel.vue.d.ts +4 -3
  39. package/dist/components/chat/components/ChatSkillPanel.vue.d.ts.map +1 -1
  40. package/dist/components/chat/components/ChatTipMenu.vue.d.ts +19 -5
  41. package/dist/components/chat/components/ChatTipMenu.vue.d.ts.map +1 -1
  42. package/dist/components/chat/components/ConversationList.vue.d.ts.map +1 -1
  43. package/dist/components/chat/components/document-viewer/html/HtmlRenderer.vue.d.ts.map +1 -1
  44. package/dist/components/chat/components/document-viewer/screenshotCapture.d.ts +3 -2
  45. package/dist/components/chat/components/document-viewer/screenshotCapture.d.ts.map +1 -1
  46. package/dist/components/chat/components/index.d.ts +4 -1
  47. package/dist/components/chat/components/index.d.ts.map +1 -1
  48. package/dist/components/chat/composables/chatApiRequest.d.ts +39 -0
  49. package/dist/components/chat/composables/chatApiRequest.d.ts.map +1 -0
  50. package/dist/components/chat/composables/chatHistoryApi.d.ts +41 -0
  51. package/dist/components/chat/composables/chatHistoryApi.d.ts.map +1 -0
  52. package/dist/components/chat/composables/chatSessionId.d.ts +8 -0
  53. package/dist/components/chat/composables/chatSessionId.d.ts.map +1 -0
  54. package/dist/components/chat/composables/useChatNewSessionEpoch.d.ts +3 -0
  55. package/dist/components/chat/composables/useChatNewSessionEpoch.d.ts.map +1 -0
  56. package/dist/components/chat/composables/useChatSessionHistory.d.ts +56 -0
  57. package/dist/components/chat/composables/useChatSessionHistory.d.ts.map +1 -0
  58. package/dist/components/chat/composables/useChatSessionSwitch.d.ts +22 -0
  59. package/dist/components/chat/composables/useChatSessionSwitch.d.ts.map +1 -0
  60. package/dist/components/chat/composables/useChatSkillTipMenu.d.ts.map +1 -1
  61. package/dist/components/chat/composables/useChatTipMenu.d.ts +18 -11
  62. package/dist/components/chat/composables/useChatTipMenu.d.ts.map +1 -1
  63. package/dist/components/chat/composables/useHistoryGroupExpand.d.ts +14 -0
  64. package/dist/components/chat/composables/useHistoryGroupExpand.d.ts.map +1 -0
  65. package/dist/components/chat/htmlPreview.d.ts +9 -0
  66. package/dist/components/chat/htmlPreview.d.ts.map +1 -1
  67. package/dist/components/chat/icons/ChatArtifactFilesIcon.vue.d.ts +9 -0
  68. package/dist/components/chat/icons/ChatArtifactFilesIcon.vue.d.ts.map +1 -0
  69. package/dist/components/chat/icons/ChatTipMenuAssetIcon.vue.d.ts +10 -0
  70. package/dist/components/chat/icons/ChatTipMenuAssetIcon.vue.d.ts.map +1 -0
  71. package/dist/components/chat/icons/ChatTipMenuExpertIcon.vue.d.ts +7 -0
  72. package/dist/components/chat/icons/ChatTipMenuExpertIcon.vue.d.ts.map +1 -0
  73. package/dist/components/chat/icons/ChatTipMenuKnowledgeIcon.vue.d.ts +7 -0
  74. package/dist/components/chat/icons/ChatTipMenuKnowledgeIcon.vue.d.ts.map +1 -0
  75. package/dist/components/chat/icons/ChatTipMenuSkillIcon.vue.d.ts +7 -0
  76. package/dist/components/chat/icons/ChatTipMenuSkillIcon.vue.d.ts.map +1 -0
  77. package/dist/components/chat/icons/index.d.ts +5 -0
  78. package/dist/components/chat/icons/index.d.ts.map +1 -1
  79. package/dist/components/chat/icons/tipMenuItemIcons.d.ts +25 -0
  80. package/dist/components/chat/icons/tipMenuItemIcons.d.ts.map +1 -0
  81. package/dist/components/chat/index.d.ts +16 -4
  82. package/dist/components/chat/index.d.ts.map +1 -1
  83. package/dist/components/chat/mdoc/ArtifactBlock.vue.d.ts +4 -1
  84. package/dist/components/chat/mdoc/ArtifactBlock.vue.d.ts.map +1 -1
  85. package/dist/components/chat/mdoc/ArtifactStack.vue.d.ts +13 -0
  86. package/dist/components/chat/mdoc/ArtifactStack.vue.d.ts.map +1 -0
  87. package/dist/components/chat/mdoc/ContentNodes.vue.d.ts.map +1 -1
  88. package/dist/components/chat/mdoc/artifactOpenStrategy.d.ts +1 -1
  89. package/dist/components/chat/mdoc/artifactOpenStrategy.d.ts.map +1 -1
  90. package/dist/components/chat/mdoc/artifactStack.d.ts +17 -0
  91. package/dist/components/chat/mdoc/artifactStack.d.ts.map +1 -0
  92. package/dist/components/chat/mdoc/index.d.ts +2 -0
  93. package/dist/components/chat/mdoc/index.d.ts.map +1 -1
  94. package/dist/components/chat/mdoc/sessionArtifacts.d.ts +20 -0
  95. package/dist/components/chat/mdoc/sessionArtifacts.d.ts.map +1 -0
  96. package/dist/components/chat/mentionEditor.d.ts +7 -2
  97. package/dist/components/chat/mentionEditor.d.ts.map +1 -1
  98. package/dist/components/chat/sidebarMotion.d.ts +5 -0
  99. package/dist/components/chat/sidebarMotion.d.ts.map +1 -1
  100. package/dist/components/chat/types.d.ts +124 -19
  101. package/dist/components/chat/types.d.ts.map +1 -1
  102. package/dist/components/chat/utils/tipMenuBuiltin.d.ts +2 -0
  103. package/dist/components/chat/utils/tipMenuBuiltin.d.ts.map +1 -0
  104. package/dist/components/skill/api/skillCloudUrl.d.ts.map +1 -1
  105. package/dist/components/skill/avatarThumb.d.ts +14 -0
  106. package/dist/components/skill/avatarThumb.d.ts.map +1 -0
  107. package/dist/components/skill/components/ChatSkillCard.vue.d.ts +2 -1
  108. package/dist/components/skill/components/ChatSkillCard.vue.d.ts.map +1 -1
  109. package/dist/components/skill/components/ChatSkillCardSkeleton.vue.d.ts.map +1 -1
  110. package/dist/components/skill/components/ChatSkillDetailDialog.vue.d.ts +2 -1
  111. package/dist/components/skill/components/ChatSkillDetailDialog.vue.d.ts.map +1 -1
  112. package/dist/components/skill/formatSkillUsageCount.d.ts +3 -0
  113. package/dist/components/skill/formatSkillUsageCount.d.ts.map +1 -0
  114. package/dist/components/skill/index.d.ts +1 -0
  115. package/dist/components/skill/index.d.ts.map +1 -1
  116. package/dist/components/skill/quickActionAvatarIcon.d.ts +25 -0
  117. package/dist/components/skill/quickActionAvatarIcon.d.ts.map +1 -0
  118. package/dist/components/skill/skillCardModel.d.ts.map +1 -1
  119. package/dist/components/skill/types.d.ts +23 -0
  120. package/dist/components/skill/types.d.ts.map +1 -1
  121. package/dist/components/ui/components/UiDialog.vue.d.ts +15 -2
  122. package/dist/components/ui/components/UiDialog.vue.d.ts.map +1 -1
  123. package/dist/components/ui/components/UiDropdown.vue.d.ts +63 -0
  124. package/dist/components/ui/components/UiDropdown.vue.d.ts.map +1 -0
  125. package/dist/components/ui/components/UiImage.vue.d.ts.map +1 -1
  126. package/dist/components/ui/components/UiMenu.vue.d.ts +19 -2
  127. package/dist/components/ui/components/UiMenu.vue.d.ts.map +1 -1
  128. package/dist/components/ui/components/UiMenuColumn.vue.d.ts.map +1 -1
  129. package/dist/components/ui/components/UiMenuNestedSubmenu.vue.d.ts +57 -0
  130. package/dist/components/ui/components/UiMenuNestedSubmenu.vue.d.ts.map +1 -0
  131. package/dist/components/ui/components/UiMenuSubmenuColumn.vue.d.ts +14 -4
  132. package/dist/components/ui/components/UiMenuSubmenuColumn.vue.d.ts.map +1 -1
  133. package/dist/components/ui/components/UiMenuSubmenuList.vue.d.ts +26 -0
  134. package/dist/components/ui/components/UiMenuSubmenuList.vue.d.ts.map +1 -0
  135. package/dist/components/ui/components/UiSearchInput.vue.d.ts +5 -1
  136. package/dist/components/ui/components/UiSearchInput.vue.d.ts.map +1 -1
  137. package/dist/components/ui/components/UiSkeleton.vue.d.ts.map +1 -1
  138. package/dist/components/ui/components/UiTabs.vue.d.ts.map +1 -1
  139. package/dist/components/ui/components/index.d.ts +1 -0
  140. package/dist/components/ui/components/index.d.ts.map +1 -1
  141. package/dist/components/ui/composables/floatingPosition.d.ts +26 -0
  142. package/dist/components/ui/composables/floatingPosition.d.ts.map +1 -0
  143. package/dist/components/ui/composables/index.d.ts +6 -1
  144. package/dist/components/ui/composables/index.d.ts.map +1 -1
  145. package/dist/components/ui/composables/useUiDropdown.d.ts +48 -0
  146. package/dist/components/ui/composables/useUiDropdown.d.ts.map +1 -0
  147. package/dist/components/ui/composables/useUiMenuFloating.d.ts +44 -0
  148. package/dist/components/ui/composables/useUiMenuFloating.d.ts.map +1 -0
  149. package/dist/components/ui/index.d.ts +1 -0
  150. package/dist/components/ui/index.d.ts.map +1 -1
  151. package/dist/components/ui/types.d.ts +68 -3
  152. package/dist/components/ui/types.d.ts.map +1 -1
  153. package/dist/components/ui/utils/index.d.ts +3 -0
  154. package/dist/components/ui/utils/index.d.ts.map +1 -0
  155. package/dist/components/ui/utils/mapDropdownMenuItems.d.ts +13 -0
  156. package/dist/components/ui/utils/mapDropdownMenuItems.d.ts.map +1 -0
  157. package/dist/components/ui/utils/menuSubmenu.d.ts +6 -0
  158. package/dist/components/ui/utils/menuSubmenu.d.ts.map +1 -0
  159. package/dist/{index-DBs0MjQj.cjs → index-3wz4qeyb.cjs} +1 -1
  160. package/dist/{index-BdKHWE9q.js → index-BIox_qiB.js} +1 -1
  161. package/dist/{index-BMtOprb0.js → index-CjA2XNLg.js} +1 -1
  162. package/dist/{index-Cfa1rWQg.js → index-CsRsThr2.js} +32207 -28832
  163. package/dist/{index-xHxkbtlb.cjs → index-DY7BybEW.cjs} +1 -1
  164. package/dist/{index-D-sSuThI.cjs → index-Q0cTvKh-.cjs} +221 -212
  165. package/dist/index.cjs +1 -1
  166. package/dist/index.js +324 -273
  167. package/dist/style.css +2 -2
  168. package/package.json +3 -2
@@ -0,0 +1,59 @@
1
+ import type { ChatHistoryItem } from './composables/chatHistoryApi';
2
+ /** Aligned with basic-agent-web's `AgentHomeSessionRunStatus` (UI-domain, lowercase). */
3
+ export type ChatSessionRunStatus = 'running' | 'success' | 'error' | 'interrupted';
4
+ export interface ChatSessionListItem {
5
+ id: string;
6
+ title: string;
7
+ /** Sort/group key — epoch ms, usually `updateDate`/`createDate`. */
8
+ time: number;
9
+ status: ChatSessionRunStatus;
10
+ viewed: boolean;
11
+ /** Optimistic insert only — plays the list appear animation once. */
12
+ animateIn?: boolean;
13
+ }
14
+ export interface ChatSessionNavItem {
15
+ key: string;
16
+ label: string;
17
+ /** Image URL rendered next to the label; `key: 'new'` falls back to the built-in PNG. */
18
+ icon?: string;
19
+ /** Image URL shown when this nav item is active. */
20
+ activeIcon?: string;
21
+ }
22
+ export interface ChatSidebarTexts {
23
+ brandTitle: string;
24
+ logoAlt: string;
25
+ navAriaLabel: string;
26
+ goHome: string;
27
+ collapse: string;
28
+ expand: string;
29
+ historyTitle: string;
30
+ emptyHistory: string;
31
+ loading: string;
32
+ noMoreHistory: string;
33
+ search: string;
34
+ closeSearch: string;
35
+ quickCreate: string;
36
+ newSession: string;
37
+ noMatches: string;
38
+ }
39
+ export declare const DEFAULT_SIDEBAR_TEXTS: ChatSidebarTexts;
40
+ export declare const DEFAULT_SIDEBAR_NAV_ITEMS: ChatSessionNavItem[];
41
+ export declare const DEFAULT_SIDEBAR_PERSIST_KEY = "deep-eye-chat-sidebar-collapsed";
42
+ /** Tolerates arbitrary backend casing (`RUNNING`, `running`, …); unrecognized/missing → `success`. */
43
+ export declare function parseSessionRunStatus(raw: unknown): ChatSessionRunStatus;
44
+ /** `ChatHistoryItem` (T06 raw API shape) → the sidebar's own UI-domain `ChatSessionListItem`. */
45
+ export declare function mapHistoryItemToSession(item: ChatHistoryItem, defaultTitle: string): ChatSessionListItem;
46
+ export interface ChatSessionHistoryGroup {
47
+ id: string;
48
+ label: string;
49
+ sessions: ChatSessionListItem[];
50
+ }
51
+ /**
52
+ * The sidebar/search dialog show a single flat "任务历史" list — no "7 天前到 30 天前" /
53
+ * "30 天前以上" time-range buckets (matching basic-agent-web's actual UI: the day-range
54
+ * buckets only exist as an internal data shape there too, never rendered as separate
55
+ * sections). `texts`/`now` are kept for signature stability; the sidebar already renders
56
+ * the "任务历史" header above the list, so the single group carries no label of its own.
57
+ */
58
+ export declare function groupSessionsByTime(sessions: readonly ChatSessionListItem[], _texts?: ChatSidebarTexts, _now?: number): ChatSessionHistoryGroup[];
59
+ //# sourceMappingURL=chatSessionSidebarTypes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chatSessionSidebarTypes.d.ts","sourceRoot":"","sources":["../../../src/components/chat/chatSessionSidebarTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAA;AAEnE,yFAAyF;AACzF,MAAM,MAAM,oBAAoB,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,aAAa,CAAA;AAIlF,MAAM,WAAW,mBAAmB;IAClC,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,oEAAoE;IACpE,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,oBAAoB,CAAA;IAC5B,MAAM,EAAE,OAAO,CAAA;IACf,qEAAqE;IACrE,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB;AAED,MAAM,WAAW,kBAAkB;IACjC,GAAG,EAAE,MAAM,CAAA;IACX,KAAK,EAAE,MAAM,CAAA;IACb,yFAAyF;IACzF,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,oDAAoD;IACpD,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB;AAED,MAAM,WAAW,gBAAgB;IAC/B,UAAU,EAAE,MAAM,CAAA;IAClB,OAAO,EAAE,MAAM,CAAA;IACf,YAAY,EAAE,MAAM,CAAA;IACpB,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,MAAM,CAAA;IACd,YAAY,EAAE,MAAM,CAAA;IACpB,YAAY,EAAE,MAAM,CAAA;IACpB,OAAO,EAAE,MAAM,CAAA;IACf,aAAa,EAAE,MAAM,CAAA;IACrB,MAAM,EAAE,MAAM,CAAA;IACd,WAAW,EAAE,MAAM,CAAA;IACnB,WAAW,EAAE,MAAM,CAAA;IACnB,UAAU,EAAE,MAAM,CAAA;IAClB,SAAS,EAAE,MAAM,CAAA;CAClB;AAED,eAAO,MAAM,qBAAqB,EAAE,gBAgBnC,CAAA;AAED,eAAO,MAAM,yBAAyB,EAAE,kBAAkB,EAAmC,CAAA;AAE7F,eAAO,MAAM,2BAA2B,oCAAoC,CAAA;AAE5E,sGAAsG;AACtG,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,OAAO,GAAG,oBAAoB,CAQxE;AAQD,iGAAiG;AACjG,wBAAgB,uBAAuB,CACrC,IAAI,EAAE,eAAe,EACrB,YAAY,EAAE,MAAM,GACnB,mBAAmB,CAQrB;AAED,MAAM,WAAW,uBAAuB;IACtC,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,mBAAmB,EAAE,CAAA;CAChC;AAED;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CACjC,QAAQ,EAAE,SAAS,mBAAmB,EAAE,EACxC,MAAM,GAAE,gBAAwC,EAChD,IAAI,GAAE,MAAmB,GACxB,uBAAuB,EAAE,CAG3B"}
@@ -0,0 +1,84 @@
1
+ import type { ChatKnowledgeListParams, ChatSkillFetchConfig, ChatSkillPublishedSearchParams } from '../skill/types';
2
+ import type { ChatAttachmentLimits, ChatSendPayload, ChatUploadConfig } from './types';
3
+ /** Body params merged into the built-in `agentChatKeep` request. Freeform — the backend contract owns the shape. */
4
+ export type ChatApiRequestParams = Record<string, unknown>;
5
+ /** Context handed to `cloud.chat.getParams()` for per-request body overrides. */
6
+ export interface ChatApiRequestContext {
7
+ payload?: ChatSendPayload;
8
+ model?: string;
9
+ sessionId?: string | null;
10
+ input: unknown[];
11
+ }
12
+ export interface ChatCloudAuth {
13
+ token: string;
14
+ userId: string;
15
+ schoolCode: string;
16
+ appid?: string;
17
+ }
18
+ export interface ChatCloudChatConfig {
19
+ url?: string;
20
+ lastSessionUrl?: string;
21
+ resumeUrl?: string;
22
+ abortUrl?: string;
23
+ params?: ChatApiRequestParams;
24
+ getParams?: (ctx: ChatApiRequestContext) => ChatApiRequestParams | Promise<ChatApiRequestParams>;
25
+ /** 首发时自动生成 24-hex session_id。默认 true。 */
26
+ autoSessionId?: boolean;
27
+ /** 断网/超时后自动 lastSession + resume 续传。默认 true。 */
28
+ resumeEnabled?: boolean;
29
+ /** 停止生成时自动调用 abort_session。默认 true。 */
30
+ abortEnabled?: boolean;
31
+ }
32
+ export interface ChatCloudHistoryConfig {
33
+ objectType: string;
34
+ findByUserIdUrl?: string;
35
+ findBySessionIdUrl?: string;
36
+ viewedUrl?: string;
37
+ }
38
+ export interface ChatCloudSkillsConfig {
39
+ params?: ChatSkillPublishedSearchParams;
40
+ skillParams?: ChatSkillPublishedSearchParams;
41
+ sceneParams?: ChatSkillPublishedSearchParams;
42
+ knowledgeParams?: ChatKnowledgeListParams;
43
+ }
44
+ export interface ChatCloudUploadConfig {
45
+ cloudBaseUrl: string;
46
+ dir?: string;
47
+ limits?: Partial<ChatAttachmentLimits>;
48
+ }
49
+ /**
50
+ * 企业内所有对话相关网络配置的单一入口:鉴权、对话接口、历史接口、技能接口、上传。
51
+ * 通常只在 `ChatProvider`(或 `ChatApp`)配一次,经 context 下发给所有子组件。
52
+ */
53
+ export interface ChatCloudConfig {
54
+ auth: ChatCloudAuth;
55
+ /** 覆盖默认云网关前缀(本地 `/cloud-prod`,线上 `/cloud`)。留空走运行时自动解析。 */
56
+ cloudPrefix?: string;
57
+ /** 追加/覆盖 `auth` 映射出的请求头,二次合并(返回值覆盖同名字段)。 */
58
+ headers?: () => HeadersInit | Promise<HeadersInit>;
59
+ chat?: ChatCloudChatConfig;
60
+ history?: ChatCloudHistoryConfig;
61
+ skills?: ChatCloudSkillsConfig;
62
+ upload?: ChatCloudUploadConfig;
63
+ }
64
+ export declare const DEFAULT_CHAT_API_URL = "/cloud/aibasicservices/Knowledge/record/check/agentChatKeep";
65
+ export declare const DEFAULT_LAST_SESSION_URL = "/cloud/aibasicservices/Knowledge/record/check/lastSession";
66
+ export declare const DEFAULT_RESUME_URL = "/cloud/aibasicservices/Knowledge/record/check/resume";
67
+ export declare const DEFAULT_ABORT_URL = "/cloud/agentskillservice/agent/check/abort_session";
68
+ export declare const DEFAULT_HISTORY_FIND_BY_USER_URL = "/cloud/aibasicservices/genericAgent/history/check/findByUserId";
69
+ export declare const DEFAULT_HISTORY_FIND_BY_SESSION_URL = "/cloud/aibasicservices/genericAgent/history/check/findBySessionId";
70
+ export declare const DEFAULT_HISTORY_VIEWED_URL = "/cloud/aibasicservices/genericAgent/history/viewed";
71
+ /** `auth` → 请求头字段名,对齐 basicagentweb axios 拦截器现状。 */
72
+ export declare function buildCloudAuthHeaders(cloud: ChatCloudConfig): Record<string, string>;
73
+ /** `auth` 请求头与 `cloud.headers()` 的合并结果(后者覆盖同名字段)。 */
74
+ export declare function resolveCloudHeaders(cloud: ChatCloudConfig): Promise<HeadersInit>;
75
+ /**
76
+ * 嵌套 `ChatProvider` 时的合并规则:`auth`/`chat`/`history`/`skills`/`upload` 各自浅合并,
77
+ * 而不是子 Provider 传了 `cloud` 就整体替换父级配置。
78
+ */
79
+ export declare function mergeChatCloudConfig(base: ChatCloudConfig | undefined, override: ChatCloudConfig | undefined): ChatCloudConfig | undefined;
80
+ /** 适配底层技能接口客户端(`skillApi.ts`)期望的扁平结构,供内部派生使用。 */
81
+ export declare function toSkillFetchConfig(cloud: ChatCloudConfig): ChatSkillFetchConfig;
82
+ /** 适配底层上传客户端(`qiniuUpload.ts`)期望的结构;鉴权头改由 `auth` + `headers()` 自动派生。 */
83
+ export declare function toUploadConfig(cloud: ChatCloudConfig | undefined): ChatUploadConfig | undefined;
84
+ //# sourceMappingURL=cloudConfig.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cloudConfig.d.ts","sourceRoot":"","sources":["../../../src/components/chat/cloudConfig.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,uBAAuB,EACvB,oBAAoB,EACpB,8BAA8B,EAC/B,MAAM,gBAAgB,CAAA;AACvB,OAAO,KAAK,EAAE,oBAAoB,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAEtF,oHAAoH;AACpH,MAAM,MAAM,oBAAoB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;AAE1D,iFAAiF;AACjF,MAAM,WAAW,qBAAqB;IACpC,OAAO,CAAC,EAAE,eAAe,CAAA;IACzB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,KAAK,EAAE,OAAO,EAAE,CAAA;CACjB;AAED,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,UAAU,EAAE,MAAM,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,MAAM,WAAW,mBAAmB;IAClC,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,MAAM,CAAC,EAAE,oBAAoB,CAAA;IAC7B,SAAS,CAAC,EAAE,CAAC,GAAG,EAAE,qBAAqB,KAAK,oBAAoB,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAA;IAChG,yCAAyC;IACzC,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,gDAAgD;IAChD,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,uCAAuC;IACvC,YAAY,CAAC,EAAE,OAAO,CAAA;CACvB;AAED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G,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAOpF;AAcD,qDAAqD;AACrD,wBAAsB,mBAAmB,CAAC,KAAK,EAAE,eAAe,GAAG,OAAO,CAAC,WAAW,CAAC,CAKtF;AAQD;;;GAGG;AACH,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,eAAe,GAAG,SAAS,EACjC,QAAQ,EAAE,eAAe,GAAG,SAAS,GACpC,eAAe,GAAG,SAAS,CAY7B;AAED,iDAAiD;AACjD,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,eAAe,GAAG,oBAAoB,CAY/E;AAED,wEAAwE;AACxE,wBAAgB,cAAc,CAAC,KAAK,EAAE,eAAe,GAAG,SAAS,GAAG,gBAAgB,GAAG,SAAS,CAU/F"}
@@ -0,0 +1,14 @@
1
+ import { type SessionArtifact } from '../mdoc/sessionArtifacts';
2
+ type __VLS_Props = {
3
+ artifacts: readonly SessionArtifact[];
4
+ };
5
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
+ select: (item: SessionArtifact) => any;
7
+ close: () => any;
8
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
9
+ onSelect?: ((item: SessionArtifact) => any) | undefined;
10
+ onClose?: (() => any) | undefined;
11
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
+ declare const _default: typeof __VLS_export;
13
+ export default _default;
14
+ //# sourceMappingURL=ArtifactList.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ArtifactList.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/ArtifactList.vue"],"names":[],"mappings":"AA4IA,OAAO,EAAyB,KAAK,eAAe,EAAE,MAAM,0BAA0B,CAAA;AAKtF,KAAK,WAAW,GAAG;IACjB,SAAS,EAAE,SAAS,eAAe,EAAE,CAAA;CACtC,CAAC;AA+IF,QAAA,MAAM,YAAY;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -0,0 +1,33 @@
1
+ import { type ChatSessionListItem, type ChatSidebarTexts } from '../chatSessionSidebarTypes';
2
+ type __VLS_Props = {
3
+ sessions: ChatSessionListItem[];
4
+ activeSessionId?: string;
5
+ historyLoading?: boolean;
6
+ historyHasMore?: boolean;
7
+ historyTotal?: number;
8
+ texts?: ChatSidebarTexts;
9
+ };
10
+ type __VLS_ModelProps = {
11
+ modelValue?: boolean;
12
+ };
13
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
14
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
15
+ "update:modelValue": (value: boolean) => any;
16
+ "load-more": () => any;
17
+ "select-session": (id: string) => any;
18
+ "new-session": () => any;
19
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
20
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
21
+ "onLoad-more"?: (() => any) | undefined;
22
+ "onSelect-session"?: ((id: string) => any) | undefined;
23
+ "onNew-session"?: (() => any) | undefined;
24
+ }>, {
25
+ activeSessionId: string;
26
+ historyLoading: boolean;
27
+ historyHasMore: boolean;
28
+ historyTotal: number;
29
+ texts: ChatSidebarTexts;
30
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
31
+ declare const _default: typeof __VLS_export;
32
+ export default _default;
33
+ //# sourceMappingURL=ChatHistorySearchDialog.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChatHistorySearchDialog.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/ChatHistorySearchDialog.vue"],"names":[],"mappings":"AAmeA,OAAO,EAEL,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,EACtB,MAAM,4BAA4B,CAAA;AAQnC,KAAK,WAAW,GAAG;IACf,QAAQ,EAAE,mBAAmB,EAAE,CAAA;IAC/B,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,KAAK,CAAC,EAAE,gBAAgB,CAAA;CACzB,CAAC;AAmFJ,KAAK,gBAAgB,GAAG;IACxB,UAAU,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAYF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AAuSxD,QAAA,MAAM,YAAY;;;;;;;;;;;qBA7YI,MAAM;oBACP,OAAO;oBACP,OAAO;kBACT,MAAM;WACb,gBAAgB;6EA6Y1B,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,5 +1,6 @@
1
1
  import { type PropType } from 'vue';
2
- import type { ChatAttachmentLimits, ChatColorMode, ChatPreviewRendererMap, ChatTheme, ChatToolRendererMap, ChatUploadConfig } from '../types';
2
+ import { type ChatCloudConfig } from '../cloudConfig';
3
+ import type { ChatAttachmentLimits, ChatColorMode, ChatPreviewRendererMap, ChatTheme, ChatToolRendererMap } from '../types';
3
4
  declare var __VLS_1: {};
4
5
  type __VLS_Slots = {} & {
5
6
  default?: (props: typeof __VLS_1) => any;
@@ -9,8 +10,9 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
9
10
  type: PropType<ChatColorMode>;
10
11
  default: undefined;
11
12
  };
12
- uploadConfig: {
13
- type: PropType<ChatUploadConfig>;
13
+ /** 对话/历史/技能/上传的统一云配置,嵌套 Provider 时按子对象浅合并。 */
14
+ cloud: {
15
+ type: PropType<ChatCloudConfig>;
14
16
  default: undefined;
15
17
  };
16
18
  limits: {
@@ -34,8 +36,9 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
34
36
  type: PropType<ChatColorMode>;
35
37
  default: undefined;
36
38
  };
37
- uploadConfig: {
38
- type: PropType<ChatUploadConfig>;
39
+ /** 对话/历史/技能/上传的统一云配置,嵌套 Provider 时按子对象浅合并。 */
40
+ cloud: {
41
+ type: PropType<ChatCloudConfig>;
39
42
  default: undefined;
40
43
  };
41
44
  limits: {
@@ -56,11 +59,11 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
56
59
  };
57
60
  }>> & Readonly<{}>, {
58
61
  theme: ChatTheme;
59
- uploadConfig: ChatUploadConfig;
62
+ limits: Partial<ChatAttachmentLimits>;
63
+ cloud: ChatCloudConfig;
60
64
  colorMode: ChatColorMode;
61
65
  previewRenderers: Partial<Record<string, import("..").ChatPreviewRenderer>>;
62
66
  toolRenderers: ChatToolRendererMap;
63
- limits: Partial<ChatAttachmentLimits>;
64
67
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
65
68
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
66
69
  declare const _default: typeof __VLS_export;
@@ -1 +1 @@
1
- {"version":3,"file":"ChatProvider.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/ChatProvider.vue"],"names":[],"mappings":"AAmIA,OAAO,EAAY,KAAK,QAAQ,EAAE,MAAM,KAAK,CAAA;AAE7C,OAAO,KAAK,EACV,oBAAoB,EACpB,aAAa,EACb,sBAAsB,EACtB,SAAS,EACT,mBAAmB,EACnB,gBAAgB,EACjB,MAAM,UAAU,CAAA;AAiEjB,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAK/C,QAAA,MAAM,UAAU;;cAEe,QAAQ,CAAC,aAAa,CAAC;;;;cACpB,QAAQ,CAAC,gBAAgB,CAAC;;;;cAChC,QAAQ,CAAC,OAAO,CAAC,oBAAoB,CAAC,CAAC;;;;cACxC,QAAQ,CAAC,SAAS,CAAC;;;;cACR,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AC;;;;cACR,QAAQ,CAAC,sBAAsB,CAAC;;;;cACnC,QAAQ,CAAC,mBAAmB,CAAC;;;;;cANjC,QAAQ,CAAC,aAAa,CAAC;;;IACpD,8CAA8C;;cACrB,QAAQ,CAAC,eAAe,CAAC;;;;cACxB,QAAQ,CAAC,OAAO,CAAC,oBAAoB,CAAC,CAAC;;;;cACxC,QAAQ,CAAC,SAAS,CAAC;;;;cACR,QAAQ,CAAC,sBAAsB,CAAC;;;;cACnC,QAAQ,CAAC,mBAAmB,CAAC;;;;;;;;;;4EAE9D,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -1,4 +1,6 @@
1
- import type { ChatAttachmentError, ChatAttachmentLimits, ChatComposerAttachment, ChatResourceFile, ChatSendPayload, ChatSenderMentionSlotProps, ChatSenderModelOption, ChatSenderProps, ChatSenderQuickAction, ChatSenderTrigger, ChatUploadConfig } from '../types';
1
+ import type { ChatAttachmentError, ChatAttachmentLimits, ChatComposerAttachment, ChatResourceFile, ChatMentionKind, ChatSendPayload, ChatSenderMentionSlotProps, ChatSenderModelOption, ChatSenderProps, ChatSenderQuickAction, ChatSenderTrigger } from '../types';
2
+ import type { ChatCloudConfig } from '../cloudConfig';
3
+ import type { ChatSkillCardModel } from '../../skill';
2
4
  type __VLS_Slots = {
3
5
  'trigger-menu'?: (props: {
4
6
  triggerId: string;
@@ -24,9 +26,16 @@ declare function addFiles(files: readonly File[]): void;
24
26
  * works even when the editor isn't currently focused/selected.
25
27
  */
26
28
  declare function insertText(text: string): void;
29
+ declare function handleSkillPanelUse(card: ChatSkillCardModel): void;
30
+ declare function handleSkillPanelShortcut(payload: {
31
+ skill: ChatSkillCardModel;
32
+ text: string;
33
+ }): void;
27
34
  declare const __VLS_base: import("vue").DefineComponent<ChatSenderProps, {
28
35
  addFiles: typeof addFiles;
29
36
  insertText: typeof insertText;
37
+ useSkillCard: typeof handleSkillPanelUse;
38
+ useSkillShortcut: typeof handleSkillPanelShortcut;
30
39
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
31
40
  stop: () => any;
32
41
  preview: (resource: ChatResourceFile) => any;
@@ -62,11 +71,13 @@ declare const __VLS_base: import("vue").DefineComponent<ChatSenderProps, {
62
71
  triggerId: string;
63
72
  id: string;
64
73
  label: string;
74
+ kind?: ChatMentionKind;
65
75
  }) => any;
66
76
  "mention-remove": (payload: {
67
77
  triggerId: string;
68
78
  id: string;
69
79
  label: string;
80
+ kind?: ChatMentionKind;
70
81
  }) => any;
71
82
  "mic-permission-guide-click": () => any;
72
83
  "update:model": (model: string) => any;
@@ -106,11 +117,13 @@ declare const __VLS_base: import("vue").DefineComponent<ChatSenderProps, {
106
117
  triggerId: string;
107
118
  id: string;
108
119
  label: string;
120
+ kind?: ChatMentionKind;
109
121
  }) => any) | undefined;
110
122
  "onMention-remove"?: ((payload: {
111
123
  triggerId: string;
112
124
  id: string;
113
125
  label: string;
126
+ kind?: ChatMentionKind;
114
127
  }) => any) | undefined;
115
128
  "onMic-permission-guide-click"?: (() => any) | undefined;
116
129
  "onUpdate:model"?: ((model: string) => any) | undefined;
@@ -121,13 +134,13 @@ declare const __VLS_base: import("vue").DefineComponent<ChatSenderProps, {
121
134
  disabled: boolean;
122
135
  placeholder: string;
123
136
  model: string;
124
- customMenuItems: readonly import("../types").ChatAttachmentMenuItem[];
137
+ customMenuItems: readonly import("../../index.ts").UiDropdownMenuItem[];
125
138
  showAttachment: boolean;
126
139
  enableFileDrop: boolean;
127
140
  maxRows: number;
128
141
  draft: string;
129
142
  attachments: readonly ChatComposerAttachment[];
130
- uploadConfig: ChatUploadConfig;
143
+ cloud: ChatCloudConfig;
131
144
  attachmentLimits: Partial<ChatAttachmentLimits>;
132
145
  attachmentInput: import("../types").ChatAttachmentInput;
133
146
  sendWhileStreaming: boolean;
@@ -140,7 +153,6 @@ declare const __VLS_base: import("vue").DefineComponent<ChatSenderProps, {
140
153
  showModelSelector: boolean;
141
154
  showSkillPanel: boolean;
142
155
  showSkillEmpty: boolean;
143
- skillFetchConfig: import("../types").ChatSkillFetchConfig;
144
156
  tipMenuItems: import("../types").ChatTipMenuItems;
145
157
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
146
158
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -1 +1 @@
1
- {"version":3,"file":"ChatSender.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/ChatSender.vue"],"names":[],"mappings":"AA21IA,OAAO,KAAK,EACV,mBAAmB,EACnB,oBAAoB,EACpB,sBAAsB,EACtB,gBAAgB,EAChB,eAAe,EACf,0BAA0B,EAC1B,qBAAqB,EACrB,eAAe,EACf,qBAAqB,EACrB,iBAAiB,EACjB,gBAAgB,EACjB,MAAM,UAAU,CAAA;AA0EjB,KAAK,WAAW,GAAG;IACjB,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE;QACvB,SAAS,EAAE,MAAM,CAAA;QACjB,KAAK,EAAE,MAAM,CAAA;QACb,MAAM,EAAE,CAAC,OAAO,EAAE;YAAE,EAAE,EAAE,MAAM,CAAC;YAAC,KAAK,EAAE,MAAM,CAAA;SAAE,KAAK,IAAI,CAAA;QACxD,KAAK,EAAE,MAAM,IAAI,CAAA;QACjB,UAAU,EAAE,OAAO,GAAG,IAAI,CAAA;KAC3B,KAAK,OAAO,CAAA;IACb,4EAA4E;IAC5E,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,0BAA0B,KAAK,OAAO,CAAA;IACxD,6EAA6E;IAC7E,sBAAsB,CAAC,EAAE,MAAM,OAAO,CAAA;IACtC,gDAAgD;IAChD,aAAa,CAAC,EAAE,MAAM,OAAO,CAAA;CAC9B,CAAC;AA4hDF,iBAAS,QAAQ,CAAC,KAAK,EAAE,SAAS,IAAI,EAAE,GAAG,IAAI,CAE9C;AAED;;;;GAIG;AACH,iBAAS,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAwBtC;AA6gED,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;mBAnmHyB,MAAM;;;mBACL,MAAM;eAAS,MAAM;;;mBACrB,MAAM;;;mBACL,MAAM;YAAM,MAAM;eAAS,MAAM;;;mBACjC,MAAM;YAAM,MAAM;eAAS,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAJnC,MAAM;;;mBACL,MAAM;eAAS,MAAM;;;mBACrB,MAAM;;;mBACL,MAAM;YAAM,MAAM;eAAS,MAAM;;;mBACjC,MAAM;YAAM,MAAM;eAAS,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6EAomH1E,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"ChatSender.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/ChatSender.vue"],"names":[],"mappings":"AAm/IA,OAAO,KAAK,EACV,mBAAmB,EACnB,oBAAoB,EACpB,sBAAsB,EACtB,gBAAgB,EAChB,eAAe,EAEf,eAAe,EACf,0BAA0B,EAC1B,qBAAqB,EACrB,eAAe,EACf,qBAAqB,EACrB,iBAAiB,EAClB,MAAM,UAAU,CAAA;AACjB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AACrD,OAAO,KAAK,EAAE,kBAAkB,EAAsB,MAAM,aAAa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AAM;eAAS,MAAM;eAAS,eAAe;;;mBAGzD,MAAM;YAAM,MAAM;eAAS,MAAM;eAAS,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6EAiuHjF,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -0,0 +1,30 @@
1
+ import { type ChatSessionListItem, type ChatSidebarTexts } from '../chatSessionSidebarTypes';
2
+ type __VLS_Props = {
3
+ activeSessionId?: string;
4
+ sessions?: ChatSessionListItem[];
5
+ loading?: boolean;
6
+ hasMore?: boolean;
7
+ total?: number;
8
+ texts?: Partial<ChatSidebarTexts>;
9
+ };
10
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
+ "load-more": () => any;
12
+ "select-session": (sessionId: string) => any;
13
+ "new-session": () => any;
14
+ "go-home": () => any;
15
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
16
+ "onLoad-more"?: (() => any) | undefined;
17
+ "onSelect-session"?: ((sessionId: string) => any) | undefined;
18
+ "onNew-session"?: (() => any) | undefined;
19
+ "onGo-home"?: (() => any) | undefined;
20
+ }>, {
21
+ loading: boolean;
22
+ hasMore: boolean;
23
+ total: number;
24
+ sessions: ChatSessionListItem[];
25
+ activeSessionId: string;
26
+ texts: Partial<ChatSidebarTexts>;
27
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
28
+ declare const _default: typeof __VLS_export;
29
+ export default _default;
30
+ //# sourceMappingURL=ChatSessionExpandHistoryCard.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChatSessionExpandHistoryCard.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/ChatSessionExpandHistoryCard.vue"],"names":[],"mappings":"AAmVA,OAAO,EAEL,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,EACtB,MAAM,4BAA4B,CAAA;AAUnC,KAAK,WAAW,GAAG;IACf,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,QAAQ,CAAC,EAAE,mBAAmB,EAAE,CAAA;IAChC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,OAAO,CAAC,gBAAgB,CAAC,CAAA;CAClC,CAAC;AA6YJ,QAAA,MAAM,YAAY;;;;;;;;;;;aAjZJ,OAAO;aACP,OAAO;WACT,MAAM;cAHH,mBAAmB,EAAE;qBADd,MAAM;WAKhB,OAAO,CAAC,gBAAgB,CAAC;6EAkZnC,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -0,0 +1,11 @@
1
+ type __VLS_Props = {
2
+ size?: number;
3
+ color?: string;
4
+ };
5
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
6
+ color: string;
7
+ size: number;
8
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ declare const _default: typeof __VLS_export;
10
+ export default _default;
11
+ //# sourceMappingURL=ChatSessionLoadingDots.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChatSessionLoadingDots.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/ChatSessionLoadingDots.vue"],"names":[],"mappings":"AAwIA,KAAK,WAAW,GAAG;IACf,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AAgEJ,QAAA,MAAM,YAAY;WAjEN,MAAM;UADP,MAAM;6EAqEf,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -0,0 +1,22 @@
1
+ type __VLS_Props = {
2
+ content: string;
3
+ placement?: 'top' | 'bottom' | 'right' | 'left';
4
+ showAfter?: number;
5
+ };
6
+ declare var __VLS_8: {};
7
+ type __VLS_Slots = {} & {
8
+ default?: (props: typeof __VLS_8) => any;
9
+ };
10
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
11
+ placement: "top" | "bottom" | "right" | "left";
12
+ showAfter: number;
13
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
15
+ declare const _default: typeof __VLS_export;
16
+ export default _default;
17
+ type __VLS_WithSlots<T, S> = T & {
18
+ new (): {
19
+ $slots: S;
20
+ };
21
+ };
22
+ //# sourceMappingURL=ChatSessionOverflowTooltip.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChatSessionOverflowTooltip.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/ChatSessionOverflowTooltip.vue"],"names":[],"mappings":"AAyDA,KAAK,WAAW,GAAG;IACf,OAAO,EAAE,MAAM,CAAA;IACf,SAAS,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAA;IAC/C,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAC;AAuEJ,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAO/C,QAAA,MAAM,UAAU;eAlFA,KAAK,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM;eACnC,MAAM;6EAoFpB,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -0,0 +1,76 @@
1
+ import type { ChatCloudConfig } from '../cloudConfig';
2
+ import { type ChatSessionListItem, type ChatSessionNavItem, type ChatSidebarTexts } from '../chatSessionSidebarTypes';
3
+ import type { ChatSessionSidebarExpose } from '../types';
4
+ type __VLS_Props = {
5
+ navItems?: ChatSessionNavItem[];
6
+ activeNavKey?: string;
7
+ activeSessionId?: string;
8
+ sessions?: ChatSessionListItem[];
9
+ loading?: boolean;
10
+ hasMore?: boolean;
11
+ total?: number;
12
+ brand?: {
13
+ title?: string;
14
+ logo?: string;
15
+ logoAlt?: string;
16
+ };
17
+ texts?: Partial<ChatSidebarTexts>;
18
+ cloud?: ChatCloudConfig;
19
+ persistCollapsed?: boolean;
20
+ persistKey?: string;
21
+ };
22
+ type __VLS_ModelProps = {
23
+ 'collapsed'?: boolean | undefined;
24
+ };
25
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
26
+ declare var __VLS_13: {};
27
+ type __VLS_Slots = {} & {
28
+ nav?: (props: typeof __VLS_13) => any;
29
+ };
30
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, ChatSessionSidebarExpose, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
31
+ "load-more": () => any;
32
+ "select-session": (id: string) => any;
33
+ "new-session": () => any;
34
+ "nav-select": (key: string) => any;
35
+ "toggle-collapse": (collapsed: boolean) => any;
36
+ "go-home": () => any;
37
+ "collapsed-trigger-hover": (hovered: boolean) => any;
38
+ "collapsed-trigger-focus": (focused: boolean) => any;
39
+ "update:collapsed": (value: boolean | undefined) => any;
40
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
41
+ "onLoad-more"?: (() => any) | undefined;
42
+ "onSelect-session"?: ((id: string) => any) | undefined;
43
+ "onNew-session"?: (() => any) | undefined;
44
+ "onNav-select"?: ((key: string) => any) | undefined;
45
+ "onToggle-collapse"?: ((collapsed: boolean) => any) | undefined;
46
+ "onGo-home"?: (() => any) | undefined;
47
+ "onCollapsed-trigger-hover"?: ((hovered: boolean) => any) | undefined;
48
+ "onCollapsed-trigger-focus"?: ((focused: boolean) => any) | undefined;
49
+ "onUpdate:collapsed"?: ((value: boolean | undefined) => any) | undefined;
50
+ }>, {
51
+ loading: boolean;
52
+ hasMore: boolean;
53
+ total: number;
54
+ cloud: ChatCloudConfig;
55
+ sessions: ChatSessionListItem[];
56
+ activeSessionId: string;
57
+ texts: Partial<ChatSidebarTexts>;
58
+ navItems: ChatSessionNavItem[];
59
+ activeNavKey: string;
60
+ brand: {
61
+ title?: string;
62
+ logo?: string;
63
+ logoAlt?: string;
64
+ };
65
+ persistCollapsed: boolean;
66
+ persistKey: string;
67
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
68
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
69
+ declare const _default: typeof __VLS_export;
70
+ export default _default;
71
+ type __VLS_WithSlots<T, S> = T & {
72
+ new (): {
73
+ $slots: S;
74
+ };
75
+ };
76
+ //# sourceMappingURL=ChatSessionSidebar.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChatSessionSidebar.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/ChatSessionSidebar.vue"],"names":[],"mappings":"AAwxBA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AACrD,OAAO,EAIL,KAAK,mBA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AkB,EAAE;kBAChB,MAAM;WAMb;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,MAAM,CAAA;KAAE;sBAGxC,OAAO;gBACb,MAAM;6EA8wBrB,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -0,0 +1,6 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {
2
+ el: import("vue").Ref<HTMLElement | undefined, HTMLElement | undefined>;
3
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
4
+ declare const _default: typeof __VLS_export;
5
+ export default _default;
6
+ //# sourceMappingURL=ChatSessionSkeleton.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChatSessionSkeleton.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/ChatSessionSkeleton.vue"],"names":[],"mappings":"AAyPA,QAAA,MAAM,YAAY;;0OAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -0,0 +1,15 @@
1
+ import type { ChatSessionRunStatus } from '../chatSessionSidebarTypes';
2
+ type __VLS_Props = {
3
+ status?: ChatSessionRunStatus;
4
+ viewed?: boolean;
5
+ /** spinner: running indicator; unread: blue dot for finished-but-unviewed */
6
+ kind?: 'unread' | 'spinner';
7
+ };
8
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
9
+ kind: "unread" | "spinner";
10
+ status: ChatSessionRunStatus;
11
+ viewed: boolean;
12
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
+ declare const _default: typeof __VLS_export;
14
+ export default _default;
15
+ //# sourceMappingURL=ChatSessionStatusMark.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChatSessionStatusMark.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/ChatSessionStatusMark.vue"],"names":[],"mappings":"AA+EA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAA;AAQtE,KAAK,WAAW,GAAG;IACf,MAAM,CAAC,EAAE,oBAAoB,CAAA;IAC7B,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,6EAA6E;IAC7E,IAAI,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAA;CAC5B,CAAC;AAqGJ,QAAA,MAAM,YAAY;UAtGP,QAAQ,GAAG,SAAS;YAHlB,oBAAoB;YACpB,OAAO;6EA2GlB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,18 +1,19 @@
1
- import type { ChatSkillCardModel, ChatSkillTab } from '../../skill';
1
+ import type { ChatSkillAvatarThumbConfig, ChatSkillCardModel, ChatSkillTab } from '../../skill';
2
2
  type __VLS_Props = {
3
3
  tabs: readonly ChatSkillTab[];
4
4
  cardModels: readonly ChatSkillCardModel[];
5
5
  loading?: boolean;
6
6
  typesLoading?: boolean;
7
7
  showEmpty?: boolean;
8
+ avatarThumb?: ChatSkillAvatarThumbConfig;
8
9
  };
9
10
  type __VLS_ModelProps = {
10
11
  'activeCategory': string;
11
12
  };
12
13
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
13
- declare var __VLS_42: {};
14
+ declare var __VLS_43: {};
14
15
  type __VLS_Slots = {} & {
15
- empty?: (props: typeof __VLS_42) => any;
16
+ empty?: (props: typeof __VLS_43) => any;
16
17
  };
17
18
  declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
18
19
  use: (skill: ChatSkillCardModel) => any;
@@ -1 +1 @@
1
- {"version":3,"file":"ChatSkillPanel.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/ChatSkillPanel.vue"],"names":[],"mappings":"AAiKA,OAAO,KAAK,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAInE,KAAK,WAAW,GAAG;IACf,IAAI,EAAE,SAAS,YAAY,EAAE,CAAA;IAC7B,UAAU,EAAE,SAAS,kBAAkB,EAAE,CAAA;IACzC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB,CAAC;AAuCJ,KAAK,gBAAgB,GAAG;IACxB,gBAAgB,EAAE,MAAM,CAAC;CACxB,CAAC;AAUF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AAyOxD,QAAA,IAAI,QAAQ,IAAY,CAAE;AAC1B,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAK9C,QAAA,MAAM,UAAU;;;;eAvRe,kBAAkB;cAAQ,MAAM;;;;;;eAAhC,kBAAkB;cAAQ,MAAM;;;aAfjD,OAAO;eAEL,OAAO;kBADJ,OAAO;6EAySxB,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"ChatSkillPanel.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/ChatSkillPanel.vue"],"names":[],"mappings":"AAsKA,OAAO,KAAK,EAAE,0BAA0B,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAI/F,KAAK,WAAW,GAAG;IACf,IAAI,EAAE,SAAS,YAAY,EAAE,CAAA;IAC7B,UAAU,EAAE,SAAS,kBAAkB,EAAE,CAAA;IACzC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,WAAW,CAAC,EAAE,0BAA0B,CAAA;CACzC,CAAC;AAuCJ,KAAK,gBAAgB,GAAG;IACxB,gBAAgB,EAAE,MAAM,CAAC;CACxB,CAAC;AAUF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AAoPxD,QAAA,IAAI,QAAQ,IAAY,CAAE;AAC1B,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAK9C,QAAA,MAAM,UAAU;;;;eAlSe,kBAAkB;cAAQ,MAAM;;;;;;eAAhC,kBAAkB;cAAQ,MAAM;;;aAhBjD,OAAO;eAEL,OAAO;kBADJ,OAAO;6EAqTxB,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -1,18 +1,30 @@
1
- import type { ChatAttachmentMenuItem } from '../types';
1
+ import type { UiDropdownMenuItem } from '../../ui/types';
2
2
  import type { UseChatSkillTipMenuReturn } from '../composables/useChatSkillTipMenu';
3
+ import type { UiMenuPlacement } from '../../ui/composables';
3
4
  import type { UiMenuItem } from '../../ui/types';
4
5
  type __VLS_Props = {
5
6
  open: boolean;
6
7
  anchor: HTMLElement | null;
7
8
  disabled?: boolean;
8
- customMenuItems?: readonly ChatAttachmentMenuItem[];
9
+ customMenuItems?: readonly UiDropdownMenuItem[];
9
10
  menu: UseChatSkillTipMenuReturn;
11
+ placement?: UiMenuPlacement;
12
+ submenuPlacement?: UiMenuPlacement;
13
+ onCustomSubmenuOpen?: (itemId: string, path?: string) => void;
10
14
  };
11
- declare var __VLS_21: {
15
+ declare var __VLS_16: `${string}-icon`, __VLS_17: {
16
+ item: UiMenuItem;
17
+ }, __VLS_19: {
18
+ item: UiMenuItem;
19
+ }, __VLS_27: {
12
20
  item: UiMenuItem;
13
21
  };
14
22
  type __VLS_Slots = {} & {
15
- 'submenu-footer'?: (props: typeof __VLS_21) => any;
23
+ [K in NonNullable<typeof __VLS_16>]?: (props: typeof __VLS_17) => any;
24
+ } & {
25
+ 'item-icon'?: (props: typeof __VLS_19) => any;
26
+ } & {
27
+ 'submenu-footer'?: (props: typeof __VLS_27) => any;
16
28
  };
17
29
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
18
30
  "update:open": (value: boolean) => any;
@@ -22,7 +34,9 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
22
34
  "onMenu-item-click"?: ((itemId: string) => any) | undefined;
23
35
  }>, {
24
36
  disabled: boolean;
25
- customMenuItems: readonly ChatAttachmentMenuItem[];
37
+ placement: UiMenuPlacement;
38
+ submenuPlacement: UiMenuPlacement;
39
+ customMenuItems: readonly UiDropdownMenuItem[];
26
40
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
27
41
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
28
42
  declare const _default: typeof __VLS_export;