@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.
- 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,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 UserViewCategoryDetailsComponent_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 UserViewCategoryDetailsComponent_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 UserViewCategoryDetailsComponent_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 UserViewCategoryDetailsComponent_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 UserViewCategoryDetailsComponent_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 UserViewCategoryDetailsComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
123
|
+
i0.ɵɵelementStart(0, "div");
|
|
124
|
+
i0.ɵɵtemplate(1, UserViewCategoryDetailsComponent_div_0_div_1_Template, 28, 6, "div", 1)(2, UserViewCategoryDetailsComponent_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 UserViewCategoryDetailsComponent = class UserViewCategoryDetailsComponent extends BaseFormSectionComponent {
|
|
134
|
+
constructor() {
|
|
135
|
+
super(...arguments);
|
|
136
|
+
this.EditMode = false;
|
|
137
|
+
}
|
|
138
|
+
};
|
|
139
|
+
UserViewCategoryDetailsComponent.ɵfac = /*@__PURE__*/ (() => { let ɵUserViewCategoryDetailsComponent_BaseFactory; return function UserViewCategoryDetailsComponent_Factory(t) { return (ɵUserViewCategoryDetailsComponent_BaseFactory || (ɵUserViewCategoryDetailsComponent_BaseFactory = i0.ɵɵgetInheritedFactory(UserViewCategoryDetailsComponent)))(t || UserViewCategoryDetailsComponent); }; })();
|
|
140
|
+
UserViewCategoryDetailsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: UserViewCategoryDetailsComponent, selectors: [["gen-userviewcategory-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 UserViewCategoryDetailsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
141
|
+
i0.ɵɵtemplate(0, UserViewCategoryDetailsComponent_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
|
+
UserViewCategoryDetailsComponent = __decorate([
|
|
146
|
+
RegisterClass(BaseFormSectionComponent, 'User View Categories.details') // Tell MemberJunction about this class
|
|
147
|
+
], UserViewCategoryDetailsComponent);
|
|
148
|
+
export { UserViewCategoryDetailsComponent };
|
|
149
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UserViewCategoryDetailsComponent, [{
|
|
150
|
+
type: Component,
|
|
151
|
+
args: [{ selector: 'gen-userviewcategory-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(UserViewCategoryDetailsComponent, { className: "UserViewCategoryDetailsComponent", filePath: "src\\lib\\generated\\Entities\\UserViewCategory\\sections\\details.component.ts", lineNumber: 68 }); })();
|
|
214
|
+
export function LoadUserViewCategoryDetailsComponent() {
|
|
215
|
+
// does nothing, but called in order to prevent tree-shaking from eliminating this component from the build
|
|
216
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { UserViewCategoryEntity } from '@memberjunction/core-entities';
|
|
2
|
+
import { BaseFormComponent } from '@memberjunction/ng-explorer-core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class UserViewCategoryFormComponent extends BaseFormComponent {
|
|
5
|
+
record: UserViewCategoryEntity;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UserViewCategoryFormComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UserViewCategoryFormComponent, "gen-userviewcategory-form", never, {}, {}, never, never, false, never>;
|
|
8
|
+
}
|
|
9
|
+
export declare function LoadUserViewCategoryFormComponent(): 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 { LoadUserViewCategoryDetailsComponent } 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 UserViewCategoryFormComponent_form_1_ng_template_8_Template(rf, ctx) { if (rf & 1) {
|
|
18
|
+
i0.ɵɵtext(0, "Details");
|
|
19
|
+
} }
|
|
20
|
+
function UserViewCategoryFormComponent_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 UserViewCategoryFormComponent_form_1_ng_template_11_Template(rf, ctx) { if (rf & 1) {
|
|
27
|
+
i0.ɵɵtext(0, "User View Categories");
|
|
28
|
+
} }
|
|
29
|
+
function UserViewCategoryFormComponent_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("User View Categories"))("AllowLoad", ctx_r7.IsCurrentTab("User View Categories"))("EditMode", ctx_r7.GridEditMode())("BottomMargin", ctx_r7.GridBottomMargin);
|
|
34
|
+
} }
|
|
35
|
+
function UserViewCategoryFormComponent_form_1_ng_template_14_Template(rf, ctx) { if (rf & 1) {
|
|
36
|
+
i0.ɵɵtext(0, "User Views");
|
|
37
|
+
} }
|
|
38
|
+
function UserViewCategoryFormComponent_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("User Views"))("AllowLoad", ctx_r9.IsCurrentTab("User Views"))("EditMode", ctx_r9.GridEditMode())("BottomMargin", ctx_r9.GridBottomMargin);
|
|
43
|
+
} }
|
|
44
|
+
function UserViewCategoryFormComponent_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 UserViewCategoryFormComponent_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, UserViewCategoryFormComponent_form_1_ng_template_8_Template, 1, 0, "ng-template", 10)(9, UserViewCategoryFormComponent_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, UserViewCategoryFormComponent_form_1_ng_template_11_Template, 1, 0, "ng-template", 10)(12, UserViewCategoryFormComponent_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, UserViewCategoryFormComponent_form_1_ng_template_14_Template, 1, 0, "ng-template", 10)(15, UserViewCategoryFormComponent_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("User View Categories"));
|
|
70
|
+
i0.ɵɵadvance(3);
|
|
71
|
+
i0.ɵɵproperty("selected", ctx_r0.RegisterAndCheckIfCurrentTab("User Views"));
|
|
72
|
+
} }
|
|
73
|
+
let UserViewCategoryFormComponent = class UserViewCategoryFormComponent extends BaseFormComponent {
|
|
74
|
+
};
|
|
75
|
+
UserViewCategoryFormComponent.ɵfac = /*@__PURE__*/ (() => { let ɵUserViewCategoryFormComponent_BaseFactory; return function UserViewCategoryFormComponent_Factory(t) { return (ɵUserViewCategoryFormComponent_BaseFactory || (ɵUserViewCategoryFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(UserViewCategoryFormComponent)))(t || UserViewCategoryFormComponent); }; })();
|
|
76
|
+
UserViewCategoryFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: UserViewCategoryFormComponent, selectors: [["gen-userviewcategory-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", "User View Categories", "Section", "details", 3, "record", "EditMode"], [3, "Params", "AllowLoad", "EditMode", "BottomMargin"]], template: function UserViewCategoryFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
77
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
78
|
+
i0.ɵɵtemplate(1, UserViewCategoryFormComponent_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
|
+
UserViewCategoryFormComponent = __decorate([
|
|
85
|
+
RegisterClass(BaseFormComponent, 'User View Categories') // Tell MemberJunction about this class
|
|
86
|
+
], UserViewCategoryFormComponent);
|
|
87
|
+
export { UserViewCategoryFormComponent };
|
|
88
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UserViewCategoryFormComponent, [{
|
|
89
|
+
type: Component,
|
|
90
|
+
args: [{ selector: 'gen-userviewcategory-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=\"User View 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('User View Categories')\">\n <ng-template kendoTabTitle>User View Categories</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('User View Categories')\" \n [AllowLoad]=\"this.IsCurrentTab('User View Categories')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></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 </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(UserViewCategoryFormComponent, { className: "UserViewCategoryFormComponent", filePath: "src\\lib\\generated\\Entities\\UserViewCategory\\userviewcategory.form.component.ts", lineNumber: 12 }); })();
|
|
93
|
+
export function LoadUserViewCategoryFormComponent() {
|
|
94
|
+
LoadUserViewCategoryDetailsComponent();
|
|
95
|
+
}
|