@memberjunction/ng-dashboards 2.84.0 → 2.86.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.
Files changed (29) hide show
  1. package/dist/ComponentStudio/component-studio-dashboard.component.d.ts +81 -0
  2. package/dist/ComponentStudio/component-studio-dashboard.component.d.ts.map +1 -0
  3. package/dist/ComponentStudio/component-studio-dashboard.component.js +751 -0
  4. package/dist/ComponentStudio/component-studio-dashboard.component.js.map +1 -0
  5. package/dist/ComponentStudio/components/component-dependencies.component.d.ts +19 -0
  6. package/dist/ComponentStudio/components/component-dependencies.component.d.ts.map +1 -0
  7. package/dist/ComponentStudio/components/component-dependencies.component.js +138 -0
  8. package/dist/ComponentStudio/components/component-dependencies.component.js.map +1 -0
  9. package/dist/ComponentStudio/components/component-preview.component.d.ts +18 -0
  10. package/dist/ComponentStudio/components/component-preview.component.d.ts.map +1 -0
  11. package/dist/ComponentStudio/components/component-preview.component.js +86 -0
  12. package/dist/ComponentStudio/components/component-preview.component.js.map +1 -0
  13. package/dist/ComponentStudio/components/component-studio-settings.component.d.ts +29 -0
  14. package/dist/ComponentStudio/components/component-studio-settings.component.d.ts.map +1 -0
  15. package/dist/ComponentStudio/components/component-studio-settings.component.js +212 -0
  16. package/dist/ComponentStudio/components/component-studio-settings.component.js.map +1 -0
  17. package/dist/ComponentStudio/index.d.ts +5 -0
  18. package/dist/ComponentStudio/index.d.ts.map +1 -0
  19. package/dist/ComponentStudio/index.js +5 -0
  20. package/dist/ComponentStudio/index.js.map +1 -0
  21. package/dist/module.d.ts +22 -16
  22. package/dist/module.d.ts.map +1 -1
  23. package/dist/module.js +32 -7
  24. package/dist/module.js.map +1 -1
  25. package/dist/public-api.d.ts +1 -0
  26. package/dist/public-api.d.ts.map +1 -1
  27. package/dist/public-api.js +3 -0
  28. package/dist/public-api.js.map +1 -1
  29. package/package.json +10 -10
@@ -0,0 +1 @@
1
+ {"version":3,"file":"component-studio-dashboard.component.js","sourceRoot":"","sources":["../../src/ComponentStudio/component-studio-dashboard.component.ts","../../src/ComponentStudio/component-studio-dashboard.component.html"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,SAAS,EAA+C,uBAAuB,EAAE,MAAM,eAAe,CAAC;AAChH,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAA0B,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAQvE,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,MAAM,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAE,oBAAoB,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC/E,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;;;;;;;;;;;;ICNlD,AADF,AADF,8BAA+B,aACA,aACE;IAC3B,uBAAiD;IACnD,iBAAM;IACN,8BAA0B;IAAA,2CAA2B;IAEzD,AADE,AADuD,iBAAM,EACvD,EACF;;;IAgEQ,wBAAkC;;;;IAWhC,AADF,iCAA8B,gBAGuC;IAAjE,6PAAU,yDAAqD,KAAC;IAFlE,iBAEmE;IACnE,2BAA2F;IAC3F,YACF;IAAA,iBAAQ;;;;IAJJ,cAA0C;IAA1C,kEAA0C;IAEf,cAAsD;IAAtD,yEAAsD;IACnF,cACF;IADE,wCACF;;;;IAWE,AADF,iCAA8B,gBAG2C;IAArE,+PAAU,6DAAyD,KAAC;IAFtE,iBAEuE;IACvE,gCAAmE;IAAA,YAAY;IACjF,AADiF,iBAAO,EAChF;;;;IAHJ,cAA+C;IAA/C,uEAA+C;IAEtB,cAAuC;IAAvC,+DAAuC;IAAC,cAAY;IAAZ,+BAAY;;;;IAhDrF,AADF,AADF,+BAA0B,cACG,SACrB;IAAA,uBAAO;IAAA,iBAAK;IAChB,kCAG2B;IAAzB,qNAAS,qBAAc,KAAC;IACxB,2BACF;IACF,AADE,iB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O,OAAO,CAAC,MAAM,CAAC,IAAI,eAAe,CAAC;IAC5C,CAAC;2FArYU,iCAAiC;6DAAjC,iCAAiC;YCpD9C,8BAAwC;YAEtC,yBAAgC;YAahC,AAXA,0FAAiB,+EAWC;YAyQpB,iBAAM;;YApRJ,eASC;YATD,wCASC;YAED,cAwQC;YAxQD,yCAwQC;;;ADnOU,iCAAiC;IAD7C,aAAa,CAAC,aAAa,EAAE,0BAA0B,CAAC;GAC5C,iCAAiC,CAsY7C;;iFAtYY,iCAAiC;cAP7C,SAAS;2BACE,+BAA+B,mBAGxB,uBAAuB,CAAC,MAAM;;kFAGpC,iCAAiC;AAwY9C;;;GAGG;AACH,MAAM,UAAU,4BAA4B;IAC1C,oEAAoE;IACpE,oEAAoE;AACtE,CAAC"}
@@ -0,0 +1,19 @@
1
+ import { EventEmitter, OnChanges } from '@angular/core';
2
+ import { ComponentEntity, ComponentDependencyEntity, ComponentLibraryEntity } from '@memberjunction/core-entities';
3
+ import { CompositeKey } from '@memberjunction/core';
4
+ import * as i0 from "@angular/core";
5
+ export declare class ComponentDependenciesComponent implements OnChanges {
6
+ component: ComponentEntity;
7
+ openEntityRecord: EventEmitter<{
8
+ entityName: string;
9
+ key: CompositeKey;
10
+ }>;
11
+ componentDependencies: ComponentDependencyEntity[];
12
+ libraryDependencies: ComponentLibraryEntity[];
13
+ ngOnChanges(): Promise<void>;
14
+ private loadDependencies;
15
+ viewComponent(componentId: string): void;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<ComponentDependenciesComponent, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<ComponentDependenciesComponent, "mj-component-dependencies", never, { "component": { "alias": "component"; "required": false; }; }, { "openEntityRecord": "openEntityRecord"; }, never, never, false, never>;
18
+ }
19
+ //# sourceMappingURL=component-dependencies.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"component-dependencies.component.d.ts","sourceRoot":"","sources":["../../../src/ComponentStudio/components/component-dependencies.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4B,YAAY,EAA2B,SAAS,EAAE,MAAM,eAAe,CAAC;AAC3G,OAAO,EAAE,eAAe,EAAE,yBAAyB,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AACnH,OAAO,EAAE,YAAY,EAAW,MAAM,sBAAsB,CAAC;;AAS7D,qBAMa,8BAA+B,YAAW,SAAS;IACrD,SAAS,EAAG,eAAe,CAAC;IAC3B,gBAAgB;oBAAkC,MAAM;aAAO,YAAY;OAAM;IAEpF,qBAAqB,EAAE,yBAAyB,EAAE,CAAM;IACxD,mBAAmB,EAAE,sBAAsB,EAAE,CAAM;IAEpD,WAAW,IAAI,OAAO,CAAC,IAAI,CAAC;YAMpB,gBAAgB;IAsBvB,aAAa,CAAC,WAAW,EAAE,MAAM,GAAG,IAAI;yCAnCpC,8BAA8B;2CAA9B,8BAA8B;CAwC1C"}
@@ -0,0 +1,138 @@
1
+ import { Component, Input, Output, EventEmitter, ChangeDetectionStrategy } from '@angular/core';
2
+ import { CompositeKey, RunView } from '@memberjunction/core';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "@progress/kendo-angular-buttons";
5
+ const _forTrack0 = ($index, $item) => $item.ID;
6
+ function ComponentDependenciesComponent_Conditional_9_For_2_Template(rf, ctx) { if (rf & 1) {
7
+ const _r1 = i0.ɵɵgetCurrentView();
8
+ i0.ɵɵelementStart(0, "li")(1, "span", 12);
9
+ i0.ɵɵtext(2);
10
+ i0.ɵɵelementEnd();
11
+ i0.ɵɵelementStart(3, "button", 13);
12
+ i0.ɵɵlistener("click", function ComponentDependenciesComponent_Conditional_9_For_2_Template_button_click_3_listener() { const dep_r2 = i0.ɵɵrestoreView(_r1).$implicit; const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.viewComponent(dep_r2.DependencyComponentID)); });
13
+ i0.ɵɵelementEnd()();
14
+ } if (rf & 2) {
15
+ const dep_r2 = ctx.$implicit;
16
+ i0.ɵɵadvance(2);
17
+ i0.ɵɵtextInterpolate(dep_r2.DependencyComponentID);
18
+ i0.ɵɵadvance();
19
+ i0.ɵɵproperty("icon", "fa-solid fa-arrow-up-right-from-square")("fillMode", "flat")("size", "small");
20
+ } }
21
+ function ComponentDependenciesComponent_Conditional_9_Template(rf, ctx) { if (rf & 1) {
22
+ i0.ɵɵelementStart(0, "ul", 5);
23
+ i0.ɵɵrepeaterCreate(1, ComponentDependenciesComponent_Conditional_9_For_2_Template, 4, 4, "li", null, _forTrack0);
24
+ i0.ɵɵelementEnd();
25
+ } if (rf & 2) {
26
+ const ctx_r2 = i0.ɵɵnextContext();
27
+ i0.ɵɵadvance();
28
+ i0.ɵɵrepeater(ctx_r2.componentDependencies);
29
+ } }
30
+ function ComponentDependenciesComponent_Conditional_10_Template(rf, ctx) { if (rf & 1) {
31
+ i0.ɵɵelementStart(0, "p", 6);
32
+ i0.ɵɵtext(1, "No component dependencies");
33
+ i0.ɵɵelementEnd();
34
+ } }
35
+ function ComponentDependenciesComponent_Conditional_15_For_2_Template(rf, ctx) { if (rf & 1) {
36
+ i0.ɵɵelementStart(0, "li")(1, "span", 12);
37
+ i0.ɵɵtext(2);
38
+ i0.ɵɵelementEnd();
39
+ i0.ɵɵelementStart(3, "span", 14);
40
+ i0.ɵɵtext(4);
41
+ i0.ɵɵelementEnd()();
42
+ } if (rf & 2) {
43
+ const lib_r4 = ctx.$implicit;
44
+ i0.ɵɵadvance(2);
45
+ i0.ɵɵtextInterpolate(lib_r4.Name);
46
+ i0.ɵɵadvance(2);
47
+ i0.ɵɵtextInterpolate(lib_r4.Version);
48
+ } }
49
+ function ComponentDependenciesComponent_Conditional_15_Template(rf, ctx) { if (rf & 1) {
50
+ i0.ɵɵelementStart(0, "ul", 5);
51
+ i0.ɵɵrepeaterCreate(1, ComponentDependenciesComponent_Conditional_15_For_2_Template, 5, 2, "li", null, _forTrack0);
52
+ i0.ɵɵelementEnd();
53
+ } if (rf & 2) {
54
+ const ctx_r2 = i0.ɵɵnextContext();
55
+ i0.ɵɵadvance();
56
+ i0.ɵɵrepeater(ctx_r2.libraryDependencies);
57
+ } }
58
+ function ComponentDependenciesComponent_Conditional_16_Template(rf, ctx) { if (rf & 1) {
59
+ i0.ɵɵelementStart(0, "p", 6);
60
+ i0.ɵɵtext(1, "No library dependencies");
61
+ i0.ɵɵelementEnd();
62
+ } }
63
+ export class ComponentDependenciesComponent {
64
+ component;
65
+ openEntityRecord = new EventEmitter();
66
+ componentDependencies = [];
67
+ libraryDependencies = [];
68
+ async ngOnChanges() {
69
+ if (this.component) {
70
+ await this.loadDependencies();
71
+ }
72
+ }
73
+ async loadDependencies() {
74
+ try {
75
+ const rv = new RunView();
76
+ // Load component dependencies
77
+ const depResult = await rv.RunView({
78
+ EntityName: 'Component Dependencies',
79
+ ExtraFilter: `ComponentID='${this.component.ID}'`,
80
+ ResultType: 'entity_object'
81
+ });
82
+ if (depResult.Success) {
83
+ this.componentDependencies = depResult.Results || [];
84
+ }
85
+ // TODO: Load library dependencies through ComponentLibraryLink
86
+ }
87
+ catch (error) {
88
+ console.error('Failed to load dependencies:', error);
89
+ }
90
+ }
91
+ viewComponent(componentId) {
92
+ const key = new CompositeKey();
93
+ key.KeyValuePairs.push({ FieldName: 'ID', Value: componentId });
94
+ this.openEntityRecord.emit({ entityName: 'Components', key });
95
+ }
96
+ static ɵfac = function ComponentDependenciesComponent_Factory(t) { return new (t || ComponentDependenciesComponent)(); };
97
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ComponentDependenciesComponent, selectors: [["mj-component-dependencies"]], inputs: { component: "component" }, outputs: { openEntityRecord: "openEntityRecord" }, features: [i0.ɵɵNgOnChangesFeature], decls: 24, vars: 3, consts: [[1, "component-dependencies"], [1, "dependencies-header"], [1, "dependencies-content"], [1, "dependency-section"], [1, "fa-solid", "fa-puzzle-piece"], [1, "dependency-list"], [1, "no-dependencies"], [1, "fa-solid", "fa-book"], [1, "dependency-tree"], [1, "fa-solid", "fa-sitemap"], [1, "tree-container"], [1, "coming-soon"], [1, "dep-name"], ["kendoButton", "", 3, "click", "icon", "fillMode", "size"], [1, "dep-version"]], template: function ComponentDependenciesComponent_Template(rf, ctx) { if (rf & 1) {
98
+ i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "h2");
99
+ i0.ɵɵtext(3);
100
+ i0.ɵɵelementEnd()();
101
+ i0.ɵɵelementStart(4, "div", 2)(5, "div", 3)(6, "h3");
102
+ i0.ɵɵelement(7, "i", 4);
103
+ i0.ɵɵtext(8, " Component Dependencies");
104
+ i0.ɵɵelementEnd();
105
+ i0.ɵɵtemplate(9, ComponentDependenciesComponent_Conditional_9_Template, 3, 0, "ul", 5)(10, ComponentDependenciesComponent_Conditional_10_Template, 2, 0, "p", 6);
106
+ i0.ɵɵelementEnd();
107
+ i0.ɵɵelementStart(11, "div", 3)(12, "h3");
108
+ i0.ɵɵelement(13, "i", 7);
109
+ i0.ɵɵtext(14, " Library Dependencies");
110
+ i0.ɵɵelementEnd();
111
+ i0.ɵɵtemplate(15, ComponentDependenciesComponent_Conditional_15_Template, 3, 0, "ul", 5)(16, ComponentDependenciesComponent_Conditional_16_Template, 2, 0, "p", 6);
112
+ i0.ɵɵelementEnd();
113
+ i0.ɵɵelementStart(17, "div", 8)(18, "h3");
114
+ i0.ɵɵelement(19, "i", 9);
115
+ i0.ɵɵtext(20, " Dependency Tree");
116
+ i0.ɵɵelementEnd();
117
+ i0.ɵɵelementStart(21, "div", 10)(22, "p", 11);
118
+ i0.ɵɵtext(23, "Tree visualization coming soon");
119
+ i0.ɵɵelementEnd()()()()();
120
+ } if (rf & 2) {
121
+ i0.ɵɵadvance(3);
122
+ i0.ɵɵtextInterpolate1("", ctx.component.Name, " Dependencies");
123
+ i0.ɵɵadvance(6);
124
+ i0.ɵɵconditional(ctx.componentDependencies.length > 0 ? 9 : 10);
125
+ i0.ɵɵadvance(6);
126
+ i0.ɵɵconditional(ctx.libraryDependencies.length > 0 ? 15 : 16);
127
+ } }, dependencies: [i1.ButtonComponent], styles: [".component-dependencies[_ngcontent-%COMP%] {\n height: 100%;\n display: flex;\n flex-direction: column;\n \n .dependencies-header {\n padding: 20px;\n border-bottom: 1px solid #e5e7eb;\n \n h2 {\n margin: 0;\n font-size: 24px;\n font-weight: 600;\n }\n }\n \n .dependencies-content {\n flex: 1;\n overflow: auto;\n padding: 20px;\n display: grid;\n grid-template-columns: 1fr 1fr;\n grid-template-rows: auto 1fr;\n gap: 30px;\n \n .dependency-section {\n h3 {\n display: flex;\n align-items: center;\n gap: 8px;\n font-size: 16px;\n font-weight: 600;\n margin: 0 0 16px 0;\n color: #374151;\n \n i {\n font-size: 14px;\n color: #6b7280;\n }\n }\n \n .dependency-list {\n list-style: none;\n padding: 0;\n margin: 0;\n \n li {\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 8px 12px;\n background: #f9fafb;\n border: 1px solid #e5e7eb;\n border-radius: 6px;\n margin-bottom: 8px;\n \n .dep-name {\n font-size: 14px;\n font-weight: 500;\n }\n \n .dep-version {\n font-size: 12px;\n color: #6b7280;\n margin-left: auto;\n margin-right: 8px;\n }\n }\n }\n \n .no-dependencies {\n color: #9ca3af;\n font-size: 14px;\n font-style: italic;\n }\n }\n \n .dependency-tree {\n grid-column: 1 / -1;\n \n h3 {\n display: flex;\n align-items: center;\n gap: 8px;\n font-size: 16px;\n font-weight: 600;\n margin: 0 0 16px 0;\n color: #374151;\n \n i {\n font-size: 14px;\n color: #6b7280;\n }\n }\n \n .tree-container {\n min-height: 200px;\n background: #f9fafb;\n border: 1px solid #e5e7eb;\n border-radius: 8px;\n padding: 20px;\n display: flex;\n align-items: center;\n justify-content: center;\n \n .coming-soon {\n color: #9ca3af;\n font-style: italic;\n }\n }\n }\n }\n}"], changeDetection: 0 });
128
+ }
129
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ComponentDependenciesComponent, [{
130
+ type: Component,
131
+ args: [{ selector: 'mj-component-dependencies', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"component-dependencies\">\n <div class=\"dependencies-header\">\n <h2>{{ component.Name }} Dependencies</h2>\n </div>\n \n <div class=\"dependencies-content\">\n <div class=\"dependency-section\">\n <h3><i class=\"fa-solid fa-puzzle-piece\"></i> Component Dependencies</h3>\n @if (componentDependencies.length > 0) {\n <ul class=\"dependency-list\">\n @for (dep of componentDependencies; track dep.ID) {\n <li>\n <span class=\"dep-name\">{{ dep.DependencyComponentID }}</span>\n <button kendoButton [icon]=\"'fa-solid fa-arrow-up-right-from-square'\" \n [fillMode]=\"'flat'\" [size]=\"'small'\"\n (click)=\"viewComponent(dep.DependencyComponentID)\">\n </button>\n </li>\n }\n </ul>\n } @else {\n <p class=\"no-dependencies\">No component dependencies</p>\n }\n </div>\n \n <div class=\"dependency-section\">\n <h3><i class=\"fa-solid fa-book\"></i> Library Dependencies</h3>\n @if (libraryDependencies.length > 0) {\n <ul class=\"dependency-list\">\n @for (lib of libraryDependencies; track lib.ID) {\n <li>\n <span class=\"dep-name\">{{ lib.Name }}</span>\n <span class=\"dep-version\">{{ lib.Version }}</span>\n </li>\n }\n </ul>\n } @else {\n <p class=\"no-dependencies\">No library dependencies</p>\n }\n </div>\n \n <div class=\"dependency-tree\">\n <h3><i class=\"fa-solid fa-sitemap\"></i> Dependency Tree</h3>\n <div class=\"tree-container\">\n <!-- TODO: Implement tree visualization -->\n <p class=\"coming-soon\">Tree visualization coming soon</p>\n </div>\n </div>\n </div>\n</div>", styles: [".component-dependencies {\n height: 100%;\n display: flex;\n flex-direction: column;\n \n .dependencies-header {\n padding: 20px;\n border-bottom: 1px solid #e5e7eb;\n \n h2 {\n margin: 0;\n font-size: 24px;\n font-weight: 600;\n }\n }\n \n .dependencies-content {\n flex: 1;\n overflow: auto;\n padding: 20px;\n display: grid;\n grid-template-columns: 1fr 1fr;\n grid-template-rows: auto 1fr;\n gap: 30px;\n \n .dependency-section {\n h3 {\n display: flex;\n align-items: center;\n gap: 8px;\n font-size: 16px;\n font-weight: 600;\n margin: 0 0 16px 0;\n color: #374151;\n \n i {\n font-size: 14px;\n color: #6b7280;\n }\n }\n \n .dependency-list {\n list-style: none;\n padding: 0;\n margin: 0;\n \n li {\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 8px 12px;\n background: #f9fafb;\n border: 1px solid #e5e7eb;\n border-radius: 6px;\n margin-bottom: 8px;\n \n .dep-name {\n font-size: 14px;\n font-weight: 500;\n }\n \n .dep-version {\n font-size: 12px;\n color: #6b7280;\n margin-left: auto;\n margin-right: 8px;\n }\n }\n }\n \n .no-dependencies {\n color: #9ca3af;\n font-size: 14px;\n font-style: italic;\n }\n }\n \n .dependency-tree {\n grid-column: 1 / -1;\n \n h3 {\n display: flex;\n align-items: center;\n gap: 8px;\n font-size: 16px;\n font-weight: 600;\n margin: 0 0 16px 0;\n color: #374151;\n \n i {\n font-size: 14px;\n color: #6b7280;\n }\n }\n \n .tree-container {\n min-height: 200px;\n background: #f9fafb;\n border: 1px solid #e5e7eb;\n border-radius: 8px;\n padding: 20px;\n display: flex;\n align-items: center;\n justify-content: center;\n \n .coming-soon {\n color: #9ca3af;\n font-style: italic;\n }\n }\n }\n }\n}"] }]
132
+ }], null, { component: [{
133
+ type: Input
134
+ }], openEntityRecord: [{
135
+ type: Output
136
+ }] }); })();
137
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ComponentDependenciesComponent, { className: "ComponentDependenciesComponent", filePath: "src/ComponentStudio/components/component-dependencies.component.ts", lineNumber: 18 }); })();
138
+ //# sourceMappingURL=component-dependencies.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"component-dependencies.component.js","sourceRoot":"","sources":["../../../src/ComponentStudio/components/component-dependencies.component.ts","../../../src/ComponentStudio/components/component-dependencies.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,uBAAuB,EAAa,MAAM,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S;2BACE,2BAA2B,mBAGpB,uBAAuB,CAAC,MAAM;gBAGtC,SAAS;kBAAjB,KAAK;YACI,gBAAgB;kBAAzB,MAAM;;kFAFI,8BAA8B"}
@@ -0,0 +1,18 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { ComponentEntity } from '@memberjunction/core-entities';
3
+ import { ComponentSpec } from '@memberjunction/interactive-component-types';
4
+ import { CompositeKey } from '@memberjunction/core';
5
+ import * as i0 from "@angular/core";
6
+ export declare class ComponentPreviewComponent {
7
+ component: ComponentEntity;
8
+ componentSpec: ComponentSpec | null;
9
+ openEntityRecord: EventEmitter<{
10
+ entityName: string;
11
+ key: CompositeKey;
12
+ }>;
13
+ showCode: boolean;
14
+ runComponent(): void;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<ComponentPreviewComponent, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<ComponentPreviewComponent, "mj-component-preview", never, { "component": { "alias": "component"; "required": false; }; "componentSpec": { "alias": "componentSpec"; "required": false; }; }, { "openEntityRecord": "openEntityRecord"; }, never, never, false, never>;
17
+ }
18
+ //# sourceMappingURL=component-preview.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"component-preview.component.d.ts","sourceRoot":"","sources":["../../../src/ComponentStudio/components/component-preview.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4B,YAAY,EAA2B,MAAM,eAAe,CAAC;AAChG,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,MAAM,6CAA6C,CAAC;AAC5E,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;;AAEpD,qBAMa,yBAAyB;IAC3B,SAAS,EAAG,eAAe,CAAC;IAC5B,aAAa,EAAE,aAAa,GAAG,IAAI,CAAQ;IAC1C,gBAAgB;oBAAkC,MAAM;aAAO,YAAY;OAAM;IAEpF,QAAQ,UAAS;IAEjB,YAAY,IAAI,IAAI;yCAPhB,yBAAyB;2CAAzB,yBAAyB;CAWrC"}
@@ -0,0 +1,86 @@
1
+ import { Component, Input, Output, EventEmitter, ChangeDetectionStrategy } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "@progress/kendo-angular-buttons";
4
+ import * as i2 from "@memberjunction/ng-react";
5
+ function ComponentPreviewComponent_Conditional_10_Template(rf, ctx) { if (rf & 1) {
6
+ i0.ɵɵelementStart(0, "div", 5)(1, "pre")(2, "code");
7
+ i0.ɵɵtext(3);
8
+ i0.ɵɵelementEnd()()();
9
+ } if (rf & 2) {
10
+ const ctx_r0 = i0.ɵɵnextContext();
11
+ i0.ɵɵadvance(3);
12
+ i0.ɵɵtextInterpolate((ctx_r0.componentSpec == null ? null : ctx_r0.componentSpec.code) || "No code available");
13
+ } }
14
+ function ComponentPreviewComponent_Conditional_11_Conditional_1_Template(rf, ctx) { if (rf & 1) {
15
+ const _r2 = i0.ɵɵgetCurrentView();
16
+ i0.ɵɵelementStart(0, "mj-react-component", 9);
17
+ i0.ɵɵlistener("openEntityRecord", function ComponentPreviewComponent_Conditional_11_Conditional_1_Template_mj_react_component_openEntityRecord_0_listener($event) { i0.ɵɵrestoreView(_r2); const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.openEntityRecord.emit($event)); });
18
+ i0.ɵɵelementEnd();
19
+ } if (rf & 2) {
20
+ const ctx_r0 = i0.ɵɵnextContext(2);
21
+ i0.ɵɵproperty("component", ctx_r0.componentSpec);
22
+ } }
23
+ function ComponentPreviewComponent_Conditional_11_Conditional_2_Template(rf, ctx) { if (rf & 1) {
24
+ i0.ɵɵelementStart(0, "div", 8)(1, "p");
25
+ i0.ɵɵtext(2, "Component specification not available. The component may need to be configured with a proper ComponentSpec.");
26
+ i0.ɵɵelementEnd()();
27
+ } }
28
+ function ComponentPreviewComponent_Conditional_11_Template(rf, ctx) { if (rf & 1) {
29
+ i0.ɵɵelementStart(0, "div", 6);
30
+ i0.ɵɵtemplate(1, ComponentPreviewComponent_Conditional_11_Conditional_1_Template, 1, 1, "mj-react-component", 7)(2, ComponentPreviewComponent_Conditional_11_Conditional_2_Template, 3, 0, "div", 8);
31
+ i0.ɵɵelementEnd();
32
+ } if (rf & 2) {
33
+ const ctx_r0 = i0.ɵɵnextContext();
34
+ i0.ɵɵadvance();
35
+ i0.ɵɵconditional(ctx_r0.componentSpec ? 1 : 2);
36
+ } }
37
+ export class ComponentPreviewComponent {
38
+ component;
39
+ componentSpec = null;
40
+ openEntityRecord = new EventEmitter();
41
+ showCode = false;
42
+ runComponent() {
43
+ // TODO: Implement component execution logic
44
+ console.log('Running component:', this.component.Name);
45
+ }
46
+ static ɵfac = function ComponentPreviewComponent_Factory(t) { return new (t || ComponentPreviewComponent)(); };
47
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ComponentPreviewComponent, selectors: [["mj-component-preview"]], inputs: { component: "component", componentSpec: "componentSpec" }, outputs: { openEntityRecord: "openEntityRecord" }, decls: 12, vars: 7, consts: [[1, "component-preview"], [1, "preview-header"], [1, "preview-actions"], ["kendoButton", "", 3, "click", "icon", "fillMode"], [1, "preview-content"], [1, "code-view"], [1, "component-container"], [3, "component"], [1, "no-spec"], [3, "openEntityRecord", "component"]], template: function ComponentPreviewComponent_Template(rf, ctx) { if (rf & 1) {
48
+ i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "h2");
49
+ i0.ɵɵtext(3);
50
+ i0.ɵɵelementEnd();
51
+ i0.ɵɵelementStart(4, "div", 2)(5, "button", 3);
52
+ i0.ɵɵlistener("click", function ComponentPreviewComponent_Template_button_click_5_listener() { return ctx.showCode = !ctx.showCode; });
53
+ i0.ɵɵtext(6);
54
+ i0.ɵɵelementEnd();
55
+ i0.ɵɵelementStart(7, "button", 3);
56
+ i0.ɵɵlistener("click", function ComponentPreviewComponent_Template_button_click_7_listener() { return ctx.runComponent(); });
57
+ i0.ɵɵtext(8, " Run Component ");
58
+ i0.ɵɵelementEnd()()();
59
+ i0.ɵɵelementStart(9, "div", 4);
60
+ i0.ɵɵtemplate(10, ComponentPreviewComponent_Conditional_10_Template, 4, 1, "div", 5)(11, ComponentPreviewComponent_Conditional_11_Template, 3, 1, "div", 6);
61
+ i0.ɵɵelementEnd()();
62
+ } if (rf & 2) {
63
+ i0.ɵɵadvance(3);
64
+ i0.ɵɵtextInterpolate(ctx.component.Name);
65
+ i0.ɵɵadvance(2);
66
+ i0.ɵɵproperty("icon", "fa-solid fa-code")("fillMode", "flat");
67
+ i0.ɵɵadvance();
68
+ i0.ɵɵtextInterpolate1(" ", ctx.showCode ? "Hide" : "Show", " Code ");
69
+ i0.ɵɵadvance();
70
+ i0.ɵɵproperty("icon", "fa-solid fa-play")("fillMode", "flat");
71
+ i0.ɵɵadvance(3);
72
+ i0.ɵɵconditional(ctx.showCode ? 10 : 11);
73
+ } }, dependencies: [i1.ButtonComponent, i2.MJReactComponent], styles: [".component-preview[_ngcontent-%COMP%] {\n height: 100%;\n display: flex;\n flex-direction: column;\n \n .preview-header {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 20px;\n border-bottom: 1px solid #e5e7eb;\n \n h2 {\n margin: 0;\n font-size: 24px;\n font-weight: 600;\n }\n \n .preview-actions {\n display: flex;\n gap: 8px;\n }\n }\n \n .preview-content {\n flex: 1;\n overflow: auto;\n padding: 20px;\n \n .code-view {\n background: #1e1e1e;\n border-radius: 8px;\n padding: 20px;\n \n pre {\n margin: 0;\n color: #d4d4d4;\n font-family: 'Consolas', 'Monaco', monospace;\n font-size: 14px;\n line-height: 1.5;\n overflow-x: auto;\n }\n }\n \n .component-container {\n height: 100%;\n min-height: 400px;\n }\n \n .no-spec {\n display: flex;\n align-items: center;\n justify-content: center;\n height: 100%;\n color: #6b7280;\n text-align: center;\n \n p {\n max-width: 400px;\n }\n }\n }\n}"], changeDetection: 0 });
74
+ }
75
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ComponentPreviewComponent, [{
76
+ type: Component,
77
+ args: [{ selector: 'mj-component-preview', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"component-preview\">\n <div class=\"preview-header\">\n <h2>{{ component.Name }}</h2>\n <div class=\"preview-actions\">\n <button kendoButton [icon]=\"'fa-solid fa-code'\" [fillMode]=\"'flat'\" (click)=\"showCode = !showCode\">\n {{ showCode ? 'Hide' : 'Show' }} Code\n </button>\n <button kendoButton [icon]=\"'fa-solid fa-play'\" [fillMode]=\"'flat'\" (click)=\"runComponent()\">\n Run Component\n </button>\n </div>\n </div>\n \n <div class=\"preview-content\">\n @if (showCode) {\n <div class=\"code-view\">\n <pre><code>{{ componentSpec?.code || 'No code available' }}</code></pre>\n </div>\n } @else {\n <div class=\"component-container\">\n @if (componentSpec) {\n <mj-react-component \n [component]=\"componentSpec\"\n (openEntityRecord)=\"openEntityRecord.emit($event)\">\n </mj-react-component>\n } @else {\n <div class=\"no-spec\">\n <p>Component specification not available. The component may need to be configured with a proper ComponentSpec.</p>\n </div>\n }\n </div>\n }\n </div>\n</div>", styles: [".component-preview {\n height: 100%;\n display: flex;\n flex-direction: column;\n \n .preview-header {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 20px;\n border-bottom: 1px solid #e5e7eb;\n \n h2 {\n margin: 0;\n font-size: 24px;\n font-weight: 600;\n }\n \n .preview-actions {\n display: flex;\n gap: 8px;\n }\n }\n \n .preview-content {\n flex: 1;\n overflow: auto;\n padding: 20px;\n \n .code-view {\n background: #1e1e1e;\n border-radius: 8px;\n padding: 20px;\n \n pre {\n margin: 0;\n color: #d4d4d4;\n font-family: 'Consolas', 'Monaco', monospace;\n font-size: 14px;\n line-height: 1.5;\n overflow-x: auto;\n }\n }\n \n .component-container {\n height: 100%;\n min-height: 400px;\n }\n \n .no-spec {\n display: flex;\n align-items: center;\n justify-content: center;\n height: 100%;\n color: #6b7280;\n text-align: center;\n \n p {\n max-width: 400px;\n }\n }\n }\n}"] }]
78
+ }], null, { component: [{
79
+ type: Input
80
+ }], componentSpec: [{
81
+ type: Input
82
+ }], openEntityRecord: [{
83
+ type: Output
84
+ }] }); })();
85
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ComponentPreviewComponent, { className: "ComponentPreviewComponent", filePath: "src/ComponentStudio/components/component-preview.component.ts", lineNumber: 12 }); })();
86
+ //# sourceMappingURL=component-preview.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"component-preview.component.js","sourceRoot":"","sources":["../../../src/ComponentStudio/components/component-preview.component.ts","../../../src/ComponentStudio/components/component-preview.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;;;;;ICgBnF,AAAL,AADF,8BAAuB,UAChB,WAAM;IAAA,YAAgD;IAC7D,AADoE,AAAP,iBAAO,EAAM,EACpE;;;IADO,eAAgD;IAAhD,8GAAgD;;;;IAKzD,6CAEqD;IAAnD,qPAAoB,oCAA6B,KAAC;IACpD,iBAAqB;;;IAFnB,gDAA2B;;;IAK3B,AADF,8BAAqB,QAChB;IAAA,2HAA2G;IAChH,AADgH,iBAAI,EAC9G;;;IATV,8BAAiC;IAM7B,AALF,gHAAqB,oFAKZ;IAKX,iBAAM;;;IAVJ,cASC;IATD,8CASC;;ADlBT,MAAM,OAAO,yBAAyB;IAC3B,SAAS,CAAmB;IAC5B,aAAa,GAAyB,IAAI,CAAC;IAC1C,gBAAgB,GAAG,IAAI,YAAY,EAA6C,CAAC;IAEpF,QAAQ,GAAG,KAAK,CAAC;IAEjB,YAAY;QACjB,4CAA4C;QAC5C,OAAO,CAAC,GAAG,CAAC,oBAAoB,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;IACzD,CAAC;mFAVU,yBAAyB;6DAAzB,yBAAyB;YCTlC,AADF,AADF,8BAA+B,aACD,SACtB;YAAA,YAAoB;YAAA,iBAAK;YAE3B,AADF,8BAA6B,gBACwE;YAA/B,sIAA8B;YAChG,YACF;YAAA,iBAAS;YACT,iCAA6F;YAAzB,sGAAS,kBAAc,IAAC;YAC1F,+BACF;YAEJ,AADE,AADE,iBAAS,EACL,EACF;YAEN,8BAA6B;YAKzB,AAJF,oFAAgB,uEAIP;YAeb,AADE,iBAAM,EACF;;YA/BE,eAAoB;YAApB,wCAAoB;YAEF,eAA2B;YAAC,AAA5B,yCAA2B,oBAAoB;YACjE,cACF;YADE,oEACF;YACoB,cAA2B;YAAC,AAA5B,yCAA2B,oBAAoB;YAOrE,eAiBC;YAjBD,wCAiBC;;;iFDpBQ,yBAAyB;cANrC,SAAS;2BACE,sBAAsB,mBAGf,uBAAuB,CAAC,MAAM;gBAGtC,SAAS;kBAAjB,KAAK;YACG,aAAa;kBAArB,KAAK;YACI,gBAAgB;kBAAzB,MAAM;;kFAHI,yBAAyB"}
@@ -0,0 +1,29 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { CompositeKey } from '@memberjunction/core';
3
+ import { ComponentRegistryEntity } from '@memberjunction/core-entities';
4
+ import * as i0 from "@angular/core";
5
+ export declare class ComponentStudioSettingsComponent {
6
+ openEntityRecord: EventEmitter<{
7
+ entityName: string;
8
+ key: CompositeKey;
9
+ }>;
10
+ registries: ComponentRegistryEntity[];
11
+ showDeprecated: boolean;
12
+ autoRefresh: boolean;
13
+ showDevComponents: boolean;
14
+ constructor();
15
+ private loadRegistries;
16
+ addRegistry(): void;
17
+ toggleShowDeprecated(): void;
18
+ toggleAutoRefresh(): void;
19
+ toggleShowDevComponents(): void;
20
+ syncComponents(): void;
21
+ exportComponents(): void;
22
+ importComponents(): void;
23
+ openComponentEditor(): void;
24
+ openDebugConsole(): void;
25
+ viewComponentSchema(): void;
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<ComponentStudioSettingsComponent, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<ComponentStudioSettingsComponent, "mj-component-studio-settings", never, {}, { "openEntityRecord": "openEntityRecord"; }, never, never, false, never>;
28
+ }
29
+ //# sourceMappingURL=component-studio-settings.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"component-studio-settings.component.d.ts","sourceRoot":"","sources":["../../../src/ComponentStudio/components/component-studio-settings.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqB,YAAY,EAA2B,MAAM,eAAe,CAAC;AACzF,OAAO,EAAE,YAAY,EAAqB,MAAM,sBAAsB,CAAC;AACvE,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;;AAExE,qBAMa,gCAAgC;IACjC,gBAAgB;oBAAkC,MAAM;aAAO,YAAY;OAAM;IAEpF,UAAU,EAAE,uBAAuB,EAAE,CAAM;IAC3C,cAAc,UAAS;IACvB,WAAW,UAAS;IACpB,iBAAiB,UAAQ;;YAMlB,cAAc;IAkBrB,WAAW,IAAI,IAAI;IAKnB,oBAAoB,IAAI,IAAI;IAK5B,iBAAiB,IAAI,IAAI;IAKzB,uBAAuB,IAAI,IAAI;IAK/B,cAAc,IAAI,IAAI;IAKtB,gBAAgB,IAAI,IAAI;IAKxB,gBAAgB,IAAI,IAAI;IAKxB,mBAAmB,IAAI,IAAI;IAK3B,gBAAgB,IAAI,IAAI;IAKxB,mBAAmB,IAAI,IAAI;yCA3EvB,gCAAgC;2CAAhC,gCAAgC;CA+E5C"}
@@ -0,0 +1,212 @@
1
+ import { Component, Output, EventEmitter, ChangeDetectionStrategy } from '@angular/core';
2
+ import { CompositeKey, RunView } from '@memberjunction/core';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "@progress/kendo-angular-buttons";
5
+ const _forTrack0 = ($index, $item) => $item.ID;
6
+ function ComponentStudioSettingsComponent_For_14_Conditional_7_Template(rf, ctx) { if (rf & 1) {
7
+ i0.ɵɵelementStart(0, "span", 22);
8
+ i0.ɵɵtext(1, "Active");
9
+ i0.ɵɵelementEnd();
10
+ } }
11
+ function ComponentStudioSettingsComponent_For_14_Conditional_8_Template(rf, ctx) { if (rf & 1) {
12
+ i0.ɵɵelementStart(0, "span", 23);
13
+ i0.ɵɵtext(1, "Inactive");
14
+ i0.ɵɵelementEnd();
15
+ } }
16
+ function ComponentStudioSettingsComponent_For_14_Template(rf, ctx) { if (rf & 1) {
17
+ i0.ɵɵelementStart(0, "div", 8)(1, "div", 19)(2, "h4");
18
+ i0.ɵɵtext(3);
19
+ i0.ɵɵelementEnd();
20
+ i0.ɵɵelementStart(4, "span", 20);
21
+ i0.ɵɵtext(5);
22
+ i0.ɵɵelementEnd()();
23
+ i0.ɵɵelementStart(6, "div", 21);
24
+ i0.ɵɵtemplate(7, ComponentStudioSettingsComponent_For_14_Conditional_7_Template, 2, 0, "span", 22)(8, ComponentStudioSettingsComponent_For_14_Conditional_8_Template, 2, 0, "span", 23);
25
+ i0.ɵɵelementEnd()();
26
+ } if (rf & 2) {
27
+ const registry_r1 = ctx.$implicit;
28
+ i0.ɵɵadvance(3);
29
+ i0.ɵɵtextInterpolate(registry_r1.Name);
30
+ i0.ɵɵadvance(2);
31
+ i0.ɵɵtextInterpolate(registry_r1.URI);
32
+ i0.ɵɵadvance(2);
33
+ i0.ɵɵconditional(registry_r1.Status === "Active" ? 7 : 8);
34
+ } }
35
+ function ComponentStudioSettingsComponent_Conditional_15_Template(rf, ctx) { if (rf & 1) {
36
+ i0.ɵɵelementStart(0, "p", 9);
37
+ i0.ɵɵtext(1, "No registries configured");
38
+ i0.ɵɵelementEnd();
39
+ } }
40
+ export class ComponentStudioSettingsComponent {
41
+ openEntityRecord = new EventEmitter();
42
+ registries = [];
43
+ showDeprecated = false;
44
+ autoRefresh = false;
45
+ showDevComponents = true;
46
+ constructor() {
47
+ this.loadRegistries();
48
+ }
49
+ async loadRegistries() {
50
+ try {
51
+ const rv = new RunView();
52
+ const result = await rv.RunView({
53
+ EntityName: 'Component Registries',
54
+ ExtraFilter: '',
55
+ OrderBy: 'Name',
56
+ ResultType: 'entity_object'
57
+ });
58
+ if (result.Success) {
59
+ this.registries = result.Results || [];
60
+ }
61
+ }
62
+ catch (error) {
63
+ console.error('Failed to load registries:', error);
64
+ }
65
+ }
66
+ addRegistry() {
67
+ const key = new CompositeKey();
68
+ this.openEntityRecord.emit({ entityName: 'Component Registries', key });
69
+ }
70
+ toggleShowDeprecated() {
71
+ this.showDeprecated = !this.showDeprecated;
72
+ // TODO: Save preference
73
+ }
74
+ toggleAutoRefresh() {
75
+ this.autoRefresh = !this.autoRefresh;
76
+ // TODO: Save preference and implement auto-refresh
77
+ }
78
+ toggleShowDevComponents() {
79
+ this.showDevComponents = !this.showDevComponents;
80
+ // TODO: Save preference
81
+ }
82
+ syncComponents() {
83
+ // TODO: Implement registry sync
84
+ console.log('Syncing with registries...');
85
+ }
86
+ exportComponents() {
87
+ // TODO: Implement export
88
+ console.log('Exporting components...');
89
+ }
90
+ importComponents() {
91
+ // TODO: Implement import
92
+ console.log('Importing components...');
93
+ }
94
+ openComponentEditor() {
95
+ // TODO: Open component editor
96
+ console.log('Opening component editor...');
97
+ }
98
+ openDebugConsole() {
99
+ // TODO: Open debug console
100
+ console.log('Opening debug console...');
101
+ }
102
+ viewComponentSchema() {
103
+ // TODO: View schema
104
+ console.log('Viewing component schema...');
105
+ }
106
+ static ɵfac = function ComponentStudioSettingsComponent_Factory(t) { return new (t || ComponentStudioSettingsComponent)(); };
107
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ComponentStudioSettingsComponent, selectors: [["mj-component-studio-settings"]], outputs: { openEntityRecord: "openEntityRecord" }, decls: 54, vars: 11, consts: [[1, "component-studio-settings"], [1, "settings-header"], [1, "fa-solid", "fa-cog"], [1, "settings-content"], [1, "settings-section"], [1, "fa-solid", "fa-cloud"], [1, "section-description"], [1, "registry-list"], [1, "registry-item"], [1, "no-registries"], ["kendoButton", "", 3, "click", "icon"], [1, "fa-solid", "fa-palette"], [1, "preference-group"], [1, "preference-label"], ["type", "checkbox", 3, "change", "checked"], [1, "fa-solid", "fa-database"], [1, "action-buttons"], [1, "fa-solid", "fa-code"], [1, "dev-tools"], [1, "registry-info"], [1, "registry-url"], [1, "registry-status"], [1, "status-active"], [1, "status-inactive"]], template: function ComponentStudioSettingsComponent_Template(rf, ctx) { if (rf & 1) {
108
+ i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "h2");
109
+ i0.ɵɵelement(3, "i", 2);
110
+ i0.ɵɵtext(4, " Component Studio Settings");
111
+ i0.ɵɵelementEnd()();
112
+ i0.ɵɵelementStart(5, "div", 3)(6, "div", 4)(7, "h3");
113
+ i0.ɵɵelement(8, "i", 5);
114
+ i0.ɵɵtext(9, " Component Registries");
115
+ i0.ɵɵelementEnd();
116
+ i0.ɵɵelementStart(10, "p", 6);
117
+ i0.ɵɵtext(11, " Manage external component registries for discovering and sharing components. ");
118
+ i0.ɵɵelementEnd();
119
+ i0.ɵɵelementStart(12, "div", 7);
120
+ i0.ɵɵrepeaterCreate(13, ComponentStudioSettingsComponent_For_14_Template, 9, 3, "div", 8, _forTrack0);
121
+ i0.ɵɵtemplate(15, ComponentStudioSettingsComponent_Conditional_15_Template, 2, 0, "p", 9);
122
+ i0.ɵɵelementEnd();
123
+ i0.ɵɵelementStart(16, "button", 10);
124
+ i0.ɵɵlistener("click", function ComponentStudioSettingsComponent_Template_button_click_16_listener() { return ctx.addRegistry(); });
125
+ i0.ɵɵtext(17, " Add Registry ");
126
+ i0.ɵɵelementEnd()();
127
+ i0.ɵɵelementStart(18, "div", 4)(19, "h3");
128
+ i0.ɵɵelement(20, "i", 11);
129
+ i0.ɵɵtext(21, " Display Preferences");
130
+ i0.ɵɵelementEnd();
131
+ i0.ɵɵelementStart(22, "div", 12)(23, "label", 13)(24, "input", 14);
132
+ i0.ɵɵlistener("change", function ComponentStudioSettingsComponent_Template_input_change_24_listener() { return ctx.toggleShowDeprecated(); });
133
+ i0.ɵɵelementEnd();
134
+ i0.ɵɵtext(25, " Show deprecated components ");
135
+ i0.ɵɵelementEnd();
136
+ i0.ɵɵelementStart(26, "label", 13)(27, "input", 14);
137
+ i0.ɵɵlistener("change", function ComponentStudioSettingsComponent_Template_input_change_27_listener() { return ctx.toggleAutoRefresh(); });
138
+ i0.ɵɵelementEnd();
139
+ i0.ɵɵtext(28, " Auto-refresh component list (every 5 minutes) ");
140
+ i0.ɵɵelementEnd();
141
+ i0.ɵɵelementStart(29, "label", 13)(30, "input", 14);
142
+ i0.ɵɵlistener("change", function ComponentStudioSettingsComponent_Template_input_change_30_listener() { return ctx.toggleShowDevComponents(); });
143
+ i0.ɵɵelementEnd();
144
+ i0.ɵɵtext(31, " Show development/draft components ");
145
+ i0.ɵɵelementEnd()()();
146
+ i0.ɵɵelementStart(32, "div", 4)(33, "h3");
147
+ i0.ɵɵelement(34, "i", 15);
148
+ i0.ɵɵtext(35, " Data Management");
149
+ i0.ɵɵelementEnd();
150
+ i0.ɵɵelementStart(36, "div", 16)(37, "button", 10);
151
+ i0.ɵɵlistener("click", function ComponentStudioSettingsComponent_Template_button_click_37_listener() { return ctx.syncComponents(); });
152
+ i0.ɵɵtext(38, " Sync with Registries ");
153
+ i0.ɵɵelementEnd();
154
+ i0.ɵɵelementStart(39, "button", 10);
155
+ i0.ɵɵlistener("click", function ComponentStudioSettingsComponent_Template_button_click_39_listener() { return ctx.exportComponents(); });
156
+ i0.ɵɵtext(40, " Export Local Components ");
157
+ i0.ɵɵelementEnd();
158
+ i0.ɵɵelementStart(41, "button", 10);
159
+ i0.ɵɵlistener("click", function ComponentStudioSettingsComponent_Template_button_click_41_listener() { return ctx.importComponents(); });
160
+ i0.ɵɵtext(42, " Import Components ");
161
+ i0.ɵɵelementEnd()()();
162
+ i0.ɵɵelementStart(43, "div", 4)(44, "h3");
163
+ i0.ɵɵelement(45, "i", 17);
164
+ i0.ɵɵtext(46, " Developer Tools");
165
+ i0.ɵɵelementEnd();
166
+ i0.ɵɵelementStart(47, "div", 18)(48, "button", 10);
167
+ i0.ɵɵlistener("click", function ComponentStudioSettingsComponent_Template_button_click_48_listener() { return ctx.openComponentEditor(); });
168
+ i0.ɵɵtext(49, " Component Editor ");
169
+ i0.ɵɵelementEnd();
170
+ i0.ɵɵelementStart(50, "button", 10);
171
+ i0.ɵɵlistener("click", function ComponentStudioSettingsComponent_Template_button_click_50_listener() { return ctx.openDebugConsole(); });
172
+ i0.ɵɵtext(51, " Debug Console ");
173
+ i0.ɵɵelementEnd();
174
+ i0.ɵɵelementStart(52, "button", 10);
175
+ i0.ɵɵlistener("click", function ComponentStudioSettingsComponent_Template_button_click_52_listener() { return ctx.viewComponentSchema(); });
176
+ i0.ɵɵtext(53, " View Schema ");
177
+ i0.ɵɵelementEnd()()()()();
178
+ } if (rf & 2) {
179
+ i0.ɵɵadvance(13);
180
+ i0.ɵɵrepeater(ctx.registries);
181
+ i0.ɵɵadvance(2);
182
+ i0.ɵɵconditional(ctx.registries.length === 0 ? 15 : -1);
183
+ i0.ɵɵadvance();
184
+ i0.ɵɵproperty("icon", "fa-solid fa-plus");
185
+ i0.ɵɵadvance(8);
186
+ i0.ɵɵproperty("checked", ctx.showDeprecated);
187
+ i0.ɵɵadvance(3);
188
+ i0.ɵɵproperty("checked", ctx.autoRefresh);
189
+ i0.ɵɵadvance(3);
190
+ i0.ɵɵproperty("checked", ctx.showDevComponents);
191
+ i0.ɵɵadvance(7);
192
+ i0.ɵɵproperty("icon", "fa-solid fa-sync");
193
+ i0.ɵɵadvance(2);
194
+ i0.ɵɵproperty("icon", "fa-solid fa-download");
195
+ i0.ɵɵadvance(2);
196
+ i0.ɵɵproperty("icon", "fa-solid fa-upload");
197
+ i0.ɵɵadvance(7);
198
+ i0.ɵɵproperty("icon", "fa-solid fa-terminal");
199
+ i0.ɵɵadvance(2);
200
+ i0.ɵɵproperty("icon", "fa-solid fa-bug");
201
+ i0.ɵɵadvance(2);
202
+ i0.ɵɵproperty("icon", "fa-solid fa-file-code");
203
+ } }, dependencies: [i1.ButtonComponent], styles: [".component-studio-settings[_ngcontent-%COMP%] {\n height: 100%;\n display: flex;\n flex-direction: column;\n \n .settings-header {\n padding: 20px;\n border-bottom: 1px solid #e5e7eb;\n \n h2 {\n margin: 0;\n font-size: 24px;\n font-weight: 600;\n display: flex;\n align-items: center;\n gap: 12px;\n \n i {\n font-size: 20px;\n color: #6b7280;\n }\n }\n }\n \n .settings-content {\n flex: 1;\n overflow-y: auto;\n padding: 30px;\n \n .settings-section {\n margin-bottom: 40px;\n \n h3 {\n display: flex;\n align-items: center;\n gap: 8px;\n font-size: 18px;\n font-weight: 600;\n margin: 0 0 8px 0;\n color: #374151;\n \n i {\n font-size: 16px;\n color: #6b7280;\n }\n }\n \n .section-description {\n color: #6b7280;\n font-size: 14px;\n margin: 0 0 20px 0;\n }\n \n .registry-list {\n margin-bottom: 16px;\n \n .registry-item {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 16px;\n background: #f9fafb;\n border: 1px solid #e5e7eb;\n border-radius: 8px;\n margin-bottom: 12px;\n \n .registry-info {\n h4 {\n margin: 0 0 4px 0;\n font-size: 16px;\n font-weight: 600;\n color: #111827;\n }\n \n .registry-url {\n font-size: 13px;\n color: #6b7280;\n }\n }\n \n .registry-status {\n .status-active {\n padding: 4px 12px;\n background: #d1fae5;\n color: #065f46;\n border-radius: 12px;\n font-size: 12px;\n font-weight: 600;\n }\n \n .status-inactive {\n padding: 4px 12px;\n background: #fee2e2;\n color: #991b1b;\n border-radius: 12px;\n font-size: 12px;\n font-weight: 600;\n }\n }\n }\n \n .no-registries {\n color: #9ca3af;\n font-style: italic;\n font-size: 14px;\n }\n }\n \n .preference-group {\n display: flex;\n flex-direction: column;\n gap: 12px;\n \n .preference-label {\n display: flex;\n align-items: center;\n gap: 8px;\n font-size: 14px;\n color: #374151;\n cursor: pointer;\n \n input[type=\"checkbox\"] {\n cursor: pointer;\n }\n }\n }\n \n .action-buttons,\n .dev-tools {\n display: flex;\n gap: 12px;\n flex-wrap: wrap;\n \n button {\n min-width: 150px;\n }\n }\n }\n }\n}"], changeDetection: 0 });
204
+ }
205
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ComponentStudioSettingsComponent, [{
206
+ type: Component,
207
+ args: [{ selector: 'mj-component-studio-settings', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"component-studio-settings\">\n <div class=\"settings-header\">\n <h2><i class=\"fa-solid fa-cog\"></i> Component Studio Settings</h2>\n </div>\n \n <div class=\"settings-content\">\n <div class=\"settings-section\">\n <h3><i class=\"fa-solid fa-cloud\"></i> Component Registries</h3>\n <p class=\"section-description\">\n Manage external component registries for discovering and sharing components.\n </p>\n <div class=\"registry-list\">\n @for (registry of registries; track registry.ID) {\n <div class=\"registry-item\">\n <div class=\"registry-info\">\n <h4>{{ registry.Name }}</h4>\n <span class=\"registry-url\">{{ registry.URI }}</span>\n </div>\n <div class=\"registry-status\">\n @if (registry.Status === 'Active') {\n <span class=\"status-active\">Active</span>\n } @else {\n <span class=\"status-inactive\">Inactive</span>\n }\n </div>\n </div>\n }\n @if (registries.length === 0) {\n <p class=\"no-registries\">No registries configured</p>\n }\n </div>\n <button kendoButton [icon]=\"'fa-solid fa-plus'\" (click)=\"addRegistry()\">\n Add Registry\n </button>\n </div>\n \n <div class=\"settings-section\">\n <h3><i class=\"fa-solid fa-palette\"></i> Display Preferences</h3>\n <div class=\"preference-group\">\n <label class=\"preference-label\">\n <input type=\"checkbox\" [checked]=\"showDeprecated\" (change)=\"toggleShowDeprecated()\">\n Show deprecated components\n </label>\n <label class=\"preference-label\">\n <input type=\"checkbox\" [checked]=\"autoRefresh\" (change)=\"toggleAutoRefresh()\">\n Auto-refresh component list (every 5 minutes)\n </label>\n <label class=\"preference-label\">\n <input type=\"checkbox\" [checked]=\"showDevComponents\" (change)=\"toggleShowDevComponents()\">\n Show development/draft components\n </label>\n </div>\n </div>\n \n <div class=\"settings-section\">\n <h3><i class=\"fa-solid fa-database\"></i> Data Management</h3>\n <div class=\"action-buttons\">\n <button kendoButton [icon]=\"'fa-solid fa-sync'\" (click)=\"syncComponents()\">\n Sync with Registries\n </button>\n <button kendoButton [icon]=\"'fa-solid fa-download'\" (click)=\"exportComponents()\">\n Export Local Components\n </button>\n <button kendoButton [icon]=\"'fa-solid fa-upload'\" (click)=\"importComponents()\">\n Import Components\n </button>\n </div>\n </div>\n \n <div class=\"settings-section\">\n <h3><i class=\"fa-solid fa-code\"></i> Developer Tools</h3>\n <div class=\"dev-tools\">\n <button kendoButton [icon]=\"'fa-solid fa-terminal'\" (click)=\"openComponentEditor()\">\n Component Editor\n </button>\n <button kendoButton [icon]=\"'fa-solid fa-bug'\" (click)=\"openDebugConsole()\">\n Debug Console\n </button>\n <button kendoButton [icon]=\"'fa-solid fa-file-code'\" (click)=\"viewComponentSchema()\">\n View Schema\n </button>\n </div>\n </div>\n </div>\n</div>", styles: [".component-studio-settings {\n height: 100%;\n display: flex;\n flex-direction: column;\n \n .settings-header {\n padding: 20px;\n border-bottom: 1px solid #e5e7eb;\n \n h2 {\n margin: 0;\n font-size: 24px;\n font-weight: 600;\n display: flex;\n align-items: center;\n gap: 12px;\n \n i {\n font-size: 20px;\n color: #6b7280;\n }\n }\n }\n \n .settings-content {\n flex: 1;\n overflow-y: auto;\n padding: 30px;\n \n .settings-section {\n margin-bottom: 40px;\n \n h3 {\n display: flex;\n align-items: center;\n gap: 8px;\n font-size: 18px;\n font-weight: 600;\n margin: 0 0 8px 0;\n color: #374151;\n \n i {\n font-size: 16px;\n color: #6b7280;\n }\n }\n \n .section-description {\n color: #6b7280;\n font-size: 14px;\n margin: 0 0 20px 0;\n }\n \n .registry-list {\n margin-bottom: 16px;\n \n .registry-item {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 16px;\n background: #f9fafb;\n border: 1px solid #e5e7eb;\n border-radius: 8px;\n margin-bottom: 12px;\n \n .registry-info {\n h4 {\n margin: 0 0 4px 0;\n font-size: 16px;\n font-weight: 600;\n color: #111827;\n }\n \n .registry-url {\n font-size: 13px;\n color: #6b7280;\n }\n }\n \n .registry-status {\n .status-active {\n padding: 4px 12px;\n background: #d1fae5;\n color: #065f46;\n border-radius: 12px;\n font-size: 12px;\n font-weight: 600;\n }\n \n .status-inactive {\n padding: 4px 12px;\n background: #fee2e2;\n color: #991b1b;\n border-radius: 12px;\n font-size: 12px;\n font-weight: 600;\n }\n }\n }\n \n .no-registries {\n color: #9ca3af;\n font-style: italic;\n font-size: 14px;\n }\n }\n \n .preference-group {\n display: flex;\n flex-direction: column;\n gap: 12px;\n \n .preference-label {\n display: flex;\n align-items: center;\n gap: 8px;\n font-size: 14px;\n color: #374151;\n cursor: pointer;\n \n input[type=\"checkbox\"] {\n cursor: pointer;\n }\n }\n }\n \n .action-buttons,\n .dev-tools {\n display: flex;\n gap: 12px;\n flex-wrap: wrap;\n \n button {\n min-width: 150px;\n }\n }\n }\n }\n}"] }]
208
+ }], () => [], { openEntityRecord: [{
209
+ type: Output
210
+ }] }); })();
211
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ComponentStudioSettingsComponent, { className: "ComponentStudioSettingsComponent", filePath: "src/ComponentStudio/components/component-studio-settings.component.ts", lineNumber: 11 }); })();
212
+ //# sourceMappingURL=component-studio-settings.component.js.map