@memberjunction/ng-conversations 2.111.1 → 2.113.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/artifact-create-modal.component.js +1 -1
- package/dist/lib/components/collection/artifact-create-modal.component.js.map +1 -1
- package/dist/lib/components/collection/collection-artifact-card.component.d.ts +8 -7
- package/dist/lib/components/collection/collection-artifact-card.component.d.ts.map +1 -1
- package/dist/lib/components/collection/collection-artifact-card.component.js +52 -36
- package/dist/lib/components/collection/collection-artifact-card.component.js.map +1 -1
- package/dist/lib/components/collection/collection-view.component.d.ts +28 -9
- package/dist/lib/components/collection/collection-view.component.d.ts.map +1 -1
- package/dist/lib/components/collection/collection-view.component.js +124 -58
- package/dist/lib/components/collection/collection-view.component.js.map +1 -1
- package/dist/lib/components/collection/collections-full-view.component.d.ts +18 -6
- package/dist/lib/components/collection/collections-full-view.component.d.ts.map +1 -1
- package/dist/lib/components/collection/collections-full-view.component.js +82 -58
- package/dist/lib/components/collection/collections-full-view.component.js.map +1 -1
- package/dist/lib/components/conversation/conversation-chat-area.component.d.ts +37 -0
- package/dist/lib/components/conversation/conversation-chat-area.component.d.ts.map +1 -1
- package/dist/lib/components/conversation/conversation-chat-area.component.js +278 -162
- package/dist/lib/components/conversation/conversation-chat-area.component.js.map +1 -1
- package/dist/lib/components/conversation/conversation-list.component.d.ts +10 -3
- package/dist/lib/components/conversation/conversation-list.component.d.ts.map +1 -1
- package/dist/lib/components/conversation/conversation-list.component.js +118 -77
- package/dist/lib/components/conversation/conversation-list.component.js.map +1 -1
- package/dist/lib/components/global-tasks/global-tasks-panel.component.d.ts +25 -0
- package/dist/lib/components/global-tasks/global-tasks-panel.component.d.ts.map +1 -0
- package/dist/lib/components/global-tasks/global-tasks-panel.component.js +206 -0
- package/dist/lib/components/global-tasks/global-tasks-panel.component.js.map +1 -0
- package/dist/lib/components/message/conversation-message-rating.component.d.ts +47 -0
- package/dist/lib/components/message/conversation-message-rating.component.d.ts.map +1 -0
- package/dist/lib/components/message/conversation-message-rating.component.js +224 -0
- package/dist/lib/components/message/conversation-message-rating.component.js.map +1 -0
- package/dist/lib/components/message/message-input-box.component.d.ts.map +1 -1
- package/dist/lib/components/message/message-input-box.component.js +2 -12
- package/dist/lib/components/message/message-input-box.component.js.map +1 -1
- package/dist/lib/components/message/message-input.component.d.ts +17 -2
- package/dist/lib/components/message/message-input.component.d.ts.map +1 -1
- package/dist/lib/components/message/message-input.component.js +258 -275
- package/dist/lib/components/message/message-input.component.js.map +1 -1
- package/dist/lib/components/message/message-item.component.d.ts +31 -1
- package/dist/lib/components/message/message-item.component.d.ts.map +1 -1
- package/dist/lib/components/message/message-item.component.js +232 -116
- package/dist/lib/components/message/message-item.component.js.map +1 -1
- package/dist/lib/components/message/message-list.component.d.ts +3 -1
- package/dist/lib/components/message/message-list.component.d.ts.map +1 -1
- package/dist/lib/components/message/message-list.component.js +11 -2
- package/dist/lib/components/message/message-list.component.js.map +1 -1
- package/dist/lib/components/navigation/conversation-navigation.component.d.ts +7 -1
- package/dist/lib/components/navigation/conversation-navigation.component.d.ts.map +1 -1
- package/dist/lib/components/navigation/conversation-navigation.component.js +24 -14
- package/dist/lib/components/navigation/conversation-navigation.component.js.map +1 -1
- package/dist/lib/components/tasks/tasks-dropdown.component.d.ts +17 -28
- package/dist/lib/components/tasks/tasks-dropdown.component.d.ts.map +1 -1
- package/dist/lib/components/tasks/tasks-dropdown.component.js +175 -217
- package/dist/lib/components/tasks/tasks-dropdown.component.js.map +1 -1
- package/dist/lib/components/workspace/conversation-workspace.component.d.ts +14 -8
- package/dist/lib/components/workspace/conversation-workspace.component.d.ts.map +1 -1
- package/dist/lib/components/workspace/conversation-workspace.component.js +103 -64
- package/dist/lib/components/workspace/conversation-workspace.component.js.map +1 -1
- package/dist/lib/conversations.module.d.ts +54 -52
- package/dist/lib/conversations.module.d.ts.map +1 -1
- package/dist/lib/conversations.module.js +11 -3
- package/dist/lib/conversations.module.js.map +1 -1
- package/dist/lib/models/conversation-complete-query.model.d.ts +31 -22
- package/dist/lib/models/conversation-complete-query.model.d.ts.map +1 -1
- package/dist/lib/models/conversation-complete-query.model.js +5 -2
- package/dist/lib/models/conversation-complete-query.model.js.map +1 -1
- package/dist/lib/models/lazy-artifact-info.d.ts +3 -0
- package/dist/lib/models/lazy-artifact-info.d.ts.map +1 -1
- package/dist/lib/models/lazy-artifact-info.js +7 -2
- package/dist/lib/models/lazy-artifact-info.js.map +1 -1
- package/dist/lib/services/active-tasks.service.d.ts +18 -0
- package/dist/lib/services/active-tasks.service.d.ts.map +1 -1
- package/dist/lib/services/active-tasks.service.js +53 -3
- package/dist/lib/services/active-tasks.service.js.map +1 -1
- package/dist/lib/services/agent-state.service.d.ts.map +1 -1
- package/dist/lib/services/agent-state.service.js +5 -5
- package/dist/lib/services/agent-state.service.js.map +1 -1
- package/dist/lib/services/artifact-permission.service.d.ts.map +1 -1
- package/dist/lib/services/artifact-permission.service.js +3 -1
- package/dist/lib/services/artifact-permission.service.js.map +1 -1
- package/dist/lib/services/artifact-state.service.d.ts +22 -5
- package/dist/lib/services/artifact-state.service.d.ts.map +1 -1
- package/dist/lib/services/artifact-state.service.js +118 -30
- package/dist/lib/services/artifact-state.service.js.map +1 -1
- package/dist/lib/services/artifact-use-tracking.service.d.ts +35 -0
- package/dist/lib/services/artifact-use-tracking.service.d.ts.map +1 -0
- package/dist/lib/services/artifact-use-tracking.service.js +76 -0
- package/dist/lib/services/artifact-use-tracking.service.js.map +1 -0
- package/dist/lib/services/conversation-agent.service.d.ts +30 -3
- package/dist/lib/services/conversation-agent.service.d.ts.map +1 -1
- package/dist/lib/services/conversation-agent.service.js +101 -12
- package/dist/lib/services/conversation-agent.service.js.map +1 -1
- package/dist/lib/services/conversation-state.service.d.ts +13 -0
- package/dist/lib/services/conversation-state.service.d.ts.map +1 -1
- package/dist/lib/services/conversation-state.service.js +26 -0
- package/dist/lib/services/conversation-state.service.js.map +1 -1
- package/dist/lib/services/mention-autocomplete.service.d.ts.map +1 -1
- package/dist/lib/services/mention-autocomplete.service.js +1 -1
- package/dist/lib/services/mention-autocomplete.service.js.map +1 -1
- package/dist/lib/services/search.service.d.ts.map +1 -1
- package/dist/lib/services/search.service.js +3 -1
- package/dist/lib/services/search.service.js.map +1 -1
- package/dist/public-api.d.ts +3 -0
- package/dist/public-api.d.ts.map +1 -1
- package/dist/public-api.js +3 -0
- package/dist/public-api.js.map +1 -1
- package/package.json +14 -14
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tasks-dropdown.component.js","sourceRoot":"","sources":["../../../../src/lib/components/tasks/tasks-dropdown.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,YAAY,
|
|
1
|
+
{"version":3,"file":"tasks-dropdown.component.js","sourceRoot":"","sources":["../../../../src/lib/components/tasks/tasks-dropdown.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,YAAY,EAAqB,MAAM,eAAe,CAAC;AAI1F,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAC/B,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;;;;;;IAiBnC,+BAA2D;IAAA,YAAqB;IAAA,iBAAO;;;IAA5B,cAAqB;IAArB,4CAAqB;;;IAM5E,wBAAuE;;;IACvE,wBAA0D;;;;IAe1D,+BAEiC;IAA5B,uNAAS,2BAAiB,KAAC;IAC9B,0BAAgD;IAE9C,AADF,+BAA0B,cACA;IACtB,wBAA4B;IAC5B,YACF;IAAA,iBAAM;IACN,+BAA8B;IAAA,YAAmC;IAAA,iBAAM;IACvE,+BAA0B;IAAA,YAA0B;IAExD,AADE,AADsD,iBAAM,EACtD,EACF;;;;IALA,eACF;IADE,kDACF;IAC8B,eAAmC;IAAnC,6DAAmC;IACvC,eAA0B;IAA1B,oDAA0B;;;IAdxD,AADF,+BAAiE,c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AAC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,EAAE,CAAC;IACtE,CAAC;IAED,gBAAgB,CAAC,MAAc;QAC7B,MAAM,SAAS,GAAG,EAAE,CAAC;QACrB,IAAI,MAAM,CAAC,MAAM,IAAI,SAAS,EAAE,CAAC;YAC/B,OAAO,MAAM,CAAC;QAChB,CAAC;QACD,OAAO,MAAM,CAAC,SAAS,CAAC,CAAC,EAAE,SAAS,CAAC,GAAG,KAAK,CAAC;IAChD,CAAC;gFArFU,sBAAsB;6DAAtB,sBAAsB;YArW7B,AADF,8BAAsC,gBAMiF;YAHnH,mGAAS,oBAAgB,IAAC;YAI1B,uBAA2B;YAC3B,yEAA2D;YAC7D,iBAAS;YAET,wEAAkD;YAqEpD,iBAAM;;YA5EF,cAAuB;YACvB,AADA,oCAAuB,sCACgB;YACvC,4IAAkH;YAElF,eAAyB;YAAzB,8CAAyB;YAGvB,cAAY;YAAZ,iCAAY;;;iFA2VzC,sBAAsB;cAzWlC,SAAS;2BACE,mBAAmB,YACnB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkFT;0FAsRQ,WAAW;kBAAnB,KAAK;YACI,WAAW;kBAApB,MAAM;YACG,sBAAsB;kBAA/B,MAAM;;kFAHI,sBAAsB"}
|
|
@@ -6,6 +6,7 @@ import { ConversationStateService } from '../../services/conversation-state.serv
|
|
|
6
6
|
import { ArtifactStateService } from '../../services/artifact-state.service';
|
|
7
7
|
import { CollectionStateService } from '../../services/collection-state.service';
|
|
8
8
|
import { ArtifactPermissionService } from '../../services/artifact-permission.service';
|
|
9
|
+
import { MJNotificationService } from '@memberjunction/ng-notifications';
|
|
9
10
|
import { NavigationTab, WorkspaceLayout } from '../../models/conversation-state.model';
|
|
10
11
|
import { SearchResult } from '../../services/search.service';
|
|
11
12
|
import * as i0 from "@angular/core";
|
|
@@ -19,6 +20,7 @@ export declare class ConversationWorkspaceComponent extends BaseAngularComponent
|
|
|
19
20
|
artifactState: ArtifactStateService;
|
|
20
21
|
collectionState: CollectionStateService;
|
|
21
22
|
private artifactPermissionService;
|
|
23
|
+
private notificationService;
|
|
22
24
|
private cdr;
|
|
23
25
|
environmentId: string;
|
|
24
26
|
initialConversationId?: string;
|
|
@@ -29,9 +31,7 @@ export declare class ConversationWorkspaceComponent extends BaseAngularComponent
|
|
|
29
31
|
set activeTabInput(value: 'conversations' | 'collections' | 'tasks' | undefined);
|
|
30
32
|
set activeConversationInput(value: string | undefined);
|
|
31
33
|
set activeCollectionInput(value: string | undefined);
|
|
32
|
-
set
|
|
33
|
-
set activeVersionNumberInput(value: number | undefined);
|
|
34
|
-
private _pendingVersionNumber?;
|
|
34
|
+
set activeVersionIdInput(value: string | undefined);
|
|
35
35
|
set activeTaskInput(value: string | undefined);
|
|
36
36
|
private _activeTaskId?;
|
|
37
37
|
get activeTaskId(): string | undefined;
|
|
@@ -45,9 +45,10 @@ export declare class ConversationWorkspaceComponent extends BaseAngularComponent
|
|
|
45
45
|
tab: 'conversations' | 'collections' | 'tasks';
|
|
46
46
|
conversationId?: string | undefined;
|
|
47
47
|
collectionId?: string | undefined;
|
|
48
|
-
|
|
48
|
+
versionId?: string | undefined;
|
|
49
49
|
taskId?: string | undefined;
|
|
50
50
|
}>;
|
|
51
|
+
newConversationStarted: EventEmitter<void>;
|
|
51
52
|
activeTab: NavigationTab;
|
|
52
53
|
isSidebarVisible: boolean;
|
|
53
54
|
isArtifactPanelOpen: boolean;
|
|
@@ -55,6 +56,7 @@ export declare class ConversationWorkspaceComponent extends BaseAngularComponent
|
|
|
55
56
|
renamedConversationId: string | null;
|
|
56
57
|
activeArtifactId: string | null;
|
|
57
58
|
activeVersionNumber: number | null;
|
|
59
|
+
activeVersionId: string | null;
|
|
58
60
|
canShareActiveArtifact: boolean;
|
|
59
61
|
canEditActiveArtifact: boolean;
|
|
60
62
|
isArtifactShareModalOpen: boolean;
|
|
@@ -69,12 +71,13 @@ export declare class ConversationWorkspaceComponent extends BaseAngularComponent
|
|
|
69
71
|
private artifactPanelResizeStartWidth;
|
|
70
72
|
private previousConversationId;
|
|
71
73
|
private previousTaskId;
|
|
72
|
-
private
|
|
74
|
+
private previousVersionId;
|
|
75
|
+
private previousIsNewConversation;
|
|
73
76
|
private destroy$;
|
|
74
77
|
private readonly SIDEBAR_WIDTH_KEY;
|
|
75
78
|
private readonly ARTIFACT_PANEL_WIDTH_KEY;
|
|
76
79
|
tasksFilter: string;
|
|
77
|
-
constructor(conversationState: ConversationStateService, artifactState: ArtifactStateService, collectionState: CollectionStateService, artifactPermissionService: ArtifactPermissionService, cdr: ChangeDetectorRef);
|
|
80
|
+
constructor(conversationState: ConversationStateService, artifactState: ArtifactStateService, collectionState: CollectionStateService, artifactPermissionService: ArtifactPermissionService, notificationService: MJNotificationService, cdr: ChangeDetectorRef);
|
|
78
81
|
ngOnInit(): Promise<void>;
|
|
79
82
|
/**
|
|
80
83
|
* Builds the SQL filter for tasks in conversations the user has access to
|
|
@@ -125,7 +128,7 @@ export declare class ConversationWorkspaceComponent extends BaseAngularComponent
|
|
|
125
128
|
*/
|
|
126
129
|
onCollectionNavigated(event: {
|
|
127
130
|
collectionId: string | null;
|
|
128
|
-
|
|
131
|
+
versionId?: string | null;
|
|
129
132
|
}): void;
|
|
130
133
|
/**
|
|
131
134
|
* Handle navigation from artifact links
|
|
@@ -133,6 +136,9 @@ export declare class ConversationWorkspaceComponent extends BaseAngularComponent
|
|
|
133
136
|
onArtifactLinkNavigation(event: {
|
|
134
137
|
type: 'conversation' | 'collection';
|
|
135
138
|
id: string;
|
|
139
|
+
artifactId?: string;
|
|
140
|
+
versionNumber?: number;
|
|
141
|
+
versionId?: string;
|
|
136
142
|
}): void;
|
|
137
143
|
/**
|
|
138
144
|
* Load permissions for the given artifact
|
|
@@ -151,6 +157,6 @@ export declare class ConversationWorkspaceComponent extends BaseAngularComponent
|
|
|
151
157
|
*/
|
|
152
158
|
onArtifactShared(): Promise<void>;
|
|
153
159
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConversationWorkspaceComponent, never>;
|
|
154
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ConversationWorkspaceComponent, "mj-conversation-workspace", never, { "environmentId": { "alias": "environmentId"; "required": false; }; "initialConversationId": { "alias": "initialConversationId"; "required": false; }; "layout": { "alias": "layout"; "required": false; }; "currentUser": { "alias": "currentUser"; "required": false; }; "activeContext": { "alias": "activeContext"; "required": false; }; "contextItemId": { "alias": "contextItemId"; "required": false; }; "activeTabInput": { "alias": "activeTabInput"; "required": false; }; "activeConversationInput": { "alias": "activeConversationInput"; "required": false; }; "activeCollectionInput": { "alias": "activeCollectionInput"; "required": false; }; "
|
|
160
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ConversationWorkspaceComponent, "mj-conversation-workspace", never, { "environmentId": { "alias": "environmentId"; "required": false; }; "initialConversationId": { "alias": "initialConversationId"; "required": false; }; "layout": { "alias": "layout"; "required": false; }; "currentUser": { "alias": "currentUser"; "required": false; }; "activeContext": { "alias": "activeContext"; "required": false; }; "contextItemId": { "alias": "contextItemId"; "required": false; }; "activeTabInput": { "alias": "activeTabInput"; "required": false; }; "activeConversationInput": { "alias": "activeConversationInput"; "required": false; }; "activeCollectionInput": { "alias": "activeCollectionInput"; "required": false; }; "activeVersionIdInput": { "alias": "activeVersionIdInput"; "required": false; }; "activeTaskInput": { "alias": "activeTaskInput"; "required": false; }; }, { "conversationChanged": "conversationChanged"; "artifactOpened": "artifactOpened"; "openEntityRecord": "openEntityRecord"; "navigationChanged": "navigationChanged"; "newConversationStarted": "newConversationStarted"; }, never, never, false, never>;
|
|
155
161
|
}
|
|
156
162
|
//# sourceMappingURL=conversation-workspace.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conversation-workspace.component.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/workspace/conversation-workspace.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,YAAY,EACZ,MAAM,EACN,SAAS,EACT,OAAO,EACP,iBAAiB,EAClB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,kBAAkB,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAC/F,OAAO,EAAE,QAAQ,EAAE,YAAY,EAA0B,MAAM,sBAAsB,CAAC;AACtF,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,EAAE,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AACrF,OAAO,EAAE,oBAAoB,EAAE,MAAM,uCAAuC,CAAC;AAC7E,OAAO,EAAE,sBAAsB,EAAE,MAAM,yCAAyC,CAAC;AACjF,OAAO,EAAE,yBAAyB,EAAE,MAAM,4CAA4C,CAAC;AACvF,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AACvF,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;;AAI7D;;;;GAIG;AACH,qBAKa,8BAA+B,SAAQ,oBAAqB,YAAW,MAAM,EAAE,SAAS,EAAE,OAAO;
|
|
1
|
+
{"version":3,"file":"conversation-workspace.component.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/workspace/conversation-workspace.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,YAAY,EACZ,MAAM,EACN,SAAS,EACT,OAAO,EACP,iBAAiB,EAClB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,kBAAkB,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAC/F,OAAO,EAAE,QAAQ,EAAE,YAAY,EAA0B,MAAM,sBAAsB,CAAC;AACtF,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,EAAE,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AACrF,OAAO,EAAE,oBAAoB,EAAE,MAAM,uCAAuC,CAAC;AAC7E,OAAO,EAAE,sBAAsB,EAAE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I;IAgC9F;;OAEG;IACH,wBAAwB,CAAC,KAAK,EAAE;QAAC,IAAI,EAAE,cAAc,GAAG,YAAY,CAAC;QAAC,EAAE,EAAE,MAAM,CAAC;QAAC,UAAU,CAAC,EAAE,MAAM,CAAC;QAAC,aAAa,CAAC,EAAE,MAAM,CAAC;QAAC,SAAS,CAAC,EAAE,MAAM,CAAA;KAAC,GAAG,IAAI;IA6CzJ;;OAEG;YACW,uBAAuB;IAmBrC;;OAEG;IACG,wBAAwB,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAYjE;;OAEG;IACH,yBAAyB,IAAI,IAAI;IAKjC;;OAEG;IACG,gBAAgB,IAAI,OAAO,CAAC,IAAI,CAAC;yCA1qB5B,8BAA8B;2CAA9B,8BAA8B;CAmrB1C"}
|
|
@@ -8,18 +8,19 @@ import * as i1 from "../../services/conversation-state.service";
|
|
|
8
8
|
import * as i2 from "../../services/artifact-state.service";
|
|
9
9
|
import * as i3 from "../../services/collection-state.service";
|
|
10
10
|
import * as i4 from "../../services/artifact-permission.service";
|
|
11
|
-
import * as i5 from "@
|
|
12
|
-
import * as i6 from "@
|
|
13
|
-
import * as i7 from "@
|
|
14
|
-
import * as i8 from "
|
|
15
|
-
import * as i9 from "../
|
|
16
|
-
import * as i10 from "../
|
|
17
|
-
import * as i11 from "../
|
|
18
|
-
import * as i12 from "../
|
|
19
|
-
import * as i13 from "../
|
|
20
|
-
import * as i14 from "../
|
|
21
|
-
import * as i15 from "../
|
|
22
|
-
import * as i16 from "
|
|
11
|
+
import * as i5 from "@memberjunction/ng-notifications";
|
|
12
|
+
import * as i6 from "@angular/common";
|
|
13
|
+
import * as i7 from "@progress/kendo-angular-dialog";
|
|
14
|
+
import * as i8 from "@memberjunction/ng-artifacts";
|
|
15
|
+
import * as i9 from "../task/tasks-full-view.component";
|
|
16
|
+
import * as i10 from "../artifact/artifact-share-modal.component";
|
|
17
|
+
import * as i11 from "../navigation/conversation-navigation.component";
|
|
18
|
+
import * as i12 from "../sidebar/conversation-sidebar.component";
|
|
19
|
+
import * as i13 from "../conversation/conversation-chat-area.component";
|
|
20
|
+
import * as i14 from "../collection/collections-full-view.component";
|
|
21
|
+
import * as i15 from "../search/search-panel.component";
|
|
22
|
+
import * as i16 from "../toast/toast.component";
|
|
23
|
+
import * as i17 from "../../directives/search-shortcut.directive";
|
|
23
24
|
function ConversationWorkspaceComponent_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
24
25
|
i0.ɵɵelementStart(0, "div", 9);
|
|
25
26
|
i0.ɵɵelement(1, "mj-conversation-sidebar", 10);
|
|
@@ -93,6 +94,7 @@ export class ConversationWorkspaceComponent extends BaseAngularComponent {
|
|
|
93
94
|
artifactState;
|
|
94
95
|
collectionState;
|
|
95
96
|
artifactPermissionService;
|
|
97
|
+
notificationService;
|
|
96
98
|
cdr;
|
|
97
99
|
environmentId;
|
|
98
100
|
initialConversationId;
|
|
@@ -120,20 +122,16 @@ export class ConversationWorkspaceComponent extends BaseAngularComponent {
|
|
|
120
122
|
this.collectionState.setActiveCollection(value);
|
|
121
123
|
}
|
|
122
124
|
}
|
|
123
|
-
set
|
|
124
|
-
if (value && value !== this.
|
|
125
|
-
console.log('🔗 Deep link to
|
|
125
|
+
set activeVersionIdInput(value) {
|
|
126
|
+
if (value && value !== this.activeVersionId) {
|
|
127
|
+
console.log('🔗 Deep link to version:', value);
|
|
126
128
|
this.activeTab = 'collections';
|
|
127
|
-
//
|
|
128
|
-
this.
|
|
129
|
-
|
|
129
|
+
// Store the version ID immediately to prevent ngDoCheck from clearing it
|
|
130
|
+
this.activeVersionId = value;
|
|
131
|
+
// Open artifact by version ID
|
|
132
|
+
this.artifactState.openArtifactByVersionId(value);
|
|
130
133
|
}
|
|
131
134
|
}
|
|
132
|
-
set activeVersionNumberInput(value) {
|
|
133
|
-
// Store version number to use when artifact is opened
|
|
134
|
-
this._pendingVersionNumber = value;
|
|
135
|
-
}
|
|
136
|
-
_pendingVersionNumber;
|
|
137
135
|
set activeTaskInput(value) {
|
|
138
136
|
if (value && value !== this._activeTaskId) {
|
|
139
137
|
this._activeTaskId = value;
|
|
@@ -147,6 +145,7 @@ export class ConversationWorkspaceComponent extends BaseAngularComponent {
|
|
|
147
145
|
artifactOpened = new EventEmitter();
|
|
148
146
|
openEntityRecord = new EventEmitter();
|
|
149
147
|
navigationChanged = new EventEmitter();
|
|
148
|
+
newConversationStarted = new EventEmitter();
|
|
150
149
|
activeTab = 'conversations';
|
|
151
150
|
isSidebarVisible = true;
|
|
152
151
|
isArtifactPanelOpen = false;
|
|
@@ -154,6 +153,7 @@ export class ConversationWorkspaceComponent extends BaseAngularComponent {
|
|
|
154
153
|
renamedConversationId = null;
|
|
155
154
|
activeArtifactId = null;
|
|
156
155
|
activeVersionNumber = null;
|
|
156
|
+
activeVersionId = null;
|
|
157
157
|
// Artifact permissions
|
|
158
158
|
canShareActiveArtifact = false;
|
|
159
159
|
canEditActiveArtifact = false;
|
|
@@ -172,19 +172,21 @@ export class ConversationWorkspaceComponent extends BaseAngularComponent {
|
|
|
172
172
|
artifactPanelResizeStartWidth = 0;
|
|
173
173
|
previousConversationId = null;
|
|
174
174
|
previousTaskId = undefined;
|
|
175
|
-
|
|
175
|
+
previousVersionId = null; // Used to track version changes in ngDoCheck
|
|
176
|
+
previousIsNewConversation = false; // Track new conversation state changes
|
|
176
177
|
destroy$ = new Subject();
|
|
177
178
|
// LocalStorage keys
|
|
178
179
|
SIDEBAR_WIDTH_KEY = 'mj-conversations-sidebar-width';
|
|
179
180
|
ARTIFACT_PANEL_WIDTH_KEY = 'mj-artifact-panel-width';
|
|
180
181
|
// Task filter for conversation-specific filtering
|
|
181
182
|
tasksFilter = '1=1';
|
|
182
|
-
constructor(conversationState, artifactState, collectionState, artifactPermissionService, cdr) {
|
|
183
|
+
constructor(conversationState, artifactState, collectionState, artifactPermissionService, notificationService, cdr) {
|
|
183
184
|
super();
|
|
184
185
|
this.conversationState = conversationState;
|
|
185
186
|
this.artifactState = artifactState;
|
|
186
187
|
this.collectionState = collectionState;
|
|
187
188
|
this.artifactPermissionService = artifactPermissionService;
|
|
189
|
+
this.notificationService = notificationService;
|
|
188
190
|
this.cdr = cdr;
|
|
189
191
|
}
|
|
190
192
|
async ngOnInit() {
|
|
@@ -266,6 +268,17 @@ export class ConversationWorkspaceComponent extends BaseAngularComponent {
|
|
|
266
268
|
console.log('📝 Conversations domain tasks filter built:', this.tasksFilter);
|
|
267
269
|
}
|
|
268
270
|
ngDoCheck() {
|
|
271
|
+
// Detect new unsaved conversation state changes
|
|
272
|
+
const currentIsNewConversation = this.conversationState.isNewUnsavedConversation;
|
|
273
|
+
if (currentIsNewConversation !== this.previousIsNewConversation) {
|
|
274
|
+
this.previousIsNewConversation = currentIsNewConversation;
|
|
275
|
+
if (currentIsNewConversation) {
|
|
276
|
+
// Emit event to clear URL conversation parameter
|
|
277
|
+
Promise.resolve().then(() => {
|
|
278
|
+
this.newConversationStarted.emit();
|
|
279
|
+
});
|
|
280
|
+
}
|
|
281
|
+
}
|
|
269
282
|
// Detect conversation changes and emit event
|
|
270
283
|
const currentId = this.conversationState.activeConversationId;
|
|
271
284
|
if (currentId !== this.previousConversationId) {
|
|
@@ -301,22 +314,8 @@ export class ConversationWorkspaceComponent extends BaseAngularComponent {
|
|
|
301
314
|
}
|
|
302
315
|
}
|
|
303
316
|
}
|
|
304
|
-
//
|
|
305
|
-
//
|
|
306
|
-
if (this.activeTab === 'collections') {
|
|
307
|
-
const currentArtifactId = this.activeArtifactId;
|
|
308
|
-
if (currentArtifactId !== this.previousArtifactId) {
|
|
309
|
-
this.previousArtifactId = currentArtifactId;
|
|
310
|
-
// Defer emission until after change detection completes to avoid ExpressionChangedAfterItHasBeenCheckedError
|
|
311
|
-
Promise.resolve().then(() => {
|
|
312
|
-
this.navigationChanged.emit({
|
|
313
|
-
tab: 'collections',
|
|
314
|
-
collectionId: this.collectionState.activeCollectionId || undefined,
|
|
315
|
-
artifactId: currentArtifactId || undefined
|
|
316
|
-
});
|
|
317
|
-
});
|
|
318
|
-
}
|
|
319
|
-
}
|
|
317
|
+
// Version changes are handled by onCollectionNavigated and deep link inputs
|
|
318
|
+
// We don't need ngDoCheck to track them as it causes double navigation events
|
|
320
319
|
}
|
|
321
320
|
ngOnDestroy() {
|
|
322
321
|
this.destroy$.next();
|
|
@@ -326,6 +325,7 @@ export class ConversationWorkspaceComponent extends BaseAngularComponent {
|
|
|
326
325
|
window.removeEventListener('mouseup', this.onResizeEnd.bind(this));
|
|
327
326
|
}
|
|
328
327
|
onTabChanged(tab) {
|
|
328
|
+
const wasOnDifferentTab = this.activeTab !== tab;
|
|
329
329
|
this.activeTab = tab;
|
|
330
330
|
// Emit navigation change event with current state
|
|
331
331
|
const navEvent = {
|
|
@@ -335,8 +335,21 @@ export class ConversationWorkspaceComponent extends BaseAngularComponent {
|
|
|
335
335
|
navEvent.conversationId = this.conversationState.activeConversationId || undefined;
|
|
336
336
|
}
|
|
337
337
|
else if (tab === 'collections') {
|
|
338
|
-
|
|
339
|
-
|
|
338
|
+
// If switching TO collections tab from another tab, clear to root level
|
|
339
|
+
if (wasOnDifferentTab) {
|
|
340
|
+
this.collectionState.setActiveCollection(null);
|
|
341
|
+
this.activeVersionId = null;
|
|
342
|
+
// Don't include collectionId or versionId - go to root
|
|
343
|
+
}
|
|
344
|
+
else {
|
|
345
|
+
// Already on collections tab, preserve current state
|
|
346
|
+
if (this.collectionState.activeCollectionId) {
|
|
347
|
+
navEvent.collectionId = this.collectionState.activeCollectionId;
|
|
348
|
+
}
|
|
349
|
+
if (this.activeVersionId && this.collectionState.activeCollectionId) {
|
|
350
|
+
navEvent.versionId = this.activeVersionId;
|
|
351
|
+
}
|
|
352
|
+
}
|
|
340
353
|
}
|
|
341
354
|
else if (tab === 'tasks') {
|
|
342
355
|
navEvent.taskId = this.activeTaskId || undefined;
|
|
@@ -360,15 +373,15 @@ export class ConversationWorkspaceComponent extends BaseAngularComponent {
|
|
|
360
373
|
this.isSearchPanelOpen = false;
|
|
361
374
|
}
|
|
362
375
|
async onRefreshAgentCache() {
|
|
363
|
-
console.log('🔄 Refreshing AI Engine cache...');
|
|
364
376
|
try {
|
|
365
377
|
await AIEngineBase.Instance.Config(true);
|
|
366
378
|
const agentCount = AIEngineBase.Instance.Agents?.length || 0;
|
|
367
|
-
|
|
379
|
+
this.notificationService.CreateSimpleNotification(`Agent cache refreshed (${agentCount} agents)`, 'success', 3000);
|
|
368
380
|
this.cdr.detectChanges();
|
|
369
381
|
}
|
|
370
382
|
catch (error) {
|
|
371
|
-
|
|
383
|
+
this.notificationService.CreateSimpleNotification('Failed to refresh agent cache', 'error', 3000);
|
|
384
|
+
console.error('Failed to refresh AI Engine:', error);
|
|
372
385
|
}
|
|
373
386
|
}
|
|
374
387
|
handleSearchResult(result) {
|
|
@@ -401,10 +414,11 @@ export class ConversationWorkspaceComponent extends BaseAngularComponent {
|
|
|
401
414
|
this.artifactState.openArtifact(result.id);
|
|
402
415
|
// If artifact is in a collection, navigate to that collection
|
|
403
416
|
const collectionId = result.collectionId || undefined;
|
|
417
|
+
// Search results don't have version ID, so just navigate to collection
|
|
418
|
+
// The artifact will open with latest version
|
|
404
419
|
this.navigationChanged.emit({
|
|
405
420
|
tab: 'collections',
|
|
406
|
-
collectionId
|
|
407
|
-
artifactId: result.id
|
|
421
|
+
collectionId
|
|
408
422
|
});
|
|
409
423
|
break;
|
|
410
424
|
case 'collection':
|
|
@@ -571,26 +585,33 @@ export class ConversationWorkspaceComponent extends BaseAngularComponent {
|
|
|
571
585
|
*/
|
|
572
586
|
onCollectionNavigated(event) {
|
|
573
587
|
console.log('📁 Collection navigated:', event);
|
|
588
|
+
// Store the version ID for URL sync
|
|
589
|
+
// CRITICAL: Only update activeVersionId if versionId was explicitly provided in the event
|
|
590
|
+
// If versionId is undefined (not provided), keep the current activeVersionId
|
|
591
|
+
if (event.versionId !== undefined) {
|
|
592
|
+
this.activeVersionId = event.versionId;
|
|
593
|
+
}
|
|
594
|
+
// Otherwise: versionId not provided in event, preserve current activeVersionId
|
|
574
595
|
// IMPORTANT: Don't emit navigationChanged here when doing programmatic navigation (deep linking)
|
|
575
|
-
// The artifact state is managed separately
|
|
576
|
-
// Only emit if the event explicitly includes
|
|
577
|
-
if (event.
|
|
596
|
+
// The artifact state is managed separately
|
|
597
|
+
// Only emit if the event explicitly includes a versionId, or if we're intentionally closing the artifact
|
|
598
|
+
if (event.versionId !== undefined) {
|
|
578
599
|
// Event explicitly specifies artifact state (user clicked artifact or intentionally closed it)
|
|
579
600
|
this.navigationChanged.emit({
|
|
580
601
|
tab: 'collections',
|
|
581
602
|
collectionId: event.collectionId || undefined,
|
|
582
|
-
|
|
603
|
+
versionId: event.versionId || undefined
|
|
583
604
|
});
|
|
584
605
|
}
|
|
585
|
-
else if (!this.
|
|
606
|
+
else if (!this.activeVersionId) {
|
|
586
607
|
// No artifact currently open, safe to emit collection-only navigation
|
|
587
608
|
this.navigationChanged.emit({
|
|
588
609
|
tab: 'collections',
|
|
589
610
|
collectionId: event.collectionId || undefined
|
|
590
611
|
});
|
|
591
612
|
}
|
|
592
|
-
// Otherwise: artifact is open but event doesn't specify
|
|
593
|
-
// Don't emit -
|
|
613
|
+
// Otherwise: artifact is open but event doesn't specify versionId
|
|
614
|
+
// Don't emit - preserve current URL state with artifact
|
|
594
615
|
}
|
|
595
616
|
/**
|
|
596
617
|
* Handle navigation from artifact links
|
|
@@ -599,6 +620,14 @@ export class ConversationWorkspaceComponent extends BaseAngularComponent {
|
|
|
599
620
|
console.log('🔗 Navigating from artifact link:', event);
|
|
600
621
|
if (event.type === 'conversation') {
|
|
601
622
|
this.activeTab = 'conversations';
|
|
623
|
+
// Close collection artifact viewer if it's open
|
|
624
|
+
this.artifactState.closeArtifact();
|
|
625
|
+
// Store pending artifact info so chat area can show it and scroll to message
|
|
626
|
+
if (event.artifactId) {
|
|
627
|
+
this.conversationState.pendingArtifactId = event.artifactId;
|
|
628
|
+
this.conversationState.pendingArtifactVersionNumber = event.versionNumber || null;
|
|
629
|
+
console.log('📦 Pending artifact set:', event.artifactId, 'v' + event.versionNumber);
|
|
630
|
+
}
|
|
602
631
|
this.conversationState.setActiveConversation(event.id);
|
|
603
632
|
this.navigationChanged.emit({
|
|
604
633
|
tab: 'conversations',
|
|
@@ -608,9 +637,19 @@ export class ConversationWorkspaceComponent extends BaseAngularComponent {
|
|
|
608
637
|
else if (event.type === 'collection') {
|
|
609
638
|
this.activeTab = 'collections';
|
|
610
639
|
this.collectionState.setActiveCollection(event.id);
|
|
640
|
+
// Open the artifact automatically when navigating to the collection
|
|
641
|
+
if (event.artifactId) {
|
|
642
|
+
this.artifactState.openArtifact(event.artifactId, event.versionNumber);
|
|
643
|
+
}
|
|
644
|
+
// Store version ID for URL sync (same as viewArtifact does)
|
|
645
|
+
if (event.versionId) {
|
|
646
|
+
this.activeVersionId = event.versionId;
|
|
647
|
+
}
|
|
648
|
+
// Emit navigation with version ID so URL includes it
|
|
611
649
|
this.navigationChanged.emit({
|
|
612
650
|
tab: 'collections',
|
|
613
|
-
collectionId: event.id
|
|
651
|
+
collectionId: event.id,
|
|
652
|
+
versionId: event.versionId
|
|
614
653
|
});
|
|
615
654
|
}
|
|
616
655
|
}
|
|
@@ -666,8 +705,8 @@ export class ConversationWorkspaceComponent extends BaseAngularComponent {
|
|
|
666
705
|
await this.loadArtifactPermissions(this.activeArtifactId);
|
|
667
706
|
}
|
|
668
707
|
}
|
|
669
|
-
static ɵfac = function ConversationWorkspaceComponent_Factory(t) { return new (t || ConversationWorkspaceComponent)(i0.ɵɵdirectiveInject(i1.ConversationStateService), i0.ɵɵdirectiveInject(i2.ArtifactStateService), i0.ɵɵdirectiveInject(i3.CollectionStateService), i0.ɵɵdirectiveInject(i4.ArtifactPermissionService), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
670
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ConversationWorkspaceComponent, selectors: [["mj-conversation-workspace"]], inputs: { environmentId: "environmentId", initialConversationId: "initialConversationId", layout: "layout", currentUser: "currentUser", activeContext: "activeContext", contextItemId: "contextItemId", activeTabInput: "activeTabInput", activeConversationInput: "activeConversationInput", activeCollectionInput: "activeCollectionInput",
|
|
708
|
+
static ɵfac = function ConversationWorkspaceComponent_Factory(t) { return new (t || ConversationWorkspaceComponent)(i0.ɵɵdirectiveInject(i1.ConversationStateService), i0.ɵɵdirectiveInject(i2.ArtifactStateService), i0.ɵɵdirectiveInject(i3.CollectionStateService), i0.ɵɵdirectiveInject(i4.ArtifactPermissionService), i0.ɵɵdirectiveInject(i5.MJNotificationService), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
709
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ConversationWorkspaceComponent, selectors: [["mj-conversation-workspace"]], inputs: { environmentId: "environmentId", initialConversationId: "initialConversationId", layout: "layout", currentUser: "currentUser", activeContext: "activeContext", contextItemId: "contextItemId", activeTabInput: "activeTabInput", activeConversationInput: "activeConversationInput", activeCollectionInput: "activeCollectionInput", activeVersionIdInput: "activeVersionIdInput", activeTaskInput: "activeTaskInput" }, outputs: { conversationChanged: "conversationChanged", artifactOpened: "artifactOpened", openEntityRecord: "openEntityRecord", navigationChanged: "navigationChanged", newConversationStarted: "newConversationStarted" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 13, vars: 15, consts: [["mjSearchShortcut", "", "kendoDialogContainer", "", 1, "conversation-workspace", 3, "searchTriggered"], [1, "workspace-navigation"], [3, "tabChanged", "sidebarToggled", "searchTriggered", "refreshTriggered", "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"], [3, "close", "resultSelected", "isOpen", "environmentId", "currentUser"], [3, "saved", "cancelled", "isOpen", "artifact", "currentUser"], [1, "workspace-sidebar"], [3, "activeTab", "environmentId", "currentUser", "renamedConversationId"], [1, "sidebar-resize-handle", 3, "mousedown"], [1, "workspace-main"], [3, "collectionNavigated", "environmentId", "currentUser"], [3, "openEntityRecord", "environmentId", "currentUser", "baseFilter", "activeTaskId"], [3, "conversationRenamed", "openEntityRecord", "taskClicked", "artifactLinkClicked", "environmentId", "currentUser"], [1, "artifact-panel-resize-handle", 3, "mousedown"], [1, "workspace-artifact-panel"], [3, "closed", "navigateToLink", "shareRequested", "artifactId", "currentUser", "environmentId", "versionNumber", "showSaveToCollection", "viewContext", "contextCollectionId", "canShare", "canEdit"]], template: function ConversationWorkspaceComponent_Template(rf, ctx) { if (rf & 1) {
|
|
671
710
|
i0.ɵɵelementStart(0, "div", 0);
|
|
672
711
|
i0.ɵɵlistener("searchTriggered", function ConversationWorkspaceComponent_Template_div_searchTriggered_0_listener() { return ctx.openSearch(); });
|
|
673
712
|
i0.ɵɵelementStart(1, "div", 1)(2, "mj-conversation-navigation", 2);
|
|
@@ -703,12 +742,12 @@ export class ConversationWorkspaceComponent extends BaseAngularComponent {
|
|
|
703
742
|
i0.ɵɵproperty("isOpen", ctx.isSearchPanelOpen)("environmentId", ctx.environmentId)("currentUser", ctx.currentUser);
|
|
704
743
|
i0.ɵɵadvance(2);
|
|
705
744
|
i0.ɵɵproperty("isOpen", ctx.isArtifactShareModalOpen)("artifact", ctx.artifactToShare)("currentUser", ctx.currentUser);
|
|
706
|
-
} }, dependencies: [
|
|
745
|
+
} }, dependencies: [i6.NgIf, i7.DialogContainerDirective, i8.ArtifactViewerPanelComponent, i9.TasksFullViewComponent, i10.ArtifactShareModalComponent, i11.ConversationNavigationComponent, i12.ConversationSidebarComponent, i13.ConversationChatAreaComponent, i14.CollectionsFullViewComponent, i15.SearchPanelComponent, i16.ToastComponent, i17.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: ew-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: #1e40af;\n}\n\n.sidebar-resize-handle[_ngcontent-%COMP%]:active {\n background: #1e3a8a;\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 cursor: ew-resize;\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 background-color: #FFF;\n overflow: hidden;\n min-width: 300px;\n max-width: 70%;\n}\n\n.artifact-panel-resize-handle[_ngcontent-%COMP%] {\n width: 4px;\n background-color: transparent;\n cursor: ew-resize;\n flex-shrink: 0;\n transition: background-color 0.2s;\n position: relative;\n z-index: 10;\n}\n\n\n\n.artifact-panel-resize-handle[_ngcontent-%COMP%]::before {\n content: '';\n position: absolute;\n top: 0;\n bottom: 0;\n left: -4px;\n right: -4px;\n cursor: ew-resize;\n}\n\n.artifact-panel-resize-handle[_ngcontent-%COMP%]:hover {\n background-color: #1e40af;\n}\n\n.artifact-panel-resize-handle[_ngcontent-%COMP%]:active {\n background-color: #1e3a8a;\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}"] });
|
|
707
746
|
}
|
|
708
747
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ConversationWorkspaceComponent, [{
|
|
709
748
|
type: Component,
|
|
710
749
|
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 (refreshTriggered)=\"onRefreshAgentCache()\">\n </mj-conversation-navigation>\n </div>\n\n <div class=\"workspace-content\">\n <!-- Left Sidebar (hidden when Collections or Tasks view is active) -->\n <div class=\"workspace-sidebar\" *ngIf=\"isSidebarVisible && activeTab !== 'collections' && activeTab !== 'tasks'\" [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' && activeTab !== 'tasks'\" (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 (collectionNavigated)=\"onCollectionNavigated($event)\">\n </mj-collections-full-view>\n </div>\n\n <!-- Tasks Full-Panel View -->\n <div class=\"workspace-main\" *ngIf=\"activeTab === 'tasks'\">\n <mj-tasks-full-view\n [environmentId]=\"environmentId\"\n [currentUser]=\"currentUser\"\n [baseFilter]=\"tasksFilter\"\n [activeTaskId]=\"activeTaskId\"\n (openEntityRecord)=\"onOpenEntityRecordFromTasks($event)\">\n </mj-tasks-full-view>\n </div>\n\n <!-- Main Chat Area (only shown when not in Collections or Tasks view) -->\n <div class=\"workspace-main\" *ngIf=\"activeTab !== 'collections' && activeTab !== 'tasks'\">\n <mj-conversation-chat-area\n [environmentId]=\"environmentId\"\n [currentUser]=\"currentUser\"\n (conversationRenamed)=\"onConversationRenamed($event)\"\n (openEntityRecord)=\"onOpenEntityRecord($event)\"\n (taskClicked)=\"onTaskClicked($event)\"\n (artifactLinkClicked)=\"onArtifactLinkNavigation($event)\">\n </mj-conversation-chat-area>\n </div>\n\n <!-- Right Artifact Panel -->\n @if (isArtifactPanelOpen && activeArtifactId) {\n <div class=\"artifact-panel-resize-handle\" (mousedown)=\"onArtifactPanelResizeStart($event)\"></div>\n <div class=\"workspace-artifact-panel\" [style.width.%]=\"artifactPanelWidth\">\n <mj-artifact-viewer-panel\n [artifactId]=\"activeArtifactId\"\n [currentUser]=\"currentUser\"\n [environmentId]=\"environmentId\"\n [versionNumber]=\"activeVersionNumber ?? undefined\"\n [showSaveToCollection]=\"activeTab !== 'collections'\"\n [viewContext]=\"activeTab === 'collections' ? 'collection' : 'conversation'\"\n [contextCollectionId]=\"collectionState.activeCollectionId ?? undefined\"\n [canShare]=\"canShareActiveArtifact\"\n [canEdit]=\"canEditActiveArtifact\"\n (closed)=\"closeArtifactPanel()\"\n (navigateToLink)=\"onArtifactLinkNavigation($event)\"\n (shareRequested)=\"onArtifactShareRequested($event)\">\n </mj-artifact-viewer-panel>\n </div>\n }\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\n <!-- Artifact Share Modal -->\n <mj-artifact-share-modal\n [isOpen]=\"isArtifactShareModalOpen\"\n [artifact]=\"artifactToShare\"\n [currentUser]=\"currentUser\"\n (saved)=\"onArtifactShared()\"\n (cancelled)=\"onArtifactShareModalClose()\">\n </mj-artifact-share-modal>\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: ew-resize;\n flex-shrink: 0;\n position: relative;\n transition: background-color 0.2s;\n}\n\n.sidebar-resize-handle:hover {\n background: #1e40af;\n}\n\n.sidebar-resize-handle:active {\n background: #1e3a8a;\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 cursor: ew-resize;\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 background-color: #FFF;\n overflow: hidden;\n min-width: 300px;\n max-width: 70%;\n}\n\n.artifact-panel-resize-handle {\n width: 4px;\n background-color: transparent;\n cursor: ew-resize;\n flex-shrink: 0;\n transition: background-color 0.2s;\n position: relative;\n z-index: 10;\n}\n\n/* Wider hit area for easier grabbing */\n.artifact-panel-resize-handle::before {\n content: '';\n position: absolute;\n top: 0;\n bottom: 0;\n left: -4px;\n right: -4px;\n cursor: ew-resize;\n}\n\n.artifact-panel-resize-handle:hover {\n background-color: #1e40af;\n}\n\n.artifact-panel-resize-handle:active {\n background-color: #1e3a8a;\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}"] }]
|
|
711
|
-
}], () => [{ type: i1.ConversationStateService }, { type: i2.ArtifactStateService }, { type: i3.CollectionStateService }, { type: i4.ArtifactPermissionService }, { type: i0.ChangeDetectorRef }], { environmentId: [{
|
|
750
|
+
}], () => [{ type: i1.ConversationStateService }, { type: i2.ArtifactStateService }, { type: i3.CollectionStateService }, { type: i4.ArtifactPermissionService }, { type: i5.MJNotificationService }, { type: i0.ChangeDetectorRef }], { environmentId: [{
|
|
712
751
|
type: Input
|
|
713
752
|
}], initialConversationId: [{
|
|
714
753
|
type: Input
|
|
@@ -726,9 +765,7 @@ export class ConversationWorkspaceComponent extends BaseAngularComponent {
|
|
|
726
765
|
type: Input
|
|
727
766
|
}], activeCollectionInput: [{
|
|
728
767
|
type: Input
|
|
729
|
-
}],
|
|
730
|
-
type: Input
|
|
731
|
-
}], activeVersionNumberInput: [{
|
|
768
|
+
}], activeVersionIdInput: [{
|
|
732
769
|
type: Input
|
|
733
770
|
}], activeTaskInput: [{
|
|
734
771
|
type: Input
|
|
@@ -740,6 +777,8 @@ export class ConversationWorkspaceComponent extends BaseAngularComponent {
|
|
|
740
777
|
type: Output
|
|
741
778
|
}], navigationChanged: [{
|
|
742
779
|
type: Output
|
|
780
|
+
}], newConversationStarted: [{
|
|
781
|
+
type: Output
|
|
743
782
|
}] }); })();
|
|
744
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ConversationWorkspaceComponent, { className: "ConversationWorkspaceComponent", filePath: "src/lib/components/workspace/conversation-workspace.component.ts", lineNumber:
|
|
783
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ConversationWorkspaceComponent, { className: "ConversationWorkspaceComponent", filePath: "src/lib/components/workspace/conversation-workspace.component.ts", lineNumber: 34 }); })();
|
|
745
784
|
//# sourceMappingURL=conversation-workspace.component.js.map
|