@memberjunction/ng-core-entity-forms 2.129.0 → 2.130.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/custom/Tests/entity-link-pill.component.d.ts +44 -0
- package/dist/lib/custom/Tests/entity-link-pill.component.d.ts.map +1 -0
- package/dist/lib/custom/Tests/entity-link-pill.component.js +124 -0
- package/dist/lib/custom/Tests/entity-link-pill.component.js.map +1 -0
- package/dist/lib/custom/Tests/test-form.component.d.ts +96 -9
- package/dist/lib/custom/Tests/test-form.component.d.ts.map +1 -1
- package/dist/lib/custom/Tests/test-form.component.js +1529 -277
- package/dist/lib/custom/Tests/test-form.component.js.map +1 -1
- package/dist/lib/custom/Tests/test-run-form.component.d.ts +50 -9
- package/dist/lib/custom/Tests/test-run-form.component.d.ts.map +1 -1
- package/dist/lib/custom/Tests/test-run-form.component.js +1079 -426
- package/dist/lib/custom/Tests/test-run-form.component.js.map +1 -1
- package/dist/lib/custom/Tests/test-suite-form.component.d.ts +228 -5
- package/dist/lib/custom/Tests/test-suite-form.component.d.ts.map +1 -1
- package/dist/lib/custom/Tests/test-suite-form.component.js +3309 -201
- package/dist/lib/custom/Tests/test-suite-form.component.js.map +1 -1
- package/dist/lib/custom/Tests/test-suite-run-form.component.d.ts +88 -3
- package/dist/lib/custom/Tests/test-suite-run-form.component.d.ts.map +1 -1
- package/dist/lib/custom/Tests/test-suite-run-form.component.js +1976 -262
- package/dist/lib/custom/Tests/test-suite-run-form.component.js.map +1 -1
- package/dist/lib/custom/ai-agent-run/ai-agent-run.component.d.ts +9 -2
- package/dist/lib/custom/ai-agent-run/ai-agent-run.component.d.ts.map +1 -1
- package/dist/lib/custom/ai-agent-run/ai-agent-run.component.js +275 -244
- package/dist/lib/custom/ai-agent-run/ai-agent-run.component.js.map +1 -1
- package/dist/lib/custom/custom-forms.module.d.ts +27 -26
- package/dist/lib/custom/custom-forms.module.d.ts.map +1 -1
- package/dist/lib/custom/custom-forms.module.js +9 -3
- package/dist/lib/custom/custom-forms.module.js.map +1 -1
- package/dist/lib/generated/Entities/AIAgent/aiagent.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/AIAgent/aiagent.form.component.js +154 -122
- package/dist/lib/generated/Entities/AIAgent/aiagent.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIAgentModality/aiagentmodality.form.component.d.ts +11 -0
- package/dist/lib/generated/Entities/AIAgentModality/aiagentmodality.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIAgentModality/aiagentmodality.form.component.js +75 -0
- package/dist/lib/generated/Entities/AIAgentModality/aiagentmodality.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/AIArchitecture/aiarchitecture.form.component.d.ts +11 -0
- package/dist/lib/generated/Entities/AIArchitecture/aiarchitecture.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIArchitecture/aiarchitecture.form.component.js +121 -0
- package/dist/lib/generated/Entities/AIArchitecture/aiarchitecture.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/AIConfiguration/aiconfiguration.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/AIConfiguration/aiconfiguration.form.component.js +77 -41
- package/dist/lib/generated/Entities/AIConfiguration/aiconfiguration.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIModality/aimodality.form.component.d.ts +11 -0
- package/dist/lib/generated/Entities/AIModality/aimodality.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIModality/aimodality.form.component.js +167 -0
- package/dist/lib/generated/Entities/AIModality/aimodality.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/AIModel/aimodel.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/AIModel/aimodel.form.component.js +160 -102
- package/dist/lib/generated/Entities/AIModel/aimodel.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIModelArchitecture/aimodelarchitecture.form.component.d.ts +11 -0
- package/dist/lib/generated/Entities/AIModelArchitecture/aimodelarchitecture.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIModelArchitecture/aimodelarchitecture.form.component.js +73 -0
- package/dist/lib/generated/Entities/AIModelArchitecture/aimodelarchitecture.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/AIModelModality/aimodelmodality.form.component.d.ts +11 -0
- package/dist/lib/generated/Entities/AIModelModality/aimodelmodality.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIModelModality/aimodelmodality.form.component.js +89 -0
- package/dist/lib/generated/Entities/AIModelModality/aimodelmodality.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/AIModelType/aimodeltype.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/AIModelType/aimodeltype.form.component.js +27 -13
- package/dist/lib/generated/Entities/AIModelType/aimodeltype.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/ConversationDetail/conversationdetail.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/ConversationDetail/conversationdetail.form.component.js +39 -21
- package/dist/lib/generated/Entities/ConversationDetail/conversationdetail.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/ConversationDetailAttachment/conversationdetailattachment.form.component.d.ts +11 -0
- package/dist/lib/generated/Entities/ConversationDetailAttachment/conversationdetailattachment.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/ConversationDetailAttachment/conversationdetailattachment.form.component.js +95 -0
- package/dist/lib/generated/Entities/ConversationDetailAttachment/conversationdetailattachment.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/Entity/entity.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/Entity/entity.form.component.js +61 -43
- package/dist/lib/generated/Entities/Entity/entity.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/File/file.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/File/file.form.component.js +22 -4
- package/dist/lib/generated/Entities/File/file.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/FileStorageProvider/filestorageprovider.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/FileStorageProvider/filestorageprovider.form.component.js +40 -4
- package/dist/lib/generated/Entities/FileStorageProvider/filestorageprovider.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/Test/test.form.component.js +17 -15
- package/dist/lib/generated/Entities/Test/test.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/TestRun/testrun.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/TestRun/testrun.form.component.js +55 -43
- package/dist/lib/generated/Entities/TestRun/testrun.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/TestRunFeedback/testrunfeedback.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/TestRunFeedback/testrunfeedback.form.component.js +9 -15
- package/dist/lib/generated/Entities/TestRunFeedback/testrunfeedback.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/TestSuite/testsuite.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/TestSuite/testsuite.form.component.js +39 -19
- package/dist/lib/generated/Entities/TestSuite/testsuite.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/TestSuiteRun/testsuiterun.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/TestSuiteRun/testsuiterun.form.component.js +40 -16
- package/dist/lib/generated/Entities/TestSuiteRun/testsuiterun.form.component.js.map +1 -1
- package/dist/lib/generated/generated-forms.module.d.ts +145 -134
- package/dist/lib/generated/generated-forms.module.d.ts.map +1 -1
- package/dist/lib/generated/generated-forms.module.js +168 -87
- package/dist/lib/generated/generated-forms.module.js.map +1 -1
- package/package.json +28 -27
|
@@ -12,82 +12,93 @@ import * as i1 from "@angular/common";
|
|
|
12
12
|
import * as i2 from "@memberjunction/ng-user-view-grid";
|
|
13
13
|
import * as i3 from "@memberjunction/ng-base-forms";
|
|
14
14
|
import * as i4 from "@memberjunction/ng-form-toolbar";
|
|
15
|
-
function
|
|
15
|
+
function AIConfigurationFormComponent_div_22_Template(rf, ctx) { if (rf & 1) {
|
|
16
16
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
17
|
-
i0.ɵɵelementStart(0, "div")(1, "mj-user-view-grid",
|
|
18
|
-
i0.ɵɵlistener("dataLoaded", function
|
|
17
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-user-view-grid", 30);
|
|
18
|
+
i0.ɵɵlistener("dataLoaded", function AIConfigurationFormComponent_div_22_Template_mj_user_view_grid_dataLoaded_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJAIAgentConfigurations", $event.totalRowCount)); });
|
|
19
19
|
i0.ɵɵelementEnd()();
|
|
20
20
|
} if (rf & 2) {
|
|
21
21
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
22
22
|
i0.ɵɵadvance();
|
|
23
23
|
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: AI Agent Configurations", "AIConfigurationID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: AI Agent Configurations"))("AllowLoad", ctx_r1.IsSectionExpanded("mJAIAgentConfigurations"))("EditMode", ctx_r1.GridEditMode());
|
|
24
24
|
} }
|
|
25
|
-
function
|
|
25
|
+
function AIConfigurationFormComponent_div_24_Template(rf, ctx) { if (rf & 1) {
|
|
26
26
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
27
|
-
i0.ɵɵelementStart(0, "div")(1, "mj-user-view-grid",
|
|
28
|
-
i0.ɵɵlistener("dataLoaded", function
|
|
27
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-user-view-grid", 30);
|
|
28
|
+
i0.ɵɵlistener("dataLoaded", function AIConfigurationFormComponent_div_24_Template_mj_user_view_grid_dataLoaded_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJAIAgentPrompts", $event.totalRowCount)); });
|
|
29
29
|
i0.ɵɵelementEnd()();
|
|
30
30
|
} if (rf & 2) {
|
|
31
31
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
32
32
|
i0.ɵɵadvance();
|
|
33
33
|
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: AI Agent Prompts", "ConfigurationID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: AI Agent Prompts"))("AllowLoad", ctx_r1.IsSectionExpanded("mJAIAgentPrompts"))("EditMode", ctx_r1.GridEditMode());
|
|
34
34
|
} }
|
|
35
|
-
function
|
|
35
|
+
function AIConfigurationFormComponent_div_26_Template(rf, ctx) { if (rf & 1) {
|
|
36
36
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
37
|
-
i0.ɵɵelementStart(0, "div")(1, "mj-user-view-grid",
|
|
38
|
-
i0.ɵɵlistener("dataLoaded", function
|
|
37
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-user-view-grid", 30);
|
|
38
|
+
i0.ɵɵlistener("dataLoaded", function AIConfigurationFormComponent_div_26_Template_mj_user_view_grid_dataLoaded_1_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJAIConfigurationParams", $event.totalRowCount)); });
|
|
39
39
|
i0.ɵɵelementEnd()();
|
|
40
40
|
} if (rf & 2) {
|
|
41
41
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
42
42
|
i0.ɵɵadvance();
|
|
43
43
|
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: AI Configuration Params", "ConfigurationID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: AI Configuration Params"))("AllowLoad", ctx_r1.IsSectionExpanded("mJAIConfigurationParams"))("EditMode", ctx_r1.GridEditMode());
|
|
44
44
|
} }
|
|
45
|
-
function
|
|
45
|
+
function AIConfigurationFormComponent_div_28_Template(rf, ctx) { if (rf & 1) {
|
|
46
46
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
47
|
-
i0.ɵɵelementStart(0, "div")(1, "mj-user-view-grid",
|
|
48
|
-
i0.ɵɵlistener("dataLoaded", function
|
|
47
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-user-view-grid", 30);
|
|
48
|
+
i0.ɵɵlistener("dataLoaded", function AIConfigurationFormComponent_div_28_Template_mj_user_view_grid_dataLoaded_1_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("aIResultCache", $event.totalRowCount)); });
|
|
49
49
|
i0.ɵɵelementEnd()();
|
|
50
50
|
} if (rf & 2) {
|
|
51
51
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
52
52
|
i0.ɵɵadvance();
|
|
53
53
|
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("AI Result Cache", "ConfigurationID"))("NewRecordValues", ctx_r1.NewRecordValues("AI Result Cache"))("AllowLoad", ctx_r1.IsSectionExpanded("aIResultCache"))("EditMode", ctx_r1.GridEditMode());
|
|
54
54
|
} }
|
|
55
|
-
function
|
|
55
|
+
function AIConfigurationFormComponent_div_30_Template(rf, ctx) { if (rf & 1) {
|
|
56
56
|
const _r6 = i0.ɵɵgetCurrentView();
|
|
57
|
-
i0.ɵɵelementStart(0, "div")(1, "mj-user-view-grid",
|
|
58
|
-
i0.ɵɵlistener("dataLoaded", function
|
|
57
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-user-view-grid", 30);
|
|
58
|
+
i0.ɵɵlistener("dataLoaded", function AIConfigurationFormComponent_div_30_Template_mj_user_view_grid_dataLoaded_1_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJAIPromptModels", $event.totalRowCount)); });
|
|
59
59
|
i0.ɵɵelementEnd()();
|
|
60
60
|
} if (rf & 2) {
|
|
61
61
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
62
62
|
i0.ɵɵadvance();
|
|
63
63
|
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: AI Prompt Models", "ConfigurationID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: AI Prompt Models"))("AllowLoad", ctx_r1.IsSectionExpanded("mJAIPromptModels"))("EditMode", ctx_r1.GridEditMode());
|
|
64
64
|
} }
|
|
65
|
-
function
|
|
65
|
+
function AIConfigurationFormComponent_div_32_Template(rf, ctx) { if (rf & 1) {
|
|
66
66
|
const _r7 = i0.ɵɵgetCurrentView();
|
|
67
|
-
i0.ɵɵelementStart(0, "div")(1, "mj-user-view-grid",
|
|
68
|
-
i0.ɵɵlistener("dataLoaded", function
|
|
67
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-user-view-grid", 30);
|
|
68
|
+
i0.ɵɵlistener("dataLoaded", function AIConfigurationFormComponent_div_32_Template_mj_user_view_grid_dataLoaded_1_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJAIPromptRuns", $event.totalRowCount)); });
|
|
69
69
|
i0.ɵɵelementEnd()();
|
|
70
70
|
} if (rf & 2) {
|
|
71
71
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
72
72
|
i0.ɵɵadvance();
|
|
73
73
|
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: AI Prompt Runs", "ConfigurationID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: AI Prompt Runs"))("AllowLoad", ctx_r1.IsSectionExpanded("mJAIPromptRuns"))("EditMode", ctx_r1.GridEditMode());
|
|
74
74
|
} }
|
|
75
|
-
function
|
|
75
|
+
function AIConfigurationFormComponent_div_34_Template(rf, ctx) { if (rf & 1) {
|
|
76
76
|
const _r8 = i0.ɵɵgetCurrentView();
|
|
77
|
-
i0.ɵɵelementStart(0, "div")(1, "mj-user-view-grid",
|
|
78
|
-
i0.ɵɵlistener("dataLoaded", function
|
|
77
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-user-view-grid", 30);
|
|
78
|
+
i0.ɵɵlistener("dataLoaded", function AIConfigurationFormComponent_div_34_Template_mj_user_view_grid_dataLoaded_1_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJAIAgentRuns", $event.totalRowCount)); });
|
|
79
79
|
i0.ɵɵelementEnd()();
|
|
80
80
|
} if (rf & 2) {
|
|
81
81
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
82
82
|
i0.ɵɵadvance();
|
|
83
83
|
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: AI Agent Runs", "ConfigurationID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: AI Agent Runs"))("AllowLoad", ctx_r1.IsSectionExpanded("mJAIAgentRuns"))("EditMode", ctx_r1.GridEditMode());
|
|
84
84
|
} }
|
|
85
|
+
function AIConfigurationFormComponent_div_36_Template(rf, ctx) { if (rf & 1) {
|
|
86
|
+
const _r9 = i0.ɵɵgetCurrentView();
|
|
87
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-user-view-grid", 30);
|
|
88
|
+
i0.ɵɵlistener("dataLoaded", function AIConfigurationFormComponent_div_36_Template_mj_user_view_grid_dataLoaded_1_listener($event) { i0.ɵɵrestoreView(_r9); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJAIConfigurations", $event.totalRowCount)); });
|
|
89
|
+
i0.ɵɵelementEnd()();
|
|
90
|
+
} if (rf & 2) {
|
|
91
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
92
|
+
i0.ɵɵadvance();
|
|
93
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: AI Configurations", "ParentID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: AI Configurations"))("AllowLoad", ctx_r1.IsSectionExpanded("mJAIConfigurations"))("EditMode", ctx_r1.GridEditMode());
|
|
94
|
+
} }
|
|
85
95
|
let AIConfigurationFormComponent = class AIConfigurationFormComponent extends BaseFormComponent {
|
|
86
96
|
async ngOnInit() {
|
|
87
97
|
await super.ngOnInit();
|
|
88
98
|
this.initSections([
|
|
89
99
|
{ sectionKey: 'basicInformation', sectionName: 'Basic Information', isExpanded: true },
|
|
90
100
|
{ sectionKey: 'configurationSettings', sectionName: 'Configuration Settings', isExpanded: true },
|
|
101
|
+
{ sectionKey: 'inheritanceSettings', sectionName: 'Inheritance Settings', isExpanded: false },
|
|
91
102
|
{ sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },
|
|
92
103
|
{ sectionKey: 'mJAIAgentConfigurations', sectionName: 'MJ: AI Agent Configurations', isExpanded: false },
|
|
93
104
|
{ sectionKey: 'mJAIAgentPrompts', sectionName: 'MJ: AI Agent Prompts', isExpanded: false },
|
|
@@ -95,40 +106,47 @@ let AIConfigurationFormComponent = class AIConfigurationFormComponent extends Ba
|
|
|
95
106
|
{ sectionKey: 'aIResultCache', sectionName: 'AI Result Cache', isExpanded: false },
|
|
96
107
|
{ sectionKey: 'mJAIPromptModels', sectionName: 'MJ: AI Prompt Models', isExpanded: false },
|
|
97
108
|
{ sectionKey: 'mJAIPromptRuns', sectionName: 'MJ: AI Prompt Runs', isExpanded: false },
|
|
98
|
-
{ sectionKey: 'mJAIAgentRuns', sectionName: 'MJ: AI Agent Runs', isExpanded: false }
|
|
109
|
+
{ sectionKey: 'mJAIAgentRuns', sectionName: 'MJ: AI Agent Runs', isExpanded: false },
|
|
110
|
+
{ sectionKey: 'mJAIConfigurations', sectionName: 'MJ: AI Configurations', isExpanded: false }
|
|
99
111
|
]);
|
|
100
112
|
}
|
|
101
113
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵAIConfigurationFormComponent_BaseFactory; return function AIConfigurationFormComponent_Factory(t) { return (ɵAIConfigurationFormComponent_BaseFactory || (ɵAIConfigurationFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(AIConfigurationFormComponent)))(t || AIConfigurationFormComponent); }; })(); }
|
|
102
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AIConfigurationFormComponent, selectors: [["gen-aiconfiguration-form"]], features: [i0.ɵɵInheritDefinitionFeature], decls:
|
|
114
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AIConfigurationFormComponent, selectors: [["gen-aiconfiguration-form"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 37, vars: 106, consts: [[3, "record", "formComponent"], ["slot", "field-panels", "sectionKey", "basicInformation", "sectionName", "Basic Information", "icon", "fa fa-id-card", 3, "form", "formContext"], ["FieldName", "Name", "Type", "textbox", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "Description", "Type", "textarea", 3, "record", "ShowLabel", "EditMode", "formContext"], ["slot", "field-panels", "sectionKey", "configurationSettings", "sectionName", "Configuration Settings", "icon", "fa fa-sliders-h", 3, "form", "formContext"], ["FieldName", "IsDefault", "Type", "checkbox", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "Status", "Type", "dropdownlist", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "DefaultPromptForContextCompressionID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "DefaultPromptForContextSummarizationID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "DefaultStorageProviderID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "DefaultStorageRootPath", "Type", "textarea", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "DefaultPromptForContextCompression", "Type", "textbox", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "DefaultPromptForContextSummarization", "Type", "textbox", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "DefaultStorageProvider", "Type", "textbox", 3, "record", "ShowLabel", "EditMode", "formContext"], ["slot", "field-panels", "sectionKey", "inheritanceSettings", "sectionName", "Inheritance Settings", "icon", "fa fa-sitemap", 3, "form", "formContext"], ["FieldName", "ParentID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "Parent", "Type", "textbox", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "RootParentID", "Type", "textbox", 3, "record", "ShowLabel", "EditMode", "formContext"], ["slot", "field-panels", "sectionKey", "systemMetadata", "sectionName", "System Metadata", "icon", "fa fa-cog", 3, "form", "formContext"], ["FieldName", "__mj_CreatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "__mj_UpdatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode", "formContext"], ["slot", "after-panels", "sectionKey", "mJAIAgentConfigurations", "sectionName", "MJ: AI Agent Configurations", "icon", "fa fa-robot", "variant", "related-entity", 3, "form", "formContext", "badgeCount"], [4, "ngIf"], ["slot", "after-panels", "sectionKey", "mJAIAgentPrompts", "sectionName", "MJ: AI Agent Prompts", "icon", "fa fa-robot", "variant", "related-entity", 3, "form", "formContext", "badgeCount"], ["slot", "after-panels", "sectionKey", "mJAIConfigurationParams", "sectionName", "MJ: AI Configuration Params", "icon", "fa fa-brain", "variant", "related-entity", 3, "form", "formContext", "badgeCount"], ["slot", "after-panels", "sectionKey", "aIResultCache", "sectionName", "AI Result Cache", "icon", "fa fa-robot", "variant", "related-entity", 3, "form", "formContext", "badgeCount"], ["slot", "after-panels", "sectionKey", "mJAIPromptModels", "sectionName", "MJ: AI Prompt Models", "icon", "fa fa-robot", "variant", "related-entity", 3, "form", "formContext", "badgeCount"], ["slot", "after-panels", "sectionKey", "mJAIPromptRuns", "sectionName", "MJ: AI Prompt Runs", "icon", "fa fa-robot", "variant", "related-entity", 3, "form", "formContext", "badgeCount"], ["slot", "after-panels", "sectionKey", "mJAIAgentRuns", "sectionName", "MJ: AI Agent Runs", "icon", "fa fa-robot", "variant", "related-entity", 3, "form", "formContext", "badgeCount"], ["slot", "after-panels", "sectionKey", "mJAIConfigurations", "sectionName", "MJ: AI Configurations", "icon", "fa fa-brain", "variant", "related-entity", 3, "form", "formContext", "badgeCount"], [3, "dataLoaded", "Params", "NewRecordValues", "AllowLoad", "EditMode"]], template: function AIConfigurationFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
103
115
|
i0.ɵɵelementStart(0, "mj-record-form-container", 0)(1, "mj-collapsible-panel", 1);
|
|
104
116
|
i0.ɵɵelement(2, "mj-form-field", 2)(3, "mj-form-field", 3);
|
|
105
117
|
i0.ɵɵelementEnd();
|
|
106
118
|
i0.ɵɵelementStart(4, "mj-collapsible-panel", 4);
|
|
107
|
-
i0.ɵɵelement(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);
|
|
108
|
-
i0.ɵɵelementEnd();
|
|
109
|
-
i0.ɵɵelementStart(11, "mj-collapsible-panel", 11);
|
|
110
|
-
i0.ɵɵelement(12, "mj-form-field", 12)(13, "mj-form-field", 13);
|
|
119
|
+
i0.ɵɵelement(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);
|
|
111
120
|
i0.ɵɵelementEnd();
|
|
112
121
|
i0.ɵɵelementStart(14, "mj-collapsible-panel", 14);
|
|
113
|
-
i0.ɵɵ
|
|
122
|
+
i0.ɵɵelement(15, "mj-form-field", 15)(16, "mj-form-field", 16)(17, "mj-form-field", 17);
|
|
123
|
+
i0.ɵɵelementEnd();
|
|
124
|
+
i0.ɵɵelementStart(18, "mj-collapsible-panel", 18);
|
|
125
|
+
i0.ɵɵelement(19, "mj-form-field", 19)(20, "mj-form-field", 20);
|
|
114
126
|
i0.ɵɵelementEnd();
|
|
115
|
-
i0.ɵɵelementStart(
|
|
116
|
-
i0.ɵɵtemplate(
|
|
127
|
+
i0.ɵɵelementStart(21, "mj-collapsible-panel", 21);
|
|
128
|
+
i0.ɵɵtemplate(22, AIConfigurationFormComponent_div_22_Template, 2, 4, "div", 22);
|
|
117
129
|
i0.ɵɵelementEnd();
|
|
118
|
-
i0.ɵɵelementStart(
|
|
119
|
-
i0.ɵɵtemplate(
|
|
130
|
+
i0.ɵɵelementStart(23, "mj-collapsible-panel", 23);
|
|
131
|
+
i0.ɵɵtemplate(24, AIConfigurationFormComponent_div_24_Template, 2, 4, "div", 22);
|
|
120
132
|
i0.ɵɵelementEnd();
|
|
121
|
-
i0.ɵɵelementStart(
|
|
122
|
-
i0.ɵɵtemplate(
|
|
133
|
+
i0.ɵɵelementStart(25, "mj-collapsible-panel", 24);
|
|
134
|
+
i0.ɵɵtemplate(26, AIConfigurationFormComponent_div_26_Template, 2, 4, "div", 22);
|
|
123
135
|
i0.ɵɵelementEnd();
|
|
124
|
-
i0.ɵɵelementStart(
|
|
125
|
-
i0.ɵɵtemplate(
|
|
136
|
+
i0.ɵɵelementStart(27, "mj-collapsible-panel", 25);
|
|
137
|
+
i0.ɵɵtemplate(28, AIConfigurationFormComponent_div_28_Template, 2, 4, "div", 22);
|
|
126
138
|
i0.ɵɵelementEnd();
|
|
127
|
-
i0.ɵɵelementStart(
|
|
128
|
-
i0.ɵɵtemplate(
|
|
139
|
+
i0.ɵɵelementStart(29, "mj-collapsible-panel", 26);
|
|
140
|
+
i0.ɵɵtemplate(30, AIConfigurationFormComponent_div_30_Template, 2, 4, "div", 22);
|
|
129
141
|
i0.ɵɵelementEnd();
|
|
130
|
-
i0.ɵɵelementStart(
|
|
131
|
-
i0.ɵɵtemplate(
|
|
142
|
+
i0.ɵɵelementStart(31, "mj-collapsible-panel", 27);
|
|
143
|
+
i0.ɵɵtemplate(32, AIConfigurationFormComponent_div_32_Template, 2, 4, "div", 22);
|
|
144
|
+
i0.ɵɵelementEnd();
|
|
145
|
+
i0.ɵɵelementStart(33, "mj-collapsible-panel", 28);
|
|
146
|
+
i0.ɵɵtemplate(34, AIConfigurationFormComponent_div_34_Template, 2, 4, "div", 22);
|
|
147
|
+
i0.ɵɵelementEnd();
|
|
148
|
+
i0.ɵɵelementStart(35, "mj-collapsible-panel", 29);
|
|
149
|
+
i0.ɵɵtemplate(36, AIConfigurationFormComponent_div_36_Template, 2, 4, "div", 22);
|
|
132
150
|
i0.ɵɵelementEnd()();
|
|
133
151
|
} if (rf & 2) {
|
|
134
152
|
i0.ɵɵproperty("record", ctx.record)("formComponent", ctx);
|
|
@@ -153,6 +171,20 @@ let AIConfigurationFormComponent = class AIConfigurationFormComponent extends Ba
|
|
|
153
171
|
i0.ɵɵadvance();
|
|
154
172
|
i0.ɵɵproperty("record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("formContext", ctx.formContext);
|
|
155
173
|
i0.ɵɵadvance();
|
|
174
|
+
i0.ɵɵproperty("record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("formContext", ctx.formContext);
|
|
175
|
+
i0.ɵɵadvance();
|
|
176
|
+
i0.ɵɵproperty("record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("formContext", ctx.formContext);
|
|
177
|
+
i0.ɵɵadvance();
|
|
178
|
+
i0.ɵɵproperty("record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("formContext", ctx.formContext);
|
|
179
|
+
i0.ɵɵadvance();
|
|
180
|
+
i0.ɵɵproperty("form", ctx)("formContext", ctx.formContext);
|
|
181
|
+
i0.ɵɵadvance();
|
|
182
|
+
i0.ɵɵproperty("record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("formContext", ctx.formContext);
|
|
183
|
+
i0.ɵɵadvance();
|
|
184
|
+
i0.ɵɵproperty("record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("formContext", ctx.formContext);
|
|
185
|
+
i0.ɵɵadvance();
|
|
186
|
+
i0.ɵɵproperty("record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("formContext", ctx.formContext);
|
|
187
|
+
i0.ɵɵadvance();
|
|
156
188
|
i0.ɵɵproperty("form", ctx)("formContext", ctx.formContext);
|
|
157
189
|
i0.ɵɵadvance();
|
|
158
190
|
i0.ɵɵproperty("record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("formContext", ctx.formContext);
|
|
@@ -186,6 +218,10 @@ let AIConfigurationFormComponent = class AIConfigurationFormComponent extends Ba
|
|
|
186
218
|
i0.ɵɵproperty("form", ctx)("formContext", ctx.formContext)("badgeCount", ctx.GetSectionRowCount("mJAIAgentRuns"));
|
|
187
219
|
i0.ɵɵadvance();
|
|
188
220
|
i0.ɵɵproperty("ngIf", ctx.record.IsSaved);
|
|
221
|
+
i0.ɵɵadvance();
|
|
222
|
+
i0.ɵɵproperty("form", ctx)("formContext", ctx.formContext)("badgeCount", ctx.GetSectionRowCount("mJAIConfigurations"));
|
|
223
|
+
i0.ɵɵadvance();
|
|
224
|
+
i0.ɵɵproperty("ngIf", ctx.record.IsSaved);
|
|
189
225
|
} }, dependencies: [i1.NgIf, i2.UserViewGridComponent, i3.MJFormField, i3.CollapsiblePanelComponent, i4.RecordFormContainerComponent], encapsulation: 2 }); }
|
|
190
226
|
};
|
|
191
227
|
AIConfigurationFormComponent = __decorate([
|
|
@@ -194,7 +230,7 @@ AIConfigurationFormComponent = __decorate([
|
|
|
194
230
|
export { AIConfigurationFormComponent };
|
|
195
231
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AIConfigurationFormComponent, [{
|
|
196
232
|
type: Component,
|
|
197
|
-
args: [{ selector: 'gen-aiconfiguration-form', template: "<mj-record-form-container [record]=\"record\" [formComponent]=\"this\">\n\n <!-- ========================================\n FIELD PANELS\n ======================================== -->\n <!-- Basic Information Section -->\n <mj-collapsible-panel slot=\"field-panels\"\n sectionKey=\"basicInformation\"\n sectionName=\"Basic Information\"\n icon=\"fa fa-id-card\"\n [form]=\"this\"\n [formContext]=\"formContext\">\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Name\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Description\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Configuration Settings Section -->\n <mj-collapsible-panel slot=\"field-panels\"\n sectionKey=\"configurationSettings\"\n sectionName=\"Configuration Settings\"\n icon=\"fa fa-sliders-h\"\n [form]=\"this\"\n [formContext]=\"formContext\">\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"IsDefault\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Status\"\n Type=\"dropdownlist\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"DefaultPromptForContextCompressionID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n LinkType=\"Record\"\n LinkComponentType=\"Search\"\n ></mj-form-field>\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"DefaultPromptForContextSummarizationID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n LinkType=\"Record\"\n LinkComponentType=\"Search\"\n ></mj-form-field>\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"DefaultPromptForContextCompression\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"DefaultPromptForContextSummarization\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- System Metadata Section -->\n <mj-collapsible-panel slot=\"field-panels\"\n sectionKey=\"systemMetadata\"\n sectionName=\"System Metadata\"\n icon=\"fa fa-cog\"\n [form]=\"this\"\n [formContext]=\"formContext\">\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_CreatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_UpdatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n <!-- ========================================\n RELATED ENTITY PANELS - AFTER\n ======================================== -->\n\n <!-- MJ: AI Agent Configurations Section -->\n <mj-collapsible-panel slot=\"after-panels\"\n sectionKey=\"mJAIAgentConfigurations\"\n sectionName=\"MJ: AI Agent Configurations\"\n icon=\"fa fa-robot\"\n variant=\"related-entity\"\n [form]=\"this\"\n [formContext]=\"formContext\"\n [badgeCount]=\"GetSectionRowCount('mJAIAgentConfigurations')\">\n <div *ngIf=\"record.IsSaved\">\n <mj-user-view-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Agent Configurations','AIConfigurationID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Agent Configurations')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIAgentConfigurations')\"\n [EditMode]=\"GridEditMode()\"\n (dataLoaded)=\"SetSectionRowCount('mJAIAgentConfigurations', $event.totalRowCount)\"\n >\n </mj-user-view-grid>\n </div>\n </mj-collapsible-panel>\n\n <!-- MJ: AI Agent Prompts Section -->\n <mj-collapsible-panel slot=\"after-panels\"\n sectionKey=\"mJAIAgentPrompts\"\n sectionName=\"MJ: AI Agent Prompts\"\n icon=\"fa fa-robot\"\n variant=\"related-entity\"\n [form]=\"this\"\n [formContext]=\"formContext\"\n [badgeCount]=\"GetSectionRowCount('mJAIAgentPrompts')\">\n <div *ngIf=\"record.IsSaved\">\n <mj-user-view-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Agent Prompts','ConfigurationID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Agent Prompts')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIAgentPrompts')\"\n [EditMode]=\"GridEditMode()\"\n (dataLoaded)=\"SetSectionRowCount('mJAIAgentPrompts', $event.totalRowCount)\"\n >\n </mj-user-view-grid>\n </div>\n </mj-collapsible-panel>\n\n <!-- MJ: AI Configuration Params Section -->\n <mj-collapsible-panel slot=\"after-panels\"\n sectionKey=\"mJAIConfigurationParams\"\n sectionName=\"MJ: AI Configuration Params\"\n icon=\"fa fa-brain\"\n variant=\"related-entity\"\n [form]=\"this\"\n [formContext]=\"formContext\"\n [badgeCount]=\"GetSectionRowCount('mJAIConfigurationParams')\">\n <div *ngIf=\"record.IsSaved\">\n <mj-user-view-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Configuration Params','ConfigurationID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Configuration Params')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIConfigurationParams')\"\n [EditMode]=\"GridEditMode()\"\n (dataLoaded)=\"SetSectionRowCount('mJAIConfigurationParams', $event.totalRowCount)\"\n >\n </mj-user-view-grid>\n </div>\n </mj-collapsible-panel>\n\n <!-- AI Result Cache Section -->\n <mj-collapsible-panel slot=\"after-panels\"\n sectionKey=\"aIResultCache\"\n sectionName=\"AI Result Cache\"\n icon=\"fa fa-robot\"\n variant=\"related-entity\"\n [form]=\"this\"\n [formContext]=\"formContext\"\n [badgeCount]=\"GetSectionRowCount('aIResultCache')\">\n <div *ngIf=\"record.IsSaved\">\n <mj-user-view-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('AI Result Cache','ConfigurationID')\"\n [NewRecordValues]=\"NewRecordValues('AI Result Cache')\"\n [AllowLoad]=\"IsSectionExpanded('aIResultCache')\"\n [EditMode]=\"GridEditMode()\"\n (dataLoaded)=\"SetSectionRowCount('aIResultCache', $event.totalRowCount)\"\n >\n </mj-user-view-grid>\n </div>\n </mj-collapsible-panel>\n\n <!-- MJ: AI Prompt Models Section -->\n <mj-collapsible-panel slot=\"after-panels\"\n sectionKey=\"mJAIPromptModels\"\n sectionName=\"MJ: AI Prompt Models\"\n icon=\"fa fa-robot\"\n variant=\"related-entity\"\n [form]=\"this\"\n [formContext]=\"formContext\"\n [badgeCount]=\"GetSectionRowCount('mJAIPromptModels')\">\n <div *ngIf=\"record.IsSaved\">\n <mj-user-view-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Prompt Models','ConfigurationID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Prompt Models')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIPromptModels')\"\n [EditMode]=\"GridEditMode()\"\n (dataLoaded)=\"SetSectionRowCount('mJAIPromptModels', $event.totalRowCount)\"\n >\n </mj-user-view-grid>\n </div>\n </mj-collapsible-panel>\n\n <!-- MJ: AI Prompt Runs Section -->\n <mj-collapsible-panel slot=\"after-panels\"\n sectionKey=\"mJAIPromptRuns\"\n sectionName=\"MJ: AI Prompt Runs\"\n icon=\"fa fa-robot\"\n variant=\"related-entity\"\n [form]=\"this\"\n [formContext]=\"formContext\"\n [badgeCount]=\"GetSectionRowCount('mJAIPromptRuns')\">\n <div *ngIf=\"record.IsSaved\">\n <mj-user-view-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Prompt Runs','ConfigurationID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Prompt Runs')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIPromptRuns')\"\n [EditMode]=\"GridEditMode()\"\n (dataLoaded)=\"SetSectionRowCount('mJAIPromptRuns', $event.totalRowCount)\"\n >\n </mj-user-view-grid>\n </div>\n </mj-collapsible-panel>\n\n <!-- MJ: AI Agent Runs Section -->\n <mj-collapsible-panel slot=\"after-panels\"\n sectionKey=\"mJAIAgentRuns\"\n sectionName=\"MJ: AI Agent Runs\"\n icon=\"fa fa-robot\"\n variant=\"related-entity\"\n [form]=\"this\"\n [formContext]=\"formContext\"\n [badgeCount]=\"GetSectionRowCount('mJAIAgentRuns')\">\n <div *ngIf=\"record.IsSaved\">\n <mj-user-view-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Agent Runs','ConfigurationID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Agent Runs')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIAgentRuns')\"\n [EditMode]=\"GridEditMode()\"\n (dataLoaded)=\"SetSectionRowCount('mJAIAgentRuns', $event.totalRowCount)\"\n >\n </mj-user-view-grid>\n </div>\n </mj-collapsible-panel>\n</mj-record-form-container>\n " }]
|
|
233
|
+
args: [{ selector: 'gen-aiconfiguration-form', template: "<mj-record-form-container [record]=\"record\" [formComponent]=\"this\">\n\n <!-- ========================================\n FIELD PANELS\n ======================================== -->\n <!-- Basic Information Section -->\n <mj-collapsible-panel slot=\"field-panels\"\n sectionKey=\"basicInformation\"\n sectionName=\"Basic Information\"\n icon=\"fa fa-id-card\"\n [form]=\"this\"\n [formContext]=\"formContext\">\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Name\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Description\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Configuration Settings Section -->\n <mj-collapsible-panel slot=\"field-panels\"\n sectionKey=\"configurationSettings\"\n sectionName=\"Configuration Settings\"\n icon=\"fa fa-sliders-h\"\n [form]=\"this\"\n [formContext]=\"formContext\">\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"IsDefault\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Status\"\n Type=\"dropdownlist\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"DefaultPromptForContextCompressionID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n LinkType=\"Record\"\n LinkComponentType=\"Search\"\n ></mj-form-field>\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"DefaultPromptForContextSummarizationID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n LinkType=\"Record\"\n LinkComponentType=\"Search\"\n ></mj-form-field>\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"DefaultStorageProviderID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n LinkType=\"Record\"\n LinkComponentType=\"Search\"\n ></mj-form-field>\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"DefaultStorageRootPath\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"DefaultPromptForContextCompression\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"DefaultPromptForContextSummarization\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"DefaultStorageProvider\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Inheritance Settings Section -->\n <mj-collapsible-panel slot=\"field-panels\"\n sectionKey=\"inheritanceSettings\"\n sectionName=\"Inheritance Settings\"\n icon=\"fa fa-sitemap\"\n [form]=\"this\"\n [formContext]=\"formContext\">\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ParentID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n LinkType=\"Record\"\n LinkComponentType=\"Search\"\n ></mj-form-field>\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Parent\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"RootParentID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- System Metadata Section -->\n <mj-collapsible-panel slot=\"field-panels\"\n sectionKey=\"systemMetadata\"\n sectionName=\"System Metadata\"\n icon=\"fa fa-cog\"\n [form]=\"this\"\n [formContext]=\"formContext\">\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_CreatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_UpdatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n <!-- ========================================\n RELATED ENTITY PANELS - AFTER\n ======================================== -->\n\n <!-- MJ: AI Agent Configurations Section -->\n <mj-collapsible-panel slot=\"after-panels\"\n sectionKey=\"mJAIAgentConfigurations\"\n sectionName=\"MJ: AI Agent Configurations\"\n icon=\"fa fa-robot\"\n variant=\"related-entity\"\n [form]=\"this\"\n [formContext]=\"formContext\"\n [badgeCount]=\"GetSectionRowCount('mJAIAgentConfigurations')\">\n <div *ngIf=\"record.IsSaved\">\n <mj-user-view-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Agent Configurations','AIConfigurationID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Agent Configurations')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIAgentConfigurations')\"\n [EditMode]=\"GridEditMode()\"\n (dataLoaded)=\"SetSectionRowCount('mJAIAgentConfigurations', $event.totalRowCount)\"\n >\n </mj-user-view-grid>\n </div>\n </mj-collapsible-panel>\n\n <!-- MJ: AI Agent Prompts Section -->\n <mj-collapsible-panel slot=\"after-panels\"\n sectionKey=\"mJAIAgentPrompts\"\n sectionName=\"MJ: AI Agent Prompts\"\n icon=\"fa fa-robot\"\n variant=\"related-entity\"\n [form]=\"this\"\n [formContext]=\"formContext\"\n [badgeCount]=\"GetSectionRowCount('mJAIAgentPrompts')\">\n <div *ngIf=\"record.IsSaved\">\n <mj-user-view-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Agent Prompts','ConfigurationID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Agent Prompts')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIAgentPrompts')\"\n [EditMode]=\"GridEditMode()\"\n (dataLoaded)=\"SetSectionRowCount('mJAIAgentPrompts', $event.totalRowCount)\"\n >\n </mj-user-view-grid>\n </div>\n </mj-collapsible-panel>\n\n <!-- MJ: AI Configuration Params Section -->\n <mj-collapsible-panel slot=\"after-panels\"\n sectionKey=\"mJAIConfigurationParams\"\n sectionName=\"MJ: AI Configuration Params\"\n icon=\"fa fa-brain\"\n variant=\"related-entity\"\n [form]=\"this\"\n [formContext]=\"formContext\"\n [badgeCount]=\"GetSectionRowCount('mJAIConfigurationParams')\">\n <div *ngIf=\"record.IsSaved\">\n <mj-user-view-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Configuration Params','ConfigurationID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Configuration Params')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIConfigurationParams')\"\n [EditMode]=\"GridEditMode()\"\n (dataLoaded)=\"SetSectionRowCount('mJAIConfigurationParams', $event.totalRowCount)\"\n >\n </mj-user-view-grid>\n </div>\n </mj-collapsible-panel>\n\n <!-- AI Result Cache Section -->\n <mj-collapsible-panel slot=\"after-panels\"\n sectionKey=\"aIResultCache\"\n sectionName=\"AI Result Cache\"\n icon=\"fa fa-robot\"\n variant=\"related-entity\"\n [form]=\"this\"\n [formContext]=\"formContext\"\n [badgeCount]=\"GetSectionRowCount('aIResultCache')\">\n <div *ngIf=\"record.IsSaved\">\n <mj-user-view-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('AI Result Cache','ConfigurationID')\"\n [NewRecordValues]=\"NewRecordValues('AI Result Cache')\"\n [AllowLoad]=\"IsSectionExpanded('aIResultCache')\"\n [EditMode]=\"GridEditMode()\"\n (dataLoaded)=\"SetSectionRowCount('aIResultCache', $event.totalRowCount)\"\n >\n </mj-user-view-grid>\n </div>\n </mj-collapsible-panel>\n\n <!-- MJ: AI Prompt Models Section -->\n <mj-collapsible-panel slot=\"after-panels\"\n sectionKey=\"mJAIPromptModels\"\n sectionName=\"MJ: AI Prompt Models\"\n icon=\"fa fa-robot\"\n variant=\"related-entity\"\n [form]=\"this\"\n [formContext]=\"formContext\"\n [badgeCount]=\"GetSectionRowCount('mJAIPromptModels')\">\n <div *ngIf=\"record.IsSaved\">\n <mj-user-view-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Prompt Models','ConfigurationID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Prompt Models')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIPromptModels')\"\n [EditMode]=\"GridEditMode()\"\n (dataLoaded)=\"SetSectionRowCount('mJAIPromptModels', $event.totalRowCount)\"\n >\n </mj-user-view-grid>\n </div>\n </mj-collapsible-panel>\n\n <!-- MJ: AI Prompt Runs Section -->\n <mj-collapsible-panel slot=\"after-panels\"\n sectionKey=\"mJAIPromptRuns\"\n sectionName=\"MJ: AI Prompt Runs\"\n icon=\"fa fa-robot\"\n variant=\"related-entity\"\n [form]=\"this\"\n [formContext]=\"formContext\"\n [badgeCount]=\"GetSectionRowCount('mJAIPromptRuns')\">\n <div *ngIf=\"record.IsSaved\">\n <mj-user-view-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Prompt Runs','ConfigurationID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Prompt Runs')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIPromptRuns')\"\n [EditMode]=\"GridEditMode()\"\n (dataLoaded)=\"SetSectionRowCount('mJAIPromptRuns', $event.totalRowCount)\"\n >\n </mj-user-view-grid>\n </div>\n </mj-collapsible-panel>\n\n <!-- MJ: AI Agent Runs Section -->\n <mj-collapsible-panel slot=\"after-panels\"\n sectionKey=\"mJAIAgentRuns\"\n sectionName=\"MJ: AI Agent Runs\"\n icon=\"fa fa-robot\"\n variant=\"related-entity\"\n [form]=\"this\"\n [formContext]=\"formContext\"\n [badgeCount]=\"GetSectionRowCount('mJAIAgentRuns')\">\n <div *ngIf=\"record.IsSaved\">\n <mj-user-view-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Agent Runs','ConfigurationID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Agent Runs')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIAgentRuns')\"\n [EditMode]=\"GridEditMode()\"\n (dataLoaded)=\"SetSectionRowCount('mJAIAgentRuns', $event.totalRowCount)\"\n >\n </mj-user-view-grid>\n </div>\n </mj-collapsible-panel>\n\n <!-- MJ: AI Configurations Section -->\n <mj-collapsible-panel slot=\"after-panels\"\n sectionKey=\"mJAIConfigurations\"\n sectionName=\"MJ: AI Configurations\"\n icon=\"fa fa-brain\"\n variant=\"related-entity\"\n [form]=\"this\"\n [formContext]=\"formContext\"\n [badgeCount]=\"GetSectionRowCount('mJAIConfigurations')\">\n <div *ngIf=\"record.IsSaved\">\n <mj-user-view-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Configurations','ParentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Configurations')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIConfigurations')\"\n [EditMode]=\"GridEditMode()\"\n (dataLoaded)=\"SetSectionRowCount('mJAIConfigurations', $event.totalRowCount)\"\n >\n </mj-user-view-grid>\n </div>\n </mj-collapsible-panel>\n</mj-record-form-container>\n " }]
|
|
198
234
|
}], null, null); })();
|
|
199
235
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AIConfigurationFormComponent, { className: "AIConfigurationFormComponent", filePath: "src/lib/generated/Entities/AIConfiguration/aiconfiguration.form.component.ts", lineNumber: 12 }); })();
|
|
200
236
|
export function LoadAIConfigurationFormComponent() {
|
|
@@ -1 +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;;;;;;;;
|
|
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;;;;;;;;IC+LtD,AADJ,2BAA4B,4BAOnB;IADD,oNAAc,0BAAmB,yBAAyB,uBAAuB,KAAC;IAG1F,AADI,iBAAoB,EAClB;;;IAPE,cAAqG;IAGrG,AADA,AADA,AADA,2HAAqG,0EACnC,kEACR,mCAC/B;;;;IAiB/B,AADJ,2BAA4B,4BAOnB;IADD,oNAAc,0BAAmB,kBAAkB,uBAAuB,KAAC;IAGnF,AADI,iBAAoB,EAClB;;;IAPE,cAA4F;IAG5F,AADA,AADA,AADA,kHAA4F,mEACjC,2DACR,mCACxB;;;;IAiB/B,AADJ,2BAA4B,4BAOnB;IADD,oNAAc,0BAAmB,yBAAyB,uBAAuB,KAAC;IAG1F,AADI,iBAAoB,EAClB;;;IAPE,cAAmG;IAGnG,AADA,AADA,AADA,yHAAmG,0EACjC,kEACR,mCAC/B;;;;IAiB/B,AADJ,2BAA4B,4BAOnB;IADD,oNAAc,0BAAmB,eAAe,uBAAuB,KAAC;IAGhF,AADI,iBAAoB,EAClB;;;IAPE,cAAuF;IAGvF,AADA,AADA,AADA,6GAAuF,8DACjC,wDACN,mCACrB;;;;IAiB/B,AADJ,2BAA4B,4BAOnB;IADD,oNAAc,0BAAmB,kBAAkB,uBAAuB,KAAC;IAGnF,AADI,iBAAoB,EAClB;;;IAPE,cAA4F;IAG5F,AADA,AADA,AADA,kHAA4F,mEACjC,2DACR,mCACxB;;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YAG3B,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAc/B,cAAa;YAEb,AADA,AADA,0BAAa,gCACc,iEACiC;YACtD,cAAoB;YAApB,yCAAoB;YAkB1B,cAAa;YAEb,AADA,AADA,0BAAa,gCACc,0DAC0B;YAC/C,cAAoB;YAApB,yCAAoB;YAkB1B,cAAa;YAEb,AADA,AADA,0BAAa,gCACc,iEACiC;YACtD,cAAoB;YAApB,yCAAoB;YAkB1B,cAAa;YAEb,AADA,AADA,0BAAa,gCACc,uDACuB;YAC5C,cAAoB;YAApB,yCAAoB;YAkB1B,cAAa;YAEb,AADA,AADA,0BAAa,gCACc,0DAC0B;YAC/C,cAAoB;YAApB,yCAAoB;YAkB1B,cAAa;YAEb,AADA,AADA,0BAAa,gCACc,wDACwB;YAC7C,cAAoB;YAApB,yCAAoB;YAkB1B,cAAa;YAEb,AADA,AADA,0BAAa,gCACc,uDACuB;YAC5C,cAAoB;YAApB,yCAAoB;YAkB1B,cAAa;YAEb,AADA,AADA,0BAAa,gCACc,4DAC4B;YACjD,cAAoB;YAApB,yCAAoB;;;ADzUrB,4BAA4B;IALxC,aAAa,CAAC,iBAAiB,EAAE,uBAAuB,CAAC,CAAC,uCAAuC;GAKrF,4BAA4B,CAoBxC;;iFApBY,4BAA4B;cAJxC,SAAS;2BACI,0BAA0B;;kFAG3B,4BAA4B;AAsBzC,MAAM,UAAU,gCAAgC;IAC5C,kGAAkG;AACtG,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { AIModalityEntity } from '@memberjunction/core-entities';
|
|
2
|
+
import { BaseFormComponent } from '@memberjunction/ng-base-forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AIModalityFormComponent extends BaseFormComponent {
|
|
5
|
+
record: AIModalityEntity;
|
|
6
|
+
ngOnInit(): Promise<void>;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AIModalityFormComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AIModalityFormComponent, "gen-aimodality-form", never, {}, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
10
|
+
export declare function LoadAIModalityFormComponent(): void;
|
|
11
|
+
//# sourceMappingURL=aimodality.form.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aimodality.form.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/AIModality/aimodality.form.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAEjE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAGlE,qBAKa,uBAAwB,SAAQ,iBAAiB;IACnD,MAAM,EAAG,gBAAgB,CAAC;IAElB,QAAQ;yCAHd,uBAAuB;2CAAvB,uBAAuB;CAgBnC;AAED,wBAAgB,2BAA2B,SAE1C"}
|
|
@@ -0,0 +1,167 @@
|
|
|
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 * as i0 from "@angular/core";
|
|
11
|
+
import * as i1 from "@angular/common";
|
|
12
|
+
import * as i2 from "@memberjunction/ng-user-view-grid";
|
|
13
|
+
import * as i3 from "@memberjunction/ng-base-forms";
|
|
14
|
+
import * as i4 from "@memberjunction/ng-form-toolbar";
|
|
15
|
+
function AIModalityFormComponent_div_15_Template(rf, ctx) { if (rf & 1) {
|
|
16
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
17
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-user-view-grid", 19);
|
|
18
|
+
i0.ɵɵlistener("dataLoaded", function AIModalityFormComponent_div_15_Template_mj_user_view_grid_dataLoaded_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJAIAgentModalities", $event.totalRowCount)); });
|
|
19
|
+
i0.ɵɵelementEnd()();
|
|
20
|
+
} if (rf & 2) {
|
|
21
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
22
|
+
i0.ɵɵadvance();
|
|
23
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: AI Agent Modalities", "ModalityID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: AI Agent Modalities"))("AllowLoad", ctx_r1.IsSectionExpanded("mJAIAgentModalities"))("EditMode", ctx_r1.GridEditMode());
|
|
24
|
+
} }
|
|
25
|
+
function AIModalityFormComponent_div_17_Template(rf, ctx) { if (rf & 1) {
|
|
26
|
+
const _r3 = i0.ɵɵgetCurrentView();
|
|
27
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-user-view-grid", 19);
|
|
28
|
+
i0.ɵɵlistener("dataLoaded", function AIModalityFormComponent_div_17_Template_mj_user_view_grid_dataLoaded_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJAIModelModalities", $event.totalRowCount)); });
|
|
29
|
+
i0.ɵɵelementEnd()();
|
|
30
|
+
} if (rf & 2) {
|
|
31
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
32
|
+
i0.ɵɵadvance();
|
|
33
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: AI Model Modalities", "ModalityID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: AI Model Modalities"))("AllowLoad", ctx_r1.IsSectionExpanded("mJAIModelModalities"))("EditMode", ctx_r1.GridEditMode());
|
|
34
|
+
} }
|
|
35
|
+
function AIModalityFormComponent_div_19_Template(rf, ctx) { if (rf & 1) {
|
|
36
|
+
const _r4 = i0.ɵɵgetCurrentView();
|
|
37
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-user-view-grid", 19);
|
|
38
|
+
i0.ɵɵlistener("dataLoaded", function AIModalityFormComponent_div_19_Template_mj_user_view_grid_dataLoaded_1_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("aIModelTypes", $event.totalRowCount)); });
|
|
39
|
+
i0.ɵɵelementEnd()();
|
|
40
|
+
} if (rf & 2) {
|
|
41
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
42
|
+
i0.ɵɵadvance();
|
|
43
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("AI Model Types", "DefaultOutputModalityID"))("NewRecordValues", ctx_r1.NewRecordValues("AI Model Types"))("AllowLoad", ctx_r1.IsSectionExpanded("aIModelTypes"))("EditMode", ctx_r1.GridEditMode());
|
|
44
|
+
} }
|
|
45
|
+
function AIModalityFormComponent_div_21_Template(rf, ctx) { if (rf & 1) {
|
|
46
|
+
const _r5 = i0.ɵɵgetCurrentView();
|
|
47
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-user-view-grid", 19);
|
|
48
|
+
i0.ɵɵlistener("dataLoaded", function AIModalityFormComponent_div_21_Template_mj_user_view_grid_dataLoaded_1_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJConversationDetailAttachments", $event.totalRowCount)); });
|
|
49
|
+
i0.ɵɵelementEnd()();
|
|
50
|
+
} if (rf & 2) {
|
|
51
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
52
|
+
i0.ɵɵadvance();
|
|
53
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Conversation Detail Attachments", "ModalityID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Conversation Detail Attachments"))("AllowLoad", ctx_r1.IsSectionExpanded("mJConversationDetailAttachments"))("EditMode", ctx_r1.GridEditMode());
|
|
54
|
+
} }
|
|
55
|
+
function AIModalityFormComponent_div_23_Template(rf, ctx) { if (rf & 1) {
|
|
56
|
+
const _r6 = i0.ɵɵgetCurrentView();
|
|
57
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-user-view-grid", 19);
|
|
58
|
+
i0.ɵɵlistener("dataLoaded", function AIModalityFormComponent_div_23_Template_mj_user_view_grid_dataLoaded_1_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("aIModelTypes", $event.totalRowCount)); });
|
|
59
|
+
i0.ɵɵelementEnd()();
|
|
60
|
+
} if (rf & 2) {
|
|
61
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
62
|
+
i0.ɵɵadvance();
|
|
63
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("AI Model Types", "DefaultInputModalityID"))("NewRecordValues", ctx_r1.NewRecordValues("AI Model Types"))("AllowLoad", ctx_r1.IsSectionExpanded("aIModelTypes"))("EditMode", ctx_r1.GridEditMode());
|
|
64
|
+
} }
|
|
65
|
+
let AIModalityFormComponent = class AIModalityFormComponent extends BaseFormComponent {
|
|
66
|
+
async ngOnInit() {
|
|
67
|
+
await super.ngOnInit();
|
|
68
|
+
this.initSections([
|
|
69
|
+
{ sectionKey: 'modalityDefinition', sectionName: 'Modality Definition', isExpanded: true },
|
|
70
|
+
{ sectionKey: 'technicalConstraints', sectionName: 'Technical Constraints', isExpanded: true },
|
|
71
|
+
{ sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },
|
|
72
|
+
{ sectionKey: 'mJAIAgentModalities', sectionName: 'MJ: AI Agent Modalities', isExpanded: false },
|
|
73
|
+
{ sectionKey: 'mJAIModelModalities', sectionName: 'MJ: AI Model Modalities', isExpanded: false },
|
|
74
|
+
{ sectionKey: 'aIModelTypes', sectionName: 'AI Model Types', isExpanded: false },
|
|
75
|
+
{ sectionKey: 'mJConversationDetailAttachments', sectionName: 'MJ: Conversation Detail Attachments', isExpanded: false },
|
|
76
|
+
{ sectionKey: 'aIModelTypes1', sectionName: 'AI Model Types', isExpanded: false }
|
|
77
|
+
]);
|
|
78
|
+
}
|
|
79
|
+
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵAIModalityFormComponent_BaseFactory; return function AIModalityFormComponent_Factory(t) { return (ɵAIModalityFormComponent_BaseFactory || (ɵAIModalityFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(AIModalityFormComponent)))(t || AIModalityFormComponent); }; })(); }
|
|
80
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AIModalityFormComponent, selectors: [["gen-aimodality-form"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 24, vars: 68, consts: [[3, "record", "formComponent"], ["slot", "field-panels", "sectionKey", "modalityDefinition", "sectionName", "Modality Definition", "icon", "fa fa-cube", 3, "form", "formContext"], ["FieldName", "Name", "Type", "textbox", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "Description", "Type", "textarea", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "ContentBlockType", "Type", "dropdownlist", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "Type", "Type", "dropdownlist", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "DisplayOrder", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode", "formContext"], ["slot", "field-panels", "sectionKey", "technicalConstraints", "sectionName", "Technical Constraints", "icon", "fa fa-cogs", 3, "form", "formContext"], ["FieldName", "MIMETypePattern", "Type", "textbox", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "DefaultMaxSizeBytes", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "DefaultMaxCountPerMessage", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode", "formContext"], ["slot", "field-panels", "sectionKey", "systemMetadata", "sectionName", "System Metadata", "icon", "fa fa-cog", 3, "form", "formContext"], ["FieldName", "__mj_CreatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "__mj_UpdatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode", "formContext"], ["slot", "after-panels", "sectionKey", "mJAIAgentModalities", "sectionName", "MJ: AI Agent Modalities", "icon", "fa fa-robot", "variant", "related-entity", 3, "form", "formContext", "badgeCount"], [4, "ngIf"], ["slot", "after-panels", "sectionKey", "mJAIModelModalities", "sectionName", "MJ: AI Model Modalities", "icon", "fa fa-brain", "variant", "related-entity", 3, "form", "formContext", "badgeCount"], ["slot", "after-panels", "sectionKey", "aIModelTypes", "sectionName", "AI Model Types", "icon", "fa fa-robot", "variant", "related-entity", 3, "form", "formContext", "badgeCount"], ["slot", "after-panels", "sectionKey", "mJConversationDetailAttachments", "sectionName", "MJ: Conversation Detail Attachments", "icon", "fa fa-paperclip", "variant", "related-entity", 3, "form", "formContext", "badgeCount"], [3, "dataLoaded", "Params", "NewRecordValues", "AllowLoad", "EditMode"]], template: function AIModalityFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
81
|
+
i0.ɵɵelementStart(0, "mj-record-form-container", 0)(1, "mj-collapsible-panel", 1);
|
|
82
|
+
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);
|
|
83
|
+
i0.ɵɵelementEnd();
|
|
84
|
+
i0.ɵɵelementStart(7, "mj-collapsible-panel", 7);
|
|
85
|
+
i0.ɵɵelement(8, "mj-form-field", 8)(9, "mj-form-field", 9)(10, "mj-form-field", 10);
|
|
86
|
+
i0.ɵɵelementEnd();
|
|
87
|
+
i0.ɵɵelementStart(11, "mj-collapsible-panel", 11);
|
|
88
|
+
i0.ɵɵelement(12, "mj-form-field", 12)(13, "mj-form-field", 13);
|
|
89
|
+
i0.ɵɵelementEnd();
|
|
90
|
+
i0.ɵɵelementStart(14, "mj-collapsible-panel", 14);
|
|
91
|
+
i0.ɵɵtemplate(15, AIModalityFormComponent_div_15_Template, 2, 4, "div", 15);
|
|
92
|
+
i0.ɵɵelementEnd();
|
|
93
|
+
i0.ɵɵelementStart(16, "mj-collapsible-panel", 16);
|
|
94
|
+
i0.ɵɵtemplate(17, AIModalityFormComponent_div_17_Template, 2, 4, "div", 15);
|
|
95
|
+
i0.ɵɵelementEnd();
|
|
96
|
+
i0.ɵɵelementStart(18, "mj-collapsible-panel", 17);
|
|
97
|
+
i0.ɵɵtemplate(19, AIModalityFormComponent_div_19_Template, 2, 4, "div", 15);
|
|
98
|
+
i0.ɵɵelementEnd();
|
|
99
|
+
i0.ɵɵelementStart(20, "mj-collapsible-panel", 18);
|
|
100
|
+
i0.ɵɵtemplate(21, AIModalityFormComponent_div_21_Template, 2, 4, "div", 15);
|
|
101
|
+
i0.ɵɵelementEnd();
|
|
102
|
+
i0.ɵɵelementStart(22, "mj-collapsible-panel", 17);
|
|
103
|
+
i0.ɵɵtemplate(23, AIModalityFormComponent_div_23_Template, 2, 4, "div", 15);
|
|
104
|
+
i0.ɵɵelementEnd()();
|
|
105
|
+
} if (rf & 2) {
|
|
106
|
+
i0.ɵɵproperty("record", ctx.record)("formComponent", ctx);
|
|
107
|
+
i0.ɵɵadvance();
|
|
108
|
+
i0.ɵɵproperty("form", ctx)("formContext", ctx.formContext);
|
|
109
|
+
i0.ɵɵadvance();
|
|
110
|
+
i0.ɵɵproperty("record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("formContext", ctx.formContext);
|
|
111
|
+
i0.ɵɵadvance();
|
|
112
|
+
i0.ɵɵproperty("record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("formContext", ctx.formContext);
|
|
113
|
+
i0.ɵɵadvance();
|
|
114
|
+
i0.ɵɵproperty("record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("formContext", ctx.formContext);
|
|
115
|
+
i0.ɵɵadvance();
|
|
116
|
+
i0.ɵɵproperty("record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("formContext", ctx.formContext);
|
|
117
|
+
i0.ɵɵadvance();
|
|
118
|
+
i0.ɵɵproperty("record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("formContext", ctx.formContext);
|
|
119
|
+
i0.ɵɵadvance();
|
|
120
|
+
i0.ɵɵproperty("form", ctx)("formContext", ctx.formContext);
|
|
121
|
+
i0.ɵɵadvance();
|
|
122
|
+
i0.ɵɵproperty("record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("formContext", ctx.formContext);
|
|
123
|
+
i0.ɵɵadvance();
|
|
124
|
+
i0.ɵɵproperty("record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("formContext", ctx.formContext);
|
|
125
|
+
i0.ɵɵadvance();
|
|
126
|
+
i0.ɵɵproperty("record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("formContext", ctx.formContext);
|
|
127
|
+
i0.ɵɵadvance();
|
|
128
|
+
i0.ɵɵproperty("form", ctx)("formContext", ctx.formContext);
|
|
129
|
+
i0.ɵɵadvance();
|
|
130
|
+
i0.ɵɵproperty("record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("formContext", ctx.formContext);
|
|
131
|
+
i0.ɵɵadvance();
|
|
132
|
+
i0.ɵɵproperty("record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("formContext", ctx.formContext);
|
|
133
|
+
i0.ɵɵadvance();
|
|
134
|
+
i0.ɵɵproperty("form", ctx)("formContext", ctx.formContext)("badgeCount", ctx.GetSectionRowCount("mJAIAgentModalities"));
|
|
135
|
+
i0.ɵɵadvance();
|
|
136
|
+
i0.ɵɵproperty("ngIf", ctx.record.IsSaved);
|
|
137
|
+
i0.ɵɵadvance();
|
|
138
|
+
i0.ɵɵproperty("form", ctx)("formContext", ctx.formContext)("badgeCount", ctx.GetSectionRowCount("mJAIModelModalities"));
|
|
139
|
+
i0.ɵɵadvance();
|
|
140
|
+
i0.ɵɵproperty("ngIf", ctx.record.IsSaved);
|
|
141
|
+
i0.ɵɵadvance();
|
|
142
|
+
i0.ɵɵproperty("form", ctx)("formContext", ctx.formContext)("badgeCount", ctx.GetSectionRowCount("aIModelTypes"));
|
|
143
|
+
i0.ɵɵadvance();
|
|
144
|
+
i0.ɵɵproperty("ngIf", ctx.record.IsSaved);
|
|
145
|
+
i0.ɵɵadvance();
|
|
146
|
+
i0.ɵɵproperty("form", ctx)("formContext", ctx.formContext)("badgeCount", ctx.GetSectionRowCount("mJConversationDetailAttachments"));
|
|
147
|
+
i0.ɵɵadvance();
|
|
148
|
+
i0.ɵɵproperty("ngIf", ctx.record.IsSaved);
|
|
149
|
+
i0.ɵɵadvance();
|
|
150
|
+
i0.ɵɵproperty("form", ctx)("formContext", ctx.formContext)("badgeCount", ctx.GetSectionRowCount("aIModelTypes"));
|
|
151
|
+
i0.ɵɵadvance();
|
|
152
|
+
i0.ɵɵproperty("ngIf", ctx.record.IsSaved);
|
|
153
|
+
} }, dependencies: [i1.NgIf, i2.UserViewGridComponent, i3.MJFormField, i3.CollapsiblePanelComponent, i4.RecordFormContainerComponent], encapsulation: 2 }); }
|
|
154
|
+
};
|
|
155
|
+
AIModalityFormComponent = __decorate([
|
|
156
|
+
RegisterClass(BaseFormComponent, 'MJ: AI Modalities') // Tell MemberJunction about this class
|
|
157
|
+
], AIModalityFormComponent);
|
|
158
|
+
export { AIModalityFormComponent };
|
|
159
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AIModalityFormComponent, [{
|
|
160
|
+
type: Component,
|
|
161
|
+
args: [{ selector: 'gen-aimodality-form', template: "<mj-record-form-container [record]=\"record\" [formComponent]=\"this\">\n\n <!-- ========================================\n FIELD PANELS\n ======================================== -->\n <!-- Modality Definition Section -->\n <mj-collapsible-panel slot=\"field-panels\"\n sectionKey=\"modalityDefinition\"\n sectionName=\"Modality Definition\"\n icon=\"fa fa-cube\"\n [form]=\"this\"\n [formContext]=\"formContext\">\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Name\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Description\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ContentBlockType\"\n Type=\"dropdownlist\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Type\"\n Type=\"dropdownlist\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"DisplayOrder\"\n Type=\"numerictextbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Technical Constraints Section -->\n <mj-collapsible-panel slot=\"field-panels\"\n sectionKey=\"technicalConstraints\"\n sectionName=\"Technical Constraints\"\n icon=\"fa fa-cogs\"\n [form]=\"this\"\n [formContext]=\"formContext\">\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"MIMETypePattern\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"DefaultMaxSizeBytes\"\n Type=\"numerictextbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"DefaultMaxCountPerMessage\"\n Type=\"numerictextbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- System Metadata Section -->\n <mj-collapsible-panel slot=\"field-panels\"\n sectionKey=\"systemMetadata\"\n sectionName=\"System Metadata\"\n icon=\"fa fa-cog\"\n [form]=\"this\"\n [formContext]=\"formContext\">\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_CreatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_UpdatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [formContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n <!-- ========================================\n RELATED ENTITY PANELS - AFTER\n ======================================== -->\n\n <!-- MJ: AI Agent Modalities Section -->\n <mj-collapsible-panel slot=\"after-panels\"\n sectionKey=\"mJAIAgentModalities\"\n sectionName=\"MJ: AI Agent Modalities\"\n icon=\"fa fa-robot\"\n variant=\"related-entity\"\n [form]=\"this\"\n [formContext]=\"formContext\"\n [badgeCount]=\"GetSectionRowCount('mJAIAgentModalities')\">\n <div *ngIf=\"record.IsSaved\">\n <mj-user-view-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Agent Modalities','ModalityID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Agent Modalities')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIAgentModalities')\"\n [EditMode]=\"GridEditMode()\"\n (dataLoaded)=\"SetSectionRowCount('mJAIAgentModalities', $event.totalRowCount)\"\n >\n </mj-user-view-grid>\n </div>\n </mj-collapsible-panel>\n\n <!-- MJ: AI Model Modalities Section -->\n <mj-collapsible-panel slot=\"after-panels\"\n sectionKey=\"mJAIModelModalities\"\n sectionName=\"MJ: AI Model Modalities\"\n icon=\"fa fa-brain\"\n variant=\"related-entity\"\n [form]=\"this\"\n [formContext]=\"formContext\"\n [badgeCount]=\"GetSectionRowCount('mJAIModelModalities')\">\n <div *ngIf=\"record.IsSaved\">\n <mj-user-view-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Model Modalities','ModalityID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Model Modalities')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIModelModalities')\"\n [EditMode]=\"GridEditMode()\"\n (dataLoaded)=\"SetSectionRowCount('mJAIModelModalities', $event.totalRowCount)\"\n >\n </mj-user-view-grid>\n </div>\n </mj-collapsible-panel>\n\n <!-- AI Model Types Section -->\n <mj-collapsible-panel slot=\"after-panels\"\n sectionKey=\"aIModelTypes\"\n sectionName=\"AI Model Types\"\n icon=\"fa fa-robot\"\n variant=\"related-entity\"\n [form]=\"this\"\n [formContext]=\"formContext\"\n [badgeCount]=\"GetSectionRowCount('aIModelTypes')\">\n <div *ngIf=\"record.IsSaved\">\n <mj-user-view-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('AI Model Types','DefaultOutputModalityID')\"\n [NewRecordValues]=\"NewRecordValues('AI Model Types')\"\n [AllowLoad]=\"IsSectionExpanded('aIModelTypes')\"\n [EditMode]=\"GridEditMode()\"\n (dataLoaded)=\"SetSectionRowCount('aIModelTypes', $event.totalRowCount)\"\n >\n </mj-user-view-grid>\n </div>\n </mj-collapsible-panel>\n\n <!-- MJ: Conversation Detail Attachments Section -->\n <mj-collapsible-panel slot=\"after-panels\"\n sectionKey=\"mJConversationDetailAttachments\"\n sectionName=\"MJ: Conversation Detail Attachments\"\n icon=\"fa fa-paperclip\"\n variant=\"related-entity\"\n [form]=\"this\"\n [formContext]=\"formContext\"\n [badgeCount]=\"GetSectionRowCount('mJConversationDetailAttachments')\">\n <div *ngIf=\"record.IsSaved\">\n <mj-user-view-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Conversation Detail Attachments','ModalityID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Conversation Detail Attachments')\"\n [AllowLoad]=\"IsSectionExpanded('mJConversationDetailAttachments')\"\n [EditMode]=\"GridEditMode()\"\n (dataLoaded)=\"SetSectionRowCount('mJConversationDetailAttachments', $event.totalRowCount)\"\n >\n </mj-user-view-grid>\n </div>\n </mj-collapsible-panel>\n\n <!-- AI Model Types Section -->\n <mj-collapsible-panel slot=\"after-panels\"\n sectionKey=\"aIModelTypes\"\n sectionName=\"AI Model Types\"\n icon=\"fa fa-robot\"\n variant=\"related-entity\"\n [form]=\"this\"\n [formContext]=\"formContext\"\n [badgeCount]=\"GetSectionRowCount('aIModelTypes')\">\n <div *ngIf=\"record.IsSaved\">\n <mj-user-view-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('AI Model Types','DefaultInputModalityID')\"\n [NewRecordValues]=\"NewRecordValues('AI Model Types')\"\n [AllowLoad]=\"IsSectionExpanded('aIModelTypes')\"\n [EditMode]=\"GridEditMode()\"\n (dataLoaded)=\"SetSectionRowCount('aIModelTypes', $event.totalRowCount)\"\n >\n </mj-user-view-grid>\n </div>\n </mj-collapsible-panel>\n</mj-record-form-container>\n " }]
|
|
162
|
+
}], null, null); })();
|
|
163
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AIModalityFormComponent, { className: "AIModalityFormComponent", filePath: "src/lib/generated/Entities/AIModality/aimodality.form.component.ts", lineNumber: 12 }); })();
|
|
164
|
+
export function LoadAIModalityFormComponent() {
|
|
165
|
+
// does nothing, but called to prevent tree-shaking from eliminating this component from the build
|
|
166
|
+
}
|
|
167
|
+
//# sourceMappingURL=aimodality.form.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aimodality.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/AIModality/aimodality.form.component.ts","../../../../../src/lib/generated/Entities/AIModality/aimodality.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;;;;;;;;IC6HtD,AADJ,2BAA4B,4BAOnB;IADD,+MAAc,0BAAmB,qBAAqB,uBAAuB,KAAC;IAGtF,AADI,iBAAoB,EAClB;;;IAPE,cAA0F;IAG1F,AADA,AADA,AADA,gHAA0F,sEAC5B,8DACR,mCAC3B;;;;IAiB/B,AADJ,2BAA4B,4BAOnB;IADD,+MAAc,0BAAmB,qBAAqB,uBAAuB,KAAC;IAGtF,AADI,iBAAoB,EAClB;;;IAPE,cAA0F;IAG1F,AADA,AADA,AADA,gHAA0F,sEAC5B,8DACR,mCAC3B;;;;IAiB/B,AADJ,2BAA4B,4BAOnB;IADD,+MAAc,0BAAmB,cAAc,uBAAuB,KAAC;IAG/E,AADI,iBAAoB,EAClB;;;IAPE,cAA8F;IAG9F,AADA,AADA,AADA,oHAA8F,6DACzC,uDACN,mCACpB;;;;IAiB/B,AADJ,2BAA4B,4BAOnB;IADD,+MAAc,0BAAmB,iCAAiC,uBAAuB,KAAC;IAGlG,AADI,iBAAoB,EAClB;;;IAPE,cAAsG;IAGtG,AADA,AADA,AADA,4HAAsG,kFAC5B,0EACR,mCACvC;;;;IAiB/B,AADJ,2BAA4B,4BAOnB;IADD,+MAAc,0BAAmB,cAAc,uBAAuB,KAAC;IAG/E,AADI,iBAAoB,EAClB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A,AADA,0BAAa,gCACc,sDACsB;YAC3C,cAAoB;YAApB,yCAAoB;YAkB1B,cAAa;YAEb,AADA,AADA,0BAAa,gCACc,yEACyC;YAC9D,cAAoB;YAApB,yCAAoB;YAkB1B,cAAa;YAEb,AADA,AADA,0BAAa,gCACc,sDACsB;YAC3C,cAAoB;YAApB,yCAAoB;;;ADxMrB,uBAAuB;IALnC,aAAa,CAAC,iBAAiB,EAAE,mBAAmB,CAAC,CAAC,uCAAuC;GAKjF,uBAAuB,CAgBnC;;iFAhBY,uBAAuB;cAJnC,SAAS;2BACI,qBAAqB;;kFAGtB,uBAAuB;AAkBpC,MAAM,UAAU,2BAA2B;IACvC,kGAAkG;AACtG,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aimodel.form.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/AIModel/aimodel.form.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAE9D,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAGlE,qBAKa,oBAAqB,SAAQ,iBAAiB;IAChD,MAAM,EAAG,aAAa,CAAC;IAEf,QAAQ;yCAHd,oBAAoB;2CAApB,oBAAoB;
|
|
1
|
+
{"version":3,"file":"aimodel.form.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/AIModel/aimodel.form.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAE9D,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAGlE,qBAKa,oBAAqB,SAAQ,iBAAiB;IAChD,MAAM,EAAG,aAAa,CAAC;IAEf,QAAQ;yCAHd,oBAAoB;2CAApB,oBAAoB;CAgChC;AAED,wBAAgB,wBAAwB,SAEvC"}
|