@memberjunction/ng-dashboards 2.86.0 → 2.88.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/ComponentStudio/component-studio-dashboard.component.d.ts +41 -54
- package/dist/ComponentStudio/component-studio-dashboard.component.d.ts.map +1 -1
- package/dist/ComponentStudio/component-studio-dashboard.component.js +415 -595
- package/dist/ComponentStudio/component-studio-dashboard.component.js.map +1 -1
- package/dist/ComponentStudio/index.d.ts +0 -3
- package/dist/ComponentStudio/index.d.ts.map +1 -1
- package/dist/ComponentStudio/index.js +0 -3
- package/dist/ComponentStudio/index.js.map +1 -1
- package/dist/module.d.ts +18 -21
- package/dist/module.d.ts.map +1 -1
- package/dist/module.js +9 -14
- package/dist/module.js.map +1 -1
- package/package.json +10 -10
- package/dist/ComponentStudio/components/component-dependencies.component.d.ts +0 -19
- package/dist/ComponentStudio/components/component-dependencies.component.d.ts.map +0 -1
- package/dist/ComponentStudio/components/component-dependencies.component.js +0 -138
- package/dist/ComponentStudio/components/component-dependencies.component.js.map +0 -1
- package/dist/ComponentStudio/components/component-preview.component.d.ts +0 -18
- package/dist/ComponentStudio/components/component-preview.component.d.ts.map +0 -1
- package/dist/ComponentStudio/components/component-preview.component.js +0 -86
- package/dist/ComponentStudio/components/component-preview.component.js.map +0 -1
- package/dist/ComponentStudio/components/component-studio-settings.component.d.ts +0 -29
- package/dist/ComponentStudio/components/component-studio-settings.component.d.ts.map +0 -1
- package/dist/ComponentStudio/components/component-studio-settings.component.js +0 -212
- package/dist/ComponentStudio/components/component-studio-settings.component.js.map +0 -1
|
@@ -1,81 +1,68 @@
|
|
|
1
1
|
import { AfterViewInit, OnDestroy, ChangeDetectorRef } from '@angular/core';
|
|
2
2
|
import { BaseDashboard } from '../generic/base-dashboard';
|
|
3
3
|
import { CompositeKey } from '@memberjunction/core';
|
|
4
|
-
import { ComponentEntity
|
|
5
|
-
import { BehaviorSubject } from 'rxjs';
|
|
4
|
+
import { ComponentEntity } from '@memberjunction/core-entities';
|
|
6
5
|
import { ComponentSpec } from '@memberjunction/interactive-component-types';
|
|
6
|
+
import { ReactComponentEvent } from '@memberjunction/ng-react';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
|
-
interface ComponentWithMetadata extends ComponentEntity {
|
|
9
|
-
dependencies?: ComponentDependencyEntity[];
|
|
10
|
-
libraries?: ComponentLibraryEntity[];
|
|
11
|
-
registry?: ComponentRegistryEntity;
|
|
12
|
-
}
|
|
13
8
|
export declare class ComponentStudioDashboardComponent extends BaseDashboard implements AfterViewInit, OnDestroy {
|
|
14
9
|
private cdr;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
showFilterPanel: boolean;
|
|
20
|
-
showPreviewPanel: boolean;
|
|
21
|
-
components$: BehaviorSubject<ComponentWithMetadata[]>;
|
|
22
|
-
filteredComponents$: BehaviorSubject<ComponentWithMetadata[]>;
|
|
23
|
-
registries$: BehaviorSubject<ComponentRegistryEntity[]>;
|
|
24
|
-
libraries$: BehaviorSubject<ComponentLibraryEntity[]>;
|
|
25
|
-
searchQuery$: BehaviorSubject<string>;
|
|
26
|
-
selectedTypes$: BehaviorSubject<Set<string>>;
|
|
27
|
-
selectedStatuses$: BehaviorSubject<Set<string>>;
|
|
28
|
-
selectedSources$: BehaviorSubject<Set<string>>;
|
|
29
|
-
selectedNamespaces$: BehaviorSubject<Set<string>>;
|
|
30
|
-
componentTypes: string[];
|
|
31
|
-
componentStatuses: string[];
|
|
32
|
-
selectedComponent: ComponentWithMetadata | null;
|
|
10
|
+
components: ComponentEntity[];
|
|
11
|
+
filteredComponents: ComponentEntity[];
|
|
12
|
+
selectedComponent: ComponentEntity | null;
|
|
13
|
+
expandedComponent: ComponentEntity | null;
|
|
33
14
|
componentSpec: ComponentSpec | null;
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
15
|
+
isLoading: boolean;
|
|
16
|
+
searchQuery: string;
|
|
17
|
+
isRunning: boolean;
|
|
18
|
+
currentError: {
|
|
19
|
+
type: string;
|
|
20
|
+
message: string;
|
|
21
|
+
technicalDetails?: any;
|
|
22
|
+
} | null;
|
|
41
23
|
private destroy$;
|
|
42
|
-
private stateChangeSubject;
|
|
43
24
|
constructor(cdr: ChangeDetectorRef);
|
|
44
25
|
ngAfterViewInit(): void;
|
|
45
|
-
protected initDashboard(): void;
|
|
46
26
|
ngOnDestroy(): void;
|
|
27
|
+
protected initDashboard(): void;
|
|
47
28
|
protected loadData(): Promise<void>;
|
|
48
|
-
private setupFilterSubscriptions;
|
|
49
|
-
private applyFilters;
|
|
50
|
-
private applyFiltersWithCriteria;
|
|
51
|
-
onTabChange(tabId: string): void;
|
|
52
|
-
onNavigationChange(event: any): void;
|
|
53
|
-
private updateNavigationSelection;
|
|
54
|
-
toggleViewMode(): void;
|
|
55
|
-
toggleFilterPanel(): void;
|
|
56
|
-
selectComponent(component: ComponentWithMetadata | null): Promise<void>;
|
|
57
|
-
private loadComponentDetails;
|
|
58
29
|
onSearchChange(query: string): void;
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
30
|
+
private filterComponents;
|
|
31
|
+
toggleComponentExpansion(component: ComponentEntity): void;
|
|
32
|
+
runComponent(component: ComponentEntity): void;
|
|
33
|
+
private startComponent;
|
|
34
|
+
stopComponent(): void;
|
|
35
|
+
/**
|
|
36
|
+
* Handle component events from React components
|
|
37
|
+
*/
|
|
38
|
+
onComponentEvent(event: ReactComponentEvent): void;
|
|
39
|
+
/**
|
|
40
|
+
* Handle open entity record event from React components
|
|
41
|
+
*/
|
|
63
42
|
onOpenEntityRecord(event: {
|
|
64
43
|
entityName: string;
|
|
65
44
|
key: CompositeKey;
|
|
66
45
|
}): void;
|
|
46
|
+
/**
|
|
47
|
+
* Retry running the current component
|
|
48
|
+
*/
|
|
49
|
+
retryComponent(): void;
|
|
50
|
+
/**
|
|
51
|
+
* Copy error details to clipboard
|
|
52
|
+
*/
|
|
53
|
+
copyErrorToClipboard(): Promise<void>;
|
|
54
|
+
/**
|
|
55
|
+
* Format technical details for display
|
|
56
|
+
*/
|
|
57
|
+
formatTechnicalDetails(details: any): string;
|
|
67
58
|
refreshData(): Promise<void>;
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
getComponentTypeColor(type: string): string;
|
|
71
|
-
getStatusBadgeClass(status: string): string;
|
|
59
|
+
getComponentTypeIcon(type: string | null): string;
|
|
60
|
+
getComponentTypeColor(type: string | null): string;
|
|
72
61
|
static ɵfac: i0.ɵɵFactoryDeclaration<ComponentStudioDashboardComponent, never>;
|
|
73
62
|
static ɵcmp: i0.ɵɵComponentDeclaration<ComponentStudioDashboardComponent, "mj-component-studio-dashboard", never, {}, {}, never, never, false, never>;
|
|
74
63
|
}
|
|
75
64
|
/**
|
|
76
65
|
* Function to prevent tree shaking of the ComponentStudioDashboardComponent.
|
|
77
|
-
* This is called in public-api.ts to ensure the component is included in the build.
|
|
78
66
|
*/
|
|
79
67
|
export declare function LoadComponentStudioDashboard(): void;
|
|
80
|
-
export {};
|
|
81
68
|
//# sourceMappingURL=component-studio-dashboard.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component-studio-dashboard.component.d.ts","sourceRoot":"","sources":["../../src/ComponentStudio/component-studio-dashboard.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,aAAa,EAAE,SAAS,
|
|
1
|
+
{"version":3,"file":"component-studio-dashboard.component.d.ts","sourceRoot":"","sources":["../../src/ComponentStudio/component-studio-dashboard.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,aAAa,EAAE,SAAS,EAAyB,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAC9G,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAE1D,OAAO,EAAW,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,E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