@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.
- package/dist/lib/custom/Entities/entity-form.component.js +177 -152
- package/dist/lib/custom/Entities/entity-form.component.js.map +1 -1
- package/dist/lib/custom/Tests/test-form.component.d.ts +3 -2
- package/dist/lib/custom/Tests/test-form.component.d.ts.map +1 -1
- package/dist/lib/custom/Tests/test-form.component.js +260 -233
- package/dist/lib/custom/Tests/test-form.component.js.map +1 -1
- package/dist/lib/custom/Tests/test-suite-form.component.d.ts +3 -2
- package/dist/lib/custom/Tests/test-suite-form.component.d.ts.map +1 -1
- package/dist/lib/custom/Tests/test-suite-form.component.js +358 -331
- package/dist/lib/custom/Tests/test-suite-form.component.js.map +1 -1
- package/dist/lib/custom/custom-forms.module.d.ts +2 -1
- package/dist/lib/custom/custom-forms.module.d.ts.map +1 -1
- package/dist/lib/custom/custom-forms.module.js +7 -3
- package/dist/lib/custom/custom-forms.module.js.map +1 -1
- package/dist/lib/generated/Entities/MJAIAgent/mjaiagent.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/MJAIAgent/mjaiagent.form.component.js +127 -119
- package/dist/lib/generated/Entities/MJAIAgent/mjaiagent.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJAIAgentCategory/mjaiagentcategory.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/MJAIAgentCategory/mjaiagentcategory.form.component.js +22 -14
- package/dist/lib/generated/Entities/MJAIAgentCategory/mjaiagentcategory.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJAIAgentType/mjaiagenttype.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/MJAIAgentType/mjaiagenttype.form.component.js +17 -9
- package/dist/lib/generated/Entities/MJAIAgentType/mjaiagenttype.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJApplication/mjapplication.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/MJApplication/mjapplication.form.component.js +26 -8
- package/dist/lib/generated/Entities/MJApplication/mjapplication.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJApplicationRole/mjapplicationrole.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/MJApplicationRole/mjapplicationrole.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/MJApplicationRole/mjapplicationrole.form.component.js +65 -0
- package/dist/lib/generated/Entities/MJApplicationRole/mjapplicationrole.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/MJArtifactType/mjartifacttype.form.component.js +39 -37
- package/dist/lib/generated/Entities/MJArtifactType/mjartifacttype.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJArtifactVersion/mjartifactversion.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/MJArtifactVersion/mjartifactversion.form.component.js +43 -27
- package/dist/lib/generated/Entities/MJArtifactVersion/mjartifactversion.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJCountry/mjcountry.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/MJCountry/mjcountry.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/MJCountry/mjcountry.form.component.js +109 -0
- package/dist/lib/generated/Entities/MJCountry/mjcountry.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/MJCredential/mjcredential.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/MJCredential/mjcredential.form.component.js +54 -18
- package/dist/lib/generated/Entities/MJCredential/mjcredential.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJEntity/mjentity.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/MJEntity/mjentity.form.component.js +335 -297
- package/dist/lib/generated/Entities/MJEntity/mjentity.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJEntityField/mjentityfield.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/MJEntityField/mjentityfield.form.component.js +26 -24
- package/dist/lib/generated/Entities/MJEntityField/mjentityfield.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJFile/mjfile.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/MJFile/mjfile.form.component.js +25 -7
- package/dist/lib/generated/Entities/MJFile/mjfile.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJFileStorageAccount/mjfilestorageaccount.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/MJFileStorageAccount/mjfilestorageaccount.form.component.js +84 -10
- package/dist/lib/generated/Entities/MJFileStorageAccount/mjfilestorageaccount.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJFileStorageAccountPermission/mjfilestorageaccountpermission.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/MJFileStorageAccountPermission/mjfilestorageaccountpermission.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/MJFileStorageAccountPermission/mjfilestorageaccountpermission.form.component.js +69 -0
- package/dist/lib/generated/Entities/MJFileStorageAccountPermission/mjfilestorageaccountpermission.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/MJInstanceConfiguration/mjinstanceconfiguration.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/MJInstanceConfiguration/mjinstanceconfiguration.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/MJInstanceConfiguration/mjinstanceconfiguration.form.component.js +71 -0
- package/dist/lib/generated/Entities/MJInstanceConfiguration/mjinstanceconfiguration.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/MJRecordGeoCode/mjrecordgeocode.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/MJRecordGeoCode/mjrecordgeocode.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/MJRecordGeoCode/mjrecordgeocode.form.component.js +91 -0
- package/dist/lib/generated/Entities/MJRecordGeoCode/mjrecordgeocode.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/MJRole/mjrole.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/MJRole/mjrole.form.component.js +48 -12
- package/dist/lib/generated/Entities/MJRole/mjrole.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJSearchProvider/mjsearchprovider.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/MJSearchProvider/mjsearchprovider.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/MJSearchProvider/mjsearchprovider.form.component.js +87 -0
- package/dist/lib/generated/Entities/MJSearchProvider/mjsearchprovider.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/MJStateProvince/mjstateprovince.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/MJStateProvince/mjstateprovince.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/MJStateProvince/mjstateprovince.form.component.js +91 -0
- package/dist/lib/generated/Entities/MJStateProvince/mjstateprovince.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/MJUser/mjuser.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/MJUser/mjuser.form.component.js +130 -112
- package/dist/lib/generated/Entities/MJUser/mjuser.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJVectorDatabase/mjvectordatabase.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/MJVectorDatabase/mjvectordatabase.form.component.js +22 -14
- package/dist/lib/generated/Entities/MJVectorDatabase/mjvectordatabase.form.component.js.map +1 -1
- package/dist/lib/generated/generated-forms.module.d.ts +254 -242
- package/dist/lib/generated/generated-forms.module.d.ts.map +1 -1
- package/dist/lib/generated/generated-forms.module.js +167 -116
- package/dist/lib/generated/generated-forms.module.js.map +1 -1
- package/package.json +36 -33
|
@@ -9,40 +9,40 @@ 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
|
|
12
|
+
function MJArtifactVersionFormComponent_Conditional_23_Template(rf, ctx) { if (rf & 1) {
|
|
13
13
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
14
|
-
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid",
|
|
15
|
-
i0.ɵɵlistener("Navigate", function
|
|
14
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 26);
|
|
15
|
+
i0.ɵɵlistener("Navigate", function MJArtifactVersionFormComponent_Conditional_23_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 MJArtifactVersionFormComponent_Conditional_23_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJArtifactVersionAttributes", $event.totalRowCount)); });
|
|
16
16
|
i0.ɵɵelementEnd()();
|
|
17
17
|
} if (rf & 2) {
|
|
18
18
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
19
19
|
i0.ɵɵadvance();
|
|
20
20
|
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Artifact Version Attributes", "ArtifactVersionID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Artifact Version Attributes"))("AllowLoad", ctx_r1.IsSectionExpanded("mJArtifactVersionAttributes"))("ShowToolbar", false);
|
|
21
21
|
} }
|
|
22
|
-
function
|
|
22
|
+
function MJArtifactVersionFormComponent_Conditional_25_Template(rf, ctx) { if (rf & 1) {
|
|
23
23
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
24
|
-
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid",
|
|
25
|
-
i0.ɵɵlistener("Navigate", function
|
|
24
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 26);
|
|
25
|
+
i0.ɵɵlistener("Navigate", function MJArtifactVersionFormComponent_Conditional_25_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 MJArtifactVersionFormComponent_Conditional_25_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJCollectionArtifacts", $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: Collection Artifacts", "ArtifactVersionID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Collection Artifacts"))("AllowLoad", ctx_r1.IsSectionExpanded("mJCollectionArtifacts"))("ShowToolbar", false);
|
|
31
31
|
} }
|
|
32
|
-
function
|
|
32
|
+
function MJArtifactVersionFormComponent_Conditional_27_Template(rf, ctx) { if (rf & 1) {
|
|
33
33
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
34
|
-
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid",
|
|
35
|
-
i0.ɵɵlistener("Navigate", function
|
|
34
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 26);
|
|
35
|
+
i0.ɵɵlistener("Navigate", function MJArtifactVersionFormComponent_Conditional_27_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 MJArtifactVersionFormComponent_Conditional_27_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJConversationDetailArtifacts", $event.totalRowCount)); });
|
|
36
36
|
i0.ɵɵelementEnd()();
|
|
37
37
|
} if (rf & 2) {
|
|
38
38
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
39
39
|
i0.ɵɵadvance();
|
|
40
40
|
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Conversation Detail Artifacts", "ArtifactVersionID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Conversation Detail Artifacts"))("AllowLoad", ctx_r1.IsSectionExpanded("mJConversationDetailArtifacts"))("ShowToolbar", false);
|
|
41
41
|
} }
|
|
42
|
-
function
|
|
42
|
+
function MJArtifactVersionFormComponent_Conditional_29_Template(rf, ctx) { if (rf & 1) {
|
|
43
43
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
44
|
-
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid",
|
|
45
|
-
i0.ɵɵlistener("Navigate", function
|
|
44
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 26);
|
|
45
|
+
i0.ɵɵlistener("Navigate", function MJArtifactVersionFormComponent_Conditional_29_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 MJArtifactVersionFormComponent_Conditional_29_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJArtifactUses", $event.totalRowCount)); });
|
|
46
46
|
i0.ɵɵelementEnd()();
|
|
47
47
|
} if (rf & 2) {
|
|
48
48
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -56,6 +56,7 @@ let MJArtifactVersionFormComponent = class MJArtifactVersionFormComponent extend
|
|
|
56
56
|
{ sectionKey: 'versionIdentity', sectionName: 'Version Identity', isExpanded: true },
|
|
57
57
|
{ sectionKey: 'contentMetadata', sectionName: 'Content & Metadata', isExpanded: false },
|
|
58
58
|
{ sectionKey: 'ownershipAttribution', sectionName: 'Ownership & Attribution', isExpanded: false },
|
|
59
|
+
{ sectionKey: 'fileStorage', sectionName: 'File Storage', isExpanded: false },
|
|
59
60
|
{ sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },
|
|
60
61
|
{ sectionKey: 'mJArtifactVersionAttributes', sectionName: 'Artifact Version Attributes', isExpanded: false },
|
|
61
62
|
{ sectionKey: 'mJCollectionArtifacts', sectionName: 'Collection Artifacts', isExpanded: false },
|
|
@@ -64,7 +65,7 @@ let MJArtifactVersionFormComponent = class MJArtifactVersionFormComponent extend
|
|
|
64
65
|
]);
|
|
65
66
|
}
|
|
66
67
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵMJArtifactVersionFormComponent_BaseFactory; return function MJArtifactVersionFormComponent_Factory(__ngFactoryType__) { return (ɵMJArtifactVersionFormComponent_BaseFactory || (ɵMJArtifactVersionFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(MJArtifactVersionFormComponent)))(__ngFactoryType__ || MJArtifactVersionFormComponent); }; })(); }
|
|
67
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJArtifactVersionFormComponent, selectors: [["gen-mjartifactversion-form"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls:
|
|
68
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJArtifactVersionFormComponent, selectors: [["gen-mjartifactversion-form"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 30, vars: 96, consts: [[3, "Navigate", "DeleteRequested", "FavoriteToggled", "HistoryRequested", "ListManagementRequested", "Record", "FormComponent"], ["SectionKey", "versionIdentity", "SectionName", "Version Identity", "Icon", "fa fa-info-circle", 3, "Form", "FormContext"], ["FieldName", "ArtifactID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "VersionNumber", "Type", "number", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Name", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Description", "Type", "textarea", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "contentMetadata", "SectionName", "Content & Metadata", "Icon", "fa fa-cog", 3, "Form", "FormContext"], ["FieldName", "Content", "Type", "textarea", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Configuration", "Type", "textarea", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Comments", "Type", "textarea", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "ContentHash", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "ownershipAttribution", "SectionName", "Ownership & Attribution", "Icon", "fa fa-truck", 3, "Form", "FormContext"], ["FieldName", "UserID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "fileStorage", "SectionName", "File Storage", "Icon", "fa fa-file", 3, "Form", "FormContext"], ["FieldName", "FileID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "ContentMode", "Type", "select", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "MimeType", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "FileName", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "ContentSizeBytes", "Type", "number", 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", "mJArtifactVersionAttributes", "SectionName", "Artifact Version Attributes", "Icon", "fa fa-cube", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJCollectionArtifacts", "SectionName", "Collection Artifacts", "Icon", "fa fa-folder-open", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJConversationDetailArtifacts", "SectionName", "Conversation Detail Artifacts", "Icon", "fa fa-comment", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJArtifactUses", "SectionName", "Artifact Uses", "Icon", "fa fa-eye", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], [3, "Navigate", "AfterDataLoad", "Params", "NewRecordValues", "AllowLoad", "ShowToolbar"]], template: function MJArtifactVersionFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
68
69
|
i0.ɵɵelementStart(0, "mj-record-form-container", 0);
|
|
69
70
|
i0.ɵɵlistener("Navigate", function MJArtifactVersionFormComponent_Template_mj_record_form_container_Navigate_0_listener($event) { return ctx.OnFormNavigate($event); })("DeleteRequested", function MJArtifactVersionFormComponent_Template_mj_record_form_container_DeleteRequested_0_listener() { return ctx.OnDeleteRequested(); })("FavoriteToggled", function MJArtifactVersionFormComponent_Template_mj_record_form_container_FavoriteToggled_0_listener() { return ctx.OnFavoriteToggled(); })("HistoryRequested", function MJArtifactVersionFormComponent_Template_mj_record_form_container_HistoryRequested_0_listener() { return ctx.OnHistoryRequested(); })("ListManagementRequested", function MJArtifactVersionFormComponent_Template_mj_record_form_container_ListManagementRequested_0_listener() { return ctx.OnListManagementRequested(); });
|
|
70
71
|
i0.ɵɵelementStart(1, "mj-collapsible-panel", 1);
|
|
@@ -77,19 +78,22 @@ let MJArtifactVersionFormComponent = class MJArtifactVersionFormComponent extend
|
|
|
77
78
|
i0.ɵɵelement(12, "mj-form-field", 12);
|
|
78
79
|
i0.ɵɵelementEnd();
|
|
79
80
|
i0.ɵɵelementStart(13, "mj-collapsible-panel", 13);
|
|
80
|
-
i0.ɵɵelement(14, "mj-form-field", 14)(15, "mj-form-field", 15);
|
|
81
|
+
i0.ɵɵelement(14, "mj-form-field", 14)(15, "mj-form-field", 15)(16, "mj-form-field", 16)(17, "mj-form-field", 17)(18, "mj-form-field", 18);
|
|
81
82
|
i0.ɵɵelementEnd();
|
|
82
|
-
i0.ɵɵelementStart(
|
|
83
|
-
i0.ɵɵ
|
|
83
|
+
i0.ɵɵelementStart(19, "mj-collapsible-panel", 19);
|
|
84
|
+
i0.ɵɵelement(20, "mj-form-field", 20)(21, "mj-form-field", 21);
|
|
84
85
|
i0.ɵɵelementEnd();
|
|
85
|
-
i0.ɵɵelementStart(
|
|
86
|
-
i0.ɵɵconditionalCreate(
|
|
86
|
+
i0.ɵɵelementStart(22, "mj-collapsible-panel", 22);
|
|
87
|
+
i0.ɵɵconditionalCreate(23, MJArtifactVersionFormComponent_Conditional_23_Template, 2, 4, "div");
|
|
87
88
|
i0.ɵɵelementEnd();
|
|
88
|
-
i0.ɵɵelementStart(
|
|
89
|
-
i0.ɵɵconditionalCreate(
|
|
89
|
+
i0.ɵɵelementStart(24, "mj-collapsible-panel", 23);
|
|
90
|
+
i0.ɵɵconditionalCreate(25, MJArtifactVersionFormComponent_Conditional_25_Template, 2, 4, "div");
|
|
90
91
|
i0.ɵɵelementEnd();
|
|
91
|
-
i0.ɵɵelementStart(
|
|
92
|
-
i0.ɵɵconditionalCreate(
|
|
92
|
+
i0.ɵɵelementStart(26, "mj-collapsible-panel", 24);
|
|
93
|
+
i0.ɵɵconditionalCreate(27, MJArtifactVersionFormComponent_Conditional_27_Template, 2, 4, "div");
|
|
94
|
+
i0.ɵɵelementEnd();
|
|
95
|
+
i0.ɵɵelementStart(28, "mj-collapsible-panel", 25);
|
|
96
|
+
i0.ɵɵconditionalCreate(29, MJArtifactVersionFormComponent_Conditional_29_Template, 2, 4, "div");
|
|
93
97
|
i0.ɵɵelementEnd()();
|
|
94
98
|
} if (rf & 2) {
|
|
95
99
|
i0.ɵɵproperty("Record", ctx.record)("FormComponent", ctx);
|
|
@@ -124,21 +128,33 @@ let MJArtifactVersionFormComponent = class MJArtifactVersionFormComponent extend
|
|
|
124
128
|
i0.ɵɵadvance();
|
|
125
129
|
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
126
130
|
i0.ɵɵadvance();
|
|
131
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
132
|
+
i0.ɵɵadvance();
|
|
133
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
134
|
+
i0.ɵɵadvance();
|
|
135
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
136
|
+
i0.ɵɵadvance();
|
|
137
|
+
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext);
|
|
138
|
+
i0.ɵɵadvance();
|
|
139
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
140
|
+
i0.ɵɵadvance();
|
|
141
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
142
|
+
i0.ɵɵadvance();
|
|
127
143
|
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJArtifactVersionAttributes"))("DefaultExpanded", false);
|
|
128
144
|
i0.ɵɵadvance();
|
|
129
|
-
i0.ɵɵconditional(ctx.record.IsSaved ?
|
|
145
|
+
i0.ɵɵconditional(ctx.record.IsSaved ? 23 : -1);
|
|
130
146
|
i0.ɵɵadvance();
|
|
131
147
|
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJCollectionArtifacts"))("DefaultExpanded", false);
|
|
132
148
|
i0.ɵɵadvance();
|
|
133
|
-
i0.ɵɵconditional(ctx.record.IsSaved ?
|
|
149
|
+
i0.ɵɵconditional(ctx.record.IsSaved ? 25 : -1);
|
|
134
150
|
i0.ɵɵadvance();
|
|
135
151
|
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJConversationDetailArtifacts"))("DefaultExpanded", false);
|
|
136
152
|
i0.ɵɵadvance();
|
|
137
|
-
i0.ɵɵconditional(ctx.record.IsSaved ?
|
|
153
|
+
i0.ɵɵconditional(ctx.record.IsSaved ? 27 : -1);
|
|
138
154
|
i0.ɵɵadvance();
|
|
139
155
|
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJArtifactUses"))("DefaultExpanded", false);
|
|
140
156
|
i0.ɵɵadvance();
|
|
141
|
-
i0.ɵɵconditional(ctx.record.IsSaved ?
|
|
157
|
+
i0.ɵɵconditional(ctx.record.IsSaved ? 29 : -1);
|
|
142
158
|
} }, dependencies: [i1.MjFormFieldComponent, i1.MjCollapsiblePanelComponent, i1.MjRecordFormContainerComponent, i1.ExplorerEntityDataGridComponent], encapsulation: 2 }); }
|
|
143
159
|
};
|
|
144
160
|
MJArtifactVersionFormComponent = __decorate([
|
|
@@ -147,7 +163,7 @@ MJArtifactVersionFormComponent = __decorate([
|
|
|
147
163
|
export { MJArtifactVersionFormComponent };
|
|
148
164
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MJArtifactVersionFormComponent, [{
|
|
149
165
|
type: Component,
|
|
150
|
-
args: [{ standalone: false, selector: 'gen-mjartifactversion-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 <!-- Version Identity Section -->\n <mj-collapsible-panel\n SectionKey=\"versionIdentity\"\n SectionName=\"Version Identity\"\n Icon=\"fa fa-history\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ArtifactID\"\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=\"VersionNumber\"\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=\"Name\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Description\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Content & Metadata Section -->\n <mj-collapsible-panel\n SectionKey=\"contentMetadata\"\n SectionName=\"Content & Metadata\"\n Icon=\"fa fa-file-alt\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Content\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Configuration\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Comments\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ContentHash\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Ownership & Attribution Section -->\n <mj-collapsible-panel\n SectionKey=\"ownershipAttribution\"\n SectionName=\"Ownership & Attribution\"\n Icon=\"fa fa-user\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"false\"\n FieldName=\"UserID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- 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 <!-- Artifact Version Attributes Section -->\n <mj-collapsible-panel\n SectionKey=\"mJArtifactVersionAttributes\"\n SectionName=\"Artifact Version Attributes\"\n Icon=\"fa fa-cube\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJArtifactVersionAttributes')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Artifact Version Attributes','ArtifactVersionID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Artifact Version Attributes')\"\n [AllowLoad]=\"IsSectionExpanded('mJArtifactVersionAttributes')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJArtifactVersionAttributes', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Collection Artifacts Section -->\n <mj-collapsible-panel\n SectionKey=\"mJCollectionArtifacts\"\n SectionName=\"Collection Artifacts\"\n Icon=\"fa fa-folder-open\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJCollectionArtifacts')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Collection Artifacts','ArtifactVersionID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Collection Artifacts')\"\n [AllowLoad]=\"IsSectionExpanded('mJCollectionArtifacts')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJCollectionArtifacts', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Conversation Detail Artifacts Section -->\n <mj-collapsible-panel\n SectionKey=\"mJConversationDetailArtifacts\"\n SectionName=\"Conversation Detail Artifacts\"\n Icon=\"fa fa-comment\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJConversationDetailArtifacts')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Conversation Detail Artifacts','ArtifactVersionID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Conversation Detail Artifacts')\"\n [AllowLoad]=\"IsSectionExpanded('mJConversationDetailArtifacts')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJConversationDetailArtifacts', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Artifact Uses Section -->\n <mj-collapsible-panel\n SectionKey=\"mJArtifactUses\"\n SectionName=\"Artifact Uses\"\n Icon=\"fa fa-eye\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJArtifactUses')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Artifact Uses','ArtifactVersionID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Artifact Uses')\"\n [AllowLoad]=\"IsSectionExpanded('mJArtifactUses')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJArtifactUses', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n</mj-record-form-container>\n " }]
|
|
166
|
+
args: [{ standalone: false, selector: 'gen-mjartifactversion-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 <!-- Version Identity Section -->\n <mj-collapsible-panel\n SectionKey=\"versionIdentity\"\n SectionName=\"Version Identity\"\n Icon=\"fa fa-info-circle\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ArtifactID\"\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=\"VersionNumber\"\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=\"Name\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Description\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Content & Metadata Section -->\n <mj-collapsible-panel\n SectionKey=\"contentMetadata\"\n SectionName=\"Content & Metadata\"\n Icon=\"fa fa-cog\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Content\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Configuration\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Comments\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ContentHash\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Ownership & Attribution Section -->\n <mj-collapsible-panel\n SectionKey=\"ownershipAttribution\"\n SectionName=\"Ownership & Attribution\"\n Icon=\"fa fa-truck\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"false\"\n FieldName=\"UserID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- File Storage Section -->\n <mj-collapsible-panel\n SectionKey=\"fileStorage\"\n SectionName=\"File Storage\"\n Icon=\"fa fa-file\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"FileID\"\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=\"ContentMode\"\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=\"MimeType\"\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=\"FileName\"\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=\"ContentSizeBytes\"\n Type=\"number\"\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 <!-- Artifact Version Attributes Section -->\n <mj-collapsible-panel\n SectionKey=\"mJArtifactVersionAttributes\"\n SectionName=\"Artifact Version Attributes\"\n Icon=\"fa fa-cube\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJArtifactVersionAttributes')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Artifact Version Attributes','ArtifactVersionID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Artifact Version Attributes')\"\n [AllowLoad]=\"IsSectionExpanded('mJArtifactVersionAttributes')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJArtifactVersionAttributes', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Collection Artifacts Section -->\n <mj-collapsible-panel\n SectionKey=\"mJCollectionArtifacts\"\n SectionName=\"Collection Artifacts\"\n Icon=\"fa fa-folder-open\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJCollectionArtifacts')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Collection Artifacts','ArtifactVersionID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Collection Artifacts')\"\n [AllowLoad]=\"IsSectionExpanded('mJCollectionArtifacts')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJCollectionArtifacts', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Conversation Detail Artifacts Section -->\n <mj-collapsible-panel\n SectionKey=\"mJConversationDetailArtifacts\"\n SectionName=\"Conversation Detail Artifacts\"\n Icon=\"fa fa-comment\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJConversationDetailArtifacts')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Conversation Detail Artifacts','ArtifactVersionID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Conversation Detail Artifacts')\"\n [AllowLoad]=\"IsSectionExpanded('mJConversationDetailArtifacts')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJConversationDetailArtifacts', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Artifact Uses Section -->\n <mj-collapsible-panel\n SectionKey=\"mJArtifactUses\"\n SectionName=\"Artifact Uses\"\n Icon=\"fa fa-eye\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJArtifactUses')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Artifact Uses','ArtifactVersionID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Artifact Uses')\"\n [AllowLoad]=\"IsSectionExpanded('mJArtifactUses')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJArtifactUses', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n</mj-record-form-container>\n " }]
|
|
151
167
|
}], null, null); })();
|
|
152
168
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MJArtifactVersionFormComponent, { className: "MJArtifactVersionFormComponent", filePath: "src/lib/generated/Entities/MJArtifactVersion/mjartifactversion.form.component.ts", lineNumber: 13 }); })();
|
|
153
169
|
//# sourceMappingURL=mjartifactversion.form.component.js.map
|
package/dist/lib/generated/Entities/MJArtifactVersion/mjartifactversion.form.component.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mjartifactversion.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJArtifactVersion/mjartifactversion.form.component.ts","../../../../../src/lib/generated/Entities/MJArtifactVersion/mjartifactversion.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;;;;;ICyJtD,AADJ,2BAAK,uCAQI;IADD,AADA,qOAAY,6BAAsB,KAAC,kOAClB,0BAAmB,6B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import { Component } from '@angular/core';\nimport { MJArtifactVersionEntity } 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: Artifact Versions') // Tell MemberJunction about this class\n@Component({\n standalone: false,\n selector: 'gen-mjartifactversion-form',\n templateUrl: './mjartifactversion.form.component.html'\n})\nexport class MJArtifactVersionFormComponent extends BaseFormComponent {\n public record!: MJArtifactVersionEntity;\n\n override async ngOnInit() {\n await super.ngOnInit();\n this.initSections([\n { sectionKey: 'versionIdentity', sectionName: 'Version Identity', isExpanded: true },\n { sectionKey: 'contentMetadata', sectionName: 'Content & Metadata', isExpanded: false },\n { sectionKey: 'ownershipAttribution', sectionName: 'Ownership & Attribution', isExpanded: false },\n { sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },\n { sectionKey: 'mJArtifactVersionAttributes', sectionName: 'Artifact Version Attributes', isExpanded: false },\n { sectionKey: 'mJCollectionArtifacts', sectionName: 'Collection Artifacts', isExpanded: false },\n { sectionKey: 'mJConversationDetailArtifacts', sectionName: 'Conversation Detail Artifacts', isExpanded: false },\n { sectionKey: 'mJArtifactUses', sectionName: 'Artifact Uses', 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 <!-- Version Identity Section -->\n <mj-collapsible-panel\n SectionKey=\"versionIdentity\"\n SectionName=\"Version Identity\"\n Icon=\"fa fa-history\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ArtifactID\"\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=\"VersionNumber\"\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=\"Name\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Description\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Content & Metadata Section -->\n <mj-collapsible-panel\n SectionKey=\"contentMetadata\"\n SectionName=\"Content & Metadata\"\n Icon=\"fa fa-file-alt\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Content\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Configuration\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Comments\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ContentHash\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Ownership & Attribution Section -->\n <mj-collapsible-panel\n SectionKey=\"ownershipAttribution\"\n SectionName=\"Ownership & Attribution\"\n Icon=\"fa fa-user\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"false\"\n FieldName=\"UserID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- 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 <!-- Artifact Version Attributes Section -->\n <mj-collapsible-panel\n SectionKey=\"mJArtifactVersionAttributes\"\n SectionName=\"Artifact Version Attributes\"\n Icon=\"fa fa-cube\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJArtifactVersionAttributes')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Artifact Version Attributes','ArtifactVersionID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Artifact Version Attributes')\"\n [AllowLoad]=\"IsSectionExpanded('mJArtifactVersionAttributes')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJArtifactVersionAttributes', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Collection Artifacts Section -->\n <mj-collapsible-panel\n SectionKey=\"mJCollectionArtifacts\"\n SectionName=\"Collection Artifacts\"\n Icon=\"fa fa-folder-open\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJCollectionArtifacts')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Collection Artifacts','ArtifactVersionID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Collection Artifacts')\"\n [AllowLoad]=\"IsSectionExpanded('mJCollectionArtifacts')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJCollectionArtifacts', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Conversation Detail Artifacts Section -->\n <mj-collapsible-panel\n SectionKey=\"mJConversationDetailArtifacts\"\n SectionName=\"Conversation Detail Artifacts\"\n Icon=\"fa fa-comment\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJConversationDetailArtifacts')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Conversation Detail Artifacts','ArtifactVersionID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Conversation Detail Artifacts')\"\n [AllowLoad]=\"IsSectionExpanded('mJConversationDetailArtifacts')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJConversationDetailArtifacts', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Artifact Uses Section -->\n <mj-collapsible-panel\n SectionKey=\"mJArtifactUses\"\n SectionName=\"Artifact Uses\"\n Icon=\"fa fa-eye\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJArtifactUses')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Artifact Uses','ArtifactVersionID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Artifact Uses')\"\n [AllowLoad]=\"IsSectionExpanded('mJArtifactUses')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJArtifactUses', $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":"mjartifactversion.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJArtifactVersion/mjartifactversion.form.component.ts","../../../../../src/lib/generated/Entities/MJArtifactVersion/mjartifactversion.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;;;;;IC4MtD,AADJ,2BAAK,uCAQI;IADD,AADA,qOAAY,6BAAsB,KAAC,kOAClB,0BAAmB,6BAA6B,uBAAuB,KAAC;IAGjG,AADI,iBAA+B,EAC7B;;;IARE,cAAyG;IAGzG,AADA,AADA,AADA,+HAAyG,8EACnC,sEACR,sBACzC;;;;IAqBzB,AADJ,2BAAK,uCAQI;IADD,AADA,qOAAY,6BA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AYC;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,uEACuC,0BACzC;YACzB,cAYC;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,wDACwB,0BAC1B;YACzB,cAYC;YAZD,8CAYC;;;ADxRI,8BAA8B;IAN1C,aAAa,CAAC,iBAAiB,EAAE,uBAAuB,CAAC,CAAC,uCAAuC;GAMrF,8BAA8B,CAiB1C;;iFAjBY,8BAA8B;cAL1C,SAAS;6BACM,KAAK,YACP,4BAA4B;;kFAG7B,8BAA8B","sourcesContent":["import { Component } from '@angular/core';\nimport { MJArtifactVersionEntity } 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: Artifact Versions') // Tell MemberJunction about this class\n@Component({\n standalone: false,\n selector: 'gen-mjartifactversion-form',\n templateUrl: './mjartifactversion.form.component.html'\n})\nexport class MJArtifactVersionFormComponent extends BaseFormComponent {\n public record!: MJArtifactVersionEntity;\n\n override async ngOnInit() {\n await super.ngOnInit();\n this.initSections([\n { sectionKey: 'versionIdentity', sectionName: 'Version Identity', isExpanded: true },\n { sectionKey: 'contentMetadata', sectionName: 'Content & Metadata', isExpanded: false },\n { sectionKey: 'ownershipAttribution', sectionName: 'Ownership & Attribution', isExpanded: false },\n { sectionKey: 'fileStorage', sectionName: 'File Storage', isExpanded: false },\n { sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },\n { sectionKey: 'mJArtifactVersionAttributes', sectionName: 'Artifact Version Attributes', isExpanded: false },\n { sectionKey: 'mJCollectionArtifacts', sectionName: 'Collection Artifacts', isExpanded: false },\n { sectionKey: 'mJConversationDetailArtifacts', sectionName: 'Conversation Detail Artifacts', isExpanded: false },\n { sectionKey: 'mJArtifactUses', sectionName: 'Artifact Uses', 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 <!-- Version Identity Section -->\n <mj-collapsible-panel\n SectionKey=\"versionIdentity\"\n SectionName=\"Version Identity\"\n Icon=\"fa fa-info-circle\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ArtifactID\"\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=\"VersionNumber\"\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=\"Name\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Description\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Content & Metadata Section -->\n <mj-collapsible-panel\n SectionKey=\"contentMetadata\"\n SectionName=\"Content & Metadata\"\n Icon=\"fa fa-cog\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Content\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Configuration\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Comments\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ContentHash\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Ownership & Attribution Section -->\n <mj-collapsible-panel\n SectionKey=\"ownershipAttribution\"\n SectionName=\"Ownership & Attribution\"\n Icon=\"fa fa-truck\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"false\"\n FieldName=\"UserID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- File Storage Section -->\n <mj-collapsible-panel\n SectionKey=\"fileStorage\"\n SectionName=\"File Storage\"\n Icon=\"fa fa-file\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"FileID\"\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=\"ContentMode\"\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=\"MimeType\"\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=\"FileName\"\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=\"ContentSizeBytes\"\n Type=\"number\"\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 <!-- Artifact Version Attributes Section -->\n <mj-collapsible-panel\n SectionKey=\"mJArtifactVersionAttributes\"\n SectionName=\"Artifact Version Attributes\"\n Icon=\"fa fa-cube\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJArtifactVersionAttributes')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Artifact Version Attributes','ArtifactVersionID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Artifact Version Attributes')\"\n [AllowLoad]=\"IsSectionExpanded('mJArtifactVersionAttributes')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJArtifactVersionAttributes', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Collection Artifacts Section -->\n <mj-collapsible-panel\n SectionKey=\"mJCollectionArtifacts\"\n SectionName=\"Collection Artifacts\"\n Icon=\"fa fa-folder-open\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJCollectionArtifacts')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Collection Artifacts','ArtifactVersionID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Collection Artifacts')\"\n [AllowLoad]=\"IsSectionExpanded('mJCollectionArtifacts')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJCollectionArtifacts', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Conversation Detail Artifacts Section -->\n <mj-collapsible-panel\n SectionKey=\"mJConversationDetailArtifacts\"\n SectionName=\"Conversation Detail Artifacts\"\n Icon=\"fa fa-comment\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJConversationDetailArtifacts')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Conversation Detail Artifacts','ArtifactVersionID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Conversation Detail Artifacts')\"\n [AllowLoad]=\"IsSectionExpanded('mJConversationDetailArtifacts')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJConversationDetailArtifacts', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Artifact Uses Section -->\n <mj-collapsible-panel\n SectionKey=\"mJArtifactUses\"\n SectionName=\"Artifact Uses\"\n Icon=\"fa fa-eye\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJArtifactUses')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Artifact Uses','ArtifactVersionID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Artifact Uses')\"\n [AllowLoad]=\"IsSectionExpanded('mJArtifactUses')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJArtifactUses', $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 { MJCountryEntity } from '@memberjunction/core-entities';
|
|
2
|
+
import { BaseFormComponent } from '@memberjunction/ng-base-forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class MJCountryFormComponent extends BaseFormComponent {
|
|
5
|
+
record: MJCountryEntity;
|
|
6
|
+
ngOnInit(): Promise<void>;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MJCountryFormComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MJCountryFormComponent, "gen-mjcountry-form", never, {}, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=mjcountry.form.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mjcountry.form.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJCountry/mjcountry.form.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAEhE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAGlE,qBAMa,sBAAuB,SAAQ,iBAAiB;IAClD,MAAM,EAAG,eAAe,CAAC;IAEjB,QAAQ;yCAHd,sBAAsB;2CAAtB,sBAAsB;CAalC"}
|
|
@@ -0,0 +1,109 @@
|
|
|
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 MJCountryFormComponent_Conditional_15_Template(rf, ctx) { if (rf & 1) {
|
|
13
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
14
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 16);
|
|
15
|
+
i0.ɵɵlistener("Navigate", function MJCountryFormComponent_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 MJCountryFormComponent_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("mJStateProvinces", $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: State Provinces", "CountryID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: State Provinces"))("AllowLoad", ctx_r1.IsSectionExpanded("mJStateProvinces"))("ShowToolbar", false);
|
|
21
|
+
} }
|
|
22
|
+
function MJCountryFormComponent_Conditional_17_Template(rf, ctx) { if (rf & 1) {
|
|
23
|
+
const _r3 = i0.ɵɵgetCurrentView();
|
|
24
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 16);
|
|
25
|
+
i0.ɵɵlistener("Navigate", function MJCountryFormComponent_Conditional_17_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 MJCountryFormComponent_Conditional_17_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJRecordGeoCodes", $event.totalRowCount)); });
|
|
26
|
+
i0.ɵɵelementEnd()();
|
|
27
|
+
} if (rf & 2) {
|
|
28
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
29
|
+
i0.ɵɵadvance();
|
|
30
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Record Geo Codes", "CountryID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Record Geo Codes"))("AllowLoad", ctx_r1.IsSectionExpanded("mJRecordGeoCodes"))("ShowToolbar", false);
|
|
31
|
+
} }
|
|
32
|
+
let MJCountryFormComponent = class MJCountryFormComponent extends BaseFormComponent {
|
|
33
|
+
async ngOnInit() {
|
|
34
|
+
await super.ngOnInit();
|
|
35
|
+
this.initSections([
|
|
36
|
+
{ sectionKey: 'countryIdentification', sectionName: 'Country Identification', isExpanded: true },
|
|
37
|
+
{ sectionKey: 'geographicData', sectionName: 'Geographic Data', isExpanded: true },
|
|
38
|
+
{ sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },
|
|
39
|
+
{ sectionKey: 'mJStateProvinces', sectionName: 'State Provinces', isExpanded: false },
|
|
40
|
+
{ sectionKey: 'mJRecordGeoCodes', sectionName: 'Record Geo Codes', isExpanded: false }
|
|
41
|
+
]);
|
|
42
|
+
}
|
|
43
|
+
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵMJCountryFormComponent_BaseFactory; return function MJCountryFormComponent_Factory(__ngFactoryType__) { return (ɵMJCountryFormComponent_BaseFactory || (ɵMJCountryFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(MJCountryFormComponent)))(__ngFactoryType__ || MJCountryFormComponent); }; })(); }
|
|
44
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJCountryFormComponent, selectors: [["gen-mjcountry-form"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 18, vars: 58, consts: [[3, "Navigate", "DeleteRequested", "FavoriteToggled", "HistoryRequested", "ListManagementRequested", "Record", "FormComponent"], ["SectionKey", "countryIdentification", "SectionName", "Country Identification", "Icon", "fa fa-id-card", 3, "Form", "FormContext"], ["FieldName", "Name", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "ISO2", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "ISO3", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "NumericCode", "Type", "number", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "CommonAliases", "Type", "textarea", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "geographicData", "SectionName", "Geographic Data", "Icon", "fa fa-map-marked-alt", 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"], ["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", "mJStateProvinces", "SectionName", "State Provinces", "Icon", "fa fa-map", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["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 MJCountryFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
45
|
+
i0.ɵɵelementStart(0, "mj-record-form-container", 0);
|
|
46
|
+
i0.ɵɵlistener("Navigate", function MJCountryFormComponent_Template_mj_record_form_container_Navigate_0_listener($event) { return ctx.OnFormNavigate($event); })("DeleteRequested", function MJCountryFormComponent_Template_mj_record_form_container_DeleteRequested_0_listener() { return ctx.OnDeleteRequested(); })("FavoriteToggled", function MJCountryFormComponent_Template_mj_record_form_container_FavoriteToggled_0_listener() { return ctx.OnFavoriteToggled(); })("HistoryRequested", function MJCountryFormComponent_Template_mj_record_form_container_HistoryRequested_0_listener() { return ctx.OnHistoryRequested(); })("ListManagementRequested", function MJCountryFormComponent_Template_mj_record_form_container_ListManagementRequested_0_listener() { return ctx.OnListManagementRequested(); });
|
|
47
|
+
i0.ɵɵelementStart(1, "mj-collapsible-panel", 1);
|
|
48
|
+
i0.ɵɵelement(2, "mj-form-field", 2)(3, "mj-form-field", 3)(4, "mj-form-field", 4)(5, "mj-form-field", 5)(6, "mj-form-field", 6);
|
|
49
|
+
i0.ɵɵelementEnd();
|
|
50
|
+
i0.ɵɵelementStart(7, "mj-collapsible-panel", 7);
|
|
51
|
+
i0.ɵɵelement(8, "mj-form-field", 8)(9, "mj-form-field", 9)(10, "mj-form-field", 10);
|
|
52
|
+
i0.ɵɵelementEnd();
|
|
53
|
+
i0.ɵɵelementStart(11, "mj-collapsible-panel", 11);
|
|
54
|
+
i0.ɵɵelement(12, "mj-form-field", 12)(13, "mj-form-field", 13);
|
|
55
|
+
i0.ɵɵelementEnd();
|
|
56
|
+
i0.ɵɵelementStart(14, "mj-collapsible-panel", 14);
|
|
57
|
+
i0.ɵɵconditionalCreate(15, MJCountryFormComponent_Conditional_15_Template, 2, 4, "div");
|
|
58
|
+
i0.ɵɵelementEnd();
|
|
59
|
+
i0.ɵɵelementStart(16, "mj-collapsible-panel", 15);
|
|
60
|
+
i0.ɵɵconditionalCreate(17, MJCountryFormComponent_Conditional_17_Template, 2, 4, "div");
|
|
61
|
+
i0.ɵɵelementEnd()();
|
|
62
|
+
} if (rf & 2) {
|
|
63
|
+
i0.ɵɵproperty("Record", ctx.record)("FormComponent", ctx);
|
|
64
|
+
i0.ɵɵadvance();
|
|
65
|
+
i0.ɵɵproperty("Form", ctx)("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("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("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);
|
|
78
|
+
i0.ɵɵadvance();
|
|
79
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
80
|
+
i0.ɵɵadvance();
|
|
81
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
82
|
+
i0.ɵɵadvance();
|
|
83
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
84
|
+
i0.ɵɵadvance();
|
|
85
|
+
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext);
|
|
86
|
+
i0.ɵɵadvance();
|
|
87
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
88
|
+
i0.ɵɵadvance();
|
|
89
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
90
|
+
i0.ɵɵadvance();
|
|
91
|
+
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJStateProvinces"))("DefaultExpanded", false);
|
|
92
|
+
i0.ɵɵadvance();
|
|
93
|
+
i0.ɵɵconditional(ctx.record.IsSaved ? 15 : -1);
|
|
94
|
+
i0.ɵɵadvance();
|
|
95
|
+
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJRecordGeoCodes"))("DefaultExpanded", false);
|
|
96
|
+
i0.ɵɵadvance();
|
|
97
|
+
i0.ɵɵconditional(ctx.record.IsSaved ? 17 : -1);
|
|
98
|
+
} }, dependencies: [i1.MjFormFieldComponent, i1.MjCollapsiblePanelComponent, i1.MjRecordFormContainerComponent, i1.ExplorerEntityDataGridComponent], encapsulation: 2 }); }
|
|
99
|
+
};
|
|
100
|
+
MJCountryFormComponent = __decorate([
|
|
101
|
+
RegisterClass(BaseFormComponent, 'MJ: Countries') // Tell MemberJunction about this class
|
|
102
|
+
], MJCountryFormComponent);
|
|
103
|
+
export { MJCountryFormComponent };
|
|
104
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MJCountryFormComponent, [{
|
|
105
|
+
type: Component,
|
|
106
|
+
args: [{ standalone: false, selector: 'gen-mjcountry-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 <!-- Country Identification Section -->\n <mj-collapsible-panel\n SectionKey=\"countryIdentification\"\n SectionName=\"Country Identification\"\n Icon=\"fa fa-id-card\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Name\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ISO2\"\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=\"ISO3\"\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=\"NumericCode\"\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=\"CommonAliases\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Geographic Data Section -->\n <mj-collapsible-panel\n SectionKey=\"geographicData\"\n SectionName=\"Geographic Data\"\n Icon=\"fa fa-map-marked-alt\"\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\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 <!-- State Provinces Section -->\n <mj-collapsible-panel\n SectionKey=\"mJStateProvinces\"\n SectionName=\"State Provinces\"\n Icon=\"fa fa-map\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJStateProvinces')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: State Provinces','CountryID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: State Provinces')\"\n [AllowLoad]=\"IsSectionExpanded('mJStateProvinces')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJStateProvinces', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\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','CountryID')\"\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 " }]
|
|
107
|
+
}], null, null); })();
|
|
108
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MJCountryFormComponent, { className: "MJCountryFormComponent", filePath: "src/lib/generated/Entities/MJCountry/mjcountry.form.component.ts", lineNumber: 13 }); })();
|
|
109
|
+
//# sourceMappingURL=mjcountry.form.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mjcountry.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJCountry/mjcountry.form.component.ts","../../../../../src/lib/generated/Entities/MJCountry/mjcountry.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;;;;;ICqItD,AADJ,2BAAK,uCAQI;IADD,AADA,6NAAY,6BAAsB,KAAC,0NAClB,0BAAmB,kBAAkB,uBAAuB,KAAC;IAGtF,AADI,iBAA+B,EAC7B;;;IARE,cAAqF;IAGrF,AADA,AADA,AADA,2GAAqF,kEAC3B,2DACP,sBAC9B;;;;IAqBzB,AADJ,2BAAK,uCAQI;IADD,AADA,6NAAY,6BAAsB,KAAC,0NAClB,0BAAmB,kBAAkB,uBAAuB,KAAC;IAGtF,AADI,iBAA+B,EAC7B;;;IARE,cAAsF;IAGtF,AADA,AADA,AADA,4GAAsF,mEAC3B,2DACR,s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Aa,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;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;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;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,0DAC0B,0BAC5B;YACzB,cAYC;YAZD,8CAYC;;;AD/JI,sBAAsB;IANlC,aAAa,CAAC,iBAAiB,EAAE,eAAe,CAAC,CAAC,uCAAuC;GAM7E,sBAAsB,CAalC;;iFAbY,sBAAsB;cALlC,SAAS;6BACM,KAAK,YACP,oBAAoB;;kFAGrB,sBAAsB","sourcesContent":["import { Component } from '@angular/core';\nimport { MJCountryEntity } 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: Countries') // Tell MemberJunction about this class\n@Component({\n standalone: false,\n selector: 'gen-mjcountry-form',\n templateUrl: './mjcountry.form.component.html'\n})\nexport class MJCountryFormComponent extends BaseFormComponent {\n public record!: MJCountryEntity;\n\n override async ngOnInit() {\n await super.ngOnInit();\n this.initSections([\n { sectionKey: 'countryIdentification', sectionName: 'Country Identification', isExpanded: true },\n { sectionKey: 'geographicData', sectionName: 'Geographic Data', isExpanded: true },\n { sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },\n { sectionKey: 'mJStateProvinces', sectionName: 'State Provinces', 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 <!-- Country Identification Section -->\n <mj-collapsible-panel\n SectionKey=\"countryIdentification\"\n SectionName=\"Country Identification\"\n Icon=\"fa fa-id-card\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Name\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ISO2\"\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=\"ISO3\"\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=\"NumericCode\"\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=\"CommonAliases\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Geographic Data Section -->\n <mj-collapsible-panel\n SectionKey=\"geographicData\"\n SectionName=\"Geographic Data\"\n Icon=\"fa fa-map-marked-alt\"\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\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 <!-- State Provinces Section -->\n <mj-collapsible-panel\n SectionKey=\"mJStateProvinces\"\n SectionName=\"State Provinces\"\n Icon=\"fa fa-map\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJStateProvinces')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: State Provinces','CountryID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: State Provinces')\"\n [AllowLoad]=\"IsSectionExpanded('mJStateProvinces')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJStateProvinces', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\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','CountryID')\"\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":"mjcredential.form.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJCredential/mjcredential.form.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAEnE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAGlE,qBAMa,yBAA0B,SAAQ,iBAAiB;IACrD,MAAM,EAAG,kBAAkB,CAAC;IAEpB,QAAQ;yCAHd,yBAAyB;2CAAzB,yBAAyB;
|
|
1
|
+
{"version":3,"file":"mjcredential.form.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJCredential/mjcredential.form.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAEnE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAGlE,qBAMa,yBAA0B,SAAQ,iBAAiB;IACrD,MAAM,EAAG,kBAAkB,CAAC;IAEpB,QAAQ;yCAHd,yBAAyB;2CAAzB,yBAAyB;CAmBrC"}
|