@memberjunction/ng-core-entity-forms 5.24.0 → 5.26.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 (88) hide show
  1. package/dist/lib/custom/Entities/entity-form.component.js +177 -152
  2. package/dist/lib/custom/Entities/entity-form.component.js.map +1 -1
  3. package/dist/lib/custom/Tests/test-form.component.d.ts +3 -2
  4. package/dist/lib/custom/Tests/test-form.component.d.ts.map +1 -1
  5. package/dist/lib/custom/Tests/test-form.component.js +260 -233
  6. package/dist/lib/custom/Tests/test-form.component.js.map +1 -1
  7. package/dist/lib/custom/Tests/test-suite-form.component.d.ts +3 -2
  8. package/dist/lib/custom/Tests/test-suite-form.component.d.ts.map +1 -1
  9. package/dist/lib/custom/Tests/test-suite-form.component.js +358 -331
  10. package/dist/lib/custom/Tests/test-suite-form.component.js.map +1 -1
  11. package/dist/lib/custom/custom-forms.module.d.ts +2 -1
  12. package/dist/lib/custom/custom-forms.module.d.ts.map +1 -1
  13. package/dist/lib/custom/custom-forms.module.js +7 -3
  14. package/dist/lib/custom/custom-forms.module.js.map +1 -1
  15. package/dist/lib/generated/Entities/MJAIAgent/mjaiagent.form.component.d.ts.map +1 -1
  16. package/dist/lib/generated/Entities/MJAIAgent/mjaiagent.form.component.js +127 -119
  17. package/dist/lib/generated/Entities/MJAIAgent/mjaiagent.form.component.js.map +1 -1
  18. package/dist/lib/generated/Entities/MJAIAgentCategory/mjaiagentcategory.form.component.d.ts.map +1 -1
  19. package/dist/lib/generated/Entities/MJAIAgentCategory/mjaiagentcategory.form.component.js +22 -14
  20. package/dist/lib/generated/Entities/MJAIAgentCategory/mjaiagentcategory.form.component.js.map +1 -1
  21. package/dist/lib/generated/Entities/MJAIAgentType/mjaiagenttype.form.component.d.ts.map +1 -1
  22. package/dist/lib/generated/Entities/MJAIAgentType/mjaiagenttype.form.component.js +17 -9
  23. package/dist/lib/generated/Entities/MJAIAgentType/mjaiagenttype.form.component.js.map +1 -1
  24. package/dist/lib/generated/Entities/MJApplication/mjapplication.form.component.d.ts.map +1 -1
  25. package/dist/lib/generated/Entities/MJApplication/mjapplication.form.component.js +26 -8
  26. package/dist/lib/generated/Entities/MJApplication/mjapplication.form.component.js.map +1 -1
  27. package/dist/lib/generated/Entities/MJApplicationRole/mjapplicationrole.form.component.d.ts +10 -0
  28. package/dist/lib/generated/Entities/MJApplicationRole/mjapplicationrole.form.component.d.ts.map +1 -0
  29. package/dist/lib/generated/Entities/MJApplicationRole/mjapplicationrole.form.component.js +65 -0
  30. package/dist/lib/generated/Entities/MJApplicationRole/mjapplicationrole.form.component.js.map +1 -0
  31. package/dist/lib/generated/Entities/MJArtifactType/mjartifacttype.form.component.js +39 -37
  32. package/dist/lib/generated/Entities/MJArtifactType/mjartifacttype.form.component.js.map +1 -1
  33. package/dist/lib/generated/Entities/MJArtifactVersion/mjartifactversion.form.component.d.ts.map +1 -1
  34. package/dist/lib/generated/Entities/MJArtifactVersion/mjartifactversion.form.component.js +43 -27
  35. package/dist/lib/generated/Entities/MJArtifactVersion/mjartifactversion.form.component.js.map +1 -1
  36. package/dist/lib/generated/Entities/MJCountry/mjcountry.form.component.d.ts +10 -0
  37. package/dist/lib/generated/Entities/MJCountry/mjcountry.form.component.d.ts.map +1 -0
  38. package/dist/lib/generated/Entities/MJCountry/mjcountry.form.component.js +109 -0
  39. package/dist/lib/generated/Entities/MJCountry/mjcountry.form.component.js.map +1 -0
  40. package/dist/lib/generated/Entities/MJCredential/mjcredential.form.component.d.ts.map +1 -1
  41. package/dist/lib/generated/Entities/MJCredential/mjcredential.form.component.js +54 -18
  42. package/dist/lib/generated/Entities/MJCredential/mjcredential.form.component.js.map +1 -1
  43. package/dist/lib/generated/Entities/MJEntity/mjentity.form.component.d.ts.map +1 -1
  44. package/dist/lib/generated/Entities/MJEntity/mjentity.form.component.js +335 -297
  45. package/dist/lib/generated/Entities/MJEntity/mjentity.form.component.js.map +1 -1
  46. package/dist/lib/generated/Entities/MJEntityField/mjentityfield.form.component.d.ts.map +1 -1
  47. package/dist/lib/generated/Entities/MJEntityField/mjentityfield.form.component.js +26 -24
  48. package/dist/lib/generated/Entities/MJEntityField/mjentityfield.form.component.js.map +1 -1
  49. package/dist/lib/generated/Entities/MJFile/mjfile.form.component.d.ts.map +1 -1
  50. package/dist/lib/generated/Entities/MJFile/mjfile.form.component.js +25 -7
  51. package/dist/lib/generated/Entities/MJFile/mjfile.form.component.js.map +1 -1
  52. package/dist/lib/generated/Entities/MJFileStorageAccount/mjfilestorageaccount.form.component.d.ts.map +1 -1
  53. package/dist/lib/generated/Entities/MJFileStorageAccount/mjfilestorageaccount.form.component.js +84 -10
  54. package/dist/lib/generated/Entities/MJFileStorageAccount/mjfilestorageaccount.form.component.js.map +1 -1
  55. package/dist/lib/generated/Entities/MJFileStorageAccountPermission/mjfilestorageaccountpermission.form.component.d.ts +10 -0
  56. package/dist/lib/generated/Entities/MJFileStorageAccountPermission/mjfilestorageaccountpermission.form.component.d.ts.map +1 -0
  57. package/dist/lib/generated/Entities/MJFileStorageAccountPermission/mjfilestorageaccountpermission.form.component.js +69 -0
  58. package/dist/lib/generated/Entities/MJFileStorageAccountPermission/mjfilestorageaccountpermission.form.component.js.map +1 -0
  59. package/dist/lib/generated/Entities/MJInstanceConfiguration/mjinstanceconfiguration.form.component.d.ts +10 -0
  60. package/dist/lib/generated/Entities/MJInstanceConfiguration/mjinstanceconfiguration.form.component.d.ts.map +1 -0
  61. package/dist/lib/generated/Entities/MJInstanceConfiguration/mjinstanceconfiguration.form.component.js +71 -0
  62. package/dist/lib/generated/Entities/MJInstanceConfiguration/mjinstanceconfiguration.form.component.js.map +1 -0
  63. package/dist/lib/generated/Entities/MJRecordGeoCode/mjrecordgeocode.form.component.d.ts +10 -0
  64. package/dist/lib/generated/Entities/MJRecordGeoCode/mjrecordgeocode.form.component.d.ts.map +1 -0
  65. package/dist/lib/generated/Entities/MJRecordGeoCode/mjrecordgeocode.form.component.js +91 -0
  66. package/dist/lib/generated/Entities/MJRecordGeoCode/mjrecordgeocode.form.component.js.map +1 -0
  67. package/dist/lib/generated/Entities/MJRole/mjrole.form.component.d.ts.map +1 -1
  68. package/dist/lib/generated/Entities/MJRole/mjrole.form.component.js +48 -12
  69. package/dist/lib/generated/Entities/MJRole/mjrole.form.component.js.map +1 -1
  70. package/dist/lib/generated/Entities/MJSearchProvider/mjsearchprovider.form.component.d.ts +10 -0
  71. package/dist/lib/generated/Entities/MJSearchProvider/mjsearchprovider.form.component.d.ts.map +1 -0
  72. package/dist/lib/generated/Entities/MJSearchProvider/mjsearchprovider.form.component.js +87 -0
  73. package/dist/lib/generated/Entities/MJSearchProvider/mjsearchprovider.form.component.js.map +1 -0
  74. package/dist/lib/generated/Entities/MJStateProvince/mjstateprovince.form.component.d.ts +10 -0
  75. package/dist/lib/generated/Entities/MJStateProvince/mjstateprovince.form.component.d.ts.map +1 -0
  76. package/dist/lib/generated/Entities/MJStateProvince/mjstateprovince.form.component.js +91 -0
  77. package/dist/lib/generated/Entities/MJStateProvince/mjstateprovince.form.component.js.map +1 -0
  78. package/dist/lib/generated/Entities/MJUser/mjuser.form.component.d.ts.map +1 -1
  79. package/dist/lib/generated/Entities/MJUser/mjuser.form.component.js +130 -112
  80. package/dist/lib/generated/Entities/MJUser/mjuser.form.component.js.map +1 -1
  81. package/dist/lib/generated/Entities/MJVectorDatabase/mjvectordatabase.form.component.d.ts.map +1 -1
  82. package/dist/lib/generated/Entities/MJVectorDatabase/mjvectordatabase.form.component.js +22 -14
  83. package/dist/lib/generated/Entities/MJVectorDatabase/mjvectordatabase.form.component.js.map +1 -1
  84. package/dist/lib/generated/generated-forms.module.d.ts +254 -242
  85. package/dist/lib/generated/generated-forms.module.d.ts.map +1 -1
  86. package/dist/lib/generated/generated-forms.module.js +167 -116
  87. package/dist/lib/generated/generated-forms.module.js.map +1 -1
  88. package/package.json +36 -33
@@ -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":"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","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":"mjuser.form.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJUser/mjuser.form.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAE7D,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAGlE,qBAMa,mBAAoB,SAAQ,iBAAiB;IAC/C,MAAM,EAAG,YAAY,CAAC;IAEd,QAAQ;yCAHd,mBAAmB;2CAAnB,mBAAmB;CAoG/B"}
1
+ {"version":3,"file":"mjuser.form.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJUser/mjuser.form.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAE7D,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAGlE,qBAMa,mBAAoB,SAAQ,iBAAiB;IAC/C,MAAM,EAAG,YAAY,CAAC;IAEd,QAAQ;yCAHd,mBAAmB;2CAAnB,mBAAmB;CAqG/B"}