@memberjunction/ng-conversations 6.1.4 → 6.2.0-edge.1

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 (424) hide show
  1. package/README.md +36 -3
  2. package/dist/lib/components/active-tasks/active-tasks-panel.component.d.ts +19 -3
  3. package/dist/lib/components/active-tasks/active-tasks-panel.component.d.ts.map +1 -1
  4. package/dist/lib/components/active-tasks/active-tasks-panel.component.js +39 -7
  5. package/dist/lib/components/active-tasks/active-tasks-panel.component.js.map +1 -1
  6. package/dist/lib/components/agent/active-agent-indicator.component.d.ts +74 -6
  7. package/dist/lib/components/agent/active-agent-indicator.component.d.ts.map +1 -1
  8. package/dist/lib/components/agent/active-agent-indicator.component.js +111 -21
  9. package/dist/lib/components/agent/active-agent-indicator.component.js.map +1 -1
  10. package/dist/lib/components/agent/agent-process-panel.component.d.ts +31 -5
  11. package/dist/lib/components/agent/agent-process-panel.component.d.ts.map +1 -1
  12. package/dist/lib/components/agent/agent-process-panel.component.js +71 -15
  13. package/dist/lib/components/agent/agent-process-panel.component.js.map +1 -1
  14. package/dist/lib/components/artifact/artifact-share-modal.component.d.ts +65 -9
  15. package/dist/lib/components/artifact/artifact-share-modal.component.d.ts.map +1 -1
  16. package/dist/lib/components/artifact/artifact-share-modal.component.js +169 -57
  17. package/dist/lib/components/artifact/artifact-share-modal.component.js.map +1 -1
  18. package/dist/lib/components/attachment/image-viewer.component.d.ts +77 -11
  19. package/dist/lib/components/attachment/image-viewer.component.d.ts.map +1 -1
  20. package/dist/lib/components/attachment/image-viewer.component.js +181 -47
  21. package/dist/lib/components/attachment/image-viewer.component.js.map +1 -1
  22. package/dist/lib/components/collection/artifact-collection-picker-modal.component.d.ts +129 -19
  23. package/dist/lib/components/collection/artifact-collection-picker-modal.component.d.ts.map +1 -1
  24. package/dist/lib/components/collection/artifact-collection-picker-modal.component.js +350 -116
  25. package/dist/lib/components/collection/artifact-collection-picker-modal.component.js.map +1 -1
  26. package/dist/lib/components/collection/artifact-create-modal.component.d.ts +60 -8
  27. package/dist/lib/components/collection/artifact-create-modal.component.d.ts.map +1 -1
  28. package/dist/lib/components/collection/artifact-create-modal.component.js +130 -46
  29. package/dist/lib/components/collection/artifact-create-modal.component.js.map +1 -1
  30. package/dist/lib/components/collection/collection-artifact-card.component.d.ts +63 -3
  31. package/dist/lib/components/collection/collection-artifact-card.component.d.ts.map +1 -1
  32. package/dist/lib/components/collection/collection-artifact-card.component.js +113 -19
  33. package/dist/lib/components/collection/collection-artifact-card.component.js.map +1 -1
  34. package/dist/lib/components/collection/collection-form-modal.component.d.ts +54 -8
  35. package/dist/lib/components/collection/collection-form-modal.component.d.ts.map +1 -1
  36. package/dist/lib/components/collection/collection-form-modal.component.js +130 -46
  37. package/dist/lib/components/collection/collection-form-modal.component.js.map +1 -1
  38. package/dist/lib/components/collection/collection-share-modal.component.d.ts +70 -10
  39. package/dist/lib/components/collection/collection-share-modal.component.d.ts.map +1 -1
  40. package/dist/lib/components/collection/collection-share-modal.component.js +175 -53
  41. package/dist/lib/components/collection/collection-share-modal.component.js.map +1 -1
  42. package/dist/lib/components/collection/collection-tree.component.d.ts +89 -9
  43. package/dist/lib/components/collection/collection-tree.component.d.ts.map +1 -1
  44. package/dist/lib/components/collection/collection-tree.component.js +220 -70
  45. package/dist/lib/components/collection/collection-tree.component.js.map +1 -1
  46. package/dist/lib/components/collection/collection-view.component.d.ts +89 -11
  47. package/dist/lib/components/collection/collection-view.component.d.ts.map +1 -1
  48. package/dist/lib/components/collection/collection-view.component.js +154 -40
  49. package/dist/lib/components/collection/collection-view.component.js.map +1 -1
  50. package/dist/lib/components/collection/collections-full-view.component.d.ts +390 -38
  51. package/dist/lib/components/collection/collections-full-view.component.d.ts.map +1 -1
  52. package/dist/lib/components/collection/collections-full-view.component.js +951 -367
  53. package/dist/lib/components/collection/collections-full-view.component.js.map +1 -1
  54. package/dist/lib/components/composer/ai-composer.component.d.ts +213 -18
  55. package/dist/lib/components/composer/ai-composer.component.d.ts.map +1 -1
  56. package/dist/lib/components/composer/ai-composer.component.js +388 -44
  57. package/dist/lib/components/composer/ai-composer.component.js.map +1 -1
  58. package/dist/lib/components/conversation/conversation-agent-picker.component.d.ts +12 -1
  59. package/dist/lib/components/conversation/conversation-agent-picker.component.d.ts.map +1 -1
  60. package/dist/lib/components/conversation/conversation-agent-picker.component.js +26 -4
  61. package/dist/lib/components/conversation/conversation-agent-picker.component.js.map +1 -1
  62. package/dist/lib/components/conversation/conversation-chat-area.component.d.ts +1090 -123
  63. package/dist/lib/components/conversation/conversation-chat-area.component.d.ts.map +1 -1
  64. package/dist/lib/components/conversation/conversation-chat-area.component.js +2407 -731
  65. package/dist/lib/components/conversation/conversation-chat-area.component.js.map +1 -1
  66. package/dist/lib/components/conversation/conversation-empty-state.component.d.ts +139 -19
  67. package/dist/lib/components/conversation/conversation-empty-state.component.d.ts.map +1 -1
  68. package/dist/lib/components/conversation/conversation-empty-state.component.js +296 -59
  69. package/dist/lib/components/conversation/conversation-empty-state.component.js.map +1 -1
  70. package/dist/lib/components/conversation/conversation-list.component.d.ts +579 -78
  71. package/dist/lib/components/conversation/conversation-list.component.d.ts.map +1 -1
  72. package/dist/lib/components/conversation/conversation-list.component.js +2322 -823
  73. package/dist/lib/components/conversation/conversation-list.component.js.map +1 -1
  74. package/dist/lib/components/conversation/pinned-messages-panel.component.d.ts +40 -4
  75. package/dist/lib/components/conversation/pinned-messages-panel.component.d.ts.map +1 -1
  76. package/dist/lib/components/conversation/pinned-messages-panel.component.js +72 -14
  77. package/dist/lib/components/conversation/pinned-messages-panel.component.js.map +1 -1
  78. package/dist/lib/components/dialogs/input-dialog.component.d.ts +57 -11
  79. package/dist/lib/components/dialogs/input-dialog.component.d.ts.map +1 -1
  80. package/dist/lib/components/dialogs/input-dialog.component.js +128 -16
  81. package/dist/lib/components/dialogs/input-dialog.component.js.map +1 -1
  82. package/dist/lib/components/dialogs/rating-dialog.component.d.ts +68 -10
  83. package/dist/lib/components/dialogs/rating-dialog.component.d.ts.map +1 -1
  84. package/dist/lib/components/dialogs/rating-dialog.component.js +151 -27
  85. package/dist/lib/components/dialogs/rating-dialog.component.js.map +1 -1
  86. package/dist/lib/components/export/export-modal.component.d.ts +84 -10
  87. package/dist/lib/components/export/export-modal.component.d.ts.map +1 -1
  88. package/dist/lib/components/export/export-modal.component.js +173 -49
  89. package/dist/lib/components/export/export-modal.component.js.map +1 -1
  90. package/dist/lib/components/global-tasks/global-tasks-panel.component.d.ts +29 -3
  91. package/dist/lib/components/global-tasks/global-tasks-panel.component.d.ts.map +1 -1
  92. package/dist/lib/components/global-tasks/global-tasks-panel.component.js +58 -12
  93. package/dist/lib/components/global-tasks/global-tasks-panel.component.js.map +1 -1
  94. package/dist/lib/components/library/library-full-view.component.d.ts +57 -8
  95. package/dist/lib/components/library/library-full-view.component.d.ts.map +1 -1
  96. package/dist/lib/components/library/library-full-view.component.js +119 -35
  97. package/dist/lib/components/library/library-full-view.component.js.map +1 -1
  98. package/dist/lib/components/members/members-modal.component.d.ts +76 -10
  99. package/dist/lib/components/members/members-modal.component.d.ts.map +1 -1
  100. package/dist/lib/components/members/members-modal.component.js +164 -50
  101. package/dist/lib/components/members/members-modal.component.js.map +1 -1
  102. package/dist/lib/components/message/actionable-commands.component.d.ts +37 -5
  103. package/dist/lib/components/message/actionable-commands.component.d.ts.map +1 -1
  104. package/dist/lib/components/message/actionable-commands.component.js +82 -16
  105. package/dist/lib/components/message/actionable-commands.component.js.map +1 -1
  106. package/dist/lib/components/message/conversation-message-rating.component.d.ts +46 -10
  107. package/dist/lib/components/message/conversation-message-rating.component.d.ts.map +1 -1
  108. package/dist/lib/components/message/conversation-message-rating.component.js +120 -36
  109. package/dist/lib/components/message/conversation-message-rating.component.js.map +1 -1
  110. package/dist/lib/components/message/message-input.component.d.ts +549 -74
  111. package/dist/lib/components/message/message-input.component.d.ts.map +1 -1
  112. package/dist/lib/components/message/message-input.component.js +1250 -421
  113. package/dist/lib/components/message/message-input.component.js.map +1 -1
  114. package/dist/lib/components/message/message-item.component.d.ts +411 -29
  115. package/dist/lib/components/message/message-item.component.d.ts.map +1 -1
  116. package/dist/lib/components/message/message-item.component.js +896 -222
  117. package/dist/lib/components/message/message-item.component.js.map +1 -1
  118. package/dist/lib/components/message/message-list.component.d.ts +288 -29
  119. package/dist/lib/components/message/message-list.component.d.ts.map +1 -1
  120. package/dist/lib/components/message/message-list.component.js +561 -123
  121. package/dist/lib/components/message/message-list.component.js.map +1 -1
  122. package/dist/lib/components/navigation/conversation-navigation.component.d.ts +64 -5
  123. package/dist/lib/components/navigation/conversation-navigation.component.d.ts.map +1 -1
  124. package/dist/lib/components/navigation/conversation-navigation.component.js +101 -11
  125. package/dist/lib/components/navigation/conversation-navigation.component.js.map +1 -1
  126. package/dist/lib/components/notification/activity-indicator.component.d.ts +6 -2
  127. package/dist/lib/components/notification/activity-indicator.component.d.ts.map +1 -1
  128. package/dist/lib/components/notification/activity-indicator.component.js +13 -3
  129. package/dist/lib/components/notification/activity-indicator.component.js.map +1 -1
  130. package/dist/lib/components/notification/notification-badge.component.d.ts +15 -3
  131. package/dist/lib/components/notification/notification-badge.component.d.ts.map +1 -1
  132. package/dist/lib/components/notification/notification-badge.component.js +36 -8
  133. package/dist/lib/components/notification/notification-badge.component.js.map +1 -1
  134. package/dist/lib/components/overlay/chat-overlay.component.d.ts +1 -1
  135. package/dist/lib/components/overlay/chat-overlay.component.js +4 -4
  136. package/dist/lib/components/overlay/chat-overlay.component.js.map +1 -1
  137. package/dist/lib/components/project/project-form-modal.component.d.ts +93 -11
  138. package/dist/lib/components/project/project-form-modal.component.d.ts.map +1 -1
  139. package/dist/lib/components/project/project-form-modal.component.js +348 -87
  140. package/dist/lib/components/project/project-form-modal.component.js.map +1 -1
  141. package/dist/lib/components/project/project-selector.component.d.ts +78 -8
  142. package/dist/lib/components/project/project-selector.component.d.ts.map +1 -1
  143. package/dist/lib/components/project/project-selector.component.js +177 -46
  144. package/dist/lib/components/project/project-selector.component.js.map +1 -1
  145. package/dist/lib/components/realtime/channels/channel-onboarding-panel.component.d.ts +1 -1
  146. package/dist/lib/components/realtime/channels/channel-onboarding-panel.component.d.ts.map +1 -1
  147. package/dist/lib/components/realtime/channels/channel-onboarding-panel.component.js.map +1 -1
  148. package/dist/lib/components/realtime/channels/client-context-channel.d.ts +1 -1
  149. package/dist/lib/components/realtime/channels/client-context-channel.d.ts.map +1 -1
  150. package/dist/lib/components/realtime/channels/client-context-channel.js +1 -1
  151. package/dist/lib/components/realtime/channels/client-context-channel.js.map +1 -1
  152. package/dist/lib/components/realtime/channels/realtime-channel-pane.component.d.ts +1 -1
  153. package/dist/lib/components/realtime/channels/realtime-channel-pane.component.d.ts.map +1 -1
  154. package/dist/lib/components/realtime/channels/realtime-channel-pane.component.js +3 -0
  155. package/dist/lib/components/realtime/channels/realtime-channel-pane.component.js.map +1 -1
  156. package/dist/lib/components/realtime/media/media-channel.d.ts +2 -1
  157. package/dist/lib/components/realtime/media/media-channel.d.ts.map +1 -1
  158. package/dist/lib/components/realtime/media/media-channel.js +1 -1
  159. package/dist/lib/components/realtime/media/media-channel.js.map +1 -1
  160. package/dist/lib/components/realtime/realtime-activity-rail.component.d.ts +2 -2
  161. package/dist/lib/components/realtime/realtime-activity-rail.component.d.ts.map +1 -1
  162. package/dist/lib/components/realtime/realtime-activity-rail.component.js +2 -2
  163. package/dist/lib/components/realtime/realtime-activity-rail.component.js.map +1 -1
  164. package/dist/lib/components/realtime/realtime-agent-banner.component.d.ts +1 -1
  165. package/dist/lib/components/realtime/realtime-agent-banner.component.d.ts.map +1 -1
  166. package/dist/lib/components/realtime/realtime-agent-banner.component.js.map +1 -1
  167. package/dist/lib/components/realtime/realtime-composer.component.d.ts +3 -1
  168. package/dist/lib/components/realtime/realtime-composer.component.d.ts.map +1 -1
  169. package/dist/lib/components/realtime/realtime-composer.component.js +26 -8
  170. package/dist/lib/components/realtime/realtime-composer.component.js.map +1 -1
  171. package/dist/lib/components/realtime/realtime-delegation-card.component.d.ts +2 -2
  172. package/dist/lib/components/realtime/realtime-delegation-card.component.d.ts.map +1 -1
  173. package/dist/lib/components/realtime/realtime-delegation-card.component.js +2 -2
  174. package/dist/lib/components/realtime/realtime-delegation-card.component.js.map +1 -1
  175. package/dist/lib/components/realtime/realtime-session-overlay.component.d.ts +4 -4
  176. package/dist/lib/components/realtime/realtime-session-overlay.component.d.ts.map +1 -1
  177. package/dist/lib/components/realtime/realtime-session-overlay.component.js +19 -19
  178. package/dist/lib/components/realtime/realtime-session-overlay.component.js.map +1 -1
  179. package/dist/lib/components/realtime/realtime-session-state.d.ts +2 -3
  180. package/dist/lib/components/realtime/realtime-session-state.d.ts.map +1 -1
  181. package/dist/lib/components/realtime/realtime-session-state.js +3 -2
  182. package/dist/lib/components/realtime/realtime-session-state.js.map +1 -1
  183. package/dist/lib/components/realtime/realtime-session-thread.component.d.ts +17 -1
  184. package/dist/lib/components/realtime/realtime-session-thread.component.d.ts.map +1 -1
  185. package/dist/lib/components/realtime/realtime-session-thread.component.js +122 -45
  186. package/dist/lib/components/realtime/realtime-session-thread.component.js.map +1 -1
  187. package/dist/lib/components/realtime/realtime-session-timeline-card.component.d.ts +47 -31
  188. package/dist/lib/components/realtime/realtime-session-timeline-card.component.d.ts.map +1 -1
  189. package/dist/lib/components/realtime/realtime-session-timeline-card.component.js +138 -124
  190. package/dist/lib/components/realtime/realtime-session-timeline-card.component.js.map +1 -1
  191. package/dist/lib/components/realtime/realtime-surface-tabs.component.d.ts +4 -4
  192. package/dist/lib/components/realtime/realtime-surface-tabs.component.d.ts.map +1 -1
  193. package/dist/lib/components/realtime/realtime-surface-tabs.component.js +4 -4
  194. package/dist/lib/components/realtime/realtime-surface-tabs.component.js.map +1 -1
  195. package/dist/lib/components/realtime/realtime-surface-tabs.model.d.ts +2 -2
  196. package/dist/lib/components/realtime/realtime-surface-tabs.model.d.ts.map +1 -1
  197. package/dist/lib/components/realtime/realtime-surface-tabs.model.js +3 -3
  198. package/dist/lib/components/realtime/realtime-surface-tabs.model.js.map +1 -1
  199. package/dist/lib/components/realtime/realtime-ui-config.d.ts +13 -11
  200. package/dist/lib/components/realtime/realtime-ui-config.d.ts.map +1 -1
  201. package/dist/lib/components/realtime/realtime-ui-config.js +29 -25
  202. package/dist/lib/components/realtime/realtime-ui-config.js.map +1 -1
  203. package/dist/lib/components/realtime/remote-browser/remote-browser-channel.d.ts +1 -1
  204. package/dist/lib/components/realtime/remote-browser/remote-browser-channel.d.ts.map +1 -1
  205. package/dist/lib/components/realtime/remote-browser/remote-browser-channel.js +1 -1
  206. package/dist/lib/components/realtime/remote-browser/remote-browser-channel.js.map +1 -1
  207. package/dist/lib/components/realtime/whiteboard/whiteboard-channel.d.ts +4 -2
  208. package/dist/lib/components/realtime/whiteboard/whiteboard-channel.d.ts.map +1 -1
  209. package/dist/lib/components/realtime/whiteboard/whiteboard-channel.js +7 -3
  210. package/dist/lib/components/realtime/whiteboard/whiteboard-channel.js.map +1 -1
  211. package/dist/lib/components/search/search-panel.component.d.ts +133 -22
  212. package/dist/lib/components/search/search-panel.component.d.ts.map +1 -1
  213. package/dist/lib/components/search/search-panel.component.js +312 -83
  214. package/dist/lib/components/search/search-panel.component.js.map +1 -1
  215. package/dist/lib/components/share/share-modal.component.d.ts +69 -9
  216. package/dist/lib/components/share/share-modal.component.d.ts.map +1 -1
  217. package/dist/lib/components/share/share-modal.component.js +139 -31
  218. package/dist/lib/components/share/share-modal.component.js.map +1 -1
  219. package/dist/lib/components/shared/user-picker.component.d.ts +48 -8
  220. package/dist/lib/components/shared/user-picker.component.d.ts.map +1 -1
  221. package/dist/lib/components/shared/user-picker.component.js +110 -30
  222. package/dist/lib/components/shared/user-picker.component.js.map +1 -1
  223. package/dist/lib/components/sidebar/conversation-sidebar.component.d.ts +114 -11
  224. package/dist/lib/components/sidebar/conversation-sidebar.component.d.ts.map +1 -1
  225. package/dist/lib/components/sidebar/conversation-sidebar.component.js +199 -21
  226. package/dist/lib/components/sidebar/conversation-sidebar.component.js.map +1 -1
  227. package/dist/lib/components/sidebar/routines-section.component.d.ts +20 -1
  228. package/dist/lib/components/sidebar/routines-section.component.d.ts.map +1 -1
  229. package/dist/lib/components/sidebar/routines-section.component.js +25 -5
  230. package/dist/lib/components/sidebar/routines-section.component.js.map +1 -1
  231. package/dist/lib/components/slots/slot-interfaces.d.ts +19 -0
  232. package/dist/lib/components/slots/slot-interfaces.d.ts.map +1 -1
  233. package/dist/lib/components/slots/slot-interfaces.js.map +1 -1
  234. package/dist/lib/components/task/tasks-full-view.component.d.ts +95 -13
  235. package/dist/lib/components/task/tasks-full-view.component.d.ts.map +1 -1
  236. package/dist/lib/components/task/tasks-full-view.component.js +223 -75
  237. package/dist/lib/components/task/tasks-full-view.component.js.map +1 -1
  238. package/dist/lib/components/tasks/task-widget.component.d.ts +46 -6
  239. package/dist/lib/components/tasks/task-widget.component.d.ts.map +1 -1
  240. package/dist/lib/components/tasks/task-widget.component.js +100 -16
  241. package/dist/lib/components/tasks/task-widget.component.js.map +1 -1
  242. package/dist/lib/components/tasks/tasks-dropdown.component.d.ts +64 -7
  243. package/dist/lib/components/tasks/tasks-dropdown.component.d.ts.map +1 -1
  244. package/dist/lib/components/tasks/tasks-dropdown.component.js +127 -27
  245. package/dist/lib/components/tasks/tasks-dropdown.component.js.map +1 -1
  246. package/dist/lib/components/thread/thread-panel.component.d.ts +66 -8
  247. package/dist/lib/components/thread/thread-panel.component.d.ts.map +1 -1
  248. package/dist/lib/components/thread/thread-panel.component.js +146 -36
  249. package/dist/lib/components/thread/thread-panel.component.js.map +1 -1
  250. package/dist/lib/components/toast/toast.component.d.ts +11 -1
  251. package/dist/lib/components/toast/toast.component.d.ts.map +1 -1
  252. package/dist/lib/components/toast/toast.component.js +25 -5
  253. package/dist/lib/components/toast/toast.component.js.map +1 -1
  254. package/dist/lib/components/workspace/conversation-workspace.component.d.ts +385 -42
  255. package/dist/lib/components/workspace/conversation-workspace.component.d.ts.map +1 -1
  256. package/dist/lib/components/workspace/conversation-workspace.component.js +887 -291
  257. package/dist/lib/components/workspace/conversation-workspace.component.js.map +1 -1
  258. package/dist/lib/composer-plugins/base-conversation-mention.provider.d.ts +8 -0
  259. package/dist/lib/composer-plugins/base-conversation-mention.provider.d.ts.map +1 -1
  260. package/dist/lib/composer-plugins/base-conversation-mention.provider.js +8 -1
  261. package/dist/lib/composer-plugins/base-conversation-mention.provider.js.map +1 -1
  262. package/dist/lib/conversations.module.d.ts.map +1 -1
  263. package/dist/lib/conversations.module.js.map +1 -1
  264. package/dist/lib/directives/chat-slot.directive.d.ts +5 -1
  265. package/dist/lib/directives/chat-slot.directive.d.ts.map +1 -1
  266. package/dist/lib/directives/chat-slot.directive.js.map +1 -1
  267. package/dist/lib/directives/search-shortcut.directive.d.ts +9 -1
  268. package/dist/lib/directives/search-shortcut.directive.d.ts.map +1 -1
  269. package/dist/lib/directives/search-shortcut.directive.js +14 -4
  270. package/dist/lib/directives/search-shortcut.directive.js.map +1 -1
  271. package/dist/lib/events/chat-events.d.ts +34 -7
  272. package/dist/lib/events/chat-events.d.ts.map +1 -1
  273. package/dist/lib/events/chat-events.js +37 -7
  274. package/dist/lib/events/chat-events.js.map +1 -1
  275. package/dist/lib/models/agent-turn.model.d.ts +103 -0
  276. package/dist/lib/models/agent-turn.model.d.ts.map +1 -0
  277. package/dist/lib/models/agent-turn.model.js +12 -0
  278. package/dist/lib/models/agent-turn.model.js.map +1 -0
  279. package/dist/lib/models/collection-view.model.js.map +1 -1
  280. package/dist/lib/models/conversation-state.model.d.ts +8 -0
  281. package/dist/lib/models/conversation-state.model.d.ts.map +1 -1
  282. package/dist/lib/models/conversation-state.model.js.map +1 -1
  283. package/dist/lib/models/lazy-artifact-info.d.ts +44 -12
  284. package/dist/lib/models/lazy-artifact-info.d.ts.map +1 -1
  285. package/dist/lib/models/lazy-artifact-info.js +98 -34
  286. package/dist/lib/models/lazy-artifact-info.js.map +1 -1
  287. package/dist/lib/services/active-tasks.service.d.ts +30 -4
  288. package/dist/lib/services/active-tasks.service.d.ts.map +1 -1
  289. package/dist/lib/services/active-tasks.service.js +71 -19
  290. package/dist/lib/services/active-tasks.service.js.map +1 -1
  291. package/dist/lib/services/agent-state.service.d.ts +17 -1
  292. package/dist/lib/services/agent-state.service.d.ts.map +1 -1
  293. package/dist/lib/services/agent-state.service.js +48 -16
  294. package/dist/lib/services/agent-state.service.js.map +1 -1
  295. package/dist/lib/services/artifact-permission.service.d.ts +39 -0
  296. package/dist/lib/services/artifact-permission.service.d.ts.map +1 -1
  297. package/dist/lib/services/artifact-permission.service.js +152 -17
  298. package/dist/lib/services/artifact-permission.service.js.map +1 -1
  299. package/dist/lib/services/artifact-state.service.d.ts +58 -5
  300. package/dist/lib/services/artifact-state.service.d.ts.map +1 -1
  301. package/dist/lib/services/artifact-state.service.js +135 -35
  302. package/dist/lib/services/artifact-state.service.js.map +1 -1
  303. package/dist/lib/services/browser-realtime-media-host.d.ts +24 -0
  304. package/dist/lib/services/browser-realtime-media-host.d.ts.map +1 -0
  305. package/dist/lib/services/browser-realtime-media-host.js +95 -0
  306. package/dist/lib/services/browser-realtime-media-host.js.map +1 -0
  307. package/dist/lib/services/collection-permission.service.d.ts +28 -0
  308. package/dist/lib/services/collection-permission.service.d.ts.map +1 -1
  309. package/dist/lib/services/collection-permission.service.js +88 -32
  310. package/dist/lib/services/collection-permission.service.js.map +1 -1
  311. package/dist/lib/services/collection-state.service.d.ts +11 -1
  312. package/dist/lib/services/collection-state.service.d.ts.map +1 -1
  313. package/dist/lib/services/collection-state.service.js +25 -5
  314. package/dist/lib/services/collection-state.service.js.map +1 -1
  315. package/dist/lib/services/conversation-agent.service.d.ts +26 -4
  316. package/dist/lib/services/conversation-agent.service.d.ts.map +1 -1
  317. package/dist/lib/services/conversation-agent.service.js +57 -18
  318. package/dist/lib/services/conversation-agent.service.js.map +1 -1
  319. package/dist/lib/services/conversation-attachment.service.d.ts +41 -2
  320. package/dist/lib/services/conversation-attachment.service.d.ts.map +1 -1
  321. package/dist/lib/services/conversation-attachment.service.js +80 -13
  322. package/dist/lib/services/conversation-attachment.service.js.map +1 -1
  323. package/dist/lib/services/conversation-streaming.service.d.ts +22 -0
  324. package/dist/lib/services/conversation-streaming.service.d.ts.map +1 -1
  325. package/dist/lib/services/conversation-streaming.service.js +50 -10
  326. package/dist/lib/services/conversation-streaming.service.js.map +1 -1
  327. package/dist/lib/services/data-cache.service.d.ts +31 -0
  328. package/dist/lib/services/data-cache.service.d.ts.map +1 -1
  329. package/dist/lib/services/data-cache.service.js +71 -15
  330. package/dist/lib/services/data-cache.service.js.map +1 -1
  331. package/dist/lib/services/dialog.service.d.ts +13 -0
  332. package/dist/lib/services/dialog.service.d.ts.map +1 -1
  333. package/dist/lib/services/dialog.service.js +25 -5
  334. package/dist/lib/services/dialog.service.js.map +1 -1
  335. package/dist/lib/services/export.service.d.ts +2 -0
  336. package/dist/lib/services/export.service.d.ts.map +1 -1
  337. package/dist/lib/services/export.service.js +5 -1
  338. package/dist/lib/services/export.service.js.map +1 -1
  339. package/dist/lib/services/graphql-attachment-blob-store.d.ts +44 -0
  340. package/dist/lib/services/graphql-attachment-blob-store.d.ts.map +1 -0
  341. package/dist/lib/services/graphql-attachment-blob-store.js +113 -0
  342. package/dist/lib/services/graphql-attachment-blob-store.js.map +1 -0
  343. package/dist/lib/services/mention-autocomplete.service.d.ts +17 -141
  344. package/dist/lib/services/mention-autocomplete.service.d.ts.map +1 -1
  345. package/dist/lib/services/mention-autocomplete.service.js +15 -460
  346. package/dist/lib/services/mention-autocomplete.service.js.map +1 -1
  347. package/dist/lib/services/mention-parser.service.d.ts +10 -0
  348. package/dist/lib/services/mention-parser.service.d.ts.map +1 -1
  349. package/dist/lib/services/mention-parser.service.js +25 -5
  350. package/dist/lib/services/mention-parser.service.js.map +1 -1
  351. package/dist/lib/services/notification.service.d.ts +54 -6
  352. package/dist/lib/services/notification.service.d.ts.map +1 -1
  353. package/dist/lib/services/notification.service.js +123 -27
  354. package/dist/lib/services/notification.service.js.map +1 -1
  355. package/dist/lib/services/realtime-audio-recorder.d.ts +4 -4
  356. package/dist/lib/services/realtime-audio-recorder.js +12 -12
  357. package/dist/lib/services/realtime-audio-recorder.js.map +1 -1
  358. package/dist/lib/services/realtime-pcm-wav.d.ts +4 -0
  359. package/dist/lib/services/realtime-pcm-wav.d.ts.map +1 -1
  360. package/dist/lib/services/realtime-pcm-wav.js +10 -2
  361. package/dist/lib/services/realtime-pcm-wav.js.map +1 -1
  362. package/dist/lib/services/realtime-session-review.service.d.ts +1 -1
  363. package/dist/lib/services/realtime-session-review.service.d.ts.map +1 -1
  364. package/dist/lib/services/realtime-session-review.service.js +1 -1
  365. package/dist/lib/services/realtime-session-review.service.js.map +1 -1
  366. package/dist/lib/services/realtime-session.service.d.ts +16 -1150
  367. package/dist/lib/services/realtime-session.service.d.ts.map +1 -1
  368. package/dist/lib/services/realtime-session.service.js +28 -2430
  369. package/dist/lib/services/realtime-session.service.js.map +1 -1
  370. package/dist/lib/services/search.service.d.ts +42 -9
  371. package/dist/lib/services/search.service.d.ts.map +1 -1
  372. package/dist/lib/services/search.service.js +103 -23
  373. package/dist/lib/services/search.service.js.map +1 -1
  374. package/dist/lib/services/toast.service.d.ts +19 -1
  375. package/dist/lib/services/toast.service.d.ts.map +1 -1
  376. package/dist/lib/services/toast.service.js +45 -9
  377. package/dist/lib/services/toast.service.js.map +1 -1
  378. package/dist/lib/services/ui-command-handler.service.d.ts +16 -2
  379. package/dist/lib/services/ui-command-handler.service.d.ts.map +1 -1
  380. package/dist/lib/services/ui-command-handler.service.js +36 -8
  381. package/dist/lib/services/ui-command-handler.service.js.map +1 -1
  382. package/dist/lib/utils/agent-artifact-summary.d.ts +2 -2
  383. package/dist/lib/utils/agent-artifact-summary.js +3 -3
  384. package/dist/lib/utils/agent-artifact-summary.js.map +1 -1
  385. package/dist/lib/utils/agent-turn-routing.d.ts +69 -0
  386. package/dist/lib/utils/agent-turn-routing.d.ts.map +1 -0
  387. package/dist/lib/utils/agent-turn-routing.js +96 -0
  388. package/dist/lib/utils/agent-turn-routing.js.map +1 -0
  389. package/dist/lib/utils/artifact-panel-action.d.ts +15 -4
  390. package/dist/lib/utils/artifact-panel-action.d.ts.map +1 -1
  391. package/dist/lib/utils/artifact-panel-action.js +10 -2
  392. package/dist/lib/utils/artifact-panel-action.js.map +1 -1
  393. package/dist/lib/utils/distinct-artifacts.d.ts +2 -0
  394. package/dist/lib/utils/distinct-artifacts.d.ts.map +1 -1
  395. package/dist/lib/utils/distinct-artifacts.js +5 -1
  396. package/dist/lib/utils/distinct-artifacts.js.map +1 -1
  397. package/dist/lib/utils/plan-mode-preference.d.ts +2 -2
  398. package/dist/lib/utils/plan-mode-preference.js +6 -6
  399. package/dist/lib/utils/plan-mode-preference.js.map +1 -1
  400. package/dist/lib/utils/realtime-session-timeline.d.ts +8 -79
  401. package/dist/lib/utils/realtime-session-timeline.d.ts.map +1 -1
  402. package/dist/lib/utils/realtime-session-timeline.js +8 -89
  403. package/dist/lib/utils/realtime-session-timeline.js.map +1 -1
  404. package/dist/public-api.d.ts +5 -2
  405. package/dist/public-api.d.ts.map +1 -1
  406. package/dist/public-api.js +9 -2
  407. package/dist/public-api.js.map +1 -1
  408. package/package.json +33 -32
  409. package/dist/lib/components/realtime/channels/base-realtime-channel-client.d.ts +0 -384
  410. package/dist/lib/components/realtime/channels/base-realtime-channel-client.d.ts.map +0 -1
  411. package/dist/lib/components/realtime/channels/base-realtime-channel-client.js +0 -231
  412. package/dist/lib/components/realtime/channels/base-realtime-channel-client.js.map +0 -1
  413. package/dist/lib/services/delegation-result-parser.d.ts +0 -50
  414. package/dist/lib/services/delegation-result-parser.d.ts.map +0 -1
  415. package/dist/lib/services/delegation-result-parser.js +0 -60
  416. package/dist/lib/services/delegation-result-parser.js.map +0 -1
  417. package/dist/lib/services/narration-template.d.ts +0 -42
  418. package/dist/lib/services/narration-template.d.ts.map +0 -1
  419. package/dist/lib/services/narration-template.js +0 -73
  420. package/dist/lib/services/narration-template.js.map +0 -1
  421. package/dist/lib/services/skill-picker-narrowing.d.ts +0 -13
  422. package/dist/lib/services/skill-picker-narrowing.d.ts.map +0 -1
  423. package/dist/lib/services/skill-picker-narrowing.js +0 -13
  424. package/dist/lib/services/skill-picker-narrowing.js.map +0 -1
@@ -5,7 +5,8 @@ import { MJDialogService } from '@memberjunction/ng-ui-components';
5
5
  import { DialogService } from '../../services/dialog.service';
6
6
  import { NotificationService } from '../../services/notification.service';
7
7
  import { ActiveTasksService } from '../../services/active-tasks.service';
8
- import { ConversationGroupBy } from '../../models/conversation-state.model';
8
+ import { ConversationGroupBy, ConversationSortBy, ConversationSortDirection } from '../../models/conversation-state.model';
9
+ import { MJResourcePermissionShareAdapter, ResourceShareContext, ResourceShareDialogResult } from '@memberjunction/ng-resource-permissions';
9
10
  import * as i0 from "@angular/core";
10
11
  /**
11
12
  * A node in the conversation folder tree. Each node holds its project (folder),
@@ -22,163 +23,663 @@ interface FolderNode {
22
23
  /** True when this folder or any descendant has at least one (filtered) conversation. */
23
24
  hasContent: boolean;
24
25
  }
26
+ /** What a right-click menu was opened on. */
27
+ type ListContextMenuKind = 'conversation' | 'folder' | 'background';
28
+ /**
29
+ * Where a menu opens: its preferred top-left corner, and the line its bottom
30
+ * edge sits on when there is no room below and it opens upward instead.
31
+ */
32
+ interface MenuAnchor {
33
+ x: number;
34
+ y: number;
35
+ flipBottom: number;
36
+ }
37
+ /** An open right-click menu: where it sits, and what it acts on. */
38
+ interface ListContextMenu {
39
+ kind: ListContextMenuKind;
40
+ /** Viewport position the menu renders at: its anchor, moved to stay inside the window. */
41
+ x: number;
42
+ y: number;
43
+ /** The pointer (or button) the menu was opened from. */
44
+ anchor: MenuAnchor;
45
+ /** The clicked conversation, for a conversation menu. */
46
+ conversation: MJConversationEntity | null;
47
+ /** The clicked folder, for a folder menu. */
48
+ folder: MJProjectEntity | null;
49
+ /** Conversations the actions apply to: the whole selection, or the clicked row. */
50
+ targets: string[];
51
+ }
25
52
  export declare class ConversationListComponent implements OnInit, OnDestroy {
26
53
  private dialogService;
27
54
  private notificationService;
28
55
  private activeTasksService;
29
56
  private mjDialogService;
30
57
  private cdr;
31
- environmentId: string;
32
- currentUser: UserInfo;
33
- selectedConversationId: string | null;
34
- renamedConversationId: string | null;
35
- isSidebarPinned: boolean;
36
- isMobileView: boolean;
58
+ EnvironmentId: string;
59
+ CurrentUser: UserInfo;
60
+ SelectedConversationId: string | null;
61
+ RenamedConversationId: string | null;
62
+ IsSidebarPinned: boolean;
63
+ IsMobileView: boolean;
37
64
  /** Show the search box in the list header. Flipping to false clears any active
38
65
  * search so a hidden filter can't keep silently narrowing the list. */
39
66
  set showSearch(value: boolean);
40
67
  get showSearch(): boolean;
41
68
  private _showSearch;
42
69
  /** Show the "New Conversation" button. */
43
- showNewConversationButton: boolean;
70
+ ShowNewConversationButton: boolean;
44
71
  /** Show the ⋯ header options menu (refresh / select / group-by / hide sidebar). */
45
- showHeaderMenu: boolean;
72
+ ShowHeaderMenu: boolean;
46
73
  /** Show the collapsible Pinned / Folders / Messages section headers. When false,
47
74
  * the list renders FLAT and fully expanded: folder grouping is bypassed (the
48
75
  * folder tree's root drop-zone and New Folder action live in the section
49
76
  * header, so a headerless tree would allow one-way folder nesting) — the
50
77
  * chrome-less rendering for embedded hosts. */
51
- showSectionHeaders: boolean;
78
+ ShowSectionHeaders: boolean;
79
+ ConversationSelected: EventEmitter<string>;
80
+ /**
81
+ * @deprecated Use {@link ConversationSelected}.
82
+ *
83
+ * The same emitter under the old binding name, so a template still binding
84
+ * (conversationSelected) keeps working. Must stay AFTER ConversationSelected: class fields
85
+ * initialise in order, and the other way round this captures undefined.
86
+ */
52
87
  conversationSelected: EventEmitter<string>;
88
+ ConversationDeleted: EventEmitter<string>;
89
+ /**
90
+ * @deprecated Use {@link ConversationDeleted}.
91
+ *
92
+ * The same emitter under the old binding name, so a template still binding
93
+ * (conversationDeleted) keeps working. Must stay AFTER ConversationDeleted: class fields
94
+ * initialise in order, and the other way round this captures undefined.
95
+ */
53
96
  conversationDeleted: EventEmitter<string>;
97
+ NewConversationRequested: EventEmitter<void>;
98
+ /**
99
+ * @deprecated Use {@link NewConversationRequested}.
100
+ *
101
+ * The same emitter under the old binding name, so a template still binding
102
+ * (newConversationRequested) keeps working. Must stay AFTER NewConversationRequested: class fields
103
+ * initialise in order, and the other way round this captures undefined.
104
+ */
54
105
  newConversationRequested: EventEmitter<void>;
106
+ PinSidebarRequested: EventEmitter<void>;
107
+ /**
108
+ * @deprecated Use {@link PinSidebarRequested}.
109
+ *
110
+ * The same emitter under the old binding name, so a template still binding
111
+ * (pinSidebarRequested) keeps working. Must stay AFTER PinSidebarRequested: class fields
112
+ * initialise in order, and the other way round this captures undefined.
113
+ */
55
114
  pinSidebarRequested: EventEmitter<void>;
115
+ UnpinSidebarRequested: EventEmitter<void>;
116
+ /**
117
+ * @deprecated Use {@link UnpinSidebarRequested}.
118
+ *
119
+ * The same emitter under the old binding name, so a template still binding
120
+ * (unpinSidebarRequested) keeps working. Must stay AFTER UnpinSidebarRequested: class fields
121
+ * initialise in order, and the other way round this captures undefined.
122
+ */
56
123
  unpinSidebarRequested: EventEmitter<void>;
124
+ RefreshRequested: EventEmitter<void>;
125
+ /**
126
+ * @deprecated Use {@link RefreshRequested}.
127
+ *
128
+ * The same emitter under the old binding name, so a template still binding
129
+ * (refreshRequested) keeps working. Must stay AFTER RefreshRequested: class fields
130
+ * initialise in order, and the other way round this captures undefined.
131
+ */
57
132
  refreshRequested: EventEmitter<void>;
58
- directMessagesExpanded: boolean;
59
- pinnedExpanded: boolean;
60
- foldersExpanded: boolean;
61
- ungroupedExpanded: boolean;
62
- openMenuConversationId: string | null;
63
- conversationIdsWithTasks: Set<string>;
64
- isSelectionMode: boolean;
65
- selectedConversationIds: Set<string>;
66
- isHeaderMenuOpen: boolean;
67
- isRefreshing: boolean;
133
+ /**
134
+ * The user wants the current filter term searched across all of Chat, not just this list.
135
+ * Emits the term. This panel filters only loaded conversations by Name/Description, so it
136
+ * cannot answer "where did we discuss X" — the host owns that surface and the routing to it.
137
+ */
138
+ SearchEscalated: EventEmitter<string>;
139
+ DirectMessagesExpanded: boolean;
140
+ PinnedExpanded: boolean;
141
+ FoldersExpanded: boolean;
142
+ UngroupedExpanded: boolean;
143
+ /** The open right-click menu, or null. Positioned at the pointer. */
144
+ ContextMenu: ListContextMenu | null;
145
+ /** True while the open conversation menu is showing its folder picker. */
146
+ IsMoveSubmenuOpen: boolean;
147
+ /** Resources the share dialog is currently offering, one per conversation. */
148
+ ShareContexts: ResourceShareContext[];
149
+ ShareNotice: string | null;
150
+ IsShareDialogOpen: boolean;
151
+ ShareAdapter: MJResourcePermissionShareAdapter;
152
+ ConversationIdsWithTasks: Set<string>;
153
+ IsSelectionMode: boolean;
154
+ SelectedConversationIds: Set<string>;
155
+ /** Row a Shift-click ranges from — the last row picked without Shift. */
156
+ private selectionAnchorId;
157
+ /** Why Share is unavailable, shown on its disabled button. */
158
+ readonly ShareRefusedReason = "Only the owner, or someone with Owner access, can share a conversation";
159
+ /** Why Move and Pin are unavailable, shown on their disabled buttons. */
160
+ readonly ChangeRefusedReason = "You need Edit access to move or pin a conversation shared with you";
161
+ /** How long a touch must rest on a row before it selects the row. */
162
+ private static readonly longPressDelayMs;
163
+ /** How far a touch may drift, in pixels, before it counts as a scroll rather than a press. */
164
+ private static readonly longPressMoveTolerancePx;
165
+ /** Space kept between the right-click menu and the edges of the window. */
166
+ private static readonly menuViewportMargin;
167
+ /** The touch press waiting to become a long-press, or null. */
168
+ private longPress;
169
+ /** Pointer type of the latest press on a row. On touch, a tap while selecting toggles the row. */
170
+ private lastRowPointerType;
171
+ /** Set by a completed long-press, so the click that ends the same press does nothing. */
172
+ private ignoreNextRowClick;
173
+ IsHeaderMenuOpen: boolean;
174
+ IsRefreshing: boolean;
175
+ private searchInput?;
176
+ private contextMenuEl?;
68
177
  /** UserInfoEngine key for persisting folder collapse state + group-by mode. */
69
- private static readonly FolderPrefsKey;
178
+ private static readonly folderPrefsKey;
70
179
  /** How the conversation list is grouped. 'project' = folders, 'none' = flat list. */
71
- groupBy: ConversationGroupBy;
180
+ GroupBy: ConversationGroupBy;
181
+ /** Field every section of the list is sorted on. */
182
+ SortBy: ConversationSortBy;
183
+ /** Direction of the current sort. */
184
+ SortDirection: ConversationSortDirection;
185
+ /** Direction each field falls back to when it becomes the active sort. */
186
+ private static readonly defaultSortDirections;
72
187
  /** Precomputed groupings, rebuilt whenever conversations/projects/search change. */
73
- pinnedConversations: MJConversationEntity[];
74
- unpinnedConversations: MJConversationEntity[];
75
- ungroupedConversations: MJConversationEntity[];
76
- folderTree: FolderNode[];
188
+ PinnedConversations: MJConversationEntity[];
189
+ UnpinnedConversations: MJConversationEntity[];
190
+ UngroupedConversations: MJConversationEntity[];
191
+ FolderTree: FolderNode[];
77
192
  /** Flattened folder list (depth-ordered) for the "Move to folder" menu. */
78
- flatFolders: FolderNode[];
193
+ FlatFolders: FolderNode[];
79
194
  /** Folder IDs (normalized) whose children are collapsed. Absent = expanded. */
80
195
  private collapsedFolderIds;
81
196
  /** Drag-and-drop state. */
82
- draggedConversationId: string | null;
83
- draggedFolderId: string | null;
84
- dragOverTargetId: string | null;
85
- /** When set, the open conversation menu is showing its "Move to folder" picker. */
86
- moveSubmenuConversationId: string | null;
197
+ /** Conversations currently being dragged — the whole selection when the grabbed row is part of it. */
198
+ DraggedConversationIds: string[];
199
+ DraggedFolderId: string | null;
200
+ DragOverTargetId: string | null;
87
201
  private _searchQuery;
88
202
  private destroy$;
89
203
  private engine;
90
204
  IsLoading: boolean;
91
205
  constructor(dialogService: DialogService, notificationService: NotificationService, activeTasksService: ActiveTasksService, mjDialogService: MJDialogService, cdr: ChangeDetectorRef);
92
- get searchQuery(): string;
93
- set searchQuery(value: string);
206
+ get SearchQuery(): string;
207
+ set SearchQuery(value: string);
94
208
  /** True when a search filter is active. */
95
- get isSearching(): boolean;
96
- /** Conversations matching the current search (used by selection-mode helpers). */
97
- get filteredConversations(): MJConversationEntity[];
209
+ get IsSearching(): boolean;
210
+ /** Hand the current filter term to the host to search across every Chat entity. */
211
+ EscalateSearch(): void;
212
+ /** Clears the search box and returns focus to it. */
213
+ ClearSearch(): void;
214
+ /** Escape in the search box clears it without closing any host overlay. */
215
+ OnSearchKeydown(event: KeyboardEvent): void;
98
216
  private filterConversations;
99
217
  ngOnInit(): void;
100
218
  ngOnDestroy(): void;
219
+ /** Rebuilds the groupings from the engine's list, first dropping selected conversations that left it. */
220
+ private onConversationListChanged;
101
221
  onDocumentClick(): void;
222
+ onDocumentEscape(): void;
223
+ ToggleHeaderMenu(event: Event): void;
224
+ CloseHeaderMenu(): void;
225
+ OnToggleGroupByClick(event: Event): void;
226
+ OnRefreshConversationsClick(event: Event): Promise<void>;
227
+ OnPinSidebarClick(event: Event): void;
228
+ OnUnpinSidebarClick(event: Event): void;
229
+ ToggleDirectMessages(): void;
230
+ TogglePinned(): void;
231
+ ToggleFolders(): void;
232
+ ToggleUngrouped(): void;
233
+ /**
234
+ * Recomputes pinned/unpinned/ungrouped lists and the folder tree from the
235
+ * engine's conversation + project caches and the current search filter.
236
+ */
237
+ /**
238
+ * Makes `field` the active sort. Choosing the field that is already active
239
+ * flips the direction; switching fields starts from that field's natural
240
+ * direction (newest first for date, A-Z for name).
241
+ */
242
+ SetSort(field: ConversationSortBy): void;
243
+ /** Icon for a sort button: direction arrow when active, plain field icon otherwise. */
244
+ SortIcon(field: ConversationSortBy): string;
245
+ /**
246
+ * Orders conversations by the active sort. Returns a new array so the caller's
247
+ * source list is never mutated. Conversations with no name sort last.
248
+ */
249
+ private sortConversations;
250
+ /** Position of a conversation in a rendered-order list, or -1. Case-insensitive on the ID. */
251
+ private indexOfConversation;
252
+ private updatedTime;
253
+ private rebuildGroups;
254
+ private flattenFolders;
255
+ private findFolderNode;
256
+ IsFolderExpanded(projectId: string): boolean;
257
+ ToggleFolder(projectId: string): void;
258
+ ToggleGroupBy(): void;
259
+ private loadFolderPrefs;
260
+ private saveFolderPrefs;
261
+ /**
262
+ * Starts a conversation drag. Grabbing a row that is part of the current
263
+ * selection drags the whole selection; grabbing any other row drags that row
264
+ * alone and leaves the selection untouched. A touch press that lifts the row
265
+ * selects it instead, since on touch a long-press means select.
266
+ */
267
+ OnConversationDragStart(conversation: MJConversationEntity, event: DragEvent): void;
268
+ OnConversationDragEnd(): void;
269
+ OnFolderDragStart(node: FolderNode, event: DragEvent): void;
270
+ OnFolderDragEnd(): void;
271
+ OnFolderDragOver(projectId: string, event: DragEvent): void;
272
+ /**
273
+ * Drop target id for a conversation row: its folder, or the Ungrouped section
274
+ * when it has none. Resolved through the folder tree so the highlight matches
275
+ * the folder row's own ID regardless of how the conversation stores it.
276
+ */
277
+ ConversationDropTargetId(conversation: MJConversationEntity): string;
278
+ /**
279
+ * A conversation row accepts a conversation drag and stands in for its folder,
280
+ * so dropping onto the rows inside a folder files the drag there too. A row
281
+ * that is part of the drag itself is not a target.
282
+ */
283
+ OnConversationRowDragOver(conversation: MJConversationEntity, event: DragEvent): void;
284
+ OnConversationRowDrop(conversation: MJConversationEntity, event: DragEvent): Promise<void>;
285
+ OnUngroupedDragOver(event: DragEvent): void;
286
+ /** The Folders section header accepts a dragged folder to move it back to the top level. */
287
+ OnFoldersRootDragOver(event: DragEvent): void;
288
+ OnDragLeave(targetId: string): void;
289
+ OnFolderDrop(project: MJProjectEntity, event: DragEvent): Promise<void>;
290
+ OnUngroupedDrop(event: DragEvent): Promise<void>;
291
+ OnFoldersRootDrop(event: DragEvent): void;
292
+ /**
293
+ * A folder can be dropped onto a target folder only if the target isn't the dragged
294
+ * folder itself and isn't one of its descendants (otherwise we'd create a cycle).
295
+ */
296
+ private isValidFolderDropTarget;
297
+ /** True when `nodeId` is a descendant of `ancestorId` in the folder tree. */
298
+ private isDescendantOf;
299
+ /** Assigns a conversation to a folder (or null to ungroup) and refreshes the view. */
300
+ private moveConversation;
301
+ /**
302
+ * Assigns several conversations to a folder (or null to ungroup) in one batch,
303
+ * reveals the destination folder, and refreshes the view.
304
+ */
305
+ private moveConversations;
306
+ /** True when a conversation already sits in the given folder (or in no folder). */
307
+ private isInProject;
308
+ /** Reparents a folder under another folder (or to the top level when projectId is null). */
309
+ private moveFolder;
310
+ /**
311
+ * Opens the conversation menu. It acts on the whole selection when the clicked
312
+ * row is part of it, and on that row alone otherwise — so right-clicking
313
+ * something you had not selected never disturbs the selection.
314
+ */
315
+ OnConversationContextMenu(conversation: MJConversationEntity, event: MouseEvent): void;
316
+ /** The row's ⋯ button opens the same menu, anchored under the button. */
317
+ OpenRowMenu(conversation: MJConversationEntity, event: MouseEvent): void;
318
+ OnFolderContextMenu(project: MJProjectEntity, event: MouseEvent): void;
319
+ /** Empty space: a click that landed on a row or folder is theirs, not the list's. */
320
+ OnBackgroundContextMenu(event: MouseEvent): void;
321
+ /** A menu opened at the pointer opens upward from the pointer when it must. */
322
+ private pointerAnchor;
323
+ /** A menu opened from a button sits under it, or above it when there is no room below. */
324
+ private buttonAnchor;
325
+ private openContextMenu;
326
+ /**
327
+ * Keeps the open menu inside the window: it opens upward from its anchor when
328
+ * there is no room below, and moves left when there is no room to the right.
329
+ * Runs again whenever the folder picker changes the menu's height.
330
+ */
331
+ private fitContextMenuInViewport;
332
+ CloseContextMenu(): void;
333
+ OpenMoveSubmenu(event: Event): void;
334
+ CloseMoveSubmenu(event: Event): void;
335
+ /** Marks the folder a single conversation already sits in. Never marks a multi-target menu. */
336
+ IsSingleTargetInFolder(projectId: string | null): boolean;
337
+ /** Conversations the menu's actions apply to — its targets, or the selection. */
338
+ private actionTargetIds;
339
+ ContextMoveToFolder(projectId: string | null): void;
340
+ ContextMoveToNewFolder(event: Event): void;
341
+ ContextSetPinned(isPinned: boolean): void;
342
+ ContextTogglePin(): void;
343
+ /** Shares the menu's targets — the whole selection, or just the clicked row. */
344
+ ContextShare(): void;
345
+ /**
346
+ * Opens the dialog the chat header uses for the conversations the user may
347
+ * share, and reports how many were left out. Says why when there are none.
348
+ */
349
+ private shareConversations;
350
+ /** True when at least one of the conversations can be shared by the current user. */
351
+ CanShareAny(ids: string[]): boolean;
352
+ private canShare;
353
+ /** True when at least one of the conversations can be moved or pinned by the current user. */
354
+ CanChangeAny(ids: string[]): boolean;
355
+ /** True when the user may move or pin the conversation: they own it, or hold Edit or Owner access. */
356
+ CanChange(conversation: MJConversationEntity): boolean;
357
+ OnShareDialogResult(_result: ResourceShareDialogResult): void;
358
+ ContextRename(): void;
359
+ ContextDelete(): void;
360
+ ContextCreateSubfolder(event: Event): void;
361
+ ContextEditFolder(event: Event): void;
362
+ ContextDeleteFolder(event: Event): void;
363
+ ContextNewConversation(): void;
364
+ ContextCreateRootFolder(event: Event): void;
365
+ ContextSelectAll(): void;
366
+ CreateFolder(parentId: string | null, event?: Event): void;
367
+ EditFolder(project: MJProjectEntity, event?: Event): void;
368
+ private openFolderModal;
369
+ DeleteFolder(project: MJProjectEntity, event?: Event): Promise<void>;
370
+ IsConversationActive(conversation: MJConversationEntity): boolean;
371
+ /** True when this conversation is part of the current multi-selection. */
372
+ IsConversationSelected(conversation: MJConversationEntity): boolean;
373
+ IsConversationRenamed(conversation: MJConversationEntity): boolean;
374
+ IsConversationDragging(conversation: MJConversationEntity): boolean;
375
+ SelectConversation(conversation: MJConversationEntity): void;
376
+ CreateNewConversation(): Promise<void>;
377
+ RenameConversation(conversation: MJConversationEntity): Promise<void>;
378
+ DeleteConversation(conversation: MJConversationEntity): Promise<void>;
379
+ TogglePin(conversation: MJConversationEntity, event?: Event): Promise<void>;
380
+ HasActiveTasks(conversationId: string): boolean;
381
+ /** True when this conversation was shared with the current user by someone else. */
382
+ IsSharedWithMe(conversation: MJConversationEntity): boolean;
383
+ /** Tooltip for the sidebar share icon: "Shared by {email or name}". */
384
+ SharedWithMeTooltip(conversation: MJConversationEntity): string;
385
+ ToggleSelectionMode(): void;
386
+ /**
387
+ * Clicking the empty space of the list drops the selection, the way clicking
388
+ * blank space in a file browser does. A click that landed on a row, folder,
389
+ * section header or button is handled by that element instead.
390
+ */
391
+ OnListBackgroundClick(event: MouseEvent): void;
392
+ private exitSelectionMode;
393
+ /** Ends selection mode from the selection bar's clear button. */
394
+ ClearSelection(): void;
395
+ /** Selection mode closes itself once the last row is deselected. */
396
+ private exitSelectionModeIfEmpty;
397
+ /** Adds or removes one row and makes it the range anchor, ending the mode when nothing is left. */
398
+ private toggleRowSelection;
399
+ /**
400
+ * Drops selected rows the view no longer shows — after a search edit, a
401
+ * collapse, or a grouping change — so no action can reach a row the user
402
+ * cannot see. A list rebuild alone does not call this: a move into a
403
+ * collapsed folder keeps its rows selected for a follow-up action.
404
+ */
405
+ private dropHiddenRowsFromSelection;
406
+ /** Drops selected conversations that are no longer in the engine's list at all. */
407
+ private dropRemovedConversationsFromSelection;
408
+ /** Removes the selected IDs that match, and ends selection mode if none remain. */
409
+ private removeFromSelection;
410
+ /**
411
+ * Adds the open conversation to a selection that is just starting, so it moves
412
+ * with the rows picked alongside it. Returns the id added, or null when nothing
413
+ * is open or it is hidden inside a collapsed folder or section.
414
+ */
415
+ private seedSelectionWithOpenConversation;
416
+ /** Conversation IDs in the order the list renders them, skipping collapsed sections and folders. */
417
+ private visibleConversationIds;
418
+ /**
419
+ * Adds every row between the anchor and `conversationId` to the selection.
420
+ * Rows already picked stay picked — a range never takes a selection away.
421
+ *
422
+ * With nothing picked yet the open conversation stands in as the anchor, so a
423
+ * single Shift-click highlights the span from it rather than one lone row.
424
+ */
425
+ private selectRangeTo;
426
+ ToggleConversationSelection(conversationId: string): void;
427
+ /** Selects every row on screen — never rows hidden by the search or a collapsed folder or section. */
428
+ SelectAll(): void;
429
+ DeselectAll(): void;
430
+ /**
431
+ * Moves the conversations into one folder, or out of all folders when projectId
432
+ * is null. The selection survives so a second bulk action can follow.
433
+ */
434
+ BulkMoveToFolder(projectId: string | null, ids?: string[]): Promise<void>;
435
+ /** Pins or unpins the conversations, keeping the selection. */
436
+ BulkSetPinned(isPinned: boolean, ids?: string[]): Promise<void>;
437
+ /** Reports the conversations a bulk action could not change. Silent on full success. */
438
+ private reportBulkOutcome;
439
+ /**
440
+ * Deletes the conversations after confirmation. Only the deleted ones leave the
441
+ * selection: deleting a row outside it leaves it alone, and rows that failed
442
+ * stay selected so the user can try again.
443
+ */
444
+ BulkDeleteConversations(ids?: string[]): Promise<void>;
445
+ /** Reports the conversations a bulk delete could not remove. Silent on full success. */
446
+ private reportDeleteOutcome;
447
+ /** The selected conversation IDs, in the order they were picked. */
448
+ get SelectedIds(): string[];
449
+ /** True when any selected conversation is unpinned, so the bar's pin button pins rather than unpins. */
450
+ SelectionHasUnpinned(): boolean;
451
+ /** The bar acts on the selection even while a menu for another row is open. */
452
+ BarSetPinned(): void;
453
+ BarShare(): void;
454
+ BarDelete(): void;
455
+ /** Opens the folder picker for the selection, under the bar's Move button. */
456
+ BarOpenMoveMenu(event: MouseEvent): void;
457
+ /**
458
+ * The row checkbox adds or removes its row without opening it — the mouse
459
+ * route to a selection that needs no keyboard. Shift-click extends a range.
460
+ * Unlike a Ctrl-click it never takes the open conversation along, so the
461
+ * checkboxes show exactly what is picked.
462
+ */
463
+ OnRowCheckboxClick(conversation: MJConversationEntity, event: MouseEvent): void;
464
+ /**
465
+ * Starts timing a touch press on a row; held long enough, it selects the row.
466
+ * Presses on the row's own buttons (the checkbox and ⋯) are theirs to handle.
467
+ */
468
+ OnRowPointerDown(conversation: MJConversationEntity, event: PointerEvent): void;
469
+ /** A touch that drifts is a scroll, not a press. */
470
+ OnRowPointerMove(event: PointerEvent): void;
471
+ CancelLongPress(): void;
472
+ /**
473
+ * Completes the press in progress, if any: selects its row and starts
474
+ * selection mode, as a long-press does in Gmail. The click that ends the same
475
+ * press is then ignored, so it does not undo the selection.
476
+ */
477
+ private completeLongPress;
478
+ /**
479
+ * Routes a row click. Ctrl/Cmd toggles one row and Shift extends from the
480
+ * anchor, either one starting selection mode. On touch, while selecting, a tap
481
+ * adds or removes the row. Any other click collapses the selection and opens
482
+ * the conversation.
483
+ */
484
+ HandleConversationClick(conversation: MJConversationEntity, event?: MouseEvent): void;
485
+ /** @deprecated Use {@link EnvironmentId}. */
486
+ set environmentId(value: string);
487
+ /** @deprecated Use {@link EnvironmentId}. */
488
+ get environmentId(): string;
489
+ /** @deprecated Use {@link CurrentUser}. */
490
+ set currentUser(value: UserInfo);
491
+ /** @deprecated Use {@link CurrentUser}. */
492
+ get currentUser(): UserInfo;
493
+ /** @deprecated Use {@link SelectedConversationId}. */
494
+ set selectedConversationId(value: string | null);
495
+ /** @deprecated Use {@link SelectedConversationId}. */
496
+ get selectedConversationId(): string | null;
497
+ /** @deprecated Use {@link RenamedConversationId}. */
498
+ set renamedConversationId(value: string | null);
499
+ /** @deprecated Use {@link RenamedConversationId}. */
500
+ get renamedConversationId(): string | null;
501
+ /** @deprecated Use {@link IsSidebarPinned}. */
502
+ set isSidebarPinned(value: boolean);
503
+ /** @deprecated Use {@link IsSidebarPinned}. */
504
+ get isSidebarPinned(): boolean;
505
+ /** @deprecated Use {@link IsMobileView}. */
506
+ set isMobileView(value: boolean);
507
+ /** @deprecated Use {@link IsMobileView}. */
508
+ get isMobileView(): boolean;
509
+ /** @deprecated Use {@link ShowNewConversationButton}. */
510
+ set showNewConversationButton(value: boolean);
511
+ /** @deprecated Use {@link ShowNewConversationButton}. */
512
+ get showNewConversationButton(): boolean;
513
+ /** @deprecated Use {@link ShowHeaderMenu}. */
514
+ set showHeaderMenu(value: boolean);
515
+ /** @deprecated Use {@link ShowHeaderMenu}. */
516
+ get showHeaderMenu(): boolean;
517
+ /** @deprecated Use {@link ShowSectionHeaders}. */
518
+ set showSectionHeaders(value: boolean);
519
+ /** @deprecated Use {@link ShowSectionHeaders}. */
520
+ get showSectionHeaders(): boolean;
521
+ /** @deprecated Use {@link DirectMessagesExpanded}. */
522
+ get directMessagesExpanded(): boolean;
523
+ /** @deprecated Use {@link DirectMessagesExpanded}. */
524
+ set directMessagesExpanded(value: boolean);
525
+ /** @deprecated Use {@link PinnedExpanded}. */
526
+ get pinnedExpanded(): boolean;
527
+ /** @deprecated Use {@link PinnedExpanded}. */
528
+ set pinnedExpanded(value: boolean);
529
+ /** @deprecated Use {@link FoldersExpanded}. */
530
+ get foldersExpanded(): boolean;
531
+ /** @deprecated Use {@link FoldersExpanded}. */
532
+ set foldersExpanded(value: boolean);
533
+ /** @deprecated Use {@link UngroupedExpanded}. */
534
+ get ungroupedExpanded(): boolean;
535
+ /** @deprecated Use {@link UngroupedExpanded}. */
536
+ set ungroupedExpanded(value: boolean);
537
+ /** @deprecated Use {@link ConversationIdsWithTasks}. */
538
+ get conversationIdsWithTasks(): Set<string>;
539
+ /** @deprecated Use {@link ConversationIdsWithTasks}. */
540
+ set conversationIdsWithTasks(value: Set<string>);
541
+ /** @deprecated Use {@link IsSelectionMode}. */
542
+ get isSelectionMode(): boolean;
543
+ /** @deprecated Use {@link IsSelectionMode}. */
544
+ set isSelectionMode(value: boolean);
545
+ /** @deprecated Use {@link SelectedConversationIds}. */
546
+ get selectedConversationIds(): Set<string>;
547
+ /** @deprecated Use {@link SelectedConversationIds}. */
548
+ set selectedConversationIds(value: Set<string>);
549
+ /** @deprecated Use {@link IsHeaderMenuOpen}. */
550
+ get isHeaderMenuOpen(): boolean;
551
+ /** @deprecated Use {@link IsHeaderMenuOpen}. */
552
+ set isHeaderMenuOpen(value: boolean);
553
+ /** @deprecated Use {@link IsRefreshing}. */
554
+ get isRefreshing(): boolean;
555
+ /** @deprecated Use {@link IsRefreshing}. */
556
+ set isRefreshing(value: boolean);
557
+ /** @deprecated Use {@link GroupBy}. */
558
+ get groupBy(): ConversationGroupBy;
559
+ /** @deprecated Use {@link GroupBy}. */
560
+ set groupBy(value: ConversationGroupBy);
561
+ /** @deprecated Use {@link PinnedConversations}. */
562
+ get pinnedConversations(): MJConversationEntity[];
563
+ /** @deprecated Use {@link PinnedConversations}. */
564
+ set pinnedConversations(value: MJConversationEntity[]);
565
+ /** @deprecated Use {@link UnpinnedConversations}. */
566
+ get unpinnedConversations(): MJConversationEntity[];
567
+ /** @deprecated Use {@link UnpinnedConversations}. */
568
+ set unpinnedConversations(value: MJConversationEntity[]);
569
+ /** @deprecated Use {@link UngroupedConversations}. */
570
+ get ungroupedConversations(): MJConversationEntity[];
571
+ /** @deprecated Use {@link UngroupedConversations}. */
572
+ set ungroupedConversations(value: MJConversationEntity[]);
573
+ /** @deprecated Use {@link FolderTree}. */
574
+ get folderTree(): FolderNode[];
575
+ /** @deprecated Use {@link FolderTree}. */
576
+ set folderTree(value: FolderNode[]);
577
+ /** @deprecated Use {@link FlatFolders}. */
578
+ get flatFolders(): FolderNode[];
579
+ /** @deprecated Use {@link FlatFolders}. */
580
+ set flatFolders(value: FolderNode[]);
581
+ /** @deprecated Use {@link DraggedFolderId}. */
582
+ get draggedFolderId(): string | null;
583
+ /** @deprecated Use {@link DraggedFolderId}. */
584
+ set draggedFolderId(value: string | null);
585
+ /** @deprecated Use {@link DragOverTargetId}. */
586
+ get dragOverTargetId(): string | null;
587
+ /** @deprecated Use {@link DragOverTargetId}. */
588
+ set dragOverTargetId(value: string | null);
589
+ /** @deprecated Use {@link SearchQuery}. */
590
+ get searchQuery(): string;
591
+ /** @deprecated Use {@link SearchQuery}. */
592
+ set searchQuery(value: string);
593
+ /** @deprecated Use {@link IsSearching}. */
594
+ get isSearching(): boolean;
595
+ /** @deprecated Use {@link ToggleHeaderMenu}. */
102
596
  toggleHeaderMenu(event: Event): void;
597
+ /** @deprecated Use {@link CloseHeaderMenu}. */
103
598
  closeHeaderMenu(): void;
104
- onSelectConversationsClick(event: Event): void;
599
+ /** @deprecated Use {@link OnToggleGroupByClick}. */
105
600
  onToggleGroupByClick(event: Event): void;
601
+ /** @deprecated Use {@link OnRefreshConversationsClick}. */
106
602
  onRefreshConversationsClick(event: Event): Promise<void>;
603
+ /** @deprecated Use {@link OnPinSidebarClick}. */
107
604
  onPinSidebarClick(event: Event): void;
605
+ /** @deprecated Use {@link OnUnpinSidebarClick}. */
108
606
  onUnpinSidebarClick(event: Event): void;
607
+ /** @deprecated Use {@link ToggleDirectMessages}. */
109
608
  toggleDirectMessages(): void;
609
+ /** @deprecated Use {@link TogglePinned}. */
110
610
  togglePinned(): void;
611
+ /** @deprecated Use {@link ToggleFolders}. */
111
612
  toggleFolders(): void;
613
+ /** @deprecated Use {@link ToggleUngrouped}. */
112
614
  toggleUngrouped(): void;
113
- /**
114
- * Recomputes pinned/unpinned/ungrouped lists and the folder tree from the
115
- * engine's conversation + project caches and the current search filter.
116
- */
117
- private rebuildGroups;
118
- private flattenFolders;
119
- private findFolderNode;
615
+ /** @deprecated Use {@link IsFolderExpanded}. */
120
616
  isFolderExpanded(projectId: string): boolean;
617
+ /** @deprecated Use {@link ToggleFolder}. */
121
618
  toggleFolder(projectId: string): void;
619
+ /** @deprecated Use {@link ToggleGroupBy}. */
122
620
  toggleGroupBy(): void;
123
- private loadFolderPrefs;
124
- private saveFolderPrefs;
621
+ /** @deprecated Use {@link OnConversationDragStart}. */
125
622
  onConversationDragStart(conversation: MJConversationEntity, event: DragEvent): void;
623
+ /** @deprecated Use {@link OnConversationDragEnd}. */
126
624
  onConversationDragEnd(): void;
625
+ /** @deprecated Use {@link OnFolderDragStart}. */
127
626
  onFolderDragStart(node: FolderNode, event: DragEvent): void;
627
+ /** @deprecated Use {@link OnFolderDragEnd}. */
128
628
  onFolderDragEnd(): void;
629
+ /** @deprecated Use {@link OnFolderDragOver}. */
129
630
  onFolderDragOver(projectId: string, event: DragEvent): void;
631
+ /** @deprecated Use {@link OnUngroupedDragOver}. */
130
632
  onUngroupedDragOver(event: DragEvent): void;
131
- /** The Folders section header accepts a dragged folder to move it back to the top level. */
633
+ /** @deprecated Use {@link OnFoldersRootDragOver}. */
132
634
  onFoldersRootDragOver(event: DragEvent): void;
635
+ /** @deprecated Use {@link OnDragLeave}. */
133
636
  onDragLeave(targetId: string): void;
134
- onFolderDrop(project: MJProjectEntity, event: DragEvent): void;
135
- onUngroupedDrop(event: DragEvent): void;
637
+ /** @deprecated Use {@link OnFolderDrop}. */
638
+ onFolderDrop(project: MJProjectEntity, event: DragEvent): Promise<void>;
639
+ /** @deprecated Use {@link OnUngroupedDrop}. */
640
+ onUngroupedDrop(event: DragEvent): Promise<void>;
641
+ /** @deprecated Use {@link OnFoldersRootDrop}. */
136
642
  onFoldersRootDrop(event: DragEvent): void;
137
- /**
138
- * A folder can be dropped onto a target folder only if the target isn't the dragged
139
- * folder itself and isn't one of its descendants (otherwise we'd create a cycle).
140
- */
141
- private isValidFolderDropTarget;
142
- /** True when `nodeId` is a descendant of `ancestorId` in the folder tree. */
143
- private isDescendantOf;
144
- /** Assigns a conversation to a folder (or null to ungroup) and refreshes the view. */
145
- private moveConversation;
146
- /** Reparents a folder under another folder (or to the top level when projectId is null). */
147
- private moveFolder;
148
- openMoveSubmenu(conversationId: string, event: Event): void;
643
+ /** @deprecated Use {@link OpenMoveSubmenu}. */
644
+ openMoveSubmenu(event: Event): void;
645
+ /** @deprecated Use {@link CloseMoveSubmenu}. */
149
646
  closeMoveSubmenu(event: Event): void;
150
- IsInFolder(conversation: MJConversationEntity, projectId: string): boolean;
151
- selectMoveTarget(conversation: MJConversationEntity, projectId: string | null): void;
647
+ /** @deprecated Use {@link CreateFolder}. */
152
648
  createFolder(parentId: string | null, event?: Event): void;
649
+ /** @deprecated Use {@link EditFolder}. */
153
650
  editFolder(project: MJProjectEntity, event?: Event): void;
154
- createFolderForConversation(conversation: MJConversationEntity, event: Event): void;
155
- private openFolderModal;
651
+ /** @deprecated Use {@link DeleteFolder}. */
156
652
  deleteFolder(project: MJProjectEntity, event?: Event): Promise<void>;
157
- IsConversationActive(conversation: MJConversationEntity): boolean;
158
- IsConversationRenamed(conversation: MJConversationEntity): boolean;
159
- IsMenuOpen(conversation: MJConversationEntity): boolean;
160
- IsConversationDragging(conversation: MJConversationEntity): boolean;
161
- IsMoveSubmenuOpen(conversation: MJConversationEntity): boolean;
653
+ /** @deprecated Use {@link SelectConversation}. */
162
654
  selectConversation(conversation: MJConversationEntity): void;
655
+ /** @deprecated Use {@link CreateNewConversation}. */
163
656
  createNewConversation(): Promise<void>;
657
+ /** @deprecated Use {@link RenameConversation}. */
164
658
  renameConversation(conversation: MJConversationEntity): Promise<void>;
659
+ /** @deprecated Use {@link DeleteConversation}. */
165
660
  deleteConversation(conversation: MJConversationEntity): Promise<void>;
166
- toggleMenu(conversationId: string, event: Event): void;
167
- closeMenu(): void;
661
+ /** @deprecated Use {@link TogglePin}. */
168
662
  togglePin(conversation: MJConversationEntity, event?: Event): Promise<void>;
663
+ /** @deprecated Use {@link HasActiveTasks}. */
169
664
  hasActiveTasks(conversationId: string): boolean;
170
- /** True when this conversation was shared with the current user by someone else. */
665
+ /** @deprecated Use {@link IsSharedWithMe}. */
171
666
  isSharedWithMe(conversation: MJConversationEntity): boolean;
172
- /** Tooltip for the sidebar share icon: "Shared by {email or name}". */
667
+ /** @deprecated Use {@link SharedWithMeTooltip}. */
173
668
  sharedWithMeTooltip(conversation: MJConversationEntity): string;
669
+ /** @deprecated Use {@link ToggleSelectionMode}. */
174
670
  toggleSelectionMode(): void;
671
+ /** @deprecated Use {@link ToggleConversationSelection}. */
175
672
  toggleConversationSelection(conversationId: string): void;
673
+ /** @deprecated Use {@link SelectAll}. */
176
674
  selectAll(): void;
675
+ /** @deprecated Use {@link DeselectAll}. */
177
676
  deselectAll(): void;
178
- bulkDeleteConversations(): Promise<void>;
179
- handleConversationClick(conversation: MJConversationEntity): void;
677
+ /** @deprecated Use {@link BulkDeleteConversations}. */
678
+ bulkDeleteConversations(ids?: string[]): Promise<void>;
679
+ /** @deprecated Use {@link HandleConversationClick}. */
680
+ handleConversationClick(conversation: MJConversationEntity, event?: MouseEvent): void;
180
681
  static ɵfac: i0.ɵɵFactoryDeclaration<ConversationListComponent, never>;
181
- static ɵcmp: i0.ɵɵComponentDeclaration<ConversationListComponent, "mj-conversation-list", never, { "environmentId": { "alias": "environmentId"; "required": false; }; "currentUser": { "alias": "currentUser"; "required": false; }; "selectedConversationId": { "alias": "selectedConversationId"; "required": false; }; "renamedConversationId": { "alias": "renamedConversationId"; "required": false; }; "isSidebarPinned": { "alias": "isSidebarPinned"; "required": false; }; "isMobileView": { "alias": "isMobileView"; "required": false; }; "showSearch": { "alias": "showSearch"; "required": false; }; "showNewConversationButton": { "alias": "showNewConversationButton"; "required": false; }; "showHeaderMenu": { "alias": "showHeaderMenu"; "required": false; }; "showSectionHeaders": { "alias": "showSectionHeaders"; "required": false; }; }, { "conversationSelected": "conversationSelected"; "conversationDeleted": "conversationDeleted"; "newConversationRequested": "newConversationRequested"; "pinSidebarRequested": "pinSidebarRequested"; "unpinSidebarRequested": "unpinSidebarRequested"; "refreshRequested": "refreshRequested"; }, never, never, false, never>;
682
+ static ɵcmp: i0.ɵɵComponentDeclaration<ConversationListComponent, "mj-conversation-list", never, { "EnvironmentId": { "alias": "EnvironmentId"; "required": false; }; "CurrentUser": { "alias": "CurrentUser"; "required": false; }; "SelectedConversationId": { "alias": "SelectedConversationId"; "required": false; }; "RenamedConversationId": { "alias": "RenamedConversationId"; "required": false; }; "IsSidebarPinned": { "alias": "IsSidebarPinned"; "required": false; }; "IsMobileView": { "alias": "IsMobileView"; "required": false; }; "showSearch": { "alias": "showSearch"; "required": false; }; "ShowNewConversationButton": { "alias": "ShowNewConversationButton"; "required": false; }; "ShowHeaderMenu": { "alias": "ShowHeaderMenu"; "required": false; }; "ShowSectionHeaders": { "alias": "ShowSectionHeaders"; "required": false; }; "environmentId": { "alias": "environmentId"; "required": false; }; "currentUser": { "alias": "currentUser"; "required": false; }; "selectedConversationId": { "alias": "selectedConversationId"; "required": false; }; "renamedConversationId": { "alias": "renamedConversationId"; "required": false; }; "isSidebarPinned": { "alias": "isSidebarPinned"; "required": false; }; "isMobileView": { "alias": "isMobileView"; "required": false; }; "showNewConversationButton": { "alias": "showNewConversationButton"; "required": false; }; "showHeaderMenu": { "alias": "showHeaderMenu"; "required": false; }; "showSectionHeaders": { "alias": "showSectionHeaders"; "required": false; }; }, { "ConversationSelected": "ConversationSelected"; "conversationSelected": "conversationSelected"; "ConversationDeleted": "ConversationDeleted"; "conversationDeleted": "conversationDeleted"; "NewConversationRequested": "NewConversationRequested"; "newConversationRequested": "newConversationRequested"; "PinSidebarRequested": "PinSidebarRequested"; "pinSidebarRequested": "pinSidebarRequested"; "UnpinSidebarRequested": "UnpinSidebarRequested"; "unpinSidebarRequested": "unpinSidebarRequested"; "RefreshRequested": "RefreshRequested"; "refreshRequested": "refreshRequested"; "SearchEscalated": "SearchEscalated"; }, never, never, false, never>;
182
683
  }
183
684
  export {};
184
685
  //# sourceMappingURL=conversation-list.component.d.ts.map