@memberjunction/ng-core-entity-forms 2.78.0 → 2.79.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/AIPromptRuns/ai-prompt-run-form.component.d.ts +6 -2
- package/dist/lib/custom/AIPromptRuns/ai-prompt-run-form.component.d.ts.map +1 -1
- package/dist/lib/custom/AIPromptRuns/ai-prompt-run-form.component.js +542 -141
- package/dist/lib/custom/AIPromptRuns/ai-prompt-run-form.component.js.map +1 -1
- package/dist/lib/custom/ai-agent-run/ai-agent-run-analytics.component.d.ts +19 -0
- package/dist/lib/custom/ai-agent-run/ai-agent-run-analytics.component.d.ts.map +1 -1
- package/dist/lib/custom/ai-agent-run/ai-agent-run-analytics.component.js +69 -17
- package/dist/lib/custom/ai-agent-run/ai-agent-run-analytics.component.js.map +1 -1
- package/dist/lib/custom/ai-agent-run/ai-agent-run-data.service.d.ts +28 -0
- package/dist/lib/custom/ai-agent-run/ai-agent-run-data.service.d.ts.map +1 -1
- package/dist/lib/custom/ai-agent-run/ai-agent-run-data.service.js +81 -5
- package/dist/lib/custom/ai-agent-run/ai-agent-run-data.service.js.map +1 -1
- package/dist/lib/custom/ai-agent-run/ai-agent-run-timeline.component.d.ts +11 -3
- package/dist/lib/custom/ai-agent-run/ai-agent-run-timeline.component.d.ts.map +1 -1
- package/dist/lib/custom/ai-agent-run/ai-agent-run-timeline.component.js +76 -31
- package/dist/lib/custom/ai-agent-run/ai-agent-run-timeline.component.js.map +1 -1
- package/dist/lib/custom/ai-agent-run/ai-agent-run-visualization.component.d.ts +7 -1
- package/dist/lib/custom/ai-agent-run/ai-agent-run-visualization.component.d.ts.map +1 -1
- package/dist/lib/custom/ai-agent-run/ai-agent-run-visualization.component.js +84 -18
- package/dist/lib/custom/ai-agent-run/ai-agent-run-visualization.component.js.map +1 -1
- package/dist/lib/custom/ai-agent-run/ai-agent-run.component.d.ts +5 -0
- 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 +205 -60
- package/dist/lib/custom/ai-agent-run/ai-agent-run.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIAgentRun/aiagentrun.form.component.js +6 -6
- package/dist/lib/generated/Entities/AIAgentRun/aiagentrun.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIAgentRun/sections/details.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/AIAgentRun/sections/details.component.js +82 -4
- package/dist/lib/generated/Entities/AIAgentRun/sections/details.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIConfiguration/aiconfiguration.form.component.js +19 -9
- package/dist/lib/generated/Entities/AIConfiguration/aiconfiguration.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIModel/aimodel.form.component.js +13 -3
- package/dist/lib/generated/Entities/AIModel/aimodel.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIPrompt/aiprompt.form.component.js +6 -6
- package/dist/lib/generated/Entities/AIPromptRun/sections/details.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/AIPromptRun/sections/details.component.js +60 -4
- package/dist/lib/generated/Entities/AIPromptRun/sections/details.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIVendor/aivendor.form.component.js +13 -3
- package/dist/lib/generated/Entities/AIVendor/aivendor.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/User/user.form.component.js +6 -6
- package/dist/lib/generated/Entities/User/user.form.component.js.map +1 -1
- package/package.json +16 -16
|
@@ -104,6 +104,12 @@ function AIModelFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
104
104
|
i0.ɵɵelementEnd();
|
|
105
105
|
i0.ɵɵelementStart(58, "mj-tab-body");
|
|
106
106
|
i0.ɵɵelement(59, "mj-user-view-grid", 9);
|
|
107
|
+
i0.ɵɵelementEnd();
|
|
108
|
+
i0.ɵɵelementStart(60, "mj-tab", 22);
|
|
109
|
+
i0.ɵɵtext(61, " MJ: AI Agent Runs ");
|
|
110
|
+
i0.ɵɵelementEnd();
|
|
111
|
+
i0.ɵɵelementStart(62, "mj-tab-body");
|
|
112
|
+
i0.ɵɵelement(63, "mj-user-view-grid", 9);
|
|
107
113
|
i0.ɵɵelementEnd()()();
|
|
108
114
|
} if (rf & 2) {
|
|
109
115
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -163,12 +169,16 @@ function AIModelFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
163
169
|
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved);
|
|
164
170
|
i0.ɵɵadvance(3);
|
|
165
171
|
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: AI Prompt Runs", "ModelID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: AI Prompt Runs"))("AllowLoad", ctx_r1.IsCurrentTab("MJ: AI Prompt Runs"))("EditMode", ctx_r1.GridEditMode());
|
|
172
|
+
i0.ɵɵadvance();
|
|
173
|
+
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved);
|
|
174
|
+
i0.ɵɵadvance(3);
|
|
175
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: AI Agent Runs", "OverrideModelID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: AI Agent Runs"))("AllowLoad", ctx_r1.IsCurrentTab("MJ: AI Agent Runs"))("EditMode", ctx_r1.GridEditMode());
|
|
166
176
|
} }
|
|
167
177
|
let AIModelFormComponent = class AIModelFormComponent extends BaseFormComponent {
|
|
168
178
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵAIModelFormComponent_BaseFactory; return function AIModelFormComponent_Factory(t) { return (ɵAIModelFormComponent_BaseFactory || (ɵAIModelFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(AIModelFormComponent)))(t || AIModelFormComponent); }; })(); }
|
|
169
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AIModelFormComponent, selectors: [["gen-aimodel-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", "AI Models", "Section", "details", 3, "record", "EditMode"], ["Name", "AI Actions", 3, "Visible"], [3, "Params", "NewRecordValues", "AllowLoad", "EditMode"], ["Name", "AI Model Actions", 3, "Visible"], ["Name", "Vector Indexes", 3, "Visible"], ["Name", "Entity Documents", 3, "Visible"], ["Name", "Entity AI Actions", 3, "Visible"], ["Name", "Content Types", 3, "Visible"], ["Name", "AI Result Cache", 3, "Visible"], ["Name", "AIAgent Models", 3, "Visible"], ["Name", "MJ: AI Model Vendors", 3, "Visible"], ["Name", "Generated Codes", 3, "Visible"], ["Name", "MJ: AI Model Costs", 3, "Visible"], ["Name", "MJ: AI Prompt Models", 3, "Visible"], ["Name", "MJ: AI Prompt Runs", 3, "Visible"]], template: function AIModelFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
179
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AIModelFormComponent, selectors: [["gen-aimodel-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", "AI Models", "Section", "details", 3, "record", "EditMode"], ["Name", "AI Actions", 3, "Visible"], [3, "Params", "NewRecordValues", "AllowLoad", "EditMode"], ["Name", "AI Model Actions", 3, "Visible"], ["Name", "Vector Indexes", 3, "Visible"], ["Name", "Entity Documents", 3, "Visible"], ["Name", "Entity AI Actions", 3, "Visible"], ["Name", "Content Types", 3, "Visible"], ["Name", "AI Result Cache", 3, "Visible"], ["Name", "AIAgent Models", 3, "Visible"], ["Name", "MJ: AI Model Vendors", 3, "Visible"], ["Name", "Generated Codes", 3, "Visible"], ["Name", "MJ: AI Model Costs", 3, "Visible"], ["Name", "MJ: AI Prompt Models", 3, "Visible"], ["Name", "MJ: AI Prompt Runs", 3, "Visible"], ["Name", "MJ: AI Agent Runs", 3, "Visible"]], template: function AIModelFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
170
180
|
i0.ɵɵelementStart(0, "div", 1);
|
|
171
|
-
i0.ɵɵtemplate(1, AIModelFormComponent_form_1_Template,
|
|
181
|
+
i0.ɵɵtemplate(1, AIModelFormComponent_form_1_Template, 64, 73, "form", 2);
|
|
172
182
|
i0.ɵɵelementEnd();
|
|
173
183
|
} if (rf & 2) {
|
|
174
184
|
i0.ɵɵadvance();
|
|
@@ -181,7 +191,7 @@ AIModelFormComponent = __decorate([
|
|
|
181
191
|
export { AIModelFormComponent };
|
|
182
192
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AIModelFormComponent, [{
|
|
183
193
|
type: Component,
|
|
184
|
-
args: [{ selector: 'gen-aimodel-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=\"AI Models\" \n Section=\"details\" \n [record]=\"record\" \n [EditMode]=\"this.EditMode\">\n </mj-form-section>\n </mj-tab-body>\n \n <mj-tab Name=\"AI Actions\" [Visible]=\"record.IsSaved\"> \n AI Actions\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('AI Actions','DefaultModelID')\" \n [NewRecordValues]=\"NewRecordValues('AI Actions')\"\n [AllowLoad]=\"IsCurrentTab('AI Actions')\" \n [EditMode]=\"GridEditMode()\" \n >\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"AI Model Actions\" [Visible]=\"record.IsSaved\"> \n AI Model Actions\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('AI Model Actions','AIModelID')\" \n [NewRecordValues]=\"NewRecordValues('AI Model Actions')\"\n [AllowLoad]=\"IsCurrentTab('AI Model Actions')\" \n [EditMode]=\"GridEditMode()\" \n >\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"Vector Indexes\" [Visible]=\"record.IsSaved\"> \n Vector Indexes\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Vector Indexes','EmbeddingModelID')\" \n [NewRecordValues]=\"NewRecordValues('Vector Indexes')\"\n [AllowLoad]=\"IsCurrentTab('Vector Indexes')\" \n [EditMode]=\"GridEditMode()\" \n >\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"Entity Documents\" [Visible]=\"record.IsSaved\"> \n Entity Documents\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Entity Documents','AIModelID')\" \n [NewRecordValues]=\"NewRecordValues('Entity Documents')\"\n [AllowLoad]=\"IsCurrentTab('Entity Documents')\" \n [EditMode]=\"GridEditMode()\" \n >\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"Entity AI Actions\" [Visible]=\"record.IsSaved\"> \n Entity AI Actions\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Entity AI Actions','AIModelID')\" \n [NewRecordValues]=\"NewRecordValues('Entity AI Actions')\"\n [AllowLoad]=\"IsCurrentTab('Entity AI Actions')\" \n [EditMode]=\"GridEditMode()\" \n >\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"Content Types\" [Visible]=\"record.IsSaved\"> \n Content Types\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Content Types','AIModelID')\" \n [NewRecordValues]=\"NewRecordValues('Content Types')\"\n [AllowLoad]=\"IsCurrentTab('Content Types')\" \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','AIModelID')\" \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=\"AIAgent Models\" [Visible]=\"record.IsSaved\"> \n AIAgent Models\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('AI Agent Models','ModelID')\" \n [NewRecordValues]=\"NewRecordValues('AI Agent Models')\"\n [AllowLoad]=\"IsCurrentTab('AIAgent Models')\" \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','ModelID')\" \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=\"Generated Codes\" [Visible]=\"record.IsSaved\"> \n Generated Codes\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Generated Codes','GeneratedByModelID')\" \n [NewRecordValues]=\"NewRecordValues('Generated Codes')\"\n [AllowLoad]=\"IsCurrentTab('Generated Codes')\" \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','ModelID')\" \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 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','ModelID')\" \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=\"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','ModelID')\" \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 </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"] }]
|
|
194
|
+
args: [{ selector: 'gen-aimodel-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=\"AI Models\" \n Section=\"details\" \n [record]=\"record\" \n [EditMode]=\"this.EditMode\">\n </mj-form-section>\n </mj-tab-body>\n \n <mj-tab Name=\"AI Actions\" [Visible]=\"record.IsSaved\"> \n AI Actions\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('AI Actions','DefaultModelID')\" \n [NewRecordValues]=\"NewRecordValues('AI Actions')\"\n [AllowLoad]=\"IsCurrentTab('AI Actions')\" \n [EditMode]=\"GridEditMode()\" \n >\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"AI Model Actions\" [Visible]=\"record.IsSaved\"> \n AI Model Actions\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('AI Model Actions','AIModelID')\" \n [NewRecordValues]=\"NewRecordValues('AI Model Actions')\"\n [AllowLoad]=\"IsCurrentTab('AI Model Actions')\" \n [EditMode]=\"GridEditMode()\" \n >\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"Vector Indexes\" [Visible]=\"record.IsSaved\"> \n Vector Indexes\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Vector Indexes','EmbeddingModelID')\" \n [NewRecordValues]=\"NewRecordValues('Vector Indexes')\"\n [AllowLoad]=\"IsCurrentTab('Vector Indexes')\" \n [EditMode]=\"GridEditMode()\" \n >\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"Entity Documents\" [Visible]=\"record.IsSaved\"> \n Entity Documents\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Entity Documents','AIModelID')\" \n [NewRecordValues]=\"NewRecordValues('Entity Documents')\"\n [AllowLoad]=\"IsCurrentTab('Entity Documents')\" \n [EditMode]=\"GridEditMode()\" \n >\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"Entity AI Actions\" [Visible]=\"record.IsSaved\"> \n Entity AI Actions\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Entity AI Actions','AIModelID')\" \n [NewRecordValues]=\"NewRecordValues('Entity AI Actions')\"\n [AllowLoad]=\"IsCurrentTab('Entity AI Actions')\" \n [EditMode]=\"GridEditMode()\" \n >\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"Content Types\" [Visible]=\"record.IsSaved\"> \n Content Types\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Content Types','AIModelID')\" \n [NewRecordValues]=\"NewRecordValues('Content Types')\"\n [AllowLoad]=\"IsCurrentTab('Content Types')\" \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','AIModelID')\" \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=\"AIAgent Models\" [Visible]=\"record.IsSaved\"> \n AIAgent Models\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('AI Agent Models','ModelID')\" \n [NewRecordValues]=\"NewRecordValues('AI Agent Models')\"\n [AllowLoad]=\"IsCurrentTab('AIAgent Models')\" \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','ModelID')\" \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=\"Generated Codes\" [Visible]=\"record.IsSaved\"> \n Generated Codes\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Generated Codes','GeneratedByModelID')\" \n [NewRecordValues]=\"NewRecordValues('Generated Codes')\"\n [AllowLoad]=\"IsCurrentTab('Generated Codes')\" \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','ModelID')\" \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 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','ModelID')\" \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=\"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','ModelID')\" \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 Agent Runs\" [Visible]=\"record.IsSaved\"> \n MJ: AI Agent Runs\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Agent Runs','OverrideModelID')\" \n [NewRecordValues]=\"NewRecordValues('MJ: AI Agent Runs')\"\n [AllowLoad]=\"IsCurrentTab('MJ: AI Agent Runs')\" \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"] }]
|
|
185
195
|
}], null, null); })();
|
|
186
196
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AIModelFormComponent, { className: "AIModelFormComponent", filePath: "src/lib/generated/Entities/AIModel/aimodel.form.component.ts", lineNumber: 14 }); })();
|
|
187
197
|
export function LoadAIModelFormComponent() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aimodel.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/AIModel/aimodel.form.component.ts","../../../../../src/lib/generated/Entities/AIModel/aimodel.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,2BAA2B,EAAE,MAAM,8BAA8B,CAAA;;;;;;;;;;ICHtE,kCAA0D;IACtD,qCAAiD;IAEzC,sCAA2F;IAAzC,AAArC,wMAAe,0BAAmB,KAAC,6LAAqB,2BAAoB,KAAC;IAEtF,iCAAuB;IACnB,yBACJ;IAAA,iBAAS;IACT,mCAAa;IACT,qCAKkB;IACtB,iBAAc;IAEd,iCAAqD;IACjD,4BACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IACxB,iBAAc;IAEd,mCAA2D;IACvD,mCACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IACxB,iBAAc;IAEd,mCAAyD;IACrD,iCACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IACxB,iBAAc;IAEd,mCAA2D;IACvD,mCACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IACxB,iBAAc;IAEd,mCAA4D;IACxD,oCACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IACxB,iBAAc;IAEd,mCAAwD;IACpD,gCACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IACxB,iBAAc;IAEd,mCAA0D;IACtD,kCACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IACxB,iBAAc;IAEd,mCAAyD;IACrD,iCACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IACxB,iBAAc;IAEd,mCAA+D;IAC3D,uCACJ;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,qCACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IAGxC,AADY,AADI,iBAAc,EACJ,EACnB;;;
|
|
1
|
+
{"version":3,"file":"aimodel.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/AIModel/aimodel.form.component.ts","../../../../../src/lib/generated/Entities/AIModel/aimodel.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,2BAA2B,EAAE,MAAM,8BAA8B,CAAA;;;;;;;;;;ICHtE,kCAA0D;IACtD,qCAAiD;IAEzC,sCAA2F;IAAzC,AAArC,wMAAe,0BAAmB,KAAC,6LAAqB,2BAAoB,KAAC;IAEtF,iCAAuB;IACnB,yBACJ;IAAA,iBAAS;IACT,mCAAa;IACT,qCAKkB;IACtB,iBAAc;IAEd,iCAAqD;IACjD,4BACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IACxB,iBAAc;IAEd,mCAA2D;IACvD,mCACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IACxB,iBAAc;IAEd,mCAAyD;IACrD,iCACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IACxB,iBAAc;IAEd,mCAA2D;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oBAAoB;IANhC,aAAa,CAAC,iBAAiB,EAAE,WAAW,CAAC,CAAC,uCAAuC;GAMzE,oBAAoB,CAEhC;;iFAFY,oBAAoB;cALhC,SAAS;2BACI,kBAAkB;;kFAInB,oBAAoB;AAIjC,MAAM,UAAU,wBAAwB;IACpC,2BAA2B,EAAE,CAAC;AAClC,CAAC"}
|
|
@@ -58,13 +58,13 @@ function AIPromptFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
58
58
|
i0.ɵɵelement(27, "mj-user-view-grid", 9);
|
|
59
59
|
i0.ɵɵelementEnd();
|
|
60
60
|
i0.ɵɵelementStart(28, "mj-tab", 13);
|
|
61
|
-
i0.ɵɵtext(29, " MJ: AI
|
|
61
|
+
i0.ɵɵtext(29, " MJ: AI Prompt Models ");
|
|
62
62
|
i0.ɵɵelementEnd();
|
|
63
63
|
i0.ɵɵelementStart(30, "mj-tab-body");
|
|
64
64
|
i0.ɵɵelement(31, "mj-user-view-grid", 9);
|
|
65
65
|
i0.ɵɵelementEnd();
|
|
66
66
|
i0.ɵɵelementStart(32, "mj-tab", 14);
|
|
67
|
-
i0.ɵɵtext(33, " MJ: AI
|
|
67
|
+
i0.ɵɵtext(33, " MJ: AI Agent Prompts ");
|
|
68
68
|
i0.ɵɵelementEnd();
|
|
69
69
|
i0.ɵɵelementStart(34, "mj-tab-body");
|
|
70
70
|
i0.ɵɵelement(35, "mj-user-view-grid", 9);
|
|
@@ -116,11 +116,11 @@ function AIPromptFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
116
116
|
i0.ɵɵadvance();
|
|
117
117
|
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved);
|
|
118
118
|
i0.ɵɵadvance(3);
|
|
119
|
-
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: AI
|
|
119
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: AI Prompt Models", "PromptID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: AI Prompt Models"))("AllowLoad", ctx_r1.IsCurrentTab("MJ: AI Prompt Models"))("EditMode", ctx_r1.GridEditMode());
|
|
120
120
|
i0.ɵɵadvance();
|
|
121
121
|
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved);
|
|
122
122
|
i0.ɵɵadvance(3);
|
|
123
|
-
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: AI
|
|
123
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: AI Agent Prompts", "PromptID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: AI Agent Prompts"))("AllowLoad", ctx_r1.IsCurrentTab("MJ: AI Agent Prompts"))("EditMode", ctx_r1.GridEditMode());
|
|
124
124
|
i0.ɵɵadvance();
|
|
125
125
|
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved);
|
|
126
126
|
i0.ɵɵadvance(3);
|
|
@@ -136,7 +136,7 @@ function AIPromptFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
136
136
|
} }
|
|
137
137
|
let AIPromptFormComponent = class AIPromptFormComponent extends BaseFormComponent {
|
|
138
138
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵAIPromptFormComponent_BaseFactory; return function AIPromptFormComponent_Factory(t) { return (ɵAIPromptFormComponent_BaseFactory || (ɵAIPromptFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(AIPromptFormComponent)))(t || AIPromptFormComponent); }; })(); }
|
|
139
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AIPromptFormComponent, selectors: [["gen-aiprompt-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", "AI Prompts", "Section", "details", 3, "record", "EditMode"], ["Name", "AI Result Cache", 3, "Visible"], [3, "Params", "NewRecordValues", "AllowLoad", "EditMode"], ["Name", "MJ: AI Configurations", 3, "Visible"], ["Name", "MJ: AI Agent Types", 3, "Visible"], ["Name", "AI Prompts", 3, "Visible"], ["Name", "MJ: AI
|
|
139
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AIPromptFormComponent, selectors: [["gen-aiprompt-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", "AI Prompts", "Section", "details", 3, "record", "EditMode"], ["Name", "AI Result Cache", 3, "Visible"], [3, "Params", "NewRecordValues", "AllowLoad", "EditMode"], ["Name", "MJ: AI Configurations", 3, "Visible"], ["Name", "MJ: AI Agent Types", 3, "Visible"], ["Name", "AI Prompts", 3, "Visible"], ["Name", "MJ: AI Prompt Models", 3, "Visible"], ["Name", "MJ: AI Agent Prompts", 3, "Visible"], ["Name", "MJ: AI Agent Steps", 3, "Visible"], ["Name", "MJ: AI Prompt Runs", 3, "Visible"], ["Name", "AI Agents", 3, "Visible"]], template: function AIPromptFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
140
140
|
i0.ɵɵelementStart(0, "div", 1);
|
|
141
141
|
i0.ɵɵtemplate(1, AIPromptFormComponent_form_1_Template, 48, 53, "form", 2);
|
|
142
142
|
i0.ɵɵelementEnd();
|
|
@@ -151,7 +151,7 @@ AIPromptFormComponent = __decorate([
|
|
|
151
151
|
export { AIPromptFormComponent };
|
|
152
152
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AIPromptFormComponent, [{
|
|
153
153
|
type: Component,
|
|
154
|
-
args: [{ selector: 'gen-aiprompt-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=\"AI Prompts\" \n Section=\"details\" \n [record]=\"record\" \n [EditMode]=\"this.EditMode\">\n </mj-form-section>\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','AIPromptID')\" \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 Configurations\" [Visible]=\"record.IsSaved\"> \n MJ: AI Configurations\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Configurations','DefaultPromptForContextCompressionID')\" \n [NewRecordValues]=\"NewRecordValues('MJ: AI Configurations')\"\n [AllowLoad]=\"IsCurrentTab('MJ: AI Configurations')\" \n [EditMode]=\"GridEditMode()\" \n >\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"MJ: AI Agent Types\" [Visible]=\"record.IsSaved\"> \n MJ: AI Agent Types\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Agent Types','SystemPromptID')\" \n [NewRecordValues]=\"NewRecordValues('MJ: AI Agent Types')\"\n [AllowLoad]=\"IsCurrentTab('MJ: AI Agent Types')\" \n [EditMode]=\"GridEditMode()\" \n >\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"MJ: AI Configurations\" [Visible]=\"record.IsSaved\"> \n MJ: AI Configurations\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Configurations','DefaultPromptForContextSummarizationID')\" \n [NewRecordValues]=\"NewRecordValues('MJ: AI Configurations')\"\n [AllowLoad]=\"IsCurrentTab('MJ: AI Configurations')\" \n [EditMode]=\"GridEditMode()\" \n >\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"AI Prompts\" [Visible]=\"record.IsSaved\"> \n AI Prompts\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('AI Prompts','ResultSelectorPromptID')\" \n [NewRecordValues]=\"NewRecordValues('AI Prompts')\"\n [AllowLoad]=\"IsCurrentTab('AI Prompts')\" \n [EditMode]=\"GridEditMode()\" \n >\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"MJ: AI
|
|
154
|
+
args: [{ selector: 'gen-aiprompt-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=\"AI Prompts\" \n Section=\"details\" \n [record]=\"record\" \n [EditMode]=\"this.EditMode\">\n </mj-form-section>\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','AIPromptID')\" \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 Configurations\" [Visible]=\"record.IsSaved\"> \n MJ: AI Configurations\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Configurations','DefaultPromptForContextCompressionID')\" \n [NewRecordValues]=\"NewRecordValues('MJ: AI Configurations')\"\n [AllowLoad]=\"IsCurrentTab('MJ: AI Configurations')\" \n [EditMode]=\"GridEditMode()\" \n >\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"MJ: AI Agent Types\" [Visible]=\"record.IsSaved\"> \n MJ: AI Agent Types\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Agent Types','SystemPromptID')\" \n [NewRecordValues]=\"NewRecordValues('MJ: AI Agent Types')\"\n [AllowLoad]=\"IsCurrentTab('MJ: AI Agent Types')\" \n [EditMode]=\"GridEditMode()\" \n >\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"MJ: AI Configurations\" [Visible]=\"record.IsSaved\"> \n MJ: AI Configurations\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Configurations','DefaultPromptForContextSummarizationID')\" \n [NewRecordValues]=\"NewRecordValues('MJ: AI Configurations')\"\n [AllowLoad]=\"IsCurrentTab('MJ: AI Configurations')\" \n [EditMode]=\"GridEditMode()\" \n >\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"AI Prompts\" [Visible]=\"record.IsSaved\"> \n AI Prompts\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('AI Prompts','ResultSelectorPromptID')\" \n [NewRecordValues]=\"NewRecordValues('AI Prompts')\"\n [AllowLoad]=\"IsCurrentTab('AI Prompts')\" \n [EditMode]=\"GridEditMode()\" \n >\n </mj-user-view-grid> \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','PromptID')\" \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=\"MJ: AI Agent Prompts\" [Visible]=\"record.IsSaved\"> \n MJ: AI Agent Prompts\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Agent Prompts','PromptID')\" \n [NewRecordValues]=\"NewRecordValues('MJ: AI Agent Prompts')\"\n [AllowLoad]=\"IsCurrentTab('MJ: AI Agent Prompts')\" \n [EditMode]=\"GridEditMode()\" \n >\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"MJ: AI Agent Steps\" [Visible]=\"record.IsSaved\"> \n MJ: AI Agent Steps\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Agent Steps','PromptID')\" \n [NewRecordValues]=\"NewRecordValues('MJ: AI Agent Steps')\"\n [AllowLoad]=\"IsCurrentTab('MJ: AI Agent Steps')\" \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','PromptID')\" \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=\"AI Agents\" [Visible]=\"record.IsSaved\"> \n AI Agents\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('AI Agents','ContextCompressionPromptID')\" \n [NewRecordValues]=\"NewRecordValues('AI Agents')\"\n [AllowLoad]=\"IsCurrentTab('AI Agents')\" \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"] }]
|
|
155
155
|
}], null, null); })();
|
|
156
156
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AIPromptFormComponent, { className: "AIPromptFormComponent", filePath: "src/lib/generated/Entities/AIPrompt/aiprompt.form.component.ts", lineNumber: 14 }); })();
|
|
157
157
|
export function LoadAIPromptFormComponent() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"details.component.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/generated/Entities/AIPromptRun/sections/details.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAElE,
|
|
1
|
+
{"version":3,"file":"details.component.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/generated/Entities/AIPromptRun/sections/details.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAElE,qBAkoBa,2BAA4B,SAAQ,wBAAwB;IACnD,MAAM,EAAG,iBAAiB,CAAC;IAC3B,QAAQ,EAAE,OAAO,CAAS;yCAFnC,2BAA2B;2CAA3B,2BAA2B;CAGvC;AAED,wBAAgB,+BAA+B,SAE9C"}
|
|
@@ -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)(45, "mj-form-field", 45)(46, "mj-form-field", 46)(47, "mj-form-field", 47)(48, "mj-form-field", 48)(49, "mj-form-field", 49)(50, "mj-form-field", 50)(51, "mj-form-field", 51)(52, "mj-form-field", 52)(53, "mj-form-field", 53)(54, "mj-form-field", 54)(55, "mj-form-field", 55)(56, "mj-form-field", 56)(57, "mj-form-field", 57)(58, "mj-form-field", 58)(59, "mj-form-field", 59)(60, "mj-form-field", 60)(61, "mj-form-field", 61)(62, "mj-form-field", 62)(63, "mj-form-field", 63)(64, "mj-form-field", 64)(65, "mj-form-field", 65)(66, "mj-form-field", 66)(67, "mj-form-field", 67)(68, "mj-form-field", 68)(69, "mj-form-field", 69)(70, "mj-form-field", 70)(71, "mj-form-field", 71)(72, "mj-form-field", 72)(73, "mj-form-field", 73)(74, "mj-form-field", 74)(75, "mj-form-field", 75)(76, "mj-form-field", 76)(77, "mj-form-field", 77)(78, "mj-form-field", 78)(79, "mj-form-field", 79)(80, "mj-form-field", 80)(81, "mj-form-field", 81)(82, "mj-form-field", 82);
|
|
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)(46, "mj-form-field", 46)(47, "mj-form-field", 47)(48, "mj-form-field", 48)(49, "mj-form-field", 49)(50, "mj-form-field", 50)(51, "mj-form-field", 51)(52, "mj-form-field", 52)(53, "mj-form-field", 53)(54, "mj-form-field", 54)(55, "mj-form-field", 55)(56, "mj-form-field", 56)(57, "mj-form-field", 57)(58, "mj-form-field", 58)(59, "mj-form-field", 59)(60, "mj-form-field", 60)(61, "mj-form-field", 61)(62, "mj-form-field", 62)(63, "mj-form-field", 63)(64, "mj-form-field", 64)(65, "mj-form-field", 65)(66, "mj-form-field", 66)(67, "mj-form-field", 67)(68, "mj-form-field", 68)(69, "mj-form-field", 69)(70, "mj-form-field", 70)(71, "mj-form-field", 71)(72, "mj-form-field", 72)(73, "mj-form-field", 73)(74, "mj-form-field", 74)(75, "mj-form-field", 75)(76, "mj-form-field", 76)(77, "mj-form-field", 77)(78, "mj-form-field", 78)(79, "mj-form-field", 79)(80, "mj-form-field", 80)(81, "mj-form-field", 81)(82, "mj-form-field", 82)(83, "mj-form-field", 83)(84, "mj-form-field", 84)(85, "mj-form-field", 85)(86, "mj-form-field", 86)(87, "mj-form-field", 87)(88, "mj-form-field", 88);
|
|
16
16
|
i0.ɵɵelementEnd()();
|
|
17
17
|
} if (rf & 2) {
|
|
18
18
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -178,6 +178,18 @@ function AIPromptRunDetailsComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
178
178
|
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
179
179
|
i0.ɵɵadvance();
|
|
180
180
|
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
181
|
+
i0.ɵɵadvance();
|
|
182
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
183
|
+
i0.ɵɵadvance();
|
|
184
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
185
|
+
i0.ɵɵadvance();
|
|
186
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
187
|
+
i0.ɵɵadvance();
|
|
188
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
189
|
+
i0.ɵɵadvance();
|
|
190
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
191
|
+
i0.ɵɵadvance();
|
|
192
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
181
193
|
} }
|
|
182
194
|
let AIPromptRunDetailsComponent = class AIPromptRunDetailsComponent extends BaseFormSectionComponent {
|
|
183
195
|
constructor() {
|
|
@@ -185,8 +197,8 @@ let AIPromptRunDetailsComponent = class AIPromptRunDetailsComponent extends Base
|
|
|
185
197
|
this.EditMode = false;
|
|
186
198
|
}
|
|
187
199
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵAIPromptRunDetailsComponent_BaseFactory; return function AIPromptRunDetailsComponent_Factory(t) { return (ɵAIPromptRunDetailsComponent_BaseFactory || (ɵAIPromptRunDetailsComponent_BaseFactory = i0.ɵɵgetInheritedFactory(AIPromptRunDetailsComponent)))(t || AIPromptRunDetailsComponent); }; })(); }
|
|
188
|
-
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", "ValidationAttemptCount", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "SuccessfulValidationCount", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "FinalValidationPassed", "Type", "checkbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "ValidationBehavior", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "RetryStrategy", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "MaxRetriesConfigured", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "FinalValidationError", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "ValidationErrorCount", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "CommonValidationError", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "FirstAttemptAt", "Type", "datepicker", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "LastAttemptAt", "Type", "datepicker", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "TotalRetryDurationMS", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "ValidationAttempts", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "ValidationSummary", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "FailoverAttempts", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "FailoverErrors", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "FailoverDurations", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "OriginalModelID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "OriginalRequestStartTime", "Type", "datepicker", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "TotalFailoverDuration", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "RerunFromPromptRunID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "ModelSelection", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Status", "Type", "dropdownlist", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Cancelled", "Type", "checkbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "CancellationReason", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "ModelPowerRank", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "SelectionStrategy", "Type", "dropdownlist", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "CacheHit", "Type", "checkbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "CacheKey", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "JudgeID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "JudgeScore", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "WasSelectedResult", "Type", "checkbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "StreamingEnabled", "Type", "checkbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "FirstTokenTime", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "ErrorDetails", "Type", "textarea", 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"], ["FieldName", "OriginalModel", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Judge", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"]], template: function AIPromptRunDetailsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
189
|
-
i0.ɵɵtemplate(0, AIPromptRunDetailsComponent_div_0_Template,
|
|
200
|
+
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", "ValidationAttemptCount", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "SuccessfulValidationCount", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "FinalValidationPassed", "Type", "checkbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "ValidationBehavior", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "RetryStrategy", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "MaxRetriesConfigured", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "FinalValidationError", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "ValidationErrorCount", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "CommonValidationError", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "FirstAttemptAt", "Type", "datepicker", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "LastAttemptAt", "Type", "datepicker", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "TotalRetryDurationMS", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "ValidationAttempts", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "ValidationSummary", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "FailoverAttempts", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "FailoverErrors", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "FailoverDurations", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "OriginalModelID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "OriginalRequestStartTime", "Type", "datepicker", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "TotalFailoverDuration", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "RerunFromPromptRunID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "ModelSelection", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Status", "Type", "dropdownlist", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Cancelled", "Type", "checkbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "CancellationReason", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "ModelPowerRank", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "SelectionStrategy", "Type", "dropdownlist", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "CacheHit", "Type", "checkbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "CacheKey", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "JudgeID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "JudgeScore", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "WasSelectedResult", "Type", "checkbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "StreamingEnabled", "Type", "checkbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "FirstTokenTime", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "ErrorDetails", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "ChildPromptID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "QueueTime", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "PromptTime", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "CompletionTime", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "ModelSpecificResponseDetails", "Type", "textarea", 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"], ["FieldName", "OriginalModel", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Judge", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "ChildPrompt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"]], template: function AIPromptRunDetailsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
201
|
+
i0.ɵɵtemplate(0, AIPromptRunDetailsComponent_div_0_Template, 89, 261, "div", 0);
|
|
190
202
|
} if (rf & 2) {
|
|
191
203
|
i0.ɵɵproperty("ngIf", ctx.record);
|
|
192
204
|
} }, 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}"] }); }
|
|
@@ -737,6 +749,43 @@ export { AIPromptRunDetailsComponent };
|
|
|
737
749
|
Type="textarea"
|
|
738
750
|
[EditMode]="EditMode"
|
|
739
751
|
></mj-form-field>
|
|
752
|
+
<mj-form-field
|
|
753
|
+
[record]="record"
|
|
754
|
+
[ShowLabel]="true"
|
|
755
|
+
FieldName="ChildPromptID"
|
|
756
|
+
Type="textbox"
|
|
757
|
+
[EditMode]="EditMode"
|
|
758
|
+
LinkType="Record"
|
|
759
|
+
LinkComponentType="Search"
|
|
760
|
+
></mj-form-field>
|
|
761
|
+
<mj-form-field
|
|
762
|
+
[record]="record"
|
|
763
|
+
[ShowLabel]="true"
|
|
764
|
+
FieldName="QueueTime"
|
|
765
|
+
Type="numerictextbox"
|
|
766
|
+
[EditMode]="EditMode"
|
|
767
|
+
></mj-form-field>
|
|
768
|
+
<mj-form-field
|
|
769
|
+
[record]="record"
|
|
770
|
+
[ShowLabel]="true"
|
|
771
|
+
FieldName="PromptTime"
|
|
772
|
+
Type="numerictextbox"
|
|
773
|
+
[EditMode]="EditMode"
|
|
774
|
+
></mj-form-field>
|
|
775
|
+
<mj-form-field
|
|
776
|
+
[record]="record"
|
|
777
|
+
[ShowLabel]="true"
|
|
778
|
+
FieldName="CompletionTime"
|
|
779
|
+
Type="numerictextbox"
|
|
780
|
+
[EditMode]="EditMode"
|
|
781
|
+
></mj-form-field>
|
|
782
|
+
<mj-form-field
|
|
783
|
+
[record]="record"
|
|
784
|
+
[ShowLabel]="true"
|
|
785
|
+
FieldName="ModelSpecificResponseDetails"
|
|
786
|
+
Type="textarea"
|
|
787
|
+
[EditMode]="EditMode"
|
|
788
|
+
></mj-form-field>
|
|
740
789
|
<mj-form-field
|
|
741
790
|
[record]="record"
|
|
742
791
|
[ShowLabel]="true"
|
|
@@ -786,6 +835,13 @@ export { AIPromptRunDetailsComponent };
|
|
|
786
835
|
Type="textbox"
|
|
787
836
|
[EditMode]="EditMode"
|
|
788
837
|
></mj-form-field>
|
|
838
|
+
<mj-form-field
|
|
839
|
+
[record]="record"
|
|
840
|
+
[ShowLabel]="true"
|
|
841
|
+
FieldName="ChildPrompt"
|
|
842
|
+
Type="textbox"
|
|
843
|
+
[EditMode]="EditMode"
|
|
844
|
+
></mj-form-field>
|
|
789
845
|
|
|
790
846
|
</div>
|
|
791
847
|
</div>
|
|
@@ -795,7 +851,7 @@ export { AIPromptRunDetailsComponent };
|
|
|
795
851
|
}], EditMode: [{
|
|
796
852
|
type: Input
|
|
797
853
|
}] }); })();
|
|
798
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AIPromptRunDetailsComponent, { className: "AIPromptRunDetailsComponent", filePath: "src/lib/generated/Entities/AIPromptRun/sections/details.component.ts", lineNumber:
|
|
854
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AIPromptRunDetailsComponent, { className: "AIPromptRunDetailsComponent", filePath: "src/lib/generated/Entities/AIPromptRun/sections/details.component.ts", lineNumber: 648 }); })();
|
|
799
855
|
export function LoadAIPromptRunDetailsComponent() {
|
|
800
856
|
// does nothing, but called in order to prevent tree-shaking from eliminating this component from the build
|
|
801
857
|
}
|
|
@@ -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;IAinBrB,AAPA,AAPA,AAPA,AAPA,AAPA,AAPA,AAPA,AAPA,AAPA,AAPA,AA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA4nBT;gBAGiB,MAAM;kBAAvB,KAAK;YACY,QAAQ;kBAAzB,KAAK;;kFAFG,2BAA2B;AAKxC,MAAM,UAAU,+BAA+B;IAC3C,2GAA2G;AAC/G,CAAC"}
|
|
@@ -62,6 +62,12 @@ function AIVendorFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
62
62
|
i0.ɵɵelementEnd();
|
|
63
63
|
i0.ɵɵelementStart(30, "mj-tab-body");
|
|
64
64
|
i0.ɵɵelement(31, "mj-user-view-grid", 9);
|
|
65
|
+
i0.ɵɵelementEnd();
|
|
66
|
+
i0.ɵɵelementStart(32, "mj-tab", 15);
|
|
67
|
+
i0.ɵɵtext(33, " MJ: AI Agent Runs ");
|
|
68
|
+
i0.ɵɵelementEnd();
|
|
69
|
+
i0.ɵɵelementStart(34, "mj-tab-body");
|
|
70
|
+
i0.ɵɵelement(35, "mj-user-view-grid", 9);
|
|
65
71
|
i0.ɵɵelementEnd()()();
|
|
66
72
|
} if (rf & 2) {
|
|
67
73
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -93,12 +99,16 @@ function AIVendorFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
93
99
|
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved);
|
|
94
100
|
i0.ɵɵadvance(3);
|
|
95
101
|
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: AI Model Costs", "VendorID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: AI Model Costs"))("AllowLoad", ctx_r1.IsCurrentTab("MJ: AI Model Costs"))("EditMode", ctx_r1.GridEditMode());
|
|
102
|
+
i0.ɵɵadvance();
|
|
103
|
+
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved);
|
|
104
|
+
i0.ɵɵadvance(3);
|
|
105
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: AI Agent Runs", "OverrideVendorID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: AI Agent Runs"))("AllowLoad", ctx_r1.IsCurrentTab("MJ: AI Agent Runs"))("EditMode", ctx_r1.GridEditMode());
|
|
96
106
|
} }
|
|
97
107
|
let AIVendorFormComponent = class AIVendorFormComponent extends BaseFormComponent {
|
|
98
108
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵAIVendorFormComponent_BaseFactory; return function AIVendorFormComponent_Factory(t) { return (ɵAIVendorFormComponent_BaseFactory || (ɵAIVendorFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(AIVendorFormComponent)))(t || AIVendorFormComponent); }; })(); }
|
|
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 Vendors", 3, "Visible"], ["Name", "MJ: AI Prompt Runs", 3, "Visible"], ["Name", "MJ: AI Vendor Types", 3, "Visible"], ["Name", "MJ: AI Model Costs", 3, "Visible"]], template: function AIVendorFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
109
|
+
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 Vendors", 3, "Visible"], ["Name", "MJ: AI Prompt Runs", 3, "Visible"], ["Name", "MJ: AI Vendor Types", 3, "Visible"], ["Name", "MJ: AI Model Costs", 3, "Visible"], ["Name", "MJ: AI Agent Runs", 3, "Visible"]], template: function AIVendorFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
100
110
|
i0.ɵɵelementStart(0, "div", 1);
|
|
101
|
-
i0.ɵɵtemplate(1, AIVendorFormComponent_form_1_Template,
|
|
111
|
+
i0.ɵɵtemplate(1, AIVendorFormComponent_form_1_Template, 36, 38, "form", 2);
|
|
102
112
|
i0.ɵɵelementEnd();
|
|
103
113
|
} if (rf & 2) {
|
|
104
114
|
i0.ɵɵadvance();
|
|
@@ -111,7 +121,7 @@ AIVendorFormComponent = __decorate([
|
|
|
111
121
|
export { AIVendorFormComponent };
|
|
112
122
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AIVendorFormComponent, [{
|
|
113
123
|
type: Component,
|
|
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 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\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 </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"] }]
|
|
124
|
+
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 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\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 Agent Runs\" [Visible]=\"record.IsSaved\"> \n MJ: AI Agent Runs\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Agent Runs','OverrideVendorID')\" \n [NewRecordValues]=\"NewRecordValues('MJ: AI Agent Runs')\"\n [AllowLoad]=\"IsCurrentTab('MJ: AI Agent Runs')\" \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"] }]
|
|
115
125
|
}], null, null); })();
|
|
116
126
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AIVendorFormComponent, { className: "AIVendorFormComponent", filePath: "src/lib/generated/Entities/AIVendor/aivendor.form.component.ts", lineNumber: 14 }); })();
|
|
117
127
|
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,mCAA+D;IAC3D,uCACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IACxB,iBAAc;IAEd,mCAA6D;IACzD,qCACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IACxB,iBAAc;IAEd,mCAA8D;IAC1D,sCACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IACxB,iBAAc;IAEd,mCAA6D;IACzD,qCACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IAGxC,AADY,AADI,iBAAc,EACJ,EACnB;;;
|
|
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,oCAA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