@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.
Files changed (67) hide show
  1. package/dist/lib/generated/Entities/AIModel/aimodel.form.component.js +19 -8
  2. package/dist/lib/generated/Entities/AIModel/sections/details.component.d.ts.map +1 -1
  3. package/dist/lib/generated/Entities/AIModel/sections/details.component.js +31 -4
  4. package/dist/lib/generated/Entities/AIPrompt/aiprompt.form.component.d.ts +10 -0
  5. package/dist/lib/generated/Entities/AIPrompt/aiprompt.form.component.d.ts.map +1 -0
  6. package/dist/lib/generated/Entities/AIPrompt/aiprompt.form.component.js +72 -0
  7. package/dist/lib/generated/Entities/AIPrompt/sections/details.component.d.ts +11 -0
  8. package/dist/lib/generated/Entities/AIPrompt/sections/details.component.d.ts.map +1 -0
  9. package/dist/lib/generated/Entities/AIPrompt/sections/details.component.js +175 -0
  10. package/dist/lib/generated/Entities/AIPromptCategory/aipromptcategory.form.component.d.ts +10 -0
  11. package/dist/lib/generated/Entities/AIPromptCategory/aipromptcategory.form.component.d.ts.map +1 -0
  12. package/dist/lib/generated/Entities/AIPromptCategory/aipromptcategory.form.component.js +83 -0
  13. package/dist/lib/generated/Entities/AIPromptCategory/sections/details.component.d.ts +11 -0
  14. package/dist/lib/generated/Entities/AIPromptCategory/sections/details.component.d.ts.map +1 -0
  15. package/dist/lib/generated/Entities/AIPromptCategory/sections/details.component.js +108 -0
  16. package/dist/lib/generated/Entities/AIPromptType/aiprompttype.form.component.d.ts +10 -0
  17. package/dist/lib/generated/Entities/AIPromptType/aiprompttype.form.component.d.ts.map +1 -0
  18. package/dist/lib/generated/Entities/AIPromptType/aiprompttype.form.component.js +72 -0
  19. package/dist/lib/generated/Entities/AIPromptType/sections/details.component.d.ts +11 -0
  20. package/dist/lib/generated/Entities/AIPromptType/sections/details.component.d.ts.map +1 -0
  21. package/dist/lib/generated/Entities/AIPromptType/sections/details.component.js +88 -0
  22. package/dist/lib/generated/Entities/AIResultCache/airesultcache.form.component.d.ts +10 -0
  23. package/dist/lib/generated/Entities/AIResultCache/airesultcache.form.component.d.ts.map +1 -0
  24. package/dist/lib/generated/Entities/AIResultCache/airesultcache.form.component.js +60 -0
  25. package/dist/lib/generated/Entities/AIResultCache/sections/details.component.d.ts +11 -0
  26. package/dist/lib/generated/Entities/AIResultCache/sections/details.component.d.ts.map +1 -0
  27. package/dist/lib/generated/Entities/AIResultCache/sections/details.component.js +155 -0
  28. package/dist/lib/generated/Entities/ActionAuthorization/sections/details.component.d.ts.map +1 -1
  29. package/dist/lib/generated/Entities/ActionAuthorization/sections/details.component.js +13 -4
  30. package/dist/lib/generated/Entities/ApplicationSetting/sections/details.component.d.ts.map +1 -1
  31. package/dist/lib/generated/Entities/ApplicationSetting/sections/details.component.js +13 -4
  32. package/dist/lib/generated/Entities/AuditLog/sections/details.component.d.ts.map +1 -1
  33. package/dist/lib/generated/Entities/AuditLog/sections/details.component.js +22 -4
  34. package/dist/lib/generated/Entities/AuditLogType/sections/details.component.d.ts.map +1 -1
  35. package/dist/lib/generated/Entities/AuditLogType/sections/details.component.js +13 -4
  36. package/dist/lib/generated/Entities/AuthorizationRole/sections/details.component.d.ts.map +1 -1
  37. package/dist/lib/generated/Entities/AuthorizationRole/sections/details.component.js +22 -4
  38. package/dist/lib/generated/Entities/Conversation/sections/details.component.d.ts.map +1 -1
  39. package/dist/lib/generated/Entities/Conversation/sections/details.component.js +13 -4
  40. package/dist/lib/generated/Entities/DatasetItem/sections/details.component.d.ts.map +1 -1
  41. package/dist/lib/generated/Entities/DatasetItem/sections/details.component.js +13 -4
  42. package/dist/lib/generated/Entities/EntityDocument/sections/details.component.d.ts.map +1 -1
  43. package/dist/lib/generated/Entities/EntityDocument/sections/details.component.js +31 -4
  44. package/dist/lib/generated/Entities/EntityRecordDocument/sections/details.component.d.ts.map +1 -1
  45. package/dist/lib/generated/Entities/EntityRecordDocument/sections/details.component.js +31 -4
  46. package/dist/lib/generated/Entities/List/sections/details.component.d.ts.map +1 -1
  47. package/dist/lib/generated/Entities/List/sections/details.component.js +13 -4
  48. package/dist/lib/generated/Entities/ListCategory/sections/details.component.d.ts.map +1 -1
  49. package/dist/lib/generated/Entities/ListCategory/sections/details.component.js +22 -4
  50. package/dist/lib/generated/Entities/ListDetail/sections/details.component.d.ts.map +1 -1
  51. package/dist/lib/generated/Entities/ListDetail/sections/details.component.js +22 -4
  52. package/dist/lib/generated/Entities/QueryPermission/sections/details.component.d.ts.map +1 -1
  53. package/dist/lib/generated/Entities/QueryPermission/sections/details.component.js +22 -4
  54. package/dist/lib/generated/Entities/RecordMergeLog/sections/details.component.d.ts.map +1 -1
  55. package/dist/lib/generated/Entities/RecordMergeLog/sections/details.component.js +13 -4
  56. package/dist/lib/generated/Entities/ScheduledAction/sections/details.component.d.ts.map +1 -1
  57. package/dist/lib/generated/Entities/ScheduledAction/sections/details.component.js +22 -4
  58. package/dist/lib/generated/Entities/ScheduledActionParam/sections/details.component.d.ts.map +1 -1
  59. package/dist/lib/generated/Entities/ScheduledActionParam/sections/details.component.js +22 -4
  60. package/dist/lib/generated/Entities/Template/template.form.component.js +19 -8
  61. package/dist/lib/generated/Entities/UserNotification/sections/details.component.js +8 -8
  62. package/dist/lib/generated/Entities/UserViewCategory/sections/details.component.d.ts.map +1 -1
  63. package/dist/lib/generated/Entities/UserViewCategory/sections/details.component.js +13 -4
  64. package/dist/lib/generated/generated-forms.module.d.ts +291 -278
  65. package/dist/lib/generated/generated-forms.module.d.ts.map +1 -1
  66. package/dist/lib/generated/generated-forms.module.js +291 -202
  67. package/package.json +11 -11
@@ -0,0 +1,83 @@
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 { LoadAIPromptCategoryDetailsComponent } 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: "60D6B0B0-BF59-EF11-991A-000D3A9D8BF3" });
20
+ const _c1 = () => ({ EntityRelationshipID: "61D6B0B0-BF59-EF11-991A-000D3A9D8BF3" });
21
+ function AIPromptCategoryFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
22
+ const _r1 = i0.ɵɵgetCurrentView();
23
+ i0.ɵɵelementStart(0, "form", 3, 0);
24
+ i0.ɵɵelement(2, "mj-form-toolbar", 4);
25
+ i0.ɵɵelementStart(3, "mj-tabstrip", 5);
26
+ i0.ɵɵlistener("TabSelected", function AIPromptCategoryFormComponent_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)); });
27
+ i0.ɵɵelementStart(4, "mj-tab", 6);
28
+ i0.ɵɵtext(5, " Details ");
29
+ i0.ɵɵelementEnd();
30
+ i0.ɵɵelementStart(6, "mj-tab-body");
31
+ i0.ɵɵelement(7, "mj-form-section", 7);
32
+ i0.ɵɵelementEnd();
33
+ i0.ɵɵelementStart(8, "mj-tab", 8);
34
+ i0.ɵɵtext(9, " AI Prompts ");
35
+ i0.ɵɵelementEnd();
36
+ i0.ɵɵelementStart(10, "mj-tab-body");
37
+ i0.ɵɵelement(11, "mj-user-view-grid", 9);
38
+ i0.ɵɵelementEnd();
39
+ i0.ɵɵelementStart(12, "mj-tab", 10);
40
+ i0.ɵɵtext(13, " AI Prompt Categories ");
41
+ i0.ɵɵelementEnd();
42
+ i0.ɵɵelementStart(14, "mj-tab-body");
43
+ i0.ɵɵelement(15, "mj-user-view-grid", 9);
44
+ i0.ɵɵelementEnd()()();
45
+ } if (rf & 2) {
46
+ const ctx_r1 = i0.ɵɵnextContext();
47
+ i0.ɵɵadvance(2);
48
+ i0.ɵɵproperty("form", ctx_r1);
49
+ i0.ɵɵadvance(5);
50
+ i0.ɵɵproperty("record", ctx_r1.record)("EditMode", ctx_r1.EditMode);
51
+ i0.ɵɵadvance();
52
+ i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved)("Props", i0.ɵɵpureFunction0(17, _c0));
53
+ i0.ɵɵadvance(3);
54
+ 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);
55
+ i0.ɵɵadvance();
56
+ i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved)("Props", i0.ɵɵpureFunction0(18, _c1));
57
+ i0.ɵɵadvance(3);
58
+ i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("AI Prompt Categories"))("NewRecordValues", ctx_r1.NewRecordValues("AI Prompt Categories"))("AllowLoad", ctx_r1.IsCurrentTab("AI Prompt Categories"))("EditMode", ctx_r1.GridEditMode())("BottomMargin", ctx_r1.GridBottomMargin);
59
+ } }
60
+ let AIPromptCategoryFormComponent = class AIPromptCategoryFormComponent extends BaseFormComponent {
61
+ };
62
+ AIPromptCategoryFormComponent.ɵfac = /*@__PURE__*/ (() => { let ɵAIPromptCategoryFormComponent_BaseFactory; return function AIPromptCategoryFormComponent_Factory(t) { return (ɵAIPromptCategoryFormComponent_BaseFactory || (ɵAIPromptCategoryFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(AIPromptCategoryFormComponent)))(t || AIPromptCategoryFormComponent); }; })();
63
+ AIPromptCategoryFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AIPromptCategoryFormComponent, selectors: [["gen-aipromptcategory-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 Categories", "Section", "details", 3, "record", "EditMode"], ["Name", "AI Prompts", 3, "Visible", "Props"], [3, "Params", "NewRecordValues", "AllowLoad", "EditMode", "BottomMargin"], ["Name", "AI Prompt Categories", 3, "Visible", "Props"]], template: function AIPromptCategoryFormComponent_Template(rf, ctx) { if (rf & 1) {
64
+ i0.ɵɵelementStart(0, "div", 1);
65
+ i0.ɵɵtemplate(1, AIPromptCategoryFormComponent_form_1_Template, 16, 19, "form", 2);
66
+ i0.ɵɵelementEnd();
67
+ } if (rf & 2) {
68
+ i0.ɵɵproperty("bottomMargin", 20)("rightMargin", 5);
69
+ i0.ɵɵadvance();
70
+ i0.ɵɵproperty("ngIf", ctx.record);
71
+ } }, 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}"] });
72
+ AIPromptCategoryFormComponent = __decorate([
73
+ RegisterClass(BaseFormComponent, 'AI Prompt Categories') // Tell MemberJunction about this class
74
+ ], AIPromptCategoryFormComponent);
75
+ export { AIPromptCategoryFormComponent };
76
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AIPromptCategoryFormComponent, [{
77
+ type: Component,
78
+ args: [{ selector: 'gen-aipromptcategory-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 Categories\" \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: '60D6B0B0-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\n <mj-tab Name=\"AI Prompt Categories\" \n [Visible]=\"record.IsSaved\" \n [Props]=\"{EntityRelationshipID: '61D6B0B0-BF59-EF11-991A-000D3A9D8BF3'}\">\n AI Prompt Categories\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('AI Prompt Categories')\" \n [NewRecordValues]=\"NewRecordValues('AI Prompt Categories')\"\n [AllowLoad]=\"IsCurrentTab('AI Prompt Categories')\" \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"] }]
79
+ }], null, null); })();
80
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AIPromptCategoryFormComponent, { className: "AIPromptCategoryFormComponent", filePath: "src/lib/generated/Entities/AIPromptCategory/aipromptcategory.form.component.ts", lineNumber: 14 }); })();
81
+ export function LoadAIPromptCategoryFormComponent() {
82
+ LoadAIPromptCategoryDetailsComponent();
83
+ }
@@ -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"}