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 ApplicationFormComponent_div_23_Template(rf, ctx) { if (rf & 1) {
    const _r1 = i0.ɵɵgetCurrentView();
    i0.ɵɵelementStart(0, "div")(1, "mj-user-view-grid", 28);
    i0.ɵɵlistener("dataLoaded", function ApplicationFormComponent_div_23_Template_mj_user_view_grid_dataLoaded_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("entities", $event.totalRowCount)); });
    i0.ɵɵelementEnd()();
} if (rf & 2) {
    const ctx_r1 = i0.ɵɵnextContext();
    i0.ɵɵadvance();
    i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("Application Entities", "ApplicationID"))("NewRecordValues", ctx_r1.NewRecordValues("Application Entities"))("AllowLoad", ctx_r1.IsSectionExpanded("entities"))("EditMode", ctx_r1.GridEditMode());
} }
function ApplicationFormComponent_div_25_Template(rf, ctx) { if (rf & 1) {
    const _r3 = i0.ɵɵgetCurrentView();
    i0.ɵɵelementStart(0, "div")(1, "mj-user-view-grid", 28);
    i0.ɵɵlistener("dataLoaded", function ApplicationFormComponent_div_25_Template_mj_user_view_grid_dataLoaded_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("applicationSettings", $event.totalRowCount)); });
    i0.ɵɵelementEnd()();
} if (rf & 2) {
    const ctx_r1 = i0.ɵɵnextContext();
    i0.ɵɵadvance();
    i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("Application Settings", "ApplicationID"))("NewRecordValues", ctx_r1.NewRecordValues("Application Settings"))("AllowLoad", ctx_r1.IsSectionExpanded("applicationSettings"))("EditMode", ctx_r1.GridEditMode());
} }
function ApplicationFormComponent_div_27_Template(rf, ctx) { if (rf & 1) {
    const _r4 = i0.ɵɵgetCurrentView();
    i0.ɵɵelementStart(0, "div")(1, "mj-user-view-grid", 28);
    i0.ɵɵlistener("dataLoaded", function ApplicationFormComponent_div_27_Template_mj_user_view_grid_dataLoaded_1_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("userApplications", $event.totalRowCount)); });
    i0.ɵɵelementEnd()();
} if (rf & 2) {
    const ctx_r1 = i0.ɵɵnextContext();
    i0.ɵɵadvance();
    i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("User Applications", "ApplicationID"))("NewRecordValues", ctx_r1.NewRecordValues("User Applications"))("AllowLoad", ctx_r1.IsSectionExpanded("userApplications"))("EditMode", ctx_r1.GridEditMode());
} }
function ApplicationFormComponent_div_29_Template(rf, ctx) { if (rf & 1) {
    const _r5 = i0.ɵɵgetCurrentView();
    i0.ɵɵelementStart(0, "div")(1, "mj-user-view-grid", 28);
    i0.ɵɵlistener("dataLoaded", function ApplicationFormComponent_div_29_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", "ApplicationID"))("NewRecordValues", ctx_r1.NewRecordValues("Dashboards"))("AllowLoad", ctx_r1.IsSectionExpanded("dashboards"))("EditMode", ctx_r1.GridEditMode());
} }
function ApplicationFormComponent_div_31_Template(rf, ctx) { if (rf & 1) {
    const _r6 = i0.ɵɵgetCurrentView();
    i0.ɵɵelementStart(0, "div")(1, "mj-user-view-grid", 28);
    i0.ɵɵlistener("dataLoaded", function ApplicationFormComponent_div_31_Template_mj_user_view_grid_dataLoaded_1_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJDashboardUserPreferences", $event.totalRowCount)); });
    i0.ɵɵelementEnd()();
} if (rf & 2) {
    const ctx_r1 = i0.ɵɵnextContext();
    i0.ɵɵadvance();
    i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Dashboard User Preferences", "ApplicationID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Dashboard User Preferences"))("AllowLoad", ctx_r1.IsSectionExpanded("mJDashboardUserPreferences"))("EditMode", ctx_r1.GridEditMode());
} }
let ApplicationFormComponent = class ApplicationFormComponent extends BaseFormComponent {
    async ngOnInit() {
        await super.ngOnInit();
        this.initSections([
            { sectionKey: 'applicationConfiguration', sectionName: 'Application Configuration', isExpanded: true },
            { sectionKey: 'generalInformation', sectionName: 'General Information', isExpanded: true },
            { sectionKey: 'navigationSettings', sectionName: 'Navigation Settings', isExpanded: false },
            { sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },
            { sectionKey: 'entities', sectionName: 'Entities', isExpanded: false },
            { sectionKey: 'applicationSettings', sectionName: 'Application Settings', isExpanded: false },
            { sectionKey: 'userApplications', sectionName: 'User Applications', isExpanded: false },
            { sectionKey: 'dashboards', sectionName: 'Dashboards', isExpanded: false },
            { sectionKey: 'mJDashboardUserPreferences', sectionName: 'MJ: Dashboard User Preferences', isExpanded: false }
        ]);
    }
    static { this.ɵfac = /*@__PURE__*/ (() => { let ɵApplicationFormComponent_BaseFactory; return function ApplicationFormComponent_Factory(t) { return (ɵApplicationFormComponent_BaseFactory || (ɵApplicationFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ApplicationFormComponent)))(t || ApplicationFormComponent); }; })(); }
    static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ApplicationFormComponent, selectors: [["gen-application-form"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 32, vars: 98, consts: [[3, "record", "formComponent"], ["slot", "field-panels", "sectionKey", "applicationConfiguration", "sectionName", "Application Configuration", "icon", "fa fa-cog", 3, "form", "formContext"], ["FieldName", "DefaultForNewUser", "Type", "checkbox", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "SchemaAutoAddNewEntities", "Type", "textarea", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "ClassName", "Type", "textarea", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "DefaultSequence", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "Status", "Type", "dropdownlist", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "Path", "Type", "textbox", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "AutoUpdatePath", "Type", "checkbox", 3, "record", "ShowLabel", "EditMode", "formContext"], ["slot", "field-panels", "sectionKey", "generalInformation", "sectionName", "General 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"], ["FieldName", "Icon", "Type", "textarea", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "Color", "Type", "textbox", 3, "record", "ShowLabel", "EditMode", "formContext"], ["slot", "field-panels", "sectionKey", "navigationSettings", "sectionName", "Navigation Settings", "icon", "fa fa-sliders-h", 3, "form", "formContext"], ["FieldName", "DefaultNavItems", "Type", "textarea", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "NavigationStyle", "Type", "dropdownlist", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "TopNavLocation", "Type", "dropdownlist", 3, "record", "ShowLabel", "EditMode", "formContext"], ["FieldName", "HideNavBarIconWhenActive", "Type", "checkbox", 3, "record", "ShowLabel", "EditMode", "formContext"], ["slot", "field-panels", "sectionKey", "systemMetadata", "sectionName", "System Metadata", "icon", "fa fa-database", 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", "entities", "sectionName", "Entities", "icon", "fa fa-cubes", "variant", "related-entity", 3, "form", "formContext", "badgeCount"], [4, "ngIf"], ["slot", "after-panels", "sectionKey", "applicationSettings", "sectionName", "Application Settings", "icon", "fa fa-sliders-h", "variant", "related-entity", 3, "form", "formContext", "badgeCount"], ["slot", "after-panels", "sectionKey", "userApplications", "sectionName", "User Applications", "icon", "fa fa-th", "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", "mJDashboardUserPreferences", "sectionName", "MJ: Dashboard User Preferences", "icon", "fa fa-tachometer-alt", "variant", "related-entity", 3, "form", "formContext", "badgeCount"], [3, "dataLoaded", "Params", "NewRecordValues", "AllowLoad", "EditMode"]], template: function ApplicationFormComponent_Template(rf, ctx) { if (rf & 1) {
            i0.ɵɵelementStart(0, "mj-record-form-container", 0)(1, "mj-collapsible-panel", 1);
            i0.ɵɵelement(2, "mj-form-field", 2)(3, "mj-form-field", 3)(4, "mj-form-field", 4)(5, "mj-form-field", 5)(6, "mj-form-field", 6)(7, "mj-form-field", 7)(8, "mj-form-field", 8);
            i0.ɵɵelementEnd();
            i0.ɵɵelementStart(9, "mj-collapsible-panel", 9);
            i0.ɵɵelement(10, "mj-form-field", 10)(11, "mj-form-field", 11)(12, "mj-form-field", 12)(13, "mj-form-field", 13);
            i0.ɵɵelementEnd();
            i0.ɵɵelementStart(14, "mj-collapsible-panel", 14);
            i0.ɵɵelement(15, "mj-form-field", 15)(16, "mj-form-field", 16)(17, "mj-form-field", 17)(18, "mj-form-field", 18);
            i0.ɵɵelementEnd();
            i0.ɵɵelementStart(19, "mj-collapsible-panel", 19);
            i0.ɵɵelement(20, "mj-form-field", 20)(21, "mj-form-field", 21);
            i0.ɵɵelementEnd();
            i0.ɵɵelementStart(22, "mj-collapsible-panel", 22);
            i0.ɵɵtemplate(23, ApplicationFormComponent_div_23_Template, 2, 4, "div", 23);
            i0.ɵɵelementEnd();
            i0.ɵɵelementStart(24, "mj-collapsible-panel", 24);
            i0.ɵɵtemplate(25, ApplicationFormComponent_div_25_Template, 2, 4, "div", 23);
            i0.ɵɵelementEnd();
            i0.ɵɵelementStart(26, "mj-collapsible-panel", 25);
            i0.ɵɵtemplate(27, ApplicationFormComponent_div_27_Template, 2, 4, "div", 23);
            i0.ɵɵelementEnd();
            i0.ɵɵelementStart(28, "mj-collapsible-panel", 26);
            i0.ɵɵtemplate(29, ApplicationFormComponent_div_29_Template, 2, 4, "div", 23);
            i0.ɵɵelementEnd();
            i0.ɵɵelementStart(30, "mj-collapsible-panel", 27);
            i0.ɵɵtemplate(31, ApplicationFormComponent_div_31_Template, 2, 4, "div", 23);
            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("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("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("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", 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("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", 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("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", 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("entities"));
            i0.ɵɵadvance();
            i0.ɵɵproperty("ngIf", ctx.record.IsSaved);
            i0.ɵɵadvance();
            i0.ɵɵproperty("form", ctx)("formContext", ctx.formContext)("badgeCount", ctx.GetSectionRowCount("applicationSettings"));
            i0.ɵɵadvance();
            i0.ɵɵproperty("ngIf", ctx.record.IsSaved);
            i0.ɵɵadvance();
            i0.ɵɵproperty("form", ctx)("formContext", ctx.formContext)("badgeCount", ctx.GetSectionRowCount("userApplications"));
            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("mJDashboardUserPreferences"));
            i0.ɵɵadvance();
            i0.ɵɵproperty("ngIf", ctx.record.IsSaved);
        } }, dependencies: [i1.NgIf, i2.UserViewGridComponent, i3.MJFormField, i3.CollapsiblePanelComponent, i4.RecordFormContainerComponent], encapsulation: 2 }); }
};
ApplicationFormComponent = __decorate([
    RegisterClass(BaseFormComponent, 'Applications') // Tell MemberJunction about this class
], ApplicationFormComponent);
export { ApplicationFormComponent };
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ApplicationFormComponent, [{
        type: Component,
        args: [{ selector: 'gen-application-form', template: "<mj-record-form-container [record]=\"record\" [formComponent]=\"this\">\n\n    <!-- ========================================\n         FIELD PANELS\n         ======================================== -->\n    <!-- Application Configuration Section -->\n    <mj-collapsible-panel slot=\"field-panels\"\n        sectionKey=\"applicationConfiguration\"\n        sectionName=\"Application Configuration\"\n        icon=\"fa fa-cog\"\n        [form]=\"this\"\n        [formContext]=\"formContext\">\n        <mj-form-field \n            [record]=\"record\"\n            [ShowLabel]=\"true\"\n            FieldName=\"DefaultForNewUser\"\n            Type=\"checkbox\"\n            [EditMode]=\"EditMode\"\n            [formContext]=\"formContext\"\n        ></mj-form-field>\n        <mj-form-field \n            [record]=\"record\"\n            [ShowLabel]=\"true\"\n            FieldName=\"SchemaAutoAddNewEntities\"\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=\"ClassName\"\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=\"DefaultSequence\"\n            Type=\"numerictextbox\"\n            [EditMode]=\"EditMode\"\n            [formContext]=\"formContext\"\n        ></mj-form-field>\n        <mj-form-field \n            [record]=\"record\"\n            [ShowLabel]=\"true\"\n            FieldName=\"Status\"\n            Type=\"dropdownlist\"\n            [EditMode]=\"EditMode\"\n            [formContext]=\"formContext\"\n        ></mj-form-field>\n        <mj-form-field \n            [record]=\"record\"\n            [ShowLabel]=\"true\"\n            FieldName=\"Path\"\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=\"AutoUpdatePath\"\n            Type=\"checkbox\"\n            [EditMode]=\"EditMode\"\n            [formContext]=\"formContext\"\n        ></mj-form-field>\n\n    </mj-collapsible-panel>\n\n    <!-- General Information Section -->\n    <mj-collapsible-panel slot=\"field-panels\"\n        sectionKey=\"generalInformation\"\n        sectionName=\"General 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        <mj-form-field \n            [record]=\"record\"\n            [ShowLabel]=\"true\"\n            FieldName=\"Icon\"\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=\"Color\"\n            Type=\"textbox\"\n            [EditMode]=\"EditMode\"\n            [formContext]=\"formContext\"\n        ></mj-form-field>\n\n    </mj-collapsible-panel>\n\n    <!-- Navigation Settings Section -->\n    <mj-collapsible-panel slot=\"field-panels\"\n        sectionKey=\"navigationSettings\"\n        sectionName=\"Navigation Settings\"\n        icon=\"fa fa-sliders-h\"\n        [form]=\"this\"\n        [formContext]=\"formContext\">\n        <mj-form-field \n            [record]=\"record\"\n            [ShowLabel]=\"true\"\n            FieldName=\"DefaultNavItems\"\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=\"NavigationStyle\"\n            Type=\"dropdownlist\"\n            [EditMode]=\"EditMode\"\n            [formContext]=\"formContext\"\n        ></mj-form-field>\n        <mj-form-field \n            [record]=\"record\"\n            [ShowLabel]=\"true\"\n            FieldName=\"TopNavLocation\"\n            Type=\"dropdownlist\"\n            [EditMode]=\"EditMode\"\n            [formContext]=\"formContext\"\n        ></mj-form-field>\n        <mj-form-field \n            [record]=\"record\"\n            [ShowLabel]=\"true\"\n            FieldName=\"HideNavBarIconWhenActive\"\n            Type=\"checkbox\"\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-database\"\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    <!-- Entities Section -->\n    <mj-collapsible-panel slot=\"after-panels\"\n        sectionKey=\"entities\"\n        sectionName=\"Entities\"\n        icon=\"fa fa-cubes\"\n        variant=\"related-entity\"\n        [form]=\"this\"\n        [formContext]=\"formContext\"\n        [badgeCount]=\"GetSectionRowCount('entities')\">\n        <div *ngIf=\"record.IsSaved\">\n            <mj-user-view-grid\n                [Params]=\"BuildRelationshipViewParamsByEntityName('Application Entities','ApplicationID')\"\n                [NewRecordValues]=\"NewRecordValues('Application Entities')\"\n                [AllowLoad]=\"IsSectionExpanded('entities')\"\n                [EditMode]=\"GridEditMode()\"\n                (dataLoaded)=\"SetSectionRowCount('entities', $event.totalRowCount)\"\n                >\n            </mj-user-view-grid>\n        </div>\n    </mj-collapsible-panel>\n\n    <!-- Application Settings Section -->\n    <mj-collapsible-panel slot=\"after-panels\"\n        sectionKey=\"applicationSettings\"\n        sectionName=\"Application Settings\"\n        icon=\"fa fa-sliders-h\"\n        variant=\"related-entity\"\n        [form]=\"this\"\n        [formContext]=\"formContext\"\n        [badgeCount]=\"GetSectionRowCount('applicationSettings')\">\n        <div *ngIf=\"record.IsSaved\">\n            <mj-user-view-grid\n                [Params]=\"BuildRelationshipViewParamsByEntityName('Application Settings','ApplicationID')\"\n                [NewRecordValues]=\"NewRecordValues('Application Settings')\"\n                [AllowLoad]=\"IsSectionExpanded('applicationSettings')\"\n                [EditMode]=\"GridEditMode()\"\n                (dataLoaded)=\"SetSectionRowCount('applicationSettings', $event.totalRowCount)\"\n                >\n            </mj-user-view-grid>\n        </div>\n    </mj-collapsible-panel>\n\n    <!-- User Applications Section -->\n    <mj-collapsible-panel slot=\"after-panels\"\n        sectionKey=\"userApplications\"\n        sectionName=\"User Applications\"\n        icon=\"fa fa-th\"\n        variant=\"related-entity\"\n        [form]=\"this\"\n        [formContext]=\"formContext\"\n        [badgeCount]=\"GetSectionRowCount('userApplications')\">\n        <div *ngIf=\"record.IsSaved\">\n            <mj-user-view-grid\n                [Params]=\"BuildRelationshipViewParamsByEntityName('User Applications','ApplicationID')\"\n                [NewRecordValues]=\"NewRecordValues('User Applications')\"\n                [AllowLoad]=\"IsSectionExpanded('userApplications')\"\n                [EditMode]=\"GridEditMode()\"\n                (dataLoaded)=\"SetSectionRowCount('userApplications', $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','ApplicationID')\"\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: Dashboard User Preferences Section -->\n    <mj-collapsible-panel slot=\"after-panels\"\n        sectionKey=\"mJDashboardUserPreferences\"\n        sectionName=\"MJ: Dashboard User Preferences\"\n        icon=\"fa fa-tachometer-alt\"\n        variant=\"related-entity\"\n        [form]=\"this\"\n        [formContext]=\"formContext\"\n        [badgeCount]=\"GetSectionRowCount('mJDashboardUserPreferences')\">\n        <div *ngIf=\"record.IsSaved\">\n            <mj-user-view-grid\n                [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Dashboard User Preferences','ApplicationID')\"\n                [NewRecordValues]=\"NewRecordValues('MJ: Dashboard User Preferences')\"\n                [AllowLoad]=\"IsSectionExpanded('mJDashboardUserPreferences')\"\n                [EditMode]=\"GridEditMode()\"\n                (dataLoaded)=\"SetSectionRowCount('mJDashboardUserPreferences', $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(ApplicationFormComponent, { className: "ApplicationFormComponent", filePath: "src/lib/generated/Entities/Application/application.form.component.ts", lineNumber: 12 }); })();
export function LoadApplicationFormComponent() {
    // does nothing, but called to prevent tree-shaking from eliminating this component from the build
}
//# sourceMappingURL=application.form.component.js.map