@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,112 @@
|
|
|
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 { LoadAIConfigurationDetailsComponent } 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 AIConfigurationFormComponent_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 AIConfigurationFormComponent_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 AIConfigurationFormComponent_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, " MJ: AI Configuration Params ");
|
|
33
|
+
i0.ɵɵelementEnd();
|
|
34
|
+
i0.ɵɵelementStart(10, "mj-tab-body");
|
|
35
|
+
i0.ɵɵelement(11, "mj-user-view-grid", 9);
|
|
36
|
+
i0.ɵɵelementEnd();
|
|
37
|
+
i0.ɵɵelementStart(12, "mj-tab", 10);
|
|
38
|
+
i0.ɵɵtext(13, " MJ: AI Agent Prompts ");
|
|
39
|
+
i0.ɵɵelementEnd();
|
|
40
|
+
i0.ɵɵelementStart(14, "mj-tab-body");
|
|
41
|
+
i0.ɵɵelement(15, "mj-user-view-grid", 9);
|
|
42
|
+
i0.ɵɵelementEnd();
|
|
43
|
+
i0.ɵɵelementStart(16, "mj-tab", 11);
|
|
44
|
+
i0.ɵɵtext(17, " MJ: AI Prompt Models ");
|
|
45
|
+
i0.ɵɵelementEnd();
|
|
46
|
+
i0.ɵɵelementStart(18, "mj-tab-body");
|
|
47
|
+
i0.ɵɵelement(19, "mj-user-view-grid", 9);
|
|
48
|
+
i0.ɵɵelementEnd();
|
|
49
|
+
i0.ɵɵelementStart(20, "mj-tab", 12);
|
|
50
|
+
i0.ɵɵtext(21, " AI Result Cache ");
|
|
51
|
+
i0.ɵɵelementEnd();
|
|
52
|
+
i0.ɵɵelementStart(22, "mj-tab-body");
|
|
53
|
+
i0.ɵɵelement(23, "mj-user-view-grid", 9);
|
|
54
|
+
i0.ɵɵelementEnd();
|
|
55
|
+
i0.ɵɵelementStart(24, "mj-tab", 13);
|
|
56
|
+
i0.ɵɵtext(25, " MJ: AI Prompt Runs ");
|
|
57
|
+
i0.ɵɵelementEnd();
|
|
58
|
+
i0.ɵɵelementStart(26, "mj-tab-body");
|
|
59
|
+
i0.ɵɵelement(27, "mj-user-view-grid", 9);
|
|
60
|
+
i0.ɵɵelementEnd()()();
|
|
61
|
+
} if (rf & 2) {
|
|
62
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
63
|
+
i0.ɵɵadvance(2);
|
|
64
|
+
i0.ɵɵproperty("form", ctx_r1);
|
|
65
|
+
i0.ɵɵadvance(5);
|
|
66
|
+
i0.ɵɵproperty("record", ctx_r1.record)("EditMode", ctx_r1.EditMode);
|
|
67
|
+
i0.ɵɵadvance();
|
|
68
|
+
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved);
|
|
69
|
+
i0.ɵɵadvance(3);
|
|
70
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: AI Configuration Params", "ConfigurationID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: AI Configuration Params"))("AllowLoad", ctx_r1.IsCurrentTab("MJ: AI Configuration Params"))("EditMode", ctx_r1.GridEditMode())("BottomMargin", ctx_r1.GridBottomMargin);
|
|
71
|
+
i0.ɵɵadvance();
|
|
72
|
+
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved);
|
|
73
|
+
i0.ɵɵadvance(3);
|
|
74
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: AI Agent Prompts", "ConfigurationID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: AI Agent Prompts"))("AllowLoad", ctx_r1.IsCurrentTab("MJ: AI Agent Prompts"))("EditMode", ctx_r1.GridEditMode())("BottomMargin", ctx_r1.GridBottomMargin);
|
|
75
|
+
i0.ɵɵadvance();
|
|
76
|
+
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved);
|
|
77
|
+
i0.ɵɵadvance(3);
|
|
78
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: AI Prompt Models", "ConfigurationID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: AI Prompt Models"))("AllowLoad", ctx_r1.IsCurrentTab("MJ: AI Prompt Models"))("EditMode", ctx_r1.GridEditMode())("BottomMargin", ctx_r1.GridBottomMargin);
|
|
79
|
+
i0.ɵɵadvance();
|
|
80
|
+
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved);
|
|
81
|
+
i0.ɵɵadvance(3);
|
|
82
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("AI Result Cache", "ConfigurationID"))("NewRecordValues", ctx_r1.NewRecordValues("AI Result Cache"))("AllowLoad", ctx_r1.IsCurrentTab("AI Result Cache"))("EditMode", ctx_r1.GridEditMode())("BottomMargin", ctx_r1.GridBottomMargin);
|
|
83
|
+
i0.ɵɵadvance();
|
|
84
|
+
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved);
|
|
85
|
+
i0.ɵɵadvance(3);
|
|
86
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: AI Prompt Runs", "ConfigurationID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: AI Prompt Runs"))("AllowLoad", ctx_r1.IsCurrentTab("MJ: AI Prompt Runs"))("EditMode", ctx_r1.GridEditMode())("BottomMargin", ctx_r1.GridBottomMargin);
|
|
87
|
+
} }
|
|
88
|
+
let AIConfigurationFormComponent = class AIConfigurationFormComponent extends BaseFormComponent {
|
|
89
|
+
};
|
|
90
|
+
AIConfigurationFormComponent.ɵfac = /*@__PURE__*/ (() => { let ɵAIConfigurationFormComponent_BaseFactory; return function AIConfigurationFormComponent_Factory(t) { return (ɵAIConfigurationFormComponent_BaseFactory || (ɵAIConfigurationFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(AIConfigurationFormComponent)))(t || AIConfigurationFormComponent); }; })();
|
|
91
|
+
AIConfigurationFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AIConfigurationFormComponent, selectors: [["gen-aiconfiguration-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 Configurations", "Section", "details", 3, "record", "EditMode"], ["Name", "MJ: AI Configuration Params", 3, "Visible"], [3, "Params", "NewRecordValues", "AllowLoad", "EditMode", "BottomMargin"], ["Name", "MJ: AI Agent Prompts", 3, "Visible"], ["Name", "MJ: AI Prompt Models", 3, "Visible"], ["Name", "AI Result Cache", 3, "Visible"], ["Name", "MJ: AI Prompt Runs", 3, "Visible"]], template: function AIConfigurationFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
92
|
+
i0.ɵɵelementStart(0, "div", 1);
|
|
93
|
+
i0.ɵɵtemplate(1, AIConfigurationFormComponent_form_1_Template, 28, 33, "form", 2);
|
|
94
|
+
i0.ɵɵelementEnd();
|
|
95
|
+
} if (rf & 2) {
|
|
96
|
+
i0.ɵɵproperty("bottomMargin", 20)("rightMargin", 5);
|
|
97
|
+
i0.ɵɵadvance();
|
|
98
|
+
i0.ɵɵproperty("ngIf", ctx.record);
|
|
99
|
+
} }, 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}"] });
|
|
100
|
+
AIConfigurationFormComponent = __decorate([
|
|
101
|
+
RegisterClass(BaseFormComponent, 'MJ: AI Configurations') // Tell MemberJunction about this class
|
|
102
|
+
], AIConfigurationFormComponent);
|
|
103
|
+
export { AIConfigurationFormComponent };
|
|
104
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AIConfigurationFormComponent, [{
|
|
105
|
+
type: Component,
|
|
106
|
+
args: [{ selector: 'gen-aiconfiguration-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 Configurations\" \n Section=\"details\" \n [record]=\"record\" \n [EditMode]=\"this.EditMode\">\n </mj-form-section>\n </mj-tab-body>\n \n <mj-tab Name=\"MJ: AI Configuration Params\" [Visible]=\"record.IsSaved\"> \n MJ: AI Configuration Params\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Configuration Params','ConfigurationID')\" \n [NewRecordValues]=\"NewRecordValues('MJ: AI Configuration Params')\"\n [AllowLoad]=\"IsCurrentTab('MJ: AI Configuration Params')\" \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','ConfigurationID')\" \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 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','ConfigurationID')\" \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=\"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','ConfigurationID')\" \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 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','ConfigurationID')\" \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 </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"] }]
|
|
107
|
+
}], null, null); })();
|
|
108
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AIConfigurationFormComponent, { className: "AIConfigurationFormComponent", filePath: "src/lib/generated/Entities/AIConfiguration/aiconfiguration.form.component.ts", lineNumber: 14 }); })();
|
|
109
|
+
export function LoadAIConfigurationFormComponent() {
|
|
110
|
+
LoadAIConfigurationDetailsComponent();
|
|
111
|
+
}
|
|
112
|
+
//# sourceMappingURL=aiconfiguration.form.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aiconfiguration.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/AIConfiguration/aiconfiguration.form.component.ts","../../../../../src/lib/generated/Entities/AIConfiguration/aiconfiguration.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,mCAAmC,EAAE,MAAM,8BAA8B,CAAA;;;;;;;;;;;ICH9E,kCAAyE;IACrE,qCAAiD;IAEzC,sCAA0G;IAAzC,AAApD,gNAAe,0BAAmB,KAAC,qMAAoC,2BAAoB,KAAC;IAErG,iCAAuB;IACnB,yBACJ;IAAA,iBAAS;IACT,mCAAa;IACT,qCAKkB;IACtB,iBAAc;IAEd,iCAAsE;IAClE,6CACJ;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,mCAA0D;IACtD,kCACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IACxB,iBAAc;IAEd,mCAA6D;IACzD,qCACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IAGxC,AADY,AADI,iBAAc,EACJ,EACnB;;;IAjFc,eAAa;IAAb,6BAAa;IAWV,eAAiB;IACjB,AADA,sCAAiB,6BACS;IAIS,cAA0B;IAA1B,+CAA0B;IAK7D,eAAmG;IAInG,AADA,AADA,AADA,AADA,yHAAmG,0EACjC,iEACT,mCAC9B,yCACM;IAIL,cAA0B;IAA1B,+CAA0B;IAKtD,eAA4F;IAI5F,AADA,AADA,AADA,AADA,kHAA4F,mEACjC,0DACT,mCACvB,yCACM;IAIL,cAA0B;IAA1B,+CAA0B;IAKtD,eAA4F;IAI5F,AADA,AADA,AADA,AADA,kHAA4F,mEACjC,0DACT,mCACvB,yCACM;IAIV,cAA0B;IAA1B,+CAA0B;IAKjD,eAAuF;IAIvF,AADA,AADA,AADA,AADA,6GAAuF,8DACjC,qDACT,mCAClB,yCACM;IAIP,cAA0B;IAA1B,+CAA0B;IAKpD,eAA0F;IAI1F,AADA,AADA,AADA,AADA,gHAA0F,iEACjC,wDACT,mCACrB,yCACM;;ADlEtD,IAAM,4BAA4B,GAAlC,MAAM,4BAA6B,SAAQ,iBAAiB;;+RAAtD,4BAA4B,SAA5B,4BAA4B;+EAA5B,4BAA4B;QCbzC,8BAAyF;QACrF,iFAAyE;QAmF7E,iBAAM;;QApFiE,AAApB,iCAAmB,kBAAkB;QAC7E,cAAY;QAAZ,iCAAY;;ADYV,4BAA4B;IANxC,aAAa,CAAC,iBAAiB,EAAE,uBAAuB,CAAC,CAAC,uCAAuC;GAMrF,4BAA4B,CAExC;;iFAFY,4BAA4B;cALxC,SAAS;2BACI,0BAA0B;;kFAI3B,4BAA4B;AAIzC,MAAM,UAAU,gCAAgC;IAC5C,mCAAmC,EAAE,CAAC;AAC1C,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BaseFormSectionComponent } from '@memberjunction/ng-base-forms';
|
|
2
|
+
import { AIConfigurationEntity } from '@memberjunction/core-entities';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AIConfigurationDetailsComponent extends BaseFormSectionComponent {
|
|
5
|
+
record: AIConfigurationEntity;
|
|
6
|
+
EditMode: boolean;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AIConfigurationDetailsComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AIConfigurationDetailsComponent, "gen-aiconfiguration-form-details", never, { "record": { "alias": "record"; "required": false; }; "EditMode": { "alias": "EditMode"; "required": false; }; }, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
10
|
+
export declare function LoadAIConfigurationDetailsComponent(): 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/AIConfiguration/sections/details.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;;AAEtE,qBAqFa,+BAAgC,SAAQ,wBAAwB;IACvD,MAAM,EAAG,qBAAqB,CAAC;IAC/B,QAAQ,EAAE,OAAO,CAAS;yCAFnC,+BAA+B;2CAA/B,+BAA+B;CAG3C;AAED,wBAAgB,mCAAmC,SAElD"}
|
|
@@ -0,0 +1,147 @@
|
|
|
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 AIConfigurationDetailsComponent_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);
|
|
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
|
+
} }
|
|
40
|
+
let AIConfigurationDetailsComponent = class AIConfigurationDetailsComponent extends BaseFormSectionComponent {
|
|
41
|
+
constructor() {
|
|
42
|
+
super(...arguments);
|
|
43
|
+
this.EditMode = false;
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
AIConfigurationDetailsComponent.ɵfac = /*@__PURE__*/ (() => { let ɵAIConfigurationDetailsComponent_BaseFactory; return function AIConfigurationDetailsComponent_Factory(t) { return (ɵAIConfigurationDetailsComponent_BaseFactory || (ɵAIConfigurationDetailsComponent_BaseFactory = i0.ɵɵgetInheritedFactory(AIConfigurationDetailsComponent)))(t || AIConfigurationDetailsComponent); }; })();
|
|
47
|
+
AIConfigurationDetailsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AIConfigurationDetailsComponent, selectors: [["gen-aiconfiguration-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", "IsDefault", "Type", "checkbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Status", "Type", "dropdownlist", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "DefaultPromptForContextCompressionID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "DefaultPromptForContextSummarizationID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "__mj_CreatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "__mj_UpdatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "DefaultPromptForContextCompression", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "DefaultPromptForContextSummarization", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"]], template: function AIConfigurationDetailsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
48
|
+
i0.ɵɵtemplate(0, AIConfigurationDetailsComponent_div_0_Template, 12, 30, "div", 0);
|
|
49
|
+
} if (rf & 2) {
|
|
50
|
+
i0.ɵɵproperty("ngIf", ctx.record);
|
|
51
|
+
} }, 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}"] });
|
|
52
|
+
AIConfigurationDetailsComponent = __decorate([
|
|
53
|
+
RegisterClass(BaseFormSectionComponent, 'MJ: AI Configurations.details') // Tell MemberJunction about this class
|
|
54
|
+
], AIConfigurationDetailsComponent);
|
|
55
|
+
export { AIConfigurationDetailsComponent };
|
|
56
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AIConfigurationDetailsComponent, [{
|
|
57
|
+
type: Component,
|
|
58
|
+
args: [{ selector: 'gen-aiconfiguration-form-details', template: `<div *ngIf="this.record">
|
|
59
|
+
<div class="record-form">
|
|
60
|
+
<mj-form-field
|
|
61
|
+
[record]="record"
|
|
62
|
+
[ShowLabel]="true"
|
|
63
|
+
FieldName="Name"
|
|
64
|
+
Type="textbox"
|
|
65
|
+
[EditMode]="EditMode"
|
|
66
|
+
></mj-form-field>
|
|
67
|
+
<mj-form-field
|
|
68
|
+
[record]="record"
|
|
69
|
+
[ShowLabel]="true"
|
|
70
|
+
FieldName="Description"
|
|
71
|
+
Type="textarea"
|
|
72
|
+
[EditMode]="EditMode"
|
|
73
|
+
></mj-form-field>
|
|
74
|
+
<mj-form-field
|
|
75
|
+
[record]="record"
|
|
76
|
+
[ShowLabel]="true"
|
|
77
|
+
FieldName="IsDefault"
|
|
78
|
+
Type="checkbox"
|
|
79
|
+
[EditMode]="EditMode"
|
|
80
|
+
></mj-form-field>
|
|
81
|
+
<mj-form-field
|
|
82
|
+
[record]="record"
|
|
83
|
+
[ShowLabel]="true"
|
|
84
|
+
FieldName="Status"
|
|
85
|
+
Type="dropdownlist"
|
|
86
|
+
[EditMode]="EditMode"
|
|
87
|
+
></mj-form-field>
|
|
88
|
+
<mj-form-field
|
|
89
|
+
[record]="record"
|
|
90
|
+
[ShowLabel]="true"
|
|
91
|
+
FieldName="DefaultPromptForContextCompressionID"
|
|
92
|
+
Type="textbox"
|
|
93
|
+
[EditMode]="EditMode"
|
|
94
|
+
LinkType="Record"
|
|
95
|
+
LinkComponentType="Search"
|
|
96
|
+
></mj-form-field>
|
|
97
|
+
<mj-form-field
|
|
98
|
+
[record]="record"
|
|
99
|
+
[ShowLabel]="true"
|
|
100
|
+
FieldName="DefaultPromptForContextSummarizationID"
|
|
101
|
+
Type="textbox"
|
|
102
|
+
[EditMode]="EditMode"
|
|
103
|
+
LinkType="Record"
|
|
104
|
+
LinkComponentType="Search"
|
|
105
|
+
></mj-form-field>
|
|
106
|
+
<mj-form-field
|
|
107
|
+
[record]="record"
|
|
108
|
+
[ShowLabel]="true"
|
|
109
|
+
FieldName="__mj_CreatedAt"
|
|
110
|
+
Type="textbox"
|
|
111
|
+
[EditMode]="EditMode"
|
|
112
|
+
></mj-form-field>
|
|
113
|
+
<mj-form-field
|
|
114
|
+
[record]="record"
|
|
115
|
+
[ShowLabel]="true"
|
|
116
|
+
FieldName="__mj_UpdatedAt"
|
|
117
|
+
Type="textbox"
|
|
118
|
+
[EditMode]="EditMode"
|
|
119
|
+
></mj-form-field>
|
|
120
|
+
<mj-form-field
|
|
121
|
+
[record]="record"
|
|
122
|
+
[ShowLabel]="true"
|
|
123
|
+
FieldName="DefaultPromptForContextCompression"
|
|
124
|
+
Type="textbox"
|
|
125
|
+
[EditMode]="EditMode"
|
|
126
|
+
></mj-form-field>
|
|
127
|
+
<mj-form-field
|
|
128
|
+
[record]="record"
|
|
129
|
+
[ShowLabel]="true"
|
|
130
|
+
FieldName="DefaultPromptForContextSummarization"
|
|
131
|
+
Type="textbox"
|
|
132
|
+
[EditMode]="EditMode"
|
|
133
|
+
></mj-form-field>
|
|
134
|
+
|
|
135
|
+
</div>
|
|
136
|
+
</div>
|
|
137
|
+
`, 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"] }]
|
|
138
|
+
}], null, { record: [{
|
|
139
|
+
type: Input
|
|
140
|
+
}], EditMode: [{
|
|
141
|
+
type: Input
|
|
142
|
+
}] }); })();
|
|
143
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AIConfigurationDetailsComponent, { className: "AIConfigurationDetailsComponent", filePath: "src/lib/generated/Entities/AIConfiguration/sections/details.component.ts", lineNumber: 91 }); })();
|
|
144
|
+
export function LoadAIConfigurationDetailsComponent() {
|
|
145
|
+
// does nothing, but called in order to prevent tree-shaking from eliminating this component from the build
|
|
146
|
+
}
|
|
147
|
+
//# sourceMappingURL=details.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"details.component.js","sourceRoot":"","sources":["../../../../../../src/lib/generated/Entities/AIConfiguration/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;IAoErB,AAPA,AAPA,AAPA,AATA,AATA,AAPA,AAPA,AAPA,AAPA,mCAMiB,uBAOA,uBAOA,uBAOA,uBASA,uBASA,uBAOA,uBAOA,yBAOA,yBAOA;IAGzB,AADI,iBAAM,EACJ;;;IA3EM,eAAiB;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;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;;AAO1B,IAAM,+BAA+B,GAArC,MAAM,+BAAgC,SAAQ,wBAAwB;IAAtE;;QAEe,aAAQ,GAAY,KAAK,CAAC;KAC/C;;8SAHY,+BAA+B,SAA/B,+BAA+B;kFAA/B,+BAA+B;QAjF7B,kFAAyB;;QAAnB,iCAAiB;;AAiFzB,+BAA+B;IArF3C,aAAa,CAAC,wBAAwB,EAAE,+BAA+B,CAAC,CAAC,wCAAwC;GAqFrG,+BAA+B,CAG3C;;iFAHY,+BAA+B;cApF3C,SAAS;2BACI,kCAAkC,YAElC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA+ET;gBAGiB,MAAM;kBAAvB,KAAK;YACY,QAAQ;kBAAzB,KAAK;;kFAFG,+BAA+B;AAK5C,MAAM,UAAU,mCAAmC;IAC/C,2GAA2G;AAC/G,CAAC"}
|
package/dist/lib/generated/Entities/AIConfigurationParam/aiconfigurationparam.form.component.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AIConfigurationParamEntity } from '@memberjunction/core-entities';
|
|
2
|
+
import { BaseFormComponent } from '@memberjunction/ng-base-forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AIConfigurationParamFormComponent extends BaseFormComponent {
|
|
5
|
+
record: AIConfigurationParamEntity;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AIConfigurationParamFormComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AIConfigurationParamFormComponent, "gen-aiconfigurationparam-form", never, {}, {}, never, never, false, never>;
|
|
8
|
+
}
|
|
9
|
+
export declare function LoadAIConfigurationParamFormComponent(): void;
|
|
10
|
+
//# sourceMappingURL=aiconfigurationparam.form.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aiconfigurationparam.form.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/AIConfigurationParam/aiconfigurationparam.form.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,0BAA0B,EAAE,MAAM,+BAA+B,CAAC;AAE3E,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAGlE,qBAMa,iCAAkC,SAAQ,iBAAiB;IAC7D,MAAM,EAAG,0BAA0B,CAAC;yCADlC,iCAAiC;2CAAjC,iCAAiC;CAE7C;AAED,wBAAgB,qCAAqC,SAEpD"}
|
package/dist/lib/generated/Entities/AIConfigurationParam/aiconfigurationparam.form.component.js
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
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 { LoadAIConfigurationParamDetailsComponent } 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-base-forms";
|
|
15
|
+
import * as i4 from "@memberjunction/ng-form-toolbar";
|
|
16
|
+
import * as i5 from "@memberjunction/ng-tabstrip";
|
|
17
|
+
import * as i6 from "@memberjunction/ng-container-directives";
|
|
18
|
+
function AIConfigurationParamFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
19
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
20
|
+
i0.ɵɵelementStart(0, "form", 3, 0);
|
|
21
|
+
i0.ɵɵelement(2, "mj-form-toolbar", 4);
|
|
22
|
+
i0.ɵɵelementStart(3, "mj-tabstrip", 5);
|
|
23
|
+
i0.ɵɵlistener("TabSelected", function AIConfigurationParamFormComponent_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 AIConfigurationParamFormComponent_form_1_Template_mj_tabstrip_ResizeContainer_3_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.InvokeManualResize()); });
|
|
24
|
+
i0.ɵɵelementStart(4, "mj-tab", 6);
|
|
25
|
+
i0.ɵɵtext(5, " Details ");
|
|
26
|
+
i0.ɵɵelementEnd();
|
|
27
|
+
i0.ɵɵelementStart(6, "mj-tab-body");
|
|
28
|
+
i0.ɵɵelement(7, "mj-form-section", 7);
|
|
29
|
+
i0.ɵɵelementEnd()()();
|
|
30
|
+
} if (rf & 2) {
|
|
31
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
32
|
+
i0.ɵɵadvance(2);
|
|
33
|
+
i0.ɵɵproperty("form", ctx_r1);
|
|
34
|
+
i0.ɵɵadvance(5);
|
|
35
|
+
i0.ɵɵproperty("record", ctx_r1.record)("EditMode", ctx_r1.EditMode);
|
|
36
|
+
} }
|
|
37
|
+
let AIConfigurationParamFormComponent = class AIConfigurationParamFormComponent extends BaseFormComponent {
|
|
38
|
+
};
|
|
39
|
+
AIConfigurationParamFormComponent.ɵfac = /*@__PURE__*/ (() => { let ɵAIConfigurationParamFormComponent_BaseFactory; return function AIConfigurationParamFormComponent_Factory(t) { return (ɵAIConfigurationParamFormComponent_BaseFactory || (ɵAIConfigurationParamFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(AIConfigurationParamFormComponent)))(t || AIConfigurationParamFormComponent); }; })();
|
|
40
|
+
AIConfigurationParamFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AIConfigurationParamFormComponent, selectors: [["gen-aiconfigurationparam-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 Configuration Params", "Section", "details", 3, "record", "EditMode"]], template: function AIConfigurationParamFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
41
|
+
i0.ɵɵelementStart(0, "div", 1);
|
|
42
|
+
i0.ɵɵtemplate(1, AIConfigurationParamFormComponent_form_1_Template, 8, 3, "form", 2);
|
|
43
|
+
i0.ɵɵelementEnd();
|
|
44
|
+
} if (rf & 2) {
|
|
45
|
+
i0.ɵɵproperty("bottomMargin", 20)("rightMargin", 5);
|
|
46
|
+
i0.ɵɵadvance();
|
|
47
|
+
i0.ɵɵproperty("ngIf", ctx.record);
|
|
48
|
+
} }, dependencies: [i1.NgIf, i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.SectionLoaderComponent, i4.FormToolbarComponent, i5.MJTabStripComponent, i5.MJTabBodyComponent, i5.MJTabComponent, i6.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}"] });
|
|
49
|
+
AIConfigurationParamFormComponent = __decorate([
|
|
50
|
+
RegisterClass(BaseFormComponent, 'MJ: AI Configuration Params') // Tell MemberJunction about this class
|
|
51
|
+
], AIConfigurationParamFormComponent);
|
|
52
|
+
export { AIConfigurationParamFormComponent };
|
|
53
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AIConfigurationParamFormComponent, [{
|
|
54
|
+
type: Component,
|
|
55
|
+
args: [{ selector: 'gen-aiconfigurationparam-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 Configuration Params\" \n Section=\"details\" \n [record]=\"record\" \n [EditMode]=\"this.EditMode\">\n </mj-form-section>\n </mj-tab-body>\n \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"] }]
|
|
56
|
+
}], null, null); })();
|
|
57
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AIConfigurationParamFormComponent, { className: "AIConfigurationParamFormComponent", filePath: "src/lib/generated/Entities/AIConfigurationParam/aiconfigurationparam.form.component.ts", lineNumber: 13 }); })();
|
|
58
|
+
export function LoadAIConfigurationParamFormComponent() {
|
|
59
|
+
LoadAIConfigurationParamDetailsComponent();
|
|
60
|
+
}
|
|
61
|
+
//# sourceMappingURL=aiconfigurationparam.form.component.js.map
|
package/dist/lib/generated/Entities/AIConfigurationParam/aiconfigurationparam.form.component.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aiconfigurationparam.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/AIConfigurationParam/aiconfigurationparam.form.component.ts","../../../../../src/lib/generated/Entities/AIConfigurationParam/aiconfigurationparam.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,wCAAwC,EAAE,MAAM,8BAA8B,CAAA;;;;;;;;;;ICHnF,kCAAyE;IACrE,qCAAiD;IAEzC,sCAA0G;IAAzC,AAApD,qNAAe,0BAAmB,KAAC,0MAAoC,2BAAoB,KAAC;IAErG,iCAAuB;IACnB,yBACJ;IAAA,iBAAS;IACT,mCAAa;IACT,qCAKkB;IAItC,AADY,AAFI,iBAAc,EAEJ,EACnB;;;IAjBc,eAAa;IAAb,6BAAa;IAWV,eAAiB;IACjB,AADA,sCAAiB,6BACS;;ADF/C,IAAM,iCAAiC,GAAvC,MAAM,iCAAkC,SAAQ,iBAAiB;;wTAA3D,iCAAiC,SAAjC,iCAAiC;oFAAjC,iCAAiC;QCZ9C,8BAAyF;QACrF,oFAAyE;QAmB7E,iBAAM;;QApBiE,AAApB,iCAAmB,kBAAkB;QAC7E,cAAY;QAAZ,iCAAY;;ADWV,iCAAiC;IAN7C,aAAa,CAAC,iBAAiB,EAAE,6BAA6B,CAAC,CAAC,uCAAuC;GAM3F,iCAAiC,CAE7C;;iFAFY,iCAAiC;cAL7C,SAAS;2BACI,+BAA+B;;kFAIhC,iCAAiC;AAI9C,MAAM,UAAU,qCAAqC;IACjD,wCAAwC,EAAE,CAAC;AAC/C,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BaseFormSectionComponent } from '@memberjunction/ng-base-forms';
|
|
2
|
+
import { AIConfigurationParamEntity } from '@memberjunction/core-entities';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AIConfigurationParamDetailsComponent extends BaseFormSectionComponent {
|
|
5
|
+
record: AIConfigurationParamEntity;
|
|
6
|
+
EditMode: boolean;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AIConfigurationParamDetailsComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AIConfigurationParamDetailsComponent, "gen-aiconfigurationparam-form-details", never, { "record": { "alias": "record"; "required": false; }; "EditMode": { "alias": "EditMode"; "required": false; }; }, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
10
|
+
export declare function LoadAIConfigurationParamDetailsComponent(): 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/AIConfigurationParam/sections/details.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,0BAA0B,EAAE,MAAM,+BAA+B,CAAC;;AAE3E,qBAqEa,oCAAqC,SAAQ,wBAAwB;IAC5D,MAAM,EAAG,0BAA0B,CAAC;IACpC,QAAQ,EAAE,OAAO,CAAS;yCAFnC,oCAAoC;2CAApC,oCAAoC;CAGhD;AAED,wBAAgB,wCAAwC,SAEvD"}
|
|
@@ -0,0 +1,127 @@
|
|
|
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 AIConfigurationParamDetailsComponent_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);
|
|
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
|
+
} }
|
|
36
|
+
let AIConfigurationParamDetailsComponent = class AIConfigurationParamDetailsComponent extends BaseFormSectionComponent {
|
|
37
|
+
constructor() {
|
|
38
|
+
super(...arguments);
|
|
39
|
+
this.EditMode = false;
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
AIConfigurationParamDetailsComponent.ɵfac = /*@__PURE__*/ (() => { let ɵAIConfigurationParamDetailsComponent_BaseFactory; return function AIConfigurationParamDetailsComponent_Factory(t) { return (ɵAIConfigurationParamDetailsComponent_BaseFactory || (ɵAIConfigurationParamDetailsComponent_BaseFactory = i0.ɵɵgetInheritedFactory(AIConfigurationParamDetailsComponent)))(t || AIConfigurationParamDetailsComponent); }; })();
|
|
43
|
+
AIConfigurationParamDetailsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AIConfigurationParamDetailsComponent, selectors: [["gen-aiconfigurationparam-form-details"]], inputs: { record: "record", EditMode: "EditMode" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "record-form"], ["FieldName", "ConfigurationID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Name", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Type", "Type", "dropdownlist", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Value", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Description", "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", "Configuration", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"]], template: function AIConfigurationParamDetailsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
44
|
+
i0.ɵɵtemplate(0, AIConfigurationParamDetailsComponent_div_0_Template, 10, 24, "div", 0);
|
|
45
|
+
} if (rf & 2) {
|
|
46
|
+
i0.ɵɵproperty("ngIf", ctx.record);
|
|
47
|
+
} }, 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}"] });
|
|
48
|
+
AIConfigurationParamDetailsComponent = __decorate([
|
|
49
|
+
RegisterClass(BaseFormSectionComponent, 'MJ: AI Configuration Params.details') // Tell MemberJunction about this class
|
|
50
|
+
], AIConfigurationParamDetailsComponent);
|
|
51
|
+
export { AIConfigurationParamDetailsComponent };
|
|
52
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AIConfigurationParamDetailsComponent, [{
|
|
53
|
+
type: Component,
|
|
54
|
+
args: [{ selector: 'gen-aiconfigurationparam-form-details', template: `<div *ngIf="this.record">
|
|
55
|
+
<div class="record-form">
|
|
56
|
+
<mj-form-field
|
|
57
|
+
[record]="record"
|
|
58
|
+
[ShowLabel]="true"
|
|
59
|
+
FieldName="ConfigurationID"
|
|
60
|
+
Type="textbox"
|
|
61
|
+
[EditMode]="EditMode"
|
|
62
|
+
LinkType="Record"
|
|
63
|
+
LinkComponentType="Search"
|
|
64
|
+
></mj-form-field>
|
|
65
|
+
<mj-form-field
|
|
66
|
+
[record]="record"
|
|
67
|
+
[ShowLabel]="true"
|
|
68
|
+
FieldName="Name"
|
|
69
|
+
Type="textbox"
|
|
70
|
+
[EditMode]="EditMode"
|
|
71
|
+
></mj-form-field>
|
|
72
|
+
<mj-form-field
|
|
73
|
+
[record]="record"
|
|
74
|
+
[ShowLabel]="true"
|
|
75
|
+
FieldName="Type"
|
|
76
|
+
Type="dropdownlist"
|
|
77
|
+
[EditMode]="EditMode"
|
|
78
|
+
></mj-form-field>
|
|
79
|
+
<mj-form-field
|
|
80
|
+
[record]="record"
|
|
81
|
+
[ShowLabel]="true"
|
|
82
|
+
FieldName="Value"
|
|
83
|
+
Type="textarea"
|
|
84
|
+
[EditMode]="EditMode"
|
|
85
|
+
></mj-form-field>
|
|
86
|
+
<mj-form-field
|
|
87
|
+
[record]="record"
|
|
88
|
+
[ShowLabel]="true"
|
|
89
|
+
FieldName="Description"
|
|
90
|
+
Type="textarea"
|
|
91
|
+
[EditMode]="EditMode"
|
|
92
|
+
></mj-form-field>
|
|
93
|
+
<mj-form-field
|
|
94
|
+
[record]="record"
|
|
95
|
+
[ShowLabel]="true"
|
|
96
|
+
FieldName="__mj_CreatedAt"
|
|
97
|
+
Type="textbox"
|
|
98
|
+
[EditMode]="EditMode"
|
|
99
|
+
></mj-form-field>
|
|
100
|
+
<mj-form-field
|
|
101
|
+
[record]="record"
|
|
102
|
+
[ShowLabel]="true"
|
|
103
|
+
FieldName="__mj_UpdatedAt"
|
|
104
|
+
Type="textbox"
|
|
105
|
+
[EditMode]="EditMode"
|
|
106
|
+
></mj-form-field>
|
|
107
|
+
<mj-form-field
|
|
108
|
+
[record]="record"
|
|
109
|
+
[ShowLabel]="true"
|
|
110
|
+
FieldName="Configuration"
|
|
111
|
+
Type="textbox"
|
|
112
|
+
[EditMode]="EditMode"
|
|
113
|
+
></mj-form-field>
|
|
114
|
+
|
|
115
|
+
</div>
|
|
116
|
+
</div>
|
|
117
|
+
`, 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"] }]
|
|
118
|
+
}], null, { record: [{
|
|
119
|
+
type: Input
|
|
120
|
+
}], EditMode: [{
|
|
121
|
+
type: Input
|
|
122
|
+
}] }); })();
|
|
123
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AIConfigurationParamDetailsComponent, { className: "AIConfigurationParamDetailsComponent", filePath: "src/lib/generated/Entities/AIConfigurationParam/sections/details.component.ts", lineNumber: 75 }); })();
|
|
124
|
+
export function LoadAIConfigurationParamDetailsComponent() {
|
|
125
|
+
// does nothing, but called in order to prevent tree-shaking from eliminating this component from the build
|
|
126
|
+
}
|
|
127
|
+
//# sourceMappingURL=details.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"details.component.js","sourceRoot":"","sources":["../../../../../../src/lib/generated/Entities/AIConfigurationParam/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;IAoDrB,AAPA,AAPA,AAPA,AAPA,AAPA,AAPA,AATA,mCAQiB,uBAOA,uBAOA,uBAOA,uBAOA,uBAOA,uBAOA,uBAOA;IAGzB,AADI,iBAAM,EACJ;;;IA3DM,eAAiB;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;;AAO1B,IAAM,oCAAoC,GAA1C,MAAM,oCAAqC,SAAQ,wBAAwB;IAA3E;;QAEe,aAAQ,GAAY,KAAK,CAAC;KAC/C;;uUAHY,oCAAoC,SAApC,oCAAoC;uFAApC,oCAAoC;QAjElC,uFAAyB;;QAAnB,iCAAiB;;AAiEzB,oCAAoC;IArEhD,aAAa,CAAC,wBAAwB,EAAE,qCAAqC,CAAC,CAAC,wCAAwC;GAqE3G,oCAAoC,CAGhD;;iFAHY,oCAAoC;cApEhD,SAAS;2BACI,uCAAuC,YAEvC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA+DT;gBAGiB,MAAM;kBAAvB,KAAK;YACY,QAAQ;kBAAzB,KAAK;;kFAFG,oCAAoC;AAKjD,MAAM,UAAU,wCAAwC;IACpD,2GAA2G;AAC/G,CAAC"}
|