@memberjunction/ng-core-entity-forms 2.87.0 → 2.88.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-agent-form-section.component.d.ts.map +1 -1
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-agent-form-section.component.js +7 -7
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-agent-form-section.component.js.map +1 -1
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/components/condition-editor/condition-editor.component.d.ts +29 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/components/condition-editor/condition-editor.component.d.ts.map +1 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/components/condition-editor/condition-editor.component.js +198 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/components/condition-editor/condition-editor.component.js.map +1 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/components/confirmation-dialog/confirmation-dialog.component.d.ts +14 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/components/confirmation-dialog/confirmation-dialog.component.d.ts.map +1 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/components/confirmation-dialog/confirmation-dialog.component.js +98 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/components/confirmation-dialog/confirmation-dialog.component.js.map +1 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/components/custom-node/custom-node.component.d.ts +44 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/components/custom-node/custom-node.component.d.ts.map +1 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/components/custom-node/custom-node.component.js +282 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/components/custom-node/custom-node.component.js.map +1 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/components/execution-panel/execution-panel.component.d.ts +35 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/components/execution-panel/execution-panel.component.d.ts.map +1 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/components/execution-panel/execution-panel.component.js +287 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/components/execution-panel/execution-panel.component.js.map +1 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/components/flow-editor/flow-editor.component.d.ts +106 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/components/flow-editor/flow-editor.component.d.ts.map +1 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/components/flow-editor/flow-editor.component.js +951 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/components/flow-editor/flow-editor.component.js.map +1 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/components/prompt-editor/prompt-editor.component.d.ts +30 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/components/prompt-editor/prompt-editor.component.d.ts.map +1 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/components/prompt-editor/prompt-editor.component.js +450 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/components/prompt-editor/prompt-editor.component.js.map +1 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/components/properties-panel/properties-panel.component.d.ts +25 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/components/properties-panel/properties-panel.component.d.ts.map +1 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/components/properties-panel/properties-panel.component.js +423 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/components/properties-panel/properties-panel.component.js.map +1 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/components/simple-condition-editor/simple-condition-editor.component.d.ts +21 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/components/simple-condition-editor/simple-condition-editor.component.d.ts.map +1 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/components/simple-condition-editor/simple-condition-editor.component.js +182 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/components/simple-condition-editor/simple-condition-editor.component.js.map +1 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/components/step/step.component.d.ts +34 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/components/step/step.component.d.ts.map +1 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/components/step/step.component.js +171 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/components/step/step.component.js.map +1 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/components/toolbar/toolbar.component.d.ts +17 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/components/toolbar/toolbar.component.d.ts.map +1 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/components/toolbar/toolbar.component.js +78 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/components/toolbar/toolbar.component.js.map +1 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/models/connection.model.d.ts +17 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/models/connection.model.d.ts.map +1 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/models/connection.model.js +11 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/models/connection.model.js.map +1 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/models/mj-extended.model.d.ts +21 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/models/mj-extended.model.d.ts.map +1 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/models/mj-extended.model.js +2 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/models/mj-extended.model.js.map +1 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/models/module.model.d.ts +33 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/models/module.model.d.ts.map +1 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/models/module.model.js +2 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/models/module.model.js.map +1 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/models/step.model.d.ts +44 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/models/step.model.d.ts.map +1 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/models/step.model.js +166 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/models/step.model.js.map +1 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/services/flow-editor.service.d.ts +14 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/services/flow-editor.service.d.ts.map +1 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/services/flow-editor.service.js +31 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/services/flow-editor.service.js.map +1 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/services/flow-executor.service.d.ts +63 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/services/flow-executor.service.d.ts.map +1 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/services/flow-executor.service.js +294 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/services/flow-executor.service.js.map +1 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/services/mj-flow-transformer.service.d.ts +77 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/services/mj-flow-transformer.service.d.ts.map +1 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/services/mj-flow-transformer.service.js +408 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/services/mj-flow-transformer.service.js.map +1 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/services/module-manager.service.d.ts +19 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/services/module-manager.service.d.ts.map +1 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/services/module-manager.service.js +116 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/services/module-manager.service.js.map +1 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/services/prompt-manager.service.d.ts +25 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/services/prompt-manager.service.d.ts.map +1 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/services/prompt-manager.service.js +90 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/services/prompt-manager.service.js.map +1 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/mj-integrated-flow-editor.component.d.ts +52 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/mj-integrated-flow-editor.component.d.ts.map +1 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/mj-integrated-flow-editor.component.js +500 -0
- package/dist/lib/custom/AIAgents/FlowAgentType/mj-integrated-flow-editor.component.js.map +1 -0
- package/dist/lib/custom/custom-forms.module.d.ts +2 -1
- package/dist/lib/custom/custom-forms.module.d.ts.map +1 -1
- package/dist/lib/custom/custom-forms.module.js +10 -4
- package/dist/lib/custom/custom-forms.module.js.map +1 -1
- package/dist/lib/generated/Entities/Component/sections/details.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/Component/sections/details.component.js +40 -4
- package/dist/lib/generated/Entities/Component/sections/details.component.js.map +1 -1
- package/package.json +16 -16
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flow-editor.component.js","sourceRoot":"","sources":["../../../../../../../../src/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/components/flow-editor/flow-editor.component.ts","../../../../../../../../src/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/components/flow-editor/flow-editor.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAU,SAAS,EAA2F,MAAM,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC5K,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAG/C,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,8BAA8B,EAAE,MAAM,8DAA8D,CAAC;AAC9G,OAAO,EAAE,2BAA2B,EAAE,MAAM,sDAAsD,CAAC;AACnG,OAAO,EAAkB,YAAY,EAAE,MAAM,yBAAyB,CAAC;;;;;;;ICE/D,AADF,+BAAqD,cAC1B;;IACvB,+BAA2B;IACzB,2BAAsE;IACxE,iBAAM;;IACN,4BAAM;IAAA,wCAAwB;IAChC,AADgC,iBAAO,EACjC;IACN,+BAAyB;;IACvB,+BAA2B;IACzB,2BAAsE;IACxE,iBAAM;;IACN,4BAAM;IAAA,0CAAyB;IACjC,AADiC,iBAAO,EAClC;IACN,gCAAyB;;IACvB,gCAA2B;IACzB,4BAAsE;IACxE,iBAAM;;IACN,6BAAM;IAAA,yCAAwB;IAChC,AADgC,iBAAO,EACjC;IACN,gCAAyB;;IACvB,gCAA2B;IACzB,4BAAsE;IACxE,iBAAM;;IACN,6BAAM;IAAA,2CAA0B;IAClC,AADkC,iBAAO,EACnC;IACN,gCAAyB;IACvB,mFACF;IACF,AADE,iBAAM,EACF;;;;;IAuEF,yBAAgC;IAE9B,2BAQgC;IAChC,gCAUmD;IAAjD,oPAAS,+CAAqC,KAAC;IAVjD,iBAUmD;IACnD,gCAOiD;IAC/C,YACF;IACF,AADE,iBAAO,EACL;;;;IA7BA,cAAmF;;IASnF,cAAmF;;IAWnF,cAA8C;;IAO9C,cACF;IADE,wEACF;;;;;IAjDF,AADF,yBAA0C,eASe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AY,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE;YAC/B,eAAe;kBAAxB,MAAM;YACG,SAAS;kBAAlB,MAAM;;kFAHI,mBAAmB"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { StepProperty } from '../../models/step.model';
|
|
3
|
+
import { PromptManagerService, CustomPrompt } from '../../services/prompt-manager.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class PromptEditorComponent implements OnInit {
|
|
6
|
+
private promptManager;
|
|
7
|
+
promptId?: string;
|
|
8
|
+
isNew: boolean;
|
|
9
|
+
save: EventEmitter<CustomPrompt>;
|
|
10
|
+
cancel: EventEmitter<void>;
|
|
11
|
+
promptName: string;
|
|
12
|
+
properties: StepProperty[];
|
|
13
|
+
propertyTypes: {
|
|
14
|
+
value: string;
|
|
15
|
+
label: string;
|
|
16
|
+
}[];
|
|
17
|
+
constructor(promptManager: PromptManagerService);
|
|
18
|
+
ngOnInit(): void;
|
|
19
|
+
addProperty(): void;
|
|
20
|
+
removeProperty(index: number): void;
|
|
21
|
+
updatePropertyType(property: StepProperty): void;
|
|
22
|
+
addSelectOption(property: StepProperty): void;
|
|
23
|
+
removeSelectOption(property: StepProperty, index: number): void;
|
|
24
|
+
savePrompt(): void;
|
|
25
|
+
onCancel(): void;
|
|
26
|
+
sanitizeKey(event: any, property: StepProperty): void;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PromptEditorComponent, never>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PromptEditorComponent, "app-prompt-editor", never, { "promptId": { "alias": "promptId"; "required": false; }; "isNew": { "alias": "isNew"; "required": false; }; }, { "save": "save"; "cancel": "cancel"; }, never, never, true, never>;
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=prompt-editor.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prompt-editor.component.d.ts","sourceRoot":"","sources":["../../../../../../../../src/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/components/prompt-editor/prompt-editor.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAAiB,MAAM,EAAE,MAAM,eAAe,CAAC;AAG/E,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,oBAAoB,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;;AAE3F,qBAOa,qBAAsB,YAAW,MAAM;IAmBtC,OAAO,CAAC,aAAa;IAlBxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,OAAO,CAAS;IACtB,IAAI,6BAAoC;IACxC,MAAM,qBAA4B;IAE5C,UAAU,EAAE,MAAM,CAAM;IACxB,UAAU,EAAE,YAAY,EAAE,CAAM;IAGhC,aAAa;;;QAOX;gBAEkB,aAAa,EAAE,oBAAoB;IAEvD,QAAQ;IAqBR,WAAW;IAWX,cAAc,CAAC,KAAK,EAAE,MAAM;IAI5B,kBAAkB,CAAC,QAAQ,EAAE,YAAY;IA+BzC,eAAe,CAAC,QAAQ,EAAE,YAAY;IAUtC,kBAAkB,CAAC,QAAQ,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM;IAMxD,UAAU;IAmCV,QAAQ;IAKR,WAAW,CAAC,KAAK,EAAE,GAAG,EAAE,QAAQ,EAAE,YAAY;yCAhJnC,qBAAqB;2CAArB,qBAAqB;CAoJjC"}
|
|
@@ -0,0 +1,450 @@
|
|
|
1
|
+
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { FormsModule } from '@angular/forms';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "../../services/prompt-manager.service";
|
|
6
|
+
import * as i2 from "@angular/common";
|
|
7
|
+
import * as i3 from "@angular/forms";
|
|
8
|
+
function PromptEditorComponent_div_20_button_4_Template(rf, ctx) { if (rf & 1) {
|
|
9
|
+
const _r2 = i0.ɵɵgetCurrentView();
|
|
10
|
+
i0.ɵɵelementStart(0, "button", 43);
|
|
11
|
+
i0.ɵɵlistener("click", function PromptEditorComponent_div_20_button_4_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r2); const i_r3 = i0.ɵɵnextContext().index; const ctx_r3 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r3.removeProperty(i_r3)); });
|
|
12
|
+
i0.ɵɵelement(1, "i", 44);
|
|
13
|
+
i0.ɵɵelementEnd();
|
|
14
|
+
} }
|
|
15
|
+
function PromptEditorComponent_div_20_option_20_Template(rf, ctx) { if (rf & 1) {
|
|
16
|
+
i0.ɵɵelementStart(0, "option", 45);
|
|
17
|
+
i0.ɵɵtext(1);
|
|
18
|
+
i0.ɵɵelementEnd();
|
|
19
|
+
} if (rf & 2) {
|
|
20
|
+
const type_r6 = ctx.$implicit;
|
|
21
|
+
i0.ɵɵproperty("value", type_r6.value);
|
|
22
|
+
i0.ɵɵadvance();
|
|
23
|
+
i0.ɵɵtextInterpolate1(" ", type_r6.label, " ");
|
|
24
|
+
} }
|
|
25
|
+
function PromptEditorComponent_div_20_div_26_Template(rf, ctx) { if (rf & 1) {
|
|
26
|
+
const _r7 = i0.ɵɵgetCurrentView();
|
|
27
|
+
i0.ɵɵelementStart(0, "div", 25)(1, "div", 46)(2, "label");
|
|
28
|
+
i0.ɵɵtext(3, "Min");
|
|
29
|
+
i0.ɵɵelementEnd();
|
|
30
|
+
i0.ɵɵelementStart(4, "input", 47);
|
|
31
|
+
i0.ɵɵtwoWayListener("ngModelChange", function PromptEditorComponent_div_20_div_26_Template_input_ngModelChange_4_listener($event) { i0.ɵɵrestoreView(_r7); const property_r5 = i0.ɵɵnextContext().$implicit; i0.ɵɵtwoWayBindingSet(property_r5.min, $event) || (property_r5.min = $event); return i0.ɵɵresetView($event); });
|
|
32
|
+
i0.ɵɵelementEnd()();
|
|
33
|
+
i0.ɵɵelementStart(5, "div", 46)(6, "label");
|
|
34
|
+
i0.ɵɵtext(7, "Max");
|
|
35
|
+
i0.ɵɵelementEnd();
|
|
36
|
+
i0.ɵɵelementStart(8, "input", 47);
|
|
37
|
+
i0.ɵɵtwoWayListener("ngModelChange", function PromptEditorComponent_div_20_div_26_Template_input_ngModelChange_8_listener($event) { i0.ɵɵrestoreView(_r7); const property_r5 = i0.ɵɵnextContext().$implicit; i0.ɵɵtwoWayBindingSet(property_r5.max, $event) || (property_r5.max = $event); return i0.ɵɵresetView($event); });
|
|
38
|
+
i0.ɵɵelementEnd()();
|
|
39
|
+
i0.ɵɵelementStart(9, "div", 46)(10, "label");
|
|
40
|
+
i0.ɵɵtext(11, "Step");
|
|
41
|
+
i0.ɵɵelementEnd();
|
|
42
|
+
i0.ɵɵelementStart(12, "input", 47);
|
|
43
|
+
i0.ɵɵtwoWayListener("ngModelChange", function PromptEditorComponent_div_20_div_26_Template_input_ngModelChange_12_listener($event) { i0.ɵɵrestoreView(_r7); const property_r5 = i0.ɵɵnextContext().$implicit; i0.ɵɵtwoWayBindingSet(property_r5.step, $event) || (property_r5.step = $event); return i0.ɵɵresetView($event); });
|
|
44
|
+
i0.ɵɵelementEnd()()();
|
|
45
|
+
} if (rf & 2) {
|
|
46
|
+
const property_r5 = i0.ɵɵnextContext().$implicit;
|
|
47
|
+
i0.ɵɵadvance(4);
|
|
48
|
+
i0.ɵɵtwoWayProperty("ngModel", property_r5.min);
|
|
49
|
+
i0.ɵɵadvance(4);
|
|
50
|
+
i0.ɵɵtwoWayProperty("ngModel", property_r5.max);
|
|
51
|
+
i0.ɵɵadvance(4);
|
|
52
|
+
i0.ɵɵtwoWayProperty("ngModel", property_r5.step);
|
|
53
|
+
} }
|
|
54
|
+
function PromptEditorComponent_div_20_div_27_Template(rf, ctx) { if (rf & 1) {
|
|
55
|
+
const _r8 = i0.ɵɵgetCurrentView();
|
|
56
|
+
i0.ɵɵelementStart(0, "div", 26)(1, "label");
|
|
57
|
+
i0.ɵɵtext(2, "Rows");
|
|
58
|
+
i0.ɵɵelementEnd();
|
|
59
|
+
i0.ɵɵelementStart(3, "input", 48);
|
|
60
|
+
i0.ɵɵtwoWayListener("ngModelChange", function PromptEditorComponent_div_20_div_27_Template_input_ngModelChange_3_listener($event) { i0.ɵɵrestoreView(_r8); const property_r5 = i0.ɵɵnextContext().$implicit; i0.ɵɵtwoWayBindingSet(property_r5.rows, $event) || (property_r5.rows = $event); return i0.ɵɵresetView($event); });
|
|
61
|
+
i0.ɵɵelementEnd()();
|
|
62
|
+
} if (rf & 2) {
|
|
63
|
+
const property_r5 = i0.ɵɵnextContext().$implicit;
|
|
64
|
+
i0.ɵɵadvance(3);
|
|
65
|
+
i0.ɵɵtwoWayProperty("ngModel", property_r5.rows);
|
|
66
|
+
} }
|
|
67
|
+
function PromptEditorComponent_div_20_div_28_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
68
|
+
const _r10 = i0.ɵɵgetCurrentView();
|
|
69
|
+
i0.ɵɵelementStart(0, "div", 53)(1, "input", 54);
|
|
70
|
+
i0.ɵɵtwoWayListener("ngModelChange", function PromptEditorComponent_div_20_div_28_div_4_Template_input_ngModelChange_1_listener($event) { const option_r11 = i0.ɵɵrestoreView(_r10).$implicit; i0.ɵɵtwoWayBindingSet(option_r11.value, $event) || (option_r11.value = $event); return i0.ɵɵresetView($event); });
|
|
71
|
+
i0.ɵɵelementEnd();
|
|
72
|
+
i0.ɵɵelementStart(2, "input", 55);
|
|
73
|
+
i0.ɵɵtwoWayListener("ngModelChange", function PromptEditorComponent_div_20_div_28_div_4_Template_input_ngModelChange_2_listener($event) { const option_r11 = i0.ɵɵrestoreView(_r10).$implicit; i0.ɵɵtwoWayBindingSet(option_r11.label, $event) || (option_r11.label = $event); return i0.ɵɵresetView($event); });
|
|
74
|
+
i0.ɵɵelementEnd();
|
|
75
|
+
i0.ɵɵelementStart(3, "button", 56);
|
|
76
|
+
i0.ɵɵlistener("click", function PromptEditorComponent_div_20_div_28_div_4_Template_button_click_3_listener() { const j_r12 = i0.ɵɵrestoreView(_r10).index; const property_r5 = i0.ɵɵnextContext(2).$implicit; const ctx_r3 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r3.removeSelectOption(property_r5, j_r12)); });
|
|
77
|
+
i0.ɵɵelement(4, "i", 5);
|
|
78
|
+
i0.ɵɵelementEnd()();
|
|
79
|
+
} if (rf & 2) {
|
|
80
|
+
const option_r11 = ctx.$implicit;
|
|
81
|
+
i0.ɵɵadvance();
|
|
82
|
+
i0.ɵɵtwoWayProperty("ngModel", option_r11.value);
|
|
83
|
+
i0.ɵɵadvance();
|
|
84
|
+
i0.ɵɵtwoWayProperty("ngModel", option_r11.label);
|
|
85
|
+
} }
|
|
86
|
+
function PromptEditorComponent_div_20_div_28_Template(rf, ctx) { if (rf & 1) {
|
|
87
|
+
const _r9 = i0.ɵɵgetCurrentView();
|
|
88
|
+
i0.ɵɵelementStart(0, "div", 49)(1, "label");
|
|
89
|
+
i0.ɵɵtext(2, "Options");
|
|
90
|
+
i0.ɵɵelementEnd();
|
|
91
|
+
i0.ɵɵelementStart(3, "div", 50);
|
|
92
|
+
i0.ɵɵtemplate(4, PromptEditorComponent_div_20_div_28_div_4_Template, 5, 2, "div", 51);
|
|
93
|
+
i0.ɵɵelementStart(5, "button", 52);
|
|
94
|
+
i0.ɵɵlistener("click", function PromptEditorComponent_div_20_div_28_Template_button_click_5_listener() { i0.ɵɵrestoreView(_r9); const property_r5 = i0.ɵɵnextContext().$implicit; const ctx_r3 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r3.addSelectOption(property_r5)); });
|
|
95
|
+
i0.ɵɵelement(6, "i", 13);
|
|
96
|
+
i0.ɵɵtext(7, " Add Option ");
|
|
97
|
+
i0.ɵɵelementEnd()()();
|
|
98
|
+
} if (rf & 2) {
|
|
99
|
+
const property_r5 = i0.ɵɵnextContext().$implicit;
|
|
100
|
+
i0.ɵɵadvance(4);
|
|
101
|
+
i0.ɵɵproperty("ngForOf", property_r5.options);
|
|
102
|
+
} }
|
|
103
|
+
function PromptEditorComponent_div_20_input_33_Template(rf, ctx) { if (rf & 1) {
|
|
104
|
+
const _r13 = i0.ɵɵgetCurrentView();
|
|
105
|
+
i0.ɵɵelementStart(0, "input", 57);
|
|
106
|
+
i0.ɵɵtwoWayListener("ngModelChange", function PromptEditorComponent_div_20_input_33_Template_input_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r13); const property_r5 = i0.ɵɵnextContext().$implicit; i0.ɵɵtwoWayBindingSet(property_r5.defaultValue, $event) || (property_r5.defaultValue = $event); return i0.ɵɵresetView($event); });
|
|
107
|
+
i0.ɵɵelementEnd();
|
|
108
|
+
} if (rf & 2) {
|
|
109
|
+
const property_r5 = i0.ɵɵnextContext().$implicit;
|
|
110
|
+
i0.ɵɵtwoWayProperty("ngModel", property_r5.defaultValue);
|
|
111
|
+
} }
|
|
112
|
+
function PromptEditorComponent_div_20_input_34_Template(rf, ctx) { if (rf & 1) {
|
|
113
|
+
const _r14 = i0.ɵɵgetCurrentView();
|
|
114
|
+
i0.ɵɵelementStart(0, "input", 47);
|
|
115
|
+
i0.ɵɵtwoWayListener("ngModelChange", function PromptEditorComponent_div_20_input_34_Template_input_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r14); const property_r5 = i0.ɵɵnextContext().$implicit; i0.ɵɵtwoWayBindingSet(property_r5.defaultValue, $event) || (property_r5.defaultValue = $event); return i0.ɵɵresetView($event); });
|
|
116
|
+
i0.ɵɵelementEnd();
|
|
117
|
+
} if (rf & 2) {
|
|
118
|
+
const property_r5 = i0.ɵɵnextContext().$implicit;
|
|
119
|
+
i0.ɵɵtwoWayProperty("ngModel", property_r5.defaultValue);
|
|
120
|
+
} }
|
|
121
|
+
function PromptEditorComponent_div_20_textarea_35_Template(rf, ctx) { if (rf & 1) {
|
|
122
|
+
const _r15 = i0.ɵɵgetCurrentView();
|
|
123
|
+
i0.ɵɵelementStart(0, "textarea", 58);
|
|
124
|
+
i0.ɵɵtwoWayListener("ngModelChange", function PromptEditorComponent_div_20_textarea_35_Template_textarea_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r15); const property_r5 = i0.ɵɵnextContext().$implicit; i0.ɵɵtwoWayBindingSet(property_r5.defaultValue, $event) || (property_r5.defaultValue = $event); return i0.ɵɵresetView($event); });
|
|
125
|
+
i0.ɵɵtext(1, " ");
|
|
126
|
+
i0.ɵɵelementEnd();
|
|
127
|
+
} if (rf & 2) {
|
|
128
|
+
const property_r5 = i0.ɵɵnextContext().$implicit;
|
|
129
|
+
i0.ɵɵtwoWayProperty("ngModel", property_r5.defaultValue);
|
|
130
|
+
i0.ɵɵproperty("rows", 2);
|
|
131
|
+
} }
|
|
132
|
+
function PromptEditorComponent_div_20_textarea_36_Template(rf, ctx) { if (rf & 1) {
|
|
133
|
+
const _r16 = i0.ɵɵgetCurrentView();
|
|
134
|
+
i0.ɵɵelementStart(0, "textarea", 59);
|
|
135
|
+
i0.ɵɵtwoWayListener("ngModelChange", function PromptEditorComponent_div_20_textarea_36_Template_textarea_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r16); const property_r5 = i0.ɵɵnextContext().$implicit; i0.ɵɵtwoWayBindingSet(property_r5.defaultValue, $event) || (property_r5.defaultValue = $event); return i0.ɵɵresetView($event); });
|
|
136
|
+
i0.ɵɵtext(1, " ");
|
|
137
|
+
i0.ɵɵelementEnd();
|
|
138
|
+
} if (rf & 2) {
|
|
139
|
+
const property_r5 = i0.ɵɵnextContext().$implicit;
|
|
140
|
+
i0.ɵɵtwoWayProperty("ngModel", property_r5.defaultValue);
|
|
141
|
+
i0.ɵɵproperty("rows", 2);
|
|
142
|
+
} }
|
|
143
|
+
function PromptEditorComponent_div_20_select_37_option_1_Template(rf, ctx) { if (rf & 1) {
|
|
144
|
+
i0.ɵɵelementStart(0, "option", 45);
|
|
145
|
+
i0.ɵɵtext(1);
|
|
146
|
+
i0.ɵɵelementEnd();
|
|
147
|
+
} if (rf & 2) {
|
|
148
|
+
const opt_r18 = ctx.$implicit;
|
|
149
|
+
i0.ɵɵproperty("value", opt_r18.value);
|
|
150
|
+
i0.ɵɵadvance();
|
|
151
|
+
i0.ɵɵtextInterpolate1(" ", opt_r18.label, " ");
|
|
152
|
+
} }
|
|
153
|
+
function PromptEditorComponent_div_20_select_37_Template(rf, ctx) { if (rf & 1) {
|
|
154
|
+
const _r17 = i0.ɵɵgetCurrentView();
|
|
155
|
+
i0.ɵɵelementStart(0, "select", 60);
|
|
156
|
+
i0.ɵɵtwoWayListener("ngModelChange", function PromptEditorComponent_div_20_select_37_Template_select_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r17); const property_r5 = i0.ɵɵnextContext().$implicit; i0.ɵɵtwoWayBindingSet(property_r5.defaultValue, $event) || (property_r5.defaultValue = $event); return i0.ɵɵresetView($event); });
|
|
157
|
+
i0.ɵɵtemplate(1, PromptEditorComponent_div_20_select_37_option_1_Template, 2, 2, "option", 30);
|
|
158
|
+
i0.ɵɵelementEnd();
|
|
159
|
+
} if (rf & 2) {
|
|
160
|
+
const property_r5 = i0.ɵɵnextContext().$implicit;
|
|
161
|
+
i0.ɵɵtwoWayProperty("ngModel", property_r5.defaultValue);
|
|
162
|
+
i0.ɵɵadvance();
|
|
163
|
+
i0.ɵɵproperty("ngForOf", property_r5.options);
|
|
164
|
+
} }
|
|
165
|
+
function PromptEditorComponent_div_20_label_38_Template(rf, ctx) { if (rf & 1) {
|
|
166
|
+
const _r19 = i0.ɵɵgetCurrentView();
|
|
167
|
+
i0.ɵɵelementStart(0, "label", 61)(1, "input", 62);
|
|
168
|
+
i0.ɵɵtwoWayListener("ngModelChange", function PromptEditorComponent_div_20_label_38_Template_input_ngModelChange_1_listener($event) { i0.ɵɵrestoreView(_r19); const property_r5 = i0.ɵɵnextContext().$implicit; i0.ɵɵtwoWayBindingSet(property_r5.defaultValue, $event) || (property_r5.defaultValue = $event); return i0.ɵɵresetView($event); });
|
|
169
|
+
i0.ɵɵelementEnd();
|
|
170
|
+
i0.ɵɵtext(2, " Default checked ");
|
|
171
|
+
i0.ɵɵelementEnd();
|
|
172
|
+
} if (rf & 2) {
|
|
173
|
+
const property_r5 = i0.ɵɵnextContext().$implicit;
|
|
174
|
+
i0.ɵɵadvance();
|
|
175
|
+
i0.ɵɵtwoWayProperty("ngModel", property_r5.defaultValue);
|
|
176
|
+
} }
|
|
177
|
+
function PromptEditorComponent_div_20_Template(rf, ctx) { if (rf & 1) {
|
|
178
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
179
|
+
i0.ɵɵelementStart(0, "div", 20)(1, "div", 21)(2, "span", 22);
|
|
180
|
+
i0.ɵɵtext(3);
|
|
181
|
+
i0.ɵɵelementEnd();
|
|
182
|
+
i0.ɵɵtemplate(4, PromptEditorComponent_div_20_button_4_Template, 2, 0, "button", 23);
|
|
183
|
+
i0.ɵɵelementEnd();
|
|
184
|
+
i0.ɵɵelementStart(5, "div", 24)(6, "div", 25)(7, "div", 26)(8, "label");
|
|
185
|
+
i0.ɵɵtext(9, "Property Key");
|
|
186
|
+
i0.ɵɵelementEnd();
|
|
187
|
+
i0.ɵɵelementStart(10, "input", 27);
|
|
188
|
+
i0.ɵɵtwoWayListener("ngModelChange", function PromptEditorComponent_div_20_Template_input_ngModelChange_10_listener($event) { const property_r5 = i0.ɵɵrestoreView(_r1).$implicit; i0.ɵɵtwoWayBindingSet(property_r5.key, $event) || (property_r5.key = $event); return i0.ɵɵresetView($event); });
|
|
189
|
+
i0.ɵɵlistener("input", function PromptEditorComponent_div_20_Template_input_input_10_listener($event) { const property_r5 = i0.ɵɵrestoreView(_r1).$implicit; const ctx_r3 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r3.sanitizeKey($event, property_r5)); });
|
|
190
|
+
i0.ɵɵelementEnd()();
|
|
191
|
+
i0.ɵɵelementStart(11, "div", 26)(12, "label");
|
|
192
|
+
i0.ɵɵtext(13, "Display Label");
|
|
193
|
+
i0.ɵɵelementEnd();
|
|
194
|
+
i0.ɵɵelementStart(14, "input", 28);
|
|
195
|
+
i0.ɵɵtwoWayListener("ngModelChange", function PromptEditorComponent_div_20_Template_input_ngModelChange_14_listener($event) { const property_r5 = i0.ɵɵrestoreView(_r1).$implicit; i0.ɵɵtwoWayBindingSet(property_r5.label, $event) || (property_r5.label = $event); return i0.ɵɵresetView($event); });
|
|
196
|
+
i0.ɵɵelementEnd()()();
|
|
197
|
+
i0.ɵɵelementStart(15, "div", 25)(16, "div", 26)(17, "label");
|
|
198
|
+
i0.ɵɵtext(18, "Type");
|
|
199
|
+
i0.ɵɵelementEnd();
|
|
200
|
+
i0.ɵɵelementStart(19, "select", 29);
|
|
201
|
+
i0.ɵɵtwoWayListener("ngModelChange", function PromptEditorComponent_div_20_Template_select_ngModelChange_19_listener($event) { const property_r5 = i0.ɵɵrestoreView(_r1).$implicit; i0.ɵɵtwoWayBindingSet(property_r5.type, $event) || (property_r5.type = $event); return i0.ɵɵresetView($event); });
|
|
202
|
+
i0.ɵɵlistener("change", function PromptEditorComponent_div_20_Template_select_change_19_listener() { const property_r5 = i0.ɵɵrestoreView(_r1).$implicit; const ctx_r3 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r3.updatePropertyType(property_r5)); });
|
|
203
|
+
i0.ɵɵtemplate(20, PromptEditorComponent_div_20_option_20_Template, 2, 2, "option", 30);
|
|
204
|
+
i0.ɵɵelementEnd()();
|
|
205
|
+
i0.ɵɵelementStart(21, "div", 26)(22, "label");
|
|
206
|
+
i0.ɵɵtext(23, "Placeholder");
|
|
207
|
+
i0.ɵɵelementEnd();
|
|
208
|
+
i0.ɵɵelementStart(24, "input", 31);
|
|
209
|
+
i0.ɵɵtwoWayListener("ngModelChange", function PromptEditorComponent_div_20_Template_input_ngModelChange_24_listener($event) { const property_r5 = i0.ɵɵrestoreView(_r1).$implicit; i0.ɵɵtwoWayBindingSet(property_r5.placeholder, $event) || (property_r5.placeholder = $event); return i0.ɵɵresetView($event); });
|
|
210
|
+
i0.ɵɵelementEnd()()();
|
|
211
|
+
i0.ɵɵelementStart(25, "div", 32);
|
|
212
|
+
i0.ɵɵtemplate(26, PromptEditorComponent_div_20_div_26_Template, 13, 3, "div", 33)(27, PromptEditorComponent_div_20_div_27_Template, 4, 1, "div", 34)(28, PromptEditorComponent_div_20_div_28_Template, 8, 1, "div", 35);
|
|
213
|
+
i0.ɵɵelementEnd();
|
|
214
|
+
i0.ɵɵelementStart(29, "div", 26)(30, "label");
|
|
215
|
+
i0.ɵɵtext(31, "Default Value");
|
|
216
|
+
i0.ɵɵelementEnd();
|
|
217
|
+
i0.ɵɵelementStart(32, "div", 36);
|
|
218
|
+
i0.ɵɵtemplate(33, PromptEditorComponent_div_20_input_33_Template, 1, 1, "input", 37)(34, PromptEditorComponent_div_20_input_34_Template, 1, 1, "input", 38)(35, PromptEditorComponent_div_20_textarea_35_Template, 2, 2, "textarea", 39)(36, PromptEditorComponent_div_20_textarea_36_Template, 2, 2, "textarea", 40)(37, PromptEditorComponent_div_20_select_37_Template, 2, 2, "select", 41)(38, PromptEditorComponent_div_20_label_38_Template, 3, 1, "label", 42);
|
|
219
|
+
i0.ɵɵelementEnd()()()();
|
|
220
|
+
} if (rf & 2) {
|
|
221
|
+
const property_r5 = ctx.$implicit;
|
|
222
|
+
const i_r3 = ctx.index;
|
|
223
|
+
const ctx_r3 = i0.ɵɵnextContext();
|
|
224
|
+
i0.ɵɵadvance(3);
|
|
225
|
+
i0.ɵɵtextInterpolate(i_r3 + 1);
|
|
226
|
+
i0.ɵɵadvance();
|
|
227
|
+
i0.ɵɵproperty("ngIf", ctx_r3.properties.length > 1);
|
|
228
|
+
i0.ɵɵadvance(6);
|
|
229
|
+
i0.ɵɵtwoWayProperty("ngModel", property_r5.key);
|
|
230
|
+
i0.ɵɵadvance(4);
|
|
231
|
+
i0.ɵɵtwoWayProperty("ngModel", property_r5.label);
|
|
232
|
+
i0.ɵɵadvance(5);
|
|
233
|
+
i0.ɵɵtwoWayProperty("ngModel", property_r5.type);
|
|
234
|
+
i0.ɵɵadvance();
|
|
235
|
+
i0.ɵɵproperty("ngForOf", ctx_r3.propertyTypes);
|
|
236
|
+
i0.ɵɵadvance(4);
|
|
237
|
+
i0.ɵɵtwoWayProperty("ngModel", property_r5.placeholder);
|
|
238
|
+
i0.ɵɵadvance(2);
|
|
239
|
+
i0.ɵɵproperty("ngIf", property_r5.type === "number");
|
|
240
|
+
i0.ɵɵadvance();
|
|
241
|
+
i0.ɵɵproperty("ngIf", property_r5.type === "textarea" || property_r5.type === "json");
|
|
242
|
+
i0.ɵɵadvance();
|
|
243
|
+
i0.ɵɵproperty("ngIf", property_r5.type === "select");
|
|
244
|
+
i0.ɵɵadvance(4);
|
|
245
|
+
i0.ɵɵproperty("ngSwitch", property_r5.type);
|
|
246
|
+
i0.ɵɵadvance();
|
|
247
|
+
i0.ɵɵproperty("ngSwitchCase", "text");
|
|
248
|
+
i0.ɵɵadvance();
|
|
249
|
+
i0.ɵɵproperty("ngSwitchCase", "number");
|
|
250
|
+
i0.ɵɵadvance();
|
|
251
|
+
i0.ɵɵproperty("ngSwitchCase", "textarea");
|
|
252
|
+
i0.ɵɵadvance();
|
|
253
|
+
i0.ɵɵproperty("ngSwitchCase", "json");
|
|
254
|
+
i0.ɵɵadvance();
|
|
255
|
+
i0.ɵɵproperty("ngSwitchCase", "select");
|
|
256
|
+
i0.ɵɵadvance();
|
|
257
|
+
i0.ɵɵproperty("ngSwitchCase", "checkbox");
|
|
258
|
+
} }
|
|
259
|
+
export class PromptEditorComponent {
|
|
260
|
+
constructor(promptManager) {
|
|
261
|
+
this.promptManager = promptManager;
|
|
262
|
+
this.isNew = false;
|
|
263
|
+
this.save = new EventEmitter();
|
|
264
|
+
this.cancel = new EventEmitter();
|
|
265
|
+
this.promptName = '';
|
|
266
|
+
this.properties = [];
|
|
267
|
+
// Available property types
|
|
268
|
+
this.propertyTypes = [
|
|
269
|
+
{ value: 'text', label: 'Text Input' },
|
|
270
|
+
{ value: 'textarea', label: 'Text Area' },
|
|
271
|
+
{ value: 'number', label: 'Number' },
|
|
272
|
+
{ value: 'select', label: 'Dropdown' },
|
|
273
|
+
{ value: 'checkbox', label: 'Checkbox' },
|
|
274
|
+
{ value: 'json', label: 'JSON' }
|
|
275
|
+
];
|
|
276
|
+
}
|
|
277
|
+
ngOnInit() {
|
|
278
|
+
if (this.promptId && !this.isNew) {
|
|
279
|
+
// Load existing prompt
|
|
280
|
+
const prompt = this.promptManager.getPrompt(this.promptId);
|
|
281
|
+
if (prompt) {
|
|
282
|
+
this.promptName = prompt.name;
|
|
283
|
+
this.properties = JSON.parse(JSON.stringify(prompt.properties || [])); // Deep clone
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
else {
|
|
287
|
+
// Initialize with default property
|
|
288
|
+
this.properties = [{
|
|
289
|
+
key: 'message',
|
|
290
|
+
label: 'Message',
|
|
291
|
+
type: 'textarea',
|
|
292
|
+
rows: 4,
|
|
293
|
+
placeholder: 'Enter your prompt...',
|
|
294
|
+
defaultValue: ''
|
|
295
|
+
}];
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
addProperty() {
|
|
299
|
+
const newProperty = {
|
|
300
|
+
key: `property_${Date.now()}`,
|
|
301
|
+
label: 'New Property',
|
|
302
|
+
type: 'text',
|
|
303
|
+
placeholder: '',
|
|
304
|
+
defaultValue: ''
|
|
305
|
+
};
|
|
306
|
+
this.properties.push(newProperty);
|
|
307
|
+
}
|
|
308
|
+
removeProperty(index) {
|
|
309
|
+
this.properties.splice(index, 1);
|
|
310
|
+
}
|
|
311
|
+
updatePropertyType(property) {
|
|
312
|
+
// Reset type-specific properties when type changes
|
|
313
|
+
delete property.options;
|
|
314
|
+
delete property.min;
|
|
315
|
+
delete property.max;
|
|
316
|
+
delete property.step;
|
|
317
|
+
delete property.rows;
|
|
318
|
+
// Set defaults based on type
|
|
319
|
+
switch (property.type) {
|
|
320
|
+
case 'textarea':
|
|
321
|
+
case 'json':
|
|
322
|
+
property.rows = 4;
|
|
323
|
+
break;
|
|
324
|
+
case 'number':
|
|
325
|
+
property.min = 0;
|
|
326
|
+
property.max = 100;
|
|
327
|
+
property.step = 1;
|
|
328
|
+
break;
|
|
329
|
+
case 'select':
|
|
330
|
+
property.options = [
|
|
331
|
+
{ value: 'option1', label: 'Option 1' },
|
|
332
|
+
{ value: 'option2', label: 'Option 2' }
|
|
333
|
+
];
|
|
334
|
+
break;
|
|
335
|
+
case 'checkbox':
|
|
336
|
+
property.defaultValue = false;
|
|
337
|
+
break;
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
addSelectOption(property) {
|
|
341
|
+
if (!property.options) {
|
|
342
|
+
property.options = [];
|
|
343
|
+
}
|
|
344
|
+
property.options.push({
|
|
345
|
+
value: `opt_${Date.now()}`,
|
|
346
|
+
label: 'New Option'
|
|
347
|
+
});
|
|
348
|
+
}
|
|
349
|
+
removeSelectOption(property, index) {
|
|
350
|
+
if (property.options) {
|
|
351
|
+
property.options.splice(index, 1);
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
savePrompt() {
|
|
355
|
+
if (!this.promptName.trim()) {
|
|
356
|
+
alert('Please enter a prompt name');
|
|
357
|
+
return;
|
|
358
|
+
}
|
|
359
|
+
if (this.properties.length === 0) {
|
|
360
|
+
alert('Please add at least one property');
|
|
361
|
+
return;
|
|
362
|
+
}
|
|
363
|
+
// Validate property keys are unique
|
|
364
|
+
const keys = this.properties.map(p => p.key);
|
|
365
|
+
if (new Set(keys).size !== keys.length) {
|
|
366
|
+
alert('Property keys must be unique');
|
|
367
|
+
return;
|
|
368
|
+
}
|
|
369
|
+
let savedPrompt;
|
|
370
|
+
if (this.promptId && !this.isNew) {
|
|
371
|
+
// Update existing
|
|
372
|
+
this.promptManager.updatePrompt(this.promptId, {
|
|
373
|
+
name: this.promptName,
|
|
374
|
+
properties: this.properties
|
|
375
|
+
});
|
|
376
|
+
savedPrompt = this.promptManager.getPrompt(this.promptId);
|
|
377
|
+
}
|
|
378
|
+
else {
|
|
379
|
+
// Create new
|
|
380
|
+
savedPrompt = this.promptManager.createPrompt(this.promptName, this.properties);
|
|
381
|
+
}
|
|
382
|
+
this.save.emit(savedPrompt);
|
|
383
|
+
}
|
|
384
|
+
onCancel() {
|
|
385
|
+
this.cancel.emit();
|
|
386
|
+
}
|
|
387
|
+
// Make property key safe for use as identifier
|
|
388
|
+
sanitizeKey(event, property) {
|
|
389
|
+
const value = event.target.value;
|
|
390
|
+
property.key = value.replace(/[^a-zA-Z0-9_]/g, '_').replace(/^[0-9]/, '_$&');
|
|
391
|
+
}
|
|
392
|
+
static { this.ɵfac = function PromptEditorComponent_Factory(t) { return new (t || PromptEditorComponent)(i0.ɵɵdirectiveInject(i1.PromptManagerService)); }; }
|
|
393
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PromptEditorComponent, selectors: [["app-prompt-editor"]], inputs: { promptId: "promptId", isNew: "isNew" }, outputs: { save: "save", cancel: "cancel" }, standalone: true, features: [i0.ɵɵStandaloneFeature], decls: 27, vars: 3, consts: [[1, "prompt-editor"], [1, "editor-header"], [1, "editor-title"], [1, "fas", "fa-edit"], [1, "close-button", 3, "click"], [1, "fas", "fa-times"], [1, "editor-content"], [1, "form-section"], [1, "form-label"], ["type", "text", "placeholder", "Enter prompt name...", 1, "form-input", 3, "ngModelChange", "ngModel"], [1, "section-header"], [1, "section-title"], [1, "add-button", 3, "click"], [1, "fas", "fa-plus"], [1, "properties-list"], ["class", "property-item", 4, "ngFor", "ngForOf"], [1, "editor-footer"], [1, "button", "secondary", 3, "click"], [1, "button", "primary", 3, "click"], [1, "fas", "fa-save"], [1, "property-item"], [1, "property-header"], [1, "property-number"], ["class", "remove-button", 3, "click", 4, "ngIf"], [1, "property-fields"], [1, "field-row"], [1, "field"], ["type", "text", "placeholder", "property_key", 1, "form-input", 3, "ngModelChange", "input", "ngModel"], ["type", "text", "placeholder", "Property Label", 1, "form-input", 3, "ngModelChange", "ngModel"], [1, "form-input", 3, "ngModelChange", "change", "ngModel"], [3, "value", 4, "ngFor", "ngForOf"], ["type", "text", "placeholder", "Placeholder text...", 1, "form-input", 3, "ngModelChange", "ngModel"], [1, "type-specific-fields"], ["class", "field-row", 4, "ngIf"], ["class", "field", 4, "ngIf"], ["class", "select-options", 4, "ngIf"], [3, "ngSwitch"], ["type", "text", "class", "form-input", 3, "ngModel", "ngModelChange", 4, "ngSwitchCase"], ["type", "number", "class", "form-input", 3, "ngModel", "ngModelChange", 4, "ngSwitchCase"], ["class", "form-input", 3, "ngModel", "rows", "ngModelChange", 4, "ngSwitchCase"], ["placeholder", "{\"key\": \"value\"}", "class", "form-input", 3, "ngModel", "rows", "ngModelChange", 4, "ngSwitchCase"], ["class", "form-input", 3, "ngModel", "ngModelChange", 4, "ngSwitchCase"], ["class", "checkbox-label", 4, "ngSwitchCase"], [1, "remove-button", 3, "click"], [1, "fas", "fa-trash"], [3, "value"], [1, "field-third"], ["type", "number", 1, "form-input", 3, "ngModelChange", "ngModel"], ["type", "number", "min", "1", "max", "20", 1, "form-input", 3, "ngModelChange", "ngModel"], [1, "select-options"], [1, "options-list"], ["class", "option-item", 4, "ngFor", "ngForOf"], [1, "add-option-button", 3, "click"], [1, "option-item"], ["type", "text", "placeholder", "Value", 1, "form-input", "small", 3, "ngModelChange", "ngModel"], ["type", "text", "placeholder", "Label", 1, "form-input", "small", 3, "ngModelChange", "ngModel"], [1, "icon-button", 3, "click"], ["type", "text", 1, "form-input", 3, "ngModelChange", "ngModel"], [1, "form-input", 3, "ngModelChange", "ngModel", "rows"], ["placeholder", "{\"key\": \"value\"}", 1, "form-input", 3, "ngModelChange", "ngModel", "rows"], [1, "form-input", 3, "ngModelChange", "ngModel"], [1, "checkbox-label"], ["type", "checkbox", 3, "ngModelChange", "ngModel"]], template: function PromptEditorComponent_Template(rf, ctx) { if (rf & 1) {
|
|
394
|
+
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "h3", 2);
|
|
395
|
+
i0.ɵɵelement(3, "i", 3);
|
|
396
|
+
i0.ɵɵtext(4);
|
|
397
|
+
i0.ɵɵelementEnd();
|
|
398
|
+
i0.ɵɵelementStart(5, "button", 4);
|
|
399
|
+
i0.ɵɵlistener("click", function PromptEditorComponent_Template_button_click_5_listener() { return ctx.onCancel(); });
|
|
400
|
+
i0.ɵɵelement(6, "i", 5);
|
|
401
|
+
i0.ɵɵelementEnd()();
|
|
402
|
+
i0.ɵɵelementStart(7, "div", 6)(8, "div", 7)(9, "label", 8);
|
|
403
|
+
i0.ɵɵtext(10, "Prompt Name");
|
|
404
|
+
i0.ɵɵelementEnd();
|
|
405
|
+
i0.ɵɵelementStart(11, "input", 9);
|
|
406
|
+
i0.ɵɵtwoWayListener("ngModelChange", function PromptEditorComponent_Template_input_ngModelChange_11_listener($event) { i0.ɵɵtwoWayBindingSet(ctx.promptName, $event) || (ctx.promptName = $event); return $event; });
|
|
407
|
+
i0.ɵɵelementEnd()();
|
|
408
|
+
i0.ɵɵelementStart(12, "div", 7)(13, "div", 10)(14, "h4", 11);
|
|
409
|
+
i0.ɵɵtext(15, "Properties");
|
|
410
|
+
i0.ɵɵelementEnd();
|
|
411
|
+
i0.ɵɵelementStart(16, "button", 12);
|
|
412
|
+
i0.ɵɵlistener("click", function PromptEditorComponent_Template_button_click_16_listener() { return ctx.addProperty(); });
|
|
413
|
+
i0.ɵɵelement(17, "i", 13);
|
|
414
|
+
i0.ɵɵtext(18, " Add Property ");
|
|
415
|
+
i0.ɵɵelementEnd()();
|
|
416
|
+
i0.ɵɵelementStart(19, "div", 14);
|
|
417
|
+
i0.ɵɵtemplate(20, PromptEditorComponent_div_20_Template, 39, 17, "div", 15);
|
|
418
|
+
i0.ɵɵelementEnd()()();
|
|
419
|
+
i0.ɵɵelementStart(21, "div", 16)(22, "button", 17);
|
|
420
|
+
i0.ɵɵlistener("click", function PromptEditorComponent_Template_button_click_22_listener() { return ctx.onCancel(); });
|
|
421
|
+
i0.ɵɵtext(23, "Cancel");
|
|
422
|
+
i0.ɵɵelementEnd();
|
|
423
|
+
i0.ɵɵelementStart(24, "button", 18);
|
|
424
|
+
i0.ɵɵlistener("click", function PromptEditorComponent_Template_button_click_24_listener() { return ctx.savePrompt(); });
|
|
425
|
+
i0.ɵɵelement(25, "i", 19);
|
|
426
|
+
i0.ɵɵtext(26, " Save Prompt ");
|
|
427
|
+
i0.ɵɵelementEnd()()();
|
|
428
|
+
} if (rf & 2) {
|
|
429
|
+
i0.ɵɵadvance(4);
|
|
430
|
+
i0.ɵɵtextInterpolate1(" ", ctx.isNew ? "Create New Prompt" : "Edit Prompt", " ");
|
|
431
|
+
i0.ɵɵadvance(7);
|
|
432
|
+
i0.ɵɵtwoWayProperty("ngModel", ctx.promptName);
|
|
433
|
+
i0.ɵɵadvance(9);
|
|
434
|
+
i0.ɵɵproperty("ngForOf", ctx.properties);
|
|
435
|
+
} }, dependencies: [CommonModule, i2.NgForOf, i2.NgIf, i2.NgSwitch, i2.NgSwitchCase, FormsModule, i3.NgSelectOption, i3.ɵNgSelectMultipleOption, i3.DefaultValueAccessor, i3.NumberValueAccessor, i3.CheckboxControlValueAccessor, i3.SelectControlValueAccessor, i3.NgControlStatus, i3.MinValidator, i3.MaxValidator, i3.NgModel], styles: [".prompt-editor[_ngcontent-%COMP%] {\n position: fixed;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 90%;\n max-width: 800px;\n max-height: 90vh;\n background: var(--white-color);\n border-radius: var(--border-radius);\n box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);\n display: flex;\n flex-direction: column;\n z-index: 1000;\n}\n\n.editor-header[_ngcontent-%COMP%] {\n padding: 1.5rem;\n border-bottom: 1px solid var(--gray-700);\n background: var(--gray-600);\n border-radius: var(--border-radius) var(--border-radius) 0 0;\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n\n.editor-title[_ngcontent-%COMP%] {\n font-size: 1.25rem;\n font-weight: 600;\n margin: 0;\n color: var(--gray-900);\n display: flex;\n align-items: center;\n gap: 0.5rem;\n \n i {\n color: var(--mj-blue);\n }\n}\n\n.close-button[_ngcontent-%COMP%] {\n width: 36px;\n height: 36px;\n border: none;\n background: transparent;\n color: var(--gray-800);\n border-radius: 50%;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: all var(--transition-time);\n \n &:hover {\n background: var(--gray-700);\n color: var(--gray-900);\n }\n}\n\n.editor-content[_ngcontent-%COMP%] {\n flex: 1;\n overflow-y: auto;\n padding: 1.5rem;\n}\n\n.form-section[_ngcontent-%COMP%] {\n margin-bottom: 2rem;\n}\n\n.form-label[_ngcontent-%COMP%] {\n display: block;\n margin-bottom: 0.5rem;\n font-size: 0.875rem;\n font-weight: 600;\n color: var(--gray-800);\n}\n\n.form-input[_ngcontent-%COMP%] {\n width: 100%;\n padding: 0.5rem 0.75rem;\n border: 1px solid var(--gray-700);\n border-radius: var(--border-radius);\n font-size: 0.875rem;\n transition: all var(--transition-time);\n \n &:focus {\n outline: none;\n border-color: var(--mj-blue);\n box-shadow: 0 0 0 3px rgba(0, 118, 182, 0.25);\n }\n \n &.small {\n width: auto;\n flex: 1;\n }\n}\n\ntextarea.form-input[_ngcontent-%COMP%] {\n resize: vertical;\n font-family: inherit;\n}\n\n.section-header[_ngcontent-%COMP%] {\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin-bottom: 1rem;\n}\n\n.section-title[_ngcontent-%COMP%] {\n font-size: 1rem;\n font-weight: 600;\n margin: 0;\n color: var(--gray-900);\n}\n\n.add-button[_ngcontent-%COMP%] {\n padding: 0.5rem 1rem;\n border: 1px solid var(--mj-blue);\n background: transparent;\n color: var(--mj-blue);\n border-radius: var(--border-radius);\n cursor: pointer;\n font-size: 0.875rem;\n display: flex;\n align-items: center;\n gap: 0.5rem;\n transition: all var(--transition-time);\n \n &:hover {\n background: var(--mj-blue);\n color: white;\n }\n}\n\n.properties-list[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 1.5rem;\n}\n\n.property-item[_ngcontent-%COMP%] {\n background: var(--gray-600);\n border: 1px solid var(--gray-700);\n border-radius: var(--border-radius);\n padding: 1rem;\n}\n\n.property-header[_ngcontent-%COMP%] {\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin-bottom: 1rem;\n}\n\n.property-number[_ngcontent-%COMP%] {\n width: 24px;\n height: 24px;\n background: var(--mj-blue);\n color: white;\n border-radius: 50%;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 0.75rem;\n font-weight: 600;\n}\n\n.remove-button[_ngcontent-%COMP%] {\n width: 28px;\n height: 28px;\n border: none;\n background: #dc3545;\n color: white;\n border-radius: 50%;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 0.75rem;\n transition: all var(--transition-time);\n \n &:hover {\n background: #c82333;\n }\n}\n\n.property-fields[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 1rem;\n}\n\n.field-row[_ngcontent-%COMP%] {\n display: flex;\n gap: 1rem;\n}\n\n.field[_ngcontent-%COMP%] {\n flex: 1;\n \n label {\n display: block;\n margin-bottom: 0.25rem;\n font-size: 0.75rem;\n font-weight: 500;\n color: var(--gray-800);\n }\n}\n\n.field-third[_ngcontent-%COMP%] {\n flex: 1;\n \n label {\n display: block;\n margin-bottom: 0.25rem;\n font-size: 0.75rem;\n font-weight: 500;\n color: var(--gray-800);\n }\n}\n\n.type-specific-fields[_ngcontent-%COMP%] {\n background: var(--white-color);\n padding: 1rem;\n border-radius: var(--border-radius);\n margin-top: 0.5rem;\n}\n\n.select-options[_ngcontent-%COMP%] {\n label {\n display: block;\n margin-bottom: 0.5rem;\n font-size: 0.75rem;\n font-weight: 500;\n color: var(--gray-800);\n }\n}\n\n.options-list[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 0.5rem;\n}\n\n.option-item[_ngcontent-%COMP%] {\n display: flex;\n gap: 0.5rem;\n align-items: center;\n}\n\n.icon-button[_ngcontent-%COMP%] {\n width: 28px;\n height: 28px;\n border: none;\n background: var(--gray-700);\n color: var(--gray-900);\n border-radius: 50%;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 0.75rem;\n transition: all var(--transition-time);\n \n &:hover {\n background: #dc3545;\n color: white;\n }\n}\n\n.add-option-button[_ngcontent-%COMP%] {\n padding: 0.375rem 0.75rem;\n border: 1px dashed var(--gray-700);\n background: transparent;\n color: var(--gray-800);\n border-radius: var(--border-radius);\n cursor: pointer;\n font-size: 0.75rem;\n display: flex;\n align-items: center;\n gap: 0.25rem;\n transition: all var(--transition-time);\n \n &:hover {\n border-color: var(--mj-blue);\n color: var(--mj-blue);\n }\n}\n\n.checkbox-label[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 0.5rem;\n font-size: 0.875rem;\n color: var(--gray-900);\n cursor: pointer;\n \n input[type=\"checkbox\"] {\n cursor: pointer;\n }\n}\n\n.editor-footer[_ngcontent-%COMP%] {\n padding: 1rem 1.5rem;\n border-top: 1px solid var(--gray-700);\n background: var(--gray-600);\n display: flex;\n justify-content: flex-end;\n gap: 0.75rem;\n}\n\n.button[_ngcontent-%COMP%] {\n padding: 0.5rem 1.25rem;\n border: none;\n border-radius: var(--border-radius);\n font-size: 0.875rem;\n font-weight: 500;\n cursor: pointer;\n display: flex;\n align-items: center;\n gap: 0.5rem;\n transition: all var(--transition-time);\n \n &.primary {\n background: var(--mj-blue);\n color: white;\n \n &:hover {\n background: #005a8b;\n }\n }\n \n &.secondary {\n background: var(--gray-700);\n color: var(--gray-900);\n \n &:hover {\n background: var(--gray-800);\n }\n }\n}\n\n// Modal backdrop\n[_nghost-%COMP%] {\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background: rgba(0, 0, 0, 0.5);\n z-index: 999;\n display: flex;\n align-items: center;\n justify-content: center;\n}"] }); }
|
|
436
|
+
}
|
|
437
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PromptEditorComponent, [{
|
|
438
|
+
type: Component,
|
|
439
|
+
args: [{ selector: 'app-prompt-editor', standalone: true, imports: [CommonModule, FormsModule], template: "<div class=\"prompt-editor\">\n <div class=\"editor-header\">\n <h3 class=\"editor-title\">\n <i class=\"fas fa-edit\"></i> \n {{ isNew ? 'Create New Prompt' : 'Edit Prompt' }}\n </h3>\n <button class=\"close-button\" (click)=\"onCancel()\">\n <i class=\"fas fa-times\"></i>\n </button>\n </div>\n\n <div class=\"editor-content\">\n <div class=\"form-section\">\n <label class=\"form-label\">Prompt Name</label>\n <input \n type=\"text\" \n [(ngModel)]=\"promptName\" \n class=\"form-input\"\n placeholder=\"Enter prompt name...\">\n </div>\n\n <div class=\"form-section\">\n <div class=\"section-header\">\n <h4 class=\"section-title\">Properties</h4>\n <button class=\"add-button\" (click)=\"addProperty()\">\n <i class=\"fas fa-plus\"></i> Add Property\n </button>\n </div>\n\n <div class=\"properties-list\">\n <div *ngFor=\"let property of properties; let i = index\" class=\"property-item\">\n <div class=\"property-header\">\n <span class=\"property-number\">{{ i + 1 }}</span>\n <button class=\"remove-button\" (click)=\"removeProperty(i)\" *ngIf=\"properties.length > 1\">\n <i class=\"fas fa-trash\"></i>\n </button>\n </div>\n\n <div class=\"property-fields\">\n <div class=\"field-row\">\n <div class=\"field\">\n <label>Property Key</label>\n <input \n type=\"text\" \n [(ngModel)]=\"property.key\" \n (input)=\"sanitizeKey($event, property)\"\n class=\"form-input\"\n placeholder=\"property_key\">\n </div>\n <div class=\"field\">\n <label>Display Label</label>\n <input \n type=\"text\" \n [(ngModel)]=\"property.label\" \n class=\"form-input\"\n placeholder=\"Property Label\">\n </div>\n </div>\n\n <div class=\"field-row\">\n <div class=\"field\">\n <label>Type</label>\n <select \n [(ngModel)]=\"property.type\" \n (change)=\"updatePropertyType(property)\"\n class=\"form-input\">\n <option *ngFor=\"let type of propertyTypes\" [value]=\"type.value\">\n {{ type.label }}\n </option>\n </select>\n </div>\n <div class=\"field\">\n <label>Placeholder</label>\n <input \n type=\"text\" \n [(ngModel)]=\"property.placeholder\" \n class=\"form-input\"\n placeholder=\"Placeholder text...\">\n </div>\n </div>\n\n <!-- Type-specific fields -->\n <div class=\"type-specific-fields\">\n <!-- Number fields -->\n <div *ngIf=\"property.type === 'number'\" class=\"field-row\">\n <div class=\"field-third\">\n <label>Min</label>\n <input \n type=\"number\" \n [(ngModel)]=\"property.min\" \n class=\"form-input\">\n </div>\n <div class=\"field-third\">\n <label>Max</label>\n <input \n type=\"number\" \n [(ngModel)]=\"property.max\" \n class=\"form-input\">\n </div>\n <div class=\"field-third\">\n <label>Step</label>\n <input \n type=\"number\" \n [(ngModel)]=\"property.step\" \n class=\"form-input\">\n </div>\n </div>\n\n <!-- Textarea/JSON fields -->\n <div *ngIf=\"property.type === 'textarea' || property.type === 'json'\" class=\"field\">\n <label>Rows</label>\n <input \n type=\"number\" \n [(ngModel)]=\"property.rows\" \n min=\"1\" \n max=\"20\"\n class=\"form-input\">\n </div>\n\n <!-- Select options -->\n <div *ngIf=\"property.type === 'select'\" class=\"select-options\">\n <label>Options</label>\n <div class=\"options-list\">\n <div *ngFor=\"let option of property.options; let j = index\" class=\"option-item\">\n <input \n type=\"text\" \n [(ngModel)]=\"option.value\" \n class=\"form-input small\"\n placeholder=\"Value\">\n <input \n type=\"text\" \n [(ngModel)]=\"option.label\" \n class=\"form-input small\"\n placeholder=\"Label\">\n <button class=\"icon-button\" (click)=\"removeSelectOption(property, j)\">\n <i class=\"fas fa-times\"></i>\n </button>\n </div>\n <button class=\"add-option-button\" (click)=\"addSelectOption(property)\">\n <i class=\"fas fa-plus\"></i> Add Option\n </button>\n </div>\n </div>\n </div>\n\n <!-- Default value -->\n <div class=\"field\">\n <label>Default Value</label>\n <div [ngSwitch]=\"property.type\">\n <input \n *ngSwitchCase=\"'text'\"\n type=\"text\" \n [(ngModel)]=\"property.defaultValue\" \n class=\"form-input\">\n <input \n *ngSwitchCase=\"'number'\"\n type=\"number\" \n [(ngModel)]=\"property.defaultValue\" \n class=\"form-input\">\n <textarea \n *ngSwitchCase=\"'textarea'\"\n [(ngModel)]=\"property.defaultValue\" \n [rows]=\"2\"\n class=\"form-input\">\n </textarea>\n <textarea \n *ngSwitchCase=\"'json'\"\n [(ngModel)]=\"property.defaultValue\" \n [rows]=\"2\"\n placeholder='{\"key\": \"value\"}'\n class=\"form-input\">\n </textarea>\n <select \n *ngSwitchCase=\"'select'\"\n [(ngModel)]=\"property.defaultValue\" \n class=\"form-input\">\n <option *ngFor=\"let opt of property.options\" [value]=\"opt.value\">\n {{ opt.label }}\n </option>\n </select>\n <label *ngSwitchCase=\"'checkbox'\" class=\"checkbox-label\">\n <input \n type=\"checkbox\" \n [(ngModel)]=\"property.defaultValue\">\n Default checked\n </label>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n\n <div class=\"editor-footer\">\n <button class=\"button secondary\" (click)=\"onCancel()\">Cancel</button>\n <button class=\"button primary\" (click)=\"savePrompt()\">\n <i class=\"fas fa-save\"></i> Save Prompt\n </button>\n </div>\n</div>", styles: [".prompt-editor {\n position: fixed;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 90%;\n max-width: 800px;\n max-height: 90vh;\n background: var(--white-color);\n border-radius: var(--border-radius);\n box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);\n display: flex;\n flex-direction: column;\n z-index: 1000;\n}\n\n.editor-header {\n padding: 1.5rem;\n border-bottom: 1px solid var(--gray-700);\n background: var(--gray-600);\n border-radius: var(--border-radius) var(--border-radius) 0 0;\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n\n.editor-title {\n font-size: 1.25rem;\n font-weight: 600;\n margin: 0;\n color: var(--gray-900);\n display: flex;\n align-items: center;\n gap: 0.5rem;\n \n i {\n color: var(--mj-blue);\n }\n}\n\n.close-button {\n width: 36px;\n height: 36px;\n border: none;\n background: transparent;\n color: var(--gray-800);\n border-radius: 50%;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: all var(--transition-time);\n \n &:hover {\n background: var(--gray-700);\n color: var(--gray-900);\n }\n}\n\n.editor-content {\n flex: 1;\n overflow-y: auto;\n padding: 1.5rem;\n}\n\n.form-section {\n margin-bottom: 2rem;\n}\n\n.form-label {\n display: block;\n margin-bottom: 0.5rem;\n font-size: 0.875rem;\n font-weight: 600;\n color: var(--gray-800);\n}\n\n.form-input {\n width: 100%;\n padding: 0.5rem 0.75rem;\n border: 1px solid var(--gray-700);\n border-radius: var(--border-radius);\n font-size: 0.875rem;\n transition: all var(--transition-time);\n \n &:focus {\n outline: none;\n border-color: var(--mj-blue);\n box-shadow: 0 0 0 3px rgba(0, 118, 182, 0.25);\n }\n \n &.small {\n width: auto;\n flex: 1;\n }\n}\n\ntextarea.form-input {\n resize: vertical;\n font-family: inherit;\n}\n\n.section-header {\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin-bottom: 1rem;\n}\n\n.section-title {\n font-size: 1rem;\n font-weight: 600;\n margin: 0;\n color: var(--gray-900);\n}\n\n.add-button {\n padding: 0.5rem 1rem;\n border: 1px solid var(--mj-blue);\n background: transparent;\n color: var(--mj-blue);\n border-radius: var(--border-radius);\n cursor: pointer;\n font-size: 0.875rem;\n display: flex;\n align-items: center;\n gap: 0.5rem;\n transition: all var(--transition-time);\n \n &:hover {\n background: var(--mj-blue);\n color: white;\n }\n}\n\n.properties-list {\n display: flex;\n flex-direction: column;\n gap: 1.5rem;\n}\n\n.property-item {\n background: var(--gray-600);\n border: 1px solid var(--gray-700);\n border-radius: var(--border-radius);\n padding: 1rem;\n}\n\n.property-header {\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin-bottom: 1rem;\n}\n\n.property-number {\n width: 24px;\n height: 24px;\n background: var(--mj-blue);\n color: white;\n border-radius: 50%;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 0.75rem;\n font-weight: 600;\n}\n\n.remove-button {\n width: 28px;\n height: 28px;\n border: none;\n background: #dc3545;\n color: white;\n border-radius: 50%;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 0.75rem;\n transition: all var(--transition-time);\n \n &:hover {\n background: #c82333;\n }\n}\n\n.property-fields {\n display: flex;\n flex-direction: column;\n gap: 1rem;\n}\n\n.field-row {\n display: flex;\n gap: 1rem;\n}\n\n.field {\n flex: 1;\n \n label {\n display: block;\n margin-bottom: 0.25rem;\n font-size: 0.75rem;\n font-weight: 500;\n color: var(--gray-800);\n }\n}\n\n.field-third {\n flex: 1;\n \n label {\n display: block;\n margin-bottom: 0.25rem;\n font-size: 0.75rem;\n font-weight: 500;\n color: var(--gray-800);\n }\n}\n\n.type-specific-fields {\n background: var(--white-color);\n padding: 1rem;\n border-radius: var(--border-radius);\n margin-top: 0.5rem;\n}\n\n.select-options {\n label {\n display: block;\n margin-bottom: 0.5rem;\n font-size: 0.75rem;\n font-weight: 500;\n color: var(--gray-800);\n }\n}\n\n.options-list {\n display: flex;\n flex-direction: column;\n gap: 0.5rem;\n}\n\n.option-item {\n display: flex;\n gap: 0.5rem;\n align-items: center;\n}\n\n.icon-button {\n width: 28px;\n height: 28px;\n border: none;\n background: var(--gray-700);\n color: var(--gray-900);\n border-radius: 50%;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 0.75rem;\n transition: all var(--transition-time);\n \n &:hover {\n background: #dc3545;\n color: white;\n }\n}\n\n.add-option-button {\n padding: 0.375rem 0.75rem;\n border: 1px dashed var(--gray-700);\n background: transparent;\n color: var(--gray-800);\n border-radius: var(--border-radius);\n cursor: pointer;\n font-size: 0.75rem;\n display: flex;\n align-items: center;\n gap: 0.25rem;\n transition: all var(--transition-time);\n \n &:hover {\n border-color: var(--mj-blue);\n color: var(--mj-blue);\n }\n}\n\n.checkbox-label {\n display: flex;\n align-items: center;\n gap: 0.5rem;\n font-size: 0.875rem;\n color: var(--gray-900);\n cursor: pointer;\n \n input[type=\"checkbox\"] {\n cursor: pointer;\n }\n}\n\n.editor-footer {\n padding: 1rem 1.5rem;\n border-top: 1px solid var(--gray-700);\n background: var(--gray-600);\n display: flex;\n justify-content: flex-end;\n gap: 0.75rem;\n}\n\n.button {\n padding: 0.5rem 1.25rem;\n border: none;\n border-radius: var(--border-radius);\n font-size: 0.875rem;\n font-weight: 500;\n cursor: pointer;\n display: flex;\n align-items: center;\n gap: 0.5rem;\n transition: all var(--transition-time);\n \n &.primary {\n background: var(--mj-blue);\n color: white;\n \n &:hover {\n background: #005a8b;\n }\n }\n \n &.secondary {\n background: var(--gray-700);\n color: var(--gray-900);\n \n &:hover {\n background: var(--gray-800);\n }\n }\n}\n\n// Modal backdrop\n:host {\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background: rgba(0, 0, 0, 0.5);\n z-index: 999;\n display: flex;\n align-items: center;\n justify-content: center;\n}"] }]
|
|
440
|
+
}], () => [{ type: i1.PromptManagerService }], { promptId: [{
|
|
441
|
+
type: Input
|
|
442
|
+
}], isNew: [{
|
|
443
|
+
type: Input
|
|
444
|
+
}], save: [{
|
|
445
|
+
type: Output
|
|
446
|
+
}], cancel: [{
|
|
447
|
+
type: Output
|
|
448
|
+
}] }); })();
|
|
449
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PromptEditorComponent, { className: "PromptEditorComponent", filePath: "src/lib/custom/AIAgents/FlowAgentType/flow-editor-integration/components/prompt-editor/prompt-editor.component.ts", lineNumber: 14 }); })();
|
|
450
|
+
//# sourceMappingURL=prompt-editor.component.js.map
|