@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.
- package/dist/lib/generated/Entities/AIModel/aimodel.form.component.js +24 -13
- package/dist/lib/generated/Entities/AIModel/sections/details.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/AIModel/sections/details.component.js +13 -4
- package/dist/lib/generated/Entities/AIPromptCategory/aipromptcategory.form.component.js +2 -2
- package/dist/lib/generated/Entities/CommunicationProvider/sections/details.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/CommunicationProvider/sections/details.component.js +13 -4
- package/dist/lib/generated/Entities/ContentFileType/contentfiletype.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/ContentFileType/contentfiletype.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/ContentFileType/contentfiletype.form.component.js +83 -0
- package/dist/lib/generated/Entities/ContentFileType/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/ContentFileType/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/ContentFileType/sections/details.component.js +88 -0
- package/dist/lib/generated/Entities/ContentItem/contentitem.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/ContentItem/contentitem.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/ContentItem/contentitem.form.component.js +83 -0
- package/dist/lib/generated/Entities/ContentItem/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/ContentItem/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/ContentItem/sections/details.component.js +195 -0
- package/dist/lib/generated/Entities/ContentItemAttribute/contentitemattribute.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/ContentItemAttribute/contentitemattribute.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/ContentItemAttribute/contentitemattribute.form.component.js +60 -0
- package/dist/lib/generated/Entities/ContentItemAttribute/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/ContentItemAttribute/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/ContentItemAttribute/sections/details.component.js +108 -0
- package/dist/lib/generated/Entities/ContentItemTag/contentitemtag.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/ContentItemTag/contentitemtag.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/ContentItemTag/contentitemtag.form.component.js +60 -0
- package/dist/lib/generated/Entities/ContentItemTag/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/ContentItemTag/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/ContentItemTag/sections/details.component.js +99 -0
- package/dist/lib/generated/Entities/ContentProcessRun/contentprocessrun.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/ContentProcessRun/contentprocessrun.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/ContentProcessRun/contentprocessrun.form.component.js +60 -0
- package/dist/lib/generated/Entities/ContentProcessRun/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/ContentProcessRun/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/ContentProcessRun/sections/details.component.js +126 -0
- package/dist/lib/generated/Entities/ContentSource/contentsource.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/ContentSource/contentsource.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/ContentSource/contentsource.form.component.js +94 -0
- package/dist/lib/generated/Entities/ContentSource/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/ContentSource/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/ContentSource/sections/details.component.js +148 -0
- package/dist/lib/generated/Entities/ContentSourceParam/contentsourceparam.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/ContentSourceParam/contentsourceparam.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/ContentSourceParam/contentsourceparam.form.component.js +60 -0
- package/dist/lib/generated/Entities/ContentSourceParam/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/ContentSourceParam/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/ContentSourceParam/sections/details.component.js +108 -0
- package/dist/lib/generated/Entities/ContentSourceType/contentsourcetype.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/ContentSourceType/contentsourcetype.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/ContentSourceType/contentsourcetype.form.component.js +83 -0
- package/dist/lib/generated/Entities/ContentSourceType/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/ContentSourceType/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/ContentSourceType/sections/details.component.js +88 -0
- package/dist/lib/generated/Entities/ContentSourceTypeParam/contentsourcetypeparam.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/ContentSourceTypeParam/contentsourcetypeparam.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/ContentSourceTypeParam/contentsourcetypeparam.form.component.js +60 -0
- package/dist/lib/generated/Entities/ContentSourceTypeParam/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/ContentSourceTypeParam/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/ContentSourceTypeParam/sections/details.component.js +115 -0
- package/dist/lib/generated/Entities/ContentType/contenttype.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/ContentType/contenttype.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/ContentType/contenttype.form.component.js +83 -0
- package/dist/lib/generated/Entities/ContentType/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/ContentType/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/ContentType/sections/details.component.js +126 -0
- package/dist/lib/generated/Entities/ContentTypeAttribute/contenttypeattribute.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/ContentTypeAttribute/contenttypeattribute.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/ContentTypeAttribute/contenttypeattribute.form.component.js +60 -0
- package/dist/lib/generated/Entities/ContentTypeAttribute/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/ContentTypeAttribute/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/ContentTypeAttribute/sections/details.component.js +106 -0
- package/dist/lib/generated/Entities/Template/template.form.component.js +2 -2
- package/dist/lib/generated/Entities/TemplateParam/sections/details.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/TemplateParam/sections/details.component.js +13 -4
- package/dist/lib/generated/generated-forms.module.d.ts +291 -264
- package/dist/lib/generated/generated-forms.module.d.ts.map +1 -1
- package/dist/lib/generated/generated-forms.module.js +394 -246
- package/package.json +11 -11
|
@@ -20,8 +20,9 @@ const _c0 = () => ({ EntityRelationshipID: "24996A46-F936-4A43-A7EA-2558CAE9612F
|
|
|
20
20
|
const _c1 = () => ({ EntityRelationshipID: "1D2B1E7C-8687-43E3-ADDF-3920FE15E262" });
|
|
21
21
|
const _c2 = () => ({ EntityRelationshipID: "C4B5759A-40F3-4C20-9B12-A2F40A176C24" });
|
|
22
22
|
const _c3 = () => ({ EntityRelationshipID: "57722FAC-059C-4827-9301-BBF769AC4FF5" });
|
|
23
|
-
const _c4 = () => ({ EntityRelationshipID: "
|
|
24
|
-
const _c5 = () => ({ EntityRelationshipID: "
|
|
23
|
+
const _c4 = () => ({ EntityRelationshipID: "4B77433E-F36B-1410-81E5-00554DDE13D1" });
|
|
24
|
+
const _c5 = () => ({ EntityRelationshipID: "9B78433E-F36B-1410-81E5-00554DDE13D1" });
|
|
25
|
+
const _c6 = () => ({ EntityRelationshipID: "1486CB4C-71BB-4E9E-B384-8531645E502F" });
|
|
25
26
|
function AIModelFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
26
27
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
27
28
|
i0.ɵɵelementStart(0, "form", 3, 0);
|
|
@@ -59,7 +60,7 @@ function AIModelFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
59
60
|
i0.ɵɵelement(23, "mj-user-view-grid", 9);
|
|
60
61
|
i0.ɵɵelementEnd();
|
|
61
62
|
i0.ɵɵelementStart(24, "mj-tab", 13);
|
|
62
|
-
i0.ɵɵtext(25, "
|
|
63
|
+
i0.ɵɵtext(25, " Content Types ");
|
|
63
64
|
i0.ɵɵelementEnd();
|
|
64
65
|
i0.ɵɵelementStart(26, "mj-tab-body");
|
|
65
66
|
i0.ɵɵelement(27, "mj-user-view-grid", 9);
|
|
@@ -69,6 +70,12 @@ function AIModelFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
69
70
|
i0.ɵɵelementEnd();
|
|
70
71
|
i0.ɵɵelementStart(30, "mj-tab-body");
|
|
71
72
|
i0.ɵɵelement(31, "mj-user-view-grid", 9);
|
|
73
|
+
i0.ɵɵelementEnd();
|
|
74
|
+
i0.ɵɵelementStart(32, "mj-tab", 15);
|
|
75
|
+
i0.ɵɵtext(33, " Entity AI Actions ");
|
|
76
|
+
i0.ɵɵelementEnd();
|
|
77
|
+
i0.ɵɵelementStart(34, "mj-tab-body");
|
|
78
|
+
i0.ɵɵelement(35, "mj-user-view-grid", 9);
|
|
72
79
|
i0.ɵɵelementEnd()()();
|
|
73
80
|
} if (rf & 2) {
|
|
74
81
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -77,36 +84,40 @@ function AIModelFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
77
84
|
i0.ɵɵadvance(5);
|
|
78
85
|
i0.ɵɵproperty("record", ctx_r1.record)("EditMode", ctx_r1.EditMode);
|
|
79
86
|
i0.ɵɵadvance();
|
|
80
|
-
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved)("Props", i0.ɵɵpureFunction0(
|
|
87
|
+
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved)("Props", i0.ɵɵpureFunction0(52, _c0));
|
|
81
88
|
i0.ɵɵadvance(3);
|
|
82
89
|
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("AI Actions"))("NewRecordValues", ctx_r1.NewRecordValues("AI Actions"))("AllowLoad", ctx_r1.IsCurrentTab("AI Actions"))("EditMode", ctx_r1.GridEditMode())("BottomMargin", ctx_r1.GridBottomMargin);
|
|
83
90
|
i0.ɵɵadvance();
|
|
84
|
-
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved)("Props", i0.ɵɵpureFunction0(
|
|
91
|
+
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved)("Props", i0.ɵɵpureFunction0(53, _c1));
|
|
85
92
|
i0.ɵɵadvance(3);
|
|
86
93
|
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("Entity Documents"))("NewRecordValues", ctx_r1.NewRecordValues("Entity Documents"))("AllowLoad", ctx_r1.IsCurrentTab("Entity Documents"))("EditMode", ctx_r1.GridEditMode())("BottomMargin", ctx_r1.GridBottomMargin);
|
|
87
94
|
i0.ɵɵadvance();
|
|
88
|
-
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved)("Props", i0.ɵɵpureFunction0(
|
|
95
|
+
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved)("Props", i0.ɵɵpureFunction0(54, _c2));
|
|
89
96
|
i0.ɵɵadvance(3);
|
|
90
97
|
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("AI Model Actions"))("NewRecordValues", ctx_r1.NewRecordValues("AI Model Actions"))("AllowLoad", ctx_r1.IsCurrentTab("AI Model Actions"))("EditMode", ctx_r1.GridEditMode())("BottomMargin", ctx_r1.GridBottomMargin);
|
|
91
98
|
i0.ɵɵadvance();
|
|
92
|
-
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved)("Props", i0.ɵɵpureFunction0(
|
|
99
|
+
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved)("Props", i0.ɵɵpureFunction0(55, _c3));
|
|
93
100
|
i0.ɵɵadvance(3);
|
|
94
101
|
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("Vector Indexes"))("NewRecordValues", ctx_r1.NewRecordValues("Vector Indexes"))("AllowLoad", ctx_r1.IsCurrentTab("Vector Indexes"))("EditMode", ctx_r1.GridEditMode())("BottomMargin", ctx_r1.GridBottomMargin);
|
|
95
102
|
i0.ɵɵadvance();
|
|
96
|
-
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved)("Props", i0.ɵɵpureFunction0(
|
|
103
|
+
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved)("Props", i0.ɵɵpureFunction0(56, _c4));
|
|
97
104
|
i0.ɵɵadvance(3);
|
|
98
|
-
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("
|
|
105
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("Content Types"))("NewRecordValues", ctx_r1.NewRecordValues("Content Types"))("AllowLoad", ctx_r1.IsCurrentTab("Content Types"))("EditMode", ctx_r1.GridEditMode())("BottomMargin", ctx_r1.GridBottomMargin);
|
|
99
106
|
i0.ɵɵadvance();
|
|
100
|
-
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved)("Props", i0.ɵɵpureFunction0(
|
|
107
|
+
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved)("Props", i0.ɵɵpureFunction0(57, _c5));
|
|
101
108
|
i0.ɵɵadvance(3);
|
|
102
109
|
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("AI Result Cache"))("NewRecordValues", ctx_r1.NewRecordValues("AI Result Cache"))("AllowLoad", ctx_r1.IsCurrentTab("AI Result Cache"))("EditMode", ctx_r1.GridEditMode())("BottomMargin", ctx_r1.GridBottomMargin);
|
|
110
|
+
i0.ɵɵadvance();
|
|
111
|
+
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved)("Props", i0.ɵɵpureFunction0(58, _c6));
|
|
112
|
+
i0.ɵɵadvance(3);
|
|
113
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("Entity AI Actions"))("NewRecordValues", ctx_r1.NewRecordValues("Entity AI Actions"))("AllowLoad", ctx_r1.IsCurrentTab("Entity AI Actions"))("EditMode", ctx_r1.GridEditMode())("BottomMargin", ctx_r1.GridBottomMargin);
|
|
103
114
|
} }
|
|
104
115
|
let AIModelFormComponent = class AIModelFormComponent extends BaseFormComponent {
|
|
105
116
|
};
|
|
106
117
|
AIModelFormComponent.ɵfac = /*@__PURE__*/ (() => { let ɵAIModelFormComponent_BaseFactory; return function AIModelFormComponent_Factory(t) { return (ɵAIModelFormComponent_BaseFactory || (ɵAIModelFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(AIModelFormComponent)))(t || AIModelFormComponent); }; })();
|
|
107
|
-
AIModelFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AIModelFormComponent, selectors: [["gen-aimodel-form"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 3, consts: [["form", "ngForm"], ["mjFillContainer", "", 1, "record-form-container", 3, "bottomMargin", "rightMargin"], ["class", "record-form", "mjFillContainer", "", 4, "ngIf"], ["mjFillContainer", "", 1, "record-form"], [3, "form"], ["mjFillContainer", "", 3, "TabSelected"], ["Name", "Details"], ["Entity", "AI Models", "Section", "details", 3, "record", "EditMode"], ["Name", "AI Actions", 3, "Visible", "Props"], [3, "Params", "NewRecordValues", "AllowLoad", "EditMode", "BottomMargin"], ["Name", "Entity Documents", 3, "Visible", "Props"], ["Name", "AI Model Actions", 3, "Visible", "Props"], ["Name", "Vector Indexes", 3, "Visible", "Props"], ["Name", "
|
|
118
|
+
AIModelFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AIModelFormComponent, selectors: [["gen-aimodel-form"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 3, consts: [["form", "ngForm"], ["mjFillContainer", "", 1, "record-form-container", 3, "bottomMargin", "rightMargin"], ["class", "record-form", "mjFillContainer", "", 4, "ngIf"], ["mjFillContainer", "", 1, "record-form"], [3, "form"], ["mjFillContainer", "", 3, "TabSelected"], ["Name", "Details"], ["Entity", "AI Models", "Section", "details", 3, "record", "EditMode"], ["Name", "AI Actions", 3, "Visible", "Props"], [3, "Params", "NewRecordValues", "AllowLoad", "EditMode", "BottomMargin"], ["Name", "Entity Documents", 3, "Visible", "Props"], ["Name", "AI Model Actions", 3, "Visible", "Props"], ["Name", "Vector Indexes", 3, "Visible", "Props"], ["Name", "Content Types", 3, "Visible", "Props"], ["Name", "AI Result Cache", 3, "Visible", "Props"], ["Name", "Entity AI Actions", 3, "Visible", "Props"]], template: function AIModelFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
108
119
|
i0.ɵɵelementStart(0, "div", 1);
|
|
109
|
-
i0.ɵɵtemplate(1, AIModelFormComponent_form_1_Template,
|
|
120
|
+
i0.ɵɵtemplate(1, AIModelFormComponent_form_1_Template, 36, 59, "form", 2);
|
|
110
121
|
i0.ɵɵelementEnd();
|
|
111
122
|
} if (rf & 2) {
|
|
112
123
|
i0.ɵɵproperty("bottomMargin", 20)("rightMargin", 5);
|
|
@@ -119,7 +130,7 @@ AIModelFormComponent = __decorate([
|
|
|
119
130
|
export { AIModelFormComponent };
|
|
120
131
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AIModelFormComponent, [{
|
|
121
132
|
type: Component,
|
|
122
|
-
args: [{ selector: 'gen-aimodel-form', template: "<div class=\"record-form-container\" mjFillContainer [bottomMargin]=\"20\" [rightMargin]=\"5\">\n <form *ngIf=\"record\" class=\"record-form\" #form=\"ngForm\" mjFillContainer>\n <mj-form-toolbar [form]=\"this\"></mj-form-toolbar>\n\n <mj-tabstrip (TabSelected)=\"onTabSelect($event.index)\" mjFillContainer>\n \n <mj-tab Name=\"Details\">\n Details\n </mj-tab>\n <mj-tab-body>\n <mj-form-section \n Entity=\"AI Models\" \n Section=\"details\" \n [record]=\"record\" \n [EditMode]=\"this.EditMode\">\n </mj-form-section>\n </mj-tab-body>\n \n <mj-tab Name=\"AI Actions\" \n [Visible]=\"record.IsSaved\" \n [Props]=\"{EntityRelationshipID: '24996A46-F936-4A43-A7EA-2558CAE9612F'}\">\n AI Actions\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('AI Actions')\" \n [NewRecordValues]=\"NewRecordValues('AI Actions')\"\n [AllowLoad]=\"IsCurrentTab('AI Actions')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"Entity Documents\" \n [Visible]=\"record.IsSaved\" \n [Props]=\"{EntityRelationshipID: '1D2B1E7C-8687-43E3-ADDF-3920FE15E262'}\">\n Entity Documents\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Entity Documents')\" \n [NewRecordValues]=\"NewRecordValues('Entity Documents')\"\n [AllowLoad]=\"IsCurrentTab('Entity Documents')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"AI Model Actions\" \n [Visible]=\"record.IsSaved\" \n [Props]=\"{EntityRelationshipID: 'C4B5759A-40F3-4C20-9B12-A2F40A176C24'}\">\n AI Model Actions\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('AI Model Actions')\" \n [NewRecordValues]=\"NewRecordValues('AI Model Actions')\"\n [AllowLoad]=\"IsCurrentTab('AI Model Actions')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"Vector Indexes\" \n [Visible]=\"record.IsSaved\" \n [Props]=\"{EntityRelationshipID: '57722FAC-059C-4827-9301-BBF769AC4FF5'}\">\n Vector Indexes\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Vector Indexes')\" \n [NewRecordValues]=\"NewRecordValues('Vector Indexes')\"\n [AllowLoad]=\"IsCurrentTab('Vector Indexes')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"
|
|
133
|
+
args: [{ selector: 'gen-aimodel-form', template: "<div class=\"record-form-container\" mjFillContainer [bottomMargin]=\"20\" [rightMargin]=\"5\">\n <form *ngIf=\"record\" class=\"record-form\" #form=\"ngForm\" mjFillContainer>\n <mj-form-toolbar [form]=\"this\"></mj-form-toolbar>\n\n <mj-tabstrip (TabSelected)=\"onTabSelect($event.index)\" mjFillContainer>\n \n <mj-tab Name=\"Details\">\n Details\n </mj-tab>\n <mj-tab-body>\n <mj-form-section \n Entity=\"AI Models\" \n Section=\"details\" \n [record]=\"record\" \n [EditMode]=\"this.EditMode\">\n </mj-form-section>\n </mj-tab-body>\n \n <mj-tab Name=\"AI Actions\" \n [Visible]=\"record.IsSaved\" \n [Props]=\"{EntityRelationshipID: '24996A46-F936-4A43-A7EA-2558CAE9612F'}\">\n AI Actions\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('AI Actions')\" \n [NewRecordValues]=\"NewRecordValues('AI Actions')\"\n [AllowLoad]=\"IsCurrentTab('AI Actions')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"Entity Documents\" \n [Visible]=\"record.IsSaved\" \n [Props]=\"{EntityRelationshipID: '1D2B1E7C-8687-43E3-ADDF-3920FE15E262'}\">\n Entity Documents\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Entity Documents')\" \n [NewRecordValues]=\"NewRecordValues('Entity Documents')\"\n [AllowLoad]=\"IsCurrentTab('Entity Documents')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"AI Model Actions\" \n [Visible]=\"record.IsSaved\" \n [Props]=\"{EntityRelationshipID: 'C4B5759A-40F3-4C20-9B12-A2F40A176C24'}\">\n AI Model Actions\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('AI Model Actions')\" \n [NewRecordValues]=\"NewRecordValues('AI Model Actions')\"\n [AllowLoad]=\"IsCurrentTab('AI Model Actions')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"Vector Indexes\" \n [Visible]=\"record.IsSaved\" \n [Props]=\"{EntityRelationshipID: '57722FAC-059C-4827-9301-BBF769AC4FF5'}\">\n Vector Indexes\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Vector Indexes')\" \n [NewRecordValues]=\"NewRecordValues('Vector Indexes')\"\n [AllowLoad]=\"IsCurrentTab('Vector Indexes')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"Content Types\" \n [Visible]=\"record.IsSaved\" \n [Props]=\"{EntityRelationshipID: '4B77433E-F36B-1410-81E5-00554DDE13D1'}\">\n Content Types\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Content Types')\" \n [NewRecordValues]=\"NewRecordValues('Content Types')\"\n [AllowLoad]=\"IsCurrentTab('Content Types')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"AI Result Cache\" \n [Visible]=\"record.IsSaved\" \n [Props]=\"{EntityRelationshipID: '9B78433E-F36B-1410-81E5-00554DDE13D1'}\">\n AI Result Cache\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('AI Result Cache')\" \n [NewRecordValues]=\"NewRecordValues('AI Result Cache')\"\n [AllowLoad]=\"IsCurrentTab('AI Result Cache')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"Entity AI Actions\" \n [Visible]=\"record.IsSaved\" \n [Props]=\"{EntityRelationshipID: '1486CB4C-71BB-4E9E-B384-8531645E502F'}\">\n Entity AI Actions\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Entity AI Actions')\" \n [NewRecordValues]=\"NewRecordValues('Entity AI Actions')\"\n [AllowLoad]=\"IsCurrentTab('Entity AI Actions')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n </mj-tabstrip>\n </form>\n</div>\n ", styles: [".k-pane {\n background-color: #F5F6FA;\n} \n\n\na {\n font-size: 14px;\n font-weight: bolder;\n}\n\n.tab-header-icon {\n margin-right: 5px;\n}\n\n.record-form {\n display: block;\n flex-direction: column;\n background-color: #F5F6FA;\n padding: 10px;\n}\n\n.record-form-group {\n margin-top: 0px;\n background-color: #F5F6FA;\n}\n\nbutton {\n margin-right: 5px;\n}\n\n.record-form h2 {\n margin-bottom: 10px;\n}\n\n.k-splitter {\n border-width: 0px;\n}\n\n.record-form-row {\n display: grid;\n grid-template-columns: auto 1fr;\n align-items: start;\n gap: 10px;\n margin-bottom: 12px;\n padding-top: 5px;\n padding-bottom: 5px;\n}\n\n\n/* .record-form .record-form-row:nth-child(odd) {\n background-color: #f2f2f2; \n} */\n\n/* \n.record-form .record-form-row:nth-child(even) {\n background-color: #ffffff; \n} */\n\n.record-form .record-form-row > :first-child {\n font-weight: bold;\n padding-right: 10px;\n} \n\n.record-form .record-form-row > span {\n white-space: pre-line;\n max-height: 300px;\n overflow: auto;\n}\n\n \n\n@media (min-width: 768px) {\n .record-form-row {\n flex-direction: row;\n align-items: center;\n }\n\n .record-form-row label {\n width: 240px;\n margin-bottom: 0;\n }\n}\n"] }]
|
|
123
134
|
}], null, null); })();
|
|
124
135
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AIModelFormComponent, { className: "AIModelFormComponent", filePath: "src/lib/generated/Entities/AIModel/aimodel.form.component.ts", lineNumber: 14 }); })();
|
|
125
136
|
export function LoadAIModelFormComponent() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"details.component.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/generated/Entities/AIModel/sections/details.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;;AAE9D,
|
|
1
|
+
{"version":3,"file":"details.component.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/generated/Entities/AIModel/sections/details.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;;AAE9D,qBA6Ha,uBAAwB,SAAQ,wBAAwB;IAC/C,MAAM,EAAG,aAAa,CAAC;IACvB,QAAQ,EAAE,OAAO,CAAS;yCAFnC,uBAAuB;2CAAvB,uBAAuB;CAGnC;AAED,wBAAgB,2BAA2B,SAE1C"}
|
|
@@ -12,7 +12,7 @@ import * as i1 from "@angular/common";
|
|
|
12
12
|
import * as i2 from "@memberjunction/ng-base-forms";
|
|
13
13
|
function AIModelDetailsComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
14
14
|
i0.ɵɵelementStart(0, "div")(1, "div", 1);
|
|
15
|
-
i0.ɵɵelement(2, "mj-form-field", 2)(3, "mj-form-field", 3)(4, "mj-form-field", 4)(5, "mj-form-field", 5)(6, "mj-form-field", 6)(7, "mj-form-field", 7)(8, "mj-form-field", 8)(9, "mj-form-field", 9)(10, "mj-form-field", 10)(11, "mj-form-field", 11)(12, "mj-form-field", 12)(13, "mj-form-field", 13)(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 AIModelDetailsComponent_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 AIModelDetailsComponent = class AIModelDetailsComponent extends BaseFormSectionComponent {
|
|
51
53
|
constructor() {
|
|
@@ -54,8 +56,8 @@ let AIModelDetailsComponent = class AIModelDetailsComponent extends BaseFormSect
|
|
|
54
56
|
}
|
|
55
57
|
};
|
|
56
58
|
AIModelDetailsComponent.ɵfac = /*@__PURE__*/ (() => { let ɵAIModelDetailsComponent_BaseFactory; return function AIModelDetailsComponent_Factory(t) { return (ɵAIModelDetailsComponent_BaseFactory || (ɵAIModelDetailsComponent_BaseFactory = i0.ɵɵgetInheritedFactory(AIModelDetailsComponent)))(t || AIModelDetailsComponent); }; })();
|
|
57
|
-
AIModelDetailsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AIModelDetailsComponent, selectors: [["gen-aimodel-form-details"]], inputs: { record: "record", EditMode: "EditMode" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "record-form"], ["FieldName", "Name", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Description", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Vendor", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "AIModelTypeID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "PowerRank", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "IsActive", "Type", "checkbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "DriverClass", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "DriverImportPath", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "APIName", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "__mj_CreatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "__mj_UpdatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "SpeedRank", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "CostRank", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "ModelSelectionInsights", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "AIModelType", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"]], template: function AIModelDetailsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
58
|
-
i0.ɵɵtemplate(0, AIModelDetailsComponent_div_0_Template,
|
|
59
|
+
AIModelDetailsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AIModelDetailsComponent, selectors: [["gen-aimodel-form-details"]], inputs: { record: "record", EditMode: "EditMode" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "record-form"], ["FieldName", "Name", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Description", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Vendor", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "AIModelTypeID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "PowerRank", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "IsActive", "Type", "checkbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "DriverClass", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "DriverImportPath", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "APIName", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "__mj_CreatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "__mj_UpdatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "SpeedRank", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "CostRank", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "ModelSelectionInsights", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "InputTokenLimit", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "AIModelType", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"]], template: function AIModelDetailsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
60
|
+
i0.ɵɵtemplate(0, AIModelDetailsComponent_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}"] });
|
|
@@ -167,6 +169,13 @@ export { AIModelDetailsComponent };
|
|
|
167
169
|
Type="textarea"
|
|
168
170
|
[EditMode]="EditMode"
|
|
169
171
|
></mj-form-field>
|
|
172
|
+
<mj-form-field
|
|
173
|
+
[record]="record"
|
|
174
|
+
[ShowLabel]="true"
|
|
175
|
+
FieldName="InputTokenLimit"
|
|
176
|
+
Type="numerictextbox"
|
|
177
|
+
[EditMode]="EditMode"
|
|
178
|
+
></mj-form-field>
|
|
170
179
|
<mj-form-field
|
|
171
180
|
[record]="record"
|
|
172
181
|
[ShowLabel]="true"
|
|
@@ -183,7 +192,7 @@ export { AIModelDetailsComponent };
|
|
|
183
192
|
}], EditMode: [{
|
|
184
193
|
type: Input
|
|
185
194
|
}] }); })();
|
|
186
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AIModelDetailsComponent, { className: "AIModelDetailsComponent", filePath: "src/lib/generated/Entities/AIModel/sections/details.component.ts", lineNumber:
|
|
195
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AIModelDetailsComponent, { className: "AIModelDetailsComponent", filePath: "src/lib/generated/Entities/AIModel/sections/details.component.ts", lineNumber: 131 }); })();
|
|
187
196
|
export function LoadAIModelDetailsComponent() {
|
|
188
197
|
// does nothing, but called in order to prevent tree-shaking from eliminating this component from the build
|
|
189
198
|
}
|
|
@@ -17,7 +17,7 @@ import * as i5 from "@memberjunction/ng-form-toolbar";
|
|
|
17
17
|
import * as i6 from "@memberjunction/ng-tabstrip";
|
|
18
18
|
import * as i7 from "@memberjunction/ng-container-directives";
|
|
19
19
|
const _c0 = () => ({ EntityRelationshipID: "6B74433E-F36B-1410-883E-00D02208DC50" });
|
|
20
|
-
const _c1 = () => ({ EntityRelationshipID: "
|
|
20
|
+
const _c1 = () => ({ EntityRelationshipID: "9978433E-F36B-1410-81E5-00554DDE13D1" });
|
|
21
21
|
function AIPromptCategoryFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
22
22
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
23
23
|
i0.ɵɵelementStart(0, "form", 3, 0);
|
|
@@ -75,7 +75,7 @@ AIPromptCategoryFormComponent = __decorate([
|
|
|
75
75
|
export { AIPromptCategoryFormComponent };
|
|
76
76
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AIPromptCategoryFormComponent, [{
|
|
77
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: '6B74433E-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=\"AI Prompt Categories\" \n [Visible]=\"record.IsSaved\" \n [Props]=\"{EntityRelationshipID: '
|
|
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: '6B74433E-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=\"AI Prompt Categories\" \n [Visible]=\"record.IsSaved\" \n [Props]=\"{EntityRelationshipID: '9978433E-F36B-1410-81E5-00554DDE13D1'}\">\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
79
|
}], null, null); })();
|
|
80
80
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AIPromptCategoryFormComponent, { className: "AIPromptCategoryFormComponent", filePath: "src/lib/generated/Entities/AIPromptCategory/aipromptcategory.form.component.ts", lineNumber: 14 }); })();
|
|
81
81
|
export function LoadAIPromptCategoryFormComponent() {
|
package/dist/lib/generated/Entities/CommunicationProvider/sections/details.component.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"details.component.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/generated/Entities/CommunicationProvider/sections/details.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;;AAE5E,
|
|
1
|
+
{"version":3,"file":"details.component.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/generated/Entities/CommunicationProvider/sections/details.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;;AAE5E,qBAmEa,qCAAsC,SAAQ,wBAAwB;IAC7D,MAAM,EAAG,2BAA2B,CAAC;IACrC,QAAQ,EAAE,OAAO,CAAS;yCAFnC,qCAAqC;2CAArC,qCAAqC;CAGjD;AAED,wBAAgB,yCAAyC,SAExD"}
|
|
@@ -12,7 +12,7 @@ import * as i1 from "@angular/common";
|
|
|
12
12
|
import * as i2 from "@memberjunction/ng-base-forms";
|
|
13
13
|
function CommunicationProviderDetailsComponent_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);
|
|
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);
|
|
16
16
|
i0.ɵɵelementEnd()();
|
|
17
17
|
} if (rf & 2) {
|
|
18
18
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -30,6 +30,8 @@ function CommunicationProviderDetailsComponent_div_0_Template(rf, ctx) { if (rf
|
|
|
30
30
|
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
31
31
|
i0.ɵɵadvance();
|
|
32
32
|
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
33
|
+
i0.ɵɵadvance();
|
|
34
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
33
35
|
} }
|
|
34
36
|
let CommunicationProviderDetailsComponent = class CommunicationProviderDetailsComponent extends BaseFormSectionComponent {
|
|
35
37
|
constructor() {
|
|
@@ -38,8 +40,8 @@ let CommunicationProviderDetailsComponent = class CommunicationProviderDetailsCo
|
|
|
38
40
|
}
|
|
39
41
|
};
|
|
40
42
|
CommunicationProviderDetailsComponent.ɵfac = /*@__PURE__*/ (() => { let ɵCommunicationProviderDetailsComponent_BaseFactory; return function CommunicationProviderDetailsComponent_Factory(t) { return (ɵCommunicationProviderDetailsComponent_BaseFactory || (ɵCommunicationProviderDetailsComponent_BaseFactory = i0.ɵɵgetInheritedFactory(CommunicationProviderDetailsComponent)))(t || CommunicationProviderDetailsComponent); }; })();
|
|
41
|
-
CommunicationProviderDetailsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CommunicationProviderDetailsComponent, selectors: [["gen-communicationprovider-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", "Status", "Type", "dropdownlist", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "SupportsSending", "Type", "checkbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "SupportsReceiving", "Type", "checkbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "__mj_CreatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "__mj_UpdatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"]], template: function CommunicationProviderDetailsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
42
|
-
i0.ɵɵtemplate(0, CommunicationProviderDetailsComponent_div_0_Template,
|
|
43
|
+
CommunicationProviderDetailsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CommunicationProviderDetailsComponent, selectors: [["gen-communicationprovider-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", "Status", "Type", "dropdownlist", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "SupportsSending", "Type", "checkbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "SupportsReceiving", "Type", "checkbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "__mj_CreatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "__mj_UpdatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "SupportsScheduledSending", "Type", "checkbox", 3, "record", "ShowLabel", "EditMode"]], template: function CommunicationProviderDetailsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
44
|
+
i0.ɵɵtemplate(0, CommunicationProviderDetailsComponent_div_0_Template, 10, 24, "div", 0);
|
|
43
45
|
} if (rf & 2) {
|
|
44
46
|
i0.ɵɵproperty("ngIf", ctx.record);
|
|
45
47
|
} }, 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}"] });
|
|
@@ -100,6 +102,13 @@ export { CommunicationProviderDetailsComponent };
|
|
|
100
102
|
Type="textbox"
|
|
101
103
|
[EditMode]="EditMode"
|
|
102
104
|
></mj-form-field>
|
|
105
|
+
<mj-form-field
|
|
106
|
+
[record]="record"
|
|
107
|
+
[ShowLabel]="true"
|
|
108
|
+
FieldName="SupportsScheduledSending"
|
|
109
|
+
Type="checkbox"
|
|
110
|
+
[EditMode]="EditMode"
|
|
111
|
+
></mj-form-field>
|
|
103
112
|
|
|
104
113
|
</div>
|
|
105
114
|
</div>
|
|
@@ -109,7 +118,7 @@ export { CommunicationProviderDetailsComponent };
|
|
|
109
118
|
}], EditMode: [{
|
|
110
119
|
type: Input
|
|
111
120
|
}] }); })();
|
|
112
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CommunicationProviderDetailsComponent, { className: "CommunicationProviderDetailsComponent", filePath: "src/lib/generated/Entities/CommunicationProvider/sections/details.component.ts", lineNumber:
|
|
121
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CommunicationProviderDetailsComponent, { className: "CommunicationProviderDetailsComponent", filePath: "src/lib/generated/Entities/CommunicationProvider/sections/details.component.ts", lineNumber: 73 }); })();
|
|
113
122
|
export function LoadCommunicationProviderDetailsComponent() {
|
|
114
123
|
// does nothing, but called in order to prevent tree-shaking from eliminating this component from the build
|
|
115
124
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ContentFileTypeEntity } from '@memberjunction/core-entities';
|
|
2
|
+
import { BaseFormComponent } from '@memberjunction/ng-base-forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ContentFileTypeFormComponent extends BaseFormComponent {
|
|
5
|
+
record: ContentFileTypeEntity;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContentFileTypeFormComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ContentFileTypeFormComponent, "gen-contentfiletype-form", never, {}, {}, never, never, false, never>;
|
|
8
|
+
}
|
|
9
|
+
export declare function LoadContentFileTypeFormComponent(): void;
|
|
10
|
+
//# sourceMappingURL=contentfiletype.form.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contentfiletype.form.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/ContentFileType/contentfiletype.form.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAEtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAIlE,qBAMa,4BAA6B,SAAQ,iBAAiB;IACxD,MAAM,EAAG,qBAAqB,CAAC;yCAD7B,4BAA4B;2CAA5B,4BAA4B;CAExC;AAED,wBAAgB,gCAAgC,SAE/C"}
|
|
@@ -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 { LoadContentFileTypeDetailsComponent } 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: "6F77433E-F36B-1410-81E5-00554DDE13D1" });
|
|
20
|
+
const _c1 = () => ({ EntityRelationshipID: "6B77433E-F36B-1410-81E5-00554DDE13D1" });
|
|
21
|
+
function ContentFileTypeFormComponent_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 ContentFileTypeFormComponent_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, " Content Sources ");
|
|
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, " Content Items ");
|
|
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("Content Sources"))("NewRecordValues", ctx_r1.NewRecordValues("Content Sources"))("AllowLoad", ctx_r1.IsCurrentTab("Content Sources"))("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("Content Items"))("NewRecordValues", ctx_r1.NewRecordValues("Content Items"))("AllowLoad", ctx_r1.IsCurrentTab("Content Items"))("EditMode", ctx_r1.GridEditMode())("BottomMargin", ctx_r1.GridBottomMargin);
|
|
59
|
+
} }
|
|
60
|
+
let ContentFileTypeFormComponent = class ContentFileTypeFormComponent extends BaseFormComponent {
|
|
61
|
+
};
|
|
62
|
+
ContentFileTypeFormComponent.ɵfac = /*@__PURE__*/ (() => { let ɵContentFileTypeFormComponent_BaseFactory; return function ContentFileTypeFormComponent_Factory(t) { return (ɵContentFileTypeFormComponent_BaseFactory || (ɵContentFileTypeFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ContentFileTypeFormComponent)))(t || ContentFileTypeFormComponent); }; })();
|
|
63
|
+
ContentFileTypeFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ContentFileTypeFormComponent, selectors: [["gen-contentfiletype-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", "Content File Types", "Section", "details", 3, "record", "EditMode"], ["Name", "Content Sources", 3, "Visible", "Props"], [3, "Params", "NewRecordValues", "AllowLoad", "EditMode", "BottomMargin"], ["Name", "Content Items", 3, "Visible", "Props"]], template: function ContentFileTypeFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
64
|
+
i0.ɵɵelementStart(0, "div", 1);
|
|
65
|
+
i0.ɵɵtemplate(1, ContentFileTypeFormComponent_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
|
+
ContentFileTypeFormComponent = __decorate([
|
|
73
|
+
RegisterClass(BaseFormComponent, 'Content File Types') // Tell MemberJunction about this class
|
|
74
|
+
], ContentFileTypeFormComponent);
|
|
75
|
+
export { ContentFileTypeFormComponent };
|
|
76
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContentFileTypeFormComponent, [{
|
|
77
|
+
type: Component,
|
|
78
|
+
args: [{ selector: 'gen-contentfiletype-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=\"Content File Types\" \n Section=\"details\" \n [record]=\"record\" \n [EditMode]=\"this.EditMode\">\n </mj-form-section>\n </mj-tab-body>\n \n <mj-tab Name=\"Content Sources\" \n [Visible]=\"record.IsSaved\" \n [Props]=\"{EntityRelationshipID: '6F77433E-F36B-1410-81E5-00554DDE13D1'}\">\n Content Sources\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Content Sources')\" \n [NewRecordValues]=\"NewRecordValues('Content Sources')\"\n [AllowLoad]=\"IsCurrentTab('Content Sources')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"Content Items\" \n [Visible]=\"record.IsSaved\" \n [Props]=\"{EntityRelationshipID: '6B77433E-F36B-1410-81E5-00554DDE13D1'}\">\n Content Items\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Content Items')\" \n [NewRecordValues]=\"NewRecordValues('Content Items')\"\n [AllowLoad]=\"IsCurrentTab('Content Items')\" \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(ContentFileTypeFormComponent, { className: "ContentFileTypeFormComponent", filePath: "src/lib/generated/Entities/ContentFileType/contentfiletype.form.component.ts", lineNumber: 14 }); })();
|
|
81
|
+
export function LoadContentFileTypeFormComponent() {
|
|
82
|
+
LoadContentFileTypeDetailsComponent();
|
|
83
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BaseFormSectionComponent } from '@memberjunction/ng-base-forms';
|
|
2
|
+
import { ContentFileTypeEntity } from '@memberjunction/core-entities';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ContentFileTypeDetailsComponent extends BaseFormSectionComponent {
|
|
5
|
+
record: ContentFileTypeEntity;
|
|
6
|
+
EditMode: boolean;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContentFileTypeDetailsComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ContentFileTypeDetailsComponent, "gen-contentfiletype-form-details", never, { "record": { "alias": "record"; "required": false; }; "EditMode": { "alias": "EditMode"; "required": false; }; }, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
10
|
+
export declare function LoadContentFileTypeDetailsComponent(): 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/ContentFileType/sections/details.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;;AAEtE,qBAuCa,+BAAgC,SAAQ,wBAAwB;IACvD,MAAM,EAAG,qBAAqB,CAAC;IAC/B,QAAQ,EAAE,OAAO,CAAS;yCAFnC,+BAA+B;2CAA/B,+BAA+B;CAG3C;AAED,wBAAgB,mCAAmC,SAElD"}
|
|
@@ -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 ContentFileTypeDetailsComponent_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 ContentFileTypeDetailsComponent = class ContentFileTypeDetailsComponent extends BaseFormSectionComponent {
|
|
29
|
+
constructor() {
|
|
30
|
+
super(...arguments);
|
|
31
|
+
this.EditMode = false;
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
ContentFileTypeDetailsComponent.ɵfac = /*@__PURE__*/ (() => { let ɵContentFileTypeDetailsComponent_BaseFactory; return function ContentFileTypeDetailsComponent_Factory(t) { return (ɵContentFileTypeDetailsComponent_BaseFactory || (ɵContentFileTypeDetailsComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ContentFileTypeDetailsComponent)))(t || ContentFileTypeDetailsComponent); }; })();
|
|
35
|
+
ContentFileTypeDetailsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ContentFileTypeDetailsComponent, selectors: [["gen-contentfiletype-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", "FileExtension", "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 ContentFileTypeDetailsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
36
|
+
i0.ɵɵtemplate(0, ContentFileTypeDetailsComponent_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
|
+
ContentFileTypeDetailsComponent = __decorate([
|
|
41
|
+
RegisterClass(BaseFormSectionComponent, 'Content File Types.details') // Tell MemberJunction about this class
|
|
42
|
+
], ContentFileTypeDetailsComponent);
|
|
43
|
+
export { ContentFileTypeDetailsComponent };
|
|
44
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContentFileTypeDetailsComponent, [{
|
|
45
|
+
type: Component,
|
|
46
|
+
args: [{ selector: 'gen-contentfiletype-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="FileExtension"
|
|
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(ContentFileTypeDetailsComponent, { className: "ContentFileTypeDetailsComponent", filePath: "src/lib/generated/Entities/ContentFileType/sections/details.component.ts", lineNumber: 45 }); })();
|
|
86
|
+
export function LoadContentFileTypeDetailsComponent() {
|
|
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 { ContentItemEntity } from '@memberjunction/core-entities';
|
|
2
|
+
import { BaseFormComponent } from '@memberjunction/ng-base-forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ContentItemFormComponent extends BaseFormComponent {
|
|
5
|
+
record: ContentItemEntity;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContentItemFormComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ContentItemFormComponent, "gen-contentitem-form", never, {}, {}, never, never, false, never>;
|
|
8
|
+
}
|
|
9
|
+
export declare function LoadContentItemFormComponent(): void;
|
|
10
|
+
//# sourceMappingURL=contentitem.form.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contentitem.form.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/ContentItem/contentitem.form.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAElE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAIlE,qBAMa,wBAAyB,SAAQ,iBAAiB;IACpD,MAAM,EAAG,iBAAiB,CAAC;yCADzB,wBAAwB;2CAAxB,wBAAwB;CAEpC;AAED,wBAAgB,4BAA4B,SAE3C"}
|