@memberjunction/ng-core-entity-forms 0.9.143 → 0.9.144
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/EntityRelationship/sections/details.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/EntityRelationship/sections/details.component.js +137 -113
- package/dist/lib/generated/Entities/Query/sections/details.component.js +96 -96
- package/dist/lib/generated/Entities/ReportCategory/sections/details.component.js +56 -56
- package/dist/lib/generated/Entities/ResourceFolder/resourcefolder.form.component.d.ts +9 -0
- package/dist/lib/generated/Entities/ResourceFolder/resourcefolder.form.component.js +81 -0
- package/dist/lib/generated/Entities/ResourceFolder/sections/details.component.d.ts +10 -0
- package/dist/lib/generated/Entities/ResourceFolder/sections/details.component.js +292 -0
- package/dist/lib/generated/Entities/UserViewCategory/sections/details.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/UserViewCategory/sections/details.component.js +86 -62
- package/package.json +32 -34
|
@@ -0,0 +1,292 @@
|
|
|
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 ResourceFolderDetailsComponent_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, "Parent ID");
|
|
19
|
+
i0.ɵɵelementEnd();
|
|
20
|
+
i0.ɵɵelementStart(4, "kendo-numerictextbox", 5);
|
|
21
|
+
i0.ɵɵlistener("valueChange", function ResourceFolderDetailsComponent_div_0_div_1_Template_kendo_numerictextbox_valueChange_4_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r3 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r3.record.ParentID = $event); });
|
|
22
|
+
i0.ɵɵelementEnd()();
|
|
23
|
+
i0.ɵɵelementStart(5, "div", 3)(6, "label", 4);
|
|
24
|
+
i0.ɵɵtext(7, "Name");
|
|
25
|
+
i0.ɵɵelementEnd();
|
|
26
|
+
i0.ɵɵelementStart(8, "kendo-textbox", 6);
|
|
27
|
+
i0.ɵɵlistener("ngModelChange", function ResourceFolderDetailsComponent_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.Name = $event); });
|
|
28
|
+
i0.ɵɵelementEnd()();
|
|
29
|
+
i0.ɵɵelementStart(9, "div", 3)(10, "label", 4);
|
|
30
|
+
i0.ɵɵtext(11, "Resource Type Name");
|
|
31
|
+
i0.ɵɵelementEnd();
|
|
32
|
+
i0.ɵɵelementStart(12, "kendo-textarea", 6);
|
|
33
|
+
i0.ɵɵlistener("ngModelChange", function ResourceFolderDetailsComponent_div_0_div_1_Template_kendo_textarea_ngModelChange_12_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r6 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r6.record.ResourceTypeName = $event); });
|
|
34
|
+
i0.ɵɵelementEnd()();
|
|
35
|
+
i0.ɵɵelementStart(13, "div", 3)(14, "label", 4);
|
|
36
|
+
i0.ɵɵtext(15, "Description");
|
|
37
|
+
i0.ɵɵelementEnd();
|
|
38
|
+
i0.ɵɵelementStart(16, "kendo-textbox", 6);
|
|
39
|
+
i0.ɵɵlistener("ngModelChange", function ResourceFolderDetailsComponent_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.Description = $event); });
|
|
40
|
+
i0.ɵɵelementEnd()();
|
|
41
|
+
i0.ɵɵelementStart(17, "div", 3)(18, "label", 4);
|
|
42
|
+
i0.ɵɵtext(19, "User ID");
|
|
43
|
+
i0.ɵɵelementEnd();
|
|
44
|
+
i0.ɵɵelementStart(20, "kendo-numerictextbox", 5);
|
|
45
|
+
i0.ɵɵlistener("valueChange", function ResourceFolderDetailsComponent_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, "Created At");
|
|
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, "Updated At");
|
|
55
|
+
i0.ɵɵelementEnd();
|
|
56
|
+
i0.ɵɵelementStart(29, "span");
|
|
57
|
+
i0.ɵɵtext(30);
|
|
58
|
+
i0.ɵɵelementEnd()();
|
|
59
|
+
i0.ɵɵelementStart(31, "div", 3)(32, "label", 4);
|
|
60
|
+
i0.ɵɵtext(33, "Parent");
|
|
61
|
+
i0.ɵɵelementEnd();
|
|
62
|
+
i0.ɵɵelementStart(34, "span");
|
|
63
|
+
i0.ɵɵtext(35);
|
|
64
|
+
i0.ɵɵelementEnd()();
|
|
65
|
+
i0.ɵɵelementStart(36, "div", 3)(37, "label", 4);
|
|
66
|
+
i0.ɵɵtext(38, "User");
|
|
67
|
+
i0.ɵɵelementEnd();
|
|
68
|
+
i0.ɵɵelementStart(39, "span");
|
|
69
|
+
i0.ɵɵtext(40);
|
|
70
|
+
i0.ɵɵelementEnd()()();
|
|
71
|
+
} if (rf & 2) {
|
|
72
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
73
|
+
i0.ɵɵadvance(4);
|
|
74
|
+
i0.ɵɵproperty("value", ctx_r1.record.ParentID);
|
|
75
|
+
i0.ɵɵadvance(4);
|
|
76
|
+
i0.ɵɵproperty("ngModel", ctx_r1.record.Name);
|
|
77
|
+
i0.ɵɵadvance(4);
|
|
78
|
+
i0.ɵɵproperty("ngModel", ctx_r1.record.ResourceTypeName);
|
|
79
|
+
i0.ɵɵadvance(4);
|
|
80
|
+
i0.ɵɵproperty("ngModel", ctx_r1.record.Description);
|
|
81
|
+
i0.ɵɵadvance(4);
|
|
82
|
+
i0.ɵɵproperty("value", ctx_r1.record.UserID);
|
|
83
|
+
i0.ɵɵadvance(5);
|
|
84
|
+
i0.ɵɵtextInterpolate(ctx_r1.FormatValue("CreatedAt", 0));
|
|
85
|
+
i0.ɵɵadvance(5);
|
|
86
|
+
i0.ɵɵtextInterpolate(ctx_r1.FormatValue("UpdatedAt", 0));
|
|
87
|
+
i0.ɵɵadvance(5);
|
|
88
|
+
i0.ɵɵtextInterpolate(ctx_r1.FormatValue("Parent", 0));
|
|
89
|
+
i0.ɵɵadvance(5);
|
|
90
|
+
i0.ɵɵtextInterpolate(ctx_r1.FormatValue("User", 0));
|
|
91
|
+
} }
|
|
92
|
+
function ResourceFolderDetailsComponent_div_0_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
93
|
+
i0.ɵɵelementStart(0, "div", 2)(1, "div", 3)(2, "label", 4);
|
|
94
|
+
i0.ɵɵtext(3, "Parent ID");
|
|
95
|
+
i0.ɵɵelementEnd();
|
|
96
|
+
i0.ɵɵelementStart(4, "span", 7);
|
|
97
|
+
i0.ɵɵtext(5);
|
|
98
|
+
i0.ɵɵelementEnd()();
|
|
99
|
+
i0.ɵɵelementStart(6, "div", 3)(7, "label", 4);
|
|
100
|
+
i0.ɵɵtext(8, "Name");
|
|
101
|
+
i0.ɵɵelementEnd();
|
|
102
|
+
i0.ɵɵelementStart(9, "span");
|
|
103
|
+
i0.ɵɵtext(10);
|
|
104
|
+
i0.ɵɵelementEnd()();
|
|
105
|
+
i0.ɵɵelementStart(11, "div", 3)(12, "label", 4);
|
|
106
|
+
i0.ɵɵtext(13, "Resource Type Name");
|
|
107
|
+
i0.ɵɵelementEnd();
|
|
108
|
+
i0.ɵɵelementStart(14, "span", 8);
|
|
109
|
+
i0.ɵɵtext(15);
|
|
110
|
+
i0.ɵɵelementEnd()();
|
|
111
|
+
i0.ɵɵelementStart(16, "div", 3)(17, "label", 4);
|
|
112
|
+
i0.ɵɵtext(18, "Description");
|
|
113
|
+
i0.ɵɵelementEnd();
|
|
114
|
+
i0.ɵɵelementStart(19, "span");
|
|
115
|
+
i0.ɵɵtext(20);
|
|
116
|
+
i0.ɵɵelementEnd()();
|
|
117
|
+
i0.ɵɵelementStart(21, "div", 3)(22, "label", 4);
|
|
118
|
+
i0.ɵɵtext(23, "User ID");
|
|
119
|
+
i0.ɵɵelementEnd();
|
|
120
|
+
i0.ɵɵelementStart(24, "span", 9);
|
|
121
|
+
i0.ɵɵtext(25);
|
|
122
|
+
i0.ɵɵelementEnd()();
|
|
123
|
+
i0.ɵɵelementStart(26, "div", 3)(27, "label", 4);
|
|
124
|
+
i0.ɵɵtext(28, "Created At");
|
|
125
|
+
i0.ɵɵelementEnd();
|
|
126
|
+
i0.ɵɵelementStart(29, "span");
|
|
127
|
+
i0.ɵɵtext(30);
|
|
128
|
+
i0.ɵɵelementEnd()();
|
|
129
|
+
i0.ɵɵelementStart(31, "div", 3)(32, "label", 4);
|
|
130
|
+
i0.ɵɵtext(33, "Updated At");
|
|
131
|
+
i0.ɵɵelementEnd();
|
|
132
|
+
i0.ɵɵelementStart(34, "span");
|
|
133
|
+
i0.ɵɵtext(35);
|
|
134
|
+
i0.ɵɵelementEnd()();
|
|
135
|
+
i0.ɵɵelementStart(36, "div", 3)(37, "label", 4);
|
|
136
|
+
i0.ɵɵtext(38, "Parent");
|
|
137
|
+
i0.ɵɵelementEnd();
|
|
138
|
+
i0.ɵɵelementStart(39, "span");
|
|
139
|
+
i0.ɵɵtext(40);
|
|
140
|
+
i0.ɵɵelementEnd()();
|
|
141
|
+
i0.ɵɵelementStart(41, "div", 3)(42, "label", 4);
|
|
142
|
+
i0.ɵɵtext(43, "User");
|
|
143
|
+
i0.ɵɵelementEnd();
|
|
144
|
+
i0.ɵɵelementStart(44, "span");
|
|
145
|
+
i0.ɵɵtext(45);
|
|
146
|
+
i0.ɵɵelementEnd()()();
|
|
147
|
+
} if (rf & 2) {
|
|
148
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
149
|
+
i0.ɵɵadvance(4);
|
|
150
|
+
i0.ɵɵproperty("record", ctx_r2.record);
|
|
151
|
+
i0.ɵɵadvance();
|
|
152
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("ParentID", 0));
|
|
153
|
+
i0.ɵɵadvance(5);
|
|
154
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("Name", 0));
|
|
155
|
+
i0.ɵɵadvance(4);
|
|
156
|
+
i0.ɵɵproperty("record", ctx_r2.record);
|
|
157
|
+
i0.ɵɵadvance();
|
|
158
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("ResourceTypeName", 0));
|
|
159
|
+
i0.ɵɵadvance(5);
|
|
160
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("Description", 0));
|
|
161
|
+
i0.ɵɵadvance(4);
|
|
162
|
+
i0.ɵɵproperty("record", ctx_r2.record);
|
|
163
|
+
i0.ɵɵadvance();
|
|
164
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("UserID", 0));
|
|
165
|
+
i0.ɵɵadvance(5);
|
|
166
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("CreatedAt", 0));
|
|
167
|
+
i0.ɵɵadvance(5);
|
|
168
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("UpdatedAt", 0));
|
|
169
|
+
i0.ɵɵadvance(5);
|
|
170
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("Parent", 0));
|
|
171
|
+
i0.ɵɵadvance(5);
|
|
172
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("User", 0));
|
|
173
|
+
} }
|
|
174
|
+
function ResourceFolderDetailsComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
175
|
+
i0.ɵɵelementStart(0, "div");
|
|
176
|
+
i0.ɵɵtemplate(1, ResourceFolderDetailsComponent_div_0_div_1_Template, 41, 9, "div", 1)(2, ResourceFolderDetailsComponent_div_0_div_2_Template, 46, 12, "div", 1);
|
|
177
|
+
i0.ɵɵelementEnd();
|
|
178
|
+
} if (rf & 2) {
|
|
179
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
180
|
+
i0.ɵɵadvance();
|
|
181
|
+
i0.ɵɵproperty("ngIf", ctx_r0.EditMode);
|
|
182
|
+
i0.ɵɵadvance();
|
|
183
|
+
i0.ɵɵproperty("ngIf", !ctx_r0.EditMode);
|
|
184
|
+
} }
|
|
185
|
+
let ResourceFolderDetailsComponent = class ResourceFolderDetailsComponent extends BaseFormSectionComponent {
|
|
186
|
+
constructor() {
|
|
187
|
+
super(...arguments);
|
|
188
|
+
this.EditMode = false;
|
|
189
|
+
}
|
|
190
|
+
};
|
|
191
|
+
ResourceFolderDetailsComponent.ɵfac = /*@__PURE__*/ (() => { let ɵResourceFolderDetailsComponent_BaseFactory; return function ResourceFolderDetailsComponent_Factory(t) { return (ɵResourceFolderDetailsComponent_BaseFactory || (ɵResourceFolderDetailsComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ResourceFolderDetailsComponent)))(t || ResourceFolderDetailsComponent); }; })();
|
|
192
|
+
ResourceFolderDetailsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ResourceFolderDetailsComponent, selectors: [["gen-resourcefolder-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, "value", "valueChange"], [3, "ngModel", "ngModelChange"], ["mjFieldLink", "", "fieldName", "ParentID", 3, "record"], ["mjFieldLink", "", "fieldName", "ResourceTypeName", 3, "record"], ["mjFieldLink", "", "fieldName", "UserID", 3, "record"]], template: function ResourceFolderDetailsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
193
|
+
i0.ɵɵtemplate(0, ResourceFolderDetailsComponent_div_0_Template, 3, 2, "div", 0);
|
|
194
|
+
} if (rf & 2) {
|
|
195
|
+
i0.ɵɵproperty("ngIf", ctx.record);
|
|
196
|
+
} }, dependencies: [i1.NgIf, i2.NgControlStatus, i2.NgModel, i3.TextAreaComponent, 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}"] });
|
|
197
|
+
ResourceFolderDetailsComponent = __decorate([
|
|
198
|
+
RegisterClass(BaseFormSectionComponent, 'Resource Folders.details') // Tell MemberJunction about this class
|
|
199
|
+
], ResourceFolderDetailsComponent);
|
|
200
|
+
export { ResourceFolderDetailsComponent };
|
|
201
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ResourceFolderDetailsComponent, [{
|
|
202
|
+
type: Component,
|
|
203
|
+
args: [{ selector: 'gen-resourcefolder-form-details', template: `<div *ngIf="this.record">
|
|
204
|
+
<div *ngIf="this.EditMode" class="record-form">
|
|
205
|
+
|
|
206
|
+
<div class="record-form-row">
|
|
207
|
+
<label class="fieldLabel">Parent ID</label>
|
|
208
|
+
<kendo-numerictextbox [(value)]="record.ParentID" ></kendo-numerictextbox>
|
|
209
|
+
</div>
|
|
210
|
+
<div class="record-form-row">
|
|
211
|
+
<label class="fieldLabel">Name</label>
|
|
212
|
+
<kendo-textbox [(ngModel)]="record.Name" />
|
|
213
|
+
</div>
|
|
214
|
+
<div class="record-form-row">
|
|
215
|
+
<label class="fieldLabel">Resource Type Name</label>
|
|
216
|
+
<kendo-textarea [(ngModel)]="record.ResourceTypeName" ></kendo-textarea>
|
|
217
|
+
</div>
|
|
218
|
+
<div class="record-form-row">
|
|
219
|
+
<label class="fieldLabel">Description</label>
|
|
220
|
+
<kendo-textbox [(ngModel)]="record.Description" />
|
|
221
|
+
</div>
|
|
222
|
+
<div class="record-form-row">
|
|
223
|
+
<label class="fieldLabel">User ID</label>
|
|
224
|
+
<kendo-numerictextbox [(value)]="record.UserID" ></kendo-numerictextbox>
|
|
225
|
+
</div>
|
|
226
|
+
<div class="record-form-row">
|
|
227
|
+
<label class="fieldLabel">Created At</label>
|
|
228
|
+
<span >{{FormatValue('CreatedAt', 0)}}</span>
|
|
229
|
+
</div>
|
|
230
|
+
<div class="record-form-row">
|
|
231
|
+
<label class="fieldLabel">Updated At</label>
|
|
232
|
+
<span >{{FormatValue('UpdatedAt', 0)}}</span>
|
|
233
|
+
</div>
|
|
234
|
+
<div class="record-form-row">
|
|
235
|
+
<label class="fieldLabel">Parent</label>
|
|
236
|
+
<span >{{FormatValue('Parent', 0)}}</span>
|
|
237
|
+
</div>
|
|
238
|
+
<div class="record-form-row">
|
|
239
|
+
<label class="fieldLabel">User</label>
|
|
240
|
+
<span >{{FormatValue('User', 0)}}</span>
|
|
241
|
+
</div>
|
|
242
|
+
</div>
|
|
243
|
+
<div *ngIf="!this.EditMode" class="record-form">
|
|
244
|
+
|
|
245
|
+
<div class="record-form-row">
|
|
246
|
+
<label class="fieldLabel">Parent ID</label>
|
|
247
|
+
<span mjFieldLink [record]="record" fieldName="ParentID" >{{FormatValue('ParentID', 0)}}</span>
|
|
248
|
+
</div>
|
|
249
|
+
<div class="record-form-row">
|
|
250
|
+
<label class="fieldLabel">Name</label>
|
|
251
|
+
<span >{{FormatValue('Name', 0)}}</span>
|
|
252
|
+
</div>
|
|
253
|
+
<div class="record-form-row">
|
|
254
|
+
<label class="fieldLabel">Resource Type Name</label>
|
|
255
|
+
<span mjFieldLink [record]="record" fieldName="ResourceTypeName" >{{FormatValue('ResourceTypeName', 0)}}</span>
|
|
256
|
+
</div>
|
|
257
|
+
<div class="record-form-row">
|
|
258
|
+
<label class="fieldLabel">Description</label>
|
|
259
|
+
<span >{{FormatValue('Description', 0)}}</span>
|
|
260
|
+
</div>
|
|
261
|
+
<div class="record-form-row">
|
|
262
|
+
<label class="fieldLabel">User ID</label>
|
|
263
|
+
<span mjFieldLink [record]="record" fieldName="UserID" >{{FormatValue('UserID', 0)}}</span>
|
|
264
|
+
</div>
|
|
265
|
+
<div class="record-form-row">
|
|
266
|
+
<label class="fieldLabel">Created At</label>
|
|
267
|
+
<span >{{FormatValue('CreatedAt', 0)}}</span>
|
|
268
|
+
</div>
|
|
269
|
+
<div class="record-form-row">
|
|
270
|
+
<label class="fieldLabel">Updated At</label>
|
|
271
|
+
<span >{{FormatValue('UpdatedAt', 0)}}</span>
|
|
272
|
+
</div>
|
|
273
|
+
<div class="record-form-row">
|
|
274
|
+
<label class="fieldLabel">Parent</label>
|
|
275
|
+
<span >{{FormatValue('Parent', 0)}}</span>
|
|
276
|
+
</div>
|
|
277
|
+
<div class="record-form-row">
|
|
278
|
+
<label class="fieldLabel">User</label>
|
|
279
|
+
<span >{{FormatValue('User', 0)}}</span>
|
|
280
|
+
</div>
|
|
281
|
+
</div>
|
|
282
|
+
</div>
|
|
283
|
+
`, 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"] }]
|
|
284
|
+
}], null, { record: [{
|
|
285
|
+
type: Input
|
|
286
|
+
}], EditMode: [{
|
|
287
|
+
type: Input
|
|
288
|
+
}] }); })();
|
|
289
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ResourceFolderDetailsComponent, { className: "ResourceFolderDetailsComponent", filePath: "src\\lib\\generated\\Entities\\ResourceFolder\\sections\\details.component.ts", lineNumber: 92 }); })();
|
|
290
|
+
export function LoadResourceFolderDetailsComponent() {
|
|
291
|
+
// does nothing, but called in order to prevent tree-shaking from eliminating this component from the build
|
|
292
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"details.component.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/generated/Entities/UserViewCategory/sections/details.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,kCAAkC,CAAC;AAC5E,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;;AAEvE,
|
|
1
|
+
{"version":3,"file":"details.component.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/generated/Entities/UserViewCategory/sections/details.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,kCAAkC,CAAC;AAC5E,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;;AAEvE,qBAsEa,gCAAiC,SAAQ,wBAAwB;IACxD,MAAM,EAAG,sBAAsB,CAAC;IAChC,QAAQ,EAAE,OAAO,CAAS;yCAFnC,gCAAgC;2CAAhC,gCAAgC;CAG5C;AAED,wBAAgB,oCAAoC,SAEnD"}
|
|
@@ -45,10 +45,16 @@ function UserViewCategoryDetailsComponent_div_0_div_1_Template(rf, ctx) { if (rf
|
|
|
45
45
|
i0.ɵɵtext(22);
|
|
46
46
|
i0.ɵɵelementEnd()();
|
|
47
47
|
i0.ɵɵelementStart(23, "div", 3)(24, "label", 4);
|
|
48
|
-
i0.ɵɵtext(25, "
|
|
48
|
+
i0.ɵɵtext(25, "Entity ID");
|
|
49
49
|
i0.ɵɵelementEnd();
|
|
50
|
-
i0.ɵɵelementStart(26, "
|
|
51
|
-
i0.ɵɵ
|
|
50
|
+
i0.ɵɵelementStart(26, "kendo-numerictextbox", 6);
|
|
51
|
+
i0.ɵɵtwoWayListener("valueChange", function UserViewCategoryDetailsComponent_div_0_div_1_Template_kendo_numerictextbox_valueChange_26_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r7 = i0.ɵɵnextContext(2); i0.ɵɵtwoWayBindingSet(ctx_r7.record.EntityID, $event) || (ctx_r7.record.EntityID = $event); return i0.ɵɵresetView($event); });
|
|
52
|
+
i0.ɵɵelementEnd()();
|
|
53
|
+
i0.ɵɵelementStart(27, "div", 3)(28, "label", 4);
|
|
54
|
+
i0.ɵɵtext(29, "Parent");
|
|
55
|
+
i0.ɵɵelementEnd();
|
|
56
|
+
i0.ɵɵelementStart(30, "span");
|
|
57
|
+
i0.ɵɵtext(31);
|
|
52
58
|
i0.ɵɵelementEnd()()();
|
|
53
59
|
} if (rf & 2) {
|
|
54
60
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
@@ -62,6 +68,8 @@ function UserViewCategoryDetailsComponent_div_0_div_1_Template(rf, ctx) { if (rf
|
|
|
62
68
|
i0.ɵɵtextInterpolate(ctx_r1.FormatValue("CreatedAt", 0));
|
|
63
69
|
i0.ɵɵadvance(5);
|
|
64
70
|
i0.ɵɵtextInterpolate(ctx_r1.FormatValue("UpdatedAt", 0));
|
|
71
|
+
i0.ɵɵadvance(4);
|
|
72
|
+
i0.ɵɵtwoWayProperty("value", ctx_r1.record.EntityID);
|
|
65
73
|
i0.ɵɵadvance(5);
|
|
66
74
|
i0.ɵɵtextInterpolate(ctx_r1.FormatValue("Parent", 0));
|
|
67
75
|
} }
|
|
@@ -97,10 +105,16 @@ function UserViewCategoryDetailsComponent_div_0_div_2_Template(rf, ctx) { if (rf
|
|
|
97
105
|
i0.ɵɵtext(25);
|
|
98
106
|
i0.ɵɵelementEnd()();
|
|
99
107
|
i0.ɵɵelementStart(26, "div", 3)(27, "label", 4);
|
|
100
|
-
i0.ɵɵtext(28, "
|
|
108
|
+
i0.ɵɵtext(28, "Entity ID");
|
|
101
109
|
i0.ɵɵelementEnd();
|
|
102
110
|
i0.ɵɵelementStart(29, "span");
|
|
103
111
|
i0.ɵɵtext(30);
|
|
112
|
+
i0.ɵɵelementEnd()();
|
|
113
|
+
i0.ɵɵelementStart(31, "div", 3)(32, "label", 4);
|
|
114
|
+
i0.ɵɵtext(33, "Parent");
|
|
115
|
+
i0.ɵɵelementEnd();
|
|
116
|
+
i0.ɵɵelementStart(34, "span");
|
|
117
|
+
i0.ɵɵtext(35);
|
|
104
118
|
i0.ɵɵelementEnd()()();
|
|
105
119
|
} if (rf & 2) {
|
|
106
120
|
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
@@ -117,11 +131,13 @@ function UserViewCategoryDetailsComponent_div_0_div_2_Template(rf, ctx) { if (rf
|
|
|
117
131
|
i0.ɵɵadvance(5);
|
|
118
132
|
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("UpdatedAt", 0));
|
|
119
133
|
i0.ɵɵadvance(5);
|
|
134
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("EntityID", 0));
|
|
135
|
+
i0.ɵɵadvance(5);
|
|
120
136
|
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("Parent", 0));
|
|
121
137
|
} }
|
|
122
138
|
function UserViewCategoryDetailsComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
123
139
|
i0.ɵɵelementStart(0, "div");
|
|
124
|
-
i0.ɵɵtemplate(1, UserViewCategoryDetailsComponent_div_0_div_1_Template,
|
|
140
|
+
i0.ɵɵtemplate(1, UserViewCategoryDetailsComponent_div_0_div_1_Template, 32, 7, "div", 1)(2, UserViewCategoryDetailsComponent_div_0_div_2_Template, 36, 8, "div", 1);
|
|
125
141
|
i0.ɵɵelementEnd();
|
|
126
142
|
} if (rf & 2) {
|
|
127
143
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -148,69 +164,77 @@ UserViewCategoryDetailsComponent = __decorate([
|
|
|
148
164
|
export { UserViewCategoryDetailsComponent };
|
|
149
165
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UserViewCategoryDetailsComponent, [{
|
|
150
166
|
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">
|
|
176
|
-
<
|
|
177
|
-
</div>
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
<div class="record-form-row">
|
|
186
|
-
<label class="fieldLabel">
|
|
187
|
-
<span >{{FormatValue('
|
|
188
|
-
</div>
|
|
189
|
-
<div class="record-form-row">
|
|
190
|
-
<label class="fieldLabel">
|
|
191
|
-
<span
|
|
192
|
-
</div>
|
|
193
|
-
<div class="record-form-row">
|
|
194
|
-
<label class="fieldLabel">
|
|
195
|
-
<span >{{FormatValue('
|
|
196
|
-
</div>
|
|
197
|
-
<div class="record-form-row">
|
|
198
|
-
<label class="fieldLabel">
|
|
199
|
-
<span >{{FormatValue('
|
|
200
|
-
</div>
|
|
201
|
-
<div class="record-form-row">
|
|
202
|
-
<label class="fieldLabel">
|
|
203
|
-
<span >{{FormatValue('
|
|
204
|
-
</div>
|
|
205
|
-
|
|
206
|
-
</
|
|
167
|
+
args: [{ selector: 'gen-userviewcategory-form-details', template: `<div *ngIf="this.record">
|
|
168
|
+
<div *ngIf="this.EditMode" class="record-form">
|
|
169
|
+
|
|
170
|
+
<div class="record-form-row">
|
|
171
|
+
<label class="fieldLabel">Name</label>
|
|
172
|
+
<kendo-textbox [(ngModel)]="record.Name" />
|
|
173
|
+
</div>
|
|
174
|
+
<div class="record-form-row">
|
|
175
|
+
<label class="fieldLabel">Description</label>
|
|
176
|
+
<kendo-textbox [(ngModel)]="record.Description" />
|
|
177
|
+
</div>
|
|
178
|
+
<div class="record-form-row">
|
|
179
|
+
<label class="fieldLabel">Parent ID</label>
|
|
180
|
+
<kendo-numerictextbox [(value)]="record.ParentID!" ></kendo-numerictextbox>
|
|
181
|
+
</div>
|
|
182
|
+
<div class="record-form-row">
|
|
183
|
+
<label class="fieldLabel">Created At</label>
|
|
184
|
+
<span >{{FormatValue('CreatedAt', 0)}}</span>
|
|
185
|
+
</div>
|
|
186
|
+
<div class="record-form-row">
|
|
187
|
+
<label class="fieldLabel">Updated At</label>
|
|
188
|
+
<span >{{FormatValue('UpdatedAt', 0)}}</span>
|
|
189
|
+
</div>
|
|
190
|
+
<div class="record-form-row">
|
|
191
|
+
<label class="fieldLabel">Entity ID</label>
|
|
192
|
+
<kendo-numerictextbox [(value)]="record.EntityID" ></kendo-numerictextbox>
|
|
193
|
+
</div>
|
|
194
|
+
<div class="record-form-row">
|
|
195
|
+
<label class="fieldLabel">Parent</label>
|
|
196
|
+
<span >{{FormatValue('Parent', 0)}}</span>
|
|
197
|
+
</div>
|
|
198
|
+
</div>
|
|
199
|
+
<div *ngIf="!this.EditMode" class="record-form">
|
|
200
|
+
|
|
201
|
+
<div class="record-form-row">
|
|
202
|
+
<label class="fieldLabel">Name</label>
|
|
203
|
+
<span >{{FormatValue('Name', 0)}}</span>
|
|
204
|
+
</div>
|
|
205
|
+
<div class="record-form-row">
|
|
206
|
+
<label class="fieldLabel">Description</label>
|
|
207
|
+
<span >{{FormatValue('Description', 0)}}</span>
|
|
208
|
+
</div>
|
|
209
|
+
<div class="record-form-row">
|
|
210
|
+
<label class="fieldLabel">Parent ID</label>
|
|
211
|
+
<span mjFieldLink [record]="record" fieldName="ParentID" >{{FormatValue('ParentID', 0)}}</span>
|
|
212
|
+
</div>
|
|
213
|
+
<div class="record-form-row">
|
|
214
|
+
<label class="fieldLabel">Created At</label>
|
|
215
|
+
<span >{{FormatValue('CreatedAt', 0)}}</span>
|
|
216
|
+
</div>
|
|
217
|
+
<div class="record-form-row">
|
|
218
|
+
<label class="fieldLabel">Updated At</label>
|
|
219
|
+
<span >{{FormatValue('UpdatedAt', 0)}}</span>
|
|
220
|
+
</div>
|
|
221
|
+
<div class="record-form-row">
|
|
222
|
+
<label class="fieldLabel">Entity ID</label>
|
|
223
|
+
<span >{{FormatValue('EntityID', 0)}}</span>
|
|
224
|
+
</div>
|
|
225
|
+
<div class="record-form-row">
|
|
226
|
+
<label class="fieldLabel">Parent</label>
|
|
227
|
+
<span >{{FormatValue('Parent', 0)}}</span>
|
|
228
|
+
</div>
|
|
229
|
+
</div>
|
|
230
|
+
</div>
|
|
207
231
|
`, 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
232
|
}], null, { record: [{
|
|
209
233
|
type: Input
|
|
210
234
|
}], EditMode: [{
|
|
211
235
|
type: Input
|
|
212
236
|
}] }); })();
|
|
213
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(UserViewCategoryDetailsComponent, { className: "UserViewCategoryDetailsComponent", filePath: "src\\lib\\generated\\Entities\\UserViewCategory\\sections\\details.component.ts", lineNumber:
|
|
237
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(UserViewCategoryDetailsComponent, { className: "UserViewCategoryDetailsComponent", filePath: "src\\lib\\generated\\Entities\\UserViewCategory\\sections\\details.component.ts", lineNumber: 76 }); })();
|
|
214
238
|
export function LoadUserViewCategoryDetailsComponent() {
|
|
215
239
|
// does nothing, but called in order to prevent tree-shaking from eliminating this component from the build
|
|
216
240
|
}
|
package/package.json
CHANGED
|
@@ -1,36 +1,34 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
"
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
"
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
},
|
|
35
|
-
"sideEffects": false
|
|
2
|
+
"name": "@memberjunction/ng-core-entity-forms",
|
|
3
|
+
"version": "0.9.144",
|
|
4
|
+
"description": "MemberJunction Core Entity Angular Forms",
|
|
5
|
+
"main": "./dist/public-api.js",
|
|
6
|
+
"typings": "./dist/public-api.d.ts",
|
|
7
|
+
"files": [
|
|
8
|
+
"/dist"
|
|
9
|
+
],
|
|
10
|
+
"scripts": {
|
|
11
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
|
12
|
+
"build": "ngc"
|
|
13
|
+
},
|
|
14
|
+
"keywords": [],
|
|
15
|
+
"author": "",
|
|
16
|
+
"license": "ISC",
|
|
17
|
+
"devDependencies": {
|
|
18
|
+
"@angular/compiler": "~17.2.2",
|
|
19
|
+
"@angular/compiler-cli": "~17.2.2"
|
|
20
|
+
},
|
|
21
|
+
"peerDependencies": {
|
|
22
|
+
"@angular/common": "~17.2.2",
|
|
23
|
+
"@angular/core": "~17.2.2",
|
|
24
|
+
"@angular/forms": "~17.2.2",
|
|
25
|
+
"@progress/kendo-angular-grid": "~15.1.0"
|
|
26
|
+
},
|
|
27
|
+
"dependencies": {
|
|
28
|
+
"@memberjunction/core": "^0.9.177",
|
|
29
|
+
"@memberjunction/core-entities": "^0.9.163",
|
|
30
|
+
"@memberjunction/ng-explorer-core": "^0.9.205",
|
|
31
|
+
"tslib": "^2.3.0"
|
|
32
|
+
},
|
|
33
|
+
"sideEffects": false
|
|
36
34
|
}
|