@memberjunction/ng-core-entity-forms 5.16.0 → 5.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/custom/AIPromptRuns/ai-prompt-run-form.component.d.ts +5 -0
- package/dist/lib/custom/AIPromptRuns/ai-prompt-run-form.component.d.ts.map +1 -1
- package/dist/lib/custom/AIPromptRuns/ai-prompt-run-form.component.js +754 -622
- package/dist/lib/custom/AIPromptRuns/ai-prompt-run-form.component.js.map +1 -1
- package/dist/lib/custom/AIPromptRuns/chat-message-viewer.component.d.ts +15 -0
- package/dist/lib/custom/AIPromptRuns/chat-message-viewer.component.d.ts.map +1 -1
- package/dist/lib/custom/AIPromptRuns/chat-message-viewer.component.js +110 -42
- package/dist/lib/custom/AIPromptRuns/chat-message-viewer.component.js.map +1 -1
- package/dist/lib/custom/ai-agent-run/ai-agent-run-step-detail.component.d.ts +29 -1
- package/dist/lib/custom/ai-agent-run/ai-agent-run-step-detail.component.d.ts.map +1 -1
- package/dist/lib/custom/ai-agent-run/ai-agent-run-step-detail.component.js +400 -44
- package/dist/lib/custom/ai-agent-run/ai-agent-run-step-detail.component.js.map +1 -1
- 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 +30 -30
- 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
|
@@ -22,42 +22,42 @@ function MJEnvironmentFormComponent_Conditional_12_Template(rf, ctx) { if (rf &
|
|
|
22
22
|
function MJEnvironmentFormComponent_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", 18);
|
|
25
|
-
i0.ɵɵlistener("Navigate", function MJEnvironmentFormComponent_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 MJEnvironmentFormComponent_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 MJEnvironmentFormComponent_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 MJEnvironmentFormComponent_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("mJCollections", $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:
|
|
30
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Collections", "EnvironmentID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Collections"))("AllowLoad", ctx_r1.IsSectionExpanded("mJCollections"))("ShowToolbar", false);
|
|
31
31
|
} }
|
|
32
32
|
function MJEnvironmentFormComponent_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", 18);
|
|
35
|
-
i0.ɵɵlistener("Navigate", function MJEnvironmentFormComponent_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 MJEnvironmentFormComponent_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 MJEnvironmentFormComponent_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 MJEnvironmentFormComponent_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("mJProjects", $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:
|
|
40
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Projects", "EnvironmentID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Projects"))("AllowLoad", ctx_r1.IsSectionExpanded("mJProjects"))("ShowToolbar", false);
|
|
41
41
|
} }
|
|
42
42
|
function MJEnvironmentFormComponent_Conditional_18_Template(rf, ctx) { if (rf & 1) {
|
|
43
43
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
44
44
|
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 18);
|
|
45
|
-
i0.ɵɵlistener("Navigate", function MJEnvironmentFormComponent_Conditional_18_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function MJEnvironmentFormComponent_Conditional_18_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("
|
|
45
|
+
i0.ɵɵlistener("Navigate", function MJEnvironmentFormComponent_Conditional_18_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function MJEnvironmentFormComponent_Conditional_18_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJDashboards", $event.totalRowCount)); });
|
|
46
46
|
i0.ɵɵelementEnd()();
|
|
47
47
|
} if (rf & 2) {
|
|
48
48
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
49
49
|
i0.ɵɵadvance();
|
|
50
|
-
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ:
|
|
50
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Dashboards", "EnvironmentID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Dashboards"))("AllowLoad", ctx_r1.IsSectionExpanded("mJDashboards"))("ShowToolbar", false);
|
|
51
51
|
} }
|
|
52
52
|
function MJEnvironmentFormComponent_Conditional_20_Template(rf, ctx) { if (rf & 1) {
|
|
53
53
|
const _r6 = i0.ɵɵgetCurrentView();
|
|
54
54
|
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 18);
|
|
55
|
-
i0.ɵɵlistener("Navigate", function MJEnvironmentFormComponent_Conditional_20_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function MJEnvironmentFormComponent_Conditional_20_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("
|
|
55
|
+
i0.ɵɵlistener("Navigate", function MJEnvironmentFormComponent_Conditional_20_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function MJEnvironmentFormComponent_Conditional_20_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJTasks", $event.totalRowCount)); });
|
|
56
56
|
i0.ɵɵelementEnd()();
|
|
57
57
|
} if (rf & 2) {
|
|
58
58
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
59
59
|
i0.ɵɵadvance();
|
|
60
|
-
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ:
|
|
60
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Tasks", "EnvironmentID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Tasks"))("AllowLoad", ctx_r1.IsSectionExpanded("mJTasks"))("ShowToolbar", false);
|
|
61
61
|
} }
|
|
62
62
|
function MJEnvironmentFormComponent_Conditional_22_Template(rf, ctx) { if (rf & 1) {
|
|
63
63
|
const _r7 = i0.ɵɵgetCurrentView();
|
|
@@ -88,16 +88,16 @@ let MJEnvironmentFormComponent = class MJEnvironmentFormComponent extends BaseFo
|
|
|
88
88
|
{ sectionKey: 'environmentSettings', sectionName: 'Environment Settings', isExpanded: false },
|
|
89
89
|
{ sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },
|
|
90
90
|
{ sectionKey: 'mJArtifacts', sectionName: 'Artifacts', isExpanded: false },
|
|
91
|
-
{ sectionKey: 'mJProjects', sectionName: 'Projects', isExpanded: false },
|
|
92
91
|
{ sectionKey: 'mJCollections', sectionName: 'Collections', isExpanded: false },
|
|
93
|
-
{ sectionKey: '
|
|
92
|
+
{ sectionKey: 'mJProjects', sectionName: 'Projects', isExpanded: false },
|
|
94
93
|
{ sectionKey: 'mJDashboards', sectionName: 'Dashboards', isExpanded: false },
|
|
94
|
+
{ sectionKey: 'mJTasks', sectionName: 'Tasks', isExpanded: false },
|
|
95
95
|
{ sectionKey: 'mJReports', sectionName: 'Reports', isExpanded: false },
|
|
96
96
|
{ sectionKey: 'mJConversations', sectionName: 'Conversations', isExpanded: false }
|
|
97
97
|
]);
|
|
98
98
|
}
|
|
99
99
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵMJEnvironmentFormComponent_BaseFactory; return function MJEnvironmentFormComponent_Factory(__ngFactoryType__) { return (ɵMJEnvironmentFormComponent_BaseFactory || (ɵMJEnvironmentFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(MJEnvironmentFormComponent)))(__ngFactoryType__ || MJEnvironmentFormComponent); }; })(); }
|
|
100
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJEnvironmentFormComponent, selectors: [["gen-mjenvironment-form"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 25, vars: 69, consts: [[3, "Navigate", "DeleteRequested", "FavoriteToggled", "HistoryRequested", "ListManagementRequested", "Record", "FormComponent"], ["SectionKey", "technicalMetadata", "SectionName", "Technical Metadata", "Icon", "fa fa-cog", 3, "Form", "FormContext"], ["SectionKey", "environmentDefinition", "SectionName", "Environment Definition", "Icon", "fa fa-cubes", 3, "Form", "FormContext"], ["FieldName", "Name", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Description", "Type", "textarea", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "IsDefault", "Type", "checkbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "environmentSettings", "SectionName", "Environment Settings", "Icon", "fa fa-sliders-h", 3, "Form", "FormContext"], ["FieldName", "Settings", "Type", "textarea", 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", "mJArtifacts", "SectionName", "Artifacts", "Icon", "fa fa-file", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "
|
|
100
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJEnvironmentFormComponent, selectors: [["gen-mjenvironment-form"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 25, vars: 69, consts: [[3, "Navigate", "DeleteRequested", "FavoriteToggled", "HistoryRequested", "ListManagementRequested", "Record", "FormComponent"], ["SectionKey", "technicalMetadata", "SectionName", "Technical Metadata", "Icon", "fa fa-cog", 3, "Form", "FormContext"], ["SectionKey", "environmentDefinition", "SectionName", "Environment Definition", "Icon", "fa fa-cubes", 3, "Form", "FormContext"], ["FieldName", "Name", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Description", "Type", "textarea", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "IsDefault", "Type", "checkbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "environmentSettings", "SectionName", "Environment Settings", "Icon", "fa fa-sliders-h", 3, "Form", "FormContext"], ["FieldName", "Settings", "Type", "textarea", 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", "mJArtifacts", "SectionName", "Artifacts", "Icon", "fa fa-file", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJCollections", "SectionName", "Collections", "Icon", "fa fa-folder-open", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJProjects", "SectionName", "Projects", "Icon", "fa fa-project-diagram", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJDashboards", "SectionName", "Dashboards", "Icon", "fa-solid fa-table-columns", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJTasks", "SectionName", "Tasks", "Icon", "fa fa-tasks", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJReports", "SectionName", "Reports", "Icon", "fa-solid fa-chart-line", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJConversations", "SectionName", "Conversations", "Icon", "fa-regular fa-comments", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], [3, "Navigate", "AfterDataLoad", "Params", "NewRecordValues", "AllowLoad", "ShowToolbar"]], template: function MJEnvironmentFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
101
101
|
i0.ɵɵelementStart(0, "mj-record-form-container", 0);
|
|
102
102
|
i0.ɵɵlistener("Navigate", function MJEnvironmentFormComponent_Template_mj_record_form_container_Navigate_0_listener($event) { return ctx.OnFormNavigate($event); })("DeleteRequested", function MJEnvironmentFormComponent_Template_mj_record_form_container_DeleteRequested_0_listener() { return ctx.OnDeleteRequested(); })("FavoriteToggled", function MJEnvironmentFormComponent_Template_mj_record_form_container_FavoriteToggled_0_listener() { return ctx.OnFavoriteToggled(); })("HistoryRequested", function MJEnvironmentFormComponent_Template_mj_record_form_container_HistoryRequested_0_listener() { return ctx.OnHistoryRequested(); })("ListManagementRequested", function MJEnvironmentFormComponent_Template_mj_record_form_container_ListManagementRequested_0_listener() { return ctx.OnListManagementRequested(); });
|
|
103
103
|
i0.ɵɵelement(1, "mj-collapsible-panel", 1);
|
|
@@ -158,19 +158,19 @@ let MJEnvironmentFormComponent = class MJEnvironmentFormComponent extends BaseFo
|
|
|
158
158
|
i0.ɵɵadvance();
|
|
159
159
|
i0.ɵɵconditional(ctx.record.IsSaved ? 12 : -1);
|
|
160
160
|
i0.ɵɵadvance();
|
|
161
|
-
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("
|
|
161
|
+
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJCollections"))("DefaultExpanded", false);
|
|
162
162
|
i0.ɵɵadvance();
|
|
163
163
|
i0.ɵɵconditional(ctx.record.IsSaved ? 14 : -1);
|
|
164
164
|
i0.ɵɵadvance();
|
|
165
|
-
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("
|
|
165
|
+
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJProjects"))("DefaultExpanded", false);
|
|
166
166
|
i0.ɵɵadvance();
|
|
167
167
|
i0.ɵɵconditional(ctx.record.IsSaved ? 16 : -1);
|
|
168
168
|
i0.ɵɵadvance();
|
|
169
|
-
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("
|
|
169
|
+
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJDashboards"))("DefaultExpanded", false);
|
|
170
170
|
i0.ɵɵadvance();
|
|
171
171
|
i0.ɵɵconditional(ctx.record.IsSaved ? 18 : -1);
|
|
172
172
|
i0.ɵɵadvance();
|
|
173
|
-
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("
|
|
173
|
+
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJTasks"))("DefaultExpanded", false);
|
|
174
174
|
i0.ɵɵadvance();
|
|
175
175
|
i0.ɵɵconditional(ctx.record.IsSaved ? 20 : -1);
|
|
176
176
|
i0.ɵɵadvance();
|
|
@@ -189,7 +189,7 @@ MJEnvironmentFormComponent = __decorate([
|
|
|
189
189
|
export { MJEnvironmentFormComponent };
|
|
190
190
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MJEnvironmentFormComponent, [{
|
|
191
191
|
type: Component,
|
|
192
|
-
args: [{ standalone: false, selector: 'gen-mjenvironment-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 <!-- Technical Metadata Section -->\n <mj-collapsible-panel\n SectionKey=\"technicalMetadata\"\n SectionName=\"Technical Metadata\"\n Icon=\"fa fa-cog\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n\n </mj-collapsible-panel>\n\n <!-- Environment Definition Section -->\n <mj-collapsible-panel\n SectionKey=\"environmentDefinition\"\n SectionName=\"Environment Definition\"\n Icon=\"fa fa-cubes\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Name\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Description\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"IsDefault\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Environment Settings Section -->\n <mj-collapsible-panel\n SectionKey=\"environmentSettings\"\n SectionName=\"Environment Settings\"\n Icon=\"fa fa-sliders-h\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"false\"\n FieldName=\"Settings\"\n Type=\"textarea\"\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 <!-- Artifacts Section -->\n <mj-collapsible-panel\n SectionKey=\"mJArtifacts\"\n SectionName=\"Artifacts\"\n Icon=\"fa fa-file\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJArtifacts')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Artifacts','EnvironmentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Artifacts')\"\n [AllowLoad]=\"IsSectionExpanded('mJArtifacts')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJArtifacts', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Projects Section -->\n <mj-collapsible-panel\n SectionKey=\"mJProjects\"\n SectionName=\"Projects\"\n Icon=\"fa fa-project-diagram\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJProjects')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Projects','EnvironmentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Projects')\"\n [AllowLoad]=\"IsSectionExpanded('mJProjects')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJProjects', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Collections Section -->\n <mj-collapsible-panel\n SectionKey=\"mJCollections\"\n SectionName=\"Collections\"\n Icon=\"fa fa-folder-open\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJCollections')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Collections','EnvironmentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Collections')\"\n [AllowLoad]=\"IsSectionExpanded('mJCollections')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJCollections', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Tasks Section -->\n <mj-collapsible-panel\n SectionKey=\"mJTasks\"\n SectionName=\"Tasks\"\n Icon=\"fa fa-tasks\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJTasks')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Tasks','EnvironmentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Tasks')\"\n [AllowLoad]=\"IsSectionExpanded('mJTasks')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJTasks', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Dashboards Section -->\n <mj-collapsible-panel\n SectionKey=\"mJDashboards\"\n SectionName=\"Dashboards\"\n Icon=\"fa-solid fa-table-columns\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJDashboards')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Dashboards','EnvironmentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Dashboards')\"\n [AllowLoad]=\"IsSectionExpanded('mJDashboards')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJDashboards', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Reports Section -->\n <mj-collapsible-panel\n SectionKey=\"mJReports\"\n SectionName=\"Reports\"\n Icon=\"fa-solid fa-chart-line\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJReports')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Reports','EnvironmentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Reports')\"\n [AllowLoad]=\"IsSectionExpanded('mJReports')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJReports', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Conversations Section -->\n <mj-collapsible-panel\n SectionKey=\"mJConversations\"\n SectionName=\"Conversations\"\n Icon=\"fa-regular fa-comments\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJConversations')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Conversations','EnvironmentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Conversations')\"\n [AllowLoad]=\"IsSectionExpanded('mJConversations')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJConversations', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n</mj-record-form-container>\n " }]
|
|
192
|
+
args: [{ standalone: false, selector: 'gen-mjenvironment-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 <!-- Technical Metadata Section -->\n <mj-collapsible-panel\n SectionKey=\"technicalMetadata\"\n SectionName=\"Technical Metadata\"\n Icon=\"fa fa-cog\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n\n </mj-collapsible-panel>\n\n <!-- Environment Definition Section -->\n <mj-collapsible-panel\n SectionKey=\"environmentDefinition\"\n SectionName=\"Environment Definition\"\n Icon=\"fa fa-cubes\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Name\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Description\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"IsDefault\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Environment Settings Section -->\n <mj-collapsible-panel\n SectionKey=\"environmentSettings\"\n SectionName=\"Environment Settings\"\n Icon=\"fa fa-sliders-h\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"false\"\n FieldName=\"Settings\"\n Type=\"textarea\"\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 <!-- Artifacts Section -->\n <mj-collapsible-panel\n SectionKey=\"mJArtifacts\"\n SectionName=\"Artifacts\"\n Icon=\"fa fa-file\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJArtifacts')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Artifacts','EnvironmentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Artifacts')\"\n [AllowLoad]=\"IsSectionExpanded('mJArtifacts')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJArtifacts', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Collections Section -->\n <mj-collapsible-panel\n SectionKey=\"mJCollections\"\n SectionName=\"Collections\"\n Icon=\"fa fa-folder-open\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJCollections')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Collections','EnvironmentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Collections')\"\n [AllowLoad]=\"IsSectionExpanded('mJCollections')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJCollections', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Projects Section -->\n <mj-collapsible-panel\n SectionKey=\"mJProjects\"\n SectionName=\"Projects\"\n Icon=\"fa fa-project-diagram\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJProjects')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Projects','EnvironmentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Projects')\"\n [AllowLoad]=\"IsSectionExpanded('mJProjects')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJProjects', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Dashboards Section -->\n <mj-collapsible-panel\n SectionKey=\"mJDashboards\"\n SectionName=\"Dashboards\"\n Icon=\"fa-solid fa-table-columns\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJDashboards')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Dashboards','EnvironmentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Dashboards')\"\n [AllowLoad]=\"IsSectionExpanded('mJDashboards')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJDashboards', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Tasks Section -->\n <mj-collapsible-panel\n SectionKey=\"mJTasks\"\n SectionName=\"Tasks\"\n Icon=\"fa fa-tasks\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJTasks')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Tasks','EnvironmentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Tasks')\"\n [AllowLoad]=\"IsSectionExpanded('mJTasks')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJTasks', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Reports Section -->\n <mj-collapsible-panel\n SectionKey=\"mJReports\"\n SectionName=\"Reports\"\n Icon=\"fa-solid fa-chart-line\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJReports')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Reports','EnvironmentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Reports')\"\n [AllowLoad]=\"IsSectionExpanded('mJReports')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJReports', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Conversations Section -->\n <mj-collapsible-panel\n SectionKey=\"mJConversations\"\n SectionName=\"Conversations\"\n Icon=\"fa-regular fa-comments\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJConversations')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Conversations','EnvironmentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Conversations')\"\n [AllowLoad]=\"IsSectionExpanded('mJConversations')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJConversations', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n</mj-record-form-container>\n " }]
|
|
193
193
|
}], null, null); })();
|
|
194
194
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MJEnvironmentFormComponent, { className: "MJEnvironmentFormComponent", filePath: "src/lib/generated/Entities/MJEnvironment/mjenvironment.form.component.ts", lineNumber: 13 }); })();
|
|
195
195
|
//# sourceMappingURL=mjenvironment.form.component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mjenvironment.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJEnvironment/mjenvironment.form.component.ts","../../../../../src/lib/generated/Entities/MJEnvironment/mjenvironment.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;;;;;IC+GtD,AADJ,2BAAK,uCAQI;IADD,AADA,iOAAY,6BAAsB,KAAC,8NAClB,0BAAmB,aAAa,uBAAuB,KAAC;IAGjF,AADI,iBAA+B,EAC7B;;;IARE,cAAmF;IAGnF,AADA,AADA,AADA,yGAAmF,4DAC/B,sDACN,sBACzB;;;;IAqBzB,AADJ,2BAAK,uCAQI;IADD,AADA,iOAAY,6BAAsB,KAAC,8NAClB,0BAAmB,YAAY,uBAAuB,KAAC;IAGhF,AADI,iBAA+B,EAC7B;;;IARE,cAAkF;IAGlF,AADA,AADA,AADA,wGAAkF,2DAC/B,qDACN,sBACxB;;;;IAqBzB,AADJ,2BAAK,uCAQI;IADD,AADA,iOAAY,6BAAsB,KAAC,8NAClB,0BAAmB,eAAe,uBAAuB,KAAC;IAGnF,AADI,iBAA+B,EAC7B;;;IARE,cAAqF;IAGrF,AADA,AADA,AADA,2GAAqF,8DAC/B,wDACN,sBAC3B;;;;IAqBzB,AADJ,2BAAK,uCAQI;IADD,AADA,iOAAY,6BAAsB,KAAC,8NAClB,0BAAmB,SAAS,uBAAuB,KAAC;IAG7E,AADI,iBAA+B,EAC7B;;;IARE,cAA+E;IAG/E,AADA,AADA,AADA,qGAA+E,wDAC/B,kDACN,sBACrB;;;;IAqBzB,AADJ,2BAAK,uCAQI;IADD,AADA,iOAAY,6BAAsB,KAAC,8NAClB,0BAAmB,cAAc,uBAAuB,KAAC;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BAA0B","sourcesContent":["import { Component } from '@angular/core';\nimport { MJEnvironmentEntity } 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: Environments') // Tell MemberJunction about this class\n@Component({\n standalone: false,\n selector: 'gen-mjenvironment-form',\n templateUrl: './mjenvironment.form.component.html'\n})\nexport class MJEnvironmentFormComponent extends BaseFormComponent {\n public record!: MJEnvironmentEntity;\n\n override async ngOnInit() {\n await super.ngOnInit();\n this.initSections([\n { sectionKey: 'technicalMetadata', sectionName: 'Technical Metadata', isExpanded: false },\n { sectionKey: 'environmentDefinition', sectionName: 'Environment Definition', isExpanded: true },\n { sectionKey: 'environmentSettings', sectionName: 'Environment Settings', isExpanded: false },\n { sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },\n { sectionKey: 'mJArtifacts', sectionName: 'Artifacts', isExpanded: false },\n { sectionKey: 'mJProjects', sectionName: 'Projects', isExpanded: false },\n { sectionKey: 'mJCollections', sectionName: 'Collections', isExpanded: false },\n { sectionKey: 'mJTasks', sectionName: 'Tasks', isExpanded: false },\n { sectionKey: 'mJDashboards', sectionName: 'Dashboards', isExpanded: false },\n { sectionKey: 'mJReports', sectionName: 'Reports', isExpanded: false },\n { sectionKey: 'mJConversations', sectionName: 'Conversations', 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 <!-- Technical Metadata Section -->\n <mj-collapsible-panel\n SectionKey=\"technicalMetadata\"\n SectionName=\"Technical Metadata\"\n Icon=\"fa fa-cog\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n\n </mj-collapsible-panel>\n\n <!-- Environment Definition Section -->\n <mj-collapsible-panel\n SectionKey=\"environmentDefinition\"\n SectionName=\"Environment Definition\"\n Icon=\"fa fa-cubes\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Name\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Description\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"IsDefault\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Environment Settings Section -->\n <mj-collapsible-panel\n SectionKey=\"environmentSettings\"\n SectionName=\"Environment Settings\"\n Icon=\"fa fa-sliders-h\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"false\"\n FieldName=\"Settings\"\n Type=\"textarea\"\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 <!-- Artifacts Section -->\n <mj-collapsible-panel\n SectionKey=\"mJArtifacts\"\n SectionName=\"Artifacts\"\n Icon=\"fa fa-file\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJArtifacts')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Artifacts','EnvironmentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Artifacts')\"\n [AllowLoad]=\"IsSectionExpanded('mJArtifacts')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJArtifacts', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Projects Section -->\n <mj-collapsible-panel\n SectionKey=\"mJProjects\"\n SectionName=\"Projects\"\n Icon=\"fa fa-project-diagram\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJProjects')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Projects','EnvironmentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Projects')\"\n [AllowLoad]=\"IsSectionExpanded('mJProjects')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJProjects', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Collections Section -->\n <mj-collapsible-panel\n SectionKey=\"mJCollections\"\n SectionName=\"Collections\"\n Icon=\"fa fa-folder-open\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJCollections')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Collections','EnvironmentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Collections')\"\n [AllowLoad]=\"IsSectionExpanded('mJCollections')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJCollections', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Tasks Section -->\n <mj-collapsible-panel\n SectionKey=\"mJTasks\"\n SectionName=\"Tasks\"\n Icon=\"fa fa-tasks\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJTasks')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Tasks','EnvironmentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Tasks')\"\n [AllowLoad]=\"IsSectionExpanded('mJTasks')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJTasks', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Dashboards Section -->\n <mj-collapsible-panel\n SectionKey=\"mJDashboards\"\n SectionName=\"Dashboards\"\n Icon=\"fa-solid fa-table-columns\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJDashboards')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Dashboards','EnvironmentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Dashboards')\"\n [AllowLoad]=\"IsSectionExpanded('mJDashboards')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJDashboards', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Reports Section -->\n <mj-collapsible-panel\n SectionKey=\"mJReports\"\n SectionName=\"Reports\"\n Icon=\"fa-solid fa-chart-line\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJReports')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Reports','EnvironmentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Reports')\"\n [AllowLoad]=\"IsSectionExpanded('mJReports')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJReports', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Conversations Section -->\n <mj-collapsible-panel\n SectionKey=\"mJConversations\"\n SectionName=\"Conversations\"\n Icon=\"fa-regular fa-comments\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJConversations')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Conversations','EnvironmentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Conversations')\"\n [AllowLoad]=\"IsSectionExpanded('mJConversations')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJConversations', $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":"mjenvironment.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJEnvironment/mjenvironment.form.component.ts","../../../../../src/lib/generated/Entities/MJEnvironment/mjenvironment.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;;;;;IC+GtD,AADJ,2BAAK,uCAQI;IADD,AADA,iOAAY,6BAAsB,KAAC,8NAClB,0BAAmB,aAAa,uBAAuB,KAAC;IAGjF,AADI,iBAA+B,EAC7B;;;IARE,cAAmF;IAGnF,AADA,AADA,AADA,yGAAmF,4DAC/B,sDACN,sBACzB;;;;IAqBzB,AADJ,2BAAK,uCAQI;IADD,AADA,iOAAY,6BAAsB,KAAC,8NAClB,0BAAmB,eAAe,uBAAuB,KAAC;IAGnF,AADI,iBAA+B,EAC7B;;;IARE,cAAqF;IAGrF,AADA,AADA,AADA,2GAAqF,8DAC/B,wDACN,sBAC3B;;;;IAqBzB,AADJ,2BAAK,uCAQI;IADD,AADA,iOAAY,6BAAsB,KAAC,8NAClB,0BAAmB,YAAY,uBAAuB,KAAC;IAGhF,AADI,iBAA+B,EAC7B;;;IARE,cAAkF;IAGlF,AADA,AADA,AADA,wGAAkF,2DAC/B,qDACN,sBACxB;;;;IAqBzB,AADJ,2BAAK,uCAQI;IADD,AADA,iOAAY,6BAAsB,KAAC,8NAClB,0BAAmB,cAAc,uBAAuB,KAAC;IAGlF,AAD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;YAZD,8CAYC;;;ADtQI,0BAA0B;IANtC,aAAa,CAAC,iBAAiB,EAAE,kBAAkB,CAAC,CAAC,uCAAuC;GAMhF,0BAA0B,CAmBtC;;iFAnBY,0BAA0B;cALtC,SAAS;6BACM,KAAK,YACP,wBAAwB;;kFAGzB,0BAA0B","sourcesContent":["import { Component } from '@angular/core';\nimport { MJEnvironmentEntity } 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: Environments') // Tell MemberJunction about this class\n@Component({\n standalone: false,\n selector: 'gen-mjenvironment-form',\n templateUrl: './mjenvironment.form.component.html'\n})\nexport class MJEnvironmentFormComponent extends BaseFormComponent {\n public record!: MJEnvironmentEntity;\n\n override async ngOnInit() {\n await super.ngOnInit();\n this.initSections([\n { sectionKey: 'technicalMetadata', sectionName: 'Technical Metadata', isExpanded: false },\n { sectionKey: 'environmentDefinition', sectionName: 'Environment Definition', isExpanded: true },\n { sectionKey: 'environmentSettings', sectionName: 'Environment Settings', isExpanded: false },\n { sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },\n { sectionKey: 'mJArtifacts', sectionName: 'Artifacts', isExpanded: false },\n { sectionKey: 'mJCollections', sectionName: 'Collections', isExpanded: false },\n { sectionKey: 'mJProjects', sectionName: 'Projects', isExpanded: false },\n { sectionKey: 'mJDashboards', sectionName: 'Dashboards', isExpanded: false },\n { sectionKey: 'mJTasks', sectionName: 'Tasks', isExpanded: false },\n { sectionKey: 'mJReports', sectionName: 'Reports', isExpanded: false },\n { sectionKey: 'mJConversations', sectionName: 'Conversations', 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 <!-- Technical Metadata Section -->\n <mj-collapsible-panel\n SectionKey=\"technicalMetadata\"\n SectionName=\"Technical Metadata\"\n Icon=\"fa fa-cog\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n\n </mj-collapsible-panel>\n\n <!-- Environment Definition Section -->\n <mj-collapsible-panel\n SectionKey=\"environmentDefinition\"\n SectionName=\"Environment Definition\"\n Icon=\"fa fa-cubes\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Name\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Description\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"IsDefault\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Environment Settings Section -->\n <mj-collapsible-panel\n SectionKey=\"environmentSettings\"\n SectionName=\"Environment Settings\"\n Icon=\"fa fa-sliders-h\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"false\"\n FieldName=\"Settings\"\n Type=\"textarea\"\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 <!-- Artifacts Section -->\n <mj-collapsible-panel\n SectionKey=\"mJArtifacts\"\n SectionName=\"Artifacts\"\n Icon=\"fa fa-file\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJArtifacts')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Artifacts','EnvironmentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Artifacts')\"\n [AllowLoad]=\"IsSectionExpanded('mJArtifacts')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJArtifacts', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Collections Section -->\n <mj-collapsible-panel\n SectionKey=\"mJCollections\"\n SectionName=\"Collections\"\n Icon=\"fa fa-folder-open\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJCollections')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Collections','EnvironmentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Collections')\"\n [AllowLoad]=\"IsSectionExpanded('mJCollections')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJCollections', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Projects Section -->\n <mj-collapsible-panel\n SectionKey=\"mJProjects\"\n SectionName=\"Projects\"\n Icon=\"fa fa-project-diagram\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJProjects')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Projects','EnvironmentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Projects')\"\n [AllowLoad]=\"IsSectionExpanded('mJProjects')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJProjects', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Dashboards Section -->\n <mj-collapsible-panel\n SectionKey=\"mJDashboards\"\n SectionName=\"Dashboards\"\n Icon=\"fa-solid fa-table-columns\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJDashboards')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Dashboards','EnvironmentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Dashboards')\"\n [AllowLoad]=\"IsSectionExpanded('mJDashboards')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJDashboards', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Tasks Section -->\n <mj-collapsible-panel\n SectionKey=\"mJTasks\"\n SectionName=\"Tasks\"\n Icon=\"fa fa-tasks\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJTasks')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Tasks','EnvironmentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Tasks')\"\n [AllowLoad]=\"IsSectionExpanded('mJTasks')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJTasks', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Reports Section -->\n <mj-collapsible-panel\n SectionKey=\"mJReports\"\n SectionName=\"Reports\"\n Icon=\"fa-solid fa-chart-line\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJReports')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Reports','EnvironmentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Reports')\"\n [AllowLoad]=\"IsSectionExpanded('mJReports')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJReports', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Conversations Section -->\n <mj-collapsible-panel\n SectionKey=\"mJConversations\"\n SectionName=\"Conversations\"\n Icon=\"fa-regular fa-comments\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJConversations')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Conversations','EnvironmentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Conversations')\"\n [AllowLoad]=\"IsSectionExpanded('mJConversations')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJConversations', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n</mj-record-form-container>\n "]}
|
|
@@ -12,22 +12,22 @@ import * as i1 from "@memberjunction/ng-base-forms";
|
|
|
12
12
|
function MJGeneratedCodeCategoryFormComponent_Conditional_11_Template(rf, ctx) { if (rf & 1) {
|
|
13
13
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
14
14
|
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 12);
|
|
15
|
-
i0.ɵɵlistener("Navigate", function MJGeneratedCodeCategoryFormComponent_Conditional_11_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function MJGeneratedCodeCategoryFormComponent_Conditional_11_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("
|
|
15
|
+
i0.ɵɵlistener("Navigate", function MJGeneratedCodeCategoryFormComponent_Conditional_11_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function MJGeneratedCodeCategoryFormComponent_Conditional_11_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJGeneratedCodeCategories", $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: Generated
|
|
20
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Generated Code Categories", "ParentID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Generated Code Categories"))("AllowLoad", ctx_r1.IsSectionExpanded("mJGeneratedCodeCategories"))("ShowToolbar", false);
|
|
21
21
|
} }
|
|
22
22
|
function MJGeneratedCodeCategoryFormComponent_Conditional_13_Template(rf, ctx) { if (rf & 1) {
|
|
23
23
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
24
24
|
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 12);
|
|
25
|
-
i0.ɵɵlistener("Navigate", function MJGeneratedCodeCategoryFormComponent_Conditional_13_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function MJGeneratedCodeCategoryFormComponent_Conditional_13_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("
|
|
25
|
+
i0.ɵɵlistener("Navigate", function MJGeneratedCodeCategoryFormComponent_Conditional_13_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function MJGeneratedCodeCategoryFormComponent_Conditional_13_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJGeneratedCodes", $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: Generated
|
|
30
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Generated Codes", "CategoryID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Generated Codes"))("AllowLoad", ctx_r1.IsSectionExpanded("mJGeneratedCodes"))("ShowToolbar", false);
|
|
31
31
|
} }
|
|
32
32
|
let MJGeneratedCodeCategoryFormComponent = class MJGeneratedCodeCategoryFormComponent extends BaseFormComponent {
|
|
33
33
|
async ngOnInit() {
|
|
@@ -36,12 +36,12 @@ let MJGeneratedCodeCategoryFormComponent = class MJGeneratedCodeCategoryFormComp
|
|
|
36
36
|
{ sectionKey: 'categoryInformation', sectionName: 'Category Information', isExpanded: true },
|
|
37
37
|
{ sectionKey: 'hierarchyRelationships', sectionName: 'Hierarchy Relationships', isExpanded: true },
|
|
38
38
|
{ sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },
|
|
39
|
-
{ sectionKey: '
|
|
40
|
-
{ sectionKey: '
|
|
39
|
+
{ sectionKey: 'mJGeneratedCodeCategories', sectionName: 'Generated Code Categories', isExpanded: false },
|
|
40
|
+
{ sectionKey: 'mJGeneratedCodes', sectionName: 'Generated Codes', isExpanded: false }
|
|
41
41
|
]);
|
|
42
42
|
}
|
|
43
43
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵMJGeneratedCodeCategoryFormComponent_BaseFactory; return function MJGeneratedCodeCategoryFormComponent_Factory(__ngFactoryType__) { return (ɵMJGeneratedCodeCategoryFormComponent_BaseFactory || (ɵMJGeneratedCodeCategoryFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(MJGeneratedCodeCategoryFormComponent)))(__ngFactoryType__ || MJGeneratedCodeCategoryFormComponent); }; })(); }
|
|
44
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJGeneratedCodeCategoryFormComponent, selectors: [["gen-mjgeneratedcodecategory-form"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 14, vars: 42, consts: [[3, "Navigate", "DeleteRequested", "FavoriteToggled", "HistoryRequested", "ListManagementRequested", "Record", "FormComponent"], ["SectionKey", "categoryInformation", "SectionName", "Category Information", "Icon", "fa fa-info-circle", 3, "Form", "FormContext"], ["FieldName", "Name", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Description", "Type", "textarea", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "hierarchyRelationships", "SectionName", "Hierarchy Relationships", "Icon", "fa fa-sitemap", 3, "Form", "FormContext"], ["FieldName", "ParentID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "RootParentID", "Type", "textbox", 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", "
|
|
44
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJGeneratedCodeCategoryFormComponent, selectors: [["gen-mjgeneratedcodecategory-form"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 14, vars: 42, consts: [[3, "Navigate", "DeleteRequested", "FavoriteToggled", "HistoryRequested", "ListManagementRequested", "Record", "FormComponent"], ["SectionKey", "categoryInformation", "SectionName", "Category Information", "Icon", "fa fa-info-circle", 3, "Form", "FormContext"], ["FieldName", "Name", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Description", "Type", "textarea", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "hierarchyRelationships", "SectionName", "Hierarchy Relationships", "Icon", "fa fa-sitemap", 3, "Form", "FormContext"], ["FieldName", "ParentID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "RootParentID", "Type", "textbox", 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", "mJGeneratedCodeCategories", "SectionName", "Generated Code Categories", "Icon", "fa fa-code", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJGeneratedCodes", "SectionName", "Generated Codes", "Icon", "fa fa-robot", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], [3, "Navigate", "AfterDataLoad", "Params", "NewRecordValues", "AllowLoad", "ShowToolbar"]], template: function MJGeneratedCodeCategoryFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
45
45
|
i0.ɵɵelementStart(0, "mj-record-form-container", 0);
|
|
46
46
|
i0.ɵɵlistener("Navigate", function MJGeneratedCodeCategoryFormComponent_Template_mj_record_form_container_Navigate_0_listener($event) { return ctx.OnFormNavigate($event); })("DeleteRequested", function MJGeneratedCodeCategoryFormComponent_Template_mj_record_form_container_DeleteRequested_0_listener() { return ctx.OnDeleteRequested(); })("FavoriteToggled", function MJGeneratedCodeCategoryFormComponent_Template_mj_record_form_container_FavoriteToggled_0_listener() { return ctx.OnFavoriteToggled(); })("HistoryRequested", function MJGeneratedCodeCategoryFormComponent_Template_mj_record_form_container_HistoryRequested_0_listener() { return ctx.OnHistoryRequested(); })("ListManagementRequested", function MJGeneratedCodeCategoryFormComponent_Template_mj_record_form_container_ListManagementRequested_0_listener() { return ctx.OnListManagementRequested(); });
|
|
47
47
|
i0.ɵɵelementStart(1, "mj-collapsible-panel", 1);
|
|
@@ -80,11 +80,11 @@ let MJGeneratedCodeCategoryFormComponent = class MJGeneratedCodeCategoryFormComp
|
|
|
80
80
|
i0.ɵɵadvance();
|
|
81
81
|
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
82
82
|
i0.ɵɵadvance();
|
|
83
|
-
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("
|
|
83
|
+
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJGeneratedCodeCategories"))("DefaultExpanded", false);
|
|
84
84
|
i0.ɵɵadvance();
|
|
85
85
|
i0.ɵɵconditional(ctx.record.IsSaved ? 11 : -1);
|
|
86
86
|
i0.ɵɵadvance();
|
|
87
|
-
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("
|
|
87
|
+
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJGeneratedCodes"))("DefaultExpanded", false);
|
|
88
88
|
i0.ɵɵadvance();
|
|
89
89
|
i0.ɵɵconditional(ctx.record.IsSaved ? 13 : -1);
|
|
90
90
|
} }, dependencies: [i1.MjFormFieldComponent, i1.MjCollapsiblePanelComponent, i1.MjRecordFormContainerComponent, i1.ExplorerEntityDataGridComponent], encapsulation: 2 }); }
|
|
@@ -95,7 +95,7 @@ MJGeneratedCodeCategoryFormComponent = __decorate([
|
|
|
95
95
|
export { MJGeneratedCodeCategoryFormComponent };
|
|
96
96
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MJGeneratedCodeCategoryFormComponent, [{
|
|
97
97
|
type: Component,
|
|
98
|
-
args: [{ standalone: false, selector: 'gen-mjgeneratedcodecategory-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 <!-- Category Information Section -->\n <mj-collapsible-panel\n SectionKey=\"categoryInformation\"\n SectionName=\"Category Information\"\n Icon=\"fa fa-info-circle\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Name\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Description\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Hierarchy Relationships Section -->\n <mj-collapsible-panel\n SectionKey=\"hierarchyRelationships\"\n SectionName=\"Hierarchy Relationships\"\n Icon=\"fa fa-sitemap\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ParentID\"\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=\"RootParentID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- System Metadata Section -->\n <mj-collapsible-panel\n SectionKey=\"systemMetadata\"\n SectionName=\"System Metadata\"\n Icon=\"fa fa-cog\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_CreatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_UpdatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- ========================================\n RELATED ENTITY PANELS\n ======================================== -->\n\n <!-- Generated
|
|
98
|
+
args: [{ standalone: false, selector: 'gen-mjgeneratedcodecategory-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 <!-- Category Information Section -->\n <mj-collapsible-panel\n SectionKey=\"categoryInformation\"\n SectionName=\"Category Information\"\n Icon=\"fa fa-info-circle\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Name\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Description\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Hierarchy Relationships Section -->\n <mj-collapsible-panel\n SectionKey=\"hierarchyRelationships\"\n SectionName=\"Hierarchy Relationships\"\n Icon=\"fa fa-sitemap\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ParentID\"\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=\"RootParentID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- System Metadata Section -->\n <mj-collapsible-panel\n SectionKey=\"systemMetadata\"\n SectionName=\"System Metadata\"\n Icon=\"fa fa-cog\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_CreatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_UpdatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- ========================================\n RELATED ENTITY PANELS\n ======================================== -->\n\n <!-- Generated Code Categories Section -->\n <mj-collapsible-panel\n SectionKey=\"mJGeneratedCodeCategories\"\n SectionName=\"Generated Code Categories\"\n Icon=\"fa fa-code\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJGeneratedCodeCategories')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Generated Code Categories','ParentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Generated Code Categories')\"\n [AllowLoad]=\"IsSectionExpanded('mJGeneratedCodeCategories')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJGeneratedCodeCategories', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Generated Codes Section -->\n <mj-collapsible-panel\n SectionKey=\"mJGeneratedCodes\"\n SectionName=\"Generated Codes\"\n Icon=\"fa fa-robot\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJGeneratedCodes')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Generated Codes','CategoryID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Generated Codes')\"\n [AllowLoad]=\"IsSectionExpanded('mJGeneratedCodes')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJGeneratedCodes', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n</mj-record-form-container>\n " }]
|
|
99
99
|
}], null, null); })();
|
|
100
100
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MJGeneratedCodeCategoryFormComponent, { className: "MJGeneratedCodeCategoryFormComponent", filePath: "src/lib/generated/Entities/MJGeneratedCodeCategory/mjgeneratedcodecategory.form.component.ts", lineNumber: 13 }); })();
|
|
101
101
|
//# sourceMappingURL=mjgeneratedcodecategory.form.component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mjgeneratedcodecategory.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJGeneratedCodeCategory/mjgeneratedcodecategory.form.component.ts","../../../../../src/lib/generated/Entities/MJGeneratedCodeCategory/mjgeneratedcodecategory.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;;;;;ICsGtD,AADJ,2BAAK,uCAQI;IADD,AADA,2OAAY,6BAAsB,KAAC,wOAClB,0BAAmB,
|
|
1
|
+
{"version":3,"file":"mjgeneratedcodecategory.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJGeneratedCodeCategory/mjgeneratedcodecategory.form.component.ts","../../../../../src/lib/generated/Entities/MJGeneratedCodeCategory/mjgeneratedcodecategory.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;;;;;ICsGtD,AADJ,2BAAK,uCAQI;IADD,AADA,2OAAY,6BAAsB,KAAC,wOAClB,0BAAmB,2BAA2B,uBAAuB,KAAC;IAG/F,AADI,iBAA+B,EAC7B;;;IARE,cAA8F;IAG9F,AADA,AADA,AADA,oHAA8F,4EAC1B,oEACR,sBACvC;;;;IAqBzB,AADJ,2BAAK,uCAQI;IADD,AADA,2OAAY,6BAAsB,KAAC,wOAClB,0BAAmB,kBAAkB,uBAAuB,KAAC;IAGtF,AADI,iBAA+B,EAC7B;;;IARE,cAAsF;IAGtF,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B,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAG3B,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAU/B,cAAa;YACb,AADA,0BAAa,gCACc;YAEvB,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAI3B,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAU/B,cAAa;YACb,AADA,0BAAa,gCACc;YAEvB,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAG3B,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAe/B,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,mEACmC,0BACrC;YACzB,cAYC;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,0DAC0B,0BAC5B;YACzB,cAYC;YAZD,8CAYC;;;ADhII,oCAAoC;IANhD,aAAa,CAAC,iBAAiB,EAAE,+BAA+B,CAAC,CAAC,uCAAuC;GAM7F,oCAAoC,CAahD;;iFAbY,oCAAoC;cALhD,SAAS;6BACM,KAAK,YACP,kCAAkC;;kFAGnC,oCAAoC","sourcesContent":["import { Component } from '@angular/core';\nimport { MJGeneratedCodeCategoryEntity } 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: Generated Code Categories') // Tell MemberJunction about this class\n@Component({\n standalone: false,\n selector: 'gen-mjgeneratedcodecategory-form',\n templateUrl: './mjgeneratedcodecategory.form.component.html'\n})\nexport class MJGeneratedCodeCategoryFormComponent extends BaseFormComponent {\n public record!: MJGeneratedCodeCategoryEntity;\n\n override async ngOnInit() {\n await super.ngOnInit();\n this.initSections([\n { sectionKey: 'categoryInformation', sectionName: 'Category Information', isExpanded: true },\n { sectionKey: 'hierarchyRelationships', sectionName: 'Hierarchy Relationships', isExpanded: true },\n { sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },\n { sectionKey: 'mJGeneratedCodeCategories', sectionName: 'Generated Code Categories', isExpanded: false },\n { sectionKey: 'mJGeneratedCodes', sectionName: 'Generated Codes', 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 <!-- Category Information Section -->\n <mj-collapsible-panel\n SectionKey=\"categoryInformation\"\n SectionName=\"Category Information\"\n Icon=\"fa fa-info-circle\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Name\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Description\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Hierarchy Relationships Section -->\n <mj-collapsible-panel\n SectionKey=\"hierarchyRelationships\"\n SectionName=\"Hierarchy Relationships\"\n Icon=\"fa fa-sitemap\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ParentID\"\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=\"RootParentID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- System Metadata Section -->\n <mj-collapsible-panel\n SectionKey=\"systemMetadata\"\n SectionName=\"System Metadata\"\n Icon=\"fa fa-cog\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_CreatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_UpdatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- ========================================\n RELATED ENTITY PANELS\n ======================================== -->\n\n <!-- Generated Code Categories Section -->\n <mj-collapsible-panel\n SectionKey=\"mJGeneratedCodeCategories\"\n SectionName=\"Generated Code Categories\"\n Icon=\"fa fa-code\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJGeneratedCodeCategories')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Generated Code Categories','ParentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Generated Code Categories')\"\n [AllowLoad]=\"IsSectionExpanded('mJGeneratedCodeCategories')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJGeneratedCodeCategories', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Generated Codes Section -->\n <mj-collapsible-panel\n SectionKey=\"mJGeneratedCodes\"\n SectionName=\"Generated Codes\"\n Icon=\"fa fa-robot\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJGeneratedCodes')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Generated Codes','CategoryID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Generated Codes')\"\n [AllowLoad]=\"IsSectionExpanded('mJGeneratedCodes')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJGeneratedCodes', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n</mj-record-form-container>\n "]}
|