@memberjunction/ng-core-entity-forms 5.27.0 → 5.28.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/generated/Entities/MJRecordChange/mjrecordchange.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/MJRecordChange/mjrecordchange.form.component.js +40 -10
- package/dist/lib/generated/Entities/MJRecordChange/mjrecordchange.form.component.js.map +1 -1
- package/package.json +34 -34
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mjrecordchange.form.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJRecordChange/mjrecordchange.form.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAErE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAGlE,qBAMa,2BAA4B,SAAQ,iBAAiB;IACvD,MAAM,EAAG,oBAAoB,CAAC;IAEtB,QAAQ;yCAHd,2BAA2B;2CAA3B,2BAA2B;
|
|
1
|
+
{"version":3,"file":"mjrecordchange.form.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJRecordChange/mjrecordchange.form.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAErE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAGlE,qBAMa,2BAA4B,SAAQ,iBAAiB;IACvD,MAAM,EAAG,oBAAoB,CAAC;IAEtB,QAAQ;yCAHd,2BAA2B;2CAA3B,2BAA2B;CAevC"}
|
|
@@ -9,16 +9,26 @@ 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 MJRecordChangeFormComponent_Conditional_26_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", 27);
|
|
15
|
+
i0.ɵɵlistener("Navigate", function MJRecordChangeFormComponent_Conditional_26_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 MJRecordChangeFormComponent_Conditional_26_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJVersionLabelItems", $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: Version Label Items", "RecordChangeID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Version Label Items"))("AllowLoad", ctx_r1.IsSectionExpanded("mJVersionLabelItems"))("ShowToolbar", false);
|
|
21
21
|
} }
|
|
22
|
+
function MJRecordChangeFormComponent_Conditional_28_Template(rf, ctx) { if (rf & 1) {
|
|
23
|
+
const _r3 = i0.ɵɵgetCurrentView();
|
|
24
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 27);
|
|
25
|
+
i0.ɵɵlistener("Navigate", function MJRecordChangeFormComponent_Conditional_28_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 MJRecordChangeFormComponent_Conditional_28_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJRecordChanges", $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 Changes", "RestoredFromID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Record Changes"))("AllowLoad", ctx_r1.IsSectionExpanded("mJRecordChanges"))("ShowToolbar", false);
|
|
31
|
+
} }
|
|
22
32
|
let MJRecordChangeFormComponent = class MJRecordChangeFormComponent extends BaseFormComponent {
|
|
23
33
|
async ngOnInit() {
|
|
24
34
|
await super.ngOnInit();
|
|
@@ -26,12 +36,14 @@ let MJRecordChangeFormComponent = class MJRecordChangeFormComponent extends Base
|
|
|
26
36
|
{ sectionKey: 'recordContext', sectionName: 'Record Context', isExpanded: true },
|
|
27
37
|
{ sectionKey: 'changeSummary', sectionName: 'Change Summary', isExpanded: true },
|
|
28
38
|
{ sectionKey: 'changeContent', sectionName: 'Change Content', isExpanded: false },
|
|
39
|
+
{ sectionKey: 'auditLineage', sectionName: 'Audit Lineage', isExpanded: false },
|
|
29
40
|
{ sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },
|
|
30
|
-
{ sectionKey: 'mJVersionLabelItems', sectionName: 'Version Label Items', isExpanded: false }
|
|
41
|
+
{ sectionKey: 'mJVersionLabelItems', sectionName: 'Version Label Items', isExpanded: false },
|
|
42
|
+
{ sectionKey: 'mJRecordChanges', sectionName: 'Record Changes', isExpanded: false }
|
|
31
43
|
]);
|
|
32
44
|
}
|
|
33
45
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵMJRecordChangeFormComponent_BaseFactory; return function MJRecordChangeFormComponent_Factory(__ngFactoryType__) { return (ɵMJRecordChangeFormComponent_BaseFactory || (ɵMJRecordChangeFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(MJRecordChangeFormComponent)))(__ngFactoryType__ || MJRecordChangeFormComponent); }; })(); }
|
|
34
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJRecordChangeFormComponent, selectors: [["gen-mjrecordchange-form"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls:
|
|
46
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJRecordChangeFormComponent, selectors: [["gen-mjrecordchange-form"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 29, vars: 98, consts: [[3, "Navigate", "DeleteRequested", "FavoriteToggled", "HistoryRequested", "ListManagementRequested", "Record", "FormComponent"], ["SectionKey", "recordContext", "SectionName", "Record Context", "Icon", "fa fa-info-circle", 3, "Form", "FormContext"], ["FieldName", "EntityID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "RecordID", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "UserID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "ReplayRunID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "IntegrationID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Comments", "Type", "textarea", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "changeSummary", "SectionName", "Change Summary", "Icon", "fa fa-info-circle", 3, "Form", "FormContext"], ["FieldName", "Type", "Type", "select", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Source", "Type", "select", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "ChangedAt", "Type", "datepicker", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Status", "Type", "select", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "ErrorLog", "Type", "textarea", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "changeContent", "SectionName", "Change Content", "Icon", "fa fa-info-circle", 3, "Form", "FormContext"], ["FieldName", "ChangesJSON", "Type", "code", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "ChangesDescription", "Type", "textarea", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "FullRecordJSON", "Type", "code", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "auditLineage", "SectionName", "Audit Lineage", "Icon", "fa fa-code-branch", 3, "Form", "FormContext"], ["FieldName", "RestoredFromID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "RestoreReason", "Type", "textarea", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "RootRestoredFromID", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "systemMetadata", "SectionName", "System Metadata", "Icon", "fa fa-cog", 3, "Form", "FormContext"], ["FieldName", "CreatedAt", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "UpdatedAt", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "mJVersionLabelItems", "SectionName", "Version Label Items", "Icon", "fa fa-history", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJRecordChanges", "SectionName", "Record Changes", "Icon", "fa fa-history", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], [3, "Navigate", "AfterDataLoad", "Params", "NewRecordValues", "AllowLoad", "ShowToolbar"]], template: function MJRecordChangeFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
35
47
|
i0.ɵɵelementStart(0, "mj-record-form-container", 0);
|
|
36
48
|
i0.ɵɵlistener("Navigate", function MJRecordChangeFormComponent_Template_mj_record_form_container_Navigate_0_listener($event) { return ctx.OnFormNavigate($event); })("DeleteRequested", function MJRecordChangeFormComponent_Template_mj_record_form_container_DeleteRequested_0_listener() { return ctx.OnDeleteRequested(); })("FavoriteToggled", function MJRecordChangeFormComponent_Template_mj_record_form_container_FavoriteToggled_0_listener() { return ctx.OnFavoriteToggled(); })("HistoryRequested", function MJRecordChangeFormComponent_Template_mj_record_form_container_HistoryRequested_0_listener() { return ctx.OnHistoryRequested(); })("ListManagementRequested", function MJRecordChangeFormComponent_Template_mj_record_form_container_ListManagementRequested_0_listener() { return ctx.OnListManagementRequested(); });
|
|
37
49
|
i0.ɵɵelementStart(1, "mj-collapsible-panel", 1);
|
|
@@ -44,10 +56,16 @@ let MJRecordChangeFormComponent = class MJRecordChangeFormComponent extends Base
|
|
|
44
56
|
i0.ɵɵelement(15, "mj-form-field", 15)(16, "mj-form-field", 16)(17, "mj-form-field", 17);
|
|
45
57
|
i0.ɵɵelementEnd();
|
|
46
58
|
i0.ɵɵelementStart(18, "mj-collapsible-panel", 18);
|
|
47
|
-
i0.ɵɵelement(19, "mj-form-field", 19)(20, "mj-form-field", 20);
|
|
59
|
+
i0.ɵɵelement(19, "mj-form-field", 19)(20, "mj-form-field", 20)(21, "mj-form-field", 21);
|
|
48
60
|
i0.ɵɵelementEnd();
|
|
49
|
-
i0.ɵɵelementStart(
|
|
50
|
-
i0.ɵɵ
|
|
61
|
+
i0.ɵɵelementStart(22, "mj-collapsible-panel", 22);
|
|
62
|
+
i0.ɵɵelement(23, "mj-form-field", 23)(24, "mj-form-field", 24);
|
|
63
|
+
i0.ɵɵelementEnd();
|
|
64
|
+
i0.ɵɵelementStart(25, "mj-collapsible-panel", 25);
|
|
65
|
+
i0.ɵɵconditionalCreate(26, MJRecordChangeFormComponent_Conditional_26_Template, 2, 4, "div");
|
|
66
|
+
i0.ɵɵelementEnd();
|
|
67
|
+
i0.ɵɵelementStart(27, "mj-collapsible-panel", 26);
|
|
68
|
+
i0.ɵɵconditionalCreate(28, MJRecordChangeFormComponent_Conditional_28_Template, 2, 4, "div");
|
|
51
69
|
i0.ɵɵelementEnd()();
|
|
52
70
|
} if (rf & 2) {
|
|
53
71
|
i0.ɵɵproperty("Record", ctx.record)("FormComponent", ctx);
|
|
@@ -92,9 +110,21 @@ let MJRecordChangeFormComponent = class MJRecordChangeFormComponent extends Base
|
|
|
92
110
|
i0.ɵɵadvance();
|
|
93
111
|
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
94
112
|
i0.ɵɵadvance();
|
|
113
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
114
|
+
i0.ɵɵadvance();
|
|
115
|
+
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext);
|
|
116
|
+
i0.ɵɵadvance();
|
|
117
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
118
|
+
i0.ɵɵadvance();
|
|
119
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
120
|
+
i0.ɵɵadvance();
|
|
95
121
|
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJVersionLabelItems"))("DefaultExpanded", false);
|
|
96
122
|
i0.ɵɵadvance();
|
|
97
|
-
i0.ɵɵconditional(ctx.record.IsSaved ?
|
|
123
|
+
i0.ɵɵconditional(ctx.record.IsSaved ? 26 : -1);
|
|
124
|
+
i0.ɵɵadvance();
|
|
125
|
+
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJRecordChanges"))("DefaultExpanded", false);
|
|
126
|
+
i0.ɵɵadvance();
|
|
127
|
+
i0.ɵɵconditional(ctx.record.IsSaved ? 28 : -1);
|
|
98
128
|
} }, dependencies: [i1.MjFormFieldComponent, i1.MjCollapsiblePanelComponent, i1.MjRecordFormContainerComponent, i1.ExplorerEntityDataGridComponent], encapsulation: 2 }); }
|
|
99
129
|
};
|
|
100
130
|
MJRecordChangeFormComponent = __decorate([
|
|
@@ -103,7 +133,7 @@ MJRecordChangeFormComponent = __decorate([
|
|
|
103
133
|
export { MJRecordChangeFormComponent };
|
|
104
134
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MJRecordChangeFormComponent, [{
|
|
105
135
|
type: Component,
|
|
106
|
-
args: [{ standalone: false, selector: 'gen-mjrecordchange-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 <!-- Record Context Section -->\n <mj-collapsible-panel\n SectionKey=\"recordContext\"\n SectionName=\"Record Context\"\n Icon=\"fa fa-
|
|
136
|
+
args: [{ standalone: false, selector: 'gen-mjrecordchange-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 <!-- Record Context Section -->\n <mj-collapsible-panel\n SectionKey=\"recordContext\"\n SectionName=\"Record Context\"\n Icon=\"fa fa-info-circle\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"EntityID\"\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=\"RecordID\"\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=\"UserID\"\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=\"ReplayRunID\"\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=\"IntegrationID\"\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=\"Comments\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Change Summary Section -->\n <mj-collapsible-panel\n SectionKey=\"changeSummary\"\n SectionName=\"Change Summary\"\n Icon=\"fa fa-info-circle\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Type\"\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=\"Source\"\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=\"ChangedAt\"\n Type=\"datepicker\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Status\"\n Type=\"select\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ErrorLog\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Change Content Section -->\n <mj-collapsible-panel\n SectionKey=\"changeContent\"\n SectionName=\"Change Content\"\n Icon=\"fa fa-info-circle\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ChangesJSON\"\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=\"ChangesDescription\"\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=\"FullRecordJSON\"\n Type=\"code\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Audit Lineage Section -->\n <mj-collapsible-panel\n SectionKey=\"auditLineage\"\n SectionName=\"Audit Lineage\"\n Icon=\"fa fa-code-branch\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"RestoredFromID\"\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=\"RestoreReason\"\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=\"RootRestoredFromID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- System Metadata Section -->\n <mj-collapsible-panel\n SectionKey=\"systemMetadata\"\n SectionName=\"System Metadata\"\n Icon=\"fa fa-cog\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"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=\"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 <!-- Version Label Items Section -->\n <mj-collapsible-panel\n SectionKey=\"mJVersionLabelItems\"\n SectionName=\"Version Label Items\"\n Icon=\"fa fa-history\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJVersionLabelItems')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Version Label Items','RecordChangeID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Version Label Items')\"\n [AllowLoad]=\"IsSectionExpanded('mJVersionLabelItems')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJVersionLabelItems', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Record Changes Section -->\n <mj-collapsible-panel\n SectionKey=\"mJRecordChanges\"\n SectionName=\"Record Changes\"\n Icon=\"fa fa-history\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJRecordChanges')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Record Changes','RestoredFromID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Record Changes')\"\n [AllowLoad]=\"IsSectionExpanded('mJRecordChanges')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJRecordChanges', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n</mj-record-form-container>\n " }]
|
|
107
137
|
}], null, null); })();
|
|
108
138
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MJRecordChangeFormComponent, { className: "MJRecordChangeFormComponent", filePath: "src/lib/generated/Entities/MJRecordChange/mjrecordchange.form.component.ts", lineNumber: 13 }); })();
|
|
109
139
|
//# sourceMappingURL=mjrecordchange.form.component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mjrecordchange.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJRecordChange/mjrecordchange.form.component.ts","../../../../../src/lib/generated/Entities/MJRecordChange/mjrecordchange.form.component.html"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe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AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAG3B,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAU/B,cAAa;YACb,AADA,0BAAa,gCACc;YAEvB,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAG3B,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAe/B,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,6DAC6B,0BAC/B;YACzB,cAYC;YAZD,8CAYC;;;ADpMI,2BAA2B;IANvC,aAAa,CAAC,iBAAiB,EAAE,oBAAoB,CAAC,CAAC,uCAAuC;GAMlF,2BAA2B,CAavC;;iFAbY,2BAA2B;cALvC,SAAS;6BACM,KAAK,YACP,yBAAyB;;kFAG1B,2BAA2B","sourcesContent":["import { Component } from '@angular/core';\nimport { MJRecordChangeEntity } 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: Record Changes') // Tell MemberJunction about this class\n@Component({\n standalone: false,\n selector: 'gen-mjrecordchange-form',\n templateUrl: './mjrecordchange.form.component.html'\n})\nexport class MJRecordChangeFormComponent extends BaseFormComponent {\n public record!: MJRecordChangeEntity;\n\n override async ngOnInit() {\n await super.ngOnInit();\n this.initSections([\n { sectionKey: 'recordContext', sectionName: 'Record Context', isExpanded: true },\n { sectionKey: 'changeSummary', sectionName: 'Change Summary', isExpanded: true },\n { sectionKey: 'changeContent', sectionName: 'Change Content', isExpanded: false },\n { sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },\n { sectionKey: 'mJVersionLabelItems', sectionName: 'Version Label Items', isExpanded: false }\n ]);\n }\n}\n\n","<mj-record-form-container [Record]=\"record\" [FormComponent]=\"this\"\n (Navigate)=\"OnFormNavigate($event)\"\n (DeleteRequested)=\"OnDeleteRequested()\"\n (FavoriteToggled)=\"OnFavoriteToggled()\"\n (HistoryRequested)=\"OnHistoryRequested()\"\n (ListManagementRequested)=\"OnListManagementRequested()\">\n\n <!-- ========================================\n FIELD PANELS\n ======================================== -->\n <!-- Record Context Section -->\n <mj-collapsible-panel\n SectionKey=\"recordContext\"\n SectionName=\"Record Context\"\n Icon=\"fa fa-link\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"EntityID\"\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=\"RecordID\"\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=\"UserID\"\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=\"ReplayRunID\"\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=\"IntegrationID\"\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=\"Comments\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Change Summary Section -->\n <mj-collapsible-panel\n SectionKey=\"changeSummary\"\n SectionName=\"Change Summary\"\n Icon=\"fa fa-clipboard\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Type\"\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=\"Source\"\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=\"ChangedAt\"\n Type=\"datepicker\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Status\"\n Type=\"select\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ErrorLog\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Change Content Section -->\n <mj-collapsible-panel\n SectionKey=\"changeContent\"\n SectionName=\"Change Content\"\n Icon=\"fa fa-file-code\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ChangesJSON\"\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=\"ChangesDescription\"\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=\"FullRecordJSON\"\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=\"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=\"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 <!-- Version Label Items Section -->\n <mj-collapsible-panel\n SectionKey=\"mJVersionLabelItems\"\n SectionName=\"Version Label Items\"\n Icon=\"fa fa-history\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJVersionLabelItems')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Version Label Items','RecordChangeID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Version Label Items')\"\n [AllowLoad]=\"IsSectionExpanded('mJVersionLabelItems')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJVersionLabelItems', $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":"mjrecordchange.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJRecordChange/mjrecordchange.form.component.ts","../../../../../src/lib/generated/Entities/MJRecordChange/mjrecordchange.form.component.html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;;ADhQI,2BAA2B;IANvC,aAAa,CAAC,iBAAiB,EAAE,oBAAoB,CAAC,CAAC,uCAAuC;GAMlF,2BAA2B,CAevC;;iFAfY,2BAA2B;cALvC,SAAS;6BACM,KAAK,YACP,yBAAyB;;kFAG1B,2BAA2B","sourcesContent":["import { Component } from '@angular/core';\nimport { MJRecordChangeEntity } 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: Record Changes') // Tell MemberJunction about this class\n@Component({\n standalone: false,\n selector: 'gen-mjrecordchange-form',\n templateUrl: './mjrecordchange.form.component.html'\n})\nexport class MJRecordChangeFormComponent extends BaseFormComponent {\n public record!: MJRecordChangeEntity;\n\n override async ngOnInit() {\n await super.ngOnInit();\n this.initSections([\n { sectionKey: 'recordContext', sectionName: 'Record Context', isExpanded: true },\n { sectionKey: 'changeSummary', sectionName: 'Change Summary', isExpanded: true },\n { sectionKey: 'changeContent', sectionName: 'Change Content', isExpanded: false },\n { sectionKey: 'auditLineage', sectionName: 'Audit Lineage', isExpanded: false },\n { sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },\n { sectionKey: 'mJVersionLabelItems', sectionName: 'Version Label Items', isExpanded: false },\n { sectionKey: 'mJRecordChanges', sectionName: 'Record Changes', 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 <!-- Record Context Section -->\n <mj-collapsible-panel\n SectionKey=\"recordContext\"\n SectionName=\"Record Context\"\n Icon=\"fa fa-info-circle\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"EntityID\"\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=\"RecordID\"\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=\"UserID\"\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=\"ReplayRunID\"\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=\"IntegrationID\"\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=\"Comments\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Change Summary Section -->\n <mj-collapsible-panel\n SectionKey=\"changeSummary\"\n SectionName=\"Change Summary\"\n Icon=\"fa fa-info-circle\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Type\"\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=\"Source\"\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=\"ChangedAt\"\n Type=\"datepicker\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Status\"\n Type=\"select\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ErrorLog\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Change Content Section -->\n <mj-collapsible-panel\n SectionKey=\"changeContent\"\n SectionName=\"Change Content\"\n Icon=\"fa fa-info-circle\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ChangesJSON\"\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=\"ChangesDescription\"\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=\"FullRecordJSON\"\n Type=\"code\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Audit Lineage Section -->\n <mj-collapsible-panel\n SectionKey=\"auditLineage\"\n SectionName=\"Audit Lineage\"\n Icon=\"fa fa-code-branch\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"RestoredFromID\"\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=\"RestoreReason\"\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=\"RootRestoredFromID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- System Metadata Section -->\n <mj-collapsible-panel\n SectionKey=\"systemMetadata\"\n SectionName=\"System Metadata\"\n Icon=\"fa fa-cog\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"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=\"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 <!-- Version Label Items Section -->\n <mj-collapsible-panel\n SectionKey=\"mJVersionLabelItems\"\n SectionName=\"Version Label Items\"\n Icon=\"fa fa-history\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJVersionLabelItems')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Version Label Items','RecordChangeID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Version Label Items')\"\n [AllowLoad]=\"IsSectionExpanded('mJVersionLabelItems')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJVersionLabelItems', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Record Changes Section -->\n <mj-collapsible-panel\n SectionKey=\"mJRecordChanges\"\n SectionName=\"Record Changes\"\n Icon=\"fa fa-history\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJRecordChanges')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Record Changes','RestoredFromID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Record Changes')\"\n [AllowLoad]=\"IsSectionExpanded('mJRecordChanges')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJRecordChanges', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n</mj-record-form-container>\n "]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@memberjunction/ng-core-entity-forms",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.28.0",
|
|
4
4
|
"description": "MemberJunction Core Entity Angular Forms",
|
|
5
5
|
"main": "./dist/public-api.js",
|
|
6
6
|
"typings": "./dist/public-api.d.ts",
|
|
@@ -27,39 +27,39 @@
|
|
|
27
27
|
"@angular/router": "21.1.3",
|
|
28
28
|
"@codemirror/language": "latest",
|
|
29
29
|
"@codemirror/language-data": "^6.5.2",
|
|
30
|
-
"@memberjunction/actions-base": "5.
|
|
31
|
-
"@memberjunction/ai": "5.
|
|
32
|
-
"@memberjunction/ai-core-plus": "5.
|
|
33
|
-
"@memberjunction/ai-engine-base": "5.
|
|
34
|
-
"@memberjunction/core": "5.
|
|
35
|
-
"@memberjunction/core-entities": "5.
|
|
36
|
-
"@memberjunction/global": "5.
|
|
37
|
-
"@memberjunction/graphql-dataprovider": "5.
|
|
38
|
-
"@memberjunction/ng-action-gallery": "5.
|
|
39
|
-
"@memberjunction/ng-actions": "5.
|
|
40
|
-
"@memberjunction/ng-agents": "5.
|
|
41
|
-
"@memberjunction/ng-ai-test-harness": "5.
|
|
42
|
-
"@memberjunction/ng-base-application": "5.
|
|
43
|
-
"@memberjunction/ng-base-forms": "5.
|
|
44
|
-
"@memberjunction/ng-code-editor": "5.
|
|
45
|
-
"@memberjunction/ng-deep-diff": "5.
|
|
46
|
-
"@memberjunction/ng-entity-relationship-diagram": "5.
|
|
47
|
-
"@memberjunction/ng-entity-viewer": "5.
|
|
48
|
-
"@memberjunction/ng-flow-editor": "5.
|
|
49
|
-
"@memberjunction/ng-join-grid": "5.
|
|
50
|
-
"@memberjunction/ng-link-directives": "5.
|
|
51
|
-
"@memberjunction/ng-list-management": "5.
|
|
52
|
-
"@memberjunction/ng-markdown": "5.
|
|
53
|
-
"@memberjunction/ng-notifications": "5.
|
|
54
|
-
"@memberjunction/ng-shared": "5.
|
|
55
|
-
"@memberjunction/ng-shared-generic": "5.
|
|
56
|
-
"@memberjunction/ng-tabstrip": "5.
|
|
57
|
-
"@memberjunction/ng-testing": "5.
|
|
58
|
-
"@memberjunction/ng-timeline": "5.
|
|
59
|
-
"@memberjunction/ng-trees": "5.
|
|
60
|
-
"@memberjunction/ng-ui-components": "5.
|
|
61
|
-
"@memberjunction/ng-versions": "5.
|
|
62
|
-
"@memberjunction/templates-base-types": "5.
|
|
30
|
+
"@memberjunction/actions-base": "5.28.0",
|
|
31
|
+
"@memberjunction/ai": "5.28.0",
|
|
32
|
+
"@memberjunction/ai-core-plus": "5.28.0",
|
|
33
|
+
"@memberjunction/ai-engine-base": "5.28.0",
|
|
34
|
+
"@memberjunction/core": "5.28.0",
|
|
35
|
+
"@memberjunction/core-entities": "5.28.0",
|
|
36
|
+
"@memberjunction/global": "5.28.0",
|
|
37
|
+
"@memberjunction/graphql-dataprovider": "5.28.0",
|
|
38
|
+
"@memberjunction/ng-action-gallery": "5.28.0",
|
|
39
|
+
"@memberjunction/ng-actions": "5.28.0",
|
|
40
|
+
"@memberjunction/ng-agents": "5.28.0",
|
|
41
|
+
"@memberjunction/ng-ai-test-harness": "5.28.0",
|
|
42
|
+
"@memberjunction/ng-base-application": "5.28.0",
|
|
43
|
+
"@memberjunction/ng-base-forms": "5.28.0",
|
|
44
|
+
"@memberjunction/ng-code-editor": "5.28.0",
|
|
45
|
+
"@memberjunction/ng-deep-diff": "5.28.0",
|
|
46
|
+
"@memberjunction/ng-entity-relationship-diagram": "5.28.0",
|
|
47
|
+
"@memberjunction/ng-entity-viewer": "5.28.0",
|
|
48
|
+
"@memberjunction/ng-flow-editor": "5.28.0",
|
|
49
|
+
"@memberjunction/ng-join-grid": "5.28.0",
|
|
50
|
+
"@memberjunction/ng-link-directives": "5.28.0",
|
|
51
|
+
"@memberjunction/ng-list-management": "5.28.0",
|
|
52
|
+
"@memberjunction/ng-markdown": "5.28.0",
|
|
53
|
+
"@memberjunction/ng-notifications": "5.28.0",
|
|
54
|
+
"@memberjunction/ng-shared": "5.28.0",
|
|
55
|
+
"@memberjunction/ng-shared-generic": "5.28.0",
|
|
56
|
+
"@memberjunction/ng-tabstrip": "5.28.0",
|
|
57
|
+
"@memberjunction/ng-testing": "5.28.0",
|
|
58
|
+
"@memberjunction/ng-timeline": "5.28.0",
|
|
59
|
+
"@memberjunction/ng-trees": "5.28.0",
|
|
60
|
+
"@memberjunction/ng-ui-components": "5.28.0",
|
|
61
|
+
"@memberjunction/ng-versions": "5.28.0",
|
|
62
|
+
"@memberjunction/templates-base-types": "5.28.0",
|
|
63
63
|
"@types/d3": "^7.4.3",
|
|
64
64
|
"ag-grid-angular": "^35.0.1",
|
|
65
65
|
"ag-grid-community": "^35.0.1",
|