@memberjunction/ng-core-entity-forms 0.9.38 → 0.9.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/generated/Entities/AIModel/aimodel.form.component.js +18 -4
- package/dist/lib/generated/Entities/CompanyIntegration/companyintegration.form.component.js +60 -4
- package/dist/lib/generated/Entities/Conversation/sections/details.component.js +116 -18
- package/dist/lib/generated/Entities/DataContext/datacontext.form.component.d.ts +9 -0
- package/dist/lib/generated/Entities/DataContext/datacontext.form.component.js +81 -0
- package/dist/lib/generated/Entities/DataContext/sections/details.component.d.ts +10 -0
- package/dist/lib/generated/Entities/DataContext/sections/details.component.js +241 -0
- package/dist/lib/generated/Entities/DataContextItem/datacontextitem.form.component.d.ts +9 -0
- package/dist/lib/generated/Entities/DataContextItem/datacontextitem.form.component.js +66 -0
- package/dist/lib/generated/Entities/DataContextItem/sections/details.component.d.ts +10 -0
- package/dist/lib/generated/Entities/DataContextItem/sections/details.component.js +289 -0
- package/dist/lib/generated/Entities/Employee/employee.form.component.js +32 -4
- package/dist/lib/generated/Entities/Entity/entity.form.component.js +33 -5
- package/dist/lib/generated/Entities/EntityDocument/entitydocument.form.component.d.ts +9 -0
- package/dist/lib/generated/Entities/EntityDocument/entitydocument.form.component.js +81 -0
- package/dist/lib/generated/Entities/EntityDocument/sections/details.component.d.ts +10 -0
- package/dist/lib/generated/Entities/EntityDocument/sections/details.component.js +290 -0
- package/dist/lib/generated/Entities/EntityDocumentRun/entitydocumentrun.form.component.d.ts +9 -0
- package/dist/lib/generated/Entities/EntityDocumentRun/entitydocumentrun.form.component.js +66 -0
- package/dist/lib/generated/Entities/EntityDocumentRun/sections/details.component.d.ts +10 -0
- package/dist/lib/generated/Entities/EntityDocumentRun/sections/details.component.js +241 -0
- package/dist/lib/generated/Entities/EntityDocumentType/entitydocumenttype.form.component.d.ts +9 -0
- package/dist/lib/generated/Entities/EntityDocumentType/entitydocumenttype.form.component.js +81 -0
- package/dist/lib/generated/Entities/EntityDocumentType/sections/details.component.d.ts +10 -0
- package/dist/lib/generated/Entities/EntityDocumentType/sections/details.component.js +165 -0
- package/dist/lib/generated/Entities/EntityRecordDocument/entityrecorddocument.form.component.d.ts +9 -0
- package/dist/lib/generated/Entities/EntityRecordDocument/entityrecorddocument.form.component.js +66 -0
- package/dist/lib/generated/Entities/EntityRecordDocument/sections/details.component.d.ts +10 -0
- package/dist/lib/generated/Entities/EntityRecordDocument/sections/details.component.js +286 -0
- package/dist/lib/generated/Entities/User/user.form.component.js +18 -4
- package/dist/lib/generated/Entities/VectorDatabase/sections/details.component.d.ts +10 -0
- package/dist/lib/generated/Entities/VectorDatabase/sections/details.component.js +213 -0
- package/dist/lib/generated/Entities/VectorDatabase/vectordatabase.form.component.d.ts +9 -0
- package/dist/lib/generated/Entities/VectorDatabase/vectordatabase.form.component.js +81 -0
- package/dist/lib/generated/Entities/VectorIndex/sections/details.component.d.ts +10 -0
- package/dist/lib/generated/Entities/VectorIndex/sections/details.component.js +266 -0
- package/dist/lib/generated/Entities/VectorIndex/vectorindex.form.component.d.ts +9 -0
- package/dist/lib/generated/Entities/VectorIndex/vectorindex.form.component.js +66 -0
- package/dist/lib/generated/generated-forms.module.d.ts +106 -85
- package/dist/lib/generated/generated-forms.module.js +183 -77
- package/package.json +4 -4
|
@@ -59,13 +59,31 @@ function EmployeeFormComponent_form_1_ng_template_21_Template(rf, ctx) { if (rf
|
|
|
59
59
|
const ctx_r13 = i0.ɵɵnextContext(2);
|
|
60
60
|
i0.ɵɵproperty("Params", ctx_r13.BuildRelationshipViewParamsByEntityName("Employee Skills"))("AllowLoad", ctx_r13.IsCurrentTab("Employee Skills"))("EditMode", ctx_r13.GridEditMode())("BottomMargin", ctx_r13.GridBottomMargin);
|
|
61
61
|
} }
|
|
62
|
+
function EmployeeFormComponent_form_1_ng_template_23_Template(rf, ctx) { if (rf & 1) {
|
|
63
|
+
i0.ɵɵtext(0, "Activities");
|
|
64
|
+
} }
|
|
65
|
+
function EmployeeFormComponent_form_1_ng_template_24_Template(rf, ctx) { if (rf & 1) {
|
|
66
|
+
i0.ɵɵelement(0, "mj-user-view-grid", 13);
|
|
67
|
+
} if (rf & 2) {
|
|
68
|
+
const ctx_r15 = i0.ɵɵnextContext(2);
|
|
69
|
+
i0.ɵɵproperty("Params", ctx_r15.BuildRelationshipViewParamsByEntityName("Activities"))("AllowLoad", ctx_r15.IsCurrentTab("Activities"))("EditMode", ctx_r15.GridEditMode())("BottomMargin", ctx_r15.GridBottomMargin);
|
|
70
|
+
} }
|
|
71
|
+
function EmployeeFormComponent_form_1_ng_template_26_Template(rf, ctx) { if (rf & 1) {
|
|
72
|
+
i0.ɵɵtext(0, "Deals");
|
|
73
|
+
} }
|
|
74
|
+
function EmployeeFormComponent_form_1_ng_template_27_Template(rf, ctx) { if (rf & 1) {
|
|
75
|
+
i0.ɵɵelement(0, "mj-user-view-grid", 13);
|
|
76
|
+
} if (rf & 2) {
|
|
77
|
+
const ctx_r17 = i0.ɵɵnextContext(2);
|
|
78
|
+
i0.ɵɵproperty("Params", ctx_r17.BuildRelationshipViewParamsByEntityName("Deals"))("AllowLoad", ctx_r17.IsCurrentTab("Deals"))("EditMode", ctx_r17.GridEditMode())("BottomMargin", ctx_r17.GridBottomMargin);
|
|
79
|
+
} }
|
|
62
80
|
function EmployeeFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
63
|
-
const
|
|
81
|
+
const _r19 = i0.ɵɵgetCurrentView();
|
|
64
82
|
i0.ɵɵelementStart(0, "form", 2, 3)(2, "div", 4, 5);
|
|
65
83
|
i0.ɵɵelement(4, "mj-form-toolbar", 6);
|
|
66
84
|
i0.ɵɵelementEnd();
|
|
67
85
|
i0.ɵɵelementStart(5, "kendo-tabstrip", 7, 8);
|
|
68
|
-
i0.ɵɵlistener("tabSelect", function EmployeeFormComponent_form_1_Template_kendo_tabstrip_tabSelect_5_listener($event) { i0.ɵɵrestoreView(
|
|
86
|
+
i0.ɵɵlistener("tabSelect", function EmployeeFormComponent_form_1_Template_kendo_tabstrip_tabSelect_5_listener($event) { i0.ɵɵrestoreView(_r19); const ctx_r18 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r18.onTabSelect($event)); });
|
|
69
87
|
i0.ɵɵelementStart(7, "kendo-tabstrip-tab", 9);
|
|
70
88
|
i0.ɵɵtemplate(8, EmployeeFormComponent_form_1_ng_template_8_Template, 1, 0, "ng-template", 10)(9, EmployeeFormComponent_form_1_ng_template_9_Template, 1, 2, "ng-template", 11);
|
|
71
89
|
i0.ɵɵelementEnd();
|
|
@@ -80,6 +98,12 @@ function EmployeeFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
80
98
|
i0.ɵɵelementEnd();
|
|
81
99
|
i0.ɵɵelementStart(19, "kendo-tabstrip-tab", 9);
|
|
82
100
|
i0.ɵɵtemplate(20, EmployeeFormComponent_form_1_ng_template_20_Template, 1, 0, "ng-template", 10)(21, EmployeeFormComponent_form_1_ng_template_21_Template, 1, 4, "ng-template", 11);
|
|
101
|
+
i0.ɵɵelementEnd();
|
|
102
|
+
i0.ɵɵelementStart(22, "kendo-tabstrip-tab", 9);
|
|
103
|
+
i0.ɵɵtemplate(23, EmployeeFormComponent_form_1_ng_template_23_Template, 1, 0, "ng-template", 10)(24, EmployeeFormComponent_form_1_ng_template_24_Template, 1, 4, "ng-template", 11);
|
|
104
|
+
i0.ɵɵelementEnd();
|
|
105
|
+
i0.ɵɵelementStart(25, "kendo-tabstrip-tab", 9);
|
|
106
|
+
i0.ɵɵtemplate(26, EmployeeFormComponent_form_1_ng_template_26_Template, 1, 0, "ng-template", 10)(27, EmployeeFormComponent_form_1_ng_template_27_Template, 1, 4, "ng-template", 11);
|
|
83
107
|
i0.ɵɵelementEnd()()();
|
|
84
108
|
} if (rf & 2) {
|
|
85
109
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -97,13 +121,17 @@ function EmployeeFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
97
121
|
i0.ɵɵproperty("selected", ctx_r0.RegisterAndCheckIfCurrentTab("Employee Roles"));
|
|
98
122
|
i0.ɵɵadvance(3);
|
|
99
123
|
i0.ɵɵproperty("selected", ctx_r0.RegisterAndCheckIfCurrentTab("Employee Skills"));
|
|
124
|
+
i0.ɵɵadvance(3);
|
|
125
|
+
i0.ɵɵproperty("selected", ctx_r0.RegisterAndCheckIfCurrentTab("Activities"));
|
|
126
|
+
i0.ɵɵadvance(3);
|
|
127
|
+
i0.ɵɵproperty("selected", ctx_r0.RegisterAndCheckIfCurrentTab("Deals"));
|
|
100
128
|
} }
|
|
101
129
|
let EmployeeFormComponent = class EmployeeFormComponent extends BaseFormComponent {
|
|
102
130
|
};
|
|
103
131
|
EmployeeFormComponent.ɵfac = /*@__PURE__*/ (() => { let ɵEmployeeFormComponent_BaseFactory; return function EmployeeFormComponent_Factory(t) { return (ɵEmployeeFormComponent_BaseFactory || (ɵEmployeeFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(EmployeeFormComponent)))(t || EmployeeFormComponent); }; })();
|
|
104
132
|
EmployeeFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: EmployeeFormComponent, selectors: [["gen-employee-form"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 1, consts: [[1, "record-form-container"], ["class", "record-form", 4, "ngIf"], [1, "record-form"], ["form", "ngForm"], [1, "record-form-group"], ["topArea", ""], [3, "form"], [3, "keepTabContent", "animate", "height", "tabSelect"], ["tabStrip", ""], [3, "selected"], ["kendoTabTitle", ""], ["kendoTabContent", ""], ["Entity", "Employees", "Section", "details", 3, "record", "EditMode"], [3, "Params", "AllowLoad", "EditMode", "BottomMargin"]], template: function EmployeeFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
105
133
|
i0.ɵɵelementStart(0, "div", 0);
|
|
106
|
-
i0.ɵɵtemplate(1, EmployeeFormComponent_form_1_Template,
|
|
134
|
+
i0.ɵɵtemplate(1, EmployeeFormComponent_form_1_Template, 28, 11, "form", 1);
|
|
107
135
|
i0.ɵɵelementEnd();
|
|
108
136
|
} if (rf & 2) {
|
|
109
137
|
i0.ɵɵadvance();
|
|
@@ -115,7 +143,7 @@ EmployeeFormComponent = __decorate([
|
|
|
115
143
|
export { EmployeeFormComponent };
|
|
116
144
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EmployeeFormComponent, [{
|
|
117
145
|
type: Component,
|
|
118
|
-
args: [{ selector: 'gen-employee-form', template: "<div class=\"record-form-container\">\n <form *ngIf=\"record\" class=\"record-form\" #form=\"ngForm\">\n <div #topArea class=\"record-form-group\">\n <mj-form-toolbar [form]=\"this\"></mj-form-toolbar>\n \n </div>\n <kendo-tabstrip #tabStrip (tabSelect)=\"onTabSelect($event)\" [keepTabContent]=\"true\" [animate] = \"false\" [height]=\"TabHeight\" >\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Details')\">\n <ng-template kendoTabTitle>Details</ng-template>\n <ng-template kendoTabContent >\n <mj-form-section Entity=\"Employees\" Section=\"details\" [record]=\"record\" [EditMode]=\"this.EditMode\"></mj-form-section>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Direct Reports')\">\n <ng-template kendoTabTitle>Direct Reports</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Employees')\" \n [AllowLoad]=\"this.IsCurrentTab('Direct Reports')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Employee Company Integrations')\">\n <ng-template kendoTabTitle>Employee Company Integrations</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Employee Company Integrations')\" \n [AllowLoad]=\"this.IsCurrentTab('Employee Company Integrations')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Employee Roles')\">\n <ng-template kendoTabTitle>Employee Roles</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Employee Roles')\" \n [AllowLoad]=\"this.IsCurrentTab('Employee Roles')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Employee Skills')\">\n <ng-template kendoTabTitle>Employee Skills</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Employee Skills')\" \n [AllowLoad]=\"this.IsCurrentTab('Employee Skills')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n </kendo-tabstrip>\n </form>\n </div>\n ", styles: ["a {\r\n font-size: 14px;\r\n font-weight: bolder;\r\n}\r\n\r\n.record-form {\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n\r\n.record-form-group {\r\n margin-top: 0px;\r\n}\r\n\r\nbutton {\r\n margin-right: 5px;\r\n}\r\n\r\n.record-form h2 {\r\n margin-bottom: 10px;\r\n}\r\n\r\n.k-splitter {\r\n border-width: 0px;\r\n}\r\n\r\n.record-form-row {\r\n display: grid;\r\n grid-template-columns: auto 1fr;\r\n align-items: start;\r\n gap: 10px;\r\n margin-bottom: 12px;\r\n padding-top: 5px;\r\n padding-bottom: 5px;\r\n}\r\n\r\n\r\n/* .record-form .record-form-row:nth-child(odd) {\r\n background-color: #f2f2f2; \r\n} */\r\n\r\n/* \r\n.record-form .record-form-row:nth-child(even) {\r\n background-color: #ffffff; \r\n} */\r\n\r\n.record-form .record-form-row > :first-child {\r\n font-weight: bold;\r\n padding-right: 10px;\r\n} \r\n\r\n.record-form .record-form-row > span {\r\n white-space: pre-line;\r\n max-height: 300px;\r\n overflow: auto;\r\n}\r\n\r\n \r\n\r\n@media (min-width: 768px) {\r\n .record-form {\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n padding-bottom: 5px;\r\n }\r\n\r\n .record-form-row {\r\n flex-direction: row;\r\n align-items: center;\r\n }\r\n\r\n .record-form-row label {\r\n width: 240px;\r\n margin-bottom: 0;\r\n }\r\n}\r\n"] }]
|
|
146
|
+
args: [{ selector: 'gen-employee-form', template: "<div class=\"record-form-container\">\n <form *ngIf=\"record\" class=\"record-form\" #form=\"ngForm\">\n <div #topArea class=\"record-form-group\">\n <mj-form-toolbar [form]=\"this\"></mj-form-toolbar>\n \n </div>\n <kendo-tabstrip #tabStrip (tabSelect)=\"onTabSelect($event)\" [keepTabContent]=\"true\" [animate] = \"false\" [height]=\"TabHeight\" >\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Details')\">\n <ng-template kendoTabTitle>Details</ng-template>\n <ng-template kendoTabContent >\n <mj-form-section Entity=\"Employees\" Section=\"details\" [record]=\"record\" [EditMode]=\"this.EditMode\"></mj-form-section>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Direct Reports')\">\n <ng-template kendoTabTitle>Direct Reports</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Employees')\" \n [AllowLoad]=\"this.IsCurrentTab('Direct Reports')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Employee Company Integrations')\">\n <ng-template kendoTabTitle>Employee Company Integrations</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Employee Company Integrations')\" \n [AllowLoad]=\"this.IsCurrentTab('Employee Company Integrations')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Employee Roles')\">\n <ng-template kendoTabTitle>Employee Roles</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Employee Roles')\" \n [AllowLoad]=\"this.IsCurrentTab('Employee Roles')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Employee Skills')\">\n <ng-template kendoTabTitle>Employee Skills</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Employee Skills')\" \n [AllowLoad]=\"this.IsCurrentTab('Employee Skills')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Activities')\">\n <ng-template kendoTabTitle>Activities</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Activities')\" \n [AllowLoad]=\"this.IsCurrentTab('Activities')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Deals')\">\n <ng-template kendoTabTitle>Deals</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Deals')\" \n [AllowLoad]=\"this.IsCurrentTab('Deals')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n </kendo-tabstrip>\n </form>\n </div>\n ", styles: ["a {\r\n font-size: 14px;\r\n font-weight: bolder;\r\n}\r\n\r\n.record-form {\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n\r\n.record-form-group {\r\n margin-top: 0px;\r\n}\r\n\r\nbutton {\r\n margin-right: 5px;\r\n}\r\n\r\n.record-form h2 {\r\n margin-bottom: 10px;\r\n}\r\n\r\n.k-splitter {\r\n border-width: 0px;\r\n}\r\n\r\n.record-form-row {\r\n display: grid;\r\n grid-template-columns: auto 1fr;\r\n align-items: start;\r\n gap: 10px;\r\n margin-bottom: 12px;\r\n padding-top: 5px;\r\n padding-bottom: 5px;\r\n}\r\n\r\n\r\n/* .record-form .record-form-row:nth-child(odd) {\r\n background-color: #f2f2f2; \r\n} */\r\n\r\n/* \r\n.record-form .record-form-row:nth-child(even) {\r\n background-color: #ffffff; \r\n} */\r\n\r\n.record-form .record-form-row > :first-child {\r\n font-weight: bold;\r\n padding-right: 10px;\r\n} \r\n\r\n.record-form .record-form-row > span {\r\n white-space: pre-line;\r\n max-height: 300px;\r\n overflow: auto;\r\n}\r\n\r\n \r\n\r\n@media (min-width: 768px) {\r\n .record-form {\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n padding-bottom: 5px;\r\n }\r\n\r\n .record-form-row {\r\n flex-direction: row;\r\n align-items: center;\r\n }\r\n\r\n .record-form-row label {\r\n width: 240px;\r\n margin-bottom: 0;\r\n }\r\n}\r\n"] }]
|
|
119
147
|
}], null, null); })();
|
|
120
148
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(EmployeeFormComponent, { className: "EmployeeFormComponent", filePath: "src\\lib\\generated\\Entities\\Employee\\employee.form.component.ts", lineNumber: 12 }); })();
|
|
121
149
|
export function LoadEmployeeFormComponent() {
|
|
@@ -253,15 +253,33 @@ function EntityFormComponent_form_1_ng_template_88_Template(rf, ctx) { if (rf &
|
|
|
253
253
|
const ctx_r55 = i0.ɵɵnextContext(2);
|
|
254
254
|
i0.ɵɵproperty("Params", ctx_r55.BuildRelationshipViewParamsByEntityName("Query Fields"))("AllowLoad", ctx_r55.IsCurrentTab("Query Fields"))("EditMode", ctx_r55.GridEditMode())("BottomMargin", ctx_r55.GridBottomMargin);
|
|
255
255
|
} }
|
|
256
|
+
function EntityFormComponent_form_1_ng_template_90_Template(rf, ctx) { if (rf & 1) {
|
|
257
|
+
i0.ɵɵtext(0, "Conversations");
|
|
258
|
+
} }
|
|
259
|
+
function EntityFormComponent_form_1_ng_template_91_Template(rf, ctx) { if (rf & 1) {
|
|
260
|
+
i0.ɵɵelement(0, "mj-user-view-grid", 19);
|
|
261
|
+
} if (rf & 2) {
|
|
262
|
+
const ctx_r57 = i0.ɵɵnextContext(2);
|
|
263
|
+
i0.ɵɵproperty("Params", ctx_r57.BuildRelationshipViewParamsByEntityName("Conversations"))("AllowLoad", ctx_r57.IsCurrentTab("Conversations"))("EditMode", ctx_r57.GridEditMode())("BottomMargin", ctx_r57.GridBottomMargin);
|
|
264
|
+
} }
|
|
265
|
+
function EntityFormComponent_form_1_ng_template_93_Template(rf, ctx) { if (rf & 1) {
|
|
266
|
+
i0.ɵɵtext(0, "Entity Documents");
|
|
267
|
+
} }
|
|
268
|
+
function EntityFormComponent_form_1_ng_template_94_Template(rf, ctx) { if (rf & 1) {
|
|
269
|
+
i0.ɵɵelement(0, "mj-user-view-grid", 19);
|
|
270
|
+
} if (rf & 2) {
|
|
271
|
+
const ctx_r59 = i0.ɵɵnextContext(2);
|
|
272
|
+
i0.ɵɵproperty("Params", ctx_r59.BuildRelationshipViewParamsByEntityName("Entity Documents"))("AllowLoad", ctx_r59.IsCurrentTab("Entity Documents"))("EditMode", ctx_r59.GridEditMode())("BottomMargin", ctx_r59.GridBottomMargin);
|
|
273
|
+
} }
|
|
256
274
|
function EntityFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
257
|
-
const
|
|
275
|
+
const _r61 = i0.ɵɵgetCurrentView();
|
|
258
276
|
i0.ɵɵelementStart(0, "form", 2, 3)(2, "kendo-splitter", 4);
|
|
259
|
-
i0.ɵɵlistener("layoutChange", function EntityFormComponent_form_1_Template_kendo_splitter_layoutChange_2_listener() { i0.ɵɵrestoreView(
|
|
277
|
+
i0.ɵɵlistener("layoutChange", function EntityFormComponent_form_1_Template_kendo_splitter_layoutChange_2_listener() { i0.ɵɵrestoreView(_r61); const ctx_r60 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r60.splitterLayoutChange()); });
|
|
260
278
|
i0.ɵɵelementStart(3, "kendo-splitter-pane")(4, "div", 5, 6);
|
|
261
279
|
i0.ɵɵelement(6, "mj-form-toolbar", 7)(7, "mj-form-section", 8);
|
|
262
280
|
i0.ɵɵelementEnd()();
|
|
263
281
|
i0.ɵɵelementStart(8, "kendo-splitter-pane")(9, "kendo-tabstrip", 9, 10);
|
|
264
|
-
i0.ɵɵlistener("tabSelect", function EntityFormComponent_form_1_Template_kendo_tabstrip_tabSelect_9_listener($event) { i0.ɵɵrestoreView(
|
|
282
|
+
i0.ɵɵlistener("tabSelect", function EntityFormComponent_form_1_Template_kendo_tabstrip_tabSelect_9_listener($event) { i0.ɵɵrestoreView(_r61); const ctx_r62 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r62.onTabSelect($event)); });
|
|
265
283
|
i0.ɵɵelementStart(11, "kendo-tabstrip-tab", 11);
|
|
266
284
|
i0.ɵɵtemplate(12, EntityFormComponent_form_1_ng_template_12_Template, 1, 0, "ng-template", 12)(13, EntityFormComponent_form_1_ng_template_13_Template, 1, 2, "ng-template", 13);
|
|
267
285
|
i0.ɵɵelementEnd();
|
|
@@ -339,6 +357,12 @@ function EntityFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
339
357
|
i0.ɵɵelementEnd();
|
|
340
358
|
i0.ɵɵelementStart(86, "kendo-tabstrip-tab", 11);
|
|
341
359
|
i0.ɵɵtemplate(87, EntityFormComponent_form_1_ng_template_87_Template, 1, 0, "ng-template", 12)(88, EntityFormComponent_form_1_ng_template_88_Template, 1, 4, "ng-template", 13);
|
|
360
|
+
i0.ɵɵelementEnd();
|
|
361
|
+
i0.ɵɵelementStart(89, "kendo-tabstrip-tab", 11);
|
|
362
|
+
i0.ɵɵtemplate(90, EntityFormComponent_form_1_ng_template_90_Template, 1, 0, "ng-template", 12)(91, EntityFormComponent_form_1_ng_template_91_Template, 1, 4, "ng-template", 13);
|
|
363
|
+
i0.ɵɵelementEnd();
|
|
364
|
+
i0.ɵɵelementStart(92, "kendo-tabstrip-tab", 11);
|
|
365
|
+
i0.ɵɵtemplate(93, EntityFormComponent_form_1_ng_template_93_Template, 1, 0, "ng-template", 12)(94, EntityFormComponent_form_1_ng_template_94_Template, 1, 4, "ng-template", 13);
|
|
342
366
|
i0.ɵɵelementEnd()()()()();
|
|
343
367
|
} if (rf & 2) {
|
|
344
368
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -400,13 +424,17 @@ function EntityFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
400
424
|
i0.ɵɵproperty("selected", ctx_r0.RegisterAndCheckIfCurrentTab("Record Merge Logs"));
|
|
401
425
|
i0.ɵɵadvance(3);
|
|
402
426
|
i0.ɵɵproperty("selected", ctx_r0.RegisterAndCheckIfCurrentTab("Query Fields"));
|
|
427
|
+
i0.ɵɵadvance(3);
|
|
428
|
+
i0.ɵɵproperty("selected", ctx_r0.RegisterAndCheckIfCurrentTab("Conversations"));
|
|
429
|
+
i0.ɵɵadvance(3);
|
|
430
|
+
i0.ɵɵproperty("selected", ctx_r0.RegisterAndCheckIfCurrentTab("Entity Documents"));
|
|
403
431
|
} }
|
|
404
432
|
let EntityFormComponent = class EntityFormComponent extends BaseFormComponent {
|
|
405
433
|
};
|
|
406
434
|
EntityFormComponent.ɵfac = /*@__PURE__*/ (() => { let ɵEntityFormComponent_BaseFactory; return function EntityFormComponent_Factory(t) { return (ɵEntityFormComponent_BaseFactory || (ɵEntityFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(EntityFormComponent)))(t || EntityFormComponent); }; })();
|
|
407
435
|
EntityFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: EntityFormComponent, selectors: [["gen-entity-form"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 1, consts: [[1, "record-form-container"], ["class", "record-form", 4, "ngIf"], [1, "record-form"], ["form", "ngForm"], ["orientation", "vertical", 3, "layoutChange"], [1, "record-form-group"], ["topArea", ""], [3, "form"], ["Entity", "Entities", "Section", "top-area", 3, "record", "EditMode"], [3, "keepTabContent", "animate", "height", "tabSelect"], ["tabStrip", ""], [3, "selected"], ["kendoTabTitle", ""], ["kendoTabContent", ""], ["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) {
|
|
408
436
|
i0.ɵɵelementStart(0, "div", 0);
|
|
409
|
-
i0.ɵɵtemplate(1, EntityFormComponent_form_1_Template,
|
|
437
|
+
i0.ɵɵtemplate(1, EntityFormComponent_form_1_Template, 95, 34, "form", 1);
|
|
410
438
|
i0.ɵɵelementEnd();
|
|
411
439
|
} if (rf & 2) {
|
|
412
440
|
i0.ɵɵadvance();
|
|
@@ -418,7 +446,7 @@ EntityFormComponent = __decorate([
|
|
|
418
446
|
export { EntityFormComponent };
|
|
419
447
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EntityFormComponent, [{
|
|
420
448
|
type: Component,
|
|
421
|
-
args: [{ selector: 'gen-entity-form', template: "<div class=\"record-form-container\">\n <form *ngIf=\"record\" class=\"record-form\" #form=\"ngForm\">\n <kendo-splitter orientation=\"vertical\" (layoutChange)=\"splitterLayoutChange()\">\n <kendo-splitter-pane>\n <div #topArea class=\"record-form-group\">\n <mj-form-toolbar [form]=\"this\"></mj-form-toolbar>\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 <kendo-tabstrip #tabStrip (tabSelect)=\"onTabSelect($event)\" [keepTabContent]=\"true\" [animate] = \"false\" [height]=\"TabHeight\" >\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Details')\">\n <ng-template kendoTabTitle>Details</ng-template>\n <ng-template kendoTabContent >\n <mj-form-section Entity=\"Entities\" Section=\"details\" [record]=\"record\" [EditMode]=\"this.EditMode\"></mj-form-section>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Audit')\">\n <ng-template kendoTabTitle>Audit</ng-template>\n <ng-template kendoTabContent >\n <mj-form-section Entity=\"Entities\" Section=\"audit\" [record]=\"record\" [EditMode]=\"this.EditMode\"></mj-form-section>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('API')\">\n <ng-template kendoTabTitle>API</ng-template>\n <ng-template kendoTabContent >\n <mj-form-section Entity=\"Entities\" Section=\"api\" [record]=\"record\" [EditMode]=\"this.EditMode\"></mj-form-section>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('DB')\">\n <ng-template kendoTabTitle>DB</ng-template>\n <ng-template kendoTabContent >\n <mj-form-section Entity=\"Entities\" Section=\"db\" [record]=\"record\" [EditMode]=\"this.EditMode\"></mj-form-section>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('UI')\">\n <ng-template kendoTabTitle>UI</ng-template>\n <ng-template kendoTabContent >\n <mj-form-section Entity=\"Entities\" Section=\"ui\" [record]=\"record\" [EditMode]=\"this.EditMode\"></mj-form-section>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Fields')\">\n <ng-template kendoTabTitle>Fields</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Entity Fields')\" \n [AllowLoad]=\"this.IsCurrentTab('Fields')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Permissions')\">\n <ng-template kendoTabTitle>Permissions</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Entity Permissions')\" \n [AllowLoad]=\"this.IsCurrentTab('Permissions')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Relationships')\">\n <ng-template kendoTabTitle>Relationships</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Entity Relationships')\" \n [AllowLoad]=\"this.IsCurrentTab('Relationships')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('AI Actions')\">\n <ng-template kendoTabTitle>AI Actions</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Entity AI Actions')\" \n [AllowLoad]=\"this.IsCurrentTab('AI Actions')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('User Record Logs')\">\n <ng-template kendoTabTitle>User Record Logs</ng-template>\n <ng-template kendoTabContent >\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\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Integration URL Formats')\">\n <ng-template kendoTabTitle>Integration URL Formats</ng-template>\n <ng-template kendoTabContent >\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\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Entities')\">\n <ng-template kendoTabTitle>Entities</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Entities')\" \n [AllowLoad]=\"this.IsCurrentTab('Entities')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('User Favorites')\">\n <ng-template kendoTabTitle>User Favorites</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('User Favorites')\" \n [AllowLoad]=\"this.IsCurrentTab('User Favorites')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Company Integration Run Details')\">\n <ng-template kendoTabTitle>Company Integration Run Details</ng-template>\n <ng-template kendoTabContent >\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\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Application Entities')\">\n <ng-template kendoTabTitle>Application Entities</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Application Entities')\" \n [AllowLoad]=\"this.IsCurrentTab('Application Entities')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('User Application Entities')\">\n <ng-template kendoTabTitle>User Application Entities</ng-template>\n <ng-template kendoTabContent >\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\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Lists')\">\n <ng-template kendoTabTitle>Lists</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Lists')\" \n [AllowLoad]=\"this.IsCurrentTab('Lists')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('User Views')\">\n <ng-template kendoTabTitle>User Views</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('User Views')\" \n [AllowLoad]=\"this.IsCurrentTab('User Views')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Record Changes')\">\n <ng-template kendoTabTitle>Record Changes</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Record Changes')\" \n [AllowLoad]=\"this.IsCurrentTab('Record Changes')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Audit Logs')\">\n <ng-template kendoTabTitle>Audit Logs</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Audit Logs')\" \n [AllowLoad]=\"this.IsCurrentTab('Audit Logs')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Resource Types')\">\n <ng-template kendoTabTitle>Resource Types</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Resource Types')\" \n [AllowLoad]=\"this.IsCurrentTab('Resource Types')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Tagged Items')\">\n <ng-template kendoTabTitle>Tagged Items</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Tagged Items')\" \n [AllowLoad]=\"this.IsCurrentTab('Tagged Items')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Dataset Items')\">\n <ng-template kendoTabTitle>Dataset Items</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Dataset Items')\" \n [AllowLoad]=\"this.IsCurrentTab('Dataset Items')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Company Integration Record Maps')\">\n <ng-template kendoTabTitle>Company Integration Record Maps</ng-template>\n <ng-template kendoTabContent >\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\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Record Merge Logs')\">\n <ng-template kendoTabTitle>Record Merge Logs</ng-template>\n <ng-template kendoTabContent >\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\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Query Fields')\">\n <ng-template kendoTabTitle>Query Fields</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Query Fields')\" \n [AllowLoad]=\"this.IsCurrentTab('Query Fields')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n </kendo-tabstrip>\n </kendo-splitter-pane>\n </kendo-splitter>\n </form>\n </div>\n ", styles: ["a {\r\n font-size: 14px;\r\n font-weight: bolder;\r\n}\r\n\r\n.record-form {\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n\r\n.record-form-group {\r\n margin-top: 0px;\r\n}\r\n\r\nbutton {\r\n margin-right: 5px;\r\n}\r\n\r\n.record-form h2 {\r\n margin-bottom: 10px;\r\n}\r\n\r\n.k-splitter {\r\n border-width: 0px;\r\n}\r\n\r\n.record-form-row {\r\n display: grid;\r\n grid-template-columns: auto 1fr;\r\n align-items: start;\r\n gap: 10px;\r\n margin-bottom: 12px;\r\n padding-top: 5px;\r\n padding-bottom: 5px;\r\n}\r\n\r\n\r\n/* .record-form .record-form-row:nth-child(odd) {\r\n background-color: #f2f2f2; \r\n} */\r\n\r\n/* \r\n.record-form .record-form-row:nth-child(even) {\r\n background-color: #ffffff; \r\n} */\r\n\r\n.record-form .record-form-row > :first-child {\r\n font-weight: bold;\r\n padding-right: 10px;\r\n} \r\n\r\n.record-form .record-form-row > span {\r\n white-space: pre-line;\r\n max-height: 300px;\r\n overflow: auto;\r\n}\r\n\r\n \r\n\r\n@media (min-width: 768px) {\r\n .record-form {\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n padding-bottom: 5px;\r\n }\r\n\r\n .record-form-row {\r\n flex-direction: row;\r\n align-items: center;\r\n }\r\n\r\n .record-form-row label {\r\n width: 240px;\r\n margin-bottom: 0;\r\n }\r\n}\r\n"] }]
|
|
449
|
+
args: [{ selector: 'gen-entity-form', template: "<div class=\"record-form-container\">\n <form *ngIf=\"record\" class=\"record-form\" #form=\"ngForm\">\n <kendo-splitter orientation=\"vertical\" (layoutChange)=\"splitterLayoutChange()\">\n <kendo-splitter-pane>\n <div #topArea class=\"record-form-group\">\n <mj-form-toolbar [form]=\"this\"></mj-form-toolbar>\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 <kendo-tabstrip #tabStrip (tabSelect)=\"onTabSelect($event)\" [keepTabContent]=\"true\" [animate] = \"false\" [height]=\"TabHeight\" >\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Details')\">\n <ng-template kendoTabTitle>Details</ng-template>\n <ng-template kendoTabContent >\n <mj-form-section Entity=\"Entities\" Section=\"details\" [record]=\"record\" [EditMode]=\"this.EditMode\"></mj-form-section>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Audit')\">\n <ng-template kendoTabTitle>Audit</ng-template>\n <ng-template kendoTabContent >\n <mj-form-section Entity=\"Entities\" Section=\"audit\" [record]=\"record\" [EditMode]=\"this.EditMode\"></mj-form-section>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('API')\">\n <ng-template kendoTabTitle>API</ng-template>\n <ng-template kendoTabContent >\n <mj-form-section Entity=\"Entities\" Section=\"api\" [record]=\"record\" [EditMode]=\"this.EditMode\"></mj-form-section>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('DB')\">\n <ng-template kendoTabTitle>DB</ng-template>\n <ng-template kendoTabContent >\n <mj-form-section Entity=\"Entities\" Section=\"db\" [record]=\"record\" [EditMode]=\"this.EditMode\"></mj-form-section>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('UI')\">\n <ng-template kendoTabTitle>UI</ng-template>\n <ng-template kendoTabContent >\n <mj-form-section Entity=\"Entities\" Section=\"ui\" [record]=\"record\" [EditMode]=\"this.EditMode\"></mj-form-section>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Fields')\">\n <ng-template kendoTabTitle>Fields</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Entity Fields')\" \n [AllowLoad]=\"this.IsCurrentTab('Fields')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Permissions')\">\n <ng-template kendoTabTitle>Permissions</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Entity Permissions')\" \n [AllowLoad]=\"this.IsCurrentTab('Permissions')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Relationships')\">\n <ng-template kendoTabTitle>Relationships</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Entity Relationships')\" \n [AllowLoad]=\"this.IsCurrentTab('Relationships')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('AI Actions')\">\n <ng-template kendoTabTitle>AI Actions</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Entity AI Actions')\" \n [AllowLoad]=\"this.IsCurrentTab('AI Actions')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('User Record Logs')\">\n <ng-template kendoTabTitle>User Record Logs</ng-template>\n <ng-template kendoTabContent >\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\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Integration URL Formats')\">\n <ng-template kendoTabTitle>Integration URL Formats</ng-template>\n <ng-template kendoTabContent >\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\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Entities')\">\n <ng-template kendoTabTitle>Entities</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Entities')\" \n [AllowLoad]=\"this.IsCurrentTab('Entities')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('User Favorites')\">\n <ng-template kendoTabTitle>User Favorites</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('User Favorites')\" \n [AllowLoad]=\"this.IsCurrentTab('User Favorites')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Company Integration Run Details')\">\n <ng-template kendoTabTitle>Company Integration Run Details</ng-template>\n <ng-template kendoTabContent >\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\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Application Entities')\">\n <ng-template kendoTabTitle>Application Entities</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Application Entities')\" \n [AllowLoad]=\"this.IsCurrentTab('Application Entities')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('User Application Entities')\">\n <ng-template kendoTabTitle>User Application Entities</ng-template>\n <ng-template kendoTabContent >\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\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Lists')\">\n <ng-template kendoTabTitle>Lists</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Lists')\" \n [AllowLoad]=\"this.IsCurrentTab('Lists')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('User Views')\">\n <ng-template kendoTabTitle>User Views</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('User Views')\" \n [AllowLoad]=\"this.IsCurrentTab('User Views')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Record Changes')\">\n <ng-template kendoTabTitle>Record Changes</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Record Changes')\" \n [AllowLoad]=\"this.IsCurrentTab('Record Changes')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Audit Logs')\">\n <ng-template kendoTabTitle>Audit Logs</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Audit Logs')\" \n [AllowLoad]=\"this.IsCurrentTab('Audit Logs')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Resource Types')\">\n <ng-template kendoTabTitle>Resource Types</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Resource Types')\" \n [AllowLoad]=\"this.IsCurrentTab('Resource Types')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Tagged Items')\">\n <ng-template kendoTabTitle>Tagged Items</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Tagged Items')\" \n [AllowLoad]=\"this.IsCurrentTab('Tagged Items')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Dataset Items')\">\n <ng-template kendoTabTitle>Dataset Items</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Dataset Items')\" \n [AllowLoad]=\"this.IsCurrentTab('Dataset Items')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Company Integration Record Maps')\">\n <ng-template kendoTabTitle>Company Integration Record Maps</ng-template>\n <ng-template kendoTabContent >\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\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Record Merge Logs')\">\n <ng-template kendoTabTitle>Record Merge Logs</ng-template>\n <ng-template kendoTabContent >\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\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Query Fields')\">\n <ng-template kendoTabTitle>Query Fields</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Query Fields')\" \n [AllowLoad]=\"this.IsCurrentTab('Query Fields')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Conversations')\">\n <ng-template kendoTabTitle>Conversations</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Conversations')\" \n [AllowLoad]=\"this.IsCurrentTab('Conversations')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Entity Documents')\">\n <ng-template kendoTabTitle>Entity Documents</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Entity Documents')\" \n [AllowLoad]=\"this.IsCurrentTab('Entity Documents')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n </kendo-tabstrip>\n </kendo-splitter-pane>\n </kendo-splitter>\n </form>\n </div>\n ", styles: ["a {\r\n font-size: 14px;\r\n font-weight: bolder;\r\n}\r\n\r\n.record-form {\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n\r\n.record-form-group {\r\n margin-top: 0px;\r\n}\r\n\r\nbutton {\r\n margin-right: 5px;\r\n}\r\n\r\n.record-form h2 {\r\n margin-bottom: 10px;\r\n}\r\n\r\n.k-splitter {\r\n border-width: 0px;\r\n}\r\n\r\n.record-form-row {\r\n display: grid;\r\n grid-template-columns: auto 1fr;\r\n align-items: start;\r\n gap: 10px;\r\n margin-bottom: 12px;\r\n padding-top: 5px;\r\n padding-bottom: 5px;\r\n}\r\n\r\n\r\n/* .record-form .record-form-row:nth-child(odd) {\r\n background-color: #f2f2f2; \r\n} */\r\n\r\n/* \r\n.record-form .record-form-row:nth-child(even) {\r\n background-color: #ffffff; \r\n} */\r\n\r\n.record-form .record-form-row > :first-child {\r\n font-weight: bold;\r\n padding-right: 10px;\r\n} \r\n\r\n.record-form .record-form-row > span {\r\n white-space: pre-line;\r\n max-height: 300px;\r\n overflow: auto;\r\n}\r\n\r\n \r\n\r\n@media (min-width: 768px) {\r\n .record-form {\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n padding-bottom: 5px;\r\n }\r\n\r\n .record-form-row {\r\n flex-direction: row;\r\n align-items: center;\r\n }\r\n\r\n .record-form-row label {\r\n width: 240px;\r\n margin-bottom: 0;\r\n }\r\n}\r\n"] }]
|
|
422
450
|
}], null, null); })();
|
|
423
451
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(EntityFormComponent, { className: "EntityFormComponent", filePath: "src\\lib\\generated\\Entities\\Entity\\entity.form.component.ts", lineNumber: 17 }); })();
|
|
424
452
|
export function LoadEntityFormComponent() {
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { EntityDocumentEntity } from '@memberjunction/core-entities';
|
|
2
|
+
import { BaseFormComponent } from '@memberjunction/ng-explorer-core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class EntityDocumentFormComponent extends BaseFormComponent {
|
|
5
|
+
record: EntityDocumentEntity;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EntityDocumentFormComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EntityDocumentFormComponent, "gen-entitydocument-form", never, {}, {}, never, never, false, never>;
|
|
8
|
+
}
|
|
9
|
+
export declare function LoadEntityDocumentFormComponent(): void;
|
|
@@ -0,0 +1,81 @@
|
|
|
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-explorer-core';
|
|
10
|
+
import { LoadEntityDocumentDetailsComponent } 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 "@progress/kendo-angular-layout";
|
|
15
|
+
import * as i4 from "@memberjunction/ng-explorer-core";
|
|
16
|
+
import * as i5 from "@memberjunction/ng-user-view-grid";
|
|
17
|
+
function EntityDocumentFormComponent_form_1_ng_template_8_Template(rf, ctx) { if (rf & 1) {
|
|
18
|
+
i0.ɵɵtext(0, "Details");
|
|
19
|
+
} }
|
|
20
|
+
function EntityDocumentFormComponent_form_1_ng_template_9_Template(rf, ctx) { if (rf & 1) {
|
|
21
|
+
i0.ɵɵelement(0, "mj-form-section", 12);
|
|
22
|
+
} if (rf & 2) {
|
|
23
|
+
const ctx_r5 = i0.ɵɵnextContext(2);
|
|
24
|
+
i0.ɵɵproperty("record", ctx_r5.record)("EditMode", ctx_r5.EditMode);
|
|
25
|
+
} }
|
|
26
|
+
function EntityDocumentFormComponent_form_1_ng_template_11_Template(rf, ctx) { if (rf & 1) {
|
|
27
|
+
i0.ɵɵtext(0, "Entity Document Runs");
|
|
28
|
+
} }
|
|
29
|
+
function EntityDocumentFormComponent_form_1_ng_template_12_Template(rf, ctx) { if (rf & 1) {
|
|
30
|
+
i0.ɵɵelement(0, "mj-user-view-grid", 13);
|
|
31
|
+
} if (rf & 2) {
|
|
32
|
+
const ctx_r7 = i0.ɵɵnextContext(2);
|
|
33
|
+
i0.ɵɵproperty("Params", ctx_r7.BuildRelationshipViewParamsByEntityName("Entity Document Runs"))("AllowLoad", ctx_r7.IsCurrentTab("Entity Document Runs"))("EditMode", ctx_r7.GridEditMode())("BottomMargin", ctx_r7.GridBottomMargin);
|
|
34
|
+
} }
|
|
35
|
+
function EntityDocumentFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
36
|
+
const _r9 = i0.ɵɵgetCurrentView();
|
|
37
|
+
i0.ɵɵelementStart(0, "form", 2, 3)(2, "div", 4, 5);
|
|
38
|
+
i0.ɵɵelement(4, "mj-form-toolbar", 6);
|
|
39
|
+
i0.ɵɵelementEnd();
|
|
40
|
+
i0.ɵɵelementStart(5, "kendo-tabstrip", 7, 8);
|
|
41
|
+
i0.ɵɵlistener("tabSelect", function EntityDocumentFormComponent_form_1_Template_kendo_tabstrip_tabSelect_5_listener($event) { i0.ɵɵrestoreView(_r9); const ctx_r8 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r8.onTabSelect($event)); });
|
|
42
|
+
i0.ɵɵelementStart(7, "kendo-tabstrip-tab", 9);
|
|
43
|
+
i0.ɵɵtemplate(8, EntityDocumentFormComponent_form_1_ng_template_8_Template, 1, 0, "ng-template", 10)(9, EntityDocumentFormComponent_form_1_ng_template_9_Template, 1, 2, "ng-template", 11);
|
|
44
|
+
i0.ɵɵelementEnd();
|
|
45
|
+
i0.ɵɵelementStart(10, "kendo-tabstrip-tab", 9);
|
|
46
|
+
i0.ɵɵtemplate(11, EntityDocumentFormComponent_form_1_ng_template_11_Template, 1, 0, "ng-template", 10)(12, EntityDocumentFormComponent_form_1_ng_template_12_Template, 1, 4, "ng-template", 11);
|
|
47
|
+
i0.ɵɵelementEnd()()();
|
|
48
|
+
} if (rf & 2) {
|
|
49
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
50
|
+
i0.ɵɵadvance(4);
|
|
51
|
+
i0.ɵɵproperty("form", ctx_r0);
|
|
52
|
+
i0.ɵɵadvance();
|
|
53
|
+
i0.ɵɵproperty("keepTabContent", true)("animate", false)("height", ctx_r0.TabHeight);
|
|
54
|
+
i0.ɵɵadvance(2);
|
|
55
|
+
i0.ɵɵproperty("selected", ctx_r0.RegisterAndCheckIfCurrentTab("Details"));
|
|
56
|
+
i0.ɵɵadvance(3);
|
|
57
|
+
i0.ɵɵproperty("selected", ctx_r0.RegisterAndCheckIfCurrentTab("Entity Document Runs"));
|
|
58
|
+
} }
|
|
59
|
+
let EntityDocumentFormComponent = class EntityDocumentFormComponent extends BaseFormComponent {
|
|
60
|
+
};
|
|
61
|
+
EntityDocumentFormComponent.ɵfac = /*@__PURE__*/ (() => { let ɵEntityDocumentFormComponent_BaseFactory; return function EntityDocumentFormComponent_Factory(t) { return (ɵEntityDocumentFormComponent_BaseFactory || (ɵEntityDocumentFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(EntityDocumentFormComponent)))(t || EntityDocumentFormComponent); }; })();
|
|
62
|
+
EntityDocumentFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: EntityDocumentFormComponent, selectors: [["gen-entitydocument-form"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 1, consts: [[1, "record-form-container"], ["class", "record-form", 4, "ngIf"], [1, "record-form"], ["form", "ngForm"], [1, "record-form-group"], ["topArea", ""], [3, "form"], [3, "keepTabContent", "animate", "height", "tabSelect"], ["tabStrip", ""], [3, "selected"], ["kendoTabTitle", ""], ["kendoTabContent", ""], ["Entity", "Entity Documents", "Section", "details", 3, "record", "EditMode"], [3, "Params", "AllowLoad", "EditMode", "BottomMargin"]], template: function EntityDocumentFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
63
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
64
|
+
i0.ɵɵtemplate(1, EntityDocumentFormComponent_form_1_Template, 13, 6, "form", 1);
|
|
65
|
+
i0.ɵɵelementEnd();
|
|
66
|
+
} if (rf & 2) {
|
|
67
|
+
i0.ɵɵadvance();
|
|
68
|
+
i0.ɵɵproperty("ngIf", ctx.record);
|
|
69
|
+
} }, dependencies: [i1.NgIf, i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.TabStripComponent, i3.TabStripTabComponent, i3.TabContentDirective, i3.TabTitleDirective, i4.FormToolbarComponent, i4.SectionLoaderComponent, i5.UserViewGridComponent], styles: ["a[_ngcontent-%COMP%] {\r\n font-size: 14px;\r\n font-weight: bolder;\r\n}\r\n\r\n.record-form[_ngcontent-%COMP%] {\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n\r\n.record-form-group[_ngcontent-%COMP%] {\r\n margin-top: 0px;\r\n}\r\n\r\nbutton[_ngcontent-%COMP%] {\r\n margin-right: 5px;\r\n}\r\n\r\n.record-form[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] {\r\n margin-bottom: 10px;\r\n}\r\n\r\n.k-splitter[_ngcontent-%COMP%] {\r\n border-width: 0px;\r\n}\r\n\r\n.record-form-row[_ngcontent-%COMP%] {\r\n display: grid;\r\n grid-template-columns: auto 1fr;\r\n align-items: start;\r\n gap: 10px;\r\n margin-bottom: 12px;\r\n padding-top: 5px;\r\n padding-bottom: 5px;\r\n}\r\n\r\n\r\n\r\n\r\n\n\r\n\r\n\r\n\r\n\r\n\n\r\n\r\n.record-form[_ngcontent-%COMP%] .record-form-row[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:first-child {\r\n font-weight: bold;\r\n padding-right: 10px;\r\n} \r\n\r\n.record-form[_ngcontent-%COMP%] .record-form-row[_ngcontent-%COMP%] > span[_ngcontent-%COMP%] {\r\n white-space: pre-line;\r\n max-height: 300px;\r\n overflow: auto;\r\n}\r\n\r\n \r\n\r\n@media (min-width: 768px) {\r\n .record-form[_ngcontent-%COMP%] {\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n padding-bottom: 5px;\r\n }\r\n\r\n .record-form-row[_ngcontent-%COMP%] {\r\n flex-direction: row;\r\n align-items: center;\r\n }\r\n\r\n .record-form-row[_ngcontent-%COMP%] label[_ngcontent-%COMP%] {\r\n width: 240px;\r\n margin-bottom: 0;\r\n }\r\n}"] });
|
|
70
|
+
EntityDocumentFormComponent = __decorate([
|
|
71
|
+
RegisterClass(BaseFormComponent, 'Entity Documents') // Tell MemberJunction about this class
|
|
72
|
+
], EntityDocumentFormComponent);
|
|
73
|
+
export { EntityDocumentFormComponent };
|
|
74
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EntityDocumentFormComponent, [{
|
|
75
|
+
type: Component,
|
|
76
|
+
args: [{ selector: 'gen-entitydocument-form', template: "<div class=\"record-form-container\">\n <form *ngIf=\"record\" class=\"record-form\" #form=\"ngForm\">\n <div #topArea class=\"record-form-group\">\n <mj-form-toolbar [form]=\"this\"></mj-form-toolbar>\n \n </div>\n <kendo-tabstrip #tabStrip (tabSelect)=\"onTabSelect($event)\" [keepTabContent]=\"true\" [animate] = \"false\" [height]=\"TabHeight\" >\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Details')\">\n <ng-template kendoTabTitle>Details</ng-template>\n <ng-template kendoTabContent >\n <mj-form-section Entity=\"Entity Documents\" Section=\"details\" [record]=\"record\" [EditMode]=\"this.EditMode\"></mj-form-section>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Entity Document Runs')\">\n <ng-template kendoTabTitle>Entity Document Runs</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Entity Document Runs')\" \n [AllowLoad]=\"this.IsCurrentTab('Entity Document Runs')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n </kendo-tabstrip>\n </form>\n </div>\n ", styles: ["a {\r\n font-size: 14px;\r\n font-weight: bolder;\r\n}\r\n\r\n.record-form {\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n\r\n.record-form-group {\r\n margin-top: 0px;\r\n}\r\n\r\nbutton {\r\n margin-right: 5px;\r\n}\r\n\r\n.record-form h2 {\r\n margin-bottom: 10px;\r\n}\r\n\r\n.k-splitter {\r\n border-width: 0px;\r\n}\r\n\r\n.record-form-row {\r\n display: grid;\r\n grid-template-columns: auto 1fr;\r\n align-items: start;\r\n gap: 10px;\r\n margin-bottom: 12px;\r\n padding-top: 5px;\r\n padding-bottom: 5px;\r\n}\r\n\r\n\r\n/* .record-form .record-form-row:nth-child(odd) {\r\n background-color: #f2f2f2; \r\n} */\r\n\r\n/* \r\n.record-form .record-form-row:nth-child(even) {\r\n background-color: #ffffff; \r\n} */\r\n\r\n.record-form .record-form-row > :first-child {\r\n font-weight: bold;\r\n padding-right: 10px;\r\n} \r\n\r\n.record-form .record-form-row > span {\r\n white-space: pre-line;\r\n max-height: 300px;\r\n overflow: auto;\r\n}\r\n\r\n \r\n\r\n@media (min-width: 768px) {\r\n .record-form {\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n padding-bottom: 5px;\r\n }\r\n\r\n .record-form-row {\r\n flex-direction: row;\r\n align-items: center;\r\n }\r\n\r\n .record-form-row label {\r\n width: 240px;\r\n margin-bottom: 0;\r\n }\r\n}\r\n"] }]
|
|
77
|
+
}], null, null); })();
|
|
78
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(EntityDocumentFormComponent, { className: "EntityDocumentFormComponent", filePath: "src\\lib\\generated\\Entities\\EntityDocument\\entitydocument.form.component.ts", lineNumber: 12 }); })();
|
|
79
|
+
export function LoadEntityDocumentFormComponent() {
|
|
80
|
+
LoadEntityDocumentDetailsComponent();
|
|
81
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BaseFormSectionComponent } from '@memberjunction/ng-explorer-core';
|
|
2
|
+
import { EntityDocumentEntity } from '@memberjunction/core-entities';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class EntityDocumentDetailsComponent extends BaseFormSectionComponent {
|
|
5
|
+
record: EntityDocumentEntity;
|
|
6
|
+
EditMode: boolean;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EntityDocumentDetailsComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EntityDocumentDetailsComponent, "gen-entitydocument-form-details", never, { "record": { "alias": "record"; "required": false; }; "EditMode": { "alias": "EditMode"; "required": false; }; }, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
10
|
+
export declare function LoadEntityDocumentDetailsComponent(): void;
|