@memberjunction/ng-core-entity-forms 2.2.0 → 2.3.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/AIModel/aimodel.form.component.js +19 -8
- package/dist/lib/generated/Entities/AIModel/sections/details.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/AIModel/sections/details.component.js +31 -4
- package/dist/lib/generated/Entities/AIPrompt/aiprompt.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/AIPrompt/aiprompt.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIPrompt/aiprompt.form.component.js +72 -0
- package/dist/lib/generated/Entities/AIPrompt/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/AIPrompt/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIPrompt/sections/details.component.js +175 -0
- package/dist/lib/generated/Entities/AIPromptCategory/aipromptcategory.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/AIPromptCategory/aipromptcategory.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIPromptCategory/aipromptcategory.form.component.js +83 -0
- package/dist/lib/generated/Entities/AIPromptCategory/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/AIPromptCategory/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIPromptCategory/sections/details.component.js +108 -0
- package/dist/lib/generated/Entities/AIPromptType/aiprompttype.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/AIPromptType/aiprompttype.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIPromptType/aiprompttype.form.component.js +72 -0
- package/dist/lib/generated/Entities/AIPromptType/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/AIPromptType/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIPromptType/sections/details.component.js +88 -0
- package/dist/lib/generated/Entities/AIResultCache/airesultcache.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/AIResultCache/airesultcache.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIResultCache/airesultcache.form.component.js +60 -0
- package/dist/lib/generated/Entities/AIResultCache/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/AIResultCache/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIResultCache/sections/details.component.js +155 -0
- package/dist/lib/generated/Entities/ActionAuthorization/sections/details.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/ActionAuthorization/sections/details.component.js +13 -4
- package/dist/lib/generated/Entities/ApplicationSetting/sections/details.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/ApplicationSetting/sections/details.component.js +13 -4
- package/dist/lib/generated/Entities/AuditLog/sections/details.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/AuditLog/sections/details.component.js +22 -4
- package/dist/lib/generated/Entities/AuditLogType/sections/details.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/AuditLogType/sections/details.component.js +13 -4
- package/dist/lib/generated/Entities/AuthorizationRole/sections/details.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/AuthorizationRole/sections/details.component.js +22 -4
- package/dist/lib/generated/Entities/Conversation/sections/details.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/Conversation/sections/details.component.js +13 -4
- package/dist/lib/generated/Entities/DatasetItem/sections/details.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/DatasetItem/sections/details.component.js +13 -4
- package/dist/lib/generated/Entities/EntityDocument/sections/details.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/EntityDocument/sections/details.component.js +31 -4
- package/dist/lib/generated/Entities/EntityRecordDocument/sections/details.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/EntityRecordDocument/sections/details.component.js +31 -4
- package/dist/lib/generated/Entities/List/sections/details.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/List/sections/details.component.js +13 -4
- package/dist/lib/generated/Entities/ListCategory/sections/details.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/ListCategory/sections/details.component.js +22 -4
- package/dist/lib/generated/Entities/ListDetail/sections/details.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/ListDetail/sections/details.component.js +22 -4
- package/dist/lib/generated/Entities/QueryPermission/sections/details.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/QueryPermission/sections/details.component.js +22 -4
- package/dist/lib/generated/Entities/RecordMergeLog/sections/details.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/RecordMergeLog/sections/details.component.js +13 -4
- package/dist/lib/generated/Entities/ScheduledAction/sections/details.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/ScheduledAction/sections/details.component.js +22 -4
- package/dist/lib/generated/Entities/ScheduledActionParam/sections/details.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/ScheduledActionParam/sections/details.component.js +22 -4
- package/dist/lib/generated/Entities/Template/template.form.component.js +19 -8
- package/dist/lib/generated/Entities/UserNotification/sections/details.component.js +8 -8
- package/dist/lib/generated/Entities/UserViewCategory/sections/details.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/UserViewCategory/sections/details.component.js +13 -4
- package/dist/lib/generated/generated-forms.module.d.ts +291 -278
- package/dist/lib/generated/generated-forms.module.d.ts.map +1 -1
- package/dist/lib/generated/generated-forms.module.js +291 -202
- package/package.json +11 -11
|
@@ -21,6 +21,7 @@ const _c1 = () => ({ EntityRelationshipID: "1D2B1E7C-8687-43E3-ADDF-3920FE15E262
|
|
|
21
21
|
const _c2 = () => ({ EntityRelationshipID: "C4B5759A-40F3-4C20-9B12-A2F40A176C24" });
|
|
22
22
|
const _c3 = () => ({ EntityRelationshipID: "57722FAC-059C-4827-9301-BBF769AC4FF5" });
|
|
23
23
|
const _c4 = () => ({ EntityRelationshipID: "1486CB4C-71BB-4E9E-B384-8531645E502F" });
|
|
24
|
+
const _c5 = () => ({ EntityRelationshipID: "63D6B0B0-BF59-EF11-991A-000D3A9D8BF3" });
|
|
24
25
|
function AIModelFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
25
26
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
26
27
|
i0.ɵɵelementStart(0, "form", 3, 0);
|
|
@@ -62,6 +63,12 @@ function AIModelFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
62
63
|
i0.ɵɵelementEnd();
|
|
63
64
|
i0.ɵɵelementStart(26, "mj-tab-body");
|
|
64
65
|
i0.ɵɵelement(27, "mj-user-view-grid", 9);
|
|
66
|
+
i0.ɵɵelementEnd();
|
|
67
|
+
i0.ɵɵelementStart(28, "mj-tab", 14);
|
|
68
|
+
i0.ɵɵtext(29, " AI Result Cache ");
|
|
69
|
+
i0.ɵɵelementEnd();
|
|
70
|
+
i0.ɵɵelementStart(30, "mj-tab-body");
|
|
71
|
+
i0.ɵɵelement(31, "mj-user-view-grid", 9);
|
|
65
72
|
i0.ɵɵelementEnd()()();
|
|
66
73
|
} if (rf & 2) {
|
|
67
74
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -70,32 +77,36 @@ function AIModelFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
70
77
|
i0.ɵɵadvance(5);
|
|
71
78
|
i0.ɵɵproperty("record", ctx_r1.record)("EditMode", ctx_r1.EditMode);
|
|
72
79
|
i0.ɵɵadvance();
|
|
73
|
-
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved)("Props", i0.ɵɵpureFunction0(
|
|
80
|
+
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved)("Props", i0.ɵɵpureFunction0(45, _c0));
|
|
74
81
|
i0.ɵɵadvance(3);
|
|
75
82
|
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("AI Actions"))("NewRecordValues", ctx_r1.NewRecordValues("AI Actions"))("AllowLoad", ctx_r1.IsCurrentTab("AI Actions"))("EditMode", ctx_r1.GridEditMode())("BottomMargin", ctx_r1.GridBottomMargin);
|
|
76
83
|
i0.ɵɵadvance();
|
|
77
|
-
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved)("Props", i0.ɵɵpureFunction0(
|
|
84
|
+
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved)("Props", i0.ɵɵpureFunction0(46, _c1));
|
|
78
85
|
i0.ɵɵadvance(3);
|
|
79
86
|
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("Entity Documents"))("NewRecordValues", ctx_r1.NewRecordValues("Entity Documents"))("AllowLoad", ctx_r1.IsCurrentTab("Entity Documents"))("EditMode", ctx_r1.GridEditMode())("BottomMargin", ctx_r1.GridBottomMargin);
|
|
80
87
|
i0.ɵɵadvance();
|
|
81
|
-
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved)("Props", i0.ɵɵpureFunction0(
|
|
88
|
+
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved)("Props", i0.ɵɵpureFunction0(47, _c2));
|
|
82
89
|
i0.ɵɵadvance(3);
|
|
83
90
|
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("AI Model Actions"))("NewRecordValues", ctx_r1.NewRecordValues("AI Model Actions"))("AllowLoad", ctx_r1.IsCurrentTab("AI Model Actions"))("EditMode", ctx_r1.GridEditMode())("BottomMargin", ctx_r1.GridBottomMargin);
|
|
84
91
|
i0.ɵɵadvance();
|
|
85
|
-
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved)("Props", i0.ɵɵpureFunction0(
|
|
92
|
+
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved)("Props", i0.ɵɵpureFunction0(48, _c3));
|
|
86
93
|
i0.ɵɵadvance(3);
|
|
87
94
|
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("Vector Indexes"))("NewRecordValues", ctx_r1.NewRecordValues("Vector Indexes"))("AllowLoad", ctx_r1.IsCurrentTab("Vector Indexes"))("EditMode", ctx_r1.GridEditMode())("BottomMargin", ctx_r1.GridBottomMargin);
|
|
88
95
|
i0.ɵɵadvance();
|
|
89
|
-
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved)("Props", i0.ɵɵpureFunction0(
|
|
96
|
+
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved)("Props", i0.ɵɵpureFunction0(49, _c4));
|
|
90
97
|
i0.ɵɵadvance(3);
|
|
91
98
|
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("Entity AI Actions"))("NewRecordValues", ctx_r1.NewRecordValues("Entity AI Actions"))("AllowLoad", ctx_r1.IsCurrentTab("Entity AI Actions"))("EditMode", ctx_r1.GridEditMode())("BottomMargin", ctx_r1.GridBottomMargin);
|
|
99
|
+
i0.ɵɵadvance();
|
|
100
|
+
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved)("Props", i0.ɵɵpureFunction0(50, _c5));
|
|
101
|
+
i0.ɵɵadvance(3);
|
|
102
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("AI Result Cache"))("NewRecordValues", ctx_r1.NewRecordValues("AI Result Cache"))("AllowLoad", ctx_r1.IsCurrentTab("AI Result Cache"))("EditMode", ctx_r1.GridEditMode())("BottomMargin", ctx_r1.GridBottomMargin);
|
|
92
103
|
} }
|
|
93
104
|
let AIModelFormComponent = class AIModelFormComponent extends BaseFormComponent {
|
|
94
105
|
};
|
|
95
106
|
AIModelFormComponent.ɵfac = /*@__PURE__*/ (() => { let ɵAIModelFormComponent_BaseFactory; return function AIModelFormComponent_Factory(t) { return (ɵAIModelFormComponent_BaseFactory || (ɵAIModelFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(AIModelFormComponent)))(t || AIModelFormComponent); }; })();
|
|
96
|
-
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"], ["Name", "Details"], ["Entity", "AI Models", "Section", "details", 3, "record", "EditMode"], ["Name", "AI Actions", 3, "Visible", "Props"], [3, "Params", "NewRecordValues", "AllowLoad", "EditMode", "BottomMargin"], ["Name", "Entity Documents", 3, "Visible", "Props"], ["Name", "AI Model Actions", 3, "Visible", "Props"], ["Name", "Vector Indexes", 3, "Visible", "Props"], ["Name", "Entity AI Actions", 3, "Visible", "Props"]], template: function AIModelFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
107
|
+
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"], ["Name", "Details"], ["Entity", "AI Models", "Section", "details", 3, "record", "EditMode"], ["Name", "AI Actions", 3, "Visible", "Props"], [3, "Params", "NewRecordValues", "AllowLoad", "EditMode", "BottomMargin"], ["Name", "Entity Documents", 3, "Visible", "Props"], ["Name", "AI Model Actions", 3, "Visible", "Props"], ["Name", "Vector Indexes", 3, "Visible", "Props"], ["Name", "Entity AI Actions", 3, "Visible", "Props"], ["Name", "AI Result Cache", 3, "Visible", "Props"]], template: function AIModelFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
97
108
|
i0.ɵɵelementStart(0, "div", 1);
|
|
98
|
-
i0.ɵɵtemplate(1, AIModelFormComponent_form_1_Template,
|
|
109
|
+
i0.ɵɵtemplate(1, AIModelFormComponent_form_1_Template, 32, 51, "form", 2);
|
|
99
110
|
i0.ɵɵelementEnd();
|
|
100
111
|
} if (rf & 2) {
|
|
101
112
|
i0.ɵɵproperty("bottomMargin", 20)("rightMargin", 5);
|
|
@@ -108,7 +119,7 @@ AIModelFormComponent = __decorate([
|
|
|
108
119
|
export { AIModelFormComponent };
|
|
109
120
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AIModelFormComponent, [{
|
|
110
121
|
type: Component,
|
|
111
|
-
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.index)\" mjFillContainer>\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\" \n [Visible]=\"record.IsSaved\" \n [Props]=\"{EntityRelationshipID: '24996A46-F936-4A43-A7EA-2558CAE9612F'}\">\n AI Actions\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('AI Actions')\" \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\" \n [Visible]=\"record.IsSaved\" \n [Props]=\"{EntityRelationshipID: '1D2B1E7C-8687-43E3-ADDF-3920FE15E262'}\">\n Entity Documents\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Entity Documents')\" \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\" \n [Visible]=\"record.IsSaved\" \n [Props]=\"{EntityRelationshipID: 'C4B5759A-40F3-4C20-9B12-A2F40A176C24'}\">\n AI Model Actions\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('AI Model Actions')\" \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\" \n [Visible]=\"record.IsSaved\" \n [Props]=\"{EntityRelationshipID: '57722FAC-059C-4827-9301-BBF769AC4FF5'}\">\n Vector Indexes\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Vector Indexes')\" \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=\"Entity AI Actions\" \n [Visible]=\"record.IsSaved\" \n [Props]=\"{EntityRelationshipID: '1486CB4C-71BB-4E9E-B384-8531645E502F'}\">\n Entity AI Actions\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Entity AI Actions')\" \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"] }]
|
|
122
|
+
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.index)\" mjFillContainer>\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\" \n [Visible]=\"record.IsSaved\" \n [Props]=\"{EntityRelationshipID: '24996A46-F936-4A43-A7EA-2558CAE9612F'}\">\n AI Actions\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('AI Actions')\" \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\" \n [Visible]=\"record.IsSaved\" \n [Props]=\"{EntityRelationshipID: '1D2B1E7C-8687-43E3-ADDF-3920FE15E262'}\">\n Entity Documents\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Entity Documents')\" \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\" \n [Visible]=\"record.IsSaved\" \n [Props]=\"{EntityRelationshipID: 'C4B5759A-40F3-4C20-9B12-A2F40A176C24'}\">\n AI Model Actions\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('AI Model Actions')\" \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\" \n [Visible]=\"record.IsSaved\" \n [Props]=\"{EntityRelationshipID: '57722FAC-059C-4827-9301-BBF769AC4FF5'}\">\n Vector Indexes\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Vector Indexes')\" \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=\"Entity AI Actions\" \n [Visible]=\"record.IsSaved\" \n [Props]=\"{EntityRelationshipID: '1486CB4C-71BB-4E9E-B384-8531645E502F'}\">\n Entity AI Actions\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Entity AI Actions')\" \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=\"AI Result Cache\" \n [Visible]=\"record.IsSaved\" \n [Props]=\"{EntityRelationshipID: '63D6B0B0-BF59-EF11-991A-000D3A9D8BF3'}\">\n AI Result Cache\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('AI Result Cache')\" \n [NewRecordValues]=\"NewRecordValues('AI Result Cache')\"\n [AllowLoad]=\"IsCurrentTab('AI Result Cache')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n </mj-tabstrip>\n </form>\n</div>\n ", styles: [".k-pane {\n background-color: #F5F6FA;\n} \n\n\na {\n font-size: 14px;\n font-weight: bolder;\n}\n\n.tab-header-icon {\n margin-right: 5px;\n}\n\n.record-form {\n display: block;\n flex-direction: column;\n background-color: #F5F6FA;\n padding: 10px;\n}\n\n.record-form-group {\n margin-top: 0px;\n background-color: #F5F6FA;\n}\n\nbutton {\n margin-right: 5px;\n}\n\n.record-form h2 {\n margin-bottom: 10px;\n}\n\n.k-splitter {\n border-width: 0px;\n}\n\n.record-form-row {\n display: grid;\n grid-template-columns: auto 1fr;\n align-items: start;\n gap: 10px;\n margin-bottom: 12px;\n padding-top: 5px;\n padding-bottom: 5px;\n}\n\n\n/* .record-form .record-form-row:nth-child(odd) {\n background-color: #f2f2f2; \n} */\n\n/* \n.record-form .record-form-row:nth-child(even) {\n background-color: #ffffff; \n} */\n\n.record-form .record-form-row > :first-child {\n font-weight: bold;\n padding-right: 10px;\n} \n\n.record-form .record-form-row > span {\n white-space: pre-line;\n max-height: 300px;\n overflow: auto;\n}\n\n \n\n@media (min-width: 768px) {\n .record-form-row {\n flex-direction: row;\n align-items: center;\n }\n\n .record-form-row label {\n width: 240px;\n margin-bottom: 0;\n }\n}\n"] }]
|
|
112
123
|
}], null, null); })();
|
|
113
124
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AIModelFormComponent, { className: "AIModelFormComponent", filePath: "src/lib/generated/Entities/AIModel/aimodel.form.component.ts", lineNumber: 14 }); })();
|
|
114
125
|
export function LoadAIModelFormComponent() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"details.component.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/generated/Entities/AIModel/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,
|
|
1
|
+
{"version":3,"file":"details.component.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/generated/Entities/AIModel/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,qBAsHa,uBAAwB,SAAQ,wBAAwB;IAC/C,MAAM,EAAG,aAAa,CAAC;IACvB,QAAQ,EAAE,OAAO,CAAS;yCAFnC,uBAAuB;2CAAvB,uBAAuB;CAGnC;AAED,wBAAgB,2BAA2B,SAE1C"}
|
|
@@ -12,7 +12,7 @@ import * as i1 from "@angular/common";
|
|
|
12
12
|
import * as i2 from "@memberjunction/ng-base-forms";
|
|
13
13
|
function AIModelDetailsComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
14
14
|
i0.ɵɵelementStart(0, "div")(1, "div", 1);
|
|
15
|
-
i0.ɵɵelement(2, "mj-form-field", 2)(3, "mj-form-field", 3)(4, "mj-form-field", 4)(5, "mj-form-field", 5)(6, "mj-form-field", 6)(7, "mj-form-field", 7)(8, "mj-form-field", 8)(9, "mj-form-field", 9)(10, "mj-form-field", 10)(11, "mj-form-field", 11)(12, "mj-form-field", 12)(13, "mj-form-field", 13);
|
|
15
|
+
i0.ɵɵelement(2, "mj-form-field", 2)(3, "mj-form-field", 3)(4, "mj-form-field", 4)(5, "mj-form-field", 5)(6, "mj-form-field", 6)(7, "mj-form-field", 7)(8, "mj-form-field", 8)(9, "mj-form-field", 9)(10, "mj-form-field", 10)(11, "mj-form-field", 11)(12, "mj-form-field", 12)(13, "mj-form-field", 13)(14, "mj-form-field", 14)(15, "mj-form-field", 15)(16, "mj-form-field", 16);
|
|
16
16
|
i0.ɵɵelementEnd()();
|
|
17
17
|
} if (rf & 2) {
|
|
18
18
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -40,6 +40,12 @@ function AIModelDetailsComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
40
40
|
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
41
41
|
i0.ɵɵadvance();
|
|
42
42
|
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
43
|
+
i0.ɵɵadvance();
|
|
44
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
45
|
+
i0.ɵɵadvance();
|
|
46
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
47
|
+
i0.ɵɵadvance();
|
|
48
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
43
49
|
} }
|
|
44
50
|
let AIModelDetailsComponent = class AIModelDetailsComponent extends BaseFormSectionComponent {
|
|
45
51
|
constructor() {
|
|
@@ -48,8 +54,8 @@ let AIModelDetailsComponent = class AIModelDetailsComponent extends BaseFormSect
|
|
|
48
54
|
}
|
|
49
55
|
};
|
|
50
56
|
AIModelDetailsComponent.ɵfac = /*@__PURE__*/ (() => { let ɵAIModelDetailsComponent_BaseFactory; return function AIModelDetailsComponent_Factory(t) { return (ɵAIModelDetailsComponent_BaseFactory || (ɵAIModelDetailsComponent_BaseFactory = i0.ɵɵgetInheritedFactory(AIModelDetailsComponent)))(t || AIModelDetailsComponent); }; })();
|
|
51
|
-
AIModelDetailsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AIModelDetailsComponent, selectors: [["gen-aimodel-form-details"]], inputs: { record: "record", EditMode: "EditMode" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "record-form"], ["FieldName", "Name", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Description", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Vendor", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "AIModelTypeID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "PowerRank", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "IsActive", "Type", "checkbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "DriverClass", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "DriverImportPath", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "APIName", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "__mj_CreatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "__mj_UpdatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "AIModelType", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"]], template: function AIModelDetailsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
52
|
-
i0.ɵɵtemplate(0, AIModelDetailsComponent_div_0_Template,
|
|
57
|
+
AIModelDetailsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AIModelDetailsComponent, selectors: [["gen-aimodel-form-details"]], inputs: { record: "record", EditMode: "EditMode" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "record-form"], ["FieldName", "Name", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Description", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Vendor", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "AIModelTypeID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "PowerRank", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "IsActive", "Type", "checkbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "DriverClass", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "DriverImportPath", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "APIName", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "__mj_CreatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "__mj_UpdatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "SpeedRank", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "CostRank", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "ModelSelectionInsights", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "AIModelType", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"]], template: function AIModelDetailsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
58
|
+
i0.ɵɵtemplate(0, AIModelDetailsComponent_div_0_Template, 17, 45, "div", 0);
|
|
53
59
|
} if (rf & 2) {
|
|
54
60
|
i0.ɵɵproperty("ngIf", ctx.record);
|
|
55
61
|
} }, 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}"] });
|
|
@@ -140,6 +146,27 @@ export { AIModelDetailsComponent };
|
|
|
140
146
|
Type="textbox"
|
|
141
147
|
[EditMode]="EditMode"
|
|
142
148
|
></mj-form-field>
|
|
149
|
+
<mj-form-field
|
|
150
|
+
[record]="record"
|
|
151
|
+
[ShowLabel]="true"
|
|
152
|
+
FieldName="SpeedRank"
|
|
153
|
+
Type="numerictextbox"
|
|
154
|
+
[EditMode]="EditMode"
|
|
155
|
+
></mj-form-field>
|
|
156
|
+
<mj-form-field
|
|
157
|
+
[record]="record"
|
|
158
|
+
[ShowLabel]="true"
|
|
159
|
+
FieldName="CostRank"
|
|
160
|
+
Type="numerictextbox"
|
|
161
|
+
[EditMode]="EditMode"
|
|
162
|
+
></mj-form-field>
|
|
163
|
+
<mj-form-field
|
|
164
|
+
[record]="record"
|
|
165
|
+
[ShowLabel]="true"
|
|
166
|
+
FieldName="ModelSelectionInsights"
|
|
167
|
+
Type="textarea"
|
|
168
|
+
[EditMode]="EditMode"
|
|
169
|
+
></mj-form-field>
|
|
143
170
|
<mj-form-field
|
|
144
171
|
[record]="record"
|
|
145
172
|
[ShowLabel]="true"
|
|
@@ -156,7 +183,7 @@ export { AIModelDetailsComponent };
|
|
|
156
183
|
}], EditMode: [{
|
|
157
184
|
type: Input
|
|
158
185
|
}] }); })();
|
|
159
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AIModelDetailsComponent, { className: "AIModelDetailsComponent", filePath: "src/lib/generated/Entities/AIModel/sections/details.component.ts", lineNumber:
|
|
186
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AIModelDetailsComponent, { className: "AIModelDetailsComponent", filePath: "src/lib/generated/Entities/AIModel/sections/details.component.ts", lineNumber: 124 }); })();
|
|
160
187
|
export function LoadAIModelDetailsComponent() {
|
|
161
188
|
// does nothing, but called in order to prevent tree-shaking from eliminating this component from the build
|
|
162
189
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AIPromptEntity } from '@memberjunction/core-entities';
|
|
2
|
+
import { BaseFormComponent } from '@memberjunction/ng-base-forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AIPromptFormComponent extends BaseFormComponent {
|
|
5
|
+
record: AIPromptEntity;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AIPromptFormComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AIPromptFormComponent, "gen-aiprompt-form", never, {}, {}, never, never, false, never>;
|
|
8
|
+
}
|
|
9
|
+
export declare function LoadAIPromptFormComponent(): void;
|
|
10
|
+
//# sourceMappingURL=aiprompt.form.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aiprompt.form.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/AIPrompt/aiprompt.form.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAE/D,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAIlE,qBAMa,qBAAsB,SAAQ,iBAAiB;IACjD,MAAM,EAAG,cAAc,CAAC;yCADtB,qBAAqB;2CAArB,qBAAqB;CAEjC;AAED,wBAAgB,yBAAyB,SAExC"}
|
|
@@ -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 { LoadAIPromptDetailsComponent } 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
|
+
const _c0 = () => ({ EntityRelationshipID: "5FD6B0B0-BF59-EF11-991A-000D3A9D8BF3" });
|
|
20
|
+
function AIPromptFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
21
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
22
|
+
i0.ɵɵelementStart(0, "form", 3, 0);
|
|
23
|
+
i0.ɵɵelement(2, "mj-form-toolbar", 4);
|
|
24
|
+
i0.ɵɵelementStart(3, "mj-tabstrip", 5);
|
|
25
|
+
i0.ɵɵlistener("TabSelected", function AIPromptFormComponent_form_1_Template_mj_tabstrip_TabSelected_3_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onTabSelect($event.index)); });
|
|
26
|
+
i0.ɵɵelementStart(4, "mj-tab", 6);
|
|
27
|
+
i0.ɵɵtext(5, " Details ");
|
|
28
|
+
i0.ɵɵelementEnd();
|
|
29
|
+
i0.ɵɵelementStart(6, "mj-tab-body");
|
|
30
|
+
i0.ɵɵelement(7, "mj-form-section", 7);
|
|
31
|
+
i0.ɵɵelementEnd();
|
|
32
|
+
i0.ɵɵelementStart(8, "mj-tab", 8);
|
|
33
|
+
i0.ɵɵtext(9, " AI Result Cache ");
|
|
34
|
+
i0.ɵɵelementEnd();
|
|
35
|
+
i0.ɵɵelementStart(10, "mj-tab-body");
|
|
36
|
+
i0.ɵɵelement(11, "mj-user-view-grid", 9);
|
|
37
|
+
i0.ɵɵelementEnd()()();
|
|
38
|
+
} if (rf & 2) {
|
|
39
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
40
|
+
i0.ɵɵadvance(2);
|
|
41
|
+
i0.ɵɵproperty("form", ctx_r1);
|
|
42
|
+
i0.ɵɵadvance(5);
|
|
43
|
+
i0.ɵɵproperty("record", ctx_r1.record)("EditMode", ctx_r1.EditMode);
|
|
44
|
+
i0.ɵɵadvance();
|
|
45
|
+
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved)("Props", i0.ɵɵpureFunction0(10, _c0));
|
|
46
|
+
i0.ɵɵadvance(3);
|
|
47
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("AI Result Cache"))("NewRecordValues", ctx_r1.NewRecordValues("AI Result Cache"))("AllowLoad", ctx_r1.IsCurrentTab("AI Result Cache"))("EditMode", ctx_r1.GridEditMode())("BottomMargin", ctx_r1.GridBottomMargin);
|
|
48
|
+
} }
|
|
49
|
+
let AIPromptFormComponent = class AIPromptFormComponent extends BaseFormComponent {
|
|
50
|
+
};
|
|
51
|
+
AIPromptFormComponent.ɵfac = /*@__PURE__*/ (() => { let ɵAIPromptFormComponent_BaseFactory; return function AIPromptFormComponent_Factory(t) { return (ɵAIPromptFormComponent_BaseFactory || (ɵAIPromptFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(AIPromptFormComponent)))(t || AIPromptFormComponent); }; })();
|
|
52
|
+
AIPromptFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AIPromptFormComponent, selectors: [["gen-aiprompt-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"], ["Name", "Details"], ["Entity", "AI Prompts", "Section", "details", 3, "record", "EditMode"], ["Name", "AI Result Cache", 3, "Visible", "Props"], [3, "Params", "NewRecordValues", "AllowLoad", "EditMode", "BottomMargin"]], template: function AIPromptFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
53
|
+
i0.ɵɵelementStart(0, "div", 1);
|
|
54
|
+
i0.ɵɵtemplate(1, AIPromptFormComponent_form_1_Template, 12, 11, "form", 2);
|
|
55
|
+
i0.ɵɵelementEnd();
|
|
56
|
+
} if (rf & 2) {
|
|
57
|
+
i0.ɵɵproperty("bottomMargin", 20)("rightMargin", 5);
|
|
58
|
+
i0.ɵɵadvance();
|
|
59
|
+
i0.ɵɵproperty("ngIf", ctx.record);
|
|
60
|
+
} }, 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}"] });
|
|
61
|
+
AIPromptFormComponent = __decorate([
|
|
62
|
+
RegisterClass(BaseFormComponent, 'AI Prompts') // Tell MemberJunction about this class
|
|
63
|
+
], AIPromptFormComponent);
|
|
64
|
+
export { AIPromptFormComponent };
|
|
65
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AIPromptFormComponent, [{
|
|
66
|
+
type: Component,
|
|
67
|
+
args: [{ selector: 'gen-aiprompt-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.index)\" mjFillContainer>\n \n <mj-tab Name=\"Details\">\n Details\n </mj-tab>\n <mj-tab-body>\n <mj-form-section \n Entity=\"AI Prompts\" \n Section=\"details\" \n [record]=\"record\" \n [EditMode]=\"this.EditMode\">\n </mj-form-section>\n </mj-tab-body>\n \n <mj-tab Name=\"AI Result Cache\" \n [Visible]=\"record.IsSaved\" \n [Props]=\"{EntityRelationshipID: '5FD6B0B0-BF59-EF11-991A-000D3A9D8BF3'}\">\n AI Result Cache\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('AI Result Cache')\" \n [NewRecordValues]=\"NewRecordValues('AI Result Cache')\"\n [AllowLoad]=\"IsCurrentTab('AI Result Cache')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n </mj-tabstrip>\n </form>\n</div>\n ", styles: [".k-pane {\n background-color: #F5F6FA;\n} \n\n\na {\n font-size: 14px;\n font-weight: bolder;\n}\n\n.tab-header-icon {\n margin-right: 5px;\n}\n\n.record-form {\n display: block;\n flex-direction: column;\n background-color: #F5F6FA;\n padding: 10px;\n}\n\n.record-form-group {\n margin-top: 0px;\n background-color: #F5F6FA;\n}\n\nbutton {\n margin-right: 5px;\n}\n\n.record-form h2 {\n margin-bottom: 10px;\n}\n\n.k-splitter {\n border-width: 0px;\n}\n\n.record-form-row {\n display: grid;\n grid-template-columns: auto 1fr;\n align-items: start;\n gap: 10px;\n margin-bottom: 12px;\n padding-top: 5px;\n padding-bottom: 5px;\n}\n\n\n/* .record-form .record-form-row:nth-child(odd) {\n background-color: #f2f2f2; \n} */\n\n/* \n.record-form .record-form-row:nth-child(even) {\n background-color: #ffffff; \n} */\n\n.record-form .record-form-row > :first-child {\n font-weight: bold;\n padding-right: 10px;\n} \n\n.record-form .record-form-row > span {\n white-space: pre-line;\n max-height: 300px;\n overflow: auto;\n}\n\n \n\n@media (min-width: 768px) {\n .record-form-row {\n flex-direction: row;\n align-items: center;\n }\n\n .record-form-row label {\n width: 240px;\n margin-bottom: 0;\n }\n}\n"] }]
|
|
68
|
+
}], null, null); })();
|
|
69
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AIPromptFormComponent, { className: "AIPromptFormComponent", filePath: "src/lib/generated/Entities/AIPrompt/aiprompt.form.component.ts", lineNumber: 14 }); })();
|
|
70
|
+
export function LoadAIPromptFormComponent() {
|
|
71
|
+
LoadAIPromptDetailsComponent();
|
|
72
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BaseFormSectionComponent } from '@memberjunction/ng-base-forms';
|
|
2
|
+
import { AIPromptEntity } from '@memberjunction/core-entities';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AIPromptDetailsComponent extends BaseFormSectionComponent {
|
|
5
|
+
record: AIPromptEntity;
|
|
6
|
+
EditMode: boolean;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AIPromptDetailsComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AIPromptDetailsComponent, "gen-aiprompt-form-details", never, { "record": { "alias": "record"; "required": false; }; "EditMode": { "alias": "EditMode"; "required": false; }; }, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
10
|
+
export declare function LoadAIPromptDetailsComponent(): 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/AIPrompt/sections/details.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;;AAE/D,qBA4Ga,wBAAyB,SAAQ,wBAAwB;IAChD,MAAM,EAAG,cAAc,CAAC;IACxB,QAAQ,EAAE,OAAO,CAAS;yCAFnC,wBAAwB;2CAAxB,wBAAwB;CAGpC;AAED,wBAAgB,4BAA4B,SAE3C"}
|
|
@@ -0,0 +1,175 @@
|
|
|
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 AIPromptDetailsComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
14
|
+
i0.ɵɵelementStart(0, "div")(1, "div", 1);
|
|
15
|
+
i0.ɵɵelement(2, "mj-form-field", 2)(3, "mj-form-field", 3)(4, "mj-form-field", 4)(5, "mj-form-field", 5)(6, "mj-form-field", 6)(7, "mj-form-field", 7)(8, "mj-form-field", 8)(9, "mj-form-field", 9)(10, "mj-form-field", 10)(11, "mj-form-field", 11)(12, "mj-form-field", 12)(13, "mj-form-field", 13)(14, "mj-form-field", 14);
|
|
16
|
+
i0.ɵɵelementEnd()();
|
|
17
|
+
} if (rf & 2) {
|
|
18
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
19
|
+
i0.ɵɵadvance(2);
|
|
20
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
21
|
+
i0.ɵɵadvance();
|
|
22
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
23
|
+
i0.ɵɵadvance();
|
|
24
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
25
|
+
i0.ɵɵadvance();
|
|
26
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
27
|
+
i0.ɵɵadvance();
|
|
28
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
29
|
+
i0.ɵɵadvance();
|
|
30
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
31
|
+
i0.ɵɵadvance();
|
|
32
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
33
|
+
i0.ɵɵadvance();
|
|
34
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
35
|
+
i0.ɵɵadvance();
|
|
36
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
37
|
+
i0.ɵɵadvance();
|
|
38
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
39
|
+
i0.ɵɵadvance();
|
|
40
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
41
|
+
i0.ɵɵadvance();
|
|
42
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
43
|
+
i0.ɵɵadvance();
|
|
44
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
45
|
+
} }
|
|
46
|
+
let AIPromptDetailsComponent = class AIPromptDetailsComponent extends BaseFormSectionComponent {
|
|
47
|
+
constructor() {
|
|
48
|
+
super(...arguments);
|
|
49
|
+
this.EditMode = false;
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
AIPromptDetailsComponent.ɵfac = /*@__PURE__*/ (() => { let ɵAIPromptDetailsComponent_BaseFactory; return function AIPromptDetailsComponent_Factory(t) { return (ɵAIPromptDetailsComponent_BaseFactory || (ɵAIPromptDetailsComponent_BaseFactory = i0.ɵɵgetInheritedFactory(AIPromptDetailsComponent)))(t || AIPromptDetailsComponent); }; })();
|
|
53
|
+
AIPromptDetailsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AIPromptDetailsComponent, selectors: [["gen-aiprompt-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", "TemplateID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "CategoryID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "TypeID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Status", "Type", "dropdownlist", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "CacheResults", "Type", "checkbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "CacheExpiration", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "__mj_CreatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "__mj_UpdatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Template", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Category", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Type", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"]], template: function AIPromptDetailsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
54
|
+
i0.ɵɵtemplate(0, AIPromptDetailsComponent_div_0_Template, 15, 39, "div", 0);
|
|
55
|
+
} if (rf & 2) {
|
|
56
|
+
i0.ɵɵproperty("ngIf", ctx.record);
|
|
57
|
+
} }, 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}"] });
|
|
58
|
+
AIPromptDetailsComponent = __decorate([
|
|
59
|
+
RegisterClass(BaseFormSectionComponent, 'AI Prompts.details') // Tell MemberJunction about this class
|
|
60
|
+
], AIPromptDetailsComponent);
|
|
61
|
+
export { AIPromptDetailsComponent };
|
|
62
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AIPromptDetailsComponent, [{
|
|
63
|
+
type: Component,
|
|
64
|
+
args: [{ selector: 'gen-aiprompt-form-details', template: `<div *ngIf="this.record">
|
|
65
|
+
<div class="record-form">
|
|
66
|
+
<mj-form-field
|
|
67
|
+
[record]="record"
|
|
68
|
+
[ShowLabel]="true"
|
|
69
|
+
FieldName="Name"
|
|
70
|
+
Type="textarea"
|
|
71
|
+
[EditMode]="EditMode"
|
|
72
|
+
></mj-form-field>
|
|
73
|
+
<mj-form-field
|
|
74
|
+
[record]="record"
|
|
75
|
+
[ShowLabel]="true"
|
|
76
|
+
FieldName="Description"
|
|
77
|
+
Type="textarea"
|
|
78
|
+
[EditMode]="EditMode"
|
|
79
|
+
></mj-form-field>
|
|
80
|
+
<mj-form-field
|
|
81
|
+
[record]="record"
|
|
82
|
+
[ShowLabel]="true"
|
|
83
|
+
FieldName="TemplateID"
|
|
84
|
+
Type="textbox"
|
|
85
|
+
[EditMode]="EditMode"
|
|
86
|
+
LinkType="Record"
|
|
87
|
+
LinkComponentType="Search"
|
|
88
|
+
></mj-form-field>
|
|
89
|
+
<mj-form-field
|
|
90
|
+
[record]="record"
|
|
91
|
+
[ShowLabel]="true"
|
|
92
|
+
FieldName="CategoryID"
|
|
93
|
+
Type="textbox"
|
|
94
|
+
[EditMode]="EditMode"
|
|
95
|
+
LinkType="Record"
|
|
96
|
+
LinkComponentType="Search"
|
|
97
|
+
></mj-form-field>
|
|
98
|
+
<mj-form-field
|
|
99
|
+
[record]="record"
|
|
100
|
+
[ShowLabel]="true"
|
|
101
|
+
FieldName="TypeID"
|
|
102
|
+
Type="textbox"
|
|
103
|
+
[EditMode]="EditMode"
|
|
104
|
+
LinkType="Record"
|
|
105
|
+
LinkComponentType="Search"
|
|
106
|
+
></mj-form-field>
|
|
107
|
+
<mj-form-field
|
|
108
|
+
[record]="record"
|
|
109
|
+
[ShowLabel]="true"
|
|
110
|
+
FieldName="Status"
|
|
111
|
+
Type="dropdownlist"
|
|
112
|
+
[EditMode]="EditMode"
|
|
113
|
+
></mj-form-field>
|
|
114
|
+
<mj-form-field
|
|
115
|
+
[record]="record"
|
|
116
|
+
[ShowLabel]="true"
|
|
117
|
+
FieldName="CacheResults"
|
|
118
|
+
Type="checkbox"
|
|
119
|
+
[EditMode]="EditMode"
|
|
120
|
+
></mj-form-field>
|
|
121
|
+
<mj-form-field
|
|
122
|
+
[record]="record"
|
|
123
|
+
[ShowLabel]="true"
|
|
124
|
+
FieldName="CacheExpiration"
|
|
125
|
+
Type="numerictextbox"
|
|
126
|
+
[EditMode]="EditMode"
|
|
127
|
+
></mj-form-field>
|
|
128
|
+
<mj-form-field
|
|
129
|
+
[record]="record"
|
|
130
|
+
[ShowLabel]="true"
|
|
131
|
+
FieldName="__mj_CreatedAt"
|
|
132
|
+
Type="textbox"
|
|
133
|
+
[EditMode]="EditMode"
|
|
134
|
+
></mj-form-field>
|
|
135
|
+
<mj-form-field
|
|
136
|
+
[record]="record"
|
|
137
|
+
[ShowLabel]="true"
|
|
138
|
+
FieldName="__mj_UpdatedAt"
|
|
139
|
+
Type="textbox"
|
|
140
|
+
[EditMode]="EditMode"
|
|
141
|
+
></mj-form-field>
|
|
142
|
+
<mj-form-field
|
|
143
|
+
[record]="record"
|
|
144
|
+
[ShowLabel]="true"
|
|
145
|
+
FieldName="Template"
|
|
146
|
+
Type="textbox"
|
|
147
|
+
[EditMode]="EditMode"
|
|
148
|
+
></mj-form-field>
|
|
149
|
+
<mj-form-field
|
|
150
|
+
[record]="record"
|
|
151
|
+
[ShowLabel]="true"
|
|
152
|
+
FieldName="Category"
|
|
153
|
+
Type="textbox"
|
|
154
|
+
[EditMode]="EditMode"
|
|
155
|
+
></mj-form-field>
|
|
156
|
+
<mj-form-field
|
|
157
|
+
[record]="record"
|
|
158
|
+
[ShowLabel]="true"
|
|
159
|
+
FieldName="Type"
|
|
160
|
+
Type="textbox"
|
|
161
|
+
[EditMode]="EditMode"
|
|
162
|
+
></mj-form-field>
|
|
163
|
+
|
|
164
|
+
</div>
|
|
165
|
+
</div>
|
|
166
|
+
`, 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
|
+
}], null, { record: [{
|
|
168
|
+
type: Input
|
|
169
|
+
}], EditMode: [{
|
|
170
|
+
type: Input
|
|
171
|
+
}] }); })();
|
|
172
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AIPromptDetailsComponent, { className: "AIPromptDetailsComponent", filePath: "src/lib/generated/Entities/AIPrompt/sections/details.component.ts", lineNumber: 114 }); })();
|
|
173
|
+
export function LoadAIPromptDetailsComponent() {
|
|
174
|
+
// does nothing, but called in order to prevent tree-shaking from eliminating this component from the build
|
|
175
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AIPromptCategoryEntity } from '@memberjunction/core-entities';
|
|
2
|
+
import { BaseFormComponent } from '@memberjunction/ng-base-forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AIPromptCategoryFormComponent extends BaseFormComponent {
|
|
5
|
+
record: AIPromptCategoryEntity;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AIPromptCategoryFormComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AIPromptCategoryFormComponent, "gen-aipromptcategory-form", never, {}, {}, never, never, false, never>;
|
|
8
|
+
}
|
|
9
|
+
export declare function LoadAIPromptCategoryFormComponent(): void;
|
|
10
|
+
//# sourceMappingURL=aipromptcategory.form.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aipromptcategory.form.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/AIPromptCategory/aipromptcategory.form.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AAEvE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAIlE,qBAMa,6BAA8B,SAAQ,iBAAiB;IACzD,MAAM,EAAG,sBAAsB,CAAC;yCAD9B,6BAA6B;2CAA7B,6BAA6B;CAEzC;AAED,wBAAgB,iCAAiC,SAEhD"}
|