@memberjunction/ng-core-entity-forms 5.34.0 → 5.35.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (106) hide show
  1. package/dist/lib/custom/Tests/test-form.component.d.ts +25 -1
  2. package/dist/lib/custom/Tests/test-form.component.d.ts.map +1 -1
  3. package/dist/lib/custom/Tests/test-form.component.js +898 -547
  4. package/dist/lib/custom/Tests/test-form.component.js.map +1 -1
  5. package/dist/lib/custom/Tests/test-suite-form.component.d.ts +56 -1
  6. package/dist/lib/custom/Tests/test-suite-form.component.d.ts.map +1 -1
  7. package/dist/lib/custom/Tests/test-suite-form.component.js +1647 -788
  8. package/dist/lib/custom/Tests/test-suite-form.component.js.map +1 -1
  9. package/dist/lib/custom/custom-forms.module.d.ts +25 -24
  10. package/dist/lib/custom/custom-forms.module.d.ts.map +1 -1
  11. package/dist/lib/custom/custom-forms.module.js +4 -0
  12. package/dist/lib/custom/custom-forms.module.js.map +1 -1
  13. package/dist/lib/generated/Entities/MJAIAgent/mjaiagent.form.component.js +215 -213
  14. package/dist/lib/generated/Entities/MJAIAgent/mjaiagent.form.component.js.map +1 -1
  15. package/dist/lib/generated/Entities/MJAIAgentRun/mjaiagentrun.form.component.js +23 -23
  16. package/dist/lib/generated/Entities/MJAIAgentRun/mjaiagentrun.form.component.js.map +1 -1
  17. package/dist/lib/generated/Entities/MJAIConfiguration/mjaiconfiguration.form.component.js +12 -12
  18. package/dist/lib/generated/Entities/MJAIConfiguration/mjaiconfiguration.form.component.js.map +1 -1
  19. package/dist/lib/generated/Entities/MJAIModality/mjaimodality.form.component.js +17 -17
  20. package/dist/lib/generated/Entities/MJAIModality/mjaimodality.form.component.js.map +1 -1
  21. package/dist/lib/generated/Entities/MJAIModel/mjaimodel.form.component.js +51 -51
  22. package/dist/lib/generated/Entities/MJAIModel/mjaimodel.form.component.js.map +1 -1
  23. package/dist/lib/generated/Entities/MJAIPrompt/mjaiprompt.form.component.js +31 -31
  24. package/dist/lib/generated/Entities/MJAIPrompt/mjaiprompt.form.component.js.map +1 -1
  25. package/dist/lib/generated/Entities/MJAIPromptRun/mjaipromptrun.form.component.js +9 -9
  26. package/dist/lib/generated/Entities/MJAIPromptRun/mjaipromptrun.form.component.js.map +1 -1
  27. package/dist/lib/generated/Entities/MJAIVendor/mjaivendor.form.component.js +25 -25
  28. package/dist/lib/generated/Entities/MJAIVendor/mjaivendor.form.component.js.map +1 -1
  29. package/dist/lib/generated/Entities/MJAPIKey/mjapikey.form.component.js +13 -13
  30. package/dist/lib/generated/Entities/MJAPIKey/mjapikey.form.component.js.map +1 -1
  31. package/dist/lib/generated/Entities/MJAPIScope/mjapiscope.form.component.js +9 -9
  32. package/dist/lib/generated/Entities/MJAPIScope/mjapiscope.form.component.js.map +1 -1
  33. package/dist/lib/generated/Entities/MJAction/mjaction.form.component.js +19 -19
  34. package/dist/lib/generated/Entities/MJAction/mjaction.form.component.js.map +1 -1
  35. package/dist/lib/generated/Entities/MJApplication/mjapplication.form.component.js +17 -17
  36. package/dist/lib/generated/Entities/MJApplication/mjapplication.form.component.js.map +1 -1
  37. package/dist/lib/generated/Entities/MJArtifactType/mjartifacttype.form.component.js +53 -47
  38. package/dist/lib/generated/Entities/MJArtifactType/mjartifacttype.form.component.js.map +1 -1
  39. package/dist/lib/generated/Entities/MJArtifactVersion/mjartifactversion.form.component.d.ts.map +1 -1
  40. package/dist/lib/generated/Entities/MJArtifactVersion/mjartifactversion.form.component.js +53 -33
  41. package/dist/lib/generated/Entities/MJArtifactVersion/mjartifactversion.form.component.js.map +1 -1
  42. package/dist/lib/generated/Entities/MJAuditLogType/mjauditlogtype.form.component.js +10 -10
  43. package/dist/lib/generated/Entities/MJAuditLogType/mjauditlogtype.form.component.js.map +1 -1
  44. package/dist/lib/generated/Entities/MJAuthorization/mjauthorization.form.component.js +20 -20
  45. package/dist/lib/generated/Entities/MJAuthorization/mjauthorization.form.component.js.map +1 -1
  46. package/dist/lib/generated/Entities/MJCommunicationProvider/mjcommunicationprovider.form.component.js +19 -19
  47. package/dist/lib/generated/Entities/MJCommunicationProvider/mjcommunicationprovider.form.component.js.map +1 -1
  48. package/dist/lib/generated/Entities/MJCompany/mjcompany.form.component.js +9 -9
  49. package/dist/lib/generated/Entities/MJCompany/mjcompany.form.component.js.map +1 -1
  50. package/dist/lib/generated/Entities/MJCompanyIntegration/mjcompanyintegration.form.component.js +17 -17
  51. package/dist/lib/generated/Entities/MJCompanyIntegration/mjcompanyintegration.form.component.js.map +1 -1
  52. package/dist/lib/generated/Entities/MJCompanyIntegrationRun/mjcompanyintegrationrun.form.component.js +10 -10
  53. package/dist/lib/generated/Entities/MJCompanyIntegrationRun/mjcompanyintegrationrun.form.component.js.map +1 -1
  54. package/dist/lib/generated/Entities/MJConversation/mjconversation.form.component.js +9 -9
  55. package/dist/lib/generated/Entities/MJConversation/mjconversation.form.component.js.map +1 -1
  56. package/dist/lib/generated/Entities/MJConversationDetail/mjconversationdetail.form.component.js +10 -10
  57. package/dist/lib/generated/Entities/MJConversationDetail/mjconversationdetail.form.component.js.map +1 -1
  58. package/dist/lib/generated/Entities/MJConversationDetailAttachment/mjconversationdetailattachment.form.component.js +7 -5
  59. package/dist/lib/generated/Entities/MJConversationDetailAttachment/mjconversationdetailattachment.form.component.js.map +1 -1
  60. package/dist/lib/generated/Entities/MJDashboard/mjdashboard.form.component.js +17 -17
  61. package/dist/lib/generated/Entities/MJDashboard/mjdashboard.form.component.js.map +1 -1
  62. package/dist/lib/generated/Entities/MJDashboardCategory/mjdashboardcategory.form.component.js +9 -9
  63. package/dist/lib/generated/Entities/MJDashboardCategory/mjdashboardcategory.form.component.js.map +1 -1
  64. package/dist/lib/generated/Entities/MJEmployee/mjemployee.form.component.js +15 -15
  65. package/dist/lib/generated/Entities/MJEmployee/mjemployee.form.component.js.map +1 -1
  66. package/dist/lib/generated/Entities/MJEntity/mjentity.form.component.js +208 -208
  67. package/dist/lib/generated/Entities/MJEntity/mjentity.form.component.js.map +1 -1
  68. package/dist/lib/generated/Entities/MJEntityAction/mjentityaction.form.component.js +9 -9
  69. package/dist/lib/generated/Entities/MJEntityAction/mjentityaction.form.component.js.map +1 -1
  70. package/dist/lib/generated/Entities/MJFileCategory/mjfilecategory.form.component.js +10 -10
  71. package/dist/lib/generated/Entities/MJFileCategory/mjfilecategory.form.component.js.map +1 -1
  72. package/dist/lib/generated/Entities/MJFileStorageAccount/mjfilestorageaccount.form.component.js +9 -9
  73. package/dist/lib/generated/Entities/MJFileStorageAccount/mjfilestorageaccount.form.component.js.map +1 -1
  74. package/dist/lib/generated/Entities/MJIntegration/mjintegration.form.component.js +9 -9
  75. package/dist/lib/generated/Entities/MJIntegration/mjintegration.form.component.js.map +1 -1
  76. package/dist/lib/generated/Entities/MJList/mjlist.form.component.js +17 -17
  77. package/dist/lib/generated/Entities/MJList/mjlist.form.component.js.map +1 -1
  78. package/dist/lib/generated/Entities/MJMCPServerConnection/mjmcpserverconnection.form.component.js +12 -12
  79. package/dist/lib/generated/Entities/MJMCPServerConnection/mjmcpserverconnection.form.component.js.map +1 -1
  80. package/dist/lib/generated/Entities/MJQuery/mjquery.form.component.js +30 -30
  81. package/dist/lib/generated/Entities/MJQuery/mjquery.form.component.js.map +1 -1
  82. package/dist/lib/generated/Entities/MJQueryCategory/mjquerycategory.form.component.js +10 -10
  83. package/dist/lib/generated/Entities/MJQueryCategory/mjquerycategory.form.component.js.map +1 -1
  84. package/dist/lib/generated/Entities/MJRecordChange/mjrecordchange.form.component.js +10 -10
  85. package/dist/lib/generated/Entities/MJRecordChange/mjrecordchange.form.component.js.map +1 -1
  86. package/dist/lib/generated/Entities/MJRecordMergeLog/mjrecordmergelog.form.component.js +10 -10
  87. package/dist/lib/generated/Entities/MJRecordMergeLog/mjrecordmergelog.form.component.js.map +1 -1
  88. package/dist/lib/generated/Entities/MJRole/mjrole.form.component.js +34 -34
  89. package/dist/lib/generated/Entities/MJRole/mjrole.form.component.js.map +1 -1
  90. package/dist/lib/generated/Entities/MJSearchScope/mjsearchscope.form.component.js +19 -19
  91. package/dist/lib/generated/Entities/MJSearchScope/mjsearchscope.form.component.js.map +1 -1
  92. package/dist/lib/generated/Entities/MJTag/mjtag.form.component.js +16 -16
  93. package/dist/lib/generated/Entities/MJTag/mjtag.form.component.js.map +1 -1
  94. package/dist/lib/generated/Entities/MJTemplate/mjtemplate.form.component.js +16 -16
  95. package/dist/lib/generated/Entities/MJTemplate/mjtemplate.form.component.js.map +1 -1
  96. package/dist/lib/generated/Entities/MJTemplateCategory/mjtemplatecategory.form.component.js +10 -10
  97. package/dist/lib/generated/Entities/MJTemplateCategory/mjtemplatecategory.form.component.js.map +1 -1
  98. package/dist/lib/generated/Entities/MJUser/mjuser.form.component.js +330 -330
  99. package/dist/lib/generated/Entities/MJUser/mjuser.form.component.js.map +1 -1
  100. package/dist/lib/generated/Entities/MJUserView/mjuserview.form.component.js +13 -13
  101. package/dist/lib/generated/Entities/MJUserView/mjuserview.form.component.js.map +1 -1
  102. package/dist/lib/generated/Entities/MJVectorDatabase/mjvectordatabase.form.component.js +10 -10
  103. package/dist/lib/generated/Entities/MJVectorDatabase/mjvectordatabase.form.component.js.map +1 -1
  104. package/dist/lib/generated/Entities/MJVectorIndex/mjvectorindex.form.component.js +9 -9
  105. package/dist/lib/generated/Entities/MJVectorIndex/mjvectorindex.form.component.js.map +1 -1
  106. package/package.json +37 -36
@@ -12,52 +12,52 @@ import * as i1 from "@memberjunction/ng-base-forms";
12
12
  function MJAuthorizationFormComponent_Conditional_13_Template(rf, ctx) { if (rf & 1) {
13
13
  const _r1 = i0.ɵɵgetCurrentView();
14
14
  i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 17);
15
- i0.ɵɵlistener("Navigate", function MJAuthorizationFormComponent_Conditional_13_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 MJAuthorizationFormComponent_Conditional_13_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJAuthorizationRoles", $event.totalRowCount)); });
15
+ i0.ɵɵlistener("Navigate", function MJAuthorizationFormComponent_Conditional_13_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 MJAuthorizationFormComponent_Conditional_13_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJActionAuthorizations", $event.totalRowCount)); });
16
16
  i0.ɵɵelementEnd()();
17
17
  } if (rf & 2) {
18
18
  const ctx_r1 = i0.ɵɵnextContext();
19
19
  i0.ɵɵadvance();
20
- i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Authorization Roles", "AuthorizationID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Authorization Roles"))("AllowLoad", ctx_r1.IsSectionExpanded("mJAuthorizationRoles"))("ShowToolbar", false);
20
+ i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Action Authorizations", "AuthorizationID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Action Authorizations"))("AllowLoad", ctx_r1.IsSectionExpanded("mJActionAuthorizations"))("ShowToolbar", false);
21
21
  } }
22
22
  function MJAuthorizationFormComponent_Conditional_15_Template(rf, ctx) { if (rf & 1) {
23
23
  const _r3 = i0.ɵɵgetCurrentView();
24
24
  i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 17);
25
- i0.ɵɵlistener("Navigate", function MJAuthorizationFormComponent_Conditional_15_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 MJAuthorizationFormComponent_Conditional_15_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJAuthorizations", $event.totalRowCount)); });
25
+ i0.ɵɵlistener("Navigate", function MJAuthorizationFormComponent_Conditional_15_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 MJAuthorizationFormComponent_Conditional_15_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJAuditLogTypes", $event.totalRowCount)); });
26
26
  i0.ɵɵelementEnd()();
27
27
  } if (rf & 2) {
28
28
  const ctx_r1 = i0.ɵɵnextContext();
29
29
  i0.ɵɵadvance();
30
- i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Authorizations", "ParentID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Authorizations"))("AllowLoad", ctx_r1.IsSectionExpanded("mJAuthorizations"))("ShowToolbar", false);
30
+ i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Audit Log Types", "AuthorizationID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Audit Log Types"))("AllowLoad", ctx_r1.IsSectionExpanded("mJAuditLogTypes"))("ShowToolbar", false);
31
31
  } }
32
32
  function MJAuthorizationFormComponent_Conditional_17_Template(rf, ctx) { if (rf & 1) {
33
33
  const _r4 = i0.ɵɵgetCurrentView();
34
34
  i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 17);
35
- i0.ɵɵlistener("Navigate", function MJAuthorizationFormComponent_Conditional_17_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 MJAuthorizationFormComponent_Conditional_17_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJAuditLogTypes", $event.totalRowCount)); });
35
+ i0.ɵɵlistener("Navigate", function MJAuthorizationFormComponent_Conditional_17_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 MJAuthorizationFormComponent_Conditional_17_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJAuditLogs", $event.totalRowCount)); });
36
36
  i0.ɵɵelementEnd()();
37
37
  } if (rf & 2) {
38
38
  const ctx_r1 = i0.ɵɵnextContext();
39
39
  i0.ɵɵadvance();
40
- i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Audit Log Types", "AuthorizationID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Audit Log Types"))("AllowLoad", ctx_r1.IsSectionExpanded("mJAuditLogTypes"))("ShowToolbar", false);
40
+ i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Audit Logs", "AuthorizationID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Audit Logs"))("AllowLoad", ctx_r1.IsSectionExpanded("mJAuditLogs"))("ShowToolbar", false);
41
41
  } }
42
42
  function MJAuthorizationFormComponent_Conditional_19_Template(rf, ctx) { if (rf & 1) {
43
43
  const _r5 = i0.ɵɵgetCurrentView();
44
44
  i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 17);
45
- i0.ɵɵlistener("Navigate", function MJAuthorizationFormComponent_Conditional_19_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 MJAuthorizationFormComponent_Conditional_19_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJAuditLogs", $event.totalRowCount)); });
45
+ i0.ɵɵlistener("Navigate", function MJAuthorizationFormComponent_Conditional_19_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 MJAuthorizationFormComponent_Conditional_19_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJAuthorizationRoles", $event.totalRowCount)); });
46
46
  i0.ɵɵelementEnd()();
47
47
  } if (rf & 2) {
48
48
  const ctx_r1 = i0.ɵɵnextContext();
49
49
  i0.ɵɵadvance();
50
- i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Audit Logs", "AuthorizationID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Audit Logs"))("AllowLoad", ctx_r1.IsSectionExpanded("mJAuditLogs"))("ShowToolbar", false);
50
+ i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Authorization Roles", "AuthorizationID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Authorization Roles"))("AllowLoad", ctx_r1.IsSectionExpanded("mJAuthorizationRoles"))("ShowToolbar", false);
51
51
  } }
52
52
  function MJAuthorizationFormComponent_Conditional_21_Template(rf, ctx) { if (rf & 1) {
53
53
  const _r6 = i0.ɵɵgetCurrentView();
54
54
  i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 17);
55
- i0.ɵɵlistener("Navigate", function MJAuthorizationFormComponent_Conditional_21_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 MJAuthorizationFormComponent_Conditional_21_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJActionAuthorizations", $event.totalRowCount)); });
55
+ i0.ɵɵlistener("Navigate", function MJAuthorizationFormComponent_Conditional_21_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 MJAuthorizationFormComponent_Conditional_21_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJAuthorizations", $event.totalRowCount)); });
56
56
  i0.ɵɵelementEnd()();
57
57
  } if (rf & 2) {
58
58
  const ctx_r1 = i0.ɵɵnextContext();
59
59
  i0.ɵɵadvance();
60
- i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Action Authorizations", "AuthorizationID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Action Authorizations"))("AllowLoad", ctx_r1.IsSectionExpanded("mJActionAuthorizations"))("ShowToolbar", false);
60
+ i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Authorizations", "ParentID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Authorizations"))("AllowLoad", ctx_r1.IsSectionExpanded("mJAuthorizations"))("ShowToolbar", false);
61
61
  } }
62
62
  let MJAuthorizationFormComponent = class MJAuthorizationFormComponent extends BaseFormComponent {
63
63
  async ngOnInit() {
@@ -66,15 +66,15 @@ let MJAuthorizationFormComponent = class MJAuthorizationFormComponent extends Ba
66
66
  { sectionKey: 'authorizationHierarchy', sectionName: 'Authorization Hierarchy', isExpanded: true },
67
67
  { sectionKey: 'authorizationCore', sectionName: 'Authorization Core', isExpanded: true },
68
68
  { sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },
69
- { sectionKey: 'mJAuthorizationRoles', sectionName: 'Authorization Roles', isExpanded: false },
70
- { sectionKey: 'mJAuthorizations', sectionName: 'Authorizations', isExpanded: false },
69
+ { sectionKey: 'mJActionAuthorizations', sectionName: 'Action Authorizations', isExpanded: false },
71
70
  { sectionKey: 'mJAuditLogTypes', sectionName: 'Audit Log Types', isExpanded: false },
72
71
  { sectionKey: 'mJAuditLogs', sectionName: 'Audit Logs', isExpanded: false },
73
- { sectionKey: 'mJActionAuthorizations', sectionName: 'Action Authorizations', isExpanded: false }
72
+ { sectionKey: 'mJAuthorizationRoles', sectionName: 'Authorization Roles', isExpanded: false },
73
+ { sectionKey: 'mJAuthorizations', sectionName: 'Authorizations', isExpanded: false }
74
74
  ]);
75
75
  }
76
76
  static { this.ɵfac = /*@__PURE__*/ (() => { let ɵMJAuthorizationFormComponent_BaseFactory; return function MJAuthorizationFormComponent_Factory(__ngFactoryType__) { return (ɵMJAuthorizationFormComponent_BaseFactory || (ɵMJAuthorizationFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(MJAuthorizationFormComponent)))(__ngFactoryType__ || MJAuthorizationFormComponent); }; })(); }
77
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJAuthorizationFormComponent, selectors: [["gen-mjauthorization-form"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 22, vars: 65, consts: [[3, "Navigate", "DeleteRequested", "FavoriteToggled", "HistoryRequested", "ListManagementRequested", "Record", "FormComponent"], ["SectionKey", "authorizationHierarchy", "SectionName", "Authorization Hierarchy", "Icon", "fa fa-sitemap", 3, "Form", "FormContext"], ["FieldName", "ParentID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "RootParentID", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "authorizationCore", "SectionName", "Authorization Core", "Icon", "fa fa-key", 3, "Form", "FormContext"], ["FieldName", "Name", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "IsActive", "Type", "checkbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "UseAuditLog", "Type", "checkbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Description", "Type", "textarea", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "systemMetadata", "SectionName", "System Metadata", "Icon", "fa fa-cog", 3, "Form", "FormContext"], ["FieldName", "__mj_CreatedAt", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "__mj_UpdatedAt", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "mJAuthorizationRoles", "SectionName", "Authorization Roles", "Icon", "fa fa-user-shield", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJAuthorizations", "SectionName", "Authorizations", "Icon", "fa-solid fa-shield-halved", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJAuditLogTypes", "SectionName", "Audit Log Types", "Icon", "fa fa-clipboard-list", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJAuditLogs", "SectionName", "Audit Logs", "Icon", "fa-solid fa-fingerprint", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJActionAuthorizations", "SectionName", "Action Authorizations", "Icon", "fa fa-shield-alt", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], [3, "Navigate", "AfterDataLoad", "Params", "NewRecordValues", "AllowLoad", "ShowToolbar"]], template: function MJAuthorizationFormComponent_Template(rf, ctx) { if (rf & 1) {
77
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJAuthorizationFormComponent, selectors: [["gen-mjauthorization-form"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 22, vars: 65, consts: [[3, "Navigate", "DeleteRequested", "FavoriteToggled", "HistoryRequested", "ListManagementRequested", "Record", "FormComponent"], ["SectionKey", "authorizationHierarchy", "SectionName", "Authorization Hierarchy", "Icon", "fa fa-sitemap", 3, "Form", "FormContext"], ["FieldName", "ParentID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "RootParentID", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "authorizationCore", "SectionName", "Authorization Core", "Icon", "fa fa-key", 3, "Form", "FormContext"], ["FieldName", "Name", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "IsActive", "Type", "checkbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "UseAuditLog", "Type", "checkbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Description", "Type", "textarea", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "systemMetadata", "SectionName", "System Metadata", "Icon", "fa fa-cog", 3, "Form", "FormContext"], ["FieldName", "__mj_CreatedAt", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "__mj_UpdatedAt", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "mJActionAuthorizations", "SectionName", "Action Authorizations", "Icon", "fa fa-shield-alt", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJAuditLogTypes", "SectionName", "Audit Log Types", "Icon", "fa fa-clipboard-list", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJAuditLogs", "SectionName", "Audit Logs", "Icon", "fa-solid fa-fingerprint", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJAuthorizationRoles", "SectionName", "Authorization Roles", "Icon", "fa fa-user-shield", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJAuthorizations", "SectionName", "Authorizations", "Icon", "fa-solid fa-shield-halved", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], [3, "Navigate", "AfterDataLoad", "Params", "NewRecordValues", "AllowLoad", "ShowToolbar"]], template: function MJAuthorizationFormComponent_Template(rf, ctx) { if (rf & 1) {
78
78
  i0.ɵɵelementStart(0, "mj-record-form-container", 0);
79
79
  i0.ɵɵlistener("Navigate", function MJAuthorizationFormComponent_Template_mj_record_form_container_Navigate_0_listener($event) { return ctx.OnFormNavigate($event); })("DeleteRequested", function MJAuthorizationFormComponent_Template_mj_record_form_container_DeleteRequested_0_listener() { return ctx.OnDeleteRequested(); })("FavoriteToggled", function MJAuthorizationFormComponent_Template_mj_record_form_container_FavoriteToggled_0_listener() { return ctx.OnFavoriteToggled(); })("HistoryRequested", function MJAuthorizationFormComponent_Template_mj_record_form_container_HistoryRequested_0_listener() { return ctx.OnHistoryRequested(); })("ListManagementRequested", function MJAuthorizationFormComponent_Template_mj_record_form_container_ListManagementRequested_0_listener() { return ctx.OnListManagementRequested(); });
80
80
  i0.ɵɵelementStart(1, "mj-collapsible-panel", 1);
@@ -126,23 +126,23 @@ let MJAuthorizationFormComponent = class MJAuthorizationFormComponent extends Ba
126
126
  i0.ɵɵadvance();
127
127
  i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
128
128
  i0.ɵɵadvance();
129
- i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJAuthorizationRoles"))("DefaultExpanded", false);
129
+ i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJActionAuthorizations"))("DefaultExpanded", false);
130
130
  i0.ɵɵadvance();
131
131
  i0.ɵɵconditional(ctx.record.IsSaved ? 13 : -1);
132
132
  i0.ɵɵadvance();
133
- i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJAuthorizations"))("DefaultExpanded", false);
133
+ i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJAuditLogTypes"))("DefaultExpanded", false);
134
134
  i0.ɵɵadvance();
135
135
  i0.ɵɵconditional(ctx.record.IsSaved ? 15 : -1);
136
136
  i0.ɵɵadvance();
137
- i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJAuditLogTypes"))("DefaultExpanded", false);
137
+ i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJAuditLogs"))("DefaultExpanded", false);
138
138
  i0.ɵɵadvance();
139
139
  i0.ɵɵconditional(ctx.record.IsSaved ? 17 : -1);
140
140
  i0.ɵɵadvance();
141
- i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJAuditLogs"))("DefaultExpanded", false);
141
+ i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJAuthorizationRoles"))("DefaultExpanded", false);
142
142
  i0.ɵɵadvance();
143
143
  i0.ɵɵconditional(ctx.record.IsSaved ? 19 : -1);
144
144
  i0.ɵɵadvance();
145
- i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJActionAuthorizations"))("DefaultExpanded", false);
145
+ i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJAuthorizations"))("DefaultExpanded", false);
146
146
  i0.ɵɵadvance();
147
147
  i0.ɵɵconditional(ctx.record.IsSaved ? 21 : -1);
148
148
  } }, dependencies: [i1.MjFormFieldComponent, i1.MjCollapsiblePanelComponent, i1.MjRecordFormContainerComponent, i1.ExplorerEntityDataGridComponent], encapsulation: 2 }); }
@@ -153,7 +153,7 @@ MJAuthorizationFormComponent = __decorate([
153
153
  export { MJAuthorizationFormComponent };
154
154
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MJAuthorizationFormComponent, [{
155
155
  type: Component,
156
- args: [{ standalone: false, selector: 'gen-mjauthorization-form', template: "<mj-record-form-container [Record]=\"record\" [FormComponent]=\"this\"\n (Navigate)=\"OnFormNavigate($event)\"\n (DeleteRequested)=\"OnDeleteRequested()\"\n (FavoriteToggled)=\"OnFavoriteToggled()\"\n (HistoryRequested)=\"OnHistoryRequested()\"\n (ListManagementRequested)=\"OnListManagementRequested()\">\n\n <!-- ========================================\n FIELD PANELS\n ======================================== -->\n <!-- Authorization Hierarchy Section -->\n <mj-collapsible-panel\n SectionKey=\"authorizationHierarchy\"\n SectionName=\"Authorization Hierarchy\"\n Icon=\"fa fa-sitemap\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ParentID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"RootParentID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Authorization Core Section -->\n <mj-collapsible-panel\n SectionKey=\"authorizationCore\"\n SectionName=\"Authorization Core\"\n Icon=\"fa fa-key\"\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=\"IsActive\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"UseAuditLog\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Description\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- System Metadata Section -->\n <mj-collapsible-panel\n SectionKey=\"systemMetadata\"\n SectionName=\"System Metadata\"\n Icon=\"fa fa-cog\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_CreatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_UpdatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- ========================================\n RELATED ENTITY PANELS\n ======================================== -->\n\n <!-- 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','AuthorizationID')\"\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 <!-- Authorizations Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAuthorizations\"\n SectionName=\"Authorizations\"\n Icon=\"fa-solid fa-shield-halved\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAuthorizations')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Authorizations','ParentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Authorizations')\"\n [AllowLoad]=\"IsSectionExpanded('mJAuthorizations')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAuthorizations', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Audit Log Types Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAuditLogTypes\"\n SectionName=\"Audit Log Types\"\n Icon=\"fa fa-clipboard-list\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAuditLogTypes')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Audit Log Types','AuthorizationID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Audit Log Types')\"\n [AllowLoad]=\"IsSectionExpanded('mJAuditLogTypes')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAuditLogTypes', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Audit Logs Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAuditLogs\"\n SectionName=\"Audit Logs\"\n Icon=\"fa-solid fa-fingerprint\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAuditLogs')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Audit Logs','AuthorizationID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Audit Logs')\"\n [AllowLoad]=\"IsSectionExpanded('mJAuditLogs')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAuditLogs', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Action Authorizations Section -->\n <mj-collapsible-panel\n SectionKey=\"mJActionAuthorizations\"\n SectionName=\"Action Authorizations\"\n Icon=\"fa fa-shield-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJActionAuthorizations')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Action Authorizations','AuthorizationID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Action Authorizations')\"\n [AllowLoad]=\"IsSectionExpanded('mJActionAuthorizations')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJActionAuthorizations', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n</mj-record-form-container>\n " }]
156
+ args: [{ standalone: false, selector: 'gen-mjauthorization-form', template: "<mj-record-form-container [Record]=\"record\" [FormComponent]=\"this\"\n (Navigate)=\"OnFormNavigate($event)\"\n (DeleteRequested)=\"OnDeleteRequested()\"\n (FavoriteToggled)=\"OnFavoriteToggled()\"\n (HistoryRequested)=\"OnHistoryRequested()\"\n (ListManagementRequested)=\"OnListManagementRequested()\">\n\n <!-- ========================================\n FIELD PANELS\n ======================================== -->\n <!-- Authorization Hierarchy Section -->\n <mj-collapsible-panel\n SectionKey=\"authorizationHierarchy\"\n SectionName=\"Authorization Hierarchy\"\n Icon=\"fa fa-sitemap\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ParentID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"RootParentID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Authorization Core Section -->\n <mj-collapsible-panel\n SectionKey=\"authorizationCore\"\n SectionName=\"Authorization Core\"\n Icon=\"fa fa-key\"\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=\"IsActive\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"UseAuditLog\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Description\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- System Metadata Section -->\n <mj-collapsible-panel\n SectionKey=\"systemMetadata\"\n SectionName=\"System Metadata\"\n Icon=\"fa fa-cog\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_CreatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_UpdatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- ========================================\n RELATED ENTITY PANELS\n ======================================== -->\n\n <!-- Action Authorizations Section -->\n <mj-collapsible-panel\n SectionKey=\"mJActionAuthorizations\"\n SectionName=\"Action Authorizations\"\n Icon=\"fa fa-shield-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJActionAuthorizations')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Action Authorizations','AuthorizationID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Action Authorizations')\"\n [AllowLoad]=\"IsSectionExpanded('mJActionAuthorizations')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJActionAuthorizations', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Audit Log Types Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAuditLogTypes\"\n SectionName=\"Audit Log Types\"\n Icon=\"fa fa-clipboard-list\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAuditLogTypes')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Audit Log Types','AuthorizationID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Audit Log Types')\"\n [AllowLoad]=\"IsSectionExpanded('mJAuditLogTypes')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAuditLogTypes', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Audit Logs Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAuditLogs\"\n SectionName=\"Audit Logs\"\n Icon=\"fa-solid fa-fingerprint\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAuditLogs')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Audit Logs','AuthorizationID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Audit Logs')\"\n [AllowLoad]=\"IsSectionExpanded('mJAuditLogs')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAuditLogs', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\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','AuthorizationID')\"\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 <!-- Authorizations Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAuthorizations\"\n SectionName=\"Authorizations\"\n Icon=\"fa-solid fa-shield-halved\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAuthorizations')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Authorizations','ParentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Authorizations')\"\n [AllowLoad]=\"IsSectionExpanded('mJAuthorizations')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAuthorizations', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n</mj-record-form-container>\n " }]
157
157
  }], null, null); })();
158
158
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MJAuthorizationFormComponent, { className: "MJAuthorizationFormComponent", filePath: "src/lib/generated/Entities/MJAuthorization/mjauthorization.form.component.ts", lineNumber: 13 }); })();
159
159
  //# sourceMappingURL=mjauthorization.form.component.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"mjauthorization.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJAuthorization/mjauthorization.form.component.ts","../../../../../src/lib/generated/Entities/MJAuthorization/mjauthorization.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;;;;;ICsHtD,AADJ,2BAAK,uCAQI;IADD,AADA,mOAAY,6BAAsB,KAAC,gOAClB,0BAAmB,sBAAsB,uBAAuB,KAAC;IAG1F,AADI,iBAA+B,EAC7B;;;IARE,cAA+F;IAG/F,AADA,AADA,AADA,qHAA+F,sEACjC,+DACP,sBAClC;;;;IAqBzB,AADJ,2BAAK,uCAQI;IADD,AADA,mOAAY,6BAAsB,KA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ACM;YAU/B,cAAa;YACb,AADA,0BAAa,gCACc;YAEvB,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAG3B,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAG3B,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAG3B,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAU/B,cAAa;YACb,AADA,0BAAa,gCACc;YAEvB,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAG3B,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAe/B,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,8DAC8B,0BAChC;YACzB,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,yDACyB,0BAC3B;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;;;AD3NI,4BAA4B;IANxC,aAAa,CAAC,iBAAiB,EAAE,oBAAoB,CAAC,CAAC,uCAAuC;GAMlF,4BAA4B,CAgBxC;;iFAhBY,4BAA4B;cALxC,SAAS;6BACM,KAAK,YACP,0BAA0B;;kFAG3B,4BAA4B","sourcesContent":["import { Component } from '@angular/core';\nimport { MJAuthorizationEntity } 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: Authorizations') // Tell MemberJunction about this class\n@Component({\n standalone: false,\n selector: 'gen-mjauthorization-form',\n templateUrl: './mjauthorization.form.component.html'\n})\nexport class MJAuthorizationFormComponent extends BaseFormComponent {\n public record!: MJAuthorizationEntity;\n\n override async ngOnInit() {\n await super.ngOnInit();\n this.initSections([\n { sectionKey: 'authorizationHierarchy', sectionName: 'Authorization Hierarchy', isExpanded: true },\n { sectionKey: 'authorizationCore', sectionName: 'Authorization Core', isExpanded: true },\n { sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },\n { sectionKey: 'mJAuthorizationRoles', sectionName: 'Authorization Roles', isExpanded: false },\n { sectionKey: 'mJAuthorizations', sectionName: 'Authorizations', isExpanded: false },\n { sectionKey: 'mJAuditLogTypes', sectionName: 'Audit Log Types', isExpanded: false },\n { sectionKey: 'mJAuditLogs', sectionName: 'Audit Logs', isExpanded: false },\n { sectionKey: 'mJActionAuthorizations', sectionName: 'Action Authorizations', isExpanded: false }\n ]);\n }\n}\n\n","<mj-record-form-container [Record]=\"record\" [FormComponent]=\"this\"\n (Navigate)=\"OnFormNavigate($event)\"\n (DeleteRequested)=\"OnDeleteRequested()\"\n (FavoriteToggled)=\"OnFavoriteToggled()\"\n (HistoryRequested)=\"OnHistoryRequested()\"\n (ListManagementRequested)=\"OnListManagementRequested()\">\n\n <!-- ========================================\n FIELD PANELS\n ======================================== -->\n <!-- Authorization Hierarchy Section -->\n <mj-collapsible-panel\n SectionKey=\"authorizationHierarchy\"\n SectionName=\"Authorization Hierarchy\"\n Icon=\"fa fa-sitemap\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ParentID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"RootParentID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Authorization Core Section -->\n <mj-collapsible-panel\n SectionKey=\"authorizationCore\"\n SectionName=\"Authorization Core\"\n Icon=\"fa fa-key\"\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=\"IsActive\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"UseAuditLog\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Description\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- System Metadata Section -->\n <mj-collapsible-panel\n SectionKey=\"systemMetadata\"\n SectionName=\"System Metadata\"\n Icon=\"fa fa-cog\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_CreatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_UpdatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- ========================================\n RELATED ENTITY PANELS\n ======================================== -->\n\n <!-- 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','AuthorizationID')\"\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 <!-- Authorizations Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAuthorizations\"\n SectionName=\"Authorizations\"\n Icon=\"fa-solid fa-shield-halved\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAuthorizations')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Authorizations','ParentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Authorizations')\"\n [AllowLoad]=\"IsSectionExpanded('mJAuthorizations')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAuthorizations', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Audit Log Types Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAuditLogTypes\"\n SectionName=\"Audit Log Types\"\n Icon=\"fa fa-clipboard-list\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAuditLogTypes')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Audit Log Types','AuthorizationID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Audit Log Types')\"\n [AllowLoad]=\"IsSectionExpanded('mJAuditLogTypes')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAuditLogTypes', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Audit Logs Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAuditLogs\"\n SectionName=\"Audit Logs\"\n Icon=\"fa-solid fa-fingerprint\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAuditLogs')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Audit Logs','AuthorizationID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Audit Logs')\"\n [AllowLoad]=\"IsSectionExpanded('mJAuditLogs')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAuditLogs', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Action Authorizations Section -->\n <mj-collapsible-panel\n SectionKey=\"mJActionAuthorizations\"\n SectionName=\"Action Authorizations\"\n Icon=\"fa fa-shield-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJActionAuthorizations')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Action Authorizations','AuthorizationID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Action Authorizations')\"\n [AllowLoad]=\"IsSectionExpanded('mJActionAuthorizations')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJActionAuthorizations', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n</mj-record-form-container>\n "]}
1
+ {"version":3,"file":"mjauthorization.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJAuthorization/mjauthorization.form.component.ts","../../../../../src/lib/generated/Entities/MJAuthorization/mjauthorization.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;;;;;ICsHtD,AADJ,2BAAK,uCAQI;IADD,AADA,mOAAY,6BAAsB,KAAC,gOAClB,0BAAmB,wBAAwB,uBAAuB,KAAC;IAG5F,AADI,iBAA+B,EAC7B;;;IARE,cAAiG;IAGjG,AADA,AADA,AADA,uHAAiG,wEACjC,iEACP,sBACpC;;;;IAqBzB,AADJ,2BAAK,uCAQI;IADD,AADA,mOAAY,6BAAsB,KAAC,gOAClB,0BAAmB,iBAAiB,uBAAuB,KAAC;IAGrF,AADI,iBAA+B,EAC7B;;;IARE,cAA2F;IAG3F,AADA,AADA,AADA,iHAA2F,kEACjC,0DACR,sBAC7B;;;;IAqBzB,AADJ,2BAAK,uCAQI;IADD,AADA,mOAAY,6BAAsB,KAAC,gOAClB,0BAAmB,aAAa,uBAAuB,KAAC;IAGjF,A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AiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAU/B,cAAa;YACb,AADA,0BAAa,gCACc;YAEvB,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAG3B,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAe/B,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,gEACgC,0BAClC;YACzB,cAYC;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,yDACyB,0BAC3B;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,8DAC8B,0BAChC;YACzB,cAYC;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,0DAC0B,0BAC5B;YACzB,cAYC;YAZD,8CAYC;;;AD3NI,4BAA4B;IANxC,aAAa,CAAC,iBAAiB,EAAE,oBAAoB,CAAC,CAAC,uCAAuC;GAMlF,4BAA4B,CAgBxC;;iFAhBY,4BAA4B;cALxC,SAAS;6BACM,KAAK,YACP,0BAA0B;;kFAG3B,4BAA4B","sourcesContent":["import { Component } from '@angular/core';\nimport { MJAuthorizationEntity } 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: Authorizations') // Tell MemberJunction about this class\n@Component({\n standalone: false,\n selector: 'gen-mjauthorization-form',\n templateUrl: './mjauthorization.form.component.html'\n})\nexport class MJAuthorizationFormComponent extends BaseFormComponent {\n public record!: MJAuthorizationEntity;\n\n override async ngOnInit() {\n await super.ngOnInit();\n this.initSections([\n { sectionKey: 'authorizationHierarchy', sectionName: 'Authorization Hierarchy', isExpanded: true },\n { sectionKey: 'authorizationCore', sectionName: 'Authorization Core', isExpanded: true },\n { sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },\n { sectionKey: 'mJActionAuthorizations', sectionName: 'Action Authorizations', isExpanded: false },\n { sectionKey: 'mJAuditLogTypes', sectionName: 'Audit Log Types', isExpanded: false },\n { sectionKey: 'mJAuditLogs', sectionName: 'Audit Logs', isExpanded: false },\n { sectionKey: 'mJAuthorizationRoles', sectionName: 'Authorization Roles', isExpanded: false },\n { sectionKey: 'mJAuthorizations', sectionName: 'Authorizations', isExpanded: false }\n ]);\n }\n}\n\n","<mj-record-form-container [Record]=\"record\" [FormComponent]=\"this\"\n (Navigate)=\"OnFormNavigate($event)\"\n (DeleteRequested)=\"OnDeleteRequested()\"\n (FavoriteToggled)=\"OnFavoriteToggled()\"\n (HistoryRequested)=\"OnHistoryRequested()\"\n (ListManagementRequested)=\"OnListManagementRequested()\">\n\n <!-- ========================================\n FIELD PANELS\n ======================================== -->\n <!-- Authorization Hierarchy Section -->\n <mj-collapsible-panel\n SectionKey=\"authorizationHierarchy\"\n SectionName=\"Authorization Hierarchy\"\n Icon=\"fa fa-sitemap\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ParentID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"RootParentID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Authorization Core Section -->\n <mj-collapsible-panel\n SectionKey=\"authorizationCore\"\n SectionName=\"Authorization Core\"\n Icon=\"fa fa-key\"\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=\"IsActive\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"UseAuditLog\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Description\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- System Metadata Section -->\n <mj-collapsible-panel\n SectionKey=\"systemMetadata\"\n SectionName=\"System Metadata\"\n Icon=\"fa fa-cog\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_CreatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_UpdatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- ========================================\n RELATED ENTITY PANELS\n ======================================== -->\n\n <!-- Action Authorizations Section -->\n <mj-collapsible-panel\n SectionKey=\"mJActionAuthorizations\"\n SectionName=\"Action Authorizations\"\n Icon=\"fa fa-shield-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJActionAuthorizations')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Action Authorizations','AuthorizationID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Action Authorizations')\"\n [AllowLoad]=\"IsSectionExpanded('mJActionAuthorizations')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJActionAuthorizations', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Audit Log Types Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAuditLogTypes\"\n SectionName=\"Audit Log Types\"\n Icon=\"fa fa-clipboard-list\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAuditLogTypes')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Audit Log Types','AuthorizationID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Audit Log Types')\"\n [AllowLoad]=\"IsSectionExpanded('mJAuditLogTypes')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAuditLogTypes', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Audit Logs Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAuditLogs\"\n SectionName=\"Audit Logs\"\n Icon=\"fa-solid fa-fingerprint\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAuditLogs')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Audit Logs','AuthorizationID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Audit Logs')\"\n [AllowLoad]=\"IsSectionExpanded('mJAuditLogs')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAuditLogs', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\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','AuthorizationID')\"\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 <!-- Authorizations Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAuthorizations\"\n SectionName=\"Authorizations\"\n Icon=\"fa-solid fa-shield-halved\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAuthorizations')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Authorizations','ParentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Authorizations')\"\n [AllowLoad]=\"IsSectionExpanded('mJAuthorizations')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAuthorizations', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n</mj-record-form-container>\n "]}
@@ -13,23 +13,23 @@ import * as i2 from "@memberjunction/ng-join-grid";
13
13
  const _c0 = () => ["Name", "Status", "AdditionalAttributes"];
14
14
  const _c1 = a0 => ({ CommunicationProviderID: a0 });
15
15
  function MJCommunicationProviderFormComponent_Conditional_17_Template(rf, ctx) { if (rf & 1) {
16
- i0.ɵɵelementStart(0, "div");
17
- i0.ɵɵelement(1, "mj-join-grid", 18);
18
- i0.ɵɵelementEnd();
16
+ const _r1 = i0.ɵɵgetCurrentView();
17
+ i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 18);
18
+ i0.ɵɵlistener("Navigate", function MJCommunicationProviderFormComponent_Conditional_17_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 MJCommunicationProviderFormComponent_Conditional_17_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJCommunicationLogs", $event.totalRowCount)); });
19
+ i0.ɵɵelementEnd()();
19
20
  } if (rf & 2) {
20
- const ctx_r0 = i0.ɵɵnextContext();
21
+ const ctx_r1 = i0.ɵɵnextContext();
21
22
  i0.ɵɵadvance();
22
- i0.ɵɵproperty("ShowSaveButton", false)("ShowCancelButton", false)("EditMode", ctx_r0.GridEditMode())("JoinEntityExtraFilter", "CommunicationProviderID=" + ctx_r0.record.ID)("JoinEntityDisplayColumns", i0.ɵɵpureFunction0(6, _c0))("NewRecordDefaultValues", i0.ɵɵpureFunction1(7, _c1, ctx_r0.record.ID));
23
+ i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Communication Logs", "CommunicationProviderID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Communication Logs"))("AllowLoad", ctx_r1.IsSectionExpanded("mJCommunicationLogs"))("ShowToolbar", false);
23
24
  } }
24
25
  function MJCommunicationProviderFormComponent_Conditional_19_Template(rf, ctx) { if (rf & 1) {
25
- const _r2 = i0.ɵɵgetCurrentView();
26
- i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 19);
27
- i0.ɵɵlistener("Navigate", function MJCommunicationProviderFormComponent_Conditional_19_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r2); const ctx_r0 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r0.OnFormNavigate($event)); })("AfterDataLoad", function MJCommunicationProviderFormComponent_Conditional_19_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r2); const ctx_r0 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r0.SetSectionRowCount("mJCommunicationLogs", $event.totalRowCount)); });
28
- i0.ɵɵelementEnd()();
26
+ i0.ɵɵelementStart(0, "div");
27
+ i0.ɵɵelement(1, "mj-join-grid", 19);
28
+ i0.ɵɵelementEnd();
29
29
  } if (rf & 2) {
30
- const ctx_r0 = i0.ɵɵnextContext();
30
+ const ctx_r1 = i0.ɵɵnextContext();
31
31
  i0.ɵɵadvance();
32
- i0.ɵɵproperty("Params", ctx_r0.BuildRelationshipViewParamsByEntityName("MJ: Communication Logs", "CommunicationProviderID"))("NewRecordValues", ctx_r0.NewRecordValues("MJ: Communication Logs"))("AllowLoad", ctx_r0.IsSectionExpanded("mJCommunicationLogs"))("ShowToolbar", false);
32
+ i0.ɵɵproperty("ShowSaveButton", false)("ShowCancelButton", false)("EditMode", ctx_r1.GridEditMode())("JoinEntityExtraFilter", "CommunicationProviderID=" + ctx_r1.record.ID)("JoinEntityDisplayColumns", i0.ɵɵpureFunction0(6, _c0))("NewRecordDefaultValues", i0.ɵɵpureFunction1(7, _c1, ctx_r1.record.ID));
33
33
  } }
34
34
  let MJCommunicationProviderFormComponent = class MJCommunicationProviderFormComponent extends BaseFormComponent {
35
35
  async ngOnInit() {
@@ -39,12 +39,12 @@ let MJCommunicationProviderFormComponent = class MJCommunicationProviderFormComp
39
39
  { sectionKey: 'operationalSettings', sectionName: 'Operational Settings', isExpanded: true },
40
40
  { sectionKey: 'advancedCapabilities', sectionName: 'Advanced Capabilities', isExpanded: false },
41
41
  { sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },
42
- { sectionKey: 'mJCommunicationProviderMessageTypes', sectionName: 'Message Types', isExpanded: false },
43
- { sectionKey: 'mJCommunicationLogs', sectionName: 'Communication Logs', isExpanded: false }
42
+ { sectionKey: 'mJCommunicationLogs', sectionName: 'Communication Logs', isExpanded: false },
43
+ { sectionKey: 'mJCommunicationProviderMessageTypes', sectionName: 'Message Types', isExpanded: false }
44
44
  ]);
45
45
  }
46
46
  static { this.ɵfac = /*@__PURE__*/ (() => { let ɵMJCommunicationProviderFormComponent_BaseFactory; return function MJCommunicationProviderFormComponent_Factory(__ngFactoryType__) { return (ɵMJCommunicationProviderFormComponent_BaseFactory || (ɵMJCommunicationProviderFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(MJCommunicationProviderFormComponent)))(__ngFactoryType__ || MJCommunicationProviderFormComponent); }; })(); }
47
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJCommunicationProviderFormComponent, selectors: [["gen-mjcommunicationprovider-form"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 20, vars: 64, consts: [[3, "Navigate", "DeleteRequested", "FavoriteToggled", "HistoryRequested", "ListManagementRequested", "Record", "FormComponent"], ["SectionKey", "providerDetails", "SectionName", "Provider Details", "Icon", "fa fa-id-card", 3, "Form", "FormContext"], ["FieldName", "Name", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Description", "Type", "textarea", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "operationalSettings", "SectionName", "Operational Settings", "Icon", "fa fa-cog", 3, "Form", "FormContext"], ["FieldName", "Status", "Type", "select", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "SupportsSending", "Type", "checkbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "SupportsReceiving", "Type", "checkbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "advancedCapabilities", "SectionName", "Advanced Capabilities", "Icon", "fa fa-cogs", 3, "Form", "FormContext"], ["FieldName", "SupportsScheduledSending", "Type", "checkbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "SupportsForwarding", "Type", "checkbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "SupportsReplying", "Type", "checkbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "SupportsDrafts", "Type", "checkbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "systemMetadata", "SectionName", "System Metadata", "Icon", "fa fa-database", 3, "Form", "FormContext"], ["FieldName", "__mj_CreatedAt", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "__mj_UpdatedAt", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "mJCommunicationProviderMessageTypes", "SectionName", "Message Types", "Icon", "fa fa-comment", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJCommunicationLogs", "SectionName", "Communication Logs", "Icon", "fa fa-comment", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["RowsEntityName", "MJ: Communication Base Message Types", "RowsEntityDisplayField", "Type", "RowsExtraFilter", "", "RowsEntityDataSource", "FullEntity", "RowsOrderBy", "Type", "RowsEntityDisplayName", "Base Type", "ColumnsMode", "Fields", "JoinEntityName", "MJ: Communication Provider Message Types", "JoinEntityRowForeignKey", "CommunicationBaseMessageTypeID", 3, "ShowSaveButton", "ShowCancelButton", "EditMode", "JoinEntityExtraFilter", "JoinEntityDisplayColumns", "NewRecordDefaultValues"], [3, "Navigate", "AfterDataLoad", "Params", "NewRecordValues", "AllowLoad", "ShowToolbar"]], template: function MJCommunicationProviderFormComponent_Template(rf, ctx) { if (rf & 1) {
47
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJCommunicationProviderFormComponent, selectors: [["gen-mjcommunicationprovider-form"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 20, vars: 64, consts: [[3, "Navigate", "DeleteRequested", "FavoriteToggled", "HistoryRequested", "ListManagementRequested", "Record", "FormComponent"], ["SectionKey", "providerDetails", "SectionName", "Provider Details", "Icon", "fa fa-id-card", 3, "Form", "FormContext"], ["FieldName", "Name", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Description", "Type", "textarea", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "operationalSettings", "SectionName", "Operational Settings", "Icon", "fa fa-cog", 3, "Form", "FormContext"], ["FieldName", "Status", "Type", "select", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "SupportsSending", "Type", "checkbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "SupportsReceiving", "Type", "checkbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "advancedCapabilities", "SectionName", "Advanced Capabilities", "Icon", "fa fa-cogs", 3, "Form", "FormContext"], ["FieldName", "SupportsScheduledSending", "Type", "checkbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "SupportsForwarding", "Type", "checkbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "SupportsReplying", "Type", "checkbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "SupportsDrafts", "Type", "checkbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "systemMetadata", "SectionName", "System Metadata", "Icon", "fa fa-database", 3, "Form", "FormContext"], ["FieldName", "__mj_CreatedAt", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "__mj_UpdatedAt", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "mJCommunicationLogs", "SectionName", "Communication Logs", "Icon", "fa fa-comment", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJCommunicationProviderMessageTypes", "SectionName", "Message Types", "Icon", "fa fa-comment", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], [3, "Navigate", "AfterDataLoad", "Params", "NewRecordValues", "AllowLoad", "ShowToolbar"], ["RowsEntityName", "MJ: Communication Base Message Types", "RowsEntityDisplayField", "Type", "RowsExtraFilter", "", "RowsEntityDataSource", "FullEntity", "RowsOrderBy", "Type", "RowsEntityDisplayName", "Base Type", "ColumnsMode", "Fields", "JoinEntityName", "MJ: Communication Provider Message Types", "JoinEntityRowForeignKey", "CommunicationBaseMessageTypeID", 3, "ShowSaveButton", "ShowCancelButton", "EditMode", "JoinEntityExtraFilter", "JoinEntityDisplayColumns", "NewRecordDefaultValues"]], template: function MJCommunicationProviderFormComponent_Template(rf, ctx) { if (rf & 1) {
48
48
  i0.ɵɵelementStart(0, "mj-record-form-container", 0);
49
49
  i0.ɵɵlistener("Navigate", function MJCommunicationProviderFormComponent_Template_mj_record_form_container_Navigate_0_listener($event) { return ctx.OnFormNavigate($event); })("DeleteRequested", function MJCommunicationProviderFormComponent_Template_mj_record_form_container_DeleteRequested_0_listener() { return ctx.OnDeleteRequested(); })("FavoriteToggled", function MJCommunicationProviderFormComponent_Template_mj_record_form_container_FavoriteToggled_0_listener() { return ctx.OnFavoriteToggled(); })("HistoryRequested", function MJCommunicationProviderFormComponent_Template_mj_record_form_container_HistoryRequested_0_listener() { return ctx.OnHistoryRequested(); })("ListManagementRequested", function MJCommunicationProviderFormComponent_Template_mj_record_form_container_ListManagementRequested_0_listener() { return ctx.OnListManagementRequested(); });
50
50
  i0.ɵɵelementStart(1, "mj-collapsible-panel", 1);
@@ -60,10 +60,10 @@ let MJCommunicationProviderFormComponent = class MJCommunicationProviderFormComp
60
60
  i0.ɵɵelement(14, "mj-form-field", 14)(15, "mj-form-field", 15);
61
61
  i0.ɵɵelementEnd();
62
62
  i0.ɵɵelementStart(16, "mj-collapsible-panel", 16);
63
- i0.ɵɵconditionalCreate(17, MJCommunicationProviderFormComponent_Conditional_17_Template, 2, 9, "div");
63
+ i0.ɵɵconditionalCreate(17, MJCommunicationProviderFormComponent_Conditional_17_Template, 2, 4, "div");
64
64
  i0.ɵɵelementEnd();
65
65
  i0.ɵɵelementStart(18, "mj-collapsible-panel", 17);
66
- i0.ɵɵconditionalCreate(19, MJCommunicationProviderFormComponent_Conditional_19_Template, 2, 4, "div");
66
+ i0.ɵɵconditionalCreate(19, MJCommunicationProviderFormComponent_Conditional_19_Template, 2, 9, "div");
67
67
  i0.ɵɵelementEnd()();
68
68
  } if (rf & 2) {
69
69
  i0.ɵɵproperty("Record", ctx.record)("FormComponent", ctx);
@@ -98,11 +98,11 @@ let MJCommunicationProviderFormComponent = class MJCommunicationProviderFormComp
98
98
  i0.ɵɵadvance();
99
99
  i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
100
100
  i0.ɵɵadvance();
101
- i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJCommunicationProviderMessageTypes"))("DefaultExpanded", false);
101
+ i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJCommunicationLogs"))("DefaultExpanded", false);
102
102
  i0.ɵɵadvance();
103
103
  i0.ɵɵconditional(ctx.record.IsSaved ? 17 : -1);
104
104
  i0.ɵɵadvance();
105
- i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJCommunicationLogs"))("DefaultExpanded", false);
105
+ i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJCommunicationProviderMessageTypes"))("DefaultExpanded", false);
106
106
  i0.ɵɵadvance();
107
107
  i0.ɵɵconditional(ctx.record.IsSaved ? 19 : -1);
108
108
  } }, dependencies: [i1.MjFormFieldComponent, i1.MjCollapsiblePanelComponent, i1.MjRecordFormContainerComponent, i1.ExplorerEntityDataGridComponent, i2.JoinGridComponent], encapsulation: 2 }); }
@@ -113,7 +113,7 @@ MJCommunicationProviderFormComponent = __decorate([
113
113
  export { MJCommunicationProviderFormComponent };
114
114
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MJCommunicationProviderFormComponent, [{
115
115
  type: Component,
116
- args: [{ standalone: false, selector: 'gen-mjcommunicationprovider-form', template: "<mj-record-form-container [Record]=\"record\" [FormComponent]=\"this\"\n (Navigate)=\"OnFormNavigate($event)\"\n (DeleteRequested)=\"OnDeleteRequested()\"\n (FavoriteToggled)=\"OnFavoriteToggled()\"\n (HistoryRequested)=\"OnHistoryRequested()\"\n (ListManagementRequested)=\"OnListManagementRequested()\">\n\n <!-- ========================================\n FIELD PANELS\n ======================================== -->\n <!-- Provider Details Section -->\n <mj-collapsible-panel\n SectionKey=\"providerDetails\"\n SectionName=\"Provider Details\"\n Icon=\"fa fa-id-card\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Name\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Description\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Operational Settings Section -->\n <mj-collapsible-panel\n SectionKey=\"operationalSettings\"\n SectionName=\"Operational Settings\"\n Icon=\"fa fa-cog\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Status\"\n Type=\"select\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SupportsSending\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SupportsReceiving\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Advanced Capabilities Section -->\n <mj-collapsible-panel\n SectionKey=\"advancedCapabilities\"\n SectionName=\"Advanced Capabilities\"\n Icon=\"fa fa-cogs\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SupportsScheduledSending\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SupportsForwarding\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SupportsReplying\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SupportsDrafts\"\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-database\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_CreatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_UpdatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- ========================================\n RELATED ENTITY PANELS\n ======================================== -->\n\n <!-- Message Types Section -->\n <mj-collapsible-panel\n SectionKey=\"mJCommunicationProviderMessageTypes\"\n SectionName=\"Message Types\"\n Icon=\"fa fa-comment\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJCommunicationProviderMessageTypes')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-join-grid\n [ShowSaveButton]=\"false\"\n [ShowCancelButton]=\"false\"\n [EditMode]=\"GridEditMode()\"\n RowsEntityName=\"MJ: Communication Base Message Types\"\n RowsEntityDisplayField=\"Type\"\n RowsExtraFilter=\"\"\n RowsEntityDataSource=\"FullEntity\"\n RowsOrderBy=\"Type\"\n RowsEntityDisplayName=\"Base Type\"\n ColumnsMode=\"Fields\"\n JoinEntityName=\"MJ: Communication Provider Message Types\"\n JoinEntityRowForeignKey=\"CommunicationBaseMessageTypeID\"\n [JoinEntityExtraFilter]=\"'CommunicationProviderID=' + record.ID\"\n [JoinEntityDisplayColumns]=\"['Name','Status','AdditionalAttributes']\"\n [NewRecordDefaultValues]=\"{CommunicationProviderID: record.ID}\"\n >\n </mj-join-grid>\n \n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Communication Logs Section -->\n <mj-collapsible-panel\n SectionKey=\"mJCommunicationLogs\"\n SectionName=\"Communication Logs\"\n Icon=\"fa fa-comment\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJCommunicationLogs')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Communication Logs','CommunicationProviderID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Communication Logs')\"\n [AllowLoad]=\"IsSectionExpanded('mJCommunicationLogs')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJCommunicationLogs', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n</mj-record-form-container>\n " }]
116
+ args: [{ standalone: false, selector: 'gen-mjcommunicationprovider-form', template: "<mj-record-form-container [Record]=\"record\" [FormComponent]=\"this\"\n (Navigate)=\"OnFormNavigate($event)\"\n (DeleteRequested)=\"OnDeleteRequested()\"\n (FavoriteToggled)=\"OnFavoriteToggled()\"\n (HistoryRequested)=\"OnHistoryRequested()\"\n (ListManagementRequested)=\"OnListManagementRequested()\">\n\n <!-- ========================================\n FIELD PANELS\n ======================================== -->\n <!-- Provider Details Section -->\n <mj-collapsible-panel\n SectionKey=\"providerDetails\"\n SectionName=\"Provider Details\"\n Icon=\"fa fa-id-card\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Name\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Description\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Operational Settings Section -->\n <mj-collapsible-panel\n SectionKey=\"operationalSettings\"\n SectionName=\"Operational Settings\"\n Icon=\"fa fa-cog\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Status\"\n Type=\"select\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SupportsSending\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SupportsReceiving\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Advanced Capabilities Section -->\n <mj-collapsible-panel\n SectionKey=\"advancedCapabilities\"\n SectionName=\"Advanced Capabilities\"\n Icon=\"fa fa-cogs\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SupportsScheduledSending\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SupportsForwarding\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SupportsReplying\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SupportsDrafts\"\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-database\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_CreatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_UpdatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- ========================================\n RELATED ENTITY PANELS\n ======================================== -->\n\n <!-- Communication Logs Section -->\n <mj-collapsible-panel\n SectionKey=\"mJCommunicationLogs\"\n SectionName=\"Communication Logs\"\n Icon=\"fa fa-comment\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJCommunicationLogs')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Communication Logs','CommunicationProviderID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Communication Logs')\"\n [AllowLoad]=\"IsSectionExpanded('mJCommunicationLogs')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJCommunicationLogs', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Message Types Section -->\n <mj-collapsible-panel\n SectionKey=\"mJCommunicationProviderMessageTypes\"\n SectionName=\"Message Types\"\n Icon=\"fa fa-comment\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJCommunicationProviderMessageTypes')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-join-grid\n [ShowSaveButton]=\"false\"\n [ShowCancelButton]=\"false\"\n [EditMode]=\"GridEditMode()\"\n RowsEntityName=\"MJ: Communication Base Message Types\"\n RowsEntityDisplayField=\"Type\"\n RowsExtraFilter=\"\"\n RowsEntityDataSource=\"FullEntity\"\n RowsOrderBy=\"Type\"\n RowsEntityDisplayName=\"Base Type\"\n ColumnsMode=\"Fields\"\n JoinEntityName=\"MJ: Communication Provider Message Types\"\n JoinEntityRowForeignKey=\"CommunicationBaseMessageTypeID\"\n [JoinEntityExtraFilter]=\"'CommunicationProviderID=' + record.ID\"\n [JoinEntityDisplayColumns]=\"['Name','Status','AdditionalAttributes']\"\n [NewRecordDefaultValues]=\"{CommunicationProviderID: record.ID}\"\n >\n </mj-join-grid>\n \n </div>\n }\n </mj-collapsible-panel>\n</mj-record-form-container>\n " }]
117
117
  }], null, null); })();
118
118
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MJCommunicationProviderFormComponent, { className: "MJCommunicationProviderFormComponent", filePath: "src/lib/generated/Entities/MJCommunicationProvider/mjcommunicationprovider.form.component.ts", lineNumber: 14 }); })();
119
119
  //# sourceMappingURL=mjcommunicationprovider.form.component.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"mjcommunicationprovider.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJCommunicationProvider/mjcommunicationprovider.form.component.ts","../../../../../src/lib/generated/Entities/MJCommunicationProvider/mjcommunicationprovider.form.component.html"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,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AADA,mCAAiB,mBACC,0BAGG,gCACM;YAU/B,cAAa;YACb,AADA,0BAAa,gCACc;YAEvB,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAG3B,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAe/B,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,6EAC6C,0BAC/C;YACzB,cAsBC;YAtBD,8CAsBC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,6DAC6B,0BAC/B;YACzB,cAYC;YAZD,8CAYC;;;AD1LI,oCAAoC;IANhD,aAAa,CAAC,iBAAiB,EAAE,6BAA6B,CAAC,CAAC,uCAAuC;GAM3F,oCAAoC,CAchD;;iFAdY,oCAAoC;cALhD,SAAS;6BACM,KAAK,YACP,kCAAkC;;kFAGnC,oCAAoC","sourcesContent":["import { Component } from '@angular/core';\nimport { MJCommunicationProviderEntity } from '@memberjunction/core-entities';\nimport { RegisterClass } from '@memberjunction/global';\nimport { BaseFormComponent } from '@memberjunction/ng-base-forms';\nimport { JoinGridComponent } from \"@memberjunction/ng-join-grid\"\nimport { } from \"@memberjunction/ng-entity-viewer\"\n\n@RegisterClass(BaseFormComponent, 'MJ: Communication Providers') // Tell MemberJunction about this class\n@Component({\n standalone: false,\n selector: 'gen-mjcommunicationprovider-form',\n templateUrl: './mjcommunicationprovider.form.component.html'\n})\nexport class MJCommunicationProviderFormComponent extends BaseFormComponent {\n public record!: MJCommunicationProviderEntity;\n\n override async ngOnInit() {\n await super.ngOnInit();\n this.initSections([\n { sectionKey: 'providerDetails', sectionName: 'Provider Details', isExpanded: true },\n { sectionKey: 'operationalSettings', sectionName: 'Operational Settings', isExpanded: true },\n { sectionKey: 'advancedCapabilities', sectionName: 'Advanced Capabilities', isExpanded: false },\n { sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },\n { sectionKey: 'mJCommunicationProviderMessageTypes', sectionName: 'Message Types', isExpanded: false },\n { sectionKey: 'mJCommunicationLogs', sectionName: 'Communication Logs', isExpanded: false }\n ]);\n }\n}\n\n","<mj-record-form-container [Record]=\"record\" [FormComponent]=\"this\"\n (Navigate)=\"OnFormNavigate($event)\"\n (DeleteRequested)=\"OnDeleteRequested()\"\n (FavoriteToggled)=\"OnFavoriteToggled()\"\n (HistoryRequested)=\"OnHistoryRequested()\"\n (ListManagementRequested)=\"OnListManagementRequested()\">\n\n <!-- ========================================\n FIELD PANELS\n ======================================== -->\n <!-- Provider Details Section -->\n <mj-collapsible-panel\n SectionKey=\"providerDetails\"\n SectionName=\"Provider Details\"\n Icon=\"fa fa-id-card\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Name\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Description\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Operational Settings Section -->\n <mj-collapsible-panel\n SectionKey=\"operationalSettings\"\n SectionName=\"Operational Settings\"\n Icon=\"fa fa-cog\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Status\"\n Type=\"select\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SupportsSending\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SupportsReceiving\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Advanced Capabilities Section -->\n <mj-collapsible-panel\n SectionKey=\"advancedCapabilities\"\n SectionName=\"Advanced Capabilities\"\n Icon=\"fa fa-cogs\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SupportsScheduledSending\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SupportsForwarding\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SupportsReplying\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SupportsDrafts\"\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-database\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_CreatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_UpdatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- ========================================\n RELATED ENTITY PANELS\n ======================================== -->\n\n <!-- Message Types Section -->\n <mj-collapsible-panel\n SectionKey=\"mJCommunicationProviderMessageTypes\"\n SectionName=\"Message Types\"\n Icon=\"fa fa-comment\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJCommunicationProviderMessageTypes')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-join-grid\n [ShowSaveButton]=\"false\"\n [ShowCancelButton]=\"false\"\n [EditMode]=\"GridEditMode()\"\n RowsEntityName=\"MJ: Communication Base Message Types\"\n RowsEntityDisplayField=\"Type\"\n RowsExtraFilter=\"\"\n RowsEntityDataSource=\"FullEntity\"\n RowsOrderBy=\"Type\"\n RowsEntityDisplayName=\"Base Type\"\n ColumnsMode=\"Fields\"\n JoinEntityName=\"MJ: Communication Provider Message Types\"\n JoinEntityRowForeignKey=\"CommunicationBaseMessageTypeID\"\n [JoinEntityExtraFilter]=\"'CommunicationProviderID=' + record.ID\"\n [JoinEntityDisplayColumns]=\"['Name','Status','AdditionalAttributes']\"\n [NewRecordDefaultValues]=\"{CommunicationProviderID: record.ID}\"\n >\n </mj-join-grid>\n \n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Communication Logs Section -->\n <mj-collapsible-panel\n SectionKey=\"mJCommunicationLogs\"\n SectionName=\"Communication Logs\"\n Icon=\"fa fa-comment\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJCommunicationLogs')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Communication Logs','CommunicationProviderID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Communication Logs')\"\n [AllowLoad]=\"IsSectionExpanded('mJCommunicationLogs')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJCommunicationLogs', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n</mj-record-form-container>\n "]}
1
+ {"version":3,"file":"mjcommunicationprovider.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJCommunicationProvider/mjcommunicationprovider.form.component.ts","../../../../../src/lib/generated/Entities/MJCommunicationProvider/mjcommunicationprovider.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;;;;;;;;ICuJtD,AADJ,2BAAK,uCAQI;IADD,AADA,2OAAY,6BAAsB,KAAC,wOAClB,0BAAmB,qBAAqB,uBAAuB,KAAC;IAGzF,AADI,iBAA+B,EAC7B;;;IARE,cAAsG;IAGtG,AADA,AADA,AADA,4HAAsG,qEACzC,8DACP,sBACjC;;;IAoB7B,2BAAK;IACD,mCAiBe;IAEnB,iBAAM;;;IAlBE,cAAwB;IAcxB,AADA,AADA,AAVA,AADA,AADA,sCAAwB,2BACE,mCACC,wEAUqC,wDACK,wEACN;;ADrLxE,IAAM,oCAAoC,GAA1C,MAAM,oCAAqC,SAAQ,iBAAiB;IAG9D,KAAK,CAAC,QAAQ;QACnB,MAAM,KAAK,CAAC,QAAQ,EAAE,CAAC;QACvB,IAAI,CAAC,YAAY,CAAC;YACd,EAAE,UAAU,EAAE,iBAAiB,EAAE,WAAW,EAAE,kBAAkB,EAAE,UAAU,EAAE,IAAI,EAAE;YACpF,EAAE,UAAU,EAAE,qBAAqB,EAAE,WAAW,EAAE,sBAAsB,EAAE,UAAU,EAAE,IAAI,EAAE;YAC5F,EAAE,UAAU,EAAE,sBAAsB,EAAE,WAAW,EAAE,uBAAuB,EAAE,UAAU,EAAE,KAAK,EAAE;YAC/F,EAAE,UAAU,EAAE,gBAAgB,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A,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAU/B,cAAa;YACb,AADA,0BAAa,gCACc;YAEvB,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAG3B,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAG3B,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAG3B,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAU/B,cAAa;YACb,AADA,0BAAa,gCACc;YAEvB,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAG3B,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAe/B,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,6DAC6B,0BAC/B;YACzB,cAYC;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,6EAC6C,0BAC/C;YACzB,cAsBC;YAtBD,8CAsBC;;;AD1LI,oCAAoC;IANhD,aAAa,CAAC,iBAAiB,EAAE,6BAA6B,CAAC,CAAC,uCAAuC;GAM3F,oCAAoC,CAchD;;iFAdY,oCAAoC;cALhD,SAAS;6BACM,KAAK,YACP,kCAAkC;;kFAGnC,oCAAoC","sourcesContent":["import { Component } from '@angular/core';\nimport { MJCommunicationProviderEntity } from '@memberjunction/core-entities';\nimport { RegisterClass } from '@memberjunction/global';\nimport { BaseFormComponent } from '@memberjunction/ng-base-forms';\nimport { } from \"@memberjunction/ng-entity-viewer\"\nimport { JoinGridComponent } from \"@memberjunction/ng-join-grid\"\n\n@RegisterClass(BaseFormComponent, 'MJ: Communication Providers') // Tell MemberJunction about this class\n@Component({\n standalone: false,\n selector: 'gen-mjcommunicationprovider-form',\n templateUrl: './mjcommunicationprovider.form.component.html'\n})\nexport class MJCommunicationProviderFormComponent extends BaseFormComponent {\n public record!: MJCommunicationProviderEntity;\n\n override async ngOnInit() {\n await super.ngOnInit();\n this.initSections([\n { sectionKey: 'providerDetails', sectionName: 'Provider Details', isExpanded: true },\n { sectionKey: 'operationalSettings', sectionName: 'Operational Settings', isExpanded: true },\n { sectionKey: 'advancedCapabilities', sectionName: 'Advanced Capabilities', isExpanded: false },\n { sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },\n { sectionKey: 'mJCommunicationLogs', sectionName: 'Communication Logs', isExpanded: false },\n { sectionKey: 'mJCommunicationProviderMessageTypes', sectionName: 'Message Types', isExpanded: false }\n ]);\n }\n}\n\n","<mj-record-form-container [Record]=\"record\" [FormComponent]=\"this\"\n (Navigate)=\"OnFormNavigate($event)\"\n (DeleteRequested)=\"OnDeleteRequested()\"\n (FavoriteToggled)=\"OnFavoriteToggled()\"\n (HistoryRequested)=\"OnHistoryRequested()\"\n (ListManagementRequested)=\"OnListManagementRequested()\">\n\n <!-- ========================================\n FIELD PANELS\n ======================================== -->\n <!-- Provider Details Section -->\n <mj-collapsible-panel\n SectionKey=\"providerDetails\"\n SectionName=\"Provider Details\"\n Icon=\"fa fa-id-card\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Name\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Description\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Operational Settings Section -->\n <mj-collapsible-panel\n SectionKey=\"operationalSettings\"\n SectionName=\"Operational Settings\"\n Icon=\"fa fa-cog\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Status\"\n Type=\"select\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SupportsSending\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SupportsReceiving\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Advanced Capabilities Section -->\n <mj-collapsible-panel\n SectionKey=\"advancedCapabilities\"\n SectionName=\"Advanced Capabilities\"\n Icon=\"fa fa-cogs\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SupportsScheduledSending\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SupportsForwarding\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SupportsReplying\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SupportsDrafts\"\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-database\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_CreatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_UpdatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- ========================================\n RELATED ENTITY PANELS\n ======================================== -->\n\n <!-- Communication Logs Section -->\n <mj-collapsible-panel\n SectionKey=\"mJCommunicationLogs\"\n SectionName=\"Communication Logs\"\n Icon=\"fa fa-comment\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJCommunicationLogs')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Communication Logs','CommunicationProviderID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Communication Logs')\"\n [AllowLoad]=\"IsSectionExpanded('mJCommunicationLogs')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJCommunicationLogs', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Message Types Section -->\n <mj-collapsible-panel\n SectionKey=\"mJCommunicationProviderMessageTypes\"\n SectionName=\"Message Types\"\n Icon=\"fa fa-comment\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJCommunicationProviderMessageTypes')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-join-grid\n [ShowSaveButton]=\"false\"\n [ShowCancelButton]=\"false\"\n [EditMode]=\"GridEditMode()\"\n RowsEntityName=\"MJ: Communication Base Message Types\"\n RowsEntityDisplayField=\"Type\"\n RowsExtraFilter=\"\"\n RowsEntityDataSource=\"FullEntity\"\n RowsOrderBy=\"Type\"\n RowsEntityDisplayName=\"Base Type\"\n ColumnsMode=\"Fields\"\n JoinEntityName=\"MJ: Communication Provider Message Types\"\n JoinEntityRowForeignKey=\"CommunicationBaseMessageTypeID\"\n [JoinEntityExtraFilter]=\"'CommunicationProviderID=' + record.ID\"\n [JoinEntityDisplayColumns]=\"['Name','Status','AdditionalAttributes']\"\n [NewRecordDefaultValues]=\"{CommunicationProviderID: record.ID}\"\n >\n </mj-join-grid>\n \n </div>\n }\n </mj-collapsible-panel>\n</mj-record-form-container>\n "]}