@memberjunction/ng-core-entity-forms 0.9.38 → 0.9.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/generated/Entities/AIModel/aimodel.form.component.js +18 -4
- package/dist/lib/generated/Entities/CompanyIntegration/companyintegration.form.component.js +60 -4
- package/dist/lib/generated/Entities/Conversation/sections/details.component.js +116 -18
- package/dist/lib/generated/Entities/DataContext/datacontext.form.component.d.ts +9 -0
- package/dist/lib/generated/Entities/DataContext/datacontext.form.component.js +81 -0
- package/dist/lib/generated/Entities/DataContext/sections/details.component.d.ts +10 -0
- package/dist/lib/generated/Entities/DataContext/sections/details.component.js +241 -0
- package/dist/lib/generated/Entities/DataContextItem/datacontextitem.form.component.d.ts +9 -0
- package/dist/lib/generated/Entities/DataContextItem/datacontextitem.form.component.js +66 -0
- package/dist/lib/generated/Entities/DataContextItem/sections/details.component.d.ts +10 -0
- package/dist/lib/generated/Entities/DataContextItem/sections/details.component.js +289 -0
- package/dist/lib/generated/Entities/Employee/employee.form.component.js +32 -4
- package/dist/lib/generated/Entities/Entity/entity.form.component.js +33 -5
- package/dist/lib/generated/Entities/EntityDocument/entitydocument.form.component.d.ts +9 -0
- package/dist/lib/generated/Entities/EntityDocument/entitydocument.form.component.js +81 -0
- package/dist/lib/generated/Entities/EntityDocument/sections/details.component.d.ts +10 -0
- package/dist/lib/generated/Entities/EntityDocument/sections/details.component.js +290 -0
- package/dist/lib/generated/Entities/EntityDocumentRun/entitydocumentrun.form.component.d.ts +9 -0
- package/dist/lib/generated/Entities/EntityDocumentRun/entitydocumentrun.form.component.js +66 -0
- package/dist/lib/generated/Entities/EntityDocumentRun/sections/details.component.d.ts +10 -0
- package/dist/lib/generated/Entities/EntityDocumentRun/sections/details.component.js +241 -0
- package/dist/lib/generated/Entities/EntityDocumentType/entitydocumenttype.form.component.d.ts +9 -0
- package/dist/lib/generated/Entities/EntityDocumentType/entitydocumenttype.form.component.js +81 -0
- package/dist/lib/generated/Entities/EntityDocumentType/sections/details.component.d.ts +10 -0
- package/dist/lib/generated/Entities/EntityDocumentType/sections/details.component.js +165 -0
- package/dist/lib/generated/Entities/EntityRecordDocument/entityrecorddocument.form.component.d.ts +9 -0
- package/dist/lib/generated/Entities/EntityRecordDocument/entityrecorddocument.form.component.js +66 -0
- package/dist/lib/generated/Entities/EntityRecordDocument/sections/details.component.d.ts +10 -0
- package/dist/lib/generated/Entities/EntityRecordDocument/sections/details.component.js +286 -0
- package/dist/lib/generated/Entities/User/user.form.component.js +18 -4
- package/dist/lib/generated/Entities/VectorDatabase/sections/details.component.d.ts +10 -0
- package/dist/lib/generated/Entities/VectorDatabase/sections/details.component.js +213 -0
- package/dist/lib/generated/Entities/VectorDatabase/vectordatabase.form.component.d.ts +9 -0
- package/dist/lib/generated/Entities/VectorDatabase/vectordatabase.form.component.js +81 -0
- package/dist/lib/generated/Entities/VectorIndex/sections/details.component.d.ts +10 -0
- package/dist/lib/generated/Entities/VectorIndex/sections/details.component.js +266 -0
- package/dist/lib/generated/Entities/VectorIndex/vectorindex.form.component.d.ts +9 -0
- package/dist/lib/generated/Entities/VectorIndex/vectorindex.form.component.js +66 -0
- package/dist/lib/generated/generated-forms.module.d.ts +106 -85
- package/dist/lib/generated/generated-forms.module.js +183 -77
- package/package.json +4 -4
|
@@ -0,0 +1,290 @@
|
|
|
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 EntityDocumentDetailsComponent_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-textarea", 5);
|
|
21
|
+
i0.ɵɵlistener("ngModelChange", function EntityDocumentDetailsComponent_div_0_div_1_Template_kendo_textarea_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, "Entity ID");
|
|
25
|
+
i0.ɵɵelementEnd();
|
|
26
|
+
i0.ɵɵelementStart(8, "kendo-numerictextbox", 6);
|
|
27
|
+
i0.ɵɵlistener("valueChange", function EntityDocumentDetailsComponent_div_0_div_1_Template_kendo_numerictextbox_valueChange_8_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r5 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r5.record.EntityID = $event); });
|
|
28
|
+
i0.ɵɵelementEnd()();
|
|
29
|
+
i0.ɵɵelementStart(9, "div", 3)(10, "label", 4);
|
|
30
|
+
i0.ɵɵtext(11, "Type ID");
|
|
31
|
+
i0.ɵɵelementEnd();
|
|
32
|
+
i0.ɵɵelementStart(12, "kendo-numerictextbox", 6);
|
|
33
|
+
i0.ɵɵlistener("valueChange", function EntityDocumentDetailsComponent_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.TypeID = $event); });
|
|
34
|
+
i0.ɵɵelementEnd()();
|
|
35
|
+
i0.ɵɵelementStart(13, "div", 3)(14, "label", 4);
|
|
36
|
+
i0.ɵɵtext(15, "Status");
|
|
37
|
+
i0.ɵɵelementEnd();
|
|
38
|
+
i0.ɵɵelementStart(16, "kendo-textbox", 5);
|
|
39
|
+
i0.ɵɵlistener("ngModelChange", function EntityDocumentDetailsComponent_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.Status = $event); });
|
|
40
|
+
i0.ɵɵelementEnd()();
|
|
41
|
+
i0.ɵɵelementStart(17, "div", 3)(18, "label", 4);
|
|
42
|
+
i0.ɵɵtext(19, "Template");
|
|
43
|
+
i0.ɵɵelementEnd();
|
|
44
|
+
i0.ɵɵelementStart(20, "kendo-textbox", 5);
|
|
45
|
+
i0.ɵɵlistener("ngModelChange", function EntityDocumentDetailsComponent_div_0_div_1_Template_kendo_textbox_ngModelChange_20_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r8 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r8.record.Template = $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, "Entity");
|
|
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, "Type");
|
|
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("ngModel", ctx_r1.record.Name);
|
|
75
|
+
i0.ɵɵadvance(4);
|
|
76
|
+
i0.ɵɵproperty("value", ctx_r1.record.EntityID);
|
|
77
|
+
i0.ɵɵadvance(4);
|
|
78
|
+
i0.ɵɵproperty("value", ctx_r1.record.TypeID);
|
|
79
|
+
i0.ɵɵadvance(4);
|
|
80
|
+
i0.ɵɵproperty("ngModel", ctx_r1.record.Status);
|
|
81
|
+
i0.ɵɵadvance(4);
|
|
82
|
+
i0.ɵɵproperty("ngModel", ctx_r1.record.Template);
|
|
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("Entity", 0));
|
|
89
|
+
i0.ɵɵadvance(5);
|
|
90
|
+
i0.ɵɵtextInterpolate(ctx_r1.FormatValue("Type", 0));
|
|
91
|
+
} }
|
|
92
|
+
function EntityDocumentDetailsComponent_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, "Name");
|
|
95
|
+
i0.ɵɵelementEnd();
|
|
96
|
+
i0.ɵɵelementStart(4, "span");
|
|
97
|
+
i0.ɵɵtext(5);
|
|
98
|
+
i0.ɵɵelementEnd()();
|
|
99
|
+
i0.ɵɵelementStart(6, "div", 3)(7, "label", 4);
|
|
100
|
+
i0.ɵɵtext(8, "Entity ID");
|
|
101
|
+
i0.ɵɵelementEnd();
|
|
102
|
+
i0.ɵɵelementStart(9, "span", 7);
|
|
103
|
+
i0.ɵɵtext(10);
|
|
104
|
+
i0.ɵɵelementEnd()();
|
|
105
|
+
i0.ɵɵelementStart(11, "div", 3)(12, "label", 4);
|
|
106
|
+
i0.ɵɵtext(13, "Type ID");
|
|
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, "Status");
|
|
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, "Template");
|
|
119
|
+
i0.ɵɵelementEnd();
|
|
120
|
+
i0.ɵɵelementStart(24, "span");
|
|
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, "Entity");
|
|
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, "Type");
|
|
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(5);
|
|
150
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("Name", 0));
|
|
151
|
+
i0.ɵɵadvance(4);
|
|
152
|
+
i0.ɵɵproperty("record", ctx_r2.record);
|
|
153
|
+
i0.ɵɵadvance();
|
|
154
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("EntityID", 0));
|
|
155
|
+
i0.ɵɵadvance(4);
|
|
156
|
+
i0.ɵɵproperty("record", ctx_r2.record);
|
|
157
|
+
i0.ɵɵadvance();
|
|
158
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("TypeID", 0));
|
|
159
|
+
i0.ɵɵadvance(5);
|
|
160
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("Status", 0));
|
|
161
|
+
i0.ɵɵadvance(5);
|
|
162
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("Template", 0));
|
|
163
|
+
i0.ɵɵadvance(5);
|
|
164
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("CreatedAt", 0));
|
|
165
|
+
i0.ɵɵadvance(5);
|
|
166
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("UpdatedAt", 0));
|
|
167
|
+
i0.ɵɵadvance(5);
|
|
168
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("Entity", 0));
|
|
169
|
+
i0.ɵɵadvance(5);
|
|
170
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("Type", 0));
|
|
171
|
+
} }
|
|
172
|
+
function EntityDocumentDetailsComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
173
|
+
i0.ɵɵelementStart(0, "div");
|
|
174
|
+
i0.ɵɵtemplate(1, EntityDocumentDetailsComponent_div_0_div_1_Template, 41, 9, "div", 1)(2, EntityDocumentDetailsComponent_div_0_div_2_Template, 46, 11, "div", 1);
|
|
175
|
+
i0.ɵɵelementEnd();
|
|
176
|
+
} if (rf & 2) {
|
|
177
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
178
|
+
i0.ɵɵadvance();
|
|
179
|
+
i0.ɵɵproperty("ngIf", ctx_r0.EditMode);
|
|
180
|
+
i0.ɵɵadvance();
|
|
181
|
+
i0.ɵɵproperty("ngIf", !ctx_r0.EditMode);
|
|
182
|
+
} }
|
|
183
|
+
let EntityDocumentDetailsComponent = class EntityDocumentDetailsComponent extends BaseFormSectionComponent {
|
|
184
|
+
constructor() {
|
|
185
|
+
super(...arguments);
|
|
186
|
+
this.EditMode = false;
|
|
187
|
+
}
|
|
188
|
+
};
|
|
189
|
+
EntityDocumentDetailsComponent.ɵfac = /*@__PURE__*/ (() => { let ɵEntityDocumentDetailsComponent_BaseFactory; return function EntityDocumentDetailsComponent_Factory(t) { return (ɵEntityDocumentDetailsComponent_BaseFactory || (ɵEntityDocumentDetailsComponent_BaseFactory = i0.ɵɵgetInheritedFactory(EntityDocumentDetailsComponent)))(t || EntityDocumentDetailsComponent); }; })();
|
|
190
|
+
EntityDocumentDetailsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: EntityDocumentDetailsComponent, selectors: [["gen-entitydocument-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", "EntityID", 3, "record"], ["mjFieldLink", "", "fieldName", "TypeID", 3, "record"]], template: function EntityDocumentDetailsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
191
|
+
i0.ɵɵtemplate(0, EntityDocumentDetailsComponent_div_0_Template, 3, 2, "div", 0);
|
|
192
|
+
} if (rf & 2) {
|
|
193
|
+
i0.ɵɵproperty("ngIf", ctx.record);
|
|
194
|
+
} }, 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}"] });
|
|
195
|
+
EntityDocumentDetailsComponent = __decorate([
|
|
196
|
+
RegisterClass(BaseFormSectionComponent, 'Entity Documents.details') // Tell MemberJunction about this class
|
|
197
|
+
], EntityDocumentDetailsComponent);
|
|
198
|
+
export { EntityDocumentDetailsComponent };
|
|
199
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EntityDocumentDetailsComponent, [{
|
|
200
|
+
type: Component,
|
|
201
|
+
args: [{ selector: 'gen-entitydocument-form-details', template: `<div *ngIf="this.record">
|
|
202
|
+
<div *ngIf="this.EditMode" class="record-form">
|
|
203
|
+
|
|
204
|
+
<div class="record-form-row">
|
|
205
|
+
<label class="fieldLabel">Name</label>
|
|
206
|
+
<kendo-textarea [(ngModel)]="record.Name" ></kendo-textarea>
|
|
207
|
+
</div>
|
|
208
|
+
<div class="record-form-row">
|
|
209
|
+
<label class="fieldLabel">Entity ID</label>
|
|
210
|
+
<kendo-numerictextbox [(value)]="record.EntityID" ></kendo-numerictextbox>
|
|
211
|
+
</div>
|
|
212
|
+
<div class="record-form-row">
|
|
213
|
+
<label class="fieldLabel">Type ID</label>
|
|
214
|
+
<kendo-numerictextbox [(value)]="record.TypeID" ></kendo-numerictextbox>
|
|
215
|
+
</div>
|
|
216
|
+
<div class="record-form-row">
|
|
217
|
+
<label class="fieldLabel">Status</label>
|
|
218
|
+
<kendo-textbox [(ngModel)]="record.Status" />
|
|
219
|
+
</div>
|
|
220
|
+
<div class="record-form-row">
|
|
221
|
+
<label class="fieldLabel">Template</label>
|
|
222
|
+
<kendo-textbox [(ngModel)]="record.Template" />
|
|
223
|
+
</div>
|
|
224
|
+
<div class="record-form-row">
|
|
225
|
+
<label class="fieldLabel">Created At</label>
|
|
226
|
+
<span >{{FormatValue('CreatedAt', 0)}}</span>
|
|
227
|
+
</div>
|
|
228
|
+
<div class="record-form-row">
|
|
229
|
+
<label class="fieldLabel">Updated At</label>
|
|
230
|
+
<span >{{FormatValue('UpdatedAt', 0)}}</span>
|
|
231
|
+
</div>
|
|
232
|
+
<div class="record-form-row">
|
|
233
|
+
<label class="fieldLabel">Entity</label>
|
|
234
|
+
<span >{{FormatValue('Entity', 0)}}</span>
|
|
235
|
+
</div>
|
|
236
|
+
<div class="record-form-row">
|
|
237
|
+
<label class="fieldLabel">Type</label>
|
|
238
|
+
<span >{{FormatValue('Type', 0)}}</span>
|
|
239
|
+
</div>
|
|
240
|
+
</div>
|
|
241
|
+
<div *ngIf="!this.EditMode" class="record-form">
|
|
242
|
+
|
|
243
|
+
<div class="record-form-row">
|
|
244
|
+
<label class="fieldLabel">Name</label>
|
|
245
|
+
<span >{{FormatValue('Name', 0)}}</span>
|
|
246
|
+
</div>
|
|
247
|
+
<div class="record-form-row">
|
|
248
|
+
<label class="fieldLabel">Entity ID</label>
|
|
249
|
+
<span mjFieldLink [record]="record" fieldName="EntityID" >{{FormatValue('EntityID', 0)}}</span>
|
|
250
|
+
</div>
|
|
251
|
+
<div class="record-form-row">
|
|
252
|
+
<label class="fieldLabel">Type ID</label>
|
|
253
|
+
<span mjFieldLink [record]="record" fieldName="TypeID" >{{FormatValue('TypeID', 0)}}</span>
|
|
254
|
+
</div>
|
|
255
|
+
<div class="record-form-row">
|
|
256
|
+
<label class="fieldLabel">Status</label>
|
|
257
|
+
<span >{{FormatValue('Status', 0)}}</span>
|
|
258
|
+
</div>
|
|
259
|
+
<div class="record-form-row">
|
|
260
|
+
<label class="fieldLabel">Template</label>
|
|
261
|
+
<span >{{FormatValue('Template', 0)}}</span>
|
|
262
|
+
</div>
|
|
263
|
+
<div class="record-form-row">
|
|
264
|
+
<label class="fieldLabel">Created At</label>
|
|
265
|
+
<span >{{FormatValue('CreatedAt', 0)}}</span>
|
|
266
|
+
</div>
|
|
267
|
+
<div class="record-form-row">
|
|
268
|
+
<label class="fieldLabel">Updated At</label>
|
|
269
|
+
<span >{{FormatValue('UpdatedAt', 0)}}</span>
|
|
270
|
+
</div>
|
|
271
|
+
<div class="record-form-row">
|
|
272
|
+
<label class="fieldLabel">Entity</label>
|
|
273
|
+
<span >{{FormatValue('Entity', 0)}}</span>
|
|
274
|
+
</div>
|
|
275
|
+
<div class="record-form-row">
|
|
276
|
+
<label class="fieldLabel">Type</label>
|
|
277
|
+
<span >{{FormatValue('Type', 0)}}</span>
|
|
278
|
+
</div>
|
|
279
|
+
</div>
|
|
280
|
+
</div>
|
|
281
|
+
`, 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"] }]
|
|
282
|
+
}], null, { record: [{
|
|
283
|
+
type: Input
|
|
284
|
+
}], EditMode: [{
|
|
285
|
+
type: Input
|
|
286
|
+
}] }); })();
|
|
287
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(EntityDocumentDetailsComponent, { className: "EntityDocumentDetailsComponent", filePath: "src\\lib\\generated\\Entities\\EntityDocument\\sections\\details.component.ts", lineNumber: 92 }); })();
|
|
288
|
+
export function LoadEntityDocumentDetailsComponent() {
|
|
289
|
+
// does nothing, but called in order to prevent tree-shaking from eliminating this component from the build
|
|
290
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { EntityDocumentRunEntity } from '@memberjunction/core-entities';
|
|
2
|
+
import { BaseFormComponent } from '@memberjunction/ng-explorer-core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class EntityDocumentRunFormComponent extends BaseFormComponent {
|
|
5
|
+
record: EntityDocumentRunEntity;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EntityDocumentRunFormComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EntityDocumentRunFormComponent, "gen-entitydocumentrun-form", never, {}, {}, never, never, false, never>;
|
|
8
|
+
}
|
|
9
|
+
export declare function LoadEntityDocumentRunFormComponent(): void;
|
|
@@ -0,0 +1,66 @@
|
|
|
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 { LoadEntityDocumentRunDetailsComponent } 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
|
+
function EntityDocumentRunFormComponent_form_1_ng_template_8_Template(rf, ctx) { if (rf & 1) {
|
|
17
|
+
i0.ɵɵtext(0, "Details");
|
|
18
|
+
} }
|
|
19
|
+
function EntityDocumentRunFormComponent_form_1_ng_template_9_Template(rf, ctx) { if (rf & 1) {
|
|
20
|
+
i0.ɵɵelement(0, "mj-form-section", 12);
|
|
21
|
+
} if (rf & 2) {
|
|
22
|
+
const ctx_r5 = i0.ɵɵnextContext(2);
|
|
23
|
+
i0.ɵɵproperty("record", ctx_r5.record)("EditMode", ctx_r5.EditMode);
|
|
24
|
+
} }
|
|
25
|
+
function EntityDocumentRunFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
26
|
+
const _r7 = i0.ɵɵgetCurrentView();
|
|
27
|
+
i0.ɵɵelementStart(0, "form", 2, 3)(2, "div", 4, 5);
|
|
28
|
+
i0.ɵɵelement(4, "mj-form-toolbar", 6);
|
|
29
|
+
i0.ɵɵelementEnd();
|
|
30
|
+
i0.ɵɵelementStart(5, "kendo-tabstrip", 7, 8);
|
|
31
|
+
i0.ɵɵlistener("tabSelect", function EntityDocumentRunFormComponent_form_1_Template_kendo_tabstrip_tabSelect_5_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r6 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r6.onTabSelect($event)); });
|
|
32
|
+
i0.ɵɵelementStart(7, "kendo-tabstrip-tab", 9);
|
|
33
|
+
i0.ɵɵtemplate(8, EntityDocumentRunFormComponent_form_1_ng_template_8_Template, 1, 0, "ng-template", 10)(9, EntityDocumentRunFormComponent_form_1_ng_template_9_Template, 1, 2, "ng-template", 11);
|
|
34
|
+
i0.ɵɵelementEnd()()();
|
|
35
|
+
} if (rf & 2) {
|
|
36
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
37
|
+
i0.ɵɵadvance(4);
|
|
38
|
+
i0.ɵɵproperty("form", ctx_r0);
|
|
39
|
+
i0.ɵɵadvance();
|
|
40
|
+
i0.ɵɵproperty("keepTabContent", true)("animate", false)("height", ctx_r0.TabHeight);
|
|
41
|
+
i0.ɵɵadvance(2);
|
|
42
|
+
i0.ɵɵproperty("selected", ctx_r0.RegisterAndCheckIfCurrentTab("Details"));
|
|
43
|
+
} }
|
|
44
|
+
let EntityDocumentRunFormComponent = class EntityDocumentRunFormComponent extends BaseFormComponent {
|
|
45
|
+
};
|
|
46
|
+
EntityDocumentRunFormComponent.ɵfac = /*@__PURE__*/ (() => { let ɵEntityDocumentRunFormComponent_BaseFactory; return function EntityDocumentRunFormComponent_Factory(t) { return (ɵEntityDocumentRunFormComponent_BaseFactory || (ɵEntityDocumentRunFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(EntityDocumentRunFormComponent)))(t || EntityDocumentRunFormComponent); }; })();
|
|
47
|
+
EntityDocumentRunFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: EntityDocumentRunFormComponent, selectors: [["gen-entitydocumentrun-form"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 1, consts: [[1, "record-form-container"], ["class", "record-form", 4, "ngIf"], [1, "record-form"], ["form", "ngForm"], [1, "record-form-group"], ["topArea", ""], [3, "form"], [3, "keepTabContent", "animate", "height", "tabSelect"], ["tabStrip", ""], [3, "selected"], ["kendoTabTitle", ""], ["kendoTabContent", ""], ["Entity", "Entity Document Runs", "Section", "details", 3, "record", "EditMode"]], template: function EntityDocumentRunFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
48
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
49
|
+
i0.ɵɵtemplate(1, EntityDocumentRunFormComponent_form_1_Template, 10, 5, "form", 1);
|
|
50
|
+
i0.ɵɵelementEnd();
|
|
51
|
+
} if (rf & 2) {
|
|
52
|
+
i0.ɵɵadvance();
|
|
53
|
+
i0.ɵɵproperty("ngIf", ctx.record);
|
|
54
|
+
} }, dependencies: [i1.NgIf, i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.TabStripComponent, i3.TabStripTabComponent, i3.TabContentDirective, i3.TabTitleDirective, i4.FormToolbarComponent, i4.SectionLoaderComponent], 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}"] });
|
|
55
|
+
EntityDocumentRunFormComponent = __decorate([
|
|
56
|
+
RegisterClass(BaseFormComponent, 'Entity Document Runs') // Tell MemberJunction about this class
|
|
57
|
+
], EntityDocumentRunFormComponent);
|
|
58
|
+
export { EntityDocumentRunFormComponent };
|
|
59
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EntityDocumentRunFormComponent, [{
|
|
60
|
+
type: Component,
|
|
61
|
+
args: [{ selector: 'gen-entitydocumentrun-form', template: "<div class=\"record-form-container\">\n <form *ngIf=\"record\" class=\"record-form\" #form=\"ngForm\">\n <div #topArea class=\"record-form-group\">\n <mj-form-toolbar [form]=\"this\"></mj-form-toolbar>\n \n </div>\n <kendo-tabstrip #tabStrip (tabSelect)=\"onTabSelect($event)\" [keepTabContent]=\"true\" [animate] = \"false\" [height]=\"TabHeight\" >\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Details')\">\n <ng-template kendoTabTitle>Details</ng-template>\n <ng-template kendoTabContent >\n <mj-form-section Entity=\"Entity Document Runs\" Section=\"details\" [record]=\"record\" [EditMode]=\"this.EditMode\"></mj-form-section>\n </ng-template>\n </kendo-tabstrip-tab>\n \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"] }]
|
|
62
|
+
}], null, null); })();
|
|
63
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(EntityDocumentRunFormComponent, { className: "EntityDocumentRunFormComponent", filePath: "src\\lib\\generated\\Entities\\EntityDocumentRun\\entitydocumentrun.form.component.ts", lineNumber: 12 }); })();
|
|
64
|
+
export function LoadEntityDocumentRunFormComponent() {
|
|
65
|
+
LoadEntityDocumentRunDetailsComponent();
|
|
66
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BaseFormSectionComponent } from '@memberjunction/ng-explorer-core';
|
|
2
|
+
import { EntityDocumentRunEntity } from '@memberjunction/core-entities';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class EntityDocumentRunDetailsComponent extends BaseFormSectionComponent {
|
|
5
|
+
record: EntityDocumentRunEntity;
|
|
6
|
+
EditMode: boolean;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EntityDocumentRunDetailsComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EntityDocumentRunDetailsComponent, "gen-entitydocumentrun-form-details", never, { "record": { "alias": "record"; "required": false; }; "EditMode": { "alias": "EditMode"; "required": false; }; }, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
10
|
+
export declare function LoadEntityDocumentRunDetailsComponent(): void;
|
|
@@ -0,0 +1,241 @@
|
|
|
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 "@progress/kendo-angular-dateinputs";
|
|
15
|
+
import * as i5 from "@memberjunction/ng-link-directives";
|
|
16
|
+
function EntityDocumentRunDetailsComponent_div_0_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
17
|
+
const _r4 = i0.ɵɵgetCurrentView();
|
|
18
|
+
i0.ɵɵelementStart(0, "div", 2)(1, "div", 3)(2, "label", 4);
|
|
19
|
+
i0.ɵɵtext(3, "Entity Document ID");
|
|
20
|
+
i0.ɵɵelementEnd();
|
|
21
|
+
i0.ɵɵelementStart(4, "kendo-numerictextbox", 5);
|
|
22
|
+
i0.ɵɵlistener("valueChange", function EntityDocumentRunDetailsComponent_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.EntityDocumentID = $event); });
|
|
23
|
+
i0.ɵɵelementEnd()();
|
|
24
|
+
i0.ɵɵelementStart(5, "div", 3)(6, "label", 4);
|
|
25
|
+
i0.ɵɵtext(7, "Started At");
|
|
26
|
+
i0.ɵɵelementEnd();
|
|
27
|
+
i0.ɵɵelementStart(8, "kendo-datepicker", 5);
|
|
28
|
+
i0.ɵɵlistener("valueChange", function EntityDocumentRunDetailsComponent_div_0_div_1_Template_kendo_datepicker_valueChange_8_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r5 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r5.record.StartedAt = $event); });
|
|
29
|
+
i0.ɵɵelementEnd()();
|
|
30
|
+
i0.ɵɵelementStart(9, "div", 3)(10, "label", 4);
|
|
31
|
+
i0.ɵɵtext(11, "Ended At");
|
|
32
|
+
i0.ɵɵelementEnd();
|
|
33
|
+
i0.ɵɵelementStart(12, "kendo-datepicker", 5);
|
|
34
|
+
i0.ɵɵlistener("valueChange", function EntityDocumentRunDetailsComponent_div_0_div_1_Template_kendo_datepicker_valueChange_12_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r6 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r6.record.EndedAt = $event); });
|
|
35
|
+
i0.ɵɵelementEnd()();
|
|
36
|
+
i0.ɵɵelementStart(13, "div", 3)(14, "label", 4);
|
|
37
|
+
i0.ɵɵtext(15, "Status");
|
|
38
|
+
i0.ɵɵelementEnd();
|
|
39
|
+
i0.ɵɵelementStart(16, "kendo-textbox", 6);
|
|
40
|
+
i0.ɵɵlistener("ngModelChange", function EntityDocumentRunDetailsComponent_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.Status = $event); });
|
|
41
|
+
i0.ɵɵelementEnd()();
|
|
42
|
+
i0.ɵɵelementStart(17, "div", 3)(18, "label", 4);
|
|
43
|
+
i0.ɵɵtext(19, "Created At");
|
|
44
|
+
i0.ɵɵelementEnd();
|
|
45
|
+
i0.ɵɵelementStart(20, "span");
|
|
46
|
+
i0.ɵɵtext(21);
|
|
47
|
+
i0.ɵɵelementEnd()();
|
|
48
|
+
i0.ɵɵelementStart(22, "div", 3)(23, "label", 4);
|
|
49
|
+
i0.ɵɵtext(24, "Updated At");
|
|
50
|
+
i0.ɵɵelementEnd();
|
|
51
|
+
i0.ɵɵelementStart(25, "span");
|
|
52
|
+
i0.ɵɵtext(26);
|
|
53
|
+
i0.ɵɵelementEnd()();
|
|
54
|
+
i0.ɵɵelementStart(27, "div", 3)(28, "label", 4);
|
|
55
|
+
i0.ɵɵtext(29, "Entity Document");
|
|
56
|
+
i0.ɵɵelementEnd();
|
|
57
|
+
i0.ɵɵelementStart(30, "span");
|
|
58
|
+
i0.ɵɵtext(31);
|
|
59
|
+
i0.ɵɵelementEnd()()();
|
|
60
|
+
} if (rf & 2) {
|
|
61
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
62
|
+
i0.ɵɵadvance(4);
|
|
63
|
+
i0.ɵɵproperty("value", ctx_r1.record.EntityDocumentID);
|
|
64
|
+
i0.ɵɵadvance(4);
|
|
65
|
+
i0.ɵɵproperty("value", ctx_r1.record.StartedAt);
|
|
66
|
+
i0.ɵɵadvance(4);
|
|
67
|
+
i0.ɵɵproperty("value", ctx_r1.record.EndedAt);
|
|
68
|
+
i0.ɵɵadvance(4);
|
|
69
|
+
i0.ɵɵproperty("ngModel", ctx_r1.record.Status);
|
|
70
|
+
i0.ɵɵadvance(5);
|
|
71
|
+
i0.ɵɵtextInterpolate(ctx_r1.FormatValue("CreatedAt", 0));
|
|
72
|
+
i0.ɵɵadvance(5);
|
|
73
|
+
i0.ɵɵtextInterpolate(ctx_r1.FormatValue("UpdatedAt", 0));
|
|
74
|
+
i0.ɵɵadvance(5);
|
|
75
|
+
i0.ɵɵtextInterpolate(ctx_r1.FormatValue("EntityDocument", 0));
|
|
76
|
+
} }
|
|
77
|
+
function EntityDocumentRunDetailsComponent_div_0_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
78
|
+
i0.ɵɵelementStart(0, "div", 2)(1, "div", 3)(2, "label", 4);
|
|
79
|
+
i0.ɵɵtext(3, "Entity Document ID");
|
|
80
|
+
i0.ɵɵelementEnd();
|
|
81
|
+
i0.ɵɵelementStart(4, "span", 7);
|
|
82
|
+
i0.ɵɵtext(5);
|
|
83
|
+
i0.ɵɵelementEnd()();
|
|
84
|
+
i0.ɵɵelementStart(6, "div", 3)(7, "label", 4);
|
|
85
|
+
i0.ɵɵtext(8, "Started At");
|
|
86
|
+
i0.ɵɵelementEnd();
|
|
87
|
+
i0.ɵɵelementStart(9, "span");
|
|
88
|
+
i0.ɵɵtext(10);
|
|
89
|
+
i0.ɵɵelementEnd()();
|
|
90
|
+
i0.ɵɵelementStart(11, "div", 3)(12, "label", 4);
|
|
91
|
+
i0.ɵɵtext(13, "Ended At");
|
|
92
|
+
i0.ɵɵelementEnd();
|
|
93
|
+
i0.ɵɵelementStart(14, "span");
|
|
94
|
+
i0.ɵɵtext(15);
|
|
95
|
+
i0.ɵɵelementEnd()();
|
|
96
|
+
i0.ɵɵelementStart(16, "div", 3)(17, "label", 4);
|
|
97
|
+
i0.ɵɵtext(18, "Status");
|
|
98
|
+
i0.ɵɵelementEnd();
|
|
99
|
+
i0.ɵɵelementStart(19, "span");
|
|
100
|
+
i0.ɵɵtext(20);
|
|
101
|
+
i0.ɵɵelementEnd()();
|
|
102
|
+
i0.ɵɵelementStart(21, "div", 3)(22, "label", 4);
|
|
103
|
+
i0.ɵɵtext(23, "Created At");
|
|
104
|
+
i0.ɵɵelementEnd();
|
|
105
|
+
i0.ɵɵelementStart(24, "span");
|
|
106
|
+
i0.ɵɵtext(25);
|
|
107
|
+
i0.ɵɵelementEnd()();
|
|
108
|
+
i0.ɵɵelementStart(26, "div", 3)(27, "label", 4);
|
|
109
|
+
i0.ɵɵtext(28, "Updated At");
|
|
110
|
+
i0.ɵɵelementEnd();
|
|
111
|
+
i0.ɵɵelementStart(29, "span");
|
|
112
|
+
i0.ɵɵtext(30);
|
|
113
|
+
i0.ɵɵelementEnd()();
|
|
114
|
+
i0.ɵɵelementStart(31, "div", 3)(32, "label", 4);
|
|
115
|
+
i0.ɵɵtext(33, "Entity Document");
|
|
116
|
+
i0.ɵɵelementEnd();
|
|
117
|
+
i0.ɵɵelementStart(34, "span");
|
|
118
|
+
i0.ɵɵtext(35);
|
|
119
|
+
i0.ɵɵelementEnd()()();
|
|
120
|
+
} if (rf & 2) {
|
|
121
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
122
|
+
i0.ɵɵadvance(4);
|
|
123
|
+
i0.ɵɵproperty("record", ctx_r2.record);
|
|
124
|
+
i0.ɵɵadvance();
|
|
125
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("EntityDocumentID", 0));
|
|
126
|
+
i0.ɵɵadvance(5);
|
|
127
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("StartedAt", 0));
|
|
128
|
+
i0.ɵɵadvance(5);
|
|
129
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("EndedAt", 0));
|
|
130
|
+
i0.ɵɵadvance(5);
|
|
131
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("Status", 0));
|
|
132
|
+
i0.ɵɵadvance(5);
|
|
133
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("CreatedAt", 0));
|
|
134
|
+
i0.ɵɵadvance(5);
|
|
135
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("UpdatedAt", 0));
|
|
136
|
+
i0.ɵɵadvance(5);
|
|
137
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("EntityDocument", 0));
|
|
138
|
+
} }
|
|
139
|
+
function EntityDocumentRunDetailsComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
140
|
+
i0.ɵɵelementStart(0, "div");
|
|
141
|
+
i0.ɵɵtemplate(1, EntityDocumentRunDetailsComponent_div_0_div_1_Template, 32, 7, "div", 1)(2, EntityDocumentRunDetailsComponent_div_0_div_2_Template, 36, 8, "div", 1);
|
|
142
|
+
i0.ɵɵelementEnd();
|
|
143
|
+
} if (rf & 2) {
|
|
144
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
145
|
+
i0.ɵɵadvance();
|
|
146
|
+
i0.ɵɵproperty("ngIf", ctx_r0.EditMode);
|
|
147
|
+
i0.ɵɵadvance();
|
|
148
|
+
i0.ɵɵproperty("ngIf", !ctx_r0.EditMode);
|
|
149
|
+
} }
|
|
150
|
+
let EntityDocumentRunDetailsComponent = class EntityDocumentRunDetailsComponent extends BaseFormSectionComponent {
|
|
151
|
+
constructor() {
|
|
152
|
+
super(...arguments);
|
|
153
|
+
this.EditMode = false;
|
|
154
|
+
}
|
|
155
|
+
};
|
|
156
|
+
EntityDocumentRunDetailsComponent.ɵfac = /*@__PURE__*/ (() => { let ɵEntityDocumentRunDetailsComponent_BaseFactory; return function EntityDocumentRunDetailsComponent_Factory(t) { return (ɵEntityDocumentRunDetailsComponent_BaseFactory || (ɵEntityDocumentRunDetailsComponent_BaseFactory = i0.ɵɵgetInheritedFactory(EntityDocumentRunDetailsComponent)))(t || EntityDocumentRunDetailsComponent); }; })();
|
|
157
|
+
EntityDocumentRunDetailsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: EntityDocumentRunDetailsComponent, selectors: [["gen-entitydocumentrun-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", "EntityDocumentID", 3, "record"]], template: function EntityDocumentRunDetailsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
158
|
+
i0.ɵɵtemplate(0, EntityDocumentRunDetailsComponent_div_0_Template, 3, 2, "div", 0);
|
|
159
|
+
} if (rf & 2) {
|
|
160
|
+
i0.ɵɵproperty("ngIf", ctx.record);
|
|
161
|
+
} }, dependencies: [i1.NgIf, i2.NgControlStatus, i2.NgModel, i3.TextBoxComponent, i3.NumericTextBoxComponent, i4.DatePickerComponent, i5.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}"] });
|
|
162
|
+
EntityDocumentRunDetailsComponent = __decorate([
|
|
163
|
+
RegisterClass(BaseFormSectionComponent, 'Entity Document Runs.details') // Tell MemberJunction about this class
|
|
164
|
+
], EntityDocumentRunDetailsComponent);
|
|
165
|
+
export { EntityDocumentRunDetailsComponent };
|
|
166
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EntityDocumentRunDetailsComponent, [{
|
|
167
|
+
type: Component,
|
|
168
|
+
args: [{ selector: 'gen-entitydocumentrun-form-details', template: `<div *ngIf="this.record">
|
|
169
|
+
<div *ngIf="this.EditMode" class="record-form">
|
|
170
|
+
|
|
171
|
+
<div class="record-form-row">
|
|
172
|
+
<label class="fieldLabel">Entity Document ID</label>
|
|
173
|
+
<kendo-numerictextbox [(value)]="record.EntityDocumentID" ></kendo-numerictextbox>
|
|
174
|
+
</div>
|
|
175
|
+
<div class="record-form-row">
|
|
176
|
+
<label class="fieldLabel">Started At</label>
|
|
177
|
+
<kendo-datepicker [(value)]="record.StartedAt" ></kendo-datepicker>
|
|
178
|
+
</div>
|
|
179
|
+
<div class="record-form-row">
|
|
180
|
+
<label class="fieldLabel">Ended At</label>
|
|
181
|
+
<kendo-datepicker [(value)]="record.EndedAt" ></kendo-datepicker>
|
|
182
|
+
</div>
|
|
183
|
+
<div class="record-form-row">
|
|
184
|
+
<label class="fieldLabel">Status</label>
|
|
185
|
+
<kendo-textbox [(ngModel)]="record.Status" />
|
|
186
|
+
</div>
|
|
187
|
+
<div class="record-form-row">
|
|
188
|
+
<label class="fieldLabel">Created At</label>
|
|
189
|
+
<span >{{FormatValue('CreatedAt', 0)}}</span>
|
|
190
|
+
</div>
|
|
191
|
+
<div class="record-form-row">
|
|
192
|
+
<label class="fieldLabel">Updated At</label>
|
|
193
|
+
<span >{{FormatValue('UpdatedAt', 0)}}</span>
|
|
194
|
+
</div>
|
|
195
|
+
<div class="record-form-row">
|
|
196
|
+
<label class="fieldLabel">Entity Document</label>
|
|
197
|
+
<span >{{FormatValue('EntityDocument', 0)}}</span>
|
|
198
|
+
</div>
|
|
199
|
+
</div>
|
|
200
|
+
<div *ngIf="!this.EditMode" class="record-form">
|
|
201
|
+
|
|
202
|
+
<div class="record-form-row">
|
|
203
|
+
<label class="fieldLabel">Entity Document ID</label>
|
|
204
|
+
<span mjFieldLink [record]="record" fieldName="EntityDocumentID" >{{FormatValue('EntityDocumentID', 0)}}</span>
|
|
205
|
+
</div>
|
|
206
|
+
<div class="record-form-row">
|
|
207
|
+
<label class="fieldLabel">Started At</label>
|
|
208
|
+
<span >{{FormatValue('StartedAt', 0)}}</span>
|
|
209
|
+
</div>
|
|
210
|
+
<div class="record-form-row">
|
|
211
|
+
<label class="fieldLabel">Ended At</label>
|
|
212
|
+
<span >{{FormatValue('EndedAt', 0)}}</span>
|
|
213
|
+
</div>
|
|
214
|
+
<div class="record-form-row">
|
|
215
|
+
<label class="fieldLabel">Status</label>
|
|
216
|
+
<span >{{FormatValue('Status', 0)}}</span>
|
|
217
|
+
</div>
|
|
218
|
+
<div class="record-form-row">
|
|
219
|
+
<label class="fieldLabel">Created At</label>
|
|
220
|
+
<span >{{FormatValue('CreatedAt', 0)}}</span>
|
|
221
|
+
</div>
|
|
222
|
+
<div class="record-form-row">
|
|
223
|
+
<label class="fieldLabel">Updated At</label>
|
|
224
|
+
<span >{{FormatValue('UpdatedAt', 0)}}</span>
|
|
225
|
+
</div>
|
|
226
|
+
<div class="record-form-row">
|
|
227
|
+
<label class="fieldLabel">Entity Document</label>
|
|
228
|
+
<span >{{FormatValue('EntityDocument', 0)}}</span>
|
|
229
|
+
</div>
|
|
230
|
+
</div>
|
|
231
|
+
</div>
|
|
232
|
+
`, 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"] }]
|
|
233
|
+
}], null, { record: [{
|
|
234
|
+
type: Input
|
|
235
|
+
}], EditMode: [{
|
|
236
|
+
type: Input
|
|
237
|
+
}] }); })();
|
|
238
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(EntityDocumentRunDetailsComponent, { className: "EntityDocumentRunDetailsComponent", filePath: "src\\lib\\generated\\Entities\\EntityDocumentRun\\sections\\details.component.ts", lineNumber: 76 }); })();
|
|
239
|
+
export function LoadEntityDocumentRunDetailsComponent() {
|
|
240
|
+
// does nothing, but called in order to prevent tree-shaking from eliminating this component from the build
|
|
241
|
+
}
|