@memberjunction/ng-core-entity-forms 2.4.1 → 2.5.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 (79) hide show
  1. package/dist/lib/generated/Entities/AIModel/aimodel.form.component.js +24 -13
  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 +13 -4
  4. package/dist/lib/generated/Entities/AIPromptCategory/aipromptcategory.form.component.js +2 -2
  5. package/dist/lib/generated/Entities/CommunicationProvider/sections/details.component.d.ts.map +1 -1
  6. package/dist/lib/generated/Entities/CommunicationProvider/sections/details.component.js +13 -4
  7. package/dist/lib/generated/Entities/ContentFileType/contentfiletype.form.component.d.ts +10 -0
  8. package/dist/lib/generated/Entities/ContentFileType/contentfiletype.form.component.d.ts.map +1 -0
  9. package/dist/lib/generated/Entities/ContentFileType/contentfiletype.form.component.js +83 -0
  10. package/dist/lib/generated/Entities/ContentFileType/sections/details.component.d.ts +11 -0
  11. package/dist/lib/generated/Entities/ContentFileType/sections/details.component.d.ts.map +1 -0
  12. package/dist/lib/generated/Entities/ContentFileType/sections/details.component.js +88 -0
  13. package/dist/lib/generated/Entities/ContentItem/contentitem.form.component.d.ts +10 -0
  14. package/dist/lib/generated/Entities/ContentItem/contentitem.form.component.d.ts.map +1 -0
  15. package/dist/lib/generated/Entities/ContentItem/contentitem.form.component.js +83 -0
  16. package/dist/lib/generated/Entities/ContentItem/sections/details.component.d.ts +11 -0
  17. package/dist/lib/generated/Entities/ContentItem/sections/details.component.d.ts.map +1 -0
  18. package/dist/lib/generated/Entities/ContentItem/sections/details.component.js +195 -0
  19. package/dist/lib/generated/Entities/ContentItemAttribute/contentitemattribute.form.component.d.ts +10 -0
  20. package/dist/lib/generated/Entities/ContentItemAttribute/contentitemattribute.form.component.d.ts.map +1 -0
  21. package/dist/lib/generated/Entities/ContentItemAttribute/contentitemattribute.form.component.js +60 -0
  22. package/dist/lib/generated/Entities/ContentItemAttribute/sections/details.component.d.ts +11 -0
  23. package/dist/lib/generated/Entities/ContentItemAttribute/sections/details.component.d.ts.map +1 -0
  24. package/dist/lib/generated/Entities/ContentItemAttribute/sections/details.component.js +108 -0
  25. package/dist/lib/generated/Entities/ContentItemTag/contentitemtag.form.component.d.ts +10 -0
  26. package/dist/lib/generated/Entities/ContentItemTag/contentitemtag.form.component.d.ts.map +1 -0
  27. package/dist/lib/generated/Entities/ContentItemTag/contentitemtag.form.component.js +60 -0
  28. package/dist/lib/generated/Entities/ContentItemTag/sections/details.component.d.ts +11 -0
  29. package/dist/lib/generated/Entities/ContentItemTag/sections/details.component.d.ts.map +1 -0
  30. package/dist/lib/generated/Entities/ContentItemTag/sections/details.component.js +99 -0
  31. package/dist/lib/generated/Entities/ContentProcessRun/contentprocessrun.form.component.d.ts +10 -0
  32. package/dist/lib/generated/Entities/ContentProcessRun/contentprocessrun.form.component.d.ts.map +1 -0
  33. package/dist/lib/generated/Entities/ContentProcessRun/contentprocessrun.form.component.js +60 -0
  34. package/dist/lib/generated/Entities/ContentProcessRun/sections/details.component.d.ts +11 -0
  35. package/dist/lib/generated/Entities/ContentProcessRun/sections/details.component.d.ts.map +1 -0
  36. package/dist/lib/generated/Entities/ContentProcessRun/sections/details.component.js +126 -0
  37. package/dist/lib/generated/Entities/ContentSource/contentsource.form.component.d.ts +10 -0
  38. package/dist/lib/generated/Entities/ContentSource/contentsource.form.component.d.ts.map +1 -0
  39. package/dist/lib/generated/Entities/ContentSource/contentsource.form.component.js +94 -0
  40. package/dist/lib/generated/Entities/ContentSource/sections/details.component.d.ts +11 -0
  41. package/dist/lib/generated/Entities/ContentSource/sections/details.component.d.ts.map +1 -0
  42. package/dist/lib/generated/Entities/ContentSource/sections/details.component.js +148 -0
  43. package/dist/lib/generated/Entities/ContentSourceParam/contentsourceparam.form.component.d.ts +10 -0
  44. package/dist/lib/generated/Entities/ContentSourceParam/contentsourceparam.form.component.d.ts.map +1 -0
  45. package/dist/lib/generated/Entities/ContentSourceParam/contentsourceparam.form.component.js +60 -0
  46. package/dist/lib/generated/Entities/ContentSourceParam/sections/details.component.d.ts +11 -0
  47. package/dist/lib/generated/Entities/ContentSourceParam/sections/details.component.d.ts.map +1 -0
  48. package/dist/lib/generated/Entities/ContentSourceParam/sections/details.component.js +108 -0
  49. package/dist/lib/generated/Entities/ContentSourceType/contentsourcetype.form.component.d.ts +10 -0
  50. package/dist/lib/generated/Entities/ContentSourceType/contentsourcetype.form.component.d.ts.map +1 -0
  51. package/dist/lib/generated/Entities/ContentSourceType/contentsourcetype.form.component.js +83 -0
  52. package/dist/lib/generated/Entities/ContentSourceType/sections/details.component.d.ts +11 -0
  53. package/dist/lib/generated/Entities/ContentSourceType/sections/details.component.d.ts.map +1 -0
  54. package/dist/lib/generated/Entities/ContentSourceType/sections/details.component.js +88 -0
  55. package/dist/lib/generated/Entities/ContentSourceTypeParam/contentsourcetypeparam.form.component.d.ts +10 -0
  56. package/dist/lib/generated/Entities/ContentSourceTypeParam/contentsourcetypeparam.form.component.d.ts.map +1 -0
  57. package/dist/lib/generated/Entities/ContentSourceTypeParam/contentsourcetypeparam.form.component.js +60 -0
  58. package/dist/lib/generated/Entities/ContentSourceTypeParam/sections/details.component.d.ts +11 -0
  59. package/dist/lib/generated/Entities/ContentSourceTypeParam/sections/details.component.d.ts.map +1 -0
  60. package/dist/lib/generated/Entities/ContentSourceTypeParam/sections/details.component.js +115 -0
  61. package/dist/lib/generated/Entities/ContentType/contenttype.form.component.d.ts +10 -0
  62. package/dist/lib/generated/Entities/ContentType/contenttype.form.component.d.ts.map +1 -0
  63. package/dist/lib/generated/Entities/ContentType/contenttype.form.component.js +83 -0
  64. package/dist/lib/generated/Entities/ContentType/sections/details.component.d.ts +11 -0
  65. package/dist/lib/generated/Entities/ContentType/sections/details.component.d.ts.map +1 -0
  66. package/dist/lib/generated/Entities/ContentType/sections/details.component.js +126 -0
  67. package/dist/lib/generated/Entities/ContentTypeAttribute/contenttypeattribute.form.component.d.ts +10 -0
  68. package/dist/lib/generated/Entities/ContentTypeAttribute/contenttypeattribute.form.component.d.ts.map +1 -0
  69. package/dist/lib/generated/Entities/ContentTypeAttribute/contenttypeattribute.form.component.js +60 -0
  70. package/dist/lib/generated/Entities/ContentTypeAttribute/sections/details.component.d.ts +11 -0
  71. package/dist/lib/generated/Entities/ContentTypeAttribute/sections/details.component.d.ts.map +1 -0
  72. package/dist/lib/generated/Entities/ContentTypeAttribute/sections/details.component.js +106 -0
  73. package/dist/lib/generated/Entities/Template/template.form.component.js +2 -2
  74. package/dist/lib/generated/Entities/TemplateParam/sections/details.component.d.ts.map +1 -1
  75. package/dist/lib/generated/Entities/TemplateParam/sections/details.component.js +13 -4
  76. package/dist/lib/generated/generated-forms.module.d.ts +291 -264
  77. package/dist/lib/generated/generated-forms.module.d.ts.map +1 -1
  78. package/dist/lib/generated/generated-forms.module.js +394 -246
  79. package/package.json +11 -11
@@ -0,0 +1,106 @@
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 ContentTypeAttributeDetailsComponent_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 ContentTypeAttributeDetailsComponent = class ContentTypeAttributeDetailsComponent extends BaseFormSectionComponent {
33
+ constructor() {
34
+ super(...arguments);
35
+ this.EditMode = false;
36
+ }
37
+ };
38
+ ContentTypeAttributeDetailsComponent.ɵfac = /*@__PURE__*/ (() => { let ɵContentTypeAttributeDetailsComponent_BaseFactory; return function ContentTypeAttributeDetailsComponent_Factory(t) { return (ɵContentTypeAttributeDetailsComponent_BaseFactory || (ɵContentTypeAttributeDetailsComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ContentTypeAttributeDetailsComponent)))(t || ContentTypeAttributeDetailsComponent); }; })();
39
+ ContentTypeAttributeDetailsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ContentTypeAttributeDetailsComponent, selectors: [["gen-contenttypeattribute-form-details"]], inputs: { record: "record", EditMode: "EditMode" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "record-form"], ["FieldName", "ContentTypeID", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Name", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Prompt", "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 ContentTypeAttributeDetailsComponent_Template(rf, ctx) { if (rf & 1) {
40
+ i0.ɵɵtemplate(0, ContentTypeAttributeDetailsComponent_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
+ ContentTypeAttributeDetailsComponent = __decorate([
45
+ RegisterClass(BaseFormSectionComponent, 'Content Type Attributes.details') // Tell MemberJunction about this class
46
+ ], ContentTypeAttributeDetailsComponent);
47
+ export { ContentTypeAttributeDetailsComponent };
48
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContentTypeAttributeDetailsComponent, [{
49
+ type: Component,
50
+ args: [{ selector: 'gen-contenttypeattribute-form-details', template: `<div *ngIf="this.record">
51
+ <div class="record-form">
52
+ <mj-form-field
53
+ [record]="record"
54
+ [ShowLabel]="true"
55
+ FieldName="ContentTypeID"
56
+ Type="textbox"
57
+ [EditMode]="EditMode"
58
+ ></mj-form-field>
59
+ <mj-form-field
60
+ [record]="record"
61
+ [ShowLabel]="true"
62
+ FieldName="Name"
63
+ Type="textbox"
64
+ [EditMode]="EditMode"
65
+ ></mj-form-field>
66
+ <mj-form-field
67
+ [record]="record"
68
+ [ShowLabel]="true"
69
+ FieldName="Prompt"
70
+ Type="textarea"
71
+ [EditMode]="EditMode"
72
+ ></mj-form-field>
73
+ <mj-form-field
74
+ [record]="record"
75
+ [ShowLabel]="true"
76
+ FieldName="Description"
77
+ Type="textarea"
78
+ [EditMode]="EditMode"
79
+ ></mj-form-field>
80
+ <mj-form-field
81
+ [record]="record"
82
+ [ShowLabel]="true"
83
+ FieldName="__mj_CreatedAt"
84
+ Type="textbox"
85
+ [EditMode]="EditMode"
86
+ ></mj-form-field>
87
+ <mj-form-field
88
+ [record]="record"
89
+ [ShowLabel]="true"
90
+ FieldName="__mj_UpdatedAt"
91
+ Type="textbox"
92
+ [EditMode]="EditMode"
93
+ ></mj-form-field>
94
+
95
+ </div>
96
+ </div>
97
+ `, 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"] }]
98
+ }], null, { record: [{
99
+ type: Input
100
+ }], EditMode: [{
101
+ type: Input
102
+ }] }); })();
103
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ContentTypeAttributeDetailsComponent, { className: "ContentTypeAttributeDetailsComponent", filePath: "src/lib/generated/Entities/ContentTypeAttribute/sections/details.component.ts", lineNumber: 59 }); })();
104
+ export function LoadContentTypeAttributeDetailsComponent() {
105
+ // does nothing, but called in order to prevent tree-shaking from eliminating this component from the build
106
+ }
@@ -18,7 +18,7 @@ import * as i6 from "@memberjunction/ng-tabstrip";
18
18
  import * as i7 from "@memberjunction/ng-container-directives";
19
19
  const _c0 = () => ({ EntityRelationshipID: "CDD61E0C-31AE-4068-BA4D-00E7672D9EE6" });
20
20
  const _c1 = () => ({ EntityRelationshipID: "66CB4FC4-BD66-4325-B1BF-85707475A25C" });
21
- const _c2 = () => ({ EntityRelationshipID: "7774433E-F36B-1410-883E-00D02208DC50" });
21
+ const _c2 = () => ({ EntityRelationshipID: "9D78433E-F36B-1410-81E5-00554DDE13D1" });
22
22
  const _c3 = () => ({ EntityRelationshipID: "334567F3-3E3B-EF11-86D4-0022481D1B23" });
23
23
  function TemplateFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
24
24
  const _r1 = i0.ɵɵgetCurrentView();
@@ -97,7 +97,7 @@ TemplateFormComponent = __decorate([
97
97
  export { TemplateFormComponent };
98
98
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TemplateFormComponent, [{
99
99
  type: Component,
100
- args: [{ selector: 'gen-template-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=\"Templates\" \n Section=\"details\" \n [record]=\"record\" \n [EditMode]=\"this.EditMode\">\n </mj-form-section>\n </mj-tab-body>\n \n <mj-tab Name=\"Template Contents\" \n [Visible]=\"record.IsSaved\" \n [Props]=\"{EntityRelationshipID: 'CDD61E0C-31AE-4068-BA4D-00E7672D9EE6'}\">\n Template Contents\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Template Contents')\" \n [NewRecordValues]=\"NewRecordValues('Template Contents')\"\n [AllowLoad]=\"IsCurrentTab('Template Contents')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"Template Params\" \n [Visible]=\"record.IsSaved\" \n [Props]=\"{EntityRelationshipID: '66CB4FC4-BD66-4325-B1BF-85707475A25C'}\">\n Template Params\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Template Params')\" \n [NewRecordValues]=\"NewRecordValues('Template Params')\"\n [AllowLoad]=\"IsCurrentTab('Template Params')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"AI Prompts\" \n [Visible]=\"record.IsSaved\" \n [Props]=\"{EntityRelationshipID: '7774433E-F36B-1410-883E-00D02208DC50'}\">\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=\"Entity Documents\" \n [Visible]=\"record.IsSaved\" \n [Props]=\"{EntityRelationshipID: '334567F3-3E3B-EF11-86D4-0022481D1B23'}\">\n Entity Documents\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Entity Documents')\" \n [NewRecordValues]=\"NewRecordValues('Entity Documents')\"\n [AllowLoad]=\"IsCurrentTab('Entity Documents')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n </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"] }]
100
+ args: [{ selector: 'gen-template-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=\"Templates\" \n Section=\"details\" \n [record]=\"record\" \n [EditMode]=\"this.EditMode\">\n </mj-form-section>\n </mj-tab-body>\n \n <mj-tab Name=\"Template Contents\" \n [Visible]=\"record.IsSaved\" \n [Props]=\"{EntityRelationshipID: 'CDD61E0C-31AE-4068-BA4D-00E7672D9EE6'}\">\n Template Contents\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Template Contents')\" \n [NewRecordValues]=\"NewRecordValues('Template Contents')\"\n [AllowLoad]=\"IsCurrentTab('Template Contents')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"Template Params\" \n [Visible]=\"record.IsSaved\" \n [Props]=\"{EntityRelationshipID: '66CB4FC4-BD66-4325-B1BF-85707475A25C'}\">\n Template Params\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Template Params')\" \n [NewRecordValues]=\"NewRecordValues('Template Params')\"\n [AllowLoad]=\"IsCurrentTab('Template Params')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"AI Prompts\" \n [Visible]=\"record.IsSaved\" \n [Props]=\"{EntityRelationshipID: '9D78433E-F36B-1410-81E5-00554DDE13D1'}\">\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=\"Entity Documents\" \n [Visible]=\"record.IsSaved\" \n [Props]=\"{EntityRelationshipID: '334567F3-3E3B-EF11-86D4-0022481D1B23'}\">\n Entity Documents\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Entity Documents')\" \n [NewRecordValues]=\"NewRecordValues('Entity Documents')\"\n [AllowLoad]=\"IsCurrentTab('Entity Documents')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n </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"] }]
101
101
  }], null, null); })();
102
102
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TemplateFormComponent, { className: "TemplateFormComponent", filePath: "src/lib/generated/Entities/Template/template.form.component.ts", lineNumber: 14 }); })();
103
103
  export function LoadTemplateFormComponent() {
@@ -1 +1 @@
1
- {"version":3,"file":"details.component.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/generated/Entities/TemplateParam/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,qBAwHa,6BAA8B,SAAQ,wBAAwB;IACrD,MAAM,EAAG,mBAAmB,CAAC;IAC7B,QAAQ,EAAE,OAAO,CAAS;yCAFnC,6BAA6B;2CAA7B,6BAA6B;CAGzC;AAED,wBAAgB,iCAAiC,SAEhD"}
1
+ {"version":3,"file":"details.component.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/generated/Entities/TemplateParam/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,qBA+Ha,6BAA8B,SAAQ,wBAAwB;IACrD,MAAM,EAAG,mBAAmB,CAAC;IAC7B,QAAQ,EAAE,OAAO,CAAS;yCAFnC,6BAA6B;2CAA7B,6BAA6B;CAGzC;AAED,wBAAgB,iCAAiC,SAEhD"}
@@ -12,7 +12,7 @@ import * as i1 from "@angular/common";
12
12
  import * as i2 from "@memberjunction/ng-base-forms";
13
13
  function TemplateParamDetailsComponent_div_0_Template(rf, ctx) { if (rf & 1) {
14
14
  i0.ɵɵelementStart(0, "div")(1, "div", 1);
15
- i0.ɵɵelement(2, "mj-form-field", 2)(3, "mj-form-field", 3)(4, "mj-form-field", 4)(5, "mj-form-field", 5)(6, "mj-form-field", 6)(7, "mj-form-field", 7)(8, "mj-form-field", 8)(9, "mj-form-field", 9)(10, "mj-form-field", 10)(11, "mj-form-field", 11)(12, "mj-form-field", 12)(13, "mj-form-field", 13)(14, "mj-form-field", 14)(15, "mj-form-field", 15)(16, "mj-form-field", 16);
15
+ i0.ɵɵelement(2, "mj-form-field", 2)(3, "mj-form-field", 3)(4, "mj-form-field", 4)(5, "mj-form-field", 5)(6, "mj-form-field", 6)(7, "mj-form-field", 7)(8, "mj-form-field", 8)(9, "mj-form-field", 9)(10, "mj-form-field", 10)(11, "mj-form-field", 11)(12, "mj-form-field", 12)(13, "mj-form-field", 13)(14, "mj-form-field", 14)(15, "mj-form-field", 15)(16, "mj-form-field", 16)(17, "mj-form-field", 17);
16
16
  i0.ɵɵelementEnd()();
17
17
  } if (rf & 2) {
18
18
  const ctx_r0 = i0.ɵɵnextContext();
@@ -46,6 +46,8 @@ function TemplateParamDetailsComponent_div_0_Template(rf, ctx) { if (rf & 1) {
46
46
  i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
47
47
  i0.ɵɵadvance();
48
48
  i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
49
+ i0.ɵɵadvance();
50
+ i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
49
51
  } }
50
52
  let TemplateParamDetailsComponent = class TemplateParamDetailsComponent extends BaseFormSectionComponent {
51
53
  constructor() {
@@ -54,8 +56,8 @@ let TemplateParamDetailsComponent = class TemplateParamDetailsComponent extends
54
56
  }
55
57
  };
56
58
  TemplateParamDetailsComponent.ɵfac = /*@__PURE__*/ (() => { let ɵTemplateParamDetailsComponent_BaseFactory; return function TemplateParamDetailsComponent_Factory(t) { return (ɵTemplateParamDetailsComponent_BaseFactory || (ɵTemplateParamDetailsComponent_BaseFactory = i0.ɵɵgetInheritedFactory(TemplateParamDetailsComponent)))(t || TemplateParamDetailsComponent); }; })();
57
- TemplateParamDetailsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TemplateParamDetailsComponent, selectors: [["gen-templateparam-form-details"]], inputs: { record: "record", EditMode: "EditMode" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "record-form"], ["FieldName", "TemplateID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Name", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Description", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Type", "Type", "dropdownlist", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "DefaultValue", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "IsRequired", "Type", "checkbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "LinkedParameterName", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "LinkedParameterField", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "ExtraFilter", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "EntityID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "RecordID", "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", "Template", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Entity", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"]], template: function TemplateParamDetailsComponent_Template(rf, ctx) { if (rf & 1) {
58
- i0.ɵɵtemplate(0, TemplateParamDetailsComponent_div_0_Template, 17, 45, "div", 0);
59
+ TemplateParamDetailsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TemplateParamDetailsComponent, selectors: [["gen-templateparam-form-details"]], inputs: { record: "record", EditMode: "EditMode" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "record-form"], ["FieldName", "TemplateID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Name", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Description", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Type", "Type", "dropdownlist", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "DefaultValue", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "IsRequired", "Type", "checkbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "LinkedParameterName", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "LinkedParameterField", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "ExtraFilter", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "EntityID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "RecordID", "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", "OrderBy", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Template", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Entity", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"]], template: function TemplateParamDetailsComponent_Template(rf, ctx) { if (rf & 1) {
60
+ i0.ɵɵtemplate(0, TemplateParamDetailsComponent_div_0_Template, 18, 48, "div", 0);
59
61
  } if (rf & 2) {
60
62
  i0.ɵɵproperty("ngIf", ctx.record);
61
63
  } }, 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}"] });
@@ -162,6 +164,13 @@ export { TemplateParamDetailsComponent };
162
164
  Type="textbox"
163
165
  [EditMode]="EditMode"
164
166
  ></mj-form-field>
167
+ <mj-form-field
168
+ [record]="record"
169
+ [ShowLabel]="true"
170
+ FieldName="OrderBy"
171
+ Type="textarea"
172
+ [EditMode]="EditMode"
173
+ ></mj-form-field>
165
174
  <mj-form-field
166
175
  [record]="record"
167
176
  [ShowLabel]="true"
@@ -185,7 +194,7 @@ export { TemplateParamDetailsComponent };
185
194
  }], EditMode: [{
186
195
  type: Input
187
196
  }] }); })();
188
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TemplateParamDetailsComponent, { className: "TemplateParamDetailsComponent", filePath: "src/lib/generated/Entities/TemplateParam/sections/details.component.ts", lineNumber: 126 }); })();
197
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TemplateParamDetailsComponent, { className: "TemplateParamDetailsComponent", filePath: "src/lib/generated/Entities/TemplateParam/sections/details.component.ts", lineNumber: 133 }); })();
189
198
  export function LoadTemplateParamDetailsComponent() {
190
199
  // does nothing, but called in order to prevent tree-shaking from eliminating this component from the build
191
200
  }