var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
import { Component } from '@angular/core';
import { RegisterClass } from '@memberjunction/global';
import { BaseFormComponent } from '@memberjunction/ng-base-forms';
import * as i0 from "@angular/core";
import * as i1 from "@angular/common";
import * as i2 from "@memberjunction/ng-user-view-grid";
import * as i3 from "@memberjunction/ng-base-forms";
import * as i4 from "@memberjunction/ng-form-toolbar";
function EnvironmentFormComponent_div_12_Template(rf, ctx) { if (rf & 1) {
    const _r1 = i0.ɵɵgetCurrentView();
    i0.ɵɵelementStart(0, "div")(1, "mj-user-view-grid", 19);
    i0.ɵɵlistener("dataLoaded", function EnvironmentFormComponent_div_12_Template_mj_user_view_grid_dataLoaded_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJArtifacts", $event.totalRowCount)); });
    i0.ɵɵelementEnd()();
} if (rf & 2) {
    const ctx_r1 = i0.ɵɵnextContext();
    i0.ɵɵadvance();
    i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Artifacts", "EnvironmentID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Artifacts"))("AllowLoad", ctx_r1.IsSectionExpanded("mJArtifacts"))("EditMode", ctx_r1.GridEditMode());
} }
function EnvironmentFormComponent_div_14_Template(rf, ctx) { if (rf & 1) {
    const _r3 = i0.ɵɵgetCurrentView();
    i0.ɵɵelementStart(0, "div")(1, "mj-user-view-grid", 19);
    i0.ɵɵlistener("dataLoaded", function EnvironmentFormComponent_div_14_Template_mj_user_view_grid_dataLoaded_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJCollections", $event.totalRowCount)); });
    i0.ɵɵelementEnd()();
} if (rf & 2) {
    const ctx_r1 = i0.ɵɵnextContext();
    i0.ɵɵadvance();
    i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Collections", "EnvironmentID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Collections"))("AllowLoad", ctx_r1.IsSectionExpanded("mJCollections"))("EditMode", ctx_r1.GridEditMode());
} }
function EnvironmentFormComponent_div_16_Template(rf, ctx) { if (rf & 1) {
    const _r4 = i0.ɵɵgetCurrentView();
    i0.ɵɵelementStart(0, "div")(1, "mj-user-view-grid", 19);
    i0.ɵɵlistener("dataLoaded", function EnvironmentFormComponent_div_16_Template_mj_user_view_grid_dataLoaded_1_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJProjects", $event.totalRowCount)); });
    i0.ɵɵelementEnd()();
} if (rf & 2) {
    const ctx_r1 = i0.ɵɵnextContext();
    i0.ɵɵadvance();
    i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Projects", "EnvironmentID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Projects"))("AllowLoad", ctx_r1.IsSectionExpanded("mJProjects"))("EditMode", ctx_r1.GridEditMode());
} }
function EnvironmentFormComponent_div_18_Template(rf, ctx) { if (rf & 1) {
    const _r5 = i0.ɵɵgetCurrentView();
    i0.ɵɵelementStart(0, "div")(1, "mj-user-view-grid", 19);
    i0.ɵɵlistener("dataLoaded", function EnvironmentFormComponent_div_18_Template_mj_user_view_grid_dataLoaded_1_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("dashboards", $event.totalRowCount)); });
    i0.ɵɵelementEnd()();
} if (rf & 2) {
    const ctx_r1 = i0.ɵɵnextContext();
    i0.ɵɵadvance();
    i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("Dashboards", "EnvironmentID"))("NewRecordValues", ctx_r1.NewRecordValues("Dashboards"))("AllowLoad", ctx_r1.IsSectionExpanded("dashboards"))("EditMode", ctx_r1.GridEditMode());
} }
function EnvironmentFormComponent_div_20_Template(rf, ctx) { if (rf & 1) {
    const _r6 = i0.ɵɵgetCurrentView();
    i0.ɵɵelementStart(0, "div")(1, "mj-user-view-grid", 19);
    i0.ɵɵlistener("dataLoaded", function EnvironmentFormComponent_div_20_Template_mj_user_view_grid_dataLoaded_1_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJTasks", $event.totalRowCount)); });
    i0.ɵɵelementEnd()();
} if (rf & 2) {
    const ctx_r1 = i0.ɵɵnextContext();
    i0.ɵɵadvance();
    i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Tasks", "EnvironmentID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Tasks"))("AllowLoad", ctx_r1.IsSectionExpanded("mJTasks"))("EditMode", ctx_r1.GridEditMode());
} }
function EnvironmentFormComponent_div_22_Template(rf, ctx) { if (rf & 1) {
    const _r7 = i0.ɵɵgetCurrentView();
    i0.ɵɵelementStart(0, "div")(1, "mj-user-view-grid", 19);
    i0.ɵɵlistener("dataLoaded", function EnvironmentFormComponent_div_22_Template_mj_user_view_grid_dataLoaded_1_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("reports", $event.totalRowCount)); });
    i0.ɵɵelementEnd()();
} if (rf & 2) {
    const ctx_r1 = i0.ɵɵnextContext();
    i0.ɵɵadvance();
    i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("Reports", "EnvironmentID"))("NewRecordValues", ctx_r1.NewRecordValues("Reports"))("AllowLoad", ctx_r1.IsSectionExpanded("reports"))("EditMode", ctx_r1.GridEditMode());
} }
function EnvironmentFormComponent_div_24_Template(rf, ctx) { if (rf & 1) {
    const _r8 = i0.ɵɵgetCurrentView();
    i0.ɵɵelementStart(0, "div")(1, "mj-user-view-grid", 19);
    i0.ɵɵlistener("dataLoaded", function EnvironmentFormComponent_div_24_Template_mj_user_view_grid_dataLoaded_1_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("conversations", $event.totalRowCount)); });
    i0.ɵɵelementEnd()();
} if (rf & 2) {
    const ctx_r1 = i0.ɵɵnextContext();
    i0.ɵɵadvance();
    i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("Conversations", "EnvironmentID"))("NewRecordValues", ctx_r1.NewRecordValues("Conversations"))("AllowLoad", ctx_r1.IsSectionExpanded("conversations"))("EditMode", ctx_r1.GridEditMode());
} }
let EnvironmentFormComponent = class EnvironmentFormComponent extends BaseFormComponent {
    async ngOnInit() {
        await super.ngOnInit();
        this.initSections([
            { sectionKey: 'technicalMetadata', sectionName: 'Technical Metadata', isExpanded: false },
            { sectionKey: 'environmentDefinition', sectionName: 'Environment Definition', isExpanded: true },
            { sectionKey: 'environmentSettings', sectionName: 'Environment Settings', isExpanded: false },
            { sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },
            { sectionKey: 'mJArtifacts', sectionName: 'MJ: Artifacts', isExpanded: false },
            { sectionKey: 'mJCollections', sectionName: 'MJ: Collections', isExpanded: false },
            { sectionKey: 'mJProjects', sectionName: 'MJ: Projects', isExpanded: false },
            { sectionKey: 'dashboards', sectionName: 'Dashboards', isExpanded: false },
            { sectionKey: 'mJTasks', sectionName: 'MJ: Tasks', isExpanded: false },
            { sectionKey: 'reports', sectionName: 'Reports', isExpanded: false },
            { sectionKey: 'conversations', sectionName: 'Conversations', isExpanded: false }
        ]);
    }
    static { this.ɵfac = /*@__PURE__*/ (() => { let ɵEnvironmentFormComponent_BaseFactory; return function EnvironmentFormComponent_Factory(t) { return (ɵEnvironmentFormComponent_BaseFactory || (ɵEnvironmentFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(EnvironmentFormComponent)))(t || EnvironmentFormComponent); }; })(); }
    static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: EnvironmentFormComponent, selectors: [["gen-environment-form"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 25, vars: 62, consts: [[3, "record", "formComponent"], ["slot", "field-panels", "sectionKey", "technicalMetadata", "sectionName", "Technical Metadata", "icon", "fa fa-cog", 3, "form", "formContext"], ["slot", "field-panels", "sectionKey", "environmentDefinition", "sectionName", "Environment Definition", "icon", "fa fa-cubes", 3, "form", "formContext"], ["FieldName", "Name", "Type", "textarea", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "Description", "Type", "textarea", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "IsDefault", "Type", "checkbox", 3, "record", "ShowLabel", "EditMode", "formContext"], ["slot", "field-panels", "sectionKey", "environmentSettings", "sectionName", "Environment Settings", "icon", "fa fa-sliders-h", 3, "form", "formContext"], ["FieldName", "Settings", "Type", "textarea", 3, "record", "ShowLabel", "EditMode", "formContext"], ["slot", "field-panels", "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"], ["slot", "after-panels", "sectionKey", "mJArtifacts", "sectionName", "MJ: Artifacts", "icon", "fa fa-file", "variant", "related-entity", 3, "form", "formContext", "badgeCount"], [4, "ngIf"], ["slot", "after-panels", "sectionKey", "mJCollections", "sectionName", "MJ: Collections", "icon", "fa fa-folder-open", "variant", "related-entity", 3, "form", "formContext", "badgeCount"], ["slot", "after-panels", "sectionKey", "mJProjects", "sectionName", "MJ: Projects", "icon", "fa fa-project-diagram", "variant", "related-entity", 3, "form", "formContext", "badgeCount"], ["slot", "after-panels", "sectionKey", "dashboards", "sectionName", "Dashboards", "icon", "fa-solid fa-table-columns", "variant", "related-entity", 3, "form", "formContext", "badgeCount"], ["slot", "after-panels", "sectionKey", "mJTasks", "sectionName", "MJ: Tasks", "icon", "fa fa-tasks", "variant", "related-entity", 3, "form", "formContext", "badgeCount"], ["slot", "after-panels", "sectionKey", "reports", "sectionName", "Reports", "icon", "fa-solid fa-chart-line", "variant", "related-entity", 3, "form", "formContext", "badgeCount"], ["slot", "after-panels", "sectionKey", "conversations", "sectionName", "Conversations", "icon", "fa-regular fa-comments", "variant", "related-entity", 3, "form", "formContext", "badgeCount"], [3, "dataLoaded", "Params", "NewRecordValues", "AllowLoad", "EditMode"]], template: function EnvironmentFormComponent_Template(rf, ctx) { if (rf & 1) {
            i0.ɵɵelementStart(0, "mj-record-form-container", 0);
            i0.ɵɵelement(1, "mj-collapsible-panel", 1);
            i0.ɵɵelementStart(2, "mj-collapsible-panel", 2);
            i0.ɵɵelement(3, "mj-form-field", 3)(4, "mj-form-field", 4)(5, "mj-form-field", 5);
            i0.ɵɵelementEnd();
            i0.ɵɵelementStart(6, "mj-collapsible-panel", 6);
            i0.ɵɵelement(7, "mj-form-field", 7);
            i0.ɵɵelementEnd();
            i0.ɵɵelementStart(8, "mj-collapsible-panel", 8);
            i0.ɵɵelement(9, "mj-form-field", 9)(10, "mj-form-field", 10);
            i0.ɵɵelementEnd();
            i0.ɵɵelementStart(11, "mj-collapsible-panel", 11);
            i0.ɵɵtemplate(12, EnvironmentFormComponent_div_12_Template, 2, 4, "div", 12);
            i0.ɵɵelementEnd();
            i0.ɵɵelementStart(13, "mj-collapsible-panel", 13);
            i0.ɵɵtemplate(14, EnvironmentFormComponent_div_14_Template, 2, 4, "div", 12);
            i0.ɵɵelementEnd();
            i0.ɵɵelementStart(15, "mj-collapsible-panel", 14);
            i0.ɵɵtemplate(16, EnvironmentFormComponent_div_16_Template, 2, 4, "div", 12);
            i0.ɵɵelementEnd();
            i0.ɵɵelementStart(17, "mj-collapsible-panel", 15);
            i0.ɵɵtemplate(18, EnvironmentFormComponent_div_18_Template, 2, 4, "div", 12);
            i0.ɵɵelementEnd();
            i0.ɵɵelementStart(19, "mj-collapsible-panel", 16);
            i0.ɵɵtemplate(20, EnvironmentFormComponent_div_20_Template, 2, 4, "div", 12);
            i0.ɵɵelementEnd();
            i0.ɵɵelementStart(21, "mj-collapsible-panel", 17);
            i0.ɵɵtemplate(22, EnvironmentFormComponent_div_22_Template, 2, 4, "div", 12);
            i0.ɵɵelementEnd();
            i0.ɵɵelementStart(23, "mj-collapsible-panel", 18);
            i0.ɵɵtemplate(24, EnvironmentFormComponent_div_24_Template, 2, 4, "div", 12);
            i0.ɵɵelementEnd()();
        } if (rf & 2) {
            i0.ɵɵproperty("record", ctx.record)("formComponent", ctx);
            i0.ɵɵadvance();
            i0.ɵɵproperty("form", ctx)("formContext", ctx.formContext);
            i0.ɵɵadvance();
            i0.ɵɵproperty("form", ctx)("formContext", ctx.formContext);
            i0.ɵɵadvance();
            i0.ɵɵproperty("record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("formContext", ctx.formContext);
            i0.ɵɵadvance();
            i0.ɵɵproperty("record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("formContext", ctx.formContext);
            i0.ɵɵadvance();
            i0.ɵɵproperty("record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("formContext", ctx.formContext);
            i0.ɵɵadvance();
            i0.ɵɵproperty("form", ctx)("formContext", ctx.formContext);
            i0.ɵɵadvance();
            i0.ɵɵproperty("record", ctx.record)("ShowLabel", false)("EditMode", ctx.EditMode)("formContext", ctx.formContext);
            i0.ɵɵadvance();
            i0.ɵɵproperty("form", ctx)("formContext", ctx.formContext);
            i0.ɵɵadvance();
            i0.ɵɵproperty("record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("formContext", ctx.formContext);
            i0.ɵɵadvance();
            i0.ɵɵproperty("record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("formContext", ctx.formContext);
            i0.ɵɵadvance();
            i0.ɵɵproperty("form", ctx)("formContext", ctx.formContext)("badgeCount", ctx.GetSectionRowCount("mJArtifacts"));
            i0.ɵɵadvance();
            i0.ɵɵproperty("ngIf", ctx.record.IsSaved);
            i0.ɵɵadvance();
            i0.ɵɵproperty("form", ctx)("formContext", ctx.formContext)("badgeCount", ctx.GetSectionRowCount("mJCollections"));
            i0.ɵɵadvance();
            i0.ɵɵproperty("ngIf", ctx.record.IsSaved);
            i0.ɵɵadvance();
            i0.ɵɵproperty("form", ctx)("formContext", ctx.formContext)("badgeCount", ctx.GetSectionRowCount("mJProjects"));
            i0.ɵɵadvance();
            i0.ɵɵproperty("ngIf", ctx.record.IsSaved);
            i0.ɵɵadvance();
            i0.ɵɵproperty("form", ctx)("formContext", ctx.formContext)("badgeCount", ctx.GetSectionRowCount("dashboards"));
            i0.ɵɵadvance();
            i0.ɵɵproperty("ngIf", ctx.record.IsSaved);
            i0.ɵɵadvance();
            i0.ɵɵproperty("form", ctx)("formContext", ctx.formContext)("badgeCount", ctx.GetSectionRowCount("mJTasks"));
            i0.ɵɵadvance();
            i0.ɵɵproperty("ngIf", ctx.record.IsSaved);
            i0.ɵɵadvance();
            i0.ɵɵproperty("form", ctx)("formContext", ctx.formContext)("badgeCount", ctx.GetSectionRowCount("reports"));
            i0.ɵɵadvance();
            i0.ɵɵproperty("ngIf", ctx.record.IsSaved);
            i0.ɵɵadvance();
            i0.ɵɵproperty("form", ctx)("formContext", ctx.formContext)("badgeCount", ctx.GetSectionRowCount("conversations"));
            i0.ɵɵadvance();
            i0.ɵɵproperty("ngIf", ctx.record.IsSaved);
        } }, dependencies: [i1.NgIf, i2.UserViewGridComponent, i3.MJFormField, i3.CollapsiblePanelComponent, i4.RecordFormContainerComponent], encapsulation: 2 }); }
};
EnvironmentFormComponent = __decorate([
    RegisterClass(BaseFormComponent, 'MJ: Environments') // Tell MemberJunction about this class
], EnvironmentFormComponent);
export { EnvironmentFormComponent };
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EnvironmentFormComponent, [{
        type: Component,
        args: [{ selector: 'gen-environment-form', template: "<mj-record-form-container [record]=\"record\" [formComponent]=\"this\">\n\n    <!-- ========================================\n         FIELD PANELS\n         ======================================== -->\n    <!-- Technical Metadata Section -->\n    <mj-collapsible-panel slot=\"field-panels\"\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 slot=\"field-panels\"\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=\"textarea\"\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 slot=\"field-panels\"\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 slot=\"field-panels\"\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         RELATED ENTITY PANELS - AFTER\n         ======================================== -->\n\n    <!-- MJ: Artifacts Section -->\n    <mj-collapsible-panel slot=\"after-panels\"\n        sectionKey=\"mJArtifacts\"\n        sectionName=\"MJ: Artifacts\"\n        icon=\"fa fa-file\"\n        variant=\"related-entity\"\n        [form]=\"this\"\n        [formContext]=\"formContext\"\n        [badgeCount]=\"GetSectionRowCount('mJArtifacts')\">\n        <div *ngIf=\"record.IsSaved\">\n            <mj-user-view-grid\n                [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Artifacts','EnvironmentID')\"\n                [NewRecordValues]=\"NewRecordValues('MJ: Artifacts')\"\n                [AllowLoad]=\"IsSectionExpanded('mJArtifacts')\"\n                [EditMode]=\"GridEditMode()\"\n                (dataLoaded)=\"SetSectionRowCount('mJArtifacts', $event.totalRowCount)\"\n                >\n            </mj-user-view-grid>\n        </div>\n    </mj-collapsible-panel>\n\n    <!-- MJ: Collections Section -->\n    <mj-collapsible-panel slot=\"after-panels\"\n        sectionKey=\"mJCollections\"\n        sectionName=\"MJ: Collections\"\n        icon=\"fa fa-folder-open\"\n        variant=\"related-entity\"\n        [form]=\"this\"\n        [formContext]=\"formContext\"\n        [badgeCount]=\"GetSectionRowCount('mJCollections')\">\n        <div *ngIf=\"record.IsSaved\">\n            <mj-user-view-grid\n                [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Collections','EnvironmentID')\"\n                [NewRecordValues]=\"NewRecordValues('MJ: Collections')\"\n                [AllowLoad]=\"IsSectionExpanded('mJCollections')\"\n                [EditMode]=\"GridEditMode()\"\n                (dataLoaded)=\"SetSectionRowCount('mJCollections', $event.totalRowCount)\"\n                >\n            </mj-user-view-grid>\n        </div>\n    </mj-collapsible-panel>\n\n    <!-- MJ: Projects Section -->\n    <mj-collapsible-panel slot=\"after-panels\"\n        sectionKey=\"mJProjects\"\n        sectionName=\"MJ: Projects\"\n        icon=\"fa fa-project-diagram\"\n        variant=\"related-entity\"\n        [form]=\"this\"\n        [formContext]=\"formContext\"\n        [badgeCount]=\"GetSectionRowCount('mJProjects')\">\n        <div *ngIf=\"record.IsSaved\">\n            <mj-user-view-grid\n                [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Projects','EnvironmentID')\"\n                [NewRecordValues]=\"NewRecordValues('MJ: Projects')\"\n                [AllowLoad]=\"IsSectionExpanded('mJProjects')\"\n                [EditMode]=\"GridEditMode()\"\n                (dataLoaded)=\"SetSectionRowCount('mJProjects', $event.totalRowCount)\"\n                >\n            </mj-user-view-grid>\n        </div>\n    </mj-collapsible-panel>\n\n    <!-- Dashboards Section -->\n    <mj-collapsible-panel slot=\"after-panels\"\n        sectionKey=\"dashboards\"\n        sectionName=\"Dashboards\"\n        icon=\"fa-solid fa-table-columns\"\n        variant=\"related-entity\"\n        [form]=\"this\"\n        [formContext]=\"formContext\"\n        [badgeCount]=\"GetSectionRowCount('dashboards')\">\n        <div *ngIf=\"record.IsSaved\">\n            <mj-user-view-grid\n                [Params]=\"BuildRelationshipViewParamsByEntityName('Dashboards','EnvironmentID')\"\n                [NewRecordValues]=\"NewRecordValues('Dashboards')\"\n                [AllowLoad]=\"IsSectionExpanded('dashboards')\"\n                [EditMode]=\"GridEditMode()\"\n                (dataLoaded)=\"SetSectionRowCount('dashboards', $event.totalRowCount)\"\n                >\n            </mj-user-view-grid>\n        </div>\n    </mj-collapsible-panel>\n\n    <!-- MJ: Tasks Section -->\n    <mj-collapsible-panel slot=\"after-panels\"\n        sectionKey=\"mJTasks\"\n        sectionName=\"MJ: Tasks\"\n        icon=\"fa fa-tasks\"\n        variant=\"related-entity\"\n        [form]=\"this\"\n        [formContext]=\"formContext\"\n        [badgeCount]=\"GetSectionRowCount('mJTasks')\">\n        <div *ngIf=\"record.IsSaved\">\n            <mj-user-view-grid\n                [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Tasks','EnvironmentID')\"\n                [NewRecordValues]=\"NewRecordValues('MJ: Tasks')\"\n                [AllowLoad]=\"IsSectionExpanded('mJTasks')\"\n                [EditMode]=\"GridEditMode()\"\n                (dataLoaded)=\"SetSectionRowCount('mJTasks', $event.totalRowCount)\"\n                >\n            </mj-user-view-grid>\n        </div>\n    </mj-collapsible-panel>\n\n    <!-- Reports Section -->\n    <mj-collapsible-panel slot=\"after-panels\"\n        sectionKey=\"reports\"\n        sectionName=\"Reports\"\n        icon=\"fa-solid fa-chart-line\"\n        variant=\"related-entity\"\n        [form]=\"this\"\n        [formContext]=\"formContext\"\n        [badgeCount]=\"GetSectionRowCount('reports')\">\n        <div *ngIf=\"record.IsSaved\">\n            <mj-user-view-grid\n                [Params]=\"BuildRelationshipViewParamsByEntityName('Reports','EnvironmentID')\"\n                [NewRecordValues]=\"NewRecordValues('Reports')\"\n                [AllowLoad]=\"IsSectionExpanded('reports')\"\n                [EditMode]=\"GridEditMode()\"\n                (dataLoaded)=\"SetSectionRowCount('reports', $event.totalRowCount)\"\n                >\n            </mj-user-view-grid>\n        </div>\n    </mj-collapsible-panel>\n\n    <!-- Conversations Section -->\n    <mj-collapsible-panel slot=\"after-panels\"\n        sectionKey=\"conversations\"\n        sectionName=\"Conversations\"\n        icon=\"fa-regular fa-comments\"\n        variant=\"related-entity\"\n        [form]=\"this\"\n        [formContext]=\"formContext\"\n        [badgeCount]=\"GetSectionRowCount('conversations')\">\n        <div *ngIf=\"record.IsSaved\">\n            <mj-user-view-grid\n                [Params]=\"BuildRelationshipViewParamsByEntityName('Conversations','EnvironmentID')\"\n                [NewRecordValues]=\"NewRecordValues('Conversations')\"\n                [AllowLoad]=\"IsSectionExpanded('conversations')\"\n                [EditMode]=\"GridEditMode()\"\n                (dataLoaded)=\"SetSectionRowCount('conversations', $event.totalRowCount)\"\n                >\n            </mj-user-view-grid>\n        </div>\n    </mj-collapsible-panel>\n</mj-record-form-container>\n        " }]
    }], null, null); })();
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(EnvironmentFormComponent, { className: "EnvironmentFormComponent", filePath: "src/lib/generated/Entities/Environment/environment.form.component.ts", lineNumber: 12 }); })();
export function LoadEnvironmentFormComponent() {
    // does nothing, but called to prevent tree-shaking from eliminating this component from the build
}
//# sourceMappingURL=environment.form.component.js.map