@memberjunction/ng-core-entity-forms 5.10.0 → 5.11.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,66 +9,86 @@ 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 MJQueryFormComponent_Conditional_29_Template(rf, ctx) { if (rf & 1) {
12
+ function MJQueryFormComponent_Conditional_30_Template(rf, ctx) { if (rf & 1) {
13
13
  const _r1 = i0.ɵɵgetCurrentView();
14
- i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 34);
15
- i0.ɵɵlistener("Navigate", function MJQueryFormComponent_Conditional_29_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 MJQueryFormComponent_Conditional_29_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJQueryFields", $event.totalRowCount)); });
14
+ i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 37);
15
+ i0.ɵɵlistener("Navigate", function MJQueryFormComponent_Conditional_30_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 MJQueryFormComponent_Conditional_30_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJQueryFields", $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: Query Fields", "QueryID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Query Fields"))("AllowLoad", ctx_r1.IsSectionExpanded("mJQueryFields"))("ShowToolbar", false);
21
21
  } }
22
- function MJQueryFormComponent_Conditional_31_Template(rf, ctx) { if (rf & 1) {
22
+ function MJQueryFormComponent_Conditional_32_Template(rf, ctx) { if (rf & 1) {
23
23
  const _r3 = i0.ɵɵgetCurrentView();
24
- i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 34);
25
- i0.ɵɵlistener("Navigate", function MJQueryFormComponent_Conditional_31_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 MJQueryFormComponent_Conditional_31_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJQueryPermissions", $event.totalRowCount)); });
24
+ i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 37);
25
+ i0.ɵɵlistener("Navigate", function MJQueryFormComponent_Conditional_32_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 MJQueryFormComponent_Conditional_32_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJQueryPermissions", $event.totalRowCount)); });
26
26
  i0.ɵɵelementEnd()();
27
27
  } if (rf & 2) {
28
28
  const ctx_r1 = i0.ɵɵnextContext();
29
29
  i0.ɵɵadvance();
30
30
  i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Query Permissions", "QueryID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Query Permissions"))("AllowLoad", ctx_r1.IsSectionExpanded("mJQueryPermissions"))("ShowToolbar", false);
31
31
  } }
32
- function MJQueryFormComponent_Conditional_33_Template(rf, ctx) { if (rf & 1) {
32
+ function MJQueryFormComponent_Conditional_34_Template(rf, ctx) { if (rf & 1) {
33
33
  const _r4 = i0.ɵɵgetCurrentView();
34
- i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 34);
35
- i0.ɵɵlistener("Navigate", function MJQueryFormComponent_Conditional_33_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 MJQueryFormComponent_Conditional_33_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJDataContextItems", $event.totalRowCount)); });
34
+ i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 37);
35
+ i0.ɵɵlistener("Navigate", function MJQueryFormComponent_Conditional_34_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 MJQueryFormComponent_Conditional_34_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJDataContextItems", $event.totalRowCount)); });
36
36
  i0.ɵɵelementEnd()();
37
37
  } if (rf & 2) {
38
38
  const ctx_r1 = i0.ɵɵnextContext();
39
39
  i0.ɵɵadvance();
40
40
  i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Data Context Items", "QueryID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Data Context Items"))("AllowLoad", ctx_r1.IsSectionExpanded("mJDataContextItems"))("ShowToolbar", false);
41
41
  } }
42
- function MJQueryFormComponent_Conditional_35_Template(rf, ctx) { if (rf & 1) {
42
+ function MJQueryFormComponent_Conditional_36_Template(rf, ctx) { if (rf & 1) {
43
43
  const _r5 = i0.ɵɵgetCurrentView();
44
- i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 34);
45
- i0.ɵɵlistener("Navigate", function MJQueryFormComponent_Conditional_35_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 MJQueryFormComponent_Conditional_35_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJQueryParameters", $event.totalRowCount)); });
44
+ i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 37);
45
+ i0.ɵɵlistener("Navigate", function MJQueryFormComponent_Conditional_36_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 MJQueryFormComponent_Conditional_36_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJQueryParameters", $event.totalRowCount)); });
46
46
  i0.ɵɵelementEnd()();
47
47
  } if (rf & 2) {
48
48
  const ctx_r1 = i0.ɵɵnextContext();
49
49
  i0.ɵɵadvance();
50
50
  i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Query Parameters", "QueryID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Query Parameters"))("AllowLoad", ctx_r1.IsSectionExpanded("mJQueryParameters"))("ShowToolbar", false);
51
51
  } }
52
- function MJQueryFormComponent_Conditional_37_Template(rf, ctx) { if (rf & 1) {
52
+ function MJQueryFormComponent_Conditional_38_Template(rf, ctx) { if (rf & 1) {
53
53
  const _r6 = i0.ɵɵgetCurrentView();
54
- i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 34);
55
- i0.ɵɵlistener("Navigate", function MJQueryFormComponent_Conditional_37_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 MJQueryFormComponent_Conditional_37_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJQueryEntities", $event.totalRowCount)); });
54
+ i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 37);
55
+ i0.ɵɵlistener("Navigate", function MJQueryFormComponent_Conditional_38_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 MJQueryFormComponent_Conditional_38_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJQueryDependenciesDependsOnQueryID", $event.totalRowCount)); });
56
56
  i0.ɵɵelementEnd()();
57
57
  } if (rf & 2) {
58
58
  const ctx_r1 = i0.ɵɵnextContext();
59
59
  i0.ɵɵadvance();
60
- i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Query Entities", "QueryID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Query Entities"))("AllowLoad", ctx_r1.IsSectionExpanded("mJQueryEntities"))("ShowToolbar", false);
60
+ i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Query Dependencies", "DependsOnQueryID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Query Dependencies"))("AllowLoad", ctx_r1.IsSectionExpanded("mJQueryDependenciesDependsOnQueryID"))("ShowToolbar", false);
61
61
  } }
62
- function MJQueryFormComponent_Conditional_39_Template(rf, ctx) { if (rf & 1) {
62
+ function MJQueryFormComponent_Conditional_40_Template(rf, ctx) { if (rf & 1) {
63
63
  const _r7 = i0.ɵɵgetCurrentView();
64
- i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 34);
65
- i0.ɵɵlistener("Navigate", function MJQueryFormComponent_Conditional_39_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 MJQueryFormComponent_Conditional_39_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJQuerySQLs", $event.totalRowCount)); });
64
+ i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 37);
65
+ i0.ɵɵlistener("Navigate", function MJQueryFormComponent_Conditional_40_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 MJQueryFormComponent_Conditional_40_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJQueryEntities", $event.totalRowCount)); });
66
+ i0.ɵɵelementEnd()();
67
+ } if (rf & 2) {
68
+ const ctx_r1 = i0.ɵɵnextContext();
69
+ i0.ɵɵadvance();
70
+ i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Query Entities", "QueryID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Query Entities"))("AllowLoad", ctx_r1.IsSectionExpanded("mJQueryEntities"))("ShowToolbar", false);
71
+ } }
72
+ function MJQueryFormComponent_Conditional_42_Template(rf, ctx) { if (rf & 1) {
73
+ const _r8 = i0.ɵɵgetCurrentView();
74
+ i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 37);
75
+ i0.ɵɵlistener("Navigate", function MJQueryFormComponent_Conditional_42_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 MJQueryFormComponent_Conditional_42_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJQuerySQLs", $event.totalRowCount)); });
66
76
  i0.ɵɵelementEnd()();
67
77
  } if (rf & 2) {
68
78
  const ctx_r1 = i0.ɵɵnextContext();
69
79
  i0.ɵɵadvance();
70
80
  i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Query SQLs", "QueryID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Query SQLs"))("AllowLoad", ctx_r1.IsSectionExpanded("mJQuerySQLs"))("ShowToolbar", false);
71
81
  } }
82
+ function MJQueryFormComponent_Conditional_44_Template(rf, ctx) { if (rf & 1) {
83
+ const _r9 = i0.ɵɵgetCurrentView();
84
+ i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 37);
85
+ i0.ɵɵlistener("Navigate", function MJQueryFormComponent_Conditional_44_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 MJQueryFormComponent_Conditional_44_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r9); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJQueryDependenciesQueryID", $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: Query Dependencies", "QueryID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Query Dependencies"))("AllowLoad", ctx_r1.IsSectionExpanded("mJQueryDependenciesQueryID"))("ShowToolbar", false);
91
+ } }
72
92
  let MJQueryFormComponent = class MJQueryFormComponent extends BaseFormComponent {
73
93
  async ngOnInit() {
74
94
  await super.ngOnInit();
@@ -82,46 +102,54 @@ let MJQueryFormComponent = class MJQueryFormComponent extends BaseFormComponent
82
102
  { sectionKey: 'mJQueryPermissions', sectionName: 'Query Permissions', isExpanded: false },
83
103
  { sectionKey: 'mJDataContextItems', sectionName: 'Data Context Items', isExpanded: false },
84
104
  { sectionKey: 'mJQueryParameters', sectionName: 'Query Parameters', isExpanded: false },
105
+ { sectionKey: 'mJQueryDependenciesDependsOnQueryID', sectionName: 'Query Dependencies (Depends On Query)', isExpanded: false },
85
106
  { sectionKey: 'mJQueryEntities', sectionName: 'Query Entities', isExpanded: false },
86
- { sectionKey: 'mJQuerySQLs', sectionName: 'Query SQLs', isExpanded: false }
107
+ { sectionKey: 'mJQuerySQLs', sectionName: 'Query SQLs', isExpanded: false },
108
+ { sectionKey: 'mJQueryDependenciesQueryID', sectionName: 'Query Dependencies (Query)', isExpanded: false }
87
109
  ]);
88
110
  }
89
111
  static { this.ɵfac = /*@__PURE__*/ (() => { let ɵMJQueryFormComponent_BaseFactory; return function MJQueryFormComponent_Factory(__ngFactoryType__) { return (ɵMJQueryFormComponent_BaseFactory || (ɵMJQueryFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(MJQueryFormComponent)))(__ngFactoryType__ || MJQueryFormComponent); }; })(); }
90
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJQueryFormComponent, selectors: [["gen-mjquery-form"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 40, vars: 130, consts: [[3, "Navigate", "DeleteRequested", "FavoriteToggled", "HistoryRequested", "ListManagementRequested", "Record", "FormComponent"], ["SectionKey", "queryDefinition", "SectionName", "Query Definition", "Icon", "fa fa-file-code", 3, "Form", "FormContext"], ["FieldName", "Name", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "CategoryID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "UserQuestion", "Type", "textarea", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Description", "Type", "textarea", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "SQL", "Type", "code", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "TechnicalDescription", "Type", "textarea", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "OriginalSQL", "Type", "code", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "UsesTemplate", "Type", "checkbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "SQLDialectID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "performanceQuality", "SectionName", "Performance & Quality", "Icon", "fa fa-chart-line", 3, "Form", "FormContext"], ["FieldName", "Feedback", "Type", "textarea", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Status", "Type", "select", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "QualityRank", "Type", "number", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "ExecutionCostRank", "Type", "number", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "cachingExecutionSettings", "SectionName", "Caching & Execution Settings", "Icon", "fa fa-sliders-h", 3, "Form", "FormContext"], ["FieldName", "AuditQueryRuns", "Type", "checkbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "CacheEnabled", "Type", "checkbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "CacheTTLMinutes", "Type", "number", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "CacheMaxSize", "Type", "number", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "CacheValidationSQL", "Type", "code", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "aIEmbeddings", "SectionName", "AI & Embeddings", "Icon", "fa fa-brain", 3, "Form", "FormContext"], ["FieldName", "EmbeddingVector", "Type", "code", 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", "mJQueryFields", "SectionName", "Query Fields", "Icon", "fa fa-table", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJQueryPermissions", "SectionName", "Query Permissions", "Icon", "fa fa-shield-alt", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJDataContextItems", "SectionName", "Data Context Items", "Icon", "fa fa-database", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJQueryParameters", "SectionName", "Query Parameters", "Icon", "fa fa-code", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJQueryEntities", "SectionName", "Query Entities", "Icon", "fa fa-search", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJQuerySQLs", "SectionName", "Query SQLs", "Icon", "fa fa-terminal", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], [3, "Navigate", "AfterDataLoad", "Params", "NewRecordValues", "AllowLoad", "ShowToolbar"]], template: function MJQueryFormComponent_Template(rf, ctx) { if (rf & 1) {
112
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJQueryFormComponent, selectors: [["gen-mjquery-form"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 45, vars: 144, consts: [[3, "Navigate", "DeleteRequested", "FavoriteToggled", "HistoryRequested", "ListManagementRequested", "Record", "FormComponent"], ["SectionKey", "queryDefinition", "SectionName", "Query Definition", "Icon", "fa fa-file-code", 3, "Form", "FormContext"], ["FieldName", "Name", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "CategoryID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "UserQuestion", "Type", "textarea", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Description", "Type", "textarea", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "SQL", "Type", "code", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "TechnicalDescription", "Type", "textarea", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "OriginalSQL", "Type", "code", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "UsesTemplate", "Type", "checkbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "SQLDialectID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Reusable", "Type", "checkbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "performanceQuality", "SectionName", "Performance & Quality", "Icon", "fa fa-chart-line", 3, "Form", "FormContext"], ["FieldName", "Feedback", "Type", "textarea", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Status", "Type", "select", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "QualityRank", "Type", "number", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "ExecutionCostRank", "Type", "number", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "cachingExecutionSettings", "SectionName", "Caching & Execution Settings", "Icon", "fa fa-sliders-h", 3, "Form", "FormContext"], ["FieldName", "AuditQueryRuns", "Type", "checkbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "CacheEnabled", "Type", "checkbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "CacheTTLMinutes", "Type", "number", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "CacheMaxSize", "Type", "number", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "CacheValidationSQL", "Type", "code", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "aIEmbeddings", "SectionName", "AI & Embeddings", "Icon", "fa fa-brain", 3, "Form", "FormContext"], ["FieldName", "EmbeddingVector", "Type", "code", 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", "mJQueryFields", "SectionName", "Query Fields", "Icon", "fa fa-table", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJQueryPermissions", "SectionName", "Query Permissions", "Icon", "fa fa-shield-alt", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJDataContextItems", "SectionName", "Data Context Items", "Icon", "fa fa-database", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJQueryParameters", "SectionName", "Query Parameters", "Icon", "fa fa-code", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJQueryDependenciesDependsOnQueryID", "SectionName", "Query Dependencies (Depends On Query)", "Icon", "fa fa-project-diagram", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJQueryEntities", "SectionName", "Query Entities", "Icon", "fa fa-search", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJQuerySQLs", "SectionName", "Query SQLs", "Icon", "fa fa-terminal", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJQueryDependenciesQueryID", "SectionName", "Query Dependencies (Query)", "Icon", "fa fa-project-diagram", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], [3, "Navigate", "AfterDataLoad", "Params", "NewRecordValues", "AllowLoad", "ShowToolbar"]], template: function MJQueryFormComponent_Template(rf, ctx) { if (rf & 1) {
91
113
  i0.ɵɵelementStart(0, "mj-record-form-container", 0);
92
114
  i0.ɵɵlistener("Navigate", function MJQueryFormComponent_Template_mj_record_form_container_Navigate_0_listener($event) { return ctx.OnFormNavigate($event); })("DeleteRequested", function MJQueryFormComponent_Template_mj_record_form_container_DeleteRequested_0_listener() { return ctx.OnDeleteRequested(); })("FavoriteToggled", function MJQueryFormComponent_Template_mj_record_form_container_FavoriteToggled_0_listener() { return ctx.OnFavoriteToggled(); })("HistoryRequested", function MJQueryFormComponent_Template_mj_record_form_container_HistoryRequested_0_listener() { return ctx.OnHistoryRequested(); })("ListManagementRequested", function MJQueryFormComponent_Template_mj_record_form_container_ListManagementRequested_0_listener() { return ctx.OnListManagementRequested(); });
93
115
  i0.ɵɵelementStart(1, "mj-collapsible-panel", 1);
94
- i0.ɵɵelement(2, "mj-form-field", 2)(3, "mj-form-field", 3)(4, "mj-form-field", 4)(5, "mj-form-field", 5)(6, "mj-form-field", 6)(7, "mj-form-field", 7)(8, "mj-form-field", 8)(9, "mj-form-field", 9)(10, "mj-form-field", 10);
116
+ i0.ɵɵelement(2, "mj-form-field", 2)(3, "mj-form-field", 3)(4, "mj-form-field", 4)(5, "mj-form-field", 5)(6, "mj-form-field", 6)(7, "mj-form-field", 7)(8, "mj-form-field", 8)(9, "mj-form-field", 9)(10, "mj-form-field", 10)(11, "mj-form-field", 11);
117
+ i0.ɵɵelementEnd();
118
+ i0.ɵɵelementStart(12, "mj-collapsible-panel", 12);
119
+ i0.ɵɵelement(13, "mj-form-field", 13)(14, "mj-form-field", 14)(15, "mj-form-field", 15)(16, "mj-form-field", 16);
95
120
  i0.ɵɵelementEnd();
96
- i0.ɵɵelementStart(11, "mj-collapsible-panel", 11);
97
- i0.ɵɵelement(12, "mj-form-field", 12)(13, "mj-form-field", 13)(14, "mj-form-field", 14)(15, "mj-form-field", 15);
121
+ i0.ɵɵelementStart(17, "mj-collapsible-panel", 17);
122
+ i0.ɵɵelement(18, "mj-form-field", 18)(19, "mj-form-field", 19)(20, "mj-form-field", 20)(21, "mj-form-field", 21)(22, "mj-form-field", 22);
98
123
  i0.ɵɵelementEnd();
99
- i0.ɵɵelementStart(16, "mj-collapsible-panel", 16);
100
- i0.ɵɵelement(17, "mj-form-field", 17)(18, "mj-form-field", 18)(19, "mj-form-field", 19)(20, "mj-form-field", 20)(21, "mj-form-field", 21);
124
+ i0.ɵɵelementStart(23, "mj-collapsible-panel", 23);
125
+ i0.ɵɵelement(24, "mj-form-field", 24)(25, "mj-form-field", 25);
101
126
  i0.ɵɵelementEnd();
102
- i0.ɵɵelementStart(22, "mj-collapsible-panel", 22);
103
- i0.ɵɵelement(23, "mj-form-field", 23)(24, "mj-form-field", 24);
127
+ i0.ɵɵelementStart(26, "mj-collapsible-panel", 26);
128
+ i0.ɵɵelement(27, "mj-form-field", 27)(28, "mj-form-field", 28);
104
129
  i0.ɵɵelementEnd();
105
- i0.ɵɵelementStart(25, "mj-collapsible-panel", 25);
106
- i0.ɵɵelement(26, "mj-form-field", 26)(27, "mj-form-field", 27);
130
+ i0.ɵɵelementStart(29, "mj-collapsible-panel", 29);
131
+ i0.ɵɵconditionalCreate(30, MJQueryFormComponent_Conditional_30_Template, 2, 4, "div");
107
132
  i0.ɵɵelementEnd();
108
- i0.ɵɵelementStart(28, "mj-collapsible-panel", 28);
109
- i0.ɵɵconditionalCreate(29, MJQueryFormComponent_Conditional_29_Template, 2, 4, "div");
133
+ i0.ɵɵelementStart(31, "mj-collapsible-panel", 30);
134
+ i0.ɵɵconditionalCreate(32, MJQueryFormComponent_Conditional_32_Template, 2, 4, "div");
110
135
  i0.ɵɵelementEnd();
111
- i0.ɵɵelementStart(30, "mj-collapsible-panel", 29);
112
- i0.ɵɵconditionalCreate(31, MJQueryFormComponent_Conditional_31_Template, 2, 4, "div");
136
+ i0.ɵɵelementStart(33, "mj-collapsible-panel", 31);
137
+ i0.ɵɵconditionalCreate(34, MJQueryFormComponent_Conditional_34_Template, 2, 4, "div");
113
138
  i0.ɵɵelementEnd();
114
- i0.ɵɵelementStart(32, "mj-collapsible-panel", 30);
115
- i0.ɵɵconditionalCreate(33, MJQueryFormComponent_Conditional_33_Template, 2, 4, "div");
139
+ i0.ɵɵelementStart(35, "mj-collapsible-panel", 32);
140
+ i0.ɵɵconditionalCreate(36, MJQueryFormComponent_Conditional_36_Template, 2, 4, "div");
116
141
  i0.ɵɵelementEnd();
117
- i0.ɵɵelementStart(34, "mj-collapsible-panel", 31);
118
- i0.ɵɵconditionalCreate(35, MJQueryFormComponent_Conditional_35_Template, 2, 4, "div");
142
+ i0.ɵɵelementStart(37, "mj-collapsible-panel", 33);
143
+ i0.ɵɵconditionalCreate(38, MJQueryFormComponent_Conditional_38_Template, 2, 4, "div");
119
144
  i0.ɵɵelementEnd();
120
- i0.ɵɵelementStart(36, "mj-collapsible-panel", 32);
121
- i0.ɵɵconditionalCreate(37, MJQueryFormComponent_Conditional_37_Template, 2, 4, "div");
145
+ i0.ɵɵelementStart(39, "mj-collapsible-panel", 34);
146
+ i0.ɵɵconditionalCreate(40, MJQueryFormComponent_Conditional_40_Template, 2, 4, "div");
122
147
  i0.ɵɵelementEnd();
123
- i0.ɵɵelementStart(38, "mj-collapsible-panel", 33);
124
- i0.ɵɵconditionalCreate(39, MJQueryFormComponent_Conditional_39_Template, 2, 4, "div");
148
+ i0.ɵɵelementStart(41, "mj-collapsible-panel", 35);
149
+ i0.ɵɵconditionalCreate(42, MJQueryFormComponent_Conditional_42_Template, 2, 4, "div");
150
+ i0.ɵɵelementEnd();
151
+ i0.ɵɵelementStart(43, "mj-collapsible-panel", 36);
152
+ i0.ɵɵconditionalCreate(44, MJQueryFormComponent_Conditional_44_Template, 2, 4, "div");
125
153
  i0.ɵɵelementEnd()();
126
154
  } if (rf & 2) {
127
155
  i0.ɵɵproperty("Record", ctx.record)("FormComponent", ctx);
@@ -146,6 +174,8 @@ let MJQueryFormComponent = class MJQueryFormComponent extends BaseFormComponent
146
174
  i0.ɵɵadvance();
147
175
  i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
148
176
  i0.ɵɵadvance();
177
+ i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
178
+ i0.ɵɵadvance();
149
179
  i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext);
150
180
  i0.ɵɵadvance();
151
181
  i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
@@ -182,27 +212,35 @@ let MJQueryFormComponent = class MJQueryFormComponent extends BaseFormComponent
182
212
  i0.ɵɵadvance();
183
213
  i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJQueryFields"))("DefaultExpanded", false);
184
214
  i0.ɵɵadvance();
185
- i0.ɵɵconditional(ctx.record.IsSaved ? 29 : -1);
215
+ i0.ɵɵconditional(ctx.record.IsSaved ? 30 : -1);
186
216
  i0.ɵɵadvance();
187
217
  i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJQueryPermissions"))("DefaultExpanded", false);
188
218
  i0.ɵɵadvance();
189
- i0.ɵɵconditional(ctx.record.IsSaved ? 31 : -1);
219
+ i0.ɵɵconditional(ctx.record.IsSaved ? 32 : -1);
190
220
  i0.ɵɵadvance();
191
221
  i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJDataContextItems"))("DefaultExpanded", false);
192
222
  i0.ɵɵadvance();
193
- i0.ɵɵconditional(ctx.record.IsSaved ? 33 : -1);
223
+ i0.ɵɵconditional(ctx.record.IsSaved ? 34 : -1);
194
224
  i0.ɵɵadvance();
195
225
  i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJQueryParameters"))("DefaultExpanded", false);
196
226
  i0.ɵɵadvance();
197
- i0.ɵɵconditional(ctx.record.IsSaved ? 35 : -1);
227
+ i0.ɵɵconditional(ctx.record.IsSaved ? 36 : -1);
228
+ i0.ɵɵadvance();
229
+ i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJQueryDependenciesDependsOnQueryID"))("DefaultExpanded", false);
230
+ i0.ɵɵadvance();
231
+ i0.ɵɵconditional(ctx.record.IsSaved ? 38 : -1);
198
232
  i0.ɵɵadvance();
199
233
  i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJQueryEntities"))("DefaultExpanded", false);
200
234
  i0.ɵɵadvance();
201
- i0.ɵɵconditional(ctx.record.IsSaved ? 37 : -1);
235
+ i0.ɵɵconditional(ctx.record.IsSaved ? 40 : -1);
202
236
  i0.ɵɵadvance();
203
237
  i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJQuerySQLs"))("DefaultExpanded", false);
204
238
  i0.ɵɵadvance();
205
- i0.ɵɵconditional(ctx.record.IsSaved ? 39 : -1);
239
+ i0.ɵɵconditional(ctx.record.IsSaved ? 42 : -1);
240
+ i0.ɵɵadvance();
241
+ i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJQueryDependenciesQueryID"))("DefaultExpanded", false);
242
+ i0.ɵɵadvance();
243
+ i0.ɵɵconditional(ctx.record.IsSaved ? 44 : -1);
206
244
  } }, dependencies: [i1.MjFormFieldComponent, i1.MjCollapsiblePanelComponent, i1.MjRecordFormContainerComponent, i1.ExplorerEntityDataGridComponent], encapsulation: 2 }); }
207
245
  };
208
246
  MJQueryFormComponent = __decorate([
@@ -211,7 +249,7 @@ MJQueryFormComponent = __decorate([
211
249
  export { MJQueryFormComponent };
212
250
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MJQueryFormComponent, [{
213
251
  type: Component,
214
- args: [{ standalone: false, selector: 'gen-mjquery-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 <!-- Query Definition Section -->\n <mj-collapsible-panel\n SectionKey=\"queryDefinition\"\n SectionName=\"Query Definition\"\n Icon=\"fa fa-file-code\"\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=\"CategoryID\"\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=\"UserQuestion\"\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=\"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=\"SQL\"\n Type=\"code\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"TechnicalDescription\"\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=\"OriginalSQL\"\n Type=\"code\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"UsesTemplate\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SQLDialectID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Performance & Quality Section -->\n <mj-collapsible-panel\n SectionKey=\"performanceQuality\"\n SectionName=\"Performance & Quality\"\n Icon=\"fa fa-chart-line\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Feedback\"\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=\"Status\"\n Type=\"select\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"QualityRank\"\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=\"ExecutionCostRank\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Caching & Execution Settings Section -->\n <mj-collapsible-panel\n SectionKey=\"cachingExecutionSettings\"\n SectionName=\"Caching & Execution Settings\"\n Icon=\"fa fa-sliders-h\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"AuditQueryRuns\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"CacheEnabled\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"CacheTTLMinutes\"\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=\"CacheMaxSize\"\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=\"CacheValidationSQL\"\n Type=\"code\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- AI & Embeddings Section -->\n <mj-collapsible-panel\n SectionKey=\"aIEmbeddings\"\n SectionName=\"AI & Embeddings\"\n Icon=\"fa fa-brain\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"EmbeddingVector\"\n Type=\"code\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"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 <!-- Query Fields Section -->\n <mj-collapsible-panel\n SectionKey=\"mJQueryFields\"\n SectionName=\"Query Fields\"\n Icon=\"fa fa-table\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJQueryFields')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Query Fields','QueryID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Query Fields')\"\n [AllowLoad]=\"IsSectionExpanded('mJQueryFields')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJQueryFields', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Query Permissions Section -->\n <mj-collapsible-panel\n SectionKey=\"mJQueryPermissions\"\n SectionName=\"Query Permissions\"\n Icon=\"fa fa-shield-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJQueryPermissions')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Query Permissions','QueryID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Query Permissions')\"\n [AllowLoad]=\"IsSectionExpanded('mJQueryPermissions')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJQueryPermissions', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Data Context Items Section -->\n <mj-collapsible-panel\n SectionKey=\"mJDataContextItems\"\n SectionName=\"Data Context Items\"\n Icon=\"fa fa-database\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJDataContextItems')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Data Context Items','QueryID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Data Context Items')\"\n [AllowLoad]=\"IsSectionExpanded('mJDataContextItems')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJDataContextItems', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Query Parameters Section -->\n <mj-collapsible-panel\n SectionKey=\"mJQueryParameters\"\n SectionName=\"Query Parameters\"\n Icon=\"fa fa-code\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJQueryParameters')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Query Parameters','QueryID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Query Parameters')\"\n [AllowLoad]=\"IsSectionExpanded('mJQueryParameters')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJQueryParameters', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Query Entities Section -->\n <mj-collapsible-panel\n SectionKey=\"mJQueryEntities\"\n SectionName=\"Query Entities\"\n Icon=\"fa fa-search\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJQueryEntities')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Query Entities','QueryID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Query Entities')\"\n [AllowLoad]=\"IsSectionExpanded('mJQueryEntities')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJQueryEntities', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Query SQLs Section -->\n <mj-collapsible-panel\n SectionKey=\"mJQuerySQLs\"\n SectionName=\"Query SQLs\"\n Icon=\"fa fa-terminal\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJQuerySQLs')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Query SQLs','QueryID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Query SQLs')\"\n [AllowLoad]=\"IsSectionExpanded('mJQuerySQLs')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJQuerySQLs', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n</mj-record-form-container>\n " }]
252
+ args: [{ standalone: false, selector: 'gen-mjquery-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 <!-- Query Definition Section -->\n <mj-collapsible-panel\n SectionKey=\"queryDefinition\"\n SectionName=\"Query Definition\"\n Icon=\"fa fa-file-code\"\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=\"CategoryID\"\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=\"UserQuestion\"\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=\"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=\"SQL\"\n Type=\"code\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"TechnicalDescription\"\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=\"OriginalSQL\"\n Type=\"code\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"UsesTemplate\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SQLDialectID\"\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=\"Reusable\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Performance & Quality Section -->\n <mj-collapsible-panel\n SectionKey=\"performanceQuality\"\n SectionName=\"Performance & Quality\"\n Icon=\"fa fa-chart-line\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Feedback\"\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=\"Status\"\n Type=\"select\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"QualityRank\"\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=\"ExecutionCostRank\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Caching & Execution Settings Section -->\n <mj-collapsible-panel\n SectionKey=\"cachingExecutionSettings\"\n SectionName=\"Caching & Execution Settings\"\n Icon=\"fa fa-sliders-h\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"AuditQueryRuns\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"CacheEnabled\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"CacheTTLMinutes\"\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=\"CacheMaxSize\"\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=\"CacheValidationSQL\"\n Type=\"code\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- AI & Embeddings Section -->\n <mj-collapsible-panel\n SectionKey=\"aIEmbeddings\"\n SectionName=\"AI & Embeddings\"\n Icon=\"fa fa-brain\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"EmbeddingVector\"\n Type=\"code\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"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 <!-- Query Fields Section -->\n <mj-collapsible-panel\n SectionKey=\"mJQueryFields\"\n SectionName=\"Query Fields\"\n Icon=\"fa fa-table\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJQueryFields')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Query Fields','QueryID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Query Fields')\"\n [AllowLoad]=\"IsSectionExpanded('mJQueryFields')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJQueryFields', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Query Permissions Section -->\n <mj-collapsible-panel\n SectionKey=\"mJQueryPermissions\"\n SectionName=\"Query Permissions\"\n Icon=\"fa fa-shield-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJQueryPermissions')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Query Permissions','QueryID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Query Permissions')\"\n [AllowLoad]=\"IsSectionExpanded('mJQueryPermissions')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJQueryPermissions', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Data Context Items Section -->\n <mj-collapsible-panel\n SectionKey=\"mJDataContextItems\"\n SectionName=\"Data Context Items\"\n Icon=\"fa fa-database\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJDataContextItems')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Data Context Items','QueryID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Data Context Items')\"\n [AllowLoad]=\"IsSectionExpanded('mJDataContextItems')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJDataContextItems', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Query Parameters Section -->\n <mj-collapsible-panel\n SectionKey=\"mJQueryParameters\"\n SectionName=\"Query Parameters\"\n Icon=\"fa fa-code\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJQueryParameters')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Query Parameters','QueryID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Query Parameters')\"\n [AllowLoad]=\"IsSectionExpanded('mJQueryParameters')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJQueryParameters', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Query Dependencies (Depends On Query) Section -->\n <mj-collapsible-panel\n SectionKey=\"mJQueryDependenciesDependsOnQueryID\"\n SectionName=\"Query Dependencies (Depends On Query)\"\n Icon=\"fa fa-project-diagram\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJQueryDependenciesDependsOnQueryID')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Query Dependencies','DependsOnQueryID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Query Dependencies')\"\n [AllowLoad]=\"IsSectionExpanded('mJQueryDependenciesDependsOnQueryID')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJQueryDependenciesDependsOnQueryID', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Query Entities Section -->\n <mj-collapsible-panel\n SectionKey=\"mJQueryEntities\"\n SectionName=\"Query Entities\"\n Icon=\"fa fa-search\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJQueryEntities')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Query Entities','QueryID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Query Entities')\"\n [AllowLoad]=\"IsSectionExpanded('mJQueryEntities')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJQueryEntities', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Query SQLs Section -->\n <mj-collapsible-panel\n SectionKey=\"mJQuerySQLs\"\n SectionName=\"Query SQLs\"\n Icon=\"fa fa-terminal\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJQuerySQLs')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Query SQLs','QueryID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Query SQLs')\"\n [AllowLoad]=\"IsSectionExpanded('mJQuerySQLs')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJQuerySQLs', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Query Dependencies (Query) Section -->\n <mj-collapsible-panel\n SectionKey=\"mJQueryDependenciesQueryID\"\n SectionName=\"Query Dependencies (Query)\"\n Icon=\"fa fa-project-diagram\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJQueryDependenciesQueryID')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Query Dependencies','QueryID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Query Dependencies')\"\n [AllowLoad]=\"IsSectionExpanded('mJQueryDependenciesQueryID')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJQueryDependenciesQueryID', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n</mj-record-form-container>\n " }]
215
253
  }], null, null); })();
216
254
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MJQueryFormComponent, { className: "MJQueryFormComponent", filePath: "src/lib/generated/Entities/MJQuery/mjquery.form.component.ts", lineNumber: 13 }); })();
217
255
  //# sourceMappingURL=mjquery.form.component.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"mjquery.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJQuery/mjquery.form.component.ts","../../../../../src/lib/generated/Entities/MJQuery/mjquery.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;;;;;IC4PtD,AADJ,2BAAK,uCAQI;IADD,AADA,2NAAY,6BAAsB,KAAC,wNAClB,0BAAmB,eAAe,uBAAuB,KAAC;IAGnF,AADI,iBAA+B,EAC7B;;;IARE,cAAgF;IAGhF,AADA,AADA,AADA,sGAAgF,+DACzB,wDACP,sBAC3B;;;;IAqBzB,AADJ,2BAAK,uCAQI;IADD,AADA,2NAAY,6BAAsB,KAAC,wNAClB,0BAAmB,oBAAoB,uBAAuB,KAAC;IAGxF,AAD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YC;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,yDACyB,0BAC3B;YACzB,cAYC;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,qDACqB,0BACvB;YACzB,cAYC;YAZD,8CAYC;;;AD1XI,oBAAoB;IANhC,aAAa,CAAC,iBAAiB,EAAE,aAAa,CAAC,CAAC,uCAAuC;GAM3E,oBAAoB,CAmBhC;;iFAnBY,oBAAoB;cALhC,SAAS;6BACM,KAAK,YACP,kBAAkB;;kFAGnB,oBAAoB","sourcesContent":["import { Component } from '@angular/core';\nimport { MJQueryEntity } 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: Queries') // Tell MemberJunction about this class\n@Component({\n standalone: false,\n selector: 'gen-mjquery-form',\n templateUrl: './mjquery.form.component.html'\n})\nexport class MJQueryFormComponent extends BaseFormComponent {\n public record!: MJQueryEntity;\n\n override async ngOnInit() {\n await super.ngOnInit();\n this.initSections([\n { sectionKey: 'queryDefinition', sectionName: 'Query Definition', isExpanded: true },\n { sectionKey: 'performanceQuality', sectionName: 'Performance & Quality', isExpanded: true },\n { sectionKey: 'cachingExecutionSettings', sectionName: 'Caching & Execution Settings', isExpanded: false },\n { sectionKey: 'aIEmbeddings', sectionName: 'AI & Embeddings', isExpanded: false },\n { sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },\n { sectionKey: 'mJQueryFields', sectionName: 'Query Fields', isExpanded: false },\n { sectionKey: 'mJQueryPermissions', sectionName: 'Query Permissions', isExpanded: false },\n { sectionKey: 'mJDataContextItems', sectionName: 'Data Context Items', isExpanded: false },\n { sectionKey: 'mJQueryParameters', sectionName: 'Query Parameters', isExpanded: false },\n { sectionKey: 'mJQueryEntities', sectionName: 'Query Entities', isExpanded: false },\n { sectionKey: 'mJQuerySQLs', sectionName: 'Query SQLs', 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 <!-- Query Definition Section -->\n <mj-collapsible-panel\n SectionKey=\"queryDefinition\"\n SectionName=\"Query Definition\"\n Icon=\"fa fa-file-code\"\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=\"CategoryID\"\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=\"UserQuestion\"\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=\"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=\"SQL\"\n Type=\"code\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"TechnicalDescription\"\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=\"OriginalSQL\"\n Type=\"code\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"UsesTemplate\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SQLDialectID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Performance & Quality Section -->\n <mj-collapsible-panel\n SectionKey=\"performanceQuality\"\n SectionName=\"Performance & Quality\"\n Icon=\"fa fa-chart-line\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Feedback\"\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=\"Status\"\n Type=\"select\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"QualityRank\"\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=\"ExecutionCostRank\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Caching & Execution Settings Section -->\n <mj-collapsible-panel\n SectionKey=\"cachingExecutionSettings\"\n SectionName=\"Caching & Execution Settings\"\n Icon=\"fa fa-sliders-h\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"AuditQueryRuns\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"CacheEnabled\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"CacheTTLMinutes\"\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=\"CacheMaxSize\"\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=\"CacheValidationSQL\"\n Type=\"code\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- AI & Embeddings Section -->\n <mj-collapsible-panel\n SectionKey=\"aIEmbeddings\"\n SectionName=\"AI & Embeddings\"\n Icon=\"fa fa-brain\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"EmbeddingVector\"\n Type=\"code\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"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 <!-- Query Fields Section -->\n <mj-collapsible-panel\n SectionKey=\"mJQueryFields\"\n SectionName=\"Query Fields\"\n Icon=\"fa fa-table\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJQueryFields')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Query Fields','QueryID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Query Fields')\"\n [AllowLoad]=\"IsSectionExpanded('mJQueryFields')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJQueryFields', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Query Permissions Section -->\n <mj-collapsible-panel\n SectionKey=\"mJQueryPermissions\"\n SectionName=\"Query Permissions\"\n Icon=\"fa fa-shield-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJQueryPermissions')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Query Permissions','QueryID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Query Permissions')\"\n [AllowLoad]=\"IsSectionExpanded('mJQueryPermissions')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJQueryPermissions', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Data Context Items Section -->\n <mj-collapsible-panel\n SectionKey=\"mJDataContextItems\"\n SectionName=\"Data Context Items\"\n Icon=\"fa fa-database\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJDataContextItems')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Data Context Items','QueryID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Data Context Items')\"\n [AllowLoad]=\"IsSectionExpanded('mJDataContextItems')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJDataContextItems', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Query Parameters Section -->\n <mj-collapsible-panel\n SectionKey=\"mJQueryParameters\"\n SectionName=\"Query Parameters\"\n Icon=\"fa fa-code\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJQueryParameters')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Query Parameters','QueryID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Query Parameters')\"\n [AllowLoad]=\"IsSectionExpanded('mJQueryParameters')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJQueryParameters', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Query Entities Section -->\n <mj-collapsible-panel\n SectionKey=\"mJQueryEntities\"\n SectionName=\"Query Entities\"\n Icon=\"fa fa-search\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJQueryEntities')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Query Entities','QueryID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Query Entities')\"\n [AllowLoad]=\"IsSectionExpanded('mJQueryEntities')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJQueryEntities', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Query SQLs Section -->\n <mj-collapsible-panel\n SectionKey=\"mJQuerySQLs\"\n SectionName=\"Query SQLs\"\n Icon=\"fa fa-terminal\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJQuerySQLs')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Query SQLs','QueryID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Query SQLs')\"\n [AllowLoad]=\"IsSectionExpanded('mJQuerySQLs')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJQuerySQLs', $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":"mjquery.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJQuery/mjquery.form.component.ts","../../../../../src/lib/generated/Entities/MJQuery/mjquery.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;;;;;ICoQtD,AADJ,2BAAK,uCAQI;IADD,AADA,2NAAY,6BAAsB,KAAC,wNAClB,0BAAmB,eAAe,uBAAuB,KAAC;IAGnF,AADI,iBAA+B,EAC7B;;;IARE,cAAgF;IAGhF,AADA,AADA,AADA,sGAAgF,+DACzB,wDACP,sBAC3B;;;;IAqBzB,AADJ,2BAAK,uCAQI;IADD,AADA,2NAAY,6BAAsB,KAAC,wNAClB,0BAAmB,oBAAoB,uBAAuB,KAAC;IAGxF,AADI,iBAA+B,EAC7B;;;IARE,cAAqF;IAGrF,AADA,AADA,AADA,2GAAqF,oEACzB,6DACP,sBAChC;;;;IAqBzB,AADJ,2BAAK,uCAQI;IADD,AADA,2NAAY,6BAAsB,KAAC,wNAClB,0BAAmB,oBAAoB,uBAAuB,KAAC;IAGxF,AADI,iBAA+B,EAC7B;;;IARE,cAAsF;IAGtF,AADA,AADA,AADA,4GAAsF,qEACzB,6DACR,sBAChC;;;;IAqBzB,AADJ,2BAAK,uCAQI;IADD,AADA,2NAAY,6BAAsB,KAAC,wNAClB,0BAAmB,mBAAmB,uBAAuB,KAAC;IAGvF,AADI,iBAA+B,EAC7B;;;IARE,cAAoF;IAGpF,AADA,AADA,AADA,0GAAoF,mEACzB,4DACP,sBAC/B;;;;IAqBzB,AADJ,2BAAK,uCAQI;IADD,AADA,2NAAY,6BAAsB,KAAC,wNAClB,0BAAmB,qCAAqC,uBAAuB,KAAC;IAGzG,A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YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,4DAC4B,0BAC9B;YACzB,cAYC;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,2DAC2B,0BAC7B;YACzB,cAYC;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,6EAC6C,0BAC/C;YACzB,cAYC;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,yDACyB,0BAC3B;YACzB,cAYC;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,qDACqB,0BACvB;YACzB,cAYC;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,oEACoC,0BACtC;YACzB,cAYC;YAZD,8CAYC;;;ADpbI,oBAAoB;IANhC,aAAa,CAAC,iBAAiB,EAAE,aAAa,CAAC,CAAC,uCAAuC;GAM3E,oBAAoB,CAqBhC;;iFArBY,oBAAoB;cALhC,SAAS;6BACM,KAAK,YACP,kBAAkB;;kFAGnB,oBAAoB","sourcesContent":["import { Component } from '@angular/core';\nimport { MJQueryEntity } 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: Queries') // Tell MemberJunction about this class\n@Component({\n standalone: false,\n selector: 'gen-mjquery-form',\n templateUrl: './mjquery.form.component.html'\n})\nexport class MJQueryFormComponent extends BaseFormComponent {\n public record!: MJQueryEntity;\n\n override async ngOnInit() {\n await super.ngOnInit();\n this.initSections([\n { sectionKey: 'queryDefinition', sectionName: 'Query Definition', isExpanded: true },\n { sectionKey: 'performanceQuality', sectionName: 'Performance & Quality', isExpanded: true },\n { sectionKey: 'cachingExecutionSettings', sectionName: 'Caching & Execution Settings', isExpanded: false },\n { sectionKey: 'aIEmbeddings', sectionName: 'AI & Embeddings', isExpanded: false },\n { sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },\n { sectionKey: 'mJQueryFields', sectionName: 'Query Fields', isExpanded: false },\n { sectionKey: 'mJQueryPermissions', sectionName: 'Query Permissions', isExpanded: false },\n { sectionKey: 'mJDataContextItems', sectionName: 'Data Context Items', isExpanded: false },\n { sectionKey: 'mJQueryParameters', sectionName: 'Query Parameters', isExpanded: false },\n { sectionKey: 'mJQueryDependenciesDependsOnQueryID', sectionName: 'Query Dependencies (Depends On Query)', isExpanded: false },\n { sectionKey: 'mJQueryEntities', sectionName: 'Query Entities', isExpanded: false },\n { sectionKey: 'mJQuerySQLs', sectionName: 'Query SQLs', isExpanded: false },\n { sectionKey: 'mJQueryDependenciesQueryID', sectionName: 'Query Dependencies (Query)', 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 <!-- Query Definition Section -->\n <mj-collapsible-panel\n SectionKey=\"queryDefinition\"\n SectionName=\"Query Definition\"\n Icon=\"fa fa-file-code\"\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=\"CategoryID\"\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=\"UserQuestion\"\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=\"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=\"SQL\"\n Type=\"code\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"TechnicalDescription\"\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=\"OriginalSQL\"\n Type=\"code\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"UsesTemplate\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SQLDialectID\"\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=\"Reusable\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Performance & Quality Section -->\n <mj-collapsible-panel\n SectionKey=\"performanceQuality\"\n SectionName=\"Performance & Quality\"\n Icon=\"fa fa-chart-line\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Feedback\"\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=\"Status\"\n Type=\"select\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"QualityRank\"\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=\"ExecutionCostRank\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Caching & Execution Settings Section -->\n <mj-collapsible-panel\n SectionKey=\"cachingExecutionSettings\"\n SectionName=\"Caching & Execution Settings\"\n Icon=\"fa fa-sliders-h\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"AuditQueryRuns\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"CacheEnabled\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"CacheTTLMinutes\"\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=\"CacheMaxSize\"\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=\"CacheValidationSQL\"\n Type=\"code\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- AI & Embeddings Section -->\n <mj-collapsible-panel\n SectionKey=\"aIEmbeddings\"\n SectionName=\"AI & Embeddings\"\n Icon=\"fa fa-brain\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"EmbeddingVector\"\n Type=\"code\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"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 <!-- Query Fields Section -->\n <mj-collapsible-panel\n SectionKey=\"mJQueryFields\"\n SectionName=\"Query Fields\"\n Icon=\"fa fa-table\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJQueryFields')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Query Fields','QueryID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Query Fields')\"\n [AllowLoad]=\"IsSectionExpanded('mJQueryFields')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJQueryFields', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Query Permissions Section -->\n <mj-collapsible-panel\n SectionKey=\"mJQueryPermissions\"\n SectionName=\"Query Permissions\"\n Icon=\"fa fa-shield-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJQueryPermissions')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Query Permissions','QueryID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Query Permissions')\"\n [AllowLoad]=\"IsSectionExpanded('mJQueryPermissions')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJQueryPermissions', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Data Context Items Section -->\n <mj-collapsible-panel\n SectionKey=\"mJDataContextItems\"\n SectionName=\"Data Context Items\"\n Icon=\"fa fa-database\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJDataContextItems')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Data Context Items','QueryID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Data Context Items')\"\n [AllowLoad]=\"IsSectionExpanded('mJDataContextItems')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJDataContextItems', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Query Parameters Section -->\n <mj-collapsible-panel\n SectionKey=\"mJQueryParameters\"\n SectionName=\"Query Parameters\"\n Icon=\"fa fa-code\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJQueryParameters')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Query Parameters','QueryID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Query Parameters')\"\n [AllowLoad]=\"IsSectionExpanded('mJQueryParameters')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJQueryParameters', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Query Dependencies (Depends On Query) Section -->\n <mj-collapsible-panel\n SectionKey=\"mJQueryDependenciesDependsOnQueryID\"\n SectionName=\"Query Dependencies (Depends On Query)\"\n Icon=\"fa fa-project-diagram\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJQueryDependenciesDependsOnQueryID')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Query Dependencies','DependsOnQueryID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Query Dependencies')\"\n [AllowLoad]=\"IsSectionExpanded('mJQueryDependenciesDependsOnQueryID')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJQueryDependenciesDependsOnQueryID', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Query Entities Section -->\n <mj-collapsible-panel\n SectionKey=\"mJQueryEntities\"\n SectionName=\"Query Entities\"\n Icon=\"fa fa-search\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJQueryEntities')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Query Entities','QueryID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Query Entities')\"\n [AllowLoad]=\"IsSectionExpanded('mJQueryEntities')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJQueryEntities', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Query SQLs Section -->\n <mj-collapsible-panel\n SectionKey=\"mJQuerySQLs\"\n SectionName=\"Query SQLs\"\n Icon=\"fa fa-terminal\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJQuerySQLs')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Query SQLs','QueryID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Query SQLs')\"\n [AllowLoad]=\"IsSectionExpanded('mJQuerySQLs')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJQuerySQLs', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Query Dependencies (Query) Section -->\n <mj-collapsible-panel\n SectionKey=\"mJQueryDependenciesQueryID\"\n SectionName=\"Query Dependencies (Query)\"\n Icon=\"fa fa-project-diagram\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJQueryDependenciesQueryID')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Query Dependencies','QueryID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Query Dependencies')\"\n [AllowLoad]=\"IsSectionExpanded('mJQueryDependenciesQueryID')\"\n [ShowToolbar]=\"false\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJQueryDependenciesQueryID', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n</mj-record-form-container>\n "]}
@@ -0,0 +1,10 @@
1
+ import { MJQueryDependencyEntity } from '@memberjunction/core-entities';
2
+ import { BaseFormComponent } from '@memberjunction/ng-base-forms';
3
+ import * as i0 from "@angular/core";
4
+ export declare class MJQueryDependencyFormComponent extends BaseFormComponent {
5
+ record: MJQueryDependencyEntity;
6
+ ngOnInit(): Promise<void>;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<MJQueryDependencyFormComponent, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<MJQueryDependencyFormComponent, "gen-mjquerydependency-form", never, {}, {}, never, never, false, never>;
9
+ }
10
+ //# sourceMappingURL=mjquerydependency.form.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mjquerydependency.form.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/MJQueryDependency/mjquerydependency.form.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AAExE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAElE,qBAMa,8BAA+B,SAAQ,iBAAiB;IAC1D,MAAM,EAAG,uBAAuB,CAAC;IAEzB,QAAQ;yCAHd,8BAA8B;2CAA9B,8BAA8B;CAW1C"}