@memberjunction/ng-conversations 2.104.0 → 2.106.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.
- package/dist/lib/components/collection/collection-view.component.d.ts +5 -1
- package/dist/lib/components/collection/collection-view.component.d.ts.map +1 -1
- package/dist/lib/components/collection/collection-view.component.js +53 -11
- package/dist/lib/components/collection/collection-view.component.js.map +1 -1
- package/dist/lib/components/conversation/conversation-chat-area.component.d.ts +53 -13
- package/dist/lib/components/conversation/conversation-chat-area.component.d.ts.map +1 -1
- package/dist/lib/components/conversation/conversation-chat-area.component.js +455 -289
- package/dist/lib/components/conversation/conversation-chat-area.component.js.map +1 -1
- package/dist/lib/components/conversation/conversation-list.component.d.ts +9 -1
- package/dist/lib/components/conversation/conversation-list.component.d.ts.map +1 -1
- package/dist/lib/components/conversation/conversation-list.component.js +258 -71
- package/dist/lib/components/conversation/conversation-list.component.js.map +1 -1
- package/dist/lib/components/mention/mention-dropdown.component.d.ts +6 -0
- package/dist/lib/components/mention/mention-dropdown.component.d.ts.map +1 -1
- package/dist/lib/components/mention/mention-dropdown.component.js +35 -13
- package/dist/lib/components/mention/mention-dropdown.component.js.map +1 -1
- package/dist/lib/components/message/message-input.component.d.ts +49 -12
- package/dist/lib/components/message/message-input.component.d.ts.map +1 -1
- package/dist/lib/components/message/message-input.component.js +579 -221
- package/dist/lib/components/message/message-input.component.js.map +1 -1
- package/dist/lib/components/message/message-item.component.d.ts +16 -5
- package/dist/lib/components/message/message-item.component.d.ts.map +1 -1
- package/dist/lib/components/message/message-item.component.js +136 -64
- package/dist/lib/components/message/message-item.component.js.map +1 -1
- package/dist/lib/components/message/message-list.component.d.ts +11 -5
- package/dist/lib/components/message/message-list.component.d.ts.map +1 -1
- package/dist/lib/components/message/message-list.component.js +48 -9
- package/dist/lib/components/message/message-list.component.js.map +1 -1
- package/dist/lib/components/navigation/conversation-navigation.component.d.ts.map +1 -1
- package/dist/lib/components/navigation/conversation-navigation.component.js +24 -9
- package/dist/lib/components/navigation/conversation-navigation.component.js.map +1 -1
- package/dist/lib/components/task/tasks-full-view.component.d.ts +47 -0
- package/dist/lib/components/task/tasks-full-view.component.d.ts.map +1 -0
- package/dist/lib/components/task/tasks-full-view.component.js +368 -0
- package/dist/lib/components/task/tasks-full-view.component.js.map +1 -0
- package/dist/lib/components/tasks/task-widget.component.d.ts +29 -0
- package/dist/lib/components/tasks/task-widget.component.d.ts.map +1 -0
- package/dist/lib/components/tasks/task-widget.component.js +385 -0
- package/dist/lib/components/tasks/task-widget.component.js.map +1 -0
- package/dist/lib/components/tasks/tasks-dropdown.component.d.ts +22 -8
- package/dist/lib/components/tasks/tasks-dropdown.component.d.ts.map +1 -1
- package/dist/lib/components/tasks/tasks-dropdown.component.js +195 -99
- package/dist/lib/components/tasks/tasks-dropdown.component.js.map +1 -1
- package/dist/lib/components/thread/thread-panel.component.d.ts +3 -1
- package/dist/lib/components/thread/thread-panel.component.d.ts.map +1 -1
- package/dist/lib/components/thread/thread-panel.component.js +14 -14
- package/dist/lib/components/thread/thread-panel.component.js.map +1 -1
- package/dist/lib/components/workspace/conversation-workspace.component.d.ts +43 -4
- package/dist/lib/components/workspace/conversation-workspace.component.d.ts.map +1 -1
- package/dist/lib/components/workspace/conversation-workspace.component.js +288 -46
- package/dist/lib/components/workspace/conversation-workspace.component.js.map +1 -1
- package/dist/lib/conversations.module.d.ts +40 -46
- package/dist/lib/conversations.module.d.ts.map +1 -1
- package/dist/lib/conversations.module.js +28 -42
- package/dist/lib/conversations.module.js.map +1 -1
- package/dist/lib/models/conversation-state.model.d.ts +29 -1
- package/dist/lib/models/conversation-state.model.d.ts.map +1 -1
- package/dist/lib/services/conversation-agent.service.d.ts +6 -5
- package/dist/lib/services/conversation-agent.service.d.ts.map +1 -1
- package/dist/lib/services/conversation-agent.service.js +18 -19
- package/dist/lib/services/conversation-agent.service.js.map +1 -1
- package/dist/lib/services/data-cache.service.d.ts +96 -0
- package/dist/lib/services/data-cache.service.d.ts.map +1 -0
- package/dist/lib/services/data-cache.service.js +203 -0
- package/dist/lib/services/data-cache.service.js.map +1 -0
- package/dist/public-api.d.ts +3 -6
- package/dist/public-api.d.ts.map +1 -1
- package/dist/public-api.js +3 -6
- package/dist/public-api.js.map +1 -1
- package/package.json +12 -10
- package/dist/lib/components/artifact/artifact-panel.component.d.ts +0 -22
- package/dist/lib/components/artifact/artifact-panel.component.d.ts.map +0 -1
- package/dist/lib/components/artifact/artifact-panel.component.js +0 -237
- package/dist/lib/components/artifact/artifact-panel.component.js.map +0 -1
- package/dist/lib/components/artifact/artifact-upload-modal.component.d.ts +0 -39
- package/dist/lib/components/artifact/artifact-upload-modal.component.d.ts.map +0 -1
- package/dist/lib/components/artifact/artifact-upload-modal.component.js +0 -384
- package/dist/lib/components/artifact/artifact-upload-modal.component.js.map +0 -1
- package/dist/lib/components/artifact/artifact-version-history.component.d.ts +0 -28
- package/dist/lib/components/artifact/artifact-version-history.component.d.ts.map +0 -1
- package/dist/lib/components/artifact/artifact-version-history.component.js +0 -280
- package/dist/lib/components/artifact/artifact-version-history.component.js.map +0 -1
- package/dist/lib/components/artifact/artifact-viewer-panel.component.d.ts +0 -22
- package/dist/lib/components/artifact/artifact-viewer-panel.component.d.ts.map +0 -1
- package/dist/lib/components/artifact/artifact-viewer-panel.component.js +0 -182
- package/dist/lib/components/artifact/artifact-viewer-panel.component.js.map +0 -1
- package/dist/lib/components/artifact/artifact-viewer.component.d.ts +0 -27
- package/dist/lib/components/artifact/artifact-viewer.component.d.ts.map +0 -1
- package/dist/lib/components/artifact/artifact-viewer.component.js +0 -266
- package/dist/lib/components/artifact/artifact-viewer.component.js.map +0 -1
- package/dist/lib/components/artifact/inline-artifact.component.d.ts +0 -46
- package/dist/lib/components/artifact/inline-artifact.component.d.ts.map +0 -1
- package/dist/lib/components/artifact/inline-artifact.component.js +0 -447
- package/dist/lib/components/artifact/inline-artifact.component.js.map +0 -1
- package/dist/lib/components/task/task-form-modal.component.d.ts +0 -42
- package/dist/lib/components/task/task-form-modal.component.d.ts.map +0 -1
- package/dist/lib/components/task/task-form-modal.component.js +0 -329
- package/dist/lib/components/task/task-form-modal.component.js.map +0 -1
- package/dist/lib/components/task/task-item.component.d.ts +0 -22
- package/dist/lib/components/task/task-item.component.d.ts.map +0 -1
- package/dist/lib/components/task/task-item.component.js +0 -234
- package/dist/lib/components/task/task-item.component.js.map +0 -1
- package/dist/lib/components/task/task-list.component.d.ts +0 -32
- package/dist/lib/components/task/task-list.component.d.ts.map +0 -1
- package/dist/lib/components/task/task-list.component.js +0 -290
- package/dist/lib/components/task/task-list.component.js.map +0 -1
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { ConversationEntity, ConversationDetailEntity } from '@memberjunction/core-entities';
|
|
2
|
+
import { UserInfo } from '@memberjunction/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Global singleton cache for conversation-related entities.
|
|
6
|
+
* Maintains single instances of entities to prevent race conditions and ensure
|
|
7
|
+
* all components see the same object state.
|
|
8
|
+
*
|
|
9
|
+
* Pattern: Instead of creating new entity instances with GetEntityObject() everywhere,
|
|
10
|
+
* request entities from this cache. The cache returns the same instance each time,
|
|
11
|
+
* so when one component updates entity.Status = 'Complete', all other components
|
|
12
|
+
* see that change immediately without needing to reload from the database.
|
|
13
|
+
*/
|
|
14
|
+
export declare class DataCacheService {
|
|
15
|
+
private conversations;
|
|
16
|
+
private conversationDetails;
|
|
17
|
+
constructor();
|
|
18
|
+
/**
|
|
19
|
+
* Get a ConversationEntity by ID from cache, or load it if not cached
|
|
20
|
+
* @param id The conversation ID
|
|
21
|
+
* @param currentUser User context for loading
|
|
22
|
+
* @returns The cached or loaded ConversationEntity, or null if not found
|
|
23
|
+
*/
|
|
24
|
+
getConversation(id: string, currentUser: UserInfo): Promise<ConversationEntity | null>;
|
|
25
|
+
/**
|
|
26
|
+
* Create a new ConversationEntity and automatically cache it
|
|
27
|
+
* The cache is the ONLY place GetEntityObject() should be called
|
|
28
|
+
* @param currentUser User context
|
|
29
|
+
* @returns New ConversationEntity instance (already cached)
|
|
30
|
+
*/
|
|
31
|
+
createConversation(currentUser: UserInfo): Promise<ConversationEntity>;
|
|
32
|
+
/**
|
|
33
|
+
* Remove a ConversationEntity from the cache
|
|
34
|
+
* @param id The conversation ID to remove
|
|
35
|
+
*/
|
|
36
|
+
removeConversation(id: string): void;
|
|
37
|
+
/**
|
|
38
|
+
* Get all cached ConversationEntity objects (no DB call)
|
|
39
|
+
* @returns Array of cached conversations
|
|
40
|
+
*/
|
|
41
|
+
getCachedConversations(): ConversationEntity[];
|
|
42
|
+
/**
|
|
43
|
+
* Get a ConversationDetailEntity by ID from cache, or load it if not cached
|
|
44
|
+
* @param id The conversation detail ID
|
|
45
|
+
* @param currentUser User context for loading
|
|
46
|
+
* @returns The cached or loaded ConversationDetailEntity, or null if not found
|
|
47
|
+
*/
|
|
48
|
+
getConversationDetail(id: string, currentUser: UserInfo): Promise<ConversationDetailEntity | null>;
|
|
49
|
+
/**
|
|
50
|
+
* Create a new ConversationDetailEntity and automatically cache it
|
|
51
|
+
* The cache is the ONLY place GetEntityObject() should be called
|
|
52
|
+
* @param currentUser User context
|
|
53
|
+
* @returns New ConversationDetailEntity instance (already cached)
|
|
54
|
+
*/
|
|
55
|
+
createConversationDetail(currentUser: UserInfo): Promise<ConversationDetailEntity>;
|
|
56
|
+
/**
|
|
57
|
+
* Load all ConversationDetail entities for a conversation and cache them
|
|
58
|
+
* Used when loading a conversation's message history
|
|
59
|
+
* @param conversationId The conversation ID
|
|
60
|
+
* @param currentUser User context
|
|
61
|
+
* @returns Array of ConversationDetailEntity objects
|
|
62
|
+
*/
|
|
63
|
+
loadConversationDetails(conversationId: string, currentUser: UserInfo): Promise<ConversationDetailEntity[]>;
|
|
64
|
+
/**
|
|
65
|
+
* Get all cached ConversationDetail entities for a conversation (no DB call)
|
|
66
|
+
* @param conversationId The conversation ID
|
|
67
|
+
* @returns Array of cached conversation details
|
|
68
|
+
*/
|
|
69
|
+
getCachedConversationDetails(conversationId: string): ConversationDetailEntity[];
|
|
70
|
+
/**
|
|
71
|
+
* Remove a ConversationDetailEntity from the cache
|
|
72
|
+
* @param id The conversation detail ID to remove
|
|
73
|
+
*/
|
|
74
|
+
removeConversationDetail(id: string): void;
|
|
75
|
+
/**
|
|
76
|
+
* Clear all cached entities
|
|
77
|
+
* Call when switching environments, users, or when needed
|
|
78
|
+
*/
|
|
79
|
+
clear(): void;
|
|
80
|
+
/**
|
|
81
|
+
* Clear cached entities for a specific conversation
|
|
82
|
+
* @param conversationId The conversation ID
|
|
83
|
+
*/
|
|
84
|
+
clearConversation(conversationId: string): void;
|
|
85
|
+
/**
|
|
86
|
+
* Get cache statistics for debugging
|
|
87
|
+
* @returns Object with cache sizes
|
|
88
|
+
*/
|
|
89
|
+
getStats(): {
|
|
90
|
+
conversations: number;
|
|
91
|
+
conversationDetails: number;
|
|
92
|
+
};
|
|
93
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DataCacheService, never>;
|
|
94
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DataCacheService>;
|
|
95
|
+
}
|
|
96
|
+
//# sourceMappingURL=data-cache.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-cache.service.d.ts","sourceRoot":"","sources":["../../../src/lib/services/data-cache.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAC7F,OAAO,EAAY,QAAQ,EAAc,MAAM,sBAAsB,CAAC;;AAEtE;;;;;;;;;GASG;AACH,qBAGa,gBAAgB;IAE3B,OAAO,CAAC,aAAa,CAA4B;IACjD,OAAO,CAAC,mBAAmB,CAAkC;;IAQ7D;;;;;OAKG;IACG,eAAe,CAAC,EAAE,EAAE,MAAM,EAAE,WAAW,EAAE,QAAQ,GAAG,OAAO,CAAC,kBAAkB,GAAG,IAAI,CAAC;IAqB5F;;;;;OAKG;IACG,kBAAkB,CAAC,WAAW,EAAE,QAAQ,GAAG,OAAO,CAAC,kBAAkB,CAAC;IAY5E;;;OAGG;IACH,kBAAkB,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI;IAIpC;;;OAGG;IACH,sBAAsB,IAAI,kBAAkB,EAAE;IAQ9C;;;;;OAKG;IACG,qBAAqB,CAAC,EAAE,EAAE,MAAM,EAAE,WAAW,EAAE,QAAQ,GAAG,OAAO,CAAC,wBAAwB,GAAG,IAAI,CAAC;IAqBxG;;;;;OAKG;IACG,wBAAwB,CAAC,WAAW,EAAE,QAAQ,GAAG,OAAO,CAAC,wBAAwB,CAAC;IAexF;;;;;;OAMG;IACG,uBAAuB,CAAC,cAAc,EAAE,MAAM,EAAE,WAAW,EAAE,QAAQ,GAAG,OAAO,CAAC,wBAAwB,EAAE,CAAC;IAmCjH;;;;OAIG;IACH,4BAA4B,CAAC,cAAc,EAAE,MAAM,GAAG,wBAAwB,EAAE;IAIhF;;;OAGG;IACH,wBAAwB,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI;IAQ1C;;;OAGG;IACH,KAAK,IAAI,IAAI;IAKb;;;OAGG;IACH,iBAAiB,CAAC,cAAc,EAAE,MAAM,GAAG,IAAI;IAK/C;;;OAGG;IACH,QAAQ,IAAI;QAAE,aAAa,EAAE,MAAM,CAAC;QAAC,mBAAmB,EAAE,MAAM,CAAA;KAAE;yCAjNvD,gBAAgB;6CAAhB,gBAAgB;CAuN5B"}
|
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
import { Injectable } from '@angular/core';
|
|
2
|
+
import { Metadata } from '@memberjunction/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Global singleton cache for conversation-related entities.
|
|
6
|
+
* Maintains single instances of entities to prevent race conditions and ensure
|
|
7
|
+
* all components see the same object state.
|
|
8
|
+
*
|
|
9
|
+
* Pattern: Instead of creating new entity instances with GetEntityObject() everywhere,
|
|
10
|
+
* request entities from this cache. The cache returns the same instance each time,
|
|
11
|
+
* so when one component updates entity.Status = 'Complete', all other components
|
|
12
|
+
* see that change immediately without needing to reload from the database.
|
|
13
|
+
*/
|
|
14
|
+
export class DataCacheService {
|
|
15
|
+
// Separate arrays for each entity type
|
|
16
|
+
conversations = [];
|
|
17
|
+
conversationDetails = [];
|
|
18
|
+
constructor() { }
|
|
19
|
+
// =============================================================================
|
|
20
|
+
// ConversationEntity Methods
|
|
21
|
+
// =============================================================================
|
|
22
|
+
/**
|
|
23
|
+
* Get a ConversationEntity by ID from cache, or load it if not cached
|
|
24
|
+
* @param id The conversation ID
|
|
25
|
+
* @param currentUser User context for loading
|
|
26
|
+
* @returns The cached or loaded ConversationEntity, or null if not found
|
|
27
|
+
*/
|
|
28
|
+
async getConversation(id, currentUser) {
|
|
29
|
+
// Check cache first
|
|
30
|
+
const cached = this.conversations.find(c => c.ID === id);
|
|
31
|
+
if (cached) {
|
|
32
|
+
return cached;
|
|
33
|
+
}
|
|
34
|
+
// Not in cache - load from DB
|
|
35
|
+
const md = new Metadata();
|
|
36
|
+
const conversation = await md.GetEntityObject('Conversations', currentUser);
|
|
37
|
+
const loaded = await conversation.Load(id);
|
|
38
|
+
if (loaded) {
|
|
39
|
+
// Add to cache
|
|
40
|
+
this.conversations.push(conversation);
|
|
41
|
+
return conversation;
|
|
42
|
+
}
|
|
43
|
+
return null;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Create a new ConversationEntity and automatically cache it
|
|
47
|
+
* The cache is the ONLY place GetEntityObject() should be called
|
|
48
|
+
* @param currentUser User context
|
|
49
|
+
* @returns New ConversationEntity instance (already cached)
|
|
50
|
+
*/
|
|
51
|
+
async createConversation(currentUser) {
|
|
52
|
+
const md = new Metadata();
|
|
53
|
+
const conversation = await md.GetEntityObject('Conversations', currentUser);
|
|
54
|
+
// Automatically add to cache - user code doesn't need to do anything
|
|
55
|
+
// Note: Conversation has no ID yet (not saved), so we can't deduplicate
|
|
56
|
+
// After Save(), the ID will be populated and future getConversation() calls will find it
|
|
57
|
+
this.conversations.push(conversation);
|
|
58
|
+
return conversation;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Remove a ConversationEntity from the cache
|
|
62
|
+
* @param id The conversation ID to remove
|
|
63
|
+
*/
|
|
64
|
+
removeConversation(id) {
|
|
65
|
+
this.conversations = this.conversations.filter(c => c.ID !== id);
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Get all cached ConversationEntity objects (no DB call)
|
|
69
|
+
* @returns Array of cached conversations
|
|
70
|
+
*/
|
|
71
|
+
getCachedConversations() {
|
|
72
|
+
return this.conversations;
|
|
73
|
+
}
|
|
74
|
+
// =============================================================================
|
|
75
|
+
// ConversationDetailEntity Methods
|
|
76
|
+
// =============================================================================
|
|
77
|
+
/**
|
|
78
|
+
* Get a ConversationDetailEntity by ID from cache, or load it if not cached
|
|
79
|
+
* @param id The conversation detail ID
|
|
80
|
+
* @param currentUser User context for loading
|
|
81
|
+
* @returns The cached or loaded ConversationDetailEntity, or null if not found
|
|
82
|
+
*/
|
|
83
|
+
async getConversationDetail(id, currentUser) {
|
|
84
|
+
// Check cache first
|
|
85
|
+
const cached = this.conversationDetails.find(d => d.ID === id);
|
|
86
|
+
if (cached) {
|
|
87
|
+
return cached;
|
|
88
|
+
}
|
|
89
|
+
// Not in cache - load from DB
|
|
90
|
+
const md = new Metadata();
|
|
91
|
+
const detail = await md.GetEntityObject('Conversation Details', currentUser);
|
|
92
|
+
const loaded = await detail.Load(id);
|
|
93
|
+
if (loaded) {
|
|
94
|
+
// Add to cache
|
|
95
|
+
this.conversationDetails.push(detail);
|
|
96
|
+
return detail;
|
|
97
|
+
}
|
|
98
|
+
return null;
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* Create a new ConversationDetailEntity and automatically cache it
|
|
102
|
+
* The cache is the ONLY place GetEntityObject() should be called
|
|
103
|
+
* @param currentUser User context
|
|
104
|
+
* @returns New ConversationDetailEntity instance (already cached)
|
|
105
|
+
*/
|
|
106
|
+
async createConversationDetail(currentUser) {
|
|
107
|
+
const md = new Metadata();
|
|
108
|
+
const detail = await md.GetEntityObject('Conversation Details', currentUser);
|
|
109
|
+
// Automatically add to cache - user code doesn't need to do anything
|
|
110
|
+
// Note: Detail has no ID yet (not saved), so we can't deduplicate
|
|
111
|
+
// After Save(), the ID will be populated and future getConversationDetail() calls will find it
|
|
112
|
+
detail.UserRating = 1; // TO-DO - temp fix for a BUG - remove this after 2.105.0 makes this field optional again, right now it requires a value even though column is nullable
|
|
113
|
+
this.conversationDetails.push(detail);
|
|
114
|
+
return detail;
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* Load all ConversationDetail entities for a conversation and cache them
|
|
118
|
+
* Used when loading a conversation's message history
|
|
119
|
+
* @param conversationId The conversation ID
|
|
120
|
+
* @param currentUser User context
|
|
121
|
+
* @returns Array of ConversationDetailEntity objects
|
|
122
|
+
*/
|
|
123
|
+
async loadConversationDetails(conversationId, currentUser) {
|
|
124
|
+
const md = new Metadata();
|
|
125
|
+
const rv = new (await import('@memberjunction/core')).RunView();
|
|
126
|
+
const result = await rv.RunView({
|
|
127
|
+
EntityName: 'Conversation Details',
|
|
128
|
+
ExtraFilter: `ConversationID='${conversationId}'`,
|
|
129
|
+
OrderBy: '__mj_CreatedAt ASC',
|
|
130
|
+
ResultType: 'entity_object'
|
|
131
|
+
}, currentUser);
|
|
132
|
+
if (result.Success) {
|
|
133
|
+
const details = result.Results || [];
|
|
134
|
+
// Add all to cache (avoid duplicates by checking ID)
|
|
135
|
+
for (const detail of details) {
|
|
136
|
+
const existingIndex = this.conversationDetails.findIndex(d => d.ID === detail.ID);
|
|
137
|
+
if (existingIndex >= 0) {
|
|
138
|
+
// Replace existing (ensures we keep the same object reference)
|
|
139
|
+
this.conversationDetails[existingIndex] = detail;
|
|
140
|
+
}
|
|
141
|
+
else {
|
|
142
|
+
// Add new
|
|
143
|
+
this.conversationDetails.push(detail);
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
return details;
|
|
147
|
+
}
|
|
148
|
+
return [];
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* Get all cached ConversationDetail entities for a conversation (no DB call)
|
|
152
|
+
* @param conversationId The conversation ID
|
|
153
|
+
* @returns Array of cached conversation details
|
|
154
|
+
*/
|
|
155
|
+
getCachedConversationDetails(conversationId) {
|
|
156
|
+
return this.conversationDetails.filter(d => d.ConversationID === conversationId);
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* Remove a ConversationDetailEntity from the cache
|
|
160
|
+
* @param id The conversation detail ID to remove
|
|
161
|
+
*/
|
|
162
|
+
removeConversationDetail(id) {
|
|
163
|
+
this.conversationDetails = this.conversationDetails.filter(d => d.ID !== id);
|
|
164
|
+
}
|
|
165
|
+
// =============================================================================
|
|
166
|
+
// Cache Management
|
|
167
|
+
// =============================================================================
|
|
168
|
+
/**
|
|
169
|
+
* Clear all cached entities
|
|
170
|
+
* Call when switching environments, users, or when needed
|
|
171
|
+
*/
|
|
172
|
+
clear() {
|
|
173
|
+
this.conversations = [];
|
|
174
|
+
this.conversationDetails = [];
|
|
175
|
+
}
|
|
176
|
+
/**
|
|
177
|
+
* Clear cached entities for a specific conversation
|
|
178
|
+
* @param conversationId The conversation ID
|
|
179
|
+
*/
|
|
180
|
+
clearConversation(conversationId) {
|
|
181
|
+
this.conversations = this.conversations.filter(c => c.ID !== conversationId);
|
|
182
|
+
this.conversationDetails = this.conversationDetails.filter(d => d.ConversationID !== conversationId);
|
|
183
|
+
}
|
|
184
|
+
/**
|
|
185
|
+
* Get cache statistics for debugging
|
|
186
|
+
* @returns Object with cache sizes
|
|
187
|
+
*/
|
|
188
|
+
getStats() {
|
|
189
|
+
return {
|
|
190
|
+
conversations: this.conversations.length,
|
|
191
|
+
conversationDetails: this.conversationDetails.length
|
|
192
|
+
};
|
|
193
|
+
}
|
|
194
|
+
static ɵfac = function DataCacheService_Factory(t) { return new (t || DataCacheService)(); };
|
|
195
|
+
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: DataCacheService, factory: DataCacheService.ɵfac, providedIn: 'root' });
|
|
196
|
+
}
|
|
197
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DataCacheService, [{
|
|
198
|
+
type: Injectable,
|
|
199
|
+
args: [{
|
|
200
|
+
providedIn: 'root'
|
|
201
|
+
}]
|
|
202
|
+
}], () => [], null); })();
|
|
203
|
+
//# sourceMappingURL=data-cache.service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-cache.service.js","sourceRoot":"","sources":["../../../src/lib/services/data-cache.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,OAAO,EAAE,QAAQ,EAAwB,MAAM,sBAAsB,CAAC;;AAEtE;;;;;;;;;GASG;AAIH,MAAM,OAAO,gBAAgB;IAC3B,uCAAuC;IAC/B,aAAa,GAAyB,EAAE,CAAC;IACzC,mBAAmB,GAA+B,EAAE,CAAC;IAE7D,gBAAe,CAAC;IAEhB,gFAAgF;IAChF,6BAA6B;IAC7B,gFAAgF;IAEhF;;;;;OAKG;IACH,KAAK,CAAC,eAAe,CAAC,EAAU,EAAE,WAAqB;QACrD,oBAAoB;QACpB,MAAM,MAAM,GAAG,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC;QACzD,IAAI,MAAM,EAAE,CAAC;YACX,OAAO,MAAM,CAAC;QAChB,CAAC;QAED,8BAA8B;QAC9B,MAAM,EAAE,GAAG,IAAI,QAAQ,EAAE,CAAC;QAC1B,MAAM,YAAY,GAAG,MAAM,EAAE,CAAC,eAAe,CAAqB,eAAe,EAAE,WAAW,CAAC,CAAC;QAChG,MAAM,MAAM,G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BAAmB,GAAG,IAAI,CAAC,mBAAmB,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,cAAc,KAAK,cAAc,CAAC,CAAC;IACvG,CAAC;IAED;;;OAGG;IACH,QAAQ;QACN,OAAO;YACL,aAAa,EAAE,IAAI,CAAC,aAAa,CAAC,MAAM;YACxC,mBAAmB,EAAE,IAAI,CAAC,mBAAmB,CAAC,MAAM;SACrD,CAAC;IACJ,CAAC;0EAtNU,gBAAgB;gEAAhB,gBAAgB,WAAhB,gBAAgB,mBAFf,MAAM;;iFAEP,gBAAgB;cAH5B,UAAU;eAAC;gBACV,UAAU,EAAE,MAAM;aACnB"}
|
package/dist/public-api.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from './lib/conversations.module';
|
|
2
2
|
export * from './lib/models/conversation-state.model';
|
|
3
3
|
export * from './lib/models/notification.model';
|
|
4
|
+
export * from './lib/services/data-cache.service';
|
|
4
5
|
export * from './lib/services/conversation-state.service';
|
|
5
6
|
export * from './lib/services/artifact-state.service';
|
|
6
7
|
export * from './lib/services/agent-state.service';
|
|
@@ -17,10 +18,6 @@ export * from './lib/components/navigation/conversation-navigation.component';
|
|
|
17
18
|
export * from './lib/components/sidebar/conversation-sidebar.component';
|
|
18
19
|
export * from './lib/components/conversation/conversation-list.component';
|
|
19
20
|
export * from './lib/components/conversation/conversation-chat-area.component';
|
|
20
|
-
export * from './lib/components/artifact/artifact-panel.component';
|
|
21
|
-
export * from './lib/components/artifact/artifact-viewer.component';
|
|
22
|
-
export * from './lib/components/artifact/artifact-version-history.component';
|
|
23
|
-
export * from './lib/components/artifact/inline-artifact.component';
|
|
24
21
|
export * from './lib/components/message/message-item.component';
|
|
25
22
|
export * from './lib/components/message/message-list.component';
|
|
26
23
|
export * from './lib/components/message/message-input.component';
|
|
@@ -30,8 +27,8 @@ export * from './lib/components/collection/collection-view.component';
|
|
|
30
27
|
export * from './lib/components/collection/collection-artifact-card.component';
|
|
31
28
|
export * from './lib/components/project/project-selector.component';
|
|
32
29
|
export * from './lib/components/project/project-form-modal.component';
|
|
33
|
-
export * from './lib/components/task/
|
|
34
|
-
export * from './lib/components/
|
|
30
|
+
export * from './lib/components/task/tasks-full-view.component';
|
|
31
|
+
export * from './lib/components/tasks/task-widget.component';
|
|
35
32
|
export * from './lib/components/agent/agent-process-panel.component';
|
|
36
33
|
export * from './lib/components/agent/active-agent-indicator.component';
|
|
37
34
|
export * from './lib/components/active-tasks/active-tasks-panel.component';
|
package/dist/public-api.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../src/public-api.ts"],"names":[],"mappings":"AAKA,cAAc,4BAA4B,CAAC;AAG3C,cAAc,uCAAuC,CAAC;AACtD,cAAc,iCAAiC,CAAC;AAGhD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,uCAAuC,CAAC;AACtD,cAAc,oCAAoC,CAAC;AACnD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,qCAAqC,CAAC;AACpD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,qCAAqC,CAAC;AACpD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,uCAAuC,CAAC;AACtD,cAAc,6CAA6C,CAAC;AAG5D,cAAc,6DAA6D,CAAC;AAC5E,cAAc,+DAA+D,CAAC;AAC9E,cAAc,yDAAyD,CAAC;AACxE,cAAc,2DAA2D,CAAC;AAC1E,cAAc,gEAAgE,CAAC;AAC/E,cAAc,
|
|
1
|
+
{"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../src/public-api.ts"],"names":[],"mappings":"AAKA,cAAc,4BAA4B,CAAC;AAG3C,cAAc,uCAAuC,CAAC;AACtD,cAAc,iCAAiC,CAAC;AAGhD,cAAc,mCAAmC,CAAC;AAClD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,uCAAuC,CAAC;AACtD,cAAc,oCAAoC,CAAC;AACnD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,qCAAqC,CAAC;AACpD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,qCAAqC,CAAC;AACpD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,uCAAuC,CAAC;AACtD,cAAc,6CAA6C,CAAC;AAG5D,cAAc,6DAA6D,CAAC;AAC5E,cAAc,+DAA+D,CAAC;AAC9E,cAAc,yDAAyD,CAAC;AACxE,cAAc,2DAA2D,CAAC;AAC1E,cAAc,gEAAgE,CAAC;AAC/E,cAAc,iDAAiD,CAAC;AAChE,cAAc,iDAAiD,CAAC;AAChE,cAAc,kDAAkD,CAAC;AACjE,cAAc,qDAAqD,CAAC;AACpE,cAAc,uDAAuD,CAAC;AACtE,cAAc,uDAAuD,CAAC;AACtE,cAAc,gEAAgE,CAAC;AAC/E,cAAc,qDAAqD,CAAC;AACpE,cAAc,uDAAuD,CAAC;AACtE,cAAc,iDAAiD,CAAC;AAChE,cAAc,8CAA8C,CAAC;AAC7D,cAAc,sDAAsD,CAAC;AACrE,cAAc,yDAAyD,CAAC;AACxE,cAAc,4DAA4D,CAAC;AAC3E,cAAc,8CAA8C,CAAC;AAC7D,cAAc,4DAA4D,CAAC;AAC3E,cAAc,4DAA4D,CAAC;AAC3E,cAAc,wCAAwC,CAAC"}
|
package/dist/public-api.js
CHANGED
|
@@ -7,6 +7,7 @@ export * from './lib/conversations.module';
|
|
|
7
7
|
export * from './lib/models/conversation-state.model';
|
|
8
8
|
export * from './lib/models/notification.model';
|
|
9
9
|
// Services - State
|
|
10
|
+
export * from './lib/services/data-cache.service';
|
|
10
11
|
export * from './lib/services/conversation-state.service';
|
|
11
12
|
export * from './lib/services/artifact-state.service';
|
|
12
13
|
export * from './lib/services/agent-state.service';
|
|
@@ -24,10 +25,6 @@ export * from './lib/components/navigation/conversation-navigation.component';
|
|
|
24
25
|
export * from './lib/components/sidebar/conversation-sidebar.component';
|
|
25
26
|
export * from './lib/components/conversation/conversation-list.component';
|
|
26
27
|
export * from './lib/components/conversation/conversation-chat-area.component';
|
|
27
|
-
export * from './lib/components/artifact/artifact-panel.component';
|
|
28
|
-
export * from './lib/components/artifact/artifact-viewer.component';
|
|
29
|
-
export * from './lib/components/artifact/artifact-version-history.component';
|
|
30
|
-
export * from './lib/components/artifact/inline-artifact.component';
|
|
31
28
|
export * from './lib/components/message/message-item.component';
|
|
32
29
|
export * from './lib/components/message/message-list.component';
|
|
33
30
|
export * from './lib/components/message/message-input.component';
|
|
@@ -37,8 +34,8 @@ export * from './lib/components/collection/collection-view.component';
|
|
|
37
34
|
export * from './lib/components/collection/collection-artifact-card.component';
|
|
38
35
|
export * from './lib/components/project/project-selector.component';
|
|
39
36
|
export * from './lib/components/project/project-form-modal.component';
|
|
40
|
-
export * from './lib/components/task/
|
|
41
|
-
export * from './lib/components/
|
|
37
|
+
export * from './lib/components/task/tasks-full-view.component';
|
|
38
|
+
export * from './lib/components/tasks/task-widget.component';
|
|
42
39
|
export * from './lib/components/agent/agent-process-panel.component';
|
|
43
40
|
export * from './lib/components/agent/active-agent-indicator.component';
|
|
44
41
|
export * from './lib/components/active-tasks/active-tasks-panel.component';
|
package/dist/public-api.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public-api.js","sourceRoot":"","sources":["../src/public-api.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,SAAS;AACT,cAAc,4BAA4B,CAAC;AAE3C,SAAS;AACT,cAAc,uCAAuC,CAAC;AACtD,cAAc,iCAAiC,CAAC;AAEhD,mBAAmB;AACnB,cAAc,2CAA2C,CAAC;AAC1D,cAAc,uCAAuC,CAAC;AACtD,cAAc,oCAAoC,CAAC;AACnD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,qCAAqC,CAAC;AACpD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,qCAAqC,CAAC;AACpD,cAAc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rE,cAAc,yDAAyD,CAAC;AACxE,cAAc,4DAA4D,CAAC;AAC3E,cAAc,8CAA8C,CAAC;AAC7D,cAAc,4DAA4D,CAAC;AAC3E,cAAc,4DAA4D,CAAC;AAC3E,cAAc,wCAAwC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@memberjunction/ng-conversations",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.106.0",
|
|
4
4
|
"description": "MemberJunction: Conversation, Collection, and Artifact management components for any Angular application",
|
|
5
5
|
"main": "./dist/public-api.js",
|
|
6
6
|
"typings": "./dist/public-api.d.ts",
|
|
@@ -28,15 +28,17 @@
|
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@memberjunction/core": "2.100.3",
|
|
30
30
|
"@memberjunction/global": "2.100.3",
|
|
31
|
-
"@memberjunction/core-entities": "2.
|
|
32
|
-
"@memberjunction/graphql-dataprovider": "2.
|
|
33
|
-
"@memberjunction/ai-engine-base": "2.
|
|
34
|
-
"@memberjunction/ai": "2.
|
|
35
|
-
"@memberjunction/ai-core-plus": "2.
|
|
36
|
-
"@memberjunction/ng-base-types": "2.
|
|
37
|
-
"@memberjunction/ng-container-directives": "2.
|
|
38
|
-
"@memberjunction/ng-notifications": "2.
|
|
39
|
-
"@memberjunction/ng-code-editor": "2.
|
|
31
|
+
"@memberjunction/core-entities": "2.106.0",
|
|
32
|
+
"@memberjunction/graphql-dataprovider": "2.106.0",
|
|
33
|
+
"@memberjunction/ai-engine-base": "2.106.0",
|
|
34
|
+
"@memberjunction/ai": "2.106.0",
|
|
35
|
+
"@memberjunction/ai-core-plus": "2.106.0",
|
|
36
|
+
"@memberjunction/ng-base-types": "2.106.0",
|
|
37
|
+
"@memberjunction/ng-container-directives": "2.106.0",
|
|
38
|
+
"@memberjunction/ng-notifications": "2.106.0",
|
|
39
|
+
"@memberjunction/ng-code-editor": "2.106.0",
|
|
40
|
+
"@memberjunction/ng-tasks": "2.106.0",
|
|
41
|
+
"@memberjunction/ng-artifacts": "2.106.0",
|
|
40
42
|
"@progress/kendo-angular-dialog": "16.2.0",
|
|
41
43
|
"@progress/kendo-angular-buttons": "16.2.0",
|
|
42
44
|
"@progress/kendo-angular-inputs": "16.2.0",
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { UserInfo } from '@memberjunction/core';
|
|
3
|
-
import { ArtifactStateService } from '../../services/artifact-state.service';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
type ArtifactTab = 'preview' | 'source' | 'history';
|
|
6
|
-
export declare class ArtifactPanelComponent {
|
|
7
|
-
private artifactState;
|
|
8
|
-
currentUser: UserInfo;
|
|
9
|
-
close: EventEmitter<void>;
|
|
10
|
-
activeTab: ArtifactTab;
|
|
11
|
-
activeArtifact: any;
|
|
12
|
-
constructor(artifactState: ArtifactStateService);
|
|
13
|
-
switchTab(tab: ArtifactTab): void;
|
|
14
|
-
shareArtifact(): void;
|
|
15
|
-
copyContent(): void;
|
|
16
|
-
downloadArtifact(): void;
|
|
17
|
-
maximizeArtifact(): void;
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ArtifactPanelComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ArtifactPanelComponent, "mj-artifact-panel", never, { "currentUser": { "alias": "currentUser"; "required": false; }; }, { "close": "close"; }, never, never, false, never>;
|
|
20
|
-
}
|
|
21
|
-
export {};
|
|
22
|
-
//# sourceMappingURL=artifact-panel.component.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"artifact-panel.component.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/artifact/artifact-panel.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4B,YAAY,EAAE,MAAM,eAAe,CAAC;AACvE,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,oBAAoB,EAAE,MAAM,uCAAuC,CAAC;;AAE7E,KAAK,WAAW,GAAG,SAAS,GAAG,QAAQ,GAAG,SAAS,CAAC;AAEpD,qBAkNa,sBAAsB;IAOrB,OAAO,CAAC,aAAa;IANxB,WAAW,EAAG,QAAQ,CAAC;IACtB,KAAK,qBAA4B;IAEpC,SAAS,EAAE,WAAW,CAAa;IACnC,cAAc,EAAE,GAAG,CAAQ;gBAEd,aAAa,EAAE,oBAAoB;IAOvD,SAAS,CAAC,GAAG,EAAE,WAAW,GAAG,IAAI;IAIjC,aAAa,IAAI,IAAI;IAIrB,WAAW,IAAI,IAAI;IAInB,gBAAgB,IAAI,IAAI;IAIxB,gBAAgB,IAAI,IAAI;yCA9Bb,sBAAsB;2CAAtB,sBAAsB;CAiClC"}
|