@memberjunction/ng-core-entity-forms 6.1.0-edge.6 → 6.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/dist/lib/generated/Entities/MJAIAgent/mjaiagent.form.component.js +87 -73
  2. package/dist/lib/generated/Entities/MJAIAgent/mjaiagent.form.component.js.map +1 -1
  3. package/dist/lib/generated/Entities/MJAIAgentAction/mjaiagentaction.form.component.js +10 -8
  4. package/dist/lib/generated/Entities/MJAIAgentAction/mjaiagentaction.form.component.js.map +1 -1
  5. package/dist/lib/generated/Entities/MJAIAgentPersona/mjaiagentpersona.form.component.d.ts +10 -0
  6. package/dist/lib/generated/Entities/MJAIAgentPersona/mjaiagentpersona.form.component.d.ts.map +1 -0
  7. package/dist/lib/generated/Entities/MJAIAgentPersona/mjaiagentpersona.form.component.js +78 -0
  8. package/dist/lib/generated/Entities/MJAIAgentPersona/mjaiagentpersona.form.component.js.map +1 -0
  9. package/dist/lib/generated/Entities/MJAIAgentRunStep/mjaiagentrunstep.form.component.d.ts.map +1 -1
  10. package/dist/lib/generated/Entities/MJAIAgentRunStep/mjaiagentrunstep.form.component.js +37 -35
  11. package/dist/lib/generated/Entities/MJAIAgentRunStep/mjaiagentrunstep.form.component.js.map +1 -1
  12. package/dist/lib/generated/Entities/MJAIModality/mjaimodality.form.component.d.ts.map +1 -1
  13. package/dist/lib/generated/Entities/MJAIModality/mjaimodality.form.component.js +29 -11
  14. package/dist/lib/generated/Entities/MJAIModality/mjaimodality.form.component.js.map +1 -1
  15. package/dist/lib/generated/Entities/MJAIModel/mjaimodel.form.component.d.ts.map +1 -1
  16. package/dist/lib/generated/Entities/MJAIModel/mjaimodel.form.component.js +49 -31
  17. package/dist/lib/generated/Entities/MJAIModel/mjaimodel.form.component.js.map +1 -1
  18. package/dist/lib/generated/Entities/MJAIModelPersona/mjaimodelpersona.form.component.d.ts +10 -0
  19. package/dist/lib/generated/Entities/MJAIModelPersona/mjaimodelpersona.form.component.d.ts.map +1 -0
  20. package/dist/lib/generated/Entities/MJAIModelPersona/mjaimodelpersona.form.component.js +74 -0
  21. package/dist/lib/generated/Entities/MJAIModelPersona/mjaimodelpersona.form.component.js.map +1 -0
  22. package/dist/lib/generated/Entities/MJAIPersona/mjaipersona.form.component.d.ts +10 -0
  23. package/dist/lib/generated/Entities/MJAIPersona/mjaipersona.form.component.d.ts.map +1 -0
  24. package/dist/lib/generated/Entities/MJAIPersona/mjaipersona.form.component.js +161 -0
  25. package/dist/lib/generated/Entities/MJAIPersona/mjaipersona.form.component.js.map +1 -0
  26. package/dist/lib/generated/Entities/MJAIPersonaVendor/mjaipersonavendor.form.component.d.ts +10 -0
  27. package/dist/lib/generated/Entities/MJAIPersonaVendor/mjaipersonavendor.form.component.d.ts.map +1 -0
  28. package/dist/lib/generated/Entities/MJAIPersonaVendor/mjaipersonavendor.form.component.js +80 -0
  29. package/dist/lib/generated/Entities/MJAIPersonaVendor/mjaipersonavendor.form.component.js.map +1 -0
  30. package/dist/lib/generated/Entities/MJAIPrompt/mjaiprompt.form.component.js +147 -145
  31. package/dist/lib/generated/Entities/MJAIPrompt/mjaiprompt.form.component.js.map +1 -1
  32. package/dist/lib/generated/Entities/MJAIPromptModel/mjaipromptmodel.form.component.d.ts.map +1 -1
  33. package/dist/lib/generated/Entities/MJAIPromptModel/mjaipromptmodel.form.component.js +8 -12
  34. package/dist/lib/generated/Entities/MJAIPromptModel/mjaipromptmodel.form.component.js.map +1 -1
  35. package/dist/lib/generated/Entities/MJAIPromptRun/mjaipromptrun.form.component.d.ts.map +1 -1
  36. package/dist/lib/generated/Entities/MJAIPromptRun/mjaipromptrun.form.component.js +20 -24
  37. package/dist/lib/generated/Entities/MJAIPromptRun/mjaipromptrun.form.component.js.map +1 -1
  38. package/dist/lib/generated/Entities/MJAISkillAction/mjaiskillaction.form.component.js +8 -6
  39. package/dist/lib/generated/Entities/MJAISkillAction/mjaiskillaction.form.component.js.map +1 -1
  40. package/dist/lib/generated/Entities/MJAIVendor/mjaivendor.form.component.d.ts.map +1 -1
  41. package/dist/lib/generated/Entities/MJAIVendor/mjaivendor.form.component.js +32 -14
  42. package/dist/lib/generated/Entities/MJAIVendor/mjaivendor.form.component.js.map +1 -1
  43. package/dist/lib/generated/Entities/MJEntity/mjentity.form.component.js +483 -481
  44. package/dist/lib/generated/Entities/MJEntity/mjentity.form.component.js.map +1 -1
  45. package/dist/lib/generated/Entities/MJEntityField/mjentityfield.form.component.d.ts.map +1 -1
  46. package/dist/lib/generated/Entities/MJEntityField/mjentityfield.form.component.js +23 -5
  47. package/dist/lib/generated/Entities/MJEntityField/mjentityfield.form.component.js.map +1 -1
  48. package/dist/lib/generated/Entities/MJEntityFieldPermission/mjentityfieldpermission.form.component.d.ts +10 -0
  49. package/dist/lib/generated/Entities/MJEntityFieldPermission/mjentityfieldpermission.form.component.d.ts.map +1 -0
  50. package/dist/lib/generated/Entities/MJEntityFieldPermission/mjentityfieldpermission.form.component.js +76 -0
  51. package/dist/lib/generated/Entities/MJEntityFieldPermission/mjentityfieldpermission.form.component.js.map +1 -0
  52. package/dist/lib/generated/Entities/MJRole/mjrole.form.component.d.ts.map +1 -1
  53. package/dist/lib/generated/Entities/MJRole/mjrole.form.component.js +38 -20
  54. package/dist/lib/generated/Entities/MJRole/mjrole.form.component.js.map +1 -1
  55. package/dist/lib/generated/generated-forms.module.d.ts +251 -246
  56. package/dist/lib/generated/generated-forms.module.d.ts.map +1 -1
  57. package/dist/lib/generated/generated-forms.module.js +16 -1
  58. package/dist/lib/generated/generated-forms.module.js.map +1 -1
  59. package/package.json +41 -41
@@ -11,7 +11,7 @@ import * as i0 from "@angular/core";
11
11
  import * as i1 from "@memberjunction/ng-base-forms";
12
12
  function MJAIModalityFormComponent_Conditional_17_Template(rf, ctx) { if (rf & 1) {
13
13
  const _r1 = i0.ɵɵgetCurrentView();
14
- i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 24);
14
+ i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 25);
15
15
  i0.ɵɵlistener("Navigate", function MJAIModalityFormComponent_Conditional_17_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function MJAIModalityFormComponent_Conditional_17_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJAIAgentModalities", $event.totalRowCount)); });
16
16
  i0.ɵɵelementEnd()();
17
17
  } if (rf & 2) {
@@ -21,7 +21,7 @@ function MJAIModalityFormComponent_Conditional_17_Template(rf, ctx) { if (rf & 1
21
21
  } }
22
22
  function MJAIModalityFormComponent_Conditional_19_Template(rf, ctx) { if (rf & 1) {
23
23
  const _r3 = i0.ɵɵgetCurrentView();
24
- i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 24);
24
+ i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 25);
25
25
  i0.ɵɵlistener("Navigate", function MJAIModalityFormComponent_Conditional_19_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 MJAIModalityFormComponent_Conditional_19_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJAIModelModalities", $event.totalRowCount)); });
26
26
  i0.ɵɵelementEnd()();
27
27
  } if (rf & 2) {
@@ -31,7 +31,7 @@ function MJAIModalityFormComponent_Conditional_19_Template(rf, ctx) { if (rf & 1
31
31
  } }
32
32
  function MJAIModalityFormComponent_Conditional_21_Template(rf, ctx) { if (rf & 1) {
33
33
  const _r4 = i0.ɵɵgetCurrentView();
34
- i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 24);
34
+ i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 25);
35
35
  i0.ɵɵlistener("Navigate", function MJAIModalityFormComponent_Conditional_21_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 MJAIModalityFormComponent_Conditional_21_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJAIModelTypesDefaultInputModalityID", $event.totalRowCount)); });
36
36
  i0.ɵɵelementEnd()();
37
37
  } if (rf & 2) {
@@ -41,7 +41,7 @@ function MJAIModalityFormComponent_Conditional_21_Template(rf, ctx) { if (rf & 1
41
41
  } }
42
42
  function MJAIModalityFormComponent_Conditional_23_Template(rf, ctx) { if (rf & 1) {
43
43
  const _r5 = i0.ɵɵgetCurrentView();
44
- i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 24);
44
+ i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 25);
45
45
  i0.ɵɵlistener("Navigate", function MJAIModalityFormComponent_Conditional_23_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 MJAIModalityFormComponent_Conditional_23_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJAIPromptRunMedias", $event.totalRowCount)); });
46
46
  i0.ɵɵelementEnd()();
47
47
  } if (rf & 2) {
@@ -51,7 +51,7 @@ function MJAIModalityFormComponent_Conditional_23_Template(rf, ctx) { if (rf & 1
51
51
  } }
52
52
  function MJAIModalityFormComponent_Conditional_25_Template(rf, ctx) { if (rf & 1) {
53
53
  const _r6 = i0.ɵɵgetCurrentView();
54
- i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 24);
54
+ i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 25);
55
55
  i0.ɵɵlistener("Navigate", function MJAIModalityFormComponent_Conditional_25_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 MJAIModalityFormComponent_Conditional_25_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJConversationDetailAttachments", $event.totalRowCount)); });
56
56
  i0.ɵɵelementEnd()();
57
57
  } if (rf & 2) {
@@ -61,7 +61,7 @@ function MJAIModalityFormComponent_Conditional_25_Template(rf, ctx) { if (rf & 1
61
61
  } }
62
62
  function MJAIModalityFormComponent_Conditional_27_Template(rf, ctx) { if (rf & 1) {
63
63
  const _r7 = i0.ɵɵgetCurrentView();
64
- i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 24);
64
+ i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 25);
65
65
  i0.ɵɵlistener("Navigate", function MJAIModalityFormComponent_Conditional_27_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 MJAIModalityFormComponent_Conditional_27_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJAIAgentRunMedias", $event.totalRowCount)); });
66
66
  i0.ɵɵelementEnd()();
67
67
  } if (rf & 2) {
@@ -71,7 +71,7 @@ function MJAIModalityFormComponent_Conditional_27_Template(rf, ctx) { if (rf & 1
71
71
  } }
72
72
  function MJAIModalityFormComponent_Conditional_29_Template(rf, ctx) { if (rf & 1) {
73
73
  const _r8 = i0.ɵɵgetCurrentView();
74
- i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 24);
74
+ i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 25);
75
75
  i0.ɵɵlistener("Navigate", function MJAIModalityFormComponent_Conditional_29_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 MJAIModalityFormComponent_Conditional_29_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJAIModelTypesDefaultOutputModalityID", $event.totalRowCount)); });
76
76
  i0.ɵɵelementEnd()();
77
77
  } if (rf & 2) {
@@ -79,6 +79,16 @@ function MJAIModalityFormComponent_Conditional_29_Template(rf, ctx) { if (rf & 1
79
79
  i0.ɵɵadvance();
80
80
  i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: AI Model Types", "DefaultOutputModalityID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: AI Model Types", "DefaultOutputModalityID"))("AllowLoad", ctx_r1.IsSectionExpanded("mJAIModelTypesDefaultOutputModalityID"))("ShowToolbar", true);
81
81
  } }
82
+ function MJAIModalityFormComponent_Conditional_31_Template(rf, ctx) { if (rf & 1) {
83
+ const _r9 = i0.ɵɵgetCurrentView();
84
+ i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 25);
85
+ i0.ɵɵlistener("Navigate", function MJAIModalityFormComponent_Conditional_31_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r9); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function MJAIModalityFormComponent_Conditional_31_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r9); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJAIPersonaVendors", $event.totalRowCount)); });
86
+ i0.ɵɵelementEnd()();
87
+ } if (rf & 2) {
88
+ const ctx_r1 = i0.ɵɵnextContext();
89
+ i0.ɵɵadvance();
90
+ i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: AI Persona Vendors", "ModalityID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: AI Persona Vendors", "ModalityID"))("AllowLoad", ctx_r1.IsSectionExpanded("mJAIPersonaVendors"))("ShowToolbar", true);
91
+ } }
82
92
  let MJAIModalityFormComponent = class MJAIModalityFormComponent extends BaseFormComponent {
83
93
  async ngOnInit() {
84
94
  await super.ngOnInit();
@@ -92,11 +102,12 @@ let MJAIModalityFormComponent = class MJAIModalityFormComponent extends BaseForm
92
102
  { sectionKey: 'mJAIPromptRunMedias', sectionName: 'AI Prompt Run Medias', isExpanded: false },
93
103
  { sectionKey: 'mJConversationDetailAttachments', sectionName: 'Conversation Detail Attachments', isExpanded: false },
94
104
  { sectionKey: 'mJAIAgentRunMedias', sectionName: 'AI Agent Run Medias', isExpanded: false },
95
- { sectionKey: 'mJAIModelTypesDefaultOutputModalityID', sectionName: 'AI Model Types', isExpanded: false }
105
+ { sectionKey: 'mJAIModelTypesDefaultOutputModalityID', sectionName: 'AI Model Types', isExpanded: false },
106
+ { sectionKey: 'mJAIPersonaVendors', sectionName: 'AI Persona Vendors', isExpanded: false }
96
107
  ]);
97
108
  }
98
109
  static { this.ɵfac = /*@__PURE__*/ (() => { let ɵMJAIModalityFormComponent_BaseFactory; return function MJAIModalityFormComponent_Factory(__ngFactoryType__) { return (ɵMJAIModalityFormComponent_BaseFactory || (ɵMJAIModalityFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(MJAIModalityFormComponent)))(__ngFactoryType__ || MJAIModalityFormComponent); }; })(); }
99
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJAIModalityFormComponent, selectors: [["gen-mjaimodality-form"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 31, vars: 98, consts: [[3, "Navigate", "DeleteRequested", "FavoriteToggled", "HistoryRequested", "ListManagementRequested", "Record", "FormComponent"], ["Slot", "before-fields", 3, "Entity", "Record", "FormComponent", "FormContext"], ["SectionKey", "modalityDefinition", "SectionName", "Modality Definition", "Icon", "fa fa-cube", 3, "Form", "FormContext"], ["FieldName", "Name", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Description", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "ContentBlockType", "Type", "select", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Type", "Type", "select", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "DisplayOrder", "Type", "number", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "technicalConstraints", "SectionName", "Technical Constraints", "Icon", "fa fa-cogs", 3, "Form", "FormContext"], ["FieldName", "MIMETypePattern", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "DefaultMaxSizeBytes", "Type", "number", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "DefaultMaxCountPerMessage", "Type", "number", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "systemMetadata", "SectionName", "System Metadata", "Icon", "fa fa-cog", 3, "Form", "FormContext"], ["FieldName", "__mj_CreatedAt", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "__mj_UpdatedAt", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["Slot", "after-fields", 3, "Entity", "Record", "FormComponent", "FormContext"], ["SectionKey", "mJAIAgentModalities", "SectionName", "AI Agent Modalities", "Icon", "fa fa-robot", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJAIModelModalities", "SectionName", "AI Model Modalities", "Icon", "fa fa-brain", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJAIModelTypesDefaultInputModalityID", "SectionName", "AI Model Types", "Icon", "fa fa-robot", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJAIPromptRunMedias", "SectionName", "AI Prompt Run Medias", "Icon", "fa fa-image", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJConversationDetailAttachments", "SectionName", "Conversation Detail Attachments", "Icon", "fa fa-paperclip", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJAIAgentRunMedias", "SectionName", "AI Agent Run Medias", "Icon", "fa fa-robot", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJAIModelTypesDefaultOutputModalityID", "SectionName", "AI Model Types", "Icon", "fa fa-robot", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["Slot", "after-related", 3, "Entity", "Record", "FormComponent", "FormContext"], [3, "Navigate", "AfterDataLoad", "Params", "NewRecordValues", "AllowLoad", "ShowToolbar"]], template: function MJAIModalityFormComponent_Template(rf, ctx) { if (rf & 1) {
110
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJAIModalityFormComponent, selectors: [["gen-mjaimodality-form"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 33, vars: 103, consts: [[3, "Navigate", "DeleteRequested", "FavoriteToggled", "HistoryRequested", "ListManagementRequested", "Record", "FormComponent"], ["Slot", "before-fields", 3, "Entity", "Record", "FormComponent", "FormContext"], ["SectionKey", "modalityDefinition", "SectionName", "Modality Definition", "Icon", "fa fa-cube", 3, "Form", "FormContext"], ["FieldName", "Name", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Description", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "ContentBlockType", "Type", "select", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Type", "Type", "select", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "DisplayOrder", "Type", "number", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "technicalConstraints", "SectionName", "Technical Constraints", "Icon", "fa fa-cogs", 3, "Form", "FormContext"], ["FieldName", "MIMETypePattern", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "DefaultMaxSizeBytes", "Type", "number", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "DefaultMaxCountPerMessage", "Type", "number", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "systemMetadata", "SectionName", "System Metadata", "Icon", "fa fa-cog", 3, "Form", "FormContext"], ["FieldName", "__mj_CreatedAt", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "__mj_UpdatedAt", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["Slot", "after-fields", 3, "Entity", "Record", "FormComponent", "FormContext"], ["SectionKey", "mJAIAgentModalities", "SectionName", "AI Agent Modalities", "Icon", "fa fa-robot", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJAIModelModalities", "SectionName", "AI Model Modalities", "Icon", "fa fa-brain", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJAIModelTypesDefaultInputModalityID", "SectionName", "AI Model Types", "Icon", "fa fa-robot", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJAIPromptRunMedias", "SectionName", "AI Prompt Run Medias", "Icon", "fa fa-image", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJConversationDetailAttachments", "SectionName", "Conversation Detail Attachments", "Icon", "fa fa-paperclip", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJAIAgentRunMedias", "SectionName", "AI Agent Run Medias", "Icon", "fa fa-robot", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJAIModelTypesDefaultOutputModalityID", "SectionName", "AI Model Types", "Icon", "fa fa-robot", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJAIPersonaVendors", "SectionName", "AI Persona Vendors", "Icon", "fa fa-robot", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["Slot", "after-related", 3, "Entity", "Record", "FormComponent", "FormContext"], [3, "Navigate", "AfterDataLoad", "Params", "NewRecordValues", "AllowLoad", "ShowToolbar"]], template: function MJAIModalityFormComponent_Template(rf, ctx) { if (rf & 1) {
100
111
  i0.ɵɵelementStart(0, "mj-record-form-container", 0);
101
112
  i0.ɵɵlistener("Navigate", function MJAIModalityFormComponent_Template_mj_record_form_container_Navigate_0_listener($event) { return ctx.OnFormNavigate($event); })("DeleteRequested", function MJAIModalityFormComponent_Template_mj_record_form_container_DeleteRequested_0_listener() { return ctx.OnDeleteRequested(); })("FavoriteToggled", function MJAIModalityFormComponent_Template_mj_record_form_container_FavoriteToggled_0_listener() { return ctx.OnFavoriteToggled(); })("HistoryRequested", function MJAIModalityFormComponent_Template_mj_record_form_container_HistoryRequested_0_listener() { return ctx.OnHistoryRequested(); })("ListManagementRequested", function MJAIModalityFormComponent_Template_mj_record_form_container_ListManagementRequested_0_listener() { return ctx.OnListManagementRequested(); });
102
113
  i0.ɵɵelement(1, "mj-form-panel-slot", 1);
@@ -131,7 +142,10 @@ let MJAIModalityFormComponent = class MJAIModalityFormComponent extends BaseForm
131
142
  i0.ɵɵelementStart(28, "mj-collapsible-panel", 22);
132
143
  i0.ɵɵconditionalCreate(29, MJAIModalityFormComponent_Conditional_29_Template, 2, 4, "div");
133
144
  i0.ɵɵelementEnd();
134
- i0.ɵɵelement(30, "mj-form-panel-slot", 23);
145
+ i0.ɵɵelementStart(30, "mj-collapsible-panel", 23);
146
+ i0.ɵɵconditionalCreate(31, MJAIModalityFormComponent_Conditional_31_Template, 2, 4, "div");
147
+ i0.ɵɵelementEnd();
148
+ i0.ɵɵelement(32, "mj-form-panel-slot", 24);
135
149
  i0.ɵɵelementEnd();
136
150
  } if (rf & 2) {
137
151
  i0.ɵɵproperty("Record", ctx.record)("FormComponent", ctx);
@@ -194,6 +208,10 @@ let MJAIModalityFormComponent = class MJAIModalityFormComponent extends BaseForm
194
208
  i0.ɵɵadvance();
195
209
  i0.ɵɵconditional(ctx.record.IsSaved ? 29 : -1);
196
210
  i0.ɵɵadvance();
211
+ i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJAIPersonaVendors"))("DefaultExpanded", false);
212
+ i0.ɵɵadvance();
213
+ i0.ɵɵconditional(ctx.record.IsSaved ? 31 : -1);
214
+ i0.ɵɵadvance();
197
215
  i0.ɵɵproperty("Entity", i0.ɵɵinterpolate(ctx.record.EntityInfo.Name))("Record", ctx.record)("FormComponent", ctx)("FormContext", ctx.formContext);
198
216
  } }, dependencies: [i1.MjFormFieldComponent, i1.MjCollapsiblePanelComponent, i1.MjRecordFormContainerComponent, i1.ExplorerEntityDataGridComponent, i1.FormPanelSlotComponent], encapsulation: 2 }); }
199
217
  };
@@ -203,7 +221,7 @@ MJAIModalityFormComponent = __decorate([
203
221
  export { MJAIModalityFormComponent };
204
222
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MJAIModalityFormComponent, [{
205
223
  type: Component,
206
- args: [{ standalone: false, selector: 'gen-mjaimodality-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 <mj-form-panel-slot Entity=\"{{record.EntityInfo.Name}}\" Slot=\"before-fields\" [Record]=\"record\" [FormComponent]=\"this\" [FormContext]=\"formContext\"></mj-form-panel-slot>\n\n <!-- ========================================\n FIELD PANELS\n ======================================== -->\n <!-- Modality Definition Section -->\n <mj-collapsible-panel\n SectionKey=\"modalityDefinition\"\n SectionName=\"Modality Definition\"\n Icon=\"fa fa-cube\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Name\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Description\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ContentBlockType\"\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=\"Type\"\n Type=\"select\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"DisplayOrder\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Technical Constraints Section -->\n <mj-collapsible-panel\n SectionKey=\"technicalConstraints\"\n SectionName=\"Technical Constraints\"\n Icon=\"fa fa-cogs\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"MIMETypePattern\"\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=\"DefaultMaxSizeBytes\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"DefaultMaxCountPerMessage\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- System Metadata Section -->\n <mj-collapsible-panel\n SectionKey=\"systemMetadata\"\n SectionName=\"System Metadata\"\n Icon=\"fa fa-cog\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_CreatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_UpdatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <mj-form-panel-slot Entity=\"{{record.EntityInfo.Name}}\" Slot=\"after-fields\" [Record]=\"record\" [FormComponent]=\"this\" [FormContext]=\"formContext\"></mj-form-panel-slot>\n\n <!-- ========================================\n RELATED ENTITY PANELS\n ======================================== -->\n\n <!-- AI Agent Modalities Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAIAgentModalities\"\n SectionName=\"AI Agent Modalities\"\n Icon=\"fa fa-robot\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAIAgentModalities')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Agent Modalities','ModalityID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Agent Modalities','ModalityID')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIAgentModalities')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAIAgentModalities', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- AI Model Modalities Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAIModelModalities\"\n SectionName=\"AI Model Modalities\"\n Icon=\"fa fa-brain\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAIModelModalities')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Model Modalities','ModalityID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Model Modalities','ModalityID')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIModelModalities')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAIModelModalities', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- AI Model Types Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAIModelTypesDefaultInputModalityID\"\n SectionName=\"AI Model Types\"\n Icon=\"fa fa-robot\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAIModelTypesDefaultInputModalityID')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Model Types','DefaultInputModalityID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Model Types','DefaultInputModalityID')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIModelTypesDefaultInputModalityID')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAIModelTypesDefaultInputModalityID', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- AI Prompt Run Medias Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAIPromptRunMedias\"\n SectionName=\"AI Prompt Run Medias\"\n Icon=\"fa fa-image\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAIPromptRunMedias')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Prompt Run Medias','ModalityID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Prompt Run Medias','ModalityID')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIPromptRunMedias')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAIPromptRunMedias', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Conversation Detail Attachments Section -->\n <mj-collapsible-panel\n SectionKey=\"mJConversationDetailAttachments\"\n SectionName=\"Conversation Detail Attachments\"\n Icon=\"fa fa-paperclip\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJConversationDetailAttachments')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Conversation Detail Attachments','ModalityID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Conversation Detail Attachments','ModalityID')\"\n [AllowLoad]=\"IsSectionExpanded('mJConversationDetailAttachments')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJConversationDetailAttachments', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- AI Agent Run Medias Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAIAgentRunMedias\"\n SectionName=\"AI Agent Run Medias\"\n Icon=\"fa fa-robot\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAIAgentRunMedias')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Agent Run Medias','ModalityID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Agent Run Medias','ModalityID')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIAgentRunMedias')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAIAgentRunMedias', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- AI Model Types Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAIModelTypesDefaultOutputModalityID\"\n SectionName=\"AI Model Types\"\n Icon=\"fa fa-robot\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAIModelTypesDefaultOutputModalityID')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Model Types','DefaultOutputModalityID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Model Types','DefaultOutputModalityID')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIModelTypesDefaultOutputModalityID')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAIModelTypesDefaultOutputModalityID', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <mj-form-panel-slot Entity=\"{{record.EntityInfo.Name}}\" Slot=\"after-related\" [Record]=\"record\" [FormComponent]=\"this\" [FormContext]=\"formContext\"></mj-form-panel-slot>\n</mj-record-form-container>\n " }]
224
+ args: [{ standalone: false, selector: 'gen-mjaimodality-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 <mj-form-panel-slot Entity=\"{{record.EntityInfo.Name}}\" Slot=\"before-fields\" [Record]=\"record\" [FormComponent]=\"this\" [FormContext]=\"formContext\"></mj-form-panel-slot>\n\n <!-- ========================================\n FIELD PANELS\n ======================================== -->\n <!-- Modality Definition Section -->\n <mj-collapsible-panel\n SectionKey=\"modalityDefinition\"\n SectionName=\"Modality Definition\"\n Icon=\"fa fa-cube\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Name\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Description\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ContentBlockType\"\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=\"Type\"\n Type=\"select\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"DisplayOrder\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Technical Constraints Section -->\n <mj-collapsible-panel\n SectionKey=\"technicalConstraints\"\n SectionName=\"Technical Constraints\"\n Icon=\"fa fa-cogs\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"MIMETypePattern\"\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=\"DefaultMaxSizeBytes\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"DefaultMaxCountPerMessage\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- System Metadata Section -->\n <mj-collapsible-panel\n SectionKey=\"systemMetadata\"\n SectionName=\"System Metadata\"\n Icon=\"fa fa-cog\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_CreatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_UpdatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <mj-form-panel-slot Entity=\"{{record.EntityInfo.Name}}\" Slot=\"after-fields\" [Record]=\"record\" [FormComponent]=\"this\" [FormContext]=\"formContext\"></mj-form-panel-slot>\n\n <!-- ========================================\n RELATED ENTITY PANELS\n ======================================== -->\n\n <!-- AI Agent Modalities Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAIAgentModalities\"\n SectionName=\"AI Agent Modalities\"\n Icon=\"fa fa-robot\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAIAgentModalities')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Agent Modalities','ModalityID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Agent Modalities','ModalityID')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIAgentModalities')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAIAgentModalities', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- AI Model Modalities Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAIModelModalities\"\n SectionName=\"AI Model Modalities\"\n Icon=\"fa fa-brain\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAIModelModalities')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Model Modalities','ModalityID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Model Modalities','ModalityID')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIModelModalities')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAIModelModalities', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- AI Model Types Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAIModelTypesDefaultInputModalityID\"\n SectionName=\"AI Model Types\"\n Icon=\"fa fa-robot\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAIModelTypesDefaultInputModalityID')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Model Types','DefaultInputModalityID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Model Types','DefaultInputModalityID')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIModelTypesDefaultInputModalityID')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAIModelTypesDefaultInputModalityID', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- AI Prompt Run Medias Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAIPromptRunMedias\"\n SectionName=\"AI Prompt Run Medias\"\n Icon=\"fa fa-image\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAIPromptRunMedias')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Prompt Run Medias','ModalityID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Prompt Run Medias','ModalityID')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIPromptRunMedias')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAIPromptRunMedias', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Conversation Detail Attachments Section -->\n <mj-collapsible-panel\n SectionKey=\"mJConversationDetailAttachments\"\n SectionName=\"Conversation Detail Attachments\"\n Icon=\"fa fa-paperclip\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJConversationDetailAttachments')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Conversation Detail Attachments','ModalityID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Conversation Detail Attachments','ModalityID')\"\n [AllowLoad]=\"IsSectionExpanded('mJConversationDetailAttachments')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJConversationDetailAttachments', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- AI Agent Run Medias Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAIAgentRunMedias\"\n SectionName=\"AI Agent Run Medias\"\n Icon=\"fa fa-robot\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAIAgentRunMedias')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Agent Run Medias','ModalityID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Agent Run Medias','ModalityID')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIAgentRunMedias')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAIAgentRunMedias', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- AI Model Types Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAIModelTypesDefaultOutputModalityID\"\n SectionName=\"AI Model Types\"\n Icon=\"fa fa-robot\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAIModelTypesDefaultOutputModalityID')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Model Types','DefaultOutputModalityID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Model Types','DefaultOutputModalityID')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIModelTypesDefaultOutputModalityID')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAIModelTypesDefaultOutputModalityID', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- AI Persona Vendors Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAIPersonaVendors\"\n SectionName=\"AI Persona Vendors\"\n Icon=\"fa fa-robot\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAIPersonaVendors')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Persona Vendors','ModalityID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Persona Vendors','ModalityID')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIPersonaVendors')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAIPersonaVendors', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <mj-form-panel-slot Entity=\"{{record.EntityInfo.Name}}\" Slot=\"after-related\" [Record]=\"record\" [FormComponent]=\"this\" [FormContext]=\"formContext\"></mj-form-panel-slot>\n</mj-record-form-container>\n " }]
207
225
  }], null, null); })();
208
226
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MJAIModalityFormComponent, { className: "MJAIModalityFormComponent", filePath: "src/lib/generated/Entities/MJAIModality/mjaimodality.form.component.ts", lineNumber: 13 }); })();
209
227
  //# sourceMappingURL=mjaimodality.form.component.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"mjaimodality.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJAIModality/mjaimodality.form.component.ts","../../../../../src/lib/generated/Entities/MJAIModality/mjaimodality.form.component.html"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAA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,AADA,0BAAa,gCACc,+EAC+C,0BACjD;YACzB,cAYC;YAZD,8CAYC;YAGe,cAAmC;YAA+D,AAAvB,AAAlB,AAAzD,wBAAA,4CAAmC,CAAA,sBAAuC,sBAAuB,gCAA4B;;;ADnSxI,yBAAyB;IANrC,aAAa,CAAC,iBAAiB,EAAE,mBAAmB,CAAC,CAAC,uCAAuC;GAMjF,yBAAyB,CAkBrC;;iFAlBY,yBAAyB;cALrC,SAAS;6BACM,KAAK,YACP,uBAAuB;;kFAGxB,yBAAyB","sourcesContent":["import { Component } from '@angular/core';\nimport { MJAIModalityEntity } 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 Modalities') // Tell MemberJunction about this class\n@Component({\n standalone: false,\n selector: 'gen-mjaimodality-form',\n templateUrl: './mjaimodality.form.component.html'\n})\nexport class MJAIModalityFormComponent extends BaseFormComponent {\n public record!: MJAIModalityEntity;\n\n override async ngOnInit() {\n await super.ngOnInit();\n this.initSections([\n { sectionKey: 'modalityDefinition', sectionName: 'Modality Definition', isExpanded: true },\n { sectionKey: 'technicalConstraints', sectionName: 'Technical Constraints', isExpanded: true },\n { sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },\n { sectionKey: 'mJAIAgentModalities', sectionName: 'AI Agent Modalities', isExpanded: false },\n { sectionKey: 'mJAIModelModalities', sectionName: 'AI Model Modalities', isExpanded: false },\n { sectionKey: 'mJAIModelTypesDefaultInputModalityID', sectionName: 'AI Model Types', isExpanded: false },\n { sectionKey: 'mJAIPromptRunMedias', sectionName: 'AI Prompt Run Medias', isExpanded: false },\n { sectionKey: 'mJConversationDetailAttachments', sectionName: 'Conversation Detail Attachments', isExpanded: false },\n { sectionKey: 'mJAIAgentRunMedias', sectionName: 'AI Agent Run Medias', isExpanded: false },\n { sectionKey: 'mJAIModelTypesDefaultOutputModalityID', sectionName: 'AI Model Types', isExpanded: false }\n ]);\n }\n}\n\n","<mj-record-form-container [Record]=\"record\" [FormComponent]=\"this\"\n (Navigate)=\"OnFormNavigate($event)\"\n (DeleteRequested)=\"OnDeleteRequested()\"\n (FavoriteToggled)=\"OnFavoriteToggled()\"\n (HistoryRequested)=\"OnHistoryRequested()\"\n (ListManagementRequested)=\"OnListManagementRequested()\">\n\n <mj-form-panel-slot Entity=\"{{record.EntityInfo.Name}}\" Slot=\"before-fields\" [Record]=\"record\" [FormComponent]=\"this\" [FormContext]=\"formContext\"></mj-form-panel-slot>\n\n <!-- ========================================\n FIELD PANELS\n ======================================== -->\n <!-- Modality Definition Section -->\n <mj-collapsible-panel\n SectionKey=\"modalityDefinition\"\n SectionName=\"Modality Definition\"\n Icon=\"fa fa-cube\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Name\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Description\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ContentBlockType\"\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=\"Type\"\n Type=\"select\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"DisplayOrder\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Technical Constraints Section -->\n <mj-collapsible-panel\n SectionKey=\"technicalConstraints\"\n SectionName=\"Technical Constraints\"\n Icon=\"fa fa-cogs\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"MIMETypePattern\"\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=\"DefaultMaxSizeBytes\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"DefaultMaxCountPerMessage\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- System Metadata Section -->\n <mj-collapsible-panel\n SectionKey=\"systemMetadata\"\n SectionName=\"System Metadata\"\n Icon=\"fa fa-cog\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_CreatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_UpdatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <mj-form-panel-slot Entity=\"{{record.EntityInfo.Name}}\" Slot=\"after-fields\" [Record]=\"record\" [FormComponent]=\"this\" [FormContext]=\"formContext\"></mj-form-panel-slot>\n\n <!-- ========================================\n RELATED ENTITY PANELS\n ======================================== -->\n\n <!-- AI Agent Modalities Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAIAgentModalities\"\n SectionName=\"AI Agent Modalities\"\n Icon=\"fa fa-robot\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAIAgentModalities')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Agent Modalities','ModalityID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Agent Modalities','ModalityID')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIAgentModalities')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAIAgentModalities', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- AI Model Modalities Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAIModelModalities\"\n SectionName=\"AI Model Modalities\"\n Icon=\"fa fa-brain\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAIModelModalities')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Model Modalities','ModalityID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Model Modalities','ModalityID')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIModelModalities')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAIModelModalities', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- AI Model Types Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAIModelTypesDefaultInputModalityID\"\n SectionName=\"AI Model Types\"\n Icon=\"fa fa-robot\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAIModelTypesDefaultInputModalityID')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Model Types','DefaultInputModalityID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Model Types','DefaultInputModalityID')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIModelTypesDefaultInputModalityID')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAIModelTypesDefaultInputModalityID', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- AI Prompt Run Medias Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAIPromptRunMedias\"\n SectionName=\"AI Prompt Run Medias\"\n Icon=\"fa fa-image\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAIPromptRunMedias')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Prompt Run Medias','ModalityID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Prompt Run Medias','ModalityID')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIPromptRunMedias')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAIPromptRunMedias', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Conversation Detail Attachments Section -->\n <mj-collapsible-panel\n SectionKey=\"mJConversationDetailAttachments\"\n SectionName=\"Conversation Detail Attachments\"\n Icon=\"fa fa-paperclip\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJConversationDetailAttachments')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Conversation Detail Attachments','ModalityID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Conversation Detail Attachments','ModalityID')\"\n [AllowLoad]=\"IsSectionExpanded('mJConversationDetailAttachments')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJConversationDetailAttachments', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- AI Agent Run Medias Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAIAgentRunMedias\"\n SectionName=\"AI Agent Run Medias\"\n Icon=\"fa fa-robot\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAIAgentRunMedias')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Agent Run Medias','ModalityID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Agent Run Medias','ModalityID')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIAgentRunMedias')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAIAgentRunMedias', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- AI Model Types Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAIModelTypesDefaultOutputModalityID\"\n SectionName=\"AI Model Types\"\n Icon=\"fa fa-robot\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAIModelTypesDefaultOutputModalityID')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Model Types','DefaultOutputModalityID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Model Types','DefaultOutputModalityID')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIModelTypesDefaultOutputModalityID')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAIModelTypesDefaultOutputModalityID', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <mj-form-panel-slot Entity=\"{{record.EntityInfo.Name}}\" Slot=\"after-related\" [Record]=\"record\" [FormComponent]=\"this\" [FormContext]=\"formContext\"></mj-form-panel-slot>\n</mj-record-form-container>\n "]}
1
+ {"version":3,"file":"mjaimodality.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJAIModality/mjaimodality.form.component.ts","../../../../../src/lib/generated/Entities/MJAIModality/mjaimodality.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;;;;;ICyItD,AADJ,2BAAK,uCAQI;IADD,AADA,gOAAY,6BAAsB,KAAC,6NAClB,0BAAmB,qBAAqB,uBAAuB,KAAC;IAGzF,AADI,iBAA+B,EAC7B;;;IARE,cAA0F;IAG1F,AADA,AADA,AADA,gHAA0F,oFACf,8DACrB,qBAClC;;;;IAqBxB,AADJ,2BAAK,uCAQI;IADD,AADA,gOAAY,6BAAsB,KAAC,6NAClB,0BAAmB,qBAAqB,uBAAuB,KAAC;IAGzF,AADI,iBAA+B,EAC7B;;;IARE,cAA0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AYC;YAGe,cAAmC;YAA+D,AAAvB,AAAlB,AAAzD,wBAAA,4CAAmC,CAAA,sBAAuC,sBAAuB,gCAA4B;;;AD5TxI,yBAAyB;IANrC,aAAa,CAAC,iBAAiB,EAAE,mBAAmB,CAAC,CAAC,uCAAuC;GAMjF,yBAAyB,CAmBrC;;iFAnBY,yBAAyB;cALrC,SAAS;6BACM,KAAK,YACP,uBAAuB;;kFAGxB,yBAAyB","sourcesContent":["import { Component } from '@angular/core';\nimport { MJAIModalityEntity } 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 Modalities') // Tell MemberJunction about this class\n@Component({\n standalone: false,\n selector: 'gen-mjaimodality-form',\n templateUrl: './mjaimodality.form.component.html'\n})\nexport class MJAIModalityFormComponent extends BaseFormComponent {\n public record!: MJAIModalityEntity;\n\n override async ngOnInit() {\n await super.ngOnInit();\n this.initSections([\n { sectionKey: 'modalityDefinition', sectionName: 'Modality Definition', isExpanded: true },\n { sectionKey: 'technicalConstraints', sectionName: 'Technical Constraints', isExpanded: true },\n { sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },\n { sectionKey: 'mJAIAgentModalities', sectionName: 'AI Agent Modalities', isExpanded: false },\n { sectionKey: 'mJAIModelModalities', sectionName: 'AI Model Modalities', isExpanded: false },\n { sectionKey: 'mJAIModelTypesDefaultInputModalityID', sectionName: 'AI Model Types', isExpanded: false },\n { sectionKey: 'mJAIPromptRunMedias', sectionName: 'AI Prompt Run Medias', isExpanded: false },\n { sectionKey: 'mJConversationDetailAttachments', sectionName: 'Conversation Detail Attachments', isExpanded: false },\n { sectionKey: 'mJAIAgentRunMedias', sectionName: 'AI Agent Run Medias', isExpanded: false },\n { sectionKey: 'mJAIModelTypesDefaultOutputModalityID', sectionName: 'AI Model Types', isExpanded: false },\n { sectionKey: 'mJAIPersonaVendors', sectionName: 'AI Persona Vendors', 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 <mj-form-panel-slot Entity=\"{{record.EntityInfo.Name}}\" Slot=\"before-fields\" [Record]=\"record\" [FormComponent]=\"this\" [FormContext]=\"formContext\"></mj-form-panel-slot>\n\n <!-- ========================================\n FIELD PANELS\n ======================================== -->\n <!-- Modality Definition Section -->\n <mj-collapsible-panel\n SectionKey=\"modalityDefinition\"\n SectionName=\"Modality Definition\"\n Icon=\"fa fa-cube\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Name\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Description\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ContentBlockType\"\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=\"Type\"\n Type=\"select\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"DisplayOrder\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Technical Constraints Section -->\n <mj-collapsible-panel\n SectionKey=\"technicalConstraints\"\n SectionName=\"Technical Constraints\"\n Icon=\"fa fa-cogs\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"MIMETypePattern\"\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=\"DefaultMaxSizeBytes\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"DefaultMaxCountPerMessage\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- System Metadata Section -->\n <mj-collapsible-panel\n SectionKey=\"systemMetadata\"\n SectionName=\"System Metadata\"\n Icon=\"fa fa-cog\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_CreatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_UpdatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <mj-form-panel-slot Entity=\"{{record.EntityInfo.Name}}\" Slot=\"after-fields\" [Record]=\"record\" [FormComponent]=\"this\" [FormContext]=\"formContext\"></mj-form-panel-slot>\n\n <!-- ========================================\n RELATED ENTITY PANELS\n ======================================== -->\n\n <!-- AI Agent Modalities Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAIAgentModalities\"\n SectionName=\"AI Agent Modalities\"\n Icon=\"fa fa-robot\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAIAgentModalities')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Agent Modalities','ModalityID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Agent Modalities','ModalityID')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIAgentModalities')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAIAgentModalities', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- AI Model Modalities Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAIModelModalities\"\n SectionName=\"AI Model Modalities\"\n Icon=\"fa fa-brain\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAIModelModalities')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Model Modalities','ModalityID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Model Modalities','ModalityID')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIModelModalities')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAIModelModalities', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- AI Model Types Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAIModelTypesDefaultInputModalityID\"\n SectionName=\"AI Model Types\"\n Icon=\"fa fa-robot\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAIModelTypesDefaultInputModalityID')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Model Types','DefaultInputModalityID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Model Types','DefaultInputModalityID')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIModelTypesDefaultInputModalityID')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAIModelTypesDefaultInputModalityID', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- AI Prompt Run Medias Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAIPromptRunMedias\"\n SectionName=\"AI Prompt Run Medias\"\n Icon=\"fa fa-image\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAIPromptRunMedias')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Prompt Run Medias','ModalityID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Prompt Run Medias','ModalityID')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIPromptRunMedias')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAIPromptRunMedias', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Conversation Detail Attachments Section -->\n <mj-collapsible-panel\n SectionKey=\"mJConversationDetailAttachments\"\n SectionName=\"Conversation Detail Attachments\"\n Icon=\"fa fa-paperclip\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJConversationDetailAttachments')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Conversation Detail Attachments','ModalityID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Conversation Detail Attachments','ModalityID')\"\n [AllowLoad]=\"IsSectionExpanded('mJConversationDetailAttachments')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJConversationDetailAttachments', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- AI Agent Run Medias Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAIAgentRunMedias\"\n SectionName=\"AI Agent Run Medias\"\n Icon=\"fa fa-robot\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAIAgentRunMedias')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Agent Run Medias','ModalityID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Agent Run Medias','ModalityID')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIAgentRunMedias')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAIAgentRunMedias', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- AI Model Types Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAIModelTypesDefaultOutputModalityID\"\n SectionName=\"AI Model Types\"\n Icon=\"fa fa-robot\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAIModelTypesDefaultOutputModalityID')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Model Types','DefaultOutputModalityID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Model Types','DefaultOutputModalityID')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIModelTypesDefaultOutputModalityID')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAIModelTypesDefaultOutputModalityID', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- AI Persona Vendors Section -->\n <mj-collapsible-panel\n SectionKey=\"mJAIPersonaVendors\"\n SectionName=\"AI Persona Vendors\"\n Icon=\"fa fa-robot\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJAIPersonaVendors')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: AI Persona Vendors','ModalityID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: AI Persona Vendors','ModalityID')\"\n [AllowLoad]=\"IsSectionExpanded('mJAIPersonaVendors')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJAIPersonaVendors', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <mj-form-panel-slot Entity=\"{{record.EntityInfo.Name}}\" Slot=\"after-related\" [Record]=\"record\" [FormComponent]=\"this\" [FormContext]=\"formContext\"></mj-form-panel-slot>\n</mj-record-form-container>\n "]}
@@ -1 +1 @@
1
- {"version":3,"file":"mjaimodel.form.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJAIModel/mjaimodel.form.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAEhE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAGlE,qBAMa,sBAAuB,SAAQ,iBAAiB;IAClD,MAAM,EAAG,eAAe,CAAC;IAEjB,QAAQ;yCAHd,sBAAsB;2CAAtB,sBAAsB;CAuClC"}
1
+ {"version":3,"file":"mjaimodel.form.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJAIModel/mjaimodel.form.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAEhE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAGlE,qBAMa,sBAAuB,SAAQ,iBAAiB;IAClD,MAAM,EAAG,eAAe,CAAC;IAEjB,QAAQ;yCAHd,sBAAsB;2CAAtB,sBAAsB;CAwClC"}