@memberjunction/ng-core-entity-forms 1.3.3 → 1.4.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/Application/application.form.component.js +12 -2
- package/dist/lib/generated/Entities/Application/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/ApplicationSetting/applicationsetting.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/ApplicationSetting/applicationsetting.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/ApplicationSetting/applicationsetting.form.component.js +61 -0
- package/dist/lib/generated/Entities/ApplicationSetting/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/ApplicationSetting/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/ApplicationSetting/sections/details.component.js +101 -0
- package/dist/lib/generated/Entities/Entity/entity.form.component.js +12 -2
- package/dist/lib/generated/Entities/EntityBehavior/entitybehavior.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/EntityBehavior/entitybehavior.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/EntityBehavior/entitybehavior.form.component.js +61 -0
- package/dist/lib/generated/Entities/EntityBehavior/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/EntityBehavior/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/EntityBehavior/sections/details.component.js +134 -0
- package/dist/lib/generated/Entities/EntityBehaviorType/entitybehaviortype.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/EntityBehaviorType/entitybehaviortype.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/EntityBehaviorType/entitybehaviortype.form.component.js +72 -0
- package/dist/lib/generated/Entities/EntityBehaviorType/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/EntityBehaviorType/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/EntityBehaviorType/sections/details.component.js +84 -0
- package/dist/lib/generated/generated-forms.module.d.ts +111 -105
- package/dist/lib/generated/generated-forms.module.d.ts.map +1 -1
- package/dist/lib/generated/generated-forms.module.js +71 -47
- package/package.json +7 -7
|
@@ -38,6 +38,12 @@ function ApplicationFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
38
38
|
i0.ɵɵelementEnd();
|
|
39
39
|
i0.ɵɵelementStart(16, "mj-tab-body");
|
|
40
40
|
i0.ɵɵelement(17, "mj-user-view-grid", 10);
|
|
41
|
+
i0.ɵɵelementEnd();
|
|
42
|
+
i0.ɵɵelementStart(18, "mj-tab", 8);
|
|
43
|
+
i0.ɵɵtext(19, " Application Settings ");
|
|
44
|
+
i0.ɵɵelementEnd();
|
|
45
|
+
i0.ɵɵelementStart(20, "mj-tab-body");
|
|
46
|
+
i0.ɵɵelement(21, "mj-user-view-grid", 10);
|
|
41
47
|
i0.ɵɵelementEnd()()();
|
|
42
48
|
} if (rf & 2) {
|
|
43
49
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -55,13 +61,17 @@ function ApplicationFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
55
61
|
i0.ɵɵproperty("TabSelected", ctx_r0.RegisterAndCheckIfCurrentTab("User Applications"));
|
|
56
62
|
i0.ɵɵadvance(3);
|
|
57
63
|
i0.ɵɵproperty("Params", ctx_r0.BuildRelationshipViewParamsByEntityName("User Applications"))("AllowLoad", ctx_r0.IsCurrentTab("User Applications"))("EditMode", ctx_r0.GridEditMode())("BottomMargin", ctx_r0.GridBottomMargin);
|
|
64
|
+
i0.ɵɵadvance();
|
|
65
|
+
i0.ɵɵproperty("TabSelected", ctx_r0.RegisterAndCheckIfCurrentTab("Application Settings"));
|
|
66
|
+
i0.ɵɵadvance(3);
|
|
67
|
+
i0.ɵɵproperty("Params", ctx_r0.BuildRelationshipViewParamsByEntityName("Application Settings"))("AllowLoad", ctx_r0.IsCurrentTab("Application Settings"))("EditMode", ctx_r0.GridEditMode())("BottomMargin", ctx_r0.GridBottomMargin);
|
|
58
68
|
} }
|
|
59
69
|
let ApplicationFormComponent = class ApplicationFormComponent extends BaseFormComponent {
|
|
60
70
|
};
|
|
61
71
|
ApplicationFormComponent.ɵfac = /*@__PURE__*/ (() => { let ɵApplicationFormComponent_BaseFactory; return function ApplicationFormComponent_Factory(t) { return (ɵApplicationFormComponent_BaseFactory || (ɵApplicationFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ApplicationFormComponent)))(t || ApplicationFormComponent); }; })();
|
|
62
72
|
ApplicationFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ApplicationFormComponent, selectors: [["gen-application-form"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 3, consts: [["mjFillContainer", "", 1, "record-form-container", 3, "bottomMargin", "rightMargin"], ["class", "record-form", "mjFillContainer", "", 4, "ngIf"], ["mjFillContainer", "", 1, "record-form"], ["form", "ngForm"], [3, "form"], [1, "record-form-group"], ["topArea", ""], ["mjFillContainer", "", 3, "TabSelected"], [3, "TabSelected"], ["Entity", "Applications", "Section", "details", 3, "record", "EditMode"], [3, "Params", "AllowLoad", "EditMode", "BottomMargin"]], template: function ApplicationFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
63
73
|
i0.ɵɵelementStart(0, "div", 0);
|
|
64
|
-
i0.ɵɵtemplate(1, ApplicationFormComponent_form_1_Template,
|
|
74
|
+
i0.ɵɵtemplate(1, ApplicationFormComponent_form_1_Template, 22, 19, "form", 1);
|
|
65
75
|
i0.ɵɵelementEnd();
|
|
66
76
|
} if (rf & 2) {
|
|
67
77
|
i0.ɵɵproperty("bottomMargin", 20)("rightMargin", 5);
|
|
@@ -74,7 +84,7 @@ ApplicationFormComponent = __decorate([
|
|
|
74
84
|
export { ApplicationFormComponent };
|
|
75
85
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ApplicationFormComponent, [{
|
|
76
86
|
type: Component,
|
|
77
|
-
args: [{ selector: 'gen-application-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 <div #topArea class=\"record-form-group\">\n \n </div>\n <mj-tabstrip (TabSelected)=\"onTabSelect($event.index)\" mjFillContainer>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('Details')\">\n Details\n </mj-tab>\n <mj-tab-body>\n <mj-form-section Entity=\"Applications\" Section=\"details\" [record]=\"record\" [EditMode]=\"this.EditMode\"></mj-form-section>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('Entities')\">\n Entities\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Application Entities')\" \n [AllowLoad]=\"this.IsCurrentTab('Entities')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('User Applications')\">\n User Applications\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('User Applications')\" \n [AllowLoad]=\"this.IsCurrentTab('User Applications')\" \n [EditMode]=\"this.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.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"] }]
|
|
87
|
+
args: [{ selector: 'gen-application-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 <div #topArea class=\"record-form-group\">\n \n </div>\n <mj-tabstrip (TabSelected)=\"onTabSelect($event.index)\" mjFillContainer>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('Details')\">\n Details\n </mj-tab>\n <mj-tab-body>\n <mj-form-section Entity=\"Applications\" Section=\"details\" [record]=\"record\" [EditMode]=\"this.EditMode\"></mj-form-section>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('Entities')\">\n Entities\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Application Entities')\" \n [AllowLoad]=\"this.IsCurrentTab('Entities')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('User Applications')\">\n User Applications\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('User Applications')\" \n [AllowLoad]=\"this.IsCurrentTab('User Applications')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('Application Settings')\">\n Application Settings\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Application Settings')\" \n [AllowLoad]=\"this.IsCurrentTab('Application Settings')\" \n [EditMode]=\"this.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.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"] }]
|
|
78
88
|
}], null, null); })();
|
|
79
89
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ApplicationFormComponent, { className: "ApplicationFormComponent", filePath: "src/lib/generated/Entities/Application/application.form.component.ts", lineNumber: 12 }); })();
|
|
80
90
|
export function LoadApplicationFormComponent() {
|
|
@@ -32,7 +32,7 @@ let ApplicationDetailsComponent = class ApplicationDetailsComponent extends Base
|
|
|
32
32
|
}
|
|
33
33
|
};
|
|
34
34
|
ApplicationDetailsComponent.ɵfac = /*@__PURE__*/ (() => { let ɵApplicationDetailsComponent_BaseFactory; return function ApplicationDetailsComponent_Factory(t) { return (ɵApplicationDetailsComponent_BaseFactory || (ɵApplicationDetailsComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ApplicationDetailsComponent)))(t || ApplicationDetailsComponent); }; })();
|
|
35
|
-
ApplicationDetailsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ApplicationDetailsComponent, selectors: [["gen-application-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", "EditMode"], ["FieldName", "Description", "Type", "
|
|
35
|
+
ApplicationDetailsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ApplicationDetailsComponent, selectors: [["gen-application-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", "EditMode"], ["FieldName", "Description", "Type", "textbox", 3, "record", "EditMode"], ["FieldName", "CreatedAt", "Type", "textbox", 3, "record", "EditMode"], ["FieldName", "UpdatedAt", "Type", "textbox", 3, "record", "EditMode"]], template: function ApplicationDetailsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
36
36
|
i0.ɵɵtemplate(0, ApplicationDetailsComponent_div_0_Template, 6, 8, "div", 0);
|
|
37
37
|
} if (rf & 2) {
|
|
38
38
|
i0.ɵɵproperty("ngIf", ctx.record);
|
|
@@ -54,7 +54,7 @@ export { ApplicationDetailsComponent };
|
|
|
54
54
|
<mj-form-field
|
|
55
55
|
[record]="record"
|
|
56
56
|
FieldName="Description"
|
|
57
|
-
Type="
|
|
57
|
+
Type="textbox"
|
|
58
58
|
[EditMode]="EditMode"
|
|
59
59
|
></mj-form-field>
|
|
60
60
|
<mj-form-field
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ApplicationSettingEntity } from '@memberjunction/core-entities';
|
|
2
|
+
import { BaseFormComponent } from '@memberjunction/ng-base-forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ApplicationSettingFormComponent extends BaseFormComponent {
|
|
5
|
+
record: ApplicationSettingEntity;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ApplicationSettingFormComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ApplicationSettingFormComponent, "gen-applicationsetting-form", never, {}, {}, never, never, false, never>;
|
|
8
|
+
}
|
|
9
|
+
export declare function LoadApplicationSettingFormComponent(): void;
|
|
10
|
+
//# sourceMappingURL=applicationsetting.form.component.d.ts.map
|
package/dist/lib/generated/Entities/ApplicationSetting/applicationsetting.form.component.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"applicationsetting.form.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/ApplicationSetting/applicationsetting.form.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAEzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAElE,qBAMa,+BAAgC,SAAQ,iBAAiB;IAC3D,MAAM,EAAG,wBAAwB,CAAC;yCADhC,+BAA+B;2CAA/B,+BAA+B;CAE3C;AAED,wBAAgB,mCAAmC,SAElD"}
|
|
@@ -0,0 +1,61 @@
|
|
|
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 { LoadApplicationSettingDetailsComponent } 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-tabstrip";
|
|
16
|
+
import * as i5 from "@memberjunction/ng-container-directives";
|
|
17
|
+
function ApplicationSettingFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
18
|
+
const _r4 = i0.ɵɵgetCurrentView();
|
|
19
|
+
i0.ɵɵelementStart(0, "form", 2, 3);
|
|
20
|
+
i0.ɵɵelement(2, "mj-form-toolbar", 4)(3, "div", 5, 6);
|
|
21
|
+
i0.ɵɵelementStart(5, "mj-tabstrip", 7);
|
|
22
|
+
i0.ɵɵlistener("TabSelected", function ApplicationSettingFormComponent_form_1_Template_mj_tabstrip_TabSelected_5_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r3 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r3.onTabSelect($event.index)); });
|
|
23
|
+
i0.ɵɵelementStart(6, "mj-tab", 8);
|
|
24
|
+
i0.ɵɵtext(7, " Details ");
|
|
25
|
+
i0.ɵɵelementEnd();
|
|
26
|
+
i0.ɵɵelementStart(8, "mj-tab-body");
|
|
27
|
+
i0.ɵɵelement(9, "mj-form-section", 9);
|
|
28
|
+
i0.ɵɵelementEnd()()();
|
|
29
|
+
} if (rf & 2) {
|
|
30
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
31
|
+
i0.ɵɵadvance(2);
|
|
32
|
+
i0.ɵɵproperty("form", ctx_r0);
|
|
33
|
+
i0.ɵɵadvance(4);
|
|
34
|
+
i0.ɵɵproperty("TabSelected", ctx_r0.RegisterAndCheckIfCurrentTab("Details"));
|
|
35
|
+
i0.ɵɵadvance(3);
|
|
36
|
+
i0.ɵɵproperty("record", ctx_r0.record)("EditMode", ctx_r0.EditMode);
|
|
37
|
+
} }
|
|
38
|
+
let ApplicationSettingFormComponent = class ApplicationSettingFormComponent extends BaseFormComponent {
|
|
39
|
+
};
|
|
40
|
+
ApplicationSettingFormComponent.ɵfac = /*@__PURE__*/ (() => { let ɵApplicationSettingFormComponent_BaseFactory; return function ApplicationSettingFormComponent_Factory(t) { return (ɵApplicationSettingFormComponent_BaseFactory || (ɵApplicationSettingFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ApplicationSettingFormComponent)))(t || ApplicationSettingFormComponent); }; })();
|
|
41
|
+
ApplicationSettingFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ApplicationSettingFormComponent, selectors: [["gen-applicationsetting-form"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 3, consts: [["mjFillContainer", "", 1, "record-form-container", 3, "bottomMargin", "rightMargin"], ["class", "record-form", "mjFillContainer", "", 4, "ngIf"], ["mjFillContainer", "", 1, "record-form"], ["form", "ngForm"], [3, "form"], [1, "record-form-group"], ["topArea", ""], ["mjFillContainer", "", 3, "TabSelected"], [3, "TabSelected"], ["Entity", "Application Settings", "Section", "details", 3, "record", "EditMode"]], template: function ApplicationSettingFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
42
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
43
|
+
i0.ɵɵtemplate(1, ApplicationSettingFormComponent_form_1_Template, 10, 4, "form", 1);
|
|
44
|
+
i0.ɵɵelementEnd();
|
|
45
|
+
} if (rf & 2) {
|
|
46
|
+
i0.ɵɵproperty("bottomMargin", 20)("rightMargin", 5);
|
|
47
|
+
i0.ɵɵadvance();
|
|
48
|
+
i0.ɵɵproperty("ngIf", ctx.record);
|
|
49
|
+
} }, dependencies: [i1.NgIf, i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.SectionLoaderComponent, i3.FormToolbarComponent, i4.MJTabStripComponent, i4.MJTabBodyComponent, i4.MJTabComponent, i5.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.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}"] });
|
|
50
|
+
ApplicationSettingFormComponent = __decorate([
|
|
51
|
+
RegisterClass(BaseFormComponent, 'Application Settings') // Tell MemberJunction about this class
|
|
52
|
+
], ApplicationSettingFormComponent);
|
|
53
|
+
export { ApplicationSettingFormComponent };
|
|
54
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ApplicationSettingFormComponent, [{
|
|
55
|
+
type: Component,
|
|
56
|
+
args: [{ selector: 'gen-applicationsetting-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 <div #topArea class=\"record-form-group\">\n \n </div>\n <mj-tabstrip (TabSelected)=\"onTabSelect($event.index)\" mjFillContainer>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('Details')\">\n Details\n </mj-tab>\n <mj-tab-body>\n <mj-form-section Entity=\"Application Settings\" Section=\"details\" [record]=\"record\" [EditMode]=\"this.EditMode\"></mj-form-section>\n </mj-tab-body>\n \n </mj-tabstrip>\n </form>\n</div>\n ", styles: [".k-pane {\n background-color: #F5F6FA;\n} \n\n\na {\n font-size: 14px;\n font-weight: bolder;\n}\n\n.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"] }]
|
|
57
|
+
}], null, null); })();
|
|
58
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ApplicationSettingFormComponent, { className: "ApplicationSettingFormComponent", filePath: "src/lib/generated/Entities/ApplicationSetting/applicationsetting.form.component.ts", lineNumber: 12 }); })();
|
|
59
|
+
export function LoadApplicationSettingFormComponent() {
|
|
60
|
+
LoadApplicationSettingDetailsComponent();
|
|
61
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BaseFormSectionComponent } from '@memberjunction/ng-base-forms';
|
|
2
|
+
import { ApplicationSettingEntity } from '@memberjunction/core-entities';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ApplicationSettingDetailsComponent extends BaseFormSectionComponent {
|
|
5
|
+
record: ApplicationSettingEntity;
|
|
6
|
+
EditMode: boolean;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ApplicationSettingDetailsComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ApplicationSettingDetailsComponent, "gen-applicationsetting-form-details", never, { "record": { "alias": "record"; "required": false; }; "EditMode": { "alias": "EditMode"; "required": false; }; }, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
10
|
+
export declare function LoadApplicationSettingDetailsComponent(): 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/ApplicationSetting/sections/details.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;;AAEzE,qBAgDa,kCAAmC,SAAQ,wBAAwB;IAC1D,MAAM,EAAG,wBAAwB,CAAC;IAClC,QAAQ,EAAE,OAAO,CAAS;yCAFnC,kCAAkC;2CAAlC,kCAAkC;CAG9C;AAED,wBAAgB,sCAAsC,SAErD"}
|
|
@@ -0,0 +1,101 @@
|
|
|
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 ApplicationSettingDetailsComponent_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)("EditMode", ctx_r0.EditMode);
|
|
21
|
+
i0.ɵɵadvance();
|
|
22
|
+
i0.ɵɵproperty("record", ctx_r0.record)("EditMode", ctx_r0.EditMode);
|
|
23
|
+
i0.ɵɵadvance();
|
|
24
|
+
i0.ɵɵproperty("record", ctx_r0.record)("EditMode", ctx_r0.EditMode);
|
|
25
|
+
i0.ɵɵadvance();
|
|
26
|
+
i0.ɵɵproperty("record", ctx_r0.record)("EditMode", ctx_r0.EditMode);
|
|
27
|
+
i0.ɵɵadvance();
|
|
28
|
+
i0.ɵɵproperty("record", ctx_r0.record)("EditMode", ctx_r0.EditMode);
|
|
29
|
+
i0.ɵɵadvance();
|
|
30
|
+
i0.ɵɵproperty("record", ctx_r0.record)("EditMode", ctx_r0.EditMode);
|
|
31
|
+
} }
|
|
32
|
+
let ApplicationSettingDetailsComponent = class ApplicationSettingDetailsComponent extends BaseFormSectionComponent {
|
|
33
|
+
constructor() {
|
|
34
|
+
super(...arguments);
|
|
35
|
+
this.EditMode = false;
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
ApplicationSettingDetailsComponent.ɵfac = /*@__PURE__*/ (() => { let ɵApplicationSettingDetailsComponent_BaseFactory; return function ApplicationSettingDetailsComponent_Factory(t) { return (ɵApplicationSettingDetailsComponent_BaseFactory || (ɵApplicationSettingDetailsComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ApplicationSettingDetailsComponent)))(t || ApplicationSettingDetailsComponent); }; })();
|
|
39
|
+
ApplicationSettingDetailsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ApplicationSettingDetailsComponent, selectors: [["gen-applicationsetting-form-details"]], inputs: { record: "record", EditMode: "EditMode" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "record-form"], ["FieldName", "ApplicationName", "Type", "textbox", "LinkType", "Record", 3, "record", "EditMode"], ["FieldName", "Name", "Type", "textbox", 3, "record", "EditMode"], ["FieldName", "Value", "Type", "textbox", 3, "record", "EditMode"], ["FieldName", "Comments", "Type", "textbox", 3, "record", "EditMode"], ["FieldName", "CreatedAt", "Type", "textbox", 3, "record", "EditMode"], ["FieldName", "UpdatedAt", "Type", "textbox", 3, "record", "EditMode"]], template: function ApplicationSettingDetailsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
40
|
+
i0.ɵɵtemplate(0, ApplicationSettingDetailsComponent_div_0_Template, 8, 12, "div", 0);
|
|
41
|
+
} if (rf & 2) {
|
|
42
|
+
i0.ɵɵproperty("ngIf", ctx.record);
|
|
43
|
+
} }, dependencies: [i1.NgIf, i2.MJFormField], styles: [".k-pane[_ngcontent-%COMP%] {\n background-color: #F5F6FA;\n} \n\n\na[_ngcontent-%COMP%] {\n font-size: 14px;\n font-weight: bolder;\n}\n\n.record-form[_ngcontent-%COMP%] {\n display: block;\n flex-direction: column;\n background-color: #F5F6FA;\n padding: 10px;\n}\n\n.record-form-group[_ngcontent-%COMP%] {\n margin-top: 0px;\n background-color: #F5F6FA;\n}\n\nbutton[_ngcontent-%COMP%] {\n margin-right: 5px;\n}\n\n.record-form[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] {\n margin-bottom: 10px;\n}\n\n.k-splitter[_ngcontent-%COMP%] {\n border-width: 0px;\n}\n\n.record-form-row[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: auto 1fr;\n align-items: start;\n gap: 10px;\n margin-bottom: 12px;\n padding-top: 5px;\n padding-bottom: 5px;\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n.record-form[_ngcontent-%COMP%] .record-form-row[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:first-child {\n font-weight: bold;\n padding-right: 10px;\n} \n\n.record-form[_ngcontent-%COMP%] .record-form-row[_ngcontent-%COMP%] > span[_ngcontent-%COMP%] {\n white-space: pre-line;\n max-height: 300px;\n overflow: auto;\n}\n\n \n\n@media (min-width: 768px) {\n .record-form-row[_ngcontent-%COMP%] {\n flex-direction: row;\n align-items: center;\n }\n\n .record-form-row[_ngcontent-%COMP%] label[_ngcontent-%COMP%] {\n width: 240px;\n margin-bottom: 0;\n }\n}"] });
|
|
44
|
+
ApplicationSettingDetailsComponent = __decorate([
|
|
45
|
+
RegisterClass(BaseFormSectionComponent, 'Application Settings.details') // Tell MemberJunction about this class
|
|
46
|
+
], ApplicationSettingDetailsComponent);
|
|
47
|
+
export { ApplicationSettingDetailsComponent };
|
|
48
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ApplicationSettingDetailsComponent, [{
|
|
49
|
+
type: Component,
|
|
50
|
+
args: [{ selector: 'gen-applicationsetting-form-details', template: `<div *ngIf="this.record">
|
|
51
|
+
<div class="record-form">
|
|
52
|
+
<mj-form-field
|
|
53
|
+
[record]="record"
|
|
54
|
+
FieldName="ApplicationName"
|
|
55
|
+
Type="textbox"
|
|
56
|
+
[EditMode]="EditMode"
|
|
57
|
+
LinkType="Record"
|
|
58
|
+
></mj-form-field>
|
|
59
|
+
<mj-form-field
|
|
60
|
+
[record]="record"
|
|
61
|
+
FieldName="Name"
|
|
62
|
+
Type="textbox"
|
|
63
|
+
[EditMode]="EditMode"
|
|
64
|
+
></mj-form-field>
|
|
65
|
+
<mj-form-field
|
|
66
|
+
[record]="record"
|
|
67
|
+
FieldName="Value"
|
|
68
|
+
Type="textbox"
|
|
69
|
+
[EditMode]="EditMode"
|
|
70
|
+
></mj-form-field>
|
|
71
|
+
<mj-form-field
|
|
72
|
+
[record]="record"
|
|
73
|
+
FieldName="Comments"
|
|
74
|
+
Type="textbox"
|
|
75
|
+
[EditMode]="EditMode"
|
|
76
|
+
></mj-form-field>
|
|
77
|
+
<mj-form-field
|
|
78
|
+
[record]="record"
|
|
79
|
+
FieldName="CreatedAt"
|
|
80
|
+
Type="textbox"
|
|
81
|
+
[EditMode]="EditMode"
|
|
82
|
+
></mj-form-field>
|
|
83
|
+
<mj-form-field
|
|
84
|
+
[record]="record"
|
|
85
|
+
FieldName="UpdatedAt"
|
|
86
|
+
Type="textbox"
|
|
87
|
+
[EditMode]="EditMode"
|
|
88
|
+
></mj-form-field>
|
|
89
|
+
|
|
90
|
+
</div>
|
|
91
|
+
</div>
|
|
92
|
+
`, styles: [".k-pane {\n background-color: #F5F6FA;\n} \n\n\na {\n font-size: 14px;\n font-weight: bolder;\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"] }]
|
|
93
|
+
}], null, { record: [{
|
|
94
|
+
type: Input
|
|
95
|
+
}], EditMode: [{
|
|
96
|
+
type: Input
|
|
97
|
+
}] }); })();
|
|
98
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ApplicationSettingDetailsComponent, { className: "ApplicationSettingDetailsComponent", filePath: "src/lib/generated/Entities/ApplicationSetting/sections/details.component.ts", lineNumber: 54 }); })();
|
|
99
|
+
export function LoadApplicationSettingDetailsComponent() {
|
|
100
|
+
// does nothing, but called in order to prevent tree-shaking from eliminating this component from the build
|
|
101
|
+
}
|
|
@@ -241,6 +241,12 @@ function EntityFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
241
241
|
i0.ɵɵelementEnd();
|
|
242
242
|
i0.ɵɵelementStart(148, "mj-tab-body");
|
|
243
243
|
i0.ɵɵelement(149, "mj-user-view-grid", 17);
|
|
244
|
+
i0.ɵɵelementEnd();
|
|
245
|
+
i0.ɵɵelementStart(150, "mj-tab", 11);
|
|
246
|
+
i0.ɵɵtext(151, " Entity Behaviors ");
|
|
247
|
+
i0.ɵɵelementEnd();
|
|
248
|
+
i0.ɵɵelementStart(152, "mj-tab-body");
|
|
249
|
+
i0.ɵɵelement(153, "mj-user-view-grid", 17);
|
|
244
250
|
i0.ɵɵelementEnd()()()()();
|
|
245
251
|
} if (rf & 2) {
|
|
246
252
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -390,13 +396,17 @@ function EntityFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
390
396
|
i0.ɵɵproperty("TabSelected", ctx_r0.RegisterAndCheckIfCurrentTab("Duplicate Runs"));
|
|
391
397
|
i0.ɵɵadvance(3);
|
|
392
398
|
i0.ɵɵproperty("Params", ctx_r0.BuildRelationshipViewParamsByEntityName("Duplicate Runs"))("AllowLoad", ctx_r0.IsCurrentTab("Duplicate Runs"))("EditMode", ctx_r0.GridEditMode())("BottomMargin", ctx_r0.GridBottomMargin);
|
|
399
|
+
i0.ɵɵadvance();
|
|
400
|
+
i0.ɵɵproperty("TabSelected", ctx_r0.RegisterAndCheckIfCurrentTab("Entity Behaviors"));
|
|
401
|
+
i0.ɵɵadvance(3);
|
|
402
|
+
i0.ɵɵproperty("Params", ctx_r0.BuildRelationshipViewParamsByEntityName("Entity Behaviors"))("AllowLoad", ctx_r0.IsCurrentTab("Entity Behaviors"))("EditMode", ctx_r0.GridEditMode())("BottomMargin", ctx_r0.GridBottomMargin);
|
|
393
403
|
} }
|
|
394
404
|
let EntityFormComponent = class EntityFormComponent extends BaseFormComponent {
|
|
395
405
|
};
|
|
396
406
|
EntityFormComponent.ɵfac = /*@__PURE__*/ (() => { let ɵEntityFormComponent_BaseFactory; return function EntityFormComponent_Factory(t) { return (ɵEntityFormComponent_BaseFactory || (ɵEntityFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(EntityFormComponent)))(t || EntityFormComponent); }; })();
|
|
397
407
|
EntityFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: EntityFormComponent, selectors: [["gen-entity-form"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 3, consts: [["mjFillContainer", "", 1, "record-form-container", 3, "bottomMargin", "rightMargin"], ["class", "record-form", "mjFillContainer", "", 4, "ngIf"], ["mjFillContainer", "", 1, "record-form"], ["form", "ngForm"], [3, "form"], ["orientation", "vertical", "mjFillContainer", "", 3, "layoutChange"], [3, "collapsible", "size"], [1, "record-form-group"], ["topArea", ""], ["Entity", "Entities", "Section", "top-area", 3, "record", "EditMode"], ["mjFillContainer", "", 3, "TabSelected"], [3, "TabSelected"], ["Entity", "Entities", "Section", "details", 3, "record", "EditMode"], ["Entity", "Entities", "Section", "audit", 3, "record", "EditMode"], ["Entity", "Entities", "Section", "api", 3, "record", "EditMode"], ["Entity", "Entities", "Section", "db", 3, "record", "EditMode"], ["Entity", "Entities", "Section", "ui", 3, "record", "EditMode"], [3, "Params", "AllowLoad", "EditMode", "BottomMargin"]], template: function EntityFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
398
408
|
i0.ɵɵelementStart(0, "div", 0);
|
|
399
|
-
i0.ɵɵtemplate(1, EntityFormComponent_form_1_Template,
|
|
409
|
+
i0.ɵɵtemplate(1, EntityFormComponent_form_1_Template, 154, 175, "form", 1);
|
|
400
410
|
i0.ɵɵelementEnd();
|
|
401
411
|
} if (rf & 2) {
|
|
402
412
|
i0.ɵɵproperty("bottomMargin", 20)("rightMargin", 5);
|
|
@@ -409,7 +419,7 @@ EntityFormComponent = __decorate([
|
|
|
409
419
|
export { EntityFormComponent };
|
|
410
420
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EntityFormComponent, [{
|
|
411
421
|
type: Component,
|
|
412
|
-
args: [{ selector: 'gen-entity-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 <kendo-splitter orientation=\"vertical\" (layoutChange)=\"splitterLayoutChange()\" mjFillContainer>\n <kendo-splitter-pane [collapsible]=\"true\" [size]=\"TopAreaHeight\">\n <div #topArea class=\"record-form-group\">\n <mj-form-section Entity=\"Entities\" Section=\"top-area\" [record]=\"record\" [EditMode]=\"this.EditMode\"></mj-form-section>\n </div>\n </kendo-splitter-pane>\n <kendo-splitter-pane>\n <mj-tabstrip (TabSelected)=\"onTabSelect($event.index)\" mjFillContainer>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('Details')\">\n Details\n </mj-tab>\n <mj-tab-body>\n <mj-form-section Entity=\"Entities\" Section=\"details\" [record]=\"record\" [EditMode]=\"this.EditMode\"></mj-form-section>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('Audit')\">\n Audit\n </mj-tab>\n <mj-tab-body>\n <mj-form-section Entity=\"Entities\" Section=\"audit\" [record]=\"record\" [EditMode]=\"this.EditMode\"></mj-form-section>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('API')\">\n API\n </mj-tab>\n <mj-tab-body>\n <mj-form-section Entity=\"Entities\" Section=\"api\" [record]=\"record\" [EditMode]=\"this.EditMode\"></mj-form-section>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('DB')\">\n DB\n </mj-tab>\n <mj-tab-body>\n <mj-form-section Entity=\"Entities\" Section=\"db\" [record]=\"record\" [EditMode]=\"this.EditMode\"></mj-form-section>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('UI')\">\n UI\n </mj-tab>\n <mj-tab-body>\n <mj-form-section Entity=\"Entities\" Section=\"ui\" [record]=\"record\" [EditMode]=\"this.EditMode\"></mj-form-section>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('Fields')\">\n Fields\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Entity Fields')\" \n [AllowLoad]=\"this.IsCurrentTab('Fields')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('Permissions')\">\n Permissions\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Entity Permissions')\" \n [AllowLoad]=\"this.IsCurrentTab('Permissions')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('Relationships')\">\n Relationships\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Entity Relationships')\" \n [AllowLoad]=\"this.IsCurrentTab('Relationships')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('AI Actions')\">\n AI Actions\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Entity AI Actions')\" \n [AllowLoad]=\"this.IsCurrentTab('AI Actions')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('User Record Logs')\">\n User Record Logs\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('User Record Logs')\" \n [AllowLoad]=\"this.IsCurrentTab('User Record Logs')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('Integration URL Formats')\">\n Integration URL Formats\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Integration URL Formats')\" \n [AllowLoad]=\"this.IsCurrentTab('Integration URL Formats')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('Entities')\">\n Entities\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Entities')\" \n [AllowLoad]=\"this.IsCurrentTab('Entities')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('User Favorites')\">\n User Favorites\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('User Favorites')\" \n [AllowLoad]=\"this.IsCurrentTab('User Favorites')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('Company Integration Run Details')\">\n Company Integration Run Details\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Company Integration Run Details')\" \n [AllowLoad]=\"this.IsCurrentTab('Company Integration Run Details')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('Application Entities')\">\n Application Entities\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Application Entities')\" \n [AllowLoad]=\"this.IsCurrentTab('Application Entities')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('User Application Entities')\">\n User Application Entities\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('User Application Entities')\" \n [AllowLoad]=\"this.IsCurrentTab('User Application Entities')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('Lists')\">\n Lists\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Lists')\" \n [AllowLoad]=\"this.IsCurrentTab('Lists')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('User Views')\">\n User Views\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('User Views')\" \n [AllowLoad]=\"this.IsCurrentTab('User Views')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('Record Changes')\">\n Record Changes\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Record Changes')\" \n [AllowLoad]=\"this.IsCurrentTab('Record Changes')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('Audit Logs')\">\n Audit Logs\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Audit Logs')\" \n [AllowLoad]=\"this.IsCurrentTab('Audit Logs')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('Resource Types')\">\n Resource Types\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Resource Types')\" \n [AllowLoad]=\"this.IsCurrentTab('Resource Types')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('Tagged Items')\">\n Tagged Items\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Tagged Items')\" \n [AllowLoad]=\"this.IsCurrentTab('Tagged Items')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('Dataset Items')\">\n Dataset Items\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Dataset Items')\" \n [AllowLoad]=\"this.IsCurrentTab('Dataset Items')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('Company Integration Record Maps')\">\n Company Integration Record Maps\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Company Integration Record Maps')\" \n [AllowLoad]=\"this.IsCurrentTab('Company Integration Record Maps')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('Record Merge Logs')\">\n Record Merge Logs\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Record Merge Logs')\" \n [AllowLoad]=\"this.IsCurrentTab('Record Merge Logs')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('Query Fields')\">\n Query Fields\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Query Fields')\" \n [AllowLoad]=\"this.IsCurrentTab('Query Fields')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('Conversations')\">\n Conversations\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Conversations')\" \n [AllowLoad]=\"this.IsCurrentTab('Conversations')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('Entity Documents')\">\n Entity Documents\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Entity Documents')\" \n [AllowLoad]=\"this.IsCurrentTab('Entity Documents')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('Data Context Items')\">\n Data Context Items\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Data Context Items')\" \n [AllowLoad]=\"this.IsCurrentTab('Data Context Items')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('Users')\">\n Users\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Users')\" \n [AllowLoad]=\"this.IsCurrentTab('Users')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('Entity Record Documents')\">\n Entity Record Documents\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Entity Record Documents')\" \n [AllowLoad]=\"this.IsCurrentTab('Entity Record Documents')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('File Entity Record Links')\">\n File Entity Record Links\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('File Entity Record Links')\" \n [AllowLoad]=\"this.IsCurrentTab('File Entity Record Links')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('User View Categories')\">\n User View Categories\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('User View Categories')\" \n [AllowLoad]=\"this.IsCurrentTab('User View Categories')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('Entity Settings')\">\n Entity Settings\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Entity Settings')\" \n [AllowLoad]=\"this.IsCurrentTab('Entity Settings')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('Duplicate Runs')\">\n Duplicate Runs\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Duplicate Runs')\" \n [AllowLoad]=\"this.IsCurrentTab('Duplicate Runs')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid>\n </mj-tab-body>\n </mj-tabstrip>\n </kendo-splitter-pane>\n </kendo-splitter>\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.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"] }]
|
|
422
|
+
args: [{ selector: 'gen-entity-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 <kendo-splitter orientation=\"vertical\" (layoutChange)=\"splitterLayoutChange()\" mjFillContainer>\n <kendo-splitter-pane [collapsible]=\"true\" [size]=\"TopAreaHeight\">\n <div #topArea class=\"record-form-group\">\n <mj-form-section Entity=\"Entities\" Section=\"top-area\" [record]=\"record\" [EditMode]=\"this.EditMode\"></mj-form-section>\n </div>\n </kendo-splitter-pane>\n <kendo-splitter-pane>\n <mj-tabstrip (TabSelected)=\"onTabSelect($event.index)\" mjFillContainer>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('Details')\">\n Details\n </mj-tab>\n <mj-tab-body>\n <mj-form-section Entity=\"Entities\" Section=\"details\" [record]=\"record\" [EditMode]=\"this.EditMode\"></mj-form-section>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('Audit')\">\n Audit\n </mj-tab>\n <mj-tab-body>\n <mj-form-section Entity=\"Entities\" Section=\"audit\" [record]=\"record\" [EditMode]=\"this.EditMode\"></mj-form-section>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('API')\">\n API\n </mj-tab>\n <mj-tab-body>\n <mj-form-section Entity=\"Entities\" Section=\"api\" [record]=\"record\" [EditMode]=\"this.EditMode\"></mj-form-section>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('DB')\">\n DB\n </mj-tab>\n <mj-tab-body>\n <mj-form-section Entity=\"Entities\" Section=\"db\" [record]=\"record\" [EditMode]=\"this.EditMode\"></mj-form-section>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('UI')\">\n UI\n </mj-tab>\n <mj-tab-body>\n <mj-form-section Entity=\"Entities\" Section=\"ui\" [record]=\"record\" [EditMode]=\"this.EditMode\"></mj-form-section>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('Fields')\">\n Fields\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Entity Fields')\" \n [AllowLoad]=\"this.IsCurrentTab('Fields')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('Permissions')\">\n Permissions\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Entity Permissions')\" \n [AllowLoad]=\"this.IsCurrentTab('Permissions')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('Relationships')\">\n Relationships\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Entity Relationships')\" \n [AllowLoad]=\"this.IsCurrentTab('Relationships')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('AI Actions')\">\n AI Actions\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Entity AI Actions')\" \n [AllowLoad]=\"this.IsCurrentTab('AI Actions')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('User Record Logs')\">\n User Record Logs\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('User Record Logs')\" \n [AllowLoad]=\"this.IsCurrentTab('User Record Logs')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('Integration URL Formats')\">\n Integration URL Formats\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Integration URL Formats')\" \n [AllowLoad]=\"this.IsCurrentTab('Integration URL Formats')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('Entities')\">\n Entities\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Entities')\" \n [AllowLoad]=\"this.IsCurrentTab('Entities')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('User Favorites')\">\n User Favorites\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('User Favorites')\" \n [AllowLoad]=\"this.IsCurrentTab('User Favorites')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('Company Integration Run Details')\">\n Company Integration Run Details\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Company Integration Run Details')\" \n [AllowLoad]=\"this.IsCurrentTab('Company Integration Run Details')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('Application Entities')\">\n Application Entities\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Application Entities')\" \n [AllowLoad]=\"this.IsCurrentTab('Application Entities')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('User Application Entities')\">\n User Application Entities\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('User Application Entities')\" \n [AllowLoad]=\"this.IsCurrentTab('User Application Entities')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('Lists')\">\n Lists\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Lists')\" \n [AllowLoad]=\"this.IsCurrentTab('Lists')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('User Views')\">\n User Views\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('User Views')\" \n [AllowLoad]=\"this.IsCurrentTab('User Views')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('Record Changes')\">\n Record Changes\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Record Changes')\" \n [AllowLoad]=\"this.IsCurrentTab('Record Changes')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('Audit Logs')\">\n Audit Logs\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Audit Logs')\" \n [AllowLoad]=\"this.IsCurrentTab('Audit Logs')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('Resource Types')\">\n Resource Types\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Resource Types')\" \n [AllowLoad]=\"this.IsCurrentTab('Resource Types')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('Tagged Items')\">\n Tagged Items\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Tagged Items')\" \n [AllowLoad]=\"this.IsCurrentTab('Tagged Items')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('Dataset Items')\">\n Dataset Items\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Dataset Items')\" \n [AllowLoad]=\"this.IsCurrentTab('Dataset Items')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('Company Integration Record Maps')\">\n Company Integration Record Maps\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Company Integration Record Maps')\" \n [AllowLoad]=\"this.IsCurrentTab('Company Integration Record Maps')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('Record Merge Logs')\">\n Record Merge Logs\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Record Merge Logs')\" \n [AllowLoad]=\"this.IsCurrentTab('Record Merge Logs')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('Query Fields')\">\n Query Fields\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Query Fields')\" \n [AllowLoad]=\"this.IsCurrentTab('Query Fields')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('Conversations')\">\n Conversations\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Conversations')\" \n [AllowLoad]=\"this.IsCurrentTab('Conversations')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('Entity Documents')\">\n Entity Documents\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Entity Documents')\" \n [AllowLoad]=\"this.IsCurrentTab('Entity Documents')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('Data Context Items')\">\n Data Context Items\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Data Context Items')\" \n [AllowLoad]=\"this.IsCurrentTab('Data Context Items')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('Users')\">\n Users\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Users')\" \n [AllowLoad]=\"this.IsCurrentTab('Users')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('Entity Record Documents')\">\n Entity Record Documents\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Entity Record Documents')\" \n [AllowLoad]=\"this.IsCurrentTab('Entity Record Documents')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('File Entity Record Links')\">\n File Entity Record Links\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('File Entity Record Links')\" \n [AllowLoad]=\"this.IsCurrentTab('File Entity Record Links')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('User View Categories')\">\n User View Categories\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('User View Categories')\" \n [AllowLoad]=\"this.IsCurrentTab('User View Categories')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('Entity Settings')\">\n Entity Settings\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Entity Settings')\" \n [AllowLoad]=\"this.IsCurrentTab('Entity Settings')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('Duplicate Runs')\">\n Duplicate Runs\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Duplicate Runs')\" \n [AllowLoad]=\"this.IsCurrentTab('Duplicate Runs')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid>\n </mj-tab-body>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('Entity Behaviors')\">\n Entity Behaviors\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Entity Behaviors')\" \n [AllowLoad]=\"this.IsCurrentTab('Entity Behaviors')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid>\n </mj-tab-body>\n </mj-tabstrip>\n </kendo-splitter-pane>\n </kendo-splitter>\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.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"] }]
|
|
413
423
|
}], null, null); })();
|
|
414
424
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(EntityFormComponent, { className: "EntityFormComponent", filePath: "src/lib/generated/Entities/Entity/entity.form.component.ts", lineNumber: 17 }); })();
|
|
415
425
|
export function LoadEntityFormComponent() {
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { EntityBehaviorEntity } from '@memberjunction/core-entities';
|
|
2
|
+
import { BaseFormComponent } from '@memberjunction/ng-base-forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class EntityBehaviorFormComponent extends BaseFormComponent {
|
|
5
|
+
record: EntityBehaviorEntity;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EntityBehaviorFormComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EntityBehaviorFormComponent, "gen-entitybehavior-form", never, {}, {}, never, never, false, never>;
|
|
8
|
+
}
|
|
9
|
+
export declare function LoadEntityBehaviorFormComponent(): void;
|
|
10
|
+
//# sourceMappingURL=entitybehavior.form.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entitybehavior.form.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/EntityBehavior/entitybehavior.form.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAErE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAElE,qBAMa,2BAA4B,SAAQ,iBAAiB;IACvD,MAAM,EAAG,oBAAoB,CAAC;yCAD5B,2BAA2B;2CAA3B,2BAA2B;CAEvC;AAED,wBAAgB,+BAA+B,SAE9C"}
|
|
@@ -0,0 +1,61 @@
|
|
|
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 { LoadEntityBehaviorDetailsComponent } 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-tabstrip";
|
|
16
|
+
import * as i5 from "@memberjunction/ng-container-directives";
|
|
17
|
+
function EntityBehaviorFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
18
|
+
const _r4 = i0.ɵɵgetCurrentView();
|
|
19
|
+
i0.ɵɵelementStart(0, "form", 2, 3);
|
|
20
|
+
i0.ɵɵelement(2, "mj-form-toolbar", 4)(3, "div", 5, 6);
|
|
21
|
+
i0.ɵɵelementStart(5, "mj-tabstrip", 7);
|
|
22
|
+
i0.ɵɵlistener("TabSelected", function EntityBehaviorFormComponent_form_1_Template_mj_tabstrip_TabSelected_5_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r3 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r3.onTabSelect($event.index)); });
|
|
23
|
+
i0.ɵɵelementStart(6, "mj-tab", 8);
|
|
24
|
+
i0.ɵɵtext(7, " Details ");
|
|
25
|
+
i0.ɵɵelementEnd();
|
|
26
|
+
i0.ɵɵelementStart(8, "mj-tab-body");
|
|
27
|
+
i0.ɵɵelement(9, "mj-form-section", 9);
|
|
28
|
+
i0.ɵɵelementEnd()()();
|
|
29
|
+
} if (rf & 2) {
|
|
30
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
31
|
+
i0.ɵɵadvance(2);
|
|
32
|
+
i0.ɵɵproperty("form", ctx_r0);
|
|
33
|
+
i0.ɵɵadvance(4);
|
|
34
|
+
i0.ɵɵproperty("TabSelected", ctx_r0.RegisterAndCheckIfCurrentTab("Details"));
|
|
35
|
+
i0.ɵɵadvance(3);
|
|
36
|
+
i0.ɵɵproperty("record", ctx_r0.record)("EditMode", ctx_r0.EditMode);
|
|
37
|
+
} }
|
|
38
|
+
let EntityBehaviorFormComponent = class EntityBehaviorFormComponent extends BaseFormComponent {
|
|
39
|
+
};
|
|
40
|
+
EntityBehaviorFormComponent.ɵfac = /*@__PURE__*/ (() => { let ɵEntityBehaviorFormComponent_BaseFactory; return function EntityBehaviorFormComponent_Factory(t) { return (ɵEntityBehaviorFormComponent_BaseFactory || (ɵEntityBehaviorFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(EntityBehaviorFormComponent)))(t || EntityBehaviorFormComponent); }; })();
|
|
41
|
+
EntityBehaviorFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: EntityBehaviorFormComponent, selectors: [["gen-entitybehavior-form"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 3, consts: [["mjFillContainer", "", 1, "record-form-container", 3, "bottomMargin", "rightMargin"], ["class", "record-form", "mjFillContainer", "", 4, "ngIf"], ["mjFillContainer", "", 1, "record-form"], ["form", "ngForm"], [3, "form"], [1, "record-form-group"], ["topArea", ""], ["mjFillContainer", "", 3, "TabSelected"], [3, "TabSelected"], ["Entity", "Entity Behaviors", "Section", "details", 3, "record", "EditMode"]], template: function EntityBehaviorFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
42
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
43
|
+
i0.ɵɵtemplate(1, EntityBehaviorFormComponent_form_1_Template, 10, 4, "form", 1);
|
|
44
|
+
i0.ɵɵelementEnd();
|
|
45
|
+
} if (rf & 2) {
|
|
46
|
+
i0.ɵɵproperty("bottomMargin", 20)("rightMargin", 5);
|
|
47
|
+
i0.ɵɵadvance();
|
|
48
|
+
i0.ɵɵproperty("ngIf", ctx.record);
|
|
49
|
+
} }, dependencies: [i1.NgIf, i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.SectionLoaderComponent, i3.FormToolbarComponent, i4.MJTabStripComponent, i4.MJTabBodyComponent, i4.MJTabComponent, i5.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.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}"] });
|
|
50
|
+
EntityBehaviorFormComponent = __decorate([
|
|
51
|
+
RegisterClass(BaseFormComponent, 'Entity Behaviors') // Tell MemberJunction about this class
|
|
52
|
+
], EntityBehaviorFormComponent);
|
|
53
|
+
export { EntityBehaviorFormComponent };
|
|
54
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EntityBehaviorFormComponent, [{
|
|
55
|
+
type: Component,
|
|
56
|
+
args: [{ selector: 'gen-entitybehavior-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 <div #topArea class=\"record-form-group\">\n \n </div>\n <mj-tabstrip (TabSelected)=\"onTabSelect($event.index)\" mjFillContainer>\n \n <mj-tab [TabSelected]=\"this.RegisterAndCheckIfCurrentTab('Details')\">\n Details\n </mj-tab>\n <mj-tab-body>\n <mj-form-section Entity=\"Entity Behaviors\" Section=\"details\" [record]=\"record\" [EditMode]=\"this.EditMode\"></mj-form-section>\n </mj-tab-body>\n \n </mj-tabstrip>\n </form>\n</div>\n ", styles: [".k-pane {\n background-color: #F5F6FA;\n} \n\n\na {\n font-size: 14px;\n font-weight: bolder;\n}\n\n.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"] }]
|
|
57
|
+
}], null, null); })();
|
|
58
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(EntityBehaviorFormComponent, { className: "EntityBehaviorFormComponent", filePath: "src/lib/generated/Entities/EntityBehavior/entitybehavior.form.component.ts", lineNumber: 12 }); })();
|
|
59
|
+
export function LoadEntityBehaviorFormComponent() {
|
|
60
|
+
LoadEntityBehaviorDetailsComponent();
|
|
61
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BaseFormSectionComponent } from '@memberjunction/ng-base-forms';
|
|
2
|
+
import { EntityBehaviorEntity } from '@memberjunction/core-entities';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class EntityBehaviorDetailsComponent extends BaseFormSectionComponent {
|
|
5
|
+
record: EntityBehaviorEntity;
|
|
6
|
+
EditMode: boolean;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EntityBehaviorDetailsComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EntityBehaviorDetailsComponent, "gen-entitybehavior-form-details", never, { "record": { "alias": "record"; "required": false; }; "EditMode": { "alias": "EditMode"; "required": false; }; }, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
10
|
+
export declare function LoadEntityBehaviorDetailsComponent(): 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/EntityBehavior/sections/details.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;;AAErE,qBAyEa,8BAA+B,SAAQ,wBAAwB;IACtD,MAAM,EAAG,oBAAoB,CAAC;IAC9B,QAAQ,EAAE,OAAO,CAAS;yCAFnC,8BAA8B;2CAA9B,8BAA8B;CAG1C;AAED,wBAAgB,kCAAkC,SAEjD"}
|