@memberjunction/ng-core-entity-forms 2.2.1 → 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 +13 -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/Template/template.form.component.js +19 -8
- 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
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BaseFormSectionComponent } from '@memberjunction/ng-base-forms';
|
|
2
|
+
import { AIPromptCategoryEntity } from '@memberjunction/core-entities';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AIPromptCategoryDetailsComponent extends BaseFormSectionComponent {
|
|
5
|
+
record: AIPromptCategoryEntity;
|
|
6
|
+
EditMode: boolean;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AIPromptCategoryDetailsComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AIPromptCategoryDetailsComponent, "gen-aipromptcategory-form-details", never, { "record": { "alias": "record"; "required": false; }; "EditMode": { "alias": "EditMode"; "required": false; }; }, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
10
|
+
export declare function LoadAIPromptCategoryDetailsComponent(): 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/AIPromptCategory/sections/details.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;;AAEvE,qBAuDa,gCAAiC,SAAQ,wBAAwB;IACxD,MAAM,EAAG,sBAAsB,CAAC;IAChC,QAAQ,EAAE,OAAO,CAAS;yCAFnC,gCAAgC;2CAAhC,gCAAgC;CAG5C;AAED,wBAAgB,oCAAoC,SAEnD"}
|
|
@@ -0,0 +1,108 @@
|
|
|
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 AIPromptCategoryDetailsComponent_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);
|
|
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
|
+
} }
|
|
32
|
+
let AIPromptCategoryDetailsComponent = class AIPromptCategoryDetailsComponent extends BaseFormSectionComponent {
|
|
33
|
+
constructor() {
|
|
34
|
+
super(...arguments);
|
|
35
|
+
this.EditMode = false;
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
AIPromptCategoryDetailsComponent.ɵfac = /*@__PURE__*/ (() => { let ɵAIPromptCategoryDetailsComponent_BaseFactory; return function AIPromptCategoryDetailsComponent_Factory(t) { return (ɵAIPromptCategoryDetailsComponent_BaseFactory || (ɵAIPromptCategoryDetailsComponent_BaseFactory = i0.ɵɵgetInheritedFactory(AIPromptCategoryDetailsComponent)))(t || AIPromptCategoryDetailsComponent); }; })();
|
|
39
|
+
AIPromptCategoryDetailsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AIPromptCategoryDetailsComponent, selectors: [["gen-aipromptcategory-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", "ParentID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Description", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "__mj_CreatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "__mj_UpdatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Parent", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"]], template: function AIPromptCategoryDetailsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
40
|
+
i0.ɵɵtemplate(0, AIPromptCategoryDetailsComponent_div_0_Template, 8, 18, "div", 0);
|
|
41
|
+
} if (rf & 2) {
|
|
42
|
+
i0.ɵɵproperty("ngIf", ctx.record);
|
|
43
|
+
} }, 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}"] });
|
|
44
|
+
AIPromptCategoryDetailsComponent = __decorate([
|
|
45
|
+
RegisterClass(BaseFormSectionComponent, 'AI Prompt Categories.details') // Tell MemberJunction about this class
|
|
46
|
+
], AIPromptCategoryDetailsComponent);
|
|
47
|
+
export { AIPromptCategoryDetailsComponent };
|
|
48
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AIPromptCategoryDetailsComponent, [{
|
|
49
|
+
type: Component,
|
|
50
|
+
args: [{ selector: 'gen-aipromptcategory-form-details', template: `<div *ngIf="this.record">
|
|
51
|
+
<div class="record-form">
|
|
52
|
+
<mj-form-field
|
|
53
|
+
[record]="record"
|
|
54
|
+
[ShowLabel]="true"
|
|
55
|
+
FieldName="Name"
|
|
56
|
+
Type="textarea"
|
|
57
|
+
[EditMode]="EditMode"
|
|
58
|
+
></mj-form-field>
|
|
59
|
+
<mj-form-field
|
|
60
|
+
[record]="record"
|
|
61
|
+
[ShowLabel]="true"
|
|
62
|
+
FieldName="ParentID"
|
|
63
|
+
Type="textbox"
|
|
64
|
+
[EditMode]="EditMode"
|
|
65
|
+
LinkType="Record"
|
|
66
|
+
LinkComponentType="Search"
|
|
67
|
+
></mj-form-field>
|
|
68
|
+
<mj-form-field
|
|
69
|
+
[record]="record"
|
|
70
|
+
[ShowLabel]="true"
|
|
71
|
+
FieldName="Description"
|
|
72
|
+
Type="textarea"
|
|
73
|
+
[EditMode]="EditMode"
|
|
74
|
+
></mj-form-field>
|
|
75
|
+
<mj-form-field
|
|
76
|
+
[record]="record"
|
|
77
|
+
[ShowLabel]="true"
|
|
78
|
+
FieldName="__mj_CreatedAt"
|
|
79
|
+
Type="textbox"
|
|
80
|
+
[EditMode]="EditMode"
|
|
81
|
+
></mj-form-field>
|
|
82
|
+
<mj-form-field
|
|
83
|
+
[record]="record"
|
|
84
|
+
[ShowLabel]="true"
|
|
85
|
+
FieldName="__mj_UpdatedAt"
|
|
86
|
+
Type="textbox"
|
|
87
|
+
[EditMode]="EditMode"
|
|
88
|
+
></mj-form-field>
|
|
89
|
+
<mj-form-field
|
|
90
|
+
[record]="record"
|
|
91
|
+
[ShowLabel]="true"
|
|
92
|
+
FieldName="Parent"
|
|
93
|
+
Type="textbox"
|
|
94
|
+
[EditMode]="EditMode"
|
|
95
|
+
></mj-form-field>
|
|
96
|
+
|
|
97
|
+
</div>
|
|
98
|
+
</div>
|
|
99
|
+
`, 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"] }]
|
|
100
|
+
}], null, { record: [{
|
|
101
|
+
type: Input
|
|
102
|
+
}], EditMode: [{
|
|
103
|
+
type: Input
|
|
104
|
+
}] }); })();
|
|
105
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AIPromptCategoryDetailsComponent, { className: "AIPromptCategoryDetailsComponent", filePath: "src/lib/generated/Entities/AIPromptCategory/sections/details.component.ts", lineNumber: 61 }); })();
|
|
106
|
+
export function LoadAIPromptCategoryDetailsComponent() {
|
|
107
|
+
// does nothing, but called in order to prevent tree-shaking from eliminating this component from the build
|
|
108
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AIPromptTypeEntity } from '@memberjunction/core-entities';
|
|
2
|
+
import { BaseFormComponent } from '@memberjunction/ng-base-forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AIPromptTypeFormComponent extends BaseFormComponent {
|
|
5
|
+
record: AIPromptTypeEntity;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AIPromptTypeFormComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AIPromptTypeFormComponent, "gen-aiprompttype-form", never, {}, {}, never, never, false, never>;
|
|
8
|
+
}
|
|
9
|
+
export declare function LoadAIPromptTypeFormComponent(): void;
|
|
10
|
+
//# sourceMappingURL=aiprompttype.form.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aiprompttype.form.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/AIPromptType/aiprompttype.form.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAEnE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAIlE,qBAMa,yBAA0B,SAAQ,iBAAiB;IACrD,MAAM,EAAG,kBAAkB,CAAC;yCAD1B,yBAAyB;2CAAzB,yBAAyB;CAErC;AAED,wBAAgB,6BAA6B,SAE5C"}
|
|
@@ -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 { LoadAIPromptTypeDetailsComponent } 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: "62D6B0B0-BF59-EF11-991A-000D3A9D8BF3" });
|
|
20
|
+
function AIPromptTypeFormComponent_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 AIPromptTypeFormComponent_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 Prompts ");
|
|
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 Prompts"))("NewRecordValues", ctx_r1.NewRecordValues("AI Prompts"))("AllowLoad", ctx_r1.IsCurrentTab("AI Prompts"))("EditMode", ctx_r1.GridEditMode())("BottomMargin", ctx_r1.GridBottomMargin);
|
|
48
|
+
} }
|
|
49
|
+
let AIPromptTypeFormComponent = class AIPromptTypeFormComponent extends BaseFormComponent {
|
|
50
|
+
};
|
|
51
|
+
AIPromptTypeFormComponent.ɵfac = /*@__PURE__*/ (() => { let ɵAIPromptTypeFormComponent_BaseFactory; return function AIPromptTypeFormComponent_Factory(t) { return (ɵAIPromptTypeFormComponent_BaseFactory || (ɵAIPromptTypeFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(AIPromptTypeFormComponent)))(t || AIPromptTypeFormComponent); }; })();
|
|
52
|
+
AIPromptTypeFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AIPromptTypeFormComponent, selectors: [["gen-aiprompttype-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 Prompt Types", "Section", "details", 3, "record", "EditMode"], ["Name", "AI Prompts", 3, "Visible", "Props"], [3, "Params", "NewRecordValues", "AllowLoad", "EditMode", "BottomMargin"]], template: function AIPromptTypeFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
53
|
+
i0.ɵɵelementStart(0, "div", 1);
|
|
54
|
+
i0.ɵɵtemplate(1, AIPromptTypeFormComponent_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
|
+
AIPromptTypeFormComponent = __decorate([
|
|
62
|
+
RegisterClass(BaseFormComponent, 'AI Prompt Types') // Tell MemberJunction about this class
|
|
63
|
+
], AIPromptTypeFormComponent);
|
|
64
|
+
export { AIPromptTypeFormComponent };
|
|
65
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AIPromptTypeFormComponent, [{
|
|
66
|
+
type: Component,
|
|
67
|
+
args: [{ selector: 'gen-aiprompttype-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 Prompt Types\" \n Section=\"details\" \n [record]=\"record\" \n [EditMode]=\"this.EditMode\">\n </mj-form-section>\n </mj-tab-body>\n \n <mj-tab Name=\"AI Prompts\" \n [Visible]=\"record.IsSaved\" \n [Props]=\"{EntityRelationshipID: '62D6B0B0-BF59-EF11-991A-000D3A9D8BF3'}\">\n AI Prompts\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('AI Prompts')\" \n [NewRecordValues]=\"NewRecordValues('AI Prompts')\"\n [AllowLoad]=\"IsCurrentTab('AI Prompts')\" \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(AIPromptTypeFormComponent, { className: "AIPromptTypeFormComponent", filePath: "src/lib/generated/Entities/AIPromptType/aiprompttype.form.component.ts", lineNumber: 14 }); })();
|
|
70
|
+
export function LoadAIPromptTypeFormComponent() {
|
|
71
|
+
LoadAIPromptTypeDetailsComponent();
|
|
72
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BaseFormSectionComponent } from '@memberjunction/ng-base-forms';
|
|
2
|
+
import { AIPromptTypeEntity } from '@memberjunction/core-entities';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AIPromptTypeDetailsComponent extends BaseFormSectionComponent {
|
|
5
|
+
record: AIPromptTypeEntity;
|
|
6
|
+
EditMode: boolean;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AIPromptTypeDetailsComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AIPromptTypeDetailsComponent, "gen-aiprompttype-form-details", never, { "record": { "alias": "record"; "required": false; }; "EditMode": { "alias": "EditMode"; "required": false; }; }, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
10
|
+
export declare function LoadAIPromptTypeDetailsComponent(): 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/AIPromptType/sections/details.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;;AAEnE,qBAuCa,4BAA6B,SAAQ,wBAAwB;IACpD,MAAM,EAAG,kBAAkB,CAAC;IAC5B,QAAQ,EAAE,OAAO,CAAS;yCAFnC,4BAA4B;2CAA5B,4BAA4B;CAGxC;AAED,wBAAgB,gCAAgC,SAE/C"}
|
|
@@ -0,0 +1,88 @@
|
|
|
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 AIPromptTypeDetailsComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
14
|
+
i0.ɵɵelementStart(0, "div")(1, "div", 1);
|
|
15
|
+
i0.ɵɵelement(2, "mj-form-field", 2)(3, "mj-form-field", 3)(4, "mj-form-field", 4)(5, "mj-form-field", 5);
|
|
16
|
+
i0.ɵɵelementEnd()();
|
|
17
|
+
} if (rf & 2) {
|
|
18
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
19
|
+
i0.ɵɵadvance(2);
|
|
20
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
21
|
+
i0.ɵɵadvance();
|
|
22
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
23
|
+
i0.ɵɵadvance();
|
|
24
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
25
|
+
i0.ɵɵadvance();
|
|
26
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
27
|
+
} }
|
|
28
|
+
let AIPromptTypeDetailsComponent = class AIPromptTypeDetailsComponent extends BaseFormSectionComponent {
|
|
29
|
+
constructor() {
|
|
30
|
+
super(...arguments);
|
|
31
|
+
this.EditMode = false;
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
AIPromptTypeDetailsComponent.ɵfac = /*@__PURE__*/ (() => { let ɵAIPromptTypeDetailsComponent_BaseFactory; return function AIPromptTypeDetailsComponent_Factory(t) { return (ɵAIPromptTypeDetailsComponent_BaseFactory || (ɵAIPromptTypeDetailsComponent_BaseFactory = i0.ɵɵgetInheritedFactory(AIPromptTypeDetailsComponent)))(t || AIPromptTypeDetailsComponent); }; })();
|
|
35
|
+
AIPromptTypeDetailsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AIPromptTypeDetailsComponent, selectors: [["gen-aiprompttype-form-details"]], inputs: { record: "record", EditMode: "EditMode" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "record-form"], ["FieldName", "Name", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Description", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "__mj_CreatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "__mj_UpdatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"]], template: function AIPromptTypeDetailsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
36
|
+
i0.ɵɵtemplate(0, AIPromptTypeDetailsComponent_div_0_Template, 6, 12, "div", 0);
|
|
37
|
+
} if (rf & 2) {
|
|
38
|
+
i0.ɵɵproperty("ngIf", ctx.record);
|
|
39
|
+
} }, dependencies: [i1.NgIf, i2.MJFormField], styles: [".k-pane[_ngcontent-%COMP%] {\n background-color: #F5F6FA;\n} \n\n\na[_ngcontent-%COMP%] {\n font-size: 14px;\n font-weight: bolder;\n}\n\n.tab-header-icon[_ngcontent-%COMP%] {\n margin-right: 5px;\n}\n\n.record-form[_ngcontent-%COMP%] {\n display: block;\n flex-direction: column;\n background-color: #F5F6FA;\n padding: 10px;\n}\n\n.record-form-group[_ngcontent-%COMP%] {\n margin-top: 0px;\n background-color: #F5F6FA;\n}\n\nbutton[_ngcontent-%COMP%] {\n margin-right: 5px;\n}\n\n.record-form[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] {\n margin-bottom: 10px;\n}\n\n.k-splitter[_ngcontent-%COMP%] {\n border-width: 0px;\n}\n\n.record-form-row[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: auto 1fr;\n align-items: start;\n gap: 10px;\n margin-bottom: 12px;\n padding-top: 5px;\n padding-bottom: 5px;\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n.record-form[_ngcontent-%COMP%] .record-form-row[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:first-child {\n font-weight: bold;\n padding-right: 10px;\n} \n\n.record-form[_ngcontent-%COMP%] .record-form-row[_ngcontent-%COMP%] > span[_ngcontent-%COMP%] {\n white-space: pre-line;\n max-height: 300px;\n overflow: auto;\n}\n\n \n\n@media (min-width: 768px) {\n .record-form-row[_ngcontent-%COMP%] {\n flex-direction: row;\n align-items: center;\n }\n\n .record-form-row[_ngcontent-%COMP%] label[_ngcontent-%COMP%] {\n width: 240px;\n margin-bottom: 0;\n }\n}"] });
|
|
40
|
+
AIPromptTypeDetailsComponent = __decorate([
|
|
41
|
+
RegisterClass(BaseFormSectionComponent, 'AI Prompt Types.details') // Tell MemberJunction about this class
|
|
42
|
+
], AIPromptTypeDetailsComponent);
|
|
43
|
+
export { AIPromptTypeDetailsComponent };
|
|
44
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AIPromptTypeDetailsComponent, [{
|
|
45
|
+
type: Component,
|
|
46
|
+
args: [{ selector: 'gen-aiprompttype-form-details', template: `<div *ngIf="this.record">
|
|
47
|
+
<div class="record-form">
|
|
48
|
+
<mj-form-field
|
|
49
|
+
[record]="record"
|
|
50
|
+
[ShowLabel]="true"
|
|
51
|
+
FieldName="Name"
|
|
52
|
+
Type="textarea"
|
|
53
|
+
[EditMode]="EditMode"
|
|
54
|
+
></mj-form-field>
|
|
55
|
+
<mj-form-field
|
|
56
|
+
[record]="record"
|
|
57
|
+
[ShowLabel]="true"
|
|
58
|
+
FieldName="Description"
|
|
59
|
+
Type="textarea"
|
|
60
|
+
[EditMode]="EditMode"
|
|
61
|
+
></mj-form-field>
|
|
62
|
+
<mj-form-field
|
|
63
|
+
[record]="record"
|
|
64
|
+
[ShowLabel]="true"
|
|
65
|
+
FieldName="__mj_CreatedAt"
|
|
66
|
+
Type="textbox"
|
|
67
|
+
[EditMode]="EditMode"
|
|
68
|
+
></mj-form-field>
|
|
69
|
+
<mj-form-field
|
|
70
|
+
[record]="record"
|
|
71
|
+
[ShowLabel]="true"
|
|
72
|
+
FieldName="__mj_UpdatedAt"
|
|
73
|
+
Type="textbox"
|
|
74
|
+
[EditMode]="EditMode"
|
|
75
|
+
></mj-form-field>
|
|
76
|
+
|
|
77
|
+
</div>
|
|
78
|
+
</div>
|
|
79
|
+
`, styles: [".k-pane {\n background-color: #F5F6FA;\n} \n\n\na {\n font-size: 14px;\n font-weight: bolder;\n}\n\n.tab-header-icon {\n margin-right: 5px;\n}\n\n.record-form {\n display: block;\n flex-direction: column;\n background-color: #F5F6FA;\n padding: 10px;\n}\n\n.record-form-group {\n margin-top: 0px;\n background-color: #F5F6FA;\n}\n\nbutton {\n margin-right: 5px;\n}\n\n.record-form h2 {\n margin-bottom: 10px;\n}\n\n.k-splitter {\n border-width: 0px;\n}\n\n.record-form-row {\n display: grid;\n grid-template-columns: auto 1fr;\n align-items: start;\n gap: 10px;\n margin-bottom: 12px;\n padding-top: 5px;\n padding-bottom: 5px;\n}\n\n\n/* .record-form .record-form-row:nth-child(odd) {\n background-color: #f2f2f2; \n} */\n\n/* \n.record-form .record-form-row:nth-child(even) {\n background-color: #ffffff; \n} */\n\n.record-form .record-form-row > :first-child {\n font-weight: bold;\n padding-right: 10px;\n} \n\n.record-form .record-form-row > span {\n white-space: pre-line;\n max-height: 300px;\n overflow: auto;\n}\n\n \n\n@media (min-width: 768px) {\n .record-form-row {\n flex-direction: row;\n align-items: center;\n }\n\n .record-form-row label {\n width: 240px;\n margin-bottom: 0;\n }\n}\n"] }]
|
|
80
|
+
}], null, { record: [{
|
|
81
|
+
type: Input
|
|
82
|
+
}], EditMode: [{
|
|
83
|
+
type: Input
|
|
84
|
+
}] }); })();
|
|
85
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AIPromptTypeDetailsComponent, { className: "AIPromptTypeDetailsComponent", filePath: "src/lib/generated/Entities/AIPromptType/sections/details.component.ts", lineNumber: 45 }); })();
|
|
86
|
+
export function LoadAIPromptTypeDetailsComponent() {
|
|
87
|
+
// does nothing, but called in order to prevent tree-shaking from eliminating this component from the build
|
|
88
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AIResultCacheEntity } from '@memberjunction/core-entities';
|
|
2
|
+
import { BaseFormComponent } from '@memberjunction/ng-base-forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AIResultCacheFormComponent extends BaseFormComponent {
|
|
5
|
+
record: AIResultCacheEntity;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AIResultCacheFormComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AIResultCacheFormComponent, "gen-airesultcache-form", never, {}, {}, never, never, false, never>;
|
|
8
|
+
}
|
|
9
|
+
export declare function LoadAIResultCacheFormComponent(): void;
|
|
10
|
+
//# sourceMappingURL=airesultcache.form.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"airesultcache.form.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/AIResultCache/airesultcache.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,60 @@
|
|
|
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 { LoadAIResultCacheDetailsComponent } 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 AIResultCacheFormComponent_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 AIResultCacheFormComponent_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)); });
|
|
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 AIResultCacheFormComponent = class AIResultCacheFormComponent extends BaseFormComponent {
|
|
38
|
+
};
|
|
39
|
+
AIResultCacheFormComponent.ɵfac = /*@__PURE__*/ (() => { let ɵAIResultCacheFormComponent_BaseFactory; return function AIResultCacheFormComponent_Factory(t) { return (ɵAIResultCacheFormComponent_BaseFactory || (ɵAIResultCacheFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(AIResultCacheFormComponent)))(t || AIResultCacheFormComponent); }; })();
|
|
40
|
+
AIResultCacheFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AIResultCacheFormComponent, selectors: [["gen-airesultcache-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 Result Cache", "Section", "details", 3, "record", "EditMode"]], template: function AIResultCacheFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
41
|
+
i0.ɵɵelementStart(0, "div", 1);
|
|
42
|
+
i0.ɵɵtemplate(1, AIResultCacheFormComponent_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
|
+
AIResultCacheFormComponent = __decorate([
|
|
50
|
+
RegisterClass(BaseFormComponent, 'AI Result Cache') // Tell MemberJunction about this class
|
|
51
|
+
], AIResultCacheFormComponent);
|
|
52
|
+
export { AIResultCacheFormComponent };
|
|
53
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AIResultCacheFormComponent, [{
|
|
54
|
+
type: Component,
|
|
55
|
+
args: [{ selector: 'gen-airesultcache-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 Result Cache\" \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(AIResultCacheFormComponent, { className: "AIResultCacheFormComponent", filePath: "src/lib/generated/Entities/AIResultCache/airesultcache.form.component.ts", lineNumber: 13 }); })();
|
|
58
|
+
export function LoadAIResultCacheFormComponent() {
|
|
59
|
+
LoadAIResultCacheDetailsComponent();
|
|
60
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BaseFormSectionComponent } from '@memberjunction/ng-base-forms';
|
|
2
|
+
import { AIResultCacheEntity } from '@memberjunction/core-entities';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AIResultCacheDetailsComponent extends BaseFormSectionComponent {
|
|
5
|
+
record: AIResultCacheEntity;
|
|
6
|
+
EditMode: boolean;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AIResultCacheDetailsComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AIResultCacheDetailsComponent, "gen-airesultcache-form-details", never, { "record": { "alias": "record"; "required": false; }; "EditMode": { "alias": "EditMode"; "required": false; }; }, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
10
|
+
export declare function LoadAIResultCacheDetailsComponent(): 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/AIResultCache/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,qBA4Fa,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,155 @@
|
|
|
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 AIResultCacheDetailsComponent_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);
|
|
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
|
+
} }
|
|
42
|
+
let AIResultCacheDetailsComponent = class AIResultCacheDetailsComponent extends BaseFormSectionComponent {
|
|
43
|
+
constructor() {
|
|
44
|
+
super(...arguments);
|
|
45
|
+
this.EditMode = false;
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
AIResultCacheDetailsComponent.ɵfac = /*@__PURE__*/ (() => { let ɵAIResultCacheDetailsComponent_BaseFactory; return function AIResultCacheDetailsComponent_Factory(t) { return (ɵAIResultCacheDetailsComponent_BaseFactory || (ɵAIResultCacheDetailsComponent_BaseFactory = i0.ɵɵgetInheritedFactory(AIResultCacheDetailsComponent)))(t || AIResultCacheDetailsComponent); }; })();
|
|
49
|
+
AIResultCacheDetailsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AIResultCacheDetailsComponent, selectors: [["gen-airesultcache-form-details"]], inputs: { record: "record", EditMode: "EditMode" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "record-form"], ["FieldName", "AIPromptID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "AIModelID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "RunAt", "Type", "datepicker", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "PromptText", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "ResultText", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Status", "Type", "dropdownlist", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "ExpiredOn", "Type", "datepicker", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "__mj_CreatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "__mj_UpdatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "AIPrompt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "AIModel", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"]], template: function AIResultCacheDetailsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
50
|
+
i0.ɵɵtemplate(0, AIResultCacheDetailsComponent_div_0_Template, 13, 33, "div", 0);
|
|
51
|
+
} if (rf & 2) {
|
|
52
|
+
i0.ɵɵproperty("ngIf", ctx.record);
|
|
53
|
+
} }, 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}"] });
|
|
54
|
+
AIResultCacheDetailsComponent = __decorate([
|
|
55
|
+
RegisterClass(BaseFormSectionComponent, 'AI Result Cache.details') // Tell MemberJunction about this class
|
|
56
|
+
], AIResultCacheDetailsComponent);
|
|
57
|
+
export { AIResultCacheDetailsComponent };
|
|
58
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AIResultCacheDetailsComponent, [{
|
|
59
|
+
type: Component,
|
|
60
|
+
args: [{ selector: 'gen-airesultcache-form-details', template: `<div *ngIf="this.record">
|
|
61
|
+
<div class="record-form">
|
|
62
|
+
<mj-form-field
|
|
63
|
+
[record]="record"
|
|
64
|
+
[ShowLabel]="true"
|
|
65
|
+
FieldName="AIPromptID"
|
|
66
|
+
Type="textbox"
|
|
67
|
+
[EditMode]="EditMode"
|
|
68
|
+
LinkType="Record"
|
|
69
|
+
LinkComponentType="Search"
|
|
70
|
+
></mj-form-field>
|
|
71
|
+
<mj-form-field
|
|
72
|
+
[record]="record"
|
|
73
|
+
[ShowLabel]="true"
|
|
74
|
+
FieldName="AIModelID"
|
|
75
|
+
Type="textbox"
|
|
76
|
+
[EditMode]="EditMode"
|
|
77
|
+
LinkType="Record"
|
|
78
|
+
LinkComponentType="Search"
|
|
79
|
+
></mj-form-field>
|
|
80
|
+
<mj-form-field
|
|
81
|
+
[record]="record"
|
|
82
|
+
[ShowLabel]="true"
|
|
83
|
+
FieldName="RunAt"
|
|
84
|
+
Type="datepicker"
|
|
85
|
+
[EditMode]="EditMode"
|
|
86
|
+
></mj-form-field>
|
|
87
|
+
<mj-form-field
|
|
88
|
+
[record]="record"
|
|
89
|
+
[ShowLabel]="true"
|
|
90
|
+
FieldName="PromptText"
|
|
91
|
+
Type="textarea"
|
|
92
|
+
[EditMode]="EditMode"
|
|
93
|
+
></mj-form-field>
|
|
94
|
+
<mj-form-field
|
|
95
|
+
[record]="record"
|
|
96
|
+
[ShowLabel]="true"
|
|
97
|
+
FieldName="ResultText"
|
|
98
|
+
Type="textarea"
|
|
99
|
+
[EditMode]="EditMode"
|
|
100
|
+
></mj-form-field>
|
|
101
|
+
<mj-form-field
|
|
102
|
+
[record]="record"
|
|
103
|
+
[ShowLabel]="true"
|
|
104
|
+
FieldName="Status"
|
|
105
|
+
Type="dropdownlist"
|
|
106
|
+
[EditMode]="EditMode"
|
|
107
|
+
></mj-form-field>
|
|
108
|
+
<mj-form-field
|
|
109
|
+
[record]="record"
|
|
110
|
+
[ShowLabel]="true"
|
|
111
|
+
FieldName="ExpiredOn"
|
|
112
|
+
Type="datepicker"
|
|
113
|
+
[EditMode]="EditMode"
|
|
114
|
+
></mj-form-field>
|
|
115
|
+
<mj-form-field
|
|
116
|
+
[record]="record"
|
|
117
|
+
[ShowLabel]="true"
|
|
118
|
+
FieldName="__mj_CreatedAt"
|
|
119
|
+
Type="textbox"
|
|
120
|
+
[EditMode]="EditMode"
|
|
121
|
+
></mj-form-field>
|
|
122
|
+
<mj-form-field
|
|
123
|
+
[record]="record"
|
|
124
|
+
[ShowLabel]="true"
|
|
125
|
+
FieldName="__mj_UpdatedAt"
|
|
126
|
+
Type="textbox"
|
|
127
|
+
[EditMode]="EditMode"
|
|
128
|
+
></mj-form-field>
|
|
129
|
+
<mj-form-field
|
|
130
|
+
[record]="record"
|
|
131
|
+
[ShowLabel]="true"
|
|
132
|
+
FieldName="AIPrompt"
|
|
133
|
+
Type="textbox"
|
|
134
|
+
[EditMode]="EditMode"
|
|
135
|
+
></mj-form-field>
|
|
136
|
+
<mj-form-field
|
|
137
|
+
[record]="record"
|
|
138
|
+
[ShowLabel]="true"
|
|
139
|
+
FieldName="AIModel"
|
|
140
|
+
Type="textbox"
|
|
141
|
+
[EditMode]="EditMode"
|
|
142
|
+
></mj-form-field>
|
|
143
|
+
|
|
144
|
+
</div>
|
|
145
|
+
</div>
|
|
146
|
+
`, 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"] }]
|
|
147
|
+
}], null, { record: [{
|
|
148
|
+
type: Input
|
|
149
|
+
}], EditMode: [{
|
|
150
|
+
type: Input
|
|
151
|
+
}] }); })();
|
|
152
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AIResultCacheDetailsComponent, { className: "AIResultCacheDetailsComponent", filePath: "src/lib/generated/Entities/AIResultCache/sections/details.component.ts", lineNumber: 98 }); })();
|
|
153
|
+
export function LoadAIResultCacheDetailsComponent() {
|
|
154
|
+
// does nothing, but called in order to prevent tree-shaking from eliminating this component from the build
|
|
155
|
+
}
|