@memberjunction/ng-dashboards 2.85.0 → 2.87.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 +67 -0
- package/dist/ComponentStudio/component-studio-dashboard.component.d.ts.map +1 -0
- package/dist/ComponentStudio/component-studio-dashboard.component.js +530 -0
- package/dist/ComponentStudio/component-studio-dashboard.component.js.map +1 -0
- package/dist/ComponentStudio/index.d.ts +2 -0
- package/dist/ComponentStudio/index.d.ts.map +1 -0
- package/dist/ComponentStudio/index.js +2 -0
- package/dist/ComponentStudio/index.js.map +1 -0
- package/dist/module.d.ts +19 -16
- package/dist/module.d.ts.map +1 -1
- package/dist/module.js +27 -7
- 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 +3 -0
- package/dist/public-api.js.map +1 -1
- package/package.json +10 -10
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { AfterViewInit, OnDestroy, ChangeDetectorRef } from '@angular/core';
|
|
2
|
+
import { BaseDashboard } from '../generic/base-dashboard';
|
|
3
|
+
import { CompositeKey } from '@memberjunction/core';
|
|
4
|
+
import { ComponentEntity } from '@memberjunction/core-entities';
|
|
5
|
+
import { ComponentSpec } from '@memberjunction/interactive-component-types';
|
|
6
|
+
import { ReactComponentEvent } from '@memberjunction/ng-react';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class ComponentStudioDashboardComponent extends BaseDashboard implements AfterViewInit, OnDestroy {
|
|
9
|
+
private cdr;
|
|
10
|
+
components: ComponentEntity[];
|
|
11
|
+
filteredComponents: ComponentEntity[];
|
|
12
|
+
selectedComponent: ComponentEntity | null;
|
|
13
|
+
expandedComponent: ComponentEntity | null;
|
|
14
|
+
componentSpec: ComponentSpec | null;
|
|
15
|
+
isLoading: boolean;
|
|
16
|
+
searchQuery: string;
|
|
17
|
+
isRunning: boolean;
|
|
18
|
+
currentError: {
|
|
19
|
+
type: string;
|
|
20
|
+
message: string;
|
|
21
|
+
technicalDetails?: any;
|
|
22
|
+
} | null;
|
|
23
|
+
private destroy$;
|
|
24
|
+
constructor(cdr: ChangeDetectorRef);
|
|
25
|
+
ngAfterViewInit(): void;
|
|
26
|
+
ngOnDestroy(): void;
|
|
27
|
+
protected initDashboard(): void;
|
|
28
|
+
protected loadData(): Promise<void>;
|
|
29
|
+
onSearchChange(query: string): void;
|
|
30
|
+
private filterComponents;
|
|
31
|
+
toggleComponentExpansion(component: ComponentEntity): void;
|
|
32
|
+
runComponent(component: ComponentEntity): void;
|
|
33
|
+
stopComponent(): void;
|
|
34
|
+
/**
|
|
35
|
+
* Handle component events from React components
|
|
36
|
+
*/
|
|
37
|
+
onComponentEvent(event: ReactComponentEvent): void;
|
|
38
|
+
/**
|
|
39
|
+
* Handle open entity record event from React components
|
|
40
|
+
*/
|
|
41
|
+
onOpenEntityRecord(event: {
|
|
42
|
+
entityName: string;
|
|
43
|
+
key: CompositeKey;
|
|
44
|
+
}): void;
|
|
45
|
+
/**
|
|
46
|
+
* Retry running the current component
|
|
47
|
+
*/
|
|
48
|
+
retryComponent(): void;
|
|
49
|
+
/**
|
|
50
|
+
* Copy error details to clipboard
|
|
51
|
+
*/
|
|
52
|
+
copyErrorToClipboard(): Promise<void>;
|
|
53
|
+
/**
|
|
54
|
+
* Format technical details for display
|
|
55
|
+
*/
|
|
56
|
+
formatTechnicalDetails(details: any): string;
|
|
57
|
+
refreshData(): Promise<void>;
|
|
58
|
+
getComponentTypeIcon(type: string | null): string;
|
|
59
|
+
getComponentTypeColor(type: string | null): string;
|
|
60
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ComponentStudioDashboardComponent, never>;
|
|
61
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ComponentStudioDashboardComponent, "mj-component-studio-dashboard", never, {}, {}, never, never, false, never>;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Function to prevent tree shaking of the ComponentStudioDashboardComponent.
|
|
65
|
+
*/
|
|
66
|
+
export declare function LoadComponentStudioDashboard(): void;
|
|
67
|
+
//# sourceMappingURL=component-studio-dashboard.component.d.ts.map
|
|
@@ -0,0 +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,EAAyB,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAC9G,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAE1D,OAAO,EAAW,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAGhE,OAAO,EAAE,aAAa,EAAE,MAAM,6CAA6C,CAAC;AAC5E,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;;AAG/D,qBAMa,iCAAkC,SAAQ,aAAc,YAAW,aAAa,EAAE,SAAS;IAiB1F,OAAO,CAAC,GAAG;IAdhB,UAAU,EAAE,eAAe,EAAE,CAAM;IACnC,kBAAkB,EAAE,eAAe,EAAE,CAAM;IAC3C,iBAAiB,EAAE,eAAe,GAAG,IAAI,CAAQ;IACjD,iBAAiB,EAAE,eAAe,GAAG,IAAI,CAAQ;IACjD,aAAa,EAAE,aAAa,GAAG,IAAI,CAAQ;IAC3C,SAAS,UAAS;IAClB,WAAW,SAAM;IACjB,SAAS,UAAS;IAGlB,YAAY,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAC;QAAC,gBAAgB,CAAC,EAAE,GAAG,CAAA;KAAE,GAAG,IAAI,CAAQ;IAE7F,OAAO,CAAC,QAAQ,CAAuB;gBAEnB,GAAG,EAAE,iBAAiB;IAI1C,eAAe,IAAI,IAAI;IAKvB,WAAW,IAAI,IAAI;IAKnB,SAAS,CAAC,aAAa,IAAI,IAAI;cAIf,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC;IA0BlC,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAK1C,OAAO,CAAC,gBAAgB;IAajB,wBAAwB,CAAC,SAAS,EAAE,eAAe,GAAG,IAAI;IAU1D,YAAY,CAAC,SAAS,EAAE,eAAe,GAAG,IAAI;IAS9C,aAAa,IAAI,IAAI;IAQ5B;;OAEG;IACI,gBAAgB,CAAC,KAAK,EAAE,mBAAmB,GAAG,IAAI;IAWzD;;OAEG;IACI,kBAAkB,CAAC,KAAK,EAAE;QAAE,UAAU,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,YAAY,CAAA;KAAE,GAAG,IAAI;IAKjF;;OAEG;IACI,cAAc,IAAI,IAAI;IAY7B;;OAEG;IACU,oBAAoB,IAAI,OAAO,CAAC,IAAI,CAAC;IAoBlD;;OAEG;IACI,sBAAsB,CAAC,OAAO,EAAE,GAAG,GAAG,MAAM;IAOtC,WAAW,IAAI,OAAO,CAAC,IAAI,CAAC;IAIlC,oBAAoB,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,GAAG,MAAM;IAejD,qBAAqB,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,GAAG,MAAM;yCAnM9C,iCAAiC;2CAAjC,iCAAiC;CAiN7C;AAED;;GAEG;AACH,wBAAgB,4BAA4B,SAE3C"}
|
|
@@ -0,0 +1,530 @@
|
|
|
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 } from '@angular/core';
|
|
8
|
+
import { BaseDashboard } from '../generic/base-dashboard';
|
|
9
|
+
import { RegisterClass } from '@memberjunction/global';
|
|
10
|
+
import { RunView } from '@memberjunction/core';
|
|
11
|
+
import { Subject } from 'rxjs';
|
|
12
|
+
import { SharedService } from '@memberjunction/ng-shared';
|
|
13
|
+
import * as i0 from "@angular/core";
|
|
14
|
+
import * as i1 from "@angular/common";
|
|
15
|
+
import * as i2 from "@progress/kendo-angular-inputs";
|
|
16
|
+
import * as i3 from "@progress/kendo-angular-layout";
|
|
17
|
+
import * as i4 from "@progress/kendo-angular-buttons";
|
|
18
|
+
import * as i5 from "@memberjunction/ng-react";
|
|
19
|
+
const _forTrack0 = ($index, $item) => $item.ID;
|
|
20
|
+
function ComponentStudioDashboardComponent_ng_template_16_Template(rf, ctx) { if (rf & 1) {
|
|
21
|
+
i0.ɵɵelement(0, "i", 18);
|
|
22
|
+
} }
|
|
23
|
+
function ComponentStudioDashboardComponent_Conditional_18_Template(rf, ctx) { if (rf & 1) {
|
|
24
|
+
i0.ɵɵelementStart(0, "div", 13);
|
|
25
|
+
i0.ɵɵelement(1, "i", 19);
|
|
26
|
+
i0.ɵɵtext(2, " Loading components... ");
|
|
27
|
+
i0.ɵɵelementEnd();
|
|
28
|
+
} }
|
|
29
|
+
function ComponentStudioDashboardComponent_Conditional_19_Template(rf, ctx) { if (rf & 1) {
|
|
30
|
+
i0.ɵɵelementStart(0, "div", 14);
|
|
31
|
+
i0.ɵɵtext(1, " No components found ");
|
|
32
|
+
i0.ɵɵelementEnd();
|
|
33
|
+
} }
|
|
34
|
+
function ComponentStudioDashboardComponent_Conditional_20_For_1_Conditional_12_Template(rf, ctx) { if (rf & 1) {
|
|
35
|
+
i0.ɵɵelementStart(0, "span", 30);
|
|
36
|
+
i0.ɵɵtext(1, "Published");
|
|
37
|
+
i0.ɵɵelementEnd();
|
|
38
|
+
} }
|
|
39
|
+
function ComponentStudioDashboardComponent_Conditional_20_For_1_Conditional_13_Template(rf, ctx) { if (rf & 1) {
|
|
40
|
+
i0.ɵɵelementStart(0, "span", 31);
|
|
41
|
+
i0.ɵɵtext(1, "Draft");
|
|
42
|
+
i0.ɵɵelementEnd();
|
|
43
|
+
} }
|
|
44
|
+
function ComponentStudioDashboardComponent_Conditional_20_For_1_Conditional_15_Template(rf, ctx) { if (rf & 1) {
|
|
45
|
+
i0.ɵɵelement(0, "i", 33);
|
|
46
|
+
} }
|
|
47
|
+
function ComponentStudioDashboardComponent_Conditional_20_For_1_Conditional_16_Template(rf, ctx) { if (rf & 1) {
|
|
48
|
+
i0.ɵɵelement(0, "i", 34);
|
|
49
|
+
} }
|
|
50
|
+
function ComponentStudioDashboardComponent_Conditional_20_For_1_Conditional_17_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
51
|
+
i0.ɵɵelementStart(0, "div", 36)(1, "label");
|
|
52
|
+
i0.ɵɵtext(2, "Description");
|
|
53
|
+
i0.ɵɵelementEnd();
|
|
54
|
+
i0.ɵɵelementStart(3, "p");
|
|
55
|
+
i0.ɵɵtext(4);
|
|
56
|
+
i0.ɵɵelementEnd()();
|
|
57
|
+
} if (rf & 2) {
|
|
58
|
+
const component_r2 = i0.ɵɵnextContext(2).$implicit;
|
|
59
|
+
i0.ɵɵadvance(4);
|
|
60
|
+
i0.ɵɵtextInterpolate(component_r2.Description);
|
|
61
|
+
} }
|
|
62
|
+
function ComponentStudioDashboardComponent_Conditional_20_For_1_Conditional_17_Conditional_21_Template(rf, ctx) { if (rf & 1) {
|
|
63
|
+
i0.ɵɵelementStart(0, "div", 38)(1, "span", 39);
|
|
64
|
+
i0.ɵɵtext(2, "Updated:");
|
|
65
|
+
i0.ɵɵelementEnd();
|
|
66
|
+
i0.ɵɵelementStart(3, "span", 40);
|
|
67
|
+
i0.ɵɵtext(4);
|
|
68
|
+
i0.ɵɵpipe(5, "date");
|
|
69
|
+
i0.ɵɵelementEnd()();
|
|
70
|
+
} if (rf & 2) {
|
|
71
|
+
const component_r2 = i0.ɵɵnextContext(2).$implicit;
|
|
72
|
+
i0.ɵɵadvance(4);
|
|
73
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(5, 1, component_r2.__mj_UpdatedAt, "short"));
|
|
74
|
+
} }
|
|
75
|
+
function ComponentStudioDashboardComponent_Conditional_20_For_1_Conditional_17_Conditional_23_Template(rf, ctx) { if (rf & 1) {
|
|
76
|
+
const _r4 = i0.ɵɵgetCurrentView();
|
|
77
|
+
i0.ɵɵelementStart(0, "button", 43);
|
|
78
|
+
i0.ɵɵlistener("click", function ComponentStudioDashboardComponent_Conditional_20_For_1_Conditional_17_Conditional_23_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r2 = i0.ɵɵnextContext(4); ctx_r2.stopComponent(); return i0.ɵɵresetView($event.stopPropagation()); });
|
|
79
|
+
i0.ɵɵtext(1, " Stop Component ");
|
|
80
|
+
i0.ɵɵelementEnd();
|
|
81
|
+
} if (rf & 2) {
|
|
82
|
+
i0.ɵɵproperty("icon", "fa-solid fa-stop")("themeColor", "error");
|
|
83
|
+
} }
|
|
84
|
+
function ComponentStudioDashboardComponent_Conditional_20_For_1_Conditional_17_Conditional_24_Template(rf, ctx) { if (rf & 1) {
|
|
85
|
+
const _r5 = i0.ɵɵgetCurrentView();
|
|
86
|
+
i0.ɵɵelementStart(0, "button", 43);
|
|
87
|
+
i0.ɵɵlistener("click", function ComponentStudioDashboardComponent_Conditional_20_For_1_Conditional_17_Conditional_24_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(_r5); const component_r2 = i0.ɵɵnextContext(2).$implicit; const ctx_r2 = i0.ɵɵnextContext(2); ctx_r2.runComponent(component_r2); return i0.ɵɵresetView($event.stopPropagation()); });
|
|
88
|
+
i0.ɵɵtext(1, " Run Component ");
|
|
89
|
+
i0.ɵɵelementEnd();
|
|
90
|
+
} if (rf & 2) {
|
|
91
|
+
i0.ɵɵproperty("icon", "fa-solid fa-play")("themeColor", "primary");
|
|
92
|
+
} }
|
|
93
|
+
function ComponentStudioDashboardComponent_Conditional_20_For_1_Conditional_17_Template(rf, ctx) { if (rf & 1) {
|
|
94
|
+
i0.ɵɵelementStart(0, "div", 35);
|
|
95
|
+
i0.ɵɵtemplate(1, ComponentStudioDashboardComponent_Conditional_20_For_1_Conditional_17_Conditional_1_Template, 5, 1, "div", 36);
|
|
96
|
+
i0.ɵɵelementStart(2, "div", 36)(3, "label");
|
|
97
|
+
i0.ɵɵtext(4, "Component Info");
|
|
98
|
+
i0.ɵɵelementEnd();
|
|
99
|
+
i0.ɵɵelementStart(5, "div", 37)(6, "div", 38)(7, "span", 39);
|
|
100
|
+
i0.ɵɵtext(8, "Type:");
|
|
101
|
+
i0.ɵɵelementEnd();
|
|
102
|
+
i0.ɵɵelementStart(9, "span", 40);
|
|
103
|
+
i0.ɵɵtext(10);
|
|
104
|
+
i0.ɵɵelementEnd()();
|
|
105
|
+
i0.ɵɵelementStart(11, "div", 38)(12, "span", 39);
|
|
106
|
+
i0.ɵɵtext(13, "Version:");
|
|
107
|
+
i0.ɵɵelementEnd();
|
|
108
|
+
i0.ɵɵelementStart(14, "span", 40);
|
|
109
|
+
i0.ɵɵtext(15);
|
|
110
|
+
i0.ɵɵelementEnd()();
|
|
111
|
+
i0.ɵɵelementStart(16, "div", 38)(17, "span", 39);
|
|
112
|
+
i0.ɵɵtext(18, "Status:");
|
|
113
|
+
i0.ɵɵelementEnd();
|
|
114
|
+
i0.ɵɵelementStart(19, "span", 40);
|
|
115
|
+
i0.ɵɵtext(20);
|
|
116
|
+
i0.ɵɵelementEnd()();
|
|
117
|
+
i0.ɵɵtemplate(21, ComponentStudioDashboardComponent_Conditional_20_For_1_Conditional_17_Conditional_21_Template, 6, 4, "div", 38);
|
|
118
|
+
i0.ɵɵelementEnd()();
|
|
119
|
+
i0.ɵɵelementStart(22, "div", 41);
|
|
120
|
+
i0.ɵɵtemplate(23, ComponentStudioDashboardComponent_Conditional_20_For_1_Conditional_17_Conditional_23_Template, 2, 2, "button", 42)(24, ComponentStudioDashboardComponent_Conditional_20_For_1_Conditional_17_Conditional_24_Template, 2, 2, "button", 42);
|
|
121
|
+
i0.ɵɵelementEnd()();
|
|
122
|
+
} if (rf & 2) {
|
|
123
|
+
const component_r2 = i0.ɵɵnextContext().$implicit;
|
|
124
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
125
|
+
i0.ɵɵadvance();
|
|
126
|
+
i0.ɵɵconditional(component_r2.Description ? 1 : -1);
|
|
127
|
+
i0.ɵɵadvance(9);
|
|
128
|
+
i0.ɵɵtextInterpolate(component_r2.Type || "Unknown");
|
|
129
|
+
i0.ɵɵadvance(5);
|
|
130
|
+
i0.ɵɵtextInterpolate(component_r2.Version || "1.0.0");
|
|
131
|
+
i0.ɵɵadvance(5);
|
|
132
|
+
i0.ɵɵtextInterpolate(component_r2.Status || "Draft");
|
|
133
|
+
i0.ɵɵadvance();
|
|
134
|
+
i0.ɵɵconditional(component_r2.__mj_UpdatedAt ? 21 : -1);
|
|
135
|
+
i0.ɵɵadvance(2);
|
|
136
|
+
i0.ɵɵconditional((ctx_r2.selectedComponent == null ? null : ctx_r2.selectedComponent.ID) === component_r2.ID && ctx_r2.isRunning ? 23 : 24);
|
|
137
|
+
} }
|
|
138
|
+
function ComponentStudioDashboardComponent_Conditional_20_For_1_Template(rf, ctx) { if (rf & 1) {
|
|
139
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
140
|
+
i0.ɵɵelementStart(0, "div", 21)(1, "div", 22);
|
|
141
|
+
i0.ɵɵlistener("click", function ComponentStudioDashboardComponent_Conditional_20_For_1_Template_div_click_1_listener() { const component_r2 = i0.ɵɵrestoreView(_r1).$implicit; const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.toggleComponentExpansion(component_r2)); });
|
|
142
|
+
i0.ɵɵelementStart(2, "div", 23);
|
|
143
|
+
i0.ɵɵelement(3, "i", 24);
|
|
144
|
+
i0.ɵɵelementEnd();
|
|
145
|
+
i0.ɵɵelementStart(4, "div", 25)(5, "div", 26);
|
|
146
|
+
i0.ɵɵtext(6);
|
|
147
|
+
i0.ɵɵelementEnd();
|
|
148
|
+
i0.ɵɵelementStart(7, "div", 27)(8, "span", 28);
|
|
149
|
+
i0.ɵɵtext(9);
|
|
150
|
+
i0.ɵɵelementEnd();
|
|
151
|
+
i0.ɵɵelementStart(10, "span", 29);
|
|
152
|
+
i0.ɵɵtext(11);
|
|
153
|
+
i0.ɵɵelementEnd();
|
|
154
|
+
i0.ɵɵtemplate(12, ComponentStudioDashboardComponent_Conditional_20_For_1_Conditional_12_Template, 2, 0, "span", 30)(13, ComponentStudioDashboardComponent_Conditional_20_For_1_Conditional_13_Template, 2, 0, "span", 31);
|
|
155
|
+
i0.ɵɵelementEnd()();
|
|
156
|
+
i0.ɵɵelementStart(14, "div", 32);
|
|
157
|
+
i0.ɵɵtemplate(15, ComponentStudioDashboardComponent_Conditional_20_For_1_Conditional_15_Template, 1, 0, "i", 33)(16, ComponentStudioDashboardComponent_Conditional_20_For_1_Conditional_16_Template, 1, 0, "i", 34);
|
|
158
|
+
i0.ɵɵelementEnd()();
|
|
159
|
+
i0.ɵɵtemplate(17, ComponentStudioDashboardComponent_Conditional_20_For_1_Conditional_17_Template, 25, 6, "div", 35);
|
|
160
|
+
i0.ɵɵelementEnd();
|
|
161
|
+
} if (rf & 2) {
|
|
162
|
+
const component_r2 = ctx.$implicit;
|
|
163
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
164
|
+
i0.ɵɵclassProp("expanded", (ctx_r2.expandedComponent == null ? null : ctx_r2.expandedComponent.ID) === component_r2.ID)("running", (ctx_r2.selectedComponent == null ? null : ctx_r2.selectedComponent.ID) === component_r2.ID && ctx_r2.isRunning);
|
|
165
|
+
i0.ɵɵadvance(2);
|
|
166
|
+
i0.ɵɵstyleProp("color", ctx_r2.getComponentTypeColor(component_r2.Type));
|
|
167
|
+
i0.ɵɵadvance();
|
|
168
|
+
i0.ɵɵproperty("ngClass", ctx_r2.getComponentTypeIcon(component_r2.Type));
|
|
169
|
+
i0.ɵɵadvance(3);
|
|
170
|
+
i0.ɵɵtextInterpolate(component_r2.Name);
|
|
171
|
+
i0.ɵɵadvance(3);
|
|
172
|
+
i0.ɵɵtextInterpolate(component_r2.Type || "Component");
|
|
173
|
+
i0.ɵɵadvance(2);
|
|
174
|
+
i0.ɵɵtextInterpolate1("v", component_r2.Version || "1.0.0", "");
|
|
175
|
+
i0.ɵɵadvance();
|
|
176
|
+
i0.ɵɵconditional(component_r2.Status === "Published" ? 12 : 13);
|
|
177
|
+
i0.ɵɵadvance(3);
|
|
178
|
+
i0.ɵɵconditional((ctx_r2.expandedComponent == null ? null : ctx_r2.expandedComponent.ID) === component_r2.ID ? 15 : 16);
|
|
179
|
+
i0.ɵɵadvance(2);
|
|
180
|
+
i0.ɵɵconditional((ctx_r2.expandedComponent == null ? null : ctx_r2.expandedComponent.ID) === component_r2.ID ? 17 : -1);
|
|
181
|
+
} }
|
|
182
|
+
function ComponentStudioDashboardComponent_Conditional_20_Template(rf, ctx) { if (rf & 1) {
|
|
183
|
+
i0.ɵɵrepeaterCreate(0, ComponentStudioDashboardComponent_Conditional_20_For_1_Template, 18, 13, "div", 20, _forTrack0);
|
|
184
|
+
} if (rf & 2) {
|
|
185
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
186
|
+
i0.ɵɵrepeater(ctx_r2.filteredComponents);
|
|
187
|
+
} }
|
|
188
|
+
function ComponentStudioDashboardComponent_Conditional_23_Conditional_0_Conditional_18_Template(rf, ctx) { if (rf & 1) {
|
|
189
|
+
i0.ɵɵelementStart(0, "details", 53)(1, "summary");
|
|
190
|
+
i0.ɵɵtext(2, "Technical Details (click to expand)");
|
|
191
|
+
i0.ɵɵelementEnd();
|
|
192
|
+
i0.ɵɵelementStart(3, "pre");
|
|
193
|
+
i0.ɵɵtext(4);
|
|
194
|
+
i0.ɵɵelementEnd()();
|
|
195
|
+
} if (rf & 2) {
|
|
196
|
+
const ctx_r2 = i0.ɵɵnextContext(3);
|
|
197
|
+
i0.ɵɵadvance(4);
|
|
198
|
+
i0.ɵɵtextInterpolate(ctx_r2.formatTechnicalDetails(ctx_r2.currentError.technicalDetails));
|
|
199
|
+
} }
|
|
200
|
+
function ComponentStudioDashboardComponent_Conditional_23_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
201
|
+
const _r6 = i0.ɵɵgetCurrentView();
|
|
202
|
+
i0.ɵɵelementStart(0, "div", 44)(1, "div", 46)(2, "div", 47);
|
|
203
|
+
i0.ɵɵelement(3, "i", 48);
|
|
204
|
+
i0.ɵɵelementStart(4, "h3");
|
|
205
|
+
i0.ɵɵtext(5, "Component Error");
|
|
206
|
+
i0.ɵɵelementEnd();
|
|
207
|
+
i0.ɵɵelementStart(6, "button", 49);
|
|
208
|
+
i0.ɵɵlistener("click", function ComponentStudioDashboardComponent_Conditional_23_Conditional_0_Template_button_click_6_listener() { i0.ɵɵrestoreView(_r6); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.copyErrorToClipboard()); });
|
|
209
|
+
i0.ɵɵelement(7, "i", 50);
|
|
210
|
+
i0.ɵɵelementEnd()();
|
|
211
|
+
i0.ɵɵelementStart(8, "p", 51);
|
|
212
|
+
i0.ɵɵtext(9, " The component could not be rendered due to the following error: ");
|
|
213
|
+
i0.ɵɵelementEnd();
|
|
214
|
+
i0.ɵɵelementStart(10, "div", 52)(11, "strong");
|
|
215
|
+
i0.ɵɵtext(12, "Error Type:");
|
|
216
|
+
i0.ɵɵelementEnd();
|
|
217
|
+
i0.ɵɵtext(13);
|
|
218
|
+
i0.ɵɵelement(14, "br");
|
|
219
|
+
i0.ɵɵelementStart(15, "strong");
|
|
220
|
+
i0.ɵɵtext(16, "Message:");
|
|
221
|
+
i0.ɵɵelementEnd();
|
|
222
|
+
i0.ɵɵtext(17);
|
|
223
|
+
i0.ɵɵtemplate(18, ComponentStudioDashboardComponent_Conditional_23_Conditional_0_Conditional_18_Template, 5, 1, "details", 53);
|
|
224
|
+
i0.ɵɵelementEnd();
|
|
225
|
+
i0.ɵɵelementStart(19, "div", 54)(20, "strong");
|
|
226
|
+
i0.ɵɵtext(21, "What to do:");
|
|
227
|
+
i0.ɵɵelementEnd();
|
|
228
|
+
i0.ɵɵelementStart(22, "ol")(23, "li");
|
|
229
|
+
i0.ɵɵtext(24, "Check that the component code is valid JavaScript/React");
|
|
230
|
+
i0.ɵɵelementEnd();
|
|
231
|
+
i0.ɵɵelementStart(25, "li");
|
|
232
|
+
i0.ɵɵtext(26, "Ensure all required dependencies are available");
|
|
233
|
+
i0.ɵɵelementEnd();
|
|
234
|
+
i0.ɵɵelementStart(27, "li");
|
|
235
|
+
i0.ɵɵtext(28, "Review the technical details for specific error information");
|
|
236
|
+
i0.ɵɵelementEnd();
|
|
237
|
+
i0.ɵɵelementStart(29, "li");
|
|
238
|
+
i0.ɵɵtext(30, "Contact your system administrator if the issue persists");
|
|
239
|
+
i0.ɵɵelementEnd()()();
|
|
240
|
+
i0.ɵɵelementStart(31, "div", 55)(32, "button", 56);
|
|
241
|
+
i0.ɵɵlistener("click", function ComponentStudioDashboardComponent_Conditional_23_Conditional_0_Template_button_click_32_listener() { i0.ɵɵrestoreView(_r6); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.retryComponent()); });
|
|
242
|
+
i0.ɵɵtext(33, " Retry ");
|
|
243
|
+
i0.ɵɵelementEnd();
|
|
244
|
+
i0.ɵɵelementStart(34, "button", 43);
|
|
245
|
+
i0.ɵɵlistener("click", function ComponentStudioDashboardComponent_Conditional_23_Conditional_0_Template_button_click_34_listener() { i0.ɵɵrestoreView(_r6); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.stopComponent()); });
|
|
246
|
+
i0.ɵɵtext(35, " Stop ");
|
|
247
|
+
i0.ɵɵelementEnd()()()();
|
|
248
|
+
} if (rf & 2) {
|
|
249
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
250
|
+
i0.ɵɵadvance(13);
|
|
251
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r2.currentError.type, "");
|
|
252
|
+
i0.ɵɵadvance(4);
|
|
253
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r2.currentError.message, " ");
|
|
254
|
+
i0.ɵɵadvance();
|
|
255
|
+
i0.ɵɵconditional(ctx_r2.currentError.technicalDetails ? 18 : -1);
|
|
256
|
+
i0.ɵɵadvance(14);
|
|
257
|
+
i0.ɵɵproperty("icon", "fa-solid fa-rotate");
|
|
258
|
+
i0.ɵɵadvance(2);
|
|
259
|
+
i0.ɵɵproperty("icon", "fa-solid fa-stop")("themeColor", "error");
|
|
260
|
+
} }
|
|
261
|
+
function ComponentStudioDashboardComponent_Conditional_23_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
262
|
+
const _r7 = i0.ɵɵgetCurrentView();
|
|
263
|
+
i0.ɵɵelementStart(0, "mj-react-component", 57);
|
|
264
|
+
i0.ɵɵlistener("componentEvent", function ComponentStudioDashboardComponent_Conditional_23_Conditional_1_Template_mj_react_component_componentEvent_0_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.onComponentEvent($event)); })("openEntityRecord", function ComponentStudioDashboardComponent_Conditional_23_Conditional_1_Template_mj_react_component_openEntityRecord_0_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.onOpenEntityRecord($event)); });
|
|
265
|
+
i0.ɵɵelementEnd();
|
|
266
|
+
} if (rf & 2) {
|
|
267
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
268
|
+
i0.ɵɵproperty("component", ctx_r2.componentSpec);
|
|
269
|
+
} }
|
|
270
|
+
function ComponentStudioDashboardComponent_Conditional_23_Template(rf, ctx) { if (rf & 1) {
|
|
271
|
+
i0.ɵɵtemplate(0, ComponentStudioDashboardComponent_Conditional_23_Conditional_0_Template, 36, 6, "div", 44)(1, ComponentStudioDashboardComponent_Conditional_23_Conditional_1_Template, 1, 1, "mj-react-component", 45);
|
|
272
|
+
} if (rf & 2) {
|
|
273
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
274
|
+
i0.ɵɵconditional(ctx_r2.currentError ? 0 : 1);
|
|
275
|
+
} }
|
|
276
|
+
function ComponentStudioDashboardComponent_Conditional_24_Template(rf, ctx) { if (rf & 1) {
|
|
277
|
+
i0.ɵɵelementStart(0, "div", 17);
|
|
278
|
+
i0.ɵɵelement(1, "i", 58);
|
|
279
|
+
i0.ɵɵelementStart(2, "h2");
|
|
280
|
+
i0.ɵɵtext(3, "Ready to Test Components");
|
|
281
|
+
i0.ɵɵelementEnd();
|
|
282
|
+
i0.ɵɵelementStart(4, "p");
|
|
283
|
+
i0.ɵɵtext(5, "Select a component from the list and click \"Run Component\" to see it in action");
|
|
284
|
+
i0.ɵɵelementEnd()();
|
|
285
|
+
} }
|
|
286
|
+
let ComponentStudioDashboardComponent = class ComponentStudioDashboardComponent extends BaseDashboard {
|
|
287
|
+
cdr;
|
|
288
|
+
// Component data
|
|
289
|
+
components = [];
|
|
290
|
+
filteredComponents = [];
|
|
291
|
+
selectedComponent = null;
|
|
292
|
+
expandedComponent = null; // Track which card is expanded
|
|
293
|
+
componentSpec = null;
|
|
294
|
+
isLoading = false;
|
|
295
|
+
searchQuery = '';
|
|
296
|
+
isRunning = false; // Track if component is currently running
|
|
297
|
+
// Error handling
|
|
298
|
+
currentError = null;
|
|
299
|
+
destroy$ = new Subject();
|
|
300
|
+
constructor(cdr) {
|
|
301
|
+
super();
|
|
302
|
+
this.cdr = cdr;
|
|
303
|
+
}
|
|
304
|
+
ngAfterViewInit() {
|
|
305
|
+
this.initDashboard();
|
|
306
|
+
this.loadData();
|
|
307
|
+
}
|
|
308
|
+
ngOnDestroy() {
|
|
309
|
+
this.destroy$.next();
|
|
310
|
+
this.destroy$.complete();
|
|
311
|
+
}
|
|
312
|
+
initDashboard() {
|
|
313
|
+
// Initialize dashboard
|
|
314
|
+
}
|
|
315
|
+
async loadData() {
|
|
316
|
+
this.isLoading = true;
|
|
317
|
+
try {
|
|
318
|
+
const rv = new RunView();
|
|
319
|
+
const result = await rv.RunView({
|
|
320
|
+
EntityName: 'MJ: Components',
|
|
321
|
+
ExtraFilter: '',
|
|
322
|
+
OrderBy: 'Name',
|
|
323
|
+
MaxRows: 1000,
|
|
324
|
+
ResultType: 'entity_object'
|
|
325
|
+
});
|
|
326
|
+
if (result.Success) {
|
|
327
|
+
this.components = result.Results || [];
|
|
328
|
+
this.filterComponents();
|
|
329
|
+
}
|
|
330
|
+
else {
|
|
331
|
+
console.error('Failed to load components:', result.ErrorMessage);
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
catch (error) {
|
|
335
|
+
console.error('Error loading components:', error);
|
|
336
|
+
}
|
|
337
|
+
finally {
|
|
338
|
+
this.isLoading = false;
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
onSearchChange(query) {
|
|
342
|
+
this.searchQuery = query;
|
|
343
|
+
this.filterComponents();
|
|
344
|
+
}
|
|
345
|
+
filterComponents() {
|
|
346
|
+
if (!this.searchQuery) {
|
|
347
|
+
this.filteredComponents = [...this.components];
|
|
348
|
+
}
|
|
349
|
+
else {
|
|
350
|
+
const query = this.searchQuery.toLowerCase();
|
|
351
|
+
this.filteredComponents = this.components.filter(c => c.Name?.toLowerCase().includes(query) ||
|
|
352
|
+
c.Description?.toLowerCase().includes(query) ||
|
|
353
|
+
c.Type?.toLowerCase().includes(query));
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
toggleComponentExpansion(component) {
|
|
357
|
+
// Toggle expansion - if clicking the same component, collapse it
|
|
358
|
+
if (this.expandedComponent?.ID === component.ID) {
|
|
359
|
+
this.expandedComponent = null;
|
|
360
|
+
}
|
|
361
|
+
else {
|
|
362
|
+
this.expandedComponent = component;
|
|
363
|
+
}
|
|
364
|
+
this.cdr.detectChanges();
|
|
365
|
+
}
|
|
366
|
+
runComponent(component) {
|
|
367
|
+
this.selectedComponent = component;
|
|
368
|
+
this.componentSpec = JSON.parse(component.Specification);
|
|
369
|
+
this.isRunning = true;
|
|
370
|
+
this.currentError = null; // Clear any previous errors
|
|
371
|
+
console.log('Running component:', component.Name);
|
|
372
|
+
this.cdr.detectChanges();
|
|
373
|
+
}
|
|
374
|
+
stopComponent() {
|
|
375
|
+
this.isRunning = false;
|
|
376
|
+
this.selectedComponent = null;
|
|
377
|
+
this.componentSpec = null;
|
|
378
|
+
this.currentError = null;
|
|
379
|
+
this.cdr.detectChanges();
|
|
380
|
+
}
|
|
381
|
+
/**
|
|
382
|
+
* Handle component events from React components
|
|
383
|
+
*/
|
|
384
|
+
onComponentEvent(event) {
|
|
385
|
+
if (event.type === 'error') {
|
|
386
|
+
this.currentError = {
|
|
387
|
+
type: event.payload?.source || 'Component Error',
|
|
388
|
+
message: event.payload?.error || 'An error occurred while rendering the component',
|
|
389
|
+
technicalDetails: event.payload?.errorInfo || event.payload
|
|
390
|
+
};
|
|
391
|
+
this.cdr.detectChanges();
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
/**
|
|
395
|
+
* Handle open entity record event from React components
|
|
396
|
+
*/
|
|
397
|
+
onOpenEntityRecord(event) {
|
|
398
|
+
// Use SharedService to open the entity record in a new window/tab
|
|
399
|
+
SharedService.Instance.OpenEntityRecord(event.entityName, event.key);
|
|
400
|
+
}
|
|
401
|
+
/**
|
|
402
|
+
* Retry running the current component
|
|
403
|
+
*/
|
|
404
|
+
retryComponent() {
|
|
405
|
+
if (this.selectedComponent) {
|
|
406
|
+
this.currentError = null;
|
|
407
|
+
this.isRunning = false;
|
|
408
|
+
this.cdr.detectChanges();
|
|
409
|
+
// Small delay to reset the component
|
|
410
|
+
setTimeout(() => {
|
|
411
|
+
this.runComponent(this.selectedComponent);
|
|
412
|
+
}, 100);
|
|
413
|
+
}
|
|
414
|
+
}
|
|
415
|
+
/**
|
|
416
|
+
* Copy error details to clipboard
|
|
417
|
+
*/
|
|
418
|
+
async copyErrorToClipboard() {
|
|
419
|
+
if (!this.currentError)
|
|
420
|
+
return;
|
|
421
|
+
const errorText = `
|
|
422
|
+
Component Error Report
|
|
423
|
+
${'='.repeat(50)}
|
|
424
|
+
Component: ${this.selectedComponent?.Name}
|
|
425
|
+
Error Type: ${this.currentError.type}
|
|
426
|
+
Message: ${this.currentError.message}
|
|
427
|
+
${this.currentError.technicalDetails ? '\nTechnical Details:\n' + JSON.stringify(this.currentError.technicalDetails, null, 2) : ''}
|
|
428
|
+
`;
|
|
429
|
+
try {
|
|
430
|
+
await navigator.clipboard.writeText(errorText);
|
|
431
|
+
console.log('Error details copied to clipboard');
|
|
432
|
+
}
|
|
433
|
+
catch (err) {
|
|
434
|
+
console.error('Failed to copy to clipboard:', err);
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
/**
|
|
438
|
+
* Format technical details for display
|
|
439
|
+
*/
|
|
440
|
+
formatTechnicalDetails(details) {
|
|
441
|
+
if (typeof details === 'string') {
|
|
442
|
+
return details;
|
|
443
|
+
}
|
|
444
|
+
return JSON.stringify(details, null, 2);
|
|
445
|
+
}
|
|
446
|
+
async refreshData() {
|
|
447
|
+
await this.loadData();
|
|
448
|
+
}
|
|
449
|
+
getComponentTypeIcon(type) {
|
|
450
|
+
const icons = {
|
|
451
|
+
'Report': 'fa-file-alt',
|
|
452
|
+
'Dashboard': 'fa-tachometer-alt',
|
|
453
|
+
'Form': 'fa-edit',
|
|
454
|
+
'Chart': 'fa-chart-bar',
|
|
455
|
+
'Table': 'fa-table',
|
|
456
|
+
'Widget': 'fa-cube',
|
|
457
|
+
'Navigation': 'fa-compass',
|
|
458
|
+
'Search': 'fa-search',
|
|
459
|
+
'Utility': 'fa-cog'
|
|
460
|
+
};
|
|
461
|
+
return icons[type || ''] || 'fa-puzzle-piece';
|
|
462
|
+
}
|
|
463
|
+
getComponentTypeColor(type) {
|
|
464
|
+
const colors = {
|
|
465
|
+
'Report': '#3B82F6',
|
|
466
|
+
'Dashboard': '#8B5CF6',
|
|
467
|
+
'Form': '#10B981',
|
|
468
|
+
'Chart': '#F97316',
|
|
469
|
+
'Table': '#06B6D4',
|
|
470
|
+
'Widget': '#EC4899',
|
|
471
|
+
'Navigation': '#6366F1',
|
|
472
|
+
'Search': '#14B8A6',
|
|
473
|
+
'Utility': '#64748B'
|
|
474
|
+
};
|
|
475
|
+
return colors[type || ''] || '#9CA3AF';
|
|
476
|
+
}
|
|
477
|
+
static ɵfac = function ComponentStudioDashboardComponent_Factory(t) { return new (t || ComponentStudioDashboardComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
478
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ComponentStudioDashboardComponent, selectors: [["mj-component-studio-dashboard"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 25, vars: 10, consts: [[1, "component-studio"], [1, "dashboard-header"], [1, "header-content"], [1, "fa-solid", "fa-puzzle-piece"], ["kendoButton", "", 3, "click", "icon", "disabled"], ["orientation", "horizontal", 2, "flex", "1", "height", "auto"], [3, "min", "max", "size"], [1, "components-panel"], [1, "panel-header"], [1, "search-box"], ["placeholder", "Search components...", 3, "valueChange", "value", "clearButton"], ["kendoTextBoxPrefixTemplate", ""], [1, "components-list"], [1, "loading-message"], [1, "empty-message"], [3, "min"], [1, "component-display"], [1, "empty-state"], [1, "fa-solid", "fa-search"], [1, "fa-solid", "fa-spinner", "fa-spin"], [1, "component-card", 3, "expanded", "running"], [1, "component-card"], [1, "card-header", 3, "click"], [1, "card-icon"], [1, "fa-solid", 3, "ngClass"], [1, "card-info"], [1, "card-name"], [1, "card-meta"], [1, "card-type"], [1, "card-version"], [1, "status-badge", "published"], [1, "status-badge", "draft"], [1, "card-chevron"], [1, "fa-solid", "fa-chevron-up"], [1, "fa-solid", "fa-chevron-down"], [1, "card-details"], [1, "detail-section"], [1, "info-grid"], [1, "info-item"], [1, "info-label"], [1, "info-value"], [1, "card-actions"], ["kendoButton", "", 3, "icon", "themeColor"], ["kendoButton", "", 3, "click", "icon", "themeColor"], [1, "error-display"], [3, "component"], [1, "error-container"], [1, "error-header"], [1, "fa-solid", "fa-exclamation-triangle"], ["title", "Copy error details", 1, "copy-button", 3, "click"], [1, "fa-solid", "fa-copy"], [1, "error-intro"], [1, "error-details"], [1, "technical-details"], [1, "error-help"], [1, "error-actions"], ["kendoButton", "", 3, "click", "icon"], [3, "componentEvent", "openEntityRecord", "component"], [1, "fa-solid", "fa-rocket", "fa-3x"]], template: function ComponentStudioDashboardComponent_Template(rf, ctx) { if (rf & 1) {
|
|
479
|
+
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "div", 2)(3, "h1");
|
|
480
|
+
i0.ɵɵelement(4, "i", 3);
|
|
481
|
+
i0.ɵɵtext(5, " Component Studio");
|
|
482
|
+
i0.ɵɵelementEnd();
|
|
483
|
+
i0.ɵɵelementStart(6, "button", 4);
|
|
484
|
+
i0.ɵɵlistener("click", function ComponentStudioDashboardComponent_Template_button_click_6_listener() { return ctx.refreshData(); });
|
|
485
|
+
i0.ɵɵtext(7, " Refresh ");
|
|
486
|
+
i0.ɵɵelementEnd()()();
|
|
487
|
+
i0.ɵɵelementStart(8, "kendo-splitter", 5)(9, "kendo-splitter-pane", 6)(10, "div", 7)(11, "div", 8)(12, "h3");
|
|
488
|
+
i0.ɵɵtext(13, "Components");
|
|
489
|
+
i0.ɵɵelementEnd();
|
|
490
|
+
i0.ɵɵelementStart(14, "div", 9)(15, "kendo-textbox", 10);
|
|
491
|
+
i0.ɵɵlistener("valueChange", function ComponentStudioDashboardComponent_Template_kendo_textbox_valueChange_15_listener($event) { return ctx.onSearchChange($event); });
|
|
492
|
+
i0.ɵɵtemplate(16, ComponentStudioDashboardComponent_ng_template_16_Template, 1, 0, "ng-template", 11);
|
|
493
|
+
i0.ɵɵelementEnd()()();
|
|
494
|
+
i0.ɵɵelementStart(17, "div", 12);
|
|
495
|
+
i0.ɵɵtemplate(18, ComponentStudioDashboardComponent_Conditional_18_Template, 3, 0, "div", 13)(19, ComponentStudioDashboardComponent_Conditional_19_Template, 2, 0, "div", 14)(20, ComponentStudioDashboardComponent_Conditional_20_Template, 2, 0);
|
|
496
|
+
i0.ɵɵelementEnd()()();
|
|
497
|
+
i0.ɵɵelementStart(21, "kendo-splitter-pane", 15)(22, "div", 16);
|
|
498
|
+
i0.ɵɵtemplate(23, ComponentStudioDashboardComponent_Conditional_23_Template, 2, 1)(24, ComponentStudioDashboardComponent_Conditional_24_Template, 6, 0, "div", 17);
|
|
499
|
+
i0.ɵɵelementEnd()()()();
|
|
500
|
+
} if (rf & 2) {
|
|
501
|
+
i0.ɵɵadvance(6);
|
|
502
|
+
i0.ɵɵproperty("icon", "fa-solid fa-sync")("disabled", ctx.isLoading);
|
|
503
|
+
i0.ɵɵadvance(3);
|
|
504
|
+
i0.ɵɵproperty("min", "350px")("max", "600px")("size", "400px");
|
|
505
|
+
i0.ɵɵadvance(6);
|
|
506
|
+
i0.ɵɵproperty("value", ctx.searchQuery)("clearButton", true);
|
|
507
|
+
i0.ɵɵadvance(3);
|
|
508
|
+
i0.ɵɵconditional(ctx.isLoading ? 18 : ctx.filteredComponents.length === 0 ? 19 : 20);
|
|
509
|
+
i0.ɵɵadvance(3);
|
|
510
|
+
i0.ɵɵproperty("min", "400px");
|
|
511
|
+
i0.ɵɵadvance(2);
|
|
512
|
+
i0.ɵɵconditional(ctx.isRunning && ctx.selectedComponent && ctx.componentSpec ? 23 : 24);
|
|
513
|
+
} }, dependencies: [i1.NgClass, i2.TextBoxComponent, i2.TextBoxPrefixTemplateDirective, i3.SplitterComponent, i3.SplitterPaneComponent, i4.ButtonComponent, i5.MJReactComponent, i1.DatePipe], styles: ["[_nghost-%COMP%] {\n display: block;\n width: 100%;\n height: 100%;\n}\n\n.component-studio[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n height: 100%;\n background: #f8f9fa;\n overflow: hidden;\n\n .dashboard-header {\n background: white;\n border-bottom: 1px solid #dee2e6;\n padding: 16px 24px;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);\n \n .header-content {\n display: flex;\n justify-content: space-between;\n align-items: center;\n \n h1 {\n margin: 0;\n font-size: 24px;\n font-weight: 600;\n color: #212529;\n display: flex;\n align-items: center;\n gap: 12px;\n \n i {\n color: #6366f1;\n }\n }\n }\n }\n\n kendo-splitter {\n flex: 1;\n background: white;\n display: flex;\n height: 100%;\n min-height: 0;\n }\n\n .components-panel {\n height: 100%;\n display: flex;\n flex-direction: column;\n background: #f8f9fa;\n \n .panel-header {\n padding: 20px;\n background: white;\n border-bottom: 1px solid #dee2e6;\n \n h3 {\n margin: 0 0 16px 0;\n font-size: 18px;\n font-weight: 600;\n color: #212529;\n }\n \n .search-box {\n kendo-textbox {\n width: 100%;\n }\n }\n }\n \n .components-list {\n flex: 1;\n overflow-y: auto;\n padding: 16px;\n \n .loading-message,\n .empty-message {\n padding: 48px 24px;\n text-align: center;\n color: #6c757d;\n font-size: 14px;\n \n i {\n margin-right: 8px;\n }\n }\n \n .component-card {\n background: white;\n border: 1px solid #dee2e6;\n border-radius: 8px;\n margin-bottom: 12px;\n transition: all 0.2s ease;\n \n &:hover {\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);\n }\n \n &.expanded {\n box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);\n border-color: #6366f1;\n }\n \n &.running {\n border-color: #10b981;\n box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);\n }\n \n .card-header {\n display: flex;\n align-items: center;\n padding: 16px;\n cursor: pointer;\n user-select: none;\n \n &:hover {\n background: #f8f9fa;\n }\n \n .card-icon {\n font-size: 24px;\n margin-right: 16px;\n width: 32px;\n text-align: center;\n flex-shrink: 0;\n }\n \n .card-info {\n flex: 1;\n min-width: 0;\n \n .card-name {\n font-size: 15px;\n font-weight: 600;\n color: #212529;\n margin-bottom: 4px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n \n .card-meta {\n display: flex;\n align-items: center;\n gap: 8px;\n font-size: 12px;\n color: #6c757d;\n \n .card-type {\n font-weight: 500;\n }\n \n .card-version {\n color: #868e96;\n }\n \n .status-badge {\n padding: 2px 6px;\n border-radius: 10px;\n font-size: 10px;\n font-weight: 600;\n text-transform: uppercase;\n letter-spacing: 0.3px;\n \n &.published {\n background: #d1fae5;\n color: #065f46;\n }\n \n &.draft {\n background: #fef3c7;\n color: #92400e;\n }\n }\n }\n }\n \n .card-chevron {\n color: #6c757d;\n font-size: 12px;\n margin-left: 12px;\n transition: transform 0.2s ease;\n }\n }\n \n .card-details {\n padding: 0 16px 16px 16px;\n border-top: 1px solid #e9ecef;\n animation: _ngcontent-%COMP%_slideDown 0.2s ease;\n \n .detail-section {\n margin-top: 16px;\n \n label {\n display: block;\n font-size: 11px;\n font-weight: 600;\n color: #6c757d;\n text-transform: uppercase;\n letter-spacing: 0.5px;\n margin-bottom: 8px;\n }\n \n p {\n margin: 0;\n font-size: 13px;\n color: #495057;\n line-height: 1.5;\n }\n \n .info-grid {\n display: grid;\n grid-template-columns: 1fr 1fr;\n gap: 8px;\n \n .info-item {\n display: flex;\n align-items: baseline;\n gap: 6px;\n font-size: 13px;\n \n .info-label {\n font-weight: 500;\n color: #6c757d;\n min-width: 50px;\n }\n \n .info-value {\n color: #212529;\n }\n }\n }\n }\n \n .card-actions {\n margin-top: 16px;\n display: flex;\n gap: 8px;\n \n button {\n flex: 1;\n }\n }\n }\n }\n }\n }\n\n .component-display {\n height: 100%;\n display: flex;\n flex-direction: column;\n background: white;\n position: relative;\n \n .empty-state {\n flex: 1;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n color: #868e96;\n padding: 48px;\n text-align: center;\n \n i {\n color: #dee2e6;\n margin-bottom: 24px;\n }\n \n h2 {\n margin: 0 0 12px 0;\n font-size: 24px;\n font-weight: 600;\n color: #495057;\n }\n \n p {\n margin: 0;\n font-size: 14px;\n max-width: 400px;\n }\n }\n \n .error-display {\n flex: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 24px;\n background: #f8f9fa;\n \n .error-container {\n width: 100%;\n max-width: 600px;\n background: white;\n border: 2px solid #dc3545;\n border-radius: 8px;\n padding: 24px;\n box-shadow: 0 4px 12px rgba(220, 53, 69, 0.15);\n \n .error-header {\n display: flex;\n align-items: center;\n gap: 12px;\n margin-bottom: 20px;\n color: #dc3545;\n position: relative;\n \n i {\n font-size: 24px;\n }\n \n h3 {\n margin: 0;\n font-size: 20px;\n flex: 1;\n }\n \n .copy-button {\n background: white;\n border: 1px solid #dee2e6;\n border-radius: 4px;\n padding: 6px 10px;\n cursor: pointer;\n color: #6c757d;\n transition: all 0.2s;\n \n &:hover {\n background: #e9ecef;\n color: #495057;\n }\n \n i {\n font-size: 14px;\n }\n }\n }\n \n .error-intro {\n color: #495057;\n margin-bottom: 20px;\n font-size: 14px;\n }\n \n .error-details {\n background: #f8f9fa;\n border: 1px solid #dee2e6;\n border-radius: 4px;\n padding: 16px;\n margin-bottom: 20px;\n font-family: 'SF Mono', Monaco, 'Courier New', monospace;\n font-size: 13px;\n \n .technical-details {\n margin-top: 12px;\n \n summary {\n cursor: pointer;\n color: #0066cc;\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;\n \n &:hover {\n text-decoration: underline;\n }\n }\n \n pre {\n margin-top: 8px;\n white-space: pre-wrap;\n word-break: break-word;\n font-size: 11px;\n color: #495057;\n max-height: 200px;\n overflow-y: auto;\n }\n }\n }\n \n .error-help {\n background: #e7f3ff;\n border: 1px solid #b3d9ff;\n border-radius: 4px;\n padding: 16px;\n margin-bottom: 20px;\n font-size: 13px;\n \n strong {\n display: block;\n margin-bottom: 8px;\n font-size: 14px;\n color: #0066cc;\n }\n \n ol {\n margin: 0;\n padding-left: 20px;\n \n li {\n margin-bottom: 4px;\n color: #495057;\n }\n }\n }\n \n .error-actions {\n display: flex;\n gap: 12px;\n \n button {\n min-width: 100px;\n }\n }\n }\n }\n \n mj-react-component {\n flex: 1;\n width: 100%;\n height: 100%;\n }\n }\n}\n\n@keyframes _ngcontent-%COMP%_slideDown {\n from {\n opacity: 0;\n transform: translateY(-10px);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n}"] });
|
|
514
|
+
};
|
|
515
|
+
ComponentStudioDashboardComponent = __decorate([
|
|
516
|
+
RegisterClass(BaseDashboard, 'ComponentStudioDashboard')
|
|
517
|
+
], ComponentStudioDashboardComponent);
|
|
518
|
+
export { ComponentStudioDashboardComponent };
|
|
519
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ComponentStudioDashboardComponent, [{
|
|
520
|
+
type: Component,
|
|
521
|
+
args: [{ selector: 'mj-component-studio-dashboard', template: "<div class=\"component-studio\">\n <!-- Header -->\n <div class=\"dashboard-header\">\n <div class=\"header-content\">\n <h1><i class=\"fa-solid fa-puzzle-piece\"></i> Component Studio</h1>\n <button kendoButton [icon]=\"'fa-solid fa-sync'\" (click)=\"refreshData()\" [disabled]=\"isLoading\">\n Refresh\n </button>\n </div>\n </div>\n\n <!-- Main Content with Splitter -->\n <kendo-splitter orientation=\"horizontal\" style=\"flex: 1; height: auto;\">\n <!-- Left Panel - Component List -->\n <kendo-splitter-pane [min]=\"'350px'\" [max]=\"'600px'\" [size]=\"'400px'\">\n <div class=\"components-panel\">\n <div class=\"panel-header\">\n <h3>Components</h3>\n <div class=\"search-box\">\n <kendo-textbox \n [value]=\"searchQuery\"\n (valueChange)=\"onSearchChange($event)\"\n placeholder=\"Search components...\"\n [clearButton]=\"true\">\n <ng-template kendoTextBoxPrefixTemplate>\n <i class=\"fa-solid fa-search\"></i>\n </ng-template>\n </kendo-textbox>\n </div>\n </div>\n \n <div class=\"components-list\">\n @if (isLoading) {\n <div class=\"loading-message\">\n <i class=\"fa-solid fa-spinner fa-spin\"></i> Loading components...\n </div>\n } @else if (filteredComponents.length === 0) {\n <div class=\"empty-message\">\n No components found\n </div>\n } @else {\n @for (component of filteredComponents; track component.ID) {\n <div class=\"component-card\" \n [class.expanded]=\"expandedComponent?.ID === component.ID\"\n [class.running]=\"selectedComponent?.ID === component.ID && isRunning\">\n \n <!-- Card Header - Always visible -->\n <div class=\"card-header\" (click)=\"toggleComponentExpansion(component)\">\n <div class=\"card-icon\" [style.color]=\"getComponentTypeColor(component.Type)\">\n <i class=\"fa-solid\" [ngClass]=\"getComponentTypeIcon(component.Type)\"></i>\n </div>\n <div class=\"card-info\">\n <div class=\"card-name\">{{ component.Name }}</div>\n <div class=\"card-meta\">\n <span class=\"card-type\">{{ component.Type || 'Component' }}</span>\n <span class=\"card-version\">v{{ component.Version || '1.0.0' }}</span>\n @if (component.Status === 'Published') {\n <span class=\"status-badge published\">Published</span>\n } @else {\n <span class=\"status-badge draft\">Draft</span>\n }\n </div>\n </div>\n <div class=\"card-chevron\">\n @if (expandedComponent?.ID === component.ID) {\n <i class=\"fa-solid fa-chevron-up\"></i>\n } @else {\n <i class=\"fa-solid fa-chevron-down\"></i>\n }\n </div>\n </div>\n \n <!-- Card Details - Only visible when expanded -->\n @if (expandedComponent?.ID === component.ID) {\n <div class=\"card-details\">\n @if (component.Description) {\n <div class=\"detail-section\">\n <label>Description</label>\n <p>{{ component.Description }}</p>\n </div>\n }\n \n <div class=\"detail-section\">\n <label>Component Info</label>\n <div class=\"info-grid\">\n <div class=\"info-item\">\n <span class=\"info-label\">Type:</span>\n <span class=\"info-value\">{{ component.Type || 'Unknown' }}</span>\n </div>\n <div class=\"info-item\">\n <span class=\"info-label\">Version:</span>\n <span class=\"info-value\">{{ component.Version || '1.0.0' }}</span>\n </div>\n <div class=\"info-item\">\n <span class=\"info-label\">Status:</span>\n <span class=\"info-value\">{{ component.Status || 'Draft' }}</span>\n </div>\n @if (component.__mj_UpdatedAt) {\n <div class=\"info-item\">\n <span class=\"info-label\">Updated:</span>\n <span class=\"info-value\">{{ component.__mj_UpdatedAt | date:'short' }}</span>\n </div>\n }\n </div>\n </div>\n \n <div class=\"card-actions\">\n @if (selectedComponent?.ID === component.ID && isRunning) {\n <button kendoButton \n [icon]=\"'fa-solid fa-stop'\" \n [themeColor]=\"'error'\"\n (click)=\"stopComponent(); $event.stopPropagation()\">\n Stop Component\n </button>\n } @else {\n <button kendoButton \n [icon]=\"'fa-solid fa-play'\" \n [themeColor]=\"'primary'\"\n (click)=\"runComponent(component); $event.stopPropagation()\">\n Run Component\n </button>\n }\n </div>\n </div>\n }\n </div>\n }\n }\n </div>\n </div>\n </kendo-splitter-pane>\n\n <!-- Right Panel - Component Display -->\n <kendo-splitter-pane [min]=\"'400px'\">\n <div class=\"component-display\">\n @if (isRunning && selectedComponent && componentSpec) {\n @if (currentError) {\n <!-- Error Display -->\n <div class=\"error-display\">\n <div class=\"error-container\">\n <div class=\"error-header\">\n <i class=\"fa-solid fa-exclamation-triangle\"></i>\n <h3>Component Error</h3>\n <button class=\"copy-button\" (click)=\"copyErrorToClipboard()\" title=\"Copy error details\">\n <i class=\"fa-solid fa-copy\"></i>\n </button>\n </div>\n \n <p class=\"error-intro\">\n The component could not be rendered due to the following error:\n </p>\n \n <div class=\"error-details\">\n <strong>Error Type:</strong> {{ currentError.type }}<br>\n <strong>Message:</strong> {{ currentError.message }}\n @if (currentError.technicalDetails) {\n <details class=\"technical-details\">\n <summary>Technical Details (click to expand)</summary>\n <pre>{{ formatTechnicalDetails(currentError.technicalDetails) }}</pre>\n </details>\n }\n </div>\n \n <div class=\"error-help\">\n <strong>What to do:</strong>\n <ol>\n <li>Check that the component code is valid JavaScript/React</li>\n <li>Ensure all required dependencies are available</li>\n <li>Review the technical details for specific error information</li>\n <li>Contact your system administrator if the issue persists</li>\n </ol>\n </div>\n \n <div class=\"error-actions\">\n <button kendoButton (click)=\"retryComponent()\" [icon]=\"'fa-solid fa-rotate'\">\n Retry\n </button>\n <button kendoButton (click)=\"stopComponent()\" [icon]=\"'fa-solid fa-stop'\" [themeColor]=\"'error'\">\n Stop\n </button>\n </div>\n </div>\n </div>\n } @else {\n <!-- React Component -->\n <mj-react-component \n [component]=\"componentSpec\"\n (componentEvent)=\"onComponentEvent($event)\"\n (openEntityRecord)=\"onOpenEntityRecord($event)\">\n </mj-react-component>\n }\n } @else {\n <!-- Empty State -->\n <div class=\"empty-state\">\n <i class=\"fa-solid fa-rocket fa-3x\"></i>\n <h2>Ready to Test Components</h2>\n <p>Select a component from the list and click \"Run Component\" to see it in action</p>\n </div>\n }\n </div>\n </kendo-splitter-pane>\n </kendo-splitter>\n</div>", styles: [":host {\n display: block;\n width: 100%;\n height: 100%;\n}\n\n.component-studio {\n display: flex;\n flex-direction: column;\n height: 100%;\n background: #f8f9fa;\n overflow: hidden;\n\n .dashboard-header {\n background: white;\n border-bottom: 1px solid #dee2e6;\n padding: 16px 24px;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);\n \n .header-content {\n display: flex;\n justify-content: space-between;\n align-items: center;\n \n h1 {\n margin: 0;\n font-size: 24px;\n font-weight: 600;\n color: #212529;\n display: flex;\n align-items: center;\n gap: 12px;\n \n i {\n color: #6366f1;\n }\n }\n }\n }\n\n kendo-splitter {\n flex: 1;\n background: white;\n display: flex;\n height: 100%;\n min-height: 0;\n }\n\n .components-panel {\n height: 100%;\n display: flex;\n flex-direction: column;\n background: #f8f9fa;\n \n .panel-header {\n padding: 20px;\n background: white;\n border-bottom: 1px solid #dee2e6;\n \n h3 {\n margin: 0 0 16px 0;\n font-size: 18px;\n font-weight: 600;\n color: #212529;\n }\n \n .search-box {\n kendo-textbox {\n width: 100%;\n }\n }\n }\n \n .components-list {\n flex: 1;\n overflow-y: auto;\n padding: 16px;\n \n .loading-message,\n .empty-message {\n padding: 48px 24px;\n text-align: center;\n color: #6c757d;\n font-size: 14px;\n \n i {\n margin-right: 8px;\n }\n }\n \n .component-card {\n background: white;\n border: 1px solid #dee2e6;\n border-radius: 8px;\n margin-bottom: 12px;\n transition: all 0.2s ease;\n \n &:hover {\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);\n }\n \n &.expanded {\n box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);\n border-color: #6366f1;\n }\n \n &.running {\n border-color: #10b981;\n box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);\n }\n \n .card-header {\n display: flex;\n align-items: center;\n padding: 16px;\n cursor: pointer;\n user-select: none;\n \n &:hover {\n background: #f8f9fa;\n }\n \n .card-icon {\n font-size: 24px;\n margin-right: 16px;\n width: 32px;\n text-align: center;\n flex-shrink: 0;\n }\n \n .card-info {\n flex: 1;\n min-width: 0;\n \n .card-name {\n font-size: 15px;\n font-weight: 600;\n color: #212529;\n margin-bottom: 4px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n \n .card-meta {\n display: flex;\n align-items: center;\n gap: 8px;\n font-size: 12px;\n color: #6c757d;\n \n .card-type {\n font-weight: 500;\n }\n \n .card-version {\n color: #868e96;\n }\n \n .status-badge {\n padding: 2px 6px;\n border-radius: 10px;\n font-size: 10px;\n font-weight: 600;\n text-transform: uppercase;\n letter-spacing: 0.3px;\n \n &.published {\n background: #d1fae5;\n color: #065f46;\n }\n \n &.draft {\n background: #fef3c7;\n color: #92400e;\n }\n }\n }\n }\n \n .card-chevron {\n color: #6c757d;\n font-size: 12px;\n margin-left: 12px;\n transition: transform 0.2s ease;\n }\n }\n \n .card-details {\n padding: 0 16px 16px 16px;\n border-top: 1px solid #e9ecef;\n animation: slideDown 0.2s ease;\n \n .detail-section {\n margin-top: 16px;\n \n label {\n display: block;\n font-size: 11px;\n font-weight: 600;\n color: #6c757d;\n text-transform: uppercase;\n letter-spacing: 0.5px;\n margin-bottom: 8px;\n }\n \n p {\n margin: 0;\n font-size: 13px;\n color: #495057;\n line-height: 1.5;\n }\n \n .info-grid {\n display: grid;\n grid-template-columns: 1fr 1fr;\n gap: 8px;\n \n .info-item {\n display: flex;\n align-items: baseline;\n gap: 6px;\n font-size: 13px;\n \n .info-label {\n font-weight: 500;\n color: #6c757d;\n min-width: 50px;\n }\n \n .info-value {\n color: #212529;\n }\n }\n }\n }\n \n .card-actions {\n margin-top: 16px;\n display: flex;\n gap: 8px;\n \n button {\n flex: 1;\n }\n }\n }\n }\n }\n }\n\n .component-display {\n height: 100%;\n display: flex;\n flex-direction: column;\n background: white;\n position: relative;\n \n .empty-state {\n flex: 1;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n color: #868e96;\n padding: 48px;\n text-align: center;\n \n i {\n color: #dee2e6;\n margin-bottom: 24px;\n }\n \n h2 {\n margin: 0 0 12px 0;\n font-size: 24px;\n font-weight: 600;\n color: #495057;\n }\n \n p {\n margin: 0;\n font-size: 14px;\n max-width: 400px;\n }\n }\n \n .error-display {\n flex: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 24px;\n background: #f8f9fa;\n \n .error-container {\n width: 100%;\n max-width: 600px;\n background: white;\n border: 2px solid #dc3545;\n border-radius: 8px;\n padding: 24px;\n box-shadow: 0 4px 12px rgba(220, 53, 69, 0.15);\n \n .error-header {\n display: flex;\n align-items: center;\n gap: 12px;\n margin-bottom: 20px;\n color: #dc3545;\n position: relative;\n \n i {\n font-size: 24px;\n }\n \n h3 {\n margin: 0;\n font-size: 20px;\n flex: 1;\n }\n \n .copy-button {\n background: white;\n border: 1px solid #dee2e6;\n border-radius: 4px;\n padding: 6px 10px;\n cursor: pointer;\n color: #6c757d;\n transition: all 0.2s;\n \n &:hover {\n background: #e9ecef;\n color: #495057;\n }\n \n i {\n font-size: 14px;\n }\n }\n }\n \n .error-intro {\n color: #495057;\n margin-bottom: 20px;\n font-size: 14px;\n }\n \n .error-details {\n background: #f8f9fa;\n border: 1px solid #dee2e6;\n border-radius: 4px;\n padding: 16px;\n margin-bottom: 20px;\n font-family: 'SF Mono', Monaco, 'Courier New', monospace;\n font-size: 13px;\n \n .technical-details {\n margin-top: 12px;\n \n summary {\n cursor: pointer;\n color: #0066cc;\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;\n \n &:hover {\n text-decoration: underline;\n }\n }\n \n pre {\n margin-top: 8px;\n white-space: pre-wrap;\n word-break: break-word;\n font-size: 11px;\n color: #495057;\n max-height: 200px;\n overflow-y: auto;\n }\n }\n }\n \n .error-help {\n background: #e7f3ff;\n border: 1px solid #b3d9ff;\n border-radius: 4px;\n padding: 16px;\n margin-bottom: 20px;\n font-size: 13px;\n \n strong {\n display: block;\n margin-bottom: 8px;\n font-size: 14px;\n color: #0066cc;\n }\n \n ol {\n margin: 0;\n padding-left: 20px;\n \n li {\n margin-bottom: 4px;\n color: #495057;\n }\n }\n }\n \n .error-actions {\n display: flex;\n gap: 12px;\n \n button {\n min-width: 100px;\n }\n }\n }\n }\n \n mj-react-component {\n flex: 1;\n width: 100%;\n height: 100%;\n }\n }\n}\n\n@keyframes slideDown {\n from {\n opacity: 0;\n transform: translateY(-10px);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n}"] }]
|
|
522
|
+
}], () => [{ type: i0.ChangeDetectorRef }], null); })();
|
|
523
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ComponentStudioDashboardComponent, { className: "ComponentStudioDashboardComponent", filePath: "src/ComponentStudio/component-studio-dashboard.component.ts", lineNumber: 18 }); })();
|
|
524
|
+
/**
|
|
525
|
+
* Function to prevent tree shaking of the ComponentStudioDashboardComponent.
|
|
526
|
+
*/
|
|
527
|
+
export function LoadComponentStudioDashboard() {
|
|
528
|
+
// This function doesn't need to do anything
|
|
529
|
+
}
|
|
530
|
+
//# sourceMappingURL=component-studio-dashboard.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"component-studio-dashboard.component.js","sourceRoot":"","sources":["../../src/ComponentStudio/component-studio-dash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AAjC,iCAAiC;YCbxC,AADF,AADF,AAFF,8BAA8B,aAEE,aACA,SACtB;YAAA,uBAAwC;YAAC,iCAAgB;YAAA,iBAAK;YAClE,iCAA+F;YAA/C,8GAAS,iBAAa,IAAC;YACrE,yBACF;YAEJ,AADE,AADE,iBAAS,EACL,EACF;YAQE,AADF,AADF,AADF,AAFF,yCAAwE,6BAEA,cACtC,cACF,UACpB;YAAA,2BAAU;YAAA,iBAAK;YAEjB,AADF,+BAAwB,yBAKC;YAFrB,wIAAe,0BAAsB,IAAC;YAGtC,qGAAwC;YAK9C,AADE,AADE,iBAAgB,EACZ,EACF;YAEN,gCAA6B;YASzB,AAJA,AAJF,6FAAiB,gFAI6B,qEAIrC;YA0Ff,AADE,AADE,iBAAM,EACF,EACc;YAIpB,AADF,gDAAqC,eACJ;YAyD3B,AAxDF,kFAAuD,gFAwD9C;YAWjB,AADE,AADE,AADE,iBAAM,EACc,EACP,EACb;;YArMoB,eAA2B;YAAyB,AAApD,yCAA2B,2BAA+C;YAS3E,eAAe;YAAiB,AAAhB,AAAhB,6BAAe,gBAAgB,iBAAiB;YAM3D,eAAqB;YAGrB,AAHA,uCAAqB,qBAGD;YASxB,eA+FC;YA/FD,oFA+FC;YAMc,eAAe;YAAf,6BAAe;YAEhC,eA+DC;YA/DD,uFA+DC;;;ADrLI,iCAAiC;IAD7C,aAAa,CAAC,aAAa,EAAE,0BAA0B,CAAC;GAC5C,iCAAiC,CAiN7C;;iFAjNY,iCAAiC;cAN7C,SAAS;2BACE,+BAA+B;;kFAK9B,iCAAiC;AAmN9C;;GAEG;AACH,MAAM,UAAU,4BAA4B;IAC1C,4CAA4C;AAC9C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ComponentStudio/index.ts"],"names":[],"mappings":"AAAA,cAAc,wCAAwC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/ComponentStudio/index.ts"],"names":[],"mappings":"AAAA,cAAc,wCAAwC,CAAC"}
|
package/dist/module.d.ts
CHANGED
|
@@ -30,24 +30,27 @@ import * as i28 from "./AI/components/widgets/kpi-card.component";
|
|
|
30
30
|
import * as i29 from "./AI/components/widgets/live-execution-widget.component";
|
|
31
31
|
import * as i30 from "./AI/components/charts/time-series-chart.component";
|
|
32
32
|
import * as i31 from "./AI/components/charts/performance-heatmap.component";
|
|
33
|
-
import * as i32 from "
|
|
34
|
-
import * as i33 from "@angular/
|
|
35
|
-
import * as i34 from "@
|
|
36
|
-
import * as i35 from "@progress/kendo-angular-
|
|
37
|
-
import * as i36 from "@progress/kendo-angular-
|
|
38
|
-
import * as i37 from "@progress/kendo-angular-
|
|
39
|
-
import * as i38 from "@progress/kendo-angular-
|
|
40
|
-
import * as i39 from "@
|
|
41
|
-
import * as i40 from "@
|
|
42
|
-
import * as i41 from "@
|
|
43
|
-
import * as i42 from "@
|
|
44
|
-
import * as i43 from "@progress/kendo-angular-
|
|
45
|
-
import * as i44 from "@
|
|
46
|
-
import * as i45 from "@memberjunction/ng-
|
|
47
|
-
import * as i46 from "@memberjunction/ng-
|
|
33
|
+
import * as i32 from "./ComponentStudio/component-studio-dashboard.component";
|
|
34
|
+
import * as i33 from "@angular/common";
|
|
35
|
+
import * as i34 from "@angular/forms";
|
|
36
|
+
import * as i35 from "@progress/kendo-angular-indicators";
|
|
37
|
+
import * as i36 from "@progress/kendo-angular-dropdowns";
|
|
38
|
+
import * as i37 from "@progress/kendo-angular-inputs";
|
|
39
|
+
import * as i38 from "@progress/kendo-angular-layout";
|
|
40
|
+
import * as i39 from "@progress/kendo-angular-dialog";
|
|
41
|
+
import * as i40 from "@memberjunction/ng-container-directives";
|
|
42
|
+
import * as i41 from "@progress/kendo-angular-navigation";
|
|
43
|
+
import * as i42 from "@memberjunction/ng-code-editor";
|
|
44
|
+
import * as i43 from "@progress/kendo-angular-treeview";
|
|
45
|
+
import * as i44 from "@progress/kendo-angular-buttons";
|
|
46
|
+
import * as i45 from "@memberjunction/ng-action-gallery";
|
|
47
|
+
import * as i46 from "@memberjunction/ng-ai-test-harness";
|
|
48
|
+
import * as i47 from "@memberjunction/ng-core-entity-forms";
|
|
49
|
+
import * as i48 from "@progress/kendo-angular-grid";
|
|
50
|
+
import * as i49 from "@memberjunction/ng-react";
|
|
48
51
|
export declare class DashboardsModule {
|
|
49
52
|
static ɵfac: i0.ɵɵFactoryDeclaration<DashboardsModule, never>;
|
|
50
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DashboardsModule, [typeof i1.EntityAdminDashboardComponent, typeof i2.ERDCompositeComponent, typeof i3.EntityFilterPanelComponent, typeof i4.EntityDetailsComponent, typeof i5.ERDDiagramComponent, typeof i6.AIDashboardComponent, typeof i7.ModelManagementV2Component, typeof i8.PromptManagementV2Component, typeof i9.PromptFilterPanelComponent, typeof i10.AgentConfigurationComponent, typeof i11.AgentFilterPanelComponent, typeof i12.AgentEditorComponent, typeof i13.ExecutionMonitoringComponent, typeof i14.SystemConfigurationComponent, typeof i15.SystemConfigFilterPanelComponent, typeof i16.ActionsManagementDashboardComponent, typeof i17.ActionsOverviewComponent, typeof i18.ExecutionMonitoringComponent, typeof i19.ScheduledActionsComponent, typeof i20.CodeManagementComponent, typeof i21.EntityIntegrationComponent, typeof i22.SecurityPermissionsComponent, typeof i23.ActionsListViewComponent, typeof i24.ExecutionsListViewComponent, typeof i25.CategoriesListViewComponent, typeof i26.ModelPromptPriorityMatrixComponent, typeof i27.PromptVersionControlComponent, typeof i28.KPICardComponent, typeof i29.LiveExecutionWidgetComponent, typeof i30.TimeSeriesChartComponent, typeof i31.PerformanceHeatmapComponent], [typeof
|
|
53
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DashboardsModule, [typeof i1.EntityAdminDashboardComponent, typeof i2.ERDCompositeComponent, typeof i3.EntityFilterPanelComponent, typeof i4.EntityDetailsComponent, typeof i5.ERDDiagramComponent, typeof i6.AIDashboardComponent, typeof i7.ModelManagementV2Component, typeof i8.PromptManagementV2Component, typeof i9.PromptFilterPanelComponent, typeof i10.AgentConfigurationComponent, typeof i11.AgentFilterPanelComponent, typeof i12.AgentEditorComponent, typeof i13.ExecutionMonitoringComponent, typeof i14.SystemConfigurationComponent, typeof i15.SystemConfigFilterPanelComponent, typeof i16.ActionsManagementDashboardComponent, typeof i17.ActionsOverviewComponent, typeof i18.ExecutionMonitoringComponent, typeof i19.ScheduledActionsComponent, typeof i20.CodeManagementComponent, typeof i21.EntityIntegrationComponent, typeof i22.SecurityPermissionsComponent, typeof i23.ActionsListViewComponent, typeof i24.ExecutionsListViewComponent, typeof i25.CategoriesListViewComponent, typeof i26.ModelPromptPriorityMatrixComponent, typeof i27.PromptVersionControlComponent, typeof i28.KPICardComponent, typeof i29.LiveExecutionWidgetComponent, typeof i30.TimeSeriesChartComponent, typeof i31.PerformanceHeatmapComponent, typeof i32.ComponentStudioDashboardComponent], [typeof i33.CommonModule, typeof i34.FormsModule, typeof i35.IndicatorsModule, typeof i36.DropDownsModule, typeof i37.InputsModule, typeof i38.LayoutModule, typeof i39.DialogsModule, typeof i39.WindowModule, typeof i40.ContainerDirectivesModule, typeof i41.NavigationModule, typeof i42.CodeEditorModule, typeof i43.TreeViewModule, typeof i44.ButtonsModule, typeof i45.ActionGalleryModule, typeof i46.AITestHarnessModule, typeof i47.MemberJunctionCoreEntityFormsModule, typeof i48.GridModule, typeof i49.MJReactModule, typeof i38.SplitterModule], [typeof i1.EntityAdminDashboardComponent, typeof i6.AIDashboardComponent, typeof i16.ActionsManagementDashboardComponent, typeof i32.ComponentStudioDashboardComponent]>;
|
|
51
54
|
static ɵinj: i0.ɵɵInjectorDeclaration<DashboardsModule>;
|
|
52
55
|
}
|
|
53
56
|
//# sourceMappingURL=module.d.ts.map
|
package/dist/module.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../src/module.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../src/module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsDA,qBAoEa,gBAAgB;yCAAhB,gBAAgB;0CAAhB,gBAAgB;0CAAhB,gBAAgB;CAAI"}
|
package/dist/module.js
CHANGED
|
@@ -47,6 +47,11 @@ import { LiveExecutionWidgetComponent } from './AI/components/widgets/live-execu
|
|
|
47
47
|
import { TimeSeriesChartComponent } from './AI/components/charts/time-series-chart.component';
|
|
48
48
|
import { PerformanceHeatmapComponent } from './AI/components/charts/performance-heatmap.component';
|
|
49
49
|
import { AIInstrumentationService } from './AI/services/ai-instrumentation.service';
|
|
50
|
+
// Component Studio Components
|
|
51
|
+
import { ComponentStudioDashboardComponent } from './ComponentStudio/component-studio-dashboard.component';
|
|
52
|
+
import { GridModule } from '@progress/kendo-angular-grid';
|
|
53
|
+
import { MJReactModule } from '@memberjunction/ng-react';
|
|
54
|
+
import { SplitterModule } from '@progress/kendo-angular-layout';
|
|
50
55
|
import * as i0 from "@angular/core";
|
|
51
56
|
export class DashboardsModule {
|
|
52
57
|
static ɵfac = function DashboardsModule_Factory(t) { return new (t || DashboardsModule)(); };
|
|
@@ -68,7 +73,10 @@ export class DashboardsModule {
|
|
|
68
73
|
ButtonsModule,
|
|
69
74
|
ActionGalleryModule,
|
|
70
75
|
AITestHarnessModule,
|
|
71
|
-
MemberJunctionCoreEntityFormsModule
|
|
76
|
+
MemberJunctionCoreEntityFormsModule,
|
|
77
|
+
GridModule,
|
|
78
|
+
MJReactModule,
|
|
79
|
+
SplitterModule] });
|
|
72
80
|
}
|
|
73
81
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DashboardsModule, [{
|
|
74
82
|
type: NgModule,
|
|
@@ -105,7 +113,9 @@ export class DashboardsModule {
|
|
|
105
113
|
KPICardComponent,
|
|
106
114
|
LiveExecutionWidgetComponent,
|
|
107
115
|
TimeSeriesChartComponent,
|
|
108
|
-
PerformanceHeatmapComponent
|
|
116
|
+
PerformanceHeatmapComponent,
|
|
117
|
+
// Component Studio Components
|
|
118
|
+
ComponentStudioDashboardComponent
|
|
109
119
|
],
|
|
110
120
|
imports: [
|
|
111
121
|
CommonModule,
|
|
@@ -123,7 +133,10 @@ export class DashboardsModule {
|
|
|
123
133
|
ButtonsModule,
|
|
124
134
|
ActionGalleryModule,
|
|
125
135
|
AITestHarnessModule,
|
|
126
|
-
MemberJunctionCoreEntityFormsModule
|
|
136
|
+
MemberJunctionCoreEntityFormsModule,
|
|
137
|
+
GridModule,
|
|
138
|
+
MJReactModule,
|
|
139
|
+
SplitterModule
|
|
127
140
|
],
|
|
128
141
|
providers: [
|
|
129
142
|
AIInstrumentationService
|
|
@@ -131,7 +144,8 @@ export class DashboardsModule {
|
|
|
131
144
|
exports: [
|
|
132
145
|
EntityAdminDashboardComponent,
|
|
133
146
|
AIDashboardComponent,
|
|
134
|
-
ActionsManagementDashboardComponent
|
|
147
|
+
ActionsManagementDashboardComponent,
|
|
148
|
+
ComponentStudioDashboardComponent
|
|
135
149
|
]
|
|
136
150
|
}]
|
|
137
151
|
}], null, null); })();
|
|
@@ -166,7 +180,9 @@ export class DashboardsModule {
|
|
|
166
180
|
KPICardComponent,
|
|
167
181
|
LiveExecutionWidgetComponent,
|
|
168
182
|
TimeSeriesChartComponent,
|
|
169
|
-
PerformanceHeatmapComponent
|
|
183
|
+
PerformanceHeatmapComponent,
|
|
184
|
+
// Component Studio Components
|
|
185
|
+
ComponentStudioDashboardComponent], imports: [CommonModule,
|
|
170
186
|
FormsModule,
|
|
171
187
|
IndicatorsModule,
|
|
172
188
|
DropDownsModule,
|
|
@@ -181,7 +197,11 @@ export class DashboardsModule {
|
|
|
181
197
|
ButtonsModule,
|
|
182
198
|
ActionGalleryModule,
|
|
183
199
|
AITestHarnessModule,
|
|
184
|
-
MemberJunctionCoreEntityFormsModule
|
|
200
|
+
MemberJunctionCoreEntityFormsModule,
|
|
201
|
+
GridModule,
|
|
202
|
+
MJReactModule,
|
|
203
|
+
SplitterModule], exports: [EntityAdminDashboardComponent,
|
|
185
204
|
AIDashboardComponent,
|
|
186
|
-
ActionsManagementDashboardComponent
|
|
205
|
+
ActionsManagementDashboardComponent,
|
|
206
|
+
ComponentStudioDashboardComponent] }); })();
|
|
187
207
|
//# sourceMappingURL=module.js.map
|
package/dist/module.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.js","sourceRoot":"","sources":["../src/module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AACtE,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACpE,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAC9D,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAC7E,OAAO,EAAE,6BAA6B,EAAE,MAAM,gDAAgD,CAAC;AAC/F,OAAO,EAAE,qBAAqB,EAAE,MAAM,kDAAkD,CAAC;AACzF,OAAO,EAAE,0BAA0B,EAAE,MAAM,wDAAwD,CAAC;AACpG,OAAO,EAAE,sBAAsB,EAAE,MAAM,mDAAmD,CAAC;AAC3F,OAAO,EAAE,mBAAmB,EAAE,MAAM,gDAAgD,CAAC;AACrF,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,0BAA0B,EAAE,MAAM,sDAAsD,CAAC;AAClG,OAAO,EAAE,2BAA2B,EAAE,MAAM,w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QACzB,oBAAoB;QACpB,4BAA4B;QAC5B,4BAA4B;QAC5B,gCAAgC;QAChC,mCAAmC;QACnC,wBAAwB;QACxB,mCAAmC;QACnC,yBAAyB;QACzB,uBAAuB;QACvB,0BAA0B;QAC1B,4BAA4B;QAC5B,wBAAwB;QACxB,2BAA2B;QAC3B,2BAA2B;QAC3B,kCAAkC;QAClC,6BAA6B;QAC7B,gCAAgC;QAChC,gBAAgB;QAChB,4BAA4B;QAC5B,wBAAwB;QACxB,2BAA2B;QAC3B,8BAA8B;QAC9B,iCAAiC,aAGjC,YAAY;QACZ,WAAW;QACX,gBAAgB;QAChB,eAAe;QACf,YAAY;QACZ,YAAY;QACZ,aAAa;QACb,YAAY;QACZ,yBAAyB;QACzB,gBAAgB;QAChB,gBAAgB;QAChB,cAAc;QACd,aAAa;QACb,mBAAmB;QACnB,mBAAmB;QACnB,mCAAmC;QACnC,UAAU;QACV,aAAa;QACb,cAAc,aAMd,6BAA6B;QAC7B,oBAAoB;QACpB,mCAAmC;QACnC,iCAAiC"}
|
package/dist/public-api.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ export * from './generic/base-dashboard';
|
|
|
2
2
|
export * from './EntityAdmin/entity-admin-dashboard.component';
|
|
3
3
|
export * from './AI/ai-dashboard.component';
|
|
4
4
|
export * from './Actions';
|
|
5
|
+
export * from './ComponentStudio';
|
|
5
6
|
export * from './Actions/index';
|
|
6
7
|
export * from './module';
|
|
7
8
|
//# sourceMappingURL=public-api.d.ts.map
|
package/dist/public-api.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../src/public-api.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../src/public-api.ts"],"names":[],"mappings":"AAUA,cAAc,0BAA0B,CAAC;AAGzC,cAAc,gDAAgD,CAAC;AAC/D,cAAc,6BAA6B,CAAC;AAC5C,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAC;AAElC,cAAc,iBAAiB,CAAC;AAGhC,cAAc,UAAU,CAAC"}
|
package/dist/public-api.js
CHANGED
|
@@ -4,16 +4,19 @@
|
|
|
4
4
|
import { LoadEntityAdminDashboard } from './EntityAdmin/entity-admin-dashboard.component';
|
|
5
5
|
import { LoadAIDashboard } from './AI/ai-dashboard.component';
|
|
6
6
|
import { LoadActionsManagementDashboard } from './Actions';
|
|
7
|
+
import { LoadComponentStudioDashboard } from './ComponentStudio/component-studio-dashboard.component';
|
|
7
8
|
// Base Dashboard
|
|
8
9
|
export * from './generic/base-dashboard';
|
|
9
10
|
// Dashboards
|
|
10
11
|
export * from './EntityAdmin/entity-admin-dashboard.component';
|
|
11
12
|
export * from './AI/ai-dashboard.component';
|
|
12
13
|
export * from './Actions';
|
|
14
|
+
export * from './ComponentStudio';
|
|
13
15
|
export * from './Actions/index';
|
|
14
16
|
// Module
|
|
15
17
|
export * from './module';
|
|
16
18
|
LoadEntityAdminDashboard(); // call tree shaking function to prevent tree shaking
|
|
17
19
|
LoadAIDashboard(); // call tree shaking function to prevent tree shaking
|
|
18
20
|
LoadActionsManagementDashboard(); // call tree shaking function to prevent tree shaking
|
|
21
|
+
LoadComponentStudioDashboard(); // call tree shaking function to prevent tree shaking
|
|
19
22
|
//# sourceMappingURL=public-api.js.map
|
package/dist/public-api.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public-api.js","sourceRoot":"","sources":["../src/public-api.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,wBAAwB,EAAE,MAAM,gDAAgD,CAAC;AAC1F,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EAAE,8BAA8B,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"public-api.js","sourceRoot":"","sources":["../src/public-api.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,wBAAwB,EAAE,MAAM,gDAAgD,CAAC;AAC1F,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EAAE,8BAA8B,EAAE,MAAM,WAAW,CAAC;AAC3D,OAAO,EAAE,4BAA4B,EAAE,MAAM,wDAAwD,CAAC;AAEtG,iBAAiB;AACjB,cAAc,0BAA0B,CAAC;AAEzC,aAAa;AACb,cAAc,gDAAgD,CAAC;AAC/D,cAAc,6BAA6B,CAAC;AAC5C,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAC;AAElC,cAAc,iBAAiB,CAAC;AAEhC,SAAS;AACT,cAAc,UAAU,CAAC;AAEzB,wBAAwB,EAAE,CAAC,CAAC,qDAAqD;AACjF,eAAe,EAAE,CAAC,CAAC,qDAAqD;AACxE,8BAA8B,EAAE,CAAC,CAAC,qDAAqD;AACvF,4BAA4B,EAAE,CAAC,CAAC,qDAAqD"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@memberjunction/ng-dashboards",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.87.0",
|
|
4
4
|
"description": "MemberJunction Dashboards",
|
|
5
5
|
"main": "./dist/public-api.js",
|
|
6
6
|
"typings": "./dist/public-api.d.ts",
|
|
@@ -25,15 +25,15 @@
|
|
|
25
25
|
"@angular/forms": "18.0.2"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@memberjunction/core": "2.
|
|
29
|
-
"@memberjunction/core-entities": "2.
|
|
30
|
-
"@memberjunction/templates-base-types": "2.
|
|
31
|
-
"@memberjunction/ng-container-directives": "2.
|
|
32
|
-
"@memberjunction/ng-core-entity-forms": "2.
|
|
33
|
-
"@memberjunction/ng-notifications": "2.
|
|
34
|
-
"@memberjunction/ng-shared": "2.
|
|
35
|
-
"@memberjunction/ng-ai-test-harness": "2.
|
|
36
|
-
"@memberjunction/ng-action-gallery": "2.
|
|
28
|
+
"@memberjunction/core": "2.87.0",
|
|
29
|
+
"@memberjunction/core-entities": "2.87.0",
|
|
30
|
+
"@memberjunction/templates-base-types": "2.87.0",
|
|
31
|
+
"@memberjunction/ng-container-directives": "2.87.0",
|
|
32
|
+
"@memberjunction/ng-core-entity-forms": "2.87.0",
|
|
33
|
+
"@memberjunction/ng-notifications": "2.87.0",
|
|
34
|
+
"@memberjunction/ng-shared": "2.87.0",
|
|
35
|
+
"@memberjunction/ng-ai-test-harness": "2.87.0",
|
|
36
|
+
"@memberjunction/ng-action-gallery": "2.87.0",
|
|
37
37
|
"@progress/kendo-angular-buttons": "16.2.0",
|
|
38
38
|
"@progress/kendo-angular-dropdowns": "16.2.0",
|
|
39
39
|
"@progress/kendo-angular-treeview": "16.2.0",
|