@memberjunction/ng-flow-editor 6.3.0-edge.1 → 6.3.0-edge.2
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/agent-editor/agent-flow-transformer.service.d.ts.map +1 -1
- package/dist/lib/agent-editor/agent-flow-transformer.service.js +38 -0
- package/dist/lib/agent-editor/agent-flow-transformer.service.js.map +1 -1
- package/dist/lib/agent-editor/agent-properties-panel.component.d.ts +49 -0
- package/dist/lib/agent-editor/agent-properties-panel.component.d.ts.map +1 -1
- package/dist/lib/agent-editor/agent-properties-panel.component.js +1065 -347
- package/dist/lib/agent-editor/agent-properties-panel.component.js.map +1 -1
- package/dist/lib/agent-editor/agent-step-list.component.d.ts +10 -2
- package/dist/lib/agent-editor/agent-step-list.component.d.ts.map +1 -1
- package/dist/lib/agent-editor/agent-step-list.component.js +257 -199
- package/dist/lib/agent-editor/agent-step-list.component.js.map +1 -1
- package/dist/lib/agent-editor/flow-agent-editor.component.d.ts +16 -8
- package/dist/lib/agent-editor/flow-agent-editor.component.d.ts.map +1 -1
- package/dist/lib/agent-editor/flow-agent-editor.component.js +209 -117
- package/dist/lib/agent-editor/flow-agent-editor.component.js.map +1 -1
- package/dist/lib/agent-editor/waiting-step-config.d.ts +45 -0
- package/dist/lib/agent-editor/waiting-step-config.d.ts.map +1 -0
- package/dist/lib/agent-editor/waiting-step-config.js +117 -0
- package/dist/lib/agent-editor/waiting-step-config.js.map +1 -0
- package/dist/lib/components/flow-editor.component.d.ts +42 -5
- package/dist/lib/components/flow-editor.component.d.ts.map +1 -1
- package/dist/lib/components/flow-editor.component.js +299 -113
- package/dist/lib/components/flow-editor.component.js.map +1 -1
- package/dist/lib/components/flow-node.component.d.ts +25 -3
- package/dist/lib/components/flow-node.component.d.ts.map +1 -1
- package/dist/lib/components/flow-node.component.js +412 -125
- package/dist/lib/components/flow-node.component.js.map +1 -1
- package/dist/lib/components/flow-status-bar.component.d.ts +2 -1
- package/dist/lib/components/flow-status-bar.component.d.ts.map +1 -1
- package/dist/lib/components/flow-status-bar.component.js +12 -11
- package/dist/lib/components/flow-status-bar.component.js.map +1 -1
- package/dist/lib/components/flow-toolbar.component.d.ts +5 -2
- package/dist/lib/components/flow-toolbar.component.d.ts.map +1 -1
- package/dist/lib/components/flow-toolbar.component.js +42 -23
- package/dist/lib/components/flow-toolbar.component.js.map +1 -1
- package/dist/lib/interfaces/flow-types.d.ts +40 -0
- package/dist/lib/interfaces/flow-types.d.ts.map +1 -1
- package/dist/lib/interfaces/flow-types.js.map +1 -1
- package/dist/lib/services/flow-layout.service.d.ts +0 -1
- package/dist/lib/services/flow-layout.service.d.ts.map +1 -1
- package/dist/lib/services/flow-layout.service.js +5 -23
- package/dist/lib/services/flow-layout.service.js.map +1 -1
- package/dist/lib/services/flow-viewport.util.d.ts +58 -0
- package/dist/lib/services/flow-viewport.util.d.ts.map +1 -0
- package/dist/lib/services/flow-viewport.util.js +134 -0
- package/dist/lib/services/flow-viewport.util.js.map +1 -0
- package/dist/public-api.d.ts +1 -0
- package/dist/public-api.d.ts.map +1 -1
- package/dist/public-api.js +1 -0
- package/dist/public-api.js.map +1 -1
- package/package.json +10 -10
|
@@ -3,14 +3,16 @@ import { UUIDsEqual } from '@memberjunction/global';
|
|
|
3
3
|
import { FlowDecisionKeyProblem, ReadFlowDecisionStepConfiguration, RewriteDecisionReferences, RewriteDecisionQuestionReferences, RewriteDecisionChoiceValues, DecisionChoiceTestOf, DecisionConditionLiteral, DecisionReferenceText, IsDecisionPrompt } from '@memberjunction/ai-core-plus';
|
|
4
4
|
import { DECISION_QUESTION_KEY_PATTERN, ReadDecisionStepKey, ReadEditableDecisionConfig } from './decision-step-config';
|
|
5
5
|
import { PathRunProblems, StepRunProblems } from './flow-run-check';
|
|
6
|
+
import { ParsePositiveNumber, ReadStepConfigBag, ReadWaitFields, WithStepConfigField, WithWaitMode } from './waiting-step-config';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
import * as i1 from "@angular/common";
|
|
8
9
|
import * as i2 from "@angular/forms";
|
|
9
10
|
import * as i3 from "@memberjunction/ng-code-editor";
|
|
10
11
|
import * as i4 from "@memberjunction/ng-ui-components";
|
|
11
|
-
const _forTrack0 = ($index, $item) => $item.
|
|
12
|
-
const _forTrack1 = ($index, $item) => $item.
|
|
13
|
-
const _forTrack2 = ($index, $item) => $item.
|
|
12
|
+
const _forTrack0 = ($index, $item) => $item.ID;
|
|
13
|
+
const _forTrack1 = ($index, $item) => $item.key;
|
|
14
|
+
const _forTrack2 = ($index, $item) => $item.Token;
|
|
15
|
+
const _forTrack3 = ($index, $item) => $item.value;
|
|
14
16
|
function AgentPropertiesPanelComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
15
17
|
i0.ɵɵelement(0, "mj-empty-state", 1);
|
|
16
18
|
} }
|
|
@@ -213,8 +215,8 @@ function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_
|
|
|
213
215
|
i0.ɵɵadvance();
|
|
214
216
|
i0.ɵɵconditional(ctx_r1.ReadOnly ? 4 : -1);
|
|
215
217
|
} }
|
|
216
|
-
function
|
|
217
|
-
i0.ɵɵelementStart(0, "option",
|
|
218
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_2_Conditional_3_For_5_Template(rf, ctx) { if (rf & 1) {
|
|
219
|
+
i0.ɵɵelementStart(0, "option", 45);
|
|
218
220
|
i0.ɵɵtext(1);
|
|
219
221
|
i0.ɵɵelementEnd();
|
|
220
222
|
} if (rf & 2) {
|
|
@@ -225,18 +227,23 @@ function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_
|
|
|
225
227
|
} }
|
|
226
228
|
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_2_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
227
229
|
const _r9 = i0.ɵɵgetCurrentView();
|
|
228
|
-
i0.ɵɵelementStart(0, "
|
|
229
|
-
i0.ɵɵlistener("
|
|
230
|
-
i0.ɵɵ
|
|
231
|
-
i0.ɵɵ
|
|
230
|
+
i0.ɵɵelementStart(0, "input", 43);
|
|
231
|
+
i0.ɵɵlistener("input", function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_2_Conditional_3_Template_input_input_0_listener($event) { i0.ɵɵrestoreView(_r9); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.ActionSearchQuery = ctx_r1.InputValue($event)); });
|
|
232
|
+
i0.ɵɵelementEnd();
|
|
233
|
+
i0.ɵɵelementStart(1, "select", 34);
|
|
234
|
+
i0.ɵɵlistener("change", function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_2_Conditional_3_Template_select_change_1_listener($event) { i0.ɵɵrestoreView(_r9); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.OnActionChange(ctx_r1.InputValue($event))); });
|
|
235
|
+
i0.ɵɵelementStart(2, "option", 44);
|
|
236
|
+
i0.ɵɵtext(3, "-- Select Action --");
|
|
232
237
|
i0.ɵɵelementEnd();
|
|
233
|
-
i0.ɵɵrepeaterCreate(
|
|
238
|
+
i0.ɵɵrepeaterCreate(4, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_2_Conditional_3_For_5_Template, 2, 2, "option", 45, _forTrack0);
|
|
234
239
|
i0.ɵɵelementEnd();
|
|
235
240
|
} if (rf & 2) {
|
|
236
241
|
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
242
|
+
i0.ɵɵproperty("value", ctx_r1.ActionSearchQuery);
|
|
243
|
+
i0.ɵɵadvance();
|
|
237
244
|
i0.ɵɵproperty("value", ctx_r1.Step.ActionID || "");
|
|
238
245
|
i0.ɵɵadvance(3);
|
|
239
|
-
i0.ɵɵrepeater(ctx_r1.
|
|
246
|
+
i0.ɵɵrepeater(ctx_r1.FilteredActions);
|
|
240
247
|
} }
|
|
241
248
|
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_2_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
242
249
|
i0.ɵɵelementStart(0, "div", 28);
|
|
@@ -251,7 +258,7 @@ function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_
|
|
|
251
258
|
i0.ɵɵelementStart(0, "div", 26)(1, "label");
|
|
252
259
|
i0.ɵɵtext(2, "Action");
|
|
253
260
|
i0.ɵɵelementEnd();
|
|
254
|
-
i0.ɵɵconditionalCreate(3, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_2_Conditional_3_Template,
|
|
261
|
+
i0.ɵɵconditionalCreate(3, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_2_Conditional_3_Template, 6, 2);
|
|
255
262
|
i0.ɵɵconditionalCreate(4, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_2_Conditional_4_Template, 2, 1, "div", 28);
|
|
256
263
|
i0.ɵɵelementEnd();
|
|
257
264
|
} if (rf & 2) {
|
|
@@ -261,8 +268,8 @@ function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_
|
|
|
261
268
|
i0.ɵɵadvance();
|
|
262
269
|
i0.ɵɵconditional(ctx_r1.ReadOnly ? 4 : -1);
|
|
263
270
|
} }
|
|
264
|
-
function
|
|
265
|
-
i0.ɵɵelementStart(0, "option",
|
|
271
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_3_Conditional_3_For_5_Template(rf, ctx) { if (rf & 1) {
|
|
272
|
+
i0.ɵɵelementStart(0, "option", 45);
|
|
266
273
|
i0.ɵɵtext(1);
|
|
267
274
|
i0.ɵɵelementEnd();
|
|
268
275
|
} if (rf & 2) {
|
|
@@ -273,18 +280,23 @@ function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_
|
|
|
273
280
|
} }
|
|
274
281
|
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_3_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
275
282
|
const _r11 = i0.ɵɵgetCurrentView();
|
|
276
|
-
i0.ɵɵelementStart(0, "
|
|
277
|
-
i0.ɵɵlistener("
|
|
278
|
-
i0.ɵɵ
|
|
279
|
-
i0.ɵɵ
|
|
283
|
+
i0.ɵɵelementStart(0, "input", 46);
|
|
284
|
+
i0.ɵɵlistener("input", function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_3_Conditional_3_Template_input_input_0_listener($event) { i0.ɵɵrestoreView(_r11); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.PromptSearchQuery = ctx_r1.InputValue($event)); });
|
|
285
|
+
i0.ɵɵelementEnd();
|
|
286
|
+
i0.ɵɵelementStart(1, "select", 34);
|
|
287
|
+
i0.ɵɵlistener("change", function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_3_Conditional_3_Template_select_change_1_listener($event) { i0.ɵɵrestoreView(_r11); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.OnPromptChange(ctx_r1.InputValue($event))); });
|
|
288
|
+
i0.ɵɵelementStart(2, "option", 44);
|
|
289
|
+
i0.ɵɵtext(3, "-- Select Prompt --");
|
|
280
290
|
i0.ɵɵelementEnd();
|
|
281
|
-
i0.ɵɵrepeaterCreate(
|
|
291
|
+
i0.ɵɵrepeaterCreate(4, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_3_Conditional_3_For_5_Template, 2, 2, "option", 45, _forTrack0);
|
|
282
292
|
i0.ɵɵelementEnd();
|
|
283
293
|
} if (rf & 2) {
|
|
284
294
|
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
295
|
+
i0.ɵɵproperty("value", ctx_r1.PromptSearchQuery);
|
|
296
|
+
i0.ɵɵadvance();
|
|
285
297
|
i0.ɵɵproperty("value", ctx_r1.Step.PromptID || "");
|
|
286
298
|
i0.ɵɵadvance(3);
|
|
287
|
-
i0.ɵɵrepeater(ctx_r1.
|
|
299
|
+
i0.ɵɵrepeater(ctx_r1.FilteredPrompts);
|
|
288
300
|
} }
|
|
289
301
|
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_3_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
290
302
|
i0.ɵɵelementStart(0, "div", 28);
|
|
@@ -299,7 +311,7 @@ function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_
|
|
|
299
311
|
i0.ɵɵelementStart(0, "div", 26)(1, "label");
|
|
300
312
|
i0.ɵɵtext(2, "Prompt");
|
|
301
313
|
i0.ɵɵelementEnd();
|
|
302
|
-
i0.ɵɵconditionalCreate(3, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_3_Conditional_3_Template,
|
|
314
|
+
i0.ɵɵconditionalCreate(3, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_3_Conditional_3_Template, 6, 2);
|
|
303
315
|
i0.ɵɵconditionalCreate(4, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_3_Conditional_4_Template, 2, 1, "div", 28);
|
|
304
316
|
i0.ɵɵelementEnd();
|
|
305
317
|
} if (rf & 2) {
|
|
@@ -309,8 +321,8 @@ function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_
|
|
|
309
321
|
i0.ɵɵadvance();
|
|
310
322
|
i0.ɵɵconditional(ctx_r1.ReadOnly ? 4 : -1);
|
|
311
323
|
} }
|
|
312
|
-
function
|
|
313
|
-
i0.ɵɵelementStart(0, "option",
|
|
324
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_4_Conditional_3_For_5_Template(rf, ctx) { if (rf & 1) {
|
|
325
|
+
i0.ɵɵelementStart(0, "option", 45);
|
|
314
326
|
i0.ɵɵtext(1);
|
|
315
327
|
i0.ɵɵelementEnd();
|
|
316
328
|
} if (rf & 2) {
|
|
@@ -321,18 +333,23 @@ function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_
|
|
|
321
333
|
} }
|
|
322
334
|
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_4_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
323
335
|
const _r13 = i0.ɵɵgetCurrentView();
|
|
324
|
-
i0.ɵɵelementStart(0, "
|
|
325
|
-
i0.ɵɵlistener("
|
|
326
|
-
i0.ɵɵ
|
|
327
|
-
i0.ɵɵ
|
|
336
|
+
i0.ɵɵelementStart(0, "input", 47);
|
|
337
|
+
i0.ɵɵlistener("input", function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_4_Conditional_3_Template_input_input_0_listener($event) { i0.ɵɵrestoreView(_r13); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.AgentSearchQuery = ctx_r1.InputValue($event)); });
|
|
338
|
+
i0.ɵɵelementEnd();
|
|
339
|
+
i0.ɵɵelementStart(1, "select", 34);
|
|
340
|
+
i0.ɵɵlistener("change", function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_4_Conditional_3_Template_select_change_1_listener($event) { i0.ɵɵrestoreView(_r13); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.OnSubAgentChange(ctx_r1.InputValue($event))); });
|
|
341
|
+
i0.ɵɵelementStart(2, "option", 44);
|
|
342
|
+
i0.ɵɵtext(3, "-- Select Agent --");
|
|
328
343
|
i0.ɵɵelementEnd();
|
|
329
|
-
i0.ɵɵrepeaterCreate(
|
|
344
|
+
i0.ɵɵrepeaterCreate(4, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_4_Conditional_3_For_5_Template, 2, 2, "option", 45, _forTrack0);
|
|
330
345
|
i0.ɵɵelementEnd();
|
|
331
346
|
} if (rf & 2) {
|
|
332
347
|
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
348
|
+
i0.ɵɵproperty("value", ctx_r1.AgentSearchQuery);
|
|
349
|
+
i0.ɵɵadvance();
|
|
333
350
|
i0.ɵɵproperty("value", ctx_r1.Step.SubAgentID || "");
|
|
334
351
|
i0.ɵɵadvance(3);
|
|
335
|
-
i0.ɵɵrepeater(ctx_r1.
|
|
352
|
+
i0.ɵɵrepeater(ctx_r1.FilteredAgents);
|
|
336
353
|
} }
|
|
337
354
|
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_4_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
338
355
|
i0.ɵɵelementStart(0, "div", 28);
|
|
@@ -347,7 +364,7 @@ function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_
|
|
|
347
364
|
i0.ɵɵelementStart(0, "div", 26)(1, "label");
|
|
348
365
|
i0.ɵɵtext(2, "Sub-Agent");
|
|
349
366
|
i0.ɵɵelementEnd();
|
|
350
|
-
i0.ɵɵconditionalCreate(3, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_4_Conditional_3_Template,
|
|
367
|
+
i0.ɵɵconditionalCreate(3, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_4_Conditional_3_Template, 6, 2);
|
|
351
368
|
i0.ɵɵconditionalCreate(4, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_4_Conditional_4_Template, 2, 1, "div", 28);
|
|
352
369
|
i0.ɵɵelementEnd();
|
|
353
370
|
} if (rf & 2) {
|
|
@@ -357,30 +374,476 @@ function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_
|
|
|
357
374
|
i0.ɵɵadvance();
|
|
358
375
|
i0.ɵɵconditional(ctx_r1.ReadOnly ? 4 : -1);
|
|
359
376
|
} }
|
|
360
|
-
function
|
|
377
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_5_Conditional_8_Template(rf, ctx) { if (rf & 1) {
|
|
361
378
|
const _r15 = i0.ɵɵgetCurrentView();
|
|
379
|
+
i0.ɵɵelementStart(0, "input", 50);
|
|
380
|
+
i0.ɵɵlistener("change", function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_5_Conditional_8_Template_input_change_0_listener($event) { i0.ɵɵrestoreView(_r15); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.OnConfigTextChange("provider", ctx_r1.InputValue($event))); });
|
|
381
|
+
i0.ɵɵelementEnd();
|
|
382
|
+
i0.ɵɵelementStart(1, "div", 48);
|
|
383
|
+
i0.ɵɵtext(2, "Leave empty for MemberJunction's own inbox, or name the app that should put this in front of someone.");
|
|
384
|
+
i0.ɵɵelementEnd();
|
|
385
|
+
} if (rf & 2) {
|
|
386
|
+
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
387
|
+
i0.ɵɵproperty("value", ctx_r1.ConfigText("provider"));
|
|
388
|
+
} }
|
|
389
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_5_Conditional_9_Template(rf, ctx) { if (rf & 1) {
|
|
390
|
+
i0.ɵɵelementStart(0, "div", 28);
|
|
391
|
+
i0.ɵɵtext(1);
|
|
392
|
+
i0.ɵɵelementEnd();
|
|
393
|
+
} if (rf & 2) {
|
|
394
|
+
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
395
|
+
i0.ɵɵadvance();
|
|
396
|
+
i0.ɵɵtextInterpolate(ctx_r1.ConfigText("provider") || "Built-in inbox");
|
|
397
|
+
} }
|
|
398
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_5_Conditional_10_Template(rf, ctx) { if (rf & 1) {
|
|
399
|
+
const _r16 = i0.ɵɵgetCurrentView();
|
|
362
400
|
i0.ɵɵelementStart(0, "div", 26)(1, "label");
|
|
363
|
-
i0.ɵɵtext(2, "
|
|
401
|
+
i0.ɵɵtext(2, "Provider settings (JSON)");
|
|
364
402
|
i0.ɵɵelementEnd();
|
|
365
|
-
i0.ɵɵelementStart(3, "mj-code-editor",
|
|
366
|
-
i0.ɵɵlistener("change", function
|
|
403
|
+
i0.ɵɵelementStart(3, "mj-code-editor", 51);
|
|
404
|
+
i0.ɵɵlistener("change", function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_5_Conditional_10_Template_mj_code_editor_change_3_listener($event) { i0.ɵɵrestoreView(_r16); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.OnProviderConfigurationChange($event)); });
|
|
367
405
|
i0.ɵɵelementEnd()();
|
|
406
|
+
} if (rf & 2) {
|
|
407
|
+
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
408
|
+
i0.ɵɵadvance(3);
|
|
409
|
+
i0.ɵɵproperty("value", ctx_r1.ConfigText("providerConfiguration"))("readonly", ctx_r1.ReadOnly)("lineWrapping", true);
|
|
410
|
+
} }
|
|
411
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_5_Conditional_14_Template(rf, ctx) { if (rf & 1) {
|
|
412
|
+
const _r17 = i0.ɵɵgetCurrentView();
|
|
413
|
+
i0.ɵɵelementStart(0, "input", 52);
|
|
414
|
+
i0.ɵɵlistener("change", function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_5_Conditional_14_Template_input_change_0_listener($event) { i0.ɵɵrestoreView(_r17); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.OnConfigNumberChange("expiresInHours", ctx_r1.InputValue($event))); });
|
|
415
|
+
i0.ɵɵelementEnd();
|
|
416
|
+
} if (rf & 2) {
|
|
417
|
+
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
418
|
+
i0.ɵɵproperty("value", ctx_r1.ConfigText("expiresInHours"));
|
|
419
|
+
} }
|
|
420
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_5_Conditional_15_Template(rf, ctx) { if (rf & 1) {
|
|
421
|
+
i0.ɵɵelementStart(0, "div", 28);
|
|
422
|
+
i0.ɵɵtext(1);
|
|
423
|
+
i0.ɵɵelementEnd();
|
|
424
|
+
} if (rf & 2) {
|
|
425
|
+
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
426
|
+
i0.ɵɵadvance();
|
|
427
|
+
i0.ɵɵtextInterpolate(ctx_r1.ConfigText("expiresInHours") || "Never");
|
|
428
|
+
} }
|
|
429
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
430
|
+
i0.ɵɵelementStart(0, "div", 26)(1, "label");
|
|
431
|
+
i0.ɵɵtext(2, "Asks");
|
|
432
|
+
i0.ɵɵelementEnd();
|
|
433
|
+
i0.ɵɵelementStart(3, "div", 48);
|
|
434
|
+
i0.ɵɵtext(4, "What the person is asked is this step's description.");
|
|
435
|
+
i0.ɵɵelementEnd()();
|
|
436
|
+
i0.ɵɵelementStart(5, "div", 26)(6, "label");
|
|
437
|
+
i0.ɵɵtext(7, "Provider");
|
|
438
|
+
i0.ɵɵelementEnd();
|
|
439
|
+
i0.ɵɵconditionalCreate(8, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_5_Conditional_8_Template, 3, 1)(9, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_5_Conditional_9_Template, 2, 1, "div", 28);
|
|
440
|
+
i0.ɵɵelementEnd();
|
|
441
|
+
i0.ɵɵconditionalCreate(10, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_5_Conditional_10_Template, 4, 3, "div", 26);
|
|
442
|
+
i0.ɵɵelementStart(11, "div", 26)(12, "label");
|
|
443
|
+
i0.ɵɵtext(13, "Expires after (hours)");
|
|
444
|
+
i0.ɵɵelementEnd();
|
|
445
|
+
i0.ɵɵconditionalCreate(14, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_5_Conditional_14_Template, 1, 1, "input", 49)(15, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_5_Conditional_15_Template, 2, 1, "div", 28);
|
|
446
|
+
i0.ɵɵelementEnd();
|
|
368
447
|
} if (rf & 2) {
|
|
369
448
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
449
|
+
i0.ɵɵadvance(8);
|
|
450
|
+
i0.ɵɵconditional(!ctx_r1.ReadOnly ? 8 : 9);
|
|
451
|
+
i0.ɵɵadvance(2);
|
|
452
|
+
i0.ɵɵconditional(ctx_r1.ConfigText("provider") ? 10 : -1);
|
|
453
|
+
i0.ɵɵadvance(4);
|
|
454
|
+
i0.ɵɵconditional(!ctx_r1.ReadOnly ? 14 : 15);
|
|
455
|
+
} }
|
|
456
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_6_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
457
|
+
const _r18 = i0.ɵɵgetCurrentView();
|
|
458
|
+
i0.ɵɵelementStart(0, "input", 53);
|
|
459
|
+
i0.ɵɵlistener("change", function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_6_Conditional_3_Template_input_change_0_listener($event) { i0.ɵɵrestoreView(_r18); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.OnConfigTextChange("domain", ctx_r1.InputValue($event))); });
|
|
460
|
+
i0.ɵɵelementEnd();
|
|
461
|
+
i0.ɵɵelementStart(1, "div", 48);
|
|
462
|
+
i0.ɵɵtext(2, "A label for what sends the signal, such as \"stripe\" or \"hr-system\".");
|
|
463
|
+
i0.ɵɵelementEnd();
|
|
464
|
+
} if (rf & 2) {
|
|
465
|
+
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
466
|
+
i0.ɵɵproperty("value", ctx_r1.ConfigText("domain"));
|
|
467
|
+
} }
|
|
468
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_6_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
469
|
+
i0.ɵɵelementStart(0, "div", 28);
|
|
470
|
+
i0.ɵɵtext(1);
|
|
471
|
+
i0.ɵɵelementEnd();
|
|
472
|
+
} if (rf & 2) {
|
|
473
|
+
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
474
|
+
i0.ɵɵadvance();
|
|
475
|
+
i0.ɵɵtextInterpolate(ctx_r1.ConfigText("domain") || "external");
|
|
476
|
+
} }
|
|
477
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_6_Conditional_8_Template(rf, ctx) { if (rf & 1) {
|
|
478
|
+
const _r19 = i0.ɵɵgetCurrentView();
|
|
479
|
+
i0.ɵɵelementStart(0, "input", 54);
|
|
480
|
+
i0.ɵɵlistener("change", function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_6_Conditional_8_Template_input_change_0_listener($event) { i0.ɵɵrestoreView(_r19); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.OnConfigTextChange("correlationKey", ctx_r1.InputValue($event))); });
|
|
481
|
+
i0.ɵɵelementEnd();
|
|
482
|
+
i0.ɵɵelementStart(1, "div", 48);
|
|
483
|
+
i0.ɵɵtext(2, "A fixed key, or ");
|
|
484
|
+
i0.ɵɵelementStart(3, "code");
|
|
485
|
+
i0.ɵɵtext(4, "payload.<path>");
|
|
486
|
+
i0.ɵɵelementEnd();
|
|
487
|
+
i0.ɵɵtext(5, " read when the step is reached. One signal completes every step waiting on its key.");
|
|
488
|
+
i0.ɵɵelementEnd();
|
|
489
|
+
} if (rf & 2) {
|
|
490
|
+
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
491
|
+
i0.ɵɵproperty("value", ctx_r1.ConfigText("correlationKey"));
|
|
492
|
+
} }
|
|
493
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_6_Conditional_9_Template(rf, ctx) { if (rf & 1) {
|
|
494
|
+
i0.ɵɵelementStart(0, "div", 28);
|
|
495
|
+
i0.ɵɵtext(1);
|
|
496
|
+
i0.ɵɵelementEnd();
|
|
497
|
+
} if (rf & 2) {
|
|
498
|
+
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
499
|
+
i0.ɵɵadvance();
|
|
500
|
+
i0.ɵɵtextInterpolate(ctx_r1.ConfigText("correlationKey") || "Signalled by task ID");
|
|
501
|
+
} }
|
|
502
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_6_Conditional_13_Template(rf, ctx) { if (rf & 1) {
|
|
503
|
+
const _r20 = i0.ɵɵgetCurrentView();
|
|
504
|
+
i0.ɵɵelementStart(0, "input", 52);
|
|
505
|
+
i0.ɵɵlistener("change", function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_6_Conditional_13_Template_input_change_0_listener($event) { i0.ɵɵrestoreView(_r20); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.OnConfigNumberChange("expiresInHours", ctx_r1.InputValue($event))); });
|
|
506
|
+
i0.ɵɵelementEnd();
|
|
507
|
+
} if (rf & 2) {
|
|
508
|
+
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
509
|
+
i0.ɵɵproperty("value", ctx_r1.ConfigText("expiresInHours"));
|
|
510
|
+
} }
|
|
511
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_6_Conditional_14_Template(rf, ctx) { if (rf & 1) {
|
|
512
|
+
i0.ɵɵelementStart(0, "div", 28);
|
|
513
|
+
i0.ɵɵtext(1);
|
|
514
|
+
i0.ɵɵelementEnd();
|
|
515
|
+
} if (rf & 2) {
|
|
516
|
+
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
517
|
+
i0.ɵɵadvance();
|
|
518
|
+
i0.ɵɵtextInterpolate(ctx_r1.ConfigText("expiresInHours") || "Never");
|
|
519
|
+
} }
|
|
520
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
521
|
+
i0.ɵɵelementStart(0, "div", 26)(1, "label");
|
|
522
|
+
i0.ɵɵtext(2, "Waits on");
|
|
523
|
+
i0.ɵɵelementEnd();
|
|
524
|
+
i0.ɵɵconditionalCreate(3, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_6_Conditional_3_Template, 3, 1)(4, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_6_Conditional_4_Template, 2, 1, "div", 28);
|
|
525
|
+
i0.ɵɵelementEnd();
|
|
526
|
+
i0.ɵɵelementStart(5, "div", 26)(6, "label");
|
|
527
|
+
i0.ɵɵtext(7, "Correlation key");
|
|
528
|
+
i0.ɵɵelementEnd();
|
|
529
|
+
i0.ɵɵconditionalCreate(8, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_6_Conditional_8_Template, 6, 1)(9, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_6_Conditional_9_Template, 2, 1, "div", 28);
|
|
530
|
+
i0.ɵɵelementEnd();
|
|
531
|
+
i0.ɵɵelementStart(10, "div", 26)(11, "label");
|
|
532
|
+
i0.ɵɵtext(12, "Expires after (hours)");
|
|
533
|
+
i0.ɵɵelementEnd();
|
|
534
|
+
i0.ɵɵconditionalCreate(13, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_6_Conditional_13_Template, 1, 1, "input", 49)(14, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_6_Conditional_14_Template, 2, 1, "div", 28);
|
|
535
|
+
i0.ɵɵelementEnd();
|
|
536
|
+
} if (rf & 2) {
|
|
537
|
+
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
538
|
+
i0.ɵɵadvance(3);
|
|
539
|
+
i0.ɵɵconditional(!ctx_r1.ReadOnly ? 3 : 4);
|
|
540
|
+
i0.ɵɵadvance(5);
|
|
541
|
+
i0.ɵɵconditional(!ctx_r1.ReadOnly ? 8 : 9);
|
|
542
|
+
i0.ɵɵadvance(5);
|
|
543
|
+
i0.ɵɵconditional(!ctx_r1.ReadOnly ? 13 : 14);
|
|
544
|
+
} }
|
|
545
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_7_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
546
|
+
const _r21 = i0.ɵɵgetCurrentView();
|
|
547
|
+
i0.ɵɵelementStart(0, "select", 34);
|
|
548
|
+
i0.ɵɵlistener("change", function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_7_Conditional_3_Template_select_change_0_listener($event) { i0.ɵɵrestoreView(_r21); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.OnWaitModeChange(ctx_r1.InputValue($event))); });
|
|
549
|
+
i0.ɵɵelementStart(1, "option", 55);
|
|
550
|
+
i0.ɵɵtext(2, "For a length of time");
|
|
551
|
+
i0.ɵɵelementEnd();
|
|
552
|
+
i0.ɵɵelementStart(3, "option", 56);
|
|
553
|
+
i0.ɵɵtext(4, "Until a moment");
|
|
554
|
+
i0.ɵɵelementEnd()();
|
|
555
|
+
} if (rf & 2) {
|
|
556
|
+
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
557
|
+
i0.ɵɵproperty("value", ctx_r1.WaitFields.Mode);
|
|
558
|
+
} }
|
|
559
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_7_Conditional_4_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
560
|
+
const _r22 = i0.ɵɵgetCurrentView();
|
|
561
|
+
i0.ɵɵelementStart(0, "input", 58);
|
|
562
|
+
i0.ɵɵlistener("change", function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_7_Conditional_4_Conditional_3_Template_input_change_0_listener($event) { i0.ɵɵrestoreView(_r22); const ctx_r1 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r1.OnConfigNumberChange("durationSeconds", ctx_r1.InputValue($event))); });
|
|
563
|
+
i0.ɵɵelementEnd();
|
|
564
|
+
} if (rf & 2) {
|
|
565
|
+
const ctx_r1 = i0.ɵɵnextContext(5);
|
|
566
|
+
i0.ɵɵproperty("value", ctx_r1.WaitFields.DurationSeconds ?? "");
|
|
567
|
+
} }
|
|
568
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_7_Conditional_4_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
569
|
+
i0.ɵɵelementStart(0, "div", 28);
|
|
570
|
+
i0.ɵɵtext(1);
|
|
571
|
+
i0.ɵɵelementEnd();
|
|
572
|
+
} if (rf & 2) {
|
|
573
|
+
const ctx_r1 = i0.ɵɵnextContext(5);
|
|
574
|
+
i0.ɵɵadvance();
|
|
575
|
+
i0.ɵɵtextInterpolate(ctx_r1.WaitFields.DurationSeconds ?? "\u2014");
|
|
576
|
+
} }
|
|
577
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_7_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
578
|
+
i0.ɵɵelementStart(0, "div", 26)(1, "label");
|
|
579
|
+
i0.ɵɵtext(2, "Seconds");
|
|
580
|
+
i0.ɵɵelementEnd();
|
|
581
|
+
i0.ɵɵconditionalCreate(3, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_7_Conditional_4_Conditional_3_Template, 1, 1, "input", 57)(4, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_7_Conditional_4_Conditional_4_Template, 2, 1, "div", 28);
|
|
582
|
+
i0.ɵɵelementEnd();
|
|
583
|
+
} if (rf & 2) {
|
|
584
|
+
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
585
|
+
i0.ɵɵadvance(3);
|
|
586
|
+
i0.ɵɵconditional(!ctx_r1.ReadOnly ? 3 : 4);
|
|
587
|
+
} }
|
|
588
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_7_Conditional_5_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
589
|
+
const _r23 = i0.ɵɵgetCurrentView();
|
|
590
|
+
i0.ɵɵelementStart(0, "input", 59);
|
|
591
|
+
i0.ɵɵlistener("change", function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_7_Conditional_5_Conditional_3_Template_input_change_0_listener($event) { i0.ɵɵrestoreView(_r23); const ctx_r1 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r1.OnConfigTextChange("until", ctx_r1.InputValue($event))); });
|
|
592
|
+
i0.ɵɵelementEnd();
|
|
593
|
+
i0.ɵɵelementStart(1, "div", 48);
|
|
594
|
+
i0.ɵɵtext(2, "An ISO date and time, or ");
|
|
595
|
+
i0.ɵɵelementStart(3, "code");
|
|
596
|
+
i0.ɵɵtext(4, "payload.<path>");
|
|
597
|
+
i0.ɵɵelementEnd();
|
|
598
|
+
i0.ɵɵtext(5, " holding one. A moment already past continues at once.");
|
|
599
|
+
i0.ɵɵelementEnd();
|
|
600
|
+
} if (rf & 2) {
|
|
601
|
+
const ctx_r1 = i0.ɵɵnextContext(5);
|
|
602
|
+
i0.ɵɵproperty("value", ctx_r1.WaitFields.Until);
|
|
603
|
+
} }
|
|
604
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_7_Conditional_5_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
605
|
+
i0.ɵɵelementStart(0, "div", 28);
|
|
606
|
+
i0.ɵɵtext(1);
|
|
607
|
+
i0.ɵɵelementEnd();
|
|
608
|
+
} if (rf & 2) {
|
|
609
|
+
const ctx_r1 = i0.ɵɵnextContext(5);
|
|
610
|
+
i0.ɵɵadvance();
|
|
611
|
+
i0.ɵɵtextInterpolate(ctx_r1.WaitFields.Until || "\u2014");
|
|
612
|
+
} }
|
|
613
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_7_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
614
|
+
i0.ɵɵelementStart(0, "div", 26)(1, "label");
|
|
615
|
+
i0.ɵɵtext(2, "Until");
|
|
616
|
+
i0.ɵɵelementEnd();
|
|
617
|
+
i0.ɵɵconditionalCreate(3, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_7_Conditional_5_Conditional_3_Template, 6, 1)(4, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_7_Conditional_5_Conditional_4_Template, 2, 1, "div", 28);
|
|
618
|
+
i0.ɵɵelementEnd();
|
|
619
|
+
} if (rf & 2) {
|
|
620
|
+
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
621
|
+
i0.ɵɵadvance(3);
|
|
622
|
+
i0.ɵɵconditional(!ctx_r1.ReadOnly ? 3 : 4);
|
|
623
|
+
} }
|
|
624
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_7_Template(rf, ctx) { if (rf & 1) {
|
|
625
|
+
i0.ɵɵelementStart(0, "div", 26)(1, "label");
|
|
626
|
+
i0.ɵɵtext(2, "Wait");
|
|
627
|
+
i0.ɵɵelementEnd();
|
|
628
|
+
i0.ɵɵconditionalCreate(3, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_7_Conditional_3_Template, 5, 1, "select", 30);
|
|
629
|
+
i0.ɵɵelementEnd();
|
|
630
|
+
i0.ɵɵconditionalCreate(4, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_7_Conditional_4_Template, 5, 1, "div", 26)(5, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_7_Conditional_5_Template, 5, 1, "div", 26);
|
|
631
|
+
} if (rf & 2) {
|
|
632
|
+
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
633
|
+
i0.ɵɵadvance(3);
|
|
634
|
+
i0.ɵɵconditional(!ctx_r1.ReadOnly ? 3 : -1);
|
|
635
|
+
i0.ɵɵadvance();
|
|
636
|
+
i0.ɵɵconditional(ctx_r1.WaitFields.Mode === "duration" ? 4 : 5);
|
|
637
|
+
} }
|
|
638
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_8_Conditional_0_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
639
|
+
const _r25 = i0.ɵɵgetCurrentView();
|
|
640
|
+
i0.ɵɵelementStart(0, "input", 67);
|
|
641
|
+
i0.ɵɵlistener("change", function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_8_Conditional_0_Conditional_3_Template_input_change_0_listener($event) { i0.ɵɵrestoreView(_r25); const ctx_r1 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r1.OnConfigTextChange("collectionPath", ctx_r1.InputValue($event))); });
|
|
642
|
+
i0.ɵɵelementEnd();
|
|
643
|
+
} if (rf & 2) {
|
|
644
|
+
const ctx_r1 = i0.ɵɵnextContext(5);
|
|
645
|
+
i0.ɵɵproperty("value", ctx_r1.ConfigText("collectionPath"));
|
|
646
|
+
} }
|
|
647
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_8_Conditional_0_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
648
|
+
i0.ɵɵelementStart(0, "div", 28);
|
|
649
|
+
i0.ɵɵtext(1);
|
|
650
|
+
i0.ɵɵelementEnd();
|
|
651
|
+
} if (rf & 2) {
|
|
652
|
+
const ctx_r1 = i0.ɵɵnextContext(5);
|
|
653
|
+
i0.ɵɵadvance();
|
|
654
|
+
i0.ɵɵtextInterpolate(ctx_r1.ConfigText("collectionPath") || "\u2014");
|
|
655
|
+
} }
|
|
656
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_8_Conditional_0_Conditional_8_Template(rf, ctx) { if (rf & 1) {
|
|
657
|
+
const _r26 = i0.ɵɵgetCurrentView();
|
|
658
|
+
i0.ɵɵelementStart(0, "input", 68);
|
|
659
|
+
i0.ɵɵlistener("change", function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_8_Conditional_0_Conditional_8_Template_input_change_0_listener($event) { i0.ɵɵrestoreView(_r26); const ctx_r1 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r1.OnConfigTextChange("itemVariable", ctx_r1.InputValue($event))); });
|
|
660
|
+
i0.ɵɵelementEnd();
|
|
661
|
+
} if (rf & 2) {
|
|
662
|
+
const ctx_r1 = i0.ɵɵnextContext(5);
|
|
663
|
+
i0.ɵɵproperty("value", ctx_r1.ConfigText("itemVariable"));
|
|
664
|
+
} }
|
|
665
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_8_Conditional_0_Conditional_9_Template(rf, ctx) { if (rf & 1) {
|
|
666
|
+
i0.ɵɵelementStart(0, "div", 28);
|
|
667
|
+
i0.ɵɵtext(1);
|
|
668
|
+
i0.ɵɵelementEnd();
|
|
669
|
+
} if (rf & 2) {
|
|
670
|
+
const ctx_r1 = i0.ɵɵnextContext(5);
|
|
671
|
+
i0.ɵɵadvance();
|
|
672
|
+
i0.ɵɵtextInterpolate(ctx_r1.ConfigText("itemVariable") || "item");
|
|
673
|
+
} }
|
|
674
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_8_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
675
|
+
i0.ɵɵelementStart(0, "div", 26)(1, "label");
|
|
676
|
+
i0.ɵɵtext(2, "Collection Path");
|
|
677
|
+
i0.ɵɵelementEnd();
|
|
678
|
+
i0.ɵɵconditionalCreate(3, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_8_Conditional_0_Conditional_3_Template, 1, 1, "input", 65)(4, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_8_Conditional_0_Conditional_4_Template, 2, 1, "div", 28);
|
|
679
|
+
i0.ɵɵelementEnd();
|
|
680
|
+
i0.ɵɵelementStart(5, "div", 26)(6, "label");
|
|
681
|
+
i0.ɵɵtext(7, "Item Variable");
|
|
682
|
+
i0.ɵɵelementEnd();
|
|
683
|
+
i0.ɵɵconditionalCreate(8, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_8_Conditional_0_Conditional_8_Template, 1, 1, "input", 66)(9, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_8_Conditional_0_Conditional_9_Template, 2, 1, "div", 28);
|
|
684
|
+
i0.ɵɵelementEnd();
|
|
685
|
+
} if (rf & 2) {
|
|
686
|
+
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
687
|
+
i0.ɵɵadvance(3);
|
|
688
|
+
i0.ɵɵconditional(!ctx_r1.ReadOnly ? 3 : 4);
|
|
689
|
+
i0.ɵɵadvance(5);
|
|
690
|
+
i0.ɵɵconditional(!ctx_r1.ReadOnly ? 8 : 9);
|
|
691
|
+
} }
|
|
692
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_8_Conditional_1_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
693
|
+
const _r27 = i0.ɵɵgetCurrentView();
|
|
694
|
+
i0.ɵɵelementStart(0, "input", 70);
|
|
695
|
+
i0.ɵɵlistener("change", function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_8_Conditional_1_Conditional_3_Template_input_change_0_listener($event) { i0.ɵɵrestoreView(_r27); const ctx_r1 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r1.OnConfigTextChange("condition", ctx_r1.InputValue($event))); });
|
|
696
|
+
i0.ɵɵelementEnd();
|
|
697
|
+
} if (rf & 2) {
|
|
698
|
+
const ctx_r1 = i0.ɵɵnextContext(5);
|
|
699
|
+
i0.ɵɵproperty("value", ctx_r1.ConfigText("condition"));
|
|
700
|
+
} }
|
|
701
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_8_Conditional_1_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
702
|
+
i0.ɵɵelementStart(0, "div", 28);
|
|
703
|
+
i0.ɵɵtext(1);
|
|
704
|
+
i0.ɵɵelementEnd();
|
|
705
|
+
} if (rf & 2) {
|
|
706
|
+
const ctx_r1 = i0.ɵɵnextContext(5);
|
|
707
|
+
i0.ɵɵadvance();
|
|
708
|
+
i0.ɵɵtextInterpolate(ctx_r1.ConfigText("condition") || "\u2014");
|
|
709
|
+
} }
|
|
710
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_8_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
711
|
+
i0.ɵɵelementStart(0, "div", 26)(1, "label");
|
|
712
|
+
i0.ɵɵtext(2, "While Condition");
|
|
713
|
+
i0.ɵɵelementEnd();
|
|
714
|
+
i0.ɵɵconditionalCreate(3, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_8_Conditional_1_Conditional_3_Template, 1, 1, "input", 69)(4, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_8_Conditional_1_Conditional_4_Template, 2, 1, "div", 28);
|
|
715
|
+
i0.ɵɵelementEnd();
|
|
716
|
+
} if (rf & 2) {
|
|
717
|
+
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
370
718
|
i0.ɵɵadvance(3);
|
|
719
|
+
i0.ɵɵconditional(!ctx_r1.ReadOnly ? 3 : 4);
|
|
720
|
+
} }
|
|
721
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_8_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
722
|
+
const _r28 = i0.ɵɵgetCurrentView();
|
|
723
|
+
i0.ɵɵelementStart(0, "select", 34);
|
|
724
|
+
i0.ɵɵlistener("change", function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_8_Conditional_6_Template_select_change_0_listener($event) { i0.ɵɵrestoreView(_r28); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.OnLoopExecutionModeChange(ctx_r1.InputValue($event))); });
|
|
725
|
+
i0.ɵɵelementStart(1, "option", 71);
|
|
726
|
+
i0.ɵɵtext(2, "Sequential");
|
|
727
|
+
i0.ɵɵelementEnd();
|
|
728
|
+
i0.ɵɵelementStart(3, "option", 72);
|
|
729
|
+
i0.ɵɵtext(4, "Parallel");
|
|
730
|
+
i0.ɵɵelementEnd()();
|
|
731
|
+
} if (rf & 2) {
|
|
732
|
+
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
733
|
+
i0.ɵɵproperty("value", ctx_r1.ConfigText("executionMode") || "sequential");
|
|
734
|
+
} }
|
|
735
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_8_Conditional_7_Template(rf, ctx) { if (rf & 1) {
|
|
736
|
+
i0.ɵɵelementStart(0, "div", 28);
|
|
737
|
+
i0.ɵɵtext(1);
|
|
738
|
+
i0.ɵɵelementEnd();
|
|
739
|
+
} if (rf & 2) {
|
|
740
|
+
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
741
|
+
i0.ɵɵadvance();
|
|
742
|
+
i0.ɵɵtextInterpolate(ctx_r1.ConfigText("executionMode") || "sequential");
|
|
743
|
+
} }
|
|
744
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_8_Conditional_11_Template(rf, ctx) { if (rf & 1) {
|
|
745
|
+
const _r29 = i0.ɵɵgetCurrentView();
|
|
746
|
+
i0.ɵɵelementStart(0, "input", 73);
|
|
747
|
+
i0.ɵɵlistener("change", function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_8_Conditional_11_Template_input_change_0_listener($event) { i0.ɵɵrestoreView(_r29); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.OnConfigNumberChange("maxIterations", ctx_r1.InputValue($event))); });
|
|
748
|
+
i0.ɵɵelementEnd();
|
|
749
|
+
} if (rf & 2) {
|
|
750
|
+
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
751
|
+
i0.ɵɵproperty("value", ctx_r1.ConfigText("maxIterations"));
|
|
752
|
+
} }
|
|
753
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_8_Conditional_12_Template(rf, ctx) { if (rf & 1) {
|
|
754
|
+
i0.ɵɵelementStart(0, "div", 28);
|
|
755
|
+
i0.ɵɵtext(1);
|
|
756
|
+
i0.ɵɵelementEnd();
|
|
757
|
+
} if (rf & 2) {
|
|
758
|
+
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
759
|
+
i0.ɵɵadvance();
|
|
760
|
+
i0.ɵɵtextInterpolate(ctx_r1.ConfigText("maxIterations") || "Default");
|
|
761
|
+
} }
|
|
762
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_8_Conditional_13_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
763
|
+
const _r30 = i0.ɵɵgetCurrentView();
|
|
764
|
+
i0.ɵɵelementStart(0, "input", 75);
|
|
765
|
+
i0.ɵɵlistener("change", function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_8_Conditional_13_Conditional_3_Template_input_change_0_listener($event) { i0.ɵɵrestoreView(_r30); const ctx_r1 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r1.OnConfigNumberChange("maxConcurrency", ctx_r1.InputValue($event))); });
|
|
766
|
+
i0.ɵɵelementEnd();
|
|
767
|
+
} if (rf & 2) {
|
|
768
|
+
const ctx_r1 = i0.ɵɵnextContext(5);
|
|
769
|
+
i0.ɵɵproperty("value", ctx_r1.ConfigText("maxConcurrency"));
|
|
770
|
+
} }
|
|
771
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_8_Conditional_13_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
772
|
+
i0.ɵɵelementStart(0, "div", 28);
|
|
773
|
+
i0.ɵɵtext(1);
|
|
774
|
+
i0.ɵɵelementEnd();
|
|
775
|
+
} if (rf & 2) {
|
|
776
|
+
const ctx_r1 = i0.ɵɵnextContext(5);
|
|
777
|
+
i0.ɵɵadvance();
|
|
778
|
+
i0.ɵɵtextInterpolate(ctx_r1.ConfigText("maxConcurrency") || "4");
|
|
779
|
+
} }
|
|
780
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_8_Conditional_13_Template(rf, ctx) { if (rf & 1) {
|
|
781
|
+
i0.ɵɵelementStart(0, "div", 26)(1, "label");
|
|
782
|
+
i0.ɵɵtext(2, "Max Concurrency");
|
|
783
|
+
i0.ɵɵelementEnd();
|
|
784
|
+
i0.ɵɵconditionalCreate(3, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_8_Conditional_13_Conditional_3_Template, 1, 1, "input", 74)(4, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_8_Conditional_13_Conditional_4_Template, 2, 1, "div", 28);
|
|
785
|
+
i0.ɵɵelementEnd();
|
|
786
|
+
} if (rf & 2) {
|
|
787
|
+
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
788
|
+
i0.ɵɵadvance(3);
|
|
789
|
+
i0.ɵɵconditional(!ctx_r1.ReadOnly ? 3 : 4);
|
|
790
|
+
} }
|
|
791
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_8_Conditional_18_Template(rf, ctx) { if (rf & 1) {
|
|
792
|
+
const _r31 = i0.ɵɵgetCurrentView();
|
|
793
|
+
i0.ɵɵelementStart(0, "div", 64)(1, "mj-code-editor", 51);
|
|
794
|
+
i0.ɵɵlistener("change", function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_8_Conditional_18_Template_mj_code_editor_change_1_listener($event) { i0.ɵɵrestoreView(_r31); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.OnConfigurationChange($event)); });
|
|
795
|
+
i0.ɵɵelementEnd()();
|
|
796
|
+
} if (rf & 2) {
|
|
797
|
+
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
798
|
+
i0.ɵɵadvance();
|
|
371
799
|
i0.ɵɵproperty("value", ctx_r1.FormatJsonDisplay(ctx_r1.Step.Configuration))("readonly", ctx_r1.ReadOnly)("lineWrapping", true);
|
|
372
800
|
} }
|
|
373
|
-
function
|
|
374
|
-
const
|
|
375
|
-
i0.ɵɵ
|
|
376
|
-
i0.ɵɵ
|
|
801
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_8_Template(rf, ctx) { if (rf & 1) {
|
|
802
|
+
const _r24 = i0.ɵɵgetCurrentView();
|
|
803
|
+
i0.ɵɵconditionalCreate(0, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_8_Conditional_0_Template, 10, 2)(1, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_8_Conditional_1_Template, 5, 1, "div", 26);
|
|
804
|
+
i0.ɵɵelementStart(2, "div", 60)(3, "div", 26)(4, "label");
|
|
805
|
+
i0.ɵɵtext(5, "Execution Mode");
|
|
806
|
+
i0.ɵɵelementEnd();
|
|
807
|
+
i0.ɵɵconditionalCreate(6, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_8_Conditional_6_Template, 5, 1, "select", 30)(7, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_8_Conditional_7_Template, 2, 1, "div", 28);
|
|
808
|
+
i0.ɵɵelementEnd();
|
|
809
|
+
i0.ɵɵelementStart(8, "div", 26)(9, "label");
|
|
810
|
+
i0.ɵɵtext(10, "Max Iterations");
|
|
811
|
+
i0.ɵɵelementEnd();
|
|
812
|
+
i0.ɵɵconditionalCreate(11, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_8_Conditional_11_Template, 1, 1, "input", 61)(12, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_8_Conditional_12_Template, 2, 1, "div", 28);
|
|
813
|
+
i0.ɵɵelementEnd()();
|
|
814
|
+
i0.ɵɵconditionalCreate(13, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_8_Conditional_13_Template, 5, 1, "div", 26);
|
|
815
|
+
i0.ɵɵelementStart(14, "div", 26)(15, "button", 62);
|
|
816
|
+
i0.ɵɵlistener("click", function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_8_Template_button_click_15_listener() { i0.ɵɵrestoreView(_r24); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.ShowRawLoopJson = !ctx_r1.ShowRawLoopJson); });
|
|
817
|
+
i0.ɵɵelement(16, "i", 63);
|
|
818
|
+
i0.ɵɵtext(17);
|
|
819
|
+
i0.ɵɵelementEnd();
|
|
820
|
+
i0.ɵɵconditionalCreate(18, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_8_Conditional_18_Template, 2, 3, "div", 64);
|
|
821
|
+
i0.ɵɵelementEnd();
|
|
822
|
+
} if (rf & 2) {
|
|
823
|
+
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
824
|
+
i0.ɵɵconditional(ctx_r1.Step.StepType === "ForEach" ? 0 : 1);
|
|
825
|
+
i0.ɵɵadvance(6);
|
|
826
|
+
i0.ɵɵconditional(!ctx_r1.ReadOnly ? 6 : 7);
|
|
827
|
+
i0.ɵɵadvance(5);
|
|
828
|
+
i0.ɵɵconditional(!ctx_r1.ReadOnly ? 11 : 12);
|
|
829
|
+
i0.ɵɵadvance(2);
|
|
830
|
+
i0.ɵɵconditional(ctx_r1.ConfigText("executionMode") === "parallel" ? 13 : -1);
|
|
831
|
+
i0.ɵɵadvance(4);
|
|
832
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r1.ShowRawLoopJson ? "Hide Raw Loop JSON" : "Edit Raw Loop JSON", " ");
|
|
833
|
+
i0.ɵɵadvance();
|
|
834
|
+
i0.ɵɵconditional(ctx_r1.ShowRawLoopJson ? 18 : -1);
|
|
835
|
+
} }
|
|
836
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
837
|
+
const _r32 = i0.ɵɵgetCurrentView();
|
|
838
|
+
i0.ɵɵelementStart(0, "input", 86);
|
|
839
|
+
i0.ɵɵlistener("input", function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_Conditional_5_Template_input_input_0_listener($event) { i0.ɵɵrestoreView(_r32); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.OnDecisionKeyChange(ctx_r1.InputValue($event))); })("change", function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_Conditional_5_Template_input_change_0_listener() { i0.ɵɵrestoreView(_r32); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.OnDecisionKeyCommit()); })("keydown.enter", function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_Conditional_5_Template_input_keydown_enter_0_listener() { i0.ɵɵrestoreView(_r32); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.OnDecisionKeyCommit()); });
|
|
377
840
|
i0.ɵɵelementEnd();
|
|
378
841
|
} if (rf & 2) {
|
|
379
842
|
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
380
843
|
i0.ɵɵclassProp("mj-agent-props-input--error", !!ctx_r1.DecisionKeyError);
|
|
381
844
|
i0.ɵɵproperty("value", ctx_r1.DecisionKeyText);
|
|
382
845
|
} }
|
|
383
|
-
function
|
|
846
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
384
847
|
i0.ɵɵelementStart(0, "div", 28);
|
|
385
848
|
i0.ɵɵtext(1);
|
|
386
849
|
i0.ɵɵelementEnd();
|
|
@@ -389,8 +852,8 @@ function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_
|
|
|
389
852
|
i0.ɵɵadvance();
|
|
390
853
|
i0.ɵɵtextInterpolate(ctx_r1.DecisionConfig.key);
|
|
391
854
|
} }
|
|
392
|
-
function
|
|
393
|
-
i0.ɵɵelementStart(0, "span",
|
|
855
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_Conditional_7_Template(rf, ctx) { if (rf & 1) {
|
|
856
|
+
i0.ɵɵelementStart(0, "span", 78);
|
|
394
857
|
i0.ɵɵtext(1);
|
|
395
858
|
i0.ɵɵelementEnd();
|
|
396
859
|
} if (rf & 2) {
|
|
@@ -398,24 +861,24 @@ function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_
|
|
|
398
861
|
i0.ɵɵadvance();
|
|
399
862
|
i0.ɵɵtextInterpolate(ctx_r1.DecisionKeyError);
|
|
400
863
|
} }
|
|
401
|
-
function
|
|
402
|
-
i0.ɵɵelementStart(0, "option",
|
|
864
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_Conditional_13_For_4_Template(rf, ctx) { if (rf & 1) {
|
|
865
|
+
i0.ɵɵelementStart(0, "option", 45);
|
|
403
866
|
i0.ɵɵtext(1);
|
|
404
867
|
i0.ɵɵelementEnd();
|
|
405
868
|
} if (rf & 2) {
|
|
406
|
-
const
|
|
407
|
-
i0.ɵɵproperty("value",
|
|
869
|
+
const prompt_r34 = ctx.$implicit;
|
|
870
|
+
i0.ɵɵproperty("value", prompt_r34.ID);
|
|
408
871
|
i0.ɵɵadvance();
|
|
409
|
-
i0.ɵɵtextInterpolate(
|
|
872
|
+
i0.ɵɵtextInterpolate(prompt_r34.Name);
|
|
410
873
|
} }
|
|
411
|
-
function
|
|
412
|
-
const
|
|
874
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_Conditional_13_Template(rf, ctx) { if (rf & 1) {
|
|
875
|
+
const _r33 = i0.ɵɵgetCurrentView();
|
|
413
876
|
i0.ɵɵelementStart(0, "select", 34);
|
|
414
|
-
i0.ɵɵlistener("change", function
|
|
415
|
-
i0.ɵɵelementStart(1, "option",
|
|
877
|
+
i0.ɵɵlistener("change", function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_Conditional_13_Template_select_change_0_listener($event) { i0.ɵɵrestoreView(_r33); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.OnDecisionPromptChange(ctx_r1.InputValue($event))); });
|
|
878
|
+
i0.ɵɵelementStart(1, "option", 44);
|
|
416
879
|
i0.ɵɵtext(2, "Default Decision (system default)");
|
|
417
880
|
i0.ɵɵelementEnd();
|
|
418
|
-
i0.ɵɵrepeaterCreate(3,
|
|
881
|
+
i0.ɵɵrepeaterCreate(3, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_Conditional_13_For_4_Template, 2, 2, "option", 45, _forTrack0);
|
|
419
882
|
i0.ɵɵelementEnd();
|
|
420
883
|
} if (rf & 2) {
|
|
421
884
|
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
@@ -423,7 +886,7 @@ function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_
|
|
|
423
886
|
i0.ɵɵadvance(3);
|
|
424
887
|
i0.ɵɵrepeater(ctx_r1.DecisionPrompts);
|
|
425
888
|
} }
|
|
426
|
-
function
|
|
889
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_Conditional_14_Template(rf, ctx) { if (rf & 1) {
|
|
427
890
|
i0.ɵɵelementStart(0, "div", 28);
|
|
428
891
|
i0.ɵɵtext(1);
|
|
429
892
|
i0.ɵɵelementEnd();
|
|
@@ -432,16 +895,16 @@ function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_
|
|
|
432
895
|
i0.ɵɵadvance();
|
|
433
896
|
i0.ɵɵtextInterpolate(ctx_r1.SelectedDecisionPromptName);
|
|
434
897
|
} }
|
|
435
|
-
function
|
|
436
|
-
const
|
|
437
|
-
i0.ɵɵelementStart(0, "input",
|
|
438
|
-
i0.ɵɵlistener("input", function
|
|
898
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_Conditional_20_Template(rf, ctx) { if (rf & 1) {
|
|
899
|
+
const _r35 = i0.ɵɵgetCurrentView();
|
|
900
|
+
i0.ɵɵelementStart(0, "input", 87);
|
|
901
|
+
i0.ɵɵlistener("input", function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_Conditional_20_Template_input_input_0_listener($event) { i0.ɵɵrestoreView(_r35); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.OnDecisionStateChange(ctx_r1.InputValue($event))); });
|
|
439
902
|
i0.ɵɵelementEnd();
|
|
440
903
|
} if (rf & 2) {
|
|
441
904
|
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
442
905
|
i0.ɵɵproperty("value", ctx_r1.DecisionConfig.state ?? "");
|
|
443
906
|
} }
|
|
444
|
-
function
|
|
907
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_Conditional_21_Template(rf, ctx) { if (rf & 1) {
|
|
445
908
|
i0.ɵɵelementStart(0, "div", 28);
|
|
446
909
|
i0.ɵɵtext(1);
|
|
447
910
|
i0.ɵɵelementEnd();
|
|
@@ -450,299 +913,299 @@ function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_
|
|
|
450
913
|
i0.ɵɵadvance();
|
|
451
914
|
i0.ɵɵtextInterpolate(ctx_r1.DecisionConfig.state || "payload");
|
|
452
915
|
} }
|
|
453
|
-
function
|
|
454
|
-
const
|
|
455
|
-
i0.ɵɵelementStart(0, "button",
|
|
456
|
-
i0.ɵɵlistener("click", function
|
|
457
|
-
i0.ɵɵelement(1, "i",
|
|
916
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_Conditional_27_Template(rf, ctx) { if (rf & 1) {
|
|
917
|
+
const _r36 = i0.ɵɵgetCurrentView();
|
|
918
|
+
i0.ɵɵelementStart(0, "button", 88);
|
|
919
|
+
i0.ɵɵlistener("click", function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_Conditional_27_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r36); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.OnAddDecisionQuestion()); });
|
|
920
|
+
i0.ɵɵelement(1, "i", 89);
|
|
458
921
|
i0.ɵɵtext(2, " Add Question ");
|
|
459
922
|
i0.ɵɵelementEnd();
|
|
460
923
|
} }
|
|
461
|
-
function
|
|
462
|
-
const
|
|
463
|
-
i0.ɵɵelementStart(0, "button",
|
|
464
|
-
i0.ɵɵlistener("click", function
|
|
465
|
-
i0.ɵɵelement(1, "i",
|
|
924
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_For_30_Conditional_8_Template(rf, ctx) { if (rf & 1) {
|
|
925
|
+
const _r37 = i0.ɵɵgetCurrentView();
|
|
926
|
+
i0.ɵɵelementStart(0, "button", 101);
|
|
927
|
+
i0.ɵɵlistener("click", function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_For_30_Conditional_8_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r37); const item_r38 = i0.ɵɵnextContext().$implicit; const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.OnRemoveDecisionQuestion(item_r38.key)); });
|
|
928
|
+
i0.ɵɵelement(1, "i", 102);
|
|
466
929
|
i0.ɵɵelementEnd();
|
|
467
930
|
} }
|
|
468
|
-
function
|
|
469
|
-
const
|
|
470
|
-
i0.ɵɵelementStart(0, "input",
|
|
471
|
-
i0.ɵɵlistener("change", function
|
|
931
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_For_30_Conditional_13_Template(rf, ctx) { if (rf & 1) {
|
|
932
|
+
const _r39 = i0.ɵɵgetCurrentView();
|
|
933
|
+
i0.ɵɵelementStart(0, "input", 103);
|
|
934
|
+
i0.ɵɵlistener("change", function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_For_30_Conditional_13_Template_input_change_0_listener($event) { i0.ɵɵrestoreView(_r39); const item_r38 = i0.ɵɵnextContext().$implicit; const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.OnDecisionQuestionKeyChange(item_r38.key, ctx_r1.InputValue($event))); })("keydown.enter", function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_For_30_Conditional_13_Template_input_keydown_enter_0_listener($event) { i0.ɵɵrestoreView(_r39); const ctx_r1 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r1.BlurTarget($event)); });
|
|
472
935
|
i0.ɵɵelementEnd();
|
|
473
936
|
} if (rf & 2) {
|
|
474
|
-
const
|
|
937
|
+
const item_r38 = i0.ɵɵnextContext().$implicit;
|
|
475
938
|
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
476
|
-
i0.ɵɵclassProp("mj-agent-props-input--error", !!ctx_r1.QuestionKeyError(
|
|
477
|
-
i0.ɵɵproperty("value",
|
|
939
|
+
i0.ɵɵclassProp("mj-agent-props-input--error", !!ctx_r1.QuestionKeyError(item_r38.key));
|
|
940
|
+
i0.ɵɵproperty("value", item_r38.key);
|
|
478
941
|
} }
|
|
479
|
-
function
|
|
942
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_For_30_Conditional_14_Template(rf, ctx) { if (rf & 1) {
|
|
480
943
|
i0.ɵɵelementStart(0, "div", 28);
|
|
481
944
|
i0.ɵɵtext(1);
|
|
482
945
|
i0.ɵɵelementEnd();
|
|
483
946
|
} if (rf & 2) {
|
|
484
|
-
const
|
|
947
|
+
const item_r38 = i0.ɵɵnextContext().$implicit;
|
|
485
948
|
i0.ɵɵadvance();
|
|
486
|
-
i0.ɵɵtextInterpolate(
|
|
949
|
+
i0.ɵɵtextInterpolate(item_r38.key);
|
|
487
950
|
} }
|
|
488
|
-
function
|
|
489
|
-
i0.ɵɵelementStart(0, "span",
|
|
951
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_For_30_Conditional_15_Template(rf, ctx) { if (rf & 1) {
|
|
952
|
+
i0.ɵɵelementStart(0, "span", 78);
|
|
490
953
|
i0.ɵɵtext(1);
|
|
491
954
|
i0.ɵɵelementEnd();
|
|
492
955
|
} if (rf & 2) {
|
|
493
956
|
i0.ɵɵadvance();
|
|
494
957
|
i0.ɵɵtextInterpolate(ctx);
|
|
495
958
|
} }
|
|
496
|
-
function
|
|
497
|
-
const
|
|
959
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_For_30_Conditional_19_Template(rf, ctx) { if (rf & 1) {
|
|
960
|
+
const _r40 = i0.ɵɵgetCurrentView();
|
|
498
961
|
i0.ɵɵelementStart(0, "select", 34);
|
|
499
|
-
i0.ɵɵlistener("change", function
|
|
500
|
-
i0.ɵɵelementStart(1, "option",
|
|
962
|
+
i0.ɵɵlistener("change", function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_For_30_Conditional_19_Template_select_change_0_listener($event) { i0.ɵɵrestoreView(_r40); const item_r38 = i0.ɵɵnextContext().$implicit; const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.OnDecisionQuestionKindSelect(item_r38.key, ctx_r1.InputValue($event))); });
|
|
963
|
+
i0.ɵɵelementStart(1, "option", 104);
|
|
501
964
|
i0.ɵɵtext(2, "Likelihood (yes/no probability)");
|
|
502
965
|
i0.ɵɵelementEnd();
|
|
503
|
-
i0.ɵɵelementStart(3, "option",
|
|
966
|
+
i0.ɵɵelementStart(3, "option", 105);
|
|
504
967
|
i0.ɵɵtext(4, "Choice (pick one option)");
|
|
505
968
|
i0.ɵɵelementEnd();
|
|
506
|
-
i0.ɵɵelementStart(5, "option",
|
|
969
|
+
i0.ɵɵelementStart(5, "option", 106);
|
|
507
970
|
i0.ɵɵtext(6, "Score (ordered rubric)");
|
|
508
971
|
i0.ɵɵelementEnd()();
|
|
509
972
|
} if (rf & 2) {
|
|
510
|
-
const
|
|
511
|
-
i0.ɵɵproperty("value",
|
|
973
|
+
const item_r38 = i0.ɵɵnextContext().$implicit;
|
|
974
|
+
i0.ɵɵproperty("value", item_r38.question.kind);
|
|
512
975
|
} }
|
|
513
|
-
function
|
|
976
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_For_30_Conditional_20_Template(rf, ctx) { if (rf & 1) {
|
|
514
977
|
i0.ɵɵelementStart(0, "div", 28);
|
|
515
978
|
i0.ɵɵtext(1);
|
|
516
979
|
i0.ɵɵelementEnd();
|
|
517
980
|
} if (rf & 2) {
|
|
518
|
-
const
|
|
981
|
+
const item_r38 = i0.ɵɵnextContext().$implicit;
|
|
519
982
|
i0.ɵɵadvance();
|
|
520
|
-
i0.ɵɵtextInterpolate(
|
|
983
|
+
i0.ɵɵtextInterpolate(item_r38.question.kind);
|
|
521
984
|
} }
|
|
522
|
-
function
|
|
523
|
-
const
|
|
524
|
-
i0.ɵɵelementStart(0, "textarea",
|
|
525
|
-
i0.ɵɵlistener("input", function
|
|
985
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_For_30_Conditional_26_Template(rf, ctx) { if (rf & 1) {
|
|
986
|
+
const _r41 = i0.ɵɵgetCurrentView();
|
|
987
|
+
i0.ɵɵelementStart(0, "textarea", 107);
|
|
988
|
+
i0.ɵɵlistener("input", function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_For_30_Conditional_26_Template_textarea_input_0_listener($event) { i0.ɵɵrestoreView(_r41); const item_r38 = i0.ɵɵnextContext().$implicit; const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.OnDecisionQuestionInstructionsChange(item_r38.key, ctx_r1.InputValue($event))); });
|
|
526
989
|
i0.ɵɵelementEnd();
|
|
527
990
|
} if (rf & 2) {
|
|
528
|
-
const
|
|
529
|
-
i0.ɵɵproperty("value",
|
|
991
|
+
const item_r38 = i0.ɵɵnextContext().$implicit;
|
|
992
|
+
i0.ɵɵproperty("value", item_r38.question.instructions || "");
|
|
530
993
|
} }
|
|
531
|
-
function
|
|
994
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_For_30_Conditional_27_Template(rf, ctx) { if (rf & 1) {
|
|
532
995
|
i0.ɵɵelementStart(0, "div", 28);
|
|
533
996
|
i0.ɵɵtext(1);
|
|
534
997
|
i0.ɵɵelementEnd();
|
|
535
998
|
} if (rf & 2) {
|
|
536
|
-
const
|
|
999
|
+
const item_r38 = i0.ɵɵnextContext().$implicit;
|
|
537
1000
|
i0.ɵɵadvance();
|
|
538
|
-
i0.ɵɵtextInterpolate(
|
|
1001
|
+
i0.ɵɵtextInterpolate(item_r38.question.instructions || "\u2014");
|
|
539
1002
|
} }
|
|
540
|
-
function
|
|
541
|
-
const
|
|
542
|
-
i0.ɵɵelementStart(0, "input",
|
|
543
|
-
i0.ɵɵlistener("input", function
|
|
1003
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_For_30_Conditional_31_Template(rf, ctx) { if (rf & 1) {
|
|
1004
|
+
const _r42 = i0.ɵɵgetCurrentView();
|
|
1005
|
+
i0.ɵɵelementStart(0, "input", 108);
|
|
1006
|
+
i0.ɵɵlistener("input", function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_For_30_Conditional_31_Template_input_input_0_listener($event) { i0.ɵɵrestoreView(_r42); const item_r38 = i0.ɵɵnextContext().$implicit; const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.OnDecisionQuestionMinConfidenceChange(item_r38.key, ctx_r1.InputValue($event))); });
|
|
544
1007
|
i0.ɵɵelementEnd();
|
|
545
1008
|
} if (rf & 2) {
|
|
546
|
-
const
|
|
547
|
-
i0.ɵɵproperty("value",
|
|
1009
|
+
const item_r38 = i0.ɵɵnextContext().$implicit;
|
|
1010
|
+
i0.ɵɵproperty("value", item_r38.question.minConfidence ?? "");
|
|
548
1011
|
} }
|
|
549
|
-
function
|
|
1012
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_For_30_Conditional_32_Template(rf, ctx) { if (rf & 1) {
|
|
550
1013
|
i0.ɵɵelementStart(0, "div", 28);
|
|
551
1014
|
i0.ɵɵtext(1);
|
|
552
1015
|
i0.ɵɵelementEnd();
|
|
553
1016
|
} if (rf & 2) {
|
|
554
|
-
const
|
|
1017
|
+
const item_r38 = i0.ɵɵnextContext().$implicit;
|
|
555
1018
|
i0.ɵɵadvance();
|
|
556
|
-
i0.ɵɵtextInterpolate(
|
|
1019
|
+
i0.ɵɵtextInterpolate(item_r38.question.minConfidence ?? "None");
|
|
557
1020
|
} }
|
|
558
|
-
function
|
|
559
|
-
const
|
|
560
|
-
i0.ɵɵelementStart(0, "button",
|
|
561
|
-
i0.ɵɵlistener("click", function
|
|
562
|
-
i0.ɵɵelement(1, "i",
|
|
1021
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_For_30_Conditional_33_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
1022
|
+
const _r43 = i0.ɵɵgetCurrentView();
|
|
1023
|
+
i0.ɵɵelementStart(0, "button", 62);
|
|
1024
|
+
i0.ɵɵlistener("click", function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_For_30_Conditional_33_Conditional_4_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r43); const item_r38 = i0.ɵɵnextContext(2).$implicit; const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.OnAddChoiceOption(item_r38.key)); });
|
|
1025
|
+
i0.ɵɵelement(1, "i", 89);
|
|
563
1026
|
i0.ɵɵtext(2, " Add Option ");
|
|
564
1027
|
i0.ɵɵelementEnd();
|
|
565
1028
|
} }
|
|
566
|
-
function
|
|
567
|
-
const
|
|
568
|
-
i0.ɵɵelementStart(0, "button",
|
|
569
|
-
i0.ɵɵlistener("click", function
|
|
1029
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_For_30_Conditional_33_For_6_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
1030
|
+
const _r46 = i0.ɵɵgetCurrentView();
|
|
1031
|
+
i0.ɵɵelementStart(0, "button", 117);
|
|
1032
|
+
i0.ɵɵlistener("click", function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_For_30_Conditional_33_For_6_Conditional_3_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r46); const $index_r45 = i0.ɵɵnextContext().$index; const item_r38 = i0.ɵɵnextContext(2).$implicit; const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.OnRemoveChoiceOption(item_r38.key, $index_r45)); });
|
|
570
1033
|
i0.ɵɵelement(1, "i", 6);
|
|
571
1034
|
i0.ɵɵelementEnd();
|
|
572
1035
|
} }
|
|
573
|
-
function
|
|
574
|
-
i0.ɵɵelementStart(0, "span",
|
|
1036
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_For_30_Conditional_33_For_6_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
1037
|
+
i0.ɵɵelementStart(0, "span", 78);
|
|
575
1038
|
i0.ɵɵtext(1);
|
|
576
1039
|
i0.ɵɵelementEnd();
|
|
577
1040
|
} if (rf & 2) {
|
|
578
1041
|
i0.ɵɵadvance();
|
|
579
1042
|
i0.ɵɵtextInterpolate(ctx);
|
|
580
1043
|
} }
|
|
581
|
-
function
|
|
582
|
-
const
|
|
583
|
-
i0.ɵɵelementStart(0, "div",
|
|
584
|
-
i0.ɵɵlistener("change", function
|
|
1044
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_For_30_Conditional_33_For_6_Template(rf, ctx) { if (rf & 1) {
|
|
1045
|
+
const _r44 = i0.ɵɵgetCurrentView();
|
|
1046
|
+
i0.ɵɵelementStart(0, "div", 113)(1, "input", 114);
|
|
1047
|
+
i0.ɵɵlistener("change", function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_For_30_Conditional_33_For_6_Template_input_change_1_listener($event) { const $index_r45 = i0.ɵɵrestoreView(_r44).$index; const item_r38 = i0.ɵɵnextContext(2).$implicit; const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.OnChoiceOptionValueChange(item_r38.key, $index_r45, ctx_r1.InputValue($event))); })("keydown.enter", function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_For_30_Conditional_33_For_6_Template_input_keydown_enter_1_listener($event) { i0.ɵɵrestoreView(_r44); const ctx_r1 = i0.ɵɵnextContext(6); return i0.ɵɵresetView(ctx_r1.BlurTarget($event)); });
|
|
585
1048
|
i0.ɵɵelementEnd();
|
|
586
|
-
i0.ɵɵelementStart(2, "input",
|
|
587
|
-
i0.ɵɵlistener("input", function
|
|
1049
|
+
i0.ɵɵelementStart(2, "input", 115);
|
|
1050
|
+
i0.ɵɵlistener("input", function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_For_30_Conditional_33_For_6_Template_input_input_2_listener($event) { const $index_r45 = i0.ɵɵrestoreView(_r44).$index; const item_r38 = i0.ɵɵnextContext(2).$implicit; const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.OnChoiceOptionChange(item_r38.key, $index_r45, "description", ctx_r1.InputValue($event))); });
|
|
588
1051
|
i0.ɵɵelementEnd();
|
|
589
|
-
i0.ɵɵconditionalCreate(3,
|
|
1052
|
+
i0.ɵɵconditionalCreate(3, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_For_30_Conditional_33_For_6_Conditional_3_Template, 2, 0, "button", 116);
|
|
590
1053
|
i0.ɵɵelementEnd();
|
|
591
|
-
i0.ɵɵconditionalCreate(4,
|
|
1054
|
+
i0.ɵɵconditionalCreate(4, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_For_30_Conditional_33_For_6_Conditional_4_Template, 2, 1, "span", 78);
|
|
592
1055
|
} if (rf & 2) {
|
|
593
1056
|
let tmp_30_0;
|
|
594
|
-
const
|
|
595
|
-
const $
|
|
596
|
-
const
|
|
1057
|
+
const opt_r47 = ctx.$implicit;
|
|
1058
|
+
const $index_r45 = ctx.$index;
|
|
1059
|
+
const item_r38 = i0.ɵɵnextContext(2).$implicit;
|
|
597
1060
|
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
598
1061
|
i0.ɵɵadvance();
|
|
599
|
-
i0.ɵɵclassProp("mj-agent-props-input--error", !!ctx_r1.OptionValueError(
|
|
600
|
-
i0.ɵɵproperty("value",
|
|
1062
|
+
i0.ɵɵclassProp("mj-agent-props-input--error", !!ctx_r1.OptionValueError(item_r38.key, $index_r45));
|
|
1063
|
+
i0.ɵɵproperty("value", opt_r47.value)("readonly", ctx_r1.ReadOnly);
|
|
601
1064
|
i0.ɵɵadvance();
|
|
602
|
-
i0.ɵɵproperty("value",
|
|
1065
|
+
i0.ɵɵproperty("value", opt_r47.description)("readonly", ctx_r1.ReadOnly);
|
|
603
1066
|
i0.ɵɵadvance();
|
|
604
1067
|
i0.ɵɵconditional(!ctx_r1.ReadOnly ? 3 : -1);
|
|
605
1068
|
i0.ɵɵadvance();
|
|
606
|
-
i0.ɵɵconditional((tmp_30_0 = ctx_r1.OptionValueError(
|
|
1069
|
+
i0.ɵɵconditional((tmp_30_0 = ctx_r1.OptionValueError(item_r38.key, $index_r45)) ? 4 : -1, tmp_30_0);
|
|
607
1070
|
} }
|
|
608
|
-
function
|
|
609
|
-
i0.ɵɵelementStart(0, "div",
|
|
1071
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_For_30_Conditional_33_Template(rf, ctx) { if (rf & 1) {
|
|
1072
|
+
i0.ɵɵelementStart(0, "div", 99)(1, "div", 109)(2, "label");
|
|
610
1073
|
i0.ɵɵtext(3, "Options (2..255)");
|
|
611
1074
|
i0.ɵɵelementEnd();
|
|
612
|
-
i0.ɵɵconditionalCreate(4,
|
|
1075
|
+
i0.ɵɵconditionalCreate(4, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_For_30_Conditional_33_Conditional_4_Template, 3, 0, "button", 110);
|
|
613
1076
|
i0.ɵɵelementEnd();
|
|
614
|
-
i0.ɵɵrepeaterCreate(5,
|
|
615
|
-
i0.ɵɵelementStart(7, "div",
|
|
616
|
-
i0.ɵɵelement(8, "i",
|
|
1077
|
+
i0.ɵɵrepeaterCreate(5, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_For_30_Conditional_33_For_6_Template, 5, 8, null, null, i0.ɵɵrepeaterTrackByIndex);
|
|
1078
|
+
i0.ɵɵelementStart(7, "div", 111);
|
|
1079
|
+
i0.ɵɵelement(8, "i", 112);
|
|
617
1080
|
i0.ɵɵelementStart(9, "span");
|
|
618
1081
|
i0.ɵɵtext(10);
|
|
619
1082
|
i0.ɵɵelementEnd()()();
|
|
620
1083
|
} if (rf & 2) {
|
|
621
|
-
const
|
|
1084
|
+
const item_r38 = i0.ɵɵnextContext().$implicit;
|
|
622
1085
|
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
623
1086
|
i0.ɵɵadvance(4);
|
|
624
1087
|
i0.ɵɵconditional(!ctx_r1.ReadOnly ? 4 : -1);
|
|
625
1088
|
i0.ɵɵadvance();
|
|
626
|
-
i0.ɵɵrepeater(ctx_r1.ChoiceOptionsOf(
|
|
1089
|
+
i0.ɵɵrepeater(ctx_r1.ChoiceOptionsOf(item_r38.question));
|
|
627
1090
|
i0.ɵɵadvance(5);
|
|
628
|
-
i0.ɵɵtextInterpolate(ctx_r1.GetChoiceCoverageHint(
|
|
1091
|
+
i0.ɵɵtextInterpolate(ctx_r1.GetChoiceCoverageHint(item_r38.key, ctx_r1.ChoiceOptionsOf(item_r38.question)));
|
|
629
1092
|
} }
|
|
630
|
-
function
|
|
631
|
-
const
|
|
632
|
-
i0.ɵɵelementStart(0, "button",
|
|
633
|
-
i0.ɵɵlistener("click", function
|
|
634
|
-
i0.ɵɵelement(1, "i",
|
|
1093
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_For_30_Conditional_34_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
1094
|
+
const _r48 = i0.ɵɵgetCurrentView();
|
|
1095
|
+
i0.ɵɵelementStart(0, "button", 62);
|
|
1096
|
+
i0.ɵɵlistener("click", function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_For_30_Conditional_34_Conditional_4_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r48); const item_r38 = i0.ɵɵnextContext(2).$implicit; const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.OnAddScoreLevel(item_r38.key)); });
|
|
1097
|
+
i0.ɵɵelement(1, "i", 89);
|
|
635
1098
|
i0.ɵɵtext(2, " Add Level ");
|
|
636
1099
|
i0.ɵɵelementEnd();
|
|
637
1100
|
} }
|
|
638
|
-
function
|
|
639
|
-
const
|
|
640
|
-
i0.ɵɵelementStart(0, "button",
|
|
641
|
-
i0.ɵɵlistener("click", function
|
|
642
|
-
i0.ɵɵelement(1, "i",
|
|
1101
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_For_30_Conditional_34_For_6_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
1102
|
+
const _r51 = i0.ɵɵgetCurrentView();
|
|
1103
|
+
i0.ɵɵelementStart(0, "button", 121);
|
|
1104
|
+
i0.ɵɵlistener("click", function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_For_30_Conditional_34_For_6_Conditional_4_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r51); const $index_r50 = i0.ɵɵnextContext().$index; const item_r38 = i0.ɵɵnextContext(2).$implicit; const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.OnMoveScoreLevel(item_r38.key, $index_r50, "up")); });
|
|
1105
|
+
i0.ɵɵelement(1, "i", 122);
|
|
643
1106
|
i0.ɵɵelementEnd();
|
|
644
|
-
i0.ɵɵelementStart(2, "button",
|
|
645
|
-
i0.ɵɵlistener("click", function
|
|
646
|
-
i0.ɵɵelement(3, "i",
|
|
1107
|
+
i0.ɵɵelementStart(2, "button", 123);
|
|
1108
|
+
i0.ɵɵlistener("click", function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_For_30_Conditional_34_For_6_Conditional_4_Template_button_click_2_listener() { i0.ɵɵrestoreView(_r51); const $index_r50 = i0.ɵɵnextContext().$index; const item_r38 = i0.ɵɵnextContext(2).$implicit; const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.OnMoveScoreLevel(item_r38.key, $index_r50, "down")); });
|
|
1109
|
+
i0.ɵɵelement(3, "i", 124);
|
|
647
1110
|
i0.ɵɵelementEnd();
|
|
648
|
-
i0.ɵɵelementStart(4, "button",
|
|
649
|
-
i0.ɵɵlistener("click", function
|
|
1111
|
+
i0.ɵɵelementStart(4, "button", 125);
|
|
1112
|
+
i0.ɵɵlistener("click", function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_For_30_Conditional_34_For_6_Conditional_4_Template_button_click_4_listener() { i0.ɵɵrestoreView(_r51); const $index_r50 = i0.ɵɵnextContext().$index; const item_r38 = i0.ɵɵnextContext(2).$implicit; const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.OnRemoveScoreLevel(item_r38.key, $index_r50)); });
|
|
650
1113
|
i0.ɵɵelement(5, "i", 6);
|
|
651
1114
|
i0.ɵɵelementEnd();
|
|
652
1115
|
} if (rf & 2) {
|
|
653
|
-
const
|
|
654
|
-
const ɵ$
|
|
655
|
-
const ɵ$
|
|
656
|
-
i0.ɵɵproperty("disabled", ɵ$
|
|
1116
|
+
const ctx_r51 = i0.ɵɵnextContext();
|
|
1117
|
+
const ɵ$index_675_r53 = ctx_r51.$index;
|
|
1118
|
+
const ɵ$count_675_r54 = ctx_r51.$count;
|
|
1119
|
+
i0.ɵɵproperty("disabled", ɵ$index_675_r53 === 0);
|
|
657
1120
|
i0.ɵɵadvance(2);
|
|
658
|
-
i0.ɵɵproperty("disabled", ɵ$
|
|
1121
|
+
i0.ɵɵproperty("disabled", ɵ$index_675_r53 === ɵ$count_675_r54 - 1);
|
|
659
1122
|
} }
|
|
660
|
-
function
|
|
661
|
-
const
|
|
662
|
-
i0.ɵɵelementStart(0, "div",
|
|
1123
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_For_30_Conditional_34_For_6_Template(rf, ctx) { if (rf & 1) {
|
|
1124
|
+
const _r49 = i0.ɵɵgetCurrentView();
|
|
1125
|
+
i0.ɵɵelementStart(0, "div", 118)(1, "span", 119);
|
|
663
1126
|
i0.ɵɵtext(2);
|
|
664
1127
|
i0.ɵɵelementEnd();
|
|
665
|
-
i0.ɵɵelementStart(3, "input",
|
|
666
|
-
i0.ɵɵlistener("input", function
|
|
1128
|
+
i0.ɵɵelementStart(3, "input", 120);
|
|
1129
|
+
i0.ɵɵlistener("input", function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_For_30_Conditional_34_For_6_Template_input_input_3_listener($event) { const $index_r50 = i0.ɵɵrestoreView(_r49).$index; const item_r38 = i0.ɵɵnextContext(2).$implicit; const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.OnScoreLevelChange(item_r38.key, $index_r50, ctx_r1.InputValue($event))); });
|
|
667
1130
|
i0.ɵɵelementEnd();
|
|
668
|
-
i0.ɵɵconditionalCreate(4,
|
|
1131
|
+
i0.ɵɵconditionalCreate(4, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_For_30_Conditional_34_For_6_Conditional_4_Template, 6, 2);
|
|
669
1132
|
i0.ɵɵelementEnd();
|
|
670
1133
|
} if (rf & 2) {
|
|
671
|
-
const
|
|
672
|
-
const $
|
|
1134
|
+
const level_r55 = ctx.$implicit;
|
|
1135
|
+
const $index_r50 = ctx.$index;
|
|
673
1136
|
const ctx_r1 = i0.ɵɵnextContext(6);
|
|
674
1137
|
i0.ɵɵadvance(2);
|
|
675
|
-
i0.ɵɵtextInterpolate($
|
|
1138
|
+
i0.ɵɵtextInterpolate($index_r50);
|
|
676
1139
|
i0.ɵɵadvance();
|
|
677
|
-
i0.ɵɵproperty("value",
|
|
1140
|
+
i0.ɵɵproperty("value", level_r55)("readonly", ctx_r1.ReadOnly);
|
|
678
1141
|
i0.ɵɵadvance();
|
|
679
1142
|
i0.ɵɵconditional(!ctx_r1.ReadOnly ? 4 : -1);
|
|
680
1143
|
} }
|
|
681
|
-
function
|
|
682
|
-
i0.ɵɵelementStart(0, "div",
|
|
1144
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_For_30_Conditional_34_Template(rf, ctx) { if (rf & 1) {
|
|
1145
|
+
i0.ɵɵelementStart(0, "div", 100)(1, "div", 109)(2, "label");
|
|
683
1146
|
i0.ɵɵtext(3, "Levels (2..10, lowest first)");
|
|
684
1147
|
i0.ɵɵelementEnd();
|
|
685
|
-
i0.ɵɵconditionalCreate(4,
|
|
1148
|
+
i0.ɵɵconditionalCreate(4, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_For_30_Conditional_34_Conditional_4_Template, 3, 0, "button", 110);
|
|
686
1149
|
i0.ɵɵelementEnd();
|
|
687
|
-
i0.ɵɵrepeaterCreate(5,
|
|
1150
|
+
i0.ɵɵrepeaterCreate(5, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_For_30_Conditional_34_For_6_Template, 5, 4, "div", 118, i0.ɵɵrepeaterTrackByIndex);
|
|
688
1151
|
i0.ɵɵelementEnd();
|
|
689
1152
|
} if (rf & 2) {
|
|
690
|
-
const
|
|
1153
|
+
const item_r38 = i0.ɵɵnextContext().$implicit;
|
|
691
1154
|
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
692
1155
|
i0.ɵɵadvance(4);
|
|
693
1156
|
i0.ɵɵconditional(!ctx_r1.ReadOnly ? 4 : -1);
|
|
694
1157
|
i0.ɵɵadvance();
|
|
695
|
-
i0.ɵɵrepeater(ctx_r1.ScoreLevelsOf(
|
|
1158
|
+
i0.ɵɵrepeater(ctx_r1.ScoreLevelsOf(item_r38.question));
|
|
696
1159
|
} }
|
|
697
|
-
function
|
|
698
|
-
i0.ɵɵelementStart(0, "div",
|
|
699
|
-
i0.ɵɵelement(3, "i",
|
|
1160
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_For_30_Template(rf, ctx) { if (rf & 1) {
|
|
1161
|
+
i0.ɵɵelementStart(0, "div", 84)(1, "div", 90)(2, "span", 91);
|
|
1162
|
+
i0.ɵɵelement(3, "i", 92);
|
|
700
1163
|
i0.ɵɵelementStart(4, "code");
|
|
701
1164
|
i0.ɵɵtext(5);
|
|
702
1165
|
i0.ɵɵelementEnd()();
|
|
703
|
-
i0.ɵɵelementStart(6, "span",
|
|
1166
|
+
i0.ɵɵelementStart(6, "span", 93);
|
|
704
1167
|
i0.ɵɵtext(7);
|
|
705
1168
|
i0.ɵɵelementEnd();
|
|
706
|
-
i0.ɵɵconditionalCreate(8,
|
|
1169
|
+
i0.ɵɵconditionalCreate(8, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_For_30_Conditional_8_Template, 2, 0, "button", 94);
|
|
707
1170
|
i0.ɵɵelementEnd();
|
|
708
|
-
i0.ɵɵelementStart(9, "div",
|
|
1171
|
+
i0.ɵɵelementStart(9, "div", 95)(10, "div", 26)(11, "label");
|
|
709
1172
|
i0.ɵɵtext(12, "Question Key");
|
|
710
1173
|
i0.ɵɵelementEnd();
|
|
711
|
-
i0.ɵɵconditionalCreate(13,
|
|
712
|
-
i0.ɵɵconditionalCreate(14,
|
|
713
|
-
i0.ɵɵconditionalCreate(15,
|
|
1174
|
+
i0.ɵɵconditionalCreate(13, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_For_30_Conditional_13_Template, 1, 3, "input", 96);
|
|
1175
|
+
i0.ɵɵconditionalCreate(14, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_For_30_Conditional_14_Template, 2, 1, "div", 28);
|
|
1176
|
+
i0.ɵɵconditionalCreate(15, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_For_30_Conditional_15_Template, 2, 1, "span", 78);
|
|
714
1177
|
i0.ɵɵelementEnd();
|
|
715
1178
|
i0.ɵɵelementStart(16, "div", 26)(17, "label");
|
|
716
1179
|
i0.ɵɵtext(18, "Kind");
|
|
717
1180
|
i0.ɵɵelementEnd();
|
|
718
|
-
i0.ɵɵconditionalCreate(19,
|
|
719
|
-
i0.ɵɵconditionalCreate(20,
|
|
1181
|
+
i0.ɵɵconditionalCreate(19, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_For_30_Conditional_19_Template, 7, 1, "select", 30);
|
|
1182
|
+
i0.ɵɵconditionalCreate(20, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_For_30_Conditional_20_Template, 2, 1, "div", 28);
|
|
720
1183
|
i0.ɵɵelementEnd();
|
|
721
1184
|
i0.ɵɵelementStart(21, "div", 26)(22, "label");
|
|
722
1185
|
i0.ɵɵtext(23, "Instructions ");
|
|
723
|
-
i0.ɵɵelementStart(24, "span",
|
|
1186
|
+
i0.ɵɵelementStart(24, "span", 76);
|
|
724
1187
|
i0.ɵɵtext(25, "*");
|
|
725
1188
|
i0.ɵɵelementEnd()();
|
|
726
|
-
i0.ɵɵconditionalCreate(26,
|
|
727
|
-
i0.ɵɵconditionalCreate(27,
|
|
1189
|
+
i0.ɵɵconditionalCreate(26, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_For_30_Conditional_26_Template, 1, 1, "textarea", 97);
|
|
1190
|
+
i0.ɵɵconditionalCreate(27, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_For_30_Conditional_27_Template, 2, 1, "div", 28);
|
|
728
1191
|
i0.ɵɵelementEnd();
|
|
729
1192
|
i0.ɵɵelementStart(28, "div", 26)(29, "label");
|
|
730
1193
|
i0.ɵɵtext(30, "Min Confidence (optional, 0..1)");
|
|
731
1194
|
i0.ɵɵelementEnd();
|
|
732
|
-
i0.ɵɵconditionalCreate(31,
|
|
733
|
-
i0.ɵɵconditionalCreate(32,
|
|
1195
|
+
i0.ɵɵconditionalCreate(31, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_For_30_Conditional_31_Template, 1, 1, "input", 98);
|
|
1196
|
+
i0.ɵɵconditionalCreate(32, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_For_30_Conditional_32_Template, 2, 1, "div", 28);
|
|
734
1197
|
i0.ɵɵelementEnd();
|
|
735
|
-
i0.ɵɵconditionalCreate(33,
|
|
736
|
-
i0.ɵɵconditionalCreate(34,
|
|
1198
|
+
i0.ɵɵconditionalCreate(33, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_For_30_Conditional_33_Template, 11, 2, "div", 99);
|
|
1199
|
+
i0.ɵɵconditionalCreate(34, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_For_30_Conditional_34_Template, 7, 1, "div", 100);
|
|
737
1200
|
i0.ɵɵelementEnd()();
|
|
738
1201
|
} if (rf & 2) {
|
|
739
1202
|
let tmp_18_0;
|
|
740
|
-
const
|
|
1203
|
+
const item_r38 = ctx.$implicit;
|
|
741
1204
|
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
742
1205
|
i0.ɵɵadvance(5);
|
|
743
|
-
i0.ɵɵtextInterpolate(
|
|
1206
|
+
i0.ɵɵtextInterpolate(item_r38.key);
|
|
744
1207
|
i0.ɵɵadvance(2);
|
|
745
|
-
i0.ɵɵtextInterpolate(
|
|
1208
|
+
i0.ɵɵtextInterpolate(item_r38.question.kind);
|
|
746
1209
|
i0.ɵɵadvance();
|
|
747
1210
|
i0.ɵɵconditional(!ctx_r1.ReadOnly ? 8 : -1);
|
|
748
1211
|
i0.ɵɵadvance(5);
|
|
@@ -750,7 +1213,7 @@ function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_
|
|
|
750
1213
|
i0.ɵɵadvance();
|
|
751
1214
|
i0.ɵɵconditional(ctx_r1.ReadOnly ? 14 : -1);
|
|
752
1215
|
i0.ɵɵadvance();
|
|
753
|
-
i0.ɵɵconditional((tmp_18_0 = ctx_r1.QuestionKeyError(
|
|
1216
|
+
i0.ɵɵconditional((tmp_18_0 = ctx_r1.QuestionKeyError(item_r38.key)) ? 15 : -1, tmp_18_0);
|
|
754
1217
|
i0.ɵɵadvance(4);
|
|
755
1218
|
i0.ɵɵconditional(!ctx_r1.ReadOnly ? 19 : -1);
|
|
756
1219
|
i0.ɵɵadvance();
|
|
@@ -764,53 +1227,53 @@ function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_
|
|
|
764
1227
|
i0.ɵɵadvance();
|
|
765
1228
|
i0.ɵɵconditional(ctx_r1.ReadOnly ? 32 : -1);
|
|
766
1229
|
i0.ɵɵadvance();
|
|
767
|
-
i0.ɵɵconditional(
|
|
1230
|
+
i0.ɵɵconditional(item_r38.question.kind === "Choice" ? 33 : -1);
|
|
768
1231
|
i0.ɵɵadvance();
|
|
769
|
-
i0.ɵɵconditional(
|
|
1232
|
+
i0.ɵɵconditional(item_r38.question.kind === "Score" ? 34 : -1);
|
|
770
1233
|
} }
|
|
771
|
-
function
|
|
772
|
-
i0.ɵɵelement(0, "mj-alert",
|
|
1234
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_Conditional_31_Template(rf, ctx) { if (rf & 1) {
|
|
1235
|
+
i0.ɵɵelement(0, "mj-alert", 85);
|
|
773
1236
|
} if (rf & 2) {
|
|
774
1237
|
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
775
1238
|
i0.ɵɵproperty("Message", ctx_r1.DecisionValidationError);
|
|
776
1239
|
} }
|
|
777
|
-
function
|
|
1240
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_Template(rf, ctx) { if (rf & 1) {
|
|
778
1241
|
i0.ɵɵelementStart(0, "div", 26)(1, "label");
|
|
779
1242
|
i0.ɵɵtext(2, "Key ");
|
|
780
|
-
i0.ɵɵelementStart(3, "span",
|
|
1243
|
+
i0.ɵɵelementStart(3, "span", 76);
|
|
781
1244
|
i0.ɵɵtext(4, "*");
|
|
782
1245
|
i0.ɵɵelementEnd()();
|
|
783
|
-
i0.ɵɵconditionalCreate(5,
|
|
784
|
-
i0.ɵɵconditionalCreate(6,
|
|
785
|
-
i0.ɵɵconditionalCreate(7,
|
|
786
|
-
i0.ɵɵelementStart(8, "span",
|
|
1246
|
+
i0.ɵɵconditionalCreate(5, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_Conditional_5_Template, 1, 3, "input", 77);
|
|
1247
|
+
i0.ɵɵconditionalCreate(6, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_Conditional_6_Template, 2, 1, "div", 28);
|
|
1248
|
+
i0.ɵɵconditionalCreate(7, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_Conditional_7_Template, 2, 1, "span", 78);
|
|
1249
|
+
i0.ɵɵelementStart(8, "span", 48);
|
|
787
1250
|
i0.ɵɵtext(9, "Names the step in path conditions: decisions.<key>.<question>");
|
|
788
1251
|
i0.ɵɵelementEnd()();
|
|
789
1252
|
i0.ɵɵelementStart(10, "div", 26)(11, "label");
|
|
790
1253
|
i0.ɵɵtext(12, "Decision Prompt");
|
|
791
1254
|
i0.ɵɵelementEnd();
|
|
792
|
-
i0.ɵɵconditionalCreate(13,
|
|
793
|
-
i0.ɵɵconditionalCreate(14,
|
|
794
|
-
i0.ɵɵelementStart(15, "span",
|
|
1255
|
+
i0.ɵɵconditionalCreate(13, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_Conditional_13_Template, 5, 1, "select", 30);
|
|
1256
|
+
i0.ɵɵconditionalCreate(14, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_Conditional_14_Template, 2, 1, "div", 28);
|
|
1257
|
+
i0.ɵɵelementStart(15, "span", 48);
|
|
795
1258
|
i0.ɵɵtext(16, "Optional prompt bound to the Decision model type.");
|
|
796
1259
|
i0.ɵɵelementEnd()();
|
|
797
1260
|
i0.ɵɵelementStart(17, "div", 26)(18, "label");
|
|
798
1261
|
i0.ɵɵtext(19, "State");
|
|
799
1262
|
i0.ɵɵelementEnd();
|
|
800
|
-
i0.ɵɵconditionalCreate(20,
|
|
801
|
-
i0.ɵɵconditionalCreate(21,
|
|
802
|
-
i0.ɵɵelementStart(22, "span",
|
|
1263
|
+
i0.ɵɵconditionalCreate(20, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_Conditional_20_Template, 1, 1, "input", 79);
|
|
1264
|
+
i0.ɵɵconditionalCreate(21, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_Conditional_21_Template, 2, 1, "div", 28);
|
|
1265
|
+
i0.ɵɵelementStart(22, "span", 48);
|
|
803
1266
|
i0.ɵɵtext(23, "What the questions are about: \"payload\" (default) or \"payload.<path>\"");
|
|
804
1267
|
i0.ɵɵelementEnd()();
|
|
805
|
-
i0.ɵɵelementStart(24, "div",
|
|
1268
|
+
i0.ɵɵelementStart(24, "div", 80)(25, "label", 81);
|
|
806
1269
|
i0.ɵɵtext(26);
|
|
807
1270
|
i0.ɵɵelementEnd();
|
|
808
|
-
i0.ɵɵconditionalCreate(27,
|
|
1271
|
+
i0.ɵɵconditionalCreate(27, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_Conditional_27_Template, 3, 0, "button", 82);
|
|
809
1272
|
i0.ɵɵelementEnd();
|
|
810
|
-
i0.ɵɵelementStart(28, "div",
|
|
811
|
-
i0.ɵɵrepeaterCreate(29,
|
|
1273
|
+
i0.ɵɵelementStart(28, "div", 83);
|
|
1274
|
+
i0.ɵɵrepeaterCreate(29, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_For_30_Template, 35, 14, "div", 84, _forTrack1);
|
|
812
1275
|
i0.ɵɵelementEnd();
|
|
813
|
-
i0.ɵɵconditionalCreate(31,
|
|
1276
|
+
i0.ɵɵconditionalCreate(31, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_Conditional_31_Template, 1, 1, "mj-alert", 85);
|
|
814
1277
|
} if (rf & 2) {
|
|
815
1278
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
816
1279
|
i0.ɵɵadvance(5);
|
|
@@ -842,8 +1305,11 @@ function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Template(rf,
|
|
|
842
1305
|
i0.ɵɵconditionalCreate(2, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_2_Template, 5, 2, "div", 26);
|
|
843
1306
|
i0.ɵɵconditionalCreate(3, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_3_Template, 5, 2, "div", 26);
|
|
844
1307
|
i0.ɵɵconditionalCreate(4, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_4_Template, 5, 2, "div", 26);
|
|
845
|
-
i0.ɵɵconditionalCreate(5, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_5_Template,
|
|
846
|
-
i0.ɵɵconditionalCreate(6, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_6_Template,
|
|
1308
|
+
i0.ɵɵconditionalCreate(5, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_5_Template, 16, 3);
|
|
1309
|
+
i0.ɵɵconditionalCreate(6, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_6_Template, 15, 3);
|
|
1310
|
+
i0.ɵɵconditionalCreate(7, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_7_Template, 6, 2);
|
|
1311
|
+
i0.ɵɵconditionalCreate(8, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_8_Template, 19, 6);
|
|
1312
|
+
i0.ɵɵconditionalCreate(9, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Conditional_9_Template, 32, 10);
|
|
847
1313
|
i0.ɵɵelementEnd();
|
|
848
1314
|
} if (rf & 2) {
|
|
849
1315
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
@@ -856,41 +1322,75 @@ function AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Template(rf,
|
|
|
856
1322
|
i0.ɵɵadvance();
|
|
857
1323
|
i0.ɵɵconditional(ctx_r1.showAgentPicker ? 4 : -1);
|
|
858
1324
|
i0.ɵɵadvance();
|
|
859
|
-
i0.ɵɵconditional(ctx_r1.
|
|
1325
|
+
i0.ɵɵconditional(ctx_r1.ShowHumanConfig ? 5 : -1);
|
|
1326
|
+
i0.ɵɵadvance();
|
|
1327
|
+
i0.ɵɵconditional(ctx_r1.ShowExternalConfig ? 6 : -1);
|
|
1328
|
+
i0.ɵɵadvance();
|
|
1329
|
+
i0.ɵɵconditional(ctx_r1.ShowWaitConfig ? 7 : -1);
|
|
860
1330
|
i0.ɵɵadvance();
|
|
861
|
-
i0.ɵɵconditional(ctx_r1.
|
|
1331
|
+
i0.ɵɵconditional(ctx_r1.showLoopConfig ? 8 : -1);
|
|
1332
|
+
i0.ɵɵadvance();
|
|
1333
|
+
i0.ɵɵconditional(ctx_r1.ShowDecisionConfig ? 9 : -1);
|
|
862
1334
|
} }
|
|
863
1335
|
function AgentPropertiesPanelComponent_Conditional_2_Conditional_27_ng_template_1_Template(rf, ctx) { if (rf & 1) {
|
|
864
1336
|
i0.ɵɵelementStart(0, "span");
|
|
865
1337
|
i0.ɵɵtext(1, "Data Mapping");
|
|
866
1338
|
i0.ɵɵelementEnd();
|
|
867
1339
|
} }
|
|
1340
|
+
function AgentPropertiesPanelComponent_Conditional_2_Conditional_27_ng_template_2_Conditional_1_For_5_Template(rf, ctx) { if (rf & 1) {
|
|
1341
|
+
const _r58 = i0.ɵɵgetCurrentView();
|
|
1342
|
+
i0.ɵɵelementStart(0, "button", 130);
|
|
1343
|
+
i0.ɵɵlistener("click", function AgentPropertiesPanelComponent_Conditional_2_Conditional_27_ng_template_2_Conditional_1_For_5_Template_button_click_0_listener() { const pill_r59 = i0.ɵɵrestoreView(_r58).$implicit; const ctx_r1 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r1.OnInsertVariablePill(pill_r59)); });
|
|
1344
|
+
i0.ɵɵtext(1);
|
|
1345
|
+
i0.ɵɵelementEnd();
|
|
1346
|
+
} if (rf & 2) {
|
|
1347
|
+
const pill_r59 = ctx.$implicit;
|
|
1348
|
+
i0.ɵɵproperty("title", "Insert " + pill_r59.Token + " into Input Mapping");
|
|
1349
|
+
i0.ɵɵadvance();
|
|
1350
|
+
i0.ɵɵtextInterpolate1(" ", pill_r59.Token, " ");
|
|
1351
|
+
} }
|
|
1352
|
+
function AgentPropertiesPanelComponent_Conditional_2_Conditional_27_ng_template_2_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
1353
|
+
i0.ɵɵelementStart(0, "div", 26)(1, "label");
|
|
1354
|
+
i0.ɵɵtext(2, "Quick-Insert Upstream Variables");
|
|
1355
|
+
i0.ɵɵelementEnd();
|
|
1356
|
+
i0.ɵɵelementStart(3, "div", 128);
|
|
1357
|
+
i0.ɵɵrepeaterCreate(4, AgentPropertiesPanelComponent_Conditional_2_Conditional_27_ng_template_2_Conditional_1_For_5_Template, 2, 2, "button", 129, _forTrack2);
|
|
1358
|
+
i0.ɵɵelementEnd()();
|
|
1359
|
+
} if (rf & 2) {
|
|
1360
|
+
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
1361
|
+
i0.ɵɵadvance(4);
|
|
1362
|
+
i0.ɵɵrepeater(ctx_r1.UpstreamVariablePills);
|
|
1363
|
+
} }
|
|
868
1364
|
function AgentPropertiesPanelComponent_Conditional_2_Conditional_27_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
869
|
-
const
|
|
870
|
-
i0.ɵɵelementStart(0, "div", 25)
|
|
871
|
-
i0.ɵɵ
|
|
1365
|
+
const _r57 = i0.ɵɵgetCurrentView();
|
|
1366
|
+
i0.ɵɵelementStart(0, "div", 25);
|
|
1367
|
+
i0.ɵɵconditionalCreate(1, AgentPropertiesPanelComponent_Conditional_2_Conditional_27_ng_template_2_Conditional_1_Template, 6, 0, "div", 26);
|
|
1368
|
+
i0.ɵɵelementStart(2, "div", 26)(3, "label");
|
|
1369
|
+
i0.ɵɵtext(4, "Input Mapping");
|
|
872
1370
|
i0.ɵɵelementEnd();
|
|
873
|
-
i0.ɵɵelementStart(
|
|
874
|
-
i0.ɵɵlistener("change", function
|
|
1371
|
+
i0.ɵɵelementStart(5, "mj-code-editor", 126);
|
|
1372
|
+
i0.ɵɵlistener("change", function AgentPropertiesPanelComponent_Conditional_2_Conditional_27_ng_template_2_Template_mj_code_editor_change_5_listener($event) { i0.ɵɵrestoreView(_r57); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.OnInputMappingChange($event)); });
|
|
875
1373
|
i0.ɵɵelementEnd()();
|
|
876
|
-
i0.ɵɵelementStart(
|
|
877
|
-
i0.ɵɵtext(
|
|
1374
|
+
i0.ɵɵelementStart(6, "div", 26)(7, "label");
|
|
1375
|
+
i0.ɵɵtext(8, "Output Mapping");
|
|
878
1376
|
i0.ɵɵelementEnd();
|
|
879
|
-
i0.ɵɵelementStart(
|
|
880
|
-
i0.ɵɵlistener("change", function
|
|
1377
|
+
i0.ɵɵelementStart(9, "mj-code-editor", 127);
|
|
1378
|
+
i0.ɵɵlistener("change", function AgentPropertiesPanelComponent_Conditional_2_Conditional_27_ng_template_2_Template_mj_code_editor_change_9_listener($event) { i0.ɵɵrestoreView(_r57); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.OnOutputMappingChange($event)); });
|
|
881
1379
|
i0.ɵɵelementEnd()()();
|
|
882
1380
|
} if (rf & 2) {
|
|
883
1381
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
1382
|
+
i0.ɵɵadvance();
|
|
1383
|
+
i0.ɵɵconditional(!ctx_r1.ReadOnly && ctx_r1.UpstreamVariablePills.length > 0 ? 1 : -1);
|
|
884
1384
|
i0.ɵɵadvance(4);
|
|
885
1385
|
i0.ɵɵproperty("value", ctx_r1.FormatJsonDisplay(ctx_r1.Step.ActionInputMapping))("readonly", ctx_r1.ReadOnly)("lineWrapping", true);
|
|
886
1386
|
i0.ɵɵadvance(4);
|
|
887
1387
|
i0.ɵɵproperty("value", ctx_r1.FormatJsonDisplay(ctx_r1.Step.ActionOutputMapping))("readonly", ctx_r1.ReadOnly)("lineWrapping", true);
|
|
888
1388
|
} }
|
|
889
1389
|
function AgentPropertiesPanelComponent_Conditional_2_Conditional_27_Template(rf, ctx) { if (rf & 1) {
|
|
890
|
-
const
|
|
1390
|
+
const _r56 = i0.ɵɵgetCurrentView();
|
|
891
1391
|
i0.ɵɵelementStart(0, "mj-accordion-panel", 19);
|
|
892
|
-
i0.ɵɵlistener("ExpandedChange", function AgentPropertiesPanelComponent_Conditional_2_Conditional_27_Template_mj_accordion_panel_ExpandedChange_0_listener() { i0.ɵɵrestoreView(
|
|
893
|
-
i0.ɵɵtemplate(1, AgentPropertiesPanelComponent_Conditional_2_Conditional_27_ng_template_1_Template, 2, 0, "ng-template", 20)(2, AgentPropertiesPanelComponent_Conditional_2_Conditional_27_ng_template_2_Template,
|
|
1392
|
+
i0.ɵɵlistener("ExpandedChange", function AgentPropertiesPanelComponent_Conditional_2_Conditional_27_Template_mj_accordion_panel_ExpandedChange_0_listener() { i0.ɵɵrestoreView(_r56); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.ToggleSection("mapping")); });
|
|
1393
|
+
i0.ɵɵtemplate(1, AgentPropertiesPanelComponent_Conditional_2_Conditional_27_ng_template_1_Template, 2, 0, "ng-template", 20)(2, AgentPropertiesPanelComponent_Conditional_2_Conditional_27_ng_template_2_Template, 10, 7, "ng-template", 21);
|
|
894
1394
|
i0.ɵɵelementEnd();
|
|
895
1395
|
} if (rf & 2) {
|
|
896
1396
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
@@ -902,16 +1402,16 @@ function AgentPropertiesPanelComponent_Conditional_2_ng_template_29_Template(rf,
|
|
|
902
1402
|
i0.ɵɵelementEnd();
|
|
903
1403
|
} }
|
|
904
1404
|
function AgentPropertiesPanelComponent_Conditional_2_ng_template_30_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
905
|
-
const
|
|
1405
|
+
const _r60 = i0.ɵɵgetCurrentView();
|
|
906
1406
|
i0.ɵɵelementStart(0, "select", 34);
|
|
907
|
-
i0.ɵɵlistener("change", function AgentPropertiesPanelComponent_Conditional_2_ng_template_30_Conditional_4_Template_select_change_0_listener($event) { i0.ɵɵrestoreView(
|
|
908
|
-
i0.ɵɵelementStart(1, "option",
|
|
1407
|
+
i0.ɵɵlistener("change", function AgentPropertiesPanelComponent_Conditional_2_ng_template_30_Conditional_4_Template_select_change_0_listener($event) { i0.ɵɵrestoreView(_r60); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.OnErrorBehaviorChange(ctx_r1.InputValue($event))); });
|
|
1408
|
+
i0.ɵɵelementStart(1, "option", 132);
|
|
909
1409
|
i0.ɵɵtext(2, "Fail (stop flow)");
|
|
910
1410
|
i0.ɵɵelementEnd();
|
|
911
|
-
i0.ɵɵelementStart(3, "option",
|
|
1411
|
+
i0.ɵɵelementStart(3, "option", 133);
|
|
912
1412
|
i0.ɵɵtext(4, "Continue (ignore error)");
|
|
913
1413
|
i0.ɵɵelementEnd();
|
|
914
|
-
i0.ɵɵelementStart(5, "option",
|
|
1414
|
+
i0.ɵɵelementStart(5, "option", 134);
|
|
915
1415
|
i0.ɵɵtext(6, "Retry");
|
|
916
1416
|
i0.ɵɵelementEnd()();
|
|
917
1417
|
} if (rf & 2) {
|
|
@@ -928,9 +1428,9 @@ function AgentPropertiesPanelComponent_Conditional_2_ng_template_30_Conditional_
|
|
|
928
1428
|
i0.ɵɵtextInterpolate1(" ", ctx_r1.Step.OnErrorBehavior === "fail" ? "Fail (stop flow)" : ctx_r1.Step.OnErrorBehavior === "continue" ? "Continue (ignore error)" : "Retry", " ");
|
|
929
1429
|
} }
|
|
930
1430
|
function AgentPropertiesPanelComponent_Conditional_2_ng_template_30_Conditional_6_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
931
|
-
const
|
|
932
|
-
i0.ɵɵelementStart(0, "input",
|
|
933
|
-
i0.ɵɵlistener("input", function AgentPropertiesPanelComponent_Conditional_2_ng_template_30_Conditional_6_Conditional_3_Template_input_input_0_listener($event) { i0.ɵɵrestoreView(
|
|
1431
|
+
const _r61 = i0.ɵɵgetCurrentView();
|
|
1432
|
+
i0.ɵɵelementStart(0, "input", 136);
|
|
1433
|
+
i0.ɵɵlistener("input", function AgentPropertiesPanelComponent_Conditional_2_ng_template_30_Conditional_6_Conditional_3_Template_input_input_0_listener($event) { i0.ɵɵrestoreView(_r61); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.OnRetryCountChange(ctx_r1.NumericValue($event))); });
|
|
934
1434
|
i0.ɵɵelementEnd();
|
|
935
1435
|
} if (rf & 2) {
|
|
936
1436
|
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
@@ -949,7 +1449,7 @@ function AgentPropertiesPanelComponent_Conditional_2_ng_template_30_Conditional_
|
|
|
949
1449
|
i0.ɵɵelementStart(0, "div", 26)(1, "label");
|
|
950
1450
|
i0.ɵɵtext(2, "Retry Count");
|
|
951
1451
|
i0.ɵɵelementEnd();
|
|
952
|
-
i0.ɵɵconditionalCreate(3, AgentPropertiesPanelComponent_Conditional_2_ng_template_30_Conditional_6_Conditional_3_Template, 1, 1, "input",
|
|
1452
|
+
i0.ɵɵconditionalCreate(3, AgentPropertiesPanelComponent_Conditional_2_ng_template_30_Conditional_6_Conditional_3_Template, 1, 1, "input", 135);
|
|
953
1453
|
i0.ɵɵconditionalCreate(4, AgentPropertiesPanelComponent_Conditional_2_ng_template_30_Conditional_6_Conditional_4_Template, 2, 1, "div", 28);
|
|
954
1454
|
i0.ɵɵelementEnd();
|
|
955
1455
|
} if (rf & 2) {
|
|
@@ -960,9 +1460,9 @@ function AgentPropertiesPanelComponent_Conditional_2_ng_template_30_Conditional_
|
|
|
960
1460
|
i0.ɵɵconditional(ctx_r1.ReadOnly ? 4 : -1);
|
|
961
1461
|
} }
|
|
962
1462
|
function AgentPropertiesPanelComponent_Conditional_2_ng_template_30_Conditional_10_Template(rf, ctx) { if (rf & 1) {
|
|
963
|
-
const
|
|
964
|
-
i0.ɵɵelementStart(0, "input",
|
|
965
|
-
i0.ɵɵlistener("input", function AgentPropertiesPanelComponent_Conditional_2_ng_template_30_Conditional_10_Template_input_input_0_listener($event) { i0.ɵɵrestoreView(
|
|
1463
|
+
const _r62 = i0.ɵɵgetCurrentView();
|
|
1464
|
+
i0.ɵɵelementStart(0, "input", 137);
|
|
1465
|
+
i0.ɵɵlistener("input", function AgentPropertiesPanelComponent_Conditional_2_ng_template_30_Conditional_10_Template_input_input_0_listener($event) { i0.ɵɵrestoreView(_r62); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.OnTimeoutChange(ctx_r1.NumericValue($event))); });
|
|
966
1466
|
i0.ɵɵelementEnd();
|
|
967
1467
|
} if (rf & 2) {
|
|
968
1468
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
@@ -977,6 +1477,94 @@ function AgentPropertiesPanelComponent_Conditional_2_ng_template_30_Conditional_
|
|
|
977
1477
|
i0.ɵɵadvance();
|
|
978
1478
|
i0.ɵɵtextInterpolate1("", ctx_r1.Step.TimeoutSeconds, "s");
|
|
979
1479
|
} }
|
|
1480
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_30_Conditional_12_Conditional_3_For_4_Template(rf, ctx) { if (rf & 1) {
|
|
1481
|
+
i0.ɵɵelementStart(0, "option", 45);
|
|
1482
|
+
i0.ɵɵtext(1);
|
|
1483
|
+
i0.ɵɵelementEnd();
|
|
1484
|
+
} if (rf & 2) {
|
|
1485
|
+
const action_r64 = ctx.$implicit;
|
|
1486
|
+
i0.ɵɵproperty("value", action_r64.ID);
|
|
1487
|
+
i0.ɵɵadvance();
|
|
1488
|
+
i0.ɵɵtextInterpolate(action_r64.Name);
|
|
1489
|
+
} }
|
|
1490
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_30_Conditional_12_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
1491
|
+
const _r63 = i0.ɵɵgetCurrentView();
|
|
1492
|
+
i0.ɵɵelementStart(0, "select", 34);
|
|
1493
|
+
i0.ɵɵlistener("change", function AgentPropertiesPanelComponent_Conditional_2_ng_template_30_Conditional_12_Conditional_3_Template_select_change_0_listener($event) { i0.ɵɵrestoreView(_r63); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.OnSagaCompensationActionChange(ctx_r1.InputValue($event))); });
|
|
1494
|
+
i0.ɵɵelementStart(1, "option", 44);
|
|
1495
|
+
i0.ɵɵtext(2, "-- No rollback action --");
|
|
1496
|
+
i0.ɵɵelementEnd();
|
|
1497
|
+
i0.ɵɵrepeaterCreate(3, AgentPropertiesPanelComponent_Conditional_2_ng_template_30_Conditional_12_Conditional_3_For_4_Template, 2, 2, "option", 45, _forTrack0);
|
|
1498
|
+
i0.ɵɵelementEnd();
|
|
1499
|
+
i0.ɵɵelementStart(5, "div", 48);
|
|
1500
|
+
i0.ɵɵtext(6, "Runs automatically in reverse order if a downstream step fails and triggers Saga rollback.");
|
|
1501
|
+
i0.ɵɵelementEnd();
|
|
1502
|
+
} if (rf & 2) {
|
|
1503
|
+
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
1504
|
+
i0.ɵɵproperty("value", ctx_r1.ConfigText("compensationActionId"));
|
|
1505
|
+
i0.ɵɵadvance(3);
|
|
1506
|
+
i0.ɵɵrepeater(ctx_r1.Actions);
|
|
1507
|
+
} }
|
|
1508
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_30_Conditional_12_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
1509
|
+
i0.ɵɵelementStart(0, "div", 28);
|
|
1510
|
+
i0.ɵɵtext(1);
|
|
1511
|
+
i0.ɵɵelementEnd();
|
|
1512
|
+
} if (rf & 2) {
|
|
1513
|
+
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
1514
|
+
i0.ɵɵadvance();
|
|
1515
|
+
i0.ɵɵtextInterpolate(ctx_r1.ConfigText("compensationActionId") || "None");
|
|
1516
|
+
} }
|
|
1517
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_30_Conditional_12_Conditional_5_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
1518
|
+
const _r65 = i0.ɵɵgetCurrentView();
|
|
1519
|
+
i0.ɵɵelementStart(0, "select", 34);
|
|
1520
|
+
i0.ɵɵlistener("change", function AgentPropertiesPanelComponent_Conditional_2_ng_template_30_Conditional_12_Conditional_5_Conditional_3_Template_select_change_0_listener($event) { i0.ɵɵrestoreView(_r65); const ctx_r1 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r1.OnSagaFailurePolicyChange(ctx_r1.InputValue($event))); });
|
|
1521
|
+
i0.ɵɵelementStart(1, "option", 138);
|
|
1522
|
+
i0.ɵɵtext(2, "Escalate to Person step");
|
|
1523
|
+
i0.ɵɵelementEnd();
|
|
1524
|
+
i0.ɵɵelementStart(3, "option", 139);
|
|
1525
|
+
i0.ɵɵtext(4, "Halt rollback immediately");
|
|
1526
|
+
i0.ɵɵelementEnd();
|
|
1527
|
+
i0.ɵɵelementStart(5, "option", 140);
|
|
1528
|
+
i0.ɵɵtext(6, "Continue rolling back earlier steps");
|
|
1529
|
+
i0.ɵɵelementEnd()();
|
|
1530
|
+
} if (rf & 2) {
|
|
1531
|
+
const ctx_r1 = i0.ɵɵnextContext(5);
|
|
1532
|
+
i0.ɵɵproperty("value", ctx_r1.ConfigText("compensationFailurePolicy") || "EscalateToHumanTask");
|
|
1533
|
+
} }
|
|
1534
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_30_Conditional_12_Conditional_5_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
1535
|
+
i0.ɵɵelementStart(0, "div", 28);
|
|
1536
|
+
i0.ɵɵtext(1);
|
|
1537
|
+
i0.ɵɵelementEnd();
|
|
1538
|
+
} if (rf & 2) {
|
|
1539
|
+
const ctx_r1 = i0.ɵɵnextContext(5);
|
|
1540
|
+
i0.ɵɵadvance();
|
|
1541
|
+
i0.ɵɵtextInterpolate(ctx_r1.ConfigText("compensationFailurePolicy") || "EscalateToHumanTask");
|
|
1542
|
+
} }
|
|
1543
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_30_Conditional_12_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
1544
|
+
i0.ɵɵelementStart(0, "div", 26)(1, "label");
|
|
1545
|
+
i0.ɵɵtext(2, "If Rollback Fails");
|
|
1546
|
+
i0.ɵɵelementEnd();
|
|
1547
|
+
i0.ɵɵconditionalCreate(3, AgentPropertiesPanelComponent_Conditional_2_ng_template_30_Conditional_12_Conditional_5_Conditional_3_Template, 7, 1, "select", 30)(4, AgentPropertiesPanelComponent_Conditional_2_ng_template_30_Conditional_12_Conditional_5_Conditional_4_Template, 2, 1, "div", 28);
|
|
1548
|
+
i0.ɵɵelementEnd();
|
|
1549
|
+
} if (rf & 2) {
|
|
1550
|
+
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
1551
|
+
i0.ɵɵadvance(3);
|
|
1552
|
+
i0.ɵɵconditional(!ctx_r1.ReadOnly ? 3 : 4);
|
|
1553
|
+
} }
|
|
1554
|
+
function AgentPropertiesPanelComponent_Conditional_2_ng_template_30_Conditional_12_Template(rf, ctx) { if (rf & 1) {
|
|
1555
|
+
i0.ɵɵelementStart(0, "div", 26)(1, "label");
|
|
1556
|
+
i0.ɵɵtext(2, "Saga Rollback / Undo Action (optional)");
|
|
1557
|
+
i0.ɵɵelementEnd();
|
|
1558
|
+
i0.ɵɵconditionalCreate(3, AgentPropertiesPanelComponent_Conditional_2_ng_template_30_Conditional_12_Conditional_3_Template, 7, 1)(4, AgentPropertiesPanelComponent_Conditional_2_ng_template_30_Conditional_12_Conditional_4_Template, 2, 1, "div", 28);
|
|
1559
|
+
i0.ɵɵelementEnd();
|
|
1560
|
+
i0.ɵɵconditionalCreate(5, AgentPropertiesPanelComponent_Conditional_2_ng_template_30_Conditional_12_Conditional_5_Template, 5, 1, "div", 26);
|
|
1561
|
+
} if (rf & 2) {
|
|
1562
|
+
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
1563
|
+
i0.ɵɵadvance(3);
|
|
1564
|
+
i0.ɵɵconditional(!ctx_r1.ReadOnly ? 3 : 4);
|
|
1565
|
+
i0.ɵɵadvance(2);
|
|
1566
|
+
i0.ɵɵconditional(ctx_r1.ConfigText("compensationActionId") ? 5 : -1);
|
|
1567
|
+
} }
|
|
980
1568
|
function AgentPropertiesPanelComponent_Conditional_2_ng_template_30_Template(rf, ctx) { if (rf & 1) {
|
|
981
1569
|
i0.ɵɵelementStart(0, "div", 25)(1, "div", 26)(2, "label");
|
|
982
1570
|
i0.ɵɵtext(3, "On Error");
|
|
@@ -988,9 +1576,11 @@ function AgentPropertiesPanelComponent_Conditional_2_ng_template_30_Template(rf,
|
|
|
988
1576
|
i0.ɵɵelementStart(7, "div", 26)(8, "label");
|
|
989
1577
|
i0.ɵɵtext(9, "Timeout (seconds)");
|
|
990
1578
|
i0.ɵɵelementEnd();
|
|
991
|
-
i0.ɵɵconditionalCreate(10, AgentPropertiesPanelComponent_Conditional_2_ng_template_30_Conditional_10_Template, 1, 1, "input",
|
|
1579
|
+
i0.ɵɵconditionalCreate(10, AgentPropertiesPanelComponent_Conditional_2_ng_template_30_Conditional_10_Template, 1, 1, "input", 131);
|
|
992
1580
|
i0.ɵɵconditionalCreate(11, AgentPropertiesPanelComponent_Conditional_2_ng_template_30_Conditional_11_Template, 2, 1, "div", 28);
|
|
993
|
-
i0.ɵɵelementEnd()
|
|
1581
|
+
i0.ɵɵelementEnd();
|
|
1582
|
+
i0.ɵɵconditionalCreate(12, AgentPropertiesPanelComponent_Conditional_2_ng_template_30_Conditional_12_Template, 6, 2);
|
|
1583
|
+
i0.ɵɵelementEnd();
|
|
994
1584
|
} if (rf & 2) {
|
|
995
1585
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
996
1586
|
i0.ɵɵadvance(4);
|
|
@@ -1003,12 +1593,14 @@ function AgentPropertiesPanelComponent_Conditional_2_ng_template_30_Template(rf,
|
|
|
1003
1593
|
i0.ɵɵconditional(!ctx_r1.ReadOnly ? 10 : -1);
|
|
1004
1594
|
i0.ɵɵadvance();
|
|
1005
1595
|
i0.ɵɵconditional(ctx_r1.ReadOnly ? 11 : -1);
|
|
1596
|
+
i0.ɵɵadvance();
|
|
1597
|
+
i0.ɵɵconditional(ctx_r1.Step.StepType === "Action" ? 12 : -1);
|
|
1006
1598
|
} }
|
|
1007
1599
|
function AgentPropertiesPanelComponent_Conditional_2_Conditional_31_Template(rf, ctx) { if (rf & 1) {
|
|
1008
|
-
const
|
|
1009
|
-
i0.ɵɵelementStart(0, "div", 23)(1, "button",
|
|
1010
|
-
i0.ɵɵlistener("click", function AgentPropertiesPanelComponent_Conditional_2_Conditional_31_Template_button_click_1_listener() { i0.ɵɵrestoreView(
|
|
1011
|
-
i0.ɵɵelement(2, "i",
|
|
1600
|
+
const _r66 = i0.ɵɵgetCurrentView();
|
|
1601
|
+
i0.ɵɵelementStart(0, "div", 23)(1, "button", 141);
|
|
1602
|
+
i0.ɵɵlistener("click", function AgentPropertiesPanelComponent_Conditional_2_Conditional_31_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r66); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnDeleteStep()); });
|
|
1603
|
+
i0.ɵɵelement(2, "i", 142);
|
|
1012
1604
|
i0.ɵɵtext(3, " Delete Step ");
|
|
1013
1605
|
i0.ɵɵelementEnd()();
|
|
1014
1606
|
} }
|
|
@@ -1044,12 +1636,12 @@ function AgentPropertiesPanelComponent_Conditional_2_Template(rf, ctx) { if (rf
|
|
|
1044
1636
|
i0.ɵɵelementEnd();
|
|
1045
1637
|
i0.ɵɵelementStart(24, "mj-accordion-panel", 19);
|
|
1046
1638
|
i0.ɵɵlistener("ExpandedChange", function AgentPropertiesPanelComponent_Conditional_2_Template_mj_accordion_panel_ExpandedChange_24_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.ToggleSection("config")); });
|
|
1047
|
-
i0.ɵɵtemplate(25, AgentPropertiesPanelComponent_Conditional_2_ng_template_25_Template, 2, 0, "ng-template", 20)(26, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Template,
|
|
1639
|
+
i0.ɵɵtemplate(25, AgentPropertiesPanelComponent_Conditional_2_ng_template_25_Template, 2, 0, "ng-template", 20)(26, AgentPropertiesPanelComponent_Conditional_2_ng_template_26_Template, 10, 9, "ng-template", 21);
|
|
1048
1640
|
i0.ɵɵelementEnd();
|
|
1049
1641
|
i0.ɵɵconditionalCreate(27, AgentPropertiesPanelComponent_Conditional_2_Conditional_27_Template, 3, 2, "mj-accordion-panel", 22);
|
|
1050
1642
|
i0.ɵɵelementStart(28, "mj-accordion-panel", 19);
|
|
1051
1643
|
i0.ɵɵlistener("ExpandedChange", function AgentPropertiesPanelComponent_Conditional_2_Template_mj_accordion_panel_ExpandedChange_28_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.ToggleSection("errors")); });
|
|
1052
|
-
i0.ɵɵtemplate(29, AgentPropertiesPanelComponent_Conditional_2_ng_template_29_Template, 2, 0, "ng-template", 20)(30, AgentPropertiesPanelComponent_Conditional_2_ng_template_30_Template,
|
|
1644
|
+
i0.ɵɵtemplate(29, AgentPropertiesPanelComponent_Conditional_2_ng_template_29_Template, 2, 0, "ng-template", 20)(30, AgentPropertiesPanelComponent_Conditional_2_ng_template_30_Template, 13, 6, "ng-template", 21);
|
|
1053
1645
|
i0.ɵɵelementEnd();
|
|
1054
1646
|
i0.ɵɵconditionalCreate(31, AgentPropertiesPanelComponent_Conditional_2_Conditional_31_Template, 4, 0, "div", 23);
|
|
1055
1647
|
i0.ɵɵelementEnd();
|
|
@@ -1086,7 +1678,7 @@ function AgentPropertiesPanelComponent_Conditional_2_Template(rf, ctx) { if (rf
|
|
|
1086
1678
|
i0.ɵɵconditional(!ctx_r1.ReadOnly ? 31 : -1);
|
|
1087
1679
|
} }
|
|
1088
1680
|
function AgentPropertiesPanelComponent_Conditional_3_Conditional_19_Template(rf, ctx) { if (rf & 1) {
|
|
1089
|
-
i0.ɵɵelementStart(0, "span",
|
|
1681
|
+
i0.ɵɵelementStart(0, "span", 149);
|
|
1090
1682
|
i0.ɵɵtext(1);
|
|
1091
1683
|
i0.ɵɵelementEnd();
|
|
1092
1684
|
} if (rf & 2) {
|
|
@@ -1103,16 +1695,16 @@ function AgentPropertiesPanelComponent_Conditional_3_ng_template_23_Template(rf,
|
|
|
1103
1695
|
i0.ɵɵelementStart(0, "div", 25)(1, "div", 26)(2, "label");
|
|
1104
1696
|
i0.ɵɵtext(3, "From");
|
|
1105
1697
|
i0.ɵɵelementEnd();
|
|
1106
|
-
i0.ɵɵelementStart(4, "div",
|
|
1698
|
+
i0.ɵɵelementStart(4, "div", 150);
|
|
1107
1699
|
i0.ɵɵtext(5);
|
|
1108
1700
|
i0.ɵɵelementEnd()();
|
|
1109
1701
|
i0.ɵɵelementStart(6, "div", 26)(7, "label");
|
|
1110
1702
|
i0.ɵɵtext(8, "To");
|
|
1111
1703
|
i0.ɵɵelementEnd();
|
|
1112
|
-
i0.ɵɵelementStart(9, "div",
|
|
1704
|
+
i0.ɵɵelementStart(9, "div", 150);
|
|
1113
1705
|
i0.ɵɵtext(10);
|
|
1114
1706
|
i0.ɵɵelementEnd()();
|
|
1115
|
-
i0.ɵɵelementStart(11, "span",
|
|
1707
|
+
i0.ɵɵelementStart(11, "span", 48);
|
|
1116
1708
|
i0.ɵɵtext(12, "To change the route, rewire the connection on the canvas.");
|
|
1117
1709
|
i0.ɵɵelementEnd()();
|
|
1118
1710
|
} if (rf & 2) {
|
|
@@ -1128,9 +1720,9 @@ function AgentPropertiesPanelComponent_Conditional_3_ng_template_25_Template(rf,
|
|
|
1128
1720
|
i0.ɵɵelementEnd();
|
|
1129
1721
|
} }
|
|
1130
1722
|
function AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
1131
|
-
const
|
|
1132
|
-
i0.ɵɵelementStart(0, "input",
|
|
1133
|
-
i0.ɵɵlistener("input", function AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_4_Template_input_input_0_listener($event) { i0.ɵɵrestoreView(
|
|
1723
|
+
const _r68 = i0.ɵɵgetCurrentView();
|
|
1724
|
+
i0.ɵɵelementStart(0, "input", 157);
|
|
1725
|
+
i0.ɵɵlistener("input", function AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_4_Template_input_input_0_listener($event) { i0.ɵɵrestoreView(_r68); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.OnPathDescriptionChange(ctx_r1.InputValue($event))); });
|
|
1134
1726
|
i0.ɵɵelementEnd();
|
|
1135
1727
|
} if (rf & 2) {
|
|
1136
1728
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
@@ -1146,32 +1738,32 @@ function AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_
|
|
|
1146
1738
|
i0.ɵɵtextInterpolate1(" ", ctx_r1.PathEntity.Description || "\u2014", " ");
|
|
1147
1739
|
} }
|
|
1148
1740
|
function AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
1149
|
-
i0.ɵɵelementStart(0, "span",
|
|
1741
|
+
i0.ɵɵelementStart(0, "span", 48);
|
|
1150
1742
|
i0.ɵɵtext(1, "Displayed as a label on the connection line");
|
|
1151
1743
|
i0.ɵɵelementEnd();
|
|
1152
1744
|
} }
|
|
1153
1745
|
function AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_10_Template(rf, ctx) { if (rf & 1) {
|
|
1154
|
-
const
|
|
1155
|
-
i0.ɵɵelementStart(0, "mj-code-editor",
|
|
1156
|
-
i0.ɵɵlistener("change", function AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_10_Template_mj_code_editor_change_0_listener($event) { i0.ɵɵrestoreView(
|
|
1746
|
+
const _r69 = i0.ɵɵgetCurrentView();
|
|
1747
|
+
i0.ɵɵelementStart(0, "mj-code-editor", 158);
|
|
1748
|
+
i0.ɵɵlistener("change", function AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_10_Template_mj_code_editor_change_0_listener($event) { i0.ɵɵrestoreView(_r69); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.OnPathConditionChange($event)); });
|
|
1157
1749
|
i0.ɵɵelementEnd();
|
|
1158
1750
|
} if (rf & 2) {
|
|
1159
1751
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
1160
1752
|
i0.ɵɵproperty("value", ctx_r1.PathEntity.Condition || "")("readonly", false)("lineWrapping", true);
|
|
1161
1753
|
} }
|
|
1162
1754
|
function AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_11_Template(rf, ctx) { if (rf & 1) {
|
|
1163
|
-
i0.ɵɵelement(0, "mj-code-editor",
|
|
1755
|
+
i0.ɵɵelement(0, "mj-code-editor", 153);
|
|
1164
1756
|
} if (rf & 2) {
|
|
1165
1757
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
1166
1758
|
i0.ɵɵproperty("value", ctx_r1.PathEntity.Condition)("readonly", true)("lineWrapping", true);
|
|
1167
1759
|
} }
|
|
1168
1760
|
function AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_12_Template(rf, ctx) { if (rf & 1) {
|
|
1169
|
-
i0.ɵɵelementStart(0, "div",
|
|
1761
|
+
i0.ɵɵelementStart(0, "div", 150);
|
|
1170
1762
|
i0.ɵɵtext(1, " No condition (always taken) ");
|
|
1171
1763
|
i0.ɵɵelementEnd();
|
|
1172
1764
|
} }
|
|
1173
1765
|
function AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_13_Template(rf, ctx) { if (rf & 1) {
|
|
1174
|
-
i0.ɵɵelementStart(0, "span",
|
|
1766
|
+
i0.ɵɵelementStart(0, "span", 48);
|
|
1175
1767
|
i0.ɵɵtext(1, " JavaScript expression evaluated at runtime. Leave empty for unconditional. ");
|
|
1176
1768
|
i0.ɵɵelementEnd();
|
|
1177
1769
|
} }
|
|
@@ -1180,12 +1772,12 @@ function AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_
|
|
|
1180
1772
|
i0.ɵɵtext(1);
|
|
1181
1773
|
i0.ɵɵelementEnd();
|
|
1182
1774
|
} if (rf & 2) {
|
|
1183
|
-
const
|
|
1775
|
+
const message_r70 = ctx.$implicit;
|
|
1184
1776
|
i0.ɵɵadvance();
|
|
1185
|
-
i0.ɵɵtextInterpolate(
|
|
1777
|
+
i0.ɵɵtextInterpolate(message_r70);
|
|
1186
1778
|
} }
|
|
1187
1779
|
function AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_14_Template(rf, ctx) { if (rf & 1) {
|
|
1188
|
-
i0.ɵɵelementStart(0, "mj-alert",
|
|
1780
|
+
i0.ɵɵelementStart(0, "mj-alert", 154)(1, "ul", 24);
|
|
1189
1781
|
i0.ɵɵrepeaterCreate(2, AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_14_For_3_Template, 2, 1, "li", null, i0.ɵɵrepeaterTrackByIndex);
|
|
1190
1782
|
i0.ɵɵelementEnd()();
|
|
1191
1783
|
} if (rf & 2) {
|
|
@@ -1194,28 +1786,28 @@ function AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_
|
|
|
1194
1786
|
i0.ɵɵrepeater(ctx_r1.PathRunProblemMessages);
|
|
1195
1787
|
} }
|
|
1196
1788
|
function AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_15_For_10_Template(rf, ctx) { if (rf & 1) {
|
|
1197
|
-
i0.ɵɵelementStart(0, "option",
|
|
1789
|
+
i0.ɵɵelementStart(0, "option", 45);
|
|
1198
1790
|
i0.ɵɵtext(1);
|
|
1199
1791
|
i0.ɵɵelementEnd();
|
|
1200
1792
|
} if (rf & 2) {
|
|
1201
|
-
const
|
|
1202
|
-
i0.ɵɵproperty("value",
|
|
1793
|
+
const q_r72 = ctx.$implicit;
|
|
1794
|
+
i0.ɵɵproperty("value", q_r72.key);
|
|
1203
1795
|
i0.ɵɵadvance();
|
|
1204
|
-
i0.ɵɵtextInterpolate2("",
|
|
1796
|
+
i0.ɵɵtextInterpolate2("", q_r72.key, " (", q_r72.question.kind, ")");
|
|
1205
1797
|
} }
|
|
1206
1798
|
function AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_15_Conditional_11_For_5_Template(rf, ctx) { if (rf & 1) {
|
|
1207
|
-
i0.ɵɵelementStart(0, "option",
|
|
1799
|
+
i0.ɵɵelementStart(0, "option", 45);
|
|
1208
1800
|
i0.ɵɵtext(1);
|
|
1209
1801
|
i0.ɵɵelementEnd();
|
|
1210
1802
|
} if (rf & 2) {
|
|
1211
|
-
const
|
|
1212
|
-
i0.ɵɵproperty("value",
|
|
1803
|
+
const opt_r74 = ctx.$implicit;
|
|
1804
|
+
i0.ɵɵproperty("value", opt_r74.value);
|
|
1213
1805
|
i0.ɵɵadvance();
|
|
1214
|
-
i0.ɵɵtextInterpolate2("",
|
|
1806
|
+
i0.ɵɵtextInterpolate2("", opt_r74.value, " \u2014 ", opt_r74.description);
|
|
1215
1807
|
} }
|
|
1216
1808
|
function AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_15_Conditional_11_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
1217
|
-
i0.ɵɵelementStart(0, "div",
|
|
1218
|
-
i0.ɵɵelement(1, "i",
|
|
1809
|
+
i0.ɵɵelementStart(0, "div", 111);
|
|
1810
|
+
i0.ɵɵelement(1, "i", 112);
|
|
1219
1811
|
i0.ɵɵelementStart(2, "span");
|
|
1220
1812
|
i0.ɵɵtext(3);
|
|
1221
1813
|
i0.ɵɵelementEnd()();
|
|
@@ -1225,15 +1817,15 @@ function AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_
|
|
|
1225
1817
|
i0.ɵɵtextInterpolate(ctx_r1.RouteChoiceCoverageHint);
|
|
1226
1818
|
} }
|
|
1227
1819
|
function AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_15_Conditional_11_Template(rf, ctx) { if (rf & 1) {
|
|
1228
|
-
const
|
|
1820
|
+
const _r73 = i0.ɵɵgetCurrentView();
|
|
1229
1821
|
i0.ɵɵelementStart(0, "div", 26)(1, "label");
|
|
1230
1822
|
i0.ɵɵtext(2, "Choice Option");
|
|
1231
1823
|
i0.ɵɵelementEnd();
|
|
1232
1824
|
i0.ɵɵelementStart(3, "select", 34);
|
|
1233
|
-
i0.ɵɵlistener("change", function AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_15_Conditional_11_Template_select_change_3_listener($event) { i0.ɵɵrestoreView(
|
|
1234
|
-
i0.ɵɵrepeaterCreate(4, AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_15_Conditional_11_For_5_Template, 2, 3, "option",
|
|
1825
|
+
i0.ɵɵlistener("change", function AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_15_Conditional_11_Template_select_change_3_listener($event) { i0.ɵɵrestoreView(_r73); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.OnRouteChoiceOptionChange(ctx_r1.InputValue($event))); });
|
|
1826
|
+
i0.ɵɵrepeaterCreate(4, AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_15_Conditional_11_For_5_Template, 2, 3, "option", 45, _forTrack3);
|
|
1235
1827
|
i0.ɵɵelementEnd()();
|
|
1236
|
-
i0.ɵɵconditionalCreate(6, AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_15_Conditional_11_Conditional_6_Template, 4, 1, "div",
|
|
1828
|
+
i0.ɵɵconditionalCreate(6, AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_15_Conditional_11_Conditional_6_Template, 4, 1, "div", 111);
|
|
1237
1829
|
} if (rf & 2) {
|
|
1238
1830
|
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
1239
1831
|
i0.ɵɵadvance(3);
|
|
@@ -1244,14 +1836,14 @@ function AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_
|
|
|
1244
1836
|
i0.ɵɵconditional(ctx_r1.RouteChoiceCoverageHint ? 6 : -1);
|
|
1245
1837
|
} }
|
|
1246
1838
|
function AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_15_Conditional_12_Template(rf, ctx) { if (rf & 1) {
|
|
1247
|
-
const
|
|
1839
|
+
const _r75 = i0.ɵɵgetCurrentView();
|
|
1248
1840
|
i0.ɵɵelementStart(0, "div", 26)(1, "label");
|
|
1249
1841
|
i0.ɵɵtext(2, "Probability Threshold (0..1)");
|
|
1250
1842
|
i0.ɵɵelementEnd();
|
|
1251
|
-
i0.ɵɵelementStart(3, "input",
|
|
1252
|
-
i0.ɵɵlistener("input", function AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_15_Conditional_12_Template_input_input_3_listener($event) { i0.ɵɵrestoreView(
|
|
1843
|
+
i0.ɵɵelementStart(3, "input", 163);
|
|
1844
|
+
i0.ɵɵlistener("input", function AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_15_Conditional_12_Template_input_input_3_listener($event) { i0.ɵɵrestoreView(_r75); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.OnRouteLikelihoodThresholdChange(ctx_r1.InputValue($event))); });
|
|
1253
1845
|
i0.ɵɵelementEnd();
|
|
1254
|
-
i0.ɵɵelementStart(4, "span",
|
|
1846
|
+
i0.ɵɵelementStart(4, "span", 48);
|
|
1255
1847
|
i0.ɵɵtext(5, "Route taken when probability >= threshold");
|
|
1256
1848
|
i0.ɵɵelementEnd()();
|
|
1257
1849
|
} if (rf & 2) {
|
|
@@ -1261,24 +1853,24 @@ function AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_
|
|
|
1261
1853
|
i0.ɵɵproperty("value", ctx_r1.RouteThresholdText);
|
|
1262
1854
|
} }
|
|
1263
1855
|
function AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_15_Conditional_13_For_5_Template(rf, ctx) { if (rf & 1) {
|
|
1264
|
-
i0.ɵɵelementStart(0, "option",
|
|
1856
|
+
i0.ɵɵelementStart(0, "option", 45);
|
|
1265
1857
|
i0.ɵɵtext(1);
|
|
1266
1858
|
i0.ɵɵelementEnd();
|
|
1267
1859
|
} if (rf & 2) {
|
|
1268
|
-
const
|
|
1269
|
-
const $
|
|
1270
|
-
i0.ɵɵproperty("value", $
|
|
1860
|
+
const level_r77 = ctx.$implicit;
|
|
1861
|
+
const $index_r78 = ctx.$index;
|
|
1862
|
+
i0.ɵɵproperty("value", $index_r78);
|
|
1271
1863
|
i0.ɵɵadvance();
|
|
1272
|
-
i0.ɵɵtextInterpolate2("Level ", $
|
|
1864
|
+
i0.ɵɵtextInterpolate2("Level ", $index_r78, ": ", level_r77);
|
|
1273
1865
|
} }
|
|
1274
1866
|
function AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_15_Conditional_13_Template(rf, ctx) { if (rf & 1) {
|
|
1275
|
-
const
|
|
1867
|
+
const _r76 = i0.ɵɵgetCurrentView();
|
|
1276
1868
|
i0.ɵɵelementStart(0, "div", 26)(1, "label");
|
|
1277
1869
|
i0.ɵɵtext(2, "Minimum Level (Score >= Index)");
|
|
1278
1870
|
i0.ɵɵelementEnd();
|
|
1279
1871
|
i0.ɵɵelementStart(3, "select", 34);
|
|
1280
|
-
i0.ɵɵlistener("change", function AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_15_Conditional_13_Template_select_change_3_listener($event) { i0.ɵɵrestoreView(
|
|
1281
|
-
i0.ɵɵrepeaterCreate(4, AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_15_Conditional_13_For_5_Template, 2, 3, "option",
|
|
1872
|
+
i0.ɵɵlistener("change", function AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_15_Conditional_13_Template_select_change_3_listener($event) { i0.ɵɵrestoreView(_r76); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.OnRouteScoreLevelChange(ctx_r1.NumericValue($event))); });
|
|
1873
|
+
i0.ɵɵrepeaterCreate(4, AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_15_Conditional_13_For_5_Template, 2, 3, "option", 45, i0.ɵɵrepeaterTrackByIndex);
|
|
1282
1874
|
i0.ɵɵelementEnd()();
|
|
1283
1875
|
} if (rf & 2) {
|
|
1284
1876
|
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
@@ -1288,7 +1880,7 @@ function AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_
|
|
|
1288
1880
|
i0.ɵɵrepeater(ctx_r1.RouteScoreLevels);
|
|
1289
1881
|
} }
|
|
1290
1882
|
function AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_15_Conditional_14_Template(rf, ctx) { if (rf & 1) {
|
|
1291
|
-
i0.ɵɵelementStart(0, "span",
|
|
1883
|
+
i0.ɵɵelementStart(0, "span", 78);
|
|
1292
1884
|
i0.ɵɵtext(1);
|
|
1293
1885
|
i0.ɵɵelementEnd();
|
|
1294
1886
|
} if (rf & 2) {
|
|
@@ -1296,10 +1888,10 @@ function AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_
|
|
|
1296
1888
|
i0.ɵɵtextInterpolate(ctx);
|
|
1297
1889
|
} }
|
|
1298
1890
|
function AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_15_Conditional_15_Template(rf, ctx) { if (rf & 1) {
|
|
1299
|
-
const
|
|
1300
|
-
i0.ɵɵelementStart(0, "button",
|
|
1301
|
-
i0.ɵɵlistener("click", function AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_15_Conditional_15_Template_button_click_0_listener() { i0.ɵɵrestoreView(
|
|
1302
|
-
i0.ɵɵelement(1, "i",
|
|
1891
|
+
const _r79 = i0.ɵɵgetCurrentView();
|
|
1892
|
+
i0.ɵɵelementStart(0, "button", 164);
|
|
1893
|
+
i0.ɵɵlistener("click", function AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_15_Conditional_15_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r79); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.ApplyRouteCondition()); });
|
|
1894
|
+
i0.ɵɵelement(1, "i", 165);
|
|
1303
1895
|
i0.ɵɵtext(2, " Apply to Condition ");
|
|
1304
1896
|
i0.ɵɵelementEnd();
|
|
1305
1897
|
} if (rf & 2) {
|
|
@@ -1307,23 +1899,23 @@ function AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_
|
|
|
1307
1899
|
i0.ɵɵproperty("disabled", !ctx_r1.GetGeneratedRouteCondition());
|
|
1308
1900
|
} }
|
|
1309
1901
|
function AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_15_Template(rf, ctx) { if (rf & 1) {
|
|
1310
|
-
const
|
|
1311
|
-
i0.ɵɵelementStart(0, "div",
|
|
1312
|
-
i0.ɵɵelement(3, "i",
|
|
1902
|
+
const _r71 = i0.ɵɵgetCurrentView();
|
|
1903
|
+
i0.ɵɵelementStart(0, "div", 155)(1, "div", 159)(2, "span", 160);
|
|
1904
|
+
i0.ɵɵelement(3, "i", 161);
|
|
1313
1905
|
i0.ɵɵtext(4, " Route on Answer ");
|
|
1314
1906
|
i0.ɵɵelementEnd()();
|
|
1315
1907
|
i0.ɵɵelementStart(5, "div", 26)(6, "label");
|
|
1316
1908
|
i0.ɵɵtext(7, "Decision Question");
|
|
1317
1909
|
i0.ɵɵelementEnd();
|
|
1318
1910
|
i0.ɵɵelementStart(8, "select", 34);
|
|
1319
|
-
i0.ɵɵlistener("change", function AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_15_Template_select_change_8_listener($event) { i0.ɵɵrestoreView(
|
|
1320
|
-
i0.ɵɵrepeaterCreate(9, AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_15_For_10_Template, 2, 3, "option",
|
|
1911
|
+
i0.ɵɵlistener("change", function AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_15_Template_select_change_8_listener($event) { i0.ɵɵrestoreView(_r71); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.OnRouteQuestionChange(ctx_r1.InputValue($event))); });
|
|
1912
|
+
i0.ɵɵrepeaterCreate(9, AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_15_For_10_Template, 2, 3, "option", 45, _forTrack1);
|
|
1321
1913
|
i0.ɵɵelementEnd()();
|
|
1322
1914
|
i0.ɵɵconditionalCreate(11, AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_15_Conditional_11_Template, 7, 2);
|
|
1323
1915
|
i0.ɵɵconditionalCreate(12, AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_15_Conditional_12_Template, 6, 3, "div", 26);
|
|
1324
1916
|
i0.ɵɵconditionalCreate(13, AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_15_Conditional_13_Template, 6, 1, "div", 26);
|
|
1325
|
-
i0.ɵɵconditionalCreate(14, AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_15_Conditional_14_Template, 2, 1, "span",
|
|
1326
|
-
i0.ɵɵconditionalCreate(15, AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_15_Conditional_15_Template, 3, 1, "button",
|
|
1917
|
+
i0.ɵɵconditionalCreate(14, AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_15_Conditional_14_Template, 2, 1, "span", 78);
|
|
1918
|
+
i0.ɵɵconditionalCreate(15, AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_15_Conditional_15_Template, 3, 1, "button", 162);
|
|
1327
1919
|
i0.ɵɵelementEnd();
|
|
1328
1920
|
} if (rf & 2) {
|
|
1329
1921
|
let tmp_8_0;
|
|
@@ -1344,9 +1936,9 @@ function AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_
|
|
|
1344
1936
|
i0.ɵɵconditional(!ctx_r1.ReadOnly ? 15 : -1);
|
|
1345
1937
|
} }
|
|
1346
1938
|
function AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_19_Template(rf, ctx) { if (rf & 1) {
|
|
1347
|
-
const
|
|
1348
|
-
i0.ɵɵelementStart(0, "input",
|
|
1349
|
-
i0.ɵɵlistener("input", function AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_19_Template_input_input_0_listener($event) { i0.ɵɵrestoreView(
|
|
1939
|
+
const _r80 = i0.ɵɵgetCurrentView();
|
|
1940
|
+
i0.ɵɵelementStart(0, "input", 166);
|
|
1941
|
+
i0.ɵɵlistener("input", function AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_19_Template_input_input_0_listener($event) { i0.ɵɵrestoreView(_r80); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.OnPathPriorityChange(ctx_r1.NumericValue($event))); });
|
|
1350
1942
|
i0.ɵɵelementEnd();
|
|
1351
1943
|
} if (rf & 2) {
|
|
1352
1944
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
@@ -1365,26 +1957,26 @@ function AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Template(rf,
|
|
|
1365
1957
|
i0.ɵɵelementStart(0, "div", 25)(1, "div", 26)(2, "label");
|
|
1366
1958
|
i0.ɵɵtext(3, "Description");
|
|
1367
1959
|
i0.ɵɵelementEnd();
|
|
1368
|
-
i0.ɵɵconditionalCreate(4, AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_4_Template, 1, 1, "input",
|
|
1960
|
+
i0.ɵɵconditionalCreate(4, AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_4_Template, 1, 1, "input", 151);
|
|
1369
1961
|
i0.ɵɵconditionalCreate(5, AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_5_Template, 2, 1, "div", 28);
|
|
1370
|
-
i0.ɵɵconditionalCreate(6, AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_6_Template, 2, 0, "span",
|
|
1962
|
+
i0.ɵɵconditionalCreate(6, AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_6_Template, 2, 0, "span", 48);
|
|
1371
1963
|
i0.ɵɵelementEnd();
|
|
1372
1964
|
i0.ɵɵelementStart(7, "div", 26)(8, "label");
|
|
1373
1965
|
i0.ɵɵtext(9, "Condition");
|
|
1374
1966
|
i0.ɵɵelementEnd();
|
|
1375
|
-
i0.ɵɵconditionalCreate(10, AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_10_Template, 1, 3, "mj-code-editor",
|
|
1376
|
-
i0.ɵɵconditionalCreate(11, AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_11_Template, 1, 3, "mj-code-editor",
|
|
1377
|
-
i0.ɵɵconditionalCreate(12, AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_12_Template, 2, 0, "div",
|
|
1378
|
-
i0.ɵɵconditionalCreate(13, AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_13_Template, 2, 0, "span",
|
|
1379
|
-
i0.ɵɵconditionalCreate(14, AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_14_Template, 4, 0, "mj-alert",
|
|
1967
|
+
i0.ɵɵconditionalCreate(10, AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_10_Template, 1, 3, "mj-code-editor", 152);
|
|
1968
|
+
i0.ɵɵconditionalCreate(11, AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_11_Template, 1, 3, "mj-code-editor", 153);
|
|
1969
|
+
i0.ɵɵconditionalCreate(12, AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_12_Template, 2, 0, "div", 150);
|
|
1970
|
+
i0.ɵɵconditionalCreate(13, AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_13_Template, 2, 0, "span", 48);
|
|
1971
|
+
i0.ɵɵconditionalCreate(14, AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_14_Template, 4, 0, "mj-alert", 154);
|
|
1380
1972
|
i0.ɵɵelementEnd();
|
|
1381
|
-
i0.ɵɵconditionalCreate(15, AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_15_Template, 16, 6, "div",
|
|
1973
|
+
i0.ɵɵconditionalCreate(15, AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_15_Template, 16, 6, "div", 155);
|
|
1382
1974
|
i0.ɵɵelementStart(16, "div", 26)(17, "label");
|
|
1383
1975
|
i0.ɵɵtext(18, "Priority");
|
|
1384
1976
|
i0.ɵɵelementEnd();
|
|
1385
|
-
i0.ɵɵconditionalCreate(19, AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_19_Template, 1, 1, "input",
|
|
1977
|
+
i0.ɵɵconditionalCreate(19, AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_19_Template, 1, 1, "input", 156);
|
|
1386
1978
|
i0.ɵɵconditionalCreate(20, AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Conditional_20_Template, 2, 1, "div", 28);
|
|
1387
|
-
i0.ɵɵelementStart(21, "span",
|
|
1979
|
+
i0.ɵɵelementStart(21, "span", 48);
|
|
1388
1980
|
i0.ɵɵtext(22, "Higher priority paths are evaluated first when multiple paths leave a step.");
|
|
1389
1981
|
i0.ɵɵelementEnd()()();
|
|
1390
1982
|
} if (rf & 2) {
|
|
@@ -1413,43 +2005,43 @@ function AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Template(rf,
|
|
|
1413
2005
|
i0.ɵɵconditional(ctx_r1.ReadOnly ? 20 : -1);
|
|
1414
2006
|
} }
|
|
1415
2007
|
function AgentPropertiesPanelComponent_Conditional_3_Conditional_27_Template(rf, ctx) { if (rf & 1) {
|
|
1416
|
-
const
|
|
1417
|
-
i0.ɵɵelementStart(0, "div", 23)(1, "button",
|
|
1418
|
-
i0.ɵɵlistener("click", function AgentPropertiesPanelComponent_Conditional_3_Conditional_27_Template_button_click_1_listener() { i0.ɵɵrestoreView(
|
|
1419
|
-
i0.ɵɵelement(2, "i",
|
|
2008
|
+
const _r81 = i0.ɵɵgetCurrentView();
|
|
2009
|
+
i0.ɵɵelementStart(0, "div", 23)(1, "button", 141);
|
|
2010
|
+
i0.ɵɵlistener("click", function AgentPropertiesPanelComponent_Conditional_3_Conditional_27_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r81); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnDeletePath()); });
|
|
2011
|
+
i0.ɵɵelement(2, "i", 142);
|
|
1420
2012
|
i0.ɵɵtext(3, " Delete Path ");
|
|
1421
2013
|
i0.ɵɵelementEnd()();
|
|
1422
2014
|
} }
|
|
1423
2015
|
function AgentPropertiesPanelComponent_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
1424
|
-
const
|
|
1425
|
-
i0.ɵɵelementStart(0, "div",
|
|
2016
|
+
const _r67 = i0.ɵɵgetCurrentView();
|
|
2017
|
+
i0.ɵɵelementStart(0, "div", 143)(1, "div", 3)(2, "span", 4);
|
|
1426
2018
|
i0.ɵɵtext(3, "PATH");
|
|
1427
2019
|
i0.ɵɵelementEnd();
|
|
1428
2020
|
i0.ɵɵelementStart(4, "button", 5);
|
|
1429
|
-
i0.ɵɵlistener("click", function AgentPropertiesPanelComponent_Conditional_3_Template_button_click_4_listener() { i0.ɵɵrestoreView(
|
|
2021
|
+
i0.ɵɵlistener("click", function AgentPropertiesPanelComponent_Conditional_3_Template_button_click_4_listener() { i0.ɵɵrestoreView(_r67); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.CloseRequested.emit()); });
|
|
1430
2022
|
i0.ɵɵelement(5, "i", 6);
|
|
1431
2023
|
i0.ɵɵelementEnd()();
|
|
1432
|
-
i0.ɵɵelementStart(6, "div", 7)(7, "div",
|
|
1433
|
-
i0.ɵɵelement(8, "i",
|
|
2024
|
+
i0.ɵɵelementStart(6, "div", 7)(7, "div", 144);
|
|
2025
|
+
i0.ɵɵelement(8, "i", 145);
|
|
1434
2026
|
i0.ɵɵelementEnd();
|
|
1435
|
-
i0.ɵɵelementStart(9, "div", 10)(10, "span",
|
|
2027
|
+
i0.ɵɵelementStart(9, "div", 10)(10, "span", 146)(11, "span", 147);
|
|
1436
2028
|
i0.ɵɵtext(12);
|
|
1437
2029
|
i0.ɵɵelementEnd();
|
|
1438
|
-
i0.ɵɵelement(13, "i",
|
|
1439
|
-
i0.ɵɵelementStart(14, "span",
|
|
2030
|
+
i0.ɵɵelement(13, "i", 148);
|
|
2031
|
+
i0.ɵɵelementStart(14, "span", 147);
|
|
1440
2032
|
i0.ɵɵtext(15);
|
|
1441
2033
|
i0.ɵɵelementEnd()();
|
|
1442
2034
|
i0.ɵɵelementStart(16, "span", 12)(17, "span", 13);
|
|
1443
2035
|
i0.ɵɵtext(18);
|
|
1444
2036
|
i0.ɵɵelementEnd();
|
|
1445
|
-
i0.ɵɵconditionalCreate(19, AgentPropertiesPanelComponent_Conditional_3_Conditional_19_Template, 2, 1, "span",
|
|
2037
|
+
i0.ɵɵconditionalCreate(19, AgentPropertiesPanelComponent_Conditional_3_Conditional_19_Template, 2, 1, "span", 149);
|
|
1446
2038
|
i0.ɵɵelementEnd()()()();
|
|
1447
2039
|
i0.ɵɵelementStart(20, "div", 17)(21, "mj-accordion-panel", 19);
|
|
1448
|
-
i0.ɵɵlistener("ExpandedChange", function AgentPropertiesPanelComponent_Conditional_3_Template_mj_accordion_panel_ExpandedChange_21_listener() { i0.ɵɵrestoreView(
|
|
2040
|
+
i0.ɵɵlistener("ExpandedChange", function AgentPropertiesPanelComponent_Conditional_3_Template_mj_accordion_panel_ExpandedChange_21_listener() { i0.ɵɵrestoreView(_r67); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.ToggleSection("path-overview")); });
|
|
1449
2041
|
i0.ɵɵtemplate(22, AgentPropertiesPanelComponent_Conditional_3_ng_template_22_Template, 2, 0, "ng-template", 20)(23, AgentPropertiesPanelComponent_Conditional_3_ng_template_23_Template, 13, 2, "ng-template", 21);
|
|
1450
2042
|
i0.ɵɵelementEnd();
|
|
1451
2043
|
i0.ɵɵelementStart(24, "mj-accordion-panel", 19);
|
|
1452
|
-
i0.ɵɵlistener("ExpandedChange", function AgentPropertiesPanelComponent_Conditional_3_Template_mj_accordion_panel_ExpandedChange_24_listener() { i0.ɵɵrestoreView(
|
|
2044
|
+
i0.ɵɵlistener("ExpandedChange", function AgentPropertiesPanelComponent_Conditional_3_Template_mj_accordion_panel_ExpandedChange_24_listener() { i0.ɵɵrestoreView(_r67); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.ToggleSection("path-settings")); });
|
|
1453
2045
|
i0.ɵɵtemplate(25, AgentPropertiesPanelComponent_Conditional_3_ng_template_25_Template, 2, 0, "ng-template", 20)(26, AgentPropertiesPanelComponent_Conditional_3_ng_template_26_Template, 23, 11, "ng-template", 21);
|
|
1454
2046
|
i0.ɵɵelementEnd();
|
|
1455
2047
|
i0.ɵɵconditionalCreate(27, AgentPropertiesPanelComponent_Conditional_3_Conditional_27_Template, 4, 0, "div", 23);
|
|
@@ -1483,7 +2075,10 @@ const STEP_TYPE_COLORS = {
|
|
|
1483
2075
|
Decision: '#0891b2',
|
|
1484
2076
|
'Sub-Agent': '#10b981',
|
|
1485
2077
|
ForEach: '#f59e0b',
|
|
1486
|
-
While: '#f59e0b'
|
|
2078
|
+
While: '#f59e0b',
|
|
2079
|
+
Human: '#7b1fa2',
|
|
2080
|
+
External: '#0891b2',
|
|
2081
|
+
Wait: '#64748b'
|
|
1487
2082
|
};
|
|
1488
2083
|
/** Step type icon mapping */
|
|
1489
2084
|
const STEP_TYPE_ICONS = {
|
|
@@ -1492,7 +2087,10 @@ const STEP_TYPE_ICONS = {
|
|
|
1492
2087
|
Decision: 'fa-scale-balanced',
|
|
1493
2088
|
'Sub-Agent': 'fa-robot',
|
|
1494
2089
|
ForEach: 'fa-arrows-spin',
|
|
1495
|
-
While: 'fa-rotate'
|
|
2090
|
+
While: 'fa-rotate',
|
|
2091
|
+
Human: 'fa-user-check',
|
|
2092
|
+
External: 'fa-arrow-up-right-from-square',
|
|
2093
|
+
Wait: 'fa-hourglass-half'
|
|
1496
2094
|
};
|
|
1497
2095
|
/** The kinds the question editor offers, in the order it lists them. */
|
|
1498
2096
|
const DECISION_QUESTION_KINDS = ['Likelihood', 'Choice', 'Score'];
|
|
@@ -1540,6 +2138,70 @@ export class AgentPropertiesPanelComponent {
|
|
|
1540
2138
|
CloseRequested = new EventEmitter();
|
|
1541
2139
|
// ── Collapsible section state ─────────────────────────────
|
|
1542
2140
|
collapsedSections = {};
|
|
2141
|
+
ActionSearchQuery = '';
|
|
2142
|
+
PromptSearchQuery = '';
|
|
2143
|
+
AgentSearchQuery = '';
|
|
2144
|
+
ShowRawLoopJson = false;
|
|
2145
|
+
get FilteredActions() {
|
|
2146
|
+
const q = this.ActionSearchQuery.trim().toLowerCase();
|
|
2147
|
+
if (!q)
|
|
2148
|
+
return this.Actions;
|
|
2149
|
+
const selectedId = this.Step?.ActionID ?? '';
|
|
2150
|
+
return this.Actions.filter(a => UUIDsEqual(a.ID, selectedId) || a.Name.toLowerCase().includes(q));
|
|
2151
|
+
}
|
|
2152
|
+
get FilteredPrompts() {
|
|
2153
|
+
const q = this.PromptSearchQuery.trim().toLowerCase();
|
|
2154
|
+
if (!q)
|
|
2155
|
+
return this.Prompts;
|
|
2156
|
+
const selectedId = this.Step?.PromptID ?? '';
|
|
2157
|
+
return this.Prompts.filter(p => UUIDsEqual(p.ID, selectedId) || p.Name.toLowerCase().includes(q));
|
|
2158
|
+
}
|
|
2159
|
+
get FilteredAgents() {
|
|
2160
|
+
const q = this.AgentSearchQuery.trim().toLowerCase();
|
|
2161
|
+
if (!q)
|
|
2162
|
+
return this.Agents;
|
|
2163
|
+
const selectedId = this.Step?.SubAgentID ?? '';
|
|
2164
|
+
return this.Agents.filter(a => UUIDsEqual(a.ID, selectedId) || a.Name.toLowerCase().includes(q));
|
|
2165
|
+
}
|
|
2166
|
+
/** Clickable upstream variable pills for visual Data Mapping insertion. */
|
|
2167
|
+
get UpstreamVariablePills() {
|
|
2168
|
+
const pills = [
|
|
2169
|
+
{ Label: 'trigger.input', Token: '{{ trigger.input }}' },
|
|
2170
|
+
{ Label: 'payload', Token: '{{ payload }}' }
|
|
2171
|
+
];
|
|
2172
|
+
const currentId = this.Step?.ID ?? '';
|
|
2173
|
+
for (const step of this.AllSteps) {
|
|
2174
|
+
if (UUIDsEqual(step.ID, currentId))
|
|
2175
|
+
continue;
|
|
2176
|
+
const slug = step.Name.trim().replace(/[^a-zA-Z0-9_]+/g, '_').replace(/^_+|_+$/g, '') || 'step';
|
|
2177
|
+
pills.push({ Label: `${step.Name}.output`, Token: `{{ ${slug}.output }}` });
|
|
2178
|
+
}
|
|
2179
|
+
return pills.slice(0, 8);
|
|
2180
|
+
}
|
|
2181
|
+
/** Inserts an upstream variable pill into the step's ActionInputMapping JSON. */
|
|
2182
|
+
OnInsertVariablePill(pill) {
|
|
2183
|
+
if (!this.Step || this.ReadOnly)
|
|
2184
|
+
return;
|
|
2185
|
+
const bag = ReadStepConfigBag(this.Step.ActionInputMapping);
|
|
2186
|
+
const baseKey = pill.Label.split('.')[0].replace(/[^a-zA-Z0-9_]+/g, '_').toLowerCase() || 'input';
|
|
2187
|
+
let key = baseKey;
|
|
2188
|
+
let i = 2;
|
|
2189
|
+
while (Object.prototype.hasOwnProperty.call(bag, key)) {
|
|
2190
|
+
key = `${baseKey}_${i++}`;
|
|
2191
|
+
}
|
|
2192
|
+
bag[key] = pill.Token;
|
|
2193
|
+
this.Step.ActionInputMapping = JSON.stringify(bag, null, 2);
|
|
2194
|
+
this.StepChanged.emit(this.Step);
|
|
2195
|
+
}
|
|
2196
|
+
OnLoopExecutionModeChange(mode) {
|
|
2197
|
+
this.writeConfig(WithStepConfigField(this.Step?.Configuration, 'executionMode', mode || undefined));
|
|
2198
|
+
}
|
|
2199
|
+
OnSagaCompensationActionChange(actionId) {
|
|
2200
|
+
this.writeConfig(WithStepConfigField(this.Step?.Configuration, 'compensationActionId', actionId || undefined));
|
|
2201
|
+
}
|
|
2202
|
+
OnSagaFailurePolicyChange(policy) {
|
|
2203
|
+
this.writeConfig(WithStepConfigField(this.Step?.Configuration, 'compensationFailurePolicy', policy || undefined));
|
|
2204
|
+
}
|
|
1543
2205
|
// ── Computed Properties ─────────────────────────────────────
|
|
1544
2206
|
get IsStepSelected() {
|
|
1545
2207
|
return this.Step != null;
|
|
@@ -1586,6 +2248,59 @@ export class AgentPropertiesPanelComponent {
|
|
|
1586
2248
|
get showLoopConfig() {
|
|
1587
2249
|
return this.ShowLoopConfig;
|
|
1588
2250
|
}
|
|
2251
|
+
// ── Waiting steps (Human, External, Wait) ───────────────────
|
|
2252
|
+
// These steps finish without a runner. The fields below edit their Configuration; whether what is
|
|
2253
|
+
// there would RUN is the flow's run check's call, which asks the runtime itself.
|
|
2254
|
+
get ShowHumanConfig() { return this.Step?.StepType === 'Human'; }
|
|
2255
|
+
get ShowExternalConfig() { return this.Step?.StepType === 'External'; }
|
|
2256
|
+
get ShowWaitConfig() { return this.Step?.StepType === 'Wait'; }
|
|
2257
|
+
/** A Wait's two ways of saying when, as the fields show them. */
|
|
2258
|
+
get WaitFields() {
|
|
2259
|
+
return ReadWaitFields(this.Step?.Configuration);
|
|
2260
|
+
}
|
|
2261
|
+
/** One configuration field, as text for an input. */
|
|
2262
|
+
ConfigText(field) {
|
|
2263
|
+
const value = ReadStepConfigBag(this.Step?.Configuration)[field];
|
|
2264
|
+
if (value === undefined || value === null)
|
|
2265
|
+
return '';
|
|
2266
|
+
return typeof value === 'object' ? JSON.stringify(value, null, 2) : String(value);
|
|
2267
|
+
}
|
|
2268
|
+
/** Sets (or, when empty, removes) one text field of the step's configuration. */
|
|
2269
|
+
OnConfigTextChange(field, value) {
|
|
2270
|
+
this.writeConfig(WithStepConfigField(this.Step?.Configuration, field, value));
|
|
2271
|
+
}
|
|
2272
|
+
/** Sets (or, when empty or not a number, removes) one numeric field. */
|
|
2273
|
+
OnConfigNumberChange(field, value) {
|
|
2274
|
+
this.writeConfig(WithStepConfigField(this.Step?.Configuration, field, ParsePositiveNumber(value)));
|
|
2275
|
+
}
|
|
2276
|
+
/** Switches a Wait between a duration and a moment, clearing the other so it never holds both. */
|
|
2277
|
+
OnWaitModeChange(mode) {
|
|
2278
|
+
this.writeConfig(WithWaitMode(this.Step?.Configuration, mode));
|
|
2279
|
+
}
|
|
2280
|
+
/**
|
|
2281
|
+
* A Human step's provider configuration, edited as JSON because only the provider knows its shape.
|
|
2282
|
+
* Text that does not parse is kept as typed rather than discarded, and the run check says so.
|
|
2283
|
+
*/
|
|
2284
|
+
OnProviderConfigurationChange(value) {
|
|
2285
|
+
const text = (value ?? '').trim();
|
|
2286
|
+
if (!text) {
|
|
2287
|
+
this.writeConfig(WithStepConfigField(this.Step?.Configuration, 'providerConfiguration', undefined));
|
|
2288
|
+
return;
|
|
2289
|
+
}
|
|
2290
|
+
try {
|
|
2291
|
+
const parsed = JSON.parse(text);
|
|
2292
|
+
this.writeConfig(WithStepConfigField(this.Step?.Configuration, 'providerConfiguration', parsed));
|
|
2293
|
+
}
|
|
2294
|
+
catch {
|
|
2295
|
+
// Not yet valid JSON — leave the stored value as it was until it is.
|
|
2296
|
+
}
|
|
2297
|
+
}
|
|
2298
|
+
writeConfig(next) {
|
|
2299
|
+
if (!this.Step || this.ReadOnly)
|
|
2300
|
+
return;
|
|
2301
|
+
this.Step.Configuration = next;
|
|
2302
|
+
this.StepChanged.emit(this.Step);
|
|
2303
|
+
}
|
|
1589
2304
|
get StepTypeLabel() {
|
|
1590
2305
|
switch (this.Step?.StepType) {
|
|
1591
2306
|
case 'Action': return 'Action';
|
|
@@ -1594,6 +2309,9 @@ export class AgentPropertiesPanelComponent {
|
|
|
1594
2309
|
case 'Sub-Agent': return 'Sub-Agent';
|
|
1595
2310
|
case 'ForEach': return 'For Each Loop';
|
|
1596
2311
|
case 'While': return 'While Loop';
|
|
2312
|
+
case 'Human': return 'Person';
|
|
2313
|
+
case 'External': return 'External Signal';
|
|
2314
|
+
case 'Wait': return 'Wait';
|
|
1597
2315
|
default: return 'Step';
|
|
1598
2316
|
}
|
|
1599
2317
|
}
|
|
@@ -2566,7 +3284,7 @@ export class AgentPropertiesPanelComponent {
|
|
|
2566
3284
|
}
|
|
2567
3285
|
}
|
|
2568
3286
|
static ɵfac = function AgentPropertiesPanelComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AgentPropertiesPanelComponent)(); };
|
|
2569
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AgentPropertiesPanelComponent, selectors: [["mj-agent-properties-panel"]], inputs: { Step: "Step", SelectedConnection: "SelectedConnection", PathEntity: "PathEntity", ReadOnly: "ReadOnly", Actions: "Actions", Prompts: "Prompts", DecisionModelTypeID: "DecisionModelTypeID", Agents: "Agents", AllSteps: "AllSteps", AllPaths: "AllPaths", RunProblems: "RunProblems" }, outputs: { StepChanged: "StepChanged", PathChanged: "PathChanged", DeleteStepRequested: "DeleteStepRequested", DeletePathRequested: "DeletePathRequested", CloseRequested: "CloseRequested" }, standalone: false, decls: 4, vars: 3, consts: [[1, "mj-agent-props"], ["Icon", "fa-solid fa-arrow-pointer", "Title", "No selection", "Message", "Select a step or connection to view its properties", 1, "mj-agent-props-empty"], [1, "mj-agent-props-header", "mj-agent-props-header--step"], [1, "mj-agent-props-header-top"], [1, "mj-agent-props-header-label"], ["title", "Close", 1, "mj-agent-props-close", 3, "click"], [1, "fa-solid", "fa-times"], [1, "mj-agent-props-identity"], [1, "mj-agent-props-identity-icon"], [1, "fa-solid", 3, "ngClass"], [1, "mj-agent-props-identity-info"], [1, "mj-agent-props-identity-name"], [1, "mj-agent-props-identity-meta"], [1, "mj-agent-props-type-pill"], [1, "mj-agent-props-status-dot"], [1, "mj-agent-props-status-label"], [1, "mj-agent-props-start-badge"], [1, "mj-agent-props-content"], ["Variant", "warning", "Size", "sm", "Title", "This flow would not run", 1, "mj-agent-props-run-problems"], ["Size", "sm", 1, "mj-agent-props-accordion", 3, "ExpandedChange", "FlushBody", "Expanded"], ["mjAccordionTitle", ""], ["mjAccordionBody", ""], ["Size", "sm", 1, "mj-agent-props-accordion", 3, "FlushBody", "Expanded"], [1, "mj-agent-props-section", "mj-agent-props-danger"], [1, "mj-agent-props-run-problems-list"], [1, "mj-agent-props-section-body"], [1, "mj-agent-props-field"], ["type", "text", "placeholder", "Step name...", 1, "mj-agent-props-input", 3, "value"], [1, "mj-agent-props-readonly-value"], ["placeholder", "Optional description...", "rows", "2", 1, "mj-agent-props-input", "mj-agent-props-textarea", 3, "value"], [1, "mj-agent-props-input", 3, "value"], [1, "mj-agent-props-field", "mj-agent-props-field--row"], ["type", "text", "placeholder", "Step name...", 1, "mj-agent-props-input", 3, "input", "value"], ["placeholder", "Optional description...", "rows", "2", 1, "mj-agent-props-input", "mj-agent-props-textarea", 3, "input", "value"], [1, "mj-agent-props-input", 3, "change", "value"], ["value", "Active"], ["value", "Disabled"], ["value", "Pending"], [1, "mj-agent-props-checkbox-label"], ["type", "checkbox", 3, "change", "checked"], ["value", "Action"], ["value", "Prompt"], ["value", "Sub-Agent"], ["value", ""], [3, "value"], ["language", "json", "setup", "minimal", 3, "change", "value", "readonly", "lineWrapping"], [1, "mj-agent-props-required"], ["type", "text", "placeholder", "e.g. triage", 1, "mj-agent-props-input", 3, "value", "mj-agent-props-input--error"], [1, "mj-agent-props-error"], [1, "mj-agent-props-hint"], ["type", "text", "placeholder", "payload", 1, "mj-agent-props-input", 3, "value"], [1, "mj-agent-props-questions-header"], [1, "mj-agent-props-questions-label"], ["type", "button", 1, "mj-agent-props-btn", "mj-agent-props-btn--sm"], [1, "mj-agent-props-questions-list"], [1, "mj-agent-props-question-card"], ["Variant", "error", "Size", "sm", "Title", "This step cannot run", 1, "mj-agent-props-run-problems", 3, "Message"], ["type", "text", "placeholder", "e.g. triage", 1, "mj-agent-props-input", 3, "input", "change", "keydown.enter", "value"], ["type", "text", "placeholder", "payload", 1, "mj-agent-props-input", 3, "input", "value"], ["type", "button", 1, "mj-agent-props-btn", "mj-agent-props-btn--sm", 3, "click"], [1, "fa-solid", "fa-plus"], [1, "mj-agent-props-question-card-header"], [1, "mj-agent-props-question-card-title"], [1, "fa-solid", "fa-question-circle"], [1, "mj-agent-props-question-kind-badge"], ["type", "button", "title", "Remove Question", 1, "mj-agent-props-icon-btn", "mj-agent-props-icon-btn--danger"], [1, "mj-agent-props-question-card-body"], ["type", "text", 1, "mj-agent-props-input", 3, "value", "mj-agent-props-input--error"], ["rows", "2", "placeholder", "Full sentence instructions for the model...", 1, "mj-agent-props-input", "mj-agent-props-textarea", 3, "value"], ["type", "number", "min", "0", "max", "1", "step", "0.05", "placeholder", "e.g. 0.8", 1, "mj-agent-props-input", 3, "value"], [1, "mj-agent-props-options-section"], [1, "mj-agent-props-levels-section"], ["type", "button", "title", "Remove Question", 1, "mj-agent-props-icon-btn", "mj-agent-props-icon-btn--danger", 3, "click"], [1, "fa-solid", "fa-trash"], ["type", "text", 1, "mj-agent-props-input", 3, "change", "keydown.enter", "value"], ["value", "Likelihood"], ["value", "Choice"], ["value", "Score"], ["rows", "2", "placeholder", "Full sentence instructions for the model...", 1, "mj-agent-props-input", "mj-agent-props-textarea", 3, "input", "value"], ["type", "number", "min", "0", "max", "1", "step", "0.05", "placeholder", "e.g. 0.8", 1, "mj-agent-props-input", 3, "input", "value"], [1, "mj-agent-props-options-header"], ["type", "button", 1, "mj-agent-props-btn", "mj-agent-props-btn--xs"], [1, "mj-agent-props-coverage-hint"], [1, "fa-solid", "fa-code-fork"], ["type", "button", 1, "mj-agent-props-btn", "mj-agent-props-btn--xs", 3, "click"], [1, "mj-agent-props-option-row"], ["type", "text", "placeholder", "Value (e.g. billing)", 1, "mj-agent-props-input", "mj-agent-props-input--sm", 3, "change", "keydown.enter", "value", "readonly"], ["type", "text", "placeholder", "Description for model...", 1, "mj-agent-props-input", "mj-agent-props-input--sm", 3, "input", "value", "readonly"], ["type", "button", "title", "Remove Option", 1, "mj-agent-props-icon-btn", "mj-agent-props-icon-btn--danger"], ["type", "button", "title", "Remove Option", 1, "mj-agent-props-icon-btn", "mj-agent-props-icon-btn--danger", 3, "click"], [1, "mj-agent-props-level-row"], [1, "mj-agent-props-level-badge"], ["type", "text", "placeholder", "Description for level...", 1, "mj-agent-props-input", "mj-agent-props-input--sm", 3, "input", "value", "readonly"], ["type", "button", "title", "Move Up", 1, "mj-agent-props-icon-btn", 3, "click", "disabled"], [1, "fa-solid", "fa-arrow-up"], ["type", "button", "title", "Move Down", 1, "mj-agent-props-icon-btn", 3, "click", "disabled"], [1, "fa-solid", "fa-arrow-down"], ["type", "button", "title", "Remove Level", 1, "mj-agent-props-icon-btn", "mj-agent-props-icon-btn--danger", 3, "click"], ["language", "json", "setup", "minimal", "placeholder", "Enter JSON input mapping...", 3, "change", "value", "readonly", "lineWrapping"], ["language", "json", "setup", "minimal", "placeholder", "Enter JSON output mapping...", 3, "change", "value", "readonly", "lineWrapping"], ["type", "number", "min", "1", 1, "mj-agent-props-input", 3, "value"], ["value", "fail"], ["value", "continue"], ["value", "retry"], ["type", "number", "min", "0", "max", "10", 1, "mj-agent-props-input", 3, "value"], ["type", "number", "min", "0", "max", "10", 1, "mj-agent-props-input", 3, "input", "value"], ["type", "number", "min", "1", 1, "mj-agent-props-input", 3, "input", "value"], [1, "mj-agent-props-delete-btn", 3, "click"], [1, "fa-solid", "fa-trash-can"], [1, "mj-agent-props-header", "mj-agent-props-header--path"], [1, "mj-agent-props-identity-icon", "mj-agent-props-identity-icon--path"], [1, "fa-solid", "fa-arrow-right"], [1, "mj-agent-props-path-route"], [1, "mj-agent-props-path-step-name"], [1, "fa-solid", "fa-arrow-right", "mj-agent-props-path-arrow"], [1, "mj-agent-props-priority-badge"], [1, "mj-agent-props-readonly-value", "mj-agent-props-readonly-value--muted"], ["type", "text", "placeholder", "Path label...", 1, "mj-agent-props-input", 3, "value"], ["language", "javascript", "setup", "minimal", "placeholder", "e.g. payload.status === 'active'", 3, "value", "readonly", "lineWrapping"], ["language", "javascript", "setup", "minimal", 3, "value", "readonly", "lineWrapping"], ["Variant", "warning", "Size", "sm", "Title", "This condition would stop the flow", 1, "mj-agent-props-run-problems"], [1, "mj-agent-props-route-helper"], ["type", "number", "min", "-100", "max", "100", 1, "mj-agent-props-input", 3, "value"], ["type", "text", "placeholder", "Path label...", 1, "mj-agent-props-input", 3, "input", "value"], ["language", "javascript", "setup", "minimal", "placeholder", "e.g. payload.status === 'active'", 3, "change", "value", "readonly", "lineWrapping"], [1, "mj-agent-props-route-helper-header"], [1, "mj-agent-props-route-helper-title"], [1, "fa-solid", "fa-wand-magic-sparkles"], ["type", "button", 1, "mj-agent-props-btn", "mj-agent-props-btn--secondary", 3, "disabled"], ["type", "number", "min", "0", "max", "1", "step", "0.05", 1, "mj-agent-props-input", 3, "input", "value"], ["type", "button", 1, "mj-agent-props-btn", "mj-agent-props-btn--secondary", 3, "click", "disabled"], [1, "fa-solid", "fa-code"], ["type", "number", "min", "-100", "max", "100", 1, "mj-agent-props-input", 3, "input", "value"]], template: function AgentPropertiesPanelComponent_Template(rf, ctx) { if (rf & 1) {
|
|
3287
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AgentPropertiesPanelComponent, selectors: [["mj-agent-properties-panel"]], inputs: { Step: "Step", SelectedConnection: "SelectedConnection", PathEntity: "PathEntity", ReadOnly: "ReadOnly", Actions: "Actions", Prompts: "Prompts", DecisionModelTypeID: "DecisionModelTypeID", Agents: "Agents", AllSteps: "AllSteps", AllPaths: "AllPaths", RunProblems: "RunProblems" }, outputs: { StepChanged: "StepChanged", PathChanged: "PathChanged", DeleteStepRequested: "DeleteStepRequested", DeletePathRequested: "DeletePathRequested", CloseRequested: "CloseRequested" }, standalone: false, decls: 4, vars: 3, consts: [[1, "mj-agent-props"], ["Icon", "fa-solid fa-arrow-pointer", "Title", "No selection", "Message", "Select a step or connection to view its properties", 1, "mj-agent-props-empty"], [1, "mj-agent-props-header", "mj-agent-props-header--step"], [1, "mj-agent-props-header-top"], [1, "mj-agent-props-header-label"], ["title", "Close", 1, "mj-agent-props-close", 3, "click"], [1, "fa-solid", "fa-times"], [1, "mj-agent-props-identity"], [1, "mj-agent-props-identity-icon"], [1, "fa-solid", 3, "ngClass"], [1, "mj-agent-props-identity-info"], [1, "mj-agent-props-identity-name"], [1, "mj-agent-props-identity-meta"], [1, "mj-agent-props-type-pill"], [1, "mj-agent-props-status-dot"], [1, "mj-agent-props-status-label"], [1, "mj-agent-props-start-badge"], [1, "mj-agent-props-content"], ["Variant", "warning", "Size", "sm", "Title", "This flow would not run", 1, "mj-agent-props-run-problems"], ["Size", "sm", 1, "mj-agent-props-accordion", 3, "ExpandedChange", "FlushBody", "Expanded"], ["mjAccordionTitle", ""], ["mjAccordionBody", ""], ["Size", "sm", 1, "mj-agent-props-accordion", 3, "FlushBody", "Expanded"], [1, "mj-agent-props-section", "mj-agent-props-danger"], [1, "mj-agent-props-run-problems-list"], [1, "mj-agent-props-section-body"], [1, "mj-agent-props-field"], ["type", "text", "placeholder", "Step name...", 1, "mj-agent-props-input", 3, "value"], [1, "mj-agent-props-readonly-value"], ["placeholder", "Optional description...", "rows", "2", 1, "mj-agent-props-input", "mj-agent-props-textarea", 3, "value"], [1, "mj-agent-props-input", 3, "value"], [1, "mj-agent-props-field", "mj-agent-props-field--row"], ["type", "text", "placeholder", "Step name...", 1, "mj-agent-props-input", 3, "input", "value"], ["placeholder", "Optional description...", "rows", "2", 1, "mj-agent-props-input", "mj-agent-props-textarea", 3, "input", "value"], [1, "mj-agent-props-input", 3, "change", "value"], ["value", "Active"], ["value", "Disabled"], ["value", "Pending"], [1, "mj-agent-props-checkbox-label"], ["type", "checkbox", 3, "change", "checked"], ["value", "Action"], ["value", "Prompt"], ["value", "Sub-Agent"], ["type", "search", "placeholder", "Filter actions...", "aria-label", "Filter actions", 1, "mj-agent-props-input", "mj-agent-props-picker-search", 3, "input", "value"], ["value", ""], [3, "value"], ["type", "search", "placeholder", "Filter prompts...", "aria-label", "Filter prompts", 1, "mj-agent-props-input", "mj-agent-props-picker-search", 3, "input", "value"], ["type", "search", "placeholder", "Filter agents...", "aria-label", "Filter agents", 1, "mj-agent-props-input", "mj-agent-props-picker-search", 3, "input", "value"], [1, "mj-agent-props-hint"], ["type", "number", "min", "0", "step", "1", "placeholder", "Never", 1, "mj-agent-props-input", 3, "value"], ["type", "text", "placeholder", "Built-in inbox", 1, "mj-agent-props-input", 3, "change", "value"], ["language", "json", "setup", "minimal", 3, "change", "value", "readonly", "lineWrapping"], ["type", "number", "min", "0", "step", "1", "placeholder", "Never", 1, "mj-agent-props-input", 3, "change", "value"], ["type", "text", "placeholder", "external", 1, "mj-agent-props-input", 3, "change", "value"], ["type", "text", "placeholder", "Signalled by task ID", 1, "mj-agent-props-input", 3, "change", "value"], ["value", "duration"], ["value", "until"], ["type", "number", "min", "0", "step", "1", 1, "mj-agent-props-input", 3, "value"], ["type", "number", "min", "0", "step", "1", 1, "mj-agent-props-input", 3, "change", "value"], ["type", "text", "placeholder", "payload.renewal.chargeOn", 1, "mj-agent-props-input", 3, "change", "value"], [1, "mj-agent-props-loop-grid"], ["type", "number", "min", "1", "step", "1", "placeholder", "50", 1, "mj-agent-props-input", 3, "value"], ["type", "button", 1, "mj-agent-props-btn", "mj-agent-props-btn--xs", 3, "click"], ["aria-hidden", "true", 1, "fa-solid", "fa-code"], [2, "margin-top", "6px"], ["type", "text", "placeholder", "e.g. payload.items", 1, "mj-agent-props-input", 3, "value"], ["type", "text", "placeholder", "e.g. item", 1, "mj-agent-props-input", 3, "value"], ["type", "text", "placeholder", "e.g. payload.items", 1, "mj-agent-props-input", 3, "change", "value"], ["type", "text", "placeholder", "e.g. item", 1, "mj-agent-props-input", 3, "change", "value"], ["type", "text", "placeholder", "e.g. payload.approved !== true", 1, "mj-agent-props-input", 3, "value"], ["type", "text", "placeholder", "e.g. payload.approved !== true", 1, "mj-agent-props-input", 3, "change", "value"], ["value", "sequential"], ["value", "parallel"], ["type", "number", "min", "1", "step", "1", "placeholder", "50", 1, "mj-agent-props-input", 3, "change", "value"], ["type", "number", "min", "1", "max", "50", "step", "1", "placeholder", "4", 1, "mj-agent-props-input", 3, "value"], ["type", "number", "min", "1", "max", "50", "step", "1", "placeholder", "4", 1, "mj-agent-props-input", 3, "change", "value"], [1, "mj-agent-props-required"], ["type", "text", "placeholder", "e.g. triage", 1, "mj-agent-props-input", 3, "value", "mj-agent-props-input--error"], [1, "mj-agent-props-error"], ["type", "text", "placeholder", "payload", 1, "mj-agent-props-input", 3, "value"], [1, "mj-agent-props-questions-header"], [1, "mj-agent-props-questions-label"], ["type", "button", 1, "mj-agent-props-btn", "mj-agent-props-btn--sm"], [1, "mj-agent-props-questions-list"], [1, "mj-agent-props-question-card"], ["Variant", "error", "Size", "sm", "Title", "This step cannot run", 1, "mj-agent-props-run-problems", 3, "Message"], ["type", "text", "placeholder", "e.g. triage", 1, "mj-agent-props-input", 3, "input", "change", "keydown.enter", "value"], ["type", "text", "placeholder", "payload", 1, "mj-agent-props-input", 3, "input", "value"], ["type", "button", 1, "mj-agent-props-btn", "mj-agent-props-btn--sm", 3, "click"], [1, "fa-solid", "fa-plus"], [1, "mj-agent-props-question-card-header"], [1, "mj-agent-props-question-card-title"], [1, "fa-solid", "fa-question-circle"], [1, "mj-agent-props-question-kind-badge"], ["type", "button", "title", "Remove Question", 1, "mj-agent-props-icon-btn", "mj-agent-props-icon-btn--danger"], [1, "mj-agent-props-question-card-body"], ["type", "text", 1, "mj-agent-props-input", 3, "value", "mj-agent-props-input--error"], ["rows", "2", "placeholder", "Full sentence instructions for the model...", 1, "mj-agent-props-input", "mj-agent-props-textarea", 3, "value"], ["type", "number", "min", "0", "max", "1", "step", "0.05", "placeholder", "e.g. 0.8", 1, "mj-agent-props-input", 3, "value"], [1, "mj-agent-props-options-section"], [1, "mj-agent-props-levels-section"], ["type", "button", "title", "Remove Question", 1, "mj-agent-props-icon-btn", "mj-agent-props-icon-btn--danger", 3, "click"], [1, "fa-solid", "fa-trash"], ["type", "text", 1, "mj-agent-props-input", 3, "change", "keydown.enter", "value"], ["value", "Likelihood"], ["value", "Choice"], ["value", "Score"], ["rows", "2", "placeholder", "Full sentence instructions for the model...", 1, "mj-agent-props-input", "mj-agent-props-textarea", 3, "input", "value"], ["type", "number", "min", "0", "max", "1", "step", "0.05", "placeholder", "e.g. 0.8", 1, "mj-agent-props-input", 3, "input", "value"], [1, "mj-agent-props-options-header"], ["type", "button", 1, "mj-agent-props-btn", "mj-agent-props-btn--xs"], [1, "mj-agent-props-coverage-hint"], [1, "fa-solid", "fa-code-fork"], [1, "mj-agent-props-option-row"], ["type", "text", "placeholder", "Value (e.g. billing)", 1, "mj-agent-props-input", "mj-agent-props-input--sm", 3, "change", "keydown.enter", "value", "readonly"], ["type", "text", "placeholder", "Description for model...", 1, "mj-agent-props-input", "mj-agent-props-input--sm", 3, "input", "value", "readonly"], ["type", "button", "title", "Remove Option", 1, "mj-agent-props-icon-btn", "mj-agent-props-icon-btn--danger"], ["type", "button", "title", "Remove Option", 1, "mj-agent-props-icon-btn", "mj-agent-props-icon-btn--danger", 3, "click"], [1, "mj-agent-props-level-row"], [1, "mj-agent-props-level-badge"], ["type", "text", "placeholder", "Description for level...", 1, "mj-agent-props-input", "mj-agent-props-input--sm", 3, "input", "value", "readonly"], ["type", "button", "title", "Move Up", 1, "mj-agent-props-icon-btn", 3, "click", "disabled"], [1, "fa-solid", "fa-arrow-up"], ["type", "button", "title", "Move Down", 1, "mj-agent-props-icon-btn", 3, "click", "disabled"], [1, "fa-solid", "fa-arrow-down"], ["type", "button", "title", "Remove Level", 1, "mj-agent-props-icon-btn", "mj-agent-props-icon-btn--danger", 3, "click"], ["language", "json", "setup", "minimal", "placeholder", "Enter JSON input mapping...", 3, "change", "value", "readonly", "lineWrapping"], ["language", "json", "setup", "minimal", "placeholder", "Enter JSON output mapping...", 3, "change", "value", "readonly", "lineWrapping"], [1, "mj-agent-props-var-pills"], ["type", "button", 1, "mj-agent-props-var-pill", 3, "title"], ["type", "button", 1, "mj-agent-props-var-pill", 3, "click", "title"], ["type", "number", "min", "1", 1, "mj-agent-props-input", 3, "value"], ["value", "fail"], ["value", "continue"], ["value", "retry"], ["type", "number", "min", "0", "max", "10", 1, "mj-agent-props-input", 3, "value"], ["type", "number", "min", "0", "max", "10", 1, "mj-agent-props-input", 3, "input", "value"], ["type", "number", "min", "1", 1, "mj-agent-props-input", 3, "input", "value"], ["value", "EscalateToHumanTask"], ["value", "HaltSaga"], ["value", "ContinueCompensation"], [1, "mj-agent-props-delete-btn", 3, "click"], [1, "fa-solid", "fa-trash-can"], [1, "mj-agent-props-header", "mj-agent-props-header--path"], [1, "mj-agent-props-identity-icon", "mj-agent-props-identity-icon--path"], [1, "fa-solid", "fa-arrow-right"], [1, "mj-agent-props-path-route"], [1, "mj-agent-props-path-step-name"], [1, "fa-solid", "fa-arrow-right", "mj-agent-props-path-arrow"], [1, "mj-agent-props-priority-badge"], [1, "mj-agent-props-readonly-value", "mj-agent-props-readonly-value--muted"], ["type", "text", "placeholder", "Path label...", 1, "mj-agent-props-input", 3, "value"], ["language", "javascript", "setup", "minimal", "placeholder", "e.g. payload.status === 'active'", 3, "value", "readonly", "lineWrapping"], ["language", "javascript", "setup", "minimal", 3, "value", "readonly", "lineWrapping"], ["Variant", "warning", "Size", "sm", "Title", "This condition would stop the flow", 1, "mj-agent-props-run-problems"], [1, "mj-agent-props-route-helper"], ["type", "number", "min", "-100", "max", "100", 1, "mj-agent-props-input", 3, "value"], ["type", "text", "placeholder", "Path label...", 1, "mj-agent-props-input", 3, "input", "value"], ["language", "javascript", "setup", "minimal", "placeholder", "e.g. payload.status === 'active'", 3, "change", "value", "readonly", "lineWrapping"], [1, "mj-agent-props-route-helper-header"], [1, "mj-agent-props-route-helper-title"], [1, "fa-solid", "fa-wand-magic-sparkles"], ["type", "button", 1, "mj-agent-props-btn", "mj-agent-props-btn--secondary", 3, "disabled"], ["type", "number", "min", "0", "max", "1", "step", "0.05", 1, "mj-agent-props-input", 3, "input", "value"], ["type", "button", 1, "mj-agent-props-btn", "mj-agent-props-btn--secondary", 3, "click", "disabled"], [1, "fa-solid", "fa-code"], ["type", "number", "min", "-100", "max", "100", 1, "mj-agent-props-input", 3, "input", "value"]], template: function AgentPropertiesPanelComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2570
3288
|
i0.ɵɵelementStart(0, "div", 0);
|
|
2571
3289
|
i0.ɵɵconditionalCreate(1, AgentPropertiesPanelComponent_Conditional_1_Template, 1, 0, "mj-empty-state", 1);
|
|
2572
3290
|
i0.ɵɵconditionalCreate(2, AgentPropertiesPanelComponent_Conditional_2_Template, 32, 24);
|
|
@@ -2579,11 +3297,11 @@ export class AgentPropertiesPanelComponent {
|
|
|
2579
3297
|
i0.ɵɵconditional(ctx.isStepSelected ? 2 : -1);
|
|
2580
3298
|
i0.ɵɵadvance();
|
|
2581
3299
|
i0.ɵɵconditional(ctx.isConnectionSelected ? 3 : -1);
|
|
2582
|
-
} }, dependencies: [i1.NgClass, i2.NgSelectOption, i2.ɵNgSelectMultipleOption, i3.CodeEditorComponent, i4.MJEmptyStateComponent, i4.MJAlertComponent, i4.MJAccordionPanelComponent, i4.MJAccordionTitleDirective, i4.MJAccordionBodyDirective], styles: ["/* ============================================================\n Agent Properties Panel \u2014 Step/Connection configuration\n ============================================================ */\n\n.mj-agent-props {\n display: flex;\n flex-direction: column;\n height: 100%;\n background: var(--mj-bg-surface);\n overflow: hidden;\n box-sizing: border-box;\n}\n\n.mj-agent-props *,\n.mj-agent-props *::before,\n.mj-agent-props *::after {\n box-sizing: border-box;\n}\n\n/* \u2500\u2500 Header \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.mj-agent-props-header {\n flex-shrink: 0;\n padding: 12px 14px;\n border-bottom: 1px solid var(--mj-bg-surface-sunken);\n border-left: 3px solid transparent;\n}\n\n.mj-agent-props-header-top {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-bottom: 10px;\n}\n\n.mj-agent-props-header-label {\n font-size: 10px;\n font-weight: 700;\n letter-spacing: 1.2px;\n text-transform: uppercase;\n color: var(--mj-text-disabled);\n}\n\n.mj-agent-props-close {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 26px;\n height: 26px;\n border: none;\n border-radius: var(--mj-radius-md);\n background: transparent;\n color: var(--mj-text-disabled);\n cursor: pointer;\n font-size: var(--mj-text-xs);\n transition: all 0.15s ease;\n}\n\n.mj-agent-props-close:hover { background: var(--mj-bg-surface-sunken); color: var(--mj-text-secondary); }\n\n/* \u2500\u2500 Identity Card \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.mj-agent-props-identity {\n display: flex;\n align-items: flex-start;\n gap: 10px;\n}\n\n.mj-agent-props-identity-icon {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 32px;\n height: 32px;\n min-width: 32px;\n border-radius: var(--mj-radius-md);\n color: white;\n font-size: var(--mj-text-sm);\n flex-shrink: 0;\n}\n\n.mj-agent-props-identity-icon--path {\n border-radius: var(--mj-radius-full);\n width: 28px;\n height: 28px;\n min-width: 28px;\n font-size: 11px;\n}\n\n.mj-agent-props-identity-info {\n display: flex;\n flex-direction: column;\n gap: 4px;\n min-width: 0;\n}\n\n.mj-agent-props-identity-name {\n font-size: var(--mj-text-sm);\n font-weight: 600;\n color: var(--mj-text-primary);\n line-height: 1.3;\n word-break: break-word;\n}\n\n.mj-agent-props-identity-meta {\n display: flex;\n align-items: center;\n gap: 6px;\n flex-wrap: wrap;\n}\n\n.mj-agent-props-type-pill {\n display: inline-flex;\n align-items: center;\n font-size: 11px;\n font-weight: 600;\n padding: 1px 7px;\n border-radius: var(--mj-radius-sm);\n line-height: 1.6;\n}\n\n.mj-agent-props-status-dot {\n display: inline-block;\n width: 7px;\n height: 7px;\n border-radius: var(--mj-radius-full);\n flex-shrink: 0;\n}\n\n.mj-agent-props-status-label {\n font-size: 11px;\n color: var(--mj-text-muted);\n}\n\n.mj-agent-props-start-badge {\n display: inline-flex;\n align-items: center;\n font-size: 10px;\n font-weight: 600;\n color: #059669;\n background: #ecfdf5;\n padding: 1px 6px;\n border-radius: var(--mj-radius-sm);\n letter-spacing: 0.2px;\n}\n\n.mj-agent-props-priority-badge {\n font-size: 11px;\n color: var(--mj-text-muted);\n font-weight: 500;\n}\n\n/* \u2500\u2500 Path Route Display \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.mj-agent-props-path-route {\n display: flex;\n align-items: center;\n gap: 6px;\n font-size: var(--mj-text-sm);\n font-weight: 600;\n color: var(--mj-text-primary);\n line-height: 1.3;\n flex-wrap: wrap;\n}\n\n.mj-agent-props-path-step-name {\n max-width: 100px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.mj-agent-props-path-arrow {\n font-size: 10px;\n color: var(--mj-text-disabled);\n flex-shrink: 0;\n}\n\n/* \u2500\u2500 Empty State \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.mj-agent-props-empty {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n padding: 40px 20px;\n text-align: center;\n flex: 1;\n}\n\n.mj-agent-props-empty i { font-size: 28px; color: var(--mj-border-strong); margin-bottom: 12px; }\n.mj-agent-props-empty p { font-size: var(--mj-text-sm); color: var(--mj-text-disabled); margin: 0; }\n\n/* \u2500\u2500 Scrollable Content \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.mj-agent-props-content {\n flex: 1;\n overflow-y: auto;\n padding-bottom: 16px;\n}\n\n/* \u2500\u2500 Sections \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.mj-agent-props-section {\n border-bottom: 1px solid var(--mj-bg-surface-sunken);\n}\n\n.mj-agent-props-section:last-child { border-bottom: none; }\n\n/* Section headers are now <mj-accordion-panel>; the bespoke section-header /\n section-title chrome was removed so the accordion owns the title styling. */\n.mj-agent-props-section-body {\n padding: 12px 14px;\n}\n\n/* \u2500\u2500 Fields \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.mj-agent-props-field {\n margin-bottom: 12px;\n}\n\n.mj-agent-props-field label {\n display: block;\n font-size: var(--mj-text-xs);\n font-weight: 500;\n color: var(--mj-text-secondary);\n margin-bottom: 4px;\n}\n\n.mj-agent-props-field--row {\n display: flex;\n align-items: center;\n}\n\n.mj-agent-props-input {\n width: 100%;\n padding: 6px 10px;\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-md);\n font-size: var(--mj-text-sm);\n color: var(--mj-text-primary);\n background: var(--mj-bg-surface);\n transition: border-color 0.15s ease;\n outline: none;\n font-family: inherit;\n}\n\n.mj-agent-props-input:focus { border-color: var(--mj-brand-primary); }\n.mj-agent-props-input:focus-visible { box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.15); }\n\n/* Select dropdown with consistent cross-browser styling */\nselect.mj-agent-props-input {\n appearance: none;\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E\");\n background-repeat: no-repeat;\n background-position: right 8px center;\n padding-right: 28px;\n cursor: pointer;\n}\n\n.mj-agent-props-textarea {\n resize: vertical;\n min-height: 48px;\n}\n\n.mj-agent-props-checkbox-label {\n display: flex !important;\n align-items: center;\n gap: 8px;\n font-size: var(--mj-text-sm);\n color: var(--mj-text-secondary);\n cursor: pointer;\n}\n\n.mj-agent-props-checkbox-label input[type=\"checkbox\"] {\n width: 16px;\n height: 16px;\n accent-color: var(--mj-brand-primary);\n cursor: pointer;\n}\n\n/* \u2500\u2500 Read-only Values \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.mj-agent-props-readonly-value {\n display: flex;\n align-items: center;\n gap: 6px;\n font-size: var(--mj-text-sm);\n color: var(--mj-text-primary);\n background: var(--mj-bg-page);\n border: 1px solid var(--mj-bg-surface-sunken);\n border-radius: var(--mj-radius-md);\n padding: 6px 10px;\n min-height: 34px;\n word-break: break-word;\n}\n\n.mj-agent-props-readonly-value--muted {\n color: var(--mj-text-muted);\n font-style: italic;\n}\n\n/* \u2500\u2500 Code Editor in Panel \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.mj-agent-props-field mj-code-editor {\n display: block;\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-md);\n overflow: hidden;\n min-height: 60px;\n max-height: 200px;\n}\n\n.mj-agent-props-field mj-code-editor .cm-editor {\n font-size: var(--mj-text-xs);\n}\n\n/* \u2500\u2500 Hints \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.mj-agent-props-hint {\n display: block;\n font-size: 11px;\n color: var(--mj-text-disabled);\n margin-top: 3px;\n}\n\n/* \u2500\u2500 Danger Zone \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.mj-agent-props-danger {\n padding: 12px 14px;\n}\n\n.mj-agent-props-delete-btn {\n width: 100%;\n padding: 8px 12px;\n border: 1px solid color-mix(in srgb, var(--mj-status-error) 30%, transparent);\n border-radius: var(--mj-radius-md);\n background: var(--mj-status-error-bg);\n color: var(--mj-status-error);\n font-size: var(--mj-text-sm);\n font-weight: 500;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 6px;\n transition: all 0.15s ease;\n}\n\n.mj-agent-props-delete-btn:hover {\n background: color-mix(in srgb, var(--mj-status-error) 16%, var(--mj-bg-surface));\n border-color: var(--mj-status-error-border);\n}\n\n.mj-agent-props-delete-btn i { font-size: var(--mj-text-xs); }\n\n/* \u2500\u2500 Decision Step & Route Helper \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.mj-agent-props-required {\n color: var(--mj-status-error);\n}\n\n.mj-agent-props-input--error {\n border-color: var(--mj-status-error);\n}\n\n.mj-agent-props-error {\n display: block;\n font-size: 11px;\n color: var(--mj-status-error);\n margin-top: 3px;\n}\n\n.mj-agent-props-textarea {\n resize: vertical;\n min-height: 52px;\n font-family: inherit;\n line-height: 1.4;\n}\n\n.mj-agent-props-questions-header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-top: 14px;\n margin-bottom: 8px;\n}\n\n.mj-agent-props-questions-label {\n font-size: var(--mj-text-xs);\n font-weight: 600;\n color: var(--mj-text-secondary);\n text-transform: uppercase;\n letter-spacing: 0.5px;\n}\n\n.mj-agent-props-questions-list {\n display: flex;\n flex-direction: column;\n gap: 10px;\n margin-bottom: 12px;\n}\n\n.mj-agent-props-question-card {\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-md);\n background: var(--mj-bg-surface);\n overflow: hidden;\n}\n\n.mj-agent-props-question-card-header {\n display: flex;\n align-items: center;\n gap: 8px;\n padding: 6px 10px;\n background: var(--mj-bg-surface-sunken);\n border-bottom: 1px solid var(--mj-border-subtle);\n}\n\n.mj-agent-props-question-card-title {\n display: flex;\n align-items: center;\n gap: 6px;\n font-size: var(--mj-text-xs);\n font-weight: 600;\n color: var(--mj-text-primary);\n flex: 1;\n min-width: 0;\n}\n\n.mj-agent-props-question-card-title code {\n font-size: 11px;\n color: var(--mj-text-primary);\n background: var(--mj-bg-surface);\n padding: 1px 4px;\n border-radius: var(--mj-radius-sm);\n border: 1px solid var(--mj-border-subtle);\n}\n\n.mj-agent-props-question-kind-badge {\n font-size: 10px;\n font-weight: 600;\n padding: 2px 6px;\n border-radius: var(--mj-radius-sm);\n background: var(--mj-bg-surface);\n color: var(--mj-text-secondary);\n border: 1px solid var(--mj-border-subtle);\n}\n\n.mj-agent-props-question-card-body {\n padding: 10px;\n display: flex;\n flex-direction: column;\n gap: 8px;\n}\n\n.mj-agent-props-options-section,\n.mj-agent-props-levels-section {\n border-top: 1px solid var(--mj-border-subtle);\n padding-top: 8px;\n display: flex;\n flex-direction: column;\n gap: 6px;\n}\n\n.mj-agent-props-options-header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n font-size: 11px;\n font-weight: 600;\n color: var(--mj-text-secondary);\n}\n\n.mj-agent-props-option-row,\n.mj-agent-props-level-row {\n display: flex;\n align-items: center;\n gap: 6px;\n}\n\n.mj-agent-props-level-badge {\n font-size: 11px;\n font-weight: 700;\n width: 18px;\n text-align: center;\n color: var(--mj-text-secondary);\n flex-shrink: 0;\n}\n\n.mj-agent-props-input--sm {\n height: 28px;\n font-size: var(--mj-text-xs);\n padding: 4px 8px;\n}\n\n.mj-agent-props-btn {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n gap: 6px;\n border-radius: var(--mj-radius-md);\n font-weight: 500;\n cursor: pointer;\n transition: all 0.15s ease;\n border: 1px solid var(--mj-border-default);\n background: var(--mj-bg-surface);\n color: var(--mj-text-primary);\n}\n\n.mj-agent-props-btn:hover:not(:disabled) {\n background: var(--mj-bg-surface-sunken);\n}\n\n.mj-agent-props-btn:disabled {\n opacity: 0.5;\n cursor: not-allowed;\n}\n\n.mj-agent-props-btn--sm {\n height: 26px;\n padding: 2px 8px;\n font-size: var(--mj-text-xs);\n}\n\n.mj-agent-props-btn--xs {\n height: 22px;\n padding: 1px 6px;\n font-size: 11px;\n}\n\n.mj-agent-props-btn--secondary {\n background: var(--mj-bg-surface);\n border-color: var(--mj-border-default);\n font-size: var(--mj-text-xs);\n padding: 6px 12px;\n width: 100%;\n margin-top: 4px;\n}\n\n.mj-agent-props-btn--secondary:hover:not(:disabled) {\n background: var(--mj-bg-surface-sunken);\n}\n\n.mj-agent-props-icon-btn {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 24px;\n height: 24px;\n border: 1px solid var(--mj-border-subtle);\n border-radius: var(--mj-radius-sm);\n background: transparent;\n color: var(--mj-text-secondary);\n cursor: pointer;\n flex-shrink: 0;\n}\n\n.mj-agent-props-icon-btn:hover:not(:disabled) {\n background: var(--mj-bg-surface-sunken);\n color: var(--mj-text-primary);\n}\n\n.mj-agent-props-icon-btn:disabled {\n opacity: 0.4;\n cursor: not-allowed;\n}\n\n.mj-agent-props-icon-btn--danger {\n color: var(--mj-status-error);\n}\n\n.mj-agent-props-icon-btn--danger:hover:not(:disabled) {\n background: var(--mj-status-error-bg);\n}\n\n.mj-agent-props-coverage-hint {\n display: flex;\n align-items: center;\n gap: 6px;\n font-size: 11px;\n color: var(--mj-text-secondary);\n padding: 4px 6px;\n background: var(--mj-bg-surface-sunken);\n border-radius: var(--mj-radius-sm);\n margin-top: 2px;\n}\n\n.mj-agent-props-coverage-hint i {\n font-size: 11px;\n color: var(--mj-text-disabled);\n}\n\n.mj-agent-props-run-problems {\n display: flex;\n margin: 10px 0 0;\n}\n\n.mj-agent-props-content > .mj-agent-props-run-problems {\n margin: 10px 14px;\n}\n\n.mj-agent-props-run-problems-list {\n margin: 4px 0 0;\n padding-inline-start: 1.1rem;\n word-break: break-word;\n}\n\n.mj-agent-props-route-helper {\n margin-top: 10px;\n padding: 10px;\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-md);\n background: var(--mj-bg-surface-sunken);\n display: flex;\n flex-direction: column;\n gap: 8px;\n}\n\n.mj-agent-props-route-helper-header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n\n.mj-agent-props-route-helper-title {\n display: flex;\n align-items: center;\n gap: 6px;\n font-size: var(--mj-text-xs);\n font-weight: 600;\n color: var(--mj-text-primary);\n text-transform: uppercase;\n letter-spacing: 0.5px;\n}\n"], encapsulation: 2 });
|
|
3300
|
+
} }, dependencies: [i1.NgClass, i2.NgSelectOption, i2.ɵNgSelectMultipleOption, i3.CodeEditorComponent, i4.MJEmptyStateComponent, i4.MJAlertComponent, i4.MJAccordionPanelComponent, i4.MJAccordionTitleDirective, i4.MJAccordionBodyDirective], styles: ["/* ============================================================\n Agent Properties Panel \u2014 Step/Connection configuration\n ============================================================ */\n\n.mj-agent-props {\n display: flex;\n flex-direction: column;\n height: 100%;\n background: var(--mj-bg-surface);\n overflow: hidden;\n box-sizing: border-box;\n}\n\n.mj-agent-props *,\n.mj-agent-props *::before,\n.mj-agent-props *::after {\n box-sizing: border-box;\n}\n\n/* \u2500\u2500 Header \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.mj-agent-props-header {\n flex-shrink: 0;\n padding: 12px 14px;\n border-bottom: 1px solid var(--mj-bg-surface-sunken);\n border-left: 3px solid transparent;\n}\n\n.mj-agent-props-header-top {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-bottom: 10px;\n}\n\n.mj-agent-props-header-label {\n font-size: 10px;\n font-weight: 700;\n letter-spacing: 1.2px;\n text-transform: uppercase;\n color: var(--mj-text-disabled);\n}\n\n.mj-agent-props-close {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 26px;\n height: 26px;\n border: none;\n border-radius: var(--mj-radius-md);\n background: transparent;\n color: var(--mj-text-disabled);\n cursor: pointer;\n font-size: var(--mj-text-xs);\n transition: all 0.15s ease;\n}\n\n.mj-agent-props-close:hover { background: var(--mj-bg-surface-sunken); color: var(--mj-text-secondary); }\n\n/* \u2500\u2500 Identity Card \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.mj-agent-props-identity {\n display: flex;\n align-items: flex-start;\n gap: 10px;\n}\n\n.mj-agent-props-identity-icon {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 32px;\n height: 32px;\n min-width: 32px;\n border-radius: var(--mj-radius-md);\n color: white;\n font-size: var(--mj-text-sm);\n flex-shrink: 0;\n}\n\n.mj-agent-props-identity-icon--path {\n border-radius: var(--mj-radius-full);\n width: 28px;\n height: 28px;\n min-width: 28px;\n font-size: 11px;\n}\n\n.mj-agent-props-identity-info {\n display: flex;\n flex-direction: column;\n gap: 4px;\n min-width: 0;\n}\n\n.mj-agent-props-identity-name {\n font-size: var(--mj-text-sm);\n font-weight: 600;\n color: var(--mj-text-primary);\n line-height: 1.3;\n word-break: break-word;\n}\n\n.mj-agent-props-identity-meta {\n display: flex;\n align-items: center;\n gap: 6px;\n flex-wrap: wrap;\n}\n\n.mj-agent-props-type-pill {\n display: inline-flex;\n align-items: center;\n font-size: 11px;\n font-weight: 600;\n padding: 1px 7px;\n border-radius: var(--mj-radius-sm);\n line-height: 1.6;\n}\n\n.mj-agent-props-status-dot {\n display: inline-block;\n width: 7px;\n height: 7px;\n border-radius: var(--mj-radius-full);\n flex-shrink: 0;\n}\n\n.mj-agent-props-status-label {\n font-size: 11px;\n color: var(--mj-text-muted);\n}\n\n.mj-agent-props-start-badge {\n display: inline-flex;\n align-items: center;\n font-size: 10px;\n font-weight: 600;\n color: var(--mj-status-success-text);\n background: var(--mj-status-success-bg);\n padding: 1px 6px;\n border-radius: var(--mj-radius-sm);\n letter-spacing: 0.2px;\n}\n\n.mj-agent-props-picker-search {\n margin-bottom: 5px;\n font-size: var(--mj-text-xs);\n padding: 5px 8px;\n}\n\n.mj-agent-props-loop-grid {\n display: grid;\n grid-template-columns: 1fr 1fr;\n gap: 8px;\n}\n\n.mj-agent-props-var-pills {\n display: flex;\n flex-wrap: wrap;\n gap: 5px;\n}\n\n.mj-agent-props-var-pill {\n border: 1px solid color-mix(in srgb, var(--mj-brand-primary) 32%, transparent);\n background: color-mix(in srgb, var(--mj-brand-primary) 10%, var(--mj-bg-surface));\n color: var(--mj-brand-primary);\n border-radius: var(--mj-radius-sm);\n padding: 2px 7px;\n font-family: var(--mj-font-family-mono);\n font-size: 11px;\n cursor: pointer;\n transition: background-color var(--mj-transition-fast), color var(--mj-transition-fast);\n}\n\n.mj-agent-props-var-pill:hover {\n background: var(--mj-brand-primary);\n color: var(--mj-brand-on-primary);\n}\n\n.mj-agent-props-priority-badge {\n font-size: 11px;\n color: var(--mj-text-muted);\n font-weight: 500;\n}\n\n/* \u2500\u2500 Path Route Display \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.mj-agent-props-path-route {\n display: flex;\n align-items: center;\n gap: 6px;\n font-size: var(--mj-text-sm);\n font-weight: 600;\n color: var(--mj-text-primary);\n line-height: 1.3;\n flex-wrap: wrap;\n}\n\n.mj-agent-props-path-step-name {\n max-width: 100px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.mj-agent-props-path-arrow {\n font-size: 10px;\n color: var(--mj-text-disabled);\n flex-shrink: 0;\n}\n\n/* \u2500\u2500 Empty State \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.mj-agent-props-empty {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n padding: 40px 20px;\n text-align: center;\n flex: 1;\n}\n\n.mj-agent-props-empty i { font-size: 28px; color: var(--mj-border-strong); margin-bottom: 12px; }\n.mj-agent-props-empty p { font-size: var(--mj-text-sm); color: var(--mj-text-disabled); margin: 0; }\n\n/* \u2500\u2500 Scrollable Content \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.mj-agent-props-content {\n flex: 1;\n overflow-y: auto;\n padding-bottom: 16px;\n}\n\n/* \u2500\u2500 Sections \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.mj-agent-props-section {\n border-bottom: 1px solid var(--mj-bg-surface-sunken);\n}\n\n.mj-agent-props-section:last-child { border-bottom: none; }\n\n/* Section headers are now <mj-accordion-panel>; the bespoke section-header /\n section-title chrome was removed so the accordion owns the title styling. */\n.mj-agent-props-section-body {\n padding: 12px 14px;\n}\n\n/* \u2500\u2500 Fields \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.mj-agent-props-field {\n margin-bottom: 12px;\n}\n\n.mj-agent-props-field label {\n display: block;\n font-size: var(--mj-text-xs);\n font-weight: 500;\n color: var(--mj-text-secondary);\n margin-bottom: 4px;\n}\n\n.mj-agent-props-field--row {\n display: flex;\n align-items: center;\n}\n\n.mj-agent-props-input {\n width: 100%;\n padding: 6px 10px;\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-md);\n font-size: var(--mj-text-sm);\n color: var(--mj-text-primary);\n background: var(--mj-bg-surface);\n transition: border-color 0.15s ease;\n outline: none;\n font-family: inherit;\n}\n\n.mj-agent-props-input:focus { border-color: var(--mj-brand-primary); }\n.mj-agent-props-input:focus-visible { box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.15); }\n\n/* Select dropdown with consistent cross-browser styling */\nselect.mj-agent-props-input {\n appearance: none;\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E\");\n background-repeat: no-repeat;\n background-position: right 8px center;\n padding-right: 28px;\n cursor: pointer;\n}\n\n.mj-agent-props-textarea {\n resize: vertical;\n min-height: 48px;\n}\n\n.mj-agent-props-checkbox-label {\n display: flex !important;\n align-items: center;\n gap: 8px;\n font-size: var(--mj-text-sm);\n color: var(--mj-text-secondary);\n cursor: pointer;\n}\n\n.mj-agent-props-checkbox-label input[type=\"checkbox\"] {\n width: 16px;\n height: 16px;\n accent-color: var(--mj-brand-primary);\n cursor: pointer;\n}\n\n/* \u2500\u2500 Read-only Values \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.mj-agent-props-readonly-value {\n display: flex;\n align-items: center;\n gap: 6px;\n font-size: var(--mj-text-sm);\n color: var(--mj-text-primary);\n background: var(--mj-bg-page);\n border: 1px solid var(--mj-bg-surface-sunken);\n border-radius: var(--mj-radius-md);\n padding: 6px 10px;\n min-height: 34px;\n word-break: break-word;\n}\n\n.mj-agent-props-readonly-value--muted {\n color: var(--mj-text-muted);\n font-style: italic;\n}\n\n/* \u2500\u2500 Code Editor in Panel \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.mj-agent-props-field mj-code-editor {\n display: block;\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-md);\n overflow: hidden;\n min-height: 60px;\n max-height: 200px;\n}\n\n.mj-agent-props-field mj-code-editor .cm-editor {\n font-size: var(--mj-text-xs);\n}\n\n/* \u2500\u2500 Hints \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.mj-agent-props-hint {\n display: block;\n font-size: 11px;\n color: var(--mj-text-disabled);\n margin-top: 3px;\n}\n\n/* \u2500\u2500 Danger Zone \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.mj-agent-props-danger {\n padding: 12px 14px;\n}\n\n.mj-agent-props-delete-btn {\n width: 100%;\n padding: 8px 12px;\n border: 1px solid color-mix(in srgb, var(--mj-status-error) 30%, transparent);\n border-radius: var(--mj-radius-md);\n background: var(--mj-status-error-bg);\n color: var(--mj-status-error);\n font-size: var(--mj-text-sm);\n font-weight: 500;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 6px;\n transition: all 0.15s ease;\n}\n\n.mj-agent-props-delete-btn:hover {\n background: color-mix(in srgb, var(--mj-status-error) 16%, var(--mj-bg-surface));\n border-color: var(--mj-status-error-border);\n}\n\n.mj-agent-props-delete-btn i { font-size: var(--mj-text-xs); }\n\n/* \u2500\u2500 Decision Step & Route Helper \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.mj-agent-props-required {\n color: var(--mj-status-error);\n}\n\n.mj-agent-props-input--error {\n border-color: var(--mj-status-error);\n}\n\n.mj-agent-props-error {\n display: block;\n font-size: 11px;\n color: var(--mj-status-error);\n margin-top: 3px;\n}\n\n.mj-agent-props-textarea {\n resize: vertical;\n min-height: 52px;\n font-family: inherit;\n line-height: 1.4;\n}\n\n.mj-agent-props-questions-header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-top: 14px;\n margin-bottom: 8px;\n}\n\n.mj-agent-props-questions-label {\n font-size: var(--mj-text-xs);\n font-weight: 600;\n color: var(--mj-text-secondary);\n text-transform: uppercase;\n letter-spacing: 0.5px;\n}\n\n.mj-agent-props-questions-list {\n display: flex;\n flex-direction: column;\n gap: 10px;\n margin-bottom: 12px;\n}\n\n.mj-agent-props-question-card {\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-md);\n background: var(--mj-bg-surface);\n overflow: hidden;\n}\n\n.mj-agent-props-question-card-header {\n display: flex;\n align-items: center;\n gap: 8px;\n padding: 6px 10px;\n background: var(--mj-bg-surface-sunken);\n border-bottom: 1px solid var(--mj-border-subtle);\n}\n\n.mj-agent-props-question-card-title {\n display: flex;\n align-items: center;\n gap: 6px;\n font-size: var(--mj-text-xs);\n font-weight: 600;\n color: var(--mj-text-primary);\n flex: 1;\n min-width: 0;\n}\n\n.mj-agent-props-question-card-title code {\n font-size: 11px;\n color: var(--mj-text-primary);\n background: var(--mj-bg-surface);\n padding: 1px 4px;\n border-radius: var(--mj-radius-sm);\n border: 1px solid var(--mj-border-subtle);\n}\n\n.mj-agent-props-question-kind-badge {\n font-size: 10px;\n font-weight: 600;\n padding: 2px 6px;\n border-radius: var(--mj-radius-sm);\n background: var(--mj-bg-surface);\n color: var(--mj-text-secondary);\n border: 1px solid var(--mj-border-subtle);\n}\n\n.mj-agent-props-question-card-body {\n padding: 10px;\n display: flex;\n flex-direction: column;\n gap: 8px;\n}\n\n.mj-agent-props-options-section,\n.mj-agent-props-levels-section {\n border-top: 1px solid var(--mj-border-subtle);\n padding-top: 8px;\n display: flex;\n flex-direction: column;\n gap: 6px;\n}\n\n.mj-agent-props-options-header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n font-size: 11px;\n font-weight: 600;\n color: var(--mj-text-secondary);\n}\n\n.mj-agent-props-option-row,\n.mj-agent-props-level-row {\n display: flex;\n align-items: center;\n gap: 6px;\n}\n\n.mj-agent-props-level-badge {\n font-size: 11px;\n font-weight: 700;\n width: 18px;\n text-align: center;\n color: var(--mj-text-secondary);\n flex-shrink: 0;\n}\n\n.mj-agent-props-input--sm {\n height: 28px;\n font-size: var(--mj-text-xs);\n padding: 4px 8px;\n}\n\n.mj-agent-props-btn {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n gap: 6px;\n border-radius: var(--mj-radius-md);\n font-weight: 500;\n cursor: pointer;\n transition: all 0.15s ease;\n border: 1px solid var(--mj-border-default);\n background: var(--mj-bg-surface);\n color: var(--mj-text-primary);\n}\n\n.mj-agent-props-btn:hover:not(:disabled) {\n background: var(--mj-bg-surface-sunken);\n}\n\n.mj-agent-props-btn:disabled {\n opacity: 0.5;\n cursor: not-allowed;\n}\n\n.mj-agent-props-btn--sm {\n height: 26px;\n padding: 2px 8px;\n font-size: var(--mj-text-xs);\n}\n\n.mj-agent-props-btn--xs {\n height: 22px;\n padding: 1px 6px;\n font-size: 11px;\n}\n\n.mj-agent-props-btn--secondary {\n background: var(--mj-bg-surface);\n border-color: var(--mj-border-default);\n font-size: var(--mj-text-xs);\n padding: 6px 12px;\n width: 100%;\n margin-top: 4px;\n}\n\n.mj-agent-props-btn--secondary:hover:not(:disabled) {\n background: var(--mj-bg-surface-sunken);\n}\n\n.mj-agent-props-icon-btn {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 24px;\n height: 24px;\n border: 1px solid var(--mj-border-subtle);\n border-radius: var(--mj-radius-sm);\n background: transparent;\n color: var(--mj-text-secondary);\n cursor: pointer;\n flex-shrink: 0;\n}\n\n.mj-agent-props-icon-btn:hover:not(:disabled) {\n background: var(--mj-bg-surface-sunken);\n color: var(--mj-text-primary);\n}\n\n.mj-agent-props-icon-btn:disabled {\n opacity: 0.4;\n cursor: not-allowed;\n}\n\n.mj-agent-props-icon-btn--danger {\n color: var(--mj-status-error);\n}\n\n.mj-agent-props-icon-btn--danger:hover:not(:disabled) {\n background: var(--mj-status-error-bg);\n}\n\n.mj-agent-props-coverage-hint {\n display: flex;\n align-items: center;\n gap: 6px;\n font-size: 11px;\n color: var(--mj-text-secondary);\n padding: 4px 6px;\n background: var(--mj-bg-surface-sunken);\n border-radius: var(--mj-radius-sm);\n margin-top: 2px;\n}\n\n.mj-agent-props-coverage-hint i {\n font-size: 11px;\n color: var(--mj-text-disabled);\n}\n\n.mj-agent-props-run-problems {\n display: flex;\n margin: 10px 0 0;\n}\n\n.mj-agent-props-content > .mj-agent-props-run-problems {\n margin: 10px 14px;\n}\n\n.mj-agent-props-run-problems-list {\n margin: 4px 0 0;\n padding-inline-start: 1.1rem;\n word-break: break-word;\n}\n\n.mj-agent-props-route-helper {\n margin-top: 10px;\n padding: 10px;\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-md);\n background: var(--mj-bg-surface-sunken);\n display: flex;\n flex-direction: column;\n gap: 8px;\n}\n\n.mj-agent-props-route-helper-header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n\n.mj-agent-props-route-helper-title {\n display: flex;\n align-items: center;\n gap: 6px;\n font-size: var(--mj-text-xs);\n font-weight: 600;\n color: var(--mj-text-primary);\n text-transform: uppercase;\n letter-spacing: 0.5px;\n}\n"], encapsulation: 2 });
|
|
2583
3301
|
}
|
|
2584
3302
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AgentPropertiesPanelComponent, [{
|
|
2585
3303
|
type: Component,
|
|
2586
|
-
args: [{ standalone: false, selector: 'mj-agent-properties-panel', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.Default, template: "<div class=\"mj-agent-props\">\n\n <!-- Empty State -->\n @if (!isStepSelected && !isConnectionSelected) {\n <mj-empty-state class=\"mj-agent-props-empty\"\n Icon=\"fa-solid fa-arrow-pointer\"\n Title=\"No selection\"\n Message=\"Select a step or connection to view its properties\" />\n }\n\n <!-- ============================================ -->\n <!-- STEP PROPERTIES -->\n <!-- ============================================ -->\n @if (isStepSelected) {\n <!-- Step Header -->\n <div class=\"mj-agent-props-header mj-agent-props-header--step\"\n [style.border-left-color]=\"stepTypeColor\">\n <div class=\"mj-agent-props-header-top\">\n <span class=\"mj-agent-props-header-label\">STEP</span>\n <button class=\"mj-agent-props-close\" (click)=\"CloseRequested.emit()\" title=\"Close\">\n <i class=\"fa-solid fa-times\"></i>\n </button>\n </div>\n <!-- Identity card -->\n <div class=\"mj-agent-props-identity\">\n <div class=\"mj-agent-props-identity-icon\" [style.background]=\"stepTypeColor\">\n <i class=\"fa-solid\" [ngClass]=\"stepTypeIcon\"></i>\n </div>\n <div class=\"mj-agent-props-identity-info\">\n <span class=\"mj-agent-props-identity-name\">{{ Step!.Name }}</span>\n <span class=\"mj-agent-props-identity-meta\">\n <span class=\"mj-agent-props-type-pill\" [style.color]=\"stepTypeColor\"\n [style.background]=\"stepTypeColor + '18'\">{{ stepTypeLabel }}</span>\n <span class=\"mj-agent-props-status-dot\" [style.background]=\"statusColor\"></span>\n <span class=\"mj-agent-props-status-label\">{{ Step!.Status }}</span>\n @if (Step!.StartingStep) {\n <span class=\"mj-agent-props-start-badge\">Start</span>\n }\n </span>\n </div>\n </div>\n </div>\n <div class=\"mj-agent-props-content\">\n <!-- The flow run check's problems on this step (the runtime compiler's and validator's). -->\n @if (StepRunProblemMessages.length > 0) {\n <mj-alert class=\"mj-agent-props-run-problems\" Variant=\"warning\" Size=\"sm\" Title=\"This flow would not run\">\n <ul class=\"mj-agent-props-run-problems-list\">\n @for (message of StepRunProblemMessages; track $index) {\n <li>{{ message }}</li>\n }\n </ul>\n </mj-alert>\n }\n <!-- \u2500\u2500 General Section \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 -->\n <mj-accordion-panel class=\"mj-agent-props-accordion\" Size=\"sm\" [FlushBody]=\"true\" [Expanded]=\"!IsSectionCollapsed('general')\" (ExpandedChange)=\"ToggleSection('general')\">\n <ng-template mjAccordionTitle><span>General</span></ng-template>\n <ng-template mjAccordionBody>\n <div class=\"mj-agent-props-section-body\">\n <div class=\"mj-agent-props-field\">\n <label>Name</label>\n @if (!ReadOnly) {\n <input type=\"text\" [value]=\"Step!.Name\"\n (input)=\"OnNameChange(InputValue($event))\"\n placeholder=\"Step name...\" class=\"mj-agent-props-input\">\n }\n @if (ReadOnly) {\n <div class=\"mj-agent-props-readonly-value\">{{ Step!.Name }}</div>\n }\n </div>\n <div class=\"mj-agent-props-field\">\n <label>Description</label>\n @if (!ReadOnly) {\n <textarea [value]=\"Step!.Description || ''\"\n (input)=\"OnDescriptionChange(InputValue($event))\"\n placeholder=\"Optional description...\" rows=\"2\"\n class=\"mj-agent-props-input mj-agent-props-textarea\"></textarea>\n }\n @if (ReadOnly) {\n <div class=\"mj-agent-props-readonly-value\">\n {{ Step!.Description || '\u2014' }}\n </div>\n }\n </div>\n <div class=\"mj-agent-props-field\">\n <label>Status</label>\n @if (!ReadOnly) {\n <select [value]=\"Step!.Status\"\n (change)=\"OnStatusChange(InputValue($event))\"\n class=\"mj-agent-props-input\">\n <option value=\"Active\">Active</option>\n <option value=\"Disabled\">Disabled</option>\n <option value=\"Pending\">Pending</option>\n </select>\n }\n @if (ReadOnly) {\n <div class=\"mj-agent-props-readonly-value\">\n <span class=\"mj-agent-props-status-dot\" [style.background]=\"statusColor\"></span>\n {{ Step!.Status }}\n </div>\n }\n </div>\n @if (!ReadOnly) {\n <div class=\"mj-agent-props-field mj-agent-props-field--row\">\n <label class=\"mj-agent-props-checkbox-label\">\n <input type=\"checkbox\" [checked]=\"Step!.StartingStep\"\n (change)=\"OnStartingStepChange(CheckedValue($event))\">\n Starting Step\n </label>\n </div>\n }\n @if (ReadOnly && Step!.StartingStep) {\n <div class=\"mj-agent-props-field\">\n <label>Starting Step</label>\n <div class=\"mj-agent-props-readonly-value\">\n <span class=\"mj-agent-props-start-badge\">Yes \u2014 this is the entry point</span>\n </div>\n </div>\n }\n </div>\n </ng-template>\n </mj-accordion-panel>\n <!-- \u2500\u2500 Configuration Section \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 -->\n <mj-accordion-panel class=\"mj-agent-props-accordion\" Size=\"sm\" [FlushBody]=\"true\" [Expanded]=\"!IsSectionCollapsed('config')\" (ExpandedChange)=\"ToggleSection('config')\">\n <ng-template mjAccordionTitle><span>Configuration</span></ng-template>\n <ng-template mjAccordionBody>\n <div class=\"mj-agent-props-section-body\">\n <!-- Loop Body Type (ForEach / While) -->\n @if (showLoopConfig) {\n <div class=\"mj-agent-props-field\">\n <label>Loop Body Type</label>\n @if (!ReadOnly) {\n <select [value]=\"Step!.LoopBodyType || 'Action'\"\n (change)=\"OnLoopBodyTypeChange(InputValue($event))\"\n class=\"mj-agent-props-input\">\n <option value=\"Action\">Action</option>\n <option value=\"Prompt\">Prompt</option>\n <option value=\"Sub-Agent\">Sub-Agent</option>\n </select>\n }\n @if (ReadOnly) {\n <div class=\"mj-agent-props-readonly-value\">\n {{ Step!.LoopBodyType || 'Action' }}\n </div>\n }\n </div>\n }\n <!-- Action Picker -->\n @if (showActionPicker) {\n <div class=\"mj-agent-props-field\">\n <label>Action</label>\n @if (!ReadOnly) {\n <select [value]=\"Step!.ActionID || ''\"\n (change)=\"OnActionChange(InputValue($event))\"\n class=\"mj-agent-props-input\">\n <option value=\"\">-- Select Action --</option>\n @for (action of Actions; track action) {\n <option [value]=\"action.ID\">{{ action.Name }}</option>\n }\n </select>\n }\n @if (ReadOnly) {\n <div class=\"mj-agent-props-readonly-value\">{{ selectedActionName }}</div>\n }\n </div>\n }\n <!-- Prompt Picker -->\n @if (showPromptPicker) {\n <div class=\"mj-agent-props-field\">\n <label>Prompt</label>\n @if (!ReadOnly) {\n <select [value]=\"Step!.PromptID || ''\"\n (change)=\"OnPromptChange(InputValue($event))\"\n class=\"mj-agent-props-input\">\n <option value=\"\">-- Select Prompt --</option>\n @for (prompt of Prompts; track prompt) {\n <option [value]=\"prompt.ID\">{{ prompt.Name }}</option>\n }\n </select>\n }\n @if (ReadOnly) {\n <div class=\"mj-agent-props-readonly-value\">{{ selectedPromptName }}</div>\n }\n </div>\n }\n <!-- Sub-Agent Picker -->\n @if (showAgentPicker) {\n <div class=\"mj-agent-props-field\">\n <label>Sub-Agent</label>\n @if (!ReadOnly) {\n <select [value]=\"Step!.SubAgentID || ''\"\n (change)=\"OnSubAgentChange(InputValue($event))\"\n class=\"mj-agent-props-input\">\n <option value=\"\">-- Select Agent --</option>\n @for (agent of Agents; track agent) {\n <option [value]=\"agent.ID\">{{ agent.Name }}</option>\n }\n </select>\n }\n @if (ReadOnly) {\n <div class=\"mj-agent-props-readonly-value\">{{ selectedAgentName }}</div>\n }\n </div>\n }\n <!-- Loop Configuration (JSON) -->\n @if (showLoopConfig) {\n <div class=\"mj-agent-props-field\">\n <label>Loop Configuration</label>\n <mj-code-editor\n [value]=\"FormatJsonDisplay(Step!.Configuration)\"\n language=\"json\"\n [readonly]=\"ReadOnly\"\n setup=\"minimal\"\n [lineWrapping]=\"true\"\n (change)=\"OnConfigurationChange($any($event))\">\n </mj-code-editor>\n </div>\n }\n <!-- Decision Step Properties -->\n @if (ShowDecisionConfig) {\n <!-- Key -->\n <div class=\"mj-agent-props-field\">\n <label>Key <span class=\"mj-agent-props-required\">*</span></label>\n @if (!ReadOnly) {\n <!-- Typing only records the key; it is stored, and the paths that read it follow, on\n commit (blur or Enter). -->\n <input type=\"text\" [value]=\"DecisionKeyText\"\n (input)=\"OnDecisionKeyChange(InputValue($event))\"\n (change)=\"OnDecisionKeyCommit()\"\n (keydown.enter)=\"OnDecisionKeyCommit()\"\n placeholder=\"e.g. triage\" class=\"mj-agent-props-input\"\n [class.mj-agent-props-input--error]=\"!!DecisionKeyError\">\n }\n @if (ReadOnly) {\n <div class=\"mj-agent-props-readonly-value\">{{ DecisionConfig.key }}</div>\n }\n @if (DecisionKeyError) {\n <span class=\"mj-agent-props-error\">{{ DecisionKeyError }}</span>\n }\n <span class=\"mj-agent-props-hint\">Names the step in path conditions: decisions.<key>.<question></span>\n </div>\n\n <!-- Decision Prompt -->\n <div class=\"mj-agent-props-field\">\n <label>Decision Prompt</label>\n @if (!ReadOnly) {\n <select [value]=\"Step!.PromptID || ''\"\n (change)=\"OnDecisionPromptChange(InputValue($event))\"\n class=\"mj-agent-props-input\">\n <option value=\"\">Default Decision (system default)</option>\n @for (prompt of DecisionPrompts; track prompt.ID) {\n <option [value]=\"prompt.ID\">{{ prompt.Name }}</option>\n }\n </select>\n }\n @if (ReadOnly) {\n <div class=\"mj-agent-props-readonly-value\">{{ SelectedDecisionPromptName }}</div>\n }\n <span class=\"mj-agent-props-hint\">Optional prompt bound to the Decision model type.</span>\n </div>\n\n <!-- State -->\n <div class=\"mj-agent-props-field\">\n <label>State</label>\n @if (!ReadOnly) {\n <input type=\"text\" [value]=\"DecisionConfig.state ?? ''\"\n (input)=\"OnDecisionStateChange(InputValue($event))\"\n placeholder=\"payload\" class=\"mj-agent-props-input\">\n }\n @if (ReadOnly) {\n <div class=\"mj-agent-props-readonly-value\">{{ DecisionConfig.state || 'payload' }}</div>\n }\n <span class=\"mj-agent-props-hint\">What the questions are about: \"payload\" (default) or \"payload.<path>\"</span>\n </div>\n\n <!-- Questions List Header & Add Button -->\n <div class=\"mj-agent-props-questions-header\">\n <label class=\"mj-agent-props-questions-label\">\n Questions ({{ DecisionQuestionsList.length }})\n </label>\n @if (!ReadOnly) {\n <button type=\"button\" class=\"mj-agent-props-btn mj-agent-props-btn--sm\"\n (click)=\"OnAddDecisionQuestion()\">\n <i class=\"fa-solid fa-plus\"></i> Add Question\n </button>\n }\n </div>\n\n <!-- Questions List -->\n <div class=\"mj-agent-props-questions-list\">\n @for (item of DecisionQuestionsList; track item.key) {\n <div class=\"mj-agent-props-question-card\">\n <div class=\"mj-agent-props-question-card-header\">\n <span class=\"mj-agent-props-question-card-title\">\n <i class=\"fa-solid fa-question-circle\"></i>\n <code>{{ item.key }}</code>\n </span>\n <span class=\"mj-agent-props-question-kind-badge\">{{ item.question.kind }}</span>\n @if (!ReadOnly) {\n <button type=\"button\" class=\"mj-agent-props-icon-btn mj-agent-props-icon-btn--danger\"\n title=\"Remove Question\"\n (click)=\"OnRemoveDecisionQuestion(item.key)\">\n <i class=\"fa-solid fa-trash\"></i>\n </button>\n }\n </div>\n\n <div class=\"mj-agent-props-question-card-body\">\n <!-- Question Key -->\n <div class=\"mj-agent-props-field\">\n <label>Question Key</label>\n @if (!ReadOnly) {\n <input type=\"text\" [value]=\"item.key\"\n (change)=\"OnDecisionQuestionKeyChange(item.key, InputValue($event))\"\n (keydown.enter)=\"BlurTarget($event)\"\n class=\"mj-agent-props-input\"\n [class.mj-agent-props-input--error]=\"!!QuestionKeyError(item.key)\">\n }\n @if (ReadOnly) {\n <div class=\"mj-agent-props-readonly-value\">{{ item.key }}</div>\n }\n @if (QuestionKeyError(item.key); as keyError) {\n <span class=\"mj-agent-props-error\">{{ keyError }}</span>\n }\n </div>\n\n <!-- Question Kind -->\n <div class=\"mj-agent-props-field\">\n <label>Kind</label>\n @if (!ReadOnly) {\n <select [value]=\"item.question.kind\"\n (change)=\"OnDecisionQuestionKindSelect(item.key, InputValue($event))\"\n class=\"mj-agent-props-input\">\n <option value=\"Likelihood\">Likelihood (yes/no probability)</option>\n <option value=\"Choice\">Choice (pick one option)</option>\n <option value=\"Score\">Score (ordered rubric)</option>\n </select>\n }\n @if (ReadOnly) {\n <div class=\"mj-agent-props-readonly-value\">{{ item.question.kind }}</div>\n }\n </div>\n\n <!-- Instructions -->\n <div class=\"mj-agent-props-field\">\n <label>Instructions <span class=\"mj-agent-props-required\">*</span></label>\n @if (!ReadOnly) {\n <textarea [value]=\"item.question.instructions || ''\"\n (input)=\"OnDecisionQuestionInstructionsChange(item.key, InputValue($event))\"\n rows=\"2\" class=\"mj-agent-props-input mj-agent-props-textarea\"\n placeholder=\"Full sentence instructions for the model...\"></textarea>\n }\n @if (ReadOnly) {\n <div class=\"mj-agent-props-readonly-value\">{{ item.question.instructions || '\u2014' }}</div>\n }\n </div>\n\n <!-- Min Confidence -->\n <div class=\"mj-agent-props-field\">\n <label>Min Confidence (optional, 0..1)</label>\n @if (!ReadOnly) {\n <input type=\"number\" min=\"0\" max=\"1\" step=\"0.05\"\n [value]=\"item.question.minConfidence ?? ''\"\n (input)=\"OnDecisionQuestionMinConfidenceChange(item.key, InputValue($event))\"\n placeholder=\"e.g. 0.8\" class=\"mj-agent-props-input\">\n }\n @if (ReadOnly) {\n <div class=\"mj-agent-props-readonly-value\">{{ item.question.minConfidence ?? 'None' }}</div>\n }\n </div>\n\n <!-- Choice Options -->\n @if (item.question.kind === 'Choice') {\n <div class=\"mj-agent-props-options-section\">\n <div class=\"mj-agent-props-options-header\">\n <label>Options (2..255)</label>\n @if (!ReadOnly) {\n <button type=\"button\" class=\"mj-agent-props-btn mj-agent-props-btn--xs\"\n (click)=\"OnAddChoiceOption(item.key)\">\n <i class=\"fa-solid fa-plus\"></i> Add Option\n </button>\n }\n </div>\n @for (opt of ChoiceOptionsOf(item.question); track $index) {\n <div class=\"mj-agent-props-option-row\">\n <!-- Committed on change: paths compare against the value, and follow it when it is renamed. -->\n <input type=\"text\" [value]=\"opt.value\"\n [readonly]=\"ReadOnly\"\n (change)=\"OnChoiceOptionValueChange(item.key, $index, InputValue($event))\"\n (keydown.enter)=\"BlurTarget($event)\"\n placeholder=\"Value (e.g. billing)\" class=\"mj-agent-props-input mj-agent-props-input--sm\"\n [class.mj-agent-props-input--error]=\"!!OptionValueError(item.key, $index)\">\n <input type=\"text\" [value]=\"opt.description\"\n [readonly]=\"ReadOnly\"\n (input)=\"OnChoiceOptionChange(item.key, $index, 'description', InputValue($event))\"\n placeholder=\"Description for model...\" class=\"mj-agent-props-input mj-agent-props-input--sm\">\n @if (!ReadOnly) {\n <button type=\"button\" class=\"mj-agent-props-icon-btn mj-agent-props-icon-btn--danger\"\n title=\"Remove Option\"\n (click)=\"OnRemoveChoiceOption(item.key, $index)\">\n <i class=\"fa-solid fa-times\"></i>\n </button>\n }\n </div>\n @if (OptionValueError(item.key, $index); as valueError) {\n <span class=\"mj-agent-props-error\">{{ valueError }}</span>\n }\n }\n <!-- Choice Coverage Hint -->\n <div class=\"mj-agent-props-coverage-hint\">\n <i class=\"fa-solid fa-code-fork\"></i>\n <span>{{ GetChoiceCoverageHint(item.key, ChoiceOptionsOf(item.question)) }}</span>\n </div>\n </div>\n }\n\n <!-- Score Levels -->\n @if (item.question.kind === 'Score') {\n <div class=\"mj-agent-props-levels-section\">\n <div class=\"mj-agent-props-options-header\">\n <label>Levels (2..10, lowest first)</label>\n @if (!ReadOnly) {\n <button type=\"button\" class=\"mj-agent-props-btn mj-agent-props-btn--xs\"\n (click)=\"OnAddScoreLevel(item.key)\">\n <i class=\"fa-solid fa-plus\"></i> Add Level\n </button>\n }\n </div>\n @for (level of ScoreLevelsOf(item.question); track $index) {\n <div class=\"mj-agent-props-level-row\">\n <span class=\"mj-agent-props-level-badge\">{{ $index }}</span>\n <input type=\"text\" [value]=\"level\"\n [readonly]=\"ReadOnly\"\n (input)=\"OnScoreLevelChange(item.key, $index, InputValue($event))\"\n placeholder=\"Description for level...\" class=\"mj-agent-props-input mj-agent-props-input--sm\">\n @if (!ReadOnly) {\n <button type=\"button\" class=\"mj-agent-props-icon-btn\"\n [disabled]=\"$first\"\n title=\"Move Up\"\n (click)=\"OnMoveScoreLevel(item.key, $index, 'up')\">\n <i class=\"fa-solid fa-arrow-up\"></i>\n </button>\n <button type=\"button\" class=\"mj-agent-props-icon-btn\"\n [disabled]=\"$last\"\n title=\"Move Down\"\n (click)=\"OnMoveScoreLevel(item.key, $index, 'down')\">\n <i class=\"fa-solid fa-arrow-down\"></i>\n </button>\n <button type=\"button\" class=\"mj-agent-props-icon-btn mj-agent-props-icon-btn--danger\"\n title=\"Remove Level\"\n (click)=\"OnRemoveScoreLevel(item.key, $index)\">\n <i class=\"fa-solid fa-times\"></i>\n </button>\n }\n </div>\n }\n </div>\n }\n </div>\n </div>\n }\n </div>\n\n <!-- Why the runtime would refuse this step, in the runtime reader's own words -->\n @if (DecisionValidationError) {\n <mj-alert class=\"mj-agent-props-run-problems\" Variant=\"error\" Size=\"sm\"\n Title=\"This step cannot run\" [Message]=\"DecisionValidationError\"></mj-alert>\n }\n }\n </div>\n </ng-template>\n </mj-accordion-panel>\n <!-- \u2500\u2500 Data Mapping Section (Action steps) \u2500\u2500\u2500 -->\n @if (Step!.StepType === 'Action' || showActionPicker) {\n <mj-accordion-panel class=\"mj-agent-props-accordion\" Size=\"sm\" [FlushBody]=\"true\" [Expanded]=\"!IsSectionCollapsed('mapping')\" (ExpandedChange)=\"ToggleSection('mapping')\">\n <ng-template mjAccordionTitle><span>Data Mapping</span></ng-template>\n <ng-template mjAccordionBody>\n <div class=\"mj-agent-props-section-body\">\n <div class=\"mj-agent-props-field\">\n <label>Input Mapping</label>\n <mj-code-editor\n [value]=\"FormatJsonDisplay(Step!.ActionInputMapping)\"\n language=\"json\"\n [readonly]=\"ReadOnly\"\n setup=\"minimal\"\n [lineWrapping]=\"true\"\n placeholder=\"Enter JSON input mapping...\"\n (change)=\"OnInputMappingChange($any($event))\">\n </mj-code-editor>\n </div>\n <div class=\"mj-agent-props-field\">\n <label>Output Mapping</label>\n <mj-code-editor\n [value]=\"FormatJsonDisplay(Step!.ActionOutputMapping)\"\n language=\"json\"\n [readonly]=\"ReadOnly\"\n setup=\"minimal\"\n [lineWrapping]=\"true\"\n placeholder=\"Enter JSON output mapping...\"\n (change)=\"OnOutputMappingChange($any($event))\">\n </mj-code-editor>\n </div>\n </div>\n </ng-template>\n </mj-accordion-panel>\n }\n <!-- \u2500\u2500 Error Handling Section \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 -->\n <mj-accordion-panel class=\"mj-agent-props-accordion\" Size=\"sm\" [FlushBody]=\"true\" [Expanded]=\"!IsSectionCollapsed('errors')\" (ExpandedChange)=\"ToggleSection('errors')\">\n <ng-template mjAccordionTitle><span>Error Handling</span></ng-template>\n <ng-template mjAccordionBody>\n <div class=\"mj-agent-props-section-body\">\n <div class=\"mj-agent-props-field\">\n <label>On Error</label>\n @if (!ReadOnly) {\n <select [value]=\"Step!.OnErrorBehavior\"\n (change)=\"OnErrorBehaviorChange(InputValue($event))\"\n class=\"mj-agent-props-input\">\n <option value=\"fail\">Fail (stop flow)</option>\n <option value=\"continue\">Continue (ignore error)</option>\n <option value=\"retry\">Retry</option>\n </select>\n }\n @if (ReadOnly) {\n <div class=\"mj-agent-props-readonly-value\">\n {{ Step!.OnErrorBehavior === 'fail' ? 'Fail (stop flow)' :\n Step!.OnErrorBehavior === 'continue' ? 'Continue (ignore error)' : 'Retry' }}\n </div>\n }\n </div>\n @if (Step!.OnErrorBehavior === 'retry') {\n <div class=\"mj-agent-props-field\">\n <label>Retry Count</label>\n @if (!ReadOnly) {\n <input type=\"number\" [value]=\"Step!.RetryCount\" min=\"0\" max=\"10\"\n (input)=\"OnRetryCountChange(NumericValue($event))\"\n class=\"mj-agent-props-input\">\n }\n @if (ReadOnly) {\n <div class=\"mj-agent-props-readonly-value\">{{ Step!.RetryCount }}</div>\n }\n </div>\n }\n <div class=\"mj-agent-props-field\">\n <label>Timeout (seconds)</label>\n @if (!ReadOnly) {\n <input type=\"number\" [value]=\"Step!.TimeoutSeconds\" min=\"1\"\n (input)=\"OnTimeoutChange(NumericValue($event))\"\n class=\"mj-agent-props-input\">\n }\n @if (ReadOnly) {\n <div class=\"mj-agent-props-readonly-value\">{{ Step!.TimeoutSeconds }}s</div>\n }\n </div>\n </div>\n </ng-template>\n </mj-accordion-panel>\n <!-- \u2500\u2500 Danger Zone \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 -->\n @if (!ReadOnly) {\n <div class=\"mj-agent-props-section mj-agent-props-danger\">\n <button class=\"mj-agent-props-delete-btn\" (click)=\"OnDeleteStep()\">\n <i class=\"fa-solid fa-trash-can\"></i> Delete Step\n </button>\n </div>\n }\n </div>\n }\n\n <!-- ============================================ -->\n <!-- PATH PROPERTIES -->\n <!-- ============================================ -->\n @if (isConnectionSelected) {\n <!-- Path Header -->\n <div class=\"mj-agent-props-header mj-agent-props-header--path\"\n [style.border-left-color]=\"pathAccentColor\">\n <div class=\"mj-agent-props-header-top\">\n <span class=\"mj-agent-props-header-label\">PATH</span>\n <button class=\"mj-agent-props-close\" (click)=\"CloseRequested.emit()\" title=\"Close\">\n <i class=\"fa-solid fa-times\"></i>\n </button>\n </div>\n <!-- Path identity card -->\n <div class=\"mj-agent-props-identity\">\n <div class=\"mj-agent-props-identity-icon mj-agent-props-identity-icon--path\"\n [style.background]=\"pathAccentColor\">\n <i class=\"fa-solid fa-arrow-right\"></i>\n </div>\n <div class=\"mj-agent-props-identity-info\">\n <span class=\"mj-agent-props-path-route\">\n <span class=\"mj-agent-props-path-step-name\">{{ originStepName }}</span>\n <i class=\"fa-solid fa-arrow-right mj-agent-props-path-arrow\"></i>\n <span class=\"mj-agent-props-path-step-name\">{{ destinationStepName }}</span>\n </span>\n <span class=\"mj-agent-props-identity-meta\">\n <span class=\"mj-agent-props-type-pill\"\n [style.color]=\"pathAccentColor\"\n [style.background]=\"pathAccentColor + '18'\">\n {{ isConditionalPath ? 'Conditional' : 'Always' }}\n </span>\n @if (PathEntity!.Priority !== 0) {\n <span class=\"mj-agent-props-priority-badge\">\n Priority: {{ PathEntity!.Priority }}\n </span>\n }\n </span>\n </div>\n </div>\n </div>\n <div class=\"mj-agent-props-content\">\n <!-- \u2500\u2500 Overview Section \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 -->\n <mj-accordion-panel class=\"mj-agent-props-accordion\" Size=\"sm\" [FlushBody]=\"true\" [Expanded]=\"!IsSectionCollapsed('path-overview')\" (ExpandedChange)=\"ToggleSection('path-overview')\">\n <ng-template mjAccordionTitle><span>Route</span></ng-template>\n <ng-template mjAccordionBody>\n <div class=\"mj-agent-props-section-body\">\n <div class=\"mj-agent-props-field\">\n <label>From</label>\n <div class=\"mj-agent-props-readonly-value mj-agent-props-readonly-value--muted\">\n {{ originStepName }}\n </div>\n </div>\n <div class=\"mj-agent-props-field\">\n <label>To</label>\n <div class=\"mj-agent-props-readonly-value mj-agent-props-readonly-value--muted\">\n {{ destinationStepName }}\n </div>\n </div>\n <span class=\"mj-agent-props-hint\">To change the route, rewire the connection on the canvas.</span>\n </div>\n </ng-template>\n </mj-accordion-panel>\n <!-- \u2500\u2500 Path Settings Section \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 -->\n <mj-accordion-panel class=\"mj-agent-props-accordion\" Size=\"sm\" [FlushBody]=\"true\" [Expanded]=\"!IsSectionCollapsed('path-settings')\" (ExpandedChange)=\"ToggleSection('path-settings')\">\n <ng-template mjAccordionTitle><span>Settings</span></ng-template>\n <ng-template mjAccordionBody>\n <div class=\"mj-agent-props-section-body\">\n <div class=\"mj-agent-props-field\">\n <label>Description</label>\n @if (!ReadOnly) {\n <input type=\"text\" [value]=\"PathEntity!.Description || ''\"\n (input)=\"OnPathDescriptionChange(InputValue($event))\"\n placeholder=\"Path label...\" class=\"mj-agent-props-input\">\n }\n @if (ReadOnly) {\n <div class=\"mj-agent-props-readonly-value\">\n {{ PathEntity!.Description || '\u2014' }}\n </div>\n }\n @if (!ReadOnly) {\n <span class=\"mj-agent-props-hint\">Displayed as a label on the connection line</span>\n }\n </div>\n <div class=\"mj-agent-props-field\">\n <label>Condition</label>\n @if (!ReadOnly) {\n <mj-code-editor\n [value]=\"PathEntity!.Condition || ''\"\n language=\"javascript\"\n [readonly]=\"false\"\n setup=\"minimal\"\n [lineWrapping]=\"true\"\n placeholder=\"e.g. payload.status === 'active'\"\n (change)=\"OnPathConditionChange($any($event))\">\n </mj-code-editor>\n }\n @if (ReadOnly && PathEntity!.Condition) {\n <mj-code-editor\n [value]=\"PathEntity!.Condition\"\n language=\"javascript\"\n [readonly]=\"true\"\n setup=\"minimal\"\n [lineWrapping]=\"true\">\n </mj-code-editor>\n }\n @if (ReadOnly && !PathEntity!.Condition) {\n <div class=\"mj-agent-props-readonly-value mj-agent-props-readonly-value--muted\">\n No condition (always taken)\n </div>\n }\n @if (!ReadOnly) {\n <span class=\"mj-agent-props-hint\">\n JavaScript expression evaluated at runtime. Leave empty for unconditional.\n </span>\n }\n <!-- The flow run check's problems with this condition (the runtime validator's). -->\n @if (PathRunProblemMessages.length > 0) {\n <mj-alert class=\"mj-agent-props-run-problems\" Variant=\"warning\" Size=\"sm\" Title=\"This condition would stop the flow\">\n <ul class=\"mj-agent-props-run-problems-list\">\n @for (message of PathRunProblemMessages; track $index) {\n <li>{{ message }}</li>\n }\n </ul>\n </mj-alert>\n }\n </div>\n <!-- Route on Answer Helper (when origin step is a Decision step) -->\n @if (OriginDecisionStep && OriginDecisionConfig) {\n <div class=\"mj-agent-props-route-helper\">\n <div class=\"mj-agent-props-route-helper-header\">\n <span class=\"mj-agent-props-route-helper-title\">\n <i class=\"fa-solid fa-wand-magic-sparkles\"></i> Route on Answer\n </span>\n </div>\n\n <div class=\"mj-agent-props-field\">\n <label>Decision Question</label>\n <select [value]=\"SelectedRouteQuestionKey\"\n (change)=\"OnRouteQuestionChange(InputValue($event))\"\n class=\"mj-agent-props-input\">\n @for (q of OriginDecisionQuestions; track q.key) {\n <option [value]=\"q.key\">{{ q.key }} ({{ q.question.kind }})</option>\n }\n </select>\n </div>\n\n @if (RouteSelectedQuestion?.kind === 'Choice') {\n <div class=\"mj-agent-props-field\">\n <label>Choice Option</label>\n <select [value]=\"SelectedRouteChoiceOption\"\n (change)=\"OnRouteChoiceOptionChange(InputValue($event))\"\n class=\"mj-agent-props-input\">\n @for (opt of RouteChoiceOptions; track opt.value) {\n <option [value]=\"opt.value\">{{ opt.value }} \u2014 {{ opt.description }}</option>\n }\n </select>\n </div>\n @if (RouteChoiceCoverageHint) {\n <div class=\"mj-agent-props-coverage-hint\">\n <i class=\"fa-solid fa-code-fork\"></i>\n <span>{{ RouteChoiceCoverageHint }}</span>\n </div>\n }\n }\n\n @if (RouteSelectedQuestion?.kind === 'Likelihood') {\n <div class=\"mj-agent-props-field\">\n <label>Probability Threshold (0..1)</label>\n <input type=\"number\" min=\"0\" max=\"1\" step=\"0.05\"\n [value]=\"RouteThresholdText\"\n (input)=\"OnRouteLikelihoodThresholdChange(InputValue($event))\"\n class=\"mj-agent-props-input\"\n [class.mj-agent-props-input--error]=\"RouteLikelihoodThreshold === null\">\n <span class=\"mj-agent-props-hint\">Route taken when probability >= threshold</span>\n </div>\n }\n\n @if (RouteSelectedQuestion?.kind === 'Score') {\n <div class=\"mj-agent-props-field\">\n <label>Minimum Level (Score >= Index)</label>\n <select [value]=\"RouteScoreLevelIndex\"\n (change)=\"OnRouteScoreLevelChange(NumericValue($event))\"\n class=\"mj-agent-props-input\">\n @for (level of RouteScoreLevels; track $index) {\n <option [value]=\"$index\">Level {{ $index }}: {{ level }}</option>\n }\n </select>\n </div>\n }\n\n @if (RouteConditionProblem; as routeProblem) {\n <span class=\"mj-agent-props-error\">{{ routeProblem }}</span>\n }\n\n @if (!ReadOnly) {\n <button type=\"button\" class=\"mj-agent-props-btn mj-agent-props-btn--secondary\"\n [disabled]=\"!GetGeneratedRouteCondition()\"\n (click)=\"ApplyRouteCondition()\">\n <i class=\"fa-solid fa-code\"></i> Apply to Condition\n </button>\n }\n </div>\n }\n <div class=\"mj-agent-props-field\">\n <label>Priority</label>\n @if (!ReadOnly) {\n <input type=\"number\" [value]=\"PathEntity!.Priority\" min=\"-100\" max=\"100\"\n (input)=\"OnPathPriorityChange(NumericValue($event))\"\n class=\"mj-agent-props-input\">\n }\n @if (ReadOnly) {\n <div class=\"mj-agent-props-readonly-value\">{{ PathEntity!.Priority }}</div>\n }\n <span class=\"mj-agent-props-hint\">Higher priority paths are evaluated first when multiple paths leave a step.</span>\n </div>\n </div>\n </ng-template>\n </mj-accordion-panel>\n <!-- \u2500\u2500 Danger Zone \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 -->\n @if (!ReadOnly) {\n <div class=\"mj-agent-props-section mj-agent-props-danger\">\n <button class=\"mj-agent-props-delete-btn\" (click)=\"OnDeletePath()\">\n <i class=\"fa-solid fa-trash-can\"></i> Delete Path\n </button>\n </div>\n }\n </div>\n }\n</div>\n", styles: ["/* ============================================================\n Agent Properties Panel \u2014 Step/Connection configuration\n ============================================================ */\n\n.mj-agent-props {\n display: flex;\n flex-direction: column;\n height: 100%;\n background: var(--mj-bg-surface);\n overflow: hidden;\n box-sizing: border-box;\n}\n\n.mj-agent-props *,\n.mj-agent-props *::before,\n.mj-agent-props *::after {\n box-sizing: border-box;\n}\n\n/* \u2500\u2500 Header \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.mj-agent-props-header {\n flex-shrink: 0;\n padding: 12px 14px;\n border-bottom: 1px solid var(--mj-bg-surface-sunken);\n border-left: 3px solid transparent;\n}\n\n.mj-agent-props-header-top {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-bottom: 10px;\n}\n\n.mj-agent-props-header-label {\n font-size: 10px;\n font-weight: 700;\n letter-spacing: 1.2px;\n text-transform: uppercase;\n color: var(--mj-text-disabled);\n}\n\n.mj-agent-props-close {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 26px;\n height: 26px;\n border: none;\n border-radius: var(--mj-radius-md);\n background: transparent;\n color: var(--mj-text-disabled);\n cursor: pointer;\n font-size: var(--mj-text-xs);\n transition: all 0.15s ease;\n}\n\n.mj-agent-props-close:hover { background: var(--mj-bg-surface-sunken); color: var(--mj-text-secondary); }\n\n/* \u2500\u2500 Identity Card \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.mj-agent-props-identity {\n display: flex;\n align-items: flex-start;\n gap: 10px;\n}\n\n.mj-agent-props-identity-icon {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 32px;\n height: 32px;\n min-width: 32px;\n border-radius: var(--mj-radius-md);\n color: white;\n font-size: var(--mj-text-sm);\n flex-shrink: 0;\n}\n\n.mj-agent-props-identity-icon--path {\n border-radius: var(--mj-radius-full);\n width: 28px;\n height: 28px;\n min-width: 28px;\n font-size: 11px;\n}\n\n.mj-agent-props-identity-info {\n display: flex;\n flex-direction: column;\n gap: 4px;\n min-width: 0;\n}\n\n.mj-agent-props-identity-name {\n font-size: var(--mj-text-sm);\n font-weight: 600;\n color: var(--mj-text-primary);\n line-height: 1.3;\n word-break: break-word;\n}\n\n.mj-agent-props-identity-meta {\n display: flex;\n align-items: center;\n gap: 6px;\n flex-wrap: wrap;\n}\n\n.mj-agent-props-type-pill {\n display: inline-flex;\n align-items: center;\n font-size: 11px;\n font-weight: 600;\n padding: 1px 7px;\n border-radius: var(--mj-radius-sm);\n line-height: 1.6;\n}\n\n.mj-agent-props-status-dot {\n display: inline-block;\n width: 7px;\n height: 7px;\n border-radius: var(--mj-radius-full);\n flex-shrink: 0;\n}\n\n.mj-agent-props-status-label {\n font-size: 11px;\n color: var(--mj-text-muted);\n}\n\n.mj-agent-props-start-badge {\n display: inline-flex;\n align-items: center;\n font-size: 10px;\n font-weight: 600;\n color: #059669;\n background: #ecfdf5;\n padding: 1px 6px;\n border-radius: var(--mj-radius-sm);\n letter-spacing: 0.2px;\n}\n\n.mj-agent-props-priority-badge {\n font-size: 11px;\n color: var(--mj-text-muted);\n font-weight: 500;\n}\n\n/* \u2500\u2500 Path Route Display \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.mj-agent-props-path-route {\n display: flex;\n align-items: center;\n gap: 6px;\n font-size: var(--mj-text-sm);\n font-weight: 600;\n color: var(--mj-text-primary);\n line-height: 1.3;\n flex-wrap: wrap;\n}\n\n.mj-agent-props-path-step-name {\n max-width: 100px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.mj-agent-props-path-arrow {\n font-size: 10px;\n color: var(--mj-text-disabled);\n flex-shrink: 0;\n}\n\n/* \u2500\u2500 Empty State \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.mj-agent-props-empty {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n padding: 40px 20px;\n text-align: center;\n flex: 1;\n}\n\n.mj-agent-props-empty i { font-size: 28px; color: var(--mj-border-strong); margin-bottom: 12px; }\n.mj-agent-props-empty p { font-size: var(--mj-text-sm); color: var(--mj-text-disabled); margin: 0; }\n\n/* \u2500\u2500 Scrollable Content \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.mj-agent-props-content {\n flex: 1;\n overflow-y: auto;\n padding-bottom: 16px;\n}\n\n/* \u2500\u2500 Sections \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.mj-agent-props-section {\n border-bottom: 1px solid var(--mj-bg-surface-sunken);\n}\n\n.mj-agent-props-section:last-child { border-bottom: none; }\n\n/* Section headers are now <mj-accordion-panel>; the bespoke section-header /\n section-title chrome was removed so the accordion owns the title styling. */\n.mj-agent-props-section-body {\n padding: 12px 14px;\n}\n\n/* \u2500\u2500 Fields \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.mj-agent-props-field {\n margin-bottom: 12px;\n}\n\n.mj-agent-props-field label {\n display: block;\n font-size: var(--mj-text-xs);\n font-weight: 500;\n color: var(--mj-text-secondary);\n margin-bottom: 4px;\n}\n\n.mj-agent-props-field--row {\n display: flex;\n align-items: center;\n}\n\n.mj-agent-props-input {\n width: 100%;\n padding: 6px 10px;\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-md);\n font-size: var(--mj-text-sm);\n color: var(--mj-text-primary);\n background: var(--mj-bg-surface);\n transition: border-color 0.15s ease;\n outline: none;\n font-family: inherit;\n}\n\n.mj-agent-props-input:focus { border-color: var(--mj-brand-primary); }\n.mj-agent-props-input:focus-visible { box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.15); }\n\n/* Select dropdown with consistent cross-browser styling */\nselect.mj-agent-props-input {\n appearance: none;\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E\");\n background-repeat: no-repeat;\n background-position: right 8px center;\n padding-right: 28px;\n cursor: pointer;\n}\n\n.mj-agent-props-textarea {\n resize: vertical;\n min-height: 48px;\n}\n\n.mj-agent-props-checkbox-label {\n display: flex !important;\n align-items: center;\n gap: 8px;\n font-size: var(--mj-text-sm);\n color: var(--mj-text-secondary);\n cursor: pointer;\n}\n\n.mj-agent-props-checkbox-label input[type=\"checkbox\"] {\n width: 16px;\n height: 16px;\n accent-color: var(--mj-brand-primary);\n cursor: pointer;\n}\n\n/* \u2500\u2500 Read-only Values \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.mj-agent-props-readonly-value {\n display: flex;\n align-items: center;\n gap: 6px;\n font-size: var(--mj-text-sm);\n color: var(--mj-text-primary);\n background: var(--mj-bg-page);\n border: 1px solid var(--mj-bg-surface-sunken);\n border-radius: var(--mj-radius-md);\n padding: 6px 10px;\n min-height: 34px;\n word-break: break-word;\n}\n\n.mj-agent-props-readonly-value--muted {\n color: var(--mj-text-muted);\n font-style: italic;\n}\n\n/* \u2500\u2500 Code Editor in Panel \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.mj-agent-props-field mj-code-editor {\n display: block;\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-md);\n overflow: hidden;\n min-height: 60px;\n max-height: 200px;\n}\n\n.mj-agent-props-field mj-code-editor .cm-editor {\n font-size: var(--mj-text-xs);\n}\n\n/* \u2500\u2500 Hints \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.mj-agent-props-hint {\n display: block;\n font-size: 11px;\n color: var(--mj-text-disabled);\n margin-top: 3px;\n}\n\n/* \u2500\u2500 Danger Zone \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.mj-agent-props-danger {\n padding: 12px 14px;\n}\n\n.mj-agent-props-delete-btn {\n width: 100%;\n padding: 8px 12px;\n border: 1px solid color-mix(in srgb, var(--mj-status-error) 30%, transparent);\n border-radius: var(--mj-radius-md);\n background: var(--mj-status-error-bg);\n color: var(--mj-status-error);\n font-size: var(--mj-text-sm);\n font-weight: 500;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 6px;\n transition: all 0.15s ease;\n}\n\n.mj-agent-props-delete-btn:hover {\n background: color-mix(in srgb, var(--mj-status-error) 16%, var(--mj-bg-surface));\n border-color: var(--mj-status-error-border);\n}\n\n.mj-agent-props-delete-btn i { font-size: var(--mj-text-xs); }\n\n/* \u2500\u2500 Decision Step & Route Helper \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.mj-agent-props-required {\n color: var(--mj-status-error);\n}\n\n.mj-agent-props-input--error {\n border-color: var(--mj-status-error);\n}\n\n.mj-agent-props-error {\n display: block;\n font-size: 11px;\n color: var(--mj-status-error);\n margin-top: 3px;\n}\n\n.mj-agent-props-textarea {\n resize: vertical;\n min-height: 52px;\n font-family: inherit;\n line-height: 1.4;\n}\n\n.mj-agent-props-questions-header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-top: 14px;\n margin-bottom: 8px;\n}\n\n.mj-agent-props-questions-label {\n font-size: var(--mj-text-xs);\n font-weight: 600;\n color: var(--mj-text-secondary);\n text-transform: uppercase;\n letter-spacing: 0.5px;\n}\n\n.mj-agent-props-questions-list {\n display: flex;\n flex-direction: column;\n gap: 10px;\n margin-bottom: 12px;\n}\n\n.mj-agent-props-question-card {\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-md);\n background: var(--mj-bg-surface);\n overflow: hidden;\n}\n\n.mj-agent-props-question-card-header {\n display: flex;\n align-items: center;\n gap: 8px;\n padding: 6px 10px;\n background: var(--mj-bg-surface-sunken);\n border-bottom: 1px solid var(--mj-border-subtle);\n}\n\n.mj-agent-props-question-card-title {\n display: flex;\n align-items: center;\n gap: 6px;\n font-size: var(--mj-text-xs);\n font-weight: 600;\n color: var(--mj-text-primary);\n flex: 1;\n min-width: 0;\n}\n\n.mj-agent-props-question-card-title code {\n font-size: 11px;\n color: var(--mj-text-primary);\n background: var(--mj-bg-surface);\n padding: 1px 4px;\n border-radius: var(--mj-radius-sm);\n border: 1px solid var(--mj-border-subtle);\n}\n\n.mj-agent-props-question-kind-badge {\n font-size: 10px;\n font-weight: 600;\n padding: 2px 6px;\n border-radius: var(--mj-radius-sm);\n background: var(--mj-bg-surface);\n color: var(--mj-text-secondary);\n border: 1px solid var(--mj-border-subtle);\n}\n\n.mj-agent-props-question-card-body {\n padding: 10px;\n display: flex;\n flex-direction: column;\n gap: 8px;\n}\n\n.mj-agent-props-options-section,\n.mj-agent-props-levels-section {\n border-top: 1px solid var(--mj-border-subtle);\n padding-top: 8px;\n display: flex;\n flex-direction: column;\n gap: 6px;\n}\n\n.mj-agent-props-options-header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n font-size: 11px;\n font-weight: 600;\n color: var(--mj-text-secondary);\n}\n\n.mj-agent-props-option-row,\n.mj-agent-props-level-row {\n display: flex;\n align-items: center;\n gap: 6px;\n}\n\n.mj-agent-props-level-badge {\n font-size: 11px;\n font-weight: 700;\n width: 18px;\n text-align: center;\n color: var(--mj-text-secondary);\n flex-shrink: 0;\n}\n\n.mj-agent-props-input--sm {\n height: 28px;\n font-size: var(--mj-text-xs);\n padding: 4px 8px;\n}\n\n.mj-agent-props-btn {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n gap: 6px;\n border-radius: var(--mj-radius-md);\n font-weight: 500;\n cursor: pointer;\n transition: all 0.15s ease;\n border: 1px solid var(--mj-border-default);\n background: var(--mj-bg-surface);\n color: var(--mj-text-primary);\n}\n\n.mj-agent-props-btn:hover:not(:disabled) {\n background: var(--mj-bg-surface-sunken);\n}\n\n.mj-agent-props-btn:disabled {\n opacity: 0.5;\n cursor: not-allowed;\n}\n\n.mj-agent-props-btn--sm {\n height: 26px;\n padding: 2px 8px;\n font-size: var(--mj-text-xs);\n}\n\n.mj-agent-props-btn--xs {\n height: 22px;\n padding: 1px 6px;\n font-size: 11px;\n}\n\n.mj-agent-props-btn--secondary {\n background: var(--mj-bg-surface);\n border-color: var(--mj-border-default);\n font-size: var(--mj-text-xs);\n padding: 6px 12px;\n width: 100%;\n margin-top: 4px;\n}\n\n.mj-agent-props-btn--secondary:hover:not(:disabled) {\n background: var(--mj-bg-surface-sunken);\n}\n\n.mj-agent-props-icon-btn {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 24px;\n height: 24px;\n border: 1px solid var(--mj-border-subtle);\n border-radius: var(--mj-radius-sm);\n background: transparent;\n color: var(--mj-text-secondary);\n cursor: pointer;\n flex-shrink: 0;\n}\n\n.mj-agent-props-icon-btn:hover:not(:disabled) {\n background: var(--mj-bg-surface-sunken);\n color: var(--mj-text-primary);\n}\n\n.mj-agent-props-icon-btn:disabled {\n opacity: 0.4;\n cursor: not-allowed;\n}\n\n.mj-agent-props-icon-btn--danger {\n color: var(--mj-status-error);\n}\n\n.mj-agent-props-icon-btn--danger:hover:not(:disabled) {\n background: var(--mj-status-error-bg);\n}\n\n.mj-agent-props-coverage-hint {\n display: flex;\n align-items: center;\n gap: 6px;\n font-size: 11px;\n color: var(--mj-text-secondary);\n padding: 4px 6px;\n background: var(--mj-bg-surface-sunken);\n border-radius: var(--mj-radius-sm);\n margin-top: 2px;\n}\n\n.mj-agent-props-coverage-hint i {\n font-size: 11px;\n color: var(--mj-text-disabled);\n}\n\n.mj-agent-props-run-problems {\n display: flex;\n margin: 10px 0 0;\n}\n\n.mj-agent-props-content > .mj-agent-props-run-problems {\n margin: 10px 14px;\n}\n\n.mj-agent-props-run-problems-list {\n margin: 4px 0 0;\n padding-inline-start: 1.1rem;\n word-break: break-word;\n}\n\n.mj-agent-props-route-helper {\n margin-top: 10px;\n padding: 10px;\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-md);\n background: var(--mj-bg-surface-sunken);\n display: flex;\n flex-direction: column;\n gap: 8px;\n}\n\n.mj-agent-props-route-helper-header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n\n.mj-agent-props-route-helper-title {\n display: flex;\n align-items: center;\n gap: 6px;\n font-size: var(--mj-text-xs);\n font-weight: 600;\n color: var(--mj-text-primary);\n text-transform: uppercase;\n letter-spacing: 0.5px;\n}\n"] }]
|
|
3304
|
+
args: [{ standalone: false, selector: 'mj-agent-properties-panel', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.Default, template: "<div class=\"mj-agent-props\">\n\n <!-- Empty State -->\n @if (!isStepSelected && !isConnectionSelected) {\n <mj-empty-state class=\"mj-agent-props-empty\"\n Icon=\"fa-solid fa-arrow-pointer\"\n Title=\"No selection\"\n Message=\"Select a step or connection to view its properties\" />\n }\n\n <!-- ============================================ -->\n <!-- STEP PROPERTIES -->\n <!-- ============================================ -->\n @if (isStepSelected) {\n <!-- Step Header -->\n <div class=\"mj-agent-props-header mj-agent-props-header--step\"\n [style.border-left-color]=\"stepTypeColor\">\n <div class=\"mj-agent-props-header-top\">\n <span class=\"mj-agent-props-header-label\">STEP</span>\n <button class=\"mj-agent-props-close\" (click)=\"CloseRequested.emit()\" title=\"Close\">\n <i class=\"fa-solid fa-times\"></i>\n </button>\n </div>\n <!-- Identity card -->\n <div class=\"mj-agent-props-identity\">\n <div class=\"mj-agent-props-identity-icon\" [style.background]=\"stepTypeColor\">\n <i class=\"fa-solid\" [ngClass]=\"stepTypeIcon\"></i>\n </div>\n <div class=\"mj-agent-props-identity-info\">\n <span class=\"mj-agent-props-identity-name\">{{ Step!.Name }}</span>\n <span class=\"mj-agent-props-identity-meta\">\n <span class=\"mj-agent-props-type-pill\" [style.color]=\"stepTypeColor\"\n [style.background]=\"stepTypeColor + '18'\">{{ stepTypeLabel }}</span>\n <span class=\"mj-agent-props-status-dot\" [style.background]=\"statusColor\"></span>\n <span class=\"mj-agent-props-status-label\">{{ Step!.Status }}</span>\n @if (Step!.StartingStep) {\n <span class=\"mj-agent-props-start-badge\">Start</span>\n }\n </span>\n </div>\n </div>\n </div>\n <div class=\"mj-agent-props-content\">\n <!-- The flow run check's problems on this step (the runtime compiler's and validator's). -->\n @if (StepRunProblemMessages.length > 0) {\n <mj-alert class=\"mj-agent-props-run-problems\" Variant=\"warning\" Size=\"sm\" Title=\"This flow would not run\">\n <ul class=\"mj-agent-props-run-problems-list\">\n @for (message of StepRunProblemMessages; track $index) {\n <li>{{ message }}</li>\n }\n </ul>\n </mj-alert>\n }\n <!-- \u2500\u2500 General Section \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 -->\n <mj-accordion-panel class=\"mj-agent-props-accordion\" Size=\"sm\" [FlushBody]=\"true\" [Expanded]=\"!IsSectionCollapsed('general')\" (ExpandedChange)=\"ToggleSection('general')\">\n <ng-template mjAccordionTitle><span>General</span></ng-template>\n <ng-template mjAccordionBody>\n <div class=\"mj-agent-props-section-body\">\n <div class=\"mj-agent-props-field\">\n <label>Name</label>\n @if (!ReadOnly) {\n <input type=\"text\" [value]=\"Step!.Name\"\n (input)=\"OnNameChange(InputValue($event))\"\n placeholder=\"Step name...\" class=\"mj-agent-props-input\">\n }\n @if (ReadOnly) {\n <div class=\"mj-agent-props-readonly-value\">{{ Step!.Name }}</div>\n }\n </div>\n <div class=\"mj-agent-props-field\">\n <label>Description</label>\n @if (!ReadOnly) {\n <textarea [value]=\"Step!.Description || ''\"\n (input)=\"OnDescriptionChange(InputValue($event))\"\n placeholder=\"Optional description...\" rows=\"2\"\n class=\"mj-agent-props-input mj-agent-props-textarea\"></textarea>\n }\n @if (ReadOnly) {\n <div class=\"mj-agent-props-readonly-value\">\n {{ Step!.Description || '\u2014' }}\n </div>\n }\n </div>\n <div class=\"mj-agent-props-field\">\n <label>Status</label>\n @if (!ReadOnly) {\n <select [value]=\"Step!.Status\"\n (change)=\"OnStatusChange(InputValue($event))\"\n class=\"mj-agent-props-input\">\n <option value=\"Active\">Active</option>\n <option value=\"Disabled\">Disabled</option>\n <option value=\"Pending\">Pending</option>\n </select>\n }\n @if (ReadOnly) {\n <div class=\"mj-agent-props-readonly-value\">\n <span class=\"mj-agent-props-status-dot\" [style.background]=\"statusColor\"></span>\n {{ Step!.Status }}\n </div>\n }\n </div>\n @if (!ReadOnly) {\n <div class=\"mj-agent-props-field mj-agent-props-field--row\">\n <label class=\"mj-agent-props-checkbox-label\">\n <input type=\"checkbox\" [checked]=\"Step!.StartingStep\"\n (change)=\"OnStartingStepChange(CheckedValue($event))\">\n Starting Step\n </label>\n </div>\n }\n @if (ReadOnly && Step!.StartingStep) {\n <div class=\"mj-agent-props-field\">\n <label>Starting Step</label>\n <div class=\"mj-agent-props-readonly-value\">\n <span class=\"mj-agent-props-start-badge\">Yes \u2014 this is the entry point</span>\n </div>\n </div>\n }\n </div>\n </ng-template>\n </mj-accordion-panel>\n <!-- \u2500\u2500 Configuration Section \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 -->\n <mj-accordion-panel class=\"mj-agent-props-accordion\" Size=\"sm\" [FlushBody]=\"true\" [Expanded]=\"!IsSectionCollapsed('config')\" (ExpandedChange)=\"ToggleSection('config')\">\n <ng-template mjAccordionTitle><span>Configuration</span></ng-template>\n <ng-template mjAccordionBody>\n <div class=\"mj-agent-props-section-body\">\n <!-- Loop Body Type (ForEach / While) -->\n @if (showLoopConfig) {\n <div class=\"mj-agent-props-field\">\n <label>Loop Body Type</label>\n @if (!ReadOnly) {\n <select [value]=\"Step!.LoopBodyType || 'Action'\"\n (change)=\"OnLoopBodyTypeChange(InputValue($event))\"\n class=\"mj-agent-props-input\">\n <option value=\"Action\">Action</option>\n <option value=\"Prompt\">Prompt</option>\n <option value=\"Sub-Agent\">Sub-Agent</option>\n </select>\n }\n @if (ReadOnly) {\n <div class=\"mj-agent-props-readonly-value\">\n {{ Step!.LoopBodyType || 'Action' }}\n </div>\n }\n </div>\n }\n <!-- Action Picker -->\n @if (showActionPicker) {\n <div class=\"mj-agent-props-field\">\n <label>Action</label>\n @if (!ReadOnly) {\n <input type=\"search\"\n class=\"mj-agent-props-input mj-agent-props-picker-search\"\n [value]=\"ActionSearchQuery\"\n (input)=\"ActionSearchQuery = InputValue($event)\"\n placeholder=\"Filter actions...\"\n aria-label=\"Filter actions\">\n <select [value]=\"Step!.ActionID || ''\"\n (change)=\"OnActionChange(InputValue($event))\"\n class=\"mj-agent-props-input\">\n <option value=\"\">-- Select Action --</option>\n @for (action of FilteredActions; track action.ID) {\n <option [value]=\"action.ID\">{{ action.Name }}</option>\n }\n </select>\n }\n @if (ReadOnly) {\n <div class=\"mj-agent-props-readonly-value\">{{ selectedActionName }}</div>\n }\n </div>\n }\n <!-- Prompt Picker -->\n @if (showPromptPicker) {\n <div class=\"mj-agent-props-field\">\n <label>Prompt</label>\n @if (!ReadOnly) {\n <input type=\"search\"\n class=\"mj-agent-props-input mj-agent-props-picker-search\"\n [value]=\"PromptSearchQuery\"\n (input)=\"PromptSearchQuery = InputValue($event)\"\n placeholder=\"Filter prompts...\"\n aria-label=\"Filter prompts\">\n <select [value]=\"Step!.PromptID || ''\"\n (change)=\"OnPromptChange(InputValue($event))\"\n class=\"mj-agent-props-input\">\n <option value=\"\">-- Select Prompt --</option>\n @for (prompt of FilteredPrompts; track prompt.ID) {\n <option [value]=\"prompt.ID\">{{ prompt.Name }}</option>\n }\n </select>\n }\n @if (ReadOnly) {\n <div class=\"mj-agent-props-readonly-value\">{{ selectedPromptName }}</div>\n }\n </div>\n }\n <!-- Sub-Agent Picker -->\n @if (showAgentPicker) {\n <div class=\"mj-agent-props-field\">\n <label>Sub-Agent</label>\n @if (!ReadOnly) {\n <input type=\"search\"\n class=\"mj-agent-props-input mj-agent-props-picker-search\"\n [value]=\"AgentSearchQuery\"\n (input)=\"AgentSearchQuery = InputValue($event)\"\n placeholder=\"Filter agents...\"\n aria-label=\"Filter agents\">\n <select [value]=\"Step!.SubAgentID || ''\"\n (change)=\"OnSubAgentChange(InputValue($event))\"\n class=\"mj-agent-props-input\">\n <option value=\"\">-- Select Agent --</option>\n @for (agent of FilteredAgents; track agent.ID) {\n <option [value]=\"agent.ID\">{{ agent.Name }}</option>\n }\n </select>\n }\n @if (ReadOnly) {\n <div class=\"mj-agent-props-readonly-value\">{{ selectedAgentName }}</div>\n }\n </div>\n }\n <!-- Person (Human) step -->\n @if (ShowHumanConfig) {\n <div class=\"mj-agent-props-field\">\n <label>Asks</label>\n <div class=\"mj-agent-props-hint\">What the person is asked is this step's description.</div>\n </div>\n <div class=\"mj-agent-props-field\">\n <label>Provider</label>\n @if (!ReadOnly) {\n <input type=\"text\" class=\"mj-agent-props-input\" placeholder=\"Built-in inbox\"\n [value]=\"ConfigText('provider')\"\n (change)=\"OnConfigTextChange('provider', InputValue($event))\">\n <div class=\"mj-agent-props-hint\">Leave empty for MemberJunction's own inbox, or name the app that should put this in front of someone.</div>\n } @else {\n <div class=\"mj-agent-props-readonly-value\">{{ ConfigText('provider') || 'Built-in inbox' }}</div>\n }\n </div>\n @if (ConfigText('provider')) {\n <div class=\"mj-agent-props-field\">\n <label>Provider settings (JSON)</label>\n <mj-code-editor\n [value]=\"ConfigText('providerConfiguration')\"\n language=\"json\"\n [readonly]=\"ReadOnly\"\n setup=\"minimal\"\n [lineWrapping]=\"true\"\n (change)=\"OnProviderConfigurationChange($any($event))\">\n </mj-code-editor>\n </div>\n }\n <div class=\"mj-agent-props-field\">\n <label>Expires after (hours)</label>\n @if (!ReadOnly) {\n <input type=\"number\" min=\"0\" step=\"1\" class=\"mj-agent-props-input\" placeholder=\"Never\"\n [value]=\"ConfigText('expiresInHours')\"\n (change)=\"OnConfigNumberChange('expiresInHours', InputValue($event))\">\n } @else {\n <div class=\"mj-agent-props-readonly-value\">{{ ConfigText('expiresInHours') || 'Never' }}</div>\n }\n </div>\n }\n <!-- External signal step -->\n @if (ShowExternalConfig) {\n <div class=\"mj-agent-props-field\">\n <label>Waits on</label>\n @if (!ReadOnly) {\n <input type=\"text\" class=\"mj-agent-props-input\" placeholder=\"external\"\n [value]=\"ConfigText('domain')\"\n (change)=\"OnConfigTextChange('domain', InputValue($event))\">\n <div class=\"mj-agent-props-hint\">A label for what sends the signal, such as \"stripe\" or \"hr-system\".</div>\n } @else {\n <div class=\"mj-agent-props-readonly-value\">{{ ConfigText('domain') || 'external' }}</div>\n }\n </div>\n <div class=\"mj-agent-props-field\">\n <label>Correlation key</label>\n @if (!ReadOnly) {\n <input type=\"text\" class=\"mj-agent-props-input\" placeholder=\"Signalled by task ID\"\n [value]=\"ConfigText('correlationKey')\"\n (change)=\"OnConfigTextChange('correlationKey', InputValue($event))\">\n <div class=\"mj-agent-props-hint\">A fixed key, or <code>payload.<path></code> read when the step is reached. One signal completes every step waiting on its key.</div>\n } @else {\n <div class=\"mj-agent-props-readonly-value\">{{ ConfigText('correlationKey') || 'Signalled by task ID' }}</div>\n }\n </div>\n <div class=\"mj-agent-props-field\">\n <label>Expires after (hours)</label>\n @if (!ReadOnly) {\n <input type=\"number\" min=\"0\" step=\"1\" class=\"mj-agent-props-input\" placeholder=\"Never\"\n [value]=\"ConfigText('expiresInHours')\"\n (change)=\"OnConfigNumberChange('expiresInHours', InputValue($event))\">\n } @else {\n <div class=\"mj-agent-props-readonly-value\">{{ ConfigText('expiresInHours') || 'Never' }}</div>\n }\n </div>\n }\n <!-- Wait step -->\n @if (ShowWaitConfig) {\n <div class=\"mj-agent-props-field\">\n <label>Wait</label>\n @if (!ReadOnly) {\n <select class=\"mj-agent-props-input\" [value]=\"WaitFields.Mode\"\n (change)=\"OnWaitModeChange($any(InputValue($event)))\">\n <option value=\"duration\">For a length of time</option>\n <option value=\"until\">Until a moment</option>\n </select>\n }\n </div>\n @if (WaitFields.Mode === 'duration') {\n <div class=\"mj-agent-props-field\">\n <label>Seconds</label>\n @if (!ReadOnly) {\n <input type=\"number\" min=\"0\" step=\"1\" class=\"mj-agent-props-input\"\n [value]=\"WaitFields.DurationSeconds ?? ''\"\n (change)=\"OnConfigNumberChange('durationSeconds', InputValue($event))\">\n } @else {\n <div class=\"mj-agent-props-readonly-value\">{{ WaitFields.DurationSeconds ?? '\u2014' }}</div>\n }\n </div>\n } @else {\n <div class=\"mj-agent-props-field\">\n <label>Until</label>\n @if (!ReadOnly) {\n <input type=\"text\" class=\"mj-agent-props-input\" placeholder=\"payload.renewal.chargeOn\"\n [value]=\"WaitFields.Until\"\n (change)=\"OnConfigTextChange('until', InputValue($event))\">\n <div class=\"mj-agent-props-hint\">An ISO date and time, or <code>payload.<path></code> holding one. A moment already past continues at once.</div>\n } @else {\n <div class=\"mj-agent-props-readonly-value\">{{ WaitFields.Until || '\u2014' }}</div>\n }\n </div>\n }\n }\n <!-- Structured Loop Configuration + Raw JSON Toggle -->\n @if (showLoopConfig) {\n @if (Step!.StepType === 'ForEach') {\n <div class=\"mj-agent-props-field\">\n <label>Collection Path</label>\n @if (!ReadOnly) {\n <input type=\"text\" class=\"mj-agent-props-input\" placeholder=\"e.g. payload.items\"\n [value]=\"ConfigText('collectionPath')\"\n (change)=\"OnConfigTextChange('collectionPath', InputValue($event))\">\n } @else {\n <div class=\"mj-agent-props-readonly-value\">{{ ConfigText('collectionPath') || '\u2014' }}</div>\n }\n </div>\n <div class=\"mj-agent-props-field\">\n <label>Item Variable</label>\n @if (!ReadOnly) {\n <input type=\"text\" class=\"mj-agent-props-input\" placeholder=\"e.g. item\"\n [value]=\"ConfigText('itemVariable')\"\n (change)=\"OnConfigTextChange('itemVariable', InputValue($event))\">\n } @else {\n <div class=\"mj-agent-props-readonly-value\">{{ ConfigText('itemVariable') || 'item' }}</div>\n }\n </div>\n } @else {\n <div class=\"mj-agent-props-field\">\n <label>While Condition</label>\n @if (!ReadOnly) {\n <input type=\"text\" class=\"mj-agent-props-input\" placeholder=\"e.g. payload.approved !== true\"\n [value]=\"ConfigText('condition')\"\n (change)=\"OnConfigTextChange('condition', InputValue($event))\">\n } @else {\n <div class=\"mj-agent-props-readonly-value\">{{ ConfigText('condition') || '\u2014' }}</div>\n }\n </div>\n }\n <div class=\"mj-agent-props-loop-grid\">\n <div class=\"mj-agent-props-field\">\n <label>Execution Mode</label>\n @if (!ReadOnly) {\n <select class=\"mj-agent-props-input\" [value]=\"ConfigText('executionMode') || 'sequential'\"\n (change)=\"OnLoopExecutionModeChange(InputValue($event))\">\n <option value=\"sequential\">Sequential</option>\n <option value=\"parallel\">Parallel</option>\n </select>\n } @else {\n <div class=\"mj-agent-props-readonly-value\">{{ ConfigText('executionMode') || 'sequential' }}</div>\n }\n </div>\n <div class=\"mj-agent-props-field\">\n <label>Max Iterations</label>\n @if (!ReadOnly) {\n <input type=\"number\" min=\"1\" step=\"1\" class=\"mj-agent-props-input\" placeholder=\"50\"\n [value]=\"ConfigText('maxIterations')\"\n (change)=\"OnConfigNumberChange('maxIterations', InputValue($event))\">\n } @else {\n <div class=\"mj-agent-props-readonly-value\">{{ ConfigText('maxIterations') || 'Default' }}</div>\n }\n </div>\n </div>\n @if (ConfigText('executionMode') === 'parallel') {\n <div class=\"mj-agent-props-field\">\n <label>Max Concurrency</label>\n @if (!ReadOnly) {\n <input type=\"number\" min=\"1\" max=\"50\" step=\"1\" class=\"mj-agent-props-input\" placeholder=\"4\"\n [value]=\"ConfigText('maxConcurrency')\"\n (change)=\"OnConfigNumberChange('maxConcurrency', InputValue($event))\">\n } @else {\n <div class=\"mj-agent-props-readonly-value\">{{ ConfigText('maxConcurrency') || '4' }}</div>\n }\n </div>\n }\n <div class=\"mj-agent-props-field\">\n <button type=\"button\" class=\"mj-agent-props-btn mj-agent-props-btn--xs\" (click)=\"ShowRawLoopJson = !ShowRawLoopJson\">\n <i class=\"fa-solid fa-code\" aria-hidden=\"true\"></i>\n {{ ShowRawLoopJson ? 'Hide Raw Loop JSON' : 'Edit Raw Loop JSON' }}\n </button>\n @if (ShowRawLoopJson) {\n <div style=\"margin-top:6px\">\n <mj-code-editor\n [value]=\"FormatJsonDisplay(Step!.Configuration)\"\n language=\"json\"\n [readonly]=\"ReadOnly\"\n setup=\"minimal\"\n [lineWrapping]=\"true\"\n (change)=\"OnConfigurationChange($any($event))\">\n </mj-code-editor>\n </div>\n }\n </div>\n }\n <!-- Decision Step Properties -->\n @if (ShowDecisionConfig) {\n <!-- Key -->\n <div class=\"mj-agent-props-field\">\n <label>Key <span class=\"mj-agent-props-required\">*</span></label>\n @if (!ReadOnly) {\n <!-- Typing only records the key; it is stored, and the paths that read it follow, on\n commit (blur or Enter). -->\n <input type=\"text\" [value]=\"DecisionKeyText\"\n (input)=\"OnDecisionKeyChange(InputValue($event))\"\n (change)=\"OnDecisionKeyCommit()\"\n (keydown.enter)=\"OnDecisionKeyCommit()\"\n placeholder=\"e.g. triage\" class=\"mj-agent-props-input\"\n [class.mj-agent-props-input--error]=\"!!DecisionKeyError\">\n }\n @if (ReadOnly) {\n <div class=\"mj-agent-props-readonly-value\">{{ DecisionConfig.key }}</div>\n }\n @if (DecisionKeyError) {\n <span class=\"mj-agent-props-error\">{{ DecisionKeyError }}</span>\n }\n <span class=\"mj-agent-props-hint\">Names the step in path conditions: decisions.<key>.<question></span>\n </div>\n\n <!-- Decision Prompt -->\n <div class=\"mj-agent-props-field\">\n <label>Decision Prompt</label>\n @if (!ReadOnly) {\n <select [value]=\"Step!.PromptID || ''\"\n (change)=\"OnDecisionPromptChange(InputValue($event))\"\n class=\"mj-agent-props-input\">\n <option value=\"\">Default Decision (system default)</option>\n @for (prompt of DecisionPrompts; track prompt.ID) {\n <option [value]=\"prompt.ID\">{{ prompt.Name }}</option>\n }\n </select>\n }\n @if (ReadOnly) {\n <div class=\"mj-agent-props-readonly-value\">{{ SelectedDecisionPromptName }}</div>\n }\n <span class=\"mj-agent-props-hint\">Optional prompt bound to the Decision model type.</span>\n </div>\n\n <!-- State -->\n <div class=\"mj-agent-props-field\">\n <label>State</label>\n @if (!ReadOnly) {\n <input type=\"text\" [value]=\"DecisionConfig.state ?? ''\"\n (input)=\"OnDecisionStateChange(InputValue($event))\"\n placeholder=\"payload\" class=\"mj-agent-props-input\">\n }\n @if (ReadOnly) {\n <div class=\"mj-agent-props-readonly-value\">{{ DecisionConfig.state || 'payload' }}</div>\n }\n <span class=\"mj-agent-props-hint\">What the questions are about: \"payload\" (default) or \"payload.<path>\"</span>\n </div>\n\n <!-- Questions List Header & Add Button -->\n <div class=\"mj-agent-props-questions-header\">\n <label class=\"mj-agent-props-questions-label\">\n Questions ({{ DecisionQuestionsList.length }})\n </label>\n @if (!ReadOnly) {\n <button type=\"button\" class=\"mj-agent-props-btn mj-agent-props-btn--sm\"\n (click)=\"OnAddDecisionQuestion()\">\n <i class=\"fa-solid fa-plus\"></i> Add Question\n </button>\n }\n </div>\n\n <!-- Questions List -->\n <div class=\"mj-agent-props-questions-list\">\n @for (item of DecisionQuestionsList; track item.key) {\n <div class=\"mj-agent-props-question-card\">\n <div class=\"mj-agent-props-question-card-header\">\n <span class=\"mj-agent-props-question-card-title\">\n <i class=\"fa-solid fa-question-circle\"></i>\n <code>{{ item.key }}</code>\n </span>\n <span class=\"mj-agent-props-question-kind-badge\">{{ item.question.kind }}</span>\n @if (!ReadOnly) {\n <button type=\"button\" class=\"mj-agent-props-icon-btn mj-agent-props-icon-btn--danger\"\n title=\"Remove Question\"\n (click)=\"OnRemoveDecisionQuestion(item.key)\">\n <i class=\"fa-solid fa-trash\"></i>\n </button>\n }\n </div>\n\n <div class=\"mj-agent-props-question-card-body\">\n <!-- Question Key -->\n <div class=\"mj-agent-props-field\">\n <label>Question Key</label>\n @if (!ReadOnly) {\n <input type=\"text\" [value]=\"item.key\"\n (change)=\"OnDecisionQuestionKeyChange(item.key, InputValue($event))\"\n (keydown.enter)=\"BlurTarget($event)\"\n class=\"mj-agent-props-input\"\n [class.mj-agent-props-input--error]=\"!!QuestionKeyError(item.key)\">\n }\n @if (ReadOnly) {\n <div class=\"mj-agent-props-readonly-value\">{{ item.key }}</div>\n }\n @if (QuestionKeyError(item.key); as keyError) {\n <span class=\"mj-agent-props-error\">{{ keyError }}</span>\n }\n </div>\n\n <!-- Question Kind -->\n <div class=\"mj-agent-props-field\">\n <label>Kind</label>\n @if (!ReadOnly) {\n <select [value]=\"item.question.kind\"\n (change)=\"OnDecisionQuestionKindSelect(item.key, InputValue($event))\"\n class=\"mj-agent-props-input\">\n <option value=\"Likelihood\">Likelihood (yes/no probability)</option>\n <option value=\"Choice\">Choice (pick one option)</option>\n <option value=\"Score\">Score (ordered rubric)</option>\n </select>\n }\n @if (ReadOnly) {\n <div class=\"mj-agent-props-readonly-value\">{{ item.question.kind }}</div>\n }\n </div>\n\n <!-- Instructions -->\n <div class=\"mj-agent-props-field\">\n <label>Instructions <span class=\"mj-agent-props-required\">*</span></label>\n @if (!ReadOnly) {\n <textarea [value]=\"item.question.instructions || ''\"\n (input)=\"OnDecisionQuestionInstructionsChange(item.key, InputValue($event))\"\n rows=\"2\" class=\"mj-agent-props-input mj-agent-props-textarea\"\n placeholder=\"Full sentence instructions for the model...\"></textarea>\n }\n @if (ReadOnly) {\n <div class=\"mj-agent-props-readonly-value\">{{ item.question.instructions || '\u2014' }}</div>\n }\n </div>\n\n <!-- Min Confidence -->\n <div class=\"mj-agent-props-field\">\n <label>Min Confidence (optional, 0..1)</label>\n @if (!ReadOnly) {\n <input type=\"number\" min=\"0\" max=\"1\" step=\"0.05\"\n [value]=\"item.question.minConfidence ?? ''\"\n (input)=\"OnDecisionQuestionMinConfidenceChange(item.key, InputValue($event))\"\n placeholder=\"e.g. 0.8\" class=\"mj-agent-props-input\">\n }\n @if (ReadOnly) {\n <div class=\"mj-agent-props-readonly-value\">{{ item.question.minConfidence ?? 'None' }}</div>\n }\n </div>\n\n <!-- Choice Options -->\n @if (item.question.kind === 'Choice') {\n <div class=\"mj-agent-props-options-section\">\n <div class=\"mj-agent-props-options-header\">\n <label>Options (2..255)</label>\n @if (!ReadOnly) {\n <button type=\"button\" class=\"mj-agent-props-btn mj-agent-props-btn--xs\"\n (click)=\"OnAddChoiceOption(item.key)\">\n <i class=\"fa-solid fa-plus\"></i> Add Option\n </button>\n }\n </div>\n @for (opt of ChoiceOptionsOf(item.question); track $index) {\n <div class=\"mj-agent-props-option-row\">\n <!-- Committed on change: paths compare against the value, and follow it when it is renamed. -->\n <input type=\"text\" [value]=\"opt.value\"\n [readonly]=\"ReadOnly\"\n (change)=\"OnChoiceOptionValueChange(item.key, $index, InputValue($event))\"\n (keydown.enter)=\"BlurTarget($event)\"\n placeholder=\"Value (e.g. billing)\" class=\"mj-agent-props-input mj-agent-props-input--sm\"\n [class.mj-agent-props-input--error]=\"!!OptionValueError(item.key, $index)\">\n <input type=\"text\" [value]=\"opt.description\"\n [readonly]=\"ReadOnly\"\n (input)=\"OnChoiceOptionChange(item.key, $index, 'description', InputValue($event))\"\n placeholder=\"Description for model...\" class=\"mj-agent-props-input mj-agent-props-input--sm\">\n @if (!ReadOnly) {\n <button type=\"button\" class=\"mj-agent-props-icon-btn mj-agent-props-icon-btn--danger\"\n title=\"Remove Option\"\n (click)=\"OnRemoveChoiceOption(item.key, $index)\">\n <i class=\"fa-solid fa-times\"></i>\n </button>\n }\n </div>\n @if (OptionValueError(item.key, $index); as valueError) {\n <span class=\"mj-agent-props-error\">{{ valueError }}</span>\n }\n }\n <!-- Choice Coverage Hint -->\n <div class=\"mj-agent-props-coverage-hint\">\n <i class=\"fa-solid fa-code-fork\"></i>\n <span>{{ GetChoiceCoverageHint(item.key, ChoiceOptionsOf(item.question)) }}</span>\n </div>\n </div>\n }\n\n <!-- Score Levels -->\n @if (item.question.kind === 'Score') {\n <div class=\"mj-agent-props-levels-section\">\n <div class=\"mj-agent-props-options-header\">\n <label>Levels (2..10, lowest first)</label>\n @if (!ReadOnly) {\n <button type=\"button\" class=\"mj-agent-props-btn mj-agent-props-btn--xs\"\n (click)=\"OnAddScoreLevel(item.key)\">\n <i class=\"fa-solid fa-plus\"></i> Add Level\n </button>\n }\n </div>\n @for (level of ScoreLevelsOf(item.question); track $index) {\n <div class=\"mj-agent-props-level-row\">\n <span class=\"mj-agent-props-level-badge\">{{ $index }}</span>\n <input type=\"text\" [value]=\"level\"\n [readonly]=\"ReadOnly\"\n (input)=\"OnScoreLevelChange(item.key, $index, InputValue($event))\"\n placeholder=\"Description for level...\" class=\"mj-agent-props-input mj-agent-props-input--sm\">\n @if (!ReadOnly) {\n <button type=\"button\" class=\"mj-agent-props-icon-btn\"\n [disabled]=\"$first\"\n title=\"Move Up\"\n (click)=\"OnMoveScoreLevel(item.key, $index, 'up')\">\n <i class=\"fa-solid fa-arrow-up\"></i>\n </button>\n <button type=\"button\" class=\"mj-agent-props-icon-btn\"\n [disabled]=\"$last\"\n title=\"Move Down\"\n (click)=\"OnMoveScoreLevel(item.key, $index, 'down')\">\n <i class=\"fa-solid fa-arrow-down\"></i>\n </button>\n <button type=\"button\" class=\"mj-agent-props-icon-btn mj-agent-props-icon-btn--danger\"\n title=\"Remove Level\"\n (click)=\"OnRemoveScoreLevel(item.key, $index)\">\n <i class=\"fa-solid fa-times\"></i>\n </button>\n }\n </div>\n }\n </div>\n }\n </div>\n </div>\n }\n </div>\n\n <!-- Why the runtime would refuse this step, in the runtime reader's own words -->\n @if (DecisionValidationError) {\n <mj-alert class=\"mj-agent-props-run-problems\" Variant=\"error\" Size=\"sm\"\n Title=\"This step cannot run\" [Message]=\"DecisionValidationError\"></mj-alert>\n }\n }\n </div>\n </ng-template>\n </mj-accordion-panel>\n <!-- \u2500\u2500 Data Mapping Section (Action steps) \u2500\u2500\u2500 -->\n @if (Step!.StepType === 'Action' || showActionPicker) {\n <mj-accordion-panel class=\"mj-agent-props-accordion\" Size=\"sm\" [FlushBody]=\"true\" [Expanded]=\"!IsSectionCollapsed('mapping')\" (ExpandedChange)=\"ToggleSection('mapping')\">\n <ng-template mjAccordionTitle><span>Data Mapping</span></ng-template>\n <ng-template mjAccordionBody>\n <div class=\"mj-agent-props-section-body\">\n @if (!ReadOnly && UpstreamVariablePills.length > 0) {\n <div class=\"mj-agent-props-field\">\n <label>Quick-Insert Upstream Variables</label>\n <div class=\"mj-agent-props-var-pills\">\n @for (pill of UpstreamVariablePills; track pill.Token) {\n <button type=\"button\" class=\"mj-agent-props-var-pill\"\n (click)=\"OnInsertVariablePill(pill)\"\n [title]=\"'Insert ' + pill.Token + ' into Input Mapping'\">\n {{ pill.Token }}\n </button>\n }\n </div>\n </div>\n }\n <div class=\"mj-agent-props-field\">\n <label>Input Mapping</label>\n <mj-code-editor\n [value]=\"FormatJsonDisplay(Step!.ActionInputMapping)\"\n language=\"json\"\n [readonly]=\"ReadOnly\"\n setup=\"minimal\"\n [lineWrapping]=\"true\"\n placeholder=\"Enter JSON input mapping...\"\n (change)=\"OnInputMappingChange($any($event))\">\n </mj-code-editor>\n </div>\n <div class=\"mj-agent-props-field\">\n <label>Output Mapping</label>\n <mj-code-editor\n [value]=\"FormatJsonDisplay(Step!.ActionOutputMapping)\"\n language=\"json\"\n [readonly]=\"ReadOnly\"\n setup=\"minimal\"\n [lineWrapping]=\"true\"\n placeholder=\"Enter JSON output mapping...\"\n (change)=\"OnOutputMappingChange($any($event))\">\n </mj-code-editor>\n </div>\n </div>\n </ng-template>\n </mj-accordion-panel>\n }\n <!-- \u2500\u2500 Error Handling Section \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 -->\n <mj-accordion-panel class=\"mj-agent-props-accordion\" Size=\"sm\" [FlushBody]=\"true\" [Expanded]=\"!IsSectionCollapsed('errors')\" (ExpandedChange)=\"ToggleSection('errors')\">\n <ng-template mjAccordionTitle><span>Error Handling</span></ng-template>\n <ng-template mjAccordionBody>\n <div class=\"mj-agent-props-section-body\">\n <div class=\"mj-agent-props-field\">\n <label>On Error</label>\n @if (!ReadOnly) {\n <select [value]=\"Step!.OnErrorBehavior\"\n (change)=\"OnErrorBehaviorChange(InputValue($event))\"\n class=\"mj-agent-props-input\">\n <option value=\"fail\">Fail (stop flow)</option>\n <option value=\"continue\">Continue (ignore error)</option>\n <option value=\"retry\">Retry</option>\n </select>\n }\n @if (ReadOnly) {\n <div class=\"mj-agent-props-readonly-value\">\n {{ Step!.OnErrorBehavior === 'fail' ? 'Fail (stop flow)' :\n Step!.OnErrorBehavior === 'continue' ? 'Continue (ignore error)' : 'Retry' }}\n </div>\n }\n </div>\n @if (Step!.OnErrorBehavior === 'retry') {\n <div class=\"mj-agent-props-field\">\n <label>Retry Count</label>\n @if (!ReadOnly) {\n <input type=\"number\" [value]=\"Step!.RetryCount\" min=\"0\" max=\"10\"\n (input)=\"OnRetryCountChange(NumericValue($event))\"\n class=\"mj-agent-props-input\">\n }\n @if (ReadOnly) {\n <div class=\"mj-agent-props-readonly-value\">{{ Step!.RetryCount }}</div>\n }\n </div>\n }\n <div class=\"mj-agent-props-field\">\n <label>Timeout (seconds)</label>\n @if (!ReadOnly) {\n <input type=\"number\" [value]=\"Step!.TimeoutSeconds\" min=\"1\"\n (input)=\"OnTimeoutChange(NumericValue($event))\"\n class=\"mj-agent-props-input\">\n }\n @if (ReadOnly) {\n <div class=\"mj-agent-props-readonly-value\">{{ Step!.TimeoutSeconds }}s</div>\n }\n </div>\n @if (Step!.StepType === 'Action') {\n <div class=\"mj-agent-props-field\">\n <label>Saga Rollback / Undo Action (optional)</label>\n @if (!ReadOnly) {\n <select class=\"mj-agent-props-input\"\n [value]=\"ConfigText('compensationActionId')\"\n (change)=\"OnSagaCompensationActionChange(InputValue($event))\">\n <option value=\"\">-- No rollback action --</option>\n @for (action of Actions; track action.ID) {\n <option [value]=\"action.ID\">{{ action.Name }}</option>\n }\n </select>\n <div class=\"mj-agent-props-hint\">Runs automatically in reverse order if a downstream step fails and triggers Saga rollback.</div>\n } @else {\n <div class=\"mj-agent-props-readonly-value\">{{ ConfigText('compensationActionId') || 'None' }}</div>\n }\n </div>\n @if (ConfigText('compensationActionId')) {\n <div class=\"mj-agent-props-field\">\n <label>If Rollback Fails</label>\n @if (!ReadOnly) {\n <select class=\"mj-agent-props-input\"\n [value]=\"ConfigText('compensationFailurePolicy') || 'EscalateToHumanTask'\"\n (change)=\"OnSagaFailurePolicyChange(InputValue($event))\">\n <option value=\"EscalateToHumanTask\">Escalate to Person step</option>\n <option value=\"HaltSaga\">Halt rollback immediately</option>\n <option value=\"ContinueCompensation\">Continue rolling back earlier steps</option>\n </select>\n } @else {\n <div class=\"mj-agent-props-readonly-value\">{{ ConfigText('compensationFailurePolicy') || 'EscalateToHumanTask' }}</div>\n }\n </div>\n }\n }\n </div>\n </ng-template>\n </mj-accordion-panel>\n <!-- \u2500\u2500 Danger Zone \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 -->\n @if (!ReadOnly) {\n <div class=\"mj-agent-props-section mj-agent-props-danger\">\n <button class=\"mj-agent-props-delete-btn\" (click)=\"OnDeleteStep()\">\n <i class=\"fa-solid fa-trash-can\"></i> Delete Step\n </button>\n </div>\n }\n </div>\n }\n\n <!-- ============================================ -->\n <!-- PATH PROPERTIES -->\n <!-- ============================================ -->\n @if (isConnectionSelected) {\n <!-- Path Header -->\n <div class=\"mj-agent-props-header mj-agent-props-header--path\"\n [style.border-left-color]=\"pathAccentColor\">\n <div class=\"mj-agent-props-header-top\">\n <span class=\"mj-agent-props-header-label\">PATH</span>\n <button class=\"mj-agent-props-close\" (click)=\"CloseRequested.emit()\" title=\"Close\">\n <i class=\"fa-solid fa-times\"></i>\n </button>\n </div>\n <!-- Path identity card -->\n <div class=\"mj-agent-props-identity\">\n <div class=\"mj-agent-props-identity-icon mj-agent-props-identity-icon--path\"\n [style.background]=\"pathAccentColor\">\n <i class=\"fa-solid fa-arrow-right\"></i>\n </div>\n <div class=\"mj-agent-props-identity-info\">\n <span class=\"mj-agent-props-path-route\">\n <span class=\"mj-agent-props-path-step-name\">{{ originStepName }}</span>\n <i class=\"fa-solid fa-arrow-right mj-agent-props-path-arrow\"></i>\n <span class=\"mj-agent-props-path-step-name\">{{ destinationStepName }}</span>\n </span>\n <span class=\"mj-agent-props-identity-meta\">\n <span class=\"mj-agent-props-type-pill\"\n [style.color]=\"pathAccentColor\"\n [style.background]=\"pathAccentColor + '18'\">\n {{ isConditionalPath ? 'Conditional' : 'Always' }}\n </span>\n @if (PathEntity!.Priority !== 0) {\n <span class=\"mj-agent-props-priority-badge\">\n Priority: {{ PathEntity!.Priority }}\n </span>\n }\n </span>\n </div>\n </div>\n </div>\n <div class=\"mj-agent-props-content\">\n <!-- \u2500\u2500 Overview Section \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 -->\n <mj-accordion-panel class=\"mj-agent-props-accordion\" Size=\"sm\" [FlushBody]=\"true\" [Expanded]=\"!IsSectionCollapsed('path-overview')\" (ExpandedChange)=\"ToggleSection('path-overview')\">\n <ng-template mjAccordionTitle><span>Route</span></ng-template>\n <ng-template mjAccordionBody>\n <div class=\"mj-agent-props-section-body\">\n <div class=\"mj-agent-props-field\">\n <label>From</label>\n <div class=\"mj-agent-props-readonly-value mj-agent-props-readonly-value--muted\">\n {{ originStepName }}\n </div>\n </div>\n <div class=\"mj-agent-props-field\">\n <label>To</label>\n <div class=\"mj-agent-props-readonly-value mj-agent-props-readonly-value--muted\">\n {{ destinationStepName }}\n </div>\n </div>\n <span class=\"mj-agent-props-hint\">To change the route, rewire the connection on the canvas.</span>\n </div>\n </ng-template>\n </mj-accordion-panel>\n <!-- \u2500\u2500 Path Settings Section \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 -->\n <mj-accordion-panel class=\"mj-agent-props-accordion\" Size=\"sm\" [FlushBody]=\"true\" [Expanded]=\"!IsSectionCollapsed('path-settings')\" (ExpandedChange)=\"ToggleSection('path-settings')\">\n <ng-template mjAccordionTitle><span>Settings</span></ng-template>\n <ng-template mjAccordionBody>\n <div class=\"mj-agent-props-section-body\">\n <div class=\"mj-agent-props-field\">\n <label>Description</label>\n @if (!ReadOnly) {\n <input type=\"text\" [value]=\"PathEntity!.Description || ''\"\n (input)=\"OnPathDescriptionChange(InputValue($event))\"\n placeholder=\"Path label...\" class=\"mj-agent-props-input\">\n }\n @if (ReadOnly) {\n <div class=\"mj-agent-props-readonly-value\">\n {{ PathEntity!.Description || '\u2014' }}\n </div>\n }\n @if (!ReadOnly) {\n <span class=\"mj-agent-props-hint\">Displayed as a label on the connection line</span>\n }\n </div>\n <div class=\"mj-agent-props-field\">\n <label>Condition</label>\n @if (!ReadOnly) {\n <mj-code-editor\n [value]=\"PathEntity!.Condition || ''\"\n language=\"javascript\"\n [readonly]=\"false\"\n setup=\"minimal\"\n [lineWrapping]=\"true\"\n placeholder=\"e.g. payload.status === 'active'\"\n (change)=\"OnPathConditionChange($any($event))\">\n </mj-code-editor>\n }\n @if (ReadOnly && PathEntity!.Condition) {\n <mj-code-editor\n [value]=\"PathEntity!.Condition\"\n language=\"javascript\"\n [readonly]=\"true\"\n setup=\"minimal\"\n [lineWrapping]=\"true\">\n </mj-code-editor>\n }\n @if (ReadOnly && !PathEntity!.Condition) {\n <div class=\"mj-agent-props-readonly-value mj-agent-props-readonly-value--muted\">\n No condition (always taken)\n </div>\n }\n @if (!ReadOnly) {\n <span class=\"mj-agent-props-hint\">\n JavaScript expression evaluated at runtime. Leave empty for unconditional.\n </span>\n }\n <!-- The flow run check's problems with this condition (the runtime validator's). -->\n @if (PathRunProblemMessages.length > 0) {\n <mj-alert class=\"mj-agent-props-run-problems\" Variant=\"warning\" Size=\"sm\" Title=\"This condition would stop the flow\">\n <ul class=\"mj-agent-props-run-problems-list\">\n @for (message of PathRunProblemMessages; track $index) {\n <li>{{ message }}</li>\n }\n </ul>\n </mj-alert>\n }\n </div>\n <!-- Route on Answer Helper (when origin step is a Decision step) -->\n @if (OriginDecisionStep && OriginDecisionConfig) {\n <div class=\"mj-agent-props-route-helper\">\n <div class=\"mj-agent-props-route-helper-header\">\n <span class=\"mj-agent-props-route-helper-title\">\n <i class=\"fa-solid fa-wand-magic-sparkles\"></i> Route on Answer\n </span>\n </div>\n\n <div class=\"mj-agent-props-field\">\n <label>Decision Question</label>\n <select [value]=\"SelectedRouteQuestionKey\"\n (change)=\"OnRouteQuestionChange(InputValue($event))\"\n class=\"mj-agent-props-input\">\n @for (q of OriginDecisionQuestions; track q.key) {\n <option [value]=\"q.key\">{{ q.key }} ({{ q.question.kind }})</option>\n }\n </select>\n </div>\n\n @if (RouteSelectedQuestion?.kind === 'Choice') {\n <div class=\"mj-agent-props-field\">\n <label>Choice Option</label>\n <select [value]=\"SelectedRouteChoiceOption\"\n (change)=\"OnRouteChoiceOptionChange(InputValue($event))\"\n class=\"mj-agent-props-input\">\n @for (opt of RouteChoiceOptions; track opt.value) {\n <option [value]=\"opt.value\">{{ opt.value }} \u2014 {{ opt.description }}</option>\n }\n </select>\n </div>\n @if (RouteChoiceCoverageHint) {\n <div class=\"mj-agent-props-coverage-hint\">\n <i class=\"fa-solid fa-code-fork\"></i>\n <span>{{ RouteChoiceCoverageHint }}</span>\n </div>\n }\n }\n\n @if (RouteSelectedQuestion?.kind === 'Likelihood') {\n <div class=\"mj-agent-props-field\">\n <label>Probability Threshold (0..1)</label>\n <input type=\"number\" min=\"0\" max=\"1\" step=\"0.05\"\n [value]=\"RouteThresholdText\"\n (input)=\"OnRouteLikelihoodThresholdChange(InputValue($event))\"\n class=\"mj-agent-props-input\"\n [class.mj-agent-props-input--error]=\"RouteLikelihoodThreshold === null\">\n <span class=\"mj-agent-props-hint\">Route taken when probability >= threshold</span>\n </div>\n }\n\n @if (RouteSelectedQuestion?.kind === 'Score') {\n <div class=\"mj-agent-props-field\">\n <label>Minimum Level (Score >= Index)</label>\n <select [value]=\"RouteScoreLevelIndex\"\n (change)=\"OnRouteScoreLevelChange(NumericValue($event))\"\n class=\"mj-agent-props-input\">\n @for (level of RouteScoreLevels; track $index) {\n <option [value]=\"$index\">Level {{ $index }}: {{ level }}</option>\n }\n </select>\n </div>\n }\n\n @if (RouteConditionProblem; as routeProblem) {\n <span class=\"mj-agent-props-error\">{{ routeProblem }}</span>\n }\n\n @if (!ReadOnly) {\n <button type=\"button\" class=\"mj-agent-props-btn mj-agent-props-btn--secondary\"\n [disabled]=\"!GetGeneratedRouteCondition()\"\n (click)=\"ApplyRouteCondition()\">\n <i class=\"fa-solid fa-code\"></i> Apply to Condition\n </button>\n }\n </div>\n }\n <div class=\"mj-agent-props-field\">\n <label>Priority</label>\n @if (!ReadOnly) {\n <input type=\"number\" [value]=\"PathEntity!.Priority\" min=\"-100\" max=\"100\"\n (input)=\"OnPathPriorityChange(NumericValue($event))\"\n class=\"mj-agent-props-input\">\n }\n @if (ReadOnly) {\n <div class=\"mj-agent-props-readonly-value\">{{ PathEntity!.Priority }}</div>\n }\n <span class=\"mj-agent-props-hint\">Higher priority paths are evaluated first when multiple paths leave a step.</span>\n </div>\n </div>\n </ng-template>\n </mj-accordion-panel>\n <!-- \u2500\u2500 Danger Zone \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 -->\n @if (!ReadOnly) {\n <div class=\"mj-agent-props-section mj-agent-props-danger\">\n <button class=\"mj-agent-props-delete-btn\" (click)=\"OnDeletePath()\">\n <i class=\"fa-solid fa-trash-can\"></i> Delete Path\n </button>\n </div>\n }\n </div>\n }\n</div>\n", styles: ["/* ============================================================\n Agent Properties Panel \u2014 Step/Connection configuration\n ============================================================ */\n\n.mj-agent-props {\n display: flex;\n flex-direction: column;\n height: 100%;\n background: var(--mj-bg-surface);\n overflow: hidden;\n box-sizing: border-box;\n}\n\n.mj-agent-props *,\n.mj-agent-props *::before,\n.mj-agent-props *::after {\n box-sizing: border-box;\n}\n\n/* \u2500\u2500 Header \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.mj-agent-props-header {\n flex-shrink: 0;\n padding: 12px 14px;\n border-bottom: 1px solid var(--mj-bg-surface-sunken);\n border-left: 3px solid transparent;\n}\n\n.mj-agent-props-header-top {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-bottom: 10px;\n}\n\n.mj-agent-props-header-label {\n font-size: 10px;\n font-weight: 700;\n letter-spacing: 1.2px;\n text-transform: uppercase;\n color: var(--mj-text-disabled);\n}\n\n.mj-agent-props-close {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 26px;\n height: 26px;\n border: none;\n border-radius: var(--mj-radius-md);\n background: transparent;\n color: var(--mj-text-disabled);\n cursor: pointer;\n font-size: var(--mj-text-xs);\n transition: all 0.15s ease;\n}\n\n.mj-agent-props-close:hover { background: var(--mj-bg-surface-sunken); color: var(--mj-text-secondary); }\n\n/* \u2500\u2500 Identity Card \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.mj-agent-props-identity {\n display: flex;\n align-items: flex-start;\n gap: 10px;\n}\n\n.mj-agent-props-identity-icon {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 32px;\n height: 32px;\n min-width: 32px;\n border-radius: var(--mj-radius-md);\n color: white;\n font-size: var(--mj-text-sm);\n flex-shrink: 0;\n}\n\n.mj-agent-props-identity-icon--path {\n border-radius: var(--mj-radius-full);\n width: 28px;\n height: 28px;\n min-width: 28px;\n font-size: 11px;\n}\n\n.mj-agent-props-identity-info {\n display: flex;\n flex-direction: column;\n gap: 4px;\n min-width: 0;\n}\n\n.mj-agent-props-identity-name {\n font-size: var(--mj-text-sm);\n font-weight: 600;\n color: var(--mj-text-primary);\n line-height: 1.3;\n word-break: break-word;\n}\n\n.mj-agent-props-identity-meta {\n display: flex;\n align-items: center;\n gap: 6px;\n flex-wrap: wrap;\n}\n\n.mj-agent-props-type-pill {\n display: inline-flex;\n align-items: center;\n font-size: 11px;\n font-weight: 600;\n padding: 1px 7px;\n border-radius: var(--mj-radius-sm);\n line-height: 1.6;\n}\n\n.mj-agent-props-status-dot {\n display: inline-block;\n width: 7px;\n height: 7px;\n border-radius: var(--mj-radius-full);\n flex-shrink: 0;\n}\n\n.mj-agent-props-status-label {\n font-size: 11px;\n color: var(--mj-text-muted);\n}\n\n.mj-agent-props-start-badge {\n display: inline-flex;\n align-items: center;\n font-size: 10px;\n font-weight: 600;\n color: var(--mj-status-success-text);\n background: var(--mj-status-success-bg);\n padding: 1px 6px;\n border-radius: var(--mj-radius-sm);\n letter-spacing: 0.2px;\n}\n\n.mj-agent-props-picker-search {\n margin-bottom: 5px;\n font-size: var(--mj-text-xs);\n padding: 5px 8px;\n}\n\n.mj-agent-props-loop-grid {\n display: grid;\n grid-template-columns: 1fr 1fr;\n gap: 8px;\n}\n\n.mj-agent-props-var-pills {\n display: flex;\n flex-wrap: wrap;\n gap: 5px;\n}\n\n.mj-agent-props-var-pill {\n border: 1px solid color-mix(in srgb, var(--mj-brand-primary) 32%, transparent);\n background: color-mix(in srgb, var(--mj-brand-primary) 10%, var(--mj-bg-surface));\n color: var(--mj-brand-primary);\n border-radius: var(--mj-radius-sm);\n padding: 2px 7px;\n font-family: var(--mj-font-family-mono);\n font-size: 11px;\n cursor: pointer;\n transition: background-color var(--mj-transition-fast), color var(--mj-transition-fast);\n}\n\n.mj-agent-props-var-pill:hover {\n background: var(--mj-brand-primary);\n color: var(--mj-brand-on-primary);\n}\n\n.mj-agent-props-priority-badge {\n font-size: 11px;\n color: var(--mj-text-muted);\n font-weight: 500;\n}\n\n/* \u2500\u2500 Path Route Display \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.mj-agent-props-path-route {\n display: flex;\n align-items: center;\n gap: 6px;\n font-size: var(--mj-text-sm);\n font-weight: 600;\n color: var(--mj-text-primary);\n line-height: 1.3;\n flex-wrap: wrap;\n}\n\n.mj-agent-props-path-step-name {\n max-width: 100px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.mj-agent-props-path-arrow {\n font-size: 10px;\n color: var(--mj-text-disabled);\n flex-shrink: 0;\n}\n\n/* \u2500\u2500 Empty State \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.mj-agent-props-empty {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n padding: 40px 20px;\n text-align: center;\n flex: 1;\n}\n\n.mj-agent-props-empty i { font-size: 28px; color: var(--mj-border-strong); margin-bottom: 12px; }\n.mj-agent-props-empty p { font-size: var(--mj-text-sm); color: var(--mj-text-disabled); margin: 0; }\n\n/* \u2500\u2500 Scrollable Content \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.mj-agent-props-content {\n flex: 1;\n overflow-y: auto;\n padding-bottom: 16px;\n}\n\n/* \u2500\u2500 Sections \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.mj-agent-props-section {\n border-bottom: 1px solid var(--mj-bg-surface-sunken);\n}\n\n.mj-agent-props-section:last-child { border-bottom: none; }\n\n/* Section headers are now <mj-accordion-panel>; the bespoke section-header /\n section-title chrome was removed so the accordion owns the title styling. */\n.mj-agent-props-section-body {\n padding: 12px 14px;\n}\n\n/* \u2500\u2500 Fields \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.mj-agent-props-field {\n margin-bottom: 12px;\n}\n\n.mj-agent-props-field label {\n display: block;\n font-size: var(--mj-text-xs);\n font-weight: 500;\n color: var(--mj-text-secondary);\n margin-bottom: 4px;\n}\n\n.mj-agent-props-field--row {\n display: flex;\n align-items: center;\n}\n\n.mj-agent-props-input {\n width: 100%;\n padding: 6px 10px;\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-md);\n font-size: var(--mj-text-sm);\n color: var(--mj-text-primary);\n background: var(--mj-bg-surface);\n transition: border-color 0.15s ease;\n outline: none;\n font-family: inherit;\n}\n\n.mj-agent-props-input:focus { border-color: var(--mj-brand-primary); }\n.mj-agent-props-input:focus-visible { box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.15); }\n\n/* Select dropdown with consistent cross-browser styling */\nselect.mj-agent-props-input {\n appearance: none;\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E\");\n background-repeat: no-repeat;\n background-position: right 8px center;\n padding-right: 28px;\n cursor: pointer;\n}\n\n.mj-agent-props-textarea {\n resize: vertical;\n min-height: 48px;\n}\n\n.mj-agent-props-checkbox-label {\n display: flex !important;\n align-items: center;\n gap: 8px;\n font-size: var(--mj-text-sm);\n color: var(--mj-text-secondary);\n cursor: pointer;\n}\n\n.mj-agent-props-checkbox-label input[type=\"checkbox\"] {\n width: 16px;\n height: 16px;\n accent-color: var(--mj-brand-primary);\n cursor: pointer;\n}\n\n/* \u2500\u2500 Read-only Values \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.mj-agent-props-readonly-value {\n display: flex;\n align-items: center;\n gap: 6px;\n font-size: var(--mj-text-sm);\n color: var(--mj-text-primary);\n background: var(--mj-bg-page);\n border: 1px solid var(--mj-bg-surface-sunken);\n border-radius: var(--mj-radius-md);\n padding: 6px 10px;\n min-height: 34px;\n word-break: break-word;\n}\n\n.mj-agent-props-readonly-value--muted {\n color: var(--mj-text-muted);\n font-style: italic;\n}\n\n/* \u2500\u2500 Code Editor in Panel \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.mj-agent-props-field mj-code-editor {\n display: block;\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-md);\n overflow: hidden;\n min-height: 60px;\n max-height: 200px;\n}\n\n.mj-agent-props-field mj-code-editor .cm-editor {\n font-size: var(--mj-text-xs);\n}\n\n/* \u2500\u2500 Hints \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.mj-agent-props-hint {\n display: block;\n font-size: 11px;\n color: var(--mj-text-disabled);\n margin-top: 3px;\n}\n\n/* \u2500\u2500 Danger Zone \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.mj-agent-props-danger {\n padding: 12px 14px;\n}\n\n.mj-agent-props-delete-btn {\n width: 100%;\n padding: 8px 12px;\n border: 1px solid color-mix(in srgb, var(--mj-status-error) 30%, transparent);\n border-radius: var(--mj-radius-md);\n background: var(--mj-status-error-bg);\n color: var(--mj-status-error);\n font-size: var(--mj-text-sm);\n font-weight: 500;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 6px;\n transition: all 0.15s ease;\n}\n\n.mj-agent-props-delete-btn:hover {\n background: color-mix(in srgb, var(--mj-status-error) 16%, var(--mj-bg-surface));\n border-color: var(--mj-status-error-border);\n}\n\n.mj-agent-props-delete-btn i { font-size: var(--mj-text-xs); }\n\n/* \u2500\u2500 Decision Step & Route Helper \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.mj-agent-props-required {\n color: var(--mj-status-error);\n}\n\n.mj-agent-props-input--error {\n border-color: var(--mj-status-error);\n}\n\n.mj-agent-props-error {\n display: block;\n font-size: 11px;\n color: var(--mj-status-error);\n margin-top: 3px;\n}\n\n.mj-agent-props-textarea {\n resize: vertical;\n min-height: 52px;\n font-family: inherit;\n line-height: 1.4;\n}\n\n.mj-agent-props-questions-header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-top: 14px;\n margin-bottom: 8px;\n}\n\n.mj-agent-props-questions-label {\n font-size: var(--mj-text-xs);\n font-weight: 600;\n color: var(--mj-text-secondary);\n text-transform: uppercase;\n letter-spacing: 0.5px;\n}\n\n.mj-agent-props-questions-list {\n display: flex;\n flex-direction: column;\n gap: 10px;\n margin-bottom: 12px;\n}\n\n.mj-agent-props-question-card {\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-md);\n background: var(--mj-bg-surface);\n overflow: hidden;\n}\n\n.mj-agent-props-question-card-header {\n display: flex;\n align-items: center;\n gap: 8px;\n padding: 6px 10px;\n background: var(--mj-bg-surface-sunken);\n border-bottom: 1px solid var(--mj-border-subtle);\n}\n\n.mj-agent-props-question-card-title {\n display: flex;\n align-items: center;\n gap: 6px;\n font-size: var(--mj-text-xs);\n font-weight: 600;\n color: var(--mj-text-primary);\n flex: 1;\n min-width: 0;\n}\n\n.mj-agent-props-question-card-title code {\n font-size: 11px;\n color: var(--mj-text-primary);\n background: var(--mj-bg-surface);\n padding: 1px 4px;\n border-radius: var(--mj-radius-sm);\n border: 1px solid var(--mj-border-subtle);\n}\n\n.mj-agent-props-question-kind-badge {\n font-size: 10px;\n font-weight: 600;\n padding: 2px 6px;\n border-radius: var(--mj-radius-sm);\n background: var(--mj-bg-surface);\n color: var(--mj-text-secondary);\n border: 1px solid var(--mj-border-subtle);\n}\n\n.mj-agent-props-question-card-body {\n padding: 10px;\n display: flex;\n flex-direction: column;\n gap: 8px;\n}\n\n.mj-agent-props-options-section,\n.mj-agent-props-levels-section {\n border-top: 1px solid var(--mj-border-subtle);\n padding-top: 8px;\n display: flex;\n flex-direction: column;\n gap: 6px;\n}\n\n.mj-agent-props-options-header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n font-size: 11px;\n font-weight: 600;\n color: var(--mj-text-secondary);\n}\n\n.mj-agent-props-option-row,\n.mj-agent-props-level-row {\n display: flex;\n align-items: center;\n gap: 6px;\n}\n\n.mj-agent-props-level-badge {\n font-size: 11px;\n font-weight: 700;\n width: 18px;\n text-align: center;\n color: var(--mj-text-secondary);\n flex-shrink: 0;\n}\n\n.mj-agent-props-input--sm {\n height: 28px;\n font-size: var(--mj-text-xs);\n padding: 4px 8px;\n}\n\n.mj-agent-props-btn {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n gap: 6px;\n border-radius: var(--mj-radius-md);\n font-weight: 500;\n cursor: pointer;\n transition: all 0.15s ease;\n border: 1px solid var(--mj-border-default);\n background: var(--mj-bg-surface);\n color: var(--mj-text-primary);\n}\n\n.mj-agent-props-btn:hover:not(:disabled) {\n background: var(--mj-bg-surface-sunken);\n}\n\n.mj-agent-props-btn:disabled {\n opacity: 0.5;\n cursor: not-allowed;\n}\n\n.mj-agent-props-btn--sm {\n height: 26px;\n padding: 2px 8px;\n font-size: var(--mj-text-xs);\n}\n\n.mj-agent-props-btn--xs {\n height: 22px;\n padding: 1px 6px;\n font-size: 11px;\n}\n\n.mj-agent-props-btn--secondary {\n background: var(--mj-bg-surface);\n border-color: var(--mj-border-default);\n font-size: var(--mj-text-xs);\n padding: 6px 12px;\n width: 100%;\n margin-top: 4px;\n}\n\n.mj-agent-props-btn--secondary:hover:not(:disabled) {\n background: var(--mj-bg-surface-sunken);\n}\n\n.mj-agent-props-icon-btn {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 24px;\n height: 24px;\n border: 1px solid var(--mj-border-subtle);\n border-radius: var(--mj-radius-sm);\n background: transparent;\n color: var(--mj-text-secondary);\n cursor: pointer;\n flex-shrink: 0;\n}\n\n.mj-agent-props-icon-btn:hover:not(:disabled) {\n background: var(--mj-bg-surface-sunken);\n color: var(--mj-text-primary);\n}\n\n.mj-agent-props-icon-btn:disabled {\n opacity: 0.4;\n cursor: not-allowed;\n}\n\n.mj-agent-props-icon-btn--danger {\n color: var(--mj-status-error);\n}\n\n.mj-agent-props-icon-btn--danger:hover:not(:disabled) {\n background: var(--mj-status-error-bg);\n}\n\n.mj-agent-props-coverage-hint {\n display: flex;\n align-items: center;\n gap: 6px;\n font-size: 11px;\n color: var(--mj-text-secondary);\n padding: 4px 6px;\n background: var(--mj-bg-surface-sunken);\n border-radius: var(--mj-radius-sm);\n margin-top: 2px;\n}\n\n.mj-agent-props-coverage-hint i {\n font-size: 11px;\n color: var(--mj-text-disabled);\n}\n\n.mj-agent-props-run-problems {\n display: flex;\n margin: 10px 0 0;\n}\n\n.mj-agent-props-content > .mj-agent-props-run-problems {\n margin: 10px 14px;\n}\n\n.mj-agent-props-run-problems-list {\n margin: 4px 0 0;\n padding-inline-start: 1.1rem;\n word-break: break-word;\n}\n\n.mj-agent-props-route-helper {\n margin-top: 10px;\n padding: 10px;\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-md);\n background: var(--mj-bg-surface-sunken);\n display: flex;\n flex-direction: column;\n gap: 8px;\n}\n\n.mj-agent-props-route-helper-header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n\n.mj-agent-props-route-helper-title {\n display: flex;\n align-items: center;\n gap: 6px;\n font-size: var(--mj-text-xs);\n font-weight: 600;\n color: var(--mj-text-primary);\n text-transform: uppercase;\n letter-spacing: 0.5px;\n}\n"] }]
|
|
2587
3305
|
}], null, { Step: [{
|
|
2588
3306
|
type: Input
|
|
2589
3307
|
}], SelectedConnection: [{
|
|
@@ -2617,5 +3335,5 @@ export class AgentPropertiesPanelComponent {
|
|
|
2617
3335
|
}], CloseRequested: [{
|
|
2618
3336
|
type: Output
|
|
2619
3337
|
}] }); })();
|
|
2620
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AgentPropertiesPanelComponent, { className: "AgentPropertiesPanelComponent", filePath: "src/lib/agent-editor/agent-properties-panel.component.ts", lineNumber:
|
|
3338
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AgentPropertiesPanelComponent, { className: "AgentPropertiesPanelComponent", filePath: "src/lib/agent-editor/agent-properties-panel.component.ts", lineNumber: 86 }); })();
|
|
2621
3339
|
//# sourceMappingURL=agent-properties-panel.component.js.map
|