@memberjunction/ng-core-entity-forms 2.54.0 → 2.55.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/README.md +1 -206
- package/dist/lib/custom/AIAgents/ai-agent-form.component.d.ts +8 -5
- package/dist/lib/custom/AIAgents/ai-agent-form.component.d.ts.map +1 -1
- package/dist/lib/custom/AIAgents/ai-agent-form.component.js +202 -220
- package/dist/lib/custom/AIAgents/ai-agent-form.component.js.map +1 -1
- package/dist/lib/custom/AIAgents/new-agent-dialog.component.d.ts +36 -0
- package/dist/lib/custom/AIAgents/new-agent-dialog.component.d.ts.map +1 -0
- package/dist/lib/custom/AIAgents/new-agent-dialog.component.js +325 -0
- package/dist/lib/custom/AIAgents/new-agent-dialog.component.js.map +1 -0
- package/dist/lib/custom/AIAgents/new-agent-dialog.service.d.ts +41 -0
- package/dist/lib/custom/AIAgents/new-agent-dialog.service.d.ts.map +1 -0
- package/dist/lib/custom/AIAgents/new-agent-dialog.service.js +87 -0
- package/dist/lib/custom/AIAgents/new-agent-dialog.service.js.map +1 -0
- package/dist/lib/custom/AIPrompts/ai-prompt-form.component.d.ts +5 -2
- package/dist/lib/custom/AIPrompts/ai-prompt-form.component.d.ts.map +1 -1
- package/dist/lib/custom/AIPrompts/ai-prompt-form.component.js +501 -485
- package/dist/lib/custom/AIPrompts/ai-prompt-form.component.js.map +1 -1
- package/dist/lib/custom/Actions/action-execution-log-form.component.d.ts +1 -0
- package/dist/lib/custom/Actions/action-execution-log-form.component.d.ts.map +1 -1
- package/dist/lib/custom/Actions/action-execution-log-form.component.js +4 -0
- package/dist/lib/custom/Actions/action-execution-log-form.component.js.map +1 -1
- package/dist/lib/custom/ai-agent-run/ai-agent-run.component.d.ts +5 -4
- package/dist/lib/custom/ai-agent-run/ai-agent-run.component.d.ts.map +1 -1
- package/dist/lib/custom/ai-agent-run/ai-agent-run.component.js +150 -72
- package/dist/lib/custom/ai-agent-run/ai-agent-run.component.js.map +1 -1
- package/dist/lib/custom/custom-forms.module.d.ts +31 -35
- package/dist/lib/custom/custom-forms.module.d.ts.map +1 -1
- package/dist/lib/custom/custom-forms.module.js +23 -43
- package/dist/lib/custom/custom-forms.module.js.map +1 -1
- package/dist/lib/generated/Entities/AIAgent/aiagent.form.component.js +11 -12
- package/dist/lib/generated/Entities/AIAgent/aiagent.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIAgentRun/aiagentrun.form.component.js +7 -8
- package/dist/lib/generated/Entities/AIAgentRun/aiagentrun.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIConfiguration/aiconfiguration.form.component.js +7 -8
- package/dist/lib/generated/Entities/AIConfiguration/aiconfiguration.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIModel/aimodel.form.component.js +7 -8
- package/dist/lib/generated/Entities/AIModel/aimodel.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIModelType/aimodeltype.form.component.js +11 -12
- package/dist/lib/generated/Entities/AIModelType/aimodeltype.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIPrompt/aiprompt.form.component.js +11 -12
- package/dist/lib/generated/Entities/AIPrompt/aiprompt.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIPromptRun/aipromptrun.form.component.js +11 -12
- package/dist/lib/generated/Entities/AIPromptRun/aipromptrun.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIPromptRun/sections/details.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/AIPromptRun/sections/details.component.js +13 -4
- package/dist/lib/generated/Entities/AIPromptRun/sections/details.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIVendor/aivendor.form.component.js +11 -12
- package/dist/lib/generated/Entities/AIVendor/aivendor.form.component.js.map +1 -1
- package/dist/public-api.d.ts +2 -3
- package/dist/public-api.d.ts.map +1 -1
- package/dist/public-api.js +3 -16
- package/dist/public-api.js.map +1 -1
- package/package.json +13 -12
- package/dist/lib/custom/ai-test-harness/agent-execution-monitor.component.d.ts +0 -273
- package/dist/lib/custom/ai-test-harness/agent-execution-monitor.component.d.ts.map +0 -1
- package/dist/lib/custom/ai-test-harness/agent-execution-monitor.component.js +0 -1429
- package/dist/lib/custom/ai-test-harness/agent-execution-monitor.component.js.map +0 -1
- package/dist/lib/custom/ai-test-harness/agent-execution-node.component.d.ts +0 -19
- package/dist/lib/custom/ai-test-harness/agent-execution-node.component.d.ts.map +0 -1
- package/dist/lib/custom/ai-test-harness/agent-execution-node.component.js +0 -458
- package/dist/lib/custom/ai-test-harness/agent-execution-node.component.js.map +0 -1
- package/dist/lib/custom/ai-test-harness/ai-test-harness-dialog.component.d.ts +0 -78
- package/dist/lib/custom/ai-test-harness/ai-test-harness-dialog.component.d.ts.map +0 -1
- package/dist/lib/custom/ai-test-harness/ai-test-harness-dialog.component.js +0 -157
- package/dist/lib/custom/ai-test-harness/ai-test-harness-dialog.component.js.map +0 -1
- package/dist/lib/custom/ai-test-harness/ai-test-harness.component.d.ts +0 -631
- package/dist/lib/custom/ai-test-harness/ai-test-harness.component.d.ts.map +0 -1
- package/dist/lib/custom/ai-test-harness/ai-test-harness.component.js +0 -3380
- package/dist/lib/custom/ai-test-harness/ai-test-harness.component.js.map +0 -1
- package/dist/lib/custom/ai-test-harness/json-viewer-window.component.d.ts +0 -8
- package/dist/lib/custom/ai-test-harness/json-viewer-window.component.d.ts.map +0 -1
- package/dist/lib/custom/ai-test-harness/json-viewer-window.component.js +0 -57
- package/dist/lib/custom/ai-test-harness/json-viewer-window.component.js.map +0 -1
- package/dist/lib/custom/test-harness-dialog.service.d.ts +0 -111
- package/dist/lib/custom/test-harness-dialog.service.d.ts.map +0 -1
- package/dist/lib/custom/test-harness-dialog.service.js +0 -211
- package/dist/lib/custom/test-harness-dialog.service.js.map +0 -1
|
@@ -12,7 +12,7 @@ import * as i1 from "@angular/common";
|
|
|
12
12
|
import * as i2 from "@memberjunction/ng-base-forms";
|
|
13
13
|
function AIPromptRunDetailsComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
14
14
|
i0.ɵɵelementStart(0, "div")(1, "div", 1);
|
|
15
|
-
i0.ɵɵelement(2, "mj-form-field", 2)(3, "mj-form-field", 3)(4, "mj-form-field", 4)(5, "mj-form-field", 5)(6, "mj-form-field", 6)(7, "mj-form-field", 7)(8, "mj-form-field", 8)(9, "mj-form-field", 9)(10, "mj-form-field", 10)(11, "mj-form-field", 11)(12, "mj-form-field", 12)(13, "mj-form-field", 13)(14, "mj-form-field", 14)(15, "mj-form-field", 15)(16, "mj-form-field", 16)(17, "mj-form-field", 17)(18, "mj-form-field", 18)(19, "mj-form-field", 19)(20, "mj-form-field", 20)(21, "mj-form-field", 21)(22, "mj-form-field", 22)(23, "mj-form-field", 23)(24, "mj-form-field", 24)(25, "mj-form-field", 25)(26, "mj-form-field", 26)(27, "mj-form-field", 27)(28, "mj-form-field", 28)(29, "mj-form-field", 29)(30, "mj-form-field", 30)(31, "mj-form-field", 31)(32, "mj-form-field", 32)(33, "mj-form-field", 33)(34, "mj-form-field", 34)(35, "mj-form-field", 35)(36, "mj-form-field", 36)(37, "mj-form-field", 37)(38, "mj-form-field", 38)(39, "mj-form-field", 39)(40, "mj-form-field", 40)(41, "mj-form-field", 41)(42, "mj-form-field", 42)(43, "mj-form-field", 43)(44, "mj-form-field", 44);
|
|
15
|
+
i0.ɵɵelement(2, "mj-form-field", 2)(3, "mj-form-field", 3)(4, "mj-form-field", 4)(5, "mj-form-field", 5)(6, "mj-form-field", 6)(7, "mj-form-field", 7)(8, "mj-form-field", 8)(9, "mj-form-field", 9)(10, "mj-form-field", 10)(11, "mj-form-field", 11)(12, "mj-form-field", 12)(13, "mj-form-field", 13)(14, "mj-form-field", 14)(15, "mj-form-field", 15)(16, "mj-form-field", 16)(17, "mj-form-field", 17)(18, "mj-form-field", 18)(19, "mj-form-field", 19)(20, "mj-form-field", 20)(21, "mj-form-field", 21)(22, "mj-form-field", 22)(23, "mj-form-field", 23)(24, "mj-form-field", 24)(25, "mj-form-field", 25)(26, "mj-form-field", 26)(27, "mj-form-field", 27)(28, "mj-form-field", 28)(29, "mj-form-field", 29)(30, "mj-form-field", 30)(31, "mj-form-field", 31)(32, "mj-form-field", 32)(33, "mj-form-field", 33)(34, "mj-form-field", 34)(35, "mj-form-field", 35)(36, "mj-form-field", 36)(37, "mj-form-field", 37)(38, "mj-form-field", 38)(39, "mj-form-field", 39)(40, "mj-form-field", 40)(41, "mj-form-field", 41)(42, "mj-form-field", 42)(43, "mj-form-field", 43)(44, "mj-form-field", 44)(45, "mj-form-field", 45);
|
|
16
16
|
i0.ɵɵelementEnd()();
|
|
17
17
|
} if (rf & 2) {
|
|
18
18
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -102,6 +102,8 @@ function AIPromptRunDetailsComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
102
102
|
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
103
103
|
i0.ɵɵadvance();
|
|
104
104
|
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
105
|
+
i0.ɵɵadvance();
|
|
106
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
105
107
|
} }
|
|
106
108
|
let AIPromptRunDetailsComponent = class AIPromptRunDetailsComponent extends BaseFormSectionComponent {
|
|
107
109
|
constructor() {
|
|
@@ -109,8 +111,8 @@ let AIPromptRunDetailsComponent = class AIPromptRunDetailsComponent extends Base
|
|
|
109
111
|
this.EditMode = false;
|
|
110
112
|
}
|
|
111
113
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵAIPromptRunDetailsComponent_BaseFactory; return function AIPromptRunDetailsComponent_Factory(t) { return (ɵAIPromptRunDetailsComponent_BaseFactory || (ɵAIPromptRunDetailsComponent_BaseFactory = i0.ɵɵgetInheritedFactory(AIPromptRunDetailsComponent)))(t || AIPromptRunDetailsComponent); }; })(); }
|
|
112
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AIPromptRunDetailsComponent, selectors: [["gen-aipromptrun-form-details"]], inputs: { record: "record", EditMode: "EditMode" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "record-form"], ["FieldName", "PromptID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "ModelID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "VendorID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "AgentID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "ConfigurationID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "RunAt", "Type", "datepicker", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "CompletedAt", "Type", "datepicker", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "ExecutionTimeMS", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Messages", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Result", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "TokensUsed", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "TokensPrompt", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "TokensCompletion", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "TotalCost", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Success", "Type", "checkbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "ErrorMessage", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "__mj_CreatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "__mj_UpdatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "ParentID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "RunType", "Type", "dropdownlist", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "ExecutionOrder", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "AgentRunID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Cost", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "CostCurrency", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "TokensUsedRollup", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "TokensPromptRollup", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "TokensCompletionRollup", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Temperature", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "TopP", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "TopK", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "MinP", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "FrequencyPenalty", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "PresencePenalty", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Seed", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "StopSequences", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "ResponseFormat", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "LogProbs", "Type", "checkbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "TopLogProbs", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Prompt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Model", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Vendor", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Agent", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Configuration", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"]], template: function AIPromptRunDetailsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
113
|
-
i0.ɵɵtemplate(0, AIPromptRunDetailsComponent_div_0_Template,
|
|
114
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AIPromptRunDetailsComponent, selectors: [["gen-aipromptrun-form-details"]], inputs: { record: "record", EditMode: "EditMode" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "record-form"], ["FieldName", "PromptID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "ModelID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "VendorID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "AgentID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "ConfigurationID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "RunAt", "Type", "datepicker", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "CompletedAt", "Type", "datepicker", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "ExecutionTimeMS", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Messages", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Result", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "TokensUsed", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "TokensPrompt", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "TokensCompletion", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "TotalCost", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Success", "Type", "checkbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "ErrorMessage", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "__mj_CreatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "__mj_UpdatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "ParentID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "RunType", "Type", "dropdownlist", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "ExecutionOrder", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "AgentRunID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Cost", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "CostCurrency", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "TokensUsedRollup", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "TokensPromptRollup", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "TokensCompletionRollup", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Temperature", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "TopP", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "TopK", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "MinP", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "FrequencyPenalty", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "PresencePenalty", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Seed", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "StopSequences", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "ResponseFormat", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "LogProbs", "Type", "checkbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "TopLogProbs", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "DescendantCost", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Prompt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Model", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Vendor", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Agent", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Configuration", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"]], template: function AIPromptRunDetailsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
115
|
+
i0.ɵɵtemplate(0, AIPromptRunDetailsComponent_div_0_Template, 46, 132, "div", 0);
|
|
114
116
|
} if (rf & 2) {
|
|
115
117
|
i0.ɵɵproperty("ngIf", ctx.record);
|
|
116
118
|
} }, dependencies: [i1.NgIf, i2.MJFormField], styles: [".k-pane[_ngcontent-%COMP%] {\n background-color: #F5F6FA;\n}\n\n.content-margin[_ngcontent-%COMP%] {\n margin: 10px;\n} \n\n\na[_ngcontent-%COMP%] {\n font-size: 14px;\n font-weight: bolder;\n}\n\n.tab-header-icon[_ngcontent-%COMP%] {\n margin-right: 5px;\n}\n\n.record-form[_ngcontent-%COMP%] {\n display: block;\n flex-direction: column;\n background-color: #F5F6FA;\n padding: 10px;\n}\n\n.record-form-group[_ngcontent-%COMP%] {\n margin-top: 0px;\n background-color: #F5F6FA;\n}\n\nbutton[_ngcontent-%COMP%] {\n margin-right: 5px;\n}\n\n.record-form[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] {\n margin-bottom: 10px;\n}\n\n.k-splitter[_ngcontent-%COMP%] {\n border-width: 0px;\n}\n\n.record-form-row[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: auto 1fr;\n align-items: start;\n gap: 10px;\n margin-bottom: 12px;\n padding-top: 5px;\n padding-bottom: 5px;\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n.record-form[_ngcontent-%COMP%] .record-form-row[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:first-child {\n font-weight: bold;\n padding-right: 10px;\n} \n\n.record-form[_ngcontent-%COMP%] .record-form-row[_ngcontent-%COMP%] > span[_ngcontent-%COMP%] {\n white-space: pre-line;\n max-height: 300px;\n overflow: auto;\n}\n\n \n\n@media (min-width: 768px) {\n .record-form-row[_ngcontent-%COMP%] {\n flex-direction: row;\n align-items: center;\n }\n\n .record-form-row[_ngcontent-%COMP%] label[_ngcontent-%COMP%] {\n width: 240px;\n margin-bottom: 0;\n }\n}"] }); }
|
|
@@ -403,6 +405,13 @@ export { AIPromptRunDetailsComponent };
|
|
|
403
405
|
Type="numerictextbox"
|
|
404
406
|
[EditMode]="EditMode"
|
|
405
407
|
></mj-form-field>
|
|
408
|
+
<mj-form-field
|
|
409
|
+
[record]="record"
|
|
410
|
+
[ShowLabel]="true"
|
|
411
|
+
FieldName="DescendantCost"
|
|
412
|
+
Type="numerictextbox"
|
|
413
|
+
[EditMode]="EditMode"
|
|
414
|
+
></mj-form-field>
|
|
406
415
|
<mj-form-field
|
|
407
416
|
[record]="record"
|
|
408
417
|
[ShowLabel]="true"
|
|
@@ -447,7 +456,7 @@ export { AIPromptRunDetailsComponent };
|
|
|
447
456
|
}], EditMode: [{
|
|
448
457
|
type: Input
|
|
449
458
|
}] }); })();
|
|
450
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AIPromptRunDetailsComponent, { className: "AIPromptRunDetailsComponent", filePath: "src/lib/generated/Entities/AIPromptRun/sections/details.component.ts", lineNumber:
|
|
459
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AIPromptRunDetailsComponent, { className: "AIPromptRunDetailsComponent", filePath: "src/lib/generated/Entities/AIPromptRun/sections/details.component.ts", lineNumber: 339 }); })();
|
|
451
460
|
export function LoadAIPromptRunDetailsComponent() {
|
|
452
461
|
// does nothing, but called in order to prevent tree-shaking from eliminating this component from the build
|
|
453
462
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"details.component.js","sourceRoot":"","sources":["../../../../../../src/lib/generated/Entities/AIPromptRun/sections/details.component.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;;;;;IAQrE,AADW,2BAAyB,aACX;
|
|
1
|
+
{"version":3,"file":"details.component.js","sourceRoot":"","sources":["../../../../../../src/lib/generated/Entities/AIPromptRun/sections/details.component.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;;;;;IAQrE,AADW,2BAAyB,aACX;IA4TrB,AAPA,AAPA,AAPA,AAPA,AAPA,AAPA,AAPA,AAPA,AAPA,AAPA,AAPA,AAPA,AAPA,AAPA,AAPA,AAPA,AAPA,AAPA,AAP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AU,+BAA+B;IAC3C,2GAA2G;AAC/G,CAAC"}
|
|
@@ -52,17 +52,16 @@ function AIVendorFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
52
52
|
i0.ɵɵelement(23, "mj-user-view-grid", 9);
|
|
53
53
|
i0.ɵɵelementEnd();
|
|
54
54
|
i0.ɵɵelementStart(24, "mj-tab", 13);
|
|
55
|
-
i0.ɵɵ
|
|
56
|
-
i0.ɵɵtext(26, "MJ: AI Prompt Runs ");
|
|
55
|
+
i0.ɵɵtext(25, " MJ: AI Prompt Runs ");
|
|
57
56
|
i0.ɵɵelementEnd();
|
|
58
|
-
i0.ɵɵelementStart(
|
|
59
|
-
i0.ɵɵelement(
|
|
57
|
+
i0.ɵɵelementStart(26, "mj-tab-body");
|
|
58
|
+
i0.ɵɵelement(27, "mj-user-view-grid", 9);
|
|
60
59
|
i0.ɵɵelementEnd();
|
|
61
|
-
i0.ɵɵelementStart(
|
|
62
|
-
i0.ɵɵtext(
|
|
60
|
+
i0.ɵɵelementStart(28, "mj-tab", 14);
|
|
61
|
+
i0.ɵɵtext(29, " MJ: AI Vendor Types ");
|
|
63
62
|
i0.ɵɵelementEnd();
|
|
64
|
-
i0.ɵɵelementStart(
|
|
65
|
-
i0.ɵɵelement(
|
|
63
|
+
i0.ɵɵelementStart(30, "mj-tab-body");
|
|
64
|
+
i0.ɵɵelement(31, "mj-user-view-grid", 9);
|
|
66
65
|
i0.ɵɵelementEnd()()();
|
|
67
66
|
} if (rf & 2) {
|
|
68
67
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -88,7 +87,7 @@ function AIVendorFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
88
87
|
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: AI Model Vendors", "VendorID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: AI Model Vendors"))("AllowLoad", ctx_r1.IsCurrentTab("MJ: AI Model Vendors"))("EditMode", ctx_r1.GridEditMode());
|
|
89
88
|
i0.ɵɵadvance();
|
|
90
89
|
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved);
|
|
91
|
-
i0.ɵɵadvance(
|
|
90
|
+
i0.ɵɵadvance(3);
|
|
92
91
|
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: AI Prompt Runs", "VendorID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: AI Prompt Runs"))("AllowLoad", ctx_r1.IsCurrentTab("MJ: AI Prompt Runs"))("EditMode", ctx_r1.GridEditMode());
|
|
93
92
|
i0.ɵɵadvance();
|
|
94
93
|
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved);
|
|
@@ -97,9 +96,9 @@ function AIVendorFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
97
96
|
} }
|
|
98
97
|
let AIVendorFormComponent = class AIVendorFormComponent extends BaseFormComponent {
|
|
99
98
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵAIVendorFormComponent_BaseFactory; return function AIVendorFormComponent_Factory(t) { return (ɵAIVendorFormComponent_BaseFactory || (ɵAIVendorFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(AIVendorFormComponent)))(t || AIVendorFormComponent); }; })(); }
|
|
100
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AIVendorFormComponent, selectors: [["gen-aivendor-form"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 1, consts: [["form", "ngForm"], [1, "record-form-container"], ["class", "record-form", 4, "ngIf"], [1, "record-form"], [3, "form"], [3, "TabSelected", "ResizeContainer"], ["Name", "Details"], ["Entity", "MJ: AI Vendors", "Section", "details", 3, "record", "EditMode"], ["Name", "MJ: AI Prompt Models", 3, "Visible"], [3, "Params", "NewRecordValues", "AllowLoad", "EditMode"], ["Name", "AI Result Cache", 3, "Visible"], ["Name", "MJ: AI Model Costs", 3, "Visible"], ["Name", "MJ: AI Model Vendors", 3, "Visible"], ["Name", "MJ: AI Prompt Runs", 3, "Visible"], [
|
|
99
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AIVendorFormComponent, selectors: [["gen-aivendor-form"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 1, consts: [["form", "ngForm"], [1, "record-form-container"], ["class", "record-form", 4, "ngIf"], [1, "record-form"], [3, "form"], [3, "TabSelected", "ResizeContainer"], ["Name", "Details"], ["Entity", "MJ: AI Vendors", "Section", "details", 3, "record", "EditMode"], ["Name", "MJ: AI Prompt Models", 3, "Visible"], [3, "Params", "NewRecordValues", "AllowLoad", "EditMode"], ["Name", "AI Result Cache", 3, "Visible"], ["Name", "MJ: AI Model Costs", 3, "Visible"], ["Name", "MJ: AI Model Vendors", 3, "Visible"], ["Name", "MJ: AI Prompt Runs", 3, "Visible"], ["Name", "MJ: AI Vendor Types", 3, "Visible"]], template: function AIVendorFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
101
100
|
i0.ɵɵelementStart(0, "div", 1);
|
|
102
|
-
i0.ɵɵtemplate(1, AIVendorFormComponent_form_1_Template,
|
|
101
|
+
i0.ɵɵtemplate(1, AIVendorFormComponent_form_1_Template, 32, 33, "form", 2);
|
|
103
102
|
i0.ɵɵelementEnd();
|
|
104
103
|
} if (rf & 2) {
|
|
105
104
|
i0.ɵɵadvance();
|
|
@@ -112,7 +111,7 @@ AIVendorFormComponent = __decorate([
|
|
|
112
111
|
export { AIVendorFormComponent };
|
|
113
112
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AIVendorFormComponent, [{
|
|
114
113
|
type: Component,
|
|
115
|
-
args: [{ selector: 'gen-aivendor-form', template: "<div class=\"record-form-container\" >\n <form *ngIf=\"record\" class=\"record-form\" #form=\"ngForm\" >\n <mj-form-toolbar [form]=\"this\"></mj-form-toolbar>\n\n <mj-tabstrip (TabSelected)=\"onTabSelect($event)\" (ResizeContainer)=\"InvokeManualResize()\">\n \n <mj-tab Name=\"Details\">\n Details\n </mj-tab>\n <mj-tab-body>\n <mj-form-section \n Entity=\"MJ: AI Vendors\" \n Section=\"details\" \n [record]=\"record\" \n [EditMode]=\"this.EditMode\">\n </mj-form-section>\n </mj-tab-body>\n \n <mj-tab Name=\"MJ: AI Prompt Models\" [Visible]=\"record.IsSaved\"> \n MJ: AI Prompt Models\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Prompt Models','VendorID')\" \n [NewRecordValues]=\"NewRecordValues('MJ: AI Prompt Models')\"\n [AllowLoad]=\"IsCurrentTab('MJ: AI Prompt Models')\" \n [EditMode]=\"GridEditMode()\" \n >\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"AI Result Cache\" [Visible]=\"record.IsSaved\"> \n AI Result Cache\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('AI Result Cache','VendorID')\" \n [NewRecordValues]=\"NewRecordValues('AI Result Cache')\"\n [AllowLoad]=\"IsCurrentTab('AI Result Cache')\" \n [EditMode]=\"GridEditMode()\" \n >\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"MJ: AI Model Costs\" [Visible]=\"record.IsSaved\"> \n MJ: AI Model Costs\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Model Costs','VendorID')\" \n [NewRecordValues]=\"NewRecordValues('MJ: AI Model Costs')\"\n [AllowLoad]=\"IsCurrentTab('MJ: AI Model Costs')\" \n [EditMode]=\"GridEditMode()\" \n >\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"MJ: AI Model Vendors\" [Visible]=\"record.IsSaved\"> \n MJ: AI Model Vendors\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Model Vendors','VendorID')\" \n [NewRecordValues]=\"NewRecordValues('MJ: AI Model Vendors')\"\n [AllowLoad]=\"IsCurrentTab('MJ: AI Model Vendors')\" \n [EditMode]=\"GridEditMode()\" \n >\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"MJ: AI Prompt Runs\" [Visible]=\"record.IsSaved\"> \n
|
|
114
|
+
args: [{ selector: 'gen-aivendor-form', template: "<div class=\"record-form-container\" >\n <form *ngIf=\"record\" class=\"record-form\" #form=\"ngForm\" >\n <mj-form-toolbar [form]=\"this\"></mj-form-toolbar>\n\n <mj-tabstrip (TabSelected)=\"onTabSelect($event)\" (ResizeContainer)=\"InvokeManualResize()\">\n \n <mj-tab Name=\"Details\">\n Details\n </mj-tab>\n <mj-tab-body>\n <mj-form-section \n Entity=\"MJ: AI Vendors\" \n Section=\"details\" \n [record]=\"record\" \n [EditMode]=\"this.EditMode\">\n </mj-form-section>\n </mj-tab-body>\n \n <mj-tab Name=\"MJ: AI Prompt Models\" [Visible]=\"record.IsSaved\"> \n MJ: AI Prompt Models\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Prompt Models','VendorID')\" \n [NewRecordValues]=\"NewRecordValues('MJ: AI Prompt Models')\"\n [AllowLoad]=\"IsCurrentTab('MJ: AI Prompt Models')\" \n [EditMode]=\"GridEditMode()\" \n >\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"AI Result Cache\" [Visible]=\"record.IsSaved\"> \n AI Result Cache\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('AI Result Cache','VendorID')\" \n [NewRecordValues]=\"NewRecordValues('AI Result Cache')\"\n [AllowLoad]=\"IsCurrentTab('AI Result Cache')\" \n [EditMode]=\"GridEditMode()\" \n >\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"MJ: AI Model Costs\" [Visible]=\"record.IsSaved\"> \n MJ: AI Model Costs\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Model Costs','VendorID')\" \n [NewRecordValues]=\"NewRecordValues('MJ: AI Model Costs')\"\n [AllowLoad]=\"IsCurrentTab('MJ: AI Model Costs')\" \n [EditMode]=\"GridEditMode()\" \n >\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"MJ: AI Model Vendors\" [Visible]=\"record.IsSaved\"> \n MJ: AI Model Vendors\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Model Vendors','VendorID')\" \n [NewRecordValues]=\"NewRecordValues('MJ: AI Model Vendors')\"\n [AllowLoad]=\"IsCurrentTab('MJ: AI Model Vendors')\" \n [EditMode]=\"GridEditMode()\" \n >\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"MJ: AI Prompt Runs\" [Visible]=\"record.IsSaved\"> \n MJ: AI Prompt Runs\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Prompt Runs','VendorID')\" \n [NewRecordValues]=\"NewRecordValues('MJ: AI Prompt Runs')\"\n [AllowLoad]=\"IsCurrentTab('MJ: AI Prompt Runs')\" \n [EditMode]=\"GridEditMode()\" \n >\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"MJ: AI Vendor Types\" [Visible]=\"record.IsSaved\"> \n MJ: AI Vendor Types\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Vendor Types','VendorID')\" \n [NewRecordValues]=\"NewRecordValues('MJ: AI Vendor Types')\"\n [AllowLoad]=\"IsCurrentTab('MJ: AI Vendor Types')\" \n [EditMode]=\"GridEditMode()\" \n >\n </mj-user-view-grid> \n </mj-tab-body>\n </mj-tabstrip>\n </form>\n</div>\n ", styles: [".k-pane {\n background-color: #F5F6FA;\n}\n\n.content-margin {\n margin: 10px;\n} \n\n\na {\n font-size: 14px;\n font-weight: bolder;\n}\n\n.tab-header-icon {\n margin-right: 5px;\n}\n\n.record-form {\n display: block;\n flex-direction: column;\n background-color: #F5F6FA;\n padding: 10px;\n}\n\n.record-form-group {\n margin-top: 0px;\n background-color: #F5F6FA;\n}\n\nbutton {\n margin-right: 5px;\n}\n\n.record-form h2 {\n margin-bottom: 10px;\n}\n\n.k-splitter {\n border-width: 0px;\n}\n\n.record-form-row {\n display: grid;\n grid-template-columns: auto 1fr;\n align-items: start;\n gap: 10px;\n margin-bottom: 12px;\n padding-top: 5px;\n padding-bottom: 5px;\n}\n\n\n/* .record-form .record-form-row:nth-child(odd) {\n background-color: #f2f2f2; \n} */\n\n/* \n.record-form .record-form-row:nth-child(even) {\n background-color: #ffffff; \n} */\n\n.record-form .record-form-row > :first-child {\n font-weight: bold;\n padding-right: 10px;\n} \n\n.record-form .record-form-row > span {\n white-space: pre-line;\n max-height: 300px;\n overflow: auto;\n}\n\n \n\n@media (min-width: 768px) {\n .record-form-row {\n flex-direction: row;\n align-items: center;\n }\n\n .record-form-row label {\n width: 240px;\n margin-bottom: 0;\n }\n}\n"] }]
|
|
116
115
|
}], null, null); })();
|
|
117
116
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AIVendorFormComponent, { className: "AIVendorFormComponent", filePath: "src/lib/generated/Entities/AIVendor/aivendor.form.component.ts", lineNumber: 14 }); })();
|
|
118
117
|
export function LoadAIVendorFormComponent() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aivendor.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/AIVendor/aivendor.form.component.ts","../../../../../src/lib/generated/Entities/AIVendor/aivendor.form.component.html"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,4BAA4B,EAAE,MAAM,8BAA8B,CAAA;;;;;;;;;;ICHvE,kCAA0D;IACtD,qCAAiD;IAEzC,sCAA2F;IAAzC,AAArC,yMAAe,0BAAmB,KAAC,8LAAqB,2BAAoB,KAAC;IAEtF,iCAAuB;IACnB,yBACJ;IAAA,iBAAS;IACT,mCAAa;IACT,qCAKkB;IACtB,iBAAc;IAEd,iCAA+D;IAC3D,sCACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IACxB,iBAAc;IAEd,mCAA0D;IACtD,kCACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IACxB,iBAAc;IAEd,mCAA6D;IACzD,qCACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IACxB,iBAAc;IAEd,mCAA+D;IAC3D,uCACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IACxB,iBAAc;IAEd,mCAA6D;IACzD,
|
|
1
|
+
{"version":3,"file":"aivendor.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/AIVendor/aivendor.form.component.ts","../../../../../src/lib/generated/Entities/AIVendor/aivendor.form.component.html"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,4BAA4B,EAAE,MAAM,8BAA8B,CAAA;;;;;;;;;;ICHvE,kCAA0D;IACtD,qCAAiD;IAEzC,sCAA2F;IAAzC,AAArC,yMAAe,0BAAmB,KAAC,8LAAqB,2BAAoB,KAAC;IAEtF,iCAAuB;IACnB,yBACJ;IAAA,iBAAS;IACT,mCAAa;IACT,qCAKkB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qB,SAArB,qBAAqB;oEAArB,qBAAqB;YCblC,8BAAqC;YACjC,0EAA0D;YAgG9D,iBAAM;;YAhGK,cAAY;YAAZ,iCAAY;;;ADYV,qBAAqB;IANjC,aAAa,CAAC,iBAAiB,EAAE,gBAAgB,CAAC,CAAC,uCAAuC;GAM9E,qBAAqB,CAEjC;;iFAFY,qBAAqB;cALjC,SAAS;2BACI,mBAAmB;;kFAIpB,qBAAqB;AAIlC,MAAM,UAAU,yBAAyB;IACrC,4BAA4B,EAAE,CAAC;AACnC,CAAC"}
|
package/dist/public-api.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export * from './lib/generated/generated-forms.module';
|
|
2
2
|
export * from './lib/custom/custom-forms.module';
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
5
|
-
export { TestHarnessDialogService } from './lib/custom/test-harness-dialog.service';
|
|
3
|
+
export { NewAgentDialogComponent } from './lib/custom/AIAgents/new-agent-dialog.component';
|
|
4
|
+
export { NewAgentDialogService } from './lib/custom/AIAgents/new-agent-dialog.service';
|
|
6
5
|
//# sourceMappingURL=public-api.d.ts.map
|
package/dist/public-api.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../src/public-api.ts"],"names":[],"mappings":"AAIA,cAAc,wCAAwC,CAAC;AACvD,cAAc,kCAAkC,CAAC;
|
|
1
|
+
{"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../src/public-api.ts"],"names":[],"mappings":"AAIA,cAAc,wCAAwC,CAAC;AACvD,cAAc,kCAAkC,CAAC;AAIjD,OAAO,EAAE,uBAAuB,EAAE,MAAM,kDAAkD,CAAC;AAC3F,OAAO,EAAE,qBAAqB,EAAE,MAAM,gDAAgD,CAAC"}
|
package/dist/public-api.js
CHANGED
|
@@ -3,20 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export * from './lib/generated/generated-forms.module';
|
|
5
5
|
export * from './lib/custom/custom-forms.module';
|
|
6
|
-
// Export
|
|
7
|
-
export {
|
|
8
|
-
export {
|
|
9
|
-
// TODO: Prompt test harness components will be added later
|
|
10
|
-
// export {
|
|
11
|
-
// AIPromptTestHarnessComponent,
|
|
12
|
-
// AIPromptRunResult,
|
|
13
|
-
// TemplateVariable,
|
|
14
|
-
// ConversationMessage as AIPromptConversationMessage,
|
|
15
|
-
// SavedPromptConversation
|
|
16
|
-
// } from './lib/custom/AIPrompts/ai-prompt-test-harness.component';
|
|
17
|
-
// export {
|
|
18
|
-
// AIPromptTestHarnessDialogComponent,
|
|
19
|
-
// AIPromptTestHarnessDialogData
|
|
20
|
-
// } from './lib/custom/AIPrompts/ai-prompt-test-harness-dialog.component';
|
|
21
|
-
export { TestHarnessDialogService } from './lib/custom/test-harness-dialog.service';
|
|
6
|
+
// Export Agent Dialog components and service
|
|
7
|
+
export { NewAgentDialogComponent } from './lib/custom/AIAgents/new-agent-dialog.component';
|
|
8
|
+
export { NewAgentDialogService } from './lib/custom/AIAgents/new-agent-dialog.service';
|
|
22
9
|
//# sourceMappingURL=public-api.js.map
|
package/dist/public-api.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public-api.js","sourceRoot":"","sources":["../src/public-api.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,wCAAwC,CAAC;AACvD,cAAc,kCAAkC,CAAC;
|
|
1
|
+
{"version":3,"file":"public-api.js","sourceRoot":"","sources":["../src/public-api.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,wCAAwC,CAAC;AACvD,cAAc,kCAAkC,CAAC;AAGjD,6CAA6C;AAC7C,OAAO,EAAE,uBAAuB,EAAE,MAAM,kDAAkD,CAAC;AAC3F,OAAO,EAAE,qBAAqB,EAAE,MAAM,gDAAgD,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@memberjunction/ng-core-entity-forms",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.55.0",
|
|
4
4
|
"description": "MemberJunction Core Entity Angular Forms",
|
|
5
5
|
"main": "./dist/public-api.js",
|
|
6
6
|
"typings": "./dist/public-api.d.ts",
|
|
@@ -24,17 +24,18 @@
|
|
|
24
24
|
"@angular/forms": "18.0.2"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@memberjunction/core": "2.
|
|
28
|
-
"@memberjunction/core-entities": "2.
|
|
29
|
-
"@memberjunction/ng-
|
|
30
|
-
"@memberjunction/ng-
|
|
31
|
-
"@memberjunction/ng-
|
|
32
|
-
"@memberjunction/ng-
|
|
33
|
-
"@memberjunction/ng-
|
|
34
|
-
"@memberjunction/ng-
|
|
35
|
-
"@memberjunction/ng-
|
|
36
|
-
"@memberjunction/
|
|
37
|
-
"@memberjunction/ai-
|
|
27
|
+
"@memberjunction/core": "2.55.0",
|
|
28
|
+
"@memberjunction/core-entities": "2.55.0",
|
|
29
|
+
"@memberjunction/ng-base-forms": "2.55.0",
|
|
30
|
+
"@memberjunction/ng-form-toolbar": "2.55.0",
|
|
31
|
+
"@memberjunction/ng-tabstrip": "2.55.0",
|
|
32
|
+
"@memberjunction/ng-container-directives": "2.55.0",
|
|
33
|
+
"@memberjunction/ng-code-editor": "2.55.0",
|
|
34
|
+
"@memberjunction/ng-timeline": "2.55.0",
|
|
35
|
+
"@memberjunction/ng-join-grid": "2.55.0",
|
|
36
|
+
"@memberjunction/ai-engine-base": "2.55.0",
|
|
37
|
+
"@memberjunction/ng-ai-test-harness": "2.55.0",
|
|
38
|
+
"@memberjunction/ng-action-gallery": "2.55.0",
|
|
38
39
|
"@progress/kendo-angular-grid": "16.2.0",
|
|
39
40
|
"@progress/kendo-angular-dropdowns": "16.2.0",
|
|
40
41
|
"tslib": "^2.3.0"
|
|
@@ -1,273 +0,0 @@
|
|
|
1
|
-
import { OnChanges, SimpleChanges, OnDestroy, ElementRef, AfterViewInit, ChangeDetectorRef, ViewContainerRef, EventEmitter } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* Progress message with display mode
|
|
5
|
-
*/
|
|
6
|
-
export interface ProgressMessage {
|
|
7
|
-
id: string;
|
|
8
|
-
message: string;
|
|
9
|
-
timestamp: Date;
|
|
10
|
-
displayMode: 'live' | 'historical' | 'both';
|
|
11
|
-
metadata?: Record<string, unknown>;
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* Represents a node in the execution tree with all necessary display information
|
|
15
|
-
*/
|
|
16
|
-
export interface ExecutionTreeNode {
|
|
17
|
-
id: string;
|
|
18
|
-
name: string;
|
|
19
|
-
type: 'validation' | 'prompt' | 'action' | 'sub-agent' | 'decision' | 'chat';
|
|
20
|
-
status: 'pending' | 'running' | 'completed' | 'failed';
|
|
21
|
-
startTime?: Date;
|
|
22
|
-
endTime?: Date;
|
|
23
|
-
duration?: number;
|
|
24
|
-
agentPath: string[];
|
|
25
|
-
inputPreview?: string;
|
|
26
|
-
outputPreview?: string;
|
|
27
|
-
error?: string;
|
|
28
|
-
children?: ExecutionTreeNode[];
|
|
29
|
-
expanded?: boolean;
|
|
30
|
-
depth: number;
|
|
31
|
-
tokensUsed?: number;
|
|
32
|
-
cost?: number;
|
|
33
|
-
detailsMarkdown?: string;
|
|
34
|
-
detailsExpanded?: boolean;
|
|
35
|
-
promptCount?: number;
|
|
36
|
-
displayMode?: 'live' | 'historical' | 'both';
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* Mode for the execution monitor component
|
|
40
|
-
*/
|
|
41
|
-
export type ExecutionMonitorMode = 'live' | 'historical';
|
|
42
|
-
/**
|
|
43
|
-
* Execution statistics for display
|
|
44
|
-
*/
|
|
45
|
-
export interface ExecutionStats {
|
|
46
|
-
totalSteps: number;
|
|
47
|
-
completedSteps: number;
|
|
48
|
-
failedSteps: number;
|
|
49
|
-
totalTokens: number;
|
|
50
|
-
totalCost: number;
|
|
51
|
-
stepsByType: Record<string, number>;
|
|
52
|
-
totalDuration?: number;
|
|
53
|
-
totalPrompts: number;
|
|
54
|
-
}
|
|
55
|
-
/**
|
|
56
|
-
* AgentExecutionMonitor Component
|
|
57
|
-
*
|
|
58
|
-
* A reusable component for visualizing AI agent execution flow in real-time or historically.
|
|
59
|
-
* Displays a hierarchical tree of execution steps with status, timing, and preview information.
|
|
60
|
-
*
|
|
61
|
-
* Features:
|
|
62
|
-
* - Real-time updates for live executions
|
|
63
|
-
* - Historical playback for completed executions
|
|
64
|
-
* - Collapsible tree structure
|
|
65
|
-
* - Step status indicators with animations
|
|
66
|
-
* - Execution statistics
|
|
67
|
-
* - Token usage and cost tracking
|
|
68
|
-
* - Error display
|
|
69
|
-
* - Input/output preview
|
|
70
|
-
*/
|
|
71
|
-
export declare class AgentExecutionMonitorComponent implements OnChanges, OnDestroy, AfterViewInit {
|
|
72
|
-
private cdr;
|
|
73
|
-
mode: ExecutionMonitorMode;
|
|
74
|
-
executionData: any;
|
|
75
|
-
autoExpand: boolean;
|
|
76
|
-
runId: string | null;
|
|
77
|
-
runType: 'agent' | 'prompt';
|
|
78
|
-
viewRunClick: EventEmitter<{
|
|
79
|
-
runId: string;
|
|
80
|
-
runType: 'agent' | 'prompt';
|
|
81
|
-
}>;
|
|
82
|
-
executionTreeContainer: ElementRef<HTMLDivElement>;
|
|
83
|
-
executionNodesContainer: ViewContainerRef;
|
|
84
|
-
executionTree: ExecutionTreeNode[];
|
|
85
|
-
currentStep: ExecutionTreeNode | null;
|
|
86
|
-
private nodeComponentMap;
|
|
87
|
-
stats: ExecutionStats;
|
|
88
|
-
private userHasInteracted;
|
|
89
|
-
private userHasScrolled;
|
|
90
|
-
private isAutoScrolling;
|
|
91
|
-
private lastScrollPosition;
|
|
92
|
-
private scrollThreshold;
|
|
93
|
-
private viewInitialized;
|
|
94
|
-
private processedStepIds;
|
|
95
|
-
private newlyAddedNodeIds;
|
|
96
|
-
private destroy$;
|
|
97
|
-
private updateSubscription?;
|
|
98
|
-
constructor(cdr: ChangeDetectorRef);
|
|
99
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
100
|
-
ngAfterViewInit(): void;
|
|
101
|
-
ngOnDestroy(): void;
|
|
102
|
-
/**
|
|
103
|
-
* Clear all dynamically created components
|
|
104
|
-
*/
|
|
105
|
-
private clearNodeComponents;
|
|
106
|
-
/**
|
|
107
|
-
* Process execution data based on mode
|
|
108
|
-
*/
|
|
109
|
-
private processExecutionData;
|
|
110
|
-
/**
|
|
111
|
-
* Build tree from historical execution data
|
|
112
|
-
*/
|
|
113
|
-
private buildTreeFromHistoricalData;
|
|
114
|
-
/**
|
|
115
|
-
* Render the execution tree using dynamic components
|
|
116
|
-
*/
|
|
117
|
-
private renderTree;
|
|
118
|
-
/**
|
|
119
|
-
* Create a component for a node and its children
|
|
120
|
-
*/
|
|
121
|
-
private createNodeComponent;
|
|
122
|
-
/**
|
|
123
|
-
* Convert new execution tree format to display nodes
|
|
124
|
-
*/
|
|
125
|
-
private convertExecutionTree;
|
|
126
|
-
/**
|
|
127
|
-
* Convert legacy step format to tree nodes
|
|
128
|
-
*/
|
|
129
|
-
private convertLegacySteps;
|
|
130
|
-
/**
|
|
131
|
-
* Map step type strings to our type enum
|
|
132
|
-
*/
|
|
133
|
-
private mapStepType;
|
|
134
|
-
/**
|
|
135
|
-
* Map status strings to our status enum
|
|
136
|
-
*/
|
|
137
|
-
private mapStepStatus;
|
|
138
|
-
/**
|
|
139
|
-
* Create a preview string from data
|
|
140
|
-
*/
|
|
141
|
-
private createPreview;
|
|
142
|
-
/**
|
|
143
|
-
* Extract token count from output data
|
|
144
|
-
*/
|
|
145
|
-
private extractTokens;
|
|
146
|
-
/**
|
|
147
|
-
* Extract cost from output data
|
|
148
|
-
*/
|
|
149
|
-
private extractCost;
|
|
150
|
-
/**
|
|
151
|
-
* Calculate duration from timestamps
|
|
152
|
-
*/
|
|
153
|
-
private calculateDuration;
|
|
154
|
-
/**
|
|
155
|
-
* Set up live updates for real-time execution
|
|
156
|
-
*/
|
|
157
|
-
private setupLiveUpdates;
|
|
158
|
-
/**
|
|
159
|
-
* Convert live steps format to execution tree format
|
|
160
|
-
*/
|
|
161
|
-
private convertLiveStepsToTree;
|
|
162
|
-
/**
|
|
163
|
-
* Update current step indicator
|
|
164
|
-
*/
|
|
165
|
-
private updateCurrentStep;
|
|
166
|
-
/**
|
|
167
|
-
* Mark previously new nodes as completed
|
|
168
|
-
*/
|
|
169
|
-
private markPreviouslyNewNodesAsComplete;
|
|
170
|
-
/**
|
|
171
|
-
* Find a node by ID in the tree
|
|
172
|
-
*/
|
|
173
|
-
private findNodeById;
|
|
174
|
-
/**
|
|
175
|
-
* Calculate execution statistics
|
|
176
|
-
*/
|
|
177
|
-
private calculateStats;
|
|
178
|
-
/**
|
|
179
|
-
* Toggle node expansion
|
|
180
|
-
*/
|
|
181
|
-
toggleNode(node: ExecutionTreeNode): void;
|
|
182
|
-
/**
|
|
183
|
-
* Check if node has expandable content
|
|
184
|
-
*/
|
|
185
|
-
private hasExpandableContent;
|
|
186
|
-
/**
|
|
187
|
-
* Handle scroll events
|
|
188
|
-
*/
|
|
189
|
-
onScroll(event: Event): void;
|
|
190
|
-
/**
|
|
191
|
-
* Handle user clicks (interaction detection)
|
|
192
|
-
*/
|
|
193
|
-
onUserInteraction(): void;
|
|
194
|
-
/**
|
|
195
|
-
* Check if scroll is at bottom
|
|
196
|
-
*/
|
|
197
|
-
private isScrolledToBottom;
|
|
198
|
-
/**
|
|
199
|
-
* Check if user is at bottom (for initial setup)
|
|
200
|
-
*/
|
|
201
|
-
private checkIfUserAtBottom;
|
|
202
|
-
/**
|
|
203
|
-
* Auto-scroll to bottom if user hasn't interacted
|
|
204
|
-
*/
|
|
205
|
-
private autoScrollToBottom;
|
|
206
|
-
/**
|
|
207
|
-
* Format agent path for display
|
|
208
|
-
*/
|
|
209
|
-
formatAgentPath(path: string[]): string;
|
|
210
|
-
/**
|
|
211
|
-
* Format duration for display
|
|
212
|
-
*/
|
|
213
|
-
formatDuration(ms: number): string;
|
|
214
|
-
/**
|
|
215
|
-
* Get step types for display
|
|
216
|
-
*/
|
|
217
|
-
getStepTypes(): string[];
|
|
218
|
-
/**
|
|
219
|
-
* Format markdown content for display
|
|
220
|
-
*/
|
|
221
|
-
formatMarkdown(markdown: string): string;
|
|
222
|
-
/**
|
|
223
|
-
* Append new live steps without re-rendering entire tree
|
|
224
|
-
*/
|
|
225
|
-
private appendNewLiveSteps;
|
|
226
|
-
/**
|
|
227
|
-
* Generate a stable ID for a step based on its content
|
|
228
|
-
*/
|
|
229
|
-
private generateStepId;
|
|
230
|
-
/**
|
|
231
|
-
* Find parent node based on depth
|
|
232
|
-
*/
|
|
233
|
-
private findParentNode;
|
|
234
|
-
/**
|
|
235
|
-
* Filter nodes based on display mode
|
|
236
|
-
*/
|
|
237
|
-
private filterNodesForMode;
|
|
238
|
-
/**
|
|
239
|
-
* Build a map of nodes by ID for quick lookup
|
|
240
|
-
*/
|
|
241
|
-
private buildNodeMap;
|
|
242
|
-
/**
|
|
243
|
-
* Create a single node from a live step
|
|
244
|
-
*/
|
|
245
|
-
private createNodeFromLiveStep;
|
|
246
|
-
/**
|
|
247
|
-
* Collect all node IDs in the tree
|
|
248
|
-
*/
|
|
249
|
-
private collectNodeIds;
|
|
250
|
-
/**
|
|
251
|
-
* Preserve expanded state of all nodes
|
|
252
|
-
*/
|
|
253
|
-
private preserveExpandedState;
|
|
254
|
-
/**
|
|
255
|
-
* Restore expanded state of all nodes
|
|
256
|
-
*/
|
|
257
|
-
private restoreExpandedState;
|
|
258
|
-
/**
|
|
259
|
-
* Check if execution is complete
|
|
260
|
-
*/
|
|
261
|
-
isExecutionComplete(): boolean;
|
|
262
|
-
/**
|
|
263
|
-
* Handle view run button click
|
|
264
|
-
*/
|
|
265
|
-
onViewRunClick(): void;
|
|
266
|
-
/**
|
|
267
|
-
* Append a node to its parent based on depth
|
|
268
|
-
*/
|
|
269
|
-
private appendToParent;
|
|
270
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AgentExecutionMonitorComponent, never>;
|
|
271
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AgentExecutionMonitorComponent, "mj-agent-execution-monitor", never, { "mode": { "alias": "mode"; "required": false; }; "executionData": { "alias": "executionData"; "required": false; }; "autoExpand": { "alias": "autoExpand"; "required": false; }; "runId": { "alias": "runId"; "required": false; }; "runType": { "alias": "runType"; "required": false; }; }, { "viewRunClick": "viewRunClick"; }, never, never, true, never>;
|
|
272
|
-
}
|
|
273
|
-
//# sourceMappingURL=agent-execution-monitor.component.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"agent-execution-monitor.component.d.ts","sourceRoot":"","sources":["../../../../src/lib/custom/ai-test-harness/agent-execution-monitor.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,SAAS,EAAE,aAAa,EAAE,SAAS,EAAa,UAAU,EAAE,aAAa,EAAE,iBAAiB,EAA2B,gBAAgB,EAAwB,YAAY,EAAE,MAAM,eAAe,CAAC;;AAM9N;;GAEG;AACH,MAAM,WAAW,eAAe;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,IAAI,CAAC;IAChB,WAAW,EAAE,MAAM,GAAG,YAAY,GAAG,MAAM,CAAC;IAC5C,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACtC;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,YAAY,GAAG,QAAQ,GAAG,QAAQ,GAAG,WAAW,GAAG,UAAU,GAAG,MAAM,CAAC;IAC7E,MAAM,EAAE,SAAS,GAAG,SAAS,GAAG,WAAW,GAAG,QAAQ,CAAC;IACvD,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB,OAAO,CAA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