@memberjunction/ng-conversations 2.104.0 → 2.105.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 (106) hide show
  1. package/dist/lib/components/collection/collection-view.component.d.ts +5 -1
  2. package/dist/lib/components/collection/collection-view.component.d.ts.map +1 -1
  3. package/dist/lib/components/collection/collection-view.component.js +53 -11
  4. package/dist/lib/components/collection/collection-view.component.js.map +1 -1
  5. package/dist/lib/components/conversation/conversation-chat-area.component.d.ts +53 -13
  6. package/dist/lib/components/conversation/conversation-chat-area.component.d.ts.map +1 -1
  7. package/dist/lib/components/conversation/conversation-chat-area.component.js +455 -289
  8. package/dist/lib/components/conversation/conversation-chat-area.component.js.map +1 -1
  9. package/dist/lib/components/conversation/conversation-list.component.d.ts +9 -1
  10. package/dist/lib/components/conversation/conversation-list.component.d.ts.map +1 -1
  11. package/dist/lib/components/conversation/conversation-list.component.js +258 -71
  12. package/dist/lib/components/conversation/conversation-list.component.js.map +1 -1
  13. package/dist/lib/components/mention/mention-dropdown.component.d.ts +6 -0
  14. package/dist/lib/components/mention/mention-dropdown.component.d.ts.map +1 -1
  15. package/dist/lib/components/mention/mention-dropdown.component.js +35 -13
  16. package/dist/lib/components/mention/mention-dropdown.component.js.map +1 -1
  17. package/dist/lib/components/message/message-input.component.d.ts +49 -12
  18. package/dist/lib/components/message/message-input.component.d.ts.map +1 -1
  19. package/dist/lib/components/message/message-input.component.js +579 -221
  20. package/dist/lib/components/message/message-input.component.js.map +1 -1
  21. package/dist/lib/components/message/message-item.component.d.ts +16 -5
  22. package/dist/lib/components/message/message-item.component.d.ts.map +1 -1
  23. package/dist/lib/components/message/message-item.component.js +136 -64
  24. package/dist/lib/components/message/message-item.component.js.map +1 -1
  25. package/dist/lib/components/message/message-list.component.d.ts +11 -5
  26. package/dist/lib/components/message/message-list.component.d.ts.map +1 -1
  27. package/dist/lib/components/message/message-list.component.js +48 -9
  28. package/dist/lib/components/message/message-list.component.js.map +1 -1
  29. package/dist/lib/components/navigation/conversation-navigation.component.d.ts.map +1 -1
  30. package/dist/lib/components/navigation/conversation-navigation.component.js +24 -9
  31. package/dist/lib/components/navigation/conversation-navigation.component.js.map +1 -1
  32. package/dist/lib/components/task/tasks-full-view.component.d.ts +47 -0
  33. package/dist/lib/components/task/tasks-full-view.component.d.ts.map +1 -0
  34. package/dist/lib/components/task/tasks-full-view.component.js +368 -0
  35. package/dist/lib/components/task/tasks-full-view.component.js.map +1 -0
  36. package/dist/lib/components/tasks/task-widget.component.d.ts +29 -0
  37. package/dist/lib/components/tasks/task-widget.component.d.ts.map +1 -0
  38. package/dist/lib/components/tasks/task-widget.component.js +385 -0
  39. package/dist/lib/components/tasks/task-widget.component.js.map +1 -0
  40. package/dist/lib/components/tasks/tasks-dropdown.component.d.ts +22 -8
  41. package/dist/lib/components/tasks/tasks-dropdown.component.d.ts.map +1 -1
  42. package/dist/lib/components/tasks/tasks-dropdown.component.js +195 -99
  43. package/dist/lib/components/tasks/tasks-dropdown.component.js.map +1 -1
  44. package/dist/lib/components/thread/thread-panel.component.d.ts +3 -1
  45. package/dist/lib/components/thread/thread-panel.component.d.ts.map +1 -1
  46. package/dist/lib/components/thread/thread-panel.component.js +14 -14
  47. package/dist/lib/components/thread/thread-panel.component.js.map +1 -1
  48. package/dist/lib/components/workspace/conversation-workspace.component.d.ts +43 -4
  49. package/dist/lib/components/workspace/conversation-workspace.component.d.ts.map +1 -1
  50. package/dist/lib/components/workspace/conversation-workspace.component.js +288 -46
  51. package/dist/lib/components/workspace/conversation-workspace.component.js.map +1 -1
  52. package/dist/lib/conversations.module.d.ts +40 -46
  53. package/dist/lib/conversations.module.d.ts.map +1 -1
  54. package/dist/lib/conversations.module.js +28 -42
  55. package/dist/lib/conversations.module.js.map +1 -1
  56. package/dist/lib/models/conversation-state.model.d.ts +29 -1
  57. package/dist/lib/models/conversation-state.model.d.ts.map +1 -1
  58. package/dist/lib/services/conversation-agent.service.d.ts +6 -5
  59. package/dist/lib/services/conversation-agent.service.d.ts.map +1 -1
  60. package/dist/lib/services/conversation-agent.service.js +18 -19
  61. package/dist/lib/services/conversation-agent.service.js.map +1 -1
  62. package/dist/lib/services/data-cache.service.d.ts +96 -0
  63. package/dist/lib/services/data-cache.service.d.ts.map +1 -0
  64. package/dist/lib/services/data-cache.service.js +203 -0
  65. package/dist/lib/services/data-cache.service.js.map +1 -0
  66. package/dist/public-api.d.ts +3 -6
  67. package/dist/public-api.d.ts.map +1 -1
  68. package/dist/public-api.js +3 -6
  69. package/dist/public-api.js.map +1 -1
  70. package/package.json +12 -10
  71. package/dist/lib/components/artifact/artifact-panel.component.d.ts +0 -22
  72. package/dist/lib/components/artifact/artifact-panel.component.d.ts.map +0 -1
  73. package/dist/lib/components/artifact/artifact-panel.component.js +0 -237
  74. package/dist/lib/components/artifact/artifact-panel.component.js.map +0 -1
  75. package/dist/lib/components/artifact/artifact-upload-modal.component.d.ts +0 -39
  76. package/dist/lib/components/artifact/artifact-upload-modal.component.d.ts.map +0 -1
  77. package/dist/lib/components/artifact/artifact-upload-modal.component.js +0 -384
  78. package/dist/lib/components/artifact/artifact-upload-modal.component.js.map +0 -1
  79. package/dist/lib/components/artifact/artifact-version-history.component.d.ts +0 -28
  80. package/dist/lib/components/artifact/artifact-version-history.component.d.ts.map +0 -1
  81. package/dist/lib/components/artifact/artifact-version-history.component.js +0 -280
  82. package/dist/lib/components/artifact/artifact-version-history.component.js.map +0 -1
  83. package/dist/lib/components/artifact/artifact-viewer-panel.component.d.ts +0 -22
  84. package/dist/lib/components/artifact/artifact-viewer-panel.component.d.ts.map +0 -1
  85. package/dist/lib/components/artifact/artifact-viewer-panel.component.js +0 -182
  86. package/dist/lib/components/artifact/artifact-viewer-panel.component.js.map +0 -1
  87. package/dist/lib/components/artifact/artifact-viewer.component.d.ts +0 -27
  88. package/dist/lib/components/artifact/artifact-viewer.component.d.ts.map +0 -1
  89. package/dist/lib/components/artifact/artifact-viewer.component.js +0 -266
  90. package/dist/lib/components/artifact/artifact-viewer.component.js.map +0 -1
  91. package/dist/lib/components/artifact/inline-artifact.component.d.ts +0 -46
  92. package/dist/lib/components/artifact/inline-artifact.component.d.ts.map +0 -1
  93. package/dist/lib/components/artifact/inline-artifact.component.js +0 -447
  94. package/dist/lib/components/artifact/inline-artifact.component.js.map +0 -1
  95. package/dist/lib/components/task/task-form-modal.component.d.ts +0 -42
  96. package/dist/lib/components/task/task-form-modal.component.d.ts.map +0 -1
  97. package/dist/lib/components/task/task-form-modal.component.js +0 -329
  98. package/dist/lib/components/task/task-form-modal.component.js.map +0 -1
  99. package/dist/lib/components/task/task-item.component.d.ts +0 -22
  100. package/dist/lib/components/task/task-item.component.d.ts.map +0 -1
  101. package/dist/lib/components/task/task-item.component.js +0 -234
  102. package/dist/lib/components/task/task-item.component.js.map +0 -1
  103. package/dist/lib/components/task/task-list.component.d.ts +0 -32
  104. package/dist/lib/components/task/task-list.component.d.ts.map +0 -1
  105. package/dist/lib/components/task/task-list.component.js +0 -290
  106. package/dist/lib/components/task/task-list.component.js.map +0 -1
@@ -7,9 +7,12 @@ type SortBy = 'name' | 'date' | 'type';
7
7
  export declare class CollectionViewComponent implements OnInit, OnChanges {
8
8
  collection: CollectionEntity;
9
9
  currentUser: UserInfo;
10
+ environmentId: string;
10
11
  artifacts: ArtifactEntity[];
11
12
  viewMode: ViewMode;
12
13
  sortBy: SortBy;
14
+ selectedArtifactId: string | null;
15
+ showArtifactViewer: boolean;
13
16
  sortOptions: {
14
17
  label: string;
15
18
  value: string;
@@ -21,11 +24,12 @@ export declare class CollectionViewComponent implements OnInit, OnChanges {
21
24
  onSortChange(): void;
22
25
  onArtifactSelected(artifact: ArtifactEntity): void;
23
26
  onViewArtifact(artifact: ArtifactEntity): void;
27
+ onCloseArtifactViewer(): void;
24
28
  onEditArtifact(artifact: ArtifactEntity): void;
25
29
  onRemoveArtifact(artifact: ArtifactEntity): Promise<void>;
26
30
  onAddArtifact(): Promise<void>;
27
31
  static ɵfac: i0.ɵɵFactoryDeclaration<CollectionViewComponent, never>;
28
- static ɵcmp: i0.ɵɵComponentDeclaration<CollectionViewComponent, "mj-collection-view", never, { "collection": { "alias": "collection"; "required": false; }; "currentUser": { "alias": "currentUser"; "required": false; }; }, {}, never, never, false, never>;
32
+ static ɵcmp: i0.ɵɵComponentDeclaration<CollectionViewComponent, "mj-collection-view", never, { "collection": { "alias": "collection"; "required": false; }; "currentUser": { "alias": "currentUser"; "required": false; }; "environmentId": { "alias": "environmentId"; "required": false; }; }, {}, never, never, false, never>;
29
33
  }
30
34
  export {};
31
35
  //# sourceMappingURL=collection-view.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"collection-view.component.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/collection/collection-view.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,MAAM,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AACnF,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAA4B,MAAM,+BAA+B,CAAC;AAC3G,OAAO,EAAE,QAAQ,EAAqB,MAAM,sBAAsB,CAAC;;AAEnE,KAAK,QAAQ,GAAG,MAAM,GAAG,MAAM,CAAC;AAChC,KAAK,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;AAEvC,qBAwFa,uBAAwB,YAAW,MAAM,EAAE,SAAS;IACtD,UAAU,EAAG,gBAAgB,CAAC;IAC9B,WAAW,EAAG,QAAQ,CAAC;IAEzB,SAAS,EAAE,cAAc,EAAE,CAAM;IACjC,QAAQ,EAAE,QAAQ,CAAU;IAC5B,MAAM,EAAE,MAAM,CAAU;IAExB,WAAW;;;QAIhB;IAEF,QAAQ;IAIR,WAAW,CAAC,OAAO,EAAE,aAAa;YAMpB,aAAa;IAsB3B,OAAO,CAAC,UAAU;IAYlB,YAAY,IAAI,IAAI;IAIpB,kBAAkB,CAAC,QAAQ,EAAE,cAAc,GAAG,IAAI;IAKlD,cAAc,CAAC,QAAQ,EAAE,cAAc,GAAG,IAAI;IAK9C,cAAc,CAAC,QAAQ,EAAE,cAAc,GAAG,IAAI;IAKxC,gBAAgB,CAAC,QAAQ,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;IAuBzD,aAAa,IAAI,OAAO,CAAC,IAAI,CAAC;yCApGzB,uBAAuB;2CAAvB,uBAAuB;CAkInC"}
1
+ {"version":3,"file":"collection-view.component.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/collection/collection-view.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,MAAM,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AACnF,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAA4B,MAAM,+BAA+B,CAAC;AAC3G,OAAO,EAAE,QAAQ,EAAqB,MAAM,sBAAsB,CAAC;;AAGnE,KAAK,QAAQ,GAAG,MAAM,GAAG,MAAM,CAAC;AAChC,KAAK,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;AAEvC,qBAuGa,uBAAwB,YAAW,MAAM,EAAE,SAAS;IACtD,UAAU,EAAG,gBAAgB,CAAC;IAC9B,WAAW,EAAG,QAAQ,CAAC;IACvB,aAAa,EAAG,MAAM,CAAC;IAEzB,SAAS,EAAE,cAAc,EAAE,CAAM;IACjC,QAAQ,EAAE,QAAQ,CAAU;IAC5B,MAAM,EAAE,MAAM,CAAU;IACxB,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAQ;IACzC,kBAAkB,UAAS;IAE3B,WAAW;;;QAIhB;IAEF,QAAQ;IAIR,WAAW,CAAC,OAAO,EAAE,aAAa;YAMpB,aAAa;IAsB3B,OAAO,CAAC,UAAU;IAYlB,YAAY,IAAI,IAAI;IAIpB,kBAAkB,CAAC,QAAQ,EAAE,cAAc,GAAG,IAAI;IAKlD,cAAc,CAAC,QAAQ,EAAE,cAAc,GAAG,IAAI;IAM9C,qBAAqB,IAAI,IAAI;IAK7B,cAAc,CAAC,QAAQ,EAAE,cAAc,GAAG,IAAI;IAKxC,gBAAgB,CAAC,QAAQ,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;IA+BzD,aAAa,IAAI,OAAO,CAAC,IAAI,CAAC;yCArHzB,uBAAuB;2CAAvB,uBAAuB;CAmJnC"}
@@ -1,17 +1,19 @@
1
1
  import { Component, Input } from '@angular/core';
2
2
  import { RunView, Metadata } from '@memberjunction/core';
3
+ import { MJNotificationService } from '@memberjunction/ng-notifications';
3
4
  import * as i0 from "@angular/core";
4
5
  import * as i1 from "@angular/common";
5
6
  import * as i2 from "@progress/kendo-angular-dropdowns";
6
- import * as i3 from "./collection-artifact-card.component";
7
+ import * as i3 from "@memberjunction/ng-artifacts";
8
+ import * as i4 from "./collection-artifact-card.component";
7
9
  function CollectionViewComponent_div_15_Template(rf, ctx) { if (rf & 1) {
8
10
  const _r1 = i0.ɵɵgetCurrentView();
9
- i0.ɵɵelementStart(0, "div", 14);
10
- i0.ɵɵelement(1, "i", 15);
11
+ i0.ɵɵelementStart(0, "div", 15);
12
+ i0.ɵɵelement(1, "i", 16);
11
13
  i0.ɵɵelementStart(2, "p");
12
14
  i0.ɵɵtext(3, "This collection is empty");
13
15
  i0.ɵɵelementEnd();
14
- i0.ɵɵelementStart(4, "button", 16);
16
+ i0.ɵɵelementStart(4, "button", 17);
15
17
  i0.ɵɵlistener("click", function CollectionViewComponent_div_15_Template_button_click_4_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onAddArtifact()); });
16
18
  i0.ɵɵelement(5, "i", 10);
17
19
  i0.ɵɵtext(6, " Add Artifact ");
@@ -19,19 +21,36 @@ function CollectionViewComponent_div_15_Template(rf, ctx) { if (rf & 1) {
19
21
  } }
20
22
  function CollectionViewComponent_mj_collection_artifact_card_16_Template(rf, ctx) { if (rf & 1) {
21
23
  const _r3 = i0.ɵɵgetCurrentView();
22
- i0.ɵɵelementStart(0, "mj-collection-artifact-card", 17);
24
+ i0.ɵɵelementStart(0, "mj-collection-artifact-card", 18);
23
25
  i0.ɵɵlistener("selected", function CollectionViewComponent_mj_collection_artifact_card_16_Template_mj_collection_artifact_card_selected_0_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onArtifactSelected($event)); })("viewed", function CollectionViewComponent_mj_collection_artifact_card_16_Template_mj_collection_artifact_card_viewed_0_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onViewArtifact($event)); })("edited", function CollectionViewComponent_mj_collection_artifact_card_16_Template_mj_collection_artifact_card_edited_0_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onEditArtifact($event)); })("removed", function CollectionViewComponent_mj_collection_artifact_card_16_Template_mj_collection_artifact_card_removed_0_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onRemoveArtifact($event)); });
24
26
  i0.ɵɵelementEnd();
25
27
  } if (rf & 2) {
26
28
  const artifact_r4 = ctx.$implicit;
27
29
  i0.ɵɵproperty("artifact", artifact_r4);
28
30
  } }
31
+ function CollectionViewComponent_div_17_Template(rf, ctx) { if (rf & 1) {
32
+ const _r5 = i0.ɵɵgetCurrentView();
33
+ i0.ɵɵelementStart(0, "div", 19);
34
+ i0.ɵɵlistener("click", function CollectionViewComponent_div_17_Template_div_click_0_listener() { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onCloseArtifactViewer()); });
35
+ i0.ɵɵelementStart(1, "div", 20);
36
+ i0.ɵɵlistener("click", function CollectionViewComponent_div_17_Template_div_click_1_listener($event) { i0.ɵɵrestoreView(_r5); return i0.ɵɵresetView($event.stopPropagation()); });
37
+ i0.ɵɵelementStart(2, "mj-artifact-viewer-panel", 21);
38
+ i0.ɵɵlistener("closed", function CollectionViewComponent_div_17_Template_mj_artifact_viewer_panel_closed_2_listener() { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onCloseArtifactViewer()); });
39
+ i0.ɵɵelementEnd()()();
40
+ } if (rf & 2) {
41
+ const ctx_r1 = i0.ɵɵnextContext();
42
+ i0.ɵɵadvance(2);
43
+ i0.ɵɵproperty("artifactId", ctx_r1.selectedArtifactId)("currentUser", ctx_r1.currentUser)("environmentId", ctx_r1.environmentId);
44
+ } }
29
45
  export class CollectionViewComponent {
30
46
  collection;
31
47
  currentUser;
48
+ environmentId;
32
49
  artifacts = [];
33
50
  viewMode = 'grid';
34
51
  sortBy = 'date';
52
+ selectedArtifactId = null;
53
+ showArtifactViewer = false;
35
54
  sortOptions = [
36
55
  { label: 'Name', value: 'name' },
37
56
  { label: 'Date Modified', value: 'date' },
@@ -85,7 +104,12 @@ export class CollectionViewComponent {
85
104
  }
86
105
  onViewArtifact(artifact) {
87
106
  console.log('View artifact:', artifact.ID);
88
- // TODO: Open artifact viewer modal or panel
107
+ this.selectedArtifactId = artifact.ID;
108
+ this.showArtifactViewer = true;
109
+ }
110
+ onCloseArtifactViewer() {
111
+ this.showArtifactViewer = false;
112
+ this.selectedArtifactId = null;
89
113
  }
90
114
  onEditArtifact(artifact) {
91
115
  console.log('Edit artifact:', artifact.ID);
@@ -106,11 +130,12 @@ export class CollectionViewComponent {
106
130
  const joinRecord = result.Results[0];
107
131
  await joinRecord.Delete();
108
132
  await this.loadArtifacts();
133
+ MJNotificationService.Instance.CreateSimpleNotification(`Removed "${artifact.Name}" from collection`, 'success', 3000);
109
134
  }
110
135
  }
111
136
  catch (error) {
112
137
  console.error('Failed to remove artifact from collection:', error);
113
- alert('Failed to remove artifact from collection');
138
+ MJNotificationService.Instance.CreateSimpleNotification('Failed to remove artifact from collection', 'error');
114
139
  }
115
140
  }
116
141
  async onAddArtifact() {
@@ -142,7 +167,7 @@ export class CollectionViewComponent {
142
167
  }
143
168
  }
144
169
  static ɵfac = function CollectionViewComponent_Factory(t) { return new (t || CollectionViewComponent)(); };
145
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CollectionViewComponent, selectors: [["mj-collection-view"]], inputs: { collection: "collection", currentUser: "currentUser" }, features: [i0.ɵɵNgOnChangesFeature], decls: 17, vars: 17, consts: [[1, "collection-view"], [1, "view-header"], [1, "header-actions"], [1, "view-mode-toggle"], ["title", "Grid View", 1, "mode-btn", 3, "click"], [1, "fas", "fa-grid"], ["title", "List View", 1, "mode-btn", 3, "click"], [1, "fas", "fa-list"], ["placeholder", "Sort by...", 3, "valueChange", "data", "textField", "valueField", "value"], ["title", "Add Artifact", 1, "btn-add", 3, "click"], [1, "fas", "fa-plus"], [1, "view-content"], ["class", "empty-state", 4, "ngIf"], [3, "artifact", "selected", "viewed", "edited", "removed", 4, "ngFor", "ngForOf"], [1, "empty-state"], [1, "fas", "fa-folder-open"], [1, "btn-add-primary", 3, "click"], [3, "selected", "viewed", "edited", "removed", "artifact"]], template: function CollectionViewComponent_Template(rf, ctx) { if (rf & 1) {
170
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CollectionViewComponent, selectors: [["mj-collection-view"]], inputs: { collection: "collection", currentUser: "currentUser", environmentId: "environmentId" }, features: [i0.ɵɵNgOnChangesFeature], decls: 18, vars: 18, consts: [[1, "collection-view"], [1, "view-header"], [1, "header-actions"], [1, "view-mode-toggle"], ["title", "Grid View", 1, "mode-btn", 3, "click"], [1, "fas", "fa-grid"], ["title", "List View", 1, "mode-btn", 3, "click"], [1, "fas", "fa-list"], ["placeholder", "Sort by...", 3, "valueChange", "data", "textField", "valueField", "value"], ["title", "Add Artifact", 1, "btn-add", 3, "click"], [1, "fas", "fa-plus"], [1, "view-content"], ["class", "empty-state", 4, "ngIf"], [3, "artifact", "selected", "viewed", "edited", "removed", 4, "ngFor", "ngForOf"], ["class", "artifact-viewer-overlay", 3, "click", 4, "ngIf"], [1, "empty-state"], [1, "fas", "fa-folder-open"], [1, "btn-add-primary", 3, "click"], [3, "selected", "viewed", "edited", "removed", "artifact"], [1, "artifact-viewer-overlay", 3, "click"], [1, "artifact-viewer-container", 3, "click"], [3, "closed", "artifactId", "currentUser", "environmentId"]], template: function CollectionViewComponent_Template(rf, ctx) { if (rf & 1) {
146
171
  i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "h2");
147
172
  i0.ɵɵtext(3);
148
173
  i0.ɵɵelementEnd();
@@ -166,6 +191,7 @@ export class CollectionViewComponent {
166
191
  i0.ɵɵelementStart(14, "div", 11);
167
192
  i0.ɵɵtemplate(15, CollectionViewComponent_div_15_Template, 7, 0, "div", 12)(16, CollectionViewComponent_mj_collection_artifact_card_16_Template, 1, 1, "mj-collection-artifact-card", 13);
168
193
  i0.ɵɵelementEnd()();
194
+ i0.ɵɵtemplate(17, CollectionViewComponent_div_17_Template, 3, 3, "div", 14);
169
195
  } if (rf & 2) {
170
196
  i0.ɵɵadvance(3);
171
197
  i0.ɵɵtextInterpolate(ctx.collection.Name || "Collection");
@@ -183,7 +209,9 @@ export class CollectionViewComponent {
183
209
  i0.ɵɵproperty("ngIf", ctx.artifacts.length === 0);
184
210
  i0.ɵɵadvance();
185
211
  i0.ɵɵproperty("ngForOf", ctx.artifacts);
186
- } }, dependencies: [i1.NgForOf, i1.NgIf, i2.DropDownListComponent, i3.CollectionArtifactCardComponent], styles: [".collection-view[_ngcontent-%COMP%] { display: flex; flex-direction: column; height: 100%; background: white; }\n\n .view-header[_ngcontent-%COMP%] { padding: 20px 24px; border-bottom: 1px solid #D9D9D9; display: flex; justify-content: space-between; align-items: center; }\n .view-header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] { margin: 0; font-size: 20px; flex: 1; }\n\n .header-actions[_ngcontent-%COMP%] { display: flex; align-items: center; gap: 12px; }\n\n .view-mode-toggle[_ngcontent-%COMP%] { display: flex; border: 1px solid #D9D9D9; border-radius: 4px; overflow: hidden; }\n .mode-btn[_ngcontent-%COMP%] { padding: 8px 12px; background: white; border: none; border-right: 1px solid #D9D9D9; cursor: pointer; color: #666; transition: all 150ms ease; }\n .mode-btn[_ngcontent-%COMP%]:last-child { border-right: none; }\n .mode-btn[_ngcontent-%COMP%]:hover { background: #F4F4F4; }\n .mode-btn.active[_ngcontent-%COMP%] { background: #0076B6; color: white; }\n\n .btn-add[_ngcontent-%COMP%] { padding: 8px 16px; background: #0076B6; color: white; border: none; border-radius: 4px; cursor: pointer; display: flex; align-items: center; gap: 6px; }\n .btn-add[_ngcontent-%COMP%]:hover { background: #005A8C; }\n\n .view-content[_ngcontent-%COMP%] { flex: 1; overflow-y: auto; padding: 24px; }\n .view-content.grid-mode[_ngcontent-%COMP%] { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }\n .view-content.list-mode[_ngcontent-%COMP%] { display: flex; flex-direction: column; gap: 12px; }\n\n .empty-state[_ngcontent-%COMP%] { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 64px 24px; color: #999; }\n .empty-state[_ngcontent-%COMP%] i[_ngcontent-%COMP%] { font-size: 64px; margin-bottom: 24px; }\n .empty-state[_ngcontent-%COMP%] p[_ngcontent-%COMP%] { margin: 0 0 24px 0; font-size: 16px; }\n .btn-add-primary[_ngcontent-%COMP%] { padding: 12px 24px; background: #0076B6; color: white; border: none; border-radius: 4px; cursor: pointer; font-size: 14px; display: flex; align-items: center; gap: 8px; }\n .btn-add-primary[_ngcontent-%COMP%]:hover { background: #005A8C; }"] });
212
+ i0.ɵɵadvance();
213
+ i0.ɵɵproperty("ngIf", ctx.showArtifactViewer && ctx.selectedArtifactId);
214
+ } }, dependencies: [i1.NgForOf, i1.NgIf, i2.DropDownListComponent, i3.ArtifactViewerPanelComponent, i4.CollectionArtifactCardComponent], styles: [".collection-view[_ngcontent-%COMP%] { display: flex; flex-direction: column; height: 100%; background: white; }\n\n .view-header[_ngcontent-%COMP%] { padding: 20px 24px; border-bottom: 1px solid #D9D9D9; display: flex; justify-content: space-between; align-items: center; }\n .view-header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] { margin: 0; font-size: 20px; flex: 1; }\n\n .header-actions[_ngcontent-%COMP%] { display: flex; align-items: center; gap: 12px; }\n\n .view-mode-toggle[_ngcontent-%COMP%] { display: flex; border: 1px solid #D9D9D9; border-radius: 4px; overflow: hidden; }\n .mode-btn[_ngcontent-%COMP%] { padding: 8px 12px; background: white; border: none; border-right: 1px solid #D9D9D9; cursor: pointer; color: #666; transition: all 150ms ease; }\n .mode-btn[_ngcontent-%COMP%]:last-child { border-right: none; }\n .mode-btn[_ngcontent-%COMP%]:hover { background: #F4F4F4; }\n .mode-btn.active[_ngcontent-%COMP%] { background: #0076B6; color: white; }\n\n .btn-add[_ngcontent-%COMP%] { padding: 8px 16px; background: #0076B6; color: white; border: none; border-radius: 4px; cursor: pointer; display: flex; align-items: center; gap: 6px; }\n .btn-add[_ngcontent-%COMP%]:hover { background: #005A8C; }\n\n .view-content[_ngcontent-%COMP%] { flex: 1; overflow-y: auto; padding: 24px; }\n .view-content.grid-mode[_ngcontent-%COMP%] { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }\n .view-content.list-mode[_ngcontent-%COMP%] { display: flex; flex-direction: column; gap: 12px; }\n\n .empty-state[_ngcontent-%COMP%] { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 64px 24px; color: #999; }\n .empty-state[_ngcontent-%COMP%] i[_ngcontent-%COMP%] { font-size: 64px; margin-bottom: 24px; }\n .empty-state[_ngcontent-%COMP%] p[_ngcontent-%COMP%] { margin: 0 0 24px 0; font-size: 16px; }\n .btn-add-primary[_ngcontent-%COMP%] { padding: 12px 24px; background: #0076B6; color: white; border: none; border-radius: 4px; cursor: pointer; font-size: 14px; display: flex; align-items: center; gap: 8px; }\n .btn-add-primary[_ngcontent-%COMP%]:hover { background: #005A8C; }\n\n .artifact-viewer-overlay[_ngcontent-%COMP%] { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.5); display: flex; align-items: center; justify-content: center; z-index: 10000; }\n .artifact-viewer-container[_ngcontent-%COMP%] { width: 90%; max-width: 1200px; height: 90vh; background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); }"] });
187
215
  }
188
216
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CollectionViewComponent, [{
189
217
  type: Component,
@@ -244,11 +272,25 @@ export class CollectionViewComponent {
244
272
  </mj-collection-artifact-card>
245
273
  </div>
246
274
  </div>
247
- `, styles: ["\n .collection-view { display: flex; flex-direction: column; height: 100%; background: white; }\n\n .view-header { padding: 20px 24px; border-bottom: 1px solid #D9D9D9; display: flex; justify-content: space-between; align-items: center; }\n .view-header h2 { margin: 0; font-size: 20px; flex: 1; }\n\n .header-actions { display: flex; align-items: center; gap: 12px; }\n\n .view-mode-toggle { display: flex; border: 1px solid #D9D9D9; border-radius: 4px; overflow: hidden; }\n .mode-btn { padding: 8px 12px; background: white; border: none; border-right: 1px solid #D9D9D9; cursor: pointer; color: #666; transition: all 150ms ease; }\n .mode-btn:last-child { border-right: none; }\n .mode-btn:hover { background: #F4F4F4; }\n .mode-btn.active { background: #0076B6; color: white; }\n\n .btn-add { padding: 8px 16px; background: #0076B6; color: white; border: none; border-radius: 4px; cursor: pointer; display: flex; align-items: center; gap: 6px; }\n .btn-add:hover { background: #005A8C; }\n\n .view-content { flex: 1; overflow-y: auto; padding: 24px; }\n .view-content.grid-mode { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }\n .view-content.list-mode { display: flex; flex-direction: column; gap: 12px; }\n\n .empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 64px 24px; color: #999; }\n .empty-state i { font-size: 64px; margin-bottom: 24px; }\n .empty-state p { margin: 0 0 24px 0; font-size: 16px; }\n .btn-add-primary { padding: 12px 24px; background: #0076B6; color: white; border: none; border-radius: 4px; cursor: pointer; font-size: 14px; display: flex; align-items: center; gap: 8px; }\n .btn-add-primary:hover { background: #005A8C; }\n "] }]
275
+
276
+ <!-- Artifact Viewer Panel -->
277
+ <div class="artifact-viewer-overlay" *ngIf="showArtifactViewer && selectedArtifactId" (click)="onCloseArtifactViewer()">
278
+ <div class="artifact-viewer-container" (click)="$event.stopPropagation()">
279
+ <mj-artifact-viewer-panel
280
+ [artifactId]="selectedArtifactId"
281
+ [currentUser]="currentUser"
282
+ [environmentId]="environmentId"
283
+ (closed)="onCloseArtifactViewer()">
284
+ </mj-artifact-viewer-panel>
285
+ </div>
286
+ </div>
287
+ `, styles: ["\n .collection-view { display: flex; flex-direction: column; height: 100%; background: white; }\n\n .view-header { padding: 20px 24px; border-bottom: 1px solid #D9D9D9; display: flex; justify-content: space-between; align-items: center; }\n .view-header h2 { margin: 0; font-size: 20px; flex: 1; }\n\n .header-actions { display: flex; align-items: center; gap: 12px; }\n\n .view-mode-toggle { display: flex; border: 1px solid #D9D9D9; border-radius: 4px; overflow: hidden; }\n .mode-btn { padding: 8px 12px; background: white; border: none; border-right: 1px solid #D9D9D9; cursor: pointer; color: #666; transition: all 150ms ease; }\n .mode-btn:last-child { border-right: none; }\n .mode-btn:hover { background: #F4F4F4; }\n .mode-btn.active { background: #0076B6; color: white; }\n\n .btn-add { padding: 8px 16px; background: #0076B6; color: white; border: none; border-radius: 4px; cursor: pointer; display: flex; align-items: center; gap: 6px; }\n .btn-add:hover { background: #005A8C; }\n\n .view-content { flex: 1; overflow-y: auto; padding: 24px; }\n .view-content.grid-mode { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }\n .view-content.list-mode { display: flex; flex-direction: column; gap: 12px; }\n\n .empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 64px 24px; color: #999; }\n .empty-state i { font-size: 64px; margin-bottom: 24px; }\n .empty-state p { margin: 0 0 24px 0; font-size: 16px; }\n .btn-add-primary { padding: 12px 24px; background: #0076B6; color: white; border: none; border-radius: 4px; cursor: pointer; font-size: 14px; display: flex; align-items: center; gap: 8px; }\n .btn-add-primary:hover { background: #005A8C; }\n\n .artifact-viewer-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.5); display: flex; align-items: center; justify-content: center; z-index: 10000; }\n .artifact-viewer-container { width: 90%; max-width: 1200px; height: 90vh; background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); }\n "] }]
248
288
  }], null, { collection: [{
249
289
  type: Input
250
290
  }], currentUser: [{
251
291
  type: Input
292
+ }], environmentId: [{
293
+ type: Input
252
294
  }] }); })();
253
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CollectionViewComponent, { className: "CollectionViewComponent", filePath: "src/lib/components/collection/collection-view.component.ts", lineNumber: 96 }); })();
295
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CollectionViewComponent, { className: "CollectionViewComponent", filePath: "src/lib/components/collection/collection-view.component.ts", lineNumber: 112 }); })();
254
296
  //# sourceMappingURL=collection-view.component.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"collection-view.component.js","sourceRoot":"","sources":["../../../../src/lib/components/collection/collection-view.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAoC,MAAM,eAAe,CAAC;AAEnF,OAAO,EAAY,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;;;;;;;IA8C3D,+BAAwD;IACtD,wBAAkC;IAClC,yBAAG;IAAA,wCAAwB;IAAA,iBAAI;IAC/B,kCAA0D;IAA1B,oLAAS,sBAAe,KAAC;IACvD,wBAA2B;IAAC,8BAC9B;IACF,AADE,iBAAS,EACL;;;;IAEN,uDAMuC;IAArC,A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AAK;;kFAFK,uBAAuB"}
1
+ {"version":3,"file":"collection-view.component.js","sourceRoot":"","sources":["../../../../src/lib/components/collection/collection-view.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAoC,MAAM,eAAe,CAAC;AAEnF,OAAO,EAAY,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AACnE,OAAO,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;;;;;;;;IA8CjE,+BAAwD;IACtD,wBAAkC;IAClC,yBAAG;IAAA,wCAAwB;IAAA,iBAAI;IAC/B,kCAA0D;IAA1B,oLAAS,sBAAe,KAAC;IACvD,wBAA2B;IAAC,8BAC9B;IACF,AADE,iBAAS,EACL;;;;IAEN,uDAMuC;IAArC,AADA,AADA,AADA,6OAAY,iCAA0B,KAAC,4NAC7B,6BAAsB,KAAC,4NACvB,6BAAsB,KAAC,8NACtB,+BAAwB,KAAC;IACtC,iBAA8B;;;IAL5B,sCAAqB;;;;IAU3B,+BAAwH;IAAlC,iLAAS,8BAAuB,KAAC;IACrH,+BAA0E;IAAnC,oJAAS,wBAAwB,KAAC;IACvE,oDAIqC;IAAnC,wMAAU,8BAAuB,KAAC;IAGxC,AADE,AADE,iBAA2B,EACvB,EACF;;;IANA,eAAiC;IAEjC,AADA,AADA,sDAAiC,mCACN,uCACI;;AAqCzC,MAAM,OAAO,uBAAuB;IACzB,UAAU,CAAoB;IAC9B,WAAW,CAAY;IACvB,aAAa,CAAU;IAEzB,SAAS,GAAqB,EAAE,CAAC;IACjC,QAAQ,GAAa,MAAM,CAAC;IAC5B,MAAM,GAAW,MAAM,CAAC;IACxB,kBAAkB,GAAkB,IAAI,CAAC;IACzC,kBAAkB,GAAG,KAAK,CAAC;IAE3B,WAAW,GAAG;QACnB,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE;QAChC,EAAE,KAAK,EAAE,eAAe,EAAE,KAAK,EAAE,MAAM,EAAE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;kBAArB,KAAK;;kFAHK,uBAAuB"}
@@ -1,13 +1,16 @@
1
1
  import { EventEmitter, OnInit, OnDestroy, DoCheck, ChangeDetectorRef, AfterViewChecked } from '@angular/core';
2
2
  import { UserInfo, CompositeKey } from '@memberjunction/core';
3
- import { ConversationDetailEntity, AIAgentRunEntity, AIAgentRunEntityExtended } from '@memberjunction/core-entities';
3
+ import { ConversationDetailEntity, AIAgentRunEntity, AIAgentRunEntityExtended, ArtifactEntity, ArtifactVersionEntity, TaskEntity } from '@memberjunction/core-entities';
4
4
  import { ConversationStateService } from '../../services/conversation-state.service';
5
+ import { DataCacheService } from '../../services/data-cache.service';
5
6
  import { AgentStateService } from '../../services/agent-state.service';
6
7
  import { ConversationAgentService } from '../../services/conversation-agent.service';
7
8
  import { ActiveTasksService } from '../../services/active-tasks.service';
9
+ import { Subject } from 'rxjs';
8
10
  import * as i0 from "@angular/core";
9
11
  export declare class ConversationChatAreaComponent implements OnInit, OnDestroy, DoCheck, AfterViewChecked {
10
12
  conversationState: ConversationStateService;
13
+ private dataCache;
11
14
  private agentStateService;
12
15
  private conversationAgentService;
13
16
  private activeTasks;
@@ -23,6 +26,7 @@ export declare class ConversationChatAreaComponent implements OnInit, OnDestroy,
23
26
  entityName: string;
24
27
  compositeKey: CompositeKey;
25
28
  }>;
29
+ taskClicked: EventEmitter<TaskEntity>;
26
30
  private scrollContainer;
27
31
  messages: ConversationDetailEntity[];
28
32
  showScrollToBottomIcon: boolean;
@@ -39,18 +43,24 @@ export declare class ConversationChatAreaComponent implements OnInit, OnDestroy,
39
43
  showArtifactPanel: boolean;
40
44
  showArtifactsModal: boolean;
41
45
  selectedArtifactId: string | null;
46
+ selectedVersionNumber: number | undefined;
42
47
  artifactPaneWidth: number;
48
+ expandedArtifactId: string | null;
43
49
  artifactsByDetailId: Map<string, {
50
+ artifact: ArtifactEntity;
51
+ version: ArtifactVersionEntity;
52
+ }[]>;
53
+ agentRunsByDetailId: Map<string, AIAgentRunEntityExtended>;
54
+ isLoadingPeripheralData: boolean;
55
+ artifactViewerRefresh$: Subject<{
44
56
  artifactId: string;
45
- versionId: string;
46
- name: string;
57
+ versionNumber: number;
47
58
  }>;
48
- agentRunsByDetailId: Map<string, AIAgentRunEntityExtended>;
49
59
  private isResizing;
50
60
  private startX;
51
61
  private startWidth;
52
62
  private readonly ARTIFACT_PANE_WIDTH_KEY;
53
- constructor(conversationState: ConversationStateService, agentStateService: AgentStateService, conversationAgentService: ConversationAgentService, activeTasks: ActiveTasksService, cdr: ChangeDetectorRef);
63
+ constructor(conversationState: ConversationStateService, dataCache: DataCacheService, agentStateService: AgentStateService, conversationAgentService: ConversationAgentService, activeTasks: ActiveTasksService, cdr: ChangeDetectorRef);
54
64
  ngOnInit(): void;
55
65
  ngDoCheck(): void;
56
66
  ngAfterViewChecked(): void;
@@ -58,8 +68,14 @@ export declare class ConversationChatAreaComponent implements OnInit, OnDestroy,
58
68
  private onConversationChanged;
59
69
  private loadMessages;
60
70
  /**
61
- * Restore active tasks from the database for this conversation
62
- * Queries for messages with Status='In-Progress' and recreates the active task tracking
71
+ * Load peripheral data (agent runs and artifacts) in background
72
+ * This allows messages to display immediately while slower queries complete
73
+ */
74
+ private loadPeripheralData;
75
+ /**
76
+ * REMOVED: Active tasks should only track currently-running tasks in this browser session.
77
+ * Database tasks with 'In-Progress' status are shown in the Tasks dropdown via loadDatabaseTasks().
78
+ * Restoring them here causes duplicate "Agent Processing..." entries.
63
79
  */
64
80
  private restoreActiveTasks;
65
81
  onMessageSent(message: ConversationDetailEntity): void;
@@ -88,12 +104,26 @@ export declare class ConversationChatAreaComponent implements OnInit, OnDestroy,
88
104
  openProjectSelector(): void;
89
105
  toggleMembersModal(): void;
90
106
  viewArtifacts(): void;
107
+ /**
108
+ * Calculate count of unique artifacts (not versions)
109
+ */
110
+ private calculateUniqueArtifactCount;
111
+ /**
112
+ * Get unique artifacts grouped by artifact ID (not by conversation detail)
113
+ * Returns the latest version info for each unique artifact with all versions
114
+ */
91
115
  getArtifactsArray(): Array<{
92
116
  artifactId: string;
93
117
  versionId: string;
94
118
  name: string;
119
+ versionCount: number;
120
+ versions: Array<{
121
+ versionId: string;
122
+ versionNumber: number;
123
+ }>;
95
124
  }>;
96
- openArtifactFromModal(artifactId: string): void;
125
+ toggleArtifactExpansion(artifactId: string, event: Event): void;
126
+ openArtifactFromModal(artifactId: string, versionNumber?: number): void;
97
127
  exportConversation(): void;
98
128
  onExportModalCancelled(): void;
99
129
  onExportModalComplete(): void;
@@ -115,8 +145,9 @@ export declare class ConversationChatAreaComponent implements OnInit, OnDestroy,
115
145
  conversationDetailId: string;
116
146
  artifactId: string;
117
147
  versionId: string;
148
+ versionNumber: number;
118
149
  name: string;
119
- }): void;
150
+ }): Promise<void>;
120
151
  onCloseArtifactPanel(): void;
121
152
  /**
122
153
  * Helper method to check if a conversation detail has an artifact
@@ -125,11 +156,20 @@ export declare class ConversationChatAreaComponent implements OnInit, OnDestroy,
125
156
  conversationDetailHasArtifact(conversationDetailId: string): boolean;
126
157
  /**
127
158
  * Get artifact info for a conversation detail
159
+ * Returns the first artifact if multiple exist (for backward compatibility with message display)
128
160
  */
129
161
  getArtifactInfo(conversationDetailId: string): {
130
- artifactId: string;
131
- versionId: string;
162
+ artifact: ArtifactEntity;
163
+ version: ArtifactVersionEntity;
132
164
  } | undefined;
165
+ /**
166
+ * Get ALL artifacts for a conversation detail
167
+ * Use this when you need to display all artifacts (e.g., in a list)
168
+ */
169
+ getAllArtifactsForDetail(conversationDetailId: string): Array<{
170
+ artifact: ArtifactEntity;
171
+ version: ArtifactVersionEntity;
172
+ }>;
133
173
  /**
134
174
  * Resize handle methods for artifact pane
135
175
  */
@@ -150,11 +190,11 @@ export declare class ConversationChatAreaComponent implements OnInit, OnDestroy,
150
190
  entityName: string;
151
191
  compositeKey: CompositeKey;
152
192
  }): void;
193
+ onTaskClicked(task: TaskEntity): void;
153
194
  checkScroll(): void;
154
195
  scrollToBottomNow(retryCount?: number): void;
155
196
  scrollToBottomAnimate(): void;
156
- getScrollToBottomIconPosition(): number;
157
197
  static ɵfac: i0.ɵɵFactoryDeclaration<ConversationChatAreaComponent, never>;
158
- static ɵcmp: i0.ɵɵComponentDeclaration<ConversationChatAreaComponent, "mj-conversation-chat-area", never, { "environmentId": { "alias": "environmentId"; "required": false; }; "currentUser": { "alias": "currentUser"; "required": false; }; }, { "conversationRenamed": "conversationRenamed"; "openEntityRecord": "openEntityRecord"; }, never, never, false, never>;
198
+ static ɵcmp: i0.ɵɵComponentDeclaration<ConversationChatAreaComponent, "mj-conversation-chat-area", never, { "environmentId": { "alias": "environmentId"; "required": false; }; "currentUser": { "alias": "currentUser"; "required": false; }; }, { "conversationRenamed": "conversationRenamed"; "openEntityRecord": "openEntityRecord"; "taskClicked": "taskClicked"; }, never, never, false, never>;
159
199
  }
160
200
  //# sourceMappingURL=conversation-chat-area.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"conversation-chat-area.component.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/conversation/conversation-chat-area.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4B,YAAY,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,iBAAiB,EAAyB,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAC/J,OAAO,EAAE,QAAQ,EAAqB,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACjF,OAAO,EAAsB,wBAAwB,EAAE,gBAAgB,EAAE,wBAAwB,EAA2D,MAAM,+BAA+B,CAAC;AAClM,OAAO,EAAE,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AACrF,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AACvE,OAAO,EAAE,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AACrF,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;;AAEzE,qBAKa,6BAA8B,YAAW,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,gBAAgB;IA0CvF,iBAAiB,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