@memberjunction/ng-explorer-core 6.2.0-edge.3 → 6.2.0-edge.5
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/README.md +10 -0
- package/dist/app-routing.module.d.ts.map +1 -1
- package/dist/app-routing.module.js +13 -6
- package/dist/app-routing.module.js.map +1 -1
- package/dist/generated/lazy-feature-config.d.ts +1 -1
- package/dist/generated/lazy-feature-config.d.ts.map +1 -1
- package/dist/generated/lazy-feature-config.js +4 -2
- package/dist/generated/lazy-feature-config.js.map +1 -1
- package/dist/lib/guards/moved-nav-item-redirect.d.ts +15 -0
- package/dist/lib/guards/moved-nav-item-redirect.d.ts.map +1 -0
- package/dist/lib/guards/moved-nav-item-redirect.js +37 -0
- package/dist/lib/guards/moved-nav-item-redirect.js.map +1 -0
- package/dist/lib/oauth/oauth-callback.component.d.ts +2 -0
- package/dist/lib/oauth/oauth-callback.component.d.ts.map +1 -1
- package/dist/lib/oauth/oauth-callback.component.js +10 -10
- package/dist/lib/oauth/oauth-callback.component.js.map +1 -1
- package/dist/lib/omnibar/omnibar-dashboard-matches.d.ts +34 -0
- package/dist/lib/omnibar/omnibar-dashboard-matches.d.ts.map +1 -0
- package/dist/lib/omnibar/omnibar-dashboard-matches.js +70 -0
- package/dist/lib/omnibar/omnibar-dashboard-matches.js.map +1 -0
- package/dist/lib/omnibar/omnibar-palette.component.d.ts +27 -2
- package/dist/lib/omnibar/omnibar-palette.component.d.ts.map +1 -1
- package/dist/lib/omnibar/omnibar-palette.component.js +126 -65
- package/dist/lib/omnibar/omnibar-palette.component.js.map +1 -1
- package/dist/lib/omnibar/omnibar-provider.d.ts +4 -0
- package/dist/lib/omnibar/omnibar-provider.d.ts.map +1 -1
- package/dist/lib/omnibar/omnibar-provider.js.map +1 -1
- package/dist/lib/omnibar/providers/omnibar-record.provider.d.ts +2 -2
- package/dist/lib/omnibar/providers/omnibar-record.provider.d.ts.map +1 -1
- package/dist/lib/omnibar/providers/omnibar-record.provider.js +3 -7
- package/dist/lib/omnibar/providers/omnibar-record.provider.js.map +1 -1
- package/dist/lib/omnibar/providers/omnibar-search.provider.d.ts +15 -2
- package/dist/lib/omnibar/providers/omnibar-search.provider.d.ts.map +1 -1
- package/dist/lib/omnibar/providers/omnibar-search.provider.js +59 -7
- package/dist/lib/omnibar/providers/omnibar-search.provider.js.map +1 -1
- package/dist/lib/profile/forking-setting.d.ts +8 -0
- package/dist/lib/profile/forking-setting.d.ts.map +1 -0
- package/dist/lib/profile/forking-setting.js +18 -0
- package/dist/lib/profile/forking-setting.js.map +1 -0
- package/dist/lib/profile/profile-dialog.component.d.ts +8 -0
- package/dist/lib/profile/profile-dialog.component.d.ts.map +1 -1
- package/dist/lib/profile/profile-dialog.component.js +182 -92
- package/dist/lib/profile/profile-dialog.component.js.map +1 -1
- package/dist/lib/resource-wrappers/artifact-resource.component.d.ts +16 -1
- package/dist/lib/resource-wrappers/artifact-resource.component.d.ts.map +1 -1
- package/dist/lib/resource-wrappers/artifact-resource.component.js +27 -4
- package/dist/lib/resource-wrappers/artifact-resource.component.js.map +1 -1
- package/dist/lib/resource-wrappers/chat-conversations-resource.component.d.ts +24 -21
- package/dist/lib/resource-wrappers/chat-conversations-resource.component.d.ts.map +1 -1
- package/dist/lib/resource-wrappers/chat-conversations-resource.component.js +231 -54
- package/dist/lib/resource-wrappers/chat-conversations-resource.component.js.map +1 -1
- package/dist/lib/resource-wrappers/chat-search-routing.d.ts +10 -3
- package/dist/lib/resource-wrappers/chat-search-routing.d.ts.map +1 -1
- package/dist/lib/resource-wrappers/chat-search-routing.js +11 -4
- package/dist/lib/resource-wrappers/chat-search-routing.js.map +1 -1
- package/dist/lib/resource-wrappers/chat-tasks-resource.component.d.ts +12 -3
- package/dist/lib/resource-wrappers/chat-tasks-resource.component.d.ts.map +1 -1
- package/dist/lib/resource-wrappers/chat-tasks-resource.component.js +18 -3
- package/dist/lib/resource-wrappers/chat-tasks-resource.component.js.map +1 -1
- package/dist/lib/resource-wrappers/dashboard-add-to-menu.component.d.ts +29 -0
- package/dist/lib/resource-wrappers/dashboard-add-to-menu.component.d.ts.map +1 -0
- package/dist/lib/resource-wrappers/dashboard-add-to-menu.component.js +141 -0
- package/dist/lib/resource-wrappers/dashboard-add-to-menu.component.js.map +1 -0
- package/dist/lib/resource-wrappers/dashboard-part-config.d.ts +28 -0
- package/dist/lib/resource-wrappers/dashboard-part-config.d.ts.map +1 -0
- package/dist/lib/resource-wrappers/dashboard-part-config.js +150 -0
- package/dist/lib/resource-wrappers/dashboard-part-config.js.map +1 -0
- package/dist/lib/resource-wrappers/dashboard-resource.component.d.ts +361 -56
- package/dist/lib/resource-wrappers/dashboard-resource.component.d.ts.map +1 -1
- package/dist/lib/resource-wrappers/dashboard-resource.component.js +1312 -361
- package/dist/lib/resource-wrappers/dashboard-resource.component.js.map +1 -1
- package/dist/lib/resource-wrappers/dashboard-source-search.d.ts +86 -0
- package/dist/lib/resource-wrappers/dashboard-source-search.d.ts.map +1 -0
- package/dist/lib/resource-wrappers/dashboard-source-search.js +136 -0
- package/dist/lib/resource-wrappers/dashboard-source-search.js.map +1 -0
- package/dist/lib/resource-wrappers/dashboard-studio-pane.d.ts +30 -0
- package/dist/lib/resource-wrappers/dashboard-studio-pane.d.ts.map +1 -0
- package/dist/lib/resource-wrappers/dashboard-studio-pane.js +55 -0
- package/dist/lib/resource-wrappers/dashboard-studio-pane.js.map +1 -0
- package/dist/lib/resource-wrappers/dashboard-studio-tools.d.ts +135 -0
- package/dist/lib/resource-wrappers/dashboard-studio-tools.d.ts.map +1 -0
- package/dist/lib/resource-wrappers/dashboard-studio-tools.js +856 -0
- package/dist/lib/resource-wrappers/dashboard-studio-tools.js.map +1 -0
- package/dist/lib/resource-wrappers/dashboard-tab-agent.d.ts +87 -0
- package/dist/lib/resource-wrappers/dashboard-tab-agent.d.ts.map +1 -0
- package/dist/lib/resource-wrappers/dashboard-tab-agent.js +125 -0
- package/dist/lib/resource-wrappers/dashboard-tab-agent.js.map +1 -0
- package/dist/lib/resource-wrappers/livekit-room-resource.component.d.ts +28 -7
- package/dist/lib/resource-wrappers/livekit-room-resource.component.d.ts.map +1 -1
- package/dist/lib/resource-wrappers/livekit-room-resource.component.js +174 -112
- package/dist/lib/resource-wrappers/livekit-room-resource.component.js.map +1 -1
- package/dist/lib/resource-wrappers/search-results-resource.component.d.ts +3 -3
- package/dist/lib/resource-wrappers/search-results-resource.component.d.ts.map +1 -1
- package/dist/lib/resource-wrappers/search-results-resource.component.js +10 -14
- package/dist/lib/resource-wrappers/search-results-resource.component.js.map +1 -1
- package/dist/lib/server-connectivity/server-connectivity-banner.component.d.ts +16 -3
- package/dist/lib/server-connectivity/server-connectivity-banner.component.d.ts.map +1 -1
- package/dist/lib/server-connectivity/server-connectivity-banner.component.js +17 -3
- package/dist/lib/server-connectivity/server-connectivity-banner.component.js.map +1 -1
- package/dist/lib/shell/components/tabs/tab-container.component.d.ts +41 -0
- package/dist/lib/shell/components/tabs/tab-container.component.d.ts.map +1 -1
- package/dist/lib/shell/components/tabs/tab-container.component.js +170 -39
- package/dist/lib/shell/components/tabs/tab-container.component.js.map +1 -1
- package/dist/lib/shell/dashboard-tab-for-url.d.ts +35 -0
- package/dist/lib/shell/dashboard-tab-for-url.d.ts.map +1 -0
- package/dist/lib/shell/dashboard-tab-for-url.js +39 -0
- package/dist/lib/shell/dashboard-tab-for-url.js.map +1 -0
- package/dist/lib/shell/deep-link-workspace.d.ts +25 -0
- package/dist/lib/shell/deep-link-workspace.d.ts.map +1 -0
- package/dist/lib/shell/deep-link-workspace.js +49 -0
- package/dist/lib/shell/deep-link-workspace.js.map +1 -0
- package/dist/lib/shell/shell.component.d.ts +43 -2
- package/dist/lib/shell/shell.component.d.ts.map +1 -1
- package/dist/lib/shell/shell.component.js +174 -42
- package/dist/lib/shell/shell.component.js.map +1 -1
- package/dist/lib/shell/shell.module.d.ts +2 -1
- package/dist/lib/shell/shell.module.d.ts.map +1 -1
- package/dist/lib/shell/shell.module.js +6 -2
- package/dist/lib/shell/shell.module.js.map +1 -1
- package/dist/lib/single-dashboard/single-dashboard.component.js +1 -1
- package/dist/lib/single-dashboard/single-dashboard.component.js.map +1 -1
- package/dist/lib/single-record/single-record.component.d.ts +12 -0
- package/dist/lib/single-record/single-record.component.d.ts.map +1 -1
- package/dist/lib/single-record/single-record.component.js +49 -8
- package/dist/lib/single-record/single-record.component.js.map +1 -1
- package/dist/lib/template-user/template-user-banner.component.d.ts +20 -0
- package/dist/lib/template-user/template-user-banner.component.d.ts.map +1 -0
- package/dist/lib/template-user/template-user-banner.component.js +67 -0
- package/dist/lib/template-user/template-user-banner.component.js.map +1 -0
- package/dist/module.d.ts +61 -59
- package/dist/module.d.ts.map +1 -1
- package/dist/module.js +7 -0
- package/dist/module.js.map +1 -1
- package/dist/public-api.d.ts +1 -0
- package/dist/public-api.d.ts.map +1 -1
- package/dist/public-api.js +1 -0
- package/dist/public-api.js.map +1 -1
- package/package.json +58 -53
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chat-conversations-resource.component.d.ts","sourceRoot":"","sources":["../../../src/lib/resource-wrappers/chat-conversations-resource.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgC,SAAS,EAAa,iBAAiB,EAAgB,MAAM,eAAe,CAAC;AACpH,OAAO,EAAY,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAE9D,OAAO,EAAE,qBAAqB,EAAqB,MAAM,2BAA2B,CAAC;AACrF,OAAO,EAAE,YAAY,EAA+B,oBAAoB,EAA2D,MAAM,+BAA+B,CAAC;AAIzK,OAAO,EAAE,6BAA6B,EAAE,yBAAyB,EAAE,4BAA4B,EAAE,kBAAkB,EAAE,uBAAuB,EAAE,yBAAyB,EAAE,YAAY,EAA4B,MAAM,kCAAkC,CAAC;AAC1P,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAIhE,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;;AAGjE;;;;;;;;;;GAUG;AACH,
|
|
1
|
+
{"version":3,"file":"chat-conversations-resource.component.d.ts","sourceRoot":"","sources":["../../../src/lib/resource-wrappers/chat-conversations-resource.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgC,SAAS,EAAa,iBAAiB,EAAgB,MAAM,eAAe,CAAC;AACpH,OAAO,EAAY,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAE9D,OAAO,EAAE,qBAAqB,EAAqB,MAAM,2BAA2B,CAAC;AACrF,OAAO,EAAE,YAAY,EAA+B,oBAAoB,EAA2D,MAAM,+BAA+B,CAAC;AAIzK,OAAO,EAAE,6BAA6B,EAAE,yBAAyB,EAAE,4BAA4B,EAAE,kBAAkB,EAAE,uBAAuB,EAAE,yBAAyB,EAAE,YAAY,EAA4B,MAAM,kCAAkC,CAAC;AAC1P,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAIhE,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;;AAGjE;;;;;;;;;;GAUG;AACH,qBAuPa,yBAA0B,SAAQ,qBAAsB,YAAW,SAAS;IA2OrF,OAAO,CAAC,GAAG;IACX,OAAO,CAAC,gBAAgB;IACxB,OAAO,CAAC,kBAAkB;IAC1B,OAAO,CAAC,gBAAgB;IACxB,OAAO,CAAC,MAAM;IA9Oe,gBAAgB,CAAC,EAAE,yBAAyB,CAAC;IAE5E,gDAAgD;IAChD,IAAI,gBAAgB,IAAI,yBAAyB,GAAG,SAAS,CAE5D;IACD,gDAAgD;IAChD,IAAI,gBAAgB,CAAC,KAAK,EAAE,yBAAyB,GAAG,SAAS,EAEhE;IACsB,QAAQ,CAAC,EAAE,6BAA6B,CAAC;IAEhE,wCAAwC;IACxC,IAAI,QAAQ,IAAI,6BAA6B,GAAG,SAAS,CAExD;IACD,wCAAwC;IACxC,IAAI,QAAQ,CAAC,KAAK,EAAE,6BAA6B,GAAG,SAAS,EAE5D;IAEM,WAAW,EAAE,GAAG,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AU,EAAE,MAAM,CAAC;QAAC,YAAY,EAAE,YAAY,CAAA;KAAC,GAAG,IAAI;IAQjF,qDAAqD;IAC9C,iBAAiB,UAAS;IAEjC,sFAAsF;IAC/E,eAAe,SAAM;IAE5B;;;OAGG;IACH,UAAU,CAAC,KAAK,GAAE,MAAW,GAAG,IAAI;IAKpC,2CAA2C;IAC3C,WAAW,IAAI,IAAI;IAInB;;;;;;;OAOG;IACH,sBAAsB,CAAC,MAAM,EAAE,YAAY,GAAG,IAAI;IAqBlD;;;OAGG;YACW,iBAAiB;IAM/B,kDAAkD;IAClD,kBAAkB,CAAC,KAAK,EAAE;QAAC,UAAU,EAAE,MAAM,CAAC;QAAC,YAAY,EAAE,YAAY,CAAA;KAAC,GAAG,IAAI;IAIjF;;;OAGG;IACG,mBAAmB,CAAC,KAAK,EAAE,iBAAiB,GAAG,OAAO,CAAC,IAAI,CAAC;IAiBlE,mDAAmD;IAC7C,mBAAmB,CAAC,KAAK,EAAE,iBAAiB,GAAG,OAAO,CAAC,IAAI,CAAC;IAIlE,OAAO,CAAC,iBAAiB;IAQzB,OAAO,CAAC,qBAAqB;IAM7B;;OAEG;IACH,OAAO,CAAC,YAAY;IAmBpB;;OAEG;IACH,OAAO,CAAC,wBAAwB;IAsBhC,OAAO,CAAC,mBAAmB;IAa3B;;;;OAIG;YACW,yBAAyB;IAuDvC;;;;OAIG;IACH,OAAO,CAAC,uBAAuB;IA2F/B;;;;;;;;OAQG;IACH,OAAO,CAAC,qBAAqB;IAU7B;;;;OAIG;IACH,OAAO,CAAC,sBAAsB;yCA38CnB,yBAAyB;2CAAzB,yBAAyB;CAs+CrC"}
|
|
@@ -5,7 +5,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
5
5
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
6
|
};
|
|
7
7
|
import { Component, ViewEncapsulation, ViewChild, HostListener } from '@angular/core';
|
|
8
|
-
import { RegisterClass, UUIDsEqual } from '@memberjunction/global';
|
|
8
|
+
import { RegisterClass, UUIDsEqual, IsValidUUID } from '@memberjunction/global';
|
|
9
9
|
import { BaseResourceComponent } from '@memberjunction/ng-shared';
|
|
10
10
|
import { MJEnvironmentEntityExtended, UserInfoEngine, ConversationEngine } from '@memberjunction/core-entities';
|
|
11
11
|
import { ResolveDeepLinkParam } from './chat-deeplink-params.js';
|
|
@@ -58,11 +58,11 @@ function ChatConversationsResource_Conditional_0_Conditional_3_Template(rf, ctx)
|
|
|
58
58
|
function ChatConversationsResource_Conditional_0_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
59
59
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
60
60
|
i0.ɵɵelementStart(0, "mj-conversation-chat-area", 15, 1);
|
|
61
|
-
i0.ɵɵlistener("sidebarToggleClicked", function ChatConversationsResource_Conditional_0_Conditional_5_Template_mj_conversation_chat_area_sidebarToggleClicked_0_listener() { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.expandSidebar()); })("conversationRenamed", function ChatConversationsResource_Conditional_0_Conditional_5_Template_mj_conversation_chat_area_conversationRenamed_0_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onConversationRenamed($event)); })("conversationCreated", function ChatConversationsResource_Conditional_0_Conditional_5_Template_mj_conversation_chat_area_conversationCreated_0_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onConversationCreated($event)); })("
|
|
61
|
+
i0.ɵɵlistener("sidebarToggleClicked", function ChatConversationsResource_Conditional_0_Conditional_5_Template_mj_conversation_chat_area_sidebarToggleClicked_0_listener() { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.expandSidebar()); })("conversationRenamed", function ChatConversationsResource_Conditional_0_Conditional_5_Template_mj_conversation_chat_area_conversationRenamed_0_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onConversationRenamed($event)); })("conversationCreated", function ChatConversationsResource_Conditional_0_Conditional_5_Template_mj_conversation_chat_area_conversationCreated_0_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onConversationCreated($event)); })("pendingArtifactConsumed", function ChatConversationsResource_Conditional_0_Conditional_5_Template_mj_conversation_chat_area_pendingArtifactConsumed_0_listener() { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onPendingArtifactConsumed()); })("pendingMessageConsumed", function ChatConversationsResource_Conditional_0_Conditional_5_Template_mj_conversation_chat_area_pendingMessageConsumed_0_listener() { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onPendingMessageConsumed()); })("pendingMessageRequested", function ChatConversationsResource_Conditional_0_Conditional_5_Template_mj_conversation_chat_area_pendingMessageRequested_0_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onPendingMessageRequested($event)); })("artifactLinkClicked", function ChatConversationsResource_Conditional_0_Conditional_5_Template_mj_conversation_chat_area_artifactLinkClicked_0_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onArtifactLinkClicked($event)); })("openEntityRecord", function ChatConversationsResource_Conditional_0_Conditional_5_Template_mj_conversation_chat_area_openEntityRecord_0_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onOpenEntityRecord($event)); })("navigationRequest", function ChatConversationsResource_Conditional_0_Conditional_5_Template_mj_conversation_chat_area_navigationRequest_0_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onNavigationRequest($event)); })("composerAgentMentionConsumed", function ChatConversationsResource_Conditional_0_Conditional_5_Template_mj_conversation_chat_area_composerAgentMentionConsumed_0_listener() { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onComposerAgentMentionConsumed()); });
|
|
62
62
|
i0.ɵɵelementEnd();
|
|
63
63
|
} if (rf & 2) {
|
|
64
64
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
65
|
-
i0.ɵɵproperty("environmentId", ctx_r1.environmentId)("currentUser", ctx_r1.currentUser)("conversationId", ctx_r1.selectedConversationId)("conversation", ctx_r1.selectedConversation)("
|
|
65
|
+
i0.ɵɵproperty("environmentId", ctx_r1.environmentId)("currentUser", ctx_r1.currentUser)("conversationId", ctx_r1.selectedConversationId)("conversation", ctx_r1.selectedConversation)("isNewConversation", ctx_r1.isNewUnsavedConversation)("pendingMessage", ctx_r1.pendingMessageToSend)("pendingAttachments", ctx_r1.pendingAttachmentsToSend)("pendingArtifactId", ctx_r1.pendingArtifactId)("pendingArtifactConversationId", ctx_r1.pendingArtifactConversationId)("pendingArtifactVersionNumber", ctx_r1.pendingArtifactVersionNumber)("showSidebarToggle", ctx_r1.isSidebarCollapsed && ctx_r1.isSidebarSettingsLoaded)("composerAgentMention", ctx_r1.pendingComposerAgentMention);
|
|
66
66
|
} }
|
|
67
67
|
function ChatConversationsResource_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
68
68
|
i0.ɵɵelementStart(0, "div", 2);
|
|
@@ -70,7 +70,7 @@ function ChatConversationsResource_Conditional_0_Template(rf, ctx) { if (rf & 1)
|
|
|
70
70
|
i0.ɵɵconditionalCreate(2, ChatConversationsResource_Conditional_0_Conditional_2_Template, 2, 7, "div", 6);
|
|
71
71
|
i0.ɵɵconditionalCreate(3, ChatConversationsResource_Conditional_0_Conditional_3_Template, 1, 0, "div", 7);
|
|
72
72
|
i0.ɵɵelementStart(4, "div", 8);
|
|
73
|
-
i0.ɵɵconditionalCreate(5, ChatConversationsResource_Conditional_0_Conditional_5_Template, 2,
|
|
73
|
+
i0.ɵɵconditionalCreate(5, ChatConversationsResource_Conditional_0_Conditional_5_Template, 2, 12, "mj-conversation-chat-area", 9);
|
|
74
74
|
i0.ɵɵelementEnd()();
|
|
75
75
|
} if (rf & 2) {
|
|
76
76
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -171,15 +171,6 @@ let ChatConversationsResource = class ChatConversationsResource extends BaseReso
|
|
|
171
171
|
set selectedConversation(value) {
|
|
172
172
|
this.SelectedConversation = value;
|
|
173
173
|
}
|
|
174
|
-
SelectedThreadId = null;
|
|
175
|
-
/** @deprecated Use {@link SelectedThreadId}. */
|
|
176
|
-
get selectedThreadId() {
|
|
177
|
-
return this.SelectedThreadId;
|
|
178
|
-
}
|
|
179
|
-
/** @deprecated Use {@link SelectedThreadId}. */
|
|
180
|
-
set selectedThreadId(value) {
|
|
181
|
-
this.SelectedThreadId = value;
|
|
182
|
-
}
|
|
183
174
|
IsNewUnsavedConversation = false;
|
|
184
175
|
/** @deprecated Use {@link IsNewUnsavedConversation}. */
|
|
185
176
|
get isNewUnsavedConversation() {
|
|
@@ -393,6 +384,7 @@ let ChatConversationsResource = class ChatConversationsResource extends BaseReso
|
|
|
393
384
|
this.NotifyLoadComplete();
|
|
394
385
|
}, 100);
|
|
395
386
|
}
|
|
387
|
+
renameAnimationTimeout = null;
|
|
396
388
|
ngOnDestroy() {
|
|
397
389
|
super.ngOnDestroy();
|
|
398
390
|
this.bridge.NotifyWorkspaceActive(false);
|
|
@@ -400,6 +392,10 @@ let ChatConversationsResource = class ChatConversationsResource extends BaseReso
|
|
|
400
392
|
if (this.saveSettingsTimeout) {
|
|
401
393
|
clearTimeout(this.saveSettingsTimeout);
|
|
402
394
|
}
|
|
395
|
+
if (this.renameAnimationTimeout) {
|
|
396
|
+
clearTimeout(this.renameAnimationTimeout);
|
|
397
|
+
this.renameAnimationTimeout = null;
|
|
398
|
+
}
|
|
403
399
|
// Clean up resize event listeners
|
|
404
400
|
document.removeEventListener('mousemove', this.onSidebarResizeMove);
|
|
405
401
|
document.removeEventListener('mouseup', this.onSidebarResizeEnd);
|
|
@@ -442,6 +438,7 @@ let ChatConversationsResource = class ChatConversationsResource extends BaseReso
|
|
|
442
438
|
if (conversation) {
|
|
443
439
|
this.SelectedConversation = conversation;
|
|
444
440
|
this.updateTabTitle();
|
|
441
|
+
this.cdr.detectChanges();
|
|
445
442
|
}
|
|
446
443
|
// If not in cache, the chat area component will handle loading it
|
|
447
444
|
}
|
|
@@ -730,7 +727,6 @@ let ChatConversationsResource = class ChatConversationsResource extends BaseReso
|
|
|
730
727
|
else {
|
|
731
728
|
this.SelectedConversationId = null;
|
|
732
729
|
this.SelectedConversation = null;
|
|
733
|
-
this.SelectedThreadId = null;
|
|
734
730
|
this.IsNewUnsavedConversation = true;
|
|
735
731
|
this.updateUrl();
|
|
736
732
|
}
|
|
@@ -745,7 +741,6 @@ let ChatConversationsResource = class ChatConversationsResource extends BaseReso
|
|
|
745
741
|
*/
|
|
746
742
|
async OnConversationSelected(conversationId) {
|
|
747
743
|
await this.selectConversation(conversationId);
|
|
748
|
-
this.SelectedThreadId = null; // Clear thread when switching conversations
|
|
749
744
|
this.IsNewUnsavedConversation = false;
|
|
750
745
|
this.updateUrl();
|
|
751
746
|
this.updateTabTitle();
|
|
@@ -968,7 +963,6 @@ let ChatConversationsResource = class ChatConversationsResource extends BaseReso
|
|
|
968
963
|
OnNewConversationRequested() {
|
|
969
964
|
this.SelectedConversationId = null;
|
|
970
965
|
this.SelectedConversation = null;
|
|
971
|
-
this.SelectedThreadId = null;
|
|
972
966
|
this.IsNewUnsavedConversation = true;
|
|
973
967
|
this.updateUrl();
|
|
974
968
|
this.NotifyDisplayNameChanged('New Conversation');
|
|
@@ -976,6 +970,7 @@ let ChatConversationsResource = class ChatConversationsResource extends BaseReso
|
|
|
976
970
|
if (this.IsMobileView || !this.IsSidebarPinned) {
|
|
977
971
|
this.CollapseSidebar();
|
|
978
972
|
}
|
|
973
|
+
this.cdr.detectChanges();
|
|
979
974
|
}
|
|
980
975
|
/** @deprecated Use {@link OnNewConversationRequested}. */
|
|
981
976
|
onNewConversationRequested() {
|
|
@@ -995,6 +990,7 @@ let ChatConversationsResource = class ChatConversationsResource extends BaseReso
|
|
|
995
990
|
this.bridge.SetActiveFromWorkspace(event.conversation.ID);
|
|
996
991
|
this.updateUrl();
|
|
997
992
|
this.updateTabTitle();
|
|
993
|
+
this.cdr.detectChanges();
|
|
998
994
|
}
|
|
999
995
|
/** @deprecated Use {@link OnConversationCreated}. */
|
|
1000
996
|
async onConversationCreated(event) {
|
|
@@ -1010,35 +1006,21 @@ let ChatConversationsResource = class ChatConversationsResource extends BaseReso
|
|
|
1010
1006
|
if (event.name) {
|
|
1011
1007
|
this.NotifyDisplayNameChanged(event.name);
|
|
1012
1008
|
}
|
|
1009
|
+
this.cdr.detectChanges();
|
|
1010
|
+
if (this.renameAnimationTimeout) {
|
|
1011
|
+
clearTimeout(this.renameAnimationTimeout);
|
|
1012
|
+
}
|
|
1013
1013
|
// Clear the animation trigger after it completes
|
|
1014
|
-
setTimeout(() => {
|
|
1014
|
+
this.renameAnimationTimeout = setTimeout(() => {
|
|
1015
|
+
this.renameAnimationTimeout = null;
|
|
1015
1016
|
this.RenamedConversationId = null;
|
|
1017
|
+
this.cdr.detectChanges();
|
|
1016
1018
|
}, 1500);
|
|
1017
1019
|
}
|
|
1018
1020
|
/** @deprecated Use {@link OnConversationRenamed}. */
|
|
1019
1021
|
onConversationRenamed(event) {
|
|
1020
1022
|
return this.OnConversationRenamed(event);
|
|
1021
1023
|
}
|
|
1022
|
-
/**
|
|
1023
|
-
* Handle thread opened event
|
|
1024
|
-
*/
|
|
1025
|
-
OnThreadOpened(threadId) {
|
|
1026
|
-
this.SelectedThreadId = threadId;
|
|
1027
|
-
}
|
|
1028
|
-
/** @deprecated Use {@link OnThreadOpened}. */
|
|
1029
|
-
onThreadOpened(threadId) {
|
|
1030
|
-
return this.OnThreadOpened(threadId);
|
|
1031
|
-
}
|
|
1032
|
-
/**
|
|
1033
|
-
* Handle thread closed event
|
|
1034
|
-
*/
|
|
1035
|
-
OnThreadClosed() {
|
|
1036
|
-
this.SelectedThreadId = null;
|
|
1037
|
-
}
|
|
1038
|
-
/** @deprecated Use {@link OnThreadClosed}. */
|
|
1039
|
-
onThreadClosed() {
|
|
1040
|
-
return this.OnThreadClosed();
|
|
1041
|
-
}
|
|
1042
1024
|
/**
|
|
1043
1025
|
* Handle pending artifact consumed event
|
|
1044
1026
|
*/
|
|
@@ -1048,6 +1030,7 @@ let ChatConversationsResource = class ChatConversationsResource extends BaseReso
|
|
|
1048
1030
|
this.PendingArtifactVersionNumber = null;
|
|
1049
1031
|
// Update URL to remove artifact params
|
|
1050
1032
|
this.updateUrl();
|
|
1033
|
+
this.cdr.detectChanges();
|
|
1051
1034
|
}
|
|
1052
1035
|
/** @deprecated Use {@link OnPendingArtifactConsumed}. */
|
|
1053
1036
|
onPendingArtifactConsumed() {
|
|
@@ -1059,6 +1042,7 @@ let ChatConversationsResource = class ChatConversationsResource extends BaseReso
|
|
|
1059
1042
|
OnPendingMessageConsumed() {
|
|
1060
1043
|
this.PendingMessageToSend = null;
|
|
1061
1044
|
this.PendingAttachmentsToSend = null;
|
|
1045
|
+
this.cdr.detectChanges();
|
|
1062
1046
|
}
|
|
1063
1047
|
/** @deprecated Use {@link OnPendingMessageConsumed}. */
|
|
1064
1048
|
onPendingMessageConsumed() {
|
|
@@ -1132,7 +1116,8 @@ let ChatConversationsResource = class ChatConversationsResource extends BaseReso
|
|
|
1132
1116
|
*
|
|
1133
1117
|
* Explorer renders each chat surface as a separate resource, so results for another
|
|
1134
1118
|
* surface go through NavigationService. Conversations and messages resolve to a
|
|
1135
|
-
* conversation, which this component owns, so they are selected in place
|
|
1119
|
+
* conversation, which this component owns, so they are selected in place; a message then
|
|
1120
|
+
* opens on its branch at its sequence.
|
|
1136
1121
|
*/
|
|
1137
1122
|
OnSearchResultSelected(result) {
|
|
1138
1123
|
this.CloseSearch();
|
|
@@ -1141,6 +1126,10 @@ let ChatConversationsResource = class ChatConversationsResource extends BaseReso
|
|
|
1141
1126
|
case 'conversation':
|
|
1142
1127
|
void this.OnConversationSelected(route.ConversationId);
|
|
1143
1128
|
break;
|
|
1129
|
+
case 'message':
|
|
1130
|
+
this.openMessageResult(route.ConversationId, route.BranchId, route.Sequence)
|
|
1131
|
+
.catch((error) => console.error('Failed to open the message from search:', error));
|
|
1132
|
+
break;
|
|
1144
1133
|
case 'artifact':
|
|
1145
1134
|
this.navigationService.OpenArtifact(route.ArtifactId, route.Title);
|
|
1146
1135
|
break;
|
|
@@ -1149,33 +1138,153 @@ let ChatConversationsResource = class ChatConversationsResource extends BaseReso
|
|
|
1149
1138
|
break;
|
|
1150
1139
|
}
|
|
1151
1140
|
}
|
|
1141
|
+
/**
|
|
1142
|
+
* Selects the message's conversation, renders it into the chat area, then has the chat area
|
|
1143
|
+
* switch to the message's branch and scroll to it.
|
|
1144
|
+
*/
|
|
1145
|
+
async openMessageResult(conversationId, branchId, sequence) {
|
|
1146
|
+
await this.OnConversationSelected(conversationId);
|
|
1147
|
+
this.cdr.detectChanges();
|
|
1148
|
+
await this.ChatArea?.OpenMessage(conversationId, branchId, sequence);
|
|
1149
|
+
}
|
|
1152
1150
|
/** @deprecated Use {@link OnOpenEntityRecord}. */
|
|
1153
1151
|
onOpenEntityRecord(event) {
|
|
1154
1152
|
return this.OnOpenEntityRecord(event);
|
|
1155
1153
|
}
|
|
1156
1154
|
/**
|
|
1157
|
-
* Handle navigation request from artifact viewer plugins.
|
|
1158
|
-
* Opens the target nav item (switching apps if needed) then applies query params to the URL.
|
|
1155
|
+
* Handle navigation request from artifact viewer plugins or actionable commands.
|
|
1156
|
+
* Opens the target nav item or application (switching apps if needed) then applies query params to the URL.
|
|
1159
1157
|
*/
|
|
1160
1158
|
async OnNavigationRequest(event) {
|
|
1161
1159
|
const appId = event.appName ? this.resolveAppId(event.appName) : undefined;
|
|
1162
|
-
|
|
1160
|
+
if (appId && (!event.navItemName || this.normalizeNavToken(event.navItemName) === this.normalizeNavToken(event.appName))) {
|
|
1161
|
+
await this.navigationService.SwitchToApp(appId, undefined, event.queryParams);
|
|
1162
|
+
return;
|
|
1163
|
+
}
|
|
1164
|
+
const resolvedNavName = appId && event.navItemName
|
|
1165
|
+
? (this.resolveNavItemLabelInApp(appId, event.navItemName) ?? event.navItemName)
|
|
1166
|
+
: event.navItemName;
|
|
1167
|
+
const tabId = await this.navigationService.OpenNavItemByName(resolvedNavName, undefined, appId, {
|
|
1163
1168
|
queryParams: event.queryParams
|
|
1164
1169
|
});
|
|
1170
|
+
if (!tabId && appId) {
|
|
1171
|
+
await this.navigationService.SwitchToApp(appId, resolvedNavName || undefined, event.queryParams);
|
|
1172
|
+
}
|
|
1165
1173
|
}
|
|
1166
1174
|
/** @deprecated Use {@link OnNavigationRequest}. */
|
|
1167
1175
|
async onNavigationRequest(event) {
|
|
1168
1176
|
return this.OnNavigationRequest(event);
|
|
1169
1177
|
}
|
|
1178
|
+
normalizeNavToken(value) {
|
|
1179
|
+
return String(value ?? '')
|
|
1180
|
+
.toLowerCase()
|
|
1181
|
+
.replace(/[-_]+/g, ' ')
|
|
1182
|
+
.replace(/\s+/g, ' ')
|
|
1183
|
+
.trim();
|
|
1184
|
+
}
|
|
1185
|
+
stripActionVerbPrefix(label) {
|
|
1186
|
+
return String(label ?? '')
|
|
1187
|
+
.replace(/^(open|view|go\s+to|launch|show|explore)\s+/i, '')
|
|
1188
|
+
.trim();
|
|
1189
|
+
}
|
|
1170
1190
|
/**
|
|
1171
|
-
* Resolve an application name to its ID.
|
|
1191
|
+
* Resolve an application name, URL slug/path, or UUID to its ID.
|
|
1172
1192
|
*/
|
|
1173
|
-
resolveAppId(
|
|
1193
|
+
resolveAppId(appNameOrId) {
|
|
1194
|
+
const raw = String(appNameOrId ?? '').trim();
|
|
1195
|
+
if (!raw) {
|
|
1196
|
+
return undefined;
|
|
1197
|
+
}
|
|
1174
1198
|
const md = this.ProviderToUse;
|
|
1175
|
-
const apps = md.Applications;
|
|
1176
|
-
const
|
|
1199
|
+
const apps = md.Applications || [];
|
|
1200
|
+
const lower = raw.toLowerCase();
|
|
1201
|
+
const normalized = this.normalizeNavToken(raw);
|
|
1202
|
+
const app = apps.find(a => UUIDsEqual(a.ID, raw) ||
|
|
1203
|
+
a.Name?.toLowerCase() === lower ||
|
|
1204
|
+
a.Path?.toLowerCase() === lower ||
|
|
1205
|
+
this.normalizeNavToken(a.Name) === normalized ||
|
|
1206
|
+
this.normalizeNavToken(a.Path) === normalized);
|
|
1177
1207
|
return app?.ID;
|
|
1178
1208
|
}
|
|
1209
|
+
/**
|
|
1210
|
+
* Resolves a nav item label inside a specific application's DefaultNavItems by case/slug-insensitive match.
|
|
1211
|
+
*/
|
|
1212
|
+
resolveNavItemLabelInApp(appId, navItemTarget) {
|
|
1213
|
+
const raw = String(navItemTarget ?? '').trim();
|
|
1214
|
+
if (!raw) {
|
|
1215
|
+
return undefined;
|
|
1216
|
+
}
|
|
1217
|
+
const app = (this.ProviderToUse.Applications || []).find(a => UUIDsEqual(a.ID, appId));
|
|
1218
|
+
if (!app?.DefaultNavItems) {
|
|
1219
|
+
return undefined;
|
|
1220
|
+
}
|
|
1221
|
+
try {
|
|
1222
|
+
const items = JSON.parse(app.DefaultNavItems);
|
|
1223
|
+
const normalized = this.normalizeNavToken(raw);
|
|
1224
|
+
const matched = items.find(item => this.normalizeNavToken(item.Label) === normalized ||
|
|
1225
|
+
this.normalizeNavToken(item.Route) === normalized);
|
|
1226
|
+
return matched?.Label;
|
|
1227
|
+
}
|
|
1228
|
+
catch {
|
|
1229
|
+
return undefined;
|
|
1230
|
+
}
|
|
1231
|
+
}
|
|
1232
|
+
toQueryParamsRecord(params) {
|
|
1233
|
+
if (!params || Object.keys(params).length === 0) {
|
|
1234
|
+
return undefined;
|
|
1235
|
+
}
|
|
1236
|
+
const result = {};
|
|
1237
|
+
for (const [k, v] of Object.entries(params)) {
|
|
1238
|
+
if (v != null) {
|
|
1239
|
+
result[k] = String(v);
|
|
1240
|
+
}
|
|
1241
|
+
}
|
|
1242
|
+
return Object.keys(result).length > 0 ? result : undefined;
|
|
1243
|
+
}
|
|
1244
|
+
/**
|
|
1245
|
+
* Navigates to an Application or NavItem referenced by an `open:resource` command,
|
|
1246
|
+
* matching by ID, Name, URL Path slug (e.g. `"data-explorer"` -> `"Data Explorer"`),
|
|
1247
|
+
* or NavItem label across applications.
|
|
1248
|
+
*/
|
|
1249
|
+
async handleAppOrNavItemCommand(command) {
|
|
1250
|
+
const queryParams = this.toQueryParamsRecord(command.parameters);
|
|
1251
|
+
const rt = (command.resourceType ?? '').trim().toLowerCase();
|
|
1252
|
+
const strippedLabel = this.stripActionVerbPrefix(command.label);
|
|
1253
|
+
// 1. Try resolving as an Application directly
|
|
1254
|
+
const appCandidates = rt === 'navitem'
|
|
1255
|
+
? [command.entityName, command.resourceId, strippedLabel]
|
|
1256
|
+
: [command.resourceId, command.entityName, strippedLabel];
|
|
1257
|
+
for (const candidate of appCandidates) {
|
|
1258
|
+
if (!candidate)
|
|
1259
|
+
continue;
|
|
1260
|
+
const appId = this.resolveAppId(candidate);
|
|
1261
|
+
if (appId) {
|
|
1262
|
+
const navHint = rt === 'navitem' ? command.resourceId : command.entityName;
|
|
1263
|
+
const resolvedNavLabel = navHint ? this.resolveNavItemLabelInApp(appId, navHint) : undefined;
|
|
1264
|
+
await this.navigationService.SwitchToApp(appId, resolvedNavLabel, queryParams);
|
|
1265
|
+
return;
|
|
1266
|
+
}
|
|
1267
|
+
}
|
|
1268
|
+
// 2. Search across all applications' DefaultNavItems for a matching NavItem label or route slug
|
|
1269
|
+
const navCandidates = [command.resourceId, command.entityName, strippedLabel].filter((c) => !!c && c.trim().length > 0);
|
|
1270
|
+
for (const candidate of navCandidates) {
|
|
1271
|
+
for (const app of this.ProviderToUse.Applications || []) {
|
|
1272
|
+
const matchedLabel = this.resolveNavItemLabelInApp(app.ID, candidate);
|
|
1273
|
+
if (matchedLabel) {
|
|
1274
|
+
await this.navigationService.SwitchToApp(app.ID, matchedLabel, queryParams);
|
|
1275
|
+
return;
|
|
1276
|
+
}
|
|
1277
|
+
}
|
|
1278
|
+
}
|
|
1279
|
+
// 3. Fallback to OpenNavItemByName in the active app
|
|
1280
|
+
for (const candidate of navCandidates) {
|
|
1281
|
+
const tabId = await this.navigationService.OpenNavItemByName(candidate, command.parameters, undefined, queryParams ? { queryParams } : undefined);
|
|
1282
|
+
if (tabId) {
|
|
1283
|
+
return;
|
|
1284
|
+
}
|
|
1285
|
+
}
|
|
1286
|
+
MJNotificationService.Instance?.CreateSimpleNotification(`Unable to open "${command.label || command.resourceId}": destination was not found.`, 'info', 4000);
|
|
1287
|
+
}
|
|
1179
1288
|
/**
|
|
1180
1289
|
* Handle actionable commands that require app-specific navigation (open:resource, and the
|
|
1181
1290
|
* compose:email over-length fallback). open:url commands are already handled directly by
|
|
@@ -1185,16 +1294,86 @@ let ChatConversationsResource = class ChatConversationsResource extends BaseReso
|
|
|
1185
1294
|
const command = request.command;
|
|
1186
1295
|
if (command.type === 'open:resource') {
|
|
1187
1296
|
const resourceCommand = command;
|
|
1188
|
-
|
|
1297
|
+
const rt = (resourceCommand.resourceType ?? '').trim().toLowerCase();
|
|
1298
|
+
if (rt === 'record') {
|
|
1189
1299
|
// Record opens are emitted as openEntityRecord from mj-conversation-chat-area
|
|
1190
1300
|
// (composite-key aware). Handling them here too would open the record twice.
|
|
1191
1301
|
return;
|
|
1192
1302
|
}
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1303
|
+
const resourceId = resourceCommand.resourceId;
|
|
1304
|
+
if (rt === 'artifact' || rt === 'file') {
|
|
1305
|
+
if (this.ChatArea?.OpenConversationArtifactForCommand(resourceCommand)) {
|
|
1306
|
+
return;
|
|
1307
|
+
}
|
|
1308
|
+
if (resourceId && IsValidUUID(resourceId)) {
|
|
1309
|
+
this.navigationService.OpenArtifact(resourceId, resourceCommand.label);
|
|
1310
|
+
return;
|
|
1311
|
+
}
|
|
1196
1312
|
this.openMostRecentArtifact();
|
|
1313
|
+
return;
|
|
1314
|
+
}
|
|
1315
|
+
if (rt === 'report' || rt === 'dashboard') {
|
|
1316
|
+
if (this.ChatArea?.OpenConversationArtifactForCommand(resourceCommand)) {
|
|
1317
|
+
return;
|
|
1318
|
+
}
|
|
1319
|
+
if (rt === 'dashboard' && resourceId && IsValidUUID(resourceId)) {
|
|
1320
|
+
this.navigationService.OpenDashboard(resourceId, resourceCommand.label || 'Dashboard');
|
|
1321
|
+
return;
|
|
1322
|
+
}
|
|
1323
|
+
this.openMostRecentArtifact();
|
|
1324
|
+
return;
|
|
1325
|
+
}
|
|
1326
|
+
if (rt === 'app' || rt === 'navitem') {
|
|
1327
|
+
void this.handleAppOrNavItemCommand(resourceCommand);
|
|
1328
|
+
return;
|
|
1329
|
+
}
|
|
1330
|
+
if (rt === 'view') {
|
|
1331
|
+
if (resourceId && IsValidUUID(resourceId)) {
|
|
1332
|
+
this.navigationService.OpenView(resourceId, resourceCommand.label || 'View');
|
|
1333
|
+
}
|
|
1334
|
+
else if (resourceCommand.entityName) {
|
|
1335
|
+
const extraFilter = typeof resourceCommand.parameters?.['ExtraFilter'] === 'string'
|
|
1336
|
+
? resourceCommand.parameters['ExtraFilter']
|
|
1337
|
+
: undefined;
|
|
1338
|
+
this.navigationService.OpenDynamicView(resourceCommand.entityName, extraFilter);
|
|
1339
|
+
}
|
|
1340
|
+
else {
|
|
1341
|
+
void this.handleAppOrNavItemCommand(resourceCommand);
|
|
1342
|
+
}
|
|
1343
|
+
return;
|
|
1344
|
+
}
|
|
1345
|
+
if (rt === 'query') {
|
|
1346
|
+
if (resourceId && IsValidUUID(resourceId)) {
|
|
1347
|
+
this.navigationService.OpenQuery(resourceId, resourceCommand.label || 'Query');
|
|
1348
|
+
}
|
|
1349
|
+
else {
|
|
1350
|
+
void this.handleAppOrNavItemCommand(resourceCommand);
|
|
1351
|
+
}
|
|
1352
|
+
return;
|
|
1353
|
+
}
|
|
1354
|
+
if (rt === 'search') {
|
|
1355
|
+
const query = String(resourceCommand.resourceId ||
|
|
1356
|
+
resourceCommand.parameters?.['query'] ||
|
|
1357
|
+
this.stripActionVerbPrefix(resourceCommand.label) ||
|
|
1358
|
+
'').trim();
|
|
1359
|
+
if (query) {
|
|
1360
|
+
this.navigationService.OpenSearch(query);
|
|
1361
|
+
}
|
|
1362
|
+
return;
|
|
1363
|
+
}
|
|
1364
|
+
if (rt === 'form') {
|
|
1365
|
+
if (resourceCommand.entityName) {
|
|
1366
|
+
this.navigationService.OpenNewEntityRecord(resourceCommand.entityName, {
|
|
1367
|
+
newRecordValues: resourceCommand.parameters
|
|
1368
|
+
});
|
|
1369
|
+
}
|
|
1370
|
+
else {
|
|
1371
|
+
void this.handleAppOrNavItemCommand(resourceCommand);
|
|
1372
|
+
}
|
|
1373
|
+
return;
|
|
1197
1374
|
}
|
|
1375
|
+
// Fallback for any unrecognized open:resource type
|
|
1376
|
+
void this.handleAppOrNavItemCommand(resourceCommand);
|
|
1198
1377
|
}
|
|
1199
1378
|
else if (command.type === 'compose:email') {
|
|
1200
1379
|
// The service handles compose:email directly whenever the draft fits in a mailto: URL, so
|
|
@@ -1247,6 +1426,7 @@ let ChatConversationsResource = class ChatConversationsResource extends BaseReso
|
|
|
1247
1426
|
}
|
|
1248
1427
|
else {
|
|
1249
1428
|
console.warn('No artifacts found in conversation to open for Report/Dashboard command');
|
|
1429
|
+
MJNotificationService.Instance?.CreateSimpleNotification('No artifact found in this conversation to open.', 'info', 3500);
|
|
1250
1430
|
}
|
|
1251
1431
|
}
|
|
1252
1432
|
static ɵfac = function ChatConversationsResource_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ChatConversationsResource)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i1.ConversationStreamingService), i0.ɵɵdirectiveInject(i1.ActiveTasksService), i0.ɵɵdirectiveInject(i1.UICommandHandlerService), i0.ɵɵdirectiveInject(i1.ConversationBridgeService)); };
|
|
@@ -1258,7 +1438,7 @@ let ChatConversationsResource = class ChatConversationsResource extends BaseReso
|
|
|
1258
1438
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.ChatArea = _t.first);
|
|
1259
1439
|
} }, hostBindings: function ChatConversationsResource_HostBindings(rf, ctx) { if (rf & 1) {
|
|
1260
1440
|
i0.ɵɵlistener("resize", function ChatConversationsResource_resize_HostBindingHandler() { return ctx.onWindowResize(); }, i0.ɵɵresolveWindow)("click", function ChatConversationsResource_click_HostBindingHandler($event) { return ctx.onDocumentClick($event); }, i0.ɵɵresolveDocument);
|
|
1261
|
-
} }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 4, vars: 2, consts: [["conversationList", ""], ["chatArea", ""], [1, "chat-conversations-container"], [1, "initializing-container"], [3, "InitialQuery", "IsOpen", "EnvironmentId", "CurrentUser"], [1, "mobile-sidebar-backdrop"], [1, "conversation-sidebar", 3, "collapsed", "no-transition", "width"], [1, "sidebar-resize-handle"], [1, "conversation-main"], [3, "environmentId", "currentUser", "conversationId", "conversation", "
|
|
1441
|
+
} }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 4, vars: 2, consts: [["conversationList", ""], ["chatArea", ""], [1, "chat-conversations-container"], [1, "initializing-container"], [3, "InitialQuery", "IsOpen", "EnvironmentId", "CurrentUser"], [1, "mobile-sidebar-backdrop"], [1, "conversation-sidebar", 3, "collapsed", "no-transition", "width"], [1, "sidebar-resize-handle"], [1, "conversation-main"], [3, "environmentId", "currentUser", "conversationId", "conversation", "isNewConversation", "pendingMessage", "pendingAttachments", "pendingArtifactId", "pendingArtifactConversationId", "pendingArtifactVersionNumber", "showSidebarToggle", "composerAgentMention"], [1, "mobile-sidebar-backdrop", 3, "click"], [1, "conversation-sidebar"], [3, "conversationSelected", "conversationDeleted", "newConversationRequested", "pinSidebarRequested", "unpinSidebarRequested", "refreshRequested", "SearchEscalated", "environmentId", "currentUser", "selectedConversationId", "renamedConversationId", "isSidebarPinned", "isMobileView"], [3, "openEntityRecord", "openConversation"], [1, "sidebar-resize-handle", 3, "mousedown"], [3, "sidebarToggleClicked", "conversationRenamed", "conversationCreated", "pendingArtifactConsumed", "pendingMessageConsumed", "pendingMessageRequested", "artifactLinkClicked", "openEntityRecord", "navigationRequest", "composerAgentMentionConsumed", "environmentId", "currentUser", "conversationId", "conversation", "isNewConversation", "pendingMessage", "pendingAttachments", "pendingArtifactId", "pendingArtifactConversationId", "pendingArtifactVersionNumber", "showSidebarToggle", "composerAgentMention"], ["text", "Initializing...", "size", "large"], [3, "close", "ResultSelected", "InitialQuery", "IsOpen", "EnvironmentId", "CurrentUser"]], template: function ChatConversationsResource_Template(rf, ctx) { if (rf & 1) {
|
|
1262
1442
|
i0.ɵɵconditionalCreate(0, ChatConversationsResource_Conditional_0_Template, 6, 4, "div", 2)(1, ChatConversationsResource_Conditional_1_Template, 2, 0, "div", 3);
|
|
1263
1443
|
i0.ɵɵconditionalCreate(2, ChatConversationsResource_Conditional_2_Template, 1, 4, "mj-search-panel", 4);
|
|
1264
1444
|
i0.ɵɵelement(3, "mj-toast");
|
|
@@ -1327,7 +1507,6 @@ export { ChatConversationsResource };
|
|
|
1327
1507
|
[currentUser]="currentUser"
|
|
1328
1508
|
[conversationId]="selectedConversationId"
|
|
1329
1509
|
[conversation]="selectedConversation"
|
|
1330
|
-
[threadId]="selectedThreadId"
|
|
1331
1510
|
[isNewConversation]="isNewUnsavedConversation"
|
|
1332
1511
|
[pendingMessage]="pendingMessageToSend"
|
|
1333
1512
|
[pendingAttachments]="pendingAttachmentsToSend"
|
|
@@ -1338,8 +1517,6 @@ export { ChatConversationsResource };
|
|
|
1338
1517
|
(sidebarToggleClicked)="expandSidebar()"
|
|
1339
1518
|
(conversationRenamed)="onConversationRenamed($event)"
|
|
1340
1519
|
(conversationCreated)="onConversationCreated($event)"
|
|
1341
|
-
(threadOpened)="onThreadOpened($event)"
|
|
1342
|
-
(threadClosed)="onThreadClosed()"
|
|
1343
1520
|
(pendingArtifactConsumed)="onPendingArtifactConsumed()"
|
|
1344
1521
|
(pendingMessageConsumed)="onPendingMessageConsumed()"
|
|
1345
1522
|
(pendingMessageRequested)="onPendingMessageRequested($event)"
|
|
@@ -1386,5 +1563,5 @@ export { ChatConversationsResource };
|
|
|
1386
1563
|
type: HostListener,
|
|
1387
1564
|
args: ['document:click', ['$event']]
|
|
1388
1565
|
}] }); })();
|
|
1389
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ChatConversationsResource, { className: "ChatConversationsResource", filePath: "src/lib/resource-wrappers/chat-conversations-resource.component.ts", lineNumber:
|
|
1566
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ChatConversationsResource, { className: "ChatConversationsResource", filePath: "src/lib/resource-wrappers/chat-conversations-resource.component.ts", lineNumber: 275 }); })();
|
|
1390
1567
|
//# sourceMappingURL=chat-conversations-resource.component.js.map
|