@memberjunction/ng-explorer-core 2.121.0 → 2.122.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/README.md +0 -1
- package/dist/app-routing.module.d.ts +6 -5
- package/dist/app-routing.module.d.ts.map +1 -1
- package/dist/app-routing.module.js +266 -132
- package/dist/app-routing.module.js.map +1 -1
- package/dist/lib/app-view/application-view.component.js +10 -10
- package/dist/lib/app-view/application-view.component.js.map +1 -1
- package/dist/lib/dashboard-preferences-dialog/dashboard-preferences-dialog.component.js +11 -12
- package/dist/lib/dashboard-preferences-dialog/dashboard-preferences-dialog.component.js.map +1 -1
- package/dist/lib/data-browser-component/data-browser.component.js +8 -8
- package/dist/lib/data-browser-component/data-browser.component.js.map +1 -1
- package/dist/lib/generic-browse-list/generic-browse-list.component.js +10 -7
- package/dist/lib/generic-browse-list/generic-browse-list.component.js.map +1 -1
- package/dist/lib/generic-browser-list/generic-browser-list.component.js +14 -11
- package/dist/lib/generic-browser-list/generic-browser-list.component.js.map +1 -1
- package/dist/lib/list-view/list-view.component.js +24 -21
- package/dist/lib/list-view/list-view.component.js.map +1 -1
- package/dist/lib/navigation/navigation.component.d.ts +0 -1
- package/dist/lib/navigation/navigation.component.d.ts.map +1 -1
- package/dist/lib/navigation/navigation.component.js +11 -19
- package/dist/lib/navigation/navigation.component.js.map +1 -1
- package/dist/lib/resource-browser/resource-browser.component.js +14 -11
- package/dist/lib/resource-browser/resource-browser.component.js.map +1 -1
- package/dist/lib/resource-wrappers/artifact-resource.component.d.ts +20 -0
- package/dist/lib/resource-wrappers/artifact-resource.component.d.ts.map +1 -0
- package/dist/lib/resource-wrappers/artifact-resource.component.js +92 -0
- package/dist/lib/resource-wrappers/artifact-resource.component.js.map +1 -0
- package/dist/lib/resource-wrappers/chat-collections-resource.component.d.ts +119 -0
- package/dist/lib/resource-wrappers/chat-collections-resource.component.d.ts.map +1 -0
- package/dist/lib/resource-wrappers/chat-collections-resource.component.js +500 -0
- package/dist/lib/resource-wrappers/chat-collections-resource.component.js.map +1 -0
- package/dist/lib/resource-wrappers/chat-conversations-resource.component.d.ts +87 -0
- package/dist/lib/resource-wrappers/chat-conversations-resource.component.d.ts.map +1 -0
- package/dist/lib/resource-wrappers/chat-conversations-resource.component.js +345 -0
- package/dist/lib/resource-wrappers/chat-conversations-resource.component.js.map +1 -0
- package/dist/lib/resource-wrappers/chat-tasks-resource.component.d.ts +67 -0
- package/dist/lib/resource-wrappers/chat-tasks-resource.component.d.ts.map +1 -0
- package/dist/lib/resource-wrappers/chat-tasks-resource.component.js +244 -0
- package/dist/lib/resource-wrappers/chat-tasks-resource.component.js.map +1 -0
- package/dist/lib/resource-wrappers/dashboard-resource.component.d.ts +46 -3
- package/dist/lib/resource-wrappers/dashboard-resource.component.d.ts.map +1 -1
- package/dist/lib/resource-wrappers/dashboard-resource.component.js +298 -21
- package/dist/lib/resource-wrappers/dashboard-resource.component.js.map +1 -1
- package/dist/lib/resource-wrappers/list-detail-resource.component.js +1 -1
- package/dist/lib/resource-wrappers/list-detail-resource.component.js.map +1 -1
- package/dist/lib/resource-wrappers/query-resource.component.js +1 -1
- package/dist/lib/resource-wrappers/query-resource.component.js.map +1 -1
- package/dist/lib/resource-wrappers/record-resource.component.d.ts.map +1 -1
- package/dist/lib/resource-wrappers/record-resource.component.js +22 -5
- package/dist/lib/resource-wrappers/record-resource.component.js.map +1 -1
- package/dist/lib/resource-wrappers/report-resource.component.js +1 -1
- package/dist/lib/resource-wrappers/report-resource.component.js.map +1 -1
- package/dist/lib/resource-wrappers/resource-wrappers-loader.d.ts.map +1 -1
- package/dist/lib/resource-wrappers/resource-wrappers-loader.js +15 -0
- package/dist/lib/resource-wrappers/resource-wrappers-loader.js.map +1 -1
- package/dist/lib/resource-wrappers/search-results-resource.component.js +1 -1
- package/dist/lib/resource-wrappers/search-results-resource.component.js.map +1 -1
- package/dist/lib/resource-wrappers/view-resource.component.js +1 -1
- package/dist/lib/resource-wrappers/view-resource.component.js.map +1 -1
- package/dist/lib/shell/components/header/app-nav.component.d.ts +45 -0
- package/dist/lib/shell/components/header/app-nav.component.d.ts.map +1 -0
- package/dist/lib/shell/components/header/app-nav.component.js +127 -0
- package/dist/lib/shell/components/header/app-nav.component.js.map +1 -0
- package/dist/lib/shell/components/header/app-switcher.component.d.ts +53 -0
- package/dist/lib/shell/components/header/app-switcher.component.d.ts.map +1 -0
- package/dist/lib/shell/components/header/app-switcher.component.js +190 -0
- package/dist/lib/shell/components/header/app-switcher.component.js.map +1 -0
- package/dist/lib/shell/components/tabs/component-cache-manager.d.ts +83 -0
- package/dist/lib/shell/components/tabs/component-cache-manager.d.ts.map +1 -0
- package/dist/lib/shell/components/tabs/component-cache-manager.js +175 -0
- package/dist/lib/shell/components/tabs/component-cache-manager.js.map +1 -0
- package/dist/lib/shell/components/tabs/tab-container.component.d.ts +138 -0
- package/dist/lib/shell/components/tabs/tab-container.component.d.ts.map +1 -0
- package/dist/lib/shell/components/tabs/tab-container.component.js +920 -0
- package/dist/lib/shell/components/tabs/tab-container.component.js.map +1 -0
- package/dist/lib/shell/services/settings-dialog.service.d.ts +28 -0
- package/dist/lib/shell/services/settings-dialog.service.d.ts.map +1 -0
- package/dist/lib/shell/services/settings-dialog.service.js +67 -0
- package/dist/lib/shell/services/settings-dialog.service.js.map +1 -0
- package/dist/lib/shell/shell.component.d.ts +166 -0
- package/dist/lib/shell/shell.component.d.ts.map +1 -0
- package/dist/lib/shell/shell.component.js +1173 -0
- package/dist/lib/shell/shell.component.js.map +1 -0
- package/dist/lib/shell/shell.module.d.ts +14 -0
- package/dist/lib/shell/shell.module.d.ts.map +1 -0
- package/dist/lib/shell/shell.module.js +42 -0
- package/dist/lib/shell/shell.module.js.map +1 -0
- package/dist/lib/single-dashboard/Components/add-item/add-item.component.js +17 -13
- package/dist/lib/single-dashboard/Components/add-item/add-item.component.js.map +1 -1
- package/dist/lib/single-dashboard/single-dashboard.component.d.ts +2 -1
- package/dist/lib/single-dashboard/single-dashboard.component.d.ts.map +1 -1
- package/dist/lib/single-dashboard/single-dashboard.component.js +6 -1
- package/dist/lib/single-dashboard/single-dashboard.component.js.map +1 -1
- package/dist/lib/single-entity/single-entity.component.js +21 -17
- package/dist/lib/single-entity/single-entity.component.js.map +1 -1
- package/dist/lib/single-list-detail/single-list-detail.component.js +36 -30
- package/dist/lib/single-list-detail/single-list-detail.component.js.map +1 -1
- package/dist/lib/single-record/single-record.component.d.ts +1 -0
- package/dist/lib/single-record/single-record.component.d.ts.map +1 -1
- package/dist/lib/single-record/single-record.component.js +16 -9
- package/dist/lib/single-record/single-record.component.js.map +1 -1
- package/dist/lib/single-report/single-report.component.d.ts +1 -7
- package/dist/lib/single-report/single-report.component.d.ts.map +1 -1
- package/dist/lib/single-report/single-report.component.js +16 -37
- package/dist/lib/single-report/single-report.component.js.map +1 -1
- package/dist/lib/single-view/single-view.component.d.ts +1 -2
- package/dist/lib/single-view/single-view.component.d.ts.map +1 -1
- package/dist/lib/single-view/single-view.component.js +35 -43
- package/dist/lib/single-view/single-view.component.js.map +1 -1
- package/dist/lib/style-guide-test/style-guide-test.component.js +20 -13
- package/dist/lib/style-guide-test/style-guide-test.component.js.map +1 -1
- package/dist/lib/tabbed-dashboard/tabbed-dashboard.component.d.ts +1 -1
- package/dist/lib/tabbed-dashboard/tabbed-dashboard.component.d.ts.map +1 -1
- package/dist/lib/tabbed-dashboard/tabbed-dashboard.component.js +8 -11
- package/dist/lib/tabbed-dashboard/tabbed-dashboard.component.js.map +1 -1
- package/dist/lib/user-notifications/user-notifications.component.d.ts.map +1 -1
- package/dist/lib/user-notifications/user-notifications.component.js +0 -5
- package/dist/lib/user-notifications/user-notifications.component.js.map +1 -1
- package/dist/module.d.ts +50 -46
- package/dist/module.d.ts.map +1 -1
- package/dist/module.js +23 -11
- package/dist/module.js.map +1 -1
- package/dist/public-api.d.ts +4 -0
- package/dist/public-api.d.ts.map +1 -1
- package/dist/public-api.js +5 -0
- package/dist/public-api.js.map +1 -1
- package/package.json +36 -35
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import { Component, ViewEncapsulation } from '@angular/core';
|
|
8
|
+
import { Metadata } from '@memberjunction/core';
|
|
9
|
+
import { RegisterClass } from '@memberjunction/global';
|
|
10
|
+
import { BaseResourceComponent } from '@memberjunction/ng-shared';
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
import * as i1 from "@angular/common";
|
|
13
|
+
import * as i2 from "@memberjunction/ng-artifacts";
|
|
14
|
+
function ArtifactResource_mj_artifact_viewer_panel_1_Template(rf, ctx) { if (rf & 1) {
|
|
15
|
+
i0.ɵɵelement(0, "mj-artifact-viewer-panel", 2);
|
|
16
|
+
} if (rf & 2) {
|
|
17
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
18
|
+
i0.ɵɵproperty("artifactId", ctx_r0.artifactId)("currentUser", ctx_r0.currentUser)("environmentId", ctx_r0.environmentId)("showSaveToCollection", true)("canShare", true)("canEdit", true);
|
|
19
|
+
} }
|
|
20
|
+
export function LoadArtifactResource() {
|
|
21
|
+
// Function for registration - actual instances created by Angular DI
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Artifact Resource - displays versioned content artifacts
|
|
25
|
+
* Wraps the artifact-viewer-panel component for tab-based display
|
|
26
|
+
* Supports reports, dashboards, forms, and other artifact types
|
|
27
|
+
*/
|
|
28
|
+
let ArtifactResource = class ArtifactResource extends BaseResourceComponent {
|
|
29
|
+
currentUser = null;
|
|
30
|
+
artifactId = '';
|
|
31
|
+
environmentId = '';
|
|
32
|
+
ngOnInit() {
|
|
33
|
+
const md = new Metadata();
|
|
34
|
+
this.currentUser = md.CurrentUser;
|
|
35
|
+
// Get artifact ID from resource data
|
|
36
|
+
if (this.Data && this.Data.ResourceRecordID) {
|
|
37
|
+
this.artifactId = this.Data.ResourceRecordID;
|
|
38
|
+
}
|
|
39
|
+
// Get environment ID (default to empty string if not available)
|
|
40
|
+
this.environmentId = ''; // TODO: Get from configuration if needed
|
|
41
|
+
setTimeout(() => this.NotifyLoadComplete(), 100);
|
|
42
|
+
}
|
|
43
|
+
async GetResourceDisplayName(data) {
|
|
44
|
+
// Try to load artifact name from database
|
|
45
|
+
if (data.ResourceRecordID) {
|
|
46
|
+
try {
|
|
47
|
+
const md = new Metadata();
|
|
48
|
+
const artifact = await md.GetEntityObject('MJ: Conversation Artifacts');
|
|
49
|
+
await artifact.Load(data.ResourceRecordID);
|
|
50
|
+
return artifact.Name || `Artifact - ${data.ResourceRecordID}`;
|
|
51
|
+
}
|
|
52
|
+
catch (error) {
|
|
53
|
+
console.error('Error loading artifact name:', error);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
return 'Artifact';
|
|
57
|
+
}
|
|
58
|
+
async GetResourceIconClass(data) {
|
|
59
|
+
return 'fa-solid fa-file-code';
|
|
60
|
+
}
|
|
61
|
+
static ɵfac = /*@__PURE__*/ (() => { let ɵArtifactResource_BaseFactory; return function ArtifactResource_Factory(t) { return (ɵArtifactResource_BaseFactory || (ɵArtifactResource_BaseFactory = i0.ɵɵgetInheritedFactory(ArtifactResource)))(t || ArtifactResource); }; })();
|
|
62
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ArtifactResource, selectors: [["mj-artifact-resource"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 1, consts: [[1, "artifact-container"], [3, "artifactId", "currentUser", "environmentId", "showSaveToCollection", "canShare", "canEdit", 4, "ngIf"], [3, "artifactId", "currentUser", "environmentId", "showSaveToCollection", "canShare", "canEdit"]], template: function ArtifactResource_Template(rf, ctx) { if (rf & 1) {
|
|
63
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
64
|
+
i0.ɵɵtemplate(1, ArtifactResource_mj_artifact_viewer_panel_1_Template, 1, 6, "mj-artifact-viewer-panel", 1);
|
|
65
|
+
i0.ɵɵelementEnd();
|
|
66
|
+
} if (rf & 2) {
|
|
67
|
+
i0.ɵɵadvance();
|
|
68
|
+
i0.ɵɵproperty("ngIf", ctx.currentUser && ctx.artifactId);
|
|
69
|
+
} }, dependencies: [i1.NgIf, i2.ArtifactViewerPanelComponent], styles: ["\n .artifact-container {\n display: flex;\n width: 100%;\n height: 100%;\n overflow: hidden;\n }\n "], encapsulation: 2 });
|
|
70
|
+
};
|
|
71
|
+
ArtifactResource = __decorate([
|
|
72
|
+
RegisterClass(BaseResourceComponent, 'ArtifactResource')
|
|
73
|
+
], ArtifactResource);
|
|
74
|
+
export { ArtifactResource };
|
|
75
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ArtifactResource, [{
|
|
76
|
+
type: Component,
|
|
77
|
+
args: [{ selector: 'mj-artifact-resource', template: `
|
|
78
|
+
<div class="artifact-container">
|
|
79
|
+
<mj-artifact-viewer-panel
|
|
80
|
+
*ngIf="currentUser && artifactId"
|
|
81
|
+
[artifactId]="artifactId"
|
|
82
|
+
[currentUser]="currentUser"
|
|
83
|
+
[environmentId]="environmentId"
|
|
84
|
+
[showSaveToCollection]="true"
|
|
85
|
+
[canShare]="true"
|
|
86
|
+
[canEdit]="true">
|
|
87
|
+
</mj-artifact-viewer-panel>
|
|
88
|
+
</div>
|
|
89
|
+
`, encapsulation: ViewEncapsulation.None, styles: ["\n .artifact-container {\n display: flex;\n width: 100%;\n height: 100%;\n overflow: hidden;\n }\n "] }]
|
|
90
|
+
}], null, null); })();
|
|
91
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ArtifactResource, { className: "ArtifactResource", filePath: "src/lib/resource-wrappers/artifact-resource.component.ts", lineNumber: 42 }); })();
|
|
92
|
+
//# sourceMappingURL=artifact-resource.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"artifact-resource.component.js","sourceRoot":"","sources":["../../../src/lib/resource-wrappers/artifact-resource.component.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAC7D,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;;;;;IAiB5D,8CAQ2B;;;IADzB,AADA,AADA,AADA,AADA,AADA,8CAAyB,mCACE,uCACI,8BACF,kBACZ,iBACD;;AArBxB,MAAM,UAAU,oBAAoB;IAClC,qEAAqE;AACvE,CAAC;AAED;;;;GAIG;AA2BI,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,qBAAqB;IAClD,WAAW,GAAQ,IAAI,CAAC;IACxB,UAAU,GAAW,EAAE,CAAC;IACxB,aAAa,GAAW,EAAE,CAAC;IAElC,QAAQ;QACN,MAAM,EAAE,GAAG,IAAI,QAAQ,EAAE,CAAC;QAC1B,IAAI,CAAC,WAAW,GAAG,EAAE,CAAC,WAAW,CAAC;QAElC,qCAAqC;QACrC,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,IAAI,CAAC,gBAAgB,EAAE,CAAC;YAC5C,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,IAAI,CAAC,gBAAgB,CAAC;QAC/C,CAAC;QAED,gEAAgE;QAChE,IAAI,CAAC,aAAa,GAAG,EAAE,CAAC,CAAE,yCAAyC;QAEnE,UAAU,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,kBAAkB,EAAE,EAAE,GAAG,CAAC,CAAC;IACnD,CAAC;IAED,KAAK,CAAC,sBAAsB,CAAC,IAAkB;QAC7C,0CAA0C;QAC1C,IAAI,IAAI,CAAC,gBAAgB,EAAE,CAAC;YAC1B,IAAI,CAAC;gBACH,MAAM,EAAE,GAAG,IAAI,QAAQ,EAAE,CAAC;gBAC1B,MAAM,QAAQ,GAAG,MAAM,EAAE,CAAC,eAAe,CAAM,4BAA4B,CAAC,CAAC;gBAC7E,MAAM,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;gBAC3C,OAAO,QAAQ,CAAC,IAAI,IAAI,cAAc,IAAI,CAAC,gBAAgB,EAAE,CAAC;YAChE,CAAC;YAAC,OAAO,KAAK,EAAE,CAAC;gBACf,OAAO,CAAC,KAAK,CAAC,8BAA8B,EAAE,KAAK,CAAC,CAAC;YACvD,CAAC;QACH,CAAC;QACD,OAAO,UAAU,CAAC;IACpB,CAAC;IAED,KAAK,CAAC,oBAAoB,CAAC,IAAkB;QAC3C,OAAO,uBAAuB,CAAC;IACjC,CAAC;6NArCU,gBAAgB,SAAhB,gBAAgB;6DAAhB,gBAAgB;YAtBzB,8BAAgC;YAC9B,2GAOmB;YAErB,iBAAM;;YARD,cAA+B;YAA/B,wDAA+B;;;AAoB3B,gBAAgB;IA1B5B,aAAa,CAAC,qBAAqB,EAAE,kBAAkB,CAAC;GA0B5C,gBAAgB,CAsC5B;;iFAtCY,gBAAgB;cAzB5B,SAAS;2BACE,sBAAsB,YACtB;;;;;;;;;;;;GAYT,iBASc,iBAAiB,CAAC,IAAI;;kFAE1B,gBAAgB"}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { OnInit, OnDestroy } from '@angular/core';
|
|
2
|
+
import { Router } from '@angular/router';
|
|
3
|
+
import { BaseResourceComponent, NavigationService } from '@memberjunction/ng-shared';
|
|
4
|
+
import { ResourceData } from '@memberjunction/core-entities';
|
|
5
|
+
import { ArtifactStateService, ArtifactPermissionService, CollectionStateService } from '@memberjunction/ng-conversations';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare function LoadChatCollectionsResource(): void;
|
|
8
|
+
/**
|
|
9
|
+
* Chat Collections Resource - displays the collections full view for tab-based display
|
|
10
|
+
* Extends BaseResourceComponent to work with the resource type system
|
|
11
|
+
* Shows all collections and their artifacts in a comprehensive view
|
|
12
|
+
* Includes artifact panel support for viewing selected artifacts
|
|
13
|
+
*/
|
|
14
|
+
export declare class ChatCollectionsResource extends BaseResourceComponent implements OnInit, OnDestroy {
|
|
15
|
+
private artifactState;
|
|
16
|
+
private artifactPermissionService;
|
|
17
|
+
collectionState: CollectionStateService;
|
|
18
|
+
private navigationService;
|
|
19
|
+
private router;
|
|
20
|
+
currentUser: any;
|
|
21
|
+
isArtifactPanelOpen: boolean;
|
|
22
|
+
activeArtifactId: string | null;
|
|
23
|
+
activeVersionNumber: number | null;
|
|
24
|
+
canShareActiveArtifact: boolean;
|
|
25
|
+
canEditActiveArtifact: boolean;
|
|
26
|
+
artifactPanelWidth: number;
|
|
27
|
+
isArtifactPanelMaximized: boolean;
|
|
28
|
+
private artifactPanelWidthBeforeMaximize;
|
|
29
|
+
private isResizing;
|
|
30
|
+
private resizeStartX;
|
|
31
|
+
private resizeStartWidth;
|
|
32
|
+
private destroy$;
|
|
33
|
+
private skipUrlUpdate;
|
|
34
|
+
private lastNavigatedUrl;
|
|
35
|
+
constructor(artifactState: ArtifactStateService, artifactPermissionService: ArtifactPermissionService, collectionState: CollectionStateService, navigationService: NavigationService, router: Router);
|
|
36
|
+
ngOnInit(): void;
|
|
37
|
+
/**
|
|
38
|
+
* Parse URL query string for collection state.
|
|
39
|
+
* Query params: collectionId, artifactId, versionNumber
|
|
40
|
+
*/
|
|
41
|
+
private parseUrlState;
|
|
42
|
+
/**
|
|
43
|
+
* Apply URL state to collection services.
|
|
44
|
+
*/
|
|
45
|
+
private applyUrlState;
|
|
46
|
+
/**
|
|
47
|
+
* Apply navigation parameters from configuration.
|
|
48
|
+
* This handles deep-linking from other resources (e.g., clicking a link in Conversations).
|
|
49
|
+
*/
|
|
50
|
+
private applyNavigationParams;
|
|
51
|
+
/**
|
|
52
|
+
* Subscribe to state changes for URL updates.
|
|
53
|
+
*/
|
|
54
|
+
private subscribeToUrlStateChanges;
|
|
55
|
+
/**
|
|
56
|
+
* Update URL query string to reflect current state.
|
|
57
|
+
* Uses Angular Router for proper browser history integration.
|
|
58
|
+
*/
|
|
59
|
+
private updateUrl;
|
|
60
|
+
/**
|
|
61
|
+
* Handle external navigation (back/forward buttons).
|
|
62
|
+
* Parses the URL and applies the state without triggering a new navigation.
|
|
63
|
+
*/
|
|
64
|
+
private onExternalNavigation;
|
|
65
|
+
/**
|
|
66
|
+
* Parse URL state from a URL string (used for external navigation).
|
|
67
|
+
*/
|
|
68
|
+
private parseUrlFromString;
|
|
69
|
+
ngOnDestroy(): void;
|
|
70
|
+
/**
|
|
71
|
+
* Subscribe to artifact state service for panel open/close
|
|
72
|
+
*/
|
|
73
|
+
private subscribeToArtifactState;
|
|
74
|
+
/**
|
|
75
|
+
* Load permissions for the active artifact
|
|
76
|
+
*/
|
|
77
|
+
private loadArtifactPermissions;
|
|
78
|
+
/**
|
|
79
|
+
* Close the artifact panel
|
|
80
|
+
*/
|
|
81
|
+
closeArtifactPanel(): void;
|
|
82
|
+
/**
|
|
83
|
+
* Toggle maximize/restore state for artifact panel
|
|
84
|
+
*/
|
|
85
|
+
toggleMaximizeArtifactPanel(): void;
|
|
86
|
+
/**
|
|
87
|
+
* Handle navigation request from artifact viewer panel.
|
|
88
|
+
* Converts the link event to a generic navigation request and uses NavigationService.
|
|
89
|
+
*/
|
|
90
|
+
onNavigateToLink(event: {
|
|
91
|
+
type: 'conversation' | 'collection';
|
|
92
|
+
id: string;
|
|
93
|
+
artifactId?: string;
|
|
94
|
+
versionNumber?: number;
|
|
95
|
+
versionId?: string;
|
|
96
|
+
}): void;
|
|
97
|
+
/**
|
|
98
|
+
* Get the environment ID from configuration or use default
|
|
99
|
+
*/
|
|
100
|
+
get environmentId(): string;
|
|
101
|
+
/**
|
|
102
|
+
* Get the display name for chat collections
|
|
103
|
+
*/
|
|
104
|
+
GetResourceDisplayName(data: ResourceData): Promise<string>;
|
|
105
|
+
/**
|
|
106
|
+
* Get the icon class for chat collections
|
|
107
|
+
*/
|
|
108
|
+
GetResourceIconClass(data: ResourceData): Promise<string>;
|
|
109
|
+
private setupResizeListeners;
|
|
110
|
+
private removeResizeListeners;
|
|
111
|
+
private boundOnResizeMove;
|
|
112
|
+
private boundOnResizeEnd;
|
|
113
|
+
onResizeStart(event: MouseEvent): void;
|
|
114
|
+
private onResizeMove;
|
|
115
|
+
private onResizeEnd;
|
|
116
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ChatCollectionsResource, never>;
|
|
117
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ChatCollectionsResource, "mj-chat-collections-resource", never, {}, {}, never, never, false, never>;
|
|
118
|
+
}
|
|
119
|
+
//# sourceMappingURL=chat-collections-resource.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chat-collections-resource.component.d.ts","sourceRoot":"","sources":["../../../src/lib/resource-wrappers/chat-collections-resource.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgC,MAAM,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAChF,OAAO,EAAE,MAAM,EAAiB,MAAM,iBAAiB,CAAC;AAGxD,OAAO,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AACrF,OAAO,EAAE,YAAY,EAA6B,MAAM,+BAA+B,CAAC;AACxF,OAAO,EAAE,oBAAoB,EAAE,yBAAyB,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;;AAG3H,wBAAgB,2BAA2B,SAI1C;AAED;;;;;GAKG;AAC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