@memberjunction/ng-core-entity-forms 2.16.0 → 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,10 @@
|
|
|
1
|
+
import { AIAgentEntity } from '@memberjunction/core-entities';
|
|
2
|
+
import { BaseFormComponent } from '@memberjunction/ng-base-forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AIAgentFormComponent extends BaseFormComponent {
|
|
5
|
+
record: AIAgentEntity;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AIAgentFormComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AIAgentFormComponent, "gen-aiagent-form", never, {}, {}, never, never, false, never>;
|
|
8
|
+
}
|
|
9
|
+
export declare function LoadAIAgentFormComponent(): void;
|
|
10
|
+
//# sourceMappingURL=aiagent.form.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aiagent.form.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/AIAgent/aiagent.form.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAE9D,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAIlE,qBAMa,oBAAqB,SAAQ,iBAAiB;IAChD,MAAM,EAAG,aAAa,CAAC;yCADrB,oBAAoB;2CAApB,oBAAoB;CAEhC;AAED,wBAAgB,wBAAwB,SAEvC"}
|
|
@@ -0,0 +1,102 @@
|
|
|
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 { LoadAIAgentDetailsComponent } 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 AIAgentFormComponent_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 AIAgentFormComponent_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 AIAgentFormComponent_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 Learning Cycles ");
|
|
33
|
+
i0.ɵɵelementEnd();
|
|
34
|
+
i0.ɵɵelementStart(10, "mj-tab-body");
|
|
35
|
+
i0.ɵɵelement(11, "mj-user-view-grid", 9);
|
|
36
|
+
i0.ɵɵelementEnd();
|
|
37
|
+
i0.ɵɵelementStart(12, "mj-tab", 10);
|
|
38
|
+
i0.ɵɵtext(13, " AIAgent Models ");
|
|
39
|
+
i0.ɵɵelementEnd();
|
|
40
|
+
i0.ɵɵelementStart(14, "mj-tab-body");
|
|
41
|
+
i0.ɵɵelement(15, "mj-user-view-grid", 9);
|
|
42
|
+
i0.ɵɵelementEnd();
|
|
43
|
+
i0.ɵɵelementStart(16, "mj-tab", 11);
|
|
44
|
+
i0.ɵɵtext(17, " AIAgent Actions ");
|
|
45
|
+
i0.ɵɵelementEnd();
|
|
46
|
+
i0.ɵɵelementStart(18, "mj-tab-body");
|
|
47
|
+
i0.ɵɵelement(19, "mj-user-view-grid", 9);
|
|
48
|
+
i0.ɵɵelementEnd();
|
|
49
|
+
i0.ɵɵelementStart(20, "mj-tab", 12);
|
|
50
|
+
i0.ɵɵtext(21, " AIAgent Notes ");
|
|
51
|
+
i0.ɵɵelementEnd();
|
|
52
|
+
i0.ɵɵelementStart(22, "mj-tab-body");
|
|
53
|
+
i0.ɵɵelement(23, "mj-user-view-grid", 9);
|
|
54
|
+
i0.ɵɵelementEnd()()();
|
|
55
|
+
} if (rf & 2) {
|
|
56
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
57
|
+
i0.ɵɵadvance(2);
|
|
58
|
+
i0.ɵɵproperty("form", ctx_r1);
|
|
59
|
+
i0.ɵɵadvance(5);
|
|
60
|
+
i0.ɵɵproperty("record", ctx_r1.record)("EditMode", ctx_r1.EditMode);
|
|
61
|
+
i0.ɵɵadvance();
|
|
62
|
+
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved);
|
|
63
|
+
i0.ɵɵadvance(3);
|
|
64
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("AIAgent Learning Cycles", "AgentID"))("NewRecordValues", ctx_r1.NewRecordValues("AIAgent Learning Cycles"))("AllowLoad", ctx_r1.IsCurrentTab("AIAgent Learning Cycles"))("EditMode", ctx_r1.GridEditMode())("BottomMargin", ctx_r1.GridBottomMargin);
|
|
65
|
+
i0.ɵɵadvance();
|
|
66
|
+
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved);
|
|
67
|
+
i0.ɵɵadvance(3);
|
|
68
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("AIAgent Models", "AgentID"))("NewRecordValues", ctx_r1.NewRecordValues("AIAgent Models"))("AllowLoad", ctx_r1.IsCurrentTab("AIAgent Models"))("EditMode", ctx_r1.GridEditMode())("BottomMargin", ctx_r1.GridBottomMargin);
|
|
69
|
+
i0.ɵɵadvance();
|
|
70
|
+
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved);
|
|
71
|
+
i0.ɵɵadvance(3);
|
|
72
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("AIAgent Actions", "AgentID"))("NewRecordValues", ctx_r1.NewRecordValues("AIAgent Actions"))("AllowLoad", ctx_r1.IsCurrentTab("AIAgent Actions"))("EditMode", ctx_r1.GridEditMode())("BottomMargin", ctx_r1.GridBottomMargin);
|
|
73
|
+
i0.ɵɵadvance();
|
|
74
|
+
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved);
|
|
75
|
+
i0.ɵɵadvance(3);
|
|
76
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("AIAgent Notes", "AgentID"))("NewRecordValues", ctx_r1.NewRecordValues("AIAgent Notes"))("AllowLoad", ctx_r1.IsCurrentTab("AIAgent Notes"))("EditMode", ctx_r1.GridEditMode())("BottomMargin", ctx_r1.GridBottomMargin);
|
|
77
|
+
} }
|
|
78
|
+
let AIAgentFormComponent = class AIAgentFormComponent extends BaseFormComponent {
|
|
79
|
+
};
|
|
80
|
+
AIAgentFormComponent.ɵfac = /*@__PURE__*/ (() => { let ɵAIAgentFormComponent_BaseFactory; return function AIAgentFormComponent_Factory(t) { return (ɵAIAgentFormComponent_BaseFactory || (ɵAIAgentFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(AIAgentFormComponent)))(t || AIAgentFormComponent); }; })();
|
|
81
|
+
AIAgentFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AIAgentFormComponent, selectors: [["gen-aiagent-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", "AIAgents", "Section", "details", 3, "record", "EditMode"], ["Name", "AIAgent Learning Cycles", 3, "Visible"], [3, "Params", "NewRecordValues", "AllowLoad", "EditMode", "BottomMargin"], ["Name", "AIAgent Models", 3, "Visible"], ["Name", "AIAgent Actions", 3, "Visible"], ["Name", "AIAgent Notes", 3, "Visible"]], template: function AIAgentFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
82
|
+
i0.ɵɵelementStart(0, "div", 1);
|
|
83
|
+
i0.ɵɵtemplate(1, AIAgentFormComponent_form_1_Template, 24, 27, "form", 2);
|
|
84
|
+
i0.ɵɵelementEnd();
|
|
85
|
+
} if (rf & 2) {
|
|
86
|
+
i0.ɵɵproperty("bottomMargin", 20)("rightMargin", 5);
|
|
87
|
+
i0.ɵɵadvance();
|
|
88
|
+
i0.ɵɵproperty("ngIf", ctx.record);
|
|
89
|
+
} }, 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}"] });
|
|
90
|
+
AIAgentFormComponent = __decorate([
|
|
91
|
+
RegisterClass(BaseFormComponent, 'AIAgents') // Tell MemberJunction about this class
|
|
92
|
+
], AIAgentFormComponent);
|
|
93
|
+
export { AIAgentFormComponent };
|
|
94
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AIAgentFormComponent, [{
|
|
95
|
+
type: Component,
|
|
96
|
+
args: [{ selector: 'gen-aiagent-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=\"AIAgents\" \n Section=\"details\" \n [record]=\"record\" \n [EditMode]=\"this.EditMode\">\n </mj-form-section>\n </mj-tab-body>\n \n <mj-tab Name=\"AIAgent Learning Cycles\" [Visible]=\"record.IsSaved\"> \n AIAgent Learning Cycles\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('AIAgent Learning Cycles','AgentID')\" \n [NewRecordValues]=\"NewRecordValues('AIAgent Learning Cycles')\"\n [AllowLoad]=\"IsCurrentTab('AIAgent Learning Cycles')\" \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','AgentID')\" \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\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','AgentID')\" \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=\"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','AgentID')\" \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"] }]
|
|
97
|
+
}], null, null); })();
|
|
98
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AIAgentFormComponent, { className: "AIAgentFormComponent", filePath: "src/lib/generated/Entities/AIAgent/aiagent.form.component.ts", lineNumber: 14 }); })();
|
|
99
|
+
export function LoadAIAgentFormComponent() {
|
|
100
|
+
LoadAIAgentDetailsComponent();
|
|
101
|
+
}
|
|
102
|
+
//# sourceMappingURL=aiagent.form.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aiagent.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/AIAgent/aiagent.form.component.ts","../../../../../src/lib/generated/Entities/AIAgent/aiagent.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,iCAAkE;IAC9D,yCACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IACxB,iBAAc;IAEd,mCAAyD;IACrD,iCACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IACxB,iBAAc;IAEd,mCAA0D;IACtD,kCACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IACxB,iBAAc;IAEd,mCAAwD;IACpD,gCACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IAGxC,AADY,AADI,iBAAc,EACJ,EACnB;;;IApEc,eAAa;IAAb,6BAAa;IAWV,eAAiB;IACjB,AADA,sCAAiB,6BACS;IAIK,cAA0B;IAA1B,+CAA0B;IAKzD,eAAuF;IAIvF,AADA,AADA,AADA,AADA,6GAAuF,sEACzB,6DACT,mCAC1B,yCACM;IAIX,cAA0B;IAA1B,+CAA0B;IAKhD,eAA8E;IAI9E,AADA,AADA,AADA,AADA,oGAA8E,6DACzB,oDACT,mCACjB,yCACM;IAIV,cAA0B;IAA1B,+CAA0B;IAKjD,eAA+E;IAI/E,AADA,AADA,AADA,AADA,qGAA+E,8DACzB,qDACT,mCAClB,yCACM;IAIZ,cAA0B;IAA1B,+CAA0B;IAK/C,eAA6E;IAI7E,AADA,AADA,AADA,AADA,mGAA6E,4DACzB,mDACT,mCAChB,yCACM;;ADrDtD,IAAM,oBAAoB,GAA1B,MAAM,oBAAqB,SAAQ,iBAAiB;;uPAA9C,oBAAoB,SAApB,oBAAoB;uEAApB,oBAAoB;QCbjC,8BAAyF;QACrF,yEAAyE;QAsE7E,iBAAM;;QAvEiE,AAApB,iCAAmB,kBAAkB;QAC7E,cAAY;QAAZ,iCAAY;;ADYV,oBAAoB;IANhC,aAAa,CAAC,iBAAiB,EAAE,UAAU,CAAC,CAAC,uCAAuC;GAMxE,oBAAoB,CAEhC;;iFAFY,oBAAoB;cALhC,SAAS;2BACI,kBAAkB;;kFAInB,oBAAoB;AAIjC,MAAM,UAAU,wBAAwB;IACpC,2BAA2B,EAAE,CAAC;AAClC,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BaseFormSectionComponent } from '@memberjunction/ng-base-forms';
|
|
2
|
+
import { AIAgentEntity } from '@memberjunction/core-entities';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AIAgentDetailsComponent extends BaseFormSectionComponent {
|
|
5
|
+
record: AIAgentEntity;
|
|
6
|
+
EditMode: boolean;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AIAgentDetailsComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AIAgentDetailsComponent, "gen-aiagent-form-details", never, { "record": { "alias": "record"; "required": false; }; "EditMode": { "alias": "EditMode"; "required": false; }; }, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
10
|
+
export declare function LoadAIAgentDetailsComponent(): 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/AIAgent/sections/details.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;;AAE9D,qBA8Ca,uBAAwB,SAAQ,wBAAwB;IAC/C,MAAM,EAAG,aAAa,CAAC;IACvB,QAAQ,EAAE,OAAO,CAAS;yCAFnC,uBAAuB;2CAAvB,uBAAuB;CAGnC;AAED,wBAAgB,2BAA2B,SAE1C"}
|
|
@@ -0,0 +1,98 @@
|
|
|
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 AIAgentDetailsComponent_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);
|
|
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
|
+
} }
|
|
30
|
+
let AIAgentDetailsComponent = class AIAgentDetailsComponent extends BaseFormSectionComponent {
|
|
31
|
+
constructor() {
|
|
32
|
+
super(...arguments);
|
|
33
|
+
this.EditMode = false;
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
AIAgentDetailsComponent.ɵfac = /*@__PURE__*/ (() => { let ɵAIAgentDetailsComponent_BaseFactory; return function AIAgentDetailsComponent_Factory(t) { return (ɵAIAgentDetailsComponent_BaseFactory || (ɵAIAgentDetailsComponent_BaseFactory = i0.ɵɵgetInheritedFactory(AIAgentDetailsComponent)))(t || AIAgentDetailsComponent); }; })();
|
|
37
|
+
AIAgentDetailsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AIAgentDetailsComponent, selectors: [["gen-aiagent-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", "LogoURL", "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 AIAgentDetailsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
38
|
+
i0.ɵɵtemplate(0, AIAgentDetailsComponent_div_0_Template, 7, 15, "div", 0);
|
|
39
|
+
} if (rf & 2) {
|
|
40
|
+
i0.ɵɵproperty("ngIf", ctx.record);
|
|
41
|
+
} }, 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}"] });
|
|
42
|
+
AIAgentDetailsComponent = __decorate([
|
|
43
|
+
RegisterClass(BaseFormSectionComponent, 'AIAgents.details') // Tell MemberJunction about this class
|
|
44
|
+
], AIAgentDetailsComponent);
|
|
45
|
+
export { AIAgentDetailsComponent };
|
|
46
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AIAgentDetailsComponent, [{
|
|
47
|
+
type: Component,
|
|
48
|
+
args: [{ selector: 'gen-aiagent-form-details', template: `<div *ngIf="this.record">
|
|
49
|
+
<div class="record-form">
|
|
50
|
+
<mj-form-field
|
|
51
|
+
[record]="record"
|
|
52
|
+
[ShowLabel]="true"
|
|
53
|
+
FieldName="Name"
|
|
54
|
+
Type="textarea"
|
|
55
|
+
[EditMode]="EditMode"
|
|
56
|
+
></mj-form-field>
|
|
57
|
+
<mj-form-field
|
|
58
|
+
[record]="record"
|
|
59
|
+
[ShowLabel]="true"
|
|
60
|
+
FieldName="Description"
|
|
61
|
+
Type="textarea"
|
|
62
|
+
[EditMode]="EditMode"
|
|
63
|
+
></mj-form-field>
|
|
64
|
+
<mj-form-field
|
|
65
|
+
[record]="record"
|
|
66
|
+
[ShowLabel]="true"
|
|
67
|
+
FieldName="LogoURL"
|
|
68
|
+
Type="textarea"
|
|
69
|
+
[EditMode]="EditMode"
|
|
70
|
+
></mj-form-field>
|
|
71
|
+
<mj-form-field
|
|
72
|
+
[record]="record"
|
|
73
|
+
[ShowLabel]="true"
|
|
74
|
+
FieldName="__mj_CreatedAt"
|
|
75
|
+
Type="textbox"
|
|
76
|
+
[EditMode]="EditMode"
|
|
77
|
+
></mj-form-field>
|
|
78
|
+
<mj-form-field
|
|
79
|
+
[record]="record"
|
|
80
|
+
[ShowLabel]="true"
|
|
81
|
+
FieldName="__mj_UpdatedAt"
|
|
82
|
+
Type="textbox"
|
|
83
|
+
[EditMode]="EditMode"
|
|
84
|
+
></mj-form-field>
|
|
85
|
+
|
|
86
|
+
</div>
|
|
87
|
+
</div>
|
|
88
|
+
`, 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"] }]
|
|
89
|
+
}], null, { record: [{
|
|
90
|
+
type: Input
|
|
91
|
+
}], EditMode: [{
|
|
92
|
+
type: Input
|
|
93
|
+
}] }); })();
|
|
94
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AIAgentDetailsComponent, { className: "AIAgentDetailsComponent", filePath: "src/lib/generated/Entities/AIAgent/sections/details.component.ts", lineNumber: 52 }); })();
|
|
95
|
+
export function LoadAIAgentDetailsComponent() {
|
|
96
|
+
// does nothing, but called in order to prevent tree-shaking from eliminating this component from the build
|
|
97
|
+
}
|
|
98
|
+
//# sourceMappingURL=details.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"details.component.js","sourceRoot":"","sources":["../../../../../../src/lib/generated/Entities/AIAgent/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;IA6BrB,AAPA,AAPA,AAPA,AAPA,mCAMiB,uBAOA,uBAOA,uBAOA,uBAOA;IAGzB,AADI,iBAAM,EACJ;;;IApCM,eAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;;AAO1B,IAAM,uBAAuB,GAA7B,MAAM,uBAAwB,SAAQ,wBAAwB;IAA9D;;QAEe,aAAQ,GAAY,KAAK,CAAC;KAC/C;;sQAHY,uBAAuB,SAAvB,uBAAuB;0EAAvB,uBAAuB;QA1CrB,yEAAyB;;QAAnB,iCAAiB;;AA0CzB,uBAAuB;IA9CnC,aAAa,CAAC,wBAAwB,EAAE,kBAAkB,CAAC,CAAC,wCAAwC;GA8CxF,uBAAuB,CAGnC;;iFAHY,uBAAuB;cA7CnC,SAAS;2BACI,0BAA0B,YAE1B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAwCT;gBAGiB,MAAM;kBAAvB,KAAK;YACY,QAAQ;kBAAzB,KAAK;;kFAFG,uBAAuB;AAKpC,MAAM,UAAU,2BAA2B;IACvC,2GAA2G;AAC/G,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AIAgentActionEntity } from '@memberjunction/core-entities';
|
|
2
|
+
import { BaseFormComponent } from '@memberjunction/ng-base-forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AIAgentActionFormComponent extends BaseFormComponent {
|
|
5
|
+
record: AIAgentActionEntity;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AIAgentActionFormComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AIAgentActionFormComponent, "gen-aiagentaction-form", never, {}, {}, never, never, false, never>;
|
|
8
|
+
}
|
|
9
|
+
export declare function LoadAIAgentActionFormComponent(): void;
|
|
10
|
+
//# sourceMappingURL=aiagentaction.form.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aiagentaction.form.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/AIAgentAction/aiagentaction.form.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAEpE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAGlE,qBAMa,0BAA2B,SAAQ,iBAAiB;IACtD,MAAM,EAAG,mBAAmB,CAAC;yCAD3B,0BAA0B;2CAA1B,0BAA0B;CAEtC;AAED,wBAAgB,8BAA8B,SAE7C"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import { Component } from '@angular/core';
|
|
8
|
+
import { RegisterClass } from '@memberjunction/global';
|
|
9
|
+
import { BaseFormComponent } from '@memberjunction/ng-base-forms';
|
|
10
|
+
import { LoadAIAgentActionDetailsComponent } from "./sections/details.component";
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
import * as i1 from "@angular/common";
|
|
13
|
+
import * as i2 from "@angular/forms";
|
|
14
|
+
import * as i3 from "@memberjunction/ng-base-forms";
|
|
15
|
+
import * as i4 from "@memberjunction/ng-form-toolbar";
|
|
16
|
+
import * as i5 from "@memberjunction/ng-tabstrip";
|
|
17
|
+
import * as i6 from "@memberjunction/ng-container-directives";
|
|
18
|
+
function AIAgentActionFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
19
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
20
|
+
i0.ɵɵelementStart(0, "form", 3, 0);
|
|
21
|
+
i0.ɵɵelement(2, "mj-form-toolbar", 4);
|
|
22
|
+
i0.ɵɵelementStart(3, "mj-tabstrip", 5);
|
|
23
|
+
i0.ɵɵlistener("TabSelected", function AIAgentActionFormComponent_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 AIAgentActionFormComponent_form_1_Template_mj_tabstrip_ResizeContainer_3_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.InvokeManualResize()); });
|
|
24
|
+
i0.ɵɵelementStart(4, "mj-tab", 6);
|
|
25
|
+
i0.ɵɵtext(5, " Details ");
|
|
26
|
+
i0.ɵɵelementEnd();
|
|
27
|
+
i0.ɵɵelementStart(6, "mj-tab-body");
|
|
28
|
+
i0.ɵɵelement(7, "mj-form-section", 7);
|
|
29
|
+
i0.ɵɵelementEnd()()();
|
|
30
|
+
} if (rf & 2) {
|
|
31
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
32
|
+
i0.ɵɵadvance(2);
|
|
33
|
+
i0.ɵɵproperty("form", ctx_r1);
|
|
34
|
+
i0.ɵɵadvance(5);
|
|
35
|
+
i0.ɵɵproperty("record", ctx_r1.record)("EditMode", ctx_r1.EditMode);
|
|
36
|
+
} }
|
|
37
|
+
let AIAgentActionFormComponent = class AIAgentActionFormComponent extends BaseFormComponent {
|
|
38
|
+
};
|
|
39
|
+
AIAgentActionFormComponent.ɵfac = /*@__PURE__*/ (() => { let ɵAIAgentActionFormComponent_BaseFactory; return function AIAgentActionFormComponent_Factory(t) { return (ɵAIAgentActionFormComponent_BaseFactory || (ɵAIAgentActionFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(AIAgentActionFormComponent)))(t || AIAgentActionFormComponent); }; })();
|
|
40
|
+
AIAgentActionFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AIAgentActionFormComponent, selectors: [["gen-aiagentaction-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 Actions", "Section", "details", 3, "record", "EditMode"]], template: function AIAgentActionFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
41
|
+
i0.ɵɵelementStart(0, "div", 1);
|
|
42
|
+
i0.ɵɵtemplate(1, AIAgentActionFormComponent_form_1_Template, 8, 3, "form", 2);
|
|
43
|
+
i0.ɵɵelementEnd();
|
|
44
|
+
} if (rf & 2) {
|
|
45
|
+
i0.ɵɵproperty("bottomMargin", 20)("rightMargin", 5);
|
|
46
|
+
i0.ɵɵadvance();
|
|
47
|
+
i0.ɵɵproperty("ngIf", ctx.record);
|
|
48
|
+
} }, dependencies: [i1.NgIf, i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.SectionLoaderComponent, i4.FormToolbarComponent, i5.MJTabStripComponent, i5.MJTabBodyComponent, i5.MJTabComponent, i6.FillContainer], styles: [".k-pane[_ngcontent-%COMP%] {\n background-color: #F5F6FA;\n} \n\n\na[_ngcontent-%COMP%] {\n font-size: 14px;\n font-weight: bolder;\n}\n\n.tab-header-icon[_ngcontent-%COMP%] {\n margin-right: 5px;\n}\n\n.record-form[_ngcontent-%COMP%] {\n display: block;\n flex-direction: column;\n background-color: #F5F6FA;\n padding: 10px;\n}\n\n.record-form-group[_ngcontent-%COMP%] {\n margin-top: 0px;\n background-color: #F5F6FA;\n}\n\nbutton[_ngcontent-%COMP%] {\n margin-right: 5px;\n}\n\n.record-form[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] {\n margin-bottom: 10px;\n}\n\n.k-splitter[_ngcontent-%COMP%] {\n border-width: 0px;\n}\n\n.record-form-row[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: auto 1fr;\n align-items: start;\n gap: 10px;\n margin-bottom: 12px;\n padding-top: 5px;\n padding-bottom: 5px;\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n.record-form[_ngcontent-%COMP%] .record-form-row[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:first-child {\n font-weight: bold;\n padding-right: 10px;\n} \n\n.record-form[_ngcontent-%COMP%] .record-form-row[_ngcontent-%COMP%] > span[_ngcontent-%COMP%] {\n white-space: pre-line;\n max-height: 300px;\n overflow: auto;\n}\n\n \n\n@media (min-width: 768px) {\n .record-form-row[_ngcontent-%COMP%] {\n flex-direction: row;\n align-items: center;\n }\n\n .record-form-row[_ngcontent-%COMP%] label[_ngcontent-%COMP%] {\n width: 240px;\n margin-bottom: 0;\n }\n}"] });
|
|
49
|
+
AIAgentActionFormComponent = __decorate([
|
|
50
|
+
RegisterClass(BaseFormComponent, 'AIAgent Actions') // Tell MemberJunction about this class
|
|
51
|
+
], AIAgentActionFormComponent);
|
|
52
|
+
export { AIAgentActionFormComponent };
|
|
53
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AIAgentActionFormComponent, [{
|
|
54
|
+
type: Component,
|
|
55
|
+
args: [{ selector: 'gen-aiagentaction-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 Actions\" \n Section=\"details\" \n [record]=\"record\" \n [EditMode]=\"this.EditMode\">\n </mj-form-section>\n </mj-tab-body>\n \n </mj-tabstrip>\n </form>\n</div>\n ", styles: [".k-pane {\n background-color: #F5F6FA;\n} \n\n\na {\n font-size: 14px;\n font-weight: bolder;\n}\n\n.tab-header-icon {\n margin-right: 5px;\n}\n\n.record-form {\n display: block;\n flex-direction: column;\n background-color: #F5F6FA;\n padding: 10px;\n}\n\n.record-form-group {\n margin-top: 0px;\n background-color: #F5F6FA;\n}\n\nbutton {\n margin-right: 5px;\n}\n\n.record-form h2 {\n margin-bottom: 10px;\n}\n\n.k-splitter {\n border-width: 0px;\n}\n\n.record-form-row {\n display: grid;\n grid-template-columns: auto 1fr;\n align-items: start;\n gap: 10px;\n margin-bottom: 12px;\n padding-top: 5px;\n padding-bottom: 5px;\n}\n\n\n/* .record-form .record-form-row:nth-child(odd) {\n background-color: #f2f2f2; \n} */\n\n/* \n.record-form .record-form-row:nth-child(even) {\n background-color: #ffffff; \n} */\n\n.record-form .record-form-row > :first-child {\n font-weight: bold;\n padding-right: 10px;\n} \n\n.record-form .record-form-row > span {\n white-space: pre-line;\n max-height: 300px;\n overflow: auto;\n}\n\n \n\n@media (min-width: 768px) {\n .record-form-row {\n flex-direction: row;\n align-items: center;\n }\n\n .record-form-row label {\n width: 240px;\n margin-bottom: 0;\n }\n}\n"] }]
|
|
56
|
+
}], null, null); })();
|
|
57
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AIAgentActionFormComponent, { className: "AIAgentActionFormComponent", filePath: "src/lib/generated/Entities/AIAgentAction/aiagentaction.form.component.ts", lineNumber: 13 }); })();
|
|
58
|
+
export function LoadAIAgentActionFormComponent() {
|
|
59
|
+
LoadAIAgentActionDetailsComponent();
|
|
60
|
+
}
|
|
61
|
+
//# sourceMappingURL=aiagentaction.form.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aiagentaction.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/AIAgentAction/aiagentaction.form.component.ts","../../../../../src/lib/generated/Entities/AIAgentAction/aiagentaction.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,iCAAiC,EAAE,MAAM,8BAA8B,CAAA;;;;;;;;;;ICH5E,kCAAyE;IACrE,qCAAiD;IAEzC,sCAA0G;IAAzC,AAApD,8MAAe,0BAAmB,KAAC,mMAAoC,2BAAoB,KAAC;IAErG,iCAAuB;IACnB,yBACJ;IAAA,iBAAS;IACT,mCAAa;IACT,qCAKkB;IAItC,AADY,AAFI,iBAAc,EAEJ,EACnB;;;IAjBc,eAAa;IAAb,6BAAa;IAWV,eAAiB;IACjB,AADA,sCAAiB,6BACS;;ADF/C,IAAM,0BAA0B,GAAhC,MAAM,0BAA2B,SAAQ,iBAAiB;;qRAApD,0BAA0B,SAA1B,0BAA0B;6EAA1B,0BAA0B;QCZvC,8BAAyF;QACrF,6EAAyE;QAmB7E,iBAAM;;QApBiE,AAApB,iCAAmB,kBAAkB;QAC7E,cAAY;QAAZ,iCAAY;;ADWV,0BAA0B;IANtC,aAAa,CAAC,iBAAiB,EAAE,iBAAiB,CAAC,CAAC,uCAAuC;GAM/E,0BAA0B,CAEtC;;iFAFY,0BAA0B;cALtC,SAAS;2BACI,wBAAwB;;kFAIzB,0BAA0B;AAIvC,MAAM,UAAU,8BAA8B;IAC1C,iCAAiC,EAAE,CAAC;AACxC,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BaseFormSectionComponent } from '@memberjunction/ng-base-forms';
|
|
2
|
+
import { AIAgentActionEntity } from '@memberjunction/core-entities';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AIAgentActionDetailsComponent extends BaseFormSectionComponent {
|
|
5
|
+
record: AIAgentActionEntity;
|
|
6
|
+
EditMode: boolean;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AIAgentActionDetailsComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AIAgentActionDetailsComponent, "gen-aiagentaction-form-details", never, { "record": { "alias": "record"; "required": false; }; "EditMode": { "alias": "EditMode"; "required": false; }; }, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
10
|
+
export declare function LoadAIAgentActionDetailsComponent(): 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/AIAgentAction/sections/details.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;;AAEpE,qBAgEa,6BAA8B,SAAQ,wBAAwB;IACrD,MAAM,EAAG,mBAAmB,CAAC;IAC7B,QAAQ,EAAE,OAAO,CAAS;yCAFnC,6BAA6B;2CAA7B,6BAA6B;CAGzC;AAED,wBAAgB,iCAAiC,SAEhD"}
|
|
@@ -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 AIAgentActionDetailsComponent_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 AIAgentActionDetailsComponent = class AIAgentActionDetailsComponent extends BaseFormSectionComponent {
|
|
35
|
+
constructor() {
|
|
36
|
+
super(...arguments);
|
|
37
|
+
this.EditMode = false;
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
AIAgentActionDetailsComponent.ɵfac = /*@__PURE__*/ (() => { let ɵAIAgentActionDetailsComponent_BaseFactory; return function AIAgentActionDetailsComponent_Factory(t) { return (ɵAIAgentActionDetailsComponent_BaseFactory || (ɵAIAgentActionDetailsComponent_BaseFactory = i0.ɵɵgetInheritedFactory(AIAgentActionDetailsComponent)))(t || AIAgentActionDetailsComponent); }; })();
|
|
41
|
+
AIAgentActionDetailsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AIAgentActionDetailsComponent, selectors: [["gen-aiagentaction-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", "ActionID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Status", "Type", "dropdownlist", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "__mj_CreatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "__mj_UpdatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Agent", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Action", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"]], template: function AIAgentActionDetailsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
42
|
+
i0.ɵɵtemplate(0, AIAgentActionDetailsComponent_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
|
+
AIAgentActionDetailsComponent = __decorate([
|
|
47
|
+
RegisterClass(BaseFormSectionComponent, 'AIAgent Actions.details') // Tell MemberJunction about this class
|
|
48
|
+
], AIAgentActionDetailsComponent);
|
|
49
|
+
export { AIAgentActionDetailsComponent };
|
|
50
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AIAgentActionDetailsComponent, [{
|
|
51
|
+
type: Component,
|
|
52
|
+
args: [{ selector: 'gen-aiagentaction-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="ActionID"
|
|
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="Status"
|
|
76
|
+
Type="dropdownlist"
|
|
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="Action"
|
|
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(AIAgentActionDetailsComponent, { className: "AIAgentActionDetailsComponent", filePath: "src/lib/generated/Entities/AIAgentAction/sections/details.component.ts", lineNumber: 70 }); })();
|
|
117
|
+
export function LoadAIAgentActionDetailsComponent() {
|
|
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/AIAgentAction/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,6BAA6B,GAAnC,MAAM,6BAA8B,SAAQ,wBAAwB;IAApE;;QAEe,aAAQ,GAAY,KAAK,CAAC;KAC/C;;oSAHY,6BAA6B,SAA7B,6BAA6B;gFAA7B,6BAA6B;QA5D3B,+EAAyB;;QAAnB,iCAAiB;;AA4DzB,6BAA6B;IAhEzC,aAAa,CAAC,wBAAwB,EAAE,yBAAyB,CAAC,CAAC,wCAAwC;GAgE/F,6BAA6B,CAGzC;;iFAHY,6BAA6B;cA/DzC,SAAS;2BACI,gCAAgC,YAEhC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA0DT;gBAGiB,MAAM;kBAAvB,KAAK;YACY,QAAQ;kBAAzB,KAAK;;kFAFG,6BAA6B;AAK1C,MAAM,UAAU,iCAAiC;IAC7C,2GAA2G;AAC/G,CAAC"}
|
package/dist/lib/generated/Entities/AIAgentLearningCycle/aiagentlearningcycle.form.component.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AIAgentLearningCycleEntity } from '@memberjunction/core-entities';
|
|
2
|
+
import { BaseFormComponent } from '@memberjunction/ng-base-forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AIAgentLearningCycleFormComponent extends BaseFormComponent {
|
|
5
|
+
record: AIAgentLearningCycleEntity;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AIAgentLearningCycleFormComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AIAgentLearningCycleFormComponent, "gen-aiagentlearningcycle-form", never, {}, {}, never, never, false, never>;
|
|
8
|
+
}
|
|
9
|
+
export declare function LoadAIAgentLearningCycleFormComponent(): void;
|
|
10
|
+
//# sourceMappingURL=aiagentlearningcycle.form.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aiagentlearningcycle.form.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/AIAgentLearningCycle/aiagentlearningcycle.form.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,0BAA0B,EAAE,MAAM,+BAA+B,CAAC;AAE3E,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAGlE,qBAMa,iCAAkC,SAAQ,iBAAiB;IAC7D,MAAM,EAAG,0BAA0B,CAAC;yCADlC,iCAAiC;2CAAjC,iCAAiC;CAE7C;AAED,wBAAgB,qCAAqC,SAEpD"}
|
package/dist/lib/generated/Entities/AIAgentLearningCycle/aiagentlearningcycle.form.component.js
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import { Component } from '@angular/core';
|
|
8
|
+
import { RegisterClass } from '@memberjunction/global';
|
|
9
|
+
import { BaseFormComponent } from '@memberjunction/ng-base-forms';
|
|
10
|
+
import { LoadAIAgentLearningCycleDetailsComponent } from "./sections/details.component";
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
import * as i1 from "@angular/common";
|
|
13
|
+
import * as i2 from "@angular/forms";
|
|
14
|
+
import * as i3 from "@memberjunction/ng-base-forms";
|
|
15
|
+
import * as i4 from "@memberjunction/ng-form-toolbar";
|
|
16
|
+
import * as i5 from "@memberjunction/ng-tabstrip";
|
|
17
|
+
import * as i6 from "@memberjunction/ng-container-directives";
|
|
18
|
+
function AIAgentLearningCycleFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
19
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
20
|
+
i0.ɵɵelementStart(0, "form", 3, 0);
|
|
21
|
+
i0.ɵɵelement(2, "mj-form-toolbar", 4);
|
|
22
|
+
i0.ɵɵelementStart(3, "mj-tabstrip", 5);
|
|
23
|
+
i0.ɵɵlistener("TabSelected", function AIAgentLearningCycleFormComponent_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 AIAgentLearningCycleFormComponent_form_1_Template_mj_tabstrip_ResizeContainer_3_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.InvokeManualResize()); });
|
|
24
|
+
i0.ɵɵelementStart(4, "mj-tab", 6);
|
|
25
|
+
i0.ɵɵtext(5, " Details ");
|
|
26
|
+
i0.ɵɵelementEnd();
|
|
27
|
+
i0.ɵɵelementStart(6, "mj-tab-body");
|
|
28
|
+
i0.ɵɵelement(7, "mj-form-section", 7);
|
|
29
|
+
i0.ɵɵelementEnd()()();
|
|
30
|
+
} if (rf & 2) {
|
|
31
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
32
|
+
i0.ɵɵadvance(2);
|
|
33
|
+
i0.ɵɵproperty("form", ctx_r1);
|
|
34
|
+
i0.ɵɵadvance(5);
|
|
35
|
+
i0.ɵɵproperty("record", ctx_r1.record)("EditMode", ctx_r1.EditMode);
|
|
36
|
+
} }
|
|
37
|
+
let AIAgentLearningCycleFormComponent = class AIAgentLearningCycleFormComponent extends BaseFormComponent {
|
|
38
|
+
};
|
|
39
|
+
AIAgentLearningCycleFormComponent.ɵfac = /*@__PURE__*/ (() => { let ɵAIAgentLearningCycleFormComponent_BaseFactory; return function AIAgentLearningCycleFormComponent_Factory(t) { return (ɵAIAgentLearningCycleFormComponent_BaseFactory || (ɵAIAgentLearningCycleFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(AIAgentLearningCycleFormComponent)))(t || AIAgentLearningCycleFormComponent); }; })();
|
|
40
|
+
AIAgentLearningCycleFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AIAgentLearningCycleFormComponent, selectors: [["gen-aiagentlearningcycle-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 Learning Cycles", "Section", "details", 3, "record", "EditMode"]], template: function AIAgentLearningCycleFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
41
|
+
i0.ɵɵelementStart(0, "div", 1);
|
|
42
|
+
i0.ɵɵtemplate(1, AIAgentLearningCycleFormComponent_form_1_Template, 8, 3, "form", 2);
|
|
43
|
+
i0.ɵɵelementEnd();
|
|
44
|
+
} if (rf & 2) {
|
|
45
|
+
i0.ɵɵproperty("bottomMargin", 20)("rightMargin", 5);
|
|
46
|
+
i0.ɵɵadvance();
|
|
47
|
+
i0.ɵɵproperty("ngIf", ctx.record);
|
|
48
|
+
} }, dependencies: [i1.NgIf, i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.SectionLoaderComponent, i4.FormToolbarComponent, i5.MJTabStripComponent, i5.MJTabBodyComponent, i5.MJTabComponent, i6.FillContainer], styles: [".k-pane[_ngcontent-%COMP%] {\n background-color: #F5F6FA;\n} \n\n\na[_ngcontent-%COMP%] {\n font-size: 14px;\n font-weight: bolder;\n}\n\n.tab-header-icon[_ngcontent-%COMP%] {\n margin-right: 5px;\n}\n\n.record-form[_ngcontent-%COMP%] {\n display: block;\n flex-direction: column;\n background-color: #F5F6FA;\n padding: 10px;\n}\n\n.record-form-group[_ngcontent-%COMP%] {\n margin-top: 0px;\n background-color: #F5F6FA;\n}\n\nbutton[_ngcontent-%COMP%] {\n margin-right: 5px;\n}\n\n.record-form[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] {\n margin-bottom: 10px;\n}\n\n.k-splitter[_ngcontent-%COMP%] {\n border-width: 0px;\n}\n\n.record-form-row[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: auto 1fr;\n align-items: start;\n gap: 10px;\n margin-bottom: 12px;\n padding-top: 5px;\n padding-bottom: 5px;\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n.record-form[_ngcontent-%COMP%] .record-form-row[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:first-child {\n font-weight: bold;\n padding-right: 10px;\n} \n\n.record-form[_ngcontent-%COMP%] .record-form-row[_ngcontent-%COMP%] > span[_ngcontent-%COMP%] {\n white-space: pre-line;\n max-height: 300px;\n overflow: auto;\n}\n\n \n\n@media (min-width: 768px) {\n .record-form-row[_ngcontent-%COMP%] {\n flex-direction: row;\n align-items: center;\n }\n\n .record-form-row[_ngcontent-%COMP%] label[_ngcontent-%COMP%] {\n width: 240px;\n margin-bottom: 0;\n }\n}"] });
|
|
49
|
+
AIAgentLearningCycleFormComponent = __decorate([
|
|
50
|
+
RegisterClass(BaseFormComponent, 'AIAgent Learning Cycles') // Tell MemberJunction about this class
|
|
51
|
+
], AIAgentLearningCycleFormComponent);
|
|
52
|
+
export { AIAgentLearningCycleFormComponent };
|
|
53
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AIAgentLearningCycleFormComponent, [{
|
|
54
|
+
type: Component,
|
|
55
|
+
args: [{ selector: 'gen-aiagentlearningcycle-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 Learning Cycles\" \n Section=\"details\" \n [record]=\"record\" \n [EditMode]=\"this.EditMode\">\n </mj-form-section>\n </mj-tab-body>\n \n </mj-tabstrip>\n </form>\n</div>\n ", styles: [".k-pane {\n background-color: #F5F6FA;\n} \n\n\na {\n font-size: 14px;\n font-weight: bolder;\n}\n\n.tab-header-icon {\n margin-right: 5px;\n}\n\n.record-form {\n display: block;\n flex-direction: column;\n background-color: #F5F6FA;\n padding: 10px;\n}\n\n.record-form-group {\n margin-top: 0px;\n background-color: #F5F6FA;\n}\n\nbutton {\n margin-right: 5px;\n}\n\n.record-form h2 {\n margin-bottom: 10px;\n}\n\n.k-splitter {\n border-width: 0px;\n}\n\n.record-form-row {\n display: grid;\n grid-template-columns: auto 1fr;\n align-items: start;\n gap: 10px;\n margin-bottom: 12px;\n padding-top: 5px;\n padding-bottom: 5px;\n}\n\n\n/* .record-form .record-form-row:nth-child(odd) {\n background-color: #f2f2f2; \n} */\n\n/* \n.record-form .record-form-row:nth-child(even) {\n background-color: #ffffff; \n} */\n\n.record-form .record-form-row > :first-child {\n font-weight: bold;\n padding-right: 10px;\n} \n\n.record-form .record-form-row > span {\n white-space: pre-line;\n max-height: 300px;\n overflow: auto;\n}\n\n \n\n@media (min-width: 768px) {\n .record-form-row {\n flex-direction: row;\n align-items: center;\n }\n\n .record-form-row label {\n width: 240px;\n margin-bottom: 0;\n }\n}\n"] }]
|
|
56
|
+
}], null, null); })();
|
|
57
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AIAgentLearningCycleFormComponent, { className: "AIAgentLearningCycleFormComponent", filePath: "src/lib/generated/Entities/AIAgentLearningCycle/aiagentlearningcycle.form.component.ts", lineNumber: 13 }); })();
|
|
58
|
+
export function LoadAIAgentLearningCycleFormComponent() {
|
|
59
|
+
LoadAIAgentLearningCycleDetailsComponent();
|
|
60
|
+
}
|
|
61
|
+
//# sourceMappingURL=aiagentlearningcycle.form.component.js.map
|
package/dist/lib/generated/Entities/AIAgentLearningCycle/aiagentlearningcycle.form.component.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aiagentlearningcycle.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/AIAgentLearningCycle/aiagentlearningcycle.form.component.ts","../../../../../src/lib/generated/Entities/AIAgentLearningCycle/aiagentlearningcycle.form.component.html"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,wCAAwC,EAAE,MAAM,8BAA8B,CAAA;;;;;;;;;;ICHnF,kCAAyE;IACrE,qCAAiD;IAEzC,sCAA0G;IAAzC,AAApD,qNAAe,0BAAmB,KAAC,0MAAoC,2BAAoB,KAAC;IAErG,iCAAuB;IACnB,yBACJ;IAAA,iBAAS;IACT,mCAAa;IACT,qCAKkB;IAItC,AADY,AAFI,iBAAc,EAEJ,EACnB;;;IAjBc,eAAa;IAAb,6BAAa;IAWV,eAAiB;IACjB,AADA,sCAAiB,6BACS;;ADF/C,IAAM,iCAAiC,GAAvC,MAAM,iCAAkC,SAAQ,iBAAiB;;wTAA3D,iCAAiC,SAAjC,iCAAiC;oFAAjC,iCAAiC;QCZ9C,8BAAyF;QACrF,oFAAyE;QAmB7E,iBAAM;;QApBiE,AAApB,iCAAmB,kBAAkB;QAC7E,cAAY;QAAZ,iCAAY;;ADWV,iCAAiC;IAN7C,aAAa,CAAC,iBAAiB,EAAE,yBAAyB,CAAC,CAAC,uCAAuC;GAMvF,iCAAiC,CAE7C;;iFAFY,iCAAiC;cAL7C,SAAS;2BACI,+BAA+B;;kFAIhC,iCAAiC;AAI9C,MAAM,UAAU,qCAAqC;IACjD,wCAAwC,EAAE,CAAC;AAC/C,CAAC"}
|