@memberjunction/ng-core-entity-forms 0.9.66 → 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.
Files changed (21) hide show
  1. package/dist/lib/generated/Entities/Dashboard/sections/details.component.js +68 -18
  2. package/dist/lib/generated/Entities/DashboardCategory/dashboardcategory.form.component.d.ts +9 -0
  3. package/dist/lib/generated/Entities/DashboardCategory/dashboardcategory.form.component.js +95 -0
  4. package/dist/lib/generated/Entities/DashboardCategory/sections/details.component.d.ts +10 -0
  5. package/dist/lib/generated/Entities/DashboardCategory/sections/details.component.js +216 -0
  6. package/dist/lib/generated/Entities/DataContext/datacontext.form.component.js +18 -4
  7. package/dist/lib/generated/Entities/Report/sections/details.component.js +189 -113
  8. package/dist/lib/generated/Entities/ReportCategory/reportcategory.form.component.d.ts +9 -0
  9. package/dist/lib/generated/Entities/ReportCategory/reportcategory.form.component.js +95 -0
  10. package/dist/lib/generated/Entities/ReportCategory/sections/details.component.d.ts +10 -0
  11. package/dist/lib/generated/Entities/ReportCategory/sections/details.component.js +216 -0
  12. package/dist/lib/generated/Entities/ResourceType/resourcetype.form.component.js +4 -18
  13. package/dist/lib/generated/Entities/User/user.form.component.js +8 -22
  14. package/dist/lib/generated/Entities/UserView/sections/details.component.js +111 -85
  15. package/dist/lib/generated/Entities/UserViewCategory/sections/details.component.d.ts +10 -0
  16. package/dist/lib/generated/Entities/UserViewCategory/sections/details.component.js +216 -0
  17. package/dist/lib/generated/Entities/UserViewCategory/userviewcategory.form.component.d.ts +9 -0
  18. package/dist/lib/generated/Entities/UserViewCategory/userviewcategory.form.component.js +95 -0
  19. package/dist/lib/generated/generated-forms.module.d.ts +114 -110
  20. package/dist/lib/generated/generated-forms.module.js +57 -41
  21. package/package.json +4 -4
@@ -27,22 +27,34 @@ function DashboardDetailsComponent_div_0_div_1_Template(rf, ctx) { if (rf & 1) {
27
27
  i0.ɵɵlistener("ngModelChange", function DashboardDetailsComponent_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
28
  i0.ɵɵelementEnd()();
29
29
  i0.ɵɵelementStart(9, "div", 3)(10, "label", 4);
30
- i0.ɵɵtext(11, "UIConfig Details");
30
+ i0.ɵɵtext(11, "Category ID");
31
31
  i0.ɵɵelementEnd();
32
- i0.ɵɵelementStart(12, "kendo-textbox", 5);
33
- i0.ɵɵlistener("ngModelChange", function DashboardDetailsComponent_div_0_div_1_Template_kendo_textbox_ngModelChange_12_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r6 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r6.record.UIConfigDetails = $event); });
32
+ i0.ɵɵelementStart(12, "kendo-numerictextbox", 6);
33
+ i0.ɵɵlistener("valueChange", function DashboardDetailsComponent_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.CategoryID = $event); });
34
34
  i0.ɵɵelementEnd()();
35
35
  i0.ɵɵelementStart(13, "div", 3)(14, "label", 4);
36
- i0.ɵɵtext(15, "User ID");
36
+ i0.ɵɵtext(15, "UIConfig Details");
37
37
  i0.ɵɵelementEnd();
38
- i0.ɵɵelementStart(16, "kendo-numerictextbox", 6);
39
- i0.ɵɵlistener("valueChange", function DashboardDetailsComponent_div_0_div_1_Template_kendo_numerictextbox_valueChange_16_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r7 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r7.record.UserID = $event); });
38
+ i0.ɵɵelementStart(16, "kendo-textbox", 5);
39
+ i0.ɵɵlistener("ngModelChange", function DashboardDetailsComponent_div_0_div_1_Template_kendo_textbox_ngModelChange_16_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r7 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r7.record.UIConfigDetails = $event); });
40
40
  i0.ɵɵelementEnd()();
41
41
  i0.ɵɵelementStart(17, "div", 3)(18, "label", 4);
42
- i0.ɵɵtext(19, "User");
42
+ i0.ɵɵtext(19, "User ID");
43
43
  i0.ɵɵelementEnd();
44
- i0.ɵɵelementStart(20, "span");
45
- i0.ɵɵtext(21);
44
+ i0.ɵɵelementStart(20, "kendo-numerictextbox", 6);
45
+ i0.ɵɵlistener("valueChange", function DashboardDetailsComponent_div_0_div_1_Template_kendo_numerictextbox_valueChange_20_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r8 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r8.record.UserID = $event); });
46
+ i0.ɵɵelementEnd()();
47
+ i0.ɵɵelementStart(21, "div", 3)(22, "label", 4);
48
+ i0.ɵɵtext(23, "Category");
49
+ i0.ɵɵelementEnd();
50
+ i0.ɵɵelementStart(24, "span");
51
+ i0.ɵɵtext(25);
52
+ i0.ɵɵelementEnd()();
53
+ i0.ɵɵelementStart(26, "div", 3)(27, "label", 4);
54
+ i0.ɵɵtext(28, "User");
55
+ i0.ɵɵelementEnd();
56
+ i0.ɵɵelementStart(29, "span");
57
+ i0.ɵɵtext(30);
46
58
  i0.ɵɵelementEnd()()();
47
59
  } if (rf & 2) {
48
60
  const ctx_r1 = i0.ɵɵnextContext(2);
@@ -51,10 +63,14 @@ function DashboardDetailsComponent_div_0_div_1_Template(rf, ctx) { if (rf & 1) {
51
63
  i0.ɵɵadvance(4);
52
64
  i0.ɵɵproperty("ngModel", ctx_r1.record.Description);
53
65
  i0.ɵɵadvance(4);
66
+ i0.ɵɵproperty("value", ctx_r1.record.CategoryID);
67
+ i0.ɵɵadvance(4);
54
68
  i0.ɵɵproperty("ngModel", ctx_r1.record.UIConfigDetails);
55
69
  i0.ɵɵadvance(4);
56
70
  i0.ɵɵproperty("value", ctx_r1.record.UserID);
57
71
  i0.ɵɵadvance(5);
72
+ i0.ɵɵtextInterpolate(ctx_r1.FormatValue("Category", 0));
73
+ i0.ɵɵadvance(5);
58
74
  i0.ɵɵtextInterpolate(ctx_r1.FormatValue("User", 0));
59
75
  } }
60
76
  function DashboardDetailsComponent_div_0_div_2_Template(rf, ctx) { if (rf & 1) {
@@ -71,22 +87,34 @@ function DashboardDetailsComponent_div_0_div_2_Template(rf, ctx) { if (rf & 1) {
71
87
  i0.ɵɵtext(10);
72
88
  i0.ɵɵelementEnd()();
73
89
  i0.ɵɵelementStart(11, "div", 3)(12, "label", 4);
74
- i0.ɵɵtext(13, "UIConfig Details");
90
+ i0.ɵɵtext(13, "Category ID");
75
91
  i0.ɵɵelementEnd();
76
- i0.ɵɵelementStart(14, "span");
92
+ i0.ɵɵelementStart(14, "span", 7);
77
93
  i0.ɵɵtext(15);
78
94
  i0.ɵɵelementEnd()();
79
95
  i0.ɵɵelementStart(16, "div", 3)(17, "label", 4);
80
- i0.ɵɵtext(18, "User ID");
96
+ i0.ɵɵtext(18, "UIConfig Details");
81
97
  i0.ɵɵelementEnd();
82
- i0.ɵɵelementStart(19, "span", 7);
98
+ i0.ɵɵelementStart(19, "span");
83
99
  i0.ɵɵtext(20);
84
100
  i0.ɵɵelementEnd()();
85
101
  i0.ɵɵelementStart(21, "div", 3)(22, "label", 4);
86
- i0.ɵɵtext(23, "User");
102
+ i0.ɵɵtext(23, "User ID");
87
103
  i0.ɵɵelementEnd();
88
- i0.ɵɵelementStart(24, "span");
104
+ i0.ɵɵelementStart(24, "span", 8);
89
105
  i0.ɵɵtext(25);
106
+ i0.ɵɵelementEnd()();
107
+ i0.ɵɵelementStart(26, "div", 3)(27, "label", 4);
108
+ i0.ɵɵtext(28, "Category");
109
+ i0.ɵɵelementEnd();
110
+ i0.ɵɵelementStart(29, "span");
111
+ i0.ɵɵtext(30);
112
+ i0.ɵɵelementEnd()();
113
+ i0.ɵɵelementStart(31, "div", 3)(32, "label", 4);
114
+ i0.ɵɵtext(33, "User");
115
+ i0.ɵɵelementEnd();
116
+ i0.ɵɵelementStart(34, "span");
117
+ i0.ɵɵtext(35);
90
118
  i0.ɵɵelementEnd()()();
91
119
  } if (rf & 2) {
92
120
  const ctx_r2 = i0.ɵɵnextContext(2);
@@ -94,6 +122,10 @@ function DashboardDetailsComponent_div_0_div_2_Template(rf, ctx) { if (rf & 1) {
94
122
  i0.ɵɵtextInterpolate(ctx_r2.FormatValue("Name", 0));
95
123
  i0.ɵɵadvance(5);
96
124
  i0.ɵɵtextInterpolate(ctx_r2.FormatValue("Description", 0));
125
+ i0.ɵɵadvance(4);
126
+ i0.ɵɵproperty("record", ctx_r2.record);
127
+ i0.ɵɵadvance();
128
+ i0.ɵɵtextInterpolate(ctx_r2.FormatValue("CategoryID", 0));
97
129
  i0.ɵɵadvance(5);
98
130
  i0.ɵɵtextInterpolate(ctx_r2.FormatValue("UIConfigDetails", 0));
99
131
  i0.ɵɵadvance(4);
@@ -101,11 +133,13 @@ function DashboardDetailsComponent_div_0_div_2_Template(rf, ctx) { if (rf & 1) {
101
133
  i0.ɵɵadvance();
102
134
  i0.ɵɵtextInterpolate(ctx_r2.FormatValue("UserID", 0));
103
135
  i0.ɵɵadvance(5);
136
+ i0.ɵɵtextInterpolate(ctx_r2.FormatValue("Category", 0));
137
+ i0.ɵɵadvance(5);
104
138
  i0.ɵɵtextInterpolate(ctx_r2.FormatValue("User", 0));
105
139
  } }
106
140
  function DashboardDetailsComponent_div_0_Template(rf, ctx) { if (rf & 1) {
107
141
  i0.ɵɵelementStart(0, "div");
108
- i0.ɵɵtemplate(1, DashboardDetailsComponent_div_0_div_1_Template, 22, 5, "div", 1)(2, DashboardDetailsComponent_div_0_div_2_Template, 26, 6, "div", 1);
142
+ i0.ɵɵtemplate(1, DashboardDetailsComponent_div_0_div_1_Template, 31, 7, "div", 1)(2, DashboardDetailsComponent_div_0_div_2_Template, 36, 9, "div", 1);
109
143
  i0.ɵɵelementEnd();
110
144
  } if (rf & 2) {
111
145
  const ctx_r0 = i0.ɵɵnextContext();
@@ -121,7 +155,7 @@ let DashboardDetailsComponent = class DashboardDetailsComponent extends BaseForm
121
155
  }
122
156
  };
123
157
  DashboardDetailsComponent.ɵfac = /*@__PURE__*/ (() => { let ɵDashboardDetailsComponent_BaseFactory; return function DashboardDetailsComponent_Factory(t) { return (ɵDashboardDetailsComponent_BaseFactory || (ɵDashboardDetailsComponent_BaseFactory = i0.ɵɵgetInheritedFactory(DashboardDetailsComponent)))(t || DashboardDetailsComponent); }; })();
124
- DashboardDetailsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DashboardDetailsComponent, selectors: [["gen-dashboard-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", "UserID", 3, "record"]], template: function DashboardDetailsComponent_Template(rf, ctx) { if (rf & 1) {
158
+ DashboardDetailsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DashboardDetailsComponent, selectors: [["gen-dashboard-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", "CategoryID", 3, "record"], ["mjFieldLink", "", "fieldName", "UserID", 3, "record"]], template: function DashboardDetailsComponent_Template(rf, ctx) { if (rf & 1) {
125
159
  i0.ɵɵtemplate(0, DashboardDetailsComponent_div_0_Template, 3, 2, "div", 0);
126
160
  } if (rf & 2) {
127
161
  i0.ɵɵproperty("ngIf", ctx.record);
@@ -143,6 +177,10 @@ export { DashboardDetailsComponent };
143
177
  <label class="fieldLabel">Description</label>
144
178
  <kendo-textbox [(ngModel)]="record.Description" />
145
179
  </div>
180
+ <div class="record-form-row">
181
+ <label class="fieldLabel">Category ID</label>
182
+ <kendo-numerictextbox [(value)]="record.CategoryID" ></kendo-numerictextbox>
183
+ </div>
146
184
  <div class="record-form-row">
147
185
  <label class="fieldLabel">UIConfig Details</label>
148
186
  <kendo-textbox [(ngModel)]="record.UIConfigDetails" />
@@ -151,6 +189,10 @@ export { DashboardDetailsComponent };
151
189
  <label class="fieldLabel">User ID</label>
152
190
  <kendo-numerictextbox [(value)]="record.UserID" ></kendo-numerictextbox>
153
191
  </div>
192
+ <div class="record-form-row">
193
+ <label class="fieldLabel">Category</label>
194
+ <span >{{FormatValue('Category', 0)}}</span>
195
+ </div>
154
196
  <div class="record-form-row">
155
197
  <label class="fieldLabel">User</label>
156
198
  <span >{{FormatValue('User', 0)}}</span>
@@ -166,6 +208,10 @@ export { DashboardDetailsComponent };
166
208
  <label class="fieldLabel">Description</label>
167
209
  <span >{{FormatValue('Description', 0)}}</span>
168
210
  </div>
211
+ <div class="record-form-row">
212
+ <label class="fieldLabel">Category ID</label>
213
+ <span mjFieldLink [record]="record" fieldName="CategoryID" >{{FormatValue('CategoryID', 0)}}</span>
214
+ </div>
169
215
  <div class="record-form-row">
170
216
  <label class="fieldLabel">UIConfig Details</label>
171
217
  <span >{{FormatValue('UIConfigDetails', 0)}}</span>
@@ -174,6 +220,10 @@ export { DashboardDetailsComponent };
174
220
  <label class="fieldLabel">User ID</label>
175
221
  <span mjFieldLink [record]="record" fieldName="UserID" >{{FormatValue('UserID', 0)}}</span>
176
222
  </div>
223
+ <div class="record-form-row">
224
+ <label class="fieldLabel">Category</label>
225
+ <span >{{FormatValue('Category', 0)}}</span>
226
+ </div>
177
227
  <div class="record-form-row">
178
228
  <label class="fieldLabel">User</label>
179
229
  <span >{{FormatValue('User', 0)}}</span>
@@ -186,7 +236,7 @@ export { DashboardDetailsComponent };
186
236
  }], EditMode: [{
187
237
  type: Input
188
238
  }] }); })();
189
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DashboardDetailsComponent, { className: "DashboardDetailsComponent", filePath: "src\\lib\\generated\\Entities\\Dashboard\\sections\\details.component.ts", lineNumber: 60 }); })();
239
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DashboardDetailsComponent, { className: "DashboardDetailsComponent", filePath: "src\\lib\\generated\\Entities\\Dashboard\\sections\\details.component.ts", lineNumber: 76 }); })();
190
240
  export function LoadDashboardDetailsComponent() {
191
241
  // does nothing, but called in order to prevent tree-shaking from eliminating this component from the build
192
242
  }
@@ -0,0 +1,9 @@
1
+ import { DashboardCategoryEntity } from '@memberjunction/core-entities';
2
+ import { BaseFormComponent } from '@memberjunction/ng-explorer-core';
3
+ import * as i0 from "@angular/core";
4
+ export declare class DashboardCategoryFormComponent extends BaseFormComponent {
5
+ record: DashboardCategoryEntity;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<DashboardCategoryFormComponent, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<DashboardCategoryFormComponent, "gen-dashboardcategory-form", never, {}, {}, never, never, false, never>;
8
+ }
9
+ export declare function LoadDashboardCategoryFormComponent(): void;
@@ -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 { LoadDashboardCategoryDetailsComponent } 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 DashboardCategoryFormComponent_form_1_ng_template_8_Template(rf, ctx) { if (rf & 1) {
18
+ i0.ɵɵtext(0, "Details");
19
+ } }
20
+ function DashboardCategoryFormComponent_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 DashboardCategoryFormComponent_form_1_ng_template_11_Template(rf, ctx) { if (rf & 1) {
27
+ i0.ɵɵtext(0, "Dashboards");
28
+ } }
29
+ function DashboardCategoryFormComponent_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("Dashboards"))("AllowLoad", ctx_r7.IsCurrentTab("Dashboards"))("EditMode", ctx_r7.GridEditMode())("BottomMargin", ctx_r7.GridBottomMargin);
34
+ } }
35
+ function DashboardCategoryFormComponent_form_1_ng_template_14_Template(rf, ctx) { if (rf & 1) {
36
+ i0.ɵɵtext(0, "Dashboard Categories");
37
+ } }
38
+ function DashboardCategoryFormComponent_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("Dashboard Categories"))("AllowLoad", ctx_r9.IsCurrentTab("Dashboard Categories"))("EditMode", ctx_r9.GridEditMode())("BottomMargin", ctx_r9.GridBottomMargin);
43
+ } }
44
+ function DashboardCategoryFormComponent_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 DashboardCategoryFormComponent_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, DashboardCategoryFormComponent_form_1_ng_template_8_Template, 1, 0, "ng-template", 10)(9, DashboardCategoryFormComponent_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, DashboardCategoryFormComponent_form_1_ng_template_11_Template, 1, 0, "ng-template", 10)(12, DashboardCategoryFormComponent_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, DashboardCategoryFormComponent_form_1_ng_template_14_Template, 1, 0, "ng-template", 10)(15, DashboardCategoryFormComponent_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("Dashboards"));
70
+ i0.ɵɵadvance(3);
71
+ i0.ɵɵproperty("selected", ctx_r0.RegisterAndCheckIfCurrentTab("Dashboard Categories"));
72
+ } }
73
+ let DashboardCategoryFormComponent = class DashboardCategoryFormComponent extends BaseFormComponent {
74
+ };
75
+ DashboardCategoryFormComponent.ɵfac = /*@__PURE__*/ (() => { let ɵDashboardCategoryFormComponent_BaseFactory; return function DashboardCategoryFormComponent_Factory(t) { return (ɵDashboardCategoryFormComponent_BaseFactory || (ɵDashboardCategoryFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(DashboardCategoryFormComponent)))(t || DashboardCategoryFormComponent); }; })();
76
+ DashboardCategoryFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DashboardCategoryFormComponent, selectors: [["gen-dashboardcategory-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", "Dashboard Categories", "Section", "details", 3, "record", "EditMode"], [3, "Params", "AllowLoad", "EditMode", "BottomMargin"]], template: function DashboardCategoryFormComponent_Template(rf, ctx) { if (rf & 1) {
77
+ i0.ɵɵelementStart(0, "div", 0);
78
+ i0.ɵɵtemplate(1, DashboardCategoryFormComponent_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
+ DashboardCategoryFormComponent = __decorate([
85
+ RegisterClass(BaseFormComponent, 'Dashboard Categories') // Tell MemberJunction about this class
86
+ ], DashboardCategoryFormComponent);
87
+ export { DashboardCategoryFormComponent };
88
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DashboardCategoryFormComponent, [{
89
+ type: Component,
90
+ args: [{ selector: 'gen-dashboardcategory-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=\"Dashboard 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('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('Dashboard Categories')\">\n <ng-template kendoTabTitle>Dashboard Categories</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Dashboard Categories')\" \n [AllowLoad]=\"this.IsCurrentTab('Dashboard Categories')\" \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(DashboardCategoryFormComponent, { className: "DashboardCategoryFormComponent", filePath: "src\\lib\\generated\\Entities\\DashboardCategory\\dashboardcategory.form.component.ts", lineNumber: 12 }); })();
93
+ export function LoadDashboardCategoryFormComponent() {
94
+ LoadDashboardCategoryDetailsComponent();
95
+ }
@@ -0,0 +1,10 @@
1
+ import { BaseFormSectionComponent } from '@memberjunction/ng-explorer-core';
2
+ import { DashboardCategoryEntity } from '@memberjunction/core-entities';
3
+ import * as i0 from "@angular/core";
4
+ export declare class DashboardCategoryDetailsComponent extends BaseFormSectionComponent {
5
+ record: DashboardCategoryEntity;
6
+ EditMode: boolean;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<DashboardCategoryDetailsComponent, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<DashboardCategoryDetailsComponent, "gen-dashboardcategory-form-details", never, { "record": { "alias": "record"; "required": false; }; "EditMode": { "alias": "EditMode"; "required": false; }; }, {}, never, never, false, never>;
9
+ }
10
+ export declare function LoadDashboardCategoryDetailsComponent(): 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 DashboardCategoryDetailsComponent_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 DashboardCategoryDetailsComponent_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 DashboardCategoryDetailsComponent_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 DashboardCategoryDetailsComponent_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 DashboardCategoryDetailsComponent_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 DashboardCategoryDetailsComponent_div_0_Template(rf, ctx) { if (rf & 1) {
123
+ i0.ɵɵelementStart(0, "div");
124
+ i0.ɵɵtemplate(1, DashboardCategoryDetailsComponent_div_0_div_1_Template, 28, 6, "div", 1)(2, DashboardCategoryDetailsComponent_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 DashboardCategoryDetailsComponent = class DashboardCategoryDetailsComponent extends BaseFormSectionComponent {
134
+ constructor() {
135
+ super(...arguments);
136
+ this.EditMode = false;
137
+ }
138
+ };
139
+ DashboardCategoryDetailsComponent.ɵfac = /*@__PURE__*/ (() => { let ɵDashboardCategoryDetailsComponent_BaseFactory; return function DashboardCategoryDetailsComponent_Factory(t) { return (ɵDashboardCategoryDetailsComponent_BaseFactory || (ɵDashboardCategoryDetailsComponent_BaseFactory = i0.ɵɵgetInheritedFactory(DashboardCategoryDetailsComponent)))(t || DashboardCategoryDetailsComponent); }; })();
140
+ DashboardCategoryDetailsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DashboardCategoryDetailsComponent, selectors: [["gen-dashboardcategory-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 DashboardCategoryDetailsComponent_Template(rf, ctx) { if (rf & 1) {
141
+ i0.ɵɵtemplate(0, DashboardCategoryDetailsComponent_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
+ DashboardCategoryDetailsComponent = __decorate([
146
+ RegisterClass(BaseFormSectionComponent, 'Dashboard Categories.details') // Tell MemberJunction about this class
147
+ ], DashboardCategoryDetailsComponent);
148
+ export { DashboardCategoryDetailsComponent };
149
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DashboardCategoryDetailsComponent, [{
150
+ type: Component,
151
+ args: [{ selector: 'gen-dashboardcategory-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(DashboardCategoryDetailsComponent, { className: "DashboardCategoryDetailsComponent", filePath: "src\\lib\\generated\\Entities\\DashboardCategory\\sections\\details.component.ts", lineNumber: 68 }); })();
214
+ export function LoadDashboardCategoryDetailsComponent() {
215
+ // does nothing, but called in order to prevent tree-shaking from eliminating this component from the build
216
+ }
@@ -32,18 +32,30 @@ function DataContextFormComponent_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("Data Context Items"))("AllowLoad", ctx_r7.IsCurrentTab("Data Context Items"))("EditMode", ctx_r7.GridEditMode())("BottomMargin", ctx_r7.GridBottomMargin);
34
34
  } }
35
+ function DataContextFormComponent_form_1_ng_template_14_Template(rf, ctx) { if (rf & 1) {
36
+ i0.ɵɵtext(0, "Reports");
37
+ } }
38
+ function DataContextFormComponent_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
+ } }
35
44
  function DataContextFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
36
- const _r9 = i0.ɵɵgetCurrentView();
45
+ const _r11 = i0.ɵɵgetCurrentView();
37
46
  i0.ɵɵelementStart(0, "form", 2, 3)(2, "div", 4, 5);
38
47
  i0.ɵɵelement(4, "mj-form-toolbar", 6);
39
48
  i0.ɵɵelementEnd();
40
49
  i0.ɵɵelementStart(5, "kendo-tabstrip", 7, 8);
41
- i0.ɵɵlistener("tabSelect", function DataContextFormComponent_form_1_Template_kendo_tabstrip_tabSelect_5_listener($event) { i0.ɵɵrestoreView(_r9); const ctx_r8 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r8.onTabSelect($event)); });
50
+ i0.ɵɵlistener("tabSelect", function DataContextFormComponent_form_1_Template_kendo_tabstrip_tabSelect_5_listener($event) { i0.ɵɵrestoreView(_r11); const ctx_r10 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r10.onTabSelect($event)); });
42
51
  i0.ɵɵelementStart(7, "kendo-tabstrip-tab", 9);
43
52
  i0.ɵɵtemplate(8, DataContextFormComponent_form_1_ng_template_8_Template, 1, 0, "ng-template", 10)(9, DataContextFormComponent_form_1_ng_template_9_Template, 1, 2, "ng-template", 11);
44
53
  i0.ɵɵelementEnd();
45
54
  i0.ɵɵelementStart(10, "kendo-tabstrip-tab", 9);
46
55
  i0.ɵɵtemplate(11, DataContextFormComponent_form_1_ng_template_11_Template, 1, 0, "ng-template", 10)(12, DataContextFormComponent_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, DataContextFormComponent_form_1_ng_template_14_Template, 1, 0, "ng-template", 10)(15, DataContextFormComponent_form_1_ng_template_15_Template, 1, 4, "ng-template", 11);
47
59
  i0.ɵɵelementEnd()()();
48
60
  } if (rf & 2) {
49
61
  const ctx_r0 = i0.ɵɵnextContext();
@@ -55,13 +67,15 @@ function DataContextFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
55
67
  i0.ɵɵproperty("selected", ctx_r0.RegisterAndCheckIfCurrentTab("Details"));
56
68
  i0.ɵɵadvance(3);
57
69
  i0.ɵɵproperty("selected", ctx_r0.RegisterAndCheckIfCurrentTab("Data Context Items"));
70
+ i0.ɵɵadvance(3);
71
+ i0.ɵɵproperty("selected", ctx_r0.RegisterAndCheckIfCurrentTab("Reports"));
58
72
  } }
59
73
  let DataContextFormComponent = class DataContextFormComponent extends BaseFormComponent {
60
74
  };
61
75
  DataContextFormComponent.ɵfac = /*@__PURE__*/ (() => { let ɵDataContextFormComponent_BaseFactory; return function DataContextFormComponent_Factory(t) { return (ɵDataContextFormComponent_BaseFactory || (ɵDataContextFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(DataContextFormComponent)))(t || DataContextFormComponent); }; })();
62
76
  DataContextFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DataContextFormComponent, selectors: [["gen-datacontext-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", "Data Contexts", "Section", "details", 3, "record", "EditMode"], [3, "Params", "AllowLoad", "EditMode", "BottomMargin"]], template: function DataContextFormComponent_Template(rf, ctx) { if (rf & 1) {
63
77
  i0.ɵɵelementStart(0, "div", 0);
64
- i0.ɵɵtemplate(1, DataContextFormComponent_form_1_Template, 13, 6, "form", 1);
78
+ i0.ɵɵtemplate(1, DataContextFormComponent_form_1_Template, 16, 7, "form", 1);
65
79
  i0.ɵɵelementEnd();
66
80
  } if (rf & 2) {
67
81
  i0.ɵɵadvance();
@@ -73,7 +87,7 @@ DataContextFormComponent = __decorate([
73
87
  export { DataContextFormComponent };
74
88
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DataContextFormComponent, [{
75
89
  type: Component,
76
- args: [{ selector: 'gen-datacontext-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=\"Data Contexts\" 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('Data Context Items')\">\n <ng-template kendoTabTitle>Data Context Items</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Data Context Items')\" \n [AllowLoad]=\"this.IsCurrentTab('Data Context Items')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></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"] }]
90
+ args: [{ selector: 'gen-datacontext-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=\"Data Contexts\" 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('Data Context Items')\">\n <ng-template kendoTabTitle>Data Context Items</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Data Context Items')\" \n [AllowLoad]=\"this.IsCurrentTab('Data Context Items')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></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"] }]
77
91
  }], null, null); })();
78
92
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DataContextFormComponent, { className: "DataContextFormComponent", filePath: "src\\lib\\generated\\Entities\\DataContext\\datacontext.form.component.ts", lineNumber: 12 }); })();
79
93
  export function LoadDataContextFormComponent() {