@memberjunction/ng-core-entity-forms 2.84.0 → 2.86.0
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/AIAgent/aiagent.form.component.js +34 -14
- package/dist/lib/generated/Entities/AIAgent/aiagent.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/AIAgentRelationship/aiagentrelationship.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/AIAgentRelationship/aiagentrelationship.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIAgentRelationship/aiagentrelationship.form.component.js +59 -0
- package/dist/lib/generated/Entities/AIAgentRelationship/aiagentrelationship.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/AIAgentRelationship/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/AIAgentRelationship/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/AIAgentRelationship/sections/details.component.js +120 -0
- package/dist/lib/generated/Entities/AIAgentRelationship/sections/details.component.js.map +1 -0
- package/dist/lib/generated/Entities/AIModel/aimodel.form.component.js +14 -3
- package/dist/lib/generated/Entities/AIModel/aimodel.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/Component/component.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/Component/component.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/Component/component.form.component.js +90 -0
- package/dist/lib/generated/Entities/Component/component.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/Component/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/Component/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/Component/sections/details.component.js +253 -0
- package/dist/lib/generated/Entities/Component/sections/details.component.js.map +1 -0
- package/dist/lib/generated/Entities/ComponentDependency/componentdependency.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/ComponentDependency/componentdependency.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/ComponentDependency/componentdependency.form.component.js +59 -0
- package/dist/lib/generated/Entities/ComponentDependency/componentdependency.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/ComponentDependency/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/ComponentDependency/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/ComponentDependency/sections/details.component.js +111 -0
- package/dist/lib/generated/Entities/ComponentDependency/sections/details.component.js.map +1 -0
- package/dist/lib/generated/Entities/ComponentLibrary/componentlibrary.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/ComponentLibrary/componentlibrary.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/ComponentLibrary/componentlibrary.form.component.js +70 -0
- package/dist/lib/generated/Entities/ComponentLibrary/componentlibrary.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/ComponentLibrary/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/ComponentLibrary/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/ComponentLibrary/sections/details.component.js +143 -0
- package/dist/lib/generated/Entities/ComponentLibrary/sections/details.component.js.map +1 -0
- package/dist/lib/generated/Entities/ComponentLibraryLink/componentlibrarylink.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/ComponentLibraryLink/componentlibrarylink.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/ComponentLibraryLink/componentlibrarylink.form.component.js +59 -0
- package/dist/lib/generated/Entities/ComponentLibraryLink/componentlibrarylink.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/ComponentLibraryLink/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/ComponentLibraryLink/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/ComponentLibraryLink/sections/details.component.js +120 -0
- package/dist/lib/generated/Entities/ComponentLibraryLink/sections/details.component.js.map +1 -0
- package/dist/lib/generated/Entities/ComponentRegistry/componentregistry.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/ComponentRegistry/componentregistry.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/ComponentRegistry/componentregistry.form.component.js +70 -0
- package/dist/lib/generated/Entities/ComponentRegistry/componentregistry.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/ComponentRegistry/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/ComponentRegistry/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/ComponentRegistry/sections/details.component.js +125 -0
- package/dist/lib/generated/Entities/ComponentRegistry/sections/details.component.js.map +1 -0
- package/dist/lib/generated/Entities/Query/sections/details.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/Query/sections/details.component.js +33 -4
- package/dist/lib/generated/Entities/Query/sections/details.component.js.map +1 -1
- package/dist/lib/generated/generated-forms.module.d.ts +303 -291
- package/dist/lib/generated/generated-forms.module.d.ts.map +1 -1
- package/dist/lib/generated/generated-forms.module.js +286 -238
- package/dist/lib/generated/generated-forms.module.js.map +1 -1
- package/package.json +16 -16
|
@@ -0,0 +1,70 @@
|
|
|
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-base-forms';
|
|
10
|
+
import { LoadComponentRegistryDetailsComponent } 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 "@memberjunction/ng-user-view-grid";
|
|
15
|
+
import * as i4 from "@memberjunction/ng-base-forms";
|
|
16
|
+
import * as i5 from "@memberjunction/ng-form-toolbar";
|
|
17
|
+
import * as i6 from "@memberjunction/ng-tabstrip";
|
|
18
|
+
function ComponentRegistryFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
19
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
20
|
+
i0.ɵɵelementStart(0, "form", 3, 0);
|
|
21
|
+
i0.ɵɵelement(2, "mj-form-toolbar", 4);
|
|
22
|
+
i0.ɵɵelementStart(3, "mj-tabstrip", 5);
|
|
23
|
+
i0.ɵɵlistener("TabSelected", function ComponentRegistryFormComponent_form_1_Template_mj_tabstrip_TabSelected_3_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onTabSelect($event)); })("ResizeContainer", function ComponentRegistryFormComponent_form_1_Template_mj_tabstrip_ResizeContainer_3_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.InvokeManualResize()); });
|
|
24
|
+
i0.ɵɵelementStart(4, "mj-tab", 6);
|
|
25
|
+
i0.ɵɵtext(5, " Details ");
|
|
26
|
+
i0.ɵɵelementEnd();
|
|
27
|
+
i0.ɵɵelementStart(6, "mj-tab-body");
|
|
28
|
+
i0.ɵɵelement(7, "mj-form-section", 7);
|
|
29
|
+
i0.ɵɵelementEnd();
|
|
30
|
+
i0.ɵɵelementStart(8, "mj-tab", 8);
|
|
31
|
+
i0.ɵɵtext(9, " MJ: Components ");
|
|
32
|
+
i0.ɵɵelementEnd();
|
|
33
|
+
i0.ɵɵelementStart(10, "mj-tab-body");
|
|
34
|
+
i0.ɵɵelement(11, "mj-user-view-grid", 9);
|
|
35
|
+
i0.ɵɵelementEnd()()();
|
|
36
|
+
} if (rf & 2) {
|
|
37
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
38
|
+
i0.ɵɵadvance(2);
|
|
39
|
+
i0.ɵɵproperty("form", ctx_r1);
|
|
40
|
+
i0.ɵɵadvance(5);
|
|
41
|
+
i0.ɵɵproperty("record", ctx_r1.record)("EditMode", ctx_r1.EditMode);
|
|
42
|
+
i0.ɵɵadvance();
|
|
43
|
+
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved);
|
|
44
|
+
i0.ɵɵadvance(3);
|
|
45
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Components", "SourceRegistryID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Components"))("AllowLoad", ctx_r1.IsCurrentTab("MJ: Components"))("EditMode", ctx_r1.GridEditMode());
|
|
46
|
+
} }
|
|
47
|
+
let ComponentRegistryFormComponent = class ComponentRegistryFormComponent extends BaseFormComponent {
|
|
48
|
+
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵComponentRegistryFormComponent_BaseFactory; return function ComponentRegistryFormComponent_Factory(t) { return (ɵComponentRegistryFormComponent_BaseFactory || (ɵComponentRegistryFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ComponentRegistryFormComponent)))(t || ComponentRegistryFormComponent); }; })(); }
|
|
49
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ComponentRegistryFormComponent, selectors: [["gen-componentregistry-form"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 1, consts: [["form", "ngForm"], [1, "record-form-container"], ["class", "record-form", 4, "ngIf"], [1, "record-form"], [3, "form"], [3, "TabSelected", "ResizeContainer"], ["Name", "Details"], ["Entity", "MJ: Component Registries", "Section", "details", 3, "record", "EditMode"], ["Name", "MJ: Components", 3, "Visible"], [3, "Params", "NewRecordValues", "AllowLoad", "EditMode"]], template: function ComponentRegistryFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
50
|
+
i0.ɵɵelementStart(0, "div", 1);
|
|
51
|
+
i0.ɵɵtemplate(1, ComponentRegistryFormComponent_form_1_Template, 12, 8, "form", 2);
|
|
52
|
+
i0.ɵɵelementEnd();
|
|
53
|
+
} if (rf & 2) {
|
|
54
|
+
i0.ɵɵadvance();
|
|
55
|
+
i0.ɵɵproperty("ngIf", ctx.record);
|
|
56
|
+
} }, dependencies: [i1.NgIf, i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.UserViewGridComponent, i4.SectionLoaderComponent, i5.FormToolbarComponent, i6.MJTabStripComponent, i6.MJTabBodyComponent, i6.MJTabComponent], styles: [".k-pane[_ngcontent-%COMP%] {\n background-color: #F5F6FA;\n}\n\n.content-margin[_ngcontent-%COMP%] {\n margin: 10px;\n} \n\n\na[_ngcontent-%COMP%] {\n font-size: 14px;\n font-weight: bolder;\n}\n\n.tab-header-icon[_ngcontent-%COMP%] {\n margin-right: 5px;\n}\n\n.record-form[_ngcontent-%COMP%] {\n display: block;\n flex-direction: column;\n background-color: #F5F6FA;\n padding: 10px;\n}\n\n.record-form-group[_ngcontent-%COMP%] {\n margin-top: 0px;\n background-color: #F5F6FA;\n}\n\nbutton[_ngcontent-%COMP%] {\n margin-right: 5px;\n}\n\n.record-form[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] {\n margin-bottom: 10px;\n}\n\n.k-splitter[_ngcontent-%COMP%] {\n border-width: 0px;\n}\n\n.record-form-row[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: auto 1fr;\n align-items: start;\n gap: 10px;\n margin-bottom: 12px;\n padding-top: 5px;\n padding-bottom: 5px;\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n.record-form[_ngcontent-%COMP%] .record-form-row[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:first-child {\n font-weight: bold;\n padding-right: 10px;\n} \n\n.record-form[_ngcontent-%COMP%] .record-form-row[_ngcontent-%COMP%] > span[_ngcontent-%COMP%] {\n white-space: pre-line;\n max-height: 300px;\n overflow: auto;\n}\n\n \n\n@media (min-width: 768px) {\n .record-form-row[_ngcontent-%COMP%] {\n flex-direction: row;\n align-items: center;\n }\n\n .record-form-row[_ngcontent-%COMP%] label[_ngcontent-%COMP%] {\n width: 240px;\n margin-bottom: 0;\n }\n}"] }); }
|
|
57
|
+
};
|
|
58
|
+
ComponentRegistryFormComponent = __decorate([
|
|
59
|
+
RegisterClass(BaseFormComponent, 'MJ: Component Registries') // Tell MemberJunction about this class
|
|
60
|
+
], ComponentRegistryFormComponent);
|
|
61
|
+
export { ComponentRegistryFormComponent };
|
|
62
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ComponentRegistryFormComponent, [{
|
|
63
|
+
type: Component,
|
|
64
|
+
args: [{ selector: 'gen-componentregistry-form', template: "<div class=\"record-form-container\" >\n <form *ngIf=\"record\" class=\"record-form\" #form=\"ngForm\" >\n <mj-form-toolbar [form]=\"this\"></mj-form-toolbar>\n\n <mj-tabstrip (TabSelected)=\"onTabSelect($event)\" (ResizeContainer)=\"InvokeManualResize()\">\n \n <mj-tab Name=\"Details\">\n Details\n </mj-tab>\n <mj-tab-body>\n <mj-form-section \n Entity=\"MJ: Component Registries\" \n Section=\"details\" \n [record]=\"record\" \n [EditMode]=\"this.EditMode\">\n </mj-form-section>\n </mj-tab-body>\n \n <mj-tab Name=\"MJ: Components\" [Visible]=\"record.IsSaved\"> \n MJ: Components\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Components','SourceRegistryID')\" \n [NewRecordValues]=\"NewRecordValues('MJ: Components')\"\n [AllowLoad]=\"IsCurrentTab('MJ: Components')\" \n [EditMode]=\"GridEditMode()\" \n >\n </mj-user-view-grid> \n </mj-tab-body>\n </mj-tabstrip>\n </form>\n</div>\n ", styles: [".k-pane {\n background-color: #F5F6FA;\n}\n\n.content-margin {\n margin: 10px;\n} \n\n\na {\n font-size: 14px;\n font-weight: bolder;\n}\n\n.tab-header-icon {\n margin-right: 5px;\n}\n\n.record-form {\n display: block;\n flex-direction: column;\n background-color: #F5F6FA;\n padding: 10px;\n}\n\n.record-form-group {\n margin-top: 0px;\n background-color: #F5F6FA;\n}\n\nbutton {\n margin-right: 5px;\n}\n\n.record-form h2 {\n margin-bottom: 10px;\n}\n\n.k-splitter {\n border-width: 0px;\n}\n\n.record-form-row {\n display: grid;\n grid-template-columns: auto 1fr;\n align-items: start;\n gap: 10px;\n margin-bottom: 12px;\n padding-top: 5px;\n padding-bottom: 5px;\n}\n\n\n/* .record-form .record-form-row:nth-child(odd) {\n background-color: #f2f2f2; \n} */\n\n/* \n.record-form .record-form-row:nth-child(even) {\n background-color: #ffffff; \n} */\n\n.record-form .record-form-row > :first-child {\n font-weight: bold;\n padding-right: 10px;\n} \n\n.record-form .record-form-row > span {\n white-space: pre-line;\n max-height: 300px;\n overflow: auto;\n}\n\n \n\n@media (min-width: 768px) {\n .record-form-row {\n flex-direction: row;\n align-items: center;\n }\n\n .record-form-row label {\n width: 240px;\n margin-bottom: 0;\n }\n}\n"] }]
|
|
65
|
+
}], null, null); })();
|
|
66
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ComponentRegistryFormComponent, { className: "ComponentRegistryFormComponent", filePath: "src/lib/generated/Entities/ComponentRegistry/componentregistry.form.component.ts", lineNumber: 14 }); })();
|
|
67
|
+
export function LoadComponentRegistryFormComponent() {
|
|
68
|
+
LoadComponentRegistryDetailsComponent();
|
|
69
|
+
}
|
|
70
|
+
//# sourceMappingURL=componentregistry.form.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"componentregistry.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/ComponentRegistry/componentregistry.form.component.ts","../../../../../src/lib/generated/Entities/ComponentRegistry/componentregistry.form.component.html"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,qCAAqC,EAAE,MAAM,8BAA8B,CAAA;;;;;;;;;;ICHhF,kCAA0D;IACtD,qCAAiD;IAEzC,sCAA2F;IAAzC,AAArC,kNAAe,0BAAmB,KAAC,uMAAqB,2BAAoB,KAAC;IAEtF,iCAAuB;IACnB,yBACJ;IAAA,iBAAS;IACT,mCAAa;IACT,qCAKkB;IACtB,iBAAc;IAEd,iCAAyD;IACrD,gCACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IAGxC,AADY,AADI,iBAAc,EACJ,EACnB;;;IA7Bc,eAAa;IAAb,6BAAa;IAWV,eAAiB;IACjB,AADA,sCAAiB,6BACS;IAIJ,cAA0B;IAA1B,+CAA0B;IAKhD,eAAuF;IAGvF,AADA,AADA,AADA,6GAAuF,6DAClC,oDACT,mCACjB;;ADbhD,IAAM,8BAA8B,GAApC,MAAM,8BAA+B,SAAQ,iBAAiB;4RAAxD,8BAA8B,SAA9B,8BAA8B;oEAA9B,8BAA8B;YCb3C,8BAAqC;YACjC,kFAA0D;YA+B9D,iBAAM;;YA/BK,cAAY;YAAZ,iCAAY;;;ADYV,8BAA8B;IAN1C,aAAa,CAAC,iBAAiB,EAAE,0BAA0B,CAAC,CAAC,uCAAuC;GAMxF,8BAA8B,CAE1C;;iFAFY,8BAA8B;cAL1C,SAAS;2BACI,4BAA4B;;kFAI7B,8BAA8B;AAI3C,MAAM,UAAU,kCAAkC;IAC9C,qCAAqC,EAAE,CAAC;AAC5C,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BaseFormSectionComponent } from '@memberjunction/ng-base-forms';
|
|
2
|
+
import { ComponentRegistryEntity } from '@memberjunction/core-entities';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ComponentRegistryDetailsComponent extends BaseFormSectionComponent {
|
|
5
|
+
record: ComponentRegistryEntity;
|
|
6
|
+
EditMode: boolean;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ComponentRegistryDetailsComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ComponentRegistryDetailsComponent, "gen-componentregistry-form-details", never, { "record": { "alias": "record"; "required": false; }; "EditMode": { "alias": "EditMode"; "required": false; }; }, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
10
|
+
export declare function LoadComponentRegistryDetailsComponent(): void;
|
|
11
|
+
//# sourceMappingURL=details.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"details.component.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/generated/Entities/ComponentRegistry/sections/details.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;;AAExE,qBAmEa,iCAAkC,SAAQ,wBAAwB;IACzD,MAAM,EAAG,uBAAuB,CAAC;IACjC,QAAQ,EAAE,OAAO,CAAS;yCAFnC,iCAAiC;2CAAjC,iCAAiC;CAG7C;AAED,wBAAgB,qCAAqC,SAEpD"}
|
|
@@ -0,0 +1,125 @@
|
|
|
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-base-forms';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
import * as i1 from "@angular/common";
|
|
12
|
+
import * as i2 from "@memberjunction/ng-base-forms";
|
|
13
|
+
function ComponentRegistryDetailsComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
14
|
+
i0.ɵɵelementStart(0, "div")(1, "div", 1);
|
|
15
|
+
i0.ɵɵelement(2, "mj-form-field", 2)(3, "mj-form-field", 3)(4, "mj-form-field", 4)(5, "mj-form-field", 5)(6, "mj-form-field", 6)(7, "mj-form-field", 7)(8, "mj-form-field", 8)(9, "mj-form-field", 9);
|
|
16
|
+
i0.ɵɵelementEnd()();
|
|
17
|
+
} if (rf & 2) {
|
|
18
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
19
|
+
i0.ɵɵadvance(2);
|
|
20
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
21
|
+
i0.ɵɵadvance();
|
|
22
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
23
|
+
i0.ɵɵadvance();
|
|
24
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
25
|
+
i0.ɵɵadvance();
|
|
26
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
27
|
+
i0.ɵɵadvance();
|
|
28
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
29
|
+
i0.ɵɵadvance();
|
|
30
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
31
|
+
i0.ɵɵadvance();
|
|
32
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
33
|
+
i0.ɵɵadvance();
|
|
34
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
35
|
+
} }
|
|
36
|
+
let ComponentRegistryDetailsComponent = class ComponentRegistryDetailsComponent extends BaseFormSectionComponent {
|
|
37
|
+
constructor() {
|
|
38
|
+
super(...arguments);
|
|
39
|
+
this.EditMode = false;
|
|
40
|
+
}
|
|
41
|
+
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵComponentRegistryDetailsComponent_BaseFactory; return function ComponentRegistryDetailsComponent_Factory(t) { return (ɵComponentRegistryDetailsComponent_BaseFactory || (ɵComponentRegistryDetailsComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ComponentRegistryDetailsComponent)))(t || ComponentRegistryDetailsComponent); }; })(); }
|
|
42
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ComponentRegistryDetailsComponent, selectors: [["gen-componentregistry-form-details"]], inputs: { record: "record", EditMode: "EditMode" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "record-form"], ["FieldName", "Name", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Description", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "URI", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Type", "Type", "dropdownlist", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "APIVersion", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Status", "Type", "dropdownlist", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "__mj_CreatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "__mj_UpdatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"]], template: function ComponentRegistryDetailsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
43
|
+
i0.ɵɵtemplate(0, ComponentRegistryDetailsComponent_div_0_Template, 10, 24, "div", 0);
|
|
44
|
+
} if (rf & 2) {
|
|
45
|
+
i0.ɵɵproperty("ngIf", ctx.record);
|
|
46
|
+
} }, dependencies: [i1.NgIf, i2.MJFormField], styles: [".k-pane[_ngcontent-%COMP%] {\n background-color: #F5F6FA;\n}\n\n.content-margin[_ngcontent-%COMP%] {\n margin: 10px;\n} \n\n\na[_ngcontent-%COMP%] {\n font-size: 14px;\n font-weight: bolder;\n}\n\n.tab-header-icon[_ngcontent-%COMP%] {\n margin-right: 5px;\n}\n\n.record-form[_ngcontent-%COMP%] {\n display: block;\n flex-direction: column;\n background-color: #F5F6FA;\n padding: 10px;\n}\n\n.record-form-group[_ngcontent-%COMP%] {\n margin-top: 0px;\n background-color: #F5F6FA;\n}\n\nbutton[_ngcontent-%COMP%] {\n margin-right: 5px;\n}\n\n.record-form[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] {\n margin-bottom: 10px;\n}\n\n.k-splitter[_ngcontent-%COMP%] {\n border-width: 0px;\n}\n\n.record-form-row[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: auto 1fr;\n align-items: start;\n gap: 10px;\n margin-bottom: 12px;\n padding-top: 5px;\n padding-bottom: 5px;\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n.record-form[_ngcontent-%COMP%] .record-form-row[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:first-child {\n font-weight: bold;\n padding-right: 10px;\n} \n\n.record-form[_ngcontent-%COMP%] .record-form-row[_ngcontent-%COMP%] > span[_ngcontent-%COMP%] {\n white-space: pre-line;\n max-height: 300px;\n overflow: auto;\n}\n\n \n\n@media (min-width: 768px) {\n .record-form-row[_ngcontent-%COMP%] {\n flex-direction: row;\n align-items: center;\n }\n\n .record-form-row[_ngcontent-%COMP%] label[_ngcontent-%COMP%] {\n width: 240px;\n margin-bottom: 0;\n }\n}"] }); }
|
|
47
|
+
};
|
|
48
|
+
ComponentRegistryDetailsComponent = __decorate([
|
|
49
|
+
RegisterClass(BaseFormSectionComponent, 'MJ: Component Registries.details') // Tell MemberJunction about this class
|
|
50
|
+
], ComponentRegistryDetailsComponent);
|
|
51
|
+
export { ComponentRegistryDetailsComponent };
|
|
52
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ComponentRegistryDetailsComponent, [{
|
|
53
|
+
type: Component,
|
|
54
|
+
args: [{ selector: 'gen-componentregistry-form-details', template: `<div *ngIf="this.record">
|
|
55
|
+
<div class="record-form">
|
|
56
|
+
<mj-form-field
|
|
57
|
+
[record]="record"
|
|
58
|
+
[ShowLabel]="true"
|
|
59
|
+
FieldName="Name"
|
|
60
|
+
Type="textarea"
|
|
61
|
+
[EditMode]="EditMode"
|
|
62
|
+
></mj-form-field>
|
|
63
|
+
<mj-form-field
|
|
64
|
+
[record]="record"
|
|
65
|
+
[ShowLabel]="true"
|
|
66
|
+
FieldName="Description"
|
|
67
|
+
Type="textarea"
|
|
68
|
+
[EditMode]="EditMode"
|
|
69
|
+
></mj-form-field>
|
|
70
|
+
<mj-form-field
|
|
71
|
+
[record]="record"
|
|
72
|
+
[ShowLabel]="true"
|
|
73
|
+
FieldName="URI"
|
|
74
|
+
Type="textarea"
|
|
75
|
+
[EditMode]="EditMode"
|
|
76
|
+
></mj-form-field>
|
|
77
|
+
<mj-form-field
|
|
78
|
+
[record]="record"
|
|
79
|
+
[ShowLabel]="true"
|
|
80
|
+
FieldName="Type"
|
|
81
|
+
Type="dropdownlist"
|
|
82
|
+
[EditMode]="EditMode"
|
|
83
|
+
></mj-form-field>
|
|
84
|
+
<mj-form-field
|
|
85
|
+
[record]="record"
|
|
86
|
+
[ShowLabel]="true"
|
|
87
|
+
FieldName="APIVersion"
|
|
88
|
+
Type="textbox"
|
|
89
|
+
[EditMode]="EditMode"
|
|
90
|
+
></mj-form-field>
|
|
91
|
+
<mj-form-field
|
|
92
|
+
[record]="record"
|
|
93
|
+
[ShowLabel]="true"
|
|
94
|
+
FieldName="Status"
|
|
95
|
+
Type="dropdownlist"
|
|
96
|
+
[EditMode]="EditMode"
|
|
97
|
+
></mj-form-field>
|
|
98
|
+
<mj-form-field
|
|
99
|
+
[record]="record"
|
|
100
|
+
[ShowLabel]="true"
|
|
101
|
+
FieldName="__mj_CreatedAt"
|
|
102
|
+
Type="textbox"
|
|
103
|
+
[EditMode]="EditMode"
|
|
104
|
+
></mj-form-field>
|
|
105
|
+
<mj-form-field
|
|
106
|
+
[record]="record"
|
|
107
|
+
[ShowLabel]="true"
|
|
108
|
+
FieldName="__mj_UpdatedAt"
|
|
109
|
+
Type="textbox"
|
|
110
|
+
[EditMode]="EditMode"
|
|
111
|
+
></mj-form-field>
|
|
112
|
+
|
|
113
|
+
</div>
|
|
114
|
+
</div>
|
|
115
|
+
`, styles: [".k-pane {\n background-color: #F5F6FA;\n}\n\n.content-margin {\n margin: 10px;\n} \n\n\na {\n font-size: 14px;\n font-weight: bolder;\n}\n\n.tab-header-icon {\n margin-right: 5px;\n}\n\n.record-form {\n display: block;\n flex-direction: column;\n background-color: #F5F6FA;\n padding: 10px;\n}\n\n.record-form-group {\n margin-top: 0px;\n background-color: #F5F6FA;\n}\n\nbutton {\n margin-right: 5px;\n}\n\n.record-form h2 {\n margin-bottom: 10px;\n}\n\n.k-splitter {\n border-width: 0px;\n}\n\n.record-form-row {\n display: grid;\n grid-template-columns: auto 1fr;\n align-items: start;\n gap: 10px;\n margin-bottom: 12px;\n padding-top: 5px;\n padding-bottom: 5px;\n}\n\n\n/* .record-form .record-form-row:nth-child(odd) {\n background-color: #f2f2f2; \n} */\n\n/* \n.record-form .record-form-row:nth-child(even) {\n background-color: #ffffff; \n} */\n\n.record-form .record-form-row > :first-child {\n font-weight: bold;\n padding-right: 10px;\n} \n\n.record-form .record-form-row > span {\n white-space: pre-line;\n max-height: 300px;\n overflow: auto;\n}\n\n \n\n@media (min-width: 768px) {\n .record-form-row {\n flex-direction: row;\n align-items: center;\n }\n\n .record-form-row label {\n width: 240px;\n margin-bottom: 0;\n }\n}\n"] }]
|
|
116
|
+
}], null, { record: [{
|
|
117
|
+
type: Input
|
|
118
|
+
}], EditMode: [{
|
|
119
|
+
type: Input
|
|
120
|
+
}] }); })();
|
|
121
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ComponentRegistryDetailsComponent, { className: "ComponentRegistryDetailsComponent", filePath: "src/lib/generated/Entities/ComponentRegistry/sections/details.component.ts", lineNumber: 73 }); })();
|
|
122
|
+
export function LoadComponentRegistryDetailsComponent() {
|
|
123
|
+
// does nothing, but called in order to prevent tree-shaking from eliminating this component from the build
|
|
124
|
+
}
|
|
125
|
+
//# sourceMappingURL=details.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"details.component.js","sourceRoot":"","sources":["../../../../../../src/lib/generated/Entities/ComponentRegistry/sections/details.component.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;;;;;IAQrE,AADW,2BAAyB,aACX;IAkDrB,AAPA,AAPA,AAPA,AAPA,AAPA,AAPA,AAPA,mCAMiB,uBAOA,uBAOA,uBAOA,uBAOA,uBAOA,uBAOA,uBAOA;IAGzB,AADI,iBAAM,EACJ;;;IAzDM,eAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;;AAO1B,IAAM,iCAAiC,GAAvC,MAAM,iCAAkC,SAAQ,wBAAwB;IAAxE;;QAEe,aAAQ,GAAY,KAAK,CAAC;KAC/C;wSAHY,iCAAiC,SAAjC,iCAAiC;oEAAjC,iCAAiC;YA/D/B,oFAAyB;;YAAnB,iCAAiB;;;AA+DzB,iCAAiC;IAnE7C,aAAa,CAAC,wBAAwB,EAAE,kCAAkC,CAAC,CAAC,wCAAwC;GAmExG,iCAAiC,CAG7C;;iFAHY,iCAAiC;cAlE7C,SAAS;2BACI,oCAAoC,YAEpC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA6DT;gBAGiB,MAAM;kBAAvB,KAAK;YACY,QAAQ;kBAAzB,KAAK;;kFAFG,iCAAiC;AAK9C,MAAM,UAAU,qCAAqC;IACjD,2GAA2G;AAC/G,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"details.component.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/generated/Entities/Query/sections/details.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;;AAE5D,
|
|
1
|
+
{"version":3,"file":"details.component.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/generated/Entities/Query/sections/details.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;;AAE5D,qBAyKa,qBAAsB,SAAQ,wBAAwB;IAC7C,MAAM,EAAG,WAAW,CAAC;IACrB,QAAQ,EAAE,OAAO,CAAS;yCAFnC,qBAAqB;2CAArB,qBAAqB;CAGjC;AAED,wBAAgB,yBAAyB,SAExC"}
|
|
@@ -12,7 +12,7 @@ import * as i1 from "@angular/common";
|
|
|
12
12
|
import * as i2 from "@memberjunction/ng-base-forms";
|
|
13
13
|
function QueryDetailsComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
14
14
|
i0.ɵɵelementStart(0, "div")(1, "div", 1);
|
|
15
|
-
i0.ɵɵelement(2, "mj-form-field", 2)(3, "mj-form-field", 3)(4, "mj-form-field", 4)(5, "mj-form-field", 5)(6, "mj-form-field", 6)(7, "mj-form-field", 7)(8, "mj-form-field", 8)(9, "mj-form-field", 9)(10, "mj-form-field", 10)(11, "mj-form-field", 11)(12, "mj-form-field", 12)(13, "mj-form-field", 13)(14, "mj-form-field", 14)(15, "mj-form-field", 15)(16, "mj-form-field", 16)(17, "mj-form-field", 17)(18, "mj-form-field", 18)(19, "mj-form-field", 19)(20, "mj-form-field", 20);
|
|
15
|
+
i0.ɵɵelement(2, "mj-form-field", 2)(3, "mj-form-field", 3)(4, "mj-form-field", 4)(5, "mj-form-field", 5)(6, "mj-form-field", 6)(7, "mj-form-field", 7)(8, "mj-form-field", 8)(9, "mj-form-field", 9)(10, "mj-form-field", 10)(11, "mj-form-field", 11)(12, "mj-form-field", 12)(13, "mj-form-field", 13)(14, "mj-form-field", 14)(15, "mj-form-field", 15)(16, "mj-form-field", 16)(17, "mj-form-field", 17)(18, "mj-form-field", 18)(19, "mj-form-field", 19)(20, "mj-form-field", 20)(21, "mj-form-field", 21)(22, "mj-form-field", 22)(23, "mj-form-field", 23);
|
|
16
16
|
i0.ɵɵelementEnd()();
|
|
17
17
|
} if (rf & 2) {
|
|
18
18
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -54,6 +54,12 @@ function QueryDetailsComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
54
54
|
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
55
55
|
i0.ɵɵadvance();
|
|
56
56
|
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
57
|
+
i0.ɵɵadvance();
|
|
58
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
59
|
+
i0.ɵɵadvance();
|
|
60
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
61
|
+
i0.ɵɵadvance();
|
|
62
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
57
63
|
} }
|
|
58
64
|
let QueryDetailsComponent = class QueryDetailsComponent extends BaseFormSectionComponent {
|
|
59
65
|
constructor() {
|
|
@@ -61,8 +67,8 @@ let QueryDetailsComponent = class QueryDetailsComponent extends BaseFormSectionC
|
|
|
61
67
|
this.EditMode = false;
|
|
62
68
|
}
|
|
63
69
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵQueryDetailsComponent_BaseFactory; return function QueryDetailsComponent_Factory(t) { return (ɵQueryDetailsComponent_BaseFactory || (ɵQueryDetailsComponent_BaseFactory = i0.ɵɵgetInheritedFactory(QueryDetailsComponent)))(t || QueryDetailsComponent); }; })(); }
|
|
64
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryDetailsComponent, selectors: [["gen-query-form-details"]], inputs: { record: "record", EditMode: "EditMode" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "record-form"], ["FieldName", "Name", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "CategoryID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "UserQuestion", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Description", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "SQL", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "TechnicalDescription", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "OriginalSQL", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Feedback", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Status", "Type", "dropdownlist", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "QualityRank", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "ExecutionCostRank", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "__mj_CreatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "__mj_UpdatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "UsesTemplate", "Type", "checkbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "AuditQueryRuns", "Type", "checkbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "CacheEnabled", "Type", "checkbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "CacheTTLMinutes", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "CacheMaxSize", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Category", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"]], template: function QueryDetailsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
65
|
-
i0.ɵɵtemplate(0, QueryDetailsComponent_div_0_Template,
|
|
70
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryDetailsComponent, selectors: [["gen-query-form-details"]], inputs: { record: "record", EditMode: "EditMode" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "record-form"], ["FieldName", "Name", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "CategoryID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "UserQuestion", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Description", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "SQL", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "TechnicalDescription", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "OriginalSQL", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Feedback", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Status", "Type", "dropdownlist", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "QualityRank", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "ExecutionCostRank", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "__mj_CreatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "__mj_UpdatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "UsesTemplate", "Type", "checkbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "AuditQueryRuns", "Type", "checkbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "CacheEnabled", "Type", "checkbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "CacheTTLMinutes", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "CacheMaxSize", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "EmbeddingVector", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "EmbeddingModelID", "Type", "textbox", "LinkType", "Record", "LinkComponentType", "Search", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Category", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "EmbeddingModel", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"]], template: function QueryDetailsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
71
|
+
i0.ɵɵtemplate(0, QueryDetailsComponent_div_0_Template, 24, 66, "div", 0);
|
|
66
72
|
} if (rf & 2) {
|
|
67
73
|
i0.ɵɵproperty("ngIf", ctx.record);
|
|
68
74
|
} }, dependencies: [i1.NgIf, i2.MJFormField], styles: [".k-pane[_ngcontent-%COMP%] {\n background-color: #F5F6FA;\n}\n\n.content-margin[_ngcontent-%COMP%] {\n margin: 10px;\n} \n\n\na[_ngcontent-%COMP%] {\n font-size: 14px;\n font-weight: bolder;\n}\n\n.tab-header-icon[_ngcontent-%COMP%] {\n margin-right: 5px;\n}\n\n.record-form[_ngcontent-%COMP%] {\n display: block;\n flex-direction: column;\n background-color: #F5F6FA;\n padding: 10px;\n}\n\n.record-form-group[_ngcontent-%COMP%] {\n margin-top: 0px;\n background-color: #F5F6FA;\n}\n\nbutton[_ngcontent-%COMP%] {\n margin-right: 5px;\n}\n\n.record-form[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] {\n margin-bottom: 10px;\n}\n\n.k-splitter[_ngcontent-%COMP%] {\n border-width: 0px;\n}\n\n.record-form-row[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: auto 1fr;\n align-items: start;\n gap: 10px;\n margin-bottom: 12px;\n padding-top: 5px;\n padding-bottom: 5px;\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n.record-form[_ngcontent-%COMP%] .record-form-row[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:first-child {\n font-weight: bold;\n padding-right: 10px;\n} \n\n.record-form[_ngcontent-%COMP%] .record-form-row[_ngcontent-%COMP%] > span[_ngcontent-%COMP%] {\n white-space: pre-line;\n max-height: 300px;\n overflow: auto;\n}\n\n \n\n@media (min-width: 768px) {\n .record-form-row[_ngcontent-%COMP%] {\n flex-direction: row;\n align-items: center;\n }\n\n .record-form-row[_ngcontent-%COMP%] label[_ngcontent-%COMP%] {\n width: 240px;\n margin-bottom: 0;\n }\n}"] }); }
|
|
@@ -203,6 +209,22 @@ export { QueryDetailsComponent };
|
|
|
203
209
|
Type="numerictextbox"
|
|
204
210
|
[EditMode]="EditMode"
|
|
205
211
|
></mj-form-field>
|
|
212
|
+
<mj-form-field
|
|
213
|
+
[record]="record"
|
|
214
|
+
[ShowLabel]="true"
|
|
215
|
+
FieldName="EmbeddingVector"
|
|
216
|
+
Type="textarea"
|
|
217
|
+
[EditMode]="EditMode"
|
|
218
|
+
></mj-form-field>
|
|
219
|
+
<mj-form-field
|
|
220
|
+
[record]="record"
|
|
221
|
+
[ShowLabel]="true"
|
|
222
|
+
FieldName="EmbeddingModelID"
|
|
223
|
+
Type="textbox"
|
|
224
|
+
[EditMode]="EditMode"
|
|
225
|
+
LinkType="Record"
|
|
226
|
+
LinkComponentType="Search"
|
|
227
|
+
></mj-form-field>
|
|
206
228
|
<mj-form-field
|
|
207
229
|
[record]="record"
|
|
208
230
|
[ShowLabel]="true"
|
|
@@ -210,6 +232,13 @@ export { QueryDetailsComponent };
|
|
|
210
232
|
Type="textbox"
|
|
211
233
|
[EditMode]="EditMode"
|
|
212
234
|
></mj-form-field>
|
|
235
|
+
<mj-form-field
|
|
236
|
+
[record]="record"
|
|
237
|
+
[ShowLabel]="true"
|
|
238
|
+
FieldName="EmbeddingModel"
|
|
239
|
+
Type="textbox"
|
|
240
|
+
[EditMode]="EditMode"
|
|
241
|
+
></mj-form-field>
|
|
213
242
|
|
|
214
243
|
</div>
|
|
215
244
|
</div>
|
|
@@ -219,7 +248,7 @@ export { QueryDetailsComponent };
|
|
|
219
248
|
}], EditMode: [{
|
|
220
249
|
type: Input
|
|
221
250
|
}] }); })();
|
|
222
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(QueryDetailsComponent, { className: "QueryDetailsComponent", filePath: "src/lib/generated/Entities/Query/sections/details.component.ts", lineNumber:
|
|
251
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(QueryDetailsComponent, { className: "QueryDetailsComponent", filePath: "src/lib/generated/Entities/Query/sections/details.component.ts", lineNumber: 175 }); })();
|
|
223
252
|
export function LoadQueryDetailsComponent() {
|
|
224
253
|
// does nothing, but called in order to prevent tree-shaking from eliminating this component from the build
|
|
225
254
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"details.component.js","sourceRoot":"","sources":["../../../../../../src/lib/generated/Entities/Query/sections/details.component.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;;;;;IAQrE,AADW,2BAAyB,aACX;
|
|
1
|
+
{"version":3,"file":"details.component.js","sourceRoot":"","sources":["../../../../../../src/lib/generated/Entities/Query/sections/details.component.ts"],"names":[],"mappings":"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"}
|