@memberjunction/ng-core-entity-forms 5.44.0 → 5.45.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.
Files changed (119) hide show
  1. package/dist/lib/custom/Lists/list-form.component.d.ts +1 -0
  2. package/dist/lib/custom/Lists/list-form.component.d.ts.map +1 -1
  3. package/dist/lib/custom/Lists/list-form.component.js +4 -2
  4. package/dist/lib/custom/Lists/list-form.component.js.map +1 -1
  5. package/dist/lib/custom/Queries/query-form.component.d.ts +1 -0
  6. package/dist/lib/custom/Queries/query-form.component.d.ts.map +1 -1
  7. package/dist/lib/custom/Queries/query-form.component.js +6 -4
  8. package/dist/lib/custom/Queries/query-form.component.js.map +1 -1
  9. package/dist/lib/custom/Templates/template-params-grid.component.d.ts +1 -0
  10. package/dist/lib/custom/Templates/template-params-grid.component.d.ts.map +1 -1
  11. package/dist/lib/custom/Templates/template-params-grid.component.js +5 -3
  12. package/dist/lib/custom/Templates/template-params-grid.component.js.map +1 -1
  13. package/dist/lib/custom/Templates/templates-form.component.d.ts +2 -1
  14. package/dist/lib/custom/Templates/templates-form.component.d.ts.map +1 -1
  15. package/dist/lib/custom/Templates/templates-form.component.js +10 -4
  16. package/dist/lib/custom/Templates/templates-form.component.js.map +1 -1
  17. package/dist/lib/custom/Tests/test-form.component.d.ts +2 -1
  18. package/dist/lib/custom/Tests/test-form.component.d.ts.map +1 -1
  19. package/dist/lib/custom/Tests/test-form.component.js +5 -3
  20. package/dist/lib/custom/Tests/test-form.component.js.map +1 -1
  21. package/dist/lib/custom/Tests/test-suite-form.component.d.ts +2 -1
  22. package/dist/lib/custom/Tests/test-suite-form.component.d.ts.map +1 -1
  23. package/dist/lib/custom/Tests/test-suite-form.component.js +5 -3
  24. package/dist/lib/custom/Tests/test-suite-form.component.js.map +1 -1
  25. package/dist/lib/custom/ai-agent-run/ai-agent-run-step-detail.component.d.ts +15 -1
  26. package/dist/lib/custom/ai-agent-run/ai-agent-run-step-detail.component.d.ts.map +1 -1
  27. package/dist/lib/custom/ai-agent-run/ai-agent-run-step-detail.component.js +277 -133
  28. package/dist/lib/custom/ai-agent-run/ai-agent-run-step-detail.component.js.map +1 -1
  29. package/dist/lib/custom/ai-agent-run/ai-agent-run-step-node.component.d.ts +10 -0
  30. package/dist/lib/custom/ai-agent-run/ai-agent-run-step-node.component.d.ts.map +1 -1
  31. package/dist/lib/custom/ai-agent-run/ai-agent-run-step-node.component.js +80 -26
  32. package/dist/lib/custom/ai-agent-run/ai-agent-run-step-node.component.js.map +1 -1
  33. package/dist/lib/custom/ai-agent-run/ai-agent-run-timeline.component.d.ts.map +1 -1
  34. package/dist/lib/custom/ai-agent-run/ai-agent-run-timeline.component.js +3 -1
  35. package/dist/lib/custom/ai-agent-run/ai-agent-run-timeline.component.js.map +1 -1
  36. package/dist/lib/custom/ai-agent-run/ai-agent-run.component.js +273 -263
  37. package/dist/lib/custom/ai-agent-run/ai-agent-run.component.js.map +1 -1
  38. package/dist/lib/generated/Entities/MJAIAgent/mjaiagent.form.component.d.ts.map +1 -1
  39. package/dist/lib/generated/Entities/MJAIAgent/mjaiagent.form.component.js +219 -197
  40. package/dist/lib/generated/Entities/MJAIAgent/mjaiagent.form.component.js.map +1 -1
  41. package/dist/lib/generated/Entities/MJAIAgentRun/mjaiagentrun.form.component.d.ts.map +1 -1
  42. package/dist/lib/generated/Entities/MJAIAgentRun/mjaiagentrun.form.component.js +116 -96
  43. package/dist/lib/generated/Entities/MJAIAgentRun/mjaiagentrun.form.component.js.map +1 -1
  44. package/dist/lib/generated/Entities/MJAIAgentRunStep/mjaiagentrunstep.form.component.js +23 -21
  45. package/dist/lib/generated/Entities/MJAIAgentRunStep/mjaiagentrunstep.form.component.js.map +1 -1
  46. package/dist/lib/generated/Entities/MJAIAgentSession/mjaiagentsession.form.component.d.ts.map +1 -1
  47. package/dist/lib/generated/Entities/MJAIAgentSession/mjaiagentsession.form.component.js +44 -34
  48. package/dist/lib/generated/Entities/MJAIAgentSession/mjaiagentsession.form.component.js.map +1 -1
  49. package/dist/lib/generated/Entities/MJAIPromptRun/mjaipromptrun.form.component.d.ts.map +1 -1
  50. package/dist/lib/generated/Entities/MJAIPromptRun/mjaipromptrun.form.component.js +29 -11
  51. package/dist/lib/generated/Entities/MJAIPromptRun/mjaipromptrun.form.component.js.map +1 -1
  52. package/dist/lib/generated/Entities/MJAISkill/mjaiskill.form.component.js +37 -35
  53. package/dist/lib/generated/Entities/MJAISkill/mjaiskill.form.component.js.map +1 -1
  54. package/dist/lib/generated/Entities/MJActionExecutionLog/mjactionexecutionlog.form.component.d.ts.map +1 -1
  55. package/dist/lib/generated/Entities/MJActionExecutionLog/mjactionexecutionlog.form.component.js +23 -5
  56. package/dist/lib/generated/Entities/MJActionExecutionLog/mjactionexecutionlog.form.component.js.map +1 -1
  57. package/dist/lib/generated/Entities/MJApplication/mjapplication.form.component.d.ts.map +1 -1
  58. package/dist/lib/generated/Entities/MJApplication/mjapplication.form.component.js +31 -13
  59. package/dist/lib/generated/Entities/MJApplication/mjapplication.form.component.js.map +1 -1
  60. package/dist/lib/generated/Entities/MJConversation/mjconversation.form.component.d.ts.map +1 -1
  61. package/dist/lib/generated/Entities/MJConversation/mjconversation.form.component.js +91 -43
  62. package/dist/lib/generated/Entities/MJConversation/mjconversation.form.component.js.map +1 -1
  63. package/dist/lib/generated/Entities/MJConversationWidgetInstance/mjconversationwidgetinstance.form.component.d.ts +10 -0
  64. package/dist/lib/generated/Entities/MJConversationWidgetInstance/mjconversationwidgetinstance.form.component.d.ts.map +1 -0
  65. package/dist/lib/generated/Entities/MJConversationWidgetInstance/mjconversationwidgetinstance.form.component.js +86 -0
  66. package/dist/lib/generated/Entities/MJConversationWidgetInstance/mjconversationwidgetinstance.form.component.js.map +1 -0
  67. package/dist/lib/generated/Entities/MJCredential/mjcredential.form.component.d.ts.map +1 -1
  68. package/dist/lib/generated/Entities/MJCredential/mjcredential.form.component.js +30 -12
  69. package/dist/lib/generated/Entities/MJCredential/mjcredential.form.component.js.map +1 -1
  70. package/dist/lib/generated/Entities/MJCredentialType/mjcredentialtype.form.component.d.ts.map +1 -1
  71. package/dist/lib/generated/Entities/MJCredentialType/mjcredentialtype.form.component.js +27 -9
  72. package/dist/lib/generated/Entities/MJCredentialType/mjcredentialtype.form.component.js.map +1 -1
  73. package/dist/lib/generated/Entities/MJEntity/mjentity.form.component.d.ts.map +1 -1
  74. package/dist/lib/generated/Entities/MJEntity/mjentity.form.component.js +447 -419
  75. package/dist/lib/generated/Entities/MJEntity/mjentity.form.component.js.map +1 -1
  76. package/dist/lib/generated/Entities/MJEnvironment/mjenvironment.form.component.d.ts.map +1 -1
  77. package/dist/lib/generated/Entities/MJEnvironment/mjenvironment.form.component.js +29 -11
  78. package/dist/lib/generated/Entities/MJEnvironment/mjenvironment.form.component.js.map +1 -1
  79. package/dist/lib/generated/Entities/MJExternalDataSource/mjexternaldatasource.form.component.d.ts +10 -0
  80. package/dist/lib/generated/Entities/MJExternalDataSource/mjexternaldatasource.form.component.d.ts.map +1 -0
  81. package/dist/lib/generated/Entities/MJExternalDataSource/mjexternaldatasource.form.component.js +113 -0
  82. package/dist/lib/generated/Entities/MJExternalDataSource/mjexternaldatasource.form.component.js.map +1 -0
  83. package/dist/lib/generated/Entities/MJExternalDataSourceType/mjexternaldatasourcetype.form.component.d.ts +10 -0
  84. package/dist/lib/generated/Entities/MJExternalDataSourceType/mjexternaldatasourcetype.form.component.d.ts.map +1 -0
  85. package/dist/lib/generated/Entities/MJExternalDataSourceType/mjexternaldatasourcetype.form.component.js +95 -0
  86. package/dist/lib/generated/Entities/MJExternalDataSourceType/mjexternaldatasourcetype.form.component.js.map +1 -0
  87. package/dist/lib/generated/Entities/MJQuery/mjquery.form.component.d.ts.map +1 -1
  88. package/dist/lib/generated/Entities/MJQuery/mjquery.form.component.js +54 -46
  89. package/dist/lib/generated/Entities/MJQuery/mjquery.form.component.js.map +1 -1
  90. package/dist/lib/generated/Entities/MJRole/mjrole.form.component.d.ts.map +1 -1
  91. package/dist/lib/generated/Entities/MJRole/mjrole.form.component.js +37 -19
  92. package/dist/lib/generated/Entities/MJRole/mjrole.form.component.js.map +1 -1
  93. package/dist/lib/generated/Entities/MJTemplate/mjtemplate.form.component.d.ts.map +1 -1
  94. package/dist/lib/generated/Entities/MJTemplate/mjtemplate.form.component.js +30 -12
  95. package/dist/lib/generated/Entities/MJTemplate/mjtemplate.form.component.js.map +1 -1
  96. package/dist/lib/generated/Entities/MJUser/mjuser.form.component.d.ts.map +1 -1
  97. package/dist/lib/generated/Entities/MJUser/mjuser.form.component.js +147 -111
  98. package/dist/lib/generated/Entities/MJUser/mjuser.form.component.js.map +1 -1
  99. package/dist/lib/generated/Entities/MJUserRoutine/mjuserroutine.form.component.d.ts +10 -0
  100. package/dist/lib/generated/Entities/MJUserRoutine/mjuserroutine.form.component.d.ts.map +1 -0
  101. package/dist/lib/generated/Entities/MJUserRoutine/mjuserroutine.form.component.js +169 -0
  102. package/dist/lib/generated/Entities/MJUserRoutine/mjuserroutine.form.component.js.map +1 -0
  103. package/dist/lib/generated/Entities/MJUserRoutineRecipient/mjuserroutinerecipient.form.component.d.ts +10 -0
  104. package/dist/lib/generated/Entities/MJUserRoutineRecipient/mjuserroutinerecipient.form.component.d.ts.map +1 -0
  105. package/dist/lib/generated/Entities/MJUserRoutineRecipient/mjuserroutinerecipient.form.component.js +82 -0
  106. package/dist/lib/generated/Entities/MJUserRoutineRecipient/mjuserroutinerecipient.form.component.js.map +1 -0
  107. package/dist/lib/generated/Entities/MJUserRoutineRun/mjuserroutinerun.form.component.d.ts +10 -0
  108. package/dist/lib/generated/Entities/MJUserRoutineRun/mjuserroutinerun.form.component.d.ts.map +1 -0
  109. package/dist/lib/generated/Entities/MJUserRoutineRun/mjuserroutinerun.form.component.js +100 -0
  110. package/dist/lib/generated/Entities/MJUserRoutineRun/mjuserroutinerun.form.component.js.map +1 -0
  111. package/dist/lib/generated/generated-forms.module.d.ts +243 -237
  112. package/dist/lib/generated/generated-forms.module.d.ts.map +1 -1
  113. package/dist/lib/generated/generated-forms.module.js +109 -91
  114. package/dist/lib/generated/generated-forms.module.js.map +1 -1
  115. package/dist/lib/shared/components/template-editor.component.d.ts +4 -2
  116. package/dist/lib/shared/components/template-editor.component.d.ts.map +1 -1
  117. package/dist/lib/shared/components/template-editor.component.js +10 -9
  118. package/dist/lib/shared/components/template-editor.component.js.map +1 -1
  119. package/package.json +38 -38
@@ -1 +1 @@
1
- {"version":3,"file":"mjrole.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJRole/mjrole.form.component.ts","../../../../../src/lib/generated/Entities/MJRole/mjrole.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+FtD,AADJ,2BAAK,uCAQI;IADD,AADA,0NAAY,6BAAsB,KAAC,uNAClB,0BAAmB,sBAAsB,uBAAuB,KAAC;IAG1F,AADI,iBAA+B,EAC7B;;;IARE,cAAsF;IAGtF,AADA,AADA,AADA,4GAAsF,sEACxB,+DACP,sBAClC;;;;IAqBzB,AADJ,2BAAK,uCAQI;IADD,AADA,0NAAY,6BAAsB,KAAC,uNAClB,0BAAmB,iBAAiB,uBAAuB,KAAC;IAGrF,AADI,iBAA+B,EAC7B;;;IARE,cAAiF;IAGjF,AADA,AADA,AADA,uGAAiF,iEACxB,0DACP,sBAC7B;;;;IAqBzB,AADJ,2BAAK,uCAQI;IADD,AADA,0NAAY,6BAAsB,KAAC,uNAClB,0BAAmB,qBAAqB,uBAAuB,KAAC;IAGzF,AADI,iBAA+B,EAC7B;;;IARE,cAAqF;IAGrF,AADA,AADA,AADA,2GAAqF,qEACxB,8DACP,sBACjC;;;;IAqBzB,AADJ,2BAAK,uCAQI;IADD,AADA,0NAAY,6BAAsB,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AADA,0BAAa,gCACc,qDACqB,0BACvB;YACzB,cAYC;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,4DAC4B,0BAC9B;YACzB,cAYC;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,yEACyC,0BAC3C;YACzB,cAYC;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,0EAC0C,0BAC5C;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,8DAC8B,0BAChC;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,+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,4DAC4B,0BAC9B;YACzB,cAYC;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,8DAC8B,0BAChC;YACzB,cAYC;YAZD,8CAYC;YAGe,cAAmC;YAA+D,AAAvB,AAAlB,AAAzD,wBAAA,4CAAmC,CAAA,sBAAuC,sBAAuB,gCAA4B;;;ADjcxI,mBAAmB;IAN/B,aAAa,CAAC,iBAAiB,EAAE,WAAW,CAAC,CAAC,uCAAuC;GAMzE,mBAAmB,CAyB/B;;iFAzBY,mBAAmB;cAL/B,SAAS;6BACM,KAAK,YACP,iBAAiB;;kFAGlB,mBAAmB","sourcesContent":["import { Component } from '@angular/core';\nimport { MJRoleEntity } 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: Roles') // Tell MemberJunction about this class\n@Component({\n standalone: false,\n selector: 'gen-mjrole-form',\n templateUrl: './mjrole.form.component.html'\n})\nexport class MJRoleFormComponent extends BaseFormComponent {\n public record!: MJRoleEntity;\n\n override async ngOnInit() {\n await super.ngOnInit();\n this.initSections([\n { sectionKey: 'coreRoleDetails', sectionName: 'Core Role Details', isExpanded: true },\n { sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },\n { sectionKey: 'mJAuthorizationRoles', sectionName: 'Authorization Roles', isExpanded: false },\n { sectionKey: 'mJEmployeeRoles', sectionName: 'Employee Roles', isExpanded: false },\n { sectionKey: 'mJEntityPermissions', sectionName: 'Entity Permissions', isExpanded: false },\n { sectionKey: 'mJQueryPermissions', sectionName: 'Query Permissions', isExpanded: false },\n { sectionKey: 'mJUserRoles', sectionName: 'User Roles', isExpanded: false },\n { sectionKey: 'mJApplicationRoles', sectionName: 'Application Roles', isExpanded: false },\n { sectionKey: 'mJFileStorageAccountPermissions', sectionName: 'File Storage Account Permissions', isExpanded: false },\n { sectionKey: 'mJMCPServerConnectionPermissions', sectionName: 'MCP Server Connection Permissions', isExpanded: false },\n { sectionKey: 'mJResourcePermissions', sectionName: 'Resource Permissions', isExpanded: false },\n { sectionKey: 'mJAIAgentPermissions', sectionName: 'AI Agent Permissions', isExpanded: false },\n { sectionKey: 'mJSearchScopePermissions', sectionName: 'Search Scope Permissions', isExpanded: false },\n { sectionKey: 'mJEntityFormOverrides', sectionName: 'Entity Form Overrides', isExpanded: false },\n { sectionKey: 'mJMagicLinkInviteRoles', sectionName: 'Magic Link Invite Roles', isExpanded: false },\n { sectionKey: 'mJMagicLinkInvites', sectionName: 'Magic Link Invites', isExpanded: false },\n { sectionKey: 'mJAISkillPermissions', sectionName: 'AI Skill 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 <mj-form-panel-slot Entity=\"{{record.EntityInfo.Name}}\" Slot=\"before-fields\" [Record]=\"record\" [FormComponent]=\"this\" [FormContext]=\"formContext\"></mj-form-panel-slot>\n\n <!-- ========================================\n FIELD PANELS\n ======================================== -->\n <!-- Core Role Details Section -->\n <mj-collapsible-panel\n SectionKey=\"coreRoleDetails\"\n SectionName=\"Core Role Details\"\n Icon=\"fa fa-shield-alt\"\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=\"DirectoryID\"\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=\"SQLName\"\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 <mj-form-panel-slot Entity=\"{{record.EntityInfo.Name}}\" Slot=\"after-fields\" [Record]=\"record\" [FormComponent]=\"this\" [FormContext]=\"formContext\"></mj-form-panel-slot>\n\n <!-- ========================================\n RELATED ENTITY PANELS\n ======================================== -->\n\n <!-- Authorization Roles Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAuthorizationRoles\"\n SectionName=\"Authorization Roles\"\n Icon=\"fa fa-user-shield\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAuthorizationRoles')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Authorization Roles','RoleID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Authorization Roles')\"\n [AllowLoad]=\"IsSectionExpanded('mJAuthorizationRoles')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAuthorizationRoles', $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','RoleID')\"\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 <!-- Entity Permissions Section -->\n <mj-collapsible-panel\n SectionKey=\"mJEntityPermissions\"\n SectionName=\"Entity Permissions\"\n Icon=\"fa fa-shield-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJEntityPermissions')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Entity Permissions','RoleID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Entity Permissions')\"\n [AllowLoad]=\"IsSectionExpanded('mJEntityPermissions')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJEntityPermissions', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Query Permissions Section -->\n <mj-collapsible-panel\n SectionKey=\"mJQueryPermissions\"\n SectionName=\"Query Permissions\"\n Icon=\"fa fa-shield-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJQueryPermissions')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Query Permissions','RoleID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Query Permissions')\"\n [AllowLoad]=\"IsSectionExpanded('mJQueryPermissions')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJQueryPermissions', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- User Roles Section -->\n <mj-collapsible-panel\n SectionKey=\"mJUserRoles\"\n SectionName=\"User Roles\"\n Icon=\"fa fa-user-shield\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJUserRoles')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: User Roles','RoleID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: User Roles')\"\n [AllowLoad]=\"IsSectionExpanded('mJUserRoles')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJUserRoles', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Application Roles Section -->\n <mj-collapsible-panel\n SectionKey=\"mJApplicationRoles\"\n SectionName=\"Application Roles\"\n Icon=\"fa fa-shield-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJApplicationRoles')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Application Roles','RoleID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Application Roles')\"\n [AllowLoad]=\"IsSectionExpanded('mJApplicationRoles')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJApplicationRoles', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- File Storage Account Permissions Section -->\n <mj-collapsible-panel\n SectionKey=\"mJFileStorageAccountPermissions\"\n SectionName=\"File Storage Account Permissions\"\n Icon=\"fa fa-shield-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJFileStorageAccountPermissions')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: File Storage Account Permissions','RoleID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: File Storage Account Permissions')\"\n [AllowLoad]=\"IsSectionExpanded('mJFileStorageAccountPermissions')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJFileStorageAccountPermissions', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- MCP Server Connection Permissions Section -->\n <mj-collapsible-panel\n SectionKey=\"mJMCPServerConnectionPermissions\"\n SectionName=\"MCP Server Connection Permissions\"\n Icon=\"fa fa-server\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJMCPServerConnectionPermissions')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: MCP Server Connection Permissions','RoleID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: MCP Server Connection Permissions')\"\n [AllowLoad]=\"IsSectionExpanded('mJMCPServerConnectionPermissions')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJMCPServerConnectionPermissions', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Resource Permissions Section -->\n <mj-collapsible-panel\n SectionKey=\"mJResourcePermissions\"\n SectionName=\"Resource Permissions\"\n Icon=\"fa fa-lock\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJResourcePermissions')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Resource Permissions','RoleID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Resource Permissions')\"\n [AllowLoad]=\"IsSectionExpanded('mJResourcePermissions')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJResourcePermissions', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- AI Agent Permissions Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAIAgentPermissions\"\n SectionName=\"AI Agent Permissions\"\n Icon=\"fa fa-robot\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAIAgentPermissions')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Agent Permissions','RoleID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Agent Permissions')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIAgentPermissions')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAIAgentPermissions', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Search Scope Permissions Section -->\n <mj-collapsible-panel\n SectionKey=\"mJSearchScopePermissions\"\n SectionName=\"Search Scope Permissions\"\n Icon=\"fa fa-shield-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJSearchScopePermissions')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Search Scope Permissions','RoleID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Search Scope Permissions')\"\n [AllowLoad]=\"IsSectionExpanded('mJSearchScopePermissions')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJSearchScopePermissions', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Entity Form Overrides Section -->\n <mj-collapsible-panel\n SectionKey=\"mJEntityFormOverrides\"\n SectionName=\"Entity Form Overrides\"\n Icon=\"fa fa-window-restore\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJEntityFormOverrides')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Entity Form Overrides','RoleID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Entity Form Overrides')\"\n [AllowLoad]=\"IsSectionExpanded('mJEntityFormOverrides')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJEntityFormOverrides', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Magic Link Invite Roles Section -->\n <mj-collapsible-panel\n SectionKey=\"mJMagicLinkInviteRoles\"\n SectionName=\"Magic Link Invite Roles\"\n Icon=\"fa fa-table\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJMagicLinkInviteRoles')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Magic Link Invite Roles','RoleID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Magic Link Invite Roles')\"\n [AllowLoad]=\"IsSectionExpanded('mJMagicLinkInviteRoles')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJMagicLinkInviteRoles', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Magic Link Invites Section -->\n <mj-collapsible-panel\n SectionKey=\"mJMagicLinkInvites\"\n SectionName=\"Magic Link Invites\"\n Icon=\"fa fa-table\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJMagicLinkInvites')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Magic Link Invites','RoleID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Magic Link Invites')\"\n [AllowLoad]=\"IsSectionExpanded('mJMagicLinkInvites')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJMagicLinkInvites', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- AI Skill Permissions Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAISkillPermissions\"\n SectionName=\"AI Skill Permissions\"\n Icon=\"fa fa-user-shield\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAISkillPermissions')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Skill Permissions','RoleID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Skill Permissions')\"\n [AllowLoad]=\"IsSectionExpanded('mJAISkillPermissions')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAISkillPermissions', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <mj-form-panel-slot Entity=\"{{record.EntityInfo.Name}}\" Slot=\"after-related\" [Record]=\"record\" [FormComponent]=\"this\" [FormContext]=\"formContext\"></mj-form-panel-slot>\n</mj-record-form-container>\n "]}
1
+ {"version":3,"file":"mjrole.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJRole/mjrole.form.component.ts","../../../../../src/lib/generated/Entities/MJRole/mjrole.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+FtD,AADJ,2BAAK,uCAQI;IADD,AADA,0NAAY,6BAAsB,KAAC,uNAClB,0BAAmB,sBAAsB,uBAAuB,KAAC;IAG1F,AADI,iBAA+B,EAC7B;;;IARE,cAAsF;IAGtF,AADA,AADA,AADA,4GAAsF,sEACxB,+DACP,sBAClC;;;;IAqBzB,AADJ,2BAAK,uCAQI;IADD,AADA,0NAAY,6BAAsB,KAAC,uNAClB,0BAAmB,iBAAiB,uBAAuB,KAAC;IAGrF,AADI,iBAA+B,EAC7B;;;I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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,4DAC4B,0BAC9B;YACzB,cAYC;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,8DAC8B,0BAChC;YACzB,cAYC;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,uEACuC,0BACzC;YACzB,cAYC;YAZD,8CAYC;YAGe,cAAmC;YAA+D,AAAvB,AAAlB,AAAzD,wBAAA,4CAAmC,CAAA,sBAAuC,sBAAuB,gCAA4B;;;AD1dxI,mBAAmB;IAN/B,aAAa,CAAC,iBAAiB,EAAE,WAAW,CAAC,CAAC,uCAAuC;GAMzE,mBAAmB,CA0B/B;;iFA1BY,mBAAmB;cAL/B,SAAS;6BACM,KAAK,YACP,iBAAiB;;kFAGlB,mBAAmB","sourcesContent":["import { Component } from '@angular/core';\nimport { MJRoleEntity } 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: Roles') // Tell MemberJunction about this class\n@Component({\n standalone: false,\n selector: 'gen-mjrole-form',\n templateUrl: './mjrole.form.component.html'\n})\nexport class MJRoleFormComponent extends BaseFormComponent {\n public record!: MJRoleEntity;\n\n override async ngOnInit() {\n await super.ngOnInit();\n this.initSections([\n { sectionKey: 'coreRoleDetails', sectionName: 'Core Role Details', isExpanded: true },\n { sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },\n { sectionKey: 'mJAuthorizationRoles', sectionName: 'Authorization Roles', isExpanded: false },\n { sectionKey: 'mJEmployeeRoles', sectionName: 'Employee Roles', isExpanded: false },\n { sectionKey: 'mJEntityPermissions', sectionName: 'Entity Permissions', isExpanded: false },\n { sectionKey: 'mJQueryPermissions', sectionName: 'Query Permissions', isExpanded: false },\n { sectionKey: 'mJUserRoles', sectionName: 'User Roles', isExpanded: false },\n { sectionKey: 'mJApplicationRoles', sectionName: 'Application Roles', isExpanded: false },\n { sectionKey: 'mJFileStorageAccountPermissions', sectionName: 'File Storage Account Permissions', isExpanded: false },\n { sectionKey: 'mJMCPServerConnectionPermissions', sectionName: 'MCP Server Connection Permissions', isExpanded: false },\n { sectionKey: 'mJResourcePermissions', sectionName: 'Resource Permissions', isExpanded: false },\n { sectionKey: 'mJAIAgentPermissions', sectionName: 'AI Agent Permissions', isExpanded: false },\n { sectionKey: 'mJSearchScopePermissions', sectionName: 'Search Scope Permissions', isExpanded: false },\n { sectionKey: 'mJEntityFormOverrides', sectionName: 'Entity Form Overrides', isExpanded: false },\n { sectionKey: 'mJMagicLinkInviteRoles', sectionName: 'Magic Link Invite Roles', isExpanded: false },\n { sectionKey: 'mJMagicLinkInvites', sectionName: 'Magic Link Invites', isExpanded: false },\n { sectionKey: 'mJAISkillPermissions', sectionName: 'AI Skill Permissions', isExpanded: false },\n { sectionKey: 'mJConversationWidgetInstances', sectionName: 'Conversation Widget Instances', 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 <mj-form-panel-slot Entity=\"{{record.EntityInfo.Name}}\" Slot=\"before-fields\" [Record]=\"record\" [FormComponent]=\"this\" [FormContext]=\"formContext\"></mj-form-panel-slot>\n\n <!-- ========================================\n FIELD PANELS\n ======================================== -->\n <!-- Core Role Details Section -->\n <mj-collapsible-panel\n SectionKey=\"coreRoleDetails\"\n SectionName=\"Core Role Details\"\n Icon=\"fa fa-shield-alt\"\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=\"DirectoryID\"\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=\"SQLName\"\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 <mj-form-panel-slot Entity=\"{{record.EntityInfo.Name}}\" Slot=\"after-fields\" [Record]=\"record\" [FormComponent]=\"this\" [FormContext]=\"formContext\"></mj-form-panel-slot>\n\n <!-- ========================================\n RELATED ENTITY PANELS\n ======================================== -->\n\n <!-- Authorization Roles Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAuthorizationRoles\"\n SectionName=\"Authorization Roles\"\n Icon=\"fa fa-user-shield\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAuthorizationRoles')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Authorization Roles','RoleID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Authorization Roles')\"\n [AllowLoad]=\"IsSectionExpanded('mJAuthorizationRoles')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAuthorizationRoles', $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','RoleID')\"\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 <!-- Entity Permissions Section -->\n <mj-collapsible-panel\n SectionKey=\"mJEntityPermissions\"\n SectionName=\"Entity Permissions\"\n Icon=\"fa fa-shield-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJEntityPermissions')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Entity Permissions','RoleID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Entity Permissions')\"\n [AllowLoad]=\"IsSectionExpanded('mJEntityPermissions')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJEntityPermissions', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Query Permissions Section -->\n <mj-collapsible-panel\n SectionKey=\"mJQueryPermissions\"\n SectionName=\"Query Permissions\"\n Icon=\"fa fa-shield-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJQueryPermissions')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Query Permissions','RoleID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Query Permissions')\"\n [AllowLoad]=\"IsSectionExpanded('mJQueryPermissions')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJQueryPermissions', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- User Roles Section -->\n <mj-collapsible-panel\n SectionKey=\"mJUserRoles\"\n SectionName=\"User Roles\"\n Icon=\"fa fa-user-shield\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJUserRoles')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: User Roles','RoleID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: User Roles')\"\n [AllowLoad]=\"IsSectionExpanded('mJUserRoles')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJUserRoles', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Application Roles Section -->\n <mj-collapsible-panel\n SectionKey=\"mJApplicationRoles\"\n SectionName=\"Application Roles\"\n Icon=\"fa fa-shield-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJApplicationRoles')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Application Roles','RoleID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Application Roles')\"\n [AllowLoad]=\"IsSectionExpanded('mJApplicationRoles')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJApplicationRoles', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- File Storage Account Permissions Section -->\n <mj-collapsible-panel\n SectionKey=\"mJFileStorageAccountPermissions\"\n SectionName=\"File Storage Account Permissions\"\n Icon=\"fa fa-shield-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJFileStorageAccountPermissions')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: File Storage Account Permissions','RoleID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: File Storage Account Permissions')\"\n [AllowLoad]=\"IsSectionExpanded('mJFileStorageAccountPermissions')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJFileStorageAccountPermissions', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- MCP Server Connection Permissions Section -->\n <mj-collapsible-panel\n SectionKey=\"mJMCPServerConnectionPermissions\"\n SectionName=\"MCP Server Connection Permissions\"\n Icon=\"fa fa-server\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJMCPServerConnectionPermissions')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: MCP Server Connection Permissions','RoleID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: MCP Server Connection Permissions')\"\n [AllowLoad]=\"IsSectionExpanded('mJMCPServerConnectionPermissions')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJMCPServerConnectionPermissions', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Resource Permissions Section -->\n <mj-collapsible-panel\n SectionKey=\"mJResourcePermissions\"\n SectionName=\"Resource Permissions\"\n Icon=\"fa fa-lock\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJResourcePermissions')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Resource Permissions','RoleID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Resource Permissions')\"\n [AllowLoad]=\"IsSectionExpanded('mJResourcePermissions')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJResourcePermissions', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- AI Agent Permissions Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAIAgentPermissions\"\n SectionName=\"AI Agent Permissions\"\n Icon=\"fa fa-robot\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAIAgentPermissions')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Agent Permissions','RoleID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Agent Permissions')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIAgentPermissions')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAIAgentPermissions', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Search Scope Permissions Section -->\n <mj-collapsible-panel\n SectionKey=\"mJSearchScopePermissions\"\n SectionName=\"Search Scope Permissions\"\n Icon=\"fa fa-shield-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJSearchScopePermissions')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Search Scope Permissions','RoleID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Search Scope Permissions')\"\n [AllowLoad]=\"IsSectionExpanded('mJSearchScopePermissions')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJSearchScopePermissions', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Entity Form Overrides Section -->\n <mj-collapsible-panel\n SectionKey=\"mJEntityFormOverrides\"\n SectionName=\"Entity Form Overrides\"\n Icon=\"fa fa-window-restore\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJEntityFormOverrides')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Entity Form Overrides','RoleID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Entity Form Overrides')\"\n [AllowLoad]=\"IsSectionExpanded('mJEntityFormOverrides')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJEntityFormOverrides', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Magic Link Invite Roles Section -->\n <mj-collapsible-panel\n SectionKey=\"mJMagicLinkInviteRoles\"\n SectionName=\"Magic Link Invite Roles\"\n Icon=\"fa fa-table\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJMagicLinkInviteRoles')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Magic Link Invite Roles','RoleID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Magic Link Invite Roles')\"\n [AllowLoad]=\"IsSectionExpanded('mJMagicLinkInviteRoles')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJMagicLinkInviteRoles', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Magic Link Invites Section -->\n <mj-collapsible-panel\n SectionKey=\"mJMagicLinkInvites\"\n SectionName=\"Magic Link Invites\"\n Icon=\"fa fa-table\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJMagicLinkInvites')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Magic Link Invites','RoleID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Magic Link Invites')\"\n [AllowLoad]=\"IsSectionExpanded('mJMagicLinkInvites')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJMagicLinkInvites', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- AI Skill Permissions Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAISkillPermissions\"\n SectionName=\"AI Skill Permissions\"\n Icon=\"fa fa-user-shield\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAISkillPermissions')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Skill Permissions','RoleID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Skill Permissions')\"\n [AllowLoad]=\"IsSectionExpanded('mJAISkillPermissions')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAISkillPermissions', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Conversation Widget Instances Section -->\n <mj-collapsible-panel\n SectionKey=\"mJConversationWidgetInstances\"\n SectionName=\"Conversation Widget Instances\"\n Icon=\"fa fa-table\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJConversationWidgetInstances')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Conversation Widget Instances','GuestRoleID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Conversation Widget Instances')\"\n [AllowLoad]=\"IsSectionExpanded('mJConversationWidgetInstances')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJConversationWidgetInstances', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <mj-form-panel-slot Entity=\"{{record.EntityInfo.Name}}\" Slot=\"after-related\" [Record]=\"record\" [FormComponent]=\"this\" [FormContext]=\"formContext\"></mj-form-panel-slot>\n</mj-record-form-container>\n "]}
@@ -1 +1 @@
1
- {"version":3,"file":"mjtemplate.form.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJTemplate/mjtemplate.form.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAEjE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAGlE,qBAMa,uBAAwB,SAAQ,iBAAiB;IACnD,MAAM,EAAG,gBAAgB,CAAC;IAElB,QAAQ;yCAHd,uBAAuB;2CAAvB,uBAAuB;CAoBnC"}
1
+ {"version":3,"file":"mjtemplate.form.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJTemplate/mjtemplate.form.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAEjE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAGlE,qBAMa,uBAAwB,SAAQ,iBAAiB;IACnD,MAAM,EAAG,gBAAgB,CAAC;IAElB,QAAQ;yCAHd,uBAAuB;2CAAvB,uBAAuB;CAqBnC"}
@@ -11,7 +11,7 @@ import * as i0 from "@angular/core";
11
11
  import * as i1 from "@memberjunction/ng-base-forms";
12
12
  function MJTemplateFormComponent_Conditional_18_Template(rf, ctx) { if (rf & 1) {
13
13
  const _r1 = i0.ɵɵgetCurrentView();
14
- i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 26);
14
+ i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 27);
15
15
  i0.ɵɵlistener("Navigate", function MJTemplateFormComponent_Conditional_18_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 MJTemplateFormComponent_Conditional_18_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJTemplateContents", $event.totalRowCount)); });
16
16
  i0.ɵɵelementEnd()();
17
17
  } if (rf & 2) {
@@ -21,7 +21,7 @@ function MJTemplateFormComponent_Conditional_18_Template(rf, ctx) { if (rf & 1)
21
21
  } }
22
22
  function MJTemplateFormComponent_Conditional_20_Template(rf, ctx) { if (rf & 1) {
23
23
  const _r3 = i0.ɵɵgetCurrentView();
24
- i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 26);
24
+ i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 27);
25
25
  i0.ɵɵlistener("Navigate", function MJTemplateFormComponent_Conditional_20_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 MJTemplateFormComponent_Conditional_20_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJTemplateParams", $event.totalRowCount)); });
26
26
  i0.ɵɵelementEnd()();
27
27
  } if (rf & 2) {
@@ -31,7 +31,7 @@ function MJTemplateFormComponent_Conditional_20_Template(rf, ctx) { if (rf & 1)
31
31
  } }
32
32
  function MJTemplateFormComponent_Conditional_22_Template(rf, ctx) { if (rf & 1) {
33
33
  const _r4 = i0.ɵɵgetCurrentView();
34
- i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 26);
34
+ i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 27);
35
35
  i0.ɵɵlistener("Navigate", function MJTemplateFormComponent_Conditional_22_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 MJTemplateFormComponent_Conditional_22_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJUserNotificationTypesEmailTemplateID", $event.totalRowCount)); });
36
36
  i0.ɵɵelementEnd()();
37
37
  } if (rf & 2) {
@@ -41,7 +41,7 @@ function MJTemplateFormComponent_Conditional_22_Template(rf, ctx) { if (rf & 1)
41
41
  } }
42
42
  function MJTemplateFormComponent_Conditional_24_Template(rf, ctx) { if (rf & 1) {
43
43
  const _r5 = i0.ɵɵgetCurrentView();
44
- i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 26);
44
+ i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 27);
45
45
  i0.ɵɵlistener("Navigate", function MJTemplateFormComponent_Conditional_24_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 MJTemplateFormComponent_Conditional_24_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJAIPrompts", $event.totalRowCount)); });
46
46
  i0.ɵɵelementEnd()();
47
47
  } if (rf & 2) {
@@ -51,7 +51,7 @@ function MJTemplateFormComponent_Conditional_24_Template(rf, ctx) { if (rf & 1)
51
51
  } }
52
52
  function MJTemplateFormComponent_Conditional_26_Template(rf, ctx) { if (rf & 1) {
53
53
  const _r6 = i0.ɵɵgetCurrentView();
54
- i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 26);
54
+ i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 27);
55
55
  i0.ɵɵlistener("Navigate", function MJTemplateFormComponent_Conditional_26_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function MJTemplateFormComponent_Conditional_26_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJSearchScopeProviders", $event.totalRowCount)); });
56
56
  i0.ɵɵelementEnd()();
57
57
  } if (rf & 2) {
@@ -61,7 +61,7 @@ function MJTemplateFormComponent_Conditional_26_Template(rf, ctx) { if (rf & 1)
61
61
  } }
62
62
  function MJTemplateFormComponent_Conditional_28_Template(rf, ctx) { if (rf & 1) {
63
63
  const _r7 = i0.ɵɵgetCurrentView();
64
- i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 26);
64
+ i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 27);
65
65
  i0.ɵɵlistener("Navigate", function MJTemplateFormComponent_Conditional_28_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function MJTemplateFormComponent_Conditional_28_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJUserNotificationTypesSMSTemplateID", $event.totalRowCount)); });
66
66
  i0.ɵɵelementEnd()();
67
67
  } if (rf & 2) {
@@ -71,7 +71,7 @@ function MJTemplateFormComponent_Conditional_28_Template(rf, ctx) { if (rf & 1)
71
71
  } }
72
72
  function MJTemplateFormComponent_Conditional_30_Template(rf, ctx) { if (rf & 1) {
73
73
  const _r8 = i0.ɵɵgetCurrentView();
74
- i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 26);
74
+ i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 27);
75
75
  i0.ɵɵlistener("Navigate", function MJTemplateFormComponent_Conditional_30_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function MJTemplateFormComponent_Conditional_30_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJAIAgentSearchScopes", $event.totalRowCount)); });
76
76
  i0.ɵɵelementEnd()();
77
77
  } if (rf & 2) {
@@ -81,7 +81,7 @@ function MJTemplateFormComponent_Conditional_30_Template(rf, ctx) { if (rf & 1)
81
81
  } }
82
82
  function MJTemplateFormComponent_Conditional_32_Template(rf, ctx) { if (rf & 1) {
83
83
  const _r9 = i0.ɵɵgetCurrentView();
84
- i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 26);
84
+ i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 27);
85
85
  i0.ɵɵlistener("Navigate", function MJTemplateFormComponent_Conditional_32_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r9); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function MJTemplateFormComponent_Conditional_32_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r9); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJEntityDocuments", $event.totalRowCount)); });
86
86
  i0.ɵɵelementEnd()();
87
87
  } if (rf & 2) {
@@ -89,6 +89,16 @@ function MJTemplateFormComponent_Conditional_32_Template(rf, ctx) { if (rf & 1)
89
89
  i0.ɵɵadvance();
90
90
  i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Entity Documents", "TemplateID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Entity Documents"))("AllowLoad", ctx_r1.IsSectionExpanded("mJEntityDocuments"))("ShowToolbar", false);
91
91
  } }
92
+ function MJTemplateFormComponent_Conditional_34_Template(rf, ctx) { if (rf & 1) {
93
+ const _r10 = i0.ɵɵgetCurrentView();
94
+ i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 27);
95
+ i0.ɵɵlistener("Navigate", function MJTemplateFormComponent_Conditional_34_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r10); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function MJTemplateFormComponent_Conditional_34_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r10); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJUserRoutines", $event.totalRowCount)); });
96
+ i0.ɵɵelementEnd()();
97
+ } if (rf & 2) {
98
+ const ctx_r1 = i0.ɵɵnextContext();
99
+ i0.ɵɵadvance();
100
+ i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: User Routines", "NotificationTemplateID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: User Routines"))("AllowLoad", ctx_r1.IsSectionExpanded("mJUserRoutines"))("ShowToolbar", false);
101
+ } }
92
102
  let MJTemplateFormComponent = class MJTemplateFormComponent extends BaseFormComponent {
93
103
  async ngOnInit() {
94
104
  await super.ngOnInit();
@@ -104,11 +114,12 @@ let MJTemplateFormComponent = class MJTemplateFormComponent extends BaseFormComp
104
114
  { sectionKey: 'mJSearchScopeProviders', sectionName: 'Search Scope Providers', isExpanded: false },
105
115
  { sectionKey: 'mJUserNotificationTypesSMSTemplateID', sectionName: 'User Notification Types (SMS Template)', isExpanded: false },
106
116
  { sectionKey: 'mJAIAgentSearchScopes', sectionName: 'AI Agent Search Scopes', isExpanded: false },
107
- { sectionKey: 'mJEntityDocuments', sectionName: 'Entity Documents', isExpanded: false }
117
+ { sectionKey: 'mJEntityDocuments', sectionName: 'Entity Documents', isExpanded: false },
118
+ { sectionKey: 'mJUserRoutines', sectionName: 'User Routines', isExpanded: false }
108
119
  ]);
109
120
  }
110
121
  static { this.ɵfac = /*@__PURE__*/ (() => { let ɵMJTemplateFormComponent_BaseFactory; return function MJTemplateFormComponent_Factory(__ngFactoryType__) { return (ɵMJTemplateFormComponent_BaseFactory || (ɵMJTemplateFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(MJTemplateFormComponent)))(__ngFactoryType__ || MJTemplateFormComponent); }; })(); }
111
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJTemplateFormComponent, selectors: [["gen-mjtemplate-form"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 34, vars: 105, consts: [[3, "Navigate", "DeleteRequested", "FavoriteToggled", "HistoryRequested", "ListManagementRequested", "Record", "FormComponent"], ["Slot", "before-fields", 3, "Entity", "Record", "FormComponent", "FormContext"], ["SectionKey", "templateContent", "SectionName", "Template Content", "Icon", "fa fa-pencil-alt", 3, "Form", "FormContext"], ["FieldName", "Name", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Description", "Type", "textarea", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "UserPrompt", "Type", "textarea", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "associations", "SectionName", "Associations", "Icon", "fa fa-link", 3, "Form", "FormContext"], ["FieldName", "CategoryID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "UserID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "availabilityStatus", "SectionName", "Availability & Status", "Icon", "fa fa-clock", 3, "Form", "FormContext"], ["FieldName", "ActiveAt", "Type", "datepicker", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "DisabledAt", "Type", "datepicker", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "IsActive", "Type", "checkbox", 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"], ["Slot", "after-fields", 3, "Entity", "Record", "FormComponent", "FormContext"], ["SectionKey", "mJTemplateContents", "SectionName", "Template Contents", "Icon", "fa fa-file-alt", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJTemplateParams", "SectionName", "Template Params", "Icon", "fa fa-cog", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJUserNotificationTypesEmailTemplateID", "SectionName", "User Notification Types (Email Template)", "Icon", "fa fa-bell", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJAIPrompts", "SectionName", "AI Prompts", "Icon", "fa fa-robot", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJSearchScopeProviders", "SectionName", "Search Scope Providers", "Icon", "fa fa-search-plus", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJUserNotificationTypesSMSTemplateID", "SectionName", "User Notification Types (SMS Template)", "Icon", "fa fa-bell", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJAIAgentSearchScopes", "SectionName", "AI Agent Search Scopes", "Icon", "fa fa-search-plus", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJEntityDocuments", "SectionName", "Entity Documents", "Icon", "fa fa-file-alt", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["Slot", "after-related", 3, "Entity", "Record", "FormComponent", "FormContext"], [3, "Navigate", "AfterDataLoad", "Params", "NewRecordValues", "AllowLoad", "ShowToolbar"]], template: function MJTemplateFormComponent_Template(rf, ctx) { if (rf & 1) {
122
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJTemplateFormComponent, selectors: [["gen-mjtemplate-form"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 36, vars: 110, consts: [[3, "Navigate", "DeleteRequested", "FavoriteToggled", "HistoryRequested", "ListManagementRequested", "Record", "FormComponent"], ["Slot", "before-fields", 3, "Entity", "Record", "FormComponent", "FormContext"], ["SectionKey", "templateContent", "SectionName", "Template Content", "Icon", "fa fa-pencil-alt", 3, "Form", "FormContext"], ["FieldName", "Name", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Description", "Type", "textarea", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "UserPrompt", "Type", "textarea", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "associations", "SectionName", "Associations", "Icon", "fa fa-link", 3, "Form", "FormContext"], ["FieldName", "CategoryID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "UserID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "availabilityStatus", "SectionName", "Availability & Status", "Icon", "fa fa-clock", 3, "Form", "FormContext"], ["FieldName", "ActiveAt", "Type", "datepicker", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "DisabledAt", "Type", "datepicker", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "IsActive", "Type", "checkbox", 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"], ["Slot", "after-fields", 3, "Entity", "Record", "FormComponent", "FormContext"], ["SectionKey", "mJTemplateContents", "SectionName", "Template Contents", "Icon", "fa fa-file-alt", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJTemplateParams", "SectionName", "Template Params", "Icon", "fa fa-cog", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJUserNotificationTypesEmailTemplateID", "SectionName", "User Notification Types (Email Template)", "Icon", "fa fa-bell", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJAIPrompts", "SectionName", "AI Prompts", "Icon", "fa fa-robot", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJSearchScopeProviders", "SectionName", "Search Scope Providers", "Icon", "fa fa-search-plus", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJUserNotificationTypesSMSTemplateID", "SectionName", "User Notification Types (SMS Template)", "Icon", "fa fa-bell", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJAIAgentSearchScopes", "SectionName", "AI Agent Search Scopes", "Icon", "fa fa-search-plus", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJEntityDocuments", "SectionName", "Entity Documents", "Icon", "fa fa-file-alt", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJUserRoutines", "SectionName", "User Routines", "Icon", "fa fa-sync-alt", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["Slot", "after-related", 3, "Entity", "Record", "FormComponent", "FormContext"], [3, "Navigate", "AfterDataLoad", "Params", "NewRecordValues", "AllowLoad", "ShowToolbar"]], template: function MJTemplateFormComponent_Template(rf, ctx) { if (rf & 1) {
112
123
  i0.ɵɵelementStart(0, "mj-record-form-container", 0);
113
124
  i0.ɵɵlistener("Navigate", function MJTemplateFormComponent_Template_mj_record_form_container_Navigate_0_listener($event) { return ctx.OnFormNavigate($event); })("DeleteRequested", function MJTemplateFormComponent_Template_mj_record_form_container_DeleteRequested_0_listener() { return ctx.OnDeleteRequested(); })("FavoriteToggled", function MJTemplateFormComponent_Template_mj_record_form_container_FavoriteToggled_0_listener() { return ctx.OnFavoriteToggled(); })("HistoryRequested", function MJTemplateFormComponent_Template_mj_record_form_container_HistoryRequested_0_listener() { return ctx.OnHistoryRequested(); })("ListManagementRequested", function MJTemplateFormComponent_Template_mj_record_form_container_ListManagementRequested_0_listener() { return ctx.OnListManagementRequested(); });
114
125
  i0.ɵɵelement(1, "mj-form-panel-slot", 1);
@@ -149,7 +160,10 @@ let MJTemplateFormComponent = class MJTemplateFormComponent extends BaseFormComp
149
160
  i0.ɵɵelementStart(31, "mj-collapsible-panel", 24);
150
161
  i0.ɵɵconditionalCreate(32, MJTemplateFormComponent_Conditional_32_Template, 2, 4, "div");
151
162
  i0.ɵɵelementEnd();
152
- i0.ɵɵelement(33, "mj-form-panel-slot", 25);
163
+ i0.ɵɵelementStart(33, "mj-collapsible-panel", 25);
164
+ i0.ɵɵconditionalCreate(34, MJTemplateFormComponent_Conditional_34_Template, 2, 4, "div");
165
+ i0.ɵɵelementEnd();
166
+ i0.ɵɵelement(35, "mj-form-panel-slot", 26);
153
167
  i0.ɵɵelementEnd();
154
168
  } if (rf & 2) {
155
169
  i0.ɵɵproperty("Record", ctx.record)("FormComponent", ctx);
@@ -218,6 +232,10 @@ let MJTemplateFormComponent = class MJTemplateFormComponent extends BaseFormComp
218
232
  i0.ɵɵadvance();
219
233
  i0.ɵɵconditional(ctx.record.IsSaved ? 32 : -1);
220
234
  i0.ɵɵadvance();
235
+ i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJUserRoutines"))("DefaultExpanded", false);
236
+ i0.ɵɵadvance();
237
+ i0.ɵɵconditional(ctx.record.IsSaved ? 34 : -1);
238
+ i0.ɵɵadvance();
221
239
  i0.ɵɵproperty("Entity", i0.ɵɵinterpolate(ctx.record.EntityInfo.Name))("Record", ctx.record)("FormComponent", ctx)("FormContext", ctx.formContext);
222
240
  } }, dependencies: [i1.MjFormFieldComponent, i1.MjCollapsiblePanelComponent, i1.MjRecordFormContainerComponent, i1.ExplorerEntityDataGridComponent, i1.FormPanelSlotComponent], encapsulation: 2 }); }
223
241
  };
@@ -227,7 +245,7 @@ MJTemplateFormComponent = __decorate([
227
245
  export { MJTemplateFormComponent };
228
246
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MJTemplateFormComponent, [{
229
247
  type: Component,
230
- args: [{ standalone: false, selector: 'gen-mjtemplate-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 <mj-form-panel-slot Entity=\"{{record.EntityInfo.Name}}\" Slot=\"before-fields\" [Record]=\"record\" [FormComponent]=\"this\" [FormContext]=\"formContext\"></mj-form-panel-slot>\n\n <!-- ========================================\n FIELD PANELS\n ======================================== -->\n <!-- Template Content Section -->\n <mj-collapsible-panel\n SectionKey=\"templateContent\"\n SectionName=\"Template Content\"\n Icon=\"fa fa-pencil-alt\"\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=\"UserPrompt\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Associations Section -->\n <mj-collapsible-panel\n SectionKey=\"associations\"\n SectionName=\"Associations\"\n Icon=\"fa fa-link\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\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=\"UserID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Availability & Status Section -->\n <mj-collapsible-panel\n SectionKey=\"availabilityStatus\"\n SectionName=\"Availability & Status\"\n Icon=\"fa fa-clock\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ActiveAt\"\n Type=\"datepicker\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"DisabledAt\"\n Type=\"datepicker\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"IsActive\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- System Metadata Section -->\n <mj-collapsible-panel\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 <mj-form-panel-slot Entity=\"{{record.EntityInfo.Name}}\" Slot=\"after-fields\" [Record]=\"record\" [FormComponent]=\"this\" [FormContext]=\"formContext\"></mj-form-panel-slot>\n\n <!-- ========================================\n RELATED ENTITY PANELS\n ======================================== -->\n\n <!-- Template Contents Section -->\n <mj-collapsible-panel\n SectionKey=\"mJTemplateContents\"\n SectionName=\"Template Contents\"\n Icon=\"fa fa-file-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJTemplateContents')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Template Contents','TemplateID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Template Contents')\"\n [AllowLoad]=\"IsSectionExpanded('mJTemplateContents')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJTemplateContents', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Template Params Section -->\n <mj-collapsible-panel\n SectionKey=\"mJTemplateParams\"\n SectionName=\"Template Params\"\n Icon=\"fa fa-cog\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJTemplateParams')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Template Params','TemplateID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Template Params')\"\n [AllowLoad]=\"IsSectionExpanded('mJTemplateParams')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJTemplateParams', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- User Notification Types (Email Template) Section -->\n <mj-collapsible-panel\n SectionKey=\"mJUserNotificationTypesEmailTemplateID\"\n SectionName=\"User Notification Types (Email Template)\"\n Icon=\"fa fa-bell\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJUserNotificationTypesEmailTemplateID')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: User Notification Types','EmailTemplateID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: User Notification Types')\"\n [AllowLoad]=\"IsSectionExpanded('mJUserNotificationTypesEmailTemplateID')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJUserNotificationTypesEmailTemplateID', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- AI Prompts Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAIPrompts\"\n SectionName=\"AI Prompts\"\n Icon=\"fa fa-robot\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAIPrompts')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Prompts','TemplateID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Prompts')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIPrompts')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAIPrompts', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Search Scope Providers Section -->\n <mj-collapsible-panel\n SectionKey=\"mJSearchScopeProviders\"\n SectionName=\"Search Scope Providers\"\n Icon=\"fa fa-search-plus\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJSearchScopeProviders')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Search Scope Providers','QueryTransformTemplateID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Search Scope Providers')\"\n [AllowLoad]=\"IsSectionExpanded('mJSearchScopeProviders')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJSearchScopeProviders', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- User Notification Types (SMS Template) Section -->\n <mj-collapsible-panel\n SectionKey=\"mJUserNotificationTypesSMSTemplateID\"\n SectionName=\"User Notification Types (SMS Template)\"\n Icon=\"fa fa-bell\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJUserNotificationTypesSMSTemplateID')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: User Notification Types','SMSTemplateID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: User Notification Types')\"\n [AllowLoad]=\"IsSectionExpanded('mJUserNotificationTypesSMSTemplateID')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJUserNotificationTypesSMSTemplateID', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- AI Agent Search Scopes Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAIAgentSearchScopes\"\n SectionName=\"AI Agent Search Scopes\"\n Icon=\"fa fa-search-plus\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAIAgentSearchScopes')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Agent Search Scopes','QueryTemplateID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Agent Search Scopes')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIAgentSearchScopes')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAIAgentSearchScopes', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Entity Documents Section -->\n <mj-collapsible-panel\n SectionKey=\"mJEntityDocuments\"\n SectionName=\"Entity Documents\"\n Icon=\"fa fa-file-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJEntityDocuments')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Entity Documents','TemplateID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Entity Documents')\"\n [AllowLoad]=\"IsSectionExpanded('mJEntityDocuments')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJEntityDocuments', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <mj-form-panel-slot Entity=\"{{record.EntityInfo.Name}}\" Slot=\"after-related\" [Record]=\"record\" [FormComponent]=\"this\" [FormContext]=\"formContext\"></mj-form-panel-slot>\n</mj-record-form-container>\n " }]
248
+ args: [{ standalone: false, selector: 'gen-mjtemplate-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 <mj-form-panel-slot Entity=\"{{record.EntityInfo.Name}}\" Slot=\"before-fields\" [Record]=\"record\" [FormComponent]=\"this\" [FormContext]=\"formContext\"></mj-form-panel-slot>\n\n <!-- ========================================\n FIELD PANELS\n ======================================== -->\n <!-- Template Content Section -->\n <mj-collapsible-panel\n SectionKey=\"templateContent\"\n SectionName=\"Template Content\"\n Icon=\"fa fa-pencil-alt\"\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=\"UserPrompt\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Associations Section -->\n <mj-collapsible-panel\n SectionKey=\"associations\"\n SectionName=\"Associations\"\n Icon=\"fa fa-link\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\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=\"UserID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Availability & Status Section -->\n <mj-collapsible-panel\n SectionKey=\"availabilityStatus\"\n SectionName=\"Availability & Status\"\n Icon=\"fa fa-clock\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ActiveAt\"\n Type=\"datepicker\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"DisabledAt\"\n Type=\"datepicker\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"IsActive\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- System Metadata Section -->\n <mj-collapsible-panel\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 <mj-form-panel-slot Entity=\"{{record.EntityInfo.Name}}\" Slot=\"after-fields\" [Record]=\"record\" [FormComponent]=\"this\" [FormContext]=\"formContext\"></mj-form-panel-slot>\n\n <!-- ========================================\n RELATED ENTITY PANELS\n ======================================== -->\n\n <!-- Template Contents Section -->\n <mj-collapsible-panel\n SectionKey=\"mJTemplateContents\"\n SectionName=\"Template Contents\"\n Icon=\"fa fa-file-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJTemplateContents')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Template Contents','TemplateID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Template Contents')\"\n [AllowLoad]=\"IsSectionExpanded('mJTemplateContents')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJTemplateContents', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Template Params Section -->\n <mj-collapsible-panel\n SectionKey=\"mJTemplateParams\"\n SectionName=\"Template Params\"\n Icon=\"fa fa-cog\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJTemplateParams')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Template Params','TemplateID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Template Params')\"\n [AllowLoad]=\"IsSectionExpanded('mJTemplateParams')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJTemplateParams', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- User Notification Types (Email Template) Section -->\n <mj-collapsible-panel\n SectionKey=\"mJUserNotificationTypesEmailTemplateID\"\n SectionName=\"User Notification Types (Email Template)\"\n Icon=\"fa fa-bell\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJUserNotificationTypesEmailTemplateID')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: User Notification Types','EmailTemplateID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: User Notification Types')\"\n [AllowLoad]=\"IsSectionExpanded('mJUserNotificationTypesEmailTemplateID')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJUserNotificationTypesEmailTemplateID', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- AI Prompts Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAIPrompts\"\n SectionName=\"AI Prompts\"\n Icon=\"fa fa-robot\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAIPrompts')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Prompts','TemplateID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Prompts')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIPrompts')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAIPrompts', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Search Scope Providers Section -->\n <mj-collapsible-panel\n SectionKey=\"mJSearchScopeProviders\"\n SectionName=\"Search Scope Providers\"\n Icon=\"fa fa-search-plus\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJSearchScopeProviders')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Search Scope Providers','QueryTransformTemplateID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Search Scope Providers')\"\n [AllowLoad]=\"IsSectionExpanded('mJSearchScopeProviders')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJSearchScopeProviders', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- User Notification Types (SMS Template) Section -->\n <mj-collapsible-panel\n SectionKey=\"mJUserNotificationTypesSMSTemplateID\"\n SectionName=\"User Notification Types (SMS Template)\"\n Icon=\"fa fa-bell\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJUserNotificationTypesSMSTemplateID')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: User Notification Types','SMSTemplateID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: User Notification Types')\"\n [AllowLoad]=\"IsSectionExpanded('mJUserNotificationTypesSMSTemplateID')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJUserNotificationTypesSMSTemplateID', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- AI Agent Search Scopes Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAIAgentSearchScopes\"\n SectionName=\"AI Agent Search Scopes\"\n Icon=\"fa fa-search-plus\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAIAgentSearchScopes')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Agent Search Scopes','QueryTemplateID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Agent Search Scopes')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIAgentSearchScopes')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAIAgentSearchScopes', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Entity Documents Section -->\n <mj-collapsible-panel\n SectionKey=\"mJEntityDocuments\"\n SectionName=\"Entity Documents\"\n Icon=\"fa fa-file-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJEntityDocuments')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Entity Documents','TemplateID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Entity Documents')\"\n [AllowLoad]=\"IsSectionExpanded('mJEntityDocuments')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJEntityDocuments', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- User Routines Section -->\n <mj-collapsible-panel\n SectionKey=\"mJUserRoutines\"\n SectionName=\"User Routines\"\n Icon=\"fa fa-sync-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJUserRoutines')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: User Routines','NotificationTemplateID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: User Routines')\"\n [AllowLoad]=\"IsSectionExpanded('mJUserRoutines')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJUserRoutines', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <mj-form-panel-slot Entity=\"{{record.EntityInfo.Name}}\" Slot=\"after-related\" [Record]=\"record\" [FormComponent]=\"this\" [FormContext]=\"formContext\"></mj-form-panel-slot>\n</mj-record-form-container>\n " }]
231
249
  }], null, null); })();
232
250
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MJTemplateFormComponent, { className: "MJTemplateFormComponent", filePath: "src/lib/generated/Entities/MJTemplate/mjtemplate.form.component.ts", lineNumber: 13 }); })();
233
251
  //# sourceMappingURL=mjtemplate.form.component.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"mjtemplate.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJTemplate/mjtemplate.form.component.ts","../../../../../src/lib/generated/Entities/MJTemplate/mjtemplate.form.component.html"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,SAAS,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cAYC;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,0DAC0B,0BAC5B;YACzB,cAYC;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,gFACgD,0BAClD;YACzB,cAYC;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,qDACqB,0BACvB;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,8EAC8C,0BAChD;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,2DAC2B,0BAC7B;YACzB,cAYC;YAZD,8CAYC;YAGe,cAAmC;YAA+D,AAAvB,AAAlB,AAAzD,wBAAA,4CAAmC,CAAA,sBAAuC,sBAAuB,gCAA4B;;;ADxUxI,uBAAuB;IANnC,aAAa,CAAC,iBAAiB,EAAE,eAAe,CAAC,CAAC,uCAAuC;GAM7E,uBAAuB,CAoBnC;;iFApBY,uBAAuB;cALnC,SAAS;6BACM,KAAK,YACP,qBAAqB;;kFAGtB,uBAAuB","sourcesContent":["import { Component } from '@angular/core';\nimport { MJTemplateEntity } 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: Templates') // Tell MemberJunction about this class\n@Component({\n standalone: false,\n selector: 'gen-mjtemplate-form',\n templateUrl: './mjtemplate.form.component.html'\n})\nexport class MJTemplateFormComponent extends BaseFormComponent {\n public record!: MJTemplateEntity;\n\n override async ngOnInit() {\n await super.ngOnInit();\n this.initSections([\n { sectionKey: 'templateContent', sectionName: 'Template Content', isExpanded: true },\n { sectionKey: 'associations', sectionName: 'Associations', isExpanded: true },\n { sectionKey: 'availabilityStatus', sectionName: 'Availability & Status', isExpanded: true },\n { sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },\n { sectionKey: 'mJTemplateContents', sectionName: 'Template Contents', isExpanded: false },\n { sectionKey: 'mJTemplateParams', sectionName: 'Template Params', isExpanded: false },\n { sectionKey: 'mJUserNotificationTypesEmailTemplateID', sectionName: 'User Notification Types (Email Template)', isExpanded: false },\n { sectionKey: 'mJAIPrompts', sectionName: 'AI Prompts', isExpanded: false },\n { sectionKey: 'mJSearchScopeProviders', sectionName: 'Search Scope Providers', isExpanded: false },\n { sectionKey: 'mJUserNotificationTypesSMSTemplateID', sectionName: 'User Notification Types (SMS Template)', isExpanded: false },\n { sectionKey: 'mJAIAgentSearchScopes', sectionName: 'AI Agent Search Scopes', isExpanded: false },\n { sectionKey: 'mJEntityDocuments', sectionName: 'Entity Documents', 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 <mj-form-panel-slot Entity=\"{{record.EntityInfo.Name}}\" Slot=\"before-fields\" [Record]=\"record\" [FormComponent]=\"this\" [FormContext]=\"formContext\"></mj-form-panel-slot>\n\n <!-- ========================================\n FIELD PANELS\n ======================================== -->\n <!-- Template Content Section -->\n <mj-collapsible-panel\n SectionKey=\"templateContent\"\n SectionName=\"Template Content\"\n Icon=\"fa fa-pencil-alt\"\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=\"UserPrompt\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Associations Section -->\n <mj-collapsible-panel\n SectionKey=\"associations\"\n SectionName=\"Associations\"\n Icon=\"fa fa-link\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\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=\"UserID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Availability & Status Section -->\n <mj-collapsible-panel\n SectionKey=\"availabilityStatus\"\n SectionName=\"Availability & Status\"\n Icon=\"fa fa-clock\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ActiveAt\"\n Type=\"datepicker\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"DisabledAt\"\n Type=\"datepicker\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"IsActive\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- System Metadata Section -->\n <mj-collapsible-panel\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 <mj-form-panel-slot Entity=\"{{record.EntityInfo.Name}}\" Slot=\"after-fields\" [Record]=\"record\" [FormComponent]=\"this\" [FormContext]=\"formContext\"></mj-form-panel-slot>\n\n <!-- ========================================\n RELATED ENTITY PANELS\n ======================================== -->\n\n <!-- Template Contents Section -->\n <mj-collapsible-panel\n SectionKey=\"mJTemplateContents\"\n SectionName=\"Template Contents\"\n Icon=\"fa fa-file-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJTemplateContents')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Template Contents','TemplateID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Template Contents')\"\n [AllowLoad]=\"IsSectionExpanded('mJTemplateContents')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJTemplateContents', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Template Params Section -->\n <mj-collapsible-panel\n SectionKey=\"mJTemplateParams\"\n SectionName=\"Template Params\"\n Icon=\"fa fa-cog\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJTemplateParams')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Template Params','TemplateID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Template Params')\"\n [AllowLoad]=\"IsSectionExpanded('mJTemplateParams')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJTemplateParams', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- User Notification Types (Email Template) Section -->\n <mj-collapsible-panel\n SectionKey=\"mJUserNotificationTypesEmailTemplateID\"\n SectionName=\"User Notification Types (Email Template)\"\n Icon=\"fa fa-bell\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJUserNotificationTypesEmailTemplateID')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: User Notification Types','EmailTemplateID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: User Notification Types')\"\n [AllowLoad]=\"IsSectionExpanded('mJUserNotificationTypesEmailTemplateID')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJUserNotificationTypesEmailTemplateID', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- AI Prompts Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAIPrompts\"\n SectionName=\"AI Prompts\"\n Icon=\"fa fa-robot\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAIPrompts')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Prompts','TemplateID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Prompts')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIPrompts')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAIPrompts', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Search Scope Providers Section -->\n <mj-collapsible-panel\n SectionKey=\"mJSearchScopeProviders\"\n SectionName=\"Search Scope Providers\"\n Icon=\"fa fa-search-plus\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJSearchScopeProviders')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Search Scope Providers','QueryTransformTemplateID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Search Scope Providers')\"\n [AllowLoad]=\"IsSectionExpanded('mJSearchScopeProviders')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJSearchScopeProviders', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- User Notification Types (SMS Template) Section -->\n <mj-collapsible-panel\n SectionKey=\"mJUserNotificationTypesSMSTemplateID\"\n SectionName=\"User Notification Types (SMS Template)\"\n Icon=\"fa fa-bell\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJUserNotificationTypesSMSTemplateID')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: User Notification Types','SMSTemplateID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: User Notification Types')\"\n [AllowLoad]=\"IsSectionExpanded('mJUserNotificationTypesSMSTemplateID')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJUserNotificationTypesSMSTemplateID', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- AI Agent Search Scopes Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAIAgentSearchScopes\"\n SectionName=\"AI Agent Search Scopes\"\n Icon=\"fa fa-search-plus\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAIAgentSearchScopes')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Agent Search Scopes','QueryTemplateID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Agent Search Scopes')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIAgentSearchScopes')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAIAgentSearchScopes', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Entity Documents Section -->\n <mj-collapsible-panel\n SectionKey=\"mJEntityDocuments\"\n SectionName=\"Entity Documents\"\n Icon=\"fa fa-file-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJEntityDocuments')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Entity Documents','TemplateID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Entity Documents')\"\n [AllowLoad]=\"IsSectionExpanded('mJEntityDocuments')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJEntityDocuments', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <mj-form-panel-slot Entity=\"{{record.EntityInfo.Name}}\" Slot=\"after-related\" [Record]=\"record\" [FormComponent]=\"this\" [FormContext]=\"formContext\"></mj-form-panel-slot>\n</mj-record-form-container>\n "]}
1
+ {"version":3,"file":"mjtemplate.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJTemplate/mjtemplate.form.component.ts","../../../../../src/lib/generated/Entities/MJTemplate/mjtemplate.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;;;;;ICqJtD,AADJ,2BAAK,uCAQI;IADD,AADA,8NAAY,6BAAsB,KAAC,2NAClB,0BAAmB,oBAAoB,uBAAuB,KAAC;IAGxF,AADI,iBAA+B,EAC7B;;;IARE,cAAwF;IAGxF,AADA,AADA,AADA,8GAAwF,oEAC5B,6DACP,sBAChC;;;;IAqBzB,AADJ,2BAAK,uCAQI;IADD,AADA,8NAAY,6BAAsB,KAAC,2NAClB,0BAAmB,kBAAkB,uBAAuB,KAAC;IAGtF,AADI,iBAA+B,EAC7B;;;IARE,cAAsF;IAGtF,AADA,AADA,AADA,4GAA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ACzB,cAYC;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,qDACqB,0BACvB;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,8EAC8C,0BAChD;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,2DAC2B,0BAC7B;YACzB,cAYC;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,wDACwB,0BAC1B;YACzB,cAYC;YAZD,8CAYC;YAGe,cAAmC;YAA+D,AAAvB,AAAlB,AAAzD,wBAAA,4CAAmC,CAAA,sBAAuC,sBAAuB,gCAA4B;;;ADjWxI,uBAAuB;IANnC,aAAa,CAAC,iBAAiB,EAAE,eAAe,CAAC,CAAC,uCAAuC;GAM7E,uBAAuB,CAqBnC;;iFArBY,uBAAuB;cALnC,SAAS;6BACM,KAAK,YACP,qBAAqB;;kFAGtB,uBAAuB","sourcesContent":["import { Component } from '@angular/core';\nimport { MJTemplateEntity } 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: Templates') // Tell MemberJunction about this class\n@Component({\n standalone: false,\n selector: 'gen-mjtemplate-form',\n templateUrl: './mjtemplate.form.component.html'\n})\nexport class MJTemplateFormComponent extends BaseFormComponent {\n public record!: MJTemplateEntity;\n\n override async ngOnInit() {\n await super.ngOnInit();\n this.initSections([\n { sectionKey: 'templateContent', sectionName: 'Template Content', isExpanded: true },\n { sectionKey: 'associations', sectionName: 'Associations', isExpanded: true },\n { sectionKey: 'availabilityStatus', sectionName: 'Availability & Status', isExpanded: true },\n { sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },\n { sectionKey: 'mJTemplateContents', sectionName: 'Template Contents', isExpanded: false },\n { sectionKey: 'mJTemplateParams', sectionName: 'Template Params', isExpanded: false },\n { sectionKey: 'mJUserNotificationTypesEmailTemplateID', sectionName: 'User Notification Types (Email Template)', isExpanded: false },\n { sectionKey: 'mJAIPrompts', sectionName: 'AI Prompts', isExpanded: false },\n { sectionKey: 'mJSearchScopeProviders', sectionName: 'Search Scope Providers', isExpanded: false },\n { sectionKey: 'mJUserNotificationTypesSMSTemplateID', sectionName: 'User Notification Types (SMS Template)', isExpanded: false },\n { sectionKey: 'mJAIAgentSearchScopes', sectionName: 'AI Agent Search Scopes', isExpanded: false },\n { sectionKey: 'mJEntityDocuments', sectionName: 'Entity Documents', isExpanded: false },\n { sectionKey: 'mJUserRoutines', sectionName: 'User Routines', 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 <mj-form-panel-slot Entity=\"{{record.EntityInfo.Name}}\" Slot=\"before-fields\" [Record]=\"record\" [FormComponent]=\"this\" [FormContext]=\"formContext\"></mj-form-panel-slot>\n\n <!-- ========================================\n FIELD PANELS\n ======================================== -->\n <!-- Template Content Section -->\n <mj-collapsible-panel\n SectionKey=\"templateContent\"\n SectionName=\"Template Content\"\n Icon=\"fa fa-pencil-alt\"\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=\"UserPrompt\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Associations Section -->\n <mj-collapsible-panel\n SectionKey=\"associations\"\n SectionName=\"Associations\"\n Icon=\"fa fa-link\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\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=\"UserID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Availability & Status Section -->\n <mj-collapsible-panel\n SectionKey=\"availabilityStatus\"\n SectionName=\"Availability & Status\"\n Icon=\"fa fa-clock\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ActiveAt\"\n Type=\"datepicker\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"DisabledAt\"\n Type=\"datepicker\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"IsActive\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- System Metadata Section -->\n <mj-collapsible-panel\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 <mj-form-panel-slot Entity=\"{{record.EntityInfo.Name}}\" Slot=\"after-fields\" [Record]=\"record\" [FormComponent]=\"this\" [FormContext]=\"formContext\"></mj-form-panel-slot>\n\n <!-- ========================================\n RELATED ENTITY PANELS\n ======================================== -->\n\n <!-- Template Contents Section -->\n <mj-collapsible-panel\n SectionKey=\"mJTemplateContents\"\n SectionName=\"Template Contents\"\n Icon=\"fa fa-file-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJTemplateContents')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Template Contents','TemplateID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Template Contents')\"\n [AllowLoad]=\"IsSectionExpanded('mJTemplateContents')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJTemplateContents', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Template Params Section -->\n <mj-collapsible-panel\n SectionKey=\"mJTemplateParams\"\n SectionName=\"Template Params\"\n Icon=\"fa fa-cog\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJTemplateParams')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Template Params','TemplateID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Template Params')\"\n [AllowLoad]=\"IsSectionExpanded('mJTemplateParams')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJTemplateParams', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- User Notification Types (Email Template) Section -->\n <mj-collapsible-panel\n SectionKey=\"mJUserNotificationTypesEmailTemplateID\"\n SectionName=\"User Notification Types (Email Template)\"\n Icon=\"fa fa-bell\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJUserNotificationTypesEmailTemplateID')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: User Notification Types','EmailTemplateID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: User Notification Types')\"\n [AllowLoad]=\"IsSectionExpanded('mJUserNotificationTypesEmailTemplateID')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJUserNotificationTypesEmailTemplateID', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- AI Prompts Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAIPrompts\"\n SectionName=\"AI Prompts\"\n Icon=\"fa fa-robot\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAIPrompts')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Prompts','TemplateID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Prompts')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIPrompts')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAIPrompts', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Search Scope Providers Section -->\n <mj-collapsible-panel\n SectionKey=\"mJSearchScopeProviders\"\n SectionName=\"Search Scope Providers\"\n Icon=\"fa fa-search-plus\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJSearchScopeProviders')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Search Scope Providers','QueryTransformTemplateID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Search Scope Providers')\"\n [AllowLoad]=\"IsSectionExpanded('mJSearchScopeProviders')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJSearchScopeProviders', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- User Notification Types (SMS Template) Section -->\n <mj-collapsible-panel\n SectionKey=\"mJUserNotificationTypesSMSTemplateID\"\n SectionName=\"User Notification Types (SMS Template)\"\n Icon=\"fa fa-bell\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJUserNotificationTypesSMSTemplateID')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: User Notification Types','SMSTemplateID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: User Notification Types')\"\n [AllowLoad]=\"IsSectionExpanded('mJUserNotificationTypesSMSTemplateID')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJUserNotificationTypesSMSTemplateID', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- AI Agent Search Scopes Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAIAgentSearchScopes\"\n SectionName=\"AI Agent Search Scopes\"\n Icon=\"fa fa-search-plus\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAIAgentSearchScopes')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Agent Search Scopes','QueryTemplateID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Agent Search Scopes')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIAgentSearchScopes')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAIAgentSearchScopes', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Entity Documents Section -->\n <mj-collapsible-panel\n SectionKey=\"mJEntityDocuments\"\n SectionName=\"Entity Documents\"\n Icon=\"fa fa-file-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJEntityDocuments')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Entity Documents','TemplateID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Entity Documents')\"\n [AllowLoad]=\"IsSectionExpanded('mJEntityDocuments')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJEntityDocuments', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- User Routines Section -->\n <mj-collapsible-panel\n SectionKey=\"mJUserRoutines\"\n SectionName=\"User Routines\"\n Icon=\"fa fa-sync-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJUserRoutines')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: User Routines','NotificationTemplateID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: User Routines')\"\n [AllowLoad]=\"IsSectionExpanded('mJUserRoutines')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJUserRoutines', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <mj-form-panel-slot Entity=\"{{record.EntityInfo.Name}}\" Slot=\"after-related\" [Record]=\"record\" [FormComponent]=\"this\" [FormContext]=\"formContext\"></mj-form-panel-slot>\n</mj-record-form-container>\n "]}
@@ -1 +1 @@
1
- {"version":3,"file":"mjuser.form.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJUser/mjuser.form.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAE7D,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAGlE,qBAMa,mBAAoB,SAAQ,iBAAiB;IAC/C,MAAM,EAAG,YAAY,CAAC;IAEd,QAAQ;yCAHd,mBAAmB;2CAAnB,mBAAmB;CAwH/B"}
1
+ {"version":3,"file":"mjuser.form.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJUser/mjuser.form.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAE7D,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAGlE,qBAMa,mBAAoB,SAAQ,iBAAiB;IAC/C,MAAM,EAAG,YAAY,CAAC;IAEd,QAAQ;yCAHd,mBAAmB;2CAAnB,mBAAmB;CA0H/B"}