@memberjunction/ng-core-entity-forms 2.44.0 → 2.46.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/AIPrompts/ai-prompt-form.component.d.ts +1 -0
- package/dist/lib/custom/AIPrompts/ai-prompt-form.component.d.ts.map +1 -1
- package/dist/lib/custom/AIPrompts/ai-prompt-form.component.js +16 -5
- package/dist/lib/custom/AIPrompts/ai-prompt-form.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIAgent/aiagent.form.component.js +17 -7
- package/dist/lib/generated/Entities/AIAgent/aiagent.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIAgent/sections/details.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/AIAgent/sections/details.component.js +15 -4
- package/dist/lib/generated/Entities/AIAgent/sections/details.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIAgentRun/aiagentrun.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/AIAgentRun/aiagentrun.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIAgentRun/aiagentrun.form.component.js +92 -0
- package/dist/lib/generated/Entities/AIAgentRun/aiagentrun.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/AIAgentRun/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/AIAgentRun/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIAgentRun/sections/details.component.js +196 -0
- package/dist/lib/generated/Entities/AIAgentRun/sections/details.component.js.map +1 -0
- package/dist/lib/generated/Entities/AIAgentRunStep/aiagentrunstep.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/AIAgentRunStep/aiagentrunstep.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIAgentRunStep/aiagentrunstep.form.component.js +61 -0
- package/dist/lib/generated/Entities/AIAgentRunStep/aiagentrunstep.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/AIAgentRunStep/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/AIAgentRunStep/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIAgentRunStep/sections/details.component.js +181 -0
- package/dist/lib/generated/Entities/AIAgentRunStep/sections/details.component.js.map +1 -0
- package/dist/lib/generated/Entities/AIAgentType/aiagenttype.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/AIAgentType/aiagenttype.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIAgentType/aiagenttype.form.component.js +72 -0
- package/dist/lib/generated/Entities/AIAgentType/aiagenttype.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/AIAgentType/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/AIAgentType/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIAgentType/sections/details.component.js +109 -0
- package/dist/lib/generated/Entities/AIAgentType/sections/details.component.js.map +1 -0
- package/dist/lib/generated/Entities/AIModelVendor/sections/details.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/AIModelVendor/sections/details.component.js +24 -4
- package/dist/lib/generated/Entities/AIModelVendor/sections/details.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIPrompt/aiprompt.form.component.js +20 -10
- package/dist/lib/generated/Entities/AIPrompt/aiprompt.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIPrompt/sections/details.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/AIPrompt/sections/details.component.js +22 -4
- package/dist/lib/generated/Entities/AIPrompt/sections/details.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIPromptRun/aipromptrun.form.component.js +14 -4
- 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 +44 -4
- package/dist/lib/generated/Entities/AIPromptRun/sections/details.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIVendorTypeDefinition/aivendortypedefinition.form.component.js +14 -4
- package/dist/lib/generated/Entities/AIVendorTypeDefinition/aivendortypedefinition.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/Conversation/conversation.form.component.js +13 -3
- package/dist/lib/generated/Entities/Conversation/conversation.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/DataContextItem/sections/details.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/DataContextItem/sections/details.component.js +13 -4
- package/dist/lib/generated/Entities/DataContextItem/sections/details.component.js.map +1 -1
- package/dist/lib/generated/Entities/User/user.form.component.js +13 -3
- package/dist/lib/generated/Entities/User/user.form.component.js.map +1 -1
- package/dist/lib/generated/generated-forms.module.d.ts +278 -272
- package/dist/lib/generated/generated-forms.module.d.ts.map +1 -1
- package/dist/lib/generated/generated-forms.module.js +171 -144
- package/dist/lib/generated/generated-forms.module.js.map +1 -1
- package/package.json +11 -11
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import { Component } from '@angular/core';
|
|
8
|
+
import { RegisterClass } from '@memberjunction/global';
|
|
9
|
+
import { BaseFormComponent } from '@memberjunction/ng-base-forms';
|
|
10
|
+
import { LoadAIAgentTypeDetailsComponent } from "./sections/details.component";
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
import * as i1 from "@angular/common";
|
|
13
|
+
import * as i2 from "@angular/forms";
|
|
14
|
+
import * as i3 from "@memberjunction/ng-user-view-grid";
|
|
15
|
+
import * as i4 from "@memberjunction/ng-base-forms";
|
|
16
|
+
import * as i5 from "@memberjunction/ng-form-toolbar";
|
|
17
|
+
import * as i6 from "@memberjunction/ng-tabstrip";
|
|
18
|
+
import * as i7 from "@memberjunction/ng-container-directives";
|
|
19
|
+
function AIAgentTypeFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
20
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
21
|
+
i0.ɵɵelementStart(0, "form", 3, 0);
|
|
22
|
+
i0.ɵɵelement(2, "mj-form-toolbar", 4);
|
|
23
|
+
i0.ɵɵelementStart(3, "mj-tabstrip", 5);
|
|
24
|
+
i0.ɵɵlistener("TabSelected", function AIAgentTypeFormComponent_form_1_Template_mj_tabstrip_TabSelected_3_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onTabSelect($event)); })("ResizeContainer", function AIAgentTypeFormComponent_form_1_Template_mj_tabstrip_ResizeContainer_3_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.InvokeManualResize()); });
|
|
25
|
+
i0.ɵɵelementStart(4, "mj-tab", 6);
|
|
26
|
+
i0.ɵɵtext(5, " Details ");
|
|
27
|
+
i0.ɵɵelementEnd();
|
|
28
|
+
i0.ɵɵelementStart(6, "mj-tab-body");
|
|
29
|
+
i0.ɵɵelement(7, "mj-form-section", 7);
|
|
30
|
+
i0.ɵɵelementEnd();
|
|
31
|
+
i0.ɵɵelementStart(8, "mj-tab", 8);
|
|
32
|
+
i0.ɵɵtext(9, " AI Agents ");
|
|
33
|
+
i0.ɵɵelementEnd();
|
|
34
|
+
i0.ɵɵelementStart(10, "mj-tab-body");
|
|
35
|
+
i0.ɵɵelement(11, "mj-user-view-grid", 9);
|
|
36
|
+
i0.ɵɵelementEnd()()();
|
|
37
|
+
} if (rf & 2) {
|
|
38
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
39
|
+
i0.ɵɵadvance(2);
|
|
40
|
+
i0.ɵɵproperty("form", ctx_r1);
|
|
41
|
+
i0.ɵɵadvance(5);
|
|
42
|
+
i0.ɵɵproperty("record", ctx_r1.record)("EditMode", ctx_r1.EditMode);
|
|
43
|
+
i0.ɵɵadvance();
|
|
44
|
+
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved);
|
|
45
|
+
i0.ɵɵadvance(3);
|
|
46
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("AI Agents", "TypeID"))("NewRecordValues", ctx_r1.NewRecordValues("AI Agents"))("AllowLoad", ctx_r1.IsCurrentTab("AI Agents"))("EditMode", ctx_r1.GridEditMode())("BottomMargin", ctx_r1.GridBottomMargin);
|
|
47
|
+
} }
|
|
48
|
+
let AIAgentTypeFormComponent = class AIAgentTypeFormComponent extends BaseFormComponent {
|
|
49
|
+
};
|
|
50
|
+
AIAgentTypeFormComponent.ɵfac = /*@__PURE__*/ (() => { let ɵAIAgentTypeFormComponent_BaseFactory; return function AIAgentTypeFormComponent_Factory(t) { return (ɵAIAgentTypeFormComponent_BaseFactory || (ɵAIAgentTypeFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(AIAgentTypeFormComponent)))(t || AIAgentTypeFormComponent); }; })();
|
|
51
|
+
AIAgentTypeFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AIAgentTypeFormComponent, selectors: [["gen-aiagenttype-form"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 3, consts: [["form", "ngForm"], ["mjFillContainer", "", 1, "record-form-container", 3, "bottomMargin", "rightMargin"], ["class", "record-form", "mjFillContainer", "", 4, "ngIf"], ["mjFillContainer", "", 1, "record-form"], [3, "form"], ["mjFillContainer", "", 3, "TabSelected", "ResizeContainer"], ["Name", "Details"], ["Entity", "MJ: AI Agent Types", "Section", "details", 3, "record", "EditMode"], ["Name", "AI Agents", 3, "Visible"], [3, "Params", "NewRecordValues", "AllowLoad", "EditMode", "BottomMargin"]], template: function AIAgentTypeFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
52
|
+
i0.ɵɵelementStart(0, "div", 1);
|
|
53
|
+
i0.ɵɵtemplate(1, AIAgentTypeFormComponent_form_1_Template, 12, 9, "form", 2);
|
|
54
|
+
i0.ɵɵelementEnd();
|
|
55
|
+
} if (rf & 2) {
|
|
56
|
+
i0.ɵɵproperty("bottomMargin", 20)("rightMargin", 5);
|
|
57
|
+
i0.ɵɵadvance();
|
|
58
|
+
i0.ɵɵproperty("ngIf", ctx.record);
|
|
59
|
+
} }, dependencies: [i1.NgIf, i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.UserViewGridComponent, i4.SectionLoaderComponent, i5.FormToolbarComponent, i6.MJTabStripComponent, i6.MJTabBodyComponent, i6.MJTabComponent, i7.FillContainer], 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}"] });
|
|
60
|
+
AIAgentTypeFormComponent = __decorate([
|
|
61
|
+
RegisterClass(BaseFormComponent, 'MJ: AI Agent Types') // Tell MemberJunction about this class
|
|
62
|
+
], AIAgentTypeFormComponent);
|
|
63
|
+
export { AIAgentTypeFormComponent };
|
|
64
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AIAgentTypeFormComponent, [{
|
|
65
|
+
type: Component,
|
|
66
|
+
args: [{ selector: 'gen-aiagenttype-form', template: "<div class=\"record-form-container\" mjFillContainer [bottomMargin]=\"20\" [rightMargin]=\"5\">\n <form *ngIf=\"record\" class=\"record-form\" #form=\"ngForm\" mjFillContainer>\n <mj-form-toolbar [form]=\"this\"></mj-form-toolbar>\n\n <mj-tabstrip (TabSelected)=\"onTabSelect($event)\" mjFillContainer (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 Agent Types\" \n Section=\"details\" \n [record]=\"record\" \n [EditMode]=\"this.EditMode\">\n </mj-form-section>\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','TypeID')\" \n [NewRecordValues]=\"NewRecordValues('AI Agents')\"\n [AllowLoad]=\"IsCurrentTab('AI Agents')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\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"] }]
|
|
67
|
+
}], null, null); })();
|
|
68
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AIAgentTypeFormComponent, { className: "AIAgentTypeFormComponent", filePath: "src/lib/generated/Entities/AIAgentType/aiagenttype.form.component.ts", lineNumber: 14 }); })();
|
|
69
|
+
export function LoadAIAgentTypeFormComponent() {
|
|
70
|
+
LoadAIAgentTypeDetailsComponent();
|
|
71
|
+
}
|
|
72
|
+
//# sourceMappingURL=aiagenttype.form.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aiagenttype.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/AIAgentType/aiagenttype.form.component.ts","../../../../../src/lib/generated/Entities/AIAgentType/aiagenttype.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,+BAA+B,EAAE,MAAM,8BAA8B,CAAA;;;;;;;;;;;ICH1E,kCAAyE;IACrE,qCAAiD;IAEzC,sCAA0G;IAAzC,AAApD,4MAAe,0BAAmB,KAAC,iMAAoC,2BAAoB,KAAC;IAErG,iCAAuB;IACnB,yBACJ;IAAA,iBAAS;IACT,mCAAa;IACT,qCAKkB;IACtB,iBAAc;IAEd,iCAAoD;IAChD,2BACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IAGxC,AADY,AADI,iBAAc,EACJ,EACnB;;;IA7Bc,eAAa;IAAb,6BAAa;IAWV,eAAiB;IACjB,AADA,sCAAiB,6BACS;IAIT,cAA0B;IAA1B,+CAA0B;IAK3C,eAAwE;IAIxE,AADA,AADA,AADA,AADA,8FAAwE,wDACxB,+CACT,mCACZ,yCACM;;ADdtD,IAAM,wBAAwB,GAA9B,MAAM,wBAAyB,SAAQ,iBAAiB;;2QAAlD,wBAAwB,SAAxB,wBAAwB;2EAAxB,wBAAwB;QCbrC,8BAAyF;QACrF,4EAAyE;QA+B7E,iBAAM;;QAhCiE,AAApB,iCAAmB,kBAAkB;QAC7E,cAAY;QAAZ,iCAAY;;ADYV,wBAAwB;IANpC,aAAa,CAAC,iBAAiB,EAAE,oBAAoB,CAAC,CAAC,uCAAuC;GAMlF,wBAAwB,CAEpC;;iFAFY,wBAAwB;cALpC,SAAS;2BACI,sBAAsB;;kFAIvB,wBAAwB;AAIrC,MAAM,UAAU,4BAA4B;IACxC,+BAA+B,EAAE,CAAC;AACtC,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BaseFormSectionComponent } from '@memberjunction/ng-base-forms';
|
|
2
|
+
import { AIAgentTypeEntity } from '@memberjunction/core-entities';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AIAgentTypeDetailsComponent extends BaseFormSectionComponent {
|
|
5
|
+
record: AIAgentTypeEntity;
|
|
6
|
+
EditMode: boolean;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AIAgentTypeDetailsComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AIAgentTypeDetailsComponent, "gen-aiagenttype-form-details", never, { "record": { "alias": "record"; "required": false; }; "EditMode": { "alias": "EditMode"; "required": false; }; }, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
10
|
+
export declare function LoadAIAgentTypeDetailsComponent(): void;
|
|
11
|
+
//# sourceMappingURL=details.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"details.component.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/generated/Entities/AIAgentType/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,qBAuDa,2BAA4B,SAAQ,wBAAwB;IACnD,MAAM,EAAG,iBAAiB,CAAC;IAC3B,QAAQ,EAAE,OAAO,CAAS;yCAFnC,2BAA2B;2CAA3B,2BAA2B;CAGvC;AAED,wBAAgB,+BAA+B,SAE9C"}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import { Component, Input } from '@angular/core';
|
|
8
|
+
import { RegisterClass } from '@memberjunction/global';
|
|
9
|
+
import { BaseFormSectionComponent } from '@memberjunction/ng-base-forms';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
import * as i1 from "@angular/common";
|
|
12
|
+
import * as i2 from "@memberjunction/ng-base-forms";
|
|
13
|
+
function AIAgentTypeDetailsComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
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);
|
|
16
|
+
i0.ɵɵelementEnd()();
|
|
17
|
+
} if (rf & 2) {
|
|
18
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
19
|
+
i0.ɵɵadvance(2);
|
|
20
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
21
|
+
i0.ɵɵadvance();
|
|
22
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
23
|
+
i0.ɵɵadvance();
|
|
24
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
25
|
+
i0.ɵɵadvance();
|
|
26
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
27
|
+
i0.ɵɵadvance();
|
|
28
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
29
|
+
i0.ɵɵadvance();
|
|
30
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
31
|
+
} }
|
|
32
|
+
let AIAgentTypeDetailsComponent = class AIAgentTypeDetailsComponent extends BaseFormSectionComponent {
|
|
33
|
+
constructor() {
|
|
34
|
+
super(...arguments);
|
|
35
|
+
this.EditMode = false;
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
AIAgentTypeDetailsComponent.ɵfac = /*@__PURE__*/ (() => { let ɵAIAgentTypeDetailsComponent_BaseFactory; return function AIAgentTypeDetailsComponent_Factory(t) { return (ɵAIAgentTypeDetailsComponent_BaseFactory || (ɵAIAgentTypeDetailsComponent_BaseFactory = i0.ɵɵgetInheritedFactory(AIAgentTypeDetailsComponent)))(t || AIAgentTypeDetailsComponent); }; })();
|
|
39
|
+
AIAgentTypeDetailsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AIAgentTypeDetailsComponent, selectors: [["gen-aiagenttype-form-details"]], inputs: { record: "record", EditMode: "EditMode" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "record-form"], ["FieldName", "Name", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Description", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "SystemPromptID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "IsActive", "Type", "checkbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "__mj_CreatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "__mj_UpdatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"]], template: function AIAgentTypeDetailsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
40
|
+
i0.ɵɵtemplate(0, AIAgentTypeDetailsComponent_div_0_Template, 8, 18, "div", 0);
|
|
41
|
+
} if (rf & 2) {
|
|
42
|
+
i0.ɵɵproperty("ngIf", ctx.record);
|
|
43
|
+
} }, 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}"] });
|
|
44
|
+
AIAgentTypeDetailsComponent = __decorate([
|
|
45
|
+
RegisterClass(BaseFormSectionComponent, 'MJ: AI Agent Types.details') // Tell MemberJunction about this class
|
|
46
|
+
], AIAgentTypeDetailsComponent);
|
|
47
|
+
export { AIAgentTypeDetailsComponent };
|
|
48
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AIAgentTypeDetailsComponent, [{
|
|
49
|
+
type: Component,
|
|
50
|
+
args: [{ selector: 'gen-aiagenttype-form-details', template: `<div *ngIf="this.record">
|
|
51
|
+
<div class="record-form">
|
|
52
|
+
<mj-form-field
|
|
53
|
+
[record]="record"
|
|
54
|
+
[ShowLabel]="true"
|
|
55
|
+
FieldName="Name"
|
|
56
|
+
Type="textbox"
|
|
57
|
+
[EditMode]="EditMode"
|
|
58
|
+
></mj-form-field>
|
|
59
|
+
<mj-form-field
|
|
60
|
+
[record]="record"
|
|
61
|
+
[ShowLabel]="true"
|
|
62
|
+
FieldName="Description"
|
|
63
|
+
Type="textarea"
|
|
64
|
+
[EditMode]="EditMode"
|
|
65
|
+
></mj-form-field>
|
|
66
|
+
<mj-form-field
|
|
67
|
+
[record]="record"
|
|
68
|
+
[ShowLabel]="true"
|
|
69
|
+
FieldName="SystemPromptID"
|
|
70
|
+
Type="textbox"
|
|
71
|
+
[EditMode]="EditMode"
|
|
72
|
+
LinkType="Record"
|
|
73
|
+
LinkComponentType="Search"
|
|
74
|
+
></mj-form-field>
|
|
75
|
+
<mj-form-field
|
|
76
|
+
[record]="record"
|
|
77
|
+
[ShowLabel]="true"
|
|
78
|
+
FieldName="IsActive"
|
|
79
|
+
Type="checkbox"
|
|
80
|
+
[EditMode]="EditMode"
|
|
81
|
+
></mj-form-field>
|
|
82
|
+
<mj-form-field
|
|
83
|
+
[record]="record"
|
|
84
|
+
[ShowLabel]="true"
|
|
85
|
+
FieldName="__mj_CreatedAt"
|
|
86
|
+
Type="textbox"
|
|
87
|
+
[EditMode]="EditMode"
|
|
88
|
+
></mj-form-field>
|
|
89
|
+
<mj-form-field
|
|
90
|
+
[record]="record"
|
|
91
|
+
[ShowLabel]="true"
|
|
92
|
+
FieldName="__mj_UpdatedAt"
|
|
93
|
+
Type="textbox"
|
|
94
|
+
[EditMode]="EditMode"
|
|
95
|
+
></mj-form-field>
|
|
96
|
+
|
|
97
|
+
</div>
|
|
98
|
+
</div>
|
|
99
|
+
`, 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"] }]
|
|
100
|
+
}], null, { record: [{
|
|
101
|
+
type: Input
|
|
102
|
+
}], EditMode: [{
|
|
103
|
+
type: Input
|
|
104
|
+
}] }); })();
|
|
105
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AIAgentTypeDetailsComponent, { className: "AIAgentTypeDetailsComponent", filePath: "src/lib/generated/Entities/AIAgentType/sections/details.component.ts", lineNumber: 61 }); })();
|
|
106
|
+
export function LoadAIAgentTypeDetailsComponent() {
|
|
107
|
+
// does nothing, but called in order to prevent tree-shaking from eliminating this component from the build
|
|
108
|
+
}
|
|
109
|
+
//# sourceMappingURL=details.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"details.component.js","sourceRoot":"","sources":["../../../../../../src/lib/generated/Entities/AIAgentType/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;IAsCrB,AAPA,AAPA,AATA,AAPA,AAPA,mCAMiB,uBAOA,uBASA,uBAOA,uBAOA,uBAOA;IAGzB,AADI,iBAAM,EACJ;;;IA7CM,eAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAKrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;;AAO1B,IAAM,2BAA2B,GAAjC,MAAM,2BAA4B,SAAQ,wBAAwB;IAAlE;;QAEe,aAAQ,GAAY,KAAK,CAAC;KAC/C;;0RAHY,2BAA2B,SAA3B,2BAA2B;8EAA3B,2BAA2B;QAnDzB,6EAAyB;;QAAnB,iCAAiB;;AAmDzB,2BAA2B;IAvDvC,aAAa,CAAC,wBAAwB,EAAE,4BAA4B,CAAC,CAAC,wCAAwC;GAuDlG,2BAA2B,CAGvC;;iFAHY,2BAA2B;cAtDvC,SAAS;2BACI,8BAA8B,YAE9B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAiDT;gBAGiB,MAAM;kBAAvB,KAAK;YACY,QAAQ;kBAAzB,KAAK;;kFAFG,2BAA2B;AAKxC,MAAM,UAAU,+BAA+B;IAC3C,2GAA2G;AAC/G,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"details.component.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/generated/Entities/AIModelVendor/sections/details.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;;AAEpE,qBA+
|
|
1
|
+
{"version":3,"file":"details.component.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/generated/Entities/AIModelVendor/sections/details.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;;AAEpE,qBA+Ia,6BAA8B,SAAQ,wBAAwB;IACrD,MAAM,EAAG,mBAAmB,CAAC;IAC7B,QAAQ,EAAE,OAAO,CAAS;yCAFnC,6BAA6B;2CAA7B,6BAA6B;CAGzC;AAED,wBAAgB,iCAAiC,SAEhD"}
|
|
@@ -12,7 +12,7 @@ import * as i1 from "@angular/common";
|
|
|
12
12
|
import * as i2 from "@memberjunction/ng-base-forms";
|
|
13
13
|
function AIModelVendorDetailsComponent_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);
|
|
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);
|
|
16
16
|
i0.ɵɵelementEnd()();
|
|
17
17
|
} if (rf & 2) {
|
|
18
18
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -48,6 +48,10 @@ function AIModelVendorDetailsComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
48
48
|
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
49
49
|
i0.ɵɵadvance();
|
|
50
50
|
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
51
|
+
i0.ɵɵadvance();
|
|
52
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
53
|
+
i0.ɵɵadvance();
|
|
54
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
51
55
|
} }
|
|
52
56
|
let AIModelVendorDetailsComponent = class AIModelVendorDetailsComponent extends BaseFormSectionComponent {
|
|
53
57
|
constructor() {
|
|
@@ -56,8 +60,8 @@ let AIModelVendorDetailsComponent = class AIModelVendorDetailsComponent extends
|
|
|
56
60
|
}
|
|
57
61
|
};
|
|
58
62
|
AIModelVendorDetailsComponent.ɵfac = /*@__PURE__*/ (() => { let ɵAIModelVendorDetailsComponent_BaseFactory; return function AIModelVendorDetailsComponent_Factory(t) { return (ɵAIModelVendorDetailsComponent_BaseFactory || (ɵAIModelVendorDetailsComponent_BaseFactory = i0.ɵɵgetInheritedFactory(AIModelVendorDetailsComponent)))(t || AIModelVendorDetailsComponent); }; })();
|
|
59
|
-
AIModelVendorDetailsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AIModelVendorDetailsComponent, selectors: [["gen-aimodelvendor-form-details"]], inputs: { record: "record", EditMode: "EditMode" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "record-form"], ["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", "Priority", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Status", "Type", "dropdownlist", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "DriverClass", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "DriverImportPath", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "APIName", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "MaxInputTokens", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "MaxOutputTokens", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "SupportedResponseFormats", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "SupportsEffortLevel", "Type", "checkbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "SupportsStreaming", "Type", "checkbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "__mj_CreatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "__mj_UpdatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Model", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Vendor", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"]], template: function AIModelVendorDetailsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
60
|
-
i0.ɵɵtemplate(0, AIModelVendorDetailsComponent_div_0_Template,
|
|
63
|
+
AIModelVendorDetailsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AIModelVendorDetailsComponent, selectors: [["gen-aimodelvendor-form-details"]], inputs: { record: "record", EditMode: "EditMode" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "record-form"], ["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", "Priority", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Status", "Type", "dropdownlist", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "DriverClass", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "DriverImportPath", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "APIName", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "MaxInputTokens", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "MaxOutputTokens", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "SupportedResponseFormats", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "SupportsEffortLevel", "Type", "checkbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "SupportsStreaming", "Type", "checkbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "__mj_CreatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "__mj_UpdatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "TypeID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Model", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Vendor", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Type", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"]], template: function AIModelVendorDetailsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
64
|
+
i0.ɵɵtemplate(0, AIModelVendorDetailsComponent_div_0_Template, 20, 54, "div", 0);
|
|
61
65
|
} if (rf & 2) {
|
|
62
66
|
i0.ɵɵproperty("ngIf", ctx.record);
|
|
63
67
|
} }, 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}"] });
|
|
@@ -171,6 +175,15 @@ export { AIModelVendorDetailsComponent };
|
|
|
171
175
|
Type="textbox"
|
|
172
176
|
[EditMode]="EditMode"
|
|
173
177
|
></mj-form-field>
|
|
178
|
+
<mj-form-field
|
|
179
|
+
[record]="record"
|
|
180
|
+
[ShowLabel]="true"
|
|
181
|
+
FieldName="TypeID"
|
|
182
|
+
Type="textbox"
|
|
183
|
+
[EditMode]="EditMode"
|
|
184
|
+
LinkType="Record"
|
|
185
|
+
LinkComponentType="Search"
|
|
186
|
+
></mj-form-field>
|
|
174
187
|
<mj-form-field
|
|
175
188
|
[record]="record"
|
|
176
189
|
[ShowLabel]="true"
|
|
@@ -185,6 +198,13 @@ export { AIModelVendorDetailsComponent };
|
|
|
185
198
|
Type="textbox"
|
|
186
199
|
[EditMode]="EditMode"
|
|
187
200
|
></mj-form-field>
|
|
201
|
+
<mj-form-field
|
|
202
|
+
[record]="record"
|
|
203
|
+
[ShowLabel]="true"
|
|
204
|
+
FieldName="Type"
|
|
205
|
+
Type="textbox"
|
|
206
|
+
[EditMode]="EditMode"
|
|
207
|
+
></mj-form-field>
|
|
188
208
|
|
|
189
209
|
</div>
|
|
190
210
|
</div>
|
|
@@ -194,7 +214,7 @@ export { AIModelVendorDetailsComponent };
|
|
|
194
214
|
}], EditMode: [{
|
|
195
215
|
type: Input
|
|
196
216
|
}] }); })();
|
|
197
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AIModelVendorDetailsComponent, { className: "AIModelVendorDetailsComponent", filePath: "src/lib/generated/Entities/AIModelVendor/sections/details.component.ts", lineNumber:
|
|
217
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AIModelVendorDetailsComponent, { className: "AIModelVendorDetailsComponent", filePath: "src/lib/generated/Entities/AIModelVendor/sections/details.component.ts", lineNumber: 149 }); })();
|
|
198
218
|
export function LoadAIModelVendorDetailsComponent() {
|
|
199
219
|
// does nothing, but called in order to prevent tree-shaking from eliminating this component from the build
|
|
200
220
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"details.component.js","sourceRoot":"","sources":["../../../../../../src/lib/generated/Entities/AIModelVendor/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/AIModelVendor/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;IA8HrB,AAPA,AAPA,AATA,AAPA,AAPA,AAPA,AAPA,AAPA,AAPA,AAPA,AAPA,AAPA,AAPA,AAPA,AAPA,AATA,AATA,mCAQiB,uBASA,uBAOA,uBAOA,uBAOA,uBAOA,uBAOA,uBAOA,yBAOA,yBAOA,yBAOA,yBAOA,yBAOA,yBAOA,yBASA,yBAOA,yBAOA,yBAOA;IAGzB,AADI,iBAAM,EACJ;;;IArIM,eAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAKrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAKrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAKrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;;AAO1B,IAAM,6BAA6B,GAAnC,MAAM,6BAA8B,SAAQ,wBAAwB;IAApE;;QAEe,aAAQ,GAAY,KAAK,CAAC;KAC/C;;oSAHY,6BAA6B,SAA7B,6BAA6B;gFAA7B,6BAA6B;QA3I3B,gFAAyB;;QAAnB,iCAAiB;;AA2IzB,6BAA6B;IA/IzC,aAAa,CAAC,wBAAwB,EAAE,8BAA8B,CAAC,CAAC,wCAAwC;GA+IpG,6BAA6B,CAGzC;;iFAHY,6BAA6B;cA9IzC,SAAS;2BACI,gCAAgC,YAEhC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAyIT;gBAGiB,MAAM;kBAAvB,KAAK;YACY,QAAQ;kBAAzB,KAAK;;kFAFG,6BAA6B;AAK1C,MAAM,UAAU,iCAAiC;IAC7C,2GAA2G;AAC/G,CAAC"}
|
|
@@ -35,46 +35,52 @@ function AIPromptFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
35
35
|
i0.ɵɵelement(11, "mj-user-view-grid", 9);
|
|
36
36
|
i0.ɵɵelementEnd();
|
|
37
37
|
i0.ɵɵelementStart(12, "mj-tab", 10);
|
|
38
|
-
i0.ɵɵtext(13, " MJ: AI
|
|
38
|
+
i0.ɵɵtext(13, " MJ: AI Agent Types ");
|
|
39
39
|
i0.ɵɵelementEnd();
|
|
40
40
|
i0.ɵɵelementStart(14, "mj-tab-body");
|
|
41
41
|
i0.ɵɵelement(15, "mj-user-view-grid", 9);
|
|
42
42
|
i0.ɵɵelementEnd();
|
|
43
|
-
i0.ɵɵelementStart(16, "mj-tab",
|
|
43
|
+
i0.ɵɵelementStart(16, "mj-tab", 11);
|
|
44
44
|
i0.ɵɵtext(17, " MJ: AI Configurations ");
|
|
45
45
|
i0.ɵɵelementEnd();
|
|
46
46
|
i0.ɵɵelementStart(18, "mj-tab-body");
|
|
47
47
|
i0.ɵɵelement(19, "mj-user-view-grid", 9);
|
|
48
48
|
i0.ɵɵelementEnd();
|
|
49
49
|
i0.ɵɵelementStart(20, "mj-tab", 11);
|
|
50
|
-
i0.ɵɵtext(21, " AI
|
|
50
|
+
i0.ɵɵtext(21, " MJ: AI Configurations ");
|
|
51
51
|
i0.ɵɵelementEnd();
|
|
52
52
|
i0.ɵɵelementStart(22, "mj-tab-body");
|
|
53
53
|
i0.ɵɵelement(23, "mj-user-view-grid", 9);
|
|
54
54
|
i0.ɵɵelementEnd();
|
|
55
55
|
i0.ɵɵelementStart(24, "mj-tab", 12);
|
|
56
|
-
i0.ɵɵtext(25, "
|
|
56
|
+
i0.ɵɵtext(25, " AI Prompts ");
|
|
57
57
|
i0.ɵɵelementEnd();
|
|
58
58
|
i0.ɵɵelementStart(26, "mj-tab-body");
|
|
59
59
|
i0.ɵɵelement(27, "mj-user-view-grid", 9);
|
|
60
60
|
i0.ɵɵelementEnd();
|
|
61
61
|
i0.ɵɵelementStart(28, "mj-tab", 13);
|
|
62
|
-
i0.ɵɵtext(29, " MJ: AI
|
|
62
|
+
i0.ɵɵtext(29, " MJ: AI Prompt Models ");
|
|
63
63
|
i0.ɵɵelementEnd();
|
|
64
64
|
i0.ɵɵelementStart(30, "mj-tab-body");
|
|
65
65
|
i0.ɵɵelement(31, "mj-user-view-grid", 9);
|
|
66
66
|
i0.ɵɵelementEnd();
|
|
67
67
|
i0.ɵɵelementStart(32, "mj-tab", 14);
|
|
68
|
-
i0.ɵɵtext(33, " MJ: AI
|
|
68
|
+
i0.ɵɵtext(33, " MJ: AI Agent Prompts ");
|
|
69
69
|
i0.ɵɵelementEnd();
|
|
70
70
|
i0.ɵɵelementStart(34, "mj-tab-body");
|
|
71
71
|
i0.ɵɵelement(35, "mj-user-view-grid", 9);
|
|
72
72
|
i0.ɵɵelementEnd();
|
|
73
73
|
i0.ɵɵelementStart(36, "mj-tab", 15);
|
|
74
|
-
i0.ɵɵtext(37, " AI
|
|
74
|
+
i0.ɵɵtext(37, " MJ: AI Prompt Runs ");
|
|
75
75
|
i0.ɵɵelementEnd();
|
|
76
76
|
i0.ɵɵelementStart(38, "mj-tab-body");
|
|
77
77
|
i0.ɵɵelement(39, "mj-user-view-grid", 9);
|
|
78
|
+
i0.ɵɵelementEnd();
|
|
79
|
+
i0.ɵɵelementStart(40, "mj-tab", 16);
|
|
80
|
+
i0.ɵɵtext(41, " AI Agents ");
|
|
81
|
+
i0.ɵɵelementEnd();
|
|
82
|
+
i0.ɵɵelementStart(42, "mj-tab-body");
|
|
83
|
+
i0.ɵɵelement(43, "mj-user-view-grid", 9);
|
|
78
84
|
i0.ɵɵelementEnd()()();
|
|
79
85
|
} if (rf & 2) {
|
|
80
86
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -89,6 +95,10 @@ function AIPromptFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
89
95
|
i0.ɵɵadvance();
|
|
90
96
|
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved);
|
|
91
97
|
i0.ɵɵadvance(3);
|
|
98
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: AI Agent Types", "SystemPromptID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: AI Agent Types"))("AllowLoad", ctx_r1.IsCurrentTab("MJ: AI Agent Types"))("EditMode", ctx_r1.GridEditMode())("BottomMargin", ctx_r1.GridBottomMargin);
|
|
99
|
+
i0.ɵɵadvance();
|
|
100
|
+
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved);
|
|
101
|
+
i0.ɵɵadvance(3);
|
|
92
102
|
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: AI Configurations", "DefaultPromptForContextCompressionID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: AI Configurations"))("AllowLoad", ctx_r1.IsCurrentTab("MJ: AI Configurations"))("EditMode", ctx_r1.GridEditMode())("BottomMargin", ctx_r1.GridBottomMargin);
|
|
93
103
|
i0.ɵɵadvance();
|
|
94
104
|
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved);
|
|
@@ -118,9 +128,9 @@ function AIPromptFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
118
128
|
let AIPromptFormComponent = class AIPromptFormComponent extends BaseFormComponent {
|
|
119
129
|
};
|
|
120
130
|
AIPromptFormComponent.ɵfac = /*@__PURE__*/ (() => { let ɵAIPromptFormComponent_BaseFactory; return function AIPromptFormComponent_Factory(t) { return (ɵAIPromptFormComponent_BaseFactory || (ɵAIPromptFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(AIPromptFormComponent)))(t || AIPromptFormComponent); }; })();
|
|
121
|
-
AIPromptFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AIPromptFormComponent, selectors: [["gen-aiprompt-form"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 3, consts: [["form", "ngForm"], ["mjFillContainer", "", 1, "record-form-container", 3, "bottomMargin", "rightMargin"], ["class", "record-form", "mjFillContainer", "", 4, "ngIf"], ["mjFillContainer", "", 1, "record-form"], [3, "form"], ["mjFillContainer", "", 3, "TabSelected", "ResizeContainer"], ["Name", "Details"], ["Entity", "AI Prompts", "Section", "details", 3, "record", "EditMode"], ["Name", "AI Result Cache", 3, "Visible"], [3, "Params", "NewRecordValues", "AllowLoad", "EditMode", "BottomMargin"], ["Name", "MJ: AI Configurations", 3, "Visible"], ["Name", "AI Prompts", 3, "Visible"], ["Name", "MJ: AI Prompt Models", 3, "Visible"], ["Name", "MJ: AI Agent Prompts", 3, "Visible"], ["Name", "MJ: AI Prompt Runs", 3, "Visible"], ["Name", "AI Agents", 3, "Visible"]], template: function AIPromptFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
131
|
+
AIPromptFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AIPromptFormComponent, selectors: [["gen-aiprompt-form"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 3, consts: [["form", "ngForm"], ["mjFillContainer", "", 1, "record-form-container", 3, "bottomMargin", "rightMargin"], ["class", "record-form", "mjFillContainer", "", 4, "ngIf"], ["mjFillContainer", "", 1, "record-form"], [3, "form"], ["mjFillContainer", "", 3, "TabSelected", "ResizeContainer"], ["Name", "Details"], ["Entity", "AI Prompts", "Section", "details", 3, "record", "EditMode"], ["Name", "AI Result Cache", 3, "Visible"], [3, "Params", "NewRecordValues", "AllowLoad", "EditMode", "BottomMargin"], ["Name", "MJ: AI Agent Types", 3, "Visible"], ["Name", "MJ: AI Configurations", 3, "Visible"], ["Name", "AI Prompts", 3, "Visible"], ["Name", "MJ: AI Prompt Models", 3, "Visible"], ["Name", "MJ: AI Agent Prompts", 3, "Visible"], ["Name", "MJ: AI Prompt Runs", 3, "Visible"], ["Name", "AI Agents", 3, "Visible"]], template: function AIPromptFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
122
132
|
i0.ɵɵelementStart(0, "div", 1);
|
|
123
|
-
i0.ɵɵtemplate(1, AIPromptFormComponent_form_1_Template,
|
|
133
|
+
i0.ɵɵtemplate(1, AIPromptFormComponent_form_1_Template, 44, 57, "form", 2);
|
|
124
134
|
i0.ɵɵelementEnd();
|
|
125
135
|
} if (rf & 2) {
|
|
126
136
|
i0.ɵɵproperty("bottomMargin", 20)("rightMargin", 5);
|
|
@@ -133,7 +143,7 @@ AIPromptFormComponent = __decorate([
|
|
|
133
143
|
export { AIPromptFormComponent };
|
|
134
144
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AIPromptFormComponent, [{
|
|
135
145
|
type: Component,
|
|
136
|
-
args: [{ selector: 'gen-aiprompt-form', template: "<div class=\"record-form-container\" mjFillContainer [bottomMargin]=\"20\" [rightMargin]=\"5\">\n <form *ngIf=\"record\" class=\"record-form\" #form=\"ngForm\" mjFillContainer>\n <mj-form-toolbar [form]=\"this\"></mj-form-toolbar>\n\n <mj-tabstrip (TabSelected)=\"onTabSelect($event)\" mjFillContainer (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 [BottomMargin]=\"GridBottomMargin\">\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 [BottomMargin]=\"GridBottomMargin\">\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 [BottomMargin]=\"GridBottomMargin\">\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 [BottomMargin]=\"GridBottomMargin\">\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 [BottomMargin]=\"GridBottomMargin\">\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 [BottomMargin]=\"GridBottomMargin\">\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 [BottomMargin]=\"GridBottomMargin\">\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 [BottomMargin]=\"GridBottomMargin\">\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"] }]
|
|
146
|
+
args: [{ selector: 'gen-aiprompt-form', template: "<div class=\"record-form-container\" mjFillContainer [bottomMargin]=\"20\" [rightMargin]=\"5\">\n <form *ngIf=\"record\" class=\"record-form\" #form=\"ngForm\" mjFillContainer>\n <mj-form-toolbar [form]=\"this\"></mj-form-toolbar>\n\n <mj-tabstrip (TabSelected)=\"onTabSelect($event)\" mjFillContainer (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 [BottomMargin]=\"GridBottomMargin\">\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 [BottomMargin]=\"GridBottomMargin\">\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 [BottomMargin]=\"GridBottomMargin\">\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 [BottomMargin]=\"GridBottomMargin\">\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 [BottomMargin]=\"GridBottomMargin\">\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 [BottomMargin]=\"GridBottomMargin\">\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 [BottomMargin]=\"GridBottomMargin\">\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 [BottomMargin]=\"GridBottomMargin\">\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 [BottomMargin]=\"GridBottomMargin\">\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"] }]
|
|
137
147
|
}], null, null); })();
|
|
138
148
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AIPromptFormComponent, { className: "AIPromptFormComponent", filePath: "src/lib/generated/Entities/AIPrompt/aiprompt.form.component.ts", lineNumber: 14 }); })();
|
|
139
149
|
export function LoadAIPromptFormComponent() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aiprompt.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/AIPrompt/aiprompt.form.component.ts","../../../../../src/lib/generated/Entities/AIPrompt/aiprompt.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,kCAAyE;IACrE,qCAAiD;IAEzC,sCAA0G;IAAzC,AAApD,yMAAe,0BAAmB,KAAC,8LAAoC,2BAAoB,KAAC;IAErG,iCAAuB;IACnB,yBACJ;IAAA,iBAAS;IACT,mCAAa;IACT,qCAKkB;IACtB,iBAAc;IAEd,iCAA0D;IACtD,iCACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IACxB,iBAAc;IAEd,mCAAgE;IAC5D,wCACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IACxB,iBAAc;IAEd,mCAAgE;IAC5D,wCACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IACxB,iBAAc;IAEd,mCAAqD;IACjD,6BACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IACxB,iBAAc;IAEd,mCAA+D;IAC3D,uCACJ;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,mCAAoD;IAChD,4BACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IAGxC,AADY,AADI,iBAAc,EACJ,EACnB;;;
|
|
1
|
+
{"version":3,"file":"aiprompt.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/AIPrompt/aiprompt.form.component.ts","../../../../../src/lib/generated/Entities/AIPrompt/aiprompt.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,kCAAyE;IACrE,qCAAiD;IAEzC,sCAA0G;IAAzC,AAApD,yMAAe,0BAAmB,KAAC,8LAAoC,2BAAoB,KAAC;IAErG,iCAAuB;IACnB,yBACJ;IAAA,iBAAS;IACT,mCAAa;IACT,qCAKkB;IACtB,iBAAc;IAEd,iCAA0D;IACtD,iCACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IACxB,iBAAc;IAEd,mCAA6D;IACzD,qCACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IACxB,iBAAc;IAEd,mCAAgE;IAC5D,wCACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IACxB,iBAAc;IAEd,mCAAgE;IAC5D,wCACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IACxB,iBAAc;IAEd,mCAAqD;IACjD,6BACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IACxB,iBAAc;IAEd,mCAA+D;IAC3D,uCACJ;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,mCAAoD;IAChD,4BACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IAGxC,AADY,AADI,iBAAc,EACJ,EACnB;;;IArIc,eAAa;IAAb,6BAAa;IAWV,eAAiB;IACjB,AADA,sCAAiB,6BACS;IAIH,cAA0B;IAA1B,+CAA0B;IAKjD,eAAkF;IAIlF,AADA,AADA,AADA,AADA,wGAAkF,8DAC5B,qDACT,mCAClB,yCACM;IAIP,cAA0B;IAA1B,+CAA0B;IAKpD,eAAyF;IAIzF,AADA,AADA,AADA,AADA,+GAAyF,iEAChC,wDACT,mCACrB,yCACM;IAIJ,cAA0B;IAA1B,+CAA0B;IAKvD,eAAkH;IAIlH,AADA,AADA,AADA,AADA,wIAAkH,oEACtD,2DACT,mCACxB,yCACM;IAIJ,cAA0B;IAA1B,+CAA0B;IAKvD,eAAoH;IAIpH,AADA,AADA,AADA,AADA,0IAAoH,oEACxD,2DACT,mCACxB,yCACM;IAIf,cAA0B;IAA1B,+CAA0B;IAK5C,eAAyF;IAIzF,AADA,AADA,AADA,AADA,+GAAyF,yDACxC,gDACT,mCACb,yCACM;IAIL,cAA0B;IAA1B,+CAA0B;IAKtD,eAAqF;IAIrF,AADA,AADA,AADA,AADA,2GAAqF,mEAC1B,0DACT,mCACvB,yCACM;IAIL,cAA0B;IAA1B,+CAA0B;IAKtD,eAAqF;IAIrF,AADA,AADA,AADA,AADA,2GAAqF,mEAC1B,0DACT,mCACvB,yCACM;IAIP,cAA0B;IAA1B,+CAA0B;IAKpD,eAAmF;IAInF,AADA,AADA,AADA,AADA,yGAAmF,iEAC1B,wDACT,mCACrB,yCACM;IAIhB,cAA0B;IAA1B,+CAA0B;IAK3C,eAA4F;IAI5F,AADA,AADA,AADA,AADA,kHAA4F,wDAC5C,+CACT,mCACZ,yCACM;;ADtHtD,IAAM,qBAAqB,GAA3B,MAAM,qBAAsB,SAAQ,iBAAiB;;4PAA/C,qBAAqB,SAArB,qBAAqB;wEAArB,qBAAqB;QCblC,8BAAyF;QACrF,0EAAyE;QAuI7E,iBAAM;;QAxIiE,AAApB,iCAAmB,kBAAkB;QAC7E,cAAY;QAAZ,iCAAY;;ADYV,qBAAqB;IANjC,aAAa,CAAC,iBAAiB,EAAE,YAAY,CAAC,CAAC,uCAAuC;GAM1E,qBAAqB,CAEjC;;iFAFY,qBAAqB;cALjC,SAAS;2BACI,mBAAmB;;kFAIpB,qBAAqB;AAIlC,MAAM,UAAU,yBAAyB;IACrC,4BAA4B,EAAE,CAAC;AACnC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"details.component.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/generated/Entities/AIPrompt/sections/details.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;;AAE/D,
|
|
1
|
+
{"version":3,"file":"details.component.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/generated/Entities/AIPrompt/sections/details.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;;AAE/D,qBAsSa,wBAAyB,SAAQ,wBAAwB;IAChD,MAAM,EAAG,cAAc,CAAC;IACxB,QAAQ,EAAE,OAAO,CAAS;yCAFnC,wBAAwB;2CAAxB,wBAAwB;CAGpC;AAED,wBAAgB,4BAA4B,SAE3C"}
|
|
@@ -12,7 +12,7 @@ import * as i1 from "@angular/common";
|
|
|
12
12
|
import * as i2 from "@memberjunction/ng-base-forms";
|
|
13
13
|
function AIPromptDetailsComponent_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);
|
|
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);
|
|
16
16
|
i0.ɵɵelementEnd()();
|
|
17
17
|
} if (rf & 2) {
|
|
18
18
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -90,6 +90,10 @@ function AIPromptDetailsComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
90
90
|
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
91
91
|
i0.ɵɵadvance();
|
|
92
92
|
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
93
|
+
i0.ɵɵadvance();
|
|
94
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
95
|
+
i0.ɵɵadvance();
|
|
96
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
93
97
|
} }
|
|
94
98
|
let AIPromptDetailsComponent = class AIPromptDetailsComponent extends BaseFormSectionComponent {
|
|
95
99
|
constructor() {
|
|
@@ -98,8 +102,8 @@ let AIPromptDetailsComponent = class AIPromptDetailsComponent extends BaseFormSe
|
|
|
98
102
|
}
|
|
99
103
|
};
|
|
100
104
|
AIPromptDetailsComponent.ɵfac = /*@__PURE__*/ (() => { let ɵAIPromptDetailsComponent_BaseFactory; return function AIPromptDetailsComponent_Factory(t) { return (ɵAIPromptDetailsComponent_BaseFactory || (ɵAIPromptDetailsComponent_BaseFactory = i0.ɵɵgetInheritedFactory(AIPromptDetailsComponent)))(t || AIPromptDetailsComponent); }; })();
|
|
101
|
-
AIPromptDetailsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AIPromptDetailsComponent, selectors: [["gen-aiprompt-form-details"]], inputs: { record: "record", EditMode: "EditMode" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "record-form"], ["FieldName", "Name", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Description", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "TemplateID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "CategoryID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "TypeID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Status", "Type", "dropdownlist", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "__mj_CreatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "__mj_UpdatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "ResponseFormat", "Type", "dropdownlist", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "ModelSpecificResponseFormat", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "AIModelTypeID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "MinPowerRank", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "SelectionStrategy", "Type", "dropdownlist", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "PowerPreference", "Type", "dropdownlist", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "ParallelizationMode", "Type", "dropdownlist", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "ParallelCount", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "ParallelConfigParam", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "OutputType", "Type", "dropdownlist", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "OutputExample", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "ValidationBehavior", "Type", "dropdownlist", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "MaxRetries", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "RetryDelayMS", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "RetryStrategy", "Type", "dropdownlist", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "ResultSelectorPromptID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "EnableCaching", "Type", "checkbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "CacheTTLSeconds", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "CacheMatchType", "Type", "dropdownlist", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "CacheSimilarityThreshold", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "CacheMustMatchModel", "Type", "checkbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "CacheMustMatchVendor", "Type", "checkbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "CacheMustMatchAgent", "Type", "checkbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "CacheMustMatchConfig", "Type", "checkbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Template", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Category", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Type", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "AIModelType", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "ResultSelectorPrompt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"]], template: function AIPromptDetailsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
102
|
-
i0.ɵɵtemplate(0, AIPromptDetailsComponent_div_0_Template,
|
|
105
|
+
AIPromptDetailsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AIPromptDetailsComponent, selectors: [["gen-aiprompt-form-details"]], inputs: { record: "record", EditMode: "EditMode" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "record-form"], ["FieldName", "Name", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Description", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "TemplateID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "CategoryID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "TypeID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Status", "Type", "dropdownlist", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "__mj_CreatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "__mj_UpdatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "ResponseFormat", "Type", "dropdownlist", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "ModelSpecificResponseFormat", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "AIModelTypeID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "MinPowerRank", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "SelectionStrategy", "Type", "dropdownlist", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "PowerPreference", "Type", "dropdownlist", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "ParallelizationMode", "Type", "dropdownlist", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "ParallelCount", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "ParallelConfigParam", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "OutputType", "Type", "dropdownlist", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "OutputExample", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "ValidationBehavior", "Type", "dropdownlist", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "MaxRetries", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "RetryDelayMS", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "RetryStrategy", "Type", "dropdownlist", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "ResultSelectorPromptID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "EnableCaching", "Type", "checkbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "CacheTTLSeconds", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "CacheMatchType", "Type", "dropdownlist", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "CacheSimilarityThreshold", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "CacheMustMatchModel", "Type", "checkbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "CacheMustMatchVendor", "Type", "checkbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "CacheMustMatchAgent", "Type", "checkbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "CacheMustMatchConfig", "Type", "checkbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "PromptRole", "Type", "dropdownlist", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "PromptPosition", "Type", "dropdownlist", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Template", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Category", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Type", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "AIModelType", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "ResultSelectorPrompt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"]], template: function AIPromptDetailsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
106
|
+
i0.ɵɵtemplate(0, AIPromptDetailsComponent_div_0_Template, 41, 117, "div", 0);
|
|
103
107
|
} if (rf & 2) {
|
|
104
108
|
i0.ɵɵproperty("ngIf", ctx.record);
|
|
105
109
|
} }, 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}"] });
|
|
@@ -345,6 +349,20 @@ export { AIPromptDetailsComponent };
|
|
|
345
349
|
Type="checkbox"
|
|
346
350
|
[EditMode]="EditMode"
|
|
347
351
|
></mj-form-field>
|
|
352
|
+
<mj-form-field
|
|
353
|
+
[record]="record"
|
|
354
|
+
[ShowLabel]="true"
|
|
355
|
+
FieldName="PromptRole"
|
|
356
|
+
Type="dropdownlist"
|
|
357
|
+
[EditMode]="EditMode"
|
|
358
|
+
></mj-form-field>
|
|
359
|
+
<mj-form-field
|
|
360
|
+
[record]="record"
|
|
361
|
+
[ShowLabel]="true"
|
|
362
|
+
FieldName="PromptPosition"
|
|
363
|
+
Type="dropdownlist"
|
|
364
|
+
[EditMode]="EditMode"
|
|
365
|
+
></mj-form-field>
|
|
348
366
|
<mj-form-field
|
|
349
367
|
[record]="record"
|
|
350
368
|
[ShowLabel]="true"
|
|
@@ -389,7 +407,7 @@ export { AIPromptDetailsComponent };
|
|
|
389
407
|
}], EditMode: [{
|
|
390
408
|
type: Input
|
|
391
409
|
}] }); })();
|
|
392
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AIPromptDetailsComponent, { className: "AIPromptDetailsComponent", filePath: "src/lib/generated/Entities/AIPrompt/sections/details.component.ts", lineNumber:
|
|
410
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AIPromptDetailsComponent, { className: "AIPromptDetailsComponent", filePath: "src/lib/generated/Entities/AIPrompt/sections/details.component.ts", lineNumber: 300 }); })();
|
|
393
411
|
export function LoadAIPromptDetailsComponent() {
|
|
394
412
|
// does nothing, but called in order to prevent tree-shaking from eliminating this component from the build
|
|
395
413
|
}
|