@memberjunction/ng-core-entity-forms 0.9.65 → 0.9.68
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/Dashboard/sections/details.component.js +68 -18
- package/dist/lib/generated/Entities/DashboardCategory/dashboardcategory.form.component.d.ts +9 -0
- package/dist/lib/generated/Entities/DashboardCategory/dashboardcategory.form.component.js +95 -0
- package/dist/lib/generated/Entities/DashboardCategory/sections/details.component.d.ts +10 -0
- package/dist/lib/generated/Entities/DashboardCategory/sections/details.component.js +216 -0
- package/dist/lib/generated/Entities/DataContext/datacontext.form.component.js +18 -4
- package/dist/lib/generated/Entities/Report/sections/details.component.js +189 -113
- package/dist/lib/generated/Entities/ReportCategory/reportcategory.form.component.d.ts +9 -0
- package/dist/lib/generated/Entities/ReportCategory/reportcategory.form.component.js +95 -0
- package/dist/lib/generated/Entities/ReportCategory/sections/details.component.d.ts +10 -0
- package/dist/lib/generated/Entities/ReportCategory/sections/details.component.js +216 -0
- package/dist/lib/generated/Entities/ResourceType/resourcetype.form.component.js +4 -18
- package/dist/lib/generated/Entities/User/user.form.component.js +8 -22
- package/dist/lib/generated/Entities/UserView/sections/details.component.js +111 -85
- package/dist/lib/generated/Entities/UserViewCategory/sections/details.component.d.ts +10 -0
- package/dist/lib/generated/Entities/UserViewCategory/sections/details.component.js +216 -0
- package/dist/lib/generated/Entities/UserViewCategory/userviewcategory.form.component.d.ts +9 -0
- package/dist/lib/generated/Entities/UserViewCategory/userviewcategory.form.component.js +95 -0
- package/dist/lib/generated/generated-forms.module.d.ts +114 -110
- package/dist/lib/generated/generated-forms.module.js +57 -41
- package/package.json +4 -4
|
@@ -0,0 +1,95 @@
|
|
|
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 { LoadReportCategoryDetailsComponent } 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 ReportCategoryFormComponent_form_1_ng_template_8_Template(rf, ctx) { if (rf & 1) {
|
|
18
|
+
i0.ɵɵtext(0, "Details");
|
|
19
|
+
} }
|
|
20
|
+
function ReportCategoryFormComponent_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 ReportCategoryFormComponent_form_1_ng_template_11_Template(rf, ctx) { if (rf & 1) {
|
|
27
|
+
i0.ɵɵtext(0, "Report Categories");
|
|
28
|
+
} }
|
|
29
|
+
function ReportCategoryFormComponent_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("Report Categories"))("AllowLoad", ctx_r7.IsCurrentTab("Report Categories"))("EditMode", ctx_r7.GridEditMode())("BottomMargin", ctx_r7.GridBottomMargin);
|
|
34
|
+
} }
|
|
35
|
+
function ReportCategoryFormComponent_form_1_ng_template_14_Template(rf, ctx) { if (rf & 1) {
|
|
36
|
+
i0.ɵɵtext(0, "Reports");
|
|
37
|
+
} }
|
|
38
|
+
function ReportCategoryFormComponent_form_1_ng_template_15_Template(rf, ctx) { if (rf & 1) {
|
|
39
|
+
i0.ɵɵelement(0, "mj-user-view-grid", 13);
|
|
40
|
+
} if (rf & 2) {
|
|
41
|
+
const ctx_r9 = i0.ɵɵnextContext(2);
|
|
42
|
+
i0.ɵɵproperty("Params", ctx_r9.BuildRelationshipViewParamsByEntityName("Reports"))("AllowLoad", ctx_r9.IsCurrentTab("Reports"))("EditMode", ctx_r9.GridEditMode())("BottomMargin", ctx_r9.GridBottomMargin);
|
|
43
|
+
} }
|
|
44
|
+
function ReportCategoryFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
45
|
+
const _r11 = i0.ɵɵgetCurrentView();
|
|
46
|
+
i0.ɵɵelementStart(0, "form", 2, 3)(2, "div", 4, 5);
|
|
47
|
+
i0.ɵɵelement(4, "mj-form-toolbar", 6);
|
|
48
|
+
i0.ɵɵelementEnd();
|
|
49
|
+
i0.ɵɵelementStart(5, "kendo-tabstrip", 7, 8);
|
|
50
|
+
i0.ɵɵlistener("tabSelect", function ReportCategoryFormComponent_form_1_Template_kendo_tabstrip_tabSelect_5_listener($event) { i0.ɵɵrestoreView(_r11); const ctx_r10 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r10.onTabSelect($event)); });
|
|
51
|
+
i0.ɵɵelementStart(7, "kendo-tabstrip-tab", 9);
|
|
52
|
+
i0.ɵɵtemplate(8, ReportCategoryFormComponent_form_1_ng_template_8_Template, 1, 0, "ng-template", 10)(9, ReportCategoryFormComponent_form_1_ng_template_9_Template, 1, 2, "ng-template", 11);
|
|
53
|
+
i0.ɵɵelementEnd();
|
|
54
|
+
i0.ɵɵelementStart(10, "kendo-tabstrip-tab", 9);
|
|
55
|
+
i0.ɵɵtemplate(11, ReportCategoryFormComponent_form_1_ng_template_11_Template, 1, 0, "ng-template", 10)(12, ReportCategoryFormComponent_form_1_ng_template_12_Template, 1, 4, "ng-template", 11);
|
|
56
|
+
i0.ɵɵelementEnd();
|
|
57
|
+
i0.ɵɵelementStart(13, "kendo-tabstrip-tab", 9);
|
|
58
|
+
i0.ɵɵtemplate(14, ReportCategoryFormComponent_form_1_ng_template_14_Template, 1, 0, "ng-template", 10)(15, ReportCategoryFormComponent_form_1_ng_template_15_Template, 1, 4, "ng-template", 11);
|
|
59
|
+
i0.ɵɵelementEnd()()();
|
|
60
|
+
} if (rf & 2) {
|
|
61
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
62
|
+
i0.ɵɵadvance(4);
|
|
63
|
+
i0.ɵɵproperty("form", ctx_r0);
|
|
64
|
+
i0.ɵɵadvance();
|
|
65
|
+
i0.ɵɵproperty("keepTabContent", true)("animate", false)("height", ctx_r0.TabHeight);
|
|
66
|
+
i0.ɵɵadvance(2);
|
|
67
|
+
i0.ɵɵproperty("selected", ctx_r0.RegisterAndCheckIfCurrentTab("Details"));
|
|
68
|
+
i0.ɵɵadvance(3);
|
|
69
|
+
i0.ɵɵproperty("selected", ctx_r0.RegisterAndCheckIfCurrentTab("Report Categories"));
|
|
70
|
+
i0.ɵɵadvance(3);
|
|
71
|
+
i0.ɵɵproperty("selected", ctx_r0.RegisterAndCheckIfCurrentTab("Reports"));
|
|
72
|
+
} }
|
|
73
|
+
let ReportCategoryFormComponent = class ReportCategoryFormComponent extends BaseFormComponent {
|
|
74
|
+
};
|
|
75
|
+
ReportCategoryFormComponent.ɵfac = /*@__PURE__*/ (() => { let ɵReportCategoryFormComponent_BaseFactory; return function ReportCategoryFormComponent_Factory(t) { return (ɵReportCategoryFormComponent_BaseFactory || (ɵReportCategoryFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ReportCategoryFormComponent)))(t || ReportCategoryFormComponent); }; })();
|
|
76
|
+
ReportCategoryFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReportCategoryFormComponent, selectors: [["gen-reportcategory-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", "Report Categories", "Section", "details", 3, "record", "EditMode"], [3, "Params", "AllowLoad", "EditMode", "BottomMargin"]], template: function ReportCategoryFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
77
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
78
|
+
i0.ɵɵtemplate(1, ReportCategoryFormComponent_form_1_Template, 16, 7, "form", 1);
|
|
79
|
+
i0.ɵɵelementEnd();
|
|
80
|
+
} if (rf & 2) {
|
|
81
|
+
i0.ɵɵadvance();
|
|
82
|
+
i0.ɵɵproperty("ngIf", ctx.record);
|
|
83
|
+
} }, 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}"] });
|
|
84
|
+
ReportCategoryFormComponent = __decorate([
|
|
85
|
+
RegisterClass(BaseFormComponent, 'Report Categories') // Tell MemberJunction about this class
|
|
86
|
+
], ReportCategoryFormComponent);
|
|
87
|
+
export { ReportCategoryFormComponent };
|
|
88
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReportCategoryFormComponent, [{
|
|
89
|
+
type: Component,
|
|
90
|
+
args: [{ selector: 'gen-reportcategory-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=\"Report Categories\" 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('Report Categories')\">\n <ng-template kendoTabTitle>Report Categories</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Report Categories')\" \n [AllowLoad]=\"this.IsCurrentTab('Report Categories')\" \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('Reports')\">\n <ng-template kendoTabTitle>Reports</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Reports')\" \n [AllowLoad]=\"this.IsCurrentTab('Reports')\" \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"] }]
|
|
91
|
+
}], null, null); })();
|
|
92
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReportCategoryFormComponent, { className: "ReportCategoryFormComponent", filePath: "src\\lib\\generated\\Entities\\ReportCategory\\reportcategory.form.component.ts", lineNumber: 12 }); })();
|
|
93
|
+
export function LoadReportCategoryFormComponent() {
|
|
94
|
+
LoadReportCategoryDetailsComponent();
|
|
95
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BaseFormSectionComponent } from '@memberjunction/ng-explorer-core';
|
|
2
|
+
import { ReportCategoryEntity } from '@memberjunction/core-entities';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ReportCategoryDetailsComponent extends BaseFormSectionComponent {
|
|
5
|
+
record: ReportCategoryEntity;
|
|
6
|
+
EditMode: boolean;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ReportCategoryDetailsComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ReportCategoryDetailsComponent, "gen-reportcategory-form-details", never, { "record": { "alias": "record"; "required": false; }; "EditMode": { "alias": "EditMode"; "required": false; }; }, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
10
|
+
export declare function LoadReportCategoryDetailsComponent(): void;
|
|
@@ -0,0 +1,216 @@
|
|
|
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-explorer-core';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
import * as i1 from "@angular/common";
|
|
12
|
+
import * as i2 from "@angular/forms";
|
|
13
|
+
import * as i3 from "@progress/kendo-angular-inputs";
|
|
14
|
+
import * as i4 from "@memberjunction/ng-link-directives";
|
|
15
|
+
function ReportCategoryDetailsComponent_div_0_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
16
|
+
const _r4 = i0.ɵɵgetCurrentView();
|
|
17
|
+
i0.ɵɵelementStart(0, "div", 2)(1, "div", 3)(2, "label", 4);
|
|
18
|
+
i0.ɵɵtext(3, "Name");
|
|
19
|
+
i0.ɵɵelementEnd();
|
|
20
|
+
i0.ɵɵelementStart(4, "kendo-textbox", 5);
|
|
21
|
+
i0.ɵɵlistener("ngModelChange", function ReportCategoryDetailsComponent_div_0_div_1_Template_kendo_textbox_ngModelChange_4_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r3 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r3.record.Name = $event); });
|
|
22
|
+
i0.ɵɵelementEnd()();
|
|
23
|
+
i0.ɵɵelementStart(5, "div", 3)(6, "label", 4);
|
|
24
|
+
i0.ɵɵtext(7, "Description");
|
|
25
|
+
i0.ɵɵelementEnd();
|
|
26
|
+
i0.ɵɵelementStart(8, "kendo-textbox", 5);
|
|
27
|
+
i0.ɵɵlistener("ngModelChange", function ReportCategoryDetailsComponent_div_0_div_1_Template_kendo_textbox_ngModelChange_8_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r5 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r5.record.Description = $event); });
|
|
28
|
+
i0.ɵɵelementEnd()();
|
|
29
|
+
i0.ɵɵelementStart(9, "div", 3)(10, "label", 4);
|
|
30
|
+
i0.ɵɵtext(11, "Parent ID");
|
|
31
|
+
i0.ɵɵelementEnd();
|
|
32
|
+
i0.ɵɵelementStart(12, "kendo-numerictextbox", 6);
|
|
33
|
+
i0.ɵɵlistener("valueChange", function ReportCategoryDetailsComponent_div_0_div_1_Template_kendo_numerictextbox_valueChange_12_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r6 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r6.record.ParentID = $event); });
|
|
34
|
+
i0.ɵɵelementEnd()();
|
|
35
|
+
i0.ɵɵelementStart(13, "div", 3)(14, "label", 4);
|
|
36
|
+
i0.ɵɵtext(15, "Created At");
|
|
37
|
+
i0.ɵɵelementEnd();
|
|
38
|
+
i0.ɵɵelementStart(16, "span");
|
|
39
|
+
i0.ɵɵtext(17);
|
|
40
|
+
i0.ɵɵelementEnd()();
|
|
41
|
+
i0.ɵɵelementStart(18, "div", 3)(19, "label", 4);
|
|
42
|
+
i0.ɵɵtext(20, "Updated At");
|
|
43
|
+
i0.ɵɵelementEnd();
|
|
44
|
+
i0.ɵɵelementStart(21, "span");
|
|
45
|
+
i0.ɵɵtext(22);
|
|
46
|
+
i0.ɵɵelementEnd()();
|
|
47
|
+
i0.ɵɵelementStart(23, "div", 3)(24, "label", 4);
|
|
48
|
+
i0.ɵɵtext(25, "Parent");
|
|
49
|
+
i0.ɵɵelementEnd();
|
|
50
|
+
i0.ɵɵelementStart(26, "span");
|
|
51
|
+
i0.ɵɵtext(27);
|
|
52
|
+
i0.ɵɵelementEnd()()();
|
|
53
|
+
} if (rf & 2) {
|
|
54
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
55
|
+
i0.ɵɵadvance(4);
|
|
56
|
+
i0.ɵɵproperty("ngModel", ctx_r1.record.Name);
|
|
57
|
+
i0.ɵɵadvance(4);
|
|
58
|
+
i0.ɵɵproperty("ngModel", ctx_r1.record.Description);
|
|
59
|
+
i0.ɵɵadvance(4);
|
|
60
|
+
i0.ɵɵproperty("value", ctx_r1.record.ParentID);
|
|
61
|
+
i0.ɵɵadvance(5);
|
|
62
|
+
i0.ɵɵtextInterpolate(ctx_r1.FormatValue("CreatedAt", 0));
|
|
63
|
+
i0.ɵɵadvance(5);
|
|
64
|
+
i0.ɵɵtextInterpolate(ctx_r1.FormatValue("UpdatedAt", 0));
|
|
65
|
+
i0.ɵɵadvance(5);
|
|
66
|
+
i0.ɵɵtextInterpolate(ctx_r1.FormatValue("Parent", 0));
|
|
67
|
+
} }
|
|
68
|
+
function ReportCategoryDetailsComponent_div_0_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
69
|
+
i0.ɵɵelementStart(0, "div", 2)(1, "div", 3)(2, "label", 4);
|
|
70
|
+
i0.ɵɵtext(3, "Name");
|
|
71
|
+
i0.ɵɵelementEnd();
|
|
72
|
+
i0.ɵɵelementStart(4, "span");
|
|
73
|
+
i0.ɵɵtext(5);
|
|
74
|
+
i0.ɵɵelementEnd()();
|
|
75
|
+
i0.ɵɵelementStart(6, "div", 3)(7, "label", 4);
|
|
76
|
+
i0.ɵɵtext(8, "Description");
|
|
77
|
+
i0.ɵɵelementEnd();
|
|
78
|
+
i0.ɵɵelementStart(9, "span");
|
|
79
|
+
i0.ɵɵtext(10);
|
|
80
|
+
i0.ɵɵelementEnd()();
|
|
81
|
+
i0.ɵɵelementStart(11, "div", 3)(12, "label", 4);
|
|
82
|
+
i0.ɵɵtext(13, "Parent ID");
|
|
83
|
+
i0.ɵɵelementEnd();
|
|
84
|
+
i0.ɵɵelementStart(14, "span", 7);
|
|
85
|
+
i0.ɵɵtext(15);
|
|
86
|
+
i0.ɵɵelementEnd()();
|
|
87
|
+
i0.ɵɵelementStart(16, "div", 3)(17, "label", 4);
|
|
88
|
+
i0.ɵɵtext(18, "Created At");
|
|
89
|
+
i0.ɵɵelementEnd();
|
|
90
|
+
i0.ɵɵelementStart(19, "span");
|
|
91
|
+
i0.ɵɵtext(20);
|
|
92
|
+
i0.ɵɵelementEnd()();
|
|
93
|
+
i0.ɵɵelementStart(21, "div", 3)(22, "label", 4);
|
|
94
|
+
i0.ɵɵtext(23, "Updated At");
|
|
95
|
+
i0.ɵɵelementEnd();
|
|
96
|
+
i0.ɵɵelementStart(24, "span");
|
|
97
|
+
i0.ɵɵtext(25);
|
|
98
|
+
i0.ɵɵelementEnd()();
|
|
99
|
+
i0.ɵɵelementStart(26, "div", 3)(27, "label", 4);
|
|
100
|
+
i0.ɵɵtext(28, "Parent");
|
|
101
|
+
i0.ɵɵelementEnd();
|
|
102
|
+
i0.ɵɵelementStart(29, "span");
|
|
103
|
+
i0.ɵɵtext(30);
|
|
104
|
+
i0.ɵɵelementEnd()()();
|
|
105
|
+
} if (rf & 2) {
|
|
106
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
107
|
+
i0.ɵɵadvance(5);
|
|
108
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("Name", 0));
|
|
109
|
+
i0.ɵɵadvance(5);
|
|
110
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("Description", 0));
|
|
111
|
+
i0.ɵɵadvance(4);
|
|
112
|
+
i0.ɵɵproperty("record", ctx_r2.record);
|
|
113
|
+
i0.ɵɵadvance();
|
|
114
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("ParentID", 0));
|
|
115
|
+
i0.ɵɵadvance(5);
|
|
116
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("CreatedAt", 0));
|
|
117
|
+
i0.ɵɵadvance(5);
|
|
118
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("UpdatedAt", 0));
|
|
119
|
+
i0.ɵɵadvance(5);
|
|
120
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("Parent", 0));
|
|
121
|
+
} }
|
|
122
|
+
function ReportCategoryDetailsComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
123
|
+
i0.ɵɵelementStart(0, "div");
|
|
124
|
+
i0.ɵɵtemplate(1, ReportCategoryDetailsComponent_div_0_div_1_Template, 28, 6, "div", 1)(2, ReportCategoryDetailsComponent_div_0_div_2_Template, 31, 7, "div", 1);
|
|
125
|
+
i0.ɵɵelementEnd();
|
|
126
|
+
} if (rf & 2) {
|
|
127
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
128
|
+
i0.ɵɵadvance();
|
|
129
|
+
i0.ɵɵproperty("ngIf", ctx_r0.EditMode);
|
|
130
|
+
i0.ɵɵadvance();
|
|
131
|
+
i0.ɵɵproperty("ngIf", !ctx_r0.EditMode);
|
|
132
|
+
} }
|
|
133
|
+
let ReportCategoryDetailsComponent = class ReportCategoryDetailsComponent extends BaseFormSectionComponent {
|
|
134
|
+
constructor() {
|
|
135
|
+
super(...arguments);
|
|
136
|
+
this.EditMode = false;
|
|
137
|
+
}
|
|
138
|
+
};
|
|
139
|
+
ReportCategoryDetailsComponent.ɵfac = /*@__PURE__*/ (() => { let ɵReportCategoryDetailsComponent_BaseFactory; return function ReportCategoryDetailsComponent_Factory(t) { return (ɵReportCategoryDetailsComponent_BaseFactory || (ɵReportCategoryDetailsComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ReportCategoryDetailsComponent)))(t || ReportCategoryDetailsComponent); }; })();
|
|
140
|
+
ReportCategoryDetailsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReportCategoryDetailsComponent, selectors: [["gen-reportcategory-form-details"]], inputs: { record: "record", EditMode: "EditMode" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[4, "ngIf"], ["class", "record-form", 4, "ngIf"], [1, "record-form"], [1, "record-form-row"], [1, "fieldLabel"], [3, "ngModel", "ngModelChange"], [3, "value", "valueChange"], ["mjFieldLink", "", "fieldName", "ParentID", 3, "record"]], template: function ReportCategoryDetailsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
141
|
+
i0.ɵɵtemplate(0, ReportCategoryDetailsComponent_div_0_Template, 3, 2, "div", 0);
|
|
142
|
+
} if (rf & 2) {
|
|
143
|
+
i0.ɵɵproperty("ngIf", ctx.record);
|
|
144
|
+
} }, dependencies: [i1.NgIf, i2.NgControlStatus, i2.NgModel, i3.TextBoxComponent, i3.NumericTextBoxComponent, i4.FieldLink], 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}"] });
|
|
145
|
+
ReportCategoryDetailsComponent = __decorate([
|
|
146
|
+
RegisterClass(BaseFormSectionComponent, 'Report Categories.details') // Tell MemberJunction about this class
|
|
147
|
+
], ReportCategoryDetailsComponent);
|
|
148
|
+
export { ReportCategoryDetailsComponent };
|
|
149
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReportCategoryDetailsComponent, [{
|
|
150
|
+
type: Component,
|
|
151
|
+
args: [{ selector: 'gen-reportcategory-form-details', template: `<div *ngIf="this.record">
|
|
152
|
+
<div *ngIf="this.EditMode" class="record-form">
|
|
153
|
+
|
|
154
|
+
<div class="record-form-row">
|
|
155
|
+
<label class="fieldLabel">Name</label>
|
|
156
|
+
<kendo-textbox [(ngModel)]="record.Name" />
|
|
157
|
+
</div>
|
|
158
|
+
<div class="record-form-row">
|
|
159
|
+
<label class="fieldLabel">Description</label>
|
|
160
|
+
<kendo-textbox [(ngModel)]="record.Description" />
|
|
161
|
+
</div>
|
|
162
|
+
<div class="record-form-row">
|
|
163
|
+
<label class="fieldLabel">Parent ID</label>
|
|
164
|
+
<kendo-numerictextbox [(value)]="record.ParentID" ></kendo-numerictextbox>
|
|
165
|
+
</div>
|
|
166
|
+
<div class="record-form-row">
|
|
167
|
+
<label class="fieldLabel">Created At</label>
|
|
168
|
+
<span >{{FormatValue('CreatedAt', 0)}}</span>
|
|
169
|
+
</div>
|
|
170
|
+
<div class="record-form-row">
|
|
171
|
+
<label class="fieldLabel">Updated At</label>
|
|
172
|
+
<span >{{FormatValue('UpdatedAt', 0)}}</span>
|
|
173
|
+
</div>
|
|
174
|
+
<div class="record-form-row">
|
|
175
|
+
<label class="fieldLabel">Parent</label>
|
|
176
|
+
<span >{{FormatValue('Parent', 0)}}</span>
|
|
177
|
+
</div>
|
|
178
|
+
</div>
|
|
179
|
+
<div *ngIf="!this.EditMode" class="record-form">
|
|
180
|
+
|
|
181
|
+
<div class="record-form-row">
|
|
182
|
+
<label class="fieldLabel">Name</label>
|
|
183
|
+
<span >{{FormatValue('Name', 0)}}</span>
|
|
184
|
+
</div>
|
|
185
|
+
<div class="record-form-row">
|
|
186
|
+
<label class="fieldLabel">Description</label>
|
|
187
|
+
<span >{{FormatValue('Description', 0)}}</span>
|
|
188
|
+
</div>
|
|
189
|
+
<div class="record-form-row">
|
|
190
|
+
<label class="fieldLabel">Parent ID</label>
|
|
191
|
+
<span mjFieldLink [record]="record" fieldName="ParentID" >{{FormatValue('ParentID', 0)}}</span>
|
|
192
|
+
</div>
|
|
193
|
+
<div class="record-form-row">
|
|
194
|
+
<label class="fieldLabel">Created At</label>
|
|
195
|
+
<span >{{FormatValue('CreatedAt', 0)}}</span>
|
|
196
|
+
</div>
|
|
197
|
+
<div class="record-form-row">
|
|
198
|
+
<label class="fieldLabel">Updated At</label>
|
|
199
|
+
<span >{{FormatValue('UpdatedAt', 0)}}</span>
|
|
200
|
+
</div>
|
|
201
|
+
<div class="record-form-row">
|
|
202
|
+
<label class="fieldLabel">Parent</label>
|
|
203
|
+
<span >{{FormatValue('Parent', 0)}}</span>
|
|
204
|
+
</div>
|
|
205
|
+
</div>
|
|
206
|
+
</div>
|
|
207
|
+
`, 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"] }]
|
|
208
|
+
}], null, { record: [{
|
|
209
|
+
type: Input
|
|
210
|
+
}], EditMode: [{
|
|
211
|
+
type: Input
|
|
212
|
+
}] }); })();
|
|
213
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReportCategoryDetailsComponent, { className: "ReportCategoryDetailsComponent", filePath: "src\\lib\\generated\\Entities\\ReportCategory\\sections\\details.component.ts", lineNumber: 68 }); })();
|
|
214
|
+
export function LoadReportCategoryDetailsComponent() {
|
|
215
|
+
// does nothing, but called in order to prevent tree-shaking from eliminating this component from the build
|
|
216
|
+
}
|
|
@@ -32,30 +32,18 @@ function ResourceTypeFormComponent_form_1_ng_template_12_Template(rf, ctx) { if
|
|
|
32
32
|
const ctx_r7 = i0.ɵɵnextContext(2);
|
|
33
33
|
i0.ɵɵproperty("Params", ctx_r7.BuildRelationshipViewParamsByEntityName("Workspace Items"))("AllowLoad", ctx_r7.IsCurrentTab("Workspace Items"))("EditMode", ctx_r7.GridEditMode())("BottomMargin", ctx_r7.GridBottomMargin);
|
|
34
34
|
} }
|
|
35
|
-
function ResourceTypeFormComponent_form_1_ng_template_14_Template(rf, ctx) { if (rf & 1) {
|
|
36
|
-
i0.ɵɵtext(0, "Resource Folders");
|
|
37
|
-
} }
|
|
38
|
-
function ResourceTypeFormComponent_form_1_ng_template_15_Template(rf, ctx) { if (rf & 1) {
|
|
39
|
-
i0.ɵɵelement(0, "mj-user-view-grid", 13);
|
|
40
|
-
} if (rf & 2) {
|
|
41
|
-
const ctx_r9 = i0.ɵɵnextContext(2);
|
|
42
|
-
i0.ɵɵproperty("Params", ctx_r9.BuildRelationshipViewParamsByEntityName("Resource Folders"))("AllowLoad", ctx_r9.IsCurrentTab("Resource Folders"))("EditMode", ctx_r9.GridEditMode())("BottomMargin", ctx_r9.GridBottomMargin);
|
|
43
|
-
} }
|
|
44
35
|
function ResourceTypeFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
45
|
-
const
|
|
36
|
+
const _r9 = i0.ɵɵgetCurrentView();
|
|
46
37
|
i0.ɵɵelementStart(0, "form", 2, 3)(2, "div", 4, 5);
|
|
47
38
|
i0.ɵɵelement(4, "mj-form-toolbar", 6);
|
|
48
39
|
i0.ɵɵelementEnd();
|
|
49
40
|
i0.ɵɵelementStart(5, "kendo-tabstrip", 7, 8);
|
|
50
|
-
i0.ɵɵlistener("tabSelect", function ResourceTypeFormComponent_form_1_Template_kendo_tabstrip_tabSelect_5_listener($event) { i0.ɵɵrestoreView(
|
|
41
|
+
i0.ɵɵlistener("tabSelect", function ResourceTypeFormComponent_form_1_Template_kendo_tabstrip_tabSelect_5_listener($event) { i0.ɵɵrestoreView(_r9); const ctx_r8 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r8.onTabSelect($event)); });
|
|
51
42
|
i0.ɵɵelementStart(7, "kendo-tabstrip-tab", 9);
|
|
52
43
|
i0.ɵɵtemplate(8, ResourceTypeFormComponent_form_1_ng_template_8_Template, 1, 0, "ng-template", 10)(9, ResourceTypeFormComponent_form_1_ng_template_9_Template, 1, 2, "ng-template", 11);
|
|
53
44
|
i0.ɵɵelementEnd();
|
|
54
45
|
i0.ɵɵelementStart(10, "kendo-tabstrip-tab", 9);
|
|
55
46
|
i0.ɵɵtemplate(11, ResourceTypeFormComponent_form_1_ng_template_11_Template, 1, 0, "ng-template", 10)(12, ResourceTypeFormComponent_form_1_ng_template_12_Template, 1, 4, "ng-template", 11);
|
|
56
|
-
i0.ɵɵelementEnd();
|
|
57
|
-
i0.ɵɵelementStart(13, "kendo-tabstrip-tab", 9);
|
|
58
|
-
i0.ɵɵtemplate(14, ResourceTypeFormComponent_form_1_ng_template_14_Template, 1, 0, "ng-template", 10)(15, ResourceTypeFormComponent_form_1_ng_template_15_Template, 1, 4, "ng-template", 11);
|
|
59
47
|
i0.ɵɵelementEnd()()();
|
|
60
48
|
} if (rf & 2) {
|
|
61
49
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -67,15 +55,13 @@ function ResourceTypeFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
67
55
|
i0.ɵɵproperty("selected", ctx_r0.RegisterAndCheckIfCurrentTab("Details"));
|
|
68
56
|
i0.ɵɵadvance(3);
|
|
69
57
|
i0.ɵɵproperty("selected", ctx_r0.RegisterAndCheckIfCurrentTab("Workspace Items"));
|
|
70
|
-
i0.ɵɵadvance(3);
|
|
71
|
-
i0.ɵɵproperty("selected", ctx_r0.RegisterAndCheckIfCurrentTab("Resource Folders"));
|
|
72
58
|
} }
|
|
73
59
|
let ResourceTypeFormComponent = class ResourceTypeFormComponent extends BaseFormComponent {
|
|
74
60
|
};
|
|
75
61
|
ResourceTypeFormComponent.ɵfac = /*@__PURE__*/ (() => { let ɵResourceTypeFormComponent_BaseFactory; return function ResourceTypeFormComponent_Factory(t) { return (ɵResourceTypeFormComponent_BaseFactory || (ɵResourceTypeFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ResourceTypeFormComponent)))(t || ResourceTypeFormComponent); }; })();
|
|
76
62
|
ResourceTypeFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ResourceTypeFormComponent, selectors: [["gen-resourcetype-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", "Resource Types", "Section", "details", 3, "record", "EditMode"], [3, "Params", "AllowLoad", "EditMode", "BottomMargin"]], template: function ResourceTypeFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
77
63
|
i0.ɵɵelementStart(0, "div", 0);
|
|
78
|
-
i0.ɵɵtemplate(1, ResourceTypeFormComponent_form_1_Template,
|
|
64
|
+
i0.ɵɵtemplate(1, ResourceTypeFormComponent_form_1_Template, 13, 6, "form", 1);
|
|
79
65
|
i0.ɵɵelementEnd();
|
|
80
66
|
} if (rf & 2) {
|
|
81
67
|
i0.ɵɵadvance();
|
|
@@ -87,7 +73,7 @@ ResourceTypeFormComponent = __decorate([
|
|
|
87
73
|
export { ResourceTypeFormComponent };
|
|
88
74
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ResourceTypeFormComponent, [{
|
|
89
75
|
type: Component,
|
|
90
|
-
args: [{ selector: 'gen-resourcetype-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=\"Resource Types\" 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('Workspace Items')\">\n <ng-template kendoTabTitle>Workspace Items</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Workspace Items')\" \n [AllowLoad]=\"this.IsCurrentTab('Workspace Items')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n
|
|
76
|
+
args: [{ selector: 'gen-resourcetype-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=\"Resource Types\" 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('Workspace Items')\">\n <ng-template kendoTabTitle>Workspace Items</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Workspace Items')\" \n [AllowLoad]=\"this.IsCurrentTab('Workspace Items')\" \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"] }]
|
|
91
77
|
}], null, null); })();
|
|
92
78
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ResourceTypeFormComponent, { className: "ResourceTypeFormComponent", filePath: "src\\lib\\generated\\Entities\\ResourceType\\resourcetype.form.component.ts", lineNumber: 12 }); })();
|
|
93
79
|
export function LoadResourceTypeFormComponent() {
|
|
@@ -168,39 +168,30 @@ function UserFormComponent_form_1_ng_template_57_Template(rf, ctx) { if (rf & 1)
|
|
|
168
168
|
i0.ɵɵproperty("Params", ctx_r37.BuildRelationshipViewParamsByEntityName("Conversations"))("AllowLoad", ctx_r37.IsCurrentTab("Conversations"))("EditMode", ctx_r37.GridEditMode())("BottomMargin", ctx_r37.GridBottomMargin);
|
|
169
169
|
} }
|
|
170
170
|
function UserFormComponent_form_1_ng_template_59_Template(rf, ctx) { if (rf & 1) {
|
|
171
|
-
i0.ɵɵtext(0, "
|
|
171
|
+
i0.ɵɵtext(0, "Record Merge Logs");
|
|
172
172
|
} }
|
|
173
173
|
function UserFormComponent_form_1_ng_template_60_Template(rf, ctx) { if (rf & 1) {
|
|
174
174
|
i0.ɵɵelement(0, "mj-user-view-grid", 13);
|
|
175
175
|
} if (rf & 2) {
|
|
176
176
|
const ctx_r39 = i0.ɵɵnextContext(2);
|
|
177
|
-
i0.ɵɵproperty("Params", ctx_r39.BuildRelationshipViewParamsByEntityName("
|
|
177
|
+
i0.ɵɵproperty("Params", ctx_r39.BuildRelationshipViewParamsByEntityName("Record Merge Logs"))("AllowLoad", ctx_r39.IsCurrentTab("Record Merge Logs"))("EditMode", ctx_r39.GridEditMode())("BottomMargin", ctx_r39.GridBottomMargin);
|
|
178
178
|
} }
|
|
179
179
|
function UserFormComponent_form_1_ng_template_62_Template(rf, ctx) { if (rf & 1) {
|
|
180
|
-
i0.ɵɵtext(0, "
|
|
180
|
+
i0.ɵɵtext(0, "Data Contexts");
|
|
181
181
|
} }
|
|
182
182
|
function UserFormComponent_form_1_ng_template_63_Template(rf, ctx) { if (rf & 1) {
|
|
183
183
|
i0.ɵɵelement(0, "mj-user-view-grid", 13);
|
|
184
184
|
} if (rf & 2) {
|
|
185
185
|
const ctx_r41 = i0.ɵɵnextContext(2);
|
|
186
|
-
i0.ɵɵproperty("Params", ctx_r41.BuildRelationshipViewParamsByEntityName("
|
|
187
|
-
} }
|
|
188
|
-
function UserFormComponent_form_1_ng_template_65_Template(rf, ctx) { if (rf & 1) {
|
|
189
|
-
i0.ɵɵtext(0, "Data Contexts");
|
|
190
|
-
} }
|
|
191
|
-
function UserFormComponent_form_1_ng_template_66_Template(rf, ctx) { if (rf & 1) {
|
|
192
|
-
i0.ɵɵelement(0, "mj-user-view-grid", 13);
|
|
193
|
-
} if (rf & 2) {
|
|
194
|
-
const ctx_r43 = i0.ɵɵnextContext(2);
|
|
195
|
-
i0.ɵɵproperty("Params", ctx_r43.BuildRelationshipViewParamsByEntityName("Data Contexts"))("AllowLoad", ctx_r43.IsCurrentTab("Data Contexts"))("EditMode", ctx_r43.GridEditMode())("BottomMargin", ctx_r43.GridBottomMargin);
|
|
186
|
+
i0.ɵɵproperty("Params", ctx_r41.BuildRelationshipViewParamsByEntityName("Data Contexts"))("AllowLoad", ctx_r41.IsCurrentTab("Data Contexts"))("EditMode", ctx_r41.GridEditMode())("BottomMargin", ctx_r41.GridBottomMargin);
|
|
196
187
|
} }
|
|
197
188
|
function UserFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
198
|
-
const
|
|
189
|
+
const _r43 = i0.ɵɵgetCurrentView();
|
|
199
190
|
i0.ɵɵelementStart(0, "form", 2, 3)(2, "div", 4, 5);
|
|
200
191
|
i0.ɵɵelement(4, "mj-form-toolbar", 6);
|
|
201
192
|
i0.ɵɵelementEnd();
|
|
202
193
|
i0.ɵɵelementStart(5, "kendo-tabstrip", 7, 8);
|
|
203
|
-
i0.ɵɵlistener("tabSelect", function UserFormComponent_form_1_Template_kendo_tabstrip_tabSelect_5_listener($event) { i0.ɵɵrestoreView(
|
|
194
|
+
i0.ɵɵlistener("tabSelect", function UserFormComponent_form_1_Template_kendo_tabstrip_tabSelect_5_listener($event) { i0.ɵɵrestoreView(_r43); const ctx_r42 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r42.onTabSelect($event)); });
|
|
204
195
|
i0.ɵɵelementStart(7, "kendo-tabstrip-tab", 9);
|
|
205
196
|
i0.ɵɵtemplate(8, UserFormComponent_form_1_ng_template_8_Template, 1, 0, "ng-template", 10)(9, UserFormComponent_form_1_ng_template_9_Template, 1, 2, "ng-template", 11);
|
|
206
197
|
i0.ɵɵelementEnd();
|
|
@@ -257,9 +248,6 @@ function UserFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
257
248
|
i0.ɵɵelementEnd();
|
|
258
249
|
i0.ɵɵelementStart(61, "kendo-tabstrip-tab", 9);
|
|
259
250
|
i0.ɵɵtemplate(62, UserFormComponent_form_1_ng_template_62_Template, 1, 0, "ng-template", 10)(63, UserFormComponent_form_1_ng_template_63_Template, 1, 4, "ng-template", 11);
|
|
260
|
-
i0.ɵɵelementEnd();
|
|
261
|
-
i0.ɵɵelementStart(64, "kendo-tabstrip-tab", 9);
|
|
262
|
-
i0.ɵɵtemplate(65, UserFormComponent_form_1_ng_template_65_Template, 1, 0, "ng-template", 10)(66, UserFormComponent_form_1_ng_template_66_Template, 1, 4, "ng-template", 11);
|
|
263
251
|
i0.ɵɵelementEnd()()();
|
|
264
252
|
} if (rf & 2) {
|
|
265
253
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -302,8 +290,6 @@ function UserFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
302
290
|
i0.ɵɵadvance(3);
|
|
303
291
|
i0.ɵɵproperty("selected", ctx_r0.RegisterAndCheckIfCurrentTab("Conversations"));
|
|
304
292
|
i0.ɵɵadvance(3);
|
|
305
|
-
i0.ɵɵproperty("selected", ctx_r0.RegisterAndCheckIfCurrentTab("Resource Folders"));
|
|
306
|
-
i0.ɵɵadvance(3);
|
|
307
293
|
i0.ɵɵproperty("selected", ctx_r0.RegisterAndCheckIfCurrentTab("Record Merge Logs"));
|
|
308
294
|
i0.ɵɵadvance(3);
|
|
309
295
|
i0.ɵɵproperty("selected", ctx_r0.RegisterAndCheckIfCurrentTab("Data Contexts"));
|
|
@@ -313,7 +299,7 @@ let UserFormComponent = class UserFormComponent extends BaseFormComponent {
|
|
|
313
299
|
UserFormComponent.ɵfac = /*@__PURE__*/ (() => { let ɵUserFormComponent_BaseFactory; return function UserFormComponent_Factory(t) { return (ɵUserFormComponent_BaseFactory || (ɵUserFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(UserFormComponent)))(t || UserFormComponent); }; })();
|
|
314
300
|
UserFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: UserFormComponent, selectors: [["gen-user-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", "Users", "Section", "details", 3, "record", "EditMode"], [3, "Params", "AllowLoad", "EditMode", "BottomMargin"]], template: function UserFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
315
301
|
i0.ɵɵelementStart(0, "div", 0);
|
|
316
|
-
i0.ɵɵtemplate(1, UserFormComponent_form_1_Template,
|
|
302
|
+
i0.ɵɵtemplate(1, UserFormComponent_form_1_Template, 64, 23, "form", 1);
|
|
317
303
|
i0.ɵɵelementEnd();
|
|
318
304
|
} if (rf & 2) {
|
|
319
305
|
i0.ɵɵadvance();
|
|
@@ -325,7 +311,7 @@ UserFormComponent = __decorate([
|
|
|
325
311
|
export { UserFormComponent };
|
|
326
312
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UserFormComponent, [{
|
|
327
313
|
type: Component,
|
|
328
|
-
args: [{ selector: 'gen-user-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=\"Users\" 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('User Applications')\">\n <ng-template kendoTabTitle>User Applications</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('User Applications')\" \n [AllowLoad]=\"this.IsCurrentTab('User Applications')\" \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('Roles')\">\n <ng-template kendoTabTitle>Roles</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('User Roles')\" \n [AllowLoad]=\"this.IsCurrentTab('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('Workspaces')\">\n <ng-template kendoTabTitle>Workspaces</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Workspaces')\" \n [AllowLoad]=\"this.IsCurrentTab('Workspaces')\" \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('Reports')\">\n <ng-template kendoTabTitle>Reports</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Reports')\" \n [AllowLoad]=\"this.IsCurrentTab('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('Report Snapshots')\">\n <ng-template kendoTabTitle>Report Snapshots</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Report Snapshots')\" \n [AllowLoad]=\"this.IsCurrentTab('Report Snapshots')\" \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('Dashboards')\">\n <ng-template kendoTabTitle>Dashboards</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Dashboards')\" \n [AllowLoad]=\"this.IsCurrentTab('Dashboards')\" \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 View Runs')\">\n <ng-template kendoTabTitle>User View Runs</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('User View Runs')\" \n [AllowLoad]=\"this.IsCurrentTab('User View Runs')\" \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('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 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('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('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('Company Integration Runs')\">\n <ng-template kendoTabTitle>Company Integration Runs</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Company Integration Runs')\" \n [AllowLoad]=\"this.IsCurrentTab('Company Integration Runs')\" \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 Notifications')\">\n <ng-template kendoTabTitle>User Notifications</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('User Notifications')\" \n [AllowLoad]=\"this.IsCurrentTab('User Notifications')\" \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('Resource Folders')\">\n <ng-template kendoTabTitle>Resource Folders</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Resource Folders')\" \n [AllowLoad]=\"this.IsCurrentTab('Resource Folders')\" \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('Data Contexts')\">\n <ng-template kendoTabTitle>Data Contexts</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Data Contexts')\" \n [AllowLoad]=\"this.IsCurrentTab('Data Contexts')\" \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"] }]
|
|
314
|
+
args: [{ selector: 'gen-user-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=\"Users\" 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('User Applications')\">\n <ng-template kendoTabTitle>User Applications</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('User Applications')\" \n [AllowLoad]=\"this.IsCurrentTab('User Applications')\" \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('Roles')\">\n <ng-template kendoTabTitle>Roles</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('User Roles')\" \n [AllowLoad]=\"this.IsCurrentTab('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('Workspaces')\">\n <ng-template kendoTabTitle>Workspaces</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Workspaces')\" \n [AllowLoad]=\"this.IsCurrentTab('Workspaces')\" \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('Reports')\">\n <ng-template kendoTabTitle>Reports</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Reports')\" \n [AllowLoad]=\"this.IsCurrentTab('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('Report Snapshots')\">\n <ng-template kendoTabTitle>Report Snapshots</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Report Snapshots')\" \n [AllowLoad]=\"this.IsCurrentTab('Report Snapshots')\" \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('Dashboards')\">\n <ng-template kendoTabTitle>Dashboards</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Dashboards')\" \n [AllowLoad]=\"this.IsCurrentTab('Dashboards')\" \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 View Runs')\">\n <ng-template kendoTabTitle>User View Runs</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('User View Runs')\" \n [AllowLoad]=\"this.IsCurrentTab('User View Runs')\" \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('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 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('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('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('Company Integration Runs')\">\n <ng-template kendoTabTitle>Company Integration Runs</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Company Integration Runs')\" \n [AllowLoad]=\"this.IsCurrentTab('Company Integration Runs')\" \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 Notifications')\">\n <ng-template kendoTabTitle>User Notifications</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('User Notifications')\" \n [AllowLoad]=\"this.IsCurrentTab('User Notifications')\" \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('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('Data Contexts')\">\n <ng-template kendoTabTitle>Data Contexts</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Data Contexts')\" \n [AllowLoad]=\"this.IsCurrentTab('Data Contexts')\" \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"] }]
|
|
329
315
|
}], null, null); })();
|
|
330
316
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(UserFormComponent, { className: "UserFormComponent", filePath: "src\\lib\\generated\\Entities\\User\\user.form.component.ts", lineNumber: 12 }); })();
|
|
331
317
|
export function LoadUserFormComponent() {
|