@memberjunction/ng-core-entity-forms 5.34.0 → 5.34.1
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/MJAIAgent/mjaiagent.form.component.js +63 -63
- package/dist/lib/generated/Entities/MJAIAgent/mjaiagent.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJAIAgentRun/mjaiagentrun.form.component.js +23 -23
- package/dist/lib/generated/Entities/MJAIAgentRun/mjaiagentrun.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJAIConfiguration/mjaiconfiguration.form.component.js +12 -12
- package/dist/lib/generated/Entities/MJAIConfiguration/mjaiconfiguration.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJAIModality/mjaimodality.form.component.js +17 -17
- package/dist/lib/generated/Entities/MJAIModality/mjaimodality.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJAIModel/mjaimodel.form.component.js +51 -51
- package/dist/lib/generated/Entities/MJAIModel/mjaimodel.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJAIPrompt/mjaiprompt.form.component.js +31 -31
- package/dist/lib/generated/Entities/MJAIPrompt/mjaiprompt.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJAIPromptRun/mjaipromptrun.form.component.js +9 -9
- package/dist/lib/generated/Entities/MJAIPromptRun/mjaipromptrun.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJAIVendor/mjaivendor.form.component.js +25 -25
- package/dist/lib/generated/Entities/MJAIVendor/mjaivendor.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJAPIKey/mjapikey.form.component.js +13 -13
- package/dist/lib/generated/Entities/MJAPIKey/mjapikey.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJAPIScope/mjapiscope.form.component.js +9 -9
- package/dist/lib/generated/Entities/MJAPIScope/mjapiscope.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJAction/mjaction.form.component.js +19 -19
- package/dist/lib/generated/Entities/MJAction/mjaction.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJApplication/mjapplication.form.component.js +17 -17
- package/dist/lib/generated/Entities/MJApplication/mjapplication.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJArtifactType/mjartifacttype.form.component.js +16 -16
- package/dist/lib/generated/Entities/MJArtifactType/mjartifacttype.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJArtifactVersion/mjartifactversion.form.component.js +10 -10
- package/dist/lib/generated/Entities/MJArtifactVersion/mjartifactversion.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJAuditLogType/mjauditlogtype.form.component.js +10 -10
- package/dist/lib/generated/Entities/MJAuditLogType/mjauditlogtype.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJAuthorization/mjauthorization.form.component.js +20 -20
- package/dist/lib/generated/Entities/MJAuthorization/mjauthorization.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJCommunicationProvider/mjcommunicationprovider.form.component.js +19 -19
- package/dist/lib/generated/Entities/MJCommunicationProvider/mjcommunicationprovider.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJCompany/mjcompany.form.component.js +9 -9
- package/dist/lib/generated/Entities/MJCompany/mjcompany.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJCompanyIntegration/mjcompanyintegration.form.component.js +17 -17
- package/dist/lib/generated/Entities/MJCompanyIntegration/mjcompanyintegration.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJCompanyIntegrationRun/mjcompanyintegrationrun.form.component.js +10 -10
- package/dist/lib/generated/Entities/MJCompanyIntegrationRun/mjcompanyintegrationrun.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJConversation/mjconversation.form.component.js +9 -9
- package/dist/lib/generated/Entities/MJConversation/mjconversation.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJConversationDetail/mjconversationdetail.form.component.js +10 -10
- package/dist/lib/generated/Entities/MJConversationDetail/mjconversationdetail.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJDashboard/mjdashboard.form.component.js +17 -17
- package/dist/lib/generated/Entities/MJDashboard/mjdashboard.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJDashboardCategory/mjdashboardcategory.form.component.js +9 -9
- package/dist/lib/generated/Entities/MJDashboardCategory/mjdashboardcategory.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJEmployee/mjemployee.form.component.js +15 -15
- package/dist/lib/generated/Entities/MJEmployee/mjemployee.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJEntity/mjentity.form.component.js +208 -208
- package/dist/lib/generated/Entities/MJEntity/mjentity.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJEntityAction/mjentityaction.form.component.js +9 -9
- package/dist/lib/generated/Entities/MJEntityAction/mjentityaction.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJFileCategory/mjfilecategory.form.component.js +10 -10
- package/dist/lib/generated/Entities/MJFileCategory/mjfilecategory.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJFileStorageAccount/mjfilestorageaccount.form.component.js +9 -9
- package/dist/lib/generated/Entities/MJFileStorageAccount/mjfilestorageaccount.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJIntegration/mjintegration.form.component.js +9 -9
- package/dist/lib/generated/Entities/MJIntegration/mjintegration.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJList/mjlist.form.component.js +17 -17
- package/dist/lib/generated/Entities/MJList/mjlist.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJMCPServerConnection/mjmcpserverconnection.form.component.js +12 -12
- package/dist/lib/generated/Entities/MJMCPServerConnection/mjmcpserverconnection.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJQuery/mjquery.form.component.js +30 -30
- package/dist/lib/generated/Entities/MJQuery/mjquery.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJQueryCategory/mjquerycategory.form.component.js +10 -10
- package/dist/lib/generated/Entities/MJQueryCategory/mjquerycategory.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJRecordChange/mjrecordchange.form.component.js +10 -10
- package/dist/lib/generated/Entities/MJRecordChange/mjrecordchange.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJRecordMergeLog/mjrecordmergelog.form.component.js +10 -10
- package/dist/lib/generated/Entities/MJRecordMergeLog/mjrecordmergelog.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJRole/mjrole.form.component.js +34 -34
- package/dist/lib/generated/Entities/MJRole/mjrole.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJSearchScope/mjsearchscope.form.component.js +19 -19
- package/dist/lib/generated/Entities/MJSearchScope/mjsearchscope.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJTag/mjtag.form.component.js +16 -16
- package/dist/lib/generated/Entities/MJTag/mjtag.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJTemplate/mjtemplate.form.component.js +16 -16
- package/dist/lib/generated/Entities/MJTemplate/mjtemplate.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJTemplateCategory/mjtemplatecategory.form.component.js +10 -10
- package/dist/lib/generated/Entities/MJTemplateCategory/mjtemplatecategory.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJUser/mjuser.form.component.js +330 -330
- package/dist/lib/generated/Entities/MJUser/mjuser.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJUserView/mjuserview.form.component.js +13 -13
- package/dist/lib/generated/Entities/MJUserView/mjuserview.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJVectorDatabase/mjvectordatabase.form.component.js +10 -10
- package/dist/lib/generated/Entities/MJVectorDatabase/mjvectordatabase.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJVectorIndex/mjvectorindex.form.component.js +9 -9
- package/dist/lib/generated/Entities/MJVectorIndex/mjvectorindex.form.component.js.map +1 -1
- package/package.json +36 -36
|
@@ -13,23 +13,23 @@ import * as i2 from "@memberjunction/ng-join-grid";
|
|
|
13
13
|
const _c0 = () => ["Name", "Status", "AdditionalAttributes"];
|
|
14
14
|
const _c1 = a0 => ({ CommunicationProviderID: a0 });
|
|
15
15
|
function MJCommunicationProviderFormComponent_Conditional_17_Template(rf, ctx) { if (rf & 1) {
|
|
16
|
-
i0.ɵɵ
|
|
17
|
-
i0.ɵɵ
|
|
18
|
-
i0.ɵɵ
|
|
16
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
17
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 18);
|
|
18
|
+
i0.ɵɵlistener("Navigate", function MJCommunicationProviderFormComponent_Conditional_17_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function MJCommunicationProviderFormComponent_Conditional_17_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJCommunicationLogs", $event.totalRowCount)); });
|
|
19
|
+
i0.ɵɵelementEnd()();
|
|
19
20
|
} if (rf & 2) {
|
|
20
|
-
const
|
|
21
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
21
22
|
i0.ɵɵadvance();
|
|
22
|
-
i0.ɵɵproperty("
|
|
23
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Communication Logs", "CommunicationProviderID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Communication Logs"))("AllowLoad", ctx_r1.IsSectionExpanded("mJCommunicationLogs"))("ShowToolbar", false);
|
|
23
24
|
} }
|
|
24
25
|
function MJCommunicationProviderFormComponent_Conditional_19_Template(rf, ctx) { if (rf & 1) {
|
|
25
|
-
|
|
26
|
-
i0.ɵɵ
|
|
27
|
-
i0.ɵɵ
|
|
28
|
-
i0.ɵɵelementEnd()();
|
|
26
|
+
i0.ɵɵelementStart(0, "div");
|
|
27
|
+
i0.ɵɵelement(1, "mj-join-grid", 19);
|
|
28
|
+
i0.ɵɵelementEnd();
|
|
29
29
|
} if (rf & 2) {
|
|
30
|
-
const
|
|
30
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
31
31
|
i0.ɵɵadvance();
|
|
32
|
-
i0.ɵɵproperty("
|
|
32
|
+
i0.ɵɵproperty("ShowSaveButton", false)("ShowCancelButton", false)("EditMode", ctx_r1.GridEditMode())("JoinEntityExtraFilter", "CommunicationProviderID=" + ctx_r1.record.ID)("JoinEntityDisplayColumns", i0.ɵɵpureFunction0(6, _c0))("NewRecordDefaultValues", i0.ɵɵpureFunction1(7, _c1, ctx_r1.record.ID));
|
|
33
33
|
} }
|
|
34
34
|
let MJCommunicationProviderFormComponent = class MJCommunicationProviderFormComponent extends BaseFormComponent {
|
|
35
35
|
async ngOnInit() {
|
|
@@ -39,12 +39,12 @@ let MJCommunicationProviderFormComponent = class MJCommunicationProviderFormComp
|
|
|
39
39
|
{ sectionKey: 'operationalSettings', sectionName: 'Operational Settings', isExpanded: true },
|
|
40
40
|
{ sectionKey: 'advancedCapabilities', sectionName: 'Advanced Capabilities', isExpanded: false },
|
|
41
41
|
{ sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },
|
|
42
|
-
{ sectionKey: '
|
|
43
|
-
{ sectionKey: '
|
|
42
|
+
{ sectionKey: 'mJCommunicationLogs', sectionName: 'Communication Logs', isExpanded: false },
|
|
43
|
+
{ sectionKey: 'mJCommunicationProviderMessageTypes', sectionName: 'Message Types', isExpanded: false }
|
|
44
44
|
]);
|
|
45
45
|
}
|
|
46
46
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵMJCommunicationProviderFormComponent_BaseFactory; return function MJCommunicationProviderFormComponent_Factory(__ngFactoryType__) { return (ɵMJCommunicationProviderFormComponent_BaseFactory || (ɵMJCommunicationProviderFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(MJCommunicationProviderFormComponent)))(__ngFactoryType__ || MJCommunicationProviderFormComponent); }; })(); }
|
|
47
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJCommunicationProviderFormComponent, selectors: [["gen-mjcommunicationprovider-form"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 20, vars: 64, consts: [[3, "Navigate", "DeleteRequested", "FavoriteToggled", "HistoryRequested", "ListManagementRequested", "Record", "FormComponent"], ["SectionKey", "providerDetails", "SectionName", "Provider Details", "Icon", "fa fa-id-card", 3, "Form", "FormContext"], ["FieldName", "Name", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Description", "Type", "textarea", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "operationalSettings", "SectionName", "Operational Settings", "Icon", "fa fa-cog", 3, "Form", "FormContext"], ["FieldName", "Status", "Type", "select", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "SupportsSending", "Type", "checkbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "SupportsReceiving", "Type", "checkbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "advancedCapabilities", "SectionName", "Advanced Capabilities", "Icon", "fa fa-cogs", 3, "Form", "FormContext"], ["FieldName", "SupportsScheduledSending", "Type", "checkbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "SupportsForwarding", "Type", "checkbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "SupportsReplying", "Type", "checkbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "SupportsDrafts", "Type", "checkbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "systemMetadata", "SectionName", "System Metadata", "Icon", "fa fa-database", 3, "Form", "FormContext"], ["FieldName", "__mj_CreatedAt", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "__mj_UpdatedAt", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "
|
|
47
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJCommunicationProviderFormComponent, selectors: [["gen-mjcommunicationprovider-form"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 20, vars: 64, consts: [[3, "Navigate", "DeleteRequested", "FavoriteToggled", "HistoryRequested", "ListManagementRequested", "Record", "FormComponent"], ["SectionKey", "providerDetails", "SectionName", "Provider Details", "Icon", "fa fa-id-card", 3, "Form", "FormContext"], ["FieldName", "Name", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Description", "Type", "textarea", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "operationalSettings", "SectionName", "Operational Settings", "Icon", "fa fa-cog", 3, "Form", "FormContext"], ["FieldName", "Status", "Type", "select", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "SupportsSending", "Type", "checkbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "SupportsReceiving", "Type", "checkbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "advancedCapabilities", "SectionName", "Advanced Capabilities", "Icon", "fa fa-cogs", 3, "Form", "FormContext"], ["FieldName", "SupportsScheduledSending", "Type", "checkbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "SupportsForwarding", "Type", "checkbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "SupportsReplying", "Type", "checkbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "SupportsDrafts", "Type", "checkbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "systemMetadata", "SectionName", "System Metadata", "Icon", "fa fa-database", 3, "Form", "FormContext"], ["FieldName", "__mj_CreatedAt", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "__mj_UpdatedAt", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "mJCommunicationLogs", "SectionName", "Communication Logs", "Icon", "fa fa-comment", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJCommunicationProviderMessageTypes", "SectionName", "Message Types", "Icon", "fa fa-comment", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], [3, "Navigate", "AfterDataLoad", "Params", "NewRecordValues", "AllowLoad", "ShowToolbar"], ["RowsEntityName", "MJ: Communication Base Message Types", "RowsEntityDisplayField", "Type", "RowsExtraFilter", "", "RowsEntityDataSource", "FullEntity", "RowsOrderBy", "Type", "RowsEntityDisplayName", "Base Type", "ColumnsMode", "Fields", "JoinEntityName", "MJ: Communication Provider Message Types", "JoinEntityRowForeignKey", "CommunicationBaseMessageTypeID", 3, "ShowSaveButton", "ShowCancelButton", "EditMode", "JoinEntityExtraFilter", "JoinEntityDisplayColumns", "NewRecordDefaultValues"]], template: function MJCommunicationProviderFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
48
48
|
i0.ɵɵelementStart(0, "mj-record-form-container", 0);
|
|
49
49
|
i0.ɵɵlistener("Navigate", function MJCommunicationProviderFormComponent_Template_mj_record_form_container_Navigate_0_listener($event) { return ctx.OnFormNavigate($event); })("DeleteRequested", function MJCommunicationProviderFormComponent_Template_mj_record_form_container_DeleteRequested_0_listener() { return ctx.OnDeleteRequested(); })("FavoriteToggled", function MJCommunicationProviderFormComponent_Template_mj_record_form_container_FavoriteToggled_0_listener() { return ctx.OnFavoriteToggled(); })("HistoryRequested", function MJCommunicationProviderFormComponent_Template_mj_record_form_container_HistoryRequested_0_listener() { return ctx.OnHistoryRequested(); })("ListManagementRequested", function MJCommunicationProviderFormComponent_Template_mj_record_form_container_ListManagementRequested_0_listener() { return ctx.OnListManagementRequested(); });
|
|
50
50
|
i0.ɵɵelementStart(1, "mj-collapsible-panel", 1);
|
|
@@ -60,10 +60,10 @@ let MJCommunicationProviderFormComponent = class MJCommunicationProviderFormComp
|
|
|
60
60
|
i0.ɵɵelement(14, "mj-form-field", 14)(15, "mj-form-field", 15);
|
|
61
61
|
i0.ɵɵelementEnd();
|
|
62
62
|
i0.ɵɵelementStart(16, "mj-collapsible-panel", 16);
|
|
63
|
-
i0.ɵɵconditionalCreate(17, MJCommunicationProviderFormComponent_Conditional_17_Template, 2,
|
|
63
|
+
i0.ɵɵconditionalCreate(17, MJCommunicationProviderFormComponent_Conditional_17_Template, 2, 4, "div");
|
|
64
64
|
i0.ɵɵelementEnd();
|
|
65
65
|
i0.ɵɵelementStart(18, "mj-collapsible-panel", 17);
|
|
66
|
-
i0.ɵɵconditionalCreate(19, MJCommunicationProviderFormComponent_Conditional_19_Template, 2,
|
|
66
|
+
i0.ɵɵconditionalCreate(19, MJCommunicationProviderFormComponent_Conditional_19_Template, 2, 9, "div");
|
|
67
67
|
i0.ɵɵelementEnd()();
|
|
68
68
|
} if (rf & 2) {
|
|
69
69
|
i0.ɵɵproperty("Record", ctx.record)("FormComponent", ctx);
|
|
@@ -98,11 +98,11 @@ let MJCommunicationProviderFormComponent = class MJCommunicationProviderFormComp
|
|
|
98
98
|
i0.ɵɵadvance();
|
|
99
99
|
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
100
100
|
i0.ɵɵadvance();
|
|
101
|
-
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("
|
|
101
|
+
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJCommunicationLogs"))("DefaultExpanded", false);
|
|
102
102
|
i0.ɵɵadvance();
|
|
103
103
|
i0.ɵɵconditional(ctx.record.IsSaved ? 17 : -1);
|
|
104
104
|
i0.ɵɵadvance();
|
|
105
|
-
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("
|
|
105
|
+
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJCommunicationProviderMessageTypes"))("DefaultExpanded", false);
|
|
106
106
|
i0.ɵɵadvance();
|
|
107
107
|
i0.ɵɵconditional(ctx.record.IsSaved ? 19 : -1);
|
|
108
108
|
} }, dependencies: [i1.MjFormFieldComponent, i1.MjCollapsiblePanelComponent, i1.MjRecordFormContainerComponent, i1.ExplorerEntityDataGridComponent, i2.JoinGridComponent], encapsulation: 2 }); }
|
|
@@ -113,7 +113,7 @@ MJCommunicationProviderFormComponent = __decorate([
|
|
|
113
113
|
export { MJCommunicationProviderFormComponent };
|
|
114
114
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MJCommunicationProviderFormComponent, [{
|
|
115
115
|
type: Component,
|
|
116
|
-
args: [{ standalone: false, selector: 'gen-mjcommunicationprovider-form', template: "<mj-record-form-container [Record]=\"record\" [FormComponent]=\"this\"\n (Navigate)=\"OnFormNavigate($event)\"\n (DeleteRequested)=\"OnDeleteRequested()\"\n (FavoriteToggled)=\"OnFavoriteToggled()\"\n (HistoryRequested)=\"OnHistoryRequested()\"\n (ListManagementRequested)=\"OnListManagementRequested()\">\n\n <!-- ========================================\n FIELD PANELS\n ======================================== -->\n <!-- Provider Details Section -->\n <mj-collapsible-panel\n SectionKey=\"providerDetails\"\n SectionName=\"Provider Details\"\n Icon=\"fa fa-id-card\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Name\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Description\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Operational Settings Section -->\n <mj-collapsible-panel\n SectionKey=\"operationalSettings\"\n SectionName=\"Operational Settings\"\n Icon=\"fa fa-cog\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Status\"\n Type=\"select\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SupportsSending\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SupportsReceiving\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Advanced Capabilities Section -->\n <mj-collapsible-panel\n SectionKey=\"advancedCapabilities\"\n SectionName=\"Advanced Capabilities\"\n Icon=\"fa fa-cogs\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SupportsScheduledSending\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SupportsForwarding\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SupportsReplying\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SupportsDrafts\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- System Metadata Section -->\n <mj-collapsible-panel\n SectionKey=\"systemMetadata\"\n SectionName=\"System Metadata\"\n Icon=\"fa fa-database\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_CreatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_UpdatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- ========================================\n RELATED ENTITY PANELS\n ======================================== -->\n\n <!--
|
|
116
|
+
args: [{ standalone: false, selector: 'gen-mjcommunicationprovider-form', template: "<mj-record-form-container [Record]=\"record\" [FormComponent]=\"this\"\n (Navigate)=\"OnFormNavigate($event)\"\n (DeleteRequested)=\"OnDeleteRequested()\"\n (FavoriteToggled)=\"OnFavoriteToggled()\"\n (HistoryRequested)=\"OnHistoryRequested()\"\n (ListManagementRequested)=\"OnListManagementRequested()\">\n\n <!-- ========================================\n FIELD PANELS\n ======================================== -->\n <!-- Provider Details Section -->\n <mj-collapsible-panel\n SectionKey=\"providerDetails\"\n SectionName=\"Provider Details\"\n Icon=\"fa fa-id-card\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Name\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Description\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Operational Settings Section -->\n <mj-collapsible-panel\n SectionKey=\"operationalSettings\"\n SectionName=\"Operational Settings\"\n Icon=\"fa fa-cog\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Status\"\n Type=\"select\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SupportsSending\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SupportsReceiving\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Advanced Capabilities Section -->\n <mj-collapsible-panel\n SectionKey=\"advancedCapabilities\"\n SectionName=\"Advanced Capabilities\"\n Icon=\"fa fa-cogs\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SupportsScheduledSending\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SupportsForwarding\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SupportsReplying\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SupportsDrafts\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- System Metadata Section -->\n <mj-collapsible-panel\n SectionKey=\"systemMetadata\"\n SectionName=\"System Metadata\"\n Icon=\"fa fa-database\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_CreatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_UpdatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- ========================================\n RELATED ENTITY PANELS\n ======================================== -->\n\n <!-- Communication Logs Section -->\n <mj-collapsible-panel\n SectionKey=\"mJCommunicationLogs\"\n SectionName=\"Communication Logs\"\n Icon=\"fa fa-comment\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJCommunicationLogs')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Communication Logs','CommunicationProviderID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Communication Logs')\"\n [AllowLoad]=\"IsSectionExpanded('mJCommunicationLogs')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJCommunicationLogs', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Message Types Section -->\n <mj-collapsible-panel\n SectionKey=\"mJCommunicationProviderMessageTypes\"\n SectionName=\"Message Types\"\n Icon=\"fa fa-comment\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJCommunicationProviderMessageTypes')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-join-grid\n [ShowSaveButton]=\"false\"\n [ShowCancelButton]=\"false\"\n [EditMode]=\"GridEditMode()\"\n RowsEntityName=\"MJ: Communication Base Message Types\"\n RowsEntityDisplayField=\"Type\"\n RowsExtraFilter=\"\"\n RowsEntityDataSource=\"FullEntity\"\n RowsOrderBy=\"Type\"\n RowsEntityDisplayName=\"Base Type\"\n ColumnsMode=\"Fields\"\n JoinEntityName=\"MJ: Communication Provider Message Types\"\n JoinEntityRowForeignKey=\"CommunicationBaseMessageTypeID\"\n [JoinEntityExtraFilter]=\"'CommunicationProviderID=' + record.ID\"\n [JoinEntityDisplayColumns]=\"['Name','Status','AdditionalAttributes']\"\n [NewRecordDefaultValues]=\"{CommunicationProviderID: record.ID}\"\n >\n </mj-join-grid>\n \n </div>\n }\n </mj-collapsible-panel>\n</mj-record-form-container>\n " }]
|
|
117
117
|
}], null, null); })();
|
|
118
118
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MJCommunicationProviderFormComponent, { className: "MJCommunicationProviderFormComponent", filePath: "src/lib/generated/Entities/MJCommunicationProvider/mjcommunicationprovider.form.component.ts", lineNumber: 14 }); })();
|
|
119
119
|
//# sourceMappingURL=mjcommunicationprovider.form.component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mjcommunicationprovider.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJCommunicationProvider/mjcommunicationprovider.form.component.ts","../../../../../src/lib/generated/Entities/MJCommunicationProvider/mjcommunicationprovider.form.component.html"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;;;;;;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AAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAe/B,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,6EAC6C,0BAC/C;YACzB,cAsBC;YAtBD,8CAsBC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,6DAC6B,0BAC/B;YACzB,cAYC;YAZD,8CAYC;;;AD1LI,oCAAoC;IANhD,aAAa,CAAC,iBAAiB,EAAE,6BAA6B,CAAC,CAAC,uCAAuC;GAM3F,oCAAoC,CAchD;;iFAdY,oCAAoC;cALhD,SAAS;6BACM,KAAK,YACP,kCAAkC;;kFAGnC,oCAAoC","sourcesContent":["import { Component } from '@angular/core';\nimport { MJCommunicationProviderEntity } from '@memberjunction/core-entities';\nimport { RegisterClass } from '@memberjunction/global';\nimport { BaseFormComponent } from '@memberjunction/ng-base-forms';\nimport { JoinGridComponent } from \"@memberjunction/ng-join-grid\"\nimport { } from \"@memberjunction/ng-entity-viewer\"\n\n@RegisterClass(BaseFormComponent, 'MJ: Communication Providers') // Tell MemberJunction about this class\n@Component({\n standalone: false,\n selector: 'gen-mjcommunicationprovider-form',\n templateUrl: './mjcommunicationprovider.form.component.html'\n})\nexport class MJCommunicationProviderFormComponent extends BaseFormComponent {\n public record!: MJCommunicationProviderEntity;\n\n override async ngOnInit() {\n await super.ngOnInit();\n this.initSections([\n { sectionKey: 'providerDetails', sectionName: 'Provider Details', isExpanded: true },\n { sectionKey: 'operationalSettings', sectionName: 'Operational Settings', isExpanded: true },\n { sectionKey: 'advancedCapabilities', sectionName: 'Advanced Capabilities', isExpanded: false },\n { sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },\n { sectionKey: 'mJCommunicationProviderMessageTypes', sectionName: 'Message Types', isExpanded: false },\n { sectionKey: 'mJCommunicationLogs', sectionName: 'Communication Logs', isExpanded: false }\n ]);\n }\n}\n\n","<mj-record-form-container [Record]=\"record\" [FormComponent]=\"this\"\n (Navigate)=\"OnFormNavigate($event)\"\n (DeleteRequested)=\"OnDeleteRequested()\"\n (FavoriteToggled)=\"OnFavoriteToggled()\"\n (HistoryRequested)=\"OnHistoryRequested()\"\n (ListManagementRequested)=\"OnListManagementRequested()\">\n\n <!-- ========================================\n FIELD PANELS\n ======================================== -->\n <!-- Provider Details Section -->\n <mj-collapsible-panel\n SectionKey=\"providerDetails\"\n SectionName=\"Provider Details\"\n Icon=\"fa fa-id-card\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Name\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Description\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Operational Settings Section -->\n <mj-collapsible-panel\n SectionKey=\"operationalSettings\"\n SectionName=\"Operational Settings\"\n Icon=\"fa fa-cog\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Status\"\n Type=\"select\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SupportsSending\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SupportsReceiving\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Advanced Capabilities Section -->\n <mj-collapsible-panel\n SectionKey=\"advancedCapabilities\"\n SectionName=\"Advanced Capabilities\"\n Icon=\"fa fa-cogs\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SupportsScheduledSending\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SupportsForwarding\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SupportsReplying\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SupportsDrafts\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- System Metadata Section -->\n <mj-collapsible-panel\n SectionKey=\"systemMetadata\"\n SectionName=\"System Metadata\"\n Icon=\"fa fa-database\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_CreatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_UpdatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- ========================================\n RELATED ENTITY PANELS\n ======================================== -->\n\n <!-- Message Types Section -->\n <mj-collapsible-panel\n SectionKey=\"mJCommunicationProviderMessageTypes\"\n SectionName=\"Message Types\"\n Icon=\"fa fa-comment\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJCommunicationProviderMessageTypes')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-join-grid\n [ShowSaveButton]=\"false\"\n [ShowCancelButton]=\"false\"\n [EditMode]=\"GridEditMode()\"\n RowsEntityName=\"MJ: Communication Base Message Types\"\n RowsEntityDisplayField=\"Type\"\n RowsExtraFilter=\"\"\n RowsEntityDataSource=\"FullEntity\"\n RowsOrderBy=\"Type\"\n RowsEntityDisplayName=\"Base Type\"\n ColumnsMode=\"Fields\"\n JoinEntityName=\"MJ: Communication Provider Message Types\"\n JoinEntityRowForeignKey=\"CommunicationBaseMessageTypeID\"\n [JoinEntityExtraFilter]=\"'CommunicationProviderID=' + record.ID\"\n [JoinEntityDisplayColumns]=\"['Name','Status','AdditionalAttributes']\"\n [NewRecordDefaultValues]=\"{CommunicationProviderID: record.ID}\"\n >\n </mj-join-grid>\n \n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Communication Logs Section -->\n <mj-collapsible-panel\n SectionKey=\"mJCommunicationLogs\"\n SectionName=\"Communication Logs\"\n Icon=\"fa fa-comment\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJCommunicationLogs')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Communication Logs','CommunicationProviderID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Communication Logs')\"\n [AllowLoad]=\"IsSectionExpanded('mJCommunicationLogs')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJCommunicationLogs', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n</mj-record-form-container>\n "]}
|
|
1
|
+
{"version":3,"file":"mjcommunicationprovider.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJCommunicationProvider/mjcommunicationprovider.form.component.ts","../../../../../src/lib/generated/Entities/MJCommunicationProvider/mjcommunicationprovider.form.component.html"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;;;;;;;ICuJtD,AADJ,2BAAK,uCAQI;IADD,AADA,2OAAY,6BAAsB,KAAC,wOAClB,0BAAmB,qBAAqB,uBAAuB,KAAC;IAGzF,AADI,iBAA+B,EAC7B;;;IARE,cAAsG;IAGtG,AADA,AADA,AADA,4HAAsG,qEACzC,8DACP,sBACjC;;;IAoB7B,2BAAK;IACD,mCAiBe;IAEnB,iBAAM;;;IAlBE,cAAwB;IAcxB,AADA,AADA,AAVA,AADA,AADA,sCAAwB,2BACE,mCACC,wEAUqC,wDACK,wEACN;;ADrLxE,IAAM,oCAAoC,GAA1C,MAAM,oCAAqC,SAAQ,iBAAiB;IAG9D,KAAK,CAAC,QAAQ;QACnB,MAAM,KAAK,CAAC,QAAQ,EAAE,CAAC;QACvB,IAAI,CAAC,YAAY,CAAC;YACd,EAAE,UAAU,EAAE,iBAAiB,EAAE,WAAW,EAAE,kBAAkB,EAAE,UAAU,EAAE,IAAI,EAAE;YACpF,EAAE,UAAU,EAAE,qBAAqB,EAAE,WAAW,EAAE,sBAAsB,EAAE,UAAU,EAAE,IAAI,EAAE;YAC5F,EAAE,UAAU,EAAE,sBAAsB,EAAE,WAAW,EAAE,uBAAuB,EAAE,UAAU,EAAE,KAAK,EAAE;YAC/F,EAAE,UAAU,EAAE,gBAAgB,EAAE,WAAW,EAAE,iBAAiB,EAAE,UAAU,EAAE,KAAK,EAAE;YACnF,EAAE,UAAU,EAAE,qBAAqB,EAAE,WAAW,EAAE,oBAAoB,EAAE,UAAU,EAAE,K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;YAG3B,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAG3B,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAG3B,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAU/B,cAAa;YACb,AADA,0BAAa,gCACc;YAEvB,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAG3B,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAe/B,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,6DAC6B,0BAC/B;YACzB,cAYC;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,6EAC6C,0BAC/C;YACzB,cAsBC;YAtBD,8CAsBC;;;AD1LI,oCAAoC;IANhD,aAAa,CAAC,iBAAiB,EAAE,6BAA6B,CAAC,CAAC,uCAAuC;GAM3F,oCAAoC,CAchD;;iFAdY,oCAAoC;cALhD,SAAS;6BACM,KAAK,YACP,kCAAkC;;kFAGnC,oCAAoC","sourcesContent":["import { Component } from '@angular/core';\nimport { MJCommunicationProviderEntity } from '@memberjunction/core-entities';\nimport { RegisterClass } from '@memberjunction/global';\nimport { BaseFormComponent } from '@memberjunction/ng-base-forms';\nimport { } from \"@memberjunction/ng-entity-viewer\"\nimport { JoinGridComponent } from \"@memberjunction/ng-join-grid\"\n\n@RegisterClass(BaseFormComponent, 'MJ: Communication Providers') // Tell MemberJunction about this class\n@Component({\n standalone: false,\n selector: 'gen-mjcommunicationprovider-form',\n templateUrl: './mjcommunicationprovider.form.component.html'\n})\nexport class MJCommunicationProviderFormComponent extends BaseFormComponent {\n public record!: MJCommunicationProviderEntity;\n\n override async ngOnInit() {\n await super.ngOnInit();\n this.initSections([\n { sectionKey: 'providerDetails', sectionName: 'Provider Details', isExpanded: true },\n { sectionKey: 'operationalSettings', sectionName: 'Operational Settings', isExpanded: true },\n { sectionKey: 'advancedCapabilities', sectionName: 'Advanced Capabilities', isExpanded: false },\n { sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },\n { sectionKey: 'mJCommunicationLogs', sectionName: 'Communication Logs', isExpanded: false },\n { sectionKey: 'mJCommunicationProviderMessageTypes', sectionName: 'Message Types', isExpanded: false }\n ]);\n }\n}\n\n","<mj-record-form-container [Record]=\"record\" [FormComponent]=\"this\"\n (Navigate)=\"OnFormNavigate($event)\"\n (DeleteRequested)=\"OnDeleteRequested()\"\n (FavoriteToggled)=\"OnFavoriteToggled()\"\n (HistoryRequested)=\"OnHistoryRequested()\"\n (ListManagementRequested)=\"OnListManagementRequested()\">\n\n <!-- ========================================\n FIELD PANELS\n ======================================== -->\n <!-- Provider Details Section -->\n <mj-collapsible-panel\n SectionKey=\"providerDetails\"\n SectionName=\"Provider Details\"\n Icon=\"fa fa-id-card\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Name\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Description\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Operational Settings Section -->\n <mj-collapsible-panel\n SectionKey=\"operationalSettings\"\n SectionName=\"Operational Settings\"\n Icon=\"fa fa-cog\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Status\"\n Type=\"select\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SupportsSending\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SupportsReceiving\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Advanced Capabilities Section -->\n <mj-collapsible-panel\n SectionKey=\"advancedCapabilities\"\n SectionName=\"Advanced Capabilities\"\n Icon=\"fa fa-cogs\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SupportsScheduledSending\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SupportsForwarding\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SupportsReplying\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SupportsDrafts\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- System Metadata Section -->\n <mj-collapsible-panel\n SectionKey=\"systemMetadata\"\n SectionName=\"System Metadata\"\n Icon=\"fa fa-database\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_CreatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_UpdatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- ========================================\n RELATED ENTITY PANELS\n ======================================== -->\n\n <!-- Communication Logs Section -->\n <mj-collapsible-panel\n SectionKey=\"mJCommunicationLogs\"\n SectionName=\"Communication Logs\"\n Icon=\"fa fa-comment\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJCommunicationLogs')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Communication Logs','CommunicationProviderID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Communication Logs')\"\n [AllowLoad]=\"IsSectionExpanded('mJCommunicationLogs')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJCommunicationLogs', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Message Types Section -->\n <mj-collapsible-panel\n SectionKey=\"mJCommunicationProviderMessageTypes\"\n SectionName=\"Message Types\"\n Icon=\"fa fa-comment\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJCommunicationProviderMessageTypes')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-join-grid\n [ShowSaveButton]=\"false\"\n [ShowCancelButton]=\"false\"\n [EditMode]=\"GridEditMode()\"\n RowsEntityName=\"MJ: Communication Base Message Types\"\n RowsEntityDisplayField=\"Type\"\n RowsExtraFilter=\"\"\n RowsEntityDataSource=\"FullEntity\"\n RowsOrderBy=\"Type\"\n RowsEntityDisplayName=\"Base Type\"\n ColumnsMode=\"Fields\"\n JoinEntityName=\"MJ: Communication Provider Message Types\"\n JoinEntityRowForeignKey=\"CommunicationBaseMessageTypeID\"\n [JoinEntityExtraFilter]=\"'CommunicationProviderID=' + record.ID\"\n [JoinEntityDisplayColumns]=\"['Name','Status','AdditionalAttributes']\"\n [NewRecordDefaultValues]=\"{CommunicationProviderID: record.ID}\"\n >\n </mj-join-grid>\n \n </div>\n }\n </mj-collapsible-panel>\n</mj-record-form-container>\n "]}
|
|
@@ -12,22 +12,22 @@ import * as i1 from "@memberjunction/ng-base-forms";
|
|
|
12
12
|
function MJCompanyFormComponent_Conditional_12_Template(rf, ctx) { if (rf & 1) {
|
|
13
13
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
14
14
|
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 16);
|
|
15
|
-
i0.ɵɵlistener("Navigate", function MJCompanyFormComponent_Conditional_12_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function MJCompanyFormComponent_Conditional_12_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("
|
|
15
|
+
i0.ɵɵlistener("Navigate", function MJCompanyFormComponent_Conditional_12_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function MJCompanyFormComponent_Conditional_12_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJCompanyIntegrations", $event.totalRowCount)); });
|
|
16
16
|
i0.ɵɵelementEnd()();
|
|
17
17
|
} if (rf & 2) {
|
|
18
18
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
19
19
|
i0.ɵɵadvance();
|
|
20
|
-
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ:
|
|
20
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Company Integrations", "CompanyID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Company Integrations"))("AllowLoad", ctx_r1.IsSectionExpanded("mJCompanyIntegrations"))("ShowToolbar", false);
|
|
21
21
|
} }
|
|
22
22
|
function MJCompanyFormComponent_Conditional_14_Template(rf, ctx) { if (rf & 1) {
|
|
23
23
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
24
24
|
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 16);
|
|
25
|
-
i0.ɵɵlistener("Navigate", function MJCompanyFormComponent_Conditional_14_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function MJCompanyFormComponent_Conditional_14_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("
|
|
25
|
+
i0.ɵɵlistener("Navigate", function MJCompanyFormComponent_Conditional_14_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function MJCompanyFormComponent_Conditional_14_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJEmployees", $event.totalRowCount)); });
|
|
26
26
|
i0.ɵɵelementEnd()();
|
|
27
27
|
} if (rf & 2) {
|
|
28
28
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
29
29
|
i0.ɵɵadvance();
|
|
30
|
-
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ:
|
|
30
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Employees", "CompanyID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Employees"))("AllowLoad", ctx_r1.IsSectionExpanded("mJEmployees"))("ShowToolbar", false);
|
|
31
31
|
} }
|
|
32
32
|
function MJCompanyFormComponent_Conditional_16_Template(rf, ctx) { if (rf & 1) {
|
|
33
33
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
@@ -66,15 +66,15 @@ let MJCompanyFormComponent = class MJCompanyFormComponent extends BaseFormCompon
|
|
|
66
66
|
{ sectionKey: 'coreCompanyInfo', sectionName: 'Core Company Info', isExpanded: true },
|
|
67
67
|
{ sectionKey: 'brandingDigitalPresence', sectionName: 'Branding & Digital Presence', isExpanded: true },
|
|
68
68
|
{ sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },
|
|
69
|
-
{ sectionKey: 'mJEmployees', sectionName: 'Employees', isExpanded: false },
|
|
70
69
|
{ sectionKey: 'mJCompanyIntegrations', sectionName: 'Company Integrations', isExpanded: false },
|
|
70
|
+
{ sectionKey: 'mJEmployees', sectionName: 'Employees', isExpanded: false },
|
|
71
71
|
{ sectionKey: 'mJMCPServerConnections', sectionName: 'MCP Server Connections', isExpanded: false },
|
|
72
72
|
{ sectionKey: 'mJAIAgentNotes', sectionName: 'AI Agent Notes', isExpanded: false },
|
|
73
73
|
{ sectionKey: 'mJAIAgentExamples', sectionName: 'AI Agent Examples', isExpanded: false }
|
|
74
74
|
]);
|
|
75
75
|
}
|
|
76
76
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵMJCompanyFormComponent_BaseFactory; return function MJCompanyFormComponent_Factory(__ngFactoryType__) { return (ɵMJCompanyFormComponent_BaseFactory || (ɵMJCompanyFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(MJCompanyFormComponent)))(__ngFactoryType__ || MJCompanyFormComponent); }; })(); }
|
|
77
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJCompanyFormComponent, selectors: [["gen-mjcompany-form"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 21, vars: 61, consts: [[3, "Navigate", "DeleteRequested", "FavoriteToggled", "HistoryRequested", "ListManagementRequested", "Record", "FormComponent"], ["SectionKey", "coreCompanyInfo", "SectionName", "Core Company Info", "Icon", "fa fa-building", 3, "Form", "FormContext"], ["FieldName", "Name", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Description", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "brandingDigitalPresence", "SectionName", "Branding & Digital Presence", "Icon", "fa fa-globe", 3, "Form", "FormContext"], ["FieldName", "Website", "Type", "textbox", "LinkType", "URL", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "LogoURL", "Type", "textbox", "LinkType", "URL", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Domain", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "systemMetadata", "SectionName", "System Metadata", "Icon", "fa fa-cog", 3, "Form", "FormContext"], ["FieldName", "__mj_CreatedAt", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "__mj_UpdatedAt", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "
|
|
77
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJCompanyFormComponent, selectors: [["gen-mjcompany-form"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 21, vars: 61, consts: [[3, "Navigate", "DeleteRequested", "FavoriteToggled", "HistoryRequested", "ListManagementRequested", "Record", "FormComponent"], ["SectionKey", "coreCompanyInfo", "SectionName", "Core Company Info", "Icon", "fa fa-building", 3, "Form", "FormContext"], ["FieldName", "Name", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Description", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "brandingDigitalPresence", "SectionName", "Branding & Digital Presence", "Icon", "fa fa-globe", 3, "Form", "FormContext"], ["FieldName", "Website", "Type", "textbox", "LinkType", "URL", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "LogoURL", "Type", "textbox", "LinkType", "URL", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Domain", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "systemMetadata", "SectionName", "System Metadata", "Icon", "fa fa-cog", 3, "Form", "FormContext"], ["FieldName", "__mj_CreatedAt", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "__mj_UpdatedAt", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "mJCompanyIntegrations", "SectionName", "Company Integrations", "Icon", "fa fa-plug", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJEmployees", "SectionName", "Employees", "Icon", "fa-solid fa-users", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJMCPServerConnections", "SectionName", "MCP Server Connections", "Icon", "fa fa-server", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJAIAgentNotes", "SectionName", "AI Agent Notes", "Icon", "fa fa-robot", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJAIAgentExamples", "SectionName", "AI Agent Examples", "Icon", "fa fa-robot", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], [3, "Navigate", "AfterDataLoad", "Params", "NewRecordValues", "AllowLoad", "ShowToolbar"]], template: function MJCompanyFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
78
78
|
i0.ɵɵelementStart(0, "mj-record-form-container", 0);
|
|
79
79
|
i0.ɵɵlistener("Navigate", function MJCompanyFormComponent_Template_mj_record_form_container_Navigate_0_listener($event) { return ctx.OnFormNavigate($event); })("DeleteRequested", function MJCompanyFormComponent_Template_mj_record_form_container_DeleteRequested_0_listener() { return ctx.OnDeleteRequested(); })("FavoriteToggled", function MJCompanyFormComponent_Template_mj_record_form_container_FavoriteToggled_0_listener() { return ctx.OnFavoriteToggled(); })("HistoryRequested", function MJCompanyFormComponent_Template_mj_record_form_container_HistoryRequested_0_listener() { return ctx.OnHistoryRequested(); })("ListManagementRequested", function MJCompanyFormComponent_Template_mj_record_form_container_ListManagementRequested_0_listener() { return ctx.OnListManagementRequested(); });
|
|
80
80
|
i0.ɵɵelementStart(1, "mj-collapsible-panel", 1);
|
|
@@ -124,11 +124,11 @@ let MJCompanyFormComponent = class MJCompanyFormComponent extends BaseFormCompon
|
|
|
124
124
|
i0.ɵɵadvance();
|
|
125
125
|
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
126
126
|
i0.ɵɵadvance();
|
|
127
|
-
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("
|
|
127
|
+
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJCompanyIntegrations"))("DefaultExpanded", false);
|
|
128
128
|
i0.ɵɵadvance();
|
|
129
129
|
i0.ɵɵconditional(ctx.record.IsSaved ? 12 : -1);
|
|
130
130
|
i0.ɵɵadvance();
|
|
131
|
-
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("
|
|
131
|
+
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJEmployees"))("DefaultExpanded", false);
|
|
132
132
|
i0.ɵɵadvance();
|
|
133
133
|
i0.ɵɵconditional(ctx.record.IsSaved ? 14 : -1);
|
|
134
134
|
i0.ɵɵadvance();
|
|
@@ -151,7 +151,7 @@ MJCompanyFormComponent = __decorate([
|
|
|
151
151
|
export { MJCompanyFormComponent };
|
|
152
152
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MJCompanyFormComponent, [{
|
|
153
153
|
type: Component,
|
|
154
|
-
args: [{ standalone: false, selector: 'gen-mjcompany-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 <!-- Core Company Info Section -->\n <mj-collapsible-panel\n SectionKey=\"coreCompanyInfo\"\n SectionName=\"Core Company Info\"\n Icon=\"fa fa-building\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Name\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Description\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Branding & Digital Presence Section -->\n <mj-collapsible-panel\n SectionKey=\"brandingDigitalPresence\"\n SectionName=\"Branding & Digital Presence\"\n Icon=\"fa fa-globe\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Website\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"URL\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"LogoURL\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"URL\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Domain\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- System Metadata Section -->\n <mj-collapsible-panel\n SectionKey=\"systemMetadata\"\n SectionName=\"System Metadata\"\n Icon=\"fa fa-cog\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_CreatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_UpdatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- ========================================\n RELATED ENTITY PANELS\n ======================================== -->\n\n <!--
|
|
154
|
+
args: [{ standalone: false, selector: 'gen-mjcompany-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 <!-- Core Company Info Section -->\n <mj-collapsible-panel\n SectionKey=\"coreCompanyInfo\"\n SectionName=\"Core Company Info\"\n Icon=\"fa fa-building\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Name\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Description\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Branding & Digital Presence Section -->\n <mj-collapsible-panel\n SectionKey=\"brandingDigitalPresence\"\n SectionName=\"Branding & Digital Presence\"\n Icon=\"fa fa-globe\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Website\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"URL\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"LogoURL\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"URL\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Domain\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- System Metadata Section -->\n <mj-collapsible-panel\n SectionKey=\"systemMetadata\"\n SectionName=\"System Metadata\"\n Icon=\"fa fa-cog\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_CreatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_UpdatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- ========================================\n RELATED ENTITY PANELS\n ======================================== -->\n\n <!-- Company Integrations Section -->\n <mj-collapsible-panel\n SectionKey=\"mJCompanyIntegrations\"\n SectionName=\"Company Integrations\"\n Icon=\"fa fa-plug\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJCompanyIntegrations')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Company Integrations','CompanyID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Company Integrations')\"\n [AllowLoad]=\"IsSectionExpanded('mJCompanyIntegrations')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJCompanyIntegrations', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Employees Section -->\n <mj-collapsible-panel\n SectionKey=\"mJEmployees\"\n SectionName=\"Employees\"\n Icon=\"fa-solid fa-users\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJEmployees')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Employees','CompanyID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Employees')\"\n [AllowLoad]=\"IsSectionExpanded('mJEmployees')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJEmployees', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- MCP Server Connections Section -->\n <mj-collapsible-panel\n SectionKey=\"mJMCPServerConnections\"\n SectionName=\"MCP Server Connections\"\n Icon=\"fa fa-server\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJMCPServerConnections')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: MCP Server Connections','CompanyID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: MCP Server Connections')\"\n [AllowLoad]=\"IsSectionExpanded('mJMCPServerConnections')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJMCPServerConnections', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- AI Agent Notes Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAIAgentNotes\"\n SectionName=\"AI Agent Notes\"\n Icon=\"fa fa-robot\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAIAgentNotes')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Agent Notes','CompanyID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Agent Notes')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIAgentNotes')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAIAgentNotes', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- AI Agent Examples Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAIAgentExamples\"\n SectionName=\"AI Agent Examples\"\n Icon=\"fa fa-robot\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAIAgentExamples')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Agent Examples','CompanyID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Agent Examples')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIAgentExamples')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAIAgentExamples', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n</mj-record-form-container>\n " }]
|
|
155
155
|
}], null, null); })();
|
|
156
156
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MJCompanyFormComponent, { className: "MJCompanyFormComponent", filePath: "src/lib/generated/Entities/MJCompany/mjcompany.form.component.ts", lineNumber: 13 }); })();
|
|
157
157
|
//# sourceMappingURL=mjcompany.form.component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mjcompany.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJCompany/mjcompany.form.component.ts","../../../../../src/lib/generated/Entities/MJCompany/mjcompany.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;;;;;IC+GtD,AADJ,2BAAK,uCAQI;IADD,AADA,6NAAY,6BAAsB,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iB,AAAlB,mCAAiB,sBAAuB;YAe1D,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;YAU/B,cAAa;YACb,AADA,0BAAa,gCACc;YAEvB,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAI3B,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAI3B,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,qDACqB,0BACvB;YACzB,cAYC;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,+DAC+B,0BACjC;YACzB,cAYC;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,gEACgC,0BAClC;YACzB,cAYC;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,wDACwB,0BAC1B;YACzB,cAYC;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,2DAC2B,0BAC7B;YACzB,cAYC;YAZD,8CAYC;;;ADpNI,sBAAsB;IANlC,aAAa,CAAC,iBAAiB,EAAE,eAAe,CAAC,CAAC,uCAAuC;GAM7E,sBAAsB,CAgBlC;;iFAhBY,sBAAsB;cALlC,SAAS;6BACM,KAAK,YACP,oBAAoB;;kFAGrB,sBAAsB","sourcesContent":["import { Component } from '@angular/core';\nimport { MJCompanyEntity } 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: Companies') // Tell MemberJunction about this class\n@Component({\n standalone: false,\n selector: 'gen-mjcompany-form',\n templateUrl: './mjcompany.form.component.html'\n})\nexport class MJCompanyFormComponent extends BaseFormComponent {\n public record!: MJCompanyEntity;\n\n override async ngOnInit() {\n await super.ngOnInit();\n this.initSections([\n { sectionKey: 'coreCompanyInfo', sectionName: 'Core Company Info', isExpanded: true },\n { sectionKey: 'brandingDigitalPresence', sectionName: 'Branding & Digital Presence', isExpanded: true },\n { sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },\n { sectionKey: 'mJEmployees', sectionName: 'Employees', isExpanded: false },\n { sectionKey: 'mJCompanyIntegrations', sectionName: 'Company Integrations', isExpanded: false },\n { sectionKey: 'mJMCPServerConnections', sectionName: 'MCP Server Connections', isExpanded: false },\n { sectionKey: 'mJAIAgentNotes', sectionName: 'AI Agent Notes', isExpanded: false },\n { sectionKey: 'mJAIAgentExamples', sectionName: 'AI Agent Examples', 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 <!-- Core Company Info Section -->\n <mj-collapsible-panel\n SectionKey=\"coreCompanyInfo\"\n SectionName=\"Core Company Info\"\n Icon=\"fa fa-building\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Name\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Description\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Branding & Digital Presence Section -->\n <mj-collapsible-panel\n SectionKey=\"brandingDigitalPresence\"\n SectionName=\"Branding & Digital Presence\"\n Icon=\"fa fa-globe\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Website\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"URL\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"LogoURL\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"URL\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Domain\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- System Metadata Section -->\n <mj-collapsible-panel\n SectionKey=\"systemMetadata\"\n SectionName=\"System Metadata\"\n Icon=\"fa fa-cog\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_CreatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_UpdatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- ========================================\n RELATED ENTITY PANELS\n ======================================== -->\n\n <!-- Employees Section -->\n <mj-collapsible-panel\n SectionKey=\"mJEmployees\"\n SectionName=\"Employees\"\n Icon=\"fa-solid fa-users\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJEmployees')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Employees','CompanyID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Employees')\"\n [AllowLoad]=\"IsSectionExpanded('mJEmployees')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJEmployees', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Company Integrations Section -->\n <mj-collapsible-panel\n SectionKey=\"mJCompanyIntegrations\"\n SectionName=\"Company Integrations\"\n Icon=\"fa fa-plug\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJCompanyIntegrations')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Company Integrations','CompanyID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Company Integrations')\"\n [AllowLoad]=\"IsSectionExpanded('mJCompanyIntegrations')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJCompanyIntegrations', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- MCP Server Connections Section -->\n <mj-collapsible-panel\n SectionKey=\"mJMCPServerConnections\"\n SectionName=\"MCP Server Connections\"\n Icon=\"fa fa-server\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJMCPServerConnections')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: MCP Server Connections','CompanyID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: MCP Server Connections')\"\n [AllowLoad]=\"IsSectionExpanded('mJMCPServerConnections')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJMCPServerConnections', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- AI Agent Notes Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAIAgentNotes\"\n SectionName=\"AI Agent Notes\"\n Icon=\"fa fa-robot\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAIAgentNotes')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Agent Notes','CompanyID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Agent Notes')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIAgentNotes')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAIAgentNotes', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- AI Agent Examples Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAIAgentExamples\"\n SectionName=\"AI Agent Examples\"\n Icon=\"fa fa-robot\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAIAgentExamples')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Agent Examples','CompanyID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Agent Examples')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIAgentExamples')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAIAgentExamples', $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":"mjcompany.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJCompany/mjcompany.form.component.ts","../../../../../src/lib/generated/Entities/MJCompany/mjcompany.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;;;;;IC+GtD,AADJ,2BAAK,uCAQI;IADD,AADA,6NAAY,6BAAsB,KAAC,0NAClB,0BAAmB,uBAAuB,uBAAuB,KAAC;IAG3F,AADI,iBAA+B,EAC7B;;;IARE,cAA0F;IAG1F,AADA,AADA,AADA,gHAA0F,uEAC3B,gEACP,sBACnC;;;;IAqBzB,AADJ,2BAAK,uCAQI;IADD,AADA,6NAAY,6BAAsB,KAAC,0NAClB,0BAAmB,aAAa,uBAAuB,KAAC;IAGjF,AADI,iBAA+B,EAC7B;;;IARE,cAA+E;IAG/E,AADA,AADA,AADA,qGAA+E,4DAC3B,sDACN,sBACzB;;;;IAqBzB,AADJ,2BAAK,uCAQI;IADD,AADA,6NAAY,6BAAsB,KAAC,0NAClB,0BAAmB,wBAAwB,uBAAuB,KAAC;IAG5F,AADI,iBAA+B,EAC7B;;;IARE,cAA4F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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,+DAC+B,0BACjC;YACzB,cAYC;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,qDACqB,0BACvB;YACzB,cAYC;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,gEACgC,0BAClC;YACzB,cAYC;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,wDACwB,0BAC1B;YACzB,cAYC;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,2DAC2B,0BAC7B;YACzB,cAYC;YAZD,8CAYC;;;ADpNI,sBAAsB;IANlC,aAAa,CAAC,iBAAiB,EAAE,eAAe,CAAC,CAAC,uCAAuC;GAM7E,sBAAsB,CAgBlC;;iFAhBY,sBAAsB;cALlC,SAAS;6BACM,KAAK,YACP,oBAAoB;;kFAGrB,sBAAsB","sourcesContent":["import { Component } from '@angular/core';\nimport { MJCompanyEntity } 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: Companies') // Tell MemberJunction about this class\n@Component({\n standalone: false,\n selector: 'gen-mjcompany-form',\n templateUrl: './mjcompany.form.component.html'\n})\nexport class MJCompanyFormComponent extends BaseFormComponent {\n public record!: MJCompanyEntity;\n\n override async ngOnInit() {\n await super.ngOnInit();\n this.initSections([\n { sectionKey: 'coreCompanyInfo', sectionName: 'Core Company Info', isExpanded: true },\n { sectionKey: 'brandingDigitalPresence', sectionName: 'Branding & Digital Presence', isExpanded: true },\n { sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },\n { sectionKey: 'mJCompanyIntegrations', sectionName: 'Company Integrations', isExpanded: false },\n { sectionKey: 'mJEmployees', sectionName: 'Employees', isExpanded: false },\n { sectionKey: 'mJMCPServerConnections', sectionName: 'MCP Server Connections', isExpanded: false },\n { sectionKey: 'mJAIAgentNotes', sectionName: 'AI Agent Notes', isExpanded: false },\n { sectionKey: 'mJAIAgentExamples', sectionName: 'AI Agent Examples', 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 <!-- Core Company Info Section -->\n <mj-collapsible-panel\n SectionKey=\"coreCompanyInfo\"\n SectionName=\"Core Company Info\"\n Icon=\"fa fa-building\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Name\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Description\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Branding & Digital Presence Section -->\n <mj-collapsible-panel\n SectionKey=\"brandingDigitalPresence\"\n SectionName=\"Branding & Digital Presence\"\n Icon=\"fa fa-globe\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Website\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"URL\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"LogoURL\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"URL\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Domain\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- System Metadata Section -->\n <mj-collapsible-panel\n SectionKey=\"systemMetadata\"\n SectionName=\"System Metadata\"\n Icon=\"fa fa-cog\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_CreatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_UpdatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- ========================================\n RELATED ENTITY PANELS\n ======================================== -->\n\n <!-- Company Integrations Section -->\n <mj-collapsible-panel\n SectionKey=\"mJCompanyIntegrations\"\n SectionName=\"Company Integrations\"\n Icon=\"fa fa-plug\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJCompanyIntegrations')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Company Integrations','CompanyID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Company Integrations')\"\n [AllowLoad]=\"IsSectionExpanded('mJCompanyIntegrations')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJCompanyIntegrations', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Employees Section -->\n <mj-collapsible-panel\n SectionKey=\"mJEmployees\"\n SectionName=\"Employees\"\n Icon=\"fa-solid fa-users\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJEmployees')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Employees','CompanyID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Employees')\"\n [AllowLoad]=\"IsSectionExpanded('mJEmployees')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJEmployees', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- MCP Server Connections Section -->\n <mj-collapsible-panel\n SectionKey=\"mJMCPServerConnections\"\n SectionName=\"MCP Server Connections\"\n Icon=\"fa fa-server\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJMCPServerConnections')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: MCP Server Connections','CompanyID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: MCP Server Connections')\"\n [AllowLoad]=\"IsSectionExpanded('mJMCPServerConnections')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJMCPServerConnections', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- AI Agent Notes Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAIAgentNotes\"\n SectionName=\"AI Agent Notes\"\n Icon=\"fa fa-robot\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAIAgentNotes')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Agent Notes','CompanyID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Agent Notes')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIAgentNotes')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAIAgentNotes', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- AI Agent Examples Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAIAgentExamples\"\n SectionName=\"AI Agent Examples\"\n Icon=\"fa fa-robot\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAIAgentExamples')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Agent Examples','CompanyID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Agent Examples')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIAgentExamples')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAIAgentExamples', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n</mj-record-form-container>\n "]}
|