@memberjunction/ng-core-entity-forms 5.34.0 → 5.34.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/generated/Entities/MJAIAgent/mjaiagent.form.component.js +63 -63
- package/dist/lib/generated/Entities/MJAIAgent/mjaiagent.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJAIAgentRun/mjaiagentrun.form.component.js +23 -23
- package/dist/lib/generated/Entities/MJAIAgentRun/mjaiagentrun.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJAIConfiguration/mjaiconfiguration.form.component.js +12 -12
- package/dist/lib/generated/Entities/MJAIConfiguration/mjaiconfiguration.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJAIModality/mjaimodality.form.component.js +17 -17
- package/dist/lib/generated/Entities/MJAIModality/mjaimodality.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJAIModel/mjaimodel.form.component.js +51 -51
- package/dist/lib/generated/Entities/MJAIModel/mjaimodel.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJAIPrompt/mjaiprompt.form.component.js +31 -31
- package/dist/lib/generated/Entities/MJAIPrompt/mjaiprompt.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJAIPromptRun/mjaipromptrun.form.component.js +9 -9
- package/dist/lib/generated/Entities/MJAIPromptRun/mjaipromptrun.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJAIVendor/mjaivendor.form.component.js +25 -25
- package/dist/lib/generated/Entities/MJAIVendor/mjaivendor.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJAPIKey/mjapikey.form.component.js +13 -13
- package/dist/lib/generated/Entities/MJAPIKey/mjapikey.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJAPIScope/mjapiscope.form.component.js +9 -9
- package/dist/lib/generated/Entities/MJAPIScope/mjapiscope.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJAction/mjaction.form.component.js +19 -19
- package/dist/lib/generated/Entities/MJAction/mjaction.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJApplication/mjapplication.form.component.js +17 -17
- package/dist/lib/generated/Entities/MJApplication/mjapplication.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJArtifactType/mjartifacttype.form.component.js +16 -16
- package/dist/lib/generated/Entities/MJArtifactType/mjartifacttype.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJArtifactVersion/mjartifactversion.form.component.js +10 -10
- package/dist/lib/generated/Entities/MJArtifactVersion/mjartifactversion.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJAuditLogType/mjauditlogtype.form.component.js +10 -10
- package/dist/lib/generated/Entities/MJAuditLogType/mjauditlogtype.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJAuthorization/mjauthorization.form.component.js +20 -20
- package/dist/lib/generated/Entities/MJAuthorization/mjauthorization.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJCommunicationProvider/mjcommunicationprovider.form.component.js +19 -19
- package/dist/lib/generated/Entities/MJCommunicationProvider/mjcommunicationprovider.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJCompany/mjcompany.form.component.js +9 -9
- package/dist/lib/generated/Entities/MJCompany/mjcompany.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJCompanyIntegration/mjcompanyintegration.form.component.js +17 -17
- package/dist/lib/generated/Entities/MJCompanyIntegration/mjcompanyintegration.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJCompanyIntegrationRun/mjcompanyintegrationrun.form.component.js +10 -10
- package/dist/lib/generated/Entities/MJCompanyIntegrationRun/mjcompanyintegrationrun.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJConversation/mjconversation.form.component.js +9 -9
- package/dist/lib/generated/Entities/MJConversation/mjconversation.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJConversationDetail/mjconversationdetail.form.component.js +10 -10
- package/dist/lib/generated/Entities/MJConversationDetail/mjconversationdetail.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJDashboard/mjdashboard.form.component.js +17 -17
- package/dist/lib/generated/Entities/MJDashboard/mjdashboard.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJDashboardCategory/mjdashboardcategory.form.component.js +9 -9
- package/dist/lib/generated/Entities/MJDashboardCategory/mjdashboardcategory.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJEmployee/mjemployee.form.component.js +15 -15
- package/dist/lib/generated/Entities/MJEmployee/mjemployee.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJEntity/mjentity.form.component.js +208 -208
- package/dist/lib/generated/Entities/MJEntity/mjentity.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJEntityAction/mjentityaction.form.component.js +9 -9
- package/dist/lib/generated/Entities/MJEntityAction/mjentityaction.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJFileCategory/mjfilecategory.form.component.js +10 -10
- package/dist/lib/generated/Entities/MJFileCategory/mjfilecategory.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJFileStorageAccount/mjfilestorageaccount.form.component.js +9 -9
- package/dist/lib/generated/Entities/MJFileStorageAccount/mjfilestorageaccount.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJIntegration/mjintegration.form.component.js +9 -9
- package/dist/lib/generated/Entities/MJIntegration/mjintegration.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJList/mjlist.form.component.js +17 -17
- package/dist/lib/generated/Entities/MJList/mjlist.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJMCPServerConnection/mjmcpserverconnection.form.component.js +12 -12
- package/dist/lib/generated/Entities/MJMCPServerConnection/mjmcpserverconnection.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJQuery/mjquery.form.component.js +30 -30
- package/dist/lib/generated/Entities/MJQuery/mjquery.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJQueryCategory/mjquerycategory.form.component.js +10 -10
- package/dist/lib/generated/Entities/MJQueryCategory/mjquerycategory.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJRecordChange/mjrecordchange.form.component.js +10 -10
- package/dist/lib/generated/Entities/MJRecordChange/mjrecordchange.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJRecordMergeLog/mjrecordmergelog.form.component.js +10 -10
- package/dist/lib/generated/Entities/MJRecordMergeLog/mjrecordmergelog.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJRole/mjrole.form.component.js +34 -34
- package/dist/lib/generated/Entities/MJRole/mjrole.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJSearchScope/mjsearchscope.form.component.js +19 -19
- package/dist/lib/generated/Entities/MJSearchScope/mjsearchscope.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJTag/mjtag.form.component.js +16 -16
- package/dist/lib/generated/Entities/MJTag/mjtag.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJTemplate/mjtemplate.form.component.js +16 -16
- package/dist/lib/generated/Entities/MJTemplate/mjtemplate.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJTemplateCategory/mjtemplatecategory.form.component.js +10 -10
- package/dist/lib/generated/Entities/MJTemplateCategory/mjtemplatecategory.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJUser/mjuser.form.component.js +330 -330
- package/dist/lib/generated/Entities/MJUser/mjuser.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJUserView/mjuserview.form.component.js +13 -13
- package/dist/lib/generated/Entities/MJUserView/mjuserview.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJVectorDatabase/mjvectordatabase.form.component.js +10 -10
- package/dist/lib/generated/Entities/MJVectorDatabase/mjvectordatabase.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJVectorIndex/mjvectorindex.form.component.js +9 -9
- package/dist/lib/generated/Entities/MJVectorIndex/mjvectorindex.form.component.js.map +1 -1
- package/package.json +36 -36
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mjdashboard.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJDashboard/mjdashboard.form.component.ts","../../../../../src/lib/generated/Entities/MJDashboard/mjdashboard.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;;;;;ICmLtD,AADJ,2BAAK,uCAQI;IADD,AADA,+NAAY,6BAAsB,KAAC,4NAClB,0BAAmB,uBAAuB,uBAAuB,KAAC;IAG3F,AADI,iBAA+B,EAC7B;;;IARE,cAA6F;IAG7F,AADA,AADA,AADA,mHAA6F,wEAC7B,gEACR,sBACnC;;;;IAqBzB,AADJ,2BAAK,uCAQI;IADD,AADA,+NAAY,6BAAsB,KAAC,4NAClB,0BAAmB,0BAA0B,uBAAuB,KAAC;IAG9F,AADI,iBAA+B,EAC7B;;;IARE,cAAgG;IAGhG,AADA,AADA,AADA,sHAAgG,2EAC7B,mEACR,sBACtC;;;;IAqBzB,AADJ,2BAAK,uCAQI;IADD,AADA,+NAAY,6BAAsB,KAAC,4NAClB,0BAAmB,4BAA4B,uBAAuB,KAAC;IAGhG,AADI,iBAA+B,EAC7B;;;IARE,cAAkG;IAGlG,AADA,AADA,AADA,wHAAkG,6EAC7B,qEACR,sBACxC;;;;IAqBzB,AADJ,2BAAK,uCAQI;IADD,AADA,+NAAY,6BAAsB,KAAC,4NAClB,0BAAmB,wBAAwB,uBAAuB,KAAC;IAG5F,AADI,iBAA+B,EAC7B;;;IARE,cAA6F;IAG7F,AADA,AADA,AADA,mHAA6F,wEAC7B,iEACP,sBACpC;;ADzP9B,IAAM,wBAAwB,GAA9B,MAAM,wBAAyB,SAAQ,iBAAiB;IAGlD,KAAK,CAAC,QAAQ;QACnB,MAAM,KAAK,CAAC,QAAQ,EAAE,CAAC;QACvB,IAAI,CAAC,YAAY,CA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GG,gCACM;YAG3B,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAe/B,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,+DAC+B,0BACjC;YACzB,cAYC;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,kEACkC,0BACpC;YACzB,cAYC;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,oEACoC,0BACtC;YACzB,cAYC;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,gEACgC,0BAClC;YACzB,cAYC;YAZD,8CAYC;;;AD/PI,wBAAwB;IANpC,aAAa,CAAC,iBAAiB,EAAE,gBAAgB,CAAC,CAAC,uCAAuC;GAM9E,wBAAwB,CAgBpC;;iFAhBY,wBAAwB;cALpC,SAAS;6BACM,KAAK,YACP,sBAAsB;;kFAGvB,wBAAwB","sourcesContent":["import { Component } from '@angular/core';\nimport { MJDashboardEntity } 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: Dashboards') // Tell MemberJunction about this class\n@Component({\n standalone: false,\n selector: 'gen-mjdashboard-form',\n templateUrl: './mjdashboard.form.component.html'\n})\nexport class MJDashboardFormComponent extends BaseFormComponent {\n public record!: MJDashboardEntity;\n\n override async ngOnInit() {\n await super.ngOnInit();\n this.initSections([\n { sectionKey: 'dashboardIdentityDescription', sectionName: 'Dashboard Identity & Description', isExpanded: true },\n { sectionKey: 'accessScopeSettings', sectionName: 'Access & Scope Settings', isExpanded: true },\n { sectionKey: 'technicalConfiguration', sectionName: 'Technical Configuration', isExpanded: false },\n { sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },\n { sectionKey: 'mJDashboardUserStates', sectionName: 'Dashboard User States', isExpanded: false },\n { sectionKey: 'mJDashboardCategoryLinks', sectionName: 'Dashboard Category Links', isExpanded: false },\n { sectionKey: 'mJDashboardUserPreferences', sectionName: 'Dashboard User Preferences', isExpanded: false },\n { sectionKey: 'mJDashboardPermissions', sectionName: 'Dashboard Permissions', 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 <!-- Dashboard Identity & Description Section -->\n <mj-collapsible-panel\n SectionKey=\"dashboardIdentityDescription\"\n SectionName=\"Dashboard Identity & Description\"\n Icon=\"fa fa-id-card\"\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=\"Thumbnail\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Access & Scope Settings Section -->\n <mj-collapsible-panel\n SectionKey=\"accessScopeSettings\"\n SectionName=\"Access & Scope 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=\"UserID\"\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=\"CategoryID\"\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=\"Scope\"\n Type=\"select\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ApplicationID\"\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=\"EnvironmentID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Technical Configuration Section -->\n <mj-collapsible-panel\n SectionKey=\"technicalConfiguration\"\n SectionName=\"Technical Configuration\"\n Icon=\"fa fa-cog\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"UIConfigDetails\"\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=\"Type\"\n Type=\"select\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"DriverClass\"\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=\"Code\"\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-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 <!-- ========================================\n RELATED ENTITY PANELS\n ======================================== -->\n\n <!-- Dashboard User States Section -->\n <mj-collapsible-panel\n SectionKey=\"mJDashboardUserStates\"\n SectionName=\"Dashboard User States\"\n Icon=\"fa fa-tachometer-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJDashboardUserStates')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Dashboard User States','DashboardID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Dashboard User States')\"\n [AllowLoad]=\"IsSectionExpanded('mJDashboardUserStates')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJDashboardUserStates', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Dashboard Category Links Section -->\n <mj-collapsible-panel\n SectionKey=\"mJDashboardCategoryLinks\"\n SectionName=\"Dashboard Category Links\"\n Icon=\"fa fa-folder-open\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJDashboardCategoryLinks')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Dashboard Category Links','DashboardID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Dashboard Category Links')\"\n [AllowLoad]=\"IsSectionExpanded('mJDashboardCategoryLinks')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJDashboardCategoryLinks', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Dashboard User Preferences Section -->\n <mj-collapsible-panel\n SectionKey=\"mJDashboardUserPreferences\"\n SectionName=\"Dashboard User Preferences\"\n Icon=\"fa fa-tachometer-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJDashboardUserPreferences')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Dashboard User Preferences','DashboardID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Dashboard User Preferences')\"\n [AllowLoad]=\"IsSectionExpanded('mJDashboardUserPreferences')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJDashboardUserPreferences', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Dashboard Permissions Section -->\n <mj-collapsible-panel\n SectionKey=\"mJDashboardPermissions\"\n SectionName=\"Dashboard Permissions\"\n Icon=\"fa fa-tachometer-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJDashboardPermissions')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Dashboard Permissions','DashboardID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Dashboard Permissions')\"\n [AllowLoad]=\"IsSectionExpanded('mJDashboardPermissions')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJDashboardPermissions', $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":"mjdashboard.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJDashboard/mjdashboard.form.component.ts","../../../../../src/lib/generated/Entities/MJDashboard/mjdashboard.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;;;;;ICmLtD,AADJ,2BAAK,uCAQI;IADD,AADA,+NAAY,6BAAsB,KAAC,4NAClB,0BAAmB,0BAA0B,uBAAuB,KAAC;IAG9F,AADI,iBAA+B,EAC7B;;;IARE,cAAgG;IAGhG,AADA,AADA,AADA,sHAAgG,2EAC7B,mEACR,sBACtC;;;;IAqBzB,AADJ,2BAAK,uCAQI;IADD,AADA,+NAAY,6BAAsB,KAAC,4NAClB,0BAAmB,uBAAuB,uBAAuB,KAAC;IAG3F,AADI,iBAA+B,EAC7B;;;IARE,cAA6F;IAG7F,AADA,AADA,AADA,mHAA6F,wEAC7B,gEACR,sBACnC;;;;IAqBzB,AADJ,2BAAK,uCAQI;IADD,AADA,+NAAY,6BAAsB,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,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAI3B,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAW/B,cAAa;YACb,AADA,0BAAa,gCACc;YAEvB,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAG3B,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAG3B,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAG3B,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAU/B,cAAa;YACb,AADA,0BAAa,gCACc;YAEvB,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAG3B,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAe/B,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,kEACkC,0BACpC;YACzB,cAYC;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,+DAC+B,0BACjC;YACzB,cAYC;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,gEACgC,0BAClC;YACzB,cAYC;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,oEACoC,0BACtC;YACzB,cAYC;YAZD,8CAYC;;;AD/PI,wBAAwB;IANpC,aAAa,CAAC,iBAAiB,EAAE,gBAAgB,CAAC,CAAC,uCAAuC;GAM9E,wBAAwB,CAgBpC;;iFAhBY,wBAAwB;cALpC,SAAS;6BACM,KAAK,YACP,sBAAsB;;kFAGvB,wBAAwB","sourcesContent":["import { Component } from '@angular/core';\nimport { MJDashboardEntity } 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: Dashboards') // Tell MemberJunction about this class\n@Component({\n standalone: false,\n selector: 'gen-mjdashboard-form',\n templateUrl: './mjdashboard.form.component.html'\n})\nexport class MJDashboardFormComponent extends BaseFormComponent {\n public record!: MJDashboardEntity;\n\n override async ngOnInit() {\n await super.ngOnInit();\n this.initSections([\n { sectionKey: 'dashboardIdentityDescription', sectionName: 'Dashboard Identity & Description', isExpanded: true },\n { sectionKey: 'accessScopeSettings', sectionName: 'Access & Scope Settings', isExpanded: true },\n { sectionKey: 'technicalConfiguration', sectionName: 'Technical Configuration', isExpanded: false },\n { sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },\n { sectionKey: 'mJDashboardCategoryLinks', sectionName: 'Dashboard Category Links', isExpanded: false },\n { sectionKey: 'mJDashboardUserStates', sectionName: 'Dashboard User States', isExpanded: false },\n { sectionKey: 'mJDashboardPermissions', sectionName: 'Dashboard Permissions', isExpanded: false },\n { sectionKey: 'mJDashboardUserPreferences', sectionName: 'Dashboard User Preferences', 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 <!-- Dashboard Identity & Description Section -->\n <mj-collapsible-panel\n SectionKey=\"dashboardIdentityDescription\"\n SectionName=\"Dashboard Identity & Description\"\n Icon=\"fa fa-id-card\"\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=\"Thumbnail\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Access & Scope Settings Section -->\n <mj-collapsible-panel\n SectionKey=\"accessScopeSettings\"\n SectionName=\"Access & Scope 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=\"UserID\"\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=\"CategoryID\"\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=\"Scope\"\n Type=\"select\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ApplicationID\"\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=\"EnvironmentID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Technical Configuration Section -->\n <mj-collapsible-panel\n SectionKey=\"technicalConfiguration\"\n SectionName=\"Technical Configuration\"\n Icon=\"fa fa-cog\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"UIConfigDetails\"\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=\"Type\"\n Type=\"select\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"DriverClass\"\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=\"Code\"\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-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 <!-- ========================================\n RELATED ENTITY PANELS\n ======================================== -->\n\n <!-- Dashboard Category Links Section -->\n <mj-collapsible-panel\n SectionKey=\"mJDashboardCategoryLinks\"\n SectionName=\"Dashboard Category Links\"\n Icon=\"fa fa-folder-open\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJDashboardCategoryLinks')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Dashboard Category Links','DashboardID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Dashboard Category Links')\"\n [AllowLoad]=\"IsSectionExpanded('mJDashboardCategoryLinks')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJDashboardCategoryLinks', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Dashboard User States Section -->\n <mj-collapsible-panel\n SectionKey=\"mJDashboardUserStates\"\n SectionName=\"Dashboard User States\"\n Icon=\"fa fa-tachometer-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJDashboardUserStates')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Dashboard User States','DashboardID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Dashboard User States')\"\n [AllowLoad]=\"IsSectionExpanded('mJDashboardUserStates')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJDashboardUserStates', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Dashboard Permissions Section -->\n <mj-collapsible-panel\n SectionKey=\"mJDashboardPermissions\"\n SectionName=\"Dashboard Permissions\"\n Icon=\"fa fa-tachometer-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJDashboardPermissions')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Dashboard Permissions','DashboardID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Dashboard Permissions')\"\n [AllowLoad]=\"IsSectionExpanded('mJDashboardPermissions')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJDashboardPermissions', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Dashboard User Preferences Section -->\n <mj-collapsible-panel\n SectionKey=\"mJDashboardUserPreferences\"\n SectionName=\"Dashboard User Preferences\"\n Icon=\"fa fa-tachometer-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJDashboardUserPreferences')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Dashboard User Preferences','DashboardID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Dashboard User Preferences')\"\n [AllowLoad]=\"IsSectionExpanded('mJDashboardUserPreferences')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJDashboardUserPreferences', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n</mj-record-form-container>\n "]}
|
package/dist/lib/generated/Entities/MJDashboardCategory/mjdashboardcategory.form.component.js
CHANGED
|
@@ -12,22 +12,22 @@ import * as i1 from "@memberjunction/ng-base-forms";
|
|
|
12
12
|
function MJDashboardCategoryFormComponent_Conditional_12_Template(rf, ctx) { if (rf & 1) {
|
|
13
13
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
14
14
|
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 15);
|
|
15
|
-
i0.ɵɵlistener("Navigate", function MJDashboardCategoryFormComponent_Conditional_12_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function MJDashboardCategoryFormComponent_Conditional_12_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("
|
|
15
|
+
i0.ɵɵlistener("Navigate", function MJDashboardCategoryFormComponent_Conditional_12_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function MJDashboardCategoryFormComponent_Conditional_12_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJDashboardCategories", $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:
|
|
20
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Dashboard Categories", "ParentID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Dashboard Categories"))("AllowLoad", ctx_r1.IsSectionExpanded("mJDashboardCategories"))("ShowToolbar", false);
|
|
21
21
|
} }
|
|
22
22
|
function MJDashboardCategoryFormComponent_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", 15);
|
|
25
|
-
i0.ɵɵlistener("Navigate", function MJDashboardCategoryFormComponent_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 MJDashboardCategoryFormComponent_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 MJDashboardCategoryFormComponent_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 MJDashboardCategoryFormComponent_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("mJDashboards", $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: Dashboards", "CategoryID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Dashboards"))("AllowLoad", ctx_r1.IsSectionExpanded("mJDashboards"))("ShowToolbar", false);
|
|
31
31
|
} }
|
|
32
32
|
function MJDashboardCategoryFormComponent_Conditional_16_Template(rf, ctx) { if (rf & 1) {
|
|
33
33
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
@@ -56,14 +56,14 @@ let MJDashboardCategoryFormComponent = class MJDashboardCategoryFormComponent ex
|
|
|
56
56
|
{ sectionKey: 'categoryDetails', sectionName: 'Category Details', isExpanded: true },
|
|
57
57
|
{ sectionKey: 'hierarchyStructure', sectionName: 'Hierarchy Structure', isExpanded: true },
|
|
58
58
|
{ sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },
|
|
59
|
-
{ sectionKey: 'mJDashboards', sectionName: 'Dashboards', isExpanded: false },
|
|
60
59
|
{ sectionKey: 'mJDashboardCategories', sectionName: 'Dashboard Categories', isExpanded: false },
|
|
60
|
+
{ sectionKey: 'mJDashboards', sectionName: 'Dashboards', isExpanded: false },
|
|
61
61
|
{ sectionKey: 'mJDashboardCategoryLinks', sectionName: 'Dashboard Category Links', isExpanded: false },
|
|
62
62
|
{ sectionKey: 'mJDashboardCategoryPermissions', sectionName: 'Dashboard Category Permissions', isExpanded: false }
|
|
63
63
|
]);
|
|
64
64
|
}
|
|
65
65
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵMJDashboardCategoryFormComponent_BaseFactory; return function MJDashboardCategoryFormComponent_Factory(__ngFactoryType__) { return (ɵMJDashboardCategoryFormComponent_BaseFactory || (ɵMJDashboardCategoryFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(MJDashboardCategoryFormComponent)))(__ngFactoryType__ || MJDashboardCategoryFormComponent); }; })(); }
|
|
66
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJDashboardCategoryFormComponent, selectors: [["gen-mjdashboardcategory-form"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 19, vars: 56, consts: [[3, "Navigate", "DeleteRequested", "FavoriteToggled", "HistoryRequested", "ListManagementRequested", "Record", "FormComponent"], ["SectionKey", "categoryDetails", "SectionName", "Category Details", "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", "UserID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "hierarchyStructure", "SectionName", "Hierarchy Structure", "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", "
|
|
66
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJDashboardCategoryFormComponent, selectors: [["gen-mjdashboardcategory-form"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 19, vars: 56, consts: [[3, "Navigate", "DeleteRequested", "FavoriteToggled", "HistoryRequested", "ListManagementRequested", "Record", "FormComponent"], ["SectionKey", "categoryDetails", "SectionName", "Category Details", "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", "UserID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "hierarchyStructure", "SectionName", "Hierarchy Structure", "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", "mJDashboardCategories", "SectionName", "Dashboard Categories", "Icon", "fa fa-tachometer-alt", "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", "mJDashboardCategoryLinks", "SectionName", "Dashboard Category Links", "Icon", "fa fa-folder-open", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJDashboardCategoryPermissions", "SectionName", "Dashboard Category Permissions", "Icon", "fa fa-folder-open", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], [3, "Navigate", "AfterDataLoad", "Params", "NewRecordValues", "AllowLoad", "ShowToolbar"]], template: function MJDashboardCategoryFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
67
67
|
i0.ɵɵelementStart(0, "mj-record-form-container", 0);
|
|
68
68
|
i0.ɵɵlistener("Navigate", function MJDashboardCategoryFormComponent_Template_mj_record_form_container_Navigate_0_listener($event) { return ctx.OnFormNavigate($event); })("DeleteRequested", function MJDashboardCategoryFormComponent_Template_mj_record_form_container_DeleteRequested_0_listener() { return ctx.OnDeleteRequested(); })("FavoriteToggled", function MJDashboardCategoryFormComponent_Template_mj_record_form_container_FavoriteToggled_0_listener() { return ctx.OnFavoriteToggled(); })("HistoryRequested", function MJDashboardCategoryFormComponent_Template_mj_record_form_container_HistoryRequested_0_listener() { return ctx.OnHistoryRequested(); })("ListManagementRequested", function MJDashboardCategoryFormComponent_Template_mj_record_form_container_ListManagementRequested_0_listener() { return ctx.OnListManagementRequested(); });
|
|
69
69
|
i0.ɵɵelementStart(1, "mj-collapsible-panel", 1);
|
|
@@ -110,11 +110,11 @@ let MJDashboardCategoryFormComponent = class MJDashboardCategoryFormComponent ex
|
|
|
110
110
|
i0.ɵɵadvance();
|
|
111
111
|
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
112
112
|
i0.ɵɵadvance();
|
|
113
|
-
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("
|
|
113
|
+
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJDashboardCategories"))("DefaultExpanded", false);
|
|
114
114
|
i0.ɵɵadvance();
|
|
115
115
|
i0.ɵɵconditional(ctx.record.IsSaved ? 12 : -1);
|
|
116
116
|
i0.ɵɵadvance();
|
|
117
|
-
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("
|
|
117
|
+
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJDashboards"))("DefaultExpanded", false);
|
|
118
118
|
i0.ɵɵadvance();
|
|
119
119
|
i0.ɵɵconditional(ctx.record.IsSaved ? 14 : -1);
|
|
120
120
|
i0.ɵɵadvance();
|
|
@@ -133,7 +133,7 @@ MJDashboardCategoryFormComponent = __decorate([
|
|
|
133
133
|
export { MJDashboardCategoryFormComponent };
|
|
134
134
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MJDashboardCategoryFormComponent, [{
|
|
135
135
|
type: Component,
|
|
136
|
-
args: [{ standalone: false, selector: 'gen-mjdashboardcategory-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 Details Section -->\n <mj-collapsible-panel\n SectionKey=\"categoryDetails\"\n SectionName=\"Category Details\"\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=\"UserID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Hierarchy Structure Section -->\n <mj-collapsible-panel\n SectionKey=\"hierarchyStructure\"\n SectionName=\"Hierarchy Structure\"\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 <!--
|
|
136
|
+
args: [{ standalone: false, selector: 'gen-mjdashboardcategory-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 Details Section -->\n <mj-collapsible-panel\n SectionKey=\"categoryDetails\"\n SectionName=\"Category Details\"\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=\"UserID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Hierarchy Structure Section -->\n <mj-collapsible-panel\n SectionKey=\"hierarchyStructure\"\n SectionName=\"Hierarchy Structure\"\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 <!-- Dashboard Categories Section -->\n <mj-collapsible-panel\n SectionKey=\"mJDashboardCategories\"\n SectionName=\"Dashboard Categories\"\n Icon=\"fa fa-tachometer-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJDashboardCategories')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Dashboard Categories','ParentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Dashboard Categories')\"\n [AllowLoad]=\"IsSectionExpanded('mJDashboardCategories')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJDashboardCategories', $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','CategoryID')\"\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 <!-- Dashboard Category Links Section -->\n <mj-collapsible-panel\n SectionKey=\"mJDashboardCategoryLinks\"\n SectionName=\"Dashboard Category Links\"\n Icon=\"fa fa-folder-open\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJDashboardCategoryLinks')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Dashboard Category Links','DashboardCategoryID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Dashboard Category Links')\"\n [AllowLoad]=\"IsSectionExpanded('mJDashboardCategoryLinks')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJDashboardCategoryLinks', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Dashboard Category Permissions Section -->\n <mj-collapsible-panel\n SectionKey=\"mJDashboardCategoryPermissions\"\n SectionName=\"Dashboard Category Permissions\"\n Icon=\"fa fa-folder-open\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJDashboardCategoryPermissions')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Dashboard Category Permissions','DashboardCategoryID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Dashboard Category Permissions')\"\n [AllowLoad]=\"IsSectionExpanded('mJDashboardCategoryPermissions')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJDashboardCategoryPermissions', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n</mj-record-form-container>\n " }]
|
|
137
137
|
}], null, null); })();
|
|
138
138
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MJDashboardCategoryFormComponent, { className: "MJDashboardCategoryFormComponent", filePath: "src/lib/generated/Entities/MJDashboardCategory/mjdashboardcategory.form.component.ts", lineNumber: 13 }); })();
|
|
139
139
|
//# sourceMappingURL=mjdashboardcategory.form.component.js.map
|
package/dist/lib/generated/Entities/MJDashboardCategory/mjdashboardcategory.form.component.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mjdashboardcategory.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJDashboardCategory/mjdashboardcategory.form.component.ts","../../../../../src/lib/generated/Entities/MJDashboardCategory/mjdashboardcategory.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,uOAAY,6BAAsB,KAAC,oOAClB,0BAAmB,cAAc,uBAAuB,KAAC;IAGlF,AADI,iBAA+B,EAC7B;;;IARE,cAAiF;IAGjF,AADA,AADA,AADA,uGAAiF,6DAC5B,uDACN,sBAC1B;;;;IAqBzB,AADJ,2BAAK,uCAQI;IADD,AADA,uOAAY,6BAAsB,KAAC,oOAClB,0BAAmB,uBAAuB,uBAAuB,KAAC;IAG3F,AADI,iBAA+B,EAC7B;;;IARE,cAAyF;IAGzF,AADA,AADA,AADA,+GAAyF,uEAC1B,gEACP,sBACnC;;;;IAqBzB,AADJ,2BAAK,uCAQI;IADD,AADA,uOAAY,6BAAsB,KAAC,oOAClB,0BAAmB,0BAA0B,uBAAuB,KAAC;IAG9F,AADI,iBAA+B,EAC7B;;;IARE,cAAwG;IAGxG,AADA,AADA,AADA,8HAAwG,2EACrC,mEACR,sBACtC;;;;IAqBzB,AADJ,2BAAK,uCAQI;IADD,AADA,uOAAY,6BAAsB,KAAC,oOAClB,0BAAmB,gCAAgC,uBAAuB,KAAC;IAGpG,AADI,iBAA+B,EAC7B;;;IARE,cAA8G;IAG9G,AADA,AADA,AADA,oIAA8G,iFACrC,yEACR,sBAC5C;;ADrL9B,IAAM,gCAAgC,GAAtC,MAAM,gCAAiC,SAAQ,iBAAiB;IAG1D,KAAK,CAAC,QAAQ;QACnB,MAAM,KAAK,CAAC,QAAQ,EAAE,CAAC;QACvB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AAsB;YAc9B,AADI,iBAAuB,EACA;;YAzMiB,AAAlB,mCAAiB,sBAAuB;YAe1D,cAAa;YACb,AADA,0BAAa,gCACc;YAEvB,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAG3B,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAG3B,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAW/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,sDACsB,0BACxB;YACzB,cAYC;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,+DAC+B,0BACjC;YACzB,cAYC;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,kEACkC,0BACpC;YACzB,cAYC;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,wEACwC,0BAC1C;YACzB,cAYC;YAZD,8CAYC;;;AD3LI,gCAAgC;IAN5C,aAAa,CAAC,iBAAiB,EAAE,0BAA0B,CAAC,CAAC,uCAAuC;GAMxF,gCAAgC,CAe5C;;iFAfY,gCAAgC;cAL5C,SAAS;6BACM,KAAK,YACP,8BAA8B;;kFAG/B,gCAAgC","sourcesContent":["import { Component } from '@angular/core';\nimport { MJDashboardCategoryEntity } 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: Dashboard Categories') // Tell MemberJunction about this class\n@Component({\n standalone: false,\n selector: 'gen-mjdashboardcategory-form',\n templateUrl: './mjdashboardcategory.form.component.html'\n})\nexport class MJDashboardCategoryFormComponent extends BaseFormComponent {\n public record!: MJDashboardCategoryEntity;\n\n override async ngOnInit() {\n await super.ngOnInit();\n this.initSections([\n { sectionKey: 'categoryDetails', sectionName: 'Category Details', isExpanded: true },\n { sectionKey: 'hierarchyStructure', sectionName: 'Hierarchy Structure', isExpanded: true },\n { sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },\n { sectionKey: 'mJDashboards', sectionName: 'Dashboards', isExpanded: false },\n { sectionKey: 'mJDashboardCategories', sectionName: 'Dashboard Categories', isExpanded: false },\n { sectionKey: 'mJDashboardCategoryLinks', sectionName: 'Dashboard Category Links', isExpanded: false },\n { sectionKey: 'mJDashboardCategoryPermissions', sectionName: 'Dashboard Category Permissions', 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 Details Section -->\n <mj-collapsible-panel\n SectionKey=\"categoryDetails\"\n SectionName=\"Category Details\"\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=\"UserID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Hierarchy Structure Section -->\n <mj-collapsible-panel\n SectionKey=\"hierarchyStructure\"\n SectionName=\"Hierarchy Structure\"\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 <!-- 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','CategoryID')\"\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 <!-- Dashboard Categories Section -->\n <mj-collapsible-panel\n SectionKey=\"mJDashboardCategories\"\n SectionName=\"Dashboard Categories\"\n Icon=\"fa fa-tachometer-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJDashboardCategories')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Dashboard Categories','ParentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Dashboard Categories')\"\n [AllowLoad]=\"IsSectionExpanded('mJDashboardCategories')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJDashboardCategories', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Dashboard Category Links Section -->\n <mj-collapsible-panel\n SectionKey=\"mJDashboardCategoryLinks\"\n SectionName=\"Dashboard Category Links\"\n Icon=\"fa fa-folder-open\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJDashboardCategoryLinks')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Dashboard Category Links','DashboardCategoryID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Dashboard Category Links')\"\n [AllowLoad]=\"IsSectionExpanded('mJDashboardCategoryLinks')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJDashboardCategoryLinks', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Dashboard Category Permissions Section -->\n <mj-collapsible-panel\n SectionKey=\"mJDashboardCategoryPermissions\"\n SectionName=\"Dashboard Category Permissions\"\n Icon=\"fa fa-folder-open\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJDashboardCategoryPermissions')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Dashboard Category Permissions','DashboardCategoryID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Dashboard Category Permissions')\"\n [AllowLoad]=\"IsSectionExpanded('mJDashboardCategoryPermissions')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJDashboardCategoryPermissions', $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":"mjdashboardcategory.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJDashboardCategory/mjdashboardcategory.form.component.ts","../../../../../src/lib/generated/Entities/MJDashboardCategory/mjdashboardcategory.form.component.html"],"names":[],"m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ACC,0BAGG,gCACM;YAG3B,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAG3B,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAW/B,cAAa;YACb,AADA,0BAAa,gCACc;YAEvB,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;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,+DAC+B,0BACjC;YACzB,cAYC;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,sDACsB,0BACxB;YACzB,cAYC;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,kEACkC,0BACpC;YACzB,cAYC;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,wEACwC,0BAC1C;YACzB,cAYC;YAZD,8CAYC;;;AD3LI,gCAAgC;IAN5C,aAAa,CAAC,iBAAiB,EAAE,0BAA0B,CAAC,CAAC,uCAAuC;GAMxF,gCAAgC,CAe5C;;iFAfY,gCAAgC;cAL5C,SAAS;6BACM,KAAK,YACP,8BAA8B;;kFAG/B,gCAAgC","sourcesContent":["import { Component } from '@angular/core';\nimport { MJDashboardCategoryEntity } 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: Dashboard Categories') // Tell MemberJunction about this class\n@Component({\n standalone: false,\n selector: 'gen-mjdashboardcategory-form',\n templateUrl: './mjdashboardcategory.form.component.html'\n})\nexport class MJDashboardCategoryFormComponent extends BaseFormComponent {\n public record!: MJDashboardCategoryEntity;\n\n override async ngOnInit() {\n await super.ngOnInit();\n this.initSections([\n { sectionKey: 'categoryDetails', sectionName: 'Category Details', isExpanded: true },\n { sectionKey: 'hierarchyStructure', sectionName: 'Hierarchy Structure', isExpanded: true },\n { sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },\n { sectionKey: 'mJDashboardCategories', sectionName: 'Dashboard Categories', isExpanded: false },\n { sectionKey: 'mJDashboards', sectionName: 'Dashboards', isExpanded: false },\n { sectionKey: 'mJDashboardCategoryLinks', sectionName: 'Dashboard Category Links', isExpanded: false },\n { sectionKey: 'mJDashboardCategoryPermissions', sectionName: 'Dashboard Category Permissions', 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 Details Section -->\n <mj-collapsible-panel\n SectionKey=\"categoryDetails\"\n SectionName=\"Category Details\"\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=\"UserID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Hierarchy Structure Section -->\n <mj-collapsible-panel\n SectionKey=\"hierarchyStructure\"\n SectionName=\"Hierarchy Structure\"\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 <!-- Dashboard Categories Section -->\n <mj-collapsible-panel\n SectionKey=\"mJDashboardCategories\"\n SectionName=\"Dashboard Categories\"\n Icon=\"fa fa-tachometer-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJDashboardCategories')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Dashboard Categories','ParentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Dashboard Categories')\"\n [AllowLoad]=\"IsSectionExpanded('mJDashboardCategories')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJDashboardCategories', $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','CategoryID')\"\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 <!-- Dashboard Category Links Section -->\n <mj-collapsible-panel\n SectionKey=\"mJDashboardCategoryLinks\"\n SectionName=\"Dashboard Category Links\"\n Icon=\"fa fa-folder-open\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJDashboardCategoryLinks')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Dashboard Category Links','DashboardCategoryID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Dashboard Category Links')\"\n [AllowLoad]=\"IsSectionExpanded('mJDashboardCategoryLinks')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJDashboardCategoryLinks', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Dashboard Category Permissions Section -->\n <mj-collapsible-panel\n SectionKey=\"mJDashboardCategoryPermissions\"\n SectionName=\"Dashboard Category Permissions\"\n Icon=\"fa fa-folder-open\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJDashboardCategoryPermissions')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Dashboard Category Permissions','DashboardCategoryID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Dashboard Category Permissions')\"\n [AllowLoad]=\"IsSectionExpanded('mJDashboardCategoryPermissions')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJDashboardCategoryPermissions', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n</mj-record-form-container>\n "]}
|
|
@@ -12,42 +12,42 @@ import * as i1 from "@memberjunction/ng-base-forms";
|
|
|
12
12
|
function MJEmployeeFormComponent_Conditional_21_Template(rf, ctx) { if (rf & 1) {
|
|
13
13
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
14
14
|
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 25);
|
|
15
|
-
i0.ɵɵlistener("Navigate", function MJEmployeeFormComponent_Conditional_21_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 MJEmployeeFormComponent_Conditional_21_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 MJEmployeeFormComponent_Conditional_21_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 MJEmployeeFormComponent_Conditional_21_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJEmployeeCompanyIntegrations", $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:
|
|
20
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Employee Company Integrations", "EmployeeID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Employee Company Integrations"))("AllowLoad", ctx_r1.IsSectionExpanded("mJEmployeeCompanyIntegrations"))("ShowToolbar", false);
|
|
21
21
|
} }
|
|
22
22
|
function MJEmployeeFormComponent_Conditional_23_Template(rf, ctx) { if (rf & 1) {
|
|
23
23
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
24
24
|
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 25);
|
|
25
|
-
i0.ɵɵlistener("Navigate", function MJEmployeeFormComponent_Conditional_23_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 MJEmployeeFormComponent_Conditional_23_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 MJEmployeeFormComponent_Conditional_23_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 MJEmployeeFormComponent_Conditional_23_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJEmployeeRoles", $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: Employee
|
|
30
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Employee Roles", "EmployeeID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Employee Roles"))("AllowLoad", ctx_r1.IsSectionExpanded("mJEmployeeRoles"))("ShowToolbar", false);
|
|
31
31
|
} }
|
|
32
32
|
function MJEmployeeFormComponent_Conditional_25_Template(rf, ctx) { if (rf & 1) {
|
|
33
33
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
34
34
|
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 25);
|
|
35
|
-
i0.ɵɵlistener("Navigate", function MJEmployeeFormComponent_Conditional_25_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 MJEmployeeFormComponent_Conditional_25_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 MJEmployeeFormComponent_Conditional_25_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 MJEmployeeFormComponent_Conditional_25_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJEmployeeSkills", $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: Employee
|
|
40
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Employee Skills", "EmployeeID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Employee Skills"))("AllowLoad", ctx_r1.IsSectionExpanded("mJEmployeeSkills"))("ShowToolbar", false);
|
|
41
41
|
} }
|
|
42
42
|
function MJEmployeeFormComponent_Conditional_27_Template(rf, ctx) { if (rf & 1) {
|
|
43
43
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
44
44
|
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 25);
|
|
45
|
-
i0.ɵɵlistener("Navigate", function MJEmployeeFormComponent_Conditional_27_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 MJEmployeeFormComponent_Conditional_27_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 MJEmployeeFormComponent_Conditional_27_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 MJEmployeeFormComponent_Conditional_27_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJEmployees", $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: Employees", "SupervisorID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Employees"))("AllowLoad", ctx_r1.IsSectionExpanded("mJEmployees"))("ShowToolbar", false);
|
|
51
51
|
} }
|
|
52
52
|
function MJEmployeeFormComponent_Conditional_29_Template(rf, ctx) { if (rf & 1) {
|
|
53
53
|
const _r6 = i0.ɵɵgetCurrentView();
|
|
@@ -67,15 +67,15 @@ let MJEmployeeFormComponent = class MJEmployeeFormComponent extends BaseFormComp
|
|
|
67
67
|
{ sectionKey: 'personalContact', sectionName: 'Personal & Contact', isExpanded: true },
|
|
68
68
|
{ sectionKey: 'employmentDetails', sectionName: 'Employment Details', isExpanded: false },
|
|
69
69
|
{ sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },
|
|
70
|
-
{ sectionKey: 'mJEmployees', sectionName: 'Direct Reports', isExpanded: false },
|
|
71
70
|
{ sectionKey: 'mJEmployeeCompanyIntegrations', sectionName: 'Employee Company Integrations', isExpanded: false },
|
|
72
71
|
{ sectionKey: 'mJEmployeeRoles', sectionName: 'Employee Roles', isExpanded: false },
|
|
73
72
|
{ sectionKey: 'mJEmployeeSkills', sectionName: 'Employee Skills', isExpanded: false },
|
|
73
|
+
{ sectionKey: 'mJEmployees', sectionName: 'Direct Reports', isExpanded: false },
|
|
74
74
|
{ sectionKey: 'mJUsers', sectionName: 'Users', isExpanded: false }
|
|
75
75
|
]);
|
|
76
76
|
}
|
|
77
77
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵMJEmployeeFormComponent_BaseFactory; return function MJEmployeeFormComponent_Factory(__ngFactoryType__) { return (ɵMJEmployeeFormComponent_BaseFactory || (ɵMJEmployeeFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(MJEmployeeFormComponent)))(__ngFactoryType__ || MJEmployeeFormComponent); }; })(); }
|
|
78
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJEmployeeFormComponent, selectors: [["gen-mjemployee-form"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 30, vars: 95, consts: [[3, "Navigate", "DeleteRequested", "FavoriteToggled", "HistoryRequested", "ListManagementRequested", "Record", "FormComponent"], ["SectionKey", "identifiers", "SectionName", "Identifiers", "Icon", "fa fa-key", 3, "Form", "FormContext"], ["FieldName", "BCMID", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "CompanyID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "personalContact", "SectionName", "Personal & Contact", "Icon", "fa fa-address-card", 3, "Form", "FormContext"], ["FieldName", "FirstName", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "LastName", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Email", "Type", "textbox", "LinkType", "Email", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Phone", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "FirstLast", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "employmentDetails", "SectionName", "Employment Details", "Icon", "fa fa-briefcase", 3, "Form", "FormContext"], ["FieldName", "SupervisorID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Title", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Active", "Type", "checkbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "SupervisorFirstName", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "SupervisorLastName", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "SupervisorEmail", "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", "
|
|
78
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJEmployeeFormComponent, selectors: [["gen-mjemployee-form"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 30, vars: 95, consts: [[3, "Navigate", "DeleteRequested", "FavoriteToggled", "HistoryRequested", "ListManagementRequested", "Record", "FormComponent"], ["SectionKey", "identifiers", "SectionName", "Identifiers", "Icon", "fa fa-key", 3, "Form", "FormContext"], ["FieldName", "BCMID", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "CompanyID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "personalContact", "SectionName", "Personal & Contact", "Icon", "fa fa-address-card", 3, "Form", "FormContext"], ["FieldName", "FirstName", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "LastName", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Email", "Type", "textbox", "LinkType", "Email", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Phone", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "FirstLast", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "employmentDetails", "SectionName", "Employment Details", "Icon", "fa fa-briefcase", 3, "Form", "FormContext"], ["FieldName", "SupervisorID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Title", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Active", "Type", "checkbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "SupervisorFirstName", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "SupervisorLastName", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "SupervisorEmail", "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", "mJEmployeeCompanyIntegrations", "SectionName", "Employee Company Integrations", "Icon", "fa fa-link", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJEmployeeRoles", "SectionName", "Employee Roles", "Icon", "fa fa-user-tag", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJEmployeeSkills", "SectionName", "Employee Skills", "Icon", "fa fa-user-cog", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJEmployees", "SectionName", "Direct Reports", "Icon", "fa-solid fa-users", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJUsers", "SectionName", "Users", "Icon", "fa-solid fa-user", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], [3, "Navigate", "AfterDataLoad", "Params", "NewRecordValues", "AllowLoad", "ShowToolbar"]], template: function MJEmployeeFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
79
79
|
i0.ɵɵelementStart(0, "mj-record-form-container", 0);
|
|
80
80
|
i0.ɵɵlistener("Navigate", function MJEmployeeFormComponent_Template_mj_record_form_container_Navigate_0_listener($event) { return ctx.OnFormNavigate($event); })("DeleteRequested", function MJEmployeeFormComponent_Template_mj_record_form_container_DeleteRequested_0_listener() { return ctx.OnDeleteRequested(); })("FavoriteToggled", function MJEmployeeFormComponent_Template_mj_record_form_container_FavoriteToggled_0_listener() { return ctx.OnFavoriteToggled(); })("HistoryRequested", function MJEmployeeFormComponent_Template_mj_record_form_container_HistoryRequested_0_listener() { return ctx.OnHistoryRequested(); })("ListManagementRequested", function MJEmployeeFormComponent_Template_mj_record_form_container_ListManagementRequested_0_listener() { return ctx.OnListManagementRequested(); });
|
|
81
81
|
i0.ɵɵelementStart(1, "mj-collapsible-panel", 1);
|
|
@@ -146,19 +146,19 @@ let MJEmployeeFormComponent = class MJEmployeeFormComponent extends BaseFormComp
|
|
|
146
146
|
i0.ɵɵadvance();
|
|
147
147
|
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
148
148
|
i0.ɵɵadvance();
|
|
149
|
-
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("
|
|
149
|
+
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJEmployeeCompanyIntegrations"))("DefaultExpanded", false);
|
|
150
150
|
i0.ɵɵadvance();
|
|
151
151
|
i0.ɵɵconditional(ctx.record.IsSaved ? 21 : -1);
|
|
152
152
|
i0.ɵɵadvance();
|
|
153
|
-
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("
|
|
153
|
+
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJEmployeeRoles"))("DefaultExpanded", false);
|
|
154
154
|
i0.ɵɵadvance();
|
|
155
155
|
i0.ɵɵconditional(ctx.record.IsSaved ? 23 : -1);
|
|
156
156
|
i0.ɵɵadvance();
|
|
157
|
-
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("
|
|
157
|
+
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJEmployeeSkills"))("DefaultExpanded", false);
|
|
158
158
|
i0.ɵɵadvance();
|
|
159
159
|
i0.ɵɵconditional(ctx.record.IsSaved ? 25 : -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("mJEmployees"))("DefaultExpanded", false);
|
|
162
162
|
i0.ɵɵadvance();
|
|
163
163
|
i0.ɵɵconditional(ctx.record.IsSaved ? 27 : -1);
|
|
164
164
|
i0.ɵɵadvance();
|
|
@@ -173,7 +173,7 @@ MJEmployeeFormComponent = __decorate([
|
|
|
173
173
|
export { MJEmployeeFormComponent };
|
|
174
174
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MJEmployeeFormComponent, [{
|
|
175
175
|
type: Component,
|
|
176
|
-
args: [{ standalone: false, selector: 'gen-mjemployee-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 <!-- Identifiers Section -->\n <mj-collapsible-panel\n SectionKey=\"identifiers\"\n SectionName=\"Identifiers\"\n Icon=\"fa fa-key\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"BCMID\"\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=\"CompanyID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Personal & Contact Section -->\n <mj-collapsible-panel\n SectionKey=\"personalContact\"\n SectionName=\"Personal & Contact\"\n Icon=\"fa fa-address-card\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"FirstName\"\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=\"LastName\"\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=\"Email\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Email\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Phone\"\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=\"FirstLast\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Employment Details Section -->\n <mj-collapsible-panel\n SectionKey=\"employmentDetails\"\n SectionName=\"Employment Details\"\n Icon=\"fa fa-briefcase\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SupervisorID\"\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=\"Title\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Active\"\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=\"SupervisorFirstName\"\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=\"SupervisorLastName\"\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=\"SupervisorEmail\"\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 <!-- Direct Reports Section -->\n <mj-collapsible-panel\n SectionKey=\"mJEmployees\"\n SectionName=\"Direct Reports\"\n Icon=\"fa-solid fa-users\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJEmployees')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Employees','SupervisorID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Employees')\"\n [AllowLoad]=\"IsSectionExpanded('mJEmployees')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJEmployees', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Employee Company Integrations Section -->\n <mj-collapsible-panel\n SectionKey=\"mJEmployeeCompanyIntegrations\"\n SectionName=\"Employee Company Integrations\"\n Icon=\"fa fa-link\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJEmployeeCompanyIntegrations')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Employee Company Integrations','EmployeeID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Employee Company Integrations')\"\n [AllowLoad]=\"IsSectionExpanded('mJEmployeeCompanyIntegrations')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJEmployeeCompanyIntegrations', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Employee Roles Section -->\n <mj-collapsible-panel\n SectionKey=\"mJEmployeeRoles\"\n SectionName=\"Employee Roles\"\n Icon=\"fa fa-user-tag\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJEmployeeRoles')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Employee Roles','EmployeeID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Employee Roles')\"\n [AllowLoad]=\"IsSectionExpanded('mJEmployeeRoles')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJEmployeeRoles', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Employee Skills Section -->\n <mj-collapsible-panel\n SectionKey=\"mJEmployeeSkills\"\n SectionName=\"Employee Skills\"\n Icon=\"fa fa-user-cog\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJEmployeeSkills')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Employee Skills','EmployeeID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Employee Skills')\"\n [AllowLoad]=\"IsSectionExpanded('mJEmployeeSkills')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJEmployeeSkills', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Users Section -->\n <mj-collapsible-panel\n SectionKey=\"mJUsers\"\n SectionName=\"Users\"\n Icon=\"fa-solid fa-user\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJUsers')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Users','EmployeeID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Users')\"\n [AllowLoad]=\"IsSectionExpanded('mJUsers')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJUsers', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n</mj-record-form-container>\n " }]
|
|
176
|
+
args: [{ standalone: false, selector: 'gen-mjemployee-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 <!-- Identifiers Section -->\n <mj-collapsible-panel\n SectionKey=\"identifiers\"\n SectionName=\"Identifiers\"\n Icon=\"fa fa-key\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"BCMID\"\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=\"CompanyID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Personal & Contact Section -->\n <mj-collapsible-panel\n SectionKey=\"personalContact\"\n SectionName=\"Personal & Contact\"\n Icon=\"fa fa-address-card\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"FirstName\"\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=\"LastName\"\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=\"Email\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Email\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Phone\"\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=\"FirstLast\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Employment Details Section -->\n <mj-collapsible-panel\n SectionKey=\"employmentDetails\"\n SectionName=\"Employment Details\"\n Icon=\"fa fa-briefcase\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SupervisorID\"\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=\"Title\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Active\"\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=\"SupervisorFirstName\"\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=\"SupervisorLastName\"\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=\"SupervisorEmail\"\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 <!-- Employee Company Integrations Section -->\n <mj-collapsible-panel\n SectionKey=\"mJEmployeeCompanyIntegrations\"\n SectionName=\"Employee Company Integrations\"\n Icon=\"fa fa-link\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJEmployeeCompanyIntegrations')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Employee Company Integrations','EmployeeID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Employee Company Integrations')\"\n [AllowLoad]=\"IsSectionExpanded('mJEmployeeCompanyIntegrations')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJEmployeeCompanyIntegrations', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Employee Roles Section -->\n <mj-collapsible-panel\n SectionKey=\"mJEmployeeRoles\"\n SectionName=\"Employee Roles\"\n Icon=\"fa fa-user-tag\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJEmployeeRoles')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Employee Roles','EmployeeID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Employee Roles')\"\n [AllowLoad]=\"IsSectionExpanded('mJEmployeeRoles')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJEmployeeRoles', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Employee Skills Section -->\n <mj-collapsible-panel\n SectionKey=\"mJEmployeeSkills\"\n SectionName=\"Employee Skills\"\n Icon=\"fa fa-user-cog\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJEmployeeSkills')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Employee Skills','EmployeeID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Employee Skills')\"\n [AllowLoad]=\"IsSectionExpanded('mJEmployeeSkills')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJEmployeeSkills', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Direct Reports Section -->\n <mj-collapsible-panel\n SectionKey=\"mJEmployees\"\n SectionName=\"Direct Reports\"\n Icon=\"fa-solid fa-users\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJEmployees')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Employees','SupervisorID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Employees')\"\n [AllowLoad]=\"IsSectionExpanded('mJEmployees')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJEmployees', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Users Section -->\n <mj-collapsible-panel\n SectionKey=\"mJUsers\"\n SectionName=\"Users\"\n Icon=\"fa-solid fa-user\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJUsers')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Users','EmployeeID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Users')\"\n [AllowLoad]=\"IsSectionExpanded('mJUsers')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJUsers', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n</mj-record-form-container>\n " }]
|
|
177
177
|
}], null, null); })();
|
|
178
178
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MJEmployeeFormComponent, { className: "MJEmployeeFormComponent", filePath: "src/lib/generated/Entities/MJEmployee/mjemployee.form.component.ts", lineNumber: 13 }); })();
|
|
179
179
|
//# sourceMappingURL=mjemployee.form.component.js.map
|