@memberjunction/ng-core-entity-forms 5.21.0 → 5.22.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.
@@ -9,41 +9,59 @@ import { RegisterClass } from '@memberjunction/global';
9
9
  import { BaseFormComponent } from '@memberjunction/ng-base-forms';
10
10
  import * as i0 from "@angular/core";
11
11
  import * as i1 from "@memberjunction/ng-base-forms";
12
- function MJVectorIndexFormComponent_Conditional_11_Template(rf, ctx) { if (rf & 1) {
12
+ function MJVectorIndexFormComponent_Conditional_16_Template(rf, ctx) { if (rf & 1) {
13
13
  const _r1 = i0.ɵɵgetCurrentView();
14
- i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 11);
15
- i0.ɵɵlistener("Navigate", function MJVectorIndexFormComponent_Conditional_11_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 MJVectorIndexFormComponent_Conditional_11_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJEntityRecordDocuments", $event.totalRowCount)); });
14
+ i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 17);
15
+ i0.ɵɵlistener("Navigate", function MJVectorIndexFormComponent_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 MJVectorIndexFormComponent_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("mJEntityRecordDocuments", $event.totalRowCount)); });
16
16
  i0.ɵɵelementEnd()();
17
17
  } if (rf & 2) {
18
18
  const ctx_r1 = i0.ɵɵnextContext();
19
19
  i0.ɵɵadvance();
20
20
  i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Entity Record Documents", "VectorIndexID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Entity Record Documents"))("AllowLoad", ctx_r1.IsSectionExpanded("mJEntityRecordDocuments"))("ShowToolbar", false);
21
21
  } }
22
+ function MJVectorIndexFormComponent_Conditional_18_Template(rf, ctx) { if (rf & 1) {
23
+ const _r3 = i0.ɵɵgetCurrentView();
24
+ i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 17);
25
+ i0.ɵɵlistener("Navigate", function MJVectorIndexFormComponent_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 MJVectorIndexFormComponent_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("mJEntityDocuments", $event.totalRowCount)); });
26
+ i0.ɵɵelementEnd()();
27
+ } if (rf & 2) {
28
+ const ctx_r1 = i0.ɵɵnextContext();
29
+ i0.ɵɵadvance();
30
+ i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Entity Documents", "VectorIndexID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Entity Documents"))("AllowLoad", ctx_r1.IsSectionExpanded("mJEntityDocuments"))("ShowToolbar", false);
31
+ } }
22
32
  let MJVectorIndexFormComponent = class MJVectorIndexFormComponent extends BaseFormComponent {
23
33
  async ngOnInit() {
24
34
  await super.ngOnInit();
25
35
  this.initSections([
26
36
  { sectionKey: 'indexProfile', sectionName: 'Index Profile', isExpanded: true },
27
37
  { sectionKey: 'associatedResources', sectionName: 'Associated Resources', isExpanded: true },
38
+ { sectionKey: 'indexConfiguration', sectionName: 'Index Configuration', isExpanded: false },
28
39
  { sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },
29
- { sectionKey: 'mJEntityRecordDocuments', sectionName: 'Entity Record Documents', isExpanded: false }
40
+ { sectionKey: 'mJEntityRecordDocuments', sectionName: 'Entity Record Documents', isExpanded: false },
41
+ { sectionKey: 'mJEntityDocuments', sectionName: 'Entity Documents', isExpanded: false }
30
42
  ]);
31
43
  }
32
44
  static { this.ɵfac = /*@__PURE__*/ (() => { let ɵMJVectorIndexFormComponent_BaseFactory; return function MJVectorIndexFormComponent_Factory(__ngFactoryType__) { return (ɵMJVectorIndexFormComponent_BaseFactory || (ɵMJVectorIndexFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(MJVectorIndexFormComponent)))(__ngFactoryType__ || MJVectorIndexFormComponent); }; })(); }
33
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJVectorIndexFormComponent, selectors: [["gen-mjvectorindex-form"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 12, vars: 37, consts: [[3, "Navigate", "DeleteRequested", "FavoriteToggled", "HistoryRequested", "ListManagementRequested", "Record", "FormComponent"], ["SectionKey", "indexProfile", "SectionName", "Index Profile", "Icon", "fa fa-info-circle", 3, "Form", "FormContext"], ["FieldName", "Name", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Description", "Type", "textarea", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "associatedResources", "SectionName", "Associated Resources", "Icon", "fa fa-link", 3, "Form", "FormContext"], ["FieldName", "VectorDatabaseID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "EmbeddingModelID", "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", "mJEntityRecordDocuments", "SectionName", "Entity Record Documents", "Icon", "fa fa-file-alt", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], [3, "Navigate", "AfterDataLoad", "Params", "NewRecordValues", "AllowLoad", "ShowToolbar"]], template: function MJVectorIndexFormComponent_Template(rf, ctx) { if (rf & 1) {
45
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJVectorIndexFormComponent, selectors: [["gen-mjvectorindex-form"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 19, vars: 60, consts: [[3, "Navigate", "DeleteRequested", "FavoriteToggled", "HistoryRequested", "ListManagementRequested", "Record", "FormComponent"], ["SectionKey", "indexProfile", "SectionName", "Index Profile", "Icon", "fa fa-info-circle", 3, "Form", "FormContext"], ["FieldName", "Name", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Description", "Type", "textarea", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "ExternalID", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "associatedResources", "SectionName", "Associated Resources", "Icon", "fa fa-info-circle", 3, "Form", "FormContext"], ["FieldName", "VectorDatabaseID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "EmbeddingModelID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "indexConfiguration", "SectionName", "Index Configuration", "Icon", "fa fa-sliders-h", 3, "Form", "FormContext"], ["FieldName", "Dimensions", "Type", "number", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Metric", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "ProviderConfig", "Type", "code", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "systemMetadata", "SectionName", "System Metadata", "Icon", "fa fa-cog", 3, "Form", "FormContext"], ["FieldName", "__mj_CreatedAt", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "__mj_UpdatedAt", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "mJEntityRecordDocuments", "SectionName", "Entity Record Documents", "Icon", "fa fa-file-alt", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJEntityDocuments", "SectionName", "Entity Documents", "Icon", "fa fa-file-alt", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], [3, "Navigate", "AfterDataLoad", "Params", "NewRecordValues", "AllowLoad", "ShowToolbar"]], template: function MJVectorIndexFormComponent_Template(rf, ctx) { if (rf & 1) {
34
46
  i0.ɵɵelementStart(0, "mj-record-form-container", 0);
35
47
  i0.ɵɵlistener("Navigate", function MJVectorIndexFormComponent_Template_mj_record_form_container_Navigate_0_listener($event) { return ctx.OnFormNavigate($event); })("DeleteRequested", function MJVectorIndexFormComponent_Template_mj_record_form_container_DeleteRequested_0_listener() { return ctx.OnDeleteRequested(); })("FavoriteToggled", function MJVectorIndexFormComponent_Template_mj_record_form_container_FavoriteToggled_0_listener() { return ctx.OnFavoriteToggled(); })("HistoryRequested", function MJVectorIndexFormComponent_Template_mj_record_form_container_HistoryRequested_0_listener() { return ctx.OnHistoryRequested(); })("ListManagementRequested", function MJVectorIndexFormComponent_Template_mj_record_form_container_ListManagementRequested_0_listener() { return ctx.OnListManagementRequested(); });
36
48
  i0.ɵɵelementStart(1, "mj-collapsible-panel", 1);
37
- i0.ɵɵelement(2, "mj-form-field", 2)(3, "mj-form-field", 3);
49
+ i0.ɵɵelement(2, "mj-form-field", 2)(3, "mj-form-field", 3)(4, "mj-form-field", 4);
38
50
  i0.ɵɵelementEnd();
39
- i0.ɵɵelementStart(4, "mj-collapsible-panel", 4);
40
- i0.ɵɵelement(5, "mj-form-field", 5)(6, "mj-form-field", 6);
51
+ i0.ɵɵelementStart(5, "mj-collapsible-panel", 5);
52
+ i0.ɵɵelement(6, "mj-form-field", 6)(7, "mj-form-field", 7);
41
53
  i0.ɵɵelementEnd();
42
- i0.ɵɵelementStart(7, "mj-collapsible-panel", 7);
43
- i0.ɵɵelement(8, "mj-form-field", 8)(9, "mj-form-field", 9);
54
+ i0.ɵɵelementStart(8, "mj-collapsible-panel", 8);
55
+ i0.ɵɵelement(9, "mj-form-field", 9)(10, "mj-form-field", 10)(11, "mj-form-field", 11);
44
56
  i0.ɵɵelementEnd();
45
- i0.ɵɵelementStart(10, "mj-collapsible-panel", 10);
46
- i0.ɵɵconditionalCreate(11, MJVectorIndexFormComponent_Conditional_11_Template, 2, 4, "div");
57
+ i0.ɵɵelementStart(12, "mj-collapsible-panel", 12);
58
+ i0.ɵɵelement(13, "mj-form-field", 13)(14, "mj-form-field", 14);
59
+ i0.ɵɵelementEnd();
60
+ i0.ɵɵelementStart(15, "mj-collapsible-panel", 15);
61
+ i0.ɵɵconditionalCreate(16, MJVectorIndexFormComponent_Conditional_16_Template, 2, 4, "div");
62
+ i0.ɵɵelementEnd();
63
+ i0.ɵɵelementStart(17, "mj-collapsible-panel", 16);
64
+ i0.ɵɵconditionalCreate(18, MJVectorIndexFormComponent_Conditional_18_Template, 2, 4, "div");
47
65
  i0.ɵɵelementEnd()();
48
66
  } if (rf & 2) {
49
67
  i0.ɵɵproperty("Record", ctx.record)("FormComponent", ctx);
@@ -54,6 +72,8 @@ let MJVectorIndexFormComponent = class MJVectorIndexFormComponent extends BaseFo
54
72
  i0.ɵɵadvance();
55
73
  i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
56
74
  i0.ɵɵadvance();
75
+ i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
76
+ i0.ɵɵadvance();
57
77
  i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext);
58
78
  i0.ɵɵadvance();
59
79
  i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
@@ -66,9 +86,21 @@ let MJVectorIndexFormComponent = class MJVectorIndexFormComponent extends BaseFo
66
86
  i0.ɵɵadvance();
67
87
  i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
68
88
  i0.ɵɵadvance();
89
+ i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
90
+ i0.ɵɵadvance();
91
+ i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext);
92
+ i0.ɵɵadvance();
93
+ i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
94
+ i0.ɵɵadvance();
95
+ i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
96
+ i0.ɵɵadvance();
69
97
  i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJEntityRecordDocuments"))("DefaultExpanded", false);
70
98
  i0.ɵɵadvance();
71
- i0.ɵɵconditional(ctx.record.IsSaved ? 11 : -1);
99
+ i0.ɵɵconditional(ctx.record.IsSaved ? 16 : -1);
100
+ i0.ɵɵadvance();
101
+ i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJEntityDocuments"))("DefaultExpanded", false);
102
+ i0.ɵɵadvance();
103
+ i0.ɵɵconditional(ctx.record.IsSaved ? 18 : -1);
72
104
  } }, dependencies: [i1.MjFormFieldComponent, i1.MjCollapsiblePanelComponent, i1.MjRecordFormContainerComponent, i1.ExplorerEntityDataGridComponent], encapsulation: 2 }); }
73
105
  };
74
106
  MJVectorIndexFormComponent = __decorate([
@@ -77,7 +109,7 @@ MJVectorIndexFormComponent = __decorate([
77
109
  export { MJVectorIndexFormComponent };
78
110
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MJVectorIndexFormComponent, [{
79
111
  type: Component,
80
- args: [{ standalone: false, selector: 'gen-mjvectorindex-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 <!-- Index Profile Section -->\n <mj-collapsible-panel\n SectionKey=\"indexProfile\"\n SectionName=\"Index Profile\"\n Icon=\"fa fa-info-circle\"\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 <!-- Associated Resources Section -->\n <mj-collapsible-panel\n SectionKey=\"associatedResources\"\n SectionName=\"Associated Resources\"\n Icon=\"fa fa-link\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"VectorDatabaseID\"\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=\"EmbeddingModelID\"\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 <!-- Entity Record Documents Section -->\n <mj-collapsible-panel\n SectionKey=\"mJEntityRecordDocuments\"\n SectionName=\"Entity Record Documents\"\n Icon=\"fa fa-file-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJEntityRecordDocuments')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Entity Record Documents','VectorIndexID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Entity Record Documents')\"\n [AllowLoad]=\"IsSectionExpanded('mJEntityRecordDocuments')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJEntityRecordDocuments', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n</mj-record-form-container>\n " }]
112
+ args: [{ standalone: false, selector: 'gen-mjvectorindex-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 <!-- Index Profile Section -->\n <mj-collapsible-panel\n SectionKey=\"indexProfile\"\n SectionName=\"Index Profile\"\n Icon=\"fa fa-info-circle\"\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 <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ExternalID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Associated Resources Section -->\n <mj-collapsible-panel\n SectionKey=\"associatedResources\"\n SectionName=\"Associated Resources\"\n Icon=\"fa fa-info-circle\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"VectorDatabaseID\"\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=\"EmbeddingModelID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Index Configuration Section -->\n <mj-collapsible-panel\n SectionKey=\"indexConfiguration\"\n SectionName=\"Index Configuration\"\n Icon=\"fa fa-sliders-h\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Dimensions\"\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=\"Metric\"\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=\"ProviderConfig\"\n Type=\"code\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- System Metadata Section -->\n <mj-collapsible-panel\n SectionKey=\"systemMetadata\"\n SectionName=\"System Metadata\"\n Icon=\"fa fa-cog\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_CreatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_UpdatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- ========================================\n RELATED ENTITY PANELS\n ======================================== -->\n\n <!-- Entity Record Documents Section -->\n <mj-collapsible-panel\n SectionKey=\"mJEntityRecordDocuments\"\n SectionName=\"Entity Record Documents\"\n Icon=\"fa fa-file-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJEntityRecordDocuments')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Entity Record Documents','VectorIndexID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Entity Record Documents')\"\n [AllowLoad]=\"IsSectionExpanded('mJEntityRecordDocuments')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJEntityRecordDocuments', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Entity Documents Section -->\n <mj-collapsible-panel\n SectionKey=\"mJEntityDocuments\"\n SectionName=\"Entity Documents\"\n Icon=\"fa fa-file-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJEntityDocuments')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Entity Documents','VectorIndexID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Entity Documents')\"\n [AllowLoad]=\"IsSectionExpanded('mJEntityDocuments')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJEntityDocuments', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n</mj-record-form-container>\n " }]
81
113
  }], null, null); })();
82
114
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MJVectorIndexFormComponent, { className: "MJVectorIndexFormComponent", filePath: "src/lib/generated/Entities/MJVectorIndex/mjvectorindex.form.component.ts", lineNumber: 13 }); })();
83
115
  //# sourceMappingURL=mjvectorindex.form.component.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"mjvectorindex.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJVectorIndex/mjvectorindex.form.component.ts","../../../../../src/lib/generated/Entities/MJVectorIndex/mjvectorindex.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;;;;;ICuGtD,AADJ,2BAAK,uCAQI;IADD,AADA,iOAAY,6BAAsB,KAAC,8NAClB,0BAAmB,yBAAyB,uBAAuB,KAAC;IAG7F,AADI,iBAA+B,EAC7B;;;IARE,cAAiG;IAGjG,AADA,AADA,AADA,uHAAiG,0EAC/B,kEACR,sBACrC;;ADlG9B,IAAM,0BAA0B,GAAhC,MAAM,0BAA2B,SAAQ,iBAAiB;IAGpD,KAAK,CAAC,QAAQ;QACnB,MAAM,KAAK,CAAC,QAAQ,EAAE,CAAC;QACvB,IAAI,CAAC,YAAY,CAAC;YACd,EAAE,UAAU,EAAE,cAAc,EAAE,WAAW,EAAE,eAAe,EAAE,UAAU,EAAE,IAAI,EAAE;YAC9E,EAAE,UAAU,EAAE,qBAAqB,EAAE,WAAW,EAAE,sBAAsB,EAAE,UAAU,EAAE,IAAI,EAAE;YAC5F,EAAE,UAAU,EAAE,gBAAgB,EAAE,WAAW,EAAE,iBAAiB,EAAE,UAAU,EAAE,KAAK,EAAE;YACnF,EAAE,UAAU,EAAE,yBAAyB,EAAE,WAAW,EAAE,yBAAyB,EAAE,UAAU,EAAE,KAAK,EAAE;SACvG,CAAC,CAAC;IACP,CAAC;4RAXQ,0BAA0B,yBAA1B,0BAA0B;oEAA1B,0BAA0B;YCZvC,mDAK4D;YAAxD,AADA,AADA,AADA,AADA,qIAAY,0BAAsB,IAAC,gIAChB,uBAAmB,IAAC,gIACpB,uBAAmB,IAAC,kIACnB,wBAAoB,IAAC,gJACd,+BAA2B,IAAC;YAMvD,+CAKgC;YAS5B,AARA,mCAOiB,uBAQA;YAErB,iBAAuB;YAGvB,+CAKgC;YAU5B,AATA,mCAQiB,uBASA;YAErB,iBAAuB;YAGvB,+CAKgC;YAS5B,AARA,mCAOiB,uBAQA;YAErB,iBAAuB;YAOvB,iDAQ8B;YAC1B,2FAAsB;YAc9B,AADI,iBAAuB,EACA;;YAtHiB,AAAlB,mCAAiB,sBAAuB;YAe1D,cAAa;YACb,AADA,0BAAa,gCACc;YAEvB,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAG3B,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAU/B,cAAa;YACb,AADA,0BAAa,gCACc;YAEvB,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;YAI3B,cAAiB;YAKjB,AADA,AAHA,AADA,mCAAiB,mBACC,0BAGG,gCACM;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,iEACiC,0BACnC;YACzB,cAYC;YAZD,8CAYC;;;ADxGI,0BAA0B;IANtC,aAAa,CAAC,iBAAiB,EAAE,oBAAoB,CAAC,CAAC,uCAAuC;GAMlF,0BAA0B,CAYtC;;iFAZY,0BAA0B;cALtC,SAAS;6BACM,KAAK,YACP,wBAAwB;;kFAGzB,0BAA0B","sourcesContent":["import { Component } from '@angular/core';\nimport { MJVectorIndexEntity } 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: Vector Indexes') // Tell MemberJunction about this class\n@Component({\n standalone: false,\n selector: 'gen-mjvectorindex-form',\n templateUrl: './mjvectorindex.form.component.html'\n})\nexport class MJVectorIndexFormComponent extends BaseFormComponent {\n public record!: MJVectorIndexEntity;\n\n override async ngOnInit() {\n await super.ngOnInit();\n this.initSections([\n { sectionKey: 'indexProfile', sectionName: 'Index Profile', isExpanded: true },\n { sectionKey: 'associatedResources', sectionName: 'Associated Resources', isExpanded: true },\n { sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },\n { sectionKey: 'mJEntityRecordDocuments', sectionName: 'Entity Record Documents', 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 <!-- Index Profile Section -->\n <mj-collapsible-panel\n SectionKey=\"indexProfile\"\n SectionName=\"Index Profile\"\n Icon=\"fa fa-info-circle\"\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 <!-- Associated Resources Section -->\n <mj-collapsible-panel\n SectionKey=\"associatedResources\"\n SectionName=\"Associated Resources\"\n Icon=\"fa fa-link\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"VectorDatabaseID\"\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=\"EmbeddingModelID\"\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 <!-- Entity Record Documents Section -->\n <mj-collapsible-panel\n SectionKey=\"mJEntityRecordDocuments\"\n SectionName=\"Entity Record Documents\"\n Icon=\"fa fa-file-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJEntityRecordDocuments')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Entity Record Documents','VectorIndexID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Entity Record Documents')\"\n [AllowLoad]=\"IsSectionExpanded('mJEntityRecordDocuments')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJEntityRecordDocuments', $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":"mjvectorindex.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJVectorIndex/mjvectorindex.form.component.ts","../../../../../src/lib/generated/Entities/MJVectorIndex/mjvectorindex.form.component.html"],"names":[],"mappings":"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","sourcesContent":["import { Component } from '@angular/core';\nimport { MJVectorIndexEntity } 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: Vector Indexes') // Tell MemberJunction about this class\n@Component({\n standalone: false,\n selector: 'gen-mjvectorindex-form',\n templateUrl: './mjvectorindex.form.component.html'\n})\nexport class MJVectorIndexFormComponent extends BaseFormComponent {\n public record!: MJVectorIndexEntity;\n\n override async ngOnInit() {\n await super.ngOnInit();\n this.initSections([\n { sectionKey: 'indexProfile', sectionName: 'Index Profile', isExpanded: true },\n { sectionKey: 'associatedResources', sectionName: 'Associated Resources', isExpanded: true },\n { sectionKey: 'indexConfiguration', sectionName: 'Index Configuration', isExpanded: false },\n { sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },\n { sectionKey: 'mJEntityRecordDocuments', sectionName: 'Entity Record Documents', isExpanded: false },\n { sectionKey: 'mJEntityDocuments', sectionName: 'Entity Documents', 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 <!-- Index Profile Section -->\n <mj-collapsible-panel\n SectionKey=\"indexProfile\"\n SectionName=\"Index Profile\"\n Icon=\"fa fa-info-circle\"\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 <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ExternalID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Associated Resources Section -->\n <mj-collapsible-panel\n SectionKey=\"associatedResources\"\n SectionName=\"Associated Resources\"\n Icon=\"fa fa-info-circle\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"VectorDatabaseID\"\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=\"EmbeddingModelID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Index Configuration Section -->\n <mj-collapsible-panel\n SectionKey=\"indexConfiguration\"\n SectionName=\"Index Configuration\"\n Icon=\"fa fa-sliders-h\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Dimensions\"\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=\"Metric\"\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=\"ProviderConfig\"\n Type=\"code\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- System Metadata Section -->\n <mj-collapsible-panel\n SectionKey=\"systemMetadata\"\n SectionName=\"System Metadata\"\n Icon=\"fa fa-cog\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_CreatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_UpdatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- ========================================\n RELATED ENTITY PANELS\n ======================================== -->\n\n <!-- Entity Record Documents Section -->\n <mj-collapsible-panel\n SectionKey=\"mJEntityRecordDocuments\"\n SectionName=\"Entity Record Documents\"\n Icon=\"fa fa-file-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJEntityRecordDocuments')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Entity Record Documents','VectorIndexID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Entity Record Documents')\"\n [AllowLoad]=\"IsSectionExpanded('mJEntityRecordDocuments')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJEntityRecordDocuments', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Entity Documents Section -->\n <mj-collapsible-panel\n SectionKey=\"mJEntityDocuments\"\n SectionName=\"Entity Documents\"\n Icon=\"fa fa-file-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJEntityDocuments')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Entity Documents','VectorIndexID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Entity Documents')\"\n [AllowLoad]=\"IsSectionExpanded('mJEntityDocuments')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJEntityDocuments', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n</mj-record-form-container>\n "]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@memberjunction/ng-core-entity-forms",
3
- "version": "5.21.0",
3
+ "version": "5.22.0",
4
4
  "description": "MemberJunction Core Entity Angular Forms",
5
5
  "main": "./dist/public-api.js",
6
6
  "typings": "./dist/public-api.d.ts",
@@ -27,36 +27,36 @@
27
27
  "@angular/router": "21.1.3",
28
28
  "@codemirror/language": "latest",
29
29
  "@codemirror/language-data": "^6.5.2",
30
- "@memberjunction/actions-base": "5.21.0",
31
- "@memberjunction/ai": "5.21.0",
32
- "@memberjunction/ai-core-plus": "5.21.0",
33
- "@memberjunction/ai-engine-base": "5.21.0",
34
- "@memberjunction/core": "5.21.0",
35
- "@memberjunction/core-entities": "5.21.0",
36
- "@memberjunction/global": "5.21.0",
37
- "@memberjunction/graphql-dataprovider": "5.21.0",
38
- "@memberjunction/ng-action-gallery": "5.21.0",
39
- "@memberjunction/ng-actions": "5.21.0",
40
- "@memberjunction/ng-agents": "5.21.0",
41
- "@memberjunction/ng-ai-test-harness": "5.21.0",
42
- "@memberjunction/ng-base-application": "5.21.0",
43
- "@memberjunction/ng-base-forms": "5.21.0",
44
- "@memberjunction/ng-code-editor": "5.21.0",
45
- "@memberjunction/ng-deep-diff": "5.21.0",
46
- "@memberjunction/ng-entity-relationship-diagram": "5.21.0",
47
- "@memberjunction/ng-flow-editor": "5.21.0",
48
- "@memberjunction/ng-entity-viewer": "5.21.0",
49
- "@memberjunction/ng-join-grid": "5.21.0",
50
- "@memberjunction/ng-link-directives": "5.21.0",
51
- "@memberjunction/ng-list-management": "5.21.0",
52
- "@memberjunction/ng-markdown": "5.21.0",
53
- "@memberjunction/ng-notifications": "5.21.0",
54
- "@memberjunction/ng-shared": "5.21.0",
55
- "@memberjunction/ng-shared-generic": "5.21.0",
56
- "@memberjunction/ng-tabstrip": "5.21.0",
57
- "@memberjunction/ng-testing": "5.21.0",
58
- "@memberjunction/ng-timeline": "5.21.0",
59
- "@memberjunction/templates-base-types": "5.21.0",
30
+ "@memberjunction/actions-base": "5.22.0",
31
+ "@memberjunction/ai": "5.22.0",
32
+ "@memberjunction/ai-core-plus": "5.22.0",
33
+ "@memberjunction/ai-engine-base": "5.22.0",
34
+ "@memberjunction/core": "5.22.0",
35
+ "@memberjunction/core-entities": "5.22.0",
36
+ "@memberjunction/global": "5.22.0",
37
+ "@memberjunction/graphql-dataprovider": "5.22.0",
38
+ "@memberjunction/ng-action-gallery": "5.22.0",
39
+ "@memberjunction/ng-actions": "5.22.0",
40
+ "@memberjunction/ng-agents": "5.22.0",
41
+ "@memberjunction/ng-ai-test-harness": "5.22.0",
42
+ "@memberjunction/ng-base-application": "5.22.0",
43
+ "@memberjunction/ng-base-forms": "5.22.0",
44
+ "@memberjunction/ng-code-editor": "5.22.0",
45
+ "@memberjunction/ng-deep-diff": "5.22.0",
46
+ "@memberjunction/ng-entity-relationship-diagram": "5.22.0",
47
+ "@memberjunction/ng-flow-editor": "5.22.0",
48
+ "@memberjunction/ng-entity-viewer": "5.22.0",
49
+ "@memberjunction/ng-join-grid": "5.22.0",
50
+ "@memberjunction/ng-link-directives": "5.22.0",
51
+ "@memberjunction/ng-list-management": "5.22.0",
52
+ "@memberjunction/ng-markdown": "5.22.0",
53
+ "@memberjunction/ng-notifications": "5.22.0",
54
+ "@memberjunction/ng-shared": "5.22.0",
55
+ "@memberjunction/ng-shared-generic": "5.22.0",
56
+ "@memberjunction/ng-tabstrip": "5.22.0",
57
+ "@memberjunction/ng-testing": "5.22.0",
58
+ "@memberjunction/ng-timeline": "5.22.0",
59
+ "@memberjunction/templates-base-types": "5.22.0",
60
60
  "@progress/kendo-angular-buttons": "22.0.1",
61
61
  "@progress/kendo-angular-dateinputs": "22.0.1",
62
62
  "@progress/kendo-angular-dialog": "22.0.1",