@memberjunction/ng-core-entity-forms 5.23.0 → 5.25.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 (157) hide show
  1. package/dist/lib/custom/ContentSources/content-source-form.component.d.ts +22 -0
  2. package/dist/lib/custom/ContentSources/content-source-form.component.d.ts.map +1 -0
  3. package/dist/lib/custom/ContentSources/content-source-form.component.js +165 -0
  4. package/dist/lib/custom/ContentSources/content-source-form.component.js.map +1 -0
  5. package/dist/lib/custom/Entities/entity-form.component.js +177 -152
  6. package/dist/lib/custom/Entities/entity-form.component.js.map +1 -1
  7. package/dist/lib/custom/Tests/test-form.component.d.ts +3 -2
  8. package/dist/lib/custom/Tests/test-form.component.d.ts.map +1 -1
  9. package/dist/lib/custom/Tests/test-form.component.js +260 -233
  10. package/dist/lib/custom/Tests/test-form.component.js.map +1 -1
  11. package/dist/lib/custom/Tests/test-suite-form.component.d.ts +3 -2
  12. package/dist/lib/custom/Tests/test-suite-form.component.d.ts.map +1 -1
  13. package/dist/lib/custom/Tests/test-suite-form.component.js +358 -331
  14. package/dist/lib/custom/Tests/test-suite-form.component.js.map +1 -1
  15. package/dist/lib/custom/custom-forms.module.d.ts +26 -24
  16. package/dist/lib/custom/custom-forms.module.d.ts.map +1 -1
  17. package/dist/lib/custom/custom-forms.module.js +13 -4
  18. package/dist/lib/custom/custom-forms.module.js.map +1 -1
  19. package/dist/lib/generated/Entities/MJAIAgent/mjaiagent.form.component.d.ts.map +1 -1
  20. package/dist/lib/generated/Entities/MJAIAgent/mjaiagent.form.component.js +127 -119
  21. package/dist/lib/generated/Entities/MJAIAgent/mjaiagent.form.component.js.map +1 -1
  22. package/dist/lib/generated/Entities/MJAIAgentCategory/mjaiagentcategory.form.component.d.ts.map +1 -1
  23. package/dist/lib/generated/Entities/MJAIAgentCategory/mjaiagentcategory.form.component.js +22 -14
  24. package/dist/lib/generated/Entities/MJAIAgentCategory/mjaiagentcategory.form.component.js.map +1 -1
  25. package/dist/lib/generated/Entities/MJAIAgentType/mjaiagenttype.form.component.d.ts.map +1 -1
  26. package/dist/lib/generated/Entities/MJAIAgentType/mjaiagenttype.form.component.js +17 -9
  27. package/dist/lib/generated/Entities/MJAIAgentType/mjaiagenttype.form.component.js.map +1 -1
  28. package/dist/lib/generated/Entities/MJAIModel/mjaimodel.form.component.d.ts.map +1 -1
  29. package/dist/lib/generated/Entities/MJAIModel/mjaimodel.form.component.js +63 -45
  30. package/dist/lib/generated/Entities/MJAIModel/mjaimodel.form.component.js.map +1 -1
  31. package/dist/lib/generated/Entities/MJAIPromptRun/mjaipromptrun.form.component.d.ts.map +1 -1
  32. package/dist/lib/generated/Entities/MJAIPromptRun/mjaipromptrun.form.component.js +35 -17
  33. package/dist/lib/generated/Entities/MJAIPromptRun/mjaipromptrun.form.component.js.map +1 -1
  34. package/dist/lib/generated/Entities/MJApplication/mjapplication.form.component.d.ts.map +1 -1
  35. package/dist/lib/generated/Entities/MJApplication/mjapplication.form.component.js +26 -8
  36. package/dist/lib/generated/Entities/MJApplication/mjapplication.form.component.js.map +1 -1
  37. package/dist/lib/generated/Entities/MJApplicationRole/mjapplicationrole.form.component.d.ts +10 -0
  38. package/dist/lib/generated/Entities/MJApplicationRole/mjapplicationrole.form.component.d.ts.map +1 -0
  39. package/dist/lib/generated/Entities/MJApplicationRole/mjapplicationrole.form.component.js +65 -0
  40. package/dist/lib/generated/Entities/MJApplicationRole/mjapplicationrole.form.component.js.map +1 -0
  41. package/dist/lib/generated/Entities/MJArtifactType/mjartifacttype.form.component.js +39 -37
  42. package/dist/lib/generated/Entities/MJArtifactType/mjartifacttype.form.component.js.map +1 -1
  43. package/dist/lib/generated/Entities/MJArtifactVersion/mjartifactversion.form.component.d.ts.map +1 -1
  44. package/dist/lib/generated/Entities/MJArtifactVersion/mjartifactversion.form.component.js +43 -27
  45. package/dist/lib/generated/Entities/MJArtifactVersion/mjartifactversion.form.component.js.map +1 -1
  46. package/dist/lib/generated/Entities/MJContentItem/mjcontentitem.form.component.d.ts.map +1 -1
  47. package/dist/lib/generated/Entities/MJContentItem/mjcontentitem.form.component.js +79 -20
  48. package/dist/lib/generated/Entities/MJContentItem/mjcontentitem.form.component.js.map +1 -1
  49. package/dist/lib/generated/Entities/MJContentItemDuplicate/mjcontentitemduplicate.form.component.d.ts +10 -0
  50. package/dist/lib/generated/Entities/MJContentItemDuplicate/mjcontentitemduplicate.form.component.d.ts.map +1 -0
  51. package/dist/lib/generated/Entities/MJContentItemDuplicate/mjcontentitemduplicate.form.component.js +73 -0
  52. package/dist/lib/generated/Entities/MJContentItemDuplicate/mjcontentitemduplicate.form.component.js.map +1 -0
  53. package/dist/lib/generated/Entities/MJContentItemTag/mjcontentitemtag.form.component.js +7 -5
  54. package/dist/lib/generated/Entities/MJContentItemTag/mjcontentitemtag.form.component.js.map +1 -1
  55. package/dist/lib/generated/Entities/MJContentProcessRun/mjcontentprocessrun.form.component.d.ts.map +1 -1
  56. package/dist/lib/generated/Entities/MJContentProcessRun/mjcontentprocessrun.form.component.js +49 -8
  57. package/dist/lib/generated/Entities/MJContentProcessRun/mjcontentprocessrun.form.component.js.map +1 -1
  58. package/dist/lib/generated/Entities/MJContentProcessRunDetail/mjcontentprocessrundetail.form.component.d.ts +10 -0
  59. package/dist/lib/generated/Entities/MJContentProcessRunDetail/mjcontentprocessrundetail.form.component.d.ts.map +1 -0
  60. package/dist/lib/generated/Entities/MJContentProcessRunDetail/mjcontentprocessrundetail.form.component.js +107 -0
  61. package/dist/lib/generated/Entities/MJContentProcessRunDetail/mjcontentprocessrundetail.form.component.js.map +1 -0
  62. package/dist/lib/generated/Entities/MJContentProcessRunPromptRun/mjcontentprocessrunpromptrun.form.component.d.ts +10 -0
  63. package/dist/lib/generated/Entities/MJContentProcessRunPromptRun/mjcontentprocessrunpromptrun.form.component.d.ts.map +1 -0
  64. package/dist/lib/generated/Entities/MJContentProcessRunPromptRun/mjcontentprocessrunpromptrun.form.component.js +57 -0
  65. package/dist/lib/generated/Entities/MJContentProcessRunPromptRun/mjcontentprocessrunpromptrun.form.component.js.map +1 -0
  66. package/dist/lib/generated/Entities/MJContentSource/mjcontentsource.form.component.d.ts.map +1 -1
  67. package/dist/lib/generated/Entities/MJContentSource/mjcontentsource.form.component.js +54 -22
  68. package/dist/lib/generated/Entities/MJContentSource/mjcontentsource.form.component.js.map +1 -1
  69. package/dist/lib/generated/Entities/MJContentSourceType/mjcontentsourcetype.form.component.d.ts.map +1 -1
  70. package/dist/lib/generated/Entities/MJContentSourceType/mjcontentsourcetype.form.component.js +43 -15
  71. package/dist/lib/generated/Entities/MJContentSourceType/mjcontentsourcetype.form.component.js.map +1 -1
  72. package/dist/lib/generated/Entities/MJContentType/mjcontenttype.form.component.d.ts.map +1 -1
  73. package/dist/lib/generated/Entities/MJContentType/mjcontenttype.form.component.js +22 -14
  74. package/dist/lib/generated/Entities/MJContentType/mjcontenttype.form.component.js.map +1 -1
  75. package/dist/lib/generated/Entities/MJCountry/mjcountry.form.component.d.ts +10 -0
  76. package/dist/lib/generated/Entities/MJCountry/mjcountry.form.component.d.ts.map +1 -0
  77. package/dist/lib/generated/Entities/MJCountry/mjcountry.form.component.js +109 -0
  78. package/dist/lib/generated/Entities/MJCountry/mjcountry.form.component.js.map +1 -0
  79. package/dist/lib/generated/Entities/MJCredential/mjcredential.form.component.d.ts.map +1 -1
  80. package/dist/lib/generated/Entities/MJCredential/mjcredential.form.component.js +54 -18
  81. package/dist/lib/generated/Entities/MJCredential/mjcredential.form.component.js.map +1 -1
  82. package/dist/lib/generated/Entities/MJDuplicateRun/mjduplicaterun.form.component.js +21 -11
  83. package/dist/lib/generated/Entities/MJDuplicateRun/mjduplicaterun.form.component.js.map +1 -1
  84. package/dist/lib/generated/Entities/MJDuplicateRunDetail/mjduplicaterundetail.form.component.js +15 -11
  85. package/dist/lib/generated/Entities/MJDuplicateRunDetail/mjduplicaterundetail.form.component.js.map +1 -1
  86. package/dist/lib/generated/Entities/MJEntity/mjentity.form.component.d.ts.map +1 -1
  87. package/dist/lib/generated/Entities/MJEntity/mjentity.form.component.js +383 -337
  88. package/dist/lib/generated/Entities/MJEntity/mjentity.form.component.js.map +1 -1
  89. package/dist/lib/generated/Entities/MJEntityDocument/mjentitydocument.form.component.d.ts.map +1 -1
  90. package/dist/lib/generated/Entities/MJEntityDocument/mjentitydocument.form.component.js +24 -6
  91. package/dist/lib/generated/Entities/MJEntityDocument/mjentitydocument.form.component.js.map +1 -1
  92. package/dist/lib/generated/Entities/MJEntityField/mjentityfield.form.component.d.ts.map +1 -1
  93. package/dist/lib/generated/Entities/MJEntityField/mjentityfield.form.component.js +26 -24
  94. package/dist/lib/generated/Entities/MJEntityField/mjentityfield.form.component.js.map +1 -1
  95. package/dist/lib/generated/Entities/MJEntityRecordDocument/mjentityrecorddocument.form.component.d.ts.map +1 -1
  96. package/dist/lib/generated/Entities/MJEntityRecordDocument/mjentityrecorddocument.form.component.js +23 -5
  97. package/dist/lib/generated/Entities/MJEntityRecordDocument/mjentityrecorddocument.form.component.js.map +1 -1
  98. package/dist/lib/generated/Entities/MJFile/mjfile.form.component.d.ts.map +1 -1
  99. package/dist/lib/generated/Entities/MJFile/mjfile.form.component.js +25 -7
  100. package/dist/lib/generated/Entities/MJFile/mjfile.form.component.js.map +1 -1
  101. package/dist/lib/generated/Entities/MJFileStorageAccount/mjfilestorageaccount.form.component.d.ts.map +1 -1
  102. package/dist/lib/generated/Entities/MJFileStorageAccount/mjfilestorageaccount.form.component.js +84 -10
  103. package/dist/lib/generated/Entities/MJFileStorageAccount/mjfilestorageaccount.form.component.js.map +1 -1
  104. package/dist/lib/generated/Entities/MJFileStorageAccountPermission/mjfilestorageaccountpermission.form.component.d.ts +10 -0
  105. package/dist/lib/generated/Entities/MJFileStorageAccountPermission/mjfilestorageaccountpermission.form.component.d.ts.map +1 -0
  106. package/dist/lib/generated/Entities/MJFileStorageAccountPermission/mjfilestorageaccountpermission.form.component.js +69 -0
  107. package/dist/lib/generated/Entities/MJFileStorageAccountPermission/mjfilestorageaccountpermission.form.component.js.map +1 -0
  108. package/dist/lib/generated/Entities/MJInstanceConfiguration/mjinstanceconfiguration.form.component.d.ts +10 -0
  109. package/dist/lib/generated/Entities/MJInstanceConfiguration/mjinstanceconfiguration.form.component.d.ts.map +1 -0
  110. package/dist/lib/generated/Entities/MJInstanceConfiguration/mjinstanceconfiguration.form.component.js +71 -0
  111. package/dist/lib/generated/Entities/MJInstanceConfiguration/mjinstanceconfiguration.form.component.js.map +1 -0
  112. package/dist/lib/generated/Entities/MJKnowledgeHubSavedSearch/mjknowledgehubsavedsearch.form.component.d.ts +10 -0
  113. package/dist/lib/generated/Entities/MJKnowledgeHubSavedSearch/mjknowledgehubsavedsearch.form.component.d.ts.map +1 -0
  114. package/dist/lib/generated/Entities/MJKnowledgeHubSavedSearch/mjknowledgehubsavedsearch.form.component.js +77 -0
  115. package/dist/lib/generated/Entities/MJKnowledgeHubSavedSearch/mjknowledgehubsavedsearch.form.component.js.map +1 -0
  116. package/dist/lib/generated/Entities/MJRecordGeoCode/mjrecordgeocode.form.component.d.ts +10 -0
  117. package/dist/lib/generated/Entities/MJRecordGeoCode/mjrecordgeocode.form.component.d.ts.map +1 -0
  118. package/dist/lib/generated/Entities/MJRecordGeoCode/mjrecordgeocode.form.component.js +91 -0
  119. package/dist/lib/generated/Entities/MJRecordGeoCode/mjrecordgeocode.form.component.js.map +1 -0
  120. package/dist/lib/generated/Entities/MJRole/mjrole.form.component.d.ts.map +1 -1
  121. package/dist/lib/generated/Entities/MJRole/mjrole.form.component.js +48 -12
  122. package/dist/lib/generated/Entities/MJRole/mjrole.form.component.js.map +1 -1
  123. package/dist/lib/generated/Entities/MJScheduledAction/mjscheduledaction.form.component.d.ts.map +1 -1
  124. package/dist/lib/generated/Entities/MJScheduledAction/mjscheduledaction.form.component.js +22 -4
  125. package/dist/lib/generated/Entities/MJScheduledAction/mjscheduledaction.form.component.js.map +1 -1
  126. package/dist/lib/generated/Entities/MJSearchProvider/mjsearchprovider.form.component.d.ts +10 -0
  127. package/dist/lib/generated/Entities/MJSearchProvider/mjsearchprovider.form.component.d.ts.map +1 -0
  128. package/dist/lib/generated/Entities/MJSearchProvider/mjsearchprovider.form.component.js +87 -0
  129. package/dist/lib/generated/Entities/MJSearchProvider/mjsearchprovider.form.component.js.map +1 -0
  130. package/dist/lib/generated/Entities/MJStateProvince/mjstateprovince.form.component.d.ts +10 -0
  131. package/dist/lib/generated/Entities/MJStateProvince/mjstateprovince.form.component.d.ts.map +1 -0
  132. package/dist/lib/generated/Entities/MJStateProvince/mjstateprovince.form.component.js +91 -0
  133. package/dist/lib/generated/Entities/MJStateProvince/mjstateprovince.form.component.js.map +1 -0
  134. package/dist/lib/generated/Entities/MJTag/mjtag.form.component.d.ts.map +1 -1
  135. package/dist/lib/generated/Entities/MJTag/mjtag.form.component.js +139 -19
  136. package/dist/lib/generated/Entities/MJTag/mjtag.form.component.js.map +1 -1
  137. package/dist/lib/generated/Entities/MJTagAuditLog/mjtagauditlog.form.component.d.ts +10 -0
  138. package/dist/lib/generated/Entities/MJTagAuditLog/mjtagauditlog.form.component.d.ts.map +1 -0
  139. package/dist/lib/generated/Entities/MJTagAuditLog/mjtagauditlog.form.component.js +67 -0
  140. package/dist/lib/generated/Entities/MJTagAuditLog/mjtagauditlog.form.component.js.map +1 -0
  141. package/dist/lib/generated/Entities/MJTagCoOccurrence/mjtagcooccurrence.form.component.d.ts +10 -0
  142. package/dist/lib/generated/Entities/MJTagCoOccurrence/mjtagcooccurrence.form.component.d.ts.map +1 -0
  143. package/dist/lib/generated/Entities/MJTagCoOccurrence/mjtagcooccurrence.form.component.js +65 -0
  144. package/dist/lib/generated/Entities/MJTagCoOccurrence/mjtagcooccurrence.form.component.js.map +1 -0
  145. package/dist/lib/generated/Entities/MJTaggedItem/mjtaggeditem.form.component.js +10 -8
  146. package/dist/lib/generated/Entities/MJTaggedItem/mjtaggeditem.form.component.js.map +1 -1
  147. package/dist/lib/generated/Entities/MJUser/mjuser.form.component.d.ts.map +1 -1
  148. package/dist/lib/generated/Entities/MJUser/mjuser.form.component.js +244 -154
  149. package/dist/lib/generated/Entities/MJUser/mjuser.form.component.js.map +1 -1
  150. package/dist/lib/generated/Entities/MJVectorDatabase/mjvectordatabase.form.component.d.ts.map +1 -1
  151. package/dist/lib/generated/Entities/MJVectorDatabase/mjvectordatabase.form.component.js +22 -14
  152. package/dist/lib/generated/Entities/MJVectorDatabase/mjvectordatabase.form.component.js.map +1 -1
  153. package/dist/lib/generated/generated-forms.module.d.ts +254 -236
  154. package/dist/lib/generated/generated-forms.module.d.ts.map +1 -1
  155. package/dist/lib/generated/generated-forms.module.js +240 -171
  156. package/dist/lib/generated/generated-forms.module.js.map +1 -1
  157. package/package.json +32 -32
@@ -0,0 +1,91 @@
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6
+ };
7
+ import { Component } from '@angular/core';
8
+ import { RegisterClass } from '@memberjunction/global';
9
+ import { BaseFormComponent } from '@memberjunction/ng-base-forms';
10
+ import * as i0 from "@angular/core";
11
+ import * as i1 from "@memberjunction/ng-base-forms";
12
+ function MJStateProvinceFormComponent_Conditional_15_Template(rf, ctx) { if (rf & 1) {
13
+ const _r1 = i0.ɵɵgetCurrentView();
14
+ i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 15);
15
+ i0.ɵɵlistener("Navigate", function MJStateProvinceFormComponent_Conditional_15_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 MJStateProvinceFormComponent_Conditional_15_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJRecordGeoCodes", $event.totalRowCount)); });
16
+ i0.ɵɵelementEnd()();
17
+ } if (rf & 2) {
18
+ const ctx_r1 = i0.ɵɵnextContext();
19
+ i0.ɵɵadvance();
20
+ i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Record Geo Codes", "StateProvinceID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Record Geo Codes"))("AllowLoad", ctx_r1.IsSectionExpanded("mJRecordGeoCodes"))("ShowToolbar", false);
21
+ } }
22
+ let MJStateProvinceFormComponent = class MJStateProvinceFormComponent extends BaseFormComponent {
23
+ async ngOnInit() {
24
+ await super.ngOnInit();
25
+ this.initSections([
26
+ { sectionKey: 'administrativeDetails', sectionName: 'Administrative Details', isExpanded: true },
27
+ { sectionKey: 'geospatialInformation', sectionName: 'Geospatial Information', isExpanded: true },
28
+ { sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },
29
+ { sectionKey: 'mJRecordGeoCodes', sectionName: 'Record Geo Codes', isExpanded: false }
30
+ ]);
31
+ }
32
+ static { this.ɵfac = /*@__PURE__*/ (() => { let ɵMJStateProvinceFormComponent_BaseFactory; return function MJStateProvinceFormComponent_Factory(__ngFactoryType__) { return (ɵMJStateProvinceFormComponent_BaseFactory || (ɵMJStateProvinceFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(MJStateProvinceFormComponent)))(__ngFactoryType__ || MJStateProvinceFormComponent); }; })(); }
33
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJStateProvinceFormComponent, selectors: [["gen-mjstateprovince-form"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 16, vars: 53, consts: [[3, "Navigate", "DeleteRequested", "FavoriteToggled", "HistoryRequested", "ListManagementRequested", "Record", "FormComponent"], ["SectionKey", "administrativeDetails", "SectionName", "Administrative Details", "Icon", "fa fa-id-card", 3, "Form", "FormContext"], ["FieldName", "CountryID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Name", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Code", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "ISO3166_2", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "geospatialInformation", "SectionName", "Geospatial Information", "Icon", "fa fa-globe-americas", 3, "Form", "FormContext"], ["FieldName", "Latitude", "Type", "number", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Longitude", "Type", "number", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "BoundaryGeoJSON", "Type", "code", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "CommonAliases", "Type", "code", 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", "mJRecordGeoCodes", "SectionName", "Record Geo Codes", "Icon", "fa fa-map-marked-alt", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], [3, "Navigate", "AfterDataLoad", "Params", "NewRecordValues", "AllowLoad", "ShowToolbar"]], template: function MJStateProvinceFormComponent_Template(rf, ctx) { if (rf & 1) {
34
+ i0.ɵɵelementStart(0, "mj-record-form-container", 0);
35
+ i0.ɵɵlistener("Navigate", function MJStateProvinceFormComponent_Template_mj_record_form_container_Navigate_0_listener($event) { return ctx.OnFormNavigate($event); })("DeleteRequested", function MJStateProvinceFormComponent_Template_mj_record_form_container_DeleteRequested_0_listener() { return ctx.OnDeleteRequested(); })("FavoriteToggled", function MJStateProvinceFormComponent_Template_mj_record_form_container_FavoriteToggled_0_listener() { return ctx.OnFavoriteToggled(); })("HistoryRequested", function MJStateProvinceFormComponent_Template_mj_record_form_container_HistoryRequested_0_listener() { return ctx.OnHistoryRequested(); })("ListManagementRequested", function MJStateProvinceFormComponent_Template_mj_record_form_container_ListManagementRequested_0_listener() { return ctx.OnListManagementRequested(); });
36
+ i0.ɵɵelementStart(1, "mj-collapsible-panel", 1);
37
+ i0.ɵɵelement(2, "mj-form-field", 2)(3, "mj-form-field", 3)(4, "mj-form-field", 4)(5, "mj-form-field", 5);
38
+ i0.ɵɵelementEnd();
39
+ i0.ɵɵelementStart(6, "mj-collapsible-panel", 6);
40
+ i0.ɵɵelement(7, "mj-form-field", 7)(8, "mj-form-field", 8)(9, "mj-form-field", 9)(10, "mj-form-field", 10);
41
+ i0.ɵɵelementEnd();
42
+ i0.ɵɵelementStart(11, "mj-collapsible-panel", 11);
43
+ i0.ɵɵelement(12, "mj-form-field", 12)(13, "mj-form-field", 13);
44
+ i0.ɵɵelementEnd();
45
+ i0.ɵɵelementStart(14, "mj-collapsible-panel", 14);
46
+ i0.ɵɵconditionalCreate(15, MJStateProvinceFormComponent_Conditional_15_Template, 2, 4, "div");
47
+ i0.ɵɵelementEnd()();
48
+ } if (rf & 2) {
49
+ i0.ɵɵproperty("Record", ctx.record)("FormComponent", ctx);
50
+ i0.ɵɵadvance();
51
+ i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext);
52
+ i0.ɵɵadvance();
53
+ i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
54
+ i0.ɵɵadvance();
55
+ i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
56
+ i0.ɵɵadvance();
57
+ i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
58
+ i0.ɵɵadvance();
59
+ i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
60
+ i0.ɵɵadvance();
61
+ i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext);
62
+ i0.ɵɵadvance();
63
+ i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
64
+ i0.ɵɵadvance();
65
+ i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
66
+ i0.ɵɵadvance();
67
+ i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
68
+ i0.ɵɵadvance();
69
+ i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
70
+ i0.ɵɵadvance();
71
+ i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext);
72
+ i0.ɵɵadvance();
73
+ i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
74
+ i0.ɵɵadvance();
75
+ i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
76
+ i0.ɵɵadvance();
77
+ i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJRecordGeoCodes"))("DefaultExpanded", false);
78
+ i0.ɵɵadvance();
79
+ i0.ɵɵconditional(ctx.record.IsSaved ? 15 : -1);
80
+ } }, dependencies: [i1.MjFormFieldComponent, i1.MjCollapsiblePanelComponent, i1.MjRecordFormContainerComponent, i1.ExplorerEntityDataGridComponent], encapsulation: 2 }); }
81
+ };
82
+ MJStateProvinceFormComponent = __decorate([
83
+ RegisterClass(BaseFormComponent, 'MJ: State Provinces') // Tell MemberJunction about this class
84
+ ], MJStateProvinceFormComponent);
85
+ export { MJStateProvinceFormComponent };
86
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MJStateProvinceFormComponent, [{
87
+ type: Component,
88
+ args: [{ standalone: false, selector: 'gen-mjstateprovince-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 <!-- Administrative Details Section -->\n <mj-collapsible-panel\n SectionKey=\"administrativeDetails\"\n SectionName=\"Administrative 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=\"CountryID\"\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=\"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=\"Code\"\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=\"ISO3166_2\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Geospatial Information Section -->\n <mj-collapsible-panel\n SectionKey=\"geospatialInformation\"\n SectionName=\"Geospatial Information\"\n Icon=\"fa fa-globe-americas\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Latitude\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Longitude\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"BoundaryGeoJSON\"\n Type=\"code\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"CommonAliases\"\n Type=\"code\"\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 <!-- Record Geo Codes Section -->\n <mj-collapsible-panel\n SectionKey=\"mJRecordGeoCodes\"\n SectionName=\"Record Geo Codes\"\n Icon=\"fa fa-map-marked-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJRecordGeoCodes')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Record Geo Codes','StateProvinceID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Record Geo Codes')\"\n [AllowLoad]=\"IsSectionExpanded('mJRecordGeoCodes')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJRecordGeoCodes', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n</mj-record-form-container>\n " }]
89
+ }], null, null); })();
90
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MJStateProvinceFormComponent, { className: "MJStateProvinceFormComponent", filePath: "src/lib/generated/Entities/MJStateProvince/mjstateprovince.form.component.ts", lineNumber: 13 }); })();
91
+ //# sourceMappingURL=mjstateprovince.form.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mjstateprovince.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJStateProvince/mjstateprovince.form.component.ts","../../../../../src/lib/generated/Entities/MJStateProvince/mjstateprovince.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;;;;;ICsItD,AADJ,2BAAK,uCAQI;IADD,AADA,mOAAY,6BAAsB,KAAC,gOAClB,0BAAmB,kBAAkB,uBAAuB,KAAC;IAGtF,AADI,iBAA+B,EAC7B;;;IARE,cA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AKjB,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;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,0DAC0B,0BAC5B;YACzB,cAYC;YAZD,8CAYC;;;ADvII,4BAA4B;IANxC,aAAa,CAAC,iBAAiB,EAAE,qBAAqB,CAAC,CAAC,uCAAuC;GAMnF,4BAA4B,CAYxC;;iFAZY,4BAA4B;cALxC,SAAS;6BACM,KAAK,YACP,0BAA0B;;kFAG3B,4BAA4B","sourcesContent":["import { Component } from '@angular/core';\nimport { MJStateProvinceEntity } 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: State Provinces') // Tell MemberJunction about this class\n@Component({\n standalone: false,\n selector: 'gen-mjstateprovince-form',\n templateUrl: './mjstateprovince.form.component.html'\n})\nexport class MJStateProvinceFormComponent extends BaseFormComponent {\n public record!: MJStateProvinceEntity;\n\n override async ngOnInit() {\n await super.ngOnInit();\n this.initSections([\n { sectionKey: 'administrativeDetails', sectionName: 'Administrative Details', isExpanded: true },\n { sectionKey: 'geospatialInformation', sectionName: 'Geospatial Information', isExpanded: true },\n { sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },\n { sectionKey: 'mJRecordGeoCodes', sectionName: 'Record Geo Codes', 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 <!-- Administrative Details Section -->\n <mj-collapsible-panel\n SectionKey=\"administrativeDetails\"\n SectionName=\"Administrative 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=\"CountryID\"\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=\"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=\"Code\"\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=\"ISO3166_2\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Geospatial Information Section -->\n <mj-collapsible-panel\n SectionKey=\"geospatialInformation\"\n SectionName=\"Geospatial Information\"\n Icon=\"fa fa-globe-americas\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Latitude\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Longitude\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"BoundaryGeoJSON\"\n Type=\"code\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"CommonAliases\"\n Type=\"code\"\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 <!-- Record Geo Codes Section -->\n <mj-collapsible-panel\n SectionKey=\"mJRecordGeoCodes\"\n SectionName=\"Record Geo Codes\"\n Icon=\"fa fa-map-marked-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJRecordGeoCodes')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Record Geo Codes','StateProvinceID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Record Geo Codes')\"\n [AllowLoad]=\"IsSectionExpanded('mJRecordGeoCodes')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJRecordGeoCodes', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n</mj-record-form-container>\n "]}
@@ -1 +1 @@
1
- {"version":3,"file":"mjtag.form.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJTag/mjtag.form.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAE5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAGlE,qBAMa,kBAAmB,SAAQ,iBAAiB;IAC9C,MAAM,EAAG,WAAW,CAAC;IAEb,QAAQ;yCAHd,kBAAkB;2CAAlB,kBAAkB;CAa9B"}
1
+ {"version":3,"file":"mjtag.form.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJTag/mjtag.form.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAE5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAGlE,qBAMa,kBAAmB,SAAQ,iBAAiB;IAC9C,MAAM,EAAG,WAAW,CAAC;IAEb,QAAQ;yCAHd,kBAAkB;2CAAlB,kBAAkB;CAoB9B"}
@@ -9,39 +9,106 @@ import { RegisterClass } from '@memberjunction/global';
9
9
  import { BaseFormComponent } from '@memberjunction/ng-base-forms';
10
10
  import * as i0 from "@angular/core";
11
11
  import * as i1 from "@memberjunction/ng-base-forms";
12
- function MJTagFormComponent_Conditional_12_Template(rf, ctx) { if (rf & 1) {
12
+ function MJTagFormComponent_Conditional_16_Template(rf, ctx) { if (rf & 1) {
13
13
  const _r1 = i0.ɵɵgetCurrentView();
14
- i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 13);
15
- i0.ɵɵlistener("Navigate", function MJTagFormComponent_Conditional_12_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function MJTagFormComponent_Conditional_12_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJTags", $event.totalRowCount)); });
14
+ i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 23);
15
+ i0.ɵɵlistener("Navigate", function MJTagFormComponent_Conditional_16_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 MJTagFormComponent_Conditional_16_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJTagsParentID", $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: Tags", "ParentID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Tags"))("AllowLoad", ctx_r1.IsSectionExpanded("mJTags"))("ShowToolbar", false);
20
+ i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Tags", "ParentID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Tags"))("AllowLoad", ctx_r1.IsSectionExpanded("mJTagsParentID"))("ShowToolbar", false);
21
21
  } }
22
- function MJTagFormComponent_Conditional_14_Template(rf, ctx) { if (rf & 1) {
22
+ function MJTagFormComponent_Conditional_18_Template(rf, ctx) { if (rf & 1) {
23
23
  const _r3 = i0.ɵɵgetCurrentView();
24
- i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 13);
25
- i0.ɵɵlistener("Navigate", function MJTagFormComponent_Conditional_14_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function MJTagFormComponent_Conditional_14_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJTaggedItems", $event.totalRowCount)); });
24
+ i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 23);
25
+ i0.ɵɵlistener("Navigate", function MJTagFormComponent_Conditional_18_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 MJTagFormComponent_Conditional_18_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJTaggedItems", $event.totalRowCount)); });
26
26
  i0.ɵɵelementEnd()();
27
27
  } if (rf & 2) {
28
28
  const ctx_r1 = i0.ɵɵnextContext();
29
29
  i0.ɵɵadvance();
30
30
  i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Tagged Items", "TagID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Tagged Items"))("AllowLoad", ctx_r1.IsSectionExpanded("mJTaggedItems"))("ShowToolbar", false);
31
31
  } }
32
+ function MJTagFormComponent_Conditional_20_Template(rf, ctx) { if (rf & 1) {
33
+ const _r4 = i0.ɵɵgetCurrentView();
34
+ i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 23);
35
+ i0.ɵɵlistener("Navigate", function MJTagFormComponent_Conditional_20_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 MJTagFormComponent_Conditional_20_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJContentItemTags", $event.totalRowCount)); });
36
+ i0.ɵɵelementEnd()();
37
+ } if (rf & 2) {
38
+ const ctx_r1 = i0.ɵɵnextContext();
39
+ i0.ɵɵadvance();
40
+ i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Content Item Tags", "TagID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Content Item Tags"))("AllowLoad", ctx_r1.IsSectionExpanded("mJContentItemTags"))("ShowToolbar", false);
41
+ } }
42
+ function MJTagFormComponent_Conditional_22_Template(rf, ctx) { if (rf & 1) {
43
+ const _r5 = i0.ɵɵgetCurrentView();
44
+ i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 23);
45
+ i0.ɵɵlistener("Navigate", function MJTagFormComponent_Conditional_22_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 MJTagFormComponent_Conditional_22_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJTagCoOccurrencesTagBID", $event.totalRowCount)); });
46
+ i0.ɵɵelementEnd()();
47
+ } if (rf & 2) {
48
+ const ctx_r1 = i0.ɵɵnextContext();
49
+ i0.ɵɵadvance();
50
+ i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Tag Co Occurrences", "TagBID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Tag Co Occurrences"))("AllowLoad", ctx_r1.IsSectionExpanded("mJTagCoOccurrencesTagBID"))("ShowToolbar", false);
51
+ } }
52
+ function MJTagFormComponent_Conditional_24_Template(rf, ctx) { if (rf & 1) {
53
+ const _r6 = i0.ɵɵgetCurrentView();
54
+ i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 23);
55
+ i0.ɵɵlistener("Navigate", function MJTagFormComponent_Conditional_24_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 MJTagFormComponent_Conditional_24_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJTagAuditLogsRelatedTagID", $event.totalRowCount)); });
56
+ i0.ɵɵelementEnd()();
57
+ } if (rf & 2) {
58
+ const ctx_r1 = i0.ɵɵnextContext();
59
+ i0.ɵɵadvance();
60
+ i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Tag Audit Logs", "RelatedTagID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Tag Audit Logs"))("AllowLoad", ctx_r1.IsSectionExpanded("mJTagAuditLogsRelatedTagID"))("ShowToolbar", false);
61
+ } }
62
+ function MJTagFormComponent_Conditional_26_Template(rf, ctx) { if (rf & 1) {
63
+ const _r7 = i0.ɵɵgetCurrentView();
64
+ i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 23);
65
+ i0.ɵɵlistener("Navigate", function MJTagFormComponent_Conditional_26_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function MJTagFormComponent_Conditional_26_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJTagCoOccurrencesTagAID", $event.totalRowCount)); });
66
+ i0.ɵɵelementEnd()();
67
+ } if (rf & 2) {
68
+ const ctx_r1 = i0.ɵɵnextContext();
69
+ i0.ɵɵadvance();
70
+ i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Tag Co Occurrences", "TagAID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Tag Co Occurrences"))("AllowLoad", ctx_r1.IsSectionExpanded("mJTagCoOccurrencesTagAID"))("ShowToolbar", false);
71
+ } }
72
+ function MJTagFormComponent_Conditional_28_Template(rf, ctx) { if (rf & 1) {
73
+ const _r8 = i0.ɵɵgetCurrentView();
74
+ i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 23);
75
+ i0.ɵɵlistener("Navigate", function MJTagFormComponent_Conditional_28_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function MJTagFormComponent_Conditional_28_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJTagAuditLogsTagID", $event.totalRowCount)); });
76
+ i0.ɵɵelementEnd()();
77
+ } if (rf & 2) {
78
+ const ctx_r1 = i0.ɵɵnextContext();
79
+ i0.ɵɵadvance();
80
+ i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Tag Audit Logs", "TagID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Tag Audit Logs"))("AllowLoad", ctx_r1.IsSectionExpanded("mJTagAuditLogsTagID"))("ShowToolbar", false);
81
+ } }
82
+ function MJTagFormComponent_Conditional_30_Template(rf, ctx) { if (rf & 1) {
83
+ const _r9 = i0.ɵɵgetCurrentView();
84
+ i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 23);
85
+ i0.ɵɵlistener("Navigate", function MJTagFormComponent_Conditional_30_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r9); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function MJTagFormComponent_Conditional_30_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r9); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJTagsMergedIntoTagID", $event.totalRowCount)); });
86
+ i0.ɵɵelementEnd()();
87
+ } if (rf & 2) {
88
+ const ctx_r1 = i0.ɵɵnextContext();
89
+ i0.ɵɵadvance();
90
+ i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Tags", "MergedIntoTagID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Tags"))("AllowLoad", ctx_r1.IsSectionExpanded("mJTagsMergedIntoTagID"))("ShowToolbar", false);
91
+ } }
32
92
  let MJTagFormComponent = class MJTagFormComponent extends BaseFormComponent {
33
93
  async ngOnInit() {
34
94
  await super.ngOnInit();
35
95
  this.initSections([
36
96
  { sectionKey: 'tagBasics', sectionName: 'Tag Basics', isExpanded: true },
37
97
  { sectionKey: 'tagHierarchy', sectionName: 'Tag Hierarchy', isExpanded: true },
98
+ { sectionKey: 'tagLifecycle', sectionName: 'Tag Lifecycle', isExpanded: false },
38
99
  { sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },
39
- { sectionKey: 'mJTags', sectionName: 'Tags', isExpanded: false },
40
- { sectionKey: 'mJTaggedItems', sectionName: 'Tagged Items', isExpanded: false }
100
+ { sectionKey: 'mJTagsParentID', sectionName: 'Tags', isExpanded: false },
101
+ { sectionKey: 'mJTaggedItems', sectionName: 'Tagged Items', isExpanded: false },
102
+ { sectionKey: 'mJContentItemTags', sectionName: 'Content Item Tags', isExpanded: false },
103
+ { sectionKey: 'mJTagCoOccurrencesTagBID', sectionName: 'Tag Co Occurrences (Tag B ID)', isExpanded: false },
104
+ { sectionKey: 'mJTagAuditLogsRelatedTagID', sectionName: 'Tag Audit Logs (Related Tag)', isExpanded: false },
105
+ { sectionKey: 'mJTagCoOccurrencesTagAID', sectionName: 'Tag Co Occurrences (Tag A ID)', isExpanded: false },
106
+ { sectionKey: 'mJTagAuditLogsTagID', sectionName: 'Tag Audit Logs (Tag)', isExpanded: false },
107
+ { sectionKey: 'mJTagsMergedIntoTagID', sectionName: 'Tags (Merged Into Tag)', isExpanded: false }
41
108
  ]);
42
109
  }
43
110
  static { this.ɵfac = /*@__PURE__*/ (() => { let ɵMJTagFormComponent_BaseFactory; return function MJTagFormComponent_Factory(__ngFactoryType__) { return (ɵMJTagFormComponent_BaseFactory || (ɵMJTagFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(MJTagFormComponent)))(__ngFactoryType__ || MJTagFormComponent); }; })(); }
44
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJTagFormComponent, selectors: [["gen-mjtag-form"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 15, vars: 46, consts: [[3, "Navigate", "DeleteRequested", "FavoriteToggled", "HistoryRequested", "ListManagementRequested", "Record", "FormComponent"], ["SectionKey", "tagBasics", "SectionName", "Tag Basics", "Icon", "fa fa-tag", 3, "Form", "FormContext"], ["FieldName", "Name", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "DisplayName", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Description", "Type", "textarea", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "tagHierarchy", "SectionName", "Tag 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", "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", "mJTags", "SectionName", "Tags", "Icon", "fa fa-tags", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJTaggedItems", "SectionName", "Tagged Items", "Icon", "fa fa-tags", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], [3, "Navigate", "AfterDataLoad", "Params", "NewRecordValues", "AllowLoad", "ShowToolbar"]], template: function MJTagFormComponent_Template(rf, ctx) { if (rf & 1) {
111
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJTagFormComponent, selectors: [["gen-mjtag-form"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 31, vars: 90, consts: [[3, "Navigate", "DeleteRequested", "FavoriteToggled", "HistoryRequested", "ListManagementRequested", "Record", "FormComponent"], ["SectionKey", "tagBasics", "SectionName", "Tag Basics", "Icon", "fa fa-info-circle", 3, "Form", "FormContext"], ["FieldName", "Name", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "DisplayName", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Description", "Type", "textarea", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "tagHierarchy", "SectionName", "Tag Hierarchy", "Icon", "fa fa-info-circle", 3, "Form", "FormContext"], ["FieldName", "ParentID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "RootParentID", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "tagLifecycle", "SectionName", "Tag Lifecycle", "Icon", "fa fa-sync-alt", 3, "Form", "FormContext"], ["FieldName", "Status", "Type", "select", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "MergedIntoTagID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "RootMergedIntoTagID", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "systemMetadata", "SectionName", "System Metadata", "Icon", "fa fa-cog", 3, "Form", "FormContext"], ["FieldName", "__mj_CreatedAt", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "__mj_UpdatedAt", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "mJTagsParentID", "SectionName", "Tags", "Icon", "fa fa-tags", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJTaggedItems", "SectionName", "Tagged Items", "Icon", "fa fa-tags", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJContentItemTags", "SectionName", "Content Item Tags", "Icon", "fa fa-tag", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJTagCoOccurrencesTagBID", "SectionName", "Tag Co Occurrences (Tag B ID)", "Icon", "fa fa-project-diagram", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJTagAuditLogsRelatedTagID", "SectionName", "Tag Audit Logs (Related Tag)", "Icon", "fa fa-history", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJTagCoOccurrencesTagAID", "SectionName", "Tag Co Occurrences (Tag A ID)", "Icon", "fa fa-project-diagram", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJTagAuditLogsTagID", "SectionName", "Tag Audit Logs (Tag)", "Icon", "fa fa-history", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJTagsMergedIntoTagID", "SectionName", "Tags (Merged Into Tag)", "Icon", "fa fa-tags", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], [3, "Navigate", "AfterDataLoad", "Params", "NewRecordValues", "AllowLoad", "ShowToolbar"]], template: function MJTagFormComponent_Template(rf, ctx) { if (rf & 1) {
45
112
  i0.ɵɵelementStart(0, "mj-record-form-container", 0);
46
113
  i0.ɵɵlistener("Navigate", function MJTagFormComponent_Template_mj_record_form_container_Navigate_0_listener($event) { return ctx.OnFormNavigate($event); })("DeleteRequested", function MJTagFormComponent_Template_mj_record_form_container_DeleteRequested_0_listener() { return ctx.OnDeleteRequested(); })("FavoriteToggled", function MJTagFormComponent_Template_mj_record_form_container_FavoriteToggled_0_listener() { return ctx.OnFavoriteToggled(); })("HistoryRequested", function MJTagFormComponent_Template_mj_record_form_container_HistoryRequested_0_listener() { return ctx.OnHistoryRequested(); })("ListManagementRequested", function MJTagFormComponent_Template_mj_record_form_container_ListManagementRequested_0_listener() { return ctx.OnListManagementRequested(); });
47
114
  i0.ɵɵelementStart(1, "mj-collapsible-panel", 1);
@@ -51,13 +118,34 @@ let MJTagFormComponent = class MJTagFormComponent extends BaseFormComponent {
51
118
  i0.ɵɵelement(6, "mj-form-field", 6)(7, "mj-form-field", 7);
52
119
  i0.ɵɵelementEnd();
53
120
  i0.ɵɵelementStart(8, "mj-collapsible-panel", 8);
54
- i0.ɵɵelement(9, "mj-form-field", 9)(10, "mj-form-field", 10);
121
+ i0.ɵɵelement(9, "mj-form-field", 9)(10, "mj-form-field", 10)(11, "mj-form-field", 11);
122
+ i0.ɵɵelementEnd();
123
+ i0.ɵɵelementStart(12, "mj-collapsible-panel", 12);
124
+ i0.ɵɵelement(13, "mj-form-field", 13)(14, "mj-form-field", 14);
125
+ i0.ɵɵelementEnd();
126
+ i0.ɵɵelementStart(15, "mj-collapsible-panel", 15);
127
+ i0.ɵɵconditionalCreate(16, MJTagFormComponent_Conditional_16_Template, 2, 4, "div");
128
+ i0.ɵɵelementEnd();
129
+ i0.ɵɵelementStart(17, "mj-collapsible-panel", 16);
130
+ i0.ɵɵconditionalCreate(18, MJTagFormComponent_Conditional_18_Template, 2, 4, "div");
131
+ i0.ɵɵelementEnd();
132
+ i0.ɵɵelementStart(19, "mj-collapsible-panel", 17);
133
+ i0.ɵɵconditionalCreate(20, MJTagFormComponent_Conditional_20_Template, 2, 4, "div");
134
+ i0.ɵɵelementEnd();
135
+ i0.ɵɵelementStart(21, "mj-collapsible-panel", 18);
136
+ i0.ɵɵconditionalCreate(22, MJTagFormComponent_Conditional_22_Template, 2, 4, "div");
137
+ i0.ɵɵelementEnd();
138
+ i0.ɵɵelementStart(23, "mj-collapsible-panel", 19);
139
+ i0.ɵɵconditionalCreate(24, MJTagFormComponent_Conditional_24_Template, 2, 4, "div");
55
140
  i0.ɵɵelementEnd();
56
- i0.ɵɵelementStart(11, "mj-collapsible-panel", 11);
57
- i0.ɵɵconditionalCreate(12, MJTagFormComponent_Conditional_12_Template, 2, 4, "div");
141
+ i0.ɵɵelementStart(25, "mj-collapsible-panel", 20);
142
+ i0.ɵɵconditionalCreate(26, MJTagFormComponent_Conditional_26_Template, 2, 4, "div");
58
143
  i0.ɵɵelementEnd();
59
- i0.ɵɵelementStart(13, "mj-collapsible-panel", 12);
60
- i0.ɵɵconditionalCreate(14, MJTagFormComponent_Conditional_14_Template, 2, 4, "div");
144
+ i0.ɵɵelementStart(27, "mj-collapsible-panel", 21);
145
+ i0.ɵɵconditionalCreate(28, MJTagFormComponent_Conditional_28_Template, 2, 4, "div");
146
+ i0.ɵɵelementEnd();
147
+ i0.ɵɵelementStart(29, "mj-collapsible-panel", 22);
148
+ i0.ɵɵconditionalCreate(30, MJTagFormComponent_Conditional_30_Template, 2, 4, "div");
61
149
  i0.ɵɵelementEnd()();
62
150
  } if (rf & 2) {
63
151
  i0.ɵɵproperty("Record", ctx.record)("FormComponent", ctx);
@@ -82,13 +170,45 @@ let MJTagFormComponent = class MJTagFormComponent extends BaseFormComponent {
82
170
  i0.ɵɵadvance();
83
171
  i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
84
172
  i0.ɵɵadvance();
85
- i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJTags"))("DefaultExpanded", false);
173
+ i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
174
+ i0.ɵɵadvance();
175
+ i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext);
176
+ i0.ɵɵadvance();
177
+ i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
178
+ i0.ɵɵadvance();
179
+ i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
180
+ i0.ɵɵadvance();
181
+ i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJTagsParentID"))("DefaultExpanded", false);
86
182
  i0.ɵɵadvance();
87
- i0.ɵɵconditional(ctx.record.IsSaved ? 12 : -1);
183
+ i0.ɵɵconditional(ctx.record.IsSaved ? 16 : -1);
88
184
  i0.ɵɵadvance();
89
185
  i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJTaggedItems"))("DefaultExpanded", false);
90
186
  i0.ɵɵadvance();
91
- i0.ɵɵconditional(ctx.record.IsSaved ? 14 : -1);
187
+ i0.ɵɵconditional(ctx.record.IsSaved ? 18 : -1);
188
+ i0.ɵɵadvance();
189
+ i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJContentItemTags"))("DefaultExpanded", false);
190
+ i0.ɵɵadvance();
191
+ i0.ɵɵconditional(ctx.record.IsSaved ? 20 : -1);
192
+ i0.ɵɵadvance();
193
+ i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJTagCoOccurrencesTagBID"))("DefaultExpanded", false);
194
+ i0.ɵɵadvance();
195
+ i0.ɵɵconditional(ctx.record.IsSaved ? 22 : -1);
196
+ i0.ɵɵadvance();
197
+ i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJTagAuditLogsRelatedTagID"))("DefaultExpanded", false);
198
+ i0.ɵɵadvance();
199
+ i0.ɵɵconditional(ctx.record.IsSaved ? 24 : -1);
200
+ i0.ɵɵadvance();
201
+ i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJTagCoOccurrencesTagAID"))("DefaultExpanded", false);
202
+ i0.ɵɵadvance();
203
+ i0.ɵɵconditional(ctx.record.IsSaved ? 26 : -1);
204
+ i0.ɵɵadvance();
205
+ i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJTagAuditLogsTagID"))("DefaultExpanded", false);
206
+ i0.ɵɵadvance();
207
+ i0.ɵɵconditional(ctx.record.IsSaved ? 28 : -1);
208
+ i0.ɵɵadvance();
209
+ i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJTagsMergedIntoTagID"))("DefaultExpanded", false);
210
+ i0.ɵɵadvance();
211
+ i0.ɵɵconditional(ctx.record.IsSaved ? 30 : -1);
92
212
  } }, dependencies: [i1.MjFormFieldComponent, i1.MjCollapsiblePanelComponent, i1.MjRecordFormContainerComponent, i1.ExplorerEntityDataGridComponent], encapsulation: 2 }); }
93
213
  };
94
214
  MJTagFormComponent = __decorate([
@@ -97,7 +217,7 @@ MJTagFormComponent = __decorate([
97
217
  export { MJTagFormComponent };
98
218
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MJTagFormComponent, [{
99
219
  type: Component,
100
- args: [{ standalone: false, selector: 'gen-mjtag-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 <!-- Tag Basics Section -->\n <mj-collapsible-panel\n SectionKey=\"tagBasics\"\n SectionName=\"Tag Basics\"\n Icon=\"fa fa-tag\"\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=\"DisplayName\"\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 <!-- Tag Hierarchy Section -->\n <mj-collapsible-panel\n SectionKey=\"tagHierarchy\"\n SectionName=\"Tag 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 <!-- 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 <!-- Tags Section -->\n <mj-collapsible-panel\n SectionKey=\"mJTags\"\n SectionName=\"Tags\"\n Icon=\"fa fa-tags\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJTags')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Tags','ParentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Tags')\"\n [AllowLoad]=\"IsSectionExpanded('mJTags')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJTags', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Tagged Items Section -->\n <mj-collapsible-panel\n SectionKey=\"mJTaggedItems\"\n SectionName=\"Tagged Items\"\n Icon=\"fa fa-tags\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJTaggedItems')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Tagged Items','TagID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Tagged Items')\"\n [AllowLoad]=\"IsSectionExpanded('mJTaggedItems')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJTaggedItems', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n</mj-record-form-container>\n " }]
220
+ args: [{ standalone: false, selector: 'gen-mjtag-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 <!-- Tag Basics Section -->\n <mj-collapsible-panel\n SectionKey=\"tagBasics\"\n SectionName=\"Tag Basics\"\n Icon=\"fa fa-info-circle\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Name\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"DisplayName\"\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 <!-- Tag Hierarchy Section -->\n <mj-collapsible-panel\n SectionKey=\"tagHierarchy\"\n SectionName=\"Tag Hierarchy\"\n Icon=\"fa fa-info-circle\"\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 <!-- Tag Lifecycle Section -->\n <mj-collapsible-panel\n SectionKey=\"tagLifecycle\"\n SectionName=\"Tag Lifecycle\"\n Icon=\"fa fa-sync-alt\"\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=\"MergedIntoTagID\"\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=\"RootMergedIntoTagID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- System Metadata Section -->\n <mj-collapsible-panel\n SectionKey=\"systemMetadata\"\n SectionName=\"System Metadata\"\n Icon=\"fa fa-cog\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_CreatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_UpdatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- ========================================\n RELATED ENTITY PANELS\n ======================================== -->\n\n <!-- Tags Section -->\n <mj-collapsible-panel\n SectionKey=\"mJTagsParentID\"\n SectionName=\"Tags\"\n Icon=\"fa fa-tags\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJTagsParentID')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Tags','ParentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Tags')\"\n [AllowLoad]=\"IsSectionExpanded('mJTagsParentID')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJTagsParentID', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Tagged Items Section -->\n <mj-collapsible-panel\n SectionKey=\"mJTaggedItems\"\n SectionName=\"Tagged Items\"\n Icon=\"fa fa-tags\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJTaggedItems')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Tagged Items','TagID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Tagged Items')\"\n [AllowLoad]=\"IsSectionExpanded('mJTaggedItems')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJTaggedItems', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Content Item Tags Section -->\n <mj-collapsible-panel\n SectionKey=\"mJContentItemTags\"\n SectionName=\"Content Item Tags\"\n Icon=\"fa fa-tag\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJContentItemTags')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Content Item Tags','TagID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Content Item Tags')\"\n [AllowLoad]=\"IsSectionExpanded('mJContentItemTags')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJContentItemTags', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Tag Co Occurrences (Tag B ID) Section -->\n <mj-collapsible-panel\n SectionKey=\"mJTagCoOccurrencesTagBID\"\n SectionName=\"Tag Co Occurrences (Tag B ID)\"\n Icon=\"fa fa-project-diagram\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJTagCoOccurrencesTagBID')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Tag Co Occurrences','TagBID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Tag Co Occurrences')\"\n [AllowLoad]=\"IsSectionExpanded('mJTagCoOccurrencesTagBID')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJTagCoOccurrencesTagBID', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Tag Audit Logs (Related Tag) Section -->\n <mj-collapsible-panel\n SectionKey=\"mJTagAuditLogsRelatedTagID\"\n SectionName=\"Tag Audit Logs (Related Tag)\"\n Icon=\"fa fa-history\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJTagAuditLogsRelatedTagID')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Tag Audit Logs','RelatedTagID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Tag Audit Logs')\"\n [AllowLoad]=\"IsSectionExpanded('mJTagAuditLogsRelatedTagID')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJTagAuditLogsRelatedTagID', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Tag Co Occurrences (Tag A ID) Section -->\n <mj-collapsible-panel\n SectionKey=\"mJTagCoOccurrencesTagAID\"\n SectionName=\"Tag Co Occurrences (Tag A ID)\"\n Icon=\"fa fa-project-diagram\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJTagCoOccurrencesTagAID')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Tag Co Occurrences','TagAID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Tag Co Occurrences')\"\n [AllowLoad]=\"IsSectionExpanded('mJTagCoOccurrencesTagAID')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJTagCoOccurrencesTagAID', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Tag Audit Logs (Tag) Section -->\n <mj-collapsible-panel\n SectionKey=\"mJTagAuditLogsTagID\"\n SectionName=\"Tag Audit Logs (Tag)\"\n Icon=\"fa fa-history\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJTagAuditLogsTagID')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Tag Audit Logs','TagID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Tag Audit Logs')\"\n [AllowLoad]=\"IsSectionExpanded('mJTagAuditLogsTagID')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJTagAuditLogsTagID', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Tags (Merged Into Tag) Section -->\n <mj-collapsible-panel\n SectionKey=\"mJTagsMergedIntoTagID\"\n SectionName=\"Tags (Merged Into Tag)\"\n Icon=\"fa fa-tags\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJTagsMergedIntoTagID')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Tags','MergedIntoTagID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Tags')\"\n [AllowLoad]=\"IsSectionExpanded('mJTagsMergedIntoTagID')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJTagsMergedIntoTagID', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n</mj-record-form-container>\n " }]
101
221
  }], null, null); })();
102
222
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MJTagFormComponent, { className: "MJTagFormComponent", filePath: "src/lib/generated/Entities/MJTag/mjtag.form.component.ts", lineNumber: 13 }); })();
103
223
  //# sourceMappingURL=mjtag.form.component.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"mjtag.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJTag/mjtag.form.component.ts","../../../../../src/lib/generated/Entities/MJTag/mjtag.form.component.html"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,S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CAAC,uCAAuC;GAMxE,kBAAkB,CAa9B;;iFAbY,kBAAkB;cAL9B,SAAS;6BACM,KAAK,YACP,gBAAgB;;kFAGjB,kBAAkB","sourcesContent":["import { Component } from '@angular/core';\nimport { MJTagEntity } 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: Tags') // Tell MemberJunction about this class\n@Component({\n standalone: false,\n selector: 'gen-mjtag-form',\n templateUrl: './mjtag.form.component.html'\n})\nexport class MJTagFormComponent extends BaseFormComponent {\n public record!: MJTagEntity;\n\n override async ngOnInit() {\n await super.ngOnInit();\n this.initSections([\n { sectionKey: 'tagBasics', sectionName: 'Tag Basics', isExpanded: true },\n { sectionKey: 'tagHierarchy', sectionName: 'Tag Hierarchy', isExpanded: true },\n { sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },\n { sectionKey: 'mJTags', sectionName: 'Tags', isExpanded: false },\n { sectionKey: 'mJTaggedItems', sectionName: 'Tagged Items', 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 <!-- Tag Basics Section -->\n <mj-collapsible-panel\n SectionKey=\"tagBasics\"\n SectionName=\"Tag Basics\"\n Icon=\"fa fa-tag\"\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=\"DisplayName\"\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 <!-- Tag Hierarchy Section -->\n <mj-collapsible-panel\n SectionKey=\"tagHierarchy\"\n SectionName=\"Tag 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 <!-- 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 <!-- Tags Section -->\n <mj-collapsible-panel\n SectionKey=\"mJTags\"\n SectionName=\"Tags\"\n Icon=\"fa fa-tags\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJTags')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Tags','ParentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Tags')\"\n [AllowLoad]=\"IsSectionExpanded('mJTags')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJTags', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Tagged Items Section -->\n <mj-collapsible-panel\n SectionKey=\"mJTaggedItems\"\n SectionName=\"Tagged Items\"\n Icon=\"fa fa-tags\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJTaggedItems')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Tagged Items','TagID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Tagged Items')\"\n [AllowLoad]=\"IsSectionExpanded('mJTaggedItems')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJTaggedItems', $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":"mjtag.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJTag/mjtag.form.component.ts","../../../../../src/lib/generated/Entities/MJTag/mjtag.form.component.html"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC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D,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,oEACoC,0BACtC;YACzB,cAYC;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,kEACkC,0BACpC;YACzB,cAYC;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,6DAC6B,0BAC/B;YACzB,cAYC;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,+DAC+B,0BACjC;YACzB,cAYC;YAZD,8CAYC;;;ADjUI,kBAAkB;IAN9B,aAAa,CAAC,iBAAiB,EAAE,UAAU,CAAC,CAAC,uCAAuC;GAMxE,kBAAkB,CAoB9B;;iFApBY,kBAAkB;cAL9B,SAAS;6BACM,KAAK,YACP,gBAAgB;;kFAGjB,kBAAkB","sourcesContent":["import { Component } from '@angular/core';\nimport { MJTagEntity } 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: Tags') // Tell MemberJunction about this class\n@Component({\n standalone: false,\n selector: 'gen-mjtag-form',\n templateUrl: './mjtag.form.component.html'\n})\nexport class MJTagFormComponent extends BaseFormComponent {\n public record!: MJTagEntity;\n\n override async ngOnInit() {\n await super.ngOnInit();\n this.initSections([\n { sectionKey: 'tagBasics', sectionName: 'Tag Basics', isExpanded: true },\n { sectionKey: 'tagHierarchy', sectionName: 'Tag Hierarchy', isExpanded: true },\n { sectionKey: 'tagLifecycle', sectionName: 'Tag Lifecycle', isExpanded: false },\n { sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },\n { sectionKey: 'mJTagsParentID', sectionName: 'Tags', isExpanded: false },\n { sectionKey: 'mJTaggedItems', sectionName: 'Tagged Items', isExpanded: false },\n { sectionKey: 'mJContentItemTags', sectionName: 'Content Item Tags', isExpanded: false },\n { sectionKey: 'mJTagCoOccurrencesTagBID', sectionName: 'Tag Co Occurrences (Tag B ID)', isExpanded: false },\n { sectionKey: 'mJTagAuditLogsRelatedTagID', sectionName: 'Tag Audit Logs (Related Tag)', isExpanded: false },\n { sectionKey: 'mJTagCoOccurrencesTagAID', sectionName: 'Tag Co Occurrences (Tag A ID)', isExpanded: false },\n { sectionKey: 'mJTagAuditLogsTagID', sectionName: 'Tag Audit Logs (Tag)', isExpanded: false },\n { sectionKey: 'mJTagsMergedIntoTagID', sectionName: 'Tags (Merged Into Tag)', 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 <!-- Tag Basics Section -->\n <mj-collapsible-panel\n SectionKey=\"tagBasics\"\n SectionName=\"Tag Basics\"\n Icon=\"fa fa-info-circle\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Name\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"DisplayName\"\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 <!-- Tag Hierarchy Section -->\n <mj-collapsible-panel\n SectionKey=\"tagHierarchy\"\n SectionName=\"Tag Hierarchy\"\n Icon=\"fa fa-info-circle\"\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 <!-- Tag Lifecycle Section -->\n <mj-collapsible-panel\n SectionKey=\"tagLifecycle\"\n SectionName=\"Tag Lifecycle\"\n Icon=\"fa fa-sync-alt\"\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=\"MergedIntoTagID\"\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=\"RootMergedIntoTagID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- System Metadata Section -->\n <mj-collapsible-panel\n SectionKey=\"systemMetadata\"\n SectionName=\"System Metadata\"\n Icon=\"fa fa-cog\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_CreatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_UpdatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- ========================================\n RELATED ENTITY PANELS\n ======================================== -->\n\n <!-- Tags Section -->\n <mj-collapsible-panel\n SectionKey=\"mJTagsParentID\"\n SectionName=\"Tags\"\n Icon=\"fa fa-tags\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJTagsParentID')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Tags','ParentID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Tags')\"\n [AllowLoad]=\"IsSectionExpanded('mJTagsParentID')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJTagsParentID', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Tagged Items Section -->\n <mj-collapsible-panel\n SectionKey=\"mJTaggedItems\"\n SectionName=\"Tagged Items\"\n Icon=\"fa fa-tags\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJTaggedItems')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Tagged Items','TagID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Tagged Items')\"\n [AllowLoad]=\"IsSectionExpanded('mJTaggedItems')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJTaggedItems', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Content Item Tags Section -->\n <mj-collapsible-panel\n SectionKey=\"mJContentItemTags\"\n SectionName=\"Content Item Tags\"\n Icon=\"fa fa-tag\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJContentItemTags')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Content Item Tags','TagID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Content Item Tags')\"\n [AllowLoad]=\"IsSectionExpanded('mJContentItemTags')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJContentItemTags', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Tag Co Occurrences (Tag B ID) Section -->\n <mj-collapsible-panel\n SectionKey=\"mJTagCoOccurrencesTagBID\"\n SectionName=\"Tag Co Occurrences (Tag B ID)\"\n Icon=\"fa fa-project-diagram\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJTagCoOccurrencesTagBID')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Tag Co Occurrences','TagBID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Tag Co Occurrences')\"\n [AllowLoad]=\"IsSectionExpanded('mJTagCoOccurrencesTagBID')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJTagCoOccurrencesTagBID', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Tag Audit Logs (Related Tag) Section -->\n <mj-collapsible-panel\n SectionKey=\"mJTagAuditLogsRelatedTagID\"\n SectionName=\"Tag Audit Logs (Related Tag)\"\n Icon=\"fa fa-history\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJTagAuditLogsRelatedTagID')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Tag Audit Logs','RelatedTagID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Tag Audit Logs')\"\n [AllowLoad]=\"IsSectionExpanded('mJTagAuditLogsRelatedTagID')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJTagAuditLogsRelatedTagID', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Tag Co Occurrences (Tag A ID) Section -->\n <mj-collapsible-panel\n SectionKey=\"mJTagCoOccurrencesTagAID\"\n SectionName=\"Tag Co Occurrences (Tag A ID)\"\n Icon=\"fa fa-project-diagram\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJTagCoOccurrencesTagAID')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Tag Co Occurrences','TagAID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Tag Co Occurrences')\"\n [AllowLoad]=\"IsSectionExpanded('mJTagCoOccurrencesTagAID')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJTagCoOccurrencesTagAID', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Tag Audit Logs (Tag) Section -->\n <mj-collapsible-panel\n SectionKey=\"mJTagAuditLogsTagID\"\n SectionName=\"Tag Audit Logs (Tag)\"\n Icon=\"fa fa-history\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJTagAuditLogsTagID')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Tag Audit Logs','TagID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Tag Audit Logs')\"\n [AllowLoad]=\"IsSectionExpanded('mJTagAuditLogsTagID')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJTagAuditLogsTagID', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Tags (Merged Into Tag) Section -->\n <mj-collapsible-panel\n SectionKey=\"mJTagsMergedIntoTagID\"\n SectionName=\"Tags (Merged Into Tag)\"\n Icon=\"fa fa-tags\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJTagsMergedIntoTagID')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Tags','MergedIntoTagID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Tags')\"\n [AllowLoad]=\"IsSectionExpanded('mJTagsMergedIntoTagID')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJTagsMergedIntoTagID', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n</mj-record-form-container>\n "]}
@@ -0,0 +1,10 @@
1
+ import { MJTagAuditLogEntity } from '@memberjunction/core-entities';
2
+ import { BaseFormComponent } from '@memberjunction/ng-base-forms';
3
+ import * as i0 from "@angular/core";
4
+ export declare class MJTagAuditLogFormComponent extends BaseFormComponent {
5
+ record: MJTagAuditLogEntity;
6
+ ngOnInit(): Promise<void>;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<MJTagAuditLogFormComponent, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<MJTagAuditLogFormComponent, "gen-mjtagauditlog-form", never, {}, {}, never, never, false, never>;
9
+ }
10
+ //# sourceMappingURL=mjtagauditlog.form.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mjtagauditlog.form.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJTagAuditLog/mjtagauditlog.form.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAEpE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAElE,qBAMa,0BAA2B,SAAQ,iBAAiB;IACtD,MAAM,EAAG,mBAAmB,CAAC;IAErB,QAAQ;yCAHd,0BAA0B;2CAA1B,0BAA0B;CAWtC"}