@memberjunction/ng-core-entity-forms 2.41.0 → 2.42.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/generated/Entities/AIAgent/aiagent.form.component.js +44 -4
- 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 +98 -4
- package/dist/lib/generated/Entities/AIAgent/sections/details.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIAgentPrompt/aiagentprompt.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/AIAgentPrompt/aiagentprompt.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIAgentPrompt/aiagentprompt.form.component.js +61 -0
- package/dist/lib/generated/Entities/AIAgentPrompt/aiagentprompt.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/AIAgentPrompt/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/AIAgentPrompt/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIAgentPrompt/sections/details.component.js +176 -0
- package/dist/lib/generated/Entities/AIAgentPrompt/sections/details.component.js.map +1 -0
- package/dist/lib/generated/Entities/AIConfiguration/aiconfiguration.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/AIConfiguration/aiconfiguration.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIConfiguration/aiconfiguration.form.component.js +112 -0
- package/dist/lib/generated/Entities/AIConfiguration/aiconfiguration.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/AIConfiguration/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/AIConfiguration/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIConfiguration/sections/details.component.js +147 -0
- package/dist/lib/generated/Entities/AIConfiguration/sections/details.component.js.map +1 -0
- package/dist/lib/generated/Entities/AIConfigurationParam/aiconfigurationparam.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/AIConfigurationParam/aiconfigurationparam.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIConfigurationParam/aiconfigurationparam.form.component.js +61 -0
- package/dist/lib/generated/Entities/AIConfigurationParam/aiconfigurationparam.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/AIConfigurationParam/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/AIConfigurationParam/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIConfigurationParam/sections/details.component.js +127 -0
- package/dist/lib/generated/Entities/AIConfigurationParam/sections/details.component.js.map +1 -0
- package/dist/lib/generated/Entities/AIModel/aimodel.form.component.js +35 -5
- package/dist/lib/generated/Entities/AIModel/aimodel.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIModel/sections/details.component.js +28 -28
- package/dist/lib/generated/Entities/AIModel/sections/details.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIModelType/aimodeltype.form.component.js +13 -3
- package/dist/lib/generated/Entities/AIModelType/aimodeltype.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIModelVendor/aimodelvendor.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/AIModelVendor/aimodelvendor.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIModelVendor/aimodelvendor.form.component.js +61 -0
- package/dist/lib/generated/Entities/AIModelVendor/aimodelvendor.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/AIModelVendor/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/AIModelVendor/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIModelVendor/sections/details.component.js +201 -0
- package/dist/lib/generated/Entities/AIModelVendor/sections/details.component.js.map +1 -0
- package/dist/lib/generated/Entities/AIPrompt/aiprompt.form.component.js +73 -3
- 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 +214 -12
- package/dist/lib/generated/Entities/AIPrompt/sections/details.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIPromptModel/aipromptmodel.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/AIPromptModel/aipromptmodel.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIPromptModel/aipromptmodel.form.component.js +61 -0
- package/dist/lib/generated/Entities/AIPromptModel/aipromptmodel.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/AIPromptModel/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/AIPromptModel/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIPromptModel/sections/details.component.js +214 -0
- package/dist/lib/generated/Entities/AIPromptModel/sections/details.component.js.map +1 -0
- package/dist/lib/generated/Entities/AIPromptRun/aipromptrun.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/AIPromptRun/aipromptrun.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIPromptRun/aipromptrun.form.component.js +72 -0
- package/dist/lib/generated/Entities/AIPromptRun/aipromptrun.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/AIPromptRun/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/AIPromptRun/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIPromptRun/sections/details.component.js +270 -0
- package/dist/lib/generated/Entities/AIPromptRun/sections/details.component.js.map +1 -0
- package/dist/lib/generated/Entities/AIResultCache/sections/details.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/AIResultCache/sections/details.component.js +84 -4
- package/dist/lib/generated/Entities/AIResultCache/sections/details.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIVendor/aivendor.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/AIVendor/aivendor.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIVendor/aivendor.form.component.js +112 -0
- package/dist/lib/generated/Entities/AIVendor/aivendor.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/AIVendor/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/AIVendor/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIVendor/sections/details.component.js +89 -0
- package/dist/lib/generated/Entities/AIVendor/sections/details.component.js.map +1 -0
- package/dist/lib/generated/Entities/AIVendorType/aivendortype.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/AIVendorType/aivendortype.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIVendorType/aivendortype.form.component.js +61 -0
- package/dist/lib/generated/Entities/AIVendorType/aivendortype.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/AIVendorType/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/AIVendorType/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIVendorType/sections/details.component.js +129 -0
- package/dist/lib/generated/Entities/AIVendorType/sections/details.component.js.map +1 -0
- package/dist/lib/generated/Entities/AIVendorTypeDefinition/aivendortypedefinition.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/AIVendorTypeDefinition/aivendortypedefinition.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIVendorTypeDefinition/aivendortypedefinition.form.component.js +72 -0
- package/dist/lib/generated/Entities/AIVendorTypeDefinition/aivendortypedefinition.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/AIVendorTypeDefinition/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/AIVendorTypeDefinition/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIVendorTypeDefinition/sections/details.component.js +89 -0
- package/dist/lib/generated/Entities/AIVendorTypeDefinition/sections/details.component.js.map +1 -0
- package/dist/lib/generated/Entities/Application/application.form.component.js +24 -3
- package/dist/lib/generated/Entities/Application/application.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/Application/sections/details.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/Application/sections/details.component.js +13 -4
- package/dist/lib/generated/Entities/Application/sections/details.component.js.map +1 -1
- package/dist/lib/generated/Entities/ConversationArtifact/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/ConversationArtifactPermission/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/Dashboard/dashboard.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/Dashboard/dashboard.form.component.js +30 -9
- package/dist/lib/generated/Entities/Dashboard/dashboard.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/Dashboard/sections/details.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/Dashboard/sections/details.component.js +69 -4
- package/dist/lib/generated/Entities/Dashboard/sections/details.component.js.map +1 -1
- package/dist/lib/generated/Entities/DashboardUserPreference/dashboarduserpreference.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/DashboardUserPreference/dashboarduserpreference.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/DashboardUserPreference/dashboarduserpreference.form.component.js +61 -0
- package/dist/lib/generated/Entities/DashboardUserPreference/dashboarduserpreference.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/DashboardUserPreference/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/DashboardUserPreference/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/DashboardUserPreference/sections/details.component.js +149 -0
- package/dist/lib/generated/Entities/DashboardUserPreference/sections/details.component.js.map +1 -0
- package/dist/lib/generated/Entities/DashboardUserState/dashboarduserstate.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/DashboardUserState/dashboarduserstate.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/DashboardUserState/dashboarduserstate.form.component.js +61 -0
- package/dist/lib/generated/Entities/DashboardUserState/dashboarduserstate.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/DashboardUserState/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/DashboardUserState/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/DashboardUserState/sections/details.component.js +120 -0
- package/dist/lib/generated/Entities/DashboardUserState/sections/details.component.js.map +1 -0
- package/dist/lib/generated/Entities/Entity/sections/details.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/Entity/sections/details.component.js +40 -4
- package/dist/lib/generated/Entities/Entity/sections/details.component.js.map +1 -1
- package/dist/lib/generated/Entities/Report/sections/details.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/Report/sections/details.component.js +13 -4
- package/dist/lib/generated/Entities/Report/sections/details.component.js.map +1 -1
- package/dist/lib/generated/Entities/User/user.form.component.js +35 -15
- package/dist/lib/generated/Entities/User/user.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/UserView/sections/details.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/UserView/sections/details.component.js +13 -4
- package/dist/lib/generated/Entities/UserView/sections/details.component.js.map +1 -1
- package/dist/lib/generated/generated-forms.module.d.ts +278 -251
- package/dist/lib/generated/generated-forms.module.d.ts.map +1 -1
- package/dist/lib/generated/generated-forms.module.js +400 -255
- package/dist/lib/generated/generated-forms.module.js.map +1 -1
- package/package.json +11 -11
|
@@ -0,0 +1,214 @@
|
|
|
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 AIPromptModelDetailsComponent_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)(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);
|
|
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
|
+
i0.ɵɵadvance();
|
|
32
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
33
|
+
i0.ɵɵadvance();
|
|
34
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
35
|
+
i0.ɵɵadvance();
|
|
36
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
37
|
+
i0.ɵɵadvance();
|
|
38
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
39
|
+
i0.ɵɵadvance();
|
|
40
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
41
|
+
i0.ɵɵadvance();
|
|
42
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
43
|
+
i0.ɵɵadvance();
|
|
44
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
45
|
+
i0.ɵɵadvance();
|
|
46
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
47
|
+
i0.ɵɵadvance();
|
|
48
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
49
|
+
i0.ɵɵadvance();
|
|
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
|
+
} }
|
|
54
|
+
let AIPromptModelDetailsComponent = class AIPromptModelDetailsComponent extends BaseFormSectionComponent {
|
|
55
|
+
constructor() {
|
|
56
|
+
super(...arguments);
|
|
57
|
+
this.EditMode = false;
|
|
58
|
+
}
|
|
59
|
+
};
|
|
60
|
+
AIPromptModelDetailsComponent.ɵfac = /*@__PURE__*/ (() => { let ɵAIPromptModelDetailsComponent_BaseFactory; return function AIPromptModelDetailsComponent_Factory(t) { return (ɵAIPromptModelDetailsComponent_BaseFactory || (ɵAIPromptModelDetailsComponent_BaseFactory = i0.ɵɵgetInheritedFactory(AIPromptModelDetailsComponent)))(t || AIPromptModelDetailsComponent); }; })();
|
|
61
|
+
AIPromptModelDetailsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AIPromptModelDetailsComponent, selectors: [["gen-aipromptmodel-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", "ConfigurationID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Priority", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "ExecutionGroup", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "ModelParameters", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Status", "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", "__mj_CreatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "__mj_UpdatedAt", "Type", "textbox", 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", "Configuration", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"]], template: function AIPromptModelDetailsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
62
|
+
i0.ɵɵtemplate(0, AIPromptModelDetailsComponent_div_0_Template, 19, 51, "div", 0);
|
|
63
|
+
} if (rf & 2) {
|
|
64
|
+
i0.ɵɵproperty("ngIf", ctx.record);
|
|
65
|
+
} }, dependencies: [i1.NgIf, i2.MJFormField], styles: [".k-pane[_ngcontent-%COMP%] {\n background-color: #F5F6FA;\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}"] });
|
|
66
|
+
AIPromptModelDetailsComponent = __decorate([
|
|
67
|
+
RegisterClass(BaseFormSectionComponent, 'MJ: AI Prompt Models.details') // Tell MemberJunction about this class
|
|
68
|
+
], AIPromptModelDetailsComponent);
|
|
69
|
+
export { AIPromptModelDetailsComponent };
|
|
70
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AIPromptModelDetailsComponent, [{
|
|
71
|
+
type: Component,
|
|
72
|
+
args: [{ selector: 'gen-aipromptmodel-form-details', template: `<div *ngIf="this.record">
|
|
73
|
+
<div class="record-form">
|
|
74
|
+
<mj-form-field
|
|
75
|
+
[record]="record"
|
|
76
|
+
[ShowLabel]="true"
|
|
77
|
+
FieldName="PromptID"
|
|
78
|
+
Type="textbox"
|
|
79
|
+
[EditMode]="EditMode"
|
|
80
|
+
LinkType="Record"
|
|
81
|
+
LinkComponentType="Search"
|
|
82
|
+
></mj-form-field>
|
|
83
|
+
<mj-form-field
|
|
84
|
+
[record]="record"
|
|
85
|
+
[ShowLabel]="true"
|
|
86
|
+
FieldName="ModelID"
|
|
87
|
+
Type="textbox"
|
|
88
|
+
[EditMode]="EditMode"
|
|
89
|
+
LinkType="Record"
|
|
90
|
+
LinkComponentType="Search"
|
|
91
|
+
></mj-form-field>
|
|
92
|
+
<mj-form-field
|
|
93
|
+
[record]="record"
|
|
94
|
+
[ShowLabel]="true"
|
|
95
|
+
FieldName="VendorID"
|
|
96
|
+
Type="textbox"
|
|
97
|
+
[EditMode]="EditMode"
|
|
98
|
+
LinkType="Record"
|
|
99
|
+
LinkComponentType="Search"
|
|
100
|
+
></mj-form-field>
|
|
101
|
+
<mj-form-field
|
|
102
|
+
[record]="record"
|
|
103
|
+
[ShowLabel]="true"
|
|
104
|
+
FieldName="ConfigurationID"
|
|
105
|
+
Type="textbox"
|
|
106
|
+
[EditMode]="EditMode"
|
|
107
|
+
LinkType="Record"
|
|
108
|
+
LinkComponentType="Search"
|
|
109
|
+
></mj-form-field>
|
|
110
|
+
<mj-form-field
|
|
111
|
+
[record]="record"
|
|
112
|
+
[ShowLabel]="true"
|
|
113
|
+
FieldName="Priority"
|
|
114
|
+
Type="numerictextbox"
|
|
115
|
+
[EditMode]="EditMode"
|
|
116
|
+
></mj-form-field>
|
|
117
|
+
<mj-form-field
|
|
118
|
+
[record]="record"
|
|
119
|
+
[ShowLabel]="true"
|
|
120
|
+
FieldName="ExecutionGroup"
|
|
121
|
+
Type="numerictextbox"
|
|
122
|
+
[EditMode]="EditMode"
|
|
123
|
+
></mj-form-field>
|
|
124
|
+
<mj-form-field
|
|
125
|
+
[record]="record"
|
|
126
|
+
[ShowLabel]="true"
|
|
127
|
+
FieldName="ModelParameters"
|
|
128
|
+
Type="textarea"
|
|
129
|
+
[EditMode]="EditMode"
|
|
130
|
+
></mj-form-field>
|
|
131
|
+
<mj-form-field
|
|
132
|
+
[record]="record"
|
|
133
|
+
[ShowLabel]="true"
|
|
134
|
+
FieldName="Status"
|
|
135
|
+
Type="dropdownlist"
|
|
136
|
+
[EditMode]="EditMode"
|
|
137
|
+
></mj-form-field>
|
|
138
|
+
<mj-form-field
|
|
139
|
+
[record]="record"
|
|
140
|
+
[ShowLabel]="true"
|
|
141
|
+
FieldName="ParallelizationMode"
|
|
142
|
+
Type="dropdownlist"
|
|
143
|
+
[EditMode]="EditMode"
|
|
144
|
+
></mj-form-field>
|
|
145
|
+
<mj-form-field
|
|
146
|
+
[record]="record"
|
|
147
|
+
[ShowLabel]="true"
|
|
148
|
+
FieldName="ParallelCount"
|
|
149
|
+
Type="numerictextbox"
|
|
150
|
+
[EditMode]="EditMode"
|
|
151
|
+
></mj-form-field>
|
|
152
|
+
<mj-form-field
|
|
153
|
+
[record]="record"
|
|
154
|
+
[ShowLabel]="true"
|
|
155
|
+
FieldName="ParallelConfigParam"
|
|
156
|
+
Type="textbox"
|
|
157
|
+
[EditMode]="EditMode"
|
|
158
|
+
></mj-form-field>
|
|
159
|
+
<mj-form-field
|
|
160
|
+
[record]="record"
|
|
161
|
+
[ShowLabel]="true"
|
|
162
|
+
FieldName="__mj_CreatedAt"
|
|
163
|
+
Type="textbox"
|
|
164
|
+
[EditMode]="EditMode"
|
|
165
|
+
></mj-form-field>
|
|
166
|
+
<mj-form-field
|
|
167
|
+
[record]="record"
|
|
168
|
+
[ShowLabel]="true"
|
|
169
|
+
FieldName="__mj_UpdatedAt"
|
|
170
|
+
Type="textbox"
|
|
171
|
+
[EditMode]="EditMode"
|
|
172
|
+
></mj-form-field>
|
|
173
|
+
<mj-form-field
|
|
174
|
+
[record]="record"
|
|
175
|
+
[ShowLabel]="true"
|
|
176
|
+
FieldName="Prompt"
|
|
177
|
+
Type="textbox"
|
|
178
|
+
[EditMode]="EditMode"
|
|
179
|
+
></mj-form-field>
|
|
180
|
+
<mj-form-field
|
|
181
|
+
[record]="record"
|
|
182
|
+
[ShowLabel]="true"
|
|
183
|
+
FieldName="Model"
|
|
184
|
+
Type="textbox"
|
|
185
|
+
[EditMode]="EditMode"
|
|
186
|
+
></mj-form-field>
|
|
187
|
+
<mj-form-field
|
|
188
|
+
[record]="record"
|
|
189
|
+
[ShowLabel]="true"
|
|
190
|
+
FieldName="Vendor"
|
|
191
|
+
Type="textbox"
|
|
192
|
+
[EditMode]="EditMode"
|
|
193
|
+
></mj-form-field>
|
|
194
|
+
<mj-form-field
|
|
195
|
+
[record]="record"
|
|
196
|
+
[ShowLabel]="true"
|
|
197
|
+
FieldName="Configuration"
|
|
198
|
+
Type="textbox"
|
|
199
|
+
[EditMode]="EditMode"
|
|
200
|
+
></mj-form-field>
|
|
201
|
+
|
|
202
|
+
</div>
|
|
203
|
+
</div>
|
|
204
|
+
`, styles: [".k-pane {\n background-color: #F5F6FA;\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"] }]
|
|
205
|
+
}], null, { record: [{
|
|
206
|
+
type: Input
|
|
207
|
+
}], EditMode: [{
|
|
208
|
+
type: Input
|
|
209
|
+
}] }); })();
|
|
210
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AIPromptModelDetailsComponent, { className: "AIPromptModelDetailsComponent", filePath: "src/lib/generated/Entities/AIPromptModel/sections/details.component.ts", lineNumber: 144 }); })();
|
|
211
|
+
export function LoadAIPromptModelDetailsComponent() {
|
|
212
|
+
// does nothing, but called in order to prevent tree-shaking from eliminating this component from the build
|
|
213
|
+
}
|
|
214
|
+
//# sourceMappingURL=details.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"details.component.js","sourceRoot":"","sources":["../../../../../../src/lib/generated/Entities/AIPromptModel/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;IAyHrB,AAPA,AAPA,AAPA,AAPA,AAPA,AAPA,AAPA,AAPA,AAPA,AAPA,AAPA,AAPA,AATA,AATA,AATA,AATA,mCAQiB,uBASA,uBASA,uBASA,uBAOA,uBAOA,uBAOA,uBAOA,yBAOA,yBAOA,yBAOA,yBAOA,yBAOA,yBAOA,yBAOA,yBAOA,yBAOA;IAGzB,AADI,iBAAM,EACJ;;;IAhIM,eAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAKrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAKrB,cAAiB;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;;AAO1B,IAAM,6BAA6B,GAAnC,MAAM,6BAA8B,SAAQ,wBAAwB;IAApE;;QAEe,aAAQ,GAAY,KAAK,CAAC;KAC/C;;oSAHY,6BAA6B,SAA7B,6BAA6B;gFAA7B,6BAA6B;QAtI3B,gFAAyB;;QAAnB,iCAAiB;;AAsIzB,6BAA6B;IA1IzC,aAAa,CAAC,wBAAwB,EAAE,8BAA8B,CAAC,CAAC,wCAAwC;GA0IpG,6BAA6B,CAGzC;;iFAHY,6BAA6B;cAzIzC,SAAS;2BACI,gCAAgC,YAEhC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAoIT;gBAGiB,MAAM;kBAAvB,KAAK;YACY,QAAQ;kBAAzB,KAAK;;kFAFG,6BAA6B;AAK1C,MAAM,UAAU,iCAAiC;IAC7C,2GAA2G;AAC/G,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AIPromptRunEntity } from '@memberjunction/core-entities';
|
|
2
|
+
import { BaseFormComponent } from '@memberjunction/ng-base-forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AIPromptRunFormComponent extends BaseFormComponent {
|
|
5
|
+
record: AIPromptRunEntity;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AIPromptRunFormComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AIPromptRunFormComponent, "gen-aipromptrun-form", never, {}, {}, never, never, false, never>;
|
|
8
|
+
}
|
|
9
|
+
export declare function LoadAIPromptRunFormComponent(): void;
|
|
10
|
+
//# sourceMappingURL=aipromptrun.form.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aipromptrun.form.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/AIPromptRun/aipromptrun.form.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAElE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAIlE,qBAMa,wBAAyB,SAAQ,iBAAiB;IACpD,MAAM,EAAG,iBAAiB,CAAC;yCADzB,wBAAwB;2CAAxB,wBAAwB;CAEpC;AAED,wBAAgB,4BAA4B,SAE3C"}
|
|
@@ -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 { LoadAIPromptRunDetailsComponent } 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 AIPromptRunFormComponent_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 AIPromptRunFormComponent_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 AIPromptRunFormComponent_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 Result Cache ");
|
|
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 Result Cache", "PromptRunID"))("NewRecordValues", ctx_r1.NewRecordValues("AI Result Cache"))("AllowLoad", ctx_r1.IsCurrentTab("AI Result Cache"))("EditMode", ctx_r1.GridEditMode())("BottomMargin", ctx_r1.GridBottomMargin);
|
|
47
|
+
} }
|
|
48
|
+
let AIPromptRunFormComponent = class AIPromptRunFormComponent extends BaseFormComponent {
|
|
49
|
+
};
|
|
50
|
+
AIPromptRunFormComponent.ɵfac = /*@__PURE__*/ (() => { let ɵAIPromptRunFormComponent_BaseFactory; return function AIPromptRunFormComponent_Factory(t) { return (ɵAIPromptRunFormComponent_BaseFactory || (ɵAIPromptRunFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(AIPromptRunFormComponent)))(t || AIPromptRunFormComponent); }; })();
|
|
51
|
+
AIPromptRunFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AIPromptRunFormComponent, selectors: [["gen-aipromptrun-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 Prompt Runs", "Section", "details", 3, "record", "EditMode"], ["Name", "AI Result Cache", 3, "Visible"], [3, "Params", "NewRecordValues", "AllowLoad", "EditMode", "BottomMargin"]], template: function AIPromptRunFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
52
|
+
i0.ɵɵelementStart(0, "div", 1);
|
|
53
|
+
i0.ɵɵtemplate(1, AIPromptRunFormComponent_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\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
|
+
AIPromptRunFormComponent = __decorate([
|
|
61
|
+
RegisterClass(BaseFormComponent, 'MJ: AI Prompt Runs') // Tell MemberJunction about this class
|
|
62
|
+
], AIPromptRunFormComponent);
|
|
63
|
+
export { AIPromptRunFormComponent };
|
|
64
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AIPromptRunFormComponent, [{
|
|
65
|
+
type: Component,
|
|
66
|
+
args: [{ selector: 'gen-aipromptrun-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 Prompt Runs\" \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','PromptRunID')\" \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 </mj-tabstrip>\n </form>\n</div>\n ", styles: [".k-pane {\n background-color: #F5F6FA;\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(AIPromptRunFormComponent, { className: "AIPromptRunFormComponent", filePath: "src/lib/generated/Entities/AIPromptRun/aipromptrun.form.component.ts", lineNumber: 14 }); })();
|
|
69
|
+
export function LoadAIPromptRunFormComponent() {
|
|
70
|
+
LoadAIPromptRunDetailsComponent();
|
|
71
|
+
}
|
|
72
|
+
//# sourceMappingURL=aipromptrun.form.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aipromptrun.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/AIPromptRun/aipromptrun.form.component.ts","../../../../../src/lib/generated/Entities/AIPromptRun/aipromptrun.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,iCAA0D;IACtD,iCACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IAGxC,AADY,AADI,iBAAc,EACJ,EACnB;;;IA7Bc,eAAa;IAAb,6BAAa;IAWV,eAAiB;IACjB,AADA,sCAAiB,6BACS;IAIH,cAA0B;IAA1B,+CAA0B;IAKjD,eAAmF;IAInF,AADA,AADA,AADA,AADA,yGAAmF,8DAC7B,qDACT,mCAClB,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 { AIPromptRunEntity } from '@memberjunction/core-entities';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AIPromptRunDetailsComponent extends BaseFormSectionComponent {
|
|
5
|
+
record: AIPromptRunEntity;
|
|
6
|
+
EditMode: boolean;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AIPromptRunDetailsComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AIPromptRunDetailsComponent, "gen-aipromptrun-form-details", never, { "record": { "alias": "record"; "required": false; }; "EditMode": { "alias": "EditMode"; "required": false; }; }, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
10
|
+
export declare function LoadAIPromptRunDetailsComponent(): 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/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,qBAsLa,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,270 @@
|
|
|
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 AIPromptRunDetailsComponent_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)(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);
|
|
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
|
+
i0.ɵɵadvance();
|
|
32
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
33
|
+
i0.ɵɵadvance();
|
|
34
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
35
|
+
i0.ɵɵadvance();
|
|
36
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
37
|
+
i0.ɵɵadvance();
|
|
38
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
39
|
+
i0.ɵɵadvance();
|
|
40
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
41
|
+
i0.ɵɵadvance();
|
|
42
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
43
|
+
i0.ɵɵadvance();
|
|
44
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
45
|
+
i0.ɵɵadvance();
|
|
46
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
47
|
+
i0.ɵɵadvance();
|
|
48
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
49
|
+
i0.ɵɵadvance();
|
|
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);
|
|
55
|
+
i0.ɵɵadvance();
|
|
56
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
57
|
+
i0.ɵɵadvance();
|
|
58
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
59
|
+
i0.ɵɵadvance();
|
|
60
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
61
|
+
i0.ɵɵadvance();
|
|
62
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
63
|
+
i0.ɵɵadvance();
|
|
64
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
65
|
+
} }
|
|
66
|
+
let AIPromptRunDetailsComponent = class AIPromptRunDetailsComponent extends BaseFormSectionComponent {
|
|
67
|
+
constructor() {
|
|
68
|
+
super(...arguments);
|
|
69
|
+
this.EditMode = false;
|
|
70
|
+
}
|
|
71
|
+
};
|
|
72
|
+
AIPromptRunDetailsComponent.ɵfac = /*@__PURE__*/ (() => { let ɵAIPromptRunDetailsComponent_BaseFactory; return function AIPromptRunDetailsComponent_Factory(t) { return (ɵAIPromptRunDetailsComponent_BaseFactory || (ɵAIPromptRunDetailsComponent_BaseFactory = i0.ɵɵgetInheritedFactory(AIPromptRunDetailsComponent)))(t || AIPromptRunDetailsComponent); }; })();
|
|
73
|
+
AIPromptRunDetailsComponent.ɵ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", "Prompt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Model", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Vendor", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Agent", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Configuration", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"]], template: function AIPromptRunDetailsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
74
|
+
i0.ɵɵtemplate(0, AIPromptRunDetailsComponent_div_0_Template, 25, 69, "div", 0);
|
|
75
|
+
} if (rf & 2) {
|
|
76
|
+
i0.ɵɵproperty("ngIf", ctx.record);
|
|
77
|
+
} }, dependencies: [i1.NgIf, i2.MJFormField], styles: [".k-pane[_ngcontent-%COMP%] {\n background-color: #F5F6FA;\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}"] });
|
|
78
|
+
AIPromptRunDetailsComponent = __decorate([
|
|
79
|
+
RegisterClass(BaseFormSectionComponent, 'MJ: AI Prompt Runs.details') // Tell MemberJunction about this class
|
|
80
|
+
], AIPromptRunDetailsComponent);
|
|
81
|
+
export { AIPromptRunDetailsComponent };
|
|
82
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AIPromptRunDetailsComponent, [{
|
|
83
|
+
type: Component,
|
|
84
|
+
args: [{ selector: 'gen-aipromptrun-form-details', template: `<div *ngIf="this.record">
|
|
85
|
+
<div class="record-form">
|
|
86
|
+
<mj-form-field
|
|
87
|
+
[record]="record"
|
|
88
|
+
[ShowLabel]="true"
|
|
89
|
+
FieldName="PromptID"
|
|
90
|
+
Type="textbox"
|
|
91
|
+
[EditMode]="EditMode"
|
|
92
|
+
LinkType="Record"
|
|
93
|
+
LinkComponentType="Search"
|
|
94
|
+
></mj-form-field>
|
|
95
|
+
<mj-form-field
|
|
96
|
+
[record]="record"
|
|
97
|
+
[ShowLabel]="true"
|
|
98
|
+
FieldName="ModelID"
|
|
99
|
+
Type="textbox"
|
|
100
|
+
[EditMode]="EditMode"
|
|
101
|
+
LinkType="Record"
|
|
102
|
+
LinkComponentType="Search"
|
|
103
|
+
></mj-form-field>
|
|
104
|
+
<mj-form-field
|
|
105
|
+
[record]="record"
|
|
106
|
+
[ShowLabel]="true"
|
|
107
|
+
FieldName="VendorID"
|
|
108
|
+
Type="textbox"
|
|
109
|
+
[EditMode]="EditMode"
|
|
110
|
+
LinkType="Record"
|
|
111
|
+
LinkComponentType="Search"
|
|
112
|
+
></mj-form-field>
|
|
113
|
+
<mj-form-field
|
|
114
|
+
[record]="record"
|
|
115
|
+
[ShowLabel]="true"
|
|
116
|
+
FieldName="AgentID"
|
|
117
|
+
Type="textbox"
|
|
118
|
+
[EditMode]="EditMode"
|
|
119
|
+
LinkType="Record"
|
|
120
|
+
LinkComponentType="Search"
|
|
121
|
+
></mj-form-field>
|
|
122
|
+
<mj-form-field
|
|
123
|
+
[record]="record"
|
|
124
|
+
[ShowLabel]="true"
|
|
125
|
+
FieldName="ConfigurationID"
|
|
126
|
+
Type="textbox"
|
|
127
|
+
[EditMode]="EditMode"
|
|
128
|
+
LinkType="Record"
|
|
129
|
+
LinkComponentType="Search"
|
|
130
|
+
></mj-form-field>
|
|
131
|
+
<mj-form-field
|
|
132
|
+
[record]="record"
|
|
133
|
+
[ShowLabel]="true"
|
|
134
|
+
FieldName="RunAt"
|
|
135
|
+
Type="datepicker"
|
|
136
|
+
[EditMode]="EditMode"
|
|
137
|
+
></mj-form-field>
|
|
138
|
+
<mj-form-field
|
|
139
|
+
[record]="record"
|
|
140
|
+
[ShowLabel]="true"
|
|
141
|
+
FieldName="CompletedAt"
|
|
142
|
+
Type="datepicker"
|
|
143
|
+
[EditMode]="EditMode"
|
|
144
|
+
></mj-form-field>
|
|
145
|
+
<mj-form-field
|
|
146
|
+
[record]="record"
|
|
147
|
+
[ShowLabel]="true"
|
|
148
|
+
FieldName="ExecutionTimeMS"
|
|
149
|
+
Type="numerictextbox"
|
|
150
|
+
[EditMode]="EditMode"
|
|
151
|
+
></mj-form-field>
|
|
152
|
+
<mj-form-field
|
|
153
|
+
[record]="record"
|
|
154
|
+
[ShowLabel]="true"
|
|
155
|
+
FieldName="Messages"
|
|
156
|
+
Type="textarea"
|
|
157
|
+
[EditMode]="EditMode"
|
|
158
|
+
></mj-form-field>
|
|
159
|
+
<mj-form-field
|
|
160
|
+
[record]="record"
|
|
161
|
+
[ShowLabel]="true"
|
|
162
|
+
FieldName="Result"
|
|
163
|
+
Type="textarea"
|
|
164
|
+
[EditMode]="EditMode"
|
|
165
|
+
></mj-form-field>
|
|
166
|
+
<mj-form-field
|
|
167
|
+
[record]="record"
|
|
168
|
+
[ShowLabel]="true"
|
|
169
|
+
FieldName="TokensUsed"
|
|
170
|
+
Type="numerictextbox"
|
|
171
|
+
[EditMode]="EditMode"
|
|
172
|
+
></mj-form-field>
|
|
173
|
+
<mj-form-field
|
|
174
|
+
[record]="record"
|
|
175
|
+
[ShowLabel]="true"
|
|
176
|
+
FieldName="TokensPrompt"
|
|
177
|
+
Type="numerictextbox"
|
|
178
|
+
[EditMode]="EditMode"
|
|
179
|
+
></mj-form-field>
|
|
180
|
+
<mj-form-field
|
|
181
|
+
[record]="record"
|
|
182
|
+
[ShowLabel]="true"
|
|
183
|
+
FieldName="TokensCompletion"
|
|
184
|
+
Type="numerictextbox"
|
|
185
|
+
[EditMode]="EditMode"
|
|
186
|
+
></mj-form-field>
|
|
187
|
+
<mj-form-field
|
|
188
|
+
[record]="record"
|
|
189
|
+
[ShowLabel]="true"
|
|
190
|
+
FieldName="TotalCost"
|
|
191
|
+
Type="numerictextbox"
|
|
192
|
+
[EditMode]="EditMode"
|
|
193
|
+
></mj-form-field>
|
|
194
|
+
<mj-form-field
|
|
195
|
+
[record]="record"
|
|
196
|
+
[ShowLabel]="true"
|
|
197
|
+
FieldName="Success"
|
|
198
|
+
Type="checkbox"
|
|
199
|
+
[EditMode]="EditMode"
|
|
200
|
+
></mj-form-field>
|
|
201
|
+
<mj-form-field
|
|
202
|
+
[record]="record"
|
|
203
|
+
[ShowLabel]="true"
|
|
204
|
+
FieldName="ErrorMessage"
|
|
205
|
+
Type="textarea"
|
|
206
|
+
[EditMode]="EditMode"
|
|
207
|
+
></mj-form-field>
|
|
208
|
+
<mj-form-field
|
|
209
|
+
[record]="record"
|
|
210
|
+
[ShowLabel]="true"
|
|
211
|
+
FieldName="__mj_CreatedAt"
|
|
212
|
+
Type="textbox"
|
|
213
|
+
[EditMode]="EditMode"
|
|
214
|
+
></mj-form-field>
|
|
215
|
+
<mj-form-field
|
|
216
|
+
[record]="record"
|
|
217
|
+
[ShowLabel]="true"
|
|
218
|
+
FieldName="__mj_UpdatedAt"
|
|
219
|
+
Type="textbox"
|
|
220
|
+
[EditMode]="EditMode"
|
|
221
|
+
></mj-form-field>
|
|
222
|
+
<mj-form-field
|
|
223
|
+
[record]="record"
|
|
224
|
+
[ShowLabel]="true"
|
|
225
|
+
FieldName="Prompt"
|
|
226
|
+
Type="textbox"
|
|
227
|
+
[EditMode]="EditMode"
|
|
228
|
+
></mj-form-field>
|
|
229
|
+
<mj-form-field
|
|
230
|
+
[record]="record"
|
|
231
|
+
[ShowLabel]="true"
|
|
232
|
+
FieldName="Model"
|
|
233
|
+
Type="textbox"
|
|
234
|
+
[EditMode]="EditMode"
|
|
235
|
+
></mj-form-field>
|
|
236
|
+
<mj-form-field
|
|
237
|
+
[record]="record"
|
|
238
|
+
[ShowLabel]="true"
|
|
239
|
+
FieldName="Vendor"
|
|
240
|
+
Type="textbox"
|
|
241
|
+
[EditMode]="EditMode"
|
|
242
|
+
></mj-form-field>
|
|
243
|
+
<mj-form-field
|
|
244
|
+
[record]="record"
|
|
245
|
+
[ShowLabel]="true"
|
|
246
|
+
FieldName="Agent"
|
|
247
|
+
Type="textbox"
|
|
248
|
+
[EditMode]="EditMode"
|
|
249
|
+
></mj-form-field>
|
|
250
|
+
<mj-form-field
|
|
251
|
+
[record]="record"
|
|
252
|
+
[ShowLabel]="true"
|
|
253
|
+
FieldName="Configuration"
|
|
254
|
+
Type="textbox"
|
|
255
|
+
[EditMode]="EditMode"
|
|
256
|
+
></mj-form-field>
|
|
257
|
+
|
|
258
|
+
</div>
|
|
259
|
+
</div>
|
|
260
|
+
`, styles: [".k-pane {\n background-color: #F5F6FA;\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"] }]
|
|
261
|
+
}], null, { record: [{
|
|
262
|
+
type: Input
|
|
263
|
+
}], EditMode: [{
|
|
264
|
+
type: Input
|
|
265
|
+
}] }); })();
|
|
266
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AIPromptRunDetailsComponent, { className: "AIPromptRunDetailsComponent", filePath: "src/lib/generated/Entities/AIPromptRun/sections/details.component.ts", lineNumber: 188 }); })();
|
|
267
|
+
export function LoadAIPromptRunDetailsComponent() {
|
|
268
|
+
// does nothing, but called in order to prevent tree-shaking from eliminating this component from the build
|
|
269
|
+
}
|
|
270
|
+
//# sourceMappingURL=details.component.js.map
|
|
@@ -0,0 +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;IAqKrB,AAPA,AAPA,AAPA,AAPA,AAPA,AAPA,AAPA,AAPA,AAPA,AAPA,AAPA,AAPA,AAPA,AAPA,AAPA,AAPA,AAPA,AATA,AATA,AATA,AATA,AATA,mCAQiB,uBASA,uBASA,uBASA,uBASA,uBAOA,uBAOA,uBAOA,yBAOA,yBAOA,yBAOA,yBAOA,yBAOA,yBAOA,yBAOA,yBAOA,yBAOA,yBAOA,yBAOA,yBAOA,yBAOA,yBAOA,yBAOA;IAGzB,AADI,iBAAM,EACJ;;;IA5KM,eAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAKrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAKrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAKrB,cAAiB;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;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;;AAO1B,IAAM,2BAA2B,GAAjC,MAAM,2BAA4B,SAAQ,wBAAwB;IAAlE;;QAEe,aAAQ,GAAY,KAAK,CAAC;KAC/C;;0RAHY,2BAA2B,SAA3B,2BAA2B;8EAA3B,2BAA2B;QAlLzB,8EAAyB;;QAAnB,iCAAiB;;AAkLzB,2BAA2B;IAtLvC,aAAa,CAAC,wBAAwB,EAAE,4BAA4B,CAAC,CAAC,wCAAwC;GAsLlG,2BAA2B,CAGvC;;iFAHY,2BAA2B;cArLvC,SAAS;2BACI,8BAA8B,YAE9B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAgLT;gBAGiB,MAAM;kBAAvB,KAAK;YACY,QAAQ;kBAAzB,KAAK;;kFAFG,2BAA2B;AAKxC,MAAM,UAAU,+BAA+B;IAC3C,2GAA2G;AAC/G,CAAC"}
|