@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
|
@@ -12,72 +12,72 @@ import * as i1 from "@memberjunction/ng-base-forms";
|
|
|
12
12
|
function MJAIVendorFormComponent_Conditional_10_Template(rf, ctx) { if (rf & 1) {
|
|
13
13
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
14
14
|
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 17);
|
|
15
|
-
i0.ɵɵlistener("Navigate", function MJAIVendorFormComponent_Conditional_10_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 MJAIVendorFormComponent_Conditional_10_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 MJAIVendorFormComponent_Conditional_10_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 MJAIVendorFormComponent_Conditional_10_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJAICredentialBindings", $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: AI
|
|
20
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: AI Credential Bindings", "AIVendorID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: AI Credential Bindings"))("AllowLoad", ctx_r1.IsSectionExpanded("mJAICredentialBindings"))("ShowToolbar", false);
|
|
21
21
|
} }
|
|
22
22
|
function MJAIVendorFormComponent_Conditional_12_Template(rf, ctx) { if (rf & 1) {
|
|
23
23
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
24
24
|
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 17);
|
|
25
|
-
i0.ɵɵlistener("Navigate", function MJAIVendorFormComponent_Conditional_12_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 MJAIVendorFormComponent_Conditional_12_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 MJAIVendorFormComponent_Conditional_12_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 MJAIVendorFormComponent_Conditional_12_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJAIModelCosts", $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: AI
|
|
30
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: AI Model Costs", "VendorID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: AI Model Costs"))("AllowLoad", ctx_r1.IsSectionExpanded("mJAIModelCosts"))("ShowToolbar", false);
|
|
31
31
|
} }
|
|
32
32
|
function MJAIVendorFormComponent_Conditional_14_Template(rf, ctx) { if (rf & 1) {
|
|
33
33
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
34
34
|
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 17);
|
|
35
|
-
i0.ɵɵlistener("Navigate", function MJAIVendorFormComponent_Conditional_14_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function MJAIVendorFormComponent_Conditional_14_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("
|
|
35
|
+
i0.ɵɵlistener("Navigate", function MJAIVendorFormComponent_Conditional_14_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function MJAIVendorFormComponent_Conditional_14_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJAIModelVendors", $event.totalRowCount)); });
|
|
36
36
|
i0.ɵɵelementEnd()();
|
|
37
37
|
} if (rf & 2) {
|
|
38
38
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
39
39
|
i0.ɵɵadvance();
|
|
40
|
-
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: AI
|
|
40
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: AI Model Vendors", "VendorID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: AI Model Vendors"))("AllowLoad", ctx_r1.IsSectionExpanded("mJAIModelVendors"))("ShowToolbar", false);
|
|
41
41
|
} }
|
|
42
42
|
function MJAIVendorFormComponent_Conditional_16_Template(rf, ctx) { if (rf & 1) {
|
|
43
43
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
44
44
|
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 17);
|
|
45
|
-
i0.ɵɵlistener("Navigate", function MJAIVendorFormComponent_Conditional_16_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function MJAIVendorFormComponent_Conditional_16_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("
|
|
45
|
+
i0.ɵɵlistener("Navigate", function MJAIVendorFormComponent_Conditional_16_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function MJAIVendorFormComponent_Conditional_16_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJAIPromptModels", $event.totalRowCount)); });
|
|
46
46
|
i0.ɵɵelementEnd()();
|
|
47
47
|
} if (rf & 2) {
|
|
48
48
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
49
49
|
i0.ɵɵadvance();
|
|
50
|
-
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: AI
|
|
50
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: AI Prompt Models", "VendorID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: AI Prompt Models"))("AllowLoad", ctx_r1.IsSectionExpanded("mJAIPromptModels"))("ShowToolbar", false);
|
|
51
51
|
} }
|
|
52
52
|
function MJAIVendorFormComponent_Conditional_18_Template(rf, ctx) { if (rf & 1) {
|
|
53
53
|
const _r6 = i0.ɵɵgetCurrentView();
|
|
54
54
|
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 17);
|
|
55
|
-
i0.ɵɵlistener("Navigate", function MJAIVendorFormComponent_Conditional_18_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function MJAIVendorFormComponent_Conditional_18_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("
|
|
55
|
+
i0.ɵɵlistener("Navigate", function MJAIVendorFormComponent_Conditional_18_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function MJAIVendorFormComponent_Conditional_18_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJAIPromptRuns", $event.totalRowCount)); });
|
|
56
56
|
i0.ɵɵelementEnd()();
|
|
57
57
|
} if (rf & 2) {
|
|
58
58
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
59
59
|
i0.ɵɵadvance();
|
|
60
|
-
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: AI
|
|
60
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: AI Prompt Runs", "VendorID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: AI Prompt Runs"))("AllowLoad", ctx_r1.IsSectionExpanded("mJAIPromptRuns"))("ShowToolbar", false);
|
|
61
61
|
} }
|
|
62
62
|
function MJAIVendorFormComponent_Conditional_20_Template(rf, ctx) { if (rf & 1) {
|
|
63
63
|
const _r7 = i0.ɵɵgetCurrentView();
|
|
64
64
|
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 17);
|
|
65
|
-
i0.ɵɵlistener("Navigate", function MJAIVendorFormComponent_Conditional_20_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function MJAIVendorFormComponent_Conditional_20_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("
|
|
65
|
+
i0.ɵɵlistener("Navigate", function MJAIVendorFormComponent_Conditional_20_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function MJAIVendorFormComponent_Conditional_20_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJAIResultCache", $event.totalRowCount)); });
|
|
66
66
|
i0.ɵɵelementEnd()();
|
|
67
67
|
} if (rf & 2) {
|
|
68
68
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
69
69
|
i0.ɵɵadvance();
|
|
70
|
-
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: AI
|
|
70
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: AI Result Cache", "VendorID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: AI Result Cache"))("AllowLoad", ctx_r1.IsSectionExpanded("mJAIResultCache"))("ShowToolbar", false);
|
|
71
71
|
} }
|
|
72
72
|
function MJAIVendorFormComponent_Conditional_22_Template(rf, ctx) { if (rf & 1) {
|
|
73
73
|
const _r8 = i0.ɵɵgetCurrentView();
|
|
74
74
|
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 17);
|
|
75
|
-
i0.ɵɵlistener("Navigate", function MJAIVendorFormComponent_Conditional_22_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function MJAIVendorFormComponent_Conditional_22_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("
|
|
75
|
+
i0.ɵɵlistener("Navigate", function MJAIVendorFormComponent_Conditional_22_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function MJAIVendorFormComponent_Conditional_22_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJAIVendorTypes", $event.totalRowCount)); });
|
|
76
76
|
i0.ɵɵelementEnd()();
|
|
77
77
|
} if (rf & 2) {
|
|
78
78
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
79
79
|
i0.ɵɵadvance();
|
|
80
|
-
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: AI
|
|
80
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: AI Vendor Types", "VendorID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: AI Vendor Types"))("AllowLoad", ctx_r1.IsSectionExpanded("mJAIVendorTypes"))("ShowToolbar", false);
|
|
81
81
|
} }
|
|
82
82
|
function MJAIVendorFormComponent_Conditional_24_Template(rf, ctx) { if (rf & 1) {
|
|
83
83
|
const _r9 = i0.ɵɵgetCurrentView();
|
|
@@ -96,18 +96,18 @@ let MJAIVendorFormComponent = class MJAIVendorFormComponent extends BaseFormComp
|
|
|
96
96
|
{ sectionKey: 'vendorDetails', sectionName: 'Vendor Details', isExpanded: true },
|
|
97
97
|
{ sectionKey: 'details', sectionName: 'Details', isExpanded: true },
|
|
98
98
|
{ sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },
|
|
99
|
+
{ sectionKey: 'mJAICredentialBindings', sectionName: 'AI Credential Bindings', isExpanded: false },
|
|
100
|
+
{ sectionKey: 'mJAIModelCosts', sectionName: 'AI Model Costs', isExpanded: false },
|
|
99
101
|
{ sectionKey: 'mJAIModelVendors', sectionName: 'AI Model Vendors', isExpanded: false },
|
|
100
102
|
{ sectionKey: 'mJAIPromptModels', sectionName: 'AI Prompt Models', isExpanded: false },
|
|
101
103
|
{ sectionKey: 'mJAIPromptRuns', sectionName: 'AI Prompt Runs', isExpanded: false },
|
|
102
104
|
{ sectionKey: 'mJAIResultCache', sectionName: 'AI Result Cache', isExpanded: false },
|
|
103
105
|
{ sectionKey: 'mJAIVendorTypes', sectionName: 'AI Vendor Types', isExpanded: false },
|
|
104
|
-
{ sectionKey: 'mJAIModelCosts', sectionName: 'AI Model Costs', isExpanded: false },
|
|
105
|
-
{ sectionKey: 'mJAICredentialBindings', sectionName: 'AI Credential Bindings', isExpanded: false },
|
|
106
106
|
{ sectionKey: 'mJAIAgentRuns', sectionName: 'AI Agent Runs', isExpanded: false }
|
|
107
107
|
]);
|
|
108
108
|
}
|
|
109
109
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵMJAIVendorFormComponent_BaseFactory; return function MJAIVendorFormComponent_Factory(__ngFactoryType__) { return (ɵMJAIVendorFormComponent_BaseFactory || (ɵMJAIVendorFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(MJAIVendorFormComponent)))(__ngFactoryType__ || MJAIVendorFormComponent); }; })(); }
|
|
110
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJAIVendorFormComponent, selectors: [["gen-mjaivendor-form"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 25, vars: 68, consts: [[3, "Navigate", "DeleteRequested", "FavoriteToggled", "HistoryRequested", "ListManagementRequested", "Record", "FormComponent"], ["SectionKey", "vendorDetails", "SectionName", "Vendor Details", "Icon", "fa fa-building", 3, "Form", "FormContext"], ["FieldName", "Name", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Description", "Type", "textarea", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "details", "SectionName", "Details", "Icon", "fa fa-align-left", 3, "Form", "FormContext"], ["FieldName", "CredentialTypeID", "Type", "textbox", "LinkType", "Record", 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", "
|
|
110
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJAIVendorFormComponent, selectors: [["gen-mjaivendor-form"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 25, vars: 68, consts: [[3, "Navigate", "DeleteRequested", "FavoriteToggled", "HistoryRequested", "ListManagementRequested", "Record", "FormComponent"], ["SectionKey", "vendorDetails", "SectionName", "Vendor Details", "Icon", "fa fa-building", 3, "Form", "FormContext"], ["FieldName", "Name", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Description", "Type", "textarea", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "details", "SectionName", "Details", "Icon", "fa fa-align-left", 3, "Form", "FormContext"], ["FieldName", "CredentialTypeID", "Type", "textbox", "LinkType", "Record", 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", "mJAICredentialBindings", "SectionName", "AI Credential Bindings", "Icon", "fa fa-key", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJAIModelCosts", "SectionName", "AI Model Costs", "Icon", "fa fa-robot", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJAIModelVendors", "SectionName", "AI Model Vendors", "Icon", "fa fa-robot", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJAIPromptModels", "SectionName", "AI Prompt Models", "Icon", "fa fa-robot", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJAIPromptRuns", "SectionName", "AI Prompt Runs", "Icon", "fa fa-robot", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJAIResultCache", "SectionName", "AI Result Cache", "Icon", "fa fa-robot", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJAIVendorTypes", "SectionName", "AI Vendor Types", "Icon", "fa fa-robot", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJAIAgentRuns", "SectionName", "AI Agent Runs", "Icon", "fa fa-robot", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], [3, "Navigate", "AfterDataLoad", "Params", "NewRecordValues", "AllowLoad", "ShowToolbar"]], template: function MJAIVendorFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
111
111
|
i0.ɵɵelementStart(0, "mj-record-form-container", 0);
|
|
112
112
|
i0.ɵɵlistener("Navigate", function MJAIVendorFormComponent_Template_mj_record_form_container_Navigate_0_listener($event) { return ctx.OnFormNavigate($event); })("DeleteRequested", function MJAIVendorFormComponent_Template_mj_record_form_container_DeleteRequested_0_listener() { return ctx.OnDeleteRequested(); })("FavoriteToggled", function MJAIVendorFormComponent_Template_mj_record_form_container_FavoriteToggled_0_listener() { return ctx.OnFavoriteToggled(); })("HistoryRequested", function MJAIVendorFormComponent_Template_mj_record_form_container_HistoryRequested_0_listener() { return ctx.OnHistoryRequested(); })("ListManagementRequested", function MJAIVendorFormComponent_Template_mj_record_form_container_ListManagementRequested_0_listener() { return ctx.OnListManagementRequested(); });
|
|
113
113
|
i0.ɵɵelementStart(1, "mj-collapsible-panel", 1);
|
|
@@ -162,31 +162,31 @@ let MJAIVendorFormComponent = class MJAIVendorFormComponent extends BaseFormComp
|
|
|
162
162
|
i0.ɵɵadvance();
|
|
163
163
|
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
164
164
|
i0.ɵɵadvance();
|
|
165
|
-
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("
|
|
165
|
+
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJAICredentialBindings"))("DefaultExpanded", false);
|
|
166
166
|
i0.ɵɵadvance();
|
|
167
167
|
i0.ɵɵconditional(ctx.record.IsSaved ? 10 : -1);
|
|
168
168
|
i0.ɵɵadvance();
|
|
169
|
-
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("
|
|
169
|
+
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJAIModelCosts"))("DefaultExpanded", false);
|
|
170
170
|
i0.ɵɵadvance();
|
|
171
171
|
i0.ɵɵconditional(ctx.record.IsSaved ? 12 : -1);
|
|
172
172
|
i0.ɵɵadvance();
|
|
173
|
-
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("
|
|
173
|
+
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJAIModelVendors"))("DefaultExpanded", false);
|
|
174
174
|
i0.ɵɵadvance();
|
|
175
175
|
i0.ɵɵconditional(ctx.record.IsSaved ? 14 : -1);
|
|
176
176
|
i0.ɵɵadvance();
|
|
177
|
-
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("
|
|
177
|
+
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJAIPromptModels"))("DefaultExpanded", false);
|
|
178
178
|
i0.ɵɵadvance();
|
|
179
179
|
i0.ɵɵconditional(ctx.record.IsSaved ? 16 : -1);
|
|
180
180
|
i0.ɵɵadvance();
|
|
181
|
-
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("
|
|
181
|
+
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJAIPromptRuns"))("DefaultExpanded", false);
|
|
182
182
|
i0.ɵɵadvance();
|
|
183
183
|
i0.ɵɵconditional(ctx.record.IsSaved ? 18 : -1);
|
|
184
184
|
i0.ɵɵadvance();
|
|
185
|
-
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("
|
|
185
|
+
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJAIResultCache"))("DefaultExpanded", false);
|
|
186
186
|
i0.ɵɵadvance();
|
|
187
187
|
i0.ɵɵconditional(ctx.record.IsSaved ? 20 : -1);
|
|
188
188
|
i0.ɵɵadvance();
|
|
189
|
-
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("
|
|
189
|
+
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJAIVendorTypes"))("DefaultExpanded", false);
|
|
190
190
|
i0.ɵɵadvance();
|
|
191
191
|
i0.ɵɵconditional(ctx.record.IsSaved ? 22 : -1);
|
|
192
192
|
i0.ɵɵadvance();
|
|
@@ -201,7 +201,7 @@ MJAIVendorFormComponent = __decorate([
|
|
|
201
201
|
export { MJAIVendorFormComponent };
|
|
202
202
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MJAIVendorFormComponent, [{
|
|
203
203
|
type: Component,
|
|
204
|
-
args: [{ standalone: false, selector: 'gen-mjaivendor-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 <!-- Vendor Details Section -->\n <mj-collapsible-panel\n SectionKey=\"vendorDetails\"\n SectionName=\"Vendor Details\"\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=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Details Section -->\n <mj-collapsible-panel\n SectionKey=\"details\"\n SectionName=\"Details\"\n Icon=\"fa fa-align-left\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"false\"\n FieldName=\"CredentialTypeID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- System Metadata Section -->\n <mj-collapsible-panel\n SectionKey=\"systemMetadata\"\n SectionName=\"System Metadata\"\n Icon=\"fa fa-cog\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_CreatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_UpdatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- ========================================\n RELATED ENTITY PANELS\n ======================================== -->\n\n <!-- AI Model Vendors Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAIModelVendors\"\n SectionName=\"AI Model Vendors\"\n Icon=\"fa fa-robot\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAIModelVendors')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Model Vendors','VendorID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Model Vendors')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIModelVendors')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAIModelVendors', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- AI Prompt Models Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAIPromptModels\"\n SectionName=\"AI Prompt Models\"\n Icon=\"fa fa-robot\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAIPromptModels')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Prompt Models','VendorID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Prompt Models')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIPromptModels')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAIPromptModels', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- AI Prompt Runs Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAIPromptRuns\"\n SectionName=\"AI Prompt Runs\"\n Icon=\"fa fa-robot\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAIPromptRuns')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Prompt Runs','VendorID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Prompt Runs')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIPromptRuns')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAIPromptRuns', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- AI Result Cache Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAIResultCache\"\n SectionName=\"AI Result Cache\"\n Icon=\"fa fa-robot\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAIResultCache')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Result Cache','VendorID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Result Cache')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIResultCache')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAIResultCache', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- AI Vendor Types Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAIVendorTypes\"\n SectionName=\"AI Vendor Types\"\n Icon=\"fa fa-robot\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAIVendorTypes')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Vendor Types','VendorID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Vendor Types')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIVendorTypes')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAIVendorTypes', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- AI Model Costs Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAIModelCosts\"\n SectionName=\"AI Model Costs\"\n Icon=\"fa fa-robot\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAIModelCosts')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Model Costs','VendorID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Model Costs')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIModelCosts')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAIModelCosts', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- AI Credential Bindings Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAICredentialBindings\"\n SectionName=\"AI Credential Bindings\"\n Icon=\"fa fa-key\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAICredentialBindings')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Credential Bindings','AIVendorID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Credential Bindings')\"\n [AllowLoad]=\"IsSectionExpanded('mJAICredentialBindings')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAICredentialBindings', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- AI Agent Runs Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAIAgentRuns\"\n SectionName=\"AI Agent Runs\"\n Icon=\"fa fa-robot\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAIAgentRuns')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Agent Runs','OverrideVendorID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Agent Runs')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIAgentRuns')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAIAgentRuns', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n</mj-record-form-container>\n " }]
|
|
204
|
+
args: [{ standalone: false, selector: 'gen-mjaivendor-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 <!-- Vendor Details Section -->\n <mj-collapsible-panel\n SectionKey=\"vendorDetails\"\n SectionName=\"Vendor Details\"\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=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Details Section -->\n <mj-collapsible-panel\n SectionKey=\"details\"\n SectionName=\"Details\"\n Icon=\"fa fa-align-left\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"false\"\n FieldName=\"CredentialTypeID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- System Metadata Section -->\n <mj-collapsible-panel\n SectionKey=\"systemMetadata\"\n SectionName=\"System Metadata\"\n Icon=\"fa fa-cog\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_CreatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_UpdatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- ========================================\n RELATED ENTITY PANELS\n ======================================== -->\n\n <!-- AI Credential Bindings Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAICredentialBindings\"\n SectionName=\"AI Credential Bindings\"\n Icon=\"fa fa-key\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAICredentialBindings')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Credential Bindings','AIVendorID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Credential Bindings')\"\n [AllowLoad]=\"IsSectionExpanded('mJAICredentialBindings')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAICredentialBindings', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- AI Model Costs Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAIModelCosts\"\n SectionName=\"AI Model Costs\"\n Icon=\"fa fa-robot\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAIModelCosts')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Model Costs','VendorID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Model Costs')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIModelCosts')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAIModelCosts', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- AI Model Vendors Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAIModelVendors\"\n SectionName=\"AI Model Vendors\"\n Icon=\"fa fa-robot\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAIModelVendors')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Model Vendors','VendorID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Model Vendors')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIModelVendors')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAIModelVendors', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- AI Prompt Models Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAIPromptModels\"\n SectionName=\"AI Prompt Models\"\n Icon=\"fa fa-robot\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAIPromptModels')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Prompt Models','VendorID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Prompt Models')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIPromptModels')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAIPromptModels', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- AI Prompt Runs Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAIPromptRuns\"\n SectionName=\"AI Prompt Runs\"\n Icon=\"fa fa-robot\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAIPromptRuns')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Prompt Runs','VendorID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Prompt Runs')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIPromptRuns')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAIPromptRuns', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- AI Result Cache Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAIResultCache\"\n SectionName=\"AI Result Cache\"\n Icon=\"fa fa-robot\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAIResultCache')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Result Cache','VendorID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Result Cache')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIResultCache')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAIResultCache', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- AI Vendor Types Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAIVendorTypes\"\n SectionName=\"AI Vendor Types\"\n Icon=\"fa fa-robot\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAIVendorTypes')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Vendor Types','VendorID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Vendor Types')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIVendorTypes')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAIVendorTypes', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- AI Agent Runs Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAIAgentRuns\"\n SectionName=\"AI Agent Runs\"\n Icon=\"fa fa-robot\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAIAgentRuns')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Agent Runs','OverrideVendorID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Agent Runs')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIAgentRuns')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAIAgentRuns', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n</mj-record-form-container>\n " }]
|
|
205
205
|
}], null, null); })();
|
|
206
206
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MJAIVendorFormComponent, { className: "MJAIVendorFormComponent", filePath: "src/lib/generated/Entities/MJAIVendor/mjaivendor.form.component.ts", lineNumber: 13 }); })();
|
|
207
207
|
//# sourceMappingURL=mjaivendor.form.component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mjaivendor.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJAIVendor/mjaivendor.form.component.ts","../../../../../src/lib/generated/Entities/MJAIVendor/mjaivendor.form.component.html"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,OAA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B,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,oBACE,0BAGE,gCACM;YAW/B,cAAa;YACb,AADA,0BAAa,gCACc;YAEvB,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAG3B,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAe/B,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,0DAC0B,0BAC5B;YACzB,cAYC;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,0DAC0B,0BAC5B;YACzB,cAYC;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,wDACwB,0BAC1B;YACzB,cAYC;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,yDACyB,0BAC3B;YACzB,cAYC;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,yDACyB,0BAC3B;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,gEACgC,0BAClC;YACzB,cAYC;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,uDACuB,0BACzB;YACzB,cAYC;YAZD,8CAYC;;;AD9QI,uBAAuB;IANnC,aAAa,CAAC,iBAAiB,EAAE,gBAAgB,CAAC,CAAC,uCAAuC;GAM9E,uBAAuB,CAmBnC;;iFAnBY,uBAAuB;cALnC,SAAS;6BACM,KAAK,YACP,qBAAqB;;kFAGtB,uBAAuB","sourcesContent":["import { Component } from '@angular/core';\nimport { MJAIVendorEntity } 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: AI Vendors') // Tell MemberJunction about this class\n@Component({\n standalone: false,\n selector: 'gen-mjaivendor-form',\n templateUrl: './mjaivendor.form.component.html'\n})\nexport class MJAIVendorFormComponent extends BaseFormComponent {\n public record!: MJAIVendorEntity;\n\n override async ngOnInit() {\n await super.ngOnInit();\n this.initSections([\n { sectionKey: 'vendorDetails', sectionName: 'Vendor Details', isExpanded: true },\n { sectionKey: 'details', sectionName: 'Details', isExpanded: true },\n { sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },\n { sectionKey: 'mJAIModelVendors', sectionName: 'AI Model Vendors', isExpanded: false },\n { sectionKey: 'mJAIPromptModels', sectionName: 'AI Prompt Models', isExpanded: false },\n { sectionKey: 'mJAIPromptRuns', sectionName: 'AI Prompt Runs', isExpanded: false },\n { sectionKey: 'mJAIResultCache', sectionName: 'AI Result Cache', isExpanded: false },\n { sectionKey: 'mJAIVendorTypes', sectionName: 'AI Vendor Types', isExpanded: false },\n { sectionKey: 'mJAIModelCosts', sectionName: 'AI Model Costs', isExpanded: false },\n { sectionKey: 'mJAICredentialBindings', sectionName: 'AI Credential Bindings', isExpanded: false },\n { sectionKey: 'mJAIAgentRuns', sectionName: 'AI Agent Runs', 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 <!-- Vendor Details Section -->\n <mj-collapsible-panel\n SectionKey=\"vendorDetails\"\n SectionName=\"Vendor Details\"\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=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Details Section -->\n <mj-collapsible-panel\n SectionKey=\"details\"\n SectionName=\"Details\"\n Icon=\"fa fa-align-left\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"false\"\n FieldName=\"CredentialTypeID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- System Metadata Section -->\n <mj-collapsible-panel\n SectionKey=\"systemMetadata\"\n SectionName=\"System Metadata\"\n Icon=\"fa fa-cog\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_CreatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_UpdatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- ========================================\n RELATED ENTITY PANELS\n ======================================== -->\n\n <!-- AI Model Vendors Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAIModelVendors\"\n SectionName=\"AI Model Vendors\"\n Icon=\"fa fa-robot\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAIModelVendors')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Model Vendors','VendorID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Model Vendors')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIModelVendors')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAIModelVendors', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- AI Prompt Models Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAIPromptModels\"\n SectionName=\"AI Prompt Models\"\n Icon=\"fa fa-robot\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAIPromptModels')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Prompt Models','VendorID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Prompt Models')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIPromptModels')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAIPromptModels', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- AI Prompt Runs Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAIPromptRuns\"\n SectionName=\"AI Prompt Runs\"\n Icon=\"fa fa-robot\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAIPromptRuns')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Prompt Runs','VendorID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Prompt Runs')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIPromptRuns')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAIPromptRuns', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- AI Result Cache Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAIResultCache\"\n SectionName=\"AI Result Cache\"\n Icon=\"fa fa-robot\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAIResultCache')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Result Cache','VendorID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Result Cache')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIResultCache')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAIResultCache', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- AI Vendor Types Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAIVendorTypes\"\n SectionName=\"AI Vendor Types\"\n Icon=\"fa fa-robot\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAIVendorTypes')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Vendor Types','VendorID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Vendor Types')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIVendorTypes')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAIVendorTypes', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- AI Model Costs Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAIModelCosts\"\n SectionName=\"AI Model Costs\"\n Icon=\"fa fa-robot\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAIModelCosts')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Model Costs','VendorID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Model Costs')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIModelCosts')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAIModelCosts', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- AI Credential Bindings Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAICredentialBindings\"\n SectionName=\"AI Credential Bindings\"\n Icon=\"fa fa-key\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAICredentialBindings')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Credential Bindings','AIVendorID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Credential Bindings')\"\n [AllowLoad]=\"IsSectionExpanded('mJAICredentialBindings')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAICredentialBindings', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- AI Agent Runs Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAIAgentRuns\"\n SectionName=\"AI Agent Runs\"\n Icon=\"fa fa-robot\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAIAgentRuns')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Agent Runs','OverrideVendorID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Agent Runs')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIAgentRuns')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAIAgentRuns', $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":"mjaivendor.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJAIVendor/mjaivendor.form.component.ts","../../../../../src/lib/generated/Entities/MJAIVendor/mjaivendor.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;;;;;IC8FtD,AADJ,2BAAK,uCAQI;IADD,AADA,8NAAY,6BAAsB,KAAC,2NAClB,0BAAmB,wBAAwB,uBAAuB,KAAC;IAG5F,AADI,iBAA+B,EAC7B;;;IARE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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,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,0DAC0B,0BAC5B;YACzB,cAYC;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,0DAC0B,0BAC5B;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,yDACyB,0BAC3B;YACzB,cAYC;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,yDACyB,0BAC3B;YACzB,cAYC;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,uDACuB,0BACzB;YACzB,cAYC;YAZD,8CAYC;;;AD9QI,uBAAuB;IANnC,aAAa,CAAC,iBAAiB,EAAE,gBAAgB,CAAC,CAAC,uCAAuC;GAM9E,uBAAuB,CAmBnC;;iFAnBY,uBAAuB;cALnC,SAAS;6BACM,KAAK,YACP,qBAAqB;;kFAGtB,uBAAuB","sourcesContent":["import { Component } from '@angular/core';\nimport { MJAIVendorEntity } 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: AI Vendors') // Tell MemberJunction about this class\n@Component({\n standalone: false,\n selector: 'gen-mjaivendor-form',\n templateUrl: './mjaivendor.form.component.html'\n})\nexport class MJAIVendorFormComponent extends BaseFormComponent {\n public record!: MJAIVendorEntity;\n\n override async ngOnInit() {\n await super.ngOnInit();\n this.initSections([\n { sectionKey: 'vendorDetails', sectionName: 'Vendor Details', isExpanded: true },\n { sectionKey: 'details', sectionName: 'Details', isExpanded: true },\n { sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },\n { sectionKey: 'mJAICredentialBindings', sectionName: 'AI Credential Bindings', isExpanded: false },\n { sectionKey: 'mJAIModelCosts', sectionName: 'AI Model Costs', isExpanded: false },\n { sectionKey: 'mJAIModelVendors', sectionName: 'AI Model Vendors', isExpanded: false },\n { sectionKey: 'mJAIPromptModels', sectionName: 'AI Prompt Models', isExpanded: false },\n { sectionKey: 'mJAIPromptRuns', sectionName: 'AI Prompt Runs', isExpanded: false },\n { sectionKey: 'mJAIResultCache', sectionName: 'AI Result Cache', isExpanded: false },\n { sectionKey: 'mJAIVendorTypes', sectionName: 'AI Vendor Types', isExpanded: false },\n { sectionKey: 'mJAIAgentRuns', sectionName: 'AI Agent Runs', 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 <!-- Vendor Details Section -->\n <mj-collapsible-panel\n SectionKey=\"vendorDetails\"\n SectionName=\"Vendor Details\"\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=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Details Section -->\n <mj-collapsible-panel\n SectionKey=\"details\"\n SectionName=\"Details\"\n Icon=\"fa fa-align-left\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"false\"\n FieldName=\"CredentialTypeID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- System Metadata Section -->\n <mj-collapsible-panel\n SectionKey=\"systemMetadata\"\n SectionName=\"System Metadata\"\n Icon=\"fa fa-cog\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_CreatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_UpdatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- ========================================\n RELATED ENTITY PANELS\n ======================================== -->\n\n <!-- AI Credential Bindings Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAICredentialBindings\"\n SectionName=\"AI Credential Bindings\"\n Icon=\"fa fa-key\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAICredentialBindings')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Credential Bindings','AIVendorID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Credential Bindings')\"\n [AllowLoad]=\"IsSectionExpanded('mJAICredentialBindings')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAICredentialBindings', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- AI Model Costs Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAIModelCosts\"\n SectionName=\"AI Model Costs\"\n Icon=\"fa fa-robot\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAIModelCosts')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Model Costs','VendorID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Model Costs')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIModelCosts')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAIModelCosts', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- AI Model Vendors Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAIModelVendors\"\n SectionName=\"AI Model Vendors\"\n Icon=\"fa fa-robot\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAIModelVendors')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Model Vendors','VendorID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Model Vendors')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIModelVendors')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAIModelVendors', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- AI Prompt Models Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAIPromptModels\"\n SectionName=\"AI Prompt Models\"\n Icon=\"fa fa-robot\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAIPromptModels')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Prompt Models','VendorID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Prompt Models')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIPromptModels')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAIPromptModels', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- AI Prompt Runs Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAIPromptRuns\"\n SectionName=\"AI Prompt Runs\"\n Icon=\"fa fa-robot\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAIPromptRuns')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Prompt Runs','VendorID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Prompt Runs')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIPromptRuns')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAIPromptRuns', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- AI Result Cache Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAIResultCache\"\n SectionName=\"AI Result Cache\"\n Icon=\"fa fa-robot\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAIResultCache')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Result Cache','VendorID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Result Cache')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIResultCache')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAIResultCache', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- AI Vendor Types Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAIVendorTypes\"\n SectionName=\"AI Vendor Types\"\n Icon=\"fa fa-robot\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAIVendorTypes')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Vendor Types','VendorID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Vendor Types')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIVendorTypes')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAIVendorTypes', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- AI Agent Runs Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAIAgentRuns\"\n SectionName=\"AI Agent Runs\"\n Icon=\"fa fa-robot\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAIAgentRuns')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Agent Runs','OverrideVendorID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Agent Runs')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIAgentRuns')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAIAgentRuns', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n</mj-record-form-container>\n "]}
|
|
@@ -12,32 +12,32 @@ import * as i1 from "@memberjunction/ng-base-forms";
|
|
|
12
12
|
function MJAPIKeyFormComponent_Conditional_16_Template(rf, ctx) { if (rf & 1) {
|
|
13
13
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
14
14
|
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 18);
|
|
15
|
-
i0.ɵɵlistener("Navigate", function MJAPIKeyFormComponent_Conditional_16_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function MJAPIKeyFormComponent_Conditional_16_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("
|
|
15
|
+
i0.ɵɵlistener("Navigate", function MJAPIKeyFormComponent_Conditional_16_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function MJAPIKeyFormComponent_Conditional_16_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJAPIKeyApplications", $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: API Key
|
|
20
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: API Key Applications", "APIKeyID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: API Key Applications"))("AllowLoad", ctx_r1.IsSectionExpanded("mJAPIKeyApplications"))("ShowToolbar", false);
|
|
21
21
|
} }
|
|
22
22
|
function MJAPIKeyFormComponent_Conditional_18_Template(rf, ctx) { if (rf & 1) {
|
|
23
23
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
24
24
|
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 18);
|
|
25
|
-
i0.ɵɵlistener("Navigate", function MJAPIKeyFormComponent_Conditional_18_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function MJAPIKeyFormComponent_Conditional_18_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("
|
|
25
|
+
i0.ɵɵlistener("Navigate", function MJAPIKeyFormComponent_Conditional_18_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function MJAPIKeyFormComponent_Conditional_18_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJAPIKeyScopes", $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: API Key
|
|
30
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: API Key Scopes", "APIKeyID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: API Key Scopes"))("AllowLoad", ctx_r1.IsSectionExpanded("mJAPIKeyScopes"))("ShowToolbar", false);
|
|
31
31
|
} }
|
|
32
32
|
function MJAPIKeyFormComponent_Conditional_20_Template(rf, ctx) { if (rf & 1) {
|
|
33
33
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
34
34
|
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 18);
|
|
35
|
-
i0.ɵɵlistener("Navigate", function MJAPIKeyFormComponent_Conditional_20_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function MJAPIKeyFormComponent_Conditional_20_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("
|
|
35
|
+
i0.ɵɵlistener("Navigate", function MJAPIKeyFormComponent_Conditional_20_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function MJAPIKeyFormComponent_Conditional_20_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJAPIKeyUsageLogs", $event.totalRowCount)); });
|
|
36
36
|
i0.ɵɵelementEnd()();
|
|
37
37
|
} if (rf & 2) {
|
|
38
38
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
39
39
|
i0.ɵɵadvance();
|
|
40
|
-
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: API Key
|
|
40
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: API Key Usage Logs", "APIKeyID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: API Key Usage Logs"))("AllowLoad", ctx_r1.IsSectionExpanded("mJAPIKeyUsageLogs"))("ShowToolbar", false);
|
|
41
41
|
} }
|
|
42
42
|
let MJAPIKeyFormComponent = class MJAPIKeyFormComponent extends BaseFormComponent {
|
|
43
43
|
async ngOnInit() {
|
|
@@ -47,13 +47,13 @@ let MJAPIKeyFormComponent = class MJAPIKeyFormComponent extends BaseFormComponen
|
|
|
47
47
|
{ sectionKey: 'ownership', sectionName: 'Ownership', isExpanded: true },
|
|
48
48
|
{ sectionKey: 'statusUsage', sectionName: 'Status & Usage', isExpanded: false },
|
|
49
49
|
{ sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },
|
|
50
|
+
{ sectionKey: 'mJAPIKeyApplications', sectionName: 'API Key Applications', isExpanded: false },
|
|
50
51
|
{ sectionKey: 'mJAPIKeyScopes', sectionName: 'API Key Scopes', isExpanded: false },
|
|
51
|
-
{ sectionKey: 'mJAPIKeyUsageLogs', sectionName: 'API Key Usage Logs', isExpanded: false }
|
|
52
|
-
{ sectionKey: 'mJAPIKeyApplications', sectionName: 'API Key Applications', isExpanded: false }
|
|
52
|
+
{ sectionKey: 'mJAPIKeyUsageLogs', sectionName: 'API Key Usage Logs', isExpanded: false }
|
|
53
53
|
]);
|
|
54
54
|
}
|
|
55
55
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵMJAPIKeyFormComponent_BaseFactory; return function MJAPIKeyFormComponent_Factory(__ngFactoryType__) { return (ɵMJAPIKeyFormComponent_BaseFactory || (ɵMJAPIKeyFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(MJAPIKeyFormComponent)))(__ngFactoryType__ || MJAPIKeyFormComponent); }; })(); }
|
|
56
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJAPIKeyFormComponent, selectors: [["gen-mjapikey-form"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 21, vars: 65, consts: [[3, "Navigate", "DeleteRequested", "FavoriteToggled", "HistoryRequested", "ListManagementRequested", "Record", "FormComponent"], ["SectionKey", "keyInformation", "SectionName", "Key Information", "Icon", "fa fa-key", 3, "Form", "FormContext"], ["FieldName", "Hash", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Label", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Description", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "ownership", "SectionName", "Ownership", "Icon", "fa fa-user", 3, "Form", "FormContext"], ["FieldName", "UserID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "CreatedByUserID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "statusUsage", "SectionName", "Status & Usage", "Icon", "fa fa-flag", 3, "Form", "FormContext"], ["FieldName", "Status", "Type", "select", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "ExpiresAt", "Type", "datepicker", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "LastUsedAt", "Type", "datepicker", 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", "
|
|
56
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJAPIKeyFormComponent, selectors: [["gen-mjapikey-form"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 21, vars: 65, consts: [[3, "Navigate", "DeleteRequested", "FavoriteToggled", "HistoryRequested", "ListManagementRequested", "Record", "FormComponent"], ["SectionKey", "keyInformation", "SectionName", "Key Information", "Icon", "fa fa-key", 3, "Form", "FormContext"], ["FieldName", "Hash", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Label", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Description", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "ownership", "SectionName", "Ownership", "Icon", "fa fa-user", 3, "Form", "FormContext"], ["FieldName", "UserID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "CreatedByUserID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "statusUsage", "SectionName", "Status & Usage", "Icon", "fa fa-flag", 3, "Form", "FormContext"], ["FieldName", "Status", "Type", "select", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "ExpiresAt", "Type", "datepicker", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "LastUsedAt", "Type", "datepicker", 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", "mJAPIKeyApplications", "SectionName", "API Key Applications", "Icon", "fa fa-key", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJAPIKeyScopes", "SectionName", "API Key Scopes", "Icon", "fa fa-key", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJAPIKeyUsageLogs", "SectionName", "API Key Usage Logs", "Icon", "fa fa-key", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], [3, "Navigate", "AfterDataLoad", "Params", "NewRecordValues", "AllowLoad", "ShowToolbar"]], template: function MJAPIKeyFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
57
57
|
i0.ɵɵelementStart(0, "mj-record-form-container", 0);
|
|
58
58
|
i0.ɵɵlistener("Navigate", function MJAPIKeyFormComponent_Template_mj_record_form_container_Navigate_0_listener($event) { return ctx.OnFormNavigate($event); })("DeleteRequested", function MJAPIKeyFormComponent_Template_mj_record_form_container_DeleteRequested_0_listener() { return ctx.OnDeleteRequested(); })("FavoriteToggled", function MJAPIKeyFormComponent_Template_mj_record_form_container_FavoriteToggled_0_listener() { return ctx.OnFavoriteToggled(); })("HistoryRequested", function MJAPIKeyFormComponent_Template_mj_record_form_container_HistoryRequested_0_listener() { return ctx.OnHistoryRequested(); })("ListManagementRequested", function MJAPIKeyFormComponent_Template_mj_record_form_container_ListManagementRequested_0_listener() { return ctx.OnListManagementRequested(); });
|
|
59
59
|
i0.ɵɵelementStart(1, "mj-collapsible-panel", 1);
|
|
@@ -108,15 +108,15 @@ let MJAPIKeyFormComponent = class MJAPIKeyFormComponent extends BaseFormComponen
|
|
|
108
108
|
i0.ɵɵadvance();
|
|
109
109
|
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
110
110
|
i0.ɵɵadvance();
|
|
111
|
-
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("
|
|
111
|
+
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJAPIKeyApplications"))("DefaultExpanded", false);
|
|
112
112
|
i0.ɵɵadvance();
|
|
113
113
|
i0.ɵɵconditional(ctx.record.IsSaved ? 16 : -1);
|
|
114
114
|
i0.ɵɵadvance();
|
|
115
|
-
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("
|
|
115
|
+
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJAPIKeyScopes"))("DefaultExpanded", false);
|
|
116
116
|
i0.ɵɵadvance();
|
|
117
117
|
i0.ɵɵconditional(ctx.record.IsSaved ? 18 : -1);
|
|
118
118
|
i0.ɵɵadvance();
|
|
119
|
-
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("
|
|
119
|
+
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJAPIKeyUsageLogs"))("DefaultExpanded", false);
|
|
120
120
|
i0.ɵɵadvance();
|
|
121
121
|
i0.ɵɵconditional(ctx.record.IsSaved ? 20 : -1);
|
|
122
122
|
} }, dependencies: [i1.MjFormFieldComponent, i1.MjCollapsiblePanelComponent, i1.MjRecordFormContainerComponent, i1.ExplorerEntityDataGridComponent], encapsulation: 2 }); }
|
|
@@ -127,7 +127,7 @@ MJAPIKeyFormComponent = __decorate([
|
|
|
127
127
|
export { MJAPIKeyFormComponent };
|
|
128
128
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MJAPIKeyFormComponent, [{
|
|
129
129
|
type: Component,
|
|
130
|
-
args: [{ standalone: false, selector: 'gen-mjapikey-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 <!-- Key Information Section -->\n <mj-collapsible-panel\n SectionKey=\"keyInformation\"\n SectionName=\"Key Information\"\n Icon=\"fa fa-key\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Hash\"\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=\"Label\"\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 <!-- Ownership Section -->\n <mj-collapsible-panel\n SectionKey=\"ownership\"\n SectionName=\"Ownership\"\n Icon=\"fa fa-user\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\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=\"CreatedByUserID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Status & Usage Section -->\n <mj-collapsible-panel\n SectionKey=\"statusUsage\"\n SectionName=\"Status & Usage\"\n Icon=\"fa fa-flag\"\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=\"ExpiresAt\"\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=\"LastUsedAt\"\n Type=\"datepicker\"\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 <!-- API Key
|
|
130
|
+
args: [{ standalone: false, selector: 'gen-mjapikey-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 <!-- Key Information Section -->\n <mj-collapsible-panel\n SectionKey=\"keyInformation\"\n SectionName=\"Key Information\"\n Icon=\"fa fa-key\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Hash\"\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=\"Label\"\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 <!-- Ownership Section -->\n <mj-collapsible-panel\n SectionKey=\"ownership\"\n SectionName=\"Ownership\"\n Icon=\"fa fa-user\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\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=\"CreatedByUserID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Status & Usage Section -->\n <mj-collapsible-panel\n SectionKey=\"statusUsage\"\n SectionName=\"Status & Usage\"\n Icon=\"fa fa-flag\"\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=\"ExpiresAt\"\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=\"LastUsedAt\"\n Type=\"datepicker\"\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 <!-- API Key Applications Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAPIKeyApplications\"\n SectionName=\"API Key Applications\"\n Icon=\"fa fa-key\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAPIKeyApplications')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: API Key Applications','APIKeyID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: API Key Applications')\"\n [AllowLoad]=\"IsSectionExpanded('mJAPIKeyApplications')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAPIKeyApplications', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- API Key Scopes Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAPIKeyScopes\"\n SectionName=\"API Key Scopes\"\n Icon=\"fa fa-key\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAPIKeyScopes')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: API Key Scopes','APIKeyID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: API Key Scopes')\"\n [AllowLoad]=\"IsSectionExpanded('mJAPIKeyScopes')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAPIKeyScopes', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- API Key Usage Logs Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAPIKeyUsageLogs\"\n SectionName=\"API Key Usage Logs\"\n Icon=\"fa fa-key\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAPIKeyUsageLogs')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: API Key Usage Logs','APIKeyID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: API Key Usage Logs')\"\n [AllowLoad]=\"IsSectionExpanded('mJAPIKeyUsageLogs')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAPIKeyUsageLogs', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n</mj-record-form-container>\n " }]
|
|
131
131
|
}], null, null); })();
|
|
132
132
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MJAPIKeyFormComponent, { className: "MJAPIKeyFormComponent", filePath: "src/lib/generated/Entities/MJAPIKey/mjapikey.form.component.ts", lineNumber: 13 }); })();
|
|
133
133
|
//# sourceMappingURL=mjapikey.form.component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mjapikey.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJAPIKey/mjapikey.form.component.ts","../../../../../src/lib/generated/Entities/MJAPIKey/mjapikey.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;;;;;ICiJtD,AADJ,2BAAK,uCAQI;IADD,AADA,4NAAY,6BAAsB,KAAC,yNAClB,0BAAmB,gBAAgB,uBAAuB,KAAC;IAGpF,AADI,iBAA+B,EAC7B;;;IARE,cAAmF;IAGnF,AADA,AADA,AADA,yGAAmF,iEAC1B,yDACR,sBAC5B;;;;IAqBzB,AADJ,2BAAK,uCAQI;IADD,AADA,4NAAY,6BAAsB,KAAC,yNAClB,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A,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAG3B,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAe/B,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;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,8DAC8B,0BAChC;YACzB,cAYC;YAZD,8CAYC;;;ADpMI,qBAAqB;IANjC,aAAa,CAAC,iBAAiB,EAAE,cAAc,CAAC,CAAC,uCAAuC;GAM5E,qBAAqB,CAejC;;iFAfY,qBAAqB;cALjC,SAAS;6BACM,KAAK,YACP,mBAAmB;;kFAGpB,qBAAqB","sourcesContent":["import { Component } from '@angular/core';\nimport { MJAPIKeyEntity } 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: API Keys') // Tell MemberJunction about this class\n@Component({\n standalone: false,\n selector: 'gen-mjapikey-form',\n templateUrl: './mjapikey.form.component.html'\n})\nexport class MJAPIKeyFormComponent extends BaseFormComponent {\n public record!: MJAPIKeyEntity;\n\n override async ngOnInit() {\n await super.ngOnInit();\n this.initSections([\n { sectionKey: 'keyInformation', sectionName: 'Key Information', isExpanded: true },\n { sectionKey: 'ownership', sectionName: 'Ownership', isExpanded: true },\n { sectionKey: 'statusUsage', sectionName: 'Status & Usage', isExpanded: false },\n { sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },\n { sectionKey: 'mJAPIKeyScopes', sectionName: 'API Key Scopes', isExpanded: false },\n { sectionKey: 'mJAPIKeyUsageLogs', sectionName: 'API Key Usage Logs', isExpanded: false },\n { sectionKey: 'mJAPIKeyApplications', sectionName: 'API Key Applications', 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 <!-- Key Information Section -->\n <mj-collapsible-panel\n SectionKey=\"keyInformation\"\n SectionName=\"Key Information\"\n Icon=\"fa fa-key\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Hash\"\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=\"Label\"\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 <!-- Ownership Section -->\n <mj-collapsible-panel\n SectionKey=\"ownership\"\n SectionName=\"Ownership\"\n Icon=\"fa fa-user\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\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=\"CreatedByUserID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Status & Usage Section -->\n <mj-collapsible-panel\n SectionKey=\"statusUsage\"\n SectionName=\"Status & Usage\"\n Icon=\"fa fa-flag\"\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=\"ExpiresAt\"\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=\"LastUsedAt\"\n Type=\"datepicker\"\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 <!-- API Key Scopes Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAPIKeyScopes\"\n SectionName=\"API Key Scopes\"\n Icon=\"fa fa-key\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAPIKeyScopes')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: API Key Scopes','APIKeyID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: API Key Scopes')\"\n [AllowLoad]=\"IsSectionExpanded('mJAPIKeyScopes')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAPIKeyScopes', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- API Key Usage Logs Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAPIKeyUsageLogs\"\n SectionName=\"API Key Usage Logs\"\n Icon=\"fa fa-key\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAPIKeyUsageLogs')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: API Key Usage Logs','APIKeyID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: API Key Usage Logs')\"\n [AllowLoad]=\"IsSectionExpanded('mJAPIKeyUsageLogs')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAPIKeyUsageLogs', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- API Key Applications Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAPIKeyApplications\"\n SectionName=\"API Key Applications\"\n Icon=\"fa fa-key\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAPIKeyApplications')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: API Key Applications','APIKeyID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: API Key Applications')\"\n [AllowLoad]=\"IsSectionExpanded('mJAPIKeyApplications')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAPIKeyApplications', $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":"mjapikey.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJAPIKey/mjapikey.form.component.ts","../../../../../src/lib/generated/Entities/MJAPIKey/mjapikey.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;;;;;ICiJtD,AADJ,2BAAK,uCAQI;IADD,AADA,4NAAY,6BAAsB,KAAC,yNAClB,0BAAmB,sBAAsB,uBAAuB,KAAC;IAG1F,AADI,iBAA+B,EAC7B;;;IARE,cAAyF;IAGzF,AADA,AADA,AADA,+GAAyF,uEAC1B,+DACR,sBAClC;;;;IAqBzB,AADJ,2BAAK,uCAQI;IADD,AADA,4NAAY,6BAAsB,KAAC,yNAClB,0BAAmB,gBAAgB,uBAAuB,KAAC;IAGpF,AADI,iBAA+B,EAC7B;;;IARE,cAAmF;IAGnF,AADA,AADA,AADA,yGAAmF,iEAC1B,yDACR,sBAC5B;;;;IAqBzB,AADJ,2BAAK,uCAQI;IADD,AADA,4NAAY,6BAAsB,KAAC,yNAClB,0BAAmB,mBAAmB,uBAAuB,KAAC;IAGvF,AADI,iBAA+B,EAC7B;;;IARE,cAAuF;IAGvF,AADA,AADA,AADA,6GAAuF,qEAC1B,4DACT,sB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ACc,2DAC2B,0BAC7B;YACzB,cAYC;YAZD,8CAYC;;;ADpMI,qBAAqB;IANjC,aAAa,CAAC,iBAAiB,EAAE,cAAc,CAAC,CAAC,uCAAuC;GAM5E,qBAAqB,CAejC;;iFAfY,qBAAqB;cALjC,SAAS;6BACM,KAAK,YACP,mBAAmB;;kFAGpB,qBAAqB","sourcesContent":["import { Component } from '@angular/core';\nimport { MJAPIKeyEntity } 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: API Keys') // Tell MemberJunction about this class\n@Component({\n standalone: false,\n selector: 'gen-mjapikey-form',\n templateUrl: './mjapikey.form.component.html'\n})\nexport class MJAPIKeyFormComponent extends BaseFormComponent {\n public record!: MJAPIKeyEntity;\n\n override async ngOnInit() {\n await super.ngOnInit();\n this.initSections([\n { sectionKey: 'keyInformation', sectionName: 'Key Information', isExpanded: true },\n { sectionKey: 'ownership', sectionName: 'Ownership', isExpanded: true },\n { sectionKey: 'statusUsage', sectionName: 'Status & Usage', isExpanded: false },\n { sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },\n { sectionKey: 'mJAPIKeyApplications', sectionName: 'API Key Applications', isExpanded: false },\n { sectionKey: 'mJAPIKeyScopes', sectionName: 'API Key Scopes', isExpanded: false },\n { sectionKey: 'mJAPIKeyUsageLogs', sectionName: 'API Key Usage 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 <!-- Key Information Section -->\n <mj-collapsible-panel\n SectionKey=\"keyInformation\"\n SectionName=\"Key Information\"\n Icon=\"fa fa-key\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Hash\"\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=\"Label\"\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 <!-- Ownership Section -->\n <mj-collapsible-panel\n SectionKey=\"ownership\"\n SectionName=\"Ownership\"\n Icon=\"fa fa-user\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\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=\"CreatedByUserID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Status & Usage Section -->\n <mj-collapsible-panel\n SectionKey=\"statusUsage\"\n SectionName=\"Status & Usage\"\n Icon=\"fa fa-flag\"\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=\"ExpiresAt\"\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=\"LastUsedAt\"\n Type=\"datepicker\"\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 <!-- API Key Applications Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAPIKeyApplications\"\n SectionName=\"API Key Applications\"\n Icon=\"fa fa-key\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAPIKeyApplications')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: API Key Applications','APIKeyID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: API Key Applications')\"\n [AllowLoad]=\"IsSectionExpanded('mJAPIKeyApplications')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAPIKeyApplications', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- API Key Scopes Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAPIKeyScopes\"\n SectionName=\"API Key Scopes\"\n Icon=\"fa fa-key\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAPIKeyScopes')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: API Key Scopes','APIKeyID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: API Key Scopes')\"\n [AllowLoad]=\"IsSectionExpanded('mJAPIKeyScopes')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAPIKeyScopes', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- API Key Usage Logs Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAPIKeyUsageLogs\"\n SectionName=\"API Key Usage Logs\"\n Icon=\"fa fa-key\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAPIKeyUsageLogs')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: API Key Usage Logs','APIKeyID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: API Key Usage Logs')\"\n [AllowLoad]=\"IsSectionExpanded('mJAPIKeyUsageLogs')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAPIKeyUsageLogs', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n</mj-record-form-container>\n "]}
|