@memberjunction/ng-dashboards 2.42.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/AI/ai-dashboard.component.d.ts +54 -0
- package/dist/AI/ai-dashboard.component.d.ts.map +1 -0
- package/dist/AI/ai-dashboard.component.js +248 -0
- package/dist/AI/ai-dashboard.component.js.map +1 -0
- package/dist/AI/components/agents/agent-configuration.component.d.ts +41 -0
- package/dist/AI/components/agents/agent-configuration.component.d.ts.map +1 -0
- package/dist/AI/components/agents/agent-configuration.component.js +325 -0
- package/dist/AI/components/agents/agent-configuration.component.js.map +1 -0
- package/dist/AI/components/agents/agent-editor.component.d.ts +77 -0
- package/dist/AI/components/agents/agent-editor.component.d.ts.map +1 -0
- package/dist/AI/components/agents/agent-editor.component.js +869 -0
- package/dist/AI/components/agents/agent-editor.component.js.map +1 -0
- package/dist/AI/components/agents/agent-filter-panel.component.d.ts +33 -0
- package/dist/AI/components/agents/agent-filter-panel.component.d.ts.map +1 -0
- package/dist/AI/components/agents/agent-filter-panel.component.js +144 -0
- package/dist/AI/components/agents/agent-filter-panel.component.js.map +1 -0
- package/dist/AI/components/execution-monitoring.component.d.ts +13 -0
- package/dist/AI/components/execution-monitoring.component.d.ts.map +1 -0
- package/dist/AI/components/execution-monitoring.component.js +30 -0
- package/dist/AI/components/execution-monitoring.component.js.map +1 -0
- package/dist/AI/components/models/model-management.component.d.ts +73 -0
- package/dist/AI/components/models/model-management.component.d.ts.map +1 -0
- package/dist/AI/components/models/model-management.component.js +669 -0
- package/dist/AI/components/models/model-management.component.js.map +1 -0
- package/dist/AI/components/prompts/prompt-filter-panel.component.d.ts +49 -0
- package/dist/AI/components/prompts/prompt-filter-panel.component.d.ts.map +1 -0
- package/dist/AI/components/prompts/prompt-filter-panel.component.js +186 -0
- package/dist/AI/components/prompts/prompt-filter-panel.component.js.map +1 -0
- package/dist/AI/components/prompts/prompt-management.component.d.ts +113 -0
- package/dist/AI/components/prompts/prompt-management.component.d.ts.map +1 -0
- package/dist/AI/components/prompts/prompt-management.component.js +1316 -0
- package/dist/AI/components/prompts/prompt-management.component.js.map +1 -0
- package/dist/AI/components/system/system-config-filter-panel.component.d.ts +33 -0
- package/dist/AI/components/system/system-config-filter-panel.component.d.ts.map +1 -0
- package/dist/AI/components/system/system-config-filter-panel.component.js +146 -0
- package/dist/AI/components/system/system-config-filter-panel.component.js.map +1 -0
- package/dist/AI/components/system/system-configuration.component.d.ts +37 -0
- package/dist/AI/components/system/system-configuration.component.d.ts.map +1 -0
- package/dist/AI/components/system/system-configuration.component.js +311 -0
- package/dist/AI/components/system/system-configuration.component.js.map +1 -0
- package/dist/Actions/actions-management-dashboard.component.d.ts +50 -0
- package/dist/Actions/actions-management-dashboard.component.d.ts.map +1 -0
- package/dist/Actions/actions-management-dashboard.component.js +282 -0
- package/dist/Actions/actions-management-dashboard.component.js.map +1 -0
- package/dist/Actions/components/actions-list-view.component.d.ts +52 -0
- package/dist/Actions/components/actions-list-view.component.d.ts.map +1 -0
- package/dist/Actions/components/actions-list-view.component.js +366 -0
- package/dist/Actions/components/actions-list-view.component.js.map +1 -0
- package/dist/Actions/components/actions-overview.component.d.ts +71 -0
- package/dist/Actions/components/actions-overview.component.d.ts.map +1 -0
- package/dist/Actions/components/actions-overview.component.js +605 -0
- package/dist/Actions/components/actions-overview.component.js.map +1 -0
- package/dist/Actions/components/categories-list-view.component.d.ts +11 -0
- package/dist/Actions/components/categories-list-view.component.d.ts.map +1 -0
- package/dist/Actions/components/categories-list-view.component.js +35 -0
- package/dist/Actions/components/categories-list-view.component.js.map +1 -0
- package/dist/Actions/components/code-management.component.d.ts +11 -0
- package/dist/Actions/components/code-management.component.d.ts.map +1 -0
- package/dist/Actions/components/code-management.component.js +35 -0
- package/dist/Actions/components/code-management.component.js.map +1 -0
- package/dist/Actions/components/entity-integration.component.d.ts +11 -0
- package/dist/Actions/components/entity-integration.component.d.ts.map +1 -0
- package/dist/Actions/components/entity-integration.component.js +35 -0
- package/dist/Actions/components/entity-integration.component.js.map +1 -0
- package/dist/Actions/components/execution-monitoring.component.d.ts +83 -0
- package/dist/Actions/components/execution-monitoring.component.d.ts.map +1 -0
- package/dist/Actions/components/execution-monitoring.component.js +629 -0
- package/dist/Actions/components/execution-monitoring.component.js.map +1 -0
- package/dist/Actions/components/executions-list-view.component.d.ts +11 -0
- package/dist/Actions/components/executions-list-view.component.d.ts.map +1 -0
- package/dist/Actions/components/executions-list-view.component.js +35 -0
- package/dist/Actions/components/executions-list-view.component.js.map +1 -0
- package/dist/Actions/components/scheduled-actions.component.d.ts +11 -0
- package/dist/Actions/components/scheduled-actions.component.d.ts.map +1 -0
- package/dist/Actions/components/scheduled-actions.component.js +35 -0
- package/dist/Actions/components/scheduled-actions.component.js.map +1 -0
- package/dist/Actions/components/security-permissions.component.d.ts +11 -0
- package/dist/Actions/components/security-permissions.component.d.ts.map +1 -0
- package/dist/Actions/components/security-permissions.component.js +35 -0
- package/dist/Actions/components/security-permissions.component.js.map +1 -0
- package/dist/Actions/index.d.ts +11 -0
- package/dist/Actions/index.d.ts.map +1 -0
- package/dist/Actions/index.js +11 -0
- package/dist/Actions/index.js.map +1 -0
- package/dist/EntityAdmin/components/entity-details.component.d.ts +50 -0
- package/dist/EntityAdmin/components/entity-details.component.d.ts.map +1 -0
- package/dist/EntityAdmin/components/entity-details.component.js +684 -0
- package/dist/EntityAdmin/components/entity-details.component.js.map +1 -0
- package/dist/EntityAdmin/components/entity-filter-panel.component.d.ts +31 -0
- package/dist/EntityAdmin/components/entity-filter-panel.component.d.ts.map +1 -0
- package/dist/EntityAdmin/components/entity-filter-panel.component.js +162 -0
- package/dist/EntityAdmin/components/entity-filter-panel.component.js.map +1 -0
- package/dist/EntityAdmin/components/erd-composite.component.d.ts +73 -0
- package/dist/EntityAdmin/components/erd-composite.component.d.ts.map +1 -0
- package/dist/EntityAdmin/components/erd-composite.component.js +288 -0
- package/dist/EntityAdmin/components/erd-composite.component.js.map +1 -0
- package/dist/EntityAdmin/components/erd-diagram.component.d.ts +47 -0
- package/dist/EntityAdmin/components/erd-diagram.component.d.ts.map +1 -0
- package/dist/EntityAdmin/components/erd-diagram.component.js +618 -0
- package/dist/EntityAdmin/components/erd-diagram.component.js.map +1 -0
- package/dist/EntityAdmin/entity-admin-dashboard.component.d.ts +50 -0
- package/dist/EntityAdmin/entity-admin-dashboard.component.d.ts.map +1 -0
- package/dist/EntityAdmin/entity-admin-dashboard.component.js +190 -0
- package/dist/EntityAdmin/entity-admin-dashboard.component.js.map +1 -0
- package/dist/generic/base-dashboard.d.ts +65 -0
- package/dist/generic/base-dashboard.d.ts.map +1 -0
- package/dist/generic/base-dashboard.js +86 -0
- package/dist/generic/base-dashboard.js.map +1 -0
- package/dist/module.d.ts +43 -0
- package/dist/module.d.ts.map +1 -0
- package/dist/module.js +141 -0
- package/dist/module.js.map +1 -0
- package/dist/public-api.d.ts +6 -0
- package/dist/public-api.d.ts.map +1 -0
- package/dist/public-api.js +18 -0
- package/dist/public-api.js.map +1 -0
- package/package.json +46 -0
|
@@ -0,0 +1,311 @@
|
|
|
1
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
4
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
6
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
7
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
import { Component, Output, EventEmitter } from '@angular/core';
|
|
11
|
+
import { RunView, LogError, LogStatus } from '@memberjunction/core';
|
|
12
|
+
import * as i0 from "@angular/core";
|
|
13
|
+
import * as i1 from "@progress/kendo-angular-layout";
|
|
14
|
+
import * as i2 from "@memberjunction/ng-container-directives";
|
|
15
|
+
import * as i3 from "./system-config-filter-panel.component";
|
|
16
|
+
const _forTrack0 = ($index, $item) => $item.ID;
|
|
17
|
+
function SystemConfigurationComponent_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
18
|
+
i0.ɵɵtext(0, " Hide Filters ");
|
|
19
|
+
} }
|
|
20
|
+
function SystemConfigurationComponent_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
21
|
+
i0.ɵɵtext(0, " Show Filters ");
|
|
22
|
+
} }
|
|
23
|
+
function SystemConfigurationComponent_Conditional_22_Template(rf, ctx) { if (rf & 1) {
|
|
24
|
+
i0.ɵɵelementStart(0, "div", 17)(1, "div", 19)(2, "div", 20);
|
|
25
|
+
i0.ɵɵelement(3, "div", 21)(4, "div", 21)(5, "div", 21);
|
|
26
|
+
i0.ɵɵelementEnd();
|
|
27
|
+
i0.ɵɵelementStart(6, "div", 22);
|
|
28
|
+
i0.ɵɵtext(7, "Loading configurations...");
|
|
29
|
+
i0.ɵɵelementEnd()()();
|
|
30
|
+
} }
|
|
31
|
+
function SystemConfigurationComponent_Conditional_23_Template(rf, ctx) { if (rf & 1) {
|
|
32
|
+
i0.ɵɵelementStart(0, "div", 18)(1, "p", 23);
|
|
33
|
+
i0.ɵɵelement(2, "i", 24);
|
|
34
|
+
i0.ɵɵtext(3);
|
|
35
|
+
i0.ɵɵelementEnd()();
|
|
36
|
+
} if (rf & 2) {
|
|
37
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
38
|
+
i0.ɵɵadvance(3);
|
|
39
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r0.error, " ");
|
|
40
|
+
} }
|
|
41
|
+
function SystemConfigurationComponent_Conditional_24_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
42
|
+
i0.ɵɵelementStart(0, "div", 25);
|
|
43
|
+
i0.ɵɵelement(1, "i", 27);
|
|
44
|
+
i0.ɵɵelementStart(2, "h3");
|
|
45
|
+
i0.ɵɵtext(3, "No configurations found");
|
|
46
|
+
i0.ɵɵelementEnd();
|
|
47
|
+
i0.ɵɵelementStart(4, "p");
|
|
48
|
+
i0.ɵɵtext(5, "No AI configurations match your current filters. Try adjusting your search criteria or create a new configuration.");
|
|
49
|
+
i0.ɵɵelementEnd()();
|
|
50
|
+
} }
|
|
51
|
+
function SystemConfigurationComponent_Conditional_24_Conditional_1_For_2_Conditional_9_Template(rf, ctx) { if (rf & 1) {
|
|
52
|
+
i0.ɵɵelementStart(0, "span", 35);
|
|
53
|
+
i0.ɵɵelement(1, "i", 47);
|
|
54
|
+
i0.ɵɵtext(2, " Default ");
|
|
55
|
+
i0.ɵɵelementEnd();
|
|
56
|
+
} }
|
|
57
|
+
function SystemConfigurationComponent_Conditional_24_Conditional_1_For_2_Conditional_13_Template(rf, ctx) { if (rf & 1) {
|
|
58
|
+
i0.ɵɵelementStart(0, "p", 37);
|
|
59
|
+
i0.ɵɵtext(1);
|
|
60
|
+
i0.ɵɵelementEnd();
|
|
61
|
+
} if (rf & 2) {
|
|
62
|
+
const config_r3 = i0.ɵɵnextContext().$implicit;
|
|
63
|
+
i0.ɵɵadvance();
|
|
64
|
+
i0.ɵɵtextInterpolate(config_r3.Description);
|
|
65
|
+
} }
|
|
66
|
+
function SystemConfigurationComponent_Conditional_24_Conditional_1_For_2_Conditional_14_Template(rf, ctx) { if (rf & 1) {
|
|
67
|
+
i0.ɵɵelementStart(0, "p", 38);
|
|
68
|
+
i0.ɵɵtext(1, "No description provided");
|
|
69
|
+
i0.ɵɵelementEnd();
|
|
70
|
+
} }
|
|
71
|
+
function SystemConfigurationComponent_Conditional_24_Conditional_1_For_2_Conditional_22_Template(rf, ctx) { if (rf & 1) {
|
|
72
|
+
i0.ɵɵelementStart(0, "button", 44);
|
|
73
|
+
i0.ɵɵelement(1, "i", 47);
|
|
74
|
+
i0.ɵɵtext(2, " Set Default ");
|
|
75
|
+
i0.ɵɵelementEnd();
|
|
76
|
+
} }
|
|
77
|
+
function SystemConfigurationComponent_Conditional_24_Conditional_1_For_2_Template(rf, ctx) { if (rf & 1) {
|
|
78
|
+
const _r2 = i0.ɵɵgetCurrentView();
|
|
79
|
+
i0.ɵɵelementStart(0, "div", 28)(1, "div", 29)(2, "div", 30)(3, "div", 31);
|
|
80
|
+
i0.ɵɵelement(4, "i");
|
|
81
|
+
i0.ɵɵelementEnd();
|
|
82
|
+
i0.ɵɵelementStart(5, "div", 32)(6, "h4", 33);
|
|
83
|
+
i0.ɵɵtext(7);
|
|
84
|
+
i0.ɵɵelementEnd();
|
|
85
|
+
i0.ɵɵelementStart(8, "div", 34);
|
|
86
|
+
i0.ɵɵtemplate(9, SystemConfigurationComponent_Conditional_24_Conditional_1_For_2_Conditional_9_Template, 3, 0, "span", 35);
|
|
87
|
+
i0.ɵɵelementEnd()()();
|
|
88
|
+
i0.ɵɵelementStart(10, "div");
|
|
89
|
+
i0.ɵɵtext(11);
|
|
90
|
+
i0.ɵɵelementEnd()();
|
|
91
|
+
i0.ɵɵelementStart(12, "div", 36);
|
|
92
|
+
i0.ɵɵtemplate(13, SystemConfigurationComponent_Conditional_24_Conditional_1_For_2_Conditional_13_Template, 2, 1, "p", 37)(14, SystemConfigurationComponent_Conditional_24_Conditional_1_For_2_Conditional_14_Template, 2, 0, "p", 38);
|
|
93
|
+
i0.ɵɵelementEnd();
|
|
94
|
+
i0.ɵɵelementStart(15, "div", 39);
|
|
95
|
+
i0.ɵɵlistener("click", function SystemConfigurationComponent_Conditional_24_Conditional_1_For_2_Template_div_click_15_listener($event) { i0.ɵɵrestoreView(_r2); return i0.ɵɵresetView($event.stopPropagation()); });
|
|
96
|
+
i0.ɵɵelementStart(16, "button", 40);
|
|
97
|
+
i0.ɵɵelement(17, "i", 41);
|
|
98
|
+
i0.ɵɵtext(18, " View ");
|
|
99
|
+
i0.ɵɵelementEnd();
|
|
100
|
+
i0.ɵɵelementStart(19, "button", 42);
|
|
101
|
+
i0.ɵɵelement(20, "i", 43);
|
|
102
|
+
i0.ɵɵtext(21, " Configure ");
|
|
103
|
+
i0.ɵɵelementEnd();
|
|
104
|
+
i0.ɵɵtemplate(22, SystemConfigurationComponent_Conditional_24_Conditional_1_For_2_Conditional_22_Template, 3, 0, "button", 44);
|
|
105
|
+
i0.ɵɵelementStart(23, "button", 45);
|
|
106
|
+
i0.ɵɵelement(24, "i", 46);
|
|
107
|
+
i0.ɵɵtext(25, " Delete ");
|
|
108
|
+
i0.ɵɵelementEnd()()();
|
|
109
|
+
} if (rf & 2) {
|
|
110
|
+
const config_r3 = ctx.$implicit;
|
|
111
|
+
const ctx_r0 = i0.ɵɵnextContext(3);
|
|
112
|
+
i0.ɵɵadvance(4);
|
|
113
|
+
i0.ɵɵclassMap(ctx_r0.getConfigIcon());
|
|
114
|
+
i0.ɵɵadvance(3);
|
|
115
|
+
i0.ɵɵtextInterpolate(config_r3.Name);
|
|
116
|
+
i0.ɵɵadvance(2);
|
|
117
|
+
i0.ɵɵconditional(config_r3.IsDefault ? 9 : -1);
|
|
118
|
+
i0.ɵɵadvance();
|
|
119
|
+
i0.ɵɵclassMapInterpolate1("status-badge status-", config_r3.Status.toLowerCase(), "");
|
|
120
|
+
i0.ɵɵadvance();
|
|
121
|
+
i0.ɵɵtextInterpolate1(" ", config_r3.Status, " ");
|
|
122
|
+
i0.ɵɵadvance(2);
|
|
123
|
+
i0.ɵɵconditional(config_r3.Description ? 13 : 14);
|
|
124
|
+
i0.ɵɵadvance(9);
|
|
125
|
+
i0.ɵɵconditional(!config_r3.IsDefault ? 22 : -1);
|
|
126
|
+
} }
|
|
127
|
+
function SystemConfigurationComponent_Conditional_24_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
128
|
+
i0.ɵɵelementStart(0, "div", 26);
|
|
129
|
+
i0.ɵɵrepeaterCreate(1, SystemConfigurationComponent_Conditional_24_Conditional_1_For_2_Template, 26, 10, "div", 28, _forTrack0);
|
|
130
|
+
i0.ɵɵelementEnd();
|
|
131
|
+
} if (rf & 2) {
|
|
132
|
+
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
133
|
+
i0.ɵɵadvance();
|
|
134
|
+
i0.ɵɵrepeater(ctx_r0.filteredConfigurations);
|
|
135
|
+
} }
|
|
136
|
+
function SystemConfigurationComponent_Conditional_24_Template(rf, ctx) { if (rf & 1) {
|
|
137
|
+
i0.ɵɵtemplate(0, SystemConfigurationComponent_Conditional_24_Conditional_0_Template, 6, 0, "div", 25)(1, SystemConfigurationComponent_Conditional_24_Conditional_1_Template, 3, 0, "div", 26);
|
|
138
|
+
} if (rf & 2) {
|
|
139
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
140
|
+
i0.ɵɵconditional(ctx_r0.filteredConfigurations.length === 0 ? 0 : 1);
|
|
141
|
+
} }
|
|
142
|
+
export class SystemConfigurationComponent {
|
|
143
|
+
constructor() {
|
|
144
|
+
this.openEntityRecord = new EventEmitter();
|
|
145
|
+
this.stateChange = new EventEmitter();
|
|
146
|
+
this.isLoading = false;
|
|
147
|
+
this.error = null;
|
|
148
|
+
this.filterPanelVisible = true;
|
|
149
|
+
this.configurations = [];
|
|
150
|
+
this.filteredConfigurations = [];
|
|
151
|
+
this.currentFilters = {
|
|
152
|
+
searchTerm: '',
|
|
153
|
+
status: 'all',
|
|
154
|
+
isDefault: 'all'
|
|
155
|
+
};
|
|
156
|
+
}
|
|
157
|
+
ngOnInit() {
|
|
158
|
+
this.loadData();
|
|
159
|
+
}
|
|
160
|
+
loadData() {
|
|
161
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
162
|
+
try {
|
|
163
|
+
this.isLoading = true;
|
|
164
|
+
this.error = null;
|
|
165
|
+
const rv = new RunView();
|
|
166
|
+
const result = yield rv.RunView({
|
|
167
|
+
EntityName: 'MJ: AI Configurations',
|
|
168
|
+
ExtraFilter: '',
|
|
169
|
+
OrderBy: 'Name',
|
|
170
|
+
UserSearchString: '',
|
|
171
|
+
IgnoreMaxRows: false,
|
|
172
|
+
MaxRows: 1000
|
|
173
|
+
});
|
|
174
|
+
if (result && result.Success && result.Results) {
|
|
175
|
+
this.configurations = result.Results;
|
|
176
|
+
this.applyFilters();
|
|
177
|
+
LogStatus('AI Configurations loaded successfully');
|
|
178
|
+
}
|
|
179
|
+
else {
|
|
180
|
+
throw new Error('Failed to load AI configurations');
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
catch (error) {
|
|
184
|
+
this.error = 'Failed to load AI configurations. Please try again.';
|
|
185
|
+
LogError('Error loading AI configurations', undefined, error);
|
|
186
|
+
}
|
|
187
|
+
finally {
|
|
188
|
+
this.isLoading = false;
|
|
189
|
+
}
|
|
190
|
+
});
|
|
191
|
+
}
|
|
192
|
+
toggleFilterPanel() {
|
|
193
|
+
this.filterPanelVisible = !this.filterPanelVisible;
|
|
194
|
+
this.emitStateChange();
|
|
195
|
+
}
|
|
196
|
+
onMainSplitterChange(event) {
|
|
197
|
+
this.emitStateChange();
|
|
198
|
+
}
|
|
199
|
+
onFiltersChange(filters) {
|
|
200
|
+
this.currentFilters = Object.assign({}, filters);
|
|
201
|
+
this.applyFilters();
|
|
202
|
+
}
|
|
203
|
+
onFilterChange() {
|
|
204
|
+
this.applyFilters();
|
|
205
|
+
}
|
|
206
|
+
onResetFilters() {
|
|
207
|
+
this.currentFilters = {
|
|
208
|
+
searchTerm: '',
|
|
209
|
+
status: 'all',
|
|
210
|
+
isDefault: 'all'
|
|
211
|
+
};
|
|
212
|
+
this.applyFilters();
|
|
213
|
+
}
|
|
214
|
+
applyFilters() {
|
|
215
|
+
let filtered = [...this.configurations];
|
|
216
|
+
// Apply search filter
|
|
217
|
+
if (this.currentFilters.searchTerm) {
|
|
218
|
+
const searchTerm = this.currentFilters.searchTerm.toLowerCase();
|
|
219
|
+
filtered = filtered.filter(config => config.Name.toLowerCase().includes(searchTerm) ||
|
|
220
|
+
(config.Description || '').toLowerCase().includes(searchTerm));
|
|
221
|
+
}
|
|
222
|
+
// Apply status filter
|
|
223
|
+
if (this.currentFilters.status !== 'all') {
|
|
224
|
+
filtered = filtered.filter(config => config.Status === this.currentFilters.status);
|
|
225
|
+
}
|
|
226
|
+
// Apply default configuration filter
|
|
227
|
+
if (this.currentFilters.isDefault !== 'all') {
|
|
228
|
+
const isDefault = this.currentFilters.isDefault === 'true';
|
|
229
|
+
filtered = filtered.filter(config => config.IsDefault === isDefault);
|
|
230
|
+
}
|
|
231
|
+
this.filteredConfigurations = filtered;
|
|
232
|
+
}
|
|
233
|
+
emitStateChange() {
|
|
234
|
+
const state = {
|
|
235
|
+
filterPanelVisible: this.filterPanelVisible,
|
|
236
|
+
filters: this.currentFilters
|
|
237
|
+
};
|
|
238
|
+
this.stateChange.emit(state);
|
|
239
|
+
}
|
|
240
|
+
onOpenEntityRecord(entityName, recordId) {
|
|
241
|
+
this.openEntityRecord.emit({ entityName, recordId });
|
|
242
|
+
}
|
|
243
|
+
getStatusColor(status) {
|
|
244
|
+
switch (status) {
|
|
245
|
+
case 'Active': return 'success';
|
|
246
|
+
case 'Preview': return 'warning';
|
|
247
|
+
case 'Inactive': return 'error';
|
|
248
|
+
case 'Deprecated': return 'error';
|
|
249
|
+
default: return 'info';
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
getConfigIcon() {
|
|
253
|
+
return 'fa-solid fa-cogs';
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
SystemConfigurationComponent.ɵfac = function SystemConfigurationComponent_Factory(t) { return new (t || SystemConfigurationComponent)(); };
|
|
257
|
+
SystemConfigurationComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SystemConfigurationComponent, selectors: [["app-system-configuration"]], outputs: { openEntityRecord: "openEntityRecord", stateChange: "stateChange" }, decls: 25, vars: 17, consts: [["mjFillContainer", "", 1, "system-configuration-container", 3, "rightMargin", "bottomMargin"], [1, "dashboard-header"], [1, "header-info"], ["type", "button", "title", "Toggle Filters", 1, "filter-toggle-btn", 3, "click"], [1, "fa-solid", "fa-filter"], [1, "config-count"], [1, "header-controls"], ["type", "button", "title", "Refresh", 1, "control-btn", 3, "click"], [1, "fa-solid", "fa-refresh"], ["type", "button", "title", "Create New Configuration", 1, "control-btn"], [1, "fa-solid", "fa-plus"], [1, "main-content"], ["orientation", "horizontal", "mjFillContainer", "", 1, "main-splitter", 3, "layoutChange"], [3, "size", "collapsible", "resizable", "scrollable", "hidden"], [3, "filtersChange", "filterChange", "resetFilters", "closePanel", "configurations", "filteredConfigurations", "filters"], [3, "resizable", "scrollable"], [1, "configurations-content"], [1, "loading-container"], [1, "error-container"], [1, "loading-content"], [1, "loading-spinner"], [1, "spinner-ring"], [1, "loading-text"], [1, "error-message"], [1, "fa-solid", "fa-exclamation-triangle"], [1, "empty-state"], [1, "configurations-grid"], [1, "fa-solid", "fa-cogs"], [1, "config-card"], [1, "card-header"], [1, "config-info"], [1, "config-icon"], [1, "config-details"], [1, "config-name"], [1, "config-meta"], [1, "default-badge"], [1, "card-body"], [1, "config-description"], [1, "config-description", "text-muted"], [1, "card-actions", 3, "click"], ["type", "button", 1, "action-btn"], [1, "fa-solid", "fa-eye"], ["type", "button", 1, "action-btn", "action-btn-primary"], [1, "fa-solid", "fa-edit"], ["type", "button", 1, "action-btn", "action-btn-warning"], ["type", "button", 1, "action-btn", "action-btn-danger"], [1, "fa-solid", "fa-trash"], [1, "fa-solid", "fa-star"]], template: function SystemConfigurationComponent_Template(rf, ctx) { if (rf & 1) {
|
|
258
|
+
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "div", 2)(3, "button", 3);
|
|
259
|
+
i0.ɵɵlistener("click", function SystemConfigurationComponent_Template_button_click_3_listener() { return ctx.toggleFilterPanel(); });
|
|
260
|
+
i0.ɵɵelement(4, "i", 4);
|
|
261
|
+
i0.ɵɵtemplate(5, SystemConfigurationComponent_Conditional_5_Template, 1, 0)(6, SystemConfigurationComponent_Conditional_6_Template, 1, 0);
|
|
262
|
+
i0.ɵɵelementEnd();
|
|
263
|
+
i0.ɵɵelementStart(7, "span", 5);
|
|
264
|
+
i0.ɵɵtext(8);
|
|
265
|
+
i0.ɵɵelementEnd()();
|
|
266
|
+
i0.ɵɵelementStart(9, "div", 6)(10, "button", 7);
|
|
267
|
+
i0.ɵɵlistener("click", function SystemConfigurationComponent_Template_button_click_10_listener() { return ctx.loadData(); });
|
|
268
|
+
i0.ɵɵelement(11, "i", 8);
|
|
269
|
+
i0.ɵɵtext(12, " Refresh ");
|
|
270
|
+
i0.ɵɵelementEnd();
|
|
271
|
+
i0.ɵɵelementStart(13, "button", 9);
|
|
272
|
+
i0.ɵɵelement(14, "i", 10);
|
|
273
|
+
i0.ɵɵtext(15, " New Configuration ");
|
|
274
|
+
i0.ɵɵelementEnd()()();
|
|
275
|
+
i0.ɵɵelementStart(16, "div", 11)(17, "kendo-splitter", 12);
|
|
276
|
+
i0.ɵɵlistener("layoutChange", function SystemConfigurationComponent_Template_kendo_splitter_layoutChange_17_listener($event) { return ctx.onMainSplitterChange($event); });
|
|
277
|
+
i0.ɵɵelementStart(18, "kendo-splitter-pane", 13)(19, "mj-system-config-filter-panel", 14);
|
|
278
|
+
i0.ɵɵlistener("filtersChange", function SystemConfigurationComponent_Template_mj_system_config_filter_panel_filtersChange_19_listener($event) { return ctx.onFiltersChange($event); })("filterChange", function SystemConfigurationComponent_Template_mj_system_config_filter_panel_filterChange_19_listener() { return ctx.onFilterChange(); })("resetFilters", function SystemConfigurationComponent_Template_mj_system_config_filter_panel_resetFilters_19_listener() { return ctx.onResetFilters(); })("closePanel", function SystemConfigurationComponent_Template_mj_system_config_filter_panel_closePanel_19_listener() { return ctx.toggleFilterPanel(); });
|
|
279
|
+
i0.ɵɵelementEnd()();
|
|
280
|
+
i0.ɵɵelementStart(20, "kendo-splitter-pane", 15)(21, "div", 16);
|
|
281
|
+
i0.ɵɵtemplate(22, SystemConfigurationComponent_Conditional_22_Template, 8, 0, "div", 17)(23, SystemConfigurationComponent_Conditional_23_Template, 4, 1, "div", 18)(24, SystemConfigurationComponent_Conditional_24_Template, 2, 1);
|
|
282
|
+
i0.ɵɵelementEnd()()()()();
|
|
283
|
+
} if (rf & 2) {
|
|
284
|
+
i0.ɵɵproperty("rightMargin", 8)("bottomMargin", 8);
|
|
285
|
+
i0.ɵɵadvance(5);
|
|
286
|
+
i0.ɵɵconditional(ctx.filterPanelVisible ? 5 : 6);
|
|
287
|
+
i0.ɵɵadvance(3);
|
|
288
|
+
i0.ɵɵtextInterpolate1("", ctx.filteredConfigurations.length, " configurations");
|
|
289
|
+
i0.ɵɵadvance(10);
|
|
290
|
+
i0.ɵɵproperty("size", ctx.filterPanelVisible ? "320px" : "0px")("collapsible", false)("resizable", ctx.filterPanelVisible)("scrollable", false)("hidden", !ctx.filterPanelVisible);
|
|
291
|
+
i0.ɵɵadvance();
|
|
292
|
+
i0.ɵɵproperty("configurations", ctx.configurations)("filteredConfigurations", ctx.filteredConfigurations)("filters", ctx.currentFilters);
|
|
293
|
+
i0.ɵɵadvance();
|
|
294
|
+
i0.ɵɵproperty("resizable", true)("scrollable", false);
|
|
295
|
+
i0.ɵɵadvance(2);
|
|
296
|
+
i0.ɵɵconditional(ctx.isLoading ? 22 : -1);
|
|
297
|
+
i0.ɵɵadvance();
|
|
298
|
+
i0.ɵɵconditional(ctx.error ? 23 : -1);
|
|
299
|
+
i0.ɵɵadvance();
|
|
300
|
+
i0.ɵɵconditional(!ctx.isLoading && !ctx.error ? 24 : -1);
|
|
301
|
+
} }, dependencies: [i1.SplitterComponent, i1.SplitterPaneComponent, i2.FillContainer, i3.SystemConfigFilterPanelComponent], styles: ["@use \"../../../../../../dist/packages/Angular/Explorer/explorer-core/src/generic/generic-browse-list.component\";\n\n.config-content[_ngcontent-%COMP%] {\n padding: 20px;\n height: 100%;\n overflow-y: auto;\n}\n\n.config-cards-container[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));\n gap: 20px;\n margin-top: 20px;\n}\n\n.config-card[_ngcontent-%COMP%] {\n background: white;\n border: 1px solid #e0e0e0;\n border-radius: 8px;\n padding: 20px;\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);\n transition: box-shadow 0.2s ease;\n position: relative;\n\n &:hover {\n box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);\n }\n}\n\n.config-card-header[_ngcontent-%COMP%] {\n display: flex;\n justify-content: space-between;\n align-items: flex-start;\n margin-bottom: 12px;\n gap: 10px;\n}\n\n.config-name[_ngcontent-%COMP%] {\n font-weight: 600;\n font-size: 16px;\n color: #333;\n margin: 0;\n flex: 1;\n}\n\n.config-badges[_ngcontent-%COMP%] {\n display: flex;\n gap: 8px;\n flex-shrink: 0;\n}\n\n.default-badge[_ngcontent-%COMP%] {\n background: #007bff;\n color: white;\n padding: 2px 8px;\n border-radius: 12px;\n font-size: 11px;\n font-weight: 500;\n text-transform: uppercase;\n}\n\n.status-badge[_ngcontent-%COMP%] {\n padding: 4px 8px;\n border-radius: 4px;\n font-size: 12px;\n font-weight: 500;\n text-transform: uppercase;\n\n &.active {\n background: #d4edda;\n color: #155724;\n border: 1px solid #c3e6cb;\n }\n\n &.inactive {\n background: #f8d7da;\n color: #721c24;\n border: 1px solid #f5c6cb;\n }\n\n &.deprecated {\n background: #fff3cd;\n color: #856404;\n border: 1px solid #ffeaa7;\n }\n\n &.preview {\n background: #e2e3e5;\n color: #383d41;\n border: 1px solid #d6d8db;\n }\n}\n\n.config-description[_ngcontent-%COMP%] {\n color: #666;\n font-size: 14px;\n line-height: 1.5;\n margin: 0;\n margin-bottom: 16px;\n}\n\n.config-meta[_ngcontent-%COMP%] {\n display: flex;\n justify-content: space-between;\n align-items: center;\n font-size: 12px;\n color: #888;\n border-top: 1px solid #f0f0f0;\n padding-top: 12px;\n}\n\n.config-id[_ngcontent-%COMP%] {\n font-family: monospace;\n background: #f8f9fa;\n padding: 2px 6px;\n border-radius: 3px;\n}\n\n.main-splitter[_ngcontent-%COMP%] {\n height: 100%;\n width: 100%;\n \n .k-pane {\n overflow: hidden;\n }\n}\n\n.no-configs-message[_ngcontent-%COMP%] {\n text-align: center;\n color: #666;\n font-style: italic;\n margin-top: 50px;\n font-size: 16px;\n}\n\n.loading-message[_ngcontent-%COMP%] {\n text-align: center;\n color: #666;\n margin-top: 50px;\n font-size: 16px;\n}"] });
|
|
302
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SystemConfigurationComponent, [{
|
|
303
|
+
type: Component,
|
|
304
|
+
args: [{ selector: 'app-system-configuration', template: "<div class=\"system-configuration-container\" mjFillContainer [rightMargin]=\"8\" [bottomMargin]=\"8\">\n <!-- Header -->\n <div class=\"dashboard-header\">\n <div class=\"header-info\">\n <button \n type=\"button\" \n class=\"filter-toggle-btn\"\n (click)=\"toggleFilterPanel()\"\n title=\"Toggle Filters\">\n <i class=\"fa-solid fa-filter\"></i>\n @if (filterPanelVisible) {\n Hide Filters\n } @else {\n Show Filters\n }\n </button>\n <span class=\"config-count\">{{ filteredConfigurations.length }} configurations</span>\n </div>\n \n <div class=\"header-controls\">\n <button \n type=\"button\" \n class=\"control-btn\"\n (click)=\"loadData()\"\n title=\"Refresh\">\n <i class=\"fa-solid fa-refresh\"></i>\n Refresh\n </button>\n <button \n type=\"button\" \n class=\"control-btn\"\n title=\"Create New Configuration\">\n <i class=\"fa-solid fa-plus\"></i>\n New Configuration\n </button>\n </div>\n </div>\n\n <!-- Main Content with Splitter -->\n <div class=\"main-content\">\n <kendo-splitter \n class=\"main-splitter\"\n orientation=\"horizontal\"\n (layoutChange)=\"onMainSplitterChange($event)\"\n mjFillContainer>\n \n <!-- Filter Panel (Left) -->\n <kendo-splitter-pane \n [size]=\"filterPanelVisible ? '320px' : '0px'\"\n [collapsible]=\"false\"\n [resizable]=\"filterPanelVisible\"\n [scrollable]=\"false\"\n [hidden]=\"!filterPanelVisible\">\n <mj-system-config-filter-panel\n [configurations]=\"configurations\"\n [filteredConfigurations]=\"filteredConfigurations\"\n [filters]=\"currentFilters\"\n (filtersChange)=\"onFiltersChange($event)\"\n (filterChange)=\"onFilterChange()\"\n (resetFilters)=\"onResetFilters()\"\n (closePanel)=\"toggleFilterPanel()\">\n </mj-system-config-filter-panel>\n </kendo-splitter-pane>\n \n <!-- Configurations List Panel -->\n <kendo-splitter-pane \n [resizable]=\"true\"\n [scrollable]=\"false\">\n <div class=\"configurations-content\">\n <!-- Loading State -->\n @if (isLoading) {\n <div class=\"loading-container\">\n <div class=\"loading-content\">\n <div class=\"loading-spinner\">\n <div class=\"spinner-ring\"></div>\n <div class=\"spinner-ring\"></div>\n <div class=\"spinner-ring\"></div>\n </div>\n <div class=\"loading-text\">Loading configurations...</div>\n </div>\n </div>\n }\n\n <!-- Error State -->\n @if (error) {\n <div class=\"error-container\">\n <p class=\"error-message\">\n <i class=\"fa-solid fa-exclamation-triangle\"></i>\n {{ error }}\n </p>\n </div>\n }\n\n <!-- Configurations List -->\n @if (!isLoading && !error) {\n @if (filteredConfigurations.length === 0) {\n <div class=\"empty-state\">\n <i class=\"fa-solid fa-cogs\"></i>\n <h3>No configurations found</h3>\n <p>No AI configurations match your current filters. Try adjusting your search criteria or create a new configuration.</p>\n </div>\n } @else {\n <div class=\"configurations-grid\">\n @for (config of filteredConfigurations; track config.ID) {\n <div class=\"config-card\">\n <!-- Card Header -->\n <div class=\"card-header\">\n <div class=\"config-info\">\n <div class=\"config-icon\">\n <i [class]=\"getConfigIcon()\"></i>\n </div>\n <div class=\"config-details\">\n <h4 class=\"config-name\">{{ config.Name }}</h4>\n <div class=\"config-meta\">\n @if (config.IsDefault) {\n <span class=\"default-badge\">\n <i class=\"fa-solid fa-star\"></i>\n Default\n </span>\n }\n </div>\n </div>\n </div>\n \n <div class=\"status-badge status-{{ config.Status.toLowerCase() }}\">\n {{ config.Status }}\n </div>\n </div>\n\n <!-- Card Body -->\n <div class=\"card-body\">\n @if (config.Description) {\n <p class=\"config-description\">{{ config.Description }}</p>\n } @else {\n <p class=\"config-description text-muted\">No description provided</p>\n }\n </div>\n\n <!-- Card Actions -->\n <div class=\"card-actions\" (click)=\"$event.stopPropagation()\">\n <button \n type=\"button\" \n class=\"action-btn\">\n <i class=\"fa-solid fa-eye\"></i>\n View\n </button>\n \n <button \n type=\"button\" \n class=\"action-btn action-btn-primary\">\n <i class=\"fa-solid fa-edit\"></i>\n Configure\n </button>\n \n @if (!config.IsDefault) {\n <button \n type=\"button\" \n class=\"action-btn action-btn-warning\">\n <i class=\"fa-solid fa-star\"></i>\n Set Default\n </button>\n }\n \n <button \n type=\"button\" \n class=\"action-btn action-btn-danger\">\n <i class=\"fa-solid fa-trash\"></i>\n Delete\n </button>\n </div>\n </div>\n }\n </div>\n }\n }\n </div>\n </kendo-splitter-pane>\n </kendo-splitter>\n </div>\n</div>", styles: ["@use \"../../../../../../dist/packages/Angular/Explorer/explorer-core/src/generic/generic-browse-list.component\";\n\n.config-content {\n padding: 20px;\n height: 100%;\n overflow-y: auto;\n}\n\n.config-cards-container {\n display: grid;\n grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));\n gap: 20px;\n margin-top: 20px;\n}\n\n.config-card {\n background: white;\n border: 1px solid #e0e0e0;\n border-radius: 8px;\n padding: 20px;\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);\n transition: box-shadow 0.2s ease;\n position: relative;\n\n &:hover {\n box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);\n }\n}\n\n.config-card-header {\n display: flex;\n justify-content: space-between;\n align-items: flex-start;\n margin-bottom: 12px;\n gap: 10px;\n}\n\n.config-name {\n font-weight: 600;\n font-size: 16px;\n color: #333;\n margin: 0;\n flex: 1;\n}\n\n.config-badges {\n display: flex;\n gap: 8px;\n flex-shrink: 0;\n}\n\n.default-badge {\n background: #007bff;\n color: white;\n padding: 2px 8px;\n border-radius: 12px;\n font-size: 11px;\n font-weight: 500;\n text-transform: uppercase;\n}\n\n.status-badge {\n padding: 4px 8px;\n border-radius: 4px;\n font-size: 12px;\n font-weight: 500;\n text-transform: uppercase;\n\n &.active {\n background: #d4edda;\n color: #155724;\n border: 1px solid #c3e6cb;\n }\n\n &.inactive {\n background: #f8d7da;\n color: #721c24;\n border: 1px solid #f5c6cb;\n }\n\n &.deprecated {\n background: #fff3cd;\n color: #856404;\n border: 1px solid #ffeaa7;\n }\n\n &.preview {\n background: #e2e3e5;\n color: #383d41;\n border: 1px solid #d6d8db;\n }\n}\n\n.config-description {\n color: #666;\n font-size: 14px;\n line-height: 1.5;\n margin: 0;\n margin-bottom: 16px;\n}\n\n.config-meta {\n display: flex;\n justify-content: space-between;\n align-items: center;\n font-size: 12px;\n color: #888;\n border-top: 1px solid #f0f0f0;\n padding-top: 12px;\n}\n\n.config-id {\n font-family: monospace;\n background: #f8f9fa;\n padding: 2px 6px;\n border-radius: 3px;\n}\n\n.main-splitter {\n height: 100%;\n width: 100%;\n \n .k-pane {\n overflow: hidden;\n }\n}\n\n.no-configs-message {\n text-align: center;\n color: #666;\n font-style: italic;\n margin-top: 50px;\n font-size: 16px;\n}\n\n.loading-message {\n text-align: center;\n color: #666;\n margin-top: 50px;\n font-size: 16px;\n}"] }]
|
|
305
|
+
}], null, { openEntityRecord: [{
|
|
306
|
+
type: Output
|
|
307
|
+
}], stateChange: [{
|
|
308
|
+
type: Output
|
|
309
|
+
}] }); })();
|
|
310
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SystemConfigurationComponent, { className: "SystemConfigurationComponent", filePath: "src/AI/components/system/system-configuration.component.ts", lineNumber: 16 }); })();
|
|
311
|
+
//# sourceMappingURL=system-configuration.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"system-configuration.component.js","sourceRoot":"","sources":["../../../../src/AI/components/system/system-configuration.component.ts","../../../../src/AI/components/system/system-configuration.component.html"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,YAAY,EAAU,MAAM,eAAe,CAAC;AACx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AADA,+DAA6C,sBACxB,qCACW,qBACZ,mCACU;QAE5B,cAAiC;QAEjC,AADA,AADA,mDAAiC,sDACgB,+BACvB;QAU5B,cAAkB;QAClB,AADA,gCAAkB,qBACE;QAGlB,eAWC;QAXD,yCAWC;QAGD,cAOC;QAPD,qCAOC;QAGD,cAgFC;QAhFD,wDAgFC;;iFD/JE,4BAA4B;cALxC,SAAS;2BACE,0BAA0B;gBAK1B,gBAAgB;kBAAzB,MAAM;YACG,WAAW;kBAApB,MAAM;;kFAFI,4BAA4B"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { AfterViewInit, OnDestroy } from '@angular/core';
|
|
2
|
+
import { BaseDashboard } from '../generic/base-dashboard';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
interface ActionsManagementState {
|
|
5
|
+
activeTab: string;
|
|
6
|
+
subView: string | null;
|
|
7
|
+
actionsOverviewState: Record<string, unknown>;
|
|
8
|
+
executionMonitoringState: Record<string, unknown>;
|
|
9
|
+
scheduledActionsState: Record<string, unknown>;
|
|
10
|
+
codeManagementState: Record<string, unknown>;
|
|
11
|
+
entityIntegrationState: Record<string, unknown>;
|
|
12
|
+
securityPermissionsState: Record<string, unknown>;
|
|
13
|
+
}
|
|
14
|
+
export declare class ActionsManagementDashboardComponent extends BaseDashboard implements AfterViewInit, OnDestroy {
|
|
15
|
+
isLoading: boolean;
|
|
16
|
+
activeTab: string;
|
|
17
|
+
subView: string | null;
|
|
18
|
+
navigationItems: string[];
|
|
19
|
+
navigationConfig: {
|
|
20
|
+
text: string;
|
|
21
|
+
icon: string;
|
|
22
|
+
}[];
|
|
23
|
+
private stateChangeSubject;
|
|
24
|
+
constructor();
|
|
25
|
+
ngAfterViewInit(): void;
|
|
26
|
+
ngOnDestroy(): void;
|
|
27
|
+
onTabChange(tabId: string): void;
|
|
28
|
+
onNavigationChange(event: Event): void;
|
|
29
|
+
private setupStateManagement;
|
|
30
|
+
private emitStateChange;
|
|
31
|
+
loadUserState(state: Partial<ActionsManagementState>): void;
|
|
32
|
+
onOpenEntityRecord(data: {
|
|
33
|
+
entityName: string;
|
|
34
|
+
recordId: string;
|
|
35
|
+
} | Event): void;
|
|
36
|
+
initDashboard(): void;
|
|
37
|
+
loadData(): void;
|
|
38
|
+
getCurrentTabLabel(): string;
|
|
39
|
+
showSubView(viewName: string): void;
|
|
40
|
+
hideSubView(): void;
|
|
41
|
+
onBackToOverview(): void;
|
|
42
|
+
onShowActionsListView(): void;
|
|
43
|
+
onShowExecutionsListView(): void;
|
|
44
|
+
onShowCategoriesListView(): void;
|
|
45
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ActionsManagementDashboardComponent, never>;
|
|
46
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ActionsManagementDashboardComponent, "mj-actions-management-dashboard", never, {}, {}, never, never, false, never>;
|
|
47
|
+
}
|
|
48
|
+
export declare function LoadActionsManagementDashboard(): void;
|
|
49
|
+
export {};
|
|
50
|
+
//# sourceMappingURL=actions-management-dashboard.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"actions-management-dashboard.component.d.ts","sourceRoot":"","sources":["../../src/Actions/actions-management-dashboard.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,aAAa,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AACpE,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;;AAY1D,UAAU,sBAAsB;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,oBAAoB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC9C,wBAAwB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAClD,qBAAqB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC/C,mBAAmB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC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