@memberjunction/ng-core-entity-forms 5.21.0 → 5.22.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/custom/Tests/test-form.component.js +1 -1
- package/dist/lib/custom/Tests/test-form.component.js.map +1 -1
- package/dist/lib/custom/Tests/test-run-form.component.js +1 -1
- package/dist/lib/custom/Tests/test-run-form.component.js.map +1 -1
- package/dist/lib/custom/Tests/test-suite-form.component.js +1 -1
- package/dist/lib/custom/Tests/test-suite-form.component.js.map +1 -1
- package/dist/lib/custom/Tests/test-suite-run-form.component.js +1 -1
- package/dist/lib/custom/Tests/test-suite-run-form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJEntityDocument/mjentitydocument.form.component.js +28 -24
- package/dist/lib/generated/Entities/MJEntityDocument/mjentitydocument.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJVectorDatabase/mjvectordatabase.form.component.js +19 -17
- package/dist/lib/generated/Entities/MJVectorDatabase/mjvectordatabase.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJVectorIndex/mjvectorindex.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/MJVectorIndex/mjvectorindex.form.component.js +46 -14
- package/dist/lib/generated/Entities/MJVectorIndex/mjvectorindex.form.component.js.map +1 -1
- package/package.json +31 -31
|
@@ -9,30 +9,30 @@ import { RegisterClass } from '@memberjunction/global';
|
|
|
9
9
|
import { BaseFormComponent } from '@memberjunction/ng-base-forms';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
import * as i1 from "@memberjunction/ng-base-forms";
|
|
12
|
-
function
|
|
12
|
+
function MJEntityDocumentFormComponent_Conditional_19_Template(rf, ctx) { if (rf & 1) {
|
|
13
13
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
14
|
-
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid",
|
|
15
|
-
i0.ɵɵlistener("Navigate", function
|
|
14
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 21);
|
|
15
|
+
i0.ɵɵlistener("Navigate", function MJEntityDocumentFormComponent_Conditional_19_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function MJEntityDocumentFormComponent_Conditional_19_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJEntityDocumentRuns", $event.totalRowCount)); });
|
|
16
16
|
i0.ɵɵelementEnd()();
|
|
17
17
|
} if (rf & 2) {
|
|
18
18
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
19
19
|
i0.ɵɵadvance();
|
|
20
20
|
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Entity Document Runs", "EntityDocumentID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Entity Document Runs"))("AllowLoad", ctx_r1.IsSectionExpanded("mJEntityDocumentRuns"))("ShowToolbar", false);
|
|
21
21
|
} }
|
|
22
|
-
function
|
|
22
|
+
function MJEntityDocumentFormComponent_Conditional_21_Template(rf, ctx) { if (rf & 1) {
|
|
23
23
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
24
|
-
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid",
|
|
25
|
-
i0.ɵɵlistener("Navigate", function
|
|
24
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 21);
|
|
25
|
+
i0.ɵɵlistener("Navigate", function MJEntityDocumentFormComponent_Conditional_21_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function MJEntityDocumentFormComponent_Conditional_21_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJEntityDocumentSettings", $event.totalRowCount)); });
|
|
26
26
|
i0.ɵɵelementEnd()();
|
|
27
27
|
} if (rf & 2) {
|
|
28
28
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
29
29
|
i0.ɵɵadvance();
|
|
30
30
|
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Entity Document Settings", "EntityDocumentID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Entity Document Settings"))("AllowLoad", ctx_r1.IsSectionExpanded("mJEntityDocumentSettings"))("ShowToolbar", false);
|
|
31
31
|
} }
|
|
32
|
-
function
|
|
32
|
+
function MJEntityDocumentFormComponent_Conditional_23_Template(rf, ctx) { if (rf & 1) {
|
|
33
33
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
34
|
-
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid",
|
|
35
|
-
i0.ɵɵlistener("Navigate", function
|
|
34
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 21);
|
|
35
|
+
i0.ɵɵlistener("Navigate", function MJEntityDocumentFormComponent_Conditional_23_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function MJEntityDocumentFormComponent_Conditional_23_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJEntityRecordDocuments", $event.totalRowCount)); });
|
|
36
36
|
i0.ɵɵelementEnd()();
|
|
37
37
|
} if (rf & 2) {
|
|
38
38
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -53,29 +53,29 @@ let MJEntityDocumentFormComponent = class MJEntityDocumentFormComponent extends
|
|
|
53
53
|
]);
|
|
54
54
|
}
|
|
55
55
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵMJEntityDocumentFormComponent_BaseFactory; return function MJEntityDocumentFormComponent_Factory(__ngFactoryType__) { return (ɵMJEntityDocumentFormComponent_BaseFactory || (ɵMJEntityDocumentFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(MJEntityDocumentFormComponent)))(__ngFactoryType__ || MJEntityDocumentFormComponent); }; })(); }
|
|
56
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJEntityDocumentFormComponent, selectors: [["gen-mjentitydocument-form"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls:
|
|
56
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJEntityDocumentFormComponent, selectors: [["gen-mjentitydocument-form"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 24, vars: 77, consts: [[3, "Navigate", "DeleteRequested", "FavoriteToggled", "HistoryRequested", "ListManagementRequested", "Record", "FormComponent"], ["SectionKey", "documentDetails", "SectionName", "Document Details", "Icon", "fa fa-file-alt", 3, "Form", "FormContext"], ["FieldName", "Name", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "relationships", "SectionName", "Relationships", "Icon", "fa fa-link", 3, "Form", "FormContext"], ["FieldName", "TypeID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "EntityID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "VectorDatabaseID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "TemplateID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "AIModelID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "VectorIndexID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "matchingConfiguration", "SectionName", "Matching Configuration", "Icon", "fa fa-sliders-h", 3, "Form", "FormContext"], ["FieldName", "Status", "Type", "select", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "PotentialMatchThreshold", "Type", "number", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "AbsoluteMatchThreshold", "Type", "number", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Configuration", "Type", "code", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "systemMetadata", "SectionName", "System Metadata", "Icon", "fa fa-cog", 3, "Form", "FormContext"], ["FieldName", "__mj_CreatedAt", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "__mj_UpdatedAt", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "mJEntityDocumentRuns", "SectionName", "Entity Document Runs", "Icon", "fa fa-file-alt", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJEntityDocumentSettings", "SectionName", "Entity Document Settings", "Icon", "fa fa-sliders-h", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJEntityRecordDocuments", "SectionName", "Entity Record Documents", "Icon", "fa fa-file-alt", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], [3, "Navigate", "AfterDataLoad", "Params", "NewRecordValues", "AllowLoad", "ShowToolbar"]], template: function MJEntityDocumentFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
57
57
|
i0.ɵɵelementStart(0, "mj-record-form-container", 0);
|
|
58
58
|
i0.ɵɵlistener("Navigate", function MJEntityDocumentFormComponent_Template_mj_record_form_container_Navigate_0_listener($event) { return ctx.OnFormNavigate($event); })("DeleteRequested", function MJEntityDocumentFormComponent_Template_mj_record_form_container_DeleteRequested_0_listener() { return ctx.OnDeleteRequested(); })("FavoriteToggled", function MJEntityDocumentFormComponent_Template_mj_record_form_container_FavoriteToggled_0_listener() { return ctx.OnFavoriteToggled(); })("HistoryRequested", function MJEntityDocumentFormComponent_Template_mj_record_form_container_HistoryRequested_0_listener() { return ctx.OnHistoryRequested(); })("ListManagementRequested", function MJEntityDocumentFormComponent_Template_mj_record_form_container_ListManagementRequested_0_listener() { return ctx.OnListManagementRequested(); });
|
|
59
59
|
i0.ɵɵelementStart(1, "mj-collapsible-panel", 1);
|
|
60
60
|
i0.ɵɵelement(2, "mj-form-field", 2);
|
|
61
61
|
i0.ɵɵelementEnd();
|
|
62
62
|
i0.ɵɵelementStart(3, "mj-collapsible-panel", 3);
|
|
63
|
-
i0.ɵɵelement(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);
|
|
63
|
+
i0.ɵɵelement(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);
|
|
64
64
|
i0.ɵɵelementEnd();
|
|
65
|
-
i0.ɵɵelementStart(
|
|
66
|
-
i0.ɵɵelement(
|
|
65
|
+
i0.ɵɵelementStart(10, "mj-collapsible-panel", 10);
|
|
66
|
+
i0.ɵɵelement(11, "mj-form-field", 11)(12, "mj-form-field", 12)(13, "mj-form-field", 13)(14, "mj-form-field", 14);
|
|
67
67
|
i0.ɵɵelementEnd();
|
|
68
|
-
i0.ɵɵelementStart(
|
|
69
|
-
i0.ɵɵelement(
|
|
68
|
+
i0.ɵɵelementStart(15, "mj-collapsible-panel", 15);
|
|
69
|
+
i0.ɵɵelement(16, "mj-form-field", 16)(17, "mj-form-field", 17);
|
|
70
70
|
i0.ɵɵelementEnd();
|
|
71
|
-
i0.ɵɵelementStart(
|
|
72
|
-
i0.ɵɵconditionalCreate(17, MJEntityDocumentFormComponent_Conditional_17_Template, 2, 4, "div");
|
|
73
|
-
i0.ɵɵelementEnd();
|
|
74
|
-
i0.ɵɵelementStart(18, "mj-collapsible-panel", 17);
|
|
71
|
+
i0.ɵɵelementStart(18, "mj-collapsible-panel", 18);
|
|
75
72
|
i0.ɵɵconditionalCreate(19, MJEntityDocumentFormComponent_Conditional_19_Template, 2, 4, "div");
|
|
76
73
|
i0.ɵɵelementEnd();
|
|
77
|
-
i0.ɵɵelementStart(20, "mj-collapsible-panel",
|
|
74
|
+
i0.ɵɵelementStart(20, "mj-collapsible-panel", 19);
|
|
78
75
|
i0.ɵɵconditionalCreate(21, MJEntityDocumentFormComponent_Conditional_21_Template, 2, 4, "div");
|
|
76
|
+
i0.ɵɵelementEnd();
|
|
77
|
+
i0.ɵɵelementStart(22, "mj-collapsible-panel", 20);
|
|
78
|
+
i0.ɵɵconditionalCreate(23, MJEntityDocumentFormComponent_Conditional_23_Template, 2, 4, "div");
|
|
79
79
|
i0.ɵɵelementEnd()();
|
|
80
80
|
} if (rf & 2) {
|
|
81
81
|
i0.ɵɵproperty("Record", ctx.record)("FormComponent", ctx);
|
|
@@ -96,6 +96,8 @@ let MJEntityDocumentFormComponent = class MJEntityDocumentFormComponent extends
|
|
|
96
96
|
i0.ɵɵadvance();
|
|
97
97
|
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
98
98
|
i0.ɵɵadvance();
|
|
99
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
100
|
+
i0.ɵɵadvance();
|
|
99
101
|
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext);
|
|
100
102
|
i0.ɵɵadvance();
|
|
101
103
|
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
@@ -104,6 +106,8 @@ let MJEntityDocumentFormComponent = class MJEntityDocumentFormComponent extends
|
|
|
104
106
|
i0.ɵɵadvance();
|
|
105
107
|
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
106
108
|
i0.ɵɵadvance();
|
|
109
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
110
|
+
i0.ɵɵadvance();
|
|
107
111
|
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext);
|
|
108
112
|
i0.ɵɵadvance();
|
|
109
113
|
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
@@ -112,15 +116,15 @@ let MJEntityDocumentFormComponent = class MJEntityDocumentFormComponent extends
|
|
|
112
116
|
i0.ɵɵadvance();
|
|
113
117
|
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJEntityDocumentRuns"))("DefaultExpanded", false);
|
|
114
118
|
i0.ɵɵadvance();
|
|
115
|
-
i0.ɵɵconditional(ctx.record.IsSaved ?
|
|
119
|
+
i0.ɵɵconditional(ctx.record.IsSaved ? 19 : -1);
|
|
116
120
|
i0.ɵɵadvance();
|
|
117
121
|
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJEntityDocumentSettings"))("DefaultExpanded", false);
|
|
118
122
|
i0.ɵɵadvance();
|
|
119
|
-
i0.ɵɵconditional(ctx.record.IsSaved ?
|
|
123
|
+
i0.ɵɵconditional(ctx.record.IsSaved ? 21 : -1);
|
|
120
124
|
i0.ɵɵadvance();
|
|
121
125
|
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJEntityRecordDocuments"))("DefaultExpanded", false);
|
|
122
126
|
i0.ɵɵadvance();
|
|
123
|
-
i0.ɵɵconditional(ctx.record.IsSaved ?
|
|
127
|
+
i0.ɵɵconditional(ctx.record.IsSaved ? 23 : -1);
|
|
124
128
|
} }, dependencies: [i1.MjFormFieldComponent, i1.MjCollapsiblePanelComponent, i1.MjRecordFormContainerComponent, i1.ExplorerEntityDataGridComponent], encapsulation: 2 }); }
|
|
125
129
|
};
|
|
126
130
|
MJEntityDocumentFormComponent = __decorate([
|
|
@@ -129,7 +133,7 @@ MJEntityDocumentFormComponent = __decorate([
|
|
|
129
133
|
export { MJEntityDocumentFormComponent };
|
|
130
134
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MJEntityDocumentFormComponent, [{
|
|
131
135
|
type: Component,
|
|
132
|
-
args: [{ standalone: false, selector: 'gen-mjentitydocument-form', template: "<mj-record-form-container [Record]=\"record\" [FormComponent]=\"this\"\n (Navigate)=\"OnFormNavigate($event)\"\n (DeleteRequested)=\"OnDeleteRequested()\"\n (FavoriteToggled)=\"OnFavoriteToggled()\"\n (HistoryRequested)=\"OnHistoryRequested()\"\n (ListManagementRequested)=\"OnListManagementRequested()\">\n\n <!-- ========================================\n FIELD PANELS\n ======================================== -->\n <!-- Document Details Section -->\n <mj-collapsible-panel\n SectionKey=\"documentDetails\"\n SectionName=\"Document Details\"\n Icon=\"fa fa-file-alt\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"false\"\n FieldName=\"Name\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Relationships Section -->\n <mj-collapsible-panel\n SectionKey=\"relationships\"\n SectionName=\"Relationships\"\n Icon=\"fa fa-link\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"TypeID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"EntityID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"VectorDatabaseID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"TemplateID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"AIModelID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Matching Configuration Section -->\n <mj-collapsible-panel\n SectionKey=\"matchingConfiguration\"\n SectionName=\"Matching Configuration\"\n Icon=\"fa fa-sliders-h\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Status\"\n Type=\"select\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"PotentialMatchThreshold\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"AbsoluteMatchThreshold\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- System Metadata Section -->\n <mj-collapsible-panel\n SectionKey=\"systemMetadata\"\n SectionName=\"System Metadata\"\n Icon=\"fa fa-cog\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_CreatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_UpdatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- ========================================\n RELATED ENTITY PANELS\n ======================================== -->\n\n <!-- Entity Document Runs Section -->\n <mj-collapsible-panel\n SectionKey=\"mJEntityDocumentRuns\"\n SectionName=\"Entity Document Runs\"\n Icon=\"fa fa-file-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJEntityDocumentRuns')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Entity Document Runs','EntityDocumentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Entity Document Runs')\"\n [AllowLoad]=\"IsSectionExpanded('mJEntityDocumentRuns')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJEntityDocumentRuns', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Entity Document Settings Section -->\n <mj-collapsible-panel\n SectionKey=\"mJEntityDocumentSettings\"\n SectionName=\"Entity Document Settings\"\n Icon=\"fa fa-sliders-h\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJEntityDocumentSettings')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Entity Document Settings','EntityDocumentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Entity Document Settings')\"\n [AllowLoad]=\"IsSectionExpanded('mJEntityDocumentSettings')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJEntityDocumentSettings', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Entity Record Documents Section -->\n <mj-collapsible-panel\n SectionKey=\"mJEntityRecordDocuments\"\n SectionName=\"Entity Record Documents\"\n Icon=\"fa fa-file-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJEntityRecordDocuments')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Entity Record Documents','EntityDocumentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Entity Record Documents')\"\n [AllowLoad]=\"IsSectionExpanded('mJEntityRecordDocuments')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJEntityRecordDocuments', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n</mj-record-form-container>\n " }]
|
|
136
|
+
args: [{ standalone: false, selector: 'gen-mjentitydocument-form', template: "<mj-record-form-container [Record]=\"record\" [FormComponent]=\"this\"\n (Navigate)=\"OnFormNavigate($event)\"\n (DeleteRequested)=\"OnDeleteRequested()\"\n (FavoriteToggled)=\"OnFavoriteToggled()\"\n (HistoryRequested)=\"OnHistoryRequested()\"\n (ListManagementRequested)=\"OnListManagementRequested()\">\n\n <!-- ========================================\n FIELD PANELS\n ======================================== -->\n <!-- Document Details Section -->\n <mj-collapsible-panel\n SectionKey=\"documentDetails\"\n SectionName=\"Document Details\"\n Icon=\"fa fa-file-alt\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"false\"\n FieldName=\"Name\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Relationships Section -->\n <mj-collapsible-panel\n SectionKey=\"relationships\"\n SectionName=\"Relationships\"\n Icon=\"fa fa-link\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"TypeID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"EntityID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"VectorDatabaseID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"TemplateID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"AIModelID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"VectorIndexID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Matching Configuration Section -->\n <mj-collapsible-panel\n SectionKey=\"matchingConfiguration\"\n SectionName=\"Matching Configuration\"\n Icon=\"fa fa-sliders-h\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Status\"\n Type=\"select\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"PotentialMatchThreshold\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"AbsoluteMatchThreshold\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Configuration\"\n Type=\"code\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- System Metadata Section -->\n <mj-collapsible-panel\n SectionKey=\"systemMetadata\"\n SectionName=\"System Metadata\"\n Icon=\"fa fa-cog\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_CreatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_UpdatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- ========================================\n RELATED ENTITY PANELS\n ======================================== -->\n\n <!-- Entity Document Runs Section -->\n <mj-collapsible-panel\n SectionKey=\"mJEntityDocumentRuns\"\n SectionName=\"Entity Document Runs\"\n Icon=\"fa fa-file-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJEntityDocumentRuns')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Entity Document Runs','EntityDocumentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Entity Document Runs')\"\n [AllowLoad]=\"IsSectionExpanded('mJEntityDocumentRuns')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJEntityDocumentRuns', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Entity Document Settings Section -->\n <mj-collapsible-panel\n SectionKey=\"mJEntityDocumentSettings\"\n SectionName=\"Entity Document Settings\"\n Icon=\"fa fa-sliders-h\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJEntityDocumentSettings')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Entity Document Settings','EntityDocumentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Entity Document Settings')\"\n [AllowLoad]=\"IsSectionExpanded('mJEntityDocumentSettings')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJEntityDocumentSettings', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Entity Record Documents Section -->\n <mj-collapsible-panel\n SectionKey=\"mJEntityRecordDocuments\"\n SectionName=\"Entity Record Documents\"\n Icon=\"fa fa-file-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJEntityRecordDocuments')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Entity Record Documents','EntityDocumentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Entity Record Documents')\"\n [AllowLoad]=\"IsSectionExpanded('mJEntityRecordDocuments')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJEntityRecordDocuments', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n</mj-record-form-container>\n " }]
|
|
133
137
|
}], null, null); })();
|
|
134
138
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MJEntityDocumentFormComponent, { className: "MJEntityDocumentFormComponent", filePath: "src/lib/generated/Entities/MJEntityDocument/mjentitydocument.form.component.ts", lineNumber: 13 }); })();
|
|
135
139
|
//# sourceMappingURL=mjentitydocument.form.component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mjentitydocument.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJEntityDocument/mjentitydocument.form.component.ts","../../../../../src/lib/generated/Entities/MJEntityDocument/mjentitydocument.form.component.html"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,OAAO,EAAE,aAAa,EAA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cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAI3B,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAW/B,cAAa;YACb,AADA,0BAAa,gCACc;YAEvB,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAG3B,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAG3B,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAU/B,cAAa;YACb,AADA,0BAAa,gCACc;YAEvB,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAG3B,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAe/B,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,8DAC8B,0BAChC;YACzB,cAYC;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,kEACkC,0BACpC;YACzB,cAYC;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,iEACiC,0BACnC;YACzB,cAYC;YAZD,8CAYC;;;AD/MI,6BAA6B;IANzC,aAAa,CAAC,iBAAiB,EAAE,sBAAsB,CAAC,CAAC,uCAAuC;GAMpF,6BAA6B,CAezC;;iFAfY,6BAA6B;cALzC,SAAS;6BACM,KAAK,YACP,2BAA2B;;kFAG5B,6BAA6B","sourcesContent":["import { Component } from '@angular/core';\nimport { MJEntityDocumentEntity } from '@memberjunction/core-entities';\nimport { RegisterClass } from '@memberjunction/global';\nimport { BaseFormComponent } from '@memberjunction/ng-base-forms';\nimport { } from \"@memberjunction/ng-entity-viewer\"\n\n@RegisterClass(BaseFormComponent, 'MJ: Entity Documents') // Tell MemberJunction about this class\n@Component({\n standalone: false,\n selector: 'gen-mjentitydocument-form',\n templateUrl: './mjentitydocument.form.component.html'\n})\nexport class MJEntityDocumentFormComponent extends BaseFormComponent {\n public record!: MJEntityDocumentEntity;\n\n override async ngOnInit() {\n await super.ngOnInit();\n this.initSections([\n { sectionKey: 'documentDetails', sectionName: 'Document Details', isExpanded: true },\n { sectionKey: 'relationships', sectionName: 'Relationships', isExpanded: true },\n { sectionKey: 'matchingConfiguration', sectionName: 'Matching Configuration', isExpanded: false },\n { sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },\n { sectionKey: 'mJEntityDocumentRuns', sectionName: 'Entity Document Runs', isExpanded: false },\n { sectionKey: 'mJEntityDocumentSettings', sectionName: 'Entity Document Settings', isExpanded: false },\n { sectionKey: 'mJEntityRecordDocuments', sectionName: 'Entity Record Documents', isExpanded: false }\n ]);\n }\n}\n\n","<mj-record-form-container [Record]=\"record\" [FormComponent]=\"this\"\n (Navigate)=\"OnFormNavigate($event)\"\n (DeleteRequested)=\"OnDeleteRequested()\"\n (FavoriteToggled)=\"OnFavoriteToggled()\"\n (HistoryRequested)=\"OnHistoryRequested()\"\n (ListManagementRequested)=\"OnListManagementRequested()\">\n\n <!-- ========================================\n FIELD PANELS\n ======================================== -->\n <!-- Document Details Section -->\n <mj-collapsible-panel\n SectionKey=\"documentDetails\"\n SectionName=\"Document Details\"\n Icon=\"fa fa-file-alt\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"false\"\n FieldName=\"Name\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Relationships Section -->\n <mj-collapsible-panel\n SectionKey=\"relationships\"\n SectionName=\"Relationships\"\n Icon=\"fa fa-link\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"TypeID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"EntityID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"VectorDatabaseID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"TemplateID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"AIModelID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Matching Configuration Section -->\n <mj-collapsible-panel\n SectionKey=\"matchingConfiguration\"\n SectionName=\"Matching Configuration\"\n Icon=\"fa fa-sliders-h\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Status\"\n Type=\"select\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"PotentialMatchThreshold\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"AbsoluteMatchThreshold\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- System Metadata Section -->\n <mj-collapsible-panel\n SectionKey=\"systemMetadata\"\n SectionName=\"System Metadata\"\n Icon=\"fa fa-cog\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_CreatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_UpdatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- ========================================\n RELATED ENTITY PANELS\n ======================================== -->\n\n <!-- Entity Document Runs Section -->\n <mj-collapsible-panel\n SectionKey=\"mJEntityDocumentRuns\"\n SectionName=\"Entity Document Runs\"\n Icon=\"fa fa-file-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJEntityDocumentRuns')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Entity Document Runs','EntityDocumentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Entity Document Runs')\"\n [AllowLoad]=\"IsSectionExpanded('mJEntityDocumentRuns')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJEntityDocumentRuns', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Entity Document Settings Section -->\n <mj-collapsible-panel\n SectionKey=\"mJEntityDocumentSettings\"\n SectionName=\"Entity Document Settings\"\n Icon=\"fa fa-sliders-h\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJEntityDocumentSettings')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Entity Document Settings','EntityDocumentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Entity Document Settings')\"\n [AllowLoad]=\"IsSectionExpanded('mJEntityDocumentSettings')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJEntityDocumentSettings', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Entity Record Documents Section -->\n <mj-collapsible-panel\n SectionKey=\"mJEntityRecordDocuments\"\n SectionName=\"Entity Record Documents\"\n Icon=\"fa fa-file-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJEntityRecordDocuments')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Entity Record Documents','EntityDocumentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Entity Record Documents')\"\n [AllowLoad]=\"IsSectionExpanded('mJEntityRecordDocuments')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJEntityRecordDocuments', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n</mj-record-form-container>\n "]}
|
|
1
|
+
{"version":3,"file":"mjentitydocument.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJEntityDocument/mjentitydocument.form.component.ts","../../../../../src/lib/generated/Entities/MJEntityDocument/mjentitydocument.form.component.html"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,OAAO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AADA,mCAAiB,mBACC,0BAGG,gCACM;YAI3B,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAI3B,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAI3B,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAW/B,cAAa;YACb,AADA,0BAAa,gCACc;YAEvB,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAG3B,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAG3B,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAG3B,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAU/B,cAAa;YACb,AADA,0BAAa,gCACc;YAEvB,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAG3B,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAe/B,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,8DAC8B,0BAChC;YACzB,cAYC;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,kEACkC,0BACpC;YACzB,cAYC;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,iEACiC,0BACnC;YACzB,cAYC;YAZD,8CAYC;;;ADhOI,6BAA6B;IANzC,aAAa,CAAC,iBAAiB,EAAE,sBAAsB,CAAC,CAAC,uCAAuC;GAMpF,6BAA6B,CAezC;;iFAfY,6BAA6B;cALzC,SAAS;6BACM,KAAK,YACP,2BAA2B;;kFAG5B,6BAA6B","sourcesContent":["import { Component } from '@angular/core';\nimport { MJEntityDocumentEntity } from '@memberjunction/core-entities';\nimport { RegisterClass } from '@memberjunction/global';\nimport { BaseFormComponent } from '@memberjunction/ng-base-forms';\nimport { } from \"@memberjunction/ng-entity-viewer\"\n\n@RegisterClass(BaseFormComponent, 'MJ: Entity Documents') // Tell MemberJunction about this class\n@Component({\n standalone: false,\n selector: 'gen-mjentitydocument-form',\n templateUrl: './mjentitydocument.form.component.html'\n})\nexport class MJEntityDocumentFormComponent extends BaseFormComponent {\n public record!: MJEntityDocumentEntity;\n\n override async ngOnInit() {\n await super.ngOnInit();\n this.initSections([\n { sectionKey: 'documentDetails', sectionName: 'Document Details', isExpanded: true },\n { sectionKey: 'relationships', sectionName: 'Relationships', isExpanded: true },\n { sectionKey: 'matchingConfiguration', sectionName: 'Matching Configuration', isExpanded: false },\n { sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },\n { sectionKey: 'mJEntityDocumentRuns', sectionName: 'Entity Document Runs', isExpanded: false },\n { sectionKey: 'mJEntityDocumentSettings', sectionName: 'Entity Document Settings', isExpanded: false },\n { sectionKey: 'mJEntityRecordDocuments', sectionName: 'Entity Record Documents', isExpanded: false }\n ]);\n }\n}\n\n","<mj-record-form-container [Record]=\"record\" [FormComponent]=\"this\"\n (Navigate)=\"OnFormNavigate($event)\"\n (DeleteRequested)=\"OnDeleteRequested()\"\n (FavoriteToggled)=\"OnFavoriteToggled()\"\n (HistoryRequested)=\"OnHistoryRequested()\"\n (ListManagementRequested)=\"OnListManagementRequested()\">\n\n <!-- ========================================\n FIELD PANELS\n ======================================== -->\n <!-- Document Details Section -->\n <mj-collapsible-panel\n SectionKey=\"documentDetails\"\n SectionName=\"Document Details\"\n Icon=\"fa fa-file-alt\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"false\"\n FieldName=\"Name\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Relationships Section -->\n <mj-collapsible-panel\n SectionKey=\"relationships\"\n SectionName=\"Relationships\"\n Icon=\"fa fa-link\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"TypeID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"EntityID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"VectorDatabaseID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"TemplateID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"AIModelID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"VectorIndexID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Matching Configuration Section -->\n <mj-collapsible-panel\n SectionKey=\"matchingConfiguration\"\n SectionName=\"Matching Configuration\"\n Icon=\"fa fa-sliders-h\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Status\"\n Type=\"select\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"PotentialMatchThreshold\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"AbsoluteMatchThreshold\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Configuration\"\n Type=\"code\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- System Metadata Section -->\n <mj-collapsible-panel\n SectionKey=\"systemMetadata\"\n SectionName=\"System Metadata\"\n Icon=\"fa fa-cog\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_CreatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_UpdatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- ========================================\n RELATED ENTITY PANELS\n ======================================== -->\n\n <!-- Entity Document Runs Section -->\n <mj-collapsible-panel\n SectionKey=\"mJEntityDocumentRuns\"\n SectionName=\"Entity Document Runs\"\n Icon=\"fa fa-file-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJEntityDocumentRuns')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Entity Document Runs','EntityDocumentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Entity Document Runs')\"\n [AllowLoad]=\"IsSectionExpanded('mJEntityDocumentRuns')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJEntityDocumentRuns', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Entity Document Settings Section -->\n <mj-collapsible-panel\n SectionKey=\"mJEntityDocumentSettings\"\n SectionName=\"Entity Document Settings\"\n Icon=\"fa fa-sliders-h\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJEntityDocumentSettings')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Entity Document Settings','EntityDocumentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Entity Document Settings')\"\n [AllowLoad]=\"IsSectionExpanded('mJEntityDocumentSettings')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJEntityDocumentSettings', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Entity Record Documents Section -->\n <mj-collapsible-panel\n SectionKey=\"mJEntityRecordDocuments\"\n SectionName=\"Entity Record Documents\"\n Icon=\"fa fa-file-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJEntityRecordDocuments')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Entity Record Documents','EntityDocumentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Entity Record Documents')\"\n [AllowLoad]=\"IsSectionExpanded('mJEntityRecordDocuments')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJEntityRecordDocuments', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n</mj-record-form-container>\n "]}
|
|
@@ -9,20 +9,20 @@ import { RegisterClass } from '@memberjunction/global';
|
|
|
9
9
|
import { BaseFormComponent } from '@memberjunction/ng-base-forms';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
import * as i1 from "@memberjunction/ng-base-forms";
|
|
12
|
-
function
|
|
12
|
+
function MJVectorDatabaseFormComponent_Conditional_11_Template(rf, ctx) { if (rf & 1) {
|
|
13
13
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
14
|
-
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid",
|
|
15
|
-
i0.ɵɵlistener("Navigate", function
|
|
14
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 12);
|
|
15
|
+
i0.ɵɵlistener("Navigate", function MJVectorDatabaseFormComponent_Conditional_11_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function MJVectorDatabaseFormComponent_Conditional_11_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJVectorIndexes", $event.totalRowCount)); });
|
|
16
16
|
i0.ɵɵelementEnd()();
|
|
17
17
|
} if (rf & 2) {
|
|
18
18
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
19
19
|
i0.ɵɵadvance();
|
|
20
20
|
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Vector Indexes", "VectorDatabaseID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Vector Indexes"))("AllowLoad", ctx_r1.IsSectionExpanded("mJVectorIndexes"))("ShowToolbar", false);
|
|
21
21
|
} }
|
|
22
|
-
function
|
|
22
|
+
function MJVectorDatabaseFormComponent_Conditional_13_Template(rf, ctx) { if (rf & 1) {
|
|
23
23
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
24
|
-
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid",
|
|
25
|
-
i0.ɵɵlistener("Navigate", function
|
|
24
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 12);
|
|
25
|
+
i0.ɵɵlistener("Navigate", function MJVectorDatabaseFormComponent_Conditional_13_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function MJVectorDatabaseFormComponent_Conditional_13_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJEntityDocuments", $event.totalRowCount)); });
|
|
26
26
|
i0.ɵɵelementEnd()();
|
|
27
27
|
} if (rf & 2) {
|
|
28
28
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -40,20 +40,20 @@ let MJVectorDatabaseFormComponent = class MJVectorDatabaseFormComponent extends
|
|
|
40
40
|
]);
|
|
41
41
|
}
|
|
42
42
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵMJVectorDatabaseFormComponent_BaseFactory; return function MJVectorDatabaseFormComponent_Factory(__ngFactoryType__) { return (ɵMJVectorDatabaseFormComponent_BaseFactory || (ɵMJVectorDatabaseFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(MJVectorDatabaseFormComponent)))(__ngFactoryType__ || MJVectorDatabaseFormComponent); }; })(); }
|
|
43
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJVectorDatabaseFormComponent, selectors: [["gen-mjvectordatabase-form"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls:
|
|
43
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJVectorDatabaseFormComponent, selectors: [["gen-mjvectordatabase-form"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 14, vars: 44, consts: [[3, "Navigate", "DeleteRequested", "FavoriteToggled", "HistoryRequested", "ListManagementRequested", "Record", "FormComponent"], ["SectionKey", "vectorDatabaseDetails", "SectionName", "Vector Database Details", "Icon", "fa fa-server", 3, "Form", "FormContext"], ["FieldName", "Name", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Description", "Type", "textarea", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "DefaultURL", "Type", "textbox", "LinkType", "URL", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "ClassKey", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Configuration", "Type", "code", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "systemMetadata", "SectionName", "System Metadata", "Icon", "fa fa-cog", 3, "Form", "FormContext"], ["FieldName", "__mj_CreatedAt", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "__mj_UpdatedAt", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "mJVectorIndexes", "SectionName", "Vector Indexes", "Icon", "fa fa-database", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJEntityDocuments", "SectionName", "Entity Documents", "Icon", "fa fa-file-alt", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], [3, "Navigate", "AfterDataLoad", "Params", "NewRecordValues", "AllowLoad", "ShowToolbar"]], template: function MJVectorDatabaseFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
44
44
|
i0.ɵɵelementStart(0, "mj-record-form-container", 0);
|
|
45
45
|
i0.ɵɵlistener("Navigate", function MJVectorDatabaseFormComponent_Template_mj_record_form_container_Navigate_0_listener($event) { return ctx.OnFormNavigate($event); })("DeleteRequested", function MJVectorDatabaseFormComponent_Template_mj_record_form_container_DeleteRequested_0_listener() { return ctx.OnDeleteRequested(); })("FavoriteToggled", function MJVectorDatabaseFormComponent_Template_mj_record_form_container_FavoriteToggled_0_listener() { return ctx.OnFavoriteToggled(); })("HistoryRequested", function MJVectorDatabaseFormComponent_Template_mj_record_form_container_HistoryRequested_0_listener() { return ctx.OnHistoryRequested(); })("ListManagementRequested", function MJVectorDatabaseFormComponent_Template_mj_record_form_container_ListManagementRequested_0_listener() { return ctx.OnListManagementRequested(); });
|
|
46
46
|
i0.ɵɵelementStart(1, "mj-collapsible-panel", 1);
|
|
47
|
-
i0.ɵɵelement(2, "mj-form-field", 2)(3, "mj-form-field", 3)(4, "mj-form-field", 4)(5, "mj-form-field", 5);
|
|
47
|
+
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);
|
|
48
48
|
i0.ɵɵelementEnd();
|
|
49
|
-
i0.ɵɵelementStart(
|
|
50
|
-
i0.ɵɵelement(
|
|
49
|
+
i0.ɵɵelementStart(7, "mj-collapsible-panel", 7);
|
|
50
|
+
i0.ɵɵelement(8, "mj-form-field", 8)(9, "mj-form-field", 9);
|
|
51
51
|
i0.ɵɵelementEnd();
|
|
52
|
-
i0.ɵɵelementStart(
|
|
53
|
-
i0.ɵɵconditionalCreate(
|
|
52
|
+
i0.ɵɵelementStart(10, "mj-collapsible-panel", 10);
|
|
53
|
+
i0.ɵɵconditionalCreate(11, MJVectorDatabaseFormComponent_Conditional_11_Template, 2, 4, "div");
|
|
54
54
|
i0.ɵɵelementEnd();
|
|
55
|
-
i0.ɵɵelementStart(
|
|
56
|
-
i0.ɵɵconditionalCreate(
|
|
55
|
+
i0.ɵɵelementStart(12, "mj-collapsible-panel", 11);
|
|
56
|
+
i0.ɵɵconditionalCreate(13, MJVectorDatabaseFormComponent_Conditional_13_Template, 2, 4, "div");
|
|
57
57
|
i0.ɵɵelementEnd()();
|
|
58
58
|
} if (rf & 2) {
|
|
59
59
|
i0.ɵɵproperty("Record", ctx.record)("FormComponent", ctx);
|
|
@@ -68,6 +68,8 @@ let MJVectorDatabaseFormComponent = class MJVectorDatabaseFormComponent extends
|
|
|
68
68
|
i0.ɵɵadvance();
|
|
69
69
|
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
70
70
|
i0.ɵɵadvance();
|
|
71
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
72
|
+
i0.ɵɵadvance();
|
|
71
73
|
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext);
|
|
72
74
|
i0.ɵɵadvance();
|
|
73
75
|
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
@@ -76,11 +78,11 @@ let MJVectorDatabaseFormComponent = class MJVectorDatabaseFormComponent extends
|
|
|
76
78
|
i0.ɵɵadvance();
|
|
77
79
|
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJVectorIndexes"))("DefaultExpanded", false);
|
|
78
80
|
i0.ɵɵadvance();
|
|
79
|
-
i0.ɵɵconditional(ctx.record.IsSaved ?
|
|
81
|
+
i0.ɵɵconditional(ctx.record.IsSaved ? 11 : -1);
|
|
80
82
|
i0.ɵɵadvance();
|
|
81
83
|
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJEntityDocuments"))("DefaultExpanded", false);
|
|
82
84
|
i0.ɵɵadvance();
|
|
83
|
-
i0.ɵɵconditional(ctx.record.IsSaved ?
|
|
85
|
+
i0.ɵɵconditional(ctx.record.IsSaved ? 13 : -1);
|
|
84
86
|
} }, dependencies: [i1.MjFormFieldComponent, i1.MjCollapsiblePanelComponent, i1.MjRecordFormContainerComponent, i1.ExplorerEntityDataGridComponent], encapsulation: 2 }); }
|
|
85
87
|
};
|
|
86
88
|
MJVectorDatabaseFormComponent = __decorate([
|
|
@@ -89,7 +91,7 @@ MJVectorDatabaseFormComponent = __decorate([
|
|
|
89
91
|
export { MJVectorDatabaseFormComponent };
|
|
90
92
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MJVectorDatabaseFormComponent, [{
|
|
91
93
|
type: Component,
|
|
92
|
-
args: [{ standalone: false, selector: 'gen-mjvectordatabase-form', template: "<mj-record-form-container [Record]=\"record\" [FormComponent]=\"this\"\n (Navigate)=\"OnFormNavigate($event)\"\n (DeleteRequested)=\"OnDeleteRequested()\"\n (FavoriteToggled)=\"OnFavoriteToggled()\"\n (HistoryRequested)=\"OnHistoryRequested()\"\n (ListManagementRequested)=\"OnListManagementRequested()\">\n\n <!-- ========================================\n FIELD PANELS\n ======================================== -->\n <!-- Vector Database Details Section -->\n <mj-collapsible-panel\n SectionKey=\"vectorDatabaseDetails\"\n SectionName=\"Vector Database Details\"\n Icon=\"fa fa-server\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Name\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Description\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"DefaultURL\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ClassKey\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- System Metadata Section -->\n <mj-collapsible-panel\n SectionKey=\"systemMetadata\"\n SectionName=\"System Metadata\"\n Icon=\"fa fa-cog\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_CreatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_UpdatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- ========================================\n RELATED ENTITY PANELS\n ======================================== -->\n\n <!-- Vector Indexes Section -->\n <mj-collapsible-panel\n SectionKey=\"mJVectorIndexes\"\n SectionName=\"Vector Indexes\"\n Icon=\"fa fa-database\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJVectorIndexes')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Vector Indexes','VectorDatabaseID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Vector Indexes')\"\n [AllowLoad]=\"IsSectionExpanded('mJVectorIndexes')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJVectorIndexes', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Entity Documents Section -->\n <mj-collapsible-panel\n SectionKey=\"mJEntityDocuments\"\n SectionName=\"Entity Documents\"\n Icon=\"fa fa-file-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJEntityDocuments')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Entity Documents','VectorDatabaseID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Entity Documents')\"\n [AllowLoad]=\"IsSectionExpanded('mJEntityDocuments')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJEntityDocuments', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n</mj-record-form-container>\n " }]
|
|
94
|
+
args: [{ standalone: false, selector: 'gen-mjvectordatabase-form', template: "<mj-record-form-container [Record]=\"record\" [FormComponent]=\"this\"\n (Navigate)=\"OnFormNavigate($event)\"\n (DeleteRequested)=\"OnDeleteRequested()\"\n (FavoriteToggled)=\"OnFavoriteToggled()\"\n (HistoryRequested)=\"OnHistoryRequested()\"\n (ListManagementRequested)=\"OnListManagementRequested()\">\n\n <!-- ========================================\n FIELD PANELS\n ======================================== -->\n <!-- Vector Database Details Section -->\n <mj-collapsible-panel\n SectionKey=\"vectorDatabaseDetails\"\n SectionName=\"Vector Database Details\"\n Icon=\"fa fa-server\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Name\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Description\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"DefaultURL\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"URL\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ClassKey\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Configuration\"\n Type=\"code\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- System Metadata Section -->\n <mj-collapsible-panel\n SectionKey=\"systemMetadata\"\n SectionName=\"System Metadata\"\n Icon=\"fa fa-cog\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_CreatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_UpdatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- ========================================\n RELATED ENTITY PANELS\n ======================================== -->\n\n <!-- Vector Indexes Section -->\n <mj-collapsible-panel\n SectionKey=\"mJVectorIndexes\"\n SectionName=\"Vector Indexes\"\n Icon=\"fa fa-database\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJVectorIndexes')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Vector Indexes','VectorDatabaseID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Vector Indexes')\"\n [AllowLoad]=\"IsSectionExpanded('mJVectorIndexes')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJVectorIndexes', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Entity Documents Section -->\n <mj-collapsible-panel\n SectionKey=\"mJEntityDocuments\"\n SectionName=\"Entity Documents\"\n Icon=\"fa fa-file-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJEntityDocuments')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Entity Documents','VectorDatabaseID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Entity Documents')\"\n [AllowLoad]=\"IsSectionExpanded('mJEntityDocuments')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJEntityDocuments', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n</mj-record-form-container>\n " }]
|
|
93
95
|
}], null, null); })();
|
|
94
96
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MJVectorDatabaseFormComponent, { className: "MJVectorDatabaseFormComponent", filePath: "src/lib/generated/Entities/MJVectorDatabase/mjvectordatabase.form.component.ts", lineNumber: 13 }); })();
|
|
95
97
|
//# sourceMappingURL=mjvectordatabase.form.component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mjvectordatabase.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJVectorDatabase/mjvectordatabase.form.component.ts","../../../../../src/lib/generated/Entities/MJVectorDatabase/mjvectordatabase.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;;;;;
|
|
1
|
+
{"version":3,"file":"mjvectordatabase.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJVectorDatabase/mjvectordatabase.form.component.ts","../../../../../src/lib/generated/Entities/MJVectorDatabase/mjvectordatabase.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;;;;;ICoGtD,AADJ,2BAAK,uCAQI;IADD,AADA,oOAAY,6BAAsB,KAAC,iOAClB,0BAAmB,iBAAiB,uBAAuB,KAAC;IAGrF,AADI,iBAA+B,EAC7B;;;IARE,cAA2F;IAG3F,AADA,AADA,AADA,iHAA2F,iEAClC,0DACP,sBAC7B;;;;IAqBzB,AADJ,2BAAK,uCAQI;IADD,AADA,oOAAY,6BAAsB,KAAC,iOAClB,0BAAmB,mBAAmB,uBAAuB,KAAC;IAGvF,AADI,iBAA+B,EAC7B;;;IARE,cAA6F;IAG7F,AADA,AADA,AADA,mHAA6F,mEAClC,4DACP,sBAC/B;;ADxH9B,IAAM,6BAA6B,GAAnC,MAAM,6BAA8B,SAAQ,iBAAiB;IAGvD,KAAK,CAAC,QAAQ;QACnB,MAAM,KAAK,CAAC,QAAQ,EAAE,CAAC;QACvB,IAAI,CAAC,YAAY,CAAC;YACd,EAAE,UAAU,EAAE,uBAAuB,E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Aa,gCACc;YAEvB,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAG3B,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAe/B,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,yDACyB,0BAC3B;YACzB,cAYC;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,2DAC2B,0BAC7B;YACzB,cAYC;YAZD,8CAYC;;;AD9HI,6BAA6B;IANzC,aAAa,CAAC,iBAAiB,EAAE,sBAAsB,CAAC,CAAC,uCAAuC;GAMpF,6BAA6B,CAYzC;;iFAZY,6BAA6B;cALzC,SAAS;6BACM,KAAK,YACP,2BAA2B;;kFAG5B,6BAA6B","sourcesContent":["import { Component } from '@angular/core';\nimport { MJVectorDatabaseEntity } from '@memberjunction/core-entities';\nimport { RegisterClass } from '@memberjunction/global';\nimport { BaseFormComponent } from '@memberjunction/ng-base-forms';\nimport { } from \"@memberjunction/ng-entity-viewer\"\n\n@RegisterClass(BaseFormComponent, 'MJ: Vector Databases') // Tell MemberJunction about this class\n@Component({\n standalone: false,\n selector: 'gen-mjvectordatabase-form',\n templateUrl: './mjvectordatabase.form.component.html'\n})\nexport class MJVectorDatabaseFormComponent extends BaseFormComponent {\n public record!: MJVectorDatabaseEntity;\n\n override async ngOnInit() {\n await super.ngOnInit();\n this.initSections([\n { sectionKey: 'vectorDatabaseDetails', sectionName: 'Vector Database Details', isExpanded: true },\n { sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },\n { sectionKey: 'mJVectorIndexes', sectionName: 'Vector Indexes', isExpanded: false },\n { sectionKey: 'mJEntityDocuments', sectionName: 'Entity Documents', isExpanded: false }\n ]);\n }\n}\n\n","<mj-record-form-container [Record]=\"record\" [FormComponent]=\"this\"\n (Navigate)=\"OnFormNavigate($event)\"\n (DeleteRequested)=\"OnDeleteRequested()\"\n (FavoriteToggled)=\"OnFavoriteToggled()\"\n (HistoryRequested)=\"OnHistoryRequested()\"\n (ListManagementRequested)=\"OnListManagementRequested()\">\n\n <!-- ========================================\n FIELD PANELS\n ======================================== -->\n <!-- Vector Database Details Section -->\n <mj-collapsible-panel\n SectionKey=\"vectorDatabaseDetails\"\n SectionName=\"Vector Database Details\"\n Icon=\"fa fa-server\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Name\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Description\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"DefaultURL\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"URL\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ClassKey\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Configuration\"\n Type=\"code\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- System Metadata Section -->\n <mj-collapsible-panel\n SectionKey=\"systemMetadata\"\n SectionName=\"System Metadata\"\n Icon=\"fa fa-cog\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_CreatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_UpdatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- ========================================\n RELATED ENTITY PANELS\n ======================================== -->\n\n <!-- Vector Indexes Section -->\n <mj-collapsible-panel\n SectionKey=\"mJVectorIndexes\"\n SectionName=\"Vector Indexes\"\n Icon=\"fa fa-database\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJVectorIndexes')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Vector Indexes','VectorDatabaseID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Vector Indexes')\"\n [AllowLoad]=\"IsSectionExpanded('mJVectorIndexes')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJVectorIndexes', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Entity Documents Section -->\n <mj-collapsible-panel\n SectionKey=\"mJEntityDocuments\"\n SectionName=\"Entity Documents\"\n Icon=\"fa fa-file-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJEntityDocuments')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Entity Documents','VectorDatabaseID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Entity Documents')\"\n [AllowLoad]=\"IsSectionExpanded('mJEntityDocuments')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJEntityDocuments', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n</mj-record-form-container>\n "]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mjvectorindex.form.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJVectorIndex/mjvectorindex.form.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAEpE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAGlE,qBAMa,0BAA2B,SAAQ,iBAAiB;IACtD,MAAM,EAAG,mBAAmB,CAAC;IAErB,QAAQ;yCAHd,0BAA0B;2CAA1B,0BAA0B;
|
|
1
|
+
{"version":3,"file":"mjvectorindex.form.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJVectorIndex/mjvectorindex.form.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAEpE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAGlE,qBAMa,0BAA2B,SAAQ,iBAAiB;IACtD,MAAM,EAAG,mBAAmB,CAAC;IAErB,QAAQ;yCAHd,0BAA0B;2CAA1B,0BAA0B;CActC"}
|