@memberjunction/ng-core-entity-forms 0.9.153 → 0.9.155
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/AuditLog/sections/details.component.js +116 -113
- package/dist/lib/generated/Entities/AuthorizationRole/sections/details.component.js +48 -48
- package/dist/lib/generated/Entities/CompanyIntegrationRunAPILog/sections/details.component.js +67 -64
- package/dist/lib/generated/Entities/ConversationDetail/sections/details.component.js +90 -87
- package/dist/lib/generated/Entities/DataContextItem/sections/details.component.js +143 -140
- package/dist/lib/generated/Entities/Entity/entity.form.component.js +19 -5
- package/dist/lib/generated/Entities/EntityAIAction/sections/details.component.js +153 -148
- package/dist/lib/generated/Entities/EntityDocument/sections/details.component.js +90 -87
- package/dist/lib/generated/Entities/EntityDocumentRun/sections/details.component.js +72 -69
- package/dist/lib/generated/Entities/EntityField/sections/details.component.js +392 -392
- package/dist/lib/generated/Entities/EntityFieldValue/sections/details.component.js +88 -88
- package/dist/lib/generated/Entities/EntityRelationship/sections/details.component.js +242 -239
- package/dist/lib/generated/Entities/Query/sections/details.component.js +105 -102
- package/dist/lib/generated/Entities/QueueTask/sections/details.component.js +94 -91
- package/dist/lib/generated/Entities/RecordChange/sections/details.component.js +106 -103
- package/dist/lib/generated/Entities/RecordMergeDeletionLog/sections/details.component.js +65 -62
- package/dist/lib/generated/Entities/RecordMergeLog/sections/details.component.js +134 -129
- package/dist/lib/generated/Entities/Report/sections/details.component.js +234 -231
- package/dist/lib/generated/Entities/User/sections/details.component.js +174 -171
- package/dist/lib/generated/Entities/UserViewCategory/sections/details.component.js +70 -68
- package/dist/lib/generated/Entities/VersionInstallation/sections/details.component.js +16 -11
- package/dist/lib/generated/Entities/Workflow/sections/details.component.js +104 -104
- package/dist/lib/generated/Entities/WorkflowRun/sections/details.component.js +81 -78
- package/package.json +5 -5
|
@@ -12,6 +12,9 @@ import * as i1 from "@angular/common";
|
|
|
12
12
|
import * as i2 from "@angular/forms";
|
|
13
13
|
import * as i3 from "@progress/kendo-angular-inputs";
|
|
14
14
|
import * as i4 from "@memberjunction/ng-link-directives";
|
|
15
|
+
import * as i5 from "@progress/kendo-angular-dropdowns";
|
|
16
|
+
const _c0 = () => ["after save", "before save"];
|
|
17
|
+
const _c1 = () => ["entity", "field"];
|
|
15
18
|
function EntityAIActionDetailsComponent_div_0_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
16
19
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
17
20
|
i0.ɵɵelementStart(0, "div", 2)(1, "div", 3)(2, "label", 4);
|
|
@@ -47,8 +50,8 @@ function EntityAIActionDetailsComponent_div_0_div_1_Template(rf, ctx) { if (rf &
|
|
|
47
50
|
i0.ɵɵelementStart(21, "div", 3)(22, "label", 4);
|
|
48
51
|
i0.ɵɵtext(23, "Trigger Event");
|
|
49
52
|
i0.ɵɵelementEnd();
|
|
50
|
-
i0.ɵɵelementStart(24, "kendo-
|
|
51
|
-
i0.ɵɵtwoWayListener("ngModelChange", function
|
|
53
|
+
i0.ɵɵelementStart(24, "kendo-dropdownlist", 7);
|
|
54
|
+
i0.ɵɵtwoWayListener("ngModelChange", function EntityAIActionDetailsComponent_div_0_div_1_Template_kendo_dropdownlist_ngModelChange_24_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r9 = i0.ɵɵnextContext(2); i0.ɵɵtwoWayBindingSet(ctx_r9.record.TriggerEvent, $event) || (ctx_r9.record.TriggerEvent = $event); return i0.ɵɵresetView($event); });
|
|
52
55
|
i0.ɵɵelementEnd()();
|
|
53
56
|
i0.ɵɵelementStart(25, "div", 3)(26, "label", 4);
|
|
54
57
|
i0.ɵɵtext(27, "User Message");
|
|
@@ -59,8 +62,8 @@ function EntityAIActionDetailsComponent_div_0_div_1_Template(rf, ctx) { if (rf &
|
|
|
59
62
|
i0.ɵɵelementStart(29, "div", 3)(30, "label", 4);
|
|
60
63
|
i0.ɵɵtext(31, "Output Type");
|
|
61
64
|
i0.ɵɵelementEnd();
|
|
62
|
-
i0.ɵɵelementStart(32, "kendo-
|
|
63
|
-
i0.ɵɵtwoWayListener("ngModelChange", function
|
|
65
|
+
i0.ɵɵelementStart(32, "kendo-dropdownlist", 7);
|
|
66
|
+
i0.ɵɵtwoWayListener("ngModelChange", function EntityAIActionDetailsComponent_div_0_div_1_Template_kendo_dropdownlist_ngModelChange_32_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r11 = i0.ɵɵnextContext(2); i0.ɵɵtwoWayBindingSet(ctx_r11.record.OutputType, $event) || (ctx_r11.record.OutputType = $event); return i0.ɵɵresetView($event); });
|
|
64
67
|
i0.ɵɵelementEnd()();
|
|
65
68
|
i0.ɵɵelementStart(33, "div", 3)(34, "label", 4);
|
|
66
69
|
i0.ɵɵtext(35, "Output Field");
|
|
@@ -71,7 +74,7 @@ function EntityAIActionDetailsComponent_div_0_div_1_Template(rf, ctx) { if (rf &
|
|
|
71
74
|
i0.ɵɵelementStart(37, "div", 3)(38, "label", 4);
|
|
72
75
|
i0.ɵɵtext(39, "Skip If Output Field Not Empty");
|
|
73
76
|
i0.ɵɵelementEnd();
|
|
74
|
-
i0.ɵɵelementStart(40, "input",
|
|
77
|
+
i0.ɵɵelementStart(40, "input", 8);
|
|
75
78
|
i0.ɵɵtwoWayListener("ngModelChange", function EntityAIActionDetailsComponent_div_0_div_1_Template_input_ngModelChange_40_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r13 = i0.ɵɵnextContext(2); i0.ɵɵtwoWayBindingSet(ctx_r13.record.SkipIfOutputFieldNotEmpty, $event) || (ctx_r13.record.SkipIfOutputFieldNotEmpty = $event); return i0.ɵɵresetView($event); });
|
|
76
79
|
i0.ɵɵelementEnd()();
|
|
77
80
|
i0.ɵɵelementStart(41, "div", 3)(42, "label", 4);
|
|
@@ -123,10 +126,12 @@ function EntityAIActionDetailsComponent_div_0_div_1_Template(rf, ctx) { if (rf &
|
|
|
123
126
|
i0.ɵɵadvance(4);
|
|
124
127
|
i0.ɵɵtwoWayProperty("ngModel", ctx_r1.record.Prompt);
|
|
125
128
|
i0.ɵɵadvance(4);
|
|
129
|
+
i0.ɵɵproperty("data", i0.ɵɵpureFunction0(18, _c0));
|
|
126
130
|
i0.ɵɵtwoWayProperty("ngModel", ctx_r1.record.TriggerEvent);
|
|
127
131
|
i0.ɵɵadvance(4);
|
|
128
132
|
i0.ɵɵtwoWayProperty("ngModel", ctx_r1.record.UserMessage);
|
|
129
133
|
i0.ɵɵadvance(4);
|
|
134
|
+
i0.ɵɵproperty("data", i0.ɵɵpureFunction0(19, _c1));
|
|
130
135
|
i0.ɵɵtwoWayProperty("ngModel", ctx_r1.record.OutputType);
|
|
131
136
|
i0.ɵɵadvance(4);
|
|
132
137
|
i0.ɵɵtwoWayProperty("ngModel", ctx_r1.record.OutputField);
|
|
@@ -149,19 +154,19 @@ function EntityAIActionDetailsComponent_div_0_div_2_Template(rf, ctx) { if (rf &
|
|
|
149
154
|
i0.ɵɵelementStart(0, "div", 2)(1, "div", 3)(2, "label", 4);
|
|
150
155
|
i0.ɵɵtext(3, "Entity ID");
|
|
151
156
|
i0.ɵɵelementEnd();
|
|
152
|
-
i0.ɵɵelementStart(4, "span",
|
|
157
|
+
i0.ɵɵelementStart(4, "span", 9);
|
|
153
158
|
i0.ɵɵtext(5);
|
|
154
159
|
i0.ɵɵelementEnd()();
|
|
155
160
|
i0.ɵɵelementStart(6, "div", 3)(7, "label", 4);
|
|
156
161
|
i0.ɵɵtext(8, "AI Action ID");
|
|
157
162
|
i0.ɵɵelementEnd();
|
|
158
|
-
i0.ɵɵelementStart(9, "span",
|
|
163
|
+
i0.ɵɵelementStart(9, "span", 10);
|
|
159
164
|
i0.ɵɵtext(10);
|
|
160
165
|
i0.ɵɵelementEnd()();
|
|
161
166
|
i0.ɵɵelementStart(11, "div", 3)(12, "label", 4);
|
|
162
167
|
i0.ɵɵtext(13, "AI Model ID");
|
|
163
168
|
i0.ɵɵelementEnd();
|
|
164
|
-
i0.ɵɵelementStart(14, "span",
|
|
169
|
+
i0.ɵɵelementStart(14, "span", 11);
|
|
165
170
|
i0.ɵɵtext(15);
|
|
166
171
|
i0.ɵɵelementEnd()();
|
|
167
172
|
i0.ɵɵelementStart(16, "div", 3)(17, "label", 4);
|
|
@@ -209,7 +214,7 @@ function EntityAIActionDetailsComponent_div_0_div_2_Template(rf, ctx) { if (rf &
|
|
|
209
214
|
i0.ɵɵelementStart(51, "div", 3)(52, "label", 4);
|
|
210
215
|
i0.ɵɵtext(53, "Output Entity ID");
|
|
211
216
|
i0.ɵɵelementEnd();
|
|
212
|
-
i0.ɵɵelementStart(54, "span",
|
|
217
|
+
i0.ɵɵelementStart(54, "span", 12);
|
|
213
218
|
i0.ɵɵtext(55);
|
|
214
219
|
i0.ɵɵelementEnd()();
|
|
215
220
|
i0.ɵɵelementStart(56, "div", 3)(57, "label", 4);
|
|
@@ -287,7 +292,7 @@ function EntityAIActionDetailsComponent_div_0_div_2_Template(rf, ctx) { if (rf &
|
|
|
287
292
|
} }
|
|
288
293
|
function EntityAIActionDetailsComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
289
294
|
i0.ɵɵelementStart(0, "div");
|
|
290
|
-
i0.ɵɵtemplate(1, EntityAIActionDetailsComponent_div_0_div_1_Template, 69,
|
|
295
|
+
i0.ɵɵtemplate(1, EntityAIActionDetailsComponent_div_0_div_1_Template, 69, 20, "div", 1)(2, EntityAIActionDetailsComponent_div_0_div_2_Template, 81, 20, "div", 1);
|
|
291
296
|
i0.ɵɵelementEnd();
|
|
292
297
|
} if (rf & 2) {
|
|
293
298
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -303,153 +308,153 @@ let EntityAIActionDetailsComponent = class EntityAIActionDetailsComponent extend
|
|
|
303
308
|
}
|
|
304
309
|
};
|
|
305
310
|
EntityAIActionDetailsComponent.ɵfac = /*@__PURE__*/ (() => { let ɵEntityAIActionDetailsComponent_BaseFactory; return function EntityAIActionDetailsComponent_Factory(t) { return (ɵEntityAIActionDetailsComponent_BaseFactory || (ɵEntityAIActionDetailsComponent_BaseFactory = i0.ɵɵgetInheritedFactory(EntityAIActionDetailsComponent)))(t || EntityAIActionDetailsComponent); }; })();
|
|
306
|
-
EntityAIActionDetailsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: EntityAIActionDetailsComponent, selectors: [["gen-entityaiaction-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"], ["type", "checkbox", "kendoCheckBox", "", 3, "ngModel", "ngModelChange"], ["mjFieldLink", "", "fieldName", "EntityID", 3, "record"], ["mjFieldLink", "", "fieldName", "AIActionID", 3, "record"], ["mjFieldLink", "", "fieldName", "AIModelID", 3, "record"], ["mjFieldLink", "", "fieldName", "OutputEntityID", 3, "record"]], template: function EntityAIActionDetailsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
311
|
+
EntityAIActionDetailsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: EntityAIActionDetailsComponent, selectors: [["gen-entityaiaction-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"], [3, "data", "ngModel", "ngModelChange"], ["type", "checkbox", "kendoCheckBox", "", 3, "ngModel", "ngModelChange"], ["mjFieldLink", "", "fieldName", "EntityID", 3, "record"], ["mjFieldLink", "", "fieldName", "AIActionID", 3, "record"], ["mjFieldLink", "", "fieldName", "AIModelID", 3, "record"], ["mjFieldLink", "", "fieldName", "OutputEntityID", 3, "record"]], template: function EntityAIActionDetailsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
307
312
|
i0.ɵɵtemplate(0, EntityAIActionDetailsComponent_div_0_Template, 3, 2, "div", 0);
|
|
308
313
|
} if (rf & 2) {
|
|
309
314
|
i0.ɵɵproperty("ngIf", ctx.record);
|
|
310
|
-
} }, dependencies: [i1.NgIf, i2.CheckboxControlValueAccessor, i2.NgControlStatus, i2.NgModel, i3.TextBoxComponent, i3.NumericTextBoxComponent, i3.CheckBoxDirective, 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}"] });
|
|
315
|
+
} }, dependencies: [i1.NgIf, i2.CheckboxControlValueAccessor, i2.NgControlStatus, i2.NgModel, i3.TextBoxComponent, i3.NumericTextBoxComponent, i3.CheckBoxDirective, i4.FieldLink, i5.DropDownListComponent], 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}"] });
|
|
311
316
|
EntityAIActionDetailsComponent = __decorate([
|
|
312
317
|
RegisterClass(BaseFormSectionComponent, 'Entity AI Actions.details') // Tell MemberJunction about this class
|
|
313
318
|
], EntityAIActionDetailsComponent);
|
|
314
319
|
export { EntityAIActionDetailsComponent };
|
|
315
320
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EntityAIActionDetailsComponent, [{
|
|
316
321
|
type: Component,
|
|
317
|
-
args: [{ selector: 'gen-entityaiaction-form-details', template: `<div *ngIf="this.record">
|
|
318
|
-
<div *ngIf="this.EditMode" class="record-form">
|
|
319
|
-
|
|
320
|
-
<div class="record-form-row">
|
|
321
|
-
<label class="fieldLabel">Entity ID</label>
|
|
322
|
-
<kendo-numerictextbox [(value)]="record.EntityID" ></kendo-numerictextbox>
|
|
323
|
-
</div>
|
|
324
|
-
<div class="record-form-row">
|
|
325
|
-
<label class="fieldLabel">AI Action ID</label>
|
|
326
|
-
<kendo-numerictextbox [(value)]="record.AIActionID" ></kendo-numerictextbox>
|
|
327
|
-
</div>
|
|
328
|
-
<div class="record-form-row">
|
|
329
|
-
<label class="fieldLabel">AI Model ID</label>
|
|
330
|
-
<kendo-numerictextbox [(value)]="record.AIModelID!" ></kendo-numerictextbox>
|
|
331
|
-
</div>
|
|
332
|
-
<div class="record-form-row">
|
|
333
|
-
<label class="fieldLabel">Name</label>
|
|
334
|
-
<kendo-textbox [(ngModel)]="record.Name" />
|
|
335
|
-
</div>
|
|
336
|
-
<div class="record-form-row">
|
|
337
|
-
<label class="fieldLabel">Prompt</label>
|
|
338
|
-
<kendo-textbox [(ngModel)]="record.Prompt" />
|
|
339
|
-
</div>
|
|
340
|
-
<div class="record-form-row">
|
|
341
|
-
<label class="fieldLabel">Trigger Event</label>
|
|
342
|
-
<kendo-
|
|
343
|
-
</div>
|
|
344
|
-
<div class="record-form-row">
|
|
345
|
-
<label class="fieldLabel">User Message</label>
|
|
346
|
-
<kendo-textbox [(ngModel)]="record.UserMessage" />
|
|
347
|
-
</div>
|
|
348
|
-
<div class="record-form-row">
|
|
349
|
-
<label class="fieldLabel">Output Type</label>
|
|
350
|
-
<kendo-
|
|
351
|
-
</div>
|
|
352
|
-
<div class="record-form-row">
|
|
353
|
-
<label class="fieldLabel">Output Field</label>
|
|
354
|
-
<kendo-textbox [(ngModel)]="record.OutputField" />
|
|
355
|
-
</div>
|
|
356
|
-
<div class="record-form-row">
|
|
357
|
-
<label class="fieldLabel">Skip If Output Field Not Empty</label>
|
|
358
|
-
<input type="checkbox" [(ngModel)]="record.SkipIfOutputFieldNotEmpty" kendoCheckBox />
|
|
359
|
-
</div>
|
|
360
|
-
<div class="record-form-row">
|
|
361
|
-
<label class="fieldLabel">Output Entity ID</label>
|
|
362
|
-
<kendo-numerictextbox [(value)]="record.OutputEntityID!" ></kendo-numerictextbox>
|
|
363
|
-
</div>
|
|
364
|
-
<div class="record-form-row">
|
|
365
|
-
<label class="fieldLabel">Comments</label>
|
|
366
|
-
<kendo-textbox [(ngModel)]="record.Comments" />
|
|
367
|
-
</div>
|
|
368
|
-
<div class="record-form-row">
|
|
369
|
-
<label class="fieldLabel">Entity</label>
|
|
370
|
-
<span >{{FormatValue('Entity', 0)}}</span>
|
|
371
|
-
</div>
|
|
372
|
-
<div class="record-form-row">
|
|
373
|
-
<label class="fieldLabel">AIAction</label>
|
|
374
|
-
<span >{{FormatValue('AIAction', 0)}}</span>
|
|
375
|
-
</div>
|
|
376
|
-
<div class="record-form-row">
|
|
377
|
-
<label class="fieldLabel">AIModel</label>
|
|
378
|
-
<span >{{FormatValue('AIModel', 0)}}</span>
|
|
379
|
-
</div>
|
|
380
|
-
<div class="record-form-row">
|
|
381
|
-
<label class="fieldLabel">Output Entity</label>
|
|
382
|
-
<span >{{FormatValue('OutputEntity', 0)}}</span>
|
|
383
|
-
</div>
|
|
384
|
-
</div>
|
|
385
|
-
<div *ngIf="!this.EditMode" class="record-form">
|
|
386
|
-
|
|
387
|
-
<div class="record-form-row">
|
|
388
|
-
<label class="fieldLabel">Entity ID</label>
|
|
389
|
-
<span mjFieldLink [record]="record" fieldName="EntityID" >{{FormatValue('EntityID', 0)}}</span>
|
|
390
|
-
</div>
|
|
391
|
-
<div class="record-form-row">
|
|
392
|
-
<label class="fieldLabel">AI Action ID</label>
|
|
393
|
-
<span mjFieldLink [record]="record" fieldName="AIActionID" >{{FormatValue('AIActionID', 0)}}</span>
|
|
394
|
-
</div>
|
|
395
|
-
<div class="record-form-row">
|
|
396
|
-
<label class="fieldLabel">AI Model ID</label>
|
|
397
|
-
<span mjFieldLink [record]="record" fieldName="AIModelID" >{{FormatValue('AIModelID', 0)}}</span>
|
|
398
|
-
</div>
|
|
399
|
-
<div class="record-form-row">
|
|
400
|
-
<label class="fieldLabel">Name</label>
|
|
401
|
-
<span >{{FormatValue('Name', 0)}}</span>
|
|
402
|
-
</div>
|
|
403
|
-
<div class="record-form-row">
|
|
404
|
-
<label class="fieldLabel">Prompt</label>
|
|
405
|
-
<span >{{FormatValue('Prompt', 0)}}</span>
|
|
406
|
-
</div>
|
|
407
|
-
<div class="record-form-row">
|
|
408
|
-
<label class="fieldLabel">Trigger Event</label>
|
|
409
|
-
<span >{{FormatValue('TriggerEvent', 0)}}</span>
|
|
410
|
-
</div>
|
|
411
|
-
<div class="record-form-row">
|
|
412
|
-
<label class="fieldLabel">User Message</label>
|
|
413
|
-
<span >{{FormatValue('UserMessage', 0)}}</span>
|
|
414
|
-
</div>
|
|
415
|
-
<div class="record-form-row">
|
|
416
|
-
<label class="fieldLabel">Output Type</label>
|
|
417
|
-
<span >{{FormatValue('OutputType', 0)}}</span>
|
|
418
|
-
</div>
|
|
419
|
-
<div class="record-form-row">
|
|
420
|
-
<label class="fieldLabel">Output Field</label>
|
|
421
|
-
<span >{{FormatValue('OutputField', 0)}}</span>
|
|
422
|
-
</div>
|
|
423
|
-
<div class="record-form-row">
|
|
424
|
-
<label class="fieldLabel">Skip If Output Field Not Empty</label>
|
|
425
|
-
<span >{{FormatValue('SkipIfOutputFieldNotEmpty', 0)}}</span>
|
|
426
|
-
</div>
|
|
427
|
-
<div class="record-form-row">
|
|
428
|
-
<label class="fieldLabel">Output Entity ID</label>
|
|
429
|
-
<span mjFieldLink [record]="record" fieldName="OutputEntityID" >{{FormatValue('OutputEntityID', 0)}}</span>
|
|
430
|
-
</div>
|
|
431
|
-
<div class="record-form-row">
|
|
432
|
-
<label class="fieldLabel">Comments</label>
|
|
433
|
-
<span >{{FormatValue('Comments', 0)}}</span>
|
|
434
|
-
</div>
|
|
435
|
-
<div class="record-form-row">
|
|
436
|
-
<label class="fieldLabel">Entity</label>
|
|
437
|
-
<span >{{FormatValue('Entity', 0)}}</span>
|
|
438
|
-
</div>
|
|
439
|
-
<div class="record-form-row">
|
|
440
|
-
<label class="fieldLabel">AIAction</label>
|
|
441
|
-
<span >{{FormatValue('AIAction', 0)}}</span>
|
|
442
|
-
</div>
|
|
443
|
-
<div class="record-form-row">
|
|
444
|
-
<label class="fieldLabel">AIModel</label>
|
|
445
|
-
<span >{{FormatValue('AIModel', 0)}}</span>
|
|
446
|
-
</div>
|
|
447
|
-
<div class="record-form-row">
|
|
448
|
-
<label class="fieldLabel">Output Entity</label>
|
|
449
|
-
<span >{{FormatValue('OutputEntity', 0)}}</span>
|
|
450
|
-
</div>
|
|
451
|
-
</div>
|
|
452
|
-
</div>
|
|
322
|
+
args: [{ selector: 'gen-entityaiaction-form-details', template: `<div *ngIf="this.record">
|
|
323
|
+
<div *ngIf="this.EditMode" class="record-form">
|
|
324
|
+
|
|
325
|
+
<div class="record-form-row">
|
|
326
|
+
<label class="fieldLabel">Entity ID</label>
|
|
327
|
+
<kendo-numerictextbox [(value)]="record.EntityID" ></kendo-numerictextbox>
|
|
328
|
+
</div>
|
|
329
|
+
<div class="record-form-row">
|
|
330
|
+
<label class="fieldLabel">AI Action ID</label>
|
|
331
|
+
<kendo-numerictextbox [(value)]="record.AIActionID" ></kendo-numerictextbox>
|
|
332
|
+
</div>
|
|
333
|
+
<div class="record-form-row">
|
|
334
|
+
<label class="fieldLabel">AI Model ID</label>
|
|
335
|
+
<kendo-numerictextbox [(value)]="record.AIModelID!" ></kendo-numerictextbox>
|
|
336
|
+
</div>
|
|
337
|
+
<div class="record-form-row">
|
|
338
|
+
<label class="fieldLabel">Name</label>
|
|
339
|
+
<kendo-textbox [(ngModel)]="record.Name" />
|
|
340
|
+
</div>
|
|
341
|
+
<div class="record-form-row">
|
|
342
|
+
<label class="fieldLabel">Prompt</label>
|
|
343
|
+
<kendo-textbox [(ngModel)]="record.Prompt" />
|
|
344
|
+
</div>
|
|
345
|
+
<div class="record-form-row">
|
|
346
|
+
<label class="fieldLabel">Trigger Event</label>
|
|
347
|
+
<kendo-dropdownlist [data]="['after save', 'before save']" [(ngModel)]="record.TriggerEvent" ></kendo-dropdownlist>
|
|
348
|
+
</div>
|
|
349
|
+
<div class="record-form-row">
|
|
350
|
+
<label class="fieldLabel">User Message</label>
|
|
351
|
+
<kendo-textbox [(ngModel)]="record.UserMessage" />
|
|
352
|
+
</div>
|
|
353
|
+
<div class="record-form-row">
|
|
354
|
+
<label class="fieldLabel">Output Type</label>
|
|
355
|
+
<kendo-dropdownlist [data]="['entity', 'field']" [(ngModel)]="record.OutputType" ></kendo-dropdownlist>
|
|
356
|
+
</div>
|
|
357
|
+
<div class="record-form-row">
|
|
358
|
+
<label class="fieldLabel">Output Field</label>
|
|
359
|
+
<kendo-textbox [(ngModel)]="record.OutputField" />
|
|
360
|
+
</div>
|
|
361
|
+
<div class="record-form-row">
|
|
362
|
+
<label class="fieldLabel">Skip If Output Field Not Empty</label>
|
|
363
|
+
<input type="checkbox" [(ngModel)]="record.SkipIfOutputFieldNotEmpty" kendoCheckBox />
|
|
364
|
+
</div>
|
|
365
|
+
<div class="record-form-row">
|
|
366
|
+
<label class="fieldLabel">Output Entity ID</label>
|
|
367
|
+
<kendo-numerictextbox [(value)]="record.OutputEntityID!" ></kendo-numerictextbox>
|
|
368
|
+
</div>
|
|
369
|
+
<div class="record-form-row">
|
|
370
|
+
<label class="fieldLabel">Comments</label>
|
|
371
|
+
<kendo-textbox [(ngModel)]="record.Comments" />
|
|
372
|
+
</div>
|
|
373
|
+
<div class="record-form-row">
|
|
374
|
+
<label class="fieldLabel">Entity</label>
|
|
375
|
+
<span >{{FormatValue('Entity', 0)}}</span>
|
|
376
|
+
</div>
|
|
377
|
+
<div class="record-form-row">
|
|
378
|
+
<label class="fieldLabel">AIAction</label>
|
|
379
|
+
<span >{{FormatValue('AIAction', 0)}}</span>
|
|
380
|
+
</div>
|
|
381
|
+
<div class="record-form-row">
|
|
382
|
+
<label class="fieldLabel">AIModel</label>
|
|
383
|
+
<span >{{FormatValue('AIModel', 0)}}</span>
|
|
384
|
+
</div>
|
|
385
|
+
<div class="record-form-row">
|
|
386
|
+
<label class="fieldLabel">Output Entity</label>
|
|
387
|
+
<span >{{FormatValue('OutputEntity', 0)}}</span>
|
|
388
|
+
</div>
|
|
389
|
+
</div>
|
|
390
|
+
<div *ngIf="!this.EditMode" class="record-form">
|
|
391
|
+
|
|
392
|
+
<div class="record-form-row">
|
|
393
|
+
<label class="fieldLabel">Entity ID</label>
|
|
394
|
+
<span mjFieldLink [record]="record" fieldName="EntityID" >{{FormatValue('EntityID', 0)}}</span>
|
|
395
|
+
</div>
|
|
396
|
+
<div class="record-form-row">
|
|
397
|
+
<label class="fieldLabel">AI Action ID</label>
|
|
398
|
+
<span mjFieldLink [record]="record" fieldName="AIActionID" >{{FormatValue('AIActionID', 0)}}</span>
|
|
399
|
+
</div>
|
|
400
|
+
<div class="record-form-row">
|
|
401
|
+
<label class="fieldLabel">AI Model ID</label>
|
|
402
|
+
<span mjFieldLink [record]="record" fieldName="AIModelID" >{{FormatValue('AIModelID', 0)}}</span>
|
|
403
|
+
</div>
|
|
404
|
+
<div class="record-form-row">
|
|
405
|
+
<label class="fieldLabel">Name</label>
|
|
406
|
+
<span >{{FormatValue('Name', 0)}}</span>
|
|
407
|
+
</div>
|
|
408
|
+
<div class="record-form-row">
|
|
409
|
+
<label class="fieldLabel">Prompt</label>
|
|
410
|
+
<span >{{FormatValue('Prompt', 0)}}</span>
|
|
411
|
+
</div>
|
|
412
|
+
<div class="record-form-row">
|
|
413
|
+
<label class="fieldLabel">Trigger Event</label>
|
|
414
|
+
<span >{{FormatValue('TriggerEvent', 0)}}</span>
|
|
415
|
+
</div>
|
|
416
|
+
<div class="record-form-row">
|
|
417
|
+
<label class="fieldLabel">User Message</label>
|
|
418
|
+
<span >{{FormatValue('UserMessage', 0)}}</span>
|
|
419
|
+
</div>
|
|
420
|
+
<div class="record-form-row">
|
|
421
|
+
<label class="fieldLabel">Output Type</label>
|
|
422
|
+
<span >{{FormatValue('OutputType', 0)}}</span>
|
|
423
|
+
</div>
|
|
424
|
+
<div class="record-form-row">
|
|
425
|
+
<label class="fieldLabel">Output Field</label>
|
|
426
|
+
<span >{{FormatValue('OutputField', 0)}}</span>
|
|
427
|
+
</div>
|
|
428
|
+
<div class="record-form-row">
|
|
429
|
+
<label class="fieldLabel">Skip If Output Field Not Empty</label>
|
|
430
|
+
<span >{{FormatValue('SkipIfOutputFieldNotEmpty', 0)}}</span>
|
|
431
|
+
</div>
|
|
432
|
+
<div class="record-form-row">
|
|
433
|
+
<label class="fieldLabel">Output Entity ID</label>
|
|
434
|
+
<span mjFieldLink [record]="record" fieldName="OutputEntityID" >{{FormatValue('OutputEntityID', 0)}}</span>
|
|
435
|
+
</div>
|
|
436
|
+
<div class="record-form-row">
|
|
437
|
+
<label class="fieldLabel">Comments</label>
|
|
438
|
+
<span >{{FormatValue('Comments', 0)}}</span>
|
|
439
|
+
</div>
|
|
440
|
+
<div class="record-form-row">
|
|
441
|
+
<label class="fieldLabel">Entity</label>
|
|
442
|
+
<span >{{FormatValue('Entity', 0)}}</span>
|
|
443
|
+
</div>
|
|
444
|
+
<div class="record-form-row">
|
|
445
|
+
<label class="fieldLabel">AIAction</label>
|
|
446
|
+
<span >{{FormatValue('AIAction', 0)}}</span>
|
|
447
|
+
</div>
|
|
448
|
+
<div class="record-form-row">
|
|
449
|
+
<label class="fieldLabel">AIModel</label>
|
|
450
|
+
<span >{{FormatValue('AIModel', 0)}}</span>
|
|
451
|
+
</div>
|
|
452
|
+
<div class="record-form-row">
|
|
453
|
+
<label class="fieldLabel">Output Entity</label>
|
|
454
|
+
<span >{{FormatValue('OutputEntity', 0)}}</span>
|
|
455
|
+
</div>
|
|
456
|
+
</div>
|
|
457
|
+
</div>
|
|
453
458
|
`, 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"] }]
|
|
454
459
|
}], null, { record: [{
|
|
455
460
|
type: Input
|