@memberjunction/ng-core-entity-forms 5.1.0 → 5.3.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/lib/custom/AIAgents/FlowAgentType/flow-agent-form-section.component.js.map +1 -1
- package/dist/lib/custom/AIAgents/agent-advanced-settings-dialog.component.js +4 -4
- package/dist/lib/custom/AIAgents/agent-advanced-settings-dialog.component.js.map +1 -1
- package/dist/lib/custom/AIAgents/ai-agent-form.component.d.ts +18 -18
- package/dist/lib/custom/AIAgents/ai-agent-form.component.d.ts.map +1 -1
- package/dist/lib/custom/AIAgents/ai-agent-form.component.js +309 -309
- package/dist/lib/custom/AIAgents/ai-agent-form.component.js.map +1 -1
- package/dist/lib/custom/AIAgents/ai-agent-management.service.d.ts +9 -9
- package/dist/lib/custom/AIAgents/ai-agent-management.service.d.ts.map +1 -1
- package/dist/lib/custom/AIAgents/ai-agent-management.service.js.map +1 -1
- package/dist/lib/custom/AIAgents/create-prompt-dialog.component.d.ts +3 -3
- package/dist/lib/custom/AIAgents/create-prompt-dialog.component.d.ts.map +1 -1
- package/dist/lib/custom/AIAgents/create-prompt-dialog.component.js.map +1 -1
- package/dist/lib/custom/AIAgents/create-sub-agent-dialog.component.d.ts +8 -8
- package/dist/lib/custom/AIAgents/create-sub-agent-dialog.component.d.ts.map +1 -1
- package/dist/lib/custom/AIAgents/create-sub-agent-dialog.component.js +1 -1
- package/dist/lib/custom/AIAgents/create-sub-agent-dialog.component.js.map +1 -1
- package/dist/lib/custom/AIAgents/new-agent-dialog.component.d.ts +2 -2
- package/dist/lib/custom/AIAgents/new-agent-dialog.component.d.ts.map +1 -1
- package/dist/lib/custom/AIAgents/new-agent-dialog.component.js.map +1 -1
- package/dist/lib/custom/AIAgents/new-agent-dialog.service.d.ts +2 -2
- package/dist/lib/custom/AIAgents/new-agent-dialog.service.d.ts.map +1 -1
- package/dist/lib/custom/AIAgents/prompt-selector-dialog.component.d.ts +10 -10
- package/dist/lib/custom/AIAgents/prompt-selector-dialog.component.d.ts.map +1 -1
- package/dist/lib/custom/AIAgents/prompt-selector-dialog.component.js.map +1 -1
- package/dist/lib/custom/AIAgents/sub-agent-advanced-settings-dialog.component.d.ts +3 -3
- package/dist/lib/custom/AIAgents/sub-agent-advanced-settings-dialog.component.d.ts.map +1 -1
- package/dist/lib/custom/AIAgents/sub-agent-advanced-settings-dialog.component.js.map +1 -1
- package/dist/lib/custom/AIAgents/sub-agent-selector-dialog.component.d.ts +3 -3
- package/dist/lib/custom/AIAgents/sub-agent-selector-dialog.component.d.ts.map +1 -1
- package/dist/lib/custom/AIAgents/sub-agent-selector-dialog.component.js +1 -1
- package/dist/lib/custom/AIAgents/sub-agent-selector-dialog.component.js.map +1 -1
- package/dist/lib/custom/AIPromptRuns/ai-prompt-run-form.component.d.ts +8 -8
- package/dist/lib/custom/AIPromptRuns/ai-prompt-run-form.component.d.ts.map +1 -1
- package/dist/lib/custom/AIPromptRuns/ai-prompt-run-form.component.js +225 -225
- package/dist/lib/custom/AIPromptRuns/ai-prompt-run-form.component.js.map +1 -1
- package/dist/lib/custom/AIPrompts/ai-prompt-form.component.d.ts +7 -7
- package/dist/lib/custom/AIPrompts/ai-prompt-form.component.d.ts.map +1 -1
- package/dist/lib/custom/AIPrompts/ai-prompt-form.component.js +259 -259
- package/dist/lib/custom/AIPrompts/ai-prompt-form.component.js.map +1 -1
- package/dist/lib/custom/Actions/action-execution-log-form.component.d.ts +3 -3
- package/dist/lib/custom/Actions/action-execution-log-form.component.d.ts.map +1 -1
- package/dist/lib/custom/Actions/action-execution-log-form.component.js +48 -48
- package/dist/lib/custom/Actions/action-execution-log-form.component.js.map +1 -1
- package/dist/lib/custom/Actions/action-form.component.d.ts +4 -4
- package/dist/lib/custom/Actions/action-form.component.d.ts.map +1 -1
- package/dist/lib/custom/Actions/action-form.component.js +164 -164
- package/dist/lib/custom/Actions/action-form.component.js.map +1 -1
- package/dist/lib/custom/Entities/entity-form.component.d.ts +3 -3
- package/dist/lib/custom/Entities/entity-form.component.d.ts.map +1 -1
- package/dist/lib/custom/Entities/entity-form.component.js +299 -299
- package/dist/lib/custom/Entities/entity-form.component.js.map +1 -1
- package/dist/lib/custom/EntityActions/entityaction.form.component.d.ts +3 -3
- package/dist/lib/custom/EntityActions/entityaction.form.component.d.ts.map +1 -1
- package/dist/lib/custom/EntityActions/entityaction.form.component.js +11 -11
- package/dist/lib/custom/EntityActions/entityaction.form.component.js.map +1 -1
- package/dist/lib/custom/Lists/list-form.component.d.ts +8 -8
- package/dist/lib/custom/Lists/list-form.component.d.ts.map +1 -1
- package/dist/lib/custom/Lists/list-form.component.js +163 -163
- package/dist/lib/custom/Lists/list-form.component.js.map +1 -1
- package/dist/lib/custom/Queries/query-form.component.d.ts +3 -3
- package/dist/lib/custom/Queries/query-form.component.d.ts.map +1 -1
- package/dist/lib/custom/Queries/query-form.component.js +175 -184
- package/dist/lib/custom/Queries/query-form.component.js.map +1 -1
- package/dist/lib/custom/Queries/query-run-dialog.component.d.ts +1 -0
- package/dist/lib/custom/Queries/query-run-dialog.component.d.ts.map +1 -1
- package/dist/lib/custom/Queries/query-run-dialog.component.js +3 -1
- package/dist/lib/custom/Queries/query-run-dialog.component.js.map +1 -1
- package/dist/lib/custom/Templates/templates-form.component.d.ts +3 -3
- package/dist/lib/custom/Templates/templates-form.component.d.ts.map +1 -1
- package/dist/lib/custom/Templates/templates-form.component.js +53 -53
- package/dist/lib/custom/Templates/templates-form.component.js.map +1 -1
- package/dist/lib/custom/Tests/test-form.component.d.ts +3 -3
- package/dist/lib/custom/Tests/test-form.component.d.ts.map +1 -1
- package/dist/lib/custom/Tests/test-form.component.js +161 -161
- package/dist/lib/custom/Tests/test-form.component.js.map +1 -1
- package/dist/lib/custom/Tests/test-rubric-form.component.d.ts +3 -3
- package/dist/lib/custom/Tests/test-rubric-form.component.d.ts.map +1 -1
- package/dist/lib/custom/Tests/test-rubric-form.component.js +12 -12
- package/dist/lib/custom/Tests/test-rubric-form.component.js.map +1 -1
- package/dist/lib/custom/Tests/test-run-feedback-form.component.d.ts +3 -3
- package/dist/lib/custom/Tests/test-run-feedback-form.component.d.ts.map +1 -1
- package/dist/lib/custom/Tests/test-run-feedback-form.component.js +14 -14
- package/dist/lib/custom/Tests/test-run-feedback-form.component.js.map +1 -1
- package/dist/lib/custom/Tests/test-run-form.component.d.ts +3 -3
- package/dist/lib/custom/Tests/test-run-form.component.d.ts.map +1 -1
- package/dist/lib/custom/Tests/test-run-form.component.js +140 -140
- package/dist/lib/custom/Tests/test-run-form.component.js.map +1 -1
- package/dist/lib/custom/Tests/test-suite-form.component.d.ts +3 -3
- package/dist/lib/custom/Tests/test-suite-form.component.d.ts.map +1 -1
- package/dist/lib/custom/Tests/test-suite-form.component.js +243 -243
- package/dist/lib/custom/Tests/test-suite-form.component.js.map +1 -1
- package/dist/lib/custom/Tests/test-suite-run-form.component.d.ts +3 -3
- package/dist/lib/custom/Tests/test-suite-run-form.component.d.ts.map +1 -1
- package/dist/lib/custom/Tests/test-suite-run-form.component.js +213 -213
- package/dist/lib/custom/Tests/test-suite-run-form.component.js.map +1 -1
- package/dist/lib/custom/ai-agent-run/ai-agent-run.component.d.ts +6 -6
- package/dist/lib/custom/ai-agent-run/ai-agent-run.component.d.ts.map +1 -1
- package/dist/lib/custom/ai-agent-run/ai-agent-run.component.js +148 -148
- package/dist/lib/custom/ai-agent-run/ai-agent-run.component.js.map +1 -1
- package/dist/lib/custom/custom-forms.module.d.ts +1 -1
- package/dist/lib/custom/custom-forms.module.js +85 -85
- package/dist/lib/custom/custom-forms.module.js.map +1 -1
- package/dist/lib/generated/Entities/MJOpenApp/mjopenapp.form.component.js +3 -3
- package/dist/lib/generated/Entities/MJOpenApp/mjopenapp.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJRole/mjrole.form.component.js +5 -5
- package/dist/lib/generated/Entities/MJRole/mjrole.form.component.js.map +1 -1
- package/package.json +30 -30
|
@@ -31,16 +31,16 @@ const _c5 = () => ({ text: "Custom", value: "Custom" });
|
|
|
31
31
|
const _c6 = (a0, a1) => [a0, a1];
|
|
32
32
|
const _c7 = () => [];
|
|
33
33
|
const _forTrack0 = ($index, $item) => $item.ID;
|
|
34
|
-
function
|
|
34
|
+
function MJActionFormComponentExtended_Conditional_1_Conditional_9_Template(rf, ctx) { if (rf & 1) {
|
|
35
35
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
36
36
|
i0.ɵɵelementStart(0, "kendo-textbox", 33);
|
|
37
|
-
i0.ɵɵtwoWayListener("ngModelChange", function
|
|
37
|
+
i0.ɵɵtwoWayListener("ngModelChange", function MJActionFormComponentExtended_Conditional_1_Conditional_9_Template_kendo_textbox_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(2); i0.ɵɵtwoWayBindingSet(ctx_r1.record.Name, $event) || (ctx_r1.record.Name = $event); return i0.ɵɵresetView($event); });
|
|
38
38
|
i0.ɵɵelementEnd();
|
|
39
39
|
} if (rf & 2) {
|
|
40
40
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
41
41
|
i0.ɵɵtwoWayProperty("ngModel", ctx_r1.record.Name);
|
|
42
42
|
} }
|
|
43
|
-
function
|
|
43
|
+
function MJActionFormComponentExtended_Conditional_1_Conditional_10_Template(rf, ctx) { if (rf & 1) {
|
|
44
44
|
i0.ɵɵelementStart(0, "h4", 34);
|
|
45
45
|
i0.ɵɵtext(1);
|
|
46
46
|
i0.ɵɵelementEnd();
|
|
@@ -56,13 +56,13 @@ function ActionFormComponentExtended_Conditional_1_Conditional_10_Template(rf, c
|
|
|
56
56
|
i0.ɵɵadvance();
|
|
57
57
|
i0.ɵɵtextInterpolate1(" ", ctx_r1.record.Status, " ");
|
|
58
58
|
} }
|
|
59
|
-
function
|
|
59
|
+
function MJActionFormComponentExtended_Conditional_1_Conditional_11_Template(rf, ctx) { if (rf & 1) {
|
|
60
60
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
61
61
|
i0.ɵɵelementStart(0, "div", 12)(1, "div")(2, "label", 36);
|
|
62
62
|
i0.ɵɵtext(3, "Status");
|
|
63
63
|
i0.ɵɵelementEnd();
|
|
64
64
|
i0.ɵɵelementStart(4, "kendo-dropdownlist", 37);
|
|
65
|
-
i0.ɵɵtwoWayListener("ngModelChange", function
|
|
65
|
+
i0.ɵɵtwoWayListener("ngModelChange", function MJActionFormComponentExtended_Conditional_1_Conditional_11_Template_kendo_dropdownlist_ngModelChange_4_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); i0.ɵɵtwoWayBindingSet(ctx_r1.record.Status, $event) || (ctx_r1.record.Status = $event); return i0.ɵɵresetView($event); });
|
|
66
66
|
i0.ɵɵelementEnd()();
|
|
67
67
|
i0.ɵɵelementStart(5, "div")(6, "label", 36);
|
|
68
68
|
i0.ɵɵtext(7, " Type ");
|
|
@@ -70,7 +70,7 @@ function ActionFormComponentExtended_Conditional_1_Conditional_11_Template(rf, c
|
|
|
70
70
|
i0.ɵɵtext(9, "*");
|
|
71
71
|
i0.ɵɵelementEnd()();
|
|
72
72
|
i0.ɵɵelementStart(10, "kendo-dropdownlist", 39);
|
|
73
|
-
i0.ɵɵtwoWayListener("ngModelChange", function
|
|
73
|
+
i0.ɵɵtwoWayListener("ngModelChange", function MJActionFormComponentExtended_Conditional_1_Conditional_11_Template_kendo_dropdownlist_ngModelChange_10_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); i0.ɵɵtwoWayBindingSet(ctx_r1.record.Type, $event) || (ctx_r1.record.Type = $event); return i0.ɵɵresetView($event); });
|
|
74
74
|
i0.ɵɵelementEnd()();
|
|
75
75
|
i0.ɵɵelementStart(11, "div")(12, "label", 36);
|
|
76
76
|
i0.ɵɵtext(13, " Category ");
|
|
@@ -78,7 +78,7 @@ function ActionFormComponentExtended_Conditional_1_Conditional_11_Template(rf, c
|
|
|
78
78
|
i0.ɵɵtext(15, "*");
|
|
79
79
|
i0.ɵɵelementEnd()();
|
|
80
80
|
i0.ɵɵelementStart(16, "kendo-dropdownlist", 40);
|
|
81
|
-
i0.ɵɵtwoWayListener("ngModelChange", function
|
|
81
|
+
i0.ɵɵtwoWayListener("ngModelChange", function MJActionFormComponentExtended_Conditional_1_Conditional_11_Template_kendo_dropdownlist_ngModelChange_16_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); i0.ɵɵtwoWayBindingSet(ctx_r1.record.CategoryID, $event) || (ctx_r1.record.CategoryID = $event); return i0.ɵɵresetView($event); });
|
|
82
82
|
i0.ɵɵelementEnd()()();
|
|
83
83
|
} if (rf & 2) {
|
|
84
84
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
@@ -92,17 +92,17 @@ function ActionFormComponentExtended_Conditional_1_Conditional_11_Template(rf, c
|
|
|
92
92
|
i0.ɵɵtwoWayProperty("ngModel", ctx_r1.record.CategoryID);
|
|
93
93
|
i0.ɵɵproperty("data", i0.ɵɵpureFunction0(20, _c7));
|
|
94
94
|
} }
|
|
95
|
-
function
|
|
95
|
+
function MJActionFormComponentExtended_Conditional_1_Conditional_12_Template(rf, ctx) { if (rf & 1) {
|
|
96
96
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
97
97
|
i0.ɵɵelementStart(0, "kendo-textarea", 41);
|
|
98
|
-
i0.ɵɵtwoWayListener("ngModelChange", function
|
|
98
|
+
i0.ɵɵtwoWayListener("ngModelChange", function MJActionFormComponentExtended_Conditional_1_Conditional_12_Template_kendo_textarea_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(2); i0.ɵɵtwoWayBindingSet(ctx_r1.record.Description, $event) || (ctx_r1.record.Description = $event); return i0.ɵɵresetView($event); });
|
|
99
99
|
i0.ɵɵelementEnd();
|
|
100
100
|
} if (rf & 2) {
|
|
101
101
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
102
102
|
i0.ɵɵtwoWayProperty("ngModel", ctx_r1.record.Description);
|
|
103
103
|
i0.ɵɵproperty("rows", 2);
|
|
104
104
|
} }
|
|
105
|
-
function
|
|
105
|
+
function MJActionFormComponentExtended_Conditional_1_Conditional_13_Template(rf, ctx) { if (rf & 1) {
|
|
106
106
|
i0.ɵɵelementStart(0, "p", 14);
|
|
107
107
|
i0.ɵɵtext(1);
|
|
108
108
|
i0.ɵɵelementEnd();
|
|
@@ -111,7 +111,7 @@ function ActionFormComponentExtended_Conditional_1_Conditional_13_Template(rf, c
|
|
|
111
111
|
i0.ɵɵadvance();
|
|
112
112
|
i0.ɵɵtextInterpolate(ctx_r1.record.Description);
|
|
113
113
|
} }
|
|
114
|
-
function
|
|
114
|
+
function MJActionFormComponentExtended_Conditional_1_Conditional_15_Template(rf, ctx) { if (rf & 1) {
|
|
115
115
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
116
116
|
i0.ɵɵelementStart(0, "div", 16);
|
|
117
117
|
i0.ɵɵelement(1, "i", 42);
|
|
@@ -119,7 +119,7 @@ function ActionFormComponentExtended_Conditional_1_Conditional_15_Template(rf, c
|
|
|
119
119
|
i0.ɵɵtext(3, "Category:");
|
|
120
120
|
i0.ɵɵelementEnd();
|
|
121
121
|
i0.ɵɵelementStart(4, "span", 43);
|
|
122
|
-
i0.ɵɵlistener("click", function
|
|
122
|
+
i0.ɵɵlistener("click", function MJActionFormComponentExtended_Conditional_1_Conditional_15_Template_span_click_4_listener() { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.navigateToCategory()); });
|
|
123
123
|
i0.ɵɵtext(5);
|
|
124
124
|
i0.ɵɵelement(6, "i", 44);
|
|
125
125
|
i0.ɵɵelementEnd()();
|
|
@@ -128,7 +128,7 @@ function ActionFormComponentExtended_Conditional_1_Conditional_15_Template(rf, c
|
|
|
128
128
|
i0.ɵɵadvance(5);
|
|
129
129
|
i0.ɵɵtextInterpolate1(" ", ctx_r1.category.Name, " ");
|
|
130
130
|
} }
|
|
131
|
-
function
|
|
131
|
+
function MJActionFormComponentExtended_Conditional_1_Conditional_22_Template(rf, ctx) { if (rf & 1) {
|
|
132
132
|
i0.ɵɵelementStart(0, "div", 16);
|
|
133
133
|
i0.ɵɵelement(1, "i");
|
|
134
134
|
i0.ɵɵelementStart(2, "span", 18);
|
|
@@ -147,7 +147,7 @@ function ActionFormComponentExtended_Conditional_1_Conditional_22_Template(rf, c
|
|
|
147
147
|
i0.ɵɵadvance();
|
|
148
148
|
i0.ɵɵtextInterpolate(ctx_r1.record.CodeApprovalStatus);
|
|
149
149
|
} }
|
|
150
|
-
function
|
|
150
|
+
function MJActionFormComponentExtended_Conditional_1_Conditional_23_Template(rf, ctx) { if (rf & 1) {
|
|
151
151
|
i0.ɵɵelementStart(0, "div", 16);
|
|
152
152
|
i0.ɵɵelement(1, "i", 46);
|
|
153
153
|
i0.ɵɵelementStart(2, "span", 19);
|
|
@@ -158,10 +158,10 @@ function ActionFormComponentExtended_Conditional_1_Conditional_23_Template(rf, c
|
|
|
158
158
|
i0.ɵɵadvance(3);
|
|
159
159
|
i0.ɵɵtextInterpolate1("", ctx_r1.actionParams.length, " Parameters");
|
|
160
160
|
} }
|
|
161
|
-
function
|
|
161
|
+
function MJActionFormComponentExtended_Conditional_1_Conditional_26_Template(rf, ctx) { if (rf & 1) {
|
|
162
162
|
const _r6 = i0.ɵɵgetCurrentView();
|
|
163
163
|
i0.ɵɵelementStart(0, "button", 47);
|
|
164
|
-
i0.ɵɵlistener("click", function
|
|
164
|
+
i0.ɵɵlistener("click", function MJActionFormComponentExtended_Conditional_1_Conditional_26_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.openTestHarness()); });
|
|
165
165
|
i0.ɵɵelement(1, "i", 48);
|
|
166
166
|
i0.ɵɵtext(2, " Run ");
|
|
167
167
|
i0.ɵɵelementEnd();
|
|
@@ -169,33 +169,33 @@ function ActionFormComponentExtended_Conditional_1_Conditional_26_Template(rf, c
|
|
|
169
169
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
170
170
|
i0.ɵɵproperty("disabled", ctx_r1.record.Status !== "Active");
|
|
171
171
|
} }
|
|
172
|
-
function
|
|
172
|
+
function MJActionFormComponentExtended_Conditional_1_Conditional_27_Template(rf, ctx) { if (rf & 1) {
|
|
173
173
|
const _r7 = i0.ɵɵgetCurrentView();
|
|
174
174
|
i0.ɵɵelementStart(0, "button", 49);
|
|
175
|
-
i0.ɵɵlistener("click", function
|
|
175
|
+
i0.ɵɵlistener("click", function MJActionFormComponentExtended_Conditional_1_Conditional_27_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r7); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.regenerateCode()); });
|
|
176
176
|
i0.ɵɵelement(1, "i", 50);
|
|
177
177
|
i0.ɵɵtext(2, " Regenerate ");
|
|
178
178
|
i0.ɵɵelementEnd();
|
|
179
179
|
} }
|
|
180
|
-
function
|
|
180
|
+
function MJActionFormComponentExtended_Conditional_1_Conditional_28_Template(rf, ctx) { if (rf & 1) {
|
|
181
181
|
const _r8 = i0.ɵɵgetCurrentView();
|
|
182
182
|
i0.ɵɵelementStart(0, "div", 21)(1, "button", 51);
|
|
183
|
-
i0.ɵɵlistener("click", function
|
|
183
|
+
i0.ɵɵlistener("click", function MJActionFormComponentExtended_Conditional_1_Conditional_28_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.approveCode()); });
|
|
184
184
|
i0.ɵɵelement(2, "i", 52);
|
|
185
185
|
i0.ɵɵtext(3, " Approve ");
|
|
186
186
|
i0.ɵɵelementEnd();
|
|
187
187
|
i0.ɵɵelementStart(4, "button", 53);
|
|
188
|
-
i0.ɵɵlistener("click", function
|
|
188
|
+
i0.ɵɵlistener("click", function MJActionFormComponentExtended_Conditional_1_Conditional_28_Template_button_click_4_listener() { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.rejectCode()); });
|
|
189
189
|
i0.ɵɵelement(5, "i", 54);
|
|
190
190
|
i0.ɵɵtext(6, " Reject ");
|
|
191
191
|
i0.ɵɵelementEnd()();
|
|
192
192
|
} }
|
|
193
|
-
function
|
|
193
|
+
function MJActionFormComponentExtended_Conditional_1_Conditional_29_Template(rf, ctx) { if (rf & 1) {
|
|
194
194
|
i0.ɵɵelementStart(0, "div", 24);
|
|
195
195
|
i0.ɵɵtext(1, " Action must be Active to execute ");
|
|
196
196
|
i0.ɵɵelementEnd();
|
|
197
197
|
} }
|
|
198
|
-
function
|
|
198
|
+
function MJActionFormComponentExtended_Conditional_1_ng_template_32_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
199
199
|
i0.ɵɵelementStart(0, "span", 56);
|
|
200
200
|
i0.ɵɵtext(1);
|
|
201
201
|
i0.ɵɵelementEnd();
|
|
@@ -204,78 +204,78 @@ function ActionFormComponentExtended_Conditional_1_ng_template_32_Conditional_3_
|
|
|
204
204
|
i0.ɵɵadvance();
|
|
205
205
|
i0.ɵɵtextInterpolate1(" ", ctx_r1.actionParams.length, " ");
|
|
206
206
|
} }
|
|
207
|
-
function
|
|
207
|
+
function MJActionFormComponentExtended_Conditional_1_ng_template_32_Template(rf, ctx) { if (rf & 1) {
|
|
208
208
|
i0.ɵɵelementStart(0, "span", 55);
|
|
209
209
|
i0.ɵɵelement(1, "i", 46);
|
|
210
210
|
i0.ɵɵtext(2, " Parameters ");
|
|
211
|
-
i0.ɵɵconditionalCreate(3,
|
|
211
|
+
i0.ɵɵconditionalCreate(3, MJActionFormComponentExtended_Conditional_1_ng_template_32_Conditional_3_Template, 2, 1, "span", 56);
|
|
212
212
|
i0.ɵɵelementEnd();
|
|
213
213
|
} if (rf & 2) {
|
|
214
214
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
215
215
|
i0.ɵɵadvance(3);
|
|
216
216
|
i0.ɵɵconditional(ctx_r1.actionParams.length > 0 ? 3 : -1);
|
|
217
217
|
} }
|
|
218
|
-
function
|
|
218
|
+
function MJActionFormComponentExtended_Conditional_1_Conditional_34_Template(rf, ctx) { if (rf & 1) {
|
|
219
219
|
i0.ɵɵelementStart(0, "div", 29);
|
|
220
220
|
i0.ɵɵelement(1, "i", 57);
|
|
221
221
|
i0.ɵɵtext(2, " Loading parameters... ");
|
|
222
222
|
i0.ɵɵelementEnd();
|
|
223
223
|
} }
|
|
224
|
-
function
|
|
224
|
+
function MJActionFormComponentExtended_Conditional_1_Conditional_35_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
225
225
|
i0.ɵɵelementStart(0, "p", 60);
|
|
226
226
|
i0.ɵɵtext(1, "Add parameters to define inputs and outputs for this action");
|
|
227
227
|
i0.ɵɵelementEnd();
|
|
228
228
|
} }
|
|
229
|
-
function
|
|
229
|
+
function MJActionFormComponentExtended_Conditional_1_Conditional_35_Template(rf, ctx) { if (rf & 1) {
|
|
230
230
|
i0.ɵɵelementStart(0, "div", 30);
|
|
231
231
|
i0.ɵɵelement(1, "i", 58);
|
|
232
232
|
i0.ɵɵelementStart(2, "p", 59);
|
|
233
233
|
i0.ɵɵtext(3, "No parameters defined");
|
|
234
234
|
i0.ɵɵelementEnd();
|
|
235
|
-
i0.ɵɵconditionalCreate(4,
|
|
235
|
+
i0.ɵɵconditionalCreate(4, MJActionFormComponentExtended_Conditional_1_Conditional_35_Conditional_4_Template, 2, 0, "p", 60);
|
|
236
236
|
i0.ɵɵelementEnd();
|
|
237
237
|
} if (rf & 2) {
|
|
238
238
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
239
239
|
i0.ɵɵadvance(4);
|
|
240
240
|
i0.ɵɵconditional(ctx_r1.EditMode && ctx_r1.record.IsSaved ? 4 : -1);
|
|
241
241
|
} }
|
|
242
|
-
function
|
|
242
|
+
function MJActionFormComponentExtended_Conditional_1_Conditional_36_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
243
243
|
const _r9 = i0.ɵɵgetCurrentView();
|
|
244
244
|
i0.ɵɵelementStart(0, "button", 69);
|
|
245
|
-
i0.ɵɵlistener("click", function
|
|
245
|
+
i0.ɵɵlistener("click", function MJActionFormComponentExtended_Conditional_1_Conditional_36_Conditional_5_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r9); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.addParameter("Input")); });
|
|
246
246
|
i0.ɵɵelement(1, "i", 70);
|
|
247
247
|
i0.ɵɵtext(2, " Add Input ");
|
|
248
248
|
i0.ɵɵelementEnd();
|
|
249
249
|
} }
|
|
250
|
-
function
|
|
250
|
+
function MJActionFormComponentExtended_Conditional_1_Conditional_36_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
251
251
|
i0.ɵɵelementStart(0, "div", 30);
|
|
252
252
|
i0.ɵɵelement(1, "i", 71);
|
|
253
253
|
i0.ɵɵelementStart(2, "p", 59);
|
|
254
254
|
i0.ɵɵtext(3, "No input parameters defined");
|
|
255
255
|
i0.ɵɵelementEnd()();
|
|
256
256
|
} }
|
|
257
|
-
function
|
|
257
|
+
function MJActionFormComponentExtended_Conditional_1_Conditional_36_Conditional_7_For_2_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
258
258
|
i0.ɵɵelementStart(0, "span", 77);
|
|
259
259
|
i0.ɵɵtext(1, "Required");
|
|
260
260
|
i0.ɵɵelementEnd();
|
|
261
261
|
} }
|
|
262
|
-
function
|
|
262
|
+
function MJActionFormComponentExtended_Conditional_1_Conditional_36_Conditional_7_For_2_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
263
263
|
i0.ɵɵelementStart(0, "span", 78);
|
|
264
264
|
i0.ɵɵtext(1, "Array");
|
|
265
265
|
i0.ɵɵelementEnd();
|
|
266
266
|
} }
|
|
267
|
-
function
|
|
267
|
+
function MJActionFormComponentExtended_Conditional_1_Conditional_36_Conditional_7_For_2_Conditional_7_Template(rf, ctx) { if (rf & 1) {
|
|
268
268
|
const _r12 = i0.ɵɵgetCurrentView();
|
|
269
269
|
i0.ɵɵelementStart(0, "button", 83);
|
|
270
|
-
i0.ɵɵlistener("click", function
|
|
270
|
+
i0.ɵɵlistener("click", function MJActionFormComponentExtended_Conditional_1_Conditional_36_Conditional_7_For_2_Conditional_7_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r12); const param_r11 = i0.ɵɵnextContext().$implicit; const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.editParameter(param_r11)); });
|
|
271
271
|
i0.ɵɵelement(1, "i", 84);
|
|
272
272
|
i0.ɵɵelementEnd();
|
|
273
273
|
i0.ɵɵelementStart(2, "button", 85);
|
|
274
|
-
i0.ɵɵlistener("click", function
|
|
274
|
+
i0.ɵɵlistener("click", function MJActionFormComponentExtended_Conditional_1_Conditional_36_Conditional_7_For_2_Conditional_7_Template_button_click_2_listener() { i0.ɵɵrestoreView(_r12); const param_r11 = i0.ɵɵnextContext().$implicit; const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.deleteParameter(param_r11)); });
|
|
275
275
|
i0.ɵɵelement(3, "i", 86);
|
|
276
276
|
i0.ɵɵelementEnd();
|
|
277
277
|
} }
|
|
278
|
-
function
|
|
278
|
+
function MJActionFormComponentExtended_Conditional_1_Conditional_36_Conditional_7_For_2_Conditional_11_Template(rf, ctx) { if (rf & 1) {
|
|
279
279
|
i0.ɵɵelementStart(0, "div", 81);
|
|
280
280
|
i0.ɵɵtext(1);
|
|
281
281
|
i0.ɵɵelementEnd();
|
|
@@ -284,7 +284,7 @@ function ActionFormComponentExtended_Conditional_1_Conditional_36_Conditional_7_
|
|
|
284
284
|
i0.ɵɵadvance();
|
|
285
285
|
i0.ɵɵtextInterpolate(param_r11.Description);
|
|
286
286
|
} }
|
|
287
|
-
function
|
|
287
|
+
function MJActionFormComponentExtended_Conditional_1_Conditional_36_Conditional_7_For_2_Conditional_12_Template(rf, ctx) { if (rf & 1) {
|
|
288
288
|
i0.ɵɵelementStart(0, "div", 82)(1, "span", 87);
|
|
289
289
|
i0.ɵɵtext(2, "Default:");
|
|
290
290
|
i0.ɵɵelementEnd();
|
|
@@ -296,23 +296,23 @@ function ActionFormComponentExtended_Conditional_1_Conditional_36_Conditional_7_
|
|
|
296
296
|
i0.ɵɵadvance(4);
|
|
297
297
|
i0.ɵɵtextInterpolate(param_r11.DefaultValue);
|
|
298
298
|
} }
|
|
299
|
-
function
|
|
299
|
+
function MJActionFormComponentExtended_Conditional_1_Conditional_36_Conditional_7_For_2_Template(rf, ctx) { if (rf & 1) {
|
|
300
300
|
const _r10 = i0.ɵɵgetCurrentView();
|
|
301
301
|
i0.ɵɵelementStart(0, "div", 73);
|
|
302
|
-
i0.ɵɵlistener("click", function
|
|
302
|
+
i0.ɵɵlistener("click", function MJActionFormComponentExtended_Conditional_1_Conditional_36_Conditional_7_For_2_Template_div_click_0_listener($event) { const param_r11 = i0.ɵɵrestoreView(_r10).$implicit; const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.onParamClick(param_r11, $event)); });
|
|
303
303
|
i0.ɵɵelementStart(1, "div", 74)(2, "span", 75);
|
|
304
304
|
i0.ɵɵtext(3);
|
|
305
305
|
i0.ɵɵelementEnd();
|
|
306
306
|
i0.ɵɵelementStart(4, "div", 76);
|
|
307
|
-
i0.ɵɵconditionalCreate(5,
|
|
308
|
-
i0.ɵɵconditionalCreate(6,
|
|
309
|
-
i0.ɵɵconditionalCreate(7,
|
|
307
|
+
i0.ɵɵconditionalCreate(5, MJActionFormComponentExtended_Conditional_1_Conditional_36_Conditional_7_For_2_Conditional_5_Template, 2, 0, "span", 77);
|
|
308
|
+
i0.ɵɵconditionalCreate(6, MJActionFormComponentExtended_Conditional_1_Conditional_36_Conditional_7_For_2_Conditional_6_Template, 2, 0, "span", 78);
|
|
309
|
+
i0.ɵɵconditionalCreate(7, MJActionFormComponentExtended_Conditional_1_Conditional_36_Conditional_7_For_2_Conditional_7_Template, 4, 0);
|
|
310
310
|
i0.ɵɵelementEnd()();
|
|
311
311
|
i0.ɵɵelementStart(8, "div", 79)(9, "div", 80);
|
|
312
312
|
i0.ɵɵtext(10);
|
|
313
313
|
i0.ɵɵelementEnd();
|
|
314
|
-
i0.ɵɵconditionalCreate(11,
|
|
315
|
-
i0.ɵɵconditionalCreate(12,
|
|
314
|
+
i0.ɵɵconditionalCreate(11, MJActionFormComponentExtended_Conditional_1_Conditional_36_Conditional_7_For_2_Conditional_11_Template, 2, 1, "div", 81);
|
|
315
|
+
i0.ɵɵconditionalCreate(12, MJActionFormComponentExtended_Conditional_1_Conditional_36_Conditional_7_For_2_Conditional_12_Template, 5, 1, "div", 82);
|
|
316
316
|
i0.ɵɵelementEnd()();
|
|
317
317
|
} if (rf & 2) {
|
|
318
318
|
const param_r11 = ctx.$implicit;
|
|
@@ -333,47 +333,47 @@ function ActionFormComponentExtended_Conditional_1_Conditional_36_Conditional_7_
|
|
|
333
333
|
i0.ɵɵadvance();
|
|
334
334
|
i0.ɵɵconditional(param_r11.DefaultValue ? 12 : -1);
|
|
335
335
|
} }
|
|
336
|
-
function
|
|
336
|
+
function MJActionFormComponentExtended_Conditional_1_Conditional_36_Conditional_7_Template(rf, ctx) { if (rf & 1) {
|
|
337
337
|
i0.ɵɵelementStart(0, "div", 65);
|
|
338
|
-
i0.ɵɵrepeaterCreate(1,
|
|
338
|
+
i0.ɵɵrepeaterCreate(1, MJActionFormComponentExtended_Conditional_1_Conditional_36_Conditional_7_For_2_Template, 13, 11, "div", 72, _forTrack0);
|
|
339
339
|
i0.ɵɵelementEnd();
|
|
340
340
|
} if (rf & 2) {
|
|
341
341
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
342
342
|
i0.ɵɵadvance();
|
|
343
343
|
i0.ɵɵrepeater(ctx_r1.getInputParams());
|
|
344
344
|
} }
|
|
345
|
-
function
|
|
345
|
+
function MJActionFormComponentExtended_Conditional_1_Conditional_36_Conditional_13_Template(rf, ctx) { if (rf & 1) {
|
|
346
346
|
const _r13 = i0.ɵɵgetCurrentView();
|
|
347
347
|
i0.ɵɵelementStart(0, "button", 69);
|
|
348
|
-
i0.ɵɵlistener("click", function
|
|
348
|
+
i0.ɵɵlistener("click", function MJActionFormComponentExtended_Conditional_1_Conditional_36_Conditional_13_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r13); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.addParameter("Output")); });
|
|
349
349
|
i0.ɵɵelement(1, "i", 70);
|
|
350
350
|
i0.ɵɵtext(2, " Add Output ");
|
|
351
351
|
i0.ɵɵelementEnd();
|
|
352
352
|
} }
|
|
353
|
-
function
|
|
353
|
+
function MJActionFormComponentExtended_Conditional_1_Conditional_36_Conditional_14_Template(rf, ctx) { if (rf & 1) {
|
|
354
354
|
i0.ɵɵelementStart(0, "div", 68);
|
|
355
355
|
i0.ɵɵelement(1, "i", 71);
|
|
356
356
|
i0.ɵɵelementStart(2, "p", 59);
|
|
357
357
|
i0.ɵɵtext(3, "No output parameters defined");
|
|
358
358
|
i0.ɵɵelementEnd()();
|
|
359
359
|
} }
|
|
360
|
-
function
|
|
360
|
+
function MJActionFormComponentExtended_Conditional_1_Conditional_36_Conditional_15_For_2_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
361
361
|
i0.ɵɵelementStart(0, "span", 78);
|
|
362
362
|
i0.ɵɵtext(1, "Array");
|
|
363
363
|
i0.ɵɵelementEnd();
|
|
364
364
|
} }
|
|
365
|
-
function
|
|
365
|
+
function MJActionFormComponentExtended_Conditional_1_Conditional_36_Conditional_15_For_2_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
366
366
|
const _r16 = i0.ɵɵgetCurrentView();
|
|
367
367
|
i0.ɵɵelementStart(0, "button", 83);
|
|
368
|
-
i0.ɵɵlistener("click", function
|
|
368
|
+
i0.ɵɵlistener("click", function MJActionFormComponentExtended_Conditional_1_Conditional_36_Conditional_15_For_2_Conditional_6_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r16); const param_r15 = i0.ɵɵnextContext().$implicit; const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.editParameter(param_r15)); });
|
|
369
369
|
i0.ɵɵelement(1, "i", 84);
|
|
370
370
|
i0.ɵɵelementEnd();
|
|
371
371
|
i0.ɵɵelementStart(2, "button", 85);
|
|
372
|
-
i0.ɵɵlistener("click", function
|
|
372
|
+
i0.ɵɵlistener("click", function MJActionFormComponentExtended_Conditional_1_Conditional_36_Conditional_15_For_2_Conditional_6_Template_button_click_2_listener() { i0.ɵɵrestoreView(_r16); const param_r15 = i0.ɵɵnextContext().$implicit; const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.deleteParameter(param_r15)); });
|
|
373
373
|
i0.ɵɵelement(3, "i", 86);
|
|
374
374
|
i0.ɵɵelementEnd();
|
|
375
375
|
} }
|
|
376
|
-
function
|
|
376
|
+
function MJActionFormComponentExtended_Conditional_1_Conditional_36_Conditional_15_For_2_Conditional_10_Template(rf, ctx) { if (rf & 1) {
|
|
377
377
|
i0.ɵɵelementStart(0, "div", 81);
|
|
378
378
|
i0.ɵɵtext(1);
|
|
379
379
|
i0.ɵɵelementEnd();
|
|
@@ -382,7 +382,7 @@ function ActionFormComponentExtended_Conditional_1_Conditional_36_Conditional_15
|
|
|
382
382
|
i0.ɵɵadvance();
|
|
383
383
|
i0.ɵɵtextInterpolate(param_r15.Description);
|
|
384
384
|
} }
|
|
385
|
-
function
|
|
385
|
+
function MJActionFormComponentExtended_Conditional_1_Conditional_36_Conditional_15_For_2_Conditional_11_Template(rf, ctx) { if (rf & 1) {
|
|
386
386
|
i0.ɵɵelementStart(0, "div", 82)(1, "span", 87);
|
|
387
387
|
i0.ɵɵtext(2, "Default:");
|
|
388
388
|
i0.ɵɵelementEnd();
|
|
@@ -394,22 +394,22 @@ function ActionFormComponentExtended_Conditional_1_Conditional_36_Conditional_15
|
|
|
394
394
|
i0.ɵɵadvance(4);
|
|
395
395
|
i0.ɵɵtextInterpolate(param_r15.DefaultValue);
|
|
396
396
|
} }
|
|
397
|
-
function
|
|
397
|
+
function MJActionFormComponentExtended_Conditional_1_Conditional_36_Conditional_15_For_2_Template(rf, ctx) { if (rf & 1) {
|
|
398
398
|
const _r14 = i0.ɵɵgetCurrentView();
|
|
399
399
|
i0.ɵɵelementStart(0, "div", 73);
|
|
400
|
-
i0.ɵɵlistener("click", function
|
|
400
|
+
i0.ɵɵlistener("click", function MJActionFormComponentExtended_Conditional_1_Conditional_36_Conditional_15_For_2_Template_div_click_0_listener($event) { const param_r15 = i0.ɵɵrestoreView(_r14).$implicit; const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.onParamClick(param_r15, $event)); });
|
|
401
401
|
i0.ɵɵelementStart(1, "div", 74)(2, "span", 75);
|
|
402
402
|
i0.ɵɵtext(3);
|
|
403
403
|
i0.ɵɵelementEnd();
|
|
404
404
|
i0.ɵɵelementStart(4, "div", 76);
|
|
405
|
-
i0.ɵɵconditionalCreate(5,
|
|
406
|
-
i0.ɵɵconditionalCreate(6,
|
|
405
|
+
i0.ɵɵconditionalCreate(5, MJActionFormComponentExtended_Conditional_1_Conditional_36_Conditional_15_For_2_Conditional_5_Template, 2, 0, "span", 78);
|
|
406
|
+
i0.ɵɵconditionalCreate(6, MJActionFormComponentExtended_Conditional_1_Conditional_36_Conditional_15_For_2_Conditional_6_Template, 4, 0);
|
|
407
407
|
i0.ɵɵelementEnd()();
|
|
408
408
|
i0.ɵɵelementStart(7, "div", 79)(8, "div", 80);
|
|
409
409
|
i0.ɵɵtext(9);
|
|
410
410
|
i0.ɵɵelementEnd();
|
|
411
|
-
i0.ɵɵconditionalCreate(10,
|
|
412
|
-
i0.ɵɵconditionalCreate(11,
|
|
411
|
+
i0.ɵɵconditionalCreate(10, MJActionFormComponentExtended_Conditional_1_Conditional_36_Conditional_15_For_2_Conditional_10_Template, 2, 1, "div", 81);
|
|
412
|
+
i0.ɵɵconditionalCreate(11, MJActionFormComponentExtended_Conditional_1_Conditional_36_Conditional_15_For_2_Conditional_11_Template, 5, 1, "div", 82);
|
|
413
413
|
i0.ɵɵelementEnd()();
|
|
414
414
|
} if (rf & 2) {
|
|
415
415
|
const param_r15 = ctx.$implicit;
|
|
@@ -428,31 +428,31 @@ function ActionFormComponentExtended_Conditional_1_Conditional_36_Conditional_15
|
|
|
428
428
|
i0.ɵɵadvance();
|
|
429
429
|
i0.ɵɵconditional(param_r15.DefaultValue ? 11 : -1);
|
|
430
430
|
} }
|
|
431
|
-
function
|
|
431
|
+
function MJActionFormComponentExtended_Conditional_1_Conditional_36_Conditional_15_Template(rf, ctx) { if (rf & 1) {
|
|
432
432
|
i0.ɵɵelementStart(0, "div", 65);
|
|
433
|
-
i0.ɵɵrepeaterCreate(1,
|
|
433
|
+
i0.ɵɵrepeaterCreate(1, MJActionFormComponentExtended_Conditional_1_Conditional_36_Conditional_15_For_2_Template, 12, 8, "div", 88, _forTrack0);
|
|
434
434
|
i0.ɵɵelementEnd();
|
|
435
435
|
} if (rf & 2) {
|
|
436
436
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
437
437
|
i0.ɵɵadvance();
|
|
438
438
|
i0.ɵɵrepeater(ctx_r1.getOutputParams());
|
|
439
439
|
} }
|
|
440
|
-
function
|
|
440
|
+
function MJActionFormComponentExtended_Conditional_1_Conditional_36_Template(rf, ctx) { if (rf & 1) {
|
|
441
441
|
i0.ɵɵelementStart(0, "div", 61)(1, "div", 62)(2, "h3");
|
|
442
442
|
i0.ɵɵelement(3, "i", 63);
|
|
443
443
|
i0.ɵɵtext(4, " Input Parameters");
|
|
444
444
|
i0.ɵɵelementEnd();
|
|
445
|
-
i0.ɵɵconditionalCreate(5,
|
|
445
|
+
i0.ɵɵconditionalCreate(5, MJActionFormComponentExtended_Conditional_1_Conditional_36_Conditional_5_Template, 3, 0, "button", 64);
|
|
446
446
|
i0.ɵɵelementEnd();
|
|
447
|
-
i0.ɵɵconditionalCreate(6,
|
|
447
|
+
i0.ɵɵconditionalCreate(6, MJActionFormComponentExtended_Conditional_1_Conditional_36_Conditional_6_Template, 4, 0, "div", 30)(7, MJActionFormComponentExtended_Conditional_1_Conditional_36_Conditional_7_Template, 3, 0, "div", 65);
|
|
448
448
|
i0.ɵɵelementEnd();
|
|
449
449
|
i0.ɵɵelementStart(8, "div", 66)(9, "div", 62)(10, "h3");
|
|
450
450
|
i0.ɵɵelement(11, "i", 67);
|
|
451
451
|
i0.ɵɵtext(12, " Output Parameters");
|
|
452
452
|
i0.ɵɵelementEnd();
|
|
453
|
-
i0.ɵɵconditionalCreate(13,
|
|
453
|
+
i0.ɵɵconditionalCreate(13, MJActionFormComponentExtended_Conditional_1_Conditional_36_Conditional_13_Template, 3, 0, "button", 64);
|
|
454
454
|
i0.ɵɵelementEnd();
|
|
455
|
-
i0.ɵɵconditionalCreate(14,
|
|
455
|
+
i0.ɵɵconditionalCreate(14, MJActionFormComponentExtended_Conditional_1_Conditional_36_Conditional_14_Template, 4, 0, "div", 68)(15, MJActionFormComponentExtended_Conditional_1_Conditional_36_Conditional_15_Template, 3, 0, "div", 65);
|
|
456
456
|
i0.ɵɵelementEnd();
|
|
457
457
|
} if (rf & 2) {
|
|
458
458
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
@@ -467,24 +467,24 @@ function ActionFormComponentExtended_Conditional_1_Conditional_36_Template(rf, c
|
|
|
467
467
|
i0.ɵɵadvance();
|
|
468
468
|
i0.ɵɵconditional(ctx_r1.getOutputParams().length === 0 ? 14 : 15);
|
|
469
469
|
} }
|
|
470
|
-
function
|
|
470
|
+
function MJActionFormComponentExtended_Conditional_1_Conditional_37_ng_template_1_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
471
471
|
i0.ɵɵelementStart(0, "span", 99);
|
|
472
472
|
i0.ɵɵelement(1, "i", 100);
|
|
473
473
|
i0.ɵɵtext(2, " Locked ");
|
|
474
474
|
i0.ɵɵelementEnd();
|
|
475
475
|
} }
|
|
476
|
-
function
|
|
476
|
+
function MJActionFormComponentExtended_Conditional_1_Conditional_37_ng_template_1_Template(rf, ctx) { if (rf & 1) {
|
|
477
477
|
i0.ɵɵelementStart(0, "span", 55);
|
|
478
478
|
i0.ɵɵelement(1, "i", 98);
|
|
479
479
|
i0.ɵɵtext(2, " Code & Generation ");
|
|
480
|
-
i0.ɵɵconditionalCreate(3,
|
|
480
|
+
i0.ɵɵconditionalCreate(3, MJActionFormComponentExtended_Conditional_1_Conditional_37_ng_template_1_Conditional_3_Template, 3, 0, "span", 99);
|
|
481
481
|
i0.ɵɵelementEnd();
|
|
482
482
|
} if (rf & 2) {
|
|
483
483
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
484
484
|
i0.ɵɵadvance(3);
|
|
485
485
|
i0.ɵɵconditional(ctx_r1.record.CodeLocked ? 3 : -1);
|
|
486
486
|
} }
|
|
487
|
-
function
|
|
487
|
+
function MJActionFormComponentExtended_Conditional_1_Conditional_37_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
488
488
|
const _r18 = i0.ɵɵgetCurrentView();
|
|
489
489
|
i0.ɵɵelementStart(0, "div", 89)(1, "h3");
|
|
490
490
|
i0.ɵɵelement(2, "i", 50);
|
|
@@ -494,16 +494,16 @@ function ActionFormComponentExtended_Conditional_1_Conditional_37_Conditional_3_
|
|
|
494
494
|
i0.ɵɵtext(6, "User Prompt");
|
|
495
495
|
i0.ɵɵelementEnd();
|
|
496
496
|
i0.ɵɵelementStart(7, "kendo-textarea", 102);
|
|
497
|
-
i0.ɵɵtwoWayListener("ngModelChange", function
|
|
497
|
+
i0.ɵɵtwoWayListener("ngModelChange", function MJActionFormComponentExtended_Conditional_1_Conditional_37_Conditional_3_Template_kendo_textarea_ngModelChange_7_listener($event) { i0.ɵɵrestoreView(_r18); const ctx_r1 = i0.ɵɵnextContext(3); i0.ɵɵtwoWayBindingSet(ctx_r1.record.UserPrompt, $event) || (ctx_r1.record.UserPrompt = $event); return i0.ɵɵresetView($event); });
|
|
498
498
|
i0.ɵɵelementEnd()();
|
|
499
499
|
i0.ɵɵelementStart(8, "div", 103)(9, "label");
|
|
500
500
|
i0.ɵɵtext(10, "Internal Comments (not sent to AI)");
|
|
501
501
|
i0.ɵɵelementEnd();
|
|
502
502
|
i0.ɵɵelementStart(11, "kendo-textarea", 104);
|
|
503
|
-
i0.ɵɵtwoWayListener("ngModelChange", function
|
|
503
|
+
i0.ɵɵtwoWayListener("ngModelChange", function MJActionFormComponentExtended_Conditional_1_Conditional_37_Conditional_3_Template_kendo_textarea_ngModelChange_11_listener($event) { i0.ɵɵrestoreView(_r18); const ctx_r1 = i0.ɵɵnextContext(3); i0.ɵɵtwoWayBindingSet(ctx_r1.record.UserComments, $event) || (ctx_r1.record.UserComments = $event); return i0.ɵɵresetView($event); });
|
|
504
504
|
i0.ɵɵelementEnd()();
|
|
505
505
|
i0.ɵɵelementStart(12, "div", 105)(13, "kendo-switch", 106);
|
|
506
|
-
i0.ɵɵtwoWayListener("ngModelChange", function
|
|
506
|
+
i0.ɵɵtwoWayListener("ngModelChange", function MJActionFormComponentExtended_Conditional_1_Conditional_37_Conditional_3_Template_kendo_switch_ngModelChange_13_listener($event) { i0.ɵɵrestoreView(_r18); const ctx_r1 = i0.ɵɵnextContext(3); i0.ɵɵtwoWayBindingSet(ctx_r1.record.CodeLocked, $event) || (ctx_r1.record.CodeLocked = $event); return i0.ɵɵresetView($event); });
|
|
507
507
|
i0.ɵɵelementEnd();
|
|
508
508
|
i0.ɵɵelementStart(14, "label", 107);
|
|
509
509
|
i0.ɵɵtext(15, "Lock Code (prevent regeneration)");
|
|
@@ -519,10 +519,10 @@ function ActionFormComponentExtended_Conditional_1_Conditional_37_Conditional_3_
|
|
|
519
519
|
i0.ɵɵadvance(2);
|
|
520
520
|
i0.ɵɵtwoWayProperty("ngModel", ctx_r1.record.CodeLocked);
|
|
521
521
|
} }
|
|
522
|
-
function
|
|
522
|
+
function MJActionFormComponentExtended_Conditional_1_Conditional_37_Conditional_10_Template(rf, ctx) { if (rf & 1) {
|
|
523
523
|
const _r19 = i0.ɵɵgetCurrentView();
|
|
524
524
|
i0.ɵɵelementStart(0, "button", 69);
|
|
525
|
-
i0.ɵɵlistener("click", function
|
|
525
|
+
i0.ɵɵlistener("click", function MJActionFormComponentExtended_Conditional_1_Conditional_37_Conditional_10_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r19); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.toggleCodeComments()); });
|
|
526
526
|
i0.ɵɵelement(1, "i", 108);
|
|
527
527
|
i0.ɵɵtext(2);
|
|
528
528
|
i0.ɵɵelementEnd();
|
|
@@ -531,7 +531,7 @@ function ActionFormComponentExtended_Conditional_1_Conditional_37_Conditional_10
|
|
|
531
531
|
i0.ɵɵadvance(2);
|
|
532
532
|
i0.ɵɵtextInterpolate1(" ", ctx_r1.showCodeComments ? "Hide" : "Show", " AI Comments ");
|
|
533
533
|
} }
|
|
534
|
-
function
|
|
534
|
+
function MJActionFormComponentExtended_Conditional_1_Conditional_37_Conditional_15_Template(rf, ctx) { if (rf & 1) {
|
|
535
535
|
i0.ɵɵelementStart(0, "div", 96)(1, "h4");
|
|
536
536
|
i0.ɵɵelement(2, "i", 50);
|
|
537
537
|
i0.ɵɵtext(3, " AI Explanation");
|
|
@@ -544,13 +544,13 @@ function ActionFormComponentExtended_Conditional_1_Conditional_37_Conditional_15
|
|
|
544
544
|
i0.ɵɵadvance(5);
|
|
545
545
|
i0.ɵɵtextInterpolate(ctx_r1.record.CodeComments);
|
|
546
546
|
} }
|
|
547
|
-
function
|
|
547
|
+
function MJActionFormComponentExtended_Conditional_1_Conditional_37_Conditional_16_Template(rf, ctx) { if (rf & 1) {
|
|
548
548
|
const _r20 = i0.ɵɵgetCurrentView();
|
|
549
549
|
i0.ɵɵelementStart(0, "div", 97)(1, "label");
|
|
550
550
|
i0.ɵɵtext(2, "Rejection Comments");
|
|
551
551
|
i0.ɵɵelementEnd();
|
|
552
552
|
i0.ɵɵelementStart(3, "kendo-textarea", 109);
|
|
553
|
-
i0.ɵɵtwoWayListener("ngModelChange", function
|
|
553
|
+
i0.ɵɵtwoWayListener("ngModelChange", function MJActionFormComponentExtended_Conditional_1_Conditional_37_Conditional_16_Template_kendo_textarea_ngModelChange_3_listener($event) { i0.ɵɵrestoreView(_r20); const ctx_r1 = i0.ɵɵnextContext(3); i0.ɵɵtwoWayBindingSet(ctx_r1.record.CodeApprovalComments, $event) || (ctx_r1.record.CodeApprovalComments = $event); return i0.ɵɵresetView($event); });
|
|
554
554
|
i0.ɵɵelementEnd()();
|
|
555
555
|
} if (rf & 2) {
|
|
556
556
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
@@ -558,28 +558,28 @@ function ActionFormComponentExtended_Conditional_1_Conditional_37_Conditional_16
|
|
|
558
558
|
i0.ɵɵtwoWayProperty("ngModel", ctx_r1.record.CodeApprovalComments);
|
|
559
559
|
i0.ɵɵproperty("rows", 2);
|
|
560
560
|
} }
|
|
561
|
-
function
|
|
561
|
+
function MJActionFormComponentExtended_Conditional_1_Conditional_37_Template(rf, ctx) { if (rf & 1) {
|
|
562
562
|
const _r17 = i0.ɵɵgetCurrentView();
|
|
563
563
|
i0.ɵɵelementStart(0, "kendo-expansionpanel", 26);
|
|
564
|
-
i0.ɵɵtemplate(1,
|
|
564
|
+
i0.ɵɵtemplate(1, MJActionFormComponentExtended_Conditional_1_Conditional_37_ng_template_1_Template, 4, 1, "ng-template", 27);
|
|
565
565
|
i0.ɵɵelementStart(2, "div", 28);
|
|
566
|
-
i0.ɵɵconditionalCreate(3,
|
|
566
|
+
i0.ɵɵconditionalCreate(3, MJActionFormComponentExtended_Conditional_1_Conditional_37_Conditional_3_Template, 16, 5, "div", 89);
|
|
567
567
|
i0.ɵɵelementStart(4, "div", 90)(5, "div", 91)(6, "h3");
|
|
568
568
|
i0.ɵɵelement(7, "i", 92);
|
|
569
569
|
i0.ɵɵtext(8, " Action Code");
|
|
570
570
|
i0.ɵɵelementEnd();
|
|
571
571
|
i0.ɵɵelementStart(9, "div", 93);
|
|
572
|
-
i0.ɵɵconditionalCreate(10,
|
|
572
|
+
i0.ɵɵconditionalCreate(10, MJActionFormComponentExtended_Conditional_1_Conditional_37_Conditional_10_Template, 3, 1, "button", 64);
|
|
573
573
|
i0.ɵɵelementStart(11, "button", 69);
|
|
574
|
-
i0.ɵɵlistener("click", function
|
|
574
|
+
i0.ɵɵlistener("click", function MJActionFormComponentExtended_Conditional_1_Conditional_37_Template_button_click_11_listener() { i0.ɵɵrestoreView(_r17); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.copyToClipboard(ctx_r1.record.Code || "")); });
|
|
575
575
|
i0.ɵɵelement(12, "i", 94);
|
|
576
576
|
i0.ɵɵtext(13, " Copy ");
|
|
577
577
|
i0.ɵɵelementEnd()()();
|
|
578
578
|
i0.ɵɵelementStart(14, "mj-code-editor", 95);
|
|
579
|
-
i0.ɵɵtwoWayListener("ngModelChange", function
|
|
579
|
+
i0.ɵɵtwoWayListener("ngModelChange", function MJActionFormComponentExtended_Conditional_1_Conditional_37_Template_mj_code_editor_ngModelChange_14_listener($event) { i0.ɵɵrestoreView(_r17); const ctx_r1 = i0.ɵɵnextContext(2); i0.ɵɵtwoWayBindingSet(ctx_r1.record.Code, $event) || (ctx_r1.record.Code = $event); return i0.ɵɵresetView($event); });
|
|
580
580
|
i0.ɵɵelementEnd();
|
|
581
|
-
i0.ɵɵconditionalCreate(15,
|
|
582
|
-
i0.ɵɵconditionalCreate(16,
|
|
581
|
+
i0.ɵɵconditionalCreate(15, MJActionFormComponentExtended_Conditional_1_Conditional_37_Conditional_15_Template, 6, 1, "div", 96);
|
|
582
|
+
i0.ɵɵconditionalCreate(16, MJActionFormComponentExtended_Conditional_1_Conditional_37_Conditional_16_Template, 4, 2, "div", 97);
|
|
583
583
|
i0.ɵɵelementEnd()()();
|
|
584
584
|
} if (rf & 2) {
|
|
585
585
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
@@ -596,7 +596,7 @@ function ActionFormComponentExtended_Conditional_1_Conditional_37_Template(rf, c
|
|
|
596
596
|
i0.ɵɵadvance();
|
|
597
597
|
i0.ɵɵconditional(ctx_r1.EditMode && ctx_r1.record.CodeApprovalStatus === "Rejected" ? 16 : -1);
|
|
598
598
|
} }
|
|
599
|
-
function
|
|
599
|
+
function MJActionFormComponentExtended_Conditional_1_ng_template_39_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
600
600
|
i0.ɵɵelementStart(0, "span", 111);
|
|
601
601
|
i0.ɵɵtext(1);
|
|
602
602
|
i0.ɵɵelementEnd();
|
|
@@ -605,21 +605,21 @@ function ActionFormComponentExtended_Conditional_1_ng_template_39_Conditional_3_
|
|
|
605
605
|
i0.ɵɵadvance();
|
|
606
606
|
i0.ɵɵtextInterpolate1(" ", ctx_r1.resultCodes.length, " ");
|
|
607
607
|
} }
|
|
608
|
-
function
|
|
608
|
+
function MJActionFormComponentExtended_Conditional_1_ng_template_39_Template(rf, ctx) { if (rf & 1) {
|
|
609
609
|
i0.ɵɵelementStart(0, "span", 55);
|
|
610
610
|
i0.ɵɵelement(1, "i", 110);
|
|
611
611
|
i0.ɵɵtext(2, " Result Codes ");
|
|
612
|
-
i0.ɵɵconditionalCreate(3,
|
|
612
|
+
i0.ɵɵconditionalCreate(3, MJActionFormComponentExtended_Conditional_1_ng_template_39_Conditional_3_Template, 2, 1, "span", 111);
|
|
613
613
|
i0.ɵɵelementEnd();
|
|
614
614
|
} if (rf & 2) {
|
|
615
615
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
616
616
|
i0.ɵɵadvance(3);
|
|
617
617
|
i0.ɵɵconditional(ctx_r1.resultCodes.length > 0 ? 3 : -1);
|
|
618
618
|
} }
|
|
619
|
-
function
|
|
619
|
+
function MJActionFormComponentExtended_Conditional_1_Conditional_41_Template(rf, ctx) { if (rf & 1) {
|
|
620
620
|
const _r21 = i0.ɵɵgetCurrentView();
|
|
621
621
|
i0.ɵɵelementStart(0, "div", 31)(1, "button", 112);
|
|
622
|
-
i0.ɵɵlistener("click", function
|
|
622
|
+
i0.ɵɵlistener("click", function MJActionFormComponentExtended_Conditional_1_Conditional_41_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r21); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.addResultCode()); });
|
|
623
623
|
i0.ɵɵelement(2, "i", 70);
|
|
624
624
|
i0.ɵɵtext(3, " Add Result Code ");
|
|
625
625
|
i0.ɵɵelementEnd()();
|
|
@@ -627,31 +627,31 @@ function ActionFormComponentExtended_Conditional_1_Conditional_41_Template(rf, c
|
|
|
627
627
|
i0.ɵɵadvance();
|
|
628
628
|
i0.ɵɵproperty("primary", true);
|
|
629
629
|
} }
|
|
630
|
-
function
|
|
630
|
+
function MJActionFormComponentExtended_Conditional_1_Conditional_42_Template(rf, ctx) { if (rf & 1) {
|
|
631
631
|
i0.ɵɵelementStart(0, "div", 29);
|
|
632
632
|
i0.ɵɵelement(1, "i", 57);
|
|
633
633
|
i0.ɵɵtext(2, " Loading result codes... ");
|
|
634
634
|
i0.ɵɵelementEnd();
|
|
635
635
|
} }
|
|
636
|
-
function
|
|
636
|
+
function MJActionFormComponentExtended_Conditional_1_Conditional_43_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
637
637
|
i0.ɵɵelementStart(0, "p", 60);
|
|
638
638
|
i0.ɵɵtext(1, "Add result codes to define possible outcomes");
|
|
639
639
|
i0.ɵɵelementEnd();
|
|
640
640
|
} }
|
|
641
|
-
function
|
|
641
|
+
function MJActionFormComponentExtended_Conditional_1_Conditional_43_Template(rf, ctx) { if (rf & 1) {
|
|
642
642
|
i0.ɵɵelementStart(0, "div", 30);
|
|
643
643
|
i0.ɵɵelement(1, "i", 113);
|
|
644
644
|
i0.ɵɵelementStart(2, "p", 59);
|
|
645
645
|
i0.ɵɵtext(3, "No result codes defined");
|
|
646
646
|
i0.ɵɵelementEnd();
|
|
647
|
-
i0.ɵɵconditionalCreate(4,
|
|
647
|
+
i0.ɵɵconditionalCreate(4, MJActionFormComponentExtended_Conditional_1_Conditional_43_Conditional_4_Template, 2, 0, "p", 60);
|
|
648
648
|
i0.ɵɵelementEnd();
|
|
649
649
|
} if (rf & 2) {
|
|
650
650
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
651
651
|
i0.ɵɵadvance(4);
|
|
652
652
|
i0.ɵɵconditional(ctx_r1.EditMode && ctx_r1.record.IsSaved ? 4 : -1);
|
|
653
653
|
} }
|
|
654
|
-
function
|
|
654
|
+
function MJActionFormComponentExtended_Conditional_1_Conditional_44_For_2_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
655
655
|
i0.ɵɵelementStart(0, "div", 119);
|
|
656
656
|
i0.ɵɵtext(1);
|
|
657
657
|
i0.ɵɵelementEnd();
|
|
@@ -660,30 +660,30 @@ function ActionFormComponentExtended_Conditional_1_Conditional_44_For_2_Conditio
|
|
|
660
660
|
i0.ɵɵadvance();
|
|
661
661
|
i0.ɵɵtextInterpolate(code_r23.Description);
|
|
662
662
|
} }
|
|
663
|
-
function
|
|
663
|
+
function MJActionFormComponentExtended_Conditional_1_Conditional_44_For_2_Conditional_7_Template(rf, ctx) { if (rf & 1) {
|
|
664
664
|
const _r24 = i0.ɵɵgetCurrentView();
|
|
665
665
|
i0.ɵɵelementStart(0, "div", 120)(1, "button", 121);
|
|
666
|
-
i0.ɵɵlistener("click", function
|
|
666
|
+
i0.ɵɵlistener("click", function MJActionFormComponentExtended_Conditional_1_Conditional_44_For_2_Conditional_7_Template_button_click_1_listener($event) { i0.ɵɵrestoreView(_r24); const code_r23 = i0.ɵɵnextContext().$implicit; const ctx_r1 = i0.ɵɵnextContext(3); ctx_r1.editResultCode(code_r23); return i0.ɵɵresetView($event.stopPropagation()); });
|
|
667
667
|
i0.ɵɵelement(2, "i", 84);
|
|
668
668
|
i0.ɵɵelementEnd();
|
|
669
669
|
i0.ɵɵelementStart(3, "button", 122);
|
|
670
|
-
i0.ɵɵlistener("click", function
|
|
670
|
+
i0.ɵɵlistener("click", function MJActionFormComponentExtended_Conditional_1_Conditional_44_For_2_Conditional_7_Template_button_click_3_listener($event) { i0.ɵɵrestoreView(_r24); const code_r23 = i0.ɵɵnextContext().$implicit; const ctx_r1 = i0.ɵɵnextContext(3); ctx_r1.deleteResultCode(code_r23); return i0.ɵɵresetView($event.stopPropagation()); });
|
|
671
671
|
i0.ɵɵelement(4, "i", 86);
|
|
672
672
|
i0.ɵɵelementEnd()();
|
|
673
673
|
} }
|
|
674
|
-
function
|
|
674
|
+
function MJActionFormComponentExtended_Conditional_1_Conditional_44_For_2_Template(rf, ctx) { if (rf & 1) {
|
|
675
675
|
const _r22 = i0.ɵɵgetCurrentView();
|
|
676
676
|
i0.ɵɵelementStart(0, "div", 115);
|
|
677
|
-
i0.ɵɵlistener("click", function
|
|
677
|
+
i0.ɵɵlistener("click", function MJActionFormComponentExtended_Conditional_1_Conditional_44_For_2_Template_div_click_0_listener($event) { const code_r23 = i0.ɵɵrestoreView(_r22).$implicit; const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.onResultCodeClick(code_r23, $event)); });
|
|
678
678
|
i0.ɵɵelementStart(1, "div", 116);
|
|
679
679
|
i0.ɵɵelement(2, "i");
|
|
680
680
|
i0.ɵɵelementEnd();
|
|
681
681
|
i0.ɵɵelementStart(3, "div", 117)(4, "div", 118);
|
|
682
682
|
i0.ɵɵtext(5);
|
|
683
683
|
i0.ɵɵelementEnd();
|
|
684
|
-
i0.ɵɵconditionalCreate(6,
|
|
684
|
+
i0.ɵɵconditionalCreate(6, MJActionFormComponentExtended_Conditional_1_Conditional_44_For_2_Conditional_6_Template, 2, 1, "div", 119);
|
|
685
685
|
i0.ɵɵelementEnd();
|
|
686
|
-
i0.ɵɵconditionalCreate(7,
|
|
686
|
+
i0.ɵɵconditionalCreate(7, MJActionFormComponentExtended_Conditional_1_Conditional_44_For_2_Conditional_7_Template, 5, 0, "div", 120);
|
|
687
687
|
i0.ɵɵelementEnd();
|
|
688
688
|
} if (rf & 2) {
|
|
689
689
|
const code_r23 = ctx.$implicit;
|
|
@@ -698,54 +698,54 @@ function ActionFormComponentExtended_Conditional_1_Conditional_44_For_2_Template
|
|
|
698
698
|
i0.ɵɵadvance();
|
|
699
699
|
i0.ɵɵconditional(ctx_r1.EditMode ? 7 : -1);
|
|
700
700
|
} }
|
|
701
|
-
function
|
|
701
|
+
function MJActionFormComponentExtended_Conditional_1_Conditional_44_Template(rf, ctx) { if (rf & 1) {
|
|
702
702
|
i0.ɵɵelementStart(0, "div", 32);
|
|
703
|
-
i0.ɵɵrepeaterCreate(1,
|
|
703
|
+
i0.ɵɵrepeaterCreate(1, MJActionFormComponentExtended_Conditional_1_Conditional_44_For_2_Template, 8, 11, "div", 114, _forTrack0);
|
|
704
704
|
i0.ɵɵelementEnd();
|
|
705
705
|
} if (rf & 2) {
|
|
706
706
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
707
707
|
i0.ɵɵadvance();
|
|
708
708
|
i0.ɵɵrepeater(ctx_r1.resultCodes);
|
|
709
709
|
} }
|
|
710
|
-
function
|
|
710
|
+
function MJActionFormComponentExtended_Conditional_1_Conditional_45_ng_template_1_Template(rf, ctx) { if (rf & 1) {
|
|
711
711
|
i0.ɵɵelementStart(0, "span", 55);
|
|
712
712
|
i0.ɵɵelement(1, "i", 123);
|
|
713
713
|
i0.ɵɵtext(2, " Execution & Monitoring ");
|
|
714
714
|
i0.ɵɵelementEnd();
|
|
715
715
|
} }
|
|
716
|
-
function
|
|
716
|
+
function MJActionFormComponentExtended_Conditional_1_Conditional_45_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
717
717
|
i0.ɵɵelementStart(0, "div", 29);
|
|
718
718
|
i0.ɵɵelement(1, "i", 57);
|
|
719
719
|
i0.ɵɵtext(2, " Loading executions... ");
|
|
720
720
|
i0.ɵɵelementEnd();
|
|
721
721
|
} }
|
|
722
|
-
function
|
|
722
|
+
function MJActionFormComponentExtended_Conditional_1_Conditional_45_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
723
723
|
i0.ɵɵelementStart(0, "div", 30);
|
|
724
724
|
i0.ɵɵelement(1, "i", 124);
|
|
725
725
|
i0.ɵɵelementStart(2, "p", 59);
|
|
726
726
|
i0.ɵɵtext(3, "No executions yet");
|
|
727
727
|
i0.ɵɵelementEnd()();
|
|
728
728
|
} }
|
|
729
|
-
function
|
|
729
|
+
function MJActionFormComponentExtended_Conditional_1_Conditional_45_Conditional_5_For_41_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
730
730
|
i0.ɵɵtext(0);
|
|
731
731
|
} if (rf & 2) {
|
|
732
732
|
const execution_r26 = i0.ɵɵnextContext().$implicit;
|
|
733
733
|
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
734
734
|
i0.ɵɵtextInterpolate1(" ", ctx_r1.formatDuration(ctx_r1.getExecutionDuration(execution_r26)), " ");
|
|
735
735
|
} }
|
|
736
|
-
function
|
|
736
|
+
function MJActionFormComponentExtended_Conditional_1_Conditional_45_Conditional_5_For_41_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
737
737
|
i0.ɵɵelementStart(0, "span", 139);
|
|
738
738
|
i0.ɵɵtext(1, "Running...");
|
|
739
739
|
i0.ɵɵelementEnd();
|
|
740
740
|
} }
|
|
741
|
-
function
|
|
741
|
+
function MJActionFormComponentExtended_Conditional_1_Conditional_45_Conditional_5_For_41_Template(rf, ctx) { if (rf & 1) {
|
|
742
742
|
const _r25 = i0.ɵɵgetCurrentView();
|
|
743
743
|
i0.ɵɵelementStart(0, "tr", 138)(1, "td");
|
|
744
744
|
i0.ɵɵtext(2);
|
|
745
745
|
i0.ɵɵpipe(3, "date");
|
|
746
746
|
i0.ɵɵelementEnd();
|
|
747
747
|
i0.ɵɵelementStart(4, "td");
|
|
748
|
-
i0.ɵɵconditionalCreate(5,
|
|
748
|
+
i0.ɵɵconditionalCreate(5, MJActionFormComponentExtended_Conditional_1_Conditional_45_Conditional_5_For_41_Conditional_5_Template, 1, 1)(6, MJActionFormComponentExtended_Conditional_1_Conditional_45_Conditional_5_For_41_Conditional_6_Template, 2, 0, "span", 139);
|
|
749
749
|
i0.ɵɵelementEnd();
|
|
750
750
|
i0.ɵɵelementStart(7, "td");
|
|
751
751
|
i0.ɵɵtext(8);
|
|
@@ -754,7 +754,7 @@ function ActionFormComponentExtended_Conditional_1_Conditional_45_Conditional_5_
|
|
|
754
754
|
i0.ɵɵtext(11);
|
|
755
755
|
i0.ɵɵelementEnd()();
|
|
756
756
|
i0.ɵɵelementStart(12, "td")(13, "button", 69);
|
|
757
|
-
i0.ɵɵlistener("click", function
|
|
757
|
+
i0.ɵɵlistener("click", function MJActionFormComponentExtended_Conditional_1_Conditional_45_Conditional_5_For_41_Template_button_click_13_listener() { const execution_r26 = i0.ɵɵrestoreView(_r25).$implicit; const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.navigateToExecution(execution_r26.ID)); });
|
|
758
758
|
i0.ɵɵelement(14, "i", 140);
|
|
759
759
|
i0.ɵɵelementEnd()()();
|
|
760
760
|
} if (rf & 2) {
|
|
@@ -772,7 +772,7 @@ function ActionFormComponentExtended_Conditional_1_Conditional_45_Conditional_5_
|
|
|
772
772
|
i0.ɵɵadvance();
|
|
773
773
|
i0.ɵɵtextInterpolate1(" ", execution_r26.ResultCode, " ");
|
|
774
774
|
} }
|
|
775
|
-
function
|
|
775
|
+
function MJActionFormComponentExtended_Conditional_1_Conditional_45_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
776
776
|
i0.ɵɵelementStart(0, "div", 125)(1, "div", 126);
|
|
777
777
|
i0.ɵɵelement(2, "i", 127);
|
|
778
778
|
i0.ɵɵelementStart(3, "div", 128)(4, "div", 129);
|
|
@@ -817,7 +817,7 @@ function ActionFormComponentExtended_Conditional_1_Conditional_45_Conditional_5_
|
|
|
817
817
|
i0.ɵɵtext(38, "Actions");
|
|
818
818
|
i0.ɵɵelementEnd()()();
|
|
819
819
|
i0.ɵɵelementStart(39, "tbody");
|
|
820
|
-
i0.ɵɵrepeaterCreate(40,
|
|
820
|
+
i0.ɵɵrepeaterCreate(40, MJActionFormComponentExtended_Conditional_1_Conditional_45_Conditional_5_For_41_Template, 15, 13, "tr", 137, _forTrack0);
|
|
821
821
|
i0.ɵɵelementEnd()()();
|
|
822
822
|
} if (rf & 2) {
|
|
823
823
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
@@ -834,11 +834,11 @@ function ActionFormComponentExtended_Conditional_1_Conditional_45_Conditional_5_
|
|
|
834
834
|
i0.ɵɵadvance(19);
|
|
835
835
|
i0.ɵɵrepeater(ctx_r1.recentExecutions);
|
|
836
836
|
} }
|
|
837
|
-
function
|
|
837
|
+
function MJActionFormComponentExtended_Conditional_1_Conditional_45_Template(rf, ctx) { if (rf & 1) {
|
|
838
838
|
i0.ɵɵelementStart(0, "kendo-expansionpanel", 26);
|
|
839
|
-
i0.ɵɵtemplate(1,
|
|
839
|
+
i0.ɵɵtemplate(1, MJActionFormComponentExtended_Conditional_1_Conditional_45_ng_template_1_Template, 3, 0, "ng-template", 27);
|
|
840
840
|
i0.ɵɵelementStart(2, "div", 28);
|
|
841
|
-
i0.ɵɵconditionalCreate(3,
|
|
841
|
+
i0.ɵɵconditionalCreate(3, MJActionFormComponentExtended_Conditional_1_Conditional_45_Conditional_3_Template, 3, 0, "div", 29)(4, MJActionFormComponentExtended_Conditional_1_Conditional_45_Conditional_4_Template, 4, 0, "div", 30)(5, MJActionFormComponentExtended_Conditional_1_Conditional_45_Conditional_5_Template, 42, 7);
|
|
842
842
|
i0.ɵɵelementEnd()();
|
|
843
843
|
} if (rf & 2) {
|
|
844
844
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
@@ -846,24 +846,24 @@ function ActionFormComponentExtended_Conditional_1_Conditional_45_Template(rf, c
|
|
|
846
846
|
i0.ɵɵadvance(3);
|
|
847
847
|
i0.ɵɵconditional(ctx_r1.isLoadingExecutions ? 3 : ctx_r1.recentExecutions.length === 0 ? 4 : 5);
|
|
848
848
|
} }
|
|
849
|
-
function
|
|
849
|
+
function MJActionFormComponentExtended_Conditional_1_Conditional_46_ng_template_1_Template(rf, ctx) { if (rf & 1) {
|
|
850
850
|
i0.ɵɵelementStart(0, "span", 55);
|
|
851
851
|
i0.ɵɵelement(1, "i", 152);
|
|
852
852
|
i0.ɵɵtext(2, " Related Configuration ");
|
|
853
853
|
i0.ɵɵelementEnd();
|
|
854
854
|
} }
|
|
855
|
-
function
|
|
855
|
+
function MJActionFormComponentExtended_Conditional_1_Conditional_46_Conditional_7_Template(rf, ctx) { if (rf & 1) {
|
|
856
856
|
i0.ɵɵelementStart(0, "div", 29);
|
|
857
857
|
i0.ɵɵelement(1, "i", 57);
|
|
858
858
|
i0.ɵɵtext(2, " Loading libraries... ");
|
|
859
859
|
i0.ɵɵelementEnd();
|
|
860
860
|
} }
|
|
861
|
-
function
|
|
861
|
+
function MJActionFormComponentExtended_Conditional_1_Conditional_46_Conditional_8_Template(rf, ctx) { if (rf & 1) {
|
|
862
862
|
i0.ɵɵelementStart(0, "div", 143)(1, "p");
|
|
863
863
|
i0.ɵɵtext(2, "No libraries configured");
|
|
864
864
|
i0.ɵɵelementEnd()();
|
|
865
865
|
} }
|
|
866
|
-
function
|
|
866
|
+
function MJActionFormComponentExtended_Conditional_1_Conditional_46_Conditional_9_For_2_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
867
867
|
i0.ɵɵelementStart(0, "div", 157);
|
|
868
868
|
i0.ɵɵtext(1);
|
|
869
869
|
i0.ɵɵelementEnd();
|
|
@@ -873,15 +873,15 @@ function ActionFormComponentExtended_Conditional_1_Conditional_46_Conditional_9_
|
|
|
873
873
|
i0.ɵɵadvance();
|
|
874
874
|
i0.ɵɵtextInterpolate(ctx_r1.actionLibraries[ɵ$index_637_r29].ItemsUsed);
|
|
875
875
|
} }
|
|
876
|
-
function
|
|
876
|
+
function MJActionFormComponentExtended_Conditional_1_Conditional_46_Conditional_9_For_2_Template(rf, ctx) { if (rf & 1) {
|
|
877
877
|
const _r27 = i0.ɵɵgetCurrentView();
|
|
878
878
|
i0.ɵɵelementStart(0, "div", 154);
|
|
879
|
-
i0.ɵɵlistener("click", function
|
|
879
|
+
i0.ɵɵlistener("click", function MJActionFormComponentExtended_Conditional_1_Conditional_46_Conditional_9_For_2_Template_div_click_0_listener() { const lib_r28 = i0.ɵɵrestoreView(_r27).$implicit; const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.navigateToLibrary(lib_r28.ID)); });
|
|
880
880
|
i0.ɵɵelement(1, "i", 142);
|
|
881
881
|
i0.ɵɵelementStart(2, "div", 155)(3, "div", 156);
|
|
882
882
|
i0.ɵɵtext(4);
|
|
883
883
|
i0.ɵɵelementEnd();
|
|
884
|
-
i0.ɵɵconditionalCreate(5,
|
|
884
|
+
i0.ɵɵconditionalCreate(5, MJActionFormComponentExtended_Conditional_1_Conditional_46_Conditional_9_For_2_Conditional_5_Template, 2, 1, "div", 157);
|
|
885
885
|
i0.ɵɵelementEnd();
|
|
886
886
|
i0.ɵɵelement(6, "i", 140);
|
|
887
887
|
i0.ɵɵelementEnd();
|
|
@@ -894,23 +894,23 @@ function ActionFormComponentExtended_Conditional_1_Conditional_46_Conditional_9_
|
|
|
894
894
|
i0.ɵɵadvance();
|
|
895
895
|
i0.ɵɵconditional(ctx_r1.actionLibraries[ɵ$index_637_r29].ItemsUsed ? 5 : -1);
|
|
896
896
|
} }
|
|
897
|
-
function
|
|
897
|
+
function MJActionFormComponentExtended_Conditional_1_Conditional_46_Conditional_9_Template(rf, ctx) { if (rf & 1) {
|
|
898
898
|
i0.ɵɵelementStart(0, "div", 144);
|
|
899
|
-
i0.ɵɵrepeaterCreate(1,
|
|
899
|
+
i0.ɵɵrepeaterCreate(1, MJActionFormComponentExtended_Conditional_1_Conditional_46_Conditional_9_For_2_Template, 7, 2, "div", 153, _forTrack0);
|
|
900
900
|
i0.ɵɵelementEnd();
|
|
901
901
|
} if (rf & 2) {
|
|
902
902
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
903
903
|
i0.ɵɵadvance();
|
|
904
904
|
i0.ɵɵrepeater(ctx_r1.libraries);
|
|
905
905
|
} }
|
|
906
|
-
function
|
|
906
|
+
function MJActionFormComponentExtended_Conditional_1_Conditional_46_Template(rf, ctx) { if (rf & 1) {
|
|
907
907
|
i0.ɵɵelementStart(0, "kendo-expansionpanel", 26);
|
|
908
|
-
i0.ɵɵtemplate(1,
|
|
908
|
+
i0.ɵɵtemplate(1, MJActionFormComponentExtended_Conditional_1_Conditional_46_ng_template_1_Template, 3, 0, "ng-template", 27);
|
|
909
909
|
i0.ɵɵelementStart(2, "div", 28)(3, "div", 141)(4, "h3");
|
|
910
910
|
i0.ɵɵelement(5, "i", 142);
|
|
911
911
|
i0.ɵɵtext(6, " Libraries");
|
|
912
912
|
i0.ɵɵelementEnd();
|
|
913
|
-
i0.ɵɵconditionalCreate(7,
|
|
913
|
+
i0.ɵɵconditionalCreate(7, MJActionFormComponentExtended_Conditional_1_Conditional_46_Conditional_7_Template, 3, 0, "div", 29)(8, MJActionFormComponentExtended_Conditional_1_Conditional_46_Conditional_8_Template, 3, 0, "div", 143)(9, MJActionFormComponentExtended_Conditional_1_Conditional_46_Conditional_9_Template, 3, 0, "div", 144);
|
|
914
914
|
i0.ɵɵelementEnd();
|
|
915
915
|
i0.ɵɵelementStart(10, "div", 145)(11, "div", 146);
|
|
916
916
|
i0.ɵɵelement(12, "i", 147);
|
|
@@ -950,17 +950,17 @@ function ActionFormComponentExtended_Conditional_1_Conditional_46_Template(rf, c
|
|
|
950
950
|
i0.ɵɵadvance(7);
|
|
951
951
|
i0.ɵɵconditional(ctx_r1.isLoadingLibraries ? 7 : ctx_r1.actionLibraries.length === 0 ? 8 : 9);
|
|
952
952
|
} }
|
|
953
|
-
function
|
|
953
|
+
function MJActionFormComponentExtended_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
954
954
|
i0.ɵɵelementStart(0, "form", 2, 0);
|
|
955
955
|
i0.ɵɵelement(2, "mj-form-toolbar", 4);
|
|
956
956
|
i0.ɵɵelementStart(3, "div", 5)(4, "div", 6)(5, "div", 7)(6, "div", 8)(7, "div", 9);
|
|
957
957
|
i0.ɵɵelement(8, "i", 10);
|
|
958
|
-
i0.ɵɵconditionalCreate(9,
|
|
958
|
+
i0.ɵɵconditionalCreate(9, MJActionFormComponentExtended_Conditional_1_Conditional_9_Template, 1, 1, "kendo-textbox", 11)(10, MJActionFormComponentExtended_Conditional_1_Conditional_10_Template, 4, 4);
|
|
959
959
|
i0.ɵɵelementEnd();
|
|
960
|
-
i0.ɵɵconditionalCreate(11,
|
|
961
|
-
i0.ɵɵconditionalCreate(12,
|
|
960
|
+
i0.ɵɵconditionalCreate(11, MJActionFormComponentExtended_Conditional_1_Conditional_11_Template, 17, 21, "div", 12);
|
|
961
|
+
i0.ɵɵconditionalCreate(12, MJActionFormComponentExtended_Conditional_1_Conditional_12_Template, 1, 2, "kendo-textarea", 13)(13, MJActionFormComponentExtended_Conditional_1_Conditional_13_Template, 2, 1, "p", 14);
|
|
962
962
|
i0.ɵɵelementStart(14, "div", 15);
|
|
963
|
-
i0.ɵɵconditionalCreate(15,
|
|
963
|
+
i0.ɵɵconditionalCreate(15, MJActionFormComponentExtended_Conditional_1_Conditional_15_Template, 7, 1, "div", 16);
|
|
964
964
|
i0.ɵɵelementStart(16, "div", 16);
|
|
965
965
|
i0.ɵɵelement(17, "i", 17);
|
|
966
966
|
i0.ɵɵelementStart(18, "span", 18);
|
|
@@ -969,30 +969,30 @@ function ActionFormComponentExtended_Conditional_1_Template(rf, ctx) { if (rf &
|
|
|
969
969
|
i0.ɵɵelementStart(20, "span", 19);
|
|
970
970
|
i0.ɵɵtext(21);
|
|
971
971
|
i0.ɵɵelementEnd()();
|
|
972
|
-
i0.ɵɵconditionalCreate(22,
|
|
973
|
-
i0.ɵɵconditionalCreate(23,
|
|
972
|
+
i0.ɵɵconditionalCreate(22, MJActionFormComponentExtended_Conditional_1_Conditional_22_Template, 6, 7, "div", 16);
|
|
973
|
+
i0.ɵɵconditionalCreate(23, MJActionFormComponentExtended_Conditional_1_Conditional_23_Template, 4, 1, "div", 16);
|
|
974
974
|
i0.ɵɵelementEnd()();
|
|
975
975
|
i0.ɵɵelementStart(24, "div", 20)(25, "div", 21);
|
|
976
|
-
i0.ɵɵconditionalCreate(26,
|
|
977
|
-
i0.ɵɵconditionalCreate(27,
|
|
976
|
+
i0.ɵɵconditionalCreate(26, MJActionFormComponentExtended_Conditional_1_Conditional_26_Template, 3, 1, "button", 22);
|
|
977
|
+
i0.ɵɵconditionalCreate(27, MJActionFormComponentExtended_Conditional_1_Conditional_27_Template, 3, 0, "button", 23);
|
|
978
978
|
i0.ɵɵelementEnd();
|
|
979
|
-
i0.ɵɵconditionalCreate(28,
|
|
980
|
-
i0.ɵɵconditionalCreate(29,
|
|
979
|
+
i0.ɵɵconditionalCreate(28, MJActionFormComponentExtended_Conditional_1_Conditional_28_Template, 7, 0, "div", 21);
|
|
980
|
+
i0.ɵɵconditionalCreate(29, MJActionFormComponentExtended_Conditional_1_Conditional_29_Template, 2, 0, "div", 24);
|
|
981
981
|
i0.ɵɵelementEnd()()();
|
|
982
982
|
i0.ɵɵelementStart(30, "div", 25)(31, "kendo-expansionpanel", 26);
|
|
983
|
-
i0.ɵɵtemplate(32,
|
|
983
|
+
i0.ɵɵtemplate(32, MJActionFormComponentExtended_Conditional_1_ng_template_32_Template, 4, 1, "ng-template", 27);
|
|
984
984
|
i0.ɵɵelementStart(33, "div", 28);
|
|
985
|
-
i0.ɵɵconditionalCreate(34,
|
|
985
|
+
i0.ɵɵconditionalCreate(34, MJActionFormComponentExtended_Conditional_1_Conditional_34_Template, 3, 0, "div", 29)(35, MJActionFormComponentExtended_Conditional_1_Conditional_35_Template, 5, 1, "div", 30)(36, MJActionFormComponentExtended_Conditional_1_Conditional_36_Template, 16, 6);
|
|
986
986
|
i0.ɵɵelementEnd()();
|
|
987
|
-
i0.ɵɵconditionalCreate(37,
|
|
987
|
+
i0.ɵɵconditionalCreate(37, MJActionFormComponentExtended_Conditional_1_Conditional_37_Template, 17, 9, "kendo-expansionpanel", 26);
|
|
988
988
|
i0.ɵɵelementStart(38, "kendo-expansionpanel", 26);
|
|
989
|
-
i0.ɵɵtemplate(39,
|
|
989
|
+
i0.ɵɵtemplate(39, MJActionFormComponentExtended_Conditional_1_ng_template_39_Template, 4, 1, "ng-template", 27);
|
|
990
990
|
i0.ɵɵelementStart(40, "div", 28);
|
|
991
|
-
i0.ɵɵconditionalCreate(41,
|
|
992
|
-
i0.ɵɵconditionalCreate(42,
|
|
991
|
+
i0.ɵɵconditionalCreate(41, MJActionFormComponentExtended_Conditional_1_Conditional_41_Template, 4, 1, "div", 31);
|
|
992
|
+
i0.ɵɵconditionalCreate(42, MJActionFormComponentExtended_Conditional_1_Conditional_42_Template, 3, 0, "div", 29)(43, MJActionFormComponentExtended_Conditional_1_Conditional_43_Template, 5, 1, "div", 30)(44, MJActionFormComponentExtended_Conditional_1_Conditional_44_Template, 3, 0, "div", 32);
|
|
993
993
|
i0.ɵɵelementEnd()();
|
|
994
|
-
i0.ɵɵconditionalCreate(45,
|
|
995
|
-
i0.ɵɵconditionalCreate(46,
|
|
994
|
+
i0.ɵɵconditionalCreate(45, MJActionFormComponentExtended_Conditional_1_Conditional_45_Template, 6, 2, "kendo-expansionpanel", 26);
|
|
995
|
+
i0.ɵɵconditionalCreate(46, MJActionFormComponentExtended_Conditional_1_Conditional_46_Template, 35, 2, "kendo-expansionpanel", 26);
|
|
996
996
|
i0.ɵɵelementEnd()()();
|
|
997
997
|
} if (rf & 2) {
|
|
998
998
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -1040,7 +1040,7 @@ function ActionFormComponentExtended_Conditional_1_Template(rf, ctx) { if (rf &
|
|
|
1040
1040
|
i0.ɵɵadvance();
|
|
1041
1041
|
i0.ɵɵconditional(ctx_r1.record.IsSaved ? 46 : -1);
|
|
1042
1042
|
} }
|
|
1043
|
-
let
|
|
1043
|
+
let MJActionFormComponentExtended = class MJActionFormComponentExtended extends MJActionFormComponent {
|
|
1044
1044
|
constructor() {
|
|
1045
1045
|
super(...arguments);
|
|
1046
1046
|
// Related entities
|
|
@@ -1104,7 +1104,7 @@ let ActionFormComponentExtended = class ActionFormComponentExtended extends MJAc
|
|
|
1104
1104
|
}
|
|
1105
1105
|
/**
|
|
1106
1106
|
* Override InternalSaveRecord to handle Action and related ActionParams in a transaction
|
|
1107
|
-
* This follows the same pattern as
|
|
1107
|
+
* This follows the same pattern as MJAIAgentFormComponent
|
|
1108
1108
|
*/
|
|
1109
1109
|
async InternalSaveRecord() {
|
|
1110
1110
|
if (!this.record) {
|
|
@@ -1848,13 +1848,13 @@ let ActionFormComponentExtended = class ActionFormComponentExtended extends MJAc
|
|
|
1848
1848
|
this.updateParamArrays();
|
|
1849
1849
|
this.cdr.detectChanges();
|
|
1850
1850
|
}
|
|
1851
|
-
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵ
|
|
1852
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
1851
|
+
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵMJActionFormComponentExtended_BaseFactory; return function MJActionFormComponentExtended_Factory(__ngFactoryType__) { return (ɵMJActionFormComponentExtended_BaseFactory || (ɵMJActionFormComponentExtended_BaseFactory = i0.ɵɵgetInheritedFactory(MJActionFormComponentExtended)))(__ngFactoryType__ || MJActionFormComponentExtended); }; })(); }
|
|
1852
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJActionFormComponentExtended, selectors: [["mj-action-form"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 4, consts: [["form", "ngForm"], [1, "record-form-container"], [1, "record-form"], [3, "Close", "Action", "ActionParams", "IsOpen"], [3, "Form"], [1, "action-main-area", 2, "display", "flex", "flex-direction", "column", "height", "100%", "overflow-y", "auto"], [1, "action-header", 2, "flex-shrink", "0", "padding", "20px", "background", "#f8f9fa", "border-bottom", "2px solid #e9ecef"], [2, "display", "flex", "justify-content", "space-between", "align-items", "flex-start", "gap", "20px"], [2, "flex", "1", "min-width", "0"], [2, "display", "flex", "align-items", "center", "gap", "12px", "margin-bottom", "8px"], [2, "font-size", "1.4em"], ["name", "actionName", "placeholder", "Enter action name...", 2, "font-size", "1.2em", "font-weight", "600", "min-width", "300px", "flex", "1", 3, "ngModel"], [2, "display", "flex", "gap", "16px", "margin-bottom", "12px", "flex-wrap", "wrap"], ["name", "actionDescription", "placeholder", "Enter action description...", 2, "width", "100%", "max-width", "600px", "margin-bottom", "12px", 3, "ngModel", "rows"], [2, "margin", "0 0 12px 0", "color", "#6c757d", "font-size", "0.9em", "line-height", "1.4"], [1, "quick-config", 2, "display", "flex", "align-items", "center", "gap", "16px", "flex-wrap", "wrap"], [1, "config-item", 2, "display", "flex", "align-items", "center", "gap", "6px", "font-size", "0.85em"], [1, "fa-solid", "fa-cube", 2, "color", "#6c757d"], [2, "color", "#6c757d"], [2, "color", "#495057", "font-weight", "500"], [1, "action-buttons", 2, "display", "flex", "flex-direction", "column", "gap", "8px", "align-items", "flex-end"], [2, "display", "flex", "gap", "8px"], ["kendoButton", "", "themeColor", "primary", "size", "large", "title", "Open Run Harness", 3, "disabled"], ["kendoButton", "", "themeColor", "info", "size", "medium", "title", "Regenerate Code"], [2, "font-size", "0.75em", "color", "#dc3545", "text-align", "right"], [1, "configuration-sections", 2, "flex", "1", "background", "white", "border-top", "2px solid #e9ecef", "padding", "16px", "min-height", "0"], [2, "margin-bottom", "12px", 3, "expanded"], ["kendoExpansionPanelTitleDirective", ""], [2, "padding", "16px"], [1, "loading-state"], [1, "empty-state", 2, "padding", "30px", "text-align", "center"], [2, "display", "flex", "justify-content", "flex-end", "margin-bottom", "12px"], [1, "result-codes-grid"], ["name", "actionName", "placeholder", "Enter action name...", 2, "font-size", "1.2em", "font-weight", "600", "min-width", "300px", "flex", "1", 3, "ngModelChange", "ngModel"], [2, "margin", "0", "color", "#495057", "font-weight", "600", "flex", "1"], [1, "status-badge", 2, "color", "white", "padding", "4px 10px", "border-radius", "12px", "font-size", "0.75em", "font-weight", "500"], [2, "display", "block", "margin-bottom", "4px", "font-weight", "600", "color", "#495057", "font-size", "0.9em"], ["name", "actionStatus", "textField", "text", "valueField", "value", 2, "width", "150px", 3, "ngModelChange", "ngModel", "data", "valuePrimitive"], [2, "color", "#dc3545"], ["name", "actionType", "textField", "text", "valueField", "value", 2, "width", "150px", 3, "ngModelChange", "ngModel", "data", "valuePrimitive"], ["name", "categoryID", "placeholder", "Select category...", 2, "width", "200px", 3, "ngModelChange", "ngModel", "data"], ["name", "actionDescription", "placeholder", "Enter action description...", 2, "width", "100%", "max-width", "600px", "margin-bottom", "12px", 3, "ngModelChange", "ngModel", "rows"], [1, "fa-solid", "fa-folder", 2, "color", "#6c757d"], [2, "color", "#495057", "font-weight", "500", "cursor", "pointer", 3, "click"], [1, "fa-solid", "fa-external-link", 2, "font-size", "0.75em", "margin-left", "4px"], [2, "font-weight", "500"], [1, "fa-solid", "fa-sliders", 2, "color", "#6c757d"], ["kendoButton", "", "themeColor", "primary", "size", "large", "title", "Open Run Harness", 3, "click", "disabled"], [1, "fa-solid", "fa-play"], ["kendoButton", "", "themeColor", "info", "size", "medium", "title", "Regenerate Code", 3, "click"], [1, "fa-solid", "fa-robot"], ["kendoButton", "", "themeColor", "success", "size", "small", 3, "click"], [1, "fa-solid", "fa-check"], ["kendoButton", "", "themeColor", "error", "size", "small", 3, "click"], [1, "fa-solid", "fa-times"], [2, "display", "flex", "align-items", "center", "gap", "8px", "font-weight", "600"], [2, "background", "#17a2b8", "color", "white", "padding", "2px 6px", "border-radius", "10px", "font-size", "0.7em"], [1, "fa-solid", "fa-spinner", "fa-spin"], [1, "fa-solid", "fa-sliders", 2, "font-size", "2em", "color", "#6c757d", "opacity", "0.3"], [2, "margin", "12px 0 0 0", "color", "#6c757d"], [2, "margin", "8px 0 0 0", "font-size", "0.85em", "color", "#6c757d"], [1, "params-section"], [1, "params-header"], [1, "fa-solid", "fa-sign-in-alt"], ["kendoButton", "", "fillMode", "flat", "size", "small"], [1, "params-grid"], [1, "params-section", 2, "margin-top", "24px"], [1, "fa-solid", "fa-sign-out-alt"], [1, "empty-state", 2, "padding", "20px", "text-align", "center"], ["kendoButton", "", "fillMode", "flat", "size", "small", 3, "click"], [1, "fa-solid", "fa-plus"], [1, "fa-solid", "fa-inbox", 2, "font-size", "2em", "color", "#6c757d", "opacity", "0.3"], [1, "param-card", 3, "required", "clickable"], [1, "param-card", 3, "click"], [1, "param-header"], [1, "param-name"], [1, "param-badges"], [1, "required-badge"], [1, "array-badge"], [1, "param-details"], [1, "param-type"], [1, "param-description"], [1, "param-default"], ["title", "Edit parameter", 1, "param-edit-btn", 3, "click"], [1, "fa-solid", "fa-edit"], ["title", "Delete parameter", 1, "param-delete-btn", 3, "click"], [1, "fa-solid", "fa-trash"], [1, "default-label"], [1, "param-card", 3, "clickable"], [1, "generation-panel"], [1, "code-editor-section"], [1, "code-toolbar"], [1, "fa-solid", "fa-file-code"], [1, "code-actions"], [1, "fa-solid", "fa-copy"], ["name", "actionCode", 2, "height", "400px", "width", "100%", 3, "ngModelChange", "ngModel", "readonly", "language", "lineWrapping"], [1, "code-comments"], [1, "approval-comments"], [1, "fa-solid", "fa-code", 2, "color", "#6c757d"], [2, "background", "#ffc107", "color", "#856404", "padding", "2px 6px", "border-radius", "10px", "font-size", "0.7em"], [1, "fa-solid", "fa-lock"], [1, "prompt-section"], ["name", "userPrompt", "placeholder", "Describe what this action should do...", 2, "width", "100%", "min-height", "120px", 3, "ngModelChange", "ngModel", "rows"], [1, "comments-section"], ["name", "userComments", "placeholder", "Internal notes...", 2, "width", "100%", 3, "ngModelChange", "ngModel", "rows"], [1, "generation-controls"], ["name", "codeLocked", 3, "ngModelChange", "ngModel"], [2, "margin-left", "8px"], [1, "fa-solid", "fa-comment"], ["name", "codeApprovalComments", "placeholder", "Explain why the code was rejected...", 2, "width", "100%", 3, "ngModelChange", "ngModel", "rows"], [1, "fa-solid", "fa-flag-checkered", 2, "color", "#6c757d"], [2, "background", "#28a745", "color", "white", "padding", "2px 6px", "border-radius", "10px", "font-size", "0.7em"], ["kendoButton", "", "size", "small", 3, "click", "primary"], [1, "fa-solid", "fa-flag-checkered", 2, "font-size", "2em", "color", "#6c757d", "opacity", "0.3"], [1, "result-code-card", 3, "success", "failure", "clickable"], [1, "result-code-card", 3, "click"], [1, "result-icon"], [1, "result-content"], [1, "result-code"], [1, "result-description"], [1, "result-actions"], ["title", "Edit result code", 1, "result-edit-btn", 3, "click"], ["title", "Delete result code", 1, "result-delete-btn", 3, "click"], [1, "fa-solid", "fa-chart-line", 2, "color", "#6c757d"], [1, "fa-solid", "fa-chart-line", 2, "font-size", "2em", "color", "#6c757d", "opacity", "0.3"], [1, "execution-stats-row"], [1, "stat-box"], [1, "fa-solid", "fa-tachometer-alt"], [1, "stat-info"], [1, "stat-label", 2, "color", "#212529"], [1, "stat-value", 2, "color", "#212529"], [1, "fa-solid", "fa-check-circle"], [1, "stat-value", 2, "font-weight", "600"], [1, "fa-solid", "fa-play-circle"], [2, "margin-top", "24px"], [1, "fa-solid", "fa-history"], [1, "executions-table"], [1, "execution-row", 3, "success"], [1, "execution-row"], [1, "running"], [1, "fa-solid", "fa-external-link"], [1, "config-subsection"], [1, "fa-solid", "fa-book"], [1, "empty-state", "mini"], [1, "library-cards"], [1, "related-entities-grid"], [1, "related-entity-link"], [1, "fa-solid", "fa-shield-alt"], [1, "entity-count"], [1, "fa-solid", "fa-layer-group"], [1, "fa-solid", "fa-calendar"], [1, "fa-solid", "fa-cube"], [1, "fa-solid", "fa-cogs", 2, "color", "#6c757d"], [1, "library-card"], [1, "library-card", 3, "click"], [1, "library-info"], [1, "library-name"], [1, "library-items"]], template: function MJActionFormComponentExtended_Template(rf, ctx) { if (rf & 1) {
|
|
1853
1853
|
i0.ɵɵelementStart(0, "div", 1);
|
|
1854
|
-
i0.ɵɵconditionalCreate(1,
|
|
1854
|
+
i0.ɵɵconditionalCreate(1, MJActionFormComponentExtended_Conditional_1_Template, 47, 24, "form", 2);
|
|
1855
1855
|
i0.ɵɵelementEnd();
|
|
1856
1856
|
i0.ɵɵelementStart(2, "mj-action-test-harness-dialog", 3);
|
|
1857
|
-
i0.ɵɵlistener("Close", function
|
|
1857
|
+
i0.ɵɵlistener("Close", function MJActionFormComponentExtended_Template_mj_action_test_harness_dialog_Close_2_listener() { return ctx.onTestHarnessVisibilityChanged(false); });
|
|
1858
1858
|
i0.ɵɵelementEnd();
|
|
1859
1859
|
} if (rf & 2) {
|
|
1860
1860
|
i0.ɵɵadvance();
|
|
@@ -1863,13 +1863,13 @@ let ActionFormComponentExtended = class ActionFormComponentExtended extends MJAc
|
|
|
1863
1863
|
i0.ɵɵproperty("Action", ctx.record)("ActionParams", ctx.actionParams)("IsOpen", ctx.showTestHarness);
|
|
1864
1864
|
} }, dependencies: [i1.ɵNgNoValidate, i1.NgControlStatus, i1.NgControlStatusGroup, i1.NgModel, i1.NgForm, i2.ExpansionPanelComponent, i2.ExpansionPanelTitleDirective, i3.TextBoxComponent, i3.TextAreaComponent, i3.SwitchComponent, i4.DropDownListComponent, i5.ButtonComponent, i6.MjFormToolbarComponent, i7.CodeEditorComponent, i8.ActionTestHarnessDialogComponent, i9.DatePipe], styles: ["\n\n.action-hero-header[_ngcontent-%COMP%] {\n background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);\n color: white;\n padding: 32px;\n margin: -20px -20px 24px -20px;\n border-radius: 0 0 16px 16px;\n box-shadow: 0 4px 20px rgba(0,0,0,0.1);\n}\n\n.hero-content[_ngcontent-%COMP%] {\n max-width: 1400px;\n margin: 0 auto;\n}\n\n.action-identity[_ngcontent-%COMP%] {\n display: flex;\n align-items: flex-start;\n gap: 24px;\n margin-bottom: 24px;\n}\n\n.action-icon-wrapper[_ngcontent-%COMP%] {\n width: 80px;\n height: 80px;\n border-radius: 16px;\n display: flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n background: rgba(255,255,255,0.2);\n backdrop-filter: blur(10px);\n}\n\n.action-icon-wrapper[_ngcontent-%COMP%] i[_ngcontent-%COMP%] {\n font-size: 36px;\n}\n\n.action-info[_ngcontent-%COMP%] {\n flex: 1;\n min-width: 0;\n}\n\n.action-title-row[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 16px;\n margin-bottom: 12px;\n flex-wrap: wrap;\n}\n\n.action-title[_ngcontent-%COMP%] {\n margin: 0;\n font-size: 2em;\n font-weight: 600;\n color: white;\n}\n\n.action-name-input[_ngcontent-%COMP%] {\n font-size: 1.8em;\n font-weight: 600;\n background: rgba(255,255,255,0.2);\n border: 2px solid rgba(255,255,255,0.3);\n color: white;\n padding: 8px 16px;\n border-radius: 8px;\n min-width: 400px;\n}\n\n.action-name-input[_ngcontent-%COMP%]::placeholder {\n color: rgba(255,255,255,0.6);\n}\n\n.action-badges[_ngcontent-%COMP%] {\n display: flex;\n gap: 8px;\n flex-wrap: wrap;\n}\n\n.status-badge[_ngcontent-%COMP%], .type-badge[_ngcontent-%COMP%], .approval-badge[_ngcontent-%COMP%] {\n display: inline-flex;\n align-items: center;\n gap: 6px;\n padding: 6px 14px;\n border-radius: 20px;\n font-size: 0.85em;\n font-weight: 500;\n background: rgba(255,255,255,0.2);\n backdrop-filter: blur(10px);\n border: 1px solid rgba(255,255,255,0.3);\n}\n\n.action-category[_ngcontent-%COMP%] {\n display: inline-flex;\n align-items: center;\n gap: 8px;\n color: rgba(255,255,255,0.9);\n font-size: 0.95em;\n cursor: pointer;\n transition: all 0.2s;\n margin-bottom: 12px;\n}\n\n.action-category[_ngcontent-%COMP%]:hover {\n color: white;\n transform: translateX(4px);\n}\n\n.action-description[_ngcontent-%COMP%] {\n color: rgba(255,255,255,0.9);\n font-size: 1.05em;\n line-height: 1.5;\n margin: 0;\n}\n\n.action-description-input[_ngcontent-%COMP%] {\n width: 100%;\n max-width: 600px;\n background: rgba(255,255,255,0.2);\n border: 2px solid rgba(255,255,255,0.3);\n color: white;\n border-radius: 8px;\n}\n\n.action-description-input[_ngcontent-%COMP%]::placeholder {\n color: rgba(255,255,255,0.6);\n}\n\n\n\n.action-stats[_ngcontent-%COMP%] {\n display: flex;\n gap: 24px;\n margin-bottom: 24px;\n flex-wrap: wrap;\n}\n\n.stat-card[_ngcontent-%COMP%] {\n background: rgba(255,255,255,0.1);\n backdrop-filter: blur(10px);\n border: 1px solid rgba(255,255,255,0.2);\n border-radius: 12px;\n padding: 16px 24px;\n display: flex;\n align-items: center;\n gap: 16px;\n min-width: 160px;\n}\n\n.stat-card[_ngcontent-%COMP%] i[_ngcontent-%COMP%] {\n font-size: 24px;\n color: rgba(255,255,255,0.8);\n}\n\n.stat-content[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n}\n\n.stat-value[_ngcontent-%COMP%] {\n font-size: 1.4em;\n font-weight: 700;\n color: white;\n}\n\n.stat-label[_ngcontent-%COMP%] {\n font-size: 0.85em;\n color: rgba(255,255,255,0.7);\n text-transform: uppercase;\n letter-spacing: 0.5px;\n}\n\n\n\n.hero-actions[_ngcontent-%COMP%] {\n display: flex;\n gap: 12px;\n flex-wrap: wrap;\n}\n\n.hero-actions[_ngcontent-%COMP%] kendo-button[_ngcontent-%COMP%] {\n backdrop-filter: blur(10px);\n}\n\n\n\n.action-content[_ngcontent-%COMP%] {\n padding: 0 20px 20px;\n}\n\n.content-section[_ngcontent-%COMP%] {\n background: white;\n border: 1px solid #e9ecef;\n border-radius: 12px;\n margin-bottom: 20px;\n overflow: hidden;\n transition: all 0.3s ease;\n}\n\n.content-section[_ngcontent-%COMP%]:hover {\n box-shadow: 0 4px 12px rgba(0,0,0,0.08);\n}\n\n.section-header[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 12px;\n padding: 20px;\n background: #f8f9fa;\n cursor: pointer;\n user-select: none;\n transition: background 0.2s;\n}\n\n.section-header[_ngcontent-%COMP%]:hover {\n background: #e9ecef;\n}\n\n.section-header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] {\n margin: 0;\n font-size: 1.3em;\n color: #2c3e50;\n flex: 1;\n}\n\n.section-header[_ngcontent-%COMP%] i[_ngcontent-%COMP%]:first-child {\n font-size: 1.2em;\n color: #6c757d;\n}\n\n.section-count[_ngcontent-%COMP%] {\n background: #007bff;\n color: white;\n padding: 2px 8px;\n border-radius: 12px;\n font-size: 0.85em;\n font-weight: 500;\n}\n\n.toggle-icon[_ngcontent-%COMP%] {\n color: #6c757d;\n transition: transform 0.3s;\n}\n\n.toggle-icon.rotated[_ngcontent-%COMP%] {\n transform: rotate(-90deg);\n}\n\n.section-content[_ngcontent-%COMP%] {\n padding: 24px;\n animation: _ngcontent-%COMP%_slideDown 0.3s ease;\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}\n\n\n\n.overview-grid[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));\n gap: 20px;\n}\n\n.overview-field[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 8px;\n}\n\n.overview-field[_ngcontent-%COMP%] label[_ngcontent-%COMP%] {\n font-weight: 600;\n color: #495057;\n font-size: 0.9em;\n text-transform: uppercase;\n letter-spacing: 0.5px;\n}\n\n.required[_ngcontent-%COMP%] {\n color: #dc3545;\n}\n\n.full-width[_ngcontent-%COMP%] {\n width: 100%;\n}\n\n.overview-display[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));\n gap: 24px;\n}\n\n.display-field[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n\n.display-field[_ngcontent-%COMP%] label[_ngcontent-%COMP%] {\n font-size: 0.85em;\n color: #6c757d;\n font-weight: 600;\n text-transform: uppercase;\n letter-spacing: 0.5px;\n}\n\n.display-value[_ngcontent-%COMP%] {\n font-size: 1.1em;\n color: #2c3e50;\n}\n\n.display-value.code[_ngcontent-%COMP%] {\n font-family: 'Courier New', monospace;\n background: #f8f9fa;\n padding: 4px 8px;\n border-radius: 4px;\n}\n\n.approval-date[_ngcontent-%COMP%] {\n color: #6c757d;\n font-size: 0.85em;\n margin-left: 8px;\n}\n\n\n\n.generation-panel[_ngcontent-%COMP%] {\n background: #f8f9fa;\n border: 1px solid #e9ecef;\n border-radius: 8px;\n padding: 20px;\n margin-bottom: 24px;\n}\n\n.generation-panel[_ngcontent-%COMP%] h3[_ngcontent-%COMP%] {\n margin: 0 0 16px 0;\n color: #6f42c1;\n display: flex;\n align-items: center;\n gap: 8px;\n}\n\n.prompt-section[_ngcontent-%COMP%], .comments-section[_ngcontent-%COMP%] {\n margin-bottom: 16px;\n}\n\n.prompt-section[_ngcontent-%COMP%] label[_ngcontent-%COMP%], .comments-section[_ngcontent-%COMP%] label[_ngcontent-%COMP%] {\n display: block;\n margin-bottom: 8px;\n font-weight: 600;\n color: #495057;\n}\n\n.generation-controls[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 12px;\n padding-top: 12px;\n border-top: 1px solid #dee2e6;\n}\n\n.code-locked-badge[_ngcontent-%COMP%] {\n display: inline-flex;\n align-items: center;\n gap: 4px;\n padding: 4px 10px;\n background: #ffc107;\n color: #856404;\n border-radius: 12px;\n font-size: 0.8em;\n font-weight: 500;\n}\n\n.code-editor-section[_ngcontent-%COMP%] {\n border: 1px solid #e9ecef;\n border-radius: 8px;\n overflow: hidden;\n}\n\n.code-toolbar[_ngcontent-%COMP%] {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 12px 16px;\n background: #f8f9fa;\n border-bottom: 1px solid #e9ecef;\n}\n\n.code-toolbar[_ngcontent-%COMP%] h3[_ngcontent-%COMP%] {\n margin: 0;\n font-size: 1.1em;\n color: #495057;\n display: flex;\n align-items: center;\n gap: 8px;\n}\n\n.code-actions[_ngcontent-%COMP%] {\n display: flex;\n gap: 8px;\n}\n\n.code-comments[_ngcontent-%COMP%] {\n background: #e3f2fd;\n border: 1px solid #90caf9;\n border-radius: 8px;\n padding: 16px;\n margin-top: 16px;\n}\n\n.code-comments[_ngcontent-%COMP%] h4[_ngcontent-%COMP%] {\n margin: 0 0 8px 0;\n color: #1976d2;\n display: flex;\n align-items: center;\n gap: 8px;\n}\n\n.code-comments[_ngcontent-%COMP%] p[_ngcontent-%COMP%] {\n margin: 0;\n color: #424242;\n line-height: 1.5;\n}\n\n.approval-comments[_ngcontent-%COMP%] {\n margin-top: 16px;\n}\n\n.approval-comments[_ngcontent-%COMP%] label[_ngcontent-%COMP%] {\n display: block;\n margin-bottom: 8px;\n font-weight: 600;\n color: #dc3545;\n}\n\n\n\n.params-section[_ngcontent-%COMP%] {\n background: #f8f9fa;\n border-radius: 12px;\n padding: 20px;\n}\n\n.params-section.params-section-compact[_ngcontent-%COMP%] {\n padding: 12px 20px;\n}\n\n.params-section-compact[_ngcontent-%COMP%] .empty-state[_ngcontent-%COMP%] {\n padding: 12px !important;\n}\n\n.params-header[_ngcontent-%COMP%] {\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin-bottom: 16px;\n}\n\n.params-header[_ngcontent-%COMP%] h3[_ngcontent-%COMP%] {\n margin: 0;\n color: #495057;\n display: flex;\n align-items: center;\n gap: 8px;\n}\n\n.params-grid[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));\n gap: 16px;\n}\n\n.param-card[_ngcontent-%COMP%] {\n background: white;\n border: 2px solid #e9ecef;\n border-radius: 8px;\n padding: 16px;\n transition: all 0.2s;\n}\n\n.param-card[_ngcontent-%COMP%]:hover {\n border-color: #007bff;\n box-shadow: 0 2px 8px rgba(0,123,255,0.1);\n}\n\n.param-card.required[_ngcontent-%COMP%] {\n border-color: #ffc107;\n}\n\n.param-card.clickable[_ngcontent-%COMP%] {\n cursor: pointer;\n}\n\n.param-card.clickable[_ngcontent-%COMP%]:hover {\n background: #e7f3ff;\n border-color: #2196f3;\n transform: translateY(-1px);\n}\n\n.param-header[_ngcontent-%COMP%] {\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin-bottom: 8px;\n}\n\n.param-name[_ngcontent-%COMP%] {\n font-weight: 600;\n color: #2c3e50;\n}\n\n.param-badges[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 6px;\n}\n\n.param-edit-btn[_ngcontent-%COMP%], \n.param-delete-btn[_ngcontent-%COMP%] {\n background: none;\n border: none;\n padding: 4px 8px;\n cursor: pointer;\n color: #6c757d;\n border-radius: 4px;\n transition: all 0.2s;\n}\n\n.param-edit-btn[_ngcontent-%COMP%]:hover {\n background: #e3f2fd;\n color: #2196f3;\n}\n\n.param-delete-btn[_ngcontent-%COMP%]:hover {\n background: #ffebee;\n color: #f44336;\n}\n\n.param-details[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 8px;\n}\n\n.required-badge[_ngcontent-%COMP%] {\n background: #ffc107;\n color: #856404;\n padding: 2px 6px;\n border-radius: 4px;\n font-size: 0.75em;\n font-weight: 500;\n}\n\n.array-badge[_ngcontent-%COMP%] {\n background: #6f42c1;\n color: white;\n padding: 2px 6px;\n border-radius: 4px;\n font-size: 0.75em;\n font-weight: 500;\n}\n\n.param-type[_ngcontent-%COMP%] {\n color: #6c757d;\n font-size: 0.9em;\n margin-bottom: 8px;\n}\n\n.param-description[_ngcontent-%COMP%] {\n color: #495057;\n font-size: 0.9em;\n line-height: 1.4;\n margin-bottom: 8px;\n}\n\n.param-default[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 8px;\n margin-top: 8px;\n padding-top: 8px;\n border-top: 1px solid #e9ecef;\n}\n\n.default-label[_ngcontent-%COMP%] {\n color: #6c757d;\n font-size: 0.85em;\n}\n\n.param-default[_ngcontent-%COMP%] code[_ngcontent-%COMP%] {\n background: #f8f9fa;\n padding: 2px 6px;\n border-radius: 4px;\n font-family: 'Courier New', monospace;\n color: #e83e8c;\n}\n\n\n\n\n.result-codes-grid[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));\n gap: 16px;\n}\n\n.result-code-card[_ngcontent-%COMP%] {\n display: flex;\n align-items: flex-start;\n gap: 16px;\n padding: 16px;\n border: 2px solid #e9ecef;\n border-radius: 8px;\n background: white;\n transition: all 0.2s;\n position: relative;\n}\n\n.result-code-card.clickable[_ngcontent-%COMP%] {\n cursor: pointer;\n}\n\n.result-code-card[_ngcontent-%COMP%]:hover {\n transform: translateY(-2px);\n box-shadow: 0 4px 12px rgba(0,0,0,0.1);\n}\n\n.result-code-card.success[_ngcontent-%COMP%] {\n border-color: #28a745;\n background: #d4edda;\n}\n\n.result-code-card.failure[_ngcontent-%COMP%] {\n border-color: #dc3545;\n background: #f8d7da;\n}\n\n.result-actions[_ngcontent-%COMP%] {\n position: absolute;\n top: 8px;\n right: 8px;\n display: flex;\n gap: 4px;\n opacity: 0;\n transition: opacity 0.2s;\n}\n\n.result-code-card[_ngcontent-%COMP%]:hover .result-actions[_ngcontent-%COMP%] {\n opacity: 1;\n}\n\n.result-edit-btn[_ngcontent-%COMP%], \n.result-delete-btn[_ngcontent-%COMP%] {\n background: white;\n border: 1px solid #dee2e6;\n border-radius: 4px;\n padding: 4px 8px;\n cursor: pointer;\n transition: all 0.2s;\n font-size: 0.85em;\n}\n\n.result-edit-btn[_ngcontent-%COMP%]:hover {\n background: #007bff;\n color: white;\n border-color: #007bff;\n}\n\n.result-delete-btn[_ngcontent-%COMP%]:hover {\n background: #dc3545;\n color: white;\n border-color: #dc3545;\n}\n\n.result-icon[_ngcontent-%COMP%] {\n font-size: 1.5em;\n flex-shrink: 0;\n}\n\n.result-code-card.success[_ngcontent-%COMP%] .result-icon[_ngcontent-%COMP%] {\n color: #28a745;\n}\n\n.result-code-card.failure[_ngcontent-%COMP%] .result-icon[_ngcontent-%COMP%] {\n color: #dc3545;\n}\n\n.result-content[_ngcontent-%COMP%] {\n flex: 1;\n min-width: 0;\n}\n\n.result-code[_ngcontent-%COMP%] {\n font-weight: 600;\n color: #2c3e50;\n margin-bottom: 4px;\n font-family: 'Courier New', monospace;\n}\n\n.result-description[_ngcontent-%COMP%] {\n color: #495057;\n font-size: 0.9em;\n line-height: 1.4;\n}\n\n\n\n.execution-stats-row[_ngcontent-%COMP%] {\n display: flex;\n gap: 20px;\n margin-bottom: 32px;\n flex-wrap: wrap;\n}\n\n.stat-box[_ngcontent-%COMP%] {\n flex: 1;\n min-width: 200px;\n background: #f8f9fa;\n border: 1px solid #e9ecef;\n border-radius: 8px;\n padding: 20px;\n display: flex;\n align-items: center;\n gap: 16px;\n}\n\n.stat-box[_ngcontent-%COMP%] i[_ngcontent-%COMP%] {\n font-size: 2em;\n color: #6c757d;\n}\n\n.stat-info[_ngcontent-%COMP%] {\n flex: 1;\n}\n\n.executions-table[_ngcontent-%COMP%] {\n overflow-x: auto;\n border: 1px solid #e9ecef;\n border-radius: 8px;\n}\n\n.executions-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] {\n width: 100%;\n border-collapse: collapse;\n}\n\n.executions-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%] {\n background: #f8f9fa;\n padding: 12px;\n text-align: left;\n font-weight: 600;\n color: #495057;\n border-bottom: 2px solid #e9ecef;\n}\n\n.executions-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%] {\n padding: 12px;\n border-bottom: 1px solid #e9ecef;\n}\n\n.execution-row[_ngcontent-%COMP%] {\n transition: background 0.2s;\n}\n\n.execution-row[_ngcontent-%COMP%]:hover {\n background: #f8f9fa;\n}\n\n.execution-row.success[_ngcontent-%COMP%] {\n background: #d4edda20;\n}\n\n.running[_ngcontent-%COMP%] {\n color: #ffc107;\n font-style: italic;\n}\n\n.result-code[_ngcontent-%COMP%] {\n display: inline-block;\n padding: 4px 8px;\n border-radius: 4px;\n font-size: 0.85em;\n font-weight: 500;\n font-family: 'Courier New', monospace;\n}\n\n.result-code.success[_ngcontent-%COMP%] {\n background: #d4edda;\n color: #155724;\n}\n\n.result-code.failure[_ngcontent-%COMP%] {\n background: #f8d7da;\n color: #721c24;\n}\n\n\n\n.config-subsection[_ngcontent-%COMP%] {\n margin-bottom: 32px;\n}\n\n.config-subsection[_ngcontent-%COMP%] h3[_ngcontent-%COMP%] {\n margin: 0 0 16px 0;\n color: #495057;\n display: flex;\n align-items: center;\n gap: 8px;\n}\n\n.library-cards[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 12px;\n}\n\n.library-card[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 16px;\n padding: 16px;\n background: #f8f9fa;\n border: 1px solid #e9ecef;\n border-radius: 8px;\n cursor: pointer;\n transition: all 0.2s;\n}\n\n.library-card[_ngcontent-%COMP%]:hover {\n background: #e9ecef;\n transform: translateX(4px);\n}\n\n.library-card[_ngcontent-%COMP%] i[_ngcontent-%COMP%]:first-child {\n font-size: 1.5em;\n color: #6c757d;\n}\n\n.library-info[_ngcontent-%COMP%] {\n flex: 1;\n min-width: 0;\n}\n\n.library-name[_ngcontent-%COMP%] {\n font-weight: 600;\n color: #2c3e50;\n margin-bottom: 4px;\n}\n\n.library-items[_ngcontent-%COMP%] {\n color: #6c757d;\n font-size: 0.9em;\n font-family: 'Courier New', monospace;\n}\n\n.related-entities-grid[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));\n gap: 12px;\n}\n\n.related-entity-link[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 12px;\n padding: 16px;\n background: #f8f9fa;\n border: 1px solid #e9ecef;\n border-radius: 8px;\n cursor: pointer;\n transition: all 0.2s;\n}\n\n.related-entity-link[_ngcontent-%COMP%]:hover {\n background: #e9ecef;\n border-color: #007bff;\n}\n\n.related-entity-link[_ngcontent-%COMP%] i[_ngcontent-%COMP%] {\n font-size: 1.2em;\n color: #6c757d;\n}\n\n.related-entity-link[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:first-of-type {\n flex: 1;\n font-weight: 500;\n color: #495057;\n}\n\n.entity-count[_ngcontent-%COMP%] {\n color: #007bff;\n font-size: 0.9em;\n}\n\n\n\n.loading-state[_ngcontent-%COMP%] {\n text-align: center;\n padding: 60px;\n color: #6c757d;\n}\n\n.loading-state[_ngcontent-%COMP%] i[_ngcontent-%COMP%] {\n font-size: 2em;\n margin-bottom: 12px;\n}\n\n.empty-state[_ngcontent-%COMP%] {\n text-align: center;\n padding: 60px;\n color: #6c757d;\n}\n\n.empty-state.mini[_ngcontent-%COMP%] {\n padding: 20px;\n}\n\n.empty-state[_ngcontent-%COMP%] i[_ngcontent-%COMP%] {\n font-size: 3em;\n margin-bottom: 16px;\n opacity: 0.3;\n}\n\n.empty-state[_ngcontent-%COMP%] p[_ngcontent-%COMP%] {\n margin: 0;\n font-size: 1.1em;\n}\n\n.empty-hint[_ngcontent-%COMP%] {\n margin-top: 8px !important;\n font-size: 0.9em !important;\n opacity: 0.7;\n}\n\n.no-params[_ngcontent-%COMP%] {\n text-align: center;\n padding: 20px;\n color: #6c757d;\n font-style: italic;\n}\n\n.no-params[_ngcontent-%COMP%] p[_ngcontent-%COMP%] {\n margin: 0;\n}\n\n\n\n@media (max-width: 768px) {\n .action-hero-header[_ngcontent-%COMP%] {\n padding: 20px;\n }\n \n .action-identity[_ngcontent-%COMP%] {\n flex-direction: column;\n text-align: center;\n }\n \n .action-icon-wrapper[_ngcontent-%COMP%] {\n margin: 0 auto;\n }\n \n .action-title-row[_ngcontent-%COMP%] {\n justify-content: center;\n }\n \n .action-stats[_ngcontent-%COMP%] {\n justify-content: center;\n }\n \n .params-grid[_ngcontent-%COMP%] {\n grid-template-columns: 1fr;\n }\n}"] }); }
|
|
1865
1865
|
};
|
|
1866
|
-
|
|
1866
|
+
MJActionFormComponentExtended = __decorate([
|
|
1867
1867
|
RegisterClass(BaseFormComponent, 'MJ: Actions')
|
|
1868
|
-
],
|
|
1869
|
-
export {
|
|
1870
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(
|
|
1868
|
+
], MJActionFormComponentExtended);
|
|
1869
|
+
export { MJActionFormComponentExtended };
|
|
1870
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MJActionFormComponentExtended, [{
|
|
1871
1871
|
type: Component,
|
|
1872
1872
|
args: [{ standalone: false, selector: 'mj-action-form', template: "<div class=\"record-form-container\">\n @if (record) {\n <form class=\"record-form\" #form=\"ngForm\">\n <mj-form-toolbar [Form]=\"this\"></mj-form-toolbar>\n\n <!-- Main Content Area -->\n <div class=\"action-main-area\" style=\"display: flex; flex-direction: column; height: 100%; overflow-y: auto;\">\n \n <!-- Header Section -->\n <div class=\"action-header\" style=\"flex-shrink: 0; padding: 20px; background: #f8f9fa; border-bottom: 2px solid #e9ecef;\">\n <div style=\"display: flex; justify-content: space-between; align-items: flex-start; gap: 20px;\">\n \n <!-- Left: Action Info -->\n <div style=\"flex: 1; min-width: 0;\">\n <div style=\"display: flex; align-items: center; gap: 12px; margin-bottom: 8px;\">\n <i [class]=\"getActionIcon()\" [style.color]=\"getTypeColor()\" style=\"font-size: 1.4em;\"></i>\n @if (EditMode) {\n <kendo-textbox [(ngModel)]=\"record.Name\" \n name=\"actionName\"\n placeholder=\"Enter action name...\"\n style=\"font-size: 1.2em; font-weight: 600; min-width: 300px; flex: 1;\">\n </kendo-textbox>\n } @else {\n <h4 style=\"margin: 0; color: #495057; font-weight: 600; flex: 1;\">{{ record.Name || 'Untitled Action' }}</h4>\n <span class=\"status-badge\" [style.background-color]=\"getStatusColor()\" \n style=\"color: white; padding: 4px 10px; border-radius: 12px; font-size: 0.75em; font-weight: 500;\">\n {{ record.Status }}\n </span>\n }\n </div>\n \n <!-- Status and Type Editors when in edit mode -->\n @if (EditMode) {\n <div style=\"display: flex; gap: 16px; margin-bottom: 12px; flex-wrap: wrap;\">\n <div>\n <label style=\"display: block; margin-bottom: 4px; font-weight: 600; color: #495057; font-size: 0.9em;\">Status</label>\n <kendo-dropdownlist [(ngModel)]=\"record.Status\"\n name=\"actionStatus\"\n [data]=\"[{text: 'Active', value: 'Active'}, {text: 'Pending', value: 'Pending'}, {text: 'Disabled', value: 'Disabled'}]\"\n textField=\"text\"\n valueField=\"value\"\n [valuePrimitive]=\"true\"\n style=\"width: 150px;\">\n </kendo-dropdownlist>\n </div>\n <div>\n <label style=\"display: block; margin-bottom: 4px; font-weight: 600; color: #495057; font-size: 0.9em;\">\n Type <span style=\"color: #dc3545;\">*</span>\n </label>\n <kendo-dropdownlist [(ngModel)]=\"record.Type\"\n name=\"actionType\"\n [data]=\"[{text: 'Generated', value: 'Generated'}, {text: 'Custom', value: 'Custom'}]\"\n textField=\"text\"\n valueField=\"value\"\n [valuePrimitive]=\"true\"\n style=\"width: 150px;\">\n </kendo-dropdownlist>\n </div>\n <div>\n <label style=\"display: block; margin-bottom: 4px; font-weight: 600; color: #495057; font-size: 0.9em;\">\n Category <span style=\"color: #dc3545;\">*</span>\n </label>\n <kendo-dropdownlist [(ngModel)]=\"record.CategoryID\"\n name=\"categoryID\"\n [data]=\"[]\"\n placeholder=\"Select category...\"\n style=\"width: 200px;\">\n </kendo-dropdownlist>\n </div>\n </div>\n }\n \n @if (EditMode) {\n <kendo-textarea [(ngModel)]=\"record.Description\" \n name=\"actionDescription\"\n [rows]=\"2\"\n placeholder=\"Enter action description...\"\n style=\"width: 100%; max-width: 600px; margin-bottom: 12px;\">\n </kendo-textarea>\n } @else if (record.Description) {\n <p style=\"margin: 0 0 12px 0; color: #6c757d; font-size: 0.9em; line-height: 1.4;\">{{ record.Description }}</p>\n }\n \n <!-- Quick Config Row -->\n <div class=\"quick-config\" style=\"display: flex; align-items: center; gap: 16px; flex-wrap: wrap;\">\n @if (category) {\n <div class=\"config-item\" style=\"display: flex; align-items: center; gap: 6px; font-size: 0.85em;\">\n <i class=\"fa-solid fa-folder\" style=\"color: #6c757d;\"></i>\n <span style=\"color: #6c757d;\">Category:</span>\n <span style=\"color: #495057; font-weight: 500; cursor: pointer;\" (click)=\"navigateToCategory()\">\n {{ category.Name }}\n <i class=\"fa-solid fa-external-link\" style=\"font-size: 0.75em; margin-left: 4px;\"></i>\n </span>\n </div>\n }\n \n <div class=\"config-item\" style=\"display: flex; align-items: center; gap: 6px; font-size: 0.85em;\">\n <i class=\"fa-solid fa-cube\" style=\"color: #6c757d;\"></i>\n <span style=\"color: #6c757d;\">Type:</span>\n <span style=\"color: #495057; font-weight: 500;\">{{ record.Type }}</span>\n </div>\n \n @if (record.Type === 'Generated' && record.CodeApprovalStatus) {\n <div class=\"config-item\" style=\"display: flex; align-items: center; gap: 6px; font-size: 0.85em;\">\n <i [class]=\"'fa-solid ' + getApprovalStatusIcon()\" [style.color]=\"getApprovalStatusColor()\"></i>\n <span style=\"color: #6c757d;\">Code:</span>\n <span [style.color]=\"getApprovalStatusColor()\" style=\"font-weight: 500;\">{{ record.CodeApprovalStatus }}</span>\n </div>\n }\n \n @if (actionParams.length > 0) {\n <div class=\"config-item\" style=\"display: flex; align-items: center; gap: 6px; font-size: 0.85em;\">\n <i class=\"fa-solid fa-sliders\" style=\"color: #6c757d;\"></i>\n <span style=\"color: #495057; font-weight: 500;\">{{ actionParams.length }} Parameters</span>\n </div>\n }\n </div>\n </div>\n \n <!-- Right: Action Buttons -->\n <div class=\"action-buttons\" style=\"display: flex; flex-direction: column; gap: 8px; align-items: flex-end;\">\n <div style=\"display: flex; gap: 8px;\">\n @if (record.ID) {\n <button kendoButton themeColor=\"primary\" size=\"large\"\n (click)=\"openTestHarness()\"\n title=\"Open Run Harness\"\n [disabled]=\"record.Status !== 'Active'\">\n <i class=\"fa-solid fa-play\"></i> Run\n </button>\n }\n @if (EditMode && record.Type === 'Generated') {\n <button kendoButton themeColor=\"info\" size=\"medium\"\n (click)=\"regenerateCode()\"\n title=\"Regenerate Code\">\n <i class=\"fa-solid fa-robot\"></i> Regenerate\n </button>\n }\n </div>\n \n @if (EditMode && record.CodeApprovalStatus === 'Pending' && record.Type === 'Generated') {\n <div style=\"display: flex; gap: 8px;\">\n <button kendoButton themeColor=\"success\" size=\"small\"\n (click)=\"approveCode()\">\n <i class=\"fa-solid fa-check\"></i> Approve\n </button>\n <button kendoButton themeColor=\"error\" size=\"small\"\n (click)=\"rejectCode()\">\n <i class=\"fa-solid fa-times\"></i> Reject\n </button>\n </div>\n }\n \n @if (!EditMode && record.Status !== 'Active' && record.ID) {\n <div style=\"font-size: 0.75em; color: #dc3545; text-align: right;\">\n Action must be Active to execute\n </div>\n }\n </div>\n </div>\n </div>\n\n <!-- Configuration Sections with Expansion Panels -->\n <div class=\"configuration-sections\" style=\"flex: 1; background: white; border-top: 2px solid #e9ecef; padding: 16px; min-height: 0;\">\n \n <!-- Parameters Section (FIRST) -->\n <kendo-expansionpanel \n [expanded]=\"true\"\n style=\"margin-bottom: 12px;\">\n <ng-template kendoExpansionPanelTitleDirective>\n <span style=\"display: flex; align-items: center; gap: 8px; font-weight: 600;\">\n <i class=\"fa-solid fa-sliders\" style=\"color: #6c757d;\"></i>\n Parameters\n @if (actionParams.length > 0) {\n <span style=\"background: #17a2b8; color: white; padding: 2px 6px; border-radius: 10px; font-size: 0.7em;\">\n {{ actionParams.length }}\n </span>\n }\n </span>\n </ng-template>\n \n <div style=\"padding: 16px;\">\n @if (isLoadingParams) {\n <div class=\"loading-state\">\n <i class=\"fa-solid fa-spinner fa-spin\"></i>\n Loading parameters...\n </div>\n } @else if (actionParams.length === 0) {\n <div class=\"empty-state\" style=\"padding: 30px; text-align: center;\">\n <i class=\"fa-solid fa-sliders\" style=\"font-size: 2em; color: #6c757d; opacity: 0.3;\"></i>\n <p style=\"margin: 12px 0 0 0; color: #6c757d;\">No parameters defined</p>\n @if (EditMode && record.IsSaved) {\n <p style=\"margin: 8px 0 0 0; font-size: 0.85em; color: #6c757d;\">Add parameters to define inputs and outputs for this action</p>\n }\n </div>\n } @else {\n <!-- Input Parameters Grid -->\n <div class=\"params-section\">\n <div class=\"params-header\">\n <h3><i class=\"fa-solid fa-sign-in-alt\"></i> Input Parameters</h3>\n @if (EditMode && record.IsSaved) {\n <button kendoButton fillMode=\"flat\" size=\"small\" (click)=\"addParameter('Input')\">\n <i class=\"fa-solid fa-plus\"></i> Add Input\n </button>\n }\n </div>\n \n @if (getInputParams().length === 0) {\n <div class=\"empty-state\" style=\"padding: 30px; text-align: center;\">\n <i class=\"fa-solid fa-inbox\" style=\"font-size: 2em; color: #6c757d; opacity: 0.3;\"></i>\n <p style=\"margin: 12px 0 0 0; color: #6c757d;\">No input parameters defined</p>\n </div>\n } @else {\n <div class=\"params-grid\">\n @for (param of getInputParams(); track param.ID) {\n <div class=\"param-card\" [class.required]=\"param.IsRequired\" \n [class.clickable]=\"true\"\n (click)=\"onParamClick(param, $event)\">\n <div class=\"param-header\">\n <span class=\"param-name\">{{ param.Name }}</span>\n <div class=\"param-badges\">\n @if (param.IsRequired) {\n <span class=\"required-badge\">Required</span>\n }\n @if (param.IsArray) {\n <span class=\"array-badge\">Array</span>\n }\n @if (EditMode) {\n <button class=\"param-edit-btn\" (click)=\"editParameter(param)\" title=\"Edit parameter\">\n <i class=\"fa-solid fa-edit\"></i>\n </button>\n <button class=\"param-delete-btn\" (click)=\"deleteParameter(param)\" title=\"Delete parameter\">\n <i class=\"fa-solid fa-trash\"></i>\n </button>\n }\n </div>\n </div>\n <div class=\"param-details\">\n <div class=\"param-type\">{{ param.ValueType }}</div>\n @if (param.Description) {\n <div class=\"param-description\">{{ param.Description }}</div>\n }\n @if (param.DefaultValue) {\n <div class=\"param-default\">\n <span class=\"default-label\">Default:</span>\n <code>{{ param.DefaultValue }}</code>\n </div>\n }\n </div>\n </div>\n }\n </div>\n }\n </div>\n\n <!-- Output Parameters Grid -->\n <div class=\"params-section\" style=\"margin-top: 24px;\" \n [class.params-section-compact]=\"getOutputParams().length === 0\">\n <div class=\"params-header\">\n <h3><i class=\"fa-solid fa-sign-out-alt\"></i> Output Parameters</h3>\n @if (EditMode && record.IsSaved) {\n <button kendoButton fillMode=\"flat\" size=\"small\" (click)=\"addParameter('Output')\">\n <i class=\"fa-solid fa-plus\"></i> Add Output\n </button>\n }\n </div>\n \n @if (getOutputParams().length === 0) {\n <div class=\"empty-state\" style=\"padding: 20px; text-align: center;\">\n <i class=\"fa-solid fa-inbox\" style=\"font-size: 2em; color: #6c757d; opacity: 0.3;\"></i>\n <p style=\"margin: 12px 0 0 0; color: #6c757d;\">No output parameters defined</p>\n </div>\n } @else {\n <div class=\"params-grid\">\n @for (param of getOutputParams(); track param.ID) {\n <div class=\"param-card\"\n [class.clickable]=\"true\"\n (click)=\"onParamClick(param, $event)\">\n <div class=\"param-header\">\n <span class=\"param-name\">{{ param.Name }}</span>\n <div class=\"param-badges\">\n @if (param.IsArray) {\n <span class=\"array-badge\">Array</span>\n }\n @if (EditMode) {\n <button class=\"param-edit-btn\" (click)=\"editParameter(param)\" title=\"Edit parameter\">\n <i class=\"fa-solid fa-edit\"></i>\n </button>\n <button class=\"param-delete-btn\" (click)=\"deleteParameter(param)\" title=\"Delete parameter\">\n <i class=\"fa-solid fa-trash\"></i>\n </button>\n }\n </div>\n </div>\n <div class=\"param-details\">\n <div class=\"param-type\">{{ param.ValueType }}</div>\n @if (param.Description) {\n <div class=\"param-description\">{{ param.Description }}</div>\n }\n @if (param.DefaultValue) {\n <div class=\"param-default\">\n <span class=\"default-label\">Default:</span>\n <code>{{ param.DefaultValue }}</code>\n </div>\n }\n </div>\n </div>\n }\n </div>\n }\n </div>\n }\n </div>\n </kendo-expansionpanel>\n\n <!-- Code & Generation Section (Only for Generated type) -->\n @if (record.Type === 'Generated') {\n <kendo-expansionpanel \n [expanded]=\"expandedSections.code\"\n style=\"margin-bottom: 12px;\">\n <ng-template kendoExpansionPanelTitleDirective>\n <span style=\"display: flex; align-items: center; gap: 8px; font-weight: 600;\">\n <i class=\"fa-solid fa-code\" style=\"color: #6c757d;\"></i>\n Code & Generation\n @if (record.CodeLocked) {\n <span style=\"background: #ffc107; color: #856404; padding: 2px 6px; border-radius: 10px; font-size: 0.7em;\">\n <i class=\"fa-solid fa-lock\"></i> Locked\n </span>\n }\n </span>\n </ng-template>\n \n <div style=\"padding: 16px;\">\n @if (EditMode) {\n <div class=\"generation-panel\">\n <h3><i class=\"fa-solid fa-robot\"></i> AI Generation</h3>\n <div class=\"prompt-section\">\n <label>User Prompt</label>\n <kendo-textarea [(ngModel)]=\"record.UserPrompt\"\n name=\"userPrompt\"\n [rows]=\"8\"\n placeholder=\"Describe what this action should do...\"\n style=\"width: 100%; min-height: 120px;\">\n </kendo-textarea>\n </div>\n <div class=\"comments-section\">\n <label>Internal Comments (not sent to AI)</label>\n <kendo-textarea [(ngModel)]=\"record.UserComments\"\n name=\"userComments\"\n [rows]=\"2\"\n placeholder=\"Internal notes...\"\n style=\"width: 100%;\">\n </kendo-textarea>\n </div>\n <div class=\"generation-controls\">\n <kendo-switch [(ngModel)]=\"record.CodeLocked\"\n name=\"codeLocked\">\n </kendo-switch>\n <label style=\"margin-left: 8px;\">Lock Code (prevent regeneration)</label>\n </div>\n </div>\n }\n \n <div class=\"code-editor-section\">\n <div class=\"code-toolbar\">\n <h3><i class=\"fa-solid fa-file-code\"></i> Action Code</h3>\n <div class=\"code-actions\">\n @if (record.CodeComments) {\n <button kendoButton fillMode=\"flat\" size=\"small\" (click)=\"toggleCodeComments()\">\n <i class=\"fa-solid fa-comment\"></i> \n {{ showCodeComments ? 'Hide' : 'Show' }} AI Comments\n </button>\n }\n <button kendoButton fillMode=\"flat\" size=\"small\" (click)=\"copyToClipboard(record.Code || '')\">\n <i class=\"fa-solid fa-copy\"></i> Copy\n </button>\n </div>\n </div>\n <mj-code-editor \n [(ngModel)]=\"record.Code\"\n name=\"actionCode\"\n [readonly]=\"!EditMode || record.CodeLocked\"\n [language]=\"codeLanguage\"\n [lineWrapping]=\"true\"\n style=\"height: 400px; width: 100%;\">\n </mj-code-editor>\n \n @if (showCodeComments && record.CodeComments) {\n <div class=\"code-comments\">\n <h4><i class=\"fa-solid fa-robot\"></i> AI Explanation</h4>\n <p>{{ record.CodeComments }}</p>\n </div>\n }\n \n @if (EditMode && record.CodeApprovalStatus === 'Rejected') {\n <div class=\"approval-comments\">\n <label>Rejection Comments</label>\n <kendo-textarea [(ngModel)]=\"record.CodeApprovalComments\"\n name=\"codeApprovalComments\"\n [rows]=\"2\"\n placeholder=\"Explain why the code was rejected...\"\n style=\"width: 100%;\">\n </kendo-textarea>\n </div>\n }\n </div>\n </div>\n </kendo-expansionpanel>\n }\n\n <!-- Result Codes Section -->\n <kendo-expansionpanel \n [expanded]=\"expandedSections.resultCodes\"\n style=\"margin-bottom: 12px;\">\n <ng-template kendoExpansionPanelTitleDirective>\n <span style=\"display: flex; align-items: center; gap: 8px; font-weight: 600;\">\n <i class=\"fa-solid fa-flag-checkered\" style=\"color: #6c757d;\"></i>\n Result Codes\n @if (resultCodes.length > 0) {\n <span style=\"background: #28a745; color: white; padding: 2px 6px; border-radius: 10px; font-size: 0.7em;\">\n {{ resultCodes.length }}\n </span>\n }\n </span>\n </ng-template>\n \n <div style=\"padding: 16px;\">\n <!-- Add Result Code Button -->\n @if (EditMode && record.IsSaved) {\n <div style=\"display: flex; justify-content: flex-end; margin-bottom: 12px;\">\n <button kendoButton [primary]=\"true\" size=\"small\" (click)=\"addResultCode()\">\n <i class=\"fa-solid fa-plus\"></i> Add Result Code\n </button>\n </div>\n }\n \n @if (isLoadingResultCodes) {\n <div class=\"loading-state\">\n <i class=\"fa-solid fa-spinner fa-spin\"></i>\n Loading result codes...\n </div>\n } @else if (resultCodes.length === 0) {\n <div class=\"empty-state\" style=\"padding: 30px; text-align: center;\">\n <i class=\"fa-solid fa-flag-checkered\" style=\"font-size: 2em; color: #6c757d; opacity: 0.3;\"></i>\n <p style=\"margin: 12px 0 0 0; color: #6c757d;\">No result codes defined</p>\n @if (EditMode && record.IsSaved) {\n <p style=\"margin: 8px 0 0 0; font-size: 0.85em; color: #6c757d;\">Add result codes to define possible outcomes</p>\n }\n </div>\n } @else {\n <div class=\"result-codes-grid\">\n @for (code of resultCodes; track code.ID) {\n <div class=\"result-code-card\" \n [class.success]=\"code.IsSuccess\" \n [class.failure]=\"!code.IsSuccess\"\n [class.clickable]=\"true\"\n (click)=\"onResultCodeClick(code, $event)\">\n <div class=\"result-icon\">\n <i [class]=\"code.IsSuccess ? 'fa-solid fa-check-circle' : 'fa-solid fa-times-circle'\"></i>\n </div>\n <div class=\"result-content\">\n <div class=\"result-code\">{{ code.ResultCode }}</div>\n @if (code.Description) {\n <div class=\"result-description\">{{ code.Description }}</div>\n }\n </div>\n @if (EditMode) {\n <div class=\"result-actions\">\n <button class=\"result-edit-btn\" (click)=\"editResultCode(code); $event.stopPropagation()\" title=\"Edit result code\">\n <i class=\"fa-solid fa-edit\"></i>\n </button>\n <button class=\"result-delete-btn\" (click)=\"deleteResultCode(code); $event.stopPropagation()\" title=\"Delete result code\">\n <i class=\"fa-solid fa-trash\"></i>\n </button>\n </div>\n }\n </div>\n }\n </div>\n }\n </div>\n </kendo-expansionpanel>\n\n <!-- Execution & Monitoring Section -->\n @if (record.IsSaved) {\n <kendo-expansionpanel \n [expanded]=\"expandedSections.execution\"\n style=\"margin-bottom: 12px;\">\n <ng-template kendoExpansionPanelTitleDirective>\n <span style=\"display: flex; align-items: center; gap: 8px; font-weight: 600;\">\n <i class=\"fa-solid fa-chart-line\" style=\"color: #6c757d;\"></i>\n Execution & Monitoring\n </span>\n </ng-template>\n \n <div style=\"padding: 16px;\">\n @if (isLoadingExecutions) {\n <div class=\"loading-state\">\n <i class=\"fa-solid fa-spinner fa-spin\"></i>\n Loading executions...\n </div>\n } @else if (recentExecutions.length === 0) {\n <div class=\"empty-state\" style=\"padding: 30px; text-align: center;\">\n <i class=\"fa-solid fa-chart-line\" style=\"font-size: 2em; color: #6c757d; opacity: 0.3;\"></i>\n <p style=\"margin: 12px 0 0 0; color: #6c757d;\">No executions yet</p>\n </div>\n } @else {\n <div class=\"execution-stats-row\">\n <div class=\"stat-box\">\n <i class=\"fa-solid fa-tachometer-alt\"></i>\n <div class=\"stat-info\">\n <div class=\"stat-label\" style=\"color: #212529;\">Avg Duration</div>\n <div class=\"stat-value\" style=\"color: #212529;\">{{ formatDuration(executionStats.avgDuration) }}</div>\n </div>\n </div>\n <div class=\"stat-box\">\n <i class=\"fa-solid fa-check-circle\" [style.color]=\"getSuccessRateColor()\"></i>\n <div class=\"stat-info\">\n <div class=\"stat-label\" style=\"color: #212529;\">Success Rate</div>\n <div class=\"stat-value\" [style.color]=\"getSuccessRateColor()\" style=\"font-weight: 600;\">{{ executionStats.successRate.toFixed(0) }}%</div>\n </div>\n </div>\n <div class=\"stat-box\">\n <i class=\"fa-solid fa-play-circle\"></i>\n <div class=\"stat-info\">\n <div class=\"stat-label\" style=\"color: #212529;\">Total Runs</div>\n <div class=\"stat-value\" style=\"color: #212529;\">{{ executionStats.totalRuns }}</div>\n </div>\n </div>\n </div>\n\n <h3 style=\"margin-top: 24px;\"><i class=\"fa-solid fa-history\"></i> Recent Executions</h3>\n <div class=\"executions-table\">\n <table>\n <thead>\n <tr>\n <th>Started</th>\n <th>Duration</th>\n <th>User</th>\n <th>Result</th>\n <th>Actions</th>\n </tr>\n </thead>\n <tbody>\n @for (execution of recentExecutions; track execution.ID) {\n <tr class=\"execution-row\" [class.success]=\"isExecutionSuccess(execution)\">\n <td>{{ execution.StartedAt | date:'short' }}</td>\n <td>\n @if (execution.EndedAt) {\n {{ formatDuration(getExecutionDuration(execution)) }}\n } @else {\n <span class=\"running\">Running...</span>\n }\n </td>\n <td>{{ execution.User }}</td>\n <td>\n <span class=\"result-code\" \n [class.success]=\"isExecutionSuccess(execution)\"\n [class.failure]=\"!isExecutionSuccess(execution)\">\n {{ execution.ResultCode }}\n </span>\n </td>\n <td>\n <button kendoButton fillMode=\"flat\" size=\"small\" (click)=\"navigateToExecution(execution.ID)\">\n <i class=\"fa-solid fa-external-link\"></i>\n </button>\n </td>\n </tr>\n }\n </tbody>\n </table>\n </div>\n }\n </div>\n </kendo-expansionpanel>\n }\n\n <!-- Related Configuration Section -->\n @if (record.IsSaved) {\n <kendo-expansionpanel \n [expanded]=\"expandedSections.configuration\"\n style=\"margin-bottom: 12px;\">\n <ng-template kendoExpansionPanelTitleDirective>\n <span style=\"display: flex; align-items: center; gap: 8px; font-weight: 600;\">\n <i class=\"fa-solid fa-cogs\" style=\"color: #6c757d;\"></i>\n Related Configuration\n </span>\n </ng-template>\n \n <div style=\"padding: 16px;\">\n <!-- Libraries -->\n <div class=\"config-subsection\">\n <h3><i class=\"fa-solid fa-book\"></i> Libraries</h3>\n @if (isLoadingLibraries) {\n <div class=\"loading-state\">\n <i class=\"fa-solid fa-spinner fa-spin\"></i>\n Loading libraries...\n </div>\n } @else if (actionLibraries.length === 0) {\n <div class=\"empty-state mini\">\n <p>No libraries configured</p>\n </div>\n } @else {\n <div class=\"library-cards\">\n @for (lib of libraries; track lib.ID; let i = $index) {\n <div class=\"library-card\" (click)=\"navigateToLibrary(lib.ID)\">\n <i class=\"fa-solid fa-book\"></i>\n <div class=\"library-info\">\n <div class=\"library-name\">{{ lib.Name }}</div>\n @if (actionLibraries[i].ItemsUsed) {\n <div class=\"library-items\">{{ actionLibraries[i].ItemsUsed }}</div>\n }\n </div>\n <i class=\"fa-solid fa-external-link\"></i>\n </div>\n }\n </div>\n }\n </div>\n\n <!-- Other Related Entities -->\n <div class=\"related-entities-grid\">\n <div class=\"related-entity-link\">\n <i class=\"fa-solid fa-shield-alt\"></i>\n <span>Authorizations</span>\n <span class=\"entity-count\">View</span>\n </div>\n <div class=\"related-entity-link\">\n <i class=\"fa-solid fa-layer-group\"></i>\n <span>Contexts</span>\n <span class=\"entity-count\">View</span>\n </div>\n <div class=\"related-entity-link\">\n <i class=\"fa-solid fa-calendar\"></i>\n <span>Scheduled Actions</span>\n <span class=\"entity-count\">View</span>\n </div>\n <div class=\"related-entity-link\">\n <i class=\"fa-solid fa-cube\"></i>\n <span>Entity Actions</span>\n <span class=\"entity-count\">View</span>\n </div>\n </div>\n </div>\n </kendo-expansionpanel>\n }\n </div>\n </div>\n </form>\n }\n</div>\n\n<!-- Action Test Harness Dialog -->\n<mj-action-test-harness-dialog\n [Action]=\"record\"\n [ActionParams]=\"actionParams\"\n [IsOpen]=\"showTestHarness\"\n (Close)=\"onTestHarnessVisibilityChanged(false)\">\n</mj-action-test-harness-dialog>", styles: ["/* Hero Header Section */\n.action-hero-header {\n background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);\n color: white;\n padding: 32px;\n margin: -20px -20px 24px -20px;\n border-radius: 0 0 16px 16px;\n box-shadow: 0 4px 20px rgba(0,0,0,0.1);\n}\n\n.hero-content {\n max-width: 1400px;\n margin: 0 auto;\n}\n\n.action-identity {\n display: flex;\n align-items: flex-start;\n gap: 24px;\n margin-bottom: 24px;\n}\n\n.action-icon-wrapper {\n width: 80px;\n height: 80px;\n border-radius: 16px;\n display: flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n background: rgba(255,255,255,0.2);\n backdrop-filter: blur(10px);\n}\n\n.action-icon-wrapper i {\n font-size: 36px;\n}\n\n.action-info {\n flex: 1;\n min-width: 0;\n}\n\n.action-title-row {\n display: flex;\n align-items: center;\n gap: 16px;\n margin-bottom: 12px;\n flex-wrap: wrap;\n}\n\n.action-title {\n margin: 0;\n font-size: 2em;\n font-weight: 600;\n color: white;\n}\n\n.action-name-input {\n font-size: 1.8em;\n font-weight: 600;\n background: rgba(255,255,255,0.2);\n border: 2px solid rgba(255,255,255,0.3);\n color: white;\n padding: 8px 16px;\n border-radius: 8px;\n min-width: 400px;\n}\n\n.action-name-input::placeholder {\n color: rgba(255,255,255,0.6);\n}\n\n.action-badges {\n display: flex;\n gap: 8px;\n flex-wrap: wrap;\n}\n\n.status-badge, .type-badge, .approval-badge {\n display: inline-flex;\n align-items: center;\n gap: 6px;\n padding: 6px 14px;\n border-radius: 20px;\n font-size: 0.85em;\n font-weight: 500;\n background: rgba(255,255,255,0.2);\n backdrop-filter: blur(10px);\n border: 1px solid rgba(255,255,255,0.3);\n}\n\n.action-category {\n display: inline-flex;\n align-items: center;\n gap: 8px;\n color: rgba(255,255,255,0.9);\n font-size: 0.95em;\n cursor: pointer;\n transition: all 0.2s;\n margin-bottom: 12px;\n}\n\n.action-category:hover {\n color: white;\n transform: translateX(4px);\n}\n\n.action-description {\n color: rgba(255,255,255,0.9);\n font-size: 1.05em;\n line-height: 1.5;\n margin: 0;\n}\n\n.action-description-input {\n width: 100%;\n max-width: 600px;\n background: rgba(255,255,255,0.2);\n border: 2px solid rgba(255,255,255,0.3);\n color: white;\n border-radius: 8px;\n}\n\n.action-description-input::placeholder {\n color: rgba(255,255,255,0.6);\n}\n\n/* Quick Stats */\n.action-stats {\n display: flex;\n gap: 24px;\n margin-bottom: 24px;\n flex-wrap: wrap;\n}\n\n.stat-card {\n background: rgba(255,255,255,0.1);\n backdrop-filter: blur(10px);\n border: 1px solid rgba(255,255,255,0.2);\n border-radius: 12px;\n padding: 16px 24px;\n display: flex;\n align-items: center;\n gap: 16px;\n min-width: 160px;\n}\n\n.stat-card i {\n font-size: 24px;\n color: rgba(255,255,255,0.8);\n}\n\n.stat-content {\n display: flex;\n flex-direction: column;\n}\n\n.stat-value {\n font-size: 1.4em;\n font-weight: 700;\n color: white;\n}\n\n.stat-label {\n font-size: 0.85em;\n color: rgba(255,255,255,0.7);\n text-transform: uppercase;\n letter-spacing: 0.5px;\n}\n\n/* Hero Actions */\n.hero-actions {\n display: flex;\n gap: 12px;\n flex-wrap: wrap;\n}\n\n.hero-actions kendo-button {\n backdrop-filter: blur(10px);\n}\n\n/* Main Content Sections */\n.action-content {\n padding: 0 20px 20px;\n}\n\n.content-section {\n background: white;\n border: 1px solid #e9ecef;\n border-radius: 12px;\n margin-bottom: 20px;\n overflow: hidden;\n transition: all 0.3s ease;\n}\n\n.content-section:hover {\n box-shadow: 0 4px 12px rgba(0,0,0,0.08);\n}\n\n.section-header {\n display: flex;\n align-items: center;\n gap: 12px;\n padding: 20px;\n background: #f8f9fa;\n cursor: pointer;\n user-select: none;\n transition: background 0.2s;\n}\n\n.section-header:hover {\n background: #e9ecef;\n}\n\n.section-header h2 {\n margin: 0;\n font-size: 1.3em;\n color: #2c3e50;\n flex: 1;\n}\n\n.section-header i:first-child {\n font-size: 1.2em;\n color: #6c757d;\n}\n\n.section-count {\n background: #007bff;\n color: white;\n padding: 2px 8px;\n border-radius: 12px;\n font-size: 0.85em;\n font-weight: 500;\n}\n\n.toggle-icon {\n color: #6c757d;\n transition: transform 0.3s;\n}\n\n.toggle-icon.rotated {\n transform: rotate(-90deg);\n}\n\n.section-content {\n padding: 24px;\n animation: slideDown 0.3s ease;\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}\n\n/* Overview Section */\n.overview-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));\n gap: 20px;\n}\n\n.overview-field {\n display: flex;\n flex-direction: column;\n gap: 8px;\n}\n\n.overview-field label {\n font-weight: 600;\n color: #495057;\n font-size: 0.9em;\n text-transform: uppercase;\n letter-spacing: 0.5px;\n}\n\n.required {\n color: #dc3545;\n}\n\n.full-width {\n width: 100%;\n}\n\n.overview-display {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));\n gap: 24px;\n}\n\n.display-field {\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n\n.display-field label {\n font-size: 0.85em;\n color: #6c757d;\n font-weight: 600;\n text-transform: uppercase;\n letter-spacing: 0.5px;\n}\n\n.display-value {\n font-size: 1.1em;\n color: #2c3e50;\n}\n\n.display-value.code {\n font-family: 'Courier New', monospace;\n background: #f8f9fa;\n padding: 4px 8px;\n border-radius: 4px;\n}\n\n.approval-date {\n color: #6c757d;\n font-size: 0.85em;\n margin-left: 8px;\n}\n\n/* Code Section */\n.generation-panel {\n background: #f8f9fa;\n border: 1px solid #e9ecef;\n border-radius: 8px;\n padding: 20px;\n margin-bottom: 24px;\n}\n\n.generation-panel h3 {\n margin: 0 0 16px 0;\n color: #6f42c1;\n display: flex;\n align-items: center;\n gap: 8px;\n}\n\n.prompt-section, .comments-section {\n margin-bottom: 16px;\n}\n\n.prompt-section label, .comments-section label {\n display: block;\n margin-bottom: 8px;\n font-weight: 600;\n color: #495057;\n}\n\n.generation-controls {\n display: flex;\n align-items: center;\n gap: 12px;\n padding-top: 12px;\n border-top: 1px solid #dee2e6;\n}\n\n.code-locked-badge {\n display: inline-flex;\n align-items: center;\n gap: 4px;\n padding: 4px 10px;\n background: #ffc107;\n color: #856404;\n border-radius: 12px;\n font-size: 0.8em;\n font-weight: 500;\n}\n\n.code-editor-section {\n border: 1px solid #e9ecef;\n border-radius: 8px;\n overflow: hidden;\n}\n\n.code-toolbar {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 12px 16px;\n background: #f8f9fa;\n border-bottom: 1px solid #e9ecef;\n}\n\n.code-toolbar h3 {\n margin: 0;\n font-size: 1.1em;\n color: #495057;\n display: flex;\n align-items: center;\n gap: 8px;\n}\n\n.code-actions {\n display: flex;\n gap: 8px;\n}\n\n.code-comments {\n background: #e3f2fd;\n border: 1px solid #90caf9;\n border-radius: 8px;\n padding: 16px;\n margin-top: 16px;\n}\n\n.code-comments h4 {\n margin: 0 0 8px 0;\n color: #1976d2;\n display: flex;\n align-items: center;\n gap: 8px;\n}\n\n.code-comments p {\n margin: 0;\n color: #424242;\n line-height: 1.5;\n}\n\n.approval-comments {\n margin-top: 16px;\n}\n\n.approval-comments label {\n display: block;\n margin-bottom: 8px;\n font-weight: 600;\n color: #dc3545;\n}\n\n/* Parameters Section */\n.params-section {\n background: #f8f9fa;\n border-radius: 12px;\n padding: 20px;\n}\n\n.params-section.params-section-compact {\n padding: 12px 20px;\n}\n\n.params-section-compact .empty-state {\n padding: 12px !important;\n}\n\n.params-header {\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin-bottom: 16px;\n}\n\n.params-header h3 {\n margin: 0;\n color: #495057;\n display: flex;\n align-items: center;\n gap: 8px;\n}\n\n.params-grid {\n display: grid;\n grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));\n gap: 16px;\n}\n\n.param-card {\n background: white;\n border: 2px solid #e9ecef;\n border-radius: 8px;\n padding: 16px;\n transition: all 0.2s;\n}\n\n.param-card:hover {\n border-color: #007bff;\n box-shadow: 0 2px 8px rgba(0,123,255,0.1);\n}\n\n.param-card.required {\n border-color: #ffc107;\n}\n\n.param-card.clickable {\n cursor: pointer;\n}\n\n.param-card.clickable:hover {\n background: #e7f3ff;\n border-color: #2196f3;\n transform: translateY(-1px);\n}\n\n.param-header {\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin-bottom: 8px;\n}\n\n.param-name {\n font-weight: 600;\n color: #2c3e50;\n}\n\n.param-badges {\n display: flex;\n align-items: center;\n gap: 6px;\n}\n\n.param-edit-btn,\n.param-delete-btn {\n background: none;\n border: none;\n padding: 4px 8px;\n cursor: pointer;\n color: #6c757d;\n border-radius: 4px;\n transition: all 0.2s;\n}\n\n.param-edit-btn:hover {\n background: #e3f2fd;\n color: #2196f3;\n}\n\n.param-delete-btn:hover {\n background: #ffebee;\n color: #f44336;\n}\n\n.param-details {\n display: flex;\n flex-direction: column;\n gap: 8px;\n}\n\n.required-badge {\n background: #ffc107;\n color: #856404;\n padding: 2px 6px;\n border-radius: 4px;\n font-size: 0.75em;\n font-weight: 500;\n}\n\n.array-badge {\n background: #6f42c1;\n color: white;\n padding: 2px 6px;\n border-radius: 4px;\n font-size: 0.75em;\n font-weight: 500;\n}\n\n.param-type {\n color: #6c757d;\n font-size: 0.9em;\n margin-bottom: 8px;\n}\n\n.param-description {\n color: #495057;\n font-size: 0.9em;\n line-height: 1.4;\n margin-bottom: 8px;\n}\n\n.param-default {\n display: flex;\n align-items: center;\n gap: 8px;\n margin-top: 8px;\n padding-top: 8px;\n border-top: 1px solid #e9ecef;\n}\n\n.default-label {\n color: #6c757d;\n font-size: 0.85em;\n}\n\n.param-default code {\n background: #f8f9fa;\n padding: 2px 6px;\n border-radius: 4px;\n font-family: 'Courier New', monospace;\n color: #e83e8c;\n}\n\n\n/* Result Codes Section */\n.result-codes-grid {\n display: grid;\n grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));\n gap: 16px;\n}\n\n.result-code-card {\n display: flex;\n align-items: flex-start;\n gap: 16px;\n padding: 16px;\n border: 2px solid #e9ecef;\n border-radius: 8px;\n background: white;\n transition: all 0.2s;\n position: relative;\n}\n\n.result-code-card.clickable {\n cursor: pointer;\n}\n\n.result-code-card:hover {\n transform: translateY(-2px);\n box-shadow: 0 4px 12px rgba(0,0,0,0.1);\n}\n\n.result-code-card.success {\n border-color: #28a745;\n background: #d4edda;\n}\n\n.result-code-card.failure {\n border-color: #dc3545;\n background: #f8d7da;\n}\n\n.result-actions {\n position: absolute;\n top: 8px;\n right: 8px;\n display: flex;\n gap: 4px;\n opacity: 0;\n transition: opacity 0.2s;\n}\n\n.result-code-card:hover .result-actions {\n opacity: 1;\n}\n\n.result-edit-btn,\n.result-delete-btn {\n background: white;\n border: 1px solid #dee2e6;\n border-radius: 4px;\n padding: 4px 8px;\n cursor: pointer;\n transition: all 0.2s;\n font-size: 0.85em;\n}\n\n.result-edit-btn:hover {\n background: #007bff;\n color: white;\n border-color: #007bff;\n}\n\n.result-delete-btn:hover {\n background: #dc3545;\n color: white;\n border-color: #dc3545;\n}\n\n.result-icon {\n font-size: 1.5em;\n flex-shrink: 0;\n}\n\n.result-code-card.success .result-icon {\n color: #28a745;\n}\n\n.result-code-card.failure .result-icon {\n color: #dc3545;\n}\n\n.result-content {\n flex: 1;\n min-width: 0;\n}\n\n.result-code {\n font-weight: 600;\n color: #2c3e50;\n margin-bottom: 4px;\n font-family: 'Courier New', monospace;\n}\n\n.result-description {\n color: #495057;\n font-size: 0.9em;\n line-height: 1.4;\n}\n\n/* Execution Section */\n.execution-stats-row {\n display: flex;\n gap: 20px;\n margin-bottom: 32px;\n flex-wrap: wrap;\n}\n\n.stat-box {\n flex: 1;\n min-width: 200px;\n background: #f8f9fa;\n border: 1px solid #e9ecef;\n border-radius: 8px;\n padding: 20px;\n display: flex;\n align-items: center;\n gap: 16px;\n}\n\n.stat-box i {\n font-size: 2em;\n color: #6c757d;\n}\n\n.stat-info {\n flex: 1;\n}\n\n.executions-table {\n overflow-x: auto;\n border: 1px solid #e9ecef;\n border-radius: 8px;\n}\n\n.executions-table table {\n width: 100%;\n border-collapse: collapse;\n}\n\n.executions-table th {\n background: #f8f9fa;\n padding: 12px;\n text-align: left;\n font-weight: 600;\n color: #495057;\n border-bottom: 2px solid #e9ecef;\n}\n\n.executions-table td {\n padding: 12px;\n border-bottom: 1px solid #e9ecef;\n}\n\n.execution-row {\n transition: background 0.2s;\n}\n\n.execution-row:hover {\n background: #f8f9fa;\n}\n\n.execution-row.success {\n background: #d4edda20;\n}\n\n.running {\n color: #ffc107;\n font-style: italic;\n}\n\n.result-code {\n display: inline-block;\n padding: 4px 8px;\n border-radius: 4px;\n font-size: 0.85em;\n font-weight: 500;\n font-family: 'Courier New', monospace;\n}\n\n.result-code.success {\n background: #d4edda;\n color: #155724;\n}\n\n.result-code.failure {\n background: #f8d7da;\n color: #721c24;\n}\n\n/* Configuration Section */\n.config-subsection {\n margin-bottom: 32px;\n}\n\n.config-subsection h3 {\n margin: 0 0 16px 0;\n color: #495057;\n display: flex;\n align-items: center;\n gap: 8px;\n}\n\n.library-cards {\n display: flex;\n flex-direction: column;\n gap: 12px;\n}\n\n.library-card {\n display: flex;\n align-items: center;\n gap: 16px;\n padding: 16px;\n background: #f8f9fa;\n border: 1px solid #e9ecef;\n border-radius: 8px;\n cursor: pointer;\n transition: all 0.2s;\n}\n\n.library-card:hover {\n background: #e9ecef;\n transform: translateX(4px);\n}\n\n.library-card i:first-child {\n font-size: 1.5em;\n color: #6c757d;\n}\n\n.library-info {\n flex: 1;\n min-width: 0;\n}\n\n.library-name {\n font-weight: 600;\n color: #2c3e50;\n margin-bottom: 4px;\n}\n\n.library-items {\n color: #6c757d;\n font-size: 0.9em;\n font-family: 'Courier New', monospace;\n}\n\n.related-entities-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));\n gap: 12px;\n}\n\n.related-entity-link {\n display: flex;\n align-items: center;\n gap: 12px;\n padding: 16px;\n background: #f8f9fa;\n border: 1px solid #e9ecef;\n border-radius: 8px;\n cursor: pointer;\n transition: all 0.2s;\n}\n\n.related-entity-link:hover {\n background: #e9ecef;\n border-color: #007bff;\n}\n\n.related-entity-link i {\n font-size: 1.2em;\n color: #6c757d;\n}\n\n.related-entity-link span:first-of-type {\n flex: 1;\n font-weight: 500;\n color: #495057;\n}\n\n.entity-count {\n color: #007bff;\n font-size: 0.9em;\n}\n\n/* Common States */\n.loading-state {\n text-align: center;\n padding: 60px;\n color: #6c757d;\n}\n\n.loading-state i {\n font-size: 2em;\n margin-bottom: 12px;\n}\n\n.empty-state {\n text-align: center;\n padding: 60px;\n color: #6c757d;\n}\n\n.empty-state.mini {\n padding: 20px;\n}\n\n.empty-state i {\n font-size: 3em;\n margin-bottom: 16px;\n opacity: 0.3;\n}\n\n.empty-state p {\n margin: 0;\n font-size: 1.1em;\n}\n\n.empty-hint {\n margin-top: 8px !important;\n font-size: 0.9em !important;\n opacity: 0.7;\n}\n\n.no-params {\n text-align: center;\n padding: 20px;\n color: #6c757d;\n font-style: italic;\n}\n\n.no-params p {\n margin: 0;\n}\n\n/* Responsive Design */\n@media (max-width: 768px) {\n .action-hero-header {\n padding: 20px;\n }\n \n .action-identity {\n flex-direction: column;\n text-align: center;\n }\n \n .action-icon-wrapper {\n margin: 0 auto;\n }\n \n .action-title-row {\n justify-content: center;\n }\n \n .action-stats {\n justify-content: center;\n }\n \n .params-grid {\n grid-template-columns: 1fr;\n }\n}"] }]
|
|
1873
1873
|
}], null, null); })();
|
|
1874
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(
|
|
1874
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MJActionFormComponentExtended, { className: "MJActionFormComponentExtended", filePath: "src/lib/custom/Actions/action-form.component.ts", lineNumber: 18 }); })();
|
|
1875
1875
|
//# sourceMappingURL=action-form.component.js.map
|