@memberjunction/ng-conversations 2.104.0

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 (226) hide show
  1. package/README.md +197 -0
  2. package/dist/lib/components/active-tasks/active-tasks-panel.component.d.ts +20 -0
  3. package/dist/lib/components/active-tasks/active-tasks-panel.component.d.ts.map +1 -0
  4. package/dist/lib/components/active-tasks/active-tasks-panel.component.js +125 -0
  5. package/dist/lib/components/active-tasks/active-tasks-panel.component.js.map +1 -0
  6. package/dist/lib/components/agent/active-agent-indicator.component.d.ts +48 -0
  7. package/dist/lib/components/agent/active-agent-indicator.component.d.ts.map +1 -0
  8. package/dist/lib/components/agent/active-agent-indicator.component.js +199 -0
  9. package/dist/lib/components/agent/active-agent-indicator.component.js.map +1 -0
  10. package/dist/lib/components/agent/agent-process-panel.component.d.ts +30 -0
  11. package/dist/lib/components/agent/agent-process-panel.component.d.ts.map +1 -0
  12. package/dist/lib/components/agent/agent-process-panel.component.js +333 -0
  13. package/dist/lib/components/agent/agent-process-panel.component.js.map +1 -0
  14. package/dist/lib/components/artifact/artifact-panel.component.d.ts +22 -0
  15. package/dist/lib/components/artifact/artifact-panel.component.d.ts.map +1 -0
  16. package/dist/lib/components/artifact/artifact-panel.component.js +237 -0
  17. package/dist/lib/components/artifact/artifact-panel.component.js.map +1 -0
  18. package/dist/lib/components/artifact/artifact-upload-modal.component.d.ts +39 -0
  19. package/dist/lib/components/artifact/artifact-upload-modal.component.d.ts.map +1 -0
  20. package/dist/lib/components/artifact/artifact-upload-modal.component.js +384 -0
  21. package/dist/lib/components/artifact/artifact-upload-modal.component.js.map +1 -0
  22. package/dist/lib/components/artifact/artifact-version-history.component.d.ts +28 -0
  23. package/dist/lib/components/artifact/artifact-version-history.component.d.ts.map +1 -0
  24. package/dist/lib/components/artifact/artifact-version-history.component.js +280 -0
  25. package/dist/lib/components/artifact/artifact-version-history.component.js.map +1 -0
  26. package/dist/lib/components/artifact/artifact-viewer-panel.component.d.ts +22 -0
  27. package/dist/lib/components/artifact/artifact-viewer-panel.component.d.ts.map +1 -0
  28. package/dist/lib/components/artifact/artifact-viewer-panel.component.js +182 -0
  29. package/dist/lib/components/artifact/artifact-viewer-panel.component.js.map +1 -0
  30. package/dist/lib/components/artifact/artifact-viewer.component.d.ts +27 -0
  31. package/dist/lib/components/artifact/artifact-viewer.component.d.ts.map +1 -0
  32. package/dist/lib/components/artifact/artifact-viewer.component.js +266 -0
  33. package/dist/lib/components/artifact/artifact-viewer.component.js.map +1 -0
  34. package/dist/lib/components/artifact/inline-artifact.component.d.ts +46 -0
  35. package/dist/lib/components/artifact/inline-artifact.component.d.ts.map +1 -0
  36. package/dist/lib/components/artifact/inline-artifact.component.js +447 -0
  37. package/dist/lib/components/artifact/inline-artifact.component.js.map +1 -0
  38. package/dist/lib/components/collection/collection-artifact-card.component.d.ts +18 -0
  39. package/dist/lib/components/collection/collection-artifact-card.component.d.ts.map +1 -0
  40. package/dist/lib/components/collection/collection-artifact-card.component.js +147 -0
  41. package/dist/lib/components/collection/collection-artifact-card.component.js.map +1 -0
  42. package/dist/lib/components/collection/collection-form-modal.component.d.ts +33 -0
  43. package/dist/lib/components/collection/collection-form-modal.component.d.ts.map +1 -0
  44. package/dist/lib/components/collection/collection-form-modal.component.js +245 -0
  45. package/dist/lib/components/collection/collection-form-modal.component.js.map +1 -0
  46. package/dist/lib/components/collection/collection-tree.component.d.ts +42 -0
  47. package/dist/lib/components/collection/collection-tree.component.d.ts.map +1 -0
  48. package/dist/lib/components/collection/collection-tree.component.js +482 -0
  49. package/dist/lib/components/collection/collection-tree.component.js.map +1 -0
  50. package/dist/lib/components/collection/collection-view.component.d.ts +31 -0
  51. package/dist/lib/components/collection/collection-view.component.d.ts.map +1 -0
  52. package/dist/lib/components/collection/collection-view.component.js +254 -0
  53. package/dist/lib/components/collection/collection-view.component.js.map +1 -0
  54. package/dist/lib/components/collection/collections-full-view.component.d.ts +55 -0
  55. package/dist/lib/components/collection/collections-full-view.component.d.ts.map +1 -0
  56. package/dist/lib/components/collection/collections-full-view.component.js +578 -0
  57. package/dist/lib/components/collection/collections-full-view.component.js.map +1 -0
  58. package/dist/lib/components/conversation/conversation-chat-area.component.d.ts +160 -0
  59. package/dist/lib/components/conversation/conversation-chat-area.component.d.ts.map +1 -0
  60. package/dist/lib/components/conversation/conversation-chat-area.component.js +891 -0
  61. package/dist/lib/components/conversation/conversation-chat-area.component.js.map +1 -0
  62. package/dist/lib/components/conversation/conversation-list.component.d.ts +29 -0
  63. package/dist/lib/components/conversation/conversation-list.component.d.ts.map +1 -0
  64. package/dist/lib/components/conversation/conversation-list.component.js +255 -0
  65. package/dist/lib/components/conversation/conversation-list.component.js.map +1 -0
  66. package/dist/lib/components/dialogs/input-dialog.component.d.ts +17 -0
  67. package/dist/lib/components/dialogs/input-dialog.component.d.ts.map +1 -0
  68. package/dist/lib/components/dialogs/input-dialog.component.js +122 -0
  69. package/dist/lib/components/dialogs/input-dialog.component.js.map +1 -0
  70. package/dist/lib/components/export/export-modal.component.d.ts +37 -0
  71. package/dist/lib/components/export/export-modal.component.d.ts.map +1 -0
  72. package/dist/lib/components/export/export-modal.component.js +414 -0
  73. package/dist/lib/components/export/export-modal.component.js.map +1 -0
  74. package/dist/lib/components/library/library-full-view.component.d.ts +36 -0
  75. package/dist/lib/components/library/library-full-view.component.d.ts.map +1 -0
  76. package/dist/lib/components/library/library-full-view.component.js +270 -0
  77. package/dist/lib/components/library/library-full-view.component.js.map +1 -0
  78. package/dist/lib/components/members/members-modal.component.d.ts +42 -0
  79. package/dist/lib/components/members/members-modal.component.d.ts.map +1 -0
  80. package/dist/lib/components/members/members-modal.component.js +352 -0
  81. package/dist/lib/components/members/members-modal.component.js.map +1 -0
  82. package/dist/lib/components/mention/mention-dropdown.component.d.ts +44 -0
  83. package/dist/lib/components/mention/mention-dropdown.component.d.ts.map +1 -0
  84. package/dist/lib/components/mention/mention-dropdown.component.js +194 -0
  85. package/dist/lib/components/mention/mention-dropdown.component.js.map +1 -0
  86. package/dist/lib/components/message/message-input.component.d.ts +137 -0
  87. package/dist/lib/components/message/message-input.component.d.ts.map +1 -0
  88. package/dist/lib/components/message/message-input.component.js +1159 -0
  89. package/dist/lib/components/message/message-input.component.js.map +1 -0
  90. package/dist/lib/components/message/message-item.component.d.ts +140 -0
  91. package/dist/lib/components/message/message-item.component.d.ts.map +1 -0
  92. package/dist/lib/components/message/message-item.component.js +817 -0
  93. package/dist/lib/components/message/message-item.component.js.map +1 -0
  94. package/dist/lib/components/message/message-list.component.d.ts +77 -0
  95. package/dist/lib/components/message/message-list.component.d.ts.map +1 -0
  96. package/dist/lib/components/message/message-list.component.js +316 -0
  97. package/dist/lib/components/message/message-list.component.js.map +1 -0
  98. package/dist/lib/components/navigation/conversation-navigation.component.d.ts +13 -0
  99. package/dist/lib/components/navigation/conversation-navigation.component.d.ts.map +1 -0
  100. package/dist/lib/components/navigation/conversation-navigation.component.js +88 -0
  101. package/dist/lib/components/navigation/conversation-navigation.component.js.map +1 -0
  102. package/dist/lib/components/notification/activity-indicator.component.d.ts +11 -0
  103. package/dist/lib/components/notification/activity-indicator.component.d.ts.map +1 -0
  104. package/dist/lib/components/notification/activity-indicator.component.js +56 -0
  105. package/dist/lib/components/notification/activity-indicator.component.js.map +1 -0
  106. package/dist/lib/components/notification/notification-badge.component.d.ts +27 -0
  107. package/dist/lib/components/notification/notification-badge.component.d.ts.map +1 -0
  108. package/dist/lib/components/notification/notification-badge.component.js +160 -0
  109. package/dist/lib/components/notification/notification-badge.component.js.map +1 -0
  110. package/dist/lib/components/project/project-form-modal.component.d.ts +34 -0
  111. package/dist/lib/components/project/project-form-modal.component.d.ts.map +1 -0
  112. package/dist/lib/components/project/project-form-modal.component.js +357 -0
  113. package/dist/lib/components/project/project-form-modal.component.js.map +1 -0
  114. package/dist/lib/components/project/project-selector.component.d.ts +36 -0
  115. package/dist/lib/components/project/project-selector.component.d.ts.map +1 -0
  116. package/dist/lib/components/project/project-selector.component.js +317 -0
  117. package/dist/lib/components/project/project-selector.component.js.map +1 -0
  118. package/dist/lib/components/search/search-panel.component.d.ts +120 -0
  119. package/dist/lib/components/search/search-panel.component.d.ts.map +1 -0
  120. package/dist/lib/components/search/search-panel.component.js +714 -0
  121. package/dist/lib/components/search/search-panel.component.js.map +1 -0
  122. package/dist/lib/components/share/share-modal.component.d.ts +46 -0
  123. package/dist/lib/components/share/share-modal.component.d.ts.map +1 -0
  124. package/dist/lib/components/share/share-modal.component.js +431 -0
  125. package/dist/lib/components/share/share-modal.component.js.map +1 -0
  126. package/dist/lib/components/sidebar/conversation-sidebar.component.d.ts +18 -0
  127. package/dist/lib/components/sidebar/conversation-sidebar.component.d.ts.map +1 -0
  128. package/dist/lib/components/sidebar/conversation-sidebar.component.js +81 -0
  129. package/dist/lib/components/sidebar/conversation-sidebar.component.js.map +1 -0
  130. package/dist/lib/components/task/task-form-modal.component.d.ts +42 -0
  131. package/dist/lib/components/task/task-form-modal.component.d.ts.map +1 -0
  132. package/dist/lib/components/task/task-form-modal.component.js +329 -0
  133. package/dist/lib/components/task/task-form-modal.component.js.map +1 -0
  134. package/dist/lib/components/task/task-item.component.d.ts +22 -0
  135. package/dist/lib/components/task/task-item.component.d.ts.map +1 -0
  136. package/dist/lib/components/task/task-item.component.js +234 -0
  137. package/dist/lib/components/task/task-item.component.js.map +1 -0
  138. package/dist/lib/components/task/task-list.component.d.ts +32 -0
  139. package/dist/lib/components/task/task-list.component.d.ts.map +1 -0
  140. package/dist/lib/components/task/task-list.component.js +290 -0
  141. package/dist/lib/components/task/task-list.component.js.map +1 -0
  142. package/dist/lib/components/tasks/tasks-dropdown.component.d.ts +27 -0
  143. package/dist/lib/components/tasks/tasks-dropdown.component.d.ts.map +1 -0
  144. package/dist/lib/components/tasks/tasks-dropdown.component.js +254 -0
  145. package/dist/lib/components/tasks/tasks-dropdown.component.js.map +1 -0
  146. package/dist/lib/components/thread/thread-panel.component.d.ts +65 -0
  147. package/dist/lib/components/thread/thread-panel.component.d.ts.map +1 -0
  148. package/dist/lib/components/thread/thread-panel.component.js +325 -0
  149. package/dist/lib/components/thread/thread-panel.component.js.map +1 -0
  150. package/dist/lib/components/toast/toast.component.d.ts +26 -0
  151. package/dist/lib/components/toast/toast.component.d.ts.map +1 -0
  152. package/dist/lib/components/toast/toast.component.js +108 -0
  153. package/dist/lib/components/toast/toast.component.js.map +1 -0
  154. package/dist/lib/components/workspace/conversation-workspace.component.d.ts +75 -0
  155. package/dist/lib/components/workspace/conversation-workspace.component.d.ts.map +1 -0
  156. package/dist/lib/components/workspace/conversation-workspace.component.js +299 -0
  157. package/dist/lib/components/workspace/conversation-workspace.component.js.map +1 -0
  158. package/dist/lib/conversations.module.d.ts +62 -0
  159. package/dist/lib/conversations.module.d.ts.map +1 -0
  160. package/dist/lib/conversations.module.js +248 -0
  161. package/dist/lib/conversations.module.js.map +1 -0
  162. package/dist/lib/directives/search-shortcut.directive.d.ts +17 -0
  163. package/dist/lib/directives/search-shortcut.directive.d.ts.map +1 -0
  164. package/dist/lib/directives/search-shortcut.directive.js +39 -0
  165. package/dist/lib/directives/search-shortcut.directive.js.map +1 -0
  166. package/dist/lib/models/conversation-state.model.d.ts +72 -0
  167. package/dist/lib/models/conversation-state.model.d.ts.map +1 -0
  168. package/dist/lib/models/conversation-state.model.js +2 -0
  169. package/dist/lib/models/conversation-state.model.js.map +1 -0
  170. package/dist/lib/models/notification.model.d.ts +89 -0
  171. package/dist/lib/models/notification.model.d.ts.map +1 -0
  172. package/dist/lib/models/notification.model.js +11 -0
  173. package/dist/lib/models/notification.model.js.map +1 -0
  174. package/dist/lib/services/active-tasks.service.d.ts +65 -0
  175. package/dist/lib/services/active-tasks.service.d.ts.map +1 -0
  176. package/dist/lib/services/active-tasks.service.js +95 -0
  177. package/dist/lib/services/active-tasks.service.js.map +1 -0
  178. package/dist/lib/services/agent-state.service.d.ts +78 -0
  179. package/dist/lib/services/agent-state.service.d.ts.map +1 -0
  180. package/dist/lib/services/agent-state.service.js +213 -0
  181. package/dist/lib/services/agent-state.service.js.map +1 -0
  182. package/dist/lib/services/artifact-state.service.d.ts +114 -0
  183. package/dist/lib/services/artifact-state.service.d.ts.map +1 -0
  184. package/dist/lib/services/artifact-state.service.js +288 -0
  185. package/dist/lib/services/artifact-state.service.js.map +1 -0
  186. package/dist/lib/services/conversation-agent.service.d.ts +79 -0
  187. package/dist/lib/services/conversation-agent.service.d.ts.map +1 -0
  188. package/dist/lib/services/conversation-agent.service.js +259 -0
  189. package/dist/lib/services/conversation-agent.service.js.map +1 -0
  190. package/dist/lib/services/conversation-state.service.d.ts +122 -0
  191. package/dist/lib/services/conversation-state.service.d.ts.map +1 -0
  192. package/dist/lib/services/conversation-state.service.js +255 -0
  193. package/dist/lib/services/conversation-state.service.js.map +1 -0
  194. package/dist/lib/services/dialog.service.d.ts +54 -0
  195. package/dist/lib/services/dialog.service.d.ts.map +1 -0
  196. package/dist/lib/services/dialog.service.js +157 -0
  197. package/dist/lib/services/dialog.service.js.map +1 -0
  198. package/dist/lib/services/export.service.d.ts +25 -0
  199. package/dist/lib/services/export.service.d.ts.map +1 -0
  200. package/dist/lib/services/export.service.js +237 -0
  201. package/dist/lib/services/export.service.js.map +1 -0
  202. package/dist/lib/services/mention-autocomplete.service.d.ts +59 -0
  203. package/dist/lib/services/mention-autocomplete.service.d.ts.map +1 -0
  204. package/dist/lib/services/mention-autocomplete.service.js +160 -0
  205. package/dist/lib/services/mention-autocomplete.service.js.map +1 -0
  206. package/dist/lib/services/mention-parser.service.d.ts +46 -0
  207. package/dist/lib/services/mention-parser.service.d.ts.map +1 -0
  208. package/dist/lib/services/mention-parser.service.js +156 -0
  209. package/dist/lib/services/mention-parser.service.js.map +1 -0
  210. package/dist/lib/services/notification.service.d.ts +108 -0
  211. package/dist/lib/services/notification.service.d.ts.map +1 -0
  212. package/dist/lib/services/notification.service.js +431 -0
  213. package/dist/lib/services/notification.service.js.map +1 -0
  214. package/dist/lib/services/search.service.d.ts +144 -0
  215. package/dist/lib/services/search.service.d.ts.map +1 -0
  216. package/dist/lib/services/search.service.js +370 -0
  217. package/dist/lib/services/search.service.js.map +1 -0
  218. package/dist/lib/services/toast.service.d.ts +46 -0
  219. package/dist/lib/services/toast.service.d.ts.map +1 -0
  220. package/dist/lib/services/toast.service.js +76 -0
  221. package/dist/lib/services/toast.service.js.map +1 -0
  222. package/dist/public-api.d.ts +42 -0
  223. package/dist/public-api.d.ts.map +1 -0
  224. package/dist/public-api.js +49 -0
  225. package/dist/public-api.js.map +1 -0
  226. package/package.json +54 -0
@@ -0,0 +1,299 @@
1
+ import { Component, Input, Output, EventEmitter } from '@angular/core';
2
+ import { BaseAngularComponent } from '@memberjunction/ng-base-types';
3
+ import { Subject, takeUntil } from 'rxjs';
4
+ import { AIEngineBase } from '@memberjunction/ai-engine-base';
5
+ import * as i0 from "@angular/core";
6
+ import * as i1 from "../../services/conversation-state.service";
7
+ import * as i2 from "../../services/artifact-state.service";
8
+ import * as i3 from "@angular/common";
9
+ import * as i4 from "@progress/kendo-angular-dialog";
10
+ import * as i5 from "../navigation/conversation-navigation.component";
11
+ import * as i6 from "../sidebar/conversation-sidebar.component";
12
+ import * as i7 from "../conversation/conversation-chat-area.component";
13
+ import * as i8 from "../artifact/artifact-panel.component";
14
+ import * as i9 from "../collection/collections-full-view.component";
15
+ import * as i10 from "../search/search-panel.component";
16
+ import * as i11 from "../toast/toast.component";
17
+ import * as i12 from "../../directives/search-shortcut.directive";
18
+ function ConversationWorkspaceComponent_div_4_Template(rf, ctx) { if (rf & 1) {
19
+ i0.ɵɵelementStart(0, "div", 9);
20
+ i0.ɵɵelement(1, "mj-conversation-sidebar", 10);
21
+ i0.ɵɵelementEnd();
22
+ } if (rf & 2) {
23
+ const ctx_r0 = i0.ɵɵnextContext();
24
+ i0.ɵɵstyleProp("width", ctx_r0.sidebarWidth, "px");
25
+ i0.ɵɵadvance();
26
+ i0.ɵɵproperty("activeTab", ctx_r0.activeTab)("environmentId", ctx_r0.environmentId)("currentUser", ctx_r0.currentUser)("renamedConversationId", ctx_r0.renamedConversationId);
27
+ } }
28
+ function ConversationWorkspaceComponent_div_5_Template(rf, ctx) { if (rf & 1) {
29
+ const _r2 = i0.ɵɵgetCurrentView();
30
+ i0.ɵɵelementStart(0, "div", 11);
31
+ i0.ɵɵlistener("mousedown", function ConversationWorkspaceComponent_div_5_Template_div_mousedown_0_listener($event) { i0.ɵɵrestoreView(_r2); const ctx_r0 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r0.onSidebarResizeStart($event)); });
32
+ i0.ɵɵelementEnd();
33
+ } }
34
+ function ConversationWorkspaceComponent_div_6_Template(rf, ctx) { if (rf & 1) {
35
+ i0.ɵɵelementStart(0, "div", 12);
36
+ i0.ɵɵelement(1, "mj-collections-full-view", 13);
37
+ i0.ɵɵelementEnd();
38
+ } if (rf & 2) {
39
+ const ctx_r0 = i0.ɵɵnextContext();
40
+ i0.ɵɵadvance();
41
+ i0.ɵɵproperty("environmentId", ctx_r0.environmentId)("currentUser", ctx_r0.currentUser);
42
+ } }
43
+ function ConversationWorkspaceComponent_div_7_Template(rf, ctx) { if (rf & 1) {
44
+ const _r3 = i0.ɵɵgetCurrentView();
45
+ i0.ɵɵelementStart(0, "div", 12)(1, "mj-conversation-chat-area", 14);
46
+ i0.ɵɵlistener("conversationRenamed", function ConversationWorkspaceComponent_div_7_Template_mj_conversation_chat_area_conversationRenamed_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r0 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r0.onConversationRenamed($event)); })("openEntityRecord", function ConversationWorkspaceComponent_div_7_Template_mj_conversation_chat_area_openEntityRecord_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r0 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r0.onOpenEntityRecord($event)); });
47
+ i0.ɵɵelementEnd()();
48
+ } if (rf & 2) {
49
+ const ctx_r0 = i0.ɵɵnextContext();
50
+ i0.ɵɵadvance();
51
+ i0.ɵɵproperty("environmentId", ctx_r0.environmentId)("currentUser", ctx_r0.currentUser);
52
+ } }
53
+ function ConversationWorkspaceComponent_div_8_Template(rf, ctx) { if (rf & 1) {
54
+ const _r4 = i0.ɵɵgetCurrentView();
55
+ i0.ɵɵelementStart(0, "div", 15)(1, "mj-artifact-panel", 16);
56
+ i0.ɵɵlistener("close", function ConversationWorkspaceComponent_div_8_Template_mj_artifact_panel_close_1_listener() { i0.ɵɵrestoreView(_r4); const ctx_r0 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r0.closeArtifactPanel()); });
57
+ i0.ɵɵelementEnd()();
58
+ } if (rf & 2) {
59
+ const ctx_r0 = i0.ɵɵnextContext();
60
+ i0.ɵɵadvance();
61
+ i0.ɵɵproperty("currentUser", ctx_r0.currentUser);
62
+ } }
63
+ /**
64
+ * Top-level workspace component for conversations
65
+ * Provides 3-column Slack-style layout: Navigation | Sidebar | Chat Area | Artifact Panel
66
+ * Supports context-based navigation (library or task views)
67
+ */
68
+ export class ConversationWorkspaceComponent extends BaseAngularComponent {
69
+ conversationState;
70
+ artifactState;
71
+ environmentId;
72
+ initialConversationId;
73
+ layout = 'full';
74
+ currentUser;
75
+ activeContext;
76
+ contextItemId;
77
+ conversationChanged = new EventEmitter();
78
+ artifactOpened = new EventEmitter();
79
+ openEntityRecord = new EventEmitter();
80
+ activeTab = 'conversations';
81
+ isSidebarVisible = true;
82
+ isArtifactPanelOpen = false;
83
+ isSearchPanelOpen = false;
84
+ renamedConversationId = null;
85
+ // Resize state
86
+ sidebarWidth = 260; // Default width
87
+ isSidebarResizing = false;
88
+ sidebarResizeStartX = 0;
89
+ sidebarResizeStartWidth = 0;
90
+ previousConversationId = null;
91
+ destroy$ = new Subject();
92
+ // LocalStorage keys
93
+ SIDEBAR_WIDTH_KEY = 'mj-conversations-sidebar-width';
94
+ constructor(conversationState, artifactState) {
95
+ super();
96
+ this.conversationState = conversationState;
97
+ this.artifactState = artifactState;
98
+ }
99
+ async ngOnInit() {
100
+ // Load saved sidebar width from localStorage
101
+ this.loadSidebarWidth();
102
+ // Setup resize listeners
103
+ window.addEventListener('mousemove', this.onSidebarResizeMove.bind(this));
104
+ window.addEventListener('mouseup', this.onSidebarResizeEnd.bind(this));
105
+ // Initialize AI Engine to load agent metadata cache
106
+ // This ensures agent names and icons are available for display
107
+ try {
108
+ await AIEngineBase.Instance.Config(false);
109
+ console.log('✅ AI Engine initialized with', AIEngineBase.Instance.Agents?.length || 0, 'agents');
110
+ }
111
+ catch (error) {
112
+ console.error('❌ Failed to initialize AI Engine:', error);
113
+ }
114
+ // Subscribe to artifact panel state
115
+ this.artifactState.isPanelOpen$
116
+ .pipe(takeUntil(this.destroy$))
117
+ .subscribe(isOpen => {
118
+ this.isArtifactPanelOpen = isOpen;
119
+ });
120
+ // Set initial conversation if provided
121
+ if (this.initialConversationId) {
122
+ this.conversationState.setActiveConversation(this.initialConversationId);
123
+ }
124
+ // Handle context-based navigation
125
+ if (this.activeContext === 'library') {
126
+ this.activeTab = 'collections';
127
+ }
128
+ // Task context will be handled by chat header dropdown, not navigation tabs
129
+ }
130
+ ngDoCheck() {
131
+ // Detect conversation changes and emit event
132
+ const currentId = this.conversationState.activeConversationId;
133
+ if (currentId !== this.previousConversationId) {
134
+ this.previousConversationId = currentId;
135
+ const conversation = this.conversationState.activeConversation;
136
+ if (conversation) {
137
+ this.conversationChanged.emit(conversation);
138
+ }
139
+ }
140
+ }
141
+ ngOnDestroy() {
142
+ this.destroy$.next();
143
+ this.destroy$.complete();
144
+ // Remove resize listeners
145
+ window.removeEventListener('mousemove', this.onSidebarResizeMove.bind(this));
146
+ window.removeEventListener('mouseup', this.onSidebarResizeEnd.bind(this));
147
+ }
148
+ onTabChanged(tab) {
149
+ this.activeTab = tab;
150
+ }
151
+ toggleSidebar() {
152
+ this.isSidebarVisible = !this.isSidebarVisible;
153
+ }
154
+ closeArtifactPanel() {
155
+ this.artifactState.closeArtifact();
156
+ }
157
+ openSearch() {
158
+ this.isSearchPanelOpen = true;
159
+ }
160
+ closeSearch() {
161
+ this.isSearchPanelOpen = false;
162
+ }
163
+ handleSearchResult(result) {
164
+ // Navigate to the conversation
165
+ if (result.conversationId) {
166
+ this.conversationState.setActiveConversation(result.conversationId);
167
+ }
168
+ // If it's an artifact, open it in the artifact panel
169
+ if (result.type === 'artifact') {
170
+ this.artifactState.openArtifact(result.id);
171
+ }
172
+ // If it's a message, we could scroll to it in the future
173
+ // For now, just open the conversation
174
+ this.closeSearch();
175
+ }
176
+ /**
177
+ * Sidebar resize methods
178
+ */
179
+ onSidebarResizeStart(event) {
180
+ this.isSidebarResizing = true;
181
+ this.sidebarResizeStartX = event.clientX;
182
+ this.sidebarResizeStartWidth = this.sidebarWidth;
183
+ event.preventDefault();
184
+ document.body.style.cursor = 'col-resize';
185
+ document.body.style.userSelect = 'none';
186
+ }
187
+ onSidebarResizeMove(event) {
188
+ if (!this.isSidebarResizing)
189
+ return;
190
+ const deltaX = event.clientX - this.sidebarResizeStartX;
191
+ let newWidth = this.sidebarResizeStartWidth + deltaX;
192
+ // Constrain between 200px and 500px
193
+ newWidth = Math.max(200, Math.min(500, newWidth));
194
+ this.sidebarWidth = newWidth;
195
+ }
196
+ onSidebarResizeEnd(event) {
197
+ if (this.isSidebarResizing) {
198
+ this.isSidebarResizing = false;
199
+ document.body.style.cursor = '';
200
+ document.body.style.userSelect = '';
201
+ // Save to localStorage
202
+ this.saveSidebarWidth();
203
+ }
204
+ }
205
+ /**
206
+ * LocalStorage persistence methods
207
+ */
208
+ loadSidebarWidth() {
209
+ try {
210
+ const saved = localStorage.getItem(this.SIDEBAR_WIDTH_KEY);
211
+ if (saved) {
212
+ const width = parseInt(saved, 10);
213
+ if (!isNaN(width) && width >= 200 && width <= 500) {
214
+ this.sidebarWidth = width;
215
+ }
216
+ }
217
+ }
218
+ catch (error) {
219
+ console.warn('Failed to load sidebar width from localStorage:', error);
220
+ }
221
+ }
222
+ saveSidebarWidth() {
223
+ try {
224
+ localStorage.setItem(this.SIDEBAR_WIDTH_KEY, this.sidebarWidth.toString());
225
+ }
226
+ catch (error) {
227
+ console.warn('Failed to save sidebar width to localStorage:', error);
228
+ }
229
+ }
230
+ onConversationRenamed(event) {
231
+ console.log('✨ Workspace received rename event:', event);
232
+ // Trigger animation in sidebar by setting the ID
233
+ this.renamedConversationId = event.conversationId;
234
+ // Clear after animation completes (1500ms)
235
+ setTimeout(() => {
236
+ this.renamedConversationId = null;
237
+ }, 1500);
238
+ }
239
+ onOpenEntityRecord(event) {
240
+ // Pass the event up to the parent component (chat-wrapper in explorer-core)
241
+ this.openEntityRecord.emit(event);
242
+ }
243
+ static ɵfac = function ConversationWorkspaceComponent_Factory(t) { return new (t || ConversationWorkspaceComponent)(i0.ɵɵdirectiveInject(i1.ConversationStateService), i0.ɵɵdirectiveInject(i2.ArtifactStateService)); };
244
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ConversationWorkspaceComponent, selectors: [["mj-conversation-workspace"]], inputs: { environmentId: "environmentId", initialConversationId: "initialConversationId", layout: "layout", currentUser: "currentUser", activeContext: "activeContext", contextItemId: "contextItemId" }, outputs: { conversationChanged: "conversationChanged", artifactOpened: "artifactOpened", openEntityRecord: "openEntityRecord" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 11, vars: 11, consts: [["mjSearchShortcut", "", "kendoDialogContainer", "", 1, "conversation-workspace", 3, "searchTriggered"], [1, "workspace-navigation"], [3, "tabChanged", "sidebarToggled", "searchTriggered", "activeTab", "environmentId"], [1, "workspace-content"], ["class", "workspace-sidebar", 3, "width", 4, "ngIf"], ["class", "sidebar-resize-handle", 3, "mousedown", 4, "ngIf"], ["class", "workspace-main", 4, "ngIf"], ["class", "workspace-artifact-panel", 4, "ngIf"], [3, "close", "resultSelected", "isOpen", "environmentId", "currentUser"], [1, "workspace-sidebar"], [3, "activeTab", "environmentId", "currentUser", "renamedConversationId"], [1, "sidebar-resize-handle", 3, "mousedown"], [1, "workspace-main"], [3, "environmentId", "currentUser"], [3, "conversationRenamed", "openEntityRecord", "environmentId", "currentUser"], [1, "workspace-artifact-panel"], [3, "close", "currentUser"]], template: function ConversationWorkspaceComponent_Template(rf, ctx) { if (rf & 1) {
245
+ i0.ɵɵelementStart(0, "div", 0);
246
+ i0.ɵɵlistener("searchTriggered", function ConversationWorkspaceComponent_Template_div_searchTriggered_0_listener() { return ctx.openSearch(); });
247
+ i0.ɵɵelementStart(1, "div", 1)(2, "mj-conversation-navigation", 2);
248
+ i0.ɵɵlistener("tabChanged", function ConversationWorkspaceComponent_Template_mj_conversation_navigation_tabChanged_2_listener($event) { return ctx.onTabChanged($event); })("sidebarToggled", function ConversationWorkspaceComponent_Template_mj_conversation_navigation_sidebarToggled_2_listener() { return ctx.toggleSidebar(); })("searchTriggered", function ConversationWorkspaceComponent_Template_mj_conversation_navigation_searchTriggered_2_listener() { return ctx.openSearch(); });
249
+ i0.ɵɵelementEnd()();
250
+ i0.ɵɵelementStart(3, "div", 3);
251
+ i0.ɵɵtemplate(4, ConversationWorkspaceComponent_div_4_Template, 2, 6, "div", 4)(5, ConversationWorkspaceComponent_div_5_Template, 1, 0, "div", 5)(6, ConversationWorkspaceComponent_div_6_Template, 2, 2, "div", 6)(7, ConversationWorkspaceComponent_div_7_Template, 2, 2, "div", 6)(8, ConversationWorkspaceComponent_div_8_Template, 2, 1, "div", 7);
252
+ i0.ɵɵelementEnd();
253
+ i0.ɵɵelementStart(9, "mj-search-panel", 8);
254
+ i0.ɵɵlistener("close", function ConversationWorkspaceComponent_Template_mj_search_panel_close_9_listener() { return ctx.closeSearch(); })("resultSelected", function ConversationWorkspaceComponent_Template_mj_search_panel_resultSelected_9_listener($event) { return ctx.handleSearchResult($event); });
255
+ i0.ɵɵelementEnd();
256
+ i0.ɵɵelement(10, "mj-toast");
257
+ i0.ɵɵelementEnd();
258
+ } if (rf & 2) {
259
+ i0.ɵɵattribute("data-layout", ctx.layout);
260
+ i0.ɵɵadvance(2);
261
+ i0.ɵɵproperty("activeTab", ctx.activeTab)("environmentId", ctx.environmentId);
262
+ i0.ɵɵadvance(2);
263
+ i0.ɵɵproperty("ngIf", ctx.isSidebarVisible && ctx.activeTab !== "collections");
264
+ i0.ɵɵadvance();
265
+ i0.ɵɵproperty("ngIf", ctx.isSidebarVisible && ctx.activeTab !== "collections");
266
+ i0.ɵɵadvance();
267
+ i0.ɵɵproperty("ngIf", ctx.activeTab === "collections");
268
+ i0.ɵɵadvance();
269
+ i0.ɵɵproperty("ngIf", ctx.activeTab !== "collections");
270
+ i0.ɵɵadvance();
271
+ i0.ɵɵproperty("ngIf", ctx.isArtifactPanelOpen);
272
+ i0.ɵɵadvance();
273
+ i0.ɵɵproperty("isOpen", ctx.isSearchPanelOpen)("environmentId", ctx.environmentId)("currentUser", ctx.currentUser);
274
+ } }, dependencies: [i3.NgIf, i4.DialogContainerDirective, i5.ConversationNavigationComponent, i6.ConversationSidebarComponent, i7.ConversationChatAreaComponent, i8.ArtifactPanelComponent, i9.CollectionsFullViewComponent, i10.SearchPanelComponent, i11.ToastComponent, i12.SearchShortcutDirective], styles: [".conversation-workspace[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n height: calc(100vh - 123px); \n\n background-color: #F4F4F4;\n position: relative;\n}\n\n.workspace-navigation[_ngcontent-%COMP%] {\n flex-shrink: 0;\n height: 48px;\n background-color: #092340;\n border-bottom: 1px solid rgba(255, 255, 255, 0.1);\n}\n\n.workspace-content[_ngcontent-%COMP%] {\n flex: 1;\n display: flex;\n overflow: hidden;\n min-height: 0;\n}\n\n.workspace-sidebar[_ngcontent-%COMP%] {\n flex-shrink: 0;\n background-color: #092340;\n border-right: 1px solid #D9D9D9;\n overflow-y: auto;\n}\n\n.sidebar-resize-handle[_ngcontent-%COMP%] {\n width: 4px;\n background: transparent;\n cursor: col-resize;\n flex-shrink: 0;\n position: relative;\n transition: background-color 0.2s;\n}\n\n.sidebar-resize-handle[_ngcontent-%COMP%]:hover {\n background: #3B82F6;\n}\n\n.sidebar-resize-handle[_ngcontent-%COMP%]::before {\n content: '';\n position: absolute;\n left: -4px;\n right: -4px;\n top: 0;\n bottom: 0;\n}\n\n.workspace-main[_ngcontent-%COMP%] {\n flex: 1;\n display: flex;\n flex-direction: column;\n background-color: #FFF;\n overflow: hidden;\n min-height: 0;\n}\n\n.workspace-main[_ngcontent-%COMP%] > mj-conversation-chat-area[_ngcontent-%COMP%] {\n display: flex;\n flex: 1;\n min-height: 0;\n}\n\n.workspace-artifact-panel[_ngcontent-%COMP%] {\n flex-shrink: 0;\n width: 500px;\n background-color: #FFF;\n border-left: 1px solid #D9D9D9;\n overflow: hidden;\n}\n\n\n\n.conversation-workspace[data-layout=\"compact\"][_ngcontent-%COMP%] .workspace-sidebar[_ngcontent-%COMP%] {\n width: 240px;\n}\n\n.conversation-workspace[data-layout=\"compact\"][_ngcontent-%COMP%] .workspace-artifact-panel[_ngcontent-%COMP%] {\n width: 400px;\n}\n\n\n\n.conversation-workspace[data-layout=\"embedded\"][_ngcontent-%COMP%] {\n height: 100%;\n}\n\n.conversation-workspace[data-layout=\"embedded\"][_ngcontent-%COMP%] .workspace-navigation[_ngcontent-%COMP%] {\n height: 48px;\n}\n\n\n\n@media (max-width: 1024px) {\n .workspace-sidebar[_ngcontent-%COMP%] {\n position: absolute;\n left: 0;\n top: 60px;\n bottom: 0;\n z-index: 100;\n box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);\n }\n\n .workspace-artifact-panel[_ngcontent-%COMP%] {\n position: fixed;\n right: 0;\n top: 60px;\n bottom: 0;\n z-index: 100;\n box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);\n }\n}"] });
275
+ }
276
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ConversationWorkspaceComponent, [{
277
+ type: Component,
278
+ args: [{ selector: 'mj-conversation-workspace', template: "<div class=\"conversation-workspace\" [attr.data-layout]=\"layout\" mjSearchShortcut (searchTriggered)=\"openSearch()\" kendoDialogContainer>\n <!-- Top Navigation Bar -->\n <div class=\"workspace-navigation\">\n <mj-conversation-navigation\n [activeTab]=\"activeTab\"\n [environmentId]=\"environmentId\"\n (tabChanged)=\"onTabChanged($event)\"\n (sidebarToggled)=\"toggleSidebar()\"\n (searchTriggered)=\"openSearch()\">\n </mj-conversation-navigation>\n </div>\n\n <div class=\"workspace-content\">\n <!-- Left Sidebar (hidden when Collections view is active) -->\n <div class=\"workspace-sidebar\" *ngIf=\"isSidebarVisible && activeTab !== 'collections'\" [style.width.px]=\"sidebarWidth\">\n <mj-conversation-sidebar\n [activeTab]=\"activeTab\"\n [environmentId]=\"environmentId\"\n [currentUser]=\"currentUser\"\n [renamedConversationId]=\"renamedConversationId\">\n </mj-conversation-sidebar>\n </div>\n\n <!-- Resize handle for sidebar -->\n <div class=\"sidebar-resize-handle\" *ngIf=\"isSidebarVisible && activeTab !== 'collections'\" (mousedown)=\"onSidebarResizeStart($event)\"></div>\n\n <!-- Collections Full-Panel View -->\n <div class=\"workspace-main\" *ngIf=\"activeTab === 'collections'\">\n <mj-collections-full-view\n [environmentId]=\"environmentId\"\n [currentUser]=\"currentUser\">\n </mj-collections-full-view>\n </div>\n\n <!-- Main Chat Area (only shown when not in Collections view) -->\n <div class=\"workspace-main\" *ngIf=\"activeTab !== 'collections'\">\n <mj-conversation-chat-area\n [environmentId]=\"environmentId\"\n [currentUser]=\"currentUser\"\n (conversationRenamed)=\"onConversationRenamed($event)\"\n (openEntityRecord)=\"onOpenEntityRecord($event)\">\n </mj-conversation-chat-area>\n </div>\n\n <!-- Right Artifact Panel -->\n <div class=\"workspace-artifact-panel\" *ngIf=\"isArtifactPanelOpen\">\n <mj-artifact-panel\n [currentUser]=\"currentUser\"\n (close)=\"closeArtifactPanel()\">\n </mj-artifact-panel>\n </div>\n </div>\n\n <!-- Global Search Panel -->\n <mj-search-panel\n [isOpen]=\"isSearchPanelOpen\"\n [environmentId]=\"environmentId\"\n [currentUser]=\"currentUser\"\n (close)=\"closeSearch()\"\n (resultSelected)=\"handleSearchResult($event)\">\n </mj-search-panel>\n\n <!-- Toast Notifications -->\n <mj-toast></mj-toast>\n</div>", styles: [".conversation-workspace {\n display: flex;\n flex-direction: column;\n height: calc(100vh - 123px); /* Account for parent app header (~60px) */\n background-color: #F4F4F4;\n position: relative;\n}\n\n.workspace-navigation {\n flex-shrink: 0;\n height: 48px;\n background-color: #092340;\n border-bottom: 1px solid rgba(255, 255, 255, 0.1);\n}\n\n.workspace-content {\n flex: 1;\n display: flex;\n overflow: hidden;\n min-height: 0;\n}\n\n.workspace-sidebar {\n flex-shrink: 0;\n background-color: #092340;\n border-right: 1px solid #D9D9D9;\n overflow-y: auto;\n}\n\n.sidebar-resize-handle {\n width: 4px;\n background: transparent;\n cursor: col-resize;\n flex-shrink: 0;\n position: relative;\n transition: background-color 0.2s;\n}\n\n.sidebar-resize-handle:hover {\n background: #3B82F6;\n}\n\n.sidebar-resize-handle::before {\n content: '';\n position: absolute;\n left: -4px;\n right: -4px;\n top: 0;\n bottom: 0;\n}\n\n.workspace-main {\n flex: 1;\n display: flex;\n flex-direction: column;\n background-color: #FFF;\n overflow: hidden;\n min-height: 0;\n}\n\n.workspace-main > mj-conversation-chat-area {\n display: flex;\n flex: 1;\n min-height: 0;\n}\n\n.workspace-artifact-panel {\n flex-shrink: 0;\n width: 500px;\n background-color: #FFF;\n border-left: 1px solid #D9D9D9;\n overflow: hidden;\n}\n\n/* Compact layout */\n.conversation-workspace[data-layout=\"compact\"] .workspace-sidebar {\n width: 240px;\n}\n\n.conversation-workspace[data-layout=\"compact\"] .workspace-artifact-panel {\n width: 400px;\n}\n\n/* Embedded layout */\n.conversation-workspace[data-layout=\"embedded\"] {\n height: 100%;\n}\n\n.conversation-workspace[data-layout=\"embedded\"] .workspace-navigation {\n height: 48px;\n}\n\n/* Responsive */\n@media (max-width: 1024px) {\n .workspace-sidebar {\n position: absolute;\n left: 0;\n top: 60px;\n bottom: 0;\n z-index: 100;\n box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);\n }\n\n .workspace-artifact-panel {\n position: fixed;\n right: 0;\n top: 60px;\n bottom: 0;\n z-index: 100;\n box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);\n }\n}"] }]
279
+ }], () => [{ type: i1.ConversationStateService }, { type: i2.ArtifactStateService }], { environmentId: [{
280
+ type: Input
281
+ }], initialConversationId: [{
282
+ type: Input
283
+ }], layout: [{
284
+ type: Input
285
+ }], currentUser: [{
286
+ type: Input
287
+ }], activeContext: [{
288
+ type: Input
289
+ }], contextItemId: [{
290
+ type: Input
291
+ }], conversationChanged: [{
292
+ type: Output
293
+ }], artifactOpened: [{
294
+ type: Output
295
+ }], openEntityRecord: [{
296
+ type: Output
297
+ }] }); })();
298
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ConversationWorkspaceComponent, { className: "ConversationWorkspaceComponent", filePath: "src/lib/components/workspace/conversation-workspace.component.ts", lineNumber: 30 }); })();
299
+ //# sourceMappingURL=conversation-workspace.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"conversation-workspace.component.js","sourceRoot":"","sources":["../../../../src/lib/components/workspace/conversation-workspace.component.ts","../../../../src/lib/components/workspace/conversation-workspace.component.html"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,KAAK,EACL,MAAM,EACN,YAAY,EAIb,MAAM,eAAe,CAAC;AAGvB,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAKrE,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,MAAM,CAAC;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;;;;;;;;;;;;;;;ICH1D,8BAAuH;IACrH,8CAK0B;IAC5B,iBAAM;;;IAPiF,kDAA+B;IAElH,cAAuB;IAGvB,AADA,AADA,AADA,4CAAuB,uCACQ,mCACJ,uDACoB;;;;IAKnD,+BAAsI;IAA3C,qMAAa,mCAA4B,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qB,GAAG,IAAI,CAAC;QACpC,CAAC,EAAE,IAAI,CAAC,CAAC;IACX,CAAC;IAED,kBAAkB,CAAC,KAAuD;QACxE,4EAA4E;QAC5E,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IACpC,CAAC;wFA5MU,8BAA8B;6DAA9B,8BAA8B;YC7B3C,8BAAuI;YAAtD,4HAAmB,gBAAY,IAAC;YAG7G,AADF,8BAAkC,oCAMG;YAAjC,AADA,AADA,+IAAc,wBAAoB,IAAC,oIACjB,mBAAe,IAAC,sIACf,gBAAY,IAAC;YAEpC,AADE,iBAA6B,EACzB;YAEN,8BAA+B;YAiC7B,AAVA,AARA,AAHA,AAVA,+EAAuH,kEAUe,kEAGtE,kEAQA,kEAUE;YAMpE,iBAAM;YAGN,0CAKgD;YAA9C,AADA,oHAAS,iBAAa,IAAC,+HACL,8BAA0B,IAAC;YAC/C,iBAAkB;YAGlB,4BAAqB;YACvB,iBAAM;;;YA5DA,eAAuB;YACvB,AADA,yCAAuB,oCACQ;YASD,eAAqD;YAArD,8EAAqD;YAUjD,cAAqD;YAArD,8EAAqD;YAG5D,cAAiC;YAAjC,sDAAiC;YAQjC,cAAiC;YAAjC,sDAAiC;YAUvB,cAAyB;YAAzB,8CAAyB;YAUhE,cAA4B;YAE5B,AADA,AADA,8CAA4B,oCACG,gCACJ;;;iFD5BlB,8BAA8B;cAL1C,SAAS;2BACE,2BAA2B;4FAK5B,aAAa;kBAArB,KAAK;YACG,qBAAqB;kBAA7B,KAAK;YACG,MAAM;kBAAd,KAAK;YACG,WAAW;kBAAnB,KAAK;YACG,aAAa;kBAArB,KAAK;YACG,aAAa;kBAArB,KAAK;YAEI,mBAAmB;kBAA5B,MAAM;YACG,cAAc;kBAAvB,MAAM;YACG,gBAAgB;kBAAzB,MAAM;;kFAVI,8BAA8B"}
@@ -0,0 +1,62 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./components/message/message-item.component";
3
+ import * as i2 from "./components/message/message-list.component";
4
+ import * as i3 from "./components/message/message-input.component";
5
+ import * as i4 from "./components/mention/mention-dropdown.component";
6
+ import * as i5 from "./components/workspace/conversation-workspace.component";
7
+ import * as i6 from "./components/navigation/conversation-navigation.component";
8
+ import * as i7 from "./components/sidebar/conversation-sidebar.component";
9
+ import * as i8 from "./components/conversation/conversation-list.component";
10
+ import * as i9 from "./components/conversation/conversation-chat-area.component";
11
+ import * as i10 from "./components/thread/thread-panel.component";
12
+ import * as i11 from "./components/artifact/artifact-panel.component";
13
+ import * as i12 from "./components/artifact/artifact-viewer.component";
14
+ import * as i13 from "./components/artifact/artifact-version-history.component";
15
+ import * as i14 from "./components/artifact/artifact-upload-modal.component";
16
+ import * as i15 from "./components/artifact/inline-artifact.component";
17
+ import * as i16 from "./components/artifact/artifact-viewer-panel.component";
18
+ import * as i17 from "./components/collection/collection-tree.component";
19
+ import * as i18 from "./components/collection/collection-view.component";
20
+ import * as i19 from "./components/collection/collection-artifact-card.component";
21
+ import * as i20 from "./components/library/library-full-view.component";
22
+ import * as i21 from "./components/collection/collection-form-modal.component";
23
+ import * as i22 from "./components/collection/collections-full-view.component";
24
+ import * as i23 from "./components/project/project-selector.component";
25
+ import * as i24 from "./components/project/project-form-modal.component";
26
+ import * as i25 from "./components/task/task-list.component";
27
+ import * as i26 from "./components/task/task-item.component";
28
+ import * as i27 from "./components/task/task-form-modal.component";
29
+ import * as i28 from "./components/tasks/tasks-dropdown.component";
30
+ import * as i29 from "./components/agent/agent-process-panel.component";
31
+ import * as i30 from "./components/agent/active-agent-indicator.component";
32
+ import * as i31 from "./components/active-tasks/active-tasks-panel.component";
33
+ import * as i32 from "./components/share/share-modal.component";
34
+ import * as i33 from "./components/members/members-modal.component";
35
+ import * as i34 from "./components/export/export-modal.component";
36
+ import * as i35 from "./components/search/search-panel.component";
37
+ import * as i36 from "./components/notification/notification-badge.component";
38
+ import * as i37 from "./components/notification/activity-indicator.component";
39
+ import * as i38 from "./components/toast/toast.component";
40
+ import * as i39 from "./components/dialogs/input-dialog.component";
41
+ import * as i40 from "./directives/search-shortcut.directive";
42
+ import * as i41 from "@angular/common";
43
+ import * as i42 from "@angular/forms";
44
+ import * as i43 from "@angular/router";
45
+ import * as i44 from "@progress/kendo-angular-dialog";
46
+ import * as i45 from "@progress/kendo-angular-buttons";
47
+ import * as i46 from "@progress/kendo-angular-inputs";
48
+ import * as i47 from "@progress/kendo-angular-layout";
49
+ import * as i48 from "@progress/kendo-angular-indicators";
50
+ import * as i49 from "@progress/kendo-angular-dropdowns";
51
+ import * as i50 from "@progress/kendo-angular-notification";
52
+ import * as i51 from "@progress/kendo-angular-upload";
53
+ import * as i52 from "@progress/kendo-angular-dateinputs";
54
+ import * as i53 from "@memberjunction/ng-container-directives";
55
+ import * as i54 from "@memberjunction/ng-code-editor";
56
+ import * as i55 from "ngx-markdown";
57
+ export declare class ConversationsModule {
58
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConversationsModule, never>;
59
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ConversationsModule, [typeof i1.MessageItemComponent, typeof i2.MessageListComponent, typeof i3.MessageInputComponent, typeof i4.MentionDropdownComponent, typeof i5.ConversationWorkspaceComponent, typeof i6.ConversationNavigationComponent, typeof i7.ConversationSidebarComponent, typeof i8.ConversationListComponent, typeof i9.ConversationChatAreaComponent, typeof i10.ThreadPanelComponent, typeof i11.ArtifactPanelComponent, typeof i12.ArtifactViewerComponent, typeof i13.ArtifactVersionHistoryComponent, typeof i14.ArtifactUploadModalComponent, typeof i15.InlineArtifactComponent, typeof i16.ArtifactViewerPanelComponent, typeof i17.CollectionTreeComponent, typeof i18.CollectionViewComponent, typeof i19.CollectionArtifactCardComponent, typeof i20.LibraryFullViewComponent, typeof i21.CollectionFormModalComponent, typeof i22.CollectionsFullViewComponent, typeof i23.ProjectSelectorComponent, typeof i24.ProjectFormModalComponent, typeof i25.TaskListComponent, typeof i26.TaskItemComponent, typeof i27.TaskFormModalComponent, typeof i28.TasksDropdownComponent, typeof i29.AgentProcessPanelComponent, typeof i30.ActiveAgentIndicatorComponent, typeof i31.ActiveTasksPanelComponent, typeof i32.ShareModalComponent, typeof i33.MembersModalComponent, typeof i34.ExportModalComponent, typeof i35.SearchPanelComponent, typeof i36.NotificationBadgeComponent, typeof i37.ActivityIndicatorComponent, typeof i38.ToastComponent, typeof i39.InputDialogComponent, typeof i40.SearchShortcutDirective], [typeof i41.CommonModule, typeof i42.FormsModule, typeof i42.ReactiveFormsModule, typeof i43.RouterModule, typeof i44.DialogModule, typeof i45.ButtonsModule, typeof i46.InputsModule, typeof i47.LayoutModule, typeof i48.IndicatorsModule, typeof i49.DropDownsModule, typeof i50.NotificationModule, typeof i51.UploadsModule, typeof i52.DateInputsModule, typeof i53.ContainerDirectivesModule, typeof i54.CodeEditorModule, typeof i55.MarkdownModule], [typeof i1.MessageItemComponent, typeof i2.MessageListComponent, typeof i3.MessageInputComponent, typeof i4.MentionDropdownComponent, typeof i5.ConversationWorkspaceComponent, typeof i6.ConversationNavigationComponent, typeof i7.ConversationSidebarComponent, typeof i8.ConversationListComponent, typeof i9.ConversationChatAreaComponent, typeof i10.ThreadPanelComponent, typeof i11.ArtifactPanelComponent, typeof i12.ArtifactViewerComponent, typeof i13.ArtifactVersionHistoryComponent, typeof i14.ArtifactUploadModalComponent, typeof i15.InlineArtifactComponent, typeof i16.ArtifactViewerPanelComponent, typeof i17.CollectionTreeComponent, typeof i18.CollectionViewComponent, typeof i19.CollectionArtifactCardComponent, typeof i20.LibraryFullViewComponent, typeof i21.CollectionFormModalComponent, typeof i22.CollectionsFullViewComponent, typeof i23.ProjectSelectorComponent, typeof i24.ProjectFormModalComponent, typeof i25.TaskListComponent, typeof i26.TaskItemComponent, typeof i27.TaskFormModalComponent, typeof i28.TasksDropdownComponent, typeof i29.AgentProcessPanelComponent, typeof i30.ActiveAgentIndicatorComponent, typeof i31.ActiveTasksPanelComponent, typeof i32.ShareModalComponent, typeof i33.MembersModalComponent, typeof i34.ExportModalComponent, typeof i35.SearchPanelComponent, typeof i36.NotificationBadgeComponent, typeof i37.ActivityIndicatorComponent, typeof i38.ToastComponent, typeof i39.InputDialogComponent, typeof i40.SearchShortcutDirective]>;
60
+ static ɵinj: i0.ɵɵInjectorDeclaration<ConversationsModule>;
61
+ }
62
+ //# sourceMappingURL=conversations.module.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"conversations.module.d.ts","sourceRoot":"","sources":["../../src/lib/conversations.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8GA,qBA4Ba,mBAAmB;yCAAnB,mBAAmB;0CAAnB,mBAAmB;0CAAnB,mBAAmB;CAAI"}
@@ -0,0 +1,248 @@
1
+ import { NgModule } from '@angular/core';
2
+ import { CommonModule } from '@angular/common';
3
+ import { FormsModule, ReactiveFormsModule } from '@angular/forms';
4
+ import { RouterModule } from '@angular/router';
5
+ // Kendo UI modules
6
+ import { DialogModule } from '@progress/kendo-angular-dialog';
7
+ import { ButtonsModule } from '@progress/kendo-angular-buttons';
8
+ import { InputsModule } from '@progress/kendo-angular-inputs';
9
+ import { LayoutModule } from '@progress/kendo-angular-layout';
10
+ import { IndicatorsModule } from '@progress/kendo-angular-indicators';
11
+ import { DropDownsModule } from '@progress/kendo-angular-dropdowns';
12
+ import { NotificationModule } from '@progress/kendo-angular-notification';
13
+ import { UploadsModule } from '@progress/kendo-angular-upload';
14
+ import { DateInputsModule } from '@progress/kendo-angular-dateinputs';
15
+ // MemberJunction modules
16
+ import { ContainerDirectivesModule } from '@memberjunction/ng-container-directives';
17
+ import { CodeEditorModule } from '@memberjunction/ng-code-editor';
18
+ // Markdown module
19
+ import { MarkdownModule } from 'ngx-markdown';
20
+ // Components
21
+ import { MessageItemComponent } from './components/message/message-item.component';
22
+ import { MessageListComponent } from './components/message/message-list.component';
23
+ import { MessageInputComponent } from './components/message/message-input.component';
24
+ import { MentionDropdownComponent } from './components/mention/mention-dropdown.component';
25
+ import { ConversationWorkspaceComponent } from './components/workspace/conversation-workspace.component';
26
+ import { ConversationNavigationComponent } from './components/navigation/conversation-navigation.component';
27
+ import { ConversationSidebarComponent } from './components/sidebar/conversation-sidebar.component';
28
+ import { ConversationListComponent } from './components/conversation/conversation-list.component';
29
+ import { ConversationChatAreaComponent } from './components/conversation/conversation-chat-area.component';
30
+ import { ThreadPanelComponent } from './components/thread/thread-panel.component';
31
+ import { ArtifactPanelComponent } from './components/artifact/artifact-panel.component';
32
+ import { ArtifactViewerComponent } from './components/artifact/artifact-viewer.component';
33
+ import { ArtifactVersionHistoryComponent } from './components/artifact/artifact-version-history.component';
34
+ import { ArtifactUploadModalComponent } from './components/artifact/artifact-upload-modal.component';
35
+ import { InlineArtifactComponent } from './components/artifact/inline-artifact.component';
36
+ import { ArtifactViewerPanelComponent } from './components/artifact/artifact-viewer-panel.component';
37
+ import { CollectionTreeComponent } from './components/collection/collection-tree.component';
38
+ import { CollectionViewComponent } from './components/collection/collection-view.component';
39
+ import { CollectionArtifactCardComponent } from './components/collection/collection-artifact-card.component';
40
+ import { LibraryFullViewComponent } from './components/library/library-full-view.component';
41
+ import { CollectionFormModalComponent } from './components/collection/collection-form-modal.component';
42
+ import { CollectionsFullViewComponent } from './components/collection/collections-full-view.component';
43
+ import { ProjectSelectorComponent } from './components/project/project-selector.component';
44
+ import { ProjectFormModalComponent } from './components/project/project-form-modal.component';
45
+ import { TaskListComponent } from './components/task/task-list.component';
46
+ import { TaskItemComponent } from './components/task/task-item.component';
47
+ import { TaskFormModalComponent } from './components/task/task-form-modal.component';
48
+ import { TasksDropdownComponent } from './components/tasks/tasks-dropdown.component';
49
+ import { AgentProcessPanelComponent } from './components/agent/agent-process-panel.component';
50
+ import { ActiveAgentIndicatorComponent } from './components/agent/active-agent-indicator.component';
51
+ import { ActiveTasksPanelComponent } from './components/active-tasks/active-tasks-panel.component';
52
+ import { ShareModalComponent } from './components/share/share-modal.component';
53
+ import { MembersModalComponent } from './components/members/members-modal.component';
54
+ import { ExportModalComponent } from './components/export/export-modal.component';
55
+ import { SearchPanelComponent } from './components/search/search-panel.component';
56
+ import { NotificationBadgeComponent } from './components/notification/notification-badge.component';
57
+ import { ActivityIndicatorComponent } from './components/notification/activity-indicator.component';
58
+ import { ToastComponent } from './components/toast/toast.component';
59
+ import { InputDialogComponent } from './components/dialogs/input-dialog.component';
60
+ // Directives
61
+ import { SearchShortcutDirective } from './directives/search-shortcut.directive';
62
+ import * as i0 from "@angular/core";
63
+ import * as i1 from "ngx-markdown";
64
+ // Export all components
65
+ const COMPONENTS = [
66
+ MessageItemComponent,
67
+ MessageListComponent,
68
+ MessageInputComponent,
69
+ MentionDropdownComponent,
70
+ ConversationWorkspaceComponent,
71
+ ConversationNavigationComponent,
72
+ ConversationSidebarComponent,
73
+ ConversationListComponent,
74
+ ConversationChatAreaComponent,
75
+ ThreadPanelComponent,
76
+ ArtifactPanelComponent,
77
+ ArtifactViewerComponent,
78
+ ArtifactVersionHistoryComponent,
79
+ ArtifactUploadModalComponent,
80
+ InlineArtifactComponent,
81
+ ArtifactViewerPanelComponent,
82
+ CollectionTreeComponent,
83
+ CollectionViewComponent,
84
+ CollectionArtifactCardComponent,
85
+ LibraryFullViewComponent,
86
+ CollectionFormModalComponent,
87
+ CollectionsFullViewComponent,
88
+ ProjectSelectorComponent,
89
+ ProjectFormModalComponent,
90
+ TaskListComponent,
91
+ TaskItemComponent,
92
+ TaskFormModalComponent,
93
+ TasksDropdownComponent,
94
+ AgentProcessPanelComponent,
95
+ ActiveAgentIndicatorComponent,
96
+ ActiveTasksPanelComponent,
97
+ ShareModalComponent,
98
+ MembersModalComponent,
99
+ ExportModalComponent,
100
+ SearchPanelComponent,
101
+ NotificationBadgeComponent,
102
+ ActivityIndicatorComponent,
103
+ ToastComponent,
104
+ InputDialogComponent
105
+ ];
106
+ export class ConversationsModule {
107
+ static ɵfac = function ConversationsModule_Factory(t) { return new (t || ConversationsModule)(); };
108
+ static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: ConversationsModule });
109
+ static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
110
+ FormsModule,
111
+ ReactiveFormsModule,
112
+ RouterModule,
113
+ DialogModule,
114
+ ButtonsModule,
115
+ InputsModule,
116
+ LayoutModule,
117
+ IndicatorsModule,
118
+ DropDownsModule,
119
+ NotificationModule,
120
+ UploadsModule,
121
+ DateInputsModule,
122
+ ContainerDirectivesModule,
123
+ CodeEditorModule,
124
+ MarkdownModule.forRoot()] });
125
+ }
126
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ConversationsModule, [{
127
+ type: NgModule,
128
+ args: [{
129
+ declarations: [
130
+ ...COMPONENTS,
131
+ SearchShortcutDirective
132
+ ],
133
+ imports: [
134
+ CommonModule,
135
+ FormsModule,
136
+ ReactiveFormsModule,
137
+ RouterModule,
138
+ DialogModule,
139
+ ButtonsModule,
140
+ InputsModule,
141
+ LayoutModule,
142
+ IndicatorsModule,
143
+ DropDownsModule,
144
+ NotificationModule,
145
+ UploadsModule,
146
+ DateInputsModule,
147
+ ContainerDirectivesModule,
148
+ CodeEditorModule,
149
+ MarkdownModule.forRoot()
150
+ ],
151
+ exports: [
152
+ ...COMPONENTS,
153
+ SearchShortcutDirective
154
+ ]
155
+ }]
156
+ }], null, null); })();
157
+ (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(ConversationsModule, { declarations: [MessageItemComponent,
158
+ MessageListComponent,
159
+ MessageInputComponent,
160
+ MentionDropdownComponent,
161
+ ConversationWorkspaceComponent,
162
+ ConversationNavigationComponent,
163
+ ConversationSidebarComponent,
164
+ ConversationListComponent,
165
+ ConversationChatAreaComponent,
166
+ ThreadPanelComponent,
167
+ ArtifactPanelComponent,
168
+ ArtifactViewerComponent,
169
+ ArtifactVersionHistoryComponent,
170
+ ArtifactUploadModalComponent,
171
+ InlineArtifactComponent,
172
+ ArtifactViewerPanelComponent,
173
+ CollectionTreeComponent,
174
+ CollectionViewComponent,
175
+ CollectionArtifactCardComponent,
176
+ LibraryFullViewComponent,
177
+ CollectionFormModalComponent,
178
+ CollectionsFullViewComponent,
179
+ ProjectSelectorComponent,
180
+ ProjectFormModalComponent,
181
+ TaskListComponent,
182
+ TaskItemComponent,
183
+ TaskFormModalComponent,
184
+ TasksDropdownComponent,
185
+ AgentProcessPanelComponent,
186
+ ActiveAgentIndicatorComponent,
187
+ ActiveTasksPanelComponent,
188
+ ShareModalComponent,
189
+ MembersModalComponent,
190
+ ExportModalComponent,
191
+ SearchPanelComponent,
192
+ NotificationBadgeComponent,
193
+ ActivityIndicatorComponent,
194
+ ToastComponent,
195
+ InputDialogComponent, SearchShortcutDirective], imports: [CommonModule,
196
+ FormsModule,
197
+ ReactiveFormsModule,
198
+ RouterModule,
199
+ DialogModule,
200
+ ButtonsModule,
201
+ InputsModule,
202
+ LayoutModule,
203
+ IndicatorsModule,
204
+ DropDownsModule,
205
+ NotificationModule,
206
+ UploadsModule,
207
+ DateInputsModule,
208
+ ContainerDirectivesModule,
209
+ CodeEditorModule, i1.MarkdownModule], exports: [MessageItemComponent,
210
+ MessageListComponent,
211
+ MessageInputComponent,
212
+ MentionDropdownComponent,
213
+ ConversationWorkspaceComponent,
214
+ ConversationNavigationComponent,
215
+ ConversationSidebarComponent,
216
+ ConversationListComponent,
217
+ ConversationChatAreaComponent,
218
+ ThreadPanelComponent,
219
+ ArtifactPanelComponent,
220
+ ArtifactViewerComponent,
221
+ ArtifactVersionHistoryComponent,
222
+ ArtifactUploadModalComponent,
223
+ InlineArtifactComponent,
224
+ ArtifactViewerPanelComponent,
225
+ CollectionTreeComponent,
226
+ CollectionViewComponent,
227
+ CollectionArtifactCardComponent,
228
+ LibraryFullViewComponent,
229
+ CollectionFormModalComponent,
230
+ CollectionsFullViewComponent,
231
+ ProjectSelectorComponent,
232
+ ProjectFormModalComponent,
233
+ TaskListComponent,
234
+ TaskItemComponent,
235
+ TaskFormModalComponent,
236
+ TasksDropdownComponent,
237
+ AgentProcessPanelComponent,
238
+ ActiveAgentIndicatorComponent,
239
+ ActiveTasksPanelComponent,
240
+ ShareModalComponent,
241
+ MembersModalComponent,
242
+ ExportModalComponent,
243
+ SearchPanelComponent,
244
+ NotificationBadgeComponent,
245
+ ActivityIndicatorComponent,
246
+ ToastComponent,
247
+ InputDialogComponent, SearchShortcutDirective] }); })();
248
+ //# sourceMappingURL=conversations.module.js.map