@memberjunction/ng-core-entity-forms 2.84.0 → 2.86.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/AIAgent/aiagent.form.component.js +34 -14
- package/dist/lib/generated/Entities/AIAgent/aiagent.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIAgentRelationship/aiagentrelationship.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/AIAgentRelationship/aiagentrelationship.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIAgentRelationship/aiagentrelationship.form.component.js +59 -0
- package/dist/lib/generated/Entities/AIAgentRelationship/aiagentrelationship.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/AIAgentRelationship/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/AIAgentRelationship/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIAgentRelationship/sections/details.component.js +120 -0
- package/dist/lib/generated/Entities/AIAgentRelationship/sections/details.component.js.map +1 -0
- package/dist/lib/generated/Entities/AIModel/aimodel.form.component.js +14 -3
- package/dist/lib/generated/Entities/AIModel/aimodel.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/Component/component.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/Component/component.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/Component/component.form.component.js +90 -0
- package/dist/lib/generated/Entities/Component/component.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/Component/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/Component/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/Component/sections/details.component.js +253 -0
- package/dist/lib/generated/Entities/Component/sections/details.component.js.map +1 -0
- package/dist/lib/generated/Entities/ComponentDependency/componentdependency.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/ComponentDependency/componentdependency.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/ComponentDependency/componentdependency.form.component.js +59 -0
- package/dist/lib/generated/Entities/ComponentDependency/componentdependency.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/ComponentDependency/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/ComponentDependency/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/ComponentDependency/sections/details.component.js +111 -0
- package/dist/lib/generated/Entities/ComponentDependency/sections/details.component.js.map +1 -0
- package/dist/lib/generated/Entities/ComponentLibrary/componentlibrary.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/ComponentLibrary/componentlibrary.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/ComponentLibrary/componentlibrary.form.component.js +70 -0
- package/dist/lib/generated/Entities/ComponentLibrary/componentlibrary.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/ComponentLibrary/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/ComponentLibrary/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/ComponentLibrary/sections/details.component.js +143 -0
- package/dist/lib/generated/Entities/ComponentLibrary/sections/details.component.js.map +1 -0
- package/dist/lib/generated/Entities/ComponentLibraryLink/componentlibrarylink.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/ComponentLibraryLink/componentlibrarylink.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/ComponentLibraryLink/componentlibrarylink.form.component.js +59 -0
- package/dist/lib/generated/Entities/ComponentLibraryLink/componentlibrarylink.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/ComponentLibraryLink/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/ComponentLibraryLink/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/ComponentLibraryLink/sections/details.component.js +120 -0
- package/dist/lib/generated/Entities/ComponentLibraryLink/sections/details.component.js.map +1 -0
- package/dist/lib/generated/Entities/ComponentRegistry/componentregistry.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/ComponentRegistry/componentregistry.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/ComponentRegistry/componentregistry.form.component.js +70 -0
- package/dist/lib/generated/Entities/ComponentRegistry/componentregistry.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/ComponentRegistry/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/ComponentRegistry/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/ComponentRegistry/sections/details.component.js +125 -0
- package/dist/lib/generated/Entities/ComponentRegistry/sections/details.component.js.map +1 -0
- package/dist/lib/generated/Entities/Query/sections/details.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/Query/sections/details.component.js +33 -4
- package/dist/lib/generated/Entities/Query/sections/details.component.js.map +1 -1
- package/dist/lib/generated/generated-forms.module.d.ts +303 -291
- package/dist/lib/generated/generated-forms.module.d.ts.map +1 -1
- package/dist/lib/generated/generated-forms.module.js +286 -238
- package/dist/lib/generated/generated-forms.module.js.map +1 -1
- package/package.json +16 -16
|
@@ -0,0 +1,90 @@
|
|
|
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 { LoadComponentDetailsComponent } 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
|
+
function ComponentFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
19
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
20
|
+
i0.ɵɵelementStart(0, "form", 3, 0);
|
|
21
|
+
i0.ɵɵelement(2, "mj-form-toolbar", 4);
|
|
22
|
+
i0.ɵɵelementStart(3, "mj-tabstrip", 5);
|
|
23
|
+
i0.ɵɵlistener("TabSelected", function ComponentFormComponent_form_1_Template_mj_tabstrip_TabSelected_3_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onTabSelect($event)); })("ResizeContainer", function ComponentFormComponent_form_1_Template_mj_tabstrip_ResizeContainer_3_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.InvokeManualResize()); });
|
|
24
|
+
i0.ɵɵelementStart(4, "mj-tab", 6);
|
|
25
|
+
i0.ɵɵtext(5, " Details ");
|
|
26
|
+
i0.ɵɵelementEnd();
|
|
27
|
+
i0.ɵɵelementStart(6, "mj-tab-body");
|
|
28
|
+
i0.ɵɵelement(7, "mj-form-section", 7);
|
|
29
|
+
i0.ɵɵelementEnd();
|
|
30
|
+
i0.ɵɵelementStart(8, "mj-tab", 8);
|
|
31
|
+
i0.ɵɵtext(9, " MJ: Component Dependencies ");
|
|
32
|
+
i0.ɵɵelementEnd();
|
|
33
|
+
i0.ɵɵelementStart(10, "mj-tab-body");
|
|
34
|
+
i0.ɵɵelement(11, "mj-user-view-grid", 9);
|
|
35
|
+
i0.ɵɵelementEnd();
|
|
36
|
+
i0.ɵɵelementStart(12, "mj-tab", 10);
|
|
37
|
+
i0.ɵɵtext(13, " MJ: Component Library Links ");
|
|
38
|
+
i0.ɵɵelementEnd();
|
|
39
|
+
i0.ɵɵelementStart(14, "mj-tab-body");
|
|
40
|
+
i0.ɵɵelement(15, "mj-user-view-grid", 9);
|
|
41
|
+
i0.ɵɵelementEnd();
|
|
42
|
+
i0.ɵɵelementStart(16, "mj-tab", 8);
|
|
43
|
+
i0.ɵɵtext(17, " MJ: Component Dependencies ");
|
|
44
|
+
i0.ɵɵelementEnd();
|
|
45
|
+
i0.ɵɵelementStart(18, "mj-tab-body");
|
|
46
|
+
i0.ɵɵelement(19, "mj-user-view-grid", 9);
|
|
47
|
+
i0.ɵɵelementEnd()()();
|
|
48
|
+
} if (rf & 2) {
|
|
49
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
50
|
+
i0.ɵɵadvance(2);
|
|
51
|
+
i0.ɵɵproperty("form", ctx_r1);
|
|
52
|
+
i0.ɵɵadvance(5);
|
|
53
|
+
i0.ɵɵproperty("record", ctx_r1.record)("EditMode", ctx_r1.EditMode);
|
|
54
|
+
i0.ɵɵadvance();
|
|
55
|
+
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved);
|
|
56
|
+
i0.ɵɵadvance(3);
|
|
57
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Component Dependencies", "DependencyComponentID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Component Dependencies"))("AllowLoad", ctx_r1.IsCurrentTab("MJ: Component Dependencies"))("EditMode", ctx_r1.GridEditMode());
|
|
58
|
+
i0.ɵɵadvance();
|
|
59
|
+
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved);
|
|
60
|
+
i0.ɵɵadvance(3);
|
|
61
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Component Library Links", "ComponentID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Component Library Links"))("AllowLoad", ctx_r1.IsCurrentTab("MJ: Component Library Links"))("EditMode", ctx_r1.GridEditMode());
|
|
62
|
+
i0.ɵɵadvance();
|
|
63
|
+
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved);
|
|
64
|
+
i0.ɵɵadvance(3);
|
|
65
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Component Dependencies", "ComponentID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Component Dependencies"))("AllowLoad", ctx_r1.IsCurrentTab("MJ: Component Dependencies"))("EditMode", ctx_r1.GridEditMode());
|
|
66
|
+
} }
|
|
67
|
+
let ComponentFormComponent = class ComponentFormComponent extends BaseFormComponent {
|
|
68
|
+
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵComponentFormComponent_BaseFactory; return function ComponentFormComponent_Factory(t) { return (ɵComponentFormComponent_BaseFactory || (ɵComponentFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ComponentFormComponent)))(t || ComponentFormComponent); }; })(); }
|
|
69
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ComponentFormComponent, selectors: [["gen-component-form"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 1, consts: [["form", "ngForm"], [1, "record-form-container"], ["class", "record-form", 4, "ngIf"], [1, "record-form"], [3, "form"], [3, "TabSelected", "ResizeContainer"], ["Name", "Details"], ["Entity", "MJ: Components", "Section", "details", 3, "record", "EditMode"], ["Name", "MJ: Component Dependencies", 3, "Visible"], [3, "Params", "NewRecordValues", "AllowLoad", "EditMode"], ["Name", "MJ: Component Library Links", 3, "Visible"]], template: function ComponentFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
70
|
+
i0.ɵɵelementStart(0, "div", 1);
|
|
71
|
+
i0.ɵɵtemplate(1, ComponentFormComponent_form_1_Template, 20, 18, "form", 2);
|
|
72
|
+
i0.ɵɵelementEnd();
|
|
73
|
+
} if (rf & 2) {
|
|
74
|
+
i0.ɵɵadvance();
|
|
75
|
+
i0.ɵɵproperty("ngIf", ctx.record);
|
|
76
|
+
} }, dependencies: [i1.NgIf, i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.UserViewGridComponent, i4.SectionLoaderComponent, i5.FormToolbarComponent, i6.MJTabStripComponent, i6.MJTabBodyComponent, i6.MJTabComponent], styles: [".k-pane[_ngcontent-%COMP%] {\n background-color: #F5F6FA;\n}\n\n.content-margin[_ngcontent-%COMP%] {\n margin: 10px;\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}"] }); }
|
|
77
|
+
};
|
|
78
|
+
ComponentFormComponent = __decorate([
|
|
79
|
+
RegisterClass(BaseFormComponent, 'MJ: Components') // Tell MemberJunction about this class
|
|
80
|
+
], ComponentFormComponent);
|
|
81
|
+
export { ComponentFormComponent };
|
|
82
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ComponentFormComponent, [{
|
|
83
|
+
type: Component,
|
|
84
|
+
args: [{ selector: 'gen-component-form', template: "<div class=\"record-form-container\" >\n <form *ngIf=\"record\" class=\"record-form\" #form=\"ngForm\" >\n <mj-form-toolbar [form]=\"this\"></mj-form-toolbar>\n\n <mj-tabstrip (TabSelected)=\"onTabSelect($event)\" (ResizeContainer)=\"InvokeManualResize()\">\n \n <mj-tab Name=\"Details\">\n Details\n </mj-tab>\n <mj-tab-body>\n <mj-form-section \n Entity=\"MJ: Components\" \n Section=\"details\" \n [record]=\"record\" \n [EditMode]=\"this.EditMode\">\n </mj-form-section>\n </mj-tab-body>\n \n <mj-tab Name=\"MJ: Component Dependencies\" [Visible]=\"record.IsSaved\"> \n MJ: Component Dependencies\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Component Dependencies','DependencyComponentID')\" \n [NewRecordValues]=\"NewRecordValues('MJ: Component Dependencies')\"\n [AllowLoad]=\"IsCurrentTab('MJ: Component Dependencies')\" \n [EditMode]=\"GridEditMode()\" \n >\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"MJ: Component Library Links\" [Visible]=\"record.IsSaved\"> \n MJ: Component Library Links\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Component Library Links','ComponentID')\" \n [NewRecordValues]=\"NewRecordValues('MJ: Component Library Links')\"\n [AllowLoad]=\"IsCurrentTab('MJ: Component Library Links')\" \n [EditMode]=\"GridEditMode()\" \n >\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"MJ: Component Dependencies\" [Visible]=\"record.IsSaved\"> \n MJ: Component Dependencies\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Component Dependencies','ComponentID')\" \n [NewRecordValues]=\"NewRecordValues('MJ: Component Dependencies')\"\n [AllowLoad]=\"IsCurrentTab('MJ: Component Dependencies')\" \n [EditMode]=\"GridEditMode()\" \n >\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.content-margin {\n margin: 10px;\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"] }]
|
|
85
|
+
}], null, null); })();
|
|
86
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ComponentFormComponent, { className: "ComponentFormComponent", filePath: "src/lib/generated/Entities/Component/component.form.component.ts", lineNumber: 14 }); })();
|
|
87
|
+
export function LoadComponentFormComponent() {
|
|
88
|
+
LoadComponentDetailsComponent();
|
|
89
|
+
}
|
|
90
|
+
//# sourceMappingURL=component.form.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"component.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/Component/component.form.component.ts","../../../../../src/lib/generated/Entities/Component/component.form.component.html"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,6BAA6B,EAAE,MAAM,8BAA8B,CAAA;;;;;;;;;;ICHxE,kCAA0D;IACtD,qCAAiD;IAEzC,sCAA2F;IAAzC,AAArC,0MAAe,0BAAmB,KAAC,+LAAqB,2BAAoB,KAAC;IAEtF,iCAAuB;IACnB,yBACJ;IAAA,iBAAS;IACT,mCAAa;IACT,qCAKkB;IACtB,iBAAc;IAEd,iCAAqE;IACjE,4CACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IACxB,iBAAc;IAEd,mCAAsE;IAClE,8CACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IACxB,iBAAc;IAEd,kCAAqE;IACjE,6CACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IAGxC,AADY,AADI,iBAAc,EACJ,EACnB;;;IAvDc,eAAa;IAAb,6BAAa;IAWV,eAAiB;IACjB,AADA,sCAAiB,6BACS;IAIQ,cAA0B;IAA1B,+CAA0B;IAK5D,eAAwG;IAGxG,AADA,AADA,AADA,8HAAwG,yEACvC,gEACT,mCAC7B;IAKQ,cAA0B;IAA1B,+CAA0B;IAK7D,eAA+F;IAG/F,AADA,AADA,AADA,qHAA+F,0EAC7B,iEACT,mCAC9B;IAKO,cAA0B;IAA1B,+CAA0B;IAK5D,eAA8F;IAG9F,AADA,AADA,AADA,oHAA8F,yEAC7B,gEACT,mCAC7B;;ADvChD,IAAM,sBAAsB,GAA5B,MAAM,sBAAuB,SAAQ,iBAAiB;4PAAhD,sBAAsB,SAAtB,sBAAsB;oEAAtB,sBAAsB;YCbnC,8BAAqC;YACjC,2EAA0D;YAyD9D,iBAAM;;YAzDK,cAAY;YAAZ,iCAAY;;;ADYV,sBAAsB;IANlC,aAAa,CAAC,iBAAiB,EAAE,gBAAgB,CAAC,CAAC,uCAAuC;GAM9E,sBAAsB,CAElC;;iFAFY,sBAAsB;cALlC,SAAS;2BACI,oBAAoB;;kFAIrB,sBAAsB;AAInC,MAAM,UAAU,0BAA0B;IACtC,6BAA6B,EAAE,CAAC;AACpC,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BaseFormSectionComponent } from '@memberjunction/ng-base-forms';
|
|
2
|
+
import { ComponentEntity } from '@memberjunction/core-entities';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ComponentDetailsComponent extends BaseFormSectionComponent {
|
|
5
|
+
record: ComponentEntity;
|
|
6
|
+
EditMode: boolean;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ComponentDetailsComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ComponentDetailsComponent, "gen-component-form-details", never, { "record": { "alias": "record"; "required": false; }; "EditMode": { "alias": "EditMode"; "required": false; }; }, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
10
|
+
export declare function LoadComponentDetailsComponent(): 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/Component/sections/details.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;;AAEhE,qBAuKa,yBAA0B,SAAQ,wBAAwB;IACjD,MAAM,EAAG,eAAe,CAAC;IACzB,QAAQ,EAAE,OAAO,CAAS;yCAFnC,yBAAyB;2CAAzB,yBAAyB;CAGrC;AAED,wBAAgB,6BAA6B,SAE5C"}
|
|
@@ -0,0 +1,253 @@
|
|
|
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 ComponentDetailsComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
14
|
+
i0.ɵɵelementStart(0, "div")(1, "div", 1);
|
|
15
|
+
i0.ɵɵelement(2, "mj-form-field", 2)(3, "mj-form-field", 3)(4, "mj-form-field", 4)(5, "mj-form-field", 5)(6, "mj-form-field", 6)(7, "mj-form-field", 7)(8, "mj-form-field", 8)(9, "mj-form-field", 9)(10, "mj-form-field", 10)(11, "mj-form-field", 11)(12, "mj-form-field", 12)(13, "mj-form-field", 13)(14, "mj-form-field", 14)(15, "mj-form-field", 15)(16, "mj-form-field", 16)(17, "mj-form-field", 17)(18, "mj-form-field", 18)(19, "mj-form-field", 19)(20, "mj-form-field", 20)(21, "mj-form-field", 21)(22, "mj-form-field", 22)(23, "mj-form-field", 23);
|
|
16
|
+
i0.ɵɵelementEnd()();
|
|
17
|
+
} if (rf & 2) {
|
|
18
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
19
|
+
i0.ɵɵadvance(2);
|
|
20
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
21
|
+
i0.ɵɵadvance();
|
|
22
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
23
|
+
i0.ɵɵadvance();
|
|
24
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
25
|
+
i0.ɵɵadvance();
|
|
26
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
27
|
+
i0.ɵɵadvance();
|
|
28
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
29
|
+
i0.ɵɵadvance();
|
|
30
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
31
|
+
i0.ɵɵadvance();
|
|
32
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
33
|
+
i0.ɵɵadvance();
|
|
34
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
35
|
+
i0.ɵɵadvance();
|
|
36
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
37
|
+
i0.ɵɵadvance();
|
|
38
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
39
|
+
i0.ɵɵadvance();
|
|
40
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
41
|
+
i0.ɵɵadvance();
|
|
42
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
43
|
+
i0.ɵɵadvance();
|
|
44
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
45
|
+
i0.ɵɵadvance();
|
|
46
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
47
|
+
i0.ɵɵadvance();
|
|
48
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
49
|
+
i0.ɵɵadvance();
|
|
50
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
51
|
+
i0.ɵɵadvance();
|
|
52
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
53
|
+
i0.ɵɵadvance();
|
|
54
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
55
|
+
i0.ɵɵadvance();
|
|
56
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
57
|
+
i0.ɵɵadvance();
|
|
58
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
59
|
+
i0.ɵɵadvance();
|
|
60
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
61
|
+
i0.ɵɵadvance();
|
|
62
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
63
|
+
} }
|
|
64
|
+
let ComponentDetailsComponent = class ComponentDetailsComponent extends BaseFormSectionComponent {
|
|
65
|
+
constructor() {
|
|
66
|
+
super(...arguments);
|
|
67
|
+
this.EditMode = false;
|
|
68
|
+
}
|
|
69
|
+
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵComponentDetailsComponent_BaseFactory; return function ComponentDetailsComponent_Factory(t) { return (ɵComponentDetailsComponent_BaseFactory || (ɵComponentDetailsComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ComponentDetailsComponent)))(t || ComponentDetailsComponent); }; })(); }
|
|
70
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ComponentDetailsComponent, selectors: [["gen-component-form-details"]], inputs: { record: "record", EditMode: "EditMode" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "record-form"], ["FieldName", "Namespace", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Name", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Version", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "VersionSequence", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Title", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Description", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Type", "Type", "dropdownlist", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Status", "Type", "dropdownlist", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "DeveloperName", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "DeveloperEmail", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "DeveloperOrganization", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "SourceRegistryID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "ReplicatedAt", "Type", "datepicker", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "LastSyncedAt", "Type", "datepicker", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "__mj_CreatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "__mj_UpdatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Specification", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "FunctionalRequirements", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "TechnicalDesign", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "FunctionalRequirementsVector", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "TechnicalDesignVector", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "SourceRegistry", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"]], template: function ComponentDetailsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
71
|
+
i0.ɵɵtemplate(0, ComponentDetailsComponent_div_0_Template, 24, 66, "div", 0);
|
|
72
|
+
} if (rf & 2) {
|
|
73
|
+
i0.ɵɵproperty("ngIf", ctx.record);
|
|
74
|
+
} }, dependencies: [i1.NgIf, i2.MJFormField], styles: [".k-pane[_ngcontent-%COMP%] {\n background-color: #F5F6FA;\n}\n\n.content-margin[_ngcontent-%COMP%] {\n margin: 10px;\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}"] }); }
|
|
75
|
+
};
|
|
76
|
+
ComponentDetailsComponent = __decorate([
|
|
77
|
+
RegisterClass(BaseFormSectionComponent, 'MJ: Components.details') // Tell MemberJunction about this class
|
|
78
|
+
], ComponentDetailsComponent);
|
|
79
|
+
export { ComponentDetailsComponent };
|
|
80
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ComponentDetailsComponent, [{
|
|
81
|
+
type: Component,
|
|
82
|
+
args: [{ selector: 'gen-component-form-details', template: `<div *ngIf="this.record">
|
|
83
|
+
<div class="record-form">
|
|
84
|
+
<mj-form-field
|
|
85
|
+
[record]="record"
|
|
86
|
+
[ShowLabel]="true"
|
|
87
|
+
FieldName="Namespace"
|
|
88
|
+
Type="textarea"
|
|
89
|
+
[EditMode]="EditMode"
|
|
90
|
+
></mj-form-field>
|
|
91
|
+
<mj-form-field
|
|
92
|
+
[record]="record"
|
|
93
|
+
[ShowLabel]="true"
|
|
94
|
+
FieldName="Name"
|
|
95
|
+
Type="textarea"
|
|
96
|
+
[EditMode]="EditMode"
|
|
97
|
+
></mj-form-field>
|
|
98
|
+
<mj-form-field
|
|
99
|
+
[record]="record"
|
|
100
|
+
[ShowLabel]="true"
|
|
101
|
+
FieldName="Version"
|
|
102
|
+
Type="textbox"
|
|
103
|
+
[EditMode]="EditMode"
|
|
104
|
+
></mj-form-field>
|
|
105
|
+
<mj-form-field
|
|
106
|
+
[record]="record"
|
|
107
|
+
[ShowLabel]="true"
|
|
108
|
+
FieldName="VersionSequence"
|
|
109
|
+
Type="numerictextbox"
|
|
110
|
+
[EditMode]="EditMode"
|
|
111
|
+
></mj-form-field>
|
|
112
|
+
<mj-form-field
|
|
113
|
+
[record]="record"
|
|
114
|
+
[ShowLabel]="true"
|
|
115
|
+
FieldName="Title"
|
|
116
|
+
Type="textarea"
|
|
117
|
+
[EditMode]="EditMode"
|
|
118
|
+
></mj-form-field>
|
|
119
|
+
<mj-form-field
|
|
120
|
+
[record]="record"
|
|
121
|
+
[ShowLabel]="true"
|
|
122
|
+
FieldName="Description"
|
|
123
|
+
Type="textarea"
|
|
124
|
+
[EditMode]="EditMode"
|
|
125
|
+
></mj-form-field>
|
|
126
|
+
<mj-form-field
|
|
127
|
+
[record]="record"
|
|
128
|
+
[ShowLabel]="true"
|
|
129
|
+
FieldName="Type"
|
|
130
|
+
Type="dropdownlist"
|
|
131
|
+
[EditMode]="EditMode"
|
|
132
|
+
></mj-form-field>
|
|
133
|
+
<mj-form-field
|
|
134
|
+
[record]="record"
|
|
135
|
+
[ShowLabel]="true"
|
|
136
|
+
FieldName="Status"
|
|
137
|
+
Type="dropdownlist"
|
|
138
|
+
[EditMode]="EditMode"
|
|
139
|
+
></mj-form-field>
|
|
140
|
+
<mj-form-field
|
|
141
|
+
[record]="record"
|
|
142
|
+
[ShowLabel]="true"
|
|
143
|
+
FieldName="DeveloperName"
|
|
144
|
+
Type="textarea"
|
|
145
|
+
[EditMode]="EditMode"
|
|
146
|
+
></mj-form-field>
|
|
147
|
+
<mj-form-field
|
|
148
|
+
[record]="record"
|
|
149
|
+
[ShowLabel]="true"
|
|
150
|
+
FieldName="DeveloperEmail"
|
|
151
|
+
Type="textarea"
|
|
152
|
+
[EditMode]="EditMode"
|
|
153
|
+
></mj-form-field>
|
|
154
|
+
<mj-form-field
|
|
155
|
+
[record]="record"
|
|
156
|
+
[ShowLabel]="true"
|
|
157
|
+
FieldName="DeveloperOrganization"
|
|
158
|
+
Type="textarea"
|
|
159
|
+
[EditMode]="EditMode"
|
|
160
|
+
></mj-form-field>
|
|
161
|
+
<mj-form-field
|
|
162
|
+
[record]="record"
|
|
163
|
+
[ShowLabel]="true"
|
|
164
|
+
FieldName="SourceRegistryID"
|
|
165
|
+
Type="textbox"
|
|
166
|
+
[EditMode]="EditMode"
|
|
167
|
+
LinkType="Record"
|
|
168
|
+
LinkComponentType="Search"
|
|
169
|
+
></mj-form-field>
|
|
170
|
+
<mj-form-field
|
|
171
|
+
[record]="record"
|
|
172
|
+
[ShowLabel]="true"
|
|
173
|
+
FieldName="ReplicatedAt"
|
|
174
|
+
Type="datepicker"
|
|
175
|
+
[EditMode]="EditMode"
|
|
176
|
+
></mj-form-field>
|
|
177
|
+
<mj-form-field
|
|
178
|
+
[record]="record"
|
|
179
|
+
[ShowLabel]="true"
|
|
180
|
+
FieldName="LastSyncedAt"
|
|
181
|
+
Type="datepicker"
|
|
182
|
+
[EditMode]="EditMode"
|
|
183
|
+
></mj-form-field>
|
|
184
|
+
<mj-form-field
|
|
185
|
+
[record]="record"
|
|
186
|
+
[ShowLabel]="true"
|
|
187
|
+
FieldName="__mj_CreatedAt"
|
|
188
|
+
Type="textbox"
|
|
189
|
+
[EditMode]="EditMode"
|
|
190
|
+
></mj-form-field>
|
|
191
|
+
<mj-form-field
|
|
192
|
+
[record]="record"
|
|
193
|
+
[ShowLabel]="true"
|
|
194
|
+
FieldName="__mj_UpdatedAt"
|
|
195
|
+
Type="textbox"
|
|
196
|
+
[EditMode]="EditMode"
|
|
197
|
+
></mj-form-field>
|
|
198
|
+
<mj-form-field
|
|
199
|
+
[record]="record"
|
|
200
|
+
[ShowLabel]="true"
|
|
201
|
+
FieldName="Specification"
|
|
202
|
+
Type="textarea"
|
|
203
|
+
[EditMode]="EditMode"
|
|
204
|
+
></mj-form-field>
|
|
205
|
+
<mj-form-field
|
|
206
|
+
[record]="record"
|
|
207
|
+
[ShowLabel]="true"
|
|
208
|
+
FieldName="FunctionalRequirements"
|
|
209
|
+
Type="textarea"
|
|
210
|
+
[EditMode]="EditMode"
|
|
211
|
+
></mj-form-field>
|
|
212
|
+
<mj-form-field
|
|
213
|
+
[record]="record"
|
|
214
|
+
[ShowLabel]="true"
|
|
215
|
+
FieldName="TechnicalDesign"
|
|
216
|
+
Type="textarea"
|
|
217
|
+
[EditMode]="EditMode"
|
|
218
|
+
></mj-form-field>
|
|
219
|
+
<mj-form-field
|
|
220
|
+
[record]="record"
|
|
221
|
+
[ShowLabel]="true"
|
|
222
|
+
FieldName="FunctionalRequirementsVector"
|
|
223
|
+
Type="textarea"
|
|
224
|
+
[EditMode]="EditMode"
|
|
225
|
+
></mj-form-field>
|
|
226
|
+
<mj-form-field
|
|
227
|
+
[record]="record"
|
|
228
|
+
[ShowLabel]="true"
|
|
229
|
+
FieldName="TechnicalDesignVector"
|
|
230
|
+
Type="textarea"
|
|
231
|
+
[EditMode]="EditMode"
|
|
232
|
+
></mj-form-field>
|
|
233
|
+
<mj-form-field
|
|
234
|
+
[record]="record"
|
|
235
|
+
[ShowLabel]="true"
|
|
236
|
+
FieldName="SourceRegistry"
|
|
237
|
+
Type="textbox"
|
|
238
|
+
[EditMode]="EditMode"
|
|
239
|
+
></mj-form-field>
|
|
240
|
+
|
|
241
|
+
</div>
|
|
242
|
+
</div>
|
|
243
|
+
`, styles: [".k-pane {\n background-color: #F5F6FA;\n}\n\n.content-margin {\n margin: 10px;\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"] }]
|
|
244
|
+
}], null, { record: [{
|
|
245
|
+
type: Input
|
|
246
|
+
}], EditMode: [{
|
|
247
|
+
type: Input
|
|
248
|
+
}] }); })();
|
|
249
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ComponentDetailsComponent, { className: "ComponentDetailsComponent", filePath: "src/lib/generated/Entities/Component/sections/details.component.ts", lineNumber: 173 }); })();
|
|
250
|
+
export function LoadComponentDetailsComponent() {
|
|
251
|
+
// does nothing, but called in order to prevent tree-shaking from eliminating this component from the build
|
|
252
|
+
}
|
|
253
|
+
//# sourceMappingURL=details.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"details.component.js","sourceRoot":"","sources":["../../../../../../src/lib/generated/Entities/Component/sections/details.component.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;;;;;IAQrE,AADW,2BAAyB,aACX;IAsJrB,AAPA,AAPA,AAPA,AAPA,AAPA,AAPA,AAPA,AAPA,AAPA,AATA,AAPA,AAPA,AAPA,AAPA,AAPA,AAPA,AAPA,AAPA,AAPA,AAPA,AAPA,mCAMiB,uBAOA,uBAOA,uBAOA,uBAOA,uBAOA,uBAOA,uBAOA,yBAOA,yBAOA,yBAOA,yBASA,yBAOA,yBAOA,yBAOA,yBAOA,yBAOA,yBAOA,yBAOA,yBAOA,yBAOA,yBAOA;IAGzB,AADI,iBAAM,EACJ;;;IA7JM,eAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAKrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;;AAO1B,IAAM,yBAAyB,GAA/B,MAAM,yBAA0B,SAAQ,wBAAwB;IAAhE;;QAEe,aAAQ,GAAY,KAAK,CAAC;KAC/C;wQAHY,yBAAyB,SAAzB,yBAAyB;oEAAzB,yBAAyB;YAnKvB,4EAAyB;;YAAnB,iCAAiB;;;AAmKzB,yBAAyB;IAvKrC,aAAa,CAAC,wBAAwB,EAAE,wBAAwB,CAAC,CAAC,wCAAwC;GAuK9F,yBAAyB,CAGrC;;iFAHY,yBAAyB;cAtKrC,SAAS;2BACI,4BAA4B,YAE5B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAiKT;gBAGiB,MAAM;kBAAvB,KAAK;YACY,QAAQ;kBAAzB,KAAK;;kFAFG,yBAAyB;AAKtC,MAAM,UAAU,6BAA6B;IACzC,2GAA2G;AAC/G,CAAC"}
|
package/dist/lib/generated/Entities/ComponentDependency/componentdependency.form.component.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ComponentDependencyEntity } from '@memberjunction/core-entities';
|
|
2
|
+
import { BaseFormComponent } from '@memberjunction/ng-base-forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ComponentDependencyFormComponent extends BaseFormComponent {
|
|
5
|
+
record: ComponentDependencyEntity;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ComponentDependencyFormComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ComponentDependencyFormComponent, "gen-componentdependency-form", never, {}, {}, never, never, false, never>;
|
|
8
|
+
}
|
|
9
|
+
export declare function LoadComponentDependencyFormComponent(): void;
|
|
10
|
+
//# sourceMappingURL=componentdependency.form.component.d.ts.map
|
package/dist/lib/generated/Entities/ComponentDependency/componentdependency.form.component.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"componentdependency.form.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/ComponentDependency/componentdependency.form.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AAE1E,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAGlE,qBAMa,gCAAiC,SAAQ,iBAAiB;IAC5D,MAAM,EAAG,yBAAyB,CAAC;yCADjC,gCAAgC;2CAAhC,gCAAgC;CAE5C;AAED,wBAAgB,oCAAoC,SAEnD"}
|
|
@@ -0,0 +1,59 @@
|
|
|
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 { LoadComponentDependencyDetailsComponent } from "./sections/details.component";
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
import * as i1 from "@angular/common";
|
|
13
|
+
import * as i2 from "@angular/forms";
|
|
14
|
+
import * as i3 from "@memberjunction/ng-base-forms";
|
|
15
|
+
import * as i4 from "@memberjunction/ng-form-toolbar";
|
|
16
|
+
import * as i5 from "@memberjunction/ng-tabstrip";
|
|
17
|
+
function ComponentDependencyFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
18
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
19
|
+
i0.ɵɵelementStart(0, "form", 3, 0);
|
|
20
|
+
i0.ɵɵelement(2, "mj-form-toolbar", 4);
|
|
21
|
+
i0.ɵɵelementStart(3, "mj-tabstrip", 5);
|
|
22
|
+
i0.ɵɵlistener("TabSelected", function ComponentDependencyFormComponent_form_1_Template_mj_tabstrip_TabSelected_3_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onTabSelect($event)); })("ResizeContainer", function ComponentDependencyFormComponent_form_1_Template_mj_tabstrip_ResizeContainer_3_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.InvokeManualResize()); });
|
|
23
|
+
i0.ɵɵelementStart(4, "mj-tab", 6);
|
|
24
|
+
i0.ɵɵtext(5, " Details ");
|
|
25
|
+
i0.ɵɵelementEnd();
|
|
26
|
+
i0.ɵɵelementStart(6, "mj-tab-body");
|
|
27
|
+
i0.ɵɵelement(7, "mj-form-section", 7);
|
|
28
|
+
i0.ɵɵelementEnd()()();
|
|
29
|
+
} if (rf & 2) {
|
|
30
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
31
|
+
i0.ɵɵadvance(2);
|
|
32
|
+
i0.ɵɵproperty("form", ctx_r1);
|
|
33
|
+
i0.ɵɵadvance(5);
|
|
34
|
+
i0.ɵɵproperty("record", ctx_r1.record)("EditMode", ctx_r1.EditMode);
|
|
35
|
+
} }
|
|
36
|
+
let ComponentDependencyFormComponent = class ComponentDependencyFormComponent extends BaseFormComponent {
|
|
37
|
+
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵComponentDependencyFormComponent_BaseFactory; return function ComponentDependencyFormComponent_Factory(t) { return (ɵComponentDependencyFormComponent_BaseFactory || (ɵComponentDependencyFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ComponentDependencyFormComponent)))(t || ComponentDependencyFormComponent); }; })(); }
|
|
38
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ComponentDependencyFormComponent, selectors: [["gen-componentdependency-form"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 1, consts: [["form", "ngForm"], [1, "record-form-container"], ["class", "record-form", 4, "ngIf"], [1, "record-form"], [3, "form"], [3, "TabSelected", "ResizeContainer"], ["Name", "Details"], ["Entity", "MJ: Component Dependencies", "Section", "details", 3, "record", "EditMode"]], template: function ComponentDependencyFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
39
|
+
i0.ɵɵelementStart(0, "div", 1);
|
|
40
|
+
i0.ɵɵtemplate(1, ComponentDependencyFormComponent_form_1_Template, 8, 3, "form", 2);
|
|
41
|
+
i0.ɵɵelementEnd();
|
|
42
|
+
} if (rf & 2) {
|
|
43
|
+
i0.ɵɵadvance();
|
|
44
|
+
i0.ɵɵproperty("ngIf", ctx.record);
|
|
45
|
+
} }, dependencies: [i1.NgIf, i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.SectionLoaderComponent, i4.FormToolbarComponent, i5.MJTabStripComponent, i5.MJTabBodyComponent, i5.MJTabComponent], styles: [".k-pane[_ngcontent-%COMP%] {\n background-color: #F5F6FA;\n}\n\n.content-margin[_ngcontent-%COMP%] {\n margin: 10px;\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}"] }); }
|
|
46
|
+
};
|
|
47
|
+
ComponentDependencyFormComponent = __decorate([
|
|
48
|
+
RegisterClass(BaseFormComponent, 'MJ: Component Dependencies') // Tell MemberJunction about this class
|
|
49
|
+
], ComponentDependencyFormComponent);
|
|
50
|
+
export { ComponentDependencyFormComponent };
|
|
51
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ComponentDependencyFormComponent, [{
|
|
52
|
+
type: Component,
|
|
53
|
+
args: [{ selector: 'gen-componentdependency-form', template: "<div class=\"record-form-container\" >\n <form *ngIf=\"record\" class=\"record-form\" #form=\"ngForm\" >\n <mj-form-toolbar [form]=\"this\"></mj-form-toolbar>\n\n <mj-tabstrip (TabSelected)=\"onTabSelect($event)\" (ResizeContainer)=\"InvokeManualResize()\">\n \n <mj-tab Name=\"Details\">\n Details\n </mj-tab>\n <mj-tab-body>\n <mj-form-section \n Entity=\"MJ: Component Dependencies\" \n Section=\"details\" \n [record]=\"record\" \n [EditMode]=\"this.EditMode\">\n </mj-form-section>\n </mj-tab-body>\n \n </mj-tabstrip>\n </form>\n</div>\n ", styles: [".k-pane {\n background-color: #F5F6FA;\n}\n\n.content-margin {\n margin: 10px;\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"] }]
|
|
54
|
+
}], null, null); })();
|
|
55
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ComponentDependencyFormComponent, { className: "ComponentDependencyFormComponent", filePath: "src/lib/generated/Entities/ComponentDependency/componentdependency.form.component.ts", lineNumber: 13 }); })();
|
|
56
|
+
export function LoadComponentDependencyFormComponent() {
|
|
57
|
+
LoadComponentDependencyDetailsComponent();
|
|
58
|
+
}
|
|
59
|
+
//# sourceMappingURL=componentdependency.form.component.js.map
|
package/dist/lib/generated/Entities/ComponentDependency/componentdependency.form.component.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"componentdependency.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/ComponentDependency/componentdependency.form.component.ts","../../../../../src/lib/generated/Entities/ComponentDependency/componentdependency.form.component.html"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,uCAAuC,EAAE,MAAM,8BAA8B,CAAA;;;;;;;;;ICHlF,kCAA0D;IACtD,qCAAiD;IAEzC,sCAA2F;IAAzC,AAArC,oNAAe,0BAAmB,KAAC,yMAAqB,2BAAoB,KAAC;IAEtF,iCAAuB;IACnB,yBACJ;IAAA,iBAAS;IACT,mCAAa;IACT,qCAKkB;IAItC,AADY,AAFI,iBAAc,EAEJ,EACnB;;;IAjBc,eAAa;IAAb,6BAAa;IAWV,eAAiB;IACjB,AADA,sCAAiB,6BACS;;ADF/C,IAAM,gCAAgC,GAAtC,MAAM,gCAAiC,SAAQ,iBAAiB;oSAA1D,gCAAgC,SAAhC,gCAAgC;oEAAhC,gCAAgC;YCZ7C,8BAAqC;YACjC,mFAA0D;YAmB9D,iBAAM;;YAnBK,cAAY;YAAZ,iCAAY;;;ADWV,gCAAgC;IAN5C,aAAa,CAAC,iBAAiB,EAAE,4BAA4B,CAAC,CAAC,uCAAuC;GAM1F,gCAAgC,CAE5C;;iFAFY,gCAAgC;cAL5C,SAAS;2BACI,8BAA8B;;kFAI/B,gCAAgC;AAI7C,MAAM,UAAU,oCAAoC;IAChD,uCAAuC,EAAE,CAAC;AAC9C,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BaseFormSectionComponent } from '@memberjunction/ng-base-forms';
|
|
2
|
+
import { ComponentDependencyEntity } from '@memberjunction/core-entities';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ComponentDependencyDetailsComponent extends BaseFormSectionComponent {
|
|
5
|
+
record: ComponentDependencyEntity;
|
|
6
|
+
EditMode: boolean;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ComponentDependencyDetailsComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ComponentDependencyDetailsComponent, "gen-componentdependency-form-details", never, { "record": { "alias": "record"; "required": false; }; "EditMode": { "alias": "EditMode"; "required": false; }; }, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
10
|
+
export declare function LoadComponentDependencyDetailsComponent(): 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/ComponentDependency/sections/details.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;;AAE1E,qBAyDa,mCAAoC,SAAQ,wBAAwB;IAC3D,MAAM,EAAG,yBAAyB,CAAC;IACnC,QAAQ,EAAE,OAAO,CAAS;yCAFnC,mCAAmC;2CAAnC,mCAAmC;CAG/C;AAED,wBAAgB,uCAAuC,SAEtD"}
|
|
@@ -0,0 +1,111 @@
|
|
|
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 ComponentDependencyDetailsComponent_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 ComponentDependencyDetailsComponent = class ComponentDependencyDetailsComponent extends BaseFormSectionComponent {
|
|
33
|
+
constructor() {
|
|
34
|
+
super(...arguments);
|
|
35
|
+
this.EditMode = false;
|
|
36
|
+
}
|
|
37
|
+
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵComponentDependencyDetailsComponent_BaseFactory; return function ComponentDependencyDetailsComponent_Factory(t) { return (ɵComponentDependencyDetailsComponent_BaseFactory || (ɵComponentDependencyDetailsComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ComponentDependencyDetailsComponent)))(t || ComponentDependencyDetailsComponent); }; })(); }
|
|
38
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ComponentDependencyDetailsComponent, selectors: [["gen-componentdependency-form-details"]], inputs: { record: "record", EditMode: "EditMode" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "record-form"], ["FieldName", "ComponentID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "DependencyComponentID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "__mj_CreatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "__mj_UpdatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Component", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "DependencyComponent", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"]], template: function ComponentDependencyDetailsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
39
|
+
i0.ɵɵtemplate(0, ComponentDependencyDetailsComponent_div_0_Template, 8, 18, "div", 0);
|
|
40
|
+
} if (rf & 2) {
|
|
41
|
+
i0.ɵɵproperty("ngIf", ctx.record);
|
|
42
|
+
} }, dependencies: [i1.NgIf, i2.MJFormField], styles: [".k-pane[_ngcontent-%COMP%] {\n background-color: #F5F6FA;\n}\n\n.content-margin[_ngcontent-%COMP%] {\n margin: 10px;\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}"] }); }
|
|
43
|
+
};
|
|
44
|
+
ComponentDependencyDetailsComponent = __decorate([
|
|
45
|
+
RegisterClass(BaseFormSectionComponent, 'MJ: Component Dependencies.details') // Tell MemberJunction about this class
|
|
46
|
+
], ComponentDependencyDetailsComponent);
|
|
47
|
+
export { ComponentDependencyDetailsComponent };
|
|
48
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ComponentDependencyDetailsComponent, [{
|
|
49
|
+
type: Component,
|
|
50
|
+
args: [{ selector: 'gen-componentdependency-form-details', template: `<div *ngIf="this.record">
|
|
51
|
+
<div class="record-form">
|
|
52
|
+
<mj-form-field
|
|
53
|
+
[record]="record"
|
|
54
|
+
[ShowLabel]="true"
|
|
55
|
+
FieldName="ComponentID"
|
|
56
|
+
Type="textbox"
|
|
57
|
+
[EditMode]="EditMode"
|
|
58
|
+
LinkType="Record"
|
|
59
|
+
LinkComponentType="Search"
|
|
60
|
+
></mj-form-field>
|
|
61
|
+
<mj-form-field
|
|
62
|
+
[record]="record"
|
|
63
|
+
[ShowLabel]="true"
|
|
64
|
+
FieldName="DependencyComponentID"
|
|
65
|
+
Type="textbox"
|
|
66
|
+
[EditMode]="EditMode"
|
|
67
|
+
LinkType="Record"
|
|
68
|
+
LinkComponentType="Search"
|
|
69
|
+
></mj-form-field>
|
|
70
|
+
<mj-form-field
|
|
71
|
+
[record]="record"
|
|
72
|
+
[ShowLabel]="true"
|
|
73
|
+
FieldName="__mj_CreatedAt"
|
|
74
|
+
Type="textbox"
|
|
75
|
+
[EditMode]="EditMode"
|
|
76
|
+
></mj-form-field>
|
|
77
|
+
<mj-form-field
|
|
78
|
+
[record]="record"
|
|
79
|
+
[ShowLabel]="true"
|
|
80
|
+
FieldName="__mj_UpdatedAt"
|
|
81
|
+
Type="textbox"
|
|
82
|
+
[EditMode]="EditMode"
|
|
83
|
+
></mj-form-field>
|
|
84
|
+
<mj-form-field
|
|
85
|
+
[record]="record"
|
|
86
|
+
[ShowLabel]="true"
|
|
87
|
+
FieldName="Component"
|
|
88
|
+
Type="textbox"
|
|
89
|
+
[EditMode]="EditMode"
|
|
90
|
+
></mj-form-field>
|
|
91
|
+
<mj-form-field
|
|
92
|
+
[record]="record"
|
|
93
|
+
[ShowLabel]="true"
|
|
94
|
+
FieldName="DependencyComponent"
|
|
95
|
+
Type="textbox"
|
|
96
|
+
[EditMode]="EditMode"
|
|
97
|
+
></mj-form-field>
|
|
98
|
+
|
|
99
|
+
</div>
|
|
100
|
+
</div>
|
|
101
|
+
`, styles: [".k-pane {\n background-color: #F5F6FA;\n}\n\n.content-margin {\n margin: 10px;\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"] }]
|
|
102
|
+
}], null, { record: [{
|
|
103
|
+
type: Input
|
|
104
|
+
}], EditMode: [{
|
|
105
|
+
type: Input
|
|
106
|
+
}] }); })();
|
|
107
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ComponentDependencyDetailsComponent, { className: "ComponentDependencyDetailsComponent", filePath: "src/lib/generated/Entities/ComponentDependency/sections/details.component.ts", lineNumber: 63 }); })();
|
|
108
|
+
export function LoadComponentDependencyDetailsComponent() {
|
|
109
|
+
// does nothing, but called in order to prevent tree-shaking from eliminating this component from the build
|
|
110
|
+
}
|
|
111
|
+
//# sourceMappingURL=details.component.js.map
|