@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,213 @@
|
|
|
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
|
+
function VectorDatabaseDetailsComponent_div_0_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
15
|
+
const _r4 = i0.ɵɵgetCurrentView();
|
|
16
|
+
i0.ɵɵelementStart(0, "div", 2)(1, "div", 3)(2, "label", 4);
|
|
17
|
+
i0.ɵɵtext(3, "Name");
|
|
18
|
+
i0.ɵɵelementEnd();
|
|
19
|
+
i0.ɵɵelementStart(4, "kendo-textbox", 5);
|
|
20
|
+
i0.ɵɵlistener("ngModelChange", function VectorDatabaseDetailsComponent_div_0_div_1_Template_kendo_textbox_ngModelChange_4_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r3 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r3.record.Name = $event); });
|
|
21
|
+
i0.ɵɵelementEnd()();
|
|
22
|
+
i0.ɵɵelementStart(5, "div", 3)(6, "label", 4);
|
|
23
|
+
i0.ɵɵtext(7, "Description");
|
|
24
|
+
i0.ɵɵelementEnd();
|
|
25
|
+
i0.ɵɵelementStart(8, "kendo-textbox", 5);
|
|
26
|
+
i0.ɵɵlistener("ngModelChange", function VectorDatabaseDetailsComponent_div_0_div_1_Template_kendo_textbox_ngModelChange_8_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r5 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r5.record.Description = $event); });
|
|
27
|
+
i0.ɵɵelementEnd()();
|
|
28
|
+
i0.ɵɵelementStart(9, "div", 3)(10, "label", 4);
|
|
29
|
+
i0.ɵɵtext(11, "Default URL");
|
|
30
|
+
i0.ɵɵelementEnd();
|
|
31
|
+
i0.ɵɵelementStart(12, "kendo-textarea", 5);
|
|
32
|
+
i0.ɵɵlistener("ngModelChange", function VectorDatabaseDetailsComponent_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.DefaultURL = $event); });
|
|
33
|
+
i0.ɵɵelementEnd()();
|
|
34
|
+
i0.ɵɵelementStart(13, "div", 3)(14, "label", 4);
|
|
35
|
+
i0.ɵɵtext(15, "Class Key");
|
|
36
|
+
i0.ɵɵelementEnd();
|
|
37
|
+
i0.ɵɵelementStart(16, "kendo-textbox", 5);
|
|
38
|
+
i0.ɵɵlistener("ngModelChange", function VectorDatabaseDetailsComponent_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.ClassKey = $event); });
|
|
39
|
+
i0.ɵɵelementEnd()();
|
|
40
|
+
i0.ɵɵelementStart(17, "div", 3)(18, "label", 4);
|
|
41
|
+
i0.ɵɵtext(19, "Created At");
|
|
42
|
+
i0.ɵɵelementEnd();
|
|
43
|
+
i0.ɵɵelementStart(20, "span");
|
|
44
|
+
i0.ɵɵtext(21);
|
|
45
|
+
i0.ɵɵelementEnd()();
|
|
46
|
+
i0.ɵɵelementStart(22, "div", 3)(23, "label", 4);
|
|
47
|
+
i0.ɵɵtext(24, "Updated At");
|
|
48
|
+
i0.ɵɵelementEnd();
|
|
49
|
+
i0.ɵɵelementStart(25, "span");
|
|
50
|
+
i0.ɵɵtext(26);
|
|
51
|
+
i0.ɵɵelementEnd()()();
|
|
52
|
+
} if (rf & 2) {
|
|
53
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
54
|
+
i0.ɵɵadvance(4);
|
|
55
|
+
i0.ɵɵproperty("ngModel", ctx_r1.record.Name);
|
|
56
|
+
i0.ɵɵadvance(4);
|
|
57
|
+
i0.ɵɵproperty("ngModel", ctx_r1.record.Description);
|
|
58
|
+
i0.ɵɵadvance(4);
|
|
59
|
+
i0.ɵɵproperty("ngModel", ctx_r1.record.DefaultURL);
|
|
60
|
+
i0.ɵɵadvance(4);
|
|
61
|
+
i0.ɵɵproperty("ngModel", ctx_r1.record.ClassKey);
|
|
62
|
+
i0.ɵɵadvance(5);
|
|
63
|
+
i0.ɵɵtextInterpolate(ctx_r1.FormatValue("CreatedAt", 0));
|
|
64
|
+
i0.ɵɵadvance(5);
|
|
65
|
+
i0.ɵɵtextInterpolate(ctx_r1.FormatValue("UpdatedAt", 0));
|
|
66
|
+
} }
|
|
67
|
+
function VectorDatabaseDetailsComponent_div_0_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
68
|
+
i0.ɵɵelementStart(0, "div", 2)(1, "div", 3)(2, "label", 4);
|
|
69
|
+
i0.ɵɵtext(3, "Name");
|
|
70
|
+
i0.ɵɵelementEnd();
|
|
71
|
+
i0.ɵɵelementStart(4, "span");
|
|
72
|
+
i0.ɵɵtext(5);
|
|
73
|
+
i0.ɵɵelementEnd()();
|
|
74
|
+
i0.ɵɵelementStart(6, "div", 3)(7, "label", 4);
|
|
75
|
+
i0.ɵɵtext(8, "Description");
|
|
76
|
+
i0.ɵɵelementEnd();
|
|
77
|
+
i0.ɵɵelementStart(9, "span");
|
|
78
|
+
i0.ɵɵtext(10);
|
|
79
|
+
i0.ɵɵelementEnd()();
|
|
80
|
+
i0.ɵɵelementStart(11, "div", 3)(12, "label", 4);
|
|
81
|
+
i0.ɵɵtext(13, "Default URL");
|
|
82
|
+
i0.ɵɵelementEnd();
|
|
83
|
+
i0.ɵɵelementStart(14, "span");
|
|
84
|
+
i0.ɵɵtext(15);
|
|
85
|
+
i0.ɵɵelementEnd()();
|
|
86
|
+
i0.ɵɵelementStart(16, "div", 3)(17, "label", 4);
|
|
87
|
+
i0.ɵɵtext(18, "Class Key");
|
|
88
|
+
i0.ɵɵelementEnd();
|
|
89
|
+
i0.ɵɵelementStart(19, "span");
|
|
90
|
+
i0.ɵɵtext(20);
|
|
91
|
+
i0.ɵɵelementEnd()();
|
|
92
|
+
i0.ɵɵelementStart(21, "div", 3)(22, "label", 4);
|
|
93
|
+
i0.ɵɵtext(23, "Created At");
|
|
94
|
+
i0.ɵɵelementEnd();
|
|
95
|
+
i0.ɵɵelementStart(24, "span");
|
|
96
|
+
i0.ɵɵtext(25);
|
|
97
|
+
i0.ɵɵelementEnd()();
|
|
98
|
+
i0.ɵɵelementStart(26, "div", 3)(27, "label", 4);
|
|
99
|
+
i0.ɵɵtext(28, "Updated At");
|
|
100
|
+
i0.ɵɵelementEnd();
|
|
101
|
+
i0.ɵɵelementStart(29, "span");
|
|
102
|
+
i0.ɵɵtext(30);
|
|
103
|
+
i0.ɵɵelementEnd()()();
|
|
104
|
+
} if (rf & 2) {
|
|
105
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
106
|
+
i0.ɵɵadvance(5);
|
|
107
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("Name", 0));
|
|
108
|
+
i0.ɵɵadvance(5);
|
|
109
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("Description", 0));
|
|
110
|
+
i0.ɵɵadvance(5);
|
|
111
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("DefaultURL", 0));
|
|
112
|
+
i0.ɵɵadvance(5);
|
|
113
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("ClassKey", 0));
|
|
114
|
+
i0.ɵɵadvance(5);
|
|
115
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("CreatedAt", 0));
|
|
116
|
+
i0.ɵɵadvance(5);
|
|
117
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("UpdatedAt", 0));
|
|
118
|
+
} }
|
|
119
|
+
function VectorDatabaseDetailsComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
120
|
+
i0.ɵɵelementStart(0, "div");
|
|
121
|
+
i0.ɵɵtemplate(1, VectorDatabaseDetailsComponent_div_0_div_1_Template, 27, 6, "div", 1)(2, VectorDatabaseDetailsComponent_div_0_div_2_Template, 31, 6, "div", 1);
|
|
122
|
+
i0.ɵɵelementEnd();
|
|
123
|
+
} if (rf & 2) {
|
|
124
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
125
|
+
i0.ɵɵadvance();
|
|
126
|
+
i0.ɵɵproperty("ngIf", ctx_r0.EditMode);
|
|
127
|
+
i0.ɵɵadvance();
|
|
128
|
+
i0.ɵɵproperty("ngIf", !ctx_r0.EditMode);
|
|
129
|
+
} }
|
|
130
|
+
let VectorDatabaseDetailsComponent = class VectorDatabaseDetailsComponent extends BaseFormSectionComponent {
|
|
131
|
+
constructor() {
|
|
132
|
+
super(...arguments);
|
|
133
|
+
this.EditMode = false;
|
|
134
|
+
}
|
|
135
|
+
};
|
|
136
|
+
VectorDatabaseDetailsComponent.ɵfac = /*@__PURE__*/ (() => { let ɵVectorDatabaseDetailsComponent_BaseFactory; return function VectorDatabaseDetailsComponent_Factory(t) { return (ɵVectorDatabaseDetailsComponent_BaseFactory || (ɵVectorDatabaseDetailsComponent_BaseFactory = i0.ɵɵgetInheritedFactory(VectorDatabaseDetailsComponent)))(t || VectorDatabaseDetailsComponent); }; })();
|
|
137
|
+
VectorDatabaseDetailsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: VectorDatabaseDetailsComponent, selectors: [["gen-vectordatabase-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"]], template: function VectorDatabaseDetailsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
138
|
+
i0.ɵɵtemplate(0, VectorDatabaseDetailsComponent_div_0_Template, 3, 2, "div", 0);
|
|
139
|
+
} if (rf & 2) {
|
|
140
|
+
i0.ɵɵproperty("ngIf", ctx.record);
|
|
141
|
+
} }, dependencies: [i1.NgIf, i2.NgControlStatus, i2.NgModel, i3.TextAreaComponent, i3.TextBoxComponent], 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}"] });
|
|
142
|
+
VectorDatabaseDetailsComponent = __decorate([
|
|
143
|
+
RegisterClass(BaseFormSectionComponent, 'Vector Databases.details') // Tell MemberJunction about this class
|
|
144
|
+
], VectorDatabaseDetailsComponent);
|
|
145
|
+
export { VectorDatabaseDetailsComponent };
|
|
146
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(VectorDatabaseDetailsComponent, [{
|
|
147
|
+
type: Component,
|
|
148
|
+
args: [{ selector: 'gen-vectordatabase-form-details', template: `<div *ngIf="this.record">
|
|
149
|
+
<div *ngIf="this.EditMode" class="record-form">
|
|
150
|
+
|
|
151
|
+
<div class="record-form-row">
|
|
152
|
+
<label class="fieldLabel">Name</label>
|
|
153
|
+
<kendo-textbox [(ngModel)]="record.Name" />
|
|
154
|
+
</div>
|
|
155
|
+
<div class="record-form-row">
|
|
156
|
+
<label class="fieldLabel">Description</label>
|
|
157
|
+
<kendo-textbox [(ngModel)]="record.Description" />
|
|
158
|
+
</div>
|
|
159
|
+
<div class="record-form-row">
|
|
160
|
+
<label class="fieldLabel">Default URL</label>
|
|
161
|
+
<kendo-textarea [(ngModel)]="record.DefaultURL" ></kendo-textarea>
|
|
162
|
+
</div>
|
|
163
|
+
<div class="record-form-row">
|
|
164
|
+
<label class="fieldLabel">Class Key</label>
|
|
165
|
+
<kendo-textbox [(ngModel)]="record.ClassKey" />
|
|
166
|
+
</div>
|
|
167
|
+
<div class="record-form-row">
|
|
168
|
+
<label class="fieldLabel">Created At</label>
|
|
169
|
+
<span >{{FormatValue('CreatedAt', 0)}}</span>
|
|
170
|
+
</div>
|
|
171
|
+
<div class="record-form-row">
|
|
172
|
+
<label class="fieldLabel">Updated At</label>
|
|
173
|
+
<span >{{FormatValue('UpdatedAt', 0)}}</span>
|
|
174
|
+
</div>
|
|
175
|
+
</div>
|
|
176
|
+
<div *ngIf="!this.EditMode" class="record-form">
|
|
177
|
+
|
|
178
|
+
<div class="record-form-row">
|
|
179
|
+
<label class="fieldLabel">Name</label>
|
|
180
|
+
<span >{{FormatValue('Name', 0)}}</span>
|
|
181
|
+
</div>
|
|
182
|
+
<div class="record-form-row">
|
|
183
|
+
<label class="fieldLabel">Description</label>
|
|
184
|
+
<span >{{FormatValue('Description', 0)}}</span>
|
|
185
|
+
</div>
|
|
186
|
+
<div class="record-form-row">
|
|
187
|
+
<label class="fieldLabel">Default URL</label>
|
|
188
|
+
<span >{{FormatValue('DefaultURL', 0)}}</span>
|
|
189
|
+
</div>
|
|
190
|
+
<div class="record-form-row">
|
|
191
|
+
<label class="fieldLabel">Class Key</label>
|
|
192
|
+
<span >{{FormatValue('ClassKey', 0)}}</span>
|
|
193
|
+
</div>
|
|
194
|
+
<div class="record-form-row">
|
|
195
|
+
<label class="fieldLabel">Created At</label>
|
|
196
|
+
<span >{{FormatValue('CreatedAt', 0)}}</span>
|
|
197
|
+
</div>
|
|
198
|
+
<div class="record-form-row">
|
|
199
|
+
<label class="fieldLabel">Updated At</label>
|
|
200
|
+
<span >{{FormatValue('UpdatedAt', 0)}}</span>
|
|
201
|
+
</div>
|
|
202
|
+
</div>
|
|
203
|
+
</div>
|
|
204
|
+
`, 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"] }]
|
|
205
|
+
}], null, { record: [{
|
|
206
|
+
type: Input
|
|
207
|
+
}], EditMode: [{
|
|
208
|
+
type: Input
|
|
209
|
+
}] }); })();
|
|
210
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(VectorDatabaseDetailsComponent, { className: "VectorDatabaseDetailsComponent", filePath: "src\\lib\\generated\\Entities\\VectorDatabase\\sections\\details.component.ts", lineNumber: 68 }); })();
|
|
211
|
+
export function LoadVectorDatabaseDetailsComponent() {
|
|
212
|
+
// does nothing, but called in order to prevent tree-shaking from eliminating this component from the build
|
|
213
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { VectorDatabaseEntity } from '@memberjunction/core-entities';
|
|
2
|
+
import { BaseFormComponent } from '@memberjunction/ng-explorer-core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class VectorDatabaseFormComponent extends BaseFormComponent {
|
|
5
|
+
record: VectorDatabaseEntity;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VectorDatabaseFormComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VectorDatabaseFormComponent, "gen-vectordatabase-form", never, {}, {}, never, never, false, never>;
|
|
8
|
+
}
|
|
9
|
+
export declare function LoadVectorDatabaseFormComponent(): void;
|
|
@@ -0,0 +1,81 @@
|
|
|
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 { LoadVectorDatabaseDetailsComponent } from "./sections/details.component";
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
import * as i1 from "@angular/common";
|
|
13
|
+
import * as i2 from "@angular/forms";
|
|
14
|
+
import * as i3 from "@progress/kendo-angular-layout";
|
|
15
|
+
import * as i4 from "@memberjunction/ng-explorer-core";
|
|
16
|
+
import * as i5 from "@memberjunction/ng-user-view-grid";
|
|
17
|
+
function VectorDatabaseFormComponent_form_1_ng_template_8_Template(rf, ctx) { if (rf & 1) {
|
|
18
|
+
i0.ɵɵtext(0, "Details");
|
|
19
|
+
} }
|
|
20
|
+
function VectorDatabaseFormComponent_form_1_ng_template_9_Template(rf, ctx) { if (rf & 1) {
|
|
21
|
+
i0.ɵɵelement(0, "mj-form-section", 12);
|
|
22
|
+
} if (rf & 2) {
|
|
23
|
+
const ctx_r5 = i0.ɵɵnextContext(2);
|
|
24
|
+
i0.ɵɵproperty("record", ctx_r5.record)("EditMode", ctx_r5.EditMode);
|
|
25
|
+
} }
|
|
26
|
+
function VectorDatabaseFormComponent_form_1_ng_template_11_Template(rf, ctx) { if (rf & 1) {
|
|
27
|
+
i0.ɵɵtext(0, "Vector Indexes");
|
|
28
|
+
} }
|
|
29
|
+
function VectorDatabaseFormComponent_form_1_ng_template_12_Template(rf, ctx) { if (rf & 1) {
|
|
30
|
+
i0.ɵɵelement(0, "mj-user-view-grid", 13);
|
|
31
|
+
} if (rf & 2) {
|
|
32
|
+
const ctx_r7 = i0.ɵɵnextContext(2);
|
|
33
|
+
i0.ɵɵproperty("Params", ctx_r7.BuildRelationshipViewParamsByEntityName("Vector Indexes"))("AllowLoad", ctx_r7.IsCurrentTab("Vector Indexes"))("EditMode", ctx_r7.GridEditMode())("BottomMargin", ctx_r7.GridBottomMargin);
|
|
34
|
+
} }
|
|
35
|
+
function VectorDatabaseFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
36
|
+
const _r9 = i0.ɵɵgetCurrentView();
|
|
37
|
+
i0.ɵɵelementStart(0, "form", 2, 3)(2, "div", 4, 5);
|
|
38
|
+
i0.ɵɵelement(4, "mj-form-toolbar", 6);
|
|
39
|
+
i0.ɵɵelementEnd();
|
|
40
|
+
i0.ɵɵelementStart(5, "kendo-tabstrip", 7, 8);
|
|
41
|
+
i0.ɵɵlistener("tabSelect", function VectorDatabaseFormComponent_form_1_Template_kendo_tabstrip_tabSelect_5_listener($event) { i0.ɵɵrestoreView(_r9); const ctx_r8 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r8.onTabSelect($event)); });
|
|
42
|
+
i0.ɵɵelementStart(7, "kendo-tabstrip-tab", 9);
|
|
43
|
+
i0.ɵɵtemplate(8, VectorDatabaseFormComponent_form_1_ng_template_8_Template, 1, 0, "ng-template", 10)(9, VectorDatabaseFormComponent_form_1_ng_template_9_Template, 1, 2, "ng-template", 11);
|
|
44
|
+
i0.ɵɵelementEnd();
|
|
45
|
+
i0.ɵɵelementStart(10, "kendo-tabstrip-tab", 9);
|
|
46
|
+
i0.ɵɵtemplate(11, VectorDatabaseFormComponent_form_1_ng_template_11_Template, 1, 0, "ng-template", 10)(12, VectorDatabaseFormComponent_form_1_ng_template_12_Template, 1, 4, "ng-template", 11);
|
|
47
|
+
i0.ɵɵelementEnd()()();
|
|
48
|
+
} if (rf & 2) {
|
|
49
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
50
|
+
i0.ɵɵadvance(4);
|
|
51
|
+
i0.ɵɵproperty("form", ctx_r0);
|
|
52
|
+
i0.ɵɵadvance();
|
|
53
|
+
i0.ɵɵproperty("keepTabContent", true)("animate", false)("height", ctx_r0.TabHeight);
|
|
54
|
+
i0.ɵɵadvance(2);
|
|
55
|
+
i0.ɵɵproperty("selected", ctx_r0.RegisterAndCheckIfCurrentTab("Details"));
|
|
56
|
+
i0.ɵɵadvance(3);
|
|
57
|
+
i0.ɵɵproperty("selected", ctx_r0.RegisterAndCheckIfCurrentTab("Vector Indexes"));
|
|
58
|
+
} }
|
|
59
|
+
let VectorDatabaseFormComponent = class VectorDatabaseFormComponent extends BaseFormComponent {
|
|
60
|
+
};
|
|
61
|
+
VectorDatabaseFormComponent.ɵfac = /*@__PURE__*/ (() => { let ɵVectorDatabaseFormComponent_BaseFactory; return function VectorDatabaseFormComponent_Factory(t) { return (ɵVectorDatabaseFormComponent_BaseFactory || (ɵVectorDatabaseFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(VectorDatabaseFormComponent)))(t || VectorDatabaseFormComponent); }; })();
|
|
62
|
+
VectorDatabaseFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: VectorDatabaseFormComponent, selectors: [["gen-vectordatabase-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", "Vector Databases", "Section", "details", 3, "record", "EditMode"], [3, "Params", "AllowLoad", "EditMode", "BottomMargin"]], template: function VectorDatabaseFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
63
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
64
|
+
i0.ɵɵtemplate(1, VectorDatabaseFormComponent_form_1_Template, 13, 6, "form", 1);
|
|
65
|
+
i0.ɵɵelementEnd();
|
|
66
|
+
} if (rf & 2) {
|
|
67
|
+
i0.ɵɵadvance();
|
|
68
|
+
i0.ɵɵproperty("ngIf", ctx.record);
|
|
69
|
+
} }, dependencies: [i1.NgIf, i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.TabStripComponent, i3.TabStripTabComponent, i3.TabContentDirective, i3.TabTitleDirective, i4.FormToolbarComponent, i4.SectionLoaderComponent, i5.UserViewGridComponent], styles: ["a[_ngcontent-%COMP%] {\r\n font-size: 14px;\r\n font-weight: bolder;\r\n}\r\n\r\n.record-form[_ngcontent-%COMP%] {\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n\r\n.record-form-group[_ngcontent-%COMP%] {\r\n margin-top: 0px;\r\n}\r\n\r\nbutton[_ngcontent-%COMP%] {\r\n margin-right: 5px;\r\n}\r\n\r\n.record-form[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] {\r\n margin-bottom: 10px;\r\n}\r\n\r\n.k-splitter[_ngcontent-%COMP%] {\r\n border-width: 0px;\r\n}\r\n\r\n.record-form-row[_ngcontent-%COMP%] {\r\n display: grid;\r\n grid-template-columns: auto 1fr;\r\n align-items: start;\r\n gap: 10px;\r\n margin-bottom: 12px;\r\n padding-top: 5px;\r\n padding-bottom: 5px;\r\n}\r\n\r\n\r\n\r\n\r\n\n\r\n\r\n\r\n\r\n\r\n\n\r\n\r\n.record-form[_ngcontent-%COMP%] .record-form-row[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:first-child {\r\n font-weight: bold;\r\n padding-right: 10px;\r\n} \r\n\r\n.record-form[_ngcontent-%COMP%] .record-form-row[_ngcontent-%COMP%] > span[_ngcontent-%COMP%] {\r\n white-space: pre-line;\r\n max-height: 300px;\r\n overflow: auto;\r\n}\r\n\r\n \r\n\r\n@media (min-width: 768px) {\r\n .record-form[_ngcontent-%COMP%] {\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n padding-bottom: 5px;\r\n }\r\n\r\n .record-form-row[_ngcontent-%COMP%] {\r\n flex-direction: row;\r\n align-items: center;\r\n }\r\n\r\n .record-form-row[_ngcontent-%COMP%] label[_ngcontent-%COMP%] {\r\n width: 240px;\r\n margin-bottom: 0;\r\n }\r\n}"] });
|
|
70
|
+
VectorDatabaseFormComponent = __decorate([
|
|
71
|
+
RegisterClass(BaseFormComponent, 'Vector Databases') // Tell MemberJunction about this class
|
|
72
|
+
], VectorDatabaseFormComponent);
|
|
73
|
+
export { VectorDatabaseFormComponent };
|
|
74
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(VectorDatabaseFormComponent, [{
|
|
75
|
+
type: Component,
|
|
76
|
+
args: [{ selector: 'gen-vectordatabase-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=\"Vector Databases\" Section=\"details\" [record]=\"record\" [EditMode]=\"this.EditMode\"></mj-form-section>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Vector Indexes')\">\n <ng-template kendoTabTitle>Vector Indexes</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Vector Indexes')\" \n [AllowLoad]=\"this.IsCurrentTab('Vector Indexes')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n </kendo-tabstrip>\n </form>\n </div>\n ", styles: ["a {\r\n font-size: 14px;\r\n font-weight: bolder;\r\n}\r\n\r\n.record-form {\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n\r\n.record-form-group {\r\n margin-top: 0px;\r\n}\r\n\r\nbutton {\r\n margin-right: 5px;\r\n}\r\n\r\n.record-form h2 {\r\n margin-bottom: 10px;\r\n}\r\n\r\n.k-splitter {\r\n border-width: 0px;\r\n}\r\n\r\n.record-form-row {\r\n display: grid;\r\n grid-template-columns: auto 1fr;\r\n align-items: start;\r\n gap: 10px;\r\n margin-bottom: 12px;\r\n padding-top: 5px;\r\n padding-bottom: 5px;\r\n}\r\n\r\n\r\n/* .record-form .record-form-row:nth-child(odd) {\r\n background-color: #f2f2f2; \r\n} */\r\n\r\n/* \r\n.record-form .record-form-row:nth-child(even) {\r\n background-color: #ffffff; \r\n} */\r\n\r\n.record-form .record-form-row > :first-child {\r\n font-weight: bold;\r\n padding-right: 10px;\r\n} \r\n\r\n.record-form .record-form-row > span {\r\n white-space: pre-line;\r\n max-height: 300px;\r\n overflow: auto;\r\n}\r\n\r\n \r\n\r\n@media (min-width: 768px) {\r\n .record-form {\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n padding-bottom: 5px;\r\n }\r\n\r\n .record-form-row {\r\n flex-direction: row;\r\n align-items: center;\r\n }\r\n\r\n .record-form-row label {\r\n width: 240px;\r\n margin-bottom: 0;\r\n }\r\n}\r\n"] }]
|
|
77
|
+
}], null, null); })();
|
|
78
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(VectorDatabaseFormComponent, { className: "VectorDatabaseFormComponent", filePath: "src\\lib\\generated\\Entities\\VectorDatabase\\vectordatabase.form.component.ts", lineNumber: 12 }); })();
|
|
79
|
+
export function LoadVectorDatabaseFormComponent() {
|
|
80
|
+
LoadVectorDatabaseDetailsComponent();
|
|
81
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BaseFormSectionComponent } from '@memberjunction/ng-explorer-core';
|
|
2
|
+
import { VectorIndexEntity } from '@memberjunction/core-entities';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class VectorIndexDetailsComponent extends BaseFormSectionComponent {
|
|
5
|
+
record: VectorIndexEntity;
|
|
6
|
+
EditMode: boolean;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VectorIndexDetailsComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VectorIndexDetailsComponent, "gen-vectorindex-form-details", never, { "record": { "alias": "record"; "required": false; }; "EditMode": { "alias": "EditMode"; "required": false; }; }, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
10
|
+
export declare function LoadVectorIndexDetailsComponent(): void;
|
|
@@ -0,0 +1,266 @@
|
|
|
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 VectorIndexDetailsComponent_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 VectorIndexDetailsComponent_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, "Description");
|
|
25
|
+
i0.ɵɵelementEnd();
|
|
26
|
+
i0.ɵɵelementStart(8, "kendo-textbox", 5);
|
|
27
|
+
i0.ɵɵlistener("ngModelChange", function VectorIndexDetailsComponent_div_0_div_1_Template_kendo_textbox_ngModelChange_8_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r5 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r5.record.Description = $event); });
|
|
28
|
+
i0.ɵɵelementEnd()();
|
|
29
|
+
i0.ɵɵelementStart(9, "div", 3)(10, "label", 4);
|
|
30
|
+
i0.ɵɵtext(11, "Vector Database ID");
|
|
31
|
+
i0.ɵɵelementEnd();
|
|
32
|
+
i0.ɵɵelementStart(12, "kendo-numerictextbox", 6);
|
|
33
|
+
i0.ɵɵlistener("valueChange", function VectorIndexDetailsComponent_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.VectorDatabaseID = $event); });
|
|
34
|
+
i0.ɵɵelementEnd()();
|
|
35
|
+
i0.ɵɵelementStart(13, "div", 3)(14, "label", 4);
|
|
36
|
+
i0.ɵɵtext(15, "Embedding Model ID");
|
|
37
|
+
i0.ɵɵelementEnd();
|
|
38
|
+
i0.ɵɵelementStart(16, "kendo-numerictextbox", 6);
|
|
39
|
+
i0.ɵɵlistener("valueChange", function VectorIndexDetailsComponent_div_0_div_1_Template_kendo_numerictextbox_valueChange_16_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r7 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r7.record.EmbeddingModelID = $event); });
|
|
40
|
+
i0.ɵɵelementEnd()();
|
|
41
|
+
i0.ɵɵelementStart(17, "div", 3)(18, "label", 4);
|
|
42
|
+
i0.ɵɵtext(19, "Created At");
|
|
43
|
+
i0.ɵɵelementEnd();
|
|
44
|
+
i0.ɵɵelementStart(20, "span");
|
|
45
|
+
i0.ɵɵtext(21);
|
|
46
|
+
i0.ɵɵelementEnd()();
|
|
47
|
+
i0.ɵɵelementStart(22, "div", 3)(23, "label", 4);
|
|
48
|
+
i0.ɵɵtext(24, "Updated At");
|
|
49
|
+
i0.ɵɵelementEnd();
|
|
50
|
+
i0.ɵɵelementStart(25, "span");
|
|
51
|
+
i0.ɵɵtext(26);
|
|
52
|
+
i0.ɵɵelementEnd()();
|
|
53
|
+
i0.ɵɵelementStart(27, "div", 3)(28, "label", 4);
|
|
54
|
+
i0.ɵɵtext(29, "Vector Database");
|
|
55
|
+
i0.ɵɵelementEnd();
|
|
56
|
+
i0.ɵɵelementStart(30, "span");
|
|
57
|
+
i0.ɵɵtext(31);
|
|
58
|
+
i0.ɵɵelementEnd()();
|
|
59
|
+
i0.ɵɵelementStart(32, "div", 3)(33, "label", 4);
|
|
60
|
+
i0.ɵɵtext(34, "Embedding Model");
|
|
61
|
+
i0.ɵɵelementEnd();
|
|
62
|
+
i0.ɵɵelementStart(35, "span");
|
|
63
|
+
i0.ɵɵtext(36);
|
|
64
|
+
i0.ɵɵelementEnd()()();
|
|
65
|
+
} if (rf & 2) {
|
|
66
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
67
|
+
i0.ɵɵadvance(4);
|
|
68
|
+
i0.ɵɵproperty("ngModel", ctx_r1.record.Name);
|
|
69
|
+
i0.ɵɵadvance(4);
|
|
70
|
+
i0.ɵɵproperty("ngModel", ctx_r1.record.Description);
|
|
71
|
+
i0.ɵɵadvance(4);
|
|
72
|
+
i0.ɵɵproperty("value", ctx_r1.record.VectorDatabaseID);
|
|
73
|
+
i0.ɵɵadvance(4);
|
|
74
|
+
i0.ɵɵproperty("value", ctx_r1.record.EmbeddingModelID);
|
|
75
|
+
i0.ɵɵadvance(5);
|
|
76
|
+
i0.ɵɵtextInterpolate(ctx_r1.FormatValue("CreatedAt", 0));
|
|
77
|
+
i0.ɵɵadvance(5);
|
|
78
|
+
i0.ɵɵtextInterpolate(ctx_r1.FormatValue("UpdatedAt", 0));
|
|
79
|
+
i0.ɵɵadvance(5);
|
|
80
|
+
i0.ɵɵtextInterpolate(ctx_r1.FormatValue("VectorDatabase", 0));
|
|
81
|
+
i0.ɵɵadvance(5);
|
|
82
|
+
i0.ɵɵtextInterpolate(ctx_r1.FormatValue("EmbeddingModel", 0));
|
|
83
|
+
} }
|
|
84
|
+
function VectorIndexDetailsComponent_div_0_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
85
|
+
i0.ɵɵelementStart(0, "div", 2)(1, "div", 3)(2, "label", 4);
|
|
86
|
+
i0.ɵɵtext(3, "Name");
|
|
87
|
+
i0.ɵɵelementEnd();
|
|
88
|
+
i0.ɵɵelementStart(4, "span");
|
|
89
|
+
i0.ɵɵtext(5);
|
|
90
|
+
i0.ɵɵelementEnd()();
|
|
91
|
+
i0.ɵɵelementStart(6, "div", 3)(7, "label", 4);
|
|
92
|
+
i0.ɵɵtext(8, "Description");
|
|
93
|
+
i0.ɵɵelementEnd();
|
|
94
|
+
i0.ɵɵelementStart(9, "span");
|
|
95
|
+
i0.ɵɵtext(10);
|
|
96
|
+
i0.ɵɵelementEnd()();
|
|
97
|
+
i0.ɵɵelementStart(11, "div", 3)(12, "label", 4);
|
|
98
|
+
i0.ɵɵtext(13, "Vector Database ID");
|
|
99
|
+
i0.ɵɵelementEnd();
|
|
100
|
+
i0.ɵɵelementStart(14, "span", 7);
|
|
101
|
+
i0.ɵɵtext(15);
|
|
102
|
+
i0.ɵɵelementEnd()();
|
|
103
|
+
i0.ɵɵelementStart(16, "div", 3)(17, "label", 4);
|
|
104
|
+
i0.ɵɵtext(18, "Embedding Model ID");
|
|
105
|
+
i0.ɵɵelementEnd();
|
|
106
|
+
i0.ɵɵelementStart(19, "span", 8);
|
|
107
|
+
i0.ɵɵtext(20);
|
|
108
|
+
i0.ɵɵelementEnd()();
|
|
109
|
+
i0.ɵɵelementStart(21, "div", 3)(22, "label", 4);
|
|
110
|
+
i0.ɵɵtext(23, "Created At");
|
|
111
|
+
i0.ɵɵelementEnd();
|
|
112
|
+
i0.ɵɵelementStart(24, "span");
|
|
113
|
+
i0.ɵɵtext(25);
|
|
114
|
+
i0.ɵɵelementEnd()();
|
|
115
|
+
i0.ɵɵelementStart(26, "div", 3)(27, "label", 4);
|
|
116
|
+
i0.ɵɵtext(28, "Updated At");
|
|
117
|
+
i0.ɵɵelementEnd();
|
|
118
|
+
i0.ɵɵelementStart(29, "span");
|
|
119
|
+
i0.ɵɵtext(30);
|
|
120
|
+
i0.ɵɵelementEnd()();
|
|
121
|
+
i0.ɵɵelementStart(31, "div", 3)(32, "label", 4);
|
|
122
|
+
i0.ɵɵtext(33, "Vector Database");
|
|
123
|
+
i0.ɵɵelementEnd();
|
|
124
|
+
i0.ɵɵelementStart(34, "span");
|
|
125
|
+
i0.ɵɵtext(35);
|
|
126
|
+
i0.ɵɵelementEnd()();
|
|
127
|
+
i0.ɵɵelementStart(36, "div", 3)(37, "label", 4);
|
|
128
|
+
i0.ɵɵtext(38, "Embedding Model");
|
|
129
|
+
i0.ɵɵelementEnd();
|
|
130
|
+
i0.ɵɵelementStart(39, "span");
|
|
131
|
+
i0.ɵɵtext(40);
|
|
132
|
+
i0.ɵɵelementEnd()()();
|
|
133
|
+
} if (rf & 2) {
|
|
134
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
135
|
+
i0.ɵɵadvance(5);
|
|
136
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("Name", 0));
|
|
137
|
+
i0.ɵɵadvance(5);
|
|
138
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("Description", 0));
|
|
139
|
+
i0.ɵɵadvance(4);
|
|
140
|
+
i0.ɵɵproperty("record", ctx_r2.record);
|
|
141
|
+
i0.ɵɵadvance();
|
|
142
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("VectorDatabaseID", 0));
|
|
143
|
+
i0.ɵɵadvance(4);
|
|
144
|
+
i0.ɵɵproperty("record", ctx_r2.record);
|
|
145
|
+
i0.ɵɵadvance();
|
|
146
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("EmbeddingModelID", 0));
|
|
147
|
+
i0.ɵɵadvance(5);
|
|
148
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("CreatedAt", 0));
|
|
149
|
+
i0.ɵɵadvance(5);
|
|
150
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("UpdatedAt", 0));
|
|
151
|
+
i0.ɵɵadvance(5);
|
|
152
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("VectorDatabase", 0));
|
|
153
|
+
i0.ɵɵadvance(5);
|
|
154
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("EmbeddingModel", 0));
|
|
155
|
+
} }
|
|
156
|
+
function VectorIndexDetailsComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
157
|
+
i0.ɵɵelementStart(0, "div");
|
|
158
|
+
i0.ɵɵtemplate(1, VectorIndexDetailsComponent_div_0_div_1_Template, 37, 8, "div", 1)(2, VectorIndexDetailsComponent_div_0_div_2_Template, 41, 10, "div", 1);
|
|
159
|
+
i0.ɵɵelementEnd();
|
|
160
|
+
} if (rf & 2) {
|
|
161
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
162
|
+
i0.ɵɵadvance();
|
|
163
|
+
i0.ɵɵproperty("ngIf", ctx_r0.EditMode);
|
|
164
|
+
i0.ɵɵadvance();
|
|
165
|
+
i0.ɵɵproperty("ngIf", !ctx_r0.EditMode);
|
|
166
|
+
} }
|
|
167
|
+
let VectorIndexDetailsComponent = class VectorIndexDetailsComponent extends BaseFormSectionComponent {
|
|
168
|
+
constructor() {
|
|
169
|
+
super(...arguments);
|
|
170
|
+
this.EditMode = false;
|
|
171
|
+
}
|
|
172
|
+
};
|
|
173
|
+
VectorIndexDetailsComponent.ɵfac = /*@__PURE__*/ (() => { let ɵVectorIndexDetailsComponent_BaseFactory; return function VectorIndexDetailsComponent_Factory(t) { return (ɵVectorIndexDetailsComponent_BaseFactory || (ɵVectorIndexDetailsComponent_BaseFactory = i0.ɵɵgetInheritedFactory(VectorIndexDetailsComponent)))(t || VectorIndexDetailsComponent); }; })();
|
|
174
|
+
VectorIndexDetailsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: VectorIndexDetailsComponent, selectors: [["gen-vectorindex-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", "VectorDatabaseID", 3, "record"], ["mjFieldLink", "", "fieldName", "EmbeddingModelID", 3, "record"]], template: function VectorIndexDetailsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
175
|
+
i0.ɵɵtemplate(0, VectorIndexDetailsComponent_div_0_Template, 3, 2, "div", 0);
|
|
176
|
+
} if (rf & 2) {
|
|
177
|
+
i0.ɵɵproperty("ngIf", ctx.record);
|
|
178
|
+
} }, 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}"] });
|
|
179
|
+
VectorIndexDetailsComponent = __decorate([
|
|
180
|
+
RegisterClass(BaseFormSectionComponent, 'Vector Indexes.details') // Tell MemberJunction about this class
|
|
181
|
+
], VectorIndexDetailsComponent);
|
|
182
|
+
export { VectorIndexDetailsComponent };
|
|
183
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(VectorIndexDetailsComponent, [{
|
|
184
|
+
type: Component,
|
|
185
|
+
args: [{ selector: 'gen-vectorindex-form-details', template: `<div *ngIf="this.record">
|
|
186
|
+
<div *ngIf="this.EditMode" class="record-form">
|
|
187
|
+
|
|
188
|
+
<div class="record-form-row">
|
|
189
|
+
<label class="fieldLabel">Name</label>
|
|
190
|
+
<kendo-textarea [(ngModel)]="record.Name" ></kendo-textarea>
|
|
191
|
+
</div>
|
|
192
|
+
<div class="record-form-row">
|
|
193
|
+
<label class="fieldLabel">Description</label>
|
|
194
|
+
<kendo-textbox [(ngModel)]="record.Description" />
|
|
195
|
+
</div>
|
|
196
|
+
<div class="record-form-row">
|
|
197
|
+
<label class="fieldLabel">Vector Database ID</label>
|
|
198
|
+
<kendo-numerictextbox [(value)]="record.VectorDatabaseID" ></kendo-numerictextbox>
|
|
199
|
+
</div>
|
|
200
|
+
<div class="record-form-row">
|
|
201
|
+
<label class="fieldLabel">Embedding Model ID</label>
|
|
202
|
+
<kendo-numerictextbox [(value)]="record.EmbeddingModelID" ></kendo-numerictextbox>
|
|
203
|
+
</div>
|
|
204
|
+
<div class="record-form-row">
|
|
205
|
+
<label class="fieldLabel">Created At</label>
|
|
206
|
+
<span >{{FormatValue('CreatedAt', 0)}}</span>
|
|
207
|
+
</div>
|
|
208
|
+
<div class="record-form-row">
|
|
209
|
+
<label class="fieldLabel">Updated At</label>
|
|
210
|
+
<span >{{FormatValue('UpdatedAt', 0)}}</span>
|
|
211
|
+
</div>
|
|
212
|
+
<div class="record-form-row">
|
|
213
|
+
<label class="fieldLabel">Vector Database</label>
|
|
214
|
+
<span >{{FormatValue('VectorDatabase', 0)}}</span>
|
|
215
|
+
</div>
|
|
216
|
+
<div class="record-form-row">
|
|
217
|
+
<label class="fieldLabel">Embedding Model</label>
|
|
218
|
+
<span >{{FormatValue('EmbeddingModel', 0)}}</span>
|
|
219
|
+
</div>
|
|
220
|
+
</div>
|
|
221
|
+
<div *ngIf="!this.EditMode" class="record-form">
|
|
222
|
+
|
|
223
|
+
<div class="record-form-row">
|
|
224
|
+
<label class="fieldLabel">Name</label>
|
|
225
|
+
<span >{{FormatValue('Name', 0)}}</span>
|
|
226
|
+
</div>
|
|
227
|
+
<div class="record-form-row">
|
|
228
|
+
<label class="fieldLabel">Description</label>
|
|
229
|
+
<span >{{FormatValue('Description', 0)}}</span>
|
|
230
|
+
</div>
|
|
231
|
+
<div class="record-form-row">
|
|
232
|
+
<label class="fieldLabel">Vector Database ID</label>
|
|
233
|
+
<span mjFieldLink [record]="record" fieldName="VectorDatabaseID" >{{FormatValue('VectorDatabaseID', 0)}}</span>
|
|
234
|
+
</div>
|
|
235
|
+
<div class="record-form-row">
|
|
236
|
+
<label class="fieldLabel">Embedding Model ID</label>
|
|
237
|
+
<span mjFieldLink [record]="record" fieldName="EmbeddingModelID" >{{FormatValue('EmbeddingModelID', 0)}}</span>
|
|
238
|
+
</div>
|
|
239
|
+
<div class="record-form-row">
|
|
240
|
+
<label class="fieldLabel">Created At</label>
|
|
241
|
+
<span >{{FormatValue('CreatedAt', 0)}}</span>
|
|
242
|
+
</div>
|
|
243
|
+
<div class="record-form-row">
|
|
244
|
+
<label class="fieldLabel">Updated At</label>
|
|
245
|
+
<span >{{FormatValue('UpdatedAt', 0)}}</span>
|
|
246
|
+
</div>
|
|
247
|
+
<div class="record-form-row">
|
|
248
|
+
<label class="fieldLabel">Vector Database</label>
|
|
249
|
+
<span >{{FormatValue('VectorDatabase', 0)}}</span>
|
|
250
|
+
</div>
|
|
251
|
+
<div class="record-form-row">
|
|
252
|
+
<label class="fieldLabel">Embedding Model</label>
|
|
253
|
+
<span >{{FormatValue('EmbeddingModel', 0)}}</span>
|
|
254
|
+
</div>
|
|
255
|
+
</div>
|
|
256
|
+
</div>
|
|
257
|
+
`, 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"] }]
|
|
258
|
+
}], null, { record: [{
|
|
259
|
+
type: Input
|
|
260
|
+
}], EditMode: [{
|
|
261
|
+
type: Input
|
|
262
|
+
}] }); })();
|
|
263
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(VectorIndexDetailsComponent, { className: "VectorIndexDetailsComponent", filePath: "src\\lib\\generated\\Entities\\VectorIndex\\sections\\details.component.ts", lineNumber: 84 }); })();
|
|
264
|
+
export function LoadVectorIndexDetailsComponent() {
|
|
265
|
+
// does nothing, but called in order to prevent tree-shaking from eliminating this component from the build
|
|
266
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { VectorIndexEntity } from '@memberjunction/core-entities';
|
|
2
|
+
import { BaseFormComponent } from '@memberjunction/ng-explorer-core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class VectorIndexFormComponent extends BaseFormComponent {
|
|
5
|
+
record: VectorIndexEntity;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VectorIndexFormComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VectorIndexFormComponent, "gen-vectorindex-form", never, {}, {}, never, never, false, never>;
|
|
8
|
+
}
|
|
9
|
+
export declare function LoadVectorIndexFormComponent(): void;
|