@memberjunction/ng-core-entity-forms 2.16.1 → 2.17.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.d.ts +10 -0
- package/dist/lib/generated/Entities/AIAgent/aiagent.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIAgent/aiagent.form.component.js +102 -0
- package/dist/lib/generated/Entities/AIAgent/aiagent.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/AIAgent/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/AIAgent/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIAgent/sections/details.component.js +98 -0
- package/dist/lib/generated/Entities/AIAgent/sections/details.component.js.map +1 -0
- package/dist/lib/generated/Entities/AIAgentAction/aiagentaction.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/AIAgentAction/aiagentaction.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIAgentAction/aiagentaction.form.component.js +61 -0
- package/dist/lib/generated/Entities/AIAgentAction/aiagentaction.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/AIAgentAction/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/AIAgentAction/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIAgentAction/sections/details.component.js +120 -0
- package/dist/lib/generated/Entities/AIAgentAction/sections/details.component.js.map +1 -0
- package/dist/lib/generated/Entities/AIAgentLearningCycle/aiagentlearningcycle.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/AIAgentLearningCycle/aiagentlearningcycle.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIAgentLearningCycle/aiagentlearningcycle.form.component.js +61 -0
- package/dist/lib/generated/Entities/AIAgentLearningCycle/aiagentlearningcycle.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/AIAgentLearningCycle/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/AIAgentLearningCycle/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIAgentLearningCycle/sections/details.component.js +127 -0
- package/dist/lib/generated/Entities/AIAgentLearningCycle/sections/details.component.js.map +1 -0
- package/dist/lib/generated/Entities/AIAgentModel/aiagentmodel.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/AIAgentModel/aiagentmodel.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIAgentModel/aiagentmodel.form.component.js +61 -0
- package/dist/lib/generated/Entities/AIAgentModel/aiagentmodel.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/AIAgentModel/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/AIAgentModel/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIAgentModel/sections/details.component.js +129 -0
- package/dist/lib/generated/Entities/AIAgentModel/sections/details.component.js.map +1 -0
- package/dist/lib/generated/Entities/AIAgentNote/aiagentnote.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/AIAgentNote/aiagentnote.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIAgentNote/aiagentnote.form.component.js +61 -0
- package/dist/lib/generated/Entities/AIAgentNote/aiagentnote.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/AIAgentNote/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/AIAgentNote/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIAgentNote/sections/details.component.js +120 -0
- package/dist/lib/generated/Entities/AIAgentNote/sections/details.component.js.map +1 -0
- package/dist/lib/generated/Entities/AIAgentNoteType/aiagentnotetype.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/AIAgentNoteType/aiagentnotetype.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIAgentNoteType/aiagentnotetype.form.component.js +72 -0
- package/dist/lib/generated/Entities/AIAgentNoteType/aiagentnotetype.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/AIAgentNoteType/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/AIAgentNoteType/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIAgentNoteType/sections/details.component.js +89 -0
- package/dist/lib/generated/Entities/AIAgentNoteType/sections/details.component.js.map +1 -0
- package/dist/lib/generated/Entities/AIModel/aimodel.form.component.js +13 -3
- package/dist/lib/generated/Entities/AIModel/aimodel.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/Action/action.form.component.js +17 -7
- package/dist/lib/generated/Entities/Action/action.form.component.js.map +1 -1
- package/dist/lib/generated/generated-forms.module.d.ts +329 -312
- package/dist/lib/generated/generated-forms.module.d.ts.map +1 -1
- package/dist/lib/generated/generated-forms.module.js +386 -281
- package/dist/lib/generated/generated-forms.module.js.map +1 -1
- package/package.json +11 -11
|
@@ -0,0 +1,120 @@
|
|
|
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 AIAgentNoteDetailsComponent_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);
|
|
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
|
+
} }
|
|
34
|
+
let AIAgentNoteDetailsComponent = class AIAgentNoteDetailsComponent extends BaseFormSectionComponent {
|
|
35
|
+
constructor() {
|
|
36
|
+
super(...arguments);
|
|
37
|
+
this.EditMode = false;
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
AIAgentNoteDetailsComponent.ɵfac = /*@__PURE__*/ (() => { let ɵAIAgentNoteDetailsComponent_BaseFactory; return function AIAgentNoteDetailsComponent_Factory(t) { return (ɵAIAgentNoteDetailsComponent_BaseFactory || (ɵAIAgentNoteDetailsComponent_BaseFactory = i0.ɵɵgetInheritedFactory(AIAgentNoteDetailsComponent)))(t || AIAgentNoteDetailsComponent); }; })();
|
|
41
|
+
AIAgentNoteDetailsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AIAgentNoteDetailsComponent, selectors: [["gen-aiagentnote-form-details"]], inputs: { record: "record", EditMode: "EditMode" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "record-form"], ["FieldName", "AgentID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "AgentNoteTypeID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Note", "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", "Agent", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "AgentNoteType", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"]], template: function AIAgentNoteDetailsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
42
|
+
i0.ɵɵtemplate(0, AIAgentNoteDetailsComponent_div_0_Template, 9, 21, "div", 0);
|
|
43
|
+
} if (rf & 2) {
|
|
44
|
+
i0.ɵɵproperty("ngIf", ctx.record);
|
|
45
|
+
} }, 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}"] });
|
|
46
|
+
AIAgentNoteDetailsComponent = __decorate([
|
|
47
|
+
RegisterClass(BaseFormSectionComponent, 'AIAgent Notes.details') // Tell MemberJunction about this class
|
|
48
|
+
], AIAgentNoteDetailsComponent);
|
|
49
|
+
export { AIAgentNoteDetailsComponent };
|
|
50
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AIAgentNoteDetailsComponent, [{
|
|
51
|
+
type: Component,
|
|
52
|
+
args: [{ selector: 'gen-aiagentnote-form-details', template: `<div *ngIf="this.record">
|
|
53
|
+
<div class="record-form">
|
|
54
|
+
<mj-form-field
|
|
55
|
+
[record]="record"
|
|
56
|
+
[ShowLabel]="true"
|
|
57
|
+
FieldName="AgentID"
|
|
58
|
+
Type="textbox"
|
|
59
|
+
[EditMode]="EditMode"
|
|
60
|
+
LinkType="Record"
|
|
61
|
+
LinkComponentType="Search"
|
|
62
|
+
></mj-form-field>
|
|
63
|
+
<mj-form-field
|
|
64
|
+
[record]="record"
|
|
65
|
+
[ShowLabel]="true"
|
|
66
|
+
FieldName="AgentNoteTypeID"
|
|
67
|
+
Type="textbox"
|
|
68
|
+
[EditMode]="EditMode"
|
|
69
|
+
LinkType="Record"
|
|
70
|
+
LinkComponentType="Search"
|
|
71
|
+
></mj-form-field>
|
|
72
|
+
<mj-form-field
|
|
73
|
+
[record]="record"
|
|
74
|
+
[ShowLabel]="true"
|
|
75
|
+
FieldName="Note"
|
|
76
|
+
Type="textarea"
|
|
77
|
+
[EditMode]="EditMode"
|
|
78
|
+
></mj-form-field>
|
|
79
|
+
<mj-form-field
|
|
80
|
+
[record]="record"
|
|
81
|
+
[ShowLabel]="true"
|
|
82
|
+
FieldName="__mj_CreatedAt"
|
|
83
|
+
Type="textbox"
|
|
84
|
+
[EditMode]="EditMode"
|
|
85
|
+
></mj-form-field>
|
|
86
|
+
<mj-form-field
|
|
87
|
+
[record]="record"
|
|
88
|
+
[ShowLabel]="true"
|
|
89
|
+
FieldName="__mj_UpdatedAt"
|
|
90
|
+
Type="textbox"
|
|
91
|
+
[EditMode]="EditMode"
|
|
92
|
+
></mj-form-field>
|
|
93
|
+
<mj-form-field
|
|
94
|
+
[record]="record"
|
|
95
|
+
[ShowLabel]="true"
|
|
96
|
+
FieldName="Agent"
|
|
97
|
+
Type="textbox"
|
|
98
|
+
[EditMode]="EditMode"
|
|
99
|
+
></mj-form-field>
|
|
100
|
+
<mj-form-field
|
|
101
|
+
[record]="record"
|
|
102
|
+
[ShowLabel]="true"
|
|
103
|
+
FieldName="AgentNoteType"
|
|
104
|
+
Type="textbox"
|
|
105
|
+
[EditMode]="EditMode"
|
|
106
|
+
></mj-form-field>
|
|
107
|
+
|
|
108
|
+
</div>
|
|
109
|
+
</div>
|
|
110
|
+
`, 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"] }]
|
|
111
|
+
}], null, { record: [{
|
|
112
|
+
type: Input
|
|
113
|
+
}], EditMode: [{
|
|
114
|
+
type: Input
|
|
115
|
+
}] }); })();
|
|
116
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AIAgentNoteDetailsComponent, { className: "AIAgentNoteDetailsComponent", filePath: "src/lib/generated/Entities/AIAgentNote/sections/details.component.ts", lineNumber: 70 }); })();
|
|
117
|
+
export function LoadAIAgentNoteDetailsComponent() {
|
|
118
|
+
// does nothing, but called in order to prevent tree-shaking from eliminating this component from the build
|
|
119
|
+
}
|
|
120
|
+
//# sourceMappingURL=details.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"details.component.js","sourceRoot":"","sources":["../../../../../../src/lib/generated/Entities/AIAgentNote/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;IA+CrB,AAPA,AAPA,AAPA,AAPA,AATA,AATA,mCAQiB,uBASA,uBAOA,uBAOA,uBAOA,uBAOA,uBAOA;IAGzB,AADI,iBAAM,EACJ;;;IAtDM,eAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAKrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAKrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;;AAO1B,IAAM,2BAA2B,GAAjC,MAAM,2BAA4B,SAAQ,wBAAwB;IAAlE;;QAEe,aAAQ,GAAY,KAAK,CAAC;KAC/C;;0RAHY,2BAA2B,SAA3B,2BAA2B;8EAA3B,2BAA2B;QA5DzB,6EAAyB;;QAAnB,iCAAiB;;AA4DzB,2BAA2B;IAhEvC,aAAa,CAAC,wBAAwB,EAAE,uBAAuB,CAAC,CAAC,wCAAwC;GAgE7F,2BAA2B,CAGvC;;iFAHY,2BAA2B;cA/DvC,SAAS;2BACI,8BAA8B,YAE9B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA0DT;gBAGiB,MAAM;kBAAvB,KAAK;YACY,QAAQ;kBAAzB,KAAK;;kFAFG,2BAA2B;AAKxC,MAAM,UAAU,+BAA+B;IAC3C,2GAA2G;AAC/G,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AIAgentNoteTypeEntity } from '@memberjunction/core-entities';
|
|
2
|
+
import { BaseFormComponent } from '@memberjunction/ng-base-forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AIAgentNoteTypeFormComponent extends BaseFormComponent {
|
|
5
|
+
record: AIAgentNoteTypeEntity;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AIAgentNoteTypeFormComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AIAgentNoteTypeFormComponent, "gen-aiagentnotetype-form", never, {}, {}, never, never, false, never>;
|
|
8
|
+
}
|
|
9
|
+
export declare function LoadAIAgentNoteTypeFormComponent(): void;
|
|
10
|
+
//# sourceMappingURL=aiagentnotetype.form.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aiagentnotetype.form.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/AIAgentNoteType/aiagentnotetype.form.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAEtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAIlE,qBAMa,4BAA6B,SAAQ,iBAAiB;IACxD,MAAM,EAAG,qBAAqB,CAAC;yCAD7B,4BAA4B;2CAA5B,4BAA4B;CAExC;AAED,wBAAgB,gCAAgC,SAE/C"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import { Component } from '@angular/core';
|
|
8
|
+
import { RegisterClass } from '@memberjunction/global';
|
|
9
|
+
import { BaseFormComponent } from '@memberjunction/ng-base-forms';
|
|
10
|
+
import { LoadAIAgentNoteTypeDetailsComponent } 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 AIAgentNoteTypeFormComponent_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 AIAgentNoteTypeFormComponent_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 AIAgentNoteTypeFormComponent_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, " AIAgent Notes ");
|
|
33
|
+
i0.ɵɵelementEnd();
|
|
34
|
+
i0.ɵɵelementStart(10, "mj-tab-body");
|
|
35
|
+
i0.ɵɵelement(11, "mj-user-view-grid", 9);
|
|
36
|
+
i0.ɵɵelementEnd()()();
|
|
37
|
+
} if (rf & 2) {
|
|
38
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
39
|
+
i0.ɵɵadvance(2);
|
|
40
|
+
i0.ɵɵproperty("form", ctx_r1);
|
|
41
|
+
i0.ɵɵadvance(5);
|
|
42
|
+
i0.ɵɵproperty("record", ctx_r1.record)("EditMode", ctx_r1.EditMode);
|
|
43
|
+
i0.ɵɵadvance();
|
|
44
|
+
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved);
|
|
45
|
+
i0.ɵɵadvance(3);
|
|
46
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("AIAgent Notes", "AgentNoteTypeID"))("NewRecordValues", ctx_r1.NewRecordValues("AIAgent Notes"))("AllowLoad", ctx_r1.IsCurrentTab("AIAgent Notes"))("EditMode", ctx_r1.GridEditMode())("BottomMargin", ctx_r1.GridBottomMargin);
|
|
47
|
+
} }
|
|
48
|
+
let AIAgentNoteTypeFormComponent = class AIAgentNoteTypeFormComponent extends BaseFormComponent {
|
|
49
|
+
};
|
|
50
|
+
AIAgentNoteTypeFormComponent.ɵfac = /*@__PURE__*/ (() => { let ɵAIAgentNoteTypeFormComponent_BaseFactory; return function AIAgentNoteTypeFormComponent_Factory(t) { return (ɵAIAgentNoteTypeFormComponent_BaseFactory || (ɵAIAgentNoteTypeFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(AIAgentNoteTypeFormComponent)))(t || AIAgentNoteTypeFormComponent); }; })();
|
|
51
|
+
AIAgentNoteTypeFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AIAgentNoteTypeFormComponent, selectors: [["gen-aiagentnotetype-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", "AIAgent Note Types", "Section", "details", 3, "record", "EditMode"], ["Name", "AIAgent Notes", 3, "Visible"], [3, "Params", "NewRecordValues", "AllowLoad", "EditMode", "BottomMargin"]], template: function AIAgentNoteTypeFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
52
|
+
i0.ɵɵelementStart(0, "div", 1);
|
|
53
|
+
i0.ɵɵtemplate(1, AIAgentNoteTypeFormComponent_form_1_Template, 12, 9, "form", 2);
|
|
54
|
+
i0.ɵɵelementEnd();
|
|
55
|
+
} if (rf & 2) {
|
|
56
|
+
i0.ɵɵproperty("bottomMargin", 20)("rightMargin", 5);
|
|
57
|
+
i0.ɵɵadvance();
|
|
58
|
+
i0.ɵɵproperty("ngIf", ctx.record);
|
|
59
|
+
} }, dependencies: [i1.NgIf, i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.UserViewGridComponent, i4.SectionLoaderComponent, i5.FormToolbarComponent, i6.MJTabStripComponent, i6.MJTabBodyComponent, i6.MJTabComponent, i7.FillContainer], styles: [".k-pane[_ngcontent-%COMP%] {\n background-color: #F5F6FA;\n} \n\n\na[_ngcontent-%COMP%] {\n font-size: 14px;\n font-weight: bolder;\n}\n\n.tab-header-icon[_ngcontent-%COMP%] {\n margin-right: 5px;\n}\n\n.record-form[_ngcontent-%COMP%] {\n display: block;\n flex-direction: column;\n background-color: #F5F6FA;\n padding: 10px;\n}\n\n.record-form-group[_ngcontent-%COMP%] {\n margin-top: 0px;\n background-color: #F5F6FA;\n}\n\nbutton[_ngcontent-%COMP%] {\n margin-right: 5px;\n}\n\n.record-form[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] {\n margin-bottom: 10px;\n}\n\n.k-splitter[_ngcontent-%COMP%] {\n border-width: 0px;\n}\n\n.record-form-row[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: auto 1fr;\n align-items: start;\n gap: 10px;\n margin-bottom: 12px;\n padding-top: 5px;\n padding-bottom: 5px;\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n.record-form[_ngcontent-%COMP%] .record-form-row[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:first-child {\n font-weight: bold;\n padding-right: 10px;\n} \n\n.record-form[_ngcontent-%COMP%] .record-form-row[_ngcontent-%COMP%] > span[_ngcontent-%COMP%] {\n white-space: pre-line;\n max-height: 300px;\n overflow: auto;\n}\n\n \n\n@media (min-width: 768px) {\n .record-form-row[_ngcontent-%COMP%] {\n flex-direction: row;\n align-items: center;\n }\n\n .record-form-row[_ngcontent-%COMP%] label[_ngcontent-%COMP%] {\n width: 240px;\n margin-bottom: 0;\n }\n}"] });
|
|
60
|
+
AIAgentNoteTypeFormComponent = __decorate([
|
|
61
|
+
RegisterClass(BaseFormComponent, 'AIAgent Note Types') // Tell MemberJunction about this class
|
|
62
|
+
], AIAgentNoteTypeFormComponent);
|
|
63
|
+
export { AIAgentNoteTypeFormComponent };
|
|
64
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AIAgentNoteTypeFormComponent, [{
|
|
65
|
+
type: Component,
|
|
66
|
+
args: [{ selector: 'gen-aiagentnotetype-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=\"AIAgent Note Types\" \n Section=\"details\" \n [record]=\"record\" \n [EditMode]=\"this.EditMode\">\n </mj-form-section>\n </mj-tab-body>\n \n <mj-tab Name=\"AIAgent Notes\" [Visible]=\"record.IsSaved\"> \n AIAgent Notes\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('AIAgent Notes','AgentNoteTypeID')\" \n [NewRecordValues]=\"NewRecordValues('AIAgent Notes')\"\n [AllowLoad]=\"IsCurrentTab('AIAgent Notes')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n </mj-tabstrip>\n </form>\n</div>\n ", styles: [".k-pane {\n background-color: #F5F6FA;\n} \n\n\na {\n font-size: 14px;\n font-weight: bolder;\n}\n\n.tab-header-icon {\n margin-right: 5px;\n}\n\n.record-form {\n display: block;\n flex-direction: column;\n background-color: #F5F6FA;\n padding: 10px;\n}\n\n.record-form-group {\n margin-top: 0px;\n background-color: #F5F6FA;\n}\n\nbutton {\n margin-right: 5px;\n}\n\n.record-form h2 {\n margin-bottom: 10px;\n}\n\n.k-splitter {\n border-width: 0px;\n}\n\n.record-form-row {\n display: grid;\n grid-template-columns: auto 1fr;\n align-items: start;\n gap: 10px;\n margin-bottom: 12px;\n padding-top: 5px;\n padding-bottom: 5px;\n}\n\n\n/* .record-form .record-form-row:nth-child(odd) {\n background-color: #f2f2f2; \n} */\n\n/* \n.record-form .record-form-row:nth-child(even) {\n background-color: #ffffff; \n} */\n\n.record-form .record-form-row > :first-child {\n font-weight: bold;\n padding-right: 10px;\n} \n\n.record-form .record-form-row > span {\n white-space: pre-line;\n max-height: 300px;\n overflow: auto;\n}\n\n \n\n@media (min-width: 768px) {\n .record-form-row {\n flex-direction: row;\n align-items: center;\n }\n\n .record-form-row label {\n width: 240px;\n margin-bottom: 0;\n }\n}\n"] }]
|
|
67
|
+
}], null, null); })();
|
|
68
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AIAgentNoteTypeFormComponent, { className: "AIAgentNoteTypeFormComponent", filePath: "src/lib/generated/Entities/AIAgentNoteType/aiagentnotetype.form.component.ts", lineNumber: 14 }); })();
|
|
69
|
+
export function LoadAIAgentNoteTypeFormComponent() {
|
|
70
|
+
LoadAIAgentNoteTypeDetailsComponent();
|
|
71
|
+
}
|
|
72
|
+
//# sourceMappingURL=aiagentnotetype.form.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aiagentnotetype.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/AIAgentNoteType/aiagentnotetype.form.component.ts","../../../../../src/lib/generated/Entities/AIAgentNoteType/aiagentnotetype.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,iCAAwD;IACpD,+BACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IAGxC,AADY,AADI,iBAAc,EACJ,EACnB;;;IA7Bc,eAAa;IAAb,6BAAa;IAWV,eAAiB;IACjB,AADA,sCAAiB,6BACS;IAIL,cAA0B;IAA1B,+CAA0B;IAK/C,eAAqF;IAIrF,AADA,AADA,AADA,AADA,2GAAqF,4DACjC,mDACT,mCAChB,yCACM;;ADdtD,IAAM,4BAA4B,GAAlC,MAAM,4BAA6B,SAAQ,iBAAiB;;+RAAtD,4BAA4B,SAA5B,4BAA4B;+EAA5B,4BAA4B;QCbzC,8BAAyF;QACrF,gFAAyE;QA+B7E,iBAAM;;QAhCiE,AAApB,iCAAmB,kBAAkB;QAC7E,cAAY;QAAZ,iCAAY;;ADYV,4BAA4B;IANxC,aAAa,CAAC,iBAAiB,EAAE,oBAAoB,CAAC,CAAC,uCAAuC;GAMlF,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 { AIAgentNoteTypeEntity } from '@memberjunction/core-entities';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AIAgentNoteTypeDetailsComponent extends BaseFormSectionComponent {
|
|
5
|
+
record: AIAgentNoteTypeEntity;
|
|
6
|
+
EditMode: boolean;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AIAgentNoteTypeDetailsComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AIAgentNoteTypeDetailsComponent, "gen-aiagentnotetype-form-details", never, { "record": { "alias": "record"; "required": false; }; "EditMode": { "alias": "EditMode"; "required": false; }; }, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
10
|
+
export declare function LoadAIAgentNoteTypeDetailsComponent(): 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/AIAgentNoteType/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,qBAuCa,+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,89 @@
|
|
|
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 AIAgentNoteTypeDetailsComponent_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);
|
|
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
|
+
} }
|
|
28
|
+
let AIAgentNoteTypeDetailsComponent = class AIAgentNoteTypeDetailsComponent extends BaseFormSectionComponent {
|
|
29
|
+
constructor() {
|
|
30
|
+
super(...arguments);
|
|
31
|
+
this.EditMode = false;
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
AIAgentNoteTypeDetailsComponent.ɵfac = /*@__PURE__*/ (() => { let ɵAIAgentNoteTypeDetailsComponent_BaseFactory; return function AIAgentNoteTypeDetailsComponent_Factory(t) { return (ɵAIAgentNoteTypeDetailsComponent_BaseFactory || (ɵAIAgentNoteTypeDetailsComponent_BaseFactory = i0.ɵɵgetInheritedFactory(AIAgentNoteTypeDetailsComponent)))(t || AIAgentNoteTypeDetailsComponent); }; })();
|
|
35
|
+
AIAgentNoteTypeDetailsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AIAgentNoteTypeDetailsComponent, selectors: [["gen-aiagentnotetype-form-details"]], inputs: { record: "record", EditMode: "EditMode" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "record-form"], ["FieldName", "Name", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Description", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "__mj_CreatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "__mj_UpdatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"]], template: function AIAgentNoteTypeDetailsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
36
|
+
i0.ɵɵtemplate(0, AIAgentNoteTypeDetailsComponent_div_0_Template, 6, 12, "div", 0);
|
|
37
|
+
} if (rf & 2) {
|
|
38
|
+
i0.ɵɵproperty("ngIf", ctx.record);
|
|
39
|
+
} }, 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}"] });
|
|
40
|
+
AIAgentNoteTypeDetailsComponent = __decorate([
|
|
41
|
+
RegisterClass(BaseFormSectionComponent, 'AIAgent Note Types.details') // Tell MemberJunction about this class
|
|
42
|
+
], AIAgentNoteTypeDetailsComponent);
|
|
43
|
+
export { AIAgentNoteTypeDetailsComponent };
|
|
44
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AIAgentNoteTypeDetailsComponent, [{
|
|
45
|
+
type: Component,
|
|
46
|
+
args: [{ selector: 'gen-aiagentnotetype-form-details', template: `<div *ngIf="this.record">
|
|
47
|
+
<div class="record-form">
|
|
48
|
+
<mj-form-field
|
|
49
|
+
[record]="record"
|
|
50
|
+
[ShowLabel]="true"
|
|
51
|
+
FieldName="Name"
|
|
52
|
+
Type="textarea"
|
|
53
|
+
[EditMode]="EditMode"
|
|
54
|
+
></mj-form-field>
|
|
55
|
+
<mj-form-field
|
|
56
|
+
[record]="record"
|
|
57
|
+
[ShowLabel]="true"
|
|
58
|
+
FieldName="Description"
|
|
59
|
+
Type="textarea"
|
|
60
|
+
[EditMode]="EditMode"
|
|
61
|
+
></mj-form-field>
|
|
62
|
+
<mj-form-field
|
|
63
|
+
[record]="record"
|
|
64
|
+
[ShowLabel]="true"
|
|
65
|
+
FieldName="__mj_CreatedAt"
|
|
66
|
+
Type="textbox"
|
|
67
|
+
[EditMode]="EditMode"
|
|
68
|
+
></mj-form-field>
|
|
69
|
+
<mj-form-field
|
|
70
|
+
[record]="record"
|
|
71
|
+
[ShowLabel]="true"
|
|
72
|
+
FieldName="__mj_UpdatedAt"
|
|
73
|
+
Type="textbox"
|
|
74
|
+
[EditMode]="EditMode"
|
|
75
|
+
></mj-form-field>
|
|
76
|
+
|
|
77
|
+
</div>
|
|
78
|
+
</div>
|
|
79
|
+
`, 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"] }]
|
|
80
|
+
}], null, { record: [{
|
|
81
|
+
type: Input
|
|
82
|
+
}], EditMode: [{
|
|
83
|
+
type: Input
|
|
84
|
+
}] }); })();
|
|
85
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AIAgentNoteTypeDetailsComponent, { className: "AIAgentNoteTypeDetailsComponent", filePath: "src/lib/generated/Entities/AIAgentNoteType/sections/details.component.ts", lineNumber: 45 }); })();
|
|
86
|
+
export function LoadAIAgentNoteTypeDetailsComponent() {
|
|
87
|
+
// does nothing, but called in order to prevent tree-shaking from eliminating this component from the build
|
|
88
|
+
}
|
|
89
|
+
//# sourceMappingURL=details.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"details.component.js","sourceRoot":"","sources":["../../../../../../src/lib/generated/Entities/AIAgentNoteType/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;IAsBrB,AAPA,AAPA,AAPA,mCAMiB,uBAOA,uBAOA,uBAOA;IAGzB,AADI,iBAAM,EACJ;;;IA7BM,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;;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;QAnC7B,iFAAyB;;QAAnB,iCAAiB;;AAmCzB,+BAA+B;IAvC3C,aAAa,CAAC,wBAAwB,EAAE,4BAA4B,CAAC,CAAC,wCAAwC;GAuClG,+BAA+B,CAG3C;;iFAHY,+BAA+B;cAtC3C,SAAS;2BACI,kCAAkC,YAElC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAiCT;gBAGiB,MAAM;kBAAvB,KAAK;YACY,QAAQ;kBAAzB,KAAK;;kFAFG,+BAA+B;AAK5C,MAAM,UAAU,mCAAmC;IAC/C,2GAA2G;AAC/G,CAAC"}
|
|
@@ -69,6 +69,12 @@ function AIModelFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
69
69
|
i0.ɵɵelementEnd();
|
|
70
70
|
i0.ɵɵelementStart(34, "mj-tab-body");
|
|
71
71
|
i0.ɵɵelement(35, "mj-user-view-grid", 9);
|
|
72
|
+
i0.ɵɵelementEnd();
|
|
73
|
+
i0.ɵɵelementStart(36, "mj-tab", 16);
|
|
74
|
+
i0.ɵɵtext(37, " AIAgent Models ");
|
|
75
|
+
i0.ɵɵelementEnd();
|
|
76
|
+
i0.ɵɵelementStart(38, "mj-tab-body");
|
|
77
|
+
i0.ɵɵelement(39, "mj-user-view-grid", 9);
|
|
72
78
|
i0.ɵɵelementEnd()()();
|
|
73
79
|
} if (rf & 2) {
|
|
74
80
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -104,13 +110,17 @@ function AIModelFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
104
110
|
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved);
|
|
105
111
|
i0.ɵɵadvance(3);
|
|
106
112
|
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("Entity AI Actions", "AIModelID"))("NewRecordValues", ctx_r1.NewRecordValues("Entity AI Actions"))("AllowLoad", ctx_r1.IsCurrentTab("Entity AI Actions"))("EditMode", ctx_r1.GridEditMode())("BottomMargin", ctx_r1.GridBottomMargin);
|
|
113
|
+
i0.ɵɵadvance();
|
|
114
|
+
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved);
|
|
115
|
+
i0.ɵɵadvance(3);
|
|
116
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("AIAgent Models", "ModelID"))("NewRecordValues", ctx_r1.NewRecordValues("AIAgent Models"))("AllowLoad", ctx_r1.IsCurrentTab("AIAgent Models"))("EditMode", ctx_r1.GridEditMode())("BottomMargin", ctx_r1.GridBottomMargin);
|
|
107
117
|
} }
|
|
108
118
|
let AIModelFormComponent = class AIModelFormComponent extends BaseFormComponent {
|
|
109
119
|
};
|
|
110
120
|
AIModelFormComponent.ɵfac = /*@__PURE__*/ (() => { let ɵAIModelFormComponent_BaseFactory; return function AIModelFormComponent_Factory(t) { return (ɵAIModelFormComponent_BaseFactory || (ɵAIModelFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(AIModelFormComponent)))(t || AIModelFormComponent); }; })();
|
|
111
|
-
AIModelFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AIModelFormComponent, selectors: [["gen-aimodel-form"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 3, consts: [["form", "ngForm"], ["mjFillContainer", "", 1, "record-form-container", 3, "bottomMargin", "rightMargin"], ["class", "record-form", "mjFillContainer", "", 4, "ngIf"], ["mjFillContainer", "", 1, "record-form"], [3, "form"], ["mjFillContainer", "", 3, "TabSelected", "ResizeContainer"], ["Name", "Details"], ["Entity", "AI Models", "Section", "details", 3, "record", "EditMode"], ["Name", "AI Actions", 3, "Visible"], [3, "Params", "NewRecordValues", "AllowLoad", "EditMode", "BottomMargin"], ["Name", "Entity Documents", 3, "Visible"], ["Name", "AI Model Actions", 3, "Visible"], ["Name", "Vector Indexes", 3, "Visible"], ["Name", "Content Types", 3, "Visible"], ["Name", "AI Result Cache", 3, "Visible"], ["Name", "Entity AI Actions", 3, "Visible"]], template: function AIModelFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
121
|
+
AIModelFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AIModelFormComponent, selectors: [["gen-aimodel-form"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 3, consts: [["form", "ngForm"], ["mjFillContainer", "", 1, "record-form-container", 3, "bottomMargin", "rightMargin"], ["class", "record-form", "mjFillContainer", "", 4, "ngIf"], ["mjFillContainer", "", 1, "record-form"], [3, "form"], ["mjFillContainer", "", 3, "TabSelected", "ResizeContainer"], ["Name", "Details"], ["Entity", "AI Models", "Section", "details", 3, "record", "EditMode"], ["Name", "AI Actions", 3, "Visible"], [3, "Params", "NewRecordValues", "AllowLoad", "EditMode", "BottomMargin"], ["Name", "Entity Documents", 3, "Visible"], ["Name", "AI Model Actions", 3, "Visible"], ["Name", "Vector Indexes", 3, "Visible"], ["Name", "Content Types", 3, "Visible"], ["Name", "AI Result Cache", 3, "Visible"], ["Name", "Entity AI Actions", 3, "Visible"], ["Name", "AIAgent Models", 3, "Visible"]], template: function AIModelFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
112
122
|
i0.ɵɵelementStart(0, "div", 1);
|
|
113
|
-
i0.ɵɵtemplate(1, AIModelFormComponent_form_1_Template,
|
|
123
|
+
i0.ɵɵtemplate(1, AIModelFormComponent_form_1_Template, 40, 51, "form", 2);
|
|
114
124
|
i0.ɵɵelementEnd();
|
|
115
125
|
} if (rf & 2) {
|
|
116
126
|
i0.ɵɵproperty("bottomMargin", 20)("rightMargin", 5);
|
|
@@ -123,7 +133,7 @@ AIModelFormComponent = __decorate([
|
|
|
123
133
|
export { AIModelFormComponent };
|
|
124
134
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AIModelFormComponent, [{
|
|
125
135
|
type: Component,
|
|
126
|
-
args: [{ selector: 'gen-aimodel-form', template: "<div class=\"record-form-container\" mjFillContainer [bottomMargin]=\"20\" [rightMargin]=\"5\">\n <form *ngIf=\"record\" class=\"record-form\" #form=\"ngForm\" mjFillContainer>\n <mj-form-toolbar [form]=\"this\"></mj-form-toolbar>\n\n <mj-tabstrip (TabSelected)=\"onTabSelect($event)\" mjFillContainer (ResizeContainer)=\"InvokeManualResize()\">\n \n <mj-tab Name=\"Details\">\n Details\n </mj-tab>\n <mj-tab-body>\n <mj-form-section \n Entity=\"AI Models\" \n Section=\"details\" \n [record]=\"record\" \n [EditMode]=\"this.EditMode\">\n </mj-form-section>\n </mj-tab-body>\n \n <mj-tab Name=\"AI Actions\" [Visible]=\"record.IsSaved\"> \n AI Actions\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('AI Actions','DefaultModelID')\" \n [NewRecordValues]=\"NewRecordValues('AI Actions')\"\n [AllowLoad]=\"IsCurrentTab('AI Actions')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"Entity Documents\" [Visible]=\"record.IsSaved\"> \n Entity Documents\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Entity Documents','AIModelID')\" \n [NewRecordValues]=\"NewRecordValues('Entity Documents')\"\n [AllowLoad]=\"IsCurrentTab('Entity Documents')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"AI Model Actions\" [Visible]=\"record.IsSaved\"> \n AI Model Actions\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('AI Model Actions','AIModelID')\" \n [NewRecordValues]=\"NewRecordValues('AI Model Actions')\"\n [AllowLoad]=\"IsCurrentTab('AI Model Actions')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"Vector Indexes\" [Visible]=\"record.IsSaved\"> \n Vector Indexes\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Vector Indexes','EmbeddingModelID')\" \n [NewRecordValues]=\"NewRecordValues('Vector Indexes')\"\n [AllowLoad]=\"IsCurrentTab('Vector Indexes')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"Content Types\" [Visible]=\"record.IsSaved\"> \n Content Types\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Content Types','AIModelID')\" \n [NewRecordValues]=\"NewRecordValues('Content Types')\"\n [AllowLoad]=\"IsCurrentTab('Content Types')\" \n [EditMode]=\"GridEditMode()\" \n [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','AIModelID')\" \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=\"Entity AI Actions\" [Visible]=\"record.IsSaved\"> \n Entity AI Actions\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Entity AI Actions','AIModelID')\" \n [NewRecordValues]=\"NewRecordValues('Entity AI Actions')\"\n [AllowLoad]=\"IsCurrentTab('Entity AI Actions')\" \n [EditMode]=\"GridEditMode()\" \n [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"] }]
|
|
136
|
+
args: [{ selector: 'gen-aimodel-form', template: "<div class=\"record-form-container\" mjFillContainer [bottomMargin]=\"20\" [rightMargin]=\"5\">\n <form *ngIf=\"record\" class=\"record-form\" #form=\"ngForm\" mjFillContainer>\n <mj-form-toolbar [form]=\"this\"></mj-form-toolbar>\n\n <mj-tabstrip (TabSelected)=\"onTabSelect($event)\" mjFillContainer (ResizeContainer)=\"InvokeManualResize()\">\n \n <mj-tab Name=\"Details\">\n Details\n </mj-tab>\n <mj-tab-body>\n <mj-form-section \n Entity=\"AI Models\" \n Section=\"details\" \n [record]=\"record\" \n [EditMode]=\"this.EditMode\">\n </mj-form-section>\n </mj-tab-body>\n \n <mj-tab Name=\"AI Actions\" [Visible]=\"record.IsSaved\"> \n AI Actions\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('AI Actions','DefaultModelID')\" \n [NewRecordValues]=\"NewRecordValues('AI Actions')\"\n [AllowLoad]=\"IsCurrentTab('AI Actions')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"Entity Documents\" [Visible]=\"record.IsSaved\"> \n Entity Documents\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Entity Documents','AIModelID')\" \n [NewRecordValues]=\"NewRecordValues('Entity Documents')\"\n [AllowLoad]=\"IsCurrentTab('Entity Documents')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"AI Model Actions\" [Visible]=\"record.IsSaved\"> \n AI Model Actions\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('AI Model Actions','AIModelID')\" \n [NewRecordValues]=\"NewRecordValues('AI Model Actions')\"\n [AllowLoad]=\"IsCurrentTab('AI Model Actions')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"Vector Indexes\" [Visible]=\"record.IsSaved\"> \n Vector Indexes\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Vector Indexes','EmbeddingModelID')\" \n [NewRecordValues]=\"NewRecordValues('Vector Indexes')\"\n [AllowLoad]=\"IsCurrentTab('Vector Indexes')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"Content Types\" [Visible]=\"record.IsSaved\"> \n Content Types\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Content Types','AIModelID')\" \n [NewRecordValues]=\"NewRecordValues('Content Types')\"\n [AllowLoad]=\"IsCurrentTab('Content Types')\" \n [EditMode]=\"GridEditMode()\" \n [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','AIModelID')\" \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=\"Entity AI Actions\" [Visible]=\"record.IsSaved\"> \n Entity AI Actions\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Entity AI Actions','AIModelID')\" \n [NewRecordValues]=\"NewRecordValues('Entity AI Actions')\"\n [AllowLoad]=\"IsCurrentTab('Entity AI Actions')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"AIAgent Models\" [Visible]=\"record.IsSaved\"> \n AIAgent Models\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('AIAgent Models','ModelID')\" \n [NewRecordValues]=\"NewRecordValues('AIAgent Models')\"\n [AllowLoad]=\"IsCurrentTab('AIAgent Models')\" \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"] }]
|
|
127
137
|
}], null, null); })();
|
|
128
138
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AIModelFormComponent, { className: "AIModelFormComponent", filePath: "src/lib/generated/Entities/AIModel/aimodel.form.component.ts", lineNumber: 14 }); })();
|
|
129
139
|
export function LoadAIModelFormComponent() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aimodel.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/AIModel/aimodel.form.component.ts","../../../../../src/lib/generated/Entities/AIModel/aimodel.form.component.html"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,2BAA2B,EAAE,MAAM,8BAA8B,CAAA;;;;;;;;;;;ICHtE,kCAAyE;IACrE,qCAAiD;IAEzC,sCAA0G;IAAzC,AAApD,wMAAe,0BAAmB,KAAC,6LAAoC,2BAAoB,KAAC;IAErG,iCAAuB;IACnB,yBACJ;IAAA,iBAAS;IACT,mCAAa;IACT,qCAKkB;IACtB,iBAAc;IAEd,iCAAqD;IACjD,4BACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IACxB,iBAAc;IAEd,mCAA2D;IACvD,mCACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IACxB,iBAAc;IAEd,mCAA2D;IACvD,mCACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IACxB,iBAAc;IAEd,mCAAyD;IACrD,iCACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IACxB,iBAAc;IAEd,mCAAwD;IACpD,gCACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IACxB,iBAAc;IAEd,mCAA0D;IACtD,kCACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IACxB,iBAAc;IAEd,mCAA4D;IACxD,oCACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IAGxC,AADY,AADI,iBAAc,EACJ,EACnB;;;
|
|
1
|
+
{"version":3,"file":"aimodel.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/AIModel/aimodel.form.component.ts","../../../../../src/lib/generated/Entities/AIModel/aimodel.form.component.html"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,2BAA2B,EAAE,MAAM,8BAA8B,CAAA;;;;;;;;;;;ICHtE,kCAAyE;IACrE,qCAAiD;IAEzC,sCAA0G;IAAzC,AAApD,wMAAe,0BAAmB,KAAC,6LAAoC,2BAAoB,KAAC;IAErG,iCAAuB;IACnB,yBACJ;IAAA,iBAAS;IACT,mCAAa;IACT,qCAKkB;IACtB,iBAAc;IAEd,iCAAqD;IACjD,4BACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IACxB,iBAAc;IAEd,mCAA2D;IACvD,mCACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IACxB,iBAAc;IAEd,mCAA2D;IACvD,mCACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IACxB,iBAAc;IAEd,mCAAyD;IACrD,iCACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IACxB,iBAAc;IAEd,mCAAwD;IACpD,gCACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IACxB,iBAAc;IAEd,mCAA0D;IACtD,kCACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IACxB,iBAAc;IAEd,mCAA4D;IACxD,oCACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IACxB,iBAAc;IAEd,mCAAyD;IACrD,iCACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IAGxC,AADY,AADI,iBAAc,EACJ,EACnB;;;IAxHc,eAAa;IAAb,6BAAa;IAWV,eAAiB;IACjB,AADA,sCAAiB,6BACS;IAIR,cAA0B;IAA1B,+CAA0B;IAK5C,eAAiF;IAIjF,AADA,AADA,AADA,AADA,uGAAiF,yDAChC,gDACT,mCACb,yCACM;IAIT,cAA0B;IAA1B,+CAA0B;IAKlD,eAAkF;IAIlF,AADA,AADA,AADA,AADA,wGAAkF,+DAC3B,sDACT,mCACnB,yCACM;IAIT,cAA0B;IAA1B,+CAA0B;IAKlD,eAAkF;IAIlF,AADA,AADA,AADA,AADA,wGAAkF,+DAC3B,sDACT,mCACnB,yCACM;IAIX,cAA0B;IAA1B,+CAA0B;IAKhD,eAAuF;IAIvF,AADA,AADA,AADA,AADA,6GAAuF,6DAClC,oDACT,mCACjB,yCACM;IAIZ,cAA0B;IAA1B,+CAA0B;IAK/C,eAA+E;IAI/E,AADA,AADA,AADA,AADA,qGAA+E,4DAC3B,mDACT,mCAChB,yCACM;IAIV,cAA0B;IAA1B,+CAA0B;IAKjD,eAAiF;IAIjF,AADA,AADA,AADA,AADA,uGAAiF,8DAC3B,qDACT,mCAClB,yCACM;IAIR,cAA0B;IAA1B,+CAA0B;IAKnD,eAAmF;IAInF,AADA,AADA,AADA,AADA,yGAAmF,gEAC3B,uDACT,mCACpB,yCACM;IAIX,cAA0B;IAA1B,+CAA0B;IAKhD,eAA8E;IAI9E,AADA,AADA,AADA,AADA,oGAA8E,6DACzB,oDACT,mCACjB,yCACM;;ADzGtD,IAAM,oBAAoB,GAA1B,MAAM,oBAAqB,SAAQ,iBAAiB;;uPAA9C,oBAAoB,SAApB,oBAAoB;uEAApB,oBAAoB;QCbjC,8BAAyF;QACrF,yEAAyE;QA0H7E,iBAAM;;QA3HiE,AAApB,iCAAmB,kBAAkB;QAC7E,cAAY;QAAZ,iCAAY;;ADYV,oBAAoB;IANhC,aAAa,CAAC,iBAAiB,EAAE,WAAW,CAAC,CAAC,uCAAuC;GAMzE,oBAAoB,CAEhC;;iFAFY,oBAAoB;cALhC,SAAS;2BACI,kBAAkB;;kFAInB,oBAAoB;AAIjC,MAAM,UAAU,wBAAwB;IACpC,2BAA2B,EAAE,CAAC;AAClC,CAAC"}
|
|
@@ -68,28 +68,34 @@ function ActionFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
68
68
|
i0.ɵɵelement(34, "mj-user-view-grid", 16);
|
|
69
69
|
i0.ɵɵelementEnd();
|
|
70
70
|
i0.ɵɵelementStart(35, "mj-tab", 21);
|
|
71
|
-
i0.ɵɵtext(36, "
|
|
71
|
+
i0.ɵɵtext(36, " AIAgent Actions ");
|
|
72
72
|
i0.ɵɵelementEnd();
|
|
73
73
|
i0.ɵɵelementStart(37, "mj-tab-body");
|
|
74
74
|
i0.ɵɵelement(38, "mj-user-view-grid", 16);
|
|
75
75
|
i0.ɵɵelementEnd();
|
|
76
76
|
i0.ɵɵelementStart(39, "mj-tab", 22);
|
|
77
|
-
i0.ɵɵtext(40, "
|
|
77
|
+
i0.ɵɵtext(40, " Action Contexts ");
|
|
78
78
|
i0.ɵɵelementEnd();
|
|
79
79
|
i0.ɵɵelementStart(41, "mj-tab-body");
|
|
80
80
|
i0.ɵɵelement(42, "mj-user-view-grid", 16);
|
|
81
81
|
i0.ɵɵelementEnd();
|
|
82
82
|
i0.ɵɵelementStart(43, "mj-tab", 23);
|
|
83
|
-
i0.ɵɵtext(44, "
|
|
83
|
+
i0.ɵɵtext(44, " Entity Actions ");
|
|
84
84
|
i0.ɵɵelementEnd();
|
|
85
85
|
i0.ɵɵelementStart(45, "mj-tab-body");
|
|
86
86
|
i0.ɵɵelement(46, "mj-user-view-grid", 16);
|
|
87
87
|
i0.ɵɵelementEnd();
|
|
88
88
|
i0.ɵɵelementStart(47, "mj-tab", 24);
|
|
89
|
-
i0.ɵɵtext(48, "
|
|
89
|
+
i0.ɵɵtext(48, " Execution Logs ");
|
|
90
90
|
i0.ɵɵelementEnd();
|
|
91
91
|
i0.ɵɵelementStart(49, "mj-tab-body");
|
|
92
92
|
i0.ɵɵelement(50, "mj-user-view-grid", 16);
|
|
93
|
+
i0.ɵɵelementEnd();
|
|
94
|
+
i0.ɵɵelementStart(51, "mj-tab", 25);
|
|
95
|
+
i0.ɵɵtext(52, " Authorizations ");
|
|
96
|
+
i0.ɵɵelementEnd();
|
|
97
|
+
i0.ɵɵelementStart(53, "mj-tab-body");
|
|
98
|
+
i0.ɵɵelement(54, "mj-user-view-grid", 16);
|
|
93
99
|
i0.ɵɵelementEnd()()()()();
|
|
94
100
|
} if (rf & 2) {
|
|
95
101
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -122,6 +128,10 @@ function ActionFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
122
128
|
i0.ɵɵadvance();
|
|
123
129
|
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved);
|
|
124
130
|
i0.ɵɵadvance(3);
|
|
131
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("AIAgent Actions", "ActionID"))("NewRecordValues", ctx_r1.NewRecordValues("AIAgent Actions"))("AllowLoad", ctx_r1.IsCurrentTab("AIAgent Actions"))("EditMode", ctx_r1.GridEditMode())("BottomMargin", ctx_r1.GridBottomMargin);
|
|
132
|
+
i0.ɵɵadvance();
|
|
133
|
+
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved);
|
|
134
|
+
i0.ɵɵadvance(3);
|
|
125
135
|
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("Action Contexts", "ActionID"))("NewRecordValues", ctx_r1.NewRecordValues("Action Contexts"))("AllowLoad", ctx_r1.IsCurrentTab("Action Contexts"))("EditMode", ctx_r1.GridEditMode())("BottomMargin", ctx_r1.GridBottomMargin);
|
|
126
136
|
i0.ɵɵadvance();
|
|
127
137
|
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved);
|
|
@@ -139,9 +149,9 @@ function ActionFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
139
149
|
let ActionFormComponent = class ActionFormComponent extends BaseFormComponent {
|
|
140
150
|
};
|
|
141
151
|
ActionFormComponent.ɵfac = /*@__PURE__*/ (() => { let ɵActionFormComponent_BaseFactory; return function ActionFormComponent_Factory(t) { return (ɵActionFormComponent_BaseFactory || (ɵActionFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ActionFormComponent)))(t || ActionFormComponent); }; })();
|
|
142
|
-
ActionFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ActionFormComponent, selectors: [["gen-action-form"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 3, consts: [["form", "ngForm"], ["topArea", ""], ["mjFillContainer", "", 1, "record-form-container", 3, "bottomMargin", "rightMargin"], ["class", "record-form", "mjFillContainer", "", 4, "ngIf"], ["mjFillContainer", "", 1, "record-form"], [3, "form"], ["orientation", "vertical", "mjFillContainer", "", 3, "layoutChange"], [3, "collapsible", "size"], [1, "record-form-group"], ["Entity", "Actions", "Section", "top-area", 3, "record", "EditMode"], ["mjFillContainer", "", 3, "TabSelected", "ResizeContainer"], ["Name", "Details"], ["Entity", "Actions", "Section", "details", 3, "record", "EditMode"], ["Name", "Code"], ["Entity", "Actions", "Section", "code", 3, "record", "EditMode"], ["Name", "Params", 3, "Visible"], [3, "Params", "NewRecordValues", "AllowLoad", "EditMode", "BottomMargin"], ["Name", "Libraries", 3, "Visible"], [1, "fa-solid", "fa-book", "tab-header-icon"], ["Name", "Scheduled Actions", 3, "Visible"], ["Name", "Result Codes", 3, "Visible"], ["Name", "Action Contexts", 3, "Visible"], ["Name", "Entity Actions", 3, "Visible"], ["Name", "Execution Logs", 3, "Visible"], ["Name", "Authorizations", 3, "Visible"]], template: function ActionFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
152
|
+
ActionFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ActionFormComponent, selectors: [["gen-action-form"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 3, consts: [["form", "ngForm"], ["topArea", ""], ["mjFillContainer", "", 1, "record-form-container", 3, "bottomMargin", "rightMargin"], ["class", "record-form", "mjFillContainer", "", 4, "ngIf"], ["mjFillContainer", "", 1, "record-form"], [3, "form"], ["orientation", "vertical", "mjFillContainer", "", 3, "layoutChange"], [3, "collapsible", "size"], [1, "record-form-group"], ["Entity", "Actions", "Section", "top-area", 3, "record", "EditMode"], ["mjFillContainer", "", 3, "TabSelected", "ResizeContainer"], ["Name", "Details"], ["Entity", "Actions", "Section", "details", 3, "record", "EditMode"], ["Name", "Code"], ["Entity", "Actions", "Section", "code", 3, "record", "EditMode"], ["Name", "Params", 3, "Visible"], [3, "Params", "NewRecordValues", "AllowLoad", "EditMode", "BottomMargin"], ["Name", "Libraries", 3, "Visible"], [1, "fa-solid", "fa-book", "tab-header-icon"], ["Name", "Scheduled Actions", 3, "Visible"], ["Name", "Result Codes", 3, "Visible"], ["Name", "AIAgent Actions", 3, "Visible"], ["Name", "Action Contexts", 3, "Visible"], ["Name", "Entity Actions", 3, "Visible"], ["Name", "Execution Logs", 3, "Visible"], ["Name", "Authorizations", 3, "Visible"]], template: function ActionFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
143
153
|
i0.ɵɵelementStart(0, "div", 2);
|
|
144
|
-
i0.ɵɵtemplate(1, ActionFormComponent_form_1_Template,
|
|
154
|
+
i0.ɵɵtemplate(1, ActionFormComponent_form_1_Template, 55, 63, "form", 3);
|
|
145
155
|
i0.ɵɵelementEnd();
|
|
146
156
|
} if (rf & 2) {
|
|
147
157
|
i0.ɵɵproperty("bottomMargin", 20)("rightMargin", 5);
|
|
@@ -154,7 +164,7 @@ ActionFormComponent = __decorate([
|
|
|
154
164
|
export { ActionFormComponent };
|
|
155
165
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ActionFormComponent, [{
|
|
156
166
|
type: Component,
|
|
157
|
-
args: [{ selector: 'gen-action-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 <kendo-splitter orientation=\"vertical\" (layoutChange)=\"splitterLayoutChange()\" mjFillContainer>\n <kendo-splitter-pane [collapsible]=\"true\" [size]=\"TopAreaHeight\">\n <div #topArea class=\"record-form-group\">\n <mj-form-section Entity=\"Actions\" Section=\"top-area\" [record]=\"record\" [EditMode]=\"this.EditMode\"></mj-form-section>\n </div>\n </kendo-splitter-pane>\n <kendo-splitter-pane>\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=\"Actions\" \n Section=\"details\" \n [record]=\"record\" \n [EditMode]=\"this.EditMode\">\n </mj-form-section>\n </mj-tab-body>\n \n <mj-tab Name=\"Code\">\n Code\n </mj-tab>\n <mj-tab-body>\n <mj-form-section \n Entity=\"Actions\" \n Section=\"code\" \n [record]=\"record\" \n [EditMode]=\"this.EditMode\">\n </mj-form-section>\n </mj-tab-body>\n \n <mj-tab Name=\"Params\" [Visible]=\"record.IsSaved\"> \n Params\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Action Params','ActionID')\" \n [NewRecordValues]=\"NewRecordValues('Action Params')\"\n [AllowLoad]=\"IsCurrentTab('Params')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"Libraries\" [Visible]=\"record.IsSaved\"> \n <span class=\"fa-solid fa-book tab-header-icon\"></span>Libraries\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Action Libraries','ActionID')\" \n [NewRecordValues]=\"NewRecordValues('Action Libraries')\"\n [AllowLoad]=\"IsCurrentTab('Libraries')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"Scheduled Actions\" [Visible]=\"record.IsSaved\"> \n Scheduled Actions\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Scheduled Actions','ActionID')\" \n [NewRecordValues]=\"NewRecordValues('Scheduled Actions')\"\n [AllowLoad]=\"IsCurrentTab('Scheduled Actions')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"Result Codes\" [Visible]=\"record.IsSaved\"> \n Result Codes\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Action Result Codes','ActionID')\" \n [NewRecordValues]=\"NewRecordValues('Action Result Codes')\"\n [AllowLoad]=\"IsCurrentTab('Result Codes')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"Action Contexts\" [Visible]=\"record.IsSaved\"> \n Action Contexts\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Action Contexts','ActionID')\" \n [NewRecordValues]=\"NewRecordValues('Action Contexts')\"\n [AllowLoad]=\"IsCurrentTab('Action Contexts')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"Entity Actions\" [Visible]=\"record.IsSaved\"> \n Entity Actions\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Entity Actions','ActionID')\" \n [NewRecordValues]=\"NewRecordValues('Entity Actions')\"\n [AllowLoad]=\"IsCurrentTab('Entity Actions')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"Execution Logs\" [Visible]=\"record.IsSaved\"> \n Execution Logs\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Action Execution Logs','ActionID')\" \n [NewRecordValues]=\"NewRecordValues('Action Execution Logs')\"\n [AllowLoad]=\"IsCurrentTab('Execution Logs')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"Authorizations\" [Visible]=\"record.IsSaved\"> \n Authorizations\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Action Authorizations','ActionID')\" \n [NewRecordValues]=\"NewRecordValues('Action Authorizations')\"\n [AllowLoad]=\"IsCurrentTab('Authorizations')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n </mj-tabstrip>\n </kendo-splitter-pane>\n </kendo-splitter>\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"] }]
|
|
167
|
+
args: [{ selector: 'gen-action-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 <kendo-splitter orientation=\"vertical\" (layoutChange)=\"splitterLayoutChange()\" mjFillContainer>\n <kendo-splitter-pane [collapsible]=\"true\" [size]=\"TopAreaHeight\">\n <div #topArea class=\"record-form-group\">\n <mj-form-section Entity=\"Actions\" Section=\"top-area\" [record]=\"record\" [EditMode]=\"this.EditMode\"></mj-form-section>\n </div>\n </kendo-splitter-pane>\n <kendo-splitter-pane>\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=\"Actions\" \n Section=\"details\" \n [record]=\"record\" \n [EditMode]=\"this.EditMode\">\n </mj-form-section>\n </mj-tab-body>\n \n <mj-tab Name=\"Code\">\n Code\n </mj-tab>\n <mj-tab-body>\n <mj-form-section \n Entity=\"Actions\" \n Section=\"code\" \n [record]=\"record\" \n [EditMode]=\"this.EditMode\">\n </mj-form-section>\n </mj-tab-body>\n \n <mj-tab Name=\"Params\" [Visible]=\"record.IsSaved\"> \n Params\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Action Params','ActionID')\" \n [NewRecordValues]=\"NewRecordValues('Action Params')\"\n [AllowLoad]=\"IsCurrentTab('Params')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"Libraries\" [Visible]=\"record.IsSaved\"> \n <span class=\"fa-solid fa-book tab-header-icon\"></span>Libraries\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Action Libraries','ActionID')\" \n [NewRecordValues]=\"NewRecordValues('Action Libraries')\"\n [AllowLoad]=\"IsCurrentTab('Libraries')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"Scheduled Actions\" [Visible]=\"record.IsSaved\"> \n Scheduled Actions\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Scheduled Actions','ActionID')\" \n [NewRecordValues]=\"NewRecordValues('Scheduled Actions')\"\n [AllowLoad]=\"IsCurrentTab('Scheduled Actions')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"Result Codes\" [Visible]=\"record.IsSaved\"> \n Result Codes\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Action Result Codes','ActionID')\" \n [NewRecordValues]=\"NewRecordValues('Action Result Codes')\"\n [AllowLoad]=\"IsCurrentTab('Result Codes')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"AIAgent Actions\" [Visible]=\"record.IsSaved\"> \n AIAgent Actions\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('AIAgent Actions','ActionID')\" \n [NewRecordValues]=\"NewRecordValues('AIAgent Actions')\"\n [AllowLoad]=\"IsCurrentTab('AIAgent Actions')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"Action Contexts\" [Visible]=\"record.IsSaved\"> \n Action Contexts\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Action Contexts','ActionID')\" \n [NewRecordValues]=\"NewRecordValues('Action Contexts')\"\n [AllowLoad]=\"IsCurrentTab('Action Contexts')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"Entity Actions\" [Visible]=\"record.IsSaved\"> \n Entity Actions\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Entity Actions','ActionID')\" \n [NewRecordValues]=\"NewRecordValues('Entity Actions')\"\n [AllowLoad]=\"IsCurrentTab('Entity Actions')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"Execution Logs\" [Visible]=\"record.IsSaved\"> \n Execution Logs\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Action Execution Logs','ActionID')\" \n [NewRecordValues]=\"NewRecordValues('Action Execution Logs')\"\n [AllowLoad]=\"IsCurrentTab('Execution Logs')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"Authorizations\" [Visible]=\"record.IsSaved\"> \n Authorizations\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Action Authorizations','ActionID')\" \n [NewRecordValues]=\"NewRecordValues('Action Authorizations')\"\n [AllowLoad]=\"IsCurrentTab('Authorizations')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n </mj-tabstrip>\n </kendo-splitter-pane>\n </kendo-splitter>\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"] }]
|
|
158
168
|
}], null, null); })();
|
|
159
169
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ActionFormComponent, { className: "ActionFormComponent", filePath: "src/lib/generated/Entities/Action/action.form.component.ts", lineNumber: 16 }); })();
|
|
160
170
|
export function LoadActionFormComponent() {
|