@memberjunction/ng-core-entity-forms 5.16.0 → 5.17.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/MJAIAgent/mjaiagent.form.component.js +9 -9
- package/dist/lib/generated/Entities/MJAIAgent/mjaiagent.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJAIAgentRun/mjaiagentrun.form.component.js +9 -9
- package/dist/lib/generated/Entities/MJAIAgentRun/mjaiagentrun.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJAIConfiguration/mjaiconfiguration.form.component.js +16 -16
- package/dist/lib/generated/Entities/MJAIConfiguration/mjaiconfiguration.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJAIVendor/mjaivendor.form.component.js +10 -10
- package/dist/lib/generated/Entities/MJAIVendor/mjaivendor.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJAPIScope/mjapiscope.form.component.js +10 -10
- package/dist/lib/generated/Entities/MJAPIScope/mjapiscope.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJCompanyIntegrationEntityMap/mjcompanyintegrationentitymap.form.component.js +10 -10
- package/dist/lib/generated/Entities/MJCompanyIntegrationEntityMap/mjcompanyintegrationentitymap.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJComponent/mjcomponent.form.component.js +9 -9
- package/dist/lib/generated/Entities/MJComponent/mjcomponent.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJContentSource/mjcontentsource.form.component.js +13 -13
- package/dist/lib/generated/Entities/MJContentSource/mjcontentsource.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJEntity/mjentity.form.component.js +9 -9
- package/dist/lib/generated/Entities/MJEntity/mjentity.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJEnvironment/mjenvironment.form.component.js +16 -16
- package/dist/lib/generated/Entities/MJEnvironment/mjenvironment.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJGeneratedCodeCategory/mjgeneratedcodecategory.form.component.js +10 -10
- package/dist/lib/generated/Entities/MJGeneratedCodeCategory/mjgeneratedcodecategory.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJMCPServerConnection/mjmcpserverconnection.form.component.js +9 -9
- package/dist/lib/generated/Entities/MJMCPServerConnection/mjmcpserverconnection.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJTestType/mjtesttype.form.component.js +10 -10
- package/dist/lib/generated/Entities/MJTestType/mjtesttype.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJUser/mjuser.form.component.js +37 -37
- package/dist/lib/generated/Entities/MJUser/mjuser.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJVersionLabel/mjversionlabel.form.component.js +10 -10
- package/dist/lib/generated/Entities/MJVersionLabel/mjversionlabel.form.component.js.map +1 -1
- package/package.json +31 -31
|
@@ -12,22 +12,22 @@ import * as i1 from "@memberjunction/ng-base-forms";
|
|
|
12
12
|
function MJComponentFormComponent_Conditional_35_Template(rf, ctx) { if (rf & 1) {
|
|
13
13
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
14
14
|
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 37);
|
|
15
|
-
i0.ɵɵlistener("Navigate", function MJComponentFormComponent_Conditional_35_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 MJComponentFormComponent_Conditional_35_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("
|
|
15
|
+
i0.ɵɵlistener("Navigate", function MJComponentFormComponent_Conditional_35_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 MJComponentFormComponent_Conditional_35_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJComponentDependenciesComponentID", $event.totalRowCount)); });
|
|
16
16
|
i0.ɵɵelementEnd()();
|
|
17
17
|
} if (rf & 2) {
|
|
18
18
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
19
19
|
i0.ɵɵadvance();
|
|
20
|
-
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Component
|
|
20
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Component Dependencies", "ComponentID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Component Dependencies"))("AllowLoad", ctx_r1.IsSectionExpanded("mJComponentDependenciesComponentID"))("ShowToolbar", false);
|
|
21
21
|
} }
|
|
22
22
|
function MJComponentFormComponent_Conditional_37_Template(rf, ctx) { if (rf & 1) {
|
|
23
23
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
24
24
|
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 37);
|
|
25
|
-
i0.ɵɵlistener("Navigate", function MJComponentFormComponent_Conditional_37_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 MJComponentFormComponent_Conditional_37_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("
|
|
25
|
+
i0.ɵɵlistener("Navigate", function MJComponentFormComponent_Conditional_37_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 MJComponentFormComponent_Conditional_37_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJComponentLibraryLinks", $event.totalRowCount)); });
|
|
26
26
|
i0.ɵɵelementEnd()();
|
|
27
27
|
} if (rf & 2) {
|
|
28
28
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
29
29
|
i0.ɵɵadvance();
|
|
30
|
-
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Component
|
|
30
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Component Library Links", "ComponentID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Component Library Links"))("AllowLoad", ctx_r1.IsSectionExpanded("mJComponentLibraryLinks"))("ShowToolbar", false);
|
|
31
31
|
} }
|
|
32
32
|
function MJComponentFormComponent_Conditional_39_Template(rf, ctx) { if (rf & 1) {
|
|
33
33
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
@@ -48,13 +48,13 @@ let MJComponentFormComponent = class MJComponentFormComponent extends BaseFormCo
|
|
|
48
48
|
{ sectionKey: 'developerOwnership', sectionName: 'Developer & Ownership', isExpanded: false },
|
|
49
49
|
{ sectionKey: 'registrySynchronization', sectionName: 'Registry & Synchronization', isExpanded: false },
|
|
50
50
|
{ sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },
|
|
51
|
-
{ sectionKey: 'mJComponentLibraryLinks', sectionName: 'Component Library Links', isExpanded: false },
|
|
52
51
|
{ sectionKey: 'mJComponentDependenciesComponentID', sectionName: 'Component Dependencies (Component ID)', isExpanded: false },
|
|
52
|
+
{ sectionKey: 'mJComponentLibraryLinks', sectionName: 'Component Library Links', isExpanded: false },
|
|
53
53
|
{ sectionKey: 'mJComponentDependenciesDependencyComponentID', sectionName: 'Component Dependencies (Dependency Component ID)', isExpanded: false }
|
|
54
54
|
]);
|
|
55
55
|
}
|
|
56
56
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵMJComponentFormComponent_BaseFactory; return function MJComponentFormComponent_Factory(__ngFactoryType__) { return (ɵMJComponentFormComponent_BaseFactory || (ɵMJComponentFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(MJComponentFormComponent)))(__ngFactoryType__ || MJComponentFormComponent); }; })(); }
|
|
57
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJComponentFormComponent, selectors: [["gen-mjcomponent-form"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 40, vars: 139, consts: [[3, "Navigate", "DeleteRequested", "FavoriteToggled", "HistoryRequested", "ListManagementRequested", "Record", "FormComponent"], ["SectionKey", "identificationVersioning", "SectionName", "Identification & Versioning", "Icon", "fa fa-tag", 3, "Form", "FormContext"], ["FieldName", "Namespace", "Type", "textarea", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Name", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Version", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "VersionSequence", "Type", "number", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Title", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Type", "Type", "select", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Status", "Type", "select", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "specificationDesign", "SectionName", "Specification & Design", "Icon", "fa fa-file-code", 3, "Form", "FormContext"], ["FieldName", "Description", "Type", "textarea", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Specification", "Type", "textarea", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "FunctionalRequirements", "Type", "textarea", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "TechnicalDesign", "Type", "textarea", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "FunctionalRequirementsVector", "Type", "textarea", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "TechnicalDesignVector", "Type", "textarea", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "HasCustomProps", "Type", "checkbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "HasCustomEvents", "Type", "checkbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "RequiresData", "Type", "checkbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "DependencyCount", "Type", "number", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "TechnicalDesignVectorEmbeddingModelID", "Type", "textarea", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "FunctionalRequirementsVectorEmbeddingModelID", "Type", "textarea", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "HasRequiredCustomProps", "Type", "checkbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "developerOwnership", "SectionName", "Developer & Ownership", "Icon", "fa fa-user", 3, "Form", "FormContext"], ["FieldName", "DeveloperName", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "DeveloperEmail", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "DeveloperOrganization", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "registrySynchronization", "SectionName", "Registry & Synchronization", "Icon", "fa fa-sync", 3, "Form", "FormContext"], ["FieldName", "SourceRegistryID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "ReplicatedAt", "Type", "datepicker", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "LastSyncedAt", "Type", "datepicker", 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", "
|
|
57
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJComponentFormComponent, selectors: [["gen-mjcomponent-form"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 40, vars: 139, consts: [[3, "Navigate", "DeleteRequested", "FavoriteToggled", "HistoryRequested", "ListManagementRequested", "Record", "FormComponent"], ["SectionKey", "identificationVersioning", "SectionName", "Identification & Versioning", "Icon", "fa fa-tag", 3, "Form", "FormContext"], ["FieldName", "Namespace", "Type", "textarea", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Name", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Version", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "VersionSequence", "Type", "number", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Title", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Type", "Type", "select", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Status", "Type", "select", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "specificationDesign", "SectionName", "Specification & Design", "Icon", "fa fa-file-code", 3, "Form", "FormContext"], ["FieldName", "Description", "Type", "textarea", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Specification", "Type", "textarea", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "FunctionalRequirements", "Type", "textarea", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "TechnicalDesign", "Type", "textarea", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "FunctionalRequirementsVector", "Type", "textarea", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "TechnicalDesignVector", "Type", "textarea", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "HasCustomProps", "Type", "checkbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "HasCustomEvents", "Type", "checkbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "RequiresData", "Type", "checkbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "DependencyCount", "Type", "number", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "TechnicalDesignVectorEmbeddingModelID", "Type", "textarea", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "FunctionalRequirementsVectorEmbeddingModelID", "Type", "textarea", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "HasRequiredCustomProps", "Type", "checkbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "developerOwnership", "SectionName", "Developer & Ownership", "Icon", "fa fa-user", 3, "Form", "FormContext"], ["FieldName", "DeveloperName", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "DeveloperEmail", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "DeveloperOrganization", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "registrySynchronization", "SectionName", "Registry & Synchronization", "Icon", "fa fa-sync", 3, "Form", "FormContext"], ["FieldName", "SourceRegistryID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "ReplicatedAt", "Type", "datepicker", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "LastSyncedAt", "Type", "datepicker", 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", "mJComponentDependenciesComponentID", "SectionName", "Component Dependencies (Component ID)", "Icon", "fa fa-sitemap", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJComponentLibraryLinks", "SectionName", "Component Library Links", "Icon", "fa fa-plug", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJComponentDependenciesDependencyComponentID", "SectionName", "Component Dependencies (Dependency Component ID)", "Icon", "fa fa-sitemap", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], [3, "Navigate", "AfterDataLoad", "Params", "NewRecordValues", "AllowLoad", "ShowToolbar"]], template: function MJComponentFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
58
58
|
i0.ɵɵelementStart(0, "mj-record-form-container", 0);
|
|
59
59
|
i0.ɵɵlistener("Navigate", function MJComponentFormComponent_Template_mj_record_form_container_Navigate_0_listener($event) { return ctx.OnFormNavigate($event); })("DeleteRequested", function MJComponentFormComponent_Template_mj_record_form_container_DeleteRequested_0_listener() { return ctx.OnDeleteRequested(); })("FavoriteToggled", function MJComponentFormComponent_Template_mj_record_form_container_FavoriteToggled_0_listener() { return ctx.OnFavoriteToggled(); })("HistoryRequested", function MJComponentFormComponent_Template_mj_record_form_container_HistoryRequested_0_listener() { return ctx.OnHistoryRequested(); })("ListManagementRequested", function MJComponentFormComponent_Template_mj_record_form_container_ListManagementRequested_0_listener() { return ctx.OnListManagementRequested(); });
|
|
60
60
|
i0.ɵɵelementStart(1, "mj-collapsible-panel", 1);
|
|
@@ -150,11 +150,11 @@ let MJComponentFormComponent = class MJComponentFormComponent extends BaseFormCo
|
|
|
150
150
|
i0.ɵɵadvance();
|
|
151
151
|
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
152
152
|
i0.ɵɵadvance();
|
|
153
|
-
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("
|
|
153
|
+
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJComponentDependenciesComponentID"))("DefaultExpanded", false);
|
|
154
154
|
i0.ɵɵadvance();
|
|
155
155
|
i0.ɵɵconditional(ctx.record.IsSaved ? 35 : -1);
|
|
156
156
|
i0.ɵɵadvance();
|
|
157
|
-
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("
|
|
157
|
+
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJComponentLibraryLinks"))("DefaultExpanded", false);
|
|
158
158
|
i0.ɵɵadvance();
|
|
159
159
|
i0.ɵɵconditional(ctx.record.IsSaved ? 37 : -1);
|
|
160
160
|
i0.ɵɵadvance();
|
|
@@ -169,7 +169,7 @@ MJComponentFormComponent = __decorate([
|
|
|
169
169
|
export { MJComponentFormComponent };
|
|
170
170
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MJComponentFormComponent, [{
|
|
171
171
|
type: Component,
|
|
172
|
-
args: [{ standalone: false, selector: 'gen-mjcomponent-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 <!-- Identification & Versioning Section -->\n <mj-collapsible-panel\n SectionKey=\"identificationVersioning\"\n SectionName=\"Identification & Versioning\"\n Icon=\"fa fa-tag\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Namespace\"\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=\"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=\"Version\"\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=\"VersionSequence\"\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=\"Title\"\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=\"Type\"\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=\"Status\"\n Type=\"select\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Specification & Design Section -->\n <mj-collapsible-panel\n SectionKey=\"specificationDesign\"\n SectionName=\"Specification & Design\"\n Icon=\"fa fa-file-code\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\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=\"Specification\"\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=\"FunctionalRequirements\"\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=\"TechnicalDesign\"\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=\"FunctionalRequirementsVector\"\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=\"TechnicalDesignVector\"\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=\"HasCustomProps\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"HasCustomEvents\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"RequiresData\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"DependencyCount\"\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=\"TechnicalDesignVectorEmbeddingModelID\"\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=\"FunctionalRequirementsVectorEmbeddingModelID\"\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=\"HasRequiredCustomProps\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Developer & Ownership Section -->\n <mj-collapsible-panel\n SectionKey=\"developerOwnership\"\n SectionName=\"Developer & Ownership\"\n Icon=\"fa fa-user\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"DeveloperName\"\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=\"DeveloperEmail\"\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=\"DeveloperOrganization\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Registry & Synchronization Section -->\n <mj-collapsible-panel\n SectionKey=\"registrySynchronization\"\n SectionName=\"Registry & Synchronization\"\n Icon=\"fa fa-sync\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SourceRegistryID\"\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=\"ReplicatedAt\"\n Type=\"datepicker\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"LastSyncedAt\"\n Type=\"datepicker\"\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 <!-- Component Library Links Section -->\n <mj-collapsible-panel\n SectionKey=\"mJComponentLibraryLinks\"\n SectionName=\"Component Library Links\"\n Icon=\"fa fa-plug\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJComponentLibraryLinks')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Component Library Links','ComponentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Component Library Links')\"\n [AllowLoad]=\"IsSectionExpanded('mJComponentLibraryLinks')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJComponentLibraryLinks', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Component Dependencies (Component ID) Section -->\n <mj-collapsible-panel\n SectionKey=\"mJComponentDependenciesComponentID\"\n SectionName=\"Component Dependencies (Component ID)\"\n Icon=\"fa fa-sitemap\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJComponentDependenciesComponentID')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Component Dependencies','ComponentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Component Dependencies')\"\n [AllowLoad]=\"IsSectionExpanded('mJComponentDependenciesComponentID')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJComponentDependenciesComponentID', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Component Dependencies (Dependency Component ID) Section -->\n <mj-collapsible-panel\n SectionKey=\"mJComponentDependenciesDependencyComponentID\"\n SectionName=\"Component Dependencies (Dependency Component ID)\"\n Icon=\"fa fa-sitemap\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJComponentDependenciesDependencyComponentID')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Component Dependencies','DependencyComponentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Component Dependencies')\"\n [AllowLoad]=\"IsSectionExpanded('mJComponentDependenciesDependencyComponentID')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJComponentDependenciesDependencyComponentID', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n</mj-record-form-container>\n " }]
|
|
172
|
+
args: [{ standalone: false, selector: 'gen-mjcomponent-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 <!-- Identification & Versioning Section -->\n <mj-collapsible-panel\n SectionKey=\"identificationVersioning\"\n SectionName=\"Identification & Versioning\"\n Icon=\"fa fa-tag\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Namespace\"\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=\"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=\"Version\"\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=\"VersionSequence\"\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=\"Title\"\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=\"Type\"\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=\"Status\"\n Type=\"select\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Specification & Design Section -->\n <mj-collapsible-panel\n SectionKey=\"specificationDesign\"\n SectionName=\"Specification & Design\"\n Icon=\"fa fa-file-code\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\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=\"Specification\"\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=\"FunctionalRequirements\"\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=\"TechnicalDesign\"\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=\"FunctionalRequirementsVector\"\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=\"TechnicalDesignVector\"\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=\"HasCustomProps\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"HasCustomEvents\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"RequiresData\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"DependencyCount\"\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=\"TechnicalDesignVectorEmbeddingModelID\"\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=\"FunctionalRequirementsVectorEmbeddingModelID\"\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=\"HasRequiredCustomProps\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Developer & Ownership Section -->\n <mj-collapsible-panel\n SectionKey=\"developerOwnership\"\n SectionName=\"Developer & Ownership\"\n Icon=\"fa fa-user\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"DeveloperName\"\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=\"DeveloperEmail\"\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=\"DeveloperOrganization\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Registry & Synchronization Section -->\n <mj-collapsible-panel\n SectionKey=\"registrySynchronization\"\n SectionName=\"Registry & Synchronization\"\n Icon=\"fa fa-sync\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SourceRegistryID\"\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=\"ReplicatedAt\"\n Type=\"datepicker\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"LastSyncedAt\"\n Type=\"datepicker\"\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 <!-- Component Dependencies (Component ID) Section -->\n <mj-collapsible-panel\n SectionKey=\"mJComponentDependenciesComponentID\"\n SectionName=\"Component Dependencies (Component ID)\"\n Icon=\"fa fa-sitemap\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJComponentDependenciesComponentID')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Component Dependencies','ComponentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Component Dependencies')\"\n [AllowLoad]=\"IsSectionExpanded('mJComponentDependenciesComponentID')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJComponentDependenciesComponentID', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Component Library Links Section -->\n <mj-collapsible-panel\n SectionKey=\"mJComponentLibraryLinks\"\n SectionName=\"Component Library Links\"\n Icon=\"fa fa-plug\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJComponentLibraryLinks')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Component Library Links','ComponentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Component Library Links')\"\n [AllowLoad]=\"IsSectionExpanded('mJComponentLibraryLinks')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJComponentLibraryLinks', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Component Dependencies (Dependency Component ID) Section -->\n <mj-collapsible-panel\n SectionKey=\"mJComponentDependenciesDependencyComponentID\"\n SectionName=\"Component Dependencies (Dependency Component ID)\"\n Icon=\"fa fa-sitemap\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJComponentDependenciesDependencyComponentID')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Component Dependencies','DependencyComponentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Component Dependencies')\"\n [AllowLoad]=\"IsSectionExpanded('mJComponentDependenciesDependencyComponentID')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJComponentDependenciesDependencyComponentID', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n</mj-record-form-container>\n " }]
|
|
173
173
|
}], null, null); })();
|
|
174
174
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MJComponentFormComponent, { className: "MJComponentFormComponent", filePath: "src/lib/generated/Entities/MJComponent/mjcomponent.form.component.ts", lineNumber: 13 }); })();
|
|
175
175
|
//# sourceMappingURL=mjcomponent.form.component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mjcomponent.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJComponent/mjcomponent.form.component.ts","../../../../../src/lib/generated/Entities/MJComponent/mj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B,CAgBpC;;iFAhBY,wBAAwB;cALpC,SAAS;6BACM,KAAK,YACP,sBAAsB;;kFAGvB,wBAAwB","sourcesContent":["import { Component } from '@angular/core';\nimport { MJComponentEntity } 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: Components') // Tell MemberJunction about this class\n@Component({\n standalone: false,\n selector: 'gen-mjcomponent-form',\n templateUrl: './mjcomponent.form.component.html'\n})\nexport class MJComponentFormComponent extends BaseFormComponent {\n public record!: MJComponentEntity;\n\n override async ngOnInit() {\n await super.ngOnInit();\n this.initSections([\n { sectionKey: 'identificationVersioning', sectionName: 'Identification & Versioning', isExpanded: true },\n { sectionKey: 'specificationDesign', sectionName: 'Specification & Design', isExpanded: true },\n { sectionKey: 'developerOwnership', sectionName: 'Developer & Ownership', isExpanded: false },\n { sectionKey: 'registrySynchronization', sectionName: 'Registry & Synchronization', isExpanded: false },\n { sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },\n { sectionKey: 'mJComponentLibraryLinks', sectionName: 'Component Library Links', isExpanded: false },\n { sectionKey: 'mJComponentDependenciesComponentID', sectionName: 'Component Dependencies (Component ID)', isExpanded: false },\n { sectionKey: 'mJComponentDependenciesDependencyComponentID', sectionName: 'Component Dependencies (Dependency Component ID)', 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 <!-- Identification & Versioning Section -->\n <mj-collapsible-panel\n SectionKey=\"identificationVersioning\"\n SectionName=\"Identification & Versioning\"\n Icon=\"fa fa-tag\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Namespace\"\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=\"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=\"Version\"\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=\"VersionSequence\"\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=\"Title\"\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=\"Type\"\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=\"Status\"\n Type=\"select\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Specification & Design Section -->\n <mj-collapsible-panel\n SectionKey=\"specificationDesign\"\n SectionName=\"Specification & Design\"\n Icon=\"fa fa-file-code\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\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=\"Specification\"\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=\"FunctionalRequirements\"\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=\"TechnicalDesign\"\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=\"FunctionalRequirementsVector\"\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=\"TechnicalDesignVector\"\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=\"HasCustomProps\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"HasCustomEvents\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"RequiresData\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"DependencyCount\"\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=\"TechnicalDesignVectorEmbeddingModelID\"\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=\"FunctionalRequirementsVectorEmbeddingModelID\"\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=\"HasRequiredCustomProps\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Developer & Ownership Section -->\n <mj-collapsible-panel\n SectionKey=\"developerOwnership\"\n SectionName=\"Developer & Ownership\"\n Icon=\"fa fa-user\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"DeveloperName\"\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=\"DeveloperEmail\"\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=\"DeveloperOrganization\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Registry & Synchronization Section -->\n <mj-collapsible-panel\n SectionKey=\"registrySynchronization\"\n SectionName=\"Registry & Synchronization\"\n Icon=\"fa fa-sync\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SourceRegistryID\"\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=\"ReplicatedAt\"\n Type=\"datepicker\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"LastSyncedAt\"\n Type=\"datepicker\"\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 <!-- Component Library Links Section -->\n <mj-collapsible-panel\n SectionKey=\"mJComponentLibraryLinks\"\n SectionName=\"Component Library Links\"\n Icon=\"fa fa-plug\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJComponentLibraryLinks')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Component Library Links','ComponentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Component Library Links')\"\n [AllowLoad]=\"IsSectionExpanded('mJComponentLibraryLinks')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJComponentLibraryLinks', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Component Dependencies (Component ID) Section -->\n <mj-collapsible-panel\n SectionKey=\"mJComponentDependenciesComponentID\"\n SectionName=\"Component Dependencies (Component ID)\"\n Icon=\"fa fa-sitemap\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJComponentDependenciesComponentID')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Component Dependencies','ComponentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Component Dependencies')\"\n [AllowLoad]=\"IsSectionExpanded('mJComponentDependenciesComponentID')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJComponentDependenciesComponentID', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Component Dependencies (Dependency Component ID) Section -->\n <mj-collapsible-panel\n SectionKey=\"mJComponentDependenciesDependencyComponentID\"\n SectionName=\"Component Dependencies (Dependency Component ID)\"\n Icon=\"fa fa-sitemap\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJComponentDependenciesDependencyComponentID')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Component Dependencies','DependencyComponentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Component Dependencies')\"\n [AllowLoad]=\"IsSectionExpanded('mJComponentDependenciesDependencyComponentID')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJComponentDependenciesDependencyComponentID', $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":"mjcomponent.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJComponent/mjcomponent.form.component.ts","../../../../../src/lib/generated/Entities/MJComponent/mjcomponent.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;;;;;IC0StD,AADJ,2BAAK,uCAQI;IADD,AADA,+NAAY,6BAAsB,KAAC,4NAClB,0BAAmB,oCAAoC,uBAAuB,KAAC;IAGxG,AADI,iBAA+B,EAC7B;;;IARE,cAA8F;IAG9F,AADA,AADA,AADA,oHAA8F,yEAC7B,6EACI,sBAChD;;;;IAqBzB,AADJ,2BAAK,uCAQI;IADD,AADA,+NAAY,6BAAsB,KAAC,4NAClB,0BAAmB,yBAAyB,uBAAuB,KAAC;IAG7F,AADI,iBAA+B,EAC7B;;;IARE,cAA+F;IAG/F,AADA,AADA,AADA,qHAA+F,0EAC7B,kEACR,sBACrC;;;;IAqBzB,AADJ,2BAAK,uCAQI;IADD,AADA,+NAAY,6BAAsB,KAAC,4NAClB,0BAAmB,8CAA8C,uBAAuB,KAAC;IAGlH,AADI,iBAA+B,EAC7B;;;IARE,cAAwG;IAGxG,AADA,AADA,AADA,8HAAwG,yEACvC,uFACc,sBAC1D;;ADvV9B,IAAM,wBAAwB,GAA9B,MAAM,wBAAyB,SAAQ,iBAAiB;IAGlD,KAAK,CAAC,QAAQ;QACnB,MAAM,KAAK,CAAC,QAAQ,EAAE,CAAC;QACvB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AADA,0BAAa,gCACc,4EAC4C,0BAC9C;YACzB,cAYC;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,iEACiC,0BACnC;YACzB,cAYC;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,sFACsD,0BACxD;YACzB,cAYC;YAZD,8CAYC;;;AD7VI,wBAAwB;IANpC,aAAa,CAAC,iBAAiB,EAAE,gBAAgB,CAAC,CAAC,uCAAuC;GAM9E,wBAAwB,CAgBpC;;iFAhBY,wBAAwB;cALpC,SAAS;6BACM,KAAK,YACP,sBAAsB;;kFAGvB,wBAAwB","sourcesContent":["import { Component } from '@angular/core';\nimport { MJComponentEntity } 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: Components') // Tell MemberJunction about this class\n@Component({\n standalone: false,\n selector: 'gen-mjcomponent-form',\n templateUrl: './mjcomponent.form.component.html'\n})\nexport class MJComponentFormComponent extends BaseFormComponent {\n public record!: MJComponentEntity;\n\n override async ngOnInit() {\n await super.ngOnInit();\n this.initSections([\n { sectionKey: 'identificationVersioning', sectionName: 'Identification & Versioning', isExpanded: true },\n { sectionKey: 'specificationDesign', sectionName: 'Specification & Design', isExpanded: true },\n { sectionKey: 'developerOwnership', sectionName: 'Developer & Ownership', isExpanded: false },\n { sectionKey: 'registrySynchronization', sectionName: 'Registry & Synchronization', isExpanded: false },\n { sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },\n { sectionKey: 'mJComponentDependenciesComponentID', sectionName: 'Component Dependencies (Component ID)', isExpanded: false },\n { sectionKey: 'mJComponentLibraryLinks', sectionName: 'Component Library Links', isExpanded: false },\n { sectionKey: 'mJComponentDependenciesDependencyComponentID', sectionName: 'Component Dependencies (Dependency Component ID)', 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 <!-- Identification & Versioning Section -->\n <mj-collapsible-panel\n SectionKey=\"identificationVersioning\"\n SectionName=\"Identification & Versioning\"\n Icon=\"fa fa-tag\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Namespace\"\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=\"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=\"Version\"\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=\"VersionSequence\"\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=\"Title\"\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=\"Type\"\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=\"Status\"\n Type=\"select\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Specification & Design Section -->\n <mj-collapsible-panel\n SectionKey=\"specificationDesign\"\n SectionName=\"Specification & Design\"\n Icon=\"fa fa-file-code\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\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=\"Specification\"\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=\"FunctionalRequirements\"\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=\"TechnicalDesign\"\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=\"FunctionalRequirementsVector\"\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=\"TechnicalDesignVector\"\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=\"HasCustomProps\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"HasCustomEvents\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"RequiresData\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"DependencyCount\"\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=\"TechnicalDesignVectorEmbeddingModelID\"\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=\"FunctionalRequirementsVectorEmbeddingModelID\"\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=\"HasRequiredCustomProps\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Developer & Ownership Section -->\n <mj-collapsible-panel\n SectionKey=\"developerOwnership\"\n SectionName=\"Developer & Ownership\"\n Icon=\"fa fa-user\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"DeveloperName\"\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=\"DeveloperEmail\"\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=\"DeveloperOrganization\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Registry & Synchronization Section -->\n <mj-collapsible-panel\n SectionKey=\"registrySynchronization\"\n SectionName=\"Registry & Synchronization\"\n Icon=\"fa fa-sync\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SourceRegistryID\"\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=\"ReplicatedAt\"\n Type=\"datepicker\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"LastSyncedAt\"\n Type=\"datepicker\"\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 <!-- Component Dependencies (Component ID) Section -->\n <mj-collapsible-panel\n SectionKey=\"mJComponentDependenciesComponentID\"\n SectionName=\"Component Dependencies (Component ID)\"\n Icon=\"fa fa-sitemap\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJComponentDependenciesComponentID')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Component Dependencies','ComponentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Component Dependencies')\"\n [AllowLoad]=\"IsSectionExpanded('mJComponentDependenciesComponentID')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJComponentDependenciesComponentID', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Component Library Links Section -->\n <mj-collapsible-panel\n SectionKey=\"mJComponentLibraryLinks\"\n SectionName=\"Component Library Links\"\n Icon=\"fa fa-plug\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJComponentLibraryLinks')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Component Library Links','ComponentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Component Library Links')\"\n [AllowLoad]=\"IsSectionExpanded('mJComponentLibraryLinks')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJComponentLibraryLinks', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Component Dependencies (Dependency Component ID) Section -->\n <mj-collapsible-panel\n SectionKey=\"mJComponentDependenciesDependencyComponentID\"\n SectionName=\"Component Dependencies (Dependency Component ID)\"\n Icon=\"fa fa-sitemap\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJComponentDependenciesDependencyComponentID')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Component Dependencies','DependencyComponentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Component Dependencies')\"\n [AllowLoad]=\"IsSectionExpanded('mJComponentDependenciesDependencyComponentID')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJComponentDependenciesDependencyComponentID', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n</mj-record-form-container>\n "]}
|
|
@@ -12,32 +12,32 @@ import * as i1 from "@memberjunction/ng-base-forms";
|
|
|
12
12
|
function MJContentSourceFormComponent_Conditional_12_Template(rf, ctx) { if (rf & 1) {
|
|
13
13
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
14
14
|
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 14);
|
|
15
|
-
i0.ɵɵlistener("Navigate", function MJContentSourceFormComponent_Conditional_12_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 MJContentSourceFormComponent_Conditional_12_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("
|
|
15
|
+
i0.ɵɵlistener("Navigate", function MJContentSourceFormComponent_Conditional_12_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 MJContentSourceFormComponent_Conditional_12_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJContentItems", $event.totalRowCount)); });
|
|
16
16
|
i0.ɵɵelementEnd()();
|
|
17
17
|
} if (rf & 2) {
|
|
18
18
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
19
19
|
i0.ɵɵadvance();
|
|
20
|
-
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Content
|
|
20
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Content Items", "ContentSourceID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Content Items"))("AllowLoad", ctx_r1.IsSectionExpanded("mJContentItems"))("ShowToolbar", false);
|
|
21
21
|
} }
|
|
22
22
|
function MJContentSourceFormComponent_Conditional_14_Template(rf, ctx) { if (rf & 1) {
|
|
23
23
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
24
24
|
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 14);
|
|
25
|
-
i0.ɵɵlistener("Navigate", function MJContentSourceFormComponent_Conditional_14_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 MJContentSourceFormComponent_Conditional_14_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("
|
|
25
|
+
i0.ɵɵlistener("Navigate", function MJContentSourceFormComponent_Conditional_14_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 MJContentSourceFormComponent_Conditional_14_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJContentProcessRuns", $event.totalRowCount)); });
|
|
26
26
|
i0.ɵɵelementEnd()();
|
|
27
27
|
} if (rf & 2) {
|
|
28
28
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
29
29
|
i0.ɵɵadvance();
|
|
30
|
-
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Content
|
|
30
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Content Process Runs", "SourceID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Content Process Runs"))("AllowLoad", ctx_r1.IsSectionExpanded("mJContentProcessRuns"))("ShowToolbar", false);
|
|
31
31
|
} }
|
|
32
32
|
function MJContentSourceFormComponent_Conditional_16_Template(rf, ctx) { if (rf & 1) {
|
|
33
33
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
34
34
|
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 14);
|
|
35
|
-
i0.ɵɵlistener("Navigate", function MJContentSourceFormComponent_Conditional_16_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 MJContentSourceFormComponent_Conditional_16_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("
|
|
35
|
+
i0.ɵɵlistener("Navigate", function MJContentSourceFormComponent_Conditional_16_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 MJContentSourceFormComponent_Conditional_16_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJContentSourceParams", $event.totalRowCount)); });
|
|
36
36
|
i0.ɵɵelementEnd()();
|
|
37
37
|
} if (rf & 2) {
|
|
38
38
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
39
39
|
i0.ɵɵadvance();
|
|
40
|
-
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Content
|
|
40
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Content Source Params", "ContentSourceID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Content Source Params"))("AllowLoad", ctx_r1.IsSectionExpanded("mJContentSourceParams"))("ShowToolbar", false);
|
|
41
41
|
} }
|
|
42
42
|
let MJContentSourceFormComponent = class MJContentSourceFormComponent extends BaseFormComponent {
|
|
43
43
|
async ngOnInit() {
|
|
@@ -46,13 +46,13 @@ let MJContentSourceFormComponent = class MJContentSourceFormComponent extends Ba
|
|
|
46
46
|
{ sectionKey: 'details', sectionName: 'Details', isExpanded: true },
|
|
47
47
|
{ sectionKey: 'contentClassification', sectionName: 'Content Classification', isExpanded: true },
|
|
48
48
|
{ sectionKey: 'connectionDetails', sectionName: 'Connection Details', isExpanded: false },
|
|
49
|
-
{ sectionKey: 'mJContentSourceParams', sectionName: 'Content Source Params', isExpanded: false },
|
|
50
49
|
{ sectionKey: 'mJContentItems', sectionName: 'Content Items', isExpanded: false },
|
|
51
|
-
{ sectionKey: 'mJContentProcessRuns', sectionName: 'Content Process Runs', isExpanded: false }
|
|
50
|
+
{ sectionKey: 'mJContentProcessRuns', sectionName: 'Content Process Runs', isExpanded: false },
|
|
51
|
+
{ sectionKey: 'mJContentSourceParams', sectionName: 'Content Source Params', isExpanded: false }
|
|
52
52
|
]);
|
|
53
53
|
}
|
|
54
54
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵMJContentSourceFormComponent_BaseFactory; return function MJContentSourceFormComponent_Factory(__ngFactoryType__) { return (ɵMJContentSourceFormComponent_BaseFactory || (ɵMJContentSourceFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(MJContentSourceFormComponent)))(__ngFactoryType__ || MJContentSourceFormComponent); }; })(); }
|
|
55
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJContentSourceFormComponent, selectors: [["gen-mjcontentsource-form"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 17, vars: 51, consts: [[3, "Navigate", "DeleteRequested", "FavoriteToggled", "HistoryRequested", "ListManagementRequested", "Record", "FormComponent"], ["SectionKey", "details", "SectionName", "Details", "Icon", "fa fa-align-left", 3, "Form", "FormContext"], ["FieldName", "Name", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "ContentTypeID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "ContentSourceTypeID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "ContentFileTypeID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "URL", "Type", "textarea", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "__mj_CreatedAt", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "__mj_UpdatedAt", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "contentClassification", "SectionName", "Content Classification", "Icon", "fa fa-tags", 3, "Form", "FormContext"], ["SectionKey", "connectionDetails", "SectionName", "Connection Details", "Icon", "fa fa-plug", 3, "Form", "FormContext"], ["SectionKey", "
|
|
55
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJContentSourceFormComponent, selectors: [["gen-mjcontentsource-form"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 17, vars: 51, consts: [[3, "Navigate", "DeleteRequested", "FavoriteToggled", "HistoryRequested", "ListManagementRequested", "Record", "FormComponent"], ["SectionKey", "details", "SectionName", "Details", "Icon", "fa fa-align-left", 3, "Form", "FormContext"], ["FieldName", "Name", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "ContentTypeID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "ContentSourceTypeID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "ContentFileTypeID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "URL", "Type", "textarea", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "__mj_CreatedAt", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "__mj_UpdatedAt", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "contentClassification", "SectionName", "Content Classification", "Icon", "fa fa-tags", 3, "Form", "FormContext"], ["SectionKey", "connectionDetails", "SectionName", "Connection Details", "Icon", "fa fa-plug", 3, "Form", "FormContext"], ["SectionKey", "mJContentItems", "SectionName", "Content Items", "Icon", "fa fa-file-alt", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJContentProcessRuns", "SectionName", "Content Process Runs", "Icon", "fa fa-cogs", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJContentSourceParams", "SectionName", "Content Source Params", "Icon", "fa fa-cogs", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], [3, "Navigate", "AfterDataLoad", "Params", "NewRecordValues", "AllowLoad", "ShowToolbar"]], template: function MJContentSourceFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
56
56
|
i0.ɵɵelementStart(0, "mj-record-form-container", 0);
|
|
57
57
|
i0.ɵɵlistener("Navigate", function MJContentSourceFormComponent_Template_mj_record_form_container_Navigate_0_listener($event) { return ctx.OnFormNavigate($event); })("DeleteRequested", function MJContentSourceFormComponent_Template_mj_record_form_container_DeleteRequested_0_listener() { return ctx.OnDeleteRequested(); })("FavoriteToggled", function MJContentSourceFormComponent_Template_mj_record_form_container_FavoriteToggled_0_listener() { return ctx.OnFavoriteToggled(); })("HistoryRequested", function MJContentSourceFormComponent_Template_mj_record_form_container_HistoryRequested_0_listener() { return ctx.OnHistoryRequested(); })("ListManagementRequested", function MJContentSourceFormComponent_Template_mj_record_form_container_ListManagementRequested_0_listener() { return ctx.OnListManagementRequested(); });
|
|
58
58
|
i0.ɵɵelementStart(1, "mj-collapsible-panel", 1);
|
|
@@ -91,15 +91,15 @@ let MJContentSourceFormComponent = class MJContentSourceFormComponent extends Ba
|
|
|
91
91
|
i0.ɵɵadvance();
|
|
92
92
|
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext);
|
|
93
93
|
i0.ɵɵadvance();
|
|
94
|
-
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("
|
|
94
|
+
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJContentItems"))("DefaultExpanded", false);
|
|
95
95
|
i0.ɵɵadvance();
|
|
96
96
|
i0.ɵɵconditional(ctx.record.IsSaved ? 12 : -1);
|
|
97
97
|
i0.ɵɵadvance();
|
|
98
|
-
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("
|
|
98
|
+
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJContentProcessRuns"))("DefaultExpanded", false);
|
|
99
99
|
i0.ɵɵadvance();
|
|
100
100
|
i0.ɵɵconditional(ctx.record.IsSaved ? 14 : -1);
|
|
101
101
|
i0.ɵɵadvance();
|
|
102
|
-
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("
|
|
102
|
+
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJContentSourceParams"))("DefaultExpanded", false);
|
|
103
103
|
i0.ɵɵadvance();
|
|
104
104
|
i0.ɵɵconditional(ctx.record.IsSaved ? 16 : -1);
|
|
105
105
|
} }, dependencies: [i1.MjFormFieldComponent, i1.MjCollapsiblePanelComponent, i1.MjRecordFormContainerComponent, i1.ExplorerEntityDataGridComponent], encapsulation: 2 }); }
|
|
@@ -110,7 +110,7 @@ MJContentSourceFormComponent = __decorate([
|
|
|
110
110
|
export { MJContentSourceFormComponent };
|
|
111
111
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MJContentSourceFormComponent, [{
|
|
112
112
|
type: Component,
|
|
113
|
-
args: [{ standalone: false, selector: 'gen-mjcontentsource-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 <!-- Details Section -->\n <mj-collapsible-panel\n SectionKey=\"details\"\n SectionName=\"Details\"\n Icon=\"fa fa-align-left\"\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=\"ContentTypeID\"\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=\"ContentSourceTypeID\"\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=\"ContentFileTypeID\"\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=\"URL\"\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=\"__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 <!-- Content Classification Section -->\n <mj-collapsible-panel\n SectionKey=\"contentClassification\"\n SectionName=\"Content Classification\"\n Icon=\"fa fa-tags\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n\n </mj-collapsible-panel>\n\n <!-- Connection Details Section -->\n <mj-collapsible-panel\n SectionKey=\"connectionDetails\"\n SectionName=\"Connection Details\"\n Icon=\"fa fa-plug\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n\n </mj-collapsible-panel>\n\n <!-- ========================================\n RELATED ENTITY PANELS\n ======================================== -->\n\n <!-- Content
|
|
113
|
+
args: [{ standalone: false, selector: 'gen-mjcontentsource-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 <!-- Details Section -->\n <mj-collapsible-panel\n SectionKey=\"details\"\n SectionName=\"Details\"\n Icon=\"fa fa-align-left\"\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=\"ContentTypeID\"\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=\"ContentSourceTypeID\"\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=\"ContentFileTypeID\"\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=\"URL\"\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=\"__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 <!-- Content Classification Section -->\n <mj-collapsible-panel\n SectionKey=\"contentClassification\"\n SectionName=\"Content Classification\"\n Icon=\"fa fa-tags\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n\n </mj-collapsible-panel>\n\n <!-- Connection Details Section -->\n <mj-collapsible-panel\n SectionKey=\"connectionDetails\"\n SectionName=\"Connection Details\"\n Icon=\"fa fa-plug\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n\n </mj-collapsible-panel>\n\n <!-- ========================================\n RELATED ENTITY PANELS\n ======================================== -->\n\n <!-- Content Items Section -->\n <mj-collapsible-panel\n SectionKey=\"mJContentItems\"\n SectionName=\"Content Items\"\n Icon=\"fa fa-file-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJContentItems')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Content Items','ContentSourceID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Content Items')\"\n [AllowLoad]=\"IsSectionExpanded('mJContentItems')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJContentItems', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Content Process Runs Section -->\n <mj-collapsible-panel\n SectionKey=\"mJContentProcessRuns\"\n SectionName=\"Content Process Runs\"\n Icon=\"fa fa-cogs\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJContentProcessRuns')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Content Process Runs','SourceID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Content Process Runs')\"\n [AllowLoad]=\"IsSectionExpanded('mJContentProcessRuns')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJContentProcessRuns', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Content Source Params Section -->\n <mj-collapsible-panel\n SectionKey=\"mJContentSourceParams\"\n SectionName=\"Content Source Params\"\n Icon=\"fa fa-cogs\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJContentSourceParams')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Content Source Params','ContentSourceID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Content Source Params')\"\n [AllowLoad]=\"IsSectionExpanded('mJContentSourceParams')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJContentSourceParams', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n</mj-record-form-container>\n " }]
|
|
114
114
|
}], null, null); })();
|
|
115
115
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MJContentSourceFormComponent, { className: "MJContentSourceFormComponent", filePath: "src/lib/generated/Entities/MJContentSource/mjcontentsource.form.component.ts", lineNumber: 13 }); })();
|
|
116
116
|
//# sourceMappingURL=mjcontentsource.form.component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mjcontentsource.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJContentSource/mjcontentsource.form.component.ts","../../../../../src/lib/generated/Entities/MJContentSource/mjcontentsource.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;;;;;ICgHtD,AADJ,2BAAK,uCAQI;IADD,AADA,mOAAY,6BAAsB,KAAC,gOAClB,0BAAmB,uBAAuB,uBAAuB,KAAC;IAG3F,AADI,iBAA+B,EAC7B;;;IARE,cAAiG;IAGjG,AADA,AADA,AADA,uHAAiG,wEACjC,gEACR,sBACnC;;;;IAqBzB,AADJ,2BAAK,uCAQI;IADD,AADA,mOAAY,6BAAsB,KAAC,gOAClB,0BAAmB,gBAAgB,uBAAuB,KAAC;IAGpF,AADI,iBAA+B,EAC7B;;;IARE,cAAyF;IAGzF,AADA,AADA,AADA,+GAAyF,gEACjC,yDACP,sBAC5B;;;;IAqBzB,AADJ,2BAAK,uCAQI;IADD,AADA,mOAAY,6BAAsB,KAAC,gOAClB,0BAAmB,sBAAsB,uBAAuB,KAAC;IAG1F,AADI,iBAA+B,EAC7B;;;IARE,cAAyF;IAGzF,AADA,AADA,AADA,+GAAyF,uEAC1B,+DACR,sBAClC;;AD7J9B,IAAM,4BAA4B,GAAlC,MAAM,4BAA6B,SAAQ,iBAAiB;IAGtD,KAAK,CAAC,QAAQ;QACnB,MAAM,KAAK,CAAC,QAAQ,EAAE,CAAC;QACvB,IAAI,CAAC,YAAY,CAAC;YACd,EAAE,UAAU,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,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ADA,mCAAiB,mBACC,0BAGG,gCACM;YAI3B,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAI3B,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;YAS3B,cAAa;YACb,AADA,0BAAa,gCACc;YAc3B,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,+DAC+B,0BACjC;YACzB,cAYC;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,wDACwB,0BAC1B;YACzB,cAYC;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,8DAC8B,0BAChC;YACzB,cAYC;YAZD,8CAYC;;;ADnKI,4BAA4B;IANxC,aAAa,CAAC,iBAAiB,EAAE,qBAAqB,CAAC,CAAC,uCAAuC;GAMnF,4BAA4B,CAcxC;;iFAdY,4BAA4B;cALxC,SAAS;6BACM,KAAK,YACP,0BAA0B;;kFAG3B,4BAA4B","sourcesContent":["import { Component } from '@angular/core';\nimport { MJContentSourceEntity } 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: Content Sources') // Tell MemberJunction about this class\n@Component({\n standalone: false,\n selector: 'gen-mjcontentsource-form',\n templateUrl: './mjcontentsource.form.component.html'\n})\nexport class MJContentSourceFormComponent extends BaseFormComponent {\n public record!: MJContentSourceEntity;\n\n override async ngOnInit() {\n await super.ngOnInit();\n this.initSections([\n { sectionKey: 'details', sectionName: 'Details', isExpanded: true },\n { sectionKey: 'contentClassification', sectionName: 'Content Classification', isExpanded: true },\n { sectionKey: 'connectionDetails', sectionName: 'Connection Details', isExpanded: false },\n { sectionKey: 'mJContentSourceParams', sectionName: 'Content Source Params', isExpanded: false },\n { sectionKey: 'mJContentItems', sectionName: 'Content Items', isExpanded: false },\n { sectionKey: 'mJContentProcessRuns', sectionName: 'Content Process Runs', 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 <!-- Details Section -->\n <mj-collapsible-panel\n SectionKey=\"details\"\n SectionName=\"Details\"\n Icon=\"fa fa-align-left\"\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=\"ContentTypeID\"\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=\"ContentSourceTypeID\"\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=\"ContentFileTypeID\"\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=\"URL\"\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=\"__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 <!-- Content Classification Section -->\n <mj-collapsible-panel\n SectionKey=\"contentClassification\"\n SectionName=\"Content Classification\"\n Icon=\"fa fa-tags\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n\n </mj-collapsible-panel>\n\n <!-- Connection Details Section -->\n <mj-collapsible-panel\n SectionKey=\"connectionDetails\"\n SectionName=\"Connection Details\"\n Icon=\"fa fa-plug\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n\n </mj-collapsible-panel>\n\n <!-- ========================================\n RELATED ENTITY PANELS\n ======================================== -->\n\n <!-- Content Source Params Section -->\n <mj-collapsible-panel\n SectionKey=\"mJContentSourceParams\"\n SectionName=\"Content Source Params\"\n Icon=\"fa fa-cogs\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJContentSourceParams')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Content Source Params','ContentSourceID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Content Source Params')\"\n [AllowLoad]=\"IsSectionExpanded('mJContentSourceParams')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJContentSourceParams', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Content Items Section -->\n <mj-collapsible-panel\n SectionKey=\"mJContentItems\"\n SectionName=\"Content Items\"\n Icon=\"fa fa-file-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJContentItems')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Content Items','ContentSourceID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Content Items')\"\n [AllowLoad]=\"IsSectionExpanded('mJContentItems')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJContentItems', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Content Process Runs Section -->\n <mj-collapsible-panel\n SectionKey=\"mJContentProcessRuns\"\n SectionName=\"Content Process Runs\"\n Icon=\"fa fa-cogs\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJContentProcessRuns')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Content Process Runs','SourceID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Content Process Runs')\"\n [AllowLoad]=\"IsSectionExpanded('mJContentProcessRuns')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJContentProcessRuns', $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":"mjcontentsource.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJContentSource/mjcontentsource.form.component.ts","../../../../../src/lib/generated/Entities/MJContentSource/mjcontentsource.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;;;;;ICgHtD,AADJ,2BAAK,uCAQI;IADD,AADA,mOAAY,6BAAsB,KAAC,gOAClB,0BAAmB,gBAAgB,uBAAuB,KAAC;IAGpF,AADI,iBAA+B,EAC7B;;;IARE,cAAyF;IAGzF,AADA,AADA,AADA,+GAAyF,gEACjC,yDACP,sBAC5B;;;;IAqBzB,AADJ,2BAAK,uCAQI;IADD,AADA,mOAAY,6BAAsB,KAAC,gOAClB,0BAAmB,sBAAsB,uBAAuB,KAAC;IAG1F,AADI,iBAA+B,EAC7B;;;IARE,cAAyF;IAGzF,AADA,AADA,AADA,+GAAyF,uEAC1B,+DACR,sBAClC;;;;IAqBzB,AADJ,2BAAK,uCAQI;IADD,AADA,mOAAY,6BAAsB,KAAC,gOAClB,0BAAmB,uBAAuB,uBAAuB,KAAC;IAG3F,AADI,iBAA+B,EAC7B;;;IARE,cAAiG;IAGjG,AADA,AADA,AADA,uHAAiG,wEACjC,gEACR,sBACnC;;AD7J9B,IAAM,4BAA4B,GAAlC,MAAM,4BAA6B,SAAQ,iBAAiB;IAGtD,KAAK,CAAC,QAAQ;QACnB,MAAM,KAAK,CAAC,QAAQ,EAAE,CAAC;QACvB,IAAI,CAAC,YAAY,CAAC;YACd,EAAE,UAAU,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,UAAU,EAAE,IAAI,EAAE;YACnE,EAAE,UAAU,EAAE,uBAAuB,EAAE,WAAW,EAAE,wBAAwB,EAAE,UAAU,EAAE,IAAI,EAAE;YAChG,EAAE,UAAU,EAAE,mBAAmB,EAAE,WAAW,EA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3B,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;YAS3B,cAAa;YACb,AADA,0BAAa,gCACc;YAc3B,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,wDACwB,0BAC1B;YACzB,cAYC;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,8DAC8B,0BAChC;YACzB,cAYC;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,+DAC+B,0BACjC;YACzB,cAYC;YAZD,8CAYC;;;ADnKI,4BAA4B;IANxC,aAAa,CAAC,iBAAiB,EAAE,qBAAqB,CAAC,CAAC,uCAAuC;GAMnF,4BAA4B,CAcxC;;iFAdY,4BAA4B;cALxC,SAAS;6BACM,KAAK,YACP,0BAA0B;;kFAG3B,4BAA4B","sourcesContent":["import { Component } from '@angular/core';\nimport { MJContentSourceEntity } 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: Content Sources') // Tell MemberJunction about this class\n@Component({\n standalone: false,\n selector: 'gen-mjcontentsource-form',\n templateUrl: './mjcontentsource.form.component.html'\n})\nexport class MJContentSourceFormComponent extends BaseFormComponent {\n public record!: MJContentSourceEntity;\n\n override async ngOnInit() {\n await super.ngOnInit();\n this.initSections([\n { sectionKey: 'details', sectionName: 'Details', isExpanded: true },\n { sectionKey: 'contentClassification', sectionName: 'Content Classification', isExpanded: true },\n { sectionKey: 'connectionDetails', sectionName: 'Connection Details', isExpanded: false },\n { sectionKey: 'mJContentItems', sectionName: 'Content Items', isExpanded: false },\n { sectionKey: 'mJContentProcessRuns', sectionName: 'Content Process Runs', isExpanded: false },\n { sectionKey: 'mJContentSourceParams', sectionName: 'Content Source Params', 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 <!-- Details Section -->\n <mj-collapsible-panel\n SectionKey=\"details\"\n SectionName=\"Details\"\n Icon=\"fa fa-align-left\"\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=\"ContentTypeID\"\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=\"ContentSourceTypeID\"\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=\"ContentFileTypeID\"\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=\"URL\"\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=\"__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 <!-- Content Classification Section -->\n <mj-collapsible-panel\n SectionKey=\"contentClassification\"\n SectionName=\"Content Classification\"\n Icon=\"fa fa-tags\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n\n </mj-collapsible-panel>\n\n <!-- Connection Details Section -->\n <mj-collapsible-panel\n SectionKey=\"connectionDetails\"\n SectionName=\"Connection Details\"\n Icon=\"fa fa-plug\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n\n </mj-collapsible-panel>\n\n <!-- ========================================\n RELATED ENTITY PANELS\n ======================================== -->\n\n <!-- Content Items Section -->\n <mj-collapsible-panel\n SectionKey=\"mJContentItems\"\n SectionName=\"Content Items\"\n Icon=\"fa fa-file-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJContentItems')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Content Items','ContentSourceID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Content Items')\"\n [AllowLoad]=\"IsSectionExpanded('mJContentItems')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJContentItems', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Content Process Runs Section -->\n <mj-collapsible-panel\n SectionKey=\"mJContentProcessRuns\"\n SectionName=\"Content Process Runs\"\n Icon=\"fa fa-cogs\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJContentProcessRuns')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Content Process Runs','SourceID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Content Process Runs')\"\n [AllowLoad]=\"IsSectionExpanded('mJContentProcessRuns')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJContentProcessRuns', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Content Source Params Section -->\n <mj-collapsible-panel\n SectionKey=\"mJContentSourceParams\"\n SectionName=\"Content Source Params\"\n Icon=\"fa fa-cogs\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJContentSourceParams')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Content Source Params','ContentSourceID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Content Source Params')\"\n [AllowLoad]=\"IsSectionExpanded('mJContentSourceParams')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJContentSourceParams', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n</mj-record-form-container>\n "]}
|